@telia-ace/widget-conversation-flamingo 1.1.33-rc.0 → 1.1.33-rc.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,22 +1,22 @@
1
- import { C as St } from "./index-59fe3cc0.mjs";
1
+ import { C as At } from "./index-f34e239d.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, Dt = rt.ShadowRoot && (rt.ShadyCSS === void 0 || rt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Bt = Symbol(), Jt = /* @__PURE__ */ new WeakMap();
8
- let Oe = class {
9
- constructor(t, e, i) {
10
- if (this._$cssResult$ = !0, i !== Bt)
7
+ const nt = globalThis, Dt = nt.ShadowRoot && (nt.ShadyCSS === void 0 || nt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, It = Symbol(), Vt = /* @__PURE__ */ new WeakMap();
8
+ let Pe = class {
9
+ constructor(t, s, i) {
10
+ if (this._$cssResult$ = !0, i !== It)
11
11
  throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
12
- this.cssText = t, this.t = e;
12
+ this.cssText = t, this.t = s;
13
13
  }
14
14
  get styleSheet() {
15
15
  let t = this.o;
16
- const e = this.t;
16
+ const s = this.t;
17
17
  if (Dt && t === void 0) {
18
- const i = e !== void 0 && e.length === 1;
19
- i && (t = Jt.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && Jt.set(e, t));
18
+ const i = s !== void 0 && s.length === 1;
19
+ i && (t = Vt.get(s)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && Vt.set(s, t));
20
20
  }
21
21
  return t;
22
22
  }
@@ -24,82 +24,82 @@ let Oe = class {
24
24
  return this.cssText;
25
25
  }
26
26
  };
27
- const ls = (s) => new Oe(typeof s == "string" ? s : s + "", void 0, Bt), _ = (s, ...t) => {
28
- const e = s.length === 1 ? s[0] : t.reduce((i, n, r) => i + ((o) => {
27
+ const cs = (e) => new Pe(typeof e == "string" ? e : e + "", void 0, It), b = (e, ...t) => {
28
+ const s = e.length === 1 ? e[0] : t.reduce((i, n, r) => i + ((o) => {
29
29
  if (o._$cssResult$ === !0)
30
30
  return o.cssText;
31
31
  if (typeof o == "number")
32
32
  return o;
33
33
  throw Error("Value passed to 'css' function must be a 'css' function result: " + o + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
34
- })(n) + s[r + 1], s[0]);
35
- return new Oe(e, s, Bt);
36
- }, cs = (s, t) => {
34
+ })(n) + e[r + 1], e[0]);
35
+ return new Pe(s, e, It);
36
+ }, ds = (e, t) => {
37
37
  if (Dt)
38
- s.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
38
+ e.adoptedStyleSheets = t.map((s) => s instanceof CSSStyleSheet ? s : s.styleSheet);
39
39
  else
40
- for (const e of t) {
41
- const i = document.createElement("style"), n = rt.litNonce;
42
- n !== void 0 && i.setAttribute("nonce", n), i.textContent = e.cssText, s.appendChild(i);
40
+ for (const s of t) {
41
+ const i = document.createElement("style"), n = nt.litNonce;
42
+ n !== void 0 && i.setAttribute("nonce", n), i.textContent = s.cssText, e.appendChild(i);
43
43
  }
44
- }, Vt = Dt ? (s) => s : (s) => s instanceof CSSStyleSheet ? ((t) => {
45
- let e = "";
44
+ }, te = Dt ? (e) => e : (e) => e instanceof CSSStyleSheet ? ((t) => {
45
+ let s = "";
46
46
  for (const i of t.cssRules)
47
- e += i.cssText;
48
- return ls(e);
49
- })(s) : s;
47
+ s += i.cssText;
48
+ return cs(s);
49
+ })(e) : e;
50
50
  /**
51
51
  * @license
52
52
  * Copyright 2017 Google LLC
53
53
  * SPDX-License-Identifier: BSD-3-Clause
54
54
  */
55
- const { is: ds, defineProperty: hs, getOwnPropertyDescriptor: ps, getOwnPropertyNames: us, getOwnPropertySymbols: fs, getPrototypeOf: gs } = Object, S = globalThis, te = S.trustedTypes, $s = te ? te.emptyScript : "", Et = S.reactiveElementPolyfillSupport, W = (s, t) => s, ot = { toAttribute(s, t) {
55
+ const { is: hs, defineProperty: ps, getOwnPropertyDescriptor: us, getOwnPropertyNames: fs, getOwnPropertySymbols: gs, getPrototypeOf: $s } = Object, S = globalThis, ee = S.trustedTypes, ms = ee ? ee.emptyScript : "", St = S.reactiveElementPolyfillSupport, W = (e, t) => e, rt = { toAttribute(e, t) {
56
56
  switch (t) {
57
57
  case Boolean:
58
- s = s ? $s : null;
58
+ e = e ? ms : null;
59
59
  break;
60
60
  case Object:
61
61
  case Array:
62
- s = s == null ? s : JSON.stringify(s);
62
+ e = e == null ? e : JSON.stringify(e);
63
63
  }
64
- return s;
65
- }, fromAttribute(s, t) {
66
- let e = s;
64
+ return e;
65
+ }, fromAttribute(e, t) {
66
+ let s = e;
67
67
  switch (t) {
68
68
  case Boolean:
69
- e = s !== null;
69
+ s = e !== null;
70
70
  break;
71
71
  case Number:
72
- e = s === null ? null : Number(s);
72
+ s = e === null ? null : Number(e);
73
73
  break;
74
74
  case Object:
75
75
  case Array:
76
76
  try {
77
- e = JSON.parse(s);
77
+ s = JSON.parse(e);
78
78
  } catch {
79
- e = null;
79
+ s = null;
80
80
  }
81
81
  }
82
- return e;
83
- } }, zt = (s, t) => !ds(s, t), ee = { attribute: !0, type: String, converter: ot, reflect: !1, hasChanged: zt };
82
+ return s;
83
+ } }, Bt = (e, t) => !hs(e, t), se = { attribute: !0, type: String, converter: rt, reflect: !1, hasChanged: Bt };
84
84
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), S.litPropertyMetadata ?? (S.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
85
- let U = class extends HTMLElement {
85
+ let R = class extends HTMLElement {
86
86
  static addInitializer(t) {
87
87
  this._$Ei(), (this.l ?? (this.l = [])).push(t);
88
88
  }
89
89
  static get observedAttributes() {
90
90
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
91
91
  }
92
- static createProperty(t, e = ee) {
93
- if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
94
- const i = Symbol(), n = this.getPropertyDescriptor(t, i, e);
95
- n !== void 0 && hs(this.prototype, t, n);
92
+ static createProperty(t, s = se) {
93
+ if (s.state && (s.attribute = !1), this._$Ei(), this.elementProperties.set(t, s), !s.noAccessor) {
94
+ const i = Symbol(), n = this.getPropertyDescriptor(t, i, s);
95
+ n !== void 0 && ps(this.prototype, t, n);
96
96
  }
97
97
  }
98
- static getPropertyDescriptor(t, e, i) {
99
- const { get: n, set: r } = ps(this.prototype, t) ?? { get() {
100
- return this[e];
98
+ static getPropertyDescriptor(t, s, i) {
99
+ const { get: n, set: r } = us(this.prototype, t) ?? { get() {
100
+ return this[s];
101
101
  }, set(o) {
102
- this[e] = o;
102
+ this[s] = o;
103
103
  } };
104
104
  return { get() {
105
105
  return n == null ? void 0 : n.call(this);
@@ -109,48 +109,48 @@ let U = class extends HTMLElement {
109
109
  }, configurable: !0, enumerable: !0 };
110
110
  }
111
111
  static getPropertyOptions(t) {
112
- return this.elementProperties.get(t) ?? ee;
112
+ return this.elementProperties.get(t) ?? se;
113
113
  }
114
114
  static _$Ei() {
115
115
  if (this.hasOwnProperty(W("elementProperties")))
116
116
  return;
117
- const t = gs(this);
117
+ const t = $s(this);
118
118
  t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
119
119
  }
120
120
  static finalize() {
121
121
  if (this.hasOwnProperty(W("finalized")))
122
122
  return;
123
123
  if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(W("properties"))) {
124
- const e = this.properties, i = [...us(e), ...fs(e)];
124
+ const s = this.properties, i = [...fs(s), ...gs(s)];
125
125
  for (const n of i)
126
- this.createProperty(n, e[n]);
126
+ this.createProperty(n, s[n]);
127
127
  }
128
128
  const t = this[Symbol.metadata];
129
129
  if (t !== null) {
130
- const e = litPropertyMetadata.get(t);
131
- if (e !== void 0)
132
- for (const [i, n] of e)
130
+ const s = litPropertyMetadata.get(t);
131
+ if (s !== void 0)
132
+ for (const [i, n] of s)
133
133
  this.elementProperties.set(i, n);
134
134
  }
135
135
  this._$Eh = /* @__PURE__ */ new Map();
136
- for (const [e, i] of this.elementProperties) {
137
- const n = this._$Eu(e, i);
138
- n !== void 0 && this._$Eh.set(n, e);
136
+ for (const [s, i] of this.elementProperties) {
137
+ const n = this._$Eu(s, i);
138
+ n !== void 0 && this._$Eh.set(n, s);
139
139
  }
140
140
  this.elementStyles = this.finalizeStyles(this.styles);
141
141
  }
142
142
  static finalizeStyles(t) {
143
- const e = [];
143
+ const s = [];
144
144
  if (Array.isArray(t)) {
145
145
  const i = new Set(t.flat(1 / 0).reverse());
146
146
  for (const n of i)
147
- e.unshift(Vt(n));
147
+ s.unshift(te(n));
148
148
  } else
149
- t !== void 0 && e.push(Vt(t));
150
- return e;
149
+ t !== void 0 && s.push(te(t));
150
+ return s;
151
151
  }
152
- static _$Eu(t, e) {
153
- const i = e.attribute;
152
+ static _$Eu(t, s) {
153
+ const i = s.attribute;
154
154
  return i === !1 ? void 0 : typeof i == "string" ? i : typeof t == "string" ? t.toLowerCase() : void 0;
155
155
  }
156
156
  constructor() {
@@ -158,78 +158,78 @@ let U = class extends HTMLElement {
158
158
  }
159
159
  _$Ev() {
160
160
  var t;
161
- this._$Eg = new Promise((e) => this.enableUpdating = e), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), (t = this.constructor.l) == null || t.forEach((e) => e(this));
161
+ this._$Eg = new Promise((s) => this.enableUpdating = s), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), (t = this.constructor.l) == null || t.forEach((s) => s(this));
162
162
  }
163
163
  addController(t) {
164
- var e;
165
- (this._$ES ?? (this._$ES = [])).push(t), this.renderRoot !== void 0 && this.isConnected && ((e = t.hostConnected) == null || e.call(t));
164
+ var s;
165
+ (this._$ES ?? (this._$ES = [])).push(t), this.renderRoot !== void 0 && this.isConnected && ((s = t.hostConnected) == null || s.call(t));
166
166
  }
167
167
  removeController(t) {
168
- var e;
169
- (e = this._$ES) == null || e.splice(this._$ES.indexOf(t) >>> 0, 1);
168
+ var s;
169
+ (s = this._$ES) == null || s.splice(this._$ES.indexOf(t) >>> 0, 1);
170
170
  }
171
171
  _$E_() {
172
- const t = /* @__PURE__ */ new Map(), e = this.constructor.elementProperties;
173
- for (const i of e.keys())
172
+ const t = /* @__PURE__ */ new Map(), s = this.constructor.elementProperties;
173
+ for (const i of s.keys())
174
174
  this.hasOwnProperty(i) && (t.set(i, this[i]), delete this[i]);
175
175
  t.size > 0 && (this._$Ep = t);
176
176
  }
177
177
  createRenderRoot() {
178
178
  const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
179
- return cs(t, this.constructor.elementStyles), t;
179
+ return ds(t, this.constructor.elementStyles), t;
180
180
  }
181
181
  connectedCallback() {
182
182
  var t;
183
- this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), (t = this._$ES) == null || t.forEach((e) => {
183
+ this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), (t = this._$ES) == null || t.forEach((s) => {
184
184
  var i;
185
- return (i = e.hostConnected) == null ? void 0 : i.call(e);
185
+ return (i = s.hostConnected) == null ? void 0 : i.call(s);
186
186
  });
187
187
  }
188
188
  enableUpdating(t) {
189
189
  }
190
190
  disconnectedCallback() {
191
191
  var t;
192
- (t = this._$ES) == null || t.forEach((e) => {
192
+ (t = this._$ES) == null || t.forEach((s) => {
193
193
  var i;
194
- return (i = e.hostDisconnected) == null ? void 0 : i.call(e);
194
+ return (i = s.hostDisconnected) == null ? void 0 : i.call(s);
195
195
  });
196
196
  }
197
- attributeChangedCallback(t, e, i) {
197
+ attributeChangedCallback(t, s, i) {
198
198
  this._$AK(t, i);
199
199
  }
200
- _$EO(t, e) {
200
+ _$EO(t, s) {
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(e, 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
  }
208
- _$AK(t, e) {
208
+ _$AK(t, s) {
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;
213
- this._$Em = n, this[n] = a.fromAttribute(e, o.type), this._$Em = null;
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
+ this._$Em = n, this[n] = a.fromAttribute(s, o.type), this._$Em = null;
214
214
  }
215
215
  }
216
- requestUpdate(t, e, i, n = !1, r) {
216
+ requestUpdate(t, s, i, n = !1, r) {
217
217
  if (t !== void 0) {
218
- if (i ?? (i = this.constructor.getPropertyOptions(t)), !(i.hasChanged ?? zt)(n ? r : this[t], e))
218
+ if (i ?? (i = this.constructor.getPropertyOptions(t)), !(i.hasChanged ?? Bt)(n ? r : this[t], s))
219
219
  return;
220
- this.C(t, e, i);
220
+ this.C(t, s, i);
221
221
  }
222
222
  this.isUpdatePending === !1 && (this._$Eg = this._$EP());
223
223
  }
224
- C(t, e, i) {
225
- this._$AL.has(t) || this._$AL.set(t, e), i.reflect === !0 && this._$Em !== t && (this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Set())).add(t);
224
+ C(t, s, i) {
225
+ this._$AL.has(t) || this._$AL.set(t, s), i.reflect === !0 && this._$Em !== t && (this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Set())).add(t);
226
226
  }
227
227
  async _$EP() {
228
228
  this.isUpdatePending = !0;
229
229
  try {
230
230
  await this._$Eg;
231
- } catch (e) {
232
- Promise.reject(e);
231
+ } catch (s) {
232
+ Promise.reject(s);
233
233
  }
234
234
  const t = this.scheduleUpdate();
235
235
  return t != null && await t, !this.isUpdatePending;
@@ -253,22 +253,22 @@ let U = class extends HTMLElement {
253
253
  o.wrapped !== !0 || this._$AL.has(r) || this[r] === void 0 || this.C(r, this[r], o);
254
254
  }
255
255
  let t = !1;
256
- const e = this._$AL;
256
+ const s = this._$AL;
257
257
  try {
258
- t = this.shouldUpdate(e), t ? (this.willUpdate(e), (i = this._$ES) == null || i.forEach((n) => {
258
+ t = this.shouldUpdate(s), t ? (this.willUpdate(s), (i = this._$ES) == null || i.forEach((n) => {
259
259
  var r;
260
260
  return (r = n.hostUpdate) == null ? void 0 : r.call(n);
261
- }), this.update(e)) : this._$ET();
261
+ }), this.update(s)) : this._$ET();
262
262
  } catch (n) {
263
263
  throw t = !1, this._$ET(), n;
264
264
  }
265
- t && this._$AE(e);
265
+ t && this._$AE(s);
266
266
  }
267
267
  willUpdate(t) {
268
268
  }
269
269
  _$AE(t) {
270
- var e;
271
- (e = this._$ES) == null || e.forEach((i) => {
270
+ var s;
271
+ (s = this._$ES) == null || s.forEach((i) => {
272
272
  var n;
273
273
  return (n = i.hostUpdated) == null ? void 0 : n.call(i);
274
274
  }), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
@@ -286,95 +286,95 @@ let U = class extends HTMLElement {
286
286
  return !0;
287
287
  }
288
288
  update(t) {
289
- this._$Ej && (this._$Ej = this._$Ej.forEach((e) => this._$EO(e, this[e]))), this._$ET();
289
+ this._$Ej && (this._$Ej = this._$Ej.forEach((s) => this._$EO(s, this[s]))), this._$ET();
290
290
  }
291
291
  updated(t) {
292
292
  }
293
293
  firstUpdated(t) {
294
294
  }
295
295
  };
296
- U.elementStyles = [], U.shadowRootOptions = { mode: "open" }, U[W("elementProperties")] = /* @__PURE__ */ new Map(), U[W("finalized")] = /* @__PURE__ */ new Map(), Et == null || Et({ ReactiveElement: U }), (S.reactiveElementVersions ?? (S.reactiveElementVersions = [])).push("2.0.1");
296
+ R.elementStyles = [], R.shadowRootOptions = { mode: "open" }, R[W("elementProperties")] = /* @__PURE__ */ new Map(), R[W("finalized")] = /* @__PURE__ */ new Map(), St == null || St({ ReactiveElement: R }), (S.reactiveElementVersions ?? (S.reactiveElementVersions = [])).push("2.0.1");
297
297
  /**
298
298
  * @license
299
299
  * Copyright 2017 Google LLC
300
300
  * SPDX-License-Identifier: BSD-3-Clause
301
301
  */
302
- const G = globalThis, at = G.trustedTypes, se = at ? at.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, Pe = "$lit$", C = `lit$${(Math.random() + "").slice(9)}$`, Le = "?" + C, ms = `<${Le}>`, L = document, Z = () => L.createComment(""), X = (s) => s === null || typeof s != "object" && typeof s != "function", He = Array.isArray, vs = (s) => He(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", kt = `[
303
- \f\r]`, F = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ie = /-->/g, ne = />/g, T = RegExp(`>|${kt}(?:([^\\s"'>=/]+)(${kt}*=${kt}*(?:[^
304
- \f\r"'\`<>=]|("|')|))|$)`, "g"), re = /'/g, oe = /"/g, Re = /^(?:script|style|textarea|title)$/i, ys = (s) => (t, ...e) => ({ _$litType$: s, strings: t, values: e }), f = ys(1), E = Symbol.for("lit-noChange"), u = Symbol.for("lit-nothing"), ae = /* @__PURE__ */ new WeakMap(), P = L.createTreeWalker(L, 129);
305
- function Ue(s, t) {
306
- if (!Array.isArray(s) || !s.hasOwnProperty("raw"))
302
+ const G = globalThis, ot = G.trustedTypes, ie = ot ? ot.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, Le = "$lit$", A = `lit$${(Math.random() + "").slice(9)}$`, He = "?" + A, vs = `<${He}>`, P = document, Z = () => P.createComment(""), X = (e) => e === null || typeof e != "object" && typeof e != "function", Re = Array.isArray, ys = (e) => Re(e) || typeof (e == null ? void 0 : e[Symbol.iterator]) == "function", Et = `[
303
+ \f\r]`, F = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ne = /-->/g, re = />/g, k = RegExp(`>|${Et}(?:([^\\s"'>=/]+)(${Et}*=${Et}*(?:[^
304
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), oe = /'/g, ae = /"/g, Me = /^(?:script|style|textarea|title)$/i, bs = (e) => (t, ...s) => ({ _$litType$: e, strings: t, values: s }), f = bs(1), E = Symbol.for("lit-noChange"), u = Symbol.for("lit-nothing"), le = /* @__PURE__ */ new WeakMap(), O = P.createTreeWalker(P, 129);
305
+ function Ue(e, t) {
306
+ if (!Array.isArray(e) || !e.hasOwnProperty("raw"))
307
307
  throw Error("invalid template strings array");
308
- return se !== void 0 ? se.createHTML(t) : t;
308
+ return ie !== void 0 ? ie.createHTML(t) : t;
309
309
  }
310
- const bs = (s, t) => {
311
- const e = s.length - 1, i = [];
310
+ const _s = (e, t) => {
311
+ const s = e.length - 1, i = [];
312
312
  let n, r = t === 2 ? "<svg>" : "", o = F;
313
- for (let a = 0; a < e; a++) {
314
- const l = s[a];
313
+ for (let a = 0; a < s; a++) {
314
+ const l = e[a];
315
315
  let c, d, h = -1, p = 0;
316
316
  for (; p < l.length && (o.lastIndex = p, d = o.exec(l), d !== null); )
317
- p = o.lastIndex, o === F ? d[1] === "!--" ? o = ie : d[1] !== void 0 ? o = ne : d[2] !== void 0 ? (Re.test(d[2]) && (n = RegExp("</" + d[2], "g")), o = T) : d[3] !== void 0 && (o = T) : o === T ? d[0] === ">" ? (o = n ?? F, h = -1) : d[1] === void 0 ? h = -2 : (h = o.lastIndex - d[2].length, c = d[1], o = d[3] === void 0 ? T : d[3] === '"' ? oe : re) : o === oe || o === re ? o = T : o === ie || o === ne ? o = F : (o = T, n = void 0);
318
- const g = o === T && s[a + 1].startsWith("/>") ? " " : "";
319
- r += o === F ? l + ms : h >= 0 ? (i.push(c), l.slice(0, h) + Pe + l.slice(h) + C + g) : l + C + (h === -2 ? a : g);
317
+ p = o.lastIndex, o === F ? d[1] === "!--" ? o = ne : d[1] !== void 0 ? o = re : d[2] !== void 0 ? (Me.test(d[2]) && (n = RegExp("</" + d[2], "g")), o = k) : d[3] !== void 0 && (o = k) : o === k ? d[0] === ">" ? (o = n ?? F, h = -1) : d[1] === void 0 ? h = -2 : (h = o.lastIndex - d[2].length, c = d[1], o = d[3] === void 0 ? k : d[3] === '"' ? ae : oe) : o === ae || o === oe ? o = k : o === ne || o === re ? o = F : (o = k, n = void 0);
318
+ const g = o === k && e[a + 1].startsWith("/>") ? " " : "";
319
+ r += o === F ? l + vs : h >= 0 ? (i.push(c), l.slice(0, h) + Le + l.slice(h) + A + g) : l + A + (h === -2 ? a : g);
320
320
  }
321
- return [Ue(s, r + (s[e] || "<?>") + (t === 2 ? "</svg>" : "")), i];
321
+ return [Ue(e, r + (e[s] || "<?>") + (t === 2 ? "</svg>" : "")), i];
322
322
  };
323
323
  class Y {
324
- constructor({ strings: t, _$litType$: e }, i) {
324
+ constructor({ strings: t, _$litType$: s }, i) {
325
325
  let n;
326
326
  this.parts = [];
327
327
  let r = 0, o = 0;
328
- const a = t.length - 1, l = this.parts, [c, d] = bs(t, e);
329
- if (this.el = Y.createElement(c, i), P.currentNode = this.el.content, e === 2) {
328
+ const a = t.length - 1, l = this.parts, [c, d] = _s(t, s);
329
+ if (this.el = Y.createElement(c, i), O.currentNode = this.el.content, s === 2) {
330
330
  const h = this.el.content.firstChild;
331
331
  h.replaceWith(...h.childNodes);
332
332
  }
333
- for (; (n = P.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 h of n.getAttributeNames())
337
- if (h.endsWith(Pe)) {
338
- const p = d[o++], g = n.getAttribute(h).split(C), w = /([.?@])?(.*)/.exec(p);
339
- l.push({ type: 1, index: r, name: w[2], strings: g, ctor: w[1] === "." ? xs : w[1] === "?" ? ws : w[1] === "@" ? As : vt }), n.removeAttribute(h);
337
+ if (h.endsWith(Le)) {
338
+ const p = d[o++], g = n.getAttribute(h).split(A), x = /([.?@])?(.*)/.exec(p);
339
+ l.push({ type: 1, index: r, name: x[2], strings: g, ctor: x[1] === "." ? ws : x[1] === "?" ? Cs : x[1] === "@" ? As : mt }), n.removeAttribute(h);
340
340
  } else
341
- h.startsWith(C) && (l.push({ type: 6, index: r }), n.removeAttribute(h));
342
- if (Re.test(n.tagName)) {
343
- const h = n.textContent.split(C), p = h.length - 1;
341
+ h.startsWith(A) && (l.push({ type: 6, index: r }), n.removeAttribute(h));
342
+ if (Me.test(n.tagName)) {
343
+ const h = n.textContent.split(A), p = h.length - 1;
344
344
  if (p > 0) {
345
- n.textContent = at ? at.emptyScript : "";
345
+ n.textContent = ot ? ot.emptyScript : "";
346
346
  for (let g = 0; g < p; g++)
347
- n.append(h[g], Z()), P.nextNode(), l.push({ type: 2, index: ++r });
347
+ n.append(h[g], Z()), O.nextNode(), l.push({ type: 2, index: ++r });
348
348
  n.append(h[p], Z());
349
349
  }
350
350
  }
351
351
  } else if (n.nodeType === 8)
352
- if (n.data === Le)
352
+ if (n.data === He)
353
353
  l.push({ type: 2, index: r });
354
354
  else {
355
355
  let h = -1;
356
- for (; (h = n.data.indexOf(C, h + 1)) !== -1; )
357
- l.push({ type: 7, index: r }), h += C.length - 1;
356
+ for (; (h = n.data.indexOf(A, h + 1)) !== -1; )
357
+ l.push({ type: 7, index: r }), h += A.length - 1;
358
358
  }
359
359
  r++;
360
360
  }
361
361
  }
362
- static createElement(t, e) {
363
- const i = L.createElement("template");
362
+ static createElement(t, s) {
363
+ const i = P.createElement("template");
364
364
  return i.innerHTML = t, i;
365
365
  }
366
366
  }
367
- function B(s, t, e = s, i) {
367
+ function I(e, t, s = e, i) {
368
368
  var o, a;
369
369
  if (t === E)
370
370
  return t;
371
- let n = i !== void 0 ? (o = e._$Co) == null ? void 0 : o[i] : e._$Cl;
371
+ let n = i !== void 0 ? (o = s._$Co) == null ? void 0 : o[i] : s._$Cl;
372
372
  const r = X(t) ? void 0 : t._$litDirective$;
373
- return (n == null ? void 0 : n.constructor) !== r && ((a = n == null ? void 0 : n._$AO) == null || a.call(n, !1), r === void 0 ? n = void 0 : (n = new r(s), n._$AT(s, e, i)), i !== void 0 ? (e._$Co ?? (e._$Co = []))[i] = n : e._$Cl = n), n !== void 0 && (t = B(s, n._$AS(s, t.values), n, i)), t;
373
+ return (n == null ? void 0 : n.constructor) !== r && ((a = n == null ? void 0 : n._$AO) == null || a.call(n, !1), r === void 0 ? n = void 0 : (n = new r(e), n._$AT(e, s, i)), i !== void 0 ? (s._$Co ?? (s._$Co = []))[i] = n : s._$Cl = n), n !== void 0 && (t = I(e, n._$AS(e, t.values), n, i)), t;
374
374
  }
375
- class _s {
376
- constructor(t, e) {
377
- this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
375
+ class xs {
376
+ constructor(t, s) {
377
+ this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = s;
378
378
  }
379
379
  get parentNode() {
380
380
  return this._$AM.parentNode;
@@ -383,22 +383,22 @@ class _s {
383
383
  return this._$AM._$AU;
384
384
  }
385
385
  u(t) {
386
- const { el: { content: e }, parts: i } = this._$AD, n = ((t == null ? void 0 : t.creationScope) ?? L).importNode(e, !0);
387
- P.currentNode = n;
388
- let r = P.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
- l.type === 2 ? c = new Q(r, r.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (c = new Cs(r, this, t)), this._$AV.push(c), l = i[++a];
392
+ l.type === 2 ? c = new Q(r, r.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (c = new Ss(r, this, t)), this._$AV.push(c), l = i[++a];
393
393
  }
394
- o !== (l == null ? void 0 : l.index) && (r = P.nextNode(), o++);
394
+ o !== (l == null ? void 0 : l.index) && (r = O.nextNode(), o++);
395
395
  }
396
- return P.currentNode = L, n;
396
+ return O.currentNode = P, n;
397
397
  }
398
398
  p(t) {
399
- let e = 0;
399
+ let s = 0;
400
400
  for (const i of this._$AV)
401
- i !== void 0 && (i.strings !== void 0 ? (i._$AI(t, i, e), e += i.strings.length - 2) : i._$AI(t[e])), e++;
401
+ i !== void 0 && (i.strings !== void 0 ? (i._$AI(t, i, s), s += i.strings.length - 2) : i._$AI(t[s])), s++;
402
402
  }
403
403
  }
404
404
  class Q {
@@ -406,13 +406,13 @@ class Q {
406
406
  var t;
407
407
  return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
408
408
  }
409
- constructor(t, e, i, n) {
410
- this.type = 2, this._$AH = u, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = i, this.options = n, this._$Cv = (n == null ? void 0 : n.isConnected) ?? !0;
409
+ constructor(t, s, i, n) {
410
+ this.type = 2, this._$AH = u, this._$AN = void 0, this._$AA = t, this._$AB = s, this._$AM = i, this.options = n, this._$Cv = (n == null ? void 0 : n.isConnected) ?? !0;
411
411
  }
412
412
  get parentNode() {
413
413
  let t = this._$AA.parentNode;
414
- const e = this._$AM;
415
- return e !== void 0 && (t == null ? void 0 : t.nodeType) === 11 && (t = e.parentNode), t;
414
+ const s = this._$AM;
415
+ return s !== void 0 && (t == null ? void 0 : t.nodeType) === 11 && (t = s.parentNode), t;
416
416
  }
417
417
  get startNode() {
418
418
  return this._$AA;
@@ -420,8 +420,8 @@ class Q {
420
420
  get endNode() {
421
421
  return this._$AB;
422
422
  }
423
- _$AI(t, e = this) {
424
- t = B(this, t, e), X(t) ? t === u || t == null || t === "" ? (this._$AH !== u && this._$AR(), this._$AH = u) : t !== this._$AH && t !== E && this._(t) : t._$litType$ !== void 0 ? this.g(t) : t.nodeType !== void 0 ? this.$(t) : vs(t) ? this.T(t) : this._(t);
423
+ _$AI(t, s = this) {
424
+ t = I(this, t, s), X(t) ? t === u || t == null || t === "" ? (this._$AH !== u && this._$AR(), this._$AH = u) : t !== this._$AH && t !== E && this._(t) : t._$litType$ !== void 0 ? this.g(t) : t.nodeType !== void 0 ? this.$(t) : ys(t) ? this.T(t) : this._(t);
425
425
  }
426
426
  k(t) {
427
427
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -430,62 +430,62 @@ class Q {
430
430
  this._$AH !== t && (this._$AR(), this._$AH = this.k(t));
431
431
  }
432
432
  _(t) {
433
- this._$AH !== u && X(this._$AH) ? this._$AA.nextSibling.data = t : this.$(L.createTextNode(t)), this._$AH = t;
433
+ this._$AH !== u && X(this._$AH) ? this._$AA.nextSibling.data = t : this.$(P.createTextNode(t)), this._$AH = t;
434
434
  }
435
435
  g(t) {
436
436
  var r;
437
- const { values: e, _$litType$: i } = t, n = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = Y.createElement(Ue(i.h, i.h[0]), this.options)), i);
437
+ const { values: s, _$litType$: i } = t, n = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = Y.createElement(Ue(i.h, i.h[0]), this.options)), i);
438
438
  if (((r = this._$AH) == null ? void 0 : r._$AD) === n)
439
- this._$AH.p(e);
439
+ this._$AH.p(s);
440
440
  else {
441
- const o = new _s(n, this), a = o.u(this.options);
442
- o.p(e), this.$(a), this._$AH = o;
441
+ const o = new xs(n, this), a = o.u(this.options);
442
+ o.p(s), this.$(a), this._$AH = o;
443
443
  }
444
444
  }
445
445
  _$AC(t) {
446
- let e = ae.get(t.strings);
447
- return e === void 0 && ae.set(t.strings, e = new Y(t)), e;
446
+ let s = le.get(t.strings);
447
+ return s === void 0 && le.set(t.strings, s = new Y(t)), s;
448
448
  }
449
449
  T(t) {
450
- He(this._$AH) || (this._$AH = [], this._$AR());
451
- const e = this._$AH;
450
+ Re(this._$AH) || (this._$AH = [], this._$AR());
451
+ const s = this._$AH;
452
452
  let i, n = 0;
453
453
  for (const r of t)
454
- n === e.length ? e.push(i = new Q(this.k(Z()), this.k(Z()), this, this.options)) : i = e[n], i._$AI(r), n++;
455
- n < e.length && (this._$AR(i && i._$AB.nextSibling, n), e.length = n);
454
+ n === s.length ? s.push(i = new Q(this.k(Z()), this.k(Z()), this, this.options)) : i = s[n], i._$AI(r), n++;
455
+ n < s.length && (this._$AR(i && i._$AB.nextSibling, n), s.length = n);
456
456
  }
457
- _$AR(t = this._$AA.nextSibling, e) {
457
+ _$AR(t = this._$AA.nextSibling, s) {
458
458
  var i;
459
- for ((i = this._$AP) == null ? void 0 : i.call(this, !1, !0, e); t && t !== this._$AB; ) {
459
+ for ((i = this._$AP) == null ? void 0 : i.call(this, !1, !0, s); t && t !== this._$AB; ) {
460
460
  const n = t.nextSibling;
461
461
  t.remove(), t = n;
462
462
  }
463
463
  }
464
464
  setConnected(t) {
465
- var e;
466
- this._$AM === void 0 && (this._$Cv = t, (e = this._$AP) == null || e.call(this, t));
465
+ var s;
466
+ this._$AM === void 0 && (this._$Cv = t, (s = this._$AP) == null || s.call(this, t));
467
467
  }
468
468
  }
469
- class vt {
469
+ class mt {
470
470
  get tagName() {
471
471
  return this.element.tagName;
472
472
  }
473
473
  get _$AU() {
474
474
  return this._$AM._$AU;
475
475
  }
476
- constructor(t, e, i, n, r) {
477
- this.type = 1, this._$AH = u, this._$AN = void 0, this.element = t, this.name = e, this._$AM = n, this.options = r, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = u;
476
+ constructor(t, s, i, n, r) {
477
+ this.type = 1, this._$AH = u, this._$AN = void 0, this.element = t, this.name = s, this._$AM = n, this.options = r, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = u;
478
478
  }
479
- _$AI(t, e = this, i, n) {
479
+ _$AI(t, s = this, i, n) {
480
480
  const r = this.strings;
481
481
  let o = !1;
482
482
  if (r === void 0)
483
- t = B(this, t, e, 0), o = !X(t) || t !== this._$AH && t !== E, o && (this._$AH = t);
483
+ t = I(this, t, s, 0), o = !X(t) || t !== this._$AH && t !== E, o && (this._$AH = t);
484
484
  else {
485
485
  const a = t;
486
486
  let l, c;
487
487
  for (t = r[0], l = 0; l < r.length - 1; l++)
488
- c = B(this, a[i + l], e, l), c === E && (c = this._$AH[l]), o || (o = !X(c) || c !== this._$AH[l]), c === u ? t = u : t !== u && (t += (c ?? "") + r[l + 1]), this._$AH[l] = c;
488
+ c = I(this, a[i + l], s, l), c === E && (c = this._$AH[l]), o || (o = !X(c) || c !== this._$AH[l]), c === u ? t = u : t !== u && (t += (c ?? "") + r[l + 1]), this._$AH[l] = c;
489
489
  }
490
490
  o && !n && this.O(t);
491
491
  }
@@ -493,7 +493,7 @@ class vt {
493
493
  t === u ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
494
494
  }
495
495
  }
496
- class xs extends vt {
496
+ class ws extends mt {
497
497
  constructor() {
498
498
  super(...arguments), this.type = 3;
499
499
  }
@@ -501,7 +501,7 @@ class xs extends vt {
501
501
  this.element[this.name] = t === u ? void 0 : t;
502
502
  }
503
503
  }
504
- let ws = class extends vt {
504
+ let Cs = class extends mt {
505
505
  constructor() {
506
506
  super(...arguments), this.type = 4;
507
507
  }
@@ -509,60 +509,60 @@ let ws = class extends vt {
509
509
  this.element.toggleAttribute(this.name, !!t && t !== u);
510
510
  }
511
511
  };
512
- class As extends vt {
513
- constructor(t, e, i, n, r) {
514
- super(t, e, i, n, r), this.type = 5;
512
+ class As extends mt {
513
+ constructor(t, s, i, n, r) {
514
+ super(t, s, i, n, r), this.type = 5;
515
515
  }
516
- _$AI(t, e = this) {
517
- if ((t = B(this, t, e, 0) ?? u) === E)
516
+ _$AI(t, s = this) {
517
+ if ((t = I(this, t, s, 0) ?? u) === E)
518
518
  return;
519
519
  const i = this._$AH, n = t === u && i !== u || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, r = t !== u && (i === u || n);
520
520
  n && this.element.removeEventListener(this.name, this, i), r && this.element.addEventListener(this.name, this, t), this._$AH = t;
521
521
  }
522
522
  handleEvent(t) {
523
- var e;
524
- typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, t) : this._$AH.handleEvent(t);
523
+ var s;
524
+ typeof this._$AH == "function" ? this._$AH.call(((s = this.options) == null ? void 0 : s.host) ?? this.element, t) : this._$AH.handleEvent(t);
525
525
  }
526
526
  }
527
- class Cs {
528
- constructor(t, e, i) {
529
- this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
527
+ class Ss {
528
+ constructor(t, s, i) {
529
+ this.element = t, this.type = 6, this._$AN = void 0, this._$AM = s, this.options = i;
530
530
  }
531
531
  get _$AU() {
532
532
  return this._$AM._$AU;
533
533
  }
534
534
  _$AI(t) {
535
- B(this, t);
535
+ I(this, t);
536
536
  }
537
537
  }
538
- const Tt = G.litHtmlPolyfillSupport;
539
- Tt == null || Tt(Y, Q), (G.litHtmlVersions ?? (G.litHtmlVersions = [])).push("3.0.2");
540
- const Ss = (s, t, e) => {
541
- const i = (e == null ? void 0 : e.renderBefore) ?? t;
538
+ const kt = G.litHtmlPolyfillSupport;
539
+ kt == null || kt(Y, Q), (G.litHtmlVersions ?? (G.litHtmlVersions = [])).push("3.0.2");
540
+ const Es = (e, t, s) => {
541
+ const i = (s == null ? void 0 : s.renderBefore) ?? t;
542
542
  let n = i._$litPart$;
543
543
  if (n === void 0) {
544
- const r = (e == null ? void 0 : e.renderBefore) ?? null;
545
- i._$litPart$ = n = new Q(t.insertBefore(Z(), r), r, void 0, e ?? {});
544
+ const r = (s == null ? void 0 : s.renderBefore) ?? null;
545
+ i._$litPart$ = n = new Q(t.insertBefore(Z(), r), r, void 0, s ?? {});
546
546
  }
547
- return n._$AI(s), n;
547
+ return n._$AI(e), n;
548
548
  };
549
549
  /**
550
550
  * @license
551
551
  * Copyright 2017 Google LLC
552
552
  * SPDX-License-Identifier: BSD-3-Clause
553
553
  */
554
- let v = class extends U {
554
+ let m = class extends R {
555
555
  constructor() {
556
556
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
557
557
  }
558
558
  createRenderRoot() {
559
- var e;
559
+ var s;
560
560
  const t = super.createRenderRoot();
561
- return (e = this.renderOptions).renderBefore ?? (e.renderBefore = t.firstChild), t;
561
+ return (s = this.renderOptions).renderBefore ?? (s.renderBefore = t.firstChild), t;
562
562
  }
563
563
  update(t) {
564
- const e = this.render();
565
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Ss(e, this.renderRoot, this.renderOptions);
564
+ const s = this.render();
565
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Es(s, this.renderRoot, this.renderOptions);
566
566
  }
567
567
  connectedCallback() {
568
568
  var t;
@@ -576,12 +576,12 @@ let v = class extends U {
576
576
  return E;
577
577
  }
578
578
  };
579
- var Te;
580
- v._$litElement$ = !0, v.finalized = !0, (Te = globalThis.litElementHydrateSupport) == null || Te.call(globalThis, { LitElement: v });
581
- const Ot = globalThis.litElementPolyfillSupport;
582
- Ot == null || Ot({ LitElement: v });
579
+ var Oe;
580
+ m._$litElement$ = !0, m.finalized = !0, (Oe = globalThis.litElementHydrateSupport) == null || Oe.call(globalThis, { LitElement: m });
581
+ const Tt = globalThis.litElementPolyfillSupport;
582
+ Tt == null || Tt({ LitElement: m });
583
583
  (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.0.1");
584
- const le = { name: "mute", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M51.4283 11.6761L53.1768 9.53891C53.9347 8.61282 53.7982 7.24774 52.8722 6.48993C51.9461 5.73211 50.581 5.86852 49.8232 6.79461L36.3333 23.2822V13.3972C36.3332 11.6447 35.2774 10.0648 33.6583 9.39418C32.0391 8.72356 30.1755 9.09425 28.9362 10.3334L18.1029 21.1668H14.6667C9.88247 21.1722 6.00547 25.0492 6 29.8334V34.1668C6.00547 38.951 9.88247 42.828 14.6667 42.8334H18.1029L19.3315 44.0621L10.8232 54.4613C10.0653 55.3874 10.2018 56.7525 11.1279 57.5103C12.0539 58.2681 13.419 58.1317 14.1768 57.2056L22.411 47.1416L28.9362 53.6668C30.1755 54.9059 32.0391 55.2766 33.6583 54.606C35.2774 53.9354 36.3332 52.3555 36.3333 50.603V30.1254L42.6092 22.4549C44.2201 25.3756 45.044 28.6649 45 32.0001C45.1184 36.1899 43.7698 40.2896 41.1872 43.5909C40.409 44.5001 40.5152 45.8679 41.4243 46.6461C42.3334 47.4243 43.7012 47.3183 44.4795 46.4093C47.7313 42.3208 49.4486 37.2227 49.3333 32.0001C49.403 27.3538 48.067 22.7949 45.5005 18.9211L48.6119 15.1182C52.019 20.0793 53.7867 25.9829 53.6667 32.0001C53.6667 39.0587 51.4873 45.6518 47.6872 50.0909C46.909 51.0001 47.0152 52.3679 47.9243 53.1461C48.8334 53.9243 50.2012 53.8183 50.9795 52.9093C55.4408 47.6968 58 40.0764 58 32.0001C58 24.21 55.6006 16.8662 51.4283 11.6761ZM19.8971 38.5H14.6667C12.2744 38.4977 10.3357 36.559 10.3333 34.1667V29.8334C10.3357 27.4411 12.2744 25.5024 14.6667 25.5H19.8971L32 13.3972V28.5784L22.089 40.6919L19.8971 38.5ZM31.9997 50.603L25.1682 43.7715L31.9997 35.4218V50.603Z"/></svg>' }, Es = { name: "send", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M8.41642 6.29292C5.99705 5.18016 3.38612 7.41823 4.12858 9.96847L10.5427 32L4.12858 54.0315C3.38612 56.5818 5.99704 58.8198 8.41642 57.7071L58.1942 34.8125C60.6019 33.7051 60.6019 30.2949 58.1942 29.1875L8.41642 6.29292ZM14.2569 29.9351L8.74174 10.9913L49.9295 29.9351H14.2569ZM14.2568 34.0651L8.74174 53.0087L49.9291 34.0651H14.2568Z"/></svg>' }, ce = { name: "volume", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M33.6578 9.3322C32.0391 8.65799 30.1735 9.02919 28.9362 10.2717L18.1029 21.105H14.6667C9.88247 21.1105 6.00547 24.9875 6 29.7717V34.105C6.00547 38.8892 9.88247 42.7662 14.6667 42.7717H18.1029L28.9362 53.605C30.1755 54.8442 32.0391 55.2149 33.6583 54.5442C35.2774 53.8736 36.3332 52.2937 36.3333 50.5412V13.3355C36.3365 11.5817 35.2794 10.0001 33.6578 9.3322ZM32 50.5411L19.8971 38.4382H14.6667C12.2744 38.4358 10.3357 36.4971 10.3333 34.1049V29.7716C10.3357 27.3793 12.2744 25.4406 14.6667 25.4382H19.8971L32 13.3353V50.5411ZM49.3334 31.9383C49.4487 37.161 47.7314 42.2591 44.4796 46.3475C43.7013 47.2565 42.3335 47.3625 41.4244 46.5843C40.5153 45.8061 40.4092 44.4383 41.1873 43.5291C43.7699 40.2278 45.1185 36.1282 45.0001 31.9383C45.1185 27.7485 43.7699 23.6488 41.1873 20.3475C40.4092 19.4383 40.5153 18.0705 41.4244 17.2923C42.3335 16.5141 43.7013 16.6201 44.4796 17.5291C47.7314 21.6176 49.4487 26.7157 49.3334 31.9383ZM58.0001 31.9383C58.0001 40.0147 55.441 47.635 50.9796 52.8475C50.2013 53.7565 48.8335 53.8625 47.9244 53.0843C47.0153 52.3061 46.9092 50.9383 47.6873 50.0291C51.4874 45.59 53.6668 38.9969 53.6668 31.9383C53.6668 24.8797 51.4874 18.2866 47.6873 13.8475C46.9092 12.9383 47.0153 11.5705 47.9244 10.7923C48.8335 10.0141 50.2013 10.1201 50.9796 11.0291C55.441 16.2416 58.0001 23.862 58.0001 31.9383Z"/></svg>' }, M = {
584
+ const ce = { name: "mute", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M51.4283 11.6761L53.1768 9.53891C53.9347 8.61282 53.7982 7.24774 52.8722 6.48993C51.9461 5.73211 50.581 5.86852 49.8232 6.79461L36.3333 23.2822V13.3972C36.3332 11.6447 35.2774 10.0648 33.6583 9.39418C32.0391 8.72356 30.1755 9.09425 28.9362 10.3334L18.1029 21.1668H14.6667C9.88247 21.1722 6.00547 25.0492 6 29.8334V34.1668C6.00547 38.951 9.88247 42.828 14.6667 42.8334H18.1029L19.3315 44.0621L10.8232 54.4613C10.0653 55.3874 10.2018 56.7525 11.1279 57.5103C12.0539 58.2681 13.419 58.1317 14.1768 57.2056L22.411 47.1416L28.9362 53.6668C30.1755 54.9059 32.0391 55.2766 33.6583 54.606C35.2774 53.9354 36.3332 52.3555 36.3333 50.603V30.1254L42.6092 22.4549C44.2201 25.3756 45.044 28.6649 45 32.0001C45.1184 36.1899 43.7698 40.2896 41.1872 43.5909C40.409 44.5001 40.5152 45.8679 41.4243 46.6461C42.3334 47.4243 43.7012 47.3183 44.4795 46.4093C47.7313 42.3208 49.4486 37.2227 49.3333 32.0001C49.403 27.3538 48.067 22.7949 45.5005 18.9211L48.6119 15.1182C52.019 20.0793 53.7867 25.9829 53.6667 32.0001C53.6667 39.0587 51.4873 45.6518 47.6872 50.0909C46.909 51.0001 47.0152 52.3679 47.9243 53.1461C48.8334 53.9243 50.2012 53.8183 50.9795 52.9093C55.4408 47.6968 58 40.0764 58 32.0001C58 24.21 55.6006 16.8662 51.4283 11.6761ZM19.8971 38.5H14.6667C12.2744 38.4977 10.3357 36.559 10.3333 34.1667V29.8334C10.3357 27.4411 12.2744 25.5024 14.6667 25.5H19.8971L32 13.3972V28.5784L22.089 40.6919L19.8971 38.5ZM31.9997 50.603L25.1682 43.7715L31.9997 35.4218V50.603Z"/></svg>' }, ks = { name: "send", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M8.41642 6.29292C5.99705 5.18016 3.38612 7.41823 4.12858 9.96847L10.5427 32L4.12858 54.0315C3.38612 56.5818 5.99704 58.8198 8.41642 57.7071L58.1942 34.8125C60.6019 33.7051 60.6019 30.2949 58.1942 29.1875L8.41642 6.29292ZM14.2569 29.9351L8.74174 10.9913L49.9295 29.9351H14.2569ZM14.2568 34.0651L8.74174 53.0087L49.9291 34.0651H14.2568Z"/></svg>' }, de = { name: "volume", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M33.6578 9.3322C32.0391 8.65799 30.1735 9.02919 28.9362 10.2717L18.1029 21.105H14.6667C9.88247 21.1105 6.00547 24.9875 6 29.7717V34.105C6.00547 38.8892 9.88247 42.7662 14.6667 42.7717H18.1029L28.9362 53.605C30.1755 54.8442 32.0391 55.2149 33.6583 54.5442C35.2774 53.8736 36.3332 52.2937 36.3333 50.5412V13.3355C36.3365 11.5817 35.2794 10.0001 33.6578 9.3322ZM32 50.5411L19.8971 38.4382H14.6667C12.2744 38.4358 10.3357 36.4971 10.3333 34.1049V29.7716C10.3357 27.3793 12.2744 25.4406 14.6667 25.4382H19.8971L32 13.3353V50.5411ZM49.3334 31.9383C49.4487 37.161 47.7314 42.2591 44.4796 46.3475C43.7013 47.2565 42.3335 47.3625 41.4244 46.5843C40.5153 45.8061 40.4092 44.4383 41.1873 43.5291C43.7699 40.2278 45.1185 36.1282 45.0001 31.9383C45.1185 27.7485 43.7699 23.6488 41.1873 20.3475C40.4092 19.4383 40.5153 18.0705 41.4244 17.2923C42.3335 16.5141 43.7013 16.6201 44.4796 17.5291C47.7314 21.6176 49.4487 26.7157 49.3334 31.9383ZM58.0001 31.9383C58.0001 40.0147 55.441 47.635 50.9796 52.8475C50.2013 53.7565 48.8335 53.8625 47.9244 53.0843C47.0153 52.3061 46.9092 50.9383 47.6873 50.0291C51.4874 45.59 53.6668 38.9969 53.6668 31.9383C53.6668 24.8797 51.4874 18.2866 47.6873 13.8475C46.9092 12.9383 47.0153 11.5705 47.9244 10.7923C48.8335 10.0141 50.2013 10.1201 50.9796 11.0291C55.441 16.2416 58.0001 23.862 58.0001 31.9383Z"/></svg>' }, M = {
585
585
  allRenderFn: !1,
586
586
  cmpDidLoad: !0,
587
587
  cmpDidUnload: !1,
@@ -665,181 +665,181 @@ const le = { name: "mute", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.o
665
665
  transformTagName: !1,
666
666
  attachStyles: !0
667
667
  };
668
- let N, Me, yt, Ne = !1, lt = !1, Ft = !1, y = !1, de = null, Rt = !1;
669
- const bt = typeof window < "u" ? window : {}, A = bt.document || { head: {} }, je = bt.HTMLElement || class {
670
- }, m = {
668
+ let U, Ne, vt, je = !1, at = !1, zt = !1, y = !1, he = null, Ht = !1;
669
+ const yt = typeof window < "u" ? window : {}, w = yt.document || { head: {} }, De = yt.HTMLElement || class {
670
+ }, v = {
671
671
  $flags$: 0,
672
672
  $resourcesUrl$: "",
673
- jmp: (s) => s(),
674
- raf: (s) => requestAnimationFrame(s),
675
- ael: (s, t, e, i) => s.addEventListener(t, e, i),
676
- rel: (s, t, e, i) => s.removeEventListener(t, e, i),
677
- ce: (s, t) => new CustomEvent(s, t)
678
- }, ks = /* @__PURE__ */ (() => {
679
- let s = !1;
673
+ jmp: (e) => e(),
674
+ raf: (e) => requestAnimationFrame(e),
675
+ ael: (e, t, s, i) => e.addEventListener(t, s, i),
676
+ rel: (e, t, s, i) => e.removeEventListener(t, s, i),
677
+ ce: (e, t) => new CustomEvent(e, t)
678
+ }, Ts = /* @__PURE__ */ (() => {
679
+ let e = !1;
680
680
  try {
681
- A.addEventListener("e", null, Object.defineProperty({}, "passive", {
681
+ w.addEventListener("e", null, Object.defineProperty({}, "passive", {
682
682
  get() {
683
- s = !0;
683
+ e = !0;
684
684
  }
685
685
  }));
686
686
  } catch {
687
687
  }
688
- return s;
689
- })(), Ts = (s) => Promise.resolve(s), Os = /* @__PURE__ */ (() => {
688
+ return e;
689
+ })(), Os = (e) => Promise.resolve(e), Ps = /* @__PURE__ */ (() => {
690
690
  try {
691
691
  return new CSSStyleSheet(), typeof new CSSStyleSheet().replace == "function";
692
692
  } catch {
693
693
  }
694
694
  return !1;
695
- })(), Ie = (s, t, e, i) => {
696
- e && e.map(([n, r, o]) => {
697
- const a = Ls(s, n), l = Ps(t, o), c = Hs(n);
698
- m.ael(a, r, l, c), (t.$rmListeners$ = t.$rmListeners$ || []).push(() => m.rel(a, r, l, c));
695
+ })(), Ie = (e, t, s, i) => {
696
+ s && s.map(([n, r, o]) => {
697
+ const a = Hs(e, n), l = Ls(t, o), c = Rs(n);
698
+ v.ael(a, r, l, c), (t.$rmListeners$ = t.$rmListeners$ || []).push(() => v.rel(a, r, l, c));
699
699
  });
700
- }, Ps = (s, t) => (e) => {
700
+ }, Ls = (e, t) => (s) => {
701
701
  try {
702
- M.lazyLoad || s.$hostElement$[t](e);
702
+ M.lazyLoad || e.$hostElement$[t](s);
703
703
  } catch (i) {
704
704
  J(i);
705
705
  }
706
- }, Ls = (s, t) => t & 4 ? A : t & 8 ? bt : t & 16 ? A.body : s, Hs = (s) => ks ? {
707
- passive: (s & 1) !== 0,
708
- capture: (s & 2) !== 0
709
- } : (s & 2) !== 0, he = "http://www.w3.org/1999/xlink", H = (s, t = "") => () => {
710
- }, pe = /* @__PURE__ */ new WeakMap(), Rs = (s, t, e) => {
711
- let i = ht.get(s);
712
- Os && e ? (i = i || new CSSStyleSheet(), i.replace(t)) : i = t, ht.set(s, i);
713
- }, Us = (s, t, e, i) => {
714
- let n = De(t, e), r = ht.get(n);
715
- if (s = s.nodeType === 11 ? s : A, r)
706
+ }, Hs = (e, t) => t & 4 ? w : t & 8 ? yt : t & 16 ? w.body : e, Rs = (e) => Ts ? {
707
+ passive: (e & 1) !== 0,
708
+ capture: (e & 2) !== 0
709
+ } : (e & 2) !== 0, pe = "http://www.w3.org/1999/xlink", L = (e, t = "") => () => {
710
+ }, ue = /* @__PURE__ */ new WeakMap(), Ms = (e, t, s) => {
711
+ let i = dt.get(e);
712
+ Ps && s ? (i = i || new CSSStyleSheet(), i.replace(t)) : i = t, dt.set(e, i);
713
+ }, Us = (e, t, s, i) => {
714
+ let n = Be(t, s), r = dt.get(n);
715
+ if (e = e.nodeType === 11 ? e : w, r)
716
716
  if (typeof r == "string") {
717
- s = s.head || s;
718
- let o = pe.get(s), a;
719
- o || pe.set(s, o = /* @__PURE__ */ new Set()), o.has(n) || (a = A.createElement("style"), a.innerHTML = r, s.insertBefore(a, s.querySelector("link")), o && o.add(n));
717
+ e = e.head || e;
718
+ let o = ue.get(e), a;
719
+ o || ue.set(e, o = /* @__PURE__ */ new Set()), o.has(n) || (a = w.createElement("style"), a.innerHTML = r, e.insertBefore(a, e.querySelector("link")), o && o.add(n));
720
720
  } else
721
- s.adoptedStyleSheets.includes(r) || (s.adoptedStyleSheets = [...s.adoptedStyleSheets, r]);
721
+ e.adoptedStyleSheets.includes(r) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, r]);
722
722
  return n;
723
- }, Ms = (s) => {
724
- const t = s.$cmpMeta$, e = s.$hostElement$, i = t.$flags$, n = H("attachStyles", t.$tagName$), r = Us(e.shadowRoot ? e.shadowRoot : e.getRootNode(), t, s.$modeName$);
725
- i & 10 && (e["s-sc"] = r, e.classList.add(r + "-h"), i & 2 && e.classList.add(r + "-s")), n();
726
- }, De = (s, t) => "sc-" + (t && s.$flags$ & 32 ? s.$tagName$ + "-" + t : s.$tagName$), Ns = (s) => hi.map((t) => t(s)).find((t) => !!t), ue = {}, js = "http://www.w3.org/2000/svg", Is = "http://www.w3.org/1999/xhtml", Ds = (s) => s != null, Wt = (s) => (s = typeof s, s === "object" || s === "function"), I = (s, t, ...e) => {
723
+ }, Ns = (e) => {
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
+ i & 10 && (s["s-sc"] = r, s.classList.add(r + "-h"), i & 2 && s.classList.add(r + "-s")), n();
726
+ }, Be = (e, t) => "sc-" + (t && e.$flags$ & 32 ? e.$tagName$ + "-" + t : e.$tagName$), js = (e) => pi.map((t) => t(e)).find((t) => !!t), fe = {}, Ds = "http://www.w3.org/2000/svg", Is = "http://www.w3.org/1999/xhtml", Bs = (e) => e != null, Ft = (e) => (e = typeof e, e === "object" || e === "function"), j = (e, t, ...s) => {
727
727
  let i = null, n = null, r = null, o = !1, a = !1, l = [];
728
728
  const c = (h) => {
729
729
  for (let p = 0; p < h.length; p++)
730
- i = h[p], Array.isArray(i) ? c(i) : i != null && typeof i != "boolean" && ((o = typeof s != "function" && !Wt(i)) && (i = String(i)), o && a ? l[l.length - 1].$text$ += i : l.push(o ? ct(null, i) : i), a = o);
730
+ i = h[p], Array.isArray(i) ? c(i) : i != null && typeof i != "boolean" && ((o = typeof e != "function" && !Ft(i)) && (i = String(i)), o && a ? l[l.length - 1].$text$ += i : l.push(o ? lt(null, i) : i), a = o);
731
731
  };
732
- if (c(e), t) {
732
+ if (c(s), t) {
733
733
  t.key && (n = t.key), t.name && (r = t.name);
734
734
  {
735
735
  const h = t.className || t.class;
736
736
  h && (t.class = typeof h != "object" ? h : Object.keys(h).filter((p) => h[p]).join(" "));
737
737
  }
738
738
  }
739
- if (typeof s == "function")
740
- return s(t === null ? {} : t, l, zs);
741
- const d = ct(s, null);
739
+ if (typeof e == "function")
740
+ return e(t === null ? {} : t, l, Fs);
741
+ const d = lt(e, null);
742
742
  return d.$attrs$ = t, l.length > 0 && (d.$children$ = l), d.$key$ = n, d.$name$ = r, d;
743
- }, ct = (s, t) => {
744
- const e = {
743
+ }, lt = (e, t) => {
744
+ const s = {
745
745
  $flags$: 0,
746
- $tag$: s,
746
+ $tag$: e,
747
747
  $text$: t,
748
748
  $elm$: null,
749
749
  $children$: null
750
750
  };
751
- return e.$attrs$ = null, e.$key$ = null, e.$name$ = null, e;
752
- }, Gt = {}, Bs = (s) => s && s.$tag$ === Gt, zs = {
753
- forEach: (s, t) => s.map(fe).forEach(t),
754
- map: (s, t) => s.map(fe).map(t).map(Fs)
755
- }, fe = (s) => ({
756
- vattrs: s.$attrs$,
757
- vchildren: s.$children$,
758
- vkey: s.$key$,
759
- vname: s.$name$,
760
- vtag: s.$tag$,
761
- vtext: s.$text$
762
- }), Fs = (s) => {
763
- if (typeof s.vtag == "function") {
764
- const e = Object.assign({}, s.vattrs);
765
- return s.vkey && (e.key = s.vkey), s.vname && (e.name = s.vname), I(s.vtag, e, ...s.vchildren || []);
766
- }
767
- const t = ct(s.vtag, s.vtext);
768
- return t.$attrs$ = s.vattrs, t.$children$ = s.vchildren, t.$key$ = s.vkey, t.$name$ = s.vname, t;
769
- }, ge = (s, t, e, i, n, r) => {
770
- if (e !== i) {
771
- let o = ye(s, t), a = t.toLowerCase();
751
+ return s.$attrs$ = null, s.$key$ = null, s.$name$ = null, s;
752
+ }, Wt = {}, zs = (e) => e && e.$tag$ === Wt, Fs = {
753
+ forEach: (e, t) => e.map(ge).forEach(t),
754
+ map: (e, t) => e.map(ge).map(t).map(Ws)
755
+ }, ge = (e) => ({
756
+ vattrs: e.$attrs$,
757
+ vchildren: e.$children$,
758
+ vkey: e.$key$,
759
+ vname: e.$name$,
760
+ vtag: e.$tag$,
761
+ vtext: e.$text$
762
+ }), Ws = (e) => {
763
+ if (typeof e.vtag == "function") {
764
+ const s = Object.assign({}, e.vattrs);
765
+ return e.vkey && (s.key = e.vkey), e.vname && (s.name = e.vname), j(e.vtag, s, ...e.vchildren || []);
766
+ }
767
+ const t = lt(e.vtag, e.vtext);
768
+ return t.$attrs$ = e.vattrs, t.$children$ = e.vchildren, t.$key$ = e.vkey, t.$name$ = e.vname, t;
769
+ }, $e = (e, t, s, i, n, r) => {
770
+ if (s !== i) {
771
+ let o = be(e, t), a = t.toLowerCase();
772
772
  if (t === "class") {
773
- const l = s.classList, c = $e(e), d = $e(i);
773
+ const l = e.classList, c = me(s), d = me(i);
774
774
  l.remove(...c.filter((h) => h && !d.includes(h))), l.add(...d.filter((h) => h && !c.includes(h)));
775
775
  } else if (t === "style") {
776
- for (const l in e)
777
- (!i || i[l] == null) && (l.includes("-") ? s.style.removeProperty(l) : s.style[l] = "");
776
+ for (const l in s)
777
+ (!i || i[l] == null) && (l.includes("-") ? e.style.removeProperty(l) : e.style[l] = "");
778
778
  for (const l in i)
779
- (!e || i[l] !== e[l]) && (l.includes("-") ? s.style.setProperty(l, i[l]) : s.style[l] = i[l]);
779
+ (!s || i[l] !== s[l]) && (l.includes("-") ? e.style.setProperty(l, i[l]) : e.style[l] = i[l]);
780
780
  } else if (t !== "key")
781
781
  if (t === "ref")
782
- i && i(s);
783
- else if (!s.__lookupSetter__(t) && t[0] === "o" && t[1] === "n")
784
- t[2] === "-" ? t = t.slice(3) : ye(bt, a) ? t = a.slice(2) : t = a[2] + t.slice(3), e && m.rel(s, t, e, !1), i && m.ael(s, t, i, !1);
782
+ i && i(e);
783
+ else if (!e.__lookupSetter__(t) && t[0] === "o" && t[1] === "n")
784
+ t[2] === "-" ? t = t.slice(3) : be(yt, a) ? t = a.slice(2) : t = a[2] + t.slice(3), s && v.rel(e, t, s, !1), i && v.ael(e, t, i, !1);
785
785
  else {
786
- const l = Wt(i);
786
+ const l = Ft(i);
787
787
  if ((o || l && i !== null) && !n)
788
788
  try {
789
- if (s.tagName.includes("-"))
790
- s[t] = i;
789
+ if (e.tagName.includes("-"))
790
+ e[t] = i;
791
791
  else {
792
792
  let d = i ?? "";
793
- t === "list" ? o = !1 : (e == null || s[t] != d) && (s[t] = d);
793
+ t === "list" ? o = !1 : (s == null || e[t] != d) && (e[t] = d);
794
794
  }
795
795
  } catch {
796
796
  }
797
797
  let c = !1;
798
- a !== (a = a.replace(/^xlink\:?/, "")) && (t = a, c = !0), i == null || i === !1 ? (i !== !1 || s.getAttribute(t) === "") && (c ? s.removeAttributeNS(he, t) : s.removeAttribute(t)) : (!o || r & 4 || n) && !l && (i = i === !0 ? "" : i, c ? s.setAttributeNS(he, t, i) : s.setAttribute(t, i));
798
+ a !== (a = a.replace(/^xlink\:?/, "")) && (t = a, c = !0), i == null || i === !1 ? (i !== !1 || e.getAttribute(t) === "") && (c ? e.removeAttributeNS(pe, t) : e.removeAttribute(t)) : (!o || r & 4 || n) && !l && (i = i === !0 ? "" : i, c ? e.setAttributeNS(pe, t, i) : e.setAttribute(t, i));
799
799
  }
800
800
  }
801
- }, Ws = /\s/, $e = (s) => s ? s.split(Ws) : [], Be = (s, t, e, i) => {
802
- const n = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, r = s && s.$attrs$ || ue, o = t.$attrs$ || ue;
801
+ }, Gs = /\s/, me = (e) => e ? e.split(Gs) : [], ze = (e, t, s, i) => {
802
+ const n = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, r = e && e.$attrs$ || fe, o = t.$attrs$ || fe;
803
803
  for (i in r)
804
- i in o || ge(n, i, r[i], void 0, e, t.$flags$);
804
+ i in o || $e(n, i, r[i], void 0, s, t.$flags$);
805
805
  for (i in o)
806
- ge(n, i, r[i], o[i], e, t.$flags$);
807
- }, dt = (s, t, e, i) => {
808
- let n = t.$children$[e], r = 0, o, a, l;
809
- if (Ne || (Ft = !0, n.$tag$ === "slot" && (N && i.classList.add(N + "-s"), n.$flags$ |= n.$children$ ? (
806
+ $e(n, i, r[i], o[i], s, t.$flags$);
807
+ }, ct = (e, t, s, i) => {
808
+ let n = t.$children$[s], r = 0, o, a, l;
809
+ if (je || (zt = !0, n.$tag$ === "slot" && (U && i.classList.add(U + "-s"), n.$flags$ |= n.$children$ ? (
810
810
  // slot element has fallback content
811
811
  2
812
812
  ) : (
813
813
  // slot element does not have fallback content
814
814
  1
815
815
  ))), n.$text$ !== null)
816
- o = n.$elm$ = A.createTextNode(n.$text$);
816
+ o = n.$elm$ = w.createTextNode(n.$text$);
817
817
  else if (n.$flags$ & 1)
818
- o = n.$elm$ = A.createTextNode("");
818
+ o = n.$elm$ = w.createTextNode("");
819
819
  else {
820
- if (y || (y = n.$tag$ === "svg"), o = n.$elm$ = A.createElementNS(y ? js : Is, n.$flags$ & 2 ? "slot-fb" : n.$tag$), y && n.$tag$ === "foreignObject" && (y = !1), Be(null, n, y), Ds(N) && o["s-si"] !== N && o.classList.add(o["s-si"] = N), n.$children$)
820
+ if (y || (y = n.$tag$ === "svg"), o = n.$elm$ = w.createElementNS(y ? Ds : Is, n.$flags$ & 2 ? "slot-fb" : n.$tag$), y && n.$tag$ === "foreignObject" && (y = !1), ze(null, n, y), Bs(U) && o["s-si"] !== U && o.classList.add(o["s-si"] = U), n.$children$)
821
821
  for (r = 0; r < n.$children$.length; ++r)
822
- a = dt(s, n, r, o), a && o.appendChild(a);
822
+ a = ct(e, n, r, o), a && o.appendChild(a);
823
823
  n.$tag$ === "svg" ? y = !1 : o.tagName === "foreignObject" && (y = !0);
824
824
  }
825
- return o["s-hn"] = yt, n.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] = Me, o["s-sn"] = n.$name$ || "", l = s && s.$children$ && s.$children$[e], l && l.$tag$ === n.$tag$ && s.$elm$ && K(s.$elm$, !1)), o;
826
- }, K = (s, t) => {
827
- m.$flags$ |= 1;
828
- const e = s.childNodes;
829
- for (let i = e.length - 1; i >= 0; i--) {
830
- const n = e[i];
831
- n["s-hn"] !== yt && n["s-ol"] && (We(n).insertBefore(n, qt(n)), n["s-ol"].remove(), n["s-ol"] = void 0, Ft = !0), t && K(n, t);
832
- }
833
- m.$flags$ &= -2;
834
- }, ze = (s, t, e, i, n, r) => {
835
- let o = s["s-cr"] && s["s-cr"].parentNode || s, a;
836
- for (o.shadowRoot && o.tagName === yt && (o = o.shadowRoot); n <= r; ++n)
837
- i[n] && (a = dt(null, e, n, s), a && (i[n].$elm$ = a, o.insertBefore(a, qt(t))));
838
- }, Fe = (s, t, e, i, n) => {
839
- for (; t <= e; ++t)
840
- (i = s[t]) && (n = i.$elm$, Ze(i), lt = !0, n["s-ol"] ? n["s-ol"].remove() : K(n, !0), n.remove());
841
- }, Gs = (s, t, e, i) => {
842
- let n = 0, r = 0, o = 0, a = 0, l = t.length - 1, c = t[0], d = t[l], h = i.length - 1, p = i[0], g = i[h], w, st;
825
+ return o["s-hn"] = vt, n.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] = Ne, o["s-sn"] = n.$name$ || "", l = e && e.$children$ && e.$children$[s], l && l.$tag$ === n.$tag$ && e.$elm$ && K(e.$elm$, !1)), o;
826
+ }, K = (e, t) => {
827
+ v.$flags$ |= 1;
828
+ const s = e.childNodes;
829
+ for (let i = s.length - 1; i >= 0; i--) {
830
+ const n = s[i];
831
+ n["s-hn"] !== vt && n["s-ol"] && (Ge(n).insertBefore(n, Gt(n)), n["s-ol"].remove(), n["s-ol"] = void 0, zt = !0), t && K(n, t);
832
+ }
833
+ v.$flags$ &= -2;
834
+ }, Fe = (e, t, s, i, n, r) => {
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 = ct(null, s, n, e), a && (i[n].$elm$ = a, o.insertBefore(a, Gt(t))));
838
+ }, We = (e, t, s, i, n) => {
839
+ for (; t <= s; ++t)
840
+ (i = e[t]) && (n = i.$elm$, Xe(i), at = !0, n["s-ol"] ? n["s-ol"].remove() : K(n, !0), n.remove());
841
+ }, qs = (e, t, s, i) => {
842
+ let n = 0, r = 0, o = 0, a = 0, l = t.length - 1, c = t[0], d = t[l], h = i.length - 1, p = i[0], g = i[h], x, et;
843
843
  for (; n <= l && r <= h; )
844
844
  if (c == null)
845
845
  c = t[++n];
@@ -849,73 +849,73 @@ const bt = typeof window < "u" ? window : {}, A = bt.document || { head: {} }, j
849
849
  p = i[++r];
850
850
  else if (g == null)
851
851
  g = i[--h];
852
- else if (it(c, p))
853
- j(c, p), c = t[++n], p = i[++r];
854
- else if (it(d, g))
855
- j(d, g), d = t[--l], g = i[--h];
856
- else if (it(c, g))
857
- (c.$tag$ === "slot" || g.$tag$ === "slot") && K(c.$elm$.parentNode, !1), j(c, g), s.insertBefore(c.$elm$, d.$elm$.nextSibling), c = t[++n], g = i[--h];
858
- else if (it(d, p))
859
- (c.$tag$ === "slot" || g.$tag$ === "slot") && K(d.$elm$.parentNode, !1), j(d, p), s.insertBefore(d.$elm$, c.$elm$), d = t[--l], p = i[++r];
852
+ else if (st(c, p))
853
+ N(c, p), c = t[++n], p = i[++r];
854
+ else if (st(d, g))
855
+ N(d, g), d = t[--l], g = i[--h];
856
+ else if (st(c, g))
857
+ (c.$tag$ === "slot" || g.$tag$ === "slot") && K(c.$elm$.parentNode, !1), N(c, g), e.insertBefore(c.$elm$, d.$elm$.nextSibling), c = t[++n], g = i[--h];
858
+ else if (st(d, p))
859
+ (c.$tag$ === "slot" || g.$tag$ === "slot") && K(d.$elm$.parentNode, !1), N(d, p), e.insertBefore(d.$elm$, c.$elm$), d = t[--l], p = i[++r];
860
860
  else {
861
861
  for (o = -1, a = n; a <= l; ++a)
862
862
  if (t[a] && t[a].$key$ !== null && t[a].$key$ === p.$key$) {
863
863
  o = a;
864
864
  break;
865
865
  }
866
- o >= 0 ? (st = t[o], st.$tag$ !== p.$tag$ ? w = dt(t && t[r], e, o, s) : (j(st, p), t[o] = void 0, w = st.$elm$), p = i[++r]) : (w = dt(t && t[r], e, r, s), p = i[++r]), w && We(c.$elm$).insertBefore(w, qt(c.$elm$));
866
+ o >= 0 ? (et = t[o], et.$tag$ !== p.$tag$ ? x = ct(t && t[r], s, o, e) : (N(et, p), t[o] = void 0, x = et.$elm$), p = i[++r]) : (x = ct(t && t[r], s, r, e), p = i[++r]), x && Ge(c.$elm$).insertBefore(x, Gt(c.$elm$));
867
867
  }
868
- n > l ? ze(s, i[h + 1] == null ? null : i[h + 1].$elm$, e, i, r, h) : r > h && Fe(t, n, l);
869
- }, it = (s, t) => s.$tag$ === t.$tag$ ? s.$tag$ === "slot" ? s.$name$ === t.$name$ : s.$key$ === t.$key$ : !1, qt = (s) => s && s["s-ol"] || s, We = (s) => (s["s-ol"] ? s["s-ol"] : s).parentNode, j = (s, t) => {
870
- const e = t.$elm$ = s.$elm$, i = s.$children$, n = t.$children$, r = t.$tag$, o = t.$text$;
868
+ n > l ? Fe(e, i[h + 1] == null ? null : i[h + 1].$elm$, s, i, r, h) : r > h && We(t, n, l);
869
+ }, st = (e, t) => e.$tag$ === t.$tag$ ? e.$tag$ === "slot" ? e.$name$ === t.$name$ : e.$key$ === t.$key$ : !1, Gt = (e) => e && e["s-ol"] || e, Ge = (e) => (e["s-ol"] ? e["s-ol"] : e).parentNode, N = (e, t) => {
870
+ const s = t.$elm$ = e.$elm$, i = e.$children$, n = t.$children$, r = t.$tag$, o = t.$text$;
871
871
  let a;
872
- o === null ? (y = r === "svg" ? !0 : r === "foreignObject" ? !1 : y, r === "slot" || Be(s, t, y), i !== null && n !== null ? Gs(e, i, t, n) : n !== null ? (s.$text$ !== null && (e.textContent = ""), ze(e, null, t, n, 0, n.length - 1)) : i !== null && Fe(i, 0, i.length - 1), y && r === "svg" && (y = !1)) : (a = e["s-cr"]) ? a.parentNode.textContent = o : s.$text$ !== o && (e.data = o);
873
- }, Ge = (s) => {
874
- let t = s.childNodes, e, i, n, r, o, a;
872
+ o === null ? (y = r === "svg" ? !0 : r === "foreignObject" ? !1 : y, r === "slot" || ze(e, t, y), i !== null && n !== null ? qs(s, i, t, n) : n !== null ? (e.$text$ !== null && (s.textContent = ""), Fe(s, null, t, n, 0, n.length - 1)) : i !== null && We(i, 0, i.length - 1), y && r === "svg" && (y = !1)) : (a = s["s-cr"]) ? a.parentNode.textContent = o : e.$text$ !== o && (s.data = o);
873
+ }, qe = (e) => {
874
+ let t = e.childNodes, s, i, n, r, o, a;
875
875
  for (i = 0, n = t.length; i < n; i++)
876
- if (e = t[i], e.nodeType === 1) {
877
- if (e["s-sr"]) {
878
- for (o = e["s-sn"], e.hidden = !1, r = 0; r < n; r++)
879
- if (a = t[r].nodeType, t[r]["s-hn"] !== e["s-hn"] || o !== "") {
876
+ if (s = t[i], s.nodeType === 1) {
877
+ if (s["s-sr"]) {
878
+ for (o = s["s-sn"], s.hidden = !1, r = 0; r < n; r++)
879
+ if (a = t[r].nodeType, t[r]["s-hn"] !== s["s-hn"] || o !== "") {
880
880
  if (a === 1 && o === t[r].getAttribute("slot")) {
881
- e.hidden = !0;
881
+ s.hidden = !0;
882
882
  break;
883
883
  }
884
884
  } else if (a === 1 || a === 3 && t[r].textContent.trim() !== "") {
885
- e.hidden = !0;
885
+ s.hidden = !0;
886
886
  break;
887
887
  }
888
888
  }
889
- Ge(e);
889
+ qe(s);
890
890
  }
891
- }, b = [], qe = (s) => {
892
- let t, e, i, n, r, o, a = 0, l = s.childNodes, c = l.length;
891
+ }, _ = [], Ze = (e) => {
892
+ let t, s, i, n, r, o, a = 0, l = e.childNodes, c = l.length;
893
893
  for (; a < c; a++) {
894
- if (t = l[a], t["s-sr"] && (e = t["s-cr"]) && e.parentNode)
895
- for (i = e.parentNode.childNodes, n = t["s-sn"], o = i.length - 1; o >= 0; o--)
896
- e = i[o], !e["s-cn"] && !e["s-nr"] && e["s-hn"] !== t["s-hn"] && (me(e, n) ? (r = b.find((d) => d.$nodeToRelocate$ === e), lt = !0, e["s-sn"] = e["s-sn"] || n, r ? r.$slotRefNode$ = t : b.push({
894
+ if (t = l[a], t["s-sr"] && (s = t["s-cr"]) && s.parentNode)
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"] && (ve(s, n) ? (r = _.find((d) => d.$nodeToRelocate$ === s), at = !0, s["s-sn"] = s["s-sn"] || n, r ? r.$slotRefNode$ = t : _.push({
897
897
  $slotRefNode$: t,
898
- $nodeToRelocate$: e
899
- }), e["s-sr"] && b.map((d) => {
900
- me(d.$nodeToRelocate$, e["s-sn"]) && (r = b.find((h) => h.$nodeToRelocate$ === e), r && !d.$slotRefNode$ && (d.$slotRefNode$ = r.$slotRefNode$));
901
- })) : b.some((d) => d.$nodeToRelocate$ === e) || b.push({
902
- $nodeToRelocate$: e
898
+ $nodeToRelocate$: s
899
+ }), s["s-sr"] && _.map((d) => {
900
+ ve(d.$nodeToRelocate$, s["s-sn"]) && (r = _.find((h) => h.$nodeToRelocate$ === s), r && !d.$slotRefNode$ && (d.$slotRefNode$ = r.$slotRefNode$));
901
+ })) : _.some((d) => d.$nodeToRelocate$ === s) || _.push({
902
+ $nodeToRelocate$: s
903
903
  }));
904
- t.nodeType === 1 && qe(t);
904
+ t.nodeType === 1 && Ze(t);
905
905
  }
906
- }, me = (s, t) => s.nodeType === 1 ? s.getAttribute("slot") === null && t === "" || s.getAttribute("slot") === t : s["s-sn"] === t ? !0 : t === "", Ze = (s) => {
907
- s.$attrs$ && s.$attrs$.ref && s.$attrs$.ref(null), s.$children$ && s.$children$.map(Ze);
908
- }, qs = (s, t) => {
909
- const e = s.$hostElement$, i = s.$cmpMeta$, n = s.$vnode$ || ct(null, null), r = Bs(t) ? t : I(null, null, t);
910
- yt = e.tagName, i.$attrsToReflect$ && (r.$attrs$ = r.$attrs$ || {}, i.$attrsToReflect$.map(([o, a]) => r.$attrs$[a] = e[o])), r.$tag$ = null, r.$flags$ |= 4, s.$vnode$ = r, r.$elm$ = n.$elm$ = e.shadowRoot || e, N = e["s-sc"], Me = e["s-cr"], Ne = (i.$flags$ & 1) !== 0, lt = !1, j(n, r);
906
+ }, ve = (e, t) => e.nodeType === 1 ? e.getAttribute("slot") === null && t === "" || e.getAttribute("slot") === t : e["s-sn"] === t ? !0 : t === "", Xe = (e) => {
907
+ e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(Xe);
908
+ }, Zs = (e, t) => {
909
+ const s = e.$hostElement$, i = e.$cmpMeta$, n = e.$vnode$ || lt(null, null), r = zs(t) ? t : j(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, U = s["s-sc"], Ne = s["s-cr"], je = (i.$flags$ & 1) !== 0, at = !1, N(n, r);
911
911
  {
912
- if (m.$flags$ |= 1, Ft) {
913
- qe(r.$elm$);
912
+ if (v.$flags$ |= 1, zt) {
913
+ Ze(r.$elm$);
914
914
  let o, a, l, c, d, h, p = 0;
915
- for (; p < b.length; p++)
916
- o = b[p], a = o.$nodeToRelocate$, a["s-ol"] || (l = A.createTextNode(""), l["s-nr"] = a, a.parentNode.insertBefore(a["s-ol"] = l, a));
917
- for (p = 0; p < b.length; p++)
918
- if (o = b[p], a = o.$nodeToRelocate$, o.$slotRefNode$) {
915
+ for (; p < _.length; p++)
916
+ o = _[p], a = o.$nodeToRelocate$, a["s-ol"] || (l = w.createTextNode(""), l["s-nr"] = a, a.parentNode.insertBefore(a["s-ol"] = l, a));
917
+ for (p = 0; p < _.length; p++)
918
+ if (o = _[p], a = o.$nodeToRelocate$, o.$slotRefNode$) {
919
919
  for (c = o.$slotRefNode$.parentNode, d = o.$slotRefNode$.nextSibling, l = a["s-ol"]; l = l.previousSibling; )
920
920
  if (h = l["s-nr"], h && h["s-sn"] === a["s-sn"] && c === h.parentNode && (h = h.nextSibling, !h || !h["s-nr"])) {
921
921
  d = h;
@@ -925,83 +925,83 @@ const bt = typeof window < "u" ? window : {}, A = bt.document || { head: {} }, j
925
925
  } else
926
926
  a.nodeType === 1 && (a.hidden = !0);
927
927
  }
928
- lt && Ge(r.$elm$), m.$flags$ &= -2, b.length = 0;
928
+ at && qe(r.$elm$), v.$flags$ &= -2, _.length = 0;
929
929
  }
930
- }, Zs = (s) => s, Xs = (s, t, e) => {
931
- const i = Zs(s);
930
+ }, Xs = (e) => e, Ys = (e, t, s) => {
931
+ const i = Xs(e);
932
932
  return {
933
- emit: (n) => Ys(i, t, {
934
- bubbles: !!(e & 4),
935
- composed: !!(e & 2),
936
- cancelable: !!(e & 1),
933
+ emit: (n) => Ks(i, t, {
934
+ bubbles: !!(s & 4),
935
+ composed: !!(s & 2),
936
+ cancelable: !!(s & 1),
937
937
  detail: n
938
938
  })
939
939
  };
940
- }, Ys = (s, t, e) => {
941
- const i = m.ce(t, e);
942
- return s.dispatchEvent(i), i;
943
- }, Ks = (s, t) => {
944
- }, Xe = (s, t) => (s.$flags$ |= 16, Ks(s, s.$ancestorComponent$), fi(() => Qs(s, t))), Qs = (s, t) => {
945
- const e = s.$hostElement$, i = H("scheduleUpdate", s.$cmpMeta$.$tagName$), n = e;
940
+ }, Ks = (e, t, s) => {
941
+ const i = v.ce(t, s);
942
+ return e.dispatchEvent(i), i;
943
+ }, Qs = (e, t) => {
944
+ }, Ye = (e, t) => (e.$flags$ |= 16, Qs(e, e.$ancestorComponent$), gi(() => Js(e, t))), Js = (e, t) => {
945
+ const s = e.$hostElement$, i = L("scheduleUpdate", e.$cmpMeta$.$tagName$), n = s;
946
946
  let r;
947
- return t ? r = D(n, "componentWillLoad") : r = D(n, "componentWillUpdate"), r = ve(r, () => D(n, "componentWillRender")), i(), ve(r, () => Js(s, n, t));
948
- }, Js = async (s, t, e) => {
949
- const i = s.$hostElement$, n = H("update", s.$cmpMeta$.$tagName$);
950
- i["s-rc"], e && Ms(s);
951
- const r = H("render", s.$cmpMeta$.$tagName$);
952
- Vs(s, t, i), r(), n(), ti(s);
953
- }, Vs = (s, t, e) => {
947
+ return t ? r = D(n, "componentWillLoad") : r = D(n, "componentWillUpdate"), r = ye(r, () => D(n, "componentWillRender")), i(), ye(r, () => Vs(e, n, t));
948
+ }, Vs = async (e, t, s) => {
949
+ const i = e.$hostElement$, n = L("update", e.$cmpMeta$.$tagName$);
950
+ i["s-rc"], s && Ns(e);
951
+ const r = L("render", e.$cmpMeta$.$tagName$);
952
+ ti(e, t, i), r(), n(), ei(e);
953
+ }, ti = (e, t, s) => {
954
954
  try {
955
- de = t, t = t.render && t.render(), s.$flags$ &= -17, s.$flags$ |= 2, (M.hasRenderFn || M.reflect) && (M.vdomRender || M.reflect) && (M.hydrateServerSide || qs(s, t));
955
+ he = t, t = t.render && t.render(), e.$flags$ &= -17, e.$flags$ |= 2, (M.hasRenderFn || M.reflect) && (M.vdomRender || M.reflect) && (M.hydrateServerSide || Zs(e, t));
956
956
  } catch (a) {
957
- J(a, s.$hostElement$);
958
- }
959
- return de = null, null;
960
- }, ti = (s) => {
961
- const t = s.$cmpMeta$.$tagName$, e = s.$hostElement$, i = H("postUpdate", t), n = e;
962
- s.$ancestorComponent$, D(n, "componentDidRender"), s.$flags$ & 64 ? (D(n, "componentDidUpdate"), i()) : (s.$flags$ |= 64, D(n, "componentDidLoad"), i());
963
- }, D = (s, t, e) => {
964
- if (s && s[t])
957
+ J(a, e.$hostElement$);
958
+ }
959
+ return he = null, null;
960
+ }, ei = (e) => {
961
+ const t = e.$cmpMeta$.$tagName$, s = e.$hostElement$, i = L("postUpdate", t), n = s;
962
+ e.$ancestorComponent$, D(n, "componentDidRender"), e.$flags$ & 64 ? (D(n, "componentDidUpdate"), i()) : (e.$flags$ |= 64, D(n, "componentDidLoad"), i());
963
+ }, D = (e, t, s) => {
964
+ if (e && e[t])
965
965
  try {
966
- return s[t](e);
966
+ return e[t](s);
967
967
  } catch (i) {
968
968
  J(i);
969
969
  }
970
- }, ve = (s, t) => s && s.then ? s.then(t) : t(), ei = (s, t) => s != null && !Wt(s) ? t & 4 ? s === "false" ? !1 : s === "" || !!s : t & 2 ? parseFloat(s) : t & 1 ? String(s) : s : s, si = (s, t) => _t(s).$instanceValues$.get(t), ii = (s, t, e, i) => {
971
- const n = _t(s), r = s, o = n.$instanceValues$.get(t), a = n.$flags$, l = r;
972
- e = ei(e, i.$members$[t][0]);
973
- const c = Number.isNaN(o) && Number.isNaN(e);
974
- if (e !== o && !c) {
975
- n.$instanceValues$.set(t, e);
970
+ }, ye = (e, t) => e && e.then ? e.then(t) : t(), si = (e, t) => e != null && !Ft(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, ii = (e, t) => bt(e).$instanceValues$.get(t), ni = (e, t, s, i) => {
971
+ const n = bt(e), r = e, o = n.$instanceValues$.get(t), a = n.$flags$, l = r;
972
+ s = si(s, i.$members$[t][0]);
973
+ const c = Number.isNaN(o) && Number.isNaN(s);
974
+ if (s !== o && !c) {
975
+ n.$instanceValues$.set(t, s);
976
976
  {
977
977
  if (i.$watchers$ && a & 128) {
978
978
  const h = i.$watchers$[t];
979
979
  h && h.map((p) => {
980
980
  try {
981
- l[p](e, o, t);
981
+ l[p](s, o, t);
982
982
  } catch (g) {
983
983
  J(g, r);
984
984
  }
985
985
  });
986
986
  }
987
987
  if ((a & 18) === 2) {
988
- if (l.componentShouldUpdate && l.componentShouldUpdate(e, o, t) === !1)
988
+ if (l.componentShouldUpdate && l.componentShouldUpdate(s, o, t) === !1)
989
989
  return;
990
- Xe(n, !1);
990
+ Ye(n, !1);
991
991
  }
992
992
  }
993
993
  }
994
- }, ni = (s, t, e) => {
994
+ }, ri = (e, t, s) => {
995
995
  if (t.$members$) {
996
- s.watchers && (t.$watchers$ = s.watchers);
997
- const i = Object.entries(t.$members$), n = s.prototype;
996
+ e.watchers && (t.$watchers$ = e.watchers);
997
+ const i = Object.entries(t.$members$), n = e.prototype;
998
998
  i.map(([r, [o]]) => {
999
999
  (o & 31 || o & 32) && Object.defineProperty(n, r, {
1000
1000
  get() {
1001
- return si(this, r);
1001
+ return ii(this, r);
1002
1002
  },
1003
1003
  set(a) {
1004
- ii(this, r, a, t);
1004
+ ni(this, r, a, t);
1005
1005
  },
1006
1006
  configurable: !0,
1007
1007
  enumerable: !0
@@ -1010,7 +1010,7 @@ const bt = typeof window < "u" ? window : {}, A = bt.document || { head: {} }, j
1010
1010
  {
1011
1011
  const r = /* @__PURE__ */ new Map();
1012
1012
  n.attributeChangedCallback = function(o, a, l) {
1013
- m.jmp(() => {
1013
+ v.jmp(() => {
1014
1014
  const c = r.get(o);
1015
1015
  if (this.hasOwnProperty(c))
1016
1016
  l = this[c], delete this[c];
@@ -1018,7 +1018,7 @@ const bt = typeof window < "u" ? window : {}, A = bt.document || { head: {} }, j
1018
1018
  return;
1019
1019
  this[c] = l === null && typeof this[c] == "boolean" ? !1 : l;
1020
1020
  });
1021
- }, s.observedAttributes = i.filter(
1021
+ }, e.observedAttributes = i.filter(
1022
1022
  ([o, a]) => a[0] & 15
1023
1023
  /* HasAttribute */
1024
1024
  ).map(([o, a]) => {
@@ -1027,137 +1027,137 @@ const bt = typeof window < "u" ? window : {}, A = bt.document || { head: {} }, j
1027
1027
  });
1028
1028
  }
1029
1029
  }
1030
- return s;
1031
- }, ri = async (s, t, e, i, n) => {
1032
- if (!(t.$flags$ & 32) && (n = s.constructor, t.$flags$ |= 32, customElements.whenDefined(e.$tagName$).then(() => t.$flags$ |= 128), n.style)) {
1030
+ return e;
1031
+ }, oi = async (e, t, s, i, n) => {
1032
+ if (!(t.$flags$ & 32) && (n = e.constructor, t.$flags$ |= 32, customElements.whenDefined(s.$tagName$).then(() => t.$flags$ |= 128), n.style)) {
1033
1033
  let o = n.style;
1034
- typeof o != "string" && (o = o[t.$modeName$ = Ns(s)]);
1035
- const a = De(e, t.$modeName$);
1036
- if (!ht.has(a)) {
1037
- const l = H("registerStyles", e.$tagName$);
1038
- Rs(a, o, !!(e.$flags$ & 1)), l();
1034
+ typeof o != "string" && (o = o[t.$modeName$ = js(e)]);
1035
+ const a = Be(s, t.$modeName$);
1036
+ if (!dt.has(a)) {
1037
+ const l = L("registerStyles", s.$tagName$);
1038
+ Ms(a, o, !!(s.$flags$ & 1)), l();
1039
1039
  }
1040
1040
  }
1041
- t.$ancestorComponent$, (() => Xe(t, !0))();
1042
- }, oi = (s) => {
1043
- }, ai = (s) => {
1044
- if (!(m.$flags$ & 1)) {
1045
- const t = _t(s), e = t.$cmpMeta$, i = H("connectedCallback", e.$tagName$);
1046
- t.$flags$ & 1 ? (Ie(s, t, e.$listeners$), oi(t.$lazyInstance$)) : (t.$flags$ |= 1, e.$flags$ & 12 && li(s), e.$members$ && Object.entries(e.$members$).map(([n, [r]]) => {
1047
- if (r & 31 && s.hasOwnProperty(n)) {
1048
- const o = s[n];
1049
- delete s[n], s[n] = o;
1050
- }
1051
- }), ri(s, t, e)), i();
1052
- }
1053
- }, li = (s) => {
1054
- const t = s["s-cr"] = A.createComment("");
1055
- t["s-cn"] = !0, s.insertBefore(t, s.firstChild);
1056
- }, ci = (s) => {
1057
- if (!(m.$flags$ & 1)) {
1058
- const t = _t(s);
1059
- t.$rmListeners$ && (t.$rmListeners$.map((e) => e()), t.$rmListeners$ = void 0);
1060
- }
1061
- }, Ye = (s, t) => {
1062
- const e = {
1041
+ t.$ancestorComponent$, (() => Ye(t, !0))();
1042
+ }, ai = (e) => {
1043
+ }, li = (e) => {
1044
+ if (!(v.$flags$ & 1)) {
1045
+ const t = bt(e), s = t.$cmpMeta$, i = L("connectedCallback", s.$tagName$);
1046
+ t.$flags$ & 1 ? (Ie(e, t, s.$listeners$), ai(t.$lazyInstance$)) : (t.$flags$ |= 1, s.$flags$ & 12 && ci(e), s.$members$ && Object.entries(s.$members$).map(([n, [r]]) => {
1047
+ if (r & 31 && e.hasOwnProperty(n)) {
1048
+ const o = e[n];
1049
+ delete e[n], e[n] = o;
1050
+ }
1051
+ }), oi(e, t, s)), i();
1052
+ }
1053
+ }, ci = (e) => {
1054
+ const t = e["s-cr"] = w.createComment("");
1055
+ t["s-cn"] = !0, e.insertBefore(t, e.firstChild);
1056
+ }, di = (e) => {
1057
+ if (!(v.$flags$ & 1)) {
1058
+ const t = bt(e);
1059
+ t.$rmListeners$ && (t.$rmListeners$.map((s) => s()), t.$rmListeners$ = void 0);
1060
+ }
1061
+ }, Ke = (e, t) => {
1062
+ const s = {
1063
1063
  $flags$: t[0],
1064
1064
  $tagName$: t[1]
1065
1065
  };
1066
- e.$members$ = t[2], e.$listeners$ = t[3], e.$watchers$ = s.$watchers$, e.$attrsToReflect$ = [];
1067
- const i = s.prototype.connectedCallback, n = s.prototype.disconnectedCallback;
1068
- return Object.assign(s.prototype, {
1066
+ s.$members$ = t[2], s.$listeners$ = t[3], s.$watchers$ = e.$watchers$, s.$attrsToReflect$ = [];
1067
+ const i = e.prototype.connectedCallback, n = e.prototype.disconnectedCallback;
1068
+ return Object.assign(e.prototype, {
1069
1069
  __registerHost() {
1070
- di(this, e);
1070
+ hi(this, s);
1071
1071
  },
1072
1072
  connectedCallback() {
1073
- ai(this), i && i.call(this);
1073
+ li(this), i && i.call(this);
1074
1074
  },
1075
1075
  disconnectedCallback() {
1076
- ci(this), n && n.call(this);
1076
+ di(this), n && n.call(this);
1077
1077
  },
1078
1078
  __attachShadow() {
1079
1079
  this.attachShadow({
1080
1080
  mode: "open",
1081
- delegatesFocus: !!(e.$flags$ & 16)
1081
+ delegatesFocus: !!(s.$flags$ & 16)
1082
1082
  });
1083
1083
  }
1084
- }), s.is = e.$tagName$, ni(s, e);
1085
- }, Ke = /* @__PURE__ */ new WeakMap(), _t = (s) => Ke.get(s), di = (s, t) => {
1086
- const e = {
1084
+ }), e.is = s.$tagName$, ri(e, s);
1085
+ }, Qe = /* @__PURE__ */ new WeakMap(), bt = (e) => Qe.get(e), hi = (e, t) => {
1086
+ const s = {
1087
1087
  $flags$: 0,
1088
- $hostElement$: s,
1088
+ $hostElement$: e,
1089
1089
  $cmpMeta$: t,
1090
1090
  $instanceValues$: /* @__PURE__ */ new Map()
1091
1091
  };
1092
- return Ie(s, e, t.$listeners$), Ke.set(s, e);
1093
- }, ye = (s, t) => t in s, J = (s, t) => (0, console.error)(s, t), ht = /* @__PURE__ */ new Map(), hi = [], be = [], Qe = [], pi = (s, t) => (e) => {
1094
- s.push(e), Rt || (Rt = !0, t && m.$flags$ & 4 ? ui(Ut) : m.raf(Ut));
1095
- }, _e = (s) => {
1096
- for (let t = 0; t < s.length; t++)
1092
+ return Ie(e, s, t.$listeners$), Qe.set(e, s);
1093
+ }, be = (e, t) => t in e, J = (e, t) => (0, console.error)(e, t), dt = /* @__PURE__ */ new Map(), pi = [], _e = [], Je = [], ui = (e, t) => (s) => {
1094
+ e.push(s), Ht || (Ht = !0, t && v.$flags$ & 4 ? fi(Rt) : v.raf(Rt));
1095
+ }, xe = (e) => {
1096
+ for (let t = 0; t < e.length; t++)
1097
1097
  try {
1098
- s[t](performance.now());
1099
- } catch (e) {
1100
- J(e);
1098
+ e[t](performance.now());
1099
+ } catch (s) {
1100
+ J(s);
1101
1101
  }
1102
- s.length = 0;
1103
- }, Ut = () => {
1104
- _e(be), _e(Qe), (Rt = be.length > 0) && m.raf(Ut);
1105
- }, ui = (s) => Ts().then(s), fi = /* @__PURE__ */ pi(Qe, !0), gi = (s = {}) => {
1106
- const { content: t = "", title: e, attributes: i = [] } = s;
1102
+ e.length = 0;
1103
+ }, Rt = () => {
1104
+ xe(_e), xe(Je), (Ht = _e.length > 0) && v.raf(Rt);
1105
+ }, fi = (e) => Os().then(e), gi = /* @__PURE__ */ ui(Je, !0), $i = (e = {}) => {
1106
+ const { content: t = "", title: s, attributes: i = [] } = e;
1107
1107
  let n = "", r = [
1108
1108
  { name: "xmlns", value: "http://www.w3.org/2000/svg" },
1109
1109
  { name: "fill", value: "currentColor" },
1110
1110
  ...i
1111
1111
  ];
1112
- return e && (n = `<title>${e}</title>`), `<svg ${r.map((a) => `${a.name}="${a.value}"`).join(" ")}>${n}${t}</svg>`;
1113
- }, $i = (s) => s.replace(/<(\/?)svg([^>]*)>/g, "").trim();
1114
- function mi(s) {
1115
- return `${s.getFullYear()}.${s.getMonth() + 1}`;
1112
+ return s && (n = `<title>${s}</title>`), `<svg ${r.map((a) => `${a.name}="${a.value}"`).join(" ")}>${n}${t}</svg>`;
1113
+ }, mi = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim();
1114
+ function vi(e) {
1115
+ return `${e.getFullYear()}.${e.getMonth() + 1}`;
1116
1116
  }
1117
- class vi {
1117
+ class yi {
1118
1118
  constructor(t) {
1119
- this.voca_component = t, this.voca_added = mi(/* @__PURE__ */ new Date());
1119
+ this.voca_component = t, this.voca_added = vi(/* @__PURE__ */ new Date());
1120
1120
  }
1121
1121
  }
1122
- const yi = "telia-vst{display:none}", bi = /* @__PURE__ */ Ye(class extends je {
1122
+ const bi = "telia-vst{display:none}", _i = /* @__PURE__ */ Ke(class extends De {
1123
1123
  constructor() {
1124
- super(), this.__registerHost(), this.vocaInternalUStats = Xs(this, "vocaInternalUStats", 7);
1124
+ super(), this.__registerHost(), this.vocaInternalUStats = Ys(this, "vocaInternalUStats", 7);
1125
1125
  }
1126
1126
  connectedCallback() {
1127
- this.vocaInternalUStats.emit(new vi(this.dataTrackingId));
1127
+ this.vocaInternalUStats.emit(new yi(this.dataTrackingId));
1128
1128
  }
1129
1129
  render() {
1130
- return I(Gt, null);
1130
+ return j(Wt, null);
1131
1131
  }
1132
1132
  static get style() {
1133
- return yi;
1133
+ return bi;
1134
1134
  }
1135
1135
  }, [0, "telia-vst", {
1136
1136
  dataTrackingId: [1, "data-tracking-id"]
1137
1137
  }]);
1138
- function Je() {
1138
+ function Ve() {
1139
1139
  if (typeof customElements > "u")
1140
1140
  return;
1141
1141
  ["telia-vst"].forEach((t) => {
1142
1142
  switch (t) {
1143
1143
  case "telia-vst":
1144
- customElements.get(t) || customElements.define(t, bi);
1144
+ customElements.get(t) || customElements.define(t, _i);
1145
1145
  break;
1146
1146
  }
1147
1147
  });
1148
1148
  }
1149
- Je();
1149
+ Ve();
1150
1150
  function Mt() {
1151
1151
  return typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : { vocadsIcons: void 0, vocadsIconsRegistered: !1 };
1152
1152
  }
1153
- function _i() {
1153
+ function xi() {
1154
1154
  if (typeof Mt().vocadsIcons !== void 0)
1155
1155
  return Mt().vocadsIcons;
1156
1156
  }
1157
- function xi() {
1157
+ function wi() {
1158
1158
  return Mt().vocadsIconsRegistered;
1159
1159
  }
1160
- const wi = ".telia-icon{display:inline-block}.telia-icon__container{display:block;height:inherit}.telia-icon svg{display:block}.telia-icon--sm{height:calc(1.6rem * var(--voca-rem-multiplier));min-width:calc(1.6rem * var(--voca-rem-multiplier));width:calc(1.6rem * var(--voca-rem-multiplier))}.telia-icon--md{height:calc(2.4rem * var(--voca-rem-multiplier));min-width:calc(2.4rem * var(--voca-rem-multiplier));width:calc(2.4rem * var(--voca-rem-multiplier))}.telia-icon--lg{height:calc(3.2rem * var(--voca-rem-multiplier));min-width:calc(3.2rem * var(--voca-rem-multiplier));width:calc(3.2rem * var(--voca-rem-multiplier))}", Ai = /* @__PURE__ */ Ye(class extends je {
1160
+ const Ci = ".telia-icon{display:inline-block}.telia-icon__container{display:block;height:inherit}.telia-icon svg{display:block}.telia-icon--sm{height:calc(1.6rem * var(--voca-rem-multiplier));min-width:calc(1.6rem * var(--voca-rem-multiplier));width:calc(1.6rem * var(--voca-rem-multiplier))}.telia-icon--md{height:calc(2.4rem * var(--voca-rem-multiplier));min-width:calc(2.4rem * var(--voca-rem-multiplier));width:calc(2.4rem * var(--voca-rem-multiplier))}.telia-icon--lg{height:calc(3.2rem * var(--voca-rem-multiplier));min-width:calc(3.2rem * var(--voca-rem-multiplier));width:calc(3.2rem * var(--voca-rem-multiplier))}", Ai = /* @__PURE__ */ Ke(class extends De {
1161
1161
  constructor() {
1162
1162
  super(), this.__registerHost(), this.size = "md", this.allyTitle = null, this.dataTrackingId = "telia-icon";
1163
1163
  }
@@ -1169,27 +1169,27 @@ const wi = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
1169
1169
  getSvgString() {
1170
1170
  if (this.svg)
1171
1171
  return this.svg;
1172
- if (xi() && this.name) {
1173
- const s = _i();
1174
- return s[this.name] ? s[this.name].svg : "";
1172
+ if (wi() && this.name) {
1173
+ const e = xi();
1174
+ return e[this.name] ? e[this.name].svg : "";
1175
1175
  }
1176
1176
  return this.name && console.warn(this.name, "Icons bundle is not registered and will not be rendered. Check if you have registered icons bundle or use svg property"), "";
1177
1177
  }
1178
1178
  render() {
1179
- let s = this.getSvgString(), t = [{ name: "viewBox", value: "0 0 64 64" }];
1179
+ let e = this.getSvgString(), t = [{ name: "viewBox", value: "0 0 64 64" }];
1180
1180
  this.allyTitle ? t = [...t, { name: "role", value: "img" }] : t = [
1181
1181
  ...t,
1182
1182
  { name: "aria-hidden", value: "true" }
1183
1183
  ];
1184
- const e = gi({
1185
- content: $i(s),
1184
+ const s = $i({
1185
+ content: mi(e),
1186
1186
  attributes: t,
1187
1187
  title: this.allyTitle
1188
1188
  });
1189
- return I(Gt, { class: `telia-icon telia-icon--${this.size}` }, I("span", { "aria-label": this.allyTitle, class: "telia-icon__container", innerHTML: e }), I("telia-vst", { dataTrackingId: this.dataTrackingId }));
1189
+ return j(Wt, { class: `telia-icon telia-icon--${this.size}` }, j("span", { "aria-label": this.allyTitle, class: "telia-icon__container", innerHTML: s }), j("telia-vst", { dataTrackingId: this.dataTrackingId }));
1190
1190
  }
1191
1191
  static get style() {
1192
- return wi;
1192
+ return Ci;
1193
1193
  }
1194
1194
  }, [0, "telia-icon", {
1195
1195
  name: [1],
@@ -1198,7 +1198,7 @@ const wi = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
1198
1198
  allyTitle: [1, "ally-title"],
1199
1199
  dataTestid: [1, "data-testid"]
1200
1200
  }]);
1201
- function Ci() {
1201
+ function Si() {
1202
1202
  if (typeof customElements > "u")
1203
1203
  return;
1204
1204
  ["telia-icon", "telia-vst"].forEach((t) => {
@@ -1207,88 +1207,88 @@ function Ci() {
1207
1207
  customElements.get(t) || customElements.define(t, Ai);
1208
1208
  break;
1209
1209
  case "telia-vst":
1210
- customElements.get(t) || Je();
1210
+ customElements.get(t) || Ve();
1211
1211
  break;
1212
1212
  }
1213
1213
  });
1214
1214
  }
1215
- Ci();
1215
+ Si();
1216
1216
  /**
1217
1217
  * @license
1218
1218
  * Copyright 2017 Google LLC
1219
1219
  * SPDX-License-Identifier: BSD-3-Clause
1220
1220
  */
1221
- const V = (s) => (t, e) => {
1222
- e !== void 0 ? e.addInitializer(() => {
1223
- customElements.define(s, t);
1224
- }) : customElements.define(s, t);
1221
+ const V = (e) => (t, s) => {
1222
+ s !== void 0 ? s.addInitializer(() => {
1223
+ customElements.define(e, t);
1224
+ }) : customElements.define(e, t);
1225
1225
  };
1226
1226
  /**
1227
1227
  * @license
1228
1228
  * Copyright 2017 Google LLC
1229
1229
  * SPDX-License-Identifier: BSD-3-Clause
1230
1230
  */
1231
- const Si = { attribute: !0, type: String, converter: ot, reflect: !1, hasChanged: zt }, Ei = (s = Si, t, e) => {
1232
- const { kind: i, metadata: n } = e;
1231
+ const Ei = { attribute: !0, type: String, converter: rt, reflect: !1, hasChanged: Bt }, ki = (e = Ei, t, s) => {
1232
+ const { kind: i, metadata: n } = s;
1233
1233
  let r = globalThis.litPropertyMetadata.get(n);
1234
- if (r === void 0 && globalThis.litPropertyMetadata.set(n, r = /* @__PURE__ */ new Map()), r.set(e.name, s), i === "accessor") {
1235
- const { name: o } = e;
1234
+ if (r === void 0 && globalThis.litPropertyMetadata.set(n, r = /* @__PURE__ */ new Map()), r.set(s.name, e), i === "accessor") {
1235
+ const { name: o } = s;
1236
1236
  return { set(a) {
1237
1237
  const l = t.get.call(this);
1238
- t.set.call(this, a), this.requestUpdate(o, l, s);
1238
+ t.set.call(this, a), this.requestUpdate(o, l, e);
1239
1239
  }, init(a) {
1240
- return a !== void 0 && this.C(o, void 0, s), a;
1240
+ return a !== void 0 && this.C(o, void 0, e), a;
1241
1241
  } };
1242
1242
  }
1243
1243
  if (i === "setter") {
1244
- const { name: o } = e;
1244
+ const { name: o } = s;
1245
1245
  return function(a) {
1246
1246
  const l = this[o];
1247
- t.call(this, a), this.requestUpdate(o, l, s);
1247
+ t.call(this, a), this.requestUpdate(o, l, e);
1248
1248
  };
1249
1249
  }
1250
1250
  throw Error("Unsupported decorator location: " + i);
1251
1251
  };
1252
- function $(s) {
1253
- return (t, e) => typeof e == "object" ? Ei(s, t, e) : ((i, n, r) => {
1252
+ function $(e) {
1253
+ return (t, s) => typeof s == "object" ? ki(e, t, s) : ((i, n, r) => {
1254
1254
  const o = n.hasOwnProperty(r);
1255
1255
  return n.constructor.createProperty(r, o ? { ...i, wrapped: !0 } : i), o ? Object.getOwnPropertyDescriptor(n, r) : void 0;
1256
- })(s, t, e);
1256
+ })(e, t, s);
1257
1257
  }
1258
1258
  /**
1259
1259
  * @license
1260
1260
  * Copyright 2017 Google LLC
1261
1261
  * SPDX-License-Identifier: BSD-3-Clause
1262
1262
  */
1263
- function x(s) {
1264
- return $({ ...s, state: !0, attribute: !1 });
1263
+ function C(e) {
1264
+ return $({ ...e, state: !0, attribute: !1 });
1265
1265
  }
1266
1266
  /**
1267
1267
  * @license
1268
1268
  * Copyright 2020 Google LLC
1269
1269
  * SPDX-License-Identifier: BSD-3-Clause
1270
1270
  */
1271
- const ki = (s) => s.strings === void 0;
1271
+ const Ti = (e) => e.strings === void 0;
1272
1272
  /**
1273
1273
  * @license
1274
1274
  * Copyright 2017 Google LLC
1275
1275
  * SPDX-License-Identifier: BSD-3-Clause
1276
1276
  */
1277
- const xt = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, wt = (s) => (...t) => ({ _$litDirective$: s, values: t });
1278
- let Zt = class {
1277
+ const _t = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, xt = (e) => (...t) => ({ _$litDirective$: e, values: t });
1278
+ let qt = class {
1279
1279
  constructor(t) {
1280
1280
  }
1281
1281
  get _$AU() {
1282
1282
  return this._$AM._$AU;
1283
1283
  }
1284
- _$AT(t, e, i) {
1285
- this._$Ct = t, this._$AM = e, this._$Ci = i;
1284
+ _$AT(t, s, i) {
1285
+ this._$Ct = t, this._$AM = s, this._$Ci = i;
1286
1286
  }
1287
- _$AS(t, e) {
1288
- return this.update(t, e);
1287
+ _$AS(t, s) {
1288
+ return this.update(t, s);
1289
1289
  }
1290
- update(t, e) {
1291
- return this.render(...e);
1290
+ update(t, s) {
1291
+ return this.render(...s);
1292
1292
  }
1293
1293
  };
1294
1294
  /**
@@ -1296,66 +1296,66 @@ let Zt = class {
1296
1296
  * Copyright 2017 Google LLC
1297
1297
  * SPDX-License-Identifier: BSD-3-Clause
1298
1298
  */
1299
- const q = (s, t) => {
1299
+ const q = (e, t) => {
1300
1300
  var i;
1301
- const e = s._$AN;
1302
- if (e === void 0)
1301
+ const s = e._$AN;
1302
+ if (s === void 0)
1303
1303
  return !1;
1304
- for (const n of e)
1304
+ for (const n of s)
1305
1305
  (i = n._$AO) == null || i.call(n, t, !1), q(n, t);
1306
1306
  return !0;
1307
- }, pt = (s) => {
1308
- let t, e;
1307
+ }, ht = (e) => {
1308
+ let t, s;
1309
1309
  do {
1310
- if ((t = s._$AM) === void 0)
1310
+ if ((t = e._$AM) === void 0)
1311
1311
  break;
1312
- e = t._$AN, e.delete(s), s = t;
1313
- } while ((e == null ? void 0 : e.size) === 0);
1314
- }, Ve = (s) => {
1315
- for (let t; t = s._$AM; s = t) {
1316
- let e = t._$AN;
1317
- if (e === void 0)
1318
- t._$AN = e = /* @__PURE__ */ new Set();
1319
- else if (e.has(s))
1312
+ s = t._$AN, s.delete(e), e = t;
1313
+ } while ((s == null ? void 0 : s.size) === 0);
1314
+ }, ts = (e) => {
1315
+ for (let t; t = e._$AM; e = t) {
1316
+ let s = t._$AN;
1317
+ if (s === void 0)
1318
+ t._$AN = s = /* @__PURE__ */ new Set();
1319
+ else if (s.has(e))
1320
1320
  break;
1321
- e.add(s), Pi(t);
1321
+ s.add(e), Li(t);
1322
1322
  }
1323
1323
  };
1324
- function Ti(s) {
1325
- this._$AN !== void 0 ? (pt(this), this._$AM = s, Ve(this)) : this._$AM = s;
1324
+ function Oi(e) {
1325
+ this._$AN !== void 0 ? (ht(this), this._$AM = e, ts(this)) : this._$AM = e;
1326
1326
  }
1327
- function Oi(s, t = !1, e = 0) {
1327
+ function Pi(e, t = !1, s = 0) {
1328
1328
  const i = this._$AH, n = this._$AN;
1329
1329
  if (n !== void 0 && n.size !== 0)
1330
1330
  if (t)
1331
1331
  if (Array.isArray(i))
1332
- for (let r = e; r < i.length; r++)
1333
- q(i[r], !1), pt(i[r]);
1332
+ for (let r = s; r < i.length; r++)
1333
+ q(i[r], !1), ht(i[r]);
1334
1334
  else
1335
- i != null && (q(i, !1), pt(i));
1335
+ i != null && (q(i, !1), ht(i));
1336
1336
  else
1337
- q(this, s);
1337
+ q(this, e);
1338
1338
  }
1339
- const Pi = (s) => {
1340
- s.type == xt.CHILD && (s._$AP ?? (s._$AP = Oi), s._$AQ ?? (s._$AQ = Ti));
1339
+ const Li = (e) => {
1340
+ e.type == _t.CHILD && (e._$AP ?? (e._$AP = Pi), e._$AQ ?? (e._$AQ = Oi));
1341
1341
  };
1342
- let ts = class extends Zt {
1342
+ let es = class extends qt {
1343
1343
  constructor() {
1344
1344
  super(...arguments), this._$AN = void 0;
1345
1345
  }
1346
- _$AT(t, e, i) {
1347
- super._$AT(t, e, i), Ve(this), this.isConnected = t._$AU;
1346
+ _$AT(t, s, i) {
1347
+ super._$AT(t, s, i), ts(this), this.isConnected = t._$AU;
1348
1348
  }
1349
- _$AO(t, e = !0) {
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)), e && (q(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 && (q(this, t), ht(this));
1352
1352
  }
1353
1353
  setValue(t) {
1354
- if (ki(this._$Ct))
1354
+ if (Ti(this._$Ct))
1355
1355
  this._$Ct._$AI(t, this);
1356
1356
  else {
1357
- const e = [...this._$Ct._$AH];
1358
- e[this._$Ci] = t, this._$Ct._$AI(e, this, 0);
1357
+ const s = [...this._$Ct._$AH];
1358
+ s[this._$Ci] = t, this._$Ct._$AI(s, this, 0);
1359
1359
  }
1360
1360
  }
1361
1361
  disconnected() {
@@ -1368,29 +1368,29 @@ let ts = class extends Zt {
1368
1368
  * Copyright 2020 Google LLC
1369
1369
  * SPDX-License-Identifier: BSD-3-Clause
1370
1370
  */
1371
- const ut = () => new Li();
1372
- class Li {
1371
+ const pt = () => new Hi();
1372
+ class Hi {
1373
1373
  }
1374
- const Pt = /* @__PURE__ */ new WeakMap(), ft = wt(class extends ts {
1375
- render(s) {
1374
+ const Ot = /* @__PURE__ */ new WeakMap(), ut = xt(class extends es {
1375
+ render(e) {
1376
1376
  return u;
1377
1377
  }
1378
- update(s, [t]) {
1378
+ update(e, [t]) {
1379
1379
  var i;
1380
- const e = t !== this.G;
1381
- return e && this.G !== void 0 && this.ot(void 0), (e || this.rt !== this.lt) && (this.G = t, this.ct = (i = s.options) == null ? void 0 : i.host, this.ot(this.lt = s.element)), u;
1380
+ const s = t !== this.G;
1381
+ return s && this.G !== void 0 && this.ot(void 0), (s || this.rt !== this.lt) && (this.G = t, this.ct = (i = e.options) == null ? void 0 : i.host, this.ot(this.lt = e.element)), u;
1382
1382
  }
1383
- ot(s) {
1383
+ ot(e) {
1384
1384
  if (typeof this.G == "function") {
1385
1385
  const t = this.ct ?? globalThis;
1386
- let e = Pt.get(t);
1387
- e === void 0 && (e = /* @__PURE__ */ new WeakMap(), Pt.set(t, e)), e.get(this.G) !== void 0 && this.G.call(this.ct, void 0), e.set(this.G, s), s !== void 0 && this.G.call(this.ct, s);
1386
+ let s = Ot.get(t);
1387
+ s === void 0 && (s = /* @__PURE__ */ new WeakMap(), Ot.set(t, s)), s.get(this.G) !== void 0 && this.G.call(this.ct, void 0), s.set(this.G, e), e !== void 0 && this.G.call(this.ct, e);
1388
1388
  } else
1389
- this.G.value = s;
1389
+ this.G.value = e;
1390
1390
  }
1391
1391
  get rt() {
1392
- var s, t;
1393
- return typeof this.G == "function" ? (s = Pt.get(this.ct ?? globalThis)) == null ? void 0 : s.get(this.G) : (t = this.G) == null ? void 0 : t.value;
1392
+ var e, t;
1393
+ return typeof this.G == "function" ? (e = Ot.get(this.ct ?? globalThis)) == null ? void 0 : e.get(this.G) : (t = this.G) == null ? void 0 : t.value;
1394
1394
  }
1395
1395
  disconnected() {
1396
1396
  this.rt === this.lt && this.ot(void 0);
@@ -1404,67 +1404,107 @@ const Pt = /* @__PURE__ */ new WeakMap(), ft = wt(class extends ts {
1404
1404
  * Copyright 2018 Google LLC
1405
1405
  * SPDX-License-Identifier: BSD-3-Clause
1406
1406
  */
1407
- const Xt = wt(class extends Zt {
1408
- constructor(s) {
1407
+ const Zt = xt(class extends qt {
1408
+ constructor(e) {
1409
1409
  var t;
1410
- if (super(s), s.type !== xt.ATTRIBUTE || s.name !== "class" || ((t = s.strings) == null ? void 0 : t.length) > 2)
1410
+ if (super(e), e.type !== _t.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
- render(s) {
1414
- return " " + Object.keys(s).filter((t) => s[t]).join(" ") + " ";
1413
+ render(e) {
1414
+ return " " + Object.keys(e).filter((t) => e[t]).join(" ") + " ";
1415
1415
  }
1416
- update(s, [t]) {
1416
+ update(e, [t]) {
1417
1417
  var i, n;
1418
1418
  if (this.it === void 0) {
1419
- this.it = /* @__PURE__ */ new Set(), s.strings !== void 0 && (this.st = new Set(s.strings.join(" ").split(/\s/).filter((r) => r !== "")));
1419
+ this.it = /* @__PURE__ */ new Set(), e.strings !== void 0 && (this.st = new Set(e.strings.join(" ").split(/\s/).filter((r) => r !== "")));
1420
1420
  for (const r in t)
1421
1421
  t[r] && !((i = this.st) != null && i.has(r)) && this.it.add(r);
1422
1422
  return this.render(t);
1423
1423
  }
1424
- const e = s.element.classList;
1424
+ const s = e.element.classList;
1425
1425
  for (const r of this.it)
1426
- r in t || (e.remove(r), this.it.delete(r));
1426
+ r in t || (s.remove(r), this.it.delete(r));
1427
1427
  for (const r in t) {
1428
1428
  const o = !!t[r];
1429
- o === this.it.has(r) || (n = this.st) != null && n.has(r) || (o ? (e.add(r), this.it.add(r)) : (e.remove(r), this.it.delete(r)));
1429
+ o === this.it.has(r) || (n = this.st) != null && n.has(r) || (o ? (s.add(r), this.it.add(r)) : (s.remove(r), this.it.delete(r)));
1430
1430
  }
1431
1431
  return E;
1432
1432
  }
1433
- }), Hi = /* @__PURE__ */ new WeakMap();
1434
- let xe = 0;
1435
- const Lt = /* @__PURE__ */ new Map(), we = /* @__PURE__ */ new WeakSet(), Ae = () => new Promise((s) => requestAnimationFrame(s)), Ri = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], Ui = [{ opacity: 0 }], Ce = [{ opacity: 0 }, { opacity: 1 }], Se = (s, t) => {
1436
- const e = s - t;
1437
- return e === 0 ? void 0 : e;
1438
- }, Ee = (s, t) => {
1439
- const e = s / t;
1440
- return e === 1 ? void 0 : e;
1441
- }, Ht = { left: (s, t) => {
1442
- const e = Se(s, t);
1443
- return { value: e, transform: e == null || isNaN(e) ? void 0 : `translateX(${e}px)` };
1444
- }, top: (s, t) => {
1445
- const e = Se(s, t);
1446
- return { value: e, transform: e == null || isNaN(e) ? void 0 : `translateY(${e}px)` };
1447
- }, width: (s, t) => {
1448
- let e;
1449
- t === 0 && (t = 1, e = { width: "1px" });
1450
- const i = Ee(s, t);
1451
- return { value: i, overrideFrom: e, transform: i == null || isNaN(i) ? void 0 : `scaleX(${i})` };
1452
- }, height: (s, t) => {
1453
- let e;
1454
- t === 0 && (t = 1, e = { height: "1px" });
1455
- const i = Ee(s, t);
1456
- return { value: i, overrideFrom: e, transform: i == null || isNaN(i) ? void 0 : `scaleY(${i})` };
1457
- } }, Mi = { duration: 333, easing: "ease-in-out" }, Ni = ["left", "top", "width", "height", "opacity", "color", "background"], ke = /* @__PURE__ */ new WeakMap();
1458
- class ji extends ts {
1433
+ });
1434
+ var Ri = Object.defineProperty, Mi = Object.getOwnPropertyDescriptor, Ui = (e, t, s, i) => {
1435
+ for (var n = i > 1 ? void 0 : i ? Mi(t, s) : t, r = e.length - 1, o; r >= 0; r--)
1436
+ (o = e[r]) && (n = (i ? o(t, s, n) : o(n)) || n);
1437
+ return i && n && Ri(t, s, n), n;
1438
+ };
1439
+ class Xt extends m {
1440
+ constructor() {
1441
+ super(...arguments), this.anchor = "bottom-right";
1442
+ }
1443
+ appendChild(t) {
1444
+ var s;
1445
+ return (s = this.shadowRoot) == null || s.appendChild(t), t;
1446
+ }
1447
+ render() {
1448
+ return this.renderRoot.host.classList.add(this.anchor), u;
1449
+ }
1450
+ }
1451
+ Xt.styles = [
1452
+ b`
1453
+ :host {
1454
+ position: fixed;
1455
+ display: flex;
1456
+ align-items: center;
1457
+ gap: 1rem;
1458
+ }
1459
+
1460
+ :host(.bottom-right) {
1461
+ bottom: 20px;
1462
+ right: 20px;
1463
+ }
1464
+ :host(.bottom-left) {
1465
+ bottom: 20px;
1466
+ left: 20px;
1467
+ }
1468
+ `
1469
+ ];
1470
+ Ui([
1471
+ $({ attribute: !0 })
1472
+ ], Xt.prototype, "anchor", 2);
1473
+ const Ni = /* @__PURE__ */ new WeakMap();
1474
+ let we = 0;
1475
+ const Pt = /* @__PURE__ */ new Map(), Ce = /* @__PURE__ */ new WeakSet(), Ae = () => new Promise((e) => requestAnimationFrame(e)), ji = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], Di = [{ opacity: 0 }], Se = [{ opacity: 0 }, { opacity: 1 }], Ee = (e, t) => {
1476
+ const s = e - t;
1477
+ return s === 0 ? void 0 : s;
1478
+ }, ke = (e, t) => {
1479
+ const s = e / t;
1480
+ return s === 1 ? void 0 : s;
1481
+ }, Lt = { left: (e, t) => {
1482
+ const s = Ee(e, t);
1483
+ return { value: s, transform: s == null || isNaN(s) ? void 0 : `translateX(${s}px)` };
1484
+ }, top: (e, t) => {
1485
+ const s = Ee(e, t);
1486
+ return { value: s, transform: s == null || isNaN(s) ? void 0 : `translateY(${s}px)` };
1487
+ }, width: (e, t) => {
1488
+ let s;
1489
+ t === 0 && (t = 1, s = { width: "1px" });
1490
+ const i = ke(e, t);
1491
+ return { value: i, overrideFrom: s, transform: i == null || isNaN(i) ? void 0 : `scaleX(${i})` };
1492
+ }, height: (e, t) => {
1493
+ let s;
1494
+ t === 0 && (t = 1, s = { height: "1px" });
1495
+ const i = ke(e, t);
1496
+ return { value: i, overrideFrom: s, transform: i == null || isNaN(i) ? void 0 : `scaleY(${i})` };
1497
+ } }, Ii = { duration: 333, easing: "ease-in-out" }, Bi = ["left", "top", "width", "height", "opacity", "color", "background"], Te = /* @__PURE__ */ new WeakMap();
1498
+ class zi extends es {
1459
1499
  constructor(t) {
1460
- if (super(t), this.t = null, this.i = null, this.o = !0, this.shouldLog = !1, t.type === xt.CHILD)
1500
+ if (super(t), this.t = null, this.i = null, this.o = !0, this.shouldLog = !1, t.type === _t.CHILD)
1461
1501
  throw Error("The `animate` directive must be used in attribute position.");
1462
1502
  this.createFinished();
1463
1503
  }
1464
1504
  createFinished() {
1465
1505
  var t;
1466
- (t = this.resolveFinished) == null || t.call(this), this.finished = new Promise((e) => {
1467
- this.h = e;
1506
+ (t = this.resolveFinished) == null || t.call(this), this.finished = new Promise((s) => {
1507
+ this.h = s;
1468
1508
  });
1469
1509
  }
1470
1510
  async resolveFinished() {
@@ -1475,39 +1515,39 @@ class ji extends ts {
1475
1515
  return u;
1476
1516
  }
1477
1517
  getController() {
1478
- return Hi.get(this.l);
1518
+ return Ni.get(this.l);
1479
1519
  }
1480
1520
  isDisabled() {
1481
1521
  var t;
1482
1522
  return this.options.disabled || ((t = this.getController()) == null ? void 0 : t.disabled);
1483
1523
  }
1484
- update(t, [e]) {
1524
+ update(t, [s]) {
1485
1525
  var n;
1486
1526
  const i = this.l === void 0;
1487
- return i && (this.l = (n = t.options) == null ? void 0 : n.host, this.l.addController(this), this.element = t.element, ke.set(this.element, this)), this.optionsOrCallback = e, (i || typeof e != "function") && this.u(e), this.render(e);
1527
+ return i && (this.l = (n = t.options) == null ? void 0 : n.host, this.l.addController(this), this.element = t.element, Te.set(this.element, this)), this.optionsOrCallback = s, (i || typeof s != "function") && this.u(s), this.render(s);
1488
1528
  }
1489
1529
  u(t) {
1490
1530
  t = t ?? {};
1491
- const e = this.getController();
1492
- e !== void 0 && ((t = { ...e.defaultOptions, ...t }).keyframeOptions = { ...e.defaultOptions.keyframeOptions, ...t.keyframeOptions }), t.properties ?? (t.properties = Ni), this.options = t;
1531
+ const s = this.getController();
1532
+ s !== void 0 && ((t = { ...s.defaultOptions, ...t }).keyframeOptions = { ...s.defaultOptions.keyframeOptions, ...t.keyframeOptions }), t.properties ?? (t.properties = Bi), this.options = t;
1493
1533
  }
1494
1534
  p() {
1495
- const t = {}, e = this.element.getBoundingClientRect(), i = getComputedStyle(this.element);
1535
+ const t = {}, s = this.element.getBoundingClientRect(), i = getComputedStyle(this.element);
1496
1536
  return this.options.properties.forEach((n) => {
1497
- const r = e[n] ?? (Ht[n] ? void 0 : i[n]), o = Number(r);
1537
+ const r = s[n] ?? (Lt[n] ? void 0 : i[n]), o = Number(r);
1498
1538
  t[n] = isNaN(o) ? r + "" : o;
1499
1539
  }), t;
1500
1540
  }
1501
1541
  m() {
1502
- let t, e = !0;
1503
- return this.options.guard && (t = this.options.guard(), e = ((i, n) => {
1542
+ let t, s = !0;
1543
+ return this.options.guard && (t = this.options.guard(), s = ((i, n) => {
1504
1544
  if (Array.isArray(i)) {
1505
1545
  if (Array.isArray(n) && n.length === i.length && i.every((r, o) => r === n[o]))
1506
1546
  return !1;
1507
1547
  } else if (n === i)
1508
1548
  return !1;
1509
1549
  return !0;
1510
- })(t, this.v)), this.o = this.l.hasUpdated && !this.isDisabled() && !this.isAnimating() && e && this.element.isConnected, this.o && (this.v = Array.isArray(t) ? Array.from(t) : t), this.o;
1550
+ })(t, this.v)), this.o = this.l.hasUpdated && !this.isDisabled() && !this.isAnimating() && s && this.element.isConnected, this.o && (this.v = Array.isArray(t) ? Array.from(t) : t), this.o;
1511
1551
  }
1512
1552
  hostUpdate() {
1513
1553
  typeof this.optionsOrCallback == "function" && this.u(this.optionsOrCallback()), this.m() && (this.g = this.p(), this.t = this.t ?? this.element.parentNode, this.i = this.element.nextSibling);
@@ -1517,16 +1557,16 @@ class ji extends ts {
1517
1557
  return;
1518
1558
  let t;
1519
1559
  this.prepare(), await Ae;
1520
- const e = this._(), i = this.A(this.options.keyframeOptions, e), n = this.p();
1560
+ const s = this._(), i = this.A(this.options.keyframeOptions, s), n = this.p();
1521
1561
  if (this.g !== void 0) {
1522
- const { from: r, to: o } = this.O(this.g, n, e);
1562
+ const { from: r, to: o } = this.O(this.g, n, s);
1523
1563
  this.log("measured", [this.g, n, r, o]), t = this.calculateKeyframes(r, o);
1524
1564
  } else {
1525
- const r = Lt.get(this.options.inId);
1565
+ const r = Pt.get(this.options.inId);
1526
1566
  if (r) {
1527
- Lt.delete(this.options.inId);
1528
- const { from: o, to: a } = this.O(r, n, e);
1529
- t = this.calculateKeyframes(o, a), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t, xe++, t.forEach((l) => l.zIndex = xe);
1567
+ Pt.delete(this.options.inId);
1568
+ const { from: o, to: a } = this.O(r, n, s);
1569
+ t = this.calculateKeyframes(o, a), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t, we++, t.forEach((l) => l.zIndex = we);
1530
1570
  } else
1531
1571
  this.options.in && (t = [...this.options.in, {}]);
1532
1572
  }
@@ -1536,16 +1576,16 @@ class ji extends ts {
1536
1576
  this.j !== void 0 && (this.element.setAttribute("style", this.j ?? ""), this.j = void 0);
1537
1577
  }
1538
1578
  commitStyles() {
1539
- var t, e;
1540
- this.j = this.element.getAttribute("style"), (t = this.webAnimation) == null || t.commitStyles(), (e = this.webAnimation) == null || e.cancel();
1579
+ var t, s;
1580
+ this.j = this.element.getAttribute("style"), (t = this.webAnimation) == null || t.commitStyles(), (s = this.webAnimation) == null || s.cancel();
1541
1581
  }
1542
1582
  reconnected() {
1543
1583
  }
1544
1584
  async disconnected() {
1545
- var e;
1546
- if (!this.o || (this.options.id !== void 0 && Lt.set(this.options.id, this.g), this.options.out === void 0))
1585
+ var s;
1586
+ if (!this.o || (this.options.id !== void 0 && Pt.set(this.options.id, this.g), this.options.out === void 0))
1547
1587
  return;
1548
- if (this.prepare(), await Ae(), (e = this.t) == null ? void 0 : e.isConnected) {
1588
+ if (this.prepare(), await Ae(), (s = this.t) == null ? void 0 : s.isConnected) {
1549
1589
  const i = this.i && this.i.parentNode === this.t ? this.i : null;
1550
1590
  if (this.t.insertBefore(this.element, i), this.options.stabilizeOut) {
1551
1591
  const n = this.p();
@@ -1561,47 +1601,47 @@ class ji extends ts {
1561
1601
  this.createFinished();
1562
1602
  }
1563
1603
  start() {
1564
- var t, e;
1565
- (e = (t = this.options).onStart) == null || e.call(t, this);
1604
+ var t, s;
1605
+ (s = (t = this.options).onStart) == null || s.call(t, this);
1566
1606
  }
1567
1607
  didFinish(t) {
1568
- var e, i;
1569
- t && ((i = (e = this.options).onComplete) == null || i.call(e, this)), this.g = void 0, this.animatingProperties = void 0, this.frames = void 0, this.resolveFinished();
1608
+ var s, i;
1609
+ t && ((i = (s = this.options).onComplete) == null || i.call(s, this)), this.g = void 0, this.animatingProperties = void 0, this.frames = void 0, this.resolveFinished();
1570
1610
  }
1571
1611
  _() {
1572
1612
  const t = [];
1573
- for (let e = this.element.parentNode; e; e = e == null ? void 0 : e.parentNode) {
1574
- const i = ke.get(e);
1613
+ for (let s = this.element.parentNode; s; s = s == null ? void 0 : s.parentNode) {
1614
+ const i = Te.get(s);
1575
1615
  i && !i.isDisabled() && i && t.push(i);
1576
1616
  }
1577
1617
  return t;
1578
1618
  }
1579
1619
  get isHostRendered() {
1580
- const t = we.has(this.l);
1620
+ const t = Ce.has(this.l);
1581
1621
  return t || this.l.updateComplete.then(() => {
1582
- we.add(this.l);
1622
+ Ce.add(this.l);
1583
1623
  }), t;
1584
1624
  }
1585
- A(t, e = this._()) {
1586
- const i = { ...Mi };
1587
- return e.forEach((n) => Object.assign(i, n.options.keyframeOptions)), Object.assign(i, t), i;
1625
+ A(t, s = this._()) {
1626
+ const i = { ...Ii };
1627
+ return s.forEach((n) => Object.assign(i, n.options.keyframeOptions)), Object.assign(i, t), i;
1588
1628
  }
1589
- O(t, e, i) {
1590
- t = { ...t }, e = { ...e };
1629
+ O(t, s, i) {
1630
+ t = { ...t }, s = { ...s };
1591
1631
  const n = i.map((a) => a.animatingProperties).filter((a) => a !== void 0);
1592
1632
  let r = 1, o = 1;
1593
1633
  return n !== void 0 && (n.forEach((a) => {
1594
1634
  a.width && (r /= a.width), a.height && (o /= a.height);
1595
- }), t.left !== void 0 && e.left !== void 0 && (t.left = r * t.left, e.left = r * e.left), t.top !== void 0 && e.top !== void 0 && (t.top = o * t.top, e.top = o * e.top)), { from: t, to: e };
1635
+ }), t.left !== void 0 && s.left !== void 0 && (t.left = r * t.left, s.left = r * s.left), t.top !== void 0 && s.top !== void 0 && (t.top = o * t.top, s.top = o * s.top)), { from: t, to: s };
1596
1636
  }
1597
- calculateKeyframes(t, e, i = !1) {
1637
+ calculateKeyframes(t, s, i = !1) {
1598
1638
  const n = {}, r = {};
1599
1639
  let o = !1;
1600
1640
  const a = {};
1601
- for (const l in e) {
1602
- const c = t[l], d = e[l];
1603
- if (l in Ht) {
1604
- const h = Ht[l];
1641
+ for (const l in s) {
1642
+ const c = t[l], d = s[l];
1643
+ if (l in Lt) {
1644
+ const h = Lt[l];
1605
1645
  if (c === void 0 || d === void 0)
1606
1646
  continue;
1607
1647
  const p = h(c, d);
@@ -1611,11 +1651,11 @@ class ji extends ts {
1611
1651
  }
1612
1652
  return n.transformOrigin = r.transformOrigin = i ? "center center" : "top left", this.animatingProperties = a, o ? [n, r] : void 0;
1613
1653
  }
1614
- async animate(t, e = this.options.keyframeOptions) {
1654
+ async animate(t, s = this.options.keyframeOptions) {
1615
1655
  this.start(), this.frames = t;
1616
1656
  let i = !1;
1617
1657
  if (!this.isAnimating() && !this.isDisabled() && (this.options.onFrames && (this.frames = t = this.options.onFrames(this), this.log("modified frames", t)), t !== void 0)) {
1618
- this.log("animate", [t, e]), i = !0, this.webAnimation = this.element.animate(t, e);
1658
+ this.log("animate", [t, s]), i = !0, this.webAnimation = this.element.animate(t, s);
1619
1659
  const n = this.getController();
1620
1660
  n == null || n.add(this);
1621
1661
  try {
@@ -1627,42 +1667,42 @@ class ji extends ts {
1627
1667
  return this.didFinish(i), i;
1628
1668
  }
1629
1669
  isAnimating() {
1630
- var t, e;
1631
- return ((t = this.webAnimation) == null ? void 0 : t.playState) === "running" || ((e = this.webAnimation) == null ? void 0 : e.pending);
1670
+ var t, s;
1671
+ return ((t = this.webAnimation) == null ? void 0 : t.playState) === "running" || ((s = this.webAnimation) == null ? void 0 : s.pending);
1632
1672
  }
1633
- log(t, e) {
1634
- this.shouldLog && !this.isDisabled() && console.log(t, this.options.id, e);
1673
+ log(t, s) {
1674
+ this.shouldLog && !this.isDisabled() && console.log(t, this.options.id, s);
1635
1675
  }
1636
1676
  }
1637
- const Nt = wt(ji), nt = (s, t, e) => {
1638
- s && e.style.setProperty(t, s);
1639
- }, es = (s, t) => {
1640
- var e, i, n, r;
1641
- nt((e = s.colors) == null ? void 0 : e.primaryBackground, "--primary-background", t), nt(
1642
- (i = s.colors) == null ? void 0 : i.textOnPrimaryBackground,
1677
+ const Ut = xt(zi), it = (e, t, s) => {
1678
+ e && s.style.setProperty(t, e);
1679
+ }, ss = (e, t) => {
1680
+ var s, i, n, r;
1681
+ it((s = e.colors) == null ? void 0 : s.primaryBackground, "--primary-background", t), it(
1682
+ (i = e.colors) == null ? void 0 : i.textOnPrimaryBackground,
1643
1683
  "--text-on-primary-background",
1644
1684
  t
1645
- ), nt(
1646
- (n = s.colors) == null ? void 0 : n.secondaryBackground,
1685
+ ), it(
1686
+ (n = e.colors) == null ? void 0 : n.secondaryBackground,
1647
1687
  "--secondary-background",
1648
1688
  t
1649
- ), nt(
1650
- (r = s.colors) == null ? void 0 : r.textOnSecondaryBackground,
1689
+ ), it(
1690
+ (r = e.colors) == null ? void 0 : r.textOnSecondaryBackground,
1651
1691
  "--text-on-secondary-background",
1652
1692
  t
1653
1693
  );
1654
1694
  };
1655
- var Ii = Object.defineProperty, Di = Object.getOwnPropertyDescriptor, tt = (s, t, e, i) => {
1656
- for (var n = i > 1 ? void 0 : i ? Di(t, e) : t, r = s.length - 1, o; r >= 0; r--)
1657
- (o = s[r]) && (n = (i ? o(t, e, n) : o(n)) || n);
1658
- return i && n && Ii(t, e, n), n;
1695
+ var Fi = Object.defineProperty, Wi = Object.getOwnPropertyDescriptor, wt = (e, t, s, i) => {
1696
+ for (var n = i > 1 ? void 0 : i ? Wi(t, s) : t, r = e.length - 1, o; r >= 0; r--)
1697
+ (o = e[r]) && (n = (i ? o(t, s, n) : o(n)) || n);
1698
+ return i && n && Fi(t, s, n), n;
1659
1699
  };
1660
- class k extends v {
1700
+ class H extends m {
1661
1701
  constructor() {
1662
- super(...arguments), this.active = !1, this.loaded = !1, this.offset = 0, this.buttonRef = ut();
1702
+ super(...arguments), this.active = !1, this.loaded = !1, this.containerRef = pt();
1663
1703
  }
1664
1704
  async connectedCallback() {
1665
- super.connectedCallback(), this.icon = await this._renderSymbol(), this.loaded = !0, this._applyBranding(), this.offset > 0 && this.buttonRef.value && (this.buttonRef.value.style.right = `calc(${this.offset}px + 20px)`);
1705
+ super.connectedCallback(), this.icon = await this._renderSymbol(), this.loaded = !0, this._applyBranding();
1666
1706
  }
1667
1707
  _toggleActive() {
1668
1708
  var t;
@@ -1676,17 +1716,17 @@ class k extends v {
1676
1716
  }
1677
1717
  _applyBranding() {
1678
1718
  var t;
1679
- (t = this.application) != null && t.settings && es(this.application.settings.branding, this);
1719
+ (t = this.application) != null && t.settings && ss(this.application.settings.branding, this);
1680
1720
  }
1681
1721
  async _renderSymbol() {
1682
1722
  var a, l, c;
1683
- const t = (a = this.application) == null ? void 0 : a.branding(), e = (l = t == null ? void 0 : t.graphics) == null ? void 0 : l.trigger;
1684
- if (e)
1685
- return f` <img src=${e} class="trigger-icon" alt="" /> `;
1723
+ const t = (a = this.application) == null ? void 0 : a.branding(), s = (l = t == null ? void 0 : t.graphics) == null ? void 0 : l.trigger;
1724
+ if (s)
1725
+ return f` <img src=${s} class="trigger-icon" alt="" /> `;
1686
1726
  const i = (c = this.application) == null ? void 0 : c.triggerIcon;
1687
1727
  if (!i)
1688
1728
  return u;
1689
- const n = async (d) => await import("./index-7b4e9cb8.mjs").then(
1729
+ const n = async (d) => await import("./index-90369307.mjs").then(
1690
1730
  (p) => p[d]
1691
1731
  ), { type: r, content: o } = i;
1692
1732
  switch (r) {
@@ -1702,19 +1742,16 @@ class k extends v {
1702
1742
  return u;
1703
1743
  }
1704
1744
  }
1705
- setOffset(t) {
1706
- this.offset = t;
1707
- }
1708
1745
  render() {
1709
- var t, e, i, n;
1710
- return f`<div class="trigger-container">
1711
- ${!this.active && ((n = (i = (e = (t = this.application) == null ? void 0 : t.settings) == null ? void 0 : e.branding) == null ? void 0 : i.other) != null && n.showButtonLabel) ? f`
1746
+ var t, s, i, n;
1747
+ return f`<div class="trigger-container" ${ut(this.containerRef)}>
1748
+ ${!this.active && ((n = (i = (s = (t = this.application) == null ? void 0 : t.settings) == null ? void 0 : s.branding) == null ? void 0 : i.other) != null && n.showButtonLabel) ? f`
1712
1749
  <button
1713
1750
  class="trigger-label"
1714
1751
  @click=${this._toggleActive}
1715
- ${Nt({
1752
+ ${Ut({
1716
1753
  keyframeOptions: {},
1717
- in: Ri,
1754
+ in: ji,
1718
1755
  stabilizeOut: !0,
1719
1756
  skipInitial: !1
1720
1757
  })}
@@ -1724,13 +1761,12 @@ class k extends v {
1724
1761
  ` : u}
1725
1762
 
1726
1763
  <button
1727
- class=${Xt({
1764
+ class=${Zt({
1728
1765
  trigger: !0,
1729
1766
  active: this.active,
1730
1767
  rendered: this.loaded
1731
1768
  })}
1732
1769
  @click=${this._toggleActive}
1733
- ${ft(this.buttonRef)}
1734
1770
  >
1735
1771
  ${this.icon}
1736
1772
  <span class="trigger-close">
@@ -1764,8 +1800,8 @@ class k extends v {
1764
1800
  </div>`;
1765
1801
  }
1766
1802
  }
1767
- k.styles = [
1768
- _`
1803
+ H.styles = [
1804
+ b`
1769
1805
  :host {
1770
1806
  --voca-rem-multiplier: 0.625;
1771
1807
  --trigger-label-bg: #f5e0ff;
@@ -1777,9 +1813,6 @@ k.styles = [
1777
1813
  }
1778
1814
 
1779
1815
  .trigger-container {
1780
- position: fixed;
1781
- bottom: 20px;
1782
- right: 20px;
1783
1816
  display: flex;
1784
1817
  align-items: center;
1785
1818
  gap: 1rem;
@@ -1874,28 +1907,25 @@ k.styles = [
1874
1907
  }
1875
1908
  `
1876
1909
  ];
1877
- tt([
1910
+ wt([
1878
1911
  $({ attribute: !1 })
1879
- ], k.prototype, "application", 2);
1880
- tt([
1881
- x()
1882
- ], k.prototype, "active", 2);
1883
- tt([
1884
- x()
1885
- ], k.prototype, "loaded", 2);
1886
- tt([
1887
- x()
1888
- ], k.prototype, "icon", 2);
1889
- tt([
1890
- x()
1891
- ], k.prototype, "offset", 2);
1892
- var Bi = Object.defineProperty, zi = Object.getOwnPropertyDescriptor, O = (s, t, e, i) => {
1893
- for (var n = i > 1 ? void 0 : i ? zi(t, e) : t, r = s.length - 1, o; r >= 0; r--)
1894
- (o = s[r]) && (n = (i ? o(t, e, n) : o(n)) || n);
1895
- return i && n && Bi(t, e, n), n;
1912
+ ], H.prototype, "application", 2);
1913
+ wt([
1914
+ C()
1915
+ ], H.prototype, "active", 2);
1916
+ wt([
1917
+ C()
1918
+ ], H.prototype, "loaded", 2);
1919
+ wt([
1920
+ C()
1921
+ ], H.prototype, "icon", 2);
1922
+ var Gi = Object.defineProperty, qi = Object.getOwnPropertyDescriptor, T = (e, t, s, i) => {
1923
+ for (var n = i > 1 ? void 0 : i ? qi(t, s) : t, r = e.length - 1, o; r >= 0; r--)
1924
+ (o = e[r]) && (n = (i ? o(t, s, n) : o(n)) || n);
1925
+ return i && n && Gi(t, s, n), n;
1896
1926
  };
1897
- const ss = (s) => {
1898
- class t extends s {
1927
+ const is = (e) => {
1928
+ class t extends e {
1899
1929
  constructor() {
1900
1930
  super(...arguments), this.properties = {}, this.context = {}, this.layout = {}, this.nodes = [];
1901
1931
  }
@@ -1920,7 +1950,7 @@ const ss = (s) => {
1920
1950
  }
1921
1951
  return t.styles = [
1922
1952
  // (superClass as unknown as typeof LitElement).styles ?? [],
1923
- _`
1953
+ b`
1924
1954
  :host {
1925
1955
  font-family: var(--font-family);
1926
1956
  grid-column: span var(--width);
@@ -1933,29 +1963,29 @@ const ss = (s) => {
1933
1963
  box-sizing: border-box;
1934
1964
  }
1935
1965
  `
1936
- ], O([
1966
+ ], T([
1937
1967
  $()
1938
- ], t.prototype, "properties", 2), O([
1968
+ ], t.prototype, "properties", 2), T([
1939
1969
  $()
1940
- ], t.prototype, "context", 2), O([
1970
+ ], t.prototype, "context", 2), T([
1941
1971
  $()
1942
- ], t.prototype, "layout", 2), O([
1972
+ ], t.prototype, "layout", 2), T([
1943
1973
  $()
1944
- ], t.prototype, "name", 2), O([
1974
+ ], t.prototype, "name", 2), T([
1945
1975
  $()
1946
- ], t.prototype, "type", 2), O([
1976
+ ], t.prototype, "type", 2), T([
1947
1977
  $({ attribute: !1 })
1948
- ], t.prototype, "application", 2), O([
1978
+ ], t.prototype, "application", 2), T([
1949
1979
  $({ attribute: !1 })
1950
1980
  ], t.prototype, "parent", 2), t;
1951
1981
  };
1952
- class is extends ss(v) {
1982
+ class ns extends is(m) {
1953
1983
  render() {
1954
1984
  return f`Non resolved component`;
1955
1985
  }
1956
1986
  }
1957
- is.styles = [
1958
- _`
1987
+ ns.styles = [
1988
+ b`
1959
1989
  :host {
1960
1990
  display: block;
1961
1991
  }
@@ -1966,21 +1996,21 @@ is.styles = [
1966
1996
  * Copyright 2021 Google LLC
1967
1997
  * SPDX-License-Identifier: BSD-3-Clause
1968
1998
  */
1969
- function* Fi(s, t) {
1970
- if (s !== void 0) {
1971
- let e = 0;
1972
- for (const i of s)
1973
- yield t(i, e++);
1999
+ function* Zi(e, t) {
2000
+ if (e !== void 0) {
2001
+ let s = 0;
2002
+ for (const i of e)
2003
+ yield t(i, s++);
1974
2004
  }
1975
2005
  }
1976
- var Yt = /* @__PURE__ */ ((s) => (s.Inline = "inline", s.Trigger = "trigger", s))(Yt || {}), Wi = Object.defineProperty, Gi = Object.getOwnPropertyDescriptor, qi = (s, t, e, i) => {
1977
- for (var n = i > 1 ? void 0 : i ? Gi(t, e) : t, r = s.length - 1, o; r >= 0; r--)
1978
- (o = s[r]) && (n = (i ? o(t, e, n) : o(n)) || n);
1979
- return i && n && Wi(t, e, n), n;
2006
+ var Yt = /* @__PURE__ */ ((e) => (e.Inline = "inline", e.Trigger = "trigger", e))(Yt || {}), Xi = Object.defineProperty, Yi = Object.getOwnPropertyDescriptor, Ki = (e, t, s, i) => {
2007
+ for (var n = i > 1 ? void 0 : i ? Yi(t, s) : t, r = e.length - 1, o; r >= 0; r--)
2008
+ (o = e[r]) && (n = (i ? o(t, s, n) : o(n)) || n);
2009
+ return i && n && Xi(t, s, n), n;
1980
2010
  };
1981
- class Kt extends v {
2011
+ class Kt extends m {
1982
2012
  constructor() {
1983
- super(...arguments), this.nodes = [], this.wrapperRef = ut();
2013
+ super(...arguments), this.nodes = [], this.wrapperRef = pt();
1984
2014
  }
1985
2015
  addChild(t) {
1986
2016
  t.parent = this, this.nodes.push(t);
@@ -1989,26 +2019,26 @@ class Kt extends v {
1989
2019
  if (!this.wrapperRef.value)
1990
2020
  return;
1991
2021
  const t = this.application.settings;
1992
- t != null && t.branding && es(t.branding, this.wrapperRef.value);
2022
+ t != null && t.branding && ss(t.branding, this.wrapperRef.value);
1993
2023
  }
1994
2024
  applyStyles() {
1995
2025
  if (!this.wrapperRef.value)
1996
2026
  return;
1997
- const t = this.application.styles(), e = this.wrapperRef.value;
2027
+ const t = this.application.styles(), s = this.wrapperRef.value;
1998
2028
  Object.entries(t).forEach(([i, n]) => {
1999
- e.style.setProperty(`--${i}`, n);
2029
+ s.style.setProperty(`--${i}`, n);
2000
2030
  });
2001
2031
  }
2002
2032
  firstUpdated(t) {
2003
2033
  this.applyBranding(), this.applyStyles();
2004
2034
  }
2005
2035
  render() {
2006
- return this.application.renderStrategy === Yt.Trigger && this.renderRoot.host.classList.add("floating"), f`<div class="widget-container" ${ft(this.wrapperRef)}>
2007
- ${Fi(this.nodes, (t) => t)}
2036
+ return this.application.renderStrategy === Yt.Trigger && (this.renderRoot.host.classList.add("floating"), this.renderRoot.host.classList.add(this.application.anchor)), f`<div class="widget-container" ${ut(this.wrapperRef)}>
2037
+ ${Zi(this.nodes, (t) => t)}
2008
2038
  </div>`;
2009
2039
  }
2010
2040
  }
2011
- Kt.styles = _`
2041
+ Kt.styles = b`
2012
2042
  :host {
2013
2043
  --font-family: TeliaSans, Helvetica, Arial, Lucida Grande, sans-serif;
2014
2044
  --spacing-xs: 0.2rem;
@@ -2055,6 +2085,12 @@ Kt.styles = _`
2055
2085
  width: 400px;
2056
2086
  height: 700px;
2057
2087
  }
2088
+ :host(.floating.bottom-right) {
2089
+ inset: auto 20px 95px auto;
2090
+ }
2091
+ :host(.floating.bottom-left) {
2092
+ inset: auto auto 95px 20px;
2093
+ }
2058
2094
  }
2059
2095
 
2060
2096
  :host(.floating) .widget-container {
@@ -2100,15 +2136,15 @@ Kt.styles = _`
2100
2136
  animation: slideDown 0.3s linear;
2101
2137
  }
2102
2138
  `;
2103
- qi([
2139
+ Ki([
2104
2140
  $({ attribute: !1 })
2105
2141
  ], Kt.prototype, "application", 2);
2106
- var Zi = Object.defineProperty, Xi = Object.getOwnPropertyDescriptor, Qt = (s, t, e, i) => {
2107
- for (var n = i > 1 ? void 0 : i ? Xi(t, e) : t, r = s.length - 1, o; r >= 0; r--)
2108
- (o = s[r]) && (n = (i ? o(t, e, n) : o(n)) || n);
2109
- return i && n && Zi(t, e, n), n;
2142
+ var Qi = Object.defineProperty, Ji = Object.getOwnPropertyDescriptor, Qt = (e, t, s, i) => {
2143
+ for (var n = i > 1 ? void 0 : i ? Ji(t, s) : t, r = e.length - 1, o; r >= 0; r--)
2144
+ (o = e[r]) && (n = (i ? o(t, s, n) : o(n)) || n);
2145
+ return i && n && Qi(t, s, n), n;
2110
2146
  };
2111
- class et extends v {
2147
+ class tt extends m {
2112
2148
  constructor() {
2113
2149
  super(), this.status = "deactivated", this.addEventListener("environment-created", this.onEnvironmentCreated);
2114
2150
  }
@@ -2127,21 +2163,21 @@ class et extends v {
2127
2163
  async getGlobalEnvironment() {
2128
2164
  const t = globalThis.widgets;
2129
2165
  t && (this.widget = t.applications.find(
2130
- (e) => e.name === this.name
2166
+ (s) => s.name === this.name
2131
2167
  ), await this.activate());
2132
2168
  }
2133
2169
  render() {
2134
2170
  if (!this.widget || this.status !== "activated")
2135
2171
  return u;
2136
2172
  if (this.widget.renderStrategy === Yt.Trigger) {
2137
- const t = new k();
2173
+ const t = new H();
2138
2174
  return t.application = this.widget, t;
2139
2175
  }
2140
2176
  return this.widget.render();
2141
2177
  }
2142
2178
  }
2143
- et.styles = [
2144
- _`
2179
+ tt.styles = [
2180
+ b`
2145
2181
  :host {
2146
2182
  display: block;
2147
2183
  }
@@ -2149,46 +2185,47 @@ et.styles = [
2149
2185
  ];
2150
2186
  Qt([
2151
2187
  $({ attribute: !0 })
2152
- ], et.prototype, "name", 2);
2188
+ ], tt.prototype, "name", 2);
2153
2189
  Qt([
2154
- x()
2155
- ], et.prototype, "widget", 2);
2190
+ C()
2191
+ ], tt.prototype, "widget", 2);
2156
2192
  Qt([
2157
- x()
2158
- ], et.prototype, "status", 2);
2159
- customElements.get("ace-trigger") || customElements.define("ace-trigger", k);
2160
- customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", is);
2193
+ C()
2194
+ ], tt.prototype, "status", 2);
2195
+ customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", Xt);
2196
+ customElements.get("ace-trigger") || customElements.define("ace-trigger", H);
2197
+ customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", ns);
2161
2198
  customElements.get("ace-wrapper") || customElements.define("ace-wrapper", Kt);
2162
- customElements.get("ace-widget") || customElements.define("ace-widget", et);
2163
- var Yi = Object.defineProperty, Ki = Object.getOwnPropertyDescriptor, At = (s, t, e, i) => {
2164
- for (var n = i > 1 ? void 0 : i ? Ki(t, e) : t, r = s.length - 1, o; r >= 0; r--)
2165
- (o = s[r]) && (n = (i ? o(t, e, n) : o(n)) || n);
2166
- return i && n && Yi(t, e, n), n;
2199
+ customElements.get("ace-widget") || customElements.define("ace-widget", tt);
2200
+ var Vi = Object.defineProperty, tn = Object.getOwnPropertyDescriptor, Ct = (e, t, s, i) => {
2201
+ for (var n = i > 1 ? void 0 : i ? tn(t, s) : t, r = e.length - 1, o; r >= 0; r--)
2202
+ (o = e[r]) && (n = (i ? o(t, s, n) : o(n)) || n);
2203
+ return i && n && Vi(t, s, n), n;
2167
2204
  };
2168
- let z = class extends v {
2205
+ let B = class extends m {
2169
2206
  constructor() {
2170
2207
  super(...arguments), this.loading = !0, this.entries = [];
2171
2208
  }
2172
2209
  connectedCallback() {
2173
- super.connectedCallback(), this.session.entries().subscribe((s) => {
2174
- this.entries = s;
2175
- }), this.session.isTyping().subscribe((s) => {
2176
- this.loading = s;
2210
+ super.connectedCallback(), this.session.entries().subscribe((e) => {
2211
+ this.entries = e;
2212
+ }), this.session.isTyping().subscribe((e) => {
2213
+ this.loading = e;
2177
2214
  });
2178
2215
  }
2179
- updated(s) {
2216
+ updated(e) {
2180
2217
  const t = new CustomEvent("updated", {});
2181
2218
  this.dispatchEvent(t);
2182
2219
  }
2183
2220
  render() {
2184
2221
  return f`<div class="conversation-session">
2185
2222
  ${this.entries.map(
2186
- (s) => f`<div class="conversation-entry" tabindex="-1">
2223
+ (e) => f`<div class="conversation-entry" tabindex="-1">
2187
2224
  <conversation-entry
2188
- .entry=${s}
2189
- ${Nt({
2225
+ .entry=${e}
2226
+ ${Ut({
2190
2227
  keyframeOptions: {},
2191
- in: Ce,
2228
+ in: Se,
2192
2229
  stabilizeOut: !0,
2193
2230
  skipInitial: !1
2194
2231
  })}
@@ -2197,10 +2234,10 @@ let z = class extends v {
2197
2234
  </div>`
2198
2235
  )}
2199
2236
  ${this.loading ? f`<ace-typing-state
2200
- ${Nt({
2237
+ ${Ut({
2201
2238
  keyframeOptions: {},
2202
- in: Ce,
2203
- out: Ui,
2239
+ in: Se,
2240
+ out: Di,
2204
2241
  stabilizeOut: !0,
2205
2242
  skipInitial: !1
2206
2243
  })}
@@ -2208,8 +2245,8 @@ let z = class extends v {
2208
2245
  </div> `;
2209
2246
  }
2210
2247
  };
2211
- z.styles = [
2212
- _`
2248
+ B.styles = [
2249
+ b`
2213
2250
  :host {
2214
2251
  display: block;
2215
2252
  }
@@ -2221,50 +2258,50 @@ z.styles = [
2221
2258
  }
2222
2259
  `
2223
2260
  ];
2224
- At([
2261
+ Ct([
2225
2262
  $({ type: Boolean })
2226
- ], z.prototype, "loading", 2);
2227
- At([
2263
+ ], B.prototype, "loading", 2);
2264
+ Ct([
2228
2265
  $({ attribute: !1 })
2229
- ], z.prototype, "session", 2);
2230
- At([
2231
- x()
2232
- ], z.prototype, "entries", 2);
2233
- z = At([
2266
+ ], B.prototype, "session", 2);
2267
+ Ct([
2268
+ C()
2269
+ ], B.prototype, "entries", 2);
2270
+ B = Ct([
2234
2271
  V("ace-conversation-session")
2235
- ], z);
2236
- var Qi = Object.defineProperty, Ji = Object.getOwnPropertyDescriptor, ns = (s, t, e, i) => {
2237
- for (var n = i > 1 ? void 0 : i ? Ji(t, e) : t, r = s.length - 1, o; r >= 0; r--)
2238
- (o = s[r]) && (n = (i ? o(t, e, n) : o(n)) || n);
2239
- return i && n && Qi(t, e, n), n;
2272
+ ], B);
2273
+ var en = Object.defineProperty, sn = Object.getOwnPropertyDescriptor, rs = (e, t, s, i) => {
2274
+ for (var n = i > 1 ? void 0 : i ? sn(t, s) : t, r = e.length - 1, o; r >= 0; r--)
2275
+ (o = e[r]) && (n = (i ? o(t, s, n) : o(n)) || n);
2276
+ return i && n && en(t, s, n), n;
2240
2277
  };
2241
- let gt = class extends v {
2278
+ let ft = class extends m {
2242
2279
  connectedCallback() {
2243
- var s;
2244
- super.connectedCallback(), (s = this.entry.didUpdate) == null || s.subscribe(() => {
2280
+ var e;
2281
+ super.connectedCallback(), (e = this.entry.didUpdate) == null || e.subscribe(() => {
2245
2282
  this.requestUpdate();
2246
2283
  });
2247
2284
  }
2248
- _renderTimestamp(s, t) {
2249
- if (!s && !t)
2285
+ _renderTimestamp(e, t) {
2286
+ if (!e && !t)
2250
2287
  return u;
2251
- const e = (n) => new Date(n).toLocaleTimeString([], {
2288
+ const s = (n) => new Date(n).toLocaleTimeString([], {
2252
2289
  hour: "2-digit",
2253
2290
  minute: "2-digit"
2254
2291
  });
2255
2292
  let i = "";
2256
- return s ? t ? i = `${s}: ${e(t)}` : i = s : t && (i = e(t)), f`<p class="conversation-timestamp">${i}</p>`;
2293
+ return e ? t ? i = `${e}: ${s(t)}` : i = e : t && (i = s(t)), f`<p class="conversation-timestamp">${i}</p>`;
2257
2294
  }
2258
2295
  render() {
2259
- var s, t;
2296
+ var e, t;
2260
2297
  switch (this.entry.type) {
2261
- case St.System:
2298
+ case At.System:
2262
2299
  return "";
2263
- case St.Agent:
2300
+ case At.Agent:
2264
2301
  return f`<div
2265
- class=${Xt({
2302
+ class=${Zt({
2266
2303
  "conversation-agent-message": !0,
2267
- "has-avatar": !!((s = this.entry.sender) != null && s.avatar)
2304
+ "has-avatar": !!((e = this.entry.sender) != null && e.avatar)
2268
2305
  })}
2269
2306
  >
2270
2307
  ${typeof ((t = this.entry.sender) == null ? void 0 : t.avatar) == "string" ? f`<div class="avatar">
@@ -2273,10 +2310,10 @@ let gt = class extends v {
2273
2310
 
2274
2311
  <div class="entry-content">
2275
2312
  ${this.entry.messages.map(
2276
- (e) => f`
2313
+ (s) => f`
2277
2314
  <div class="message-container">
2278
2315
  <div class="message-content">
2279
- <conversation-group .group=${e}></conversation-group>
2316
+ <conversation-group .group=${s}></conversation-group>
2280
2317
  </div>
2281
2318
  </div>
2282
2319
  `
@@ -2287,14 +2324,14 @@ let gt = class extends v {
2287
2324
  this.entry.timestamp
2288
2325
  )}
2289
2326
  </div>`;
2290
- case St.User:
2327
+ case At.User:
2291
2328
  return f`<div class="conversation-user-message">
2292
2329
  <div class="entry-content">
2293
2330
  ${this.entry.messages.map(
2294
- (e) => f`
2331
+ (s) => f`
2295
2332
  <div class="message-container">
2296
2333
  <div class="message-content">
2297
- <conversation-group .group=${e}></conversation-group>
2334
+ <conversation-group .group=${s}></conversation-group>
2298
2335
  </div>
2299
2336
  </div>
2300
2337
  `
@@ -2310,8 +2347,8 @@ let gt = class extends v {
2310
2347
  }
2311
2348
  }
2312
2349
  };
2313
- gt.styles = [
2314
- _`
2350
+ ft.styles = [
2351
+ b`
2315
2352
  :host {
2316
2353
  box-sizing: border-box;
2317
2354
  display: block;
@@ -2395,24 +2432,24 @@ gt.styles = [
2395
2432
  }
2396
2433
  `
2397
2434
  ];
2398
- ns([
2435
+ rs([
2399
2436
  $({ attribute: !1 })
2400
- ], gt.prototype, "entry", 2);
2401
- gt = ns([
2437
+ ], ft.prototype, "entry", 2);
2438
+ ft = rs([
2402
2439
  V("conversation-entry")
2403
- ], gt);
2404
- var Vi = Object.defineProperty, tn = Object.getOwnPropertyDescriptor, rs = (s, t, e, i) => {
2405
- for (var n = i > 1 ? void 0 : i ? tn(t, e) : t, r = s.length - 1, o; r >= 0; r--)
2406
- (o = s[r]) && (n = (i ? o(t, e, n) : o(n)) || n);
2407
- return i && n && Vi(t, e, n), n;
2440
+ ], ft);
2441
+ var nn = Object.defineProperty, rn = Object.getOwnPropertyDescriptor, os = (e, t, s, i) => {
2442
+ for (var n = i > 1 ? void 0 : i ? rn(t, s) : t, r = e.length - 1, o; r >= 0; r--)
2443
+ (o = e[r]) && (n = (i ? o(t, s, n) : o(n)) || n);
2444
+ return i && n && nn(t, s, n), n;
2408
2445
  };
2409
- let $t = class extends v {
2446
+ let gt = class extends m {
2410
2447
  render() {
2411
2448
  return f`
2412
2449
  <div class="message-group">
2413
2450
  ${this.group.items.map(
2414
- ([s, t]) => f`
2415
- ${s === "html" ? f`
2451
+ ([e, t]) => f`
2452
+ ${e === "html" ? f`
2416
2453
  <message-type-html .message=${t}></message-type-html>
2417
2454
  ` : u}
2418
2455
  `
@@ -2421,8 +2458,8 @@ let $t = class extends v {
2421
2458
  `;
2422
2459
  }
2423
2460
  };
2424
- $t.styles = [
2425
- _`
2461
+ gt.styles = [
2462
+ b`
2426
2463
  :host {
2427
2464
  box-sizing: border-box;
2428
2465
  display: block;
@@ -2437,18 +2474,18 @@ $t.styles = [
2437
2474
  }
2438
2475
  `
2439
2476
  ];
2440
- rs([
2477
+ os([
2441
2478
  $({ attribute: !1 })
2442
- ], $t.prototype, "group", 2);
2443
- $t = rs([
2479
+ ], gt.prototype, "group", 2);
2480
+ gt = os([
2444
2481
  V("conversation-group")
2445
- ], $t);
2446
- var en = Object.defineProperty, sn = Object.getOwnPropertyDescriptor, nn = (s, t, e, i) => {
2447
- for (var n = i > 1 ? void 0 : i ? sn(t, e) : t, r = s.length - 1, o; r >= 0; r--)
2448
- (o = s[r]) && (n = (i ? o(t, e, n) : o(n)) || n);
2449
- return i && n && en(t, e, n), n;
2482
+ ], gt);
2483
+ var on = Object.defineProperty, an = Object.getOwnPropertyDescriptor, ln = (e, t, s, i) => {
2484
+ for (var n = i > 1 ? void 0 : i ? an(t, s) : t, r = e.length - 1, o; r >= 0; r--)
2485
+ (o = e[r]) && (n = (i ? o(t, s, n) : o(n)) || n);
2486
+ return i && n && on(t, s, n), n;
2450
2487
  };
2451
- let jt = class extends v {
2488
+ let Nt = class extends m {
2452
2489
  render() {
2453
2490
  return f`<div class="container">
2454
2491
  <div class="dot"></div>
@@ -2457,8 +2494,8 @@ let jt = class extends v {
2457
2494
  </div>`;
2458
2495
  }
2459
2496
  };
2460
- jt.styles = [
2461
- _`
2497
+ Nt.styles = [
2498
+ b`
2462
2499
  :host {
2463
2500
  display: block;
2464
2501
  }
@@ -2494,17 +2531,17 @@ jt.styles = [
2494
2531
  }
2495
2532
  `
2496
2533
  ];
2497
- jt = nn([
2534
+ Nt = ln([
2498
2535
  V("ace-typing-state")
2499
- ], jt);
2536
+ ], Nt);
2500
2537
  /**
2501
2538
  * @license
2502
2539
  * Copyright 2017 Google LLC
2503
2540
  * SPDX-License-Identifier: BSD-3-Clause
2504
2541
  */
2505
- class It extends Zt {
2542
+ class jt extends qt {
2506
2543
  constructor(t) {
2507
- if (super(t), this.et = u, t.type !== xt.CHILD)
2544
+ if (super(t), this.et = u, t.type !== _t.CHILD)
2508
2545
  throw Error(this.constructor.directiveName + "() can only be used in child bindings");
2509
2546
  }
2510
2547
  render(t) {
@@ -2517,26 +2554,26 @@ class It extends Zt {
2517
2554
  if (t === this.et)
2518
2555
  return this.vt;
2519
2556
  this.et = t;
2520
- const e = [t];
2521
- return e.raw = e, this.vt = { _$litType$: this.constructor.resultType, strings: e, values: [] };
2557
+ const s = [t];
2558
+ return s.raw = s, this.vt = { _$litType$: this.constructor.resultType, strings: s, values: [] };
2522
2559
  }
2523
2560
  }
2524
- It.directiveName = "unsafeHTML", It.resultType = 1;
2525
- const rn = wt(It);
2526
- var on = Object.defineProperty, an = Object.getOwnPropertyDescriptor, os = (s, t, e, i) => {
2527
- for (var n = i > 1 ? void 0 : i ? an(t, e) : t, r = s.length - 1, o; r >= 0; r--)
2528
- (o = s[r]) && (n = (i ? o(t, e, n) : o(n)) || n);
2529
- return i && n && on(t, e, n), n;
2561
+ jt.directiveName = "unsafeHTML", jt.resultType = 1;
2562
+ const cn = xt(jt);
2563
+ var dn = Object.defineProperty, hn = Object.getOwnPropertyDescriptor, as = (e, t, s, i) => {
2564
+ for (var n = i > 1 ? void 0 : i ? hn(t, s) : t, r = e.length - 1, o; r >= 0; r--)
2565
+ (o = e[r]) && (n = (i ? o(t, s, n) : o(n)) || n);
2566
+ return i && n && dn(t, s, n), n;
2530
2567
  };
2531
- let mt = class extends v {
2568
+ let $t = class extends m {
2532
2569
  render() {
2533
2570
  return f`<div class="message-type-html">
2534
- ${rn(this.message.content)}
2571
+ ${cn(this.message.content)}
2535
2572
  </div>`;
2536
2573
  }
2537
2574
  };
2538
- mt.styles = [
2539
- _`
2575
+ $t.styles = [
2576
+ b`
2540
2577
  :host {
2541
2578
  box-sizing: border-box;
2542
2579
  }
@@ -2550,23 +2587,23 @@ mt.styles = [
2550
2587
  }
2551
2588
  `
2552
2589
  ];
2553
- os([
2590
+ as([
2554
2591
  $({ attribute: !1 })
2555
- ], mt.prototype, "message", 2);
2556
- mt = os([
2592
+ ], $t.prototype, "message", 2);
2593
+ $t = as([
2557
2594
  V("message-type-html")
2558
- ], mt);
2559
- var ln = Object.defineProperty, cn = Object.getOwnPropertyDescriptor, Ct = (s, t, e, i) => {
2560
- for (var n = i > 1 ? void 0 : i ? cn(t, e) : t, r = s.length - 1, o; r >= 0; r--)
2561
- (o = s[r]) && (n = (i ? o(t, e, n) : o(n)) || n);
2562
- return i && n && ln(t, e, n), n;
2595
+ ], $t);
2596
+ var pn = Object.defineProperty, un = Object.getOwnPropertyDescriptor, Jt = (e, t, s, i) => {
2597
+ for (var n = i > 1 ? void 0 : i ? un(t, s) : t, r = e.length - 1, o; r >= 0; r--)
2598
+ (o = e[r]) && (n = (i ? o(t, s, n) : o(n)) || n);
2599
+ return i && n && pn(t, s, n), n;
2563
2600
  };
2564
- const dn = (s) => {
2565
- s.scrollTo ? s.scrollTo({ top: s.scrollHeight, behavior: "smooth" }) : s.scrollTop = s.scrollHeight;
2566
- }, as = ss(v);
2567
- class R extends as {
2601
+ const fn = (e) => {
2602
+ e.scrollTo ? e.scrollTo({ top: e.scrollHeight, behavior: "smooth" }) : e.scrollTop = e.scrollHeight;
2603
+ }, ls = is(m);
2604
+ class z extends ls {
2568
2605
  constructor() {
2569
- super(...arguments), this.message = "", this.muted = !1, this.platform = null, this.session = null, this.conversationContentRef = ut(), this.formRef = ut(), this.chatScrollHeight = 0;
2606
+ super(...arguments), this.message = "", this.platform = null, this.session = null, this.conversationContentRef = pt(), this.formRef = pt(), this.chatScrollHeight = 0;
2570
2607
  }
2571
2608
  async connectedCallback() {
2572
2609
  super.connectedCallback();
@@ -2584,20 +2621,20 @@ class R extends as {
2584
2621
  }, 500);
2585
2622
  return;
2586
2623
  }
2587
- const e = new CustomEvent("user-submit", {
2624
+ const s = new CustomEvent("user-submit", {
2588
2625
  detail: { text: this.message }
2589
2626
  });
2590
- this.dispatchEvent(e), this.message = "";
2627
+ this.dispatchEvent(s), this.message = "";
2591
2628
  }
2592
2629
  _addHeaderOptions() {
2593
2630
  const t = this.application.getComponent("widget-header");
2594
2631
  if (!t)
2595
2632
  return;
2596
- const e = t.addOption({
2597
- label: this.muted ? "Unmute" : "Mute",
2598
- icon: this.muted ? ce.svg : le.svg,
2633
+ const i = !!this.application.branding().other.disableSound, n = t.addOption({
2634
+ label: i ? "Unmute" : "Mute",
2635
+ icon: i ? de.svg : ce.svg,
2599
2636
  onClick: () => {
2600
- this.muted = !this.muted, this.muted ? (e.updateLabel("Unmute"), e.updateIcon(ce.svg)) : (e.updateLabel("Mute"), e.updateIcon(le.svg));
2637
+ !!this.application.branding().other.disableSound ? (this.application.unmute(), n.updateLabel("Mute"), n.updateIcon(de.svg)) : (this.application.mute(), n.updateLabel("Unmute"), n.updateIcon(ce.svg));
2601
2638
  }
2602
2639
  });
2603
2640
  }
@@ -2609,19 +2646,19 @@ class R extends as {
2609
2646
  onSessionUpdated() {
2610
2647
  const t = this.conversationContentRef.value;
2611
2648
  t && setTimeout(() => {
2612
- const e = t.scrollHeight;
2613
- e > this.chatScrollHeight && (dn(t), this.chatScrollHeight = e);
2649
+ const s = t.scrollHeight;
2650
+ s > this.chatScrollHeight && (fn(t), this.chatScrollHeight = s);
2614
2651
  }, 1e3);
2615
2652
  }
2616
2653
  render() {
2617
2654
  return f` <div
2618
2655
  @action=${this._actionHandler}
2619
- class=${Xt({
2656
+ class=${Zt({
2620
2657
  conversation: !0,
2621
2658
  "input-has-text": this.message.length > 0
2622
2659
  })}
2623
2660
  >
2624
- <div class="conversation-content" ${ft(this.conversationContentRef)}>
2661
+ <div class="conversation-content" ${ut(this.conversationContentRef)}>
2625
2662
  ${this.session ? f`<ace-conversation-session
2626
2663
  @updated=${this.onSessionUpdated}
2627
2664
  .session=${this.session}
@@ -2630,7 +2667,7 @@ class R extends as {
2630
2667
  <form
2631
2668
  class="conversation-bottom"
2632
2669
  @submit=${this._onSendMessage}
2633
- ${ft(this.formRef)}
2670
+ ${ut(this.formRef)}
2634
2671
  >
2635
2672
  <input
2636
2673
  placeholder=${this.properties.inputPlaceholder || "Type your message here..."}
@@ -2639,16 +2676,16 @@ class R extends as {
2639
2676
  />
2640
2677
  <div class="conversation-actions">
2641
2678
  <button class="conversation-send-button" type="submit">
2642
- <telia-icon svg=${Es.svg}></telia-icon>
2679
+ <telia-icon svg=${ks.svg}></telia-icon>
2643
2680
  </button>
2644
2681
  </div>
2645
2682
  </form>
2646
2683
  </div>`;
2647
2684
  }
2648
2685
  }
2649
- R.styles = [
2650
- as.styles || [],
2651
- _`
2686
+ z.styles = [
2687
+ ls.styles || [],
2688
+ b`
2652
2689
  :host {
2653
2690
  font-family: var(--font-family);
2654
2691
  /* --send-icon-color: var(--gray-dark-color, #a6a6a6); */
@@ -2780,26 +2817,23 @@ R.styles = [
2780
2817
  }
2781
2818
  `
2782
2819
  ];
2783
- Ct([
2784
- x()
2785
- ], R.prototype, "message", 2);
2786
- Ct([
2787
- x()
2788
- ], R.prototype, "muted", 2);
2789
- Ct([
2790
- x()
2791
- ], R.prototype, "platform", 2);
2792
- Ct([
2793
- x()
2794
- ], R.prototype, "session", 2);
2795
- const vn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2820
+ Jt([
2821
+ C()
2822
+ ], z.prototype, "message", 2);
2823
+ Jt([
2824
+ C()
2825
+ ], z.prototype, "platform", 2);
2826
+ Jt([
2827
+ C()
2828
+ ], z.prototype, "session", 2);
2829
+ const xn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2796
2830
  __proto__: null,
2797
- Conversation: R,
2798
- default: R
2831
+ Conversation: z,
2832
+ default: z
2799
2833
  }, Symbol.toStringTag, { value: "Module" }));
2800
2834
  export {
2801
- vn as c,
2802
- le as m,
2803
- Es as s,
2804
- ce as v
2835
+ xn as c,
2836
+ ce as m,
2837
+ ks as s,
2838
+ de as v
2805
2839
  };