@telia-ace/widget-components-widget-header-flamingo 1.1.38 → 1.1.39
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.
- package/controllers/options-controller.d.ts +1 -0
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/package.json +4 -3
- package/types.d.ts +1 -0
- package/{widget-header-9c1b1dcc.mjs → widget-header-5913f77d.mjs} +756 -719
- package/widget-header-8270133b.js +473 -0
- package/widget-header-option.d.ts +6 -1
- package/widget-header-b52ee536.js +0 -473
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
var
|
|
2
|
-
return
|
|
1
|
+
var Bt = function(e, t) {
|
|
2
|
+
return Bt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
|
|
3
3
|
n.__proto__ = i;
|
|
4
4
|
} || function(n, i) {
|
|
5
5
|
for (var r in i)
|
|
6
6
|
Object.prototype.hasOwnProperty.call(i, r) && (n[r] = i[r]);
|
|
7
|
-
},
|
|
7
|
+
}, Bt(e, t);
|
|
8
8
|
};
|
|
9
|
-
function
|
|
9
|
+
function rt(e, 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
|
+
Bt(e, t);
|
|
13
13
|
function n() {
|
|
14
14
|
this.constructor = e;
|
|
15
15
|
}
|
|
16
16
|
e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function Kn(e, t, n, i) {
|
|
19
19
|
function r(s) {
|
|
20
20
|
return s instanceof n ? s : new n(function(o) {
|
|
21
21
|
o(s);
|
|
@@ -42,7 +42,7 @@ function Yn(e, t, n, i) {
|
|
|
42
42
|
c((i = i.apply(e, t || [])).next());
|
|
43
43
|
});
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function Ge(e, t) {
|
|
46
46
|
var n = { label: 0, sent: function() {
|
|
47
47
|
if (s[0] & 1)
|
|
48
48
|
throw s[1];
|
|
@@ -107,7 +107,7 @@ function ze(e, t) {
|
|
|
107
107
|
return { value: c[0] ? c[1] : void 0, done: !0 };
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function G(e) {
|
|
111
111
|
var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], i = 0;
|
|
112
112
|
if (n)
|
|
113
113
|
return n.call(e);
|
|
@@ -119,7 +119,7 @@ function W(e) {
|
|
|
119
119
|
};
|
|
120
120
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
121
121
|
}
|
|
122
|
-
function
|
|
122
|
+
function gt(e, t) {
|
|
123
123
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
124
124
|
if (!n)
|
|
125
125
|
return e;
|
|
@@ -139,16 +139,16 @@ function ft(e, t) {
|
|
|
139
139
|
}
|
|
140
140
|
return s;
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function $t(e, t, n) {
|
|
143
143
|
if (n || arguments.length === 2)
|
|
144
144
|
for (var i = 0, r = t.length, s; i < r; i++)
|
|
145
145
|
(s || !(i in t)) && (s || (s = Array.prototype.slice.call(t, 0, i)), s[i] = t[i]);
|
|
146
146
|
return e.concat(s || Array.prototype.slice.call(t));
|
|
147
147
|
}
|
|
148
|
-
function
|
|
149
|
-
return this instanceof
|
|
148
|
+
function z(e) {
|
|
149
|
+
return this instanceof z ? (this.v = e, this) : new z(e);
|
|
150
150
|
}
|
|
151
|
-
function
|
|
151
|
+
function Qn(e, t, n) {
|
|
152
152
|
if (!Symbol.asyncIterator)
|
|
153
153
|
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
154
154
|
var i = n.apply(e, t || []), r, s = [];
|
|
@@ -170,7 +170,7 @@ function qn(e, t, n) {
|
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
172
|
function l(d) {
|
|
173
|
-
d.value instanceof
|
|
173
|
+
d.value instanceof z ? Promise.resolve(d.value.v).then(c, u) : h(s[0][2], d);
|
|
174
174
|
}
|
|
175
175
|
function c(d) {
|
|
176
176
|
a("next", d);
|
|
@@ -182,11 +182,11 @@ function qn(e, t, n) {
|
|
|
182
182
|
d(f), s.shift(), s.length && a(s[0][0], s[0][1]);
|
|
183
183
|
}
|
|
184
184
|
}
|
|
185
|
-
function
|
|
185
|
+
function Xn(e) {
|
|
186
186
|
if (!Symbol.asyncIterator)
|
|
187
187
|
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
188
188
|
var t = e[Symbol.asyncIterator], n;
|
|
189
|
-
return t ? t.call(e) : (e = typeof
|
|
189
|
+
return t ? t.call(e) : (e = typeof G == "function" ? G(e) : e[Symbol.iterator](), n = {}, i("next"), i("throw"), i("return"), n[Symbol.asyncIterator] = function() {
|
|
190
190
|
return this;
|
|
191
191
|
}, n);
|
|
192
192
|
function i(s) {
|
|
@@ -205,13 +205,13 @@ function Zn(e) {
|
|
|
205
205
|
function v(e) {
|
|
206
206
|
return typeof e == "function";
|
|
207
207
|
}
|
|
208
|
-
function
|
|
208
|
+
function qe(e) {
|
|
209
209
|
var t = function(i) {
|
|
210
210
|
Error.call(i), i.stack = new Error().stack;
|
|
211
211
|
}, n = e(t);
|
|
212
212
|
return n.prototype = Object.create(Error.prototype), n.prototype.constructor = n, n;
|
|
213
213
|
}
|
|
214
|
-
var
|
|
214
|
+
var It = qe(function(e) {
|
|
215
215
|
return function(n) {
|
|
216
216
|
e(this), this.message = n ? n.length + ` errors occurred during unsubscription:
|
|
217
217
|
` + n.map(function(i, r) {
|
|
@@ -220,13 +220,13 @@ var Tt = Fe(function(e) {
|
|
|
220
220
|
`) : "", this.name = "UnsubscriptionError", this.errors = n;
|
|
221
221
|
};
|
|
222
222
|
});
|
|
223
|
-
function
|
|
223
|
+
function zt(e, t) {
|
|
224
224
|
if (e) {
|
|
225
225
|
var n = e.indexOf(t);
|
|
226
226
|
0 <= n && e.splice(n, 1);
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
|
-
var
|
|
229
|
+
var At = function() {
|
|
230
230
|
function e(t) {
|
|
231
231
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
232
232
|
}
|
|
@@ -238,7 +238,7 @@ var St = function() {
|
|
|
238
238
|
if (o)
|
|
239
239
|
if (this._parentage = null, Array.isArray(o))
|
|
240
240
|
try {
|
|
241
|
-
for (var a =
|
|
241
|
+
for (var a = G(o), l = a.next(); !l.done; l = a.next()) {
|
|
242
242
|
var c = l.value;
|
|
243
243
|
c.remove(this);
|
|
244
244
|
}
|
|
@@ -259,18 +259,18 @@ var St = function() {
|
|
|
259
259
|
try {
|
|
260
260
|
u();
|
|
261
261
|
} catch (g) {
|
|
262
|
-
s = g instanceof
|
|
262
|
+
s = g instanceof It ? g.errors : [g];
|
|
263
263
|
}
|
|
264
264
|
var h = this._finalizers;
|
|
265
265
|
if (h) {
|
|
266
266
|
this._finalizers = null;
|
|
267
267
|
try {
|
|
268
|
-
for (var d =
|
|
268
|
+
for (var d = G(h), f = d.next(); !f.done; f = d.next()) {
|
|
269
269
|
var $ = f.value;
|
|
270
270
|
try {
|
|
271
|
-
|
|
271
|
+
ue($);
|
|
272
272
|
} catch (g) {
|
|
273
|
-
s = s ?? [], g instanceof
|
|
273
|
+
s = s ?? [], g instanceof It ? s = $t($t([], gt(s)), gt(g.errors)) : s.push(g);
|
|
274
274
|
}
|
|
275
275
|
}
|
|
276
276
|
} catch (g) {
|
|
@@ -285,13 +285,13 @@ var St = function() {
|
|
|
285
285
|
}
|
|
286
286
|
}
|
|
287
287
|
if (s)
|
|
288
|
-
throw new
|
|
288
|
+
throw new It(s);
|
|
289
289
|
}
|
|
290
290
|
}, e.prototype.add = function(t) {
|
|
291
291
|
var n;
|
|
292
292
|
if (t && t !== this)
|
|
293
293
|
if (this.closed)
|
|
294
|
-
|
|
294
|
+
ue(t);
|
|
295
295
|
else {
|
|
296
296
|
if (t instanceof e) {
|
|
297
297
|
if (t.closed || t._hasParent(this))
|
|
@@ -308,58 +308,58 @@ var St = function() {
|
|
|
308
308
|
this._parentage = Array.isArray(n) ? (n.push(t), n) : n ? [n, t] : t;
|
|
309
309
|
}, e.prototype._removeParent = function(t) {
|
|
310
310
|
var n = this._parentage;
|
|
311
|
-
n === t ? this._parentage = null : Array.isArray(n) &&
|
|
311
|
+
n === t ? this._parentage = null : Array.isArray(n) && zt(n, t);
|
|
312
312
|
}, e.prototype.remove = function(t) {
|
|
313
313
|
var n = this._finalizers;
|
|
314
|
-
n &&
|
|
314
|
+
n && zt(n, t), t instanceof e && t._removeParent(this);
|
|
315
315
|
}, e.EMPTY = function() {
|
|
316
316
|
var t = new e();
|
|
317
317
|
return t.closed = !0, t;
|
|
318
318
|
}(), e;
|
|
319
|
-
}(),
|
|
320
|
-
function
|
|
321
|
-
return e instanceof
|
|
319
|
+
}(), Ye = At.EMPTY;
|
|
320
|
+
function Ze(e) {
|
|
321
|
+
return e instanceof At || e && "closed" in e && v(e.remove) && v(e.add) && v(e.unsubscribe);
|
|
322
322
|
}
|
|
323
|
-
function
|
|
323
|
+
function ue(e) {
|
|
324
324
|
v(e) ? e() : e.unsubscribe();
|
|
325
325
|
}
|
|
326
|
-
var
|
|
326
|
+
var Ke = {
|
|
327
327
|
onUnhandledError: null,
|
|
328
328
|
onStoppedNotification: null,
|
|
329
329
|
Promise: void 0,
|
|
330
330
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
331
331
|
useDeprecatedNextContext: !1
|
|
332
|
-
},
|
|
332
|
+
}, Ft = {
|
|
333
333
|
setTimeout: function(e, t) {
|
|
334
334
|
for (var n = [], i = 2; i < arguments.length; i++)
|
|
335
335
|
n[i - 2] = arguments[i];
|
|
336
|
-
var r =
|
|
337
|
-
return r != null && r.setTimeout ? r.setTimeout.apply(r,
|
|
336
|
+
var r = Ft.delegate;
|
|
337
|
+
return r != null && r.setTimeout ? r.setTimeout.apply(r, $t([e, t], gt(n))) : setTimeout.apply(void 0, $t([e, t], gt(n)));
|
|
338
338
|
},
|
|
339
339
|
clearTimeout: function(e) {
|
|
340
|
-
var t =
|
|
340
|
+
var t = Ft.delegate;
|
|
341
341
|
return ((t == null ? void 0 : t.clearTimeout) || clearTimeout)(e);
|
|
342
342
|
},
|
|
343
343
|
delegate: void 0
|
|
344
344
|
};
|
|
345
|
-
function
|
|
346
|
-
|
|
345
|
+
function Qe(e) {
|
|
346
|
+
Ft.setTimeout(function() {
|
|
347
347
|
throw e;
|
|
348
348
|
});
|
|
349
349
|
}
|
|
350
|
-
function
|
|
350
|
+
function he() {
|
|
351
351
|
}
|
|
352
|
-
function
|
|
352
|
+
function ft(e) {
|
|
353
353
|
e();
|
|
354
354
|
}
|
|
355
|
-
var
|
|
356
|
-
|
|
355
|
+
var Zt = function(e) {
|
|
356
|
+
rt(t, e);
|
|
357
357
|
function t(n) {
|
|
358
358
|
var i = e.call(this) || this;
|
|
359
|
-
return i.isStopped = !1, n ? (i.destination = n,
|
|
359
|
+
return i.isStopped = !1, n ? (i.destination = n, Ze(n) && n.add(i)) : i.destination = ei, i;
|
|
360
360
|
}
|
|
361
361
|
return t.create = function(n, i, r) {
|
|
362
|
-
return new
|
|
362
|
+
return new Wt(n, i, r);
|
|
363
363
|
}, t.prototype.next = function(n) {
|
|
364
364
|
this.isStopped || this._next(n);
|
|
365
365
|
}, t.prototype.error = function(n) {
|
|
@@ -383,11 +383,11 @@ var Yt = function(e) {
|
|
|
383
383
|
this.unsubscribe();
|
|
384
384
|
}
|
|
385
385
|
}, t;
|
|
386
|
-
}(
|
|
387
|
-
function
|
|
388
|
-
return
|
|
386
|
+
}(At), Jn = Function.prototype.bind;
|
|
387
|
+
function Lt(e, t) {
|
|
388
|
+
return Jn.call(e, t);
|
|
389
389
|
}
|
|
390
|
-
var
|
|
390
|
+
var Vn = function() {
|
|
391
391
|
function e(t) {
|
|
392
392
|
this.partialObserver = t;
|
|
393
393
|
}
|
|
@@ -397,7 +397,7 @@ var Qn = function() {
|
|
|
397
397
|
try {
|
|
398
398
|
n.next(t);
|
|
399
399
|
} catch (i) {
|
|
400
|
-
|
|
400
|
+
ct(i);
|
|
401
401
|
}
|
|
402
402
|
}, e.prototype.error = function(t) {
|
|
403
403
|
var n = this.partialObserver;
|
|
@@ -405,21 +405,21 @@ var Qn = function() {
|
|
|
405
405
|
try {
|
|
406
406
|
n.error(t);
|
|
407
407
|
} catch (i) {
|
|
408
|
-
|
|
408
|
+
ct(i);
|
|
409
409
|
}
|
|
410
410
|
else
|
|
411
|
-
|
|
411
|
+
ct(t);
|
|
412
412
|
}, e.prototype.complete = function() {
|
|
413
413
|
var t = this.partialObserver;
|
|
414
414
|
if (t.complete)
|
|
415
415
|
try {
|
|
416
416
|
t.complete();
|
|
417
417
|
} catch (n) {
|
|
418
|
-
|
|
418
|
+
ct(n);
|
|
419
419
|
}
|
|
420
420
|
}, e;
|
|
421
|
-
}(),
|
|
422
|
-
|
|
421
|
+
}(), Wt = function(e) {
|
|
422
|
+
rt(t, e);
|
|
423
423
|
function t(n, i, r) {
|
|
424
424
|
var s = e.call(this) || this, o;
|
|
425
425
|
if (v(n) || !n)
|
|
@@ -430,43 +430,43 @@ var Qn = function() {
|
|
|
430
430
|
};
|
|
431
431
|
else {
|
|
432
432
|
var a;
|
|
433
|
-
s &&
|
|
433
|
+
s && Ke.useDeprecatedNextContext ? (a = Object.create(n), a.unsubscribe = function() {
|
|
434
434
|
return s.unsubscribe();
|
|
435
435
|
}, o = {
|
|
436
|
-
next: n.next &&
|
|
437
|
-
error: n.error &&
|
|
438
|
-
complete: n.complete &&
|
|
436
|
+
next: n.next && Lt(n.next, a),
|
|
437
|
+
error: n.error && Lt(n.error, a),
|
|
438
|
+
complete: n.complete && Lt(n.complete, a)
|
|
439
439
|
}) : o = n;
|
|
440
440
|
}
|
|
441
|
-
return s.destination = new
|
|
441
|
+
return s.destination = new Vn(o), s;
|
|
442
442
|
}
|
|
443
443
|
return t;
|
|
444
|
-
}(
|
|
445
|
-
function
|
|
446
|
-
|
|
444
|
+
}(Zt);
|
|
445
|
+
function ct(e) {
|
|
446
|
+
Qe(e);
|
|
447
447
|
}
|
|
448
|
-
function
|
|
448
|
+
function ti(e) {
|
|
449
449
|
throw e;
|
|
450
450
|
}
|
|
451
|
-
var
|
|
451
|
+
var ei = {
|
|
452
452
|
closed: !0,
|
|
453
|
-
next:
|
|
454
|
-
error:
|
|
455
|
-
complete:
|
|
456
|
-
},
|
|
453
|
+
next: he,
|
|
454
|
+
error: ti,
|
|
455
|
+
complete: he
|
|
456
|
+
}, Kt = function() {
|
|
457
457
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
458
458
|
}();
|
|
459
|
-
function
|
|
459
|
+
function Xe(e) {
|
|
460
460
|
return e;
|
|
461
461
|
}
|
|
462
|
-
function
|
|
463
|
-
return e.length === 0 ?
|
|
462
|
+
function ni(e) {
|
|
463
|
+
return e.length === 0 ? Xe : e.length === 1 ? e[0] : function(n) {
|
|
464
464
|
return e.reduce(function(i, r) {
|
|
465
465
|
return r(i);
|
|
466
466
|
}, n);
|
|
467
467
|
};
|
|
468
468
|
}
|
|
469
|
-
var
|
|
469
|
+
var S = function() {
|
|
470
470
|
function e(t) {
|
|
471
471
|
t && (this._subscribe = t);
|
|
472
472
|
}
|
|
@@ -474,8 +474,8 @@ var w = function() {
|
|
|
474
474
|
var n = new e();
|
|
475
475
|
return n.source = this, n.operator = t, n;
|
|
476
476
|
}, e.prototype.subscribe = function(t, n, i) {
|
|
477
|
-
var r = this, s =
|
|
478
|
-
return
|
|
477
|
+
var r = this, s = ri(t) ? t : new Wt(t, n, i);
|
|
478
|
+
return ft(function() {
|
|
479
479
|
var o = r, a = o.operator, l = o.source;
|
|
480
480
|
s.add(a ? a.call(s, l) : l ? r._subscribe(s) : r._trySubscribe(s));
|
|
481
481
|
}), s;
|
|
@@ -487,8 +487,8 @@ var w = function() {
|
|
|
487
487
|
}
|
|
488
488
|
}, e.prototype.forEach = function(t, n) {
|
|
489
489
|
var i = this;
|
|
490
|
-
return n =
|
|
491
|
-
var o = new
|
|
490
|
+
return n = de(n), new n(function(r, s) {
|
|
491
|
+
var o = new Wt({
|
|
492
492
|
next: function(a) {
|
|
493
493
|
try {
|
|
494
494
|
t(a);
|
|
@@ -504,15 +504,15 @@ var w = function() {
|
|
|
504
504
|
}, e.prototype._subscribe = function(t) {
|
|
505
505
|
var n;
|
|
506
506
|
return (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(t);
|
|
507
|
-
}, e.prototype[
|
|
507
|
+
}, e.prototype[Kt] = function() {
|
|
508
508
|
return this;
|
|
509
509
|
}, e.prototype.pipe = function() {
|
|
510
510
|
for (var t = [], n = 0; n < arguments.length; n++)
|
|
511
511
|
t[n] = arguments[n];
|
|
512
|
-
return
|
|
512
|
+
return ni(t)(this);
|
|
513
513
|
}, e.prototype.toPromise = function(t) {
|
|
514
514
|
var n = this;
|
|
515
|
-
return t =
|
|
515
|
+
return t = de(t), new t(function(i, r) {
|
|
516
516
|
var s;
|
|
517
517
|
n.subscribe(function(o) {
|
|
518
518
|
return s = o;
|
|
@@ -526,22 +526,22 @@ var w = function() {
|
|
|
526
526
|
return new e(t);
|
|
527
527
|
}, e;
|
|
528
528
|
}();
|
|
529
|
-
function
|
|
529
|
+
function de(e) {
|
|
530
530
|
var t;
|
|
531
|
-
return (t = e ??
|
|
531
|
+
return (t = e ?? Ke.Promise) !== null && t !== void 0 ? t : Promise;
|
|
532
532
|
}
|
|
533
|
-
function
|
|
533
|
+
function ii(e) {
|
|
534
534
|
return e && v(e.next) && v(e.error) && v(e.complete);
|
|
535
535
|
}
|
|
536
|
-
function
|
|
537
|
-
return e && e instanceof
|
|
536
|
+
function ri(e) {
|
|
537
|
+
return e && e instanceof Zt || ii(e) && Ze(e);
|
|
538
538
|
}
|
|
539
|
-
function
|
|
539
|
+
function si(e) {
|
|
540
540
|
return v(e == null ? void 0 : e.lift);
|
|
541
541
|
}
|
|
542
|
-
function
|
|
542
|
+
function Ct(e) {
|
|
543
543
|
return function(t) {
|
|
544
|
-
if (
|
|
544
|
+
if (si(t))
|
|
545
545
|
return t.lift(function(n) {
|
|
546
546
|
try {
|
|
547
547
|
return e(n, this);
|
|
@@ -552,11 +552,11 @@ function xt(e) {
|
|
|
552
552
|
throw new TypeError("Unable to lift unknown Observable type");
|
|
553
553
|
};
|
|
554
554
|
}
|
|
555
|
-
function
|
|
556
|
-
return new
|
|
555
|
+
function vt(e, t, n, i, r) {
|
|
556
|
+
return new oi(e, t, n, i, r);
|
|
557
557
|
}
|
|
558
|
-
var
|
|
559
|
-
|
|
558
|
+
var oi = function(e) {
|
|
559
|
+
rt(t, e);
|
|
560
560
|
function t(n, i, r, s, o, a) {
|
|
561
561
|
var l = e.call(this, n) || this;
|
|
562
562
|
return l.onFinalize = o, l.shouldUnsubscribe = a, l._next = i ? function(c) {
|
|
@@ -590,30 +590,30 @@ var ii = function(e) {
|
|
|
590
590
|
e.prototype.unsubscribe.call(this), !i && ((n = this.onFinalize) === null || n === void 0 || n.call(this));
|
|
591
591
|
}
|
|
592
592
|
}, t;
|
|
593
|
-
}(
|
|
593
|
+
}(Zt), ai = qe(function(e) {
|
|
594
594
|
return function() {
|
|
595
595
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
596
596
|
};
|
|
597
|
-
}),
|
|
598
|
-
|
|
597
|
+
}), Je = function(e) {
|
|
598
|
+
rt(t, e);
|
|
599
599
|
function t() {
|
|
600
600
|
var n = e.call(this) || this;
|
|
601
601
|
return n.closed = !1, n.currentObservers = null, n.observers = [], n.isStopped = !1, n.hasError = !1, n.thrownError = null, n;
|
|
602
602
|
}
|
|
603
603
|
return t.prototype.lift = function(n) {
|
|
604
|
-
var i = new
|
|
604
|
+
var i = new fe(this, this);
|
|
605
605
|
return i.operator = n, i;
|
|
606
606
|
}, t.prototype._throwIfClosed = function() {
|
|
607
607
|
if (this.closed)
|
|
608
|
-
throw new
|
|
608
|
+
throw new ai();
|
|
609
609
|
}, t.prototype.next = function(n) {
|
|
610
610
|
var i = this;
|
|
611
|
-
|
|
611
|
+
ft(function() {
|
|
612
612
|
var r, s;
|
|
613
613
|
if (i._throwIfClosed(), !i.isStopped) {
|
|
614
614
|
i.currentObservers || (i.currentObservers = Array.from(i.observers));
|
|
615
615
|
try {
|
|
616
|
-
for (var o =
|
|
616
|
+
for (var o = G(i.currentObservers), a = o.next(); !a.done; a = o.next()) {
|
|
617
617
|
var l = a.value;
|
|
618
618
|
l.next(n);
|
|
619
619
|
}
|
|
@@ -631,7 +631,7 @@ var ii = function(e) {
|
|
|
631
631
|
});
|
|
632
632
|
}, t.prototype.error = function(n) {
|
|
633
633
|
var i = this;
|
|
634
|
-
|
|
634
|
+
ft(function() {
|
|
635
635
|
if (i._throwIfClosed(), !i.isStopped) {
|
|
636
636
|
i.hasError = i.isStopped = !0, i.thrownError = n;
|
|
637
637
|
for (var r = i.observers; r.length; )
|
|
@@ -640,7 +640,7 @@ var ii = function(e) {
|
|
|
640
640
|
});
|
|
641
641
|
}, t.prototype.complete = function() {
|
|
642
642
|
var n = this;
|
|
643
|
-
|
|
643
|
+
ft(function() {
|
|
644
644
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
645
645
|
n.isStopped = !0;
|
|
646
646
|
for (var i = n.observers; i.length; )
|
|
@@ -662,20 +662,20 @@ var ii = function(e) {
|
|
|
662
662
|
return this._throwIfClosed(), this._checkFinalizedStatuses(n), this._innerSubscribe(n);
|
|
663
663
|
}, t.prototype._innerSubscribe = function(n) {
|
|
664
664
|
var i = this, r = this, s = r.hasError, o = r.isStopped, a = r.observers;
|
|
665
|
-
return s || o ?
|
|
666
|
-
i.currentObservers = null,
|
|
665
|
+
return s || o ? Ye : (this.currentObservers = null, a.push(n), new At(function() {
|
|
666
|
+
i.currentObservers = null, zt(a, n);
|
|
667
667
|
}));
|
|
668
668
|
}, t.prototype._checkFinalizedStatuses = function(n) {
|
|
669
669
|
var i = this, r = i.hasError, s = i.thrownError, o = i.isStopped;
|
|
670
670
|
r ? n.error(s) : o && n.complete();
|
|
671
671
|
}, t.prototype.asObservable = function() {
|
|
672
|
-
var n = new
|
|
672
|
+
var n = new S();
|
|
673
673
|
return n.source = this, n;
|
|
674
674
|
}, t.create = function(n, i) {
|
|
675
|
-
return new
|
|
675
|
+
return new fe(n, i);
|
|
676
676
|
}, t;
|
|
677
|
-
}(
|
|
678
|
-
|
|
677
|
+
}(S), fe = function(e) {
|
|
678
|
+
rt(t, e);
|
|
679
679
|
function t(n, i) {
|
|
680
680
|
var r = e.call(this) || this;
|
|
681
681
|
return r.destination = n, r.source = i, r;
|
|
@@ -691,62 +691,62 @@ var ii = function(e) {
|
|
|
691
691
|
(i = (n = this.destination) === null || n === void 0 ? void 0 : n.complete) === null || i === void 0 || i.call(n);
|
|
692
692
|
}, t.prototype._subscribe = function(n) {
|
|
693
693
|
var i, r;
|
|
694
|
-
return (r = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(n)) !== null && r !== void 0 ? r :
|
|
694
|
+
return (r = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(n)) !== null && r !== void 0 ? r : Ye;
|
|
695
695
|
}, t;
|
|
696
|
-
}(
|
|
696
|
+
}(Je), li = new S(function(e) {
|
|
697
697
|
return e.complete();
|
|
698
698
|
});
|
|
699
|
-
function
|
|
699
|
+
function ci(e) {
|
|
700
700
|
return e && v(e.schedule);
|
|
701
701
|
}
|
|
702
|
-
function
|
|
702
|
+
function Ve(e) {
|
|
703
703
|
return e[e.length - 1];
|
|
704
704
|
}
|
|
705
|
-
function
|
|
706
|
-
return
|
|
705
|
+
function ui(e) {
|
|
706
|
+
return ci(Ve(e)) ? e.pop() : void 0;
|
|
707
707
|
}
|
|
708
|
-
function
|
|
709
|
-
return typeof
|
|
708
|
+
function hi(e, t) {
|
|
709
|
+
return typeof Ve(e) == "number" ? e.pop() : t;
|
|
710
710
|
}
|
|
711
|
-
var
|
|
711
|
+
var tn = function(e) {
|
|
712
712
|
return e && typeof e.length == "number" && typeof e != "function";
|
|
713
713
|
};
|
|
714
|
-
function
|
|
714
|
+
function en(e) {
|
|
715
715
|
return v(e == null ? void 0 : e.then);
|
|
716
716
|
}
|
|
717
|
-
function
|
|
718
|
-
return v(e[
|
|
717
|
+
function nn(e) {
|
|
718
|
+
return v(e[Kt]);
|
|
719
719
|
}
|
|
720
|
-
function
|
|
720
|
+
function rn(e) {
|
|
721
721
|
return Symbol.asyncIterator && v(e == null ? void 0 : e[Symbol.asyncIterator]);
|
|
722
722
|
}
|
|
723
|
-
function
|
|
723
|
+
function sn(e) {
|
|
724
724
|
return new TypeError("You provided " + (e !== null && typeof e == "object" ? "an invalid object" : "'" + e + "'") + " where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.");
|
|
725
725
|
}
|
|
726
|
-
function
|
|
726
|
+
function di() {
|
|
727
727
|
return typeof Symbol != "function" || !Symbol.iterator ? "@@iterator" : Symbol.iterator;
|
|
728
728
|
}
|
|
729
|
-
var
|
|
730
|
-
function
|
|
731
|
-
return v(e == null ? void 0 : e[
|
|
729
|
+
var on = di();
|
|
730
|
+
function an(e) {
|
|
731
|
+
return v(e == null ? void 0 : e[on]);
|
|
732
732
|
}
|
|
733
|
-
function
|
|
734
|
-
return
|
|
733
|
+
function ln(e) {
|
|
734
|
+
return Qn(this, arguments, function() {
|
|
735
735
|
var n, i, r, s;
|
|
736
|
-
return
|
|
736
|
+
return Ge(this, function(o) {
|
|
737
737
|
switch (o.label) {
|
|
738
738
|
case 0:
|
|
739
739
|
n = e.getReader(), o.label = 1;
|
|
740
740
|
case 1:
|
|
741
741
|
o.trys.push([1, , 9, 10]), o.label = 2;
|
|
742
742
|
case 2:
|
|
743
|
-
return [4,
|
|
743
|
+
return [4, z(n.read())];
|
|
744
744
|
case 3:
|
|
745
|
-
return i = o.sent(), r = i.value, s = i.done, s ? [4,
|
|
745
|
+
return i = o.sent(), r = i.value, s = i.done, s ? [4, z(void 0)] : [3, 5];
|
|
746
746
|
case 4:
|
|
747
747
|
return [2, o.sent()];
|
|
748
748
|
case 5:
|
|
749
|
-
return [4,
|
|
749
|
+
return [4, z(r)];
|
|
750
750
|
case 6:
|
|
751
751
|
return [4, o.sent()];
|
|
752
752
|
case 7:
|
|
@@ -761,57 +761,57 @@ function sn(e) {
|
|
|
761
761
|
});
|
|
762
762
|
});
|
|
763
763
|
}
|
|
764
|
-
function
|
|
764
|
+
function cn(e) {
|
|
765
765
|
return v(e == null ? void 0 : e.getReader);
|
|
766
766
|
}
|
|
767
767
|
function Y(e) {
|
|
768
|
-
if (e instanceof
|
|
768
|
+
if (e instanceof S)
|
|
769
769
|
return e;
|
|
770
770
|
if (e != null) {
|
|
771
|
-
if (
|
|
772
|
-
return ui(e);
|
|
773
|
-
if (Xe(e))
|
|
774
|
-
return hi(e);
|
|
775
|
-
if (Je(e))
|
|
776
|
-
return di(e);
|
|
777
|
-
if (tn(e))
|
|
778
|
-
return an(e);
|
|
779
|
-
if (rn(e))
|
|
771
|
+
if (nn(e))
|
|
780
772
|
return fi(e);
|
|
781
|
-
if (
|
|
773
|
+
if (tn(e))
|
|
782
774
|
return pi(e);
|
|
775
|
+
if (en(e))
|
|
776
|
+
return gi(e);
|
|
777
|
+
if (rn(e))
|
|
778
|
+
return un(e);
|
|
779
|
+
if (an(e))
|
|
780
|
+
return $i(e);
|
|
781
|
+
if (cn(e))
|
|
782
|
+
return vi(e);
|
|
783
783
|
}
|
|
784
|
-
throw
|
|
784
|
+
throw sn(e);
|
|
785
785
|
}
|
|
786
|
-
function
|
|
787
|
-
return new
|
|
788
|
-
var n = e[
|
|
786
|
+
function fi(e) {
|
|
787
|
+
return new S(function(t) {
|
|
788
|
+
var n = e[Kt]();
|
|
789
789
|
if (v(n.subscribe))
|
|
790
790
|
return n.subscribe(t);
|
|
791
791
|
throw new TypeError("Provided object does not correctly implement Symbol.observable");
|
|
792
792
|
});
|
|
793
793
|
}
|
|
794
|
-
function
|
|
795
|
-
return new
|
|
794
|
+
function pi(e) {
|
|
795
|
+
return new S(function(t) {
|
|
796
796
|
for (var n = 0; n < e.length && !t.closed; n++)
|
|
797
797
|
t.next(e[n]);
|
|
798
798
|
t.complete();
|
|
799
799
|
});
|
|
800
800
|
}
|
|
801
|
-
function
|
|
802
|
-
return new
|
|
801
|
+
function gi(e) {
|
|
802
|
+
return new S(function(t) {
|
|
803
803
|
e.then(function(n) {
|
|
804
804
|
t.closed || (t.next(n), t.complete());
|
|
805
805
|
}, function(n) {
|
|
806
806
|
return t.error(n);
|
|
807
|
-
}).then(null,
|
|
807
|
+
}).then(null, Qe);
|
|
808
808
|
});
|
|
809
809
|
}
|
|
810
|
-
function
|
|
811
|
-
return new
|
|
810
|
+
function $i(e) {
|
|
811
|
+
return new S(function(t) {
|
|
812
812
|
var n, i;
|
|
813
813
|
try {
|
|
814
|
-
for (var r =
|
|
814
|
+
for (var r = G(e), s = r.next(); !s.done; s = r.next()) {
|
|
815
815
|
var o = s.value;
|
|
816
816
|
if (t.next(o), t.closed)
|
|
817
817
|
return;
|
|
@@ -829,24 +829,24 @@ function fi(e) {
|
|
|
829
829
|
t.complete();
|
|
830
830
|
});
|
|
831
831
|
}
|
|
832
|
-
function
|
|
833
|
-
return new
|
|
834
|
-
|
|
832
|
+
function un(e) {
|
|
833
|
+
return new S(function(t) {
|
|
834
|
+
mi(e, t).catch(function(n) {
|
|
835
835
|
return t.error(n);
|
|
836
836
|
});
|
|
837
837
|
});
|
|
838
838
|
}
|
|
839
|
-
function
|
|
840
|
-
return
|
|
839
|
+
function vi(e) {
|
|
840
|
+
return un(ln(e));
|
|
841
841
|
}
|
|
842
|
-
function
|
|
842
|
+
function mi(e, t) {
|
|
843
843
|
var n, i, r, s;
|
|
844
|
-
return
|
|
844
|
+
return Kn(this, void 0, void 0, function() {
|
|
845
845
|
var o, a;
|
|
846
|
-
return
|
|
846
|
+
return Ge(this, function(l) {
|
|
847
847
|
switch (l.label) {
|
|
848
848
|
case 0:
|
|
849
|
-
l.trys.push([0, 5, 6, 11]), n =
|
|
849
|
+
l.trys.push([0, 5, 6, 11]), n = Xn(e), l.label = 1;
|
|
850
850
|
case 1:
|
|
851
851
|
return [4, n.next()];
|
|
852
852
|
case 2:
|
|
@@ -879,7 +879,7 @@ function gi(e, t) {
|
|
|
879
879
|
});
|
|
880
880
|
});
|
|
881
881
|
}
|
|
882
|
-
function
|
|
882
|
+
function k(e, t, n, i, r) {
|
|
883
883
|
i === void 0 && (i = 0), r === void 0 && (r = !1);
|
|
884
884
|
var s = t.schedule(function() {
|
|
885
885
|
n(), r ? e.add(this.schedule(null, i)) : this.unsubscribe();
|
|
@@ -887,49 +887,49 @@ function E(e, t, n, i, r) {
|
|
|
887
887
|
if (e.add(s), !r)
|
|
888
888
|
return s;
|
|
889
889
|
}
|
|
890
|
-
function
|
|
891
|
-
return t === void 0 && (t = 0),
|
|
892
|
-
n.subscribe(
|
|
893
|
-
return
|
|
890
|
+
function hn(e, t) {
|
|
891
|
+
return t === void 0 && (t = 0), Ct(function(n, i) {
|
|
892
|
+
n.subscribe(vt(i, function(r) {
|
|
893
|
+
return k(i, e, function() {
|
|
894
894
|
return i.next(r);
|
|
895
895
|
}, t);
|
|
896
896
|
}, function() {
|
|
897
|
-
return
|
|
897
|
+
return k(i, e, function() {
|
|
898
898
|
return i.complete();
|
|
899
899
|
}, t);
|
|
900
900
|
}, function(r) {
|
|
901
|
-
return
|
|
901
|
+
return k(i, e, function() {
|
|
902
902
|
return i.error(r);
|
|
903
903
|
}, t);
|
|
904
904
|
}));
|
|
905
905
|
});
|
|
906
906
|
}
|
|
907
|
-
function
|
|
908
|
-
return t === void 0 && (t = 0),
|
|
907
|
+
function dn(e, t) {
|
|
908
|
+
return t === void 0 && (t = 0), Ct(function(n, i) {
|
|
909
909
|
i.add(e.schedule(function() {
|
|
910
910
|
return n.subscribe(i);
|
|
911
911
|
}, t));
|
|
912
912
|
});
|
|
913
913
|
}
|
|
914
|
-
function
|
|
915
|
-
return Y(e).pipe(
|
|
914
|
+
function yi(e, t) {
|
|
915
|
+
return Y(e).pipe(dn(t), hn(t));
|
|
916
916
|
}
|
|
917
|
-
function
|
|
918
|
-
return Y(e).pipe(
|
|
917
|
+
function bi(e, t) {
|
|
918
|
+
return Y(e).pipe(dn(t), hn(t));
|
|
919
919
|
}
|
|
920
|
-
function
|
|
921
|
-
return new
|
|
920
|
+
function _i(e, t) {
|
|
921
|
+
return new S(function(n) {
|
|
922
922
|
var i = 0;
|
|
923
923
|
return t.schedule(function() {
|
|
924
924
|
i === e.length ? n.complete() : (n.next(e[i++]), n.closed || this.schedule());
|
|
925
925
|
});
|
|
926
926
|
});
|
|
927
927
|
}
|
|
928
|
-
function
|
|
929
|
-
return new
|
|
928
|
+
function wi(e, t) {
|
|
929
|
+
return new S(function(n) {
|
|
930
930
|
var i;
|
|
931
|
-
return
|
|
932
|
-
i = e[
|
|
931
|
+
return k(n, t, function() {
|
|
932
|
+
i = e[on](), k(n, t, function() {
|
|
933
933
|
var r, s, o;
|
|
934
934
|
try {
|
|
935
935
|
r = i.next(), s = r.value, o = r.done;
|
|
@@ -944,13 +944,13 @@ function yi(e, t) {
|
|
|
944
944
|
};
|
|
945
945
|
});
|
|
946
946
|
}
|
|
947
|
-
function
|
|
947
|
+
function fn(e, t) {
|
|
948
948
|
if (!e)
|
|
949
949
|
throw new Error("Iterable cannot be null");
|
|
950
|
-
return new
|
|
951
|
-
|
|
950
|
+
return new S(function(n) {
|
|
951
|
+
k(n, t, function() {
|
|
952
952
|
var i = e[Symbol.asyncIterator]();
|
|
953
|
-
|
|
953
|
+
k(n, t, function() {
|
|
954
954
|
i.next().then(function(r) {
|
|
955
955
|
r.done ? n.complete() : n.next(r.value);
|
|
956
956
|
});
|
|
@@ -958,108 +958,108 @@ function un(e, t) {
|
|
|
958
958
|
});
|
|
959
959
|
});
|
|
960
960
|
}
|
|
961
|
-
function
|
|
962
|
-
return
|
|
961
|
+
function Si(e, t) {
|
|
962
|
+
return fn(ln(e), t);
|
|
963
963
|
}
|
|
964
|
-
function
|
|
964
|
+
function xi(e, t) {
|
|
965
965
|
if (e != null) {
|
|
966
|
-
if (
|
|
967
|
-
return $i(e, t);
|
|
968
|
-
if (Xe(e))
|
|
969
|
-
return mi(e, t);
|
|
970
|
-
if (Je(e))
|
|
971
|
-
return vi(e, t);
|
|
972
|
-
if (tn(e))
|
|
973
|
-
return un(e, t);
|
|
974
|
-
if (rn(e))
|
|
966
|
+
if (nn(e))
|
|
975
967
|
return yi(e, t);
|
|
976
|
-
if (
|
|
968
|
+
if (tn(e))
|
|
969
|
+
return _i(e, t);
|
|
970
|
+
if (en(e))
|
|
977
971
|
return bi(e, t);
|
|
972
|
+
if (rn(e))
|
|
973
|
+
return fn(e, t);
|
|
974
|
+
if (an(e))
|
|
975
|
+
return wi(e, t);
|
|
976
|
+
if (cn(e))
|
|
977
|
+
return Si(e, t);
|
|
978
978
|
}
|
|
979
|
-
throw
|
|
979
|
+
throw sn(e);
|
|
980
980
|
}
|
|
981
|
-
function
|
|
982
|
-
return t ?
|
|
981
|
+
function Ai(e, t) {
|
|
982
|
+
return t ? xi(e, t) : Y(e);
|
|
983
983
|
}
|
|
984
|
-
function
|
|
985
|
-
return
|
|
984
|
+
function Ci(e, t) {
|
|
985
|
+
return Ct(function(n, i) {
|
|
986
986
|
var r = 0;
|
|
987
|
-
n.subscribe(
|
|
987
|
+
n.subscribe(vt(i, function(s) {
|
|
988
988
|
i.next(e.call(t, s, r++));
|
|
989
989
|
}));
|
|
990
990
|
});
|
|
991
991
|
}
|
|
992
|
-
function
|
|
992
|
+
function Ei(e, t, n, i, r, s, o, a) {
|
|
993
993
|
var l = [], c = 0, u = 0, h = !1, d = function() {
|
|
994
994
|
h && !l.length && !c && t.complete();
|
|
995
995
|
}, f = function(g) {
|
|
996
996
|
return c < i ? $(g) : l.push(g);
|
|
997
997
|
}, $ = function(g) {
|
|
998
998
|
s && t.next(g), c++;
|
|
999
|
-
var
|
|
1000
|
-
Y(n(g, u++)).subscribe(
|
|
1001
|
-
r == null || r(
|
|
999
|
+
var ce = !1;
|
|
1000
|
+
Y(n(g, u++)).subscribe(vt(t, function(K) {
|
|
1001
|
+
r == null || r(K), s ? f(K) : t.next(K);
|
|
1002
1002
|
}, function() {
|
|
1003
|
-
|
|
1003
|
+
ce = !0;
|
|
1004
1004
|
}, void 0, function() {
|
|
1005
|
-
if (
|
|
1005
|
+
if (ce)
|
|
1006
1006
|
try {
|
|
1007
1007
|
c--;
|
|
1008
|
-
for (var
|
|
1009
|
-
var
|
|
1010
|
-
o ?
|
|
1011
|
-
return $(
|
|
1012
|
-
}) : $(
|
|
1008
|
+
for (var K = function() {
|
|
1009
|
+
var lt = l.shift();
|
|
1010
|
+
o ? k(t, o, function() {
|
|
1011
|
+
return $(lt);
|
|
1012
|
+
}) : $(lt);
|
|
1013
1013
|
}; l.length && c < i; )
|
|
1014
|
-
|
|
1014
|
+
K();
|
|
1015
1015
|
d();
|
|
1016
|
-
} catch (
|
|
1017
|
-
t.error(
|
|
1016
|
+
} catch (lt) {
|
|
1017
|
+
t.error(lt);
|
|
1018
1018
|
}
|
|
1019
1019
|
}));
|
|
1020
1020
|
};
|
|
1021
|
-
return e.subscribe(
|
|
1021
|
+
return e.subscribe(vt(t, f, function() {
|
|
1022
1022
|
h = !0, d();
|
|
1023
1023
|
})), function() {
|
|
1024
1024
|
a == null || a();
|
|
1025
1025
|
};
|
|
1026
1026
|
}
|
|
1027
|
-
function
|
|
1028
|
-
return n === void 0 && (n = 1 / 0), v(t) ?
|
|
1029
|
-
return
|
|
1027
|
+
function pn(e, t, n) {
|
|
1028
|
+
return n === void 0 && (n = 1 / 0), v(t) ? pn(function(i, r) {
|
|
1029
|
+
return Ci(function(s, o) {
|
|
1030
1030
|
return t(i, s, r, o);
|
|
1031
1031
|
})(Y(e(i, r)));
|
|
1032
|
-
}, n) : (typeof t == "number" && (n = t),
|
|
1033
|
-
return
|
|
1032
|
+
}, n) : (typeof t == "number" && (n = t), Ct(function(i, r) {
|
|
1033
|
+
return Ei(i, r, e, n);
|
|
1034
1034
|
}));
|
|
1035
1035
|
}
|
|
1036
|
-
function
|
|
1037
|
-
return e === void 0 && (e = 1 / 0),
|
|
1036
|
+
function ki(e) {
|
|
1037
|
+
return e === void 0 && (e = 1 / 0), pn(Xe, e);
|
|
1038
1038
|
}
|
|
1039
|
-
function
|
|
1039
|
+
function Oi() {
|
|
1040
1040
|
for (var e = [], t = 0; t < arguments.length; t++)
|
|
1041
1041
|
e[t] = arguments[t];
|
|
1042
|
-
var n =
|
|
1043
|
-
return r.length ? r.length === 1 ? Y(r[0]) :
|
|
1042
|
+
var n = ui(e), i = hi(e, 1 / 0), r = e;
|
|
1043
|
+
return r.length ? r.length === 1 ? Y(r[0]) : ki(i)(Ai(r, n)) : li;
|
|
1044
1044
|
}
|
|
1045
1045
|
/**
|
|
1046
1046
|
* @license
|
|
1047
1047
|
* Copyright 2019 Google LLC
|
|
1048
1048
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1049
1049
|
*/
|
|
1050
|
-
const
|
|
1051
|
-
let
|
|
1050
|
+
const pt = globalThis, Qt = pt.ShadowRoot && (pt.ShadyCSS === void 0 || pt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Xt = Symbol(), pe = /* @__PURE__ */ new WeakMap();
|
|
1051
|
+
let gn = class {
|
|
1052
1052
|
constructor(t, n, i) {
|
|
1053
|
-
if (this._$cssResult$ = !0, i !==
|
|
1053
|
+
if (this._$cssResult$ = !0, i !== Xt)
|
|
1054
1054
|
throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
1055
1055
|
this.cssText = t, this.t = n;
|
|
1056
1056
|
}
|
|
1057
1057
|
get styleSheet() {
|
|
1058
1058
|
let t = this.o;
|
|
1059
1059
|
const n = this.t;
|
|
1060
|
-
if (
|
|
1060
|
+
if (Qt && t === void 0) {
|
|
1061
1061
|
const i = n !== void 0 && n.length === 1;
|
|
1062
|
-
i && (t =
|
|
1062
|
+
i && (t = pe.get(n)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && pe.set(n, t));
|
|
1063
1063
|
}
|
|
1064
1064
|
return t;
|
|
1065
1065
|
}
|
|
@@ -1067,7 +1067,7 @@ let dn = class {
|
|
|
1067
1067
|
return this.cssText;
|
|
1068
1068
|
}
|
|
1069
1069
|
};
|
|
1070
|
-
const
|
|
1070
|
+
const Ti = (e) => new gn(typeof e == "string" ? e : e + "", void 0, Xt), M = (e, ...t) => {
|
|
1071
1071
|
const n = e.length === 1 ? e[0] : t.reduce((i, r, s) => i + ((o) => {
|
|
1072
1072
|
if (o._$cssResult$ === !0)
|
|
1073
1073
|
return o.cssText;
|
|
@@ -1075,30 +1075,30 @@ const Ei = (e) => new dn(typeof e == "string" ? e : e + "", void 0, Kt), R = (e,
|
|
|
1075
1075
|
return o;
|
|
1076
1076
|
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.");
|
|
1077
1077
|
})(r) + e[s + 1], e[0]);
|
|
1078
|
-
return new
|
|
1079
|
-
},
|
|
1080
|
-
if (
|
|
1078
|
+
return new gn(n, e, Xt);
|
|
1079
|
+
}, Pi = (e, t) => {
|
|
1080
|
+
if (Qt)
|
|
1081
1081
|
e.adoptedStyleSheets = t.map((n) => n instanceof CSSStyleSheet ? n : n.styleSheet);
|
|
1082
1082
|
else
|
|
1083
1083
|
for (const n of t) {
|
|
1084
|
-
const i = document.createElement("style"), r =
|
|
1084
|
+
const i = document.createElement("style"), r = pt.litNonce;
|
|
1085
1085
|
r !== void 0 && i.setAttribute("nonce", r), i.textContent = n.cssText, e.appendChild(i);
|
|
1086
1086
|
}
|
|
1087
|
-
},
|
|
1087
|
+
}, ge = Qt ? (e) => e : (e) => e instanceof CSSStyleSheet ? ((t) => {
|
|
1088
1088
|
let n = "";
|
|
1089
1089
|
for (const i of t.cssRules)
|
|
1090
1090
|
n += i.cssText;
|
|
1091
|
-
return
|
|
1091
|
+
return Ti(n);
|
|
1092
1092
|
})(e) : e;
|
|
1093
1093
|
/**
|
|
1094
1094
|
* @license
|
|
1095
1095
|
* Copyright 2017 Google LLC
|
|
1096
1096
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1097
1097
|
*/
|
|
1098
|
-
const { is:
|
|
1098
|
+
const { is: Ii, defineProperty: Li, getOwnPropertyDescriptor: Ui, getOwnPropertyNames: Ri, getOwnPropertySymbols: Mi, getPrototypeOf: ji } = Object, O = globalThis, $e = O.trustedTypes, Hi = $e ? $e.emptyScript : "", Ut = O.reactiveElementPolyfillSupport, X = (e, t) => e, mt = { toAttribute(e, t) {
|
|
1099
1099
|
switch (t) {
|
|
1100
1100
|
case Boolean:
|
|
1101
|
-
e = e ?
|
|
1101
|
+
e = e ? Hi : null;
|
|
1102
1102
|
break;
|
|
1103
1103
|
case Object:
|
|
1104
1104
|
case Array:
|
|
@@ -1123,23 +1123,23 @@ const { is: Oi, defineProperty: Ti, getOwnPropertyDescriptor: Pi, getOwnProperty
|
|
|
1123
1123
|
}
|
|
1124
1124
|
}
|
|
1125
1125
|
return n;
|
|
1126
|
-
} },
|
|
1127
|
-
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")),
|
|
1128
|
-
let
|
|
1126
|
+
} }, Jt = (e, t) => !Ii(e, t), ve = { attribute: !0, type: String, converter: mt, reflect: !1, hasChanged: Jt };
|
|
1127
|
+
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), O.litPropertyMetadata ?? (O.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
1128
|
+
let H = class extends HTMLElement {
|
|
1129
1129
|
static addInitializer(t) {
|
|
1130
1130
|
this._$Ei(), (this.l ?? (this.l = [])).push(t);
|
|
1131
1131
|
}
|
|
1132
1132
|
static get observedAttributes() {
|
|
1133
1133
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
1134
1134
|
}
|
|
1135
|
-
static createProperty(t, n =
|
|
1135
|
+
static createProperty(t, n = ve) {
|
|
1136
1136
|
if (n.state && (n.attribute = !1), this._$Ei(), this.elementProperties.set(t, n), !n.noAccessor) {
|
|
1137
1137
|
const i = Symbol(), r = this.getPropertyDescriptor(t, i, n);
|
|
1138
|
-
r !== void 0 &&
|
|
1138
|
+
r !== void 0 && Li(this.prototype, t, r);
|
|
1139
1139
|
}
|
|
1140
1140
|
}
|
|
1141
1141
|
static getPropertyDescriptor(t, n, i) {
|
|
1142
|
-
const { get: r, set: s } =
|
|
1142
|
+
const { get: r, set: s } = Ui(this.prototype, t) ?? { get() {
|
|
1143
1143
|
return this[n];
|
|
1144
1144
|
}, set(o) {
|
|
1145
1145
|
this[n] = o;
|
|
@@ -1152,19 +1152,19 @@ let j = class extends HTMLElement {
|
|
|
1152
1152
|
}, configurable: !0, enumerable: !0 };
|
|
1153
1153
|
}
|
|
1154
1154
|
static getPropertyOptions(t) {
|
|
1155
|
-
return this.elementProperties.get(t) ??
|
|
1155
|
+
return this.elementProperties.get(t) ?? ve;
|
|
1156
1156
|
}
|
|
1157
1157
|
static _$Ei() {
|
|
1158
|
-
if (this.hasOwnProperty(
|
|
1158
|
+
if (this.hasOwnProperty(X("elementProperties")))
|
|
1159
1159
|
return;
|
|
1160
|
-
const t =
|
|
1160
|
+
const t = ji(this);
|
|
1161
1161
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
1162
1162
|
}
|
|
1163
1163
|
static finalize() {
|
|
1164
|
-
if (this.hasOwnProperty(
|
|
1164
|
+
if (this.hasOwnProperty(X("finalized")))
|
|
1165
1165
|
return;
|
|
1166
|
-
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(
|
|
1167
|
-
const n = this.properties, i = [...
|
|
1166
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(X("properties"))) {
|
|
1167
|
+
const n = this.properties, i = [...Ri(n), ...Mi(n)];
|
|
1168
1168
|
for (const r of i)
|
|
1169
1169
|
this.createProperty(r, n[r]);
|
|
1170
1170
|
}
|
|
@@ -1187,9 +1187,9 @@ let j = class extends HTMLElement {
|
|
|
1187
1187
|
if (Array.isArray(t)) {
|
|
1188
1188
|
const i = new Set(t.flat(1 / 0).reverse());
|
|
1189
1189
|
for (const r of i)
|
|
1190
|
-
n.unshift(
|
|
1190
|
+
n.unshift(ge(r));
|
|
1191
1191
|
} else
|
|
1192
|
-
t !== void 0 && n.push(
|
|
1192
|
+
t !== void 0 && n.push(ge(t));
|
|
1193
1193
|
return n;
|
|
1194
1194
|
}
|
|
1195
1195
|
static _$Eu(t, n) {
|
|
@@ -1219,7 +1219,7 @@ let j = class extends HTMLElement {
|
|
|
1219
1219
|
}
|
|
1220
1220
|
createRenderRoot() {
|
|
1221
1221
|
const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
|
1222
|
-
return
|
|
1222
|
+
return Pi(t, this.constructor.elementStyles), t;
|
|
1223
1223
|
}
|
|
1224
1224
|
connectedCallback() {
|
|
1225
1225
|
var t;
|
|
@@ -1244,7 +1244,7 @@ let j = class extends HTMLElement {
|
|
|
1244
1244
|
var s;
|
|
1245
1245
|
const i = this.constructor.elementProperties.get(t), r = this.constructor._$Eu(t, i);
|
|
1246
1246
|
if (r !== void 0 && i.reflect === !0) {
|
|
1247
|
-
const o = (((s = i.converter) == null ? void 0 : s.toAttribute) !== void 0 ? i.converter :
|
|
1247
|
+
const o = (((s = i.converter) == null ? void 0 : s.toAttribute) !== void 0 ? i.converter : mt).toAttribute(n, i.type);
|
|
1248
1248
|
this._$Em = t, o == null ? this.removeAttribute(r) : this.setAttribute(r, o), this._$Em = null;
|
|
1249
1249
|
}
|
|
1250
1250
|
}
|
|
@@ -1252,13 +1252,13 @@ let j = class extends HTMLElement {
|
|
|
1252
1252
|
var s;
|
|
1253
1253
|
const i = this.constructor, r = i._$Eh.get(t);
|
|
1254
1254
|
if (r !== void 0 && this._$Em !== r) {
|
|
1255
|
-
const o = i.getPropertyOptions(r), a = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((s = o.converter) == null ? void 0 : s.fromAttribute) !== void 0 ? o.converter :
|
|
1255
|
+
const o = i.getPropertyOptions(r), a = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((s = o.converter) == null ? void 0 : s.fromAttribute) !== void 0 ? o.converter : mt;
|
|
1256
1256
|
this._$Em = r, this[r] = a.fromAttribute(n, o.type), this._$Em = null;
|
|
1257
1257
|
}
|
|
1258
1258
|
}
|
|
1259
1259
|
requestUpdate(t, n, i, r = !1, s) {
|
|
1260
1260
|
if (t !== void 0) {
|
|
1261
|
-
if (i ?? (i = this.constructor.getPropertyOptions(t)), !(i.hasChanged ??
|
|
1261
|
+
if (i ?? (i = this.constructor.getPropertyOptions(t)), !(i.hasChanged ?? Jt)(r ? s : this[t], n))
|
|
1262
1262
|
return;
|
|
1263
1263
|
this.C(t, n, i);
|
|
1264
1264
|
}
|
|
@@ -1336,68 +1336,68 @@ let j = class extends HTMLElement {
|
|
|
1336
1336
|
firstUpdated(t) {
|
|
1337
1337
|
}
|
|
1338
1338
|
};
|
|
1339
|
-
|
|
1339
|
+
H.elementStyles = [], H.shadowRootOptions = { mode: "open" }, H[X("elementProperties")] = /* @__PURE__ */ new Map(), H[X("finalized")] = /* @__PURE__ */ new Map(), Ut == null || Ut({ ReactiveElement: H }), (O.reactiveElementVersions ?? (O.reactiveElementVersions = [])).push("2.0.1");
|
|
1340
1340
|
/**
|
|
1341
1341
|
* @license
|
|
1342
1342
|
* Copyright 2017 Google LLC
|
|
1343
1343
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1344
1344
|
*/
|
|
1345
|
-
const
|
|
1346
|
-
\f\r]`,
|
|
1347
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
1348
|
-
function
|
|
1345
|
+
const J = globalThis, yt = J.trustedTypes, me = yt ? yt.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, $n = "$lit$", E = `lit$${(Math.random() + "").slice(9)}$`, vn = "?" + E, Ni = `<${vn}>`, L = document, tt = () => L.createComment(""), et = (e) => e === null || typeof e != "object" && typeof e != "function", mn = Array.isArray, Di = (e) => mn(e) || typeof (e == null ? void 0 : e[Symbol.iterator]) == "function", Rt = `[
|
|
1346
|
+
\f\r]`, Q = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ye = /-->/g, be = />/g, T = RegExp(`>|${Rt}(?:([^\\s"'>=/]+)(${Rt}*=${Rt}*(?:[^
|
|
1347
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), _e = /'/g, we = /"/g, yn = /^(?:script|style|textarea|title)$/i, Bi = (e) => (t, ...n) => ({ _$litType$: e, strings: t, values: n }), w = Bi(1), U = Symbol.for("lit-noChange"), p = Symbol.for("lit-nothing"), Se = /* @__PURE__ */ new WeakMap(), I = L.createTreeWalker(L, 129);
|
|
1348
|
+
function bn(e, t) {
|
|
1349
1349
|
if (!Array.isArray(e) || !e.hasOwnProperty("raw"))
|
|
1350
1350
|
throw Error("invalid template strings array");
|
|
1351
|
-
return
|
|
1351
|
+
return me !== void 0 ? me.createHTML(t) : t;
|
|
1352
1352
|
}
|
|
1353
|
-
const
|
|
1353
|
+
const zi = (e, t) => {
|
|
1354
1354
|
const n = e.length - 1, i = [];
|
|
1355
|
-
let r, s = t === 2 ? "<svg>" : "", o =
|
|
1355
|
+
let r, s = t === 2 ? "<svg>" : "", o = Q;
|
|
1356
1356
|
for (let a = 0; a < n; a++) {
|
|
1357
1357
|
const l = e[a];
|
|
1358
1358
|
let c, u, h = -1, d = 0;
|
|
1359
1359
|
for (; d < l.length && (o.lastIndex = d, u = o.exec(l), u !== null); )
|
|
1360
|
-
d = o.lastIndex, o ===
|
|
1361
|
-
const f = o ===
|
|
1362
|
-
s += o ===
|
|
1360
|
+
d = o.lastIndex, o === Q ? u[1] === "!--" ? o = ye : u[1] !== void 0 ? o = be : u[2] !== void 0 ? (yn.test(u[2]) && (r = RegExp("</" + u[2], "g")), o = T) : u[3] !== void 0 && (o = T) : o === T ? u[0] === ">" ? (o = r ?? Q, h = -1) : u[1] === void 0 ? h = -2 : (h = o.lastIndex - u[2].length, c = u[1], o = u[3] === void 0 ? T : u[3] === '"' ? we : _e) : o === we || o === _e ? o = T : o === ye || o === be ? o = Q : (o = T, r = void 0);
|
|
1361
|
+
const f = o === T && e[a + 1].startsWith("/>") ? " " : "";
|
|
1362
|
+
s += o === Q ? l + Ni : h >= 0 ? (i.push(c), l.slice(0, h) + $n + l.slice(h) + E + f) : l + E + (h === -2 ? a : f);
|
|
1363
1363
|
}
|
|
1364
|
-
return [
|
|
1364
|
+
return [bn(e, s + (e[n] || "<?>") + (t === 2 ? "</svg>" : "")), i];
|
|
1365
1365
|
};
|
|
1366
|
-
class
|
|
1366
|
+
class nt {
|
|
1367
1367
|
constructor({ strings: t, _$litType$: n }, i) {
|
|
1368
1368
|
let r;
|
|
1369
1369
|
this.parts = [];
|
|
1370
1370
|
let s = 0, o = 0;
|
|
1371
|
-
const a = t.length - 1, l = this.parts, [c, u] =
|
|
1372
|
-
if (this.el =
|
|
1371
|
+
const a = t.length - 1, l = this.parts, [c, u] = zi(t, n);
|
|
1372
|
+
if (this.el = nt.createElement(c, i), I.currentNode = this.el.content, n === 2) {
|
|
1373
1373
|
const h = this.el.content.firstChild;
|
|
1374
1374
|
h.replaceWith(...h.childNodes);
|
|
1375
1375
|
}
|
|
1376
|
-
for (; (r =
|
|
1376
|
+
for (; (r = I.nextNode()) !== null && l.length < a; ) {
|
|
1377
1377
|
if (r.nodeType === 1) {
|
|
1378
1378
|
if (r.hasAttributes())
|
|
1379
1379
|
for (const h of r.getAttributeNames())
|
|
1380
|
-
if (h.endsWith(
|
|
1381
|
-
const d = u[o++], f = r.getAttribute(h).split(
|
|
1382
|
-
l.push({ type: 1, index: s, name: $[2], strings: f, ctor: $[1] === "." ?
|
|
1380
|
+
if (h.endsWith($n)) {
|
|
1381
|
+
const d = u[o++], f = r.getAttribute(h).split(E), $ = /([.?@])?(.*)/.exec(d);
|
|
1382
|
+
l.push({ type: 1, index: s, name: $[2], strings: f, ctor: $[1] === "." ? Wi : $[1] === "?" ? Gi : $[1] === "@" ? qi : Et }), r.removeAttribute(h);
|
|
1383
1383
|
} else
|
|
1384
|
-
h.startsWith(
|
|
1385
|
-
if (
|
|
1386
|
-
const h = r.textContent.split(
|
|
1384
|
+
h.startsWith(E) && (l.push({ type: 6, index: s }), r.removeAttribute(h));
|
|
1385
|
+
if (yn.test(r.tagName)) {
|
|
1386
|
+
const h = r.textContent.split(E), d = h.length - 1;
|
|
1387
1387
|
if (d > 0) {
|
|
1388
|
-
r.textContent =
|
|
1388
|
+
r.textContent = yt ? yt.emptyScript : "";
|
|
1389
1389
|
for (let f = 0; f < d; f++)
|
|
1390
|
-
r.append(h[f],
|
|
1391
|
-
r.append(h[d],
|
|
1390
|
+
r.append(h[f], tt()), I.nextNode(), l.push({ type: 2, index: ++s });
|
|
1391
|
+
r.append(h[d], tt());
|
|
1392
1392
|
}
|
|
1393
1393
|
}
|
|
1394
1394
|
} else if (r.nodeType === 8)
|
|
1395
|
-
if (r.data ===
|
|
1395
|
+
if (r.data === vn)
|
|
1396
1396
|
l.push({ type: 2, index: s });
|
|
1397
1397
|
else {
|
|
1398
1398
|
let h = -1;
|
|
1399
|
-
for (; (h = r.data.indexOf(
|
|
1400
|
-
l.push({ type: 7, index: s }), h +=
|
|
1399
|
+
for (; (h = r.data.indexOf(E, h + 1)) !== -1; )
|
|
1400
|
+
l.push({ type: 7, index: s }), h += E.length - 1;
|
|
1401
1401
|
}
|
|
1402
1402
|
s++;
|
|
1403
1403
|
}
|
|
@@ -1407,15 +1407,15 @@ class et {
|
|
|
1407
1407
|
return i.innerHTML = t, i;
|
|
1408
1408
|
}
|
|
1409
1409
|
}
|
|
1410
|
-
function
|
|
1410
|
+
function q(e, t, n = e, i) {
|
|
1411
1411
|
var o, a;
|
|
1412
|
-
if (t ===
|
|
1412
|
+
if (t === U)
|
|
1413
1413
|
return t;
|
|
1414
1414
|
let r = i !== void 0 ? (o = n._$Co) == null ? void 0 : o[i] : n._$Cl;
|
|
1415
|
-
const s =
|
|
1416
|
-
return (r == null ? void 0 : r.constructor) !== s && ((a = r == null ? void 0 : r._$AO) == null || a.call(r, !1), s === void 0 ? r = void 0 : (r = new s(e), r._$AT(e, n, i)), i !== void 0 ? (n._$Co ?? (n._$Co = []))[i] = r : n._$Cl = r), r !== void 0 && (t =
|
|
1415
|
+
const s = et(t) ? void 0 : t._$litDirective$;
|
|
1416
|
+
return (r == null ? void 0 : r.constructor) !== s && ((a = r == null ? void 0 : r._$AO) == null || a.call(r, !1), s === void 0 ? r = void 0 : (r = new s(e), r._$AT(e, n, i)), i !== void 0 ? (n._$Co ?? (n._$Co = []))[i] = r : n._$Cl = r), r !== void 0 && (t = q(e, r._$AS(e, t.values), r, i)), t;
|
|
1417
1417
|
}
|
|
1418
|
-
class
|
|
1418
|
+
class Fi {
|
|
1419
1419
|
constructor(t, n) {
|
|
1420
1420
|
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = n;
|
|
1421
1421
|
}
|
|
@@ -1427,16 +1427,16 @@ class Di {
|
|
|
1427
1427
|
}
|
|
1428
1428
|
u(t) {
|
|
1429
1429
|
const { el: { content: n }, parts: i } = this._$AD, r = ((t == null ? void 0 : t.creationScope) ?? L).importNode(n, !0);
|
|
1430
|
-
|
|
1431
|
-
let s =
|
|
1430
|
+
I.currentNode = r;
|
|
1431
|
+
let s = I.nextNode(), o = 0, a = 0, l = i[0];
|
|
1432
1432
|
for (; l !== void 0; ) {
|
|
1433
1433
|
if (o === l.index) {
|
|
1434
1434
|
let c;
|
|
1435
|
-
l.type === 2 ? c = new
|
|
1435
|
+
l.type === 2 ? c = new st(s, s.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(s, l.name, l.strings, this, t) : l.type === 6 && (c = new Yi(s, this, t)), this._$AV.push(c), l = i[++a];
|
|
1436
1436
|
}
|
|
1437
|
-
o !== (l == null ? void 0 : l.index) && (s =
|
|
1437
|
+
o !== (l == null ? void 0 : l.index) && (s = I.nextNode(), o++);
|
|
1438
1438
|
}
|
|
1439
|
-
return
|
|
1439
|
+
return I.currentNode = L, r;
|
|
1440
1440
|
}
|
|
1441
1441
|
p(t) {
|
|
1442
1442
|
let n = 0;
|
|
@@ -1444,7 +1444,7 @@ class Di {
|
|
|
1444
1444
|
i !== void 0 && (i.strings !== void 0 ? (i._$AI(t, i, n), n += i.strings.length - 2) : i._$AI(t[n])), n++;
|
|
1445
1445
|
}
|
|
1446
1446
|
}
|
|
1447
|
-
class
|
|
1447
|
+
class st {
|
|
1448
1448
|
get _$AU() {
|
|
1449
1449
|
var t;
|
|
1450
1450
|
return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
|
|
@@ -1464,7 +1464,7 @@ class rt {
|
|
|
1464
1464
|
return this._$AB;
|
|
1465
1465
|
}
|
|
1466
1466
|
_$AI(t, n = this) {
|
|
1467
|
-
t =
|
|
1467
|
+
t = q(this, t, n), et(t) ? t === p || t == null || t === "" ? (this._$AH !== p && this._$AR(), this._$AH = p) : t !== this._$AH && t !== U && this._(t) : t._$litType$ !== void 0 ? this.g(t) : t.nodeType !== void 0 ? this.$(t) : Di(t) ? this.T(t) : this._(t);
|
|
1468
1468
|
}
|
|
1469
1469
|
k(t) {
|
|
1470
1470
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -1473,28 +1473,28 @@ class rt {
|
|
|
1473
1473
|
this._$AH !== t && (this._$AR(), this._$AH = this.k(t));
|
|
1474
1474
|
}
|
|
1475
1475
|
_(t) {
|
|
1476
|
-
this._$AH !== p &&
|
|
1476
|
+
this._$AH !== p && et(this._$AH) ? this._$AA.nextSibling.data = t : this.$(L.createTextNode(t)), this._$AH = t;
|
|
1477
1477
|
}
|
|
1478
1478
|
g(t) {
|
|
1479
1479
|
var s;
|
|
1480
|
-
const { values: n, _$litType$: i } = t, r = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el =
|
|
1480
|
+
const { values: n, _$litType$: i } = t, r = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = nt.createElement(bn(i.h, i.h[0]), this.options)), i);
|
|
1481
1481
|
if (((s = this._$AH) == null ? void 0 : s._$AD) === r)
|
|
1482
1482
|
this._$AH.p(n);
|
|
1483
1483
|
else {
|
|
1484
|
-
const o = new
|
|
1484
|
+
const o = new Fi(r, this), a = o.u(this.options);
|
|
1485
1485
|
o.p(n), this.$(a), this._$AH = o;
|
|
1486
1486
|
}
|
|
1487
1487
|
}
|
|
1488
1488
|
_$AC(t) {
|
|
1489
|
-
let n =
|
|
1490
|
-
return n === void 0 &&
|
|
1489
|
+
let n = Se.get(t.strings);
|
|
1490
|
+
return n === void 0 && Se.set(t.strings, n = new nt(t)), n;
|
|
1491
1491
|
}
|
|
1492
1492
|
T(t) {
|
|
1493
|
-
|
|
1493
|
+
mn(this._$AH) || (this._$AH = [], this._$AR());
|
|
1494
1494
|
const n = this._$AH;
|
|
1495
1495
|
let i, r = 0;
|
|
1496
1496
|
for (const s of t)
|
|
1497
|
-
r === n.length ? n.push(i = new
|
|
1497
|
+
r === n.length ? n.push(i = new st(this.k(tt()), this.k(tt()), this, this.options)) : i = n[r], i._$AI(s), r++;
|
|
1498
1498
|
r < n.length && (this._$AR(i && i._$AB.nextSibling, r), n.length = r);
|
|
1499
1499
|
}
|
|
1500
1500
|
_$AR(t = this._$AA.nextSibling, n) {
|
|
@@ -1509,7 +1509,7 @@ class rt {
|
|
|
1509
1509
|
this._$AM === void 0 && (this._$Cv = t, (n = this._$AP) == null || n.call(this, t));
|
|
1510
1510
|
}
|
|
1511
1511
|
}
|
|
1512
|
-
class
|
|
1512
|
+
class Et {
|
|
1513
1513
|
get tagName() {
|
|
1514
1514
|
return this.element.tagName;
|
|
1515
1515
|
}
|
|
@@ -1523,12 +1523,12 @@ class At {
|
|
|
1523
1523
|
const s = this.strings;
|
|
1524
1524
|
let o = !1;
|
|
1525
1525
|
if (s === void 0)
|
|
1526
|
-
t =
|
|
1526
|
+
t = q(this, t, n, 0), o = !et(t) || t !== this._$AH && t !== U, o && (this._$AH = t);
|
|
1527
1527
|
else {
|
|
1528
1528
|
const a = t;
|
|
1529
1529
|
let l, c;
|
|
1530
1530
|
for (t = s[0], l = 0; l < s.length - 1; l++)
|
|
1531
|
-
c =
|
|
1531
|
+
c = q(this, a[i + l], n, l), c === U && (c = this._$AH[l]), o || (o = !et(c) || c !== this._$AH[l]), c === p ? t = p : t !== p && (t += (c ?? "") + s[l + 1]), this._$AH[l] = c;
|
|
1532
1532
|
}
|
|
1533
1533
|
o && !r && this.O(t);
|
|
1534
1534
|
}
|
|
@@ -1536,7 +1536,7 @@ class At {
|
|
|
1536
1536
|
t === p ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
|
1537
1537
|
}
|
|
1538
1538
|
}
|
|
1539
|
-
class
|
|
1539
|
+
class Wi extends Et {
|
|
1540
1540
|
constructor() {
|
|
1541
1541
|
super(...arguments), this.type = 3;
|
|
1542
1542
|
}
|
|
@@ -1544,7 +1544,7 @@ class Bi extends At {
|
|
|
1544
1544
|
this.element[this.name] = t === p ? void 0 : t;
|
|
1545
1545
|
}
|
|
1546
1546
|
}
|
|
1547
|
-
let
|
|
1547
|
+
let Gi = class extends Et {
|
|
1548
1548
|
constructor() {
|
|
1549
1549
|
super(...arguments), this.type = 4;
|
|
1550
1550
|
}
|
|
@@ -1552,12 +1552,12 @@ let zi = class extends At {
|
|
|
1552
1552
|
this.element.toggleAttribute(this.name, !!t && t !== p);
|
|
1553
1553
|
}
|
|
1554
1554
|
};
|
|
1555
|
-
class
|
|
1555
|
+
class qi extends Et {
|
|
1556
1556
|
constructor(t, n, i, r, s) {
|
|
1557
1557
|
super(t, n, i, r, s), this.type = 5;
|
|
1558
1558
|
}
|
|
1559
1559
|
_$AI(t, n = this) {
|
|
1560
|
-
if ((t =
|
|
1560
|
+
if ((t = q(this, t, n, 0) ?? p) === U)
|
|
1561
1561
|
return;
|
|
1562
1562
|
const i = this._$AH, r = t === p && i !== p || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, s = t !== p && (i === p || r);
|
|
1563
1563
|
r && this.element.removeEventListener(this.name, this, i), s && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
|
@@ -1567,7 +1567,7 @@ class Fi extends At {
|
|
|
1567
1567
|
typeof this._$AH == "function" ? this._$AH.call(((n = this.options) == null ? void 0 : n.host) ?? this.element, t) : this._$AH.handleEvent(t);
|
|
1568
1568
|
}
|
|
1569
1569
|
}
|
|
1570
|
-
class
|
|
1570
|
+
class Yi {
|
|
1571
1571
|
constructor(t, n, i) {
|
|
1572
1572
|
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = n, this.options = i;
|
|
1573
1573
|
}
|
|
@@ -1575,17 +1575,17 @@ class Wi {
|
|
|
1575
1575
|
return this._$AM._$AU;
|
|
1576
1576
|
}
|
|
1577
1577
|
_$AI(t) {
|
|
1578
|
-
|
|
1578
|
+
q(this, t);
|
|
1579
1579
|
}
|
|
1580
1580
|
}
|
|
1581
|
-
const
|
|
1582
|
-
|
|
1583
|
-
const
|
|
1581
|
+
const Mt = J.litHtmlPolyfillSupport;
|
|
1582
|
+
Mt == null || Mt(nt, st), (J.litHtmlVersions ?? (J.litHtmlVersions = [])).push("3.0.2");
|
|
1583
|
+
const Zi = (e, t, n) => {
|
|
1584
1584
|
const i = (n == null ? void 0 : n.renderBefore) ?? t;
|
|
1585
1585
|
let r = i._$litPart$;
|
|
1586
1586
|
if (r === void 0) {
|
|
1587
1587
|
const s = (n == null ? void 0 : n.renderBefore) ?? null;
|
|
1588
|
-
i._$litPart$ = r = new
|
|
1588
|
+
i._$litPart$ = r = new st(t.insertBefore(tt(), s), s, void 0, n ?? {});
|
|
1589
1589
|
}
|
|
1590
1590
|
return r._$AI(e), r;
|
|
1591
1591
|
};
|
|
@@ -1594,7 +1594,7 @@ const Gi = (e, t, n) => {
|
|
|
1594
1594
|
* Copyright 2017 Google LLC
|
|
1595
1595
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1596
1596
|
*/
|
|
1597
|
-
let
|
|
1597
|
+
let A = class extends H {
|
|
1598
1598
|
constructor() {
|
|
1599
1599
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
1600
1600
|
}
|
|
@@ -1605,7 +1605,7 @@ let x = class extends j {
|
|
|
1605
1605
|
}
|
|
1606
1606
|
update(t) {
|
|
1607
1607
|
const n = this.render();
|
|
1608
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do =
|
|
1608
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Zi(n, this.renderRoot, this.renderOptions);
|
|
1609
1609
|
}
|
|
1610
1610
|
connectedCallback() {
|
|
1611
1611
|
var t;
|
|
@@ -1616,20 +1616,20 @@ let x = class extends j {
|
|
|
1616
1616
|
super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
|
|
1617
1617
|
}
|
|
1618
1618
|
render() {
|
|
1619
|
-
return
|
|
1619
|
+
return U;
|
|
1620
1620
|
}
|
|
1621
1621
|
};
|
|
1622
|
-
var
|
|
1623
|
-
|
|
1624
|
-
const
|
|
1625
|
-
|
|
1622
|
+
var We;
|
|
1623
|
+
A._$litElement$ = !0, A.finalized = !0, (We = globalThis.litElementHydrateSupport) == null || We.call(globalThis, { LitElement: A });
|
|
1624
|
+
const jt = globalThis.litElementPolyfillSupport;
|
|
1625
|
+
jt == null || jt({ LitElement: A });
|
|
1626
1626
|
(globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.0.1");
|
|
1627
1627
|
/**
|
|
1628
1628
|
* @license
|
|
1629
1629
|
* Copyright 2017 Google LLC
|
|
1630
1630
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1631
1631
|
*/
|
|
1632
|
-
const
|
|
1632
|
+
const Ki = { attribute: !0, type: String, converter: mt, reflect: !1, hasChanged: Jt }, Qi = (e = Ki, t, n) => {
|
|
1633
1633
|
const { kind: i, metadata: r } = n;
|
|
1634
1634
|
let s = globalThis.litPropertyMetadata.get(r);
|
|
1635
1635
|
if (s === void 0 && globalThis.litPropertyMetadata.set(r, s = /* @__PURE__ */ new Map()), s.set(n.name, e), i === "accessor") {
|
|
@@ -1650,8 +1650,8 @@ const Yi = { attribute: !0, type: String, converter: $t, reflect: !1, hasChanged
|
|
|
1650
1650
|
}
|
|
1651
1651
|
throw Error("Unsupported decorator location: " + i);
|
|
1652
1652
|
};
|
|
1653
|
-
function
|
|
1654
|
-
return (t, n) => typeof n == "object" ?
|
|
1653
|
+
function _(e) {
|
|
1654
|
+
return (t, n) => typeof n == "object" ? Qi(e, t, n) : ((i, r, s) => {
|
|
1655
1655
|
const o = r.hasOwnProperty(s);
|
|
1656
1656
|
return r.constructor.createProperty(s, o ? { ...i, wrapped: !0 } : i), o ? Object.getOwnPropertyDescriptor(r, s) : void 0;
|
|
1657
1657
|
})(e, t, n);
|
|
@@ -1661,15 +1661,15 @@ function b(e) {
|
|
|
1661
1661
|
* Copyright 2017 Google LLC
|
|
1662
1662
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1663
1663
|
*/
|
|
1664
|
-
function
|
|
1665
|
-
return
|
|
1664
|
+
function Z(e) {
|
|
1665
|
+
return _({ ...e, state: !0, attribute: !1 });
|
|
1666
1666
|
}
|
|
1667
|
-
var
|
|
1668
|
-
for (var r = i > 1 ? void 0 : i ?
|
|
1667
|
+
var Xi = Object.defineProperty, Ji = Object.getOwnPropertyDescriptor, Vi = (e, t, n, i) => {
|
|
1668
|
+
for (var r = i > 1 ? void 0 : i ? Ji(t, n) : t, s = e.length - 1, o; s >= 0; s--)
|
|
1669
1669
|
(o = e[s]) && (r = (i ? o(t, n, r) : o(r)) || r);
|
|
1670
|
-
return i && r &&
|
|
1670
|
+
return i && r && Xi(t, n, r), r;
|
|
1671
1671
|
};
|
|
1672
|
-
class
|
|
1672
|
+
class Vt extends A {
|
|
1673
1673
|
constructor() {
|
|
1674
1674
|
super(...arguments), this.anchor = "BottomRight";
|
|
1675
1675
|
}
|
|
@@ -1681,8 +1681,8 @@ class Xt extends x {
|
|
|
1681
1681
|
return this.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right"), p;
|
|
1682
1682
|
}
|
|
1683
1683
|
}
|
|
1684
|
-
|
|
1685
|
-
|
|
1684
|
+
Vt.styles = [
|
|
1685
|
+
M`
|
|
1686
1686
|
:host {
|
|
1687
1687
|
position: fixed;
|
|
1688
1688
|
display: flex;
|
|
@@ -1700,16 +1700,16 @@ Xt.styles = [
|
|
|
1700
1700
|
}
|
|
1701
1701
|
`
|
|
1702
1702
|
];
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
],
|
|
1703
|
+
Vi([
|
|
1704
|
+
_({ attribute: !0 })
|
|
1705
|
+
], Vt.prototype, "anchor", 2);
|
|
1706
1706
|
/**
|
|
1707
1707
|
* @license
|
|
1708
1708
|
* Copyright 2017 Google LLC
|
|
1709
1709
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1710
1710
|
*/
|
|
1711
|
-
const
|
|
1712
|
-
let
|
|
1711
|
+
const te = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, ee = (e) => (...t) => ({ _$litDirective$: e, values: t });
|
|
1712
|
+
let _n = class {
|
|
1713
1713
|
constructor(t) {
|
|
1714
1714
|
}
|
|
1715
1715
|
get _$AU() {
|
|
@@ -1730,68 +1730,68 @@ let mn = class {
|
|
|
1730
1730
|
* Copyright 2020 Google LLC
|
|
1731
1731
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1732
1732
|
*/
|
|
1733
|
-
const
|
|
1733
|
+
const tr = (e) => e.strings === void 0;
|
|
1734
1734
|
/**
|
|
1735
1735
|
* @license
|
|
1736
1736
|
* Copyright 2017 Google LLC
|
|
1737
1737
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1738
1738
|
*/
|
|
1739
|
-
const
|
|
1739
|
+
const V = (e, t) => {
|
|
1740
1740
|
var i;
|
|
1741
1741
|
const n = e._$AN;
|
|
1742
1742
|
if (n === void 0)
|
|
1743
1743
|
return !1;
|
|
1744
1744
|
for (const r of n)
|
|
1745
|
-
(i = r._$AO) == null || i.call(r, t, !1),
|
|
1745
|
+
(i = r._$AO) == null || i.call(r, t, !1), V(r, t);
|
|
1746
1746
|
return !0;
|
|
1747
|
-
},
|
|
1747
|
+
}, bt = (e) => {
|
|
1748
1748
|
let t, n;
|
|
1749
1749
|
do {
|
|
1750
1750
|
if ((t = e._$AM) === void 0)
|
|
1751
1751
|
break;
|
|
1752
1752
|
n = t._$AN, n.delete(e), e = t;
|
|
1753
1753
|
} while ((n == null ? void 0 : n.size) === 0);
|
|
1754
|
-
},
|
|
1754
|
+
}, wn = (e) => {
|
|
1755
1755
|
for (let t; t = e._$AM; e = t) {
|
|
1756
1756
|
let n = t._$AN;
|
|
1757
1757
|
if (n === void 0)
|
|
1758
1758
|
t._$AN = n = /* @__PURE__ */ new Set();
|
|
1759
1759
|
else if (n.has(e))
|
|
1760
1760
|
break;
|
|
1761
|
-
n.add(e),
|
|
1761
|
+
n.add(e), ir(t);
|
|
1762
1762
|
}
|
|
1763
1763
|
};
|
|
1764
|
-
function
|
|
1765
|
-
this._$AN !== void 0 ? (
|
|
1764
|
+
function er(e) {
|
|
1765
|
+
this._$AN !== void 0 ? (bt(this), this._$AM = e, wn(this)) : this._$AM = e;
|
|
1766
1766
|
}
|
|
1767
|
-
function
|
|
1767
|
+
function nr(e, t = !1, n = 0) {
|
|
1768
1768
|
const i = this._$AH, r = this._$AN;
|
|
1769
1769
|
if (r !== void 0 && r.size !== 0)
|
|
1770
1770
|
if (t)
|
|
1771
1771
|
if (Array.isArray(i))
|
|
1772
1772
|
for (let s = n; s < i.length; s++)
|
|
1773
|
-
|
|
1773
|
+
V(i[s], !1), bt(i[s]);
|
|
1774
1774
|
else
|
|
1775
|
-
i != null && (
|
|
1775
|
+
i != null && (V(i, !1), bt(i));
|
|
1776
1776
|
else
|
|
1777
|
-
|
|
1777
|
+
V(this, e);
|
|
1778
1778
|
}
|
|
1779
|
-
const
|
|
1780
|
-
e.type ==
|
|
1779
|
+
const ir = (e) => {
|
|
1780
|
+
e.type == te.CHILD && (e._$AP ?? (e._$AP = nr), e._$AQ ?? (e._$AQ = er));
|
|
1781
1781
|
};
|
|
1782
|
-
class
|
|
1782
|
+
class Sn extends _n {
|
|
1783
1783
|
constructor() {
|
|
1784
1784
|
super(...arguments), this._$AN = void 0;
|
|
1785
1785
|
}
|
|
1786
1786
|
_$AT(t, n, i) {
|
|
1787
|
-
super._$AT(t, n, i),
|
|
1787
|
+
super._$AT(t, n, i), wn(this), this.isConnected = t._$AU;
|
|
1788
1788
|
}
|
|
1789
1789
|
_$AO(t, n = !0) {
|
|
1790
1790
|
var i, r;
|
|
1791
|
-
t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (r = this.disconnected) == null || r.call(this)), n && (
|
|
1791
|
+
t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (r = this.disconnected) == null || r.call(this)), n && (V(this, t), bt(this));
|
|
1792
1792
|
}
|
|
1793
1793
|
setValue(t) {
|
|
1794
|
-
if (
|
|
1794
|
+
if (tr(this._$Ct))
|
|
1795
1795
|
this._$Ct._$AI(t, this);
|
|
1796
1796
|
else {
|
|
1797
1797
|
const n = [...this._$Ct._$AH];
|
|
@@ -1803,34 +1803,34 @@ class bn extends mn {
|
|
|
1803
1803
|
reconnected() {
|
|
1804
1804
|
}
|
|
1805
1805
|
}
|
|
1806
|
-
const
|
|
1807
|
-
let
|
|
1808
|
-
const
|
|
1806
|
+
const rr = /* @__PURE__ */ new WeakMap();
|
|
1807
|
+
let xe = 0;
|
|
1808
|
+
const Ht = /* @__PURE__ */ new Map(), Ae = /* @__PURE__ */ new WeakSet(), Ce = () => new Promise((e) => requestAnimationFrame(e)), Ee = [{ transform: "translateY(-100%) scale(0)", opacity: 0 }], sr = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], ke = (e, t) => {
|
|
1809
1809
|
const n = e - t;
|
|
1810
1810
|
return n === 0 ? void 0 : n;
|
|
1811
|
-
},
|
|
1811
|
+
}, Oe = (e, t) => {
|
|
1812
1812
|
const n = e / t;
|
|
1813
1813
|
return n === 1 ? void 0 : n;
|
|
1814
|
-
},
|
|
1815
|
-
const n =
|
|
1814
|
+
}, Nt = { left: (e, t) => {
|
|
1815
|
+
const n = ke(e, t);
|
|
1816
1816
|
return { value: n, transform: n == null || isNaN(n) ? void 0 : `translateX(${n}px)` };
|
|
1817
1817
|
}, top: (e, t) => {
|
|
1818
|
-
const n =
|
|
1818
|
+
const n = ke(e, t);
|
|
1819
1819
|
return { value: n, transform: n == null || isNaN(n) ? void 0 : `translateY(${n}px)` };
|
|
1820
1820
|
}, width: (e, t) => {
|
|
1821
1821
|
let n;
|
|
1822
1822
|
t === 0 && (t = 1, n = { width: "1px" });
|
|
1823
|
-
const i =
|
|
1823
|
+
const i = Oe(e, t);
|
|
1824
1824
|
return { value: i, overrideFrom: n, transform: i == null || isNaN(i) ? void 0 : `scaleX(${i})` };
|
|
1825
1825
|
}, height: (e, t) => {
|
|
1826
1826
|
let n;
|
|
1827
1827
|
t === 0 && (t = 1, n = { height: "1px" });
|
|
1828
|
-
const i =
|
|
1828
|
+
const i = Oe(e, t);
|
|
1829
1829
|
return { value: i, overrideFrom: n, transform: i == null || isNaN(i) ? void 0 : `scaleY(${i})` };
|
|
1830
|
-
} },
|
|
1831
|
-
class
|
|
1830
|
+
} }, or = { duration: 333, easing: "ease-in-out" }, ar = ["left", "top", "width", "height", "opacity", "color", "background"], Te = /* @__PURE__ */ new WeakMap();
|
|
1831
|
+
class lr extends Sn {
|
|
1832
1832
|
constructor(t) {
|
|
1833
|
-
if (super(t), this.t = null, this.i = null, this.o = !0, this.shouldLog = !1, t.type ===
|
|
1833
|
+
if (super(t), this.t = null, this.i = null, this.o = !0, this.shouldLog = !1, t.type === te.CHILD)
|
|
1834
1834
|
throw Error("The `animate` directive must be used in attribute position.");
|
|
1835
1835
|
this.createFinished();
|
|
1836
1836
|
}
|
|
@@ -1848,7 +1848,7 @@ class sr extends bn {
|
|
|
1848
1848
|
return p;
|
|
1849
1849
|
}
|
|
1850
1850
|
getController() {
|
|
1851
|
-
return
|
|
1851
|
+
return rr.get(this.l);
|
|
1852
1852
|
}
|
|
1853
1853
|
isDisabled() {
|
|
1854
1854
|
var t;
|
|
@@ -1857,17 +1857,17 @@ class sr extends bn {
|
|
|
1857
1857
|
update(t, [n]) {
|
|
1858
1858
|
var r;
|
|
1859
1859
|
const i = this.l === void 0;
|
|
1860
|
-
return i && (this.l = (r = t.options) == null ? void 0 : r.host, this.l.addController(this), this.element = t.element,
|
|
1860
|
+
return i && (this.l = (r = t.options) == null ? void 0 : r.host, this.l.addController(this), this.element = t.element, Te.set(this.element, this)), this.optionsOrCallback = n, (i || typeof n != "function") && this.u(n), this.render(n);
|
|
1861
1861
|
}
|
|
1862
1862
|
u(t) {
|
|
1863
1863
|
t = t ?? {};
|
|
1864
1864
|
const n = this.getController();
|
|
1865
|
-
n !== void 0 && ((t = { ...n.defaultOptions, ...t }).keyframeOptions = { ...n.defaultOptions.keyframeOptions, ...t.keyframeOptions }), t.properties ?? (t.properties =
|
|
1865
|
+
n !== void 0 && ((t = { ...n.defaultOptions, ...t }).keyframeOptions = { ...n.defaultOptions.keyframeOptions, ...t.keyframeOptions }), t.properties ?? (t.properties = ar), this.options = t;
|
|
1866
1866
|
}
|
|
1867
1867
|
p() {
|
|
1868
1868
|
const t = {}, n = this.element.getBoundingClientRect(), i = getComputedStyle(this.element);
|
|
1869
1869
|
return this.options.properties.forEach((r) => {
|
|
1870
|
-
const s = n[r] ?? (
|
|
1870
|
+
const s = n[r] ?? (Nt[r] ? void 0 : i[r]), o = Number(s);
|
|
1871
1871
|
t[r] = isNaN(o) ? s + "" : o;
|
|
1872
1872
|
}), t;
|
|
1873
1873
|
}
|
|
@@ -1889,17 +1889,17 @@ class sr extends bn {
|
|
|
1889
1889
|
if (!this.o || !this.element.isConnected || this.options.skipInitial && !this.isHostRendered)
|
|
1890
1890
|
return;
|
|
1891
1891
|
let t;
|
|
1892
|
-
this.prepare(), await
|
|
1892
|
+
this.prepare(), await Ce;
|
|
1893
1893
|
const n = this._(), i = this.A(this.options.keyframeOptions, n), r = this.p();
|
|
1894
1894
|
if (this.g !== void 0) {
|
|
1895
1895
|
const { from: s, to: o } = this.O(this.g, r, n);
|
|
1896
1896
|
this.log("measured", [this.g, r, s, o]), t = this.calculateKeyframes(s, o);
|
|
1897
1897
|
} else {
|
|
1898
|
-
const s =
|
|
1898
|
+
const s = Ht.get(this.options.inId);
|
|
1899
1899
|
if (s) {
|
|
1900
|
-
|
|
1900
|
+
Ht.delete(this.options.inId);
|
|
1901
1901
|
const { from: o, to: a } = this.O(s, r, n);
|
|
1902
|
-
t = this.calculateKeyframes(o, a), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t,
|
|
1902
|
+
t = this.calculateKeyframes(o, a), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t, xe++, t.forEach((l) => l.zIndex = xe);
|
|
1903
1903
|
} else
|
|
1904
1904
|
this.options.in && (t = [...this.options.in, {}]);
|
|
1905
1905
|
}
|
|
@@ -1916,9 +1916,9 @@ class sr extends bn {
|
|
|
1916
1916
|
}
|
|
1917
1917
|
async disconnected() {
|
|
1918
1918
|
var n;
|
|
1919
|
-
if (!this.o || (this.options.id !== void 0 &&
|
|
1919
|
+
if (!this.o || (this.options.id !== void 0 && Ht.set(this.options.id, this.g), this.options.out === void 0))
|
|
1920
1920
|
return;
|
|
1921
|
-
if (this.prepare(), await
|
|
1921
|
+
if (this.prepare(), await Ce(), (n = this.t) == null ? void 0 : n.isConnected) {
|
|
1922
1922
|
const i = this.i && this.i.parentNode === this.t ? this.i : null;
|
|
1923
1923
|
if (this.t.insertBefore(this.element, i), this.options.stabilizeOut) {
|
|
1924
1924
|
const r = this.p();
|
|
@@ -1944,19 +1944,19 @@ class sr extends bn {
|
|
|
1944
1944
|
_() {
|
|
1945
1945
|
const t = [];
|
|
1946
1946
|
for (let n = this.element.parentNode; n; n = n == null ? void 0 : n.parentNode) {
|
|
1947
|
-
const i =
|
|
1947
|
+
const i = Te.get(n);
|
|
1948
1948
|
i && !i.isDisabled() && i && t.push(i);
|
|
1949
1949
|
}
|
|
1950
1950
|
return t;
|
|
1951
1951
|
}
|
|
1952
1952
|
get isHostRendered() {
|
|
1953
|
-
const t =
|
|
1953
|
+
const t = Ae.has(this.l);
|
|
1954
1954
|
return t || this.l.updateComplete.then(() => {
|
|
1955
|
-
|
|
1955
|
+
Ae.add(this.l);
|
|
1956
1956
|
}), t;
|
|
1957
1957
|
}
|
|
1958
1958
|
A(t, n = this._()) {
|
|
1959
|
-
const i = { ...
|
|
1959
|
+
const i = { ...or };
|
|
1960
1960
|
return n.forEach((r) => Object.assign(i, r.options.keyframeOptions)), Object.assign(i, t), i;
|
|
1961
1961
|
}
|
|
1962
1962
|
O(t, n, i) {
|
|
@@ -1973,8 +1973,8 @@ class sr extends bn {
|
|
|
1973
1973
|
const a = {};
|
|
1974
1974
|
for (const l in n) {
|
|
1975
1975
|
const c = t[l], u = n[l];
|
|
1976
|
-
if (l in
|
|
1977
|
-
const h =
|
|
1976
|
+
if (l in Nt) {
|
|
1977
|
+
const h = Nt[l];
|
|
1978
1978
|
if (c === void 0 || u === void 0)
|
|
1979
1979
|
continue;
|
|
1980
1980
|
const d = h(c, u);
|
|
@@ -2007,16 +2007,16 @@ class sr extends bn {
|
|
|
2007
2007
|
this.shouldLog && !this.isDisabled() && console.log(t, this.options.id, n);
|
|
2008
2008
|
}
|
|
2009
2009
|
}
|
|
2010
|
-
const
|
|
2010
|
+
const xn = ee(lr), cr = { name: "chevron-down", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M53.0318 24.8653L33.5318 44.3653C33.1256 44.7717 32.5745 45.0001 31.9999 45.0001C31.4253 45.0001 30.8742 44.7717 30.468 44.3653L10.968 24.8653C10.122 24.0193 10.122 22.6476 10.968 21.8015C11.8141 20.9555 13.1858 20.9555 14.0318 21.8015L31.9999 39.7696L49.968 21.8015C50.8141 20.9555 52.1858 20.9555 53.0318 21.8015C53.8779 22.6476 53.8779 24.0193 53.0318 24.8653Z"/></svg>' }, ur = { name: "more-horizontal", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M18 36C15.7909 36 14 34.2091 14 32C14 29.7909 15.7909 28 18 28C20.2091 28 22 29.7909 22 32C22 34.2091 20.2091 36 18 36ZM28 32C28 34.2091 29.7909 36 32 36C34.2091 36 36 34.2091 36 32C36 29.7909 34.2091 28 32 28C29.7909 28 28 29.7909 28 32ZM46 36C43.7909 36 42 34.2091 42 32C42 29.7909 43.7909 28 46 28C48.2091 28 50 29.7909 50 32C50 34.2091 48.2091 36 46 36Z"/></svg>' }, hr = { 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>' };
|
|
2011
2011
|
/**
|
|
2012
2012
|
* @license
|
|
2013
2013
|
* Copyright 2018 Google LLC
|
|
2014
2014
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2015
2015
|
*/
|
|
2016
|
-
const
|
|
2016
|
+
const dr = ee(class extends _n {
|
|
2017
2017
|
constructor(e) {
|
|
2018
2018
|
var t;
|
|
2019
|
-
if (super(e), e.type !==
|
|
2019
|
+
if (super(e), e.type !== te.ATTRIBUTE || e.name !== "class" || ((t = e.strings) == null ? void 0 : t.length) > 2)
|
|
2020
2020
|
throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
|
|
2021
2021
|
}
|
|
2022
2022
|
render(e) {
|
|
@@ -2037,21 +2037,21 @@ const cr = Vt(class extends mn {
|
|
|
2037
2037
|
const o = !!t[s];
|
|
2038
2038
|
o === this.it.has(s) || (r = this.st) != null && r.has(s) || (o ? (n.add(s), this.it.add(s)) : (n.remove(s), this.it.delete(s)));
|
|
2039
2039
|
}
|
|
2040
|
-
return
|
|
2040
|
+
return U;
|
|
2041
2041
|
}
|
|
2042
|
-
}),
|
|
2042
|
+
}), ut = (e, t, n) => {
|
|
2043
2043
|
e && n.style.setProperty(t, e);
|
|
2044
|
-
},
|
|
2044
|
+
}, An = (e, t) => {
|
|
2045
2045
|
var n, i, r, s;
|
|
2046
|
-
|
|
2046
|
+
ut((n = e.colors) == null ? void 0 : n.primaryBackground, "--primary-background", t), ut(
|
|
2047
2047
|
(i = e.colors) == null ? void 0 : i.textOnPrimaryBackground,
|
|
2048
2048
|
"--text-on-primary-background",
|
|
2049
2049
|
t
|
|
2050
|
-
),
|
|
2050
|
+
), ut(
|
|
2051
2051
|
(r = e.colors) == null ? void 0 : r.secondaryBackground,
|
|
2052
2052
|
"--secondary-background",
|
|
2053
2053
|
t
|
|
2054
|
-
),
|
|
2054
|
+
), ut(
|
|
2055
2055
|
(s = e.colors) == null ? void 0 : s.textOnSecondaryBackground,
|
|
2056
2056
|
"--text-on-secondary-background",
|
|
2057
2057
|
t
|
|
@@ -2062,10 +2062,10 @@ const cr = Vt(class extends mn {
|
|
|
2062
2062
|
* Copyright 2020 Google LLC
|
|
2063
2063
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2064
2064
|
*/
|
|
2065
|
-
const
|
|
2066
|
-
let
|
|
2065
|
+
const Cn = () => new fr();
|
|
2066
|
+
let fr = class {
|
|
2067
2067
|
};
|
|
2068
|
-
const
|
|
2068
|
+
const Dt = /* @__PURE__ */ new WeakMap(), En = ee(class extends Sn {
|
|
2069
2069
|
render(e) {
|
|
2070
2070
|
return p;
|
|
2071
2071
|
}
|
|
@@ -2077,14 +2077,14 @@ const Ht = /* @__PURE__ */ new WeakMap(), xn = Vt(class extends bn {
|
|
|
2077
2077
|
ot(e) {
|
|
2078
2078
|
if (typeof this.G == "function") {
|
|
2079
2079
|
const t = this.ct ?? globalThis;
|
|
2080
|
-
let n =
|
|
2081
|
-
n === void 0 && (n = /* @__PURE__ */ new WeakMap(),
|
|
2080
|
+
let n = Dt.get(t);
|
|
2081
|
+
n === void 0 && (n = /* @__PURE__ */ new WeakMap(), Dt.set(t, n)), n.get(this.G) !== void 0 && this.G.call(this.ct, void 0), n.set(this.G, e), e !== void 0 && this.G.call(this.ct, e);
|
|
2082
2082
|
} else
|
|
2083
2083
|
this.G.value = e;
|
|
2084
2084
|
}
|
|
2085
2085
|
get rt() {
|
|
2086
2086
|
var e, t;
|
|
2087
|
-
return typeof this.G == "function" ? (e =
|
|
2087
|
+
return typeof this.G == "function" ? (e = Dt.get(this.ct ?? globalThis)) == null ? void 0 : e.get(this.G) : (t = this.G) == null ? void 0 : t.value;
|
|
2088
2088
|
}
|
|
2089
2089
|
disconnected() {
|
|
2090
2090
|
this.rt === this.lt && this.ot(void 0);
|
|
@@ -2093,14 +2093,14 @@ const Ht = /* @__PURE__ */ new WeakMap(), xn = Vt(class extends bn {
|
|
|
2093
2093
|
this.ot(this.lt);
|
|
2094
2094
|
}
|
|
2095
2095
|
});
|
|
2096
|
-
var
|
|
2097
|
-
for (var r = i > 1 ? void 0 : i ?
|
|
2096
|
+
var pr = Object.defineProperty, gr = Object.getOwnPropertyDescriptor, kt = (e, t, n, i) => {
|
|
2097
|
+
for (var r = i > 1 ? void 0 : i ? gr(t, n) : t, s = e.length - 1, o; s >= 0; s--)
|
|
2098
2098
|
(o = e[s]) && (r = (i ? o(t, n, r) : o(r)) || r);
|
|
2099
|
-
return i && r &&
|
|
2099
|
+
return i && r && pr(t, n, r), r;
|
|
2100
2100
|
};
|
|
2101
|
-
class
|
|
2101
|
+
class j extends A {
|
|
2102
2102
|
constructor() {
|
|
2103
|
-
super(...arguments), this.active = !1, this.loaded = !1, this.containerRef =
|
|
2103
|
+
super(...arguments), this.active = !1, this.loaded = !1, this.containerRef = Cn();
|
|
2104
2104
|
}
|
|
2105
2105
|
async connectedCallback() {
|
|
2106
2106
|
super.connectedCallback(), this.icon = await this._renderSymbol(), this.loaded = !0, this._applyBranding();
|
|
@@ -2117,21 +2117,21 @@ class M extends x {
|
|
|
2117
2117
|
}
|
|
2118
2118
|
_applyBranding() {
|
|
2119
2119
|
var t;
|
|
2120
|
-
(t = this.application) != null && t.settings &&
|
|
2120
|
+
(t = this.application) != null && t.settings && An(this.application.settings.branding, this);
|
|
2121
2121
|
}
|
|
2122
2122
|
async _renderSymbol() {
|
|
2123
2123
|
var a, l, c;
|
|
2124
2124
|
const t = (a = this.application) == null ? void 0 : a.branding(), n = (l = t == null ? void 0 : t.graphics) == null ? void 0 : l.trigger;
|
|
2125
2125
|
if (n)
|
|
2126
|
-
return
|
|
2126
|
+
return w` <img src=${n} class="trigger-icon" alt="" /> `;
|
|
2127
2127
|
const i = (c = this.application) == null ? void 0 : c.triggerIcon;
|
|
2128
2128
|
if (!i)
|
|
2129
2129
|
return p;
|
|
2130
|
-
const r = async (u) =>
|
|
2130
|
+
const r = async (u) => hr, { type: s, content: o } = i;
|
|
2131
2131
|
switch (s) {
|
|
2132
2132
|
case "Telia": {
|
|
2133
2133
|
const u = await r();
|
|
2134
|
-
return u ?
|
|
2134
|
+
return u ? w`<telia-icon
|
|
2135
2135
|
class="trigger-icon"
|
|
2136
2136
|
svg=${u.svg}
|
|
2137
2137
|
size="lg"
|
|
@@ -2143,14 +2143,14 @@ class M extends x {
|
|
|
2143
2143
|
}
|
|
2144
2144
|
render() {
|
|
2145
2145
|
var t, n, i, r;
|
|
2146
|
-
return
|
|
2147
|
-
${!this.active && ((r = (i = (n = (t = this.application) == null ? void 0 : t.settings) == null ? void 0 : n.branding) == null ? void 0 : i.other) != null && r.showButtonLabel) ?
|
|
2146
|
+
return w`<div class="trigger-container" ${En(this.containerRef)}>
|
|
2147
|
+
${!this.active && ((r = (i = (n = (t = this.application) == null ? void 0 : t.settings) == null ? void 0 : n.branding) == null ? void 0 : i.other) != null && r.showButtonLabel) ? w`
|
|
2148
2148
|
<button
|
|
2149
2149
|
class="trigger-label"
|
|
2150
2150
|
@click=${this.toggleActive}
|
|
2151
|
-
${
|
|
2151
|
+
${xn({
|
|
2152
2152
|
keyframeOptions: {},
|
|
2153
|
-
in:
|
|
2153
|
+
in: sr,
|
|
2154
2154
|
stabilizeOut: !0,
|
|
2155
2155
|
skipInitial: !1
|
|
2156
2156
|
})}
|
|
@@ -2160,7 +2160,7 @@ class M extends x {
|
|
|
2160
2160
|
` : p}
|
|
2161
2161
|
|
|
2162
2162
|
<button
|
|
2163
|
-
class=${
|
|
2163
|
+
class=${dr({
|
|
2164
2164
|
trigger: !0,
|
|
2165
2165
|
active: this.active,
|
|
2166
2166
|
rendered: this.loaded
|
|
@@ -2199,8 +2199,8 @@ class M extends x {
|
|
|
2199
2199
|
</div>`;
|
|
2200
2200
|
}
|
|
2201
2201
|
}
|
|
2202
|
-
|
|
2203
|
-
|
|
2202
|
+
j.styles = [
|
|
2203
|
+
M`
|
|
2204
2204
|
:host {
|
|
2205
2205
|
--voca-rem-multiplier: 0.625;
|
|
2206
2206
|
--trigger-label-bg: #f5e0ff;
|
|
@@ -2306,24 +2306,24 @@ M.styles = [
|
|
|
2306
2306
|
}
|
|
2307
2307
|
`
|
|
2308
2308
|
];
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
],
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
],
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
],
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
],
|
|
2321
|
-
var
|
|
2322
|
-
for (var r = i > 1 ? void 0 : i ?
|
|
2309
|
+
kt([
|
|
2310
|
+
_({ attribute: !1 })
|
|
2311
|
+
], j.prototype, "application", 2);
|
|
2312
|
+
kt([
|
|
2313
|
+
Z()
|
|
2314
|
+
], j.prototype, "active", 2);
|
|
2315
|
+
kt([
|
|
2316
|
+
Z()
|
|
2317
|
+
], j.prototype, "loaded", 2);
|
|
2318
|
+
kt([
|
|
2319
|
+
Z()
|
|
2320
|
+
], j.prototype, "icon", 2);
|
|
2321
|
+
var $r = Object.defineProperty, vr = Object.getOwnPropertyDescriptor, P = (e, t, n, i) => {
|
|
2322
|
+
for (var r = i > 1 ? void 0 : i ? vr(t, n) : t, s = e.length - 1, o; s >= 0; s--)
|
|
2323
2323
|
(o = e[s]) && (r = (i ? o(t, n, r) : o(r)) || r);
|
|
2324
|
-
return i && r &&
|
|
2324
|
+
return i && r && $r(t, n, r), r;
|
|
2325
2325
|
};
|
|
2326
|
-
const
|
|
2326
|
+
const kn = (e) => {
|
|
2327
2327
|
class t extends e {
|
|
2328
2328
|
constructor() {
|
|
2329
2329
|
super(...arguments), this.properties = {}, this.context = {}, this.layout = {}, this.nodes = [];
|
|
@@ -2349,7 +2349,7 @@ const An = (e) => {
|
|
|
2349
2349
|
}
|
|
2350
2350
|
return t.styles = [
|
|
2351
2351
|
// (superClass as unknown as typeof LitElement).styles ?? [],
|
|
2352
|
-
|
|
2352
|
+
M`
|
|
2353
2353
|
:host {
|
|
2354
2354
|
font-family: var(--font-family);
|
|
2355
2355
|
grid-column: span var(--width);
|
|
@@ -2362,29 +2362,29 @@ const An = (e) => {
|
|
|
2362
2362
|
box-sizing: border-box;
|
|
2363
2363
|
}
|
|
2364
2364
|
`
|
|
2365
|
-
],
|
|
2366
|
-
|
|
2367
|
-
], t.prototype, "properties", 2),
|
|
2368
|
-
|
|
2369
|
-
], t.prototype, "context", 2),
|
|
2370
|
-
|
|
2371
|
-
], t.prototype, "layout", 2),
|
|
2372
|
-
|
|
2373
|
-
], t.prototype, "name", 2),
|
|
2374
|
-
|
|
2375
|
-
], t.prototype, "type", 2),
|
|
2376
|
-
|
|
2377
|
-
], t.prototype, "application", 2),
|
|
2378
|
-
|
|
2365
|
+
], P([
|
|
2366
|
+
_()
|
|
2367
|
+
], t.prototype, "properties", 2), P([
|
|
2368
|
+
_()
|
|
2369
|
+
], t.prototype, "context", 2), P([
|
|
2370
|
+
_()
|
|
2371
|
+
], t.prototype, "layout", 2), P([
|
|
2372
|
+
_()
|
|
2373
|
+
], t.prototype, "name", 2), P([
|
|
2374
|
+
_()
|
|
2375
|
+
], t.prototype, "type", 2), P([
|
|
2376
|
+
_({ attribute: !1 })
|
|
2377
|
+
], t.prototype, "application", 2), P([
|
|
2378
|
+
_({ attribute: !1 })
|
|
2379
2379
|
], t.prototype, "parent", 2), t;
|
|
2380
2380
|
};
|
|
2381
|
-
class
|
|
2381
|
+
class On extends kn(A) {
|
|
2382
2382
|
render() {
|
|
2383
|
-
return
|
|
2383
|
+
return w`Non resolved component`;
|
|
2384
2384
|
}
|
|
2385
2385
|
}
|
|
2386
|
-
|
|
2387
|
-
|
|
2386
|
+
On.styles = [
|
|
2387
|
+
M`
|
|
2388
2388
|
:host {
|
|
2389
2389
|
display: block;
|
|
2390
2390
|
}
|
|
@@ -2395,21 +2395,21 @@ Cn.styles = [
|
|
|
2395
2395
|
* Copyright 2021 Google LLC
|
|
2396
2396
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2397
2397
|
*/
|
|
2398
|
-
function*
|
|
2398
|
+
function* mr(e, t) {
|
|
2399
2399
|
if (e !== void 0) {
|
|
2400
2400
|
let n = 0;
|
|
2401
2401
|
for (const i of e)
|
|
2402
2402
|
yield t(i, n++);
|
|
2403
2403
|
}
|
|
2404
2404
|
}
|
|
2405
|
-
var
|
|
2406
|
-
for (var r = i > 1 ? void 0 : i ?
|
|
2405
|
+
var ne = /* @__PURE__ */ ((e) => (e.Inline = "inline", e.Trigger = "trigger", e))(ne || {}), yr = Object.defineProperty, br = Object.getOwnPropertyDescriptor, _r = (e, t, n, i) => {
|
|
2406
|
+
for (var r = i > 1 ? void 0 : i ? br(t, n) : t, s = e.length - 1, o; s >= 0; s--)
|
|
2407
2407
|
(o = e[s]) && (r = (i ? o(t, n, r) : o(r)) || r);
|
|
2408
|
-
return i && r &&
|
|
2408
|
+
return i && r && yr(t, n, r), r;
|
|
2409
2409
|
};
|
|
2410
|
-
class
|
|
2410
|
+
class ie extends A {
|
|
2411
2411
|
constructor() {
|
|
2412
|
-
super(...arguments), this.nodes = [], this.wrapperRef =
|
|
2412
|
+
super(...arguments), this.nodes = [], this.wrapperRef = Cn();
|
|
2413
2413
|
}
|
|
2414
2414
|
addChild(t) {
|
|
2415
2415
|
t.parent = this, this.nodes.push(t);
|
|
@@ -2418,7 +2418,7 @@ class ee extends x {
|
|
|
2418
2418
|
if (!this.wrapperRef.value)
|
|
2419
2419
|
return;
|
|
2420
2420
|
const t = this.application.settings;
|
|
2421
|
-
t != null && t.branding &&
|
|
2421
|
+
t != null && t.branding && An(t.branding, this.wrapperRef.value);
|
|
2422
2422
|
}
|
|
2423
2423
|
applyStyles() {
|
|
2424
2424
|
if (!this.wrapperRef.value)
|
|
@@ -2432,12 +2432,12 @@ class ee extends x {
|
|
|
2432
2432
|
this.applyBranding(), this.applyStyles();
|
|
2433
2433
|
}
|
|
2434
2434
|
render() {
|
|
2435
|
-
return this.application.renderStrategy ===
|
|
2436
|
-
${
|
|
2435
|
+
return this.application.renderStrategy === ne.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")), w`<div class="widget-container" ${En(this.wrapperRef)}>
|
|
2436
|
+
${mr(this.nodes, (t) => t)}
|
|
2437
2437
|
</div>`;
|
|
2438
2438
|
}
|
|
2439
2439
|
}
|
|
2440
|
-
|
|
2440
|
+
ie.styles = M`
|
|
2441
2441
|
:host {
|
|
2442
2442
|
--font-family: TeliaSans, Helvetica, Arial, Lucida Grande, sans-serif;
|
|
2443
2443
|
--spacing-xs: 0.2rem;
|
|
@@ -2535,15 +2535,15 @@ ee.styles = R`
|
|
|
2535
2535
|
animation: slideDown 0.3s linear;
|
|
2536
2536
|
}
|
|
2537
2537
|
`;
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
],
|
|
2541
|
-
var
|
|
2542
|
-
for (var r = i > 1 ? void 0 : i ?
|
|
2538
|
+
_r([
|
|
2539
|
+
_({ attribute: !1 })
|
|
2540
|
+
], ie.prototype, "application", 2);
|
|
2541
|
+
var wr = Object.defineProperty, Sr = Object.getOwnPropertyDescriptor, re = (e, t, n, i) => {
|
|
2542
|
+
for (var r = i > 1 ? void 0 : i ? Sr(t, n) : t, s = e.length - 1, o; s >= 0; s--)
|
|
2543
2543
|
(o = e[s]) && (r = (i ? o(t, n, r) : o(r)) || r);
|
|
2544
|
-
return i && r &&
|
|
2544
|
+
return i && r && wr(t, n, r), r;
|
|
2545
2545
|
};
|
|
2546
|
-
class
|
|
2546
|
+
class ot extends A {
|
|
2547
2547
|
constructor() {
|
|
2548
2548
|
super(), this.status = "deactivated", this.addEventListener("environment-created", this.onEnvironmentCreated);
|
|
2549
2549
|
}
|
|
@@ -2568,37 +2568,66 @@ class st extends x {
|
|
|
2568
2568
|
render() {
|
|
2569
2569
|
if (!this.widget || this.status !== "activated")
|
|
2570
2570
|
return p;
|
|
2571
|
-
if (this.widget.renderStrategy ===
|
|
2572
|
-
const t = new
|
|
2571
|
+
if (this.widget.renderStrategy === ne.Trigger) {
|
|
2572
|
+
const t = new j();
|
|
2573
2573
|
return t.application = this.widget, t;
|
|
2574
2574
|
}
|
|
2575
2575
|
return this.widget.render();
|
|
2576
2576
|
}
|
|
2577
2577
|
}
|
|
2578
|
-
|
|
2579
|
-
|
|
2578
|
+
ot.styles = [
|
|
2579
|
+
M`
|
|
2580
2580
|
:host {
|
|
2581
2581
|
display: block;
|
|
2582
2582
|
}
|
|
2583
2583
|
`
|
|
2584
2584
|
];
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
],
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
],
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
],
|
|
2594
|
-
customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot",
|
|
2595
|
-
customElements.get("ace-trigger") || customElements.define("ace-trigger",
|
|
2596
|
-
customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component",
|
|
2597
|
-
customElements.get("ace-wrapper") || customElements.define("ace-wrapper",
|
|
2598
|
-
customElements.get("ace-widget") || customElements.define("ace-widget",
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2585
|
+
re([
|
|
2586
|
+
_({ attribute: !0 })
|
|
2587
|
+
], ot.prototype, "name", 2);
|
|
2588
|
+
re([
|
|
2589
|
+
Z()
|
|
2590
|
+
], ot.prototype, "widget", 2);
|
|
2591
|
+
re([
|
|
2592
|
+
Z()
|
|
2593
|
+
], ot.prototype, "status", 2);
|
|
2594
|
+
customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", Vt);
|
|
2595
|
+
customElements.get("ace-trigger") || customElements.define("ace-trigger", j);
|
|
2596
|
+
customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", On);
|
|
2597
|
+
customElements.get("ace-wrapper") || customElements.define("ace-wrapper", ie);
|
|
2598
|
+
customElements.get("ace-widget") || customElements.define("ace-widget", ot);
|
|
2599
|
+
let ht;
|
|
2600
|
+
const xr = new Uint8Array(16);
|
|
2601
|
+
function Ar() {
|
|
2602
|
+
if (!ht && (ht = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !ht))
|
|
2603
|
+
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
2604
|
+
return ht(xr);
|
|
2605
|
+
}
|
|
2606
|
+
const m = [];
|
|
2607
|
+
for (let e = 0; e < 256; ++e)
|
|
2608
|
+
m.push((e + 256).toString(16).slice(1));
|
|
2609
|
+
function Cr(e, t = 0) {
|
|
2610
|
+
return m[e[t + 0]] + m[e[t + 1]] + m[e[t + 2]] + m[e[t + 3]] + "-" + m[e[t + 4]] + m[e[t + 5]] + "-" + m[e[t + 6]] + m[e[t + 7]] + "-" + m[e[t + 8]] + m[e[t + 9]] + "-" + m[e[t + 10]] + m[e[t + 11]] + m[e[t + 12]] + m[e[t + 13]] + m[e[t + 14]] + m[e[t + 15]];
|
|
2611
|
+
}
|
|
2612
|
+
const Er = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Pe = {
|
|
2613
|
+
randomUUID: Er
|
|
2614
|
+
};
|
|
2615
|
+
function kr(e, t, n) {
|
|
2616
|
+
if (Pe.randomUUID && !t && !e)
|
|
2617
|
+
return Pe.randomUUID();
|
|
2618
|
+
e = e || {};
|
|
2619
|
+
const i = e.random || (e.rng || Ar)();
|
|
2620
|
+
if (i[6] = i[6] & 15 | 64, i[8] = i[8] & 63 | 128, t) {
|
|
2621
|
+
n = n || 0;
|
|
2622
|
+
for (let r = 0; r < 16; ++r)
|
|
2623
|
+
t[n + r] = i[r];
|
|
2624
|
+
return t;
|
|
2625
|
+
}
|
|
2626
|
+
return Cr(i);
|
|
2627
|
+
}
|
|
2628
|
+
class Or {
|
|
2629
|
+
constructor(t, n, i, r, s) {
|
|
2630
|
+
this.label = t, this.icon = n, this.onClick = i, this.closeOnClick = r, this.update = new Je(), this.id = kr(), this._controller = s;
|
|
2602
2631
|
}
|
|
2603
2632
|
updateLabel(t) {
|
|
2604
2633
|
this.label = t, this.update.next();
|
|
@@ -2606,11 +2635,14 @@ class _r {
|
|
|
2606
2635
|
updateIcon(t) {
|
|
2607
2636
|
this.icon = t, this.update.next();
|
|
2608
2637
|
}
|
|
2638
|
+
remove() {
|
|
2639
|
+
this._controller.removeOption(this);
|
|
2640
|
+
}
|
|
2609
2641
|
subscribe() {
|
|
2610
2642
|
return this.update.asObservable();
|
|
2611
2643
|
}
|
|
2612
2644
|
}
|
|
2613
|
-
class
|
|
2645
|
+
class Tr {
|
|
2614
2646
|
constructor(t) {
|
|
2615
2647
|
this._options = [], this._subscription = null, this._host = t, t.addController(this);
|
|
2616
2648
|
}
|
|
@@ -2620,17 +2652,22 @@ class wr {
|
|
|
2620
2652
|
this._subscription && this._subscription.unsubscribe(), this._options = [];
|
|
2621
2653
|
}
|
|
2622
2654
|
addOption(t) {
|
|
2623
|
-
const n = new
|
|
2655
|
+
const n = new Or(
|
|
2624
2656
|
t.label,
|
|
2625
2657
|
t.icon,
|
|
2626
|
-
t.onClick
|
|
2658
|
+
t.onClick,
|
|
2659
|
+
t.closeOnClick,
|
|
2660
|
+
this
|
|
2627
2661
|
);
|
|
2628
2662
|
return this._options.push(n), this.handleUpdate(), n;
|
|
2629
2663
|
}
|
|
2664
|
+
removeOption(t) {
|
|
2665
|
+
this._options = this._options.filter((n) => n.id !== t.id);
|
|
2666
|
+
}
|
|
2630
2667
|
handleUpdate() {
|
|
2631
2668
|
this._subscription && this._subscription.unsubscribe();
|
|
2632
2669
|
const t = this._options.map((n) => n.subscribe());
|
|
2633
|
-
this._subscription =
|
|
2670
|
+
this._subscription = Oi(t).subscribe(() => {
|
|
2634
2671
|
this._host.requestUpdate();
|
|
2635
2672
|
});
|
|
2636
2673
|
}
|
|
@@ -2644,7 +2681,7 @@ class wr {
|
|
|
2644
2681
|
return this._options.length > 0;
|
|
2645
2682
|
}
|
|
2646
2683
|
}
|
|
2647
|
-
const
|
|
2684
|
+
const N = {
|
|
2648
2685
|
allRenderFn: !1,
|
|
2649
2686
|
cmpDidLoad: !0,
|
|
2650
2687
|
cmpDidUnload: !1,
|
|
@@ -2728,9 +2765,9 @@ const H = {
|
|
|
2728
2765
|
transformTagName: !1,
|
|
2729
2766
|
attachStyles: !0
|
|
2730
2767
|
};
|
|
2731
|
-
let
|
|
2732
|
-
const
|
|
2733
|
-
},
|
|
2768
|
+
let D, Tn, Ot, Pn = !1, _t = !1, se = !1, b = !1, Ie = null, Gt = !1;
|
|
2769
|
+
const Tt = typeof window < "u" ? window : {}, C = Tt.document || { head: {} }, In = Tt.HTMLElement || class {
|
|
2770
|
+
}, y = {
|
|
2734
2771
|
$flags$: 0,
|
|
2735
2772
|
$resourcesUrl$: "",
|
|
2736
2773
|
jmp: (e) => e(),
|
|
@@ -2738,10 +2775,10 @@ const kt = typeof window < "u" ? window : {}, A = kt.document || { head: {} }, O
|
|
|
2738
2775
|
ael: (e, t, n, i) => e.addEventListener(t, n, i),
|
|
2739
2776
|
rel: (e, t, n, i) => e.removeEventListener(t, n, i),
|
|
2740
2777
|
ce: (e, t) => new CustomEvent(e, t)
|
|
2741
|
-
},
|
|
2778
|
+
}, Pr = /* @__PURE__ */ (() => {
|
|
2742
2779
|
let e = !1;
|
|
2743
2780
|
try {
|
|
2744
|
-
|
|
2781
|
+
C.addEventListener("e", null, Object.defineProperty({}, "passive", {
|
|
2745
2782
|
get() {
|
|
2746
2783
|
e = !0;
|
|
2747
2784
|
}
|
|
@@ -2749,48 +2786,48 @@ const kt = typeof window < "u" ? window : {}, A = kt.document || { head: {} }, O
|
|
|
2749
2786
|
} catch {
|
|
2750
2787
|
}
|
|
2751
2788
|
return e;
|
|
2752
|
-
})(),
|
|
2789
|
+
})(), Ir = (e) => Promise.resolve(e), Lr = /* @__PURE__ */ (() => {
|
|
2753
2790
|
try {
|
|
2754
2791
|
return new CSSStyleSheet(), typeof new CSSStyleSheet().replace == "function";
|
|
2755
2792
|
} catch {
|
|
2756
2793
|
}
|
|
2757
2794
|
return !1;
|
|
2758
|
-
})(),
|
|
2795
|
+
})(), Ln = (e, t, n, i) => {
|
|
2759
2796
|
n && n.map(([r, s, o]) => {
|
|
2760
|
-
const a =
|
|
2761
|
-
|
|
2797
|
+
const a = Rr(e, r), l = Ur(t, o), c = Mr(r);
|
|
2798
|
+
y.ael(a, s, l, c), (t.$rmListeners$ = t.$rmListeners$ || []).push(() => y.rel(a, s, l, c));
|
|
2762
2799
|
});
|
|
2763
|
-
},
|
|
2800
|
+
}, Ur = (e, t) => (n) => {
|
|
2764
2801
|
try {
|
|
2765
|
-
|
|
2802
|
+
N.lazyLoad || e.$hostElement$[t](n);
|
|
2766
2803
|
} catch (i) {
|
|
2767
|
-
|
|
2804
|
+
at(i);
|
|
2768
2805
|
}
|
|
2769
|
-
},
|
|
2806
|
+
}, Rr = (e, t) => t & 4 ? C : t & 8 ? Tt : t & 16 ? C.body : e, Mr = (e) => Pr ? {
|
|
2770
2807
|
passive: (e & 1) !== 0,
|
|
2771
2808
|
capture: (e & 2) !== 0
|
|
2772
|
-
} : (e & 2) !== 0,
|
|
2773
|
-
},
|
|
2774
|
-
let i =
|
|
2775
|
-
|
|
2776
|
-
},
|
|
2777
|
-
let r =
|
|
2778
|
-
if (e = e.nodeType === 11 ? e :
|
|
2809
|
+
} : (e & 2) !== 0, Le = "http://www.w3.org/1999/xlink", R = (e, t = "") => () => {
|
|
2810
|
+
}, Ue = /* @__PURE__ */ new WeakMap(), jr = (e, t, n) => {
|
|
2811
|
+
let i = xt.get(e);
|
|
2812
|
+
Lr && n ? (i = i || new CSSStyleSheet(), i.replace(t)) : i = t, xt.set(e, i);
|
|
2813
|
+
}, Hr = (e, t, n, i) => {
|
|
2814
|
+
let r = Un(t, n), s = xt.get(r);
|
|
2815
|
+
if (e = e.nodeType === 11 ? e : C, s)
|
|
2779
2816
|
if (typeof s == "string") {
|
|
2780
2817
|
e = e.head || e;
|
|
2781
|
-
let o =
|
|
2782
|
-
o ||
|
|
2818
|
+
let o = Ue.get(e), a;
|
|
2819
|
+
o || Ue.set(e, o = /* @__PURE__ */ new Set()), o.has(r) || (a = C.createElement("style"), a.innerHTML = s, e.insertBefore(a, e.querySelector("link")), o && o.add(r));
|
|
2783
2820
|
} else
|
|
2784
2821
|
e.adoptedStyleSheets.includes(s) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, s]);
|
|
2785
2822
|
return r;
|
|
2786
|
-
},
|
|
2787
|
-
const t = e.$cmpMeta$, n = e.$hostElement$, i = t.$flags$, r =
|
|
2823
|
+
}, Nr = (e) => {
|
|
2824
|
+
const t = e.$cmpMeta$, n = e.$hostElement$, i = t.$flags$, r = R("attachStyles", t.$tagName$), s = Hr(n.shadowRoot ? n.shadowRoot : n.getRootNode(), t, e.$modeName$);
|
|
2788
2825
|
i & 10 && (n["s-sc"] = s, n.classList.add(s + "-h"), i & 2 && n.classList.add(s + "-s")), r();
|
|
2789
|
-
},
|
|
2826
|
+
}, Un = (e, t) => "sc-" + (t && e.$flags$ & 32 ? e.$tagName$ + "-" + t : e.$tagName$), Dr = (e) => ps.map((t) => t(e)).find((t) => !!t), Re = {}, Br = "http://www.w3.org/2000/svg", zr = "http://www.w3.org/1999/xhtml", Fr = (e) => e != null, oe = (e) => (e = typeof e, e === "object" || e === "function"), F = (e, t, ...n) => {
|
|
2790
2827
|
let i = null, r = null, s = null, o = !1, a = !1, l = [];
|
|
2791
2828
|
const c = (h) => {
|
|
2792
2829
|
for (let d = 0; d < h.length; d++)
|
|
2793
|
-
i = h[d], Array.isArray(i) ? c(i) : i != null && typeof i != "boolean" && ((o = typeof e != "function" && !
|
|
2830
|
+
i = h[d], Array.isArray(i) ? c(i) : i != null && typeof i != "boolean" && ((o = typeof e != "function" && !oe(i)) && (i = String(i)), o && a ? l[l.length - 1].$text$ += i : l.push(o ? wt(null, i) : i), a = o);
|
|
2794
2831
|
};
|
|
2795
2832
|
if (c(n), t) {
|
|
2796
2833
|
t.key && (r = t.key), t.name && (s = t.name);
|
|
@@ -2800,10 +2837,10 @@ const kt = typeof window < "u" ? window : {}, A = kt.document || { head: {} }, O
|
|
|
2800
2837
|
}
|
|
2801
2838
|
}
|
|
2802
2839
|
if (typeof e == "function")
|
|
2803
|
-
return e(t === null ? {} : t, l,
|
|
2804
|
-
const u =
|
|
2840
|
+
return e(t === null ? {} : t, l, Gr);
|
|
2841
|
+
const u = wt(e, null);
|
|
2805
2842
|
return u.$attrs$ = t, l.length > 0 && (u.$children$ = l), u.$key$ = r, u.$name$ = s, u;
|
|
2806
|
-
},
|
|
2843
|
+
}, wt = (e, t) => {
|
|
2807
2844
|
const n = {
|
|
2808
2845
|
$flags$: 0,
|
|
2809
2846
|
$tag$: e,
|
|
@@ -2812,28 +2849,28 @@ const kt = typeof window < "u" ? window : {}, A = kt.document || { head: {} }, O
|
|
|
2812
2849
|
$children$: null
|
|
2813
2850
|
};
|
|
2814
2851
|
return n.$attrs$ = null, n.$key$ = null, n.$name$ = null, n;
|
|
2815
|
-
},
|
|
2816
|
-
forEach: (e, t) => e.map(
|
|
2817
|
-
map: (e, t) => e.map(
|
|
2818
|
-
},
|
|
2852
|
+
}, ae = {}, Wr = (e) => e && e.$tag$ === ae, Gr = {
|
|
2853
|
+
forEach: (e, t) => e.map(Me).forEach(t),
|
|
2854
|
+
map: (e, t) => e.map(Me).map(t).map(qr)
|
|
2855
|
+
}, Me = (e) => ({
|
|
2819
2856
|
vattrs: e.$attrs$,
|
|
2820
2857
|
vchildren: e.$children$,
|
|
2821
2858
|
vkey: e.$key$,
|
|
2822
2859
|
vname: e.$name$,
|
|
2823
2860
|
vtag: e.$tag$,
|
|
2824
2861
|
vtext: e.$text$
|
|
2825
|
-
}),
|
|
2862
|
+
}), qr = (e) => {
|
|
2826
2863
|
if (typeof e.vtag == "function") {
|
|
2827
2864
|
const n = Object.assign({}, e.vattrs);
|
|
2828
|
-
return e.vkey && (n.key = e.vkey), e.vname && (n.name = e.vname),
|
|
2865
|
+
return e.vkey && (n.key = e.vkey), e.vname && (n.name = e.vname), F(e.vtag, n, ...e.vchildren || []);
|
|
2829
2866
|
}
|
|
2830
|
-
const t =
|
|
2867
|
+
const t = wt(e.vtag, e.vtext);
|
|
2831
2868
|
return t.$attrs$ = e.vattrs, t.$children$ = e.vchildren, t.$key$ = e.vkey, t.$name$ = e.vname, t;
|
|
2832
|
-
},
|
|
2869
|
+
}, je = (e, t, n, i, r, s) => {
|
|
2833
2870
|
if (n !== i) {
|
|
2834
|
-
let o =
|
|
2871
|
+
let o = Be(e, t), a = t.toLowerCase();
|
|
2835
2872
|
if (t === "class") {
|
|
2836
|
-
const l = e.classList, c =
|
|
2873
|
+
const l = e.classList, c = He(n), u = He(i);
|
|
2837
2874
|
l.remove(...c.filter((h) => h && !u.includes(h))), l.add(...u.filter((h) => h && !c.includes(h)));
|
|
2838
2875
|
} else if (t === "style") {
|
|
2839
2876
|
for (const l in n)
|
|
@@ -2844,9 +2881,9 @@ const kt = typeof window < "u" ? window : {}, A = kt.document || { head: {} }, O
|
|
|
2844
2881
|
if (t === "ref")
|
|
2845
2882
|
i && i(e);
|
|
2846
2883
|
else if (!e.__lookupSetter__(t) && t[0] === "o" && t[1] === "n")
|
|
2847
|
-
t[2] === "-" ? t = t.slice(3) :
|
|
2884
|
+
t[2] === "-" ? t = t.slice(3) : Be(Tt, a) ? t = a.slice(2) : t = a[2] + t.slice(3), n && y.rel(e, t, n, !1), i && y.ael(e, t, i, !1);
|
|
2848
2885
|
else {
|
|
2849
|
-
const l =
|
|
2886
|
+
const l = oe(i);
|
|
2850
2887
|
if ((o || l && i !== null) && !r)
|
|
2851
2888
|
try {
|
|
2852
2889
|
if (e.tagName.includes("-"))
|
|
@@ -2858,50 +2895,50 @@ const kt = typeof window < "u" ? window : {}, A = kt.document || { head: {} }, O
|
|
|
2858
2895
|
} catch {
|
|
2859
2896
|
}
|
|
2860
2897
|
let c = !1;
|
|
2861
|
-
a !== (a = a.replace(/^xlink\:?/, "")) && (t = a, c = !0), i == null || i === !1 ? (i !== !1 || e.getAttribute(t) === "") && (c ? e.removeAttributeNS(
|
|
2898
|
+
a !== (a = a.replace(/^xlink\:?/, "")) && (t = a, c = !0), i == null || i === !1 ? (i !== !1 || e.getAttribute(t) === "") && (c ? e.removeAttributeNS(Le, t) : e.removeAttribute(t)) : (!o || s & 4 || r) && !l && (i = i === !0 ? "" : i, c ? e.setAttributeNS(Le, t, i) : e.setAttribute(t, i));
|
|
2862
2899
|
}
|
|
2863
2900
|
}
|
|
2864
|
-
},
|
|
2865
|
-
const r = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, s = e && e.$attrs$ ||
|
|
2901
|
+
}, Yr = /\s/, He = (e) => e ? e.split(Yr) : [], Rn = (e, t, n, i) => {
|
|
2902
|
+
const r = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, s = e && e.$attrs$ || Re, o = t.$attrs$ || Re;
|
|
2866
2903
|
for (i in s)
|
|
2867
|
-
i in o ||
|
|
2904
|
+
i in o || je(r, i, s[i], void 0, n, t.$flags$);
|
|
2868
2905
|
for (i in o)
|
|
2869
|
-
|
|
2870
|
-
},
|
|
2906
|
+
je(r, i, s[i], o[i], n, t.$flags$);
|
|
2907
|
+
}, St = (e, t, n, i) => {
|
|
2871
2908
|
let r = t.$children$[n], s = 0, o, a, l;
|
|
2872
|
-
if (
|
|
2909
|
+
if (Pn || (se = !0, r.$tag$ === "slot" && (D && i.classList.add(D + "-s"), r.$flags$ |= r.$children$ ? (
|
|
2873
2910
|
// slot element has fallback content
|
|
2874
2911
|
2
|
|
2875
2912
|
) : (
|
|
2876
2913
|
// slot element does not have fallback content
|
|
2877
2914
|
1
|
|
2878
2915
|
))), r.$text$ !== null)
|
|
2879
|
-
o = r.$elm$ =
|
|
2916
|
+
o = r.$elm$ = C.createTextNode(r.$text$);
|
|
2880
2917
|
else if (r.$flags$ & 1)
|
|
2881
|
-
o = r.$elm$ =
|
|
2918
|
+
o = r.$elm$ = C.createTextNode("");
|
|
2882
2919
|
else {
|
|
2883
|
-
if (
|
|
2920
|
+
if (b || (b = r.$tag$ === "svg"), o = r.$elm$ = C.createElementNS(b ? Br : zr, r.$flags$ & 2 ? "slot-fb" : r.$tag$), b && r.$tag$ === "foreignObject" && (b = !1), Rn(null, r, b), Fr(D) && o["s-si"] !== D && o.classList.add(o["s-si"] = D), r.$children$)
|
|
2884
2921
|
for (s = 0; s < r.$children$.length; ++s)
|
|
2885
|
-
a =
|
|
2886
|
-
r.$tag$ === "svg" ?
|
|
2922
|
+
a = St(e, r, s, o), a && o.appendChild(a);
|
|
2923
|
+
r.$tag$ === "svg" ? b = !1 : o.tagName === "foreignObject" && (b = !0);
|
|
2887
2924
|
}
|
|
2888
|
-
return o["s-hn"] =
|
|
2889
|
-
},
|
|
2890
|
-
|
|
2925
|
+
return o["s-hn"] = Ot, r.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] = Tn, o["s-sn"] = r.$name$ || "", l = e && e.$children$ && e.$children$[n], l && l.$tag$ === r.$tag$ && e.$elm$ && it(e.$elm$, !1)), o;
|
|
2926
|
+
}, it = (e, t) => {
|
|
2927
|
+
y.$flags$ |= 1;
|
|
2891
2928
|
const n = e.childNodes;
|
|
2892
2929
|
for (let i = n.length - 1; i >= 0; i--) {
|
|
2893
2930
|
const r = n[i];
|
|
2894
|
-
r["s-hn"] !==
|
|
2931
|
+
r["s-hn"] !== Ot && r["s-ol"] && (Hn(r).insertBefore(r, le(r)), r["s-ol"].remove(), r["s-ol"] = void 0, se = !0), t && it(r, t);
|
|
2895
2932
|
}
|
|
2896
|
-
|
|
2897
|
-
},
|
|
2933
|
+
y.$flags$ &= -2;
|
|
2934
|
+
}, Mn = (e, t, n, i, r, s) => {
|
|
2898
2935
|
let o = e["s-cr"] && e["s-cr"].parentNode || e, a;
|
|
2899
|
-
for (o.shadowRoot && o.tagName ===
|
|
2900
|
-
i[r] && (a =
|
|
2901
|
-
},
|
|
2936
|
+
for (o.shadowRoot && o.tagName === Ot && (o = o.shadowRoot); r <= s; ++r)
|
|
2937
|
+
i[r] && (a = St(null, n, r, e), a && (i[r].$elm$ = a, o.insertBefore(a, le(t))));
|
|
2938
|
+
}, jn = (e, t, n, i, r) => {
|
|
2902
2939
|
for (; t <= n; ++t)
|
|
2903
|
-
(i = e[t]) && (r = i.$elm$,
|
|
2904
|
-
},
|
|
2940
|
+
(i = e[t]) && (r = i.$elm$, Bn(i), _t = !0, r["s-ol"] ? r["s-ol"].remove() : it(r, !0), r.remove());
|
|
2941
|
+
}, Zr = (e, t, n, i) => {
|
|
2905
2942
|
let r = 0, s = 0, o = 0, a = 0, l = t.length - 1, c = t[0], u = t[l], h = i.length - 1, d = i[0], f = i[h], $, g;
|
|
2906
2943
|
for (; r <= l && s <= h; )
|
|
2907
2944
|
if (c == null)
|
|
@@ -2912,28 +2949,28 @@ const kt = typeof window < "u" ? window : {}, A = kt.document || { head: {} }, O
|
|
|
2912
2949
|
d = i[++s];
|
|
2913
2950
|
else if (f == null)
|
|
2914
2951
|
f = i[--h];
|
|
2915
|
-
else if (
|
|
2916
|
-
|
|
2917
|
-
else if (
|
|
2918
|
-
|
|
2919
|
-
else if (
|
|
2920
|
-
(c.$tag$ === "slot" || f.$tag$ === "slot") &&
|
|
2921
|
-
else if (
|
|
2922
|
-
(c.$tag$ === "slot" || f.$tag$ === "slot") &&
|
|
2952
|
+
else if (dt(c, d))
|
|
2953
|
+
B(c, d), c = t[++r], d = i[++s];
|
|
2954
|
+
else if (dt(u, f))
|
|
2955
|
+
B(u, f), u = t[--l], f = i[--h];
|
|
2956
|
+
else if (dt(c, f))
|
|
2957
|
+
(c.$tag$ === "slot" || f.$tag$ === "slot") && it(c.$elm$.parentNode, !1), B(c, f), e.insertBefore(c.$elm$, u.$elm$.nextSibling), c = t[++r], f = i[--h];
|
|
2958
|
+
else if (dt(u, d))
|
|
2959
|
+
(c.$tag$ === "slot" || f.$tag$ === "slot") && it(u.$elm$.parentNode, !1), B(u, d), e.insertBefore(u.$elm$, c.$elm$), u = t[--l], d = i[++s];
|
|
2923
2960
|
else {
|
|
2924
2961
|
for (o = -1, a = r; a <= l; ++a)
|
|
2925
2962
|
if (t[a] && t[a].$key$ !== null && t[a].$key$ === d.$key$) {
|
|
2926
2963
|
o = a;
|
|
2927
2964
|
break;
|
|
2928
2965
|
}
|
|
2929
|
-
o >= 0 ? (g = t[o], g.$tag$ !== d.$tag$ ? $ =
|
|
2966
|
+
o >= 0 ? (g = t[o], g.$tag$ !== d.$tag$ ? $ = St(t && t[s], n, o, e) : (B(g, d), t[o] = void 0, $ = g.$elm$), d = i[++s]) : ($ = St(t && t[s], n, s, e), d = i[++s]), $ && Hn(c.$elm$).insertBefore($, le(c.$elm$));
|
|
2930
2967
|
}
|
|
2931
|
-
r > l ?
|
|
2932
|
-
},
|
|
2968
|
+
r > l ? Mn(e, i[h + 1] == null ? null : i[h + 1].$elm$, n, i, s, h) : s > h && jn(t, r, l);
|
|
2969
|
+
}, dt = (e, t) => e.$tag$ === t.$tag$ ? e.$tag$ === "slot" ? e.$name$ === t.$name$ : e.$key$ === t.$key$ : !1, le = (e) => e && e["s-ol"] || e, Hn = (e) => (e["s-ol"] ? e["s-ol"] : e).parentNode, B = (e, t) => {
|
|
2933
2970
|
const n = t.$elm$ = e.$elm$, i = e.$children$, r = t.$children$, s = t.$tag$, o = t.$text$;
|
|
2934
2971
|
let a;
|
|
2935
|
-
o === null ? (
|
|
2936
|
-
},
|
|
2972
|
+
o === null ? (b = s === "svg" ? !0 : s === "foreignObject" ? !1 : b, s === "slot" || Rn(e, t, b), i !== null && r !== null ? Zr(n, i, t, r) : r !== null ? (e.$text$ !== null && (n.textContent = ""), Mn(n, null, t, r, 0, r.length - 1)) : i !== null && jn(i, 0, i.length - 1), b && s === "svg" && (b = !1)) : (a = n["s-cr"]) ? a.parentNode.textContent = o : e.$text$ !== o && (n.data = o);
|
|
2973
|
+
}, Nn = (e) => {
|
|
2937
2974
|
let t = e.childNodes, n, i, r, s, o, a;
|
|
2938
2975
|
for (i = 0, r = t.length; i < r; i++)
|
|
2939
2976
|
if (n = t[i], n.nodeType === 1) {
|
|
@@ -2949,36 +2986,36 @@ const kt = typeof window < "u" ? window : {}, A = kt.document || { head: {} }, O
|
|
|
2949
2986
|
break;
|
|
2950
2987
|
}
|
|
2951
2988
|
}
|
|
2952
|
-
|
|
2989
|
+
Nn(n);
|
|
2953
2990
|
}
|
|
2954
|
-
},
|
|
2991
|
+
}, x = [], Dn = (e) => {
|
|
2955
2992
|
let t, n, i, r, s, o, a = 0, l = e.childNodes, c = l.length;
|
|
2956
2993
|
for (; a < c; a++) {
|
|
2957
2994
|
if (t = l[a], t["s-sr"] && (n = t["s-cr"]) && n.parentNode)
|
|
2958
2995
|
for (i = n.parentNode.childNodes, r = t["s-sn"], o = i.length - 1; o >= 0; o--)
|
|
2959
|
-
n = i[o], !n["s-cn"] && !n["s-nr"] && n["s-hn"] !== t["s-hn"] && (
|
|
2996
|
+
n = i[o], !n["s-cn"] && !n["s-nr"] && n["s-hn"] !== t["s-hn"] && (Ne(n, r) ? (s = x.find((u) => u.$nodeToRelocate$ === n), _t = !0, n["s-sn"] = n["s-sn"] || r, s ? s.$slotRefNode$ = t : x.push({
|
|
2960
2997
|
$slotRefNode$: t,
|
|
2961
2998
|
$nodeToRelocate$: n
|
|
2962
|
-
}), n["s-sr"] &&
|
|
2963
|
-
|
|
2964
|
-
})) :
|
|
2999
|
+
}), n["s-sr"] && x.map((u) => {
|
|
3000
|
+
Ne(u.$nodeToRelocate$, n["s-sn"]) && (s = x.find((h) => h.$nodeToRelocate$ === n), s && !u.$slotRefNode$ && (u.$slotRefNode$ = s.$slotRefNode$));
|
|
3001
|
+
})) : x.some((u) => u.$nodeToRelocate$ === n) || x.push({
|
|
2965
3002
|
$nodeToRelocate$: n
|
|
2966
3003
|
}));
|
|
2967
|
-
t.nodeType === 1 &&
|
|
3004
|
+
t.nodeType === 1 && Dn(t);
|
|
2968
3005
|
}
|
|
2969
|
-
},
|
|
2970
|
-
e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(
|
|
2971
|
-
},
|
|
2972
|
-
const n = e.$hostElement$, i = e.$cmpMeta$, r = e.$vnode$ ||
|
|
2973
|
-
|
|
3006
|
+
}, Ne = (e, t) => e.nodeType === 1 ? e.getAttribute("slot") === null && t === "" || e.getAttribute("slot") === t : e["s-sn"] === t ? !0 : t === "", Bn = (e) => {
|
|
3007
|
+
e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(Bn);
|
|
3008
|
+
}, Kr = (e, t) => {
|
|
3009
|
+
const n = e.$hostElement$, i = e.$cmpMeta$, r = e.$vnode$ || wt(null, null), s = Wr(t) ? t : F(null, null, t);
|
|
3010
|
+
Ot = n.tagName, i.$attrsToReflect$ && (s.$attrs$ = s.$attrs$ || {}, i.$attrsToReflect$.map(([o, a]) => s.$attrs$[a] = n[o])), s.$tag$ = null, s.$flags$ |= 4, e.$vnode$ = s, s.$elm$ = r.$elm$ = n.shadowRoot || n, D = n["s-sc"], Tn = n["s-cr"], Pn = (i.$flags$ & 1) !== 0, _t = !1, B(r, s);
|
|
2974
3011
|
{
|
|
2975
|
-
if (
|
|
2976
|
-
|
|
3012
|
+
if (y.$flags$ |= 1, se) {
|
|
3013
|
+
Dn(s.$elm$);
|
|
2977
3014
|
let o, a, l, c, u, h, d = 0;
|
|
2978
|
-
for (; d <
|
|
2979
|
-
o =
|
|
2980
|
-
for (d = 0; d <
|
|
2981
|
-
if (o =
|
|
3015
|
+
for (; d < x.length; d++)
|
|
3016
|
+
o = x[d], a = o.$nodeToRelocate$, a["s-ol"] || (l = C.createTextNode(""), l["s-nr"] = a, a.parentNode.insertBefore(a["s-ol"] = l, a));
|
|
3017
|
+
for (d = 0; d < x.length; d++)
|
|
3018
|
+
if (o = x[d], a = o.$nodeToRelocate$, o.$slotRefNode$) {
|
|
2982
3019
|
for (c = o.$slotRefNode$.parentNode, u = o.$slotRefNode$.nextSibling, l = a["s-ol"]; l = l.previousSibling; )
|
|
2983
3020
|
if (h = l["s-nr"], h && h["s-sn"] === a["s-sn"] && c === h.parentNode && (h = h.nextSibling, !h || !h["s-nr"])) {
|
|
2984
3021
|
u = h;
|
|
@@ -2988,51 +3025,51 @@ const kt = typeof window < "u" ? window : {}, A = kt.document || { head: {} }, O
|
|
|
2988
3025
|
} else
|
|
2989
3026
|
a.nodeType === 1 && (a.hidden = !0);
|
|
2990
3027
|
}
|
|
2991
|
-
|
|
3028
|
+
_t && Nn(s.$elm$), y.$flags$ &= -2, x.length = 0;
|
|
2992
3029
|
}
|
|
2993
|
-
},
|
|
2994
|
-
const i =
|
|
3030
|
+
}, Qr = (e) => e, Xr = (e, t, n) => {
|
|
3031
|
+
const i = Qr(e);
|
|
2995
3032
|
return {
|
|
2996
|
-
emit: (r) =>
|
|
3033
|
+
emit: (r) => Jr(i, t, {
|
|
2997
3034
|
bubbles: !!(n & 4),
|
|
2998
3035
|
composed: !!(n & 2),
|
|
2999
3036
|
cancelable: !!(n & 1),
|
|
3000
3037
|
detail: r
|
|
3001
3038
|
})
|
|
3002
3039
|
};
|
|
3003
|
-
},
|
|
3004
|
-
const i =
|
|
3040
|
+
}, Jr = (e, t, n) => {
|
|
3041
|
+
const i = y.ce(t, n);
|
|
3005
3042
|
return e.dispatchEvent(i), i;
|
|
3006
|
-
},
|
|
3007
|
-
},
|
|
3008
|
-
const n = e.$hostElement$, i =
|
|
3043
|
+
}, Vr = (e, t) => {
|
|
3044
|
+
}, zn = (e, t) => (e.$flags$ |= 16, Vr(e, e.$ancestorComponent$), vs(() => ts(e, t))), ts = (e, t) => {
|
|
3045
|
+
const n = e.$hostElement$, i = R("scheduleUpdate", e.$cmpMeta$.$tagName$), r = n;
|
|
3009
3046
|
let s;
|
|
3010
|
-
return t ? s =
|
|
3011
|
-
},
|
|
3012
|
-
const i = e.$hostElement$, r =
|
|
3013
|
-
i["s-rc"], n &&
|
|
3014
|
-
const s =
|
|
3015
|
-
|
|
3016
|
-
},
|
|
3047
|
+
return t ? s = W(r, "componentWillLoad") : s = W(r, "componentWillUpdate"), s = De(s, () => W(r, "componentWillRender")), i(), De(s, () => es(e, r, t));
|
|
3048
|
+
}, es = async (e, t, n) => {
|
|
3049
|
+
const i = e.$hostElement$, r = R("update", e.$cmpMeta$.$tagName$);
|
|
3050
|
+
i["s-rc"], n && Nr(e);
|
|
3051
|
+
const s = R("render", e.$cmpMeta$.$tagName$);
|
|
3052
|
+
ns(e, t, i), s(), r(), is(e);
|
|
3053
|
+
}, ns = (e, t, n) => {
|
|
3017
3054
|
try {
|
|
3018
|
-
|
|
3055
|
+
Ie = t, t = t.render && t.render(), e.$flags$ &= -17, e.$flags$ |= 2, (N.hasRenderFn || N.reflect) && (N.vdomRender || N.reflect) && (N.hydrateServerSide || Kr(e, t));
|
|
3019
3056
|
} catch (a) {
|
|
3020
|
-
|
|
3057
|
+
at(a, e.$hostElement$);
|
|
3021
3058
|
}
|
|
3022
|
-
return
|
|
3023
|
-
},
|
|
3024
|
-
const t = e.$cmpMeta$.$tagName$, n = e.$hostElement$, i =
|
|
3025
|
-
e.$ancestorComponent$,
|
|
3026
|
-
},
|
|
3059
|
+
return Ie = null, null;
|
|
3060
|
+
}, is = (e) => {
|
|
3061
|
+
const t = e.$cmpMeta$.$tagName$, n = e.$hostElement$, i = R("postUpdate", t), r = n;
|
|
3062
|
+
e.$ancestorComponent$, W(r, "componentDidRender"), e.$flags$ & 64 ? (W(r, "componentDidUpdate"), i()) : (e.$flags$ |= 64, W(r, "componentDidLoad"), i());
|
|
3063
|
+
}, W = (e, t, n) => {
|
|
3027
3064
|
if (e && e[t])
|
|
3028
3065
|
try {
|
|
3029
3066
|
return e[t](n);
|
|
3030
3067
|
} catch (i) {
|
|
3031
|
-
|
|
3068
|
+
at(i);
|
|
3032
3069
|
}
|
|
3033
|
-
},
|
|
3034
|
-
const r =
|
|
3035
|
-
n =
|
|
3070
|
+
}, De = (e, t) => e && e.then ? e.then(t) : t(), rs = (e, t) => e != null && !oe(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, ss = (e, t) => Pt(e).$instanceValues$.get(t), os = (e, t, n, i) => {
|
|
3071
|
+
const r = Pt(e), s = e, o = r.$instanceValues$.get(t), a = r.$flags$, l = s;
|
|
3072
|
+
n = rs(n, i.$members$[t][0]);
|
|
3036
3073
|
const c = Number.isNaN(o) && Number.isNaN(n);
|
|
3037
3074
|
if (n !== o && !c) {
|
|
3038
3075
|
r.$instanceValues$.set(t, n);
|
|
@@ -3043,28 +3080,28 @@ const kt = typeof window < "u" ? window : {}, A = kt.document || { head: {} }, O
|
|
|
3043
3080
|
try {
|
|
3044
3081
|
l[d](n, o, t);
|
|
3045
3082
|
} catch (f) {
|
|
3046
|
-
|
|
3083
|
+
at(f, s);
|
|
3047
3084
|
}
|
|
3048
3085
|
});
|
|
3049
3086
|
}
|
|
3050
3087
|
if ((a & 18) === 2) {
|
|
3051
3088
|
if (l.componentShouldUpdate && l.componentShouldUpdate(n, o, t) === !1)
|
|
3052
3089
|
return;
|
|
3053
|
-
|
|
3090
|
+
zn(r, !1);
|
|
3054
3091
|
}
|
|
3055
3092
|
}
|
|
3056
3093
|
}
|
|
3057
|
-
},
|
|
3094
|
+
}, as = (e, t, n) => {
|
|
3058
3095
|
if (t.$members$) {
|
|
3059
3096
|
e.watchers && (t.$watchers$ = e.watchers);
|
|
3060
3097
|
const i = Object.entries(t.$members$), r = e.prototype;
|
|
3061
3098
|
i.map(([s, [o]]) => {
|
|
3062
3099
|
(o & 31 || o & 32) && Object.defineProperty(r, s, {
|
|
3063
3100
|
get() {
|
|
3064
|
-
return
|
|
3101
|
+
return ss(this, s);
|
|
3065
3102
|
},
|
|
3066
3103
|
set(a) {
|
|
3067
|
-
|
|
3104
|
+
os(this, s, a, t);
|
|
3068
3105
|
},
|
|
3069
3106
|
configurable: !0,
|
|
3070
3107
|
enumerable: !0
|
|
@@ -3073,7 +3110,7 @@ const kt = typeof window < "u" ? window : {}, A = kt.document || { head: {} }, O
|
|
|
3073
3110
|
{
|
|
3074
3111
|
const s = /* @__PURE__ */ new Map();
|
|
3075
3112
|
r.attributeChangedCallback = function(o, a, l) {
|
|
3076
|
-
|
|
3113
|
+
y.jmp(() => {
|
|
3077
3114
|
const c = s.get(o);
|
|
3078
3115
|
if (this.hasOwnProperty(c))
|
|
3079
3116
|
l = this[c], delete this[c];
|
|
@@ -3091,37 +3128,37 @@ const kt = typeof window < "u" ? window : {}, A = kt.document || { head: {} }, O
|
|
|
3091
3128
|
}
|
|
3092
3129
|
}
|
|
3093
3130
|
return e;
|
|
3094
|
-
},
|
|
3131
|
+
}, ls = async (e, t, n, i, r) => {
|
|
3095
3132
|
if (!(t.$flags$ & 32) && (r = e.constructor, t.$flags$ |= 32, customElements.whenDefined(n.$tagName$).then(() => t.$flags$ |= 128), r.style)) {
|
|
3096
3133
|
let o = r.style;
|
|
3097
|
-
typeof o != "string" && (o = o[t.$modeName$ =
|
|
3098
|
-
const a =
|
|
3099
|
-
if (!
|
|
3100
|
-
const l =
|
|
3101
|
-
|
|
3102
|
-
}
|
|
3103
|
-
}
|
|
3104
|
-
t.$ancestorComponent$, (() =>
|
|
3105
|
-
},
|
|
3106
|
-
},
|
|
3107
|
-
if (!(
|
|
3108
|
-
const t =
|
|
3109
|
-
t.$flags$ & 1 ? (
|
|
3134
|
+
typeof o != "string" && (o = o[t.$modeName$ = Dr(e)]);
|
|
3135
|
+
const a = Un(n, t.$modeName$);
|
|
3136
|
+
if (!xt.has(a)) {
|
|
3137
|
+
const l = R("registerStyles", n.$tagName$);
|
|
3138
|
+
jr(a, o, !!(n.$flags$ & 1)), l();
|
|
3139
|
+
}
|
|
3140
|
+
}
|
|
3141
|
+
t.$ancestorComponent$, (() => zn(t, !0))();
|
|
3142
|
+
}, cs = (e) => {
|
|
3143
|
+
}, us = (e) => {
|
|
3144
|
+
if (!(y.$flags$ & 1)) {
|
|
3145
|
+
const t = Pt(e), n = t.$cmpMeta$, i = R("connectedCallback", n.$tagName$);
|
|
3146
|
+
t.$flags$ & 1 ? (Ln(e, t, n.$listeners$), cs(t.$lazyInstance$)) : (t.$flags$ |= 1, n.$flags$ & 12 && hs(e), n.$members$ && Object.entries(n.$members$).map(([r, [s]]) => {
|
|
3110
3147
|
if (s & 31 && e.hasOwnProperty(r)) {
|
|
3111
3148
|
const o = e[r];
|
|
3112
3149
|
delete e[r], e[r] = o;
|
|
3113
3150
|
}
|
|
3114
|
-
}),
|
|
3151
|
+
}), ls(e, t, n)), i();
|
|
3115
3152
|
}
|
|
3116
|
-
},
|
|
3117
|
-
const t = e["s-cr"] =
|
|
3153
|
+
}, hs = (e) => {
|
|
3154
|
+
const t = e["s-cr"] = C.createComment("");
|
|
3118
3155
|
t["s-cn"] = !0, e.insertBefore(t, e.firstChild);
|
|
3119
|
-
},
|
|
3120
|
-
if (!(
|
|
3121
|
-
const t =
|
|
3156
|
+
}, ds = (e) => {
|
|
3157
|
+
if (!(y.$flags$ & 1)) {
|
|
3158
|
+
const t = Pt(e);
|
|
3122
3159
|
t.$rmListeners$ && (t.$rmListeners$.map((n) => n()), t.$rmListeners$ = void 0);
|
|
3123
3160
|
}
|
|
3124
|
-
},
|
|
3161
|
+
}, Fn = (e, t) => {
|
|
3125
3162
|
const n = {
|
|
3126
3163
|
$flags$: t[0],
|
|
3127
3164
|
$tagName$: t[1]
|
|
@@ -3130,13 +3167,13 @@ const kt = typeof window < "u" ? window : {}, A = kt.document || { head: {} }, O
|
|
|
3130
3167
|
const i = e.prototype.connectedCallback, r = e.prototype.disconnectedCallback;
|
|
3131
3168
|
return Object.assign(e.prototype, {
|
|
3132
3169
|
__registerHost() {
|
|
3133
|
-
|
|
3170
|
+
fs(this, n);
|
|
3134
3171
|
},
|
|
3135
3172
|
connectedCallback() {
|
|
3136
|
-
|
|
3173
|
+
us(this), i && i.call(this);
|
|
3137
3174
|
},
|
|
3138
3175
|
disconnectedCallback() {
|
|
3139
|
-
|
|
3176
|
+
ds(this), r && r.call(this);
|
|
3140
3177
|
},
|
|
3141
3178
|
__attachShadow() {
|
|
3142
3179
|
this.attachShadow({
|
|
@@ -3144,28 +3181,28 @@ const kt = typeof window < "u" ? window : {}, A = kt.document || { head: {} }, O
|
|
|
3144
3181
|
delegatesFocus: !!(n.$flags$ & 16)
|
|
3145
3182
|
});
|
|
3146
3183
|
}
|
|
3147
|
-
}), e.is = n.$tagName$,
|
|
3148
|
-
},
|
|
3184
|
+
}), e.is = n.$tagName$, as(e, n);
|
|
3185
|
+
}, Wn = /* @__PURE__ */ new WeakMap(), Pt = (e) => Wn.get(e), fs = (e, t) => {
|
|
3149
3186
|
const n = {
|
|
3150
3187
|
$flags$: 0,
|
|
3151
3188
|
$hostElement$: e,
|
|
3152
3189
|
$cmpMeta$: t,
|
|
3153
3190
|
$instanceValues$: /* @__PURE__ */ new Map()
|
|
3154
3191
|
};
|
|
3155
|
-
return
|
|
3156
|
-
},
|
|
3157
|
-
e.push(n),
|
|
3158
|
-
},
|
|
3192
|
+
return Ln(e, n, t.$listeners$), Wn.set(e, n);
|
|
3193
|
+
}, Be = (e, t) => t in e, at = (e, t) => (0, console.error)(e, t), xt = /* @__PURE__ */ new Map(), ps = [], ze = [], Gn = [], gs = (e, t) => (n) => {
|
|
3194
|
+
e.push(n), Gt || (Gt = !0, t && y.$flags$ & 4 ? $s(qt) : y.raf(qt));
|
|
3195
|
+
}, Fe = (e) => {
|
|
3159
3196
|
for (let t = 0; t < e.length; t++)
|
|
3160
3197
|
try {
|
|
3161
3198
|
e[t](performance.now());
|
|
3162
3199
|
} catch (n) {
|
|
3163
|
-
|
|
3200
|
+
at(n);
|
|
3164
3201
|
}
|
|
3165
3202
|
e.length = 0;
|
|
3166
|
-
},
|
|
3167
|
-
|
|
3168
|
-
},
|
|
3203
|
+
}, qt = () => {
|
|
3204
|
+
Fe(ze), Fe(Gn), (Gt = ze.length > 0) && y.raf(qt);
|
|
3205
|
+
}, $s = (e) => Ir().then(e), vs = /* @__PURE__ */ gs(Gn, !0), ms = (e = {}) => {
|
|
3169
3206
|
const { content: t = "", title: n, attributes: i = [] } = e;
|
|
3170
3207
|
let r = "", s = [
|
|
3171
3208
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
@@ -3173,54 +3210,54 @@ const kt = typeof window < "u" ? window : {}, A = kt.document || { head: {} }, O
|
|
|
3173
3210
|
...i
|
|
3174
3211
|
];
|
|
3175
3212
|
return n && (r = `<title>${n}</title>`), `<svg ${s.map((a) => `${a.name}="${a.value}"`).join(" ")}>${r}${t}</svg>`;
|
|
3176
|
-
},
|
|
3177
|
-
function
|
|
3213
|
+
}, ys = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim();
|
|
3214
|
+
function bs(e) {
|
|
3178
3215
|
return `${e.getFullYear()}.${e.getMonth() + 1}`;
|
|
3179
3216
|
}
|
|
3180
|
-
class
|
|
3217
|
+
class _s {
|
|
3181
3218
|
constructor(t) {
|
|
3182
|
-
this.voca_component = t, this.voca_added =
|
|
3219
|
+
this.voca_component = t, this.voca_added = bs(/* @__PURE__ */ new Date());
|
|
3183
3220
|
}
|
|
3184
3221
|
}
|
|
3185
|
-
const
|
|
3222
|
+
const ws = "telia-vst{display:none}", Ss = /* @__PURE__ */ Fn(class extends In {
|
|
3186
3223
|
constructor() {
|
|
3187
|
-
super(), this.__registerHost(), this.vocaInternalUStats =
|
|
3224
|
+
super(), this.__registerHost(), this.vocaInternalUStats = Xr(this, "vocaInternalUStats", 7);
|
|
3188
3225
|
}
|
|
3189
3226
|
connectedCallback() {
|
|
3190
|
-
this.vocaInternalUStats.emit(new
|
|
3227
|
+
this.vocaInternalUStats.emit(new _s(this.dataTrackingId));
|
|
3191
3228
|
}
|
|
3192
3229
|
render() {
|
|
3193
|
-
return
|
|
3230
|
+
return F(ae, null);
|
|
3194
3231
|
}
|
|
3195
3232
|
static get style() {
|
|
3196
|
-
return
|
|
3233
|
+
return ws;
|
|
3197
3234
|
}
|
|
3198
3235
|
}, [0, "telia-vst", {
|
|
3199
3236
|
dataTrackingId: [1, "data-tracking-id"]
|
|
3200
3237
|
}]);
|
|
3201
|
-
function
|
|
3238
|
+
function qn() {
|
|
3202
3239
|
if (typeof customElements > "u")
|
|
3203
3240
|
return;
|
|
3204
3241
|
["telia-vst"].forEach((t) => {
|
|
3205
3242
|
switch (t) {
|
|
3206
3243
|
case "telia-vst":
|
|
3207
|
-
customElements.get(t) || customElements.define(t,
|
|
3244
|
+
customElements.get(t) || customElements.define(t, Ss);
|
|
3208
3245
|
break;
|
|
3209
3246
|
}
|
|
3210
3247
|
});
|
|
3211
3248
|
}
|
|
3212
|
-
|
|
3213
|
-
function
|
|
3249
|
+
qn();
|
|
3250
|
+
function Yt() {
|
|
3214
3251
|
return typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : { vocadsIcons: void 0, vocadsIconsRegistered: !1 };
|
|
3215
3252
|
}
|
|
3216
|
-
function
|
|
3217
|
-
if (typeof
|
|
3218
|
-
return
|
|
3253
|
+
function xs() {
|
|
3254
|
+
if (typeof Yt().vocadsIcons !== void 0)
|
|
3255
|
+
return Yt().vocadsIcons;
|
|
3219
3256
|
}
|
|
3220
|
-
function
|
|
3221
|
-
return
|
|
3257
|
+
function As() {
|
|
3258
|
+
return Yt().vocadsIconsRegistered;
|
|
3222
3259
|
}
|
|
3223
|
-
const
|
|
3260
|
+
const Cs = ".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))}", Es = /* @__PURE__ */ Fn(class extends In {
|
|
3224
3261
|
constructor() {
|
|
3225
3262
|
super(), this.__registerHost(), this.size = "md", this.allyTitle = null, this.dataTrackingId = "telia-icon";
|
|
3226
3263
|
}
|
|
@@ -3232,8 +3269,8 @@ const ms = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
|
|
|
3232
3269
|
getSvgString() {
|
|
3233
3270
|
if (this.svg)
|
|
3234
3271
|
return this.svg;
|
|
3235
|
-
if (
|
|
3236
|
-
const e =
|
|
3272
|
+
if (As() && this.name) {
|
|
3273
|
+
const e = xs();
|
|
3237
3274
|
return e[this.name] ? e[this.name].svg : "";
|
|
3238
3275
|
}
|
|
3239
3276
|
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"), "";
|
|
@@ -3244,15 +3281,15 @@ const ms = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
|
|
|
3244
3281
|
...t,
|
|
3245
3282
|
{ name: "aria-hidden", value: "true" }
|
|
3246
3283
|
];
|
|
3247
|
-
const n =
|
|
3248
|
-
content:
|
|
3284
|
+
const n = ms({
|
|
3285
|
+
content: ys(e),
|
|
3249
3286
|
attributes: t,
|
|
3250
3287
|
title: this.allyTitle
|
|
3251
3288
|
});
|
|
3252
|
-
return
|
|
3289
|
+
return F(ae, { class: `telia-icon telia-icon--${this.size}` }, F("span", { "aria-label": this.allyTitle, class: "telia-icon__container", innerHTML: n }), F("telia-vst", { dataTrackingId: this.dataTrackingId }));
|
|
3253
3290
|
}
|
|
3254
3291
|
static get style() {
|
|
3255
|
-
return
|
|
3292
|
+
return Cs;
|
|
3256
3293
|
}
|
|
3257
3294
|
}, [0, "telia-icon", {
|
|
3258
3295
|
name: [1],
|
|
@@ -3261,30 +3298,30 @@ const ms = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
|
|
|
3261
3298
|
allyTitle: [1, "ally-title"],
|
|
3262
3299
|
dataTestid: [1, "data-testid"]
|
|
3263
3300
|
}]);
|
|
3264
|
-
function
|
|
3301
|
+
function ks() {
|
|
3265
3302
|
if (typeof customElements > "u")
|
|
3266
3303
|
return;
|
|
3267
3304
|
["telia-icon", "telia-vst"].forEach((t) => {
|
|
3268
3305
|
switch (t) {
|
|
3269
3306
|
case "telia-icon":
|
|
3270
|
-
customElements.get(t) || customElements.define(t,
|
|
3307
|
+
customElements.get(t) || customElements.define(t, Es);
|
|
3271
3308
|
break;
|
|
3272
3309
|
case "telia-vst":
|
|
3273
|
-
customElements.get(t) ||
|
|
3310
|
+
customElements.get(t) || qn();
|
|
3274
3311
|
break;
|
|
3275
3312
|
}
|
|
3276
3313
|
});
|
|
3277
3314
|
}
|
|
3278
|
-
|
|
3279
|
-
var
|
|
3280
|
-
for (var r = i > 1 ? void 0 : i ?
|
|
3315
|
+
ks();
|
|
3316
|
+
var Os = Object.defineProperty, Ts = Object.getOwnPropertyDescriptor, Ps = (e, t, n, i) => {
|
|
3317
|
+
for (var r = i > 1 ? void 0 : i ? Ts(t, n) : t, s = e.length - 1, o; s >= 0; s--)
|
|
3281
3318
|
(o = e[s]) && (r = (i ? o(t, n, r) : o(r)) || r);
|
|
3282
|
-
return i && r &&
|
|
3319
|
+
return i && r && Os(t, n, r), r;
|
|
3283
3320
|
};
|
|
3284
|
-
const
|
|
3285
|
-
class
|
|
3321
|
+
const Yn = kn(A);
|
|
3322
|
+
class Zn extends Yn {
|
|
3286
3323
|
constructor() {
|
|
3287
|
-
super(...arguments), this.optionsIsVisible = !1, this.options = new
|
|
3324
|
+
super(...arguments), this.optionsIsVisible = !1, this.options = new Tr(this);
|
|
3288
3325
|
}
|
|
3289
3326
|
addOption(t) {
|
|
3290
3327
|
return this.options.addOption(t);
|
|
@@ -3298,8 +3335,8 @@ class Gn extends Wn {
|
|
|
3298
3335
|
render() {
|
|
3299
3336
|
var s;
|
|
3300
3337
|
const t = this.application.branding(), n = (s = t == null ? void 0 : t.graphics) == null ? void 0 : s.logotype, i = this.application.texts, r = i.get("widget-header.header", "ACE Widget");
|
|
3301
|
-
return
|
|
3302
|
-
${n ?
|
|
3338
|
+
return w` <div class="widget-header">
|
|
3339
|
+
${n ? w` <img
|
|
3303
3340
|
src=${n}
|
|
3304
3341
|
class="logotype"
|
|
3305
3342
|
alt=${i.getOrFallback("widget-header.logo-alt", "Logo")}
|
|
@@ -3308,7 +3345,7 @@ class Gn extends Wn {
|
|
|
3308
3345
|
<div>
|
|
3309
3346
|
<h1>${r}</h1>
|
|
3310
3347
|
|
|
3311
|
-
<!-- ${this.properties.tagline ?
|
|
3348
|
+
<!-- ${this.properties.tagline ? w`<p>${this.properties.tagline}</p>` : p} -->
|
|
3312
3349
|
</div>
|
|
3313
3350
|
<div class="widget-header__action-buttons">
|
|
3314
3351
|
<button
|
|
@@ -3316,43 +3353,43 @@ class Gn extends Wn {
|
|
|
3316
3353
|
class="widget-header__action-button"
|
|
3317
3354
|
title=${i.getOrFallback("widget-header.ellipses", "Options")}
|
|
3318
3355
|
>
|
|
3319
|
-
<telia-icon svg=${
|
|
3356
|
+
<telia-icon svg=${ur.svg}></telia-icon>
|
|
3320
3357
|
</button>
|
|
3321
3358
|
<button
|
|
3322
3359
|
@click=${this._onMinimizeClick}
|
|
3323
3360
|
class="widget-header__action-button"
|
|
3324
3361
|
title=${i.getOrFallback("widget-header.minimize", "Minimize")}
|
|
3325
3362
|
>
|
|
3326
|
-
<telia-icon svg=${
|
|
3363
|
+
<telia-icon svg=${cr.svg}></telia-icon>
|
|
3327
3364
|
</button>
|
|
3328
3365
|
</div>
|
|
3329
3366
|
|
|
3330
|
-
${this.optionsIsVisible ?
|
|
3367
|
+
${this.optionsIsVisible ? w` <div
|
|
3331
3368
|
class="options-menu"
|
|
3332
|
-
${
|
|
3369
|
+
${xn({
|
|
3333
3370
|
keyframeOptions: {},
|
|
3334
|
-
in:
|
|
3335
|
-
out:
|
|
3371
|
+
in: Ee,
|
|
3372
|
+
out: Ee,
|
|
3336
3373
|
stabilizeOut: !0,
|
|
3337
3374
|
skipInitial: !1
|
|
3338
3375
|
})}
|
|
3339
3376
|
>
|
|
3340
|
-
${this.options.options.map((o) =>
|
|
3377
|
+
${this.options.options.map((o) => w`<button
|
|
3341
3378
|
class="options-menu__item"
|
|
3342
3379
|
@click=${() => {
|
|
3343
|
-
this._onToggleOptionsMenuClick(), o.onClick();
|
|
3380
|
+
o.closeOnClick && this._onToggleOptionsMenuClick(), o.onClick(), this.requestUpdate();
|
|
3344
3381
|
}}
|
|
3345
3382
|
>
|
|
3346
3383
|
${o.label}
|
|
3347
|
-
${o.icon ?
|
|
3384
|
+
${o.icon ? w`<telia-icon svg=${o.icon} size="sm"></telia-icon>` : p}
|
|
3348
3385
|
</button>`)}
|
|
3349
3386
|
</div>` : p}
|
|
3350
3387
|
</div>`;
|
|
3351
3388
|
}
|
|
3352
3389
|
}
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
|
|
3390
|
+
Zn.styles = [
|
|
3391
|
+
Yn.styles || [],
|
|
3392
|
+
M`
|
|
3356
3393
|
:host {
|
|
3357
3394
|
--header-text-color: var(--text-on-primary-background);
|
|
3358
3395
|
}
|
|
@@ -3446,10 +3483,10 @@ Gn.styles = [
|
|
|
3446
3483
|
}
|
|
3447
3484
|
`
|
|
3448
3485
|
];
|
|
3449
|
-
|
|
3450
|
-
|
|
3451
|
-
],
|
|
3486
|
+
Ps([
|
|
3487
|
+
Z()
|
|
3488
|
+
], Zn.prototype, "optionsIsVisible", 2);
|
|
3452
3489
|
export {
|
|
3453
|
-
|
|
3454
|
-
|
|
3490
|
+
Zn as WidgetHeader,
|
|
3491
|
+
Zn as default
|
|
3455
3492
|
};
|