@decidables/decidables-elements 0.3.3 → 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.
@@ -280,7 +280,7 @@
280
280
  mode: "open"
281
281
  }, null == o$5 || o$5({
282
282
  ReactiveElement: d$2
283
- }), (null !== (s$5 = e$4.reactiveElementVersions) && void 0 !== s$5 ? s$5 : e$4.reactiveElementVersions = []).push("1.5.0");
283
+ }), (null !== (s$5 = e$4.reactiveElementVersions) && void 0 !== s$5 ? s$5 : e$4.reactiveElementVersions = []).push("1.6.1");
284
284
 
285
285
  /**
286
286
  * @license
@@ -293,125 +293,129 @@
293
293
  e$3 = s$4 ? s$4.createPolicy("lit-html", {
294
294
  createHTML: t => t
295
295
  }) : void 0,
296
- o$4 = `lit$${(Math.random() + "").slice(9)}$`,
297
- n$4 = "?" + o$4,
298
- l$4 = `<${n$4}>`,
299
- h$2 = document,
300
- r$3 = (t = "") => h$2.createComment(t),
296
+ o$4 = "$lit$",
297
+ n$4 = `lit$${(Math.random() + "").slice(9)}$`,
298
+ l$4 = "?" + n$4,
299
+ h$2 = `<${l$4}>`,
300
+ r$3 = document,
301
+ u$1 = () => r$3.createComment(""),
301
302
  d$1 = t => null === t || "object" != typeof t && "function" != typeof t,
302
- u$1 = Array.isArray,
303
- c$1 = t => u$1(t) || "function" == typeof (null == t ? void 0 : t[Symbol.iterator]),
304
- v$1 = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
305
- a$2 = /-->/g,
306
- f$1 = />/g,
307
- _$1 = RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)", "g"),
308
- m$1 = /'/g,
309
- p$1 = /"/g,
310
- $$1 = /^(?:script|style|textarea|title)$/i,
311
- x$1 = Symbol.for("lit-noChange"),
312
- b$1 = Symbol.for("lit-nothing"),
313
- T$1 = new WeakMap(),
314
- A$1 = h$2.createTreeWalker(h$2, 129, null, !1),
315
- E$1 = (t, i) => {
316
- const s = t.length - 1,
317
- n = [];
318
- let h,
319
- r = 2 === i ? "<svg>" : "",
320
- d = v$1;
321
- for (let i = 0; i < s; i++) {
322
- const s = t[i];
323
- let e,
324
- u,
325
- c = -1,
326
- g = 0;
327
- for (; g < s.length && (d.lastIndex = g, u = d.exec(s), null !== u);) g = d.lastIndex, d === v$1 ? "!--" === u[1] ? d = a$2 : void 0 !== u[1] ? d = f$1 : void 0 !== u[2] ? ($$1.test(u[2]) && (h = RegExp("</" + u[2], "g")), d = _$1) : void 0 !== u[3] && (d = _$1) : d === _$1 ? ">" === u[0] ? (d = null != h ? h : v$1, c = -1) : void 0 === u[1] ? c = -2 : (c = d.lastIndex - u[2].length, e = u[1], d = void 0 === u[3] ? _$1 : '"' === u[3] ? p$1 : m$1) : d === p$1 || d === m$1 ? d = _$1 : d === a$2 || d === f$1 ? d = v$1 : (d = _$1, h = void 0);
328
- const y = d === _$1 && t[i + 1].startsWith("/>") ? " " : "";
329
- r += d === v$1 ? s + l$4 : c >= 0 ? (n.push(e), s.slice(0, c) + "$lit$" + s.slice(c) + o$4 + y) : s + o$4 + (-2 === c ? (n.push(void 0), i) : y);
330
- }
331
- const u = r + (t[s] || "<?>") + (2 === i ? "</svg>" : "");
332
- if (!Array.isArray(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
333
- return [void 0 !== e$3 ? e$3.createHTML(u) : u, n];
334
- };
335
- let C$1 = class C {
303
+ c$1 = Array.isArray,
304
+ v$1 = t => c$1(t) || "function" == typeof (null == t ? void 0 : t[Symbol.iterator]),
305
+ a$2 = "[ \t\n\f\r]",
306
+ f$1 = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
307
+ _$1 = /-->/g,
308
+ m$1 = />/g,
309
+ p$1 = RegExp(`>|${a$2}(?:([^\\s"'>=/]+)(${a$2}*=${a$2}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`, "g"),
310
+ g$1 = /'/g,
311
+ $$1 = /"/g,
312
+ y$1 = /^(?:script|style|textarea|title)$/i,
313
+ T$1 = Symbol.for("lit-noChange"),
314
+ A$1 = Symbol.for("lit-nothing"),
315
+ E$1 = new WeakMap(),
316
+ C$1 = r$3.createTreeWalker(r$3, 129, null, !1);
317
+ function P$1(t, i) {
318
+ if (!Array.isArray(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
319
+ return void 0 !== e$3 ? e$3.createHTML(i) : i;
320
+ }
321
+ const V$1 = (t, i) => {
322
+ const s = t.length - 1,
323
+ e = [];
324
+ let l,
325
+ r = 2 === i ? "<svg>" : "",
326
+ u = f$1;
327
+ for (let i = 0; i < s; i++) {
328
+ const s = t[i];
329
+ let d,
330
+ c,
331
+ v = -1,
332
+ a = 0;
333
+ 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);
334
+ const w = u === p$1 && t[i + 1].startsWith("/>") ? " " : "";
335
+ 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);
336
+ }
337
+ return [P$1(t, r + (t[s] || "<?>") + (2 === i ? "</svg>" : "")), e];
338
+ };
339
+ let N$1 = class N {
336
340
  constructor({
337
341
  strings: t,
338
342
  _$litType$: i
339
343
  }, e) {
340
- let l;
344
+ let h;
341
345
  this.parts = [];
342
- let h = 0,
346
+ let r = 0,
343
347
  d = 0;
344
- const u = t.length - 1,
345
- c = this.parts,
346
- [v, a] = E$1(t, i);
347
- if (this.el = C$1.createElement(v, e), A$1.currentNode = this.el.content, 2 === i) {
348
+ const c = t.length - 1,
349
+ v = this.parts,
350
+ [a, f] = V$1(t, i);
351
+ if (this.el = N.createElement(a, e), C$1.currentNode = this.el.content, 2 === i) {
348
352
  const t = this.el.content,
349
353
  i = t.firstChild;
350
354
  i.remove(), t.append(...i.childNodes);
351
355
  }
352
- for (; null !== (l = A$1.nextNode()) && c.length < u;) {
353
- if (1 === l.nodeType) {
354
- if (l.hasAttributes()) {
356
+ for (; null !== (h = C$1.nextNode()) && v.length < c;) {
357
+ if (1 === h.nodeType) {
358
+ if (h.hasAttributes()) {
355
359
  const t = [];
356
- for (const i of l.getAttributeNames()) if (i.endsWith("$lit$") || i.startsWith(o$4)) {
357
- const s = a[d++];
360
+ for (const i of h.getAttributeNames()) if (i.endsWith(o$4) || i.startsWith(n$4)) {
361
+ const s = f[d++];
358
362
  if (t.push(i), void 0 !== s) {
359
- const t = l.getAttribute(s.toLowerCase() + "$lit$").split(o$4),
363
+ const t = h.getAttribute(s.toLowerCase() + o$4).split(n$4),
360
364
  i = /([.?@])?(.*)/.exec(s);
361
- c.push({
365
+ v.push({
362
366
  type: 1,
363
- index: h,
367
+ index: r,
364
368
  name: i[2],
365
369
  strings: t,
366
- ctor: "." === i[1] ? M$1 : "?" === i[1] ? k$1 : "@" === i[1] ? H$1 : S$2
370
+ ctor: "." === i[1] ? H$1 : "?" === i[1] ? L$1 : "@" === i[1] ? z$1 : k$1
367
371
  });
368
- } else c.push({
372
+ } else v.push({
369
373
  type: 6,
370
- index: h
374
+ index: r
371
375
  });
372
376
  }
373
- for (const i of t) l.removeAttribute(i);
377
+ for (const i of t) h.removeAttribute(i);
374
378
  }
375
- if ($$1.test(l.tagName)) {
376
- const t = l.textContent.split(o$4),
379
+ if (y$1.test(h.tagName)) {
380
+ const t = h.textContent.split(n$4),
377
381
  i = t.length - 1;
378
382
  if (i > 0) {
379
- l.textContent = s$4 ? s$4.emptyScript : "";
380
- for (let s = 0; s < i; s++) l.append(t[s], r$3()), A$1.nextNode(), c.push({
383
+ h.textContent = s$4 ? s$4.emptyScript : "";
384
+ for (let s = 0; s < i; s++) h.append(t[s], u$1()), C$1.nextNode(), v.push({
381
385
  type: 2,
382
- index: ++h
386
+ index: ++r
383
387
  });
384
- l.append(t[i], r$3());
388
+ h.append(t[i], u$1());
385
389
  }
386
390
  }
387
- } else if (8 === l.nodeType) if (l.data === n$4) c.push({
391
+ } else if (8 === h.nodeType) if (h.data === l$4) v.push({
388
392
  type: 2,
389
- index: h
393
+ index: r
390
394
  });else {
391
395
  let t = -1;
392
- for (; -1 !== (t = l.data.indexOf(o$4, t + 1));) c.push({
396
+ for (; -1 !== (t = h.data.indexOf(n$4, t + 1));) v.push({
393
397
  type: 7,
394
- index: h
395
- }), t += o$4.length - 1;
398
+ index: r
399
+ }), t += n$4.length - 1;
396
400
  }
397
- h++;
401
+ r++;
398
402
  }
399
403
  }
400
404
  static createElement(t, i) {
401
- const s = h$2.createElement("template");
405
+ const s = r$3.createElement("template");
402
406
  return s.innerHTML = t, s;
403
407
  }
404
408
  };
405
- function P$1(t, i, s = t, e) {
409
+ function S$2(t, i, s = t, e) {
406
410
  var o, n, l, h;
407
- if (i === x$1) return i;
411
+ if (i === T$1) return i;
408
412
  let r = void 0 !== e ? null === (o = s._$Co) || void 0 === o ? void 0 : o[e] : s._$Cl;
409
413
  const u = d$1(i) ? void 0 : i._$litDirective$;
410
- 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 = P$1(t, r._$AS(t, i.values), r, e)), i;
414
+ 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;
411
415
  }
412
- let V$1 = class V {
416
+ let M$1 = class M {
413
417
  constructor(t, i) {
414
- this.u = [], this._$AN = void 0, this._$AD = t, this._$AM = i;
418
+ this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = i;
415
419
  }
416
420
  get parentNode() {
417
421
  return this._$AM.parentNode;
@@ -419,7 +423,7 @@
419
423
  get _$AU() {
420
424
  return this._$AM._$AU;
421
425
  }
422
- v(t) {
426
+ u(t) {
423
427
  var i;
424
428
  const {
425
429
  el: {
@@ -427,39 +431,39 @@
427
431
  },
428
432
  parts: e
429
433
  } = this._$AD,
430
- o = (null !== (i = null == t ? void 0 : t.creationScope) && void 0 !== i ? i : h$2).importNode(s, !0);
431
- A$1.currentNode = o;
432
- let n = A$1.nextNode(),
434
+ o = (null !== (i = null == t ? void 0 : t.creationScope) && void 0 !== i ? i : r$3).importNode(s, !0);
435
+ C$1.currentNode = o;
436
+ let n = C$1.nextNode(),
433
437
  l = 0,
434
- r = 0,
435
- d = e[0];
436
- for (; void 0 !== d;) {
437
- if (l === d.index) {
438
+ h = 0,
439
+ u = e[0];
440
+ for (; void 0 !== u;) {
441
+ if (l === u.index) {
438
442
  let i;
439
- 2 === d.type ? i = new N$1(n, n.nextSibling, this, t) : 1 === d.type ? i = new d.ctor(n, d.name, d.strings, this, t) : 6 === d.type && (i = new I$1(n, this, t)), this.u.push(i), d = e[++r];
443
+ 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];
440
444
  }
441
- l !== (null == d ? void 0 : d.index) && (n = A$1.nextNode(), l++);
445
+ l !== (null == u ? void 0 : u.index) && (n = C$1.nextNode(), l++);
442
446
  }
443
- return o;
447
+ return C$1.currentNode = r$3, o;
444
448
  }
445
- p(t) {
449
+ v(t) {
446
450
  let i = 0;
447
- 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++;
451
+ 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++;
448
452
  }
449
453
  };
450
- let N$1 = class N {
454
+ let R$1 = class R {
451
455
  constructor(t, i, s, e) {
452
456
  var o;
453
- this.type = 2, this._$AH = b$1, 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;
457
+ 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;
454
458
  }
455
459
  get _$AU() {
456
460
  var t, i;
457
- return null !== (i = null === (t = this._$AM) || void 0 === t ? void 0 : t._$AU) && void 0 !== i ? i : this._$Cm;
461
+ return null !== (i = null === (t = this._$AM) || void 0 === t ? void 0 : t._$AU) && void 0 !== i ? i : this._$Cp;
458
462
  }
459
463
  get parentNode() {
460
464
  let t = this._$AA.parentNode;
461
465
  const i = this._$AM;
462
- return void 0 !== i && 11 === t.nodeType && (t = i.parentNode), t;
466
+ return void 0 !== i && 11 === (null == t ? void 0 : t.nodeType) && (t = i.parentNode), t;
463
467
  }
464
468
  get startNode() {
465
469
  return this._$AA;
@@ -468,40 +472,40 @@
468
472
  return this._$AB;
469
473
  }
470
474
  _$AI(t, i = this) {
471
- t = P$1(this, t, i), d$1(t) ? t === b$1 || null == t || "" === t ? (this._$AH !== b$1 && this._$AR(), this._$AH = b$1) : t !== this._$AH && t !== x$1 && this.g(t) : void 0 !== t._$litType$ ? this.$(t) : void 0 !== t.nodeType ? this.T(t) : c$1(t) ? this.k(t) : this.g(t);
475
+ 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);
472
476
  }
473
- O(t, i = this._$AB) {
474
- return this._$AA.parentNode.insertBefore(t, i);
477
+ k(t) {
478
+ return this._$AA.parentNode.insertBefore(t, this._$AB);
475
479
  }
476
- T(t) {
477
- this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
480
+ $(t) {
481
+ this._$AH !== t && (this._$AR(), this._$AH = this.k(t));
478
482
  }
479
- g(t) {
480
- this._$AH !== b$1 && d$1(this._$AH) ? this._$AA.nextSibling.data = t : this.T(h$2.createTextNode(t)), this._$AH = t;
483
+ _(t) {
484
+ this._$AH !== A$1 && d$1(this._$AH) ? this._$AA.nextSibling.data = t : this.$(r$3.createTextNode(t)), this._$AH = t;
481
485
  }
482
- $(t) {
486
+ g(t) {
483
487
  var i;
484
488
  const {
485
489
  values: s,
486
490
  _$litType$: e
487
491
  } = t,
488
- o = "number" == typeof e ? this._$AC(t) : (void 0 === e.el && (e.el = C$1.createElement(e.h, this.options)), e);
489
- if ((null === (i = this._$AH) || void 0 === i ? void 0 : i._$AD) === o) this._$AH.p(s);else {
490
- const t = new V$1(o, this),
491
- i = t.v(this.options);
492
- t.p(s), this.T(i), this._$AH = t;
492
+ 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);
493
+ if ((null === (i = this._$AH) || void 0 === i ? void 0 : i._$AD) === o) this._$AH.v(s);else {
494
+ const t = new M$1(o, this),
495
+ i = t.u(this.options);
496
+ t.v(s), this.$(i), this._$AH = t;
493
497
  }
494
498
  }
495
499
  _$AC(t) {
496
- let i = T$1.get(t.strings);
497
- return void 0 === i && T$1.set(t.strings, i = new C$1(t)), i;
500
+ let i = E$1.get(t.strings);
501
+ return void 0 === i && E$1.set(t.strings, i = new N$1(t)), i;
498
502
  }
499
- k(t) {
500
- u$1(this._$AH) || (this._$AH = [], this._$AR());
503
+ T(t) {
504
+ c$1(this._$AH) || (this._$AH = [], this._$AR());
501
505
  const i = this._$AH;
502
506
  let s,
503
507
  e = 0;
504
- for (const o of t) e === i.length ? i.push(s = new N$1(this.O(r$3()), this.O(r$3()), this, this.options)) : s = i[e], s._$AI(o), e++;
508
+ 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++;
505
509
  e < i.length && (this._$AR(s && s._$AB.nextSibling, e), i.length = e);
506
510
  }
507
511
  _$AR(t = this._$AA.nextSibling, i) {
@@ -513,12 +517,12 @@
513
517
  }
514
518
  setConnected(t) {
515
519
  var i;
516
- void 0 === this._$AM && (this._$Cm = t, null === (i = this._$AP) || void 0 === i || i.call(this, t));
520
+ void 0 === this._$AM && (this._$Cp = t, null === (i = this._$AP) || void 0 === i || i.call(this, t));
517
521
  }
518
522
  };
519
- let S$2 = class S {
523
+ let k$1 = class k {
520
524
  constructor(t, i, s, e, o) {
521
- this.type = 1, this._$AH = b$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 = b$1;
525
+ 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;
522
526
  }
523
527
  get tagName() {
524
528
  return this.element.tagName;
@@ -529,44 +533,44 @@
529
533
  _$AI(t, i = this, s, e) {
530
534
  const o = this.strings;
531
535
  let n = !1;
532
- if (void 0 === o) t = P$1(this, t, i, 0), n = !d$1(t) || t !== this._$AH && t !== x$1, n && (this._$AH = t);else {
536
+ 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 {
533
537
  const e = t;
534
538
  let l, h;
535
- for (t = o[0], l = 0; l < o.length - 1; l++) h = P$1(this, e[s + l], i, l), h === x$1 && (h = this._$AH[l]), n || (n = !d$1(h) || h !== this._$AH[l]), h === b$1 ? t = b$1 : t !== b$1 && (t += (null != h ? h : "") + o[l + 1]), this._$AH[l] = h;
539
+ 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;
536
540
  }
537
541
  n && !e && this.j(t);
538
542
  }
539
543
  j(t) {
540
- t === b$1 ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, null != t ? t : "");
544
+ t === A$1 ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, null != t ? t : "");
541
545
  }
542
546
  };
543
- let M$1 = class M extends S$2 {
547
+ let H$1 = class H extends k$1 {
544
548
  constructor() {
545
549
  super(...arguments), this.type = 3;
546
550
  }
547
551
  j(t) {
548
- this.element[this.name] = t === b$1 ? void 0 : t;
552
+ this.element[this.name] = t === A$1 ? void 0 : t;
549
553
  }
550
554
  };
551
- const R = s$4 ? s$4.emptyScript : "";
552
- let k$1 = class k extends S$2 {
555
+ const I$1 = s$4 ? s$4.emptyScript : "";
556
+ let L$1 = class L extends k$1 {
553
557
  constructor() {
554
558
  super(...arguments), this.type = 4;
555
559
  }
556
560
  j(t) {
557
- t && t !== b$1 ? this.element.setAttribute(this.name, R) : this.element.removeAttribute(this.name);
561
+ t && t !== A$1 ? this.element.setAttribute(this.name, I$1) : this.element.removeAttribute(this.name);
558
562
  }
559
563
  };
560
- let H$1 = class H extends S$2 {
564
+ let z$1 = class z extends k$1 {
561
565
  constructor(t, i, s, e, o) {
562
566
  super(t, i, s, e, o), this.type = 5;
563
567
  }
564
568
  _$AI(t, i = this) {
565
569
  var s;
566
- if ((t = null !== (s = P$1(this, t, i, 0)) && void 0 !== s ? s : b$1) === x$1) return;
570
+ if ((t = null !== (s = S$2(this, t, i, 0)) && void 0 !== s ? s : A$1) === T$1) return;
567
571
  const e = this._$AH,
568
- o = t === b$1 && e !== b$1 || t.capture !== e.capture || t.once !== e.once || t.passive !== e.passive,
569
- n = t !== b$1 && (e === b$1 || o);
572
+ o = t === A$1 && e !== A$1 || t.capture !== e.capture || t.once !== e.once || t.passive !== e.passive,
573
+ n = t !== A$1 && (e === A$1 || o);
570
574
  o && this.element.removeEventListener(this.name, this, e), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
571
575
  }
572
576
  handleEvent(t) {
@@ -574,7 +578,7 @@
574
578
  "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);
575
579
  }
576
580
  };
577
- let I$1 = class I {
581
+ class Z {
578
582
  constructor(t, i, s) {
579
583
  this.element = t, this.type = 6, this._$AN = void 0, this._$AM = i, this.options = s;
580
584
  }
@@ -582,11 +586,11 @@
582
586
  return this._$AM._$AU;
583
587
  }
584
588
  _$AI(t) {
585
- P$1(this, t);
589
+ S$2(this, t);
586
590
  }
587
- };
588
- const z$1 = i$2.litHtmlPolyfillSupport;
589
- null == z$1 || z$1(C$1, N$1), (null !== (t$2 = i$2.litHtmlVersions) && void 0 !== t$2 ? t$2 : i$2.litHtmlVersions = []).push("2.5.0");
591
+ }
592
+ const B$1 = i$2.litHtmlPolyfillSupport;
593
+ 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");
590
594
 
591
595
  /**
592
596
  * @license
@@ -872,149 +876,139 @@
872
876
  * SPDX-License-Identifier: BSD-3-Clause
873
877
  */
874
878
  var t;
875
- const i = globalThis.trustedTypes,
876
- s$1 = i ? i.createPolicy("lit-html", {
879
+ const i = window,
880
+ s$1 = i.trustedTypes,
881
+ e = s$1 ? s$1.createPolicy("lit-html", {
877
882
  createHTML: t => t
878
883
  }) : void 0,
879
- e = `lit$${(Math.random() + "").slice(9)}$`,
880
- o$1 = "?" + e,
881
- n$1 = `<${o$1}>`,
882
- l$2 = document,
883
- h = (t = "") => l$2.createComment(t),
884
- r = t => null === t || "object" != typeof t && "function" != typeof t,
885
- d = Array.isArray,
886
- u = t => {
887
- var i;
888
- return d(t) || "function" == typeof (null === (i = t) || void 0 === i ? void 0 : i[Symbol.iterator]);
889
- },
890
- c = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
891
- v = /-->/g,
892
- a = />/g,
893
- f = />|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,
894
- _ = /'/g,
895
- m = /"/g,
896
- g = /^(?:script|style|textarea|title)$/i,
897
- p = t => (i, ...s) => ({
884
+ o$1 = "$lit$",
885
+ n$1 = `lit$${(Math.random() + "").slice(9)}$`,
886
+ l$2 = "?" + n$1,
887
+ h = `<${l$2}>`,
888
+ r = document,
889
+ d = () => r.createComment(""),
890
+ u = t => null === t || "object" != typeof t && "function" != typeof t,
891
+ c = Array.isArray,
892
+ v = t => c(t) || "function" == typeof (null == t ? void 0 : t[Symbol.iterator]),
893
+ a = "[ \t\n\f\r]",
894
+ f = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
895
+ _ = /-->/g,
896
+ m = />/g,
897
+ p = RegExp(`>|${a}(?:([^\\s"'>=/]+)(${a}*=${a}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`, "g"),
898
+ g = /'/g,
899
+ $ = /"/g,
900
+ y = /^(?:script|style|textarea|title)$/i,
901
+ w = t => (i, ...s) => ({
898
902
  _$litType$: t,
899
903
  strings: i,
900
904
  values: s
901
905
  }),
902
- $ = p(1),
903
- y = p(2),
904
- b = Symbol.for("lit-noChange"),
905
- w = Symbol.for("lit-nothing"),
906
- T = new WeakMap(),
907
- x = (t, i, s) => {
908
- var e, o;
909
- const n = null !== (e = null == s ? void 0 : s.renderBefore) && void 0 !== e ? e : i;
910
- let l = n._$litPart$;
911
- if (void 0 === l) {
912
- const t = null !== (o = null == s ? void 0 : s.renderBefore) && void 0 !== o ? o : null;
913
- n._$litPart$ = l = new N(i.insertBefore(h(), t), t, void 0, null != s ? s : {});
914
- }
915
- return l._$AI(t), l;
916
- },
917
- A = l$2.createTreeWalker(l$2, 129, null, !1),
918
- C = (t, i) => {
919
- const o = t.length - 1,
906
+ x = w(1),
907
+ b = w(2),
908
+ T = Symbol.for("lit-noChange"),
909
+ A = Symbol.for("lit-nothing"),
910
+ E = new WeakMap(),
911
+ C = r.createTreeWalker(r, 129, null, !1),
912
+ P = (t, i) => {
913
+ const s = t.length - 1,
920
914
  l = [];
921
- let h,
922
- r = 2 === i ? "<svg>" : "",
923
- d = c;
924
- for (let i = 0; i < o; i++) {
915
+ let r,
916
+ d = 2 === i ? "<svg>" : "",
917
+ u = f;
918
+ for (let i = 0; i < s; i++) {
925
919
  const s = t[i];
926
- let o,
927
- u,
928
- p = -1,
929
- $ = 0;
930
- for (; $ < s.length && (d.lastIndex = $, u = d.exec(s), null !== u);) $ = d.lastIndex, d === c ? "!--" === u[1] ? d = v : void 0 !== u[1] ? d = a : void 0 !== u[2] ? (g.test(u[2]) && (h = RegExp("</" + u[2], "g")), d = f) : void 0 !== u[3] && (d = f) : d === f ? ">" === u[0] ? (d = null != h ? h : c, p = -1) : void 0 === u[1] ? p = -2 : (p = d.lastIndex - u[2].length, o = u[1], d = void 0 === u[3] ? f : '"' === u[3] ? m : _) : d === m || d === _ ? d = f : d === v || d === a ? d = c : (d = f, h = void 0);
931
- const y = d === f && t[i + 1].startsWith("/>") ? " " : "";
932
- r += d === c ? s + n$1 : p >= 0 ? (l.push(o), s.slice(0, p) + "$lit$" + s.slice(p) + e + y) : s + e + (-2 === p ? (l.push(void 0), i) : y);
920
+ let e,
921
+ c,
922
+ v = -1,
923
+ a = 0;
924
+ 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);
925
+ const w = u === p && t[i + 1].startsWith("/>") ? " " : "";
926
+ 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);
933
927
  }
934
- const u = r + (t[o] || "<?>") + (2 === i ? "</svg>" : "");
928
+ const c = d + (t[s] || "<?>") + (2 === i ? "</svg>" : "");
935
929
  if (!Array.isArray(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
936
- return [void 0 !== s$1 ? s$1.createHTML(u) : u, l];
930
+ return [void 0 !== e ? e.createHTML(c) : c, l];
937
931
  };
938
- class E {
932
+ class V {
939
933
  constructor({
940
934
  strings: t,
941
- _$litType$: s
942
- }, n) {
943
- let l;
935
+ _$litType$: i
936
+ }, e) {
937
+ let h;
944
938
  this.parts = [];
945
939
  let r = 0,
946
- d = 0;
947
- const u = t.length - 1,
948
- c = this.parts,
949
- [v, a] = C(t, s);
950
- if (this.el = E.createElement(v, n), A.currentNode = this.el.content, 2 === s) {
940
+ u = 0;
941
+ const c = t.length - 1,
942
+ v = this.parts,
943
+ [a, f] = P(t, i);
944
+ if (this.el = V.createElement(a, e), C.currentNode = this.el.content, 2 === i) {
951
945
  const t = this.el.content,
952
946
  i = t.firstChild;
953
947
  i.remove(), t.append(...i.childNodes);
954
948
  }
955
- for (; null !== (l = A.nextNode()) && c.length < u;) {
956
- if (1 === l.nodeType) {
957
- if (l.hasAttributes()) {
949
+ for (; null !== (h = C.nextNode()) && v.length < c;) {
950
+ if (1 === h.nodeType) {
951
+ if (h.hasAttributes()) {
958
952
  const t = [];
959
- for (const i of l.getAttributeNames()) if (i.endsWith("$lit$") || i.startsWith(e)) {
960
- const s = a[d++];
953
+ for (const i of h.getAttributeNames()) if (i.endsWith(o$1) || i.startsWith(n$1)) {
954
+ const s = f[u++];
961
955
  if (t.push(i), void 0 !== s) {
962
- const t = l.getAttribute(s.toLowerCase() + "$lit$").split(e),
956
+ const t = h.getAttribute(s.toLowerCase() + o$1).split(n$1),
963
957
  i = /([.?@])?(.*)/.exec(s);
964
- c.push({
958
+ v.push({
965
959
  type: 1,
966
960
  index: r,
967
961
  name: i[2],
968
962
  strings: t,
969
- ctor: "." === i[1] ? M : "?" === i[1] ? H : "@" === i[1] ? I : S
963
+ ctor: "." === i[1] ? k : "?" === i[1] ? I : "@" === i[1] ? L : R
970
964
  });
971
- } else c.push({
965
+ } else v.push({
972
966
  type: 6,
973
967
  index: r
974
968
  });
975
969
  }
976
- for (const i of t) l.removeAttribute(i);
970
+ for (const i of t) h.removeAttribute(i);
977
971
  }
978
- if (g.test(l.tagName)) {
979
- const t = l.textContent.split(e),
980
- s = t.length - 1;
981
- if (s > 0) {
982
- l.textContent = i ? i.emptyScript : "";
983
- for (let i = 0; i < s; i++) l.append(t[i], h()), A.nextNode(), c.push({
972
+ if (y.test(h.tagName)) {
973
+ const t = h.textContent.split(n$1),
974
+ i = t.length - 1;
975
+ if (i > 0) {
976
+ h.textContent = s$1 ? s$1.emptyScript : "";
977
+ for (let s = 0; s < i; s++) h.append(t[s], d()), C.nextNode(), v.push({
984
978
  type: 2,
985
979
  index: ++r
986
980
  });
987
- l.append(t[s], h());
981
+ h.append(t[i], d());
988
982
  }
989
983
  }
990
- } else if (8 === l.nodeType) if (l.data === o$1) c.push({
984
+ } else if (8 === h.nodeType) if (h.data === l$2) v.push({
991
985
  type: 2,
992
986
  index: r
993
987
  });else {
994
988
  let t = -1;
995
- for (; -1 !== (t = l.data.indexOf(e, t + 1));) c.push({
989
+ for (; -1 !== (t = h.data.indexOf(n$1, t + 1));) v.push({
996
990
  type: 7,
997
991
  index: r
998
- }), t += e.length - 1;
992
+ }), t += n$1.length - 1;
999
993
  }
1000
994
  r++;
1001
995
  }
1002
996
  }
1003
997
  static createElement(t, i) {
1004
- const s = l$2.createElement("template");
998
+ const s = r.createElement("template");
1005
999
  return s.innerHTML = t, s;
1006
1000
  }
1007
1001
  }
1008
- function P(t, i, s = t, e) {
1002
+ function N(t, i, s = t, e) {
1009
1003
  var o, n, l, h;
1010
- if (i === b) return i;
1011
- let d = void 0 !== e ? null === (o = s._$Cl) || void 0 === o ? void 0 : o[e] : s._$Cu;
1012
- const u = r(i) ? void 0 : i._$litDirective$;
1013
- return (null == d ? void 0 : d.constructor) !== u && (null === (n = null == d ? void 0 : d._$AO) || void 0 === n || n.call(d, !1), void 0 === u ? d = void 0 : (d = new u(t), d._$AT(t, s, e)), void 0 !== e ? (null !== (l = (h = s)._$Cl) && void 0 !== l ? l : h._$Cl = [])[e] = d : s._$Cu = d), void 0 !== d && (i = P(t, d._$AS(t, i.values), d, e)), i;
1004
+ if (i === T) return i;
1005
+ let r = void 0 !== e ? null === (o = s._$Co) || void 0 === o ? void 0 : o[e] : s._$Cl;
1006
+ const d = u(i) ? void 0 : i._$litDirective$;
1007
+ 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;
1014
1008
  }
1015
- class V {
1009
+ class S {
1016
1010
  constructor(t, i) {
1017
- this.v = [], this._$AN = void 0, this._$AD = t, this._$AM = i;
1011
+ this.u = [], this._$AN = void 0, this._$AD = t, this._$AM = i;
1018
1012
  }
1019
1013
  get parentNode() {
1020
1014
  return this._$AM.parentNode;
@@ -1022,7 +1016,7 @@
1022
1016
  get _$AU() {
1023
1017
  return this._$AM._$AU;
1024
1018
  }
1025
- p(t) {
1019
+ v(t) {
1026
1020
  var i;
1027
1021
  const {
1028
1022
  el: {
@@ -1030,39 +1024,39 @@
1030
1024
  },
1031
1025
  parts: e
1032
1026
  } = this._$AD,
1033
- o = (null !== (i = null == t ? void 0 : t.creationScope) && void 0 !== i ? i : l$2).importNode(s, !0);
1034
- A.currentNode = o;
1035
- let n = A.nextNode(),
1027
+ o = (null !== (i = null == t ? void 0 : t.creationScope) && void 0 !== i ? i : r).importNode(s, !0);
1028
+ C.currentNode = o;
1029
+ let n = C.nextNode(),
1030
+ l = 0,
1036
1031
  h = 0,
1037
- r = 0,
1038
1032
  d = e[0];
1039
1033
  for (; void 0 !== d;) {
1040
- if (h === d.index) {
1034
+ if (l === d.index) {
1041
1035
  let i;
1042
- 2 === d.type ? i = new N(n, n.nextSibling, this, t) : 1 === d.type ? i = new d.ctor(n, d.name, d.strings, this, t) : 6 === d.type && (i = new L(n, this, t)), this.v.push(i), d = e[++r];
1036
+ 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];
1043
1037
  }
1044
- h !== (null == d ? void 0 : d.index) && (n = A.nextNode(), h++);
1038
+ l !== (null == d ? void 0 : d.index) && (n = C.nextNode(), l++);
1045
1039
  }
1046
1040
  return o;
1047
1041
  }
1048
- m(t) {
1042
+ p(t) {
1049
1043
  let i = 0;
1050
- for (const s of this.v) void 0 !== s && (void 0 !== s.strings ? (s._$AI(t, s, i), i += s.strings.length - 2) : s._$AI(t[i])), i++;
1044
+ 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++;
1051
1045
  }
1052
1046
  }
1053
- class N {
1047
+ class M {
1054
1048
  constructor(t, i, s, e) {
1055
1049
  var o;
1056
- this.type = 2, this._$AH = w, this._$AN = void 0, this._$AA = t, this._$AB = i, this._$AM = s, this.options = e, this._$Cg = null === (o = null == e ? void 0 : e.isConnected) || void 0 === o || o;
1050
+ 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;
1057
1051
  }
1058
1052
  get _$AU() {
1059
1053
  var t, i;
1060
- return null !== (i = null === (t = this._$AM) || void 0 === t ? void 0 : t._$AU) && void 0 !== i ? i : this._$Cg;
1054
+ return null !== (i = null === (t = this._$AM) || void 0 === t ? void 0 : t._$AU) && void 0 !== i ? i : this._$Cm;
1061
1055
  }
1062
1056
  get parentNode() {
1063
1057
  let t = this._$AA.parentNode;
1064
1058
  const i = this._$AM;
1065
- return void 0 !== i && 11 === t.nodeType && (t = i.parentNode), t;
1059
+ return void 0 !== i && 11 === (null == t ? void 0 : t.nodeType) && (t = i.parentNode), t;
1066
1060
  }
1067
1061
  get startNode() {
1068
1062
  return this._$AA;
@@ -1071,40 +1065,40 @@
1071
1065
  return this._$AB;
1072
1066
  }
1073
1067
  _$AI(t, i = this) {
1074
- t = P(this, t, i), r(t) ? t === w || null == t || "" === t ? (this._$AH !== w && this._$AR(), this._$AH = w) : t !== this._$AH && t !== b && this.$(t) : void 0 !== t._$litType$ ? this.T(t) : void 0 !== t.nodeType ? this.k(t) : u(t) ? this.S(t) : this.$(t);
1068
+ 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);
1075
1069
  }
1076
- A(t, i = this._$AB) {
1077
- return this._$AA.parentNode.insertBefore(t, i);
1070
+ S(t) {
1071
+ return this._$AA.parentNode.insertBefore(t, this._$AB);
1078
1072
  }
1079
- k(t) {
1080
- this._$AH !== t && (this._$AR(), this._$AH = this.A(t));
1073
+ T(t) {
1074
+ this._$AH !== t && (this._$AR(), this._$AH = this.S(t));
1081
1075
  }
1082
- $(t) {
1083
- this._$AH !== w && r(this._$AH) ? this._$AA.nextSibling.data = t : this.k(l$2.createTextNode(t)), this._$AH = t;
1076
+ g(t) {
1077
+ this._$AH !== A && u(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r.createTextNode(t)), this._$AH = t;
1084
1078
  }
1085
- T(t) {
1079
+ $(t) {
1086
1080
  var i;
1087
1081
  const {
1088
1082
  values: s,
1089
1083
  _$litType$: e
1090
1084
  } = t,
1091
- o = "number" == typeof e ? this._$AC(t) : (void 0 === e.el && (e.el = E.createElement(e.h, this.options)), e);
1092
- if ((null === (i = this._$AH) || void 0 === i ? void 0 : i._$AD) === o) this._$AH.m(s);else {
1093
- const t = new V(o, this),
1094
- i = t.p(this.options);
1095
- t.m(s), this.k(i), this._$AH = t;
1085
+ o = "number" == typeof e ? this._$AC(t) : (void 0 === e.el && (e.el = V.createElement(e.h, this.options)), e);
1086
+ if ((null === (i = this._$AH) || void 0 === i ? void 0 : i._$AD) === o) this._$AH.p(s);else {
1087
+ const t = new S(o, this),
1088
+ i = t.v(this.options);
1089
+ t.p(s), this.T(i), this._$AH = t;
1096
1090
  }
1097
1091
  }
1098
1092
  _$AC(t) {
1099
- let i = T.get(t.strings);
1100
- return void 0 === i && T.set(t.strings, i = new E(t)), i;
1093
+ let i = E.get(t.strings);
1094
+ return void 0 === i && E.set(t.strings, i = new V(t)), i;
1101
1095
  }
1102
- S(t) {
1103
- d(this._$AH) || (this._$AH = [], this._$AR());
1096
+ k(t) {
1097
+ c(this._$AH) || (this._$AH = [], this._$AR());
1104
1098
  const i = this._$AH;
1105
1099
  let s,
1106
1100
  e = 0;
1107
- for (const o of t) e === i.length ? i.push(s = new N(this.A(h()), this.A(h()), this, this.options)) : s = i[e], s._$AI(o), e++;
1101
+ 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++;
1108
1102
  e < i.length && (this._$AR(s && s._$AB.nextSibling, e), i.length = e);
1109
1103
  }
1110
1104
  _$AR(t = this._$AA.nextSibling, i) {
@@ -1116,12 +1110,12 @@
1116
1110
  }
1117
1111
  setConnected(t) {
1118
1112
  var i;
1119
- void 0 === this._$AM && (this._$Cg = t, null === (i = this._$AP) || void 0 === i || i.call(this, t));
1113
+ void 0 === this._$AM && (this._$Cm = t, null === (i = this._$AP) || void 0 === i || i.call(this, t));
1120
1114
  }
1121
1115
  }
1122
- class S {
1116
+ class R {
1123
1117
  constructor(t, i, s, e, o) {
1124
- this.type = 1, this._$AH = w, 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 = w;
1118
+ 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;
1125
1119
  }
1126
1120
  get tagName() {
1127
1121
  return this.element.tagName;
@@ -1132,44 +1126,44 @@
1132
1126
  _$AI(t, i = this, s, e) {
1133
1127
  const o = this.strings;
1134
1128
  let n = !1;
1135
- if (void 0 === o) t = P(this, t, i, 0), n = !r(t) || t !== this._$AH && t !== b, n && (this._$AH = t);else {
1129
+ if (void 0 === o) t = N(this, t, i, 0), n = !u(t) || t !== this._$AH && t !== T, n && (this._$AH = t);else {
1136
1130
  const e = t;
1137
1131
  let l, h;
1138
- for (t = o[0], l = 0; l < o.length - 1; l++) h = P(this, e[s + l], i, l), h === b && (h = this._$AH[l]), n || (n = !r(h) || h !== this._$AH[l]), h === w ? t = w : t !== w && (t += (null != h ? h : "") + o[l + 1]), this._$AH[l] = h;
1132
+ 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;
1139
1133
  }
1140
- n && !e && this.C(t);
1134
+ n && !e && this.j(t);
1141
1135
  }
1142
- C(t) {
1143
- t === w ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, null != t ? t : "");
1136
+ j(t) {
1137
+ t === A ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, null != t ? t : "");
1144
1138
  }
1145
1139
  }
1146
- class M extends S {
1140
+ class k extends R {
1147
1141
  constructor() {
1148
1142
  super(...arguments), this.type = 3;
1149
1143
  }
1150
- C(t) {
1151
- this.element[this.name] = t === w ? void 0 : t;
1144
+ j(t) {
1145
+ this.element[this.name] = t === A ? void 0 : t;
1152
1146
  }
1153
1147
  }
1154
- const k = i ? i.emptyScript : "";
1155
- class H extends S {
1148
+ const H = s$1 ? s$1.emptyScript : "";
1149
+ class I extends R {
1156
1150
  constructor() {
1157
1151
  super(...arguments), this.type = 4;
1158
1152
  }
1159
- C(t) {
1160
- t && t !== w ? this.element.setAttribute(this.name, k) : this.element.removeAttribute(this.name);
1153
+ j(t) {
1154
+ t && t !== A ? this.element.setAttribute(this.name, H) : this.element.removeAttribute(this.name);
1161
1155
  }
1162
1156
  }
1163
- class I extends S {
1157
+ class L extends R {
1164
1158
  constructor(t, i, s, e, o) {
1165
1159
  super(t, i, s, e, o), this.type = 5;
1166
1160
  }
1167
1161
  _$AI(t, i = this) {
1168
1162
  var s;
1169
- if ((t = null !== (s = P(this, t, i, 0)) && void 0 !== s ? s : w) === b) return;
1163
+ if ((t = null !== (s = N(this, t, i, 0)) && void 0 !== s ? s : A) === T) return;
1170
1164
  const e = this._$AH,
1171
- o = t === w && e !== w || t.capture !== e.capture || t.once !== e.once || t.passive !== e.passive,
1172
- n = t !== w && (e === w || o);
1165
+ o = t === A && e !== A || t.capture !== e.capture || t.once !== e.once || t.passive !== e.passive,
1166
+ n = t !== A && (e === A || o);
1173
1167
  o && this.element.removeEventListener(this.name, this, e), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
1174
1168
  }
1175
1169
  handleEvent(t) {
@@ -1177,7 +1171,7 @@
1177
1171
  "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);
1178
1172
  }
1179
1173
  }
1180
- class L {
1174
+ class z {
1181
1175
  constructor(t, i, s) {
1182
1176
  this.element = t, this.type = 6, this._$AN = void 0, this._$AM = i, this.options = s;
1183
1177
  }
@@ -1185,11 +1179,21 @@
1185
1179
  return this._$AM._$AU;
1186
1180
  }
1187
1181
  _$AI(t) {
1188
- P(this, t);
1182
+ N(this, t);
1189
1183
  }
1190
1184
  }
1191
- const z = window.litHtmlPolyfillSupport;
1192
- null == z || z(E, N), (null !== (t = globalThis.litHtmlVersions) && void 0 !== t ? t : globalThis.litHtmlVersions = []).push("2.2.1");
1185
+ const j = i.litHtmlPolyfillSupport;
1186
+ null == j || j(V, M), (null !== (t = i.litHtmlVersions) && void 0 !== t ? t : i.litHtmlVersions = []).push("2.7.0");
1187
+ const B = (t, i, s) => {
1188
+ var e, o;
1189
+ const n = null !== (e = null == s ? void 0 : s.renderBefore) && void 0 !== e ? e : i;
1190
+ let l = n._$litPart$;
1191
+ if (void 0 === l) {
1192
+ const t = null !== (o = null == s ? void 0 : s.renderBefore) && void 0 !== o ? o : null;
1193
+ n._$litPart$ = l = new M(i.insertBefore(d(), t), t, void 0, null != s ? s : {});
1194
+ }
1195
+ return l._$AI(t), l;
1196
+ };
1193
1197
 
1194
1198
  /**
1195
1199
  * @license
@@ -1201,7 +1205,7 @@
1201
1205
  constructor() {
1202
1206
  super(...arguments), this.renderOptions = {
1203
1207
  host: this
1204
- }, this._$Dt = void 0;
1208
+ }, this._$Do = void 0;
1205
1209
  }
1206
1210
  createRenderRoot() {
1207
1211
  var t, e;
@@ -1210,18 +1214,18 @@
1210
1214
  }
1211
1215
  update(t) {
1212
1216
  const i = this.render();
1213
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Dt = x(i, this.renderRoot, this.renderOptions);
1217
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = B(i, this.renderRoot, this.renderOptions);
1214
1218
  }
1215
1219
  connectedCallback() {
1216
1220
  var t;
1217
- super.connectedCallback(), null === (t = this._$Dt) || void 0 === t || t.setConnected(!0);
1221
+ super.connectedCallback(), null === (t = this._$Do) || void 0 === t || t.setConnected(!0);
1218
1222
  }
1219
1223
  disconnectedCallback() {
1220
1224
  var t;
1221
- super.disconnectedCallback(), null === (t = this._$Dt) || void 0 === t || t.setConnected(!1);
1225
+ super.disconnectedCallback(), null === (t = this._$Do) || void 0 === t || t.setConnected(!1);
1222
1226
  }
1223
1227
  render() {
1224
- return b;
1228
+ return T;
1225
1229
  }
1226
1230
  }
1227
1231
  s.finalized = !0, s._$litElement$ = !0, null === (l$1 = globalThis.litElementHydrateSupport) || void 0 === l$1 || l$1.call(globalThis, {
@@ -1231,7 +1235,7 @@
1231
1235
  null == n || n({
1232
1236
  LitElement: s
1233
1237
  });
1234
- (null !== (o = globalThis.litElementVersions) && void 0 !== o ? o : globalThis.litElementVersions = []).push("3.2.0");
1238
+ (null !== (o = globalThis.litElementVersions) && void 0 !== o ? o : globalThis.litElementVersions = []).push("3.3.0");
1235
1239
 
1236
1240
  var noop = {
1237
1241
  value: () => {}
@@ -3620,7 +3624,6 @@
3620
3624
  return "translate(" + this.x + "," + this.y + ") scale(" + this.k + ")";
3621
3625
  }
3622
3626
  };
3623
- new Transform(1, 0, 0);
3624
3627
  Transform.prototype;
3625
3628
 
3626
3629
  /*
@@ -3798,7 +3801,7 @@
3798
3801
  const shadows = DecidablesElement.shadows; /* eslint-disable-line prefer-destructuring */
3799
3802
 
3800
3803
  const filters = shadows.elevations.map(z => {
3801
- return y`
3804
+ return b`
3802
3805
  <filter id=${`shadow-${z}`} x="-250%" y="-250%" width="600%" height="600%">
3803
3806
  <feComponentTransfer in="SourceAlpha" result="solid">
3804
3807
  <feFuncA type="table" tableValues="0 1 1"/>
@@ -3806,9 +3809,9 @@
3806
3809
  <feOffset in="solid" result="offU" dx=${shadows.mapUmbra[z].y / 2} dy=${shadows.mapUmbra[z].y} />
3807
3810
  <feOffset in="solid" result="offP" dx=${shadows.mapPenumbra[z].y / 2} dy=${shadows.mapPenumbra[z].y} />
3808
3811
  <feOffset in="solid" result="offA" dx=${shadows.mapAmbient[z].y / 2} dy=${shadows.mapAmbient[z].y} />
3809
- ${shadows.mapUmbra[z].s === 0 ? y`` : y`<feMorphology in="offU" result="spreadU" operator=${shadows.mapUmbra[z].s > 0 ? 'dilate' : 'erode'} radius=${Math.abs(shadows.mapUmbra[z].s)} />`}
3810
- ${shadows.mapPenumbra[z].s === 0 ? y`` : y`<feMorphology in="offP" result="spreadP" operator=${shadows.mapPenumbra[z].s > 0 ? 'dilate' : 'erode'} radius=${Math.abs(shadows.mapPenumbra[z].s)} />`}
3811
- ${shadows.mapAmbient[z].s === 0 ? y`` : y`<feMorphology in="offA" result="spreadA" operator=${shadows.mapAmbient[z].s > 0 ? 'dilate' : 'erode'} radius=${Math.abs(shadows.mapAmbient[z].s)} />`}
3812
+ ${shadows.mapUmbra[z].s === 0 ? b`` : b`<feMorphology in="offU" result="spreadU" operator=${shadows.mapUmbra[z].s > 0 ? 'dilate' : 'erode'} radius=${Math.abs(shadows.mapUmbra[z].s)} />`}
3813
+ ${shadows.mapPenumbra[z].s === 0 ? b`` : b`<feMorphology in="offP" result="spreadP" operator=${shadows.mapPenumbra[z].s > 0 ? 'dilate' : 'erode'} radius=${Math.abs(shadows.mapPenumbra[z].s)} />`}
3814
+ ${shadows.mapAmbient[z].s === 0 ? b`` : b`<feMorphology in="offA" result="spreadA" operator=${shadows.mapAmbient[z].s > 0 ? 'dilate' : 'erode'} radius=${Math.abs(shadows.mapAmbient[z].s)} />`}
3812
3815
  <feGaussianBlur in=${shadows.mapUmbra[z].s === 0 ? 'offU' : 'spreadU'} result="blurU" stdDeviation=${shadows.mapUmbra[z].b / 2} />
3813
3816
  <feGaussianBlur in=${shadows.mapPenumbra[z].s === 0 ? 'offP' : 'spreadP'} result="blurP" stdDeviation=${shadows.mapPenumbra[z].b / 2} />
3814
3817
  <feGaussianBlur in=${shadows.mapAmbient[z].s === 0 ? 'offA' : 'spreadA'} result="blurA" stdDeviation=${shadows.mapAmbient[z].b / 2} />
@@ -3830,7 +3833,7 @@
3830
3833
  </feMerge>
3831
3834
  </filter>`;
3832
3835
  });
3833
- return y`
3836
+ return b`
3834
3837
  <svg class="defs">
3835
3838
  <defs>
3836
3839
  ${filters}
@@ -3973,7 +3976,7 @@
3973
3976
  `];
3974
3977
  }
3975
3978
  render() {
3976
- return $`
3979
+ return x`
3977
3980
  <button ?disabled=${this.disabled}>
3978
3981
  <slot></slot>
3979
3982
  </button>
@@ -3987,7 +3990,7 @@
3987
3990
  * Copyright 2018 Google LLC
3988
3991
  * SPDX-License-Identifier: BSD-3-Clause
3989
3992
  */
3990
- const l = l => null != l ? l : b$1;
3993
+ const l = l => null != l ? l : A$1;
3991
3994
 
3992
3995
  class DecidablesSlider extends DecidablesElement {
3993
3996
  static get properties() {
@@ -4295,7 +4298,7 @@
4295
4298
  `];
4296
4299
  }
4297
4300
  render() {
4298
- return $`
4301
+ return x`
4299
4302
  <label for="slider">
4300
4303
  <slot></slot>
4301
4304
  </label>
@@ -4434,7 +4437,7 @@
4434
4437
  `];
4435
4438
  }
4436
4439
  render() {
4437
- return $`
4440
+ return x`
4438
4441
  <label>
4439
4442
  <slot></slot>
4440
4443
  <input ?disabled=${this.disabled} type="number" min=${l(this.min)} max=${l(this.max)} step=${l(this.step)} .value=${this.value} @input=${this.inputted.bind(this)}>
@@ -4598,7 +4601,7 @@
4598
4601
  `];
4599
4602
  }
4600
4603
  render() {
4601
- return $`
4604
+ return x`
4602
4605
  <input type="checkbox" id="switch" ?checked=${this.checked} ?disabled=${this.disabled} @change=${this.changed.bind(this)}>
4603
4606
  <label for="switch">
4604
4607
  <slot name="off-label"></slot>
@@ -4648,7 +4651,7 @@
4648
4651
  `];
4649
4652
  }
4650
4653
  render() {
4651
- return $`
4654
+ return x`
4652
4655
  <fieldset ?disabled=${this.disabled}>
4653
4656
  <legend><slot name="label"></slot></legend>
4654
4657
  <slot></slot>
@@ -4799,7 +4802,7 @@
4799
4802
  `];
4800
4803
  }
4801
4804
  render() {
4802
- return $`
4805
+ return x`
4803
4806
  <input type="radio" id="toggle-option" name=${this.name} value=${this.value} .checked=${this.checked} @change=${this.changed.bind(this)}>
4804
4807
  <label for="toggle-option">
4805
4808
  <slot></slot>