ma-icons 0.7.4 → 0.8.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.
package/LICENSE ADDED
@@ -0,0 +1,24 @@
1
+ BSD 2-Clause License
2
+
3
+ Copyright (c) 2026, Taavi Rübenhagen
4
+
5
+ Redistribution and use in source and binary forms, with or without
6
+ modification, are permitted provided that the following conditions are met:
7
+
8
+ 1. Redistributions of source code must retain the above copyright notice, this
9
+ list of conditions and the following disclaimer.
10
+
11
+ 2. Redistributions in binary form must reproduce the above copyright notice,
12
+ this list of conditions and the following disclaimer in the documentation
13
+ and/or other materials provided with the distribution.
14
+
15
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
16
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
19
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
21
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
22
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
23
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
24
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
package/README.md CHANGED
@@ -3,6 +3,6 @@
3
3
  Minimalist UI icon pack by Taavi Rübenhagen.
4
4
  Still in development.
5
5
 
6
- [Usage](https://taavi.rubenhagen.com/projects/icons)
6
+ [Usage](https://rubenhagen.com/ma-icons)
7
7
 
8
8
  [License](https://github.com/taavirubenhagen/ma-icons?tab=License-1-ov-file)
@@ -46,7 +46,7 @@ const c0 = (o) => new n2(typeof o == "string" ? o : o + "", void 0, I), a0 = (o,
46
46
  * Copyright 2017 Google LLC
47
47
  * SPDX-License-Identifier: BSD-3-Clause
48
48
  */
49
- const { is: l0, defineProperty: d0, getOwnPropertyDescriptor: p0, getOwnPropertyNames: g0, getOwnPropertySymbols: k0, getPrototypeOf: w0 } = Object, _ = globalThis, G = _.trustedTypes, v0 = G ? G.emptyScript : "", R = _.reactiveElementPolyfillSupport, L = (o, t) => o, U = { toAttribute(o, t) {
49
+ const { is: l0, defineProperty: d0, getOwnPropertyDescriptor: p0, getOwnPropertyNames: g0, getOwnPropertySymbols: k0, getPrototypeOf: w0 } = Object, v = globalThis, G = v.trustedTypes, v0 = G ? G.emptyScript : "", R = v.reactiveElementPolyfillSupport, A = (o, t) => o, U = { toAttribute(o, t) {
50
50
  switch (t) {
51
51
  case Boolean:
52
52
  o = o ? v0 : null;
@@ -75,8 +75,8 @@ const { is: l0, defineProperty: d0, getOwnPropertyDescriptor: p0, getOwnProperty
75
75
  }
76
76
  return e;
77
77
  } }, W = (o, t) => !l0(o, t), Q = { attribute: !0, type: String, converter: U, reflect: !1, useDefault: !1, hasChanged: W };
78
- Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), _.litPropertyMetadata ?? (_.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
79
- let x = class extends HTMLElement {
78
+ Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), v.litPropertyMetadata ?? (v.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
79
+ let C = class extends HTMLElement {
80
80
  static addInitializer(t) {
81
81
  this._$Ei(), (this.l ?? (this.l = [])).push(t);
82
82
  }
@@ -104,13 +104,13 @@ let x = class extends HTMLElement {
104
104
  return this.elementProperties.get(t) ?? Q;
105
105
  }
106
106
  static _$Ei() {
107
- if (this.hasOwnProperty(L("elementProperties"))) return;
107
+ if (this.hasOwnProperty(A("elementProperties"))) return;
108
108
  const t = w0(this);
109
109
  t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
110
110
  }
111
111
  static finalize() {
112
- if (this.hasOwnProperty(L("finalized"))) return;
113
- if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(L("properties"))) {
112
+ if (this.hasOwnProperty(A("finalized"))) return;
113
+ if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(A("properties"))) {
114
114
  const e = this.properties, s = [...g0(e), ...k0(e)];
115
115
  for (const i of s) this.createProperty(i, e[i]);
116
116
  }
@@ -277,59 +277,59 @@ let x = class extends HTMLElement {
277
277
  firstUpdated(t) {
278
278
  }
279
279
  };
280
- x.elementStyles = [], x.shadowRootOptions = { mode: "open" }, x[L("elementProperties")] = /* @__PURE__ */ new Map(), x[L("finalized")] = /* @__PURE__ */ new Map(), R == null || R({ ReactiveElement: x }), (_.reactiveElementVersions ?? (_.reactiveElementVersions = [])).push("2.1.0");
280
+ C.elementStyles = [], C.shadowRootOptions = { mode: "open" }, C[A("elementProperties")] = /* @__PURE__ */ new Map(), C[A("finalized")] = /* @__PURE__ */ new Map(), R == null || R({ ReactiveElement: C }), (v.reactiveElementVersions ?? (v.reactiveElementVersions = [])).push("2.1.0");
281
281
  /**
282
282
  * @license
283
283
  * Copyright 2017 Google LLC
284
284
  * SPDX-License-Identifier: BSD-3-Clause
285
285
  */
286
- const E = globalThis, T = E.trustedTypes, X = T ? T.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, c2 = "$lit$", v = `lit$${Math.random().toFixed(9).slice(2)}$`, a2 = "?" + v, _0 = `<${a2}>`, f = document, V = () => f.createComment(""), S = (o) => o === null || typeof o != "object" && typeof o != "function", F = Array.isArray, u0 = (o) => F(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", z = `[
287
- \f\r]`, A = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Y = /-->/g, t2 = />/g, u = RegExp(`>|${z}(?:([^\\s"'>=/]+)(${z}*=${z}*(?:[^
288
- \f\r"'\`<>=]|("|')|))|$)`, "g"), e2 = /'/g, s2 = /"/g, h2 = /^(?:script|style|textarea|title)$/i, m0 = (o) => (t, ...e) => ({ _$litType$: o, strings: t, values: e }), i2 = m0(1), $ = Symbol.for("lit-noChange"), p = Symbol.for("lit-nothing"), o2 = /* @__PURE__ */ new WeakMap(), m = f.createTreeWalker(f, 129);
286
+ const L = globalThis, T = L.trustedTypes, X = T ? T.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, c2 = "$lit$", w = `lit$${Math.random().toFixed(9).slice(2)}$`, a2 = "?" + w, _0 = `<${a2}>`, f = document, H = () => f.createComment(""), V = (o) => o === null || typeof o != "object" && typeof o != "function", F = Array.isArray, u0 = (o) => F(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", z = `[
287
+ \f\r]`, y = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Y = /-->/g, t2 = />/g, u = RegExp(`>|${z}(?:([^\\s"'>=/]+)(${z}*=${z}*(?:[^
288
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), e2 = /'/g, s2 = /"/g, h2 = /^(?:script|style|textarea|title)$/i, m0 = (o) => (t, ...e) => ({ _$litType$: o, strings: t, values: e }), i2 = m0(1), x = Symbol.for("lit-noChange"), p = Symbol.for("lit-nothing"), o2 = /* @__PURE__ */ new WeakMap(), m = f.createTreeWalker(f, 129);
289
289
  function l2(o, t) {
290
290
  if (!F(o) || !o.hasOwnProperty("raw")) throw Error("invalid template strings array");
291
291
  return X !== void 0 ? X.createHTML(t) : t;
292
292
  }
293
293
  const b0 = (o, t) => {
294
294
  const e = o.length - 1, s = [];
295
- let i, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = A;
295
+ let i, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = y;
296
296
  for (let a = 0; a < e; a++) {
297
297
  const c = o[a];
298
298
  let h, d, l = -1, g = 0;
299
- for (; g < c.length && (n.lastIndex = g, d = n.exec(c), d !== null); ) g = n.lastIndex, n === A ? d[1] === "!--" ? n = Y : d[1] !== void 0 ? n = t2 : d[2] !== void 0 ? (h2.test(d[2]) && (i = RegExp("</" + d[2], "g")), n = u) : d[3] !== void 0 && (n = u) : n === u ? d[0] === ">" ? (n = i ?? A, l = -1) : d[1] === void 0 ? l = -2 : (l = n.lastIndex - d[2].length, h = d[1], n = d[3] === void 0 ? u : d[3] === '"' ? s2 : e2) : n === s2 || n === e2 ? n = u : n === Y || n === t2 ? n = A : (n = u, i = void 0);
300
- const w = n === u && o[a + 1].startsWith("/>") ? " " : "";
301
- r += n === A ? c + _0 : l >= 0 ? (s.push(h), c.slice(0, l) + c2 + c.slice(l) + v + w) : c + v + (l === -2 ? a : w);
299
+ for (; g < c.length && (n.lastIndex = g, d = n.exec(c), d !== null); ) g = n.lastIndex, n === y ? d[1] === "!--" ? n = Y : d[1] !== void 0 ? n = t2 : d[2] !== void 0 ? (h2.test(d[2]) && (i = RegExp("</" + d[2], "g")), n = u) : d[3] !== void 0 && (n = u) : n === u ? d[0] === ">" ? (n = i ?? y, l = -1) : d[1] === void 0 ? l = -2 : (l = n.lastIndex - d[2].length, h = d[1], n = d[3] === void 0 ? u : d[3] === '"' ? s2 : e2) : n === s2 || n === e2 ? n = u : n === Y || n === t2 ? n = y : (n = u, i = void 0);
300
+ const k = n === u && o[a + 1].startsWith("/>") ? " " : "";
301
+ r += n === y ? c + _0 : l >= 0 ? (s.push(h), c.slice(0, l) + c2 + c.slice(l) + w + k) : c + w + (l === -2 ? a : k);
302
302
  }
303
303
  return [l2(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), s];
304
304
  };
305
- class P {
305
+ class S {
306
306
  constructor({ strings: t, _$litType$: e }, s) {
307
307
  let i;
308
308
  this.parts = [];
309
309
  let r = 0, n = 0;
310
310
  const a = t.length - 1, c = this.parts, [h, d] = b0(t, e);
311
- if (this.el = P.createElement(h, s), m.currentNode = this.el.content, e === 2 || e === 3) {
311
+ if (this.el = S.createElement(h, s), m.currentNode = this.el.content, e === 2 || e === 3) {
312
312
  const l = this.el.content.firstChild;
313
313
  l.replaceWith(...l.childNodes);
314
314
  }
315
315
  for (; (i = m.nextNode()) !== null && c.length < a; ) {
316
316
  if (i.nodeType === 1) {
317
317
  if (i.hasAttributes()) for (const l of i.getAttributeNames()) if (l.endsWith(c2)) {
318
- const g = d[n++], w = i.getAttribute(l).split(v), Z = /([.?@])?(.*)/.exec(g);
319
- c.push({ type: 1, index: r, name: Z[2], strings: w, ctor: Z[1] === "." ? C0 : Z[1] === "?" ? x0 : Z[1] === "@" ? $0 : N }), i.removeAttribute(l);
320
- } else l.startsWith(v) && (c.push({ type: 6, index: r }), i.removeAttribute(l));
318
+ const g = d[n++], k = i.getAttribute(l).split(w), Z = /([.?@])?(.*)/.exec(g);
319
+ c.push({ type: 1, index: r, name: Z[2], strings: k, ctor: Z[1] === "." ? C0 : Z[1] === "?" ? x0 : Z[1] === "@" ? $0 : N }), i.removeAttribute(l);
320
+ } else l.startsWith(w) && (c.push({ type: 6, index: r }), i.removeAttribute(l));
321
321
  if (h2.test(i.tagName)) {
322
- const l = i.textContent.split(v), g = l.length - 1;
322
+ const l = i.textContent.split(w), g = l.length - 1;
323
323
  if (g > 0) {
324
324
  i.textContent = T ? T.emptyScript : "";
325
- for (let w = 0; w < g; w++) i.append(l[w], V()), m.nextNode(), c.push({ type: 2, index: ++r });
326
- i.append(l[g], V());
325
+ for (let k = 0; k < g; k++) i.append(l[k], H()), m.nextNode(), c.push({ type: 2, index: ++r });
326
+ i.append(l[g], H());
327
327
  }
328
328
  }
329
329
  } else if (i.nodeType === 8) if (i.data === a2) c.push({ type: 2, index: r });
330
330
  else {
331
331
  let l = -1;
332
- for (; (l = i.data.indexOf(v, l + 1)) !== -1; ) c.push({ type: 7, index: r }), l += v.length - 1;
332
+ for (; (l = i.data.indexOf(w, l + 1)) !== -1; ) c.push({ type: 7, index: r }), l += w.length - 1;
333
333
  }
334
334
  r++;
335
335
  }
@@ -339,12 +339,12 @@ class P {
339
339
  return s.innerHTML = t, s;
340
340
  }
341
341
  }
342
- function M(o, t, e = o, s) {
342
+ function $(o, t, e = o, s) {
343
343
  var n, a;
344
- if (t === $) return t;
344
+ if (t === x) return t;
345
345
  let i = s !== void 0 ? (n = e._$Co) == null ? void 0 : n[s] : e._$Cl;
346
- const r = S(t) ? void 0 : t._$litDirective$;
347
- return (i == null ? void 0 : i.constructor) !== r && ((a = i == null ? void 0 : i._$AO) == null || a.call(i, !1), r === void 0 ? i = void 0 : (i = new r(o), i._$AT(o, e, s)), s !== void 0 ? (e._$Co ?? (e._$Co = []))[s] = i : e._$Cl = i), i !== void 0 && (t = M(o, i._$AS(o, t.values), i, s)), t;
346
+ const r = V(t) ? void 0 : t._$litDirective$;
347
+ return (i == null ? void 0 : i.constructor) !== r && ((a = i == null ? void 0 : i._$AO) == null || a.call(i, !1), r === void 0 ? i = void 0 : (i = new r(o), i._$AT(o, e, s)), s !== void 0 ? (e._$Co ?? (e._$Co = []))[s] = i : e._$Cl = i), i !== void 0 && (t = $(o, i._$AS(o, t.values), i, s)), t;
348
348
  }
349
349
  class f0 {
350
350
  constructor(t, e) {
@@ -363,7 +363,7 @@ class f0 {
363
363
  for (; c !== void 0; ) {
364
364
  if (n === c.index) {
365
365
  let h;
366
- c.type === 2 ? h = new B(r, r.nextSibling, this, t) : c.type === 1 ? h = new c.ctor(r, c.name, c.strings, this, t) : c.type === 6 && (h = new M0(r, this, t)), this._$AV.push(h), c = s[++a];
366
+ c.type === 2 ? h = new P(r, r.nextSibling, this, t) : c.type === 1 ? h = new c.ctor(r, c.name, c.strings, this, t) : c.type === 6 && (h = new M0(r, this, t)), this._$AV.push(h), c = s[++a];
367
367
  }
368
368
  n !== (c == null ? void 0 : c.index) && (r = m.nextNode(), n++);
369
369
  }
@@ -374,7 +374,7 @@ class f0 {
374
374
  for (const s of this._$AV) s !== void 0 && (s.strings !== void 0 ? (s._$AI(t, s, e), e += s.strings.length - 2) : s._$AI(t[e])), e++;
375
375
  }
376
376
  }
377
- class B {
377
+ class P {
378
378
  get _$AU() {
379
379
  var t;
380
380
  return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
@@ -394,7 +394,7 @@ class B {
394
394
  return this._$AB;
395
395
  }
396
396
  _$AI(t, e = this) {
397
- t = M(this, t, e), S(t) ? t === p || t == null || t === "" ? (this._$AH !== p && this._$AR(), this._$AH = p) : t !== this._$AH && t !== $ && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : u0(t) ? this.k(t) : this._(t);
397
+ t = $(this, t, e), V(t) ? t === p || t == null || t === "" ? (this._$AH !== p && this._$AR(), this._$AH = p) : t !== this._$AH && t !== x && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : u0(t) ? this.k(t) : this._(t);
398
398
  }
399
399
  O(t) {
400
400
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -403,11 +403,11 @@ class B {
403
403
  this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
404
404
  }
405
405
  _(t) {
406
- this._$AH !== p && S(this._$AH) ? this._$AA.nextSibling.data = t : this.T(f.createTextNode(t)), this._$AH = t;
406
+ this._$AH !== p && V(this._$AH) ? this._$AA.nextSibling.data = t : this.T(f.createTextNode(t)), this._$AH = t;
407
407
  }
408
408
  $(t) {
409
409
  var r;
410
- const { values: e, _$litType$: s } = t, i = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = P.createElement(l2(s.h, s.h[0]), this.options)), s);
410
+ const { values: e, _$litType$: s } = t, i = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = S.createElement(l2(s.h, s.h[0]), this.options)), s);
411
411
  if (((r = this._$AH) == null ? void 0 : r._$AD) === i) this._$AH.p(e);
412
412
  else {
413
413
  const n = new f0(i, this), a = n.u(this.options);
@@ -416,13 +416,13 @@ class B {
416
416
  }
417
417
  _$AC(t) {
418
418
  let e = o2.get(t.strings);
419
- return e === void 0 && o2.set(t.strings, e = new P(t)), e;
419
+ return e === void 0 && o2.set(t.strings, e = new S(t)), e;
420
420
  }
421
421
  k(t) {
422
422
  F(this._$AH) || (this._$AH = [], this._$AR());
423
423
  const e = this._$AH;
424
424
  let s, i = 0;
425
- for (const r of t) i === e.length ? e.push(s = new B(this.O(V()), this.O(V()), this, this.options)) : s = e[i], s._$AI(r), i++;
425
+ for (const r of t) i === e.length ? e.push(s = new P(this.O(H()), this.O(H()), this, this.options)) : s = e[i], s._$AI(r), i++;
426
426
  i < e.length && (this._$AR(s && s._$AB.nextSibling, i), e.length = i);
427
427
  }
428
428
  _$AR(t = this._$AA.nextSibling, e) {
@@ -450,11 +450,11 @@ class N {
450
450
  _$AI(t, e = this, s, i) {
451
451
  const r = this.strings;
452
452
  let n = !1;
453
- if (r === void 0) t = M(this, t, e, 0), n = !S(t) || t !== this._$AH && t !== $, n && (this._$AH = t);
453
+ if (r === void 0) t = $(this, t, e, 0), n = !V(t) || t !== this._$AH && t !== x, n && (this._$AH = t);
454
454
  else {
455
455
  const a = t;
456
456
  let c, h;
457
- for (t = r[0], c = 0; c < r.length - 1; c++) h = M(this, a[s + c], e, c), h === $ && (h = this._$AH[c]), n || (n = !S(h) || h !== this._$AH[c]), h === p ? t = p : t !== p && (t += (h ?? "") + r[c + 1]), this._$AH[c] = h;
457
+ for (t = r[0], c = 0; c < r.length - 1; c++) h = $(this, a[s + c], e, c), h === x && (h = this._$AH[c]), n || (n = !V(h) || h !== this._$AH[c]), h === p ? t = p : t !== p && (t += (h ?? "") + r[c + 1]), this._$AH[c] = h;
458
458
  }
459
459
  n && !i && this.j(t);
460
460
  }
@@ -483,7 +483,7 @@ class $0 extends N {
483
483
  super(t, e, s, i, r), this.type = 5;
484
484
  }
485
485
  _$AI(t, e = this) {
486
- if ((t = M(this, t, e, 0) ?? p) === $) return;
486
+ if ((t = $(this, t, e, 0) ?? p) === x) return;
487
487
  const s = this._$AH, i = t === p && s !== p || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, r = t !== p && (s === p || i);
488
488
  i && this.element.removeEventListener(this.name, this, s), r && this.element.addEventListener(this.name, this, t), this._$AH = t;
489
489
  }
@@ -500,17 +500,17 @@ class M0 {
500
500
  return this._$AM._$AU;
501
501
  }
502
502
  _$AI(t) {
503
- M(this, t);
503
+ $(this, t);
504
504
  }
505
505
  }
506
- const D = E.litHtmlPolyfillSupport;
507
- D == null || D(P, B), (E.litHtmlVersions ?? (E.litHtmlVersions = [])).push("3.3.0");
506
+ const D = L.litHtmlPolyfillSupport;
507
+ D == null || D(S, P), (L.litHtmlVersions ?? (L.litHtmlVersions = [])).push("3.3.0");
508
508
  const y0 = (o, t, e) => {
509
509
  const s = (e == null ? void 0 : e.renderBefore) ?? t;
510
510
  let i = s._$litPart$;
511
511
  if (i === void 0) {
512
512
  const r = (e == null ? void 0 : e.renderBefore) ?? null;
513
- s._$litPart$ = i = new B(t.insertBefore(V(), r), r, void 0, e ?? {});
513
+ s._$litPart$ = i = new P(t.insertBefore(H(), r), r, void 0, e ?? {});
514
514
  }
515
515
  return i._$AI(o), i;
516
516
  };
@@ -520,7 +520,7 @@ const y0 = (o, t, e) => {
520
520
  * SPDX-License-Identifier: BSD-3-Clause
521
521
  */
522
522
  const b = globalThis;
523
- class H extends x {
523
+ class E extends C {
524
524
  constructor() {
525
525
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
526
526
  }
@@ -542,13 +542,13 @@ class H extends x {
542
542
  super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
543
543
  }
544
544
  render() {
545
- return $;
545
+ return x;
546
546
  }
547
547
  }
548
548
  var r2;
549
- H._$litElement$ = !0, H.finalized = !0, (r2 = b.litElementHydrateSupport) == null || r2.call(b, { LitElement: H });
549
+ E._$litElement$ = !0, E.finalized = !0, (r2 = b.litElementHydrateSupport) == null || r2.call(b, { LitElement: E });
550
550
  const j = b.litElementPolyfillSupport;
551
- j == null || j({ LitElement: H });
551
+ j == null || j({ LitElement: E });
552
552
  (b.litElementVersions ?? (b.litElementVersions = [])).push("4.2.0");
553
553
  /**
554
554
  * @license
@@ -586,7 +586,7 @@ const L0 = { attribute: !0, type: String, converter: U, reflect: !1, hasChanged:
586
586
  }
587
587
  throw Error("Unsupported decorator location: " + s);
588
588
  };
589
- function y(o) {
589
+ function B(o) {
590
590
  return (t, e) => typeof e == "object" ? E0(o, t, e) : ((s, i, r) => {
591
591
  const n = i.hasOwnProperty(r);
592
592
  return i.constructor.createProperty(r, s), n ? Object.getOwnPropertyDescriptor(i, r) : void 0;
@@ -598,17 +598,17 @@ function y(o) {
598
598
  * SPDX-License-Identifier: BSD-3-Clause
599
599
  */
600
600
  function H0(o) {
601
- return y({ ...o, state: !0, attribute: !1 });
601
+ return B({ ...o, state: !0, attribute: !1 });
602
602
  }
603
- var V0 = Object.defineProperty, S0 = Object.getOwnPropertyDescriptor, C = (o, t, e, s) => {
603
+ var V0 = Object.defineProperty, S0 = Object.getOwnPropertyDescriptor, M = (o, t, e, s) => {
604
604
  for (var i = s > 1 ? void 0 : s ? S0(t, e) : t, r = o.length - 1, n; r >= 0; r--)
605
605
  (n = o[r]) && (i = (s ? n(t, e, i) : n(i)) || i);
606
606
  return s && i && V0(t, e, i), i;
607
607
  };
608
608
  const P0 = "not-found";
609
- let k = class extends H {
609
+ let _ = class extends E {
610
610
  constructor() {
611
- super(...arguments), this.name = "top-right", this.secondary = "", this.size = "16", this.weight = "5", this.color = "hsl(0deg 0% 0%)", this.svg = void 0;
611
+ super(...arguments), this.name = "top-right", this.size = "16", this.weight = "5", this.color = "hsl(0deg 0% 0%)", this.svg = void 0;
612
612
  }
613
613
  updated(o) {
614
614
  super.updated(o), o.has("name") && (async () => {
@@ -620,23 +620,23 @@ let k = class extends H {
620
620
  return this.svg ? i2`<span .innerHTML=${this.svg}></span>` : i2``;
621
621
  }
622
622
  async icon(o) {
623
- const t = o ? this.secondary : this.name, e = o ? "32" : this.size, s = o ? "32" : "0", i = (parseFloat(this.weight) * (o ? 2 : 1)).toString(), r = async (h) => {
623
+ const t = this.name.split("+"), e = o ? t[1] : t[0], s = o ? "32" : this.size, i = o ? "32" : "0", r = (parseFloat(this.weight) * (o ? 2 : 1)).toString(), n = async (d) => {
624
624
  try {
625
- const d = new URL((/* @__PURE__ */ Object.assign({ "../icons/add.svg": d2, "../icons/audio.svg": p2, "../icons/bottom-left.svg": g2, "../icons/bottom-right.svg": k2, "../icons/camera-video.svg": w2, "../icons/camera.svg": v2, "../icons/cmd.svg": _2, "../icons/code.svg": u2, "../icons/collapse.svg": m2, "../icons/copyright.svg": b2, "../icons/document.svg": f2, "../icons/down.svg": C2, "../icons/download.svg": x2, "../icons/edit.svg": $2, "../icons/expand.svg": M2, "../icons/github.svg": y2, "../icons/grid.svg": A2, "../icons/heart.svg": L2, "../icons/home.svg": E2, "../icons/info.svg": H2, "../icons/instagram.svg": V2, "../icons/language.svg": S2, "../icons/left.svg": P2, "../icons/lock-closed.svg": B2, "../icons/lock-open.svg": Z2, "../icons/lock.svg": O2, "../icons/login.svg": U2, "../icons/ma.svg": T2, "../icons/mail.svg": N2, "../icons/menu.svg": R2, "../icons/microphone.svg": z2, "../icons/negative.svg": D2, "../icons/options.svg": j2, "../icons/pants.svg": q2, "../icons/pause.svg": I2, "../icons/person.svg": W2, "../icons/play.svg": F2, "../icons/positive.svg": J2, "../icons/remove.svg": K2, "../icons/right.svg": G2, "../icons/search.svg": Q2, "../icons/send.svg": X2, "../icons/settings.svg": Y2, "../icons/signal.svg": t0, "../icons/tiktok.svg": e0, "../icons/top-left.svg": s0, "../icons/top-right.svg": i0, "../icons/trash.svg": o0, "../icons/up.svg": r0, "../icons/youtube.svg": n0 }))[`../icons/${h}.svg`], import.meta.url).href;
626
- return await (await fetch(d)).text();
625
+ const l = new URL((/* @__PURE__ */ Object.assign({ "../icons/add.svg": d2, "../icons/audio.svg": p2, "../icons/bottom-left.svg": g2, "../icons/bottom-right.svg": k2, "../icons/camera-video.svg": w2, "../icons/camera.svg": v2, "../icons/cmd.svg": _2, "../icons/code.svg": u2, "../icons/collapse.svg": m2, "../icons/copyright.svg": b2, "../icons/document.svg": f2, "../icons/down.svg": C2, "../icons/download.svg": x2, "../icons/edit.svg": $2, "../icons/expand.svg": M2, "../icons/github.svg": y2, "../icons/grid.svg": A2, "../icons/heart.svg": L2, "../icons/home.svg": E2, "../icons/info.svg": H2, "../icons/instagram.svg": V2, "../icons/language.svg": S2, "../icons/left.svg": P2, "../icons/lock-closed.svg": B2, "../icons/lock-open.svg": Z2, "../icons/lock.svg": O2, "../icons/login.svg": U2, "../icons/ma.svg": T2, "../icons/mail.svg": N2, "../icons/menu.svg": R2, "../icons/microphone.svg": z2, "../icons/negative.svg": D2, "../icons/options.svg": j2, "../icons/pants.svg": q2, "../icons/pause.svg": I2, "../icons/person.svg": W2, "../icons/play.svg": F2, "../icons/positive.svg": J2, "../icons/remove.svg": K2, "../icons/right.svg": G2, "../icons/search.svg": Q2, "../icons/send.svg": X2, "../icons/settings.svg": Y2, "../icons/signal.svg": t0, "../icons/tiktok.svg": e0, "../icons/top-left.svg": s0, "../icons/top-right.svg": i0, "../icons/trash.svg": o0, "../icons/up.svg": r0, "../icons/youtube.svg": n0 }))[`../icons/${d}.svg`], import.meta.url).href;
626
+ return await (await fetch(l)).text();
627
627
  } catch {
628
- return await (await fetch(`/icons/${h}.svg`)).text();
628
+ return await (await fetch(`/icons/${d}.svg`)).text();
629
629
  }
630
630
  };
631
- let n;
631
+ let a;
632
632
  try {
633
- n = await r(t);
633
+ a = await n(e);
634
634
  } catch {
635
- n = await r(P0);
635
+ a = await n(P0);
636
636
  }
637
- const a = new DOMParser().parseFromString(n, "image/svg+xml"), c = a.querySelector("svg");
638
- if (c)
639
- return c.setAttribute("x", s), c.setAttribute("y", s), c.setAttribute("width", e), c.setAttribute("height", e), c.setAttribute("fill", "none"), a.querySelectorAll("[stroke]").forEach((h) => h.setAttribute("stroke", this.color)), a.querySelectorAll("[stroke-width]").forEach((h) => h.setAttribute("stroke-width", i)), this.secondary && !o && await this.child(c), c;
637
+ const c = new DOMParser().parseFromString(a, "image/svg+xml"), h = c.querySelector("svg");
638
+ if (h)
639
+ return h.setAttribute("x", i), h.setAttribute("y", i), h.setAttribute("width", s), h.setAttribute("height", s), h.setAttribute("fill", "none"), c.querySelectorAll("[stroke]").forEach((d) => d.setAttribute("stroke", this.color)), c.querySelectorAll("[stroke-width]").forEach((d) => d.setAttribute("stroke-width", r)), t[1] && !o && await this.child(h), h;
640
640
  }
641
641
  async child(o) {
642
642
  const t = "http://www.w3.org/2000/svg";
@@ -654,32 +654,29 @@ let k = class extends H {
654
654
  n && o.appendChild(n);
655
655
  }
656
656
  };
657
- k.styles = a0`
657
+ _.styles = a0`
658
658
  svg {
659
659
  display: block;
660
660
  }
661
661
  `;
662
- C([
663
- y()
664
- ], k.prototype, "name", 2);
665
- C([
666
- y()
667
- ], k.prototype, "secondary", 2);
668
- C([
669
- y()
670
- ], k.prototype, "size", 2);
671
- C([
672
- y()
673
- ], k.prototype, "weight", 2);
674
- C([
675
- y()
676
- ], k.prototype, "color", 2);
677
- C([
662
+ M([
663
+ B()
664
+ ], _.prototype, "name", 2);
665
+ M([
666
+ B()
667
+ ], _.prototype, "size", 2);
668
+ M([
669
+ B()
670
+ ], _.prototype, "weight", 2);
671
+ M([
672
+ B()
673
+ ], _.prototype, "color", 2);
674
+ M([
678
675
  H0()
679
- ], k.prototype, "svg", 2);
680
- k = C([
676
+ ], _.prototype, "svg", 2);
677
+ _ = M([
681
678
  A0("ma-icon")
682
- ], k);
679
+ ], _);
683
680
  export {
684
- k as MaIcon
681
+ _ as MaIcon
685
682
  };
@@ -6,17 +6,17 @@ var MaIcons=function(p){"use strict";var d2;var R=typeof document<"u"?document.c
6
6
  * @license
7
7
  * Copyright 2017 Google LLC
8
8
  * SPDX-License-Identifier: BSD-3-Clause
9
- */const{is:d0,defineProperty:g0,getOwnPropertyDescriptor:p0,getOwnPropertyNames:k0,getOwnPropertySymbols:w0,getPrototypeOf:v0}=Object,w=globalThis,X=w.trustedTypes,_0=X?X.emptyScript:"",z=w.reactiveElementPolyfillSupport,A=(o,t)=>o,O={toAttribute(o,t){switch(t){case Boolean:o=o?_0:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},D=(o,t)=>!d0(o,t),Y={attribute:!0,type:String,converter:O,reflect:!1,useDefault:!1,hasChanged:D};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),w.litPropertyMetadata??(w.litPropertyMetadata=new WeakMap);let $=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Y){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),i=this.getPropertyDescriptor(t,s,e);i!==void 0&&g0(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){const{get:i,set:n}=p0(this.prototype,t)??{get(){return this[e]},set(r){this[e]=r}};return{get:i,set(r){const a=i==null?void 0:i.call(this);n==null||n.call(this,r),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Y}static _$Ei(){if(this.hasOwnProperty(A("elementProperties")))return;const t=v0(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(A("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(A("properties"))){const e=this.properties,s=[...k0(e),...w0(e)];for(const i of s)this.createProperty(i,e[i])}const t=this[Symbol.metadata];if(t!==null){const e=litPropertyMetadata.get(t);if(e!==void 0)for(const[s,i]of e)this.elementProperties.set(s,i)}this._$Eh=new Map;for(const[e,s]of this.elementProperties){const i=this._$Eu(e,s);i!==void 0&&this._$Eh.set(i,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const i of s)e.unshift(Q(i))}else t!==void 0&&e.push(Q(t));return e}static _$Eu(t,e){const s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach(e=>e(this))}addController(t){var e;(this._$EO??(this._$EO=new Set)).add(t),this.renderRoot!==void 0&&this.isConnected&&((e=t.hostConnected)==null||e.call(t))}removeController(t){var e;(e=this._$EO)==null||e.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return l0(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostConnected)==null?void 0:s.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostDisconnected)==null?void 0:s.call(e)})}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){var n;const s=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,s);if(i!==void 0&&s.reflect===!0){const r=(((n=s.converter)==null?void 0:n.toAttribute)!==void 0?s.converter:O).toAttribute(e,s.type);this._$Em=t,r==null?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){var n,r;const s=this.constructor,i=s._$Eh.get(t);if(i!==void 0&&this._$Em!==i){const a=s.getPropertyOptions(i),c=typeof a.converter=="function"?{fromAttribute:a.converter}:((n=a.converter)==null?void 0:n.fromAttribute)!==void 0?a.converter:O;this._$Em=i,this[i]=c.fromAttribute(e,a.type)??((r=this._$Ej)==null?void 0:r.get(i))??null,this._$Em=null}}requestUpdate(t,e,s){var i;if(t!==void 0){const n=this.constructor,r=this[t];if(s??(s=n.getPropertyOptions(t)),!((s.hasChanged??D)(r,e)||s.useDefault&&s.reflect&&r===((i=this._$Ej)==null?void 0:i.get(t))&&!this.hasAttribute(n._$Eu(t,s))))return;this.C(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:i,wrapped:n},r){s&&!(this._$Ej??(this._$Ej=new Map)).has(t)&&(this._$Ej.set(t,r??e??this[t]),n!==!0||r!==void 0)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),i===!0&&this._$Em!==t&&(this._$Eq??(this._$Eq=new Set)).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var s;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[n,r]of this._$Ep)this[n]=r;this._$Ep=void 0}const i=this.constructor.elementProperties;if(i.size>0)for(const[n,r]of i){const{wrapped:a}=r,c=this[n];a!==!0||this._$AL.has(n)||c===void 0||this.C(n,void 0,r,c)}}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),(s=this._$EO)==null||s.forEach(i=>{var n;return(n=i.hostUpdate)==null?void 0:n.call(i)}),this.update(e)):this._$EM()}catch(i){throw t=!1,this._$EM(),i}t&&this._$AE(e)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach(s=>{var i;return(i=s.hostUpdated)==null?void 0:i.call(s)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&(this._$Eq=this._$Eq.forEach(e=>this._$ET(e,this[e]))),this._$EM()}updated(t){}firstUpdated(t){}};$.elementStyles=[],$.shadowRootOptions={mode:"open"},$[A("elementProperties")]=new Map,$[A("finalized")]=new Map,z==null||z({ReactiveElement:$}),(w.reactiveElementVersions??(w.reactiveElementVersions=[])).push("2.1.0");/**
9
+ */const{is:d0,defineProperty:g0,getOwnPropertyDescriptor:p0,getOwnPropertyNames:k0,getOwnPropertySymbols:w0,getPrototypeOf:v0}=Object,w=globalThis,X=w.trustedTypes,_0=X?X.emptyScript:"",z=w.reactiveElementPolyfillSupport,y=(o,t)=>o,O={toAttribute(o,t){switch(t){case Boolean:o=o?_0:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},D=(o,t)=>!d0(o,t),Y={attribute:!0,type:String,converter:O,reflect:!1,useDefault:!1,hasChanged:D};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),w.litPropertyMetadata??(w.litPropertyMetadata=new WeakMap);let C=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Y){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),i=this.getPropertyDescriptor(t,s,e);i!==void 0&&g0(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){const{get:i,set:n}=p0(this.prototype,t)??{get(){return this[e]},set(r){this[e]=r}};return{get:i,set(r){const a=i==null?void 0:i.call(this);n==null||n.call(this,r),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Y}static _$Ei(){if(this.hasOwnProperty(y("elementProperties")))return;const t=v0(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(y("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(y("properties"))){const e=this.properties,s=[...k0(e),...w0(e)];for(const i of s)this.createProperty(i,e[i])}const t=this[Symbol.metadata];if(t!==null){const e=litPropertyMetadata.get(t);if(e!==void 0)for(const[s,i]of e)this.elementProperties.set(s,i)}this._$Eh=new Map;for(const[e,s]of this.elementProperties){const i=this._$Eu(e,s);i!==void 0&&this._$Eh.set(i,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const i of s)e.unshift(Q(i))}else t!==void 0&&e.push(Q(t));return e}static _$Eu(t,e){const s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach(e=>e(this))}addController(t){var e;(this._$EO??(this._$EO=new Set)).add(t),this.renderRoot!==void 0&&this.isConnected&&((e=t.hostConnected)==null||e.call(t))}removeController(t){var e;(e=this._$EO)==null||e.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return l0(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostConnected)==null?void 0:s.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostDisconnected)==null?void 0:s.call(e)})}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){var n;const s=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,s);if(i!==void 0&&s.reflect===!0){const r=(((n=s.converter)==null?void 0:n.toAttribute)!==void 0?s.converter:O).toAttribute(e,s.type);this._$Em=t,r==null?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){var n,r;const s=this.constructor,i=s._$Eh.get(t);if(i!==void 0&&this._$Em!==i){const a=s.getPropertyOptions(i),c=typeof a.converter=="function"?{fromAttribute:a.converter}:((n=a.converter)==null?void 0:n.fromAttribute)!==void 0?a.converter:O;this._$Em=i,this[i]=c.fromAttribute(e,a.type)??((r=this._$Ej)==null?void 0:r.get(i))??null,this._$Em=null}}requestUpdate(t,e,s){var i;if(t!==void 0){const n=this.constructor,r=this[t];if(s??(s=n.getPropertyOptions(t)),!((s.hasChanged??D)(r,e)||s.useDefault&&s.reflect&&r===((i=this._$Ej)==null?void 0:i.get(t))&&!this.hasAttribute(n._$Eu(t,s))))return;this.C(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:i,wrapped:n},r){s&&!(this._$Ej??(this._$Ej=new Map)).has(t)&&(this._$Ej.set(t,r??e??this[t]),n!==!0||r!==void 0)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),i===!0&&this._$Em!==t&&(this._$Eq??(this._$Eq=new Set)).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var s;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[n,r]of this._$Ep)this[n]=r;this._$Ep=void 0}const i=this.constructor.elementProperties;if(i.size>0)for(const[n,r]of i){const{wrapped:a}=r,c=this[n];a!==!0||this._$AL.has(n)||c===void 0||this.C(n,void 0,r,c)}}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),(s=this._$EO)==null||s.forEach(i=>{var n;return(n=i.hostUpdate)==null?void 0:n.call(i)}),this.update(e)):this._$EM()}catch(i){throw t=!1,this._$EM(),i}t&&this._$AE(e)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach(s=>{var i;return(i=s.hostUpdated)==null?void 0:i.call(s)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&(this._$Eq=this._$Eq.forEach(e=>this._$ET(e,this[e]))),this._$EM()}updated(t){}firstUpdated(t){}};C.elementStyles=[],C.shadowRootOptions={mode:"open"},C[y("elementProperties")]=new Map,C[y("finalized")]=new Map,z==null||z({ReactiveElement:C}),(w.reactiveElementVersions??(w.reactiveElementVersions=[])).push("2.1.0");/**
10
10
  * @license
11
11
  * Copyright 2017 Google LLC
12
12
  * SPDX-License-Identifier: BSD-3-Clause
13
- */const L=globalThis,Z=L.trustedTypes,t2=Z?Z.createPolicy("lit-html",{createHTML:o=>o}):void 0,e2="$lit$",v=`lit$${Math.random().toFixed(9).slice(2)}$`,s2="?"+v,u0=`<${s2}>`,u=document,E=()=>u.createComment(""),H=o=>o===null||typeof o!="object"&&typeof o!="function",q=Array.isArray,m0=o=>q(o)||typeof(o==null?void 0:o[Symbol.iterator])=="function",W=`[
14
- \f\r]`,S=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,i2=/-->/g,o2=/>/g,m=RegExp(`>|${W}(?:([^\\s"'>=/]+)(${W}*=${W}*(?:[^
15
- \f\r"'\`<>=]|("|')|))|$)`,"g"),r2=/'/g,n2=/"/g,c2=/^(?:script|style|textarea|title)$/i,b0=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),a2=b0(1),x=Symbol.for("lit-noChange"),g=Symbol.for("lit-nothing"),h2=new WeakMap,b=u.createTreeWalker(u,129);function l2(o,t){if(!q(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return t2!==void 0?t2.createHTML(t):t}const f0=(o,t)=>{const e=o.length-1,s=[];let i,n=t===2?"<svg>":t===3?"<math>":"",r=S;for(let a=0;a<e;a++){const c=o[a];let h,d,l=-1,k=0;for(;k<c.length&&(r.lastIndex=k,d=r.exec(c),d!==null);)k=r.lastIndex,r===S?d[1]==="!--"?r=i2:d[1]!==void 0?r=o2:d[2]!==void 0?(c2.test(d[2])&&(i=RegExp("</"+d[2],"g")),r=m):d[3]!==void 0&&(r=m):r===m?d[0]===">"?(r=i??S,l=-1):d[1]===void 0?l=-2:(l=r.lastIndex-d[2].length,h=d[1],r=d[3]===void 0?m:d[3]==='"'?n2:r2):r===n2||r===r2?r=m:r===i2||r===o2?r=S:(r=m,i=void 0);const _=r===m&&o[a+1].startsWith("/>")?" ":"";n+=r===S?c+u0:l>=0?(s.push(h),c.slice(0,l)+e2+c.slice(l)+v+_):c+v+(l===-2?a:_)}return[l2(o,n+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]};class V{constructor({strings:t,_$litType$:e},s){let i;this.parts=[];let n=0,r=0;const a=t.length-1,c=this.parts,[h,d]=f0(t,e);if(this.el=V.createElement(h,s),b.currentNode=this.el.content,e===2||e===3){const l=this.el.content.firstChild;l.replaceWith(...l.childNodes)}for(;(i=b.nextNode())!==null&&c.length<a;){if(i.nodeType===1){if(i.hasAttributes())for(const l of i.getAttributeNames())if(l.endsWith(e2)){const k=d[r++],_=i.getAttribute(l).split(v),N=/([.?@])?(.*)/.exec(k);c.push({type:1,index:n,name:N[2],strings:_,ctor:N[1]==="."?$0:N[1]==="?"?x0:N[1]==="@"?M0:T}),i.removeAttribute(l)}else l.startsWith(v)&&(c.push({type:6,index:n}),i.removeAttribute(l));if(c2.test(i.tagName)){const l=i.textContent.split(v),k=l.length-1;if(k>0){i.textContent=Z?Z.emptyScript:"";for(let _=0;_<k;_++)i.append(l[_],E()),b.nextNode(),c.push({type:2,index:++n});i.append(l[k],E())}}}else if(i.nodeType===8)if(i.data===s2)c.push({type:2,index:n});else{let l=-1;for(;(l=i.data.indexOf(v,l+1))!==-1;)c.push({type:7,index:n}),l+=v.length-1}n++}}static createElement(t,e){const s=u.createElement("template");return s.innerHTML=t,s}}function M(o,t,e=o,s){var r,a;if(t===x)return t;let i=s!==void 0?(r=e._$Co)==null?void 0:r[s]:e._$Cl;const n=H(t)?void 0:t._$litDirective$;return(i==null?void 0:i.constructor)!==n&&((a=i==null?void 0:i._$AO)==null||a.call(i,!1),n===void 0?i=void 0:(i=new n(o),i._$AT(o,e,s)),s!==void 0?(e._$Co??(e._$Co=[]))[s]=i:e._$Cl=i),i!==void 0&&(t=M(o,i._$AS(o,t.values),i,s)),t}class C0{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:s}=this._$AD,i=((t==null?void 0:t.creationScope)??u).importNode(e,!0);b.currentNode=i;let n=b.nextNode(),r=0,a=0,c=s[0];for(;c!==void 0;){if(r===c.index){let h;c.type===2?h=new P(n,n.nextSibling,this,t):c.type===1?h=new c.ctor(n,c.name,c.strings,this,t):c.type===6&&(h=new y0(n,this,t)),this._$AV.push(h),c=s[++a]}r!==(c==null?void 0:c.index)&&(n=b.nextNode(),r++)}return b.currentNode=u,i}p(t){let e=0;for(const s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}}class P{get _$AU(){var t;return((t=this._$AM)==null?void 0:t._$AU)??this._$Cv}constructor(t,e,s,i){this.type=2,this._$AH=g,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=i,this._$Cv=(i==null?void 0:i.isConnected)??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=M(this,t,e),H(t)?t===g||t==null||t===""?(this._$AH!==g&&this._$AR(),this._$AH=g):t!==this._$AH&&t!==x&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):m0(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==g&&H(this._$AH)?this._$AA.nextSibling.data=t:this.T(u.createTextNode(t)),this._$AH=t}$(t){var n;const{values:e,_$litType$:s}=t,i=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=V.createElement(l2(s.h,s.h[0]),this.options)),s);if(((n=this._$AH)==null?void 0:n._$AD)===i)this._$AH.p(e);else{const r=new C0(i,this),a=r.u(this.options);r.p(e),this.T(a),this._$AH=r}}_$AC(t){let e=h2.get(t.strings);return e===void 0&&h2.set(t.strings,e=new V(t)),e}k(t){q(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,i=0;for(const n of t)i===e.length?e.push(s=new P(this.O(E()),this.O(E()),this,this.options)):s=e[i],s._$AI(n),i++;i<e.length&&(this._$AR(s&&s._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){var s;for((s=this._$AP)==null?void 0:s.call(this,!1,!0,e);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var e;this._$AM===void 0&&(this._$Cv=t,(e=this._$AP)==null||e.call(this,t))}}class T{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,i,n){this.type=1,this._$AH=g,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=n,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=g}_$AI(t,e=this,s,i){const n=this.strings;let r=!1;if(n===void 0)t=M(this,t,e,0),r=!H(t)||t!==this._$AH&&t!==x,r&&(this._$AH=t);else{const a=t;let c,h;for(t=n[0],c=0;c<n.length-1;c++)h=M(this,a[s+c],e,c),h===x&&(h=this._$AH[c]),r||(r=!H(h)||h!==this._$AH[c]),h===g?t=g:t!==g&&(t+=(h??"")+n[c+1]),this._$AH[c]=h}r&&!i&&this.j(t)}j(t){t===g?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class $0 extends T{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===g?void 0:t}}class x0 extends T{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==g)}}class M0 extends T{constructor(t,e,s,i,n){super(t,e,s,i,n),this.type=5}_$AI(t,e=this){if((t=M(this,t,e,0)??g)===x)return;const s=this._$AH,i=t===g&&s!==g||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==g&&(s===g||i);i&&this.element.removeEventListener(this.name,this,s),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e;typeof this._$AH=="function"?this._$AH.call(((e=this.options)==null?void 0:e.host)??this.element,t):this._$AH.handleEvent(t)}}class y0{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){M(this,t)}}const F=L.litHtmlPolyfillSupport;F==null||F(V,P),(L.litHtmlVersions??(L.litHtmlVersions=[])).push("3.3.0");const A0=(o,t,e)=>{const s=(e==null?void 0:e.renderBefore)??t;let i=s._$litPart$;if(i===void 0){const n=(e==null?void 0:e.renderBefore)??null;s._$litPart$=i=new P(t.insertBefore(E(),n),n,void 0,e??{})}return i._$AI(o),i};/**
13
+ */const A=globalThis,Z=A.trustedTypes,t2=Z?Z.createPolicy("lit-html",{createHTML:o=>o}):void 0,e2="$lit$",v=`lit$${Math.random().toFixed(9).slice(2)}$`,s2="?"+v,u0=`<${s2}>`,u=document,L=()=>u.createComment(""),E=o=>o===null||typeof o!="object"&&typeof o!="function",q=Array.isArray,m0=o=>q(o)||typeof(o==null?void 0:o[Symbol.iterator])=="function",W=`[
14
+ \f\r]`,H=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,i2=/-->/g,o2=/>/g,m=RegExp(`>|${W}(?:([^\\s"'>=/]+)(${W}*=${W}*(?:[^
15
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),r2=/'/g,n2=/"/g,c2=/^(?:script|style|textarea|title)$/i,b0=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),a2=b0(1),$=Symbol.for("lit-noChange"),g=Symbol.for("lit-nothing"),h2=new WeakMap,b=u.createTreeWalker(u,129);function l2(o,t){if(!q(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return t2!==void 0?t2.createHTML(t):t}const f0=(o,t)=>{const e=o.length-1,s=[];let i,n=t===2?"<svg>":t===3?"<math>":"",r=H;for(let a=0;a<e;a++){const c=o[a];let d,l,h=-1,k=0;for(;k<c.length&&(r.lastIndex=k,l=r.exec(c),l!==null);)k=r.lastIndex,r===H?l[1]==="!--"?r=i2:l[1]!==void 0?r=o2:l[2]!==void 0?(c2.test(l[2])&&(i=RegExp("</"+l[2],"g")),r=m):l[3]!==void 0&&(r=m):r===m?l[0]===">"?(r=i??H,h=-1):l[1]===void 0?h=-2:(h=r.lastIndex-l[2].length,d=l[1],r=l[3]===void 0?m:l[3]==='"'?n2:r2):r===n2||r===r2?r=m:r===i2||r===o2?r=H:(r=m,i=void 0);const _=r===m&&o[a+1].startsWith("/>")?" ":"";n+=r===H?c+u0:h>=0?(s.push(d),c.slice(0,h)+e2+c.slice(h)+v+_):c+v+(h===-2?a:_)}return[l2(o,n+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]};class S{constructor({strings:t,_$litType$:e},s){let i;this.parts=[];let n=0,r=0;const a=t.length-1,c=this.parts,[d,l]=f0(t,e);if(this.el=S.createElement(d,s),b.currentNode=this.el.content,e===2||e===3){const h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(i=b.nextNode())!==null&&c.length<a;){if(i.nodeType===1){if(i.hasAttributes())for(const h of i.getAttributeNames())if(h.endsWith(e2)){const k=l[r++],_=i.getAttribute(h).split(v),N=/([.?@])?(.*)/.exec(k);c.push({type:1,index:n,name:N[2],strings:_,ctor:N[1]==="."?$0:N[1]==="?"?x0:N[1]==="@"?M0:T}),i.removeAttribute(h)}else h.startsWith(v)&&(c.push({type:6,index:n}),i.removeAttribute(h));if(c2.test(i.tagName)){const h=i.textContent.split(v),k=h.length-1;if(k>0){i.textContent=Z?Z.emptyScript:"";for(let _=0;_<k;_++)i.append(h[_],L()),b.nextNode(),c.push({type:2,index:++n});i.append(h[k],L())}}}else if(i.nodeType===8)if(i.data===s2)c.push({type:2,index:n});else{let h=-1;for(;(h=i.data.indexOf(v,h+1))!==-1;)c.push({type:7,index:n}),h+=v.length-1}n++}}static createElement(t,e){const s=u.createElement("template");return s.innerHTML=t,s}}function x(o,t,e=o,s){var r,a;if(t===$)return t;let i=s!==void 0?(r=e._$Co)==null?void 0:r[s]:e._$Cl;const n=E(t)?void 0:t._$litDirective$;return(i==null?void 0:i.constructor)!==n&&((a=i==null?void 0:i._$AO)==null||a.call(i,!1),n===void 0?i=void 0:(i=new n(o),i._$AT(o,e,s)),s!==void 0?(e._$Co??(e._$Co=[]))[s]=i:e._$Cl=i),i!==void 0&&(t=x(o,i._$AS(o,t.values),i,s)),t}class C0{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:s}=this._$AD,i=((t==null?void 0:t.creationScope)??u).importNode(e,!0);b.currentNode=i;let n=b.nextNode(),r=0,a=0,c=s[0];for(;c!==void 0;){if(r===c.index){let d;c.type===2?d=new V(n,n.nextSibling,this,t):c.type===1?d=new c.ctor(n,c.name,c.strings,this,t):c.type===6&&(d=new y0(n,this,t)),this._$AV.push(d),c=s[++a]}r!==(c==null?void 0:c.index)&&(n=b.nextNode(),r++)}return b.currentNode=u,i}p(t){let e=0;for(const s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}}class V{get _$AU(){var t;return((t=this._$AM)==null?void 0:t._$AU)??this._$Cv}constructor(t,e,s,i){this.type=2,this._$AH=g,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=i,this._$Cv=(i==null?void 0:i.isConnected)??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=x(this,t,e),E(t)?t===g||t==null||t===""?(this._$AH!==g&&this._$AR(),this._$AH=g):t!==this._$AH&&t!==$&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):m0(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==g&&E(this._$AH)?this._$AA.nextSibling.data=t:this.T(u.createTextNode(t)),this._$AH=t}$(t){var n;const{values:e,_$litType$:s}=t,i=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=S.createElement(l2(s.h,s.h[0]),this.options)),s);if(((n=this._$AH)==null?void 0:n._$AD)===i)this._$AH.p(e);else{const r=new C0(i,this),a=r.u(this.options);r.p(e),this.T(a),this._$AH=r}}_$AC(t){let e=h2.get(t.strings);return e===void 0&&h2.set(t.strings,e=new S(t)),e}k(t){q(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,i=0;for(const n of t)i===e.length?e.push(s=new V(this.O(L()),this.O(L()),this,this.options)):s=e[i],s._$AI(n),i++;i<e.length&&(this._$AR(s&&s._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){var s;for((s=this._$AP)==null?void 0:s.call(this,!1,!0,e);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var e;this._$AM===void 0&&(this._$Cv=t,(e=this._$AP)==null||e.call(this,t))}}class T{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,i,n){this.type=1,this._$AH=g,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=n,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=g}_$AI(t,e=this,s,i){const n=this.strings;let r=!1;if(n===void 0)t=x(this,t,e,0),r=!E(t)||t!==this._$AH&&t!==$,r&&(this._$AH=t);else{const a=t;let c,d;for(t=n[0],c=0;c<n.length-1;c++)d=x(this,a[s+c],e,c),d===$&&(d=this._$AH[c]),r||(r=!E(d)||d!==this._$AH[c]),d===g?t=g:t!==g&&(t+=(d??"")+n[c+1]),this._$AH[c]=d}r&&!i&&this.j(t)}j(t){t===g?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class $0 extends T{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===g?void 0:t}}class x0 extends T{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==g)}}class M0 extends T{constructor(t,e,s,i,n){super(t,e,s,i,n),this.type=5}_$AI(t,e=this){if((t=x(this,t,e,0)??g)===$)return;const s=this._$AH,i=t===g&&s!==g||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==g&&(s===g||i);i&&this.element.removeEventListener(this.name,this,s),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e;typeof this._$AH=="function"?this._$AH.call(((e=this.options)==null?void 0:e.host)??this.element,t):this._$AH.handleEvent(t)}}class y0{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){x(this,t)}}const F=A.litHtmlPolyfillSupport;F==null||F(S,V),(A.litHtmlVersions??(A.litHtmlVersions=[])).push("3.3.0");const A0=(o,t,e)=>{const s=(e==null?void 0:e.renderBefore)??t;let i=s._$litPart$;if(i===void 0){const n=(e==null?void 0:e.renderBefore)??null;s._$litPart$=i=new V(t.insertBefore(L(),n),n,void 0,e??{})}return i._$AI(o),i};/**
16
16
  * @license
17
17
  * Copyright 2017 Google LLC
18
18
  * SPDX-License-Identifier: BSD-3-Clause
19
- */const f=globalThis;class B extends ${constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e;const t=super.createRenderRoot();return(e=this.renderOptions).renderBefore??(e.renderBefore=t.firstChild),t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=A0(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)==null||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)==null||t.setConnected(!1)}render(){return x}}B._$litElement$=!0,B.finalized=!0,(d2=f.litElementHydrateSupport)==null||d2.call(f,{LitElement:B});const J=f.litElementPolyfillSupport;J==null||J({LitElement:B}),(f.litElementVersions??(f.litElementVersions=[])).push("4.2.0");/**
19
+ */const f=globalThis;class P extends C{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e;const t=super.createRenderRoot();return(e=this.renderOptions).renderBefore??(e.renderBefore=t.firstChild),t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=A0(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)==null||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)==null||t.setConnected(!1)}render(){return $}}P._$litElement$=!0,P.finalized=!0,(d2=f.litElementHydrateSupport)==null||d2.call(f,{LitElement:P});const J=f.litElementPolyfillSupport;J==null||J({LitElement:P}),(f.litElementVersions??(f.litElementVersions=[])).push("4.2.0");/**
20
20
  * @license
21
21
  * Copyright 2017 Google LLC
22
22
  * SPDX-License-Identifier: BSD-3-Clause
@@ -24,12 +24,12 @@ var MaIcons=function(p){"use strict";var d2;var R=typeof document<"u"?document.c
24
24
  * @license
25
25
  * Copyright 2017 Google LLC
26
26
  * SPDX-License-Identifier: BSD-3-Clause
27
- */const E0={attribute:!0,type:String,converter:O,reflect:!1,hasChanged:D},H0=(o=E0,t,e)=>{const{kind:s,metadata:i}=e;let n=globalThis.litPropertyMetadata.get(i);if(n===void 0&&globalThis.litPropertyMetadata.set(i,n=new Map),s==="setter"&&((o=Object.create(o)).wrapped=!0),n.set(e.name,o),s==="accessor"){const{name:r}=e;return{set(a){const c=t.get.call(this);t.set.call(this,a),this.requestUpdate(r,c,o)},init(a){return a!==void 0&&this.C(r,void 0,o,a),a}}}if(s==="setter"){const{name:r}=e;return function(a){const c=this[r];t.call(this,a),this.requestUpdate(r,c,o)}}throw Error("Unsupported decorator location: "+s)};function y(o){return(t,e)=>typeof e=="object"?H0(o,t,e):((s,i,n)=>{const r=i.hasOwnProperty(n);return i.constructor.createProperty(n,s),r?Object.getOwnPropertyDescriptor(i,n):void 0})(o,t,e)}/**
27
+ */const E0={attribute:!0,type:String,converter:O,reflect:!1,hasChanged:D},H0=(o=E0,t,e)=>{const{kind:s,metadata:i}=e;let n=globalThis.litPropertyMetadata.get(i);if(n===void 0&&globalThis.litPropertyMetadata.set(i,n=new Map),s==="setter"&&((o=Object.create(o)).wrapped=!0),n.set(e.name,o),s==="accessor"){const{name:r}=e;return{set(a){const c=t.get.call(this);t.set.call(this,a),this.requestUpdate(r,c,o)},init(a){return a!==void 0&&this.C(r,void 0,o,a),a}}}if(s==="setter"){const{name:r}=e;return function(a){const c=this[r];t.call(this,a),this.requestUpdate(r,c,o)}}throw Error("Unsupported decorator location: "+s)};function B(o){return(t,e)=>typeof e=="object"?H0(o,t,e):((s,i,n)=>{const r=i.hasOwnProperty(n);return i.constructor.createProperty(n,s),r?Object.getOwnPropertyDescriptor(i,n):void 0})(o,t,e)}/**
28
28
  * @license
29
29
  * Copyright 2017 Google LLC
30
30
  * SPDX-License-Identifier: BSD-3-Clause
31
- */function S0(o){return y({...o,state:!0,attribute:!1})}var V0=Object.defineProperty,P0=Object.getOwnPropertyDescriptor,C=(o,t,e,s)=>{for(var i=s>1?void 0:s?P0(t,e):t,n=o.length-1,r;n>=0;n--)(r=o[n])&&(i=(s?r(t,e,i):r(i))||i);return s&&i&&V0(t,e,i),i};const B0="not-found";return p.MaIcon=class extends B{constructor(){super(...arguments),this.name="top-right",this.secondary="",this.size="16",this.weight="5",this.color="hsl(0deg 0% 0%)",this.svg=void 0}updated(t){super.updated(t),t.has("name")&&(async()=>{var e;return this.svg=(e=await this.icon(!1))==null?void 0:e.outerHTML})()}render(){return this.svg?a2`<span .innerHTML=${this.svg}></span>`:a2``}async icon(t){const e=t?this.secondary:this.name,s=t?"32":this.size,i=t?"32":"0",n=(parseFloat(this.weight)*(t?2:1)).toString(),r=async d=>{try{const l=new URL(Object.assign({"../icons/add.svg":g2,"../icons/audio.svg":p2,"../icons/bottom-left.svg":k2,"../icons/bottom-right.svg":w2,"../icons/camera-video.svg":v2,"../icons/camera.svg":_2,"../icons/cmd.svg":u2,"../icons/code.svg":m2,"../icons/collapse.svg":b2,"../icons/copyright.svg":f2,"../icons/document.svg":C2,"../icons/down.svg":$2,"../icons/download.svg":x2,"../icons/edit.svg":M2,"../icons/expand.svg":y2,"../icons/github.svg":A2,"../icons/grid.svg":L2,"../icons/heart.svg":E2,"../icons/home.svg":H2,"../icons/info.svg":S2,"../icons/instagram.svg":V2,"../icons/language.svg":P2,"../icons/left.svg":B2,"../icons/lock-closed.svg":U2,"../icons/lock-open.svg":O2,"../icons/lock.svg":Z2,"../icons/login.svg":T2,"../icons/ma.svg":N2,"../icons/mail.svg":R2,"../icons/menu.svg":I2,"../icons/microphone.svg":j2,"../icons/negative.svg":z2,"../icons/options.svg":D2,"../icons/pants.svg":q2,"../icons/pause.svg":W2,"../icons/person.svg":F2,"../icons/play.svg":J2,"../icons/positive.svg":K2,"../icons/remove.svg":G2,"../icons/right.svg":Q2,"../icons/search.svg":X2,"../icons/send.svg":Y2,"../icons/settings.svg":t0,"../icons/signal.svg":e0,"../icons/tiktok.svg":s0,"../icons/top-left.svg":i0,"../icons/top-right.svg":o0,"../icons/trash.svg":r0,"../icons/up.svg":n0,"../icons/youtube.svg":c0})[`../icons/${d}.svg`],R&&R.tagName.toUpperCase()==="SCRIPT"&&R.src||new URL("ma-icons.iife.js",document.baseURI).href).href;return await(await fetch(l)).text()}catch{return await(await fetch(`/icons/${d}.svg`)).text()}};let a;try{a=await r(e)}catch{a=await r(B0)}const c=new DOMParser().parseFromString(a,"image/svg+xml"),h=c.querySelector("svg");if(h)return h.setAttribute("x",i),h.setAttribute("y",i),h.setAttribute("width",s),h.setAttribute("height",s),h.setAttribute("fill","none"),c.querySelectorAll("[stroke]").forEach(d=>d.setAttribute("stroke",this.color)),c.querySelectorAll("[stroke-width]").forEach(d=>d.setAttribute("stroke-width",n)),this.secondary&&!t&&await this.child(h),h}async child(t){const e="http://www.w3.org/2000/svg";let s=t.querySelector("defs");s||(s=document.createElementNS(e,"defs"),t.prepend(s));const i=document.createElementNS(e,"mask");i.setAttribute("id","quarterMask");const n=document.createElementNS(e,"rect");n.setAttribute("width","64"),n.setAttribute("height","64"),n.setAttribute("fill","white"),i.appendChild(n);const r=document.createElementNS(e,"rect");r.setAttribute("x","32"),r.setAttribute("y","32"),r.setAttribute("width","32"),r.setAttribute("height","32"),r.setAttribute("fill","black"),i.appendChild(r),s.appendChild(i),t.querySelectorAll("path, rect, circle, line, polygon, polyline").forEach(c=>{c.setAttribute("mask","url(#quarterMask)")});const a=await this.icon(!0);a&&t.appendChild(a)}},p.MaIcon.styles=h0`
31
+ */function S0(o){return B({...o,state:!0,attribute:!1})}var V0=Object.defineProperty,P0=Object.getOwnPropertyDescriptor,M=(o,t,e,s)=>{for(var i=s>1?void 0:s?P0(t,e):t,n=o.length-1,r;n>=0;n--)(r=o[n])&&(i=(s?r(t,e,i):r(i))||i);return s&&i&&V0(t,e,i),i};const B0="not-found";return p.MaIcon=class extends P{constructor(){super(...arguments),this.name="top-right",this.size="16",this.weight="5",this.color="hsl(0deg 0% 0%)",this.svg=void 0}updated(t){super.updated(t),t.has("name")&&(async()=>{var e;return this.svg=(e=await this.icon(!1))==null?void 0:e.outerHTML})()}render(){return this.svg?a2`<span .innerHTML=${this.svg}></span>`:a2``}async icon(t){const e=this.name.split("+"),s=t?e[1]:e[0],i=t?"32":this.size,n=t?"32":"0",r=(parseFloat(this.weight)*(t?2:1)).toString(),a=async h=>{try{const k=new URL(Object.assign({"../icons/add.svg":g2,"../icons/audio.svg":p2,"../icons/bottom-left.svg":k2,"../icons/bottom-right.svg":w2,"../icons/camera-video.svg":v2,"../icons/camera.svg":_2,"../icons/cmd.svg":u2,"../icons/code.svg":m2,"../icons/collapse.svg":b2,"../icons/copyright.svg":f2,"../icons/document.svg":C2,"../icons/down.svg":$2,"../icons/download.svg":x2,"../icons/edit.svg":M2,"../icons/expand.svg":y2,"../icons/github.svg":A2,"../icons/grid.svg":L2,"../icons/heart.svg":E2,"../icons/home.svg":H2,"../icons/info.svg":S2,"../icons/instagram.svg":V2,"../icons/language.svg":P2,"../icons/left.svg":B2,"../icons/lock-closed.svg":U2,"../icons/lock-open.svg":O2,"../icons/lock.svg":Z2,"../icons/login.svg":T2,"../icons/ma.svg":N2,"../icons/mail.svg":R2,"../icons/menu.svg":I2,"../icons/microphone.svg":j2,"../icons/negative.svg":z2,"../icons/options.svg":D2,"../icons/pants.svg":q2,"../icons/pause.svg":W2,"../icons/person.svg":F2,"../icons/play.svg":J2,"../icons/positive.svg":K2,"../icons/remove.svg":G2,"../icons/right.svg":Q2,"../icons/search.svg":X2,"../icons/send.svg":Y2,"../icons/settings.svg":t0,"../icons/signal.svg":e0,"../icons/tiktok.svg":s0,"../icons/top-left.svg":i0,"../icons/top-right.svg":o0,"../icons/trash.svg":r0,"../icons/up.svg":n0,"../icons/youtube.svg":c0})[`../icons/${h}.svg`],R&&R.tagName.toUpperCase()==="SCRIPT"&&R.src||new URL("ma-icons.iife.js",document.baseURI).href).href;return await(await fetch(k)).text()}catch{return await(await fetch(`/icons/${h}.svg`)).text()}};let c;try{c=await a(s)}catch{c=await a(B0)}const d=new DOMParser().parseFromString(c,"image/svg+xml"),l=d.querySelector("svg");if(l)return l.setAttribute("x",n),l.setAttribute("y",n),l.setAttribute("width",i),l.setAttribute("height",i),l.setAttribute("fill","none"),d.querySelectorAll("[stroke]").forEach(h=>h.setAttribute("stroke",this.color)),d.querySelectorAll("[stroke-width]").forEach(h=>h.setAttribute("stroke-width",r)),e[1]&&!t&&await this.child(l),l}async child(t){const e="http://www.w3.org/2000/svg";let s=t.querySelector("defs");s||(s=document.createElementNS(e,"defs"),t.prepend(s));const i=document.createElementNS(e,"mask");i.setAttribute("id","quarterMask");const n=document.createElementNS(e,"rect");n.setAttribute("width","64"),n.setAttribute("height","64"),n.setAttribute("fill","white"),i.appendChild(n);const r=document.createElementNS(e,"rect");r.setAttribute("x","32"),r.setAttribute("y","32"),r.setAttribute("width","32"),r.setAttribute("height","32"),r.setAttribute("fill","black"),i.appendChild(r),s.appendChild(i),t.querySelectorAll("path, rect, circle, line, polygon, polyline").forEach(c=>{c.setAttribute("mask","url(#quarterMask)")});const a=await this.icon(!0);a&&t.appendChild(a)}},p.MaIcon.styles=h0`
32
32
  svg {
33
33
  display: block;
34
34
  }
35
- `,C([y()],p.MaIcon.prototype,"name",2),C([y()],p.MaIcon.prototype,"secondary",2),C([y()],p.MaIcon.prototype,"size",2),C([y()],p.MaIcon.prototype,"weight",2),C([y()],p.MaIcon.prototype,"color",2),C([S0()],p.MaIcon.prototype,"svg",2),p.MaIcon=C([L0("ma-icon")],p.MaIcon),Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}),p}({});
35
+ `,M([B()],p.MaIcon.prototype,"name",2),M([B()],p.MaIcon.prototype,"size",2),M([B()],p.MaIcon.prototype,"weight",2),M([B()],p.MaIcon.prototype,"color",2),M([S0()],p.MaIcon.prototype,"svg",2),p.MaIcon=M([L0("ma-icon")],p.MaIcon),Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}),p}({});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ma-icons",
3
- "version": "0.7.4",
3
+ "version": "0.8.0",
4
4
  "description": "Ma Icons by Taavi Rübenhagen",
5
5
  "type": "module",
6
6
  "main": "dist/ma-icons.iife.js",
package/LICENSE.md DELETED
@@ -1,16 +0,0 @@
1
- # License
2
-
3
- Redistribution and use in source and binary forms, with or without modification, are permitted provided that:
4
-
5
- (1) source code distributions retain the above copyright notice and this paragraph in its entirety,
6
-
7
- (2) distributions including binary code include the above copyright notice and this paragraph in its entirety in the documentation
8
- or other materials provided with the distribution, and
9
-
10
- (3) all advertising materials mentioning features or use of this software display the following acknowledgement:
11
-
12
- "This product includes software developed by the Taavi Rübenhagen."
13
-
14
- The name Taavi Rübenhagen may not be used to endorse or promote products derived from this software without specific prior written permission.
15
-
16
- THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.