@telia-ace/ace-chat-flamingo 1.1.122-rc.3 → 1.1.122-rc.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
- var pl = Object.defineProperty;
2
- var fl = (n, e, t) => e in n ? pl(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
- var T = (n, e, t) => fl(n, typeof e != "symbol" ? e + "" : e, t);
1
+ var fl = Object.defineProperty;
2
+ var gl = (n, e, t) => e in n ? fl(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
+ var A = (n, e, t) => gl(n, typeof e != "symbol" ? e + "" : e, t);
4
4
  var Ri = function(n, e) {
5
5
  return Ri = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, i) {
6
6
  t.__proto__ = i;
@@ -17,7 +17,7 @@ function Le(n, e) {
17
17
  }
18
18
  n.prototype = e === null ? Object.create(e) : (t.prototype = e.prototype, new t());
19
19
  }
20
- function gl(n, e, t, i) {
20
+ function ml(n, e, t, i) {
21
21
  function s(r) {
22
22
  return r instanceof t ? r : new t(function(o) {
23
23
  o(r);
@@ -139,7 +139,7 @@ function Xe(n, e, t) {
139
139
  function gt(n) {
140
140
  return this instanceof gt ? (this.v = n, this) : new gt(n);
141
141
  }
142
- function ml(n, e, t) {
142
+ function vl(n, e, t) {
143
143
  if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
144
144
  var i = t.apply(n, e || []), s, r = [];
145
145
  return s = Object.create((typeof AsyncIterator == "function" ? AsyncIterator : Object).prototype), a("next"), a("throw"), a("return", o), s[Symbol.asyncIterator] = function() {
@@ -152,8 +152,8 @@ function ml(n, e, t) {
152
152
  }
153
153
  function a(g, m) {
154
154
  i[g] && (s[g] = function($) {
155
- return new Promise(function(be, oe) {
156
- r.push([g, $, be, oe]) > 1 || l(g, $);
155
+ return new Promise(function(be, ae) {
156
+ r.push([g, $, be, ae]) > 1 || l(g, $);
157
157
  });
158
158
  }, m && (s[g] = m(s[g])));
159
159
  }
@@ -177,7 +177,7 @@ function ml(n, e, t) {
177
177
  g(m), r.shift(), r.length && l(r[0][0], r[0][1]);
178
178
  }
179
179
  }
180
- function vl(n) {
180
+ function bl(n) {
181
181
  if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
182
182
  var e = n[Symbol.asyncIterator], t;
183
183
  return e ? e.call(n) : (n = typeof yt == "function" ? yt(n) : n[Symbol.iterator](), t = {}, i("next"), i("throw"), i("return"), t[Symbol.asyncIterator] = function() {
@@ -214,13 +214,13 @@ var mi = Lo(function(n) {
214
214
  `) : "", this.name = "UnsubscriptionError", this.errors = t;
215
215
  };
216
216
  });
217
- function Sn(n, e) {
217
+ function Cn(n, e) {
218
218
  if (n) {
219
219
  var t = n.indexOf(e);
220
220
  0 <= t && n.splice(t, 1);
221
221
  }
222
222
  }
223
- var en = (function() {
223
+ var tn = (function() {
224
224
  function n(e) {
225
225
  this.initialTeardown = e, this.closed = !1, this._parentage = null, this._finalizers = null;
226
226
  }
@@ -300,24 +300,24 @@ var en = (function() {
300
300
  this._parentage = Array.isArray(t) ? (t.push(e), t) : t ? [t, e] : e;
301
301
  }, n.prototype._removeParent = function(e) {
302
302
  var t = this._parentage;
303
- t === e ? this._parentage = null : Array.isArray(t) && Sn(t, e);
303
+ t === e ? this._parentage = null : Array.isArray(t) && Cn(t, e);
304
304
  }, n.prototype.remove = function(e) {
305
305
  var t = this._finalizers;
306
- t && Sn(t, e), e instanceof n && e._removeParent(this);
306
+ t && Cn(t, e), e instanceof n && e._removeParent(this);
307
307
  }, n.EMPTY = (function() {
308
308
  var e = new n();
309
309
  return e.closed = !0, e;
310
310
  })(), n;
311
- })(), Ro = en.EMPTY;
311
+ })(), Ro = tn.EMPTY;
312
312
  function Io(n) {
313
- return n instanceof en || n && "closed" in n && E(n.remove) && E(n.add) && E(n.unsubscribe);
313
+ return n instanceof tn || n && "closed" in n && E(n.remove) && E(n.add) && E(n.unsubscribe);
314
314
  }
315
315
  function Cr(n) {
316
316
  E(n) ? n() : n.unsubscribe();
317
317
  }
318
- var bl = {
318
+ var yl = {
319
319
  Promise: void 0
320
- }, yl = {
320
+ }, $l = {
321
321
  setTimeout: function(n, e) {
322
322
  for (var t = [], i = 2; i < arguments.length; i++)
323
323
  t[i - 2] = arguments[i];
@@ -329,20 +329,20 @@ var bl = {
329
329
  delegate: void 0
330
330
  };
331
331
  function Po(n) {
332
- yl.setTimeout(function() {
332
+ $l.setTimeout(function() {
333
333
  throw n;
334
334
  });
335
335
  }
336
- function Cn() {
336
+ function En() {
337
337
  }
338
- function $n(n) {
338
+ function wn(n) {
339
339
  n();
340
340
  }
341
341
  var ts = (function(n) {
342
342
  Le(e, n);
343
343
  function e(t) {
344
344
  var i = n.call(this) || this;
345
- return i.isStopped = !1, t ? (i.destination = t, Io(t) && t.add(i)) : i.destination = xl, i;
345
+ return i.isStopped = !1, t ? (i.destination = t, Io(t) && t.add(i)) : i.destination = kl, i;
346
346
  }
347
347
  return e.create = function(t, i, s) {
348
348
  return new Ii(t, i, s);
@@ -369,7 +369,7 @@ var ts = (function(n) {
369
369
  this.unsubscribe();
370
370
  }
371
371
  }, e;
372
- })(en), $l = (function() {
372
+ })(tn), wl = (function() {
373
373
  function n(e) {
374
374
  this.partialObserver = e;
375
375
  }
@@ -379,7 +379,7 @@ var ts = (function(n) {
379
379
  try {
380
380
  t.next(e);
381
381
  } catch (i) {
382
- gn(i);
382
+ mn(i);
383
383
  }
384
384
  }, n.prototype.error = function(e) {
385
385
  var t = this.partialObserver;
@@ -387,17 +387,17 @@ var ts = (function(n) {
387
387
  try {
388
388
  t.error(e);
389
389
  } catch (i) {
390
- gn(i);
390
+ mn(i);
391
391
  }
392
392
  else
393
- gn(e);
393
+ mn(e);
394
394
  }, n.prototype.complete = function() {
395
395
  var e = this.partialObserver;
396
396
  if (e.complete)
397
397
  try {
398
398
  e.complete();
399
399
  } catch (t) {
400
- gn(t);
400
+ mn(t);
401
401
  }
402
402
  }, n;
403
403
  })(), Ii = (function(n) {
@@ -408,28 +408,28 @@ var ts = (function(n) {
408
408
  next: t ?? void 0,
409
409
  error: i ?? void 0,
410
410
  complete: s ?? void 0
411
- } : o = t, r.destination = new $l(o), r;
411
+ } : o = t, r.destination = new wl(o), r;
412
412
  }
413
413
  return e;
414
414
  })(ts);
415
- function gn(n) {
415
+ function mn(n) {
416
416
  Po(n);
417
417
  }
418
- function wl(n) {
418
+ function xl(n) {
419
419
  throw n;
420
420
  }
421
- var xl = {
421
+ var kl = {
422
422
  closed: !0,
423
- next: Cn,
424
- error: wl,
425
- complete: Cn
423
+ next: En,
424
+ error: xl,
425
+ complete: En
426
426
  }, ns = (function() {
427
427
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
428
428
  })();
429
429
  function Ct(n) {
430
430
  return n;
431
431
  }
432
- function kl(n) {
432
+ function Sl(n) {
433
433
  return n.length === 0 ? Ct : n.length === 1 ? n[0] : function(t) {
434
434
  return n.reduce(function(i, s) {
435
435
  return s(i);
@@ -444,8 +444,8 @@ var j = (function() {
444
444
  var t = new n();
445
445
  return t.source = this, t.operator = e, t;
446
446
  }, n.prototype.subscribe = function(e, t, i) {
447
- var s = this, r = Cl(e) ? e : new Ii(e, t, i);
448
- return $n(function() {
447
+ var s = this, r = El(e) ? e : new Ii(e, t, i);
448
+ return wn(function() {
449
449
  var o = s, a = o.operator, l = o.source;
450
450
  r.add(a ? a.call(r, l) : l ? s._subscribe(r) : s._trySubscribe(r));
451
451
  }), r;
@@ -479,7 +479,7 @@ var j = (function() {
479
479
  }, n.prototype.pipe = function() {
480
480
  for (var e = [], t = 0; t < arguments.length; t++)
481
481
  e[t] = arguments[t];
482
- return kl(e)(this);
482
+ return Sl(e)(this);
483
483
  }, n.prototype.toPromise = function(e) {
484
484
  var t = this;
485
485
  return e = Er(e), new e(function(i, s) {
@@ -498,20 +498,20 @@ var j = (function() {
498
498
  })();
499
499
  function Er(n) {
500
500
  var e;
501
- return (e = n ?? bl.Promise) !== null && e !== void 0 ? e : Promise;
502
- }
503
- function Sl(n) {
504
- return n && E(n.next) && E(n.error) && E(n.complete);
501
+ return (e = n ?? yl.Promise) !== null && e !== void 0 ? e : Promise;
505
502
  }
506
503
  function Cl(n) {
507
- return n && n instanceof ts || Sl(n) && Io(n);
504
+ return n && E(n.next) && E(n.error) && E(n.complete);
508
505
  }
509
506
  function El(n) {
507
+ return n && n instanceof ts || Cl(n) && Io(n);
508
+ }
509
+ function _l(n) {
510
510
  return E(n == null ? void 0 : n.lift);
511
511
  }
512
- function ie(n) {
512
+ function se(n) {
513
513
  return function(e) {
514
- if (El(e))
514
+ if (_l(e))
515
515
  return e.lift(function(t) {
516
516
  try {
517
517
  return n(t, this);
@@ -523,9 +523,9 @@ function ie(n) {
523
523
  };
524
524
  }
525
525
  function Y(n, e, t, i, s) {
526
- return new _l(n, e, t, i, s);
526
+ return new Al(n, e, t, i, s);
527
527
  }
528
- var _l = (function(n) {
528
+ var Al = (function(n) {
529
529
  Le(e, n);
530
530
  function e(t, i, s, r, o, a) {
531
531
  var l = n.call(this, t) || this;
@@ -578,7 +578,7 @@ var _l = (function(n) {
578
578
  throw new Tl();
579
579
  }, e.prototype.next = function(t) {
580
580
  var i = this;
581
- $n(function() {
581
+ wn(function() {
582
582
  var s, r;
583
583
  if (i._throwIfClosed(), !i.isStopped) {
584
584
  i.currentObservers || (i.currentObservers = Array.from(i.observers));
@@ -600,7 +600,7 @@ var _l = (function(n) {
600
600
  });
601
601
  }, e.prototype.error = function(t) {
602
602
  var i = this;
603
- $n(function() {
603
+ wn(function() {
604
604
  if (i._throwIfClosed(), !i.isStopped) {
605
605
  i.hasError = i.isStopped = !0, i.thrownError = t;
606
606
  for (var s = i.observers; s.length; )
@@ -609,7 +609,7 @@ var _l = (function(n) {
609
609
  });
610
610
  }, e.prototype.complete = function() {
611
611
  var t = this;
612
- $n(function() {
612
+ wn(function() {
613
613
  if (t._throwIfClosed(), !t.isStopped) {
614
614
  t.isStopped = !0;
615
615
  for (var i = t.observers; i.length; )
@@ -631,8 +631,8 @@ var _l = (function(n) {
631
631
  return this._throwIfClosed(), this._checkFinalizedStatuses(t), this._innerSubscribe(t);
632
632
  }, e.prototype._innerSubscribe = function(t) {
633
633
  var i = this, s = this, r = s.hasError, o = s.isStopped, a = s.observers;
634
- return r || o ? Ro : (this.currentObservers = null, a.push(t), new en(function() {
635
- i.currentObservers = null, Sn(a, t);
634
+ return r || o ? Ro : (this.currentObservers = null, a.push(t), new tn(function() {
635
+ i.currentObservers = null, Cn(a, t);
636
636
  }));
637
637
  }, e.prototype._checkFinalizedStatuses = function(t) {
638
638
  var i = this, s = i.hasError, r = i.thrownError, o = i.isStopped;
@@ -662,7 +662,7 @@ var _l = (function(n) {
662
662
  var i, s;
663
663
  return (s = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(t)) !== null && s !== void 0 ? s : Ro;
664
664
  }, e;
665
- })(P), ce = (function(n) {
665
+ })(P), ue = (function(n) {
666
666
  Le(e, n);
667
667
  function e(t) {
668
668
  var i = n.call(this) || this;
@@ -685,11 +685,11 @@ var _l = (function(n) {
685
685
  }, e.prototype.next = function(t) {
686
686
  n.prototype.next.call(this, this._value = t);
687
687
  }, e;
688
- })(P), Al = {
688
+ })(P), Ol = {
689
689
  now: function() {
690
690
  return Date.now();
691
691
  }
692
- }, Ol = (function(n) {
692
+ }, Ll = (function(n) {
693
693
  Le(e, n);
694
694
  function e(t, i) {
695
695
  return n.call(this) || this;
@@ -697,7 +697,7 @@ var _l = (function(n) {
697
697
  return e.prototype.schedule = function(t, i) {
698
698
  return this;
699
699
  }, e;
700
- })(en), Tr = {
700
+ })(tn), Ar = {
701
701
  setInterval: function(n, e) {
702
702
  for (var t = [], i = 2; i < arguments.length; i++)
703
703
  t[i - 2] = arguments[i];
@@ -707,7 +707,7 @@ var _l = (function(n) {
707
707
  return clearInterval(n);
708
708
  },
709
709
  delegate: void 0
710
- }, Ll = (function(n) {
710
+ }, Rl = (function(n) {
711
711
  Le(e, n);
712
712
  function e(t, i) {
713
713
  var s = n.call(this, t, i) || this;
@@ -721,11 +721,11 @@ var _l = (function(n) {
721
721
  var r = this.id, o = this.scheduler;
722
722
  return r != null && (this.id = this.recycleAsyncId(o, r, i)), this.pending = !0, this.delay = i, this.id = (s = this.id) !== null && s !== void 0 ? s : this.requestAsyncId(o, this.id, i), this;
723
723
  }, e.prototype.requestAsyncId = function(t, i, s) {
724
- return s === void 0 && (s = 0), Tr.setInterval(t.flush.bind(t, this), s);
724
+ return s === void 0 && (s = 0), Ar.setInterval(t.flush.bind(t, this), s);
725
725
  }, e.prototype.recycleAsyncId = function(t, i, s) {
726
726
  if (s === void 0 && (s = 0), s != null && this.delay === s && this.pending === !1)
727
727
  return i;
728
- i != null && Tr.clearInterval(i);
728
+ i != null && Ar.clearInterval(i);
729
729
  }, e.prototype.execute = function(t, i) {
730
730
  if (this.closed)
731
731
  return new Error("executing a cancelled action");
@@ -746,20 +746,20 @@ var _l = (function(n) {
746
746
  }, e.prototype.unsubscribe = function() {
747
747
  if (!this.closed) {
748
748
  var t = this, i = t.id, s = t.scheduler, r = s.actions;
749
- this.work = this.state = this.scheduler = null, this.pending = !1, Sn(r, this), i != null && (this.id = this.recycleAsyncId(s, i, null)), this.delay = null, n.prototype.unsubscribe.call(this);
749
+ this.work = this.state = this.scheduler = null, this.pending = !1, Cn(r, this), i != null && (this.id = this.recycleAsyncId(s, i, null)), this.delay = null, n.prototype.unsubscribe.call(this);
750
750
  }
751
751
  }, e;
752
- })(Ol), Ar = (function() {
752
+ })(Ll), Tr = (function() {
753
753
  function n(e, t) {
754
754
  t === void 0 && (t = n.now), this.schedulerActionCtor = e, this.now = t;
755
755
  }
756
756
  return n.prototype.schedule = function(e, t, i) {
757
757
  return t === void 0 && (t = 0), new this.schedulerActionCtor(this, e).schedule(i, t);
758
- }, n.now = Al.now, n;
759
- })(), Rl = (function(n) {
758
+ }, n.now = Ol.now, n;
759
+ })(), Il = (function(n) {
760
760
  Le(e, n);
761
761
  function e(t, i) {
762
- i === void 0 && (i = Ar.now);
762
+ i === void 0 && (i = Tr.now);
763
763
  var s = n.call(this, t, i) || this;
764
764
  return s.actions = [], s._active = !1, s;
765
765
  }
@@ -781,11 +781,11 @@ var _l = (function(n) {
781
781
  throw s;
782
782
  }
783
783
  }, e;
784
- })(Ar), vp = new Rl(Ll);
784
+ })(Tr), vp = new Il(Rl);
785
785
  var tt = new j(function(n) {
786
786
  return n.complete();
787
787
  });
788
- function Il(n) {
788
+ function Pl(n) {
789
789
  return n && E(n.schedule);
790
790
  }
791
791
  function is(n) {
@@ -795,9 +795,9 @@ function Mo(n) {
795
795
  return E(is(n)) ? n.pop() : void 0;
796
796
  }
797
797
  function ss(n) {
798
- return Il(is(n)) ? n.pop() : void 0;
798
+ return Pl(is(n)) ? n.pop() : void 0;
799
799
  }
800
- function Pl(n, e) {
800
+ function Ml(n, e) {
801
801
  return typeof is(n) == "number" ? n.pop() : e;
802
802
  }
803
803
  var rs = (function(n) {
@@ -815,15 +815,15 @@ function Do(n) {
815
815
  function zo(n) {
816
816
  return new TypeError("You provided " + (n !== null && typeof n == "object" ? "an invalid object" : "'" + n + "'") + " where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.");
817
817
  }
818
- function Ml() {
818
+ function Ul() {
819
819
  return typeof Symbol != "function" || !Symbol.iterator ? "@@iterator" : Symbol.iterator;
820
820
  }
821
- var Ho = Ml();
821
+ var Ho = Ul();
822
822
  function Fo(n) {
823
823
  return E(n == null ? void 0 : n[Ho]);
824
824
  }
825
825
  function jo(n) {
826
- return ml(this, arguments, function() {
826
+ return vl(this, arguments, function() {
827
827
  var t, i, s, r;
828
828
  return Oo(this, function(o) {
829
829
  switch (o.label) {
@@ -856,26 +856,26 @@ function jo(n) {
856
856
  function Bo(n) {
857
857
  return E(n == null ? void 0 : n.getReader);
858
858
  }
859
- function se(n) {
859
+ function re(n) {
860
860
  if (n instanceof j)
861
861
  return n;
862
862
  if (n != null) {
863
863
  if (No(n))
864
- return Ul(n);
865
- if (rs(n))
866
864
  return Nl(n);
867
- if (Uo(n))
865
+ if (rs(n))
868
866
  return Dl(n);
867
+ if (Uo(n))
868
+ return zl(n);
869
869
  if (Do(n))
870
870
  return qo(n);
871
871
  if (Fo(n))
872
- return zl(n);
873
- if (Bo(n))
874
872
  return Hl(n);
873
+ if (Bo(n))
874
+ return Fl(n);
875
875
  }
876
876
  throw zo(n);
877
877
  }
878
- function Ul(n) {
878
+ function Nl(n) {
879
879
  return new j(function(e) {
880
880
  var t = n[ns]();
881
881
  if (E(t.subscribe))
@@ -883,14 +883,14 @@ function Ul(n) {
883
883
  throw new TypeError("Provided object does not correctly implement Symbol.observable");
884
884
  });
885
885
  }
886
- function Nl(n) {
886
+ function Dl(n) {
887
887
  return new j(function(e) {
888
888
  for (var t = 0; t < n.length && !e.closed; t++)
889
889
  e.next(n[t]);
890
890
  e.complete();
891
891
  });
892
892
  }
893
- function Dl(n) {
893
+ function zl(n) {
894
894
  return new j(function(e) {
895
895
  n.then(function(t) {
896
896
  e.closed || (e.next(t), e.complete());
@@ -899,7 +899,7 @@ function Dl(n) {
899
899
  }).then(null, Po);
900
900
  });
901
901
  }
902
- function zl(n) {
902
+ function Hl(n) {
903
903
  return new j(function(e) {
904
904
  var t, i;
905
905
  try {
@@ -922,22 +922,22 @@ function zl(n) {
922
922
  }
923
923
  function qo(n) {
924
924
  return new j(function(e) {
925
- Fl(n, e).catch(function(t) {
925
+ jl(n, e).catch(function(t) {
926
926
  return e.error(t);
927
927
  });
928
928
  });
929
929
  }
930
- function Hl(n) {
930
+ function Fl(n) {
931
931
  return qo(jo(n));
932
932
  }
933
- function Fl(n, e) {
933
+ function jl(n, e) {
934
934
  var t, i, s, r;
935
- return gl(this, void 0, void 0, function() {
935
+ return ml(this, void 0, void 0, function() {
936
936
  var o, a;
937
937
  return Oo(this, function(l) {
938
938
  switch (l.label) {
939
939
  case 0:
940
- l.trys.push([0, 5, 6, 11]), t = vl(n), l.label = 1;
940
+ l.trys.push([0, 5, 6, 11]), t = bl(n), l.label = 1;
941
941
  case 1:
942
942
  return [4, t.next()];
943
943
  case 2:
@@ -977,7 +977,7 @@ function Ne(n, e, t, i, s) {
977
977
  return r;
978
978
  }
979
979
  function Vo(n, e) {
980
- return e === void 0 && (e = 0), ie(function(t, i) {
980
+ return e === void 0 && (e = 0), se(function(t, i) {
981
981
  t.subscribe(Y(i, function(s) {
982
982
  return Ne(i, n, function() {
983
983
  return i.next(s);
@@ -994,19 +994,19 @@ function Vo(n, e) {
994
994
  });
995
995
  }
996
996
  function Wo(n, e) {
997
- return e === void 0 && (e = 0), ie(function(t, i) {
997
+ return e === void 0 && (e = 0), se(function(t, i) {
998
998
  i.add(n.schedule(function() {
999
999
  return t.subscribe(i);
1000
1000
  }, e));
1001
1001
  });
1002
1002
  }
1003
- function jl(n, e) {
1004
- return se(n).pipe(Wo(e), Vo(e));
1005
- }
1006
1003
  function Bl(n, e) {
1007
- return se(n).pipe(Wo(e), Vo(e));
1004
+ return re(n).pipe(Wo(e), Vo(e));
1008
1005
  }
1009
1006
  function ql(n, e) {
1007
+ return re(n).pipe(Wo(e), Vo(e));
1008
+ }
1009
+ function Vl(n, e) {
1010
1010
  return new j(function(t) {
1011
1011
  var i = 0;
1012
1012
  return e.schedule(function() {
@@ -1014,7 +1014,7 @@ function ql(n, e) {
1014
1014
  });
1015
1015
  });
1016
1016
  }
1017
- function Vl(n, e) {
1017
+ function Wl(n, e) {
1018
1018
  return new j(function(t) {
1019
1019
  var i;
1020
1020
  return Ne(t, e, function() {
@@ -1047,28 +1047,28 @@ function Go(n, e) {
1047
1047
  });
1048
1048
  });
1049
1049
  }
1050
- function Wl(n, e) {
1050
+ function Gl(n, e) {
1051
1051
  return Go(jo(n), e);
1052
1052
  }
1053
- function Gl(n, e) {
1053
+ function Zl(n, e) {
1054
1054
  if (n != null) {
1055
1055
  if (No(n))
1056
- return jl(n, e);
1056
+ return Bl(n, e);
1057
1057
  if (rs(n))
1058
- return ql(n, e);
1058
+ return Vl(n, e);
1059
1059
  if (Uo(n))
1060
- return Bl(n, e);
1060
+ return ql(n, e);
1061
1061
  if (Do(n))
1062
1062
  return Go(n, e);
1063
1063
  if (Fo(n))
1064
- return Vl(n, e);
1065
- if (Bo(n))
1066
1064
  return Wl(n, e);
1065
+ if (Bo(n))
1066
+ return Gl(n, e);
1067
1067
  }
1068
1068
  throw zo(n);
1069
1069
  }
1070
1070
  function Ye(n, e) {
1071
- return e ? Gl(n, e) : se(n);
1071
+ return e ? Zl(n, e) : re(n);
1072
1072
  }
1073
1073
  function Pi() {
1074
1074
  for (var n = [], e = 0; e < arguments.length; e++)
@@ -1076,31 +1076,31 @@ function Pi() {
1076
1076
  var t = ss(n);
1077
1077
  return Ye(n, t);
1078
1078
  }
1079
- function En(n, e) {
1080
- return ie(function(t, i) {
1079
+ function _n(n, e) {
1080
+ return se(function(t, i) {
1081
1081
  var s = 0;
1082
1082
  t.subscribe(Y(i, function(r) {
1083
1083
  i.next(n.call(e, r, s++));
1084
1084
  }));
1085
1085
  });
1086
1086
  }
1087
- var Zl = Array.isArray;
1088
- function Yl(n, e) {
1089
- return Zl(e) ? n.apply(void 0, Xe([], ze(e))) : n(e);
1087
+ var Yl = Array.isArray;
1088
+ function Ql(n, e) {
1089
+ return Yl(e) ? n.apply(void 0, Xe([], ze(e))) : n(e);
1090
1090
  }
1091
1091
  function Zo(n) {
1092
- return En(function(e) {
1093
- return Yl(n, e);
1092
+ return _n(function(e) {
1093
+ return Ql(n, e);
1094
1094
  });
1095
1095
  }
1096
- var Ql = Array.isArray, Xl = Object.getPrototypeOf, Kl = Object.prototype, Jl = Object.keys;
1097
- function ec(n) {
1096
+ var Xl = Array.isArray, Kl = Object.getPrototypeOf, Jl = Object.prototype, ec = Object.keys;
1097
+ function tc(n) {
1098
1098
  if (n.length === 1) {
1099
1099
  var e = n[0];
1100
- if (Ql(e))
1100
+ if (Xl(e))
1101
1101
  return { args: e, keys: null };
1102
- if (tc(e)) {
1103
- var t = Jl(e);
1102
+ if (nc(e)) {
1103
+ var t = ec(e);
1104
1104
  return {
1105
1105
  args: t.map(function(i) {
1106
1106
  return e[i];
@@ -1111,26 +1111,26 @@ function ec(n) {
1111
1111
  }
1112
1112
  return { args: n, keys: null };
1113
1113
  }
1114
- function tc(n) {
1115
- return n && typeof n == "object" && Xl(n) === Kl;
1114
+ function nc(n) {
1115
+ return n && typeof n == "object" && Kl(n) === Jl;
1116
1116
  }
1117
- function nc(n, e) {
1117
+ function ic(n, e) {
1118
1118
  return n.reduce(function(t, i, s) {
1119
1119
  return t[i] = e[s], t;
1120
1120
  }, {});
1121
1121
  }
1122
- function ic() {
1122
+ function sc() {
1123
1123
  for (var n = [], e = 0; e < arguments.length; e++)
1124
1124
  n[e] = arguments[e];
1125
- var t = ss(n), i = Mo(n), s = ec(n), r = s.args, o = s.keys;
1125
+ var t = ss(n), i = Mo(n), s = tc(n), r = s.args, o = s.keys;
1126
1126
  if (r.length === 0)
1127
1127
  return Ye([], t);
1128
- var a = new j(sc(r, t, o ? function(l) {
1129
- return nc(o, l);
1128
+ var a = new j(rc(r, t, o ? function(l) {
1129
+ return ic(o, l);
1130
1130
  } : Ct));
1131
1131
  return i ? a.pipe(Zo(i)) : a;
1132
1132
  }
1133
- function sc(n, e, t) {
1133
+ function rc(n, e, t) {
1134
1134
  return t === void 0 && (t = Ct), function(i) {
1135
1135
  Or(e, function() {
1136
1136
  for (var s = n.length, r = new Array(s), o = s, a = s, l = function(u) {
@@ -1150,7 +1150,7 @@ function sc(n, e, t) {
1150
1150
  function Or(n, e, t) {
1151
1151
  n ? Ne(t, n, e) : e();
1152
1152
  }
1153
- function rc(n, e, t, i, s, r, o, a) {
1153
+ function oc(n, e, t, i, s, r, o, a) {
1154
1154
  var l = [], c = 0, u = 0, p = !1, d = function() {
1155
1155
  p && !l.length && !c && e.complete();
1156
1156
  }, g = function($) {
@@ -1158,19 +1158,19 @@ function rc(n, e, t, i, s, r, o, a) {
1158
1158
  }, m = function($) {
1159
1159
  c++;
1160
1160
  var be = !1;
1161
- se(t($, u++)).subscribe(Y(e, function(oe) {
1162
- e.next(oe);
1161
+ re(t($, u++)).subscribe(Y(e, function(ae) {
1162
+ e.next(ae);
1163
1163
  }, function() {
1164
1164
  be = !0;
1165
1165
  }, void 0, function() {
1166
1166
  if (be)
1167
1167
  try {
1168
1168
  c--;
1169
- for (var oe = function() {
1169
+ for (var ae = function() {
1170
1170
  var Ie = l.shift();
1171
1171
  o || m(Ie);
1172
1172
  }; l.length && c < i; )
1173
- oe();
1173
+ ae();
1174
1174
  d();
1175
1175
  } catch (Ie) {
1176
1176
  e.error(Ie);
@@ -1184,34 +1184,34 @@ function rc(n, e, t, i, s, r, o, a) {
1184
1184
  }
1185
1185
  function qt(n, e, t) {
1186
1186
  return t === void 0 && (t = 1 / 0), E(e) ? qt(function(i, s) {
1187
- return En(function(r, o) {
1187
+ return _n(function(r, o) {
1188
1188
  return e(i, r, s, o);
1189
- })(se(n(i, s)));
1190
- }, t) : (typeof e == "number" && (t = e), ie(function(i, s) {
1191
- return rc(i, s, n, t);
1189
+ })(re(n(i, s)));
1190
+ }, t) : (typeof e == "number" && (t = e), se(function(i, s) {
1191
+ return oc(i, s, n, t);
1192
1192
  }));
1193
1193
  }
1194
- function oc(n) {
1194
+ function ac(n) {
1195
1195
  return n === void 0 && (n = 1 / 0), qt(Ct, n);
1196
1196
  }
1197
- function ac(n) {
1197
+ function lc(n) {
1198
1198
  return new j(function(e) {
1199
- se(n()).subscribe(e);
1199
+ re(n()).subscribe(e);
1200
1200
  });
1201
1201
  }
1202
- var lc = ["addListener", "removeListener"], cc = ["addEventListener", "removeEventListener"], uc = ["on", "off"];
1203
- function _n(n, e, t, i) {
1202
+ var cc = ["addListener", "removeListener"], uc = ["addEventListener", "removeEventListener"], hc = ["on", "off"];
1203
+ function An(n, e, t, i) {
1204
1204
  if (E(t) && (i = t, t = void 0), i)
1205
- return _n(n, e, t).pipe(Zo(i));
1206
- var s = ze(pc(n) ? cc.map(function(a) {
1205
+ return An(n, e, t).pipe(Zo(i));
1206
+ var s = ze(fc(n) ? uc.map(function(a) {
1207
1207
  return function(l) {
1208
1208
  return n[a](e, l, t);
1209
1209
  };
1210
- }) : hc(n) ? lc.map(Lr(n, e)) : dc(n) ? uc.map(Lr(n, e)) : [], 2), r = s[0], o = s[1];
1210
+ }) : dc(n) ? cc.map(Lr(n, e)) : pc(n) ? hc.map(Lr(n, e)) : [], 2), r = s[0], o = s[1];
1211
1211
  if (!r && rs(n))
1212
1212
  return qt(function(a) {
1213
- return _n(a, e, t);
1214
- })(se(n));
1213
+ return An(a, e, t);
1214
+ })(re(n));
1215
1215
  if (!r)
1216
1216
  throw new TypeError("Invalid event target");
1217
1217
  return new j(function(a) {
@@ -1232,23 +1232,23 @@ function Lr(n, e) {
1232
1232
  };
1233
1233
  };
1234
1234
  }
1235
- function hc(n) {
1235
+ function dc(n) {
1236
1236
  return E(n.addListener) && E(n.removeListener);
1237
1237
  }
1238
- function dc(n) {
1238
+ function pc(n) {
1239
1239
  return E(n.on) && E(n.off);
1240
1240
  }
1241
- function pc(n) {
1241
+ function fc(n) {
1242
1242
  return E(n.addEventListener) && E(n.removeEventListener);
1243
1243
  }
1244
- function fc() {
1244
+ function gc() {
1245
1245
  for (var n = [], e = 0; e < arguments.length; e++)
1246
1246
  n[e] = arguments[e];
1247
- var t = ss(n), i = Pl(n, 1 / 0), s = n;
1248
- return s.length ? s.length === 1 ? se(s[0]) : oc(i)(Ye(s, t)) : tt;
1247
+ var t = ss(n), i = Ml(n, 1 / 0), s = n;
1248
+ return s.length ? s.length === 1 ? re(s[0]) : ac(i)(Ye(s, t)) : tt;
1249
1249
  }
1250
1250
  function W(n, e) {
1251
- return ie(function(t, i) {
1251
+ return se(function(t, i) {
1252
1252
  var s = 0;
1253
1253
  t.subscribe(Y(i, function(r) {
1254
1254
  return n.call(e, r, s++) && i.next(r);
@@ -1256,10 +1256,10 @@ function W(n, e) {
1256
1256
  });
1257
1257
  }
1258
1258
  function Mi(n) {
1259
- return ie(function(e, t) {
1259
+ return se(function(e, t) {
1260
1260
  var i = null, s = !1, r;
1261
1261
  i = e.subscribe(Y(t, void 0, void 0, function(o) {
1262
- r = se(n(o, Mi(n)(e))), i ? (i.unsubscribe(), i = null, r.subscribe(t)) : s = !0;
1262
+ r = re(n(o, Mi(n)(e))), i ? (i.unsubscribe(), i = null, r.subscribe(t)) : s = !0;
1263
1263
  })), s && (i.unsubscribe(), i = null, r.subscribe(t));
1264
1264
  });
1265
1265
  }
@@ -1269,7 +1269,7 @@ function vi(n, e) {
1269
1269
  function fe(n) {
1270
1270
  return n <= 0 ? function() {
1271
1271
  return tt;
1272
- } : ie(function(e, t) {
1272
+ } : se(function(e, t) {
1273
1273
  var i = 0;
1274
1274
  e.subscribe(Y(t, function(s) {
1275
1275
  ++i <= n && (t.next(s), n <= i && t.complete());
@@ -1280,7 +1280,7 @@ function bi(n) {
1280
1280
  var e = 1 / 0, t;
1281
1281
  return e <= 0 ? function() {
1282
1282
  return tt;
1283
- } : ie(function(i, s) {
1283
+ } : se(function(i, s) {
1284
1284
  var r = 0, o, a = function() {
1285
1285
  o == null || o.unsubscribe(), o = null;
1286
1286
  var c, u;
@@ -1294,15 +1294,15 @@ function bi(n) {
1294
1294
  l();
1295
1295
  });
1296
1296
  }
1297
- function Te(n, e) {
1298
- return ie(function(t, i) {
1297
+ function Ae(n, e) {
1298
+ return se(function(t, i) {
1299
1299
  var s = null, r = 0, o = !1, a = function() {
1300
1300
  return o && !s && i.complete();
1301
1301
  };
1302
1302
  t.subscribe(Y(i, function(l) {
1303
1303
  s == null || s.unsubscribe();
1304
1304
  var c = 0, u = r++;
1305
- se(n(l, u)).subscribe(s = Y(i, function(p) {
1305
+ re(n(l, u)).subscribe(s = Y(i, function(p) {
1306
1306
  return i.next(e ? e(l, p, u, c++) : p);
1307
1307
  }, function() {
1308
1308
  s = null, a();
@@ -1313,15 +1313,15 @@ function Te(n, e) {
1313
1313
  });
1314
1314
  }
1315
1315
  function z(n) {
1316
- return ie(function(e, t) {
1317
- se(n).subscribe(Y(t, function() {
1316
+ return se(function(e, t) {
1317
+ re(n).subscribe(Y(t, function() {
1318
1318
  return t.complete();
1319
- }, Cn)), !t.closed && e.subscribe(t);
1319
+ }, En)), !t.closed && e.subscribe(t);
1320
1320
  });
1321
1321
  }
1322
- function gc(n, e, t) {
1322
+ function mc(n, e, t) {
1323
1323
  var i = E(n) || e || t ? { next: n, error: e, complete: t } : n;
1324
- return i ? ie(function(s, r) {
1324
+ return i ? se(function(s, r) {
1325
1325
  var o;
1326
1326
  (o = i.subscribe) === null || o === void 0 || o.call(i);
1327
1327
  var a = !0;
@@ -1344,13 +1344,13 @@ function Ui() {
1344
1344
  for (var n = [], e = 0; e < arguments.length; e++)
1345
1345
  n[e] = arguments[e];
1346
1346
  var t = Mo(n);
1347
- return ie(function(i, s) {
1347
+ return se(function(i, s) {
1348
1348
  for (var r = n.length, o = new Array(r), a = n.map(function() {
1349
1349
  return !1;
1350
1350
  }), l = !1, c = function(p) {
1351
- se(n[p]).subscribe(Y(s, function(d) {
1351
+ re(n[p]).subscribe(Y(s, function(d) {
1352
1352
  o[p] = d, !l && !a[p] && (a[p] = !0, (l = a.every(Ct)) && (a = null));
1353
- }, Cn));
1353
+ }, En));
1354
1354
  }, u = 0; u < r; u++)
1355
1355
  c(u);
1356
1356
  i.subscribe(Y(s, function(p) {
@@ -1386,10 +1386,10 @@ class os {
1386
1386
  // }
1387
1387
  }
1388
1388
  var F = /* @__PURE__ */ ((n) => (n.User = "user", n.Agent = "agent", n.System = "system", n))(F || {});
1389
- const mc = () => "10000000-1000-4000-8000-100000000000".replace(
1389
+ const vc = () => "10000000-1000-4000-8000-100000000000".replace(
1390
1390
  /[018]/g,
1391
1391
  (n) => (+n ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> +n / 4).toString(16)
1392
- ), Yo = () => typeof crypto.randomUUID == "function" ? crypto.randomUUID() : mc();
1392
+ ), Yo = () => typeof crypto.randomUUID == "function" ? crypto.randomUUID() : vc();
1393
1393
  function Rr(n) {
1394
1394
  let e = n;
1395
1395
  const t = /https?:\/\/[^\s<]+/gi, i = /<a [^>]*href="([^"]*)"[^>]*>[^<]*<\/a>/g, s = n.match(t) || [], r = [];
@@ -1412,7 +1412,7 @@ function Rr(n) {
1412
1412
  }
1413
1413
  function Ni(n) {
1414
1414
  if (n.includes("aceChatGuideTitle"))
1415
- return vc(n);
1415
+ return bc(n);
1416
1416
  const e = /<a [^>]*>https?:\/\/[^<]*<\/a>/gim;
1417
1417
  return n.replace(e, (t) => {
1418
1418
  const i = Qo(t);
@@ -1446,7 +1446,7 @@ function Qo(n) {
1446
1446
  function Di(n, e) {
1447
1447
  return n.replace(/>[^<]*<\/a>/, `>${e}</a>`);
1448
1448
  }
1449
- function vc(n) {
1449
+ function bc(n) {
1450
1450
  const e = /<a [^>]*aceChatGuideTitle[^>]*>[^<]*<\/a>/gm;
1451
1451
  return n.replace(e, (t) => {
1452
1452
  const i = Qo(t);
@@ -1474,7 +1474,7 @@ class ee {
1474
1474
  this.remove$.next();
1475
1475
  }
1476
1476
  }
1477
- class bc {
1477
+ class yc {
1478
1478
  constructor(e) {
1479
1479
  this.name = e, this.print$ = new P();
1480
1480
  }
@@ -1494,7 +1494,7 @@ class bc {
1494
1494
  return this.print$.asObservable();
1495
1495
  }
1496
1496
  }
1497
- class yc {
1497
+ class $c {
1498
1498
  constructor(e) {
1499
1499
  this.name = e, this.print$ = new P();
1500
1500
  }
@@ -1514,7 +1514,7 @@ class yc {
1514
1514
  return this.print$.asObservable();
1515
1515
  }
1516
1516
  }
1517
- class $c {
1517
+ class wc {
1518
1518
  constructor() {
1519
1519
  this.print$ = new P(), this.name = "system";
1520
1520
  }
@@ -1534,9 +1534,9 @@ class $c {
1534
1534
  return this.print$.asObservable();
1535
1535
  }
1536
1536
  }
1537
- class wc {
1537
+ class xc {
1538
1538
  constructor(e, t) {
1539
- this.name = e, this.component = t, this.print$ = new P(), this.typingState$ = new ce(!1), this.complete$ = new P(), this.system = this.createSystem(), this.rehydrate$ = new P(), this.saveToCurrentSession$ = new P(), this.showChatOverlay$ = new ce(!1), this.onComplete = () => this.complete$.asObservable();
1539
+ this.name = e, this.component = t, this.print$ = new P(), this.typingState$ = new ue(!1), this.complete$ = new P(), this.system = this.createSystem(), this.rehydrate$ = new P(), this.saveToCurrentSession$ = new P(), this.showChatOverlay$ = new ue(!1), this.onComplete = () => this.complete$.asObservable();
1540
1540
  }
1541
1541
  connect(e = {}) {
1542
1542
  this.complete$.pipe(fe(1)).subscribe(() => {
@@ -1568,19 +1568,19 @@ class wc {
1568
1568
  return this.print$.next(e), e;
1569
1569
  }
1570
1570
  createAgent(e) {
1571
- const t = new bc(e);
1571
+ const t = new yc(e);
1572
1572
  return t.subscribe().subscribe((i) => {
1573
1573
  this.playNotification(), this.printEntry(i);
1574
1574
  }), t;
1575
1575
  }
1576
1576
  createUser(e) {
1577
- const t = new yc(e);
1577
+ const t = new $c(e);
1578
1578
  return t.subscribe().subscribe((i) => {
1579
1579
  this.printEntry(i);
1580
1580
  }), t;
1581
1581
  }
1582
1582
  createSystem() {
1583
- const e = new $c();
1583
+ const e = new wc();
1584
1584
  return e.subscribe().subscribe((t) => {
1585
1585
  this.printEntry(t);
1586
1586
  }), e;
@@ -1616,7 +1616,7 @@ class wc {
1616
1616
  * Copyright 2019 Google LLC
1617
1617
  * SPDX-License-Identifier: BSD-3-Clause
1618
1618
  */
1619
- const wn = globalThis, as = wn.ShadowRoot && (wn.ShadyCSS === void 0 || wn.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, ls = Symbol(), Ir = /* @__PURE__ */ new WeakMap();
1619
+ const xn = globalThis, as = xn.ShadowRoot && (xn.ShadyCSS === void 0 || xn.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, ls = Symbol(), Ir = /* @__PURE__ */ new WeakMap();
1620
1620
  let Xo = class {
1621
1621
  constructor(e, t, i) {
1622
1622
  if (this._$cssResult$ = !0, i !== ls) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
@@ -1635,33 +1635,33 @@ let Xo = class {
1635
1635
  return this.cssText;
1636
1636
  }
1637
1637
  };
1638
- const xc = (n) => new Xo(typeof n == "string" ? n : n + "", void 0, ls), A = (n, ...e) => {
1638
+ const kc = (n) => new Xo(typeof n == "string" ? n : n + "", void 0, ls), T = (n, ...e) => {
1639
1639
  const t = n.length === 1 ? n[0] : e.reduce(((i, s, r) => i + ((o) => {
1640
1640
  if (o._$cssResult$ === !0) return o.cssText;
1641
1641
  if (typeof o == "number") return o;
1642
1642
  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.");
1643
1643
  })(s) + n[r + 1]), n[0]);
1644
1644
  return new Xo(t, n, ls);
1645
- }, kc = (n, e) => {
1645
+ }, Sc = (n, e) => {
1646
1646
  if (as) n.adoptedStyleSheets = e.map(((t) => t instanceof CSSStyleSheet ? t : t.styleSheet));
1647
1647
  else for (const t of e) {
1648
- const i = document.createElement("style"), s = wn.litNonce;
1648
+ const i = document.createElement("style"), s = xn.litNonce;
1649
1649
  s !== void 0 && i.setAttribute("nonce", s), i.textContent = t.cssText, n.appendChild(i);
1650
1650
  }
1651
1651
  }, Pr = as ? (n) => n : (n) => n instanceof CSSStyleSheet ? ((e) => {
1652
1652
  let t = "";
1653
1653
  for (const i of e.cssRules) t += i.cssText;
1654
- return xc(t);
1654
+ return kc(t);
1655
1655
  })(n) : n;
1656
1656
  /**
1657
1657
  * @license
1658
1658
  * Copyright 2017 Google LLC
1659
1659
  * SPDX-License-Identifier: BSD-3-Clause
1660
1660
  */
1661
- const { is: Sc, defineProperty: Cc, getOwnPropertyDescriptor: Ec, getOwnPropertyNames: _c, getOwnPropertySymbols: Tc, getPrototypeOf: Ac } = Object, De = globalThis, Mr = De.trustedTypes, Oc = Mr ? Mr.emptyScript : "", yi = De.reactiveElementPolyfillSupport, zt = (n, e) => n, Tn = { toAttribute(n, e) {
1661
+ const { is: Cc, defineProperty: Ec, getOwnPropertyDescriptor: _c, getOwnPropertyNames: Ac, getOwnPropertySymbols: Tc, getPrototypeOf: Oc } = Object, De = globalThis, Mr = De.trustedTypes, Lc = Mr ? Mr.emptyScript : "", yi = De.reactiveElementPolyfillSupport, zt = (n, e) => n, Tn = { toAttribute(n, e) {
1662
1662
  switch (e) {
1663
1663
  case Boolean:
1664
- n = n ? Oc : null;
1664
+ n = n ? Lc : null;
1665
1665
  break;
1666
1666
  case Object:
1667
1667
  case Array:
@@ -1686,7 +1686,7 @@ const { is: Sc, defineProperty: Cc, getOwnPropertyDescriptor: Ec, getOwnProperty
1686
1686
  }
1687
1687
  }
1688
1688
  return t;
1689
- } }, cs = (n, e) => !Sc(n, e), Ur = { attribute: !0, type: String, converter: Tn, reflect: !1, useDefault: !1, hasChanged: cs };
1689
+ } }, cs = (n, e) => !Cc(n, e), Ur = { attribute: !0, type: String, converter: Tn, reflect: !1, useDefault: !1, hasChanged: cs };
1690
1690
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), De.litPropertyMetadata ?? (De.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
1691
1691
  let ht = class extends HTMLElement {
1692
1692
  static addInitializer(e) {
@@ -1698,11 +1698,11 @@ let ht = class extends HTMLElement {
1698
1698
  static createProperty(e, t = Ur) {
1699
1699
  if (t.state && (t.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(e) && ((t = Object.create(t)).wrapped = !0), this.elementProperties.set(e, t), !t.noAccessor) {
1700
1700
  const i = Symbol(), s = this.getPropertyDescriptor(e, i, t);
1701
- s !== void 0 && Cc(this.prototype, e, s);
1701
+ s !== void 0 && Ec(this.prototype, e, s);
1702
1702
  }
1703
1703
  }
1704
1704
  static getPropertyDescriptor(e, t, i) {
1705
- const { get: s, set: r } = Ec(this.prototype, e) ?? { get() {
1705
+ const { get: s, set: r } = _c(this.prototype, e) ?? { get() {
1706
1706
  return this[t];
1707
1707
  }, set(o) {
1708
1708
  this[t] = o;
@@ -1717,13 +1717,13 @@ let ht = class extends HTMLElement {
1717
1717
  }
1718
1718
  static _$Ei() {
1719
1719
  if (this.hasOwnProperty(zt("elementProperties"))) return;
1720
- const e = Ac(this);
1720
+ const e = Oc(this);
1721
1721
  e.finalize(), e.l !== void 0 && (this.l = [...e.l]), this.elementProperties = new Map(e.elementProperties);
1722
1722
  }
1723
1723
  static finalize() {
1724
1724
  if (this.hasOwnProperty(zt("finalized"))) return;
1725
1725
  if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(zt("properties"))) {
1726
- const t = this.properties, i = [..._c(t), ...Tc(t)];
1726
+ const t = this.properties, i = [...Ac(t), ...Tc(t)];
1727
1727
  for (const s of i) this.createProperty(s, t[s]);
1728
1728
  }
1729
1729
  const e = this[Symbol.metadata];
@@ -1772,7 +1772,7 @@ let ht = class extends HTMLElement {
1772
1772
  }
1773
1773
  createRenderRoot() {
1774
1774
  const e = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
1775
- return kc(e, this.constructor.elementStyles), e;
1775
+ return Sc(e, this.constructor.elementStyles), e;
1776
1776
  }
1777
1777
  connectedCallback() {
1778
1778
  var e;
@@ -1897,14 +1897,14 @@ ht.elementStyles = [], ht.shadowRootOptions = { mode: "open" }, ht[zt("elementPr
1897
1897
  * Copyright 2017 Google LLC
1898
1898
  * SPDX-License-Identifier: BSD-3-Clause
1899
1899
  */
1900
- const Ht = globalThis, An = Ht.trustedTypes, Nr = An ? An.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, Ko = "$lit$", Me = `lit$${Math.random().toFixed(9).slice(2)}$`, Jo = "?" + Me, Lc = `<${Jo}>`, Ke = document, Vt = () => Ke.createComment(""), Wt = (n) => n === null || typeof n != "object" && typeof n != "function", us = Array.isArray, Rc = (n) => us(n) || typeof (n == null ? void 0 : n[Symbol.iterator]) == "function", $i = `[
1900
+ const Ht = globalThis, On = Ht.trustedTypes, Nr = On ? On.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, Ko = "$lit$", Me = `lit$${Math.random().toFixed(9).slice(2)}$`, Jo = "?" + Me, Rc = `<${Jo}>`, Ke = document, Vt = () => Ke.createComment(""), Wt = (n) => n === null || typeof n != "object" && typeof n != "function", us = Array.isArray, Ic = (n) => us(n) || typeof (n == null ? void 0 : n[Symbol.iterator]) == "function", $i = `[
1901
1901
  \f\r]`, Lt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Dr = /-->/g, zr = />/g, Ve = RegExp(`>|${$i}(?:([^\\s"'>=/]+)(${$i}*=${$i}*(?:[^
1902
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Hr = /'/g, Fr = /"/g, ea = /^(?:script|style|textarea|title)$/i, Ic = (n) => (e, ...t) => ({ _$litType$: n, strings: e, values: t }), y = Ic(1), Ae = Symbol.for("lit-noChange"), w = Symbol.for("lit-nothing"), jr = /* @__PURE__ */ new WeakMap(), Ge = Ke.createTreeWalker(Ke, 129);
1902
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Hr = /'/g, Fr = /"/g, ea = /^(?:script|style|textarea|title)$/i, Pc = (n) => (e, ...t) => ({ _$litType$: n, strings: e, values: t }), y = Pc(1), Te = Symbol.for("lit-noChange"), w = Symbol.for("lit-nothing"), jr = /* @__PURE__ */ new WeakMap(), Ge = Ke.createTreeWalker(Ke, 129);
1903
1903
  function ta(n, e) {
1904
1904
  if (!us(n) || !n.hasOwnProperty("raw")) throw Error("invalid template strings array");
1905
1905
  return Nr !== void 0 ? Nr.createHTML(e) : e;
1906
1906
  }
1907
- const Pc = (n, e) => {
1907
+ const Mc = (n, e) => {
1908
1908
  const t = n.length - 1, i = [];
1909
1909
  let s, r = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", o = Lt;
1910
1910
  for (let a = 0; a < t; a++) {
@@ -1912,7 +1912,7 @@ const Pc = (n, e) => {
1912
1912
  let c, u, p = -1, d = 0;
1913
1913
  for (; d < l.length && (o.lastIndex = d, u = o.exec(l), u !== null); ) d = o.lastIndex, o === Lt ? u[1] === "!--" ? o = Dr : u[1] !== void 0 ? o = zr : u[2] !== void 0 ? (ea.test(u[2]) && (s = RegExp("</" + u[2], "g")), o = Ve) : u[3] !== void 0 && (o = Ve) : o === Ve ? u[0] === ">" ? (o = s ?? Lt, p = -1) : u[1] === void 0 ? p = -2 : (p = o.lastIndex - u[2].length, c = u[1], o = u[3] === void 0 ? Ve : u[3] === '"' ? Fr : Hr) : o === Fr || o === Hr ? o = Ve : o === Dr || o === zr ? o = Lt : (o = Ve, s = void 0);
1914
1914
  const g = o === Ve && n[a + 1].startsWith("/>") ? " " : "";
1915
- r += o === Lt ? l + Lc : p >= 0 ? (i.push(c), l.slice(0, p) + Ko + l.slice(p) + Me + g) : l + Me + (p === -2 ? a : g);
1915
+ r += o === Lt ? l + Rc : p >= 0 ? (i.push(c), l.slice(0, p) + Ko + l.slice(p) + Me + g) : l + Me + (p === -2 ? a : g);
1916
1916
  }
1917
1917
  return [ta(n, r + (n[t] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), i];
1918
1918
  };
@@ -1921,7 +1921,7 @@ let zi = class na {
1921
1921
  let s;
1922
1922
  this.parts = [];
1923
1923
  let r = 0, o = 0;
1924
- const a = e.length - 1, l = this.parts, [c, u] = Pc(e, t);
1924
+ const a = e.length - 1, l = this.parts, [c, u] = Mc(e, t);
1925
1925
  if (this.el = na.createElement(c, i), Ge.currentNode = this.el.content, t === 2 || t === 3) {
1926
1926
  const p = this.el.content.firstChild;
1927
1927
  p.replaceWith(...p.childNodes);
@@ -1930,12 +1930,12 @@ let zi = class na {
1930
1930
  if (s.nodeType === 1) {
1931
1931
  if (s.hasAttributes()) for (const p of s.getAttributeNames()) if (p.endsWith(Ko)) {
1932
1932
  const d = u[o++], g = s.getAttribute(p).split(Me), m = /([.?@])?(.*)/.exec(d);
1933
- l.push({ type: 1, index: r, name: m[2], strings: g, ctor: m[1] === "." ? Uc : m[1] === "?" ? Nc : m[1] === "@" ? Dc : Yn }), s.removeAttribute(p);
1933
+ l.push({ type: 1, index: r, name: m[2], strings: g, ctor: m[1] === "." ? Nc : m[1] === "?" ? Dc : m[1] === "@" ? zc : Yn }), s.removeAttribute(p);
1934
1934
  } else p.startsWith(Me) && (l.push({ type: 6, index: r }), s.removeAttribute(p));
1935
1935
  if (ea.test(s.tagName)) {
1936
1936
  const p = s.textContent.split(Me), d = p.length - 1;
1937
1937
  if (d > 0) {
1938
- s.textContent = An ? An.emptyScript : "";
1938
+ s.textContent = On ? On.emptyScript : "";
1939
1939
  for (let g = 0; g < d; g++) s.append(p[g], Vt()), Ge.nextNode(), l.push({ type: 2, index: ++r });
1940
1940
  s.append(p[d], Vt());
1941
1941
  }
@@ -1955,12 +1955,12 @@ let zi = class na {
1955
1955
  };
1956
1956
  function $t(n, e, t = n, i) {
1957
1957
  var o, a;
1958
- if (e === Ae) return e;
1958
+ if (e === Te) return e;
1959
1959
  let s = i !== void 0 ? (o = t._$Co) == null ? void 0 : o[i] : t._$Cl;
1960
1960
  const r = Wt(e) ? void 0 : e._$litDirective$;
1961
1961
  return (s == null ? void 0 : s.constructor) !== r && ((a = s == null ? void 0 : s._$AO) == null || a.call(s, !1), r === void 0 ? s = void 0 : (s = new r(n), s._$AT(n, t, i)), i !== void 0 ? (t._$Co ?? (t._$Co = []))[i] = s : t._$Cl = s), s !== void 0 && (e = $t(n, s._$AS(n, e.values), s, i)), e;
1962
1962
  }
1963
- class Mc {
1963
+ class Uc {
1964
1964
  constructor(e, t) {
1965
1965
  this._$AV = [], this._$AN = void 0, this._$AD = e, this._$AM = t;
1966
1966
  }
@@ -1977,7 +1977,7 @@ class Mc {
1977
1977
  for (; l !== void 0; ) {
1978
1978
  if (o === l.index) {
1979
1979
  let c;
1980
- l.type === 2 ? c = new tn(r, r.nextSibling, this, e) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, e) : l.type === 6 && (c = new zc(r, this, e)), this._$AV.push(c), l = i[++a];
1980
+ l.type === 2 ? c = new nn(r, r.nextSibling, this, e) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, e) : l.type === 6 && (c = new Hc(r, this, e)), this._$AV.push(c), l = i[++a];
1981
1981
  }
1982
1982
  o !== (l == null ? void 0 : l.index) && (r = Ge.nextNode(), o++);
1983
1983
  }
@@ -1988,7 +1988,7 @@ class Mc {
1988
1988
  for (const i of this._$AV) i !== void 0 && (i.strings !== void 0 ? (i._$AI(e, i, t), t += i.strings.length - 2) : i._$AI(e[t])), t++;
1989
1989
  }
1990
1990
  }
1991
- class tn {
1991
+ class nn {
1992
1992
  get _$AU() {
1993
1993
  var e;
1994
1994
  return ((e = this._$AM) == null ? void 0 : e._$AU) ?? this._$Cv;
@@ -2008,7 +2008,7 @@ class tn {
2008
2008
  return this._$AB;
2009
2009
  }
2010
2010
  _$AI(e, t = this) {
2011
- e = $t(this, e, t), Wt(e) ? e === w || e == null || e === "" ? (this._$AH !== w && this._$AR(), this._$AH = w) : e !== this._$AH && e !== Ae && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : Rc(e) ? this.k(e) : this._(e);
2011
+ e = $t(this, e, t), Wt(e) ? e === w || e == null || e === "" ? (this._$AH !== w && this._$AR(), this._$AH = w) : e !== this._$AH && e !== Te && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : Ic(e) ? this.k(e) : this._(e);
2012
2012
  }
2013
2013
  O(e) {
2014
2014
  return this._$AA.parentNode.insertBefore(e, this._$AB);
@@ -2024,7 +2024,7 @@ class tn {
2024
2024
  const { values: t, _$litType$: i } = e, s = typeof i == "number" ? this._$AC(e) : (i.el === void 0 && (i.el = zi.createElement(ta(i.h, i.h[0]), this.options)), i);
2025
2025
  if (((r = this._$AH) == null ? void 0 : r._$AD) === s) this._$AH.p(t);
2026
2026
  else {
2027
- const o = new Mc(s, this), a = o.u(this.options);
2027
+ const o = new Uc(s, this), a = o.u(this.options);
2028
2028
  o.p(t), this.T(a), this._$AH = o;
2029
2029
  }
2030
2030
  }
@@ -2036,7 +2036,7 @@ class tn {
2036
2036
  us(this._$AH) || (this._$AH = [], this._$AR());
2037
2037
  const t = this._$AH;
2038
2038
  let i, s = 0;
2039
- for (const r of e) s === t.length ? t.push(i = new tn(this.O(Vt()), this.O(Vt()), this, this.options)) : i = t[s], i._$AI(r), s++;
2039
+ for (const r of e) s === t.length ? t.push(i = new nn(this.O(Vt()), this.O(Vt()), this, this.options)) : i = t[s], i._$AI(r), s++;
2040
2040
  s < t.length && (this._$AR(i && i._$AB.nextSibling, s), t.length = s);
2041
2041
  }
2042
2042
  _$AR(e = this._$AA.nextSibling, t) {
@@ -2064,11 +2064,11 @@ class Yn {
2064
2064
  _$AI(e, t = this, i, s) {
2065
2065
  const r = this.strings;
2066
2066
  let o = !1;
2067
- if (r === void 0) e = $t(this, e, t, 0), o = !Wt(e) || e !== this._$AH && e !== Ae, o && (this._$AH = e);
2067
+ if (r === void 0) e = $t(this, e, t, 0), o = !Wt(e) || e !== this._$AH && e !== Te, o && (this._$AH = e);
2068
2068
  else {
2069
2069
  const a = e;
2070
2070
  let l, c;
2071
- for (e = r[0], l = 0; l < r.length - 1; l++) c = $t(this, a[i + l], t, l), c === Ae && (c = this._$AH[l]), o || (o = !Wt(c) || c !== this._$AH[l]), c === w ? e = w : e !== w && (e += (c ?? "") + r[l + 1]), this._$AH[l] = c;
2071
+ for (e = r[0], l = 0; l < r.length - 1; l++) c = $t(this, a[i + l], t, l), c === Te && (c = this._$AH[l]), o || (o = !Wt(c) || c !== this._$AH[l]), c === w ? e = w : e !== w && (e += (c ?? "") + r[l + 1]), this._$AH[l] = c;
2072
2072
  }
2073
2073
  o && !s && this.j(e);
2074
2074
  }
@@ -2076,7 +2076,7 @@ class Yn {
2076
2076
  e === w ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
2077
2077
  }
2078
2078
  }
2079
- let Uc = class extends Yn {
2079
+ let Nc = class extends Yn {
2080
2080
  constructor() {
2081
2081
  super(...arguments), this.type = 3;
2082
2082
  }
@@ -2084,7 +2084,7 @@ let Uc = class extends Yn {
2084
2084
  this.element[this.name] = e === w ? void 0 : e;
2085
2085
  }
2086
2086
  };
2087
- class Nc extends Yn {
2087
+ class Dc extends Yn {
2088
2088
  constructor() {
2089
2089
  super(...arguments), this.type = 4;
2090
2090
  }
@@ -2092,12 +2092,12 @@ class Nc extends Yn {
2092
2092
  this.element.toggleAttribute(this.name, !!e && e !== w);
2093
2093
  }
2094
2094
  }
2095
- class Dc extends Yn {
2095
+ class zc extends Yn {
2096
2096
  constructor(e, t, i, s, r) {
2097
2097
  super(e, t, i, s, r), this.type = 5;
2098
2098
  }
2099
2099
  _$AI(e, t = this) {
2100
- if ((e = $t(this, e, t, 0) ?? w) === Ae) return;
2100
+ if ((e = $t(this, e, t, 0) ?? w) === Te) return;
2101
2101
  const i = this._$AH, s = e === w && i !== w || e.capture !== i.capture || e.once !== i.once || e.passive !== i.passive, r = e !== w && (i === w || s);
2102
2102
  s && this.element.removeEventListener(this.name, this, i), r && this.element.addEventListener(this.name, this, e), this._$AH = e;
2103
2103
  }
@@ -2106,7 +2106,7 @@ class Dc extends Yn {
2106
2106
  typeof this._$AH == "function" ? this._$AH.call(((t = this.options) == null ? void 0 : t.host) ?? this.element, e) : this._$AH.handleEvent(e);
2107
2107
  }
2108
2108
  }
2109
- class zc {
2109
+ class Hc {
2110
2110
  constructor(e, t, i) {
2111
2111
  this.element = e, this.type = 6, this._$AN = void 0, this._$AM = t, this.options = i;
2112
2112
  }
@@ -2118,13 +2118,13 @@ class zc {
2118
2118
  }
2119
2119
  }
2120
2120
  const wi = Ht.litHtmlPolyfillSupport;
2121
- wi == null || wi(zi, tn), (Ht.litHtmlVersions ?? (Ht.litHtmlVersions = [])).push("3.3.1");
2122
- const Hc = (n, e, t) => {
2121
+ wi == null || wi(zi, nn), (Ht.litHtmlVersions ?? (Ht.litHtmlVersions = [])).push("3.3.1");
2122
+ const Fc = (n, e, t) => {
2123
2123
  const i = (t == null ? void 0 : t.renderBefore) ?? e;
2124
2124
  let s = i._$litPart$;
2125
2125
  if (s === void 0) {
2126
2126
  const r = (t == null ? void 0 : t.renderBefore) ?? null;
2127
- i._$litPart$ = s = new tn(e.insertBefore(Vt(), r), r, void 0, t ?? {});
2127
+ i._$litPart$ = s = new nn(e.insertBefore(Vt(), r), r, void 0, t ?? {});
2128
2128
  }
2129
2129
  return s._$AI(n), s;
2130
2130
  };
@@ -2145,7 +2145,7 @@ let _ = class extends ht {
2145
2145
  }
2146
2146
  update(e) {
2147
2147
  const t = this.render();
2148
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = Hc(t, this.renderRoot, this.renderOptions);
2148
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = Fc(t, this.renderRoot, this.renderOptions);
2149
2149
  }
2150
2150
  connectedCallback() {
2151
2151
  var e;
@@ -2156,15 +2156,15 @@ let _ = class extends ht {
2156
2156
  super.disconnectedCallback(), (e = this._$Do) == null || e.setConnected(!1);
2157
2157
  }
2158
2158
  render() {
2159
- return Ae;
2159
+ return Te;
2160
2160
  }
2161
2161
  };
2162
- var Ao;
2163
- _._$litElement$ = !0, _.finalized = !0, (Ao = Qe.litElementHydrateSupport) == null || Ao.call(Qe, { LitElement: _ });
2162
+ var To;
2163
+ _._$litElement$ = !0, _.finalized = !0, (To = Qe.litElementHydrateSupport) == null || To.call(Qe, { LitElement: _ });
2164
2164
  const xi = Qe.litElementPolyfillSupport;
2165
2165
  xi == null || xi({ LitElement: _ });
2166
2166
  (Qe.litElementVersions ?? (Qe.litElementVersions = [])).push("4.2.1");
2167
- const Fc = { 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>' }, ia = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M52 7H24C19.5838 7.00505 16.0051 10.5838 16 15V23H12C7.58382 23.0051 4.00505 26.5838 4 31V43C4.00505 47.4162 7.58382 50.9949 12 51H19.1699L24.8789 56.7075C25.737 57.5654 27.0273 57.8219 28.1482 57.3575C29.2692 56.8931 30 55.7993 30 54.5859V51H39.999C44.4152 50.995 47.994 47.4162 47.999 43V35H52C56.4162 34.9949 59.9949 31.4162 60 27V15C59.9949 10.5838 56.4162 7.00505 52 7ZM43.999 43C43.9967 45.2082 42.2072 46.9977 39.999 47H26V52.1724L20.8262 47H12C9.79184 46.9976 8.00235 45.2082 8 43V31C8.00235 28.7918 9.79184 27.0024 12 27H16C16.0051 31.4162 19.5838 34.9949 24 35H30V38.5859C29.999 39.7998 30.7298 40.8945 31.8512 41.359C32.9726 41.8236 34.2634 41.5664 35.1211 40.7075L40.8291 35H43.999V43ZM56 27C55.9977 29.2082 54.2082 30.9976 52 31H39.1729L34 36.1719V31H24C21.7918 30.9976 20.0024 29.2082 20 27V15C20.0024 12.7918 21.7918 11.0024 24 11H52C54.2082 11.0024 55.9977 12.7918 56 15V27Z"/></svg>' }, jc = { 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>' }, Bc = { 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>' }, qc = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M57.5438 13.4967L28.717 50.5596C27.9537 51.5407 26.8061 52.147 25.5654 52.2248C25.4755 52.2301 25.3856 52.2332 25.2967 52.2332C24.1476 52.233 23.0455 51.7763 22.233 50.9637L6.63458 35.3654C6.08729 34.8181 5.87354 34.0204 6.07387 33.2728C6.27419 32.5252 6.85815 31.9412 7.60577 31.7409C8.35339 31.5406 9.15109 31.7543 9.69838 32.3016L25.2967 47.8999L54.1225 10.837C54.5976 10.2258 55.3626 9.91453 56.1295 10.0204C56.8963 10.1263 57.5484 10.6332 57.8402 11.3502C58.1319 12.0673 58.0189 12.8855 57.5438 13.4967Z"/></svg>' }, sa = { 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>' }, Vc = { 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>' }, hs = { 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.365 48.3012C51.9123 48.8485 52.1261 49.6462 51.9258 50.3939C51.7254 51.1415 51.1415 51.7254 50.3939 51.9258C49.6462 52.1261 48.8485 51.9123 48.3012 51.365L32.4998 35.5636L16.6984 51.365C16.1511 51.9123 15.3534 52.1261 14.6058 51.9258C13.8581 51.7254 13.2742 51.1415 13.0739 50.3939C12.8735 49.6462 13.0873 48.8485 13.6346 48.3012L29.436 32.4998L13.6346 16.6984C13.0873 16.1511 12.8735 15.3534 13.0739 14.6058C13.2742 13.8581 13.8581 13.2742 14.6058 13.0739C15.3534 12.8735 16.1511 13.0873 16.6984 13.6346L32.4998 29.436L48.3012 13.6346C49.1473 12.7885 50.519 12.7885 51.365 13.6346C52.2111 14.4806 52.2111 15.8523 51.365 16.6984L35.5636 32.4998L51.365 48.3012Z"/></svg>' }, Wc = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M58.2618 43.8838L38.8585 11.5469C37.4136 9.13651 34.8097 7.66134 31.9994 7.66113C29.1891 7.66093 26.585 9.13572 25.1397 11.5459L5.73642 43.8838C4.25367 46.3552 4.21482 49.4331 5.6347 51.9411C7.05459 54.4492 9.71372 55.9997 12.5958 56H51.4024C54.2845 55.9997 56.9436 54.4492 58.3635 51.9411C59.7834 49.4331 59.7446 46.3552 58.2618 43.8838ZM29.9991 36.9772V25.1569C29.9983 24.6198 30.1056 24.0879 30.3148 23.5932C30.486 23.1496 30.753 22.7494 31.0968 22.4209C31.339 22.1704 31.6666 22.0202 32.0145 22C32.5161 22 33.0173 22.3805 33.5182 23.1416C33.7901 23.4771 33.9573 23.8852 33.9991 24.3151V36.1354C33.9991 36.5759 33.6932 36.9969 33.0814 37.3982C32.4994 37.7897 31.814 37.9988 31.1126 37.999C30.3712 37.999 30 37.6584 29.9991 36.9772ZM34.2408 43.9236C34.173 43.4297 33.9757 42.9626 33.669 42.5696C33.1076 41.7469 32.566 41.3355 32.0444 41.3355C31.6396 41.354 31.2573 41.5266 30.9757 41.8179C30.593 42.1852 30.2954 42.6319 30.1039 43.1266C29.874 43.6743 29.7562 44.2625 29.7574 44.8565C29.7574 45.6189 30.1786 46 31.0208 46C31.8022 46.0001 32.5662 45.7697 33.2173 45.3377C33.8996 44.8957 34.2408 44.4243 34.2408 43.9236Z"/></svg>' }, Hi = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path d="M59.9139 23.8477V7.90923C59.902 5.75094 58.1522 4.00588 55.9939 4H40.0554C38.8659 4 37.9016 4.96431 37.9016 6.15385C37.9016 7.34338 38.8659 8.30769 40.0554 8.30769H52.4616L29.8462 30.9231C29.4417 31.3271 29.2145 31.8753 29.2145 32.4469C29.2145 33.0186 29.4417 33.5668 29.8462 33.9708C30.2394 34.3609 30.7677 34.5846 31.3216 34.5954C31.8941 34.5987 32.4443 34.3739 32.8508 33.9708L55.6062 11.2046V23.8477C55.6062 25.0372 56.5705 26.0015 57.76 26.0015C58.9495 26.0015 59.9139 25.0372 59.9139 23.8477Z"/><path d="M12.217 60H47.4001C51.9189 59.9942 55.5874 56.3449 55.617 51.8262V38.4615C55.617 37.272 54.6527 36.3077 53.4631 36.3077C52.2736 36.3077 51.3093 37.272 51.3093 38.4615V51.7831C51.3034 53.9396 49.5566 55.6864 47.4001 55.6923H12.217C10.0771 55.6866 8.33714 53.9659 8.30776 51.8262V16.5569C8.29914 15.5145 8.7072 14.5119 9.44126 13.7718C10.1753 13.0316 11.1746 12.6153 12.217 12.6154H25.5385C26.7281 12.6154 27.6924 11.6511 27.6924 10.4615C27.6924 9.272 26.7281 8.30769 25.5385 8.30769H12.217C10.0321 8.30767 7.9372 9.17782 6.39529 10.7258C4.85339 12.2738 3.99147 14.3721 4.00006 16.5569V51.8262C4.02963 56.3449 7.6981 59.9942 12.217 60Z"/></svg>' }, Br = { 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>' }, Gc = { 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>' }, ra = { 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>' }, qr = { 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>' }, Zc = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M27.2561 39.1924C27.3201 40.5364 28.0241 41.1764 29.3681 41.1764C32.1201 41.1764 34.8081 39.3844 34.8721 37.5924L35.8961 12.3764C35.8961 10.6484 35.0001 9.81641 33.1441 9.81641C29.6241 9.81641 25.9761 12.1844 25.9761 14.4244L27.2561 39.1924ZM30.9041 55.3847C28.4081 55.3847 26.0401 51.2247 26.0401 49.6247C26.0401 47.3847 29.6881 45.0167 33.2081 45.0167C35.0641 45.0167 36.0241 45.8487 36.0241 47.5767C36.0241 50.2007 34.8081 52.8887 33.2721 54.2967C32.5041 55.0007 31.7361 55.3847 30.9041 55.3847Z"/></svg>' }, dt = {
2167
+ const jc = { 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>' }, ia = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M52 7H24C19.5838 7.00505 16.0051 10.5838 16 15V23H12C7.58382 23.0051 4.00505 26.5838 4 31V43C4.00505 47.4162 7.58382 50.9949 12 51H19.1699L24.8789 56.7075C25.737 57.5654 27.0273 57.8219 28.1482 57.3575C29.2692 56.8931 30 55.7993 30 54.5859V51H39.999C44.4152 50.995 47.994 47.4162 47.999 43V35H52C56.4162 34.9949 59.9949 31.4162 60 27V15C59.9949 10.5838 56.4162 7.00505 52 7ZM43.999 43C43.9967 45.2082 42.2072 46.9977 39.999 47H26V52.1724L20.8262 47H12C9.79184 46.9976 8.00235 45.2082 8 43V31C8.00235 28.7918 9.79184 27.0024 12 27H16C16.0051 31.4162 19.5838 34.9949 24 35H30V38.5859C29.999 39.7998 30.7298 40.8945 31.8512 41.359C32.9726 41.8236 34.2634 41.5664 35.1211 40.7075L40.8291 35H43.999V43ZM56 27C55.9977 29.2082 54.2082 30.9976 52 31H39.1729L34 36.1719V31H24C21.7918 30.9976 20.0024 29.2082 20 27V15C20.0024 12.7918 21.7918 11.0024 24 11H52C54.2082 11.0024 55.9977 12.7918 56 15V27Z"/></svg>' }, Bc = { 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>' }, qc = { 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>' }, Vc = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M57.5438 13.4967L28.717 50.5596C27.9537 51.5407 26.8061 52.147 25.5654 52.2248C25.4755 52.2301 25.3856 52.2332 25.2967 52.2332C24.1476 52.233 23.0455 51.7763 22.233 50.9637L6.63458 35.3654C6.08729 34.8181 5.87354 34.0204 6.07387 33.2728C6.27419 32.5252 6.85815 31.9412 7.60577 31.7409C8.35339 31.5406 9.15109 31.7543 9.69838 32.3016L25.2967 47.8999L54.1225 10.837C54.5976 10.2258 55.3626 9.91453 56.1295 10.0204C56.8963 10.1263 57.5484 10.6332 57.8402 11.3502C58.1319 12.0673 58.0189 12.8855 57.5438 13.4967Z"/></svg>' }, sa = { 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>' }, Wc = { 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>' }, hs = { 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.365 48.3012C51.9123 48.8485 52.1261 49.6462 51.9258 50.3939C51.7254 51.1415 51.1415 51.7254 50.3939 51.9258C49.6462 52.1261 48.8485 51.9123 48.3012 51.365L32.4998 35.5636L16.6984 51.365C16.1511 51.9123 15.3534 52.1261 14.6058 51.9258C13.8581 51.7254 13.2742 51.1415 13.0739 50.3939C12.8735 49.6462 13.0873 48.8485 13.6346 48.3012L29.436 32.4998L13.6346 16.6984C13.0873 16.1511 12.8735 15.3534 13.0739 14.6058C13.2742 13.8581 13.8581 13.2742 14.6058 13.0739C15.3534 12.8735 16.1511 13.0873 16.6984 13.6346L32.4998 29.436L48.3012 13.6346C49.1473 12.7885 50.519 12.7885 51.365 13.6346C52.2111 14.4806 52.2111 15.8523 51.365 16.6984L35.5636 32.4998L51.365 48.3012Z"/></svg>' }, Gc = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M58.2618 43.8838L38.8585 11.5469C37.4136 9.13651 34.8097 7.66134 31.9994 7.66113C29.1891 7.66093 26.585 9.13572 25.1397 11.5459L5.73642 43.8838C4.25367 46.3552 4.21482 49.4331 5.6347 51.9411C7.05459 54.4492 9.71372 55.9997 12.5958 56H51.4024C54.2845 55.9997 56.9436 54.4492 58.3635 51.9411C59.7834 49.4331 59.7446 46.3552 58.2618 43.8838ZM29.9991 36.9772V25.1569C29.9983 24.6198 30.1056 24.0879 30.3148 23.5932C30.486 23.1496 30.753 22.7494 31.0968 22.4209C31.339 22.1704 31.6666 22.0202 32.0145 22C32.5161 22 33.0173 22.3805 33.5182 23.1416C33.7901 23.4771 33.9573 23.8852 33.9991 24.3151V36.1354C33.9991 36.5759 33.6932 36.9969 33.0814 37.3982C32.4994 37.7897 31.814 37.9988 31.1126 37.999C30.3712 37.999 30 37.6584 29.9991 36.9772ZM34.2408 43.9236C34.173 43.4297 33.9757 42.9626 33.669 42.5696C33.1076 41.7469 32.566 41.3355 32.0444 41.3355C31.6396 41.354 31.2573 41.5266 30.9757 41.8179C30.593 42.1852 30.2954 42.6319 30.1039 43.1266C29.874 43.6743 29.7562 44.2625 29.7574 44.8565C29.7574 45.6189 30.1786 46 31.0208 46C31.8022 46.0001 32.5662 45.7697 33.2173 45.3377C33.8996 44.8957 34.2408 44.4243 34.2408 43.9236Z"/></svg>' }, Hi = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path d="M59.9139 23.8477V7.90923C59.902 5.75094 58.1522 4.00588 55.9939 4H40.0554C38.8659 4 37.9016 4.96431 37.9016 6.15385C37.9016 7.34338 38.8659 8.30769 40.0554 8.30769H52.4616L29.8462 30.9231C29.4417 31.3271 29.2145 31.8753 29.2145 32.4469C29.2145 33.0186 29.4417 33.5668 29.8462 33.9708C30.2394 34.3609 30.7677 34.5846 31.3216 34.5954C31.8941 34.5987 32.4443 34.3739 32.8508 33.9708L55.6062 11.2046V23.8477C55.6062 25.0372 56.5705 26.0015 57.76 26.0015C58.9495 26.0015 59.9139 25.0372 59.9139 23.8477Z"/><path d="M12.217 60H47.4001C51.9189 59.9942 55.5874 56.3449 55.617 51.8262V38.4615C55.617 37.272 54.6527 36.3077 53.4631 36.3077C52.2736 36.3077 51.3093 37.272 51.3093 38.4615V51.7831C51.3034 53.9396 49.5566 55.6864 47.4001 55.6923H12.217C10.0771 55.6866 8.33714 53.9659 8.30776 51.8262V16.5569C8.29914 15.5145 8.7072 14.5119 9.44126 13.7718C10.1753 13.0316 11.1746 12.6153 12.217 12.6154H25.5385C26.7281 12.6154 27.6924 11.6511 27.6924 10.4615C27.6924 9.272 26.7281 8.30769 25.5385 8.30769H12.217C10.0321 8.30767 7.9372 9.17782 6.39529 10.7258C4.85339 12.2738 3.99147 14.3721 4.00006 16.5569V51.8262C4.02963 56.3449 7.6981 59.9942 12.217 60Z"/></svg>' }, Br = { 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>' }, Zc = { 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>' }, ra = { 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>' }, qr = { 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>' }, Yc = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M27.2561 39.1924C27.3201 40.5364 28.0241 41.1764 29.3681 41.1764C32.1201 41.1764 34.8081 39.3844 34.8721 37.5924L35.8961 12.3764C35.8961 10.6484 35.0001 9.81641 33.1441 9.81641C29.6241 9.81641 25.9761 12.1844 25.9761 14.4244L27.2561 39.1924ZM30.9041 55.3847C28.4081 55.3847 26.0401 51.2247 26.0401 49.6247C26.0401 47.3847 29.6881 45.0167 33.2081 45.0167C35.0641 45.0167 36.0241 45.8487 36.0241 47.5767C36.0241 50.2007 34.8081 52.8887 33.2721 54.2967C32.5041 55.0007 31.7361 55.3847 30.9041 55.3847Z"/></svg>' }, dt = {
2168
2168
  allRenderFn: !1,
2169
2169
  cmpDidLoad: !0,
2170
2170
  cmpDidUnload: !1,
@@ -2248,7 +2248,7 @@ const Fc = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" f
2248
2248
  transformTagName: !1,
2249
2249
  attachStyles: !0
2250
2250
  };
2251
- let pt, oa, Qn, aa = !1, On = !1, ds = !1, te = !1, Vr = null, Fi = !1;
2251
+ let pt, oa, Qn, aa = !1, Ln = !1, ds = !1, te = !1, Vr = null, Fi = !1;
2252
2252
  const Xn = typeof window < "u" ? window : {}, ve = Xn.document || { head: {} }, la = Xn.HTMLElement || class {
2253
2253
  }, Q = {
2254
2254
  $flags$: 0,
@@ -2258,7 +2258,7 @@ const Xn = typeof window < "u" ? window : {}, ve = Xn.document || { head: {} },
2258
2258
  ael: (n, e, t, i) => n.addEventListener(e, t, i),
2259
2259
  rel: (n, e, t, i) => n.removeEventListener(e, t, i),
2260
2260
  ce: (n, e) => new CustomEvent(n, e)
2261
- }, Yc = /* @__PURE__ */ (() => {
2261
+ }, Qc = /* @__PURE__ */ (() => {
2262
2262
  let n = !1;
2263
2263
  try {
2264
2264
  ve.addEventListener("e", null, Object.defineProperty({}, "passive", {
@@ -2269,7 +2269,7 @@ const Xn = typeof window < "u" ? window : {}, ve = Xn.document || { head: {} },
2269
2269
  } catch {
2270
2270
  }
2271
2271
  return n;
2272
- })(), Qc = (n) => Promise.resolve(n), Xc = /* @__PURE__ */ (() => {
2272
+ })(), Xc = (n) => Promise.resolve(n), Kc = /* @__PURE__ */ (() => {
2273
2273
  try {
2274
2274
  return new CSSStyleSheet(), typeof new CSSStyleSheet().replace == "function";
2275
2275
  } catch {
@@ -2277,24 +2277,24 @@ const Xn = typeof window < "u" ? window : {}, ve = Xn.document || { head: {} },
2277
2277
  return !1;
2278
2278
  })(), ca = (n, e, t, i) => {
2279
2279
  t && t.map(([s, r, o]) => {
2280
- const a = Jc(n, s), l = Kc(e, o), c = eu(s);
2280
+ const a = eu(n, s), l = Jc(e, o), c = tu(s);
2281
2281
  Q.ael(a, r, l, c), (e.$rmListeners$ = e.$rmListeners$ || []).push(() => Q.rel(a, r, l, c));
2282
2282
  });
2283
- }, Kc = (n, e) => (t) => {
2283
+ }, Jc = (n, e) => (t) => {
2284
2284
  try {
2285
2285
  dt.lazyLoad || n.$hostElement$[e](t);
2286
2286
  } catch (i) {
2287
- nn(i);
2287
+ sn(i);
2288
2288
  }
2289
- }, Jc = (n, e) => e & 4 ? ve : e & 8 ? Xn : e & 16 ? ve.body : n, eu = (n) => Yc ? {
2289
+ }, eu = (n, e) => e & 4 ? ve : e & 8 ? Xn : e & 16 ? ve.body : n, tu = (n) => Qc ? {
2290
2290
  passive: (n & 1) !== 0,
2291
2291
  capture: (n & 2) !== 0
2292
2292
  } : (n & 2) !== 0, Wr = "http://www.w3.org/1999/xlink", Je = (n, e = "") => () => {
2293
- }, Gr = /* @__PURE__ */ new WeakMap(), tu = (n, e, t) => {
2294
- let i = In.get(n);
2295
- Xc && t ? (i = i || new CSSStyleSheet(), i.replace(e)) : i = e, In.set(n, i);
2296
- }, nu = (n, e, t, i) => {
2297
- let s = ua(e, t), r = In.get(s);
2293
+ }, Gr = /* @__PURE__ */ new WeakMap(), nu = (n, e, t) => {
2294
+ let i = Pn.get(n);
2295
+ Kc && t ? (i = i || new CSSStyleSheet(), i.replace(e)) : i = e, Pn.set(n, i);
2296
+ }, iu = (n, e, t, i) => {
2297
+ let s = ua(e, t), r = Pn.get(s);
2298
2298
  if (n = n.nodeType === 11 ? n : ve, r)
2299
2299
  if (typeof r == "string") {
2300
2300
  n = n.head || n;
@@ -2302,14 +2302,14 @@ const Xn = typeof window < "u" ? window : {}, ve = Xn.document || { head: {} },
2302
2302
  o || Gr.set(n, o = /* @__PURE__ */ new Set()), o.has(s) || (a = ve.createElement("style"), a.innerHTML = r, n.insertBefore(a, n.querySelector("link")), o && o.add(s));
2303
2303
  } else n.adoptedStyleSheets.includes(r) || (n.adoptedStyleSheets = [...n.adoptedStyleSheets, r]);
2304
2304
  return s;
2305
- }, iu = (n) => {
2306
- const e = n.$cmpMeta$, t = n.$hostElement$, i = e.$flags$, s = Je("attachStyles", e.$tagName$), r = nu(t.shadowRoot ? t.shadowRoot : t.getRootNode(), e, n.$modeName$);
2305
+ }, su = (n) => {
2306
+ const e = n.$cmpMeta$, t = n.$hostElement$, i = e.$flags$, s = Je("attachStyles", e.$tagName$), r = iu(t.shadowRoot ? t.shadowRoot : t.getRootNode(), e, n.$modeName$);
2307
2307
  i & 10 && (t["s-sc"] = r, t.classList.add(r + "-h"), i & 2 && t.classList.add(r + "-s")), s();
2308
- }, ua = (n, e) => "sc-" + (e && n.$flags$ & 32 ? n.$tagName$ + "-" + e : n.$tagName$), su = (n) => Ru.map((e) => e(n)).find((e) => !!e), Zr = {}, ru = "http://www.w3.org/2000/svg", ou = "http://www.w3.org/1999/xhtml", au = (n) => n != null, ps = (n) => (n = typeof n, n === "object" || n === "function"), mt = (n, e, ...t) => {
2308
+ }, ua = (n, e) => "sc-" + (e && n.$flags$ & 32 ? n.$tagName$ + "-" + e : n.$tagName$), ru = (n) => Iu.map((e) => e(n)).find((e) => !!e), Zr = {}, ou = "http://www.w3.org/2000/svg", au = "http://www.w3.org/1999/xhtml", lu = (n) => n != null, ps = (n) => (n = typeof n, n === "object" || n === "function"), mt = (n, e, ...t) => {
2309
2309
  let i = null, s = null, r = null, o = !1, a = !1, l = [];
2310
2310
  const c = (p) => {
2311
2311
  for (let d = 0; d < p.length; d++)
2312
- i = p[d], Array.isArray(i) ? c(i) : i != null && typeof i != "boolean" && ((o = typeof n != "function" && !ps(i)) && (i = String(i)), o && a ? l[l.length - 1].$text$ += i : l.push(o ? Ln(null, i) : i), a = o);
2312
+ i = p[d], Array.isArray(i) ? c(i) : i != null && typeof i != "boolean" && ((o = typeof n != "function" && !ps(i)) && (i = String(i)), o && a ? l[l.length - 1].$text$ += i : l.push(o ? Rn(null, i) : i), a = o);
2313
2313
  };
2314
2314
  if (c(t), e) {
2315
2315
  e.key && (s = e.key), e.name && (r = e.name);
@@ -2319,10 +2319,10 @@ const Xn = typeof window < "u" ? window : {}, ve = Xn.document || { head: {} },
2319
2319
  }
2320
2320
  }
2321
2321
  if (typeof n == "function")
2322
- return n(e === null ? {} : e, l, cu);
2323
- const u = Ln(n, null);
2322
+ return n(e === null ? {} : e, l, uu);
2323
+ const u = Rn(n, null);
2324
2324
  return u.$attrs$ = e, l.length > 0 && (u.$children$ = l), u.$key$ = s, u.$name$ = r, u;
2325
- }, Ln = (n, e) => {
2325
+ }, Rn = (n, e) => {
2326
2326
  const t = {
2327
2327
  $flags$: 0,
2328
2328
  $tag$: n,
@@ -2331,9 +2331,9 @@ const Xn = typeof window < "u" ? window : {}, ve = Xn.document || { head: {} },
2331
2331
  $children$: null
2332
2332
  };
2333
2333
  return t.$attrs$ = null, t.$key$ = null, t.$name$ = null, t;
2334
- }, fs = {}, lu = (n) => n && n.$tag$ === fs, cu = {
2334
+ }, fs = {}, cu = (n) => n && n.$tag$ === fs, uu = {
2335
2335
  forEach: (n, e) => n.map(Yr).forEach(e),
2336
- map: (n, e) => n.map(Yr).map(e).map(uu)
2336
+ map: (n, e) => n.map(Yr).map(e).map(hu)
2337
2337
  }, Yr = (n) => ({
2338
2338
  vattrs: n.$attrs$,
2339
2339
  vchildren: n.$children$,
@@ -2341,12 +2341,12 @@ const Xn = typeof window < "u" ? window : {}, ve = Xn.document || { head: {} },
2341
2341
  vname: n.$name$,
2342
2342
  vtag: n.$tag$,
2343
2343
  vtext: n.$text$
2344
- }), uu = (n) => {
2344
+ }), hu = (n) => {
2345
2345
  if (typeof n.vtag == "function") {
2346
2346
  const t = Object.assign({}, n.vattrs);
2347
2347
  return n.vkey && (t.key = n.vkey), n.vname && (t.name = n.vname), mt(n.vtag, t, ...n.vchildren || []);
2348
2348
  }
2349
- const e = Ln(n.vtag, n.vtext);
2349
+ const e = Rn(n.vtag, n.vtext);
2350
2350
  return e.$attrs$ = n.vattrs, e.$children$ = n.vchildren, e.$key$ = n.vkey, e.$name$ = n.vname, e;
2351
2351
  }, Qr = (n, e, t, i, s, r) => {
2352
2352
  if (t !== i) {
@@ -2380,13 +2380,13 @@ const Xn = typeof window < "u" ? window : {}, ve = Xn.document || { head: {} },
2380
2380
  a !== (a = a.replace(/^xlink\:?/, "")) && (e = a, c = !0), i == null || i === !1 ? (i !== !1 || n.getAttribute(e) === "") && (c ? n.removeAttributeNS(Wr, e) : n.removeAttribute(e)) : (!o || r & 4 || s) && !l && (i = i === !0 ? "" : i, c ? n.setAttributeNS(Wr, e, i) : n.setAttribute(e, i));
2381
2381
  }
2382
2382
  }
2383
- }, hu = /\s/, Xr = (n) => n ? n.split(hu) : [], ha = (n, e, t, i) => {
2383
+ }, du = /\s/, Xr = (n) => n ? n.split(du) : [], ha = (n, e, t, i) => {
2384
2384
  const s = e.$elm$.nodeType === 11 && e.$elm$.host ? e.$elm$.host : e.$elm$, r = n && n.$attrs$ || Zr, o = e.$attrs$ || Zr;
2385
2385
  for (i in r)
2386
2386
  i in o || Qr(s, i, r[i], void 0, t, e.$flags$);
2387
2387
  for (i in o)
2388
2388
  Qr(s, i, r[i], o[i], t, e.$flags$);
2389
- }, Rn = (n, e, t, i) => {
2389
+ }, In = (n, e, t, i) => {
2390
2390
  let s = e.$children$[t], r = 0, o, a, l;
2391
2391
  if (aa || (ds = !0, s.$tag$ === "slot" && (pt && i.classList.add(pt + "-s"), s.$flags$ |= s.$children$ ? (
2392
2392
  // slot element has fallback content
@@ -2399,9 +2399,9 @@ const Xn = typeof window < "u" ? window : {}, ve = Xn.document || { head: {} },
2399
2399
  else if (s.$flags$ & 1)
2400
2400
  o = s.$elm$ = ve.createTextNode("");
2401
2401
  else {
2402
- if (te || (te = s.$tag$ === "svg"), o = s.$elm$ = ve.createElementNS(te ? ru : ou, s.$flags$ & 2 ? "slot-fb" : s.$tag$), te && s.$tag$ === "foreignObject" && (te = !1), ha(null, s, te), au(pt) && o["s-si"] !== pt && o.classList.add(o["s-si"] = pt), s.$children$)
2402
+ if (te || (te = s.$tag$ === "svg"), o = s.$elm$ = ve.createElementNS(te ? ou : au, s.$flags$ & 2 ? "slot-fb" : s.$tag$), te && s.$tag$ === "foreignObject" && (te = !1), ha(null, s, te), lu(pt) && o["s-si"] !== pt && o.classList.add(o["s-si"] = pt), s.$children$)
2403
2403
  for (r = 0; r < s.$children$.length; ++r)
2404
- a = Rn(n, s, r, o), a && o.appendChild(a);
2404
+ a = In(n, s, r, o), a && o.appendChild(a);
2405
2405
  s.$tag$ === "svg" ? te = !1 : o.tagName === "foreignObject" && (te = !0);
2406
2406
  }
2407
2407
  return o["s-hn"] = Qn, s.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] = oa, o["s-sn"] = s.$name$ || "", l = n && n.$children$ && n.$children$[t], l && l.$tag$ === s.$tag$ && n.$elm$ && Gt(n.$elm$, !1)), o;
@@ -2416,11 +2416,11 @@ const Xn = typeof window < "u" ? window : {}, ve = Xn.document || { head: {} },
2416
2416
  }, da = (n, e, t, i, s, r) => {
2417
2417
  let o = n["s-cr"] && n["s-cr"].parentNode || n, a;
2418
2418
  for (o.shadowRoot && o.tagName === Qn && (o = o.shadowRoot); s <= r; ++s)
2419
- i[s] && (a = Rn(null, t, s, n), a && (i[s].$elm$ = a, o.insertBefore(a, gs(e))));
2419
+ i[s] && (a = In(null, t, s, n), a && (i[s].$elm$ = a, o.insertBefore(a, gs(e))));
2420
2420
  }, pa = (n, e, t, i, s) => {
2421
2421
  for (; e <= t; ++e)
2422
- (i = n[e]) && (s = i.$elm$, va(i), On = !0, s["s-ol"] ? s["s-ol"].remove() : Gt(s, !0), s.remove());
2423
- }, du = (n, e, t, i) => {
2422
+ (i = n[e]) && (s = i.$elm$, va(i), Ln = !0, s["s-ol"] ? s["s-ol"].remove() : Gt(s, !0), s.remove());
2423
+ }, pu = (n, e, t, i) => {
2424
2424
  let s = 0, r = 0, o = 0, a = 0, l = e.length - 1, c = e[0], u = e[l], p = i.length - 1, d = i[0], g = i[p], m, $;
2425
2425
  for (; s <= l && r <= p; )
2426
2426
  if (c == null)
@@ -2431,13 +2431,13 @@ const Xn = typeof window < "u" ? window : {}, ve = Xn.document || { head: {} },
2431
2431
  d = i[++r];
2432
2432
  else if (g == null)
2433
2433
  g = i[--p];
2434
- else if (mn(c, d))
2434
+ else if (vn(c, d))
2435
2435
  ft(c, d), c = e[++s], d = i[++r];
2436
- else if (mn(u, g))
2436
+ else if (vn(u, g))
2437
2437
  ft(u, g), u = e[--l], g = i[--p];
2438
- else if (mn(c, g))
2438
+ else if (vn(c, g))
2439
2439
  (c.$tag$ === "slot" || g.$tag$ === "slot") && Gt(c.$elm$.parentNode, !1), ft(c, g), n.insertBefore(c.$elm$, u.$elm$.nextSibling), c = e[++s], g = i[--p];
2440
- else if (mn(u, d))
2440
+ else if (vn(u, d))
2441
2441
  (c.$tag$ === "slot" || g.$tag$ === "slot") && Gt(u.$elm$.parentNode, !1), ft(u, d), n.insertBefore(u.$elm$, c.$elm$), u = e[--l], d = i[++r];
2442
2442
  else {
2443
2443
  for (o = -1, a = s; a <= l; ++a)
@@ -2445,13 +2445,13 @@ const Xn = typeof window < "u" ? window : {}, ve = Xn.document || { head: {} },
2445
2445
  o = a;
2446
2446
  break;
2447
2447
  }
2448
- o >= 0 ? ($ = e[o], $.$tag$ !== d.$tag$ ? m = Rn(e && e[r], t, o, n) : (ft($, d), e[o] = void 0, m = $.$elm$), d = i[++r]) : (m = Rn(e && e[r], t, r, n), d = i[++r]), m && fa(c.$elm$).insertBefore(m, gs(c.$elm$));
2448
+ o >= 0 ? ($ = e[o], $.$tag$ !== d.$tag$ ? m = In(e && e[r], t, o, n) : (ft($, d), e[o] = void 0, m = $.$elm$), d = i[++r]) : (m = In(e && e[r], t, r, n), d = i[++r]), m && fa(c.$elm$).insertBefore(m, gs(c.$elm$));
2449
2449
  }
2450
2450
  s > l ? da(n, i[p + 1] == null ? null : i[p + 1].$elm$, t, i, r, p) : r > p && pa(e, s, l);
2451
- }, mn = (n, e) => n.$tag$ === e.$tag$ ? n.$tag$ === "slot" ? n.$name$ === e.$name$ : n.$key$ === e.$key$ : !1, gs = (n) => n && n["s-ol"] || n, fa = (n) => (n["s-ol"] ? n["s-ol"] : n).parentNode, ft = (n, e) => {
2451
+ }, vn = (n, e) => n.$tag$ === e.$tag$ ? n.$tag$ === "slot" ? n.$name$ === e.$name$ : n.$key$ === e.$key$ : !1, gs = (n) => n && n["s-ol"] || n, fa = (n) => (n["s-ol"] ? n["s-ol"] : n).parentNode, ft = (n, e) => {
2452
2452
  const t = e.$elm$ = n.$elm$, i = n.$children$, s = e.$children$, r = e.$tag$, o = e.$text$;
2453
2453
  let a;
2454
- o === null ? (te = r === "svg" ? !0 : r === "foreignObject" ? !1 : te, r === "slot" || ha(n, e, te), i !== null && s !== null ? du(t, i, e, s) : s !== null ? (n.$text$ !== null && (t.textContent = ""), da(t, null, e, s, 0, s.length - 1)) : i !== null && pa(i, 0, i.length - 1), te && r === "svg" && (te = !1)) : (a = t["s-cr"]) ? a.parentNode.textContent = o : n.$text$ !== o && (t.data = o);
2454
+ o === null ? (te = r === "svg" ? !0 : r === "foreignObject" ? !1 : te, r === "slot" || ha(n, e, te), i !== null && s !== null ? pu(t, i, e, s) : s !== null ? (n.$text$ !== null && (t.textContent = ""), da(t, null, e, s, 0, s.length - 1)) : i !== null && pa(i, 0, i.length - 1), te && r === "svg" && (te = !1)) : (a = t["s-cr"]) ? a.parentNode.textContent = o : n.$text$ !== o && (t.data = o);
2455
2455
  }, ga = (n) => {
2456
2456
  let e = n.childNodes, t, i, s, r, o, a;
2457
2457
  for (i = 0, s = e.length; i < s; i++)
@@ -2470,34 +2470,34 @@ const Xn = typeof window < "u" ? window : {}, ve = Xn.document || { head: {} },
2470
2470
  }
2471
2471
  ga(t);
2472
2472
  }
2473
- }, le = [], ma = (n) => {
2473
+ }, ce = [], ma = (n) => {
2474
2474
  let e, t, i, s, r, o, a = 0, l = n.childNodes, c = l.length;
2475
2475
  for (; a < c; a++) {
2476
2476
  if (e = l[a], e["s-sr"] && (t = e["s-cr"]) && t.parentNode)
2477
2477
  for (i = t.parentNode.childNodes, s = e["s-sn"], o = i.length - 1; o >= 0; o--)
2478
- t = i[o], !t["s-cn"] && !t["s-nr"] && t["s-hn"] !== e["s-hn"] && (Kr(t, s) ? (r = le.find((u) => u.$nodeToRelocate$ === t), On = !0, t["s-sn"] = t["s-sn"] || s, r ? r.$slotRefNode$ = e : le.push({
2478
+ t = i[o], !t["s-cn"] && !t["s-nr"] && t["s-hn"] !== e["s-hn"] && (Kr(t, s) ? (r = ce.find((u) => u.$nodeToRelocate$ === t), Ln = !0, t["s-sn"] = t["s-sn"] || s, r ? r.$slotRefNode$ = e : ce.push({
2479
2479
  $slotRefNode$: e,
2480
2480
  $nodeToRelocate$: t
2481
- }), t["s-sr"] && le.map((u) => {
2482
- Kr(u.$nodeToRelocate$, t["s-sn"]) && (r = le.find((p) => p.$nodeToRelocate$ === t), r && !u.$slotRefNode$ && (u.$slotRefNode$ = r.$slotRefNode$));
2483
- })) : le.some((u) => u.$nodeToRelocate$ === t) || le.push({
2481
+ }), t["s-sr"] && ce.map((u) => {
2482
+ Kr(u.$nodeToRelocate$, t["s-sn"]) && (r = ce.find((p) => p.$nodeToRelocate$ === t), r && !u.$slotRefNode$ && (u.$slotRefNode$ = r.$slotRefNode$));
2483
+ })) : ce.some((u) => u.$nodeToRelocate$ === t) || ce.push({
2484
2484
  $nodeToRelocate$: t
2485
2485
  }));
2486
2486
  e.nodeType === 1 && ma(e);
2487
2487
  }
2488
2488
  }, Kr = (n, e) => n.nodeType === 1 ? n.getAttribute("slot") === null && e === "" || n.getAttribute("slot") === e : n["s-sn"] === e ? !0 : e === "", va = (n) => {
2489
2489
  n.$attrs$ && n.$attrs$.ref && n.$attrs$.ref(null), n.$children$ && n.$children$.map(va);
2490
- }, pu = (n, e) => {
2491
- const t = n.$hostElement$, i = n.$cmpMeta$, s = n.$vnode$ || Ln(null, null), r = lu(e) ? e : mt(null, null, e);
2492
- Qn = t.tagName, i.$attrsToReflect$ && (r.$attrs$ = r.$attrs$ || {}, i.$attrsToReflect$.map(([o, a]) => r.$attrs$[a] = t[o])), r.$tag$ = null, r.$flags$ |= 4, n.$vnode$ = r, r.$elm$ = s.$elm$ = t.shadowRoot || t, pt = t["s-sc"], oa = t["s-cr"], aa = (i.$flags$ & 1) !== 0, On = !1, ft(s, r);
2490
+ }, fu = (n, e) => {
2491
+ const t = n.$hostElement$, i = n.$cmpMeta$, s = n.$vnode$ || Rn(null, null), r = cu(e) ? e : mt(null, null, e);
2492
+ Qn = t.tagName, i.$attrsToReflect$ && (r.$attrs$ = r.$attrs$ || {}, i.$attrsToReflect$.map(([o, a]) => r.$attrs$[a] = t[o])), r.$tag$ = null, r.$flags$ |= 4, n.$vnode$ = r, r.$elm$ = s.$elm$ = t.shadowRoot || t, pt = t["s-sc"], oa = t["s-cr"], aa = (i.$flags$ & 1) !== 0, Ln = !1, ft(s, r);
2493
2493
  {
2494
2494
  if (Q.$flags$ |= 1, ds) {
2495
2495
  ma(r.$elm$);
2496
2496
  let o, a, l, c, u, p, d = 0;
2497
- for (; d < le.length; d++)
2498
- o = le[d], a = o.$nodeToRelocate$, a["s-ol"] || (l = ve.createTextNode(""), l["s-nr"] = a, a.parentNode.insertBefore(a["s-ol"] = l, a));
2499
- for (d = 0; d < le.length; d++)
2500
- if (o = le[d], a = o.$nodeToRelocate$, o.$slotRefNode$) {
2497
+ for (; d < ce.length; d++)
2498
+ o = ce[d], a = o.$nodeToRelocate$, a["s-ol"] || (l = ve.createTextNode(""), l["s-nr"] = a, a.parentNode.insertBefore(a["s-ol"] = l, a));
2499
+ for (d = 0; d < ce.length; d++)
2500
+ if (o = ce[d], a = o.$nodeToRelocate$, o.$slotRefNode$) {
2501
2501
  for (c = o.$slotRefNode$.parentNode, u = o.$slotRefNode$.nextSibling, l = a["s-ol"]; l = l.previousSibling; )
2502
2502
  if (p = l["s-nr"], p && p["s-sn"] === a["s-sn"] && c === p.parentNode && (p = p.nextSibling, !p || !p["s-nr"])) {
2503
2503
  u = p;
@@ -2507,39 +2507,39 @@ const Xn = typeof window < "u" ? window : {}, ve = Xn.document || { head: {} },
2507
2507
  } else
2508
2508
  a.nodeType === 1 && (a.hidden = !0);
2509
2509
  }
2510
- On && ga(r.$elm$), Q.$flags$ &= -2, le.length = 0;
2510
+ Ln && ga(r.$elm$), Q.$flags$ &= -2, ce.length = 0;
2511
2511
  }
2512
- }, fu = (n) => n, gu = (n, e, t) => {
2513
- const i = fu(n);
2512
+ }, gu = (n) => n, mu = (n, e, t) => {
2513
+ const i = gu(n);
2514
2514
  return {
2515
- emit: (s) => mu(i, e, {
2515
+ emit: (s) => vu(i, e, {
2516
2516
  bubbles: !0,
2517
2517
  composed: !0,
2518
2518
  cancelable: !0,
2519
2519
  detail: s
2520
2520
  })
2521
2521
  };
2522
- }, mu = (n, e, t) => {
2522
+ }, vu = (n, e, t) => {
2523
2523
  const i = Q.ce(e, t);
2524
2524
  return n.dispatchEvent(i), i;
2525
- }, vu = (n, e) => {
2526
- }, ba = (n, e) => (n.$flags$ |= 16, vu(n, n.$ancestorComponent$), Mu(() => bu(n, e))), bu = (n, e) => {
2525
+ }, bu = (n, e) => {
2526
+ }, ba = (n, e) => (n.$flags$ |= 16, bu(n, n.$ancestorComponent$), Uu(() => yu(n, e))), yu = (n, e) => {
2527
2527
  const t = n.$hostElement$, i = Je("scheduleUpdate", n.$cmpMeta$.$tagName$), s = t;
2528
2528
  let r;
2529
- return e ? r = vt(s, "componentWillLoad") : r = vt(s, "componentWillUpdate"), r = Jr(r, () => vt(s, "componentWillRender")), i(), Jr(r, () => yu(n, s, e));
2530
- }, yu = async (n, e, t) => {
2529
+ return e ? r = vt(s, "componentWillLoad") : r = vt(s, "componentWillUpdate"), r = Jr(r, () => vt(s, "componentWillRender")), i(), Jr(r, () => $u(n, s, e));
2530
+ }, $u = async (n, e, t) => {
2531
2531
  const i = n.$hostElement$, s = Je("update", n.$cmpMeta$.$tagName$);
2532
- i["s-rc"], t && iu(n);
2532
+ i["s-rc"], t && su(n);
2533
2533
  const r = Je("render", n.$cmpMeta$.$tagName$);
2534
- $u(n, e, i), r(), s(), wu(n);
2535
- }, $u = (n, e, t) => {
2534
+ wu(n, e, i), r(), s(), xu(n);
2535
+ }, wu = (n, e, t) => {
2536
2536
  try {
2537
- Vr = e, e = e.render && e.render(), n.$flags$ &= -17, n.$flags$ |= 2, (dt.hasRenderFn || dt.reflect) && (dt.vdomRender || dt.reflect) && (dt.hydrateServerSide || pu(n, e));
2537
+ Vr = e, e = e.render && e.render(), n.$flags$ &= -17, n.$flags$ |= 2, (dt.hasRenderFn || dt.reflect) && (dt.vdomRender || dt.reflect) && (dt.hydrateServerSide || fu(n, e));
2538
2538
  } catch (a) {
2539
- nn(a, n.$hostElement$);
2539
+ sn(a, n.$hostElement$);
2540
2540
  }
2541
2541
  return Vr = null, null;
2542
- }, wu = (n) => {
2542
+ }, xu = (n) => {
2543
2543
  const e = n.$cmpMeta$.$tagName$, t = n.$hostElement$, i = Je("postUpdate", e), s = t;
2544
2544
  n.$ancestorComponent$, vt(s, "componentDidRender"), n.$flags$ & 64 ? (vt(s, "componentDidUpdate"), i()) : (n.$flags$ |= 64, vt(s, "componentDidLoad"), i());
2545
2545
  }, vt = (n, e, t) => {
@@ -2547,11 +2547,11 @@ const Xn = typeof window < "u" ? window : {}, ve = Xn.document || { head: {} },
2547
2547
  try {
2548
2548
  return n[e](t);
2549
2549
  } catch (i) {
2550
- nn(i);
2550
+ sn(i);
2551
2551
  }
2552
- }, Jr = (n, e) => n && n.then ? n.then(e) : e(), xu = (n, e) => n != null && !ps(n) ? e & 4 ? n === "false" ? !1 : n === "" || !!n : e & 2 ? parseFloat(n) : e & 1 ? String(n) : n : n, ku = (n, e) => Kn(n).$instanceValues$.get(e), Su = (n, e, t, i) => {
2552
+ }, Jr = (n, e) => n && n.then ? n.then(e) : e(), ku = (n, e) => n != null && !ps(n) ? e & 4 ? n === "false" ? !1 : n === "" || !!n : e & 2 ? parseFloat(n) : e & 1 ? String(n) : n : n, Su = (n, e) => Kn(n).$instanceValues$.get(e), Cu = (n, e, t, i) => {
2553
2553
  const s = Kn(n), r = n, o = s.$instanceValues$.get(e), a = s.$flags$, l = r;
2554
- t = xu(t, i.$members$[e][0]);
2554
+ t = ku(t, i.$members$[e][0]);
2555
2555
  const c = Number.isNaN(o) && Number.isNaN(t);
2556
2556
  if (t !== o && !c) {
2557
2557
  s.$instanceValues$.set(e, t);
@@ -2562,7 +2562,7 @@ const Xn = typeof window < "u" ? window : {}, ve = Xn.document || { head: {} },
2562
2562
  try {
2563
2563
  l[d](t, o, e);
2564
2564
  } catch (g) {
2565
- nn(g, r);
2565
+ sn(g, r);
2566
2566
  }
2567
2567
  });
2568
2568
  }
@@ -2573,17 +2573,17 @@ const Xn = typeof window < "u" ? window : {}, ve = Xn.document || { head: {} },
2573
2573
  }
2574
2574
  }
2575
2575
  }
2576
- }, Cu = (n, e, t) => {
2576
+ }, Eu = (n, e, t) => {
2577
2577
  if (e.$members$) {
2578
2578
  n.watchers && (e.$watchers$ = n.watchers);
2579
2579
  const i = Object.entries(e.$members$), s = n.prototype;
2580
2580
  i.map(([r, [o]]) => {
2581
2581
  (o & 31 || o & 32) && Object.defineProperty(s, r, {
2582
2582
  get() {
2583
- return ku(this, r);
2583
+ return Su(this, r);
2584
2584
  },
2585
2585
  set(a) {
2586
- Su(this, r, a, e);
2586
+ Cu(this, r, a, e);
2587
2587
  },
2588
2588
  configurable: !0,
2589
2589
  enumerable: !0
@@ -2610,32 +2610,32 @@ const Xn = typeof window < "u" ? window : {}, ve = Xn.document || { head: {} },
2610
2610
  }
2611
2611
  }
2612
2612
  return n;
2613
- }, Eu = async (n, e, t, i, s) => {
2613
+ }, _u = async (n, e, t, i, s) => {
2614
2614
  if ((e.$flags$ & 32) === 0 && (s = n.constructor, e.$flags$ |= 32, customElements.whenDefined(t.$tagName$).then(() => e.$flags$ |= 128), s.style)) {
2615
2615
  let o = s.style;
2616
- typeof o != "string" && (o = o[e.$modeName$ = su(n)]);
2616
+ typeof o != "string" && (o = o[e.$modeName$ = ru(n)]);
2617
2617
  const a = ua(t, e.$modeName$);
2618
- if (!In.has(a)) {
2618
+ if (!Pn.has(a)) {
2619
2619
  const l = Je("registerStyles", t.$tagName$);
2620
- tu(a, o, !!(t.$flags$ & 1)), l();
2620
+ nu(a, o, !!(t.$flags$ & 1)), l();
2621
2621
  }
2622
2622
  }
2623
2623
  e.$ancestorComponent$, ba(e, !0);
2624
- }, _u = (n) => {
2624
+ }, Au = (n) => {
2625
2625
  }, Tu = (n) => {
2626
2626
  if ((Q.$flags$ & 1) === 0) {
2627
2627
  const e = Kn(n), t = e.$cmpMeta$, i = Je("connectedCallback", t.$tagName$);
2628
- e.$flags$ & 1 ? (ca(n, e, t.$listeners$), _u(e.$lazyInstance$)) : (e.$flags$ |= 1, t.$flags$ & 12 && Au(n), t.$members$ && Object.entries(t.$members$).map(([s, [r]]) => {
2628
+ e.$flags$ & 1 ? (ca(n, e, t.$listeners$), Au(e.$lazyInstance$)) : (e.$flags$ |= 1, t.$flags$ & 12 && Ou(n), t.$members$ && Object.entries(t.$members$).map(([s, [r]]) => {
2629
2629
  if (r & 31 && n.hasOwnProperty(s)) {
2630
2630
  const o = n[s];
2631
2631
  delete n[s], n[s] = o;
2632
2632
  }
2633
- }), Eu(n, e, t)), i();
2633
+ }), _u(n, e, t)), i();
2634
2634
  }
2635
- }, Au = (n) => {
2635
+ }, Ou = (n) => {
2636
2636
  const e = n["s-cr"] = ve.createComment("");
2637
2637
  e["s-cn"] = !0, n.insertBefore(e, n.firstChild);
2638
- }, Ou = (n) => {
2638
+ }, Lu = (n) => {
2639
2639
  if ((Q.$flags$ & 1) === 0) {
2640
2640
  const e = Kn(n);
2641
2641
  e.$rmListeners$ && (e.$rmListeners$.map((t) => t()), e.$rmListeners$ = void 0);
@@ -2649,13 +2649,13 @@ const Xn = typeof window < "u" ? window : {}, ve = Xn.document || { head: {} },
2649
2649
  const i = n.prototype.connectedCallback, s = n.prototype.disconnectedCallback;
2650
2650
  return Object.assign(n.prototype, {
2651
2651
  __registerHost() {
2652
- Lu(this, t);
2652
+ Ru(this, t);
2653
2653
  },
2654
2654
  connectedCallback() {
2655
2655
  Tu(this), i && i.call(this);
2656
2656
  },
2657
2657
  disconnectedCallback() {
2658
- Ou(this), s && s.call(this);
2658
+ Lu(this), s && s.call(this);
2659
2659
  },
2660
2660
  __attachShadow() {
2661
2661
  this.attachShadow({
@@ -2663,8 +2663,8 @@ const Xn = typeof window < "u" ? window : {}, ve = Xn.document || { head: {} },
2663
2663
  delegatesFocus: !!(t.$flags$ & 16)
2664
2664
  });
2665
2665
  }
2666
- }), n.is = t.$tagName$, Cu(n, t);
2667
- }, $a = /* @__PURE__ */ new WeakMap(), Kn = (n) => $a.get(n), Lu = (n, e) => {
2666
+ }), n.is = t.$tagName$, Eu(n, t);
2667
+ }, $a = /* @__PURE__ */ new WeakMap(), Kn = (n) => $a.get(n), Ru = (n, e) => {
2668
2668
  const t = {
2669
2669
  $flags$: 0,
2670
2670
  $hostElement$: n,
@@ -2672,19 +2672,19 @@ const Xn = typeof window < "u" ? window : {}, ve = Xn.document || { head: {} },
2672
2672
  $instanceValues$: /* @__PURE__ */ new Map()
2673
2673
  };
2674
2674
  return ca(n, t, e.$listeners$), $a.set(n, t);
2675
- }, eo = (n, e) => e in n, nn = (n, e) => (0, console.error)(n, e), In = /* @__PURE__ */ new Map(), Ru = [], to = [], wa = [], Iu = (n, e) => (t) => {
2676
- n.push(t), Fi || (Fi = !0, e && Q.$flags$ & 4 ? Pu(ji) : Q.raf(ji));
2675
+ }, eo = (n, e) => e in n, sn = (n, e) => (0, console.error)(n, e), Pn = /* @__PURE__ */ new Map(), Iu = [], to = [], wa = [], Pu = (n, e) => (t) => {
2676
+ n.push(t), Fi || (Fi = !0, e && Q.$flags$ & 4 ? Mu(ji) : Q.raf(ji));
2677
2677
  }, no = (n) => {
2678
2678
  for (let e = 0; e < n.length; e++)
2679
2679
  try {
2680
2680
  n[e](performance.now());
2681
2681
  } catch (t) {
2682
- nn(t);
2682
+ sn(t);
2683
2683
  }
2684
2684
  n.length = 0;
2685
2685
  }, ji = () => {
2686
2686
  no(to), no(wa), (Fi = to.length > 0) && Q.raf(ji);
2687
- }, Pu = (n) => Qc().then(n), Mu = /* @__PURE__ */ Iu(wa, !0), Uu = (n = {}) => {
2687
+ }, Mu = (n) => Xc().then(n), Uu = /* @__PURE__ */ Pu(wa, !0), Nu = (n = {}) => {
2688
2688
  const { content: e = "", title: t, attributes: i = [] } = n;
2689
2689
  let s = "", r = [
2690
2690
  { name: "xmlns", value: "http://www.w3.org/2000/svg" },
@@ -2692,27 +2692,27 @@ const Xn = typeof window < "u" ? window : {}, ve = Xn.document || { head: {} },
2692
2692
  ...i
2693
2693
  ];
2694
2694
  return t && (s = `<title>${t}</title>`), `<svg ${r.map((a) => `${a.name}="${a.value}"`).join(" ")}>${s}${e}</svg>`;
2695
- }, Nu = (n) => n.replace(/<(\/?)svg([^>]*)>/g, "").trim();
2696
- function Du(n) {
2695
+ }, Du = (n) => n.replace(/<(\/?)svg([^>]*)>/g, "").trim();
2696
+ function zu(n) {
2697
2697
  return `${n.getFullYear()}.${n.getMonth() + 1}`;
2698
2698
  }
2699
- class zu {
2699
+ class Hu {
2700
2700
  constructor(e) {
2701
- this.voca_component = e, this.voca_added = Du(/* @__PURE__ */ new Date());
2701
+ this.voca_component = e, this.voca_added = zu(/* @__PURE__ */ new Date());
2702
2702
  }
2703
2703
  }
2704
- const Hu = "telia-vst{display:none}", Fu = /* @__PURE__ */ ya(class extends la {
2704
+ const Fu = "telia-vst{display:none}", ju = /* @__PURE__ */ ya(class extends la {
2705
2705
  constructor() {
2706
- super(), this.__registerHost(), this.vocaInternalUStats = gu(this, "vocaInternalUStats");
2706
+ super(), this.__registerHost(), this.vocaInternalUStats = mu(this, "vocaInternalUStats");
2707
2707
  }
2708
2708
  connectedCallback() {
2709
- this.vocaInternalUStats.emit(new zu(this.dataTrackingId));
2709
+ this.vocaInternalUStats.emit(new Hu(this.dataTrackingId));
2710
2710
  }
2711
2711
  render() {
2712
2712
  return mt(fs, null);
2713
2713
  }
2714
2714
  static get style() {
2715
- return Hu;
2715
+ return Fu;
2716
2716
  }
2717
2717
  }, [0, "telia-vst", {
2718
2718
  dataTrackingId: [1, "data-tracking-id"]
@@ -2723,7 +2723,7 @@ function xa() {
2723
2723
  ["telia-vst"].forEach((e) => {
2724
2724
  switch (e) {
2725
2725
  case "telia-vst":
2726
- customElements.get(e) || customElements.define(e, Fu);
2726
+ customElements.get(e) || customElements.define(e, ju);
2727
2727
  break;
2728
2728
  }
2729
2729
  });
@@ -2732,14 +2732,14 @@ xa();
2732
2732
  function Bi() {
2733
2733
  return typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : { vocadsIcons: void 0, vocadsIconsRegistered: !1 };
2734
2734
  }
2735
- function ju() {
2735
+ function Bu() {
2736
2736
  if (typeof Bi().vocadsIcons !== void 0)
2737
2737
  return Bi().vocadsIcons;
2738
2738
  }
2739
- function Bu() {
2739
+ function qu() {
2740
2740
  return Bi().vocadsIconsRegistered;
2741
2741
  }
2742
- const qu = ".telia-icon{display:inline-block}.telia-icon__container{display:block;height:inherit}.telia-icon svg{display:block}.telia-icon--sm{height:calc(1.6rem * var(--voca-rem-multiplier));min-width:calc(1.6rem * var(--voca-rem-multiplier));width:calc(1.6rem * var(--voca-rem-multiplier))}.telia-icon--md{height:calc(2.4rem * var(--voca-rem-multiplier));min-width:calc(2.4rem * var(--voca-rem-multiplier));width:calc(2.4rem * var(--voca-rem-multiplier))}.telia-icon--lg{height:calc(3.2rem * var(--voca-rem-multiplier));min-width:calc(3.2rem * var(--voca-rem-multiplier));width:calc(3.2rem * var(--voca-rem-multiplier))}", Vu = /* @__PURE__ */ ya(class extends la {
2742
+ const Vu = ".telia-icon{display:inline-block}.telia-icon__container{display:block;height:inherit}.telia-icon svg{display:block}.telia-icon--sm{height:calc(1.6rem * var(--voca-rem-multiplier));min-width:calc(1.6rem * var(--voca-rem-multiplier));width:calc(1.6rem * var(--voca-rem-multiplier))}.telia-icon--md{height:calc(2.4rem * var(--voca-rem-multiplier));min-width:calc(2.4rem * var(--voca-rem-multiplier));width:calc(2.4rem * var(--voca-rem-multiplier))}.telia-icon--lg{height:calc(3.2rem * var(--voca-rem-multiplier));min-width:calc(3.2rem * var(--voca-rem-multiplier));width:calc(3.2rem * var(--voca-rem-multiplier))}", Wu = /* @__PURE__ */ ya(class extends la {
2743
2743
  constructor() {
2744
2744
  super(), this.__registerHost(), this.size = "md", this.allyTitle = null, this.dataTrackingId = "telia-icon";
2745
2745
  }
@@ -2751,8 +2751,8 @@ const qu = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
2751
2751
  getSvgString() {
2752
2752
  if (this.svg)
2753
2753
  return this.svg;
2754
- if (Bu() && this.name) {
2755
- const n = ju();
2754
+ if (qu() && this.name) {
2755
+ const n = Bu();
2756
2756
  return n[this.name] ? n[this.name].svg : "";
2757
2757
  }
2758
2758
  return this.name && console.warn(this.name, "Icons bundle is not registered and will not be rendered. Check if you have registered icons bundle or use svg property"), "";
@@ -2763,15 +2763,15 @@ const qu = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
2763
2763
  ...e,
2764
2764
  { name: "aria-hidden", value: "true" }
2765
2765
  ];
2766
- const t = Uu({
2767
- content: Nu(n),
2766
+ const t = Nu({
2767
+ content: Du(n),
2768
2768
  attributes: e,
2769
2769
  title: this.allyTitle
2770
2770
  });
2771
2771
  return mt(fs, { class: `telia-icon telia-icon--${this.size}` }, mt("span", { "aria-label": this.allyTitle, class: "telia-icon__container", innerHTML: t }), mt("telia-vst", { dataTrackingId: this.dataTrackingId }));
2772
2772
  }
2773
2773
  static get style() {
2774
- return qu;
2774
+ return Vu;
2775
2775
  }
2776
2776
  }, [0, "telia-icon", {
2777
2777
  name: [1],
@@ -2780,13 +2780,13 @@ const qu = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
2780
2780
  allyTitle: [1, "ally-title"],
2781
2781
  dataTestid: [1, "data-testid"]
2782
2782
  }]);
2783
- function Wu() {
2783
+ function Gu() {
2784
2784
  if (typeof customElements > "u")
2785
2785
  return;
2786
2786
  ["telia-icon", "telia-vst"].forEach((e) => {
2787
2787
  switch (e) {
2788
2788
  case "telia-icon":
2789
- customElements.get(e) || customElements.define(e, Vu);
2789
+ customElements.get(e) || customElements.define(e, Wu);
2790
2790
  break;
2791
2791
  case "telia-vst":
2792
2792
  customElements.get(e) || xa();
@@ -2794,13 +2794,13 @@ function Wu() {
2794
2794
  }
2795
2795
  });
2796
2796
  }
2797
- Wu();
2797
+ Gu();
2798
2798
  /**
2799
2799
  * @license
2800
2800
  * Copyright 2017 Google LLC
2801
2801
  * SPDX-License-Identifier: BSD-3-Clause
2802
2802
  */
2803
- const Gu = { attribute: !0, type: String, converter: Tn, reflect: !1, hasChanged: cs }, Zu = (n = Gu, e, t) => {
2803
+ const Zu = { attribute: !0, type: String, converter: Tn, reflect: !1, hasChanged: cs }, Yu = (n = Zu, e, t) => {
2804
2804
  const { kind: i, metadata: s } = t;
2805
2805
  let r = globalThis.litPropertyMetadata.get(s);
2806
2806
  if (r === void 0 && globalThis.litPropertyMetadata.set(s, r = /* @__PURE__ */ new Map()), i === "setter" && ((n = Object.create(n)).wrapped = !0), r.set(t.name, n), i === "accessor") {
@@ -2822,7 +2822,7 @@ const Gu = { attribute: !0, type: String, converter: Tn, reflect: !1, hasChanged
2822
2822
  throw Error("Unsupported decorator location: " + i);
2823
2823
  };
2824
2824
  function k(n) {
2825
- return (e, t) => typeof t == "object" ? Zu(n, e, t) : ((i, s, r) => {
2825
+ return (e, t) => typeof t == "object" ? Yu(n, e, t) : ((i, s, r) => {
2826
2826
  const o = s.hasOwnProperty(r);
2827
2827
  return s.constructor.createProperty(r, i), o ? Object.getOwnPropertyDescriptor(s, r) : void 0;
2828
2828
  })(n, e, t);
@@ -2840,13 +2840,13 @@ function O(n) {
2840
2840
  * Copyright 2020 Google LLC
2841
2841
  * SPDX-License-Identifier: BSD-3-Clause
2842
2842
  */
2843
- const Yu = (n) => n.strings === void 0;
2843
+ const Qu = (n) => n.strings === void 0;
2844
2844
  /**
2845
2845
  * @license
2846
2846
  * Copyright 2017 Google LLC
2847
2847
  * SPDX-License-Identifier: BSD-3-Clause
2848
2848
  */
2849
- const sn = { ATTRIBUTE: 1, CHILD: 2 }, rn = (n) => (...e) => ({ _$litDirective$: n, values: e });
2849
+ const rn = { ATTRIBUTE: 1, CHILD: 2 }, on = (n) => (...e) => ({ _$litDirective$: n, values: e });
2850
2850
  let Jn = class {
2851
2851
  constructor(e) {
2852
2852
  }
@@ -2874,7 +2874,7 @@ const Ft = (n, e) => {
2874
2874
  if (t === void 0) return !1;
2875
2875
  for (const s of t) (i = s._$AO) == null || i.call(s, e, !1), Ft(s, e);
2876
2876
  return !0;
2877
- }, Pn = (n) => {
2877
+ }, Mn = (n) => {
2878
2878
  let e, t;
2879
2879
  do {
2880
2880
  if ((e = n._$AM) === void 0) break;
@@ -2885,20 +2885,20 @@ const Ft = (n, e) => {
2885
2885
  let t = e._$AN;
2886
2886
  if (t === void 0) e._$AN = t = /* @__PURE__ */ new Set();
2887
2887
  else if (t.has(n)) break;
2888
- t.add(n), Ku(e);
2888
+ t.add(n), Ju(e);
2889
2889
  }
2890
2890
  };
2891
- function Qu(n) {
2892
- this._$AN !== void 0 ? (Pn(this), this._$AM = n, ka(this)) : this._$AM = n;
2891
+ function Xu(n) {
2892
+ this._$AN !== void 0 ? (Mn(this), this._$AM = n, ka(this)) : this._$AM = n;
2893
2893
  }
2894
- function Xu(n, e = !1, t = 0) {
2894
+ function Ku(n, e = !1, t = 0) {
2895
2895
  const i = this._$AH, s = this._$AN;
2896
- if (s !== void 0 && s.size !== 0) if (e) if (Array.isArray(i)) for (let r = t; r < i.length; r++) Ft(i[r], !1), Pn(i[r]);
2897
- else i != null && (Ft(i, !1), Pn(i));
2896
+ if (s !== void 0 && s.size !== 0) if (e) if (Array.isArray(i)) for (let r = t; r < i.length; r++) Ft(i[r], !1), Mn(i[r]);
2897
+ else i != null && (Ft(i, !1), Mn(i));
2898
2898
  else Ft(this, n);
2899
2899
  }
2900
- const Ku = (n) => {
2901
- n.type == sn.CHILD && (n._$AP ?? (n._$AP = Xu), n._$AQ ?? (n._$AQ = Qu));
2900
+ const Ju = (n) => {
2901
+ n.type == rn.CHILD && (n._$AP ?? (n._$AP = Ku), n._$AQ ?? (n._$AQ = Xu));
2902
2902
  };
2903
2903
  let Sa = class extends Jn {
2904
2904
  constructor() {
@@ -2909,10 +2909,10 @@ let Sa = class extends Jn {
2909
2909
  }
2910
2910
  _$AO(e, t = !0) {
2911
2911
  var i, s;
2912
- e !== this.isConnected && (this.isConnected = e, e ? (i = this.reconnected) == null || i.call(this) : (s = this.disconnected) == null || s.call(this)), t && (Ft(this, e), Pn(this));
2912
+ e !== this.isConnected && (this.isConnected = e, e ? (i = this.reconnected) == null || i.call(this) : (s = this.disconnected) == null || s.call(this)), t && (Ft(this, e), Mn(this));
2913
2913
  }
2914
2914
  setValue(e) {
2915
- if (Yu(this._$Ct)) this._$Ct._$AI(e, this);
2915
+ if (Qu(this._$Ct)) this._$Ct._$AI(e, this);
2916
2916
  else {
2917
2917
  const t = [...this._$Ct._$AH];
2918
2918
  t[this._$Ci] = e, this._$Ct._$AI(t, this, 0);
@@ -2928,10 +2928,10 @@ let Sa = class extends Jn {
2928
2928
  * Copyright 2020 Google LLC
2929
2929
  * SPDX-License-Identifier: BSD-3-Clause
2930
2930
  */
2931
- const ge = () => new Ju();
2932
- class Ju {
2931
+ const ge = () => new eh();
2932
+ class eh {
2933
2933
  }
2934
- const ki = /* @__PURE__ */ new WeakMap(), me = rn(class extends Sa {
2934
+ const ki = /* @__PURE__ */ new WeakMap(), me = on(class extends Sa {
2935
2935
  render(n) {
2936
2936
  return w;
2937
2937
  }
@@ -2963,10 +2963,10 @@ const ki = /* @__PURE__ */ new WeakMap(), me = rn(class extends Sa {
2963
2963
  * Copyright 2018 Google LLC
2964
2964
  * SPDX-License-Identifier: BSD-3-Clause
2965
2965
  */
2966
- const wt = rn(class extends Jn {
2966
+ const wt = on(class extends Jn {
2967
2967
  constructor(n) {
2968
2968
  var e;
2969
- if (super(n), n.type !== sn.ATTRIBUTE || n.name !== "class" || ((e = n.strings) == null ? void 0 : e.length) > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
2969
+ if (super(n), n.type !== rn.ATTRIBUTE || n.name !== "class" || ((e = n.strings) == null ? void 0 : e.length) > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
2970
2970
  }
2971
2971
  render(n) {
2972
2972
  return " " + Object.keys(n).filter(((e) => n[e])).join(" ") + " ";
@@ -2984,13 +2984,13 @@ const wt = rn(class extends Jn {
2984
2984
  const o = !!e[r];
2985
2985
  o === this.st.has(r) || (s = this.nt) != null && s.has(r) || (o ? (t.add(r), this.st.add(r)) : (t.remove(r), this.st.delete(r)));
2986
2986
  }
2987
- return Ae;
2987
+ return Te;
2988
2988
  }
2989
2989
  });
2990
- var eh = Object.defineProperty, th = (n, e, t, i) => {
2990
+ var th = Object.defineProperty, nh = (n, e, t, i) => {
2991
2991
  for (var s = void 0, r = n.length - 1, o; r >= 0; r--)
2992
2992
  (o = n[r]) && (s = o(e, t, s) || s);
2993
- return s && eh(e, t, s), s;
2993
+ return s && th(e, t, s), s;
2994
2994
  };
2995
2995
  const Ls = class Ls extends _ {
2996
2996
  constructor() {
@@ -3005,7 +3005,7 @@ const Ls = class Ls extends _ {
3005
3005
  }
3006
3006
  };
3007
3007
  Ls.styles = [
3008
- A`
3008
+ T`
3009
3009
  :host {
3010
3010
  position: fixed;
3011
3011
  display: flex;
@@ -3023,13 +3023,13 @@ Ls.styles = [
3023
3023
  }
3024
3024
  `
3025
3025
  ];
3026
- let Mn = Ls;
3027
- th([
3026
+ let Un = Ls;
3027
+ nh([
3028
3028
  k({ attribute: !0 })
3029
- ], Mn.prototype, "anchor");
3030
- const nh = /* @__PURE__ */ new WeakMap();
3029
+ ], Un.prototype, "anchor");
3030
+ const ih = /* @__PURE__ */ new WeakMap();
3031
3031
  let io = 0;
3032
- const Si = /* @__PURE__ */ new Map(), so = /* @__PURE__ */ new WeakSet(), ro = () => new Promise(((n) => requestAnimationFrame(n))), ih = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], sh = [{ opacity: 0 }], oo = [{ opacity: 0 }, { opacity: 1 }], ao = (n, e) => {
3032
+ const Si = /* @__PURE__ */ new Map(), so = /* @__PURE__ */ new WeakSet(), ro = () => new Promise(((n) => requestAnimationFrame(n))), sh = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], rh = [{ opacity: 0 }], oo = [{ opacity: 0 }, { opacity: 1 }], ao = (n, e) => {
3033
3033
  const t = n - e;
3034
3034
  return t === 0 ? void 0 : t;
3035
3035
  }, lo = (n, e) => {
@@ -3051,10 +3051,10 @@ const Si = /* @__PURE__ */ new Map(), so = /* @__PURE__ */ new WeakSet(), ro = (
3051
3051
  e === 0 && (e = 1, t = { height: "1px" });
3052
3052
  const i = lo(n, e);
3053
3053
  return { value: i, overrideFrom: t, transform: i == null || isNaN(i) ? void 0 : `scaleY(${i})` };
3054
- } }, rh = { duration: 333, easing: "ease-in-out" }, oh = ["left", "top", "width", "height", "opacity", "color", "background"], co = /* @__PURE__ */ new WeakMap();
3055
- class ah extends Sa {
3054
+ } }, oh = { duration: 333, easing: "ease-in-out" }, ah = ["left", "top", "width", "height", "opacity", "color", "background"], co = /* @__PURE__ */ new WeakMap();
3055
+ class lh extends Sa {
3056
3056
  constructor(e) {
3057
- if (super(e), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, e.type === sn.CHILD) throw Error("The `animate` directive must be used in attribute position.");
3057
+ if (super(e), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, e.type === rn.CHILD) throw Error("The `animate` directive must be used in attribute position.");
3058
3058
  this.createFinished();
3059
3059
  }
3060
3060
  createFinished() {
@@ -3071,7 +3071,7 @@ class ah extends Sa {
3071
3071
  return w;
3072
3072
  }
3073
3073
  getController() {
3074
- return nh.get(this.u);
3074
+ return ih.get(this.u);
3075
3075
  }
3076
3076
  isDisabled() {
3077
3077
  var e;
@@ -3085,7 +3085,7 @@ class ah extends Sa {
3085
3085
  p(e) {
3086
3086
  e = e ?? {};
3087
3087
  const t = this.getController();
3088
- t !== void 0 && ((e = { ...t.defaultOptions, ...e }).keyframeOptions = { ...t.defaultOptions.keyframeOptions, ...e.keyframeOptions }), e.properties ?? (e.properties = oh), this.options = e;
3088
+ t !== void 0 && ((e = { ...t.defaultOptions, ...e }).keyframeOptions = { ...t.defaultOptions.keyframeOptions, ...e.keyframeOptions }), e.properties ?? (e.properties = ah), this.options = e;
3089
3089
  }
3090
3090
  m() {
3091
3091
  const e = {}, t = this.element.getBoundingClientRect(), i = getComputedStyle(this.element);
@@ -3174,7 +3174,7 @@ class ah extends Sa {
3174
3174
  })), e;
3175
3175
  }
3176
3176
  j(e, t = this.O()) {
3177
- const i = { ...rh };
3177
+ const i = { ...oh };
3178
3178
  return t.forEach(((s) => Object.assign(i, s.options.keyframeOptions))), Object.assign(i, e), i;
3179
3179
  }
3180
3180
  N(e, t, i) {
@@ -3223,7 +3223,7 @@ class ah extends Sa {
3223
3223
  this.shouldLog && !this.isDisabled() && console.log(e, this.options.id, t);
3224
3224
  }
3225
3225
  }
3226
- const qi = rn(ah), xe = (n, e, t) => {
3226
+ const qi = on(lh), xe = (n, e, t) => {
3227
3227
  n && t.style.setProperty(e, n);
3228
3228
  }, Ca = (n, e) => {
3229
3229
  var t, i, s, r, o, a, l, c, u;
@@ -3257,14 +3257,14 @@ const qi = rn(ah), xe = (n, e, t) => {
3257
3257
  e
3258
3258
  ), xe((u = n.colors) == null ? void 0 : u.focusColor, "--focus-color", e);
3259
3259
  };
3260
- var lh = Object.defineProperty, on = (n, e, t, i) => {
3260
+ var ch = Object.defineProperty, an = (n, e, t, i) => {
3261
3261
  for (var s = void 0, r = n.length - 1, o; r >= 0; r--)
3262
3262
  (o = n[r]) && (s = o(e, t, s) || s);
3263
- return s && lh(e, t, s), s;
3263
+ return s && ch(e, t, s), s;
3264
3264
  };
3265
3265
  const Rs = class Rs extends _ {
3266
3266
  constructor() {
3267
- super(...arguments), this.active = !1, this.triggerVisible = !0, this.loaded = !1, this.containerRef = ge(), this.widgetActive$ = new ce(!1), this.componentIsDestroyed$ = new P();
3267
+ super(...arguments), this.active = !1, this.triggerVisible = !0, this.loaded = !1, this.containerRef = ge(), this.widgetActive$ = new ue(!1), this.componentIsDestroyed$ = new P();
3268
3268
  }
3269
3269
  async connectedCallback() {
3270
3270
  super.connectedCallback(), this.icon = await this._renderSymbol(), this.loaded = !0, this._applyBranding();
@@ -3309,7 +3309,7 @@ const Rs = class Rs extends _ {
3309
3309
  const i = (c = this.application) == null ? void 0 : c.triggerIcon;
3310
3310
  if (!i)
3311
3311
  return w;
3312
- const s = async (u) => Gc, { type: r, content: o } = i;
3312
+ const s = async (u) => Zc, { type: r, content: o } = i;
3313
3313
  switch (r) {
3314
3314
  case "Telia": {
3315
3315
  const u = await s();
@@ -3353,7 +3353,7 @@ const Rs = class Rs extends _ {
3353
3353
  @click=${this.toggleActive}
3354
3354
  ${qi({
3355
3355
  keyframeOptions: {},
3356
- in: ih,
3356
+ in: sh,
3357
3357
  stabilizeOut: !0,
3358
3358
  skipInitial: !1
3359
3359
  })}
@@ -3405,7 +3405,7 @@ const Rs = class Rs extends _ {
3405
3405
  }
3406
3406
  };
3407
3407
  Rs.styles = [
3408
- A`
3408
+ T`
3409
3409
  :host {
3410
3410
  --voca-rem-multiplier: 0.625;
3411
3411
  --trigger-label-bg: #f5e0ff;
@@ -3537,25 +3537,25 @@ Rs.styles = [
3537
3537
  `
3538
3538
  ];
3539
3539
  let Oe = Rs;
3540
- on([
3540
+ an([
3541
3541
  k({ attribute: !1 })
3542
3542
  ], Oe.prototype, "application");
3543
- on([
3543
+ an([
3544
3544
  O()
3545
3545
  ], Oe.prototype, "active");
3546
- on([
3546
+ an([
3547
3547
  O()
3548
3548
  ], Oe.prototype, "triggerVisible");
3549
- on([
3549
+ an([
3550
3550
  O()
3551
3551
  ], Oe.prototype, "loaded");
3552
- on([
3552
+ an([
3553
3553
  O()
3554
3554
  ], Oe.prototype, "icon");
3555
- var ch = Object.defineProperty, We = (n, e, t, i) => {
3555
+ var uh = Object.defineProperty, We = (n, e, t, i) => {
3556
3556
  for (var s = void 0, r = n.length - 1, o; r >= 0; r--)
3557
3557
  (o = n[r]) && (s = o(e, t, s) || s);
3558
- return s && ch(e, t, s), s;
3558
+ return s && uh(e, t, s), s;
3559
3559
  };
3560
3560
  const Ea = (n) => {
3561
3561
  const t = class t extends n {
@@ -3583,7 +3583,7 @@ const Ea = (n) => {
3583
3583
  };
3584
3584
  t.styles = [
3585
3585
  // (superClass as unknown as typeof LitElement).styles ?? [],
3586
- A`
3586
+ T`
3587
3587
  :host {
3588
3588
  font-family: var(--font-family);
3589
3589
  grid-column: span var(--width);
@@ -3619,7 +3619,7 @@ const Ea = (n) => {
3619
3619
  }
3620
3620
  };
3621
3621
  Is.styles = [
3622
- A`
3622
+ T`
3623
3623
  :host {
3624
3624
  display: block;
3625
3625
  }
@@ -3631,7 +3631,7 @@ let Vi = Is;
3631
3631
  * Copyright 2021 Google LLC
3632
3632
  * SPDX-License-Identifier: BSD-3-Clause
3633
3633
  */
3634
- function* uh(n, e) {
3634
+ function* hh(n, e) {
3635
3635
  if (n !== void 0) {
3636
3636
  let t = 0;
3637
3637
  for (const i of n) yield e(i, t++);
@@ -3683,7 +3683,7 @@ let uo = class {
3683
3683
  * Copyright 2021 Google LLC
3684
3684
  * SPDX-License-Identifier: BSD-3-Clause
3685
3685
  */
3686
- class hh {
3686
+ class dh {
3687
3687
  get value() {
3688
3688
  return this.o;
3689
3689
  }
@@ -3716,11 +3716,11 @@ class hh {
3716
3716
  * Copyright 2021 Google LLC
3717
3717
  * SPDX-License-Identifier: BSD-3-Clause
3718
3718
  */
3719
- let dh = class extends Event {
3719
+ let ph = class extends Event {
3720
3720
  constructor(e, t) {
3721
3721
  super("context-provider", { bubbles: !0, composed: !0 }), this.context = e, this.contextTarget = t;
3722
3722
  }
3723
- }, ho = class extends hh {
3723
+ }, ho = class extends dh {
3724
3724
  constructor(e, t, i) {
3725
3725
  var s, r;
3726
3726
  super(t.context !== void 0 ? t.initialValue : i), this.onContextRequest = (o) => {
@@ -3738,7 +3738,7 @@ let dh = class extends Event {
3738
3738
  this.host.addEventListener("context-request", this.onContextRequest), this.host.addEventListener("context-provider", this.onProviderRequest);
3739
3739
  }
3740
3740
  hostConnected() {
3741
- this.host.dispatchEvent(new dh(this.context, this.host));
3741
+ this.host.dispatchEvent(new ph(this.context, this.host));
3742
3742
  }
3743
3743
  };
3744
3744
  /**
@@ -3746,7 +3746,7 @@ let dh = class extends Event {
3746
3746
  * Copyright 2017 Google LLC
3747
3747
  * SPDX-License-Identifier: BSD-3-Clause
3748
3748
  */
3749
- function ph({ context: n }) {
3749
+ function fh({ context: n }) {
3750
3750
  return (e, t) => {
3751
3751
  const i = /* @__PURE__ */ new WeakMap();
3752
3752
  if (typeof t == "object") return { get() {
@@ -3784,7 +3784,7 @@ function ph({ context: n }) {
3784
3784
  * Copyright 2022 Google LLC
3785
3785
  * SPDX-License-Identifier: BSD-3-Clause
3786
3786
  */
3787
- function he({ context: n, subscribe: e }) {
3787
+ function oe({ context: n, subscribe: e }) {
3788
3788
  return (t, i) => {
3789
3789
  typeof i == "object" ? i.addInitializer((function() {
3790
3790
  new uo(this, { context: n, callback: (s) => {
@@ -3797,14 +3797,14 @@ function he({ context: n, subscribe: e }) {
3797
3797
  }));
3798
3798
  };
3799
3799
  }
3800
- var fh = Object.defineProperty, Ta = (n, e, t, i) => {
3800
+ var gh = Object.defineProperty, Aa = (n, e, t, i) => {
3801
3801
  for (var s = void 0, r = n.length - 1, o; r >= 0; r--)
3802
3802
  (o = n[r]) && (s = o(e, t, s) || s);
3803
- return s && fh(e, t, s), s;
3803
+ return s && gh(e, t, s), s;
3804
3804
  };
3805
- const re = "application", Ps = class Ps extends _ {
3805
+ const ne = "application", Ps = class Ps extends _ {
3806
3806
  constructor() {
3807
- super(...arguments), this.nodes = [], this.wrapperRef = ge(), this.fullscreen = !1, this.isReady = new ce(!1);
3807
+ super(...arguments), this.nodes = [], this.wrapperRef = ge(), this.fullscreen = !1, this.isReady = new ue(!1);
3808
3808
  }
3809
3809
  addChild(e) {
3810
3810
  e.parent = this, this.nodes.push(e);
@@ -3830,11 +3830,11 @@ const re = "application", Ps = class Ps extends _ {
3830
3830
  var i, s;
3831
3831
  const e = this.application.settings.components.conversation;
3832
3832
  return ((s = (i = e == null ? void 0 : e.properties) == null ? void 0 : i.chat) == null ? void 0 : s.isThirdPartyWidget) ? this.renderRoot.host.classList.add("third-party") : this.application.renderStrategy === ms.Trigger && (this.renderRoot.host.classList.add("floating"), this.application.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.application.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right")), this.application.fullscreen && this.renderRoot.host.classList.add("fullscreen"), window.self !== window.top && this.renderRoot.host.classList.add("embedded"), y`<div class="widget-container" ${me(this.wrapperRef)}>
3833
- ${uh(this.nodes, (r) => r)}
3833
+ ${hh(this.nodes, (r) => r)}
3834
3834
  </div>`;
3835
3835
  }
3836
3836
  };
3837
- Ps.styles = A`
3837
+ Ps.styles = T`
3838
3838
  :host {
3839
3839
  --font-family: TeliaSans, Helvetica, Arial, Lucida Grande, sans-serif;
3840
3840
  --spacing-xs: 0.2rem;
@@ -4001,17 +4001,17 @@ Ps.styles = A`
4001
4001
  }
4002
4002
  `;
4003
4003
  let Zt = Ps;
4004
- Ta([
4004
+ Aa([
4005
4005
  k({ attribute: !0 })
4006
4006
  ], Zt.prototype, "fullscreen");
4007
- Ta([
4007
+ Aa([
4008
4008
  k({ attribute: !1 }),
4009
- ph({ context: re })
4009
+ fh({ context: ne })
4010
4010
  ], Zt.prototype, "application");
4011
- var gh = Object.defineProperty, vs = (n, e, t, i) => {
4011
+ var mh = Object.defineProperty, vs = (n, e, t, i) => {
4012
4012
  for (var s = void 0, r = n.length - 1, o; r >= 0; r--)
4013
4013
  (o = n[r]) && (s = o(e, t, s) || s);
4014
- return s && gh(e, t, s), s;
4014
+ return s && mh(e, t, s), s;
4015
4015
  };
4016
4016
  const Ms = class Ms extends _ {
4017
4017
  constructor() {
@@ -4046,7 +4046,7 @@ const Ms = class Ms extends _ {
4046
4046
  }
4047
4047
  };
4048
4048
  Ms.styles = [
4049
- A`
4049
+ T`
4050
4050
  :host {
4051
4051
  display: block;
4052
4052
  }
@@ -4062,12 +4062,12 @@ vs([
4062
4062
  vs([
4063
4063
  O()
4064
4064
  ], xt.prototype, "status");
4065
- customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", Mn);
4065
+ customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", Un);
4066
4066
  customElements.get("ace-trigger") || customElements.define("ace-trigger", Oe);
4067
4067
  customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", Vi);
4068
4068
  customElements.get("ace-wrapper") || customElements.define("ace-wrapper", Zt);
4069
4069
  customElements.get("ace-widget") || customElements.define("ace-widget", xt);
4070
- class mh {
4070
+ class vh {
4071
4071
  constructor(e) {
4072
4072
  this._message = null, this._host = e, e.addController(this);
4073
4073
  }
@@ -4085,8 +4085,8 @@ class mh {
4085
4085
  }
4086
4086
  class po {
4087
4087
  constructor(e, t, i, s, r) {
4088
- this.id = e, this.providerKey = t, this.providerOptions = i, this.component = r, this.provider$ = new ce(null), this.entries$ = new ce([]), this.removeEntryAction$ = new P(), this.kill$ = new P(), this.isTyping$ = new ce(!1), this.data$ = new ce({}), this.complete$ = this.provider$.pipe(
4089
- Te((l) => l ? l.onComplete() : tt)
4088
+ this.id = e, this.providerKey = t, this.providerOptions = i, this.component = r, this.provider$ = new ue(null), this.entries$ = new ue([]), this.removeEntryAction$ = new P(), this.kill$ = new P(), this.isTyping$ = new ue(!1), this.data$ = new ue({}), this.complete$ = this.provider$.pipe(
4089
+ Ae((l) => l ? l.onComplete() : tt)
4090
4090
  );
4091
4091
  const o = this._getProviderFactory(t);
4092
4092
  if (!o)
@@ -4129,7 +4129,7 @@ class po {
4129
4129
  }
4130
4130
  _addEntryRemoveHandler(e) {
4131
4131
  e.remove$.pipe(
4132
- Te(() => this.entries$),
4132
+ Ae(() => this.entries$),
4133
4133
  fe(1)
4134
4134
  ).subscribe((t) => {
4135
4135
  this.removeEntryAction$.next(e), this.entries$.next(t.filter((i) => i !== e));
@@ -4139,9 +4139,9 @@ class po {
4139
4139
  return this.component.platform.registeredProviders.get(e);
4140
4140
  }
4141
4141
  }
4142
- class vh {
4142
+ class bh {
4143
4143
  constructor(e) {
4144
- this.component = e, this.currentSession$ = new ce(null), this.sessions = [], this.storage = null, _n(e, "handover").subscribe((t) => {
4144
+ this.component = e, this.currentSession$ = new ue(null), this.sessions = [], this.storage = null, An(e, "handover").subscribe((t) => {
4145
4145
  const i = this._createNewSession(
4146
4146
  t.detail.providerKey,
4147
4147
  t.detail.providerOptions
@@ -4237,11 +4237,11 @@ class vh {
4237
4237
  return this.component.properties.providers[0];
4238
4238
  }
4239
4239
  }
4240
- class bh {
4240
+ class yh {
4241
4241
  constructor(e, t) {
4242
- this.state$ = e, this.component = t, this.entries$ = new ce([]), this.session = () => this.session$, this.isTyping = () => this.isTyping$, this.entries = () => this.entries$.asObservable(), this.sessionService = new vh(this.component), this.session$ = this.sessionService.currentSession(), this.isTyping$ = this.session$.pipe(
4243
- Te((i) => i ? i.provider$.pipe(
4244
- Te((s) => s ? s.isTyping() : Pi(!1))
4242
+ this.state$ = e, this.component = t, this.entries$ = new ue([]), this.session = () => this.session$, this.isTyping = () => this.isTyping$, this.entries = () => this.entries$.asObservable(), this.sessionService = new bh(this.component), this.session$ = this.sessionService.currentSession(), this.isTyping$ = this.session$.pipe(
4243
+ Ae((i) => i ? i.provider$.pipe(
4244
+ Ae((s) => s ? s.isTyping() : Pi(!1))
4245
4245
  ) : Pi(!1))
4246
4246
  ), e.subscribe((i) => {
4247
4247
  switch (i) {
@@ -4266,18 +4266,18 @@ class bh {
4266
4266
  }
4267
4267
  rehydrate() {
4268
4268
  this.session$.pipe(
4269
- Te((e) => {
4269
+ Ae((e) => {
4270
4270
  if (!e)
4271
4271
  return tt;
4272
4272
  const t = e.removeEntryAction$.pipe(Ui(this.entries$)).pipe(
4273
- En(([s, r]) => r.filter((o) => o.id !== s.id))
4273
+ _n(([s, r]) => r.filter((o) => o.id !== s.id))
4274
4274
  ), i = e.entries().pipe(
4275
- En((s) => {
4275
+ _n((s) => {
4276
4276
  const r = this.entries$.value, o = s.filter((a) => r.findIndex((l) => l.id === a.id) === -1);
4277
4277
  return [...r, ...o];
4278
4278
  })
4279
4279
  );
4280
- return fc(t, i);
4280
+ return gc(t, i);
4281
4281
  })
4282
4282
  ).subscribe((e) => {
4283
4283
  this.entries$.next(e);
@@ -4288,10 +4288,10 @@ class bh {
4288
4288
  (e = this.sessionService) == null || e.startSession();
4289
4289
  }
4290
4290
  }
4291
- var yh = Object.defineProperty, $h = (n, e, t, i) => {
4291
+ var $h = Object.defineProperty, Ta = (n, e, t, i) => {
4292
4292
  for (var s = void 0, r = n.length - 1, o; r >= 0; r--)
4293
4293
  (o = n[r]) && (s = o(e, t, s) || s);
4294
- return s && yh(e, t, s), s;
4294
+ return s && $h(e, t, s), s;
4295
4295
  };
4296
4296
  const Us = class Us extends _ {
4297
4297
  connectedCallback() {
@@ -4311,17 +4311,27 @@ const Us = class Us extends _ {
4311
4311
  if (!e && !t)
4312
4312
  return w;
4313
4313
  let i = "";
4314
- return e ? t ? i = `${e}: ${this._getTimestamp(t)}` : i = e : t && (i = this._getTimestamp(t)), y`<p class="conversation-timestamp">${i}</p>`;
4314
+ e ? t ? i = `${e}: ${this._getTimestamp(t)}` : i = e : t && (i = this._getTimestamp(t));
4315
+ const s = this.application.texts.getOrFallback(
4316
+ "conversation.sr-only.message-from-label",
4317
+ "Message from"
4318
+ );
4319
+ return y`
4320
+ <p class="conversation-timestamp">
4321
+ <span class="sr-only">${s}</span>
4322
+ ${i}
4323
+ </p>
4324
+ `;
4315
4325
  }
4316
4326
  _renderDeliveryStatus(e) {
4317
4327
  return e === "delivered" ? y`<telia-icon
4318
- svg=${jc.svg}
4328
+ svg=${Bc.svg}
4319
4329
  size="sm"
4320
4330
  ></telia-icon>` : e === "failed" ? y`<telia-icon
4321
- svg=${Fc.svg}
4331
+ svg=${jc.svg}
4322
4332
  size="sm"
4323
4333
  title="Message could not be delivered"
4324
- ></telia-icon>` : y`<telia-icon svg=${Bc.svg} size="sm"></telia-icon>`;
4334
+ ></telia-icon>` : y`<telia-icon svg=${qc.svg} size="sm"></telia-icon>`;
4325
4335
  }
4326
4336
  _dispatchEntryAction(e) {
4327
4337
  this.entry.actions$.next(e.detail);
@@ -4408,7 +4418,7 @@ const Us = class Us extends _ {
4408
4418
  }
4409
4419
  };
4410
4420
  Us.styles = [
4411
- A`
4421
+ T`
4412
4422
  :host {
4413
4423
  box-sizing: border-box;
4414
4424
  display: inline;
@@ -4528,13 +4538,29 @@ Us.styles = [
4528
4538
  .entry-content {
4529
4539
  grid-area: content;
4530
4540
  }
4541
+
4542
+ .sr-only {
4543
+ position: absolute;
4544
+ width: 1px;
4545
+ height: 1px;
4546
+ padding: 0;
4547
+ margin: -1px;
4548
+ overflow: hidden;
4549
+ clip: rect(0, 0, 0, 0);
4550
+ white-space: nowrap;
4551
+ border-width: 0;
4552
+ }
4531
4553
  `
4532
4554
  ];
4533
- let Un = Us;
4534
- $h([
4555
+ let Yt = Us;
4556
+ Ta([
4535
4557
  k({ attribute: !1 })
4536
- ], Un.prototype, "entry");
4537
- var wh = Object.defineProperty, Aa = (n, e, t, i) => {
4558
+ ], Yt.prototype, "entry");
4559
+ Ta([
4560
+ oe({ context: ne }),
4561
+ k({ attribute: !1 })
4562
+ ], Yt.prototype, "application");
4563
+ var wh = Object.defineProperty, Oa = (n, e, t, i) => {
4538
4564
  for (var s = void 0, r = n.length - 1, o; r >= 0; r--)
4539
4565
  (o = n[r]) && (s = o(e, t, s) || s);
4540
4566
  return s && wh(e, t, s), s;
@@ -4567,7 +4593,7 @@ const Ns = class Ns extends _ {
4567
4593
  ${qi({
4568
4594
  keyframeOptions: {},
4569
4595
  in: oo,
4570
- out: sh,
4596
+ out: rh,
4571
4597
  stabilizeOut: !0,
4572
4598
  skipInitial: !1
4573
4599
  })}
@@ -4576,7 +4602,7 @@ const Ns = class Ns extends _ {
4576
4602
  }
4577
4603
  };
4578
4604
  Ns.styles = [
4579
- A`
4605
+ T`
4580
4606
  :host {
4581
4607
  display: block;
4582
4608
  }
@@ -4594,13 +4620,13 @@ Ns.styles = [
4594
4620
  }
4595
4621
  `
4596
4622
  ];
4597
- let Yt = Ns;
4598
- Aa([
4623
+ let Qt = Ns;
4624
+ Oa([
4599
4625
  k({ attribute: !1 })
4600
- ], Yt.prototype, "entries");
4601
- Aa([
4626
+ ], Qt.prototype, "entries");
4627
+ Oa([
4602
4628
  k({ type: Boolean })
4603
- ], Yt.prototype, "loading");
4629
+ ], Qt.prototype, "loading");
4604
4630
  /**
4605
4631
  * @license
4606
4632
  * Copyright 2021 Google LLC
@@ -4645,7 +4671,7 @@ const Ds = class Ds extends _ {
4645
4671
  }
4646
4672
  };
4647
4673
  Ds.styles = [
4648
- A`
4674
+ T`
4649
4675
  :host {
4650
4676
  box-sizing: border-box;
4651
4677
  display: block;
@@ -4674,7 +4700,7 @@ const zs = class zs extends _ {
4674
4700
  }
4675
4701
  };
4676
4702
  zs.styles = [
4677
- A`
4703
+ T`
4678
4704
  :host {
4679
4705
  display: block;
4680
4706
  }
@@ -4718,11 +4744,11 @@ let Wi = zs;
4718
4744
  */
4719
4745
  class Gi extends Jn {
4720
4746
  constructor(e) {
4721
- if (super(e), this.it = w, e.type !== sn.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
4747
+ if (super(e), this.it = w, e.type !== rn.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
4722
4748
  }
4723
4749
  render(e) {
4724
4750
  if (e === w || e == null) return this._t = void 0, this.it = e;
4725
- if (e === Ae) return e;
4751
+ if (e === Te) return e;
4726
4752
  if (typeof e != "string") throw Error(this.constructor.directiveName + "() called with a non-string value");
4727
4753
  if (e === this.it) return this._t;
4728
4754
  this.it = e;
@@ -4731,19 +4757,19 @@ class Gi extends Jn {
4731
4757
  }
4732
4758
  }
4733
4759
  Gi.directiveName = "unsafeHTML", Gi.resultType = 1;
4734
- const Ch = rn(Gi);
4760
+ const Ch = on(Gi);
4735
4761
  /*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */
4736
4762
  const {
4737
- entries: Oa,
4763
+ entries: La,
4738
4764
  setPrototypeOf: fo,
4739
4765
  isFrozen: Eh,
4740
4766
  getPrototypeOf: _h,
4741
- getOwnPropertyDescriptor: Th
4767
+ getOwnPropertyDescriptor: Ah
4742
4768
  } = Object;
4743
4769
  let {
4744
4770
  freeze: X,
4745
- seal: ne,
4746
- create: La
4771
+ seal: ie,
4772
+ create: Ra
4747
4773
  } = Object, {
4748
4774
  apply: Zi,
4749
4775
  construct: Yi
@@ -4751,7 +4777,7 @@ let {
4751
4777
  X || (X = function(e) {
4752
4778
  return e;
4753
4779
  });
4754
- ne || (ne = function(e) {
4780
+ ie || (ie = function(e) {
4755
4781
  return e;
4756
4782
  });
4757
4783
  Zi || (Zi = function(e, t, i) {
@@ -4760,7 +4786,7 @@ Zi || (Zi = function(e, t, i) {
4760
4786
  Yi || (Yi = function(e, t) {
4761
4787
  return new e(...t);
4762
4788
  });
4763
- const vn = K(Array.prototype.forEach), Ah = K(Array.prototype.lastIndexOf), go = K(Array.prototype.pop), Rt = K(Array.prototype.push), Oh = K(Array.prototype.splice), xn = K(String.prototype.toLowerCase), Ei = K(String.prototype.toString), mo = K(String.prototype.match), It = K(String.prototype.replace), Lh = K(String.prototype.indexOf), Rh = K(String.prototype.trim), ae = K(Object.prototype.hasOwnProperty), G = K(RegExp.prototype.test), Pt = Ih(TypeError);
4789
+ const bn = K(Array.prototype.forEach), Th = K(Array.prototype.lastIndexOf), go = K(Array.prototype.pop), Rt = K(Array.prototype.push), Oh = K(Array.prototype.splice), kn = K(String.prototype.toLowerCase), Ei = K(String.prototype.toString), mo = K(String.prototype.match), It = K(String.prototype.replace), Lh = K(String.prototype.indexOf), Rh = K(String.prototype.trim), le = K(Object.prototype.hasOwnProperty), G = K(RegExp.prototype.test), Pt = Ih(TypeError);
4764
4790
  function K(n) {
4765
4791
  return function(e) {
4766
4792
  e instanceof RegExp && (e.lastIndex = 0);
@@ -4777,7 +4803,7 @@ function Ih(n) {
4777
4803
  };
4778
4804
  }
4779
4805
  function x(n, e) {
4780
- let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : xn;
4806
+ let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : kn;
4781
4807
  fo && fo(n, null);
4782
4808
  let i = e.length;
4783
4809
  for (; i--; ) {
@@ -4792,18 +4818,18 @@ function x(n, e) {
4792
4818
  }
4793
4819
  function Ph(n) {
4794
4820
  for (let e = 0; e < n.length; e++)
4795
- ae(n, e) || (n[e] = null);
4821
+ le(n, e) || (n[e] = null);
4796
4822
  return n;
4797
4823
  }
4798
4824
  function Se(n) {
4799
- const e = La(null);
4800
- for (const [t, i] of Oa(n))
4801
- ae(n, t) && (Array.isArray(i) ? e[t] = Ph(i) : i && typeof i == "object" && i.constructor === Object ? e[t] = Se(i) : e[t] = i);
4825
+ const e = Ra(null);
4826
+ for (const [t, i] of La(n))
4827
+ le(n, t) && (Array.isArray(i) ? e[t] = Ph(i) : i && typeof i == "object" && i.constructor === Object ? e[t] = Se(i) : e[t] = i);
4802
4828
  return e;
4803
4829
  }
4804
4830
  function Mt(n, e) {
4805
4831
  for (; n !== null; ) {
4806
- const i = Th(n, e);
4832
+ const i = Ah(n, e);
4807
4833
  if (i) {
4808
4834
  if (i.get)
4809
4835
  return K(i.get);
@@ -4817,22 +4843,22 @@ function Mt(n, e) {
4817
4843
  }
4818
4844
  return t;
4819
4845
  }
4820
- const vo = X(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), _i = X(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), Ti = X(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Mh = X(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), Ai = X(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), Uh = X(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), bo = X(["#text"]), yo = X(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), Oi = X(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), $o = X(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), bn = X(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Nh = ne(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Dh = ne(/<%[\w\W]*|[\w\W]*%>/gm), zh = ne(/\$\{[\w\W]*/gm), Hh = ne(/^data-[\-\w.\u00B7-\uFFFF]+$/), Fh = ne(/^aria-[\-\w]+$/), Ra = ne(
4846
+ const vo = X(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), _i = X(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), Ai = X(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Mh = X(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), Ti = X(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), Uh = X(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), bo = X(["#text"]), yo = X(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), Oi = X(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), $o = X(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), yn = X(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Nh = ie(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Dh = ie(/<%[\w\W]*|[\w\W]*%>/gm), zh = ie(/\$\{[\w\W]*/gm), Hh = ie(/^data-[\-\w.\u00B7-\uFFFF]+$/), Fh = ie(/^aria-[\-\w]+$/), Ia = ie(
4821
4847
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
4822
4848
  // eslint-disable-line no-useless-escape
4823
- ), jh = ne(/^(?:\w+script|data):/i), Bh = ne(
4849
+ ), jh = ie(/^(?:\w+script|data):/i), Bh = ie(
4824
4850
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
4825
4851
  // eslint-disable-line no-control-regex
4826
- ), Ia = ne(/^html$/i), qh = ne(/^[a-z][.\w]*(-[.\w]+)+$/i);
4852
+ ), Pa = ie(/^html$/i), qh = ie(/^[a-z][.\w]*(-[.\w]+)+$/i);
4827
4853
  var wo = /* @__PURE__ */ Object.freeze({
4828
4854
  __proto__: null,
4829
4855
  ARIA_ATTR: Fh,
4830
4856
  ATTR_WHITESPACE: Bh,
4831
4857
  CUSTOM_ELEMENT: qh,
4832
4858
  DATA_ATTR: Hh,
4833
- DOCTYPE_NAME: Ia,
4859
+ DOCTYPE_NAME: Pa,
4834
4860
  ERB_EXPR: Dh,
4835
- IS_ALLOWED_URI: Ra,
4861
+ IS_ALLOWED_URI: Ia,
4836
4862
  IS_SCRIPT_OR_DATA: jh,
4837
4863
  MUSTACHE_EXPR: Nh,
4838
4864
  TMPLIT_EXPR: zh
@@ -4878,9 +4904,9 @@ const Ut = {
4878
4904
  uponSanitizeShadowNode: []
4879
4905
  };
4880
4906
  };
4881
- function Pa() {
4907
+ function Ma() {
4882
4908
  let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Vh();
4883
- const e = (b) => Pa(b);
4909
+ const e = (b) => Ma(b);
4884
4910
  if (e.version = "3.2.6", e.removed = [], !n || !n.document || n.document.nodeType !== Ut.document || !n.Element)
4885
4911
  return e.isSupported = !1, e;
4886
4912
  let {
@@ -4896,7 +4922,7 @@ function Pa() {
4896
4922
  HTMLFormElement: p,
4897
4923
  DOMParser: d,
4898
4924
  trustedTypes: g
4899
- } = n, m = l.prototype, $ = Mt(m, "cloneNode"), be = Mt(m, "remove"), oe = Mt(m, "nextSibling"), Ie = Mt(m, "childNodes"), He = Mt(m, "parentNode");
4925
+ } = n, m = l.prototype, $ = Mt(m, "cloneNode"), be = Mt(m, "remove"), ae = Mt(m, "nextSibling"), Ie = Mt(m, "childNodes"), He = Mt(m, "parentNode");
4900
4926
  if (typeof o == "function") {
4901
4927
  const b = t.createElement("template");
4902
4928
  b.content && b.content.ownerDocument && (t = b.content.ownerDocument);
@@ -4905,30 +4931,30 @@ function Pa() {
4905
4931
  const {
4906
4932
  implementation: je,
4907
4933
  createNodeIterator: Be,
4908
- createDocumentFragment: Ka,
4909
- getElementsByTagName: Ja
4934
+ createDocumentFragment: Ja,
4935
+ getElementsByTagName: el
4910
4936
  } = t, {
4911
- importNode: el
4937
+ importNode: tl
4912
4938
  } = i;
4913
4939
  let V = xo();
4914
- e.isSupported = typeof Oa == "function" && typeof He == "function" && je && je.createHTMLDocument !== void 0;
4940
+ e.isSupported = typeof La == "function" && typeof He == "function" && je && je.createHTMLDocument !== void 0;
4915
4941
  const {
4916
4942
  MUSTACHE_EXPR: ni,
4917
4943
  ERB_EXPR: ii,
4918
4944
  TMPLIT_EXPR: si,
4919
- DATA_ATTR: tl,
4920
- ARIA_ATTR: nl,
4921
- IS_SCRIPT_OR_DATA: il,
4945
+ DATA_ATTR: nl,
4946
+ ARIA_ATTR: il,
4947
+ IS_SCRIPT_OR_DATA: sl,
4922
4948
  ATTR_WHITESPACE: er,
4923
- CUSTOM_ELEMENT: sl
4949
+ CUSTOM_ELEMENT: rl
4924
4950
  } = wo;
4925
4951
  let {
4926
4952
  IS_ALLOWED_URI: tr
4927
4953
  } = wo, U = null;
4928
- const nr = x({}, [...vo, ..._i, ...Ti, ...Ai, ...bo]);
4954
+ const nr = x({}, [...vo, ..._i, ...Ai, ...Ti, ...bo]);
4929
4955
  let D = null;
4930
- const ir = x({}, [...yo, ...Oi, ...$o, ...bn]);
4931
- let R = Object.seal(La(null, {
4956
+ const ir = x({}, [...yo, ...Oi, ...$o, ...yn]);
4957
+ let R = Object.seal(Ra(null, {
4932
4958
  tagNameCheck: {
4933
4959
  writable: !0,
4934
4960
  configurable: !1,
@@ -4947,28 +4973,28 @@ function Pa() {
4947
4973
  enumerable: !0,
4948
4974
  value: !1
4949
4975
  }
4950
- })), _t = null, ri = null, sr = !0, oi = !0, rr = !1, or = !0, st = !1, ln = !0, qe = !1, ai = !1, li = !1, rt = !1, cn = !1, un = !1, ar = !0, lr = !1;
4951
- const rl = "user-content-";
4952
- let ci = !0, Tt = !1, ot = {}, at = null;
4976
+ })), _t = null, ri = null, sr = !0, oi = !0, rr = !1, or = !0, st = !1, cn = !0, qe = !1, ai = !1, li = !1, rt = !1, un = !1, hn = !1, ar = !0, lr = !1;
4977
+ const ol = "user-content-";
4978
+ let ci = !0, At = !1, ot = {}, at = null;
4953
4979
  const cr = x({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
4954
4980
  let ur = null;
4955
4981
  const hr = x({}, ["audio", "video", "img", "source", "image", "track"]);
4956
4982
  let ui = null;
4957
- const dr = x({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), hn = "http://www.w3.org/1998/Math/MathML", dn = "http://www.w3.org/2000/svg", ye = "http://www.w3.org/1999/xhtml";
4983
+ const dr = x({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), dn = "http://www.w3.org/1998/Math/MathML", pn = "http://www.w3.org/2000/svg", ye = "http://www.w3.org/1999/xhtml";
4958
4984
  let lt = ye, hi = !1, di = null;
4959
- const ol = x({}, [hn, dn, ye], Ei);
4960
- let pn = x({}, ["mi", "mo", "mn", "ms", "mtext"]), fn = x({}, ["annotation-xml"]);
4961
- const al = x({}, ["title", "style", "font", "a", "script"]);
4962
- let At = null;
4963
- const ll = ["application/xhtml+xml", "text/html"], cl = "text/html";
4985
+ const al = x({}, [dn, pn, ye], Ei);
4986
+ let fn = x({}, ["mi", "mo", "mn", "ms", "mtext"]), gn = x({}, ["annotation-xml"]);
4987
+ const ll = x({}, ["title", "style", "font", "a", "script"]);
4988
+ let Tt = null;
4989
+ const cl = ["application/xhtml+xml", "text/html"], ul = "text/html";
4964
4990
  let N = null, ct = null;
4965
- const ul = t.createElement("form"), pr = function(h) {
4991
+ const hl = t.createElement("form"), pr = function(h) {
4966
4992
  return h instanceof RegExp || h instanceof Function;
4967
4993
  }, pi = function() {
4968
4994
  let h = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
4969
4995
  if (!(ct && ct === h)) {
4970
- if ((!h || typeof h != "object") && (h = {}), h = Se(h), At = // eslint-disable-next-line unicorn/prefer-includes
4971
- ll.indexOf(h.PARSER_MEDIA_TYPE) === -1 ? cl : h.PARSER_MEDIA_TYPE, N = At === "application/xhtml+xml" ? Ei : xn, U = ae(h, "ALLOWED_TAGS") ? x({}, h.ALLOWED_TAGS, N) : nr, D = ae(h, "ALLOWED_ATTR") ? x({}, h.ALLOWED_ATTR, N) : ir, di = ae(h, "ALLOWED_NAMESPACES") ? x({}, h.ALLOWED_NAMESPACES, Ei) : ol, ui = ae(h, "ADD_URI_SAFE_ATTR") ? x(Se(dr), h.ADD_URI_SAFE_ATTR, N) : dr, ur = ae(h, "ADD_DATA_URI_TAGS") ? x(Se(hr), h.ADD_DATA_URI_TAGS, N) : hr, at = ae(h, "FORBID_CONTENTS") ? x({}, h.FORBID_CONTENTS, N) : cr, _t = ae(h, "FORBID_TAGS") ? x({}, h.FORBID_TAGS, N) : Se({}), ri = ae(h, "FORBID_ATTR") ? x({}, h.FORBID_ATTR, N) : Se({}), ot = ae(h, "USE_PROFILES") ? h.USE_PROFILES : !1, sr = h.ALLOW_ARIA_ATTR !== !1, oi = h.ALLOW_DATA_ATTR !== !1, rr = h.ALLOW_UNKNOWN_PROTOCOLS || !1, or = h.ALLOW_SELF_CLOSE_IN_ATTR !== !1, st = h.SAFE_FOR_TEMPLATES || !1, ln = h.SAFE_FOR_XML !== !1, qe = h.WHOLE_DOCUMENT || !1, rt = h.RETURN_DOM || !1, cn = h.RETURN_DOM_FRAGMENT || !1, un = h.RETURN_TRUSTED_TYPE || !1, li = h.FORCE_BODY || !1, ar = h.SANITIZE_DOM !== !1, lr = h.SANITIZE_NAMED_PROPS || !1, ci = h.KEEP_CONTENT !== !1, Tt = h.IN_PLACE || !1, tr = h.ALLOWED_URI_REGEXP || Ra, lt = h.NAMESPACE || ye, pn = h.MATHML_TEXT_INTEGRATION_POINTS || pn, fn = h.HTML_INTEGRATION_POINTS || fn, R = h.CUSTOM_ELEMENT_HANDLING || {}, h.CUSTOM_ELEMENT_HANDLING && pr(h.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (R.tagNameCheck = h.CUSTOM_ELEMENT_HANDLING.tagNameCheck), h.CUSTOM_ELEMENT_HANDLING && pr(h.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (R.attributeNameCheck = h.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), h.CUSTOM_ELEMENT_HANDLING && typeof h.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (R.allowCustomizedBuiltInElements = h.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), st && (oi = !1), cn && (rt = !0), ot && (U = x({}, bo), D = [], ot.html === !0 && (x(U, vo), x(D, yo)), ot.svg === !0 && (x(U, _i), x(D, Oi), x(D, bn)), ot.svgFilters === !0 && (x(U, Ti), x(D, Oi), x(D, bn)), ot.mathMl === !0 && (x(U, Ai), x(D, $o), x(D, bn))), h.ADD_TAGS && (U === nr && (U = Se(U)), x(U, h.ADD_TAGS, N)), h.ADD_ATTR && (D === ir && (D = Se(D)), x(D, h.ADD_ATTR, N)), h.ADD_URI_SAFE_ATTR && x(ui, h.ADD_URI_SAFE_ATTR, N), h.FORBID_CONTENTS && (at === cr && (at = Se(at)), x(at, h.FORBID_CONTENTS, N)), ci && (U["#text"] = !0), qe && x(U, ["html", "head", "body"]), U.table && (x(U, ["tbody"]), delete _t.tbody), h.TRUSTED_TYPES_POLICY) {
4996
+ if ((!h || typeof h != "object") && (h = {}), h = Se(h), Tt = // eslint-disable-next-line unicorn/prefer-includes
4997
+ cl.indexOf(h.PARSER_MEDIA_TYPE) === -1 ? ul : h.PARSER_MEDIA_TYPE, N = Tt === "application/xhtml+xml" ? Ei : kn, U = le(h, "ALLOWED_TAGS") ? x({}, h.ALLOWED_TAGS, N) : nr, D = le(h, "ALLOWED_ATTR") ? x({}, h.ALLOWED_ATTR, N) : ir, di = le(h, "ALLOWED_NAMESPACES") ? x({}, h.ALLOWED_NAMESPACES, Ei) : al, ui = le(h, "ADD_URI_SAFE_ATTR") ? x(Se(dr), h.ADD_URI_SAFE_ATTR, N) : dr, ur = le(h, "ADD_DATA_URI_TAGS") ? x(Se(hr), h.ADD_DATA_URI_TAGS, N) : hr, at = le(h, "FORBID_CONTENTS") ? x({}, h.FORBID_CONTENTS, N) : cr, _t = le(h, "FORBID_TAGS") ? x({}, h.FORBID_TAGS, N) : Se({}), ri = le(h, "FORBID_ATTR") ? x({}, h.FORBID_ATTR, N) : Se({}), ot = le(h, "USE_PROFILES") ? h.USE_PROFILES : !1, sr = h.ALLOW_ARIA_ATTR !== !1, oi = h.ALLOW_DATA_ATTR !== !1, rr = h.ALLOW_UNKNOWN_PROTOCOLS || !1, or = h.ALLOW_SELF_CLOSE_IN_ATTR !== !1, st = h.SAFE_FOR_TEMPLATES || !1, cn = h.SAFE_FOR_XML !== !1, qe = h.WHOLE_DOCUMENT || !1, rt = h.RETURN_DOM || !1, un = h.RETURN_DOM_FRAGMENT || !1, hn = h.RETURN_TRUSTED_TYPE || !1, li = h.FORCE_BODY || !1, ar = h.SANITIZE_DOM !== !1, lr = h.SANITIZE_NAMED_PROPS || !1, ci = h.KEEP_CONTENT !== !1, At = h.IN_PLACE || !1, tr = h.ALLOWED_URI_REGEXP || Ia, lt = h.NAMESPACE || ye, fn = h.MATHML_TEXT_INTEGRATION_POINTS || fn, gn = h.HTML_INTEGRATION_POINTS || gn, R = h.CUSTOM_ELEMENT_HANDLING || {}, h.CUSTOM_ELEMENT_HANDLING && pr(h.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (R.tagNameCheck = h.CUSTOM_ELEMENT_HANDLING.tagNameCheck), h.CUSTOM_ELEMENT_HANDLING && pr(h.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (R.attributeNameCheck = h.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), h.CUSTOM_ELEMENT_HANDLING && typeof h.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (R.allowCustomizedBuiltInElements = h.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), st && (oi = !1), un && (rt = !0), ot && (U = x({}, bo), D = [], ot.html === !0 && (x(U, vo), x(D, yo)), ot.svg === !0 && (x(U, _i), x(D, Oi), x(D, yn)), ot.svgFilters === !0 && (x(U, Ai), x(D, Oi), x(D, yn)), ot.mathMl === !0 && (x(U, Ti), x(D, $o), x(D, yn))), h.ADD_TAGS && (U === nr && (U = Se(U)), x(U, h.ADD_TAGS, N)), h.ADD_ATTR && (D === ir && (D = Se(D)), x(D, h.ADD_ATTR, N)), h.ADD_URI_SAFE_ATTR && x(ui, h.ADD_URI_SAFE_ATTR, N), h.FORBID_CONTENTS && (at === cr && (at = Se(at)), x(at, h.FORBID_CONTENTS, N)), ci && (U["#text"] = !0), qe && x(U, ["html", "head", "body"]), U.table && (x(U, ["tbody"]), delete _t.tbody), h.TRUSTED_TYPES_POLICY) {
4972
4998
  if (typeof h.TRUSTED_TYPES_POLICY.createHTML != "function")
4973
4999
  throw Pt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
4974
5000
  if (typeof h.TRUSTED_TYPES_POLICY.createScriptURL != "function")
@@ -4978,14 +5004,14 @@ function Pa() {
4978
5004
  M === void 0 && (M = Wh(g, s)), M !== null && typeof Fe == "string" && (Fe = M.createHTML(""));
4979
5005
  X && X(h), ct = h;
4980
5006
  }
4981
- }, fr = x({}, [..._i, ...Ti, ...Mh]), gr = x({}, [...Ai, ...Uh]), hl = function(h) {
5007
+ }, fr = x({}, [..._i, ...Ai, ...Mh]), gr = x({}, [...Ti, ...Uh]), dl = function(h) {
4982
5008
  let f = He(h);
4983
5009
  (!f || !f.tagName) && (f = {
4984
5010
  namespaceURI: lt,
4985
5011
  tagName: "template"
4986
5012
  });
4987
- const v = xn(h.tagName), L = xn(f.tagName);
4988
- return di[h.namespaceURI] ? h.namespaceURI === dn ? f.namespaceURI === ye ? v === "svg" : f.namespaceURI === hn ? v === "svg" && (L === "annotation-xml" || pn[L]) : !!fr[v] : h.namespaceURI === hn ? f.namespaceURI === ye ? v === "math" : f.namespaceURI === dn ? v === "math" && fn[L] : !!gr[v] : h.namespaceURI === ye ? f.namespaceURI === dn && !fn[L] || f.namespaceURI === hn && !pn[L] ? !1 : !gr[v] && (al[v] || !fr[v]) : !!(At === "application/xhtml+xml" && di[h.namespaceURI]) : !1;
5013
+ const v = kn(h.tagName), L = kn(f.tagName);
5014
+ return di[h.namespaceURI] ? h.namespaceURI === pn ? f.namespaceURI === ye ? v === "svg" : f.namespaceURI === dn ? v === "svg" && (L === "annotation-xml" || fn[L]) : !!fr[v] : h.namespaceURI === dn ? f.namespaceURI === ye ? v === "math" : f.namespaceURI === pn ? v === "math" && gn[L] : !!gr[v] : h.namespaceURI === ye ? f.namespaceURI === pn && !gn[L] || f.namespaceURI === dn && !fn[L] ? !1 : !gr[v] && (ll[v] || !fr[v]) : !!(Tt === "application/xhtml+xml" && di[h.namespaceURI]) : !1;
4989
5015
  }, de = function(h) {
4990
5016
  Rt(e.removed, {
4991
5017
  element: h
@@ -5008,7 +5034,7 @@ function Pa() {
5008
5034
  });
5009
5035
  }
5010
5036
  if (f.removeAttribute(h), h === "is")
5011
- if (rt || cn)
5037
+ if (rt || un)
5012
5038
  try {
5013
5039
  de(f);
5014
5040
  } catch {
@@ -5026,11 +5052,11 @@ function Pa() {
5026
5052
  const I = mo(h, /^[\r\n\t ]+/);
5027
5053
  v = I && I[0];
5028
5054
  }
5029
- At === "application/xhtml+xml" && lt === ye && (h = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + h + "</body></html>");
5055
+ Tt === "application/xhtml+xml" && lt === ye && (h = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + h + "</body></html>");
5030
5056
  const L = M ? M.createHTML(h) : h;
5031
5057
  if (lt === ye)
5032
5058
  try {
5033
- f = new d().parseFromString(L, At);
5059
+ f = new d().parseFromString(L, Tt);
5034
5060
  } catch {
5035
5061
  }
5036
5062
  if (!f || !f.documentElement) {
@@ -5041,7 +5067,7 @@ function Pa() {
5041
5067
  }
5042
5068
  }
5043
5069
  const B = f.body || f.documentElement;
5044
- return h && v && B.insertBefore(t.createTextNode(v), B.childNodes[0] || null), lt === ye ? Ja.call(f, qe ? "html" : "body")[0] : qe ? f.documentElement : B;
5070
+ return h && v && B.insertBefore(t.createTextNode(v), B.childNodes[0] || null), lt === ye ? el.call(f, qe ? "html" : "body")[0] : qe ? f.documentElement : B;
5045
5071
  }, vr = function(h) {
5046
5072
  return Be.call(
5047
5073
  h.ownerDocument || h,
@@ -5056,7 +5082,7 @@ function Pa() {
5056
5082
  return typeof a == "function" && h instanceof a;
5057
5083
  };
5058
5084
  function $e(b, h, f) {
5059
- vn(b, (v) => {
5085
+ bn(b, (v) => {
5060
5086
  v.call(e, h, f, ct);
5061
5087
  });
5062
5088
  }
@@ -5068,7 +5094,7 @@ function Pa() {
5068
5094
  if ($e(V.uponSanitizeElement, h, {
5069
5095
  tagName: v,
5070
5096
  allowedTags: U
5071
- }), ln && h.hasChildNodes() && !br(h.firstElementChild) && G(/<[/\w!]/g, h.innerHTML) && G(/<[/\w!]/g, h.textContent) || h.nodeType === Ut.progressingInstruction || ln && h.nodeType === Ut.comment && G(/<[/\w]/g, h.data))
5097
+ }), cn && h.hasChildNodes() && !br(h.firstElementChild) && G(/<[/\w!]/g, h.innerHTML) && G(/<[/\w!]/g, h.textContent) || h.nodeType === Ut.progressingInstruction || cn && h.nodeType === Ut.comment && G(/<[/\w]/g, h.data))
5072
5098
  return de(h), !0;
5073
5099
  if (!U[v] || _t[v]) {
5074
5100
  if (!_t[v] && wr(v) && (R.tagNameCheck instanceof RegExp && G(R.tagNameCheck, v) || R.tagNameCheck instanceof Function && R.tagNameCheck(v)))
@@ -5079,22 +5105,22 @@ function Pa() {
5079
5105
  const I = B.length;
5080
5106
  for (let J = I - 1; J >= 0; --J) {
5081
5107
  const we = $(B[J], !0);
5082
- we.__removalCount = (h.__removalCount || 0) + 1, L.insertBefore(we, oe(h));
5108
+ we.__removalCount = (h.__removalCount || 0) + 1, L.insertBefore(we, ae(h));
5083
5109
  }
5084
5110
  }
5085
5111
  }
5086
5112
  return de(h), !0;
5087
5113
  }
5088
- return h instanceof l && !hl(h) || (v === "noscript" || v === "noembed" || v === "noframes") && G(/<\/no(script|embed|frames)/i, h.innerHTML) ? (de(h), !0) : (st && h.nodeType === Ut.text && (f = h.textContent, vn([ni, ii, si], (L) => {
5114
+ return h instanceof l && !dl(h) || (v === "noscript" || v === "noembed" || v === "noframes") && G(/<\/no(script|embed|frames)/i, h.innerHTML) ? (de(h), !0) : (st && h.nodeType === Ut.text && (f = h.textContent, bn([ni, ii, si], (L) => {
5089
5115
  f = It(f, L, " ");
5090
5116
  }), h.textContent !== f && (Rt(e.removed, {
5091
5117
  element: h.cloneNode()
5092
5118
  }), h.textContent = f)), $e(V.afterSanitizeElements, h, null), !1);
5093
5119
  }, $r = function(h, f, v) {
5094
- if (ar && (f === "id" || f === "name") && (v in t || v in ul))
5120
+ if (ar && (f === "id" || f === "name") && (v in t || v in hl))
5095
5121
  return !1;
5096
- if (!(oi && !ri[f] && G(tl, f))) {
5097
- if (!(sr && G(nl, f))) {
5122
+ if (!(oi && !ri[f] && G(nl, f))) {
5123
+ if (!(sr && G(il, f))) {
5098
5124
  if (!D[f] || ri[f]) {
5099
5125
  if (
5100
5126
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
@@ -5107,7 +5133,7 @@ function Pa() {
5107
5133
  } else if (!ui[f]) {
5108
5134
  if (!G(tr, It(v, er, ""))) {
5109
5135
  if (!((f === "src" || f === "xlink:href" || f === "href") && h !== "script" && Lh(v, "data:") === 0 && ur[h])) {
5110
- if (!(rr && !G(il, It(v, er, "")))) {
5136
+ if (!(rr && !G(sl, It(v, er, "")))) {
5111
5137
  if (v)
5112
5138
  return !1;
5113
5139
  }
@@ -5118,7 +5144,7 @@ function Pa() {
5118
5144
  }
5119
5145
  return !0;
5120
5146
  }, wr = function(h) {
5121
- return h !== "annotation-xml" && mo(h, sl);
5147
+ return h !== "annotation-xml" && mo(h, rl);
5122
5148
  }, xr = function(h) {
5123
5149
  $e(V.beforeSanitizeAttributes, h, null);
5124
5150
  const {
@@ -5141,7 +5167,7 @@ function Pa() {
5141
5167
  value: we
5142
5168
  } = B, Ot = N(I), gi = we;
5143
5169
  let q = I === "value" ? gi : Rh(gi);
5144
- if (v.attrName = Ot, v.attrValue = q, v.keepAttr = !0, v.forceKeepAttr = void 0, $e(V.uponSanitizeAttribute, h, v), q = v.attrValue, lr && (Ot === "id" || Ot === "name") && (ut(I, h), q = rl + q), ln && G(/((--!?|])>)|<\/(style|title)/i, q)) {
5170
+ if (v.attrName = Ot, v.attrValue = q, v.keepAttr = !0, v.forceKeepAttr = void 0, $e(V.uponSanitizeAttribute, h, v), q = v.attrValue, lr && (Ot === "id" || Ot === "name") && (ut(I, h), q = ol + q), cn && G(/((--!?|])>)|<\/(style|title)/i, q)) {
5145
5171
  ut(I, h);
5146
5172
  continue;
5147
5173
  }
@@ -5155,7 +5181,7 @@ function Pa() {
5155
5181
  ut(I, h);
5156
5182
  continue;
5157
5183
  }
5158
- st && vn([ni, ii, si], (Sr) => {
5184
+ st && bn([ni, ii, si], (Sr) => {
5159
5185
  q = It(q, Sr, " ");
5160
5186
  });
5161
5187
  const kr = N(h.nodeName);
@@ -5182,7 +5208,7 @@ function Pa() {
5182
5208
  }
5183
5209
  }
5184
5210
  $e(V.afterSanitizeAttributes, h, null);
5185
- }, dl = function b(h) {
5211
+ }, pl = function b(h) {
5186
5212
  let f = null;
5187
5213
  const v = vr(h);
5188
5214
  for ($e(V.beforeSanitizeShadowDOM, h, null); f = v.nextNode(); )
@@ -5199,7 +5225,7 @@ function Pa() {
5199
5225
  throw Pt("toString is not a function");
5200
5226
  if (!e.isSupported)
5201
5227
  return b;
5202
- if (ai || pi(h), e.removed = [], typeof b == "string" && (Tt = !1), Tt) {
5228
+ if (ai || pi(h), e.removed = [], typeof b == "string" && (At = !1), At) {
5203
5229
  if (b.nodeName) {
5204
5230
  const we = N(b.nodeName);
5205
5231
  if (!U[we] || _t[we])
@@ -5210,29 +5236,29 @@ function Pa() {
5210
5236
  else {
5211
5237
  if (!rt && !st && !qe && // eslint-disable-next-line unicorn/prefer-includes
5212
5238
  b.indexOf("<") === -1)
5213
- return M && un ? M.createHTML(b) : b;
5239
+ return M && hn ? M.createHTML(b) : b;
5214
5240
  if (f = mr(b), !f)
5215
- return rt ? null : un ? Fe : "";
5241
+ return rt ? null : hn ? Fe : "";
5216
5242
  }
5217
5243
  f && li && de(f.firstChild);
5218
- const I = vr(Tt ? b : f);
5244
+ const I = vr(At ? b : f);
5219
5245
  for (; L = I.nextNode(); )
5220
- yr(L), xr(L), L.content instanceof r && dl(L.content);
5221
- if (Tt)
5246
+ yr(L), xr(L), L.content instanceof r && pl(L.content);
5247
+ if (At)
5222
5248
  return b;
5223
5249
  if (rt) {
5224
- if (cn)
5225
- for (B = Ka.call(f.ownerDocument); f.firstChild; )
5250
+ if (un)
5251
+ for (B = Ja.call(f.ownerDocument); f.firstChild; )
5226
5252
  B.appendChild(f.firstChild);
5227
5253
  else
5228
5254
  B = f;
5229
- return (D.shadowroot || D.shadowrootmode) && (B = el.call(i, B, !0)), B;
5255
+ return (D.shadowroot || D.shadowrootmode) && (B = tl.call(i, B, !0)), B;
5230
5256
  }
5231
5257
  let J = qe ? f.outerHTML : f.innerHTML;
5232
- return qe && U["!doctype"] && f.ownerDocument && f.ownerDocument.doctype && f.ownerDocument.doctype.name && G(Ia, f.ownerDocument.doctype.name) && (J = "<!DOCTYPE " + f.ownerDocument.doctype.name + `>
5233
- ` + J), st && vn([ni, ii, si], (we) => {
5258
+ return qe && U["!doctype"] && f.ownerDocument && f.ownerDocument.doctype && f.ownerDocument.doctype.name && G(Pa, f.ownerDocument.doctype.name) && (J = "<!DOCTYPE " + f.ownerDocument.doctype.name + `>
5259
+ ` + J), st && bn([ni, ii, si], (we) => {
5234
5260
  J = It(J, we, " ");
5235
- }), M && un ? M.createHTML(J) : J;
5261
+ }), M && hn ? M.createHTML(J) : J;
5236
5262
  }, e.setConfig = function() {
5237
5263
  let b = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
5238
5264
  pi(b), ai = !0;
@@ -5246,7 +5272,7 @@ function Pa() {
5246
5272
  typeof h == "function" && Rt(V[b], h);
5247
5273
  }, e.removeHook = function(b, h) {
5248
5274
  if (h !== void 0) {
5249
- const f = Ah(V[b], h);
5275
+ const f = Th(V[b], h);
5250
5276
  return f === -1 ? void 0 : Oh(V[b], f, 1)[0];
5251
5277
  }
5252
5278
  return go(V[b]);
@@ -5256,7 +5282,7 @@ function Pa() {
5256
5282
  V = xo();
5257
5283
  }, e;
5258
5284
  }
5259
- var Ma = Pa(), Gh = Object.defineProperty, Zh = (n, e, t, i) => {
5285
+ var Ua = Ma(), Gh = Object.defineProperty, Zh = (n, e, t, i) => {
5260
5286
  for (var s = void 0, r = n.length - 1, o; r >= 0; r--)
5261
5287
  (o = n[r]) && (s = o(e, t, s) || s);
5262
5288
  return s && Gh(e, t, s), s;
@@ -5264,12 +5290,12 @@ var Ma = Pa(), Gh = Object.defineProperty, Zh = (n, e, t, i) => {
5264
5290
  const Hs = class Hs extends _ {
5265
5291
  render() {
5266
5292
  return y`<div class="message-type-html">
5267
- ${Ch(Ma.sanitize(this.message.content))}
5293
+ ${Ch(Ua.sanitize(this.message.content))}
5268
5294
  </div>`;
5269
5295
  }
5270
5296
  };
5271
5297
  Hs.styles = [
5272
- A`
5298
+ T`
5273
5299
  :host {
5274
5300
  box-sizing: border-box;
5275
5301
  }
@@ -5324,7 +5350,7 @@ function bs() {
5324
5350
  };
5325
5351
  }
5326
5352
  var nt = bs();
5327
- function Ua(n) {
5353
+ function Na(n) {
5328
5354
  nt = n;
5329
5355
  }
5330
5356
  var jt = { exec: () => null };
@@ -5396,30 +5422,30 @@ var Z = {
5396
5422
  fencesBeginRegex: (n) => new RegExp(`^ {0,${Math.min(3, n - 1)}}(?:\`\`\`|~~~)`),
5397
5423
  headingBeginRegex: (n) => new RegExp(`^ {0,${Math.min(3, n - 1)}}#`),
5398
5424
  htmlBeginRegex: (n) => new RegExp(`^ {0,${Math.min(3, n - 1)}}<(?:[a-z].*>|!--)`, "i")
5399
- }, Yh = /^(?:[ \t]*(?:\n|$))+/, Qh = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Xh = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, an = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Kh = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, ys = /(?:[*+-]|\d{1,9}[.)])/, Na = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, Da = C(Na).replace(/bull/g, ys).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).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/).replace(/\|table/g, "").getRegex(), Jh = C(Na).replace(/bull/g, ys).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).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/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), $s = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, ed = /^[^\n]+/, ws = /(?!\s*\])(?:\\.|[^\[\]\\])+/, td = C(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", ws).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), nd = C(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, ys).getRegex(), ei = "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", xs = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, id = C(
5425
+ }, Yh = /^(?:[ \t]*(?:\n|$))+/, Qh = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Xh = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, ln = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Kh = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, ys = /(?:[*+-]|\d{1,9}[.)])/, Da = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, za = C(Da).replace(/bull/g, ys).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).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/).replace(/\|table/g, "").getRegex(), Jh = C(Da).replace(/bull/g, ys).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).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/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), $s = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, ed = /^[^\n]+/, ws = /(?!\s*\])(?:\\.|[^\[\]\\])+/, td = C(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", ws).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), nd = C(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, ys).getRegex(), ei = "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", xs = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, id = C(
5400
5426
  "^ {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|$))",
5401
5427
  "i"
5402
- ).replace("comment", xs).replace("tag", ei).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), za = C($s).replace("hr", an).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", ei).getRegex(), sd = C(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", za).getRegex(), ks = {
5428
+ ).replace("comment", xs).replace("tag", ei).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), Ha = C($s).replace("hr", ln).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", ei).getRegex(), sd = C(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", Ha).getRegex(), ks = {
5403
5429
  blockquote: sd,
5404
5430
  code: Qh,
5405
5431
  def: td,
5406
5432
  fences: Xh,
5407
5433
  heading: Kh,
5408
- hr: an,
5434
+ hr: ln,
5409
5435
  html: id,
5410
- lheading: Da,
5436
+ lheading: za,
5411
5437
  list: nd,
5412
5438
  newline: Yh,
5413
- paragraph: za,
5439
+ paragraph: Ha,
5414
5440
  table: jt,
5415
5441
  text: ed
5416
5442
  }, ko = C(
5417
5443
  "^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"
5418
- ).replace("hr", an).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\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", ei).getRegex(), rd = {
5444
+ ).replace("hr", ln).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\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", ei).getRegex(), rd = {
5419
5445
  ...ks,
5420
5446
  lheading: Jh,
5421
5447
  table: ko,
5422
- paragraph: C($s).replace("hr", an).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", ko).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", ei).getRegex()
5448
+ paragraph: C($s).replace("hr", ln).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", ko).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", ei).getRegex()
5423
5449
  }, od = {
5424
5450
  ...ks,
5425
5451
  html: C(
@@ -5430,20 +5456,20 @@ var Z = {
5430
5456
  fences: jt,
5431
5457
  // fences not supported
5432
5458
  lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
5433
- paragraph: C($s).replace("hr", an).replace("heading", ` *#{1,6} *[^
5434
- ]`).replace("lheading", Da).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
5435
- }, ad = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, ld = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Ha = /^( {2,}|\\)\n(?!\s*$)/, cd = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, ti = /[\p{P}\p{S}]/u, Ss = /[\s\p{P}\p{S}]/u, Fa = /[^\s\p{P}\p{S}]/u, ud = C(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, Ss).getRegex(), ja = /(?!~)[\p{P}\p{S}]/u, hd = /(?!~)[\s\p{P}\p{S}]/u, dd = /(?:[^\s\p{P}\p{S}]|~)/u, pd = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, Ba = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, fd = C(Ba, "u").replace(/punct/g, ti).getRegex(), gd = C(Ba, "u").replace(/punct/g, ja).getRegex(), qa = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", md = C(qa, "gu").replace(/notPunctSpace/g, Fa).replace(/punctSpace/g, Ss).replace(/punct/g, ti).getRegex(), vd = C(qa, "gu").replace(/notPunctSpace/g, dd).replace(/punctSpace/g, hd).replace(/punct/g, ja).getRegex(), bd = C(
5459
+ paragraph: C($s).replace("hr", ln).replace("heading", ` *#{1,6} *[^
5460
+ ]`).replace("lheading", za).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
5461
+ }, ad = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, ld = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Fa = /^( {2,}|\\)\n(?!\s*$)/, cd = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, ti = /[\p{P}\p{S}]/u, Ss = /[\s\p{P}\p{S}]/u, ja = /[^\s\p{P}\p{S}]/u, ud = C(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, Ss).getRegex(), Ba = /(?!~)[\p{P}\p{S}]/u, hd = /(?!~)[\s\p{P}\p{S}]/u, dd = /(?:[^\s\p{P}\p{S}]|~)/u, pd = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, qa = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, fd = C(qa, "u").replace(/punct/g, ti).getRegex(), gd = C(qa, "u").replace(/punct/g, Ba).getRegex(), Va = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", md = C(Va, "gu").replace(/notPunctSpace/g, ja).replace(/punctSpace/g, Ss).replace(/punct/g, ti).getRegex(), vd = C(Va, "gu").replace(/notPunctSpace/g, dd).replace(/punctSpace/g, hd).replace(/punct/g, Ba).getRegex(), bd = C(
5436
5462
  "^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)",
5437
5463
  "gu"
5438
- ).replace(/notPunctSpace/g, Fa).replace(/punctSpace/g, Ss).replace(/punct/g, ti).getRegex(), yd = C(/\\(punct)/, "gu").replace(/punct/g, ti).getRegex(), $d = C(/^<(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(), wd = C(xs).replace("(?:-->|$)", "-->").getRegex(), xd = C(
5464
+ ).replace(/notPunctSpace/g, ja).replace(/punctSpace/g, Ss).replace(/punct/g, ti).getRegex(), yd = C(/\\(punct)/, "gu").replace(/punct/g, ti).getRegex(), $d = C(/^<(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(), wd = C(xs).replace("(?:-->|$)", "-->").getRegex(), xd = C(
5439
5465
  "^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>"
5440
- ).replace("comment", wd).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), zn = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, kd = C(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", zn).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), Va = C(/^!?\[(label)\]\[(ref)\]/).replace("label", zn).replace("ref", ws).getRegex(), Wa = C(/^!?\[(ref)\](?:\[\])?/).replace("ref", ws).getRegex(), Sd = C("reflink|nolink(?!\\()", "g").replace("reflink", Va).replace("nolink", Wa).getRegex(), Cs = {
5466
+ ).replace("comment", wd).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), zn = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, kd = C(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", zn).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), Wa = C(/^!?\[(label)\]\[(ref)\]/).replace("label", zn).replace("ref", ws).getRegex(), Ga = C(/^!?\[(ref)\](?:\[\])?/).replace("ref", ws).getRegex(), Sd = C("reflink|nolink(?!\\()", "g").replace("reflink", Wa).replace("nolink", Ga).getRegex(), Cs = {
5441
5467
  _backpedal: jt,
5442
5468
  // only used for GFM url
5443
5469
  anyPunctuation: yd,
5444
5470
  autolink: $d,
5445
5471
  blockSkip: pd,
5446
- br: Ha,
5472
+ br: Fa,
5447
5473
  code: ld,
5448
5474
  del: jt,
5449
5475
  emStrongLDelim: fd,
@@ -5451,9 +5477,9 @@ var Z = {
5451
5477
  emStrongRDelimUnd: bd,
5452
5478
  escape: ad,
5453
5479
  link: kd,
5454
- nolink: Wa,
5480
+ nolink: Ga,
5455
5481
  punctuation: ud,
5456
- reflink: Va,
5482
+ reflink: Wa,
5457
5483
  reflinkSearch: Sd,
5458
5484
  tag: xd,
5459
5485
  text: cd,
@@ -5472,9 +5498,9 @@ var Z = {
5472
5498
  text: /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/
5473
5499
  }, Ed = {
5474
5500
  ...Qi,
5475
- br: C(Ha).replace("{2,}", "*").getRegex(),
5501
+ br: C(Fa).replace("{2,}", "*").getRegex(),
5476
5502
  text: C(Qi.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
5477
- }, yn = {
5503
+ }, $n = {
5478
5504
  normal: ks,
5479
5505
  gfm: rd,
5480
5506
  pedantic: od
@@ -5532,7 +5558,7 @@ function Dt(n, e, t) {
5532
5558
  s++;
5533
5559
  return n.slice(0, i - s);
5534
5560
  }
5535
- function Td(n, e) {
5561
+ function Ad(n, e) {
5536
5562
  if (n.indexOf(e[1]) === -1)
5537
5563
  return -1;
5538
5564
  let t = 0;
@@ -5558,7 +5584,7 @@ function _o(n, e, t, i, s) {
5558
5584
  };
5559
5585
  return i.state.inLink = !1, l;
5560
5586
  }
5561
- function Ad(n, e, t) {
5587
+ function Td(n, e, t) {
5562
5588
  const i = n.match(t.other.indentCodeCompensation);
5563
5589
  if (i === null)
5564
5590
  return e;
@@ -5576,10 +5602,10 @@ function Ad(n, e, t) {
5576
5602
  var Hn = class {
5577
5603
  // set by the lexer
5578
5604
  constructor(n) {
5579
- T(this, "options");
5580
- T(this, "rules");
5605
+ A(this, "options");
5606
+ A(this, "rules");
5581
5607
  // set by the lexer
5582
- T(this, "lexer");
5608
+ A(this, "lexer");
5583
5609
  this.options = n || nt;
5584
5610
  }
5585
5611
  space(n) {
@@ -5606,7 +5632,7 @@ var Hn = class {
5606
5632
  fences(n) {
5607
5633
  const e = this.rules.block.fences.exec(n);
5608
5634
  if (e) {
5609
- const t = e[0], i = Ad(t, e[3] || "", this.rules);
5635
+ const t = e[0], i = Td(t, e[3] || "", this.rules);
5610
5636
  return {
5611
5637
  type: "code",
5612
5638
  raw: t,
@@ -5716,16 +5742,16 @@ ${u}` : u;
5716
5742
  break;
5717
5743
  c = e[0], n = n.substring(c.length);
5718
5744
  let p = e[2].split(`
5719
- `, 1)[0].replace(this.rules.other.listReplaceTabs, (oe) => " ".repeat(3 * oe.length)), d = n.split(`
5745
+ `, 1)[0].replace(this.rules.other.listReplaceTabs, (ae) => " ".repeat(3 * ae.length)), d = n.split(`
5720
5746
  `, 1)[0], g = !p.trim(), m = 0;
5721
5747
  if (this.options.pedantic ? (m = 2, u = p.trimStart()) : g ? m = e[1].length + 1 : (m = e[2].search(this.rules.other.nonSpaceChar), m = m > 4 ? 1 : m, u = p.slice(m), m += e[1].length), g && this.rules.other.blankLine.test(d) && (c += d + `
5722
5748
  `, n = n.substring(d.length + 1), l = !0), !l) {
5723
- const oe = this.rules.other.nextBulletRegex(m), Ie = this.rules.other.hrRegex(m), He = this.rules.other.fencesBeginRegex(m), M = this.rules.other.headingBeginRegex(m), Fe = this.rules.other.htmlBeginRegex(m);
5749
+ const ae = this.rules.other.nextBulletRegex(m), Ie = this.rules.other.hrRegex(m), He = this.rules.other.fencesBeginRegex(m), M = this.rules.other.headingBeginRegex(m), Fe = this.rules.other.htmlBeginRegex(m);
5724
5750
  for (; n; ) {
5725
5751
  const je = n.split(`
5726
5752
  `, 1)[0];
5727
5753
  let Be;
5728
- if (d = je, this.options.pedantic ? (d = d.replace(this.rules.other.listReplaceNesting, " "), Be = d) : Be = d.replace(this.rules.other.tabCharGlobal, " "), He.test(d) || M.test(d) || Fe.test(d) || oe.test(d) || Ie.test(d))
5754
+ if (d = je, this.options.pedantic ? (d = d.replace(this.rules.other.listReplaceNesting, " "), Be = d) : Be = d.replace(this.rules.other.tabCharGlobal, " "), He.test(d) || M.test(d) || Fe.test(d) || ae.test(d) || Ie.test(d))
5729
5755
  break;
5730
5756
  if (Be.search(this.rules.other.nonSpaceChar) >= m || !d.trim())
5731
5757
  u += `
@@ -5892,7 +5918,7 @@ ${u}` : u;
5892
5918
  if ((t.length - r.length) % 2 === 0)
5893
5919
  return;
5894
5920
  } else {
5895
- const r = Td(e[2], "()");
5921
+ const r = Ad(e[2], "()");
5896
5922
  if (r === -2)
5897
5923
  return;
5898
5924
  if (r > -1) {
@@ -6057,11 +6083,11 @@ ${u}` : u;
6057
6083
  }
6058
6084
  }, Ce = class Xi {
6059
6085
  constructor(e) {
6060
- T(this, "tokens");
6061
- T(this, "options");
6062
- T(this, "state");
6063
- T(this, "tokenizer");
6064
- T(this, "inlineQueue");
6086
+ A(this, "tokens");
6087
+ A(this, "options");
6088
+ A(this, "state");
6089
+ A(this, "tokenizer");
6090
+ A(this, "inlineQueue");
6065
6091
  this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = e || nt, this.options.tokenizer = this.options.tokenizer || new Hn(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
6066
6092
  inLink: !1,
6067
6093
  inRawBlock: !1,
@@ -6069,17 +6095,17 @@ ${u}` : u;
6069
6095
  };
6070
6096
  const t = {
6071
6097
  other: Z,
6072
- block: yn.normal,
6098
+ block: $n.normal,
6073
6099
  inline: Nt.normal
6074
6100
  };
6075
- this.options.pedantic ? (t.block = yn.pedantic, t.inline = Nt.pedantic) : this.options.gfm && (t.block = yn.gfm, this.options.breaks ? t.inline = Nt.breaks : t.inline = Nt.gfm), this.tokenizer.rules = t;
6101
+ this.options.pedantic ? (t.block = $n.pedantic, t.inline = Nt.pedantic) : this.options.gfm && (t.block = $n.gfm, this.options.breaks ? t.inline = Nt.breaks : t.inline = Nt.gfm), this.tokenizer.rules = t;
6076
6102
  }
6077
6103
  /**
6078
6104
  * Expose Rules
6079
6105
  */
6080
6106
  static get rules() {
6081
6107
  return {
6082
- block: yn,
6108
+ block: $n,
6083
6109
  inline: Nt
6084
6110
  };
6085
6111
  }
@@ -6299,11 +6325,11 @@ ${u}` : u;
6299
6325
  }
6300
6326
  return t;
6301
6327
  }
6302
- }, Qt = class {
6328
+ }, Xt = class {
6303
6329
  // set by the parser
6304
6330
  constructor(n) {
6305
- T(this, "options");
6306
- T(this, "parser");
6331
+ A(this, "options");
6332
+ A(this, "parser");
6307
6333
  this.options = n || nt;
6308
6334
  }
6309
6335
  space(n) {
@@ -6465,10 +6491,10 @@ ${n}</tr>
6465
6491
  }
6466
6492
  }, Ee = class Ki {
6467
6493
  constructor(e) {
6468
- T(this, "options");
6469
- T(this, "renderer");
6470
- T(this, "textRenderer");
6471
- this.options = e || nt, this.options.renderer = this.options.renderer || new Qt(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new Es();
6494
+ A(this, "options");
6495
+ A(this, "renderer");
6496
+ A(this, "textRenderer");
6497
+ this.options = e || nt, this.options.renderer = this.options.renderer || new Xt(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new Es();
6472
6498
  }
6473
6499
  /**
6474
6500
  * Static Parse Method
@@ -6625,10 +6651,10 @@ ${n}</tr>
6625
6651
  }
6626
6652
  return i;
6627
6653
  }
6628
- }, Li, kn = (Li = class {
6654
+ }, Li, Sn = (Li = class {
6629
6655
  constructor(n) {
6630
- T(this, "options");
6631
- T(this, "block");
6656
+ A(this, "options");
6657
+ A(this, "block");
6632
6658
  this.options = n || nt;
6633
6659
  }
6634
6660
  /**
@@ -6661,22 +6687,22 @@ ${n}</tr>
6661
6687
  provideParser() {
6662
6688
  return this.block ? Ee.parse : Ee.parseInline;
6663
6689
  }
6664
- }, T(Li, "passThroughHooks", /* @__PURE__ */ new Set([
6690
+ }, A(Li, "passThroughHooks", /* @__PURE__ */ new Set([
6665
6691
  "preprocess",
6666
6692
  "postprocess",
6667
6693
  "processAllTokens"
6668
6694
  ])), Li), Od = class {
6669
6695
  constructor(...n) {
6670
- T(this, "defaults", bs());
6671
- T(this, "options", this.setOptions);
6672
- T(this, "parse", this.parseMarkdown(!0));
6673
- T(this, "parseInline", this.parseMarkdown(!1));
6674
- T(this, "Parser", Ee);
6675
- T(this, "Renderer", Qt);
6676
- T(this, "TextRenderer", Es);
6677
- T(this, "Lexer", Ce);
6678
- T(this, "Tokenizer", Hn);
6679
- T(this, "Hooks", kn);
6696
+ A(this, "defaults", bs());
6697
+ A(this, "options", this.setOptions);
6698
+ A(this, "parse", this.parseMarkdown(!0));
6699
+ A(this, "parseInline", this.parseMarkdown(!1));
6700
+ A(this, "Parser", Ee);
6701
+ A(this, "Renderer", Xt);
6702
+ A(this, "TextRenderer", Es);
6703
+ A(this, "Lexer", Ce);
6704
+ A(this, "Tokenizer", Hn);
6705
+ A(this, "Hooks", Sn);
6680
6706
  this.use(...n);
6681
6707
  }
6682
6708
  /**
@@ -6733,7 +6759,7 @@ ${n}</tr>
6733
6759
  }
6734
6760
  "childTokens" in s && s.childTokens && (e.childTokens[s.name] = s.childTokens);
6735
6761
  }), i.extensions = e), t.renderer) {
6736
- const s = this.defaults.renderer || new Qt(this.defaults);
6762
+ const s = this.defaults.renderer || new Xt(this.defaults);
6737
6763
  for (const r in t.renderer) {
6738
6764
  if (!(r in s))
6739
6765
  throw new Error(`renderer '${r}' does not exist`);
@@ -6763,14 +6789,14 @@ ${n}</tr>
6763
6789
  i.tokenizer = s;
6764
6790
  }
6765
6791
  if (t.hooks) {
6766
- const s = this.defaults.hooks || new kn();
6792
+ const s = this.defaults.hooks || new Sn();
6767
6793
  for (const r in t.hooks) {
6768
6794
  if (!(r in s))
6769
6795
  throw new Error(`hook '${r}' does not exist`);
6770
6796
  if (["options", "block"].includes(r))
6771
6797
  continue;
6772
6798
  const o = r, a = t.hooks[o], l = s[o];
6773
- kn.passThroughHooks.has(r) ? s[o] = (c) => {
6799
+ Sn.passThroughHooks.has(r) ? s[o] = (c) => {
6774
6800
  if (this.defaults.async)
6775
6801
  return Promise.resolve(a.call(s, c)).then((p) => l.call(s, p));
6776
6802
  const u = a.call(s, c);
@@ -6842,12 +6868,12 @@ function S(n, e) {
6842
6868
  return et.parse(n, e);
6843
6869
  }
6844
6870
  S.options = S.setOptions = function(n) {
6845
- return et.setOptions(n), S.defaults = et.defaults, Ua(S.defaults), S;
6871
+ return et.setOptions(n), S.defaults = et.defaults, Na(S.defaults), S;
6846
6872
  };
6847
6873
  S.getDefaults = bs;
6848
6874
  S.defaults = nt;
6849
6875
  S.use = function(...n) {
6850
- return et.use(...n), S.defaults = et.defaults, Ua(S.defaults), S;
6876
+ return et.use(...n), S.defaults = et.defaults, Na(S.defaults), S;
6851
6877
  };
6852
6878
  S.walkTokens = function(n, e) {
6853
6879
  return et.walkTokens(n, e);
@@ -6855,12 +6881,12 @@ S.walkTokens = function(n, e) {
6855
6881
  S.parseInline = et.parseInline;
6856
6882
  S.Parser = Ee;
6857
6883
  S.parser = Ee.parse;
6858
- S.Renderer = Qt;
6884
+ S.Renderer = Xt;
6859
6885
  S.TextRenderer = Es;
6860
6886
  S.Lexer = Ce;
6861
6887
  S.lexer = Ce.lex;
6862
6888
  S.Tokenizer = Hn;
6863
- S.Hooks = kn;
6889
+ S.Hooks = Sn;
6864
6890
  S.parse = S;
6865
6891
  S.options;
6866
6892
  S.setOptions;
@@ -6869,16 +6895,16 @@ S.walkTokens;
6869
6895
  S.parseInline;
6870
6896
  Ee.parse;
6871
6897
  Ce.lex;
6872
- var Ld = Object.defineProperty, Ga = (n, e, t, i) => {
6898
+ var Ld = Object.defineProperty, Za = (n, e, t, i) => {
6873
6899
  for (var s = void 0, r = n.length - 1, o; r >= 0; r--)
6874
6900
  (o = n[r]) && (s = o(e, t, s) || s);
6875
6901
  return s && Ld(e, t, s), s;
6876
6902
  };
6877
- const Za = new Qt();
6878
- Za.link = function({ href: n, title: e, text: t }) {
6903
+ const Ya = new Xt();
6904
+ Ya.link = function({ href: n, title: e, text: t }) {
6879
6905
  return e ?? (e = t), `<a target="_blank" href="${n}" title="${e}">${t}</a>`;
6880
6906
  };
6881
- S.use({ renderer: Za });
6907
+ S.use({ renderer: Ya });
6882
6908
  const Fs = class Fs extends _ {
6883
6909
  constructor() {
6884
6910
  super(...arguments), this.showLightbox = !1, this.imageUrl = "", this.altText = "", this.scrollRef = ge(), this.contentRef = ge(), this.autoScroll = !0, this.buffer = "", this.pointer = 0, this.imageRegexp = new RegExp(/!\[[^[]*\([^)]*\)/gm);
@@ -6926,7 +6952,7 @@ const Fs = class Fs extends _ {
6926
6952
  const e = this.getLastChunk();
6927
6953
  if (!e) return;
6928
6954
  this.buffer += e;
6929
- const t = Ma.sanitize(
6955
+ const t = Ua.sanitize(
6930
6956
  S.parse(this.buffer)
6931
6957
  );
6932
6958
  if (this.includesImage(this.buffer))
@@ -6958,7 +6984,7 @@ const Fs = class Fs extends _ {
6958
6984
  }
6959
6985
  };
6960
6986
  Fs.styles = [
6961
- A`
6987
+ T`
6962
6988
  :host {
6963
6989
  box-sizing: border-box;
6964
6990
  }
@@ -6998,13 +7024,13 @@ Fs.styles = [
6998
7024
  }
6999
7025
  `
7000
7026
  ];
7001
- let Xt = Fs;
7002
- Ga([
7027
+ let Kt = Fs;
7028
+ Za([
7003
7029
  k({ attribute: !1 })
7004
- ], Xt.prototype, "message");
7005
- Ga([
7030
+ ], Kt.prototype, "message");
7031
+ Za([
7006
7032
  O()
7007
- ], Xt.prototype, "showLightbox");
7033
+ ], Kt.prototype, "showLightbox");
7008
7034
  var Rd = Object.defineProperty, Id = (n, e, t, i) => {
7009
7035
  for (var s = void 0, r = n.length - 1, o; r >= 0; r--)
7010
7036
  (o = n[r]) && (s = o(e, t, s) || s);
@@ -7047,14 +7073,14 @@ const js = class js extends _ {
7047
7073
  @keydown=${this.handleKeyDown}
7048
7074
  >
7049
7075
  <button class="close" @click=${this.closeLightbox}>
7050
- <telia-icon svg=${Vc.svg} size="lg"></telia-icon>
7076
+ <telia-icon svg=${Wc.svg} size="lg"></telia-icon>
7051
7077
  </button>
7052
7078
  <img src="${this.imageUrl}" alt="${this.altText ?? ""}" />
7053
7079
  </div> `;
7054
7080
  }
7055
7081
  };
7056
7082
  js.styles = [
7057
- A`
7083
+ T`
7058
7084
  :focus {
7059
7085
  outline-color: var(--focus-color);
7060
7086
  }
@@ -7103,17 +7129,17 @@ var Pd = Object.defineProperty, Re = (n, e, t, i) => {
7103
7129
  (o = n[r]) && (s = o(e, t, s) || s);
7104
7130
  return s && Pd(e, t, s), s;
7105
7131
  };
7106
- customElements.get("conversation-entry") || customElements.define("conversation-entry", Un);
7107
- customElements.get("ace-conversation-feed") || customElements.define("ace-conversation-feed", Yt);
7132
+ customElements.get("conversation-entry") || customElements.define("conversation-entry", Yt);
7133
+ customElements.get("ace-conversation-feed") || customElements.define("ace-conversation-feed", Qt);
7108
7134
  customElements.get("conversation-group") || customElements.define("conversation-group", Nn);
7109
7135
  customElements.get("ace-typing-state") || customElements.define("ace-typing-state", Wi);
7110
7136
  customElements.get("message-type-html") || customElements.define("message-type-html", Dn);
7111
- customElements.get("message-type-markdown") || customElements.define("message-type-markdown", Xt);
7137
+ customElements.get("message-type-markdown") || customElements.define("message-type-markdown", Kt);
7112
7138
  customElements.get("ace-lightbox") || customElements.define("ace-lightbox", Fn);
7113
- const To = Ea(_), Bs = class Bs extends To {
7139
+ const Ao = Ea(_), Bs = class Bs extends Ao {
7114
7140
  constructor() {
7115
- super(...arguments), this.message = "", this.disabledInput = !1, this.disabledSkipToLatest = !1, this.disabledSubmit = !1, this.chatOverlayActive = !1, this.textAreaLength = 0, this.isMuted = !1, this.conversationContentRef = ge(), this.conversationFeedRef = ge(), this.formRef = ge(), this.inputRef = ge(), this.scrollRef = ge(), this.counterRef = ge(), this.chatScrollHeight = 0, this.chatCurrentScrollPosition = 0, this.toast = new mh(this), this.messageMaxLength = 1e3, this.messageMaxLengthLabel = "Maximum character limit reached", this.skipToLatestMessageLabel = "Skip to latest message", this.platform = null, this.entries = [], this.typing = !1, this.conversationState$ = new ce("waiting"), this.stateMachine = new bh(this.conversationState$, this), this.provider$ = this.stateMachine.session().pipe(
7116
- Te((e) => e ? e == null ? void 0 : e.provider$ : Pi(null))
7141
+ super(...arguments), this.message = "", this.disabledInput = !1, this.disabledSkipToLatest = !1, this.disabledSubmit = !1, this.chatOverlayActive = !1, this.textAreaLength = 0, this.isMuted = !1, this.conversationContentRef = ge(), this.conversationFeedRef = ge(), this.formRef = ge(), this.inputRef = ge(), this.scrollRef = ge(), this.counterRef = ge(), this.chatScrollHeight = 0, this.chatCurrentScrollPosition = 0, this.toast = new vh(this), this.messageMaxLength = 1e3, this.messageMaxLengthLabel = "Maximum character limit reached", this.skipToLatestMessageLabel = "Skip to latest message", this.platform = null, this.entries = [], this.typing = !1, this.conversationState$ = new ue("waiting"), this.stateMachine = new yh(this.conversationState$, this), this.provider$ = this.stateMachine.session().pipe(
7142
+ Ae((e) => e ? e == null ? void 0 : e.provider$ : Pi(null))
7117
7143
  ), this.userTyping$ = new P();
7118
7144
  }
7119
7145
  async connectedCallback() {
@@ -7126,12 +7152,12 @@ const To = Ea(_), Bs = class Bs extends To {
7126
7152
  t && t.widgetActive$.pipe(z(t.componentIsDestroyed$)).subscribe((i) => {
7127
7153
  const s = this.conversationContentRef.value;
7128
7154
  s && (i ? s.scrollTop = this.chatCurrentScrollPosition : this.chatCurrentScrollPosition = s.scrollTop);
7129
- }), this.stateSubscription = ic([
7155
+ }), this.stateSubscription = sc([
7130
7156
  this.stateMachine.entries(),
7131
7157
  this.stateMachine.isTyping()
7132
7158
  ]).subscribe(([i, s]) => {
7133
7159
  this.entries = i, this.typing = s;
7134
- }), this.userSubmitSubscription = _n(
7160
+ }), this.userSubmitSubscription = An(
7135
7161
  this,
7136
7162
  "user-submit"
7137
7163
  ).pipe(Ui(this.provider$)).subscribe(([i, s]) => {
@@ -7362,8 +7388,8 @@ const To = Ea(_), Bs = class Bs extends To {
7362
7388
  }
7363
7389
  };
7364
7390
  Bs.styles = [
7365
- To.styles || [],
7366
- A`
7391
+ Ao.styles || [],
7392
+ T`
7367
7393
  :host {
7368
7394
  font-family: var(--font-family);
7369
7395
  /* --send-icon-color: var(--gray-dark-color, #a6a6a6); */
@@ -7647,34 +7673,34 @@ Bs.styles = [
7647
7673
  }
7648
7674
  `
7649
7675
  ];
7650
- let ue = Bs;
7676
+ let he = Bs;
7651
7677
  Re([
7652
7678
  O()
7653
- ], ue.prototype, "message");
7679
+ ], he.prototype, "message");
7654
7680
  Re([
7655
7681
  O()
7656
- ], ue.prototype, "disabledInput");
7682
+ ], he.prototype, "disabledInput");
7657
7683
  Re([
7658
7684
  O()
7659
- ], ue.prototype, "disabledSkipToLatest");
7685
+ ], he.prototype, "disabledSkipToLatest");
7660
7686
  Re([
7661
7687
  O()
7662
- ], ue.prototype, "disabledSubmit");
7688
+ ], he.prototype, "disabledSubmit");
7663
7689
  Re([
7664
7690
  O()
7665
- ], ue.prototype, "chatOverlayActive");
7691
+ ], he.prototype, "chatOverlayActive");
7666
7692
  Re([
7667
7693
  O()
7668
- ], ue.prototype, "textAreaLength");
7694
+ ], he.prototype, "textAreaLength");
7669
7695
  Re([
7670
7696
  O()
7671
- ], ue.prototype, "platform");
7697
+ ], he.prototype, "platform");
7672
7698
  Re([
7673
7699
  O()
7674
- ], ue.prototype, "entries");
7700
+ ], he.prototype, "entries");
7675
7701
  Re([
7676
7702
  O()
7677
- ], ue.prototype, "typing");
7703
+ ], he.prototype, "typing");
7678
7704
  var _e = /* @__PURE__ */ ((n) => (n.Tunnistus = "tunnistus", n.BankId = "bankid", n.Freja = "freja", n))(_e || {}), H = /* @__PURE__ */ ((n) => (n.Pending = "pending", n.Authenticated = "authenticated", n.Error = "error", n))(H || {});
7679
7705
  class Bt {
7680
7706
  constructor(e) {
@@ -7952,7 +7978,7 @@ const Gd = () => "10000000-1000-4000-8000-100000000000".replace(
7952
7978
  function es(n) {
7953
7979
  return /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(n);
7954
7980
  }
7955
- function Ya(n) {
7981
+ function Qa(n) {
7956
7982
  return n.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase();
7957
7983
  }
7958
7984
  function Zd(n) {
@@ -7978,7 +8004,7 @@ class Yd {
7978
8004
  text: this.config.errorMessage ?? "An error occured",
7979
8005
  source: "system"
7980
8006
  }), new j())),
7981
- Te(() => this.poll().pipe(
8007
+ Ae(() => this.poll().pipe(
7982
8008
  vi(() => this.poll()),
7983
8009
  // Using concatMap here to ensure that each http request gets handled in order
7984
8010
  bi()
@@ -8005,7 +8031,7 @@ class Yd {
8005
8031
  text: this.config.errorMessage ?? "An error occured",
8006
8032
  source: "system"
8007
8033
  }), new j())),
8008
- Te(() => this.poll().pipe(
8034
+ Ae(() => this.poll().pipe(
8009
8035
  vi(() => this.poll()),
8010
8036
  // Using concatMap here to ensure that each http request gets handled in order
8011
8037
  bi()
@@ -8020,7 +8046,7 @@ class Yd {
8020
8046
  );
8021
8047
  }
8022
8048
  poll() {
8023
- return ac(
8049
+ return lc(
8024
8050
  () => Ye(
8025
8051
  this.client.chatRead({
8026
8052
  uid: this.sessionId,
@@ -8029,7 +8055,7 @@ class Yd {
8029
8055
  maxObjectId: this.lastObjectId
8030
8056
  })
8031
8057
  ).pipe(
8032
- gc((e) => {
8058
+ mc((e) => {
8033
8059
  this.processMessages(e);
8034
8060
  })
8035
8061
  )
@@ -8086,7 +8112,7 @@ class Yd {
8086
8112
  text: t.message,
8087
8113
  source: t.source,
8088
8114
  invitationNo: t.invitationNo.toString(),
8089
- alias: t.alias
8115
+ alias: t.alias || t.agentAlias
8090
8116
  }), Ud(t) && this.actionsSubject$.next({
8091
8117
  penStatus: t.penStatus,
8092
8118
  type: "pen-status"
@@ -8095,7 +8121,7 @@ class Yd {
8095
8121
  type: "queue-status"
8096
8122
  }), ke(t) && t.infoType === "established" && this.actionsSubject$.next({
8097
8123
  text: t.text,
8098
- agent: t.agent,
8124
+ agentAlias: t.agentAlias,
8099
8125
  type: "established",
8100
8126
  videoEnded: t.videoEnded,
8101
8127
  contactId: t.contactId,
@@ -8315,12 +8341,12 @@ let it = (bt = class extends _ {
8315
8341
  ></ace-contact-data-field>
8316
8342
  <div
8317
8343
  class="warning-row"
8318
- data-testid=${`form-${Ya(t.name)}-warning`}
8344
+ data-testid=${`form-${Qa(t.name)}-warning`}
8319
8345
  style="display: ${this.showValidationWarning && this.validationErrors.includes(t.name) ? "flex" : "none"};"
8320
8346
  >
8321
8347
  <telia-icon
8322
8348
  class="error-icon"
8323
- svg=${Wc.svg}
8349
+ svg=${Gc.svg}
8324
8350
  ></telia-icon>
8325
8351
  <p class="error-text">${t.errorText}</p>
8326
8352
  </div>
@@ -8334,7 +8360,7 @@ let it = (bt = class extends _ {
8334
8360
  </div>`;
8335
8361
  }
8336
8362
  }, bt.styles = [
8337
- A`
8363
+ T`
8338
8364
  :host {
8339
8365
  display: block;
8340
8366
  }
@@ -8433,11 +8459,11 @@ Et([
8433
8459
  O()
8434
8460
  ], it.prototype, "showValidationWarning");
8435
8461
  Et([
8436
- he({ context: re }),
8462
+ oe({ context: ne }),
8437
8463
  k({ attribute: !1 })
8438
8464
  ], it.prototype, "application");
8439
8465
  window.customElements.get("ace-welcome-form") || window.customElements.define("ace-welcome-form", it);
8440
- var Xd = Object.defineProperty, Ts = (n, e, t, i) => {
8466
+ var Xd = Object.defineProperty, As = (n, e, t, i) => {
8441
8467
  for (var s = void 0, r = n.length - 1, o; r >= 0; r--)
8442
8468
  (o = n[r]) && (s = o(e, t, s) || s);
8443
8469
  return s && Xd(e, t, s), s;
@@ -8508,7 +8534,7 @@ const qs = class qs extends _ {
8508
8534
  }
8509
8535
  };
8510
8536
  qs.styles = [
8511
- A`
8537
+ T`
8512
8538
  :host {
8513
8539
  display: block;
8514
8540
  visibility: visible;
@@ -8589,18 +8615,18 @@ qs.styles = [
8589
8615
  `
8590
8616
  ];
8591
8617
  let kt = qs;
8592
- Ts([
8618
+ As([
8593
8619
  O()
8594
8620
  ], kt.prototype, "submitted");
8595
- Ts([
8621
+ As([
8596
8622
  O()
8597
8623
  ], kt.prototype, "name");
8598
- Ts([
8599
- he({ context: re }),
8624
+ As([
8625
+ oe({ context: ne }),
8600
8626
  k({ attribute: !1 })
8601
8627
  ], kt.prototype, "application");
8602
8628
  window.customElements.get("ace-welcome-form-third-party") || window.customElements.define("ace-welcome-form-third-party", kt);
8603
- var Kd = Object.defineProperty, As = (n, e, t, i) => {
8629
+ var Kd = Object.defineProperty, Ts = (n, e, t, i) => {
8604
8630
  for (var s = void 0, r = n.length - 1, o; r >= 0; r--)
8605
8631
  (o = n[r]) && (s = o(e, t, s) || s);
8606
8632
  return s && Kd(e, t, s), s;
@@ -8675,7 +8701,7 @@ const Vs = class Vs extends _ {
8675
8701
  }
8676
8702
  };
8677
8703
  Vs.styles = [
8678
- A`
8704
+ T`
8679
8705
  :host {
8680
8706
  display: block;
8681
8707
  }
@@ -8752,14 +8778,14 @@ Vs.styles = [
8752
8778
  `
8753
8779
  ];
8754
8780
  let St = Vs;
8755
- As([
8781
+ Ts([
8756
8782
  O()
8757
8783
  ], St.prototype, "email");
8758
- As([
8784
+ Ts([
8759
8785
  O()
8760
8786
  ], St.prototype, "isEmailValid");
8761
- As([
8762
- he({ context: re }),
8787
+ Ts([
8788
+ oe({ context: ne }),
8763
8789
  k({ attribute: !1 })
8764
8790
  ], St.prototype, "application");
8765
8791
  window.customElements.get("ace-conversation-ended-form") || window.customElements.define(
@@ -8820,7 +8846,7 @@ const Ws = class Ws extends _ {
8820
8846
  </p>
8821
8847
  <div class="button-container">
8822
8848
  <button class="primary" type="submit" @click=${this._onStartVideo}>
8823
- <telia-icon svg=${qc.svg}></telia-icon>
8849
+ <telia-icon svg=${Vc.svg}></telia-icon>
8824
8850
  ${e.getOrFallback("video-confirm.accept-button", "Accept")}
8825
8851
  </button>
8826
8852
  <button class="secondary" type="button" @click=${this._onCancel}>
@@ -8832,7 +8858,7 @@ const Ws = class Ws extends _ {
8832
8858
  }
8833
8859
  };
8834
8860
  Ws.styles = [
8835
- A`
8861
+ T`
8836
8862
  :host {
8837
8863
  display: block;
8838
8864
  }
@@ -8898,7 +8924,7 @@ Ws.styles = [
8898
8924
  ];
8899
8925
  let Bn = Ws;
8900
8926
  ep([
8901
- he({ context: re }),
8927
+ oe({ context: ne }),
8902
8928
  k({ attribute: !1 })
8903
8929
  ], Bn.prototype, "application");
8904
8930
  window.customElements.get("ace-video-confirm-dialog") || window.customElements.define("ace-video-confirm-dialog", Bn);
@@ -8934,7 +8960,7 @@ const Gs = class Gs extends _ {
8934
8960
  }
8935
8961
  };
8936
8962
  Gs.styles = [
8937
- A`
8963
+ T`
8938
8964
  :focus {
8939
8965
  outline-color: var(--focus-color);
8940
8966
  }
@@ -8984,7 +9010,7 @@ Gs.styles = [
8984
9010
  ];
8985
9011
  let qn = Gs;
8986
9012
  np([
8987
- he({ context: re }),
9013
+ oe({ context: ne }),
8988
9014
  k({ attribute: !1 })
8989
9015
  ], qn.prototype, "application");
8990
9016
  window.customElements.get("ace-survey") || window.customElements.define("ace-survey", qn);
@@ -9026,7 +9052,7 @@ const Zs = class Zs extends _ {
9026
9052
  }
9027
9053
  };
9028
9054
  Zs.styles = [
9029
- A`
9055
+ T`
9030
9056
  :host {
9031
9057
  display: block;
9032
9058
  }
@@ -9081,14 +9107,14 @@ Zs.styles = [
9081
9107
  ];
9082
9108
  let Vn = Zs;
9083
9109
  sp([
9084
- he({ context: re }),
9110
+ oe({ context: ne }),
9085
9111
  k({ attribute: !1 })
9086
9112
  ], Vn.prototype, "application");
9087
9113
  window.customElements.get("ace-entrance-closed-dialog") || window.customElements.define(
9088
9114
  "ace-entrance-closed-dialog",
9089
9115
  Vn
9090
9116
  );
9091
- var rp = Object.defineProperty, Qa = (n, e, t, i) => {
9117
+ var rp = Object.defineProperty, Xa = (n, e, t, i) => {
9092
9118
  for (var s = void 0, r = n.length - 1, o; r >= 0; r--)
9093
9119
  (o = n[r]) && (s = o(e, t, s) || s);
9094
9120
  return s && rp(e, t, s), s;
@@ -9130,7 +9156,7 @@ const Ys = class Ys extends _ {
9130
9156
  `;
9131
9157
  }
9132
9158
  render() {
9133
- const e = `form-${Ya(this.entry.name)}`, t = this.entry.displayName;
9159
+ const e = `form-${Qa(this.entry.name)}`, t = this.entry.displayName;
9134
9160
  return this.entry.entryType === "text" ? y`<div class="container">
9135
9161
  <label for=${e}
9136
9162
  >${t} ${this.renderRequiredIndicator(this.entry.required)}
@@ -9180,7 +9206,7 @@ const Ys = class Ys extends _ {
9180
9206
  }
9181
9207
  };
9182
9208
  Ys.styles = [
9183
- A`
9209
+ T`
9184
9210
  :focus {
9185
9211
  outline-color: var(--focus-color);
9186
9212
  }
@@ -9273,25 +9299,30 @@ Ys.styles = [
9273
9299
  }
9274
9300
  `
9275
9301
  ];
9276
- let Kt = Ys;
9277
- Qa([
9302
+ let Jt = Ys;
9303
+ Xa([
9278
9304
  k({ attribute: !1 })
9279
- ], Kt.prototype, "entry");
9280
- Qa([
9281
- he({ context: re }),
9305
+ ], Jt.prototype, "entry");
9306
+ Xa([
9307
+ oe({ context: ne }),
9282
9308
  k({ attribute: !1 })
9283
- ], Kt.prototype, "application");
9284
- window.customElements.get("ace-contact-data-field") || window.customElements.define("ace-contact-data-field", Kt);
9309
+ ], Jt.prototype, "application");
9310
+ window.customElements.get("ace-contact-data-field") || window.customElements.define("ace-contact-data-field", Jt);
9285
9311
  var op = Object.defineProperty, ap = (n, e, t, i) => {
9286
9312
  for (var s = void 0, r = n.length - 1, o; r >= 0; r--)
9287
9313
  (o = n[r]) && (s = o(e, t, s) || s);
9288
9314
  return s && op(e, t, s), s;
9289
9315
  };
9290
9316
  const Qs = class Qs extends _ {
9291
- _onQuit() {
9317
+ firstUpdated() {
9318
+ var t;
9319
+ const e = (t = this.shadowRoot) == null ? void 0 : t.querySelector(".container");
9320
+ e && e.focus();
9321
+ }
9322
+ onQuit() {
9292
9323
  this.dispatchResult("quit");
9293
9324
  }
9294
- _onCancel() {
9325
+ onCancel() {
9295
9326
  this.dispatchResult("cancel");
9296
9327
  }
9297
9328
  dispatchResult(e) {
@@ -9308,7 +9339,12 @@ const Qs = class Qs extends _ {
9308
9339
  }
9309
9340
  render() {
9310
9341
  const e = this.application.texts;
9311
- return y`<div class="container">
9342
+ return y`<div
9343
+ class="container"
9344
+ role="dialog"
9345
+ aria-modal="true"
9346
+ tabindex="-1"
9347
+ >
9312
9348
  <h3>
9313
9349
  ${e.getOrFallback(
9314
9350
  "quit-confirm.title",
@@ -9322,10 +9358,10 @@ const Qs = class Qs extends _ {
9322
9358
  )}
9323
9359
  </p>
9324
9360
  <div class="button-container">
9325
- <button class="cancel" @click=${this._onCancel}>
9361
+ <button class="cancel" @click=${this.onCancel}>
9326
9362
  ${e.getOrFallback("quit-confirm.cancel-button", "Cancel")}
9327
9363
  </button>
9328
- <button class="quit" @click=${this._onQuit}>
9364
+ <button class="quit" @click=${this.onQuit}>
9329
9365
  ${e.getOrFallback("quit-confirm.end-chat-button", "End chat")}
9330
9366
  </button>
9331
9367
  </div>
@@ -9333,7 +9369,7 @@ const Qs = class Qs extends _ {
9333
9369
  }
9334
9370
  };
9335
9371
  Qs.styles = [
9336
- A`
9372
+ T`
9337
9373
  :host {
9338
9374
  display: block;
9339
9375
  }
@@ -9399,7 +9435,7 @@ Qs.styles = [
9399
9435
  ];
9400
9436
  let Wn = Qs;
9401
9437
  ap([
9402
- he({ context: re }),
9438
+ oe({ context: ne }),
9403
9439
  k({ attribute: !1 })
9404
9440
  ], Wn.prototype, "application");
9405
9441
  window.customElements.get("ace-quit-confirm-dialog") || window.customElements.define("ace-quit-confirm-dialog", Wn);
@@ -9409,10 +9445,15 @@ var lp = Object.defineProperty, cp = (n, e, t, i) => {
9409
9445
  return s && lp(e, t, s), s;
9410
9446
  };
9411
9447
  const Xs = class Xs extends _ {
9412
- _onQuit() {
9448
+ firstUpdated() {
9449
+ var t;
9450
+ const e = (t = this.shadowRoot) == null ? void 0 : t.querySelector(".container");
9451
+ e && e.focus();
9452
+ }
9453
+ onQuit() {
9413
9454
  this.dispatchResult("logout");
9414
9455
  }
9415
- _onCancel() {
9456
+ onCancel() {
9416
9457
  this.dispatchResult("cancel");
9417
9458
  }
9418
9459
  dispatchResult(e) {
@@ -9429,7 +9470,12 @@ const Xs = class Xs extends _ {
9429
9470
  }
9430
9471
  render() {
9431
9472
  const e = this.application.texts;
9432
- return y`<div class="container">
9473
+ return y`<div
9474
+ class="container"
9475
+ role="dialog"
9476
+ aria-modal="true"
9477
+ tabindex="-1"
9478
+ >
9433
9479
  <h3>
9434
9480
  ${e.getOrFallback(
9435
9481
  "logout-confirm.title",
@@ -9443,10 +9489,10 @@ const Xs = class Xs extends _ {
9443
9489
  )}
9444
9490
  </p>
9445
9491
  <div class="button-container">
9446
- <button class="cancel" @click=${this._onCancel}>
9492
+ <button class="cancel" @click=${this.onCancel}>
9447
9493
  ${e.getOrFallback("logout-confirm.cancel-button", "Cancel")}
9448
9494
  </button>
9449
- <button class="quit" @click=${this._onQuit}>
9495
+ <button class="quit" @click=${this.onQuit}>
9450
9496
  ${e.getOrFallback("logout-confirm.end-chat-button", "Log out")}
9451
9497
  </button>
9452
9498
  </div>
@@ -9454,7 +9500,7 @@ const Xs = class Xs extends _ {
9454
9500
  }
9455
9501
  };
9456
9502
  Xs.styles = [
9457
- A`
9503
+ T`
9458
9504
  :host {
9459
9505
  display: block;
9460
9506
  }
@@ -9520,7 +9566,7 @@ Xs.styles = [
9520
9566
  ];
9521
9567
  let Gn = Xs;
9522
9568
  cp([
9523
- he({ context: re }),
9569
+ oe({ context: ne }),
9524
9570
  k({ attribute: !1 })
9525
9571
  ], Gn.prototype, "application");
9526
9572
  window.customElements.get("ace-logout-confirm-dialog") || window.customElements.define(
@@ -9553,7 +9599,7 @@ const Ks = class Ks extends _ {
9553
9599
  case Ze.Error:
9554
9600
  return y`<div class="container">
9555
9601
  <div class="header-row">
9556
- <telia-icon class="error-icon" svg=${Zc.svg}></telia-icon>
9602
+ <telia-icon class="error-icon" svg=${Yc.svg}></telia-icon>
9557
9603
  <h3>
9558
9604
  ${e.getOrFallback(
9559
9605
  "tunnistus-auth.error.header",
@@ -9621,7 +9667,7 @@ const Ks = class Ks extends _ {
9621
9667
  }
9622
9668
  };
9623
9669
  Ks.styles = [
9624
- A`
9670
+ T`
9625
9671
  :focus {
9626
9672
  outline-color: var(--focus-color);
9627
9673
  }
@@ -9696,7 +9742,7 @@ Ks.styles = [
9696
9742
  ];
9697
9743
  let Zn = Ks;
9698
9744
  hp([
9699
- he({ context: re }),
9745
+ oe({ context: ne }),
9700
9746
  k({ attribute: !1 })
9701
9747
  ], Zn.prototype, "application");
9702
9748
  window.customElements.get("ace-tunnistus-auth-card") || window.customElements.define("ace-tunnistus-auth-card", Zn);
@@ -9705,10 +9751,10 @@ window.customElements.get("ace-tunnistus-auth-card") || window.customElements.de
9705
9751
  * Copyright 2018 Google LLC
9706
9752
  * SPDX-License-Identifier: BSD-3-Clause
9707
9753
  */
9708
- const Xa = "important", dp = " !" + Xa, pp = rn(class extends Jn {
9754
+ const Ka = "important", dp = " !" + Ka, pp = on(class extends Jn {
9709
9755
  constructor(n) {
9710
9756
  var e;
9711
- if (super(n), n.type !== sn.ATTRIBUTE || n.name !== "style" || ((e = n.strings) == null ? void 0 : e.length) > 2) throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.");
9757
+ if (super(n), n.type !== rn.ATTRIBUTE || n.name !== "style" || ((e = n.strings) == null ? void 0 : e.length) > 2) throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.");
9712
9758
  }
9713
9759
  render(n) {
9714
9760
  return Object.keys(n).reduce(((e, t) => {
@@ -9725,10 +9771,10 @@ const Xa = "important", dp = " !" + Xa, pp = rn(class extends Jn {
9725
9771
  if (s != null) {
9726
9772
  this.ft.add(i);
9727
9773
  const r = typeof s == "string" && s.endsWith(dp);
9728
- i.includes("-") || r ? t.setProperty(i, r ? s.slice(0, -11) : s, r ? Xa : "") : t[i] = s;
9774
+ i.includes("-") || r ? t.setProperty(i, r ? s.slice(0, -11) : s, r ? Ka : "") : t[i] = s;
9729
9775
  }
9730
9776
  }
9731
- return Ae;
9777
+ return Te;
9732
9778
  }
9733
9779
  });
9734
9780
  var fp = Object.defineProperty, gp = (n, e, t, i) => {
@@ -9776,7 +9822,7 @@ const Js = class Js extends _ {
9776
9822
  }
9777
9823
  };
9778
9824
  Js.styles = [
9779
- A`
9825
+ T`
9780
9826
  :host {
9781
9827
  display: block;
9782
9828
  }
@@ -9799,13 +9845,13 @@ Js.styles = [
9799
9845
  }
9800
9846
  `
9801
9847
  ];
9802
- let Jt = Js;
9848
+ let en = Js;
9803
9849
  gp([
9804
- he({ context: re }),
9850
+ oe({ context: ne }),
9805
9851
  k({ attribute: !1 })
9806
- ], Jt.prototype, "application");
9807
- window.customElements.get("ace-video-iframe") || window.customElements.define("ace-video-iframe", Jt);
9808
- class Os extends wc {
9852
+ ], en.prototype, "application");
9853
+ window.customElements.get("ace-video-iframe") || window.customElements.define("ace-video-iframe", en);
9854
+ class Os extends xc {
9809
9855
  constructor(e, t) {
9810
9856
  var i, s, r, o;
9811
9857
  super(e, t), this.pendingMessages = [], this.texts = this.component.application.texts, this.headerComponent = this.component.application.getComponent("widget-header"), this.isThirdPartyParticipant = this.component.properties.chat.isThirdPartyWidget, this.agent = this.createAgent(""), this.user = this.createUser(""), this.params = new URLSearchParams(document.location.search), this.invitationUid = this.params.get("invitationUid"), this.customerName = this.params.get("customerName") || void 0, this.idHubUrl = "https://idhub.dev-se.telia-ck8s.com/idhub-gateway/public", this.logoutTimer = null, this.disconnected$ = new P(), this.agentUsername = null, this.conversationOption = null, this._conversationOptions = {}, this.sessionId = null, this.contactId = null, this.errand = null, this.entrance = null, this.guestId = null, this.chatOverlayActive = !1, this.inVideoCall = !1, this.onQueueStatusReceived = (a) => {
@@ -9820,7 +9866,7 @@ class Os extends wc {
9820
9866
  };
9821
9867
  this.save({
9822
9868
  survey: l
9823
- }), this.setQueueStatus(null), this.agent.name = a.agent, a.videoEnded && this.removeVideo();
9869
+ }), this.setQueueStatus(null), this.agent.name = a.agentAlias, a.videoEnded && this.removeVideo();
9824
9870
  }, this.onPrepareVideo = () => {
9825
9871
  this.showVideoConfirmDialog();
9826
9872
  }, this.onVideoPrepared = (a) => {
@@ -9907,7 +9953,7 @@ class Os extends wc {
9907
9953
  }
9908
9954
  save(e) {
9909
9955
  this.component.stateMachine.session().pipe(
9910
- Te((t) => (t == null ? void 0 : t.data$) || tt),
9956
+ Ae((t) => (t == null ? void 0 : t.data$) || tt),
9911
9957
  fe(1)
9912
9958
  ).subscribe((t) => {
9913
9959
  this.saveToCurrentSession$.next({ ...t, ...e });
@@ -9994,13 +10040,13 @@ class Os extends wc {
9994
10040
  e.webApiUrl && (i = await this.isEntranceOpen(
9995
10041
  e.webApiUrl,
9996
10042
  e.entrance
9997
- )), i ? this.customerName ? this.startChat(
10043
+ )), i ? this.customerName ? (this.user.name = this.customerName, this.startChat(
9998
10044
  {
9999
10045
  customerName: this.customerName,
10000
10046
  customData: {}
10001
10047
  },
10002
10048
  t
10003
- ) : this.showWelcomeForm() : this.showEntranceClosedDialog();
10049
+ )) : this.showWelcomeForm() : this.showEntranceClosedDialog();
10004
10050
  }
10005
10051
  startChat(e, t) {
10006
10052
  if (!this.engine)
@@ -10210,7 +10256,7 @@ class Os extends wc {
10210
10256
  W((t) => t.key === "submitted"),
10211
10257
  fe(1)
10212
10258
  ).subscribe((t) => {
10213
- e.remove(), this.startChat({
10259
+ e.remove(), this.user.name = t.data.name, this.startChat({
10214
10260
  customerName: t.data.name,
10215
10261
  customerEmailAddress: t.data.email,
10216
10262
  visitorQuestion: t.data.question,
@@ -10249,8 +10295,8 @@ class Os extends wc {
10249
10295
  W((t) => t.key === "quit-chat"),
10250
10296
  fe(1)
10251
10297
  ).subscribe((t) => {
10252
- var i;
10253
- this.quitConfirmDialogEntry && this.quitConfirmDialogEntry.remove(), ((i = t.data) == null ? void 0 : i.result) === "quit" && this.endConversation();
10298
+ var i, s, r, o;
10299
+ ((i = t.data) == null ? void 0 : i.result) === "quit" ? (this.endConversation(), (s = this.quitConfirmDialogEntry) == null || s.remove()) : ((r = t.data) == null ? void 0 : r.result) === "cancel" && ((o = this.quitConfirmDialogEntry) == null || o.remove());
10254
10300
  });
10255
10301
  }
10256
10302
  showConversationEndedForm() {
@@ -10293,7 +10339,7 @@ class Os extends wc {
10293
10339
  }
10294
10340
  showVideoIFrame(e) {
10295
10341
  var i;
10296
- this.guestId = Ji(), this.videoIFrameElement = new Jt(e, this.guestId);
10342
+ this.guestId = Ji(), this.videoIFrameElement = new en(e, this.guestId);
10297
10343
  const t = this.component.application.root;
10298
10344
  (i = t == null ? void 0 : t.shadowRoot) == null || i.prepend(this.videoIFrameElement), this.inVideoCall = !0, this.setHeaderOption();
10299
10345
  }
@@ -10320,8 +10366,8 @@ class Os extends wc {
10320
10366
  W((t) => t.key === "logout-chat"),
10321
10367
  fe(1)
10322
10368
  ).subscribe(async (t) => {
10323
- var i;
10324
- ((i = t.data) == null ? void 0 : i.result) === "logout" && this.logoutUser();
10369
+ var i, s, r, o;
10370
+ ((i = t.data) == null ? void 0 : i.result) === "logout" ? (this.logoutUser(), (s = this.logoutConfirmDialogEntry) == null || s.remove()) : ((r = t.data) == null ? void 0 : r.result) === "cancel" && ((o = this.logoutConfirmDialogEntry) == null || o.remove());
10325
10371
  });
10326
10372
  }
10327
10373
  // ===========
@@ -10391,12 +10437,12 @@ class Os extends wc {
10391
10437
  }
10392
10438
  }
10393
10439
  }
10394
- const Tp = async (n) => {
10440
+ const Ap = async (n) => {
10395
10441
  (await os.getInstance(n.container)).registerProvider(
10396
10442
  "ace-chat",
10397
10443
  (t) => Os.getInstance("ace-chat", t)
10398
10444
  );
10399
10445
  };
10400
10446
  export {
10401
- Tp as ChatProviderPlugin
10447
+ Ap as ChatProviderPlugin
10402
10448
  };