@telia-ace/widget-conversation-flamingo 1.1.70-rc.24 → 1.1.70-rc.25
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +49 -49
- package/index.mjs +423 -423
- package/package.json +2 -2
package/index.mjs
CHANGED
@@ -1,17 +1,17 @@
|
|
1
|
-
var
|
2
|
-
var
|
3
|
-
var x = (s, e, t) => (
|
1
|
+
var Si = Object.defineProperty;
|
2
|
+
var Ci = (s, e, t) => e in s ? Si(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t;
|
3
|
+
var x = (s, e, t) => (Ci(s, typeof e != "symbol" ? e + "" : e, t), t), Ai = (s, e, t) => {
|
4
4
|
if (!e.has(s))
|
5
5
|
throw TypeError("Cannot " + t);
|
6
6
|
};
|
7
|
-
var
|
7
|
+
var $t = (s, e, t) => {
|
8
8
|
if (e.has(s))
|
9
9
|
throw TypeError("Cannot add the same private member more than once");
|
10
10
|
e instanceof WeakSet ? e.add(s) : e.set(s, t);
|
11
11
|
};
|
12
|
-
var je = (s, e, t) => (
|
13
|
-
const
|
14
|
-
s.registerComponent("conversation", Promise.resolve().then(() =>
|
12
|
+
var je = (s, e, t) => (Ai(s, e, "access private method"), t);
|
13
|
+
const Rl = async (s) => {
|
14
|
+
s.registerComponent("conversation", Promise.resolve().then(() => Ol));
|
15
15
|
};
|
16
16
|
class ds {
|
17
17
|
constructor() {
|
@@ -54,7 +54,7 @@ function ve(s, e) {
|
|
54
54
|
}
|
55
55
|
s.prototype = e === null ? Object.create(e) : (t.prototype = e.prototype, new t());
|
56
56
|
}
|
57
|
-
function
|
57
|
+
function Ei(s, e, t, n) {
|
58
58
|
function i(r) {
|
59
59
|
return r instanceof t ? r : new t(function(o) {
|
60
60
|
o(r);
|
@@ -187,7 +187,7 @@ function te(s, e, t) {
|
|
187
187
|
function ue(s) {
|
188
188
|
return this instanceof ue ? (this.v = s, this) : new ue(s);
|
189
189
|
}
|
190
|
-
function
|
190
|
+
function Ti(s, e, t) {
|
191
191
|
if (!Symbol.asyncIterator)
|
192
192
|
throw new TypeError("Symbol.asyncIterator is not defined.");
|
193
193
|
var n = t.apply(s, e || []), i, r = [];
|
@@ -221,7 +221,7 @@ function Ei(s, e, t) {
|
|
221
221
|
p(d), r.shift(), r.length && a(r[0][0], r[0][1]);
|
222
222
|
}
|
223
223
|
}
|
224
|
-
function
|
224
|
+
function Li(s) {
|
225
225
|
if (!Symbol.asyncIterator)
|
226
226
|
throw new TypeError("Symbol.asyncIterator is not defined.");
|
227
227
|
var e = s[Symbol.asyncIterator], t;
|
@@ -241,7 +241,7 @@ function Ti(s) {
|
|
241
241
|
}, o);
|
242
242
|
}
|
243
243
|
}
|
244
|
-
function
|
244
|
+
function $(s) {
|
245
245
|
return typeof s == "function";
|
246
246
|
}
|
247
247
|
function gs(s) {
|
@@ -294,7 +294,7 @@ var ot = function() {
|
|
294
294
|
else
|
295
295
|
o.remove(this);
|
296
296
|
var h = this.initialTeardown;
|
297
|
-
if (
|
297
|
+
if ($(h))
|
298
298
|
try {
|
299
299
|
h();
|
300
300
|
} catch (f) {
|
@@ -357,10 +357,10 @@ var ot = function() {
|
|
357
357
|
}(), s;
|
358
358
|
}(), ms = ot.EMPTY;
|
359
359
|
function vs(s) {
|
360
|
-
return s instanceof ot || s && "closed" in s &&
|
360
|
+
return s instanceof ot || s && "closed" in s && $(s.remove) && $(s.add) && $(s.unsubscribe);
|
361
361
|
}
|
362
362
|
function kn(s) {
|
363
|
-
|
363
|
+
$(s) ? s() : s.unsubscribe();
|
364
364
|
}
|
365
365
|
var bs = {
|
366
366
|
onUnhandledError: null,
|
@@ -381,7 +381,7 @@ var bs = {
|
|
381
381
|
},
|
382
382
|
delegate: void 0
|
383
383
|
};
|
384
|
-
function
|
384
|
+
function ys(s) {
|
385
385
|
Pt.setTimeout(function() {
|
386
386
|
throw s;
|
387
387
|
});
|
@@ -395,7 +395,7 @@ var Zt = function(s) {
|
|
395
395
|
ve(e, s);
|
396
396
|
function e(t) {
|
397
397
|
var n = s.call(this) || this;
|
398
|
-
return n.isStopped = !1, t ? (n.destination = t, vs(t) && t.add(n)) : n.destination =
|
398
|
+
return n.isStopped = !1, t ? (n.destination = t, vs(t) && t.add(n)) : n.destination = Ii, n;
|
399
399
|
}
|
400
400
|
return e.create = function(t, n, i) {
|
401
401
|
return new Rt(t, n, i);
|
@@ -422,11 +422,11 @@ var Zt = function(s) {
|
|
422
422
|
this.unsubscribe();
|
423
423
|
}
|
424
424
|
}, e;
|
425
|
-
}(ot),
|
425
|
+
}(ot), Oi = Function.prototype.bind;
|
426
426
|
function wt(s, e) {
|
427
|
-
return
|
427
|
+
return Oi.call(s, e);
|
428
428
|
}
|
429
|
-
var
|
429
|
+
var Pi = function() {
|
430
430
|
function s(e) {
|
431
431
|
this.partialObserver = e;
|
432
432
|
}
|
@@ -461,7 +461,7 @@ var Oi = function() {
|
|
461
461
|
ve(e, s);
|
462
462
|
function e(t, n, i) {
|
463
463
|
var r = s.call(this) || this, o;
|
464
|
-
if (
|
464
|
+
if ($(t) || !t)
|
465
465
|
o = {
|
466
466
|
next: t ?? void 0,
|
467
467
|
error: n ?? void 0,
|
@@ -477,20 +477,20 @@ var Oi = function() {
|
|
477
477
|
complete: t.complete && wt(t.complete, a)
|
478
478
|
}) : o = t;
|
479
479
|
}
|
480
|
-
return r.destination = new
|
480
|
+
return r.destination = new Pi(o), r;
|
481
481
|
}
|
482
482
|
return e;
|
483
483
|
}(Zt);
|
484
484
|
function De(s) {
|
485
|
-
|
485
|
+
ys(s);
|
486
486
|
}
|
487
|
-
function
|
487
|
+
function Ri(s) {
|
488
488
|
throw s;
|
489
489
|
}
|
490
|
-
var
|
490
|
+
var Ii = {
|
491
491
|
closed: !0,
|
492
492
|
next: We,
|
493
|
-
error:
|
493
|
+
error: Ri,
|
494
494
|
complete: We
|
495
495
|
}, Wt = function() {
|
496
496
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
@@ -498,7 +498,7 @@ var Ri = {
|
|
498
498
|
function Oe(s) {
|
499
499
|
return s;
|
500
500
|
}
|
501
|
-
function
|
501
|
+
function Mi(s) {
|
502
502
|
return s.length === 0 ? Oe : s.length === 1 ? s[0] : function(t) {
|
503
503
|
return s.reduce(function(n, i) {
|
504
504
|
return i(n);
|
@@ -513,7 +513,7 @@ var C = function() {
|
|
513
513
|
var t = new s();
|
514
514
|
return t.source = this, t.operator = e, t;
|
515
515
|
}, s.prototype.subscribe = function(e, t, n) {
|
516
|
-
var i = this, r =
|
516
|
+
var i = this, r = Ui(e) ? e : new Rt(e, t, n);
|
517
517
|
return qe(function() {
|
518
518
|
var o = i, a = o.operator, l = o.source;
|
519
519
|
r.add(a ? a.call(r, l) : l ? i._subscribe(r) : i._trySubscribe(r));
|
@@ -548,7 +548,7 @@ var C = function() {
|
|
548
548
|
}, s.prototype.pipe = function() {
|
549
549
|
for (var e = [], t = 0; t < arguments.length; t++)
|
550
550
|
e[t] = arguments[t];
|
551
|
-
return
|
551
|
+
return Mi(e)(this);
|
552
552
|
}, s.prototype.toPromise = function(e) {
|
553
553
|
var t = this;
|
554
554
|
return e = _n(e), new e(function(n, i) {
|
@@ -569,18 +569,18 @@ function _n(s) {
|
|
569
569
|
var e;
|
570
570
|
return (e = s ?? bs.Promise) !== null && e !== void 0 ? e : Promise;
|
571
571
|
}
|
572
|
-
function Mi(s) {
|
573
|
-
return s && y(s.next) && y(s.error) && y(s.complete);
|
574
|
-
}
|
575
572
|
function zi(s) {
|
576
|
-
return s && s
|
573
|
+
return s && $(s.next) && $(s.error) && $(s.complete);
|
577
574
|
}
|
578
575
|
function Ui(s) {
|
579
|
-
return
|
576
|
+
return s && s instanceof Zt || zi(s) && vs(s);
|
577
|
+
}
|
578
|
+
function ji(s) {
|
579
|
+
return $(s == null ? void 0 : s.lift);
|
580
580
|
}
|
581
581
|
function K(s) {
|
582
582
|
return function(e) {
|
583
|
-
if (
|
583
|
+
if (ji(e))
|
584
584
|
return e.lift(function(t) {
|
585
585
|
try {
|
586
586
|
return s(t, this);
|
@@ -592,9 +592,9 @@ function K(s) {
|
|
592
592
|
};
|
593
593
|
}
|
594
594
|
function P(s, e, t, n, i) {
|
595
|
-
return new
|
595
|
+
return new Di(s, e, t, n, i);
|
596
596
|
}
|
597
|
-
var
|
597
|
+
var Di = function(s) {
|
598
598
|
ve(e, s);
|
599
599
|
function e(t, n, i, r, o, a) {
|
600
600
|
var l = s.call(this, t) || this;
|
@@ -629,7 +629,7 @@ var ji = function(s) {
|
|
629
629
|
s.prototype.unsubscribe.call(this), !n && ((t = this.onFinalize) === null || t === void 0 || t.call(this));
|
630
630
|
}
|
631
631
|
}, e;
|
632
|
-
}(Zt),
|
632
|
+
}(Zt), Hi = gs(function(s) {
|
633
633
|
return function() {
|
634
634
|
s(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
635
635
|
};
|
@@ -644,7 +644,7 @@ var ji = function(s) {
|
|
644
644
|
return n.operator = t, n;
|
645
645
|
}, e.prototype._throwIfClosed = function() {
|
646
646
|
if (this.closed)
|
647
|
-
throw new
|
647
|
+
throw new Hi();
|
648
648
|
}, e.prototype.next = function(t) {
|
649
649
|
var n = this;
|
650
650
|
qe(function() {
|
@@ -758,45 +758,45 @@ var ji = function(s) {
|
|
758
758
|
}(_), Pe = new C(function(s) {
|
759
759
|
return s.complete();
|
760
760
|
});
|
761
|
-
function
|
762
|
-
return s &&
|
761
|
+
function Bi(s) {
|
762
|
+
return s && $(s.schedule);
|
763
763
|
}
|
764
764
|
function Yt(s) {
|
765
765
|
return s[s.length - 1];
|
766
766
|
}
|
767
|
-
function
|
768
|
-
return
|
767
|
+
function $s(s) {
|
768
|
+
return $(Yt(s)) ? s.pop() : void 0;
|
769
769
|
}
|
770
770
|
function Qt(s) {
|
771
|
-
return
|
771
|
+
return Bi(Yt(s)) ? s.pop() : void 0;
|
772
772
|
}
|
773
|
-
function
|
773
|
+
function Ni(s, e) {
|
774
774
|
return typeof Yt(s) == "number" ? s.pop() : e;
|
775
775
|
}
|
776
776
|
var Kt = function(s) {
|
777
777
|
return s && typeof s.length == "number" && typeof s != "function";
|
778
778
|
};
|
779
779
|
function xs(s) {
|
780
|
-
return
|
780
|
+
return $(s == null ? void 0 : s.then);
|
781
781
|
}
|
782
782
|
function ws(s) {
|
783
|
-
return
|
783
|
+
return $(s[Wt]);
|
784
784
|
}
|
785
785
|
function ks(s) {
|
786
|
-
return Symbol.asyncIterator &&
|
786
|
+
return Symbol.asyncIterator && $(s == null ? void 0 : s[Symbol.asyncIterator]);
|
787
787
|
}
|
788
788
|
function _s(s) {
|
789
789
|
return new TypeError("You provided " + (s !== null && typeof s == "object" ? "an invalid object" : "'" + s + "'") + " where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.");
|
790
790
|
}
|
791
|
-
function
|
791
|
+
function Fi() {
|
792
792
|
return typeof Symbol != "function" || !Symbol.iterator ? "@@iterator" : Symbol.iterator;
|
793
793
|
}
|
794
|
-
var Ss =
|
794
|
+
var Ss = Fi();
|
795
795
|
function Cs(s) {
|
796
|
-
return
|
796
|
+
return $(s == null ? void 0 : s[Ss]);
|
797
797
|
}
|
798
798
|
function As(s) {
|
799
|
-
return
|
799
|
+
return Ti(this, arguments, function() {
|
800
800
|
var t, n, i, r;
|
801
801
|
return fs(this, function(o) {
|
802
802
|
switch (o.label) {
|
@@ -827,52 +827,52 @@ function As(s) {
|
|
827
827
|
});
|
828
828
|
}
|
829
829
|
function Es(s) {
|
830
|
-
return
|
830
|
+
return $(s == null ? void 0 : s.getReader);
|
831
831
|
}
|
832
832
|
function D(s) {
|
833
833
|
if (s instanceof C)
|
834
834
|
return s;
|
835
835
|
if (s != null) {
|
836
836
|
if (ws(s))
|
837
|
-
return Fi(s);
|
838
|
-
if (Kt(s))
|
839
837
|
return qi(s);
|
840
|
-
if (
|
838
|
+
if (Kt(s))
|
841
839
|
return Zi(s);
|
840
|
+
if (xs(s))
|
841
|
+
return Wi(s);
|
842
842
|
if (ks(s))
|
843
843
|
return Ts(s);
|
844
844
|
if (Cs(s))
|
845
|
-
return Wi(s);
|
846
|
-
if (Es(s))
|
847
845
|
return Yi(s);
|
846
|
+
if (Es(s))
|
847
|
+
return Qi(s);
|
848
848
|
}
|
849
849
|
throw _s(s);
|
850
850
|
}
|
851
|
-
function
|
851
|
+
function qi(s) {
|
852
852
|
return new C(function(e) {
|
853
853
|
var t = s[Wt]();
|
854
|
-
if (
|
854
|
+
if ($(t.subscribe))
|
855
855
|
return t.subscribe(e);
|
856
856
|
throw new TypeError("Provided object does not correctly implement Symbol.observable");
|
857
857
|
});
|
858
858
|
}
|
859
|
-
function
|
859
|
+
function Zi(s) {
|
860
860
|
return new C(function(e) {
|
861
861
|
for (var t = 0; t < s.length && !e.closed; t++)
|
862
862
|
e.next(s[t]);
|
863
863
|
e.complete();
|
864
864
|
});
|
865
865
|
}
|
866
|
-
function
|
866
|
+
function Wi(s) {
|
867
867
|
return new C(function(e) {
|
868
868
|
s.then(function(t) {
|
869
869
|
e.closed || (e.next(t), e.complete());
|
870
870
|
}, function(t) {
|
871
871
|
return e.error(t);
|
872
|
-
}).then(null,
|
872
|
+
}).then(null, ys);
|
873
873
|
});
|
874
874
|
}
|
875
|
-
function
|
875
|
+
function Yi(s) {
|
876
876
|
return new C(function(e) {
|
877
877
|
var t, n;
|
878
878
|
try {
|
@@ -896,22 +896,22 @@ function Wi(s) {
|
|
896
896
|
}
|
897
897
|
function Ts(s) {
|
898
898
|
return new C(function(e) {
|
899
|
-
|
899
|
+
Ki(s, e).catch(function(t) {
|
900
900
|
return e.error(t);
|
901
901
|
});
|
902
902
|
});
|
903
903
|
}
|
904
|
-
function
|
904
|
+
function Qi(s) {
|
905
905
|
return Ts(As(s));
|
906
906
|
}
|
907
|
-
function
|
907
|
+
function Ki(s, e) {
|
908
908
|
var t, n, i, r;
|
909
|
-
return
|
909
|
+
return Ei(this, void 0, void 0, function() {
|
910
910
|
var o, a;
|
911
911
|
return fs(this, function(l) {
|
912
912
|
switch (l.label) {
|
913
913
|
case 0:
|
914
|
-
l.trys.push([0, 5, 6, 11]), t =
|
914
|
+
l.trys.push([0, 5, 6, 11]), t = Li(s), l.label = 1;
|
915
915
|
case 1:
|
916
916
|
return [4, t.next()];
|
917
917
|
case 2:
|
@@ -976,13 +976,13 @@ function Os(s, e) {
|
|
976
976
|
}, e));
|
977
977
|
});
|
978
978
|
}
|
979
|
-
function Ki(s, e) {
|
980
|
-
return D(s).pipe(Os(e), Ls(e));
|
981
|
-
}
|
982
979
|
function Gi(s, e) {
|
983
980
|
return D(s).pipe(Os(e), Ls(e));
|
984
981
|
}
|
985
982
|
function Xi(s, e) {
|
983
|
+
return D(s).pipe(Os(e), Ls(e));
|
984
|
+
}
|
985
|
+
function Ji(s, e) {
|
986
986
|
return new C(function(t) {
|
987
987
|
var n = 0;
|
988
988
|
return e.schedule(function() {
|
@@ -990,7 +990,7 @@ function Xi(s, e) {
|
|
990
990
|
});
|
991
991
|
});
|
992
992
|
}
|
993
|
-
function
|
993
|
+
function Vi(s, e) {
|
994
994
|
return new C(function(t) {
|
995
995
|
var n;
|
996
996
|
return F(t, e, function() {
|
@@ -1005,7 +1005,7 @@ function Ji(s, e) {
|
|
1005
1005
|
o ? t.complete() : t.next(r);
|
1006
1006
|
}, 0, !0);
|
1007
1007
|
}), function() {
|
1008
|
-
return
|
1008
|
+
return $(n == null ? void 0 : n.return) && n.return();
|
1009
1009
|
};
|
1010
1010
|
});
|
1011
1011
|
}
|
@@ -1023,28 +1023,28 @@ function Ps(s, e) {
|
|
1023
1023
|
});
|
1024
1024
|
});
|
1025
1025
|
}
|
1026
|
-
function
|
1026
|
+
function er(s, e) {
|
1027
1027
|
return Ps(As(s), e);
|
1028
1028
|
}
|
1029
|
-
function
|
1029
|
+
function tr(s, e) {
|
1030
1030
|
if (s != null) {
|
1031
1031
|
if (ws(s))
|
1032
|
-
return
|
1032
|
+
return Gi(s, e);
|
1033
1033
|
if (Kt(s))
|
1034
|
-
return
|
1034
|
+
return Ji(s, e);
|
1035
1035
|
if (xs(s))
|
1036
|
-
return
|
1036
|
+
return Xi(s, e);
|
1037
1037
|
if (ks(s))
|
1038
1038
|
return Ps(s, e);
|
1039
1039
|
if (Cs(s))
|
1040
|
-
return Ji(s, e);
|
1041
|
-
if (Es(s))
|
1042
1040
|
return Vi(s, e);
|
1041
|
+
if (Es(s))
|
1042
|
+
return er(s, e);
|
1043
1043
|
}
|
1044
1044
|
throw _s(s);
|
1045
1045
|
}
|
1046
1046
|
function at(s, e) {
|
1047
|
-
return e ?
|
1047
|
+
return e ? tr(s, e) : D(s);
|
1048
1048
|
}
|
1049
1049
|
function It() {
|
1050
1050
|
for (var s = [], e = 0; e < arguments.length; e++)
|
@@ -1060,23 +1060,23 @@ function Ye(s, e) {
|
|
1060
1060
|
}));
|
1061
1061
|
});
|
1062
1062
|
}
|
1063
|
-
var
|
1064
|
-
function
|
1065
|
-
return
|
1063
|
+
var nr = Array.isArray;
|
1064
|
+
function sr(s, e) {
|
1065
|
+
return nr(e) ? s.apply(void 0, te([], Y(e))) : s(e);
|
1066
1066
|
}
|
1067
1067
|
function Rs(s) {
|
1068
1068
|
return Ye(function(e) {
|
1069
|
-
return
|
1069
|
+
return sr(s, e);
|
1070
1070
|
});
|
1071
1071
|
}
|
1072
|
-
var
|
1073
|
-
function
|
1072
|
+
var ir = Array.isArray, rr = Object.getPrototypeOf, or = Object.prototype, ar = Object.keys;
|
1073
|
+
function lr(s) {
|
1074
1074
|
if (s.length === 1) {
|
1075
1075
|
var e = s[0];
|
1076
|
-
if (
|
1076
|
+
if (ir(e))
|
1077
1077
|
return { args: e, keys: null };
|
1078
|
-
if (
|
1079
|
-
var t =
|
1078
|
+
if (cr(e)) {
|
1079
|
+
var t = ar(e);
|
1080
1080
|
return {
|
1081
1081
|
args: t.map(function(n) {
|
1082
1082
|
return e[n];
|
@@ -1087,26 +1087,26 @@ function ar(s) {
|
|
1087
1087
|
}
|
1088
1088
|
return { args: s, keys: null };
|
1089
1089
|
}
|
1090
|
-
function
|
1091
|
-
return s && typeof s == "object" &&
|
1090
|
+
function cr(s) {
|
1091
|
+
return s && typeof s == "object" && rr(s) === or;
|
1092
1092
|
}
|
1093
|
-
function
|
1093
|
+
function hr(s, e) {
|
1094
1094
|
return s.reduce(function(t, n, i) {
|
1095
1095
|
return t[n] = e[i], t;
|
1096
1096
|
}, {});
|
1097
1097
|
}
|
1098
|
-
function
|
1098
|
+
function ur() {
|
1099
1099
|
for (var s = [], e = 0; e < arguments.length; e++)
|
1100
1100
|
s[e] = arguments[e];
|
1101
|
-
var t = Qt(s), n =
|
1101
|
+
var t = Qt(s), n = $s(s), i = lr(s), r = i.args, o = i.keys;
|
1102
1102
|
if (r.length === 0)
|
1103
1103
|
return at([], t);
|
1104
|
-
var a = new C(
|
1105
|
-
return
|
1104
|
+
var a = new C(pr(r, t, o ? function(l) {
|
1105
|
+
return hr(o, l);
|
1106
1106
|
} : Oe));
|
1107
1107
|
return n ? a.pipe(Rs(n)) : a;
|
1108
1108
|
}
|
1109
|
-
function
|
1109
|
+
function pr(s, e, t) {
|
1110
1110
|
return t === void 0 && (t = Oe), function(n) {
|
1111
1111
|
Cn(e, function() {
|
1112
1112
|
for (var i = s.length, r = new Array(i), o = i, a = i, l = function(h) {
|
@@ -1126,7 +1126,7 @@ function ur(s, e, t) {
|
|
1126
1126
|
function Cn(s, e, t) {
|
1127
1127
|
s ? F(t, s, e) : e();
|
1128
1128
|
}
|
1129
|
-
function
|
1129
|
+
function dr(s, e, t, n, i, r, o, a) {
|
1130
1130
|
var l = [], c = 0, h = 0, u = !1, p = function() {
|
1131
1131
|
u && !l.length && !c && e.complete();
|
1132
1132
|
}, d = function(f) {
|
@@ -1162,26 +1162,26 @@ function pr(s, e, t, n, i, r, o, a) {
|
|
1162
1162
|
};
|
1163
1163
|
}
|
1164
1164
|
function Gt(s, e, t) {
|
1165
|
-
return t === void 0 && (t = 1 / 0),
|
1165
|
+
return t === void 0 && (t = 1 / 0), $(e) ? Gt(function(n, i) {
|
1166
1166
|
return Ye(function(r, o) {
|
1167
1167
|
return e(n, r, i, o);
|
1168
1168
|
})(D(s(n, i)));
|
1169
1169
|
}, t) : (typeof e == "number" && (t = e), K(function(n, i) {
|
1170
|
-
return
|
1170
|
+
return dr(n, i, s, t);
|
1171
1171
|
}));
|
1172
1172
|
}
|
1173
|
-
function
|
1173
|
+
function fr(s) {
|
1174
1174
|
return s === void 0 && (s = 1 / 0), Gt(Oe, s);
|
1175
1175
|
}
|
1176
|
-
var
|
1176
|
+
var gr = ["addListener", "removeListener"], mr = ["addEventListener", "removeEventListener"], vr = ["on", "off"];
|
1177
1177
|
function Qe(s, e, t, n) {
|
1178
|
-
if (
|
1178
|
+
if ($(t) && (n = t, t = void 0), n)
|
1179
1179
|
return Qe(s, e, t).pipe(Rs(n));
|
1180
|
-
var i = Y($r(s) ?
|
1180
|
+
var i = Y($r(s) ? mr.map(function(a) {
|
1181
1181
|
return function(l) {
|
1182
1182
|
return s[a](e, l, t);
|
1183
1183
|
};
|
1184
|
-
}) :
|
1184
|
+
}) : br(s) ? gr.map(An(s, e)) : yr(s) ? vr.map(An(s, e)) : [], 2), r = i[0], o = i[1];
|
1185
1185
|
if (!r && Kt(s))
|
1186
1186
|
return Gt(function(a) {
|
1187
1187
|
return Qe(a, e, t);
|
@@ -1206,20 +1206,20 @@ function An(s, e) {
|
|
1206
1206
|
};
|
1207
1207
|
};
|
1208
1208
|
}
|
1209
|
-
function vr(s) {
|
1210
|
-
return y(s.addListener) && y(s.removeListener);
|
1211
|
-
}
|
1212
1209
|
function br(s) {
|
1213
|
-
return
|
1210
|
+
return $(s.addListener) && $(s.removeListener);
|
1211
|
+
}
|
1212
|
+
function yr(s) {
|
1213
|
+
return $(s.on) && $(s.off);
|
1214
1214
|
}
|
1215
1215
|
function $r(s) {
|
1216
|
-
return
|
1216
|
+
return $(s.addEventListener) && $(s.removeEventListener);
|
1217
1217
|
}
|
1218
|
-
function
|
1218
|
+
function xr() {
|
1219
1219
|
for (var s = [], e = 0; e < arguments.length; e++)
|
1220
1220
|
s[e] = arguments[e];
|
1221
|
-
var t = Qt(s), n =
|
1222
|
-
return i.length ? i.length === 1 ? D(i[0]) :
|
1221
|
+
var t = Qt(s), n = Ni(s, 1 / 0), i = s;
|
1222
|
+
return i.length ? i.length === 1 ? D(i[0]) : fr(n)(at(i, t)) : Pe;
|
1223
1223
|
}
|
1224
1224
|
function Mt(s) {
|
1225
1225
|
return s <= 0 ? function() {
|
@@ -1259,7 +1259,7 @@ function zt(s) {
|
|
1259
1259
|
function Ut() {
|
1260
1260
|
for (var s = [], e = 0; e < arguments.length; e++)
|
1261
1261
|
s[e] = arguments[e];
|
1262
|
-
var t =
|
1262
|
+
var t = $s(s);
|
1263
1263
|
return K(function(n, i) {
|
1264
1264
|
for (var r = s.length, o = new Array(r), a = s.map(function() {
|
1265
1265
|
return !1;
|
@@ -1297,7 +1297,7 @@ class lt {
|
|
1297
1297
|
this.remove$.next();
|
1298
1298
|
}
|
1299
1299
|
}
|
1300
|
-
class
|
1300
|
+
class wr {
|
1301
1301
|
constructor(e) {
|
1302
1302
|
this.name = e, this.print$ = new _();
|
1303
1303
|
}
|
@@ -1317,7 +1317,7 @@ class xr {
|
|
1317
1317
|
return this.print$.asObservable();
|
1318
1318
|
}
|
1319
1319
|
}
|
1320
|
-
class
|
1320
|
+
class kr {
|
1321
1321
|
constructor(e) {
|
1322
1322
|
this.name = e, this.print$ = new _();
|
1323
1323
|
}
|
@@ -1337,7 +1337,7 @@ class wr {
|
|
1337
1337
|
return this.print$.asObservable();
|
1338
1338
|
}
|
1339
1339
|
}
|
1340
|
-
class
|
1340
|
+
class _r {
|
1341
1341
|
constructor() {
|
1342
1342
|
this.print$ = new _(), this.name = "system";
|
1343
1343
|
}
|
@@ -1357,7 +1357,7 @@ class kr {
|
|
1357
1357
|
return this.print$.asObservable();
|
1358
1358
|
}
|
1359
1359
|
}
|
1360
|
-
class
|
1360
|
+
class Il {
|
1361
1361
|
constructor(e, t) {
|
1362
1362
|
this.name = e, this.component = t, this.print$ = new _(), this.typingState$ = new M(!1), this.complete$ = new _(), this.system = this.createSystem(), this.rehydrate$ = new _(), this.saveToCurrentSession$ = new _(), this.showChatOverlay$ = new M(!1), this.onComplete = () => this.complete$.asObservable();
|
1363
1363
|
}
|
@@ -1391,19 +1391,19 @@ class Rl {
|
|
1391
1391
|
return this.print$.next(e), e;
|
1392
1392
|
}
|
1393
1393
|
createAgent(e) {
|
1394
|
-
const t = new
|
1394
|
+
const t = new wr(e);
|
1395
1395
|
return t.subscribe().subscribe((n) => {
|
1396
1396
|
this.playNotification(), this.printEntry(n);
|
1397
1397
|
}), t;
|
1398
1398
|
}
|
1399
1399
|
createUser(e) {
|
1400
|
-
const t = new
|
1400
|
+
const t = new kr(e);
|
1401
1401
|
return t.subscribe().subscribe((n) => {
|
1402
1402
|
this.printEntry(n);
|
1403
1403
|
}), t;
|
1404
1404
|
}
|
1405
1405
|
createSystem() {
|
1406
|
-
const e = new
|
1406
|
+
const e = new _r();
|
1407
1407
|
return e.subscribe().subscribe((t) => {
|
1408
1408
|
this.printEntry(t);
|
1409
1409
|
}), e;
|
@@ -1459,7 +1459,7 @@ let Ms = class {
|
|
1459
1459
|
return this.cssText;
|
1460
1460
|
}
|
1461
1461
|
};
|
1462
|
-
const
|
1462
|
+
const Sr = (s) => new Ms(typeof s == "string" ? s : s + "", void 0, Jt), A = (s, ...e) => {
|
1463
1463
|
const t = s.length === 1 ? s[0] : e.reduce((n, i, r) => n + ((o) => {
|
1464
1464
|
if (o._$cssResult$ === !0)
|
1465
1465
|
return o.cssText;
|
@@ -1468,7 +1468,7 @@ const _r = (s) => new Ms(typeof s == "string" ? s : s + "", void 0, Jt), A = (s,
|
|
1468
1468
|
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.");
|
1469
1469
|
})(i) + s[r + 1], s[0]);
|
1470
1470
|
return new Ms(t, s, Jt);
|
1471
|
-
},
|
1471
|
+
}, Cr = (s, e) => {
|
1472
1472
|
if (Xt)
|
1473
1473
|
s.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet);
|
1474
1474
|
else
|
@@ -1480,17 +1480,17 @@ const _r = (s) => new Ms(typeof s == "string" ? s : s + "", void 0, Jt), A = (s,
|
|
1480
1480
|
let t = "";
|
1481
1481
|
for (const n of e.cssRules)
|
1482
1482
|
t += n.cssText;
|
1483
|
-
return
|
1483
|
+
return Sr(t);
|
1484
1484
|
})(s) : s;
|
1485
1485
|
/**
|
1486
1486
|
* @license
|
1487
1487
|
* Copyright 2017 Google LLC
|
1488
1488
|
* SPDX-License-Identifier: BSD-3-Clause
|
1489
1489
|
*/
|
1490
|
-
const { is:
|
1490
|
+
const { is: Ar, defineProperty: Er, getOwnPropertyDescriptor: Tr, getOwnPropertyNames: Lr, getOwnPropertySymbols: Or, getPrototypeOf: Pr } = Object, W = globalThis, Ln = W.trustedTypes, Rr = Ln ? Ln.emptyScript : "", kt = W.reactiveElementPolyfillSupport, $e = (s, e) => s, Ke = { toAttribute(s, e) {
|
1491
1491
|
switch (e) {
|
1492
1492
|
case Boolean:
|
1493
|
-
s = s ?
|
1493
|
+
s = s ? Rr : null;
|
1494
1494
|
break;
|
1495
1495
|
case Object:
|
1496
1496
|
case Array:
|
@@ -1515,7 +1515,7 @@ const { is: Cr, defineProperty: Ar, getOwnPropertyDescriptor: Er, getOwnProperty
|
|
1515
1515
|
}
|
1516
1516
|
}
|
1517
1517
|
return t;
|
1518
|
-
} }, Vt = (s, e) => !
|
1518
|
+
} }, Vt = (s, e) => !Ar(s, e), On = { attribute: !0, type: String, converter: Ke, reflect: !1, hasChanged: Vt };
|
1519
1519
|
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), W.litPropertyMetadata ?? (W.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
1520
1520
|
let ae = class extends HTMLElement {
|
1521
1521
|
static addInitializer(e) {
|
@@ -1527,11 +1527,11 @@ let ae = class extends HTMLElement {
|
|
1527
1527
|
static createProperty(e, t = On) {
|
1528
1528
|
if (t.state && (t.attribute = !1), this._$Ei(), this.elementProperties.set(e, t), !t.noAccessor) {
|
1529
1529
|
const n = Symbol(), i = this.getPropertyDescriptor(e, n, t);
|
1530
|
-
i !== void 0 &&
|
1530
|
+
i !== void 0 && Er(this.prototype, e, i);
|
1531
1531
|
}
|
1532
1532
|
}
|
1533
1533
|
static getPropertyDescriptor(e, t, n) {
|
1534
|
-
const { get: i, set: r } =
|
1534
|
+
const { get: i, set: r } = Tr(this.prototype, e) ?? { get() {
|
1535
1535
|
return this[t];
|
1536
1536
|
}, set(o) {
|
1537
1537
|
this[t] = o;
|
@@ -1547,16 +1547,16 @@ let ae = class extends HTMLElement {
|
|
1547
1547
|
return this.elementProperties.get(e) ?? On;
|
1548
1548
|
}
|
1549
1549
|
static _$Ei() {
|
1550
|
-
if (this.hasOwnProperty(
|
1550
|
+
if (this.hasOwnProperty($e("elementProperties")))
|
1551
1551
|
return;
|
1552
|
-
const e =
|
1552
|
+
const e = Pr(this);
|
1553
1553
|
e.finalize(), e.l !== void 0 && (this.l = [...e.l]), this.elementProperties = new Map(e.elementProperties);
|
1554
1554
|
}
|
1555
1555
|
static finalize() {
|
1556
|
-
if (this.hasOwnProperty(
|
1556
|
+
if (this.hasOwnProperty($e("finalized")))
|
1557
1557
|
return;
|
1558
|
-
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(
|
1559
|
-
const t = this.properties, n = [...
|
1558
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty($e("properties"))) {
|
1559
|
+
const t = this.properties, n = [...Lr(t), ...Or(t)];
|
1560
1560
|
for (const i of n)
|
1561
1561
|
this.createProperty(i, t[i]);
|
1562
1562
|
}
|
@@ -1611,7 +1611,7 @@ let ae = class extends HTMLElement {
|
|
1611
1611
|
}
|
1612
1612
|
createRenderRoot() {
|
1613
1613
|
const e = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
1614
|
-
return
|
1614
|
+
return Cr(e, this.constructor.elementStyles), e;
|
1615
1615
|
}
|
1616
1616
|
connectedCallback() {
|
1617
1617
|
var e;
|
@@ -1728,21 +1728,21 @@ let ae = class extends HTMLElement {
|
|
1728
1728
|
firstUpdated(e) {
|
1729
1729
|
}
|
1730
1730
|
};
|
1731
|
-
ae.elementStyles = [], ae.shadowRootOptions = { mode: "open" }, ae[
|
1731
|
+
ae.elementStyles = [], ae.shadowRootOptions = { mode: "open" }, ae[$e("elementProperties")] = /* @__PURE__ */ new Map(), ae[$e("finalized")] = /* @__PURE__ */ new Map(), kt == null || kt({ ReactiveElement: ae }), (W.reactiveElementVersions ?? (W.reactiveElementVersions = [])).push("2.0.4");
|
1732
1732
|
/**
|
1733
1733
|
* @license
|
1734
1734
|
* Copyright 2017 Google LLC
|
1735
1735
|
* SPDX-License-Identifier: BSD-3-Clause
|
1736
1736
|
*/
|
1737
|
-
const xe = globalThis, Ge = xe.trustedTypes, Pn = Ge ? Ge.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, zs = "$lit$", q = `lit$${(Math.random() + "").slice(9)}$`, Us = "?" + q,
|
1737
|
+
const xe = globalThis, Ge = xe.trustedTypes, Pn = Ge ? Ge.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, zs = "$lit$", q = `lit$${(Math.random() + "").slice(9)}$`, Us = "?" + q, Ir = `<${Us}>`, ne = document, Se = () => ne.createComment(""), Ce = (s) => s === null || typeof s != "object" && typeof s != "function", js = Array.isArray, Mr = (s) => js(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", _t = `[
|
1738
1738
|
\f\r]`, be = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Rn = /-->/g, In = />/g, J = RegExp(`>|${_t}(?:([^\\s"'>=/]+)(${_t}*=${_t}*(?:[^
|
1739
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), Mn = /'/g, zn = /"/g, Ds = /^(?:script|style|textarea|title)$/i,
|
1739
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Mn = /'/g, zn = /"/g, Ds = /^(?:script|style|textarea|title)$/i, zr = (s) => (e, ...t) => ({ _$litType$: s, strings: e, values: t }), m = zr(1), Q = Symbol.for("lit-noChange"), g = Symbol.for("lit-nothing"), Un = /* @__PURE__ */ new WeakMap(), ee = ne.createTreeWalker(ne, 129);
|
1740
1740
|
function Hs(s, e) {
|
1741
1741
|
if (!Array.isArray(s) || !s.hasOwnProperty("raw"))
|
1742
1742
|
throw Error("invalid template strings array");
|
1743
1743
|
return Pn !== void 0 ? Pn.createHTML(e) : e;
|
1744
1744
|
}
|
1745
|
-
const
|
1745
|
+
const Ur = (s, e) => {
|
1746
1746
|
const t = s.length - 1, n = [];
|
1747
1747
|
let i, r = e === 2 ? "<svg>" : "", o = be;
|
1748
1748
|
for (let a = 0; a < t; a++) {
|
@@ -1751,7 +1751,7 @@ const zr = (s, e) => {
|
|
1751
1751
|
for (; p < l.length && (o.lastIndex = p, h = o.exec(l), h !== null); )
|
1752
1752
|
p = o.lastIndex, o === be ? h[1] === "!--" ? o = Rn : h[1] !== void 0 ? o = In : h[2] !== void 0 ? (Ds.test(h[2]) && (i = RegExp("</" + h[2], "g")), o = J) : h[3] !== void 0 && (o = J) : o === J ? h[0] === ">" ? (o = i ?? be, u = -1) : h[1] === void 0 ? u = -2 : (u = o.lastIndex - h[2].length, c = h[1], o = h[3] === void 0 ? J : h[3] === '"' ? zn : Mn) : o === zn || o === Mn ? o = J : o === Rn || o === In ? o = be : (o = J, i = void 0);
|
1753
1753
|
const d = o === J && s[a + 1].startsWith("/>") ? " " : "";
|
1754
|
-
r += o === be ? l +
|
1754
|
+
r += o === be ? l + Ir : u >= 0 ? (n.push(c), l.slice(0, u) + zs + l.slice(u) + q + d) : l + q + (u === -2 ? a : d);
|
1755
1755
|
}
|
1756
1756
|
return [Hs(s, r + (s[t] || "<?>") + (e === 2 ? "</svg>" : "")), n];
|
1757
1757
|
};
|
@@ -1760,7 +1760,7 @@ class Ae {
|
|
1760
1760
|
let i;
|
1761
1761
|
this.parts = [];
|
1762
1762
|
let r = 0, o = 0;
|
1763
|
-
const a = e.length - 1, l = this.parts, [c, h] =
|
1763
|
+
const a = e.length - 1, l = this.parts, [c, h] = Ur(e, t);
|
1764
1764
|
if (this.el = Ae.createElement(c, n), ee.currentNode = this.el.content, t === 2) {
|
1765
1765
|
const u = this.el.content.firstChild;
|
1766
1766
|
u.replaceWith(...u.childNodes);
|
@@ -1771,7 +1771,7 @@ class Ae {
|
|
1771
1771
|
for (const u of i.getAttributeNames())
|
1772
1772
|
if (u.endsWith(zs)) {
|
1773
1773
|
const p = h[o++], d = i.getAttribute(u).split(q), b = /([.?@])?(.*)/.exec(p);
|
1774
|
-
l.push({ type: 1, index: r, name: b[2], strings: d, ctor: b[1] === "." ?
|
1774
|
+
l.push({ type: 1, index: r, name: b[2], strings: d, ctor: b[1] === "." ? Dr : b[1] === "?" ? Hr : b[1] === "@" ? Br : ct }), i.removeAttribute(u);
|
1775
1775
|
} else
|
1776
1776
|
u.startsWith(q) && (l.push({ type: 6, index: r }), i.removeAttribute(u));
|
1777
1777
|
if (Ds.test(i.tagName)) {
|
@@ -1807,7 +1807,7 @@ function me(s, e, t = s, n) {
|
|
1807
1807
|
const r = Ce(e) ? void 0 : e._$litDirective$;
|
1808
1808
|
return (i == null ? void 0 : i.constructor) !== r && ((a = i == null ? void 0 : i._$AO) == null || a.call(i, !1), r === void 0 ? i = void 0 : (i = new r(s), i._$AT(s, t, n)), n !== void 0 ? (t._$Co ?? (t._$Co = []))[n] = i : t._$Cl = i), i !== void 0 && (e = me(s, i._$AS(s, e.values), i, n)), e;
|
1809
1809
|
}
|
1810
|
-
class
|
1810
|
+
class jr {
|
1811
1811
|
constructor(e, t) {
|
1812
1812
|
this._$AV = [], this._$AN = void 0, this._$AD = e, this._$AM = t;
|
1813
1813
|
}
|
@@ -1824,7 +1824,7 @@ class Ur {
|
|
1824
1824
|
for (; l !== void 0; ) {
|
1825
1825
|
if (o === l.index) {
|
1826
1826
|
let c;
|
1827
|
-
l.type === 2 ? c = new Re(r, r.nextSibling, this, e) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, e) : l.type === 6 && (c = new
|
1827
|
+
l.type === 2 ? c = new Re(r, r.nextSibling, this, e) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, e) : l.type === 6 && (c = new Nr(r, this, e)), this._$AV.push(c), l = n[++a];
|
1828
1828
|
}
|
1829
1829
|
o !== (l == null ? void 0 : l.index) && (r = ee.nextNode(), o++);
|
1830
1830
|
}
|
@@ -1856,7 +1856,7 @@ class Re {
|
|
1856
1856
|
return this._$AB;
|
1857
1857
|
}
|
1858
1858
|
_$AI(e, t = this) {
|
1859
|
-
e = me(this, e, t), Ce(e) ? e === g || e == null || e === "" ? (this._$AH !== g && this._$AR(), this._$AH = g) : e !== this._$AH && e !== Q && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) :
|
1859
|
+
e = me(this, e, t), Ce(e) ? e === g || e == null || e === "" ? (this._$AH !== g && this._$AR(), this._$AH = g) : e !== this._$AH && e !== Q && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : Mr(e) ? this.k(e) : this._(e);
|
1860
1860
|
}
|
1861
1861
|
S(e) {
|
1862
1862
|
return this._$AA.parentNode.insertBefore(e, this._$AB);
|
@@ -1873,7 +1873,7 @@ class Re {
|
|
1873
1873
|
if (((r = this._$AH) == null ? void 0 : r._$AD) === i)
|
1874
1874
|
this._$AH.p(t);
|
1875
1875
|
else {
|
1876
|
-
const o = new
|
1876
|
+
const o = new jr(i, this), a = o.u(this.options);
|
1877
1877
|
o.p(t), this.T(a), this._$AH = o;
|
1878
1878
|
}
|
1879
1879
|
}
|
@@ -1928,7 +1928,7 @@ class ct {
|
|
1928
1928
|
e === g ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
|
1929
1929
|
}
|
1930
1930
|
}
|
1931
|
-
class
|
1931
|
+
class Dr extends ct {
|
1932
1932
|
constructor() {
|
1933
1933
|
super(...arguments), this.type = 3;
|
1934
1934
|
}
|
@@ -1936,7 +1936,7 @@ class jr extends ct {
|
|
1936
1936
|
this.element[this.name] = e === g ? void 0 : e;
|
1937
1937
|
}
|
1938
1938
|
}
|
1939
|
-
let
|
1939
|
+
let Hr = class extends ct {
|
1940
1940
|
constructor() {
|
1941
1941
|
super(...arguments), this.type = 4;
|
1942
1942
|
}
|
@@ -1944,7 +1944,7 @@ let Dr = class extends ct {
|
|
1944
1944
|
this.element.toggleAttribute(this.name, !!e && e !== g);
|
1945
1945
|
}
|
1946
1946
|
};
|
1947
|
-
class
|
1947
|
+
class Br extends ct {
|
1948
1948
|
constructor(e, t, n, i, r) {
|
1949
1949
|
super(e, t, n, i, r), this.type = 5;
|
1950
1950
|
}
|
@@ -1959,7 +1959,7 @@ class Hr extends ct {
|
|
1959
1959
|
typeof this._$AH == "function" ? this._$AH.call(((t = this.options) == null ? void 0 : t.host) ?? this.element, e) : this._$AH.handleEvent(e);
|
1960
1960
|
}
|
1961
1961
|
}
|
1962
|
-
class
|
1962
|
+
class Nr {
|
1963
1963
|
constructor(e, t, n) {
|
1964
1964
|
this.element = e, this.type = 6, this._$AN = void 0, this._$AM = t, this.options = n;
|
1965
1965
|
}
|
@@ -1972,7 +1972,7 @@ class Br {
|
|
1972
1972
|
}
|
1973
1973
|
const St = xe.litHtmlPolyfillSupport;
|
1974
1974
|
St == null || St(Ae, Re), (xe.litHtmlVersions ?? (xe.litHtmlVersions = [])).push("3.1.2");
|
1975
|
-
const
|
1975
|
+
const Fr = (s, e, t) => {
|
1976
1976
|
const n = (t == null ? void 0 : t.renderBefore) ?? e;
|
1977
1977
|
let i = n._$litPart$;
|
1978
1978
|
if (i === void 0) {
|
@@ -1997,7 +1997,7 @@ let k = class extends ae {
|
|
1997
1997
|
}
|
1998
1998
|
update(e) {
|
1999
1999
|
const t = this.render();
|
2000
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do =
|
2000
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = Fr(t, this.renderRoot, this.renderOptions);
|
2001
2001
|
}
|
2002
2002
|
connectedCallback() {
|
2003
2003
|
var e;
|
@@ -2016,7 +2016,7 @@ k._$litElement$ = !0, k.finalized = !0, (ps = globalThis.litElementHydrateSuppor
|
|
2016
2016
|
const Ct = globalThis.litElementPolyfillSupport;
|
2017
2017
|
Ct == null || Ct({ LitElement: k });
|
2018
2018
|
(globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.0.4");
|
2019
|
-
const
|
2019
|
+
const qr = { name: "alert", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 60C47.464 60 60 47.464 60 32C60 16.536 47.464 4 32 4C16.536 4 4 16.536 4 32C4.01731 47.4568 16.5432 59.9827 32 60ZM32 8.30769C45.0849 8.30769 55.6923 18.9151 55.6923 32C55.6923 45.0849 45.0849 55.6923 32 55.6923C18.9151 55.6923 8.30769 45.0849 8.30769 32C8.32247 18.9212 18.9212 8.32247 32 8.30769Z"/><path d="M29.3491 38.6031V20.6807C29.348 19.8662 29.4903 19.0598 29.7675 18.3096C29.9945 17.6371 30.3484 17.0302 30.804 16.5322C31.1251 16.1524 31.5593 15.9246 32.0204 15.894C32.6852 15.894 33.3496 16.471 34.0134 17.625C34.3738 18.1337 34.5955 18.7525 34.6509 19.4042V37.3267C34.6509 37.9947 34.2454 38.6329 33.4345 39.2414C32.6632 39.835 31.7547 40.1521 30.825 40.1523C29.8423 40.1524 29.3503 39.636 29.3491 38.6031Z"/><path d="M33.66 44.6959C33.9649 45.0866 34.161 45.551 34.2284 46.0419C34.2284 46.5397 33.8893 47.0083 33.2109 47.4476C32.5638 47.8771 31.8043 48.1062 31.0275 48.1061C30.1902 48.1061 29.7716 47.7271 29.7716 46.9693C29.7703 46.3788 29.8874 45.7941 30.116 45.2496C30.3064 44.7579 30.6022 44.3138 30.9826 43.9487C31.2626 43.6591 31.6427 43.4875 32.045 43.4692C32.5635 43.4692 33.1019 43.8781 33.66 44.6959Z"/></svg>' }, Zr = { name: "check-circle-filled", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 4C16.536 4 4 16.536 4 32C4 47.464 16.536 60 32 60C47.464 60 60 47.464 60 32C59.9829 16.5431 47.4569 4.01712 32 4ZM44.5613 24.5793L31.6382 43.9639C31.2806 44.5011 30.7008 44.8493 30.0586 44.9126C29.988 44.9197 29.9171 44.9232 29.8462 44.9231C29.275 44.9229 28.7272 44.696 28.3233 44.2921L19.7079 35.6767C19.1639 35.1326 18.9514 34.3396 19.1505 33.5964C19.3497 32.8533 19.9302 32.2728 20.6734 32.0736C21.4166 31.8745 22.2095 32.087 22.7536 32.631L29.5117 39.3881L40.9772 22.1899C41.4016 21.5439 42.1396 21.1749 42.9111 21.2229C43.6825 21.2709 44.3691 21.7286 44.7101 22.4223C45.0511 23.1159 44.9944 23.9391 44.5613 24.5793Z"/></svg>' }, Wr = { name: "check-circle", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M31.9998 4C16.5358 4 3.99976 16.536 3.99976 32C3.99976 47.464 16.5358 60 31.9998 60C47.4637 60 59.9998 47.464 59.9998 32C59.9826 16.5431 47.4566 4.01712 31.9998 4ZM31.9998 55.6923C18.9149 55.6923 8.30745 45.0849 8.30745 32C8.30745 18.9151 18.9149 8.30769 31.9998 8.30769C45.0847 8.30769 55.6921 18.9151 55.6921 32C55.6773 45.0788 45.0785 55.6775 31.9998 55.6923ZM44.5611 24.5793L31.638 43.9639C31.2804 44.5011 30.7005 44.8493 30.0584 44.9126C29.9878 44.9197 29.9169 44.9232 29.8459 44.9231C29.2747 44.9229 28.727 44.696 28.3231 44.2921L19.7077 35.6767C19.1636 35.1326 18.9512 34.3396 19.1503 33.5964C19.3494 32.8533 19.9299 32.2728 20.6731 32.0736C21.4163 31.8745 22.2093 32.087 22.7534 32.631L29.5115 39.3881L40.9769 22.1899C41.4013 21.5439 42.1394 21.1749 42.9108 21.2229C43.6823 21.2709 44.3688 21.7286 44.7099 22.4223C45.0509 23.1159 44.9941 23.9391 44.5611 24.5793Z"/></svg>' }, Yr = { 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>' }, Qr = { name: "close-circle", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 56C45.2548 56 56 45.2548 56 32C56 18.7452 45.2548 8 32 8C18.7452 8 8 18.7452 8 32C8 45.2548 18.7452 56 32 56ZM32 60C47.464 60 60 47.464 60 32C60 16.536 47.464 4 32 4C16.536 4 4 16.536 4 32C4 47.464 16.536 60 32 60Z"/><path d="M25.2772 22.695C24.5164 21.8942 23.2505 21.8617 22.4497 22.6225C21.6488 23.3833 21.6164 24.6492 22.3772 25.45L29.2411 32.6752L22.4773 39.795C21.7166 40.5958 21.749 41.8617 22.5498 42.6225C23.3507 43.3833 24.6166 43.3508 25.3773 42.55L31.9998 35.5791L38.6222 42.55C39.3829 43.3508 40.6488 43.3833 41.4497 42.6225C42.2505 41.8617 42.2829 40.5958 41.5222 39.795L34.7584 32.6752L41.6223 25.45C42.3831 24.6492 42.3507 23.3833 41.5498 22.6225C40.749 21.8617 39.4831 21.8942 38.7224 22.695L31.9998 29.7714L25.2772 22.695Z"/></svg>' }, jn = { name: "mute", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M51.4283 11.6761L53.1768 9.53891C53.9347 8.61282 53.7982 7.24774 52.8722 6.48993C51.9461 5.73211 50.581 5.86852 49.8232 6.79461L36.3333 23.2822V13.3972C36.3332 11.6447 35.2774 10.0648 33.6583 9.39418C32.0391 8.72356 30.1755 9.09425 28.9362 10.3334L18.1029 21.1668H14.6667C9.88247 21.1722 6.00547 25.0492 6 29.8334V34.1668C6.00547 38.951 9.88247 42.828 14.6667 42.8334H18.1029L19.3315 44.0621L10.8232 54.4613C10.0653 55.3874 10.2018 56.7525 11.1279 57.5103C12.0539 58.2681 13.419 58.1317 14.1768 57.2056L22.411 47.1416L28.9362 53.6668C30.1755 54.9059 32.0391 55.2766 33.6583 54.606C35.2774 53.9354 36.3332 52.3555 36.3333 50.603V30.1254L42.6092 22.4549C44.2201 25.3756 45.044 28.6649 45 32.0001C45.1184 36.1899 43.7698 40.2896 41.1872 43.5909C40.409 44.5001 40.5152 45.8679 41.4243 46.6461C42.3334 47.4243 43.7012 47.3183 44.4795 46.4093C47.7313 42.3208 49.4486 37.2227 49.3333 32.0001C49.403 27.3538 48.067 22.7949 45.5005 18.9211L48.6119 15.1182C52.019 20.0793 53.7867 25.9829 53.6667 32.0001C53.6667 39.0587 51.4873 45.6518 47.6872 50.0909C46.909 51.0001 47.0152 52.3679 47.9243 53.1461C48.8334 53.9243 50.2012 53.8183 50.9795 52.9093C55.4408 47.6968 58 40.0764 58 32.0001C58 24.21 55.6006 16.8662 51.4283 11.6761ZM19.8971 38.5H14.6667C12.2744 38.4977 10.3357 36.559 10.3333 34.1667V29.8334C10.3357 27.4411 12.2744 25.5024 14.6667 25.5H19.8971L32 13.3972V28.5784L22.089 40.6919L19.8971 38.5ZM31.9997 50.603L25.1682 43.7715L31.9997 35.4218V50.603Z"/></svg>' }, Kr = { 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>' }, Gr = { name: "send", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M8.41642 6.29292C5.99705 5.18016 3.38612 7.41823 4.12858 9.96847L10.5427 32L4.12858 54.0315C3.38612 56.5818 5.99704 58.8198 8.41642 57.7071L58.1942 34.8125C60.6019 33.7051 60.6019 30.2949 58.1942 29.1875L8.41642 6.29292ZM14.2569 29.9351L8.74174 10.9913L49.9295 29.9351H14.2569ZM14.2568 34.0651L8.74174 53.0087L49.9291 34.0651H14.2568Z"/></svg>' }, Dn = { name: "volume", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M33.6578 9.3322C32.0391 8.65799 30.1735 9.02919 28.9362 10.2717L18.1029 21.105H14.6667C9.88247 21.1105 6.00547 24.9875 6 29.7717V34.105C6.00547 38.8892 9.88247 42.7662 14.6667 42.7717H18.1029L28.9362 53.605C30.1755 54.8442 32.0391 55.2149 33.6583 54.5442C35.2774 53.8736 36.3332 52.2937 36.3333 50.5412V13.3355C36.3365 11.5817 35.2794 10.0001 33.6578 9.3322ZM32 50.5411L19.8971 38.4382H14.6667C12.2744 38.4358 10.3357 36.4971 10.3333 34.1049V29.7716C10.3357 27.3793 12.2744 25.4406 14.6667 25.4382H19.8971L32 13.3353V50.5411ZM49.3334 31.9383C49.4487 37.161 47.7314 42.2591 44.4796 46.3475C43.7013 47.2565 42.3335 47.3625 41.4244 46.5843C40.5153 45.8061 40.4092 44.4383 41.1873 43.5291C43.7699 40.2278 45.1185 36.1282 45.0001 31.9383C45.1185 27.7485 43.7699 23.6488 41.1873 20.3475C40.4092 19.4383 40.5153 18.0705 41.4244 17.2923C42.3335 16.5141 43.7013 16.6201 44.4796 17.5291C47.7314 21.6176 49.4487 26.7157 49.3334 31.9383ZM58.0001 31.9383C58.0001 40.0147 55.441 47.635 50.9796 52.8475C50.2013 53.7565 48.8335 53.8625 47.9244 53.0843C47.0153 52.3061 46.9092 50.9383 47.6873 50.0291C51.4874 45.59 53.6668 38.9969 53.6668 31.9383C53.6668 24.8797 51.4874 18.2866 47.6873 13.8475C46.9092 12.9383 47.0153 11.5705 47.9244 10.7923C48.8335 10.0141 50.2013 10.1201 50.9796 11.0291C55.441 16.2416 58.0001 23.862 58.0001 31.9383Z"/></svg>' }, le = {
|
2020
2020
|
allRenderFn: !1,
|
2021
2021
|
cmpDidLoad: !0,
|
2022
2022
|
cmpDidUnload: !1,
|
@@ -2110,7 +2110,7 @@ const ut = typeof window < "u" ? window : {}, j = ut.document || { head: {} }, F
|
|
2110
2110
|
ael: (s, e, t, n) => s.addEventListener(e, t, n),
|
2111
2111
|
rel: (s, e, t, n) => s.removeEventListener(e, t, n),
|
2112
2112
|
ce: (s, e) => new CustomEvent(s, e)
|
2113
|
-
},
|
2113
|
+
}, Xr = /* @__PURE__ */ (() => {
|
2114
2114
|
let s = !1;
|
2115
2115
|
try {
|
2116
2116
|
j.addEventListener("e", null, Object.defineProperty({}, "passive", {
|
@@ -2121,7 +2121,7 @@ const ut = typeof window < "u" ? window : {}, j = ut.document || { head: {} }, F
|
|
2121
2121
|
} catch {
|
2122
2122
|
}
|
2123
2123
|
return s;
|
2124
|
-
})(),
|
2124
|
+
})(), Jr = (s) => Promise.resolve(s), Vr = /* @__PURE__ */ (() => {
|
2125
2125
|
try {
|
2126
2126
|
return new CSSStyleSheet(), typeof new CSSStyleSheet().replace == "function";
|
2127
2127
|
} catch {
|
@@ -2129,23 +2129,23 @@ const ut = typeof window < "u" ? window : {}, j = ut.document || { head: {} }, F
|
|
2129
2129
|
return !1;
|
2130
2130
|
})(), qs = (s, e, t, n) => {
|
2131
2131
|
t && t.map(([i, r, o]) => {
|
2132
|
-
const a =
|
2132
|
+
const a = to(s, i), l = eo(e, o), c = no(i);
|
2133
2133
|
S.ael(a, r, l, c), (e.$rmListeners$ = e.$rmListeners$ || []).push(() => S.rel(a, r, l, c));
|
2134
2134
|
});
|
2135
|
-
},
|
2135
|
+
}, eo = (s, e) => (t) => {
|
2136
2136
|
try {
|
2137
2137
|
le.lazyLoad || s.$hostElement$[e](t);
|
2138
2138
|
} catch (n) {
|
2139
2139
|
Ie(n);
|
2140
2140
|
}
|
2141
|
-
},
|
2141
|
+
}, to = (s, e) => e & 4 ? j : e & 8 ? ut : e & 16 ? j.body : s, no = (s) => Xr ? {
|
2142
2142
|
passive: (s & 1) !== 0,
|
2143
2143
|
capture: (s & 2) !== 0
|
2144
2144
|
} : (s & 2) !== 0, Bn = "http://www.w3.org/1999/xlink", se = (s, e = "") => () => {
|
2145
|
-
}, Nn = /* @__PURE__ */ new WeakMap(),
|
2145
|
+
}, Nn = /* @__PURE__ */ new WeakMap(), so = (s, e, t) => {
|
2146
2146
|
let n = et.get(s);
|
2147
|
-
|
2148
|
-
},
|
2147
|
+
Vr && t ? (n = n || new CSSStyleSheet(), n.replace(e)) : n = e, et.set(s, n);
|
2148
|
+
}, io = (s, e, t, n) => {
|
2149
2149
|
let i = Zs(e, t), r = et.get(i);
|
2150
2150
|
if (s = s.nodeType === 11 ? s : j, r)
|
2151
2151
|
if (typeof r == "string") {
|
@@ -2155,10 +2155,10 @@ const ut = typeof window < "u" ? window : {}, j = ut.document || { head: {} }, F
|
|
2155
2155
|
} else
|
2156
2156
|
s.adoptedStyleSheets.includes(r) || (s.adoptedStyleSheets = [...s.adoptedStyleSheets, r]);
|
2157
2157
|
return i;
|
2158
|
-
},
|
2159
|
-
const e = s.$cmpMeta$, t = s.$hostElement$, n = e.$flags$, i = se("attachStyles", e.$tagName$), r =
|
2158
|
+
}, ro = (s) => {
|
2159
|
+
const e = s.$cmpMeta$, t = s.$hostElement$, n = e.$flags$, i = se("attachStyles", e.$tagName$), r = io(t.shadowRoot ? t.shadowRoot : t.getRootNode(), e, s.$modeName$);
|
2160
2160
|
n & 10 && (t["s-sc"] = r, t.classList.add(r + "-h"), n & 2 && t.classList.add(r + "-s")), i();
|
2161
|
-
}, Zs = (s, e) => "sc-" + (e && s.$flags$ & 32 ? s.$tagName$ + "-" + e : s.$tagName$),
|
2161
|
+
}, Zs = (s, e) => "sc-" + (e && s.$flags$ & 32 ? s.$tagName$ + "-" + e : s.$tagName$), oo = (s) => Mo.map((e) => e(s)).find((e) => !!e), Fn = {}, ao = "http://www.w3.org/2000/svg", lo = "http://www.w3.org/1999/xhtml", co = (s) => s != null, tn = (s) => (s = typeof s, s === "object" || s === "function"), de = (s, e, ...t) => {
|
2162
2162
|
let n = null, i = null, r = null, o = !1, a = !1, l = [];
|
2163
2163
|
const c = (u) => {
|
2164
2164
|
for (let p = 0; p < u.length; p++)
|
@@ -2172,7 +2172,7 @@ const ut = typeof window < "u" ? window : {}, j = ut.document || { head: {} }, F
|
|
2172
2172
|
}
|
2173
2173
|
}
|
2174
2174
|
if (typeof s == "function")
|
2175
|
-
return s(e === null ? {} : e, l,
|
2175
|
+
return s(e === null ? {} : e, l, uo);
|
2176
2176
|
const h = Je(s, null);
|
2177
2177
|
return h.$attrs$ = e, l.length > 0 && (h.$children$ = l), h.$key$ = i, h.$name$ = r, h;
|
2178
2178
|
}, Je = (s, e) => {
|
@@ -2184,9 +2184,9 @@ const ut = typeof window < "u" ? window : {}, j = ut.document || { head: {} }, F
|
|
2184
2184
|
$children$: null
|
2185
2185
|
};
|
2186
2186
|
return t.$attrs$ = null, t.$key$ = null, t.$name$ = null, t;
|
2187
|
-
}, nn = {},
|
2187
|
+
}, nn = {}, ho = (s) => s && s.$tag$ === nn, uo = {
|
2188
2188
|
forEach: (s, e) => s.map(qn).forEach(e),
|
2189
|
-
map: (s, e) => s.map(qn).map(e).map(
|
2189
|
+
map: (s, e) => s.map(qn).map(e).map(po)
|
2190
2190
|
}, qn = (s) => ({
|
2191
2191
|
vattrs: s.$attrs$,
|
2192
2192
|
vchildren: s.$children$,
|
@@ -2194,7 +2194,7 @@ const ut = typeof window < "u" ? window : {}, j = ut.document || { head: {} }, F
|
|
2194
2194
|
vname: s.$name$,
|
2195
2195
|
vtag: s.$tag$,
|
2196
2196
|
vtext: s.$text$
|
2197
|
-
}),
|
2197
|
+
}), po = (s) => {
|
2198
2198
|
if (typeof s.vtag == "function") {
|
2199
2199
|
const t = Object.assign({}, s.vattrs);
|
2200
2200
|
return s.vkey && (t.key = s.vkey), s.vname && (t.name = s.vname), de(s.vtag, t, ...s.vchildren || []);
|
@@ -2233,7 +2233,7 @@ const ut = typeof window < "u" ? window : {}, j = ut.document || { head: {} }, F
|
|
2233
2233
|
a !== (a = a.replace(/^xlink\:?/, "")) && (e = a, c = !0), n == null || n === !1 ? (n !== !1 || s.getAttribute(e) === "") && (c ? s.removeAttributeNS(Bn, e) : s.removeAttribute(e)) : (!o || r & 4 || i) && !l && (n = n === !0 ? "" : n, c ? s.setAttributeNS(Bn, e, n) : s.setAttribute(e, n));
|
2234
2234
|
}
|
2235
2235
|
}
|
2236
|
-
},
|
2236
|
+
}, fo = /\s/, Wn = (s) => s ? s.split(fo) : [], Ws = (s, e, t, n) => {
|
2237
2237
|
const i = e.$elm$.nodeType === 11 && e.$elm$.host ? e.$elm$.host : e.$elm$, r = s && s.$attrs$ || Fn, o = e.$attrs$ || Fn;
|
2238
2238
|
for (n in r)
|
2239
2239
|
n in o || Zn(i, n, r[n], void 0, t, e.$flags$);
|
@@ -2252,7 +2252,7 @@ const ut = typeof window < "u" ? window : {}, j = ut.document || { head: {} }, F
|
|
2252
2252
|
else if (i.$flags$ & 1)
|
2253
2253
|
o = i.$elm$ = j.createTextNode("");
|
2254
2254
|
else {
|
2255
|
-
if (T || (T = i.$tag$ === "svg"), o = i.$elm$ = j.createElementNS(T ?
|
2255
|
+
if (T || (T = i.$tag$ === "svg"), o = i.$elm$ = j.createElementNS(T ? ao : lo, i.$flags$ & 2 ? "slot-fb" : i.$tag$), T && i.$tag$ === "foreignObject" && (T = !1), Ws(null, i, T), co(ce) && o["s-si"] !== ce && o.classList.add(o["s-si"] = ce), i.$children$)
|
2256
2256
|
for (r = 0; r < i.$children$.length; ++r)
|
2257
2257
|
a = Ve(s, i, r, o), a && o.appendChild(a);
|
2258
2258
|
i.$tag$ === "svg" ? T = !1 : o.tagName === "foreignObject" && (T = !0);
|
@@ -2273,7 +2273,7 @@ const ut = typeof window < "u" ? window : {}, j = ut.document || { head: {} }, F
|
|
2273
2273
|
}, Qs = (s, e, t, n, i) => {
|
2274
2274
|
for (; e <= t; ++e)
|
2275
2275
|
(n = s[e]) && (i = n.$elm$, Js(n), Xe = !0, i["s-ol"] ? i["s-ol"].remove() : Ee(i, !0), i.remove());
|
2276
|
-
},
|
2276
|
+
}, go = (s, e, t, n) => {
|
2277
2277
|
let i = 0, r = 0, o = 0, a = 0, l = e.length - 1, c = e[0], h = e[l], u = n.length - 1, p = n[0], d = n[u], b, f;
|
2278
2278
|
for (; i <= l && r <= u; )
|
2279
2279
|
if (c == null)
|
@@ -2304,7 +2304,7 @@ const ut = typeof window < "u" ? window : {}, j = ut.document || { head: {} }, F
|
|
2304
2304
|
}, He = (s, e) => s.$tag$ === e.$tag$ ? s.$tag$ === "slot" ? s.$name$ === e.$name$ : s.$key$ === e.$key$ : !1, sn = (s) => s && s["s-ol"] || s, Ks = (s) => (s["s-ol"] ? s["s-ol"] : s).parentNode, he = (s, e) => {
|
2305
2305
|
const t = e.$elm$ = s.$elm$, n = s.$children$, i = e.$children$, r = e.$tag$, o = e.$text$;
|
2306
2306
|
let a;
|
2307
|
-
o === null ? (T = r === "svg" ? !0 : r === "foreignObject" ? !1 : T, r === "slot" || Ws(s, e, T), n !== null && i !== null ?
|
2307
|
+
o === null ? (T = r === "svg" ? !0 : r === "foreignObject" ? !1 : T, r === "slot" || Ws(s, e, T), n !== null && i !== null ? go(t, n, e, i) : i !== null ? (s.$text$ !== null && (t.textContent = ""), Ys(t, null, e, i, 0, i.length - 1)) : n !== null && Qs(n, 0, n.length - 1), T && r === "svg" && (T = !1)) : (a = t["s-cr"]) ? a.parentNode.textContent = o : s.$text$ !== o && (t.data = o);
|
2308
2308
|
}, Gs = (s) => {
|
2309
2309
|
let e = s.childNodes, t, n, i, r, o, a;
|
2310
2310
|
for (n = 0, i = e.length; n < i; n++)
|
@@ -2340,8 +2340,8 @@ const ut = typeof window < "u" ? window : {}, j = ut.document || { head: {} }, F
|
|
2340
2340
|
}
|
2341
2341
|
}, Yn = (s, e) => s.nodeType === 1 ? s.getAttribute("slot") === null && e === "" || s.getAttribute("slot") === e : s["s-sn"] === e ? !0 : e === "", Js = (s) => {
|
2342
2342
|
s.$attrs$ && s.$attrs$.ref && s.$attrs$.ref(null), s.$children$ && s.$children$.map(Js);
|
2343
|
-
},
|
2344
|
-
const t = s.$hostElement$, n = s.$cmpMeta$, i = s.$vnode$ || Je(null, null), r =
|
2343
|
+
}, mo = (s, e) => {
|
2344
|
+
const t = s.$hostElement$, n = s.$cmpMeta$, i = s.$vnode$ || Je(null, null), r = ho(e) ? e : de(null, null, e);
|
2345
2345
|
ht = t.tagName, n.$attrsToReflect$ && (r.$attrs$ = r.$attrs$ || {}, n.$attrsToReflect$.map(([o, a]) => r.$attrs$[a] = t[o])), r.$tag$ = null, r.$flags$ |= 4, s.$vnode$ = r, r.$elm$ = i.$elm$ = t.shadowRoot || t, ce = t["s-sc"], Bs = t["s-cr"], Ns = (n.$flags$ & 1) !== 0, Xe = !1, he(i, r);
|
2346
2346
|
{
|
2347
2347
|
if (S.$flags$ |= 1, en) {
|
@@ -2362,37 +2362,37 @@ const ut = typeof window < "u" ? window : {}, j = ut.document || { head: {} }, F
|
|
2362
2362
|
}
|
2363
2363
|
Xe && Gs(r.$elm$), S.$flags$ &= -2, O.length = 0;
|
2364
2364
|
}
|
2365
|
-
},
|
2366
|
-
const n =
|
2365
|
+
}, vo = (s) => s, bo = (s, e, t) => {
|
2366
|
+
const n = vo(s);
|
2367
2367
|
return {
|
2368
|
-
emit: (i) =>
|
2368
|
+
emit: (i) => yo(n, e, {
|
2369
2369
|
bubbles: !!(t & 4),
|
2370
2370
|
composed: !!(t & 2),
|
2371
2371
|
cancelable: !!(t & 1),
|
2372
2372
|
detail: i
|
2373
2373
|
})
|
2374
2374
|
};
|
2375
|
-
},
|
2375
|
+
}, yo = (s, e, t) => {
|
2376
2376
|
const n = S.ce(e, t);
|
2377
2377
|
return s.dispatchEvent(n), n;
|
2378
2378
|
}, $o = (s, e) => {
|
2379
|
-
}, Vs = (s, e) => (s.$flags$ |= 16, $o(s, s.$ancestorComponent$),
|
2379
|
+
}, Vs = (s, e) => (s.$flags$ |= 16, $o(s, s.$ancestorComponent$), jo(() => xo(s, e))), xo = (s, e) => {
|
2380
2380
|
const t = s.$hostElement$, n = se("scheduleUpdate", s.$cmpMeta$.$tagName$), i = t;
|
2381
2381
|
let r;
|
2382
|
-
return e ? r = fe(i, "componentWillLoad") : r = fe(i, "componentWillUpdate"), r = Qn(r, () => fe(i, "componentWillRender")), n(), Qn(r, () =>
|
2383
|
-
},
|
2382
|
+
return e ? r = fe(i, "componentWillLoad") : r = fe(i, "componentWillUpdate"), r = Qn(r, () => fe(i, "componentWillRender")), n(), Qn(r, () => wo(s, i, e));
|
2383
|
+
}, wo = async (s, e, t) => {
|
2384
2384
|
const n = s.$hostElement$, i = se("update", s.$cmpMeta$.$tagName$);
|
2385
|
-
n["s-rc"], t &&
|
2385
|
+
n["s-rc"], t && ro(s);
|
2386
2386
|
const r = se("render", s.$cmpMeta$.$tagName$);
|
2387
|
-
|
2388
|
-
},
|
2387
|
+
ko(s, e, n), r(), i(), _o(s);
|
2388
|
+
}, ko = (s, e, t) => {
|
2389
2389
|
try {
|
2390
|
-
Hn = e, e = e.render && e.render(), s.$flags$ &= -17, s.$flags$ |= 2, (le.hasRenderFn || le.reflect) && (le.vdomRender || le.reflect) && (le.hydrateServerSide ||
|
2390
|
+
Hn = e, e = e.render && e.render(), s.$flags$ &= -17, s.$flags$ |= 2, (le.hasRenderFn || le.reflect) && (le.vdomRender || le.reflect) && (le.hydrateServerSide || mo(s, e));
|
2391
2391
|
} catch (a) {
|
2392
2392
|
Ie(a, s.$hostElement$);
|
2393
2393
|
}
|
2394
2394
|
return Hn = null, null;
|
2395
|
-
},
|
2395
|
+
}, _o = (s) => {
|
2396
2396
|
const e = s.$cmpMeta$.$tagName$, t = s.$hostElement$, n = se("postUpdate", e), i = t;
|
2397
2397
|
s.$ancestorComponent$, fe(i, "componentDidRender"), s.$flags$ & 64 ? (fe(i, "componentDidUpdate"), n()) : (s.$flags$ |= 64, fe(i, "componentDidLoad"), n());
|
2398
2398
|
}, fe = (s, e, t) => {
|
@@ -2402,9 +2402,9 @@ const ut = typeof window < "u" ? window : {}, j = ut.document || { head: {} }, F
|
|
2402
2402
|
} catch (n) {
|
2403
2403
|
Ie(n);
|
2404
2404
|
}
|
2405
|
-
}, Qn = (s, e) => s && s.then ? s.then(e) : e(),
|
2405
|
+
}, Qn = (s, e) => s && s.then ? s.then(e) : e(), So = (s, e) => s != null && !tn(s) ? e & 4 ? s === "false" ? !1 : s === "" || !!s : e & 2 ? parseFloat(s) : e & 1 ? String(s) : s : s, Co = (s, e) => pt(s).$instanceValues$.get(e), Ao = (s, e, t, n) => {
|
2406
2406
|
const i = pt(s), r = s, o = i.$instanceValues$.get(e), a = i.$flags$, l = r;
|
2407
|
-
t =
|
2407
|
+
t = So(t, n.$members$[e][0]);
|
2408
2408
|
const c = Number.isNaN(o) && Number.isNaN(t);
|
2409
2409
|
if (t !== o && !c) {
|
2410
2410
|
i.$instanceValues$.set(e, t);
|
@@ -2426,17 +2426,17 @@ const ut = typeof window < "u" ? window : {}, j = ut.document || { head: {} }, F
|
|
2426
2426
|
}
|
2427
2427
|
}
|
2428
2428
|
}
|
2429
|
-
},
|
2429
|
+
}, Eo = (s, e, t) => {
|
2430
2430
|
if (e.$members$) {
|
2431
2431
|
s.watchers && (e.$watchers$ = s.watchers);
|
2432
2432
|
const n = Object.entries(e.$members$), i = s.prototype;
|
2433
2433
|
n.map(([r, [o]]) => {
|
2434
2434
|
(o & 31 || o & 32) && Object.defineProperty(i, r, {
|
2435
2435
|
get() {
|
2436
|
-
return
|
2436
|
+
return Co(this, r);
|
2437
2437
|
},
|
2438
2438
|
set(a) {
|
2439
|
-
|
2439
|
+
Ao(this, r, a, e);
|
2440
2440
|
},
|
2441
2441
|
configurable: !0,
|
2442
2442
|
enumerable: !0
|
@@ -2463,32 +2463,32 @@ const ut = typeof window < "u" ? window : {}, j = ut.document || { head: {} }, F
|
|
2463
2463
|
}
|
2464
2464
|
}
|
2465
2465
|
return s;
|
2466
|
-
},
|
2466
|
+
}, To = async (s, e, t, n, i) => {
|
2467
2467
|
if (!(e.$flags$ & 32) && (i = s.constructor, e.$flags$ |= 32, customElements.whenDefined(t.$tagName$).then(() => e.$flags$ |= 128), i.style)) {
|
2468
2468
|
let o = i.style;
|
2469
|
-
typeof o != "string" && (o = o[e.$modeName$ =
|
2469
|
+
typeof o != "string" && (o = o[e.$modeName$ = oo(s)]);
|
2470
2470
|
const a = Zs(t, e.$modeName$);
|
2471
2471
|
if (!et.has(a)) {
|
2472
2472
|
const l = se("registerStyles", t.$tagName$);
|
2473
|
-
|
2473
|
+
so(a, o, !!(t.$flags$ & 1)), l();
|
2474
2474
|
}
|
2475
2475
|
}
|
2476
2476
|
e.$ancestorComponent$, (() => Vs(e, !0))();
|
2477
|
-
}, To = (s) => {
|
2478
2477
|
}, Lo = (s) => {
|
2478
|
+
}, Oo = (s) => {
|
2479
2479
|
if (!(S.$flags$ & 1)) {
|
2480
2480
|
const e = pt(s), t = e.$cmpMeta$, n = se("connectedCallback", t.$tagName$);
|
2481
|
-
e.$flags$ & 1 ? (qs(s, e, t.$listeners$),
|
2481
|
+
e.$flags$ & 1 ? (qs(s, e, t.$listeners$), Lo(e.$lazyInstance$)) : (e.$flags$ |= 1, t.$flags$ & 12 && Po(s), t.$members$ && Object.entries(t.$members$).map(([i, [r]]) => {
|
2482
2482
|
if (r & 31 && s.hasOwnProperty(i)) {
|
2483
2483
|
const o = s[i];
|
2484
2484
|
delete s[i], s[i] = o;
|
2485
2485
|
}
|
2486
|
-
}),
|
2486
|
+
}), To(s, e, t)), n();
|
2487
2487
|
}
|
2488
|
-
},
|
2488
|
+
}, Po = (s) => {
|
2489
2489
|
const e = s["s-cr"] = j.createComment("");
|
2490
2490
|
e["s-cn"] = !0, s.insertBefore(e, s.firstChild);
|
2491
|
-
},
|
2491
|
+
}, Ro = (s) => {
|
2492
2492
|
if (!(S.$flags$ & 1)) {
|
2493
2493
|
const e = pt(s);
|
2494
2494
|
e.$rmListeners$ && (e.$rmListeners$.map((t) => t()), e.$rmListeners$ = void 0);
|
@@ -2502,13 +2502,13 @@ const ut = typeof window < "u" ? window : {}, j = ut.document || { head: {} }, F
|
|
2502
2502
|
const n = s.prototype.connectedCallback, i = s.prototype.disconnectedCallback;
|
2503
2503
|
return Object.assign(s.prototype, {
|
2504
2504
|
__registerHost() {
|
2505
|
-
|
2505
|
+
Io(this, t);
|
2506
2506
|
},
|
2507
2507
|
connectedCallback() {
|
2508
|
-
|
2508
|
+
Oo(this), n && n.call(this);
|
2509
2509
|
},
|
2510
2510
|
disconnectedCallback() {
|
2511
|
-
|
2511
|
+
Ro(this), i && i.call(this);
|
2512
2512
|
},
|
2513
2513
|
__attachShadow() {
|
2514
2514
|
this.attachShadow({
|
@@ -2516,8 +2516,8 @@ const ut = typeof window < "u" ? window : {}, j = ut.document || { head: {} }, F
|
|
2516
2516
|
delegatesFocus: !!(t.$flags$ & 16)
|
2517
2517
|
});
|
2518
2518
|
}
|
2519
|
-
}), s.is = t.$tagName$,
|
2520
|
-
}, ti = /* @__PURE__ */ new WeakMap(), pt = (s) => ti.get(s),
|
2519
|
+
}), s.is = t.$tagName$, Eo(s, t);
|
2520
|
+
}, ti = /* @__PURE__ */ new WeakMap(), pt = (s) => ti.get(s), Io = (s, e) => {
|
2521
2521
|
const t = {
|
2522
2522
|
$flags$: 0,
|
2523
2523
|
$hostElement$: s,
|
@@ -2525,8 +2525,8 @@ const ut = typeof window < "u" ? window : {}, j = ut.document || { head: {} }, F
|
|
2525
2525
|
$instanceValues$: /* @__PURE__ */ new Map()
|
2526
2526
|
};
|
2527
2527
|
return qs(s, t, e.$listeners$), ti.set(s, t);
|
2528
|
-
}, Kn = (s, e) => e in s, Ie = (s, e) => (0, console.error)(s, e), et = /* @__PURE__ */ new Map(),
|
2529
|
-
s.push(t), jt || (jt = !0, e && S.$flags$ & 4 ?
|
2528
|
+
}, Kn = (s, e) => e in s, Ie = (s, e) => (0, console.error)(s, e), et = /* @__PURE__ */ new Map(), Mo = [], Gn = [], ni = [], zo = (s, e) => (t) => {
|
2529
|
+
s.push(t), jt || (jt = !0, e && S.$flags$ & 4 ? Uo(Dt) : S.raf(Dt));
|
2530
2530
|
}, Xn = (s) => {
|
2531
2531
|
for (let e = 0; e < s.length; e++)
|
2532
2532
|
try {
|
@@ -2537,7 +2537,7 @@ const ut = typeof window < "u" ? window : {}, j = ut.document || { head: {} }, F
|
|
2537
2537
|
s.length = 0;
|
2538
2538
|
}, Dt = () => {
|
2539
2539
|
Xn(Gn), Xn(ni), (jt = Gn.length > 0) && S.raf(Dt);
|
2540
|
-
},
|
2540
|
+
}, Uo = (s) => Jr().then(s), jo = /* @__PURE__ */ zo(ni, !0), Do = (s = {}) => {
|
2541
2541
|
const { content: e = "", title: t, attributes: n = [] } = s;
|
2542
2542
|
let i = "", r = [
|
2543
2543
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
@@ -2545,27 +2545,27 @@ const ut = typeof window < "u" ? window : {}, j = ut.document || { head: {} }, F
|
|
2545
2545
|
...n
|
2546
2546
|
];
|
2547
2547
|
return t && (i = `<title>${t}</title>`), `<svg ${r.map((a) => `${a.name}="${a.value}"`).join(" ")}>${i}${e}</svg>`;
|
2548
|
-
},
|
2549
|
-
function
|
2548
|
+
}, Ho = (s) => s.replace(/<(\/?)svg([^>]*)>/g, "").trim();
|
2549
|
+
function Bo(s) {
|
2550
2550
|
return `${s.getFullYear()}.${s.getMonth() + 1}`;
|
2551
2551
|
}
|
2552
|
-
class
|
2552
|
+
class No {
|
2553
2553
|
constructor(e) {
|
2554
|
-
this.voca_component = e, this.voca_added =
|
2554
|
+
this.voca_component = e, this.voca_added = Bo(/* @__PURE__ */ new Date());
|
2555
2555
|
}
|
2556
2556
|
}
|
2557
|
-
const
|
2557
|
+
const Fo = "telia-vst{display:none}", qo = /* @__PURE__ */ ei(class extends Fs {
|
2558
2558
|
constructor() {
|
2559
|
-
super(), this.__registerHost(), this.vocaInternalUStats =
|
2559
|
+
super(), this.__registerHost(), this.vocaInternalUStats = bo(this, "vocaInternalUStats", 7);
|
2560
2560
|
}
|
2561
2561
|
connectedCallback() {
|
2562
|
-
this.vocaInternalUStats.emit(new
|
2562
|
+
this.vocaInternalUStats.emit(new No(this.dataTrackingId));
|
2563
2563
|
}
|
2564
2564
|
render() {
|
2565
2565
|
return de(nn, null);
|
2566
2566
|
}
|
2567
2567
|
static get style() {
|
2568
|
-
return
|
2568
|
+
return Fo;
|
2569
2569
|
}
|
2570
2570
|
}, [0, "telia-vst", {
|
2571
2571
|
dataTrackingId: [1, "data-tracking-id"]
|
@@ -2576,7 +2576,7 @@ function si() {
|
|
2576
2576
|
["telia-vst"].forEach((e) => {
|
2577
2577
|
switch (e) {
|
2578
2578
|
case "telia-vst":
|
2579
|
-
customElements.get(e) || customElements.define(e,
|
2579
|
+
customElements.get(e) || customElements.define(e, qo);
|
2580
2580
|
break;
|
2581
2581
|
}
|
2582
2582
|
});
|
@@ -2585,14 +2585,14 @@ si();
|
|
2585
2585
|
function Ht() {
|
2586
2586
|
return typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : { vocadsIcons: void 0, vocadsIconsRegistered: !1 };
|
2587
2587
|
}
|
2588
|
-
function
|
2588
|
+
function Zo() {
|
2589
2589
|
if (typeof Ht().vocadsIcons !== void 0)
|
2590
2590
|
return Ht().vocadsIcons;
|
2591
2591
|
}
|
2592
|
-
function
|
2592
|
+
function Wo() {
|
2593
2593
|
return Ht().vocadsIconsRegistered;
|
2594
2594
|
}
|
2595
|
-
const
|
2595
|
+
const Yo = ".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))}", Qo = /* @__PURE__ */ ei(class extends Fs {
|
2596
2596
|
constructor() {
|
2597
2597
|
super(), this.__registerHost(), this.size = "md", this.allyTitle = null, this.dataTrackingId = "telia-icon";
|
2598
2598
|
}
|
@@ -2604,8 +2604,8 @@ const Wo = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
|
|
2604
2604
|
getSvgString() {
|
2605
2605
|
if (this.svg)
|
2606
2606
|
return this.svg;
|
2607
|
-
if (
|
2608
|
-
const s =
|
2607
|
+
if (Wo() && this.name) {
|
2608
|
+
const s = Zo();
|
2609
2609
|
return s[this.name] ? s[this.name].svg : "";
|
2610
2610
|
}
|
2611
2611
|
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"), "";
|
@@ -2616,15 +2616,15 @@ const Wo = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
|
|
2616
2616
|
...e,
|
2617
2617
|
{ name: "aria-hidden", value: "true" }
|
2618
2618
|
];
|
2619
|
-
const t =
|
2620
|
-
content:
|
2619
|
+
const t = Do({
|
2620
|
+
content: Ho(s),
|
2621
2621
|
attributes: e,
|
2622
2622
|
title: this.allyTitle
|
2623
2623
|
});
|
2624
2624
|
return de(nn, { class: `telia-icon telia-icon--${this.size}` }, de("span", { "aria-label": this.allyTitle, class: "telia-icon__container", innerHTML: t }), de("telia-vst", { dataTrackingId: this.dataTrackingId }));
|
2625
2625
|
}
|
2626
2626
|
static get style() {
|
2627
|
-
return
|
2627
|
+
return Yo;
|
2628
2628
|
}
|
2629
2629
|
}, [0, "telia-icon", {
|
2630
2630
|
name: [1],
|
@@ -2633,13 +2633,13 @@ const Wo = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
|
|
2633
2633
|
allyTitle: [1, "ally-title"],
|
2634
2634
|
dataTestid: [1, "data-testid"]
|
2635
2635
|
}]);
|
2636
|
-
function
|
2636
|
+
function Ko() {
|
2637
2637
|
if (typeof customElements > "u")
|
2638
2638
|
return;
|
2639
2639
|
["telia-icon", "telia-vst"].forEach((e) => {
|
2640
2640
|
switch (e) {
|
2641
2641
|
case "telia-icon":
|
2642
|
-
customElements.get(e) || customElements.define(e,
|
2642
|
+
customElements.get(e) || customElements.define(e, Qo);
|
2643
2643
|
break;
|
2644
2644
|
case "telia-vst":
|
2645
2645
|
customElements.get(e) || si();
|
@@ -2647,13 +2647,13 @@ function Qo() {
|
|
2647
2647
|
}
|
2648
2648
|
});
|
2649
2649
|
}
|
2650
|
-
|
2650
|
+
Ko();
|
2651
2651
|
/**
|
2652
2652
|
* @license
|
2653
2653
|
* Copyright 2017 Google LLC
|
2654
2654
|
* SPDX-License-Identifier: BSD-3-Clause
|
2655
2655
|
*/
|
2656
|
-
const
|
2656
|
+
const Go = { attribute: !0, type: String, converter: Ke, reflect: !1, hasChanged: Vt }, Xo = (s = Go, e, t) => {
|
2657
2657
|
const { kind: n, metadata: i } = t;
|
2658
2658
|
let r = globalThis.litPropertyMetadata.get(i);
|
2659
2659
|
if (r === void 0 && globalThis.litPropertyMetadata.set(i, r = /* @__PURE__ */ new Map()), r.set(t.name, s), n === "accessor") {
|
@@ -2675,7 +2675,7 @@ const Ko = { attribute: !0, type: String, converter: Ke, reflect: !1, hasChanged
|
|
2675
2675
|
throw Error("Unsupported decorator location: " + n);
|
2676
2676
|
};
|
2677
2677
|
function w(s) {
|
2678
|
-
return (e, t) => typeof t == "object" ?
|
2678
|
+
return (e, t) => typeof t == "object" ? Xo(s, e, t) : ((n, i, r) => {
|
2679
2679
|
const o = i.hasOwnProperty(r);
|
2680
2680
|
return i.constructor.createProperty(r, o ? { ...n, wrapped: !0 } : n), o ? Object.getOwnPropertyDescriptor(i, r) : void 0;
|
2681
2681
|
})(s, e, t);
|
@@ -2693,7 +2693,7 @@ function E(s) {
|
|
2693
2693
|
* Copyright 2020 Google LLC
|
2694
2694
|
* SPDX-License-Identifier: BSD-3-Clause
|
2695
2695
|
*/
|
2696
|
-
const
|
2696
|
+
const Jo = (s) => s.strings === void 0;
|
2697
2697
|
/**
|
2698
2698
|
* @license
|
2699
2699
|
* Copyright 2017 Google LLC
|
@@ -2743,13 +2743,13 @@ const we = (s, e) => {
|
|
2743
2743
|
e._$AN = t = /* @__PURE__ */ new Set();
|
2744
2744
|
else if (t.has(s))
|
2745
2745
|
break;
|
2746
|
-
t.add(s),
|
2746
|
+
t.add(s), ta(e);
|
2747
2747
|
}
|
2748
2748
|
};
|
2749
|
-
function
|
2749
|
+
function Vo(s) {
|
2750
2750
|
this._$AN !== void 0 ? (tt(this), this._$AM = s, ii(this)) : this._$AM = s;
|
2751
2751
|
}
|
2752
|
-
function
|
2752
|
+
function ea(s, e = !1, t = 0) {
|
2753
2753
|
const n = this._$AH, i = this._$AN;
|
2754
2754
|
if (i !== void 0 && i.size !== 0)
|
2755
2755
|
if (e)
|
@@ -2761,8 +2761,8 @@ function Vo(s, e = !1, t = 0) {
|
|
2761
2761
|
else
|
2762
2762
|
we(this, s);
|
2763
2763
|
}
|
2764
|
-
const
|
2765
|
-
s.type == dt.CHILD && (s._$AP ?? (s._$AP =
|
2764
|
+
const ta = (s) => {
|
2765
|
+
s.type == dt.CHILD && (s._$AP ?? (s._$AP = ea), s._$AQ ?? (s._$AQ = Vo));
|
2766
2766
|
};
|
2767
2767
|
let ri = class extends rn {
|
2768
2768
|
constructor() {
|
@@ -2776,7 +2776,7 @@ let ri = class extends rn {
|
|
2776
2776
|
e !== this.isConnected && (this.isConnected = e, e ? (n = this.reconnected) == null || n.call(this) : (i = this.disconnected) == null || i.call(this)), t && (we(this, e), tt(this));
|
2777
2777
|
}
|
2778
2778
|
setValue(e) {
|
2779
|
-
if (
|
2779
|
+
if (Jo(this._$Ct))
|
2780
2780
|
this._$Ct._$AI(e, this);
|
2781
2781
|
else {
|
2782
2782
|
const t = [...this._$Ct._$AH];
|
@@ -2793,8 +2793,8 @@ let ri = class extends rn {
|
|
2793
2793
|
* Copyright 2020 Google LLC
|
2794
2794
|
* SPDX-License-Identifier: BSD-3-Clause
|
2795
2795
|
*/
|
2796
|
-
const B = () => new
|
2797
|
-
class
|
2796
|
+
const B = () => new na();
|
2797
|
+
class na {
|
2798
2798
|
}
|
2799
2799
|
const At = /* @__PURE__ */ new WeakMap(), N = ft(class extends ri {
|
2800
2800
|
render(s) {
|
@@ -2856,10 +2856,10 @@ const Te = ft(class extends rn {
|
|
2856
2856
|
return Q;
|
2857
2857
|
}
|
2858
2858
|
});
|
2859
|
-
var
|
2860
|
-
for (var i = n > 1 ? void 0 : n ?
|
2859
|
+
var sa = Object.defineProperty, ia = Object.getOwnPropertyDescriptor, ra = (s, e, t, n) => {
|
2860
|
+
for (var i = n > 1 ? void 0 : n ? ia(e, t) : e, r = s.length - 1, o; r >= 0; r--)
|
2861
2861
|
(o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
|
2862
|
-
return n && i &&
|
2862
|
+
return n && i && sa(e, t, i), i;
|
2863
2863
|
};
|
2864
2864
|
class on extends k {
|
2865
2865
|
constructor() {
|
@@ -2892,12 +2892,12 @@ on.styles = [
|
|
2892
2892
|
}
|
2893
2893
|
`
|
2894
2894
|
];
|
2895
|
-
|
2895
|
+
ra([
|
2896
2896
|
w({ attribute: !0 })
|
2897
2897
|
], on.prototype, "anchor", 2);
|
2898
|
-
const
|
2898
|
+
const oa = /* @__PURE__ */ new WeakMap();
|
2899
2899
|
let Jn = 0;
|
2900
|
-
const Et = /* @__PURE__ */ new Map(), Vn = /* @__PURE__ */ new WeakSet(), es = () => new Promise((s) => requestAnimationFrame(s)),
|
2900
|
+
const Et = /* @__PURE__ */ new Map(), Vn = /* @__PURE__ */ new WeakSet(), es = () => new Promise((s) => requestAnimationFrame(s)), aa = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], la = [{ opacity: 0 }], ts = [{ opacity: 0 }, { opacity: 1 }], ns = (s, e) => {
|
2901
2901
|
const t = s - e;
|
2902
2902
|
return t === 0 ? void 0 : t;
|
2903
2903
|
}, ss = (s, e) => {
|
@@ -2919,8 +2919,8 @@ const Et = /* @__PURE__ */ new Map(), Vn = /* @__PURE__ */ new WeakSet(), es = (
|
|
2919
2919
|
e === 0 && (e = 1, t = { height: "1px" });
|
2920
2920
|
const n = ss(s, e);
|
2921
2921
|
return { value: n, overrideFrom: t, transform: n == null || isNaN(n) ? void 0 : `scaleY(${n})` };
|
2922
|
-
} },
|
2923
|
-
class
|
2922
|
+
} }, ca = { duration: 333, easing: "ease-in-out" }, ha = ["left", "top", "width", "height", "opacity", "color", "background"], is = /* @__PURE__ */ new WeakMap();
|
2923
|
+
class ua extends ri {
|
2924
2924
|
constructor(e) {
|
2925
2925
|
if (super(e), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, e.type === dt.CHILD)
|
2926
2926
|
throw Error("The `animate` directive must be used in attribute position.");
|
@@ -2940,7 +2940,7 @@ class ha extends ri {
|
|
2940
2940
|
return g;
|
2941
2941
|
}
|
2942
2942
|
getController() {
|
2943
|
-
return
|
2943
|
+
return oa.get(this.u);
|
2944
2944
|
}
|
2945
2945
|
isDisabled() {
|
2946
2946
|
var e;
|
@@ -2954,7 +2954,7 @@ class ha extends ri {
|
|
2954
2954
|
p(e) {
|
2955
2955
|
e = e ?? {};
|
2956
2956
|
const t = this.getController();
|
2957
|
-
t !== void 0 && ((e = { ...t.defaultOptions, ...e }).keyframeOptions = { ...t.defaultOptions.keyframeOptions, ...e.keyframeOptions }), e.properties ?? (e.properties =
|
2957
|
+
t !== void 0 && ((e = { ...t.defaultOptions, ...e }).keyframeOptions = { ...t.defaultOptions.keyframeOptions, ...e.keyframeOptions }), e.properties ?? (e.properties = ha), this.options = e;
|
2958
2958
|
}
|
2959
2959
|
m() {
|
2960
2960
|
const e = {}, t = this.element.getBoundingClientRect(), n = getComputedStyle(this.element);
|
@@ -3048,7 +3048,7 @@ class ha extends ri {
|
|
3048
3048
|
}), e;
|
3049
3049
|
}
|
3050
3050
|
j(e, t = this.O()) {
|
3051
|
-
const n = { ...
|
3051
|
+
const n = { ...ca };
|
3052
3052
|
return t.forEach((i) => Object.assign(n, i.options.keyframeOptions)), Object.assign(n, e), n;
|
3053
3053
|
}
|
3054
3054
|
N(e, t, n) {
|
@@ -3099,7 +3099,7 @@ class ha extends ri {
|
|
3099
3099
|
this.shouldLog && !this.isDisabled() && console.log(e, this.options.id, t);
|
3100
3100
|
}
|
3101
3101
|
}
|
3102
|
-
const Bt = ft(
|
3102
|
+
const Bt = ft(ua), Be = (s, e, t) => {
|
3103
3103
|
s && t.style.setProperty(e, s);
|
3104
3104
|
}, oi = (s, e) => {
|
3105
3105
|
var t, n, i, r;
|
@@ -3117,10 +3117,10 @@ const Bt = ft(ha), Be = (s, e, t) => {
|
|
3117
3117
|
e
|
3118
3118
|
);
|
3119
3119
|
};
|
3120
|
-
var
|
3121
|
-
for (var i = n > 1 ? void 0 : n ?
|
3120
|
+
var pa = Object.defineProperty, da = Object.getOwnPropertyDescriptor, gt = (s, e, t, n) => {
|
3121
|
+
for (var i = n > 1 ? void 0 : n ? da(e, t) : e, r = s.length - 1, o; r >= 0; r--)
|
3122
3122
|
(o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
|
3123
|
-
return n && i &&
|
3123
|
+
return n && i && pa(e, t, i), i;
|
3124
3124
|
};
|
3125
3125
|
class re extends k {
|
3126
3126
|
constructor() {
|
@@ -3154,7 +3154,7 @@ class re extends k {
|
|
3154
3154
|
const n = (c = this.application) == null ? void 0 : c.triggerIcon;
|
3155
3155
|
if (!n)
|
3156
3156
|
return g;
|
3157
|
-
const i = async (h) =>
|
3157
|
+
const i = async (h) => Kr, { type: r, content: o } = n;
|
3158
3158
|
switch (r) {
|
3159
3159
|
case "Telia": {
|
3160
3160
|
const h = await i();
|
@@ -3178,7 +3178,7 @@ class re extends k {
|
|
3178
3178
|
@click=${this.toggleActive}
|
3179
3179
|
${Bt({
|
3180
3180
|
keyframeOptions: {},
|
3181
|
-
in:
|
3181
|
+
in: aa,
|
3182
3182
|
stabilizeOut: !0,
|
3183
3183
|
skipInitial: !1
|
3184
3184
|
})}
|
@@ -3349,10 +3349,10 @@ gt([
|
|
3349
3349
|
gt([
|
3350
3350
|
E()
|
3351
3351
|
], re.prototype, "icon", 2);
|
3352
|
-
var
|
3353
|
-
for (var i = n > 1 ? void 0 : n ?
|
3352
|
+
var fa = Object.defineProperty, ga = Object.getOwnPropertyDescriptor, V = (s, e, t, n) => {
|
3353
|
+
for (var i = n > 1 ? void 0 : n ? ga(e, t) : e, r = s.length - 1, o; r >= 0; r--)
|
3354
3354
|
(o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
|
3355
|
-
return n && i &&
|
3355
|
+
return n && i && fa(e, t, i), i;
|
3356
3356
|
};
|
3357
3357
|
const ai = (s) => {
|
3358
3358
|
class e extends s {
|
@@ -3426,7 +3426,7 @@ li.styles = [
|
|
3426
3426
|
* Copyright 2021 Google LLC
|
3427
3427
|
* SPDX-License-Identifier: BSD-3-Clause
|
3428
3428
|
*/
|
3429
|
-
function*
|
3429
|
+
function* ma(s, e) {
|
3430
3430
|
if (s !== void 0) {
|
3431
3431
|
let t = 0;
|
3432
3432
|
for (const n of s)
|
@@ -3439,7 +3439,7 @@ var an = /* @__PURE__ */ ((s) => (s.Inline = "inline", s.Trigger = "trigger", s)
|
|
3439
3439
|
* Copyright 2021 Google LLC
|
3440
3440
|
* SPDX-License-Identifier: BSD-3-Clause
|
3441
3441
|
*/
|
3442
|
-
let
|
3442
|
+
let va = class extends Event {
|
3443
3443
|
constructor(e, t, n) {
|
3444
3444
|
super("context-request", { bubbles: !0, composed: !0 }), this.context = e, this.callback = t, this.subscribe = n ?? !1;
|
3445
3445
|
}
|
@@ -3454,7 +3454,7 @@ let ma = class extends Event {
|
|
3454
3454
|
* Copyright 2021 Google LLC
|
3455
3455
|
* SPDX-License-Identifier: BSD-3-Clause
|
3456
3456
|
*/
|
3457
|
-
class
|
3457
|
+
class ba {
|
3458
3458
|
get value() {
|
3459
3459
|
return this.o;
|
3460
3460
|
}
|
@@ -3489,12 +3489,12 @@ class va {
|
|
3489
3489
|
* Copyright 2021 Google LLC
|
3490
3490
|
* SPDX-License-Identifier: BSD-3-Clause
|
3491
3491
|
*/
|
3492
|
-
let
|
3492
|
+
let ya = class extends Event {
|
3493
3493
|
constructor(e) {
|
3494
3494
|
super("context-provider", { bubbles: !0, composed: !0 }), this.context = e;
|
3495
3495
|
}
|
3496
3496
|
};
|
3497
|
-
class rs extends
|
3497
|
+
class rs extends ba {
|
3498
3498
|
constructor(e, t, n) {
|
3499
3499
|
var i, r;
|
3500
3500
|
super(t.context !== void 0 ? t.initialValue : n), this.onContextRequest = (o) => {
|
@@ -3506,7 +3506,7 @@ class rs extends va {
|
|
3506
3506
|
return;
|
3507
3507
|
const l = /* @__PURE__ */ new Set();
|
3508
3508
|
for (const [c, { consumerHost: h }] of this.subscriptions)
|
3509
|
-
l.has(c) || (l.add(c), h.dispatchEvent(new
|
3509
|
+
l.has(c) || (l.add(c), h.dispatchEvent(new va(this.context, c, !0)));
|
3510
3510
|
o.stopPropagation();
|
3511
3511
|
}, this.host = e, t.context !== void 0 ? this.context = t.context : this.context = t, this.attachListeners(), (r = (i = this.host).addController) == null || r.call(i, this);
|
3512
3512
|
}
|
@@ -3514,7 +3514,7 @@ class rs extends va {
|
|
3514
3514
|
this.host.addEventListener("context-request", this.onContextRequest), this.host.addEventListener("context-provider", this.onProviderRequest);
|
3515
3515
|
}
|
3516
3516
|
hostConnected() {
|
3517
|
-
this.host.dispatchEvent(new
|
3517
|
+
this.host.dispatchEvent(new ya(this.context));
|
3518
3518
|
}
|
3519
3519
|
}
|
3520
3520
|
/**
|
@@ -3560,12 +3560,12 @@ function $a({ context: s }) {
|
|
3560
3560
|
}
|
3561
3561
|
};
|
3562
3562
|
}
|
3563
|
-
var
|
3564
|
-
for (var i = n > 1 ? void 0 : n ?
|
3563
|
+
var xa = Object.defineProperty, wa = Object.getOwnPropertyDescriptor, ka = (s, e, t, n) => {
|
3564
|
+
for (var i = n > 1 ? void 0 : n ? wa(e, t) : e, r = s.length - 1, o; r >= 0; r--)
|
3565
3565
|
(o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
|
3566
|
-
return n && i &&
|
3566
|
+
return n && i && xa(e, t, i), i;
|
3567
3567
|
};
|
3568
|
-
const
|
3568
|
+
const _a = "application";
|
3569
3569
|
class ln extends k {
|
3570
3570
|
constructor() {
|
3571
3571
|
super(...arguments), this.nodes = [], this.wrapperRef = B();
|
@@ -3592,7 +3592,7 @@ class ln extends k {
|
|
3592
3592
|
}
|
3593
3593
|
render() {
|
3594
3594
|
return this.application.renderStrategy === an.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")), m`<div class="widget-container" ${N(this.wrapperRef)}>
|
3595
|
-
${
|
3595
|
+
${ma(this.nodes, (e) => e)}
|
3596
3596
|
</div>`;
|
3597
3597
|
}
|
3598
3598
|
}
|
@@ -3707,14 +3707,14 @@ ln.styles = A`
|
|
3707
3707
|
pointer-events: none;
|
3708
3708
|
}
|
3709
3709
|
`;
|
3710
|
-
|
3710
|
+
ka([
|
3711
3711
|
w({ attribute: !1 }),
|
3712
|
-
$a({ context:
|
3712
|
+
$a({ context: _a })
|
3713
3713
|
], ln.prototype, "application", 2);
|
3714
|
-
var
|
3715
|
-
for (var i = n > 1 ? void 0 : n ?
|
3714
|
+
var ci = /* @__PURE__ */ ((s) => (s.Mandatory = "mandatory", s.Preferences = "preferences", s.Analytics = "analytics", s))(ci || {}), Sa = Object.defineProperty, Ca = Object.getOwnPropertyDescriptor, cn = (s, e, t, n) => {
|
3715
|
+
for (var i = n > 1 ? void 0 : n ? Ca(e, t) : e, r = s.length - 1, o; r >= 0; r--)
|
3716
3716
|
(o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
|
3717
|
-
return n && i &&
|
3717
|
+
return n && i && Sa(e, t, i), i;
|
3718
3718
|
};
|
3719
3719
|
class Me extends k {
|
3720
3720
|
constructor() {
|
@@ -3769,7 +3769,7 @@ customElements.get("ace-trigger") || customElements.define("ace-trigger", re);
|
|
3769
3769
|
customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", li);
|
3770
3770
|
customElements.get("ace-wrapper") || customElements.define("ace-wrapper", ln);
|
3771
3771
|
customElements.get("ace-widget") || customElements.define("ace-widget", Me);
|
3772
|
-
class
|
3772
|
+
class Aa {
|
3773
3773
|
constructor(e) {
|
3774
3774
|
this._message = null, this._host = e, e.addController(this);
|
3775
3775
|
}
|
@@ -3841,7 +3841,7 @@ class os {
|
|
3841
3841
|
return this.component.platform.registeredProviders.get(e);
|
3842
3842
|
}
|
3843
3843
|
}
|
3844
|
-
class
|
3844
|
+
class Ea {
|
3845
3845
|
constructor(e) {
|
3846
3846
|
this.component = e, this.currentSession$ = new M(null), this.sessions = [], this.storage = null, Qe(e, "handover").subscribe((t) => {
|
3847
3847
|
const n = this._createNewSession(
|
@@ -3920,7 +3920,7 @@ class Aa {
|
|
3920
3920
|
const t = {
|
3921
3921
|
sessions: e.sessions.map((n) => n.toStore())
|
3922
3922
|
};
|
3923
|
-
this.storage.set("conversation",
|
3923
|
+
this.storage.set("conversation", t, ci.Mandatory);
|
3924
3924
|
}
|
3925
3925
|
_createNewSession(e, t = {}) {
|
3926
3926
|
const n = this._getStoredSessions(), i = new os(
|
@@ -3939,9 +3939,9 @@ class Aa {
|
|
3939
3939
|
return this.component.properties.providers[0];
|
3940
3940
|
}
|
3941
3941
|
}
|
3942
|
-
class
|
3942
|
+
class Ta {
|
3943
3943
|
constructor(e, t) {
|
3944
|
-
this.state$ = e, this.component = t, this.entries$ = new M([]), this.session = () => this.session$, this.isTyping = () => this.isTyping$, this.entries = () => this.entries$.asObservable(), this.sessionService = new
|
3944
|
+
this.state$ = e, this.component = t, this.entries$ = new M([]), this.session = () => this.session$, this.isTyping = () => this.isTyping$, this.entries = () => this.entries$.asObservable(), this.sessionService = new Ea(this.component), this.session$ = this.sessionService.currentSession(), this.isTyping$ = this.session$.pipe(
|
3945
3945
|
pe((n) => n ? n.provider$.pipe(
|
3946
3946
|
pe((i) => i ? i.isTyping() : It(!1))
|
3947
3947
|
) : It(!1))
|
@@ -3979,7 +3979,7 @@ class Ea {
|
|
3979
3979
|
return [...r, ...o];
|
3980
3980
|
})
|
3981
3981
|
);
|
3982
|
-
return
|
3982
|
+
return xr(t, n);
|
3983
3983
|
})
|
3984
3984
|
).subscribe((e) => {
|
3985
3985
|
this.entries$.next(e);
|
@@ -3990,10 +3990,10 @@ class Ea {
|
|
3990
3990
|
(e = this.sessionService) == null || e.startSession();
|
3991
3991
|
}
|
3992
3992
|
}
|
3993
|
-
var
|
3994
|
-
for (var i = n > 1 ? void 0 : n ?
|
3993
|
+
var La = Object.defineProperty, Oa = Object.getOwnPropertyDescriptor, Pa = (s, e, t, n) => {
|
3994
|
+
for (var i = n > 1 ? void 0 : n ? Oa(e, t) : e, r = s.length - 1, o; r >= 0; r--)
|
3995
3995
|
(o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
|
3996
|
-
return n && i &&
|
3996
|
+
return n && i && La(e, t, i), i;
|
3997
3997
|
};
|
3998
3998
|
class hn extends k {
|
3999
3999
|
connectedCallback() {
|
@@ -4017,13 +4017,13 @@ class hn extends k {
|
|
4017
4017
|
}
|
4018
4018
|
_renderDeliveryStatus(e) {
|
4019
4019
|
return e === "delivered" ? m`<telia-icon
|
4020
|
-
svg=${
|
4020
|
+
svg=${Zr.svg}
|
4021
4021
|
size="sm"
|
4022
4022
|
></telia-icon>` : e === "failed" ? m`<telia-icon
|
4023
|
-
svg=${
|
4023
|
+
svg=${qr.svg}
|
4024
4024
|
size="sm"
|
4025
4025
|
title="Message could not be delivered"
|
4026
|
-
></telia-icon>` : m`<telia-icon svg=${
|
4026
|
+
></telia-icon>` : m`<telia-icon svg=${Wr.svg} size="sm"></telia-icon>`;
|
4027
4027
|
}
|
4028
4028
|
_dispatchEntryAction(e) {
|
4029
4029
|
this.entry.actions$.next(e.detail);
|
@@ -4227,13 +4227,13 @@ hn.styles = [
|
|
4227
4227
|
}
|
4228
4228
|
`
|
4229
4229
|
];
|
4230
|
-
|
4230
|
+
Pa([
|
4231
4231
|
w({ attribute: !1 })
|
4232
4232
|
], hn.prototype, "entry", 2);
|
4233
|
-
var
|
4234
|
-
for (var i = n > 1 ? void 0 : n ?
|
4233
|
+
var Ra = Object.defineProperty, Ia = Object.getOwnPropertyDescriptor, hi = (s, e, t, n) => {
|
4234
|
+
for (var i = n > 1 ? void 0 : n ? Ia(e, t) : e, r = s.length - 1, o; r >= 0; r--)
|
4235
4235
|
(o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
|
4236
|
-
return n && i &&
|
4236
|
+
return n && i && Ra(e, t, i), i;
|
4237
4237
|
};
|
4238
4238
|
class mt extends k {
|
4239
4239
|
constructor() {
|
@@ -4263,7 +4263,7 @@ class mt extends k {
|
|
4263
4263
|
${Bt({
|
4264
4264
|
keyframeOptions: {},
|
4265
4265
|
in: ts,
|
4266
|
-
out:
|
4266
|
+
out: la,
|
4267
4267
|
stabilizeOut: !0,
|
4268
4268
|
skipInitial: !1
|
4269
4269
|
})}
|
@@ -4285,10 +4285,10 @@ mt.styles = [
|
|
4285
4285
|
}
|
4286
4286
|
`
|
4287
4287
|
];
|
4288
|
-
|
4288
|
+
hi([
|
4289
4289
|
w({ attribute: !1 })
|
4290
4290
|
], mt.prototype, "entries", 2);
|
4291
|
-
|
4291
|
+
hi([
|
4292
4292
|
w({ type: Boolean })
|
4293
4293
|
], mt.prototype, "loading", 2);
|
4294
4294
|
/**
|
@@ -4296,16 +4296,16 @@ ci([
|
|
4296
4296
|
* Copyright 2021 Google LLC
|
4297
4297
|
* SPDX-License-Identifier: BSD-3-Clause
|
4298
4298
|
*/
|
4299
|
-
const
|
4299
|
+
const Ma = (s, e, t) => {
|
4300
4300
|
for (const n of e)
|
4301
4301
|
if (n[0] === s)
|
4302
4302
|
return (0, n[1])();
|
4303
4303
|
return t == null ? void 0 : t();
|
4304
4304
|
};
|
4305
|
-
var
|
4306
|
-
for (var i = n > 1 ? void 0 : n ?
|
4305
|
+
var za = Object.defineProperty, Ua = Object.getOwnPropertyDescriptor, ja = (s, e, t, n) => {
|
4306
|
+
for (var i = n > 1 ? void 0 : n ? Ua(e, t) : e, r = s.length - 1, o; r >= 0; r--)
|
4307
4307
|
(o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
|
4308
|
-
return n && i &&
|
4308
|
+
return n && i && za(e, t, i), i;
|
4309
4309
|
};
|
4310
4310
|
class un extends k {
|
4311
4311
|
render() {
|
@@ -4313,7 +4313,7 @@ class un extends k {
|
|
4313
4313
|
<div class="message-group">
|
4314
4314
|
${this.group.items.map(
|
4315
4315
|
([e, t, n]) => m`
|
4316
|
-
${
|
4316
|
+
${Ma(
|
4317
4317
|
e,
|
4318
4318
|
[
|
4319
4319
|
["html", () => m`<message-type-html .message=${t} />`],
|
@@ -4352,10 +4352,10 @@ un.styles = [
|
|
4352
4352
|
}
|
4353
4353
|
`
|
4354
4354
|
];
|
4355
|
-
|
4355
|
+
ja([
|
4356
4356
|
w({ attribute: !1 })
|
4357
4357
|
], un.prototype, "group", 2);
|
4358
|
-
class
|
4358
|
+
class ui extends k {
|
4359
4359
|
render() {
|
4360
4360
|
return m`<div class="container">
|
4361
4361
|
<div class="dot"></div>
|
@@ -4364,7 +4364,7 @@ class hi extends k {
|
|
4364
4364
|
</div>`;
|
4365
4365
|
}
|
4366
4366
|
}
|
4367
|
-
|
4367
|
+
ui.styles = [
|
4368
4368
|
A`
|
4369
4369
|
:host {
|
4370
4370
|
display: block;
|
@@ -4426,16 +4426,16 @@ class Nt extends rn {
|
|
4426
4426
|
}
|
4427
4427
|
}
|
4428
4428
|
Nt.directiveName = "unsafeHTML", Nt.resultType = 1;
|
4429
|
-
const
|
4430
|
-
var
|
4431
|
-
for (var i = n > 1 ? void 0 : n ?
|
4429
|
+
const Da = ft(Nt);
|
4430
|
+
var Ha = Object.defineProperty, Ba = Object.getOwnPropertyDescriptor, Na = (s, e, t, n) => {
|
4431
|
+
for (var i = n > 1 ? void 0 : n ? Ba(e, t) : e, r = s.length - 1, o; r >= 0; r--)
|
4432
4432
|
(o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
|
4433
|
-
return n && i &&
|
4433
|
+
return n && i && Ha(e, t, i), i;
|
4434
4434
|
};
|
4435
4435
|
class pn extends k {
|
4436
4436
|
render() {
|
4437
4437
|
return m`<div class="message-type-html">
|
4438
|
-
${
|
4438
|
+
${Da(this.message.content)}
|
4439
4439
|
</div>`;
|
4440
4440
|
}
|
4441
4441
|
}
|
@@ -4463,7 +4463,7 @@ pn.styles = [
|
|
4463
4463
|
}
|
4464
4464
|
`
|
4465
4465
|
];
|
4466
|
-
|
4466
|
+
Na([
|
4467
4467
|
w({ attribute: !1 })
|
4468
4468
|
], pn.prototype, "message", 2);
|
4469
4469
|
function dn() {
|
@@ -4481,36 +4481,36 @@ function dn() {
|
|
4481
4481
|
};
|
4482
4482
|
}
|
4483
4483
|
let oe = dn();
|
4484
|
-
function
|
4484
|
+
function pi(s) {
|
4485
4485
|
oe = s;
|
4486
4486
|
}
|
4487
|
-
const
|
4487
|
+
const di = /[&<>"']/, Fa = new RegExp(di.source, "g"), fi = /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, qa = new RegExp(fi.source, "g"), Za = {
|
4488
4488
|
"&": "&",
|
4489
4489
|
"<": "<",
|
4490
4490
|
">": ">",
|
4491
4491
|
'"': """,
|
4492
4492
|
"'": "'"
|
4493
|
-
}, as = (s) =>
|
4493
|
+
}, as = (s) => Za[s];
|
4494
4494
|
function L(s, e) {
|
4495
4495
|
if (e) {
|
4496
|
-
if (
|
4497
|
-
return s.replace(
|
4498
|
-
} else if (
|
4499
|
-
return s.replace(
|
4496
|
+
if (di.test(s))
|
4497
|
+
return s.replace(Fa, as);
|
4498
|
+
} else if (fi.test(s))
|
4499
|
+
return s.replace(qa, as);
|
4500
4500
|
return s;
|
4501
4501
|
}
|
4502
|
-
const
|
4503
|
-
function
|
4504
|
-
return s.replace(
|
4502
|
+
const Wa = /&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;
|
4503
|
+
function Ya(s) {
|
4504
|
+
return s.replace(Wa, (e, t) => (t = t.toLowerCase(), t === "colon" ? ":" : t.charAt(0) === "#" ? t.charAt(1) === "x" ? String.fromCharCode(parseInt(t.substring(2), 16)) : String.fromCharCode(+t.substring(1)) : ""));
|
4505
4505
|
}
|
4506
|
-
const
|
4507
|
-
function
|
4506
|
+
const Qa = /(^|[^\[])\^/g;
|
4507
|
+
function y(s, e) {
|
4508
4508
|
let t = typeof s == "string" ? s : s.source;
|
4509
4509
|
e = e || "";
|
4510
4510
|
const n = {
|
4511
4511
|
replace: (i, r) => {
|
4512
4512
|
let o = typeof r == "string" ? r : r.source;
|
4513
|
-
return o = o.replace(
|
4513
|
+
return o = o.replace(Qa, "$1"), t = t.replace(i, o), n;
|
4514
4514
|
},
|
4515
4515
|
getRegex: () => new RegExp(t, e)
|
4516
4516
|
};
|
@@ -4559,7 +4559,7 @@ function Ne(s, e, t) {
|
|
4559
4559
|
}
|
4560
4560
|
return s.slice(0, n - i);
|
4561
4561
|
}
|
4562
|
-
function
|
4562
|
+
function Ka(s, e) {
|
4563
4563
|
if (s.indexOf(e[1]) === -1)
|
4564
4564
|
return -1;
|
4565
4565
|
let t = 0;
|
@@ -4594,7 +4594,7 @@ function hs(s, e, t, n) {
|
|
4594
4594
|
text: L(o)
|
4595
4595
|
};
|
4596
4596
|
}
|
4597
|
-
function
|
4597
|
+
function Ga(s, e) {
|
4598
4598
|
const t = s.match(/^(\s+)(?:```)/);
|
4599
4599
|
if (t === null)
|
4600
4600
|
return e;
|
@@ -4642,7 +4642,7 @@ class nt {
|
|
4642
4642
|
fences(e) {
|
4643
4643
|
const t = this.rules.block.fences.exec(e);
|
4644
4644
|
if (t) {
|
4645
|
-
const n = t[0], i =
|
4645
|
+
const n = t[0], i = Ga(n, t[3] || "");
|
4646
4646
|
return {
|
4647
4647
|
type: "code",
|
4648
4648
|
raw: n,
|
@@ -4723,9 +4723,9 @@ class nt {
|
|
4723
4723
|
`, e = e.substring(p.length + 1), h = !0), !h) {
|
4724
4724
|
const H = new RegExp(`^ {0,${Math.min(3, d - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`), X = new RegExp(`^ {0,${Math.min(3, d - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`), xn = new RegExp(`^ {0,${Math.min(3, d - 1)}}(?:\`\`\`|~~~)`), wn = new RegExp(`^ {0,${Math.min(3, d - 1)}}#`);
|
4725
4725
|
for (; e; ) {
|
4726
|
-
const
|
4726
|
+
const yt = e.split(`
|
4727
4727
|
`, 1)[0];
|
4728
|
-
if (p =
|
4728
|
+
if (p = yt, this.options.pedantic && (p = p.replace(/^ {1,4}(?=( {4})*[^ ])/g, " ")), xn.test(p) || wn.test(p) || H.test(p) || X.test(e))
|
4729
4729
|
break;
|
4730
4730
|
if (p.search(/[^ ]/) >= d || !p.trim())
|
4731
4731
|
l += `
|
@@ -4736,8 +4736,8 @@ class nt {
|
|
4736
4736
|
l += `
|
4737
4737
|
` + p;
|
4738
4738
|
}
|
4739
|
-
!b && !p.trim() && (b = !0), a +=
|
4740
|
-
`, e = e.substring(
|
4739
|
+
!b && !p.trim() && (b = !0), a += yt + `
|
4740
|
+
`, e = e.substring(yt.length + 1), u = p.slice(d);
|
4741
4741
|
}
|
4742
4742
|
}
|
4743
4743
|
r.loose || (c ? r.loose = !0 : /\n *\n *$/.test(a) && (c = !0));
|
@@ -4882,7 +4882,7 @@ class nt {
|
|
4882
4882
|
if ((n.length - o.length) % 2 === 0)
|
4883
4883
|
return;
|
4884
4884
|
} else {
|
4885
|
-
const o =
|
4885
|
+
const o = Ka(t[2], "()");
|
4886
4886
|
if (o > -1) {
|
4887
4887
|
const l = (t[0].indexOf("!") === 0 ? 5 : 4) + t[1].length + o;
|
4888
4888
|
t[2] = t[2].substring(0, o), t[0] = t[0].substring(0, l).trim(), t[3] = "";
|
@@ -5046,79 +5046,79 @@ class nt {
|
|
5046
5046
|
}
|
5047
5047
|
}
|
5048
5048
|
}
|
5049
|
-
const
|
5050
|
-
blockquote:
|
5051
|
-
code:
|
5052
|
-
def:
|
5053
|
-
fences:
|
5054
|
-
heading:
|
5049
|
+
const Xa = /^(?: *(?:\n|$))+/, Ja = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, Va = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, ze = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, el = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, gi = /(?:[*+-]|\d{1,9}[.)])/, mi = y(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g, gi).replace(/blockCode/g, / {4}/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).getRegex(), fn = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, tl = /^[^\n]+/, gn = /(?!\s*\])(?:\\.|[^\[\]\\])+/, nl = y(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label", gn).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), sl = y(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, gi).getRegex(), vt = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", mn = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, il = y("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))", "i").replace("comment", mn).replace("tag", vt).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), vi = y(fn).replace("hr", ze).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", vt).getRegex(), rl = y(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", vi).getRegex(), vn = {
|
5050
|
+
blockquote: rl,
|
5051
|
+
code: Ja,
|
5052
|
+
def: nl,
|
5053
|
+
fences: Va,
|
5054
|
+
heading: el,
|
5055
5055
|
hr: ze,
|
5056
|
-
html:
|
5057
|
-
lheading:
|
5058
|
-
list:
|
5059
|
-
newline:
|
5060
|
-
paragraph:
|
5056
|
+
html: il,
|
5057
|
+
lheading: mi,
|
5058
|
+
list: sl,
|
5059
|
+
newline: Xa,
|
5060
|
+
paragraph: vi,
|
5061
5061
|
table: ke,
|
5062
|
-
text:
|
5063
|
-
}, us =
|
5062
|
+
text: tl
|
5063
|
+
}, us = y("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", ze).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", " {4}[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", vt).getRegex(), ol = {
|
5064
5064
|
...vn,
|
5065
5065
|
table: us,
|
5066
|
-
paragraph:
|
5067
|
-
},
|
5066
|
+
paragraph: y(fn).replace("hr", ze).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", us).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", vt).getRegex()
|
5067
|
+
}, al = {
|
5068
5068
|
...vn,
|
5069
|
-
html:
|
5069
|
+
html: y(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", mn).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),
|
5070
5070
|
def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
|
5071
5071
|
heading: /^(#{1,6})(.*)(?:\n+|$)/,
|
5072
5072
|
fences: ke,
|
5073
5073
|
// fences not supported
|
5074
5074
|
lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
|
5075
|
-
paragraph:
|
5076
|
-
]`).replace("lheading",
|
5077
|
-
},
|
5075
|
+
paragraph: y(fn).replace("hr", ze).replace("heading", ` *#{1,6} *[^
|
5076
|
+
]`).replace("lheading", mi).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
|
5077
|
+
}, bi = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, ll = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, yi = /^( {2,}|\\)\n(?!\s*$)/, cl = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Ue = "\\p{P}\\p{S}", hl = y(/^((?![*_])[\spunctuation])/, "u").replace(/punctuation/g, Ue).getRegex(), ul = /\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g, pl = y(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/, "u").replace(/punct/g, Ue).getRegex(), dl = y("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])", "gu").replace(/punct/g, Ue).getRegex(), fl = y("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])", "gu").replace(/punct/g, Ue).getRegex(), gl = y(/\\([punct])/, "gu").replace(/punct/g, Ue).getRegex(), ml = y(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), vl = y(mn).replace("(?:-->|$)", "-->").getRegex(), bl = y("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", vl).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), st = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, yl = y(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label", st).replace("href", /<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), $i = y(/^!?\[(label)\]\[(ref)\]/).replace("label", st).replace("ref", gn).getRegex(), xi = y(/^!?\[(ref)\](?:\[\])?/).replace("ref", gn).getRegex(), $l = y("reflink|nolink(?!\\()", "g").replace("reflink", $i).replace("nolink", xi).getRegex(), bn = {
|
5078
5078
|
_backpedal: ke,
|
5079
5079
|
// only used for GFM url
|
5080
|
-
anyPunctuation:
|
5081
|
-
autolink:
|
5082
|
-
blockSkip:
|
5083
|
-
br:
|
5084
|
-
code:
|
5080
|
+
anyPunctuation: gl,
|
5081
|
+
autolink: ml,
|
5082
|
+
blockSkip: ul,
|
5083
|
+
br: yi,
|
5084
|
+
code: ll,
|
5085
5085
|
del: ke,
|
5086
|
-
emStrongLDelim:
|
5087
|
-
emStrongRDelimAst:
|
5088
|
-
emStrongRDelimUnd:
|
5089
|
-
escape:
|
5090
|
-
link:
|
5091
|
-
nolink:
|
5092
|
-
punctuation:
|
5086
|
+
emStrongLDelim: pl,
|
5087
|
+
emStrongRDelimAst: dl,
|
5088
|
+
emStrongRDelimUnd: fl,
|
5089
|
+
escape: bi,
|
5090
|
+
link: yl,
|
5091
|
+
nolink: xi,
|
5092
|
+
punctuation: hl,
|
5093
5093
|
reflink: $i,
|
5094
5094
|
reflinkSearch: $l,
|
5095
|
-
tag:
|
5096
|
-
text:
|
5095
|
+
tag: bl,
|
5096
|
+
text: cl,
|
5097
5097
|
url: ke
|
5098
|
-
},
|
5098
|
+
}, xl = {
|
5099
5099
|
...bn,
|
5100
|
-
link:
|
5101
|
-
reflink:
|
5100
|
+
link: y(/^!?\[(label)\]\((.*?)\)/).replace("label", st).getRegex(),
|
5101
|
+
reflink: y(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", st).getRegex()
|
5102
5102
|
}, Ft = {
|
5103
5103
|
...bn,
|
5104
|
-
escape:
|
5105
|
-
url:
|
5104
|
+
escape: y(bi).replace("])", "~|])").getRegex(),
|
5105
|
+
url: y(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/, "i").replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
|
5106
5106
|
_backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,
|
5107
5107
|
del: /^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,
|
5108
5108
|
text: /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/
|
5109
|
-
},
|
5109
|
+
}, wl = {
|
5110
5110
|
...Ft,
|
5111
|
-
br:
|
5112
|
-
text:
|
5111
|
+
br: y(yi).replace("{2,}", "*").getRegex(),
|
5112
|
+
text: y(Ft.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
|
5113
5113
|
}, Fe = {
|
5114
5114
|
normal: vn,
|
5115
|
-
gfm:
|
5116
|
-
pedantic:
|
5117
|
-
},
|
5115
|
+
gfm: ol,
|
5116
|
+
pedantic: al
|
5117
|
+
}, ye = {
|
5118
5118
|
normal: bn,
|
5119
5119
|
gfm: Ft,
|
5120
|
-
breaks:
|
5121
|
-
pedantic:
|
5120
|
+
breaks: wl,
|
5121
|
+
pedantic: xl
|
5122
5122
|
};
|
5123
5123
|
class z {
|
5124
5124
|
constructor(e) {
|
@@ -5134,9 +5134,9 @@ class z {
|
|
5134
5134
|
};
|
5135
5135
|
const t = {
|
5136
5136
|
block: Fe.normal,
|
5137
|
-
inline:
|
5137
|
+
inline: ye.normal
|
5138
5138
|
};
|
5139
|
-
this.options.pedantic ? (t.block = Fe.pedantic, t.inline =
|
5139
|
+
this.options.pedantic ? (t.block = Fe.pedantic, t.inline = ye.pedantic) : this.options.gfm && (t.block = Fe.gfm, this.options.breaks ? t.inline = ye.breaks : t.inline = ye.gfm), this.tokenizer.rules = t;
|
5140
5140
|
}
|
5141
5141
|
/**
|
5142
5142
|
* Expose Rules
|
@@ -5144,7 +5144,7 @@ class z {
|
|
5144
5144
|
static get rules() {
|
5145
5145
|
return {
|
5146
5146
|
block: Fe,
|
5147
|
-
inline:
|
5147
|
+
inline: ye
|
5148
5148
|
};
|
5149
5149
|
}
|
5150
5150
|
/**
|
@@ -5444,7 +5444,7 @@ ${e}</tr>
|
|
5444
5444
|
return e;
|
5445
5445
|
}
|
5446
5446
|
}
|
5447
|
-
class
|
5447
|
+
class yn {
|
5448
5448
|
// no need for block level renderers
|
5449
5449
|
strong(e) {
|
5450
5450
|
return e;
|
@@ -5479,7 +5479,7 @@ class U {
|
|
5479
5479
|
x(this, "options");
|
5480
5480
|
x(this, "renderer");
|
5481
5481
|
x(this, "textRenderer");
|
5482
|
-
this.options = e || oe, this.options.renderer = this.options.renderer || new it(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.textRenderer = new
|
5482
|
+
this.options = e || oe, this.options.renderer = this.options.renderer || new it(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.textRenderer = new yn();
|
5483
5483
|
}
|
5484
5484
|
/**
|
5485
5485
|
* Static Parse Method
|
@@ -5516,7 +5516,7 @@ class U {
|
|
5516
5516
|
}
|
5517
5517
|
case "heading": {
|
5518
5518
|
const o = r;
|
5519
|
-
n += this.renderer.heading(this.parseInline(o.tokens), o.depth,
|
5519
|
+
n += this.renderer.heading(this.parseInline(o.tokens), o.depth, Ya(this.parseInline(o.tokens, this.textRenderer)));
|
5520
5520
|
continue;
|
5521
5521
|
}
|
5522
5522
|
case "code": {
|
@@ -5697,18 +5697,18 @@ x(_e, "passThroughHooks", /* @__PURE__ */ new Set([
|
|
5697
5697
|
"postprocess",
|
5698
5698
|
"processAllTokens"
|
5699
5699
|
]));
|
5700
|
-
var Le, qt, rt,
|
5701
|
-
class
|
5700
|
+
var Le, qt, rt, wi;
|
5701
|
+
class kl {
|
5702
5702
|
constructor(...e) {
|
5703
|
-
|
5704
|
-
|
5703
|
+
$t(this, Le);
|
5704
|
+
$t(this, rt);
|
5705
5705
|
x(this, "defaults", dn());
|
5706
5706
|
x(this, "options", this.setOptions);
|
5707
5707
|
x(this, "parse", je(this, Le, qt).call(this, z.lex, U.parse));
|
5708
5708
|
x(this, "parseInline", je(this, Le, qt).call(this, z.lexInline, U.parseInline));
|
5709
5709
|
x(this, "Parser", U);
|
5710
5710
|
x(this, "Renderer", it);
|
5711
|
-
x(this, "TextRenderer",
|
5711
|
+
x(this, "TextRenderer", yn);
|
5712
5712
|
x(this, "Lexer", z);
|
5713
5713
|
x(this, "Tokenizer", nt);
|
5714
5714
|
x(this, "Hooks", _e);
|
@@ -5841,7 +5841,7 @@ Le = new WeakSet(), qt = function(e, t) {
|
|
5841
5841
|
return (n, i) => {
|
5842
5842
|
const r = { ...i }, o = { ...this.defaults, ...r };
|
5843
5843
|
this.defaults.async === !0 && r.async === !1 && (o.silent || console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."), o.async = !0);
|
5844
|
-
const a = je(this, rt,
|
5844
|
+
const a = je(this, rt, wi).call(this, !!o.silent, !!o.async);
|
5845
5845
|
if (typeof n > "u" || n === null)
|
5846
5846
|
return a(new Error("marked(): input parameter is undefined or null"));
|
5847
5847
|
if (typeof n != "string")
|
@@ -5858,7 +5858,7 @@ Le = new WeakSet(), qt = function(e, t) {
|
|
5858
5858
|
return a(l);
|
5859
5859
|
}
|
5860
5860
|
};
|
5861
|
-
}, rt = new WeakSet(),
|
5861
|
+
}, rt = new WeakSet(), wi = function(e, t) {
|
5862
5862
|
return (n) => {
|
5863
5863
|
if (n.message += `
|
5864
5864
|
Please report this to https://github.com/markedjs/marked.`, e) {
|
@@ -5870,17 +5870,17 @@ Please report this to https://github.com/markedjs/marked.`, e) {
|
|
5870
5870
|
throw n;
|
5871
5871
|
};
|
5872
5872
|
};
|
5873
|
-
const ie = new
|
5873
|
+
const ie = new kl();
|
5874
5874
|
function v(s, e) {
|
5875
5875
|
return ie.parse(s, e);
|
5876
5876
|
}
|
5877
5877
|
v.options = v.setOptions = function(s) {
|
5878
|
-
return ie.setOptions(s), v.defaults = ie.defaults,
|
5878
|
+
return ie.setOptions(s), v.defaults = ie.defaults, pi(v.defaults), v;
|
5879
5879
|
};
|
5880
5880
|
v.getDefaults = dn;
|
5881
5881
|
v.defaults = oe;
|
5882
5882
|
v.use = function(...s) {
|
5883
|
-
return ie.use(...s), v.defaults = ie.defaults,
|
5883
|
+
return ie.use(...s), v.defaults = ie.defaults, pi(v.defaults), v;
|
5884
5884
|
};
|
5885
5885
|
v.walkTokens = function(s, e) {
|
5886
5886
|
return ie.walkTokens(s, e);
|
@@ -5889,7 +5889,7 @@ v.parseInline = ie.parseInline;
|
|
5889
5889
|
v.Parser = U;
|
5890
5890
|
v.parser = U.parse;
|
5891
5891
|
v.Renderer = it;
|
5892
|
-
v.TextRenderer =
|
5892
|
+
v.TextRenderer = yn;
|
5893
5893
|
v.Lexer = z;
|
5894
5894
|
v.lexer = z.lex;
|
5895
5895
|
v.Tokenizer = nt;
|
@@ -5902,10 +5902,10 @@ v.walkTokens;
|
|
5902
5902
|
v.parseInline;
|
5903
5903
|
U.parse;
|
5904
5904
|
z.lex;
|
5905
|
-
var
|
5906
|
-
for (var i = n > 1 ? void 0 : n ?
|
5905
|
+
var _l = Object.defineProperty, Sl = Object.getOwnPropertyDescriptor, ki = (s, e, t, n) => {
|
5906
|
+
for (var i = n > 1 ? void 0 : n ? Sl(e, t) : e, r = s.length - 1, o; r >= 0; r--)
|
5907
5907
|
(o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
|
5908
|
-
return n && i &&
|
5908
|
+
return n && i && _l(e, t, i), i;
|
5909
5909
|
};
|
5910
5910
|
v.use({
|
5911
5911
|
renderer: {
|
@@ -6000,18 +6000,18 @@ bt.styles = [
|
|
6000
6000
|
}
|
6001
6001
|
`
|
6002
6002
|
];
|
6003
|
-
|
6003
|
+
ki([
|
6004
6004
|
w({ attribute: !1 })
|
6005
6005
|
], bt.prototype, "message", 2);
|
6006
|
-
|
6006
|
+
ki([
|
6007
6007
|
E()
|
6008
6008
|
], bt.prototype, "showLightbox", 2);
|
6009
|
-
var
|
6010
|
-
for (var i = n > 1 ? void 0 : n ?
|
6009
|
+
var Cl = Object.defineProperty, Al = Object.getOwnPropertyDescriptor, El = (s, e, t, n) => {
|
6010
|
+
for (var i = n > 1 ? void 0 : n ? Al(e, t) : e, r = s.length - 1, o; r >= 0; r--)
|
6011
6011
|
(o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
|
6012
|
-
return n && i &&
|
6012
|
+
return n && i && Cl(e, t, i), i;
|
6013
6013
|
};
|
6014
|
-
class
|
6014
|
+
class $n extends k {
|
6015
6015
|
constructor() {
|
6016
6016
|
super(...arguments), this.escapeListener = (e) => {
|
6017
6017
|
e.key === "Escape" && this.closeLightbox();
|
@@ -6048,13 +6048,13 @@ class yn extends k {
|
|
6048
6048
|
@keydown=${this.handleKeyDown}
|
6049
6049
|
>
|
6050
6050
|
<button class="close" @click=${this.closeLightbox}>
|
6051
|
-
<telia-icon svg=${
|
6051
|
+
<telia-icon svg=${Qr.svg} size="lg"></telia-icon>
|
6052
6052
|
</button>
|
6053
6053
|
<img src="${this.imageUrl}" alt="${this.altText ?? ""}" />
|
6054
6054
|
</div> `;
|
6055
6055
|
}
|
6056
6056
|
}
|
6057
|
-
|
6057
|
+
$n.styles = [
|
6058
6058
|
A`
|
6059
6059
|
.lightbox {
|
6060
6060
|
position: fixed;
|
@@ -6091,25 +6091,25 @@ yn.styles = [
|
|
6091
6091
|
}
|
6092
6092
|
`
|
6093
6093
|
];
|
6094
|
-
|
6094
|
+
El([
|
6095
6095
|
w({ attribute: !0 })
|
6096
|
-
],
|
6097
|
-
var
|
6098
|
-
for (var i = n > 1 ? void 0 : n ?
|
6096
|
+
], $n.prototype, "imageUrl", 2);
|
6097
|
+
var Tl = Object.defineProperty, Ll = Object.getOwnPropertyDescriptor, G = (s, e, t, n) => {
|
6098
|
+
for (var i = n > 1 ? void 0 : n ? Ll(e, t) : e, r = s.length - 1, o; r >= 0; r--)
|
6099
6099
|
(o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
|
6100
|
-
return n && i &&
|
6100
|
+
return n && i && Tl(e, t, i), i;
|
6101
6101
|
};
|
6102
6102
|
customElements.get("conversation-entry") || customElements.define("conversation-entry", hn);
|
6103
6103
|
customElements.get("ace-conversation-feed") || customElements.define("ace-conversation-feed", mt);
|
6104
6104
|
customElements.get("conversation-group") || customElements.define("conversation-group", un);
|
6105
|
-
customElements.get("ace-typing-state") || customElements.define("ace-typing-state",
|
6105
|
+
customElements.get("ace-typing-state") || customElements.define("ace-typing-state", ui);
|
6106
6106
|
customElements.get("message-type-html") || customElements.define("message-type-html", pn);
|
6107
6107
|
customElements.get("message-type-markdown") || customElements.define("message-type-markdown", bt);
|
6108
|
-
customElements.get("ace-lightbox") || customElements.define("ace-lightbox",
|
6109
|
-
const
|
6110
|
-
class R extends
|
6108
|
+
customElements.get("ace-lightbox") || customElements.define("ace-lightbox", $n);
|
6109
|
+
const _i = ai(k);
|
6110
|
+
class R extends _i {
|
6111
6111
|
constructor() {
|
6112
|
-
super(...arguments), this.message = "", this.disabledInput = !1, this.disabledSubmit = !1, this.chatOverlayActive = !1, this.textAreaLength = 0, this.conversationContentRef = B(), this.conversationFeedRef = B(), this.formRef = B(), this.inputRef = B(), this.scrollRef = B(), this.chatScrollHeight = 0, this.chatCurrentScrollPosition = 0, this.toast = new
|
6112
|
+
super(...arguments), this.message = "", this.disabledInput = !1, this.disabledSubmit = !1, this.chatOverlayActive = !1, this.textAreaLength = 0, this.conversationContentRef = B(), this.conversationFeedRef = B(), this.formRef = B(), this.inputRef = B(), this.scrollRef = B(), this.chatScrollHeight = 0, this.chatCurrentScrollPosition = 0, this.toast = new Aa(this), this.messageMaxLength = 1e3, this.skipToLatestMessageLabel = "Skip to latest message", this.platform = null, this.entries = [], this.typing = !1, this.conversationState$ = new M("waiting"), this.stateMachine = new Ta(this.conversationState$, this), this.provider$ = this.stateMachine.session().pipe(
|
6113
6113
|
pe((e) => e ? e == null ? void 0 : e.provider$ : It(null))
|
6114
6114
|
), this.userTyping$ = new _();
|
6115
6115
|
}
|
@@ -6123,7 +6123,7 @@ class R extends ki {
|
|
6123
6123
|
t && t.widgetActive$.pipe(zt(t.componentIsDestroyed$)).subscribe((n) => {
|
6124
6124
|
const i = this.conversationContentRef.value;
|
6125
6125
|
i && (n ? i.scrollTop = this.chatCurrentScrollPosition : this.chatCurrentScrollPosition = i.scrollTop);
|
6126
|
-
}), this.stateSubscription =
|
6126
|
+
}), this.stateSubscription = ur([
|
6127
6127
|
this.stateMachine.entries(),
|
6128
6128
|
this.stateMachine.isTyping()
|
6129
6129
|
]).subscribe(([n, i]) => {
|
@@ -6271,7 +6271,7 @@ class R extends ki {
|
|
6271
6271
|
class="overlay-button"
|
6272
6272
|
@click=${() => this.chatOverlayActive = !1}
|
6273
6273
|
>
|
6274
|
-
<telia-icon svg=${
|
6274
|
+
<telia-icon svg=${Yr.svg}></telia-icon>
|
6275
6275
|
</button>
|
6276
6276
|
</div>` : g}
|
6277
6277
|
<div
|
@@ -6323,7 +6323,7 @@ class R extends ki {
|
|
6323
6323
|
title=${e.getOrFallback("conversation.send-alt", "Send")}
|
6324
6324
|
?disabled=${this.disabledSubmit}
|
6325
6325
|
>
|
6326
|
-
<telia-icon svg=${
|
6326
|
+
<telia-icon svg=${Gr.svg}></telia-icon>
|
6327
6327
|
</button>
|
6328
6328
|
<!-- TODO: Activate character counter when details decided -->
|
6329
6329
|
<!--<span class="counter"
|
@@ -6341,7 +6341,7 @@ class R extends ki {
|
|
6341
6341
|
}
|
6342
6342
|
}
|
6343
6343
|
R.styles = [
|
6344
|
-
|
6344
|
+
_i.styles || [],
|
6345
6345
|
A`
|
6346
6346
|
:host {
|
6347
6347
|
font-family: var(--font-family);
|
@@ -6612,18 +6612,18 @@ G([
|
|
6612
6612
|
G([
|
6613
6613
|
E()
|
6614
6614
|
], R.prototype, "typing", 2);
|
6615
|
-
const
|
6615
|
+
const Ol = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
6616
6616
|
__proto__: null,
|
6617
6617
|
Conversation: R,
|
6618
6618
|
default: R
|
6619
6619
|
}, Symbol.toStringTag, { value: "Module" }));
|
6620
6620
|
export {
|
6621
|
-
|
6621
|
+
wr as Agent,
|
6622
6622
|
R as Conversation,
|
6623
|
-
|
6623
|
+
Rl as ConversationComponent,
|
6624
6624
|
lt as ConversationEntry,
|
6625
6625
|
Z as ConversationMessageType,
|
6626
6626
|
ds as ConversationPlatform,
|
6627
|
-
|
6628
|
-
|
6627
|
+
Il as ConversationProvider,
|
6628
|
+
kr as User
|
6629
6629
|
};
|