@telia-ace/widget-components-widget-header-flamingo 1.1.72-rc.2 → 1.1.72-rc.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6,7 +6,7 @@ var zt = function(i, t) {
|
|
|
6
6
|
Object.prototype.hasOwnProperty.call(s, n) && (e[n] = s[n]);
|
|
7
7
|
}, zt(i, t);
|
|
8
8
|
};
|
|
9
|
-
function
|
|
9
|
+
function Z(i, 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
|
zt(i, t);
|
|
@@ -22,22 +22,22 @@ function Gi(i, t, e, s) {
|
|
|
22
22
|
});
|
|
23
23
|
}
|
|
24
24
|
return new (e || (e = Promise))(function(r, o) {
|
|
25
|
-
function a(
|
|
25
|
+
function a(u) {
|
|
26
26
|
try {
|
|
27
|
-
c(s.next(
|
|
28
|
-
} catch (
|
|
29
|
-
o(
|
|
27
|
+
c(s.next(u));
|
|
28
|
+
} catch (h) {
|
|
29
|
+
o(h);
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
-
function l(
|
|
32
|
+
function l(u) {
|
|
33
33
|
try {
|
|
34
|
-
c(s.throw(
|
|
35
|
-
} catch (
|
|
36
|
-
o(
|
|
34
|
+
c(s.throw(u));
|
|
35
|
+
} catch (h) {
|
|
36
|
+
o(h);
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
-
function c(
|
|
40
|
-
|
|
39
|
+
function c(u) {
|
|
40
|
+
u.done ? r(u.value) : n(u.value).then(a, l);
|
|
41
41
|
}
|
|
42
42
|
c((s = s.apply(i, t || [])).next());
|
|
43
43
|
});
|
|
@@ -52,8 +52,8 @@ function Ge(i, t) {
|
|
|
52
52
|
return this;
|
|
53
53
|
}), o;
|
|
54
54
|
function a(c) {
|
|
55
|
-
return function(
|
|
56
|
-
return l([c,
|
|
55
|
+
return function(u) {
|
|
56
|
+
return l([c, u]);
|
|
57
57
|
};
|
|
58
58
|
}
|
|
59
59
|
function l(c) {
|
|
@@ -97,8 +97,8 @@ function Ge(i, t) {
|
|
|
97
97
|
continue;
|
|
98
98
|
}
|
|
99
99
|
c = t.call(i, e);
|
|
100
|
-
} catch (
|
|
101
|
-
c = [6,
|
|
100
|
+
} catch (u) {
|
|
101
|
+
c = [6, u], n = 0;
|
|
102
102
|
} finally {
|
|
103
103
|
s = r = 0;
|
|
104
104
|
}
|
|
@@ -107,7 +107,7 @@ function Ge(i, t) {
|
|
|
107
107
|
return { value: c[0] ? c[1] : void 0, done: !0 };
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function q(i) {
|
|
111
111
|
var t = typeof Symbol == "function" && Symbol.iterator, e = t && i[t], s = 0;
|
|
112
112
|
if (e)
|
|
113
113
|
return e.call(i);
|
|
@@ -145,8 +145,8 @@ function gt(i, t, e) {
|
|
|
145
145
|
(r || !(s in t)) && (r || (r = Array.prototype.slice.call(t, 0, s)), r[s] = t[s]);
|
|
146
146
|
return i.concat(r || Array.prototype.slice.call(t));
|
|
147
147
|
}
|
|
148
|
-
function
|
|
149
|
-
return this instanceof
|
|
148
|
+
function F(i) {
|
|
149
|
+
return this instanceof F ? (this.v = i, this) : new F(i);
|
|
150
150
|
}
|
|
151
151
|
function Zi(i, t, e) {
|
|
152
152
|
if (!Symbol.asyncIterator)
|
|
@@ -166,19 +166,19 @@ function Zi(i, t, e) {
|
|
|
166
166
|
try {
|
|
167
167
|
l(s[d](f));
|
|
168
168
|
} catch ($) {
|
|
169
|
-
|
|
169
|
+
h(r[0][3], $);
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
172
|
function l(d) {
|
|
173
|
-
d.value instanceof
|
|
173
|
+
d.value instanceof F ? Promise.resolve(d.value.v).then(c, u) : h(r[0][2], d);
|
|
174
174
|
}
|
|
175
175
|
function c(d) {
|
|
176
176
|
a("next", d);
|
|
177
177
|
}
|
|
178
|
-
function
|
|
178
|
+
function u(d) {
|
|
179
179
|
a("throw", d);
|
|
180
180
|
}
|
|
181
|
-
function
|
|
181
|
+
function h(d, f) {
|
|
182
182
|
d(f), r.shift(), r.length && a(r[0][0], r[0][1]);
|
|
183
183
|
}
|
|
184
184
|
}
|
|
@@ -186,7 +186,7 @@ function Ki(i) {
|
|
|
186
186
|
if (!Symbol.asyncIterator)
|
|
187
187
|
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
188
188
|
var t = i[Symbol.asyncIterator], e;
|
|
189
|
-
return t ? t.call(i) : (i = typeof
|
|
189
|
+
return t ? t.call(i) : (i = typeof q == "function" ? q(i) : i[Symbol.iterator](), e = {}, s("next"), s("throw"), s("return"), e[Symbol.asyncIterator] = function() {
|
|
190
190
|
return this;
|
|
191
191
|
}, e);
|
|
192
192
|
function s(r) {
|
|
@@ -238,7 +238,7 @@ var Ct = 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 = q(o), l = a.next(); !l.done; l = a.next()) {
|
|
242
242
|
var c = l.value;
|
|
243
243
|
c.remove(this);
|
|
244
244
|
}
|
|
@@ -254,21 +254,21 @@ var Ct = function() {
|
|
|
254
254
|
}
|
|
255
255
|
else
|
|
256
256
|
o.remove(this);
|
|
257
|
-
var
|
|
258
|
-
if (v(
|
|
257
|
+
var u = this.initialTeardown;
|
|
258
|
+
if (v(u))
|
|
259
259
|
try {
|
|
260
|
-
|
|
260
|
+
u();
|
|
261
261
|
} catch (g) {
|
|
262
262
|
r = g instanceof It ? g.errors : [g];
|
|
263
263
|
}
|
|
264
|
-
var
|
|
265
|
-
if (
|
|
264
|
+
var h = this._finalizers;
|
|
265
|
+
if (h) {
|
|
266
266
|
this._finalizers = null;
|
|
267
267
|
try {
|
|
268
|
-
for (var d =
|
|
268
|
+
for (var d = q(h), f = d.next(); !f.done; f = d.next()) {
|
|
269
269
|
var $ = f.value;
|
|
270
270
|
try {
|
|
271
|
-
|
|
271
|
+
he($);
|
|
272
272
|
} catch (g) {
|
|
273
273
|
r = r ?? [], g instanceof It ? r = gt(gt([], pt(r)), pt(g.errors)) : r.push(g);
|
|
274
274
|
}
|
|
@@ -291,7 +291,7 @@ var Ct = function() {
|
|
|
291
291
|
var e;
|
|
292
292
|
if (t && t !== this)
|
|
293
293
|
if (this.closed)
|
|
294
|
-
|
|
294
|
+
he(t);
|
|
295
295
|
else {
|
|
296
296
|
if (t instanceof i) {
|
|
297
297
|
if (t.closed || t._hasParent(this))
|
|
@@ -320,7 +320,7 @@ var Ct = function() {
|
|
|
320
320
|
function Xe(i) {
|
|
321
321
|
return i instanceof Ct || i && "closed" in i && v(i.remove) && v(i.add) && v(i.unsubscribe);
|
|
322
322
|
}
|
|
323
|
-
function
|
|
323
|
+
function he(i) {
|
|
324
324
|
v(i) ? i() : i.unsubscribe();
|
|
325
325
|
}
|
|
326
326
|
var Qe = {
|
|
@@ -353,7 +353,7 @@ function dt(i) {
|
|
|
353
353
|
i();
|
|
354
354
|
}
|
|
355
355
|
var Kt = function(i) {
|
|
356
|
-
|
|
356
|
+
Z(t, i);
|
|
357
357
|
function t(e) {
|
|
358
358
|
var s = i.call(this) || this;
|
|
359
359
|
return s.isStopped = !1, e ? (s.destination = e, Xe(e) && e.add(s)) : s.destination = Vi, s;
|
|
@@ -397,7 +397,7 @@ var Qi = function() {
|
|
|
397
397
|
try {
|
|
398
398
|
e.next(t);
|
|
399
399
|
} catch (s) {
|
|
400
|
-
|
|
400
|
+
ut(s);
|
|
401
401
|
}
|
|
402
402
|
}, i.prototype.error = function(t) {
|
|
403
403
|
var e = this.partialObserver;
|
|
@@ -405,21 +405,21 @@ var Qi = function() {
|
|
|
405
405
|
try {
|
|
406
406
|
e.error(t);
|
|
407
407
|
} catch (s) {
|
|
408
|
-
|
|
408
|
+
ut(s);
|
|
409
409
|
}
|
|
410
410
|
else
|
|
411
|
-
|
|
411
|
+
ut(t);
|
|
412
412
|
}, i.prototype.complete = function() {
|
|
413
413
|
var t = this.partialObserver;
|
|
414
414
|
if (t.complete)
|
|
415
415
|
try {
|
|
416
416
|
t.complete();
|
|
417
417
|
} catch (e) {
|
|
418
|
-
|
|
418
|
+
ut(e);
|
|
419
419
|
}
|
|
420
420
|
}, i;
|
|
421
421
|
}(), Yt = function(i) {
|
|
422
|
-
|
|
422
|
+
Z(t, i);
|
|
423
423
|
function t(e, s, n) {
|
|
424
424
|
var r = i.call(this) || this, o;
|
|
425
425
|
if (v(e) || !e)
|
|
@@ -442,7 +442,7 @@ var Qi = function() {
|
|
|
442
442
|
}
|
|
443
443
|
return t;
|
|
444
444
|
}(Kt);
|
|
445
|
-
function
|
|
445
|
+
function ut(i) {
|
|
446
446
|
Je(i);
|
|
447
447
|
}
|
|
448
448
|
function Ji(i) {
|
|
@@ -556,20 +556,20 @@ function $t(i, t, e, s, n) {
|
|
|
556
556
|
return new ns(i, t, e, s, n);
|
|
557
557
|
}
|
|
558
558
|
var ns = function(i) {
|
|
559
|
-
|
|
559
|
+
Z(t, i);
|
|
560
560
|
function t(e, s, n, r, o, a) {
|
|
561
561
|
var l = i.call(this, e) || this;
|
|
562
562
|
return l.onFinalize = o, l.shouldUnsubscribe = a, l._next = s ? function(c) {
|
|
563
563
|
try {
|
|
564
564
|
s(c);
|
|
565
|
-
} catch (
|
|
566
|
-
e.error(
|
|
565
|
+
} catch (u) {
|
|
566
|
+
e.error(u);
|
|
567
567
|
}
|
|
568
568
|
} : i.prototype._next, l._error = r ? function(c) {
|
|
569
569
|
try {
|
|
570
570
|
r(c);
|
|
571
|
-
} catch (
|
|
572
|
-
e.error(
|
|
571
|
+
} catch (u) {
|
|
572
|
+
e.error(u);
|
|
573
573
|
} finally {
|
|
574
574
|
this.unsubscribe();
|
|
575
575
|
}
|
|
@@ -595,7 +595,7 @@ var ns = function(i) {
|
|
|
595
595
|
i(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
596
596
|
};
|
|
597
597
|
}), kt = function(i) {
|
|
598
|
-
|
|
598
|
+
Z(t, i);
|
|
599
599
|
function t() {
|
|
600
600
|
var e = i.call(this) || this;
|
|
601
601
|
return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
|
|
@@ -613,7 +613,7 @@ var ns = function(i) {
|
|
|
613
613
|
if (s._throwIfClosed(), !s.isStopped) {
|
|
614
614
|
s.currentObservers || (s.currentObservers = Array.from(s.observers));
|
|
615
615
|
try {
|
|
616
|
-
for (var o =
|
|
616
|
+
for (var o = q(s.currentObservers), a = o.next(); !a.done; a = o.next()) {
|
|
617
617
|
var l = a.value;
|
|
618
618
|
l.next(e);
|
|
619
619
|
}
|
|
@@ -675,7 +675,7 @@ var ns = function(i) {
|
|
|
675
675
|
return new pe(e, s);
|
|
676
676
|
}, t;
|
|
677
677
|
}(w), pe = function(i) {
|
|
678
|
-
|
|
678
|
+
Z(t, i);
|
|
679
679
|
function t(e, s) {
|
|
680
680
|
var n = i.call(this) || this;
|
|
681
681
|
return n.destination = e, n.source = s, n;
|
|
@@ -694,7 +694,7 @@ var ns = function(i) {
|
|
|
694
694
|
return (n = (s = this.source) === null || s === void 0 ? void 0 : s.subscribe(e)) !== null && n !== void 0 ? n : Ke;
|
|
695
695
|
}, t;
|
|
696
696
|
}(kt), os = function(i) {
|
|
697
|
-
|
|
697
|
+
Z(t, i);
|
|
698
698
|
function t(e) {
|
|
699
699
|
var s = i.call(this) || this;
|
|
700
700
|
return s._value = e, s;
|
|
@@ -728,7 +728,7 @@ function ti(i) {
|
|
|
728
728
|
function cs(i) {
|
|
729
729
|
return ls(ti(i)) ? i.pop() : void 0;
|
|
730
730
|
}
|
|
731
|
-
function
|
|
731
|
+
function us(i, t) {
|
|
732
732
|
return typeof ti(i) == "number" ? i.pop() : t;
|
|
733
733
|
}
|
|
734
734
|
var ei = function(i) {
|
|
@@ -746,10 +746,10 @@ function ni(i) {
|
|
|
746
746
|
function ri(i) {
|
|
747
747
|
return new TypeError("You provided " + (i !== null && typeof i == "object" ? "an invalid object" : "'" + i + "'") + " where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.");
|
|
748
748
|
}
|
|
749
|
-
function
|
|
749
|
+
function hs() {
|
|
750
750
|
return typeof Symbol != "function" || !Symbol.iterator ? "@@iterator" : Symbol.iterator;
|
|
751
751
|
}
|
|
752
|
-
var oi =
|
|
752
|
+
var oi = hs();
|
|
753
753
|
function ai(i) {
|
|
754
754
|
return v(i == null ? void 0 : i[oi]);
|
|
755
755
|
}
|
|
@@ -763,13 +763,13 @@ function li(i) {
|
|
|
763
763
|
case 1:
|
|
764
764
|
o.trys.push([1, , 9, 10]), o.label = 2;
|
|
765
765
|
case 2:
|
|
766
|
-
return [4,
|
|
766
|
+
return [4, F(e.read())];
|
|
767
767
|
case 3:
|
|
768
|
-
return s = o.sent(), n = s.value, r = s.done, r ? [4,
|
|
768
|
+
return s = o.sent(), n = s.value, r = s.done, r ? [4, F(void 0)] : [3, 5];
|
|
769
769
|
case 4:
|
|
770
770
|
return [2, o.sent()];
|
|
771
771
|
case 5:
|
|
772
|
-
return [4,
|
|
772
|
+
return [4, F(n)];
|
|
773
773
|
case 6:
|
|
774
774
|
return [4, o.sent()];
|
|
775
775
|
case 7:
|
|
@@ -787,7 +787,7 @@ function li(i) {
|
|
|
787
787
|
function ci(i) {
|
|
788
788
|
return v(i == null ? void 0 : i.getReader);
|
|
789
789
|
}
|
|
790
|
-
function
|
|
790
|
+
function K(i) {
|
|
791
791
|
if (i instanceof w)
|
|
792
792
|
return i;
|
|
793
793
|
if (i != null) {
|
|
@@ -798,7 +798,7 @@ function Z(i) {
|
|
|
798
798
|
if (ii(i))
|
|
799
799
|
return ps(i);
|
|
800
800
|
if (ni(i))
|
|
801
|
-
return
|
|
801
|
+
return ui(i);
|
|
802
802
|
if (ai(i))
|
|
803
803
|
return gs(i);
|
|
804
804
|
if (ci(i))
|
|
@@ -834,7 +834,7 @@ function gs(i) {
|
|
|
834
834
|
return new w(function(t) {
|
|
835
835
|
var e, s;
|
|
836
836
|
try {
|
|
837
|
-
for (var n =
|
|
837
|
+
for (var n = q(i), r = n.next(); !r.done; r = n.next()) {
|
|
838
838
|
var o = r.value;
|
|
839
839
|
if (t.next(o), t.closed)
|
|
840
840
|
return;
|
|
@@ -852,7 +852,7 @@ function gs(i) {
|
|
|
852
852
|
t.complete();
|
|
853
853
|
});
|
|
854
854
|
}
|
|
855
|
-
function
|
|
855
|
+
function ui(i) {
|
|
856
856
|
return new w(function(t) {
|
|
857
857
|
vs(i, t).catch(function(e) {
|
|
858
858
|
return t.error(e);
|
|
@@ -860,7 +860,7 @@ function hi(i) {
|
|
|
860
860
|
});
|
|
861
861
|
}
|
|
862
862
|
function $s(i) {
|
|
863
|
-
return
|
|
863
|
+
return ui(li(i));
|
|
864
864
|
}
|
|
865
865
|
function vs(i, t) {
|
|
866
866
|
var e, s, n, r;
|
|
@@ -902,7 +902,7 @@ function vs(i, t) {
|
|
|
902
902
|
});
|
|
903
903
|
});
|
|
904
904
|
}
|
|
905
|
-
function
|
|
905
|
+
function k(i, t, e, s, n) {
|
|
906
906
|
s === void 0 && (s = 0), n === void 0 && (n = !1);
|
|
907
907
|
var r = t.schedule(function() {
|
|
908
908
|
e(), n ? i.add(this.schedule(null, s)) : this.unsubscribe();
|
|
@@ -910,18 +910,18 @@ function E(i, t, e, s, n) {
|
|
|
910
910
|
if (i.add(r), !n)
|
|
911
911
|
return r;
|
|
912
912
|
}
|
|
913
|
-
function
|
|
913
|
+
function hi(i, t) {
|
|
914
914
|
return t === void 0 && (t = 0), Et(function(e, s) {
|
|
915
915
|
e.subscribe($t(s, function(n) {
|
|
916
|
-
return
|
|
916
|
+
return k(s, i, function() {
|
|
917
917
|
return s.next(n);
|
|
918
918
|
}, t);
|
|
919
919
|
}, function() {
|
|
920
|
-
return
|
|
920
|
+
return k(s, i, function() {
|
|
921
921
|
return s.complete();
|
|
922
922
|
}, t);
|
|
923
923
|
}, function(n) {
|
|
924
|
-
return
|
|
924
|
+
return k(s, i, function() {
|
|
925
925
|
return s.error(n);
|
|
926
926
|
}, t);
|
|
927
927
|
}));
|
|
@@ -935,10 +935,10 @@ function di(i, t) {
|
|
|
935
935
|
});
|
|
936
936
|
}
|
|
937
937
|
function ms(i, t) {
|
|
938
|
-
return
|
|
938
|
+
return K(i).pipe(di(t), hi(t));
|
|
939
939
|
}
|
|
940
940
|
function ys(i, t) {
|
|
941
|
-
return
|
|
941
|
+
return K(i).pipe(di(t), hi(t));
|
|
942
942
|
}
|
|
943
943
|
function bs(i, t) {
|
|
944
944
|
return new w(function(e) {
|
|
@@ -951,8 +951,8 @@ function bs(i, t) {
|
|
|
951
951
|
function _s(i, t) {
|
|
952
952
|
return new w(function(e) {
|
|
953
953
|
var s;
|
|
954
|
-
return
|
|
955
|
-
s = i[oi](),
|
|
954
|
+
return k(e, t, function() {
|
|
955
|
+
s = i[oi](), k(e, t, function() {
|
|
956
956
|
var n, r, o;
|
|
957
957
|
try {
|
|
958
958
|
n = s.next(), r = n.value, o = n.done;
|
|
@@ -971,9 +971,9 @@ function fi(i, t) {
|
|
|
971
971
|
if (!i)
|
|
972
972
|
throw new Error("Iterable cannot be null");
|
|
973
973
|
return new w(function(e) {
|
|
974
|
-
|
|
974
|
+
k(e, t, function() {
|
|
975
975
|
var s = i[Symbol.asyncIterator]();
|
|
976
|
-
|
|
976
|
+
k(e, t, function() {
|
|
977
977
|
s.next().then(function(n) {
|
|
978
978
|
n.done ? e.complete() : e.next(n.value);
|
|
979
979
|
});
|
|
@@ -1002,7 +1002,7 @@ function xs(i, t) {
|
|
|
1002
1002
|
throw ri(i);
|
|
1003
1003
|
}
|
|
1004
1004
|
function Ss(i, t) {
|
|
1005
|
-
return t ? xs(i, t) :
|
|
1005
|
+
return t ? xs(i, t) : K(i);
|
|
1006
1006
|
}
|
|
1007
1007
|
function As(i, t) {
|
|
1008
1008
|
return Et(function(e, s) {
|
|
@@ -1013,36 +1013,36 @@ function As(i, t) {
|
|
|
1013
1013
|
});
|
|
1014
1014
|
}
|
|
1015
1015
|
function Cs(i, t, e, s, n, r, o, a) {
|
|
1016
|
-
var l = [], c = 0,
|
|
1017
|
-
|
|
1016
|
+
var l = [], c = 0, u = 0, h = !1, d = function() {
|
|
1017
|
+
h && !l.length && !c && t.complete();
|
|
1018
1018
|
}, f = function(g) {
|
|
1019
1019
|
return c < s ? $(g) : l.push(g);
|
|
1020
1020
|
}, $ = function(g) {
|
|
1021
1021
|
r && t.next(g), c++;
|
|
1022
|
-
var
|
|
1023
|
-
|
|
1024
|
-
n == null || n(
|
|
1022
|
+
var ue = !1;
|
|
1023
|
+
K(e(g, u++)).subscribe($t(t, function(X) {
|
|
1024
|
+
n == null || n(X), r ? f(X) : t.next(X);
|
|
1025
1025
|
}, function() {
|
|
1026
|
-
|
|
1026
|
+
ue = !0;
|
|
1027
1027
|
}, void 0, function() {
|
|
1028
|
-
if (
|
|
1028
|
+
if (ue)
|
|
1029
1029
|
try {
|
|
1030
1030
|
c--;
|
|
1031
|
-
for (var
|
|
1032
|
-
var
|
|
1033
|
-
o ?
|
|
1034
|
-
return $(
|
|
1035
|
-
}) : $(
|
|
1031
|
+
for (var X = function() {
|
|
1032
|
+
var ct = l.shift();
|
|
1033
|
+
o ? k(t, o, function() {
|
|
1034
|
+
return $(ct);
|
|
1035
|
+
}) : $(ct);
|
|
1036
1036
|
}; l.length && c < s; )
|
|
1037
|
-
|
|
1037
|
+
X();
|
|
1038
1038
|
d();
|
|
1039
|
-
} catch (
|
|
1040
|
-
t.error(
|
|
1039
|
+
} catch (ct) {
|
|
1040
|
+
t.error(ct);
|
|
1041
1041
|
}
|
|
1042
1042
|
}));
|
|
1043
1043
|
};
|
|
1044
1044
|
return i.subscribe($t(t, f, function() {
|
|
1045
|
-
|
|
1045
|
+
h = !0, d();
|
|
1046
1046
|
})), function() {
|
|
1047
1047
|
a == null || a();
|
|
1048
1048
|
};
|
|
@@ -1051,7 +1051,7 @@ function pi(i, t, e) {
|
|
|
1051
1051
|
return e === void 0 && (e = 1 / 0), v(t) ? pi(function(s, n) {
|
|
1052
1052
|
return As(function(r, o) {
|
|
1053
1053
|
return t(s, r, n, o);
|
|
1054
|
-
})(
|
|
1054
|
+
})(K(i(s, n)));
|
|
1055
1055
|
}, e) : (typeof t == "number" && (e = t), Et(function(s, n) {
|
|
1056
1056
|
return Cs(s, n, i, e);
|
|
1057
1057
|
}));
|
|
@@ -1062,8 +1062,8 @@ function Es(i) {
|
|
|
1062
1062
|
function ks() {
|
|
1063
1063
|
for (var i = [], t = 0; t < arguments.length; t++)
|
|
1064
1064
|
i[t] = arguments[t];
|
|
1065
|
-
var e = cs(i), s =
|
|
1066
|
-
return n.length ? n.length === 1 ?
|
|
1065
|
+
var e = cs(i), s = us(i, 1 / 0), n = i;
|
|
1066
|
+
return n.length ? n.length === 1 ? K(n[0]) : Es(s)(Ss(n, e)) : as;
|
|
1067
1067
|
}
|
|
1068
1068
|
/**
|
|
1069
1069
|
* @license
|
|
@@ -1090,7 +1090,7 @@ let gi = class {
|
|
|
1090
1090
|
return this.cssText;
|
|
1091
1091
|
}
|
|
1092
1092
|
};
|
|
1093
|
-
const Os = (i) => new gi(typeof i == "string" ? i : i + "", void 0, Jt),
|
|
1093
|
+
const Os = (i) => new gi(typeof i == "string" ? i : i + "", void 0, Jt), j = (i, ...t) => {
|
|
1094
1094
|
const e = i.length === 1 ? i[0] : t.reduce((s, n, r) => s + ((o) => {
|
|
1095
1095
|
if (o._$cssResult$ === !0)
|
|
1096
1096
|
return o.cssText;
|
|
@@ -1118,7 +1118,7 @@ const Os = (i) => new gi(typeof i == "string" ? i : i + "", void 0, Jt), M = (i,
|
|
|
1118
1118
|
* Copyright 2017 Google LLC
|
|
1119
1119
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1120
1120
|
*/
|
|
1121
|
-
const { is: Ps, defineProperty: Ls, getOwnPropertyDescriptor: Is, getOwnPropertyNames: Rs, getOwnPropertySymbols: Us, getPrototypeOf: Ms } = Object,
|
|
1121
|
+
const { is: Ps, defineProperty: Ls, getOwnPropertyDescriptor: Is, getOwnPropertyNames: Rs, getOwnPropertySymbols: Us, getPrototypeOf: Ms } = Object, O = globalThis, ve = O.trustedTypes, js = ve ? ve.emptyScript : "", Ut = O.reactiveElementPolyfillSupport, J = (i, t) => i, vt = { toAttribute(i, t) {
|
|
1122
1122
|
switch (t) {
|
|
1123
1123
|
case Boolean:
|
|
1124
1124
|
i = i ? js : null;
|
|
@@ -1147,8 +1147,8 @@ const { is: Ps, defineProperty: Ls, getOwnPropertyDescriptor: Is, getOwnProperty
|
|
|
1147
1147
|
}
|
|
1148
1148
|
return e;
|
|
1149
1149
|
} }, Vt = (i, t) => !Ps(i, t), me = { attribute: !0, type: String, converter: vt, reflect: !1, hasChanged: Vt };
|
|
1150
|
-
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")),
|
|
1151
|
-
let
|
|
1150
|
+
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), O.litPropertyMetadata ?? (O.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
1151
|
+
let N = class extends HTMLElement {
|
|
1152
1152
|
static addInitializer(t) {
|
|
1153
1153
|
this._$Ei(), (this.l ?? (this.l = [])).push(t);
|
|
1154
1154
|
}
|
|
@@ -1178,15 +1178,15 @@ let H = class extends HTMLElement {
|
|
|
1178
1178
|
return this.elementProperties.get(t) ?? me;
|
|
1179
1179
|
}
|
|
1180
1180
|
static _$Ei() {
|
|
1181
|
-
if (this.hasOwnProperty(
|
|
1181
|
+
if (this.hasOwnProperty(J("elementProperties")))
|
|
1182
1182
|
return;
|
|
1183
1183
|
const t = Ms(this);
|
|
1184
1184
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
1185
1185
|
}
|
|
1186
1186
|
static finalize() {
|
|
1187
|
-
if (this.hasOwnProperty(
|
|
1187
|
+
if (this.hasOwnProperty(J("finalized")))
|
|
1188
1188
|
return;
|
|
1189
|
-
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(
|
|
1189
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(J("properties"))) {
|
|
1190
1190
|
const e = this.properties, s = [...Rs(e), ...Us(e)];
|
|
1191
1191
|
for (const n of s)
|
|
1192
1192
|
this.createProperty(n, e[n]);
|
|
@@ -1359,15 +1359,15 @@ let H = class extends HTMLElement {
|
|
|
1359
1359
|
firstUpdated(t) {
|
|
1360
1360
|
}
|
|
1361
1361
|
};
|
|
1362
|
-
|
|
1362
|
+
N.elementStyles = [], N.shadowRootOptions = { mode: "open" }, N[J("elementProperties")] = /* @__PURE__ */ new Map(), N[J("finalized")] = /* @__PURE__ */ new Map(), Ut == null || Ut({ ReactiveElement: N }), (O.reactiveElementVersions ?? (O.reactiveElementVersions = [])).push("2.0.4");
|
|
1363
1363
|
/**
|
|
1364
1364
|
* @license
|
|
1365
1365
|
* Copyright 2017 Google LLC
|
|
1366
1366
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1367
1367
|
*/
|
|
1368
|
-
const
|
|
1369
|
-
\f\r]`,
|
|
1370
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), we = /'/g, xe = /"/g, yi = /^(?:script|style|textarea|title)$/i, Ds = (i) => (t, ...e) => ({ _$litType$: i, strings: t, values: e }), b = Ds(1),
|
|
1368
|
+
const V = globalThis, mt = V.trustedTypes, ye = mt ? mt.createPolicy("lit-html", { createHTML: (i) => i }) : void 0, $i = "$lit$", E = `lit$${(Math.random() + "").slice(9)}$`, vi = "?" + E, Hs = `<${vi}>`, R = document, et = () => R.createComment(""), it = (i) => i === null || typeof i != "object" && typeof i != "function", mi = Array.isArray, Ns = (i) => mi(i) || typeof (i == null ? void 0 : i[Symbol.iterator]) == "function", Mt = `[
|
|
1369
|
+
\f\r]`, Q = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, be = /-->/g, _e = />/g, P = RegExp(`>|${Mt}(?:([^\\s"'>=/]+)(${Mt}*=${Mt}*(?:[^
|
|
1370
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), we = /'/g, xe = /"/g, yi = /^(?:script|style|textarea|title)$/i, Ds = (i) => (t, ...e) => ({ _$litType$: i, strings: t, values: e }), b = Ds(1), U = Symbol.for("lit-noChange"), p = Symbol.for("lit-nothing"), Se = /* @__PURE__ */ new WeakMap(), I = R.createTreeWalker(R, 129);
|
|
1371
1371
|
function bi(i, t) {
|
|
1372
1372
|
if (!Array.isArray(i) || !i.hasOwnProperty("raw"))
|
|
1373
1373
|
throw Error("invalid template strings array");
|
|
@@ -1375,68 +1375,68 @@ function bi(i, t) {
|
|
|
1375
1375
|
}
|
|
1376
1376
|
const Bs = (i, t) => {
|
|
1377
1377
|
const e = i.length - 1, s = [];
|
|
1378
|
-
let n, r = t === 2 ? "<svg>" : "", o =
|
|
1378
|
+
let n, r = t === 2 ? "<svg>" : "", o = Q;
|
|
1379
1379
|
for (let a = 0; a < e; a++) {
|
|
1380
1380
|
const l = i[a];
|
|
1381
|
-
let c,
|
|
1382
|
-
for (; d < l.length && (o.lastIndex = d,
|
|
1383
|
-
d = o.lastIndex, o ===
|
|
1384
|
-
const f = o ===
|
|
1385
|
-
r += o ===
|
|
1381
|
+
let c, u, h = -1, d = 0;
|
|
1382
|
+
for (; d < l.length && (o.lastIndex = d, u = o.exec(l), u !== null); )
|
|
1383
|
+
d = o.lastIndex, o === Q ? u[1] === "!--" ? o = be : u[1] !== void 0 ? o = _e : u[2] !== void 0 ? (yi.test(u[2]) && (n = RegExp("</" + u[2], "g")), o = P) : u[3] !== void 0 && (o = P) : o === P ? u[0] === ">" ? (o = n ?? Q, h = -1) : u[1] === void 0 ? h = -2 : (h = o.lastIndex - u[2].length, c = u[1], o = u[3] === void 0 ? P : u[3] === '"' ? xe : we) : o === xe || o === we ? o = P : o === be || o === _e ? o = Q : (o = P, n = void 0);
|
|
1384
|
+
const f = o === P && i[a + 1].startsWith("/>") ? " " : "";
|
|
1385
|
+
r += o === Q ? l + Hs : h >= 0 ? (s.push(c), l.slice(0, h) + $i + l.slice(h) + E + f) : l + E + (h === -2 ? a : f);
|
|
1386
1386
|
}
|
|
1387
1387
|
return [bi(i, r + (i[e] || "<?>") + (t === 2 ? "</svg>" : "")), s];
|
|
1388
1388
|
};
|
|
1389
|
-
class
|
|
1389
|
+
class st {
|
|
1390
1390
|
constructor({ strings: t, _$litType$: e }, s) {
|
|
1391
1391
|
let n;
|
|
1392
1392
|
this.parts = [];
|
|
1393
1393
|
let r = 0, o = 0;
|
|
1394
|
-
const a = t.length - 1, l = this.parts, [c,
|
|
1395
|
-
if (this.el =
|
|
1396
|
-
const
|
|
1397
|
-
|
|
1394
|
+
const a = t.length - 1, l = this.parts, [c, u] = Bs(t, e);
|
|
1395
|
+
if (this.el = st.createElement(c, s), I.currentNode = this.el.content, e === 2) {
|
|
1396
|
+
const h = this.el.content.firstChild;
|
|
1397
|
+
h.replaceWith(...h.childNodes);
|
|
1398
1398
|
}
|
|
1399
|
-
for (; (n =
|
|
1399
|
+
for (; (n = I.nextNode()) !== null && l.length < a; ) {
|
|
1400
1400
|
if (n.nodeType === 1) {
|
|
1401
1401
|
if (n.hasAttributes())
|
|
1402
|
-
for (const
|
|
1403
|
-
if (
|
|
1404
|
-
const d =
|
|
1405
|
-
l.push({ type: 1, index: r, name: $[2], strings: f, ctor: $[1] === "." ? Fs : $[1] === "?" ? Ws : $[1] === "@" ? Ys : Ot }), n.removeAttribute(
|
|
1402
|
+
for (const h of n.getAttributeNames())
|
|
1403
|
+
if (h.endsWith($i)) {
|
|
1404
|
+
const d = u[o++], f = n.getAttribute(h).split(E), $ = /([.?@])?(.*)/.exec(d);
|
|
1405
|
+
l.push({ type: 1, index: r, name: $[2], strings: f, ctor: $[1] === "." ? Fs : $[1] === "?" ? Ws : $[1] === "@" ? Ys : Ot }), n.removeAttribute(h);
|
|
1406
1406
|
} else
|
|
1407
|
-
|
|
1407
|
+
h.startsWith(E) && (l.push({ type: 6, index: r }), n.removeAttribute(h));
|
|
1408
1408
|
if (yi.test(n.tagName)) {
|
|
1409
|
-
const
|
|
1409
|
+
const h = n.textContent.split(E), d = h.length - 1;
|
|
1410
1410
|
if (d > 0) {
|
|
1411
1411
|
n.textContent = mt ? mt.emptyScript : "";
|
|
1412
1412
|
for (let f = 0; f < d; f++)
|
|
1413
|
-
n.append(
|
|
1414
|
-
n.append(
|
|
1413
|
+
n.append(h[f], et()), I.nextNode(), l.push({ type: 2, index: ++r });
|
|
1414
|
+
n.append(h[d], et());
|
|
1415
1415
|
}
|
|
1416
1416
|
}
|
|
1417
1417
|
} else if (n.nodeType === 8)
|
|
1418
1418
|
if (n.data === vi)
|
|
1419
1419
|
l.push({ type: 2, index: r });
|
|
1420
1420
|
else {
|
|
1421
|
-
let
|
|
1422
|
-
for (; (
|
|
1423
|
-
l.push({ type: 7, index: r }),
|
|
1421
|
+
let h = -1;
|
|
1422
|
+
for (; (h = n.data.indexOf(E, h + 1)) !== -1; )
|
|
1423
|
+
l.push({ type: 7, index: r }), h += E.length - 1;
|
|
1424
1424
|
}
|
|
1425
1425
|
r++;
|
|
1426
1426
|
}
|
|
1427
1427
|
}
|
|
1428
1428
|
static createElement(t, e) {
|
|
1429
|
-
const s =
|
|
1429
|
+
const s = R.createElement("template");
|
|
1430
1430
|
return s.innerHTML = t, s;
|
|
1431
1431
|
}
|
|
1432
1432
|
}
|
|
1433
|
-
function
|
|
1433
|
+
function G(i, t, e = i, s) {
|
|
1434
1434
|
var o, a;
|
|
1435
|
-
if (t ===
|
|
1435
|
+
if (t === U)
|
|
1436
1436
|
return t;
|
|
1437
1437
|
let n = s !== void 0 ? (o = e._$Co) == null ? void 0 : o[s] : e._$Cl;
|
|
1438
|
-
const r =
|
|
1439
|
-
return (n == null ? void 0 : n.constructor) !== r && ((a = n == null ? void 0 : n._$AO) == null || a.call(n, !1), r === void 0 ? n = void 0 : (n = new r(i), n._$AT(i, e, s)), s !== void 0 ? (e._$Co ?? (e._$Co = []))[s] = n : e._$Cl = n), n !== void 0 && (t =
|
|
1438
|
+
const r = it(t) ? void 0 : t._$litDirective$;
|
|
1439
|
+
return (n == null ? void 0 : n.constructor) !== r && ((a = n == null ? void 0 : n._$AO) == null || a.call(n, !1), r === void 0 ? n = void 0 : (n = new r(i), n._$AT(i, e, s)), s !== void 0 ? (e._$Co ?? (e._$Co = []))[s] = n : e._$Cl = n), n !== void 0 && (t = G(i, n._$AS(i, t.values), n, s)), t;
|
|
1440
1440
|
}
|
|
1441
1441
|
class zs {
|
|
1442
1442
|
constructor(t, e) {
|
|
@@ -1449,17 +1449,17 @@ class zs {
|
|
|
1449
1449
|
return this._$AM._$AU;
|
|
1450
1450
|
}
|
|
1451
1451
|
u(t) {
|
|
1452
|
-
const { el: { content: e }, parts: s } = this._$AD, n = ((t == null ? void 0 : t.creationScope) ??
|
|
1453
|
-
|
|
1454
|
-
let r =
|
|
1452
|
+
const { el: { content: e }, parts: s } = this._$AD, n = ((t == null ? void 0 : t.creationScope) ?? R).importNode(e, !0);
|
|
1453
|
+
I.currentNode = n;
|
|
1454
|
+
let r = I.nextNode(), o = 0, a = 0, l = s[0];
|
|
1455
1455
|
for (; l !== void 0; ) {
|
|
1456
1456
|
if (o === l.index) {
|
|
1457
1457
|
let c;
|
|
1458
|
-
l.type === 2 ? c = new
|
|
1458
|
+
l.type === 2 ? c = new rt(r, r.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (c = new qs(r, this, t)), this._$AV.push(c), l = s[++a];
|
|
1459
1459
|
}
|
|
1460
|
-
o !== (l == null ? void 0 : l.index) && (r =
|
|
1460
|
+
o !== (l == null ? void 0 : l.index) && (r = I.nextNode(), o++);
|
|
1461
1461
|
}
|
|
1462
|
-
return
|
|
1462
|
+
return I.currentNode = R, n;
|
|
1463
1463
|
}
|
|
1464
1464
|
p(t) {
|
|
1465
1465
|
let e = 0;
|
|
@@ -1467,7 +1467,7 @@ class zs {
|
|
|
1467
1467
|
s !== void 0 && (s.strings !== void 0 ? (s._$AI(t, s, e), e += s.strings.length - 2) : s._$AI(t[e])), e++;
|
|
1468
1468
|
}
|
|
1469
1469
|
}
|
|
1470
|
-
class
|
|
1470
|
+
class rt {
|
|
1471
1471
|
get _$AU() {
|
|
1472
1472
|
var t;
|
|
1473
1473
|
return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
|
|
@@ -1487,7 +1487,7 @@ class nt {
|
|
|
1487
1487
|
return this._$AB;
|
|
1488
1488
|
}
|
|
1489
1489
|
_$AI(t, e = this) {
|
|
1490
|
-
t =
|
|
1490
|
+
t = G(this, t, e), it(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.$(t) : t.nodeType !== void 0 ? this.T(t) : Ns(t) ? this.k(t) : this._(t);
|
|
1491
1491
|
}
|
|
1492
1492
|
S(t) {
|
|
1493
1493
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -1496,11 +1496,11 @@ class nt {
|
|
|
1496
1496
|
this._$AH !== t && (this._$AR(), this._$AH = this.S(t));
|
|
1497
1497
|
}
|
|
1498
1498
|
_(t) {
|
|
1499
|
-
this._$AH !== p &&
|
|
1499
|
+
this._$AH !== p && it(this._$AH) ? this._$AA.nextSibling.data = t : this.T(R.createTextNode(t)), this._$AH = t;
|
|
1500
1500
|
}
|
|
1501
1501
|
$(t) {
|
|
1502
1502
|
var r;
|
|
1503
|
-
const { values: e, _$litType$: s } = t, n = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el =
|
|
1503
|
+
const { values: e, _$litType$: s } = t, n = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = st.createElement(bi(s.h, s.h[0]), this.options)), s);
|
|
1504
1504
|
if (((r = this._$AH) == null ? void 0 : r._$AD) === n)
|
|
1505
1505
|
this._$AH.p(e);
|
|
1506
1506
|
else {
|
|
@@ -1510,14 +1510,14 @@ class nt {
|
|
|
1510
1510
|
}
|
|
1511
1511
|
_$AC(t) {
|
|
1512
1512
|
let e = Se.get(t.strings);
|
|
1513
|
-
return e === void 0 && Se.set(t.strings, e = new
|
|
1513
|
+
return e === void 0 && Se.set(t.strings, e = new st(t)), e;
|
|
1514
1514
|
}
|
|
1515
1515
|
k(t) {
|
|
1516
1516
|
mi(this._$AH) || (this._$AH = [], this._$AR());
|
|
1517
1517
|
const e = this._$AH;
|
|
1518
1518
|
let s, n = 0;
|
|
1519
1519
|
for (const r of t)
|
|
1520
|
-
n === e.length ? e.push(s = new
|
|
1520
|
+
n === e.length ? e.push(s = new rt(this.S(et()), this.S(et()), this, this.options)) : s = e[n], s._$AI(r), n++;
|
|
1521
1521
|
n < e.length && (this._$AR(s && s._$AB.nextSibling, n), e.length = n);
|
|
1522
1522
|
}
|
|
1523
1523
|
_$AR(t = this._$AA.nextSibling, e) {
|
|
@@ -1546,12 +1546,12 @@ class Ot {
|
|
|
1546
1546
|
const r = this.strings;
|
|
1547
1547
|
let o = !1;
|
|
1548
1548
|
if (r === void 0)
|
|
1549
|
-
t =
|
|
1549
|
+
t = G(this, t, e, 0), o = !it(t) || t !== this._$AH && t !== U, o && (this._$AH = t);
|
|
1550
1550
|
else {
|
|
1551
1551
|
const a = t;
|
|
1552
1552
|
let l, c;
|
|
1553
1553
|
for (t = r[0], l = 0; l < r.length - 1; l++)
|
|
1554
|
-
c =
|
|
1554
|
+
c = G(this, a[s + l], e, l), c === U && (c = this._$AH[l]), o || (o = !it(c) || c !== this._$AH[l]), c === p ? t = p : t !== p && (t += (c ?? "") + r[l + 1]), this._$AH[l] = c;
|
|
1555
1555
|
}
|
|
1556
1556
|
o && !n && this.j(t);
|
|
1557
1557
|
}
|
|
@@ -1580,7 +1580,7 @@ class Ys extends Ot {
|
|
|
1580
1580
|
super(t, e, s, n, r), this.type = 5;
|
|
1581
1581
|
}
|
|
1582
1582
|
_$AI(t, e = this) {
|
|
1583
|
-
if ((t =
|
|
1583
|
+
if ((t = G(this, t, e, 0) ?? p) === U)
|
|
1584
1584
|
return;
|
|
1585
1585
|
const s = this._$AH, n = t === p && s !== p || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, r = t !== p && (s === p || n);
|
|
1586
1586
|
n && this.element.removeEventListener(this.name, this, s), r && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
|
@@ -1598,17 +1598,17 @@ class qs {
|
|
|
1598
1598
|
return this._$AM._$AU;
|
|
1599
1599
|
}
|
|
1600
1600
|
_$AI(t) {
|
|
1601
|
-
|
|
1601
|
+
G(this, t);
|
|
1602
1602
|
}
|
|
1603
1603
|
}
|
|
1604
|
-
const jt =
|
|
1605
|
-
jt == null || jt(
|
|
1604
|
+
const jt = V.litHtmlPolyfillSupport;
|
|
1605
|
+
jt == null || jt(st, rt), (V.litHtmlVersions ?? (V.litHtmlVersions = [])).push("3.1.2");
|
|
1606
1606
|
const Gs = (i, t, e) => {
|
|
1607
1607
|
const s = (e == null ? void 0 : e.renderBefore) ?? t;
|
|
1608
1608
|
let n = s._$litPart$;
|
|
1609
1609
|
if (n === void 0) {
|
|
1610
1610
|
const r = (e == null ? void 0 : e.renderBefore) ?? null;
|
|
1611
|
-
s._$litPart$ = n = new
|
|
1611
|
+
s._$litPart$ = n = new rt(t.insertBefore(et(), r), r, void 0, e ?? {});
|
|
1612
1612
|
}
|
|
1613
1613
|
return n._$AI(i), n;
|
|
1614
1614
|
};
|
|
@@ -1617,7 +1617,7 @@ const Gs = (i, t, e) => {
|
|
|
1617
1617
|
* Copyright 2017 Google LLC
|
|
1618
1618
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1619
1619
|
*/
|
|
1620
|
-
let S = class extends
|
|
1620
|
+
let S = class extends N {
|
|
1621
1621
|
constructor() {
|
|
1622
1622
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
1623
1623
|
}
|
|
@@ -1639,7 +1639,7 @@ let S = class extends H {
|
|
|
1639
1639
|
super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
|
|
1640
1640
|
}
|
|
1641
1641
|
render() {
|
|
1642
|
-
return
|
|
1642
|
+
return U;
|
|
1643
1643
|
}
|
|
1644
1644
|
};
|
|
1645
1645
|
var qe;
|
|
@@ -1684,7 +1684,7 @@ function _(i) {
|
|
|
1684
1684
|
* Copyright 2017 Google LLC
|
|
1685
1685
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1686
1686
|
*/
|
|
1687
|
-
function
|
|
1687
|
+
function H(i) {
|
|
1688
1688
|
return _({ ...i, state: !0, attribute: !1 });
|
|
1689
1689
|
}
|
|
1690
1690
|
var Xs = Object.defineProperty, Qs = Object.getOwnPropertyDescriptor, Js = (i, t, e, s) => {
|
|
@@ -1705,7 +1705,7 @@ class te extends S {
|
|
|
1705
1705
|
}
|
|
1706
1706
|
}
|
|
1707
1707
|
te.styles = [
|
|
1708
|
-
|
|
1708
|
+
j`
|
|
1709
1709
|
:host {
|
|
1710
1710
|
position: fixed;
|
|
1711
1711
|
display: flex;
|
|
@@ -1759,13 +1759,13 @@ const Vs = (i) => i.strings === void 0;
|
|
|
1759
1759
|
* Copyright 2017 Google LLC
|
|
1760
1760
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1761
1761
|
*/
|
|
1762
|
-
const
|
|
1762
|
+
const tt = (i, t) => {
|
|
1763
1763
|
var s;
|
|
1764
1764
|
const e = i._$AN;
|
|
1765
1765
|
if (e === void 0)
|
|
1766
1766
|
return !1;
|
|
1767
1767
|
for (const n of e)
|
|
1768
|
-
(s = n._$AO) == null || s.call(n, t, !1),
|
|
1768
|
+
(s = n._$AO) == null || s.call(n, t, !1), tt(n, t);
|
|
1769
1769
|
return !0;
|
|
1770
1770
|
}, yt = (i) => {
|
|
1771
1771
|
let t, e;
|
|
@@ -1793,11 +1793,11 @@ function en(i, t = !1, e = 0) {
|
|
|
1793
1793
|
if (t)
|
|
1794
1794
|
if (Array.isArray(s))
|
|
1795
1795
|
for (let r = e; r < s.length; r++)
|
|
1796
|
-
|
|
1796
|
+
tt(s[r], !1), yt(s[r]);
|
|
1797
1797
|
else
|
|
1798
|
-
s != null && (
|
|
1798
|
+
s != null && (tt(s, !1), yt(s));
|
|
1799
1799
|
else
|
|
1800
|
-
|
|
1800
|
+
tt(this, i);
|
|
1801
1801
|
}
|
|
1802
1802
|
const sn = (i) => {
|
|
1803
1803
|
i.type == ee.CHILD && (i._$AP ?? (i._$AP = en), i._$AQ ?? (i._$AQ = tn));
|
|
@@ -1811,7 +1811,7 @@ class xi extends _i {
|
|
|
1811
1811
|
}
|
|
1812
1812
|
_$AO(t, e = !0) {
|
|
1813
1813
|
var s, n;
|
|
1814
|
-
t !== this.isConnected && (this.isConnected = t, t ? (s = this.reconnected) == null || s.call(this) : (n = this.disconnected) == null || n.call(this)), e && (
|
|
1814
|
+
t !== this.isConnected && (this.isConnected = t, t ? (s = this.reconnected) == null || s.call(this) : (n = this.disconnected) == null || n.call(this)), e && (tt(this, t), yt(this));
|
|
1815
1815
|
}
|
|
1816
1816
|
setValue(t) {
|
|
1817
1817
|
if (Vs(this._$Ct))
|
|
@@ -1995,15 +1995,15 @@ class ln extends xi {
|
|
|
1995
1995
|
let o = !1;
|
|
1996
1996
|
const a = {};
|
|
1997
1997
|
for (const l in e) {
|
|
1998
|
-
const c = t[l],
|
|
1998
|
+
const c = t[l], u = e[l];
|
|
1999
1999
|
if (l in Dt) {
|
|
2000
|
-
const
|
|
2001
|
-
if (c === void 0 ||
|
|
2000
|
+
const h = Dt[l];
|
|
2001
|
+
if (c === void 0 || u === void 0)
|
|
2002
2002
|
continue;
|
|
2003
|
-
const d =
|
|
2003
|
+
const d = h(c, u);
|
|
2004
2004
|
d.transform !== void 0 && (a[l] = d.value, o = !0, n.transform = `${n.transform ?? ""} ${d.transform}`, d.overrideFrom !== void 0 && Object.assign(n, d.overrideFrom));
|
|
2005
2005
|
} else
|
|
2006
|
-
c !==
|
|
2006
|
+
c !== u && c !== void 0 && u !== void 0 && (o = !0, n[l] = c, r[l] = u);
|
|
2007
2007
|
}
|
|
2008
2008
|
return n.transformOrigin = r.transformOrigin = s ? "center center" : "top left", this.animatingProperties = a, o ? [n, r] : void 0;
|
|
2009
2009
|
}
|
|
@@ -2030,7 +2030,7 @@ class ln extends xi {
|
|
|
2030
2030
|
this.shouldLog && !this.isDisabled() && console.log(t, this.options.id, e);
|
|
2031
2031
|
}
|
|
2032
2032
|
}
|
|
2033
|
-
const Si = ie(ln), cn = { 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>' },
|
|
2033
|
+
const Si = ie(ln), cn = { 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>' }, un = { 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>' }, hn = { 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>' };
|
|
2034
2034
|
/**
|
|
2035
2035
|
* @license
|
|
2036
2036
|
* Copyright 2018 Google LLC
|
|
@@ -2060,25 +2060,41 @@ const Le = ie(class extends _i {
|
|
|
2060
2060
|
const o = !!t[r];
|
|
2061
2061
|
o === this.st.has(r) || (n = this.nt) != null && n.has(r) || (o ? (e.add(r), this.st.add(r)) : (e.remove(r), this.st.delete(r)));
|
|
2062
2062
|
}
|
|
2063
|
-
return
|
|
2063
|
+
return U;
|
|
2064
2064
|
}
|
|
2065
|
-
}),
|
|
2065
|
+
}), C = (i, t, e) => {
|
|
2066
2066
|
i && e.style.setProperty(t, i);
|
|
2067
2067
|
}, Ai = (i, t) => {
|
|
2068
|
-
var e, s, n, r;
|
|
2069
|
-
|
|
2068
|
+
var e, s, n, r, o, a, l, c, u;
|
|
2069
|
+
C((e = i.colors) == null ? void 0 : e.primaryBackground, "--primary-background", t), C(
|
|
2070
2070
|
(s = i.colors) == null ? void 0 : s.textOnPrimaryBackground,
|
|
2071
2071
|
"--text-on-primary-background",
|
|
2072
2072
|
t
|
|
2073
|
-
),
|
|
2073
|
+
), C(
|
|
2074
2074
|
(n = i.colors) == null ? void 0 : n.secondaryBackground,
|
|
2075
2075
|
"--secondary-background",
|
|
2076
2076
|
t
|
|
2077
|
-
),
|
|
2077
|
+
), C(
|
|
2078
2078
|
(r = i.colors) == null ? void 0 : r.textOnSecondaryBackground,
|
|
2079
2079
|
"--text-on-secondary-background",
|
|
2080
2080
|
t
|
|
2081
|
-
)
|
|
2081
|
+
), C(
|
|
2082
|
+
(o = i.colors) == null ? void 0 : o.interactiveDestructiveBackground,
|
|
2083
|
+
"--destructive-color",
|
|
2084
|
+
t
|
|
2085
|
+
), C(
|
|
2086
|
+
(a = i.colors) == null ? void 0 : a.interactiveTextOnDestructiveBackground,
|
|
2087
|
+
"--text-on-destructive-color",
|
|
2088
|
+
t
|
|
2089
|
+
), C(
|
|
2090
|
+
(l = i.colors) == null ? void 0 : l.interactivePrimaryBackground,
|
|
2091
|
+
"--interactive-primary-background",
|
|
2092
|
+
t
|
|
2093
|
+
), C(
|
|
2094
|
+
(c = i.colors) == null ? void 0 : c.interactiveTextOnPrimaryBackground,
|
|
2095
|
+
"--interactive-text-on-primary-background",
|
|
2096
|
+
t
|
|
2097
|
+
), C((u = i.colors) == null ? void 0 : u.focusColor, "--focus-color", t);
|
|
2082
2098
|
};
|
|
2083
2099
|
/**
|
|
2084
2100
|
* @license
|
|
@@ -2116,12 +2132,12 @@ const Bt = /* @__PURE__ */ new WeakMap(), _t = ie(class extends xi {
|
|
|
2116
2132
|
this.rt(this.ct);
|
|
2117
2133
|
}
|
|
2118
2134
|
});
|
|
2119
|
-
var fn = Object.defineProperty, pn = Object.getOwnPropertyDescriptor,
|
|
2135
|
+
var fn = Object.defineProperty, pn = Object.getOwnPropertyDescriptor, ot = (i, t, e, s) => {
|
|
2120
2136
|
for (var n = s > 1 ? void 0 : s ? pn(t, e) : t, r = i.length - 1, o; r >= 0; r--)
|
|
2121
2137
|
(o = i[r]) && (n = (s ? o(t, e, n) : o(n)) || n);
|
|
2122
2138
|
return s && n && fn(t, e, n), n;
|
|
2123
2139
|
};
|
|
2124
|
-
class
|
|
2140
|
+
class T extends S {
|
|
2125
2141
|
constructor() {
|
|
2126
2142
|
super(...arguments), this.active = !1, this.triggerVisible = !0, this.loaded = !1, this.containerRef = bt(), this.widgetActive$ = new os(!1), this.componentIsDestroyed$ = new kt();
|
|
2127
2143
|
}
|
|
@@ -2153,13 +2169,13 @@ class O extends S {
|
|
|
2153
2169
|
const s = (c = this.application) == null ? void 0 : c.triggerIcon;
|
|
2154
2170
|
if (!s)
|
|
2155
2171
|
return p;
|
|
2156
|
-
const n = async (
|
|
2172
|
+
const n = async (u) => hn, { type: r, content: o } = s;
|
|
2157
2173
|
switch (r) {
|
|
2158
2174
|
case "Telia": {
|
|
2159
|
-
const
|
|
2160
|
-
return
|
|
2175
|
+
const u = await n();
|
|
2176
|
+
return u ? b`<telia-icon
|
|
2161
2177
|
class="trigger-icon"
|
|
2162
|
-
svg=${
|
|
2178
|
+
svg=${u.svg}
|
|
2163
2179
|
size="lg"
|
|
2164
2180
|
></telia-icon>` : p;
|
|
2165
2181
|
}
|
|
@@ -2239,23 +2255,27 @@ class O extends S {
|
|
|
2239
2255
|
</div>`;
|
|
2240
2256
|
}
|
|
2241
2257
|
}
|
|
2242
|
-
|
|
2243
|
-
|
|
2258
|
+
T.styles = [
|
|
2259
|
+
j`
|
|
2244
2260
|
:host {
|
|
2245
2261
|
--voca-rem-multiplier: 0.625;
|
|
2246
2262
|
--trigger-label-bg: #f5e0ff;
|
|
2247
2263
|
--trigger-label-text-color: rgba(0, 0, 0, 0.8);
|
|
2248
2264
|
display: block;
|
|
2249
2265
|
box-sizing: border-box;
|
|
2250
|
-
/* font-family: var(--font-family); */
|
|
2251
2266
|
font-family: TeliaSans, Helvetica, Arial, Lucida Grande, sans-serif;
|
|
2252
2267
|
}
|
|
2253
2268
|
|
|
2269
|
+
:focus {
|
|
2270
|
+
outline-color: var(--focus-color);
|
|
2271
|
+
}
|
|
2272
|
+
|
|
2254
2273
|
.trigger-container {
|
|
2255
2274
|
display: flex;
|
|
2256
2275
|
align-items: center;
|
|
2257
2276
|
gap: 1rem;
|
|
2258
2277
|
}
|
|
2278
|
+
|
|
2259
2279
|
.trigger-container.hidden {
|
|
2260
2280
|
display: none;
|
|
2261
2281
|
}
|
|
@@ -2273,26 +2293,34 @@ O.styles = [
|
|
|
2273
2293
|
width: 55px;
|
|
2274
2294
|
border-radius: 55px;
|
|
2275
2295
|
cursor: pointer;
|
|
2276
|
-
background-color: var(
|
|
2296
|
+
background-color: var(
|
|
2297
|
+
--interactive-primary-background,
|
|
2298
|
+
var(--primary-background)
|
|
2299
|
+
);
|
|
2277
2300
|
font-family: Lato;
|
|
2278
2301
|
text-decoration: none;
|
|
2279
2302
|
border: 3px dashed transparent;
|
|
2280
2303
|
box-sizing: border-box;
|
|
2281
2304
|
transition: transform 200ms ease-out;
|
|
2282
2305
|
}
|
|
2306
|
+
|
|
2283
2307
|
.trigger:active {
|
|
2284
2308
|
transform: scale(0.8) !important;
|
|
2285
2309
|
}
|
|
2310
|
+
|
|
2286
2311
|
.trigger:hover:not(:active) {
|
|
2287
2312
|
transform: scale(1.1) !important;
|
|
2288
2313
|
}
|
|
2314
|
+
|
|
2289
2315
|
.trigger.rendered {
|
|
2290
2316
|
transform: scale(1);
|
|
2291
2317
|
}
|
|
2318
|
+
|
|
2292
2319
|
.trigger.active .trigger-icon {
|
|
2293
2320
|
opacity: 0;
|
|
2294
2321
|
transform: rotate(-180deg) scale(0);
|
|
2295
2322
|
}
|
|
2323
|
+
|
|
2296
2324
|
.trigger.active .trigger-close {
|
|
2297
2325
|
opacity: 1;
|
|
2298
2326
|
transform: rotate(0deg) scale(1);
|
|
@@ -2305,8 +2333,12 @@ O.styles = [
|
|
|
2305
2333
|
opacity: 1;
|
|
2306
2334
|
transform: rotate(0deg) scale(1);
|
|
2307
2335
|
transition: opacity 200ms ease-out, transform 200ms ease-out;
|
|
2308
|
-
color: var(
|
|
2336
|
+
color: var(
|
|
2337
|
+
--interactive-text-on-primary-background,
|
|
2338
|
+
var(--text-on-primary-background)
|
|
2339
|
+
);
|
|
2309
2340
|
}
|
|
2341
|
+
|
|
2310
2342
|
.trigger-close {
|
|
2311
2343
|
opacity: 0;
|
|
2312
2344
|
transition: transform 200ms ease-out;
|
|
@@ -2320,8 +2352,12 @@ O.styles = [
|
|
|
2320
2352
|
justify-content: center;
|
|
2321
2353
|
align-items: center;
|
|
2322
2354
|
}
|
|
2355
|
+
|
|
2323
2356
|
.trigger-close svg path {
|
|
2324
|
-
fill: var(
|
|
2357
|
+
fill: var(
|
|
2358
|
+
--interactive-text-on-primary-background,
|
|
2359
|
+
var(--text-on-primary-background)
|
|
2360
|
+
);
|
|
2325
2361
|
}
|
|
2326
2362
|
|
|
2327
2363
|
img {
|
|
@@ -2330,8 +2366,8 @@ O.styles = [
|
|
|
2330
2366
|
|
|
2331
2367
|
.trigger-label {
|
|
2332
2368
|
box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.1);
|
|
2333
|
-
background-color: var(--
|
|
2334
|
-
color: var(--
|
|
2369
|
+
background-color: var(--secondary-background);
|
|
2370
|
+
color: var(--text-on-secondary-background);
|
|
2335
2371
|
white-space: nowrap;
|
|
2336
2372
|
padding: 0.7rem 1rem;
|
|
2337
2373
|
border-radius: 0.3rem;
|
|
@@ -2351,22 +2387,22 @@ O.styles = [
|
|
|
2351
2387
|
}
|
|
2352
2388
|
`
|
|
2353
2389
|
];
|
|
2354
|
-
|
|
2390
|
+
ot([
|
|
2355
2391
|
_({ attribute: !1 })
|
|
2356
|
-
],
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
],
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
],
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
],
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
],
|
|
2369
|
-
var gn = Object.defineProperty, $n = Object.getOwnPropertyDescriptor,
|
|
2392
|
+
], T.prototype, "application", 2);
|
|
2393
|
+
ot([
|
|
2394
|
+
H()
|
|
2395
|
+
], T.prototype, "active", 2);
|
|
2396
|
+
ot([
|
|
2397
|
+
H()
|
|
2398
|
+
], T.prototype, "triggerVisible", 2);
|
|
2399
|
+
ot([
|
|
2400
|
+
H()
|
|
2401
|
+
], T.prototype, "loaded", 2);
|
|
2402
|
+
ot([
|
|
2403
|
+
H()
|
|
2404
|
+
], T.prototype, "icon", 2);
|
|
2405
|
+
var gn = Object.defineProperty, $n = Object.getOwnPropertyDescriptor, L = (i, t, e, s) => {
|
|
2370
2406
|
for (var n = s > 1 ? void 0 : s ? $n(t, e) : t, r = i.length - 1, o; r >= 0; r--)
|
|
2371
2407
|
(o = i[r]) && (n = (s ? o(t, e, n) : o(n)) || n);
|
|
2372
2408
|
return s && n && gn(t, e, n), n;
|
|
@@ -2397,7 +2433,7 @@ const Ci = (i) => {
|
|
|
2397
2433
|
}
|
|
2398
2434
|
return t.styles = [
|
|
2399
2435
|
// (superClass as unknown as typeof LitElement).styles ?? [],
|
|
2400
|
-
|
|
2436
|
+
j`
|
|
2401
2437
|
:host {
|
|
2402
2438
|
font-family: var(--font-family);
|
|
2403
2439
|
grid-column: span var(--width);
|
|
@@ -2410,19 +2446,19 @@ const Ci = (i) => {
|
|
|
2410
2446
|
box-sizing: border-box;
|
|
2411
2447
|
}
|
|
2412
2448
|
`
|
|
2413
|
-
],
|
|
2449
|
+
], L([
|
|
2414
2450
|
_()
|
|
2415
|
-
], t.prototype, "properties", 2),
|
|
2451
|
+
], t.prototype, "properties", 2), L([
|
|
2416
2452
|
_()
|
|
2417
|
-
], t.prototype, "context", 2),
|
|
2453
|
+
], t.prototype, "context", 2), L([
|
|
2418
2454
|
_()
|
|
2419
|
-
], t.prototype, "layout", 2),
|
|
2455
|
+
], t.prototype, "layout", 2), L([
|
|
2420
2456
|
_()
|
|
2421
|
-
], t.prototype, "name", 2),
|
|
2457
|
+
], t.prototype, "name", 2), L([
|
|
2422
2458
|
_()
|
|
2423
|
-
], t.prototype, "type", 2),
|
|
2459
|
+
], t.prototype, "type", 2), L([
|
|
2424
2460
|
_({ attribute: !1 })
|
|
2425
|
-
], t.prototype, "application", 2),
|
|
2461
|
+
], t.prototype, "application", 2), L([
|
|
2426
2462
|
_({ attribute: !1 })
|
|
2427
2463
|
], t.prototype, "parent", 2), t;
|
|
2428
2464
|
};
|
|
@@ -2432,7 +2468,7 @@ class Ei extends Ci(S) {
|
|
|
2432
2468
|
}
|
|
2433
2469
|
}
|
|
2434
2470
|
Ei.styles = [
|
|
2435
|
-
|
|
2471
|
+
j`
|
|
2436
2472
|
:host {
|
|
2437
2473
|
display: block;
|
|
2438
2474
|
}
|
|
@@ -2522,8 +2558,8 @@ class Ie extends yn {
|
|
|
2522
2558
|
if (o.context !== this.context || a === this.host)
|
|
2523
2559
|
return;
|
|
2524
2560
|
const l = /* @__PURE__ */ new Set();
|
|
2525
|
-
for (const [c, { consumerHost:
|
|
2526
|
-
l.has(c) || (l.add(c),
|
|
2561
|
+
for (const [c, { consumerHost: u }] of this.subscriptions)
|
|
2562
|
+
l.has(c) || (l.add(c), u.dispatchEvent(new mn(this.context, c, !0)));
|
|
2527
2563
|
o.stopPropagation();
|
|
2528
2564
|
}, this.host = t, e.context !== void 0 ? this.context = e.context : this.context = e, this.attachListeners(), (r = (n = this.host).addController) == null || r.call(n, this);
|
|
2529
2565
|
}
|
|
@@ -2615,7 +2651,7 @@ class ne extends S {
|
|
|
2615
2651
|
</div>`;
|
|
2616
2652
|
}
|
|
2617
2653
|
}
|
|
2618
|
-
ne.styles =
|
|
2654
|
+
ne.styles = j`
|
|
2619
2655
|
:host {
|
|
2620
2656
|
--font-family: TeliaSans, Helvetica, Arial, Lucida Grande, sans-serif;
|
|
2621
2657
|
--spacing-xs: 0.2rem;
|
|
@@ -2631,6 +2667,7 @@ ne.styles = M`
|
|
|
2631
2667
|
--gray-color: #f3f3f8;
|
|
2632
2668
|
--white-color: #fff;
|
|
2633
2669
|
--gray-dark-color: #a6a6a6;
|
|
2670
|
+
--black-border-color: #00000054;
|
|
2634
2671
|
|
|
2635
2672
|
--box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
|
|
2636
2673
|
--border-radius: var(--spacing-sm);
|
|
@@ -2707,8 +2744,6 @@ ne.styles = M`
|
|
|
2707
2744
|
background-color: var(--primary-background);
|
|
2708
2745
|
padding: var(--spacing-sm);
|
|
2709
2746
|
border: var(--widget-border, none);
|
|
2710
|
-
border-left: 1px solid #00000054;
|
|
2711
|
-
border-right: 1px solid #00000054;
|
|
2712
2747
|
}
|
|
2713
2748
|
@keyframes slideDown {
|
|
2714
2749
|
from {
|
|
@@ -2749,7 +2784,7 @@ var Cn = Object.defineProperty, En = Object.getOwnPropertyDescriptor, re = (i, t
|
|
|
2749
2784
|
(o = i[r]) && (n = (s ? o(t, e, n) : o(n)) || n);
|
|
2750
2785
|
return s && n && Cn(t, e, n), n;
|
|
2751
2786
|
};
|
|
2752
|
-
class
|
|
2787
|
+
class at extends S {
|
|
2753
2788
|
constructor() {
|
|
2754
2789
|
super(), this.status = "deactivated", this.addEventListener("environment-created", this.onEnvironmentCreated);
|
|
2755
2790
|
}
|
|
@@ -2775,14 +2810,14 @@ class ot extends S {
|
|
|
2775
2810
|
if (!this.widget || this.status !== "activated")
|
|
2776
2811
|
return p;
|
|
2777
2812
|
if (this.widget.renderStrategy === se.Trigger) {
|
|
2778
|
-
const t = new
|
|
2813
|
+
const t = new T();
|
|
2779
2814
|
return t.application = this.widget, t;
|
|
2780
2815
|
}
|
|
2781
2816
|
return this.widget.render();
|
|
2782
2817
|
}
|
|
2783
2818
|
}
|
|
2784
|
-
|
|
2785
|
-
|
|
2819
|
+
at.styles = [
|
|
2820
|
+
j`
|
|
2786
2821
|
:host {
|
|
2787
2822
|
display: block;
|
|
2788
2823
|
}
|
|
@@ -2790,18 +2825,18 @@ ot.styles = [
|
|
|
2790
2825
|
];
|
|
2791
2826
|
re([
|
|
2792
2827
|
_({ attribute: !0 })
|
|
2793
|
-
],
|
|
2828
|
+
], at.prototype, "name", 2);
|
|
2794
2829
|
re([
|
|
2795
|
-
|
|
2796
|
-
],
|
|
2830
|
+
H()
|
|
2831
|
+
], at.prototype, "widget", 2);
|
|
2797
2832
|
re([
|
|
2798
|
-
|
|
2799
|
-
],
|
|
2833
|
+
H()
|
|
2834
|
+
], at.prototype, "status", 2);
|
|
2800
2835
|
customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", te);
|
|
2801
|
-
customElements.get("ace-trigger") || customElements.define("ace-trigger",
|
|
2836
|
+
customElements.get("ace-trigger") || customElements.define("ace-trigger", T);
|
|
2802
2837
|
customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", Ei);
|
|
2803
2838
|
customElements.get("ace-wrapper") || customElements.define("ace-wrapper", ne);
|
|
2804
|
-
customElements.get("ace-widget") || customElements.define("ace-widget",
|
|
2839
|
+
customElements.get("ace-widget") || customElements.define("ace-widget", at);
|
|
2805
2840
|
const kn = () => crypto.randomUUID();
|
|
2806
2841
|
class On {
|
|
2807
2842
|
constructor(t, e, s, n, r, o, a = !0) {
|
|
@@ -2860,7 +2895,7 @@ class Tn {
|
|
|
2860
2895
|
return this._options.length > 0;
|
|
2861
2896
|
}
|
|
2862
2897
|
}
|
|
2863
|
-
const
|
|
2898
|
+
const D = {
|
|
2864
2899
|
allRenderFn: !1,
|
|
2865
2900
|
cmpDidLoad: !0,
|
|
2866
2901
|
cmpDidUnload: !1,
|
|
@@ -2944,7 +2979,7 @@ const N = {
|
|
|
2944
2979
|
transformTagName: !1,
|
|
2945
2980
|
attachStyles: !0
|
|
2946
2981
|
};
|
|
2947
|
-
let
|
|
2982
|
+
let B, ki, Tt, Oi = !1, wt = !1, oe = !1, y = !1, Re = null, qt = !1;
|
|
2948
2983
|
const Pt = typeof window < "u" ? window : {}, A = Pt.document || { head: {} }, Ti = Pt.HTMLElement || class {
|
|
2949
2984
|
}, m = {
|
|
2950
2985
|
$flags$: 0,
|
|
@@ -2978,14 +3013,14 @@ const Pt = typeof window < "u" ? window : {}, A = Pt.document || { head: {} }, T
|
|
|
2978
3013
|
});
|
|
2979
3014
|
}, Rn = (i, t) => (e) => {
|
|
2980
3015
|
try {
|
|
2981
|
-
|
|
3016
|
+
D.lazyLoad || i.$hostElement$[t](e);
|
|
2982
3017
|
} catch (s) {
|
|
2983
|
-
|
|
3018
|
+
lt(s);
|
|
2984
3019
|
}
|
|
2985
3020
|
}, Un = (i, t) => t & 4 ? A : t & 8 ? Pt : t & 16 ? A.body : i, Mn = (i) => Pn ? {
|
|
2986
3021
|
passive: (i & 1) !== 0,
|
|
2987
3022
|
capture: (i & 2) !== 0
|
|
2988
|
-
} : (i & 2) !== 0, Ue = "http://www.w3.org/1999/xlink",
|
|
3023
|
+
} : (i & 2) !== 0, Ue = "http://www.w3.org/1999/xlink", M = (i, t = "") => () => {
|
|
2989
3024
|
}, Me = /* @__PURE__ */ new WeakMap(), jn = (i, t, e) => {
|
|
2990
3025
|
let s = At.get(i);
|
|
2991
3026
|
In && e ? (s = s || new CSSStyleSheet(), s.replace(t)) : s = t, At.set(i, s);
|
|
@@ -3000,25 +3035,25 @@ const Pt = typeof window < "u" ? window : {}, A = Pt.document || { head: {} }, T
|
|
|
3000
3035
|
i.adoptedStyleSheets.includes(r) || (i.adoptedStyleSheets = [...i.adoptedStyleSheets, r]);
|
|
3001
3036
|
return n;
|
|
3002
3037
|
}, Nn = (i) => {
|
|
3003
|
-
const t = i.$cmpMeta$, e = i.$hostElement$, s = t.$flags$, n =
|
|
3038
|
+
const t = i.$cmpMeta$, e = i.$hostElement$, s = t.$flags$, n = M("attachStyles", t.$tagName$), r = Hn(e.shadowRoot ? e.shadowRoot : e.getRootNode(), t, i.$modeName$);
|
|
3004
3039
|
s & 10 && (e["s-sc"] = r, e.classList.add(r + "-h"), s & 2 && e.classList.add(r + "-s")), n();
|
|
3005
|
-
}, Li = (i, t) => "sc-" + (t && i.$flags$ & 32 ? i.$tagName$ + "-" + t : i.$tagName$), Dn = (i) => pr.map((t) => t(i)).find((t) => !!t), je = {}, Bn = "http://www.w3.org/2000/svg", zn = "http://www.w3.org/1999/xhtml", Fn = (i) => i != null, ae = (i) => (i = typeof i, i === "object" || i === "function"),
|
|
3040
|
+
}, Li = (i, t) => "sc-" + (t && i.$flags$ & 32 ? i.$tagName$ + "-" + t : i.$tagName$), Dn = (i) => pr.map((t) => t(i)).find((t) => !!t), je = {}, Bn = "http://www.w3.org/2000/svg", zn = "http://www.w3.org/1999/xhtml", Fn = (i) => i != null, ae = (i) => (i = typeof i, i === "object" || i === "function"), W = (i, t, ...e) => {
|
|
3006
3041
|
let s = null, n = null, r = null, o = !1, a = !1, l = [];
|
|
3007
|
-
const c = (
|
|
3008
|
-
for (let d = 0; d <
|
|
3009
|
-
s =
|
|
3042
|
+
const c = (h) => {
|
|
3043
|
+
for (let d = 0; d < h.length; d++)
|
|
3044
|
+
s = h[d], Array.isArray(s) ? c(s) : s != null && typeof s != "boolean" && ((o = typeof i != "function" && !ae(s)) && (s = String(s)), o && a ? l[l.length - 1].$text$ += s : l.push(o ? xt(null, s) : s), a = o);
|
|
3010
3045
|
};
|
|
3011
3046
|
if (c(e), t) {
|
|
3012
3047
|
t.key && (n = t.key), t.name && (r = t.name);
|
|
3013
3048
|
{
|
|
3014
|
-
const
|
|
3015
|
-
|
|
3049
|
+
const h = t.className || t.class;
|
|
3050
|
+
h && (t.class = typeof h != "object" ? h : Object.keys(h).filter((d) => h[d]).join(" "));
|
|
3016
3051
|
}
|
|
3017
3052
|
}
|
|
3018
3053
|
if (typeof i == "function")
|
|
3019
3054
|
return i(t === null ? {} : t, l, Yn);
|
|
3020
|
-
const
|
|
3021
|
-
return
|
|
3055
|
+
const u = xt(i, null);
|
|
3056
|
+
return u.$attrs$ = t, l.length > 0 && (u.$children$ = l), u.$key$ = n, u.$name$ = r, u;
|
|
3022
3057
|
}, xt = (i, t) => {
|
|
3023
3058
|
const e = {
|
|
3024
3059
|
$flags$: 0,
|
|
@@ -3041,7 +3076,7 @@ const Pt = typeof window < "u" ? window : {}, A = Pt.document || { head: {} }, T
|
|
|
3041
3076
|
}), qn = (i) => {
|
|
3042
3077
|
if (typeof i.vtag == "function") {
|
|
3043
3078
|
const e = Object.assign({}, i.vattrs);
|
|
3044
|
-
return i.vkey && (e.key = i.vkey), i.vname && (e.name = i.vname),
|
|
3079
|
+
return i.vkey && (e.key = i.vkey), i.vname && (e.name = i.vname), W(i.vtag, e, ...i.vchildren || []);
|
|
3045
3080
|
}
|
|
3046
3081
|
const t = xt(i.vtag, i.vtext);
|
|
3047
3082
|
return t.$attrs$ = i.vattrs, t.$children$ = i.vchildren, t.$key$ = i.vkey, t.$name$ = i.vname, t;
|
|
@@ -3049,8 +3084,8 @@ const Pt = typeof window < "u" ? window : {}, A = Pt.document || { head: {} }, T
|
|
|
3049
3084
|
if (e !== s) {
|
|
3050
3085
|
let o = Fe(i, t), a = t.toLowerCase();
|
|
3051
3086
|
if (t === "class") {
|
|
3052
|
-
const l = i.classList, c = De(e),
|
|
3053
|
-
l.remove(...c.filter((
|
|
3087
|
+
const l = i.classList, c = De(e), u = De(s);
|
|
3088
|
+
l.remove(...c.filter((h) => h && !u.includes(h))), l.add(...u.filter((h) => h && !c.includes(h)));
|
|
3054
3089
|
} else if (t === "style") {
|
|
3055
3090
|
for (const l in e)
|
|
3056
3091
|
(!s || s[l] == null) && (l.includes("-") ? i.style.removeProperty(l) : i.style[l] = "");
|
|
@@ -3068,8 +3103,8 @@ const Pt = typeof window < "u" ? window : {}, A = Pt.document || { head: {} }, T
|
|
|
3068
3103
|
if (i.tagName.includes("-"))
|
|
3069
3104
|
i[t] = s;
|
|
3070
3105
|
else {
|
|
3071
|
-
let
|
|
3072
|
-
t === "list" ? o = !1 : (e == null || i[t] !=
|
|
3106
|
+
let u = s ?? "";
|
|
3107
|
+
t === "list" ? o = !1 : (e == null || i[t] != u) && (i[t] = u);
|
|
3073
3108
|
}
|
|
3074
3109
|
} catch {
|
|
3075
3110
|
}
|
|
@@ -3085,7 +3120,7 @@ const Pt = typeof window < "u" ? window : {}, A = Pt.document || { head: {} }, T
|
|
|
3085
3120
|
Ne(n, s, r[s], o[s], e, t.$flags$);
|
|
3086
3121
|
}, St = (i, t, e, s) => {
|
|
3087
3122
|
let n = t.$children$[e], r = 0, o, a, l;
|
|
3088
|
-
if (Oi || (oe = !0, n.$tag$ === "slot" && (
|
|
3123
|
+
if (Oi || (oe = !0, n.$tag$ === "slot" && (B && s.classList.add(B + "-s"), n.$flags$ |= n.$children$ ? (
|
|
3089
3124
|
// slot element has fallback content
|
|
3090
3125
|
2
|
|
3091
3126
|
) : (
|
|
@@ -3096,18 +3131,18 @@ const Pt = typeof window < "u" ? window : {}, A = Pt.document || { head: {} }, T
|
|
|
3096
3131
|
else if (n.$flags$ & 1)
|
|
3097
3132
|
o = n.$elm$ = A.createTextNode("");
|
|
3098
3133
|
else {
|
|
3099
|
-
if (y || (y = n.$tag$ === "svg"), o = n.$elm$ = A.createElementNS(y ? Bn : zn, n.$flags$ & 2 ? "slot-fb" : n.$tag$), y && n.$tag$ === "foreignObject" && (y = !1), Ii(null, n, y), Fn(
|
|
3134
|
+
if (y || (y = n.$tag$ === "svg"), o = n.$elm$ = A.createElementNS(y ? Bn : zn, n.$flags$ & 2 ? "slot-fb" : n.$tag$), y && n.$tag$ === "foreignObject" && (y = !1), Ii(null, n, y), Fn(B) && o["s-si"] !== B && o.classList.add(o["s-si"] = B), n.$children$)
|
|
3100
3135
|
for (r = 0; r < n.$children$.length; ++r)
|
|
3101
3136
|
a = St(i, n, r, o), a && o.appendChild(a);
|
|
3102
3137
|
n.$tag$ === "svg" ? y = !1 : o.tagName === "foreignObject" && (y = !0);
|
|
3103
3138
|
}
|
|
3104
|
-
return o["s-hn"] = Tt, n.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] = ki, o["s-sn"] = n.$name$ || "", l = i && i.$children$ && i.$children$[e], l && l.$tag$ === n.$tag$ && i.$elm$ &&
|
|
3105
|
-
},
|
|
3139
|
+
return o["s-hn"] = Tt, n.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] = ki, o["s-sn"] = n.$name$ || "", l = i && i.$children$ && i.$children$[e], l && l.$tag$ === n.$tag$ && i.$elm$ && nt(i.$elm$, !1)), o;
|
|
3140
|
+
}, nt = (i, t) => {
|
|
3106
3141
|
m.$flags$ |= 1;
|
|
3107
3142
|
const e = i.childNodes;
|
|
3108
3143
|
for (let s = e.length - 1; s >= 0; s--) {
|
|
3109
3144
|
const n = e[s];
|
|
3110
|
-
n["s-hn"] !== Tt && n["s-ol"] && (Mi(n).insertBefore(n, ce(n)), n["s-ol"].remove(), n["s-ol"] = void 0, oe = !0), t &&
|
|
3145
|
+
n["s-hn"] !== Tt && n["s-ol"] && (Mi(n).insertBefore(n, ce(n)), n["s-ol"].remove(), n["s-ol"] = void 0, oe = !0), t && nt(n, t);
|
|
3111
3146
|
}
|
|
3112
3147
|
m.$flags$ &= -2;
|
|
3113
3148
|
}, Ri = (i, t, e, s, n, r) => {
|
|
@@ -3116,36 +3151,36 @@ const Pt = typeof window < "u" ? window : {}, A = Pt.document || { head: {} }, T
|
|
|
3116
3151
|
s[n] && (a = St(null, e, n, i), a && (s[n].$elm$ = a, o.insertBefore(a, ce(t))));
|
|
3117
3152
|
}, Ui = (i, t, e, s, n) => {
|
|
3118
3153
|
for (; t <= e; ++t)
|
|
3119
|
-
(s = i[t]) && (n = s.$elm$, Ni(s), wt = !0, n["s-ol"] ? n["s-ol"].remove() :
|
|
3154
|
+
(s = i[t]) && (n = s.$elm$, Ni(s), wt = !0, n["s-ol"] ? n["s-ol"].remove() : nt(n, !0), n.remove());
|
|
3120
3155
|
}, Zn = (i, t, e, s) => {
|
|
3121
|
-
let n = 0, r = 0, o = 0, a = 0, l = t.length - 1, c = t[0],
|
|
3122
|
-
for (; n <= l && r <=
|
|
3156
|
+
let n = 0, r = 0, o = 0, a = 0, l = t.length - 1, c = t[0], u = t[l], h = s.length - 1, d = s[0], f = s[h], $, g;
|
|
3157
|
+
for (; n <= l && r <= h; )
|
|
3123
3158
|
if (c == null)
|
|
3124
3159
|
c = t[++n];
|
|
3125
|
-
else if (
|
|
3126
|
-
|
|
3160
|
+
else if (u == null)
|
|
3161
|
+
u = t[--l];
|
|
3127
3162
|
else if (d == null)
|
|
3128
3163
|
d = s[++r];
|
|
3129
3164
|
else if (f == null)
|
|
3130
|
-
f = s[--
|
|
3131
|
-
else if (
|
|
3132
|
-
|
|
3133
|
-
else if (
|
|
3134
|
-
|
|
3135
|
-
else if (
|
|
3136
|
-
(c.$tag$ === "slot" || f.$tag$ === "slot") &&
|
|
3137
|
-
else if (
|
|
3138
|
-
(c.$tag$ === "slot" || f.$tag$ === "slot") &&
|
|
3165
|
+
f = s[--h];
|
|
3166
|
+
else if (ht(c, d))
|
|
3167
|
+
z(c, d), c = t[++n], d = s[++r];
|
|
3168
|
+
else if (ht(u, f))
|
|
3169
|
+
z(u, f), u = t[--l], f = s[--h];
|
|
3170
|
+
else if (ht(c, f))
|
|
3171
|
+
(c.$tag$ === "slot" || f.$tag$ === "slot") && nt(c.$elm$.parentNode, !1), z(c, f), i.insertBefore(c.$elm$, u.$elm$.nextSibling), c = t[++n], f = s[--h];
|
|
3172
|
+
else if (ht(u, d))
|
|
3173
|
+
(c.$tag$ === "slot" || f.$tag$ === "slot") && nt(u.$elm$.parentNode, !1), z(u, d), i.insertBefore(u.$elm$, c.$elm$), u = t[--l], d = s[++r];
|
|
3139
3174
|
else {
|
|
3140
3175
|
for (o = -1, a = n; a <= l; ++a)
|
|
3141
3176
|
if (t[a] && t[a].$key$ !== null && t[a].$key$ === d.$key$) {
|
|
3142
3177
|
o = a;
|
|
3143
3178
|
break;
|
|
3144
3179
|
}
|
|
3145
|
-
o >= 0 ? (g = t[o], g.$tag$ !== d.$tag$ ? $ = St(t && t[r], e, o, i) : (
|
|
3180
|
+
o >= 0 ? (g = t[o], g.$tag$ !== d.$tag$ ? $ = St(t && t[r], e, o, i) : (z(g, d), t[o] = void 0, $ = g.$elm$), d = s[++r]) : ($ = St(t && t[r], e, r, i), d = s[++r]), $ && Mi(c.$elm$).insertBefore($, ce(c.$elm$));
|
|
3146
3181
|
}
|
|
3147
|
-
n > l ? Ri(i, s[
|
|
3148
|
-
},
|
|
3182
|
+
n > l ? Ri(i, s[h + 1] == null ? null : s[h + 1].$elm$, e, s, r, h) : r > h && Ui(t, n, l);
|
|
3183
|
+
}, ht = (i, t) => i.$tag$ === t.$tag$ ? i.$tag$ === "slot" ? i.$name$ === t.$name$ : i.$key$ === t.$key$ : !1, ce = (i) => i && i["s-ol"] || i, Mi = (i) => (i["s-ol"] ? i["s-ol"] : i).parentNode, z = (i, t) => {
|
|
3149
3184
|
const e = t.$elm$ = i.$elm$, s = i.$children$, n = t.$children$, r = t.$tag$, o = t.$text$;
|
|
3150
3185
|
let a;
|
|
3151
3186
|
o === null ? (y = r === "svg" ? !0 : r === "foreignObject" ? !1 : y, r === "slot" || Ii(i, t, y), s !== null && n !== null ? Zn(e, s, t, n) : n !== null ? (i.$text$ !== null && (e.textContent = ""), Ri(e, null, t, n, 0, n.length - 1)) : s !== null && Ui(s, 0, s.length - 1), y && r === "svg" && (y = !1)) : (a = e["s-cr"]) ? a.parentNode.textContent = o : i.$text$ !== o && (e.data = o);
|
|
@@ -3172,12 +3207,12 @@ const Pt = typeof window < "u" ? window : {}, A = Pt.document || { head: {} }, T
|
|
|
3172
3207
|
for (; a < c; a++) {
|
|
3173
3208
|
if (t = l[a], t["s-sr"] && (e = t["s-cr"]) && e.parentNode)
|
|
3174
3209
|
for (s = e.parentNode.childNodes, n = t["s-sn"], o = s.length - 1; o >= 0; o--)
|
|
3175
|
-
e = s[o], !e["s-cn"] && !e["s-nr"] && e["s-hn"] !== t["s-hn"] && (Be(e, n) ? (r = x.find((
|
|
3210
|
+
e = s[o], !e["s-cn"] && !e["s-nr"] && e["s-hn"] !== t["s-hn"] && (Be(e, n) ? (r = x.find((u) => u.$nodeToRelocate$ === e), wt = !0, e["s-sn"] = e["s-sn"] || n, r ? r.$slotRefNode$ = t : x.push({
|
|
3176
3211
|
$slotRefNode$: t,
|
|
3177
3212
|
$nodeToRelocate$: e
|
|
3178
|
-
}), e["s-sr"] && x.map((
|
|
3179
|
-
Be(
|
|
3180
|
-
})) : x.some((
|
|
3213
|
+
}), e["s-sr"] && x.map((u) => {
|
|
3214
|
+
Be(u.$nodeToRelocate$, e["s-sn"]) && (r = x.find((h) => h.$nodeToRelocate$ === e), r && !u.$slotRefNode$ && (u.$slotRefNode$ = r.$slotRefNode$));
|
|
3215
|
+
})) : x.some((u) => u.$nodeToRelocate$ === e) || x.push({
|
|
3181
3216
|
$nodeToRelocate$: e
|
|
3182
3217
|
}));
|
|
3183
3218
|
t.nodeType === 1 && Hi(t);
|
|
@@ -3185,22 +3220,22 @@ const Pt = typeof window < "u" ? window : {}, A = Pt.document || { head: {} }, T
|
|
|
3185
3220
|
}, Be = (i, t) => i.nodeType === 1 ? i.getAttribute("slot") === null && t === "" || i.getAttribute("slot") === t : i["s-sn"] === t ? !0 : t === "", Ni = (i) => {
|
|
3186
3221
|
i.$attrs$ && i.$attrs$.ref && i.$attrs$.ref(null), i.$children$ && i.$children$.map(Ni);
|
|
3187
3222
|
}, Kn = (i, t) => {
|
|
3188
|
-
const e = i.$hostElement$, s = i.$cmpMeta$, n = i.$vnode$ || xt(null, null), r = Wn(t) ? t :
|
|
3189
|
-
Tt = e.tagName, s.$attrsToReflect$ && (r.$attrs$ = r.$attrs$ || {}, s.$attrsToReflect$.map(([o, a]) => r.$attrs$[a] = e[o])), r.$tag$ = null, r.$flags$ |= 4, i.$vnode$ = r, r.$elm$ = n.$elm$ = e.shadowRoot || e,
|
|
3223
|
+
const e = i.$hostElement$, s = i.$cmpMeta$, n = i.$vnode$ || xt(null, null), r = Wn(t) ? t : W(null, null, t);
|
|
3224
|
+
Tt = e.tagName, s.$attrsToReflect$ && (r.$attrs$ = r.$attrs$ || {}, s.$attrsToReflect$.map(([o, a]) => r.$attrs$[a] = e[o])), r.$tag$ = null, r.$flags$ |= 4, i.$vnode$ = r, r.$elm$ = n.$elm$ = e.shadowRoot || e, B = e["s-sc"], ki = e["s-cr"], Oi = (s.$flags$ & 1) !== 0, wt = !1, z(n, r);
|
|
3190
3225
|
{
|
|
3191
3226
|
if (m.$flags$ |= 1, oe) {
|
|
3192
3227
|
Hi(r.$elm$);
|
|
3193
|
-
let o, a, l, c,
|
|
3228
|
+
let o, a, l, c, u, h, d = 0;
|
|
3194
3229
|
for (; d < x.length; d++)
|
|
3195
3230
|
o = x[d], a = o.$nodeToRelocate$, a["s-ol"] || (l = A.createTextNode(""), l["s-nr"] = a, a.parentNode.insertBefore(a["s-ol"] = l, a));
|
|
3196
3231
|
for (d = 0; d < x.length; d++)
|
|
3197
3232
|
if (o = x[d], a = o.$nodeToRelocate$, o.$slotRefNode$) {
|
|
3198
|
-
for (c = o.$slotRefNode$.parentNode,
|
|
3199
|
-
if (
|
|
3200
|
-
|
|
3233
|
+
for (c = o.$slotRefNode$.parentNode, u = o.$slotRefNode$.nextSibling, l = a["s-ol"]; l = l.previousSibling; )
|
|
3234
|
+
if (h = l["s-nr"], h && h["s-sn"] === a["s-sn"] && c === h.parentNode && (h = h.nextSibling, !h || !h["s-nr"])) {
|
|
3235
|
+
u = h;
|
|
3201
3236
|
break;
|
|
3202
3237
|
}
|
|
3203
|
-
(!
|
|
3238
|
+
(!u && c !== a.parentNode || a.nextSibling !== u) && a !== u && (!a["s-hn"] && a["s-ol"] && (a["s-hn"] = a["s-ol"].parentNode.nodeName), c.insertBefore(a, u));
|
|
3204
3239
|
} else
|
|
3205
3240
|
a.nodeType === 1 && (a.hidden = !0);
|
|
3206
3241
|
}
|
|
@@ -3221,30 +3256,30 @@ const Pt = typeof window < "u" ? window : {}, A = Pt.document || { head: {} }, T
|
|
|
3221
3256
|
return i.dispatchEvent(s), s;
|
|
3222
3257
|
}, Vn = (i, t) => {
|
|
3223
3258
|
}, Di = (i, t) => (i.$flags$ |= 16, Vn(i, i.$ancestorComponent$), vr(() => tr(i, t))), tr = (i, t) => {
|
|
3224
|
-
const e = i.$hostElement$, s =
|
|
3259
|
+
const e = i.$hostElement$, s = M("scheduleUpdate", i.$cmpMeta$.$tagName$), n = e;
|
|
3225
3260
|
let r;
|
|
3226
|
-
return t ? r =
|
|
3261
|
+
return t ? r = Y(n, "componentWillLoad") : r = Y(n, "componentWillUpdate"), r = ze(r, () => Y(n, "componentWillRender")), s(), ze(r, () => er(i, n, t));
|
|
3227
3262
|
}, er = async (i, t, e) => {
|
|
3228
|
-
const s = i.$hostElement$, n =
|
|
3263
|
+
const s = i.$hostElement$, n = M("update", i.$cmpMeta$.$tagName$);
|
|
3229
3264
|
s["s-rc"], e && Nn(i);
|
|
3230
|
-
const r =
|
|
3265
|
+
const r = M("render", i.$cmpMeta$.$tagName$);
|
|
3231
3266
|
ir(i, t, s), r(), n(), sr(i);
|
|
3232
3267
|
}, ir = (i, t, e) => {
|
|
3233
3268
|
try {
|
|
3234
|
-
Re = t, t = t.render && t.render(), i.$flags$ &= -17, i.$flags$ |= 2, (
|
|
3269
|
+
Re = t, t = t.render && t.render(), i.$flags$ &= -17, i.$flags$ |= 2, (D.hasRenderFn || D.reflect) && (D.vdomRender || D.reflect) && (D.hydrateServerSide || Kn(i, t));
|
|
3235
3270
|
} catch (a) {
|
|
3236
|
-
|
|
3271
|
+
lt(a, i.$hostElement$);
|
|
3237
3272
|
}
|
|
3238
3273
|
return Re = null, null;
|
|
3239
3274
|
}, sr = (i) => {
|
|
3240
|
-
const t = i.$cmpMeta$.$tagName$, e = i.$hostElement$, s =
|
|
3241
|
-
i.$ancestorComponent$,
|
|
3242
|
-
},
|
|
3275
|
+
const t = i.$cmpMeta$.$tagName$, e = i.$hostElement$, s = M("postUpdate", t), n = e;
|
|
3276
|
+
i.$ancestorComponent$, Y(n, "componentDidRender"), i.$flags$ & 64 ? (Y(n, "componentDidUpdate"), s()) : (i.$flags$ |= 64, Y(n, "componentDidLoad"), s());
|
|
3277
|
+
}, Y = (i, t, e) => {
|
|
3243
3278
|
if (i && i[t])
|
|
3244
3279
|
try {
|
|
3245
3280
|
return i[t](e);
|
|
3246
3281
|
} catch (s) {
|
|
3247
|
-
|
|
3282
|
+
lt(s);
|
|
3248
3283
|
}
|
|
3249
3284
|
}, ze = (i, t) => i && i.then ? i.then(t) : t(), nr = (i, t) => i != null && !ae(i) ? t & 4 ? i === "false" ? !1 : i === "" || !!i : t & 2 ? parseFloat(i) : t & 1 ? String(i) : i : i, rr = (i, t) => Lt(i).$instanceValues$.get(t), or = (i, t, e, s) => {
|
|
3250
3285
|
const n = Lt(i), r = i, o = n.$instanceValues$.get(t), a = n.$flags$, l = r;
|
|
@@ -3254,12 +3289,12 @@ const Pt = typeof window < "u" ? window : {}, A = Pt.document || { head: {} }, T
|
|
|
3254
3289
|
n.$instanceValues$.set(t, e);
|
|
3255
3290
|
{
|
|
3256
3291
|
if (s.$watchers$ && a & 128) {
|
|
3257
|
-
const
|
|
3258
|
-
|
|
3292
|
+
const h = s.$watchers$[t];
|
|
3293
|
+
h && h.map((d) => {
|
|
3259
3294
|
try {
|
|
3260
3295
|
l[d](e, o, t);
|
|
3261
3296
|
} catch (f) {
|
|
3262
|
-
|
|
3297
|
+
lt(f, r);
|
|
3263
3298
|
}
|
|
3264
3299
|
});
|
|
3265
3300
|
}
|
|
@@ -3313,23 +3348,23 @@ const Pt = typeof window < "u" ? window : {}, A = Pt.document || { head: {} }, T
|
|
|
3313
3348
|
typeof o != "string" && (o = o[t.$modeName$ = Dn(i)]);
|
|
3314
3349
|
const a = Li(e, t.$modeName$);
|
|
3315
3350
|
if (!At.has(a)) {
|
|
3316
|
-
const l =
|
|
3351
|
+
const l = M("registerStyles", e.$tagName$);
|
|
3317
3352
|
jn(a, o, !!(e.$flags$ & 1)), l();
|
|
3318
3353
|
}
|
|
3319
3354
|
}
|
|
3320
3355
|
t.$ancestorComponent$, (() => Di(t, !0))();
|
|
3321
3356
|
}, cr = (i) => {
|
|
3322
|
-
},
|
|
3357
|
+
}, ur = (i) => {
|
|
3323
3358
|
if (!(m.$flags$ & 1)) {
|
|
3324
|
-
const t = Lt(i), e = t.$cmpMeta$, s =
|
|
3325
|
-
t.$flags$ & 1 ? (Pi(i, t, e.$listeners$), cr(t.$lazyInstance$)) : (t.$flags$ |= 1, e.$flags$ & 12 &&
|
|
3359
|
+
const t = Lt(i), e = t.$cmpMeta$, s = M("connectedCallback", e.$tagName$);
|
|
3360
|
+
t.$flags$ & 1 ? (Pi(i, t, e.$listeners$), cr(t.$lazyInstance$)) : (t.$flags$ |= 1, e.$flags$ & 12 && hr(i), e.$members$ && Object.entries(e.$members$).map(([n, [r]]) => {
|
|
3326
3361
|
if (r & 31 && i.hasOwnProperty(n)) {
|
|
3327
3362
|
const o = i[n];
|
|
3328
3363
|
delete i[n], i[n] = o;
|
|
3329
3364
|
}
|
|
3330
3365
|
}), lr(i, t, e)), s();
|
|
3331
3366
|
}
|
|
3332
|
-
},
|
|
3367
|
+
}, hr = (i) => {
|
|
3333
3368
|
const t = i["s-cr"] = A.createComment("");
|
|
3334
3369
|
t["s-cn"] = !0, i.insertBefore(t, i.firstChild);
|
|
3335
3370
|
}, dr = (i) => {
|
|
@@ -3349,7 +3384,7 @@ const Pt = typeof window < "u" ? window : {}, A = Pt.document || { head: {} }, T
|
|
|
3349
3384
|
fr(this, e);
|
|
3350
3385
|
},
|
|
3351
3386
|
connectedCallback() {
|
|
3352
|
-
|
|
3387
|
+
ur(this), s && s.call(this);
|
|
3353
3388
|
},
|
|
3354
3389
|
disconnectedCallback() {
|
|
3355
3390
|
dr(this), n && n.call(this);
|
|
@@ -3369,14 +3404,14 @@ const Pt = typeof window < "u" ? window : {}, A = Pt.document || { head: {} }, T
|
|
|
3369
3404
|
$instanceValues$: /* @__PURE__ */ new Map()
|
|
3370
3405
|
};
|
|
3371
3406
|
return Pi(i, e, t.$listeners$), zi.set(i, e);
|
|
3372
|
-
}, Fe = (i, t) => t in i,
|
|
3407
|
+
}, Fe = (i, t) => t in i, lt = (i, t) => (0, console.error)(i, t), At = /* @__PURE__ */ new Map(), pr = [], We = [], Fi = [], gr = (i, t) => (e) => {
|
|
3373
3408
|
i.push(e), qt || (qt = !0, t && m.$flags$ & 4 ? $r(Gt) : m.raf(Gt));
|
|
3374
3409
|
}, Ye = (i) => {
|
|
3375
3410
|
for (let t = 0; t < i.length; t++)
|
|
3376
3411
|
try {
|
|
3377
3412
|
i[t](performance.now());
|
|
3378
3413
|
} catch (e) {
|
|
3379
|
-
|
|
3414
|
+
lt(e);
|
|
3380
3415
|
}
|
|
3381
3416
|
i.length = 0;
|
|
3382
3417
|
}, Gt = () => {
|
|
@@ -3406,7 +3441,7 @@ const wr = "telia-vst{display:none}", xr = /* @__PURE__ */ Bi(class extends Ti {
|
|
|
3406
3441
|
this.vocaInternalUStats.emit(new _r(this.dataTrackingId));
|
|
3407
3442
|
}
|
|
3408
3443
|
render() {
|
|
3409
|
-
return
|
|
3444
|
+
return W(le, null);
|
|
3410
3445
|
}
|
|
3411
3446
|
static get style() {
|
|
3412
3447
|
return wr;
|
|
@@ -3465,7 +3500,7 @@ const Cr = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
|
|
|
3465
3500
|
attributes: t,
|
|
3466
3501
|
title: this.allyTitle
|
|
3467
3502
|
});
|
|
3468
|
-
return
|
|
3503
|
+
return W(le, { class: `telia-icon telia-icon--${this.size}` }, W("span", { "aria-label": this.allyTitle, class: "telia-icon__container", innerHTML: e }), W("telia-vst", { dataTrackingId: this.dataTrackingId }));
|
|
3469
3504
|
}
|
|
3470
3505
|
static get style() {
|
|
3471
3506
|
return Cr;
|
|
@@ -3545,7 +3580,7 @@ class qi extends Yi {
|
|
|
3545
3580
|
title=${s.getOrFallback("widget-header.ellipses", "Options")}
|
|
3546
3581
|
data-testid="options-button"
|
|
3547
3582
|
>
|
|
3548
|
-
<telia-icon svg=${
|
|
3583
|
+
<telia-icon svg=${un.svg}></telia-icon>
|
|
3549
3584
|
</button>
|
|
3550
3585
|
${o ? p : b`<button
|
|
3551
3586
|
@click=${this._onMinimizeClick}
|
|
@@ -3568,20 +3603,20 @@ class qi extends Yi {
|
|
|
3568
3603
|
skipInitial: !1
|
|
3569
3604
|
})}
|
|
3570
3605
|
>
|
|
3571
|
-
${this.options.options.map((
|
|
3606
|
+
${this.options.options.map((u) => b`<button
|
|
3572
3607
|
class="options-menu__item"
|
|
3573
|
-
data-testid="${
|
|
3608
|
+
data-testid="${u.key}"
|
|
3574
3609
|
@click=${() => {
|
|
3575
|
-
|
|
3610
|
+
u.closeOnClick && this._onToggleOptionsMenuClick(), u.onClick(), this.requestUpdate();
|
|
3576
3611
|
}}
|
|
3577
|
-
?disabled="${!
|
|
3612
|
+
?disabled="${!u.enabled}"
|
|
3578
3613
|
>
|
|
3579
|
-
${
|
|
3614
|
+
${u.icon ? b`<telia-icon
|
|
3580
3615
|
class="option-icon"
|
|
3581
|
-
svg=${
|
|
3616
|
+
svg=${u.icon}
|
|
3582
3617
|
size="sm"
|
|
3583
3618
|
></telia-icon>` : p}
|
|
3584
|
-
${
|
|
3619
|
+
${u.label}
|
|
3585
3620
|
</button>`)}
|
|
3586
3621
|
</div>` : p}
|
|
3587
3622
|
</div>`;
|
|
@@ -3589,11 +3624,15 @@ class qi extends Yi {
|
|
|
3589
3624
|
}
|
|
3590
3625
|
qi.styles = [
|
|
3591
3626
|
Yi.styles || [],
|
|
3592
|
-
|
|
3627
|
+
j`
|
|
3593
3628
|
:host {
|
|
3594
3629
|
--header-text-color: var(--text-on-primary-background);
|
|
3595
3630
|
}
|
|
3596
3631
|
|
|
3632
|
+
:focus {
|
|
3633
|
+
outline-color: var(--focus-color);
|
|
3634
|
+
}
|
|
3635
|
+
|
|
3597
3636
|
img {
|
|
3598
3637
|
max-width: 140px;
|
|
3599
3638
|
max-height: 80%;
|
|
@@ -3677,10 +3716,12 @@ qi.styles = [
|
|
|
3677
3716
|
gap: var(--spacing-sm);
|
|
3678
3717
|
align-items: center;
|
|
3679
3718
|
}
|
|
3719
|
+
|
|
3680
3720
|
.options-menu__item:hover {
|
|
3681
3721
|
background-color: var(--secondary-background);
|
|
3682
3722
|
color: var(--text-on-secondary-background);
|
|
3683
3723
|
}
|
|
3724
|
+
|
|
3684
3725
|
.options-menu__item:disabled,
|
|
3685
3726
|
.options-menu__item[disabled] {
|
|
3686
3727
|
cursor: default;
|
|
@@ -3689,7 +3730,7 @@ qi.styles = [
|
|
|
3689
3730
|
`
|
|
3690
3731
|
];
|
|
3691
3732
|
Pr([
|
|
3692
|
-
|
|
3733
|
+
H()
|
|
3693
3734
|
], qi.prototype, "optionsIsVisible", 2);
|
|
3694
3735
|
export {
|
|
3695
3736
|
qi as WidgetHeader,
|