@telia-ace/widget-conversation-flamingo 1.1.37 → 1.1.38-rc.1
Sign up to get free protection for your applications and to get access to all the features.
- package/{conversation-2fb2cb03.mjs → conversation-29bea177.mjs} +276 -285
- package/{conversation-1aaef607.js → conversation-e8aa867e.js} +40 -40
- package/index.js +2 -2
- package/index.mjs +433 -433
- package/package.json +2 -2
- package/index-be7cbf2b.mjs +0 -337
- package/index-e34200b2.js +0 -1
@@ -5,7 +5,7 @@ import { ConversationMessageType as St } from "./index.mjs";
|
|
5
5
|
* SPDX-License-Identifier: BSD-3-Clause
|
6
6
|
*/
|
7
7
|
const nt = globalThis, Dt = nt.ShadowRoot && (nt.ShadyCSS === void 0 || nt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Bt = Symbol(), Vt = /* @__PURE__ */ new WeakMap();
|
8
|
-
let
|
8
|
+
let Le = class {
|
9
9
|
constructor(t, e, i) {
|
10
10
|
if (this._$cssResult$ = !0, i !== Bt)
|
11
11
|
throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
@@ -24,7 +24,7 @@ let Pe = class {
|
|
24
24
|
return this.cssText;
|
25
25
|
}
|
26
26
|
};
|
27
|
-
const cs = (s) => new
|
27
|
+
const cs = (s) => new Le(typeof s == "string" ? s : s + "", void 0, Bt), b = (s, ...t) => {
|
28
28
|
const e = s.length === 1 ? s[0] : t.reduce((i, n, o) => i + ((r) => {
|
29
29
|
if (r._$cssResult$ === !0)
|
30
30
|
return r.cssText;
|
@@ -32,7 +32,7 @@ const cs = (s) => new Pe(typeof s == "string" ? s : s + "", void 0, Bt), b = (s,
|
|
32
32
|
return r;
|
33
33
|
throw Error("Value passed to 'css' function must be a 'css' function result: " + r + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
34
34
|
})(n) + s[o + 1], s[0]);
|
35
|
-
return new
|
35
|
+
return new Le(e, s, Bt);
|
36
36
|
}, ds = (s, t) => {
|
37
37
|
if (Dt)
|
38
38
|
s.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
@@ -52,7 +52,7 @@ const cs = (s) => new Pe(typeof s == "string" ? s : s + "", void 0, Bt), b = (s,
|
|
52
52
|
* Copyright 2017 Google LLC
|
53
53
|
* SPDX-License-Identifier: BSD-3-Clause
|
54
54
|
*/
|
55
|
-
const { is: hs, defineProperty: ps, getOwnPropertyDescriptor: us, getOwnPropertyNames: fs, getOwnPropertySymbols: gs, getPrototypeOf: $s } = Object, S = globalThis, ee = S.trustedTypes, ms = ee ? ee.emptyScript : "", Et = S.reactiveElementPolyfillSupport,
|
55
|
+
const { is: hs, defineProperty: ps, getOwnPropertyDescriptor: us, getOwnPropertyNames: fs, getOwnPropertySymbols: gs, getPrototypeOf: $s } = Object, S = globalThis, ee = S.trustedTypes, ms = ee ? ee.emptyScript : "", Et = S.reactiveElementPolyfillSupport, F = (s, t) => s, ot = { toAttribute(s, t) {
|
56
56
|
switch (t) {
|
57
57
|
case Boolean:
|
58
58
|
s = s ? ms : null;
|
@@ -82,7 +82,7 @@ const { is: hs, defineProperty: ps, getOwnPropertyDescriptor: us, getOwnProperty
|
|
82
82
|
return e;
|
83
83
|
} }, zt = (s, t) => !hs(s, t), se = { attribute: !0, type: String, converter: ot, reflect: !1, hasChanged: zt };
|
84
84
|
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), S.litPropertyMetadata ?? (S.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
85
|
-
let
|
85
|
+
let R = class extends HTMLElement {
|
86
86
|
static addInitializer(t) {
|
87
87
|
this._$Ei(), (this.l ?? (this.l = [])).push(t);
|
88
88
|
}
|
@@ -112,15 +112,15 @@ let M = class extends HTMLElement {
|
|
112
112
|
return this.elementProperties.get(t) ?? se;
|
113
113
|
}
|
114
114
|
static _$Ei() {
|
115
|
-
if (this.hasOwnProperty(
|
115
|
+
if (this.hasOwnProperty(F("elementProperties")))
|
116
116
|
return;
|
117
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
|
-
if (this.hasOwnProperty(
|
121
|
+
if (this.hasOwnProperty(F("finalized")))
|
122
122
|
return;
|
123
|
-
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(
|
123
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(F("properties"))) {
|
124
124
|
const e = this.properties, i = [...fs(e), ...gs(e)];
|
125
125
|
for (const n of i)
|
126
126
|
this.createProperty(n, e[n]);
|
@@ -293,15 +293,15 @@ let M = class extends HTMLElement {
|
|
293
293
|
firstUpdated(t) {
|
294
294
|
}
|
295
295
|
};
|
296
|
-
|
296
|
+
R.elementStyles = [], R.shadowRootOptions = { mode: "open" }, R[F("elementProperties")] = /* @__PURE__ */ new Map(), R[F("finalized")] = /* @__PURE__ */ new Map(), Et == null || Et({ 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
|
303
|
-
\f\r]`,
|
304
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), re = /'/g, ae = /"/g,
|
302
|
+
const W = globalThis, rt = W.trustedTypes, ie = rt ? rt.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, Pe = "$lit$", A = `lit$${(Math.random() + "").slice(9)}$`, Me = "?" + A, vs = `<${Me}>`, L = document, Z = () => L.createComment(""), q = (s) => s === null || typeof s != "object" && typeof s != "function", Re = Array.isArray, ys = (s) => Re(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", kt = `[
|
303
|
+
\f\r]`, z = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ne = /-->/g, oe = />/g, k = RegExp(`>|${kt}(?:([^\\s"'>=/]+)(${kt}*=${kt}*(?:[^
|
304
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), re = /'/g, ae = /"/g, He = /^(?:script|style|textarea|title)$/i, bs = (s) => (t, ...e) => ({ _$litType$: s, strings: t, values: e }), f = bs(1), E = Symbol.for("lit-noChange"), u = Symbol.for("lit-nothing"), le = /* @__PURE__ */ new WeakMap(), O = L.createTreeWalker(L, 129);
|
305
305
|
function Ue(s, t) {
|
306
306
|
if (!Array.isArray(s) || !s.hasOwnProperty("raw"))
|
307
307
|
throw Error("invalid template strings array");
|
@@ -309,24 +309,24 @@ function Ue(s, t) {
|
|
309
309
|
}
|
310
310
|
const _s = (s, t) => {
|
311
311
|
const e = s.length - 1, i = [];
|
312
|
-
let n, o = t === 2 ? "<svg>" : "", r =
|
312
|
+
let n, o = t === 2 ? "<svg>" : "", r = z;
|
313
313
|
for (let a = 0; a < e; a++) {
|
314
314
|
const l = s[a];
|
315
315
|
let c, d, h = -1, p = 0;
|
316
316
|
for (; p < l.length && (r.lastIndex = p, d = r.exec(l), d !== null); )
|
317
|
-
p = r.lastIndex, r ===
|
317
|
+
p = r.lastIndex, r === z ? d[1] === "!--" ? r = ne : d[1] !== void 0 ? r = oe : d[2] !== void 0 ? (He.test(d[2]) && (n = RegExp("</" + d[2], "g")), r = k) : d[3] !== void 0 && (r = k) : r === k ? d[0] === ">" ? (r = n ?? z, h = -1) : d[1] === void 0 ? h = -2 : (h = r.lastIndex - d[2].length, c = d[1], r = d[3] === void 0 ? k : d[3] === '"' ? ae : re) : r === ae || r === re ? r = k : r === ne || r === oe ? r = z : (r = k, n = void 0);
|
318
318
|
const g = r === k && s[a + 1].startsWith("/>") ? " " : "";
|
319
|
-
o += r ===
|
319
|
+
o += r === z ? l + vs : h >= 0 ? (i.push(c), l.slice(0, h) + Pe + l.slice(h) + A + g) : l + A + (h === -2 ? a : g);
|
320
320
|
}
|
321
321
|
return [Ue(s, o + (s[e] || "<?>") + (t === 2 ? "</svg>" : "")), i];
|
322
322
|
};
|
323
|
-
class
|
323
|
+
class X {
|
324
324
|
constructor({ strings: t, _$litType$: e }, i) {
|
325
325
|
let n;
|
326
326
|
this.parts = [];
|
327
327
|
let o = 0, r = 0;
|
328
328
|
const a = t.length - 1, l = this.parts, [c, d] = _s(t, e);
|
329
|
-
if (this.el =
|
329
|
+
if (this.el = X.createElement(c, i), O.currentNode = this.el.content, e === 2) {
|
330
330
|
const h = this.el.content.firstChild;
|
331
331
|
h.replaceWith(...h.childNodes);
|
332
332
|
}
|
@@ -334,12 +334,12 @@ class Y {
|
|
334
334
|
if (n.nodeType === 1) {
|
335
335
|
if (n.hasAttributes())
|
336
336
|
for (const h of n.getAttributeNames())
|
337
|
-
if (h.endsWith(
|
337
|
+
if (h.endsWith(Pe)) {
|
338
338
|
const p = d[r++], g = n.getAttribute(h).split(A), x = /([.?@])?(.*)/.exec(p);
|
339
339
|
l.push({ type: 1, index: o, name: x[2], strings: g, ctor: x[1] === "." ? ws : x[1] === "?" ? Cs : x[1] === "@" ? As : mt }), n.removeAttribute(h);
|
340
340
|
} else
|
341
341
|
h.startsWith(A) && (l.push({ type: 6, index: o }), n.removeAttribute(h));
|
342
|
-
if (
|
342
|
+
if (He.test(n.tagName)) {
|
343
343
|
const h = n.textContent.split(A), p = h.length - 1;
|
344
344
|
if (p > 0) {
|
345
345
|
n.textContent = rt ? rt.emptyScript : "";
|
@@ -349,7 +349,7 @@ class Y {
|
|
349
349
|
}
|
350
350
|
}
|
351
351
|
} else if (n.nodeType === 8)
|
352
|
-
if (n.data ===
|
352
|
+
if (n.data === Me)
|
353
353
|
l.push({ type: 2, index: o });
|
354
354
|
else {
|
355
355
|
let h = -1;
|
@@ -360,17 +360,17 @@ class Y {
|
|
360
360
|
}
|
361
361
|
}
|
362
362
|
static createElement(t, e) {
|
363
|
-
const i =
|
363
|
+
const i = L.createElement("template");
|
364
364
|
return i.innerHTML = t, i;
|
365
365
|
}
|
366
366
|
}
|
367
|
-
function
|
367
|
+
function D(s, t, e = s, i) {
|
368
368
|
var r, a;
|
369
369
|
if (t === E)
|
370
370
|
return t;
|
371
371
|
let n = i !== void 0 ? (r = e._$Co) == null ? void 0 : r[i] : e._$Cl;
|
372
|
-
const o =
|
373
|
-
return (n == null ? void 0 : n.constructor) !== o && ((a = n == null ? void 0 : n._$AO) == null || a.call(n, !1), o === void 0 ? n = void 0 : (n = new o(s), n._$AT(s, e, i)), i !== void 0 ? (e._$Co ?? (e._$Co = []))[i] = n : e._$Cl = n), n !== void 0 && (t =
|
372
|
+
const o = q(t) ? void 0 : t._$litDirective$;
|
373
|
+
return (n == null ? void 0 : n.constructor) !== o && ((a = n == null ? void 0 : n._$AO) == null || a.call(n, !1), o === void 0 ? n = void 0 : (n = new o(s), n._$AT(s, e, i)), i !== void 0 ? (e._$Co ?? (e._$Co = []))[i] = n : e._$Cl = n), n !== void 0 && (t = D(s, n._$AS(s, t.values), n, i)), t;
|
374
374
|
}
|
375
375
|
class xs {
|
376
376
|
constructor(t, e) {
|
@@ -383,17 +383,17 @@ class xs {
|
|
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) ??
|
386
|
+
const { el: { content: e }, parts: i } = this._$AD, n = ((t == null ? void 0 : t.creationScope) ?? L).importNode(e, !0);
|
387
387
|
O.currentNode = n;
|
388
388
|
let o = O.nextNode(), r = 0, a = 0, l = i[0];
|
389
389
|
for (; l !== void 0; ) {
|
390
390
|
if (r === l.index) {
|
391
391
|
let c;
|
392
|
-
l.type === 2 ? c = new
|
392
|
+
l.type === 2 ? c = new K(o, o.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(o, l.name, l.strings, this, t) : l.type === 6 && (c = new Ss(o, this, t)), this._$AV.push(c), l = i[++a];
|
393
393
|
}
|
394
394
|
r !== (l == null ? void 0 : l.index) && (o = O.nextNode(), r++);
|
395
395
|
}
|
396
|
-
return O.currentNode =
|
396
|
+
return O.currentNode = L, n;
|
397
397
|
}
|
398
398
|
p(t) {
|
399
399
|
let e = 0;
|
@@ -401,7 +401,7 @@ class xs {
|
|
401
401
|
i !== void 0 && (i.strings !== void 0 ? (i._$AI(t, i, e), e += i.strings.length - 2) : i._$AI(t[e])), e++;
|
402
402
|
}
|
403
403
|
}
|
404
|
-
class
|
404
|
+
class K {
|
405
405
|
get _$AU() {
|
406
406
|
var t;
|
407
407
|
return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
|
@@ -421,7 +421,7 @@ class Q {
|
|
421
421
|
return this._$AB;
|
422
422
|
}
|
423
423
|
_$AI(t, e = this) {
|
424
|
-
t =
|
424
|
+
t = D(this, t, e), q(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,11 +430,11 @@ class Q {
|
|
430
430
|
this._$AH !== t && (this._$AR(), this._$AH = this.k(t));
|
431
431
|
}
|
432
432
|
_(t) {
|
433
|
-
this._$AH !== u &&
|
433
|
+
this._$AH !== u && q(this._$AH) ? this._$AA.nextSibling.data = t : this.$(L.createTextNode(t)), this._$AH = t;
|
434
434
|
}
|
435
435
|
g(t) {
|
436
436
|
var o;
|
437
|
-
const { values: e, _$litType$: i } = t, n = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el =
|
437
|
+
const { values: e, _$litType$: i } = t, n = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = X.createElement(Ue(i.h, i.h[0]), this.options)), i);
|
438
438
|
if (((o = this._$AH) == null ? void 0 : o._$AD) === n)
|
439
439
|
this._$AH.p(e);
|
440
440
|
else {
|
@@ -444,14 +444,14 @@ class Q {
|
|
444
444
|
}
|
445
445
|
_$AC(t) {
|
446
446
|
let e = le.get(t.strings);
|
447
|
-
return e === void 0 && le.set(t.strings, e = new
|
447
|
+
return e === void 0 && le.set(t.strings, e = new X(t)), e;
|
448
448
|
}
|
449
449
|
T(t) {
|
450
|
-
|
450
|
+
Re(this._$AH) || (this._$AH = [], this._$AR());
|
451
451
|
const e = this._$AH;
|
452
452
|
let i, n = 0;
|
453
453
|
for (const o of t)
|
454
|
-
n === e.length ? e.push(i = new
|
454
|
+
n === e.length ? e.push(i = new K(this.k(Z()), this.k(Z()), this, this.options)) : i = e[n], i._$AI(o), n++;
|
455
455
|
n < e.length && (this._$AR(i && i._$AB.nextSibling, n), e.length = n);
|
456
456
|
}
|
457
457
|
_$AR(t = this._$AA.nextSibling, e) {
|
@@ -480,12 +480,12 @@ class mt {
|
|
480
480
|
const o = this.strings;
|
481
481
|
let r = !1;
|
482
482
|
if (o === void 0)
|
483
|
-
t =
|
483
|
+
t = D(this, t, e, 0), r = !q(t) || t !== this._$AH && t !== E, r && (this._$AH = t);
|
484
484
|
else {
|
485
485
|
const a = t;
|
486
486
|
let l, c;
|
487
487
|
for (t = o[0], l = 0; l < o.length - 1; l++)
|
488
|
-
c =
|
488
|
+
c = D(this, a[i + l], e, l), c === E && (c = this._$AH[l]), r || (r = !q(c) || c !== this._$AH[l]), c === u ? t = u : t !== u && (t += (c ?? "") + o[l + 1]), this._$AH[l] = c;
|
489
489
|
}
|
490
490
|
r && !n && this.O(t);
|
491
491
|
}
|
@@ -514,7 +514,7 @@ class As extends mt {
|
|
514
514
|
super(t, e, i, n, o), this.type = 5;
|
515
515
|
}
|
516
516
|
_$AI(t, e = this) {
|
517
|
-
if ((t =
|
517
|
+
if ((t = D(this, t, e, 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, o = t !== u && (i === u || n);
|
520
520
|
n && this.element.removeEventListener(this.name, this, i), o && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
@@ -532,17 +532,17 @@ class Ss {
|
|
532
532
|
return this._$AM._$AU;
|
533
533
|
}
|
534
534
|
_$AI(t) {
|
535
|
-
|
535
|
+
D(this, t);
|
536
536
|
}
|
537
537
|
}
|
538
|
-
const Tt =
|
539
|
-
Tt == null || Tt(
|
538
|
+
const Tt = W.litHtmlPolyfillSupport;
|
539
|
+
Tt == null || Tt(X, K), (W.litHtmlVersions ?? (W.litHtmlVersions = [])).push("3.0.2");
|
540
540
|
const Es = (s, t, e) => {
|
541
541
|
const i = (e == null ? void 0 : e.renderBefore) ?? t;
|
542
542
|
let n = i._$litPart$;
|
543
543
|
if (n === void 0) {
|
544
544
|
const o = (e == null ? void 0 : e.renderBefore) ?? null;
|
545
|
-
i._$litPart$ = n = new
|
545
|
+
i._$litPart$ = n = new K(t.insertBefore(Z(), o), o, void 0, e ?? {});
|
546
546
|
}
|
547
547
|
return n._$AI(s), n;
|
548
548
|
};
|
@@ -551,7 +551,7 @@ const Es = (s, t, e) => {
|
|
551
551
|
* Copyright 2017 Google LLC
|
552
552
|
* SPDX-License-Identifier: BSD-3-Clause
|
553
553
|
*/
|
554
|
-
let m = class extends
|
554
|
+
let m = class extends R {
|
555
555
|
constructor() {
|
556
556
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
557
557
|
}
|
@@ -581,7 +581,7 @@ m._$litElement$ = !0, m.finalized = !0, (Oe = globalThis.litElementHydrateSuppor
|
|
581
581
|
const Ot = globalThis.litElementPolyfillSupport;
|
582
582
|
Ot == null || Ot({ LitElement: m });
|
583
583
|
(globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.0.1");
|
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>' },
|
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: "question", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 4C16.536 4 4 16.536 4 32C4 47.464 16.536 60 32 60C47.464 60 60 47.464 60 32C59.9827 16.5432 47.4568 4.01731 32 4ZM32 55.6923C18.9151 55.6923 8.30769 45.0849 8.30769 32C8.30769 18.9151 18.9151 8.30769 32 8.30769C45.0849 8.30769 55.6923 18.9151 55.6923 32C55.6775 45.0788 45.0788 55.6775 32 55.6923Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M31.9423 37.5723L36.311 32.9068L36.7354 32.4448C39.7555 29.1161 40.7645 27.0647 40.7645 24.5087C40.7645 23.1091 40.4251 21.7942 39.7041 20.6491C38.3044 18.3587 35.6323 16.9166 32.2816 16.9166C28.7565 16.9166 25.3125 18.7414 23.2581 21.6772L23.1201 21.8791C22.8232 22.3032 22.696 22.6849 22.696 22.9818C22.696 23.7029 23.926 25.9932 25.2833 25.9932C25.5378 25.9932 25.7922 25.9084 26.0467 25.7388C26.2588 25.5691 26.5981 25.2298 27.0647 24.7208C28.8885 22.6849 30.1185 21.9215 31.7726 21.9215C33.6813 21.9215 35.081 23.1939 35.081 24.8905C35.081 26.375 34.2751 27.7746 32.3664 29.8529L28.2523 34.2216C27.9554 34.6033 27.7857 34.9426 27.7857 35.282C27.7857 35.6213 27.9978 36.1726 28.4219 36.8937C29.0581 37.8692 29.7368 38.3782 30.4578 38.3782C30.9244 38.3782 31.3909 38.1237 31.9423 37.5723ZM30.882 47.4972C29.2278 47.4972 27.6585 44.7403 27.6585 43.6799C27.6585 42.1954 30.0761 40.6261 32.4089 40.6261C33.6389 40.6261 34.2751 41.1775 34.2751 42.3227C34.2751 44.0616 33.4692 45.843 32.4513 46.7761C31.9423 47.2427 31.4334 47.4972 30.882 47.4972Z"/></svg>' }, Ts = { 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>' }, H = {
|
585
585
|
allRenderFn: !1,
|
586
586
|
cmpDidLoad: !0,
|
587
587
|
cmpDidUnload: !1,
|
@@ -665,7 +665,7 @@ const ce = { 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
|
668
|
+
let U, Ne, vt, je = !1, at = !1, Ft = !1, y = !1, he = null, Rt = !1;
|
669
669
|
const yt = typeof window < "u" ? window : {}, w = yt.document || { head: {} }, Ie = yt.HTMLElement || class {
|
670
670
|
}, v = {
|
671
671
|
$flags$: 0,
|
@@ -675,7 +675,7 @@ const yt = typeof window < "u" ? window : {}, w = yt.document || { head: {} }, I
|
|
675
675
|
ael: (s, t, e, i) => s.addEventListener(t, e, i),
|
676
676
|
rel: (s, t, e, i) => s.removeEventListener(t, e, i),
|
677
677
|
ce: (s, t) => new CustomEvent(s, t)
|
678
|
-
},
|
678
|
+
}, Os = /* @__PURE__ */ (() => {
|
679
679
|
let s = !1;
|
680
680
|
try {
|
681
681
|
w.addEventListener("e", null, Object.defineProperty({}, "passive", {
|
@@ -686,7 +686,7 @@ const yt = typeof window < "u" ? window : {}, w = yt.document || { head: {} }, I
|
|
686
686
|
} catch {
|
687
687
|
}
|
688
688
|
return s;
|
689
|
-
})(),
|
689
|
+
})(), Ls = (s) => Promise.resolve(s), Ps = /* @__PURE__ */ (() => {
|
690
690
|
try {
|
691
691
|
return new CSSStyleSheet(), typeof new CSSStyleSheet().replace == "function";
|
692
692
|
} catch {
|
@@ -694,23 +694,23 @@ const yt = typeof window < "u" ? window : {}, w = yt.document || { head: {} }, I
|
|
694
694
|
return !1;
|
695
695
|
})(), De = (s, t, e, i) => {
|
696
696
|
e && e.map(([n, o, r]) => {
|
697
|
-
const a = Rs(s, n), l =
|
697
|
+
const a = Rs(s, n), l = Ms(t, r), c = Hs(n);
|
698
698
|
v.ael(a, o, l, c), (t.$rmListeners$ = t.$rmListeners$ || []).push(() => v.rel(a, o, l, c));
|
699
699
|
});
|
700
|
-
},
|
700
|
+
}, Ms = (s, t) => (e) => {
|
701
701
|
try {
|
702
|
-
|
702
|
+
H.lazyLoad || s.$hostElement$[t](e);
|
703
703
|
} catch (i) {
|
704
|
-
|
704
|
+
Q(i);
|
705
705
|
}
|
706
|
-
}, Rs = (s, t) => t & 4 ? w : t & 8 ? yt : t & 16 ? w.body : s, Hs = (s) =>
|
706
|
+
}, Rs = (s, t) => t & 4 ? w : t & 8 ? yt : t & 16 ? w.body : s, Hs = (s) => Os ? {
|
707
707
|
passive: (s & 1) !== 0,
|
708
708
|
capture: (s & 2) !== 0
|
709
|
-
} : (s & 2) !== 0, pe = "http://www.w3.org/1999/xlink",
|
710
|
-
}, ue = /* @__PURE__ */ new WeakMap(),
|
709
|
+
} : (s & 2) !== 0, pe = "http://www.w3.org/1999/xlink", P = (s, t = "") => () => {
|
710
|
+
}, ue = /* @__PURE__ */ new WeakMap(), Us = (s, t, e) => {
|
711
711
|
let i = dt.get(s);
|
712
712
|
Ps && e ? (i = i || new CSSStyleSheet(), i.replace(t)) : i = t, dt.set(s, i);
|
713
|
-
},
|
713
|
+
}, Ns = (s, t, e, i) => {
|
714
714
|
let n = Be(t, e), o = dt.get(n);
|
715
715
|
if (s = s.nodeType === 11 ? s : w, o)
|
716
716
|
if (typeof o == "string") {
|
@@ -720,10 +720,10 @@ const yt = typeof window < "u" ? window : {}, w = yt.document || { head: {} }, I
|
|
720
720
|
} else
|
721
721
|
s.adoptedStyleSheets.includes(o) || (s.adoptedStyleSheets = [...s.adoptedStyleSheets, o]);
|
722
722
|
return n;
|
723
|
-
},
|
724
|
-
const t = s.$cmpMeta$, e = s.$hostElement$, i = t.$flags$, n =
|
723
|
+
}, js = (s) => {
|
724
|
+
const t = s.$cmpMeta$, e = s.$hostElement$, i = t.$flags$, n = P("attachStyles", t.$tagName$), o = Ns(e.shadowRoot ? e.shadowRoot : e.getRootNode(), t, s.$modeName$);
|
725
725
|
i & 10 && (e["s-sc"] = o, e.classList.add(o + "-h"), i & 2 && e.classList.add(o + "-s")), n();
|
726
|
-
}, Be = (s, t) => "sc-" + (t && s.$flags$ & 32 ? s.$tagName$ + "-" + t : s.$tagName$),
|
726
|
+
}, Be = (s, t) => "sc-" + (t && s.$flags$ & 32 ? s.$tagName$ + "-" + t : s.$tagName$), Is = (s) => ui.map((t) => t(s)).find((t) => !!t), fe = {}, Ds = "http://www.w3.org/2000/svg", Bs = "http://www.w3.org/1999/xhtml", zs = (s) => s != null, Wt = (s) => (s = typeof s, s === "object" || s === "function"), j = (s, t, ...e) => {
|
727
727
|
let i = null, n = null, o = null, r = !1, a = !1, l = [];
|
728
728
|
const c = (h) => {
|
729
729
|
for (let p = 0; p < h.length; p++)
|
@@ -737,7 +737,7 @@ const yt = typeof window < "u" ? window : {}, w = yt.document || { head: {} }, I
|
|
737
737
|
}
|
738
738
|
}
|
739
739
|
if (typeof s == "function")
|
740
|
-
return s(t === null ? {} : t, l,
|
740
|
+
return s(t === null ? {} : t, l, Ws);
|
741
741
|
const d = lt(s, null);
|
742
742
|
return d.$attrs$ = t, l.length > 0 && (d.$children$ = l), d.$key$ = n, d.$name$ = o, d;
|
743
743
|
}, lt = (s, t) => {
|
@@ -749,9 +749,9 @@ const yt = typeof window < "u" ? window : {}, w = yt.document || { head: {} }, I
|
|
749
749
|
$children$: null
|
750
750
|
};
|
751
751
|
return e.$attrs$ = null, e.$key$ = null, e.$name$ = null, e;
|
752
|
-
}, Gt = {},
|
752
|
+
}, Gt = {}, Fs = (s) => s && s.$tag$ === Gt, Ws = {
|
753
753
|
forEach: (s, t) => s.map(ge).forEach(t),
|
754
|
-
map: (s, t) => s.map(ge).map(t).map(
|
754
|
+
map: (s, t) => s.map(ge).map(t).map(Gs)
|
755
755
|
}, ge = (s) => ({
|
756
756
|
vattrs: s.$attrs$,
|
757
757
|
vchildren: s.$children$,
|
@@ -759,10 +759,10 @@ const yt = typeof window < "u" ? window : {}, w = yt.document || { head: {} }, I
|
|
759
759
|
vname: s.$name$,
|
760
760
|
vtag: s.$tag$,
|
761
761
|
vtext: s.$text$
|
762
|
-
}),
|
762
|
+
}), Gs = (s) => {
|
763
763
|
if (typeof s.vtag == "function") {
|
764
764
|
const e = Object.assign({}, s.vattrs);
|
765
|
-
return s.vkey && (e.key = s.vkey), s.vname && (e.name = s.vname),
|
765
|
+
return s.vkey && (e.key = s.vkey), s.vname && (e.name = s.vname), j(s.vtag, e, ...s.vchildren || []);
|
766
766
|
}
|
767
767
|
const t = lt(s.vtag, s.vtext);
|
768
768
|
return t.$attrs$ = s.vattrs, t.$children$ = s.vchildren, t.$key$ = s.vkey, t.$name$ = s.vname, t;
|
@@ -798,7 +798,7 @@ const yt = typeof window < "u" ? window : {}, w = yt.document || { head: {} }, I
|
|
798
798
|
a !== (a = a.replace(/^xlink\:?/, "")) && (t = a, c = !0), i == null || i === !1 ? (i !== !1 || s.getAttribute(t) === "") && (c ? s.removeAttributeNS(pe, t) : s.removeAttribute(t)) : (!r || o & 4 || n) && !l && (i = i === !0 ? "" : i, c ? s.setAttributeNS(pe, t, i) : s.setAttribute(t, i));
|
799
799
|
}
|
800
800
|
}
|
801
|
-
},
|
801
|
+
}, Zs = /\s/, me = (s) => s ? s.split(Zs) : [], ze = (s, t, e, i) => {
|
802
802
|
const n = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, o = s && s.$attrs$ || fe, r = t.$attrs$ || fe;
|
803
803
|
for (i in o)
|
804
804
|
i in r || $e(n, i, o[i], void 0, e, t.$flags$);
|
@@ -806,7 +806,7 @@ const yt = typeof window < "u" ? window : {}, w = yt.document || { head: {} }, I
|
|
806
806
|
$e(n, i, o[i], r[i], e, t.$flags$);
|
807
807
|
}, ct = (s, t, e, i) => {
|
808
808
|
let n = t.$children$[e], o = 0, r, a, l;
|
809
|
-
if (je || (Ft = !0, n.$tag$ === "slot" && (
|
809
|
+
if (je || (Ft = !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
|
) : (
|
@@ -817,27 +817,27 @@ const yt = typeof window < "u" ? window : {}, w = yt.document || { head: {} }, I
|
|
817
817
|
else if (n.$flags$ & 1)
|
818
818
|
r = n.$elm$ = w.createTextNode("");
|
819
819
|
else {
|
820
|
-
if (y || (y = n.$tag$ === "svg"), r = n.$elm$ = w.createElementNS(y ?
|
820
|
+
if (y || (y = n.$tag$ === "svg"), r = n.$elm$ = w.createElementNS(y ? Ds : Bs, n.$flags$ & 2 ? "slot-fb" : n.$tag$), y && n.$tag$ === "foreignObject" && (y = !1), ze(null, n, y), zs(U) && r["s-si"] !== U && r.classList.add(r["s-si"] = U), n.$children$)
|
821
821
|
for (o = 0; o < n.$children$.length; ++o)
|
822
822
|
a = ct(s, n, o, r), a && r.appendChild(a);
|
823
823
|
n.$tag$ === "svg" ? y = !1 : r.tagName === "foreignObject" && (y = !0);
|
824
824
|
}
|
825
|
-
return r["s-hn"] = vt, n.$flags$ & 3 && (r["s-sr"] = !0, r["s-cr"] = Ne, r["s-sn"] = n.$name$ || "", l = s && s.$children$ && s.$children$[e], l && l.$tag$ === n.$tag$ && s.$elm$ &&
|
826
|
-
},
|
825
|
+
return r["s-hn"] = vt, n.$flags$ & 3 && (r["s-sr"] = !0, r["s-cr"] = Ne, r["s-sn"] = n.$name$ || "", l = s && s.$children$ && s.$children$[e], l && l.$tag$ === n.$tag$ && s.$elm$ && Y(s.$elm$, !1)), r;
|
826
|
+
}, Y = (s, t) => {
|
827
827
|
v.$flags$ |= 1;
|
828
828
|
const e = s.childNodes;
|
829
829
|
for (let i = e.length - 1; i >= 0; i--) {
|
830
830
|
const n = e[i];
|
831
|
-
n["s-hn"] !== vt && n["s-ol"] && (Ge(n).insertBefore(n,
|
831
|
+
n["s-hn"] !== vt && n["s-ol"] && (Ge(n).insertBefore(n, Zt(n)), n["s-ol"].remove(), n["s-ol"] = void 0, Ft = !0), t && Y(n, t);
|
832
832
|
}
|
833
833
|
v.$flags$ &= -2;
|
834
834
|
}, Fe = (s, t, e, i, n, o) => {
|
835
835
|
let r = s["s-cr"] && s["s-cr"].parentNode || s, a;
|
836
836
|
for (r.shadowRoot && r.tagName === vt && (r = r.shadowRoot); n <= o; ++n)
|
837
|
-
i[n] && (a = ct(null, e, n, s), a && (i[n].$elm$ = a, r.insertBefore(a,
|
837
|
+
i[n] && (a = ct(null, e, n, s), a && (i[n].$elm$ = a, r.insertBefore(a, Zt(t))));
|
838
838
|
}, We = (s, t, e, i, n) => {
|
839
839
|
for (; t <= e; ++t)
|
840
|
-
(i = s[t]) && (n = i.$elm$, Xe(i), at = !0, n["s-ol"] ? n["s-ol"].remove() :
|
840
|
+
(i = s[t]) && (n = i.$elm$, Xe(i), at = !0, n["s-ol"] ? n["s-ol"].remove() : Y(n, !0), n.remove());
|
841
841
|
}, qs = (s, t, e, i) => {
|
842
842
|
let n = 0, o = 0, r = 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 && o <= h; )
|
@@ -850,27 +850,27 @@ const yt = typeof window < "u" ? window : {}, w = yt.document || { head: {} }, I
|
|
850
850
|
else if (g == null)
|
851
851
|
g = i[--h];
|
852
852
|
else if (st(c, p))
|
853
|
-
|
853
|
+
N(c, p), c = t[++n], p = i[++o];
|
854
854
|
else if (st(d, g))
|
855
|
-
|
855
|
+
N(d, g), d = t[--l], g = i[--h];
|
856
856
|
else if (st(c, g))
|
857
|
-
(c.$tag$ === "slot" || g.$tag$ === "slot") &&
|
857
|
+
(c.$tag$ === "slot" || g.$tag$ === "slot") && Y(c.$elm$.parentNode, !1), N(c, g), s.insertBefore(c.$elm$, d.$elm$.nextSibling), c = t[++n], g = i[--h];
|
858
858
|
else if (st(d, p))
|
859
|
-
(c.$tag$ === "slot" || g.$tag$ === "slot") &&
|
859
|
+
(c.$tag$ === "slot" || g.$tag$ === "slot") && Y(d.$elm$.parentNode, !1), N(d, p), s.insertBefore(d.$elm$, c.$elm$), d = t[--l], p = i[++o];
|
860
860
|
else {
|
861
861
|
for (r = -1, a = n; a <= l; ++a)
|
862
862
|
if (t[a] && t[a].$key$ !== null && t[a].$key$ === p.$key$) {
|
863
863
|
r = a;
|
864
864
|
break;
|
865
865
|
}
|
866
|
-
r >= 0 ? (et = t[r], et.$tag$ !== p.$tag$ ? x = ct(t && t[o], e, r, s) : (
|
866
|
+
r >= 0 ? (et = t[r], et.$tag$ !== p.$tag$ ? x = ct(t && t[o], e, r, s) : (N(et, p), t[r] = void 0, x = et.$elm$), p = i[++o]) : (x = ct(t && t[o], e, o, s), p = i[++o]), x && Ge(c.$elm$).insertBefore(x, Zt(c.$elm$));
|
867
867
|
}
|
868
868
|
n > l ? Fe(s, i[h + 1] == null ? null : i[h + 1].$elm$, e, i, o, h) : o > h && We(t, n, l);
|
869
|
-
}, st = (s, t) => s.$tag$ === t.$tag$ ? s.$tag$ === "slot" ? s.$name$ === t.$name$ : s.$key$ === t.$key$ : !1,
|
869
|
+
}, st = (s, t) => s.$tag$ === t.$tag$ ? s.$tag$ === "slot" ? s.$name$ === t.$name$ : s.$key$ === t.$key$ : !1, Zt = (s) => s && s["s-ol"] || s, Ge = (s) => (s["s-ol"] ? s["s-ol"] : s).parentNode, N = (s, t) => {
|
870
870
|
const e = t.$elm$ = s.$elm$, i = s.$children$, n = t.$children$, o = t.$tag$, r = t.$text$;
|
871
871
|
let a;
|
872
872
|
r === null ? (y = o === "svg" ? !0 : o === "foreignObject" ? !1 : y, o === "slot" || ze(s, t, y), i !== null && n !== null ? qs(e, i, t, n) : n !== null ? (s.$text$ !== null && (e.textContent = ""), Fe(e, null, t, n, 0, n.length - 1)) : i !== null && We(i, 0, i.length - 1), y && o === "svg" && (y = !1)) : (a = e["s-cr"]) ? a.parentNode.textContent = r : s.$text$ !== r && (e.data = r);
|
873
|
-
},
|
873
|
+
}, Ze = (s) => {
|
874
874
|
let t = s.childNodes, e, i, n, o, r, a;
|
875
875
|
for (i = 0, n = t.length; i < n; i++)
|
876
876
|
if (e = t[i], e.nodeType === 1) {
|
@@ -886,9 +886,9 @@ const yt = typeof window < "u" ? window : {}, w = yt.document || { head: {} }, I
|
|
886
886
|
break;
|
887
887
|
}
|
888
888
|
}
|
889
|
-
|
889
|
+
Ze(e);
|
890
890
|
}
|
891
|
-
}, _ = [],
|
891
|
+
}, _ = [], qe = (s) => {
|
892
892
|
let t, e, i, n, o, r, a = 0, l = s.childNodes, c = l.length;
|
893
893
|
for (; a < c; a++) {
|
894
894
|
if (t = l[a], t["s-sr"] && (e = t["s-cr"]) && e.parentNode)
|
@@ -901,16 +901,16 @@ const yt = typeof window < "u" ? window : {}, w = yt.document || { head: {} }, I
|
|
901
901
|
})) : _.some((d) => d.$nodeToRelocate$ === e) || _.push({
|
902
902
|
$nodeToRelocate$: e
|
903
903
|
}));
|
904
|
-
t.nodeType === 1 &&
|
904
|
+
t.nodeType === 1 && qe(t);
|
905
905
|
}
|
906
906
|
}, ve = (s, t) => s.nodeType === 1 ? s.getAttribute("slot") === null && t === "" || s.getAttribute("slot") === t : s["s-sn"] === t ? !0 : t === "", Xe = (s) => {
|
907
907
|
s.$attrs$ && s.$attrs$.ref && s.$attrs$.ref(null), s.$children$ && s.$children$.map(Xe);
|
908
|
-
},
|
909
|
-
const e = s.$hostElement$, i = s.$cmpMeta$, n = s.$vnode$ || lt(null, null), o =
|
910
|
-
vt = e.tagName, i.$attrsToReflect$ && (o.$attrs$ = o.$attrs$ || {}, i.$attrsToReflect$.map(([r, a]) => o.$attrs$[a] = e[r])), o.$tag$ = null, o.$flags$ |= 4, s.$vnode$ = o, o.$elm$ = n.$elm$ = e.shadowRoot || e,
|
908
|
+
}, Xs = (s, t) => {
|
909
|
+
const e = s.$hostElement$, i = s.$cmpMeta$, n = s.$vnode$ || lt(null, null), o = Fs(t) ? t : j(null, null, t);
|
910
|
+
vt = e.tagName, i.$attrsToReflect$ && (o.$attrs$ = o.$attrs$ || {}, i.$attrsToReflect$.map(([r, a]) => o.$attrs$[a] = e[r])), o.$tag$ = null, o.$flags$ |= 4, s.$vnode$ = o, o.$elm$ = n.$elm$ = e.shadowRoot || e, U = e["s-sc"], Ne = e["s-cr"], je = (i.$flags$ & 1) !== 0, at = !1, N(n, o);
|
911
911
|
{
|
912
912
|
if (v.$flags$ |= 1, Ft) {
|
913
|
-
|
913
|
+
qe(o.$elm$);
|
914
914
|
let r, a, l, c, d, h, p = 0;
|
915
915
|
for (; p < _.length; p++)
|
916
916
|
r = _[p], a = r.$nodeToRelocate$, a["s-ol"] || (l = w.createTextNode(""), l["s-nr"] = a, a.parentNode.insertBefore(a["s-ol"] = l, a));
|
@@ -925,51 +925,51 @@ const yt = typeof window < "u" ? window : {}, w = yt.document || { head: {} }, I
|
|
925
925
|
} else
|
926
926
|
a.nodeType === 1 && (a.hidden = !0);
|
927
927
|
}
|
928
|
-
at &&
|
928
|
+
at && Ze(o.$elm$), v.$flags$ &= -2, _.length = 0;
|
929
929
|
}
|
930
|
-
},
|
931
|
-
const i =
|
930
|
+
}, Ys = (s) => s, Ks = (s, t, e) => {
|
931
|
+
const i = Ys(s);
|
932
932
|
return {
|
933
|
-
emit: (n) =>
|
933
|
+
emit: (n) => Qs(i, t, {
|
934
934
|
bubbles: !!(e & 4),
|
935
935
|
composed: !!(e & 2),
|
936
936
|
cancelable: !!(e & 1),
|
937
937
|
detail: n
|
938
938
|
})
|
939
939
|
};
|
940
|
-
},
|
940
|
+
}, Qs = (s, t, e) => {
|
941
941
|
const i = v.ce(t, e);
|
942
942
|
return s.dispatchEvent(i), i;
|
943
|
-
},
|
944
|
-
}, Ye = (s, t) => (s.$flags$ |= 16,
|
945
|
-
const e = s.$hostElement$, i =
|
943
|
+
}, Js = (s, t) => {
|
944
|
+
}, Ye = (s, t) => (s.$flags$ |= 16, Js(s, s.$ancestorComponent$), $i(() => Vs(s, t))), Vs = (s, t) => {
|
945
|
+
const e = s.$hostElement$, i = P("scheduleUpdate", s.$cmpMeta$.$tagName$), n = e;
|
946
946
|
let o;
|
947
|
-
return t ? o =
|
948
|
-
},
|
949
|
-
const i = s.$hostElement$, n =
|
950
|
-
i["s-rc"], e &&
|
951
|
-
const o =
|
952
|
-
|
953
|
-
},
|
947
|
+
return t ? o = I(n, "componentWillLoad") : o = I(n, "componentWillUpdate"), o = ye(o, () => I(n, "componentWillRender")), i(), ye(o, () => ti(s, n, t));
|
948
|
+
}, ti = async (s, t, e) => {
|
949
|
+
const i = s.$hostElement$, n = P("update", s.$cmpMeta$.$tagName$);
|
950
|
+
i["s-rc"], e && js(s);
|
951
|
+
const o = P("render", s.$cmpMeta$.$tagName$);
|
952
|
+
ei(s, t, i), o(), n(), si(s);
|
953
|
+
}, ei = (s, t, e) => {
|
954
954
|
try {
|
955
|
-
he = t, t = t.render && t.render(), s.$flags$ &= -17, s.$flags$ |= 2, (
|
955
|
+
he = t, t = t.render && t.render(), s.$flags$ &= -17, s.$flags$ |= 2, (H.hasRenderFn || H.reflect) && (H.vdomRender || H.reflect) && (H.hydrateServerSide || Xs(s, t));
|
956
956
|
} catch (a) {
|
957
|
-
|
957
|
+
Q(a, s.$hostElement$);
|
958
958
|
}
|
959
959
|
return he = null, null;
|
960
|
-
},
|
961
|
-
const t = s.$cmpMeta$.$tagName$, e = s.$hostElement$, i =
|
962
|
-
s.$ancestorComponent$,
|
963
|
-
},
|
960
|
+
}, si = (s) => {
|
961
|
+
const t = s.$cmpMeta$.$tagName$, e = s.$hostElement$, i = P("postUpdate", t), n = e;
|
962
|
+
s.$ancestorComponent$, I(n, "componentDidRender"), s.$flags$ & 64 ? (I(n, "componentDidUpdate"), i()) : (s.$flags$ |= 64, I(n, "componentDidLoad"), i());
|
963
|
+
}, I = (s, t, e) => {
|
964
964
|
if (s && s[t])
|
965
965
|
try {
|
966
966
|
return s[t](e);
|
967
967
|
} catch (i) {
|
968
|
-
|
968
|
+
Q(i);
|
969
969
|
}
|
970
|
-
}, ye = (s, t) => s && s.then ? s.then(t) : t(),
|
970
|
+
}, ye = (s, t) => s && s.then ? s.then(t) : t(), ii = (s, t) => s != null && !Wt(s) ? t & 4 ? s === "false" ? !1 : s === "" || !!s : t & 2 ? parseFloat(s) : t & 1 ? String(s) : s : s, ni = (s, t) => bt(s).$instanceValues$.get(t), oi = (s, t, e, i) => {
|
971
971
|
const n = bt(s), o = s, r = n.$instanceValues$.get(t), a = n.$flags$, l = o;
|
972
|
-
e =
|
972
|
+
e = ii(e, i.$members$[t][0]);
|
973
973
|
const c = Number.isNaN(r) && Number.isNaN(e);
|
974
974
|
if (e !== r && !c) {
|
975
975
|
n.$instanceValues$.set(t, e);
|
@@ -980,7 +980,7 @@ const yt = typeof window < "u" ? window : {}, w = yt.document || { head: {} }, I
|
|
980
980
|
try {
|
981
981
|
l[p](e, r, t);
|
982
982
|
} catch (g) {
|
983
|
-
|
983
|
+
Q(g, o);
|
984
984
|
}
|
985
985
|
});
|
986
986
|
}
|
@@ -991,17 +991,17 @@ const yt = typeof window < "u" ? window : {}, w = yt.document || { head: {} }, I
|
|
991
991
|
}
|
992
992
|
}
|
993
993
|
}
|
994
|
-
},
|
994
|
+
}, ri = (s, t, e) => {
|
995
995
|
if (t.$members$) {
|
996
996
|
s.watchers && (t.$watchers$ = s.watchers);
|
997
997
|
const i = Object.entries(t.$members$), n = s.prototype;
|
998
998
|
i.map(([o, [r]]) => {
|
999
999
|
(r & 31 || r & 32) && Object.defineProperty(n, o, {
|
1000
1000
|
get() {
|
1001
|
-
return
|
1001
|
+
return ni(this, o);
|
1002
1002
|
},
|
1003
1003
|
set(a) {
|
1004
|
-
|
1004
|
+
oi(this, o, a, t);
|
1005
1005
|
},
|
1006
1006
|
configurable: !0,
|
1007
1007
|
enumerable: !0
|
@@ -1028,32 +1028,32 @@ const yt = typeof window < "u" ? window : {}, w = yt.document || { head: {} }, I
|
|
1028
1028
|
}
|
1029
1029
|
}
|
1030
1030
|
return s;
|
1031
|
-
},
|
1031
|
+
}, ai = async (s, t, e, i, n) => {
|
1032
1032
|
if (!(t.$flags$ & 32) && (n = s.constructor, t.$flags$ |= 32, customElements.whenDefined(e.$tagName$).then(() => t.$flags$ |= 128), n.style)) {
|
1033
1033
|
let r = n.style;
|
1034
|
-
typeof r != "string" && (r = r[t.$modeName$ =
|
1034
|
+
typeof r != "string" && (r = r[t.$modeName$ = Is(s)]);
|
1035
1035
|
const a = Be(e, t.$modeName$);
|
1036
1036
|
if (!dt.has(a)) {
|
1037
|
-
const l =
|
1038
|
-
|
1037
|
+
const l = P("registerStyles", e.$tagName$);
|
1038
|
+
Us(a, r, !!(e.$flags$ & 1)), l();
|
1039
1039
|
}
|
1040
1040
|
}
|
1041
1041
|
t.$ancestorComponent$, (() => Ye(t, !0))();
|
1042
|
-
}, ai = (s) => {
|
1043
1042
|
}, li = (s) => {
|
1043
|
+
}, ci = (s) => {
|
1044
1044
|
if (!(v.$flags$ & 1)) {
|
1045
|
-
const t = bt(s), e = t.$cmpMeta$, i =
|
1046
|
-
t.$flags$ & 1 ? (De(s, t, e.$listeners$),
|
1045
|
+
const t = bt(s), e = t.$cmpMeta$, i = P("connectedCallback", e.$tagName$);
|
1046
|
+
t.$flags$ & 1 ? (De(s, t, e.$listeners$), li(t.$lazyInstance$)) : (t.$flags$ |= 1, e.$flags$ & 12 && di(s), e.$members$ && Object.entries(e.$members$).map(([n, [o]]) => {
|
1047
1047
|
if (o & 31 && s.hasOwnProperty(n)) {
|
1048
1048
|
const r = s[n];
|
1049
1049
|
delete s[n], s[n] = r;
|
1050
1050
|
}
|
1051
|
-
}),
|
1051
|
+
}), ai(s, t, e)), i();
|
1052
1052
|
}
|
1053
|
-
},
|
1053
|
+
}, di = (s) => {
|
1054
1054
|
const t = s["s-cr"] = w.createComment("");
|
1055
1055
|
t["s-cn"] = !0, s.insertBefore(t, s.firstChild);
|
1056
|
-
},
|
1056
|
+
}, hi = (s) => {
|
1057
1057
|
if (!(v.$flags$ & 1)) {
|
1058
1058
|
const t = bt(s);
|
1059
1059
|
t.$rmListeners$ && (t.$rmListeners$.map((e) => e()), t.$rmListeners$ = void 0);
|
@@ -1067,13 +1067,13 @@ const yt = typeof window < "u" ? window : {}, w = yt.document || { head: {} }, I
|
|
1067
1067
|
const i = s.prototype.connectedCallback, n = s.prototype.disconnectedCallback;
|
1068
1068
|
return Object.assign(s.prototype, {
|
1069
1069
|
__registerHost() {
|
1070
|
-
|
1070
|
+
pi(this, e);
|
1071
1071
|
},
|
1072
1072
|
connectedCallback() {
|
1073
|
-
|
1073
|
+
ci(this), i && i.call(this);
|
1074
1074
|
},
|
1075
1075
|
disconnectedCallback() {
|
1076
|
-
|
1076
|
+
hi(this), n && n.call(this);
|
1077
1077
|
},
|
1078
1078
|
__attachShadow() {
|
1079
1079
|
this.attachShadow({
|
@@ -1081,8 +1081,8 @@ const yt = typeof window < "u" ? window : {}, w = yt.document || { head: {} }, I
|
|
1081
1081
|
delegatesFocus: !!(e.$flags$ & 16)
|
1082
1082
|
});
|
1083
1083
|
}
|
1084
|
-
}), s.is = e.$tagName$,
|
1085
|
-
}, Qe = /* @__PURE__ */ new WeakMap(), bt = (s) => Qe.get(s),
|
1084
|
+
}), s.is = e.$tagName$, ri(s, e);
|
1085
|
+
}, Qe = /* @__PURE__ */ new WeakMap(), bt = (s) => Qe.get(s), pi = (s, t) => {
|
1086
1086
|
const e = {
|
1087
1087
|
$flags$: 0,
|
1088
1088
|
$hostElement$: s,
|
@@ -1090,19 +1090,19 @@ const yt = typeof window < "u" ? window : {}, w = yt.document || { head: {} }, I
|
|
1090
1090
|
$instanceValues$: /* @__PURE__ */ new Map()
|
1091
1091
|
};
|
1092
1092
|
return De(s, e, t.$listeners$), Qe.set(s, e);
|
1093
|
-
}, be = (s, t) => t in s,
|
1094
|
-
s.push(e),
|
1093
|
+
}, be = (s, t) => t in s, Q = (s, t) => (0, console.error)(s, t), dt = /* @__PURE__ */ new Map(), ui = [], _e = [], Je = [], fi = (s, t) => (e) => {
|
1094
|
+
s.push(e), Rt || (Rt = !0, t && v.$flags$ & 4 ? gi(Ht) : v.raf(Ht));
|
1095
1095
|
}, xe = (s) => {
|
1096
1096
|
for (let t = 0; t < s.length; t++)
|
1097
1097
|
try {
|
1098
1098
|
s[t](performance.now());
|
1099
1099
|
} catch (e) {
|
1100
|
-
|
1100
|
+
Q(e);
|
1101
1101
|
}
|
1102
1102
|
s.length = 0;
|
1103
|
-
},
|
1104
|
-
xe(_e), xe(Je), (
|
1105
|
-
},
|
1103
|
+
}, Ht = () => {
|
1104
|
+
xe(_e), xe(Je), (Rt = _e.length > 0) && v.raf(Ht);
|
1105
|
+
}, gi = (s) => Ls().then(s), $i = /* @__PURE__ */ fi(Je, !0), mi = (s = {}) => {
|
1106
1106
|
const { content: t = "", title: e, attributes: i = [] } = s;
|
1107
1107
|
let n = "", o = [
|
1108
1108
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
@@ -1110,27 +1110,27 @@ const yt = typeof window < "u" ? window : {}, w = yt.document || { head: {} }, I
|
|
1110
1110
|
...i
|
1111
1111
|
];
|
1112
1112
|
return e && (n = `<title>${e}</title>`), `<svg ${o.map((a) => `${a.name}="${a.value}"`).join(" ")}>${n}${t}</svg>`;
|
1113
|
-
},
|
1114
|
-
function
|
1113
|
+
}, vi = (s) => s.replace(/<(\/?)svg([^>]*)>/g, "").trim();
|
1114
|
+
function yi(s) {
|
1115
1115
|
return `${s.getFullYear()}.${s.getMonth() + 1}`;
|
1116
1116
|
}
|
1117
|
-
class
|
1117
|
+
class bi {
|
1118
1118
|
constructor(t) {
|
1119
|
-
this.voca_component = t, this.voca_added =
|
1119
|
+
this.voca_component = t, this.voca_added = yi(/* @__PURE__ */ new Date());
|
1120
1120
|
}
|
1121
1121
|
}
|
1122
|
-
const
|
1122
|
+
const _i = "telia-vst{display:none}", xi = /* @__PURE__ */ Ke(class extends Ie {
|
1123
1123
|
constructor() {
|
1124
|
-
super(), this.__registerHost(), this.vocaInternalUStats =
|
1124
|
+
super(), this.__registerHost(), this.vocaInternalUStats = Ks(this, "vocaInternalUStats", 7);
|
1125
1125
|
}
|
1126
1126
|
connectedCallback() {
|
1127
|
-
this.vocaInternalUStats.emit(new
|
1127
|
+
this.vocaInternalUStats.emit(new bi(this.dataTrackingId));
|
1128
1128
|
}
|
1129
1129
|
render() {
|
1130
|
-
return
|
1130
|
+
return j(Gt, null);
|
1131
1131
|
}
|
1132
1132
|
static get style() {
|
1133
|
-
return
|
1133
|
+
return _i;
|
1134
1134
|
}
|
1135
1135
|
}, [0, "telia-vst", {
|
1136
1136
|
dataTrackingId: [1, "data-tracking-id"]
|
@@ -1141,7 +1141,7 @@ function Ve() {
|
|
1141
1141
|
["telia-vst"].forEach((t) => {
|
1142
1142
|
switch (t) {
|
1143
1143
|
case "telia-vst":
|
1144
|
-
customElements.get(t) || customElements.define(t,
|
1144
|
+
customElements.get(t) || customElements.define(t, xi);
|
1145
1145
|
break;
|
1146
1146
|
}
|
1147
1147
|
});
|
@@ -1150,14 +1150,14 @@ Ve();
|
|
1150
1150
|
function Ut() {
|
1151
1151
|
return typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : { vocadsIcons: void 0, vocadsIconsRegistered: !1 };
|
1152
1152
|
}
|
1153
|
-
function
|
1153
|
+
function wi() {
|
1154
1154
|
if (typeof Ut().vocadsIcons !== void 0)
|
1155
1155
|
return Ut().vocadsIcons;
|
1156
1156
|
}
|
1157
|
-
function
|
1157
|
+
function Ci() {
|
1158
1158
|
return Ut().vocadsIconsRegistered;
|
1159
1159
|
}
|
1160
|
-
const
|
1160
|
+
const Ai = ".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))}", Si = /* @__PURE__ */ Ke(class extends Ie {
|
1161
1161
|
constructor() {
|
1162
1162
|
super(), this.__registerHost(), this.size = "md", this.allyTitle = null, this.dataTrackingId = "telia-icon";
|
1163
1163
|
}
|
@@ -1169,8 +1169,8 @@ const Ci = ".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 (
|
1173
|
-
const s =
|
1172
|
+
if (Ci() && this.name) {
|
1173
|
+
const s = wi();
|
1174
1174
|
return s[this.name] ? s[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"), "";
|
@@ -1181,15 +1181,15 @@ const Ci = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
|
|
1181
1181
|
...t,
|
1182
1182
|
{ name: "aria-hidden", value: "true" }
|
1183
1183
|
];
|
1184
|
-
const e =
|
1185
|
-
content:
|
1184
|
+
const e = mi({
|
1185
|
+
content: vi(s),
|
1186
1186
|
attributes: t,
|
1187
1187
|
title: this.allyTitle
|
1188
1188
|
});
|
1189
|
-
return
|
1189
|
+
return j(Gt, { class: `telia-icon telia-icon--${this.size}` }, j("span", { "aria-label": this.allyTitle, class: "telia-icon__container", innerHTML: e }), j("telia-vst", { dataTrackingId: this.dataTrackingId }));
|
1190
1190
|
}
|
1191
1191
|
static get style() {
|
1192
|
-
return
|
1192
|
+
return Ai;
|
1193
1193
|
}
|
1194
1194
|
}, [0, "telia-icon", {
|
1195
1195
|
name: [1],
|
@@ -1198,13 +1198,13 @@ const Ci = ".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
|
1201
|
+
function Ei() {
|
1202
1202
|
if (typeof customElements > "u")
|
1203
1203
|
return;
|
1204
1204
|
["telia-icon", "telia-vst"].forEach((t) => {
|
1205
1205
|
switch (t) {
|
1206
1206
|
case "telia-icon":
|
1207
|
-
customElements.get(t) || customElements.define(t,
|
1207
|
+
customElements.get(t) || customElements.define(t, Si);
|
1208
1208
|
break;
|
1209
1209
|
case "telia-vst":
|
1210
1210
|
customElements.get(t) || Ve();
|
@@ -1212,13 +1212,13 @@ function Si() {
|
|
1212
1212
|
}
|
1213
1213
|
});
|
1214
1214
|
}
|
1215
|
-
|
1215
|
+
Ei();
|
1216
1216
|
/**
|
1217
1217
|
* @license
|
1218
1218
|
* Copyright 2017 Google LLC
|
1219
1219
|
* SPDX-License-Identifier: BSD-3-Clause
|
1220
1220
|
*/
|
1221
|
-
const
|
1221
|
+
const J = (s) => (t, e) => {
|
1222
1222
|
e !== void 0 ? e.addInitializer(() => {
|
1223
1223
|
customElements.define(s, t);
|
1224
1224
|
}) : customElements.define(s, t);
|
@@ -1228,7 +1228,7 @@ const V = (s) => (t, e) => {
|
|
1228
1228
|
* Copyright 2017 Google LLC
|
1229
1229
|
* SPDX-License-Identifier: BSD-3-Clause
|
1230
1230
|
*/
|
1231
|
-
const
|
1231
|
+
const ki = { attribute: !0, type: String, converter: ot, reflect: !1, hasChanged: zt }, Ti = (s = ki, t, e) => {
|
1232
1232
|
const { kind: i, metadata: n } = e;
|
1233
1233
|
let o = globalThis.litPropertyMetadata.get(n);
|
1234
1234
|
if (o === void 0 && globalThis.litPropertyMetadata.set(n, o = /* @__PURE__ */ new Map()), o.set(e.name, s), i === "accessor") {
|
@@ -1250,7 +1250,7 @@ const Ei = { attribute: !0, type: String, converter: ot, reflect: !1, hasChanged
|
|
1250
1250
|
throw Error("Unsupported decorator location: " + i);
|
1251
1251
|
};
|
1252
1252
|
function $(s) {
|
1253
|
-
return (t, e) => typeof e == "object" ?
|
1253
|
+
return (t, e) => typeof e == "object" ? Ti(s, t, e) : ((i, n, o) => {
|
1254
1254
|
const r = n.hasOwnProperty(o);
|
1255
1255
|
return n.constructor.createProperty(o, r ? { ...i, wrapped: !0 } : i), r ? Object.getOwnPropertyDescriptor(n, o) : void 0;
|
1256
1256
|
})(s, t, e);
|
@@ -1268,14 +1268,14 @@ function C(s) {
|
|
1268
1268
|
* Copyright 2020 Google LLC
|
1269
1269
|
* SPDX-License-Identifier: BSD-3-Clause
|
1270
1270
|
*/
|
1271
|
-
const
|
1271
|
+
const Oi = (s) => s.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
1277
|
const _t = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, xt = (s) => (...t) => ({ _$litDirective$: s, values: t });
|
1278
|
-
let
|
1278
|
+
let qt = class {
|
1279
1279
|
constructor(t) {
|
1280
1280
|
}
|
1281
1281
|
get _$AU() {
|
@@ -1296,13 +1296,13 @@ let Zt = class {
|
|
1296
1296
|
* Copyright 2017 Google LLC
|
1297
1297
|
* SPDX-License-Identifier: BSD-3-Clause
|
1298
1298
|
*/
|
1299
|
-
const
|
1299
|
+
const G = (s, t) => {
|
1300
1300
|
var i;
|
1301
1301
|
const e = s._$AN;
|
1302
1302
|
if (e === void 0)
|
1303
1303
|
return !1;
|
1304
1304
|
for (const n of e)
|
1305
|
-
(i = n._$AO) == null || i.call(n, t, !1),
|
1305
|
+
(i = n._$AO) == null || i.call(n, t, !1), G(n, t);
|
1306
1306
|
return !0;
|
1307
1307
|
}, ht = (s) => {
|
1308
1308
|
let t, e;
|
@@ -1318,10 +1318,10 @@ const q = (s, t) => {
|
|
1318
1318
|
t._$AN = e = /* @__PURE__ */ new Set();
|
1319
1319
|
else if (e.has(s))
|
1320
1320
|
break;
|
1321
|
-
e.add(s),
|
1321
|
+
e.add(s), Mi(t);
|
1322
1322
|
}
|
1323
1323
|
};
|
1324
|
-
function
|
1324
|
+
function Li(s) {
|
1325
1325
|
this._$AN !== void 0 ? (ht(this), this._$AM = s, ts(this)) : this._$AM = s;
|
1326
1326
|
}
|
1327
1327
|
function Pi(s, t = !1, e = 0) {
|
@@ -1330,16 +1330,16 @@ function Pi(s, t = !1, e = 0) {
|
|
1330
1330
|
if (t)
|
1331
1331
|
if (Array.isArray(i))
|
1332
1332
|
for (let o = e; o < i.length; o++)
|
1333
|
-
|
1333
|
+
G(i[o], !1), ht(i[o]);
|
1334
1334
|
else
|
1335
|
-
i != null && (
|
1335
|
+
i != null && (G(i, !1), ht(i));
|
1336
1336
|
else
|
1337
|
-
|
1337
|
+
G(this, s);
|
1338
1338
|
}
|
1339
|
-
const
|
1340
|
-
s.type == _t.CHILD && (s._$AP ?? (s._$AP = Pi), s._$AQ ?? (s._$AQ =
|
1339
|
+
const Mi = (s) => {
|
1340
|
+
s.type == _t.CHILD && (s._$AP ?? (s._$AP = Pi), s._$AQ ?? (s._$AQ = Li));
|
1341
1341
|
};
|
1342
|
-
let es = class extends
|
1342
|
+
let es = class extends qt {
|
1343
1343
|
constructor() {
|
1344
1344
|
super(...arguments), this._$AN = void 0;
|
1345
1345
|
}
|
@@ -1348,10 +1348,10 @@ let es = class extends Zt {
|
|
1348
1348
|
}
|
1349
1349
|
_$AO(t, e = !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 && (
|
1351
|
+
t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (n = this.disconnected) == null || n.call(this)), e && (G(this, t), ht(this));
|
1352
1352
|
}
|
1353
1353
|
setValue(t) {
|
1354
|
-
if (
|
1354
|
+
if (Oi(this._$Ct))
|
1355
1355
|
this._$Ct._$AI(t, this);
|
1356
1356
|
else {
|
1357
1357
|
const e = [...this._$Ct._$AH];
|
@@ -1371,7 +1371,7 @@ let es = class extends Zt {
|
|
1371
1371
|
const pt = () => new Ri();
|
1372
1372
|
class Ri {
|
1373
1373
|
}
|
1374
|
-
const
|
1374
|
+
const Lt = /* @__PURE__ */ new WeakMap(), ut = xt(class extends es {
|
1375
1375
|
render(s) {
|
1376
1376
|
return u;
|
1377
1377
|
}
|
@@ -1383,14 +1383,14 @@ const Pt = /* @__PURE__ */ new WeakMap(), ut = xt(class extends es {
|
|
1383
1383
|
ot(s) {
|
1384
1384
|
if (typeof this.G == "function") {
|
1385
1385
|
const t = this.ct ?? globalThis;
|
1386
|
-
let e =
|
1387
|
-
e === void 0 && (e = /* @__PURE__ */ new WeakMap(),
|
1386
|
+
let e = Lt.get(t);
|
1387
|
+
e === void 0 && (e = /* @__PURE__ */ new WeakMap(), Lt.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);
|
1388
1388
|
} else
|
1389
1389
|
this.G.value = s;
|
1390
1390
|
}
|
1391
1391
|
get rt() {
|
1392
1392
|
var s, t;
|
1393
|
-
return typeof this.G == "function" ? (s =
|
1393
|
+
return typeof this.G == "function" ? (s = Lt.get(this.ct ?? globalThis)) == null ? void 0 : s.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,7 +1404,7 @@ const Pt = /* @__PURE__ */ new WeakMap(), ut = xt(class extends es {
|
|
1404
1404
|
* Copyright 2018 Google LLC
|
1405
1405
|
* SPDX-License-Identifier: BSD-3-Clause
|
1406
1406
|
*/
|
1407
|
-
const Xt = xt(class extends
|
1407
|
+
const Xt = xt(class extends qt {
|
1408
1408
|
constructor(s) {
|
1409
1409
|
var t;
|
1410
1410
|
if (super(s), s.type !== _t.ATTRIBUTE || s.name !== "class" || ((t = s.strings) == null ? void 0 : t.length) > 2)
|
@@ -1431,8 +1431,8 @@ const Xt = xt(class extends Zt {
|
|
1431
1431
|
return E;
|
1432
1432
|
}
|
1433
1433
|
});
|
1434
|
-
var Hi = Object.defineProperty,
|
1435
|
-
for (var n = i > 1 ? void 0 : i ?
|
1434
|
+
var Hi = Object.defineProperty, Ui = Object.getOwnPropertyDescriptor, Ni = (s, t, e, i) => {
|
1435
|
+
for (var n = i > 1 ? void 0 : i ? Ui(t, e) : t, o = s.length - 1, r; o >= 0; o--)
|
1436
1436
|
(r = s[o]) && (n = (i ? r(t, e, n) : r(n)) || n);
|
1437
1437
|
return i && n && Hi(t, e, n), n;
|
1438
1438
|
};
|
@@ -1467,18 +1467,18 @@ Yt.styles = [
|
|
1467
1467
|
}
|
1468
1468
|
`
|
1469
1469
|
];
|
1470
|
-
|
1470
|
+
Ni([
|
1471
1471
|
$({ attribute: !0 })
|
1472
1472
|
], Yt.prototype, "anchor", 2);
|
1473
|
-
const
|
1473
|
+
const ji = /* @__PURE__ */ new WeakMap();
|
1474
1474
|
let we = 0;
|
1475
|
-
const
|
1475
|
+
const Pt = /* @__PURE__ */ new Map(), Ce = /* @__PURE__ */ new WeakSet(), Ae = () => new Promise((s) => requestAnimationFrame(s)), Ii = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], Di = [{ opacity: 0 }], Se = [{ opacity: 0 }, { opacity: 1 }], Ee = (s, t) => {
|
1476
1476
|
const e = s - t;
|
1477
1477
|
return e === 0 ? void 0 : e;
|
1478
1478
|
}, ke = (s, t) => {
|
1479
1479
|
const e = s / t;
|
1480
1480
|
return e === 1 ? void 0 : e;
|
1481
|
-
},
|
1481
|
+
}, Mt = { left: (s, t) => {
|
1482
1482
|
const e = Ee(s, t);
|
1483
1483
|
return { value: e, transform: e == null || isNaN(e) ? void 0 : `translateX(${e}px)` };
|
1484
1484
|
}, top: (s, t) => {
|
@@ -1494,8 +1494,8 @@ const Lt = /* @__PURE__ */ new Map(), Ce = /* @__PURE__ */ new WeakSet(), Ae = (
|
|
1494
1494
|
t === 0 && (t = 1, e = { height: "1px" });
|
1495
1495
|
const i = ke(s, t);
|
1496
1496
|
return { value: i, overrideFrom: e, transform: i == null || isNaN(i) ? void 0 : `scaleY(${i})` };
|
1497
|
-
} },
|
1498
|
-
class
|
1497
|
+
} }, Bi = { duration: 333, easing: "ease-in-out" }, zi = ["left", "top", "width", "height", "opacity", "color", "background"], Te = /* @__PURE__ */ new WeakMap();
|
1498
|
+
class Fi extends es {
|
1499
1499
|
constructor(t) {
|
1500
1500
|
if (super(t), this.t = null, this.i = null, this.o = !0, this.shouldLog = !1, t.type === _t.CHILD)
|
1501
1501
|
throw Error("The `animate` directive must be used in attribute position.");
|
@@ -1515,7 +1515,7 @@ class zi extends es {
|
|
1515
1515
|
return u;
|
1516
1516
|
}
|
1517
1517
|
getController() {
|
1518
|
-
return
|
1518
|
+
return ji.get(this.l);
|
1519
1519
|
}
|
1520
1520
|
isDisabled() {
|
1521
1521
|
var t;
|
@@ -1529,12 +1529,12 @@ class zi extends es {
|
|
1529
1529
|
u(t) {
|
1530
1530
|
t = t ?? {};
|
1531
1531
|
const e = this.getController();
|
1532
|
-
e !== void 0 && ((t = { ...e.defaultOptions, ...t }).keyframeOptions = { ...e.defaultOptions.keyframeOptions, ...t.keyframeOptions }), t.properties ?? (t.properties =
|
1532
|
+
e !== void 0 && ((t = { ...e.defaultOptions, ...t }).keyframeOptions = { ...e.defaultOptions.keyframeOptions, ...t.keyframeOptions }), t.properties ?? (t.properties = zi), this.options = t;
|
1533
1533
|
}
|
1534
1534
|
p() {
|
1535
1535
|
const t = {}, e = this.element.getBoundingClientRect(), i = getComputedStyle(this.element);
|
1536
1536
|
return this.options.properties.forEach((n) => {
|
1537
|
-
const o = e[n] ?? (
|
1537
|
+
const o = e[n] ?? (Mt[n] ? void 0 : i[n]), r = Number(o);
|
1538
1538
|
t[n] = isNaN(r) ? o + "" : r;
|
1539
1539
|
}), t;
|
1540
1540
|
}
|
@@ -1562,9 +1562,9 @@ class zi extends es {
|
|
1562
1562
|
const { from: o, to: r } = this.O(this.g, n, e);
|
1563
1563
|
this.log("measured", [this.g, n, o, r]), t = this.calculateKeyframes(o, r);
|
1564
1564
|
} else {
|
1565
|
-
const o =
|
1565
|
+
const o = Pt.get(this.options.inId);
|
1566
1566
|
if (o) {
|
1567
|
-
|
1567
|
+
Pt.delete(this.options.inId);
|
1568
1568
|
const { from: r, to: a } = this.O(o, n, e);
|
1569
1569
|
t = this.calculateKeyframes(r, 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);
|
1570
1570
|
} else
|
@@ -1583,7 +1583,7 @@ class zi extends es {
|
|
1583
1583
|
}
|
1584
1584
|
async disconnected() {
|
1585
1585
|
var e;
|
1586
|
-
if (!this.o || (this.options.id !== void 0 &&
|
1586
|
+
if (!this.o || (this.options.id !== void 0 && Pt.set(this.options.id, this.g), this.options.out === void 0))
|
1587
1587
|
return;
|
1588
1588
|
if (this.prepare(), await Ae(), (e = this.t) == null ? void 0 : e.isConnected) {
|
1589
1589
|
const i = this.i && this.i.parentNode === this.t ? this.i : null;
|
@@ -1623,7 +1623,7 @@ class zi extends es {
|
|
1623
1623
|
}), t;
|
1624
1624
|
}
|
1625
1625
|
A(t, e = this._()) {
|
1626
|
-
const i = { ...
|
1626
|
+
const i = { ...Bi };
|
1627
1627
|
return e.forEach((n) => Object.assign(i, n.options.keyframeOptions)), Object.assign(i, t), i;
|
1628
1628
|
}
|
1629
1629
|
O(t, e, i) {
|
@@ -1640,8 +1640,8 @@ class zi extends es {
|
|
1640
1640
|
const a = {};
|
1641
1641
|
for (const l in e) {
|
1642
1642
|
const c = t[l], d = e[l];
|
1643
|
-
if (l in
|
1644
|
-
const h =
|
1643
|
+
if (l in Mt) {
|
1644
|
+
const h = Mt[l];
|
1645
1645
|
if (c === void 0 || d === void 0)
|
1646
1646
|
continue;
|
1647
1647
|
const p = h(c, d);
|
@@ -1674,7 +1674,7 @@ class zi extends es {
|
|
1674
1674
|
this.shouldLog && !this.isDisabled() && console.log(t, this.options.id, e);
|
1675
1675
|
}
|
1676
1676
|
}
|
1677
|
-
const Nt = xt(
|
1677
|
+
const Nt = xt(Fi), it = (s, t, e) => {
|
1678
1678
|
s && e.style.setProperty(t, s);
|
1679
1679
|
}, ss = (s, t) => {
|
1680
1680
|
var e, i, n, o;
|
@@ -1692,12 +1692,12 @@ const Nt = xt(zi), it = (s, t, e) => {
|
|
1692
1692
|
t
|
1693
1693
|
);
|
1694
1694
|
};
|
1695
|
-
var
|
1696
|
-
for (var n = i > 1 ? void 0 : i ?
|
1695
|
+
var Wi = Object.defineProperty, Gi = Object.getOwnPropertyDescriptor, wt = (s, t, e, i) => {
|
1696
|
+
for (var n = i > 1 ? void 0 : i ? Gi(t, e) : t, o = s.length - 1, r; o >= 0; o--)
|
1697
1697
|
(r = s[o]) && (n = (i ? r(t, e, n) : r(n)) || n);
|
1698
|
-
return i && n &&
|
1698
|
+
return i && n && Wi(t, e, n), n;
|
1699
1699
|
};
|
1700
|
-
class
|
1700
|
+
class M extends m {
|
1701
1701
|
constructor() {
|
1702
1702
|
super(...arguments), this.active = !1, this.loaded = !1, this.containerRef = pt();
|
1703
1703
|
}
|
@@ -1726,12 +1726,10 @@ class H extends m {
|
|
1726
1726
|
const i = (c = this.application) == null ? void 0 : c.triggerIcon;
|
1727
1727
|
if (!i)
|
1728
1728
|
return u;
|
1729
|
-
const n = async (d) =>
|
1730
|
-
(p) => p[d]
|
1731
|
-
), { type: o, content: r } = i;
|
1729
|
+
const n = async (d) => ks, { type: o, content: r } = i;
|
1732
1730
|
switch (o) {
|
1733
1731
|
case "Telia": {
|
1734
|
-
const d = await n(
|
1732
|
+
const d = await n();
|
1735
1733
|
return d ? f`<telia-icon
|
1736
1734
|
class="trigger-icon"
|
1737
1735
|
svg=${d.svg}
|
@@ -1751,7 +1749,7 @@ class H extends m {
|
|
1751
1749
|
@click=${this.toggleActive}
|
1752
1750
|
${Nt({
|
1753
1751
|
keyframeOptions: {},
|
1754
|
-
in:
|
1752
|
+
in: Ii,
|
1755
1753
|
stabilizeOut: !0,
|
1756
1754
|
skipInitial: !1
|
1757
1755
|
})}
|
@@ -1800,7 +1798,7 @@ class H extends m {
|
|
1800
1798
|
</div>`;
|
1801
1799
|
}
|
1802
1800
|
}
|
1803
|
-
|
1801
|
+
M.styles = [
|
1804
1802
|
b`
|
1805
1803
|
:host {
|
1806
1804
|
--voca-rem-multiplier: 0.625;
|
@@ -1909,20 +1907,20 @@ H.styles = [
|
|
1909
1907
|
];
|
1910
1908
|
wt([
|
1911
1909
|
$({ attribute: !1 })
|
1912
|
-
],
|
1910
|
+
], M.prototype, "application", 2);
|
1913
1911
|
wt([
|
1914
1912
|
C()
|
1915
|
-
],
|
1913
|
+
], M.prototype, "active", 2);
|
1916
1914
|
wt([
|
1917
1915
|
C()
|
1918
|
-
],
|
1916
|
+
], M.prototype, "loaded", 2);
|
1919
1917
|
wt([
|
1920
1918
|
C()
|
1921
|
-
],
|
1922
|
-
var
|
1919
|
+
], M.prototype, "icon", 2);
|
1920
|
+
var Zi = Object.defineProperty, qi = Object.getOwnPropertyDescriptor, T = (s, t, e, i) => {
|
1923
1921
|
for (var n = i > 1 ? void 0 : i ? qi(t, e) : t, o = s.length - 1, r; o >= 0; o--)
|
1924
1922
|
(r = s[o]) && (n = (i ? r(t, e, n) : r(n)) || n);
|
1925
|
-
return i && n &&
|
1923
|
+
return i && n && Zi(t, e, n), n;
|
1926
1924
|
};
|
1927
1925
|
const is = (s) => {
|
1928
1926
|
class t extends s {
|
@@ -1996,17 +1994,17 @@ ns.styles = [
|
|
1996
1994
|
* Copyright 2021 Google LLC
|
1997
1995
|
* SPDX-License-Identifier: BSD-3-Clause
|
1998
1996
|
*/
|
1999
|
-
function*
|
1997
|
+
function* Xi(s, t) {
|
2000
1998
|
if (s !== void 0) {
|
2001
1999
|
let e = 0;
|
2002
2000
|
for (const i of s)
|
2003
2001
|
yield t(i, e++);
|
2004
2002
|
}
|
2005
2003
|
}
|
2006
|
-
var Kt = /* @__PURE__ */ ((s) => (s.Inline = "inline", s.Trigger = "trigger", s))(Kt || {}),
|
2007
|
-
for (var n = i > 1 ? void 0 : i ?
|
2004
|
+
var Kt = /* @__PURE__ */ ((s) => (s.Inline = "inline", s.Trigger = "trigger", s))(Kt || {}), Yi = Object.defineProperty, Ki = Object.getOwnPropertyDescriptor, Qi = (s, t, e, i) => {
|
2005
|
+
for (var n = i > 1 ? void 0 : i ? Ki(t, e) : t, o = s.length - 1, r; o >= 0; o--)
|
2008
2006
|
(r = s[o]) && (n = (i ? r(t, e, n) : r(n)) || n);
|
2009
|
-
return i && n &&
|
2007
|
+
return i && n && Yi(t, e, n), n;
|
2010
2008
|
};
|
2011
2009
|
class Qt extends m {
|
2012
2010
|
constructor() {
|
@@ -2034,7 +2032,7 @@ class Qt extends m {
|
|
2034
2032
|
}
|
2035
2033
|
render() {
|
2036
2034
|
return this.application.renderStrategy === Kt.Trigger && (this.renderRoot.host.classList.add("floating"), this.application.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.application.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right")), f`<div class="widget-container" ${ut(this.wrapperRef)}>
|
2037
|
-
${
|
2035
|
+
${Xi(this.nodes, (t) => t)}
|
2038
2036
|
</div>`;
|
2039
2037
|
}
|
2040
2038
|
}
|
@@ -2136,15 +2134,15 @@ Qt.styles = b`
|
|
2136
2134
|
animation: slideDown 0.3s linear;
|
2137
2135
|
}
|
2138
2136
|
`;
|
2139
|
-
|
2137
|
+
Qi([
|
2140
2138
|
$({ attribute: !1 })
|
2141
2139
|
], Qt.prototype, "application", 2);
|
2142
|
-
var
|
2143
|
-
for (var n = i > 1 ? void 0 : i ?
|
2140
|
+
var Ji = Object.defineProperty, Vi = Object.getOwnPropertyDescriptor, Jt = (s, t, e, i) => {
|
2141
|
+
for (var n = i > 1 ? void 0 : i ? Vi(t, e) : t, o = s.length - 1, r; o >= 0; o--)
|
2144
2142
|
(r = s[o]) && (n = (i ? r(t, e, n) : r(n)) || n);
|
2145
|
-
return i && n &&
|
2143
|
+
return i && n && Ji(t, e, n), n;
|
2146
2144
|
};
|
2147
|
-
class
|
2145
|
+
class V extends m {
|
2148
2146
|
constructor() {
|
2149
2147
|
super(), this.status = "deactivated", this.addEventListener("environment-created", this.onEnvironmentCreated);
|
2150
2148
|
}
|
@@ -2170,13 +2168,13 @@ class tt extends m {
|
|
2170
2168
|
if (!this.widget || this.status !== "activated")
|
2171
2169
|
return u;
|
2172
2170
|
if (this.widget.renderStrategy === Kt.Trigger) {
|
2173
|
-
const t = new
|
2171
|
+
const t = new M();
|
2174
2172
|
return t.application = this.widget, t;
|
2175
2173
|
}
|
2176
2174
|
return this.widget.render();
|
2177
2175
|
}
|
2178
2176
|
}
|
2179
|
-
|
2177
|
+
V.styles = [
|
2180
2178
|
b`
|
2181
2179
|
:host {
|
2182
2180
|
display: block;
|
@@ -2185,24 +2183,24 @@ tt.styles = [
|
|
2185
2183
|
];
|
2186
2184
|
Jt([
|
2187
2185
|
$({ attribute: !0 })
|
2188
|
-
],
|
2186
|
+
], V.prototype, "name", 2);
|
2189
2187
|
Jt([
|
2190
2188
|
C()
|
2191
|
-
],
|
2189
|
+
], V.prototype, "widget", 2);
|
2192
2190
|
Jt([
|
2193
2191
|
C()
|
2194
|
-
],
|
2192
|
+
], V.prototype, "status", 2);
|
2195
2193
|
customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", Yt);
|
2196
|
-
customElements.get("ace-trigger") || customElements.define("ace-trigger",
|
2194
|
+
customElements.get("ace-trigger") || customElements.define("ace-trigger", M);
|
2197
2195
|
customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", ns);
|
2198
2196
|
customElements.get("ace-wrapper") || customElements.define("ace-wrapper", Qt);
|
2199
|
-
customElements.get("ace-widget") || customElements.define("ace-widget",
|
2200
|
-
var
|
2201
|
-
for (var n = i > 1 ? void 0 : i ?
|
2197
|
+
customElements.get("ace-widget") || customElements.define("ace-widget", V);
|
2198
|
+
var tn = Object.defineProperty, en = Object.getOwnPropertyDescriptor, Ct = (s, t, e, i) => {
|
2199
|
+
for (var n = i > 1 ? void 0 : i ? en(t, e) : t, o = s.length - 1, r; o >= 0; o--)
|
2202
2200
|
(r = s[o]) && (n = (i ? r(t, e, n) : r(n)) || n);
|
2203
|
-
return i && n &&
|
2201
|
+
return i && n && tn(t, e, n), n;
|
2204
2202
|
};
|
2205
|
-
let
|
2203
|
+
let B = class extends m {
|
2206
2204
|
constructor() {
|
2207
2205
|
super(...arguments), this.loading = !0, this.entries = [];
|
2208
2206
|
}
|
@@ -2237,7 +2235,7 @@ let z = class extends m {
|
|
2237
2235
|
${Nt({
|
2238
2236
|
keyframeOptions: {},
|
2239
2237
|
in: Se,
|
2240
|
-
out:
|
2238
|
+
out: Di,
|
2241
2239
|
stabilizeOut: !0,
|
2242
2240
|
skipInitial: !1
|
2243
2241
|
})}
|
@@ -2245,7 +2243,7 @@ let z = class extends m {
|
|
2245
2243
|
</div> `;
|
2246
2244
|
}
|
2247
2245
|
};
|
2248
|
-
|
2246
|
+
B.styles = [
|
2249
2247
|
b`
|
2250
2248
|
:host {
|
2251
2249
|
display: block;
|
@@ -2261,20 +2259,20 @@ z.styles = [
|
|
2261
2259
|
];
|
2262
2260
|
Ct([
|
2263
2261
|
$({ type: Boolean })
|
2264
|
-
],
|
2262
|
+
], B.prototype, "loading", 2);
|
2265
2263
|
Ct([
|
2266
2264
|
$({ attribute: !1 })
|
2267
|
-
],
|
2265
|
+
], B.prototype, "session", 2);
|
2268
2266
|
Ct([
|
2269
2267
|
C()
|
2270
|
-
],
|
2271
|
-
|
2272
|
-
|
2273
|
-
],
|
2274
|
-
var
|
2275
|
-
for (var n = i > 1 ? void 0 : i ?
|
2268
|
+
], B.prototype, "entries", 2);
|
2269
|
+
B = Ct([
|
2270
|
+
J("ace-conversation-session")
|
2271
|
+
], B);
|
2272
|
+
var sn = Object.defineProperty, nn = Object.getOwnPropertyDescriptor, os = (s, t, e, i) => {
|
2273
|
+
for (var n = i > 1 ? void 0 : i ? nn(t, e) : t, o = s.length - 1, r; o >= 0; o--)
|
2276
2274
|
(r = s[o]) && (n = (i ? r(t, e, n) : r(n)) || n);
|
2277
|
-
return i && n &&
|
2275
|
+
return i && n && sn(t, e, n), n;
|
2278
2276
|
};
|
2279
2277
|
let ft = class extends m {
|
2280
2278
|
connectedCallback() {
|
@@ -2475,23 +2473,23 @@ os([
|
|
2475
2473
|
$({ attribute: !1 })
|
2476
2474
|
], ft.prototype, "entry", 2);
|
2477
2475
|
ft = os([
|
2478
|
-
|
2476
|
+
J("conversation-entry")
|
2479
2477
|
], ft);
|
2480
2478
|
/**
|
2481
2479
|
* @license
|
2482
2480
|
* Copyright 2021 Google LLC
|
2483
2481
|
* SPDX-License-Identifier: BSD-3-Clause
|
2484
2482
|
*/
|
2485
|
-
const
|
2483
|
+
const on = (s, t, e) => {
|
2486
2484
|
for (const i of t)
|
2487
2485
|
if (i[0] === s)
|
2488
2486
|
return (0, i[1])();
|
2489
2487
|
return e == null ? void 0 : e();
|
2490
2488
|
};
|
2491
|
-
var
|
2492
|
-
for (var n = i > 1 ? void 0 : i ?
|
2489
|
+
var rn = Object.defineProperty, an = Object.getOwnPropertyDescriptor, rs = (s, t, e, i) => {
|
2490
|
+
for (var n = i > 1 ? void 0 : i ? an(t, e) : t, o = s.length - 1, r; o >= 0; o--)
|
2493
2491
|
(r = s[o]) && (n = (i ? r(t, e, n) : r(n)) || n);
|
2494
|
-
return i && n &&
|
2492
|
+
return i && n && rn(t, e, n), n;
|
2495
2493
|
};
|
2496
2494
|
let gt = class extends m {
|
2497
2495
|
render() {
|
@@ -2499,7 +2497,7 @@ let gt = class extends m {
|
|
2499
2497
|
<div class="message-group">
|
2500
2498
|
${this.group.items.map(
|
2501
2499
|
([s, t]) => f`
|
2502
|
-
${
|
2500
|
+
${on(
|
2503
2501
|
s,
|
2504
2502
|
[["html", () => f`<message-type-html .message=${t} />`]],
|
2505
2503
|
() => {
|
@@ -2536,12 +2534,12 @@ rs([
|
|
2536
2534
|
$({ attribute: !1 })
|
2537
2535
|
], gt.prototype, "group", 2);
|
2538
2536
|
gt = rs([
|
2539
|
-
|
2537
|
+
J("conversation-group")
|
2540
2538
|
], gt);
|
2541
|
-
var
|
2542
|
-
for (var n = i > 1 ? void 0 : i ?
|
2539
|
+
var ln = Object.defineProperty, cn = Object.getOwnPropertyDescriptor, dn = (s, t, e, i) => {
|
2540
|
+
for (var n = i > 1 ? void 0 : i ? cn(t, e) : t, o = s.length - 1, r; o >= 0; o--)
|
2543
2541
|
(r = s[o]) && (n = (i ? r(t, e, n) : r(n)) || n);
|
2544
|
-
return i && n &&
|
2542
|
+
return i && n && ln(t, e, n), n;
|
2545
2543
|
};
|
2546
2544
|
let jt = class extends m {
|
2547
2545
|
render() {
|
@@ -2589,15 +2587,15 @@ jt.styles = [
|
|
2589
2587
|
}
|
2590
2588
|
`
|
2591
2589
|
];
|
2592
|
-
jt =
|
2593
|
-
|
2590
|
+
jt = dn([
|
2591
|
+
J("ace-typing-state")
|
2594
2592
|
], jt);
|
2595
2593
|
/**
|
2596
2594
|
* @license
|
2597
2595
|
* Copyright 2017 Google LLC
|
2598
2596
|
* SPDX-License-Identifier: BSD-3-Clause
|
2599
2597
|
*/
|
2600
|
-
class It extends
|
2598
|
+
class It extends qt {
|
2601
2599
|
constructor(t) {
|
2602
2600
|
if (super(t), this.et = u, t.type !== _t.CHILD)
|
2603
2601
|
throw Error(this.constructor.directiveName + "() can only be used in child bindings");
|
@@ -2617,16 +2615,16 @@ class It extends Zt {
|
|
2617
2615
|
}
|
2618
2616
|
}
|
2619
2617
|
It.directiveName = "unsafeHTML", It.resultType = 1;
|
2620
|
-
const
|
2621
|
-
var
|
2622
|
-
for (var n = i > 1 ? void 0 : i ?
|
2618
|
+
const hn = xt(It);
|
2619
|
+
var pn = Object.defineProperty, un = Object.getOwnPropertyDescriptor, as = (s, t, e, i) => {
|
2620
|
+
for (var n = i > 1 ? void 0 : i ? un(t, e) : t, o = s.length - 1, r; o >= 0; o--)
|
2623
2621
|
(r = s[o]) && (n = (i ? r(t, e, n) : r(n)) || n);
|
2624
|
-
return i && n &&
|
2622
|
+
return i && n && pn(t, e, n), n;
|
2625
2623
|
};
|
2626
2624
|
let $t = class extends m {
|
2627
2625
|
render() {
|
2628
2626
|
return f`<div class="message-type-html">
|
2629
|
-
${
|
2627
|
+
${hn(this.message.content)}
|
2630
2628
|
</div>`;
|
2631
2629
|
}
|
2632
2630
|
};
|
@@ -2649,9 +2647,9 @@ as([
|
|
2649
2647
|
$({ attribute: !1 })
|
2650
2648
|
], $t.prototype, "message", 2);
|
2651
2649
|
$t = as([
|
2652
|
-
|
2650
|
+
J("message-type-html")
|
2653
2651
|
], $t);
|
2654
|
-
class
|
2652
|
+
class fn {
|
2655
2653
|
constructor(t) {
|
2656
2654
|
this._message = null, this._host = t, t.addController(this);
|
2657
2655
|
}
|
@@ -2667,17 +2665,17 @@ class un {
|
|
2667
2665
|
return !!this.message;
|
2668
2666
|
}
|
2669
2667
|
}
|
2670
|
-
var
|
2671
|
-
for (var n = i > 1 ? void 0 : i ?
|
2668
|
+
var gn = Object.defineProperty, $n = Object.getOwnPropertyDescriptor, At = (s, t, e, i) => {
|
2669
|
+
for (var n = i > 1 ? void 0 : i ? $n(t, e) : t, o = s.length - 1, r; o >= 0; o--)
|
2672
2670
|
(r = s[o]) && (n = (i ? r(t, e, n) : r(n)) || n);
|
2673
|
-
return i && n &&
|
2671
|
+
return i && n && gn(t, e, n), n;
|
2674
2672
|
};
|
2675
|
-
const
|
2673
|
+
const mn = (s) => {
|
2676
2674
|
s.scrollTo ? s.scrollTo({ top: s.scrollHeight, behavior: "smooth" }) : s.scrollTop = s.scrollHeight;
|
2677
2675
|
}, ls = is(m);
|
2678
|
-
class
|
2676
|
+
class tt extends ls {
|
2679
2677
|
constructor() {
|
2680
|
-
super(...arguments), this.toast = new
|
2678
|
+
super(...arguments), this.toast = new fn(this), this.message = "", this.platform = null, this.session = null, this.disabled = !1, this.conversationContentRef = pt(), this.formRef = pt(), this.chatScrollHeight = 0;
|
2681
2679
|
}
|
2682
2680
|
async connectedCallback() {
|
2683
2681
|
super.connectedCallback();
|
@@ -2721,7 +2719,7 @@ class R extends ls {
|
|
2721
2719
|
const t = this.conversationContentRef.value;
|
2722
2720
|
t && setTimeout(() => {
|
2723
2721
|
const e = t.scrollHeight;
|
2724
|
-
e > this.chatScrollHeight && (
|
2722
|
+
e > this.chatScrollHeight && (mn(t), this.chatScrollHeight = e);
|
2725
2723
|
}, 1e3);
|
2726
2724
|
}
|
2727
2725
|
disableInput() {
|
@@ -2770,14 +2768,14 @@ class R extends ls {
|
|
2770
2768
|
title=${t.getOrFallback("conversation.send-alt", "Send")}
|
2771
2769
|
?disabled=${this.disabled}
|
2772
2770
|
>
|
2773
|
-
<telia-icon svg=${
|
2771
|
+
<telia-icon svg=${Ts.svg}></telia-icon>
|
2774
2772
|
</button>
|
2775
2773
|
</div>
|
2776
2774
|
</form>
|
2777
2775
|
</div>`;
|
2778
2776
|
}
|
2779
2777
|
}
|
2780
|
-
|
2778
|
+
tt.styles = [
|
2781
2779
|
ls.styles || [],
|
2782
2780
|
b`
|
2783
2781
|
:host {
|
@@ -2936,24 +2934,17 @@ R.styles = [
|
|
2936
2934
|
];
|
2937
2935
|
At([
|
2938
2936
|
C()
|
2939
|
-
],
|
2937
|
+
], tt.prototype, "message", 2);
|
2940
2938
|
At([
|
2941
2939
|
C()
|
2942
|
-
],
|
2940
|
+
], tt.prototype, "platform", 2);
|
2943
2941
|
At([
|
2944
2942
|
C()
|
2945
|
-
],
|
2943
|
+
], tt.prototype, "session", 2);
|
2946
2944
|
At([
|
2947
2945
|
C()
|
2948
|
-
],
|
2949
|
-
const Cn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
2950
|
-
__proto__: null,
|
2951
|
-
Conversation: R,
|
2952
|
-
default: R
|
2953
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
2946
|
+
], tt.prototype, "disabled", 2);
|
2954
2947
|
export {
|
2955
|
-
|
2956
|
-
|
2957
|
-
ks as s,
|
2958
|
-
de as v
|
2948
|
+
tt as Conversation,
|
2949
|
+
tt as default
|
2959
2950
|
};
|