@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.
- package/CHANGELOG.md +17 -0
- package/lib/detectableElements.esm.js +491 -486
- package/lib/detectableElements.esm.js.map +1 -1
- package/lib/detectableElements.esm.min.js +211 -211
- package/lib/detectableElements.esm.min.js.map +1 -1
- package/lib/detectableElements.umd.js +490 -485
- package/lib/detectableElements.umd.js.map +1 -1
- package/lib/detectableElements.umd.min.js +211 -211
- package/lib/detectableElements.umd.min.js.map +1 -1
- package/package.json +7 -7
- package/src/components/detectable-control.js +1 -1
|
@@ -280,7 +280,7 @@
|
|
|
280
280
|
mode: "open"
|
|
281
281
|
}, null == o$5 || o$5({
|
|
282
282
|
ReactiveElement: d$2
|
|
283
|
-
}), (null !== (s$5 = e$4.reactiveElementVersions) && void 0 !== s$5 ? s$5 : e$4.reactiveElementVersions = []).push("1.
|
|
283
|
+
}), (null !== (s$5 = e$4.reactiveElementVersions) && void 0 !== s$5 ? s$5 : e$4.reactiveElementVersions = []).push("1.6.1");
|
|
284
284
|
|
|
285
285
|
/**
|
|
286
286
|
* @license
|
|
@@ -293,125 +293,129 @@
|
|
|
293
293
|
e$3 = s$4 ? s$4.createPolicy("lit-html", {
|
|
294
294
|
createHTML: t => t
|
|
295
295
|
}) : void 0,
|
|
296
|
-
o$4 =
|
|
297
|
-
n$4 =
|
|
298
|
-
l$4 =
|
|
299
|
-
h$2 =
|
|
300
|
-
r$3 =
|
|
296
|
+
o$4 = "$lit$",
|
|
297
|
+
n$4 = `lit$${(Math.random() + "").slice(9)}$`,
|
|
298
|
+
l$4 = "?" + n$4,
|
|
299
|
+
h$2 = `<${l$4}>`,
|
|
300
|
+
r$3 = document,
|
|
301
|
+
u$1 = () => r$3.createComment(""),
|
|
301
302
|
d$1 = t => null === t || "object" != typeof t && "function" != typeof t,
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
$$1 =
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
303
|
+
c$1 = Array.isArray,
|
|
304
|
+
v$1 = t => c$1(t) || "function" == typeof (null == t ? void 0 : t[Symbol.iterator]),
|
|
305
|
+
a$2 = "[ \t\n\f\r]",
|
|
306
|
+
f$1 = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
307
|
+
_$1 = /-->/g,
|
|
308
|
+
m$1 = />/g,
|
|
309
|
+
p$1 = RegExp(`>|${a$2}(?:([^\\s"'>=/]+)(${a$2}*=${a$2}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
310
|
+
g$1 = /'/g,
|
|
311
|
+
$$1 = /"/g,
|
|
312
|
+
y$2 = /^(?:script|style|textarea|title)$/i,
|
|
313
|
+
T$1 = Symbol.for("lit-noChange"),
|
|
314
|
+
A$1 = Symbol.for("lit-nothing"),
|
|
315
|
+
E$1 = new WeakMap(),
|
|
316
|
+
C$1 = r$3.createTreeWalker(r$3, 129, null, !1);
|
|
317
|
+
function P$1(t, i) {
|
|
318
|
+
if (!Array.isArray(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
319
|
+
return void 0 !== e$3 ? e$3.createHTML(i) : i;
|
|
320
|
+
}
|
|
321
|
+
const V$1 = (t, i) => {
|
|
322
|
+
const s = t.length - 1,
|
|
323
|
+
e = [];
|
|
324
|
+
let l,
|
|
325
|
+
r = 2 === i ? "<svg>" : "",
|
|
326
|
+
u = f$1;
|
|
327
|
+
for (let i = 0; i < s; i++) {
|
|
328
|
+
const s = t[i];
|
|
329
|
+
let d,
|
|
330
|
+
c,
|
|
331
|
+
v = -1,
|
|
332
|
+
a = 0;
|
|
333
|
+
for (; a < s.length && (u.lastIndex = a, c = u.exec(s), null !== c);) a = u.lastIndex, u === f$1 ? "!--" === c[1] ? u = _$1 : void 0 !== c[1] ? u = m$1 : void 0 !== c[2] ? (y$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);
|
|
334
|
+
const w = u === p$1 && t[i + 1].startsWith("/>") ? " " : "";
|
|
335
|
+
r += u === f$1 ? s + h$2 : v >= 0 ? (e.push(d), s.slice(0, v) + o$4 + s.slice(v) + n$4 + w) : s + n$4 + (-2 === v ? (e.push(void 0), i) : w);
|
|
336
|
+
}
|
|
337
|
+
return [P$1(t, r + (t[s] || "<?>") + (2 === i ? "</svg>" : "")), e];
|
|
338
|
+
};
|
|
339
|
+
let N$1 = class N {
|
|
336
340
|
constructor({
|
|
337
341
|
strings: t,
|
|
338
342
|
_$litType$: i
|
|
339
343
|
}, e) {
|
|
340
|
-
let
|
|
344
|
+
let h;
|
|
341
345
|
this.parts = [];
|
|
342
|
-
let
|
|
346
|
+
let r = 0,
|
|
343
347
|
d = 0;
|
|
344
|
-
const
|
|
345
|
-
|
|
346
|
-
[
|
|
347
|
-
if (this.el =
|
|
348
|
+
const c = t.length - 1,
|
|
349
|
+
v = this.parts,
|
|
350
|
+
[a, f] = V$1(t, i);
|
|
351
|
+
if (this.el = N.createElement(a, e), C$1.currentNode = this.el.content, 2 === i) {
|
|
348
352
|
const t = this.el.content,
|
|
349
353
|
i = t.firstChild;
|
|
350
354
|
i.remove(), t.append(...i.childNodes);
|
|
351
355
|
}
|
|
352
|
-
for (; null !== (
|
|
353
|
-
if (1 ===
|
|
354
|
-
if (
|
|
356
|
+
for (; null !== (h = C$1.nextNode()) && v.length < c;) {
|
|
357
|
+
if (1 === h.nodeType) {
|
|
358
|
+
if (h.hasAttributes()) {
|
|
355
359
|
const t = [];
|
|
356
|
-
for (const i of
|
|
357
|
-
const s =
|
|
360
|
+
for (const i of h.getAttributeNames()) if (i.endsWith(o$4) || i.startsWith(n$4)) {
|
|
361
|
+
const s = f[d++];
|
|
358
362
|
if (t.push(i), void 0 !== s) {
|
|
359
|
-
const t =
|
|
363
|
+
const t = h.getAttribute(s.toLowerCase() + o$4).split(n$4),
|
|
360
364
|
i = /([.?@])?(.*)/.exec(s);
|
|
361
|
-
|
|
365
|
+
v.push({
|
|
362
366
|
type: 1,
|
|
363
|
-
index:
|
|
367
|
+
index: r,
|
|
364
368
|
name: i[2],
|
|
365
369
|
strings: t,
|
|
366
|
-
ctor: "." === i[1] ?
|
|
370
|
+
ctor: "." === i[1] ? H$1 : "?" === i[1] ? L$1 : "@" === i[1] ? z$1 : k$1
|
|
367
371
|
});
|
|
368
|
-
} else
|
|
372
|
+
} else v.push({
|
|
369
373
|
type: 6,
|
|
370
|
-
index:
|
|
374
|
+
index: r
|
|
371
375
|
});
|
|
372
376
|
}
|
|
373
|
-
for (const i of t)
|
|
377
|
+
for (const i of t) h.removeAttribute(i);
|
|
374
378
|
}
|
|
375
|
-
if (
|
|
376
|
-
const t =
|
|
379
|
+
if (y$2.test(h.tagName)) {
|
|
380
|
+
const t = h.textContent.split(n$4),
|
|
377
381
|
i = t.length - 1;
|
|
378
382
|
if (i > 0) {
|
|
379
|
-
|
|
380
|
-
for (let s = 0; s < i; s++)
|
|
383
|
+
h.textContent = s$4 ? s$4.emptyScript : "";
|
|
384
|
+
for (let s = 0; s < i; s++) h.append(t[s], u$1()), C$1.nextNode(), v.push({
|
|
381
385
|
type: 2,
|
|
382
|
-
index: ++
|
|
386
|
+
index: ++r
|
|
383
387
|
});
|
|
384
|
-
|
|
388
|
+
h.append(t[i], u$1());
|
|
385
389
|
}
|
|
386
390
|
}
|
|
387
|
-
} else if (8 ===
|
|
391
|
+
} else if (8 === h.nodeType) if (h.data === l$4) v.push({
|
|
388
392
|
type: 2,
|
|
389
|
-
index:
|
|
393
|
+
index: r
|
|
390
394
|
});else {
|
|
391
395
|
let t = -1;
|
|
392
|
-
for (; -1 !== (t =
|
|
396
|
+
for (; -1 !== (t = h.data.indexOf(n$4, t + 1));) v.push({
|
|
393
397
|
type: 7,
|
|
394
|
-
index:
|
|
395
|
-
}), t +=
|
|
398
|
+
index: r
|
|
399
|
+
}), t += n$4.length - 1;
|
|
396
400
|
}
|
|
397
|
-
|
|
401
|
+
r++;
|
|
398
402
|
}
|
|
399
403
|
}
|
|
400
404
|
static createElement(t, i) {
|
|
401
|
-
const s =
|
|
405
|
+
const s = r$3.createElement("template");
|
|
402
406
|
return s.innerHTML = t, s;
|
|
403
407
|
}
|
|
404
408
|
};
|
|
405
|
-
function
|
|
409
|
+
function S$2(t, i, s = t, e) {
|
|
406
410
|
var o, n, l, h;
|
|
407
|
-
if (i ===
|
|
411
|
+
if (i === T$1) return i;
|
|
408
412
|
let r = void 0 !== e ? null === (o = s._$Co) || void 0 === o ? void 0 : o[e] : s._$Cl;
|
|
409
413
|
const u = d$1(i) ? void 0 : i._$litDirective$;
|
|
410
|
-
return (null == r ? void 0 : r.constructor) !== u && (null === (n = null == r ? void 0 : r._$AO) || void 0 === n || n.call(r, !1), void 0 === u ? r = void 0 : (r = new u(t), r._$AT(t, s, e)), void 0 !== e ? (null !== (l = (h = s)._$Co) && void 0 !== l ? l : h._$Co = [])[e] = r : s._$Cl = r), void 0 !== r && (i =
|
|
414
|
+
return (null == r ? void 0 : r.constructor) !== u && (null === (n = null == r ? void 0 : r._$AO) || void 0 === n || n.call(r, !1), void 0 === u ? r = void 0 : (r = new u(t), r._$AT(t, s, e)), void 0 !== e ? (null !== (l = (h = s)._$Co) && void 0 !== l ? l : h._$Co = [])[e] = r : s._$Cl = r), void 0 !== r && (i = S$2(t, r._$AS(t, i.values), r, e)), i;
|
|
411
415
|
}
|
|
412
|
-
let
|
|
416
|
+
let M$1 = class M {
|
|
413
417
|
constructor(t, i) {
|
|
414
|
-
this.
|
|
418
|
+
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = i;
|
|
415
419
|
}
|
|
416
420
|
get parentNode() {
|
|
417
421
|
return this._$AM.parentNode;
|
|
@@ -419,7 +423,7 @@
|
|
|
419
423
|
get _$AU() {
|
|
420
424
|
return this._$AM._$AU;
|
|
421
425
|
}
|
|
422
|
-
|
|
426
|
+
u(t) {
|
|
423
427
|
var i;
|
|
424
428
|
const {
|
|
425
429
|
el: {
|
|
@@ -427,39 +431,39 @@
|
|
|
427
431
|
},
|
|
428
432
|
parts: e
|
|
429
433
|
} = this._$AD,
|
|
430
|
-
o = (null !== (i = null == t ? void 0 : t.creationScope) && void 0 !== i ? i :
|
|
431
|
-
|
|
432
|
-
let n =
|
|
434
|
+
o = (null !== (i = null == t ? void 0 : t.creationScope) && void 0 !== i ? i : r$3).importNode(s, !0);
|
|
435
|
+
C$1.currentNode = o;
|
|
436
|
+
let n = C$1.nextNode(),
|
|
433
437
|
l = 0,
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
for (; void 0 !==
|
|
437
|
-
if (l ===
|
|
438
|
+
h = 0,
|
|
439
|
+
u = e[0];
|
|
440
|
+
for (; void 0 !== u;) {
|
|
441
|
+
if (l === u.index) {
|
|
438
442
|
let i;
|
|
439
|
-
2 ===
|
|
443
|
+
2 === u.type ? i = new R$1(n, n.nextSibling, this, t) : 1 === u.type ? i = new u.ctor(n, u.name, u.strings, this, t) : 6 === u.type && (i = new Z(n, this, t)), this._$AV.push(i), u = e[++h];
|
|
440
444
|
}
|
|
441
|
-
l !== (null ==
|
|
445
|
+
l !== (null == u ? void 0 : u.index) && (n = C$1.nextNode(), l++);
|
|
442
446
|
}
|
|
443
|
-
return o;
|
|
447
|
+
return C$1.currentNode = r$3, o;
|
|
444
448
|
}
|
|
445
|
-
|
|
449
|
+
v(t) {
|
|
446
450
|
let i = 0;
|
|
447
|
-
for (const s of this.
|
|
451
|
+
for (const s of this._$AV) void 0 !== s && (void 0 !== s.strings ? (s._$AI(t, s, i), i += s.strings.length - 2) : s._$AI(t[i])), i++;
|
|
448
452
|
}
|
|
449
453
|
};
|
|
450
|
-
let
|
|
454
|
+
let R$1 = class R {
|
|
451
455
|
constructor(t, i, s, e) {
|
|
452
456
|
var o;
|
|
453
|
-
this.type = 2, this._$AH =
|
|
457
|
+
this.type = 2, this._$AH = A$1, this._$AN = void 0, this._$AA = t, this._$AB = i, this._$AM = s, this.options = e, this._$Cp = null === (o = null == e ? void 0 : e.isConnected) || void 0 === o || o;
|
|
454
458
|
}
|
|
455
459
|
get _$AU() {
|
|
456
460
|
var t, i;
|
|
457
|
-
return null !== (i = null === (t = this._$AM) || void 0 === t ? void 0 : t._$AU) && void 0 !== i ? i : this._$
|
|
461
|
+
return null !== (i = null === (t = this._$AM) || void 0 === t ? void 0 : t._$AU) && void 0 !== i ? i : this._$Cp;
|
|
458
462
|
}
|
|
459
463
|
get parentNode() {
|
|
460
464
|
let t = this._$AA.parentNode;
|
|
461
465
|
const i = this._$AM;
|
|
462
|
-
return void 0 !== i && 11 === t.nodeType && (t = i.parentNode), t;
|
|
466
|
+
return void 0 !== i && 11 === (null == t ? void 0 : t.nodeType) && (t = i.parentNode), t;
|
|
463
467
|
}
|
|
464
468
|
get startNode() {
|
|
465
469
|
return this._$AA;
|
|
@@ -468,40 +472,40 @@
|
|
|
468
472
|
return this._$AB;
|
|
469
473
|
}
|
|
470
474
|
_$AI(t, i = this) {
|
|
471
|
-
t =
|
|
475
|
+
t = S$2(this, t, i), d$1(t) ? t === A$1 || null == t || "" === t ? (this._$AH !== A$1 && this._$AR(), this._$AH = A$1) : t !== this._$AH && t !== T$1 && this._(t) : void 0 !== t._$litType$ ? this.g(t) : void 0 !== t.nodeType ? this.$(t) : v$1(t) ? this.T(t) : this._(t);
|
|
476
|
+
}
|
|
477
|
+
k(t) {
|
|
478
|
+
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
472
479
|
}
|
|
473
|
-
|
|
474
|
-
|
|
480
|
+
$(t) {
|
|
481
|
+
this._$AH !== t && (this._$AR(), this._$AH = this.k(t));
|
|
475
482
|
}
|
|
476
|
-
|
|
477
|
-
this._$AH !==
|
|
483
|
+
_(t) {
|
|
484
|
+
this._$AH !== A$1 && d$1(this._$AH) ? this._$AA.nextSibling.data = t : this.$(r$3.createTextNode(t)), this._$AH = t;
|
|
478
485
|
}
|
|
479
486
|
g(t) {
|
|
480
|
-
this._$AH !== b$1 && d$1(this._$AH) ? this._$AA.nextSibling.data = t : this.T(h$2.createTextNode(t)), this._$AH = t;
|
|
481
|
-
}
|
|
482
|
-
$(t) {
|
|
483
487
|
var i;
|
|
484
488
|
const {
|
|
485
489
|
values: s,
|
|
486
490
|
_$litType$: e
|
|
487
491
|
} = t,
|
|
488
|
-
o = "number" == typeof e ? this._$AC(t) : (void 0 === e.el && (e.el =
|
|
489
|
-
if ((null === (i = this._$AH) || void 0 === i ? void 0 : i._$AD) === o) this._$AH.
|
|
490
|
-
const t = new
|
|
491
|
-
i = t.
|
|
492
|
-
t.
|
|
492
|
+
o = "number" == typeof e ? this._$AC(t) : (void 0 === e.el && (e.el = N$1.createElement(P$1(e.h, e.h[0]), this.options)), e);
|
|
493
|
+
if ((null === (i = this._$AH) || void 0 === i ? void 0 : i._$AD) === o) this._$AH.v(s);else {
|
|
494
|
+
const t = new M$1(o, this),
|
|
495
|
+
i = t.u(this.options);
|
|
496
|
+
t.v(s), this.$(i), this._$AH = t;
|
|
493
497
|
}
|
|
494
498
|
}
|
|
495
499
|
_$AC(t) {
|
|
496
|
-
let i =
|
|
497
|
-
return void 0 === i &&
|
|
500
|
+
let i = E$1.get(t.strings);
|
|
501
|
+
return void 0 === i && E$1.set(t.strings, i = new N$1(t)), i;
|
|
498
502
|
}
|
|
499
|
-
|
|
500
|
-
|
|
503
|
+
T(t) {
|
|
504
|
+
c$1(this._$AH) || (this._$AH = [], this._$AR());
|
|
501
505
|
const i = this._$AH;
|
|
502
506
|
let s,
|
|
503
507
|
e = 0;
|
|
504
|
-
for (const o of t) e === i.length ? i.push(s = new
|
|
508
|
+
for (const o of t) e === i.length ? i.push(s = new R(this.k(u$1()), this.k(u$1()), this, this.options)) : s = i[e], s._$AI(o), e++;
|
|
505
509
|
e < i.length && (this._$AR(s && s._$AB.nextSibling, e), i.length = e);
|
|
506
510
|
}
|
|
507
511
|
_$AR(t = this._$AA.nextSibling, i) {
|
|
@@ -513,12 +517,12 @@
|
|
|
513
517
|
}
|
|
514
518
|
setConnected(t) {
|
|
515
519
|
var i;
|
|
516
|
-
void 0 === this._$AM && (this._$
|
|
520
|
+
void 0 === this._$AM && (this._$Cp = t, null === (i = this._$AP) || void 0 === i || i.call(this, t));
|
|
517
521
|
}
|
|
518
522
|
};
|
|
519
|
-
let
|
|
523
|
+
let k$1 = class k {
|
|
520
524
|
constructor(t, i, s, e, o) {
|
|
521
|
-
this.type = 1, this._$AH =
|
|
525
|
+
this.type = 1, this._$AH = A$1, this._$AN = void 0, this.element = t, this.name = i, this._$AM = e, this.options = o, s.length > 2 || "" !== s[0] || "" !== s[1] ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = A$1;
|
|
522
526
|
}
|
|
523
527
|
get tagName() {
|
|
524
528
|
return this.element.tagName;
|
|
@@ -529,44 +533,44 @@
|
|
|
529
533
|
_$AI(t, i = this, s, e) {
|
|
530
534
|
const o = this.strings;
|
|
531
535
|
let n = !1;
|
|
532
|
-
if (void 0 === o) t =
|
|
536
|
+
if (void 0 === o) t = S$2(this, t, i, 0), n = !d$1(t) || t !== this._$AH && t !== T$1, n && (this._$AH = t);else {
|
|
533
537
|
const e = t;
|
|
534
538
|
let l, h;
|
|
535
|
-
for (t = o[0], l = 0; l < o.length - 1; l++) h =
|
|
539
|
+
for (t = o[0], l = 0; l < o.length - 1; l++) h = S$2(this, e[s + l], i, l), h === T$1 && (h = this._$AH[l]), n || (n = !d$1(h) || h !== this._$AH[l]), h === A$1 ? t = A$1 : t !== A$1 && (t += (null != h ? h : "") + o[l + 1]), this._$AH[l] = h;
|
|
536
540
|
}
|
|
537
541
|
n && !e && this.j(t);
|
|
538
542
|
}
|
|
539
543
|
j(t) {
|
|
540
|
-
t ===
|
|
544
|
+
t === A$1 ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, null != t ? t : "");
|
|
541
545
|
}
|
|
542
546
|
};
|
|
543
|
-
let
|
|
547
|
+
let H$1 = class H extends k$1 {
|
|
544
548
|
constructor() {
|
|
545
549
|
super(...arguments), this.type = 3;
|
|
546
550
|
}
|
|
547
551
|
j(t) {
|
|
548
|
-
this.element[this.name] = t ===
|
|
552
|
+
this.element[this.name] = t === A$1 ? void 0 : t;
|
|
549
553
|
}
|
|
550
554
|
};
|
|
551
|
-
const
|
|
552
|
-
let
|
|
555
|
+
const I$1 = s$4 ? s$4.emptyScript : "";
|
|
556
|
+
let L$1 = class L extends k$1 {
|
|
553
557
|
constructor() {
|
|
554
558
|
super(...arguments), this.type = 4;
|
|
555
559
|
}
|
|
556
560
|
j(t) {
|
|
557
|
-
t && t !==
|
|
561
|
+
t && t !== A$1 ? this.element.setAttribute(this.name, I$1) : this.element.removeAttribute(this.name);
|
|
558
562
|
}
|
|
559
563
|
};
|
|
560
|
-
let
|
|
564
|
+
let z$1 = class z extends k$1 {
|
|
561
565
|
constructor(t, i, s, e, o) {
|
|
562
566
|
super(t, i, s, e, o), this.type = 5;
|
|
563
567
|
}
|
|
564
568
|
_$AI(t, i = this) {
|
|
565
569
|
var s;
|
|
566
|
-
if ((t = null !== (s =
|
|
570
|
+
if ((t = null !== (s = S$2(this, t, i, 0)) && void 0 !== s ? s : A$1) === T$1) return;
|
|
567
571
|
const e = this._$AH,
|
|
568
|
-
o = t ===
|
|
569
|
-
n = t !==
|
|
572
|
+
o = t === A$1 && e !== A$1 || t.capture !== e.capture || t.once !== e.once || t.passive !== e.passive,
|
|
573
|
+
n = t !== A$1 && (e === A$1 || o);
|
|
570
574
|
o && this.element.removeEventListener(this.name, this, e), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
|
571
575
|
}
|
|
572
576
|
handleEvent(t) {
|
|
@@ -574,7 +578,7 @@
|
|
|
574
578
|
"function" == typeof this._$AH ? this._$AH.call(null !== (s = null === (i = this.options) || void 0 === i ? void 0 : i.host) && void 0 !== s ? s : this.element, t) : this._$AH.handleEvent(t);
|
|
575
579
|
}
|
|
576
580
|
};
|
|
577
|
-
|
|
581
|
+
class Z {
|
|
578
582
|
constructor(t, i, s) {
|
|
579
583
|
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = i, this.options = s;
|
|
580
584
|
}
|
|
@@ -582,11 +586,11 @@
|
|
|
582
586
|
return this._$AM._$AU;
|
|
583
587
|
}
|
|
584
588
|
_$AI(t) {
|
|
585
|
-
|
|
589
|
+
S$2(this, t);
|
|
586
590
|
}
|
|
587
|
-
}
|
|
588
|
-
const
|
|
589
|
-
null ==
|
|
591
|
+
}
|
|
592
|
+
const B$1 = i$2.litHtmlPolyfillSupport;
|
|
593
|
+
null == B$1 || B$1(N$1, R$1), (null !== (t$2 = i$2.litHtmlVersions) && void 0 !== t$2 ? t$2 : i$2.litHtmlVersions = []).push("2.8.0");
|
|
590
594
|
|
|
591
595
|
/**
|
|
592
596
|
* @license
|
|
@@ -872,149 +876,139 @@
|
|
|
872
876
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
873
877
|
*/
|
|
874
878
|
var t;
|
|
875
|
-
const i =
|
|
876
|
-
s$1 = i
|
|
879
|
+
const i = window,
|
|
880
|
+
s$1 = i.trustedTypes,
|
|
881
|
+
e = s$1 ? s$1.createPolicy("lit-html", {
|
|
877
882
|
createHTML: t => t
|
|
878
883
|
}) : void 0,
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
l$2
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
p = t => (i, ...s) => ({
|
|
884
|
+
o$1 = "$lit$",
|
|
885
|
+
n$1 = `lit$${(Math.random() + "").slice(9)}$`,
|
|
886
|
+
l$2 = "?" + n$1,
|
|
887
|
+
h = `<${l$2}>`,
|
|
888
|
+
r = document,
|
|
889
|
+
d = () => r.createComment(""),
|
|
890
|
+
u = t => null === t || "object" != typeof t && "function" != typeof t,
|
|
891
|
+
c = Array.isArray,
|
|
892
|
+
v = t => c(t) || "function" == typeof (null == t ? void 0 : t[Symbol.iterator]),
|
|
893
|
+
a = "[ \t\n\f\r]",
|
|
894
|
+
f = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
895
|
+
_ = /-->/g,
|
|
896
|
+
m = />/g,
|
|
897
|
+
p = RegExp(`>|${a}(?:([^\\s"'>=/]+)(${a}*=${a}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
898
|
+
g = /'/g,
|
|
899
|
+
$ = /"/g,
|
|
900
|
+
y$1 = /^(?:script|style|textarea|title)$/i,
|
|
901
|
+
w = t => (i, ...s) => ({
|
|
898
902
|
_$litType$: t,
|
|
899
903
|
strings: i,
|
|
900
904
|
values: s
|
|
901
905
|
}),
|
|
902
|
-
$ =
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
const
|
|
910
|
-
let l = n._$litPart$;
|
|
911
|
-
if (void 0 === l) {
|
|
912
|
-
const t = null !== (o = null == s ? void 0 : s.renderBefore) && void 0 !== o ? o : null;
|
|
913
|
-
n._$litPart$ = l = new N(i.insertBefore(h(), t), t, void 0, null != s ? s : {});
|
|
914
|
-
}
|
|
915
|
-
return l._$AI(t), l;
|
|
916
|
-
},
|
|
917
|
-
A = l$2.createTreeWalker(l$2, 129, null, !1),
|
|
918
|
-
C = (t, i) => {
|
|
919
|
-
const o = t.length - 1,
|
|
906
|
+
x$1 = w(1),
|
|
907
|
+
b = w(2),
|
|
908
|
+
T = Symbol.for("lit-noChange"),
|
|
909
|
+
A = Symbol.for("lit-nothing"),
|
|
910
|
+
E = new WeakMap(),
|
|
911
|
+
C = r.createTreeWalker(r, 129, null, !1),
|
|
912
|
+
P = (t, i) => {
|
|
913
|
+
const s = t.length - 1,
|
|
920
914
|
l = [];
|
|
921
|
-
let
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
for (let i = 0; i <
|
|
915
|
+
let r,
|
|
916
|
+
d = 2 === i ? "<svg>" : "",
|
|
917
|
+
u = f;
|
|
918
|
+
for (let i = 0; i < s; i++) {
|
|
925
919
|
const s = t[i];
|
|
926
|
-
let
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
for (;
|
|
931
|
-
const
|
|
932
|
-
|
|
920
|
+
let e,
|
|
921
|
+
c,
|
|
922
|
+
v = -1,
|
|
923
|
+
a = 0;
|
|
924
|
+
for (; a < s.length && (u.lastIndex = a, c = u.exec(s), null !== c);) a = u.lastIndex, u === f ? "!--" === c[1] ? u = _ : void 0 !== c[1] ? u = m : void 0 !== c[2] ? (y$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);
|
|
925
|
+
const w = u === p && t[i + 1].startsWith("/>") ? " " : "";
|
|
926
|
+
d += u === f ? s + h : v >= 0 ? (l.push(e), s.slice(0, v) + o$1 + s.slice(v) + n$1 + w) : s + n$1 + (-2 === v ? (l.push(void 0), i) : w);
|
|
933
927
|
}
|
|
934
|
-
const
|
|
928
|
+
const c = d + (t[s] || "<?>") + (2 === i ? "</svg>" : "");
|
|
935
929
|
if (!Array.isArray(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
936
|
-
return [void 0 !==
|
|
930
|
+
return [void 0 !== e ? e.createHTML(c) : c, l];
|
|
937
931
|
};
|
|
938
|
-
class
|
|
932
|
+
class V {
|
|
939
933
|
constructor({
|
|
940
934
|
strings: t,
|
|
941
|
-
_$litType$:
|
|
942
|
-
},
|
|
943
|
-
let
|
|
935
|
+
_$litType$: i
|
|
936
|
+
}, e) {
|
|
937
|
+
let h;
|
|
944
938
|
this.parts = [];
|
|
945
939
|
let r = 0,
|
|
946
|
-
|
|
947
|
-
const
|
|
948
|
-
|
|
949
|
-
[
|
|
950
|
-
if (this.el =
|
|
940
|
+
u = 0;
|
|
941
|
+
const c = t.length - 1,
|
|
942
|
+
v = this.parts,
|
|
943
|
+
[a, f] = P(t, i);
|
|
944
|
+
if (this.el = V.createElement(a, e), C.currentNode = this.el.content, 2 === i) {
|
|
951
945
|
const t = this.el.content,
|
|
952
946
|
i = t.firstChild;
|
|
953
947
|
i.remove(), t.append(...i.childNodes);
|
|
954
948
|
}
|
|
955
|
-
for (; null !== (
|
|
956
|
-
if (1 ===
|
|
957
|
-
if (
|
|
949
|
+
for (; null !== (h = C.nextNode()) && v.length < c;) {
|
|
950
|
+
if (1 === h.nodeType) {
|
|
951
|
+
if (h.hasAttributes()) {
|
|
958
952
|
const t = [];
|
|
959
|
-
for (const i of
|
|
960
|
-
const s =
|
|
953
|
+
for (const i of h.getAttributeNames()) if (i.endsWith(o$1) || i.startsWith(n$1)) {
|
|
954
|
+
const s = f[u++];
|
|
961
955
|
if (t.push(i), void 0 !== s) {
|
|
962
|
-
const t =
|
|
956
|
+
const t = h.getAttribute(s.toLowerCase() + o$1).split(n$1),
|
|
963
957
|
i = /([.?@])?(.*)/.exec(s);
|
|
964
|
-
|
|
958
|
+
v.push({
|
|
965
959
|
type: 1,
|
|
966
960
|
index: r,
|
|
967
961
|
name: i[2],
|
|
968
962
|
strings: t,
|
|
969
|
-
ctor: "." === i[1] ?
|
|
963
|
+
ctor: "." === i[1] ? k : "?" === i[1] ? I : "@" === i[1] ? L : R
|
|
970
964
|
});
|
|
971
|
-
} else
|
|
965
|
+
} else v.push({
|
|
972
966
|
type: 6,
|
|
973
967
|
index: r
|
|
974
968
|
});
|
|
975
969
|
}
|
|
976
|
-
for (const i of t)
|
|
970
|
+
for (const i of t) h.removeAttribute(i);
|
|
977
971
|
}
|
|
978
|
-
if (
|
|
979
|
-
const t =
|
|
980
|
-
|
|
981
|
-
if (
|
|
982
|
-
|
|
983
|
-
for (let
|
|
972
|
+
if (y$1.test(h.tagName)) {
|
|
973
|
+
const t = h.textContent.split(n$1),
|
|
974
|
+
i = t.length - 1;
|
|
975
|
+
if (i > 0) {
|
|
976
|
+
h.textContent = s$1 ? s$1.emptyScript : "";
|
|
977
|
+
for (let s = 0; s < i; s++) h.append(t[s], d()), C.nextNode(), v.push({
|
|
984
978
|
type: 2,
|
|
985
979
|
index: ++r
|
|
986
980
|
});
|
|
987
|
-
|
|
981
|
+
h.append(t[i], d());
|
|
988
982
|
}
|
|
989
983
|
}
|
|
990
|
-
} else if (8 ===
|
|
984
|
+
} else if (8 === h.nodeType) if (h.data === l$2) v.push({
|
|
991
985
|
type: 2,
|
|
992
986
|
index: r
|
|
993
987
|
});else {
|
|
994
988
|
let t = -1;
|
|
995
|
-
for (; -1 !== (t =
|
|
989
|
+
for (; -1 !== (t = h.data.indexOf(n$1, t + 1));) v.push({
|
|
996
990
|
type: 7,
|
|
997
991
|
index: r
|
|
998
|
-
}), t +=
|
|
992
|
+
}), t += n$1.length - 1;
|
|
999
993
|
}
|
|
1000
994
|
r++;
|
|
1001
995
|
}
|
|
1002
996
|
}
|
|
1003
997
|
static createElement(t, i) {
|
|
1004
|
-
const s =
|
|
998
|
+
const s = r.createElement("template");
|
|
1005
999
|
return s.innerHTML = t, s;
|
|
1006
1000
|
}
|
|
1007
1001
|
}
|
|
1008
|
-
function
|
|
1002
|
+
function N(t, i, s = t, e) {
|
|
1009
1003
|
var o, n, l, h;
|
|
1010
|
-
if (i ===
|
|
1011
|
-
let
|
|
1012
|
-
const
|
|
1013
|
-
return (null ==
|
|
1004
|
+
if (i === T) return i;
|
|
1005
|
+
let r = void 0 !== e ? null === (o = s._$Co) || void 0 === o ? void 0 : o[e] : s._$Cl;
|
|
1006
|
+
const d = u(i) ? void 0 : i._$litDirective$;
|
|
1007
|
+
return (null == r ? void 0 : r.constructor) !== d && (null === (n = null == r ? void 0 : r._$AO) || void 0 === n || n.call(r, !1), void 0 === d ? r = void 0 : (r = new d(t), r._$AT(t, s, e)), void 0 !== e ? (null !== (l = (h = s)._$Co) && void 0 !== l ? l : h._$Co = [])[e] = r : s._$Cl = r), void 0 !== r && (i = N(t, r._$AS(t, i.values), r, e)), i;
|
|
1014
1008
|
}
|
|
1015
|
-
class
|
|
1009
|
+
class S {
|
|
1016
1010
|
constructor(t, i) {
|
|
1017
|
-
this.
|
|
1011
|
+
this.u = [], this._$AN = void 0, this._$AD = t, this._$AM = i;
|
|
1018
1012
|
}
|
|
1019
1013
|
get parentNode() {
|
|
1020
1014
|
return this._$AM.parentNode;
|
|
@@ -1022,7 +1016,7 @@
|
|
|
1022
1016
|
get _$AU() {
|
|
1023
1017
|
return this._$AM._$AU;
|
|
1024
1018
|
}
|
|
1025
|
-
|
|
1019
|
+
v(t) {
|
|
1026
1020
|
var i;
|
|
1027
1021
|
const {
|
|
1028
1022
|
el: {
|
|
@@ -1030,39 +1024,39 @@
|
|
|
1030
1024
|
},
|
|
1031
1025
|
parts: e
|
|
1032
1026
|
} = this._$AD,
|
|
1033
|
-
o = (null !== (i = null == t ? void 0 : t.creationScope) && void 0 !== i ? i :
|
|
1034
|
-
|
|
1035
|
-
let n =
|
|
1027
|
+
o = (null !== (i = null == t ? void 0 : t.creationScope) && void 0 !== i ? i : r).importNode(s, !0);
|
|
1028
|
+
C.currentNode = o;
|
|
1029
|
+
let n = C.nextNode(),
|
|
1030
|
+
l = 0,
|
|
1036
1031
|
h = 0,
|
|
1037
|
-
r = 0,
|
|
1038
1032
|
d = e[0];
|
|
1039
1033
|
for (; void 0 !== d;) {
|
|
1040
|
-
if (
|
|
1034
|
+
if (l === d.index) {
|
|
1041
1035
|
let i;
|
|
1042
|
-
2 === d.type ? i = new
|
|
1036
|
+
2 === d.type ? i = new M(n, n.nextSibling, this, t) : 1 === d.type ? i = new d.ctor(n, d.name, d.strings, this, t) : 6 === d.type && (i = new z(n, this, t)), this.u.push(i), d = e[++h];
|
|
1043
1037
|
}
|
|
1044
|
-
|
|
1038
|
+
l !== (null == d ? void 0 : d.index) && (n = C.nextNode(), l++);
|
|
1045
1039
|
}
|
|
1046
1040
|
return o;
|
|
1047
1041
|
}
|
|
1048
|
-
|
|
1042
|
+
p(t) {
|
|
1049
1043
|
let i = 0;
|
|
1050
|
-
for (const s of this.
|
|
1044
|
+
for (const s of this.u) void 0 !== s && (void 0 !== s.strings ? (s._$AI(t, s, i), i += s.strings.length - 2) : s._$AI(t[i])), i++;
|
|
1051
1045
|
}
|
|
1052
1046
|
}
|
|
1053
|
-
class
|
|
1047
|
+
class M {
|
|
1054
1048
|
constructor(t, i, s, e) {
|
|
1055
1049
|
var o;
|
|
1056
|
-
this.type = 2, this._$AH =
|
|
1050
|
+
this.type = 2, this._$AH = A, this._$AN = void 0, this._$AA = t, this._$AB = i, this._$AM = s, this.options = e, this._$Cm = null === (o = null == e ? void 0 : e.isConnected) || void 0 === o || o;
|
|
1057
1051
|
}
|
|
1058
1052
|
get _$AU() {
|
|
1059
1053
|
var t, i;
|
|
1060
|
-
return null !== (i = null === (t = this._$AM) || void 0 === t ? void 0 : t._$AU) && void 0 !== i ? i : this._$
|
|
1054
|
+
return null !== (i = null === (t = this._$AM) || void 0 === t ? void 0 : t._$AU) && void 0 !== i ? i : this._$Cm;
|
|
1061
1055
|
}
|
|
1062
1056
|
get parentNode() {
|
|
1063
1057
|
let t = this._$AA.parentNode;
|
|
1064
1058
|
const i = this._$AM;
|
|
1065
|
-
return void 0 !== i && 11 === t.nodeType && (t = i.parentNode), t;
|
|
1059
|
+
return void 0 !== i && 11 === (null == t ? void 0 : t.nodeType) && (t = i.parentNode), t;
|
|
1066
1060
|
}
|
|
1067
1061
|
get startNode() {
|
|
1068
1062
|
return this._$AA;
|
|
@@ -1071,40 +1065,40 @@
|
|
|
1071
1065
|
return this._$AB;
|
|
1072
1066
|
}
|
|
1073
1067
|
_$AI(t, i = this) {
|
|
1074
|
-
t =
|
|
1068
|
+
t = N(this, t, i), u(t) ? t === A || null == t || "" === t ? (this._$AH !== A && this._$AR(), this._$AH = A) : t !== this._$AH && t !== T && this.g(t) : void 0 !== t._$litType$ ? this.$(t) : void 0 !== t.nodeType ? this.T(t) : v(t) ? this.k(t) : this.g(t);
|
|
1075
1069
|
}
|
|
1076
|
-
|
|
1077
|
-
return this._$AA.parentNode.insertBefore(t,
|
|
1070
|
+
S(t) {
|
|
1071
|
+
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
1078
1072
|
}
|
|
1079
|
-
|
|
1080
|
-
this._$AH !== t && (this._$AR(), this._$AH = this.
|
|
1073
|
+
T(t) {
|
|
1074
|
+
this._$AH !== t && (this._$AR(), this._$AH = this.S(t));
|
|
1081
1075
|
}
|
|
1082
|
-
|
|
1083
|
-
this._$AH !==
|
|
1076
|
+
g(t) {
|
|
1077
|
+
this._$AH !== A && u(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r.createTextNode(t)), this._$AH = t;
|
|
1084
1078
|
}
|
|
1085
|
-
|
|
1079
|
+
$(t) {
|
|
1086
1080
|
var i;
|
|
1087
1081
|
const {
|
|
1088
1082
|
values: s,
|
|
1089
1083
|
_$litType$: e
|
|
1090
1084
|
} = t,
|
|
1091
|
-
o = "number" == typeof e ? this._$AC(t) : (void 0 === e.el && (e.el =
|
|
1092
|
-
if ((null === (i = this._$AH) || void 0 === i ? void 0 : i._$AD) === o) this._$AH.
|
|
1093
|
-
const t = new
|
|
1094
|
-
i = t.
|
|
1095
|
-
t.
|
|
1085
|
+
o = "number" == typeof e ? this._$AC(t) : (void 0 === e.el && (e.el = V.createElement(e.h, this.options)), e);
|
|
1086
|
+
if ((null === (i = this._$AH) || void 0 === i ? void 0 : i._$AD) === o) this._$AH.p(s);else {
|
|
1087
|
+
const t = new S(o, this),
|
|
1088
|
+
i = t.v(this.options);
|
|
1089
|
+
t.p(s), this.T(i), this._$AH = t;
|
|
1096
1090
|
}
|
|
1097
1091
|
}
|
|
1098
1092
|
_$AC(t) {
|
|
1099
|
-
let i =
|
|
1100
|
-
return void 0 === i &&
|
|
1093
|
+
let i = E.get(t.strings);
|
|
1094
|
+
return void 0 === i && E.set(t.strings, i = new V(t)), i;
|
|
1101
1095
|
}
|
|
1102
|
-
|
|
1103
|
-
|
|
1096
|
+
k(t) {
|
|
1097
|
+
c(this._$AH) || (this._$AH = [], this._$AR());
|
|
1104
1098
|
const i = this._$AH;
|
|
1105
1099
|
let s,
|
|
1106
1100
|
e = 0;
|
|
1107
|
-
for (const o of t) e === i.length ? i.push(s = new
|
|
1101
|
+
for (const o of t) e === i.length ? i.push(s = new M(this.S(d()), this.S(d()), this, this.options)) : s = i[e], s._$AI(o), e++;
|
|
1108
1102
|
e < i.length && (this._$AR(s && s._$AB.nextSibling, e), i.length = e);
|
|
1109
1103
|
}
|
|
1110
1104
|
_$AR(t = this._$AA.nextSibling, i) {
|
|
@@ -1116,12 +1110,12 @@
|
|
|
1116
1110
|
}
|
|
1117
1111
|
setConnected(t) {
|
|
1118
1112
|
var i;
|
|
1119
|
-
void 0 === this._$AM && (this._$
|
|
1113
|
+
void 0 === this._$AM && (this._$Cm = t, null === (i = this._$AP) || void 0 === i || i.call(this, t));
|
|
1120
1114
|
}
|
|
1121
1115
|
}
|
|
1122
|
-
class
|
|
1116
|
+
class R {
|
|
1123
1117
|
constructor(t, i, s, e, o) {
|
|
1124
|
-
this.type = 1, this._$AH =
|
|
1118
|
+
this.type = 1, this._$AH = A, this._$AN = void 0, this.element = t, this.name = i, this._$AM = e, this.options = o, s.length > 2 || "" !== s[0] || "" !== s[1] ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = A;
|
|
1125
1119
|
}
|
|
1126
1120
|
get tagName() {
|
|
1127
1121
|
return this.element.tagName;
|
|
@@ -1132,44 +1126,44 @@
|
|
|
1132
1126
|
_$AI(t, i = this, s, e) {
|
|
1133
1127
|
const o = this.strings;
|
|
1134
1128
|
let n = !1;
|
|
1135
|
-
if (void 0 === o) t =
|
|
1129
|
+
if (void 0 === o) t = N(this, t, i, 0), n = !u(t) || t !== this._$AH && t !== T, n && (this._$AH = t);else {
|
|
1136
1130
|
const e = t;
|
|
1137
1131
|
let l, h;
|
|
1138
|
-
for (t = o[0], l = 0; l < o.length - 1; l++) h =
|
|
1132
|
+
for (t = o[0], l = 0; l < o.length - 1; l++) h = N(this, e[s + l], i, l), h === T && (h = this._$AH[l]), n || (n = !u(h) || h !== this._$AH[l]), h === A ? t = A : t !== A && (t += (null != h ? h : "") + o[l + 1]), this._$AH[l] = h;
|
|
1139
1133
|
}
|
|
1140
|
-
n && !e && this.
|
|
1134
|
+
n && !e && this.j(t);
|
|
1141
1135
|
}
|
|
1142
|
-
|
|
1143
|
-
t ===
|
|
1136
|
+
j(t) {
|
|
1137
|
+
t === A ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, null != t ? t : "");
|
|
1144
1138
|
}
|
|
1145
1139
|
}
|
|
1146
|
-
class
|
|
1140
|
+
class k extends R {
|
|
1147
1141
|
constructor() {
|
|
1148
1142
|
super(...arguments), this.type = 3;
|
|
1149
1143
|
}
|
|
1150
|
-
|
|
1151
|
-
this.element[this.name] = t ===
|
|
1144
|
+
j(t) {
|
|
1145
|
+
this.element[this.name] = t === A ? void 0 : t;
|
|
1152
1146
|
}
|
|
1153
1147
|
}
|
|
1154
|
-
const
|
|
1155
|
-
class
|
|
1148
|
+
const H = s$1 ? s$1.emptyScript : "";
|
|
1149
|
+
class I extends R {
|
|
1156
1150
|
constructor() {
|
|
1157
1151
|
super(...arguments), this.type = 4;
|
|
1158
1152
|
}
|
|
1159
|
-
|
|
1160
|
-
t && t !==
|
|
1153
|
+
j(t) {
|
|
1154
|
+
t && t !== A ? this.element.setAttribute(this.name, H) : this.element.removeAttribute(this.name);
|
|
1161
1155
|
}
|
|
1162
1156
|
}
|
|
1163
|
-
class
|
|
1157
|
+
class L extends R {
|
|
1164
1158
|
constructor(t, i, s, e, o) {
|
|
1165
1159
|
super(t, i, s, e, o), this.type = 5;
|
|
1166
1160
|
}
|
|
1167
1161
|
_$AI(t, i = this) {
|
|
1168
1162
|
var s;
|
|
1169
|
-
if ((t = null !== (s =
|
|
1163
|
+
if ((t = null !== (s = N(this, t, i, 0)) && void 0 !== s ? s : A) === T) return;
|
|
1170
1164
|
const e = this._$AH,
|
|
1171
|
-
o = t ===
|
|
1172
|
-
n = t !==
|
|
1165
|
+
o = t === A && e !== A || t.capture !== e.capture || t.once !== e.once || t.passive !== e.passive,
|
|
1166
|
+
n = t !== A && (e === A || o);
|
|
1173
1167
|
o && this.element.removeEventListener(this.name, this, e), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
|
1174
1168
|
}
|
|
1175
1169
|
handleEvent(t) {
|
|
@@ -1177,7 +1171,7 @@
|
|
|
1177
1171
|
"function" == typeof this._$AH ? this._$AH.call(null !== (s = null === (i = this.options) || void 0 === i ? void 0 : i.host) && void 0 !== s ? s : this.element, t) : this._$AH.handleEvent(t);
|
|
1178
1172
|
}
|
|
1179
1173
|
}
|
|
1180
|
-
class
|
|
1174
|
+
class z {
|
|
1181
1175
|
constructor(t, i, s) {
|
|
1182
1176
|
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = i, this.options = s;
|
|
1183
1177
|
}
|
|
@@ -1185,11 +1179,21 @@
|
|
|
1185
1179
|
return this._$AM._$AU;
|
|
1186
1180
|
}
|
|
1187
1181
|
_$AI(t) {
|
|
1188
|
-
|
|
1182
|
+
N(this, t);
|
|
1189
1183
|
}
|
|
1190
1184
|
}
|
|
1191
|
-
const
|
|
1192
|
-
null ==
|
|
1185
|
+
const j = i.litHtmlPolyfillSupport;
|
|
1186
|
+
null == j || j(V, M), (null !== (t = i.litHtmlVersions) && void 0 !== t ? t : i.litHtmlVersions = []).push("2.7.0");
|
|
1187
|
+
const B = (t, i, s) => {
|
|
1188
|
+
var e, o;
|
|
1189
|
+
const n = null !== (e = null == s ? void 0 : s.renderBefore) && void 0 !== e ? e : i;
|
|
1190
|
+
let l = n._$litPart$;
|
|
1191
|
+
if (void 0 === l) {
|
|
1192
|
+
const t = null !== (o = null == s ? void 0 : s.renderBefore) && void 0 !== o ? o : null;
|
|
1193
|
+
n._$litPart$ = l = new M(i.insertBefore(d(), t), t, void 0, null != s ? s : {});
|
|
1194
|
+
}
|
|
1195
|
+
return l._$AI(t), l;
|
|
1196
|
+
};
|
|
1193
1197
|
|
|
1194
1198
|
/**
|
|
1195
1199
|
* @license
|
|
@@ -1201,7 +1205,7 @@
|
|
|
1201
1205
|
constructor() {
|
|
1202
1206
|
super(...arguments), this.renderOptions = {
|
|
1203
1207
|
host: this
|
|
1204
|
-
}, this._$
|
|
1208
|
+
}, this._$Do = void 0;
|
|
1205
1209
|
}
|
|
1206
1210
|
createRenderRoot() {
|
|
1207
1211
|
var t, e;
|
|
@@ -1210,18 +1214,18 @@
|
|
|
1210
1214
|
}
|
|
1211
1215
|
update(t) {
|
|
1212
1216
|
const i = this.render();
|
|
1213
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$
|
|
1217
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = B(i, this.renderRoot, this.renderOptions);
|
|
1214
1218
|
}
|
|
1215
1219
|
connectedCallback() {
|
|
1216
1220
|
var t;
|
|
1217
|
-
super.connectedCallback(), null === (t = this._$
|
|
1221
|
+
super.connectedCallback(), null === (t = this._$Do) || void 0 === t || t.setConnected(!0);
|
|
1218
1222
|
}
|
|
1219
1223
|
disconnectedCallback() {
|
|
1220
1224
|
var t;
|
|
1221
|
-
super.disconnectedCallback(), null === (t = this._$
|
|
1225
|
+
super.disconnectedCallback(), null === (t = this._$Do) || void 0 === t || t.setConnected(!1);
|
|
1222
1226
|
}
|
|
1223
1227
|
render() {
|
|
1224
|
-
return
|
|
1228
|
+
return T;
|
|
1225
1229
|
}
|
|
1226
1230
|
}
|
|
1227
1231
|
s.finalized = !0, s._$litElement$ = !0, null === (l$1 = globalThis.litElementHydrateSupport) || void 0 === l$1 || l$1.call(globalThis, {
|
|
@@ -1231,7 +1235,7 @@
|
|
|
1231
1235
|
null == n || n({
|
|
1232
1236
|
LitElement: s
|
|
1233
1237
|
});
|
|
1234
|
-
(null !== (o = globalThis.litElementVersions) && void 0 !== o ? o : globalThis.litElementVersions = []).push("3.
|
|
1238
|
+
(null !== (o = globalThis.litElementVersions) && void 0 !== o ? o : globalThis.litElementVersions = []).push("3.3.0");
|
|
1235
1239
|
|
|
1236
1240
|
function ascending$2(a, b) {
|
|
1237
1241
|
return a == null || b == null ? NaN : a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;
|
|
@@ -6475,7 +6479,6 @@
|
|
|
6475
6479
|
return "translate(" + this.x + "," + this.y + ") scale(" + this.k + ")";
|
|
6476
6480
|
}
|
|
6477
6481
|
};
|
|
6478
|
-
new Transform(1, 0, 0);
|
|
6479
6482
|
Transform.prototype;
|
|
6480
6483
|
|
|
6481
6484
|
/*
|
|
@@ -6653,7 +6656,7 @@
|
|
|
6653
6656
|
const shadows = DecidablesElement.shadows; /* eslint-disable-line prefer-destructuring */
|
|
6654
6657
|
|
|
6655
6658
|
const filters = shadows.elevations.map(z => {
|
|
6656
|
-
return
|
|
6659
|
+
return b`
|
|
6657
6660
|
<filter id=${`shadow-${z}`} x="-250%" y="-250%" width="600%" height="600%">
|
|
6658
6661
|
<feComponentTransfer in="SourceAlpha" result="solid">
|
|
6659
6662
|
<feFuncA type="table" tableValues="0 1 1"/>
|
|
@@ -6661,9 +6664,9 @@
|
|
|
6661
6664
|
<feOffset in="solid" result="offU" dx=${shadows.mapUmbra[z].y / 2} dy=${shadows.mapUmbra[z].y} />
|
|
6662
6665
|
<feOffset in="solid" result="offP" dx=${shadows.mapPenumbra[z].y / 2} dy=${shadows.mapPenumbra[z].y} />
|
|
6663
6666
|
<feOffset in="solid" result="offA" dx=${shadows.mapAmbient[z].y / 2} dy=${shadows.mapAmbient[z].y} />
|
|
6664
|
-
${shadows.mapUmbra[z].s === 0 ?
|
|
6665
|
-
${shadows.mapPenumbra[z].s === 0 ?
|
|
6666
|
-
${shadows.mapAmbient[z].s === 0 ?
|
|
6667
|
+
${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)} />`}
|
|
6668
|
+
${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)} />`}
|
|
6669
|
+
${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)} />`}
|
|
6667
6670
|
<feGaussianBlur in=${shadows.mapUmbra[z].s === 0 ? 'offU' : 'spreadU'} result="blurU" stdDeviation=${shadows.mapUmbra[z].b / 2} />
|
|
6668
6671
|
<feGaussianBlur in=${shadows.mapPenumbra[z].s === 0 ? 'offP' : 'spreadP'} result="blurP" stdDeviation=${shadows.mapPenumbra[z].b / 2} />
|
|
6669
6672
|
<feGaussianBlur in=${shadows.mapAmbient[z].s === 0 ? 'offA' : 'spreadA'} result="blurA" stdDeviation=${shadows.mapAmbient[z].b / 2} />
|
|
@@ -6685,7 +6688,7 @@
|
|
|
6685
6688
|
</feMerge>
|
|
6686
6689
|
</filter>`;
|
|
6687
6690
|
});
|
|
6688
|
-
return
|
|
6691
|
+
return b`
|
|
6689
6692
|
<svg class="defs">
|
|
6690
6693
|
<defs>
|
|
6691
6694
|
${filters}
|
|
@@ -6828,7 +6831,7 @@
|
|
|
6828
6831
|
`];
|
|
6829
6832
|
}
|
|
6830
6833
|
render() {
|
|
6831
|
-
return
|
|
6834
|
+
return x$1`
|
|
6832
6835
|
<button ?disabled=${this.disabled}>
|
|
6833
6836
|
<slot></slot>
|
|
6834
6837
|
</button>
|
|
@@ -6842,7 +6845,7 @@
|
|
|
6842
6845
|
* Copyright 2018 Google LLC
|
|
6843
6846
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
6844
6847
|
*/
|
|
6845
|
-
const l = l => null != l ? l :
|
|
6848
|
+
const l = l => null != l ? l : A$1;
|
|
6846
6849
|
|
|
6847
6850
|
class DecidablesSlider extends DecidablesElement {
|
|
6848
6851
|
static get properties() {
|
|
@@ -7150,7 +7153,7 @@
|
|
|
7150
7153
|
`];
|
|
7151
7154
|
}
|
|
7152
7155
|
render() {
|
|
7153
|
-
return
|
|
7156
|
+
return x$1`
|
|
7154
7157
|
<label for="slider">
|
|
7155
7158
|
<slot></slot>
|
|
7156
7159
|
</label>
|
|
@@ -7289,7 +7292,7 @@
|
|
|
7289
7292
|
`];
|
|
7290
7293
|
}
|
|
7291
7294
|
render() {
|
|
7292
|
-
return
|
|
7295
|
+
return x$1`
|
|
7293
7296
|
<label>
|
|
7294
7297
|
<slot></slot>
|
|
7295
7298
|
<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)}>
|
|
@@ -7453,7 +7456,7 @@
|
|
|
7453
7456
|
`];
|
|
7454
7457
|
}
|
|
7455
7458
|
render() {
|
|
7456
|
-
return
|
|
7459
|
+
return x$1`
|
|
7457
7460
|
<input type="checkbox" id="switch" ?checked=${this.checked} ?disabled=${this.disabled} @change=${this.changed.bind(this)}>
|
|
7458
7461
|
<label for="switch">
|
|
7459
7462
|
<slot name="off-label"></slot>
|
|
@@ -7503,7 +7506,7 @@
|
|
|
7503
7506
|
`];
|
|
7504
7507
|
}
|
|
7505
7508
|
render() {
|
|
7506
|
-
return
|
|
7509
|
+
return x$1`
|
|
7507
7510
|
<fieldset ?disabled=${this.disabled}>
|
|
7508
7511
|
<legend><slot name="label"></slot></legend>
|
|
7509
7512
|
<slot></slot>
|
|
@@ -7654,7 +7657,7 @@
|
|
|
7654
7657
|
`];
|
|
7655
7658
|
}
|
|
7656
7659
|
render() {
|
|
7657
|
-
return
|
|
7660
|
+
return x$1`
|
|
7658
7661
|
<input type="radio" id="toggle-option" name=${this.name} value=${this.value} .checked=${this.checked} @change=${this.changed.bind(this)}>
|
|
7659
7662
|
<label for="toggle-option">
|
|
7660
7663
|
<slot></slot>
|
|
@@ -7977,7 +7980,7 @@
|
|
|
7977
7980
|
}
|
|
7978
7981
|
render() {
|
|
7979
7982
|
/* eslint-disable-line class-methods-use-this */
|
|
7980
|
-
return
|
|
7983
|
+
return x$1``;
|
|
7981
7984
|
}
|
|
7982
7985
|
getDimensions() {
|
|
7983
7986
|
this.width = parseFloat(this.getComputedStyleValue('width'), 10);
|
|
@@ -8310,11 +8313,11 @@
|
|
|
8310
8313
|
|
|
8311
8314
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
8312
8315
|
|
|
8313
|
-
|
|
8314
|
-
|
|
8315
|
-
|
|
8316
|
-
|
|
8317
|
-
};
|
|
8316
|
+
function getDefaultExportFromCjs (x) {
|
|
8317
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
8318
|
+
}
|
|
8319
|
+
|
|
8320
|
+
var jstat = {exports: {}};
|
|
8318
8321
|
|
|
8319
8322
|
(function (module, exports) {
|
|
8320
8323
|
(function (window, factory) {
|
|
@@ -12588,6 +12591,8 @@
|
|
|
12588
12591
|
return jStat;
|
|
12589
12592
|
});
|
|
12590
12593
|
})(jstat);
|
|
12594
|
+
var jstatExports = jstat.exports;
|
|
12595
|
+
var jStat = /*@__PURE__*/getDefaultExportFromCjs(jstatExports);
|
|
12591
12596
|
|
|
12592
12597
|
/*
|
|
12593
12598
|
SDTMath Static Class - Not intended for instantiation!
|
|
@@ -12707,28 +12712,28 @@
|
|
|
12707
12712
|
return m / (m + cr);
|
|
12708
12713
|
}
|
|
12709
12714
|
static hrFar2D(hr, far, s = 1) {
|
|
12710
|
-
if (s === 1) return
|
|
12711
|
-
return Math.sqrt(2 / (s * s + 1)) * (s *
|
|
12715
|
+
if (s === 1) return jStat.normal.inv(hr, 0, 1) - jStat.normal.inv(far, 0, 1);
|
|
12716
|
+
return Math.sqrt(2 / (s * s + 1)) * (s * jStat.normal.inv(hr, 0, 1) - jStat.normal.inv(far, 0, 1));
|
|
12712
12717
|
}
|
|
12713
12718
|
static hrFar2C(hr, far, s = 1) {
|
|
12714
|
-
if (s === 1) return -(
|
|
12715
|
-
return Math.sqrt(2 / (s * s + 1)) * (s / (s + 1)) * -(
|
|
12719
|
+
if (s === 1) return -(jStat.normal.inv(hr, 0, 1) + jStat.normal.inv(far, 0, 1)) / 2;
|
|
12720
|
+
return Math.sqrt(2 / (s * s + 1)) * (s / (s + 1)) * -(jStat.normal.inv(hr, 0, 1) + jStat.normal.inv(far, 0, 1));
|
|
12716
12721
|
}
|
|
12717
12722
|
static dC2Hr(d, c, s = 1) {
|
|
12718
|
-
if (s === 1) return
|
|
12719
|
-
return
|
|
12723
|
+
if (s === 1) return jStat.normal.cdf(d / 2 - c, 0, 1);
|
|
12724
|
+
return jStat.normal.cdf(Math.sqrt((s * s + 1) / 2) * (d / (1 + s) - c / s), 0, 1);
|
|
12720
12725
|
}
|
|
12721
12726
|
static dC2Far(d, c, s = 1) {
|
|
12722
|
-
if (s === 1) return
|
|
12723
|
-
return
|
|
12727
|
+
if (s === 1) return jStat.normal.cdf(-(d / 2 + c), 0, 1);
|
|
12728
|
+
return jStat.normal.cdf(Math.sqrt((s * s + 1) / 2) * -(d / (1 + s) + c), 0, 1);
|
|
12724
12729
|
}
|
|
12725
12730
|
static dFar2Hr(d, far, s = 1) {
|
|
12726
|
-
if (s === 1) return
|
|
12727
|
-
return
|
|
12731
|
+
if (s === 1) return jStat.normal.cdf(d + jStat.normal.inv(far, 0, 1), 0, 1);
|
|
12732
|
+
return jStat.normal.cdf((Math.sqrt((s * s + 1) / 2) * d + jStat.normal.inv(far, 0, 1)) / s, 0, 1);
|
|
12728
12733
|
}
|
|
12729
12734
|
static cFar2Hr(c, far, s = 1) {
|
|
12730
|
-
if (s === 1) return
|
|
12731
|
-
return
|
|
12735
|
+
if (s === 1) return jStat.normal.cdf(-(2 * c) - jStat.normal.inv(far, 0, 1), 0, 1);
|
|
12736
|
+
return jStat.normal.cdf(-Math.sqrt((s * s + 1) / 2) * ((s + 1) / s) * c - jStat.normal.inv(far, 0, 1), 0, 1);
|
|
12732
12737
|
}
|
|
12733
12738
|
static d2MuN(d, s = 1) {
|
|
12734
12739
|
if (s === 1) return -d / 2;
|
|
@@ -12761,16 +12766,16 @@
|
|
|
12761
12766
|
return 1 / (h * Math.sqrt(2 * Math.PI));
|
|
12762
12767
|
}
|
|
12763
12768
|
static hr2Zhr(hr) {
|
|
12764
|
-
return
|
|
12769
|
+
return jStat.normal.inv(hr, 0, 1);
|
|
12765
12770
|
}
|
|
12766
12771
|
static far2Zfar(far) {
|
|
12767
|
-
return
|
|
12772
|
+
return jStat.normal.inv(far, 0, 1);
|
|
12768
12773
|
}
|
|
12769
12774
|
static zhr2Hr(zhr) {
|
|
12770
|
-
return
|
|
12775
|
+
return jStat.normal.cdf(zhr, 0, 1);
|
|
12771
12776
|
}
|
|
12772
12777
|
static zfar2Far(zfar) {
|
|
12773
|
-
return
|
|
12778
|
+
return jStat.normal.cdf(zfar, 0, 1);
|
|
12774
12779
|
}
|
|
12775
12780
|
}
|
|
12776
12781
|
|
|
@@ -13114,7 +13119,7 @@
|
|
|
13114
13119
|
}
|
|
13115
13120
|
render() {
|
|
13116
13121
|
/* eslint-disable-line class-methods-use-this */
|
|
13117
|
-
return
|
|
13122
|
+
return x$1`
|
|
13118
13123
|
${DetectableElement.svgFilters}
|
|
13119
13124
|
`;
|
|
13120
13125
|
}
|
|
@@ -13711,7 +13716,7 @@
|
|
|
13711
13716
|
reflect: true
|
|
13712
13717
|
},
|
|
13713
13718
|
state: {
|
|
13714
|
-
|
|
13719
|
+
attribute: false,
|
|
13715
13720
|
type: String,
|
|
13716
13721
|
reflect: false
|
|
13717
13722
|
}
|
|
@@ -13845,13 +13850,13 @@
|
|
|
13845
13850
|
`];
|
|
13846
13851
|
}
|
|
13847
13852
|
render() {
|
|
13848
|
-
return
|
|
13853
|
+
return x$1`
|
|
13849
13854
|
<div class="holder">
|
|
13850
|
-
${this.trials ?
|
|
13851
|
-
${this.duration ?
|
|
13852
|
-
${this.coherence ?
|
|
13853
|
-
${this.payoff ?
|
|
13854
|
-
${this.color !== undefined ?
|
|
13855
|
+
${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``}
|
|
13856
|
+
${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``}
|
|
13857
|
+
${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``}
|
|
13858
|
+
${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``}
|
|
13859
|
+
${this.color !== undefined ? x$1`
|
|
13855
13860
|
<decidables-toggle @change=${this.chooseColor.bind(this)}>
|
|
13856
13861
|
<span slot="label">Emphasis</span>
|
|
13857
13862
|
<decidables-toggle-option name="toggle" value="none" ?checked=${this.color === 'none'}>None</decidables-toggle-option>
|
|
@@ -13861,20 +13866,20 @@
|
|
|
13861
13866
|
<decidables-toggle-option name="toggle" value="outcome" ?checked=${this.color === 'outcome'}>Outcome</decidables-toggle-option>
|
|
13862
13867
|
<decidables-toggle-option name="toggle" value="all" ?checked=${this.color === 'all'}>All</decidables-toggle-option>
|
|
13863
13868
|
</decidables-toggle>
|
|
13864
|
-
` :
|
|
13865
|
-
${this.zRoc !== undefined ?
|
|
13869
|
+
` : x$1``}
|
|
13870
|
+
${this.zRoc !== undefined ? x$1`
|
|
13866
13871
|
<decidables-switch ?checked=${this.zRoc} @change=${this.flipZRoc.bind(this)}>
|
|
13867
13872
|
<span class="math-var">z</span>ROC
|
|
13868
13873
|
<span slot="off-label">ROC</span>
|
|
13869
13874
|
</decidables-switch>
|
|
13870
|
-
` :
|
|
13871
|
-
${this.run || this.pause || this.reset ?
|
|
13875
|
+
` : x$1``}
|
|
13876
|
+
${this.run || this.pause || this.reset ? x$1`
|
|
13872
13877
|
<div class="buttons">
|
|
13873
|
-
${this.run ?
|
|
13874
|
-
${this.pause ?
|
|
13875
|
-
${this.reset ?
|
|
13878
|
+
${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``}
|
|
13879
|
+
${this.pause ? x$1`<decidables-button name="pause" ?disabled=${this.state !== 'running'} @click=${this.doPause.bind(this)}>Pause</decidables-button>` : x$1``}
|
|
13880
|
+
${this.reset ? x$1`<decidables-button name="reset" ?disabled=${this.state === 'resetted'} @click=${this.doReset.bind(this)}>Reset</decidables-button>` : x$1``}
|
|
13876
13881
|
</div>
|
|
13877
|
-
` :
|
|
13882
|
+
` : x$1``}
|
|
13878
13883
|
</div>`;
|
|
13879
13884
|
}
|
|
13880
13885
|
}
|
|
@@ -14050,7 +14055,7 @@
|
|
|
14050
14055
|
trial.duration = duration;
|
|
14051
14056
|
trial.wait = wait;
|
|
14052
14057
|
trial.iti = iti;
|
|
14053
|
-
trial.evidence =
|
|
14058
|
+
trial.evidence = jStat.normal.sample(0, 1);
|
|
14054
14059
|
this.alignTrial(trial);
|
|
14055
14060
|
this.trials.push(trial);
|
|
14056
14061
|
this.requestUpdate();
|
|
@@ -14331,7 +14336,7 @@
|
|
|
14331
14336
|
}
|
|
14332
14337
|
render() {
|
|
14333
14338
|
/* eslint-disable-line class-methods-use-this */
|
|
14334
|
-
return
|
|
14339
|
+
return x$1`
|
|
14335
14340
|
${DetectableElement.svgFilters}
|
|
14336
14341
|
`;
|
|
14337
14342
|
}
|
|
@@ -14666,12 +14671,12 @@
|
|
|
14666
14671
|
const correctRejections = range(xScale.domain()[0], SDTMath.c2L(element.c, element.s), 0.05).map(e => {
|
|
14667
14672
|
return {
|
|
14668
14673
|
e: e,
|
|
14669
|
-
p:
|
|
14674
|
+
p: jStat.normal.pdf(e, SDTMath.d2MuN(element.d, element.s), 1)
|
|
14670
14675
|
};
|
|
14671
14676
|
});
|
|
14672
14677
|
correctRejections.push({
|
|
14673
14678
|
e: SDTMath.c2L(element.c, element.s),
|
|
14674
|
-
p:
|
|
14679
|
+
p: jStat.normal.pdf(SDTMath.c2L(element.c, element.s), SDTMath.d2MuN(element.d, element.s), 1)
|
|
14675
14680
|
});
|
|
14676
14681
|
correctRejections.push({
|
|
14677
14682
|
e: SDTMath.c2L(element.c, element.s),
|
|
@@ -14701,12 +14706,12 @@
|
|
|
14701
14706
|
const falseAlarms = range(SDTMath.c2L(element.c, element.s), xScale.domain()[1], 0.05).map(e => {
|
|
14702
14707
|
return {
|
|
14703
14708
|
e: e,
|
|
14704
|
-
p:
|
|
14709
|
+
p: jStat.normal.pdf(e, SDTMath.d2MuN(element.d, element.s), 1)
|
|
14705
14710
|
};
|
|
14706
14711
|
});
|
|
14707
14712
|
falseAlarms.push({
|
|
14708
14713
|
e: xScale.domain()[1],
|
|
14709
|
-
p:
|
|
14714
|
+
p: jStat.normal.pdf(xScale.domain()[1], SDTMath.d2MuN(element.d, element.s), 1)
|
|
14710
14715
|
});
|
|
14711
14716
|
falseAlarms.push({
|
|
14712
14717
|
e: xScale.domain()[1],
|
|
@@ -14734,12 +14739,12 @@
|
|
|
14734
14739
|
const noise = range(xScale.domain()[0], xScale.domain()[1], 0.05).map(e => {
|
|
14735
14740
|
return {
|
|
14736
14741
|
e: e,
|
|
14737
|
-
p:
|
|
14742
|
+
p: jStat.normal.pdf(e, SDTMath.d2MuN(element.d, element.s), 1)
|
|
14738
14743
|
};
|
|
14739
14744
|
});
|
|
14740
14745
|
noise.push({
|
|
14741
14746
|
e: xScale.domain()[1],
|
|
14742
|
-
p:
|
|
14747
|
+
p: jStat.normal.pdf(xScale.domain()[1], SDTMath.d2MuN(element.d, element.s), 1)
|
|
14743
14748
|
});
|
|
14744
14749
|
return line$1(noise);
|
|
14745
14750
|
};
|
|
@@ -14816,12 +14821,12 @@
|
|
|
14816
14821
|
const misses = range(xScale.domain()[0], SDTMath.c2L(element.c, element.s), 0.05).map(e => {
|
|
14817
14822
|
return {
|
|
14818
14823
|
e: e,
|
|
14819
|
-
p:
|
|
14824
|
+
p: jStat.normal.pdf(e, SDTMath.d2MuS(element.d, element.s), element.s)
|
|
14820
14825
|
};
|
|
14821
14826
|
});
|
|
14822
14827
|
misses.push({
|
|
14823
14828
|
e: SDTMath.c2L(element.c, element.s),
|
|
14824
|
-
p:
|
|
14829
|
+
p: jStat.normal.pdf(SDTMath.c2L(element.c, element.s), SDTMath.d2MuS(element.d, element.s), element.s)
|
|
14825
14830
|
});
|
|
14826
14831
|
misses.push({
|
|
14827
14832
|
e: SDTMath.c2L(element.c, element.s),
|
|
@@ -14851,12 +14856,12 @@
|
|
|
14851
14856
|
const hits = range(SDTMath.c2L(element.c, element.s), xScale.domain()[1], 0.05).map(e => {
|
|
14852
14857
|
return {
|
|
14853
14858
|
e: e,
|
|
14854
|
-
p:
|
|
14859
|
+
p: jStat.normal.pdf(e, SDTMath.d2MuS(element.d, element.s), element.s)
|
|
14855
14860
|
};
|
|
14856
14861
|
});
|
|
14857
14862
|
hits.push({
|
|
14858
14863
|
e: xScale.domain()[1],
|
|
14859
|
-
p:
|
|
14864
|
+
p: jStat.normal.pdf(xScale.domain()[1], SDTMath.d2MuS(element.d, element.s), element.s)
|
|
14860
14865
|
});
|
|
14861
14866
|
hits.push({
|
|
14862
14867
|
e: xScale.domain()[1],
|
|
@@ -14884,12 +14889,12 @@
|
|
|
14884
14889
|
const signal = range(xScale.domain()[0], xScale.domain()[1], 0.05).map(e => {
|
|
14885
14890
|
return {
|
|
14886
14891
|
e: e,
|
|
14887
|
-
p:
|
|
14892
|
+
p: jStat.normal.pdf(e, SDTMath.d2MuS(element.d, element.s), element.s)
|
|
14888
14893
|
};
|
|
14889
14894
|
});
|
|
14890
14895
|
signal.push({
|
|
14891
14896
|
e: xScale.domain()[1],
|
|
14892
|
-
p:
|
|
14897
|
+
p: jStat.normal.pdf(xScale.domain()[1], SDTMath.d2MuS(element.d, element.s), element.s)
|
|
14893
14898
|
});
|
|
14894
14899
|
return line$1(signal);
|
|
14895
14900
|
};
|
|
@@ -14971,13 +14976,13 @@
|
|
|
14971
14976
|
sLabel.append('tspan').classed('value', true);
|
|
14972
14977
|
// MERGE
|
|
14973
14978
|
const sMerge = sEnter.merge(sUpdate);
|
|
14974
|
-
sMerge.select('.line').transition().duration(this.drag ? 0 : transitionDuration).ease(cubicOut).attr('x1', xScale(this.muS - this.s)).attr('y1', yScale(
|
|
14975
|
-
.attr('x2', xScale(this.muS + this.s)).attr('y2', yScale(
|
|
14976
|
-
sMerge.select('.cap-left').transition().duration(this.drag ? 0 : transitionDuration).ease(cubicOut).attr('x1', xScale(this.muS - this.s)).attr('y1', yScale(
|
|
14977
|
-
.attr('x2', xScale(this.muS - this.s)).attr('y2', yScale(
|
|
14978
|
-
sMerge.select('.cap-right').transition().duration(this.drag ? 0 : transitionDuration).ease(cubicOut).attr('x1', xScale(this.muS + this.s)).attr('y1', yScale(
|
|
14979
|
-
.attr('x2', xScale(this.muS + this.s)).attr('y2', yScale(
|
|
14980
|
-
const sLabelTransition = sMerge.select('.label').transition().duration(this.drag ? 0 : transitionDuration).ease(cubicOut).attr('x', xScale(this.muS)).attr('y', yScale(
|
|
14979
|
+
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
|
|
14980
|
+
.attr('x2', xScale(this.muS + this.s)).attr('y2', yScale(jStat.normal.pdf(this.s, 0, this.s)) + 10 / this.s); // FIX - no hardcoding
|
|
14981
|
+
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
|
|
14982
|
+
.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
|
|
14983
|
+
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
|
|
14984
|
+
.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
|
|
14985
|
+
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
|
|
14981
14986
|
sLabelTransition.select('.value').tween('text', (datum, index, elements) => {
|
|
14982
14987
|
const element = elements[index];
|
|
14983
14988
|
const interpolateS = interpolate$1(element.s !== undefined ? element.s : this.s, this.s);
|
|
@@ -15587,28 +15592,28 @@
|
|
|
15587
15592
|
return string + part;
|
|
15588
15593
|
});
|
|
15589
15594
|
};
|
|
15590
|
-
return
|
|
15595
|
+
return x$1`
|
|
15591
15596
|
<div class="holder">
|
|
15592
15597
|
<div class="responses">
|
|
15593
15598
|
<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>
|
|
15594
15599
|
<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>
|
|
15595
15600
|
</div>
|
|
15596
|
-
${this.trial || this.feedback !== 'none' || this.payoff === 'total' ?
|
|
15601
|
+
${this.trial || this.feedback !== 'none' || this.payoff === 'total' ? x$1`
|
|
15597
15602
|
<div class="feedbacks">
|
|
15598
|
-
${this.trial ?
|
|
15603
|
+
${this.trial ? x$1`
|
|
15599
15604
|
<div class="trial">
|
|
15600
15605
|
<span class="label">Trial: </span><span class="count">${this.trialCount}</span><span class="of"> of </span><span class="total">${this.trialTotal}</span>
|
|
15601
|
-
</div>` :
|
|
15602
|
-
${this.feedback !== 'none' ?
|
|
15606
|
+
</div>` : x$1``}
|
|
15607
|
+
${this.feedback !== 'none' ? x$1`
|
|
15603
15608
|
<div class=${`feedback ${this.state === 'feedback' ? this.feedback === 'outcome' ? this.outcome : this.accuracy : ''}`}>
|
|
15604
|
-
${this.state === 'feedback' ? this.feedback === 'outcome' ? this.outcome === 'h' ?
|
|
15605
|
-
${this.state === 'feedback' && (this.payoff === 'trial' || this.payoff === 'total') ?
|
|
15606
|
-
</div>` :
|
|
15607
|
-
${this.payoff === 'total' ?
|
|
15609
|
+
${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>` : ''}
|
|
15610
|
+
${this.state === 'feedback' && (this.payoff === 'trial' || this.payoff === 'total') ? x$1`<span class="payoff">${payoffFormat(this.trialPayoff)}</span>` : x$1``}
|
|
15611
|
+
</div>` : x$1``}
|
|
15612
|
+
${this.payoff === 'total' ? x$1`
|
|
15608
15613
|
<div class="total">
|
|
15609
15614
|
<span class="label">Total: </span><span class="value">${payoffFormat(this.totalPayoff)}</span>
|
|
15610
|
-
</div>` :
|
|
15611
|
-
</div>` :
|
|
15615
|
+
</div>` : x$1``}
|
|
15616
|
+
</div>` : x$1``}
|
|
15612
15617
|
</div>`;
|
|
15613
15618
|
}
|
|
15614
15619
|
}
|
|
@@ -16055,71 +16060,71 @@
|
|
|
16055
16060
|
let ppv;
|
|
16056
16061
|
let fomr;
|
|
16057
16062
|
if (this.numeric) {
|
|
16058
|
-
h =
|
|
16063
|
+
h = x$1`
|
|
16059
16064
|
<decidables-spinner ?disabled=${!this.interactive} min="0" .value="${this.h}" @input=${this.hInput.bind(this)}>
|
|
16060
16065
|
<span>Hits</span>
|
|
16061
|
-
${this.payoff ?
|
|
16066
|
+
${this.payoff ? x$1`<span class="payoff">${payoffFormat(this.hPayoff)}</span>` : x$1``}
|
|
16062
16067
|
</decidables-spinner>
|
|
16063
16068
|
`;
|
|
16064
|
-
m =
|
|
16069
|
+
m = x$1`
|
|
16065
16070
|
<decidables-spinner ?disabled=${!this.interactive} min="0" .value="${this.m}" @input=${this.mInput.bind(this)}>
|
|
16066
16071
|
<span>Misses</span>
|
|
16067
|
-
${this.payoff ?
|
|
16072
|
+
${this.payoff ? x$1`<span class="payoff">${payoffFormat(this.mPayoff)}</span>` : x$1``}
|
|
16068
16073
|
</decidables-spinner>
|
|
16069
16074
|
`;
|
|
16070
|
-
fa =
|
|
16075
|
+
fa = x$1`
|
|
16071
16076
|
<decidables-spinner ?disabled=${!this.interactive} min="0" .value="${this.fa}" @input=${this.faInput.bind(this)}>
|
|
16072
16077
|
<span>False Alarms</span>
|
|
16073
|
-
${this.payoff ?
|
|
16078
|
+
${this.payoff ? x$1`<span class="payoff">${payoffFormat(this.faPayoff)}</span>` : x$1``}
|
|
16074
16079
|
</decidables-spinner>
|
|
16075
16080
|
`;
|
|
16076
|
-
cr =
|
|
16081
|
+
cr = x$1`
|
|
16077
16082
|
<decidables-spinner ?disabled=${!this.interactive} min="0" .value="${this.cr}" @input=${this.crInput.bind(this)}>
|
|
16078
16083
|
<span>Correct Rejections</span>
|
|
16079
|
-
${this.payoff ?
|
|
16084
|
+
${this.payoff ? x$1`<span class="payoff">${payoffFormat(this.crPayoff)}</span>` : x$1``}
|
|
16080
16085
|
</decidables-spinner>
|
|
16081
16086
|
`;
|
|
16082
|
-
hr =
|
|
16087
|
+
hr = x$1`
|
|
16083
16088
|
<decidables-spinner ?disabled=${!this.interactive} min="0" max="1" step=".001" .value="${+this.hr.toFixed(3)}" @input=${this.hrInput.bind(this)}>
|
|
16084
16089
|
<span>Hit Rate</span>
|
|
16085
16090
|
</decidables-spinner>
|
|
16086
16091
|
`;
|
|
16087
|
-
far =
|
|
16092
|
+
far = x$1`
|
|
16088
16093
|
<decidables-spinner ?disabled=${!this.interactive} min="0" max="1" step=".001" .value="${+this.far.toFixed(3)}" @input=${this.farInput.bind(this)}>
|
|
16089
16094
|
<span>False Alarm Rate</span>
|
|
16090
16095
|
</decidables-spinner>
|
|
16091
16096
|
`;
|
|
16092
|
-
acc =
|
|
16097
|
+
acc = x$1`
|
|
16093
16098
|
<decidables-spinner ?disabled=${!this.interactive} min="0" max="1" step=".001" .value="${+this.acc.toFixed(3)}" @input=${this.accInput.bind(this)}>
|
|
16094
16099
|
<span>Accuracy</span>
|
|
16095
16100
|
</decidables-spinner>
|
|
16096
16101
|
`;
|
|
16097
|
-
ppv =
|
|
16102
|
+
ppv = x$1`
|
|
16098
16103
|
<decidables-spinner ?disabled=${!this.interactive} min="0" max="1" step=".001" .value="${+this.ppv.toFixed(3)}" @input=${this.ppvInput.bind(this)}>
|
|
16099
16104
|
<span>Positive Predictive Value</span>
|
|
16100
16105
|
</decidables-spinner>
|
|
16101
16106
|
`;
|
|
16102
|
-
fomr =
|
|
16107
|
+
fomr = x$1`
|
|
16103
16108
|
<decidables-spinner ?disabled=${!this.interactive} min="0" max="1" step=".001" .value="${+this.fomr.toFixed(3)}" @input=${this.fomrInput.bind(this)}>
|
|
16104
16109
|
<span>False Omission Rate</span>
|
|
16105
16110
|
</decidables-spinner>
|
|
16106
16111
|
`;
|
|
16107
16112
|
} else {
|
|
16108
|
-
h =
|
|
16109
|
-
${this.payoff ?
|
|
16110
|
-
m =
|
|
16111
|
-
${this.payoff ?
|
|
16112
|
-
fa =
|
|
16113
|
-
${this.payoff ?
|
|
16114
|
-
cr =
|
|
16115
|
-
${this.payoff ?
|
|
16116
|
-
hr =
|
|
16117
|
-
far =
|
|
16118
|
-
acc =
|
|
16119
|
-
ppv =
|
|
16120
|
-
fomr =
|
|
16113
|
+
h = x$1`<span>Hits</span>
|
|
16114
|
+
${this.payoff ? x$1`<span class="payoff">${payoffFormat(this.hPayoff)}</span>` : x$1``}`;
|
|
16115
|
+
m = x$1`<span>Misses</span>
|
|
16116
|
+
${this.payoff ? x$1`<span class="payoff">${payoffFormat(this.mPayoff)}</span>` : x$1``}`;
|
|
16117
|
+
fa = x$1`<span>False Alarms</span>
|
|
16118
|
+
${this.payoff ? x$1`<span class="payoff">${payoffFormat(this.faPayoff)}</span>` : x$1``}`;
|
|
16119
|
+
cr = x$1`<span>Correct Rejections</span>
|
|
16120
|
+
${this.payoff ? x$1`<span class="payoff">${payoffFormat(this.crPayoff)}</span>` : x$1``}`;
|
|
16121
|
+
hr = x$1`<span>Hit Rate</span>`;
|
|
16122
|
+
far = x$1`<span>False Alarm Rate</span>`;
|
|
16123
|
+
acc = x$1`<span>Accuracy</span>`;
|
|
16124
|
+
ppv = x$1`<span>Positive Predictive Value</span>`;
|
|
16125
|
+
fomr = x$1`<span>False Omission Rate</span>`;
|
|
16121
16126
|
}
|
|
16122
|
-
return
|
|
16127
|
+
return x$1`
|
|
16123
16128
|
<table class=${this.numeric ? 'numeric' : ''}>
|
|
16124
16129
|
<thead>
|
|
16125
16130
|
<tr>
|
|
@@ -16151,10 +16156,10 @@
|
|
|
16151
16156
|
<td class="td td-data m">
|
|
16152
16157
|
${m}
|
|
16153
16158
|
</td>
|
|
16154
|
-
${this.summary.has('stimulusRates') ?
|
|
16159
|
+
${this.summary.has('stimulusRates') ? x$1`
|
|
16155
16160
|
<td class="td td-summary hr">
|
|
16156
16161
|
${hr}
|
|
16157
|
-
</td>` :
|
|
16162
|
+
</td>` : x$1``}
|
|
16158
16163
|
</tr>
|
|
16159
16164
|
<tr>
|
|
16160
16165
|
<th class="th th-sub th-left" scope="row">
|
|
@@ -16166,27 +16171,27 @@
|
|
|
16166
16171
|
<td class="td td-data cr">
|
|
16167
16172
|
${cr}
|
|
16168
16173
|
</td>
|
|
16169
|
-
${this.summary.has('stimulusRates') ?
|
|
16174
|
+
${this.summary.has('stimulusRates') ? x$1`
|
|
16170
16175
|
<td class="td td-summary far">
|
|
16171
16176
|
${far}
|
|
16172
|
-
</td>` :
|
|
16177
|
+
</td>` : x$1``}
|
|
16173
16178
|
</tr>
|
|
16174
|
-
${this.summary.has('responseRates') || this.summary.has('accuracy') ?
|
|
16179
|
+
${this.summary.has('responseRates') || this.summary.has('accuracy') ? x$1`
|
|
16175
16180
|
<tr>
|
|
16176
16181
|
<td colspan="2"></td>
|
|
16177
|
-
${this.summary.has('responseRates') ?
|
|
16182
|
+
${this.summary.has('responseRates') ? x$1`
|
|
16178
16183
|
<td class="td td-summary ppv">
|
|
16179
16184
|
${ppv}
|
|
16180
16185
|
</td>
|
|
16181
16186
|
<td class="td td-summary fomr">
|
|
16182
16187
|
${fomr}
|
|
16183
|
-
</td>` :
|
|
16188
|
+
</td>` : x$1`
|
|
16184
16189
|
<td colspan="2"></td>`}
|
|
16185
|
-
${this.summary.has('accuracy') ?
|
|
16190
|
+
${this.summary.has('accuracy') ? x$1`
|
|
16186
16191
|
<td class="td td-summary acc" rowspan="2">
|
|
16187
16192
|
${acc}
|
|
16188
|
-
</td>` :
|
|
16189
|
-
</tr>` :
|
|
16193
|
+
</td>` : x$1``}
|
|
16194
|
+
</tr>` : x$1``}
|
|
16190
16195
|
</tbody>
|
|
16191
16196
|
</table>`;
|
|
16192
16197
|
}
|
|
@@ -16421,35 +16426,35 @@
|
|
|
16421
16426
|
let s;
|
|
16422
16427
|
let far;
|
|
16423
16428
|
if (this.numeric) {
|
|
16424
|
-
d =
|
|
16429
|
+
d = x$1`
|
|
16425
16430
|
<decidables-spinner class="d bottom" ?disabled=${!this.interactive} step=".001" .value="${this.d}" @input=${this.dInput.bind(this)}>
|
|
16426
16431
|
<var class="math-var">d′</var>
|
|
16427
16432
|
</decidables-spinner>
|
|
16428
16433
|
`;
|
|
16429
|
-
c =
|
|
16434
|
+
c = x$1`
|
|
16430
16435
|
<decidables-spinner class="c bottom" ?disabled=${!this.interactive} step=".001" .value="${this.c}" @input=${this.cInput.bind(this)}>
|
|
16431
16436
|
<var class="math-var">c</var>
|
|
16432
16437
|
</decidables-spinner>
|
|
16433
16438
|
`;
|
|
16434
|
-
s =
|
|
16439
|
+
s = x$1`
|
|
16435
16440
|
<decidables-spinner class="s bottom" ?disabled=${!this.interactive} min="0" step=".001" .value="${this.s}" @input=${this.sInput.bind(this)}>
|
|
16436
16441
|
<var class="math-var">σ</var>
|
|
16437
16442
|
</decidables-spinner>
|
|
16438
16443
|
`;
|
|
16439
|
-
far =
|
|
16444
|
+
far = x$1`
|
|
16440
16445
|
<decidables-spinner class="far bottom" disabled min="0" max="1" step=".001" .value="${+this.far.toFixed(3)}">
|
|
16441
16446
|
<var>False Alarm Rate</var>
|
|
16442
16447
|
</decidables-spinner>
|
|
16443
16448
|
`;
|
|
16444
16449
|
} else {
|
|
16445
|
-
d =
|
|
16446
|
-
c =
|
|
16447
|
-
s =
|
|
16448
|
-
far =
|
|
16450
|
+
d = x$1`<var class="math-var d">d′</var>`;
|
|
16451
|
+
c = x$1`<var class="math-var c">c</var>`;
|
|
16452
|
+
s = x$1`<var class="math-var s">σ</var>`;
|
|
16453
|
+
far = x$1`<var class="far">False Alarm Rate</var>`;
|
|
16449
16454
|
}
|
|
16450
16455
|
let equation;
|
|
16451
16456
|
if (this.unequal) {
|
|
16452
|
-
equation =
|
|
16457
|
+
equation = x$1`
|
|
16453
16458
|
<tr>
|
|
16454
16459
|
<td rowspan="2">
|
|
16455
16460
|
${far}<span class="equals">=</span><var class="math-greek phi tight">Φ</var><span class="paren tight">(</span><span class="bracket tight">[</span>
|
|
@@ -16476,7 +16481,7 @@
|
|
|
16476
16481
|
</td>
|
|
16477
16482
|
</tr>`;
|
|
16478
16483
|
} else {
|
|
16479
|
-
equation =
|
|
16484
|
+
equation = x$1`
|
|
16480
16485
|
<tr>
|
|
16481
16486
|
<td rowspan="2">
|
|
16482
16487
|
${far}<span class="equals">=</span><var class="math-greek phi tight">Φ</var><span class="paren tight">(</span><span class="minus tight">−</span>
|
|
@@ -16494,7 +16499,7 @@
|
|
|
16494
16499
|
</td>
|
|
16495
16500
|
</tr>`;
|
|
16496
16501
|
}
|
|
16497
|
-
return
|
|
16502
|
+
return x$1`
|
|
16498
16503
|
<div class="holder">
|
|
16499
16504
|
<table class="equation">
|
|
16500
16505
|
<tbody>
|
|
@@ -16587,35 +16592,35 @@
|
|
|
16587
16592
|
let s;
|
|
16588
16593
|
let hr;
|
|
16589
16594
|
if (this.numeric) {
|
|
16590
|
-
d =
|
|
16595
|
+
d = x$1`
|
|
16591
16596
|
<decidables-spinner class="d bottom" ?disabled=${!this.interactive} step=".001" .value="${this.d}" @input=${this.dInput.bind(this)}>
|
|
16592
16597
|
<var class="math-var">d′</var>
|
|
16593
16598
|
</decidables-spinner>
|
|
16594
16599
|
`;
|
|
16595
|
-
c =
|
|
16600
|
+
c = x$1`
|
|
16596
16601
|
<decidables-spinner class="c bottom" ?disabled=${!this.interactive} step=".001" .value="${this.c}" @input=${this.cInput.bind(this)}>
|
|
16597
16602
|
<var class="math-var">c</var>
|
|
16598
16603
|
</decidables-spinner>
|
|
16599
16604
|
`;
|
|
16600
|
-
s =
|
|
16605
|
+
s = x$1`
|
|
16601
16606
|
<decidables-spinner class="s bottom" ?disabled=${!this.interactive} min="0" step=".001" .value="${this.s}" @input=${this.sInput.bind(this)}>
|
|
16602
16607
|
<var class="math-var">σ</var>
|
|
16603
16608
|
</decidables-spinner>
|
|
16604
16609
|
`;
|
|
16605
|
-
hr =
|
|
16610
|
+
hr = x$1`
|
|
16606
16611
|
<decidables-spinner class="hr bottom" disabled min="0" max="1" step=".001" .value="${+this.hr.toFixed(3)}">
|
|
16607
16612
|
<var>Hit Rate</var>
|
|
16608
16613
|
</decidables-spinner>
|
|
16609
16614
|
`;
|
|
16610
16615
|
} else {
|
|
16611
|
-
d =
|
|
16612
|
-
c =
|
|
16613
|
-
s =
|
|
16614
|
-
hr =
|
|
16616
|
+
d = x$1`<var class="math-var d">d′</var>`;
|
|
16617
|
+
c = x$1`<var class="math-var c">c</var>`;
|
|
16618
|
+
s = x$1`<var class="math-var s">σ</var>`;
|
|
16619
|
+
hr = x$1`<var class="hr">Hit Rate</var>`;
|
|
16615
16620
|
}
|
|
16616
16621
|
let equation;
|
|
16617
16622
|
if (this.unequal) {
|
|
16618
|
-
equation =
|
|
16623
|
+
equation = x$1`
|
|
16619
16624
|
<tr>
|
|
16620
16625
|
<td rowspan="2">
|
|
16621
16626
|
${hr}<span class="equals">=</span><var class="math-greek phi tight">Φ</var><span class="paren tight">(</span><span class="bracket tight">[</span>
|
|
@@ -16651,7 +16656,7 @@
|
|
|
16651
16656
|
</td>
|
|
16652
16657
|
</tr>`;
|
|
16653
16658
|
} else {
|
|
16654
|
-
equation =
|
|
16659
|
+
equation = x$1`
|
|
16655
16660
|
<tr>
|
|
16656
16661
|
<td rowspan="2">
|
|
16657
16662
|
${hr}<span class="equals">=</span><var class="math-greek phi tight">Φ</var><span class="paren tight">(</span>
|
|
@@ -16669,7 +16674,7 @@
|
|
|
16669
16674
|
</td>
|
|
16670
16675
|
</tr>`;
|
|
16671
16676
|
}
|
|
16672
|
-
return
|
|
16677
|
+
return x$1`
|
|
16673
16678
|
<div class="holder">
|
|
16674
16679
|
<table class="equation">
|
|
16675
16680
|
<tbody>
|
|
@@ -16743,27 +16748,27 @@
|
|
|
16743
16748
|
let cr;
|
|
16744
16749
|
let far;
|
|
16745
16750
|
if (this.numeric) {
|
|
16746
|
-
fa =
|
|
16751
|
+
fa = x$1`
|
|
16747
16752
|
<decidables-spinner class="fa" ?disabled=${!this.interactive} min="0" .value="${this.fa}" @input=${this.faInput.bind(this)}>
|
|
16748
16753
|
<var>False Alarms</var>
|
|
16749
16754
|
</decidables-spinner>
|
|
16750
16755
|
`;
|
|
16751
|
-
cr =
|
|
16756
|
+
cr = x$1`
|
|
16752
16757
|
<decidables-spinner class="cr" ?disabled=${!this.interactive} min="0" .value="${this.cr}" @input=${this.crInput.bind(this)}>
|
|
16753
16758
|
<var>Correct Rejections</var>
|
|
16754
16759
|
</decidables-spinner>
|
|
16755
16760
|
`;
|
|
16756
|
-
far =
|
|
16761
|
+
far = x$1`
|
|
16757
16762
|
<decidables-spinner class="far" disabled min="0" max="1" step=".001" .value="${+this.far.toFixed(3)}">
|
|
16758
16763
|
<var>False Alarm Rate</var>
|
|
16759
16764
|
</decidables-spinner>
|
|
16760
16765
|
`;
|
|
16761
16766
|
} else {
|
|
16762
|
-
fa =
|
|
16763
|
-
cr =
|
|
16764
|
-
far =
|
|
16767
|
+
fa = x$1`<var class="fa">False Alarms</var>`;
|
|
16768
|
+
cr = x$1`<var class="cr">Correct Rejections</var>`;
|
|
16769
|
+
far = x$1`<var class="far">False Alarm Rate</var>`;
|
|
16765
16770
|
}
|
|
16766
|
-
return
|
|
16771
|
+
return x$1`
|
|
16767
16772
|
<div class="holder">
|
|
16768
16773
|
<table class="equation">
|
|
16769
16774
|
<tbody>
|
|
@@ -16849,27 +16854,27 @@
|
|
|
16849
16854
|
let fa;
|
|
16850
16855
|
let ppv;
|
|
16851
16856
|
if (this.numeric) {
|
|
16852
|
-
h =
|
|
16857
|
+
h = x$1`
|
|
16853
16858
|
<decidables-spinner class="h" ?disabled=${!this.interactive} min="0" .value="${this.h}" @input=${this.hInput.bind(this)}>
|
|
16854
16859
|
<var>Hits</var>
|
|
16855
16860
|
</decidables-spinner>
|
|
16856
16861
|
`;
|
|
16857
|
-
fa =
|
|
16862
|
+
fa = x$1`
|
|
16858
16863
|
<decidables-spinner class="fa" ?disabled=${!this.interactive} min="0" .value="${this.fa}" @input=${this.faInput.bind(this)}>
|
|
16859
16864
|
<var>False Alarms</var>
|
|
16860
16865
|
</decidables-spinner>
|
|
16861
16866
|
`;
|
|
16862
|
-
ppv =
|
|
16867
|
+
ppv = x$1`
|
|
16863
16868
|
<decidables-spinner class="ppv" disabled min="0" max="1" step=".001" .value="${+this.ppv.toFixed(3)}">
|
|
16864
16869
|
<var>Positive Predictive Value</var>
|
|
16865
16870
|
</decidables-spinner>
|
|
16866
16871
|
`;
|
|
16867
16872
|
} else {
|
|
16868
|
-
h =
|
|
16869
|
-
fa =
|
|
16870
|
-
ppv =
|
|
16873
|
+
h = x$1`<var class="h">Hits</var>`;
|
|
16874
|
+
fa = x$1`<var class="fa">False Alarms</var>`;
|
|
16875
|
+
ppv = x$1`<var class="ppv">Positive Predictive Value</var>`;
|
|
16871
16876
|
}
|
|
16872
|
-
return
|
|
16877
|
+
return x$1`
|
|
16873
16878
|
<div class="holder">
|
|
16874
16879
|
<table class="equation">
|
|
16875
16880
|
<tbody>
|
|
@@ -16956,27 +16961,27 @@
|
|
|
16956
16961
|
let m;
|
|
16957
16962
|
let hr;
|
|
16958
16963
|
if (this.numeric) {
|
|
16959
|
-
h =
|
|
16964
|
+
h = x$1`
|
|
16960
16965
|
<decidables-spinner class="h" ?disabled=${!this.interactive} min="0" .value="${this.h}" @input=${this.hInput.bind(this)}>
|
|
16961
16966
|
<var>Hits</var>
|
|
16962
16967
|
</decidables-spinner>
|
|
16963
16968
|
`;
|
|
16964
|
-
m =
|
|
16969
|
+
m = x$1`
|
|
16965
16970
|
<decidables-spinner class="m" ?disabled=${!this.interactive} min="0" .value="${this.m}" @input=${this.mInput.bind(this)}>
|
|
16966
16971
|
<var>Misses</var>
|
|
16967
16972
|
</decidables-spinner>
|
|
16968
16973
|
`;
|
|
16969
|
-
hr =
|
|
16974
|
+
hr = x$1`
|
|
16970
16975
|
<decidables-spinner class="hr" disabled min="0" max="1" step=".001" .value="${+this.hr.toFixed(3)}">
|
|
16971
16976
|
<var>Hit Rate</var>
|
|
16972
16977
|
</decidables-spinner>
|
|
16973
16978
|
`;
|
|
16974
16979
|
} else {
|
|
16975
|
-
h =
|
|
16976
|
-
m =
|
|
16977
|
-
hr =
|
|
16980
|
+
h = x$1`<var class="h">Hits</var>`;
|
|
16981
|
+
m = x$1`<var class="m">Misses</var>`;
|
|
16982
|
+
hr = x$1`<var class="hr">Hit Rate</var>`;
|
|
16978
16983
|
}
|
|
16979
|
-
return
|
|
16984
|
+
return x$1`
|
|
16980
16985
|
<div class="holder">
|
|
16981
16986
|
<table class="equation">
|
|
16982
16987
|
<tbody>
|
|
@@ -17089,39 +17094,39 @@
|
|
|
17089
17094
|
let cr;
|
|
17090
17095
|
let acc;
|
|
17091
17096
|
if (this.numeric) {
|
|
17092
|
-
h =
|
|
17097
|
+
h = x$1`
|
|
17093
17098
|
<decidables-spinner class="h" ?disabled=${!this.interactive} min="0" .value="${this.h}" @input=${this.hInput.bind(this)}>
|
|
17094
17099
|
<var>Hits</var>
|
|
17095
17100
|
</decidables-spinner>
|
|
17096
17101
|
`;
|
|
17097
|
-
m =
|
|
17102
|
+
m = x$1`
|
|
17098
17103
|
<decidables-spinner class="m" ?disabled=${!this.interactive} min="0" .value="${this.m}" @input=${this.mInput.bind(this)}>
|
|
17099
17104
|
<var>Misses</var>
|
|
17100
17105
|
</decidables-spinner>
|
|
17101
17106
|
`;
|
|
17102
|
-
fa =
|
|
17107
|
+
fa = x$1`
|
|
17103
17108
|
<decidables-spinner class="fa" ?disabled=${!this.interactive} min="0" .value="${this.fa}" @input=${this.faInput.bind(this)}>
|
|
17104
17109
|
<var>False Alarms</var>
|
|
17105
17110
|
</decidables-spinner>
|
|
17106
17111
|
`;
|
|
17107
|
-
cr =
|
|
17112
|
+
cr = x$1`
|
|
17108
17113
|
<decidables-spinner class="cr" ?disabled=${!this.interactive} min="0" .value="${this.cr}" @input=${this.crInput.bind(this)}>
|
|
17109
17114
|
<var>Correct Rejections</var>
|
|
17110
17115
|
</decidables-spinner>
|
|
17111
17116
|
`;
|
|
17112
|
-
acc =
|
|
17117
|
+
acc = x$1`
|
|
17113
17118
|
<decidables-spinner class="acc" disabled min="0" max="1" step=".001" .value="${+this.acc.toFixed(3)}">
|
|
17114
17119
|
<var>Accuracy</var>
|
|
17115
17120
|
</decidables-spinner>
|
|
17116
17121
|
`;
|
|
17117
17122
|
} else {
|
|
17118
|
-
h =
|
|
17119
|
-
m =
|
|
17120
|
-
fa =
|
|
17121
|
-
cr =
|
|
17122
|
-
acc =
|
|
17123
|
+
h = x$1`<var class="h">Hits</var>`;
|
|
17124
|
+
m = x$1`<var class="m">Misses</var>`;
|
|
17125
|
+
fa = x$1`<var class="fa">False Alarms</var>`;
|
|
17126
|
+
cr = x$1`<var class="cr">Correct Rejections</var>`;
|
|
17127
|
+
acc = x$1`<var class="acc">Accuracy</var>`;
|
|
17123
17128
|
}
|
|
17124
|
-
return
|
|
17129
|
+
return x$1`
|
|
17125
17130
|
<div class="holder">
|
|
17126
17131
|
<table class="equation">
|
|
17127
17132
|
<tbody>
|
|
@@ -17226,35 +17231,35 @@
|
|
|
17226
17231
|
let s;
|
|
17227
17232
|
let c;
|
|
17228
17233
|
if (this.numeric) {
|
|
17229
|
-
hr =
|
|
17234
|
+
hr = x$1`
|
|
17230
17235
|
<decidables-spinner class="hr bottom" ?disabled=${!this.interactive} min="0" max="1" step=".001" .value="${this.hr}" @input=${this.hrInput.bind(this)}>
|
|
17231
17236
|
<var>Hit Rate</var>
|
|
17232
17237
|
</decidables-spinner>
|
|
17233
17238
|
`;
|
|
17234
|
-
far =
|
|
17239
|
+
far = x$1`
|
|
17235
17240
|
<decidables-spinner class="far bottom" ?disabled=${!this.interactive} min="0" max="1" step=".001" .value="${this.far}" @input=${this.farInput.bind(this)}>
|
|
17236
17241
|
<var>False Alarm Rate</var>
|
|
17237
17242
|
</decidables-spinner>
|
|
17238
17243
|
`;
|
|
17239
|
-
s =
|
|
17244
|
+
s = x$1`
|
|
17240
17245
|
<decidables-spinner class="s bottom" ?disabled=${!this.interactive} min="0" step=".001" .value="${this.s}" @input=${this.sInput.bind(this)}>
|
|
17241
17246
|
<var class="math-var">σ</var>
|
|
17242
17247
|
</decidables-spinner>
|
|
17243
17248
|
`;
|
|
17244
|
-
c =
|
|
17249
|
+
c = x$1`
|
|
17245
17250
|
<decidables-spinner class="c bottom" disabled step=".001" .value="${+this.c.toFixed(3)}">
|
|
17246
17251
|
<var class="math-var">c</var>
|
|
17247
17252
|
</decidables-spinner>
|
|
17248
17253
|
`;
|
|
17249
17254
|
} else {
|
|
17250
|
-
hr =
|
|
17251
|
-
far =
|
|
17252
|
-
s =
|
|
17253
|
-
c =
|
|
17255
|
+
hr = x$1`<var class="hr">Hit Rate</var>`;
|
|
17256
|
+
far = x$1`<var class="far">False Alarm Rate</var>`;
|
|
17257
|
+
s = x$1`<var class="math-var s">σ</var>`;
|
|
17258
|
+
c = x$1`<var class="math-var c">c</var>`;
|
|
17254
17259
|
}
|
|
17255
17260
|
let equation;
|
|
17256
17261
|
if (this.unequal) {
|
|
17257
|
-
equation =
|
|
17262
|
+
equation = x$1`
|
|
17258
17263
|
<tr>
|
|
17259
17264
|
<td rowspan="2">
|
|
17260
17265
|
${c}<span class="equals">=</span><span class="bracket tight">(</span>
|
|
@@ -17281,7 +17286,7 @@
|
|
|
17281
17286
|
</td>
|
|
17282
17287
|
</tr>`;
|
|
17283
17288
|
} else {
|
|
17284
|
-
equation =
|
|
17289
|
+
equation = x$1`
|
|
17285
17290
|
<tr>
|
|
17286
17291
|
<td rowspan="2">
|
|
17287
17292
|
${c}<span class="equals">=</span>
|
|
@@ -17296,7 +17301,7 @@
|
|
|
17296
17301
|
</td>
|
|
17297
17302
|
</tr>`;
|
|
17298
17303
|
}
|
|
17299
|
-
return
|
|
17304
|
+
return x$1`
|
|
17300
17305
|
<div class="holder">
|
|
17301
17306
|
<table class="equation">
|
|
17302
17307
|
<tbody>
|
|
@@ -17389,35 +17394,35 @@
|
|
|
17389
17394
|
let s;
|
|
17390
17395
|
let d;
|
|
17391
17396
|
if (this.numeric) {
|
|
17392
|
-
hr =
|
|
17397
|
+
hr = x$1`
|
|
17393
17398
|
<decidables-spinner class="hr bottom" ?disabled=${!this.interactive} min="0" max="1" step=".001" .value="${this.hr}" @input=${this.hrInput.bind(this)}>
|
|
17394
17399
|
<var>Hit Rate</var>
|
|
17395
17400
|
</decidables-spinner>
|
|
17396
17401
|
`;
|
|
17397
|
-
far =
|
|
17402
|
+
far = x$1`
|
|
17398
17403
|
<decidables-spinner class="far bottom" ?disabled=${!this.interactive} min="0" max="1" step=".001" .value="${this.far}" @input=${this.farInput.bind(this)}>
|
|
17399
17404
|
<var>False Alarm Rate</var>
|
|
17400
17405
|
</decidables-spinner>
|
|
17401
17406
|
`;
|
|
17402
|
-
s =
|
|
17407
|
+
s = x$1`
|
|
17403
17408
|
<decidables-spinner class="s bottom" ?disabled=${!this.interactive} min="0" step=".001" .value="${this.s}" @input=${this.sInput.bind(this)}>
|
|
17404
17409
|
<var class="math-var">σ</var>
|
|
17405
17410
|
</decidables-spinner>
|
|
17406
17411
|
`;
|
|
17407
|
-
d =
|
|
17412
|
+
d = x$1`
|
|
17408
17413
|
<decidables-spinner class="d bottom" disabled step=".001" .value="${+this.d.toFixed(3)}">
|
|
17409
17414
|
<var class="math-var">d′</var>
|
|
17410
17415
|
</decidables-spinner>
|
|
17411
17416
|
`;
|
|
17412
17417
|
} else {
|
|
17413
|
-
hr =
|
|
17414
|
-
far =
|
|
17415
|
-
s =
|
|
17416
|
-
d =
|
|
17418
|
+
hr = x$1`<var class="hr">Hit Rate</var>`;
|
|
17419
|
+
far = x$1`<var class="far">False Alarm Rate</var>`;
|
|
17420
|
+
s = x$1`<var class="math-var s">σ</var>`;
|
|
17421
|
+
d = x$1`<var class="math-var d">d′</var>`;
|
|
17417
17422
|
}
|
|
17418
17423
|
let equation;
|
|
17419
17424
|
if (this.unequal) {
|
|
17420
|
-
equation =
|
|
17425
|
+
equation = x$1`
|
|
17421
17426
|
<tr>
|
|
17422
17427
|
<td rowspan="2">
|
|
17423
17428
|
${d}<span class="equals">=</span><span class="bracket tight">(</span>
|
|
@@ -17435,14 +17440,14 @@
|
|
|
17435
17440
|
</td>
|
|
17436
17441
|
</tr>`;
|
|
17437
17442
|
} else {
|
|
17438
|
-
equation =
|
|
17443
|
+
equation = x$1`
|
|
17439
17444
|
<tr>
|
|
17440
17445
|
<td>
|
|
17441
17446
|
${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>
|
|
17442
17447
|
</td>
|
|
17443
17448
|
</tr>`;
|
|
17444
17449
|
}
|
|
17445
|
-
return
|
|
17450
|
+
return x$1`
|
|
17446
17451
|
<div class="holder">
|
|
17447
17452
|
<table class="equation">
|
|
17448
17453
|
<tbody>
|
|
@@ -17516,27 +17521,27 @@
|
|
|
17516
17521
|
let cr;
|
|
17517
17522
|
let fomr;
|
|
17518
17523
|
if (this.numeric) {
|
|
17519
|
-
m =
|
|
17524
|
+
m = x$1`
|
|
17520
17525
|
<decidables-spinner class="m" ?disabled=${!this.interactive} min="0" .value="${this.m}" @input=${this.mInput.bind(this)}>
|
|
17521
17526
|
<var>Misses</var>
|
|
17522
17527
|
</decidables-spinner>
|
|
17523
17528
|
`;
|
|
17524
|
-
cr =
|
|
17529
|
+
cr = x$1`
|
|
17525
17530
|
<decidables-spinner class="cr" ?disabled=${!this.interactive} min="0" .value="${this.cr}" @input=${this.crInput.bind(this)}>
|
|
17526
17531
|
<var>Correct Rejections</var>
|
|
17527
17532
|
</decidables-spinner>
|
|
17528
17533
|
`;
|
|
17529
|
-
fomr =
|
|
17534
|
+
fomr = x$1`
|
|
17530
17535
|
<decidables-spinner class="fomr" disabled min="0" max="1" step=".001" .value="${+this.fomr.toFixed(3)}">
|
|
17531
17536
|
<var>False Omission Rate</var>
|
|
17532
17537
|
</decidables-spinner>
|
|
17533
17538
|
`;
|
|
17534
17539
|
} else {
|
|
17535
|
-
m =
|
|
17536
|
-
cr =
|
|
17537
|
-
fomr =
|
|
17540
|
+
m = x$1`<var class="m">Misses</var>`;
|
|
17541
|
+
cr = x$1`<var class="cr">Correct Rejections</var>`;
|
|
17542
|
+
fomr = x$1`<var class="fomr">False Omission Rate</var>`;
|
|
17538
17543
|
}
|
|
17539
|
-
return
|
|
17544
|
+
return x$1`
|
|
17540
17545
|
<div class="holder">
|
|
17541
17546
|
<table class="equation">
|
|
17542
17547
|
<tbody>
|
|
@@ -17615,7 +17620,7 @@
|
|
|
17615
17620
|
}
|
|
17616
17621
|
render() {
|
|
17617
17622
|
/* eslint-disable-line class-methods-use-this */
|
|
17618
|
-
return
|
|
17623
|
+
return x$1`
|
|
17619
17624
|
<div class="holder">
|
|
17620
17625
|
<div class="body">
|
|
17621
17626
|
<slot>Empty!</slot>
|