@telia-ace/widget-conversation-flamingo 1.1.45-rc.3 → 1.1.45
Sign up to get free protection for your applications and to get access to all the features.
- package/{conversation-ebf57871.js → conversation-4cae227d.js} +35 -35
- package/{conversation-ed602fb6.mjs → conversation-f7ad8459.mjs} +197 -197
- package/conversation.d.ts +2 -1
- package/index-20604d5c.js +3 -0
- package/index-913a371e.mjs +1199 -0
- package/index.js +1 -3
- package/index.mjs +9 -1308
- package/models/conversation-provider.d.ts +4 -1
- package/models/conversation-session-state.d.ts +2 -3
- package/package.json +2 -2
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { C as Et, E as cs } from "./index-913a371e.mjs";
|
2
2
|
/**
|
3
3
|
* @license
|
4
4
|
* Copyright 2019 Google LLC
|
@@ -24,7 +24,7 @@ let Le = class {
|
|
24
24
|
return this.cssText;
|
25
25
|
}
|
26
26
|
};
|
27
|
-
const
|
27
|
+
const ds = (s) => new Le(typeof s == "string" ? s : s + "", void 0, zt), 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;
|
@@ -33,7 +33,7 @@ const cs = (s) => new Le(typeof s == "string" ? s : s + "", void 0, zt), b = (s,
|
|
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
35
|
return new Le(e, s, zt);
|
36
|
-
},
|
36
|
+
}, hs = (s, t) => {
|
37
37
|
if (Bt)
|
38
38
|
s.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
39
39
|
else
|
@@ -45,17 +45,17 @@ const cs = (s) => new Le(typeof s == "string" ? s : s + "", void 0, zt), b = (s,
|
|
45
45
|
let e = "";
|
46
46
|
for (const i of t.cssRules)
|
47
47
|
e += i.cssText;
|
48
|
-
return
|
48
|
+
return ds(e);
|
49
49
|
})(s) : s;
|
50
50
|
/**
|
51
51
|
* @license
|
52
52
|
* Copyright 2017 Google LLC
|
53
53
|
* SPDX-License-Identifier: BSD-3-Clause
|
54
54
|
*/
|
55
|
-
const { is:
|
55
|
+
const { is: ps, defineProperty: us, getOwnPropertyDescriptor: fs, getOwnPropertyNames: gs, getOwnPropertySymbols: $s, getPrototypeOf: ms } = Object, S = globalThis, ee = S.trustedTypes, vs = ee ? ee.emptyScript : "", kt = S.reactiveElementPolyfillSupport, F = (s, t) => s, ot = { toAttribute(s, t) {
|
56
56
|
switch (t) {
|
57
57
|
case Boolean:
|
58
|
-
s = s ?
|
58
|
+
s = s ? vs : null;
|
59
59
|
break;
|
60
60
|
case Object:
|
61
61
|
case Array:
|
@@ -80,7 +80,7 @@ const { is: hs, defineProperty: ps, getOwnPropertyDescriptor: us, getOwnProperty
|
|
80
80
|
}
|
81
81
|
}
|
82
82
|
return e;
|
83
|
-
} }, Ft = (s, t) => !
|
83
|
+
} }, Ft = (s, t) => !ps(s, t), se = { attribute: !0, type: String, converter: ot, reflect: !1, hasChanged: Ft };
|
84
84
|
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), S.litPropertyMetadata ?? (S.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
85
85
|
let R = class extends HTMLElement {
|
86
86
|
static addInitializer(t) {
|
@@ -92,11 +92,11 @@ let R = class extends HTMLElement {
|
|
92
92
|
static createProperty(t, e = se) {
|
93
93
|
if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
|
94
94
|
const i = Symbol(), n = this.getPropertyDescriptor(t, i, e);
|
95
|
-
n !== void 0 &&
|
95
|
+
n !== void 0 && us(this.prototype, t, n);
|
96
96
|
}
|
97
97
|
}
|
98
98
|
static getPropertyDescriptor(t, e, i) {
|
99
|
-
const { get: n, set: o } =
|
99
|
+
const { get: n, set: o } = fs(this.prototype, t) ?? { get() {
|
100
100
|
return this[e];
|
101
101
|
}, set(r) {
|
102
102
|
this[e] = r;
|
@@ -114,14 +114,14 @@ let R = class extends HTMLElement {
|
|
114
114
|
static _$Ei() {
|
115
115
|
if (this.hasOwnProperty(F("elementProperties")))
|
116
116
|
return;
|
117
|
-
const t =
|
117
|
+
const t = ms(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(F("finalized")))
|
122
122
|
return;
|
123
123
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(F("properties"))) {
|
124
|
-
const e = this.properties, i = [...
|
124
|
+
const e = this.properties, i = [...gs(e), ...$s(e)];
|
125
125
|
for (const n of i)
|
126
126
|
this.createProperty(n, e[n]);
|
127
127
|
}
|
@@ -176,7 +176,7 @@ let R = class extends HTMLElement {
|
|
176
176
|
}
|
177
177
|
createRenderRoot() {
|
178
178
|
const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
179
|
-
return
|
179
|
+
return hs(t, this.constructor.elementStyles), t;
|
180
180
|
}
|
181
181
|
connectedCallback() {
|
182
182
|
var t;
|
@@ -299,15 +299,15 @@ R.elementStyles = [], R.shadowRootOptions = { mode: "open" }, R[F("elementProper
|
|
299
299
|
* Copyright 2017 Google LLC
|
300
300
|
* SPDX-License-Identifier: BSD-3-Clause
|
301
301
|
*/
|
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,
|
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, ys = `<${Me}>`, L = document, G = () => L.createComment(""), q = (s) => s === null || typeof s != "object" && typeof s != "function", Re = Array.isArray, bs = (s) => Re(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", Tt = `[
|
303
303
|
\f\r]`, z = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ne = /-->/g, oe = />/g, k = RegExp(`>|${Tt}(?:([^\\s"'>=/]+)(${Tt}*=${Tt}*(?:[^
|
304
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), re = /'/g, ae = /"/g, He = /^(?:script|style|textarea|title)$/i,
|
304
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), re = /'/g, ae = /"/g, He = /^(?:script|style|textarea|title)$/i, _s = (s) => (t, ...e) => ({ _$litType$: s, strings: t, values: e }), f = _s(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");
|
308
308
|
return ie !== void 0 ? ie.createHTML(t) : t;
|
309
309
|
}
|
310
|
-
const
|
310
|
+
const Cs = (s, t) => {
|
311
311
|
const e = s.length - 1, i = [];
|
312
312
|
let n, o = t === 2 ? "<svg>" : "", r = z;
|
313
313
|
for (let a = 0; a < e; a++) {
|
@@ -316,17 +316,17 @@ const _s = (s, t) => {
|
|
316
316
|
for (; p < l.length && (r.lastIndex = p, d = r.exec(l), d !== null); )
|
317
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 === z ? l +
|
319
|
+
o += r === z ? l + ys : 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 Y {
|
324
324
|
constructor({ strings: t, _$litType$: e }, i) {
|
325
325
|
let n;
|
326
326
|
this.parts = [];
|
327
327
|
let o = 0, r = 0;
|
328
|
-
const a = t.length - 1, l = this.parts, [c, d] =
|
329
|
-
if (this.el =
|
328
|
+
const a = t.length - 1, l = this.parts, [c, d] = Cs(t, e);
|
329
|
+
if (this.el = Y.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
|
}
|
@@ -336,7 +336,7 @@ class X {
|
|
336
336
|
for (const h of n.getAttributeNames())
|
337
337
|
if (h.endsWith(Pe)) {
|
338
338
|
const p = d[r++], g = n.getAttribute(h).split(A), C = /([.?@])?(.*)/.exec(p);
|
339
|
-
l.push({ type: 1, index: o, name: C[2], strings: g, ctor: C[1] === "." ?
|
339
|
+
l.push({ type: 1, index: o, name: C[2], strings: g, ctor: C[1] === "." ? ws : C[1] === "?" ? As : C[1] === "@" ? Ss : vt }), n.removeAttribute(h);
|
340
340
|
} else
|
341
341
|
h.startsWith(A) && (l.push({ type: 6, index: o }), n.removeAttribute(h));
|
342
342
|
if (He.test(n.tagName)) {
|
@@ -372,7 +372,7 @@ function I(s, t, e = s, i) {
|
|
372
372
|
const o = q(t) ? void 0 : t._$litDirective$;
|
373
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 = I(s, n._$AS(s, t.values), n, i)), t;
|
374
374
|
}
|
375
|
-
class
|
375
|
+
class xs {
|
376
376
|
constructor(t, e) {
|
377
377
|
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
|
378
378
|
}
|
@@ -389,7 +389,7 @@ class Cs {
|
|
389
389
|
for (; l !== void 0; ) {
|
390
390
|
if (r === l.index) {
|
391
391
|
let c;
|
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
|
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 Es(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
|
}
|
@@ -421,7 +421,7 @@ class K {
|
|
421
421
|
return this._$AB;
|
422
422
|
}
|
423
423
|
_$AI(t, e = this) {
|
424
|
-
t = I(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) :
|
424
|
+
t = I(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) : bs(t) ? this.T(t) : this._(t);
|
425
425
|
}
|
426
426
|
k(t) {
|
427
427
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
@@ -434,17 +434,17 @@ class K {
|
|
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 = Y.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 {
|
441
|
-
const r = new
|
441
|
+
const r = new xs(n, this), a = r.u(this.options);
|
442
442
|
r.p(e), this.$(a), this._$AH = r;
|
443
443
|
}
|
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 Y(t)), e;
|
448
448
|
}
|
449
449
|
T(t) {
|
450
450
|
Re(this._$AH) || (this._$AH = [], this._$AR());
|
@@ -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
|
496
|
+
class ws extends vt {
|
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
|
504
|
+
let As = class extends vt {
|
505
505
|
constructor() {
|
506
506
|
super(...arguments), this.type = 4;
|
507
507
|
}
|
@@ -509,7 +509,7 @@ let ws = class extends vt {
|
|
509
509
|
this.element.toggleAttribute(this.name, !!t && t !== u);
|
510
510
|
}
|
511
511
|
};
|
512
|
-
class
|
512
|
+
class Ss extends vt {
|
513
513
|
constructor(t, e, i, n, o) {
|
514
514
|
super(t, e, i, n, o), this.type = 5;
|
515
515
|
}
|
@@ -524,7 +524,7 @@ class As extends vt {
|
|
524
524
|
typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, t) : this._$AH.handleEvent(t);
|
525
525
|
}
|
526
526
|
}
|
527
|
-
class
|
527
|
+
class Es {
|
528
528
|
constructor(t, e, i) {
|
529
529
|
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
|
530
530
|
}
|
@@ -536,8 +536,8 @@ class Ss {
|
|
536
536
|
}
|
537
537
|
}
|
538
538
|
const Ot = W.litHtmlPolyfillSupport;
|
539
|
-
Ot == null || Ot(
|
540
|
-
const
|
539
|
+
Ot == null || Ot(Y, K), (W.litHtmlVersions ?? (W.litHtmlVersions = [])).push("3.0.2");
|
540
|
+
const ks = (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) {
|
@@ -562,7 +562,7 @@ let m = class extends R {
|
|
562
562
|
}
|
563
563
|
update(t) {
|
564
564
|
const e = this.render();
|
565
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do =
|
565
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = ks(e, this.renderRoot, this.renderOptions);
|
566
566
|
}
|
567
567
|
connectedCallback() {
|
568
568
|
var t;
|
@@ -581,7 +581,7 @@ m._$litElement$ = !0, m.finalized = !0, (Oe = globalThis.litElementHydrateSuppor
|
|
581
581
|
const Lt = globalThis.litElementPolyfillSupport;
|
582
582
|
Lt == null || Lt({ LitElement: m });
|
583
583
|
(globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.0.1");
|
584
|
-
const
|
584
|
+
const Ts = { name: "alert", 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 60C47.464 60 60 47.464 60 32C60 16.536 47.464 4 32 4C16.536 4 4 16.536 4 32C4.01731 47.4568 16.5432 59.9827 32 60ZM32 8.30769C45.0849 8.30769 55.6923 18.9151 55.6923 32C55.6923 45.0849 45.0849 55.6923 32 55.6923C18.9151 55.6923 8.30769 45.0849 8.30769 32C8.32247 18.9212 18.9212 8.32247 32 8.30769Z"/><path d="M29.3491 38.6031V20.6807C29.348 19.8662 29.4903 19.0598 29.7675 18.3096C29.9945 17.6371 30.3484 17.0302 30.804 16.5322C31.1251 16.1524 31.5593 15.9246 32.0204 15.894C32.6852 15.894 33.3496 16.471 34.0134 17.625C34.3738 18.1337 34.5955 18.7525 34.6509 19.4042V37.3267C34.6509 37.9947 34.2454 38.6329 33.4345 39.2414C32.6632 39.835 31.7547 40.1521 30.825 40.1523C29.8423 40.1524 29.3503 39.636 29.3491 38.6031Z"/><path d="M33.66 44.6959C33.9649 45.0866 34.161 45.551 34.2284 46.0419C34.2284 46.5397 33.8893 47.0083 33.2109 47.4476C32.5638 47.8771 31.8043 48.1062 31.0275 48.1061C30.1902 48.1061 29.7716 47.7271 29.7716 46.9693C29.7703 46.3788 29.8874 45.7941 30.116 45.2496C30.3064 44.7579 30.6022 44.3138 30.9826 43.9487C31.2626 43.6591 31.6427 43.4875 32.045 43.4692C32.5635 43.4692 33.1019 43.8781 33.66 44.6959Z"/></svg>' }, Os = { name: "check-circle-filled", 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.9829 16.5431 47.4569 4.01712 32 4ZM44.5613 24.5793L31.6382 43.9639C31.2806 44.5011 30.7008 44.8493 30.0586 44.9126C29.988 44.9197 29.9171 44.9232 29.8462 44.9231C29.275 44.9229 28.7272 44.696 28.3233 44.2921L19.7079 35.6767C19.1639 35.1326 18.9514 34.3396 19.1505 33.5964C19.3497 32.8533 19.9302 32.2728 20.6734 32.0736C21.4166 31.8745 22.2095 32.087 22.7536 32.631L29.5117 39.3881L40.9772 22.1899C41.4016 21.5439 42.1396 21.1749 42.9111 21.2229C43.6825 21.2709 44.3691 21.7286 44.7101 22.4223C45.0511 23.1159 44.9944 23.9391 44.5613 24.5793Z"/></svg>' }, Ls = { name: "check-circle", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M31.9998 4C16.5358 4 3.99976 16.536 3.99976 32C3.99976 47.464 16.5358 60 31.9998 60C47.4637 60 59.9998 47.464 59.9998 32C59.9826 16.5431 47.4566 4.01712 31.9998 4ZM31.9998 55.6923C18.9149 55.6923 8.30745 45.0849 8.30745 32C8.30745 18.9151 18.9149 8.30769 31.9998 8.30769C45.0847 8.30769 55.6921 18.9151 55.6921 32C55.6773 45.0788 45.0785 55.6775 31.9998 55.6923ZM44.5611 24.5793L31.638 43.9639C31.2804 44.5011 30.7005 44.8493 30.0584 44.9126C29.9878 44.9197 29.9169 44.9232 29.8459 44.9231C29.2747 44.9229 28.727 44.696 28.3231 44.2921L19.7077 35.6767C19.1636 35.1326 18.9512 34.3396 19.1503 33.5964C19.3494 32.8533 19.9299 32.2728 20.6731 32.0736C21.4163 31.8745 22.2093 32.087 22.7534 32.631L29.5115 39.3881L40.9769 22.1899C41.4013 21.5439 42.1394 21.1749 42.9108 21.2229C43.6823 21.2709 44.3688 21.7286 44.7099 22.4223C45.0509 23.1159 44.9941 23.9391 44.5611 24.5793Z"/></svg>' }, 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>' }, Ps = { 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>' }, Ms = { 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,
|
@@ -675,7 +675,7 @@ const bt = typeof window < "u" ? window : {}, x = bt.document || { head: {} }, D
|
|
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
|
+
}, Rs = /* @__PURE__ */ (() => {
|
679
679
|
let s = !1;
|
680
680
|
try {
|
681
681
|
x.addEventListener("e", null, Object.defineProperty({}, "passive", {
|
@@ -686,7 +686,7 @@ const bt = typeof window < "u" ? window : {}, x = bt.document || { head: {} }, D
|
|
686
686
|
} catch {
|
687
687
|
}
|
688
688
|
return s;
|
689
|
-
})(),
|
689
|
+
})(), Hs = (s) => Promise.resolve(s), Us = /* @__PURE__ */ (() => {
|
690
690
|
try {
|
691
691
|
return new CSSStyleSheet(), typeof new CSSStyleSheet().replace == "function";
|
692
692
|
} catch {
|
@@ -694,23 +694,23 @@ const bt = typeof window < "u" ? window : {}, x = bt.document || { head: {} }, D
|
|
694
694
|
return !1;
|
695
695
|
})(), Ie = (s, t, e, i) => {
|
696
696
|
e && e.map(([n, o, r]) => {
|
697
|
-
const a =
|
697
|
+
const a = js(s, n), l = Ns(t, r), c = Ds(n);
|
698
698
|
v.ael(a, o, l, c), (t.$rmListeners$ = t.$rmListeners$ || []).push(() => v.rel(a, o, l, c));
|
699
699
|
});
|
700
|
-
},
|
700
|
+
}, Ns = (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
|
-
},
|
706
|
+
}, js = (s, t) => t & 4 ? x : t & 8 ? bt : t & 16 ? x.body : s, Ds = (s) => Rs ? {
|
707
707
|
passive: (s & 1) !== 0,
|
708
708
|
capture: (s & 2) !== 0
|
709
709
|
} : (s & 2) !== 0, pe = "http://www.w3.org/1999/xlink", P = (s, t = "") => () => {
|
710
|
-
}, ue = /* @__PURE__ */ new WeakMap(),
|
710
|
+
}, ue = /* @__PURE__ */ new WeakMap(), Is = (s, t, e) => {
|
711
711
|
let i = dt.get(s);
|
712
|
-
|
713
|
-
},
|
712
|
+
Us && e ? (i = i || new CSSStyleSheet(), i.replace(t)) : i = t, dt.set(s, i);
|
713
|
+
}, Bs = (s, t, e, i) => {
|
714
714
|
let n = Be(t, e), o = dt.get(n);
|
715
715
|
if (s = s.nodeType === 11 ? s : x, o)
|
716
716
|
if (typeof o == "string") {
|
@@ -720,10 +720,10 @@ const bt = typeof window < "u" ? window : {}, x = bt.document || { head: {} }, D
|
|
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 = P("attachStyles", t.$tagName$), o =
|
723
|
+
}, zs = (s) => {
|
724
|
+
const t = s.$cmpMeta$, e = s.$hostElement$, i = t.$flags$, n = P("attachStyles", t.$tagName$), o = Bs(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$), Fs = (s) => mi.map((t) => t(s)).find((t) => !!t), fe = {}, Ws = "http://www.w3.org/2000/svg", Zs = "http://www.w3.org/1999/xhtml", Gs = (s) => s != null, Zt = (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 bt = typeof window < "u" ? window : {}, x = bt.document || { head: {} }, D
|
|
737
737
|
}
|
738
738
|
}
|
739
739
|
if (typeof s == "function")
|
740
|
-
return s(t === null ? {} : t, l,
|
740
|
+
return s(t === null ? {} : t, l, Ys);
|
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,7 +749,7 @@ const bt = typeof window < "u" ? window : {}, x = bt.document || { head: {} }, D
|
|
749
749
|
$children$: null
|
750
750
|
};
|
751
751
|
return e.$attrs$ = null, e.$key$ = null, e.$name$ = null, e;
|
752
|
-
}, Gt = {},
|
752
|
+
}, Gt = {}, qs = (s) => s && s.$tag$ === Gt, Ys = {
|
753
753
|
forEach: (s, t) => s.map(ge).forEach(t),
|
754
754
|
map: (s, t) => s.map(ge).map(t).map(Xs)
|
755
755
|
}, ge = (s) => ({
|
@@ -798,7 +798,7 @@ const bt = typeof window < "u" ? window : {}, x = bt.document || { head: {} }, D
|
|
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
|
+
}, Ks = /\s/, me = (s) => s ? s.split(Ks) : [], 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$);
|
@@ -817,18 +817,18 @@ const bt = typeof window < "u" ? window : {}, x = bt.document || { head: {} }, D
|
|
817
817
|
else if (n.$flags$ & 1)
|
818
818
|
r = n.$elm$ = x.createTextNode("");
|
819
819
|
else {
|
820
|
-
if (y || (y = n.$tag$ === "svg"), r = n.$elm$ = x.createElementNS(y ?
|
820
|
+
if (y || (y = n.$tag$ === "svg"), r = n.$elm$ = x.createElementNS(y ? Ws : Zs, n.$flags$ & 2 ? "slot-fb" : n.$tag$), y && n.$tag$ === "foreignObject" && (y = !1), ze(null, n, y), Gs(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"] = yt, 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"] = yt, 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$ && X(s.$elm$, !1)), r;
|
826
|
+
}, X = (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"] !== yt && n["s-ol"] && (Ze(n).insertBefore(n, qt(n)), n["s-ol"].remove(), n["s-ol"] = void 0, Wt = !0), t &&
|
831
|
+
n["s-hn"] !== yt && n["s-ol"] && (Ze(n).insertBefore(n, qt(n)), n["s-ol"].remove(), n["s-ol"] = void 0, Wt = !0), t && X(n, t);
|
832
832
|
}
|
833
833
|
v.$flags$ &= -2;
|
834
834
|
}, Fe = (s, t, e, i, n, o) => {
|
@@ -837,8 +837,8 @@ const bt = typeof window < "u" ? window : {}, x = bt.document || { head: {} }, D
|
|
837
837
|
i[n] && (a = ct(null, e, n, s), a && (i[n].$elm$ = a, r.insertBefore(a, qt(t))));
|
838
838
|
}, We = (s, t, e, i, n) => {
|
839
839
|
for (; t <= e; ++t)
|
840
|
-
(i = s[t]) && (n = i.$elm$,
|
841
|
-
},
|
840
|
+
(i = s[t]) && (n = i.$elm$, Ye(i), at = !0, n["s-ol"] ? n["s-ol"].remove() : X(n, !0), n.remove());
|
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], C, et;
|
843
843
|
for (; n <= l && o <= h; )
|
844
844
|
if (c == null)
|
@@ -854,9 +854,9 @@ const bt = typeof window < "u" ? window : {}, x = bt.document || { head: {} }, D
|
|
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") && X(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") && X(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$) {
|
@@ -869,7 +869,7 @@ const bt = typeof window < "u" ? window : {}, x = bt.document || { head: {} }, D
|
|
869
869
|
}, st = (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, Ze = (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
|
-
r === null ? (y = o === "svg" ? !0 : o === "foreignObject" ? !1 : y, o === "slot" || ze(s, t, y), i !== null && n !== null ?
|
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
|
}, Ge = (s) => {
|
874
874
|
let t = s.childNodes, e, i, n, o, r, a;
|
875
875
|
for (i = 0, n = t.length; i < n; i++)
|
@@ -903,10 +903,10 @@ const bt = typeof window < "u" ? window : {}, x = bt.document || { head: {} }, D
|
|
903
903
|
}));
|
904
904
|
t.nodeType === 1 && qe(t);
|
905
905
|
}
|
906
|
-
}, ve = (s, t) => s.nodeType === 1 ? s.getAttribute("slot") === null && t === "" || s.getAttribute("slot") === t : s["s-sn"] === t ? !0 : t === "",
|
907
|
-
s.$attrs$ && s.$attrs$.ref && s.$attrs$.ref(null), s.$children$ && s.$children$.map(
|
908
|
-
},
|
909
|
-
const e = s.$hostElement$, i = s.$cmpMeta$, n = s.$vnode$ || lt(null, null), o =
|
906
|
+
}, ve = (s, t) => s.nodeType === 1 ? s.getAttribute("slot") === null && t === "" || s.getAttribute("slot") === t : s["s-sn"] === t ? !0 : t === "", Ye = (s) => {
|
907
|
+
s.$attrs$ && s.$attrs$.ref && s.$attrs$.ref(null), s.$children$ && s.$children$.map(Ye);
|
908
|
+
}, Js = (s, t) => {
|
909
|
+
const e = s.$hostElement$, i = s.$cmpMeta$, n = s.$vnode$ || lt(null, null), o = qs(t) ? t : j(null, null, t);
|
910
910
|
yt = 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, Wt) {
|
@@ -927,37 +927,37 @@ const bt = typeof window < "u" ? window : {}, x = bt.document || { head: {} }, D
|
|
927
927
|
}
|
928
928
|
at && Ge(o.$elm$), v.$flags$ &= -2, _.length = 0;
|
929
929
|
}
|
930
|
-
},
|
931
|
-
const i =
|
930
|
+
}, Vs = (s) => s, ti = (s, t, e) => {
|
931
|
+
const i = Vs(s);
|
932
932
|
return {
|
933
|
-
emit: (n) =>
|
933
|
+
emit: (n) => ei(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
|
+
}, ei = (s, t, e) => {
|
941
941
|
const i = v.ce(t, e);
|
942
942
|
return s.dispatchEvent(i), i;
|
943
|
-
},
|
944
|
-
},
|
943
|
+
}, si = (s, t) => {
|
944
|
+
}, Xe = (s, t) => (s.$flags$ |= 16, si(s, s.$ancestorComponent$), bi(() => ii(s, t))), ii = (s, t) => {
|
945
945
|
const e = s.$hostElement$, i = P("scheduleUpdate", s.$cmpMeta$.$tagName$), n = e;
|
946
946
|
let o;
|
947
|
-
return t ? o = D(n, "componentWillLoad") : o = D(n, "componentWillUpdate"), o = ye(o, () => D(n, "componentWillRender")), i(), ye(o, () =>
|
948
|
-
},
|
947
|
+
return t ? o = D(n, "componentWillLoad") : o = D(n, "componentWillUpdate"), o = ye(o, () => D(n, "componentWillRender")), i(), ye(o, () => ni(s, n, t));
|
948
|
+
}, ni = async (s, t, e) => {
|
949
949
|
const i = s.$hostElement$, n = P("update", s.$cmpMeta$.$tagName$);
|
950
|
-
i["s-rc"], e &&
|
950
|
+
i["s-rc"], e && zs(s);
|
951
951
|
const o = P("render", s.$cmpMeta$.$tagName$);
|
952
|
-
|
953
|
-
},
|
952
|
+
oi(s, t, i), o(), n(), ri(s);
|
953
|
+
}, oi = (s, t, e) => {
|
954
954
|
try {
|
955
|
-
he = t, t = t.render && t.render(), s.$flags$ &= -17, s.$flags$ |= 2, (H.hasRenderFn || H.reflect) && (H.vdomRender || H.reflect) && (H.hydrateServerSide ||
|
955
|
+
he = t, t = t.render && t.render(), s.$flags$ &= -17, s.$flags$ |= 2, (H.hasRenderFn || H.reflect) && (H.vdomRender || H.reflect) && (H.hydrateServerSide || Js(s, t));
|
956
956
|
} catch (a) {
|
957
957
|
Q(a, s.$hostElement$);
|
958
958
|
}
|
959
959
|
return he = null, null;
|
960
|
-
},
|
960
|
+
}, ri = (s) => {
|
961
961
|
const t = s.$cmpMeta$.$tagName$, e = s.$hostElement$, i = P("postUpdate", t), n = e;
|
962
962
|
s.$ancestorComponent$, D(n, "componentDidRender"), s.$flags$ & 64 ? (D(n, "componentDidUpdate"), i()) : (s.$flags$ |= 64, D(n, "componentDidLoad"), i());
|
963
963
|
}, D = (s, t, e) => {
|
@@ -967,9 +967,9 @@ const bt = typeof window < "u" ? window : {}, x = bt.document || { head: {} }, D
|
|
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(), ai = (s, t) => s != null && !Zt(s) ? t & 4 ? s === "false" ? !1 : s === "" || !!s : t & 2 ? parseFloat(s) : t & 1 ? String(s) : s : s, li = (s, t) => _t(s).$instanceValues$.get(t), ci = (s, t, e, i) => {
|
971
971
|
const n = _t(s), o = s, r = n.$instanceValues$.get(t), a = n.$flags$, l = o;
|
972
|
-
e =
|
972
|
+
e = ai(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);
|
@@ -987,21 +987,21 @@ const bt = typeof window < "u" ? window : {}, x = bt.document || { head: {} }, D
|
|
987
987
|
if ((a & 18) === 2) {
|
988
988
|
if (l.componentShouldUpdate && l.componentShouldUpdate(e, r, t) === !1)
|
989
989
|
return;
|
990
|
-
|
990
|
+
Xe(n, !1);
|
991
991
|
}
|
992
992
|
}
|
993
993
|
}
|
994
|
-
},
|
994
|
+
}, di = (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 li(this, o);
|
1002
1002
|
},
|
1003
1003
|
set(a) {
|
1004
|
-
|
1004
|
+
ci(this, o, a, t);
|
1005
1005
|
},
|
1006
1006
|
configurable: !0,
|
1007
1007
|
enumerable: !0
|
@@ -1028,32 +1028,32 @@ const bt = typeof window < "u" ? window : {}, x = bt.document || { head: {} }, D
|
|
1028
1028
|
}
|
1029
1029
|
}
|
1030
1030
|
return s;
|
1031
|
-
},
|
1031
|
+
}, hi = 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$ = Fs(s)]);
|
1035
1035
|
const a = Be(e, t.$modeName$);
|
1036
1036
|
if (!dt.has(a)) {
|
1037
1037
|
const l = P("registerStyles", e.$tagName$);
|
1038
|
-
|
1038
|
+
Is(a, r, !!(e.$flags$ & 1)), l();
|
1039
1039
|
}
|
1040
1040
|
}
|
1041
|
-
t.$ancestorComponent$, (() =>
|
1042
|
-
}, hi = (s) => {
|
1041
|
+
t.$ancestorComponent$, (() => Xe(t, !0))();
|
1043
1042
|
}, pi = (s) => {
|
1043
|
+
}, ui = (s) => {
|
1044
1044
|
if (!(v.$flags$ & 1)) {
|
1045
1045
|
const t = _t(s), e = t.$cmpMeta$, i = P("connectedCallback", e.$tagName$);
|
1046
|
-
t.$flags$ & 1 ? (Ie(s, t, e.$listeners$),
|
1046
|
+
t.$flags$ & 1 ? (Ie(s, t, e.$listeners$), pi(t.$lazyInstance$)) : (t.$flags$ |= 1, e.$flags$ & 12 && fi(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
|
+
}), hi(s, t, e)), i();
|
1052
1052
|
}
|
1053
|
-
},
|
1053
|
+
}, fi = (s) => {
|
1054
1054
|
const t = s["s-cr"] = x.createComment("");
|
1055
1055
|
t["s-cn"] = !0, s.insertBefore(t, s.firstChild);
|
1056
|
-
},
|
1056
|
+
}, gi = (s) => {
|
1057
1057
|
if (!(v.$flags$ & 1)) {
|
1058
1058
|
const t = _t(s);
|
1059
1059
|
t.$rmListeners$ && (t.$rmListeners$.map((e) => e()), t.$rmListeners$ = void 0);
|
@@ -1067,13 +1067,13 @@ const bt = typeof window < "u" ? window : {}, x = bt.document || { head: {} }, D
|
|
1067
1067
|
const i = s.prototype.connectedCallback, n = s.prototype.disconnectedCallback;
|
1068
1068
|
return Object.assign(s.prototype, {
|
1069
1069
|
__registerHost() {
|
1070
|
-
|
1070
|
+
$i(this, e);
|
1071
1071
|
},
|
1072
1072
|
connectedCallback() {
|
1073
|
-
|
1073
|
+
ui(this), i && i.call(this);
|
1074
1074
|
},
|
1075
1075
|
disconnectedCallback() {
|
1076
|
-
|
1076
|
+
gi(this), n && n.call(this);
|
1077
1077
|
},
|
1078
1078
|
__attachShadow() {
|
1079
1079
|
this.attachShadow({
|
@@ -1081,8 +1081,8 @@ const bt = typeof window < "u" ? window : {}, x = bt.document || { head: {} }, D
|
|
1081
1081
|
delegatesFocus: !!(e.$flags$ & 16)
|
1082
1082
|
});
|
1083
1083
|
}
|
1084
|
-
}), s.is = e.$tagName$,
|
1085
|
-
}, Qe = /* @__PURE__ */ new WeakMap(), _t = (s) => Qe.get(s),
|
1084
|
+
}), s.is = e.$tagName$, di(s, e);
|
1085
|
+
}, Qe = /* @__PURE__ */ new WeakMap(), _t = (s) => Qe.get(s), $i = (s, t) => {
|
1086
1086
|
const e = {
|
1087
1087
|
$flags$: 0,
|
1088
1088
|
$hostElement$: s,
|
@@ -1090,8 +1090,8 @@ const bt = typeof window < "u" ? window : {}, x = bt.document || { head: {} }, D
|
|
1090
1090
|
$instanceValues$: /* @__PURE__ */ new Map()
|
1091
1091
|
};
|
1092
1092
|
return Ie(s, e, t.$listeners$), Qe.set(s, e);
|
1093
|
-
}, be = (s, t) => t in s, Q = (s, t) => (0, console.error)(s, t), dt = /* @__PURE__ */ new Map(),
|
1094
|
-
s.push(e), Ht || (Ht = !0, t && v.$flags$ & 4 ?
|
1093
|
+
}, be = (s, t) => t in s, Q = (s, t) => (0, console.error)(s, t), dt = /* @__PURE__ */ new Map(), mi = [], _e = [], Je = [], vi = (s, t) => (e) => {
|
1094
|
+
s.push(e), Ht || (Ht = !0, t && v.$flags$ & 4 ? yi(Ut) : v.raf(Ut));
|
1095
1095
|
}, Ce = (s) => {
|
1096
1096
|
for (let t = 0; t < s.length; t++)
|
1097
1097
|
try {
|
@@ -1102,7 +1102,7 @@ const bt = typeof window < "u" ? window : {}, x = bt.document || { head: {} }, D
|
|
1102
1102
|
s.length = 0;
|
1103
1103
|
}, Ut = () => {
|
1104
1104
|
Ce(_e), Ce(Je), (Ht = _e.length > 0) && v.raf(Ut);
|
1105
|
-
},
|
1105
|
+
}, yi = (s) => Hs().then(s), bi = /* @__PURE__ */ vi(Je, !0), _i = (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 bt = typeof window < "u" ? window : {}, x = bt.document || { head: {} }, D
|
|
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
|
+
}, Ci = (s) => s.replace(/<(\/?)svg([^>]*)>/g, "").trim();
|
1114
|
+
function xi(s) {
|
1115
1115
|
return `${s.getFullYear()}.${s.getMonth() + 1}`;
|
1116
1116
|
}
|
1117
|
-
class
|
1117
|
+
class wi {
|
1118
1118
|
constructor(t) {
|
1119
|
-
this.voca_component = t, this.voca_added =
|
1119
|
+
this.voca_component = t, this.voca_added = xi(/* @__PURE__ */ new Date());
|
1120
1120
|
}
|
1121
1121
|
}
|
1122
|
-
const
|
1122
|
+
const Ai = "telia-vst{display:none}", Si = /* @__PURE__ */ Ke(class extends De {
|
1123
1123
|
constructor() {
|
1124
|
-
super(), this.__registerHost(), this.vocaInternalUStats =
|
1124
|
+
super(), this.__registerHost(), this.vocaInternalUStats = ti(this, "vocaInternalUStats", 7);
|
1125
1125
|
}
|
1126
1126
|
connectedCallback() {
|
1127
|
-
this.vocaInternalUStats.emit(new
|
1127
|
+
this.vocaInternalUStats.emit(new wi(this.dataTrackingId));
|
1128
1128
|
}
|
1129
1129
|
render() {
|
1130
1130
|
return j(Gt, null);
|
1131
1131
|
}
|
1132
1132
|
static get style() {
|
1133
|
-
return
|
1133
|
+
return Ai;
|
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, Si);
|
1145
1145
|
break;
|
1146
1146
|
}
|
1147
1147
|
});
|
@@ -1150,14 +1150,14 @@ Ve();
|
|
1150
1150
|
function Nt() {
|
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 Ei() {
|
1154
1154
|
if (typeof Nt().vocadsIcons !== void 0)
|
1155
1155
|
return Nt().vocadsIcons;
|
1156
1156
|
}
|
1157
|
-
function
|
1157
|
+
function ki() {
|
1158
1158
|
return Nt().vocadsIconsRegistered;
|
1159
1159
|
}
|
1160
|
-
const
|
1160
|
+
const Ti = ".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))}", Oi = /* @__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,8 +1169,8 @@ const ki = ".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 (ki() && this.name) {
|
1173
|
+
const s = Ei();
|
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 ki = ".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 = _i({
|
1185
|
+
content: Ci(s),
|
1186
1186
|
attributes: t,
|
1187
1187
|
title: this.allyTitle
|
1188
1188
|
});
|
1189
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 Ti;
|
1193
1193
|
}
|
1194
1194
|
}, [0, "telia-icon", {
|
1195
1195
|
name: [1],
|
@@ -1198,13 +1198,13 @@ const ki = ".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 Li() {
|
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, Oi);
|
1208
1208
|
break;
|
1209
1209
|
case "telia-vst":
|
1210
1210
|
customElements.get(t) || Ve();
|
@@ -1212,7 +1212,7 @@ function Oi() {
|
|
1212
1212
|
}
|
1213
1213
|
});
|
1214
1214
|
}
|
1215
|
-
|
1215
|
+
Li();
|
1216
1216
|
/**
|
1217
1217
|
* @license
|
1218
1218
|
* Copyright 2017 Google LLC
|
@@ -1228,7 +1228,7 @@ const J = (s) => (t, e) => {
|
|
1228
1228
|
* Copyright 2017 Google LLC
|
1229
1229
|
* SPDX-License-Identifier: BSD-3-Clause
|
1230
1230
|
*/
|
1231
|
-
const
|
1231
|
+
const Pi = { attribute: !0, type: String, converter: ot, reflect: !1, hasChanged: Ft }, Mi = (s = Pi, 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 Li = { 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" ? Mi(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 w(s) {
|
|
1268
1268
|
* Copyright 2020 Google LLC
|
1269
1269
|
* SPDX-License-Identifier: BSD-3-Clause
|
1270
1270
|
*/
|
1271
|
-
const
|
1271
|
+
const Ri = (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 Ct = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, xt = (s) => (...t) => ({ _$litDirective$: s, values: t });
|
1278
|
-
let
|
1278
|
+
let Yt = class {
|
1279
1279
|
constructor(t) {
|
1280
1280
|
}
|
1281
1281
|
get _$AU() {
|
@@ -1318,13 +1318,13 @@ const Z = (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), Ni(t);
|
1322
1322
|
}
|
1323
1323
|
};
|
1324
|
-
function
|
1324
|
+
function Hi(s) {
|
1325
1325
|
this._$AN !== void 0 ? (ht(this), this._$AM = s, ts(this)) : this._$AM = s;
|
1326
1326
|
}
|
1327
|
-
function
|
1327
|
+
function Ui(s, t = !1, e = 0) {
|
1328
1328
|
const i = this._$AH, n = this._$AN;
|
1329
1329
|
if (n !== void 0 && n.size !== 0)
|
1330
1330
|
if (t)
|
@@ -1336,10 +1336,10 @@ function Hi(s, t = !1, e = 0) {
|
|
1336
1336
|
else
|
1337
1337
|
Z(this, s);
|
1338
1338
|
}
|
1339
|
-
const
|
1340
|
-
s.type == Ct.CHILD && (s._$AP ?? (s._$AP =
|
1339
|
+
const Ni = (s) => {
|
1340
|
+
s.type == Ct.CHILD && (s._$AP ?? (s._$AP = Ui), s._$AQ ?? (s._$AQ = Hi));
|
1341
1341
|
};
|
1342
|
-
let es = class extends
|
1342
|
+
let es = class extends Yt {
|
1343
1343
|
constructor() {
|
1344
1344
|
super(...arguments), this._$AN = void 0;
|
1345
1345
|
}
|
@@ -1351,7 +1351,7 @@ let es = class extends Xt {
|
|
1351
1351
|
t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (n = this.disconnected) == null || n.call(this)), e && (Z(this, t), ht(this));
|
1352
1352
|
}
|
1353
1353
|
setValue(t) {
|
1354
|
-
if (
|
1354
|
+
if (Ri(this._$Ct))
|
1355
1355
|
this._$Ct._$AI(t, this);
|
1356
1356
|
else {
|
1357
1357
|
const e = [...this._$Ct._$AH];
|
@@ -1368,8 +1368,8 @@ let es = class extends Xt {
|
|
1368
1368
|
* Copyright 2020 Google LLC
|
1369
1369
|
* SPDX-License-Identifier: BSD-3-Clause
|
1370
1370
|
*/
|
1371
|
-
const pt = () => new
|
1372
|
-
class
|
1371
|
+
const pt = () => new ji();
|
1372
|
+
class ji {
|
1373
1373
|
}
|
1374
1374
|
const Pt = /* @__PURE__ */ new WeakMap(), ut = xt(class extends es {
|
1375
1375
|
render(s) {
|
@@ -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 ft = xt(class extends
|
1407
|
+
const ft = xt(class extends Yt {
|
1408
1408
|
constructor(s) {
|
1409
1409
|
var t;
|
1410
1410
|
if (super(s), s.type !== Ct.ATTRIBUTE || s.name !== "class" || ((t = s.strings) == null ? void 0 : t.length) > 2)
|
@@ -1431,12 +1431,12 @@ const ft = xt(class extends Xt {
|
|
1431
1431
|
return E;
|
1432
1432
|
}
|
1433
1433
|
});
|
1434
|
-
var
|
1435
|
-
for (var n = i > 1 ? void 0 : i ?
|
1434
|
+
var Di = Object.defineProperty, Ii = Object.getOwnPropertyDescriptor, Bi = (s, t, e, i) => {
|
1435
|
+
for (var n = i > 1 ? void 0 : i ? Ii(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
|
-
return i && n &&
|
1437
|
+
return i && n && Di(t, e, n), n;
|
1438
1438
|
};
|
1439
|
-
class
|
1439
|
+
class Xt extends m {
|
1440
1440
|
constructor() {
|
1441
1441
|
super(...arguments), this.anchor = "BottomRight";
|
1442
1442
|
}
|
@@ -1448,7 +1448,7 @@ class Yt extends m {
|
|
1448
1448
|
return this.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right"), u;
|
1449
1449
|
}
|
1450
1450
|
}
|
1451
|
-
|
1451
|
+
Xt.styles = [
|
1452
1452
|
b`
|
1453
1453
|
:host {
|
1454
1454
|
position: fixed;
|
@@ -1467,12 +1467,12 @@ Yt.styles = [
|
|
1467
1467
|
}
|
1468
1468
|
`
|
1469
1469
|
];
|
1470
|
-
|
1470
|
+
Bi([
|
1471
1471
|
$({ attribute: !0 })
|
1472
|
-
],
|
1473
|
-
const
|
1472
|
+
], Xt.prototype, "anchor", 2);
|
1473
|
+
const zi = /* @__PURE__ */ new WeakMap();
|
1474
1474
|
let xe = 0;
|
1475
|
-
const Mt = /* @__PURE__ */ new Map(), we = /* @__PURE__ */ new WeakSet(), Ae = () => new Promise((s) => requestAnimationFrame(s)),
|
1475
|
+
const Mt = /* @__PURE__ */ new Map(), we = /* @__PURE__ */ new WeakSet(), Ae = () => new Promise((s) => requestAnimationFrame(s)), Fi = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], Wi = [{ 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) => {
|
@@ -1494,8 +1494,8 @@ const Mt = /* @__PURE__ */ new Map(), we = /* @__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
|
+
} }, Zi = { duration: 333, easing: "ease-in-out" }, Gi = ["left", "top", "width", "height", "opacity", "color", "background"], Te = /* @__PURE__ */ new WeakMap();
|
1498
|
+
class qi 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 === Ct.CHILD)
|
1501
1501
|
throw Error("The `animate` directive must be used in attribute position.");
|
@@ -1515,7 +1515,7 @@ class Gi extends es {
|
|
1515
1515
|
return u;
|
1516
1516
|
}
|
1517
1517
|
getController() {
|
1518
|
-
return
|
1518
|
+
return zi.get(this.l);
|
1519
1519
|
}
|
1520
1520
|
isDisabled() {
|
1521
1521
|
var t;
|
@@ -1529,7 +1529,7 @@ class Gi 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 = Gi), this.options = t;
|
1533
1533
|
}
|
1534
1534
|
p() {
|
1535
1535
|
const t = {}, e = this.element.getBoundingClientRect(), i = getComputedStyle(this.element);
|
@@ -1623,7 +1623,7 @@ class Gi extends es {
|
|
1623
1623
|
}), t;
|
1624
1624
|
}
|
1625
1625
|
A(t, e = this._()) {
|
1626
|
-
const i = { ...
|
1626
|
+
const i = { ...Zi };
|
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) {
|
@@ -1674,7 +1674,7 @@ class Gi extends es {
|
|
1674
1674
|
this.shouldLog && !this.isDisabled() && console.log(t, this.options.id, e);
|
1675
1675
|
}
|
1676
1676
|
}
|
1677
|
-
const jt = xt(
|
1677
|
+
const jt = xt(qi), 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,10 +1692,10 @@ const jt = xt(Gi), it = (s, t, e) => {
|
|
1692
1692
|
t
|
1693
1693
|
);
|
1694
1694
|
};
|
1695
|
-
var
|
1695
|
+
var Yi = Object.defineProperty, Xi = Object.getOwnPropertyDescriptor, wt = (s, t, e, i) => {
|
1696
1696
|
for (var n = i > 1 ? void 0 : i ? Xi(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 && Yi(t, e, n), n;
|
1699
1699
|
};
|
1700
1700
|
class M extends m {
|
1701
1701
|
constructor() {
|
@@ -1726,7 +1726,7 @@ class M 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) =>
|
1729
|
+
const n = async (d) => Ps, { type: o, content: r } = i;
|
1730
1730
|
switch (o) {
|
1731
1731
|
case "Telia": {
|
1732
1732
|
const d = await n();
|
@@ -1749,7 +1749,7 @@ class M extends m {
|
|
1749
1749
|
@click=${this.toggleActive}
|
1750
1750
|
${jt({
|
1751
1751
|
keyframeOptions: {},
|
1752
|
-
in:
|
1752
|
+
in: Fi,
|
1753
1753
|
stabilizeOut: !0,
|
1754
1754
|
skipInitial: !1
|
1755
1755
|
})}
|
@@ -1917,10 +1917,10 @@ wt([
|
|
1917
1917
|
wt([
|
1918
1918
|
w()
|
1919
1919
|
], M.prototype, "icon", 2);
|
1920
|
-
var
|
1921
|
-
for (var n = i > 1 ? void 0 : i ?
|
1920
|
+
var Ki = Object.defineProperty, Qi = Object.getOwnPropertyDescriptor, T = (s, t, e, i) => {
|
1921
|
+
for (var n = i > 1 ? void 0 : i ? Qi(t, e) : t, o = s.length - 1, r; o >= 0; o--)
|
1922
1922
|
(r = s[o]) && (n = (i ? r(t, e, n) : r(n)) || n);
|
1923
|
-
return i && n &&
|
1923
|
+
return i && n && Ki(t, e, n), n;
|
1924
1924
|
};
|
1925
1925
|
const is = (s) => {
|
1926
1926
|
class t extends s {
|
@@ -1994,17 +1994,17 @@ ns.styles = [
|
|
1994
1994
|
* Copyright 2021 Google LLC
|
1995
1995
|
* SPDX-License-Identifier: BSD-3-Clause
|
1996
1996
|
*/
|
1997
|
-
function*
|
1997
|
+
function* Ji(s, t) {
|
1998
1998
|
if (s !== void 0) {
|
1999
1999
|
let e = 0;
|
2000
2000
|
for (const i of s)
|
2001
2001
|
yield t(i, e++);
|
2002
2002
|
}
|
2003
2003
|
}
|
2004
|
-
var Kt = /* @__PURE__ */ ((s) => (s.Inline = "inline", s.Trigger = "trigger", s))(Kt || {}),
|
2005
|
-
for (var n = i > 1 ? void 0 : i ?
|
2004
|
+
var Kt = /* @__PURE__ */ ((s) => (s.Inline = "inline", s.Trigger = "trigger", s))(Kt || {}), Vi = Object.defineProperty, tn = Object.getOwnPropertyDescriptor, en = (s, t, e, i) => {
|
2005
|
+
for (var n = i > 1 ? void 0 : i ? tn(t, e) : t, o = s.length - 1, r; o >= 0; o--)
|
2006
2006
|
(r = s[o]) && (n = (i ? r(t, e, n) : r(n)) || n);
|
2007
|
-
return i && n &&
|
2007
|
+
return i && n && Vi(t, e, n), n;
|
2008
2008
|
};
|
2009
2009
|
class Qt extends m {
|
2010
2010
|
constructor() {
|
@@ -2032,7 +2032,7 @@ class Qt extends m {
|
|
2032
2032
|
}
|
2033
2033
|
render() {
|
2034
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)}>
|
2035
|
-
${
|
2035
|
+
${Ji(this.nodes, (t) => t)}
|
2036
2036
|
</div>`;
|
2037
2037
|
}
|
2038
2038
|
}
|
@@ -2134,13 +2134,13 @@ Qt.styles = b`
|
|
2134
2134
|
animation: slideDown 0.3s linear;
|
2135
2135
|
}
|
2136
2136
|
`;
|
2137
|
-
|
2137
|
+
en([
|
2138
2138
|
$({ attribute: !1 })
|
2139
2139
|
], Qt.prototype, "application", 2);
|
2140
|
-
var
|
2141
|
-
for (var n = i > 1 ? void 0 : i ?
|
2140
|
+
var sn = Object.defineProperty, nn = Object.getOwnPropertyDescriptor, Jt = (s, t, e, i) => {
|
2141
|
+
for (var n = i > 1 ? void 0 : i ? nn(t, e) : t, o = s.length - 1, r; o >= 0; o--)
|
2142
2142
|
(r = s[o]) && (n = (i ? r(t, e, n) : r(n)) || n);
|
2143
|
-
return i && n &&
|
2143
|
+
return i && n && sn(t, e, n), n;
|
2144
2144
|
};
|
2145
2145
|
class V extends m {
|
2146
2146
|
constructor() {
|
@@ -2190,15 +2190,15 @@ Jt([
|
|
2190
2190
|
Jt([
|
2191
2191
|
w()
|
2192
2192
|
], V.prototype, "status", 2);
|
2193
|
-
customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot",
|
2193
|
+
customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", Xt);
|
2194
2194
|
customElements.get("ace-trigger") || customElements.define("ace-trigger", M);
|
2195
2195
|
customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", ns);
|
2196
2196
|
customElements.get("ace-wrapper") || customElements.define("ace-wrapper", Qt);
|
2197
2197
|
customElements.get("ace-widget") || customElements.define("ace-widget", V);
|
2198
|
-
var
|
2199
|
-
for (var n = i > 1 ? void 0 : i ?
|
2198
|
+
var on = Object.defineProperty, rn = Object.getOwnPropertyDescriptor, At = (s, t, e, i) => {
|
2199
|
+
for (var n = i > 1 ? void 0 : i ? rn(t, e) : t, o = s.length - 1, r; o >= 0; o--)
|
2200
2200
|
(r = s[o]) && (n = (i ? r(t, e, n) : r(n)) || n);
|
2201
|
-
return i && n &&
|
2201
|
+
return i && n && on(t, e, n), n;
|
2202
2202
|
};
|
2203
2203
|
let B = class extends m {
|
2204
2204
|
constructor() {
|
@@ -2235,7 +2235,7 @@ let B = class extends m {
|
|
2235
2235
|
${jt({
|
2236
2236
|
keyframeOptions: {},
|
2237
2237
|
in: Se,
|
2238
|
-
out:
|
2238
|
+
out: Wi,
|
2239
2239
|
stabilizeOut: !0,
|
2240
2240
|
skipInitial: !1
|
2241
2241
|
})}
|
@@ -2269,10 +2269,10 @@ At([
|
|
2269
2269
|
B = At([
|
2270
2270
|
J("ace-conversation-session")
|
2271
2271
|
], B);
|
2272
|
-
var
|
2273
|
-
for (var n = i > 1 ? void 0 : i ?
|
2272
|
+
var an = Object.defineProperty, ln = Object.getOwnPropertyDescriptor, os = (s, t, e, i) => {
|
2273
|
+
for (var n = i > 1 ? void 0 : i ? ln(t, e) : t, o = s.length - 1, r; o >= 0; o--)
|
2274
2274
|
(r = s[o]) && (n = (i ? r(t, e, n) : r(n)) || n);
|
2275
|
-
return i && n &&
|
2275
|
+
return i && n && an(t, e, n), n;
|
2276
2276
|
};
|
2277
2277
|
let gt = class extends m {
|
2278
2278
|
connectedCallback() {
|
@@ -2296,13 +2296,13 @@ let gt = class extends m {
|
|
2296
2296
|
}
|
2297
2297
|
_renderDeliveryStatus(s) {
|
2298
2298
|
return s === "delivered" ? f`<telia-icon
|
2299
|
-
svg=${
|
2299
|
+
svg=${Os.svg}
|
2300
2300
|
size="sm"
|
2301
2301
|
></telia-icon>` : s === "failed" ? f`<telia-icon
|
2302
|
-
svg=${
|
2302
|
+
svg=${Ts.svg}
|
2303
2303
|
size="sm"
|
2304
2304
|
title="Message could not be delivered"
|
2305
|
-
></telia-icon>` : f`<telia-icon svg=${
|
2305
|
+
></telia-icon>` : f`<telia-icon svg=${Ls.svg} size="sm"></telia-icon>`;
|
2306
2306
|
}
|
2307
2307
|
_dispatchEntryAction(s) {
|
2308
2308
|
this.entry.actions$.next(s.detail);
|
@@ -2516,16 +2516,16 @@ gt = os([
|
|
2516
2516
|
* Copyright 2021 Google LLC
|
2517
2517
|
* SPDX-License-Identifier: BSD-3-Clause
|
2518
2518
|
*/
|
2519
|
-
const
|
2519
|
+
const cn = (s, t, e) => {
|
2520
2520
|
for (const i of t)
|
2521
2521
|
if (i[0] === s)
|
2522
2522
|
return (0, i[1])();
|
2523
2523
|
return e == null ? void 0 : e();
|
2524
2524
|
};
|
2525
|
-
var
|
2526
|
-
for (var n = i > 1 ? void 0 : i ?
|
2525
|
+
var dn = Object.defineProperty, hn = Object.getOwnPropertyDescriptor, rs = (s, t, e, i) => {
|
2526
|
+
for (var n = i > 1 ? void 0 : i ? hn(t, e) : t, o = s.length - 1, r; o >= 0; o--)
|
2527
2527
|
(r = s[o]) && (n = (i ? r(t, e, n) : r(n)) || n);
|
2528
|
-
return i && n &&
|
2528
|
+
return i && n && dn(t, e, n), n;
|
2529
2529
|
};
|
2530
2530
|
let $t = class extends m {
|
2531
2531
|
render() {
|
@@ -2533,7 +2533,7 @@ let $t = class extends m {
|
|
2533
2533
|
<div class="message-group">
|
2534
2534
|
${this.group.items.map(
|
2535
2535
|
([s, t]) => f`
|
2536
|
-
${
|
2536
|
+
${cn(
|
2537
2537
|
s,
|
2538
2538
|
[["html", () => f`<message-type-html .message=${t} />`]],
|
2539
2539
|
() => {
|
@@ -2572,10 +2572,10 @@ rs([
|
|
2572
2572
|
$t = rs([
|
2573
2573
|
J("conversation-group")
|
2574
2574
|
], $t);
|
2575
|
-
var
|
2576
|
-
for (var n = i > 1 ? void 0 : i ?
|
2575
|
+
var pn = Object.defineProperty, un = Object.getOwnPropertyDescriptor, fn = (s, t, e, i) => {
|
2576
|
+
for (var n = i > 1 ? void 0 : i ? un(t, e) : t, o = s.length - 1, r; o >= 0; o--)
|
2577
2577
|
(r = s[o]) && (n = (i ? r(t, e, n) : r(n)) || n);
|
2578
|
-
return i && n &&
|
2578
|
+
return i && n && pn(t, e, n), n;
|
2579
2579
|
};
|
2580
2580
|
let Dt = class extends m {
|
2581
2581
|
render() {
|
@@ -2623,7 +2623,7 @@ Dt.styles = [
|
|
2623
2623
|
}
|
2624
2624
|
`
|
2625
2625
|
];
|
2626
|
-
Dt =
|
2626
|
+
Dt = fn([
|
2627
2627
|
J("ace-typing-state")
|
2628
2628
|
], Dt);
|
2629
2629
|
/**
|
@@ -2631,7 +2631,7 @@ Dt = un([
|
|
2631
2631
|
* Copyright 2017 Google LLC
|
2632
2632
|
* SPDX-License-Identifier: BSD-3-Clause
|
2633
2633
|
*/
|
2634
|
-
class It extends
|
2634
|
+
class It extends Yt {
|
2635
2635
|
constructor(t) {
|
2636
2636
|
if (super(t), this.et = u, t.type !== Ct.CHILD)
|
2637
2637
|
throw Error(this.constructor.directiveName + "() can only be used in child bindings");
|
@@ -2651,16 +2651,16 @@ class It extends Xt {
|
|
2651
2651
|
}
|
2652
2652
|
}
|
2653
2653
|
It.directiveName = "unsafeHTML", It.resultType = 1;
|
2654
|
-
const
|
2655
|
-
var
|
2656
|
-
for (var n = i > 1 ? void 0 : i ?
|
2654
|
+
const gn = xt(It);
|
2655
|
+
var $n = Object.defineProperty, mn = Object.getOwnPropertyDescriptor, as = (s, t, e, i) => {
|
2656
|
+
for (var n = i > 1 ? void 0 : i ? mn(t, e) : t, o = s.length - 1, r; o >= 0; o--)
|
2657
2657
|
(r = s[o]) && (n = (i ? r(t, e, n) : r(n)) || n);
|
2658
|
-
return i && n &&
|
2658
|
+
return i && n && $n(t, e, n), n;
|
2659
2659
|
};
|
2660
2660
|
let mt = class extends m {
|
2661
2661
|
render() {
|
2662
2662
|
return f`<div class="message-type-html">
|
2663
|
-
${
|
2663
|
+
${gn(this.message.content)}
|
2664
2664
|
</div>`;
|
2665
2665
|
}
|
2666
2666
|
};
|
@@ -2688,7 +2688,7 @@ as([
|
|
2688
2688
|
mt = as([
|
2689
2689
|
J("message-type-html")
|
2690
2690
|
], mt);
|
2691
|
-
class
|
2691
|
+
class vn {
|
2692
2692
|
constructor(t) {
|
2693
2693
|
this._message = null, this._host = t, t.addController(this);
|
2694
2694
|
}
|
@@ -2704,17 +2704,17 @@ class mn {
|
|
2704
2704
|
return !!this.message;
|
2705
2705
|
}
|
2706
2706
|
}
|
2707
|
-
var
|
2708
|
-
for (var n = i > 1 ? void 0 : i ?
|
2707
|
+
var yn = Object.defineProperty, bn = Object.getOwnPropertyDescriptor, St = (s, t, e, i) => {
|
2708
|
+
for (var n = i > 1 ? void 0 : i ? bn(t, e) : t, o = s.length - 1, r; o >= 0; o--)
|
2709
2709
|
(r = s[o]) && (n = (i ? r(t, e, n) : r(n)) || n);
|
2710
|
-
return i && n &&
|
2710
|
+
return i && n && yn(t, e, n), n;
|
2711
2711
|
};
|
2712
|
-
const
|
2712
|
+
const _n = (s) => {
|
2713
2713
|
s.scrollTo ? s.scrollTo({ top: s.scrollHeight, behavior: "smooth" }) : s.scrollTop = s.scrollHeight;
|
2714
2714
|
}, ls = is(m);
|
2715
2715
|
class tt extends ls {
|
2716
2716
|
constructor() {
|
2717
|
-
super(...arguments), this.toast = new
|
2717
|
+
super(...arguments), this.toast = new vn(this), this.message = "", this.platform = null, this.session = null, this.disabled = !1, this.conversationContentRef = pt(), this.formRef = pt(), this.chatScrollHeight = 0;
|
2718
2718
|
}
|
2719
2719
|
async connectedCallback() {
|
2720
2720
|
super.connectedCallback();
|
@@ -2759,7 +2759,7 @@ class tt extends ls {
|
|
2759
2759
|
const t = this.conversationContentRef.value;
|
2760
2760
|
t && setTimeout(() => {
|
2761
2761
|
const e = t.scrollHeight;
|
2762
|
-
e > this.chatScrollHeight && (
|
2762
|
+
e > this.chatScrollHeight && (_n(t), this.chatScrollHeight = e);
|
2763
2763
|
}, 1e3);
|
2764
2764
|
}
|
2765
2765
|
disableInput() {
|
@@ -2773,7 +2773,7 @@ class tt extends ls {
|
|
2773
2773
|
}
|
2774
2774
|
handover(t, e = {}) {
|
2775
2775
|
var i;
|
2776
|
-
this.enableInput(), this.setToastMessage(null), (i = this.session) == null
|
2776
|
+
return this.enableInput(), this.setToastMessage(null), ((i = this.session) == null ? void 0 : i.handover(t, e)) || cs;
|
2777
2777
|
}
|
2778
2778
|
render() {
|
2779
2779
|
const t = this.application.texts;
|
@@ -2812,7 +2812,7 @@ class tt extends ls {
|
|
2812
2812
|
title=${t.getOrFallback("conversation.send-alt", "Send")}
|
2813
2813
|
?disabled=${this.disabled}
|
2814
2814
|
>
|
2815
|
-
<telia-icon svg=${
|
2815
|
+
<telia-icon svg=${Ms.svg}></telia-icon>
|
2816
2816
|
</button>
|
2817
2817
|
</div>
|
2818
2818
|
</form>
|