@decidables/detectable-elements 0.3.0 → 0.4.0

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.
@@ -10,20 +10,20 @@
10
10
  * SPDX-License-Identifier: BSD-3-Clause
11
11
  */
12
12
  const t$1 = globalThis,
13
- e$2 = t$1.ShadowRoot && (undefined === t$1.ShadyCSS || t$1.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype,
14
- s$1 = Symbol(),
15
- o$3 = new WeakMap();
13
+ e$2 = t$1.ShadowRoot && (void 0 === t$1.ShadyCSS || t$1.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype,
14
+ s$2 = Symbol(),
15
+ o$4 = new WeakMap();
16
16
  let n$2 = class n {
17
17
  constructor(t, e, o) {
18
- if (this._$cssResult$ = true, o !== s$1) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
18
+ if (this._$cssResult$ = true, o !== s$2) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
19
19
  this.cssText = t, this.t = e;
20
20
  }
21
21
  get styleSheet() {
22
22
  let t = this.o;
23
23
  const s = this.t;
24
- if (e$2 && undefined === t) {
25
- const e = undefined !== s && 1 === s.length;
26
- e && (t = o$3.get(s)), undefined === t && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), e && o$3.set(s, t));
24
+ if (e$2 && void 0 === t) {
25
+ const e = void 0 !== s && 1 === s.length;
26
+ e && (t = o$4.get(s)), void 0 === t && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), e && o$4.set(s, t));
27
27
  }
28
28
  return t;
29
29
  }
@@ -31,26 +31,26 @@
31
31
  return this.cssText;
32
32
  }
33
33
  };
34
- const r$3 = t => new n$2("string" == typeof t ? t : t + "", undefined, s$1),
34
+ const r$2 = t => new n$2("string" == typeof t ? t : t + "", void 0, s$2),
35
35
  i$3 = (t, ...e) => {
36
36
  const o = 1 === t.length ? t[0] : e.reduce((e, s, o) => e + (t => {
37
37
  if (true === t._$cssResult$) return t.cssText;
38
38
  if ("number" == typeof t) return t;
39
39
  throw Error("Value passed to 'css' function must be a 'css' function result: " + t + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
40
40
  })(s) + t[o + 1], t[0]);
41
- return new n$2(o, t, s$1);
41
+ return new n$2(o, t, s$2);
42
42
  },
43
43
  S$1 = (s, o) => {
44
44
  if (e$2) s.adoptedStyleSheets = o.map(t => t instanceof CSSStyleSheet ? t : t.styleSheet);else for (const e of o) {
45
45
  const o = document.createElement("style"),
46
46
  n = t$1.litNonce;
47
- undefined !== n && o.setAttribute("nonce", n), o.textContent = e.cssText, s.appendChild(o);
47
+ void 0 !== n && o.setAttribute("nonce", n), o.textContent = e.cssText, s.appendChild(o);
48
48
  }
49
49
  },
50
50
  c$2 = e$2 ? t => t : t => t instanceof CSSStyleSheet ? (t => {
51
51
  let e = "";
52
52
  for (const s of t.cssRules) e += s.cssText;
53
- return r$3(e);
53
+ return r$2(e);
54
54
  })(t) : t;
55
55
 
56
56
  /**
@@ -61,9 +61,9 @@
61
61
  const {
62
62
  is: i$2,
63
63
  defineProperty: e$1,
64
- getOwnPropertyDescriptor: r$2,
65
- getOwnPropertyNames: h$1,
66
- getOwnPropertySymbols: o$2,
64
+ getOwnPropertyDescriptor: h$1,
65
+ getOwnPropertyNames: r$1,
66
+ getOwnPropertySymbols: o$3,
67
67
  getPrototypeOf: n$1
68
68
  } = Object,
69
69
  a$1 = globalThis,
@@ -104,33 +104,34 @@
104
104
  }
105
105
  },
106
106
  f$1 = (t, s) => !i$2(t, s),
107
- y$2 = {
107
+ b$1 = {
108
108
  attribute: true,
109
109
  type: String,
110
110
  converter: u$1,
111
111
  reflect: false,
112
+ useDefault: false,
112
113
  hasChanged: f$1
113
114
  };
114
115
  Symbol.metadata ??= Symbol("metadata"), a$1.litPropertyMetadata ??= new WeakMap();
115
- let b$1 = class b extends HTMLElement {
116
+ let y$2 = class y extends HTMLElement {
116
117
  static addInitializer(t) {
117
118
  this._$Ei(), (this.l ??= []).push(t);
118
119
  }
119
120
  static get observedAttributes() {
120
121
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
121
122
  }
122
- static createProperty(t, s = y$2) {
123
- if (s.state && (s.attribute = false), this._$Ei(), this.elementProperties.set(t, s), !s.noAccessor) {
123
+ static createProperty(t, s = b$1) {
124
+ if (s.state && (s.attribute = false), this._$Ei(), this.prototype.hasOwnProperty(t) && ((s = Object.create(s)).wrapped = true), this.elementProperties.set(t, s), !s.noAccessor) {
124
125
  const i = Symbol(),
125
- r = this.getPropertyDescriptor(t, i, s);
126
- undefined !== r && e$1(this.prototype, t, r);
126
+ h = this.getPropertyDescriptor(t, i, s);
127
+ void 0 !== h && e$1(this.prototype, t, h);
127
128
  }
128
129
  }
129
130
  static getPropertyDescriptor(t, s, i) {
130
131
  const {
131
132
  get: e,
132
- set: h
133
- } = r$2(this.prototype, t) ?? {
133
+ set: r
134
+ } = h$1(this.prototype, t) ?? {
134
135
  get() {
135
136
  return this[s];
136
137
  },
@@ -139,41 +140,39 @@
139
140
  }
140
141
  };
141
142
  return {
142
- get() {
143
- return e?.call(this);
144
- },
143
+ get: e,
145
144
  set(s) {
146
- const r = e?.call(this);
147
- h.call(this, s), this.requestUpdate(t, r, i);
145
+ const h = e?.call(this);
146
+ r?.call(this, s), this.requestUpdate(t, h, i);
148
147
  },
149
148
  configurable: true,
150
149
  enumerable: true
151
150
  };
152
151
  }
153
152
  static getPropertyOptions(t) {
154
- return this.elementProperties.get(t) ?? y$2;
153
+ return this.elementProperties.get(t) ?? b$1;
155
154
  }
156
155
  static _$Ei() {
157
156
  if (this.hasOwnProperty(d$1("elementProperties"))) return;
158
157
  const t = n$1(this);
159
- t.finalize(), undefined !== t.l && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
158
+ t.finalize(), void 0 !== t.l && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
160
159
  }
161
160
  static finalize() {
162
161
  if (this.hasOwnProperty(d$1("finalized"))) return;
163
162
  if (this.finalized = true, this._$Ei(), this.hasOwnProperty(d$1("properties"))) {
164
163
  const t = this.properties,
165
- s = [...h$1(t), ...o$2(t)];
164
+ s = [...r$1(t), ...o$3(t)];
166
165
  for (const i of s) this.createProperty(i, t[i]);
167
166
  }
168
167
  const t = this[Symbol.metadata];
169
168
  if (null !== t) {
170
169
  const s = litPropertyMetadata.get(t);
171
- if (undefined !== s) for (const [t, i] of s) this.elementProperties.set(t, i);
170
+ if (void 0 !== s) for (const [t, i] of s) this.elementProperties.set(t, i);
172
171
  }
173
172
  this._$Eh = new Map();
174
173
  for (const [t, s] of this.elementProperties) {
175
174
  const i = this._$Eu(t, s);
176
- undefined !== i && this._$Eh.set(i, t);
175
+ void 0 !== i && this._$Eh.set(i, t);
177
176
  }
178
177
  this.elementStyles = this.finalizeStyles(this.styles);
179
178
  }
@@ -182,21 +181,21 @@
182
181
  if (Array.isArray(s)) {
183
182
  const e = new Set(s.flat(1 / 0).reverse());
184
183
  for (const s of e) i.unshift(c$2(s));
185
- } else undefined !== s && i.push(c$2(s));
184
+ } else void 0 !== s && i.push(c$2(s));
186
185
  return i;
187
186
  }
188
187
  static _$Eu(t, s) {
189
188
  const i = s.attribute;
190
- return false === i ? undefined : "string" == typeof i ? i : "string" == typeof t ? t.toLowerCase() : undefined;
189
+ return false === i ? void 0 : "string" == typeof i ? i : "string" == typeof t ? t.toLowerCase() : void 0;
191
190
  }
192
191
  constructor() {
193
- super(), this._$Ep = undefined, this.isUpdatePending = false, this.hasUpdated = false, this._$Em = null, this._$Ev();
192
+ super(), this._$Ep = void 0, this.isUpdatePending = false, this.hasUpdated = false, this._$Em = null, this._$Ev();
194
193
  }
195
194
  _$Ev() {
196
195
  this._$ES = new Promise(t => this.enableUpdating = t), this._$AL = new Map(), this._$E_(), this.requestUpdate(), this.constructor.l?.forEach(t => t(this));
197
196
  }
198
197
  addController(t) {
199
- (this._$EO ??= new Set()).add(t), undefined !== this.renderRoot && this.isConnected && t.hostConnected?.();
198
+ (this._$EO ??= new Set()).add(t), void 0 !== this.renderRoot && this.isConnected && t.hostConnected?.();
200
199
  }
201
200
  removeController(t) {
202
201
  this._$EO?.delete(t);
@@ -221,36 +220,44 @@
221
220
  attributeChangedCallback(t, s, i) {
222
221
  this._$AK(t, i);
223
222
  }
224
- _$EC(t, s) {
223
+ _$ET(t, s) {
225
224
  const i = this.constructor.elementProperties.get(t),
226
225
  e = this.constructor._$Eu(t, i);
227
- if (undefined !== e && true === i.reflect) {
228
- const r = (undefined !== i.converter?.toAttribute ? i.converter : u$1).toAttribute(s, i.type);
229
- this._$Em = t, null == r ? this.removeAttribute(e) : this.setAttribute(e, r), this._$Em = null;
226
+ if (void 0 !== e && true === i.reflect) {
227
+ const h = (void 0 !== i.converter?.toAttribute ? i.converter : u$1).toAttribute(s, i.type);
228
+ this._$Em = t, null == h ? this.removeAttribute(e) : this.setAttribute(e, h), this._$Em = null;
230
229
  }
231
230
  }
232
231
  _$AK(t, s) {
233
232
  const i = this.constructor,
234
233
  e = i._$Eh.get(t);
235
- if (undefined !== e && this._$Em !== e) {
234
+ if (void 0 !== e && this._$Em !== e) {
236
235
  const t = i.getPropertyOptions(e),
237
- r = "function" == typeof t.converter ? {
236
+ h = "function" == typeof t.converter ? {
238
237
  fromAttribute: t.converter
239
- } : undefined !== t.converter?.fromAttribute ? t.converter : u$1;
240
- this._$Em = e, this[e] = r.fromAttribute(s, t.type), this._$Em = null;
238
+ } : void 0 !== t.converter?.fromAttribute ? t.converter : u$1;
239
+ this._$Em = e;
240
+ const r = h.fromAttribute(s, t.type);
241
+ this[e] = r ?? this._$Ej?.get(e) ?? r, this._$Em = null;
241
242
  }
242
243
  }
243
244
  requestUpdate(t, s, i) {
244
- if (undefined !== t) {
245
- if (i ??= this.constructor.getPropertyOptions(t), !(i.hasChanged ?? f$1)(this[t], s)) return;
246
- this.P(t, s, i);
245
+ if (void 0 !== t) {
246
+ const e = this.constructor,
247
+ h = this[t];
248
+ if (i ??= e.getPropertyOptions(t), !((i.hasChanged ?? f$1)(h, s) || i.useDefault && i.reflect && h === this._$Ej?.get(t) && !this.hasAttribute(e._$Eu(t, i)))) return;
249
+ this.C(t, s, i);
247
250
  }
248
- false === this.isUpdatePending && (this._$ES = this._$ET());
251
+ false === this.isUpdatePending && (this._$ES = this._$EP());
249
252
  }
250
- P(t, s, i) {
251
- this._$AL.has(t) || this._$AL.set(t, s), true === i.reflect && this._$Em !== t && (this._$Ej ??= new Set()).add(t);
253
+ C(t, s, {
254
+ useDefault: i,
255
+ reflect: e,
256
+ wrapped: h
257
+ }, r) {
258
+ i && !(this._$Ej ??= new Map()).has(t) && (this._$Ej.set(t, r ?? s ?? this[t]), true !== h || void 0 !== r) || (this._$AL.has(t) || (this.hasUpdated || i || (s = void 0), this._$AL.set(t, s)), true === e && this._$Em !== t && (this._$Eq ??= new Set()).add(t));
252
259
  }
253
- async _$ET() {
260
+ async _$EP() {
254
261
  this.isUpdatePending = true;
255
262
  try {
256
263
  await this._$ES;
@@ -268,17 +275,23 @@
268
275
  if (!this.hasUpdated) {
269
276
  if (this.renderRoot ??= this.createRenderRoot(), this._$Ep) {
270
277
  for (const [t, s] of this._$Ep) this[t] = s;
271
- this._$Ep = undefined;
278
+ this._$Ep = void 0;
272
279
  }
273
280
  const t = this.constructor.elementProperties;
274
- if (t.size > 0) for (const [s, i] of t) true !== i.wrapped || this._$AL.has(s) || undefined === this[s] || this.P(s, this[s], i);
281
+ if (t.size > 0) for (const [s, i] of t) {
282
+ const {
283
+ wrapped: t
284
+ } = i,
285
+ e = this[s];
286
+ true !== t || this._$AL.has(s) || void 0 === e || this.C(s, void 0, i, e);
287
+ }
275
288
  }
276
289
  let t = false;
277
290
  const s = this._$AL;
278
291
  try {
279
- t = this.shouldUpdate(s), t ? (this.willUpdate(s), this._$EO?.forEach(t => t.hostUpdate?.()), this.update(s)) : this._$EU();
292
+ t = this.shouldUpdate(s), t ? (this.willUpdate(s), this._$EO?.forEach(t => t.hostUpdate?.()), this.update(s)) : this._$EM();
280
293
  } catch (s) {
281
- throw t = false, this._$EU(), s;
294
+ throw t = false, this._$EM(), s;
282
295
  }
283
296
  t && this._$AE(s);
284
297
  }
@@ -286,7 +299,7 @@
286
299
  _$AE(t) {
287
300
  this._$EO?.forEach(t => t.hostUpdated?.()), this.hasUpdated || (this.hasUpdated = true, this.firstUpdated(t)), this.updated(t);
288
301
  }
289
- _$EU() {
302
+ _$EM() {
290
303
  this._$AL = new Map(), this.isUpdatePending = false;
291
304
  }
292
305
  get updateComplete() {
@@ -299,16 +312,16 @@
299
312
  return true;
300
313
  }
301
314
  update(t) {
302
- this._$Ej &&= this._$Ej.forEach(t => this._$EC(t, this[t])), this._$EU();
315
+ this._$Eq &&= this._$Eq.forEach(t => this._$ET(t, this[t])), this._$EM();
303
316
  }
304
317
  updated(t) {}
305
318
  firstUpdated(t) {}
306
319
  };
307
- b$1.elementStyles = [], b$1.shadowRootOptions = {
320
+ y$2.elementStyles = [], y$2.shadowRootOptions = {
308
321
  mode: "open"
309
- }, b$1[d$1("elementProperties")] = new Map(), b$1[d$1("finalized")] = new Map(), p$1?.({
310
- ReactiveElement: b$1
311
- }), (a$1.reactiveElementVersions ??= []).push("2.0.4");
322
+ }, y$2[d$1("elementProperties")] = new Map(), y$2[d$1("finalized")] = new Map(), p$1?.({
323
+ ReactiveElement: y$2
324
+ }), (a$1.reactiveElementVersions ??= []).push("2.1.1");
312
325
 
313
326
  /**
314
327
  * @license
@@ -317,15 +330,15 @@
317
330
  */
318
331
  const t = globalThis,
319
332
  i$1 = t.trustedTypes,
320
- s = i$1 ? i$1.createPolicy("lit-html", {
333
+ s$1 = i$1 ? i$1.createPolicy("lit-html", {
321
334
  createHTML: t => t
322
- }) : undefined,
335
+ }) : void 0,
323
336
  e = "$lit$",
324
337
  h = `lit$${Math.random().toFixed(9).slice(2)}$`,
325
- o$1 = "?" + h,
326
- n = `<${o$1}>`,
327
- r$1 = document,
328
- l = () => r$1.createComment(""),
338
+ o$2 = "?" + h,
339
+ n = `<${o$2}>`,
340
+ r = document,
341
+ l = () => r.createComment(""),
329
342
  c = t => null === t || "object" != typeof t && "function" != typeof t,
330
343
  a = Array.isArray,
331
344
  u = t => a(t) || "function" == typeof t?.[Symbol.iterator],
@@ -347,10 +360,10 @@
347
360
  T = Symbol.for("lit-noChange"),
348
361
  E = Symbol.for("lit-nothing"),
349
362
  A = new WeakMap(),
350
- C = r$1.createTreeWalker(r$1, 129);
363
+ C = r.createTreeWalker(r, 129);
351
364
  function P(t, i) {
352
365
  if (!a(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
353
- return undefined !== s ? s.createHTML(i) : i;
366
+ return void 0 !== s$1 ? s$1.createHTML(i) : i;
354
367
  }
355
368
  const V = (t, i) => {
356
369
  const s = t.length - 1,
@@ -364,7 +377,7 @@
364
377
  u,
365
378
  d = -1,
366
379
  y = 0;
367
- for (; y < s.length && (c.lastIndex = y, u = c.exec(s), null !== u);) y = c.lastIndex, c === f ? "!--" === u[1] ? c = v : undefined !== u[1] ? c = _ : undefined !== u[2] ? ($.test(u[2]) && (r = RegExp("</" + u[2], "g")), c = m) : undefined !== u[3] && (c = m) : c === m ? ">" === u[0] ? (c = r ?? f, d = -1) : undefined === u[1] ? d = -2 : (d = c.lastIndex - u[2].length, a = u[1], c = undefined === u[3] ? m : '"' === u[3] ? g : p) : c === g || c === p ? c = m : c === v || c === _ ? c = f : (c = m, r = undefined);
380
+ for (; y < s.length && (c.lastIndex = y, u = c.exec(s), null !== u);) y = c.lastIndex, c === f ? "!--" === u[1] ? c = v : void 0 !== u[1] ? c = _ : void 0 !== u[2] ? ($.test(u[2]) && (r = RegExp("</" + u[2], "g")), c = m) : void 0 !== u[3] && (c = m) : c === m ? ">" === u[0] ? (c = r ?? f, d = -1) : void 0 === u[1] ? d = -2 : (d = c.lastIndex - u[2].length, a = u[1], c = void 0 === u[3] ? m : '"' === u[3] ? g : p) : c === g || c === p ? c = m : c === v || c === _ ? c = f : (c = m, r = void 0);
368
381
  const x = c === m && t[i + 1].startsWith("/>") ? " " : "";
369
382
  l += c === f ? s + n : d >= 0 ? (o.push(a), s.slice(0, d) + e + s.slice(d) + h + x) : s + h + (-2 === d ? i : x);
370
383
  }
@@ -415,7 +428,7 @@
415
428
  r.append(t[s], l());
416
429
  }
417
430
  }
418
- } else if (8 === r.nodeType) if (r.data === o$1) d.push({
431
+ } else if (8 === r.nodeType) if (r.data === o$2) d.push({
419
432
  type: 2,
420
433
  index: c
421
434
  });else {
@@ -429,19 +442,19 @@
429
442
  }
430
443
  }
431
444
  static createElement(t, i) {
432
- const s = r$1.createElement("template");
445
+ const s = r.createElement("template");
433
446
  return s.innerHTML = t, s;
434
447
  }
435
448
  }
436
449
  function S(t, i, s = t, e) {
437
450
  if (i === T) return i;
438
- let h = undefined !== e ? s._$Co?.[e] : s._$Cl;
439
- const o = c(i) ? undefined : i._$litDirective$;
440
- return h?.constructor !== o && (h?._$AO?.(false), undefined === o ? h = undefined : (h = new o(t), h._$AT(t, s, e)), undefined !== e ? (s._$Co ??= [])[e] = h : s._$Cl = h), undefined !== h && (i = S(t, h._$AS(t, i.values), h, e)), i;
451
+ let h = void 0 !== e ? s._$Co?.[e] : s._$Cl;
452
+ const o = c(i) ? void 0 : i._$litDirective$;
453
+ return h?.constructor !== o && (h?._$AO?.(false), void 0 === o ? h = void 0 : (h = new o(t), h._$AT(t, s, e)), void 0 !== e ? (s._$Co ??= [])[e] = h : s._$Cl = h), void 0 !== h && (i = S(t, h._$AS(t, i.values), h, e)), i;
441
454
  }
442
455
  class M {
443
456
  constructor(t, i) {
444
- this._$AV = [], this._$AN = undefined, this._$AD = t, this._$AM = i;
457
+ this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = i;
445
458
  }
446
459
  get parentNode() {
447
460
  return this._$AM.parentNode;
@@ -456,24 +469,24 @@
456
469
  },
457
470
  parts: s
458
471
  } = this._$AD,
459
- e = (t?.creationScope ?? r$1).importNode(i, true);
472
+ e = (t?.creationScope ?? r).importNode(i, true);
460
473
  C.currentNode = e;
461
474
  let h = C.nextNode(),
462
475
  o = 0,
463
476
  n = 0,
464
477
  l = s[0];
465
- for (; undefined !== l;) {
478
+ for (; void 0 !== l;) {
466
479
  if (o === l.index) {
467
480
  let i;
468
481
  2 === l.type ? i = new R(h, h.nextSibling, this, t) : 1 === l.type ? i = new l.ctor(h, l.name, l.strings, this, t) : 6 === l.type && (i = new z(h, this, t)), this._$AV.push(i), l = s[++n];
469
482
  }
470
483
  o !== l?.index && (h = C.nextNode(), o++);
471
484
  }
472
- return C.currentNode = r$1, e;
485
+ return C.currentNode = r, e;
473
486
  }
474
487
  p(t) {
475
488
  let i = 0;
476
- for (const s of this._$AV) undefined !== s && (undefined !== s.strings ? (s._$AI(t, s, i), i += s.strings.length - 2) : s._$AI(t[i])), i++;
489
+ 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++;
477
490
  }
478
491
  }
479
492
  class R {
@@ -481,12 +494,12 @@
481
494
  return this._$AM?._$AU ?? this._$Cv;
482
495
  }
483
496
  constructor(t, i, s, e) {
484
- this.type = 2, this._$AH = E, this._$AN = undefined, this._$AA = t, this._$AB = i, this._$AM = s, this.options = e, this._$Cv = e?.isConnected ?? true;
497
+ this.type = 2, this._$AH = E, this._$AN = void 0, this._$AA = t, this._$AB = i, this._$AM = s, this.options = e, this._$Cv = e?.isConnected ?? true;
485
498
  }
486
499
  get parentNode() {
487
500
  let t = this._$AA.parentNode;
488
501
  const i = this._$AM;
489
- return undefined !== i && 11 === t?.nodeType && (t = i.parentNode), t;
502
+ return void 0 !== i && 11 === t?.nodeType && (t = i.parentNode), t;
490
503
  }
491
504
  get startNode() {
492
505
  return this._$AA;
@@ -495,7 +508,7 @@
495
508
  return this._$AB;
496
509
  }
497
510
  _$AI(t, i = this) {
498
- t = S(this, t, i), c(t) ? t === E || null == t || "" === t ? (this._$AH !== E && this._$AR(), this._$AH = E) : t !== this._$AH && t !== T && this._(t) : undefined !== t._$litType$ ? this.$(t) : undefined !== t.nodeType ? this.T(t) : u(t) ? this.k(t) : this._(t);
511
+ t = S(this, t, i), c(t) ? t === E || null == t || "" === t ? (this._$AH !== E && this._$AR(), this._$AH = E) : t !== this._$AH && t !== T && this._(t) : void 0 !== t._$litType$ ? this.$(t) : void 0 !== t.nodeType ? this.T(t) : u(t) ? this.k(t) : this._(t);
499
512
  }
500
513
  O(t) {
501
514
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -504,14 +517,14 @@
504
517
  this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
505
518
  }
506
519
  _(t) {
507
- this._$AH !== E && c(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r$1.createTextNode(t)), this._$AH = t;
520
+ this._$AH !== E && c(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r.createTextNode(t)), this._$AH = t;
508
521
  }
509
522
  $(t) {
510
523
  const {
511
524
  values: i,
512
525
  _$litType$: s
513
526
  } = t,
514
- e = "number" == typeof s ? this._$AC(t) : (undefined === s.el && (s.el = N.createElement(P(s.h, s.h[0]), this.options)), s);
527
+ e = "number" == typeof s ? this._$AC(t) : (void 0 === s.el && (s.el = N.createElement(P(s.h, s.h[0]), this.options)), s);
515
528
  if (this._$AH?._$AD === e) this._$AH.p(i);else {
516
529
  const t = new M(e, this),
517
530
  s = t.u(this.options);
@@ -520,7 +533,7 @@
520
533
  }
521
534
  _$AC(t) {
522
535
  let i = A.get(t.strings);
523
- return undefined === i && A.set(t.strings, i = new N(t)), i;
536
+ return void 0 === i && A.set(t.strings, i = new N(t)), i;
524
537
  }
525
538
  k(t) {
526
539
  a(this._$AH) || (this._$AH = [], this._$AR());
@@ -531,13 +544,13 @@
531
544
  e < i.length && (this._$AR(s && s._$AB.nextSibling, e), i.length = e);
532
545
  }
533
546
  _$AR(t = this._$AA.nextSibling, i) {
534
- for (this._$AP?.(false, true, i); t && t !== this._$AB;) {
547
+ for (this._$AP?.(false, true, i); t !== this._$AB;) {
535
548
  const i = t.nextSibling;
536
549
  t.remove(), t = i;
537
550
  }
538
551
  }
539
552
  setConnected(t) {
540
- undefined === this._$AM && (this._$Cv = t, this._$AP?.(t));
553
+ void 0 === this._$AM && (this._$Cv = t, this._$AP?.(t));
541
554
  }
542
555
  }
543
556
  class k {
@@ -548,12 +561,12 @@
548
561
  return this._$AM._$AU;
549
562
  }
550
563
  constructor(t, i, s, e, h) {
551
- this.type = 1, this._$AH = E, this._$AN = undefined, this.element = t, this.name = i, this._$AM = e, this.options = h, s.length > 2 || "" !== s[0] || "" !== s[1] ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = E;
564
+ this.type = 1, this._$AH = E, this._$AN = void 0, this.element = t, this.name = i, this._$AM = e, this.options = h, s.length > 2 || "" !== s[0] || "" !== s[1] ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = E;
552
565
  }
553
566
  _$AI(t, i = this, s, e) {
554
567
  const h = this.strings;
555
568
  let o = false;
556
- if (undefined === h) t = S(this, t, i, 0), o = !c(t) || t !== this._$AH && t !== T, o && (this._$AH = t);else {
569
+ if (void 0 === h) t = S(this, t, i, 0), o = !c(t) || t !== this._$AH && t !== T, o && (this._$AH = t);else {
557
570
  const e = t;
558
571
  let n, r;
559
572
  for (t = h[0], n = 0; n < h.length - 1; n++) r = S(this, e[s + n], i, n), r === T && (r = this._$AH[n]), o ||= !c(r) || r !== this._$AH[n], r === E ? t = E : t !== E && (t += (r ?? "") + h[n + 1]), this._$AH[n] = r;
@@ -569,7 +582,7 @@
569
582
  super(...arguments), this.type = 3;
570
583
  }
571
584
  j(t) {
572
- this.element[this.name] = t === E ? undefined : t;
585
+ this.element[this.name] = t === E ? void 0 : t;
573
586
  }
574
587
  }
575
588
  class I extends k {
@@ -597,7 +610,7 @@
597
610
  }
598
611
  class z {
599
612
  constructor(t, i, s) {
600
- this.element = t, this.type = 6, this._$AN = undefined, this._$AM = i, this.options = s;
613
+ this.element = t, this.type = 6, this._$AN = void 0, this._$AM = i, this.options = s;
601
614
  }
602
615
  get _$AU() {
603
616
  return this._$AM._$AU;
@@ -607,13 +620,13 @@
607
620
  }
608
621
  }
609
622
  const j = t.litHtmlPolyfillSupport;
610
- j?.(N, R), (t.litHtmlVersions ??= []).push("3.2.1");
623
+ j?.(N, R), (t.litHtmlVersions ??= []).push("3.3.1");
611
624
  const B = (t, i, s) => {
612
625
  const e = s?.renderBefore ?? i;
613
626
  let h = e._$litPart$;
614
- if (undefined === h) {
627
+ if (void 0 === h) {
615
628
  const t = s?.renderBefore ?? null;
616
- e._$litPart$ = h = new R(i.insertBefore(l(), t), t, undefined, s ?? {});
629
+ e._$litPart$ = h = new R(i.insertBefore(l(), t), t, void 0, s ?? {});
617
630
  }
618
631
  return h._$AI(t), h;
619
632
  };
@@ -623,19 +636,20 @@
623
636
  * Copyright 2017 Google LLC
624
637
  * SPDX-License-Identifier: BSD-3-Clause
625
638
  */
626
- class r extends b$1 {
639
+ const s = globalThis;
640
+ class i extends y$2 {
627
641
  constructor() {
628
642
  super(...arguments), this.renderOptions = {
629
643
  host: this
630
- }, this._$Do = undefined;
644
+ }, this._$Do = void 0;
631
645
  }
632
646
  createRenderRoot() {
633
647
  const t = super.createRenderRoot();
634
648
  return this.renderOptions.renderBefore ??= t.firstChild, t;
635
649
  }
636
650
  update(t) {
637
- const s = this.render();
638
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = B(s, this.renderRoot, this.renderOptions);
651
+ const r = this.render();
652
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = B(r, this.renderRoot, this.renderOptions);
639
653
  }
640
654
  connectedCallback() {
641
655
  super.connectedCallback(), this._$Do?.setConnected(true);
@@ -647,14 +661,14 @@
647
661
  return T;
648
662
  }
649
663
  }
650
- r._$litElement$ = true, r["finalized"] = true, globalThis.litElementHydrateSupport?.({
651
- LitElement: r
664
+ i._$litElement$ = true, i["finalized"] = true, s.litElementHydrateSupport?.({
665
+ LitElement: i
652
666
  });
653
- const i = globalThis.litElementPolyfillSupport;
654
- i?.({
655
- LitElement: r
667
+ const o$1 = s.litElementPolyfillSupport;
668
+ o$1?.({
669
+ LitElement: i
656
670
  });
657
- (globalThis.litElementVersions ??= []).push("4.1.1");
671
+ (s.litElementVersions ??= []).push("4.2.1");
658
672
 
659
673
  function ascending$2(a, b) {
660
674
  return a == null || b == null ? NaN : a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;
@@ -4896,7 +4910,7 @@
4896
4910
  }
4897
4911
 
4898
4912
  var clipMax = 1e9,
4899
- clipMin = -1e9;
4913
+ clipMin = -clipMax;
4900
4914
 
4901
4915
  // TODO Use d3-polygon’s polygonContains here for the ring check?
4902
4916
  // TODO Eliminate duplicate buffering in clipBuffer and polygon.push?
@@ -5791,16 +5805,6 @@
5791
5805
  return linearish(scale);
5792
5806
  }
5793
5807
 
5794
- function colors (specifier) {
5795
- var n = specifier.length / 6 | 0,
5796
- colors = new Array(n),
5797
- i = 0;
5798
- while (i < n) colors[i] = "#" + specifier.slice(i * 6, ++i * 6);
5799
- return colors;
5800
- }
5801
-
5802
- var Set1 = colors("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999");
5803
-
5804
5808
  function constant (x) {
5805
5809
  return function constant() {
5806
5810
  return x;
@@ -5960,7 +5964,7 @@
5960
5964
  DecidablesElement Base Class - Not intended for instantiation!
5961
5965
  <decidables-element>
5962
5966
  */
5963
- class DecidablesElement extends r {
5967
+ class DecidablesElement extends i {
5964
5968
  getComputedStyleValue(property) {
5965
5969
  return getComputedStyle(this).getPropertyValue(property).trim();
5966
5970
  }
@@ -6215,22 +6219,22 @@
6215
6219
  static get styles() {
6216
6220
  return i$3`
6217
6221
  :host {
6218
- ---shadow-0: var(--shadow-0, ${r$3(this.cssBoxShadow(0))});
6219
- ---shadow-2: var(--shadow-2, ${r$3(this.cssBoxShadow(2))});
6220
- ---shadow-4: var(--shadow-4, ${r$3(this.cssBoxShadow(4))});
6221
- ---shadow-8: var(--shadow-8, ${r$3(this.cssBoxShadow(8))});
6222
-
6223
- ---color-background: var(--color-background, ${r$3(this.greys.white)});
6224
- ---color-border: var(--color-border, ${r$3(this.greys.light75)});
6225
- ---color-text: var(--color-text, ${r$3(this.greys.dark75)});
6226
- ---color-text-inverse: var(--color-text-inverse, ${r$3(this.greys.white)});
6227
- ---color-link: var(--color-link, ${r$3(this.greys.dark25)});
6228
- ---color-element-background: var(--color-element-background, ${r$3(this.greys.light75)});
6229
- ---color-element-disabled: var(--color-element-disabled, ${r$3(this.greys.light50)});
6230
- ---color-element-enabled: var(--color-element-enabled, ${r$3(this.greys.dark25)});
6231
- ---color-element-selected: var(--color-element-selected, ${r$3(this.greys.grey)});
6232
- ---color-element-border: var(--color-element-border, ${r$3(this.greys.dark50)});
6233
- ---color-element-emphasis: var(--color-element-emphasis, ${r$3(this.greys.dark75)});
6222
+ ---shadow-0: var(--shadow-0, ${r$2(this.cssBoxShadow(0))});
6223
+ ---shadow-2: var(--shadow-2, ${r$2(this.cssBoxShadow(2))});
6224
+ ---shadow-4: var(--shadow-4, ${r$2(this.cssBoxShadow(4))});
6225
+ ---shadow-8: var(--shadow-8, ${r$2(this.cssBoxShadow(8))});
6226
+
6227
+ ---color-background: var(--color-background, ${r$2(this.greys.white)});
6228
+ ---color-border: var(--color-border, ${r$2(this.greys.light75)});
6229
+ ---color-text: var(--color-text, ${r$2(this.greys.dark75)});
6230
+ ---color-text-inverse: var(--color-text-inverse, ${r$2(this.greys.white)});
6231
+ ---color-link: var(--color-link, ${r$2(this.greys.dark25)});
6232
+ ---color-element-background: var(--color-element-background, ${r$2(this.greys.light75)});
6233
+ ---color-element-disabled: var(--color-element-disabled, ${r$2(this.greys.light50)});
6234
+ ---color-element-enabled: var(--color-element-enabled, ${r$2(this.greys.dark25)});
6235
+ ---color-element-selected: var(--color-element-selected, ${r$2(this.greys.grey)});
6236
+ ---color-element-border: var(--color-element-border, ${r$2(this.greys.dark50)});
6237
+ ---color-element-emphasis: var(--color-element-emphasis, ${r$2(this.greys.dark75)});
6234
6238
 
6235
6239
  ---font-family-base: var(--font-family-base, "Source Sans", sans-serif);
6236
6240
  ---font-family-math: var(--font-family-math, "Source Serif", serif);
@@ -6240,6 +6244,7 @@
6240
6244
  ---transition-duration: var(--transition-duration, 500ms);
6241
6245
 
6242
6246
  font-family: var(---font-family-base);
6247
+ font-weight: normal;
6243
6248
  }
6244
6249
 
6245
6250
  :host,
@@ -6461,9 +6466,9 @@
6461
6466
  ---decidables-slider-color: var(--decidables-slider-color, var(---color-element-enabled));
6462
6467
  ---decidables-spinner-background-color: var(--decidables-slider-background-color, none);
6463
6468
 
6464
- ---shadow-2-rotate: var(--shadow-2-rotate, ${r$3(this.cssBoxShadow(2, true, false))});
6465
- ---shadow-4-rotate: var(--shadow-4-rotate, ${r$3(this.cssBoxShadow(4, true, false))});
6466
- ---shadow-8-rotate: var(--shadow-8-rotate, ${r$3(this.cssBoxShadow(8, true, false))});
6469
+ ---shadow-2-rotate: var(--shadow-2-rotate, ${r$2(this.cssBoxShadow(2, true, false))});
6470
+ ---shadow-4-rotate: var(--shadow-4-rotate, ${r$2(this.cssBoxShadow(4, true, false))});
6471
+ ---shadow-8-rotate: var(--shadow-8-rotate, ${r$2(this.cssBoxShadow(8, true, false))});
6467
6472
 
6468
6473
  display: flex;
6469
6474
 
@@ -6966,7 +6971,6 @@
6966
6971
  padding: 0;
6967
6972
  margin: -1px;
6968
6973
  overflow: hidden;
6969
- clip: rect(0 0 0 0);
6970
6974
 
6971
6975
  white-space: nowrap;
6972
6976
 
@@ -7188,7 +7192,6 @@
7188
7192
  padding: 0;
7189
7193
  margin: -1px;
7190
7194
  overflow: hidden;
7191
- clip: rect(0 0 0 0);
7192
7195
 
7193
7196
  white-space: nowrap;
7194
7197
 
@@ -7354,6 +7357,23 @@
7354
7357
  };
7355
7358
  }
7356
7359
 
7360
+ var data = { colors:{ h:"#4daf4a",
7361
+ m:"#ff7f00",
7362
+ fa:"#377eb8",
7363
+ cr:"#e41a1c",
7364
+ hr:"#ffff33",
7365
+ far:"#984ea3",
7366
+ acc:"#999999",
7367
+ d:"#f781bf",
7368
+ c:"#a65628",
7369
+ s:"#4545d0",
7370
+ present:"#f032e6",
7371
+ absent:"#10dbc9",
7372
+ correct:"#ffffff",
7373
+ error:"#000000",
7374
+ nr:"#cccccc" } };
7375
+ var colors = data.colors;
7376
+
7357
7377
  /*
7358
7378
  DetectableElement Base Class - Not intended for instantiation!
7359
7379
  <detectable-element>
@@ -7373,23 +7393,7 @@
7373
7393
  this.interactive = false;
7374
7394
  }
7375
7395
  static get colors() {
7376
- return {
7377
- h: Set1[2],
7378
- m: Set1[4],
7379
- fa: Set1[1],
7380
- cr: Set1[0],
7381
- hr: Set1[5],
7382
- far: Set1[3],
7383
- acc: Set1[8],
7384
- d: Set1[7],
7385
- c: Set1[6],
7386
- s: '#4545d0',
7387
- present: '#f032e6',
7388
- absent: '#10dbc9',
7389
- correct: '#ffffff',
7390
- error: '#000000',
7391
- nr: '#cccccc'
7392
- };
7396
+ return colors;
7393
7397
  }
7394
7398
  static get lights() {
7395
7399
  return Object.keys(DetectableElement.colors).reduce((acc, cur) => {
@@ -7406,53 +7410,53 @@
7406
7410
  static get styles() {
7407
7411
  return [super.styles, i$3`
7408
7412
  :host {
7409
- ---color-h: var(--color-h, ${r$3(this.colors.h)});
7410
- ---color-m: var(--color-m, ${r$3(this.colors.m)});
7411
- ---color-fa: var(--color-fa, ${r$3(this.colors.fa)});
7412
- ---color-cr: var(--color-cr, ${r$3(this.colors.cr)});
7413
- ---color-hr: var(--color-hr, ${r$3(this.colors.hr)});
7414
- ---color-far: var(--color-far, ${r$3(this.colors.far)});
7415
- ---color-acc: var(--color-acc, ${r$3(this.colors.acc)});
7416
- ---color-d: var(--color-d, ${r$3(this.colors.d)});
7417
- ---color-c: var(--color-c, ${r$3(this.colors.c)});
7418
- ---color-s: var(--color-s, ${r$3(this.colors.s)});
7419
- ---color-present: var(--color-present, ${r$3(this.colors.present)});
7420
- ---color-absent: var(--color-absent, ${r$3(this.colors.absent)});
7421
- ---color-correct: var(--color-correct, ${r$3(this.colors.correct)});
7422
- ---color-error: var(--color-error, ${r$3(this.colors.error)});
7423
- ---color-nr: var(--color-nr, ${r$3(this.colors.nr)});
7424
-
7425
- ---color-h-light: var(--color-h-light, ${r$3(this.lights.h)});
7426
- ---color-m-light: var(--color-m-light, ${r$3(this.lights.m)});
7427
- ---color-fa-light: var(--color-fa-light, ${r$3(this.lights.fa)});
7428
- ---color-cr-light: var(--color-cr-light, ${r$3(this.lights.cr)});
7429
- ---color-hr-light: var(--color-hr-light, ${r$3(this.lights.hr)});
7430
- ---color-far-light: var(--color-far-light, ${r$3(this.lights.far)});
7431
- ---color-acc-light: var(--color-acc-light, ${r$3(this.lights.acc)});
7432
- ---color-d-light: var(--color-d-light, ${r$3(this.lights.d)});
7433
- ---color-c-light: var(--color-c-light, ${r$3(this.lights.c)});
7434
- ---color-s-light: var(--color-s-light, ${r$3(this.lights.s)});
7435
- ---color-present-light: var(--color-present-light, ${r$3(this.lights.present)});
7436
- ---color-absent-light: var(--color-absent-light, ${r$3(this.lights.absent)});
7437
- ---color-correct-light: var(--color-correct-light, ${r$3(this.lights.correct)});
7438
- ---color-error-light: var(--color-error-light, ${r$3(this.lights.error)});
7439
- ---color-nr-light: var(--color-nr-light, ${r$3(this.lights.nr)});
7440
-
7441
- ---color-h-dark: var(--color-h-dark, ${r$3(this.darks.h)});
7442
- ---color-m-dark: var(--color-m-dark, ${r$3(this.darks.m)});
7443
- ---color-fa-dark: var(--color-fa-dark, ${r$3(this.darks.fa)});
7444
- ---color-cr-dark: var(--color-cr-dark, ${r$3(this.darks.cr)});
7445
- ---color-hr-dark: var(--color-hr-dark, ${r$3(this.darks.hr)});
7446
- ---color-far-dark: var(--color-far-dark, ${r$3(this.darks.far)});
7447
- ---color-acc-dark: var(--color-acc-dark, ${r$3(this.darks.acc)});
7448
- ---color-d-dark: var(--color-d-dark, ${r$3(this.darks.d)});
7449
- ---color-c-dark: var(--color-c-dark, ${r$3(this.darks.c)});
7450
- ---color-s-dark: var(--color-s-dark, ${r$3(this.darks.s)});
7451
- ---color-present-dark: var(--color-present-dark, ${r$3(this.darks.present)});
7452
- ---color-absent-dark: var(--color-absent-dark, ${r$3(this.darks.absent)});
7453
- ---color-correct-dark: var(--color-correct-dark, ${r$3(this.darks.correct)});
7454
- ---color-error-dark: var(--color-error-dark, ${r$3(this.darks.error)});
7455
- ---color-nr-dark: var(--color-nr-dark, ${r$3(this.darks.nr)});
7413
+ ---color-h: var(--color-h, ${r$2(this.colors.h)});
7414
+ ---color-m: var(--color-m, ${r$2(this.colors.m)});
7415
+ ---color-fa: var(--color-fa, ${r$2(this.colors.fa)});
7416
+ ---color-cr: var(--color-cr, ${r$2(this.colors.cr)});
7417
+ ---color-hr: var(--color-hr, ${r$2(this.colors.hr)});
7418
+ ---color-far: var(--color-far, ${r$2(this.colors.far)});
7419
+ ---color-acc: var(--color-acc, ${r$2(this.colors.acc)});
7420
+ ---color-d: var(--color-d, ${r$2(this.colors.d)});
7421
+ ---color-c: var(--color-c, ${r$2(this.colors.c)});
7422
+ ---color-s: var(--color-s, ${r$2(this.colors.s)});
7423
+ ---color-present: var(--color-present, ${r$2(this.colors.present)});
7424
+ ---color-absent: var(--color-absent, ${r$2(this.colors.absent)});
7425
+ ---color-correct: var(--color-correct, ${r$2(this.colors.correct)});
7426
+ ---color-error: var(--color-error, ${r$2(this.colors.error)});
7427
+ ---color-nr: var(--color-nr, ${r$2(this.colors.nr)});
7428
+
7429
+ ---color-h-light: var(--color-h-light, ${r$2(this.lights.h)});
7430
+ ---color-m-light: var(--color-m-light, ${r$2(this.lights.m)});
7431
+ ---color-fa-light: var(--color-fa-light, ${r$2(this.lights.fa)});
7432
+ ---color-cr-light: var(--color-cr-light, ${r$2(this.lights.cr)});
7433
+ ---color-hr-light: var(--color-hr-light, ${r$2(this.lights.hr)});
7434
+ ---color-far-light: var(--color-far-light, ${r$2(this.lights.far)});
7435
+ ---color-acc-light: var(--color-acc-light, ${r$2(this.lights.acc)});
7436
+ ---color-d-light: var(--color-d-light, ${r$2(this.lights.d)});
7437
+ ---color-c-light: var(--color-c-light, ${r$2(this.lights.c)});
7438
+ ---color-s-light: var(--color-s-light, ${r$2(this.lights.s)});
7439
+ ---color-present-light: var(--color-present-light, ${r$2(this.lights.present)});
7440
+ ---color-absent-light: var(--color-absent-light, ${r$2(this.lights.absent)});
7441
+ ---color-correct-light: var(--color-correct-light, ${r$2(this.lights.correct)});
7442
+ ---color-error-light: var(--color-error-light, ${r$2(this.lights.error)});
7443
+ ---color-nr-light: var(--color-nr-light, ${r$2(this.lights.nr)});
7444
+
7445
+ ---color-h-dark: var(--color-h-dark, ${r$2(this.darks.h)});
7446
+ ---color-m-dark: var(--color-m-dark, ${r$2(this.darks.m)});
7447
+ ---color-fa-dark: var(--color-fa-dark, ${r$2(this.darks.fa)});
7448
+ ---color-cr-dark: var(--color-cr-dark, ${r$2(this.darks.cr)});
7449
+ ---color-hr-dark: var(--color-hr-dark, ${r$2(this.darks.hr)});
7450
+ ---color-far-dark: var(--color-far-dark, ${r$2(this.darks.far)});
7451
+ ---color-acc-dark: var(--color-acc-dark, ${r$2(this.darks.acc)});
7452
+ ---color-d-dark: var(--color-d-dark, ${r$2(this.darks.d)});
7453
+ ---color-c-dark: var(--color-c-dark, ${r$2(this.darks.c)});
7454
+ ---color-s-dark: var(--color-s-dark, ${r$2(this.darks.s)});
7455
+ ---color-present-dark: var(--color-present-dark, ${r$2(this.darks.present)});
7456
+ ---color-absent-dark: var(--color-absent-dark, ${r$2(this.darks.absent)});
7457
+ ---color-correct-dark: var(--color-correct-dark, ${r$2(this.darks.correct)});
7458
+ ---color-error-dark: var(--color-error-dark, ${r$2(this.darks.error)});
7459
+ ---color-nr-dark: var(--color-nr-dark, ${r$2(this.darks.nr)});
7456
7460
  }
7457
7461
  `];
7458
7462
  }
@@ -12446,20 +12450,20 @@
12446
12450
 
12447
12451
  */
12448
12452
  class SDTMath {
12449
- static d = (() => ({
12453
+ static d = {
12450
12454
  DEFAULT: 1.0,
12451
12455
  MIN: -6,
12452
12456
  MAX: 6.0,
12453
12457
  STEP: 0.01,
12454
12458
  JUMP: 0.1
12455
- }))();
12456
- static c = (() => ({
12459
+ };
12460
+ static c = {
12457
12461
  DEFAULT: 0,
12458
12462
  MIN: -3,
12459
12463
  MAX: 3.0,
12460
12464
  STEP: 0.01,
12461
12465
  JUMP: 0.1
12462
- }))();
12466
+ };
12463
12467
  static s = {
12464
12468
  DEFAULT: 1.0,
12465
12469
  MIN: 0.8,