@telia-ace/widget-conversation-flamingo 1.1.70-rc.14 → 1.1.70-rc.16

Sign up to get free protection for your applications and to get access to all the features.
package/index.mjs CHANGED
@@ -10,8 +10,8 @@ var yt = (s, e, t) => {
10
10
  e instanceof WeakSet ? e.add(s) : e.set(s, t);
11
11
  };
12
12
  var je = (s, e, t) => (Ci(s, e, "access private method"), t);
13
- const Rl = async (s) => {
14
- s.registerComponent("conversation", Promise.resolve().then(() => Ol));
13
+ const Pl = async (s) => {
14
+ s.registerComponent("conversation", Promise.resolve().then(() => Ll));
15
15
  };
16
16
  class ds {
17
17
  constructor() {
@@ -307,7 +307,7 @@ var ot = function() {
307
307
  for (var p = ge(u), d = p.next(); !d.done; d = p.next()) {
308
308
  var b = d.value;
309
309
  try {
310
- wn(b);
310
+ kn(b);
311
311
  } catch (f) {
312
312
  r = r ?? [], f instanceof xt ? r = te(te([], Y(r)), Y(f.errors)) : r.push(f);
313
313
  }
@@ -330,7 +330,7 @@ var ot = function() {
330
330
  var t;
331
331
  if (e && e !== this)
332
332
  if (this.closed)
333
- wn(e);
333
+ kn(e);
334
334
  else {
335
335
  if (e instanceof s) {
336
336
  if (e.closed || e._hasParent(this))
@@ -359,7 +359,7 @@ var ot = function() {
359
359
  function vs(s) {
360
360
  return s instanceof ot || s && "closed" in s && y(s.remove) && y(s.add) && y(s.unsubscribe);
361
361
  }
362
- function wn(s) {
362
+ function kn(s) {
363
363
  y(s) ? s() : s.unsubscribe();
364
364
  }
365
365
  var bs = {
@@ -391,7 +391,7 @@ function We() {
391
391
  function qe(s) {
392
392
  s();
393
393
  }
394
- var qt = function(s) {
394
+ var Zt = function(s) {
395
395
  ve(e, s);
396
396
  function e(t) {
397
397
  var n = s.call(this) || this;
@@ -436,7 +436,7 @@ var Oi = function() {
436
436
  try {
437
437
  t.next(e);
438
438
  } catch (n) {
439
- He(n);
439
+ De(n);
440
440
  }
441
441
  }, s.prototype.error = function(e) {
442
442
  var t = this.partialObserver;
@@ -444,17 +444,17 @@ var Oi = function() {
444
444
  try {
445
445
  t.error(e);
446
446
  } catch (n) {
447
- He(n);
447
+ De(n);
448
448
  }
449
449
  else
450
- He(e);
450
+ De(e);
451
451
  }, s.prototype.complete = function() {
452
452
  var e = this.partialObserver;
453
453
  if (e.complete)
454
454
  try {
455
455
  e.complete();
456
456
  } catch (t) {
457
- He(t);
457
+ De(t);
458
458
  }
459
459
  }, s;
460
460
  }(), Rt = function(s) {
@@ -480,8 +480,8 @@ var Oi = function() {
480
480
  return r.destination = new Oi(o), r;
481
481
  }
482
482
  return e;
483
- }(qt);
484
- function He(s) {
483
+ }(Zt);
484
+ function De(s) {
485
485
  $s(s);
486
486
  }
487
487
  function Pi(s) {
@@ -492,7 +492,7 @@ var Ri = {
492
492
  next: We,
493
493
  error: Pi,
494
494
  complete: We
495
- }, Zt = function() {
495
+ }, Wt = function() {
496
496
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
497
497
  }();
498
498
  function Oe(s) {
@@ -526,7 +526,7 @@ var C = function() {
526
526
  }
527
527
  }, s.prototype.forEach = function(e, t) {
528
528
  var n = this;
529
- return t = kn(t), new t(function(i, r) {
529
+ return t = _n(t), new t(function(i, r) {
530
530
  var o = new Rt({
531
531
  next: function(a) {
532
532
  try {
@@ -543,7 +543,7 @@ var C = function() {
543
543
  }, s.prototype._subscribe = function(e) {
544
544
  var t;
545
545
  return (t = this.source) === null || t === void 0 ? void 0 : t.subscribe(e);
546
- }, s.prototype[Zt] = function() {
546
+ }, s.prototype[Wt] = function() {
547
547
  return this;
548
548
  }, s.prototype.pipe = function() {
549
549
  for (var e = [], t = 0; t < arguments.length; t++)
@@ -551,7 +551,7 @@ var C = function() {
551
551
  return Ii(e)(this);
552
552
  }, s.prototype.toPromise = function(e) {
553
553
  var t = this;
554
- return e = kn(e), new e(function(n, i) {
554
+ return e = _n(e), new e(function(n, i) {
555
555
  var r;
556
556
  t.subscribe(function(o) {
557
557
  return r = o;
@@ -565,7 +565,7 @@ var C = function() {
565
565
  return new s(e);
566
566
  }, s;
567
567
  }();
568
- function kn(s) {
568
+ function _n(s) {
569
569
  var e;
570
570
  return (e = s ?? bs.Promise) !== null && e !== void 0 ? e : Promise;
571
571
  }
@@ -573,7 +573,7 @@ function Mi(s) {
573
573
  return s && y(s.next) && y(s.error) && y(s.complete);
574
574
  }
575
575
  function zi(s) {
576
- return s && s instanceof qt || Mi(s) && vs(s);
576
+ return s && s instanceof Zt || Mi(s) && vs(s);
577
577
  }
578
578
  function Ui(s) {
579
579
  return y(s == null ? void 0 : s.lift);
@@ -629,7 +629,7 @@ var ji = function(s) {
629
629
  s.prototype.unsubscribe.call(this), !n && ((t = this.onFinalize) === null || t === void 0 || t.call(this));
630
630
  }
631
631
  }, e;
632
- }(qt), Hi = gs(function(s) {
632
+ }(Zt), Di = gs(function(s) {
633
633
  return function() {
634
634
  s(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
635
635
  };
@@ -640,11 +640,11 @@ var ji = function(s) {
640
640
  return t.closed = !1, t.currentObservers = null, t.observers = [], t.isStopped = !1, t.hasError = !1, t.thrownError = null, t;
641
641
  }
642
642
  return e.prototype.lift = function(t) {
643
- var n = new _n(this, this);
643
+ var n = new Sn(this, this);
644
644
  return n.operator = t, n;
645
645
  }, e.prototype._throwIfClosed = function() {
646
646
  if (this.closed)
647
- throw new Hi();
647
+ throw new Di();
648
648
  }, e.prototype.next = function(t) {
649
649
  var n = this;
650
650
  qe(function() {
@@ -711,9 +711,9 @@ var ji = function(s) {
711
711
  var t = new C();
712
712
  return t.source = this, t;
713
713
  }, e.create = function(t, n) {
714
- return new _n(t, n);
714
+ return new Sn(t, n);
715
715
  }, e;
716
- }(C), _n = function(s) {
716
+ }(C), Sn = function(s) {
717
717
  ve(e, s);
718
718
  function e(t, n) {
719
719
  var i = s.call(this) || this;
@@ -758,29 +758,29 @@ var ji = function(s) {
758
758
  }(_), Pe = new C(function(s) {
759
759
  return s.complete();
760
760
  });
761
- function Di(s) {
761
+ function Hi(s) {
762
762
  return s && y(s.schedule);
763
763
  }
764
- function Wt(s) {
764
+ function Yt(s) {
765
765
  return s[s.length - 1];
766
766
  }
767
767
  function ys(s) {
768
- return y(Wt(s)) ? s.pop() : void 0;
768
+ return y(Yt(s)) ? s.pop() : void 0;
769
769
  }
770
- function Yt(s) {
771
- return Di(Wt(s)) ? s.pop() : void 0;
770
+ function Qt(s) {
771
+ return Hi(Yt(s)) ? s.pop() : void 0;
772
772
  }
773
773
  function Bi(s, e) {
774
- return typeof Wt(s) == "number" ? s.pop() : e;
774
+ return typeof Yt(s) == "number" ? s.pop() : e;
775
775
  }
776
- var Qt = function(s) {
776
+ var Kt = function(s) {
777
777
  return s && typeof s.length == "number" && typeof s != "function";
778
778
  };
779
779
  function xs(s) {
780
780
  return y(s == null ? void 0 : s.then);
781
781
  }
782
782
  function ws(s) {
783
- return y(s[Zt]);
783
+ return y(s[Wt]);
784
784
  }
785
785
  function ks(s) {
786
786
  return Symbol.asyncIterator && y(s == null ? void 0 : s[Symbol.asyncIterator]);
@@ -829,13 +829,13 @@ function As(s) {
829
829
  function Es(s) {
830
830
  return y(s == null ? void 0 : s.getReader);
831
831
  }
832
- function H(s) {
832
+ function D(s) {
833
833
  if (s instanceof C)
834
834
  return s;
835
835
  if (s != null) {
836
836
  if (ws(s))
837
837
  return Fi(s);
838
- if (Qt(s))
838
+ if (Kt(s))
839
839
  return qi(s);
840
840
  if (xs(s))
841
841
  return Zi(s);
@@ -850,7 +850,7 @@ function H(s) {
850
850
  }
851
851
  function Fi(s) {
852
852
  return new C(function(e) {
853
- var t = s[Zt]();
853
+ var t = s[Wt]();
854
854
  if (y(t.subscribe))
855
855
  return t.subscribe(e);
856
856
  throw new TypeError("Provided object does not correctly implement Symbol.observable");
@@ -944,7 +944,7 @@ function Qi(s, e) {
944
944
  });
945
945
  });
946
946
  }
947
- function B(s, e, t, n, i) {
947
+ function F(s, e, t, n, i) {
948
948
  n === void 0 && (n = 0), i === void 0 && (i = !1);
949
949
  var r = e.schedule(function() {
950
950
  t(), i ? s.add(this.schedule(null, n)) : this.unsubscribe();
@@ -955,15 +955,15 @@ function B(s, e, t, n, i) {
955
955
  function Ls(s, e) {
956
956
  return e === void 0 && (e = 0), K(function(t, n) {
957
957
  t.subscribe(P(n, function(i) {
958
- return B(n, s, function() {
958
+ return F(n, s, function() {
959
959
  return n.next(i);
960
960
  }, e);
961
961
  }, function() {
962
- return B(n, s, function() {
962
+ return F(n, s, function() {
963
963
  return n.complete();
964
964
  }, e);
965
965
  }, function(i) {
966
- return B(n, s, function() {
966
+ return F(n, s, function() {
967
967
  return n.error(i);
968
968
  }, e);
969
969
  }));
@@ -977,10 +977,10 @@ function Os(s, e) {
977
977
  });
978
978
  }
979
979
  function Ki(s, e) {
980
- return H(s).pipe(Os(e), Ls(e));
980
+ return D(s).pipe(Os(e), Ls(e));
981
981
  }
982
982
  function Gi(s, e) {
983
- return H(s).pipe(Os(e), Ls(e));
983
+ return D(s).pipe(Os(e), Ls(e));
984
984
  }
985
985
  function Xi(s, e) {
986
986
  return new C(function(t) {
@@ -993,8 +993,8 @@ function Xi(s, e) {
993
993
  function Ji(s, e) {
994
994
  return new C(function(t) {
995
995
  var n;
996
- return B(t, e, function() {
997
- n = s[Ss](), B(t, e, function() {
996
+ return F(t, e, function() {
997
+ n = s[Ss](), F(t, e, function() {
998
998
  var i, r, o;
999
999
  try {
1000
1000
  i = n.next(), r = i.value, o = i.done;
@@ -1013,9 +1013,9 @@ function Ps(s, e) {
1013
1013
  if (!s)
1014
1014
  throw new Error("Iterable cannot be null");
1015
1015
  return new C(function(t) {
1016
- B(t, e, function() {
1016
+ F(t, e, function() {
1017
1017
  var n = s[Symbol.asyncIterator]();
1018
- B(t, e, function() {
1018
+ F(t, e, function() {
1019
1019
  n.next().then(function(i) {
1020
1020
  i.done ? t.complete() : t.next(i.value);
1021
1021
  });
@@ -1030,7 +1030,7 @@ function er(s, e) {
1030
1030
  if (s != null) {
1031
1031
  if (ws(s))
1032
1032
  return Ki(s, e);
1033
- if (Qt(s))
1033
+ if (Kt(s))
1034
1034
  return Xi(s, e);
1035
1035
  if (xs(s))
1036
1036
  return Gi(s, e);
@@ -1044,12 +1044,12 @@ function er(s, e) {
1044
1044
  throw _s(s);
1045
1045
  }
1046
1046
  function at(s, e) {
1047
- return e ? er(s, e) : H(s);
1047
+ return e ? er(s, e) : D(s);
1048
1048
  }
1049
1049
  function It() {
1050
1050
  for (var s = [], e = 0; e < arguments.length; e++)
1051
1051
  s[e] = arguments[e];
1052
- var t = Yt(s);
1052
+ var t = Qt(s);
1053
1053
  return at(s, t);
1054
1054
  }
1055
1055
  function Ye(s, e) {
@@ -1098,7 +1098,7 @@ function cr(s, e) {
1098
1098
  function hr() {
1099
1099
  for (var s = [], e = 0; e < arguments.length; e++)
1100
1100
  s[e] = arguments[e];
1101
- var t = Yt(s), n = ys(s), i = ar(s), r = i.args, o = i.keys;
1101
+ var t = Qt(s), n = ys(s), i = ar(s), r = i.args, o = i.keys;
1102
1102
  if (r.length === 0)
1103
1103
  return at([], t);
1104
1104
  var a = new C(ur(r, t, o ? function(l) {
@@ -1108,9 +1108,9 @@ function hr() {
1108
1108
  }
1109
1109
  function ur(s, e, t) {
1110
1110
  return t === void 0 && (t = Oe), function(n) {
1111
- Sn(e, function() {
1111
+ Cn(e, function() {
1112
1112
  for (var i = s.length, r = new Array(i), o = i, a = i, l = function(h) {
1113
- Sn(e, function() {
1113
+ Cn(e, function() {
1114
1114
  var u = at(s[h], e), p = !1;
1115
1115
  u.subscribe(P(n, function(d) {
1116
1116
  r[h] = d, p || (p = !0, a--), a || n.next(t(r.slice()));
@@ -1123,8 +1123,8 @@ function ur(s, e, t) {
1123
1123
  }, n);
1124
1124
  };
1125
1125
  }
1126
- function Sn(s, e, t) {
1127
- s ? B(t, s, e) : e();
1126
+ function Cn(s, e, t) {
1127
+ s ? F(t, s, e) : e();
1128
1128
  }
1129
1129
  function pr(s, e, t, n, i, r, o, a) {
1130
1130
  var l = [], c = 0, h = 0, u = !1, p = function() {
@@ -1134,21 +1134,21 @@ function pr(s, e, t, n, i, r, o, a) {
1134
1134
  }, b = function(f) {
1135
1135
  r && e.next(f), c++;
1136
1136
  var I = !1;
1137
- H(t(f, h++)).subscribe(P(e, function(D) {
1138
- i == null || i(D), r ? d(D) : e.next(D);
1137
+ D(t(f, h++)).subscribe(P(e, function(H) {
1138
+ i == null || i(H), r ? d(H) : e.next(H);
1139
1139
  }, function() {
1140
1140
  I = !0;
1141
1141
  }, void 0, function() {
1142
1142
  if (I)
1143
1143
  try {
1144
1144
  c--;
1145
- for (var D = function() {
1145
+ for (var H = function() {
1146
1146
  var X = l.shift();
1147
- o ? B(e, o, function() {
1147
+ o ? F(e, o, function() {
1148
1148
  return b(X);
1149
1149
  }) : b(X);
1150
1150
  }; l.length && c < n; )
1151
- D();
1151
+ H();
1152
1152
  p();
1153
1153
  } catch (X) {
1154
1154
  e.error(X);
@@ -1161,17 +1161,17 @@ function pr(s, e, t, n, i, r, o, a) {
1161
1161
  a == null || a();
1162
1162
  };
1163
1163
  }
1164
- function Kt(s, e, t) {
1165
- return t === void 0 && (t = 1 / 0), y(e) ? Kt(function(n, i) {
1164
+ function Gt(s, e, t) {
1165
+ return t === void 0 && (t = 1 / 0), y(e) ? Gt(function(n, i) {
1166
1166
  return Ye(function(r, o) {
1167
1167
  return e(n, r, i, o);
1168
- })(H(s(n, i)));
1168
+ })(D(s(n, i)));
1169
1169
  }, t) : (typeof e == "number" && (t = e), K(function(n, i) {
1170
1170
  return pr(n, i, s, t);
1171
1171
  }));
1172
1172
  }
1173
1173
  function dr(s) {
1174
- return s === void 0 && (s = 1 / 0), Kt(Oe, s);
1174
+ return s === void 0 && (s = 1 / 0), Gt(Oe, s);
1175
1175
  }
1176
1176
  var fr = ["addListener", "removeListener"], gr = ["addEventListener", "removeEventListener"], mr = ["on", "off"];
1177
1177
  function Qe(s, e, t, n) {
@@ -1181,11 +1181,11 @@ function Qe(s, e, t, n) {
1181
1181
  return function(l) {
1182
1182
  return s[a](e, l, t);
1183
1183
  };
1184
- }) : vr(s) ? fr.map(Cn(s, e)) : br(s) ? mr.map(Cn(s, e)) : [], 2), r = i[0], o = i[1];
1185
- if (!r && Qt(s))
1186
- return Kt(function(a) {
1184
+ }) : vr(s) ? fr.map(An(s, e)) : br(s) ? mr.map(An(s, e)) : [], 2), r = i[0], o = i[1];
1185
+ if (!r && Kt(s))
1186
+ return Gt(function(a) {
1187
1187
  return Qe(a, e, t);
1188
- })(H(s));
1188
+ })(D(s));
1189
1189
  if (!r)
1190
1190
  throw new TypeError("Invalid event target");
1191
1191
  return new C(function(a) {
@@ -1199,7 +1199,7 @@ function Qe(s, e, t, n) {
1199
1199
  };
1200
1200
  });
1201
1201
  }
1202
- function Cn(s, e) {
1202
+ function An(s, e) {
1203
1203
  return function(t) {
1204
1204
  return function(n) {
1205
1205
  return s[t](e, n);
@@ -1218,8 +1218,8 @@ function $r(s) {
1218
1218
  function yr() {
1219
1219
  for (var s = [], e = 0; e < arguments.length; e++)
1220
1220
  s[e] = arguments[e];
1221
- var t = Yt(s), n = Bi(s, 1 / 0), i = s;
1222
- return i.length ? i.length === 1 ? H(i[0]) : dr(n)(at(i, t)) : Pe;
1221
+ var t = Qt(s), n = Bi(s, 1 / 0), i = s;
1222
+ return i.length ? i.length === 1 ? D(i[0]) : dr(n)(at(i, t)) : Pe;
1223
1223
  }
1224
1224
  function Mt(s) {
1225
1225
  return s <= 0 ? function() {
@@ -1239,7 +1239,7 @@ function pe(s, e) {
1239
1239
  t.subscribe(P(n, function(l) {
1240
1240
  i == null || i.unsubscribe();
1241
1241
  var c = 0, h = r++;
1242
- H(s(l, h)).subscribe(i = P(n, function(u) {
1242
+ D(s(l, h)).subscribe(i = P(n, function(u) {
1243
1243
  return n.next(e ? e(l, u, h, c++) : u);
1244
1244
  }, function() {
1245
1245
  i = null, a();
@@ -1249,14 +1249,14 @@ function pe(s, e) {
1249
1249
  }));
1250
1250
  });
1251
1251
  }
1252
- function An(s) {
1252
+ function zt(s) {
1253
1253
  return K(function(e, t) {
1254
- H(s).subscribe(P(t, function() {
1254
+ D(s).subscribe(P(t, function() {
1255
1255
  return t.complete();
1256
1256
  }, We)), !t.closed && e.subscribe(t);
1257
1257
  });
1258
1258
  }
1259
- function zt() {
1259
+ function Ut() {
1260
1260
  for (var s = [], e = 0; e < arguments.length; e++)
1261
1261
  s[e] = arguments[e];
1262
1262
  var t = ys(s);
@@ -1264,7 +1264,7 @@ function zt() {
1264
1264
  for (var r = s.length, o = new Array(r), a = s.map(function() {
1265
1265
  return !1;
1266
1266
  }), l = !1, c = function(u) {
1267
- H(s[u]).subscribe(P(i, function(p) {
1267
+ D(s[u]).subscribe(P(i, function(p) {
1268
1268
  o[u] = p, !l && !a[u] && (a[u] = !0, (l = a.every(Oe)) && (a = null));
1269
1269
  }, We));
1270
1270
  }, h = 0; h < r; h++)
@@ -1357,7 +1357,7 @@ class kr {
1357
1357
  return this.print$.asObservable();
1358
1358
  }
1359
1359
  }
1360
- class Il {
1360
+ class Rl {
1361
1361
  constructor(e, t) {
1362
1362
  this.name = e, this.component = t, this.print$ = new _(), this.typingState$ = new M(!1), this.complete$ = new _(), this.system = this.createSystem(), this.rehydrate$ = new _(), this.saveToCurrentSession$ = new _(), this.showChatOverlay$ = new M(!1), this.onComplete = () => this.complete$.asObservable();
1363
1363
  }
@@ -1439,17 +1439,17 @@ class Il {
1439
1439
  * Copyright 2019 Google LLC
1440
1440
  * SPDX-License-Identifier: BSD-3-Clause
1441
1441
  */
1442
- const Ze = globalThis, Gt = Ze.ShadowRoot && (Ze.ShadyCSS === void 0 || Ze.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Xt = Symbol(), En = /* @__PURE__ */ new WeakMap();
1442
+ const Ze = globalThis, Xt = Ze.ShadowRoot && (Ze.ShadyCSS === void 0 || Ze.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Jt = Symbol(), En = /* @__PURE__ */ new WeakMap();
1443
1443
  let Ms = class {
1444
1444
  constructor(e, t, n) {
1445
- if (this._$cssResult$ = !0, n !== Xt)
1445
+ if (this._$cssResult$ = !0, n !== Jt)
1446
1446
  throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
1447
1447
  this.cssText = e, this.t = t;
1448
1448
  }
1449
1449
  get styleSheet() {
1450
1450
  let e = this.o;
1451
1451
  const t = this.t;
1452
- if (Gt && e === void 0) {
1452
+ if (Xt && e === void 0) {
1453
1453
  const n = t !== void 0 && t.length === 1;
1454
1454
  n && (e = En.get(t)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), n && En.set(t, e));
1455
1455
  }
@@ -1459,7 +1459,7 @@ let Ms = class {
1459
1459
  return this.cssText;
1460
1460
  }
1461
1461
  };
1462
- const _r = (s) => new Ms(typeof s == "string" ? s : s + "", void 0, Xt), A = (s, ...e) => {
1462
+ const _r = (s) => new Ms(typeof s == "string" ? s : s + "", void 0, Jt), A = (s, ...e) => {
1463
1463
  const t = s.length === 1 ? s[0] : e.reduce((n, i, r) => n + ((o) => {
1464
1464
  if (o._$cssResult$ === !0)
1465
1465
  return o.cssText;
@@ -1467,16 +1467,16 @@ const _r = (s) => new Ms(typeof s == "string" ? s : s + "", void 0, Xt), A = (s,
1467
1467
  return o;
1468
1468
  throw Error("Value passed to 'css' function must be a 'css' function result: " + o + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
1469
1469
  })(i) + s[r + 1], s[0]);
1470
- return new Ms(t, s, Xt);
1470
+ return new Ms(t, s, Jt);
1471
1471
  }, Sr = (s, e) => {
1472
- if (Gt)
1472
+ if (Xt)
1473
1473
  s.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet);
1474
1474
  else
1475
1475
  for (const t of e) {
1476
1476
  const n = document.createElement("style"), i = Ze.litNonce;
1477
1477
  i !== void 0 && n.setAttribute("nonce", i), n.textContent = t.cssText, s.appendChild(n);
1478
1478
  }
1479
- }, Tn = Gt ? (s) => s : (s) => s instanceof CSSStyleSheet ? ((e) => {
1479
+ }, Tn = Xt ? (s) => s : (s) => s instanceof CSSStyleSheet ? ((e) => {
1480
1480
  let t = "";
1481
1481
  for (const n of e.cssRules)
1482
1482
  t += n.cssText;
@@ -1515,7 +1515,7 @@ const { is: Cr, defineProperty: Ar, getOwnPropertyDescriptor: Er, getOwnProperty
1515
1515
  }
1516
1516
  }
1517
1517
  return t;
1518
- } }, Jt = (s, e) => !Cr(s, e), On = { attribute: !0, type: String, converter: Ke, reflect: !1, hasChanged: Jt };
1518
+ } }, Vt = (s, e) => !Cr(s, e), On = { attribute: !0, type: String, converter: Ke, reflect: !1, hasChanged: Vt };
1519
1519
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), W.litPropertyMetadata ?? (W.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
1520
1520
  let ae = class extends HTMLElement {
1521
1521
  static addInitializer(e) {
@@ -1650,7 +1650,7 @@ let ae = class extends HTMLElement {
1650
1650
  }
1651
1651
  requestUpdate(e, t, n) {
1652
1652
  if (e !== void 0) {
1653
- if (n ?? (n = this.constructor.getPropertyOptions(e)), !(n.hasChanged ?? Jt)(this[e], t))
1653
+ if (n ?? (n = this.constructor.getPropertyOptions(e)), !(n.hasChanged ?? Vt)(this[e], t))
1654
1654
  return;
1655
1655
  this.P(e, t, n);
1656
1656
  }
@@ -1734,10 +1734,10 @@ ae.elementStyles = [], ae.shadowRootOptions = { mode: "open" }, ae[ye("elementPr
1734
1734
  * Copyright 2017 Google LLC
1735
1735
  * SPDX-License-Identifier: BSD-3-Clause
1736
1736
  */
1737
- const xe = globalThis, Ge = xe.trustedTypes, Pn = Ge ? Ge.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, zs = "$lit$", N = `lit$${(Math.random() + "").slice(9)}$`, Us = "?" + N, Rr = `<${Us}>`, ne = document, Se = () => ne.createComment(""), Ce = (s) => s === null || typeof s != "object" && typeof s != "function", js = Array.isArray, Ir = (s) => js(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", _t = `[
1737
+ const xe = globalThis, Ge = xe.trustedTypes, Pn = Ge ? Ge.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, zs = "$lit$", q = `lit$${(Math.random() + "").slice(9)}$`, Us = "?" + q, Rr = `<${Us}>`, ne = document, Se = () => ne.createComment(""), Ce = (s) => s === null || typeof s != "object" && typeof s != "function", js = Array.isArray, Ir = (s) => js(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", _t = `[
1738
1738
  \f\r]`, be = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Rn = /-->/g, In = />/g, J = RegExp(`>|${_t}(?:([^\\s"'>=/]+)(${_t}*=${_t}*(?:[^
1739
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Mn = /'/g, zn = /"/g, Hs = /^(?:script|style|textarea|title)$/i, Mr = (s) => (e, ...t) => ({ _$litType$: s, strings: e, values: t }), m = Mr(1), Q = Symbol.for("lit-noChange"), g = Symbol.for("lit-nothing"), Un = /* @__PURE__ */ new WeakMap(), ee = ne.createTreeWalker(ne, 129);
1740
- function Ds(s, e) {
1739
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Mn = /'/g, zn = /"/g, Ds = /^(?:script|style|textarea|title)$/i, Mr = (s) => (e, ...t) => ({ _$litType$: s, strings: e, values: t }), m = Mr(1), Q = Symbol.for("lit-noChange"), g = Symbol.for("lit-nothing"), Un = /* @__PURE__ */ new WeakMap(), ee = ne.createTreeWalker(ne, 129);
1740
+ function Hs(s, e) {
1741
1741
  if (!Array.isArray(s) || !s.hasOwnProperty("raw"))
1742
1742
  throw Error("invalid template strings array");
1743
1743
  return Pn !== void 0 ? Pn.createHTML(e) : e;
@@ -1749,11 +1749,11 @@ const zr = (s, e) => {
1749
1749
  const l = s[a];
1750
1750
  let c, h, u = -1, p = 0;
1751
1751
  for (; p < l.length && (o.lastIndex = p, h = o.exec(l), h !== null); )
1752
- p = o.lastIndex, o === be ? h[1] === "!--" ? o = Rn : h[1] !== void 0 ? o = In : h[2] !== void 0 ? (Hs.test(h[2]) && (i = RegExp("</" + h[2], "g")), o = J) : h[3] !== void 0 && (o = J) : o === J ? h[0] === ">" ? (o = i ?? be, u = -1) : h[1] === void 0 ? u = -2 : (u = o.lastIndex - h[2].length, c = h[1], o = h[3] === void 0 ? J : h[3] === '"' ? zn : Mn) : o === zn || o === Mn ? o = J : o === Rn || o === In ? o = be : (o = J, i = void 0);
1752
+ p = o.lastIndex, o === be ? h[1] === "!--" ? o = Rn : h[1] !== void 0 ? o = In : h[2] !== void 0 ? (Ds.test(h[2]) && (i = RegExp("</" + h[2], "g")), o = J) : h[3] !== void 0 && (o = J) : o === J ? h[0] === ">" ? (o = i ?? be, u = -1) : h[1] === void 0 ? u = -2 : (u = o.lastIndex - h[2].length, c = h[1], o = h[3] === void 0 ? J : h[3] === '"' ? zn : Mn) : o === zn || o === Mn ? o = J : o === Rn || o === In ? o = be : (o = J, i = void 0);
1753
1753
  const d = o === J && s[a + 1].startsWith("/>") ? " " : "";
1754
- r += o === be ? l + Rr : u >= 0 ? (n.push(c), l.slice(0, u) + zs + l.slice(u) + N + d) : l + N + (u === -2 ? a : d);
1754
+ r += o === be ? l + Rr : u >= 0 ? (n.push(c), l.slice(0, u) + zs + l.slice(u) + q + d) : l + q + (u === -2 ? a : d);
1755
1755
  }
1756
- return [Ds(s, r + (s[t] || "<?>") + (e === 2 ? "</svg>" : "")), n];
1756
+ return [Hs(s, r + (s[t] || "<?>") + (e === 2 ? "</svg>" : "")), n];
1757
1757
  };
1758
1758
  class Ae {
1759
1759
  constructor({ strings: e, _$litType$: t }, n) {
@@ -1770,12 +1770,12 @@ class Ae {
1770
1770
  if (i.hasAttributes())
1771
1771
  for (const u of i.getAttributeNames())
1772
1772
  if (u.endsWith(zs)) {
1773
- const p = h[o++], d = i.getAttribute(u).split(N), b = /([.?@])?(.*)/.exec(p);
1774
- l.push({ type: 1, index: r, name: b[2], strings: d, ctor: b[1] === "." ? jr : b[1] === "?" ? Hr : b[1] === "@" ? Dr : ct }), i.removeAttribute(u);
1773
+ const p = h[o++], d = i.getAttribute(u).split(q), b = /([.?@])?(.*)/.exec(p);
1774
+ l.push({ type: 1, index: r, name: b[2], strings: d, ctor: b[1] === "." ? jr : b[1] === "?" ? Dr : b[1] === "@" ? Hr : ct }), i.removeAttribute(u);
1775
1775
  } else
1776
- u.startsWith(N) && (l.push({ type: 6, index: r }), i.removeAttribute(u));
1777
- if (Hs.test(i.tagName)) {
1778
- const u = i.textContent.split(N), p = u.length - 1;
1776
+ u.startsWith(q) && (l.push({ type: 6, index: r }), i.removeAttribute(u));
1777
+ if (Ds.test(i.tagName)) {
1778
+ const u = i.textContent.split(q), p = u.length - 1;
1779
1779
  if (p > 0) {
1780
1780
  i.textContent = Ge ? Ge.emptyScript : "";
1781
1781
  for (let d = 0; d < p; d++)
@@ -1788,8 +1788,8 @@ class Ae {
1788
1788
  l.push({ type: 2, index: r });
1789
1789
  else {
1790
1790
  let u = -1;
1791
- for (; (u = i.data.indexOf(N, u + 1)) !== -1; )
1792
- l.push({ type: 7, index: r }), u += N.length - 1;
1791
+ for (; (u = i.data.indexOf(q, u + 1)) !== -1; )
1792
+ l.push({ type: 7, index: r }), u += q.length - 1;
1793
1793
  }
1794
1794
  r++;
1795
1795
  }
@@ -1869,7 +1869,7 @@ class Re {
1869
1869
  }
1870
1870
  $(e) {
1871
1871
  var r;
1872
- const { values: t, _$litType$: n } = e, i = typeof n == "number" ? this._$AC(e) : (n.el === void 0 && (n.el = Ae.createElement(Ds(n.h, n.h[0]), this.options)), n);
1872
+ const { values: t, _$litType$: n } = e, i = typeof n == "number" ? this._$AC(e) : (n.el === void 0 && (n.el = Ae.createElement(Hs(n.h, n.h[0]), this.options)), n);
1873
1873
  if (((r = this._$AH) == null ? void 0 : r._$AD) === i)
1874
1874
  this._$AH.p(t);
1875
1875
  else {
@@ -1936,7 +1936,7 @@ class jr extends ct {
1936
1936
  this.element[this.name] = e === g ? void 0 : e;
1937
1937
  }
1938
1938
  }
1939
- let Hr = class extends ct {
1939
+ let Dr = class extends ct {
1940
1940
  constructor() {
1941
1941
  super(...arguments), this.type = 4;
1942
1942
  }
@@ -1944,7 +1944,7 @@ let Hr = class extends ct {
1944
1944
  this.element.toggleAttribute(this.name, !!e && e !== g);
1945
1945
  }
1946
1946
  };
1947
- class Dr extends ct {
1947
+ class Hr extends ct {
1948
1948
  constructor(e, t, n, i, r) {
1949
1949
  super(e, t, n, i, r), this.type = 5;
1950
1950
  }
@@ -2016,7 +2016,7 @@ k._$litElement$ = !0, k.finalized = !0, (ps = globalThis.litElementHydrateSuppor
2016
2016
  const Ct = globalThis.litElementPolyfillSupport;
2017
2017
  Ct == null || Ct({ LitElement: k });
2018
2018
  (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.0.4");
2019
- const Fr = { 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>' }, qr = { 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>' }, Zr = { 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>' }, Wr = { 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>' }, Yr = { name: "close-circle", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 56C45.2548 56 56 45.2548 56 32C56 18.7452 45.2548 8 32 8C18.7452 8 8 18.7452 8 32C8 45.2548 18.7452 56 32 56ZM32 60C47.464 60 60 47.464 60 32C60 16.536 47.464 4 32 4C16.536 4 4 16.536 4 32C4 47.464 16.536 60 32 60Z"/><path d="M25.2772 22.695C24.5164 21.8942 23.2505 21.8617 22.4497 22.6225C21.6488 23.3833 21.6164 24.6492 22.3772 25.45L29.2411 32.6752L22.4773 39.795C21.7166 40.5958 21.749 41.8617 22.5498 42.6225C23.3507 43.3833 24.6166 43.3508 25.3773 42.55L31.9998 35.5791L38.6222 42.55C39.3829 43.3508 40.6488 43.3833 41.4497 42.6225C42.2505 41.8617 42.2829 40.5958 41.5222 39.795L34.7584 32.6752L41.6223 25.45C42.3831 24.6492 42.3507 23.3833 41.5498 22.6225C40.749 21.8617 39.4831 21.8942 38.7224 22.695L31.9998 29.7714L25.2772 22.695Z"/></svg>' }, jn = { name: "mute", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M51.4283 11.6761L53.1768 9.53891C53.9347 8.61282 53.7982 7.24774 52.8722 6.48993C51.9461 5.73211 50.581 5.86852 49.8232 6.79461L36.3333 23.2822V13.3972C36.3332 11.6447 35.2774 10.0648 33.6583 9.39418C32.0391 8.72356 30.1755 9.09425 28.9362 10.3334L18.1029 21.1668H14.6667C9.88247 21.1722 6.00547 25.0492 6 29.8334V34.1668C6.00547 38.951 9.88247 42.828 14.6667 42.8334H18.1029L19.3315 44.0621L10.8232 54.4613C10.0653 55.3874 10.2018 56.7525 11.1279 57.5103C12.0539 58.2681 13.419 58.1317 14.1768 57.2056L22.411 47.1416L28.9362 53.6668C30.1755 54.9059 32.0391 55.2766 33.6583 54.606C35.2774 53.9354 36.3332 52.3555 36.3333 50.603V30.1254L42.6092 22.4549C44.2201 25.3756 45.044 28.6649 45 32.0001C45.1184 36.1899 43.7698 40.2896 41.1872 43.5909C40.409 44.5001 40.5152 45.8679 41.4243 46.6461C42.3334 47.4243 43.7012 47.3183 44.4795 46.4093C47.7313 42.3208 49.4486 37.2227 49.3333 32.0001C49.403 27.3538 48.067 22.7949 45.5005 18.9211L48.6119 15.1182C52.019 20.0793 53.7867 25.9829 53.6667 32.0001C53.6667 39.0587 51.4873 45.6518 47.6872 50.0909C46.909 51.0001 47.0152 52.3679 47.9243 53.1461C48.8334 53.9243 50.2012 53.8183 50.9795 52.9093C55.4408 47.6968 58 40.0764 58 32.0001C58 24.21 55.6006 16.8662 51.4283 11.6761ZM19.8971 38.5H14.6667C12.2744 38.4977 10.3357 36.559 10.3333 34.1667V29.8334C10.3357 27.4411 12.2744 25.5024 14.6667 25.5H19.8971L32 13.3972V28.5784L22.089 40.6919L19.8971 38.5ZM31.9997 50.603L25.1682 43.7715L31.9997 35.4218V50.603Z"/></svg>' }, Qr = { 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>' }, Kr = { 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>' }, Hn = { name: "volume", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M33.6578 9.3322C32.0391 8.65799 30.1735 9.02919 28.9362 10.2717L18.1029 21.105H14.6667C9.88247 21.1105 6.00547 24.9875 6 29.7717V34.105C6.00547 38.8892 9.88247 42.7662 14.6667 42.7717H18.1029L28.9362 53.605C30.1755 54.8442 32.0391 55.2149 33.6583 54.5442C35.2774 53.8736 36.3332 52.2937 36.3333 50.5412V13.3355C36.3365 11.5817 35.2794 10.0001 33.6578 9.3322ZM32 50.5411L19.8971 38.4382H14.6667C12.2744 38.4358 10.3357 36.4971 10.3333 34.1049V29.7716C10.3357 27.3793 12.2744 25.4406 14.6667 25.4382H19.8971L32 13.3353V50.5411ZM49.3334 31.9383C49.4487 37.161 47.7314 42.2591 44.4796 46.3475C43.7013 47.2565 42.3335 47.3625 41.4244 46.5843C40.5153 45.8061 40.4092 44.4383 41.1873 43.5291C43.7699 40.2278 45.1185 36.1282 45.0001 31.9383C45.1185 27.7485 43.7699 23.6488 41.1873 20.3475C40.4092 19.4383 40.5153 18.0705 41.4244 17.2923C42.3335 16.5141 43.7013 16.6201 44.4796 17.5291C47.7314 21.6176 49.4487 26.7157 49.3334 31.9383ZM58.0001 31.9383C58.0001 40.0147 55.441 47.635 50.9796 52.8475C50.2013 53.7565 48.8335 53.8625 47.9244 53.0843C47.0153 52.3061 46.9092 50.9383 47.6873 50.0291C51.4874 45.59 53.6668 38.9969 53.6668 31.9383C53.6668 24.8797 51.4874 18.2866 47.6873 13.8475C46.9092 12.9383 47.0153 11.5705 47.9244 10.7923C48.8335 10.0141 50.2013 10.1201 50.9796 11.0291C55.441 16.2416 58.0001 23.862 58.0001 31.9383Z"/></svg>' }, le = {
2019
+ const Fr = { 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>' }, qr = { 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>' }, Zr = { 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>' }, Wr = { 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>' }, Yr = { name: "close-circle", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 56C45.2548 56 56 45.2548 56 32C56 18.7452 45.2548 8 32 8C18.7452 8 8 18.7452 8 32C8 45.2548 18.7452 56 32 56ZM32 60C47.464 60 60 47.464 60 32C60 16.536 47.464 4 32 4C16.536 4 4 16.536 4 32C4 47.464 16.536 60 32 60Z"/><path d="M25.2772 22.695C24.5164 21.8942 23.2505 21.8617 22.4497 22.6225C21.6488 23.3833 21.6164 24.6492 22.3772 25.45L29.2411 32.6752L22.4773 39.795C21.7166 40.5958 21.749 41.8617 22.5498 42.6225C23.3507 43.3833 24.6166 43.3508 25.3773 42.55L31.9998 35.5791L38.6222 42.55C39.3829 43.3508 40.6488 43.3833 41.4497 42.6225C42.2505 41.8617 42.2829 40.5958 41.5222 39.795L34.7584 32.6752L41.6223 25.45C42.3831 24.6492 42.3507 23.3833 41.5498 22.6225C40.749 21.8617 39.4831 21.8942 38.7224 22.695L31.9998 29.7714L25.2772 22.695Z"/></svg>' }, jn = { name: "mute", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M51.4283 11.6761L53.1768 9.53891C53.9347 8.61282 53.7982 7.24774 52.8722 6.48993C51.9461 5.73211 50.581 5.86852 49.8232 6.79461L36.3333 23.2822V13.3972C36.3332 11.6447 35.2774 10.0648 33.6583 9.39418C32.0391 8.72356 30.1755 9.09425 28.9362 10.3334L18.1029 21.1668H14.6667C9.88247 21.1722 6.00547 25.0492 6 29.8334V34.1668C6.00547 38.951 9.88247 42.828 14.6667 42.8334H18.1029L19.3315 44.0621L10.8232 54.4613C10.0653 55.3874 10.2018 56.7525 11.1279 57.5103C12.0539 58.2681 13.419 58.1317 14.1768 57.2056L22.411 47.1416L28.9362 53.6668C30.1755 54.9059 32.0391 55.2766 33.6583 54.606C35.2774 53.9354 36.3332 52.3555 36.3333 50.603V30.1254L42.6092 22.4549C44.2201 25.3756 45.044 28.6649 45 32.0001C45.1184 36.1899 43.7698 40.2896 41.1872 43.5909C40.409 44.5001 40.5152 45.8679 41.4243 46.6461C42.3334 47.4243 43.7012 47.3183 44.4795 46.4093C47.7313 42.3208 49.4486 37.2227 49.3333 32.0001C49.403 27.3538 48.067 22.7949 45.5005 18.9211L48.6119 15.1182C52.019 20.0793 53.7867 25.9829 53.6667 32.0001C53.6667 39.0587 51.4873 45.6518 47.6872 50.0909C46.909 51.0001 47.0152 52.3679 47.9243 53.1461C48.8334 53.9243 50.2012 53.8183 50.9795 52.9093C55.4408 47.6968 58 40.0764 58 32.0001C58 24.21 55.6006 16.8662 51.4283 11.6761ZM19.8971 38.5H14.6667C12.2744 38.4977 10.3357 36.559 10.3333 34.1667V29.8334C10.3357 27.4411 12.2744 25.5024 14.6667 25.5H19.8971L32 13.3972V28.5784L22.089 40.6919L19.8971 38.5ZM31.9997 50.603L25.1682 43.7715L31.9997 35.4218V50.603Z"/></svg>' }, Qr = { 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>' }, Kr = { name: "send", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M8.41642 6.29292C5.99705 5.18016 3.38612 7.41823 4.12858 9.96847L10.5427 32L4.12858 54.0315C3.38612 56.5818 5.99704 58.8198 8.41642 57.7071L58.1942 34.8125C60.6019 33.7051 60.6019 30.2949 58.1942 29.1875L8.41642 6.29292ZM14.2569 29.9351L8.74174 10.9913L49.9295 29.9351H14.2569ZM14.2568 34.0651L8.74174 53.0087L49.9291 34.0651H14.2568Z"/></svg>' }, Dn = { name: "volume", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M33.6578 9.3322C32.0391 8.65799 30.1735 9.02919 28.9362 10.2717L18.1029 21.105H14.6667C9.88247 21.1105 6.00547 24.9875 6 29.7717V34.105C6.00547 38.8892 9.88247 42.7662 14.6667 42.7717H18.1029L28.9362 53.605C30.1755 54.8442 32.0391 55.2149 33.6583 54.5442C35.2774 53.8736 36.3332 52.2937 36.3333 50.5412V13.3355C36.3365 11.5817 35.2794 10.0001 33.6578 9.3322ZM32 50.5411L19.8971 38.4382H14.6667C12.2744 38.4358 10.3357 36.4971 10.3333 34.1049V29.7716C10.3357 27.3793 12.2744 25.4406 14.6667 25.4382H19.8971L32 13.3353V50.5411ZM49.3334 31.9383C49.4487 37.161 47.7314 42.2591 44.4796 46.3475C43.7013 47.2565 42.3335 47.3625 41.4244 46.5843C40.5153 45.8061 40.4092 44.4383 41.1873 43.5291C43.7699 40.2278 45.1185 36.1282 45.0001 31.9383C45.1185 27.7485 43.7699 23.6488 41.1873 20.3475C40.4092 19.4383 40.5153 18.0705 41.4244 17.2923C42.3335 16.5141 43.7013 16.6201 44.4796 17.5291C47.7314 21.6176 49.4487 26.7157 49.3334 31.9383ZM58.0001 31.9383C58.0001 40.0147 55.441 47.635 50.9796 52.8475C50.2013 53.7565 48.8335 53.8625 47.9244 53.0843C47.0153 52.3061 46.9092 50.9383 47.6873 50.0291C51.4874 45.59 53.6668 38.9969 53.6668 31.9383C53.6668 24.8797 51.4874 18.2866 47.6873 13.8475C46.9092 12.9383 47.0153 11.5705 47.9244 10.7923C48.8335 10.0141 50.2013 10.1201 50.9796 11.0291C55.441 16.2416 58.0001 23.862 58.0001 31.9383Z"/></svg>' }, le = {
2020
2020
  allRenderFn: !1,
2021
2021
  cmpDidLoad: !0,
2022
2022
  cmpDidUnload: !1,
@@ -2100,7 +2100,7 @@ const Fr = { name: "alert", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.
2100
2100
  transformTagName: !1,
2101
2101
  attachStyles: !0
2102
2102
  };
2103
- let ce, Bs, ht, Ns = !1, Xe = !1, Vt = !1, T = !1, Dn = null, Ut = !1;
2103
+ let ce, Bs, ht, Ns = !1, Xe = !1, en = !1, T = !1, Hn = null, jt = !1;
2104
2104
  const ut = typeof window < "u" ? window : {}, j = ut.document || { head: {} }, Fs = ut.HTMLElement || class {
2105
2105
  }, S = {
2106
2106
  $flags$: 0,
@@ -2158,11 +2158,11 @@ const ut = typeof window < "u" ? window : {}, j = ut.document || { head: {} }, F
2158
2158
  }, io = (s) => {
2159
2159
  const e = s.$cmpMeta$, t = s.$hostElement$, n = e.$flags$, i = se("attachStyles", e.$tagName$), r = so(t.shadowRoot ? t.shadowRoot : t.getRootNode(), e, s.$modeName$);
2160
2160
  n & 10 && (t["s-sc"] = r, t.classList.add(r + "-h"), n & 2 && t.classList.add(r + "-s")), i();
2161
- }, Zs = (s, e) => "sc-" + (e && s.$flags$ & 32 ? s.$tagName$ + "-" + e : s.$tagName$), ro = (s) => Io.map((e) => e(s)).find((e) => !!e), Fn = {}, oo = "http://www.w3.org/2000/svg", ao = "http://www.w3.org/1999/xhtml", lo = (s) => s != null, en = (s) => (s = typeof s, s === "object" || s === "function"), de = (s, e, ...t) => {
2161
+ }, Zs = (s, e) => "sc-" + (e && s.$flags$ & 32 ? s.$tagName$ + "-" + e : s.$tagName$), ro = (s) => Io.map((e) => e(s)).find((e) => !!e), Fn = {}, oo = "http://www.w3.org/2000/svg", ao = "http://www.w3.org/1999/xhtml", lo = (s) => s != null, tn = (s) => (s = typeof s, s === "object" || s === "function"), de = (s, e, ...t) => {
2162
2162
  let n = null, i = null, r = null, o = !1, a = !1, l = [];
2163
2163
  const c = (u) => {
2164
2164
  for (let p = 0; p < u.length; p++)
2165
- n = u[p], Array.isArray(n) ? c(n) : n != null && typeof n != "boolean" && ((o = typeof s != "function" && !en(n)) && (n = String(n)), o && a ? l[l.length - 1].$text$ += n : l.push(o ? Je(null, n) : n), a = o);
2165
+ n = u[p], Array.isArray(n) ? c(n) : n != null && typeof n != "boolean" && ((o = typeof s != "function" && !tn(n)) && (n = String(n)), o && a ? l[l.length - 1].$text$ += n : l.push(o ? Je(null, n) : n), a = o);
2166
2166
  };
2167
2167
  if (c(t), e) {
2168
2168
  e.key && (i = e.key), e.name && (r = e.name);
@@ -2184,7 +2184,7 @@ const ut = typeof window < "u" ? window : {}, j = ut.document || { head: {} }, F
2184
2184
  $children$: null
2185
2185
  };
2186
2186
  return t.$attrs$ = null, t.$key$ = null, t.$name$ = null, t;
2187
- }, tn = {}, co = (s) => s && s.$tag$ === tn, ho = {
2187
+ }, nn = {}, co = (s) => s && s.$tag$ === nn, ho = {
2188
2188
  forEach: (s, e) => s.map(qn).forEach(e),
2189
2189
  map: (s, e) => s.map(qn).map(e).map(uo)
2190
2190
  }, qn = (s) => ({
@@ -2218,7 +2218,7 @@ const ut = typeof window < "u" ? window : {}, j = ut.document || { head: {} }, F
2218
2218
  else if (!s.__lookupSetter__(e) && e[0] === "o" && e[1] === "n")
2219
2219
  e[2] === "-" ? e = e.slice(3) : Kn(ut, a) ? e = a.slice(2) : e = a[2] + e.slice(3), t && S.rel(s, e, t, !1), n && S.ael(s, e, n, !1);
2220
2220
  else {
2221
- const l = en(n);
2221
+ const l = tn(n);
2222
2222
  if ((o || l && n !== null) && !i)
2223
2223
  try {
2224
2224
  if (s.tagName.includes("-"))
@@ -2241,7 +2241,7 @@ const ut = typeof window < "u" ? window : {}, j = ut.document || { head: {} }, F
2241
2241
  Zn(i, n, r[n], o[n], t, e.$flags$);
2242
2242
  }, Ve = (s, e, t, n) => {
2243
2243
  let i = e.$children$[t], r = 0, o, a, l;
2244
- if (Ns || (Vt = !0, i.$tag$ === "slot" && (ce && n.classList.add(ce + "-s"), i.$flags$ |= i.$children$ ? (
2244
+ if (Ns || (en = !0, i.$tag$ === "slot" && (ce && n.classList.add(ce + "-s"), i.$flags$ |= i.$children$ ? (
2245
2245
  // slot element has fallback content
2246
2246
  2
2247
2247
  ) : (
@@ -2263,13 +2263,13 @@ const ut = typeof window < "u" ? window : {}, j = ut.document || { head: {} }, F
2263
2263
  const t = s.childNodes;
2264
2264
  for (let n = t.length - 1; n >= 0; n--) {
2265
2265
  const i = t[n];
2266
- i["s-hn"] !== ht && i["s-ol"] && (Ks(i).insertBefore(i, nn(i)), i["s-ol"].remove(), i["s-ol"] = void 0, Vt = !0), e && Ee(i, e);
2266
+ i["s-hn"] !== ht && i["s-ol"] && (Ks(i).insertBefore(i, sn(i)), i["s-ol"].remove(), i["s-ol"] = void 0, en = !0), e && Ee(i, e);
2267
2267
  }
2268
2268
  S.$flags$ &= -2;
2269
2269
  }, Ys = (s, e, t, n, i, r) => {
2270
2270
  let o = s["s-cr"] && s["s-cr"].parentNode || s, a;
2271
2271
  for (o.shadowRoot && o.tagName === ht && (o = o.shadowRoot); i <= r; ++i)
2272
- n[i] && (a = Ve(null, t, i, s), a && (n[i].$elm$ = a, o.insertBefore(a, nn(e))));
2272
+ n[i] && (a = Ve(null, t, i, s), a && (n[i].$elm$ = a, o.insertBefore(a, sn(e))));
2273
2273
  }, Qs = (s, e, t, n, i) => {
2274
2274
  for (; e <= t; ++e)
2275
2275
  (n = s[e]) && (i = n.$elm$, Js(n), Xe = !0, i["s-ol"] ? i["s-ol"].remove() : Ee(i, !0), i.remove());
@@ -2284,13 +2284,13 @@ const ut = typeof window < "u" ? window : {}, j = ut.document || { head: {} }, F
2284
2284
  p = n[++r];
2285
2285
  else if (d == null)
2286
2286
  d = n[--u];
2287
- else if (De(c, p))
2287
+ else if (He(c, p))
2288
2288
  he(c, p), c = e[++i], p = n[++r];
2289
- else if (De(h, d))
2289
+ else if (He(h, d))
2290
2290
  he(h, d), h = e[--l], d = n[--u];
2291
- else if (De(c, d))
2291
+ else if (He(c, d))
2292
2292
  (c.$tag$ === "slot" || d.$tag$ === "slot") && Ee(c.$elm$.parentNode, !1), he(c, d), s.insertBefore(c.$elm$, h.$elm$.nextSibling), c = e[++i], d = n[--u];
2293
- else if (De(h, p))
2293
+ else if (He(h, p))
2294
2294
  (c.$tag$ === "slot" || d.$tag$ === "slot") && Ee(h.$elm$.parentNode, !1), he(h, p), s.insertBefore(h.$elm$, c.$elm$), h = e[--l], p = n[++r];
2295
2295
  else {
2296
2296
  for (o = -1, a = i; a <= l; ++a)
@@ -2298,10 +2298,10 @@ const ut = typeof window < "u" ? window : {}, j = ut.document || { head: {} }, F
2298
2298
  o = a;
2299
2299
  break;
2300
2300
  }
2301
- o >= 0 ? (f = e[o], f.$tag$ !== p.$tag$ ? b = Ve(e && e[r], t, o, s) : (he(f, p), e[o] = void 0, b = f.$elm$), p = n[++r]) : (b = Ve(e && e[r], t, r, s), p = n[++r]), b && Ks(c.$elm$).insertBefore(b, nn(c.$elm$));
2301
+ o >= 0 ? (f = e[o], f.$tag$ !== p.$tag$ ? b = Ve(e && e[r], t, o, s) : (he(f, p), e[o] = void 0, b = f.$elm$), p = n[++r]) : (b = Ve(e && e[r], t, r, s), p = n[++r]), b && Ks(c.$elm$).insertBefore(b, sn(c.$elm$));
2302
2302
  }
2303
2303
  i > l ? Ys(s, n[u + 1] == null ? null : n[u + 1].$elm$, t, n, r, u) : r > u && Qs(e, i, l);
2304
- }, De = (s, e) => s.$tag$ === e.$tag$ ? s.$tag$ === "slot" ? s.$name$ === e.$name$ : s.$key$ === e.$key$ : !1, nn = (s) => s && s["s-ol"] || s, Ks = (s) => (s["s-ol"] ? s["s-ol"] : s).parentNode, he = (s, e) => {
2304
+ }, He = (s, e) => s.$tag$ === e.$tag$ ? s.$tag$ === "slot" ? s.$name$ === e.$name$ : s.$key$ === e.$key$ : !1, sn = (s) => s && s["s-ol"] || s, Ks = (s) => (s["s-ol"] ? s["s-ol"] : s).parentNode, he = (s, e) => {
2305
2305
  const t = e.$elm$ = s.$elm$, n = s.$children$, i = e.$children$, r = e.$tag$, o = e.$text$;
2306
2306
  let a;
2307
2307
  o === null ? (T = r === "svg" ? !0 : r === "foreignObject" ? !1 : T, r === "slot" || Ws(s, e, T), n !== null && i !== null ? fo(t, n, e, i) : i !== null ? (s.$text$ !== null && (t.textContent = ""), Ys(t, null, e, i, 0, i.length - 1)) : n !== null && Qs(n, 0, n.length - 1), T && r === "svg" && (T = !1)) : (a = t["s-cr"]) ? a.parentNode.textContent = o : s.$text$ !== o && (t.data = o);
@@ -2344,7 +2344,7 @@ const ut = typeof window < "u" ? window : {}, j = ut.document || { head: {} }, F
2344
2344
  const t = s.$hostElement$, n = s.$cmpMeta$, i = s.$vnode$ || Je(null, null), r = co(e) ? e : de(null, null, e);
2345
2345
  ht = t.tagName, n.$attrsToReflect$ && (r.$attrs$ = r.$attrs$ || {}, n.$attrsToReflect$.map(([o, a]) => r.$attrs$[a] = t[o])), r.$tag$ = null, r.$flags$ |= 4, s.$vnode$ = r, r.$elm$ = i.$elm$ = t.shadowRoot || t, ce = t["s-sc"], Bs = t["s-cr"], Ns = (n.$flags$ & 1) !== 0, Xe = !1, he(i, r);
2346
2346
  {
2347
- if (S.$flags$ |= 1, Vt) {
2347
+ if (S.$flags$ |= 1, en) {
2348
2348
  Xs(r.$elm$);
2349
2349
  let o, a, l, c, h, u, p = 0;
2350
2350
  for (; p < O.length; p++)
@@ -2387,11 +2387,11 @@ const ut = typeof window < "u" ? window : {}, j = ut.document || { head: {} }, F
2387
2387
  wo(s, e, n), r(), i(), ko(s);
2388
2388
  }, wo = (s, e, t) => {
2389
2389
  try {
2390
- Dn = e, e = e.render && e.render(), s.$flags$ &= -17, s.$flags$ |= 2, (le.hasRenderFn || le.reflect) && (le.vdomRender || le.reflect) && (le.hydrateServerSide || go(s, e));
2390
+ Hn = e, e = e.render && e.render(), s.$flags$ &= -17, s.$flags$ |= 2, (le.hasRenderFn || le.reflect) && (le.vdomRender || le.reflect) && (le.hydrateServerSide || go(s, e));
2391
2391
  } catch (a) {
2392
2392
  Ie(a, s.$hostElement$);
2393
2393
  }
2394
- return Dn = null, null;
2394
+ return Hn = null, null;
2395
2395
  }, ko = (s) => {
2396
2396
  const e = s.$cmpMeta$.$tagName$, t = s.$hostElement$, n = se("postUpdate", e), i = t;
2397
2397
  s.$ancestorComponent$, fe(i, "componentDidRender"), s.$flags$ & 64 ? (fe(i, "componentDidUpdate"), n()) : (s.$flags$ |= 64, fe(i, "componentDidLoad"), n());
@@ -2402,7 +2402,7 @@ const ut = typeof window < "u" ? window : {}, j = ut.document || { head: {} }, F
2402
2402
  } catch (n) {
2403
2403
  Ie(n);
2404
2404
  }
2405
- }, Qn = (s, e) => s && s.then ? s.then(e) : e(), _o = (s, e) => s != null && !en(s) ? e & 4 ? s === "false" ? !1 : s === "" || !!s : e & 2 ? parseFloat(s) : e & 1 ? String(s) : s : s, So = (s, e) => pt(s).$instanceValues$.get(e), Co = (s, e, t, n) => {
2405
+ }, Qn = (s, e) => s && s.then ? s.then(e) : e(), _o = (s, e) => s != null && !tn(s) ? e & 4 ? s === "false" ? !1 : s === "" || !!s : e & 2 ? parseFloat(s) : e & 1 ? String(s) : s : s, So = (s, e) => pt(s).$instanceValues$.get(e), Co = (s, e, t, n) => {
2406
2406
  const i = pt(s), r = s, o = i.$instanceValues$.get(e), a = i.$flags$, l = r;
2407
2407
  t = _o(t, n.$members$[e][0]);
2408
2408
  const c = Number.isNaN(o) && Number.isNaN(t);
@@ -2526,7 +2526,7 @@ const ut = typeof window < "u" ? window : {}, j = ut.document || { head: {} }, F
2526
2526
  };
2527
2527
  return qs(s, t, e.$listeners$), ti.set(s, t);
2528
2528
  }, Kn = (s, e) => e in s, Ie = (s, e) => (0, console.error)(s, e), et = /* @__PURE__ */ new Map(), Io = [], Gn = [], ni = [], Mo = (s, e) => (t) => {
2529
- s.push(t), Ut || (Ut = !0, e && S.$flags$ & 4 ? zo(jt) : S.raf(jt));
2529
+ s.push(t), jt || (jt = !0, e && S.$flags$ & 4 ? zo(Dt) : S.raf(Dt));
2530
2530
  }, Xn = (s) => {
2531
2531
  for (let e = 0; e < s.length; e++)
2532
2532
  try {
@@ -2535,8 +2535,8 @@ const ut = typeof window < "u" ? window : {}, j = ut.document || { head: {} }, F
2535
2535
  Ie(t);
2536
2536
  }
2537
2537
  s.length = 0;
2538
- }, jt = () => {
2539
- Xn(Gn), Xn(ni), (Ut = Gn.length > 0) && S.raf(jt);
2538
+ }, Dt = () => {
2539
+ Xn(Gn), Xn(ni), (jt = Gn.length > 0) && S.raf(Dt);
2540
2540
  }, zo = (s) => Xr().then(s), Uo = /* @__PURE__ */ Mo(ni, !0), jo = (s = {}) => {
2541
2541
  const { content: e = "", title: t, attributes: n = [] } = s;
2542
2542
  let i = "", r = [
@@ -2545,13 +2545,13 @@ const ut = typeof window < "u" ? window : {}, j = ut.document || { head: {} }, F
2545
2545
  ...n
2546
2546
  ];
2547
2547
  return t && (i = `<title>${t}</title>`), `<svg ${r.map((a) => `${a.name}="${a.value}"`).join(" ")}>${i}${e}</svg>`;
2548
- }, Ho = (s) => s.replace(/<(\/?)svg([^>]*)>/g, "").trim();
2549
- function Do(s) {
2548
+ }, Do = (s) => s.replace(/<(\/?)svg([^>]*)>/g, "").trim();
2549
+ function Ho(s) {
2550
2550
  return `${s.getFullYear()}.${s.getMonth() + 1}`;
2551
2551
  }
2552
2552
  class Bo {
2553
2553
  constructor(e) {
2554
- this.voca_component = e, this.voca_added = Do(/* @__PURE__ */ new Date());
2554
+ this.voca_component = e, this.voca_added = Ho(/* @__PURE__ */ new Date());
2555
2555
  }
2556
2556
  }
2557
2557
  const No = "telia-vst{display:none}", Fo = /* @__PURE__ */ ei(class extends Fs {
@@ -2562,7 +2562,7 @@ const No = "telia-vst{display:none}", Fo = /* @__PURE__ */ ei(class extends Fs {
2562
2562
  this.vocaInternalUStats.emit(new Bo(this.dataTrackingId));
2563
2563
  }
2564
2564
  render() {
2565
- return de(tn, null);
2565
+ return de(nn, null);
2566
2566
  }
2567
2567
  static get style() {
2568
2568
  return No;
@@ -2617,11 +2617,11 @@ const Wo = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
2617
2617
  { name: "aria-hidden", value: "true" }
2618
2618
  ];
2619
2619
  const t = jo({
2620
- content: Ho(s),
2620
+ content: Do(s),
2621
2621
  attributes: e,
2622
2622
  title: this.allyTitle
2623
2623
  });
2624
- return de(tn, { class: `telia-icon telia-icon--${this.size}` }, de("span", { "aria-label": this.allyTitle, class: "telia-icon__container", innerHTML: t }), de("telia-vst", { dataTrackingId: this.dataTrackingId }));
2624
+ return de(nn, { class: `telia-icon telia-icon--${this.size}` }, de("span", { "aria-label": this.allyTitle, class: "telia-icon__container", innerHTML: t }), de("telia-vst", { dataTrackingId: this.dataTrackingId }));
2625
2625
  }
2626
2626
  static get style() {
2627
2627
  return Wo;
@@ -2653,7 +2653,7 @@ Qo();
2653
2653
  * Copyright 2017 Google LLC
2654
2654
  * SPDX-License-Identifier: BSD-3-Clause
2655
2655
  */
2656
- const Ko = { attribute: !0, type: String, converter: Ke, reflect: !1, hasChanged: Jt }, Go = (s = Ko, e, t) => {
2656
+ const Ko = { attribute: !0, type: String, converter: Ke, reflect: !1, hasChanged: Vt }, Go = (s = Ko, e, t) => {
2657
2657
  const { kind: n, metadata: i } = t;
2658
2658
  let r = globalThis.litPropertyMetadata.get(i);
2659
2659
  if (r === void 0 && globalThis.litPropertyMetadata.set(i, r = /* @__PURE__ */ new Map()), r.set(t.name, s), n === "accessor") {
@@ -2700,7 +2700,7 @@ const Xo = (s) => s.strings === void 0;
2700
2700
  * SPDX-License-Identifier: BSD-3-Clause
2701
2701
  */
2702
2702
  const dt = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, ft = (s) => (...e) => ({ _$litDirective$: s, values: e });
2703
- let sn = class {
2703
+ let rn = class {
2704
2704
  constructor(e) {
2705
2705
  }
2706
2706
  get _$AU() {
@@ -2764,7 +2764,7 @@ function Vo(s, e = !1, t = 0) {
2764
2764
  const ea = (s) => {
2765
2765
  s.type == dt.CHILD && (s._$AP ?? (s._$AP = Vo), s._$AQ ?? (s._$AQ = Jo));
2766
2766
  };
2767
- let ri = class extends sn {
2767
+ let ri = class extends rn {
2768
2768
  constructor() {
2769
2769
  super(...arguments), this._$AN = void 0;
2770
2770
  }
@@ -2793,10 +2793,10 @@ let ri = class extends sn {
2793
2793
  * Copyright 2020 Google LLC
2794
2794
  * SPDX-License-Identifier: BSD-3-Clause
2795
2795
  */
2796
- const F = () => new ta();
2796
+ const B = () => new ta();
2797
2797
  class ta {
2798
2798
  }
2799
- const At = /* @__PURE__ */ new WeakMap(), q = ft(class extends ri {
2799
+ const At = /* @__PURE__ */ new WeakMap(), N = ft(class extends ri {
2800
2800
  render(s) {
2801
2801
  return g;
2802
2802
  }
@@ -2829,7 +2829,7 @@ const At = /* @__PURE__ */ new WeakMap(), q = ft(class extends ri {
2829
2829
  * Copyright 2018 Google LLC
2830
2830
  * SPDX-License-Identifier: BSD-3-Clause
2831
2831
  */
2832
- const Te = ft(class extends sn {
2832
+ const Te = ft(class extends rn {
2833
2833
  constructor(s) {
2834
2834
  var e;
2835
2835
  if (super(s), s.type !== dt.ATTRIBUTE || s.name !== "class" || ((e = s.strings) == null ? void 0 : e.length) > 2)
@@ -2861,7 +2861,7 @@ var na = Object.defineProperty, sa = Object.getOwnPropertyDescriptor, ia = (s, e
2861
2861
  (o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
2862
2862
  return n && i && na(e, t, i), i;
2863
2863
  };
2864
- class rn extends k {
2864
+ class on extends k {
2865
2865
  constructor() {
2866
2866
  super(...arguments), this.anchor = "BottomRight";
2867
2867
  }
@@ -2873,7 +2873,7 @@ class rn extends k {
2873
2873
  return this.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right"), g;
2874
2874
  }
2875
2875
  }
2876
- rn.styles = [
2876
+ on.styles = [
2877
2877
  A`
2878
2878
  :host {
2879
2879
  position: fixed;
@@ -2894,7 +2894,7 @@ rn.styles = [
2894
2894
  ];
2895
2895
  ia([
2896
2896
  w({ attribute: !0 })
2897
- ], rn.prototype, "anchor", 2);
2897
+ ], on.prototype, "anchor", 2);
2898
2898
  const ra = /* @__PURE__ */ new WeakMap();
2899
2899
  let Jn = 0;
2900
2900
  const Et = /* @__PURE__ */ new Map(), Vn = /* @__PURE__ */ new WeakSet(), es = () => new Promise((s) => requestAnimationFrame(s)), oa = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], aa = [{ opacity: 0 }], ts = [{ opacity: 0 }, { opacity: 1 }], ns = (s, e) => {
@@ -3099,7 +3099,7 @@ class ha extends ri {
3099
3099
  this.shouldLog && !this.isDisabled() && console.log(e, this.options.id, t);
3100
3100
  }
3101
3101
  }
3102
- const Dt = ft(ha), Be = (s, e, t) => {
3102
+ const Bt = ft(ha), Be = (s, e, t) => {
3103
3103
  s && t.style.setProperty(e, s);
3104
3104
  }, oi = (s, e) => {
3105
3105
  var t, n, i, r;
@@ -3124,7 +3124,7 @@ var ua = Object.defineProperty, pa = Object.getOwnPropertyDescriptor, gt = (s, e
3124
3124
  };
3125
3125
  class re extends k {
3126
3126
  constructor() {
3127
- super(...arguments), this.active = !1, this.loaded = !1, this.containerRef = F(), this.widgetActive$ = new M(!1), this.componentIsDestroyed$ = new _();
3127
+ super(...arguments), this.active = !1, this.loaded = !1, this.containerRef = B(), this.widgetActive$ = new M(!1), this.componentIsDestroyed$ = new _();
3128
3128
  }
3129
3129
  async connectedCallback() {
3130
3130
  super.connectedCallback(), this.icon = await this._renderSymbol(), this.loaded = !0, this._applyBranding();
@@ -3170,13 +3170,13 @@ class re extends k {
3170
3170
  }
3171
3171
  render() {
3172
3172
  var e, t, n, i;
3173
- return m`<div class="trigger-container" ${q(this.containerRef)}>
3173
+ return m`<div class="trigger-container" ${N(this.containerRef)}>
3174
3174
  ${!this.active && ((i = (n = (t = (e = this.application) == null ? void 0 : e.settings) == null ? void 0 : t.branding) == null ? void 0 : n.other) != null && i.showButtonLabel) ? m`
3175
3175
  <button
3176
3176
  label="${this.application.settings.branding.other.buttonLabelText ?? "Widget trigger"}"
3177
3177
  class="trigger-label"
3178
3178
  @click=${this.toggleActive}
3179
- ${Dt({
3179
+ ${Bt({
3180
3180
  keyframeOptions: {},
3181
3181
  in: oa,
3182
3182
  stabilizeOut: !0,
@@ -3433,7 +3433,7 @@ function* ga(s, e) {
3433
3433
  yield e(n, t++);
3434
3434
  }
3435
3435
  }
3436
- var on = /* @__PURE__ */ ((s) => (s.Inline = "inline", s.Trigger = "trigger", s))(on || {});
3436
+ var an = /* @__PURE__ */ ((s) => (s.Inline = "inline", s.Trigger = "trigger", s))(an || {});
3437
3437
  /**
3438
3438
  * @license
3439
3439
  * Copyright 2021 Google LLC
@@ -3566,9 +3566,9 @@ var ya = Object.defineProperty, xa = Object.getOwnPropertyDescriptor, wa = (s, e
3566
3566
  return n && i && ya(e, t, i), i;
3567
3567
  };
3568
3568
  const ka = "application";
3569
- class an extends k {
3569
+ class ln extends k {
3570
3570
  constructor() {
3571
- super(...arguments), this.nodes = [], this.wrapperRef = F();
3571
+ super(...arguments), this.nodes = [], this.wrapperRef = B();
3572
3572
  }
3573
3573
  addChild(e) {
3574
3574
  e.parent = this, this.nodes.push(e);
@@ -3591,12 +3591,12 @@ class an extends k {
3591
3591
  this.applyBranding(), this.applyStyles();
3592
3592
  }
3593
3593
  render() {
3594
- return this.application.renderStrategy === on.Trigger && (this.renderRoot.host.classList.add("floating"), this.application.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.application.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right")), m`<div class="widget-container" ${q(this.wrapperRef)}>
3594
+ return this.application.renderStrategy === an.Trigger && (this.renderRoot.host.classList.add("floating"), this.application.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.application.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right")), m`<div class="widget-container" ${N(this.wrapperRef)}>
3595
3595
  ${ga(this.nodes, (e) => e)}
3596
3596
  </div>`;
3597
3597
  }
3598
3598
  }
3599
- an.styles = A`
3599
+ ln.styles = A`
3600
3600
  :host {
3601
3601
  --font-family: TeliaSans, Helvetica, Arial, Lucida Grande, sans-serif;
3602
3602
  --spacing-xs: 0.2rem;
@@ -3704,8 +3704,8 @@ an.styles = A`
3704
3704
  wa([
3705
3705
  w({ attribute: !1 }),
3706
3706
  $a({ context: ka })
3707
- ], an.prototype, "application", 2);
3708
- var _a = Object.defineProperty, Sa = Object.getOwnPropertyDescriptor, ln = (s, e, t, n) => {
3707
+ ], ln.prototype, "application", 2);
3708
+ var _a = Object.defineProperty, Sa = Object.getOwnPropertyDescriptor, cn = (s, e, t, n) => {
3709
3709
  for (var i = n > 1 ? void 0 : n ? Sa(e, t) : e, r = s.length - 1, o; r >= 0; r--)
3710
3710
  (o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
3711
3711
  return n && i && _a(e, t, i), i;
@@ -3735,7 +3735,7 @@ class Me extends k {
3735
3735
  render() {
3736
3736
  if (!this.widget || this.status !== "activated")
3737
3737
  return g;
3738
- if (this.widget.renderStrategy === on.Trigger) {
3738
+ if (this.widget.renderStrategy === an.Trigger) {
3739
3739
  const e = new re();
3740
3740
  return e.application = this.widget, e;
3741
3741
  }
@@ -3749,19 +3749,19 @@ Me.styles = [
3749
3749
  }
3750
3750
  `
3751
3751
  ];
3752
- ln([
3752
+ cn([
3753
3753
  w({ attribute: !0 })
3754
3754
  ], Me.prototype, "name", 2);
3755
- ln([
3755
+ cn([
3756
3756
  E()
3757
3757
  ], Me.prototype, "widget", 2);
3758
- ln([
3758
+ cn([
3759
3759
  E()
3760
3760
  ], Me.prototype, "status", 2);
3761
- customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", rn);
3761
+ customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", on);
3762
3762
  customElements.get("ace-trigger") || customElements.define("ace-trigger", re);
3763
3763
  customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", li);
3764
- customElements.get("ace-wrapper") || customElements.define("ace-wrapper", an);
3764
+ customElements.get("ace-wrapper") || customElements.define("ace-wrapper", ln);
3765
3765
  customElements.get("ace-widget") || customElements.define("ace-widget", Me);
3766
3766
  class Ca {
3767
3767
  constructor(e) {
@@ -3789,9 +3789,9 @@ class os {
3789
3789
  throw new Error(`No provider with key "${t}" was found.`);
3790
3790
  this.data$.next(i);
3791
3791
  const a = o(this.component);
3792
- this.provider$.next(a), a.actions().pipe(An(this.kill$)).subscribe((l) => {
3792
+ this.provider$.next(a), a.actions().pipe(zt(this.kill$)).subscribe((l) => {
3793
3793
  this.write(l);
3794
- }), a.isTyping().pipe(An(this.kill$)).subscribe((l) => {
3794
+ }), a.isTyping().pipe(zt(this.kill$)).subscribe((l) => {
3795
3795
  this.isTyping$.next(l);
3796
3796
  });
3797
3797
  }
@@ -3965,7 +3965,7 @@ class Ea {
3965
3965
  pe((e) => {
3966
3966
  if (!e)
3967
3967
  return Pe;
3968
- const t = e.removeEntryAction$.pipe(zt(this.entries$)).pipe(
3968
+ const t = e.removeEntryAction$.pipe(Ut(this.entries$)).pipe(
3969
3969
  Ye(([i, r]) => r.filter((o) => o.id !== i.id))
3970
3970
  ), n = e.entries().pipe(
3971
3971
  Ye((i) => {
@@ -3989,7 +3989,7 @@ var Ta = Object.defineProperty, La = Object.getOwnPropertyDescriptor, Oa = (s, e
3989
3989
  (o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
3990
3990
  return n && i && Ta(e, t, i), i;
3991
3991
  };
3992
- class cn extends k {
3992
+ class hn extends k {
3993
3993
  connectedCallback() {
3994
3994
  var e;
3995
3995
  super.connectedCallback(), (e = this.entry.didUpdate) == null || e.subscribe(() => {
@@ -4103,7 +4103,7 @@ class cn extends k {
4103
4103
  }
4104
4104
  }
4105
4105
  }
4106
- cn.styles = [
4106
+ hn.styles = [
4107
4107
  A`
4108
4108
  :host {
4109
4109
  box-sizing: border-box;
@@ -4223,7 +4223,7 @@ cn.styles = [
4223
4223
  ];
4224
4224
  Oa([
4225
4225
  w({ attribute: !1 })
4226
- ], cn.prototype, "entry", 2);
4226
+ ], hn.prototype, "entry", 2);
4227
4227
  var Pa = Object.defineProperty, Ra = Object.getOwnPropertyDescriptor, ci = (s, e, t, n) => {
4228
4228
  for (var i = n > 1 ? void 0 : n ? Ra(e, t) : e, r = s.length - 1, o; r >= 0; r--)
4229
4229
  (o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
@@ -4243,7 +4243,7 @@ class mt extends k {
4243
4243
  (e) => m`<div class="conversation-entry" tabindex="-1">
4244
4244
  <conversation-entry
4245
4245
  .entry=${e}
4246
- ${Dt({
4246
+ ${Bt({
4247
4247
  keyframeOptions: {},
4248
4248
  in: ts,
4249
4249
  stabilizeOut: !0,
@@ -4254,7 +4254,7 @@ class mt extends k {
4254
4254
  </div>`
4255
4255
  )}
4256
4256
  ${this.loading ? m`<ace-typing-state
4257
- ${Dt({
4257
+ ${Bt({
4258
4258
  keyframeOptions: {},
4259
4259
  in: ts,
4260
4260
  out: aa,
@@ -4301,7 +4301,7 @@ var Ma = Object.defineProperty, za = Object.getOwnPropertyDescriptor, Ua = (s, e
4301
4301
  (o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
4302
4302
  return n && i && Ma(e, t, i), i;
4303
4303
  };
4304
- class hn extends k {
4304
+ class un extends k {
4305
4305
  render() {
4306
4306
  return m`
4307
4307
  <div class="message-group">
@@ -4330,7 +4330,7 @@ class hn extends k {
4330
4330
  `;
4331
4331
  }
4332
4332
  }
4333
- hn.styles = [
4333
+ un.styles = [
4334
4334
  A`
4335
4335
  :host {
4336
4336
  box-sizing: border-box;
@@ -4348,7 +4348,7 @@ hn.styles = [
4348
4348
  ];
4349
4349
  Ua([
4350
4350
  w({ attribute: !1 })
4351
- ], hn.prototype, "group", 2);
4351
+ ], un.prototype, "group", 2);
4352
4352
  class hi extends k {
4353
4353
  render() {
4354
4354
  return m`<div class="container">
@@ -4400,7 +4400,7 @@ hi.styles = [
4400
4400
  * Copyright 2017 Google LLC
4401
4401
  * SPDX-License-Identifier: BSD-3-Clause
4402
4402
  */
4403
- class Bt extends sn {
4403
+ class Nt extends rn {
4404
4404
  constructor(e) {
4405
4405
  if (super(e), this.it = g, e.type !== dt.CHILD)
4406
4406
  throw Error(this.constructor.directiveName + "() can only be used in child bindings");
@@ -4419,21 +4419,21 @@ class Bt extends sn {
4419
4419
  return t.raw = t, this._t = { _$litType$: this.constructor.resultType, strings: t, values: [] };
4420
4420
  }
4421
4421
  }
4422
- Bt.directiveName = "unsafeHTML", Bt.resultType = 1;
4423
- const ja = ft(Bt);
4424
- var Ha = Object.defineProperty, Da = Object.getOwnPropertyDescriptor, Ba = (s, e, t, n) => {
4425
- for (var i = n > 1 ? void 0 : n ? Da(e, t) : e, r = s.length - 1, o; r >= 0; r--)
4422
+ Nt.directiveName = "unsafeHTML", Nt.resultType = 1;
4423
+ const ja = ft(Nt);
4424
+ var Da = Object.defineProperty, Ha = Object.getOwnPropertyDescriptor, Ba = (s, e, t, n) => {
4425
+ for (var i = n > 1 ? void 0 : n ? Ha(e, t) : e, r = s.length - 1, o; r >= 0; r--)
4426
4426
  (o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
4427
- return n && i && Ha(e, t, i), i;
4427
+ return n && i && Da(e, t, i), i;
4428
4428
  };
4429
- class un extends k {
4429
+ class pn extends k {
4430
4430
  render() {
4431
4431
  return m`<div class="message-type-html">
4432
4432
  ${ja(this.message.content)}
4433
4433
  </div>`;
4434
4434
  }
4435
4435
  }
4436
- un.styles = [
4436
+ pn.styles = [
4437
4437
  A`
4438
4438
  :host {
4439
4439
  box-sizing: border-box;
@@ -4459,8 +4459,8 @@ un.styles = [
4459
4459
  ];
4460
4460
  Ba([
4461
4461
  w({ attribute: !1 })
4462
- ], un.prototype, "message", 2);
4463
- function pn() {
4462
+ ], pn.prototype, "message", 2);
4463
+ function dn() {
4464
4464
  return {
4465
4465
  async: !1,
4466
4466
  breaks: !1,
@@ -4474,7 +4474,7 @@ function pn() {
4474
4474
  walkTokens: null
4475
4475
  };
4476
4476
  }
4477
- let oe = pn();
4477
+ let oe = dn();
4478
4478
  function ui(s) {
4479
4479
  oe = s;
4480
4480
  }
@@ -4709,23 +4709,23 @@ class nt {
4709
4709
  break;
4710
4710
  a = t[0], e = e.substring(a.length);
4711
4711
  let u = t[2].split(`
4712
- `, 1)[0].replace(/^\t+/, (D) => " ".repeat(3 * D.length)), p = e.split(`
4712
+ `, 1)[0].replace(/^\t+/, (H) => " ".repeat(3 * H.length)), p = e.split(`
4713
4713
  `, 1)[0], d = 0;
4714
4714
  this.options.pedantic ? (d = 2, l = u.trimStart()) : (d = t[2].search(/[^ ]/), d = d > 4 ? 1 : d, l = u.slice(d), d += t[1].length);
4715
4715
  let b = !1;
4716
4716
  if (!u && /^ *$/.test(p) && (a += p + `
4717
4717
  `, e = e.substring(p.length + 1), h = !0), !h) {
4718
- const D = new RegExp(`^ {0,${Math.min(3, d - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`), X = new RegExp(`^ {0,${Math.min(3, d - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`), yn = new RegExp(`^ {0,${Math.min(3, d - 1)}}(?:\`\`\`|~~~)`), xn = new RegExp(`^ {0,${Math.min(3, d - 1)}}#`);
4718
+ const H = new RegExp(`^ {0,${Math.min(3, d - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`), X = new RegExp(`^ {0,${Math.min(3, d - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`), xn = new RegExp(`^ {0,${Math.min(3, d - 1)}}(?:\`\`\`|~~~)`), wn = new RegExp(`^ {0,${Math.min(3, d - 1)}}#`);
4719
4719
  for (; e; ) {
4720
4720
  const $t = e.split(`
4721
4721
  `, 1)[0];
4722
- if (p = $t, this.options.pedantic && (p = p.replace(/^ {1,4}(?=( {4})*[^ ])/g, " ")), yn.test(p) || xn.test(p) || D.test(p) || X.test(e))
4722
+ if (p = $t, this.options.pedantic && (p = p.replace(/^ {1,4}(?=( {4})*[^ ])/g, " ")), xn.test(p) || wn.test(p) || H.test(p) || X.test(e))
4723
4723
  break;
4724
4724
  if (p.search(/[^ ]/) >= d || !p.trim())
4725
4725
  l += `
4726
4726
  ` + p.slice(d);
4727
4727
  else {
4728
- if (b || u.search(/[^ ]/) >= 4 || yn.test(u) || xn.test(u) || X.test(u))
4728
+ if (b || u.search(/[^ ]/) >= 4 || xn.test(u) || wn.test(u) || X.test(u))
4729
4729
  break;
4730
4730
  l += `
4731
4731
  ` + p;
@@ -5040,7 +5040,7 @@ class nt {
5040
5040
  }
5041
5041
  }
5042
5042
  }
5043
- const Ga = /^(?: *(?:\n|$))+/, Xa = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, Ja = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, ze = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Va = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, fi = /(?:[*+-]|\d{1,9}[.)])/, gi = $(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g, fi).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(), dn = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, el = /^[^\n]+/, fn = /(?!\s*\])(?:\\.|[^\[\]\\])+/, tl = $(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label", fn).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), nl = $(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, fi).getRegex(), vt = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", gn = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, sl = $("^ {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", gn).replace("tag", vt).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), mi = $(dn).replace("hr", ze).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", vt).getRegex(), il = $(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", mi).getRegex(), mn = {
5043
+ const Ga = /^(?: *(?:\n|$))+/, Xa = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, Ja = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, ze = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Va = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, fi = /(?:[*+-]|\d{1,9}[.)])/, gi = $(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g, fi).replace(/blockCode/g, / {4}/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).getRegex(), fn = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, el = /^[^\n]+/, gn = /(?!\s*\])(?:\\.|[^\[\]\\])+/, tl = $(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label", gn).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), nl = $(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, fi).getRegex(), vt = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", mn = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, sl = $("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))", "i").replace("comment", mn).replace("tag", vt).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), mi = $(fn).replace("hr", ze).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", vt).getRegex(), il = $(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", mi).getRegex(), vn = {
5044
5044
  blockquote: il,
5045
5045
  code: Xa,
5046
5046
  def: tl,
@@ -5055,20 +5055,20 @@ const Ga = /^(?: *(?:\n|$))+/, Xa = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, Ja =
5055
5055
  table: ke,
5056
5056
  text: el
5057
5057
  }, us = $("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", ze).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", " {4}[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", vt).getRegex(), rl = {
5058
- ...mn,
5058
+ ...vn,
5059
5059
  table: us,
5060
- paragraph: $(dn).replace("hr", ze).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", us).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", vt).getRegex()
5060
+ paragraph: $(fn).replace("hr", ze).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", us).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", vt).getRegex()
5061
5061
  }, ol = {
5062
- ...mn,
5063
- html: $(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", gn).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(),
5062
+ ...vn,
5063
+ html: $(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", mn).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),
5064
5064
  def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
5065
5065
  heading: /^(#{1,6})(.*)(?:\n+|$)/,
5066
5066
  fences: ke,
5067
5067
  // fences not supported
5068
5068
  lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
5069
- paragraph: $(dn).replace("hr", ze).replace("heading", ` *#{1,6} *[^
5069
+ paragraph: $(fn).replace("hr", ze).replace("heading", ` *#{1,6} *[^
5070
5070
  ]`).replace("lheading", gi).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
5071
- }, vi = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, al = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, bi = /^( {2,}|\\)\n(?!\s*$)/, ll = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Ue = "\\p{P}\\p{S}", cl = $(/^((?![*_])[\spunctuation])/, "u").replace(/punctuation/g, Ue).getRegex(), hl = /\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g, ul = $(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/, "u").replace(/punct/g, Ue).getRegex(), pl = $("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])", "gu").replace(/punct/g, Ue).getRegex(), dl = $("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])", "gu").replace(/punct/g, Ue).getRegex(), fl = $(/\\([punct])/, "gu").replace(/punct/g, Ue).getRegex(), gl = $(/^<(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(), ml = $(gn).replace("(?:-->|$)", "-->").getRegex(), vl = $("^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", ml).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), st = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, bl = $(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label", st).replace("href", /<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), $i = $(/^!?\[(label)\]\[(ref)\]/).replace("label", st).replace("ref", fn).getRegex(), yi = $(/^!?\[(ref)\](?:\[\])?/).replace("ref", fn).getRegex(), $l = $("reflink|nolink(?!\\()", "g").replace("reflink", $i).replace("nolink", yi).getRegex(), vn = {
5071
+ }, vi = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, al = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, bi = /^( {2,}|\\)\n(?!\s*$)/, ll = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Ue = "\\p{P}\\p{S}", cl = $(/^((?![*_])[\spunctuation])/, "u").replace(/punctuation/g, Ue).getRegex(), hl = /\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g, ul = $(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/, "u").replace(/punct/g, Ue).getRegex(), pl = $("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])", "gu").replace(/punct/g, Ue).getRegex(), dl = $("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])", "gu").replace(/punct/g, Ue).getRegex(), fl = $(/\\([punct])/, "gu").replace(/punct/g, Ue).getRegex(), gl = $(/^<(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(), ml = $(mn).replace("(?:-->|$)", "-->").getRegex(), vl = $("^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", ml).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), st = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, bl = $(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label", st).replace("href", /<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), $i = $(/^!?\[(label)\]\[(ref)\]/).replace("label", st).replace("ref", gn).getRegex(), yi = $(/^!?\[(ref)\](?:\[\])?/).replace("ref", gn).getRegex(), $l = $("reflink|nolink(?!\\()", "g").replace("reflink", $i).replace("nolink", yi).getRegex(), bn = {
5072
5072
  _backpedal: ke,
5073
5073
  // only used for GFM url
5074
5074
  anyPunctuation: fl,
@@ -5090,27 +5090,27 @@ const Ga = /^(?: *(?:\n|$))+/, Xa = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, Ja =
5090
5090
  text: ll,
5091
5091
  url: ke
5092
5092
  }, yl = {
5093
- ...vn,
5093
+ ...bn,
5094
5094
  link: $(/^!?\[(label)\]\((.*?)\)/).replace("label", st).getRegex(),
5095
5095
  reflink: $(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", st).getRegex()
5096
- }, Nt = {
5097
- ...vn,
5096
+ }, Ft = {
5097
+ ...bn,
5098
5098
  escape: $(vi).replace("])", "~|])").getRegex(),
5099
5099
  url: $(/^((?: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(),
5100
5100
  _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,
5101
5101
  del: /^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,
5102
5102
  text: /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/
5103
5103
  }, xl = {
5104
- ...Nt,
5104
+ ...Ft,
5105
5105
  br: $(bi).replace("{2,}", "*").getRegex(),
5106
- text: $(Nt.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
5106
+ text: $(Ft.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
5107
5107
  }, Fe = {
5108
- normal: mn,
5108
+ normal: vn,
5109
5109
  gfm: rl,
5110
5110
  pedantic: ol
5111
5111
  }, $e = {
5112
- normal: vn,
5113
- gfm: Nt,
5112
+ normal: bn,
5113
+ gfm: Ft,
5114
5114
  breaks: xl,
5115
5115
  pedantic: yl
5116
5116
  };
@@ -5438,7 +5438,7 @@ ${e}</tr>
5438
5438
  return e;
5439
5439
  }
5440
5440
  }
5441
- class bn {
5441
+ class $n {
5442
5442
  // no need for block level renderers
5443
5443
  strong(e) {
5444
5444
  return e;
@@ -5473,7 +5473,7 @@ class U {
5473
5473
  x(this, "options");
5474
5474
  x(this, "renderer");
5475
5475
  x(this, "textRenderer");
5476
- this.options = e || oe, this.options.renderer = this.options.renderer || new it(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.textRenderer = new bn();
5476
+ this.options = e || oe, this.options.renderer = this.options.renderer || new it(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.textRenderer = new $n();
5477
5477
  }
5478
5478
  /**
5479
5479
  * Static Parse Method
@@ -5691,18 +5691,18 @@ x(_e, "passThroughHooks", /* @__PURE__ */ new Set([
5691
5691
  "postprocess",
5692
5692
  "processAllTokens"
5693
5693
  ]));
5694
- var Le, Ft, rt, xi;
5694
+ var Le, qt, rt, xi;
5695
5695
  class wl {
5696
5696
  constructor(...e) {
5697
5697
  yt(this, Le);
5698
5698
  yt(this, rt);
5699
- x(this, "defaults", pn());
5699
+ x(this, "defaults", dn());
5700
5700
  x(this, "options", this.setOptions);
5701
- x(this, "parse", je(this, Le, Ft).call(this, z.lex, U.parse));
5702
- x(this, "parseInline", je(this, Le, Ft).call(this, z.lexInline, U.parseInline));
5701
+ x(this, "parse", je(this, Le, qt).call(this, z.lex, U.parse));
5702
+ x(this, "parseInline", je(this, Le, qt).call(this, z.lexInline, U.parseInline));
5703
5703
  x(this, "Parser", U);
5704
5704
  x(this, "Renderer", it);
5705
- x(this, "TextRenderer", bn);
5705
+ x(this, "TextRenderer", $n);
5706
5706
  x(this, "Lexer", z);
5707
5707
  x(this, "Tokenizer", nt);
5708
5708
  x(this, "Hooks", _e);
@@ -5831,7 +5831,7 @@ class wl {
5831
5831
  return U.parse(e, t ?? this.defaults);
5832
5832
  }
5833
5833
  }
5834
- Le = new WeakSet(), Ft = function(e, t) {
5834
+ Le = new WeakSet(), qt = function(e, t) {
5835
5835
  return (n, i) => {
5836
5836
  const r = { ...i }, o = { ...this.defaults, ...r };
5837
5837
  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);
@@ -5871,7 +5871,7 @@ function v(s, e) {
5871
5871
  v.options = v.setOptions = function(s) {
5872
5872
  return ie.setOptions(s), v.defaults = ie.defaults, ui(v.defaults), v;
5873
5873
  };
5874
- v.getDefaults = pn;
5874
+ v.getDefaults = dn;
5875
5875
  v.defaults = oe;
5876
5876
  v.use = function(...s) {
5877
5877
  return ie.use(...s), v.defaults = ie.defaults, ui(v.defaults), v;
@@ -5883,7 +5883,7 @@ v.parseInline = ie.parseInline;
5883
5883
  v.Parser = U;
5884
5884
  v.parser = U.parse;
5885
5885
  v.Renderer = it;
5886
- v.TextRenderer = bn;
5886
+ v.TextRenderer = $n;
5887
5887
  v.Lexer = z;
5888
5888
  v.lexer = z.lex;
5889
5889
  v.Tokenizer = nt;
@@ -5910,7 +5910,7 @@ v.use({
5910
5910
  });
5911
5911
  class bt extends k {
5912
5912
  constructor() {
5913
- super(...arguments), this.showLightbox = !1, this.imageUrl = "", this.altText = "", this.scrollRef = F(), this.contentRef = F(), this.autoScroll = !0, this.buffer = "", this.pointer = 0, this.imageRegexp = new RegExp(/!\[[^[]*\([^)]*\)/gm), this.includesImage = (e) => this.imageRegexp.test(e);
5913
+ super(...arguments), this.showLightbox = !1, this.imageUrl = "", this.altText = "", this.scrollRef = B(), this.contentRef = B(), this.autoScroll = !0, this.buffer = "", this.pointer = 0, this.imageRegexp = new RegExp(/!\[[^[]*\([^)]*\)/gm), this.includesImage = (e) => this.imageRegexp.test(e);
5914
5914
  }
5915
5915
  // Stop autoscroll on user interaction
5916
5916
  handleAutoscroll() {
@@ -5959,10 +5959,10 @@ class bt extends k {
5959
5959
  }
5960
5960
  render() {
5961
5961
  return m`
5962
- <div class="message-type-markdown" ${q(this.contentRef)}>
5962
+ <div class="message-type-markdown" ${N(this.contentRef)}>
5963
5963
  <div></div>
5964
5964
  </div>
5965
- <div class="scroll" ${q(this.scrollRef)}></div>
5965
+ <div class="scroll" ${N(this.scrollRef)}></div>
5966
5966
  ${this.showLightbox ? m`<ace-lightbox
5967
5967
  imageUrl="${this.imageUrl}"
5968
5968
  altText="${this.altText}"
@@ -6005,7 +6005,7 @@ var Sl = Object.defineProperty, Cl = Object.getOwnPropertyDescriptor, Al = (s, e
6005
6005
  (o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
6006
6006
  return n && i && Sl(e, t, i), i;
6007
6007
  };
6008
- class $n extends k {
6008
+ class yn extends k {
6009
6009
  constructor() {
6010
6010
  super(...arguments), this.escapeListener = (e) => {
6011
6011
  e.key === "Escape" && this.closeLightbox();
@@ -6048,7 +6048,7 @@ class $n extends k {
6048
6048
  </div> `;
6049
6049
  }
6050
6050
  }
6051
- $n.styles = [
6051
+ yn.styles = [
6052
6052
  A`
6053
6053
  .lightbox {
6054
6054
  position: fixed;
@@ -6087,26 +6087,23 @@ $n.styles = [
6087
6087
  ];
6088
6088
  Al([
6089
6089
  w({ attribute: !0 })
6090
- ], $n.prototype, "imageUrl", 2);
6090
+ ], yn.prototype, "imageUrl", 2);
6091
6091
  var El = Object.defineProperty, Tl = Object.getOwnPropertyDescriptor, G = (s, e, t, n) => {
6092
6092
  for (var i = n > 1 ? void 0 : n ? Tl(e, t) : e, r = s.length - 1, o; r >= 0; r--)
6093
6093
  (o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
6094
6094
  return n && i && El(e, t, i), i;
6095
6095
  };
6096
- const Ll = (s) => {
6097
- s.scrollTo ? s.scrollTo({ top: s.scrollHeight, behavior: "smooth" }) : s.scrollTop = s.scrollHeight;
6098
- };
6099
- customElements.get("conversation-entry") || customElements.define("conversation-entry", cn);
6096
+ customElements.get("conversation-entry") || customElements.define("conversation-entry", hn);
6100
6097
  customElements.get("ace-conversation-feed") || customElements.define("ace-conversation-feed", mt);
6101
- customElements.get("conversation-group") || customElements.define("conversation-group", hn);
6098
+ customElements.get("conversation-group") || customElements.define("conversation-group", un);
6102
6099
  customElements.get("ace-typing-state") || customElements.define("ace-typing-state", hi);
6103
- customElements.get("message-type-html") || customElements.define("message-type-html", un);
6100
+ customElements.get("message-type-html") || customElements.define("message-type-html", pn);
6104
6101
  customElements.get("message-type-markdown") || customElements.define("message-type-markdown", bt);
6105
- customElements.get("ace-lightbox") || customElements.define("ace-lightbox", $n);
6102
+ customElements.get("ace-lightbox") || customElements.define("ace-lightbox", yn);
6106
6103
  const ki = ai(k);
6107
6104
  class R extends ki {
6108
6105
  constructor() {
6109
- super(...arguments), this.message = "", this.disabledInput = !1, this.disabledSubmit = !1, this.chatOverlayActive = !1, this.textAreaLength = 0, this.conversationContentRef = F(), this.conversationFeedRef = F(), this.formRef = F(), this.inputRef = F(), this.chatScrollHeight = 0, this.toast = new Ca(this), this.messageMaxLength = 1e3, this.skipToLatestMessageLabel = "Skip to latest message", this.platform = null, this.entries = [], this.typing = !1, this.conversationState$ = new M("waiting"), this.stateMachine = new Ea(this.conversationState$, this), this.provider$ = this.stateMachine.session().pipe(
6106
+ super(...arguments), this.message = "", this.disabledInput = !1, this.disabledSubmit = !1, this.chatOverlayActive = !1, this.textAreaLength = 0, this.conversationContentRef = B(), this.conversationFeedRef = B(), this.formRef = B(), this.inputRef = B(), this.scrollRef = B(), this.chatScrollHeight = 0, this.chatCurrentScrollPosition = 0, this.toast = new Ca(this), this.messageMaxLength = 1e3, this.skipToLatestMessageLabel = "Skip to latest message", this.platform = null, this.entries = [], this.typing = !1, this.conversationState$ = new M("waiting"), this.stateMachine = new Ea(this.conversationState$, this), this.provider$ = this.stateMachine.session().pipe(
6110
6107
  pe((e) => e ? e == null ? void 0 : e.provider$ : It(null))
6111
6108
  );
6112
6109
  }
@@ -6115,19 +6112,24 @@ class R extends ki {
6115
6112
  const e = await this.application.container.get(
6116
6113
  "conversation"
6117
6114
  );
6118
- this.platform = e || null, this.stateSubscription = hr([
6115
+ this.platform = e || null;
6116
+ const t = this.application.trigger;
6117
+ t && t.widgetActive$.pipe(zt(t.componentIsDestroyed$)).subscribe((n) => {
6118
+ const i = this.conversationContentRef.value;
6119
+ i && (n ? i.scrollTop = this.chatCurrentScrollPosition : this.chatCurrentScrollPosition = i.scrollTop);
6120
+ }), this.stateSubscription = hr([
6119
6121
  this.stateMachine.entries(),
6120
6122
  this.stateMachine.isTyping()
6121
- ]).subscribe(([t, n]) => {
6122
- this.entries = t, this.typing = n;
6123
+ ]).subscribe(([n, i]) => {
6124
+ this.entries = n, this.typing = i;
6123
6125
  }), this.userSubmitSubscription = Qe(
6124
6126
  this,
6125
6127
  "user-submit"
6126
- ).pipe(zt(this.provider$)).subscribe(([t, n]) => {
6127
- n && n.onUserSubmit(t.detail);
6128
- }), this._addHeaderOptions(), this.provider$.pipe(zt(this.provider$)).subscribe(([t, n]) => {
6129
- n && n.showChatOverlay$.pipe().subscribe((i) => {
6130
- this.chatOverlayActive = i;
6128
+ ).pipe(Ut(this.provider$)).subscribe(([n, i]) => {
6129
+ i && i.onUserSubmit(n.detail);
6130
+ }), this._addHeaderOptions(), this.provider$.pipe(Ut(this.provider$)).subscribe(([n, i]) => {
6131
+ i && i.showChatOverlay$.pipe().subscribe((r) => {
6132
+ this.chatOverlayActive = r;
6131
6133
  });
6132
6134
  });
6133
6135
  }
@@ -6137,12 +6139,34 @@ class R extends ki {
6137
6139
  }
6138
6140
  _actionHandler(e) {
6139
6141
  }
6140
- onSessionUpdated() {
6142
+ isTypingState() {
6143
+ var t, n;
6144
+ const e = (n = (t = this.conversationFeedRef.value) == null ? void 0 : t.shadowRoot) == null ? void 0 : n.querySelector(
6145
+ ".conversation-feed"
6146
+ );
6147
+ if (e) {
6148
+ const i = e.lastElementChild;
6149
+ if (i && i.tagName.toLowerCase() === "ace-typing-state")
6150
+ return !0;
6151
+ }
6152
+ return !1;
6153
+ }
6154
+ isAtBottom() {
6141
6155
  const e = this.conversationContentRef.value;
6142
- e && setTimeout(() => {
6143
- const t = e.scrollHeight;
6144
- t > this.chatScrollHeight && (Ll(e), this.chatScrollHeight = t);
6145
- }, 300);
6156
+ return e ? e.scrollHeight - e.scrollTop - e.clientHeight < 1 : !1;
6157
+ }
6158
+ scrollToBottom() {
6159
+ var e, t;
6160
+ (!this.isTypingState() || this.isAtBottom()) && (setTimeout(
6161
+ () => {
6162
+ var n;
6163
+ return (n = this.scrollRef.value) == null ? void 0 : n.scrollIntoView({ behavior: "smooth" });
6164
+ },
6165
+ 300
6166
+ ), this.chatScrollHeight = (e = this.scrollRef.value) == null ? void 0 : e.scrollHeight, this.chatCurrentScrollPosition = (t = this.scrollRef.value) == null ? void 0 : t.scrollTop);
6167
+ }
6168
+ onSessionUpdated() {
6169
+ this.scrollToBottom();
6146
6170
  }
6147
6171
  disableInput() {
6148
6172
  this.disabledInput = !0;
@@ -6188,11 +6212,11 @@ class R extends ki {
6188
6212
  return;
6189
6213
  const t = this.application.texts, n = t.getOrFallback("conversation.mute", "Mute"), i = t.getOrFallback("conversation.unmute", "Unmute"), r = !!this.application.storage.get("muteAudioNotifications"), o = e.addOption({
6190
6214
  label: r ? i : n,
6191
- icon: r ? jn.svg : Hn.svg,
6215
+ icon: r ? jn.svg : Dn.svg,
6192
6216
  closeOnClick: !1,
6193
6217
  datatestid: "options-mute-button",
6194
6218
  onClick: () => {
6195
- !!this.application.storage.get("muteAudioNotifications") ? (this.application.unmute(), o.updateLabel(n), o.updateIcon(Hn.svg)) : (this.application.mute(), o.updateLabel(i), o.updateIcon(jn.svg));
6219
+ !!this.application.storage.get("muteAudioNotifications") ? (this.application.unmute(), o.updateLabel(n), o.updateIcon(Dn.svg)) : (this.application.mute(), o.updateLabel(i), o.updateIcon(jn.svg));
6196
6220
  }
6197
6221
  });
6198
6222
  }
@@ -6251,20 +6275,21 @@ class R extends ki {
6251
6275
  })}
6252
6276
  part="scroll-container"
6253
6277
  aria-live="polite"
6254
- ${q(this.conversationContentRef)}
6278
+ ${N(this.conversationContentRef)}
6255
6279
  >
6256
6280
  ${this.toast.hasMessage() ? m`<div class="conversation__toast">${this.toast.message}</div>` : g}
6257
6281
  <ace-conversation-feed
6258
6282
  .entries=${this.entries}
6259
6283
  .loading=${this.typing}
6260
- ${q(this.conversationFeedRef)}
6284
+ ${N(this.conversationFeedRef)}
6261
6285
  @updated=${this.onSessionUpdated}
6262
6286
  ></ace-conversation-feed>
6287
+ <div class="scroll" ${N(this.scrollRef)}></div>
6263
6288
  </div>
6264
6289
  <form
6265
6290
  class="conversation-bottom"
6266
6291
  @submit=${this._onSendMessage}
6267
- ${q(this.formRef)}
6292
+ ${N(this.formRef)}
6268
6293
  >
6269
6294
  <label for="chat-message-input" class="visually-hidden">
6270
6295
  Chat message
@@ -6282,7 +6307,7 @@ class R extends ki {
6282
6307
  ?disabled=${this.disabledInput}
6283
6308
  @input=${this._inputHandler}
6284
6309
  @keydown=${this._keyDownHandler}
6285
- ${q(this.inputRef)}
6310
+ ${N(this.inputRef)}
6286
6311
  ></textarea>
6287
6312
  <div class="conversation-actions">
6288
6313
  <button
@@ -6575,7 +6600,7 @@ G([
6575
6600
  G([
6576
6601
  E()
6577
6602
  ], R.prototype, "typing", 2);
6578
- const Ol = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6603
+ const Ll = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6579
6604
  __proto__: null,
6580
6605
  Conversation: R,
6581
6606
  default: R
@@ -6583,10 +6608,10 @@ const Ol = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6583
6608
  export {
6584
6609
  xr as Agent,
6585
6610
  R as Conversation,
6586
- Rl as ConversationComponent,
6611
+ Pl as ConversationComponent,
6587
6612
  lt as ConversationEntry,
6588
6613
  Z as ConversationMessageType,
6589
6614
  ds as ConversationPlatform,
6590
- Il as ConversationProvider,
6615
+ Rl as ConversationProvider,
6591
6616
  wr as User
6592
6617
  };