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