@telia-ace/widget-conversation-flamingo 1.1.12-rc.4 → 1.1.12-rc.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,10 +1,10 @@
1
- import { C as St } from "./index-104d237e.mjs";
1
+ import { C as St } from "./index-8689b351.mjs";
2
2
  /**
3
3
  * @license
4
4
  * Copyright 2019 Google LLC
5
5
  * SPDX-License-Identifier: BSD-3-Clause
6
6
  */
7
- const rt = globalThis, jt = rt.ShadowRoot && (rt.ShadyCSS === void 0 || rt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Dt = Symbol(), Qt = /* @__PURE__ */ new WeakMap();
7
+ const nt = globalThis, jt = nt.ShadowRoot && (nt.ShadyCSS === void 0 || nt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Dt = Symbol(), Qt = /* @__PURE__ */ new WeakMap();
8
8
  let Ce = class {
9
9
  constructor(t, s, i) {
10
10
  if (this._$cssResult$ = !0, i !== Dt)
@@ -38,7 +38,7 @@ const os = (e) => new Ce(typeof e == "string" ? e : e + "", void 0, Dt), w = (e,
38
38
  e.adoptedStyleSheets = t.map((s) => s instanceof CSSStyleSheet ? s : s.styleSheet);
39
39
  else
40
40
  for (const s of t) {
41
- const i = document.createElement("style"), n = rt.litNonce;
41
+ const i = document.createElement("style"), n = nt.litNonce;
42
42
  n !== void 0 && i.setAttribute("nonce", n), i.textContent = s.cssText, e.appendChild(i);
43
43
  }
44
44
  }, Zt = jt ? (e) => e : (e) => e instanceof CSSStyleSheet ? ((t) => {
@@ -52,7 +52,7 @@ const os = (e) => new Ce(typeof e == "string" ? e : e + "", void 0, Dt), w = (e,
52
52
  * Copyright 2017 Google LLC
53
53
  * SPDX-License-Identifier: BSD-3-Clause
54
54
  */
55
- const { is: ls, defineProperty: cs, getOwnPropertyDescriptor: ds, getOwnPropertyNames: hs, getOwnPropertySymbols: ps, getPrototypeOf: us } = Object, C = globalThis, Xt = C.trustedTypes, fs = Xt ? Xt.emptyScript : "", Ct = C.reactiveElementPolyfillSupport, q = (e, t) => e, ot = { toAttribute(e, t) {
55
+ const { is: ls, defineProperty: cs, getOwnPropertyDescriptor: ds, getOwnPropertyNames: hs, getOwnPropertySymbols: ps, getPrototypeOf: us } = Object, C = globalThis, Xt = C.trustedTypes, fs = Xt ? Xt.emptyScript : "", Ct = C.reactiveElementPolyfillSupport, q = (e, t) => e, rt = { toAttribute(e, t) {
56
56
  switch (t) {
57
57
  case Boolean:
58
58
  e = e ? fs : null;
@@ -80,7 +80,7 @@ const { is: ls, defineProperty: cs, getOwnPropertyDescriptor: ds, getOwnProperty
80
80
  }
81
81
  }
82
82
  return s;
83
- } }, It = (e, t) => !ls(e, t), Jt = { attribute: !0, type: String, converter: ot, reflect: !1, hasChanged: It };
83
+ } }, It = (e, t) => !ls(e, t), Jt = { attribute: !0, type: String, converter: rt, reflect: !1, hasChanged: It };
84
84
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), C.litPropertyMetadata ?? (C.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
85
85
  let H = class extends HTMLElement {
86
86
  static addInitializer(t) {
@@ -201,7 +201,7 @@ let H = class extends HTMLElement {
201
201
  var r;
202
202
  const i = this.constructor.elementProperties.get(t), n = this.constructor._$Eu(t, i);
203
203
  if (n !== void 0 && i.reflect === !0) {
204
- const o = (((r = i.converter) == null ? void 0 : r.toAttribute) !== void 0 ? i.converter : ot).toAttribute(s, i.type);
204
+ const o = (((r = i.converter) == null ? void 0 : r.toAttribute) !== void 0 ? i.converter : rt).toAttribute(s, i.type);
205
205
  this._$Em = t, o == null ? this.removeAttribute(n) : this.setAttribute(n, o), this._$Em = null;
206
206
  }
207
207
  }
@@ -209,7 +209,7 @@ let H = class extends HTMLElement {
209
209
  var r;
210
210
  const i = this.constructor, n = i._$Eh.get(t);
211
211
  if (n !== void 0 && this._$Em !== n) {
212
- const o = i.getPropertyOptions(n), a = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((r = o.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? o.converter : ot;
212
+ const o = i.getPropertyOptions(n), a = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((r = o.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? o.converter : rt;
213
213
  this._$Em = n, this[n] = a.fromAttribute(s, o.type), this._$Em = null;
214
214
  }
215
215
  }
@@ -299,9 +299,9 @@ H.elementStyles = [], H.shadowRootOptions = { mode: "open" }, H[q("elementProper
299
299
  * Copyright 2017 Google LLC
300
300
  * SPDX-License-Identifier: BSD-3-Clause
301
301
  */
302
- const Y = globalThis, at = Y.trustedTypes, Vt = at ? at.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, Ee = "$lit$", S = `lit$${(Math.random() + "").slice(9)}$`, Te = "?" + S, $s = `<${Te}>`, U = document, Q = () => U.createComment(""), Z = (e) => e === null || typeof e != "object" && typeof e != "function", ke = Array.isArray, gs = (e) => ke(e) || typeof (e == null ? void 0 : e[Symbol.iterator]) == "function", Et = `[
303
- \f\r]`, G = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, te = /-->/g, ee = />/g, O = RegExp(`>|${Et}(?:([^\\s"'>=/]+)(${Et}*=${Et}*(?:[^
304
- \f\r"'\`<>=]|("|')|))|$)`, "g"), se = /'/g, ie = /"/g, Oe = /^(?:script|style|textarea|title)$/i, ms = (e) => (t, ...s) => ({ _$litType$: e, strings: t, values: s }), $ = ms(1), E = Symbol.for("lit-noChange"), u = Symbol.for("lit-nothing"), ne = /* @__PURE__ */ new WeakMap(), L = U.createTreeWalker(U, 129);
302
+ const Y = globalThis, ot = Y.trustedTypes, Vt = ot ? ot.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, Ee = "$lit$", S = `lit$${(Math.random() + "").slice(9)}$`, Te = "?" + S, $s = `<${Te}>`, P = document, Q = () => P.createComment(""), Z = (e) => e === null || typeof e != "object" && typeof e != "function", ke = Array.isArray, gs = (e) => ke(e) || typeof (e == null ? void 0 : e[Symbol.iterator]) == "function", Et = `[
303
+ \f\r]`, G = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, te = /-->/g, ee = />/g, T = RegExp(`>|${Et}(?:([^\\s"'>=/]+)(${Et}*=${Et}*(?:[^
304
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), se = /'/g, ie = /"/g, Oe = /^(?:script|style|textarea|title)$/i, ms = (e) => (t, ...s) => ({ _$litType$: e, strings: t, values: s }), $ = ms(1), E = Symbol.for("lit-noChange"), u = Symbol.for("lit-nothing"), ne = /* @__PURE__ */ new WeakMap(), O = P.createTreeWalker(P, 129);
305
305
  function Pe(e, t) {
306
306
  if (!Array.isArray(e) || !e.hasOwnProperty("raw"))
307
307
  throw Error("invalid template strings array");
@@ -314,8 +314,8 @@ const vs = (e, t) => {
314
314
  const l = e[a];
315
315
  let c, h, d = -1, p = 0;
316
316
  for (; p < l.length && (o.lastIndex = p, h = o.exec(l), h !== null); )
317
- p = o.lastIndex, o === G ? h[1] === "!--" ? o = te : h[1] !== void 0 ? o = ee : h[2] !== void 0 ? (Oe.test(h[2]) && (n = RegExp("</" + h[2], "g")), o = O) : h[3] !== void 0 && (o = O) : o === O ? h[0] === ">" ? (o = n ?? G, d = -1) : h[1] === void 0 ? d = -2 : (d = o.lastIndex - h[2].length, c = h[1], o = h[3] === void 0 ? O : h[3] === '"' ? ie : se) : o === ie || o === se ? o = O : o === te || o === ee ? o = G : (o = O, n = void 0);
318
- const f = o === O && e[a + 1].startsWith("/>") ? " " : "";
317
+ p = o.lastIndex, o === G ? h[1] === "!--" ? o = te : h[1] !== void 0 ? o = ee : h[2] !== void 0 ? (Oe.test(h[2]) && (n = RegExp("</" + h[2], "g")), o = T) : h[3] !== void 0 && (o = T) : o === T ? h[0] === ">" ? (o = n ?? G, d = -1) : h[1] === void 0 ? d = -2 : (d = o.lastIndex - h[2].length, c = h[1], o = h[3] === void 0 ? T : h[3] === '"' ? ie : se) : o === ie || o === se ? o = T : o === te || o === ee ? o = G : (o = T, n = void 0);
318
+ const f = o === T && e[a + 1].startsWith("/>") ? " " : "";
319
319
  r += o === G ? l + $s : d >= 0 ? (i.push(c), l.slice(0, d) + Ee + l.slice(d) + S + f) : l + S + (d === -2 ? a : f);
320
320
  }
321
321
  return [Pe(e, r + (e[s] || "<?>") + (t === 2 ? "</svg>" : "")), i];
@@ -326,25 +326,25 @@ class X {
326
326
  this.parts = [];
327
327
  let r = 0, o = 0;
328
328
  const a = t.length - 1, l = this.parts, [c, h] = vs(t, s);
329
- if (this.el = X.createElement(c, i), L.currentNode = this.el.content, s === 2) {
329
+ if (this.el = X.createElement(c, i), O.currentNode = this.el.content, s === 2) {
330
330
  const d = this.el.content.firstChild;
331
331
  d.replaceWith(...d.childNodes);
332
332
  }
333
- for (; (n = L.nextNode()) !== null && l.length < a; ) {
333
+ for (; (n = O.nextNode()) !== null && l.length < a; ) {
334
334
  if (n.nodeType === 1) {
335
335
  if (n.hasAttributes())
336
336
  for (const d of n.getAttributeNames())
337
337
  if (d.endsWith(Ee)) {
338
338
  const p = h[o++], f = n.getAttribute(d).split(S), _ = /([.?@])?(.*)/.exec(p);
339
- l.push({ type: 1, index: r, name: _[2], strings: f, ctor: _[1] === "." ? bs : _[1] === "?" ? _s : _[1] === "@" ? xs : mt }), n.removeAttribute(d);
339
+ l.push({ type: 1, index: r, name: _[2], strings: f, ctor: _[1] === "." ? bs : _[1] === "?" ? _s : _[1] === "@" ? xs : gt }), n.removeAttribute(d);
340
340
  } else
341
341
  d.startsWith(S) && (l.push({ type: 6, index: r }), n.removeAttribute(d));
342
342
  if (Oe.test(n.tagName)) {
343
343
  const d = n.textContent.split(S), p = d.length - 1;
344
344
  if (p > 0) {
345
- n.textContent = at ? at.emptyScript : "";
345
+ n.textContent = ot ? ot.emptyScript : "";
346
346
  for (let f = 0; f < p; f++)
347
- n.append(d[f], Q()), L.nextNode(), l.push({ type: 2, index: ++r });
347
+ n.append(d[f], Q()), O.nextNode(), l.push({ type: 2, index: ++r });
348
348
  n.append(d[p], Q());
349
349
  }
350
350
  }
@@ -360,7 +360,7 @@ class X {
360
360
  }
361
361
  }
362
362
  static createElement(t, s) {
363
- const i = U.createElement("template");
363
+ const i = P.createElement("template");
364
364
  return i.innerHTML = t, i;
365
365
  }
366
366
  }
@@ -383,17 +383,17 @@ class ys {
383
383
  return this._$AM._$AU;
384
384
  }
385
385
  u(t) {
386
- const { el: { content: s }, parts: i } = this._$AD, n = ((t == null ? void 0 : t.creationScope) ?? U).importNode(s, !0);
387
- L.currentNode = n;
388
- let r = L.nextNode(), o = 0, a = 0, l = i[0];
386
+ const { el: { content: s }, parts: i } = this._$AD, n = ((t == null ? void 0 : t.creationScope) ?? P).importNode(s, !0);
387
+ O.currentNode = n;
388
+ let r = O.nextNode(), o = 0, a = 0, l = i[0];
389
389
  for (; l !== void 0; ) {
390
390
  if (o === l.index) {
391
391
  let c;
392
392
  l.type === 2 ? c = new V(r, r.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (c = new ws(r, this, t)), this._$AV.push(c), l = i[++a];
393
393
  }
394
- o !== (l == null ? void 0 : l.index) && (r = L.nextNode(), o++);
394
+ o !== (l == null ? void 0 : l.index) && (r = O.nextNode(), o++);
395
395
  }
396
- return L.currentNode = U, n;
396
+ return O.currentNode = P, n;
397
397
  }
398
398
  p(t) {
399
399
  let s = 0;
@@ -430,7 +430,7 @@ class V {
430
430
  this._$AH !== t && (this._$AR(), this._$AH = this.k(t));
431
431
  }
432
432
  _(t) {
433
- this._$AH !== u && Z(this._$AH) ? this._$AA.nextSibling.data = t : this.$(U.createTextNode(t)), this._$AH = t;
433
+ this._$AH !== u && Z(this._$AH) ? this._$AA.nextSibling.data = t : this.$(P.createTextNode(t)), this._$AH = t;
434
434
  }
435
435
  g(t) {
436
436
  var r;
@@ -466,7 +466,7 @@ class V {
466
466
  this._$AM === void 0 && (this._$Cv = t, (s = this._$AP) == null || s.call(this, t));
467
467
  }
468
468
  }
469
- class mt {
469
+ class gt {
470
470
  get tagName() {
471
471
  return this.element.tagName;
472
472
  }
@@ -493,7 +493,7 @@ class mt {
493
493
  t === u ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
494
494
  }
495
495
  }
496
- class bs extends mt {
496
+ class bs extends gt {
497
497
  constructor() {
498
498
  super(...arguments), this.type = 3;
499
499
  }
@@ -501,7 +501,7 @@ class bs extends mt {
501
501
  this.element[this.name] = t === u ? void 0 : t;
502
502
  }
503
503
  }
504
- let _s = class extends mt {
504
+ let _s = class extends gt {
505
505
  constructor() {
506
506
  super(...arguments), this.type = 4;
507
507
  }
@@ -509,7 +509,7 @@ let _s = class extends mt {
509
509
  this.element.toggleAttribute(this.name, !!t && t !== u);
510
510
  }
511
511
  };
512
- class xs extends mt {
512
+ class xs extends gt {
513
513
  constructor(t, s, i, n, r) {
514
514
  super(t, s, i, n, r), this.type = 5;
515
515
  }
@@ -665,8 +665,8 @@ const Ss = { name: "send", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.o
665
665
  transformTagName: !1,
666
666
  attachStyles: !0
667
667
  };
668
- let M, Le, vt, Ue = !1, lt = !1, Bt = !1, v = !1, re = null, Ut = !1;
669
- const yt = typeof window < "u" ? window : {}, x = yt.document || { head: {} }, Ne = yt.HTMLElement || class {
668
+ let M, Le, mt, Ue = !1, at = !1, Bt = !1, v = !1, re = null, Ut = !1;
669
+ const vt = typeof window < "u" ? window : {}, x = vt.document || { head: {} }, Ne = vt.HTMLElement || class {
670
670
  }, m = {
671
671
  $flags$: 0,
672
672
  $resourcesUrl$: "",
@@ -703,15 +703,15 @@ const yt = typeof window < "u" ? window : {}, x = yt.document || { head: {} }, N
703
703
  } catch (i) {
704
704
  tt(i);
705
705
  }
706
- }, Os = (e, t) => t & 4 ? x : t & 8 ? yt : t & 16 ? x.body : e, Ps = (e) => Cs ? {
706
+ }, Os = (e, t) => t & 4 ? x : t & 8 ? vt : t & 16 ? x.body : e, Ps = (e) => Cs ? {
707
707
  passive: (e & 1) !== 0,
708
708
  capture: (e & 2) !== 0
709
- } : (e & 2) !== 0, oe = "http://www.w3.org/1999/xlink", N = (e, t = "") => () => {
709
+ } : (e & 2) !== 0, oe = "http://www.w3.org/1999/xlink", L = (e, t = "") => () => {
710
710
  }, ae = /* @__PURE__ */ new WeakMap(), Ls = (e, t, s) => {
711
- let i = ht.get(e);
712
- Ts && s ? (i = i || new CSSStyleSheet(), i.replace(t)) : i = t, ht.set(e, i);
711
+ let i = dt.get(e);
712
+ Ts && s ? (i = i || new CSSStyleSheet(), i.replace(t)) : i = t, dt.set(e, i);
713
713
  }, Us = (e, t, s, i) => {
714
- let n = Re(t, s), r = ht.get(n);
714
+ let n = Re(t, s), r = dt.get(n);
715
715
  if (e = e.nodeType === 11 ? e : x, r)
716
716
  if (typeof r == "string") {
717
717
  e = e.head || e;
@@ -721,13 +721,13 @@ const yt = typeof window < "u" ? window : {}, x = yt.document || { head: {} }, N
721
721
  e.adoptedStyleSheets.includes(r) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, r]);
722
722
  return n;
723
723
  }, Ns = (e) => {
724
- const t = e.$cmpMeta$, s = e.$hostElement$, i = t.$flags$, n = N("attachStyles", t.$tagName$), r = Us(s.shadowRoot ? s.shadowRoot : s.getRootNode(), t, e.$modeName$);
724
+ const t = e.$cmpMeta$, s = e.$hostElement$, i = t.$flags$, n = L("attachStyles", t.$tagName$), r = Us(s.shadowRoot ? s.shadowRoot : s.getRootNode(), t, e.$modeName$);
725
725
  i & 10 && (s["s-sc"] = r, s.classList.add(r + "-h"), i & 2 && s.classList.add(r + "-s")), n();
726
726
  }, Re = (e, t) => "sc-" + (t && e.$flags$ & 32 ? e.$tagName$ + "-" + t : e.$tagName$), Hs = (e) => ci.map((t) => t(e)).find((t) => !!t), le = {}, Rs = "http://www.w3.org/2000/svg", Ms = "http://www.w3.org/1999/xhtml", js = (e) => e != null, zt = (e) => (e = typeof e, e === "object" || e === "function"), D = (e, t, ...s) => {
727
727
  let i = null, n = null, r = null, o = !1, a = !1, l = [];
728
728
  const c = (d) => {
729
729
  for (let p = 0; p < d.length; p++)
730
- i = d[p], Array.isArray(i) ? c(i) : i != null && typeof i != "boolean" && ((o = typeof e != "function" && !zt(i)) && (i = String(i)), o && a ? l[l.length - 1].$text$ += i : l.push(o ? ct(null, i) : i), a = o);
730
+ i = d[p], Array.isArray(i) ? c(i) : i != null && typeof i != "boolean" && ((o = typeof e != "function" && !zt(i)) && (i = String(i)), o && a ? l[l.length - 1].$text$ += i : l.push(o ? lt(null, i) : i), a = o);
731
731
  };
732
732
  if (c(s), t) {
733
733
  t.key && (n = t.key), t.name && (r = t.name);
@@ -738,9 +738,9 @@ const yt = typeof window < "u" ? window : {}, x = yt.document || { head: {} }, N
738
738
  }
739
739
  if (typeof e == "function")
740
740
  return e(t === null ? {} : t, l, Is);
741
- const h = ct(e, null);
741
+ const h = lt(e, null);
742
742
  return h.$attrs$ = t, l.length > 0 && (h.$children$ = l), h.$key$ = n, h.$name$ = r, h;
743
- }, ct = (e, t) => {
743
+ }, lt = (e, t) => {
744
744
  const s = {
745
745
  $flags$: 0,
746
746
  $tag$: e,
@@ -764,7 +764,7 @@ const yt = typeof window < "u" ? window : {}, x = yt.document || { head: {} }, N
764
764
  const s = Object.assign({}, e.vattrs);
765
765
  return e.vkey && (s.key = e.vkey), e.vname && (s.name = e.vname), D(e.vtag, s, ...e.vchildren || []);
766
766
  }
767
- const t = ct(e.vtag, e.vtext);
767
+ const t = lt(e.vtag, e.vtext);
768
768
  return t.$attrs$ = e.vattrs, t.$children$ = e.vchildren, t.$key$ = e.vkey, t.$name$ = e.vname, t;
769
769
  }, de = (e, t, s, i, n, r) => {
770
770
  if (s !== i) {
@@ -781,7 +781,7 @@ const yt = typeof window < "u" ? window : {}, x = yt.document || { head: {} }, N
781
781
  if (t === "ref")
782
782
  i && i(e);
783
783
  else if (!e.__lookupSetter__(t) && t[0] === "o" && t[1] === "n")
784
- t[2] === "-" ? t = t.slice(3) : fe(yt, a) ? t = a.slice(2) : t = a[2] + t.slice(3), s && m.rel(e, t, s, !1), i && m.ael(e, t, i, !1);
784
+ t[2] === "-" ? t = t.slice(3) : fe(vt, a) ? t = a.slice(2) : t = a[2] + t.slice(3), s && m.rel(e, t, s, !1), i && m.ael(e, t, i, !1);
785
785
  else {
786
786
  const l = zt(i);
787
787
  if ((o || l && i !== null) && !n)
@@ -804,7 +804,7 @@ const yt = typeof window < "u" ? window : {}, x = yt.document || { head: {} }, N
804
804
  i in o || de(n, i, r[i], void 0, s, t.$flags$);
805
805
  for (i in o)
806
806
  de(n, i, r[i], o[i], s, t.$flags$);
807
- }, dt = (e, t, s, i) => {
807
+ }, ct = (e, t, s, i) => {
808
808
  let n = t.$children$[s], r = 0, o, a, l;
809
809
  if (Ue || (Bt = !0, n.$tag$ === "slot" && (M && i.classList.add(M + "-s"), n.$flags$ |= n.$children$ ? (
810
810
  // slot element has fallback content
@@ -819,27 +819,27 @@ const yt = typeof window < "u" ? window : {}, x = yt.document || { head: {} }, N
819
819
  else {
820
820
  if (v || (v = n.$tag$ === "svg"), o = n.$elm$ = x.createElementNS(v ? Rs : Ms, n.$flags$ & 2 ? "slot-fb" : n.$tag$), v && n.$tag$ === "foreignObject" && (v = !1), Me(null, n, v), js(M) && o["s-si"] !== M && o.classList.add(o["s-si"] = M), n.$children$)
821
821
  for (r = 0; r < n.$children$.length; ++r)
822
- a = dt(e, n, r, o), a && o.appendChild(a);
822
+ a = ct(e, n, r, o), a && o.appendChild(a);
823
823
  n.$tag$ === "svg" ? v = !1 : o.tagName === "foreignObject" && (v = !0);
824
824
  }
825
- return o["s-hn"] = vt, n.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] = Le, o["s-sn"] = n.$name$ || "", l = e && e.$children$ && e.$children$[s], l && l.$tag$ === n.$tag$ && e.$elm$ && J(e.$elm$, !1)), o;
825
+ return o["s-hn"] = mt, n.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] = Le, o["s-sn"] = n.$name$ || "", l = e && e.$children$ && e.$children$[s], l && l.$tag$ === n.$tag$ && e.$elm$ && J(e.$elm$, !1)), o;
826
826
  }, J = (e, t) => {
827
827
  m.$flags$ |= 1;
828
828
  const s = e.childNodes;
829
829
  for (let i = s.length - 1; i >= 0; i--) {
830
830
  const n = s[i];
831
- n["s-hn"] !== vt && n["s-ol"] && (Ie(n).insertBefore(n, Wt(n)), n["s-ol"].remove(), n["s-ol"] = void 0, Bt = !0), t && J(n, t);
831
+ n["s-hn"] !== mt && n["s-ol"] && (Ie(n).insertBefore(n, Wt(n)), n["s-ol"].remove(), n["s-ol"] = void 0, Bt = !0), t && J(n, t);
832
832
  }
833
833
  m.$flags$ &= -2;
834
834
  }, je = (e, t, s, i, n, r) => {
835
835
  let o = e["s-cr"] && e["s-cr"].parentNode || e, a;
836
- for (o.shadowRoot && o.tagName === vt && (o = o.shadowRoot); n <= r; ++n)
837
- i[n] && (a = dt(null, s, n, e), a && (i[n].$elm$ = a, o.insertBefore(a, Wt(t))));
836
+ for (o.shadowRoot && o.tagName === mt && (o = o.shadowRoot); n <= r; ++n)
837
+ i[n] && (a = ct(null, s, n, e), a && (i[n].$elm$ = a, o.insertBefore(a, Wt(t))));
838
838
  }, De = (e, t, s, i, n) => {
839
839
  for (; t <= s; ++t)
840
- (i = e[t]) && (n = i.$elm$, Fe(i), lt = !0, n["s-ol"] ? n["s-ol"].remove() : J(n, !0), n.remove());
840
+ (i = e[t]) && (n = i.$elm$, Fe(i), at = !0, n["s-ol"] ? n["s-ol"].remove() : J(n, !0), n.remove());
841
841
  }, Fs = (e, t, s, i) => {
842
- let n = 0, r = 0, o = 0, a = 0, l = t.length - 1, c = t[0], h = t[l], d = i.length - 1, p = i[0], f = i[d], _, st;
842
+ let n = 0, r = 0, o = 0, a = 0, l = t.length - 1, c = t[0], h = t[l], d = i.length - 1, p = i[0], f = i[d], _, et;
843
843
  for (; n <= l && r <= d; )
844
844
  if (c == null)
845
845
  c = t[++n];
@@ -849,13 +849,13 @@ const yt = typeof window < "u" ? window : {}, x = yt.document || { head: {} }, N
849
849
  p = i[++r];
850
850
  else if (f == null)
851
851
  f = i[--d];
852
- else if (it(c, p))
852
+ else if (st(c, p))
853
853
  j(c, p), c = t[++n], p = i[++r];
854
- else if (it(h, f))
854
+ else if (st(h, f))
855
855
  j(h, f), h = t[--l], f = i[--d];
856
- else if (it(c, f))
856
+ else if (st(c, f))
857
857
  (c.$tag$ === "slot" || f.$tag$ === "slot") && J(c.$elm$.parentNode, !1), j(c, f), e.insertBefore(c.$elm$, h.$elm$.nextSibling), c = t[++n], f = i[--d];
858
- else if (it(h, p))
858
+ else if (st(h, p))
859
859
  (c.$tag$ === "slot" || f.$tag$ === "slot") && J(h.$elm$.parentNode, !1), j(h, p), e.insertBefore(h.$elm$, c.$elm$), h = t[--l], p = i[++r];
860
860
  else {
861
861
  for (o = -1, a = n; a <= l; ++a)
@@ -863,10 +863,10 @@ const yt = typeof window < "u" ? window : {}, x = yt.document || { head: {} }, N
863
863
  o = a;
864
864
  break;
865
865
  }
866
- o >= 0 ? (st = t[o], st.$tag$ !== p.$tag$ ? _ = dt(t && t[r], s, o, e) : (j(st, p), t[o] = void 0, _ = st.$elm$), p = i[++r]) : (_ = dt(t && t[r], s, r, e), p = i[++r]), _ && Ie(c.$elm$).insertBefore(_, Wt(c.$elm$));
866
+ o >= 0 ? (et = t[o], et.$tag$ !== p.$tag$ ? _ = ct(t && t[r], s, o, e) : (j(et, p), t[o] = void 0, _ = et.$elm$), p = i[++r]) : (_ = ct(t && t[r], s, r, e), p = i[++r]), _ && Ie(c.$elm$).insertBefore(_, Wt(c.$elm$));
867
867
  }
868
868
  n > l ? je(e, i[d + 1] == null ? null : i[d + 1].$elm$, s, i, r, d) : r > d && De(t, n, l);
869
- }, it = (e, t) => e.$tag$ === t.$tag$ ? e.$tag$ === "slot" ? e.$name$ === t.$name$ : e.$key$ === t.$key$ : !1, Wt = (e) => e && e["s-ol"] || e, Ie = (e) => (e["s-ol"] ? e["s-ol"] : e).parentNode, j = (e, t) => {
869
+ }, st = (e, t) => e.$tag$ === t.$tag$ ? e.$tag$ === "slot" ? e.$name$ === t.$name$ : e.$key$ === t.$key$ : !1, Wt = (e) => e && e["s-ol"] || e, Ie = (e) => (e["s-ol"] ? e["s-ol"] : e).parentNode, j = (e, t) => {
870
870
  const s = t.$elm$ = e.$elm$, i = e.$children$, n = t.$children$, r = t.$tag$, o = t.$text$;
871
871
  let a;
872
872
  o === null ? (v = r === "svg" ? !0 : r === "foreignObject" ? !1 : v, r === "slot" || Me(e, t, v), i !== null && n !== null ? Fs(s, i, t, n) : n !== null ? (e.$text$ !== null && (s.textContent = ""), je(s, null, t, n, 0, n.length - 1)) : i !== null && De(i, 0, i.length - 1), v && r === "svg" && (v = !1)) : (a = s["s-cr"]) ? a.parentNode.textContent = o : e.$text$ !== o && (s.data = o);
@@ -893,7 +893,7 @@ const yt = typeof window < "u" ? window : {}, x = yt.document || { head: {} }, N
893
893
  for (; a < c; a++) {
894
894
  if (t = l[a], t["s-sr"] && (s = t["s-cr"]) && s.parentNode)
895
895
  for (i = s.parentNode.childNodes, n = t["s-sn"], o = i.length - 1; o >= 0; o--)
896
- s = i[o], !s["s-cn"] && !s["s-nr"] && s["s-hn"] !== t["s-hn"] && (pe(s, n) ? (r = b.find((h) => h.$nodeToRelocate$ === s), lt = !0, s["s-sn"] = s["s-sn"] || n, r ? r.$slotRefNode$ = t : b.push({
896
+ s = i[o], !s["s-cn"] && !s["s-nr"] && s["s-hn"] !== t["s-hn"] && (pe(s, n) ? (r = b.find((h) => h.$nodeToRelocate$ === s), at = !0, s["s-sn"] = s["s-sn"] || n, r ? r.$slotRefNode$ = t : b.push({
897
897
  $slotRefNode$: t,
898
898
  $nodeToRelocate$: s
899
899
  }), s["s-sr"] && b.map((h) => {
@@ -906,8 +906,8 @@ const yt = typeof window < "u" ? window : {}, x = yt.document || { head: {} }, N
906
906
  }, pe = (e, t) => e.nodeType === 1 ? e.getAttribute("slot") === null && t === "" || e.getAttribute("slot") === t : e["s-sn"] === t ? !0 : t === "", Fe = (e) => {
907
907
  e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(Fe);
908
908
  }, Ws = (e, t) => {
909
- const s = e.$hostElement$, i = e.$cmpMeta$, n = e.$vnode$ || ct(null, null), r = Ds(t) ? t : D(null, null, t);
910
- vt = s.tagName, i.$attrsToReflect$ && (r.$attrs$ = r.$attrs$ || {}, i.$attrsToReflect$.map(([o, a]) => r.$attrs$[a] = s[o])), r.$tag$ = null, r.$flags$ |= 4, e.$vnode$ = r, r.$elm$ = n.$elm$ = s.shadowRoot || s, M = s["s-sc"], Le = s["s-cr"], Ue = (i.$flags$ & 1) !== 0, lt = !1, j(n, r);
909
+ const s = e.$hostElement$, i = e.$cmpMeta$, n = e.$vnode$ || lt(null, null), r = Ds(t) ? t : D(null, null, t);
910
+ mt = s.tagName, i.$attrsToReflect$ && (r.$attrs$ = r.$attrs$ || {}, i.$attrsToReflect$.map(([o, a]) => r.$attrs$[a] = s[o])), r.$tag$ = null, r.$flags$ |= 4, e.$vnode$ = r, r.$elm$ = n.$elm$ = s.shadowRoot || s, M = s["s-sc"], Le = s["s-cr"], Ue = (i.$flags$ & 1) !== 0, at = !1, j(n, r);
911
911
  {
912
912
  if (m.$flags$ |= 1, Bt) {
913
913
  ze(r.$elm$);
@@ -925,7 +925,7 @@ const yt = typeof window < "u" ? window : {}, x = yt.document || { head: {} }, N
925
925
  } else
926
926
  a.nodeType === 1 && (a.hidden = !0);
927
927
  }
928
- lt && Be(r.$elm$), m.$flags$ &= -2, b.length = 0;
928
+ at && Be(r.$elm$), m.$flags$ &= -2, b.length = 0;
929
929
  }
930
930
  }, Gs = (e) => e, qs = (e, t, s) => {
931
931
  const i = Gs(e);
@@ -942,13 +942,13 @@ const yt = typeof window < "u" ? window : {}, x = yt.document || { head: {} }, N
942
942
  return e.dispatchEvent(i), i;
943
943
  }, Ks = (e, t) => {
944
944
  }, We = (e, t) => (e.$flags$ |= 16, Ks(e, e.$ancestorComponent$), pi(() => Qs(e, t))), Qs = (e, t) => {
945
- const s = e.$hostElement$, i = N("scheduleUpdate", e.$cmpMeta$.$tagName$), n = s;
945
+ const s = e.$hostElement$, i = L("scheduleUpdate", e.$cmpMeta$.$tagName$), n = s;
946
946
  let r;
947
947
  return t ? r = I(n, "componentWillLoad") : r = I(n, "componentWillUpdate"), r = ue(r, () => I(n, "componentWillRender")), i(), ue(r, () => Zs(e, n, t));
948
948
  }, Zs = async (e, t, s) => {
949
- const i = e.$hostElement$, n = N("update", e.$cmpMeta$.$tagName$);
949
+ const i = e.$hostElement$, n = L("update", e.$cmpMeta$.$tagName$);
950
950
  i["s-rc"], s && Ns(e);
951
- const r = N("render", e.$cmpMeta$.$tagName$);
951
+ const r = L("render", e.$cmpMeta$.$tagName$);
952
952
  Xs(e, t, i), r(), n(), Js(e);
953
953
  }, Xs = (e, t, s) => {
954
954
  try {
@@ -958,7 +958,7 @@ const yt = typeof window < "u" ? window : {}, x = yt.document || { head: {} }, N
958
958
  }
959
959
  return re = null, null;
960
960
  }, Js = (e) => {
961
- const t = e.$cmpMeta$.$tagName$, s = e.$hostElement$, i = N("postUpdate", t), n = s;
961
+ const t = e.$cmpMeta$.$tagName$, s = e.$hostElement$, i = L("postUpdate", t), n = s;
962
962
  e.$ancestorComponent$, I(n, "componentDidRender"), e.$flags$ & 64 ? (I(n, "componentDidUpdate"), i()) : (e.$flags$ |= 64, I(n, "componentDidLoad"), i());
963
963
  }, I = (e, t, s) => {
964
964
  if (e && e[t])
@@ -967,8 +967,8 @@ const yt = typeof window < "u" ? window : {}, x = yt.document || { head: {} }, N
967
967
  } catch (i) {
968
968
  tt(i);
969
969
  }
970
- }, ue = (e, t) => e && e.then ? e.then(t) : t(), Vs = (e, t) => e != null && !zt(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, ti = (e, t) => bt(e).$instanceValues$.get(t), ei = (e, t, s, i) => {
971
- const n = bt(e), r = e, o = n.$instanceValues$.get(t), a = n.$flags$, l = r;
970
+ }, ue = (e, t) => e && e.then ? e.then(t) : t(), Vs = (e, t) => e != null && !zt(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, ti = (e, t) => yt(e).$instanceValues$.get(t), ei = (e, t, s, i) => {
971
+ const n = yt(e), r = e, o = n.$instanceValues$.get(t), a = n.$flags$, l = r;
972
972
  s = Vs(s, i.$members$[t][0]);
973
973
  const c = Number.isNaN(o) && Number.isNaN(s);
974
974
  if (s !== o && !c) {
@@ -1033,8 +1033,8 @@ const yt = typeof window < "u" ? window : {}, x = yt.document || { head: {} }, N
1033
1033
  let o = n.style;
1034
1034
  typeof o != "string" && (o = o[t.$modeName$ = Hs(e)]);
1035
1035
  const a = Re(s, t.$modeName$);
1036
- if (!ht.has(a)) {
1037
- const l = N("registerStyles", s.$tagName$);
1036
+ if (!dt.has(a)) {
1037
+ const l = L("registerStyles", s.$tagName$);
1038
1038
  Ls(a, o, !!(s.$flags$ & 1)), l();
1039
1039
  }
1040
1040
  }
@@ -1042,7 +1042,7 @@ const yt = typeof window < "u" ? window : {}, x = yt.document || { head: {} }, N
1042
1042
  }, ni = (e) => {
1043
1043
  }, ri = (e) => {
1044
1044
  if (!(m.$flags$ & 1)) {
1045
- const t = bt(e), s = t.$cmpMeta$, i = N("connectedCallback", s.$tagName$);
1045
+ const t = yt(e), s = t.$cmpMeta$, i = L("connectedCallback", s.$tagName$);
1046
1046
  t.$flags$ & 1 ? (He(e, t, s.$listeners$), ni(t.$lazyInstance$)) : (t.$flags$ |= 1, s.$flags$ & 12 && oi(e), s.$members$ && Object.entries(s.$members$).map(([n, [r]]) => {
1047
1047
  if (r & 31 && e.hasOwnProperty(n)) {
1048
1048
  const o = e[n];
@@ -1055,7 +1055,7 @@ const yt = typeof window < "u" ? window : {}, x = yt.document || { head: {} }, N
1055
1055
  t["s-cn"] = !0, e.insertBefore(t, e.firstChild);
1056
1056
  }, ai = (e) => {
1057
1057
  if (!(m.$flags$ & 1)) {
1058
- const t = bt(e);
1058
+ const t = yt(e);
1059
1059
  t.$rmListeners$ && (t.$rmListeners$.map((s) => s()), t.$rmListeners$ = void 0);
1060
1060
  }
1061
1061
  }, Ge = (e, t) => {
@@ -1082,7 +1082,7 @@ const yt = typeof window < "u" ? window : {}, x = yt.document || { head: {} }, N
1082
1082
  });
1083
1083
  }
1084
1084
  }), e.is = s.$tagName$, si(e, s);
1085
- }, qe = /* @__PURE__ */ new WeakMap(), bt = (e) => qe.get(e), li = (e, t) => {
1085
+ }, qe = /* @__PURE__ */ new WeakMap(), yt = (e) => qe.get(e), li = (e, t) => {
1086
1086
  const s = {
1087
1087
  $flags$: 0,
1088
1088
  $hostElement$: e,
@@ -1090,7 +1090,7 @@ const yt = typeof window < "u" ? window : {}, x = yt.document || { head: {} }, N
1090
1090
  $instanceValues$: /* @__PURE__ */ new Map()
1091
1091
  };
1092
1092
  return He(e, s, t.$listeners$), qe.set(e, s);
1093
- }, fe = (e, t) => t in e, tt = (e, t) => (0, console.error)(e, t), ht = /* @__PURE__ */ new Map(), ci = [], $e = [], Ye = [], di = (e, t) => (s) => {
1093
+ }, fe = (e, t) => t in e, tt = (e, t) => (0, console.error)(e, t), dt = /* @__PURE__ */ new Map(), ci = [], $e = [], Ye = [], di = (e, t) => (s) => {
1094
1094
  e.push(s), Ut || (Ut = !0, t && m.$flags$ & 4 ? hi(Nt) : m.raf(Nt));
1095
1095
  }, ge = (e) => {
1096
1096
  for (let t = 0; t < e.length; t++)
@@ -1218,7 +1218,7 @@ wi();
1218
1218
  * Copyright 2017 Google LLC
1219
1219
  * SPDX-License-Identifier: BSD-3-Clause
1220
1220
  */
1221
- const k = (e) => (t, s) => {
1221
+ const U = (e) => (t, s) => {
1222
1222
  s !== void 0 ? s.addInitializer(() => {
1223
1223
  customElements.define(e, t);
1224
1224
  }) : customElements.define(e, t);
@@ -1228,7 +1228,7 @@ const k = (e) => (t, s) => {
1228
1228
  * Copyright 2017 Google LLC
1229
1229
  * SPDX-License-Identifier: BSD-3-Clause
1230
1230
  */
1231
- const Ai = { attribute: !0, type: String, converter: ot, reflect: !1, hasChanged: It }, Si = (e = Ai, t, s) => {
1231
+ const Ai = { attribute: !0, type: String, converter: rt, reflect: !1, hasChanged: It }, Si = (e = Ai, t, s) => {
1232
1232
  const { kind: i, metadata: n } = s;
1233
1233
  let r = globalThis.litPropertyMetadata.get(n);
1234
1234
  if (r === void 0 && globalThis.litPropertyMetadata.set(n, r = /* @__PURE__ */ new Map()), r.set(s.name, e), i === "accessor") {
@@ -1274,7 +1274,7 @@ const Ci = (e) => e.strings === void 0;
1274
1274
  * Copyright 2017 Google LLC
1275
1275
  * SPDX-License-Identifier: BSD-3-Clause
1276
1276
  */
1277
- const _t = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, xt = (e) => (...t) => ({ _$litDirective$: e, values: t });
1277
+ const bt = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, _t = (e) => (...t) => ({ _$litDirective$: e, values: t });
1278
1278
  let Gt = class {
1279
1279
  constructor(t) {
1280
1280
  }
@@ -1304,7 +1304,7 @@ const K = (e, t) => {
1304
1304
  for (const n of s)
1305
1305
  (i = n._$AO) == null || i.call(n, t, !1), K(n, t);
1306
1306
  return !0;
1307
- }, pt = (e) => {
1307
+ }, ht = (e) => {
1308
1308
  let t, s;
1309
1309
  do {
1310
1310
  if ((t = e._$AM) === void 0)
@@ -1322,7 +1322,7 @@ const K = (e, t) => {
1322
1322
  }
1323
1323
  };
1324
1324
  function Ei(e) {
1325
- this._$AN !== void 0 ? (pt(this), this._$AM = e, Qe(this)) : this._$AM = e;
1325
+ this._$AN !== void 0 ? (ht(this), this._$AM = e, Qe(this)) : this._$AM = e;
1326
1326
  }
1327
1327
  function Ti(e, t = !1, s = 0) {
1328
1328
  const i = this._$AH, n = this._$AN;
@@ -1330,14 +1330,14 @@ function Ti(e, t = !1, s = 0) {
1330
1330
  if (t)
1331
1331
  if (Array.isArray(i))
1332
1332
  for (let r = s; r < i.length; r++)
1333
- K(i[r], !1), pt(i[r]);
1333
+ K(i[r], !1), ht(i[r]);
1334
1334
  else
1335
- i != null && (K(i, !1), pt(i));
1335
+ i != null && (K(i, !1), ht(i));
1336
1336
  else
1337
1337
  K(this, e);
1338
1338
  }
1339
1339
  const ki = (e) => {
1340
- e.type == _t.CHILD && (e._$AP ?? (e._$AP = Ti), e._$AQ ?? (e._$AQ = Ei));
1340
+ e.type == bt.CHILD && (e._$AP ?? (e._$AP = Ti), e._$AQ ?? (e._$AQ = Ei));
1341
1341
  };
1342
1342
  let Ze = class extends Gt {
1343
1343
  constructor() {
@@ -1348,7 +1348,7 @@ let Ze = class extends Gt {
1348
1348
  }
1349
1349
  _$AO(t, s = !0) {
1350
1350
  var i, n;
1351
- t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (n = this.disconnected) == null || n.call(this)), s && (K(this, t), pt(this));
1351
+ t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (n = this.disconnected) == null || n.call(this)), s && (K(this, t), ht(this));
1352
1352
  }
1353
1353
  setValue(t) {
1354
1354
  if (Ci(this._$Ct))
@@ -1371,7 +1371,7 @@ let Ze = class extends Gt {
1371
1371
  const Xe = () => new Oi();
1372
1372
  class Oi {
1373
1373
  }
1374
- const Ot = /* @__PURE__ */ new WeakMap(), Je = xt(class extends Ze {
1374
+ const Ot = /* @__PURE__ */ new WeakMap(), Je = _t(class extends Ze {
1375
1375
  render(e) {
1376
1376
  return u;
1377
1377
  }
@@ -1404,10 +1404,10 @@ const Ot = /* @__PURE__ */ new WeakMap(), Je = xt(class extends Ze {
1404
1404
  * Copyright 2018 Google LLC
1405
1405
  * SPDX-License-Identifier: BSD-3-Clause
1406
1406
  */
1407
- const qt = xt(class extends Gt {
1407
+ const qt = _t(class extends Gt {
1408
1408
  constructor(e) {
1409
1409
  var t;
1410
- if (super(e), e.type !== _t.ATTRIBUTE || e.name !== "class" || ((t = e.strings) == null ? void 0 : t.length) > 2)
1410
+ if (super(e), e.type !== bt.ATTRIBUTE || e.name !== "class" || ((t = e.strings) == null ? void 0 : t.length) > 2)
1411
1411
  throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
1412
1412
  }
1413
1413
  render(e) {
@@ -1430,30 +1430,30 @@ const qt = xt(class extends Gt {
1430
1430
  }
1431
1431
  return E;
1432
1432
  }
1433
- }), nt = (e, t, s) => {
1433
+ }), it = (e, t, s) => {
1434
1434
  e && s.style.setProperty(t, e);
1435
1435
  }, Ve = (e, t) => {
1436
1436
  var s, i, n, r;
1437
- nt((s = e.colors) == null ? void 0 : s.primaryBackground, "--primary-background", t), nt(
1437
+ it((s = e.colors) == null ? void 0 : s.primaryBackground, "--primary-background", t), it(
1438
1438
  (i = e.colors) == null ? void 0 : i.textOnPrimaryBackground,
1439
1439
  "--text-on-primary-background",
1440
1440
  t
1441
- ), nt(
1441
+ ), it(
1442
1442
  (n = e.colors) == null ? void 0 : n.secondaryBackground,
1443
1443
  "--secondary-background",
1444
1444
  t
1445
- ), nt(
1445
+ ), it(
1446
1446
  (r = e.colors) == null ? void 0 : r.textOnSecondaryBackground,
1447
1447
  "--text-on-secondary-background",
1448
1448
  t
1449
1449
  );
1450
1450
  };
1451
- var Pi = Object.defineProperty, Li = Object.getOwnPropertyDescriptor, et = (e, t, s, i) => {
1451
+ var Pi = Object.defineProperty, Li = Object.getOwnPropertyDescriptor, xt = (e, t, s, i) => {
1452
1452
  for (var n = i > 1 ? void 0 : i ? Li(t, s) : t, r = e.length - 1, o; r >= 0; r--)
1453
1453
  (o = e[r]) && (n = (i ? o(t, s, n) : o(n)) || n);
1454
1454
  return i && n && Pi(t, s, n), n;
1455
1455
  };
1456
- let T = class extends y {
1456
+ class N extends y {
1457
1457
  constructor() {
1458
1458
  super(...arguments), this.active = !1, this.loaded = !1;
1459
1459
  }
@@ -1461,8 +1461,8 @@ let T = class extends y {
1461
1461
  super.connectedCallback(), this.icon = await this._renderSymbol(), this.loaded = !0, this._applyBranding();
1462
1462
  }
1463
1463
  _toggleActive() {
1464
- var e;
1465
- if (!((e = this.application) != null && e.root)) {
1464
+ var t;
1465
+ if (!((t = this.application) != null && t.root)) {
1466
1466
  console.warn(
1467
1467
  "Could not activate widget. No root element assigned to widget."
1468
1468
  );
@@ -1471,23 +1471,23 @@ let T = class extends y {
1471
1471
  this.active = !this.active, this.active ? this.application.appendToDOM() : this.application.removeFromDOM();
1472
1472
  }
1473
1473
  _applyBranding() {
1474
- var e;
1475
- (e = this.application) != null && e.settings && Ve(this.application.settings.branding, this);
1474
+ var t;
1475
+ (t = this.application) != null && t.settings && Ve(this.application.settings.branding, this);
1476
1476
  }
1477
1477
  async _renderSymbol() {
1478
- var n;
1479
- const e = (n = this.application) == null ? void 0 : n.triggerIcon;
1480
- if (!e)
1478
+ var r;
1479
+ const t = (r = this.application) == null ? void 0 : r.triggerIcon;
1480
+ if (!t)
1481
1481
  return u;
1482
- const t = async (r) => await import("./index-e96c1436.mjs").then(
1483
- (a) => a[r]
1484
- ), { type: s, content: i } = e;
1485
- switch (s) {
1482
+ const s = async (o) => await import("./index-cc7faebf.mjs").then(
1483
+ (l) => l[o]
1484
+ ), { type: i, content: n } = t;
1485
+ switch (i) {
1486
1486
  case "Telia": {
1487
- const r = await t(i);
1488
- return r ? $`<telia-icon
1487
+ const o = await s(n);
1488
+ return o ? $`<telia-icon
1489
1489
  class="trigger-icon"
1490
- svg=${r.svg}
1490
+ svg=${o.svg}
1491
1491
  size="lg"
1492
1492
  ></telia-icon>` : u;
1493
1493
  }
@@ -1534,8 +1534,8 @@ let T = class extends y {
1534
1534
  </span>
1535
1535
  </button>`;
1536
1536
  }
1537
- };
1538
- T.styles = [
1537
+ }
1538
+ N.styles = [
1539
1539
  w`
1540
1540
  :host {
1541
1541
  --voca-rem-multiplier: 0.625;
@@ -1606,22 +1606,19 @@ T.styles = [
1606
1606
  }
1607
1607
  `
1608
1608
  ];
1609
- et([
1609
+ xt([
1610
1610
  g({ attribute: !1 })
1611
- ], T.prototype, "application", 2);
1612
- et([
1611
+ ], N.prototype, "application", 2);
1612
+ xt([
1613
1613
  A()
1614
- ], T.prototype, "active", 2);
1615
- et([
1614
+ ], N.prototype, "active", 2);
1615
+ xt([
1616
1616
  A()
1617
- ], T.prototype, "loaded", 2);
1618
- et([
1617
+ ], N.prototype, "loaded", 2);
1618
+ xt([
1619
1619
  A()
1620
- ], T.prototype, "icon", 2);
1621
- T = et([
1622
- k("ace-trigger")
1623
- ], T);
1624
- var Ui = Object.defineProperty, Ni = Object.getOwnPropertyDescriptor, P = (e, t, s, i) => {
1620
+ ], N.prototype, "icon", 2);
1621
+ var Ui = Object.defineProperty, Ni = Object.getOwnPropertyDescriptor, k = (e, t, s, i) => {
1625
1622
  for (var n = i > 1 ? void 0 : i ? Ni(t, s) : t, r = e.length - 1, o; r >= 0; r--)
1626
1623
  (o = e[r]) && (n = (i ? o(t, s, n) : o(n)) || n);
1627
1624
  return i && n && Ui(t, s, n), n;
@@ -1665,19 +1662,19 @@ const ts = (e) => {
1665
1662
  box-sizing: border-box;
1666
1663
  }
1667
1664
  `
1668
- ], P([
1665
+ ], k([
1669
1666
  g()
1670
- ], t.prototype, "properties", 2), P([
1667
+ ], t.prototype, "properties", 2), k([
1671
1668
  g()
1672
- ], t.prototype, "context", 2), P([
1669
+ ], t.prototype, "context", 2), k([
1673
1670
  g()
1674
- ], t.prototype, "layout", 2), P([
1671
+ ], t.prototype, "layout", 2), k([
1675
1672
  g()
1676
- ], t.prototype, "name", 2), P([
1673
+ ], t.prototype, "name", 2), k([
1677
1674
  g()
1678
- ], t.prototype, "type", 2), P([
1675
+ ], t.prototype, "type", 2), k([
1679
1676
  g({ attribute: !1 })
1680
- ], t.prototype, "application", 2), P([
1677
+ ], t.prototype, "application", 2), k([
1681
1678
  g({ attribute: !1 })
1682
1679
  ], t.prototype, "parent", 2), t;
1683
1680
  };
@@ -1699,7 +1696,7 @@ Rt.styles = [
1699
1696
  `
1700
1697
  ];
1701
1698
  Rt = Mi([
1702
- k("ace-unresolved-component")
1699
+ U("ace-unresolved-component")
1703
1700
  ], Rt);
1704
1701
  /**
1705
1702
  * @license
@@ -1718,7 +1715,7 @@ var Yt = /* @__PURE__ */ ((e) => (e.Inline = "inline", e.Trigger = "trigger", e)
1718
1715
  (o = e[r]) && (n = (i ? o(t, s, n) : o(n)) || n);
1719
1716
  return i && n && Di(t, s, n), n;
1720
1717
  };
1721
- let ut = class extends y {
1718
+ let pt = class extends y {
1722
1719
  constructor() {
1723
1720
  super(...arguments), this.nodes = [], this.wrapperRef = Xe();
1724
1721
  }
@@ -1740,7 +1737,7 @@ let ut = class extends y {
1740
1737
  </div>`;
1741
1738
  }
1742
1739
  };
1743
- ut.styles = w`
1740
+ pt.styles = w`
1744
1741
  :host {
1745
1742
  --font-family: TeliaSans, Helvetica, Arial, Lucida Grande, sans-serif;
1746
1743
  --spacing-xs: 0.2rem;
@@ -1821,10 +1818,10 @@ ut.styles = w`
1821
1818
  `;
1822
1819
  es([
1823
1820
  g({ attribute: !1 })
1824
- ], ut.prototype, "application", 2);
1825
- ut = es([
1826
- k("ace-wrapper")
1827
- ], ut);
1821
+ ], pt.prototype, "application", 2);
1822
+ pt = es([
1823
+ U("ace-wrapper")
1824
+ ], pt);
1828
1825
  var Bi = Object.defineProperty, zi = Object.getOwnPropertyDescriptor, wt = (e, t, s, i) => {
1829
1826
  for (var n = i > 1 ? void 0 : i ? zi(t, s) : t, r = e.length - 1, o; r >= 0; r--)
1830
1827
  (o = e[r]) && (n = (i ? o(t, s, n) : o(n)) || n);
@@ -1856,7 +1853,7 @@ let z = class extends y {
1856
1853
  if (!this.widget || this.status !== "activated")
1857
1854
  return u;
1858
1855
  if (this.widget.renderStrategy === Yt.Trigger) {
1859
- const e = new T();
1856
+ const e = new N();
1860
1857
  return e.application = this.widget, e;
1861
1858
  }
1862
1859
  return this.widget.render();
@@ -1879,8 +1876,9 @@ wt([
1879
1876
  A()
1880
1877
  ], z.prototype, "status", 2);
1881
1878
  z = wt([
1882
- k("ace-widget")
1879
+ U("ace-widget")
1883
1880
  ], z);
1881
+ customElements.get("ace-trigger") || customElements.define("ace-trigger", N);
1884
1882
  const Fi = /* @__PURE__ */ new WeakMap();
1885
1883
  let me = 0;
1886
1884
  const Pt = /* @__PURE__ */ new Map(), ve = /* @__PURE__ */ new WeakSet(), ye = () => new Promise((e) => requestAnimationFrame(e)), Wi = [{ opacity: 0 }], be = [{ opacity: 0 }, { opacity: 1 }], _e = (e, t) => {
@@ -1908,7 +1906,7 @@ const Pt = /* @__PURE__ */ new Map(), ve = /* @__PURE__ */ new WeakSet(), ye = (
1908
1906
  } }, Gi = { duration: 333, easing: "ease-in-out" }, qi = ["left", "top", "width", "height", "opacity", "color", "background"], we = /* @__PURE__ */ new WeakMap();
1909
1907
  class Yi extends Ze {
1910
1908
  constructor(t) {
1911
- if (super(t), this.t = null, this.i = null, this.o = !0, this.shouldLog = !1, t.type === _t.CHILD)
1909
+ if (super(t), this.t = null, this.i = null, this.o = !0, this.shouldLog = !1, t.type === bt.CHILD)
1912
1910
  throw Error("The `animate` directive must be used in attribute position.");
1913
1911
  this.createFinished();
1914
1912
  }
@@ -2085,7 +2083,7 @@ class Yi extends Ze {
2085
2083
  this.shouldLog && !this.isDisabled() && console.log(t, this.options.id, s);
2086
2084
  }
2087
2085
  }
2088
- const Ae = xt(Yi);
2086
+ const Ae = _t(Yi);
2089
2087
  var Ki = Object.defineProperty, Qi = Object.getOwnPropertyDescriptor, At = (e, t, s, i) => {
2090
2088
  for (var n = i > 1 ? void 0 : i ? Qi(t, s) : t, r = e.length - 1, o; r >= 0; r--)
2091
2089
  (o = e[r]) && (n = (i ? o(t, s, n) : o(n)) || n);
@@ -2154,14 +2152,14 @@ At([
2154
2152
  A()
2155
2153
  ], F.prototype, "entries", 2);
2156
2154
  F = At([
2157
- k("ace-conversation-session")
2155
+ U("ace-conversation-session")
2158
2156
  ], F);
2159
2157
  var Zi = Object.defineProperty, Xi = Object.getOwnPropertyDescriptor, ss = (e, t, s, i) => {
2160
2158
  for (var n = i > 1 ? void 0 : i ? Xi(t, s) : t, r = e.length - 1, o; r >= 0; r--)
2161
2159
  (o = e[r]) && (n = (i ? o(t, s, n) : o(n)) || n);
2162
2160
  return i && n && Zi(t, s, n), n;
2163
2161
  };
2164
- let ft = class extends y {
2162
+ let ut = class extends y {
2165
2163
  connectedCallback() {
2166
2164
  var e;
2167
2165
  super.connectedCallback(), (e = this.entry.didUpdate) == null || e.subscribe(() => {
@@ -2233,7 +2231,7 @@ let ft = class extends y {
2233
2231
  }
2234
2232
  }
2235
2233
  };
2236
- ft.styles = [
2234
+ ut.styles = [
2237
2235
  w`
2238
2236
  :host {
2239
2237
  box-sizing: border-box;
@@ -2320,16 +2318,16 @@ ft.styles = [
2320
2318
  ];
2321
2319
  ss([
2322
2320
  g({ attribute: !1 })
2323
- ], ft.prototype, "entry", 2);
2324
- ft = ss([
2325
- k("conversation-entry")
2326
- ], ft);
2321
+ ], ut.prototype, "entry", 2);
2322
+ ut = ss([
2323
+ U("conversation-entry")
2324
+ ], ut);
2327
2325
  var Ji = Object.defineProperty, Vi = Object.getOwnPropertyDescriptor, is = (e, t, s, i) => {
2328
2326
  for (var n = i > 1 ? void 0 : i ? Vi(t, s) : t, r = e.length - 1, o; r >= 0; r--)
2329
2327
  (o = e[r]) && (n = (i ? o(t, s, n) : o(n)) || n);
2330
2328
  return i && n && Ji(t, s, n), n;
2331
2329
  };
2332
- let $t = class extends y {
2330
+ let ft = class extends y {
2333
2331
  render() {
2334
2332
  return $`
2335
2333
  <div class="message-group">
@@ -2344,7 +2342,7 @@ let $t = class extends y {
2344
2342
  `;
2345
2343
  }
2346
2344
  };
2347
- $t.styles = [
2345
+ ft.styles = [
2348
2346
  w`
2349
2347
  :host {
2350
2348
  box-sizing: border-box;
@@ -2362,10 +2360,10 @@ $t.styles = [
2362
2360
  ];
2363
2361
  is([
2364
2362
  g({ attribute: !1 })
2365
- ], $t.prototype, "group", 2);
2366
- $t = is([
2367
- k("conversation-group")
2368
- ], $t);
2363
+ ], ft.prototype, "group", 2);
2364
+ ft = is([
2365
+ U("conversation-group")
2366
+ ], ft);
2369
2367
  /**
2370
2368
  * @license
2371
2369
  * Copyright 2017 Google LLC
@@ -2373,7 +2371,7 @@ $t = is([
2373
2371
  */
2374
2372
  class Mt extends Gt {
2375
2373
  constructor(t) {
2376
- if (super(t), this.et = u, t.type !== _t.CHILD)
2374
+ if (super(t), this.et = u, t.type !== bt.CHILD)
2377
2375
  throw Error(this.constructor.directiveName + "() can only be used in child bindings");
2378
2376
  }
2379
2377
  render(t) {
@@ -2391,20 +2389,20 @@ class Mt extends Gt {
2391
2389
  }
2392
2390
  }
2393
2391
  Mt.directiveName = "unsafeHTML", Mt.resultType = 1;
2394
- const tn = xt(Mt);
2392
+ const tn = _t(Mt);
2395
2393
  var en = Object.defineProperty, sn = Object.getOwnPropertyDescriptor, ns = (e, t, s, i) => {
2396
2394
  for (var n = i > 1 ? void 0 : i ? sn(t, s) : t, r = e.length - 1, o; r >= 0; r--)
2397
2395
  (o = e[r]) && (n = (i ? o(t, s, n) : o(n)) || n);
2398
2396
  return i && n && en(t, s, n), n;
2399
2397
  };
2400
- let gt = class extends y {
2398
+ let $t = class extends y {
2401
2399
  render() {
2402
2400
  return $`<div class="message-type-html">
2403
2401
  ${tn(this.message.content)}
2404
2402
  </div>`;
2405
2403
  }
2406
2404
  };
2407
- gt.styles = [
2405
+ $t.styles = [
2408
2406
  w`
2409
2407
  :host {
2410
2408
  box-sizing: border-box;
@@ -2421,10 +2419,10 @@ gt.styles = [
2421
2419
  ];
2422
2420
  ns([
2423
2421
  g({ attribute: !1 })
2424
- ], gt.prototype, "message", 2);
2425
- gt = ns([
2426
- k("message-type-html")
2427
- ], gt);
2422
+ ], $t.prototype, "message", 2);
2423
+ $t = ns([
2424
+ U("message-type-html")
2425
+ ], $t);
2428
2426
  var nn = Object.defineProperty, rn = Object.getOwnPropertyDescriptor, Kt = (e, t, s, i) => {
2429
2427
  for (var n = i > 1 ? void 0 : i ? rn(t, s) : t, r = e.length - 1, o; r >= 0; r--)
2430
2428
  (o = e[r]) && (n = (i ? o(t, s, n) : o(n)) || n);