@telia-ace/widget-conversation-flamingo 1.1.82-rc.6 → 1.1.82-rc.7
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +43 -43
- package/index.mjs +396 -393
- package/package.json +2 -2
package/index.mjs
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
var
|
1
|
+
var Fi = Object.defineProperty;
|
2
2
|
var jn = (s) => {
|
3
3
|
throw TypeError(s);
|
4
4
|
};
|
5
|
-
var
|
6
|
-
var x = (s, e, t) =>
|
5
|
+
var qi = (s, e, t) => e in s ? Fi(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t;
|
6
|
+
var x = (s, e, t) => qi(s, typeof e != "symbol" ? e + "" : e, t), Zi = (s, e, t) => e.has(s) || jn("Cannot " + t);
|
7
7
|
var Bn = (s, e, t) => e.has(s) ? jn("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(s) : e.set(s, t);
|
8
|
-
var
|
8
|
+
var Fe = (s, e, t) => (Zi(s, e, "access private method"), t);
|
9
9
|
const Nl = async (s) => {
|
10
10
|
s.registerComponent("conversation", Promise.resolve().then(() => Bl));
|
11
11
|
};
|
@@ -49,7 +49,7 @@ function xe(s, e) {
|
|
49
49
|
}
|
50
50
|
s.prototype = e === null ? Object.create(e) : (t.prototype = e.prototype, new t());
|
51
51
|
}
|
52
|
-
function
|
52
|
+
function Wi(s, e, t, n) {
|
53
53
|
function i(r) {
|
54
54
|
return r instanceof t ? r : new t(function(o) {
|
55
55
|
o(r);
|
@@ -171,7 +171,7 @@ function ve(s, e, t) {
|
|
171
171
|
function de(s) {
|
172
172
|
return this instanceof de ? (this.v = s, this) : new de(s);
|
173
173
|
}
|
174
|
-
function
|
174
|
+
function Yi(s, e, t) {
|
175
175
|
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
176
176
|
var n = t.apply(s, e || []), i, r = [];
|
177
177
|
return i = Object.create((typeof AsyncIterator == "function" ? AsyncIterator : Object).prototype), a("next"), a("throw"), a("return", o), i[Symbol.asyncIterator] = function() {
|
@@ -209,7 +209,7 @@ function Wi(s, e, t) {
|
|
209
209
|
p(m), r.shift(), r.length && l(r[0][0], r[0][1]);
|
210
210
|
}
|
211
211
|
}
|
212
|
-
function
|
212
|
+
function Qi(s) {
|
213
213
|
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
214
214
|
var e = s[Symbol.asyncIterator], t;
|
215
215
|
return e ? e.call(s) : (s = typeof me == "function" ? me(s) : s[Symbol.iterator](), t = {}, n("next"), n("throw"), n("return"), t[Symbol.asyncIterator] = function() {
|
@@ -370,16 +370,16 @@ function Bs(s) {
|
|
370
370
|
throw s;
|
371
371
|
});
|
372
372
|
}
|
373
|
-
function
|
373
|
+
function Ge() {
|
374
374
|
}
|
375
|
-
function
|
375
|
+
function Qe(s) {
|
376
376
|
s();
|
377
377
|
}
|
378
378
|
var Jt = function(s) {
|
379
379
|
xe(e, s);
|
380
380
|
function e(t) {
|
381
381
|
var n = s.call(this) || this;
|
382
|
-
return n.isStopped = !1, t ? (n.destination = t, zs(t) && t.add(n)) : n.destination =
|
382
|
+
return n.isStopped = !1, t ? (n.destination = t, zs(t) && t.add(n)) : n.destination = Vi, n;
|
383
383
|
}
|
384
384
|
return e.create = function(t, n, i) {
|
385
385
|
return new Ut(t, n, i);
|
@@ -406,11 +406,11 @@ var Jt = function(s) {
|
|
406
406
|
this.unsubscribe();
|
407
407
|
}
|
408
408
|
}, e;
|
409
|
-
}(gt),
|
409
|
+
}(gt), Ki = Function.prototype.bind;
|
410
410
|
function At(s, e) {
|
411
|
-
return
|
411
|
+
return Ki.call(s, e);
|
412
412
|
}
|
413
|
-
var
|
413
|
+
var Gi = function() {
|
414
414
|
function s(e) {
|
415
415
|
this.partialObserver = e;
|
416
416
|
}
|
@@ -420,7 +420,7 @@ var Ki = function() {
|
|
420
420
|
try {
|
421
421
|
t.next(e);
|
422
422
|
} catch (n) {
|
423
|
-
|
423
|
+
qe(n);
|
424
424
|
}
|
425
425
|
}, s.prototype.error = function(e) {
|
426
426
|
var t = this.partialObserver;
|
@@ -428,17 +428,17 @@ var Ki = function() {
|
|
428
428
|
try {
|
429
429
|
t.error(e);
|
430
430
|
} catch (n) {
|
431
|
-
|
431
|
+
qe(n);
|
432
432
|
}
|
433
433
|
else
|
434
|
-
|
434
|
+
qe(e);
|
435
435
|
}, s.prototype.complete = function() {
|
436
436
|
var e = this.partialObserver;
|
437
437
|
if (e.complete)
|
438
438
|
try {
|
439
439
|
e.complete();
|
440
440
|
} catch (t) {
|
441
|
-
|
441
|
+
qe(t);
|
442
442
|
}
|
443
443
|
}, s;
|
444
444
|
}(), Ut = function(s) {
|
@@ -461,29 +461,29 @@ var Ki = function() {
|
|
461
461
|
complete: t.complete && At(t.complete, a)
|
462
462
|
}) : o = t;
|
463
463
|
}
|
464
|
-
return r.destination = new
|
464
|
+
return r.destination = new Gi(o), r;
|
465
465
|
}
|
466
466
|
return e;
|
467
467
|
}(Jt);
|
468
|
-
function
|
468
|
+
function qe(s) {
|
469
469
|
Bs(s);
|
470
470
|
}
|
471
|
-
function
|
471
|
+
function Xi(s) {
|
472
472
|
throw s;
|
473
473
|
}
|
474
|
-
var
|
474
|
+
var Vi = {
|
475
475
|
closed: !0,
|
476
|
-
next:
|
477
|
-
error:
|
478
|
-
complete:
|
476
|
+
next: Ge,
|
477
|
+
error: Xi,
|
478
|
+
complete: Ge
|
479
479
|
}, en = function() {
|
480
480
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
481
481
|
}();
|
482
|
-
function
|
482
|
+
function ze(s) {
|
483
483
|
return s;
|
484
484
|
}
|
485
|
-
function
|
486
|
-
return s.length === 0 ?
|
485
|
+
function Ji(s) {
|
486
|
+
return s.length === 0 ? ze : s.length === 1 ? s[0] : function(t) {
|
487
487
|
return s.reduce(function(n, i) {
|
488
488
|
return i(n);
|
489
489
|
}, t);
|
@@ -497,8 +497,8 @@ var A = function() {
|
|
497
497
|
var t = new s();
|
498
498
|
return t.source = this, t.operator = e, t;
|
499
499
|
}, s.prototype.subscribe = function(e, t, n) {
|
500
|
-
var i = this, r =
|
501
|
-
return
|
500
|
+
var i = this, r = tr(e) ? e : new Ut(e, t, n);
|
501
|
+
return Qe(function() {
|
502
502
|
var o = i, a = o.operator, l = o.source;
|
503
503
|
r.add(a ? a.call(r, l) : l ? i._subscribe(r) : i._trySubscribe(r));
|
504
504
|
}), r;
|
@@ -532,7 +532,7 @@ var A = function() {
|
|
532
532
|
}, s.prototype.pipe = function() {
|
533
533
|
for (var e = [], t = 0; t < arguments.length; t++)
|
534
534
|
e[t] = arguments[t];
|
535
|
-
return
|
535
|
+
return Ji(e)(this);
|
536
536
|
}, s.prototype.toPromise = function(e) {
|
537
537
|
var t = this;
|
538
538
|
return e = Nn(e), new e(function(n, i) {
|
@@ -553,18 +553,18 @@ function Nn(s) {
|
|
553
553
|
var e;
|
554
554
|
return (e = s ?? Us.Promise) !== null && e !== void 0 ? e : Promise;
|
555
555
|
}
|
556
|
-
function Ji(s) {
|
557
|
-
return s && $(s.next) && $(s.error) && $(s.complete);
|
558
|
-
}
|
559
556
|
function er(s) {
|
560
|
-
return s && s
|
557
|
+
return s && $(s.next) && $(s.error) && $(s.complete);
|
561
558
|
}
|
562
559
|
function tr(s) {
|
560
|
+
return s && s instanceof Jt || er(s) && zs(s);
|
561
|
+
}
|
562
|
+
function nr(s) {
|
563
563
|
return $(s == null ? void 0 : s.lift);
|
564
564
|
}
|
565
565
|
function G(s) {
|
566
566
|
return function(e) {
|
567
|
-
if (
|
567
|
+
if (nr(e))
|
568
568
|
return e.lift(function(t) {
|
569
569
|
try {
|
570
570
|
return s(t, this);
|
@@ -576,9 +576,9 @@ function G(s) {
|
|
576
576
|
};
|
577
577
|
}
|
578
578
|
function I(s, e, t, n, i) {
|
579
|
-
return new
|
579
|
+
return new sr(s, e, t, n, i);
|
580
580
|
}
|
581
|
-
var
|
581
|
+
var sr = function(s) {
|
582
582
|
xe(e, s);
|
583
583
|
function e(t, n, i, r, o, a) {
|
584
584
|
var l = s.call(this, t) || this;
|
@@ -613,7 +613,7 @@ var nr = function(s) {
|
|
613
613
|
s.prototype.unsubscribe.call(this), !n && ((t = this.onFinalize) === null || t === void 0 || t.call(this));
|
614
614
|
}
|
615
615
|
}, e;
|
616
|
-
}(Jt),
|
616
|
+
}(Jt), ir = Is(function(s) {
|
617
617
|
return function() {
|
618
618
|
s(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
619
619
|
};
|
@@ -628,10 +628,10 @@ var nr = function(s) {
|
|
628
628
|
return n.operator = t, n;
|
629
629
|
}, e.prototype._throwIfClosed = function() {
|
630
630
|
if (this.closed)
|
631
|
-
throw new
|
631
|
+
throw new ir();
|
632
632
|
}, e.prototype.next = function(t) {
|
633
633
|
var n = this;
|
634
|
-
|
634
|
+
Qe(function() {
|
635
635
|
var i, r;
|
636
636
|
if (n._throwIfClosed(), !n.isStopped) {
|
637
637
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
@@ -653,7 +653,7 @@ var nr = function(s) {
|
|
653
653
|
});
|
654
654
|
}, e.prototype.error = function(t) {
|
655
655
|
var n = this;
|
656
|
-
|
656
|
+
Qe(function() {
|
657
657
|
if (n._throwIfClosed(), !n.isStopped) {
|
658
658
|
n.hasError = n.isStopped = !0, n.thrownError = t;
|
659
659
|
for (var i = n.observers; i.length; )
|
@@ -662,7 +662,7 @@ var nr = function(s) {
|
|
662
662
|
});
|
663
663
|
}, e.prototype.complete = function() {
|
664
664
|
var t = this;
|
665
|
-
|
665
|
+
Qe(function() {
|
666
666
|
if (t._throwIfClosed(), !t.isStopped) {
|
667
667
|
t.isStopped = !0;
|
668
668
|
for (var n = t.observers; n.length; )
|
@@ -738,10 +738,10 @@ var nr = function(s) {
|
|
738
738
|
}, e.prototype.next = function(t) {
|
739
739
|
s.prototype.next.call(this, this._value = t);
|
740
740
|
}, e;
|
741
|
-
}(S),
|
741
|
+
}(S), Ue = new A(function(s) {
|
742
742
|
return s.complete();
|
743
743
|
});
|
744
|
-
function
|
744
|
+
function rr(s) {
|
745
745
|
return s && $(s.schedule);
|
746
746
|
}
|
747
747
|
function tn(s) {
|
@@ -751,9 +751,9 @@ function Hs(s) {
|
|
751
751
|
return $(tn(s)) ? s.pop() : void 0;
|
752
752
|
}
|
753
753
|
function nn(s) {
|
754
|
-
return
|
754
|
+
return rr(tn(s)) ? s.pop() : void 0;
|
755
755
|
}
|
756
|
-
function
|
756
|
+
function or(s, e) {
|
757
757
|
return typeof tn(s) == "number" ? s.pop() : e;
|
758
758
|
}
|
759
759
|
var sn = function(s) {
|
@@ -771,15 +771,15 @@ function Fs(s) {
|
|
771
771
|
function qs(s) {
|
772
772
|
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.");
|
773
773
|
}
|
774
|
-
function
|
774
|
+
function ar() {
|
775
775
|
return typeof Symbol != "function" || !Symbol.iterator ? "@@iterator" : Symbol.iterator;
|
776
776
|
}
|
777
|
-
var Zs =
|
777
|
+
var Zs = ar();
|
778
778
|
function Ws(s) {
|
779
779
|
return $(s == null ? void 0 : s[Zs]);
|
780
780
|
}
|
781
781
|
function Ys(s) {
|
782
|
-
return
|
782
|
+
return Yi(this, arguments, function() {
|
783
783
|
var t, n, i, r;
|
784
784
|
return Ps(this, function(o) {
|
785
785
|
switch (o.label) {
|
@@ -817,21 +817,21 @@ function N(s) {
|
|
817
817
|
return s;
|
818
818
|
if (s != null) {
|
819
819
|
if (Ds(s))
|
820
|
-
return ar(s);
|
821
|
-
if (sn(s))
|
822
820
|
return lr(s);
|
823
|
-
if (
|
821
|
+
if (sn(s))
|
824
822
|
return cr(s);
|
823
|
+
if (Ns(s))
|
824
|
+
return hr(s);
|
825
825
|
if (Fs(s))
|
826
826
|
return Ks(s);
|
827
827
|
if (Ws(s))
|
828
|
-
return hr(s);
|
829
|
-
if (Qs(s))
|
830
828
|
return ur(s);
|
829
|
+
if (Qs(s))
|
830
|
+
return dr(s);
|
831
831
|
}
|
832
832
|
throw qs(s);
|
833
833
|
}
|
834
|
-
function
|
834
|
+
function lr(s) {
|
835
835
|
return new A(function(e) {
|
836
836
|
var t = s[en]();
|
837
837
|
if ($(t.subscribe))
|
@@ -839,14 +839,14 @@ function ar(s) {
|
|
839
839
|
throw new TypeError("Provided object does not correctly implement Symbol.observable");
|
840
840
|
});
|
841
841
|
}
|
842
|
-
function
|
842
|
+
function cr(s) {
|
843
843
|
return new A(function(e) {
|
844
844
|
for (var t = 0; t < s.length && !e.closed; t++)
|
845
845
|
e.next(s[t]);
|
846
846
|
e.complete();
|
847
847
|
});
|
848
848
|
}
|
849
|
-
function
|
849
|
+
function hr(s) {
|
850
850
|
return new A(function(e) {
|
851
851
|
s.then(function(t) {
|
852
852
|
e.closed || (e.next(t), e.complete());
|
@@ -855,7 +855,7 @@ function cr(s) {
|
|
855
855
|
}).then(null, Bs);
|
856
856
|
});
|
857
857
|
}
|
858
|
-
function
|
858
|
+
function ur(s) {
|
859
859
|
return new A(function(e) {
|
860
860
|
var t, n;
|
861
861
|
try {
|
@@ -878,22 +878,22 @@ function hr(s) {
|
|
878
878
|
}
|
879
879
|
function Ks(s) {
|
880
880
|
return new A(function(e) {
|
881
|
-
|
881
|
+
pr(s, e).catch(function(t) {
|
882
882
|
return e.error(t);
|
883
883
|
});
|
884
884
|
});
|
885
885
|
}
|
886
|
-
function
|
886
|
+
function dr(s) {
|
887
887
|
return Ks(Ys(s));
|
888
888
|
}
|
889
|
-
function
|
889
|
+
function pr(s, e) {
|
890
890
|
var t, n, i, r;
|
891
|
-
return
|
891
|
+
return Wi(this, void 0, void 0, function() {
|
892
892
|
var o, a;
|
893
893
|
return Ps(this, function(l) {
|
894
894
|
switch (l.label) {
|
895
895
|
case 0:
|
896
|
-
l.trys.push([0, 5, 6, 11]), t =
|
896
|
+
l.trys.push([0, 5, 6, 11]), t = Qi(s), l.label = 1;
|
897
897
|
case 1:
|
898
898
|
return [4, t.next()];
|
899
899
|
case 2:
|
@@ -956,13 +956,13 @@ function Xs(s, e) {
|
|
956
956
|
}, e));
|
957
957
|
});
|
958
958
|
}
|
959
|
-
function pr(s, e) {
|
960
|
-
return N(s).pipe(Xs(e), Gs(e));
|
961
|
-
}
|
962
959
|
function fr(s, e) {
|
963
960
|
return N(s).pipe(Xs(e), Gs(e));
|
964
961
|
}
|
965
962
|
function gr(s, e) {
|
963
|
+
return N(s).pipe(Xs(e), Gs(e));
|
964
|
+
}
|
965
|
+
function mr(s, e) {
|
966
966
|
return new A(function(t) {
|
967
967
|
var n = 0;
|
968
968
|
return e.schedule(function() {
|
@@ -970,7 +970,7 @@ function gr(s, e) {
|
|
970
970
|
});
|
971
971
|
});
|
972
972
|
}
|
973
|
-
function
|
973
|
+
function vr(s, e) {
|
974
974
|
return new A(function(t) {
|
975
975
|
var n;
|
976
976
|
return W(t, e, function() {
|
@@ -1003,28 +1003,28 @@ function Vs(s, e) {
|
|
1003
1003
|
});
|
1004
1004
|
});
|
1005
1005
|
}
|
1006
|
-
function
|
1006
|
+
function br(s, e) {
|
1007
1007
|
return Vs(Ys(s), e);
|
1008
1008
|
}
|
1009
|
-
function
|
1009
|
+
function yr(s, e) {
|
1010
1010
|
if (s != null) {
|
1011
1011
|
if (Ds(s))
|
1012
|
-
return
|
1012
|
+
return fr(s, e);
|
1013
1013
|
if (sn(s))
|
1014
|
-
return
|
1014
|
+
return mr(s, e);
|
1015
1015
|
if (Ns(s))
|
1016
|
-
return
|
1016
|
+
return gr(s, e);
|
1017
1017
|
if (Fs(s))
|
1018
1018
|
return Vs(s, e);
|
1019
1019
|
if (Ws(s))
|
1020
|
-
return mr(s, e);
|
1021
|
-
if (Qs(s))
|
1022
1020
|
return vr(s, e);
|
1021
|
+
if (Qs(s))
|
1022
|
+
return br(s, e);
|
1023
1023
|
}
|
1024
1024
|
throw qs(s);
|
1025
1025
|
}
|
1026
1026
|
function mt(s, e) {
|
1027
|
-
return e ?
|
1027
|
+
return e ? yr(s, e) : N(s);
|
1028
1028
|
}
|
1029
1029
|
function jt() {
|
1030
1030
|
for (var s = [], e = 0; e < arguments.length; e++)
|
@@ -1032,7 +1032,7 @@ function jt() {
|
|
1032
1032
|
var t = nn(s);
|
1033
1033
|
return mt(s, t);
|
1034
1034
|
}
|
1035
|
-
function
|
1035
|
+
function Xe(s, e) {
|
1036
1036
|
return G(function(t, n) {
|
1037
1037
|
var i = 0;
|
1038
1038
|
t.subscribe(I(n, function(r) {
|
@@ -1040,23 +1040,23 @@ function Ge(s, e) {
|
|
1040
1040
|
}));
|
1041
1041
|
});
|
1042
1042
|
}
|
1043
|
-
var
|
1044
|
-
function
|
1045
|
-
return
|
1043
|
+
var $r = Array.isArray;
|
1044
|
+
function xr(s, e) {
|
1045
|
+
return $r(e) ? s.apply(void 0, ve([], te(e))) : s(e);
|
1046
1046
|
}
|
1047
1047
|
function Js(s) {
|
1048
|
-
return
|
1049
|
-
return
|
1048
|
+
return Xe(function(e) {
|
1049
|
+
return xr(s, e);
|
1050
1050
|
});
|
1051
1051
|
}
|
1052
|
-
var
|
1053
|
-
function
|
1052
|
+
var wr = Array.isArray, kr = Object.getPrototypeOf, Sr = Object.prototype, _r = Object.keys;
|
1053
|
+
function Cr(s) {
|
1054
1054
|
if (s.length === 1) {
|
1055
1055
|
var e = s[0];
|
1056
|
-
if (
|
1056
|
+
if (wr(e))
|
1057
1057
|
return { args: e, keys: null };
|
1058
|
-
if (
|
1059
|
-
var t =
|
1058
|
+
if (Ar(e)) {
|
1059
|
+
var t = _r(e);
|
1060
1060
|
return {
|
1061
1061
|
args: t.map(function(n) {
|
1062
1062
|
return e[n];
|
@@ -1067,27 +1067,27 @@ function _r(s) {
|
|
1067
1067
|
}
|
1068
1068
|
return { args: s, keys: null };
|
1069
1069
|
}
|
1070
|
-
function
|
1071
|
-
return s && typeof s == "object" &&
|
1070
|
+
function Ar(s) {
|
1071
|
+
return s && typeof s == "object" && kr(s) === Sr;
|
1072
1072
|
}
|
1073
|
-
function
|
1073
|
+
function Er(s, e) {
|
1074
1074
|
return s.reduce(function(t, n, i) {
|
1075
1075
|
return t[n] = e[i], t;
|
1076
1076
|
}, {});
|
1077
1077
|
}
|
1078
|
-
function
|
1078
|
+
function Tr() {
|
1079
1079
|
for (var s = [], e = 0; e < arguments.length; e++)
|
1080
1080
|
s[e] = arguments[e];
|
1081
|
-
var t = nn(s), n = Hs(s), i =
|
1081
|
+
var t = nn(s), n = Hs(s), i = Cr(s), r = i.args, o = i.keys;
|
1082
1082
|
if (r.length === 0)
|
1083
1083
|
return mt([], t);
|
1084
|
-
var a = new A(
|
1085
|
-
return
|
1086
|
-
} :
|
1084
|
+
var a = new A(Lr(r, t, o ? function(l) {
|
1085
|
+
return Er(o, l);
|
1086
|
+
} : ze));
|
1087
1087
|
return n ? a.pipe(Js(n)) : a;
|
1088
1088
|
}
|
1089
|
-
function
|
1090
|
-
return t === void 0 && (t =
|
1089
|
+
function Lr(s, e, t) {
|
1090
|
+
return t === void 0 && (t = ze), function(n) {
|
1091
1091
|
Fn(e, function() {
|
1092
1092
|
for (var i = s.length, r = new Array(i), o = i, a = i, l = function(h) {
|
1093
1093
|
Fn(e, function() {
|
@@ -1106,7 +1106,7 @@ function Tr(s, e, t) {
|
|
1106
1106
|
function Fn(s, e, t) {
|
1107
1107
|
s ? W(t, s, e) : e();
|
1108
1108
|
}
|
1109
|
-
function
|
1109
|
+
function Rr(s, e, t, n, i, r, o, a) {
|
1110
1110
|
var l = [], c = 0, h = 0, u = !1, d = function() {
|
1111
1111
|
u && !l.length && !c && e.complete();
|
1112
1112
|
}, p = function(f) {
|
@@ -1140,28 +1140,28 @@ function Lr(s, e, t, n, i, r, o, a) {
|
|
1140
1140
|
}
|
1141
1141
|
function rn(s, e, t) {
|
1142
1142
|
return t === void 0 && (t = 1 / 0), $(e) ? rn(function(n, i) {
|
1143
|
-
return
|
1143
|
+
return Xe(function(r, o) {
|
1144
1144
|
return e(n, r, i, o);
|
1145
1145
|
})(N(s(n, i)));
|
1146
1146
|
}, t) : (typeof e == "number" && (t = e), G(function(n, i) {
|
1147
|
-
return
|
1147
|
+
return Rr(n, i, s, t);
|
1148
1148
|
}));
|
1149
1149
|
}
|
1150
|
-
function
|
1151
|
-
return s === void 0 && (s = 1 / 0), rn(
|
1150
|
+
function Or(s) {
|
1151
|
+
return s === void 0 && (s = 1 / 0), rn(ze, s);
|
1152
1152
|
}
|
1153
|
-
var
|
1154
|
-
function
|
1153
|
+
var Pr = ["addListener", "removeListener"], Ir = ["addEventListener", "removeEventListener"], Mr = ["on", "off"];
|
1154
|
+
function Ve(s, e, t, n) {
|
1155
1155
|
if ($(t) && (n = t, t = void 0), n)
|
1156
|
-
return
|
1157
|
-
var i = te(
|
1156
|
+
return Ve(s, e, t).pipe(Js(n));
|
1157
|
+
var i = te(jr(s) ? Ir.map(function(a) {
|
1158
1158
|
return function(l) {
|
1159
1159
|
return s[a](e, l, t);
|
1160
1160
|
};
|
1161
|
-
}) :
|
1161
|
+
}) : zr(s) ? Pr.map(qn(s, e)) : Ur(s) ? Mr.map(qn(s, e)) : [], 2), r = i[0], o = i[1];
|
1162
1162
|
if (!r && sn(s))
|
1163
1163
|
return rn(function(a) {
|
1164
|
-
return
|
1164
|
+
return Ve(a, e, t);
|
1165
1165
|
})(N(s));
|
1166
1166
|
if (!r)
|
1167
1167
|
throw new TypeError("Invalid event target");
|
@@ -1183,24 +1183,24 @@ function qn(s, e) {
|
|
1183
1183
|
};
|
1184
1184
|
};
|
1185
1185
|
}
|
1186
|
-
function
|
1186
|
+
function zr(s) {
|
1187
1187
|
return $(s.addListener) && $(s.removeListener);
|
1188
1188
|
}
|
1189
|
-
function
|
1189
|
+
function Ur(s) {
|
1190
1190
|
return $(s.on) && $(s.off);
|
1191
1191
|
}
|
1192
|
-
function
|
1192
|
+
function jr(s) {
|
1193
1193
|
return $(s.addEventListener) && $(s.removeEventListener);
|
1194
1194
|
}
|
1195
|
-
function
|
1195
|
+
function Br() {
|
1196
1196
|
for (var s = [], e = 0; e < arguments.length; e++)
|
1197
1197
|
s[e] = arguments[e];
|
1198
|
-
var t = nn(s), n =
|
1199
|
-
return i.length ? i.length === 1 ? N(i[0]) :
|
1198
|
+
var t = nn(s), n = or(s, 1 / 0), i = s;
|
1199
|
+
return i.length ? i.length === 1 ? N(i[0]) : Or(n)(mt(i, t)) : Ue;
|
1200
1200
|
}
|
1201
1201
|
function Bt(s) {
|
1202
1202
|
return s <= 0 ? function() {
|
1203
|
-
return
|
1203
|
+
return Ue;
|
1204
1204
|
} : G(function(e, t) {
|
1205
1205
|
var n = 0;
|
1206
1206
|
e.subscribe(I(t, function(i) {
|
@@ -1230,7 +1230,7 @@ function Ht(s) {
|
|
1230
1230
|
return G(function(e, t) {
|
1231
1231
|
N(s).subscribe(I(t, function() {
|
1232
1232
|
return t.complete();
|
1233
|
-
},
|
1233
|
+
}, Ge)), !t.closed && e.subscribe(t);
|
1234
1234
|
});
|
1235
1235
|
}
|
1236
1236
|
function Nt() {
|
@@ -1242,8 +1242,8 @@ function Nt() {
|
|
1242
1242
|
return !1;
|
1243
1243
|
}), l = !1, c = function(u) {
|
1244
1244
|
N(s[u]).subscribe(I(i, function(d) {
|
1245
|
-
o[u] = d, !l && !a[u] && (a[u] = !0, (l = a.every(
|
1246
|
-
},
|
1245
|
+
o[u] = d, !l && !a[u] && (a[u] = !0, (l = a.every(ze)) && (a = null));
|
1246
|
+
}, Ge));
|
1247
1247
|
}, h = 0; h < r; h++)
|
1248
1248
|
c(h);
|
1249
1249
|
n.subscribe(I(i, function(u) {
|
@@ -1255,10 +1255,10 @@ function Nt() {
|
|
1255
1255
|
});
|
1256
1256
|
}
|
1257
1257
|
var Y = /* @__PURE__ */ ((s) => (s.User = "user", s.Agent = "agent", s.System = "system", s))(Y || {});
|
1258
|
-
const
|
1258
|
+
const Hr = () => "10000000-1000-4000-8000-100000000000".replace(
|
1259
1259
|
/[018]/g,
|
1260
1260
|
(s) => (+s ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> +s / 4).toString(16)
|
1261
|
-
), ei = () => typeof crypto.randomUUID == "function" ? crypto.randomUUID() :
|
1261
|
+
), ei = () => typeof crypto.randomUUID == "function" ? crypto.randomUUID() : Hr();
|
1262
1262
|
function Dl(s) {
|
1263
1263
|
let e = s;
|
1264
1264
|
const t = /https?:\/\/[^\s<]+/gi, n = /<a [^>]*href="([^"]*)"[^>]*>[^<]*<\/a>/g, i = s.match(t) || [], r = [];
|
@@ -1279,9 +1279,9 @@ function Dl(s) {
|
|
1279
1279
|
);
|
1280
1280
|
}), e;
|
1281
1281
|
}
|
1282
|
-
function
|
1282
|
+
function Nr(s) {
|
1283
1283
|
if (s.includes("aceChatGuideTitle"))
|
1284
|
-
return
|
1284
|
+
return Dr(s);
|
1285
1285
|
const e = /<a [^>]*>https?:\/\/[^<]*<\/a>/gim;
|
1286
1286
|
return s.replace(e, (t) => {
|
1287
1287
|
const n = ti(t);
|
@@ -1315,7 +1315,7 @@ function ti(s) {
|
|
1315
1315
|
function Dt(s, e) {
|
1316
1316
|
return s.replace(/>[^<]*<\/a>/, `>${e}</a>`);
|
1317
1317
|
}
|
1318
|
-
function
|
1318
|
+
function Dr(s) {
|
1319
1319
|
const e = /<a [^>]*aceChatGuideTitle[^>]*>[^<]*<\/a>/gm;
|
1320
1320
|
return s.replace(e, (t) => {
|
1321
1321
|
const n = ti(t);
|
@@ -1343,7 +1343,7 @@ class vt {
|
|
1343
1343
|
this.remove$.next();
|
1344
1344
|
}
|
1345
1345
|
}
|
1346
|
-
class
|
1346
|
+
class Fr {
|
1347
1347
|
constructor(e) {
|
1348
1348
|
this.name = e, this.print$ = new S();
|
1349
1349
|
}
|
@@ -1363,7 +1363,7 @@ class Dr {
|
|
1363
1363
|
return this.print$.asObservable();
|
1364
1364
|
}
|
1365
1365
|
}
|
1366
|
-
class
|
1366
|
+
class qr {
|
1367
1367
|
constructor(e) {
|
1368
1368
|
this.name = e, this.print$ = new S();
|
1369
1369
|
}
|
@@ -1383,7 +1383,7 @@ class Fr {
|
|
1383
1383
|
return this.print$.asObservable();
|
1384
1384
|
}
|
1385
1385
|
}
|
1386
|
-
class
|
1386
|
+
class Zr {
|
1387
1387
|
constructor() {
|
1388
1388
|
this.print$ = new S(), this.name = "system";
|
1389
1389
|
}
|
@@ -1437,19 +1437,19 @@ class Fl {
|
|
1437
1437
|
return this.print$.next(e), e;
|
1438
1438
|
}
|
1439
1439
|
createAgent(e) {
|
1440
|
-
const t = new
|
1440
|
+
const t = new Fr(e);
|
1441
1441
|
return t.subscribe().subscribe((n) => {
|
1442
1442
|
this.playNotification(), this.printEntry(n);
|
1443
1443
|
}), t;
|
1444
1444
|
}
|
1445
1445
|
createUser(e) {
|
1446
|
-
const t = new
|
1446
|
+
const t = new qr(e);
|
1447
1447
|
return t.subscribe().subscribe((n) => {
|
1448
1448
|
this.printEntry(n);
|
1449
1449
|
}), t;
|
1450
1450
|
}
|
1451
1451
|
createSystem() {
|
1452
|
-
const e = new
|
1452
|
+
const e = new Zr();
|
1453
1453
|
return e.subscribe().subscribe((t) => {
|
1454
1454
|
this.printEntry(t);
|
1455
1455
|
}), e;
|
@@ -1485,7 +1485,7 @@ class Fl {
|
|
1485
1485
|
* Copyright 2019 Google LLC
|
1486
1486
|
* SPDX-License-Identifier: BSD-3-Clause
|
1487
1487
|
*/
|
1488
|
-
const
|
1488
|
+
const Ke = globalThis, on = Ke.ShadowRoot && (Ke.ShadyCSS === void 0 || Ke.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, an = Symbol(), Zn = /* @__PURE__ */ new WeakMap();
|
1489
1489
|
let ni = class {
|
1490
1490
|
constructor(e, t, n) {
|
1491
1491
|
if (this._$cssResult$ = !0, n !== an) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
@@ -1504,33 +1504,33 @@ let ni = class {
|
|
1504
1504
|
return this.cssText;
|
1505
1505
|
}
|
1506
1506
|
};
|
1507
|
-
const
|
1507
|
+
const Wr = (s) => new ni(typeof s == "string" ? s : s + "", void 0, an), E = (s, ...e) => {
|
1508
1508
|
const t = s.length === 1 ? s[0] : e.reduce((n, i, r) => n + ((o) => {
|
1509
1509
|
if (o._$cssResult$ === !0) return o.cssText;
|
1510
1510
|
if (typeof o == "number") return o;
|
1511
1511
|
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.");
|
1512
1512
|
})(i) + s[r + 1], s[0]);
|
1513
1513
|
return new ni(t, s, an);
|
1514
|
-
},
|
1514
|
+
}, Yr = (s, e) => {
|
1515
1515
|
if (on) s.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet);
|
1516
1516
|
else for (const t of e) {
|
1517
|
-
const n = document.createElement("style"), i =
|
1517
|
+
const n = document.createElement("style"), i = Ke.litNonce;
|
1518
1518
|
i !== void 0 && n.setAttribute("nonce", i), n.textContent = t.cssText, s.appendChild(n);
|
1519
1519
|
}
|
1520
1520
|
}, Wn = on ? (s) => s : (s) => s instanceof CSSStyleSheet ? ((e) => {
|
1521
1521
|
let t = "";
|
1522
1522
|
for (const n of e.cssRules) t += n.cssText;
|
1523
|
-
return
|
1523
|
+
return Wr(t);
|
1524
1524
|
})(s) : s;
|
1525
1525
|
/**
|
1526
1526
|
* @license
|
1527
1527
|
* Copyright 2017 Google LLC
|
1528
1528
|
* SPDX-License-Identifier: BSD-3-Clause
|
1529
1529
|
*/
|
1530
|
-
const { is:
|
1530
|
+
const { is: Qr, defineProperty: Kr, getOwnPropertyDescriptor: Gr, getOwnPropertyNames: Xr, getOwnPropertySymbols: Vr, getPrototypeOf: Jr } = Object, Q = globalThis, Yn = Q.trustedTypes, eo = Yn ? Yn.emptyScript : "", Et = Q.reactiveElementPolyfillSupport, Se = (s, e) => s, Je = { toAttribute(s, e) {
|
1531
1531
|
switch (e) {
|
1532
1532
|
case Boolean:
|
1533
|
-
s = s ?
|
1533
|
+
s = s ? eo : null;
|
1534
1534
|
break;
|
1535
1535
|
case Object:
|
1536
1536
|
case Array:
|
@@ -1555,7 +1555,7 @@ const { is: Yr, defineProperty: Qr, getOwnPropertyDescriptor: Kr, getOwnProperty
|
|
1555
1555
|
}
|
1556
1556
|
}
|
1557
1557
|
return t;
|
1558
|
-
} }, ln = (s, e) => !
|
1558
|
+
} }, ln = (s, e) => !Qr(s, e), Qn = { attribute: !0, type: String, converter: Je, reflect: !1, hasChanged: ln };
|
1559
1559
|
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), Q.litPropertyMetadata ?? (Q.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
1560
1560
|
let le = class extends HTMLElement {
|
1561
1561
|
static addInitializer(e) {
|
@@ -1567,11 +1567,11 @@ let le = class extends HTMLElement {
|
|
1567
1567
|
static createProperty(e, t = Qn) {
|
1568
1568
|
if (t.state && (t.attribute = !1), this._$Ei(), this.elementProperties.set(e, t), !t.noAccessor) {
|
1569
1569
|
const n = Symbol(), i = this.getPropertyDescriptor(e, n, t);
|
1570
|
-
i !== void 0 &&
|
1570
|
+
i !== void 0 && Kr(this.prototype, e, i);
|
1571
1571
|
}
|
1572
1572
|
}
|
1573
1573
|
static getPropertyDescriptor(e, t, n) {
|
1574
|
-
const { get: i, set: r } =
|
1574
|
+
const { get: i, set: r } = Gr(this.prototype, e) ?? { get() {
|
1575
1575
|
return this[t];
|
1576
1576
|
}, set(o) {
|
1577
1577
|
this[t] = o;
|
@@ -1588,13 +1588,13 @@ let le = class extends HTMLElement {
|
|
1588
1588
|
}
|
1589
1589
|
static _$Ei() {
|
1590
1590
|
if (this.hasOwnProperty(Se("elementProperties"))) return;
|
1591
|
-
const e =
|
1591
|
+
const e = Jr(this);
|
1592
1592
|
e.finalize(), e.l !== void 0 && (this.l = [...e.l]), this.elementProperties = new Map(e.elementProperties);
|
1593
1593
|
}
|
1594
1594
|
static finalize() {
|
1595
1595
|
if (this.hasOwnProperty(Se("finalized"))) return;
|
1596
1596
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(Se("properties"))) {
|
1597
|
-
const t = this.properties, n = [...
|
1597
|
+
const t = this.properties, n = [...Xr(t), ...Vr(t)];
|
1598
1598
|
for (const i of n) this.createProperty(i, t[i]);
|
1599
1599
|
}
|
1600
1600
|
const e = this[Symbol.metadata];
|
@@ -1643,7 +1643,7 @@ let le = class extends HTMLElement {
|
|
1643
1643
|
}
|
1644
1644
|
createRenderRoot() {
|
1645
1645
|
const e = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
1646
|
-
return
|
1646
|
+
return Yr(e, this.constructor.elementStyles), e;
|
1647
1647
|
}
|
1648
1648
|
connectedCallback() {
|
1649
1649
|
var e;
|
@@ -1668,7 +1668,7 @@ let le = class extends HTMLElement {
|
|
1668
1668
|
var r;
|
1669
1669
|
const n = this.constructor.elementProperties.get(e), i = this.constructor._$Eu(e, n);
|
1670
1670
|
if (i !== void 0 && n.reflect === !0) {
|
1671
|
-
const o = (((r = n.converter) == null ? void 0 : r.toAttribute) !== void 0 ? n.converter :
|
1671
|
+
const o = (((r = n.converter) == null ? void 0 : r.toAttribute) !== void 0 ? n.converter : Je).toAttribute(t, n.type);
|
1672
1672
|
this._$Em = e, o == null ? this.removeAttribute(i) : this.setAttribute(i, o), this._$Em = null;
|
1673
1673
|
}
|
1674
1674
|
}
|
@@ -1676,7 +1676,7 @@ let le = class extends HTMLElement {
|
|
1676
1676
|
var r;
|
1677
1677
|
const n = this.constructor, i = n._$Eh.get(e);
|
1678
1678
|
if (i !== void 0 && this._$Em !== i) {
|
1679
|
-
const o = n.getPropertyOptions(i), a = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((r = o.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? o.converter :
|
1679
|
+
const o = n.getPropertyOptions(i), a = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((r = o.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? o.converter : Je;
|
1680
1680
|
this._$Em = i, this[i] = a.fromAttribute(t, o.type), this._$Em = null;
|
1681
1681
|
}
|
1682
1682
|
}
|
@@ -1761,14 +1761,14 @@ le.elementStyles = [], le.shadowRootOptions = { mode: "open" }, le[Se("elementPr
|
|
1761
1761
|
* Copyright 2017 Google LLC
|
1762
1762
|
* SPDX-License-Identifier: BSD-3-Clause
|
1763
1763
|
*/
|
1764
|
-
const _e = globalThis,
|
1764
|
+
const _e = globalThis, et = _e.trustedTypes, Kn = et ? et.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, si = "$lit$", Z = `lit$${Math.random().toFixed(9).slice(2)}$`, ii = "?" + Z, to = `<${ii}>`, ne = document, Te = () => ne.createComment(""), Le = (s) => s === null || typeof s != "object" && typeof s != "function", cn = Array.isArray, no = (s) => cn(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", Tt = `[
|
1765
1765
|
\f\r]`, we = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Gn = /-->/g, Xn = />/g, V = RegExp(`>|${Tt}(?:([^\\s"'>=/]+)(${Tt}*=${Tt}*(?:[^
|
1766
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), Vn = /'/g, Jn = /"/g, ri = /^(?:script|style|textarea|title)$/i,
|
1766
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Vn = /'/g, Jn = /"/g, ri = /^(?:script|style|textarea|title)$/i, so = (s) => (e, ...t) => ({ _$litType$: s, strings: e, values: t }), v = so(1), K = Symbol.for("lit-noChange"), g = Symbol.for("lit-nothing"), es = /* @__PURE__ */ new WeakMap(), ee = ne.createTreeWalker(ne, 129);
|
1767
1767
|
function oi(s, e) {
|
1768
1768
|
if (!cn(s) || !s.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
1769
1769
|
return Kn !== void 0 ? Kn.createHTML(e) : e;
|
1770
1770
|
}
|
1771
|
-
const
|
1771
|
+
const io = (s, e) => {
|
1772
1772
|
const t = s.length - 1, n = [];
|
1773
1773
|
let i, r = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", o = we;
|
1774
1774
|
for (let a = 0; a < t; a++) {
|
@@ -1776,7 +1776,7 @@ const so = (s, e) => {
|
|
1776
1776
|
let c, h, u = -1, d = 0;
|
1777
1777
|
for (; d < l.length && (o.lastIndex = d, h = o.exec(l), h !== null); ) d = o.lastIndex, o === we ? h[1] === "!--" ? o = Gn : h[1] !== void 0 ? o = Xn : h[2] !== void 0 ? (ri.test(h[2]) && (i = RegExp("</" + h[2], "g")), o = V) : h[3] !== void 0 && (o = V) : o === V ? h[0] === ">" ? (o = i ?? we, u = -1) : h[1] === void 0 ? u = -2 : (u = o.lastIndex - h[2].length, c = h[1], o = h[3] === void 0 ? V : h[3] === '"' ? Jn : Vn) : o === Jn || o === Vn ? o = V : o === Gn || o === Xn ? o = we : (o = V, i = void 0);
|
1778
1778
|
const p = o === V && s[a + 1].startsWith("/>") ? " " : "";
|
1779
|
-
r += o === we ? l +
|
1779
|
+
r += o === we ? l + to : u >= 0 ? (n.push(c), l.slice(0, u) + si + l.slice(u) + Z + p) : l + Z + (u === -2 ? a : p);
|
1780
1780
|
}
|
1781
1781
|
return [oi(s, r + (s[t] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), n];
|
1782
1782
|
};
|
@@ -1785,7 +1785,7 @@ let Ft = class ai {
|
|
1785
1785
|
let i;
|
1786
1786
|
this.parts = [];
|
1787
1787
|
let r = 0, o = 0;
|
1788
|
-
const a = e.length - 1, l = this.parts, [c, h] =
|
1788
|
+
const a = e.length - 1, l = this.parts, [c, h] = io(e, t);
|
1789
1789
|
if (this.el = ai.createElement(c, n), ee.currentNode = this.el.content, t === 2 || t === 3) {
|
1790
1790
|
const u = this.el.content.firstChild;
|
1791
1791
|
u.replaceWith(...u.childNodes);
|
@@ -1794,12 +1794,12 @@ let Ft = class ai {
|
|
1794
1794
|
if (i.nodeType === 1) {
|
1795
1795
|
if (i.hasAttributes()) for (const u of i.getAttributeNames()) if (u.endsWith(si)) {
|
1796
1796
|
const d = h[o++], p = i.getAttribute(u).split(Z), m = /([.?@])?(.*)/.exec(d);
|
1797
|
-
l.push({ type: 1, index: r, name: m[2], strings: p, ctor: m[1] === "." ?
|
1797
|
+
l.push({ type: 1, index: r, name: m[2], strings: p, ctor: m[1] === "." ? oo : m[1] === "?" ? ao : m[1] === "@" ? lo : bt }), i.removeAttribute(u);
|
1798
1798
|
} else u.startsWith(Z) && (l.push({ type: 6, index: r }), i.removeAttribute(u));
|
1799
1799
|
if (ri.test(i.tagName)) {
|
1800
1800
|
const u = i.textContent.split(Z), d = u.length - 1;
|
1801
1801
|
if (d > 0) {
|
1802
|
-
i.textContent =
|
1802
|
+
i.textContent = et ? et.emptyScript : "";
|
1803
1803
|
for (let p = 0; p < d; p++) i.append(u[p], Te()), ee.nextNode(), l.push({ type: 2, index: ++r });
|
1804
1804
|
i.append(u[d], Te());
|
1805
1805
|
}
|
@@ -1824,7 +1824,7 @@ function be(s, e, t = s, n) {
|
|
1824
1824
|
const r = Le(e) ? void 0 : e._$litDirective$;
|
1825
1825
|
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 = be(s, i._$AS(s, e.values), i, n)), e;
|
1826
1826
|
}
|
1827
|
-
class
|
1827
|
+
class ro {
|
1828
1828
|
constructor(e, t) {
|
1829
1829
|
this._$AV = [], this._$AN = void 0, this._$AD = e, this._$AM = t;
|
1830
1830
|
}
|
@@ -1841,7 +1841,7 @@ class io {
|
|
1841
1841
|
for (; l !== void 0; ) {
|
1842
1842
|
if (o === l.index) {
|
1843
1843
|
let c;
|
1844
|
-
l.type === 2 ? c = new
|
1844
|
+
l.type === 2 ? c = new je(r, r.nextSibling, this, e) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, e) : l.type === 6 && (c = new co(r, this, e)), this._$AV.push(c), l = n[++a];
|
1845
1845
|
}
|
1846
1846
|
o !== (l == null ? void 0 : l.index) && (r = ee.nextNode(), o++);
|
1847
1847
|
}
|
@@ -1852,7 +1852,7 @@ class io {
|
|
1852
1852
|
for (const n of this._$AV) n !== void 0 && (n.strings !== void 0 ? (n._$AI(e, n, t), t += n.strings.length - 2) : n._$AI(e[t])), t++;
|
1853
1853
|
}
|
1854
1854
|
}
|
1855
|
-
class
|
1855
|
+
class je {
|
1856
1856
|
get _$AU() {
|
1857
1857
|
var e;
|
1858
1858
|
return ((e = this._$AM) == null ? void 0 : e._$AU) ?? this._$Cv;
|
@@ -1872,7 +1872,7 @@ class Ue {
|
|
1872
1872
|
return this._$AB;
|
1873
1873
|
}
|
1874
1874
|
_$AI(e, t = this) {
|
1875
|
-
e = be(this, e, t), Le(e) ? e === g || e == null || e === "" ? (this._$AH !== g && this._$AR(), this._$AH = g) : e !== this._$AH && e !== K && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) :
|
1875
|
+
e = be(this, e, t), Le(e) ? e === g || e == null || e === "" ? (this._$AH !== g && this._$AR(), this._$AH = g) : e !== this._$AH && e !== K && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : no(e) ? this.k(e) : this._(e);
|
1876
1876
|
}
|
1877
1877
|
O(e) {
|
1878
1878
|
return this._$AA.parentNode.insertBefore(e, this._$AB);
|
@@ -1888,7 +1888,7 @@ class Ue {
|
|
1888
1888
|
const { values: t, _$litType$: n } = e, i = typeof n == "number" ? this._$AC(e) : (n.el === void 0 && (n.el = Ft.createElement(oi(n.h, n.h[0]), this.options)), n);
|
1889
1889
|
if (((r = this._$AH) == null ? void 0 : r._$AD) === i) this._$AH.p(t);
|
1890
1890
|
else {
|
1891
|
-
const o = new
|
1891
|
+
const o = new ro(i, this), a = o.u(this.options);
|
1892
1892
|
o.p(t), this.T(a), this._$AH = o;
|
1893
1893
|
}
|
1894
1894
|
}
|
@@ -1900,7 +1900,7 @@ class Ue {
|
|
1900
1900
|
cn(this._$AH) || (this._$AH = [], this._$AR());
|
1901
1901
|
const t = this._$AH;
|
1902
1902
|
let n, i = 0;
|
1903
|
-
for (const r of e) i === t.length ? t.push(n = new
|
1903
|
+
for (const r of e) i === t.length ? t.push(n = new je(this.O(Te()), this.O(Te()), this, this.options)) : n = t[i], n._$AI(r), i++;
|
1904
1904
|
i < t.length && (this._$AR(n && n._$AB.nextSibling, i), t.length = i);
|
1905
1905
|
}
|
1906
1906
|
_$AR(e = this._$AA.nextSibling, t) {
|
@@ -1940,7 +1940,7 @@ class bt {
|
|
1940
1940
|
e === g ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
|
1941
1941
|
}
|
1942
1942
|
}
|
1943
|
-
let
|
1943
|
+
let oo = class extends bt {
|
1944
1944
|
constructor() {
|
1945
1945
|
super(...arguments), this.type = 3;
|
1946
1946
|
}
|
@@ -1948,7 +1948,7 @@ let ro = class extends bt {
|
|
1948
1948
|
this.element[this.name] = e === g ? void 0 : e;
|
1949
1949
|
}
|
1950
1950
|
};
|
1951
|
-
class
|
1951
|
+
class ao extends bt {
|
1952
1952
|
constructor() {
|
1953
1953
|
super(...arguments), this.type = 4;
|
1954
1954
|
}
|
@@ -1956,7 +1956,7 @@ class oo extends bt {
|
|
1956
1956
|
this.element.toggleAttribute(this.name, !!e && e !== g);
|
1957
1957
|
}
|
1958
1958
|
}
|
1959
|
-
class
|
1959
|
+
class lo extends bt {
|
1960
1960
|
constructor(e, t, n, i, r) {
|
1961
1961
|
super(e, t, n, i, r), this.type = 5;
|
1962
1962
|
}
|
@@ -1970,7 +1970,7 @@ class ao extends bt {
|
|
1970
1970
|
typeof this._$AH == "function" ? this._$AH.call(((t = this.options) == null ? void 0 : t.host) ?? this.element, e) : this._$AH.handleEvent(e);
|
1971
1971
|
}
|
1972
1972
|
}
|
1973
|
-
class
|
1973
|
+
class co {
|
1974
1974
|
constructor(e, t, n) {
|
1975
1975
|
this.element = e, this.type = 6, this._$AN = void 0, this._$AM = t, this.options = n;
|
1976
1976
|
}
|
@@ -1982,13 +1982,13 @@ class lo {
|
|
1982
1982
|
}
|
1983
1983
|
}
|
1984
1984
|
const Lt = _e.litHtmlPolyfillSupport;
|
1985
|
-
Lt == null || Lt(Ft,
|
1986
|
-
const
|
1985
|
+
Lt == null || Lt(Ft, je), (_e.litHtmlVersions ?? (_e.litHtmlVersions = [])).push("3.2.1");
|
1986
|
+
const ho = (s, e, t) => {
|
1987
1987
|
const n = (t == null ? void 0 : t.renderBefore) ?? e;
|
1988
1988
|
let i = n._$litPart$;
|
1989
1989
|
if (i === void 0) {
|
1990
1990
|
const r = (t == null ? void 0 : t.renderBefore) ?? null;
|
1991
|
-
n._$litPart$ = i = new
|
1991
|
+
n._$litPart$ = i = new je(e.insertBefore(Te(), r), r, void 0, t ?? {});
|
1992
1992
|
}
|
1993
1993
|
return i._$AI(s), i;
|
1994
1994
|
};
|
@@ -2008,7 +2008,7 @@ let k = class extends le {
|
|
2008
2008
|
}
|
2009
2009
|
update(e) {
|
2010
2010
|
const t = this.render();
|
2011
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do =
|
2011
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = ho(t, this.renderRoot, this.renderOptions);
|
2012
2012
|
}
|
2013
2013
|
connectedCallback() {
|
2014
2014
|
var e;
|
@@ -2027,7 +2027,7 @@ k._$litElement$ = !0, k.finalized = !0, (Rs = globalThis.litElementHydrateSuppor
|
|
2027
2027
|
const Rt = globalThis.litElementPolyfillSupport;
|
2028
2028
|
Rt == null || Rt({ LitElement: k });
|
2029
2029
|
(globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.1.1");
|
2030
|
-
const
|
2030
|
+
const uo = { 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>' }, po = { 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>' }, fo = { 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>' }, go = { 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>' }, mo = { 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>' }, ts = { 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>' }, vo = { 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>' }, bo = { 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>' }, ns = { 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>' }, ce = {
|
2031
2031
|
allRenderFn: !1,
|
2032
2032
|
cmpDidLoad: !0,
|
2033
2033
|
cmpDidUnload: !1,
|
@@ -2111,7 +2111,7 @@ const ho = { name: "alert", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.
|
|
2111
2111
|
transformTagName: !1,
|
2112
2112
|
attachStyles: !0
|
2113
2113
|
};
|
2114
|
-
let he, li, yt, ci = !1,
|
2114
|
+
let he, li, yt, ci = !1, tt = !1, hn = !1, T = !1, ss = null, qt = !1;
|
2115
2115
|
const $t = typeof window < "u" ? window : {}, H = $t.document || { head: {} }, hi = $t.HTMLElement || class {
|
2116
2116
|
}, _ = {
|
2117
2117
|
$flags$: 0,
|
@@ -2121,7 +2121,7 @@ const $t = typeof window < "u" ? window : {}, H = $t.document || { head: {} }, h
|
|
2121
2121
|
ael: (s, e, t, n) => s.addEventListener(e, t, n),
|
2122
2122
|
rel: (s, e, t, n) => s.removeEventListener(e, t, n),
|
2123
2123
|
ce: (s, e) => new CustomEvent(s, e)
|
2124
|
-
},
|
2124
|
+
}, yo = /* @__PURE__ */ (() => {
|
2125
2125
|
let s = !1;
|
2126
2126
|
try {
|
2127
2127
|
H.addEventListener("e", null, Object.defineProperty({}, "passive", {
|
@@ -2132,7 +2132,7 @@ const $t = typeof window < "u" ? window : {}, H = $t.document || { head: {} }, h
|
|
2132
2132
|
} catch {
|
2133
2133
|
}
|
2134
2134
|
return s;
|
2135
|
-
})(),
|
2135
|
+
})(), $o = (s) => Promise.resolve(s), xo = /* @__PURE__ */ (() => {
|
2136
2136
|
try {
|
2137
2137
|
return new CSSStyleSheet(), typeof new CSSStyleSheet().replace == "function";
|
2138
2138
|
} catch {
|
@@ -2140,24 +2140,24 @@ const $t = typeof window < "u" ? window : {}, H = $t.document || { head: {} }, h
|
|
2140
2140
|
return !1;
|
2141
2141
|
})(), ui = (s, e, t, n) => {
|
2142
2142
|
t && t.map(([i, r, o]) => {
|
2143
|
-
const a =
|
2143
|
+
const a = ko(s, i), l = wo(e, o), c = So(i);
|
2144
2144
|
_.ael(a, r, l, c), (e.$rmListeners$ = e.$rmListeners$ || []).push(() => _.rel(a, r, l, c));
|
2145
2145
|
});
|
2146
|
-
},
|
2146
|
+
}, wo = (s, e) => (t) => {
|
2147
2147
|
try {
|
2148
2148
|
ce.lazyLoad || s.$hostElement$[e](t);
|
2149
2149
|
} catch (n) {
|
2150
|
-
|
2150
|
+
Be(n);
|
2151
2151
|
}
|
2152
|
-
},
|
2152
|
+
}, ko = (s, e) => e & 4 ? H : e & 8 ? $t : e & 16 ? H.body : s, So = (s) => yo ? {
|
2153
2153
|
passive: (s & 1) !== 0,
|
2154
2154
|
capture: (s & 2) !== 0
|
2155
2155
|
} : (s & 2) !== 0, is = "http://www.w3.org/1999/xlink", se = (s, e = "") => () => {
|
2156
|
-
}, rs = /* @__PURE__ */ new WeakMap(),
|
2157
|
-
let n =
|
2158
|
-
|
2159
|
-
},
|
2160
|
-
let i = di(e, t), r =
|
2156
|
+
}, rs = /* @__PURE__ */ new WeakMap(), _o = (s, e, t) => {
|
2157
|
+
let n = it.get(s);
|
2158
|
+
xo && t ? (n = n || new CSSStyleSheet(), n.replace(e)) : n = e, it.set(s, n);
|
2159
|
+
}, Co = (s, e, t, n) => {
|
2160
|
+
let i = di(e, t), r = it.get(i);
|
2161
2161
|
if (s = s.nodeType === 11 ? s : H, r)
|
2162
2162
|
if (typeof r == "string") {
|
2163
2163
|
s = s.head || s;
|
@@ -2165,14 +2165,14 @@ const $t = typeof window < "u" ? window : {}, H = $t.document || { head: {} }, h
|
|
2165
2165
|
o || rs.set(s, o = /* @__PURE__ */ new Set()), o.has(i) || (a = H.createElement("style"), a.innerHTML = r, s.insertBefore(a, s.querySelector("link")), o && o.add(i));
|
2166
2166
|
} else s.adoptedStyleSheets.includes(r) || (s.adoptedStyleSheets = [...s.adoptedStyleSheets, r]);
|
2167
2167
|
return i;
|
2168
|
-
},
|
2169
|
-
const e = s.$cmpMeta$, t = s.$hostElement$, n = e.$flags$, i = se("attachStyles", e.$tagName$), r =
|
2168
|
+
}, Ao = (s) => {
|
2169
|
+
const e = s.$cmpMeta$, t = s.$hostElement$, n = e.$flags$, i = se("attachStyles", e.$tagName$), r = Co(t.shadowRoot ? t.shadowRoot : t.getRootNode(), e, s.$modeName$);
|
2170
2170
|
n & 10 && (t["s-sc"] = r, t.classList.add(r + "-h"), n & 2 && t.classList.add(r + "-s")), i();
|
2171
|
-
}, di = (s, e) => "sc-" + (e && s.$flags$ & 32 ? s.$tagName$ + "-" + e : s.$tagName$),
|
2171
|
+
}, di = (s, e) => "sc-" + (e && s.$flags$ & 32 ? s.$tagName$ + "-" + e : s.$tagName$), Eo = (s) => na.map((e) => e(s)).find((e) => !!e), os = {}, To = "http://www.w3.org/2000/svg", Lo = "http://www.w3.org/1999/xhtml", Ro = (s) => s != null, un = (s) => (s = typeof s, s === "object" || s === "function"), fe = (s, e, ...t) => {
|
2172
2172
|
let n = null, i = null, r = null, o = !1, a = !1, l = [];
|
2173
2173
|
const c = (u) => {
|
2174
2174
|
for (let d = 0; d < u.length; d++)
|
2175
|
-
n = u[d], Array.isArray(n) ? c(n) : n != null && typeof n != "boolean" && ((o = typeof s != "function" && !un(n)) && (n = String(n)), o && a ? l[l.length - 1].$text$ += n : l.push(o ?
|
2175
|
+
n = u[d], Array.isArray(n) ? c(n) : n != null && typeof n != "boolean" && ((o = typeof s != "function" && !un(n)) && (n = String(n)), o && a ? l[l.length - 1].$text$ += n : l.push(o ? nt(null, n) : n), a = o);
|
2176
2176
|
};
|
2177
2177
|
if (c(t), e) {
|
2178
2178
|
e.key && (i = e.key), e.name && (r = e.name);
|
@@ -2182,10 +2182,10 @@ const $t = typeof window < "u" ? window : {}, H = $t.document || { head: {} }, h
|
|
2182
2182
|
}
|
2183
2183
|
}
|
2184
2184
|
if (typeof s == "function")
|
2185
|
-
return s(e === null ? {} : e, l,
|
2186
|
-
const h =
|
2185
|
+
return s(e === null ? {} : e, l, Po);
|
2186
|
+
const h = nt(s, null);
|
2187
2187
|
return h.$attrs$ = e, l.length > 0 && (h.$children$ = l), h.$key$ = i, h.$name$ = r, h;
|
2188
|
-
},
|
2188
|
+
}, nt = (s, e) => {
|
2189
2189
|
const t = {
|
2190
2190
|
$flags$: 0,
|
2191
2191
|
$tag$: s,
|
@@ -2194,9 +2194,9 @@ const $t = typeof window < "u" ? window : {}, H = $t.document || { head: {} }, h
|
|
2194
2194
|
$children$: null
|
2195
2195
|
};
|
2196
2196
|
return t.$attrs$ = null, t.$key$ = null, t.$name$ = null, t;
|
2197
|
-
}, dn = {},
|
2197
|
+
}, dn = {}, Oo = (s) => s && s.$tag$ === dn, Po = {
|
2198
2198
|
forEach: (s, e) => s.map(as).forEach(e),
|
2199
|
-
map: (s, e) => s.map(as).map(e).map(
|
2199
|
+
map: (s, e) => s.map(as).map(e).map(Io)
|
2200
2200
|
}, as = (s) => ({
|
2201
2201
|
vattrs: s.$attrs$,
|
2202
2202
|
vchildren: s.$children$,
|
@@ -2204,12 +2204,12 @@ const $t = typeof window < "u" ? window : {}, H = $t.document || { head: {} }, h
|
|
2204
2204
|
vname: s.$name$,
|
2205
2205
|
vtag: s.$tag$,
|
2206
2206
|
vtext: s.$text$
|
2207
|
-
}),
|
2207
|
+
}), Io = (s) => {
|
2208
2208
|
if (typeof s.vtag == "function") {
|
2209
2209
|
const t = Object.assign({}, s.vattrs);
|
2210
2210
|
return s.vkey && (t.key = s.vkey), s.vname && (t.name = s.vname), fe(s.vtag, t, ...s.vchildren || []);
|
2211
2211
|
}
|
2212
|
-
const e =
|
2212
|
+
const e = nt(s.vtag, s.vtext);
|
2213
2213
|
return e.$attrs$ = s.vattrs, e.$children$ = s.vchildren, e.$key$ = s.vkey, e.$name$ = s.vname, e;
|
2214
2214
|
}, ls = (s, e, t, n, i, r) => {
|
2215
2215
|
if (t !== n) {
|
@@ -2243,13 +2243,13 @@ const $t = typeof window < "u" ? window : {}, H = $t.document || { head: {} }, h
|
|
2243
2243
|
a !== (a = a.replace(/^xlink\:?/, "")) && (e = a, c = !0), n == null || n === !1 ? (n !== !1 || s.getAttribute(e) === "") && (c ? s.removeAttributeNS(is, e) : s.removeAttribute(e)) : (!o || r & 4 || i) && !l && (n = n === !0 ? "" : n, c ? s.setAttributeNS(is, e, n) : s.setAttribute(e, n));
|
2244
2244
|
}
|
2245
2245
|
}
|
2246
|
-
},
|
2246
|
+
}, Mo = /\s/, cs = (s) => s ? s.split(Mo) : [], pi = (s, e, t, n) => {
|
2247
2247
|
const i = e.$elm$.nodeType === 11 && e.$elm$.host ? e.$elm$.host : e.$elm$, r = s && s.$attrs$ || os, o = e.$attrs$ || os;
|
2248
2248
|
for (n in r)
|
2249
2249
|
n in o || ls(i, n, r[n], void 0, t, e.$flags$);
|
2250
2250
|
for (n in o)
|
2251
2251
|
ls(i, n, r[n], o[n], t, e.$flags$);
|
2252
|
-
},
|
2252
|
+
}, st = (s, e, t, n) => {
|
2253
2253
|
let i = e.$children$[t], r = 0, o, a, l;
|
2254
2254
|
if (ci || (hn = !0, i.$tag$ === "slot" && (he && n.classList.add(he + "-s"), i.$flags$ |= i.$children$ ? (
|
2255
2255
|
// slot element has fallback content
|
@@ -2262,9 +2262,9 @@ const $t = typeof window < "u" ? window : {}, H = $t.document || { head: {} }, h
|
|
2262
2262
|
else if (i.$flags$ & 1)
|
2263
2263
|
o = i.$elm$ = H.createTextNode("");
|
2264
2264
|
else {
|
2265
|
-
if (T || (T = i.$tag$ === "svg"), o = i.$elm$ = H.createElementNS(T ?
|
2265
|
+
if (T || (T = i.$tag$ === "svg"), o = i.$elm$ = H.createElementNS(T ? To : Lo, i.$flags$ & 2 ? "slot-fb" : i.$tag$), T && i.$tag$ === "foreignObject" && (T = !1), pi(null, i, T), Ro(he) && o["s-si"] !== he && o.classList.add(o["s-si"] = he), i.$children$)
|
2266
2266
|
for (r = 0; r < i.$children$.length; ++r)
|
2267
|
-
a =
|
2267
|
+
a = st(s, i, r, o), a && o.appendChild(a);
|
2268
2268
|
i.$tag$ === "svg" ? T = !1 : o.tagName === "foreignObject" && (T = !0);
|
2269
2269
|
}
|
2270
2270
|
return o["s-hn"] = yt, i.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] = li, o["s-sn"] = i.$name$ || "", l = s && s.$children$ && s.$children$[t], l && l.$tag$ === i.$tag$ && s.$elm$ && Re(s.$elm$, !1)), o;
|
@@ -2279,11 +2279,11 @@ const $t = typeof window < "u" ? window : {}, H = $t.document || { head: {} }, h
|
|
2279
2279
|
}, fi = (s, e, t, n, i, r) => {
|
2280
2280
|
let o = s["s-cr"] && s["s-cr"].parentNode || s, a;
|
2281
2281
|
for (o.shadowRoot && o.tagName === yt && (o = o.shadowRoot); i <= r; ++i)
|
2282
|
-
n[i] && (a =
|
2282
|
+
n[i] && (a = st(null, t, i, s), a && (n[i].$elm$ = a, o.insertBefore(a, pn(e))));
|
2283
2283
|
}, gi = (s, e, t, n, i) => {
|
2284
2284
|
for (; e <= t; ++e)
|
2285
|
-
(n = s[e]) && (i = n.$elm$, yi(n),
|
2286
|
-
},
|
2285
|
+
(n = s[e]) && (i = n.$elm$, yi(n), tt = !0, i["s-ol"] ? i["s-ol"].remove() : Re(i, !0), i.remove());
|
2286
|
+
}, zo = (s, e, t, n) => {
|
2287
2287
|
let i = 0, r = 0, o = 0, a = 0, l = e.length - 1, c = e[0], h = e[l], u = n.length - 1, d = n[0], p = n[u], m, f;
|
2288
2288
|
for (; i <= l && r <= u; )
|
2289
2289
|
if (c == null)
|
@@ -2294,13 +2294,13 @@ const $t = typeof window < "u" ? window : {}, H = $t.document || { head: {} }, h
|
|
2294
2294
|
d = n[++r];
|
2295
2295
|
else if (p == null)
|
2296
2296
|
p = n[--u];
|
2297
|
-
else if (
|
2297
|
+
else if (Ze(c, d))
|
2298
2298
|
ue(c, d), c = e[++i], d = n[++r];
|
2299
|
-
else if (
|
2299
|
+
else if (Ze(h, p))
|
2300
2300
|
ue(h, p), h = e[--l], p = n[--u];
|
2301
|
-
else if (
|
2301
|
+
else if (Ze(c, p))
|
2302
2302
|
(c.$tag$ === "slot" || p.$tag$ === "slot") && Re(c.$elm$.parentNode, !1), ue(c, p), s.insertBefore(c.$elm$, h.$elm$.nextSibling), c = e[++i], p = n[--u];
|
2303
|
-
else if (
|
2303
|
+
else if (Ze(h, d))
|
2304
2304
|
(c.$tag$ === "slot" || p.$tag$ === "slot") && Re(h.$elm$.parentNode, !1), ue(h, d), s.insertBefore(h.$elm$, c.$elm$), h = e[--l], d = n[++r];
|
2305
2305
|
else {
|
2306
2306
|
for (o = -1, a = i; a <= l; ++a)
|
@@ -2308,13 +2308,13 @@ const $t = typeof window < "u" ? window : {}, H = $t.document || { head: {} }, h
|
|
2308
2308
|
o = a;
|
2309
2309
|
break;
|
2310
2310
|
}
|
2311
|
-
o >= 0 ? (f = e[o], f.$tag$ !== d.$tag$ ? m =
|
2311
|
+
o >= 0 ? (f = e[o], f.$tag$ !== d.$tag$ ? m = st(e && e[r], t, o, s) : (ue(f, d), e[o] = void 0, m = f.$elm$), d = n[++r]) : (m = st(e && e[r], t, r, s), d = n[++r]), m && mi(c.$elm$).insertBefore(m, pn(c.$elm$));
|
2312
2312
|
}
|
2313
2313
|
i > l ? fi(s, n[u + 1] == null ? null : n[u + 1].$elm$, t, n, r, u) : r > u && gi(e, i, l);
|
2314
|
-
},
|
2314
|
+
}, Ze = (s, e) => s.$tag$ === e.$tag$ ? s.$tag$ === "slot" ? s.$name$ === e.$name$ : s.$key$ === e.$key$ : !1, pn = (s) => s && s["s-ol"] || s, mi = (s) => (s["s-ol"] ? s["s-ol"] : s).parentNode, ue = (s, e) => {
|
2315
2315
|
const t = e.$elm$ = s.$elm$, n = s.$children$, i = e.$children$, r = e.$tag$, o = e.$text$;
|
2316
2316
|
let a;
|
2317
|
-
o === null ? (T = r === "svg" ? !0 : r === "foreignObject" ? !1 : T, r === "slot" || pi(s, e, T), n !== null && i !== null ?
|
2317
|
+
o === null ? (T = r === "svg" ? !0 : r === "foreignObject" ? !1 : T, r === "slot" || pi(s, e, T), n !== null && i !== null ? zo(t, n, e, i) : i !== null ? (s.$text$ !== null && (t.textContent = ""), fi(t, null, e, i, 0, i.length - 1)) : n !== null && gi(n, 0, n.length - 1), T && r === "svg" && (T = !1)) : (a = t["s-cr"]) ? a.parentNode.textContent = o : s.$text$ !== o && (t.data = o);
|
2318
2318
|
}, vi = (s) => {
|
2319
2319
|
let e = s.childNodes, t, n, i, r, o, a;
|
2320
2320
|
for (n = 0, i = e.length; n < i; n++)
|
@@ -2338,7 +2338,7 @@ const $t = typeof window < "u" ? window : {}, H = $t.document || { head: {} }, h
|
|
2338
2338
|
for (; a < c; a++) {
|
2339
2339
|
if (e = l[a], e["s-sr"] && (t = e["s-cr"]) && t.parentNode)
|
2340
2340
|
for (n = t.parentNode.childNodes, i = e["s-sn"], o = n.length - 1; o >= 0; o--)
|
2341
|
-
t = n[o], !t["s-cn"] && !t["s-nr"] && t["s-hn"] !== e["s-hn"] && (hs(t, i) ? (r = P.find((h) => h.$nodeToRelocate$ === t),
|
2341
|
+
t = n[o], !t["s-cn"] && !t["s-nr"] && t["s-hn"] !== e["s-hn"] && (hs(t, i) ? (r = P.find((h) => h.$nodeToRelocate$ === t), tt = !0, t["s-sn"] = t["s-sn"] || i, r ? r.$slotRefNode$ = e : P.push({
|
2342
2342
|
$slotRefNode$: e,
|
2343
2343
|
$nodeToRelocate$: t
|
2344
2344
|
}), t["s-sr"] && P.map((h) => {
|
@@ -2350,9 +2350,9 @@ const $t = typeof window < "u" ? window : {}, H = $t.document || { head: {} }, h
|
|
2350
2350
|
}
|
2351
2351
|
}, hs = (s, e) => s.nodeType === 1 ? s.getAttribute("slot") === null && e === "" || s.getAttribute("slot") === e : s["s-sn"] === e ? !0 : e === "", yi = (s) => {
|
2352
2352
|
s.$attrs$ && s.$attrs$.ref && s.$attrs$.ref(null), s.$children$ && s.$children$.map(yi);
|
2353
|
-
},
|
2354
|
-
const t = s.$hostElement$, n = s.$cmpMeta$, i = s.$vnode$ ||
|
2355
|
-
yt = 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, he = t["s-sc"], li = t["s-cr"], ci = (n.$flags$ & 1) !== 0,
|
2353
|
+
}, Uo = (s, e) => {
|
2354
|
+
const t = s.$hostElement$, n = s.$cmpMeta$, i = s.$vnode$ || nt(null, null), r = Oo(e) ? e : fe(null, null, e);
|
2355
|
+
yt = 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, he = t["s-sc"], li = t["s-cr"], ci = (n.$flags$ & 1) !== 0, tt = !1, ue(i, r);
|
2356
2356
|
{
|
2357
2357
|
if (_.$flags$ |= 1, hn) {
|
2358
2358
|
bi(r.$elm$);
|
@@ -2370,39 +2370,39 @@ const $t = typeof window < "u" ? window : {}, H = $t.document || { head: {} }, h
|
|
2370
2370
|
} else
|
2371
2371
|
a.nodeType === 1 && (a.hidden = !0);
|
2372
2372
|
}
|
2373
|
-
|
2373
|
+
tt && vi(r.$elm$), _.$flags$ &= -2, P.length = 0;
|
2374
2374
|
}
|
2375
|
-
},
|
2376
|
-
const n =
|
2375
|
+
}, jo = (s) => s, Bo = (s, e, t) => {
|
2376
|
+
const n = jo(s);
|
2377
2377
|
return {
|
2378
|
-
emit: (i) =>
|
2378
|
+
emit: (i) => Ho(n, e, {
|
2379
2379
|
bubbles: !!(t & 4),
|
2380
2380
|
composed: !!(t & 2),
|
2381
2381
|
cancelable: !!(t & 1),
|
2382
2382
|
detail: i
|
2383
2383
|
})
|
2384
2384
|
};
|
2385
|
-
},
|
2385
|
+
}, Ho = (s, e, t) => {
|
2386
2386
|
const n = _.ce(e, t);
|
2387
2387
|
return s.dispatchEvent(n), n;
|
2388
|
-
},
|
2389
|
-
}, $i = (s, e) => (s.$flags$ |= 16,
|
2388
|
+
}, No = (s, e) => {
|
2389
|
+
}, $i = (s, e) => (s.$flags$ |= 16, No(s, s.$ancestorComponent$), ra(() => Do(s, e))), Do = (s, e) => {
|
2390
2390
|
const t = s.$hostElement$, n = se("scheduleUpdate", s.$cmpMeta$.$tagName$), i = t;
|
2391
2391
|
let r;
|
2392
|
-
return e ? r = ge(i, "componentWillLoad") : r = ge(i, "componentWillUpdate"), r = us(r, () => ge(i, "componentWillRender")), n(), us(r, () =>
|
2393
|
-
},
|
2392
|
+
return e ? r = ge(i, "componentWillLoad") : r = ge(i, "componentWillUpdate"), r = us(r, () => ge(i, "componentWillRender")), n(), us(r, () => Fo(s, i, e));
|
2393
|
+
}, Fo = async (s, e, t) => {
|
2394
2394
|
const n = s.$hostElement$, i = se("update", s.$cmpMeta$.$tagName$);
|
2395
|
-
n["s-rc"], t &&
|
2395
|
+
n["s-rc"], t && Ao(s);
|
2396
2396
|
const r = se("render", s.$cmpMeta$.$tagName$);
|
2397
|
-
|
2398
|
-
},
|
2397
|
+
qo(s, e, n), r(), i(), Zo(s);
|
2398
|
+
}, qo = (s, e, t) => {
|
2399
2399
|
try {
|
2400
|
-
ss = e, e = e.render && e.render(), s.$flags$ &= -17, s.$flags$ |= 2, (ce.hasRenderFn || ce.reflect) && (ce.vdomRender || ce.reflect) && (ce.hydrateServerSide ||
|
2400
|
+
ss = e, e = e.render && e.render(), s.$flags$ &= -17, s.$flags$ |= 2, (ce.hasRenderFn || ce.reflect) && (ce.vdomRender || ce.reflect) && (ce.hydrateServerSide || Uo(s, e));
|
2401
2401
|
} catch (a) {
|
2402
|
-
|
2402
|
+
Be(a, s.$hostElement$);
|
2403
2403
|
}
|
2404
2404
|
return ss = null, null;
|
2405
|
-
},
|
2405
|
+
}, Zo = (s) => {
|
2406
2406
|
const e = s.$cmpMeta$.$tagName$, t = s.$hostElement$, n = se("postUpdate", e), i = t;
|
2407
2407
|
s.$ancestorComponent$, ge(i, "componentDidRender"), s.$flags$ & 64 ? (ge(i, "componentDidUpdate"), n()) : (s.$flags$ |= 64, ge(i, "componentDidLoad"), n());
|
2408
2408
|
}, ge = (s, e, t) => {
|
@@ -2410,11 +2410,11 @@ const $t = typeof window < "u" ? window : {}, H = $t.document || { head: {} }, h
|
|
2410
2410
|
try {
|
2411
2411
|
return s[e](t);
|
2412
2412
|
} catch (n) {
|
2413
|
-
|
2413
|
+
Be(n);
|
2414
2414
|
}
|
2415
|
-
}, us = (s, e) => s && s.then ? s.then(e) : e(),
|
2415
|
+
}, us = (s, e) => s && s.then ? s.then(e) : e(), Wo = (s, e) => s != null && !un(s) ? e & 4 ? s === "false" ? !1 : s === "" || !!s : e & 2 ? parseFloat(s) : e & 1 ? String(s) : s : s, Yo = (s, e) => xt(s).$instanceValues$.get(e), Qo = (s, e, t, n) => {
|
2416
2416
|
const i = xt(s), r = s, o = i.$instanceValues$.get(e), a = i.$flags$, l = r;
|
2417
|
-
t =
|
2417
|
+
t = Wo(t, n.$members$[e][0]);
|
2418
2418
|
const c = Number.isNaN(o) && Number.isNaN(t);
|
2419
2419
|
if (t !== o && !c) {
|
2420
2420
|
i.$instanceValues$.set(e, t);
|
@@ -2425,7 +2425,7 @@ const $t = typeof window < "u" ? window : {}, H = $t.document || { head: {} }, h
|
|
2425
2425
|
try {
|
2426
2426
|
l[d](t, o, e);
|
2427
2427
|
} catch (p) {
|
2428
|
-
|
2428
|
+
Be(p, r);
|
2429
2429
|
}
|
2430
2430
|
});
|
2431
2431
|
}
|
@@ -2436,17 +2436,17 @@ const $t = typeof window < "u" ? window : {}, H = $t.document || { head: {} }, h
|
|
2436
2436
|
}
|
2437
2437
|
}
|
2438
2438
|
}
|
2439
|
-
},
|
2439
|
+
}, Ko = (s, e, t) => {
|
2440
2440
|
if (e.$members$) {
|
2441
2441
|
s.watchers && (e.$watchers$ = s.watchers);
|
2442
2442
|
const n = Object.entries(e.$members$), i = s.prototype;
|
2443
2443
|
n.map(([r, [o]]) => {
|
2444
2444
|
(o & 31 || o & 32) && Object.defineProperty(i, r, {
|
2445
2445
|
get() {
|
2446
|
-
return
|
2446
|
+
return Yo(this, r);
|
2447
2447
|
},
|
2448
2448
|
set(a) {
|
2449
|
-
|
2449
|
+
Qo(this, r, a, e);
|
2450
2450
|
},
|
2451
2451
|
configurable: !0,
|
2452
2452
|
enumerable: !0
|
@@ -2473,32 +2473,32 @@ const $t = typeof window < "u" ? window : {}, H = $t.document || { head: {} }, h
|
|
2473
2473
|
}
|
2474
2474
|
}
|
2475
2475
|
return s;
|
2476
|
-
},
|
2476
|
+
}, Go = async (s, e, t, n, i) => {
|
2477
2477
|
if (!(e.$flags$ & 32) && (i = s.constructor, e.$flags$ |= 32, customElements.whenDefined(t.$tagName$).then(() => e.$flags$ |= 128), i.style)) {
|
2478
2478
|
let o = i.style;
|
2479
|
-
typeof o != "string" && (o = o[e.$modeName$ =
|
2479
|
+
typeof o != "string" && (o = o[e.$modeName$ = Eo(s)]);
|
2480
2480
|
const a = di(t, e.$modeName$);
|
2481
|
-
if (!
|
2481
|
+
if (!it.has(a)) {
|
2482
2482
|
const l = se("registerStyles", t.$tagName$);
|
2483
|
-
|
2483
|
+
_o(a, o, !!(t.$flags$ & 1)), l();
|
2484
2484
|
}
|
2485
2485
|
}
|
2486
2486
|
e.$ancestorComponent$, $i(e, !0);
|
2487
|
-
}, Go = (s) => {
|
2488
2487
|
}, Xo = (s) => {
|
2488
|
+
}, Vo = (s) => {
|
2489
2489
|
if (!(_.$flags$ & 1)) {
|
2490
2490
|
const e = xt(s), t = e.$cmpMeta$, n = se("connectedCallback", t.$tagName$);
|
2491
|
-
e.$flags$ & 1 ? (ui(s, e, t.$listeners$),
|
2491
|
+
e.$flags$ & 1 ? (ui(s, e, t.$listeners$), Xo(e.$lazyInstance$)) : (e.$flags$ |= 1, t.$flags$ & 12 && Jo(s), t.$members$ && Object.entries(t.$members$).map(([i, [r]]) => {
|
2492
2492
|
if (r & 31 && s.hasOwnProperty(i)) {
|
2493
2493
|
const o = s[i];
|
2494
2494
|
delete s[i], s[i] = o;
|
2495
2495
|
}
|
2496
|
-
}),
|
2496
|
+
}), Go(s, e, t)), n();
|
2497
2497
|
}
|
2498
|
-
},
|
2498
|
+
}, Jo = (s) => {
|
2499
2499
|
const e = s["s-cr"] = H.createComment("");
|
2500
2500
|
e["s-cn"] = !0, s.insertBefore(e, s.firstChild);
|
2501
|
-
},
|
2501
|
+
}, ea = (s) => {
|
2502
2502
|
if (!(_.$flags$ & 1)) {
|
2503
2503
|
const e = xt(s);
|
2504
2504
|
e.$rmListeners$ && (e.$rmListeners$.map((t) => t()), e.$rmListeners$ = void 0);
|
@@ -2512,13 +2512,13 @@ const $t = typeof window < "u" ? window : {}, H = $t.document || { head: {} }, h
|
|
2512
2512
|
const n = s.prototype.connectedCallback, i = s.prototype.disconnectedCallback;
|
2513
2513
|
return Object.assign(s.prototype, {
|
2514
2514
|
__registerHost() {
|
2515
|
-
|
2515
|
+
ta(this, t);
|
2516
2516
|
},
|
2517
2517
|
connectedCallback() {
|
2518
|
-
|
2518
|
+
Vo(this), n && n.call(this);
|
2519
2519
|
},
|
2520
2520
|
disconnectedCallback() {
|
2521
|
-
|
2521
|
+
ea(this), i && i.call(this);
|
2522
2522
|
},
|
2523
2523
|
__attachShadow() {
|
2524
2524
|
this.attachShadow({
|
@@ -2526,8 +2526,8 @@ const $t = typeof window < "u" ? window : {}, H = $t.document || { head: {} }, h
|
|
2526
2526
|
delegatesFocus: !!(t.$flags$ & 16)
|
2527
2527
|
});
|
2528
2528
|
}
|
2529
|
-
}), s.is = t.$tagName$,
|
2530
|
-
}, wi = /* @__PURE__ */ new WeakMap(), xt = (s) => wi.get(s),
|
2529
|
+
}), s.is = t.$tagName$, Ko(s, t);
|
2530
|
+
}, wi = /* @__PURE__ */ new WeakMap(), xt = (s) => wi.get(s), ta = (s, e) => {
|
2531
2531
|
const t = {
|
2532
2532
|
$flags$: 0,
|
2533
2533
|
$hostElement$: s,
|
@@ -2535,19 +2535,19 @@ const $t = typeof window < "u" ? window : {}, H = $t.document || { head: {} }, h
|
|
2535
2535
|
$instanceValues$: /* @__PURE__ */ new Map()
|
2536
2536
|
};
|
2537
2537
|
return ui(s, t, e.$listeners$), wi.set(s, t);
|
2538
|
-
}, ds = (s, e) => e in s,
|
2539
|
-
s.push(t), qt || (qt = !0, e && _.$flags$ & 4 ?
|
2538
|
+
}, ds = (s, e) => e in s, Be = (s, e) => (0, console.error)(s, e), it = /* @__PURE__ */ new Map(), na = [], ps = [], ki = [], sa = (s, e) => (t) => {
|
2539
|
+
s.push(t), qt || (qt = !0, e && _.$flags$ & 4 ? ia(Zt) : _.raf(Zt));
|
2540
2540
|
}, fs = (s) => {
|
2541
2541
|
for (let e = 0; e < s.length; e++)
|
2542
2542
|
try {
|
2543
2543
|
s[e](performance.now());
|
2544
2544
|
} catch (t) {
|
2545
|
-
|
2545
|
+
Be(t);
|
2546
2546
|
}
|
2547
2547
|
s.length = 0;
|
2548
2548
|
}, Zt = () => {
|
2549
2549
|
fs(ps), fs(ki), (qt = ps.length > 0) && _.raf(Zt);
|
2550
|
-
},
|
2550
|
+
}, ia = (s) => $o().then(s), ra = /* @__PURE__ */ sa(ki, !0), oa = (s = {}) => {
|
2551
2551
|
const { content: e = "", title: t, attributes: n = [] } = s;
|
2552
2552
|
let i = "", r = [
|
2553
2553
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
@@ -2555,27 +2555,27 @@ const $t = typeof window < "u" ? window : {}, H = $t.document || { head: {} }, h
|
|
2555
2555
|
...n
|
2556
2556
|
];
|
2557
2557
|
return t && (i = `<title>${t}</title>`), `<svg ${r.map((a) => `${a.name}="${a.value}"`).join(" ")}>${i}${e}</svg>`;
|
2558
|
-
},
|
2559
|
-
function
|
2558
|
+
}, aa = (s) => s.replace(/<(\/?)svg([^>]*)>/g, "").trim();
|
2559
|
+
function la(s) {
|
2560
2560
|
return `${s.getFullYear()}.${s.getMonth() + 1}`;
|
2561
2561
|
}
|
2562
|
-
class
|
2562
|
+
class ca {
|
2563
2563
|
constructor(e) {
|
2564
|
-
this.voca_component = e, this.voca_added =
|
2564
|
+
this.voca_component = e, this.voca_added = la(/* @__PURE__ */ new Date());
|
2565
2565
|
}
|
2566
2566
|
}
|
2567
|
-
const
|
2567
|
+
const ha = "telia-vst{display:none}", ua = /* @__PURE__ */ xi(class extends hi {
|
2568
2568
|
constructor() {
|
2569
|
-
super(), this.__registerHost(), this.vocaInternalUStats =
|
2569
|
+
super(), this.__registerHost(), this.vocaInternalUStats = Bo(this, "vocaInternalUStats", 7);
|
2570
2570
|
}
|
2571
2571
|
connectedCallback() {
|
2572
|
-
this.vocaInternalUStats.emit(new
|
2572
|
+
this.vocaInternalUStats.emit(new ca(this.dataTrackingId));
|
2573
2573
|
}
|
2574
2574
|
render() {
|
2575
2575
|
return fe(dn, null);
|
2576
2576
|
}
|
2577
2577
|
static get style() {
|
2578
|
-
return
|
2578
|
+
return ha;
|
2579
2579
|
}
|
2580
2580
|
}, [0, "telia-vst", {
|
2581
2581
|
dataTrackingId: [1, "data-tracking-id"]
|
@@ -2586,7 +2586,7 @@ function Si() {
|
|
2586
2586
|
["telia-vst"].forEach((e) => {
|
2587
2587
|
switch (e) {
|
2588
2588
|
case "telia-vst":
|
2589
|
-
customElements.get(e) || customElements.define(e,
|
2589
|
+
customElements.get(e) || customElements.define(e, ua);
|
2590
2590
|
break;
|
2591
2591
|
}
|
2592
2592
|
});
|
@@ -2595,14 +2595,14 @@ Si();
|
|
2595
2595
|
function Wt() {
|
2596
2596
|
return typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : { vocadsIcons: void 0, vocadsIconsRegistered: !1 };
|
2597
2597
|
}
|
2598
|
-
function
|
2598
|
+
function da() {
|
2599
2599
|
if (typeof Wt().vocadsIcons !== void 0)
|
2600
2600
|
return Wt().vocadsIcons;
|
2601
2601
|
}
|
2602
|
-
function
|
2602
|
+
function pa() {
|
2603
2603
|
return Wt().vocadsIconsRegistered;
|
2604
2604
|
}
|
2605
|
-
const
|
2605
|
+
const fa = ".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))}", ga = /* @__PURE__ */ xi(class extends hi {
|
2606
2606
|
constructor() {
|
2607
2607
|
super(), this.__registerHost(), this.size = "md", this.allyTitle = null, this.dataTrackingId = "telia-icon";
|
2608
2608
|
}
|
@@ -2614,8 +2614,8 @@ const pa = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
|
|
2614
2614
|
getSvgString() {
|
2615
2615
|
if (this.svg)
|
2616
2616
|
return this.svg;
|
2617
|
-
if (
|
2618
|
-
const s =
|
2617
|
+
if (pa() && this.name) {
|
2618
|
+
const s = da();
|
2619
2619
|
return s[this.name] ? s[this.name].svg : "";
|
2620
2620
|
}
|
2621
2621
|
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"), "";
|
@@ -2626,15 +2626,15 @@ const pa = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
|
|
2626
2626
|
...e,
|
2627
2627
|
{ name: "aria-hidden", value: "true" }
|
2628
2628
|
];
|
2629
|
-
const t =
|
2630
|
-
content:
|
2629
|
+
const t = oa({
|
2630
|
+
content: aa(s),
|
2631
2631
|
attributes: e,
|
2632
2632
|
title: this.allyTitle
|
2633
2633
|
});
|
2634
2634
|
return fe(dn, { class: `telia-icon telia-icon--${this.size}` }, fe("span", { "aria-label": this.allyTitle, class: "telia-icon__container", innerHTML: t }), fe("telia-vst", { dataTrackingId: this.dataTrackingId }));
|
2635
2635
|
}
|
2636
2636
|
static get style() {
|
2637
|
-
return
|
2637
|
+
return fa;
|
2638
2638
|
}
|
2639
2639
|
}, [0, "telia-icon", {
|
2640
2640
|
name: [1],
|
@@ -2643,13 +2643,13 @@ const pa = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
|
|
2643
2643
|
allyTitle: [1, "ally-title"],
|
2644
2644
|
dataTestid: [1, "data-testid"]
|
2645
2645
|
}]);
|
2646
|
-
function
|
2646
|
+
function ma() {
|
2647
2647
|
if (typeof customElements > "u")
|
2648
2648
|
return;
|
2649
2649
|
["telia-icon", "telia-vst"].forEach((e) => {
|
2650
2650
|
switch (e) {
|
2651
2651
|
case "telia-icon":
|
2652
|
-
customElements.get(e) || customElements.define(e,
|
2652
|
+
customElements.get(e) || customElements.define(e, ga);
|
2653
2653
|
break;
|
2654
2654
|
case "telia-vst":
|
2655
2655
|
customElements.get(e) || Si();
|
@@ -2657,13 +2657,13 @@ function ga() {
|
|
2657
2657
|
}
|
2658
2658
|
});
|
2659
2659
|
}
|
2660
|
-
|
2660
|
+
ma();
|
2661
2661
|
/**
|
2662
2662
|
* @license
|
2663
2663
|
* Copyright 2017 Google LLC
|
2664
2664
|
* SPDX-License-Identifier: BSD-3-Clause
|
2665
2665
|
*/
|
2666
|
-
const
|
2666
|
+
const va = { attribute: !0, type: String, converter: Je, reflect: !1, hasChanged: ln }, ba = (s = va, e, t) => {
|
2667
2667
|
const { kind: n, metadata: i } = t;
|
2668
2668
|
let r = globalThis.litPropertyMetadata.get(i);
|
2669
2669
|
if (r === void 0 && globalThis.litPropertyMetadata.set(i, r = /* @__PURE__ */ new Map()), r.set(t.name, s), n === "accessor") {
|
@@ -2685,7 +2685,7 @@ const ma = { attribute: !0, type: String, converter: Ve, reflect: !1, hasChanged
|
|
2685
2685
|
throw Error("Unsupported decorator location: " + n);
|
2686
2686
|
};
|
2687
2687
|
function w(s) {
|
2688
|
-
return (e, t) => typeof t == "object" ?
|
2688
|
+
return (e, t) => typeof t == "object" ? ba(s, e, t) : ((n, i, r) => {
|
2689
2689
|
const o = i.hasOwnProperty(r);
|
2690
2690
|
return i.constructor.createProperty(r, o ? { ...n, wrapped: !0 } : n), o ? Object.getOwnPropertyDescriptor(i, r) : void 0;
|
2691
2691
|
})(s, e, t);
|
@@ -2703,7 +2703,7 @@ function C(s) {
|
|
2703
2703
|
* Copyright 2020 Google LLC
|
2704
2704
|
* SPDX-License-Identifier: BSD-3-Clause
|
2705
2705
|
*/
|
2706
|
-
const
|
2706
|
+
const ya = (s) => s.strings === void 0;
|
2707
2707
|
/**
|
2708
2708
|
* @license
|
2709
2709
|
* Copyright 2017 Google LLC
|
@@ -2737,7 +2737,7 @@ const Ce = (s, e) => {
|
|
2737
2737
|
if (t === void 0) return !1;
|
2738
2738
|
for (const i of t) (n = i._$AO) == null || n.call(i, e, !1), Ce(i, e);
|
2739
2739
|
return !0;
|
2740
|
-
},
|
2740
|
+
}, rt = (s) => {
|
2741
2741
|
let e, t;
|
2742
2742
|
do {
|
2743
2743
|
if ((e = s._$AM) === void 0) break;
|
@@ -2748,20 +2748,20 @@ const Ce = (s, e) => {
|
|
2748
2748
|
let t = e._$AN;
|
2749
2749
|
if (t === void 0) e._$AN = t = /* @__PURE__ */ new Set();
|
2750
2750
|
else if (t.has(s)) break;
|
2751
|
-
t.add(s),
|
2751
|
+
t.add(s), wa(e);
|
2752
2752
|
}
|
2753
2753
|
};
|
2754
|
-
function
|
2755
|
-
this._$AN !== void 0 ? (
|
2754
|
+
function $a(s) {
|
2755
|
+
this._$AN !== void 0 ? (rt(this), this._$AM = s, _i(this)) : this._$AM = s;
|
2756
2756
|
}
|
2757
|
-
function
|
2757
|
+
function xa(s, e = !1, t = 0) {
|
2758
2758
|
const n = this._$AH, i = this._$AN;
|
2759
|
-
if (i !== void 0 && i.size !== 0) if (e) if (Array.isArray(n)) for (let r = t; r < n.length; r++) Ce(n[r], !1),
|
2760
|
-
else n != null && (Ce(n, !1),
|
2759
|
+
if (i !== void 0 && i.size !== 0) if (e) if (Array.isArray(n)) for (let r = t; r < n.length; r++) Ce(n[r], !1), rt(n[r]);
|
2760
|
+
else n != null && (Ce(n, !1), rt(n));
|
2761
2761
|
else Ce(this, s);
|
2762
2762
|
}
|
2763
|
-
const
|
2764
|
-
s.type == wt.CHILD && (s._$AP ?? (s._$AP =
|
2763
|
+
const wa = (s) => {
|
2764
|
+
s.type == wt.CHILD && (s._$AP ?? (s._$AP = xa), s._$AQ ?? (s._$AQ = $a));
|
2765
2765
|
};
|
2766
2766
|
let Ci = class extends fn {
|
2767
2767
|
constructor() {
|
@@ -2772,10 +2772,10 @@ let Ci = class extends fn {
|
|
2772
2772
|
}
|
2773
2773
|
_$AO(e, t = !0) {
|
2774
2774
|
var n, i;
|
2775
|
-
e !== this.isConnected && (this.isConnected = e, e ? (n = this.reconnected) == null || n.call(this) : (i = this.disconnected) == null || i.call(this)), t && (Ce(this, e),
|
2775
|
+
e !== this.isConnected && (this.isConnected = e, e ? (n = this.reconnected) == null || n.call(this) : (i = this.disconnected) == null || i.call(this)), t && (Ce(this, e), rt(this));
|
2776
2776
|
}
|
2777
2777
|
setValue(e) {
|
2778
|
-
if (
|
2778
|
+
if (ya(this._$Ct)) this._$Ct._$AI(e, this);
|
2779
2779
|
else {
|
2780
2780
|
const t = [...this._$Ct._$AH];
|
2781
2781
|
t[this._$Ci] = e, this._$Ct._$AI(t, this, 0);
|
@@ -2791,8 +2791,8 @@ let Ci = class extends fn {
|
|
2791
2791
|
* Copyright 2020 Google LLC
|
2792
2792
|
* SPDX-License-Identifier: BSD-3-Clause
|
2793
2793
|
*/
|
2794
|
-
const M = () => new
|
2795
|
-
class
|
2794
|
+
const M = () => new ka();
|
2795
|
+
class ka {
|
2796
2796
|
}
|
2797
2797
|
const Ot = /* @__PURE__ */ new WeakMap(), z = kt(class extends Ci {
|
2798
2798
|
render(s) {
|
@@ -2850,10 +2850,10 @@ const ye = kt(class extends fn {
|
|
2850
2850
|
return K;
|
2851
2851
|
}
|
2852
2852
|
});
|
2853
|
-
var
|
2853
|
+
var Sa = Object.defineProperty, _a = (s, e, t, n) => {
|
2854
2854
|
for (var i = void 0, r = s.length - 1, o; r >= 0; r--)
|
2855
2855
|
(o = s[r]) && (i = o(e, t, i) || i);
|
2856
|
-
return i &&
|
2856
|
+
return i && Sa(e, t, i), i;
|
2857
2857
|
};
|
2858
2858
|
const kn = class kn extends k {
|
2859
2859
|
constructor() {
|
@@ -2886,13 +2886,13 @@ kn.styles = [
|
|
2886
2886
|
}
|
2887
2887
|
`
|
2888
2888
|
];
|
2889
|
-
let
|
2890
|
-
|
2889
|
+
let ot = kn;
|
2890
|
+
_a([
|
2891
2891
|
w({ attribute: !0 })
|
2892
|
-
],
|
2893
|
-
const
|
2892
|
+
], ot.prototype, "anchor");
|
2893
|
+
const Ca = /* @__PURE__ */ new WeakMap();
|
2894
2894
|
let gs = 0;
|
2895
|
-
const Pt = /* @__PURE__ */ new Map(), ms = /* @__PURE__ */ new WeakSet(), vs = () => new Promise((s) => requestAnimationFrame(s)),
|
2895
|
+
const Pt = /* @__PURE__ */ new Map(), ms = /* @__PURE__ */ new WeakSet(), vs = () => new Promise((s) => requestAnimationFrame(s)), Aa = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], Ea = [{ opacity: 0 }], bs = [{ opacity: 0 }, { opacity: 1 }], ys = (s, e) => {
|
2896
2896
|
const t = s - e;
|
2897
2897
|
return t === 0 ? void 0 : t;
|
2898
2898
|
}, $s = (s, e) => {
|
@@ -2914,8 +2914,8 @@ const Pt = /* @__PURE__ */ new Map(), ms = /* @__PURE__ */ new WeakSet(), vs = (
|
|
2914
2914
|
e === 0 && (e = 1, t = { height: "1px" });
|
2915
2915
|
const n = $s(s, e);
|
2916
2916
|
return { value: n, overrideFrom: t, transform: n == null || isNaN(n) ? void 0 : `scaleY(${n})` };
|
2917
|
-
} },
|
2918
|
-
class
|
2917
|
+
} }, Ta = { duration: 333, easing: "ease-in-out" }, La = ["left", "top", "width", "height", "opacity", "color", "background"], xs = /* @__PURE__ */ new WeakMap();
|
2918
|
+
class Ra extends Ci {
|
2919
2919
|
constructor(e) {
|
2920
2920
|
if (super(e), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, e.type === wt.CHILD) throw Error("The `animate` directive must be used in attribute position.");
|
2921
2921
|
this.createFinished();
|
@@ -2934,7 +2934,7 @@ class La extends Ci {
|
|
2934
2934
|
return g;
|
2935
2935
|
}
|
2936
2936
|
getController() {
|
2937
|
-
return
|
2937
|
+
return Ca.get(this.u);
|
2938
2938
|
}
|
2939
2939
|
isDisabled() {
|
2940
2940
|
var e;
|
@@ -2948,7 +2948,7 @@ class La extends Ci {
|
|
2948
2948
|
p(e) {
|
2949
2949
|
e = e ?? {};
|
2950
2950
|
const t = this.getController();
|
2951
|
-
t !== void 0 && ((e = { ...t.defaultOptions, ...e }).keyframeOptions = { ...t.defaultOptions.keyframeOptions, ...e.keyframeOptions }), e.properties ?? (e.properties =
|
2951
|
+
t !== void 0 && ((e = { ...t.defaultOptions, ...e }).keyframeOptions = { ...t.defaultOptions.keyframeOptions, ...e.keyframeOptions }), e.properties ?? (e.properties = La), this.options = e;
|
2952
2952
|
}
|
2953
2953
|
m() {
|
2954
2954
|
const e = {}, t = this.element.getBoundingClientRect(), n = getComputedStyle(this.element);
|
@@ -3037,7 +3037,7 @@ class La extends Ci {
|
|
3037
3037
|
}), e;
|
3038
3038
|
}
|
3039
3039
|
j(e, t = this.O()) {
|
3040
|
-
const n = { ...
|
3040
|
+
const n = { ...Ta };
|
3041
3041
|
return t.forEach((i) => Object.assign(n, i.options.keyframeOptions)), Object.assign(n, e), n;
|
3042
3042
|
}
|
3043
3043
|
N(e, t, n) {
|
@@ -3086,7 +3086,7 @@ class La extends Ci {
|
|
3086
3086
|
this.shouldLog && !this.isDisabled() && console.log(e, this.options.id, t);
|
3087
3087
|
}
|
3088
3088
|
}
|
3089
|
-
const Yt = kt(
|
3089
|
+
const Yt = kt(Ra), F = (s, e, t) => {
|
3090
3090
|
s && t.style.setProperty(e, s);
|
3091
3091
|
}, Ai = (s, e) => {
|
3092
3092
|
var t, n, i, r, o, a, l, c, h;
|
@@ -3120,10 +3120,10 @@ const Yt = kt(La), F = (s, e, t) => {
|
|
3120
3120
|
e
|
3121
3121
|
), F((h = s.colors) == null ? void 0 : h.focusColor, "--focus-color", e);
|
3122
3122
|
};
|
3123
|
-
var
|
3123
|
+
var Oa = Object.defineProperty, He = (s, e, t, n) => {
|
3124
3124
|
for (var i = void 0, r = s.length - 1, o; r >= 0; r--)
|
3125
3125
|
(o = s[r]) && (i = o(e, t, i) || i);
|
3126
|
-
return i &&
|
3126
|
+
return i && Oa(e, t, i), i;
|
3127
3127
|
};
|
3128
3128
|
const Sn = class Sn extends k {
|
3129
3129
|
constructor() {
|
@@ -3172,7 +3172,7 @@ const Sn = class Sn extends k {
|
|
3172
3172
|
const n = (c = this.application) == null ? void 0 : c.triggerIcon;
|
3173
3173
|
if (!n)
|
3174
3174
|
return g;
|
3175
|
-
const i = async (h) =>
|
3175
|
+
const i = async (h) => vo, { type: r, content: o } = n;
|
3176
3176
|
switch (r) {
|
3177
3177
|
case "Telia": {
|
3178
3178
|
const h = await i();
|
@@ -3208,7 +3208,7 @@ const Sn = class Sn extends k {
|
|
3208
3208
|
@click=${this.toggleActive}
|
3209
3209
|
${Yt({
|
3210
3210
|
keyframeOptions: {},
|
3211
|
-
in:
|
3211
|
+
in: Aa,
|
3212
3212
|
stabilizeOut: !0,
|
3213
3213
|
skipInitial: !1
|
3214
3214
|
})}
|
@@ -3391,25 +3391,25 @@ Sn.styles = [
|
|
3391
3391
|
`
|
3392
3392
|
];
|
3393
3393
|
let q = Sn;
|
3394
|
-
|
3394
|
+
He([
|
3395
3395
|
w({ attribute: !1 })
|
3396
3396
|
], q.prototype, "application");
|
3397
|
-
|
3397
|
+
He([
|
3398
3398
|
C()
|
3399
3399
|
], q.prototype, "active");
|
3400
|
-
|
3400
|
+
He([
|
3401
3401
|
C()
|
3402
3402
|
], q.prototype, "triggerVisible");
|
3403
|
-
|
3403
|
+
He([
|
3404
3404
|
C()
|
3405
3405
|
], q.prototype, "loaded");
|
3406
|
-
|
3406
|
+
He([
|
3407
3407
|
C()
|
3408
3408
|
], q.prototype, "icon");
|
3409
|
-
var
|
3409
|
+
var Pa = Object.defineProperty, J = (s, e, t, n) => {
|
3410
3410
|
for (var i = void 0, r = s.length - 1, o; r >= 0; r--)
|
3411
3411
|
(o = s[r]) && (i = o(e, t, i) || i);
|
3412
|
-
return i &&
|
3412
|
+
return i && Pa(e, t, i), i;
|
3413
3413
|
};
|
3414
3414
|
const Ei = (s) => {
|
3415
3415
|
const t = class t extends s {
|
@@ -3485,7 +3485,7 @@ let Qt = _n;
|
|
3485
3485
|
* Copyright 2021 Google LLC
|
3486
3486
|
* SPDX-License-Identifier: BSD-3-Clause
|
3487
3487
|
*/
|
3488
|
-
function*
|
3488
|
+
function* Ia(s, e) {
|
3489
3489
|
if (s !== void 0) {
|
3490
3490
|
let t = 0;
|
3491
3491
|
for (const n of s) yield e(n, t++);
|
@@ -3497,7 +3497,7 @@ var Oe = /* @__PURE__ */ ((s) => (s.Inline = "inline", s.Trigger = "trigger", s)
|
|
3497
3497
|
* Copyright 2021 Google LLC
|
3498
3498
|
* SPDX-License-Identifier: BSD-3-Clause
|
3499
3499
|
*/
|
3500
|
-
let
|
3500
|
+
let Ma = class extends Event {
|
3501
3501
|
constructor(e, t, n) {
|
3502
3502
|
super("context-request", { bubbles: !0, composed: !0 }), this.context = e, this.callback = t, this.subscribe = n ?? !1;
|
3503
3503
|
}
|
@@ -3512,7 +3512,7 @@ let Ia = class extends Event {
|
|
3512
3512
|
* Copyright 2021 Google LLC
|
3513
3513
|
* SPDX-License-Identifier: BSD-3-Clause
|
3514
3514
|
*/
|
3515
|
-
class
|
3515
|
+
class za {
|
3516
3516
|
get value() {
|
3517
3517
|
return this.o;
|
3518
3518
|
}
|
@@ -3545,12 +3545,12 @@ class Ma {
|
|
3545
3545
|
* Copyright 2021 Google LLC
|
3546
3546
|
* SPDX-License-Identifier: BSD-3-Clause
|
3547
3547
|
*/
|
3548
|
-
let
|
3548
|
+
let Ua = class extends Event {
|
3549
3549
|
constructor(e) {
|
3550
3550
|
super("context-provider", { bubbles: !0, composed: !0 }), this.context = e;
|
3551
3551
|
}
|
3552
3552
|
};
|
3553
|
-
class ws extends
|
3553
|
+
class ws extends za {
|
3554
3554
|
constructor(e, t, n) {
|
3555
3555
|
var i, r;
|
3556
3556
|
super(t.context !== void 0 ? t.initialValue : n), this.onContextRequest = (o) => {
|
@@ -3560,7 +3560,7 @@ class ws extends Ma {
|
|
3560
3560
|
const a = o.composedPath()[0];
|
3561
3561
|
if (o.context !== this.context || a === this.host) return;
|
3562
3562
|
const l = /* @__PURE__ */ new Set();
|
3563
|
-
for (const [c, { consumerHost: h }] of this.subscriptions) l.has(c) || (l.add(c), h.dispatchEvent(new
|
3563
|
+
for (const [c, { consumerHost: h }] of this.subscriptions) l.has(c) || (l.add(c), h.dispatchEvent(new Ma(this.context, c, !0)));
|
3564
3564
|
o.stopPropagation();
|
3565
3565
|
}, 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);
|
3566
3566
|
}
|
@@ -3568,7 +3568,7 @@ class ws extends Ma {
|
|
3568
3568
|
this.host.addEventListener("context-request", this.onContextRequest), this.host.addEventListener("context-provider", this.onProviderRequest);
|
3569
3569
|
}
|
3570
3570
|
hostConnected() {
|
3571
|
-
this.host.dispatchEvent(new
|
3571
|
+
this.host.dispatchEvent(new Ua(this.context));
|
3572
3572
|
}
|
3573
3573
|
}
|
3574
3574
|
/**
|
@@ -3576,7 +3576,7 @@ class ws extends Ma {
|
|
3576
3576
|
* Copyright 2017 Google LLC
|
3577
3577
|
* SPDX-License-Identifier: BSD-3-Clause
|
3578
3578
|
*/
|
3579
|
-
function
|
3579
|
+
function ja({ context: s }) {
|
3580
3580
|
return (e, t) => {
|
3581
3581
|
const n = /* @__PURE__ */ new WeakMap();
|
3582
3582
|
if (typeof t == "object") return t.addInitializer(function() {
|
@@ -3613,14 +3613,14 @@ function Ua({ context: s }) {
|
|
3613
3613
|
}
|
3614
3614
|
};
|
3615
3615
|
}
|
3616
|
-
var
|
3616
|
+
var Ba = Object.defineProperty, Ti = (s, e, t, n) => {
|
3617
3617
|
for (var i = void 0, r = s.length - 1, o; r >= 0; r--)
|
3618
3618
|
(o = s[r]) && (i = o(e, t, i) || i);
|
3619
|
-
return i &&
|
3619
|
+
return i && Ba(e, t, i), i;
|
3620
3620
|
};
|
3621
3621
|
const Ha = "application", Cn = class Cn extends k {
|
3622
3622
|
constructor() {
|
3623
|
-
super(...arguments), this.nodes = [], this.wrapperRef = M();
|
3623
|
+
super(...arguments), this.nodes = [], this.wrapperRef = M(), this.mobile = !1;
|
3624
3624
|
}
|
3625
3625
|
addChild(e) {
|
3626
3626
|
e.parent = this, this.nodes.push(e);
|
@@ -3646,7 +3646,7 @@ const Ha = "application", Cn = class Cn extends k {
|
|
3646
3646
|
var n, i;
|
3647
3647
|
const e = this.application.settings.components.conversation;
|
3648
3648
|
return ((i = (n = e == null ? void 0 : e.properties) == null ? void 0 : n.chat) == null ? void 0 : i.isThirdPartyWidget) ? this.renderRoot.host.classList.add("third-party") : this.application.renderStrategy === Oe.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")), this.application.mobile && this.renderRoot.host.classList.add("mobile"), window.self !== window.top && this.renderRoot.host.classList.add("embedded"), v`<div class="widget-container" ${z(this.wrapperRef)}>
|
3649
|
-
${
|
3649
|
+
${Ia(this.nodes, (r) => r)}
|
3650
3650
|
</div>`;
|
3651
3651
|
}
|
3652
3652
|
};
|
@@ -3798,11 +3798,14 @@ Cn.styles = E`
|
|
3798
3798
|
pointer-events: none;
|
3799
3799
|
}
|
3800
3800
|
`;
|
3801
|
-
let
|
3802
|
-
|
3801
|
+
let Pe = Cn;
|
3802
|
+
Ti([
|
3803
|
+
w({ attribute: !0 })
|
3804
|
+
], Pe.prototype, "mobile");
|
3805
|
+
Ti([
|
3803
3806
|
w({ attribute: !1 }),
|
3804
|
-
|
3805
|
-
],
|
3807
|
+
ja({ context: Ha })
|
3808
|
+
], Pe.prototype, "application");
|
3806
3809
|
const ft = class ft {
|
3807
3810
|
// TODO:
|
3808
3811
|
// private static endpoint = 'http://localhost:5299/api'; // TODO:
|
@@ -3896,10 +3899,10 @@ gn([
|
|
3896
3899
|
gn([
|
3897
3900
|
C()
|
3898
3901
|
], $e.prototype, "status");
|
3899
|
-
customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot",
|
3902
|
+
customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", ot);
|
3900
3903
|
customElements.get("ace-trigger") || customElements.define("ace-trigger", q);
|
3901
3904
|
customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", Qt);
|
3902
|
-
customElements.get("ace-wrapper") || customElements.define("ace-wrapper",
|
3905
|
+
customElements.get("ace-wrapper") || customElements.define("ace-wrapper", Pe);
|
3903
3906
|
customElements.get("ace-widget") || customElements.define("ace-widget", $e);
|
3904
3907
|
class Da {
|
3905
3908
|
constructor(e) {
|
@@ -3920,7 +3923,7 @@ class Da {
|
|
3920
3923
|
class Ss {
|
3921
3924
|
constructor(e, t, n, i, r) {
|
3922
3925
|
this.id = e, this.providerKey = t, this.providerOptions = n, this.component = r, this.provider$ = new U(null), this.entries$ = new U([]), this.removeEntryAction$ = new S(), this.kill$ = new S(), this.isTyping$ = new U(!1), this.data$ = new U({}), this.complete$ = this.provider$.pipe(
|
3923
|
-
pe((l) => l ? l.onComplete() :
|
3926
|
+
pe((l) => l ? l.onComplete() : Ue)
|
3924
3927
|
);
|
3925
3928
|
const o = this._getProviderFactory(t);
|
3926
3929
|
if (!o)
|
@@ -3975,7 +3978,7 @@ class Ss {
|
|
3975
3978
|
}
|
3976
3979
|
class Fa {
|
3977
3980
|
constructor(e) {
|
3978
|
-
this.component = e, this.currentSession$ = new U(null), this.sessions = [], this.storage = null,
|
3981
|
+
this.component = e, this.currentSession$ = new U(null), this.sessions = [], this.storage = null, Ve(e, "handover").subscribe((t) => {
|
3979
3982
|
const n = this._createNewSession(
|
3980
3983
|
t.detail.providerKey,
|
3981
3984
|
t.detail.providerOptions
|
@@ -4102,16 +4105,16 @@ class qa {
|
|
4102
4105
|
this.session$.pipe(
|
4103
4106
|
pe((e) => {
|
4104
4107
|
if (!e)
|
4105
|
-
return
|
4108
|
+
return Ue;
|
4106
4109
|
const t = e.removeEntryAction$.pipe(Nt(this.entries$)).pipe(
|
4107
|
-
|
4110
|
+
Xe(([i, r]) => r.filter((o) => o.id !== i.id))
|
4108
4111
|
), n = e.entries().pipe(
|
4109
|
-
|
4112
|
+
Xe((i) => {
|
4110
4113
|
const r = this.entries$.value, o = i.filter((a) => r.findIndex((l) => l.id === a.id) === -1);
|
4111
4114
|
return [...r, ...o];
|
4112
4115
|
})
|
4113
4116
|
);
|
4114
|
-
return
|
4117
|
+
return Br(t, n);
|
4115
4118
|
})
|
4116
4119
|
).subscribe((e) => {
|
4117
4120
|
this.entries$.next(e);
|
@@ -4149,13 +4152,13 @@ const En = class En extends k {
|
|
4149
4152
|
}
|
4150
4153
|
_renderDeliveryStatus(e) {
|
4151
4154
|
return e === "delivered" ? v`<telia-icon
|
4152
|
-
svg=${
|
4155
|
+
svg=${po.svg}
|
4153
4156
|
size="sm"
|
4154
4157
|
></telia-icon>` : e === "failed" ? v`<telia-icon
|
4155
|
-
svg=${
|
4158
|
+
svg=${uo.svg}
|
4156
4159
|
size="sm"
|
4157
4160
|
title="Message could not be delivered"
|
4158
|
-
></telia-icon>` : v`<telia-icon svg=${
|
4161
|
+
></telia-icon>` : v`<telia-icon svg=${fo.svg} size="sm"></telia-icon>`;
|
4159
4162
|
}
|
4160
4163
|
_dispatchEntryAction(e) {
|
4161
4164
|
this.entry.actions$.next(e.detail);
|
@@ -4368,7 +4371,7 @@ let at = En;
|
|
4368
4371
|
Wa([
|
4369
4372
|
w({ attribute: !1 })
|
4370
4373
|
], at.prototype, "entry");
|
4371
|
-
var Ya = Object.defineProperty,
|
4374
|
+
var Ya = Object.defineProperty, Li = (s, e, t, n) => {
|
4372
4375
|
for (var i = void 0, r = s.length - 1, o; r >= 0; r--)
|
4373
4376
|
(o = s[r]) && (i = o(e, t, i) || i);
|
4374
4377
|
return i && Ya(e, t, i), i;
|
@@ -4401,7 +4404,7 @@ const Tn = class Tn extends k {
|
|
4401
4404
|
${Yt({
|
4402
4405
|
keyframeOptions: {},
|
4403
4406
|
in: bs,
|
4404
|
-
out:
|
4407
|
+
out: Ea,
|
4405
4408
|
stabilizeOut: !0,
|
4406
4409
|
skipInitial: !1
|
4407
4410
|
})}
|
@@ -4428,13 +4431,13 @@ Tn.styles = [
|
|
4428
4431
|
}
|
4429
4432
|
`
|
4430
4433
|
];
|
4431
|
-
let
|
4432
|
-
|
4434
|
+
let Ie = Tn;
|
4435
|
+
Li([
|
4433
4436
|
w({ attribute: !1 })
|
4434
|
-
],
|
4435
|
-
|
4437
|
+
], Ie.prototype, "entries");
|
4438
|
+
Li([
|
4436
4439
|
w({ type: Boolean })
|
4437
|
-
],
|
4440
|
+
], Ie.prototype, "loading");
|
4438
4441
|
/**
|
4439
4442
|
* @license
|
4440
4443
|
* Copyright 2021 Google LLC
|
@@ -4634,10 +4637,10 @@ function mn() {
|
|
4634
4637
|
};
|
4635
4638
|
}
|
4636
4639
|
let oe = mn();
|
4637
|
-
function
|
4640
|
+
function Ri(s) {
|
4638
4641
|
oe = s;
|
4639
4642
|
}
|
4640
|
-
const
|
4643
|
+
const Oi = /[&<>"']/, el = new RegExp(Oi.source, "g"), Pi = /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, tl = new RegExp(Pi.source, "g"), nl = {
|
4641
4644
|
"&": "&",
|
4642
4645
|
"<": "<",
|
4643
4646
|
">": ">",
|
@@ -4646,9 +4649,9 @@ const Ri = /[&<>"']/, el = new RegExp(Ri.source, "g"), Oi = /[<>"']|&(?!(#\d{1,7
|
|
4646
4649
|
}, _s = (s) => nl[s];
|
4647
4650
|
function L(s, e) {
|
4648
4651
|
if (e) {
|
4649
|
-
if (
|
4652
|
+
if (Oi.test(s))
|
4650
4653
|
return s.replace(el, _s);
|
4651
|
-
} else if (
|
4654
|
+
} else if (Pi.test(s))
|
4652
4655
|
return s.replace(tl, _s);
|
4653
4656
|
return s;
|
4654
4657
|
}
|
@@ -4696,7 +4699,7 @@ function As(s, e) {
|
|
4696
4699
|
n[i] = n[i].trim().replace(/\\\|/g, "|");
|
4697
4700
|
return n;
|
4698
4701
|
}
|
4699
|
-
function
|
4702
|
+
function We(s, e, t) {
|
4700
4703
|
const n = s.length;
|
4701
4704
|
if (n === 0)
|
4702
4705
|
return "";
|
@@ -4787,7 +4790,7 @@ class ht {
|
|
4787
4790
|
type: "code",
|
4788
4791
|
raw: t[0],
|
4789
4792
|
codeBlockStyle: "indented",
|
4790
|
-
text: this.options.pedantic ? n :
|
4793
|
+
text: this.options.pedantic ? n : We(n, `
|
4791
4794
|
`)
|
4792
4795
|
};
|
4793
4796
|
}
|
@@ -4809,7 +4812,7 @@ class ht {
|
|
4809
4812
|
if (t) {
|
4810
4813
|
let n = t[2].trim();
|
4811
4814
|
if (/#$/.test(n)) {
|
4812
|
-
const i =
|
4815
|
+
const i = We(n, "#");
|
4813
4816
|
(this.options.pedantic || !i || / $/.test(i)) && (n = i.trim());
|
4814
4817
|
}
|
4815
4818
|
return {
|
@@ -4834,7 +4837,7 @@ class ht {
|
|
4834
4837
|
if (t) {
|
4835
4838
|
let n = t[0].replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g, `
|
4836
4839
|
$1`);
|
4837
|
-
n =
|
4840
|
+
n = We(n.replace(/^ *>[ \t]?/gm, ""), `
|
4838
4841
|
`);
|
4839
4842
|
const i = this.lexer.state.top;
|
4840
4843
|
this.lexer.state.top = !0;
|
@@ -5031,7 +5034,7 @@ class ht {
|
|
5031
5034
|
if (!this.options.pedantic && /^</.test(n)) {
|
5032
5035
|
if (!/>$/.test(n))
|
5033
5036
|
return;
|
5034
|
-
const o =
|
5037
|
+
const o = We(n.slice(0, -1), "\\");
|
5035
5038
|
if ((n.length - o.length) % 2 === 0)
|
5036
5039
|
return;
|
5037
5040
|
} else {
|
@@ -5199,24 +5202,24 @@ class ht {
|
|
5199
5202
|
}
|
5200
5203
|
}
|
5201
5204
|
}
|
5202
|
-
const ll = /^(?: *(?:\n|$))+/, cl = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, hl = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,
|
5205
|
+
const ll = /^(?: *(?:\n|$))+/, cl = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, hl = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Ne = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, ul = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, Ii = /(?:[*+-]|\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, Ii).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(), vn = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, dl = /^[^\n]+/, bn = /(?!\s*\])(?:\\.|[^\[\]\\])+/, pl = y(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label", bn).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), fl = y(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, Ii).getRegex(), St = "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", yn = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, gl = 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", yn).replace("tag", St).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), zi = y(vn).replace("hr", Ne).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", St).getRegex(), ml = y(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", zi).getRegex(), $n = {
|
5203
5206
|
blockquote: ml,
|
5204
5207
|
code: cl,
|
5205
5208
|
def: pl,
|
5206
5209
|
fences: hl,
|
5207
5210
|
heading: ul,
|
5208
|
-
hr:
|
5211
|
+
hr: Ne,
|
5209
5212
|
html: gl,
|
5210
|
-
lheading:
|
5213
|
+
lheading: Mi,
|
5211
5214
|
list: fl,
|
5212
5215
|
newline: ll,
|
5213
|
-
paragraph:
|
5216
|
+
paragraph: zi,
|
5214
5217
|
table: Ae,
|
5215
5218
|
text: dl
|
5216
|
-
}, Ts = y("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",
|
5219
|
+
}, Ts = y("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", Ne).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", St).getRegex(), vl = {
|
5217
5220
|
...$n,
|
5218
5221
|
table: Ts,
|
5219
|
-
paragraph: y(vn).replace("hr",
|
5222
|
+
paragraph: y(vn).replace("hr", Ne).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", Ts).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", St).getRegex()
|
5220
5223
|
}, bl = {
|
5221
5224
|
...$n,
|
5222
5225
|
html: y(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", yn).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(),
|
@@ -5225,25 +5228,25 @@ const ll = /^(?: *(?:\n|$))+/, cl = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, hl =
|
|
5225
5228
|
fences: Ae,
|
5226
5229
|
// fences not supported
|
5227
5230
|
lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
|
5228
|
-
paragraph: y(vn).replace("hr",
|
5229
|
-
]`).replace("lheading",
|
5230
|
-
},
|
5231
|
+
paragraph: y(vn).replace("hr", Ne).replace("heading", ` *#{1,6} *[^
|
5232
|
+
]`).replace("lheading", Mi).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
|
5233
|
+
}, Ui = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, yl = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, ji = /^( {2,}|\\)\n(?!\s*$)/, $l = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, De = "\\p{P}\\p{S}", xl = y(/^((?![*_])[\spunctuation])/, "u").replace(/punctuation/g, De).getRegex(), wl = /\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g, kl = y(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/, "u").replace(/punct/g, De).getRegex(), Sl = y("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])", "gu").replace(/punct/g, De).getRegex(), _l = y("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])", "gu").replace(/punct/g, De).getRegex(), Cl = y(/\\([punct])/, "gu").replace(/punct/g, De).getRegex(), Al = 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(), El = y(yn).replace("(?:-->|$)", "-->").getRegex(), Tl = 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", El).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), ut = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, Ll = y(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label", ut).replace("href", /<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), Bi = y(/^!?\[(label)\]\[(ref)\]/).replace("label", ut).replace("ref", bn).getRegex(), Hi = y(/^!?\[(ref)\](?:\[\])?/).replace("ref", bn).getRegex(), Rl = y("reflink|nolink(?!\\()", "g").replace("reflink", Bi).replace("nolink", Hi).getRegex(), xn = {
|
5231
5234
|
_backpedal: Ae,
|
5232
5235
|
// only used for GFM url
|
5233
5236
|
anyPunctuation: Cl,
|
5234
5237
|
autolink: Al,
|
5235
5238
|
blockSkip: wl,
|
5236
|
-
br:
|
5239
|
+
br: ji,
|
5237
5240
|
code: yl,
|
5238
5241
|
del: Ae,
|
5239
5242
|
emStrongLDelim: kl,
|
5240
5243
|
emStrongRDelimAst: Sl,
|
5241
5244
|
emStrongRDelimUnd: _l,
|
5242
|
-
escape:
|
5245
|
+
escape: Ui,
|
5243
5246
|
link: Ll,
|
5244
|
-
nolink:
|
5247
|
+
nolink: Hi,
|
5245
5248
|
punctuation: xl,
|
5246
|
-
reflink:
|
5249
|
+
reflink: Bi,
|
5247
5250
|
reflinkSearch: Rl,
|
5248
5251
|
tag: Tl,
|
5249
5252
|
text: $l,
|
@@ -5254,16 +5257,16 @@ const ll = /^(?: *(?:\n|$))+/, cl = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, hl =
|
|
5254
5257
|
reflink: y(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", ut).getRegex()
|
5255
5258
|
}, Xt = {
|
5256
5259
|
...xn,
|
5257
|
-
escape: y(
|
5260
|
+
escape: y(Ui).replace("])", "~|])").getRegex(),
|
5258
5261
|
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(),
|
5259
5262
|
_backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,
|
5260
5263
|
del: /^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,
|
5261
5264
|
text: /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/
|
5262
5265
|
}, Pl = {
|
5263
5266
|
...Xt,
|
5264
|
-
br: y(
|
5267
|
+
br: y(ji).replace("{2,}", "*").getRegex(),
|
5265
5268
|
text: y(Xt.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
|
5266
|
-
},
|
5269
|
+
}, Ye = {
|
5267
5270
|
normal: $n,
|
5268
5271
|
gfm: vl,
|
5269
5272
|
pedantic: bl
|
@@ -5286,17 +5289,17 @@ class j {
|
|
5286
5289
|
top: !0
|
5287
5290
|
};
|
5288
5291
|
const t = {
|
5289
|
-
block:
|
5292
|
+
block: Ye.normal,
|
5290
5293
|
inline: ke.normal
|
5291
5294
|
};
|
5292
|
-
this.options.pedantic ? (t.block =
|
5295
|
+
this.options.pedantic ? (t.block = Ye.pedantic, t.inline = ke.pedantic) : this.options.gfm && (t.block = Ye.gfm, this.options.breaks ? t.inline = ke.breaks : t.inline = ke.gfm), this.tokenizer.rules = t;
|
5293
5296
|
}
|
5294
5297
|
/**
|
5295
5298
|
* Expose Rules
|
5296
5299
|
*/
|
5297
5300
|
static get rules() {
|
5298
5301
|
return {
|
5299
|
-
block:
|
5302
|
+
block: Ye,
|
5300
5303
|
inline: ke
|
5301
5304
|
};
|
5302
5305
|
}
|
@@ -5850,14 +5853,14 @@ x(Ee, "passThroughHooks", /* @__PURE__ */ new Set([
|
|
5850
5853
|
"postprocess",
|
5851
5854
|
"processAllTokens"
|
5852
5855
|
]));
|
5853
|
-
var re, Vt,
|
5856
|
+
var re, Vt, Ni;
|
5854
5857
|
class Il {
|
5855
5858
|
constructor(...e) {
|
5856
5859
|
Bn(this, re);
|
5857
5860
|
x(this, "defaults", mn());
|
5858
5861
|
x(this, "options", this.setOptions);
|
5859
|
-
x(this, "parse",
|
5860
|
-
x(this, "parseInline",
|
5862
|
+
x(this, "parse", Fe(this, re, Vt).call(this, j.lex, B.parse));
|
5863
|
+
x(this, "parseInline", Fe(this, re, Vt).call(this, j.lexInline, B.parseInline));
|
5861
5864
|
x(this, "Parser", B);
|
5862
5865
|
x(this, "Renderer", dt);
|
5863
5866
|
x(this, "TextRenderer", wn);
|
@@ -5993,7 +5996,7 @@ re = new WeakSet(), Vt = function(e, t) {
|
|
5993
5996
|
return (n, i) => {
|
5994
5997
|
const r = { ...i }, o = { ...this.defaults, ...r };
|
5995
5998
|
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);
|
5996
|
-
const a =
|
5999
|
+
const a = Fe(this, re, Ni).call(this, !!o.silent, !!o.async);
|
5997
6000
|
if (typeof n > "u" || n === null)
|
5998
6001
|
return a(new Error("marked(): input parameter is undefined or null"));
|
5999
6002
|
if (typeof n != "string")
|
@@ -6010,7 +6013,7 @@ re = new WeakSet(), Vt = function(e, t) {
|
|
6010
6013
|
return a(l);
|
6011
6014
|
}
|
6012
6015
|
};
|
6013
|
-
},
|
6016
|
+
}, Ni = function(e, t) {
|
6014
6017
|
return (n) => {
|
6015
6018
|
if (n.message += `
|
6016
6019
|
Please report this to https://github.com/markedjs/marked.`, e) {
|
@@ -6027,12 +6030,12 @@ function b(s, e) {
|
|
6027
6030
|
return ie.parse(s, e);
|
6028
6031
|
}
|
6029
6032
|
b.options = b.setOptions = function(s) {
|
6030
|
-
return ie.setOptions(s), b.defaults = ie.defaults,
|
6033
|
+
return ie.setOptions(s), b.defaults = ie.defaults, Ri(b.defaults), b;
|
6031
6034
|
};
|
6032
6035
|
b.getDefaults = mn;
|
6033
6036
|
b.defaults = oe;
|
6034
6037
|
b.use = function(...s) {
|
6035
|
-
return ie.use(...s), b.defaults = ie.defaults,
|
6038
|
+
return ie.use(...s), b.defaults = ie.defaults, Ri(b.defaults), b;
|
6036
6039
|
};
|
6037
6040
|
b.walkTokens = function(s, e) {
|
6038
6041
|
return ie.walkTokens(s, e);
|
@@ -6054,7 +6057,7 @@ b.walkTokens;
|
|
6054
6057
|
b.parseInline;
|
6055
6058
|
B.parse;
|
6056
6059
|
j.lex;
|
6057
|
-
var Ml = Object.defineProperty,
|
6060
|
+
var Ml = Object.defineProperty, Di = (s, e, t, n) => {
|
6058
6061
|
for (var i = void 0, r = s.length - 1, o; r >= 0; r--)
|
6059
6062
|
(o = s[r]) && (i = o(e, t, i) || i);
|
6060
6063
|
return i && Ml(e, t, i), i;
|
@@ -6115,7 +6118,7 @@ const Pn = class Pn extends k {
|
|
6115
6118
|
if (this.includesImage(this.buffer))
|
6116
6119
|
(r = this.contentRef.value) == null || r.appendChild(document.createElement("div")), this.buffer = "";
|
6117
6120
|
else if (this.buffer.includes("![")) return;
|
6118
|
-
n.innerHTML =
|
6121
|
+
n.innerHTML = Nr(t), this.applyCodeStyles(n), this.autoScroll && this.scrollRef.value.scrollIntoView();
|
6119
6122
|
}
|
6120
6123
|
// Apply white-space: pre-wrap to <code> elements
|
6121
6124
|
applyCodeStyles(e) {
|
@@ -6178,13 +6181,13 @@ Pn.styles = [
|
|
6178
6181
|
}
|
6179
6182
|
`
|
6180
6183
|
];
|
6181
|
-
let
|
6182
|
-
|
6184
|
+
let Me = Pn;
|
6185
|
+
Di([
|
6183
6186
|
w({ attribute: !1 })
|
6184
|
-
],
|
6185
|
-
|
6187
|
+
], Me.prototype, "message");
|
6188
|
+
Di([
|
6186
6189
|
C()
|
6187
|
-
],
|
6190
|
+
], Me.prototype, "showLightbox");
|
6188
6191
|
var zl = Object.defineProperty, Ul = (s, e, t, n) => {
|
6189
6192
|
for (var i = void 0, r = s.length - 1, o; r >= 0; r--)
|
6190
6193
|
(o = s[r]) && (i = o(e, t, i) || i);
|
@@ -6227,7 +6230,7 @@ const In = class In extends k {
|
|
6227
6230
|
@keydown=${this.handleKeyDown}
|
6228
6231
|
>
|
6229
6232
|
<button class="close" @click=${this.closeLightbox}>
|
6230
|
-
<telia-icon svg=${
|
6233
|
+
<telia-icon svg=${mo.svg} size="lg"></telia-icon>
|
6231
6234
|
</button>
|
6232
6235
|
<img src="${this.imageUrl}" alt="${this.altText ?? ""}" />
|
6233
6236
|
</div> `;
|
@@ -6284,11 +6287,11 @@ var jl = Object.defineProperty, X = (s, e, t, n) => {
|
|
6284
6287
|
return i && jl(e, t, i), i;
|
6285
6288
|
};
|
6286
6289
|
customElements.get("conversation-entry") || customElements.define("conversation-entry", at);
|
6287
|
-
customElements.get("ace-conversation-feed") || customElements.define("ace-conversation-feed",
|
6290
|
+
customElements.get("ace-conversation-feed") || customElements.define("ace-conversation-feed", Ie);
|
6288
6291
|
customElements.get("conversation-group") || customElements.define("conversation-group", lt);
|
6289
6292
|
customElements.get("ace-typing-state") || customElements.define("ace-typing-state", Kt);
|
6290
6293
|
customElements.get("message-type-html") || customElements.define("message-type-html", ct);
|
6291
|
-
customElements.get("message-type-markdown") || customElements.define("message-type-markdown",
|
6294
|
+
customElements.get("message-type-markdown") || customElements.define("message-type-markdown", Me);
|
6292
6295
|
customElements.get("ace-lightbox") || customElements.define("ace-lightbox", pt);
|
6293
6296
|
const Ls = Ei(k), Mn = class Mn extends Ls {
|
6294
6297
|
constructor() {
|
@@ -6306,12 +6309,12 @@ const Ls = Ei(k), Mn = class Mn extends Ls {
|
|
6306
6309
|
t && t.widgetActive$.pipe(Ht(t.componentIsDestroyed$)).subscribe((n) => {
|
6307
6310
|
const i = this.conversationContentRef.value;
|
6308
6311
|
i && (n ? i.scrollTop = this.chatCurrentScrollPosition : this.chatCurrentScrollPosition = i.scrollTop);
|
6309
|
-
}), this.stateSubscription =
|
6312
|
+
}), this.stateSubscription = Tr([
|
6310
6313
|
this.stateMachine.entries(),
|
6311
6314
|
this.stateMachine.isTyping()
|
6312
6315
|
]).subscribe(([n, i]) => {
|
6313
6316
|
this.entries = n, this.typing = i;
|
6314
|
-
}), this.userSubmitSubscription =
|
6317
|
+
}), this.userSubmitSubscription = Ve(
|
6315
6318
|
this,
|
6316
6319
|
"user-submit"
|
6317
6320
|
).pipe(Nt(this.provider$)).subscribe(([n, i]) => {
|
@@ -6435,7 +6438,7 @@ const Ls = Ei(k), Mn = class Mn extends Ls {
|
|
6435
6438
|
providerOptions: t
|
6436
6439
|
}
|
6437
6440
|
});
|
6438
|
-
return this.dispatchEvent(n), n.detail.complete ||
|
6441
|
+
return this.dispatchEvent(n), n.detail.complete || Ue;
|
6439
6442
|
}
|
6440
6443
|
firstUpdated() {
|
6441
6444
|
this.isMuted = this.application.storage.get("muteAudioNotifications") ?? !1;
|
@@ -6460,7 +6463,7 @@ const Ls = Ei(k), Mn = class Mn extends Ls {
|
|
6460
6463
|
class="overlay-button"
|
6461
6464
|
@click=${() => this.chatOverlayActive = !1}
|
6462
6465
|
>
|
6463
|
-
<telia-icon svg=${
|
6466
|
+
<telia-icon svg=${go.svg}></telia-icon>
|
6464
6467
|
</button>
|
6465
6468
|
</div>` : g}
|
6466
6469
|
<div
|
@@ -6516,7 +6519,7 @@ const Ls = Ei(k), Mn = class Mn extends Ls {
|
|
6516
6519
|
title=${e.getOrFallback("conversation.send-alt", "Send")}
|
6517
6520
|
?disabled=${this.disabledSubmit}
|
6518
6521
|
>
|
6519
|
-
<telia-icon svg=${
|
6522
|
+
<telia-icon svg=${bo.svg}></telia-icon>
|
6520
6523
|
</button>
|
6521
6524
|
<span class="counter" ${z(this.counterRef)}>
|
6522
6525
|
${this.textAreaLength} / ${this.messageMaxLength}</span
|
@@ -6852,14 +6855,14 @@ const Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6852
6855
|
default: O
|
6853
6856
|
}, Symbol.toStringTag, { value: "Module" }));
|
6854
6857
|
export {
|
6855
|
-
|
6858
|
+
Fr as Agent,
|
6856
6859
|
O as Conversation,
|
6857
6860
|
Nl as ConversationComponent,
|
6858
6861
|
vt as ConversationEntry,
|
6859
6862
|
Y as ConversationMessageType,
|
6860
6863
|
Os as ConversationPlatform,
|
6861
6864
|
Fl as ConversationProvider,
|
6862
|
-
|
6865
|
+
qr as User,
|
6863
6866
|
Dl as findPlainTextLinks,
|
6864
|
-
|
6867
|
+
Nr as truncateLongLinks
|
6865
6868
|
};
|