ma-icons 0.3.17 → 0.3.18

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.
@@ -24,11 +24,11 @@ let Q2 = class {
24
24
  }
25
25
  };
26
26
  const s0 = (i) => new Q2(typeof i == "string" ? i : i + "", void 0, W), o0 = (i, ...t) => {
27
- const e = i.length === 1 ? i[0] : t.reduce((s, o, r) => s + ((n) => {
28
- if (n._$cssResult$ === !0) return n.cssText;
29
- if (typeof n == "number") return n;
30
- throw Error("Value passed to 'css' function must be a 'css' function result: " + n + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
31
- })(o) + i[r + 1], i[0]);
27
+ const e = i.length === 1 ? i[0] : t.reduce((s, o, n) => s + ((r) => {
28
+ if (r._$cssResult$ === !0) return r.cssText;
29
+ if (typeof r == "number") return r;
30
+ throw Error("Value passed to 'css' function must be a 'css' function result: " + r + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
31
+ })(o) + i[n + 1], i[0]);
32
32
  return new Q2(e, i, W);
33
33
  }, i0 = (i, t) => {
34
34
  if (q) i.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
@@ -90,14 +90,14 @@ let M = class extends HTMLElement {
90
90
  }
91
91
  }
92
92
  static getPropertyDescriptor(t, e, s) {
93
- const { get: o, set: r } = c0(this.prototype, t) ?? { get() {
93
+ const { get: o, set: n } = c0(this.prototype, t) ?? { get() {
94
94
  return this[e];
95
- }, set(n) {
96
- this[e] = n;
95
+ }, set(r) {
96
+ this[e] = r;
97
97
  } };
98
- return { get: o, set(n) {
98
+ return { get: o, set(r) {
99
99
  const l = o == null ? void 0 : o.call(this);
100
- r == null || r.call(this, n), this.requestUpdate(t, l, s);
100
+ n == null || n.call(this, r), this.requestUpdate(t, l, s);
101
101
  }, configurable: !0, enumerable: !0 };
102
102
  }
103
103
  static getPropertyOptions(t) {
@@ -182,32 +182,32 @@ let M = class extends HTMLElement {
182
182
  this._$AK(t, s);
183
183
  }
184
184
  _$ET(t, e) {
185
- var r;
185
+ var n;
186
186
  const s = this.constructor.elementProperties.get(t), o = this.constructor._$Eu(t, s);
187
187
  if (o !== void 0 && s.reflect === !0) {
188
- const n = (((r = s.converter) == null ? void 0 : r.toAttribute) !== void 0 ? s.converter : T).toAttribute(e, s.type);
189
- this._$Em = t, n == null ? this.removeAttribute(o) : this.setAttribute(o, n), this._$Em = null;
188
+ const r = (((n = s.converter) == null ? void 0 : n.toAttribute) !== void 0 ? s.converter : T).toAttribute(e, s.type);
189
+ this._$Em = t, r == null ? this.removeAttribute(o) : this.setAttribute(o, r), this._$Em = null;
190
190
  }
191
191
  }
192
192
  _$AK(t, e) {
193
- var r, n;
193
+ var n, r;
194
194
  const s = this.constructor, o = s._$Eh.get(t);
195
195
  if (o !== void 0 && this._$Em !== o) {
196
- const l = s.getPropertyOptions(o), c = typeof l.converter == "function" ? { fromAttribute: l.converter } : ((r = l.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? l.converter : T;
197
- this._$Em = o, this[o] = c.fromAttribute(e, l.type) ?? ((n = this._$Ej) == null ? void 0 : n.get(o)) ?? null, this._$Em = null;
196
+ const l = s.getPropertyOptions(o), c = typeof l.converter == "function" ? { fromAttribute: l.converter } : ((n = l.converter) == null ? void 0 : n.fromAttribute) !== void 0 ? l.converter : T;
197
+ this._$Em = o, this[o] = c.fromAttribute(e, l.type) ?? ((r = this._$Ej) == null ? void 0 : r.get(o)) ?? null, this._$Em = null;
198
198
  }
199
199
  }
200
200
  requestUpdate(t, e, s) {
201
201
  var o;
202
202
  if (t !== void 0) {
203
- const r = this.constructor, n = this[t];
204
- if (s ?? (s = r.getPropertyOptions(t)), !((s.hasChanged ?? F)(n, e) || s.useDefault && s.reflect && n === ((o = this._$Ej) == null ? void 0 : o.get(t)) && !this.hasAttribute(r._$Eu(t, s)))) return;
203
+ const n = this.constructor, r = this[t];
204
+ if (s ?? (s = n.getPropertyOptions(t)), !((s.hasChanged ?? F)(r, e) || s.useDefault && s.reflect && r === ((o = this._$Ej) == null ? void 0 : o.get(t)) && !this.hasAttribute(n._$Eu(t, s)))) return;
205
205
  this.C(t, e, s);
206
206
  }
207
207
  this.isUpdatePending === !1 && (this._$ES = this._$EP());
208
208
  }
209
- C(t, e, { useDefault: s, reflect: o, wrapped: r }, n) {
210
- s && !(this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Map())).has(t) && (this._$Ej.set(t, n ?? e ?? this[t]), r !== !0 || n !== void 0) || (this._$AL.has(t) || (this.hasUpdated || s || (e = void 0), this._$AL.set(t, e)), o === !0 && this._$Em !== t && (this._$Eq ?? (this._$Eq = /* @__PURE__ */ new Set())).add(t));
209
+ C(t, e, { useDefault: s, reflect: o, wrapped: n }, r) {
210
+ s && !(this._$Ej ?? (this._$Ej = /* @__PURE__ */ 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)), o === !0 && this._$Em !== t && (this._$Eq ?? (this._$Eq = /* @__PURE__ */ new Set())).add(t));
211
211
  }
212
212
  async _$EP() {
213
213
  this.isUpdatePending = !0;
@@ -227,21 +227,21 @@ let M = class extends HTMLElement {
227
227
  if (!this.isUpdatePending) return;
228
228
  if (!this.hasUpdated) {
229
229
  if (this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this._$Ep) {
230
- for (const [r, n] of this._$Ep) this[r] = n;
230
+ for (const [n, r] of this._$Ep) this[n] = r;
231
231
  this._$Ep = void 0;
232
232
  }
233
233
  const o = this.constructor.elementProperties;
234
- if (o.size > 0) for (const [r, n] of o) {
235
- const { wrapped: l } = n, c = this[r];
236
- l !== !0 || this._$AL.has(r) || c === void 0 || this.C(r, void 0, n, c);
234
+ if (o.size > 0) for (const [n, r] of o) {
235
+ const { wrapped: l } = r, c = this[n];
236
+ l !== !0 || this._$AL.has(n) || c === void 0 || this.C(n, void 0, r, c);
237
237
  }
238
238
  }
239
239
  let t = !1;
240
240
  const e = this._$AL;
241
241
  try {
242
242
  t = this.shouldUpdate(e), t ? (this.willUpdate(e), (s = this._$EO) == null || s.forEach((o) => {
243
- var r;
244
- return (r = o.hostUpdate) == null ? void 0 : r.call(o);
243
+ var n;
244
+ return (n = o.hostUpdate) == null ? void 0 : n.call(o);
245
245
  }), this.update(e)) : this._$EM();
246
246
  } catch (o) {
247
247
  throw t = !1, this._$EM(), o;
@@ -292,21 +292,21 @@ function e0(i, t) {
292
292
  }
293
293
  const w0 = (i, t) => {
294
294
  const e = i.length - 1, s = [];
295
- let o, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = A;
295
+ let o, n = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", r = A;
296
296
  for (let l = 0; l < e; l++) {
297
297
  const c = i[l];
298
298
  let h, p, a = -1, v = 0;
299
- for (; v < c.length && (n.lastIndex = v, p = n.exec(c), p !== null); ) v = n.lastIndex, n === A ? p[1] === "!--" ? n = q2 : p[1] !== void 0 ? n = W2 : p[2] !== void 0 ? (t0.test(p[2]) && (o = RegExp("</" + p[2], "g")), n = b) : p[3] !== void 0 && (n = b) : n === b ? p[0] === ">" ? (n = o ?? A, a = -1) : p[1] === void 0 ? a = -2 : (a = n.lastIndex - p[2].length, h = p[1], n = p[3] === void 0 ? b : p[3] === '"' ? J2 : F2) : n === J2 || n === F2 ? n = b : n === q2 || n === W2 ? n = A : (n = b, o = void 0);
300
- const u = n === b && i[l + 1].startsWith("/>") ? " " : "";
301
- r += n === A ? c + p0 : a >= 0 ? (s.push(h), c.slice(0, a) + X2 + c.slice(a) + _ + u) : c + _ + (a === -2 ? l : u);
299
+ for (; v < c.length && (r.lastIndex = v, p = r.exec(c), p !== null); ) v = r.lastIndex, r === A ? p[1] === "!--" ? r = q2 : p[1] !== void 0 ? r = W2 : p[2] !== void 0 ? (t0.test(p[2]) && (o = RegExp("</" + p[2], "g")), r = b) : p[3] !== void 0 && (r = b) : r === b ? p[0] === ">" ? (r = o ?? A, a = -1) : p[1] === void 0 ? a = -2 : (a = r.lastIndex - p[2].length, h = p[1], r = p[3] === void 0 ? b : p[3] === '"' ? J2 : F2) : r === J2 || r === F2 ? r = b : r === q2 || r === W2 ? r = A : (r = b, o = void 0);
300
+ const u = r === b && i[l + 1].startsWith("/>") ? " " : "";
301
+ n += r === A ? c + p0 : a >= 0 ? (s.push(h), c.slice(0, a) + X2 + c.slice(a) + _ + u) : c + _ + (a === -2 ? l : u);
302
302
  }
303
- return [e0(i, r + (i[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), s];
303
+ return [e0(i, n + (i[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), s];
304
304
  };
305
305
  class B {
306
306
  constructor({ strings: t, _$litType$: e }, s) {
307
307
  let o;
308
308
  this.parts = [];
309
- let r = 0, n = 0;
309
+ let n = 0, r = 0;
310
310
  const l = t.length - 1, c = this.parts, [h, p] = w0(t, e);
311
311
  if (this.el = B.createElement(h, s), f.currentNode = this.el.content, e === 2 || e === 3) {
312
312
  const a = this.el.content.firstChild;
@@ -315,23 +315,23 @@ class B {
315
315
  for (; (o = f.nextNode()) !== null && c.length < l; ) {
316
316
  if (o.nodeType === 1) {
317
317
  if (o.hasAttributes()) for (const a of o.getAttributeNames()) if (a.endsWith(X2)) {
318
- const v = p[n++], u = o.getAttribute(a).split(_), U = /([.?@])?(.*)/.exec(v);
319
- c.push({ type: 1, index: r, name: U[2], strings: u, ctor: U[1] === "." ? u0 : U[1] === "?" ? _0 : U[1] === "@" ? m0 : R }), o.removeAttribute(a);
320
- } else a.startsWith(_) && (c.push({ type: 6, index: r }), o.removeAttribute(a));
318
+ const v = p[r++], u = o.getAttribute(a).split(_), U = /([.?@])?(.*)/.exec(v);
319
+ c.push({ type: 1, index: n, name: U[2], strings: u, ctor: U[1] === "." ? u0 : U[1] === "?" ? _0 : U[1] === "@" ? m0 : R }), o.removeAttribute(a);
320
+ } else a.startsWith(_) && (c.push({ type: 6, index: n }), o.removeAttribute(a));
321
321
  if (t0.test(o.tagName)) {
322
322
  const a = o.textContent.split(_), v = a.length - 1;
323
323
  if (v > 0) {
324
324
  o.textContent = N ? N.emptyScript : "";
325
- for (let u = 0; u < v; u++) o.append(a[u], V()), f.nextNode(), c.push({ type: 2, index: ++r });
325
+ for (let u = 0; u < v; u++) o.append(a[u], V()), f.nextNode(), c.push({ type: 2, index: ++n });
326
326
  o.append(a[v], V());
327
327
  }
328
328
  }
329
- } else if (o.nodeType === 8) if (o.data === Y2) c.push({ type: 2, index: r });
329
+ } else if (o.nodeType === 8) if (o.data === Y2) c.push({ type: 2, index: n });
330
330
  else {
331
331
  let a = -1;
332
- for (; (a = o.data.indexOf(_, a + 1)) !== -1; ) c.push({ type: 7, index: r }), a += _.length - 1;
332
+ for (; (a = o.data.indexOf(_, a + 1)) !== -1; ) c.push({ type: 7, index: n }), a += _.length - 1;
333
333
  }
334
- r++;
334
+ n++;
335
335
  }
336
336
  }
337
337
  static createElement(t, e) {
@@ -340,11 +340,11 @@ class B {
340
340
  }
341
341
  }
342
342
  function L(i, t, e = i, s) {
343
- var n, l;
343
+ var r, l;
344
344
  if (t === y) return t;
345
- let o = s !== void 0 ? (n = e._$Co) == null ? void 0 : n[s] : e._$Cl;
346
- const r = P(t) ? void 0 : t._$litDirective$;
347
- return (o == null ? void 0 : o.constructor) !== r && ((l = o == null ? void 0 : o._$AO) == null || l.call(o, !1), r === void 0 ? o = void 0 : (o = new r(i), o._$AT(i, e, s)), s !== void 0 ? (e._$Co ?? (e._$Co = []))[s] = o : e._$Cl = o), o !== void 0 && (t = L(i, o._$AS(i, t.values), o, s)), t;
345
+ let o = s !== void 0 ? (r = e._$Co) == null ? void 0 : r[s] : e._$Cl;
346
+ const n = P(t) ? void 0 : t._$litDirective$;
347
+ return (o == null ? void 0 : o.constructor) !== n && ((l = o == null ? void 0 : o._$AO) == null || l.call(o, !1), n === void 0 ? o = void 0 : (o = new n(i), o._$AT(i, e, s)), s !== void 0 ? (e._$Co ?? (e._$Co = []))[s] = o : e._$Cl = o), o !== void 0 && (t = L(i, o._$AS(i, t.values), o, s)), t;
348
348
  }
349
349
  class v0 {
350
350
  constructor(t, e) {
@@ -359,13 +359,13 @@ class v0 {
359
359
  u(t) {
360
360
  const { el: { content: e }, parts: s } = this._$AD, o = ((t == null ? void 0 : t.creationScope) ?? $).importNode(e, !0);
361
361
  f.currentNode = o;
362
- let r = f.nextNode(), n = 0, l = 0, c = s[0];
362
+ let n = f.nextNode(), r = 0, l = 0, c = s[0];
363
363
  for (; c !== void 0; ) {
364
- if (n === c.index) {
364
+ if (r === c.index) {
365
365
  let h;
366
- c.type === 2 ? h = new O(r, r.nextSibling, this, t) : c.type === 1 ? h = new c.ctor(r, c.name, c.strings, this, t) : c.type === 6 && (h = new b0(r, this, t)), this._$AV.push(h), c = s[++l];
366
+ c.type === 2 ? h = new O(n, n.nextSibling, this, t) : c.type === 1 ? h = new c.ctor(n, c.name, c.strings, this, t) : c.type === 6 && (h = new b0(n, this, t)), this._$AV.push(h), c = s[++l];
367
367
  }
368
- n !== (c == null ? void 0 : c.index) && (r = f.nextNode(), n++);
368
+ r !== (c == null ? void 0 : c.index) && (n = f.nextNode(), r++);
369
369
  }
370
370
  return f.currentNode = $, o;
371
371
  }
@@ -406,12 +406,12 @@ class O {
406
406
  this._$AH !== d && P(this._$AH) ? this._$AA.nextSibling.data = t : this.T($.createTextNode(t)), this._$AH = t;
407
407
  }
408
408
  $(t) {
409
- var r;
409
+ var n;
410
410
  const { values: e, _$litType$: s } = t, o = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = B.createElement(e0(s.h, s.h[0]), this.options)), s);
411
- if (((r = this._$AH) == null ? void 0 : r._$AD) === o) this._$AH.p(e);
411
+ if (((n = this._$AH) == null ? void 0 : n._$AD) === o) this._$AH.p(e);
412
412
  else {
413
- const n = new v0(o, this), l = n.u(this.options);
414
- n.p(e), this.T(l), this._$AH = n;
413
+ const r = new v0(o, this), l = r.u(this.options);
414
+ r.p(e), this.T(l), this._$AH = r;
415
415
  }
416
416
  }
417
417
  _$AC(t) {
@@ -422,7 +422,7 @@ class O {
422
422
  J(this._$AH) || (this._$AH = [], this._$AR());
423
423
  const e = this._$AH;
424
424
  let s, o = 0;
425
- for (const r of t) o === e.length ? e.push(s = new O(this.O(V()), this.O(V()), this, this.options)) : s = e[o], s._$AI(r), o++;
425
+ for (const n of t) o === e.length ? e.push(s = new O(this.O(V()), this.O(V()), this, this.options)) : s = e[o], s._$AI(n), o++;
426
426
  o < e.length && (this._$AR(s && s._$AB.nextSibling, o), e.length = o);
427
427
  }
428
428
  _$AR(t = this._$AA.nextSibling, e) {
@@ -444,19 +444,19 @@ class R {
444
444
  get _$AU() {
445
445
  return this._$AM._$AU;
446
446
  }
447
- constructor(t, e, s, o, r) {
448
- this.type = 1, this._$AH = d, this._$AN = void 0, this.element = t, this.name = e, this._$AM = o, this.options = r, s.length > 2 || s[0] !== "" || s[1] !== "" ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = d;
447
+ constructor(t, e, s, o, n) {
448
+ this.type = 1, this._$AH = d, this._$AN = void 0, this.element = t, this.name = e, this._$AM = o, this.options = n, s.length > 2 || s[0] !== "" || s[1] !== "" ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = d;
449
449
  }
450
450
  _$AI(t, e = this, s, o) {
451
- const r = this.strings;
452
- let n = !1;
453
- if (r === void 0) t = L(this, t, e, 0), n = !P(t) || t !== this._$AH && t !== y, n && (this._$AH = t);
451
+ const n = this.strings;
452
+ let r = !1;
453
+ if (n === void 0) t = L(this, t, e, 0), r = !P(t) || t !== this._$AH && t !== y, r && (this._$AH = t);
454
454
  else {
455
455
  const l = t;
456
456
  let c, h;
457
- for (t = r[0], c = 0; c < r.length - 1; c++) h = L(this, l[s + c], e, c), h === y && (h = this._$AH[c]), n || (n = !P(h) || h !== this._$AH[c]), h === d ? t = d : t !== d && (t += (h ?? "") + r[c + 1]), this._$AH[c] = h;
457
+ for (t = n[0], c = 0; c < n.length - 1; c++) h = L(this, l[s + c], e, c), h === y && (h = this._$AH[c]), r || (r = !P(h) || h !== this._$AH[c]), h === d ? t = d : t !== d && (t += (h ?? "") + n[c + 1]), this._$AH[c] = h;
458
458
  }
459
- n && !o && this.j(t);
459
+ r && !o && this.j(t);
460
460
  }
461
461
  j(t) {
462
462
  t === d ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
@@ -479,13 +479,13 @@ class _0 extends R {
479
479
  }
480
480
  }
481
481
  class m0 extends R {
482
- constructor(t, e, s, o, r) {
483
- super(t, e, s, o, r), this.type = 5;
482
+ constructor(t, e, s, o, n) {
483
+ super(t, e, s, o, n), this.type = 5;
484
484
  }
485
485
  _$AI(t, e = this) {
486
486
  if ((t = L(this, t, e, 0) ?? d) === y) return;
487
- const s = this._$AH, o = t === d && s !== d || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, r = t !== d && (s === d || o);
488
- o && this.element.removeEventListener(this.name, this, s), r && this.element.addEventListener(this.name, this, t), this._$AH = t;
487
+ const s = this._$AH, o = t === d && s !== d || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, n = t !== d && (s === d || o);
488
+ o && this.element.removeEventListener(this.name, this, s), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
489
489
  }
490
490
  handleEvent(t) {
491
491
  var e;
@@ -509,8 +509,8 @@ const f0 = (i, t, e) => {
509
509
  const s = (e == null ? void 0 : e.renderBefore) ?? t;
510
510
  let o = s._$litPart$;
511
511
  if (o === void 0) {
512
- const r = (e == null ? void 0 : e.renderBefore) ?? null;
513
- s._$litPart$ = o = new O(t.insertBefore(V(), r), r, void 0, e ?? {});
512
+ const n = (e == null ? void 0 : e.renderBefore) ?? null;
513
+ s._$litPart$ = o = new O(t.insertBefore(V(), n), n, void 0, e ?? {});
514
514
  }
515
515
  return o._$AI(i), o;
516
516
  };
@@ -567,29 +567,29 @@ const C0 = (i) => (t, e) => {
567
567
  */
568
568
  const $0 = { attribute: !0, type: String, converter: T, reflect: !1, hasChanged: F }, x0 = (i = $0, t, e) => {
569
569
  const { kind: s, metadata: o } = e;
570
- let r = globalThis.litPropertyMetadata.get(o);
571
- if (r === void 0 && globalThis.litPropertyMetadata.set(o, r = /* @__PURE__ */ new Map()), s === "setter" && ((i = Object.create(i)).wrapped = !0), r.set(e.name, i), s === "accessor") {
572
- const { name: n } = e;
570
+ let n = globalThis.litPropertyMetadata.get(o);
571
+ if (n === void 0 && globalThis.litPropertyMetadata.set(o, n = /* @__PURE__ */ new Map()), s === "setter" && ((i = Object.create(i)).wrapped = !0), n.set(e.name, i), s === "accessor") {
572
+ const { name: r } = e;
573
573
  return { set(l) {
574
574
  const c = t.get.call(this);
575
- t.set.call(this, l), this.requestUpdate(n, c, i);
575
+ t.set.call(this, l), this.requestUpdate(r, c, i);
576
576
  }, init(l) {
577
- return l !== void 0 && this.C(n, void 0, i, l), l;
577
+ return l !== void 0 && this.C(r, void 0, i, l), l;
578
578
  } };
579
579
  }
580
580
  if (s === "setter") {
581
- const { name: n } = e;
581
+ const { name: r } = e;
582
582
  return function(l) {
583
- const c = this[n];
584
- t.call(this, l), this.requestUpdate(n, c, i);
583
+ const c = this[r];
584
+ t.call(this, l), this.requestUpdate(r, c, i);
585
585
  };
586
586
  }
587
587
  throw Error("Unsupported decorator location: " + s);
588
588
  };
589
589
  function w(i) {
590
- return (t, e) => typeof e == "object" ? x0(i, t, e) : ((s, o, r) => {
591
- const n = o.hasOwnProperty(r);
592
- return o.constructor.createProperty(r, s), n ? Object.getOwnPropertyDescriptor(o, r) : void 0;
590
+ return (t, e) => typeof e == "object" ? x0(i, t, e) : ((s, o, n) => {
591
+ const r = o.hasOwnProperty(n);
592
+ return o.constructor.createProperty(n, s), r ? Object.getOwnPropertyDescriptor(o, n) : void 0;
593
593
  })(i, t, e);
594
594
  }
595
595
  /**
@@ -601,8 +601,8 @@ function M0(i) {
601
601
  return w({ ...i, state: !0, attribute: !1 });
602
602
  }
603
603
  var y0 = Object.defineProperty, L0 = Object.getOwnPropertyDescriptor, k = (i, t, e, s) => {
604
- for (var o = s > 1 ? void 0 : s ? L0(t, e) : t, r = i.length - 1, n; r >= 0; r--)
605
- (n = i[r]) && (o = (s ? n(t, e, o) : n(o)) || o);
604
+ for (var o = s > 1 ? void 0 : s ? L0(t, e) : t, n = i.length - 1, r; n >= 0; n--)
605
+ (r = i[n]) && (o = (s ? r(t, e, o) : r(o)) || o);
606
606
  return s && o && y0(t, e, o), o;
607
607
  };
608
608
  let g = class extends E {
@@ -616,32 +616,33 @@ let g = class extends E {
616
616
  const i = this.svg ? x`<span .innerHTML=${this.svg}></span>` : x``;
617
617
  return this.href != null ? x`
618
618
  <a download=${this.download} href=${this.href} class="${this.styled ? "styled" : ""}">
619
- ${this.leading ? x`${i}&thinsp;` : ""}<slot></slot>${this.leading ? "" : x`&thinsp;${i}`}
619
+ ${this.leading ? x`${i}&thinsp;` : ""}<slot></slot>${this.leading ? "" : x`${i}`}
620
620
  </a>
621
621
  ` : x`${i}`;
622
622
  }
623
623
  async modifySvg() {
624
- let i;
624
+ const i = this.download ? "download" : this.name;
625
+ let t;
625
626
  try {
626
- i = new URL((/* @__PURE__ */ Object.assign({ "../icons/add-circle.svg": K, "../icons/bottom-left.svg": G, "../icons/bottom-right.svg": Q, "../icons/camera-video.svg": X, "../icons/camera.svg": Y, "../icons/cmd.svg": t2, "../icons/code.svg": e2, "../icons/down.svg": s2, "../icons/download.svg": o2, "../icons/edit.svg": i2, "../icons/explore.svg": r2, "../icons/external-2.svg": n2, "../icons/fullscreen-exit.svg": c2, "../icons/fullscreen.svg": l2, "../icons/github.svg": a2, "../icons/heart-filled.svg": h2, "../icons/heart.svg": d2, "../icons/home.svg": p2, "../icons/info.svg": g2, "../icons/input.svg": k2, "../icons/instagram.svg": w2, "../icons/left.svg": v2, "../icons/lock-closed.svg": u2, "../icons/lock-open.svg": _2, "../icons/lock.svg": m2, "../icons/login.svg": b2, "../icons/ma-2.svg": f2, "../icons/ma.svg": C2, "../icons/menu.svg": $2, "../icons/options.svg": x2, "../icons/pants.svg": M2, "../icons/pause.svg": y2, "../icons/person.svg": L2, "../icons/play.svg": A2, "../icons/remove-circle.svg": H2, "../icons/right.svg": S2, "../icons/search.svg": E2, "../icons/send.svg": V2, "../icons/settings.svg": P2, "../icons/tiktok.svg": B2, "../icons/top-left.svg": O2, "../icons/top-right.svg": U2, "../icons/trash.svg": Z2, "../icons/up.svg": T2, "../icons/youtube.svg": N2 }))[`../icons/${this.name}.svg`], import.meta.url).href;
627
+ t = new URL((/* @__PURE__ */ Object.assign({ "../icons/add-circle.svg": K, "../icons/bottom-left.svg": G, "../icons/bottom-right.svg": Q, "../icons/camera-video.svg": X, "../icons/camera.svg": Y, "../icons/cmd.svg": t2, "../icons/code.svg": e2, "../icons/down.svg": s2, "../icons/download.svg": o2, "../icons/edit.svg": i2, "../icons/explore.svg": r2, "../icons/external-2.svg": n2, "../icons/fullscreen-exit.svg": c2, "../icons/fullscreen.svg": l2, "../icons/github.svg": a2, "../icons/heart-filled.svg": h2, "../icons/heart.svg": d2, "../icons/home.svg": p2, "../icons/info.svg": g2, "../icons/input.svg": k2, "../icons/instagram.svg": w2, "../icons/left.svg": v2, "../icons/lock-closed.svg": u2, "../icons/lock-open.svg": _2, "../icons/lock.svg": m2, "../icons/login.svg": b2, "../icons/ma-2.svg": f2, "../icons/ma.svg": C2, "../icons/menu.svg": $2, "../icons/options.svg": x2, "../icons/pants.svg": M2, "../icons/pause.svg": y2, "../icons/person.svg": L2, "../icons/play.svg": A2, "../icons/remove-circle.svg": H2, "../icons/right.svg": S2, "../icons/search.svg": E2, "../icons/send.svg": V2, "../icons/settings.svg": P2, "../icons/tiktok.svg": B2, "../icons/top-left.svg": O2, "../icons/top-right.svg": U2, "../icons/trash.svg": Z2, "../icons/up.svg": T2, "../icons/youtube.svg": N2 }))[`../icons/${i}.svg`], import.meta.url).href;
627
628
  } catch {
628
- i = `/icons/${this.name}.svg`;
629
+ t = `/icons/${i}.svg`;
629
630
  }
630
- let t;
631
+ let e;
631
632
  try {
632
- t = new URL((/* @__PURE__ */ Object.assign({ "../icons/add-circle.svg": K, "../icons/bottom-left.svg": G, "../icons/bottom-right.svg": Q, "../icons/camera-video.svg": X, "../icons/camera.svg": Y, "../icons/cmd.svg": t2, "../icons/code.svg": e2, "../icons/down.svg": s2, "../icons/download.svg": o2, "../icons/edit.svg": i2, "../icons/explore.svg": r2, "../icons/external-2.svg": n2, "../icons/fullscreen-exit.svg": c2, "../icons/fullscreen.svg": l2, "../icons/github.svg": a2, "../icons/heart-filled.svg": h2, "../icons/heart.svg": d2, "../icons/home.svg": p2, "../icons/info.svg": g2, "../icons/input.svg": k2, "../icons/instagram.svg": w2, "../icons/left.svg": v2, "../icons/lock-closed.svg": u2, "../icons/lock-open.svg": _2, "../icons/lock.svg": m2, "../icons/login.svg": b2, "../icons/ma-2.svg": f2, "../icons/ma.svg": C2, "../icons/menu.svg": $2, "../icons/options.svg": x2, "../icons/pants.svg": M2, "../icons/pause.svg": y2, "../icons/person.svg": L2, "../icons/play.svg": A2, "../icons/remove-circle.svg": H2, "../icons/right.svg": S2, "../icons/search.svg": E2, "../icons/send.svg": V2, "../icons/settings.svg": P2, "../icons/tiktok.svg": B2, "../icons/top-left.svg": O2, "../icons/top-right.svg": U2, "../icons/trash.svg": Z2, "../icons/up.svg": T2, "../icons/youtube.svg": N2 }))[`../icons/${this.altname}.svg`], import.meta.url).href;
633
+ e = new URL((/* @__PURE__ */ Object.assign({ "../icons/add-circle.svg": K, "../icons/bottom-left.svg": G, "../icons/bottom-right.svg": Q, "../icons/camera-video.svg": X, "../icons/camera.svg": Y, "../icons/cmd.svg": t2, "../icons/code.svg": e2, "../icons/down.svg": s2, "../icons/download.svg": o2, "../icons/edit.svg": i2, "../icons/explore.svg": r2, "../icons/external-2.svg": n2, "../icons/fullscreen-exit.svg": c2, "../icons/fullscreen.svg": l2, "../icons/github.svg": a2, "../icons/heart-filled.svg": h2, "../icons/heart.svg": d2, "../icons/home.svg": p2, "../icons/info.svg": g2, "../icons/input.svg": k2, "../icons/instagram.svg": w2, "../icons/left.svg": v2, "../icons/lock-closed.svg": u2, "../icons/lock-open.svg": _2, "../icons/lock.svg": m2, "../icons/login.svg": b2, "../icons/ma-2.svg": f2, "../icons/ma.svg": C2, "../icons/menu.svg": $2, "../icons/options.svg": x2, "../icons/pants.svg": M2, "../icons/pause.svg": y2, "../icons/person.svg": L2, "../icons/play.svg": A2, "../icons/remove-circle.svg": H2, "../icons/right.svg": S2, "../icons/search.svg": E2, "../icons/send.svg": V2, "../icons/settings.svg": P2, "../icons/tiktok.svg": B2, "../icons/top-left.svg": O2, "../icons/top-right.svg": U2, "../icons/trash.svg": Z2, "../icons/up.svg": T2, "../icons/youtube.svg": N2 }))[`../icons/${this.altname}.svg`], import.meta.url).href;
633
634
  } catch {
634
- t = `/icons/${this.altname}.svg`;
635
+ e = `/icons/${this.altname}.svg`;
635
636
  }
636
- let e, s;
637
+ let s, o;
637
638
  try {
638
- e = await fetch(i), s = await e.text();
639
+ s = await fetch(t), o = await s.text();
639
640
  } catch {
640
- e = await fetch(t), s = await e.text();
641
+ s = await fetch(e), o = await s.text();
641
642
  }
642
- const o = new DOMParser().parseFromString(s, "image/svg+xml"), r = o.querySelector("svg");
643
+ const n = new DOMParser().parseFromString(o, "image/svg+xml"), r = n.querySelector("svg");
643
644
  if (!r) return "";
644
- r == null || r.setAttribute("width", this.size), r == null || r.setAttribute("height", this.size), r == null || r.setAttribute("fill", "none"), o.querySelectorAll("[stroke]").forEach((n) => n.setAttribute("stroke", this.href ? "hsl(0deg 0% 0% / calc(100% * 3/8))" : this.color)), o.querySelectorAll("[stroke-width]").forEach((n) => n.setAttribute("stroke-width", this.weight)), this.svg = r == null ? void 0 : r.outerHTML;
645
+ r == null || r.setAttribute("width", this.size), r == null || r.setAttribute("height", this.size), r == null || r.setAttribute("fill", "none"), n.querySelectorAll("[stroke]").forEach((l) => l.setAttribute("stroke", this.href ? "hsl(0deg 0% 0% / calc(100% * 3/8))" : this.color)), n.querySelectorAll("[stroke-width]").forEach((l) => l.setAttribute("stroke-width", this.weight)), this.svg = r == null ? void 0 : r.outerHTML;
645
646
  }
646
647
  };
647
648
  g.styles = o0`
@@ -2,17 +2,17 @@ var MaIcons=function(z){"use strict";var o0;var x=typeof document<"u"?document.c
2
2
  * @license
3
3
  * Copyright 2019 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
- */const T=globalThis,D=T.ShadowRoot&&(T.ShadyCSS===void 0||T.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,I=Symbol(),z2=new WeakMap;let D2=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==I)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(D&&t===void 0){const s=e!==void 0&&e.length===1;s&&(t=z2.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&z2.set(e,t))}return t}toString(){return this.cssText}};const i0=i=>new D2(typeof i=="string"?i:i+"",void 0,I),r0=(i,...t)=>{const e=i.length===1?i[0]:t.reduce((s,o,r)=>s+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+i[r+1],i[0]);return new D2(e,i,I)},n0=(i,t)=>{if(D)i.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const e of t){const s=document.createElement("style"),o=T.litNonce;o!==void 0&&s.setAttribute("nonce",o),s.textContent=e.cssText,i.appendChild(s)}},I2=D?i=>i:i=>i instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return i0(e)})(i):i;/**
5
+ */const T=globalThis,D=T.ShadowRoot&&(T.ShadyCSS===void 0||T.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,I=Symbol(),z2=new WeakMap;let D2=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==I)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(D&&t===void 0){const s=e!==void 0&&e.length===1;s&&(t=z2.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&z2.set(e,t))}return t}toString(){return this.cssText}};const i0=i=>new D2(typeof i=="string"?i:i+"",void 0,I),r0=(i,...t)=>{const e=i.length===1?i[0]:t.reduce((s,o,n)=>s+(r=>{if(r._$cssResult$===!0)return r.cssText;if(typeof r=="number")return r;throw Error("Value passed to 'css' function must be a 'css' function result: "+r+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+i[n+1],i[0]);return new D2(e,i,I)},n0=(i,t)=>{if(D)i.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const e of t){const s=document.createElement("style"),o=T.litNonce;o!==void 0&&s.setAttribute("nonce",o),s.textContent=e.cssText,i.appendChild(s)}},I2=D?i=>i:i=>i instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return i0(e)})(i):i;/**
6
6
  * @license
7
7
  * Copyright 2017 Google LLC
8
8
  * SPDX-License-Identifier: BSD-3-Clause
9
- */const{is:c0,defineProperty:a0,getOwnPropertyDescriptor:l0,getOwnPropertyNames:h0,getOwnPropertySymbols:d0,getPrototypeOf:p0}=Object,u=globalThis,q2=u.trustedTypes,g0=q2?q2.emptyScript:"",q=u.reactiveElementPolyfillSupport,S=(i,t)=>i,Z={toAttribute(i,t){switch(t){case Boolean:i=i?g0:null;break;case Object:case Array:i=i==null?i:JSON.stringify(i)}return i},fromAttribute(i,t){let e=i;switch(t){case Boolean:e=i!==null;break;case Number:e=i===null?null:Number(i);break;case Object:case Array:try{e=JSON.parse(i)}catch{e=null}}return e}},W=(i,t)=>!c0(i,t),W2={attribute:!0,type:String,converter:Z,reflect:!1,useDefault:!1,hasChanged:W};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),u.litPropertyMetadata??(u.litPropertyMetadata=new WeakMap);let M=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=W2){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(),o=this.getPropertyDescriptor(t,s,e);o!==void 0&&a0(this.prototype,t,o)}}static getPropertyDescriptor(t,e,s){const{get:o,set:r}=l0(this.prototype,t)??{get(){return this[e]},set(n){this[e]=n}};return{get:o,set(n){const a=o==null?void 0:o.call(this);r==null||r.call(this,n),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??W2}static _$Ei(){if(this.hasOwnProperty(S("elementProperties")))return;const t=p0(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(S("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(S("properties"))){const e=this.properties,s=[...h0(e),...d0(e)];for(const o of s)this.createProperty(o,e[o])}const t=this[Symbol.metadata];if(t!==null){const e=litPropertyMetadata.get(t);if(e!==void 0)for(const[s,o]of e)this.elementProperties.set(s,o)}this._$Eh=new Map;for(const[e,s]of this.elementProperties){const o=this._$Eu(e,s);o!==void 0&&this._$Eh.set(o,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 o of s)e.unshift(I2(o))}else t!==void 0&&e.push(I2(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 n0(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 r;const s=this.constructor.elementProperties.get(t),o=this.constructor._$Eu(t,s);if(o!==void 0&&s.reflect===!0){const n=(((r=s.converter)==null?void 0:r.toAttribute)!==void 0?s.converter:Z).toAttribute(e,s.type);this._$Em=t,n==null?this.removeAttribute(o):this.setAttribute(o,n),this._$Em=null}}_$AK(t,e){var r,n;const s=this.constructor,o=s._$Eh.get(t);if(o!==void 0&&this._$Em!==o){const a=s.getPropertyOptions(o),c=typeof a.converter=="function"?{fromAttribute:a.converter}:((r=a.converter)==null?void 0:r.fromAttribute)!==void 0?a.converter:Z;this._$Em=o,this[o]=c.fromAttribute(e,a.type)??((n=this._$Ej)==null?void 0:n.get(o))??null,this._$Em=null}}requestUpdate(t,e,s){var o;if(t!==void 0){const r=this.constructor,n=this[t];if(s??(s=r.getPropertyOptions(t)),!((s.hasChanged??W)(n,e)||s.useDefault&&s.reflect&&n===((o=this._$Ej)==null?void 0:o.get(t))&&!this.hasAttribute(r._$Eu(t,s))))return;this.C(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:o,wrapped:r},n){s&&!(this._$Ej??(this._$Ej=new Map)).has(t)&&(this._$Ej.set(t,n??e??this[t]),r!==!0||n!==void 0)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),o===!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[r,n]of this._$Ep)this[r]=n;this._$Ep=void 0}const o=this.constructor.elementProperties;if(o.size>0)for(const[r,n]of o){const{wrapped:a}=n,c=this[r];a!==!0||this._$AL.has(r)||c===void 0||this.C(r,void 0,n,c)}}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),(s=this._$EO)==null||s.forEach(o=>{var r;return(r=o.hostUpdate)==null?void 0:r.call(o)}),this.update(e)):this._$EM()}catch(o){throw t=!1,this._$EM(),o}t&&this._$AE(e)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach(s=>{var o;return(o=s.hostUpdated)==null?void 0:o.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){}};M.elementStyles=[],M.shadowRootOptions={mode:"open"},M[S("elementProperties")]=new Map,M[S("finalized")]=new Map,q==null||q({ReactiveElement:M}),(u.reactiveElementVersions??(u.reactiveElementVersions=[])).push("2.1.0");/**
9
+ */const{is:c0,defineProperty:a0,getOwnPropertyDescriptor:l0,getOwnPropertyNames:h0,getOwnPropertySymbols:d0,getPrototypeOf:p0}=Object,u=globalThis,q2=u.trustedTypes,g0=q2?q2.emptyScript:"",q=u.reactiveElementPolyfillSupport,S=(i,t)=>i,Z={toAttribute(i,t){switch(t){case Boolean:i=i?g0:null;break;case Object:case Array:i=i==null?i:JSON.stringify(i)}return i},fromAttribute(i,t){let e=i;switch(t){case Boolean:e=i!==null;break;case Number:e=i===null?null:Number(i);break;case Object:case Array:try{e=JSON.parse(i)}catch{e=null}}return e}},W=(i,t)=>!c0(i,t),W2={attribute:!0,type:String,converter:Z,reflect:!1,useDefault:!1,hasChanged:W};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),u.litPropertyMetadata??(u.litPropertyMetadata=new WeakMap);let M=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=W2){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(),o=this.getPropertyDescriptor(t,s,e);o!==void 0&&a0(this.prototype,t,o)}}static getPropertyDescriptor(t,e,s){const{get:o,set:n}=l0(this.prototype,t)??{get(){return this[e]},set(r){this[e]=r}};return{get:o,set(r){const a=o==null?void 0:o.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)??W2}static _$Ei(){if(this.hasOwnProperty(S("elementProperties")))return;const t=p0(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(S("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(S("properties"))){const e=this.properties,s=[...h0(e),...d0(e)];for(const o of s)this.createProperty(o,e[o])}const t=this[Symbol.metadata];if(t!==null){const e=litPropertyMetadata.get(t);if(e!==void 0)for(const[s,o]of e)this.elementProperties.set(s,o)}this._$Eh=new Map;for(const[e,s]of this.elementProperties){const o=this._$Eu(e,s);o!==void 0&&this._$Eh.set(o,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 o of s)e.unshift(I2(o))}else t!==void 0&&e.push(I2(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 n0(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),o=this.constructor._$Eu(t,s);if(o!==void 0&&s.reflect===!0){const r=(((n=s.converter)==null?void 0:n.toAttribute)!==void 0?s.converter:Z).toAttribute(e,s.type);this._$Em=t,r==null?this.removeAttribute(o):this.setAttribute(o,r),this._$Em=null}}_$AK(t,e){var n,r;const s=this.constructor,o=s._$Eh.get(t);if(o!==void 0&&this._$Em!==o){const a=s.getPropertyOptions(o),c=typeof a.converter=="function"?{fromAttribute:a.converter}:((n=a.converter)==null?void 0:n.fromAttribute)!==void 0?a.converter:Z;this._$Em=o,this[o]=c.fromAttribute(e,a.type)??((r=this._$Ej)==null?void 0:r.get(o))??null,this._$Em=null}}requestUpdate(t,e,s){var o;if(t!==void 0){const n=this.constructor,r=this[t];if(s??(s=n.getPropertyOptions(t)),!((s.hasChanged??W)(r,e)||s.useDefault&&s.reflect&&r===((o=this._$Ej)==null?void 0:o.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:o,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)),o===!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 o=this.constructor.elementProperties;if(o.size>0)for(const[n,r]of o){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(o=>{var n;return(n=o.hostUpdate)==null?void 0:n.call(o)}),this.update(e)):this._$EM()}catch(o){throw t=!1,this._$EM(),o}t&&this._$AE(e)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach(s=>{var o;return(o=s.hostUpdated)==null?void 0:o.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){}};M.elementStyles=[],M.shadowRootOptions={mode:"open"},M[S("elementProperties")]=new Map,M[S("finalized")]=new Map,q==null||q({ReactiveElement:M}),(u.reactiveElementVersions??(u.reactiveElementVersions=[])).push("2.1.0");/**
10
10
  * @license
11
11
  * Copyright 2017 Google LLC
12
12
  * SPDX-License-Identifier: BSD-3-Clause
13
13
  */const H=globalThis,R=H.trustedTypes,F2=R?R.createPolicy("lit-html",{createHTML:i=>i}):void 0,J2="$lit$",_=`lit$${Math.random().toFixed(9).slice(2)}$`,K2="?"+_,k0=`<${K2}>`,f=document,E=()=>f.createComment(""),V=i=>i===null||typeof i!="object"&&typeof i!="function",F=Array.isArray,w0=i=>F(i)||typeof(i==null?void 0:i[Symbol.iterator])=="function",J=`[
14
14
  \f\r]`,P=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,G2=/-->/g,Q2=/>/g,b=RegExp(`>|${J}(?:([^\\s"'>=/]+)(${J}*=${J}*(?:[^
15
- \f\r"'\`<>=]|("|')|))|$)`,"g"),X2=/'/g,Y2=/"/g,t0=/^(?:script|style|textarea|title)$/i,v0=i=>(t,...e)=>({_$litType$:i,strings:t,values:e}),y=v0(1),L=Symbol.for("lit-noChange"),h=Symbol.for("lit-nothing"),e0=new WeakMap,C=f.createTreeWalker(f,129);function s0(i,t){if(!F(i)||!i.hasOwnProperty("raw"))throw Error("invalid template strings array");return F2!==void 0?F2.createHTML(t):t}const u0=(i,t)=>{const e=i.length-1,s=[];let o,r=t===2?"<svg>":t===3?"<math>":"",n=P;for(let a=0;a<e;a++){const c=i[a];let d,p,l=-1,v=0;for(;v<c.length&&(n.lastIndex=v,p=n.exec(c),p!==null);)v=n.lastIndex,n===P?p[1]==="!--"?n=G2:p[1]!==void 0?n=Q2:p[2]!==void 0?(t0.test(p[2])&&(o=RegExp("</"+p[2],"g")),n=b):p[3]!==void 0&&(n=b):n===b?p[0]===">"?(n=o??P,l=-1):p[1]===void 0?l=-2:(l=n.lastIndex-p[2].length,d=p[1],n=p[3]===void 0?b:p[3]==='"'?Y2:X2):n===Y2||n===X2?n=b:n===G2||n===Q2?n=P:(n=b,o=void 0);const m=n===b&&i[a+1].startsWith("/>")?" ":"";r+=n===P?c+k0:l>=0?(s.push(d),c.slice(0,l)+J2+c.slice(l)+_+m):c+_+(l===-2?a:m)}return[s0(i,r+(i[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]};class B{constructor({strings:t,_$litType$:e},s){let o;this.parts=[];let r=0,n=0;const a=t.length-1,c=this.parts,[d,p]=u0(t,e);if(this.el=B.createElement(d,s),C.currentNode=this.el.content,e===2||e===3){const l=this.el.content.firstChild;l.replaceWith(...l.childNodes)}for(;(o=C.nextNode())!==null&&c.length<a;){if(o.nodeType===1){if(o.hasAttributes())for(const l of o.getAttributeNames())if(l.endsWith(J2)){const v=p[n++],m=o.getAttribute(l).split(_),j=/([.?@])?(.*)/.exec(v);c.push({type:1,index:r,name:j[2],strings:m,ctor:j[1]==="."?m0:j[1]==="?"?f0:j[1]==="@"?b0:N}),o.removeAttribute(l)}else l.startsWith(_)&&(c.push({type:6,index:r}),o.removeAttribute(l));if(t0.test(o.tagName)){const l=o.textContent.split(_),v=l.length-1;if(v>0){o.textContent=R?R.emptyScript:"";for(let m=0;m<v;m++)o.append(l[m],E()),C.nextNode(),c.push({type:2,index:++r});o.append(l[v],E())}}}else if(o.nodeType===8)if(o.data===K2)c.push({type:2,index:r});else{let l=-1;for(;(l=o.data.indexOf(_,l+1))!==-1;)c.push({type:7,index:r}),l+=_.length-1}r++}}static createElement(t,e){const s=f.createElement("template");return s.innerHTML=t,s}}function A(i,t,e=i,s){var n,a;if(t===L)return t;let o=s!==void 0?(n=e._$Co)==null?void 0:n[s]:e._$Cl;const r=V(t)?void 0:t._$litDirective$;return(o==null?void 0:o.constructor)!==r&&((a=o==null?void 0:o._$AO)==null||a.call(o,!1),r===void 0?o=void 0:(o=new r(i),o._$AT(i,e,s)),s!==void 0?(e._$Co??(e._$Co=[]))[s]=o:e._$Cl=o),o!==void 0&&(t=A(i,o._$AS(i,t.values),o,s)),t}class _0{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,o=((t==null?void 0:t.creationScope)??f).importNode(e,!0);C.currentNode=o;let r=C.nextNode(),n=0,a=0,c=s[0];for(;c!==void 0;){if(n===c.index){let d;c.type===2?d=new U(r,r.nextSibling,this,t):c.type===1?d=new c.ctor(r,c.name,c.strings,this,t):c.type===6&&(d=new C0(r,this,t)),this._$AV.push(d),c=s[++a]}n!==(c==null?void 0:c.index)&&(r=C.nextNode(),n++)}return C.currentNode=f,o}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 U{get _$AU(){var t;return((t=this._$AM)==null?void 0:t._$AU)??this._$Cv}constructor(t,e,s,o){this.type=2,this._$AH=h,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=o,this._$Cv=(o==null?void 0:o.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=A(this,t,e),V(t)?t===h||t==null||t===""?(this._$AH!==h&&this._$AR(),this._$AH=h):t!==this._$AH&&t!==L&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):w0(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!==h&&V(this._$AH)?this._$AA.nextSibling.data=t:this.T(f.createTextNode(t)),this._$AH=t}$(t){var r;const{values:e,_$litType$:s}=t,o=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=B.createElement(s0(s.h,s.h[0]),this.options)),s);if(((r=this._$AH)==null?void 0:r._$AD)===o)this._$AH.p(e);else{const n=new _0(o,this),a=n.u(this.options);n.p(e),this.T(a),this._$AH=n}}_$AC(t){let e=e0.get(t.strings);return e===void 0&&e0.set(t.strings,e=new B(t)),e}k(t){F(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,o=0;for(const r of t)o===e.length?e.push(s=new U(this.O(E()),this.O(E()),this,this.options)):s=e[o],s._$AI(r),o++;o<e.length&&(this._$AR(s&&s._$AB.nextSibling,o),e.length=o)}_$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 o=t.nextSibling;t.remove(),t=o}}setConnected(t){var e;this._$AM===void 0&&(this._$Cv=t,(e=this._$AP)==null||e.call(this,t))}}class N{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,o,r){this.type=1,this._$AH=h,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=r,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=h}_$AI(t,e=this,s,o){const r=this.strings;let n=!1;if(r===void 0)t=A(this,t,e,0),n=!V(t)||t!==this._$AH&&t!==L,n&&(this._$AH=t);else{const a=t;let c,d;for(t=r[0],c=0;c<r.length-1;c++)d=A(this,a[s+c],e,c),d===L&&(d=this._$AH[c]),n||(n=!V(d)||d!==this._$AH[c]),d===h?t=h:t!==h&&(t+=(d??"")+r[c+1]),this._$AH[c]=d}n&&!o&&this.j(t)}j(t){t===h?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class m0 extends N{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===h?void 0:t}}class f0 extends N{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==h)}}class b0 extends N{constructor(t,e,s,o,r){super(t,e,s,o,r),this.type=5}_$AI(t,e=this){if((t=A(this,t,e,0)??h)===L)return;const s=this._$AH,o=t===h&&s!==h||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,r=t!==h&&(s===h||o);o&&this.element.removeEventListener(this.name,this,s),r&&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 C0{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){A(this,t)}}const K=H.litHtmlPolyfillSupport;K==null||K(B,U),(H.litHtmlVersions??(H.litHtmlVersions=[])).push("3.3.0");const $0=(i,t,e)=>{const s=(e==null?void 0:e.renderBefore)??t;let o=s._$litPart$;if(o===void 0){const r=(e==null?void 0:e.renderBefore)??null;s._$litPart$=o=new U(t.insertBefore(E(),r),r,void 0,e??{})}return o._$AI(i),o};/**
15
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),X2=/'/g,Y2=/"/g,t0=/^(?:script|style|textarea|title)$/i,v0=i=>(t,...e)=>({_$litType$:i,strings:t,values:e}),y=v0(1),L=Symbol.for("lit-noChange"),h=Symbol.for("lit-nothing"),e0=new WeakMap,C=f.createTreeWalker(f,129);function s0(i,t){if(!F(i)||!i.hasOwnProperty("raw"))throw Error("invalid template strings array");return F2!==void 0?F2.createHTML(t):t}const u0=(i,t)=>{const e=i.length-1,s=[];let o,n=t===2?"<svg>":t===3?"<math>":"",r=P;for(let a=0;a<e;a++){const c=i[a];let d,p,l=-1,v=0;for(;v<c.length&&(r.lastIndex=v,p=r.exec(c),p!==null);)v=r.lastIndex,r===P?p[1]==="!--"?r=G2:p[1]!==void 0?r=Q2:p[2]!==void 0?(t0.test(p[2])&&(o=RegExp("</"+p[2],"g")),r=b):p[3]!==void 0&&(r=b):r===b?p[0]===">"?(r=o??P,l=-1):p[1]===void 0?l=-2:(l=r.lastIndex-p[2].length,d=p[1],r=p[3]===void 0?b:p[3]==='"'?Y2:X2):r===Y2||r===X2?r=b:r===G2||r===Q2?r=P:(r=b,o=void 0);const m=r===b&&i[a+1].startsWith("/>")?" ":"";n+=r===P?c+k0:l>=0?(s.push(d),c.slice(0,l)+J2+c.slice(l)+_+m):c+_+(l===-2?a:m)}return[s0(i,n+(i[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]};class B{constructor({strings:t,_$litType$:e},s){let o;this.parts=[];let n=0,r=0;const a=t.length-1,c=this.parts,[d,p]=u0(t,e);if(this.el=B.createElement(d,s),C.currentNode=this.el.content,e===2||e===3){const l=this.el.content.firstChild;l.replaceWith(...l.childNodes)}for(;(o=C.nextNode())!==null&&c.length<a;){if(o.nodeType===1){if(o.hasAttributes())for(const l of o.getAttributeNames())if(l.endsWith(J2)){const v=p[r++],m=o.getAttribute(l).split(_),j=/([.?@])?(.*)/.exec(v);c.push({type:1,index:n,name:j[2],strings:m,ctor:j[1]==="."?m0:j[1]==="?"?f0:j[1]==="@"?b0:N}),o.removeAttribute(l)}else l.startsWith(_)&&(c.push({type:6,index:n}),o.removeAttribute(l));if(t0.test(o.tagName)){const l=o.textContent.split(_),v=l.length-1;if(v>0){o.textContent=R?R.emptyScript:"";for(let m=0;m<v;m++)o.append(l[m],E()),C.nextNode(),c.push({type:2,index:++n});o.append(l[v],E())}}}else if(o.nodeType===8)if(o.data===K2)c.push({type:2,index:n});else{let l=-1;for(;(l=o.data.indexOf(_,l+1))!==-1;)c.push({type:7,index:n}),l+=_.length-1}n++}}static createElement(t,e){const s=f.createElement("template");return s.innerHTML=t,s}}function A(i,t,e=i,s){var r,a;if(t===L)return t;let o=s!==void 0?(r=e._$Co)==null?void 0:r[s]:e._$Cl;const n=V(t)?void 0:t._$litDirective$;return(o==null?void 0:o.constructor)!==n&&((a=o==null?void 0:o._$AO)==null||a.call(o,!1),n===void 0?o=void 0:(o=new n(i),o._$AT(i,e,s)),s!==void 0?(e._$Co??(e._$Co=[]))[s]=o:e._$Cl=o),o!==void 0&&(t=A(i,o._$AS(i,t.values),o,s)),t}class _0{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,o=((t==null?void 0:t.creationScope)??f).importNode(e,!0);C.currentNode=o;let n=C.nextNode(),r=0,a=0,c=s[0];for(;c!==void 0;){if(r===c.index){let d;c.type===2?d=new U(n,n.nextSibling,this,t):c.type===1?d=new c.ctor(n,c.name,c.strings,this,t):c.type===6&&(d=new C0(n,this,t)),this._$AV.push(d),c=s[++a]}r!==(c==null?void 0:c.index)&&(n=C.nextNode(),r++)}return C.currentNode=f,o}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 U{get _$AU(){var t;return((t=this._$AM)==null?void 0:t._$AU)??this._$Cv}constructor(t,e,s,o){this.type=2,this._$AH=h,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=o,this._$Cv=(o==null?void 0:o.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=A(this,t,e),V(t)?t===h||t==null||t===""?(this._$AH!==h&&this._$AR(),this._$AH=h):t!==this._$AH&&t!==L&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):w0(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!==h&&V(this._$AH)?this._$AA.nextSibling.data=t:this.T(f.createTextNode(t)),this._$AH=t}$(t){var n;const{values:e,_$litType$:s}=t,o=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=B.createElement(s0(s.h,s.h[0]),this.options)),s);if(((n=this._$AH)==null?void 0:n._$AD)===o)this._$AH.p(e);else{const r=new _0(o,this),a=r.u(this.options);r.p(e),this.T(a),this._$AH=r}}_$AC(t){let e=e0.get(t.strings);return e===void 0&&e0.set(t.strings,e=new B(t)),e}k(t){F(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,o=0;for(const n of t)o===e.length?e.push(s=new U(this.O(E()),this.O(E()),this,this.options)):s=e[o],s._$AI(n),o++;o<e.length&&(this._$AR(s&&s._$AB.nextSibling,o),e.length=o)}_$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 o=t.nextSibling;t.remove(),t=o}}setConnected(t){var e;this._$AM===void 0&&(this._$Cv=t,(e=this._$AP)==null||e.call(this,t))}}class N{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,o,n){this.type=1,this._$AH=h,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=h}_$AI(t,e=this,s,o){const n=this.strings;let r=!1;if(n===void 0)t=A(this,t,e,0),r=!V(t)||t!==this._$AH&&t!==L,r&&(this._$AH=t);else{const a=t;let c,d;for(t=n[0],c=0;c<n.length-1;c++)d=A(this,a[s+c],e,c),d===L&&(d=this._$AH[c]),r||(r=!V(d)||d!==this._$AH[c]),d===h?t=h:t!==h&&(t+=(d??"")+n[c+1]),this._$AH[c]=d}r&&!o&&this.j(t)}j(t){t===h?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class m0 extends N{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===h?void 0:t}}class f0 extends N{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==h)}}class b0 extends N{constructor(t,e,s,o,n){super(t,e,s,o,n),this.type=5}_$AI(t,e=this){if((t=A(this,t,e,0)??h)===L)return;const s=this._$AH,o=t===h&&s!==h||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==h&&(s===h||o);o&&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 C0{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){A(this,t)}}const K=H.litHtmlPolyfillSupport;K==null||K(B,U),(H.litHtmlVersions??(H.litHtmlVersions=[])).push("3.3.0");const $0=(i,t,e)=>{const s=(e==null?void 0:e.renderBefore)??t;let o=s._$litPart$;if(o===void 0){const n=(e==null?void 0:e.renderBefore)??null;s._$litPart$=o=new U(t.insertBefore(E(),n),n,void 0,e??{})}return o._$AI(i),o};/**
16
16
  * @license
17
17
  * Copyright 2017 Google LLC
18
18
  * SPDX-License-Identifier: BSD-3-Clause
@@ -24,15 +24,15 @@ var MaIcons=function(z){"use strict";var o0;var x=typeof document<"u"?document.c
24
24
  * @license
25
25
  * Copyright 2017 Google LLC
26
26
  * SPDX-License-Identifier: BSD-3-Clause
27
- */const M0={attribute:!0,type:String,converter:Z,reflect:!1,hasChanged:W},y0=(i=M0,t,e)=>{const{kind:s,metadata:o}=e;let r=globalThis.litPropertyMetadata.get(o);if(r===void 0&&globalThis.litPropertyMetadata.set(o,r=new Map),s==="setter"&&((i=Object.create(i)).wrapped=!0),r.set(e.name,i),s==="accessor"){const{name:n}=e;return{set(a){const c=t.get.call(this);t.set.call(this,a),this.requestUpdate(n,c,i)},init(a){return a!==void 0&&this.C(n,void 0,i,a),a}}}if(s==="setter"){const{name:n}=e;return function(a){const c=this[n];t.call(this,a),this.requestUpdate(n,c,i)}}throw Error("Unsupported decorator location: "+s)};function w(i){return(t,e)=>typeof e=="object"?y0(i,t,e):((s,o,r)=>{const n=o.hasOwnProperty(r);return o.constructor.createProperty(r,s),n?Object.getOwnPropertyDescriptor(o,r):void 0})(i,t,e)}/**
27
+ */const M0={attribute:!0,type:String,converter:Z,reflect:!1,hasChanged:W},y0=(i=M0,t,e)=>{const{kind:s,metadata:o}=e;let n=globalThis.litPropertyMetadata.get(o);if(n===void 0&&globalThis.litPropertyMetadata.set(o,n=new Map),s==="setter"&&((i=Object.create(i)).wrapped=!0),n.set(e.name,i),s==="accessor"){const{name:r}=e;return{set(a){const c=t.get.call(this);t.set.call(this,a),this.requestUpdate(r,c,i)},init(a){return a!==void 0&&this.C(r,void 0,i,a),a}}}if(s==="setter"){const{name:r}=e;return function(a){const c=this[r];t.call(this,a),this.requestUpdate(r,c,i)}}throw Error("Unsupported decorator location: "+s)};function w(i){return(t,e)=>typeof e=="object"?y0(i,t,e):((s,o,n)=>{const r=o.hasOwnProperty(n);return o.constructor.createProperty(n,s),r?Object.getOwnPropertyDescriptor(o,n):void 0})(i,t,e)}/**
28
28
  * @license
29
29
  * Copyright 2017 Google LLC
30
30
  * SPDX-License-Identifier: BSD-3-Clause
31
- */function L0(i){return w({...i,state:!0,attribute:!1})}var A0=Object.defineProperty,S0=Object.getOwnPropertyDescriptor,k=(i,t,e,s)=>{for(var o=s>1?void 0:s?S0(t,e):t,r=i.length-1,n;r>=0;r--)(n=i[r])&&(o=(s?n(t,e,o):n(o))||o);return s&&o&&A0(t,e,o),o};let g=class extends O{constructor(){super(...arguments),this.styled=!1,this.download=!1,this.leading=!1,this.name="top-right",this.altname="not-found",this.size="16",this.weight="5",this.color="hsl(0deg 0% 0%)",this.svg=null}updated(i){super.updated(i),i.has("name")&&this.modifySvg()}render(){const i=this.svg?y`<span .innerHTML=${this.svg}></span>`:y``;return this.href!=null?y`
31
+ */function L0(i){return w({...i,state:!0,attribute:!1})}var A0=Object.defineProperty,S0=Object.getOwnPropertyDescriptor,k=(i,t,e,s)=>{for(var o=s>1?void 0:s?S0(t,e):t,n=i.length-1,r;n>=0;n--)(r=i[n])&&(o=(s?r(t,e,o):r(o))||o);return s&&o&&A0(t,e,o),o};let g=class extends O{constructor(){super(...arguments),this.styled=!1,this.download=!1,this.leading=!1,this.name="top-right",this.altname="not-found",this.size="16",this.weight="5",this.color="hsl(0deg 0% 0%)",this.svg=null}updated(i){super.updated(i),i.has("name")&&this.modifySvg()}render(){const i=this.svg?y`<span .innerHTML=${this.svg}></span>`:y``;return this.href!=null?y`
32
32
  <a download=${this.download} href=${this.href} class="${this.styled?"styled":""}">
33
- ${this.leading?y`${i}&thinsp;`:""}<slot></slot>${this.leading?"":y`&thinsp;${i}`}
33
+ ${this.leading?y`${i}&thinsp;`:""}<slot></slot>${this.leading?"":y`${i}`}
34
34
  </a>
35
- `:y`${i}`}async modifySvg(){let i;try{i=new URL(Object.assign({"../icons/add-circle.svg":Q,"../icons/bottom-left.svg":X,"../icons/bottom-right.svg":Y,"../icons/camera-video.svg":t2,"../icons/camera.svg":e2,"../icons/cmd.svg":s2,"../icons/code.svg":o2,"../icons/down.svg":i2,"../icons/download.svg":r2,"../icons/edit.svg":n2,"../icons/explore.svg":c2,"../icons/external-2.svg":a2,"../icons/fullscreen-exit.svg":l2,"../icons/fullscreen.svg":h2,"../icons/github.svg":d2,"../icons/heart-filled.svg":p2,"../icons/heart.svg":g2,"../icons/home.svg":k2,"../icons/info.svg":w2,"../icons/input.svg":v2,"../icons/instagram.svg":u2,"../icons/left.svg":_2,"../icons/lock-closed.svg":m2,"../icons/lock-open.svg":f2,"../icons/lock.svg":b2,"../icons/login.svg":C2,"../icons/ma-2.svg":$2,"../icons/ma.svg":x2,"../icons/menu.svg":M2,"../icons/options.svg":y2,"../icons/pants.svg":L2,"../icons/pause.svg":A2,"../icons/person.svg":S2,"../icons/play.svg":H2,"../icons/remove-circle.svg":E2,"../icons/right.svg":V2,"../icons/search.svg":P2,"../icons/send.svg":B2,"../icons/settings.svg":U2,"../icons/tiktok.svg":O2,"../icons/top-left.svg":T2,"../icons/top-right.svg":Z2,"../icons/trash.svg":R2,"../icons/up.svg":N2,"../icons/youtube.svg":j2})[`../icons/${this.name}.svg`],x&&x.tagName.toUpperCase()==="SCRIPT"&&x.src||new URL("ma-icons.iife.js",document.baseURI).href).href}catch{i=`/icons/${this.name}.svg`}let t;try{t=new URL(Object.assign({"../icons/add-circle.svg":Q,"../icons/bottom-left.svg":X,"../icons/bottom-right.svg":Y,"../icons/camera-video.svg":t2,"../icons/camera.svg":e2,"../icons/cmd.svg":s2,"../icons/code.svg":o2,"../icons/down.svg":i2,"../icons/download.svg":r2,"../icons/edit.svg":n2,"../icons/explore.svg":c2,"../icons/external-2.svg":a2,"../icons/fullscreen-exit.svg":l2,"../icons/fullscreen.svg":h2,"../icons/github.svg":d2,"../icons/heart-filled.svg":p2,"../icons/heart.svg":g2,"../icons/home.svg":k2,"../icons/info.svg":w2,"../icons/input.svg":v2,"../icons/instagram.svg":u2,"../icons/left.svg":_2,"../icons/lock-closed.svg":m2,"../icons/lock-open.svg":f2,"../icons/lock.svg":b2,"../icons/login.svg":C2,"../icons/ma-2.svg":$2,"../icons/ma.svg":x2,"../icons/menu.svg":M2,"../icons/options.svg":y2,"../icons/pants.svg":L2,"../icons/pause.svg":A2,"../icons/person.svg":S2,"../icons/play.svg":H2,"../icons/remove-circle.svg":E2,"../icons/right.svg":V2,"../icons/search.svg":P2,"../icons/send.svg":B2,"../icons/settings.svg":U2,"../icons/tiktok.svg":O2,"../icons/top-left.svg":T2,"../icons/top-right.svg":Z2,"../icons/trash.svg":R2,"../icons/up.svg":N2,"../icons/youtube.svg":j2})[`../icons/${this.altname}.svg`],x&&x.tagName.toUpperCase()==="SCRIPT"&&x.src||new URL("ma-icons.iife.js",document.baseURI).href).href}catch{t=`/icons/${this.altname}.svg`}let e,s;try{e=await fetch(i),s=await e.text()}catch{e=await fetch(t),s=await e.text()}const o=new DOMParser().parseFromString(s,"image/svg+xml"),r=o.querySelector("svg");if(!r)return"";r==null||r.setAttribute("width",this.size),r==null||r.setAttribute("height",this.size),r==null||r.setAttribute("fill","none"),o.querySelectorAll("[stroke]").forEach(n=>n.setAttribute("stroke",this.href?"hsl(0deg 0% 0% / calc(100% * 3/8))":this.color)),o.querySelectorAll("[stroke-width]").forEach(n=>n.setAttribute("stroke-width",this.weight)),this.svg=r==null?void 0:r.outerHTML}};g.styles=r0`
35
+ `:y`${i}`}async modifySvg(){const i=this.download?"download":this.name;let t;try{t=new URL(Object.assign({"../icons/add-circle.svg":Q,"../icons/bottom-left.svg":X,"../icons/bottom-right.svg":Y,"../icons/camera-video.svg":t2,"../icons/camera.svg":e2,"../icons/cmd.svg":s2,"../icons/code.svg":o2,"../icons/down.svg":i2,"../icons/download.svg":r2,"../icons/edit.svg":n2,"../icons/explore.svg":c2,"../icons/external-2.svg":a2,"../icons/fullscreen-exit.svg":l2,"../icons/fullscreen.svg":h2,"../icons/github.svg":d2,"../icons/heart-filled.svg":p2,"../icons/heart.svg":g2,"../icons/home.svg":k2,"../icons/info.svg":w2,"../icons/input.svg":v2,"../icons/instagram.svg":u2,"../icons/left.svg":_2,"../icons/lock-closed.svg":m2,"../icons/lock-open.svg":f2,"../icons/lock.svg":b2,"../icons/login.svg":C2,"../icons/ma-2.svg":$2,"../icons/ma.svg":x2,"../icons/menu.svg":M2,"../icons/options.svg":y2,"../icons/pants.svg":L2,"../icons/pause.svg":A2,"../icons/person.svg":S2,"../icons/play.svg":H2,"../icons/remove-circle.svg":E2,"../icons/right.svg":V2,"../icons/search.svg":P2,"../icons/send.svg":B2,"../icons/settings.svg":U2,"../icons/tiktok.svg":O2,"../icons/top-left.svg":T2,"../icons/top-right.svg":Z2,"../icons/trash.svg":R2,"../icons/up.svg":N2,"../icons/youtube.svg":j2})[`../icons/${i}.svg`],x&&x.tagName.toUpperCase()==="SCRIPT"&&x.src||new URL("ma-icons.iife.js",document.baseURI).href).href}catch{t=`/icons/${i}.svg`}let e;try{e=new URL(Object.assign({"../icons/add-circle.svg":Q,"../icons/bottom-left.svg":X,"../icons/bottom-right.svg":Y,"../icons/camera-video.svg":t2,"../icons/camera.svg":e2,"../icons/cmd.svg":s2,"../icons/code.svg":o2,"../icons/down.svg":i2,"../icons/download.svg":r2,"../icons/edit.svg":n2,"../icons/explore.svg":c2,"../icons/external-2.svg":a2,"../icons/fullscreen-exit.svg":l2,"../icons/fullscreen.svg":h2,"../icons/github.svg":d2,"../icons/heart-filled.svg":p2,"../icons/heart.svg":g2,"../icons/home.svg":k2,"../icons/info.svg":w2,"../icons/input.svg":v2,"../icons/instagram.svg":u2,"../icons/left.svg":_2,"../icons/lock-closed.svg":m2,"../icons/lock-open.svg":f2,"../icons/lock.svg":b2,"../icons/login.svg":C2,"../icons/ma-2.svg":$2,"../icons/ma.svg":x2,"../icons/menu.svg":M2,"../icons/options.svg":y2,"../icons/pants.svg":L2,"../icons/pause.svg":A2,"../icons/person.svg":S2,"../icons/play.svg":H2,"../icons/remove-circle.svg":E2,"../icons/right.svg":V2,"../icons/search.svg":P2,"../icons/send.svg":B2,"../icons/settings.svg":U2,"../icons/tiktok.svg":O2,"../icons/top-left.svg":T2,"../icons/top-right.svg":Z2,"../icons/trash.svg":R2,"../icons/up.svg":N2,"../icons/youtube.svg":j2})[`../icons/${this.altname}.svg`],x&&x.tagName.toUpperCase()==="SCRIPT"&&x.src||new URL("ma-icons.iife.js",document.baseURI).href).href}catch{e=`/icons/${this.altname}.svg`}let s,o;try{s=await fetch(t),o=await s.text()}catch{s=await fetch(e),o=await s.text()}const n=new DOMParser().parseFromString(o,"image/svg+xml"),r=n.querySelector("svg");if(!r)return"";r==null||r.setAttribute("width",this.size),r==null||r.setAttribute("height",this.size),r==null||r.setAttribute("fill","none"),n.querySelectorAll("[stroke]").forEach(a=>a.setAttribute("stroke",this.href?"hsl(0deg 0% 0% / calc(100% * 3/8))":this.color)),n.querySelectorAll("[stroke-width]").forEach(a=>a.setAttribute("stroke-width",this.weight)),this.svg=r==null?void 0:r.outerHTML}};g.styles=r0`
36
36
  svg {
37
37
  display: block;
38
38
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ma-icons",
3
- "version": "0.3.17",
3
+ "version": "0.3.18",
4
4
  "description": "Ma Icons by Taavi Rübenhagen",
5
5
  "type": "module",
6
6
  "main": "dist/ma-icons.iife.js",