@telia-ace/widget-components-copyright-flamingo 1.1.70-rc.25 → 1.1.70-rc.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6,7 +6,7 @@ var ht = function(s, t) {
|
|
|
6
6
|
Object.prototype.hasOwnProperty.call(i, r) && (e[r] = i[r]);
|
|
7
7
|
}, ht(s, t);
|
|
8
8
|
};
|
|
9
|
-
function
|
|
9
|
+
function V(s, t) {
|
|
10
10
|
if (typeof t != "function" && t !== null)
|
|
11
11
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
12
12
|
ht(s, t);
|
|
@@ -27,7 +27,7 @@ function pt(s) {
|
|
|
27
27
|
};
|
|
28
28
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function q(s, t) {
|
|
31
31
|
var e = typeof Symbol == "function" && s[Symbol.iterator];
|
|
32
32
|
if (!e)
|
|
33
33
|
return s;
|
|
@@ -47,7 +47,7 @@ function Z(s, t) {
|
|
|
47
47
|
}
|
|
48
48
|
return n;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function K(s, t, e) {
|
|
51
51
|
if (e || arguments.length === 2)
|
|
52
52
|
for (var i = 0, r = t.length, n; i < r; i++)
|
|
53
53
|
(n || !(i in t)) && (n || (n = Array.prototype.slice.call(t, 0, i)), n[i] = t[i]);
|
|
@@ -56,13 +56,13 @@ function q(s, t, e) {
|
|
|
56
56
|
function y(s) {
|
|
57
57
|
return typeof s == "function";
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function Kt(s) {
|
|
60
60
|
var t = function(i) {
|
|
61
61
|
Error.call(i), i.stack = new Error().stack;
|
|
62
62
|
}, e = s(t);
|
|
63
63
|
return e.prototype = Object.create(Error.prototype), e.prototype.constructor = e, e;
|
|
64
64
|
}
|
|
65
|
-
var et =
|
|
65
|
+
var et = Kt(function(s) {
|
|
66
66
|
return function(e) {
|
|
67
67
|
s(this), this.message = e ? e.length + ` errors occurred during unsubscription:
|
|
68
68
|
` + e.map(function(i, r) {
|
|
@@ -71,13 +71,13 @@ var et = qt(function(s) {
|
|
|
71
71
|
`) : "", this.name = "UnsubscriptionError", this.errors = e;
|
|
72
72
|
};
|
|
73
73
|
});
|
|
74
|
-
function
|
|
74
|
+
function dt(s, t) {
|
|
75
75
|
if (s) {
|
|
76
76
|
var e = s.indexOf(t);
|
|
77
77
|
0 <= e && s.splice(e, 1);
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
|
-
var
|
|
80
|
+
var Q = function() {
|
|
81
81
|
function s(t) {
|
|
82
82
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
83
83
|
}
|
|
@@ -116,19 +116,19 @@ var J = function() {
|
|
|
116
116
|
if (p) {
|
|
117
117
|
this._finalizers = null;
|
|
118
118
|
try {
|
|
119
|
-
for (var
|
|
119
|
+
for (var u = pt(p), f = u.next(); !f.done; f = u.next()) {
|
|
120
120
|
var O = f.value;
|
|
121
121
|
try {
|
|
122
122
|
xt(O);
|
|
123
123
|
} catch (v) {
|
|
124
|
-
n = n ?? [], v instanceof et ? n =
|
|
124
|
+
n = n ?? [], v instanceof et ? n = K(K([], q(n)), q(v.errors)) : n.push(v);
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
127
|
} catch (v) {
|
|
128
128
|
i = { error: v };
|
|
129
129
|
} finally {
|
|
130
130
|
try {
|
|
131
|
-
f && !f.done && (r =
|
|
131
|
+
f && !f.done && (r = u.return) && r.call(u);
|
|
132
132
|
} finally {
|
|
133
133
|
if (i)
|
|
134
134
|
throw i.error;
|
|
@@ -159,55 +159,55 @@ var J = function() {
|
|
|
159
159
|
this._parentage = Array.isArray(e) ? (e.push(t), e) : e ? [e, t] : t;
|
|
160
160
|
}, s.prototype._removeParent = function(t) {
|
|
161
161
|
var e = this._parentage;
|
|
162
|
-
e === t ? this._parentage = null : Array.isArray(e) &&
|
|
162
|
+
e === t ? this._parentage = null : Array.isArray(e) && dt(e, t);
|
|
163
163
|
}, s.prototype.remove = function(t) {
|
|
164
164
|
var e = this._finalizers;
|
|
165
|
-
e &&
|
|
165
|
+
e && dt(e, t), t instanceof s && t._removeParent(this);
|
|
166
166
|
}, s.EMPTY = function() {
|
|
167
167
|
var t = new s();
|
|
168
168
|
return t.closed = !0, t;
|
|
169
169
|
}(), s;
|
|
170
|
-
}(),
|
|
171
|
-
function
|
|
172
|
-
return s instanceof
|
|
170
|
+
}(), Gt = Q.EMPTY;
|
|
171
|
+
function Xt(s) {
|
|
172
|
+
return s instanceof Q || s && "closed" in s && y(s.remove) && y(s.add) && y(s.unsubscribe);
|
|
173
173
|
}
|
|
174
174
|
function xt(s) {
|
|
175
175
|
y(s) ? s() : s.unsubscribe();
|
|
176
176
|
}
|
|
177
|
-
var
|
|
177
|
+
var Jt = {
|
|
178
178
|
onUnhandledError: null,
|
|
179
179
|
onStoppedNotification: null,
|
|
180
180
|
Promise: void 0,
|
|
181
181
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
182
182
|
useDeprecatedNextContext: !1
|
|
183
|
-
},
|
|
183
|
+
}, ut = {
|
|
184
184
|
setTimeout: function(s, t) {
|
|
185
185
|
for (var e = [], i = 2; i < arguments.length; i++)
|
|
186
186
|
e[i - 2] = arguments[i];
|
|
187
|
-
var r =
|
|
188
|
-
return r != null && r.setTimeout ? r.setTimeout.apply(r,
|
|
187
|
+
var r = ut.delegate;
|
|
188
|
+
return r != null && r.setTimeout ? r.setTimeout.apply(r, K([s, t], q(e))) : setTimeout.apply(void 0, K([s, t], q(e)));
|
|
189
189
|
},
|
|
190
190
|
clearTimeout: function(s) {
|
|
191
|
-
var t =
|
|
191
|
+
var t = ut.delegate;
|
|
192
192
|
return ((t == null ? void 0 : t.clearTimeout) || clearTimeout)(s);
|
|
193
193
|
},
|
|
194
194
|
delegate: void 0
|
|
195
195
|
};
|
|
196
|
-
function
|
|
197
|
-
|
|
196
|
+
function ve(s) {
|
|
197
|
+
ut.setTimeout(function() {
|
|
198
198
|
throw s;
|
|
199
199
|
});
|
|
200
200
|
}
|
|
201
201
|
function Et() {
|
|
202
202
|
}
|
|
203
|
-
function
|
|
203
|
+
function W(s) {
|
|
204
204
|
s();
|
|
205
205
|
}
|
|
206
|
-
var
|
|
207
|
-
|
|
206
|
+
var Qt = function(s) {
|
|
207
|
+
V(t, s);
|
|
208
208
|
function t(e) {
|
|
209
209
|
var i = s.call(this) || this;
|
|
210
|
-
return i.isStopped = !1, e ? (i.destination = e,
|
|
210
|
+
return i.isStopped = !1, e ? (i.destination = e, Xt(e) && e.add(i)) : i.destination = $e, i;
|
|
211
211
|
}
|
|
212
212
|
return t.create = function(e, i, r) {
|
|
213
213
|
return new ft(e, i, r);
|
|
@@ -234,11 +234,11 @@ var Jt = function(s) {
|
|
|
234
234
|
this.unsubscribe();
|
|
235
235
|
}
|
|
236
236
|
}, t;
|
|
237
|
-
}(
|
|
237
|
+
}(Q), me = Function.prototype.bind;
|
|
238
238
|
function it(s, t) {
|
|
239
|
-
return
|
|
239
|
+
return me.call(s, t);
|
|
240
240
|
}
|
|
241
|
-
var
|
|
241
|
+
var ye = function() {
|
|
242
242
|
function s(t) {
|
|
243
243
|
this.partialObserver = t;
|
|
244
244
|
}
|
|
@@ -248,7 +248,7 @@ var me = function() {
|
|
|
248
248
|
try {
|
|
249
249
|
e.next(t);
|
|
250
250
|
} catch (i) {
|
|
251
|
-
|
|
251
|
+
Y(i);
|
|
252
252
|
}
|
|
253
253
|
}, s.prototype.error = function(t) {
|
|
254
254
|
var e = this.partialObserver;
|
|
@@ -256,21 +256,21 @@ var me = function() {
|
|
|
256
256
|
try {
|
|
257
257
|
e.error(t);
|
|
258
258
|
} catch (i) {
|
|
259
|
-
|
|
259
|
+
Y(i);
|
|
260
260
|
}
|
|
261
261
|
else
|
|
262
|
-
|
|
262
|
+
Y(t);
|
|
263
263
|
}, s.prototype.complete = function() {
|
|
264
264
|
var t = this.partialObserver;
|
|
265
265
|
if (t.complete)
|
|
266
266
|
try {
|
|
267
267
|
t.complete();
|
|
268
268
|
} catch (e) {
|
|
269
|
-
|
|
269
|
+
Y(e);
|
|
270
270
|
}
|
|
271
271
|
}, s;
|
|
272
272
|
}(), ft = function(s) {
|
|
273
|
-
|
|
273
|
+
V(t, s);
|
|
274
274
|
function t(e, i, r) {
|
|
275
275
|
var n = s.call(this) || this, o;
|
|
276
276
|
if (y(e) || !e)
|
|
@@ -281,7 +281,7 @@ var me = function() {
|
|
|
281
281
|
};
|
|
282
282
|
else {
|
|
283
283
|
var a;
|
|
284
|
-
n &&
|
|
284
|
+
n && Jt.useDeprecatedNextContext ? (a = Object.create(e), a.unsubscribe = function() {
|
|
285
285
|
return n.unsubscribe();
|
|
286
286
|
}, o = {
|
|
287
287
|
next: e.next && it(e.next, a),
|
|
@@ -289,29 +289,29 @@ var me = function() {
|
|
|
289
289
|
complete: e.complete && it(e.complete, a)
|
|
290
290
|
}) : o = e;
|
|
291
291
|
}
|
|
292
|
-
return n.destination = new
|
|
292
|
+
return n.destination = new ye(o), n;
|
|
293
293
|
}
|
|
294
294
|
return t;
|
|
295
|
-
}(
|
|
296
|
-
function
|
|
297
|
-
|
|
295
|
+
}(Qt);
|
|
296
|
+
function Y(s) {
|
|
297
|
+
ve(s);
|
|
298
298
|
}
|
|
299
|
-
function
|
|
299
|
+
function be(s) {
|
|
300
300
|
throw s;
|
|
301
301
|
}
|
|
302
|
-
var
|
|
302
|
+
var $e = {
|
|
303
303
|
closed: !0,
|
|
304
304
|
next: Et,
|
|
305
|
-
error:
|
|
305
|
+
error: be,
|
|
306
306
|
complete: Et
|
|
307
|
-
},
|
|
307
|
+
}, _e = function() {
|
|
308
308
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
309
309
|
}();
|
|
310
|
-
function
|
|
310
|
+
function we(s) {
|
|
311
311
|
return s;
|
|
312
312
|
}
|
|
313
|
-
function
|
|
314
|
-
return s.length === 0 ?
|
|
313
|
+
function Ce(s) {
|
|
314
|
+
return s.length === 0 ? we : s.length === 1 ? s[0] : function(e) {
|
|
315
315
|
return s.reduce(function(i, r) {
|
|
316
316
|
return r(i);
|
|
317
317
|
}, e);
|
|
@@ -325,8 +325,8 @@ var St = function() {
|
|
|
325
325
|
var e = new s();
|
|
326
326
|
return e.source = this, e.operator = t, e;
|
|
327
327
|
}, s.prototype.subscribe = function(t, e, i) {
|
|
328
|
-
var r = this, n =
|
|
329
|
-
return
|
|
328
|
+
var r = this, n = xe(t) ? t : new ft(t, e, i);
|
|
329
|
+
return W(function() {
|
|
330
330
|
var o = r, a = o.operator, l = o.source;
|
|
331
331
|
n.add(a ? a.call(n, l) : l ? r._subscribe(n) : r._trySubscribe(n));
|
|
332
332
|
}), n;
|
|
@@ -355,12 +355,12 @@ var St = function() {
|
|
|
355
355
|
}, s.prototype._subscribe = function(t) {
|
|
356
356
|
var e;
|
|
357
357
|
return (e = this.source) === null || e === void 0 ? void 0 : e.subscribe(t);
|
|
358
|
-
}, s.prototype[
|
|
358
|
+
}, s.prototype[_e] = function() {
|
|
359
359
|
return this;
|
|
360
360
|
}, s.prototype.pipe = function() {
|
|
361
361
|
for (var t = [], e = 0; e < arguments.length; e++)
|
|
362
362
|
t[e] = arguments[e];
|
|
363
|
-
return
|
|
363
|
+
return Ce(t)(this);
|
|
364
364
|
}, s.prototype.toPromise = function(t) {
|
|
365
365
|
var e = this;
|
|
366
366
|
return t = Pt(t), new t(function(i, r) {
|
|
@@ -379,20 +379,20 @@ var St = function() {
|
|
|
379
379
|
}();
|
|
380
380
|
function Pt(s) {
|
|
381
381
|
var t;
|
|
382
|
-
return (t = s ??
|
|
382
|
+
return (t = s ?? Jt.Promise) !== null && t !== void 0 ? t : Promise;
|
|
383
383
|
}
|
|
384
|
-
function
|
|
384
|
+
function Ae(s) {
|
|
385
385
|
return s && y(s.next) && y(s.error) && y(s.complete);
|
|
386
386
|
}
|
|
387
|
-
function
|
|
388
|
-
return s && s instanceof
|
|
387
|
+
function xe(s) {
|
|
388
|
+
return s && s instanceof Qt || Ae(s) && Xt(s);
|
|
389
389
|
}
|
|
390
|
-
var
|
|
390
|
+
var Ee = Kt(function(s) {
|
|
391
391
|
return function() {
|
|
392
392
|
s(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
393
393
|
};
|
|
394
394
|
}), gt = function(s) {
|
|
395
|
-
|
|
395
|
+
V(t, s);
|
|
396
396
|
function t() {
|
|
397
397
|
var e = s.call(this) || this;
|
|
398
398
|
return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
|
|
@@ -402,10 +402,10 @@ var xe = qt(function(s) {
|
|
|
402
402
|
return i.operator = e, i;
|
|
403
403
|
}, t.prototype._throwIfClosed = function() {
|
|
404
404
|
if (this.closed)
|
|
405
|
-
throw new
|
|
405
|
+
throw new Ee();
|
|
406
406
|
}, t.prototype.next = function(e) {
|
|
407
407
|
var i = this;
|
|
408
|
-
|
|
408
|
+
W(function() {
|
|
409
409
|
var r, n;
|
|
410
410
|
if (i._throwIfClosed(), !i.isStopped) {
|
|
411
411
|
i.currentObservers || (i.currentObservers = Array.from(i.observers));
|
|
@@ -428,7 +428,7 @@ var xe = qt(function(s) {
|
|
|
428
428
|
});
|
|
429
429
|
}, t.prototype.error = function(e) {
|
|
430
430
|
var i = this;
|
|
431
|
-
|
|
431
|
+
W(function() {
|
|
432
432
|
if (i._throwIfClosed(), !i.isStopped) {
|
|
433
433
|
i.hasError = i.isStopped = !0, i.thrownError = e;
|
|
434
434
|
for (var r = i.observers; r.length; )
|
|
@@ -437,7 +437,7 @@ var xe = qt(function(s) {
|
|
|
437
437
|
});
|
|
438
438
|
}, t.prototype.complete = function() {
|
|
439
439
|
var e = this;
|
|
440
|
-
|
|
440
|
+
W(function() {
|
|
441
441
|
if (e._throwIfClosed(), !e.isStopped) {
|
|
442
442
|
e.isStopped = !0;
|
|
443
443
|
for (var i = e.observers; i.length; )
|
|
@@ -459,8 +459,8 @@ var xe = qt(function(s) {
|
|
|
459
459
|
return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
|
|
460
460
|
}, t.prototype._innerSubscribe = function(e) {
|
|
461
461
|
var i = this, r = this, n = r.hasError, o = r.isStopped, a = r.observers;
|
|
462
|
-
return n || o ?
|
|
463
|
-
i.currentObservers = null,
|
|
462
|
+
return n || o ? Gt : (this.currentObservers = null, a.push(e), new Q(function() {
|
|
463
|
+
i.currentObservers = null, dt(a, e);
|
|
464
464
|
}));
|
|
465
465
|
}, t.prototype._checkFinalizedStatuses = function(e) {
|
|
466
466
|
var i = this, r = i.hasError, n = i.thrownError, o = i.isStopped;
|
|
@@ -472,7 +472,7 @@ var xe = qt(function(s) {
|
|
|
472
472
|
return new Ot(e, i);
|
|
473
473
|
}, t;
|
|
474
474
|
}(St), Ot = function(s) {
|
|
475
|
-
|
|
475
|
+
V(t, s);
|
|
476
476
|
function t(e, i) {
|
|
477
477
|
var r = s.call(this) || this;
|
|
478
478
|
return r.destination = e, r.source = i, r;
|
|
@@ -488,10 +488,10 @@ var xe = qt(function(s) {
|
|
|
488
488
|
(i = (e = this.destination) === null || e === void 0 ? void 0 : e.complete) === null || i === void 0 || i.call(e);
|
|
489
489
|
}, t.prototype._subscribe = function(e) {
|
|
490
490
|
var i, r;
|
|
491
|
-
return (r = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(e)) !== null && r !== void 0 ? r :
|
|
491
|
+
return (r = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(e)) !== null && r !== void 0 ? r : Gt;
|
|
492
492
|
}, t;
|
|
493
|
-
}(gt),
|
|
494
|
-
|
|
493
|
+
}(gt), Se = function(s) {
|
|
494
|
+
V(t, s);
|
|
495
495
|
function t(e) {
|
|
496
496
|
var i = s.call(this) || this;
|
|
497
497
|
return i._value = e, i;
|
|
@@ -519,8 +519,8 @@ var xe = qt(function(s) {
|
|
|
519
519
|
* Copyright 2019 Google LLC
|
|
520
520
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
521
521
|
*/
|
|
522
|
-
const
|
|
523
|
-
let
|
|
522
|
+
const Z = globalThis, vt = Z.ShadowRoot && (Z.ShadyCSS === void 0 || Z.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, mt = Symbol(), Tt = /* @__PURE__ */ new WeakMap();
|
|
523
|
+
let te = class {
|
|
524
524
|
constructor(t, e, i) {
|
|
525
525
|
if (this._$cssResult$ = !0, i !== mt)
|
|
526
526
|
throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
@@ -539,7 +539,7 @@ let Qt = class {
|
|
|
539
539
|
return this.cssText;
|
|
540
540
|
}
|
|
541
541
|
};
|
|
542
|
-
const
|
|
542
|
+
const Pe = (s) => new te(typeof s == "string" ? s : s + "", void 0, mt), P = (s, ...t) => {
|
|
543
543
|
const e = s.length === 1 ? s[0] : t.reduce((i, r, n) => i + ((o) => {
|
|
544
544
|
if (o._$cssResult$ === !0)
|
|
545
545
|
return o.cssText;
|
|
@@ -547,30 +547,30 @@ const Se = (s) => new Qt(typeof s == "string" ? s : s + "", void 0, mt), S = (s,
|
|
|
547
547
|
return o;
|
|
548
548
|
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.");
|
|
549
549
|
})(r) + s[n + 1], s[0]);
|
|
550
|
-
return new
|
|
551
|
-
},
|
|
550
|
+
return new te(e, s, mt);
|
|
551
|
+
}, Oe = (s, t) => {
|
|
552
552
|
if (vt)
|
|
553
553
|
s.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
554
554
|
else
|
|
555
555
|
for (const e of t) {
|
|
556
|
-
const i = document.createElement("style"), r =
|
|
556
|
+
const i = document.createElement("style"), r = Z.litNonce;
|
|
557
557
|
r !== void 0 && i.setAttribute("nonce", r), i.textContent = e.cssText, s.appendChild(i);
|
|
558
558
|
}
|
|
559
559
|
}, Mt = vt ? (s) => s : (s) => s instanceof CSSStyleSheet ? ((t) => {
|
|
560
560
|
let e = "";
|
|
561
561
|
for (const i of t.cssRules)
|
|
562
562
|
e += i.cssText;
|
|
563
|
-
return
|
|
563
|
+
return Pe(e);
|
|
564
564
|
})(s) : s;
|
|
565
565
|
/**
|
|
566
566
|
* @license
|
|
567
567
|
* Copyright 2017 Google LLC
|
|
568
568
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
569
569
|
*/
|
|
570
|
-
const { is:
|
|
570
|
+
const { is: Te, defineProperty: Me, getOwnPropertyDescriptor: ke, getOwnPropertyNames: Ue, getOwnPropertySymbols: He, getPrototypeOf: Le } = Object, $ = globalThis, kt = $.trustedTypes, Re = kt ? kt.emptyScript : "", st = $.reactiveElementPolyfillSupport, H = (s, t) => s, G = { toAttribute(s, t) {
|
|
571
571
|
switch (t) {
|
|
572
572
|
case Boolean:
|
|
573
|
-
s = s ?
|
|
573
|
+
s = s ? Re : null;
|
|
574
574
|
break;
|
|
575
575
|
case Object:
|
|
576
576
|
case Array:
|
|
@@ -595,7 +595,7 @@ const { is: Oe, defineProperty: Te, getOwnPropertyDescriptor: Me, getOwnProperty
|
|
|
595
595
|
}
|
|
596
596
|
}
|
|
597
597
|
return e;
|
|
598
|
-
} }, yt = (s, t) => !
|
|
598
|
+
} }, yt = (s, t) => !Te(s, t), Ut = { attribute: !0, type: String, converter: G, reflect: !1, hasChanged: yt };
|
|
599
599
|
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), $.litPropertyMetadata ?? ($.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
600
600
|
let T = class extends HTMLElement {
|
|
601
601
|
static addInitializer(t) {
|
|
@@ -607,11 +607,11 @@ let T = class extends HTMLElement {
|
|
|
607
607
|
static createProperty(t, e = Ut) {
|
|
608
608
|
if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
|
|
609
609
|
const i = Symbol(), r = this.getPropertyDescriptor(t, i, e);
|
|
610
|
-
r !== void 0 &&
|
|
610
|
+
r !== void 0 && Me(this.prototype, t, r);
|
|
611
611
|
}
|
|
612
612
|
}
|
|
613
613
|
static getPropertyDescriptor(t, e, i) {
|
|
614
|
-
const { get: r, set: n } =
|
|
614
|
+
const { get: r, set: n } = ke(this.prototype, t) ?? { get() {
|
|
615
615
|
return this[e];
|
|
616
616
|
}, set(o) {
|
|
617
617
|
this[e] = o;
|
|
@@ -627,16 +627,16 @@ let T = class extends HTMLElement {
|
|
|
627
627
|
return this.elementProperties.get(t) ?? Ut;
|
|
628
628
|
}
|
|
629
629
|
static _$Ei() {
|
|
630
|
-
if (this.hasOwnProperty(
|
|
630
|
+
if (this.hasOwnProperty(H("elementProperties")))
|
|
631
631
|
return;
|
|
632
|
-
const t =
|
|
632
|
+
const t = Le(this);
|
|
633
633
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
634
634
|
}
|
|
635
635
|
static finalize() {
|
|
636
|
-
if (this.hasOwnProperty(
|
|
636
|
+
if (this.hasOwnProperty(H("finalized")))
|
|
637
637
|
return;
|
|
638
|
-
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(
|
|
639
|
-
const e = this.properties, i = [...
|
|
638
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(H("properties"))) {
|
|
639
|
+
const e = this.properties, i = [...Ue(e), ...He(e)];
|
|
640
640
|
for (const r of i)
|
|
641
641
|
this.createProperty(r, e[r]);
|
|
642
642
|
}
|
|
@@ -691,7 +691,7 @@ let T = class extends HTMLElement {
|
|
|
691
691
|
}
|
|
692
692
|
createRenderRoot() {
|
|
693
693
|
const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
|
694
|
-
return
|
|
694
|
+
return Oe(t, this.constructor.elementStyles), t;
|
|
695
695
|
}
|
|
696
696
|
connectedCallback() {
|
|
697
697
|
var t;
|
|
@@ -716,7 +716,7 @@ let T = class extends HTMLElement {
|
|
|
716
716
|
var n;
|
|
717
717
|
const i = this.constructor.elementProperties.get(t), r = this.constructor._$Eu(t, i);
|
|
718
718
|
if (r !== void 0 && i.reflect === !0) {
|
|
719
|
-
const o = (((n = i.converter) == null ? void 0 : n.toAttribute) !== void 0 ? i.converter :
|
|
719
|
+
const o = (((n = i.converter) == null ? void 0 : n.toAttribute) !== void 0 ? i.converter : G).toAttribute(e, i.type);
|
|
720
720
|
this._$Em = t, o == null ? this.removeAttribute(r) : this.setAttribute(r, o), this._$Em = null;
|
|
721
721
|
}
|
|
722
722
|
}
|
|
@@ -724,7 +724,7 @@ let T = class extends HTMLElement {
|
|
|
724
724
|
var n;
|
|
725
725
|
const i = this.constructor, r = i._$Eh.get(t);
|
|
726
726
|
if (r !== void 0 && this._$Em !== r) {
|
|
727
|
-
const o = i.getPropertyOptions(r), a = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((n = o.converter) == null ? void 0 : n.fromAttribute) !== void 0 ? o.converter :
|
|
727
|
+
const o = i.getPropertyOptions(r), a = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((n = o.converter) == null ? void 0 : n.fromAttribute) !== void 0 ? o.converter : G;
|
|
728
728
|
this._$Em = r, this[r] = a.fromAttribute(e, o.type), this._$Em = null;
|
|
729
729
|
}
|
|
730
730
|
}
|
|
@@ -808,63 +808,63 @@ let T = class extends HTMLElement {
|
|
|
808
808
|
firstUpdated(t) {
|
|
809
809
|
}
|
|
810
810
|
};
|
|
811
|
-
T.elementStyles = [], T.shadowRootOptions = { mode: "open" }, T[
|
|
811
|
+
T.elementStyles = [], T.shadowRootOptions = { mode: "open" }, T[H("elementProperties")] = /* @__PURE__ */ new Map(), T[H("finalized")] = /* @__PURE__ */ new Map(), st == null || st({ ReactiveElement: T }), ($.reactiveElementVersions ?? ($.reactiveElementVersions = [])).push("2.0.4");
|
|
812
812
|
/**
|
|
813
813
|
* @license
|
|
814
814
|
* Copyright 2017 Google LLC
|
|
815
815
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
816
816
|
*/
|
|
817
|
-
const
|
|
818
|
-
\f\r]`,
|
|
819
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), jt = /'/g, Nt = /"/g,
|
|
820
|
-
function
|
|
817
|
+
const L = globalThis, X = L.trustedTypes, Ht = X ? X.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, ee = "$lit$", b = `lit$${(Math.random() + "").slice(9)}$`, ie = "?" + b, je = `<${ie}>`, E = document, j = () => E.createComment(""), N = (s) => s === null || typeof s != "object" && typeof s != "function", se = Array.isArray, Ne = (s) => se(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", rt = `[
|
|
818
|
+
\f\r]`, U = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Lt = /-->/g, Rt = />/g, w = RegExp(`>|${rt}(?:([^\\s"'>=/]+)(${rt}*=${rt}*(?:[^
|
|
819
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), jt = /'/g, Nt = /"/g, re = /^(?:script|style|textarea|title)$/i, ne = (s) => (t, ...e) => ({ _$litType$: s, strings: t, values: e }), A = ne(1), Ie = ne(2), S = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), It = /* @__PURE__ */ new WeakMap(), x = E.createTreeWalker(E, 129);
|
|
820
|
+
function oe(s, t) {
|
|
821
821
|
if (!Array.isArray(s) || !s.hasOwnProperty("raw"))
|
|
822
822
|
throw Error("invalid template strings array");
|
|
823
823
|
return Ht !== void 0 ? Ht.createHTML(t) : t;
|
|
824
824
|
}
|
|
825
|
-
const
|
|
825
|
+
const Ve = (s, t) => {
|
|
826
826
|
const e = s.length - 1, i = [];
|
|
827
|
-
let r, n = t === 2 ? "<svg>" : "", o =
|
|
827
|
+
let r, n = t === 2 ? "<svg>" : "", o = U;
|
|
828
828
|
for (let a = 0; a < e; a++) {
|
|
829
829
|
const l = s[a];
|
|
830
|
-
let c, h, p = -1,
|
|
831
|
-
for (;
|
|
832
|
-
|
|
833
|
-
const f = o ===
|
|
834
|
-
n += o ===
|
|
830
|
+
let c, h, p = -1, u = 0;
|
|
831
|
+
for (; u < l.length && (o.lastIndex = u, h = o.exec(l), h !== null); )
|
|
832
|
+
u = o.lastIndex, o === U ? h[1] === "!--" ? o = Lt : h[1] !== void 0 ? o = Rt : h[2] !== void 0 ? (re.test(h[2]) && (r = RegExp("</" + h[2], "g")), o = w) : h[3] !== void 0 && (o = w) : o === w ? h[0] === ">" ? (o = r ?? U, p = -1) : h[1] === void 0 ? p = -2 : (p = o.lastIndex - h[2].length, c = h[1], o = h[3] === void 0 ? w : h[3] === '"' ? Nt : jt) : o === Nt || o === jt ? o = w : o === Lt || o === Rt ? o = U : (o = w, r = void 0);
|
|
833
|
+
const f = o === w && s[a + 1].startsWith("/>") ? " " : "";
|
|
834
|
+
n += o === U ? l + je : p >= 0 ? (i.push(c), l.slice(0, p) + ee + l.slice(p) + b + f) : l + b + (p === -2 ? a : f);
|
|
835
835
|
}
|
|
836
|
-
return [
|
|
836
|
+
return [oe(s, n + (s[e] || "<?>") + (t === 2 ? "</svg>" : "")), i];
|
|
837
837
|
};
|
|
838
|
-
class
|
|
838
|
+
class I {
|
|
839
839
|
constructor({ strings: t, _$litType$: e }, i) {
|
|
840
840
|
let r;
|
|
841
841
|
this.parts = [];
|
|
842
842
|
let n = 0, o = 0;
|
|
843
|
-
const a = t.length - 1, l = this.parts, [c, h] =
|
|
844
|
-
if (this.el =
|
|
843
|
+
const a = t.length - 1, l = this.parts, [c, h] = Ve(t, e);
|
|
844
|
+
if (this.el = I.createElement(c, i), x.currentNode = this.el.content, e === 2) {
|
|
845
845
|
const p = this.el.content.firstChild;
|
|
846
846
|
p.replaceWith(...p.childNodes);
|
|
847
847
|
}
|
|
848
|
-
for (; (r =
|
|
848
|
+
for (; (r = x.nextNode()) !== null && l.length < a; ) {
|
|
849
849
|
if (r.nodeType === 1) {
|
|
850
850
|
if (r.hasAttributes())
|
|
851
851
|
for (const p of r.getAttributeNames())
|
|
852
|
-
if (p.endsWith(
|
|
853
|
-
const
|
|
854
|
-
l.push({ type: 1, index: n, name: O[2], strings: f, ctor: O[1] === "." ? Be : O[1] === "?" ?
|
|
852
|
+
if (p.endsWith(ee)) {
|
|
853
|
+
const u = h[o++], f = r.getAttribute(p).split(b), O = /([.?@])?(.*)/.exec(u);
|
|
854
|
+
l.push({ type: 1, index: n, name: O[2], strings: f, ctor: O[1] === "." ? Be : O[1] === "?" ? ze : O[1] === "@" ? Ye : tt }), r.removeAttribute(p);
|
|
855
855
|
} else
|
|
856
856
|
p.startsWith(b) && (l.push({ type: 6, index: n }), r.removeAttribute(p));
|
|
857
|
-
if (
|
|
858
|
-
const p = r.textContent.split(b),
|
|
859
|
-
if (
|
|
860
|
-
r.textContent =
|
|
861
|
-
for (let f = 0; f <
|
|
862
|
-
r.append(p[f],
|
|
863
|
-
r.append(p[
|
|
857
|
+
if (re.test(r.tagName)) {
|
|
858
|
+
const p = r.textContent.split(b), u = p.length - 1;
|
|
859
|
+
if (u > 0) {
|
|
860
|
+
r.textContent = X ? X.emptyScript : "";
|
|
861
|
+
for (let f = 0; f < u; f++)
|
|
862
|
+
r.append(p[f], j()), x.nextNode(), l.push({ type: 2, index: ++n });
|
|
863
|
+
r.append(p[u], j());
|
|
864
864
|
}
|
|
865
865
|
}
|
|
866
866
|
} else if (r.nodeType === 8)
|
|
867
|
-
if (r.data ===
|
|
867
|
+
if (r.data === ie)
|
|
868
868
|
l.push({ type: 2, index: n });
|
|
869
869
|
else {
|
|
870
870
|
let p = -1;
|
|
@@ -875,16 +875,16 @@ class N {
|
|
|
875
875
|
}
|
|
876
876
|
}
|
|
877
877
|
static createElement(t, e) {
|
|
878
|
-
const i =
|
|
878
|
+
const i = E.createElement("template");
|
|
879
879
|
return i.innerHTML = t, i;
|
|
880
880
|
}
|
|
881
881
|
}
|
|
882
882
|
function M(s, t, e = s, i) {
|
|
883
883
|
var o, a;
|
|
884
|
-
if (t ===
|
|
884
|
+
if (t === S)
|
|
885
885
|
return t;
|
|
886
886
|
let r = i !== void 0 ? (o = e._$Co) == null ? void 0 : o[i] : e._$Cl;
|
|
887
|
-
const n =
|
|
887
|
+
const n = N(t) ? void 0 : t._$litDirective$;
|
|
888
888
|
return (r == null ? void 0 : r.constructor) !== n && ((a = r == null ? void 0 : r._$AO) == null || a.call(r, !1), n === void 0 ? r = void 0 : (r = new n(s), r._$AT(s, e, i)), i !== void 0 ? (e._$Co ?? (e._$Co = []))[i] = r : e._$Cl = r), r !== void 0 && (t = M(s, r._$AS(s, t.values), r, i)), t;
|
|
889
889
|
}
|
|
890
890
|
class De {
|
|
@@ -898,17 +898,17 @@ class De {
|
|
|
898
898
|
return this._$AM._$AU;
|
|
899
899
|
}
|
|
900
900
|
u(t) {
|
|
901
|
-
const { el: { content: e }, parts: i } = this._$AD, r = ((t == null ? void 0 : t.creationScope) ??
|
|
902
|
-
|
|
903
|
-
let n =
|
|
901
|
+
const { el: { content: e }, parts: i } = this._$AD, r = ((t == null ? void 0 : t.creationScope) ?? E).importNode(e, !0);
|
|
902
|
+
x.currentNode = r;
|
|
903
|
+
let n = x.nextNode(), o = 0, a = 0, l = i[0];
|
|
904
904
|
for (; l !== void 0; ) {
|
|
905
905
|
if (o === l.index) {
|
|
906
906
|
let c;
|
|
907
|
-
l.type === 2 ? c = new D(n, n.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(n, l.name, l.strings, this, t) : l.type === 6 && (c = new
|
|
907
|
+
l.type === 2 ? c = new D(n, n.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(n, l.name, l.strings, this, t) : l.type === 6 && (c = new Fe(n, this, t)), this._$AV.push(c), l = i[++a];
|
|
908
908
|
}
|
|
909
|
-
o !== (l == null ? void 0 : l.index) && (n =
|
|
909
|
+
o !== (l == null ? void 0 : l.index) && (n = x.nextNode(), o++);
|
|
910
910
|
}
|
|
911
|
-
return
|
|
911
|
+
return x.currentNode = E, r;
|
|
912
912
|
}
|
|
913
913
|
p(t) {
|
|
914
914
|
let e = 0;
|
|
@@ -922,7 +922,7 @@ class D {
|
|
|
922
922
|
return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
|
|
923
923
|
}
|
|
924
924
|
constructor(t, e, i, r) {
|
|
925
|
-
this.type = 2, this._$AH =
|
|
925
|
+
this.type = 2, this._$AH = d, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = i, this.options = r, this._$Cv = (r == null ? void 0 : r.isConnected) ?? !0;
|
|
926
926
|
}
|
|
927
927
|
get parentNode() {
|
|
928
928
|
let t = this._$AA.parentNode;
|
|
@@ -936,7 +936,7 @@ class D {
|
|
|
936
936
|
return this._$AB;
|
|
937
937
|
}
|
|
938
938
|
_$AI(t, e = this) {
|
|
939
|
-
t = M(this, t, e),
|
|
939
|
+
t = M(this, t, e), N(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== S && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Ne(t) ? this.k(t) : this._(t);
|
|
940
940
|
}
|
|
941
941
|
S(t) {
|
|
942
942
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -945,11 +945,11 @@ class D {
|
|
|
945
945
|
this._$AH !== t && (this._$AR(), this._$AH = this.S(t));
|
|
946
946
|
}
|
|
947
947
|
_(t) {
|
|
948
|
-
this._$AH !==
|
|
948
|
+
this._$AH !== d && N(this._$AH) ? this._$AA.nextSibling.data = t : this.T(E.createTextNode(t)), this._$AH = t;
|
|
949
949
|
}
|
|
950
950
|
$(t) {
|
|
951
951
|
var n;
|
|
952
|
-
const { values: e, _$litType$: i } = t, r = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el =
|
|
952
|
+
const { values: e, _$litType$: i } = t, r = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = I.createElement(oe(i.h, i.h[0]), this.options)), i);
|
|
953
953
|
if (((n = this._$AH) == null ? void 0 : n._$AD) === r)
|
|
954
954
|
this._$AH.p(e);
|
|
955
955
|
else {
|
|
@@ -959,14 +959,14 @@ class D {
|
|
|
959
959
|
}
|
|
960
960
|
_$AC(t) {
|
|
961
961
|
let e = It.get(t.strings);
|
|
962
|
-
return e === void 0 && It.set(t.strings, e = new
|
|
962
|
+
return e === void 0 && It.set(t.strings, e = new I(t)), e;
|
|
963
963
|
}
|
|
964
964
|
k(t) {
|
|
965
|
-
|
|
965
|
+
se(this._$AH) || (this._$AH = [], this._$AR());
|
|
966
966
|
const e = this._$AH;
|
|
967
967
|
let i, r = 0;
|
|
968
968
|
for (const n of t)
|
|
969
|
-
r === e.length ? e.push(i = new D(this.S(
|
|
969
|
+
r === e.length ? e.push(i = new D(this.S(j()), this.S(j()), this, this.options)) : i = e[r], i._$AI(n), r++;
|
|
970
970
|
r < e.length && (this._$AR(i && i._$AB.nextSibling, r), e.length = r);
|
|
971
971
|
}
|
|
972
972
|
_$AR(t = this._$AA.nextSibling, e) {
|
|
@@ -981,7 +981,7 @@ class D {
|
|
|
981
981
|
this._$AM === void 0 && (this._$Cv = t, (e = this._$AP) == null || e.call(this, t));
|
|
982
982
|
}
|
|
983
983
|
}
|
|
984
|
-
class
|
|
984
|
+
class tt {
|
|
985
985
|
get tagName() {
|
|
986
986
|
return this.element.tagName;
|
|
987
987
|
}
|
|
@@ -989,49 +989,49 @@ class Q {
|
|
|
989
989
|
return this._$AM._$AU;
|
|
990
990
|
}
|
|
991
991
|
constructor(t, e, i, r, n) {
|
|
992
|
-
this.type = 1, this._$AH =
|
|
992
|
+
this.type = 1, this._$AH = d, this._$AN = void 0, this.element = t, this.name = e, this._$AM = r, this.options = n, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = d;
|
|
993
993
|
}
|
|
994
994
|
_$AI(t, e = this, i, r) {
|
|
995
995
|
const n = this.strings;
|
|
996
996
|
let o = !1;
|
|
997
997
|
if (n === void 0)
|
|
998
|
-
t = M(this, t, e, 0), o = !
|
|
998
|
+
t = M(this, t, e, 0), o = !N(t) || t !== this._$AH && t !== S, o && (this._$AH = t);
|
|
999
999
|
else {
|
|
1000
1000
|
const a = t;
|
|
1001
1001
|
let l, c;
|
|
1002
1002
|
for (t = n[0], l = 0; l < n.length - 1; l++)
|
|
1003
|
-
c = M(this, a[i + l], e, l), c ===
|
|
1003
|
+
c = M(this, a[i + l], e, l), c === S && (c = this._$AH[l]), o || (o = !N(c) || c !== this._$AH[l]), c === d ? t = d : t !== d && (t += (c ?? "") + n[l + 1]), this._$AH[l] = c;
|
|
1004
1004
|
}
|
|
1005
1005
|
o && !r && this.j(t);
|
|
1006
1006
|
}
|
|
1007
1007
|
j(t) {
|
|
1008
|
-
t ===
|
|
1008
|
+
t === d ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
|
1009
1009
|
}
|
|
1010
1010
|
}
|
|
1011
|
-
class Be extends
|
|
1011
|
+
class Be extends tt {
|
|
1012
1012
|
constructor() {
|
|
1013
1013
|
super(...arguments), this.type = 3;
|
|
1014
1014
|
}
|
|
1015
1015
|
j(t) {
|
|
1016
|
-
this.element[this.name] = t ===
|
|
1016
|
+
this.element[this.name] = t === d ? void 0 : t;
|
|
1017
1017
|
}
|
|
1018
1018
|
}
|
|
1019
|
-
class
|
|
1019
|
+
class ze extends tt {
|
|
1020
1020
|
constructor() {
|
|
1021
1021
|
super(...arguments), this.type = 4;
|
|
1022
1022
|
}
|
|
1023
1023
|
j(t) {
|
|
1024
|
-
this.element.toggleAttribute(this.name, !!t && t !==
|
|
1024
|
+
this.element.toggleAttribute(this.name, !!t && t !== d);
|
|
1025
1025
|
}
|
|
1026
1026
|
}
|
|
1027
|
-
class
|
|
1027
|
+
class Ye extends tt {
|
|
1028
1028
|
constructor(t, e, i, r, n) {
|
|
1029
1029
|
super(t, e, i, r, n), this.type = 5;
|
|
1030
1030
|
}
|
|
1031
1031
|
_$AI(t, e = this) {
|
|
1032
|
-
if ((t = M(this, t, e, 0) ??
|
|
1032
|
+
if ((t = M(this, t, e, 0) ?? d) === S)
|
|
1033
1033
|
return;
|
|
1034
|
-
const i = this._$AH, r = t ===
|
|
1034
|
+
const i = this._$AH, r = t === d && i !== d || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, n = t !== d && (i === d || r);
|
|
1035
1035
|
r && this.element.removeEventListener(this.name, this, i), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
|
1036
1036
|
}
|
|
1037
1037
|
handleEvent(t) {
|
|
@@ -1039,7 +1039,7 @@ class ze extends Q {
|
|
|
1039
1039
|
typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, t) : this._$AH.handleEvent(t);
|
|
1040
1040
|
}
|
|
1041
1041
|
}
|
|
1042
|
-
class
|
|
1042
|
+
class Fe {
|
|
1043
1043
|
constructor(t, e, i) {
|
|
1044
1044
|
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
|
|
1045
1045
|
}
|
|
@@ -1050,14 +1050,14 @@ class Ye {
|
|
|
1050
1050
|
M(this, t);
|
|
1051
1051
|
}
|
|
1052
1052
|
}
|
|
1053
|
-
const nt =
|
|
1054
|
-
nt == null || nt(
|
|
1055
|
-
const
|
|
1053
|
+
const nt = L.litHtmlPolyfillSupport;
|
|
1054
|
+
nt == null || nt(I, D), (L.litHtmlVersions ?? (L.litHtmlVersions = [])).push("3.1.2");
|
|
1055
|
+
const We = (s, t, e) => {
|
|
1056
1056
|
const i = (e == null ? void 0 : e.renderBefore) ?? t;
|
|
1057
1057
|
let r = i._$litPart$;
|
|
1058
1058
|
if (r === void 0) {
|
|
1059
1059
|
const n = (e == null ? void 0 : e.renderBefore) ?? null;
|
|
1060
|
-
i._$litPart$ = r = new D(t.insertBefore(
|
|
1060
|
+
i._$litPart$ = r = new D(t.insertBefore(j(), n), n, void 0, e ?? {});
|
|
1061
1061
|
}
|
|
1062
1062
|
return r._$AI(s), r;
|
|
1063
1063
|
};
|
|
@@ -1077,7 +1077,7 @@ let m = class extends T {
|
|
|
1077
1077
|
}
|
|
1078
1078
|
update(t) {
|
|
1079
1079
|
const e = this.render();
|
|
1080
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do =
|
|
1080
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = We(e, this.renderRoot, this.renderOptions);
|
|
1081
1081
|
}
|
|
1082
1082
|
connectedCallback() {
|
|
1083
1083
|
var t;
|
|
@@ -1088,11 +1088,11 @@ let m = class extends T {
|
|
|
1088
1088
|
super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
|
|
1089
1089
|
}
|
|
1090
1090
|
render() {
|
|
1091
|
-
return
|
|
1091
|
+
return S;
|
|
1092
1092
|
}
|
|
1093
1093
|
};
|
|
1094
|
-
var
|
|
1095
|
-
m._$litElement$ = !0, m.finalized = !0, (
|
|
1094
|
+
var qt;
|
|
1095
|
+
m._$litElement$ = !0, m.finalized = !0, (qt = globalThis.litElementHydrateSupport) == null || qt.call(globalThis, { LitElement: m });
|
|
1096
1096
|
const ot = globalThis.litElementPolyfillSupport;
|
|
1097
1097
|
ot == null || ot({ LitElement: m });
|
|
1098
1098
|
(globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.0.4");
|
|
@@ -1101,7 +1101,7 @@ ot == null || ot({ LitElement: m });
|
|
|
1101
1101
|
* Copyright 2017 Google LLC
|
|
1102
1102
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1103
1103
|
*/
|
|
1104
|
-
const
|
|
1104
|
+
const Ze = { attribute: !0, type: String, converter: G, reflect: !1, hasChanged: yt }, qe = (s = Ze, t, e) => {
|
|
1105
1105
|
const { kind: i, metadata: r } = e;
|
|
1106
1106
|
let n = globalThis.litPropertyMetadata.get(r);
|
|
1107
1107
|
if (n === void 0 && globalThis.litPropertyMetadata.set(r, n = /* @__PURE__ */ new Map()), n.set(e.name, s), i === "accessor") {
|
|
@@ -1123,7 +1123,7 @@ const We = { attribute: !0, type: String, converter: K, reflect: !1, hasChanged:
|
|
|
1123
1123
|
throw Error("Unsupported decorator location: " + i);
|
|
1124
1124
|
};
|
|
1125
1125
|
function g(s) {
|
|
1126
|
-
return (t, e) => typeof e == "object" ?
|
|
1126
|
+
return (t, e) => typeof e == "object" ? qe(s, t, e) : ((i, r, n) => {
|
|
1127
1127
|
const o = r.hasOwnProperty(n);
|
|
1128
1128
|
return r.constructor.createProperty(n, o ? { ...i, wrapped: !0 } : i), o ? Object.getOwnPropertyDescriptor(r, n) : void 0;
|
|
1129
1129
|
})(s, t, e);
|
|
@@ -1133,13 +1133,13 @@ function g(s) {
|
|
|
1133
1133
|
* Copyright 2017 Google LLC
|
|
1134
1134
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1135
1135
|
*/
|
|
1136
|
-
function
|
|
1136
|
+
function k(s) {
|
|
1137
1137
|
return g({ ...s, state: !0, attribute: !1 });
|
|
1138
1138
|
}
|
|
1139
|
-
var
|
|
1140
|
-
for (var r = i > 1 ? void 0 : i ?
|
|
1139
|
+
var Ke = Object.defineProperty, Ge = Object.getOwnPropertyDescriptor, Xe = (s, t, e, i) => {
|
|
1140
|
+
for (var r = i > 1 ? void 0 : i ? Ge(t, e) : t, n = s.length - 1, o; n >= 0; n--)
|
|
1141
1141
|
(o = s[n]) && (r = (i ? o(t, e, r) : o(r)) || r);
|
|
1142
|
-
return i && r &&
|
|
1142
|
+
return i && r && Ke(t, e, r), r;
|
|
1143
1143
|
};
|
|
1144
1144
|
class bt extends m {
|
|
1145
1145
|
constructor() {
|
|
@@ -1150,11 +1150,11 @@ class bt extends m {
|
|
|
1150
1150
|
return (e = this.shadowRoot) == null || e.appendChild(t), t;
|
|
1151
1151
|
}
|
|
1152
1152
|
render() {
|
|
1153
|
-
return this.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right"),
|
|
1153
|
+
return this.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right"), d;
|
|
1154
1154
|
}
|
|
1155
1155
|
}
|
|
1156
1156
|
bt.styles = [
|
|
1157
|
-
|
|
1157
|
+
P`
|
|
1158
1158
|
:host {
|
|
1159
1159
|
position: fixed;
|
|
1160
1160
|
display: flex;
|
|
@@ -1172,7 +1172,7 @@ bt.styles = [
|
|
|
1172
1172
|
}
|
|
1173
1173
|
`
|
|
1174
1174
|
];
|
|
1175
|
-
|
|
1175
|
+
Xe([
|
|
1176
1176
|
g({ attribute: !0 })
|
|
1177
1177
|
], bt.prototype, "anchor", 2);
|
|
1178
1178
|
/**
|
|
@@ -1181,7 +1181,7 @@ Ge([
|
|
|
1181
1181
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1182
1182
|
*/
|
|
1183
1183
|
const $t = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, _t = (s) => (...t) => ({ _$litDirective$: s, values: t });
|
|
1184
|
-
let
|
|
1184
|
+
let ae = class {
|
|
1185
1185
|
constructor(t) {
|
|
1186
1186
|
}
|
|
1187
1187
|
get _$AU() {
|
|
@@ -1202,68 +1202,68 @@ let oe = class {
|
|
|
1202
1202
|
* Copyright 2020 Google LLC
|
|
1203
1203
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1204
1204
|
*/
|
|
1205
|
-
const
|
|
1205
|
+
const Je = (s) => s.strings === void 0;
|
|
1206
1206
|
/**
|
|
1207
1207
|
* @license
|
|
1208
1208
|
* Copyright 2017 Google LLC
|
|
1209
1209
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1210
1210
|
*/
|
|
1211
|
-
const
|
|
1211
|
+
const R = (s, t) => {
|
|
1212
1212
|
var i;
|
|
1213
1213
|
const e = s._$AN;
|
|
1214
1214
|
if (e === void 0)
|
|
1215
1215
|
return !1;
|
|
1216
1216
|
for (const r of e)
|
|
1217
|
-
(i = r._$AO) == null || i.call(r, t, !1),
|
|
1217
|
+
(i = r._$AO) == null || i.call(r, t, !1), R(r, t);
|
|
1218
1218
|
return !0;
|
|
1219
|
-
},
|
|
1219
|
+
}, J = (s) => {
|
|
1220
1220
|
let t, e;
|
|
1221
1221
|
do {
|
|
1222
1222
|
if ((t = s._$AM) === void 0)
|
|
1223
1223
|
break;
|
|
1224
1224
|
e = t._$AN, e.delete(s), s = t;
|
|
1225
1225
|
} while ((e == null ? void 0 : e.size) === 0);
|
|
1226
|
-
},
|
|
1226
|
+
}, le = (s) => {
|
|
1227
1227
|
for (let t; t = s._$AM; s = t) {
|
|
1228
1228
|
let e = t._$AN;
|
|
1229
1229
|
if (e === void 0)
|
|
1230
1230
|
t._$AN = e = /* @__PURE__ */ new Set();
|
|
1231
1231
|
else if (e.has(s))
|
|
1232
1232
|
break;
|
|
1233
|
-
e.add(s),
|
|
1233
|
+
e.add(s), ei(t);
|
|
1234
1234
|
}
|
|
1235
1235
|
};
|
|
1236
|
-
function
|
|
1237
|
-
this._$AN !== void 0 ? (
|
|
1236
|
+
function Qe(s) {
|
|
1237
|
+
this._$AN !== void 0 ? (J(this), this._$AM = s, le(this)) : this._$AM = s;
|
|
1238
1238
|
}
|
|
1239
|
-
function
|
|
1239
|
+
function ti(s, t = !1, e = 0) {
|
|
1240
1240
|
const i = this._$AH, r = this._$AN;
|
|
1241
1241
|
if (r !== void 0 && r.size !== 0)
|
|
1242
1242
|
if (t)
|
|
1243
1243
|
if (Array.isArray(i))
|
|
1244
1244
|
for (let n = e; n < i.length; n++)
|
|
1245
|
-
|
|
1245
|
+
R(i[n], !1), J(i[n]);
|
|
1246
1246
|
else
|
|
1247
|
-
i != null && (
|
|
1247
|
+
i != null && (R(i, !1), J(i));
|
|
1248
1248
|
else
|
|
1249
|
-
|
|
1249
|
+
R(this, s);
|
|
1250
1250
|
}
|
|
1251
|
-
const
|
|
1252
|
-
s.type == $t.CHILD && (s._$AP ?? (s._$AP =
|
|
1251
|
+
const ei = (s) => {
|
|
1252
|
+
s.type == $t.CHILD && (s._$AP ?? (s._$AP = ti), s._$AQ ?? (s._$AQ = Qe));
|
|
1253
1253
|
};
|
|
1254
|
-
class
|
|
1254
|
+
class ce extends ae {
|
|
1255
1255
|
constructor() {
|
|
1256
1256
|
super(...arguments), this._$AN = void 0;
|
|
1257
1257
|
}
|
|
1258
1258
|
_$AT(t, e, i) {
|
|
1259
|
-
super._$AT(t, e, i),
|
|
1259
|
+
super._$AT(t, e, i), le(this), this.isConnected = t._$AU;
|
|
1260
1260
|
}
|
|
1261
1261
|
_$AO(t, e = !0) {
|
|
1262
1262
|
var i, r;
|
|
1263
|
-
t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (r = this.disconnected) == null || r.call(this)), e && (
|
|
1263
|
+
t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (r = this.disconnected) == null || r.call(this)), e && (R(this, t), J(this));
|
|
1264
1264
|
}
|
|
1265
1265
|
setValue(t) {
|
|
1266
|
-
if (
|
|
1266
|
+
if (Je(this._$Ct))
|
|
1267
1267
|
this._$Ct._$AI(t, this);
|
|
1268
1268
|
else {
|
|
1269
1269
|
const e = [...this._$Ct._$AH];
|
|
@@ -1275,9 +1275,9 @@ class le extends oe {
|
|
|
1275
1275
|
reconnected() {
|
|
1276
1276
|
}
|
|
1277
1277
|
}
|
|
1278
|
-
const
|
|
1279
|
-
let
|
|
1280
|
-
const at = /* @__PURE__ */ new Map(),
|
|
1278
|
+
const ii = /* @__PURE__ */ new WeakMap();
|
|
1279
|
+
let Vt = 0;
|
|
1280
|
+
const at = /* @__PURE__ */ new Map(), Dt = /* @__PURE__ */ new WeakSet(), Bt = () => new Promise((s) => requestAnimationFrame(s)), si = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], zt = (s, t) => {
|
|
1281
1281
|
const e = s - t;
|
|
1282
1282
|
return e === 0 ? void 0 : e;
|
|
1283
1283
|
}, Yt = (s, t) => {
|
|
@@ -1299,8 +1299,8 @@ const at = /* @__PURE__ */ new Map(), Bt = /* @__PURE__ */ new WeakSet(), Vt = (
|
|
|
1299
1299
|
t === 0 && (t = 1, e = { height: "1px" });
|
|
1300
1300
|
const i = Yt(s, t);
|
|
1301
1301
|
return { value: i, overrideFrom: e, transform: i == null || isNaN(i) ? void 0 : `scaleY(${i})` };
|
|
1302
|
-
} },
|
|
1303
|
-
class
|
|
1302
|
+
} }, ri = { duration: 333, easing: "ease-in-out" }, ni = ["left", "top", "width", "height", "opacity", "color", "background"], Ft = /* @__PURE__ */ new WeakMap();
|
|
1303
|
+
class oi extends ce {
|
|
1304
1304
|
constructor(t) {
|
|
1305
1305
|
if (super(t), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, t.type === $t.CHILD)
|
|
1306
1306
|
throw Error("The `animate` directive must be used in attribute position.");
|
|
@@ -1317,10 +1317,10 @@ class ni extends le {
|
|
|
1317
1317
|
(t = this.l) == null || t.call(this), this.l = void 0;
|
|
1318
1318
|
}
|
|
1319
1319
|
render(t) {
|
|
1320
|
-
return
|
|
1320
|
+
return d;
|
|
1321
1321
|
}
|
|
1322
1322
|
getController() {
|
|
1323
|
-
return
|
|
1323
|
+
return ii.get(this.u);
|
|
1324
1324
|
}
|
|
1325
1325
|
isDisabled() {
|
|
1326
1326
|
var t;
|
|
@@ -1334,7 +1334,7 @@ class ni extends le {
|
|
|
1334
1334
|
p(t) {
|
|
1335
1335
|
t = t ?? {};
|
|
1336
1336
|
const e = this.getController();
|
|
1337
|
-
e !== void 0 && ((t = { ...e.defaultOptions, ...t }).keyframeOptions = { ...e.defaultOptions.keyframeOptions, ...t.keyframeOptions }), t.properties ?? (t.properties =
|
|
1337
|
+
e !== void 0 && ((t = { ...e.defaultOptions, ...t }).keyframeOptions = { ...e.defaultOptions.keyframeOptions, ...t.keyframeOptions }), t.properties ?? (t.properties = ni), this.options = t;
|
|
1338
1338
|
}
|
|
1339
1339
|
m() {
|
|
1340
1340
|
const t = {}, e = this.element.getBoundingClientRect(), i = getComputedStyle(this.element);
|
|
@@ -1361,7 +1361,7 @@ class ni extends le {
|
|
|
1361
1361
|
if (!this.h || !this.element.isConnected || this.options.skipInitial && !this.isHostRendered)
|
|
1362
1362
|
return;
|
|
1363
1363
|
let t;
|
|
1364
|
-
this.prepare(), await
|
|
1364
|
+
this.prepare(), await Bt;
|
|
1365
1365
|
const e = this.O(), i = this.j(this.options.keyframeOptions, e), r = this.m();
|
|
1366
1366
|
if (this.A !== void 0) {
|
|
1367
1367
|
const { from: n, to: o } = this.N(this.A, r, e);
|
|
@@ -1371,7 +1371,7 @@ class ni extends le {
|
|
|
1371
1371
|
if (n) {
|
|
1372
1372
|
at.delete(this.options.inId);
|
|
1373
1373
|
const { from: o, to: a } = this.N(n, r, e);
|
|
1374
|
-
t = this.calculateKeyframes(o, a), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t,
|
|
1374
|
+
t = this.calculateKeyframes(o, a), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t, Vt++, t.forEach((l) => l.zIndex = Vt);
|
|
1375
1375
|
} else
|
|
1376
1376
|
this.options.in && (t = [...this.options.in, {}]);
|
|
1377
1377
|
}
|
|
@@ -1390,7 +1390,7 @@ class ni extends le {
|
|
|
1390
1390
|
var e;
|
|
1391
1391
|
if (!this.h || (this.options.id !== void 0 && at.set(this.options.id, this.A), this.options.out === void 0))
|
|
1392
1392
|
return;
|
|
1393
|
-
if (this.prepare(), await
|
|
1393
|
+
if (this.prepare(), await Bt(), (e = this.i) == null ? void 0 : e.isConnected) {
|
|
1394
1394
|
const i = this.o && this.o.parentNode === this.i ? this.o : null;
|
|
1395
1395
|
if (this.i.insertBefore(this.element, i), this.options.stabilizeOut) {
|
|
1396
1396
|
const r = this.m();
|
|
@@ -1422,13 +1422,13 @@ class ni extends le {
|
|
|
1422
1422
|
return t;
|
|
1423
1423
|
}
|
|
1424
1424
|
get isHostRendered() {
|
|
1425
|
-
const t =
|
|
1425
|
+
const t = Dt.has(this.u);
|
|
1426
1426
|
return t || this.u.updateComplete.then(() => {
|
|
1427
|
-
|
|
1427
|
+
Dt.add(this.u);
|
|
1428
1428
|
}), t;
|
|
1429
1429
|
}
|
|
1430
1430
|
j(t, e = this.O()) {
|
|
1431
|
-
const i = { ...
|
|
1431
|
+
const i = { ...ri };
|
|
1432
1432
|
return e.forEach((r) => Object.assign(i, r.options.keyframeOptions)), Object.assign(i, t), i;
|
|
1433
1433
|
}
|
|
1434
1434
|
N(t, e, i) {
|
|
@@ -1449,8 +1449,8 @@ class ni extends le {
|
|
|
1449
1449
|
const p = lt[l];
|
|
1450
1450
|
if (c === void 0 || h === void 0)
|
|
1451
1451
|
continue;
|
|
1452
|
-
const
|
|
1453
|
-
|
|
1452
|
+
const u = p(c, h);
|
|
1453
|
+
u.transform !== void 0 && (a[l] = u.value, o = !0, r.transform = `${r.transform ?? ""} ${u.transform}`, u.overrideFrom !== void 0 && Object.assign(r, u.overrideFrom));
|
|
1454
1454
|
} else
|
|
1455
1455
|
c !== h && c !== void 0 && h !== void 0 && (o = !0, r[l] = c, n[l] = h);
|
|
1456
1456
|
}
|
|
@@ -1479,13 +1479,13 @@ class ni extends le {
|
|
|
1479
1479
|
this.shouldLog && !this.isDisabled() && console.log(t, this.options.id, e);
|
|
1480
1480
|
}
|
|
1481
1481
|
}
|
|
1482
|
-
const
|
|
1482
|
+
const ai = _t(oi), li = { name: "question", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 4C16.536 4 4 16.536 4 32C4 47.464 16.536 60 32 60C47.464 60 60 47.464 60 32C59.9827 16.5432 47.4568 4.01731 32 4ZM32 55.6923C18.9151 55.6923 8.30769 45.0849 8.30769 32C8.30769 18.9151 18.9151 8.30769 32 8.30769C45.0849 8.30769 55.6923 18.9151 55.6923 32C55.6775 45.0788 45.0788 55.6775 32 55.6923Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M31.9423 37.5723L36.311 32.9068L36.7354 32.4448C39.7555 29.1161 40.7645 27.0647 40.7645 24.5087C40.7645 23.1091 40.4251 21.7942 39.7041 20.6491C38.3044 18.3587 35.6323 16.9166 32.2816 16.9166C28.7565 16.9166 25.3125 18.7414 23.2581 21.6772L23.1201 21.8791C22.8232 22.3032 22.696 22.6849 22.696 22.9818C22.696 23.7029 23.926 25.9932 25.2833 25.9932C25.5378 25.9932 25.7922 25.9084 26.0467 25.7388C26.2588 25.5691 26.5981 25.2298 27.0647 24.7208C28.8885 22.6849 30.1185 21.9215 31.7726 21.9215C33.6813 21.9215 35.081 23.1939 35.081 24.8905C35.081 26.375 34.2751 27.7746 32.3664 29.8529L28.2523 34.2216C27.9554 34.6033 27.7857 34.9426 27.7857 35.282C27.7857 35.6213 27.9978 36.1726 28.4219 36.8937C29.0581 37.8692 29.7368 38.3782 30.4578 38.3782C30.9244 38.3782 31.3909 38.1237 31.9423 37.5723ZM30.882 47.4972C29.2278 47.4972 27.6585 44.7403 27.6585 43.6799C27.6585 42.1954 30.0761 40.6261 32.4089 40.6261C33.6389 40.6261 34.2751 41.1775 34.2751 42.3227C34.2751 44.0616 33.4692 45.843 32.4513 46.7761C31.9423 47.2427 31.4334 47.4972 30.882 47.4972Z"/></svg>' };
|
|
1483
1483
|
/**
|
|
1484
1484
|
* @license
|
|
1485
1485
|
* Copyright 2018 Google LLC
|
|
1486
1486
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1487
1487
|
*/
|
|
1488
|
-
const
|
|
1488
|
+
const Wt = _t(class extends ae {
|
|
1489
1489
|
constructor(s) {
|
|
1490
1490
|
var t;
|
|
1491
1491
|
if (super(s), s.type !== $t.ATTRIBUTE || s.name !== "class" || ((t = s.strings) == null ? void 0 : t.length) > 2)
|
|
@@ -1509,21 +1509,21 @@ const li = _t(class extends oe {
|
|
|
1509
1509
|
const o = !!t[n];
|
|
1510
1510
|
o === this.st.has(n) || (r = this.nt) != null && r.has(n) || (o ? (e.add(n), this.st.add(n)) : (e.remove(n), this.st.delete(n)));
|
|
1511
1511
|
}
|
|
1512
|
-
return
|
|
1512
|
+
return S;
|
|
1513
1513
|
}
|
|
1514
|
-
}),
|
|
1514
|
+
}), F = (s, t, e) => {
|
|
1515
1515
|
s && e.style.setProperty(t, s);
|
|
1516
|
-
},
|
|
1516
|
+
}, he = (s, t) => {
|
|
1517
1517
|
var e, i, r, n;
|
|
1518
|
-
|
|
1518
|
+
F((e = s.colors) == null ? void 0 : e.primaryBackground, "--primary-background", t), F(
|
|
1519
1519
|
(i = s.colors) == null ? void 0 : i.textOnPrimaryBackground,
|
|
1520
1520
|
"--text-on-primary-background",
|
|
1521
1521
|
t
|
|
1522
|
-
),
|
|
1522
|
+
), F(
|
|
1523
1523
|
(r = s.colors) == null ? void 0 : r.secondaryBackground,
|
|
1524
1524
|
"--secondary-background",
|
|
1525
1525
|
t
|
|
1526
|
-
),
|
|
1526
|
+
), F(
|
|
1527
1527
|
(n = s.colors) == null ? void 0 : n.textOnSecondaryBackground,
|
|
1528
1528
|
"--text-on-secondary-background",
|
|
1529
1529
|
t
|
|
@@ -1534,17 +1534,17 @@ const li = _t(class extends oe {
|
|
|
1534
1534
|
* Copyright 2020 Google LLC
|
|
1535
1535
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1536
1536
|
*/
|
|
1537
|
-
const
|
|
1537
|
+
const pe = () => new ci();
|
|
1538
1538
|
class ci {
|
|
1539
1539
|
}
|
|
1540
|
-
const ct = /* @__PURE__ */ new WeakMap(),
|
|
1540
|
+
const ct = /* @__PURE__ */ new WeakMap(), de = _t(class extends ce {
|
|
1541
1541
|
render(s) {
|
|
1542
|
-
return
|
|
1542
|
+
return d;
|
|
1543
1543
|
}
|
|
1544
1544
|
update(s, [t]) {
|
|
1545
1545
|
var i;
|
|
1546
1546
|
const e = t !== this.Y;
|
|
1547
|
-
return e && this.Y !== void 0 && this.rt(void 0), (e || this.lt !== this.ct) && (this.Y = t, this.ht = (i = s.options) == null ? void 0 : i.host, this.rt(this.ct = s.element)),
|
|
1547
|
+
return e && this.Y !== void 0 && this.rt(void 0), (e || this.lt !== this.ct) && (this.Y = t, this.ht = (i = s.options) == null ? void 0 : i.host, this.rt(this.ct = s.element)), d;
|
|
1548
1548
|
}
|
|
1549
1549
|
rt(s) {
|
|
1550
1550
|
if (typeof this.Y == "function") {
|
|
@@ -1565,14 +1565,14 @@ const ct = /* @__PURE__ */ new WeakMap(), pe = _t(class extends le {
|
|
|
1565
1565
|
this.rt(this.ct);
|
|
1566
1566
|
}
|
|
1567
1567
|
});
|
|
1568
|
-
var hi = Object.defineProperty, pi = Object.getOwnPropertyDescriptor,
|
|
1568
|
+
var hi = Object.defineProperty, pi = Object.getOwnPropertyDescriptor, B = (s, t, e, i) => {
|
|
1569
1569
|
for (var r = i > 1 ? void 0 : i ? pi(t, e) : t, n = s.length - 1, o; n >= 0; n--)
|
|
1570
1570
|
(o = s[n]) && (r = (i ? o(t, e, r) : o(r)) || r);
|
|
1571
1571
|
return i && r && hi(t, e, r), r;
|
|
1572
1572
|
};
|
|
1573
|
-
class
|
|
1573
|
+
class _ extends m {
|
|
1574
1574
|
constructor() {
|
|
1575
|
-
super(...arguments), this.active = !1, this.loaded = !1, this.containerRef =
|
|
1575
|
+
super(...arguments), this.active = !1, this.triggerVisible = !0, this.loaded = !1, this.containerRef = pe(), this.widgetActive$ = new Se(!1), this.componentIsDestroyed$ = new gt();
|
|
1576
1576
|
}
|
|
1577
1577
|
async connectedCallback() {
|
|
1578
1578
|
super.connectedCallback(), this.icon = await this._renderSymbol(), this.loaded = !0, this._applyBranding();
|
|
@@ -1592,52 +1592,64 @@ class P extends m {
|
|
|
1592
1592
|
}
|
|
1593
1593
|
_applyBranding() {
|
|
1594
1594
|
var t;
|
|
1595
|
-
(t = this.application) != null && t.settings &&
|
|
1595
|
+
(t = this.application) != null && t.settings && he(this.application.settings.branding, this);
|
|
1596
1596
|
}
|
|
1597
1597
|
async _renderSymbol() {
|
|
1598
1598
|
var a, l, c;
|
|
1599
1599
|
const t = (a = this.application) == null ? void 0 : a.branding(), e = (l = t == null ? void 0 : t.graphics) == null ? void 0 : l.trigger;
|
|
1600
1600
|
if (e)
|
|
1601
|
-
return
|
|
1601
|
+
return A` <img src=${e} class="trigger-icon" alt="" /> `;
|
|
1602
1602
|
const i = (c = this.application) == null ? void 0 : c.triggerIcon;
|
|
1603
1603
|
if (!i)
|
|
1604
|
-
return
|
|
1605
|
-
const r = async (h) =>
|
|
1604
|
+
return d;
|
|
1605
|
+
const r = async (h) => li, { type: n, content: o } = i;
|
|
1606
1606
|
switch (n) {
|
|
1607
1607
|
case "Telia": {
|
|
1608
1608
|
const h = await r();
|
|
1609
|
-
return h ?
|
|
1609
|
+
return h ? A`<telia-icon
|
|
1610
1610
|
class="trigger-icon"
|
|
1611
1611
|
svg=${h.svg}
|
|
1612
1612
|
size="lg"
|
|
1613
|
-
></telia-icon>` :
|
|
1613
|
+
></telia-icon>` : d;
|
|
1614
1614
|
}
|
|
1615
1615
|
default:
|
|
1616
|
-
return
|
|
1616
|
+
return d;
|
|
1617
1617
|
}
|
|
1618
1618
|
}
|
|
1619
|
+
hideTrigger() {
|
|
1620
|
+
this.triggerVisible = !1;
|
|
1621
|
+
}
|
|
1622
|
+
showTrigger() {
|
|
1623
|
+
this.triggerVisible = !0;
|
|
1624
|
+
}
|
|
1619
1625
|
render() {
|
|
1620
1626
|
var t, e, i, r;
|
|
1621
|
-
return
|
|
1622
|
-
|
|
1627
|
+
return A`<div
|
|
1628
|
+
class=${Wt({
|
|
1629
|
+
"trigger-container": !0,
|
|
1630
|
+
hidden: !this.triggerVisible
|
|
1631
|
+
})}
|
|
1632
|
+
${de(this.containerRef)}
|
|
1633
|
+
>
|
|
1634
|
+
${!this.active && ((r = (i = (e = (t = this.application) == null ? void 0 : t.settings) == null ? void 0 : e.branding) == null ? void 0 : i.other) != null && r.showButtonLabel) ? A`
|
|
1623
1635
|
<button
|
|
1624
1636
|
label="${this.application.settings.branding.other.buttonLabelText ?? "Widget trigger"}"
|
|
1625
1637
|
class="trigger-label"
|
|
1626
1638
|
@click=${this.toggleActive}
|
|
1627
|
-
${
|
|
1639
|
+
${ai({
|
|
1628
1640
|
keyframeOptions: {},
|
|
1629
|
-
in:
|
|
1641
|
+
in: si,
|
|
1630
1642
|
stabilizeOut: !0,
|
|
1631
1643
|
skipInitial: !1
|
|
1632
1644
|
})}
|
|
1633
1645
|
>
|
|
1634
1646
|
${this.application.settings.branding.other.buttonLabelText}
|
|
1635
1647
|
</button>
|
|
1636
|
-
` :
|
|
1648
|
+
` : d}
|
|
1637
1649
|
|
|
1638
1650
|
<button
|
|
1639
1651
|
label="Widget trigger"
|
|
1640
|
-
class=${
|
|
1652
|
+
class=${Wt({
|
|
1641
1653
|
trigger: !0,
|
|
1642
1654
|
active: this.active,
|
|
1643
1655
|
rendered: this.loaded
|
|
@@ -1676,8 +1688,8 @@ class P extends m {
|
|
|
1676
1688
|
</div>`;
|
|
1677
1689
|
}
|
|
1678
1690
|
}
|
|
1679
|
-
|
|
1680
|
-
|
|
1691
|
+
_.styles = [
|
|
1692
|
+
P`
|
|
1681
1693
|
:host {
|
|
1682
1694
|
--voca-rem-multiplier: 0.625;
|
|
1683
1695
|
--trigger-label-bg: #f5e0ff;
|
|
@@ -1693,6 +1705,9 @@ P.styles = [
|
|
|
1693
1705
|
align-items: center;
|
|
1694
1706
|
gap: 1rem;
|
|
1695
1707
|
}
|
|
1708
|
+
.trigger-container.hidden {
|
|
1709
|
+
display: none;
|
|
1710
|
+
}
|
|
1696
1711
|
|
|
1697
1712
|
.trigger {
|
|
1698
1713
|
transform: scale(0);
|
|
@@ -1785,22 +1800,25 @@ P.styles = [
|
|
|
1785
1800
|
}
|
|
1786
1801
|
`
|
|
1787
1802
|
];
|
|
1788
|
-
|
|
1803
|
+
B([
|
|
1789
1804
|
g({ attribute: !1 })
|
|
1790
|
-
],
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
],
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
],
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
],
|
|
1800
|
-
|
|
1801
|
-
|
|
1805
|
+
], _.prototype, "application", 2);
|
|
1806
|
+
B([
|
|
1807
|
+
k()
|
|
1808
|
+
], _.prototype, "active", 2);
|
|
1809
|
+
B([
|
|
1810
|
+
k()
|
|
1811
|
+
], _.prototype, "triggerVisible", 2);
|
|
1812
|
+
B([
|
|
1813
|
+
k()
|
|
1814
|
+
], _.prototype, "loaded", 2);
|
|
1815
|
+
B([
|
|
1816
|
+
k()
|
|
1817
|
+
], _.prototype, "icon", 2);
|
|
1818
|
+
var di = Object.defineProperty, ui = Object.getOwnPropertyDescriptor, C = (s, t, e, i) => {
|
|
1819
|
+
for (var r = i > 1 ? void 0 : i ? ui(t, e) : t, n = s.length - 1, o; n >= 0; n--)
|
|
1802
1820
|
(o = s[n]) && (r = (i ? o(t, e, r) : o(r)) || r);
|
|
1803
|
-
return i && r &&
|
|
1821
|
+
return i && r && di(t, e, r), r;
|
|
1804
1822
|
};
|
|
1805
1823
|
const ue = (s) => {
|
|
1806
1824
|
class t extends s {
|
|
@@ -1828,7 +1846,7 @@ const ue = (s) => {
|
|
|
1828
1846
|
}
|
|
1829
1847
|
return t.styles = [
|
|
1830
1848
|
// (superClass as unknown as typeof LitElement).styles ?? [],
|
|
1831
|
-
|
|
1849
|
+
P`
|
|
1832
1850
|
:host {
|
|
1833
1851
|
font-family: var(--font-family);
|
|
1834
1852
|
grid-column: span var(--width);
|
|
@@ -1841,29 +1859,29 @@ const ue = (s) => {
|
|
|
1841
1859
|
box-sizing: border-box;
|
|
1842
1860
|
}
|
|
1843
1861
|
`
|
|
1844
|
-
],
|
|
1862
|
+
], C([
|
|
1845
1863
|
g()
|
|
1846
|
-
], t.prototype, "properties", 2),
|
|
1864
|
+
], t.prototype, "properties", 2), C([
|
|
1847
1865
|
g()
|
|
1848
|
-
], t.prototype, "context", 2),
|
|
1866
|
+
], t.prototype, "context", 2), C([
|
|
1849
1867
|
g()
|
|
1850
|
-
], t.prototype, "layout", 2),
|
|
1868
|
+
], t.prototype, "layout", 2), C([
|
|
1851
1869
|
g()
|
|
1852
|
-
], t.prototype, "name", 2),
|
|
1870
|
+
], t.prototype, "name", 2), C([
|
|
1853
1871
|
g()
|
|
1854
|
-
], t.prototype, "type", 2),
|
|
1872
|
+
], t.prototype, "type", 2), C([
|
|
1855
1873
|
g({ attribute: !1 })
|
|
1856
|
-
], t.prototype, "application", 2),
|
|
1874
|
+
], t.prototype, "application", 2), C([
|
|
1857
1875
|
g({ attribute: !1 })
|
|
1858
1876
|
], t.prototype, "parent", 2), t;
|
|
1859
1877
|
};
|
|
1860
|
-
class
|
|
1878
|
+
class fe extends ue(m) {
|
|
1861
1879
|
render() {
|
|
1862
|
-
return
|
|
1880
|
+
return A`Non resolved component`;
|
|
1863
1881
|
}
|
|
1864
1882
|
}
|
|
1865
|
-
|
|
1866
|
-
|
|
1883
|
+
fe.styles = [
|
|
1884
|
+
P`
|
|
1867
1885
|
:host {
|
|
1868
1886
|
display: block;
|
|
1869
1887
|
}
|
|
@@ -1942,7 +1960,7 @@ let mi = class extends Event {
|
|
|
1942
1960
|
super("context-provider", { bubbles: !0, composed: !0 }), this.context = t;
|
|
1943
1961
|
}
|
|
1944
1962
|
};
|
|
1945
|
-
class
|
|
1963
|
+
class Zt extends vi {
|
|
1946
1964
|
constructor(t, e, i) {
|
|
1947
1965
|
var r, n;
|
|
1948
1966
|
super(e.context !== void 0 ? e.initialValue : i), this.onContextRequest = (o) => {
|
|
@@ -1975,7 +1993,7 @@ function yi({ context: s }) {
|
|
|
1975
1993
|
const i = /* @__PURE__ */ new WeakMap();
|
|
1976
1994
|
if (typeof e == "object")
|
|
1977
1995
|
return e.addInitializer(function() {
|
|
1978
|
-
i.set(this, new
|
|
1996
|
+
i.set(this, new Zt(this, { context: s }));
|
|
1979
1997
|
}), { get() {
|
|
1980
1998
|
return t.get.call(this);
|
|
1981
1999
|
}, set(r) {
|
|
@@ -1987,7 +2005,7 @@ function yi({ context: s }) {
|
|
|
1987
2005
|
} };
|
|
1988
2006
|
{
|
|
1989
2007
|
t.constructor.addInitializer((o) => {
|
|
1990
|
-
i.set(o, new
|
|
2008
|
+
i.set(o, new Zt(o, { context: s }));
|
|
1991
2009
|
});
|
|
1992
2010
|
const r = Object.getOwnPropertyDescriptor(t, e);
|
|
1993
2011
|
let n;
|
|
@@ -2016,7 +2034,7 @@ var bi = Object.defineProperty, $i = Object.getOwnPropertyDescriptor, _i = (s, t
|
|
|
2016
2034
|
const wi = "application";
|
|
2017
2035
|
class Ct extends m {
|
|
2018
2036
|
constructor() {
|
|
2019
|
-
super(...arguments), this.nodes = [], this.wrapperRef =
|
|
2037
|
+
super(...arguments), this.nodes = [], this.wrapperRef = pe();
|
|
2020
2038
|
}
|
|
2021
2039
|
addChild(t) {
|
|
2022
2040
|
t.parent = this, this.nodes.push(t);
|
|
@@ -2025,7 +2043,7 @@ class Ct extends m {
|
|
|
2025
2043
|
if (!this.wrapperRef.value)
|
|
2026
2044
|
return;
|
|
2027
2045
|
const t = this.application.settings;
|
|
2028
|
-
t != null && t.branding &&
|
|
2046
|
+
t != null && t.branding && he(t.branding, this.wrapperRef.value);
|
|
2029
2047
|
}
|
|
2030
2048
|
applyStyles() {
|
|
2031
2049
|
if (!this.wrapperRef.value)
|
|
@@ -2039,12 +2057,12 @@ class Ct extends m {
|
|
|
2039
2057
|
this.applyBranding(), this.applyStyles();
|
|
2040
2058
|
}
|
|
2041
2059
|
render() {
|
|
2042
|
-
return this.application.renderStrategy === wt.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")),
|
|
2060
|
+
return this.application.renderStrategy === wt.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")), A`<div class="widget-container" ${de(this.wrapperRef)}>
|
|
2043
2061
|
${fi(this.nodes, (t) => t)}
|
|
2044
2062
|
</div>`;
|
|
2045
2063
|
}
|
|
2046
2064
|
}
|
|
2047
|
-
Ct.styles =
|
|
2065
|
+
Ct.styles = P`
|
|
2048
2066
|
:host {
|
|
2049
2067
|
--font-family: TeliaSans, Helvetica, Arial, Lucida Grande, sans-serif;
|
|
2050
2068
|
--spacing-xs: 0.2rem;
|
|
@@ -2164,7 +2182,7 @@ var Ci = Object.defineProperty, Ai = Object.getOwnPropertyDescriptor, At = (s, t
|
|
|
2164
2182
|
(o = s[n]) && (r = (i ? o(t, e, r) : o(r)) || r);
|
|
2165
2183
|
return i && r && Ci(t, e, r), r;
|
|
2166
2184
|
};
|
|
2167
|
-
class
|
|
2185
|
+
class z extends m {
|
|
2168
2186
|
constructor() {
|
|
2169
2187
|
super(), this.status = "deactivated", this.addEventListener("environment-created", this.onEnvironmentCreated);
|
|
2170
2188
|
}
|
|
@@ -2188,16 +2206,16 @@ class V extends m {
|
|
|
2188
2206
|
}
|
|
2189
2207
|
render() {
|
|
2190
2208
|
if (!this.widget || this.status !== "activated")
|
|
2191
|
-
return
|
|
2209
|
+
return d;
|
|
2192
2210
|
if (this.widget.renderStrategy === wt.Trigger) {
|
|
2193
|
-
const t = new
|
|
2211
|
+
const t = new _();
|
|
2194
2212
|
return t.application = this.widget, t;
|
|
2195
2213
|
}
|
|
2196
2214
|
return this.widget.render();
|
|
2197
2215
|
}
|
|
2198
2216
|
}
|
|
2199
|
-
|
|
2200
|
-
|
|
2217
|
+
z.styles = [
|
|
2218
|
+
P`
|
|
2201
2219
|
:host {
|
|
2202
2220
|
display: block;
|
|
2203
2221
|
}
|
|
@@ -2205,19 +2223,19 @@ V.styles = [
|
|
|
2205
2223
|
];
|
|
2206
2224
|
At([
|
|
2207
2225
|
g({ attribute: !0 })
|
|
2208
|
-
],
|
|
2226
|
+
], z.prototype, "name", 2);
|
|
2209
2227
|
At([
|
|
2210
|
-
|
|
2211
|
-
],
|
|
2228
|
+
k()
|
|
2229
|
+
], z.prototype, "widget", 2);
|
|
2212
2230
|
At([
|
|
2213
|
-
|
|
2214
|
-
],
|
|
2231
|
+
k()
|
|
2232
|
+
], z.prototype, "status", 2);
|
|
2215
2233
|
customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", bt);
|
|
2216
|
-
customElements.get("ace-trigger") || customElements.define("ace-trigger",
|
|
2217
|
-
customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component",
|
|
2234
|
+
customElements.get("ace-trigger") || customElements.define("ace-trigger", _);
|
|
2235
|
+
customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", fe);
|
|
2218
2236
|
customElements.get("ace-wrapper") || customElements.define("ace-wrapper", Ct);
|
|
2219
|
-
customElements.get("ace-widget") || customElements.define("ace-widget",
|
|
2220
|
-
const xi =
|
|
2237
|
+
customElements.get("ace-widget") || customElements.define("ace-widget", z);
|
|
2238
|
+
const xi = Ie`
|
|
2221
2239
|
<g clip-path="url(#clip0_119_1665)">
|
|
2222
2240
|
<path d="M16.9321 27.4656C11.5983 29.6245 8.54568 28.9365 6.85856 27.5904L6.83398 27.5712C9.44534 30.1717 12.4221 32.0011 15.0324 32.0011C19.6033 32.0011 25.8614 26.4651 28.8232 17.8805C27.1542 20.9792 23.5727 24.7861 16.9321 27.4656Z" fill="#990AE3"/>
|
|
2223
2241
|
<path d="M20.9805 22.4843C25.1369 20.0779 28.8809 15.9968 30.0615 13.0869C30.397 10.6784 30.4654 10.3744 30.506 7.72479C30.5113 7.35786 30.4889 7.00586 30.4547 6.66879C30.2122 10.56 25.1743 15.4528 18.5092 18.6496C10.4689 22.5056 4.43734 23.5435 1.74585 20.6027C2.68077 22.4459 3.29407 23.3408 4.34545 24.7083C7.45044 27.4539 13.9852 26.5355 20.9805 22.4843Z" fill="#990AE3"/>
|
|
@@ -2235,11 +2253,11 @@ const xi = Ne`
|
|
|
2235
2253
|
<clipPath id="clip0_119_1665">
|
|
2236
2254
|
<rect width="30.5068" height="32.0011" fill="white"/>
|
|
2237
2255
|
</clipPath>
|
|
2238
|
-
</defs>`,
|
|
2239
|
-
class Ei extends
|
|
2256
|
+
</defs>`, ge = ue(m);
|
|
2257
|
+
class Ei extends ge {
|
|
2240
2258
|
render() {
|
|
2241
2259
|
var e;
|
|
2242
|
-
return (e = this.application.branding().other) != null && e.whiteLabel ?
|
|
2260
|
+
return (e = this.application.branding().other) != null && e.whiteLabel ? d : A` <div class="copyright">
|
|
2243
2261
|
<a
|
|
2244
2262
|
aria-label="Powered by Telia ACE"
|
|
2245
2263
|
href="https://ace-showcase.com"
|
|
@@ -2261,8 +2279,8 @@ class Ei extends fe {
|
|
|
2261
2279
|
}
|
|
2262
2280
|
}
|
|
2263
2281
|
Ei.styles = [
|
|
2264
|
-
|
|
2265
|
-
|
|
2282
|
+
ge.styles || [],
|
|
2283
|
+
P`
|
|
2266
2284
|
:host {
|
|
2267
2285
|
--copyright-text-color: var(--text-on-primary-background);
|
|
2268
2286
|
}
|