@decidables/detectable-elements 0.2.3 → 0.2.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.
@@ -274,7 +274,7 @@ d$2.finalized = !0, d$2.elementProperties = new Map(), d$2.elementStyles = [], d
274
274
  mode: "open"
275
275
  }, null == o$5 || o$5({
276
276
  ReactiveElement: d$2
277
- }), (null !== (s$5 = e$4.reactiveElementVersions) && void 0 !== s$5 ? s$5 : e$4.reactiveElementVersions = []).push("1.5.0");
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
@@ -287,125 +287,129 @@ const i$2 = window,
287
287
  e$3 = s$4 ? s$4.createPolicy("lit-html", {
288
288
  createHTML: t => t
289
289
  }) : void 0,
290
- o$4 = `lit$${(Math.random() + "").slice(9)}$`,
291
- n$4 = "?" + o$4,
292
- l$4 = `<${n$4}>`,
293
- h$2 = document,
294
- r$3 = (t = "") => h$2.createComment(t),
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(""),
295
296
  d$1 = t => null === t || "object" != typeof t && "function" != typeof t,
296
- u$1 = Array.isArray,
297
- c$1 = t => u$1(t) || "function" == typeof (null == t ? void 0 : t[Symbol.iterator]),
298
- v$1 = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
299
- a$2 = /-->/g,
300
- f$1 = />/g,
301
- _$1 = RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)", "g"),
302
- m$1 = /'/g,
303
- p$1 = /"/g,
304
- $$1 = /^(?:script|style|textarea|title)$/i,
305
- x$2 = Symbol.for("lit-noChange"),
306
- b$1 = Symbol.for("lit-nothing"),
307
- T$1 = new WeakMap(),
308
- A$1 = h$2.createTreeWalker(h$2, 129, null, !1),
309
- E$1 = (t, i) => {
310
- const s = t.length - 1,
311
- n = [];
312
- let h,
313
- r = 2 === i ? "<svg>" : "",
314
- d = v$1;
315
- for (let i = 0; i < s; i++) {
316
- const s = t[i];
317
- let e,
318
- u,
319
- c = -1,
320
- g = 0;
321
- 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);
322
- const y = d === _$1 && t[i + 1].startsWith("/>") ? " " : "";
323
- 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);
324
- }
325
- const u = r + (t[s] || "<?>") + (2 === i ? "</svg>" : "");
326
- if (!Array.isArray(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
327
- return [void 0 !== e$3 ? e$3.createHTML(u) : u, n];
328
- };
329
- let C$1 = class C {
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$2 = /^(?: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$2.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 {
330
334
  constructor({
331
335
  strings: t,
332
336
  _$litType$: i
333
337
  }, e) {
334
- let l;
338
+ let h;
335
339
  this.parts = [];
336
- let h = 0,
340
+ let r = 0,
337
341
  d = 0;
338
- const u = t.length - 1,
339
- c = this.parts,
340
- [v, a] = E$1(t, i);
341
- if (this.el = C$1.createElement(v, e), A$1.currentNode = this.el.content, 2 === i) {
342
+ const c = t.length - 1,
343
+ v = this.parts,
344
+ [a, f] = V$1(t, i);
345
+ if (this.el = N.createElement(a, e), C$1.currentNode = this.el.content, 2 === i) {
342
346
  const t = this.el.content,
343
347
  i = t.firstChild;
344
348
  i.remove(), t.append(...i.childNodes);
345
349
  }
346
- for (; null !== (l = A$1.nextNode()) && c.length < u;) {
347
- if (1 === l.nodeType) {
348
- if (l.hasAttributes()) {
350
+ for (; null !== (h = C$1.nextNode()) && v.length < c;) {
351
+ if (1 === h.nodeType) {
352
+ if (h.hasAttributes()) {
349
353
  const t = [];
350
- for (const i of l.getAttributeNames()) if (i.endsWith("$lit$") || i.startsWith(o$4)) {
351
- const s = a[d++];
354
+ for (const i of h.getAttributeNames()) if (i.endsWith(o$4) || i.startsWith(n$4)) {
355
+ const s = f[d++];
352
356
  if (t.push(i), void 0 !== s) {
353
- const t = l.getAttribute(s.toLowerCase() + "$lit$").split(o$4),
357
+ const t = h.getAttribute(s.toLowerCase() + o$4).split(n$4),
354
358
  i = /([.?@])?(.*)/.exec(s);
355
- c.push({
359
+ v.push({
356
360
  type: 1,
357
- index: h,
361
+ index: r,
358
362
  name: i[2],
359
363
  strings: t,
360
- ctor: "." === i[1] ? M$1 : "?" === i[1] ? k$1 : "@" === i[1] ? H$1 : S$2
364
+ ctor: "." === i[1] ? H$1 : "?" === i[1] ? L$1 : "@" === i[1] ? z$1 : k$1
361
365
  });
362
- } else c.push({
366
+ } else v.push({
363
367
  type: 6,
364
- index: h
368
+ index: r
365
369
  });
366
370
  }
367
- for (const i of t) l.removeAttribute(i);
371
+ for (const i of t) h.removeAttribute(i);
368
372
  }
369
- if ($$1.test(l.tagName)) {
370
- const t = l.textContent.split(o$4),
373
+ if (y$2.test(h.tagName)) {
374
+ const t = h.textContent.split(n$4),
371
375
  i = t.length - 1;
372
376
  if (i > 0) {
373
- l.textContent = s$4 ? s$4.emptyScript : "";
374
- for (let s = 0; s < i; s++) l.append(t[s], r$3()), A$1.nextNode(), c.push({
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({
375
379
  type: 2,
376
- index: ++h
380
+ index: ++r
377
381
  });
378
- l.append(t[i], r$3());
382
+ h.append(t[i], u$1());
379
383
  }
380
384
  }
381
- } else if (8 === l.nodeType) if (l.data === n$4) c.push({
385
+ } else if (8 === h.nodeType) if (h.data === l$4) v.push({
382
386
  type: 2,
383
- index: h
387
+ index: r
384
388
  });else {
385
389
  let t = -1;
386
- for (; -1 !== (t = l.data.indexOf(o$4, t + 1));) c.push({
390
+ for (; -1 !== (t = h.data.indexOf(n$4, t + 1));) v.push({
387
391
  type: 7,
388
- index: h
389
- }), t += o$4.length - 1;
392
+ index: r
393
+ }), t += n$4.length - 1;
390
394
  }
391
- h++;
395
+ r++;
392
396
  }
393
397
  }
394
398
  static createElement(t, i) {
395
- const s = h$2.createElement("template");
399
+ const s = r$3.createElement("template");
396
400
  return s.innerHTML = t, s;
397
401
  }
398
402
  };
399
- function P$1(t, i, s = t, e) {
403
+ function S$2(t, i, s = t, e) {
400
404
  var o, n, l, h;
401
- if (i === x$2) return i;
405
+ if (i === T$1) return i;
402
406
  let r = void 0 !== e ? null === (o = s._$Co) || void 0 === o ? void 0 : o[e] : s._$Cl;
403
407
  const u = d$1(i) ? void 0 : i._$litDirective$;
404
- 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;
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;
405
409
  }
406
- let V$1 = class V {
410
+ let M$1 = class M {
407
411
  constructor(t, i) {
408
- this.u = [], this._$AN = void 0, this._$AD = t, this._$AM = i;
412
+ this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = i;
409
413
  }
410
414
  get parentNode() {
411
415
  return this._$AM.parentNode;
@@ -413,7 +417,7 @@ let V$1 = class V {
413
417
  get _$AU() {
414
418
  return this._$AM._$AU;
415
419
  }
416
- v(t) {
420
+ u(t) {
417
421
  var i;
418
422
  const {
419
423
  el: {
@@ -421,39 +425,39 @@ let V$1 = class V {
421
425
  },
422
426
  parts: e
423
427
  } = this._$AD,
424
- o = (null !== (i = null == t ? void 0 : t.creationScope) && void 0 !== i ? i : h$2).importNode(s, !0);
425
- A$1.currentNode = o;
426
- let n = A$1.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(),
427
431
  l = 0,
428
- r = 0,
429
- d = e[0];
430
- for (; void 0 !== d;) {
431
- if (l === d.index) {
432
+ h = 0,
433
+ u = e[0];
434
+ for (; void 0 !== u;) {
435
+ if (l === u.index) {
432
436
  let i;
433
- 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];
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];
434
438
  }
435
- l !== (null == d ? void 0 : d.index) && (n = A$1.nextNode(), l++);
439
+ l !== (null == u ? void 0 : u.index) && (n = C$1.nextNode(), l++);
436
440
  }
437
- return o;
441
+ return C$1.currentNode = r$3, o;
438
442
  }
439
- p(t) {
443
+ v(t) {
440
444
  let i = 0;
441
- 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++;
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++;
442
446
  }
443
447
  };
444
- let N$1 = class N {
448
+ let R$1 = class R {
445
449
  constructor(t, i, s, e) {
446
450
  var o;
447
- 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;
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;
448
452
  }
449
453
  get _$AU() {
450
454
  var t, i;
451
- return null !== (i = null === (t = this._$AM) || void 0 === t ? void 0 : t._$AU) && void 0 !== i ? i : this._$Cm;
455
+ return null !== (i = null === (t = this._$AM) || void 0 === t ? void 0 : t._$AU) && void 0 !== i ? i : this._$Cp;
452
456
  }
453
457
  get parentNode() {
454
458
  let t = this._$AA.parentNode;
455
459
  const i = this._$AM;
456
- return void 0 !== i && 11 === t.nodeType && (t = i.parentNode), t;
460
+ return void 0 !== i && 11 === (null == t ? void 0 : t.nodeType) && (t = i.parentNode), t;
457
461
  }
458
462
  get startNode() {
459
463
  return this._$AA;
@@ -462,40 +466,40 @@ let N$1 = class N {
462
466
  return this._$AB;
463
467
  }
464
468
  _$AI(t, i = this) {
465
- 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$2 && 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);
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);
470
+ }
471
+ k(t) {
472
+ return this._$AA.parentNode.insertBefore(t, this._$AB);
466
473
  }
467
- O(t, i = this._$AB) {
468
- return this._$AA.parentNode.insertBefore(t, i);
474
+ $(t) {
475
+ this._$AH !== t && (this._$AR(), this._$AH = this.k(t));
469
476
  }
470
- T(t) {
471
- this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
477
+ _(t) {
478
+ this._$AH !== A$1 && d$1(this._$AH) ? this._$AA.nextSibling.data = t : this.$(r$3.createTextNode(t)), this._$AH = t;
472
479
  }
473
480
  g(t) {
474
- this._$AH !== b$1 && d$1(this._$AH) ? this._$AA.nextSibling.data = t : this.T(h$2.createTextNode(t)), this._$AH = t;
475
- }
476
- $(t) {
477
481
  var i;
478
482
  const {
479
483
  values: s,
480
484
  _$litType$: e
481
485
  } = t,
482
- o = "number" == typeof e ? this._$AC(t) : (void 0 === e.el && (e.el = C$1.createElement(e.h, this.options)), e);
483
- if ((null === (i = this._$AH) || void 0 === i ? void 0 : i._$AD) === o) this._$AH.p(s);else {
484
- const t = new V$1(o, this),
485
- i = t.v(this.options);
486
- t.p(s), this.T(i), this._$AH = 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;
487
491
  }
488
492
  }
489
493
  _$AC(t) {
490
- let i = T$1.get(t.strings);
491
- return void 0 === i && T$1.set(t.strings, i = new C$1(t)), i;
494
+ let i = E$1.get(t.strings);
495
+ return void 0 === i && E$1.set(t.strings, i = new N$1(t)), i;
492
496
  }
493
- k(t) {
494
- u$1(this._$AH) || (this._$AH = [], this._$AR());
497
+ T(t) {
498
+ c$1(this._$AH) || (this._$AH = [], this._$AR());
495
499
  const i = this._$AH;
496
500
  let s,
497
501
  e = 0;
498
- 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++;
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++;
499
503
  e < i.length && (this._$AR(s && s._$AB.nextSibling, e), i.length = e);
500
504
  }
501
505
  _$AR(t = this._$AA.nextSibling, i) {
@@ -507,12 +511,12 @@ let N$1 = class N {
507
511
  }
508
512
  setConnected(t) {
509
513
  var i;
510
- void 0 === this._$AM && (this._$Cm = t, null === (i = this._$AP) || void 0 === i || i.call(this, t));
514
+ void 0 === this._$AM && (this._$Cp = t, null === (i = this._$AP) || void 0 === i || i.call(this, t));
511
515
  }
512
516
  };
513
- let S$2 = class S {
517
+ let k$1 = class k {
514
518
  constructor(t, i, s, e, o) {
515
- 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;
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;
516
520
  }
517
521
  get tagName() {
518
522
  return this.element.tagName;
@@ -523,44 +527,44 @@ let S$2 = class S {
523
527
  _$AI(t, i = this, s, e) {
524
528
  const o = this.strings;
525
529
  let n = !1;
526
- if (void 0 === o) t = P$1(this, t, i, 0), n = !d$1(t) || t !== this._$AH && t !== x$2, n && (this._$AH = t);else {
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 {
527
531
  const e = t;
528
532
  let l, h;
529
- for (t = o[0], l = 0; l < o.length - 1; l++) h = P$1(this, e[s + l], i, l), h === x$2 && (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;
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;
530
534
  }
531
535
  n && !e && this.j(t);
532
536
  }
533
537
  j(t) {
534
- t === b$1 ? 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 : "");
535
539
  }
536
540
  };
537
- let M$1 = class M extends S$2 {
541
+ let H$1 = class H extends k$1 {
538
542
  constructor() {
539
543
  super(...arguments), this.type = 3;
540
544
  }
541
545
  j(t) {
542
- this.element[this.name] = t === b$1 ? void 0 : t;
546
+ this.element[this.name] = t === A$1 ? void 0 : t;
543
547
  }
544
548
  };
545
- const R = s$4 ? s$4.emptyScript : "";
546
- let k$1 = class k extends S$2 {
549
+ const I$1 = s$4 ? s$4.emptyScript : "";
550
+ let L$1 = class L extends k$1 {
547
551
  constructor() {
548
552
  super(...arguments), this.type = 4;
549
553
  }
550
554
  j(t) {
551
- t && t !== b$1 ? this.element.setAttribute(this.name, R) : this.element.removeAttribute(this.name);
555
+ t && t !== A$1 ? this.element.setAttribute(this.name, I$1) : this.element.removeAttribute(this.name);
552
556
  }
553
557
  };
554
- let H$1 = class H extends S$2 {
558
+ let z$1 = class z extends k$1 {
555
559
  constructor(t, i, s, e, o) {
556
560
  super(t, i, s, e, o), this.type = 5;
557
561
  }
558
562
  _$AI(t, i = this) {
559
563
  var s;
560
- if ((t = null !== (s = P$1(this, t, i, 0)) && void 0 !== s ? s : b$1) === x$2) return;
564
+ if ((t = null !== (s = S$2(this, t, i, 0)) && void 0 !== s ? s : A$1) === T$1) return;
561
565
  const e = this._$AH,
562
- o = t === b$1 && e !== b$1 || t.capture !== e.capture || t.once !== e.once || t.passive !== e.passive,
563
- n = t !== b$1 && (e === b$1 || 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);
564
568
  o && this.element.removeEventListener(this.name, this, e), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
565
569
  }
566
570
  handleEvent(t) {
@@ -568,7 +572,7 @@ let H$1 = class H extends S$2 {
568
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);
569
573
  }
570
574
  };
571
- let I$1 = class I {
575
+ class Z {
572
576
  constructor(t, i, s) {
573
577
  this.element = t, this.type = 6, this._$AN = void 0, this._$AM = i, this.options = s;
574
578
  }
@@ -576,11 +580,11 @@ let I$1 = class I {
576
580
  return this._$AM._$AU;
577
581
  }
578
582
  _$AI(t) {
579
- P$1(this, t);
583
+ S$2(this, t);
580
584
  }
581
- };
582
- const z$1 = i$2.litHtmlPolyfillSupport;
583
- 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");
585
+ }
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");
584
588
 
585
589
  /**
586
590
  * @license
@@ -866,149 +870,139 @@ a$1.finalized = !0, a$1.elementProperties = new Map(), a$1.elementStyles = [], a
866
870
  * SPDX-License-Identifier: BSD-3-Clause
867
871
  */
868
872
  var t;
869
- const i = globalThis.trustedTypes,
870
- s$1 = i ? i.createPolicy("lit-html", {
873
+ const i = window,
874
+ s$1 = i.trustedTypes,
875
+ e = s$1 ? s$1.createPolicy("lit-html", {
871
876
  createHTML: t => t
872
877
  }) : void 0,
873
- e = `lit$${(Math.random() + "").slice(9)}$`,
874
- o$1 = "?" + e,
875
- n$1 = `<${o$1}>`,
876
- l$2 = document,
877
- h = (t = "") => l$2.createComment(t),
878
- r = t => null === t || "object" != typeof t && "function" != typeof t,
879
- d = Array.isArray,
880
- u = t => {
881
- var i;
882
- return d(t) || "function" == typeof (null === (i = t) || void 0 === i ? void 0 : i[Symbol.iterator]);
883
- },
884
- c = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
885
- v = /-->/g,
886
- a = />/g,
887
- f = />|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,
888
- _ = /'/g,
889
- m = /"/g,
890
- g = /^(?:script|style|textarea|title)$/i,
891
- p = t => (i, ...s) => ({
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$1 = /^(?:script|style|textarea|title)$/i,
895
+ w = t => (i, ...s) => ({
892
896
  _$litType$: t,
893
897
  strings: i,
894
898
  values: s
895
899
  }),
896
- $ = p(1),
897
- y$1 = p(2),
898
- b = Symbol.for("lit-noChange"),
899
- w = Symbol.for("lit-nothing"),
900
- T = new WeakMap(),
901
- x$1 = (t, i, s) => {
902
- var e, o;
903
- const n = null !== (e = null == s ? void 0 : s.renderBefore) && void 0 !== e ? e : i;
904
- let l = n._$litPart$;
905
- if (void 0 === l) {
906
- const t = null !== (o = null == s ? void 0 : s.renderBefore) && void 0 !== o ? o : null;
907
- n._$litPart$ = l = new N(i.insertBefore(h(), t), t, void 0, null != s ? s : {});
908
- }
909
- return l._$AI(t), l;
910
- },
911
- A = l$2.createTreeWalker(l$2, 129, null, !1),
912
- C = (t, i) => {
913
- const o = t.length - 1,
900
+ x$1 = 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,
914
908
  l = [];
915
- let h,
916
- r = 2 === i ? "<svg>" : "",
917
- d = c;
918
- for (let i = 0; i < o; i++) {
909
+ let r,
910
+ d = 2 === i ? "<svg>" : "",
911
+ u = f;
912
+ for (let i = 0; i < s; i++) {
919
913
  const s = t[i];
920
- let o,
921
- u,
922
- p = -1,
923
- $ = 0;
924
- 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);
925
- const y = d === f && t[i + 1].startsWith("/>") ? " " : "";
926
- 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);
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$1.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);
927
921
  }
928
- const u = r + (t[o] || "<?>") + (2 === i ? "</svg>" : "");
922
+ const c = d + (t[s] || "<?>") + (2 === i ? "</svg>" : "");
929
923
  if (!Array.isArray(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
930
- return [void 0 !== s$1 ? s$1.createHTML(u) : u, l];
924
+ return [void 0 !== e ? e.createHTML(c) : c, l];
931
925
  };
932
- class E {
926
+ class V {
933
927
  constructor({
934
928
  strings: t,
935
- _$litType$: s
936
- }, n) {
937
- let l;
929
+ _$litType$: i
930
+ }, e) {
931
+ let h;
938
932
  this.parts = [];
939
933
  let r = 0,
940
- d = 0;
941
- const u = t.length - 1,
942
- c = this.parts,
943
- [v, a] = C(t, s);
944
- if (this.el = E.createElement(v, n), A.currentNode = this.el.content, 2 === s) {
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) {
945
939
  const t = this.el.content,
946
940
  i = t.firstChild;
947
941
  i.remove(), t.append(...i.childNodes);
948
942
  }
949
- for (; null !== (l = A.nextNode()) && c.length < u;) {
950
- if (1 === l.nodeType) {
951
- if (l.hasAttributes()) {
943
+ for (; null !== (h = C.nextNode()) && v.length < c;) {
944
+ if (1 === h.nodeType) {
945
+ if (h.hasAttributes()) {
952
946
  const t = [];
953
- for (const i of l.getAttributeNames()) if (i.endsWith("$lit$") || i.startsWith(e)) {
954
- const s = a[d++];
947
+ for (const i of h.getAttributeNames()) if (i.endsWith(o$1) || i.startsWith(n$1)) {
948
+ const s = f[u++];
955
949
  if (t.push(i), void 0 !== s) {
956
- const t = l.getAttribute(s.toLowerCase() + "$lit$").split(e),
950
+ const t = h.getAttribute(s.toLowerCase() + o$1).split(n$1),
957
951
  i = /([.?@])?(.*)/.exec(s);
958
- c.push({
952
+ v.push({
959
953
  type: 1,
960
954
  index: r,
961
955
  name: i[2],
962
956
  strings: t,
963
- ctor: "." === i[1] ? M : "?" === i[1] ? H : "@" === i[1] ? I : S
957
+ ctor: "." === i[1] ? k : "?" === i[1] ? I : "@" === i[1] ? L : R
964
958
  });
965
- } else c.push({
959
+ } else v.push({
966
960
  type: 6,
967
961
  index: r
968
962
  });
969
963
  }
970
- for (const i of t) l.removeAttribute(i);
971
- }
972
- if (g.test(l.tagName)) {
973
- const t = l.textContent.split(e),
974
- s = t.length - 1;
975
- if (s > 0) {
976
- l.textContent = i ? i.emptyScript : "";
977
- for (let i = 0; i < s; i++) l.append(t[i], h()), A.nextNode(), c.push({
964
+ for (const i of t) h.removeAttribute(i);
965
+ }
966
+ if (y$1.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({
978
972
  type: 2,
979
973
  index: ++r
980
974
  });
981
- l.append(t[s], h());
975
+ h.append(t[i], d());
982
976
  }
983
977
  }
984
- } else if (8 === l.nodeType) if (l.data === o$1) c.push({
978
+ } else if (8 === h.nodeType) if (h.data === l$2) v.push({
985
979
  type: 2,
986
980
  index: r
987
981
  });else {
988
982
  let t = -1;
989
- for (; -1 !== (t = l.data.indexOf(e, t + 1));) c.push({
983
+ for (; -1 !== (t = h.data.indexOf(n$1, t + 1));) v.push({
990
984
  type: 7,
991
985
  index: r
992
- }), t += e.length - 1;
986
+ }), t += n$1.length - 1;
993
987
  }
994
988
  r++;
995
989
  }
996
990
  }
997
991
  static createElement(t, i) {
998
- const s = l$2.createElement("template");
992
+ const s = r.createElement("template");
999
993
  return s.innerHTML = t, s;
1000
994
  }
1001
995
  }
1002
- function P(t, i, s = t, e) {
996
+ function N(t, i, s = t, e) {
1003
997
  var o, n, l, h;
1004
- if (i === b) return i;
1005
- let d = void 0 !== e ? null === (o = s._$Cl) || void 0 === o ? void 0 : o[e] : s._$Cu;
1006
- const u = r(i) ? void 0 : i._$litDirective$;
1007
- 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;
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;
1008
1002
  }
1009
- class V {
1003
+ class S {
1010
1004
  constructor(t, i) {
1011
- this.v = [], this._$AN = void 0, this._$AD = t, this._$AM = i;
1005
+ this.u = [], this._$AN = void 0, this._$AD = t, this._$AM = i;
1012
1006
  }
1013
1007
  get parentNode() {
1014
1008
  return this._$AM.parentNode;
@@ -1016,7 +1010,7 @@ class V {
1016
1010
  get _$AU() {
1017
1011
  return this._$AM._$AU;
1018
1012
  }
1019
- p(t) {
1013
+ v(t) {
1020
1014
  var i;
1021
1015
  const {
1022
1016
  el: {
@@ -1024,39 +1018,39 @@ class V {
1024
1018
  },
1025
1019
  parts: e
1026
1020
  } = this._$AD,
1027
- o = (null !== (i = null == t ? void 0 : t.creationScope) && void 0 !== i ? i : l$2).importNode(s, !0);
1028
- A.currentNode = o;
1029
- let n = A.nextNode(),
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,
1030
1025
  h = 0,
1031
- r = 0,
1032
1026
  d = e[0];
1033
1027
  for (; void 0 !== d;) {
1034
- if (h === d.index) {
1028
+ if (l === d.index) {
1035
1029
  let i;
1036
- 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];
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];
1037
1031
  }
1038
- h !== (null == d ? void 0 : d.index) && (n = A.nextNode(), h++);
1032
+ l !== (null == d ? void 0 : d.index) && (n = C.nextNode(), l++);
1039
1033
  }
1040
1034
  return o;
1041
1035
  }
1042
- m(t) {
1036
+ p(t) {
1043
1037
  let i = 0;
1044
- 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++;
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++;
1045
1039
  }
1046
1040
  }
1047
- class N {
1041
+ class M {
1048
1042
  constructor(t, i, s, e) {
1049
1043
  var o;
1050
- 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;
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;
1051
1045
  }
1052
1046
  get _$AU() {
1053
1047
  var t, i;
1054
- return null !== (i = null === (t = this._$AM) || void 0 === t ? void 0 : t._$AU) && void 0 !== i ? i : this._$Cg;
1048
+ return null !== (i = null === (t = this._$AM) || void 0 === t ? void 0 : t._$AU) && void 0 !== i ? i : this._$Cm;
1055
1049
  }
1056
1050
  get parentNode() {
1057
1051
  let t = this._$AA.parentNode;
1058
1052
  const i = this._$AM;
1059
- return void 0 !== i && 11 === t.nodeType && (t = i.parentNode), t;
1053
+ return void 0 !== i && 11 === (null == t ? void 0 : t.nodeType) && (t = i.parentNode), t;
1060
1054
  }
1061
1055
  get startNode() {
1062
1056
  return this._$AA;
@@ -1065,40 +1059,40 @@ class N {
1065
1059
  return this._$AB;
1066
1060
  }
1067
1061
  _$AI(t, i = this) {
1068
- 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);
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);
1069
1063
  }
1070
- A(t, i = this._$AB) {
1071
- return this._$AA.parentNode.insertBefore(t, i);
1064
+ S(t) {
1065
+ return this._$AA.parentNode.insertBefore(t, this._$AB);
1072
1066
  }
1073
- k(t) {
1074
- this._$AH !== t && (this._$AR(), this._$AH = this.A(t));
1067
+ T(t) {
1068
+ this._$AH !== t && (this._$AR(), this._$AH = this.S(t));
1075
1069
  }
1076
- $(t) {
1077
- this._$AH !== w && r(this._$AH) ? this._$AA.nextSibling.data = t : this.k(l$2.createTextNode(t)), this._$AH = t;
1070
+ g(t) {
1071
+ this._$AH !== A && u(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r.createTextNode(t)), this._$AH = t;
1078
1072
  }
1079
- T(t) {
1073
+ $(t) {
1080
1074
  var i;
1081
1075
  const {
1082
1076
  values: s,
1083
1077
  _$litType$: e
1084
1078
  } = t,
1085
- o = "number" == typeof e ? this._$AC(t) : (void 0 === e.el && (e.el = E.createElement(e.h, this.options)), e);
1086
- if ((null === (i = this._$AH) || void 0 === i ? void 0 : i._$AD) === o) this._$AH.m(s);else {
1087
- const t = new V(o, this),
1088
- i = t.p(this.options);
1089
- t.m(s), this.k(i), this._$AH = 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;
1090
1084
  }
1091
1085
  }
1092
1086
  _$AC(t) {
1093
- let i = T.get(t.strings);
1094
- return void 0 === i && T.set(t.strings, i = new E(t)), i;
1087
+ let i = E.get(t.strings);
1088
+ return void 0 === i && E.set(t.strings, i = new V(t)), i;
1095
1089
  }
1096
- S(t) {
1097
- d(this._$AH) || (this._$AH = [], this._$AR());
1090
+ k(t) {
1091
+ c(this._$AH) || (this._$AH = [], this._$AR());
1098
1092
  const i = this._$AH;
1099
1093
  let s,
1100
1094
  e = 0;
1101
- 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++;
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++;
1102
1096
  e < i.length && (this._$AR(s && s._$AB.nextSibling, e), i.length = e);
1103
1097
  }
1104
1098
  _$AR(t = this._$AA.nextSibling, i) {
@@ -1110,12 +1104,12 @@ class N {
1110
1104
  }
1111
1105
  setConnected(t) {
1112
1106
  var i;
1113
- void 0 === this._$AM && (this._$Cg = t, null === (i = this._$AP) || void 0 === i || i.call(this, t));
1107
+ void 0 === this._$AM && (this._$Cm = t, null === (i = this._$AP) || void 0 === i || i.call(this, t));
1114
1108
  }
1115
1109
  }
1116
- class S {
1110
+ class R {
1117
1111
  constructor(t, i, s, e, o) {
1118
- 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;
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;
1119
1113
  }
1120
1114
  get tagName() {
1121
1115
  return this.element.tagName;
@@ -1126,44 +1120,44 @@ class S {
1126
1120
  _$AI(t, i = this, s, e) {
1127
1121
  const o = this.strings;
1128
1122
  let n = !1;
1129
- if (void 0 === o) t = P(this, t, i, 0), n = !r(t) || t !== this._$AH && t !== b, n && (this._$AH = t);else {
1123
+ if (void 0 === o) t = N(this, t, i, 0), n = !u(t) || t !== this._$AH && t !== T, n && (this._$AH = t);else {
1130
1124
  const e = t;
1131
1125
  let l, h;
1132
- 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;
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;
1133
1127
  }
1134
- n && !e && this.C(t);
1128
+ n && !e && this.j(t);
1135
1129
  }
1136
- C(t) {
1137
- t === w ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, null != t ? t : "");
1130
+ j(t) {
1131
+ t === A ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, null != t ? t : "");
1138
1132
  }
1139
1133
  }
1140
- class M extends S {
1134
+ class k extends R {
1141
1135
  constructor() {
1142
1136
  super(...arguments), this.type = 3;
1143
1137
  }
1144
- C(t) {
1145
- this.element[this.name] = t === w ? void 0 : t;
1138
+ j(t) {
1139
+ this.element[this.name] = t === A ? void 0 : t;
1146
1140
  }
1147
1141
  }
1148
- const k = i ? i.emptyScript : "";
1149
- class H extends S {
1142
+ const H = s$1 ? s$1.emptyScript : "";
1143
+ class I extends R {
1150
1144
  constructor() {
1151
1145
  super(...arguments), this.type = 4;
1152
1146
  }
1153
- C(t) {
1154
- t && t !== w ? this.element.setAttribute(this.name, k) : this.element.removeAttribute(this.name);
1147
+ j(t) {
1148
+ t && t !== A ? this.element.setAttribute(this.name, H) : this.element.removeAttribute(this.name);
1155
1149
  }
1156
1150
  }
1157
- class I extends S {
1151
+ class L extends R {
1158
1152
  constructor(t, i, s, e, o) {
1159
1153
  super(t, i, s, e, o), this.type = 5;
1160
1154
  }
1161
1155
  _$AI(t, i = this) {
1162
1156
  var s;
1163
- if ((t = null !== (s = P(this, t, i, 0)) && void 0 !== s ? s : w) === b) return;
1157
+ if ((t = null !== (s = N(this, t, i, 0)) && void 0 !== s ? s : A) === T) return;
1164
1158
  const e = this._$AH,
1165
- o = t === w && e !== w || t.capture !== e.capture || t.once !== e.once || t.passive !== e.passive,
1166
- n = t !== w && (e === w || o);
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);
1167
1161
  o && this.element.removeEventListener(this.name, this, e), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
1168
1162
  }
1169
1163
  handleEvent(t) {
@@ -1171,7 +1165,7 @@ class I extends S {
1171
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);
1172
1166
  }
1173
1167
  }
1174
- class L {
1168
+ class z {
1175
1169
  constructor(t, i, s) {
1176
1170
  this.element = t, this.type = 6, this._$AN = void 0, this._$AM = i, this.options = s;
1177
1171
  }
@@ -1179,11 +1173,21 @@ class L {
1179
1173
  return this._$AM._$AU;
1180
1174
  }
1181
1175
  _$AI(t) {
1182
- P(this, t);
1176
+ N(this, t);
1183
1177
  }
1184
1178
  }
1185
- const z = window.litHtmlPolyfillSupport;
1186
- null == z || z(E, N), (null !== (t = globalThis.litHtmlVersions) && void 0 !== t ? t : globalThis.litHtmlVersions = []).push("2.2.1");
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
+ };
1187
1191
 
1188
1192
  /**
1189
1193
  * @license
@@ -1195,7 +1199,7 @@ class s extends a$1 {
1195
1199
  constructor() {
1196
1200
  super(...arguments), this.renderOptions = {
1197
1201
  host: this
1198
- }, this._$Dt = void 0;
1202
+ }, this._$Do = void 0;
1199
1203
  }
1200
1204
  createRenderRoot() {
1201
1205
  var t, e;
@@ -1204,18 +1208,18 @@ class s extends a$1 {
1204
1208
  }
1205
1209
  update(t) {
1206
1210
  const i = this.render();
1207
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Dt = x$1(i, this.renderRoot, this.renderOptions);
1211
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = B(i, this.renderRoot, this.renderOptions);
1208
1212
  }
1209
1213
  connectedCallback() {
1210
1214
  var t;
1211
- super.connectedCallback(), null === (t = this._$Dt) || void 0 === t || t.setConnected(!0);
1215
+ super.connectedCallback(), null === (t = this._$Do) || void 0 === t || t.setConnected(!0);
1212
1216
  }
1213
1217
  disconnectedCallback() {
1214
1218
  var t;
1215
- super.disconnectedCallback(), null === (t = this._$Dt) || void 0 === t || t.setConnected(!1);
1219
+ super.disconnectedCallback(), null === (t = this._$Do) || void 0 === t || t.setConnected(!1);
1216
1220
  }
1217
1221
  render() {
1218
- return b;
1222
+ return T;
1219
1223
  }
1220
1224
  }
1221
1225
  s.finalized = !0, s._$litElement$ = !0, null === (l$1 = globalThis.litElementHydrateSupport) || void 0 === l$1 || l$1.call(globalThis, {
@@ -1225,7 +1229,7 @@ const n = globalThis.litElementPolyfillSupport;
1225
1229
  null == n || n({
1226
1230
  LitElement: s
1227
1231
  });
1228
- (null !== (o = globalThis.litElementVersions) && void 0 !== o ? o : globalThis.litElementVersions = []).push("3.2.0");
1232
+ (null !== (o = globalThis.litElementVersions) && void 0 !== o ? o : globalThis.litElementVersions = []).push("3.3.0");
1229
1233
 
1230
1234
  function ascending$2(a, b) {
1231
1235
  return a == null || b == null ? NaN : a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;
@@ -6469,7 +6473,6 @@ Transform.prototype = {
6469
6473
  return "translate(" + this.x + "," + this.y + ") scale(" + this.k + ")";
6470
6474
  }
6471
6475
  };
6472
- new Transform(1, 0, 0);
6473
6476
  Transform.prototype;
6474
6477
 
6475
6478
  /*
@@ -6647,7 +6650,7 @@ class DecidablesElement extends s {
6647
6650
  const shadows = DecidablesElement.shadows; /* eslint-disable-line prefer-destructuring */
6648
6651
 
6649
6652
  const filters = shadows.elevations.map(z => {
6650
- return y$1`
6653
+ return b`
6651
6654
  <filter id=${`shadow-${z}`} x="-250%" y="-250%" width="600%" height="600%">
6652
6655
  <feComponentTransfer in="SourceAlpha" result="solid">
6653
6656
  <feFuncA type="table" tableValues="0 1 1"/>
@@ -6655,9 +6658,9 @@ class DecidablesElement extends s {
6655
6658
  <feOffset in="solid" result="offU" dx=${shadows.mapUmbra[z].y / 2} dy=${shadows.mapUmbra[z].y} />
6656
6659
  <feOffset in="solid" result="offP" dx=${shadows.mapPenumbra[z].y / 2} dy=${shadows.mapPenumbra[z].y} />
6657
6660
  <feOffset in="solid" result="offA" dx=${shadows.mapAmbient[z].y / 2} dy=${shadows.mapAmbient[z].y} />
6658
- ${shadows.mapUmbra[z].s === 0 ? y$1`` : y$1`<feMorphology in="offU" result="spreadU" operator=${shadows.mapUmbra[z].s > 0 ? 'dilate' : 'erode'} radius=${Math.abs(shadows.mapUmbra[z].s)} />`}
6659
- ${shadows.mapPenumbra[z].s === 0 ? y$1`` : y$1`<feMorphology in="offP" result="spreadP" operator=${shadows.mapPenumbra[z].s > 0 ? 'dilate' : 'erode'} radius=${Math.abs(shadows.mapPenumbra[z].s)} />`}
6660
- ${shadows.mapAmbient[z].s === 0 ? y$1`` : y$1`<feMorphology in="offA" result="spreadA" operator=${shadows.mapAmbient[z].s > 0 ? 'dilate' : 'erode'} radius=${Math.abs(shadows.mapAmbient[z].s)} />`}
6661
+ ${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)} />`}
6662
+ ${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)} />`}
6663
+ ${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)} />`}
6661
6664
  <feGaussianBlur in=${shadows.mapUmbra[z].s === 0 ? 'offU' : 'spreadU'} result="blurU" stdDeviation=${shadows.mapUmbra[z].b / 2} />
6662
6665
  <feGaussianBlur in=${shadows.mapPenumbra[z].s === 0 ? 'offP' : 'spreadP'} result="blurP" stdDeviation=${shadows.mapPenumbra[z].b / 2} />
6663
6666
  <feGaussianBlur in=${shadows.mapAmbient[z].s === 0 ? 'offA' : 'spreadA'} result="blurA" stdDeviation=${shadows.mapAmbient[z].b / 2} />
@@ -6679,7 +6682,7 @@ class DecidablesElement extends s {
6679
6682
  </feMerge>
6680
6683
  </filter>`;
6681
6684
  });
6682
- return y$1`
6685
+ return b`
6683
6686
  <svg class="defs">
6684
6687
  <defs>
6685
6688
  ${filters}
@@ -6822,7 +6825,7 @@ class DecidablesButton extends DecidablesElement {
6822
6825
  `];
6823
6826
  }
6824
6827
  render() {
6825
- return $`
6828
+ return x$1`
6826
6829
  <button ?disabled=${this.disabled}>
6827
6830
  <slot></slot>
6828
6831
  </button>
@@ -6836,7 +6839,7 @@ customElements.define('decidables-button', DecidablesButton);
6836
6839
  * Copyright 2018 Google LLC
6837
6840
  * SPDX-License-Identifier: BSD-3-Clause
6838
6841
  */
6839
- const l = l => null != l ? l : b$1;
6842
+ const l = l => null != l ? l : A$1;
6840
6843
 
6841
6844
  class DecidablesSlider extends DecidablesElement {
6842
6845
  static get properties() {
@@ -7144,7 +7147,7 @@ class DecidablesSlider extends DecidablesElement {
7144
7147
  `];
7145
7148
  }
7146
7149
  render() {
7147
- return $`
7150
+ return x$1`
7148
7151
  <label for="slider">
7149
7152
  <slot></slot>
7150
7153
  </label>
@@ -7283,7 +7286,7 @@ class DecidablesSpinner extends DecidablesElement {
7283
7286
  `];
7284
7287
  }
7285
7288
  render() {
7286
- return $`
7289
+ return x$1`
7287
7290
  <label>
7288
7291
  <slot></slot>
7289
7292
  <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)}>
@@ -7447,7 +7450,7 @@ class DecidablesSwitch extends DecidablesElement {
7447
7450
  `];
7448
7451
  }
7449
7452
  render() {
7450
- return $`
7453
+ return x$1`
7451
7454
  <input type="checkbox" id="switch" ?checked=${this.checked} ?disabled=${this.disabled} @change=${this.changed.bind(this)}>
7452
7455
  <label for="switch">
7453
7456
  <slot name="off-label"></slot>
@@ -7497,7 +7500,7 @@ class DecidablesToggle extends DecidablesElement {
7497
7500
  `];
7498
7501
  }
7499
7502
  render() {
7500
- return $`
7503
+ return x$1`
7501
7504
  <fieldset ?disabled=${this.disabled}>
7502
7505
  <legend><slot name="label"></slot></legend>
7503
7506
  <slot></slot>
@@ -7648,7 +7651,7 @@ class DecidablesToggleOption extends DecidablesElement {
7648
7651
  `];
7649
7652
  }
7650
7653
  render() {
7651
- return $`
7654
+ return x$1`
7652
7655
  <input type="radio" id="toggle-option" name=${this.name} value=${this.value} .checked=${this.checked} @change=${this.changed.bind(this)}>
7653
7656
  <label for="toggle-option">
7654
7657
  <slot></slot>
@@ -7971,7 +7974,7 @@ class RDKTask extends DetectableElement {
7971
7974
  }
7972
7975
  render() {
7973
7976
  /* eslint-disable-line class-methods-use-this */
7974
- return $``;
7977
+ return x$1``;
7975
7978
  }
7976
7979
  getDimensions() {
7977
7980
  this.width = parseFloat(this.getComputedStyleValue('width'), 10);
@@ -8304,11 +8307,11 @@ customElements.define('rdk-task', RDKTask);
8304
8307
 
8305
8308
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
8306
8309
 
8307
- var jstatExports = {};
8308
- var jstat = {
8309
- get exports(){ return jstatExports; },
8310
- set exports(v){ jstatExports = v; },
8311
- };
8310
+ function getDefaultExportFromCjs (x) {
8311
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
8312
+ }
8313
+
8314
+ var jstat = {exports: {}};
8312
8315
 
8313
8316
  (function (module, exports) {
8314
8317
  (function (window, factory) {
@@ -12582,6 +12585,8 @@ var jstat = {
12582
12585
  return jStat;
12583
12586
  });
12584
12587
  })(jstat);
12588
+ var jstatExports = jstat.exports;
12589
+ var jStat = /*@__PURE__*/getDefaultExportFromCjs(jstatExports);
12585
12590
 
12586
12591
  /*
12587
12592
  SDTMath Static Class - Not intended for instantiation!
@@ -12701,28 +12706,28 @@ class SDTMath {
12701
12706
  return m / (m + cr);
12702
12707
  }
12703
12708
  static hrFar2D(hr, far, s = 1) {
12704
- if (s === 1) return jstatExports.normal.inv(hr, 0, 1) - jstatExports.normal.inv(far, 0, 1);
12705
- return Math.sqrt(2 / (s * s + 1)) * (s * jstatExports.normal.inv(hr, 0, 1) - jstatExports.normal.inv(far, 0, 1));
12709
+ if (s === 1) return jStat.normal.inv(hr, 0, 1) - jStat.normal.inv(far, 0, 1);
12710
+ return Math.sqrt(2 / (s * s + 1)) * (s * jStat.normal.inv(hr, 0, 1) - jStat.normal.inv(far, 0, 1));
12706
12711
  }
12707
12712
  static hrFar2C(hr, far, s = 1) {
12708
- if (s === 1) return -(jstatExports.normal.inv(hr, 0, 1) + jstatExports.normal.inv(far, 0, 1)) / 2;
12709
- return Math.sqrt(2 / (s * s + 1)) * (s / (s + 1)) * -(jstatExports.normal.inv(hr, 0, 1) + jstatExports.normal.inv(far, 0, 1));
12713
+ if (s === 1) return -(jStat.normal.inv(hr, 0, 1) + jStat.normal.inv(far, 0, 1)) / 2;
12714
+ return Math.sqrt(2 / (s * s + 1)) * (s / (s + 1)) * -(jStat.normal.inv(hr, 0, 1) + jStat.normal.inv(far, 0, 1));
12710
12715
  }
12711
12716
  static dC2Hr(d, c, s = 1) {
12712
- if (s === 1) return jstatExports.normal.cdf(d / 2 - c, 0, 1);
12713
- return jstatExports.normal.cdf(Math.sqrt((s * s + 1) / 2) * (d / (1 + s) - c / s), 0, 1);
12717
+ if (s === 1) return jStat.normal.cdf(d / 2 - c, 0, 1);
12718
+ return jStat.normal.cdf(Math.sqrt((s * s + 1) / 2) * (d / (1 + s) - c / s), 0, 1);
12714
12719
  }
12715
12720
  static dC2Far(d, c, s = 1) {
12716
- if (s === 1) return jstatExports.normal.cdf(-(d / 2 + c), 0, 1);
12717
- return jstatExports.normal.cdf(Math.sqrt((s * s + 1) / 2) * -(d / (1 + s) + c), 0, 1);
12721
+ if (s === 1) return jStat.normal.cdf(-(d / 2 + c), 0, 1);
12722
+ return jStat.normal.cdf(Math.sqrt((s * s + 1) / 2) * -(d / (1 + s) + c), 0, 1);
12718
12723
  }
12719
12724
  static dFar2Hr(d, far, s = 1) {
12720
- if (s === 1) return jstatExports.normal.cdf(d + jstatExports.normal.inv(far, 0, 1), 0, 1);
12721
- return jstatExports.normal.cdf((Math.sqrt((s * s + 1) / 2) * d + jstatExports.normal.inv(far, 0, 1)) / s, 0, 1);
12725
+ if (s === 1) return jStat.normal.cdf(d + jStat.normal.inv(far, 0, 1), 0, 1);
12726
+ return jStat.normal.cdf((Math.sqrt((s * s + 1) / 2) * d + jStat.normal.inv(far, 0, 1)) / s, 0, 1);
12722
12727
  }
12723
12728
  static cFar2Hr(c, far, s = 1) {
12724
- if (s === 1) return jstatExports.normal.cdf(-(2 * c) - jstatExports.normal.inv(far, 0, 1), 0, 1);
12725
- return jstatExports.normal.cdf(-Math.sqrt((s * s + 1) / 2) * ((s + 1) / s) * c - jstatExports.normal.inv(far, 0, 1), 0, 1);
12729
+ if (s === 1) return jStat.normal.cdf(-(2 * c) - jStat.normal.inv(far, 0, 1), 0, 1);
12730
+ return jStat.normal.cdf(-Math.sqrt((s * s + 1) / 2) * ((s + 1) / s) * c - jStat.normal.inv(far, 0, 1), 0, 1);
12726
12731
  }
12727
12732
  static d2MuN(d, s = 1) {
12728
12733
  if (s === 1) return -d / 2;
@@ -12755,16 +12760,16 @@ class SDTMath {
12755
12760
  return 1 / (h * Math.sqrt(2 * Math.PI));
12756
12761
  }
12757
12762
  static hr2Zhr(hr) {
12758
- return jstatExports.normal.inv(hr, 0, 1);
12763
+ return jStat.normal.inv(hr, 0, 1);
12759
12764
  }
12760
12765
  static far2Zfar(far) {
12761
- return jstatExports.normal.inv(far, 0, 1);
12766
+ return jStat.normal.inv(far, 0, 1);
12762
12767
  }
12763
12768
  static zhr2Hr(zhr) {
12764
- return jstatExports.normal.cdf(zhr, 0, 1);
12769
+ return jStat.normal.cdf(zhr, 0, 1);
12765
12770
  }
12766
12771
  static zfar2Far(zfar) {
12767
- return jstatExports.normal.cdf(zfar, 0, 1);
12772
+ return jStat.normal.cdf(zfar, 0, 1);
12768
12773
  }
12769
12774
  }
12770
12775
 
@@ -13108,7 +13113,7 @@ class ROCSpace extends DetectableElement {
13108
13113
  }
13109
13114
  render() {
13110
13115
  /* eslint-disable-line class-methods-use-this */
13111
- return $`
13116
+ return x$1`
13112
13117
  ${DetectableElement.svgFilters}
13113
13118
  `;
13114
13119
  }
@@ -13705,7 +13710,7 @@ class DetectableControl extends DetectableElement {
13705
13710
  reflect: true
13706
13711
  },
13707
13712
  state: {
13708
- atribute: false,
13713
+ attribute: false,
13709
13714
  type: String,
13710
13715
  reflect: false
13711
13716
  }
@@ -13839,13 +13844,13 @@ class DetectableControl extends DetectableElement {
13839
13844
  `];
13840
13845
  }
13841
13846
  render() {
13842
- return $`
13847
+ return x$1`
13843
13848
  <div class="holder">
13844
- ${this.trials ? $`<decidables-slider min="1" max="100" step="1" .value=${this.trials} @change=${this.setTrials.bind(this)} @input=${this.setTrials.bind(this)}>Trials</decidables-slider>` : $``}
13845
- ${this.duration ? $`<decidables-slider min="10" max="2000" step="10" .value=${this.duration} @change=${this.setDuration.bind(this)} @input=${this.setDuration.bind(this)}>Duration</decidables-slider>` : $``}
13846
- ${this.coherence ? $`<decidables-slider min="0" max="1" step=".01" .value=${this.coherence} @change=${this.setCoherence.bind(this)} @input=${this.setCoherence.bind(this)}>Coherence</decidables-slider>` : $``}
13847
- ${this.payoff ? $`<decidables-slider class="payoff" min="0" max="100" step="1" .value=${this.payoff} @change=${this.setPayoff.bind(this)} @input=${this.setPayoff.bind(this)}>Payoff</decidables-slider>` : $``}
13848
- ${this.color !== undefined ? $`
13849
+ ${this.trials ? x$1`<decidables-slider min="1" max="100" step="1" .value=${this.trials} @change=${this.setTrials.bind(this)} @input=${this.setTrials.bind(this)}>Trials</decidables-slider>` : x$1``}
13850
+ ${this.duration ? x$1`<decidables-slider min="10" max="2000" step="10" .value=${this.duration} @change=${this.setDuration.bind(this)} @input=${this.setDuration.bind(this)}>Duration</decidables-slider>` : x$1``}
13851
+ ${this.coherence ? x$1`<decidables-slider min="0" max="1" step=".01" .value=${this.coherence} @change=${this.setCoherence.bind(this)} @input=${this.setCoherence.bind(this)}>Coherence</decidables-slider>` : x$1``}
13852
+ ${this.payoff ? x$1`<decidables-slider class="payoff" min="0" max="100" step="1" .value=${this.payoff} @change=${this.setPayoff.bind(this)} @input=${this.setPayoff.bind(this)}>Payoff</decidables-slider>` : x$1``}
13853
+ ${this.color !== undefined ? x$1`
13849
13854
  <decidables-toggle @change=${this.chooseColor.bind(this)}>
13850
13855
  <span slot="label">Emphasis</span>
13851
13856
  <decidables-toggle-option name="toggle" value="none" ?checked=${this.color === 'none'}>None</decidables-toggle-option>
@@ -13855,20 +13860,20 @@ class DetectableControl extends DetectableElement {
13855
13860
  <decidables-toggle-option name="toggle" value="outcome" ?checked=${this.color === 'outcome'}>Outcome</decidables-toggle-option>
13856
13861
  <decidables-toggle-option name="toggle" value="all" ?checked=${this.color === 'all'}>All</decidables-toggle-option>
13857
13862
  </decidables-toggle>
13858
- ` : $``}
13859
- ${this.zRoc !== undefined ? $`
13863
+ ` : x$1``}
13864
+ ${this.zRoc !== undefined ? x$1`
13860
13865
  <decidables-switch ?checked=${this.zRoc} @change=${this.flipZRoc.bind(this)}>
13861
13866
  <span class="math-var">z</span>ROC
13862
13867
  <span slot="off-label">ROC</span>
13863
13868
  </decidables-switch>
13864
- ` : $``}
13865
- ${this.run || this.pause || this.reset ? $`
13869
+ ` : x$1``}
13870
+ ${this.run || this.pause || this.reset ? x$1`
13866
13871
  <div class="buttons">
13867
- ${this.run ? $`<decidables-button name="run" ?disabled=${this.state === 'running' || this.state === 'ended'} @click=${this.doRun.bind(this)}>Run</decidables-button>` : $``}
13868
- ${this.pause ? $`<decidables-button name="pause" ?disabled=${this.state !== 'running'} @click=${this.doPause.bind(this)}>Pause</decidables-button>` : $``}
13869
- ${this.reset ? $`<decidables-button name="reset" ?disabled=${this.state === 'resetted'} @click=${this.doReset.bind(this)}>Reset</decidables-button>` : $``}
13872
+ ${this.run ? x$1`<decidables-button name="run" ?disabled=${this.state === 'running' || this.state === 'ended'} @click=${this.doRun.bind(this)}>Run</decidables-button>` : x$1``}
13873
+ ${this.pause ? x$1`<decidables-button name="pause" ?disabled=${this.state !== 'running'} @click=${this.doPause.bind(this)}>Pause</decidables-button>` : x$1``}
13874
+ ${this.reset ? x$1`<decidables-button name="reset" ?disabled=${this.state === 'resetted'} @click=${this.doReset.bind(this)}>Reset</decidables-button>` : x$1``}
13870
13875
  </div>
13871
- ` : $``}
13876
+ ` : x$1``}
13872
13877
  </div>`;
13873
13878
  }
13874
13879
  }
@@ -14044,7 +14049,7 @@ class SDTModel extends DetectableElement {
14044
14049
  trial.duration = duration;
14045
14050
  trial.wait = wait;
14046
14051
  trial.iti = iti;
14047
- trial.evidence = jstatExports.normal.sample(0, 1);
14052
+ trial.evidence = jStat.normal.sample(0, 1);
14048
14053
  this.alignTrial(trial);
14049
14054
  this.trials.push(trial);
14050
14055
  this.requestUpdate();
@@ -14325,7 +14330,7 @@ class SDTModel extends DetectableElement {
14325
14330
  }
14326
14331
  render() {
14327
14332
  /* eslint-disable-line class-methods-use-this */
14328
- return $`
14333
+ return x$1`
14329
14334
  ${DetectableElement.svgFilters}
14330
14335
  `;
14331
14336
  }
@@ -14660,12 +14665,12 @@ class SDTModel extends DetectableElement {
14660
14665
  const correctRejections = range(xScale.domain()[0], SDTMath.c2L(element.c, element.s), 0.05).map(e => {
14661
14666
  return {
14662
14667
  e: e,
14663
- p: jstatExports.normal.pdf(e, SDTMath.d2MuN(element.d, element.s), 1)
14668
+ p: jStat.normal.pdf(e, SDTMath.d2MuN(element.d, element.s), 1)
14664
14669
  };
14665
14670
  });
14666
14671
  correctRejections.push({
14667
14672
  e: SDTMath.c2L(element.c, element.s),
14668
- p: jstatExports.normal.pdf(SDTMath.c2L(element.c, element.s), SDTMath.d2MuN(element.d, element.s), 1)
14673
+ p: jStat.normal.pdf(SDTMath.c2L(element.c, element.s), SDTMath.d2MuN(element.d, element.s), 1)
14669
14674
  });
14670
14675
  correctRejections.push({
14671
14676
  e: SDTMath.c2L(element.c, element.s),
@@ -14695,12 +14700,12 @@ class SDTModel extends DetectableElement {
14695
14700
  const falseAlarms = range(SDTMath.c2L(element.c, element.s), xScale.domain()[1], 0.05).map(e => {
14696
14701
  return {
14697
14702
  e: e,
14698
- p: jstatExports.normal.pdf(e, SDTMath.d2MuN(element.d, element.s), 1)
14703
+ p: jStat.normal.pdf(e, SDTMath.d2MuN(element.d, element.s), 1)
14699
14704
  };
14700
14705
  });
14701
14706
  falseAlarms.push({
14702
14707
  e: xScale.domain()[1],
14703
- p: jstatExports.normal.pdf(xScale.domain()[1], SDTMath.d2MuN(element.d, element.s), 1)
14708
+ p: jStat.normal.pdf(xScale.domain()[1], SDTMath.d2MuN(element.d, element.s), 1)
14704
14709
  });
14705
14710
  falseAlarms.push({
14706
14711
  e: xScale.domain()[1],
@@ -14728,12 +14733,12 @@ class SDTModel extends DetectableElement {
14728
14733
  const noise = range(xScale.domain()[0], xScale.domain()[1], 0.05).map(e => {
14729
14734
  return {
14730
14735
  e: e,
14731
- p: jstatExports.normal.pdf(e, SDTMath.d2MuN(element.d, element.s), 1)
14736
+ p: jStat.normal.pdf(e, SDTMath.d2MuN(element.d, element.s), 1)
14732
14737
  };
14733
14738
  });
14734
14739
  noise.push({
14735
14740
  e: xScale.domain()[1],
14736
- p: jstatExports.normal.pdf(xScale.domain()[1], SDTMath.d2MuN(element.d, element.s), 1)
14741
+ p: jStat.normal.pdf(xScale.domain()[1], SDTMath.d2MuN(element.d, element.s), 1)
14737
14742
  });
14738
14743
  return line$1(noise);
14739
14744
  };
@@ -14810,12 +14815,12 @@ class SDTModel extends DetectableElement {
14810
14815
  const misses = range(xScale.domain()[0], SDTMath.c2L(element.c, element.s), 0.05).map(e => {
14811
14816
  return {
14812
14817
  e: e,
14813
- p: jstatExports.normal.pdf(e, SDTMath.d2MuS(element.d, element.s), element.s)
14818
+ p: jStat.normal.pdf(e, SDTMath.d2MuS(element.d, element.s), element.s)
14814
14819
  };
14815
14820
  });
14816
14821
  misses.push({
14817
14822
  e: SDTMath.c2L(element.c, element.s),
14818
- p: jstatExports.normal.pdf(SDTMath.c2L(element.c, element.s), SDTMath.d2MuS(element.d, element.s), element.s)
14823
+ p: jStat.normal.pdf(SDTMath.c2L(element.c, element.s), SDTMath.d2MuS(element.d, element.s), element.s)
14819
14824
  });
14820
14825
  misses.push({
14821
14826
  e: SDTMath.c2L(element.c, element.s),
@@ -14845,12 +14850,12 @@ class SDTModel extends DetectableElement {
14845
14850
  const hits = range(SDTMath.c2L(element.c, element.s), xScale.domain()[1], 0.05).map(e => {
14846
14851
  return {
14847
14852
  e: e,
14848
- p: jstatExports.normal.pdf(e, SDTMath.d2MuS(element.d, element.s), element.s)
14853
+ p: jStat.normal.pdf(e, SDTMath.d2MuS(element.d, element.s), element.s)
14849
14854
  };
14850
14855
  });
14851
14856
  hits.push({
14852
14857
  e: xScale.domain()[1],
14853
- p: jstatExports.normal.pdf(xScale.domain()[1], SDTMath.d2MuS(element.d, element.s), element.s)
14858
+ p: jStat.normal.pdf(xScale.domain()[1], SDTMath.d2MuS(element.d, element.s), element.s)
14854
14859
  });
14855
14860
  hits.push({
14856
14861
  e: xScale.domain()[1],
@@ -14878,12 +14883,12 @@ class SDTModel extends DetectableElement {
14878
14883
  const signal = range(xScale.domain()[0], xScale.domain()[1], 0.05).map(e => {
14879
14884
  return {
14880
14885
  e: e,
14881
- p: jstatExports.normal.pdf(e, SDTMath.d2MuS(element.d, element.s), element.s)
14886
+ p: jStat.normal.pdf(e, SDTMath.d2MuS(element.d, element.s), element.s)
14882
14887
  };
14883
14888
  });
14884
14889
  signal.push({
14885
14890
  e: xScale.domain()[1],
14886
- p: jstatExports.normal.pdf(xScale.domain()[1], SDTMath.d2MuS(element.d, element.s), element.s)
14891
+ p: jStat.normal.pdf(xScale.domain()[1], SDTMath.d2MuS(element.d, element.s), element.s)
14887
14892
  });
14888
14893
  return line$1(signal);
14889
14894
  };
@@ -14965,13 +14970,13 @@ class SDTModel extends DetectableElement {
14965
14970
  sLabel.append('tspan').classed('value', true);
14966
14971
  // MERGE
14967
14972
  const sMerge = sEnter.merge(sUpdate);
14968
- sMerge.select('.line').transition().duration(this.drag ? 0 : transitionDuration).ease(cubicOut).attr('x1', xScale(this.muS - this.s)).attr('y1', yScale(jstatExports.normal.pdf(this.s, 0, this.s)) + 10 / this.s) // FIX - no hardcoding
14969
- .attr('x2', xScale(this.muS + this.s)).attr('y2', yScale(jstatExports.normal.pdf(this.s, 0, this.s)) + 10 / this.s); // FIX - no hardcoding
14970
- sMerge.select('.cap-left').transition().duration(this.drag ? 0 : transitionDuration).ease(cubicOut).attr('x1', xScale(this.muS - this.s)).attr('y1', yScale(jstatExports.normal.pdf(this.s, 0, this.s)) + 10 / this.s + 5) // FIX - no hardcoding
14971
- .attr('x2', xScale(this.muS - this.s)).attr('y2', yScale(jstatExports.normal.pdf(this.s, 0, this.s)) + 10 / this.s - 5); // FIX - no hardcoding
14972
- sMerge.select('.cap-right').transition().duration(this.drag ? 0 : transitionDuration).ease(cubicOut).attr('x1', xScale(this.muS + this.s)).attr('y1', yScale(jstatExports.normal.pdf(this.s, 0, this.s)) + 10 / this.s + 5) // FIX - no hardcoding
14973
- .attr('x2', xScale(this.muS + this.s)).attr('y2', yScale(jstatExports.normal.pdf(this.s, 0, this.s)) + 10 / this.s - 5); // FIX - no hardcoding
14974
- const sLabelTransition = sMerge.select('.label').transition().duration(this.drag ? 0 : transitionDuration).ease(cubicOut).attr('x', xScale(this.muS)).attr('y', yScale(jstatExports.normal.pdf(this.s, 0, this.s)) + 10 / this.s - 3); // FIX - no hardcoding
14973
+ sMerge.select('.line').transition().duration(this.drag ? 0 : transitionDuration).ease(cubicOut).attr('x1', xScale(this.muS - this.s)).attr('y1', yScale(jStat.normal.pdf(this.s, 0, this.s)) + 10 / this.s) // FIX - no hardcoding
14974
+ .attr('x2', xScale(this.muS + this.s)).attr('y2', yScale(jStat.normal.pdf(this.s, 0, this.s)) + 10 / this.s); // FIX - no hardcoding
14975
+ sMerge.select('.cap-left').transition().duration(this.drag ? 0 : transitionDuration).ease(cubicOut).attr('x1', xScale(this.muS - this.s)).attr('y1', yScale(jStat.normal.pdf(this.s, 0, this.s)) + 10 / this.s + 5) // FIX - no hardcoding
14976
+ .attr('x2', xScale(this.muS - this.s)).attr('y2', yScale(jStat.normal.pdf(this.s, 0, this.s)) + 10 / this.s - 5); // FIX - no hardcoding
14977
+ sMerge.select('.cap-right').transition().duration(this.drag ? 0 : transitionDuration).ease(cubicOut).attr('x1', xScale(this.muS + this.s)).attr('y1', yScale(jStat.normal.pdf(this.s, 0, this.s)) + 10 / this.s + 5) // FIX - no hardcoding
14978
+ .attr('x2', xScale(this.muS + this.s)).attr('y2', yScale(jStat.normal.pdf(this.s, 0, this.s)) + 10 / this.s - 5); // FIX - no hardcoding
14979
+ const sLabelTransition = sMerge.select('.label').transition().duration(this.drag ? 0 : transitionDuration).ease(cubicOut).attr('x', xScale(this.muS)).attr('y', yScale(jStat.normal.pdf(this.s, 0, this.s)) + 10 / this.s - 3); // FIX - no hardcoding
14975
14980
  sLabelTransition.select('.value').tween('text', (datum, index, elements) => {
14976
14981
  const element = elements[index];
14977
14982
  const interpolateS = interpolate$1(element.s !== undefined ? element.s : this.s, this.s);
@@ -15581,28 +15586,28 @@ class DetectableResponse extends DetectableElement {
15581
15586
  return string + part;
15582
15587
  });
15583
15588
  };
15584
- return $`
15589
+ return x$1`
15585
15590
  <div class="holder">
15586
15591
  <div class="responses">
15587
15592
  <decidables-button name="present" class=${this.state === 'feedback' && this.response === 'present' ? 'selected' : this.state === 'waiting' ? 'waiting' : ''} ?disabled=${this.state !== 'waiting' || this.interactive !== true} @click=${this.present.bind(this)}>Present</decidables-button>
15588
15593
  <decidables-button name="absent" class=${this.state === 'feedback' && this.response === 'absent' ? 'selected' : this.state === 'waiting' ? 'waiting' : ''} ?disabled=${this.state !== 'waiting' || this.interactive !== true} @click=${this.absent.bind(this)}>Absent</decidables-button>
15589
15594
  </div>
15590
- ${this.trial || this.feedback !== 'none' || this.payoff === 'total' ? $`
15595
+ ${this.trial || this.feedback !== 'none' || this.payoff === 'total' ? x$1`
15591
15596
  <div class="feedbacks">
15592
- ${this.trial ? $`
15597
+ ${this.trial ? x$1`
15593
15598
  <div class="trial">
15594
15599
  <span class="label">Trial: </span><span class="count">${this.trialCount}</span><span class="of"> of </span><span class="total">${this.trialTotal}</span>
15595
- </div>` : $``}
15596
- ${this.feedback !== 'none' ? $`
15600
+ </div>` : x$1``}
15601
+ ${this.feedback !== 'none' ? x$1`
15597
15602
  <div class=${`feedback ${this.state === 'feedback' ? this.feedback === 'outcome' ? this.outcome : this.accuracy : ''}`}>
15598
- ${this.state === 'feedback' ? this.feedback === 'outcome' ? this.outcome === 'h' ? $`<span class="outcome">Hit</span>` : this.outcome === 'm' ? $`<span class="outcome">Miss</span>` : this.outcome === 'fa' ? $`<span class="outcome">False<br>Alarm</span>` : this.outcome === 'cr' ? $`<span class="outcome">Correct<br>Rejection</span>` : $`<span class="outcome">No<br>Response</span>` : this.accuracy === 'c' ? $`<span class="outcome">Correct</span>` : this.accuracy === 'e' ? $`<span class="outcome">Error</span>` : $`<span class="outcome">No<br>Response</span>` : ''}
15599
- ${this.state === 'feedback' && (this.payoff === 'trial' || this.payoff === 'total') ? $`<span class="payoff">${payoffFormat(this.trialPayoff)}</span>` : $``}
15600
- </div>` : $``}
15601
- ${this.payoff === 'total' ? $`
15603
+ ${this.state === 'feedback' ? this.feedback === 'outcome' ? this.outcome === 'h' ? x$1`<span class="outcome">Hit</span>` : this.outcome === 'm' ? x$1`<span class="outcome">Miss</span>` : this.outcome === 'fa' ? x$1`<span class="outcome">False<br>Alarm</span>` : this.outcome === 'cr' ? x$1`<span class="outcome">Correct<br>Rejection</span>` : x$1`<span class="outcome">No<br>Response</span>` : this.accuracy === 'c' ? x$1`<span class="outcome">Correct</span>` : this.accuracy === 'e' ? x$1`<span class="outcome">Error</span>` : x$1`<span class="outcome">No<br>Response</span>` : ''}
15604
+ ${this.state === 'feedback' && (this.payoff === 'trial' || this.payoff === 'total') ? x$1`<span class="payoff">${payoffFormat(this.trialPayoff)}</span>` : x$1``}
15605
+ </div>` : x$1``}
15606
+ ${this.payoff === 'total' ? x$1`
15602
15607
  <div class="total">
15603
15608
  <span class="label">Total: </span><span class="value">${payoffFormat(this.totalPayoff)}</span>
15604
- </div>` : $``}
15605
- </div>` : $``}
15609
+ </div>` : x$1``}
15610
+ </div>` : x$1``}
15606
15611
  </div>`;
15607
15612
  }
15608
15613
  }
@@ -16049,71 +16054,71 @@ class DetectableTable extends DetectableElement {
16049
16054
  let ppv;
16050
16055
  let fomr;
16051
16056
  if (this.numeric) {
16052
- h = $`
16057
+ h = x$1`
16053
16058
  <decidables-spinner ?disabled=${!this.interactive} min="0" .value="${this.h}" @input=${this.hInput.bind(this)}>
16054
16059
  <span>Hits</span>
16055
- ${this.payoff ? $`<span class="payoff">${payoffFormat(this.hPayoff)}</span>` : $``}
16060
+ ${this.payoff ? x$1`<span class="payoff">${payoffFormat(this.hPayoff)}</span>` : x$1``}
16056
16061
  </decidables-spinner>
16057
16062
  `;
16058
- m = $`
16063
+ m = x$1`
16059
16064
  <decidables-spinner ?disabled=${!this.interactive} min="0" .value="${this.m}" @input=${this.mInput.bind(this)}>
16060
16065
  <span>Misses</span>
16061
- ${this.payoff ? $`<span class="payoff">${payoffFormat(this.mPayoff)}</span>` : $``}
16066
+ ${this.payoff ? x$1`<span class="payoff">${payoffFormat(this.mPayoff)}</span>` : x$1``}
16062
16067
  </decidables-spinner>
16063
16068
  `;
16064
- fa = $`
16069
+ fa = x$1`
16065
16070
  <decidables-spinner ?disabled=${!this.interactive} min="0" .value="${this.fa}" @input=${this.faInput.bind(this)}>
16066
16071
  <span>False Alarms</span>
16067
- ${this.payoff ? $`<span class="payoff">${payoffFormat(this.faPayoff)}</span>` : $``}
16072
+ ${this.payoff ? x$1`<span class="payoff">${payoffFormat(this.faPayoff)}</span>` : x$1``}
16068
16073
  </decidables-spinner>
16069
16074
  `;
16070
- cr = $`
16075
+ cr = x$1`
16071
16076
  <decidables-spinner ?disabled=${!this.interactive} min="0" .value="${this.cr}" @input=${this.crInput.bind(this)}>
16072
16077
  <span>Correct Rejections</span>
16073
- ${this.payoff ? $`<span class="payoff">${payoffFormat(this.crPayoff)}</span>` : $``}
16078
+ ${this.payoff ? x$1`<span class="payoff">${payoffFormat(this.crPayoff)}</span>` : x$1``}
16074
16079
  </decidables-spinner>
16075
16080
  `;
16076
- hr = $`
16081
+ hr = x$1`
16077
16082
  <decidables-spinner ?disabled=${!this.interactive} min="0" max="1" step=".001" .value="${+this.hr.toFixed(3)}" @input=${this.hrInput.bind(this)}>
16078
16083
  <span>Hit Rate</span>
16079
16084
  </decidables-spinner>
16080
16085
  `;
16081
- far = $`
16086
+ far = x$1`
16082
16087
  <decidables-spinner ?disabled=${!this.interactive} min="0" max="1" step=".001" .value="${+this.far.toFixed(3)}" @input=${this.farInput.bind(this)}>
16083
16088
  <span>False Alarm Rate</span>
16084
16089
  </decidables-spinner>
16085
16090
  `;
16086
- acc = $`
16091
+ acc = x$1`
16087
16092
  <decidables-spinner ?disabled=${!this.interactive} min="0" max="1" step=".001" .value="${+this.acc.toFixed(3)}" @input=${this.accInput.bind(this)}>
16088
16093
  <span>Accuracy</span>
16089
16094
  </decidables-spinner>
16090
16095
  `;
16091
- ppv = $`
16096
+ ppv = x$1`
16092
16097
  <decidables-spinner ?disabled=${!this.interactive} min="0" max="1" step=".001" .value="${+this.ppv.toFixed(3)}" @input=${this.ppvInput.bind(this)}>
16093
16098
  <span>Positive Predictive Value</span>
16094
16099
  </decidables-spinner>
16095
16100
  `;
16096
- fomr = $`
16101
+ fomr = x$1`
16097
16102
  <decidables-spinner ?disabled=${!this.interactive} min="0" max="1" step=".001" .value="${+this.fomr.toFixed(3)}" @input=${this.fomrInput.bind(this)}>
16098
16103
  <span>False Omission Rate</span>
16099
16104
  </decidables-spinner>
16100
16105
  `;
16101
16106
  } else {
16102
- h = $`<span>Hits</span>
16103
- ${this.payoff ? $`<span class="payoff">${payoffFormat(this.hPayoff)}</span>` : $``}`;
16104
- m = $`<span>Misses</span>
16105
- ${this.payoff ? $`<span class="payoff">${payoffFormat(this.mPayoff)}</span>` : $``}`;
16106
- fa = $`<span>False Alarms</span>
16107
- ${this.payoff ? $`<span class="payoff">${payoffFormat(this.faPayoff)}</span>` : $``}`;
16108
- cr = $`<span>Correct Rejections</span>
16109
- ${this.payoff ? $`<span class="payoff">${payoffFormat(this.crPayoff)}</span>` : $``}`;
16110
- hr = $`<span>Hit Rate</span>`;
16111
- far = $`<span>False Alarm Rate</span>`;
16112
- acc = $`<span>Accuracy</span>`;
16113
- ppv = $`<span>Positive Predictive Value</span>`;
16114
- fomr = $`<span>False Omission Rate</span>`;
16107
+ h = x$1`<span>Hits</span>
16108
+ ${this.payoff ? x$1`<span class="payoff">${payoffFormat(this.hPayoff)}</span>` : x$1``}`;
16109
+ m = x$1`<span>Misses</span>
16110
+ ${this.payoff ? x$1`<span class="payoff">${payoffFormat(this.mPayoff)}</span>` : x$1``}`;
16111
+ fa = x$1`<span>False Alarms</span>
16112
+ ${this.payoff ? x$1`<span class="payoff">${payoffFormat(this.faPayoff)}</span>` : x$1``}`;
16113
+ cr = x$1`<span>Correct Rejections</span>
16114
+ ${this.payoff ? x$1`<span class="payoff">${payoffFormat(this.crPayoff)}</span>` : x$1``}`;
16115
+ hr = x$1`<span>Hit Rate</span>`;
16116
+ far = x$1`<span>False Alarm Rate</span>`;
16117
+ acc = x$1`<span>Accuracy</span>`;
16118
+ ppv = x$1`<span>Positive Predictive Value</span>`;
16119
+ fomr = x$1`<span>False Omission Rate</span>`;
16115
16120
  }
16116
- return $`
16121
+ return x$1`
16117
16122
  <table class=${this.numeric ? 'numeric' : ''}>
16118
16123
  <thead>
16119
16124
  <tr>
@@ -16145,10 +16150,10 @@ class DetectableTable extends DetectableElement {
16145
16150
  <td class="td td-data m">
16146
16151
  ${m}
16147
16152
  </td>
16148
- ${this.summary.has('stimulusRates') ? $`
16153
+ ${this.summary.has('stimulusRates') ? x$1`
16149
16154
  <td class="td td-summary hr">
16150
16155
  ${hr}
16151
- </td>` : $``}
16156
+ </td>` : x$1``}
16152
16157
  </tr>
16153
16158
  <tr>
16154
16159
  <th class="th th-sub th-left" scope="row">
@@ -16160,27 +16165,27 @@ class DetectableTable extends DetectableElement {
16160
16165
  <td class="td td-data cr">
16161
16166
  ${cr}
16162
16167
  </td>
16163
- ${this.summary.has('stimulusRates') ? $`
16168
+ ${this.summary.has('stimulusRates') ? x$1`
16164
16169
  <td class="td td-summary far">
16165
16170
  ${far}
16166
- </td>` : $``}
16171
+ </td>` : x$1``}
16167
16172
  </tr>
16168
- ${this.summary.has('responseRates') || this.summary.has('accuracy') ? $`
16173
+ ${this.summary.has('responseRates') || this.summary.has('accuracy') ? x$1`
16169
16174
  <tr>
16170
16175
  <td colspan="2"></td>
16171
- ${this.summary.has('responseRates') ? $`
16176
+ ${this.summary.has('responseRates') ? x$1`
16172
16177
  <td class="td td-summary ppv">
16173
16178
  ${ppv}
16174
16179
  </td>
16175
16180
  <td class="td td-summary fomr">
16176
16181
  ${fomr}
16177
- </td>` : $`
16182
+ </td>` : x$1`
16178
16183
  <td colspan="2"></td>`}
16179
- ${this.summary.has('accuracy') ? $`
16184
+ ${this.summary.has('accuracy') ? x$1`
16180
16185
  <td class="td td-summary acc" rowspan="2">
16181
16186
  ${acc}
16182
- </td>` : $``}
16183
- </tr>` : $``}
16187
+ </td>` : x$1``}
16188
+ </tr>` : x$1``}
16184
16189
  </tbody>
16185
16190
  </table>`;
16186
16191
  }
@@ -16415,35 +16420,35 @@ class SDTEquationDC2Far extends SDTEquation {
16415
16420
  let s;
16416
16421
  let far;
16417
16422
  if (this.numeric) {
16418
- d = $`
16423
+ d = x$1`
16419
16424
  <decidables-spinner class="d bottom" ?disabled=${!this.interactive} step=".001" .value="${this.d}" @input=${this.dInput.bind(this)}>
16420
16425
  <var class="math-var">d′</var>
16421
16426
  </decidables-spinner>
16422
16427
  `;
16423
- c = $`
16428
+ c = x$1`
16424
16429
  <decidables-spinner class="c bottom" ?disabled=${!this.interactive} step=".001" .value="${this.c}" @input=${this.cInput.bind(this)}>
16425
16430
  <var class="math-var">c</var>
16426
16431
  </decidables-spinner>
16427
16432
  `;
16428
- s = $`
16433
+ s = x$1`
16429
16434
  <decidables-spinner class="s bottom" ?disabled=${!this.interactive} min="0" step=".001" .value="${this.s}" @input=${this.sInput.bind(this)}>
16430
16435
  <var class="math-var">σ</var>
16431
16436
  </decidables-spinner>
16432
16437
  `;
16433
- far = $`
16438
+ far = x$1`
16434
16439
  <decidables-spinner class="far bottom" disabled min="0" max="1" step=".001" .value="${+this.far.toFixed(3)}">
16435
16440
  <var>False Alarm Rate</var>
16436
16441
  </decidables-spinner>
16437
16442
  `;
16438
16443
  } else {
16439
- d = $`<var class="math-var d">d′</var>`;
16440
- c = $`<var class="math-var c">c</var>`;
16441
- s = $`<var class="math-var s">σ</var>`;
16442
- far = $`<var class="far">False Alarm Rate</var>`;
16444
+ d = x$1`<var class="math-var d">d′</var>`;
16445
+ c = x$1`<var class="math-var c">c</var>`;
16446
+ s = x$1`<var class="math-var s">σ</var>`;
16447
+ far = x$1`<var class="far">False Alarm Rate</var>`;
16443
16448
  }
16444
16449
  let equation;
16445
16450
  if (this.unequal) {
16446
- equation = $`
16451
+ equation = x$1`
16447
16452
  <tr>
16448
16453
  <td rowspan="2">
16449
16454
  ${far}<span class="equals">=</span><var class="math-greek phi tight">Φ</var><span class="paren tight">(</span><span class="bracket tight">[</span>
@@ -16470,7 +16475,7 @@ class SDTEquationDC2Far extends SDTEquation {
16470
16475
  </td>
16471
16476
  </tr>`;
16472
16477
  } else {
16473
- equation = $`
16478
+ equation = x$1`
16474
16479
  <tr>
16475
16480
  <td rowspan="2">
16476
16481
  ${far}<span class="equals">=</span><var class="math-greek phi tight">Φ</var><span class="paren tight">(</span><span class="minus tight">−</span>
@@ -16488,7 +16493,7 @@ class SDTEquationDC2Far extends SDTEquation {
16488
16493
  </td>
16489
16494
  </tr>`;
16490
16495
  }
16491
- return $`
16496
+ return x$1`
16492
16497
  <div class="holder">
16493
16498
  <table class="equation">
16494
16499
  <tbody>
@@ -16581,35 +16586,35 @@ class SDTEquationDC2Hr extends SDTEquation {
16581
16586
  let s;
16582
16587
  let hr;
16583
16588
  if (this.numeric) {
16584
- d = $`
16589
+ d = x$1`
16585
16590
  <decidables-spinner class="d bottom" ?disabled=${!this.interactive} step=".001" .value="${this.d}" @input=${this.dInput.bind(this)}>
16586
16591
  <var class="math-var">d′</var>
16587
16592
  </decidables-spinner>
16588
16593
  `;
16589
- c = $`
16594
+ c = x$1`
16590
16595
  <decidables-spinner class="c bottom" ?disabled=${!this.interactive} step=".001" .value="${this.c}" @input=${this.cInput.bind(this)}>
16591
16596
  <var class="math-var">c</var>
16592
16597
  </decidables-spinner>
16593
16598
  `;
16594
- s = $`
16599
+ s = x$1`
16595
16600
  <decidables-spinner class="s bottom" ?disabled=${!this.interactive} min="0" step=".001" .value="${this.s}" @input=${this.sInput.bind(this)}>
16596
16601
  <var class="math-var">σ</var>
16597
16602
  </decidables-spinner>
16598
16603
  `;
16599
- hr = $`
16604
+ hr = x$1`
16600
16605
  <decidables-spinner class="hr bottom" disabled min="0" max="1" step=".001" .value="${+this.hr.toFixed(3)}">
16601
16606
  <var>Hit Rate</var>
16602
16607
  </decidables-spinner>
16603
16608
  `;
16604
16609
  } else {
16605
- d = $`<var class="math-var d">d′</var>`;
16606
- c = $`<var class="math-var c">c</var>`;
16607
- s = $`<var class="math-var s">σ</var>`;
16608
- hr = $`<var class="hr">Hit Rate</var>`;
16610
+ d = x$1`<var class="math-var d">d′</var>`;
16611
+ c = x$1`<var class="math-var c">c</var>`;
16612
+ s = x$1`<var class="math-var s">σ</var>`;
16613
+ hr = x$1`<var class="hr">Hit Rate</var>`;
16609
16614
  }
16610
16615
  let equation;
16611
16616
  if (this.unequal) {
16612
- equation = $`
16617
+ equation = x$1`
16613
16618
  <tr>
16614
16619
  <td rowspan="2">
16615
16620
  ${hr}<span class="equals">=</span><var class="math-greek phi tight">Φ</var><span class="paren tight">(</span><span class="bracket tight">[</span>
@@ -16645,7 +16650,7 @@ class SDTEquationDC2Hr extends SDTEquation {
16645
16650
  </td>
16646
16651
  </tr>`;
16647
16652
  } else {
16648
- equation = $`
16653
+ equation = x$1`
16649
16654
  <tr>
16650
16655
  <td rowspan="2">
16651
16656
  ${hr}<span class="equals">=</span><var class="math-greek phi tight">Φ</var><span class="paren tight">(</span>
@@ -16663,7 +16668,7 @@ class SDTEquationDC2Hr extends SDTEquation {
16663
16668
  </td>
16664
16669
  </tr>`;
16665
16670
  }
16666
- return $`
16671
+ return x$1`
16667
16672
  <div class="holder">
16668
16673
  <table class="equation">
16669
16674
  <tbody>
@@ -16737,27 +16742,27 @@ class SDTEquationFaCr2Far extends SDTEquation {
16737
16742
  let cr;
16738
16743
  let far;
16739
16744
  if (this.numeric) {
16740
- fa = $`
16745
+ fa = x$1`
16741
16746
  <decidables-spinner class="fa" ?disabled=${!this.interactive} min="0" .value="${this.fa}" @input=${this.faInput.bind(this)}>
16742
16747
  <var>False Alarms</var>
16743
16748
  </decidables-spinner>
16744
16749
  `;
16745
- cr = $`
16750
+ cr = x$1`
16746
16751
  <decidables-spinner class="cr" ?disabled=${!this.interactive} min="0" .value="${this.cr}" @input=${this.crInput.bind(this)}>
16747
16752
  <var>Correct Rejections</var>
16748
16753
  </decidables-spinner>
16749
16754
  `;
16750
- far = $`
16755
+ far = x$1`
16751
16756
  <decidables-spinner class="far" disabled min="0" max="1" step=".001" .value="${+this.far.toFixed(3)}">
16752
16757
  <var>False Alarm Rate</var>
16753
16758
  </decidables-spinner>
16754
16759
  `;
16755
16760
  } else {
16756
- fa = $`<var class="fa">False Alarms</var>`;
16757
- cr = $`<var class="cr">Correct Rejections</var>`;
16758
- far = $`<var class="far">False Alarm Rate</var>`;
16761
+ fa = x$1`<var class="fa">False Alarms</var>`;
16762
+ cr = x$1`<var class="cr">Correct Rejections</var>`;
16763
+ far = x$1`<var class="far">False Alarm Rate</var>`;
16759
16764
  }
16760
- return $`
16765
+ return x$1`
16761
16766
  <div class="holder">
16762
16767
  <table class="equation">
16763
16768
  <tbody>
@@ -16843,27 +16848,27 @@ class SDTEquationHFa2Ppv extends SDTEquation {
16843
16848
  let fa;
16844
16849
  let ppv;
16845
16850
  if (this.numeric) {
16846
- h = $`
16851
+ h = x$1`
16847
16852
  <decidables-spinner class="h" ?disabled=${!this.interactive} min="0" .value="${this.h}" @input=${this.hInput.bind(this)}>
16848
16853
  <var>Hits</var>
16849
16854
  </decidables-spinner>
16850
16855
  `;
16851
- fa = $`
16856
+ fa = x$1`
16852
16857
  <decidables-spinner class="fa" ?disabled=${!this.interactive} min="0" .value="${this.fa}" @input=${this.faInput.bind(this)}>
16853
16858
  <var>False Alarms</var>
16854
16859
  </decidables-spinner>
16855
16860
  `;
16856
- ppv = $`
16861
+ ppv = x$1`
16857
16862
  <decidables-spinner class="ppv" disabled min="0" max="1" step=".001" .value="${+this.ppv.toFixed(3)}">
16858
16863
  <var>Positive Predictive Value</var>
16859
16864
  </decidables-spinner>
16860
16865
  `;
16861
16866
  } else {
16862
- h = $`<var class="h">Hits</var>`;
16863
- fa = $`<var class="fa">False Alarms</var>`;
16864
- ppv = $`<var class="ppv">Positive Predictive Value</var>`;
16867
+ h = x$1`<var class="h">Hits</var>`;
16868
+ fa = x$1`<var class="fa">False Alarms</var>`;
16869
+ ppv = x$1`<var class="ppv">Positive Predictive Value</var>`;
16865
16870
  }
16866
- return $`
16871
+ return x$1`
16867
16872
  <div class="holder">
16868
16873
  <table class="equation">
16869
16874
  <tbody>
@@ -16950,27 +16955,27 @@ class SDTEquationHM2Hr extends SDTEquation {
16950
16955
  let m;
16951
16956
  let hr;
16952
16957
  if (this.numeric) {
16953
- h = $`
16958
+ h = x$1`
16954
16959
  <decidables-spinner class="h" ?disabled=${!this.interactive} min="0" .value="${this.h}" @input=${this.hInput.bind(this)}>
16955
16960
  <var>Hits</var>
16956
16961
  </decidables-spinner>
16957
16962
  `;
16958
- m = $`
16963
+ m = x$1`
16959
16964
  <decidables-spinner class="m" ?disabled=${!this.interactive} min="0" .value="${this.m}" @input=${this.mInput.bind(this)}>
16960
16965
  <var>Misses</var>
16961
16966
  </decidables-spinner>
16962
16967
  `;
16963
- hr = $`
16968
+ hr = x$1`
16964
16969
  <decidables-spinner class="hr" disabled min="0" max="1" step=".001" .value="${+this.hr.toFixed(3)}">
16965
16970
  <var>Hit Rate</var>
16966
16971
  </decidables-spinner>
16967
16972
  `;
16968
16973
  } else {
16969
- h = $`<var class="h">Hits</var>`;
16970
- m = $`<var class="m">Misses</var>`;
16971
- hr = $`<var class="hr">Hit Rate</var>`;
16974
+ h = x$1`<var class="h">Hits</var>`;
16975
+ m = x$1`<var class="m">Misses</var>`;
16976
+ hr = x$1`<var class="hr">Hit Rate</var>`;
16972
16977
  }
16973
- return $`
16978
+ return x$1`
16974
16979
  <div class="holder">
16975
16980
  <table class="equation">
16976
16981
  <tbody>
@@ -17083,39 +17088,39 @@ class SDTEquationHMFaCr2Acc extends SDTEquation {
17083
17088
  let cr;
17084
17089
  let acc;
17085
17090
  if (this.numeric) {
17086
- h = $`
17091
+ h = x$1`
17087
17092
  <decidables-spinner class="h" ?disabled=${!this.interactive} min="0" .value="${this.h}" @input=${this.hInput.bind(this)}>
17088
17093
  <var>Hits</var>
17089
17094
  </decidables-spinner>
17090
17095
  `;
17091
- m = $`
17096
+ m = x$1`
17092
17097
  <decidables-spinner class="m" ?disabled=${!this.interactive} min="0" .value="${this.m}" @input=${this.mInput.bind(this)}>
17093
17098
  <var>Misses</var>
17094
17099
  </decidables-spinner>
17095
17100
  `;
17096
- fa = $`
17101
+ fa = x$1`
17097
17102
  <decidables-spinner class="fa" ?disabled=${!this.interactive} min="0" .value="${this.fa}" @input=${this.faInput.bind(this)}>
17098
17103
  <var>False Alarms</var>
17099
17104
  </decidables-spinner>
17100
17105
  `;
17101
- cr = $`
17106
+ cr = x$1`
17102
17107
  <decidables-spinner class="cr" ?disabled=${!this.interactive} min="0" .value="${this.cr}" @input=${this.crInput.bind(this)}>
17103
17108
  <var>Correct Rejections</var>
17104
17109
  </decidables-spinner>
17105
17110
  `;
17106
- acc = $`
17111
+ acc = x$1`
17107
17112
  <decidables-spinner class="acc" disabled min="0" max="1" step=".001" .value="${+this.acc.toFixed(3)}">
17108
17113
  <var>Accuracy</var>
17109
17114
  </decidables-spinner>
17110
17115
  `;
17111
17116
  } else {
17112
- h = $`<var class="h">Hits</var>`;
17113
- m = $`<var class="m">Misses</var>`;
17114
- fa = $`<var class="fa">False Alarms</var>`;
17115
- cr = $`<var class="cr">Correct Rejections</var>`;
17116
- acc = $`<var class="acc">Accuracy</var>`;
17117
+ h = x$1`<var class="h">Hits</var>`;
17118
+ m = x$1`<var class="m">Misses</var>`;
17119
+ fa = x$1`<var class="fa">False Alarms</var>`;
17120
+ cr = x$1`<var class="cr">Correct Rejections</var>`;
17121
+ acc = x$1`<var class="acc">Accuracy</var>`;
17117
17122
  }
17118
- return $`
17123
+ return x$1`
17119
17124
  <div class="holder">
17120
17125
  <table class="equation">
17121
17126
  <tbody>
@@ -17220,35 +17225,35 @@ class SDTEquationHrFar2C extends SDTEquation {
17220
17225
  let s;
17221
17226
  let c;
17222
17227
  if (this.numeric) {
17223
- hr = $`
17228
+ hr = x$1`
17224
17229
  <decidables-spinner class="hr bottom" ?disabled=${!this.interactive} min="0" max="1" step=".001" .value="${this.hr}" @input=${this.hrInput.bind(this)}>
17225
17230
  <var>Hit Rate</var>
17226
17231
  </decidables-spinner>
17227
17232
  `;
17228
- far = $`
17233
+ far = x$1`
17229
17234
  <decidables-spinner class="far bottom" ?disabled=${!this.interactive} min="0" max="1" step=".001" .value="${this.far}" @input=${this.farInput.bind(this)}>
17230
17235
  <var>False Alarm Rate</var>
17231
17236
  </decidables-spinner>
17232
17237
  `;
17233
- s = $`
17238
+ s = x$1`
17234
17239
  <decidables-spinner class="s bottom" ?disabled=${!this.interactive} min="0" step=".001" .value="${this.s}" @input=${this.sInput.bind(this)}>
17235
17240
  <var class="math-var">σ</var>
17236
17241
  </decidables-spinner>
17237
17242
  `;
17238
- c = $`
17243
+ c = x$1`
17239
17244
  <decidables-spinner class="c bottom" disabled step=".001" .value="${+this.c.toFixed(3)}">
17240
17245
  <var class="math-var">c</var>
17241
17246
  </decidables-spinner>
17242
17247
  `;
17243
17248
  } else {
17244
- hr = $`<var class="hr">Hit Rate</var>`;
17245
- far = $`<var class="far">False Alarm Rate</var>`;
17246
- s = $`<var class="math-var s">σ</var>`;
17247
- c = $`<var class="math-var c">c</var>`;
17249
+ hr = x$1`<var class="hr">Hit Rate</var>`;
17250
+ far = x$1`<var class="far">False Alarm Rate</var>`;
17251
+ s = x$1`<var class="math-var s">σ</var>`;
17252
+ c = x$1`<var class="math-var c">c</var>`;
17248
17253
  }
17249
17254
  let equation;
17250
17255
  if (this.unequal) {
17251
- equation = $`
17256
+ equation = x$1`
17252
17257
  <tr>
17253
17258
  <td rowspan="2">
17254
17259
  ${c}<span class="equals">=</span><span class="bracket tight">(</span>
@@ -17275,7 +17280,7 @@ class SDTEquationHrFar2C extends SDTEquation {
17275
17280
  </td>
17276
17281
  </tr>`;
17277
17282
  } else {
17278
- equation = $`
17283
+ equation = x$1`
17279
17284
  <tr>
17280
17285
  <td rowspan="2">
17281
17286
  ${c}<span class="equals">=</span>
@@ -17290,7 +17295,7 @@ class SDTEquationHrFar2C extends SDTEquation {
17290
17295
  </td>
17291
17296
  </tr>`;
17292
17297
  }
17293
- return $`
17298
+ return x$1`
17294
17299
  <div class="holder">
17295
17300
  <table class="equation">
17296
17301
  <tbody>
@@ -17383,35 +17388,35 @@ class SDTEquationHrFar2D extends SDTEquation {
17383
17388
  let s;
17384
17389
  let d;
17385
17390
  if (this.numeric) {
17386
- hr = $`
17391
+ hr = x$1`
17387
17392
  <decidables-spinner class="hr bottom" ?disabled=${!this.interactive} min="0" max="1" step=".001" .value="${this.hr}" @input=${this.hrInput.bind(this)}>
17388
17393
  <var>Hit Rate</var>
17389
17394
  </decidables-spinner>
17390
17395
  `;
17391
- far = $`
17396
+ far = x$1`
17392
17397
  <decidables-spinner class="far bottom" ?disabled=${!this.interactive} min="0" max="1" step=".001" .value="${this.far}" @input=${this.farInput.bind(this)}>
17393
17398
  <var>False Alarm Rate</var>
17394
17399
  </decidables-spinner>
17395
17400
  `;
17396
- s = $`
17401
+ s = x$1`
17397
17402
  <decidables-spinner class="s bottom" ?disabled=${!this.interactive} min="0" step=".001" .value="${this.s}" @input=${this.sInput.bind(this)}>
17398
17403
  <var class="math-var">σ</var>
17399
17404
  </decidables-spinner>
17400
17405
  `;
17401
- d = $`
17406
+ d = x$1`
17402
17407
  <decidables-spinner class="d bottom" disabled step=".001" .value="${+this.d.toFixed(3)}">
17403
17408
  <var class="math-var">d′</var>
17404
17409
  </decidables-spinner>
17405
17410
  `;
17406
17411
  } else {
17407
- hr = $`<var class="hr">Hit Rate</var>`;
17408
- far = $`<var class="far">False Alarm Rate</var>`;
17409
- s = $`<var class="math-var s">σ</var>`;
17410
- d = $`<var class="math-var d">d′</var>`;
17412
+ hr = x$1`<var class="hr">Hit Rate</var>`;
17413
+ far = x$1`<var class="far">False Alarm Rate</var>`;
17414
+ s = x$1`<var class="math-var s">σ</var>`;
17415
+ d = x$1`<var class="math-var d">d′</var>`;
17411
17416
  }
17412
17417
  let equation;
17413
17418
  if (this.unequal) {
17414
- equation = $`
17419
+ equation = x$1`
17415
17420
  <tr>
17416
17421
  <td rowspan="2">
17417
17422
  ${d}<span class="equals">=</span><span class="bracket tight">(</span>
@@ -17429,14 +17434,14 @@ class SDTEquationHrFar2D extends SDTEquation {
17429
17434
  </td>
17430
17435
  </tr>`;
17431
17436
  } else {
17432
- equation = $`
17437
+ equation = x$1`
17433
17438
  <tr>
17434
17439
  <td>
17435
17440
  ${d}<span class="equals">=</span><span class="tight"><var class="math-greek phi tight">Φ</var><sup class="exp">−1</sup></span><span class="paren tight">(</span>${hr}<span class="paren tight">)</span><span class="minus">−</span><span class="tight"><var class="math-greek phi tight">Φ</var><sup class="exp">−1</sup></span><span class="paren tight">(</span>${far}<span class="paren tight">)</span>
17436
17441
  </td>
17437
17442
  </tr>`;
17438
17443
  }
17439
- return $`
17444
+ return x$1`
17440
17445
  <div class="holder">
17441
17446
  <table class="equation">
17442
17447
  <tbody>
@@ -17510,27 +17515,27 @@ class SDTEquationMCr2Fomr extends SDTEquation {
17510
17515
  let cr;
17511
17516
  let fomr;
17512
17517
  if (this.numeric) {
17513
- m = $`
17518
+ m = x$1`
17514
17519
  <decidables-spinner class="m" ?disabled=${!this.interactive} min="0" .value="${this.m}" @input=${this.mInput.bind(this)}>
17515
17520
  <var>Misses</var>
17516
17521
  </decidables-spinner>
17517
17522
  `;
17518
- cr = $`
17523
+ cr = x$1`
17519
17524
  <decidables-spinner class="cr" ?disabled=${!this.interactive} min="0" .value="${this.cr}" @input=${this.crInput.bind(this)}>
17520
17525
  <var>Correct Rejections</var>
17521
17526
  </decidables-spinner>
17522
17527
  `;
17523
- fomr = $`
17528
+ fomr = x$1`
17524
17529
  <decidables-spinner class="fomr" disabled min="0" max="1" step=".001" .value="${+this.fomr.toFixed(3)}">
17525
17530
  <var>False Omission Rate</var>
17526
17531
  </decidables-spinner>
17527
17532
  `;
17528
17533
  } else {
17529
- m = $`<var class="m">Misses</var>`;
17530
- cr = $`<var class="cr">Correct Rejections</var>`;
17531
- fomr = $`<var class="fomr">False Omission Rate</var>`;
17534
+ m = x$1`<var class="m">Misses</var>`;
17535
+ cr = x$1`<var class="cr">Correct Rejections</var>`;
17536
+ fomr = x$1`<var class="fomr">False Omission Rate</var>`;
17532
17537
  }
17533
- return $`
17538
+ return x$1`
17534
17539
  <div class="holder">
17535
17540
  <table class="equation">
17536
17541
  <tbody>
@@ -17609,7 +17614,7 @@ class SDTExample extends DetectableElement {
17609
17614
  }
17610
17615
  render() {
17611
17616
  /* eslint-disable-line class-methods-use-this */
17612
- return $`
17617
+ return x$1`
17613
17618
  <div class="holder">
17614
17619
  <div class="body">
17615
17620
  <slot>Empty!</slot>