@telia-ace/widget-conversation-flamingo 1.1.110 → 1.1.111-rc.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. package/index.js +95 -95
  2. package/index.mjs +963 -859
  3. package/package.json +2 -2
package/index.mjs CHANGED
@@ -1,16 +1,16 @@
1
- var Ni = Object.defineProperty;
2
- var Di = (n, e, t) => e in n ? Ni(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
- var $ = (n, e, t) => Di(n, typeof e != "symbol" ? e + "" : e, t);
4
- const jl = async (n) => {
5
- n.registerComponent("conversation", Promise.resolve().then(() => Ul));
1
+ var Di = Object.defineProperty;
2
+ var qi = (n, e, t) => e in n ? Di(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
+ var $ = (n, e, t) => qi(n, typeof e != "symbol" ? e + "" : e, t);
4
+ const Il = async (n) => {
5
+ n.registerComponent("conversation", Promise.resolve().then(() => Pl));
6
6
  };
7
- class Ts {
7
+ class Rs {
8
8
  constructor() {
9
9
  this.registeredProviders = /* @__PURE__ */ new Map();
10
10
  }
11
11
  static async getInstance(e) {
12
12
  let t = await e.get("conversation");
13
- return t || (t = new Ts(), await e.register("conversation", t), t);
13
+ return t || (t = new Rs(), await e.register("conversation", t), t);
14
14
  }
15
15
  registerProvider(e, t) {
16
16
  this.registeredProviders.set(e, t);
@@ -28,50 +28,50 @@ class Ts {
28
28
  // return this.registeredProviders.get(providerKey);
29
29
  // }
30
30
  }
31
- var It = function(n, e) {
32
- return It = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, s) {
31
+ var Mt = function(n, e) {
32
+ return Mt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, s) {
33
33
  t.__proto__ = s;
34
34
  } || function(t, s) {
35
35
  for (var i in s) Object.prototype.hasOwnProperty.call(s, i) && (t[i] = s[i]);
36
- }, It(n, e);
36
+ }, Mt(n, e);
37
37
  };
38
38
  function xe(n, e) {
39
39
  if (typeof e != "function" && e !== null)
40
40
  throw new TypeError("Class extends value " + String(e) + " is not a constructor or null");
41
- It(n, e);
41
+ Mt(n, e);
42
42
  function t() {
43
43
  this.constructor = n;
44
44
  }
45
45
  n.prototype = e === null ? Object.create(e) : (t.prototype = e.prototype, new t());
46
46
  }
47
- function qi(n, e, t, s) {
47
+ function Fi(n, e, t, s) {
48
48
  function i(r) {
49
49
  return r instanceof t ? r : new t(function(o) {
50
50
  o(r);
51
51
  });
52
52
  }
53
53
  return new (t || (t = Promise))(function(r, o) {
54
- function a(u) {
54
+ function a(h) {
55
55
  try {
56
- c(s.next(u));
57
- } catch (h) {
58
- o(h);
56
+ c(s.next(h));
57
+ } catch (u) {
58
+ o(u);
59
59
  }
60
60
  }
61
- function l(u) {
61
+ function l(h) {
62
62
  try {
63
- c(s.throw(u));
64
- } catch (h) {
65
- o(h);
63
+ c(s.throw(h));
64
+ } catch (u) {
65
+ o(u);
66
66
  }
67
67
  }
68
- function c(u) {
69
- u.done ? r(u.value) : i(u.value).then(a, l);
68
+ function c(h) {
69
+ h.done ? r(h.value) : i(h.value).then(a, l);
70
70
  }
71
71
  c((s = s.apply(n, e || [])).next());
72
72
  });
73
73
  }
74
- function Rs(n, e) {
74
+ function Ps(n, e) {
75
75
  var t = { label: 0, sent: function() {
76
76
  if (r[0] & 1) throw r[1];
77
77
  return r[1];
@@ -80,8 +80,8 @@ function Rs(n, e) {
80
80
  return this;
81
81
  }), o;
82
82
  function a(c) {
83
- return function(u) {
84
- return l([c, u]);
83
+ return function(h) {
84
+ return l([c, h]);
85
85
  };
86
86
  }
87
87
  function l(c) {
@@ -122,8 +122,8 @@ function Rs(n, e) {
122
122
  continue;
123
123
  }
124
124
  c = e.call(n, t);
125
- } catch (u) {
126
- c = [6, u], i = 0;
125
+ } catch (h) {
126
+ c = [6, h], i = 0;
127
127
  } finally {
128
128
  s = r = 0;
129
129
  }
@@ -158,7 +158,7 @@ function se(n, e) {
158
158
  }
159
159
  return r;
160
160
  }
161
- function be(n, e, t) {
161
+ function ve(n, e, t) {
162
162
  if (t || arguments.length === 2) for (var s = 0, i = e.length, r; s < i; s++)
163
163
  (r || !(s in e)) && (r || (r = Array.prototype.slice.call(e, 0, s)), r[s] = e[s]);
164
164
  return n.concat(r || Array.prototype.slice.call(e));
@@ -166,7 +166,7 @@ function be(n, e, t) {
166
166
  function de(n) {
167
167
  return this instanceof de ? (this.v = n, this) : new de(n);
168
168
  }
169
- function Fi(n, e, t) {
169
+ function Zi(n, e, t) {
170
170
  if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
171
171
  var s = t.apply(n, e || []), i, r = [];
172
172
  return i = Object.create((typeof AsyncIterator == "function" ? AsyncIterator : Object).prototype), a("next"), a("throw"), a("return", o), i[Symbol.asyncIterator] = function() {
@@ -174,7 +174,7 @@ function Fi(n, e, t) {
174
174
  }, i;
175
175
  function o(p) {
176
176
  return function(g) {
177
- return Promise.resolve(g).then(p, h);
177
+ return Promise.resolve(g).then(p, u);
178
178
  };
179
179
  }
180
180
  function a(p, g) {
@@ -192,19 +192,19 @@ function Fi(n, e, t) {
192
192
  }
193
193
  }
194
194
  function c(p) {
195
- p.value instanceof de ? Promise.resolve(p.value.v).then(u, h) : d(r[0][2], p);
195
+ p.value instanceof de ? Promise.resolve(p.value.v).then(h, u) : d(r[0][2], p);
196
196
  }
197
- function u(p) {
197
+ function h(p) {
198
198
  l("next", p);
199
199
  }
200
- function h(p) {
200
+ function u(p) {
201
201
  l("throw", p);
202
202
  }
203
203
  function d(p, g) {
204
204
  p(g), r.shift(), r.length && l(r[0][0], r[0][1]);
205
205
  }
206
206
  }
207
- function Zi(n) {
207
+ function Wi(n) {
208
208
  if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
209
209
  var e = n[Symbol.asyncIterator], t;
210
210
  return e ? e.call(n) : (n = typeof me == "function" ? me(n) : n[Symbol.iterator](), t = {}, s("next"), s("throw"), s("return"), t[Symbol.asyncIterator] = function() {
@@ -226,13 +226,13 @@ function Zi(n) {
226
226
  function x(n) {
227
227
  return typeof n == "function";
228
228
  }
229
- function Ps(n) {
229
+ function Os(n) {
230
230
  var e = function(s) {
231
231
  Error.call(s), s.stack = new Error().stack;
232
232
  }, t = n(e);
233
233
  return t.prototype = Object.create(Error.prototype), t.prototype.constructor = t, t;
234
234
  }
235
- var Ct = Ps(function(n) {
235
+ var Ct = Os(function(n) {
236
236
  return function(t) {
237
237
  n(this), this.message = t ? t.length + ` errors occurred during unsubscription:
238
238
  ` + t.map(function(s, i) {
@@ -241,7 +241,7 @@ var Ct = Ps(function(n) {
241
241
  `) : "", this.name = "UnsubscriptionError", this.errors = t;
242
242
  };
243
243
  });
244
- function Mt(n, e) {
244
+ function zt(n, e) {
245
245
  if (n) {
246
246
  var t = n.indexOf(e);
247
247
  0 <= t && n.splice(t, 1);
@@ -274,23 +274,23 @@ var ft = function() {
274
274
  }
275
275
  else
276
276
  o.remove(this);
277
- var u = this.initialTeardown;
278
- if (x(u))
277
+ var h = this.initialTeardown;
278
+ if (x(h))
279
279
  try {
280
- u();
280
+ h();
281
281
  } catch (f) {
282
282
  r = f instanceof Ct ? f.errors : [f];
283
283
  }
284
- var h = this._finalizers;
285
- if (h) {
284
+ var u = this._finalizers;
285
+ if (u) {
286
286
  this._finalizers = null;
287
287
  try {
288
- for (var d = me(h), p = d.next(); !p.done; p = d.next()) {
288
+ for (var d = me(u), p = d.next(); !p.done; p = d.next()) {
289
289
  var g = p.value;
290
290
  try {
291
- Bn(g);
291
+ jn(g);
292
292
  } catch (f) {
293
- r = r ?? [], f instanceof Ct ? r = be(be([], se(r)), se(f.errors)) : r.push(f);
293
+ r = r ?? [], f instanceof Ct ? r = ve(ve([], se(r)), se(f.errors)) : r.push(f);
294
294
  }
295
295
  }
296
296
  } catch (f) {
@@ -310,7 +310,7 @@ var ft = function() {
310
310
  var t;
311
311
  if (e && e !== this)
312
312
  if (this.closed)
313
- Bn(e);
313
+ jn(e);
314
314
  else {
315
315
  if (e instanceof n) {
316
316
  if (e.closed || e._hasParent(this))
@@ -327,52 +327,57 @@ var ft = function() {
327
327
  this._parentage = Array.isArray(t) ? (t.push(e), t) : t ? [t, e] : e;
328
328
  }, n.prototype._removeParent = function(e) {
329
329
  var t = this._parentage;
330
- t === e ? this._parentage = null : Array.isArray(t) && Mt(t, e);
330
+ t === e ? this._parentage = null : Array.isArray(t) && zt(t, e);
331
331
  }, n.prototype.remove = function(e) {
332
332
  var t = this._finalizers;
333
- t && Mt(t, e), e instanceof n && e._removeParent(this);
333
+ t && zt(t, e), e instanceof n && e._removeParent(this);
334
334
  }, n.EMPTY = function() {
335
335
  var e = new n();
336
336
  return e.closed = !0, e;
337
337
  }(), n;
338
- }(), Os = ft.EMPTY;
339
- function Is(n) {
338
+ }(), Is = ft.EMPTY;
339
+ function Ms(n) {
340
340
  return n instanceof ft || n && "closed" in n && x(n.remove) && x(n.add) && x(n.unsubscribe);
341
341
  }
342
- function Bn(n) {
342
+ function jn(n) {
343
343
  x(n) ? n() : n.unsubscribe();
344
344
  }
345
- var Wi = {
346
- Promise: void 0
347
- }, Gi = {
345
+ var zs = {
346
+ onUnhandledError: null,
347
+ onStoppedNotification: null,
348
+ Promise: void 0,
349
+ useDeprecatedSynchronousErrorHandling: !1,
350
+ useDeprecatedNextContext: !1
351
+ }, Us = {
348
352
  setTimeout: function(n, e) {
349
353
  for (var t = [], s = 2; s < arguments.length; s++)
350
354
  t[s - 2] = arguments[s];
351
- return setTimeout.apply(void 0, be([n, e], se(t)));
355
+ return setTimeout.apply(void 0, ve([n, e], se(t)));
352
356
  },
353
357
  clearTimeout: function(n) {
354
- return clearTimeout(n);
358
+ var e = Us.delegate;
359
+ return ((e == null ? void 0 : e.clearTimeout) || clearTimeout)(n);
355
360
  },
356
361
  delegate: void 0
357
362
  };
358
- function Ms(n) {
359
- Gi.setTimeout(function() {
363
+ function Bs(n) {
364
+ Us.setTimeout(function() {
360
365
  throw n;
361
366
  });
362
367
  }
363
368
  function Qe() {
364
369
  }
365
- function Ye(n) {
370
+ function Ge(n) {
366
371
  n();
367
372
  }
368
- var Xt = function(n) {
373
+ var Vt = function(n) {
369
374
  xe(e, n);
370
375
  function e(t) {
371
376
  var s = n.call(this) || this;
372
- return s.isStopped = !1, t ? (s.destination = t, Is(t) && t.add(s)) : s.destination = Qi, s;
377
+ return s.isStopped = !1, t ? (s.destination = t, Ms(t) && t.add(s)) : s.destination = Qi, s;
373
378
  }
374
379
  return e.create = function(t, s, i) {
375
- return new zt(t, s, i);
380
+ return new Ut(t, s, i);
376
381
  }, e.prototype.next = function(t) {
377
382
  this.isStopped || this._next(t);
378
383
  }, e.prototype.error = function(t) {
@@ -396,7 +401,11 @@ var Xt = function(n) {
396
401
  this.unsubscribe();
397
402
  }
398
403
  }, e;
399
- }(ft), Yi = function() {
404
+ }(ft), Yi = Function.prototype.bind;
405
+ function At(n, e) {
406
+ return Yi.call(n, e);
407
+ }
408
+ var Gi = function() {
400
409
  function n(e) {
401
410
  this.partialObserver = e;
402
411
  }
@@ -427,20 +436,32 @@ var Xt = function(n) {
427
436
  Ze(t);
428
437
  }
429
438
  }, n;
430
- }(), zt = function(n) {
439
+ }(), Ut = function(n) {
431
440
  xe(e, n);
432
441
  function e(t, s, i) {
433
442
  var r = n.call(this) || this, o;
434
- return x(t) || !t ? o = {
435
- next: t ?? void 0,
436
- error: s ?? void 0,
437
- complete: i ?? void 0
438
- } : o = t, r.destination = new Yi(o), r;
443
+ if (x(t) || !t)
444
+ o = {
445
+ next: t ?? void 0,
446
+ error: s ?? void 0,
447
+ complete: i ?? void 0
448
+ };
449
+ else {
450
+ var a;
451
+ r && zs.useDeprecatedNextContext ? (a = Object.create(t), a.unsubscribe = function() {
452
+ return r.unsubscribe();
453
+ }, o = {
454
+ next: t.next && At(t.next, a),
455
+ error: t.error && At(t.error, a),
456
+ complete: t.complete && At(t.complete, a)
457
+ }) : o = t;
458
+ }
459
+ return r.destination = new Gi(o), r;
439
460
  }
440
461
  return e;
441
- }(Xt);
462
+ }(Vt);
442
463
  function Ze(n) {
443
- Ms(n);
464
+ Bs(n);
444
465
  }
445
466
  function Ki(n) {
446
467
  throw n;
@@ -450,7 +471,7 @@ var Qi = {
450
471
  next: Qe,
451
472
  error: Ki,
452
473
  complete: Qe
453
- }, Vt = function() {
474
+ }, Jt = function() {
454
475
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
455
476
  }();
456
477
  function je(n) {
@@ -463,7 +484,7 @@ function Xi(n) {
463
484
  }, t);
464
485
  };
465
486
  }
466
- var L = function() {
487
+ var T = function() {
467
488
  function n(e) {
468
489
  e && (this._subscribe = e);
469
490
  }
@@ -471,8 +492,8 @@ var L = function() {
471
492
  var t = new n();
472
493
  return t.source = this, t.operator = e, t;
473
494
  }, n.prototype.subscribe = function(e, t, s) {
474
- var i = this, r = Ji(e) ? e : new zt(e, t, s);
475
- return Ye(function() {
495
+ var i = this, r = Ji(e) ? e : new Ut(e, t, s);
496
+ return Ge(function() {
476
497
  var o = i, a = o.operator, l = o.source;
477
498
  r.add(a ? a.call(r, l) : l ? i._subscribe(r) : i._trySubscribe(r));
478
499
  }), r;
@@ -484,8 +505,8 @@ var L = function() {
484
505
  }
485
506
  }, n.prototype.forEach = function(e, t) {
486
507
  var s = this;
487
- return t = jn(t), new t(function(i, r) {
488
- var o = new zt({
508
+ return t = Hn(t), new t(function(i, r) {
509
+ var o = new Ut({
489
510
  next: function(a) {
490
511
  try {
491
512
  e(a);
@@ -501,7 +522,7 @@ var L = function() {
501
522
  }, n.prototype._subscribe = function(e) {
502
523
  var t;
503
524
  return (t = this.source) === null || t === void 0 ? void 0 : t.subscribe(e);
504
- }, n.prototype[Vt] = function() {
525
+ }, n.prototype[Jt] = function() {
505
526
  return this;
506
527
  }, n.prototype.pipe = function() {
507
528
  for (var e = [], t = 0; t < arguments.length; t++)
@@ -509,7 +530,7 @@ var L = function() {
509
530
  return Xi(e)(this);
510
531
  }, n.prototype.toPromise = function(e) {
511
532
  var t = this;
512
- return e = jn(e), new e(function(s, i) {
533
+ return e = Hn(e), new e(function(s, i) {
513
534
  var r;
514
535
  t.subscribe(function(o) {
515
536
  return r = o;
@@ -523,15 +544,15 @@ var L = function() {
523
544
  return new n(e);
524
545
  }, n;
525
546
  }();
526
- function jn(n) {
547
+ function Hn(n) {
527
548
  var e;
528
- return (e = n ?? Wi.Promise) !== null && e !== void 0 ? e : Promise;
549
+ return (e = n ?? zs.Promise) !== null && e !== void 0 ? e : Promise;
529
550
  }
530
551
  function Vi(n) {
531
552
  return n && x(n.next) && x(n.error) && x(n.complete);
532
553
  }
533
554
  function Ji(n) {
534
- return n && n instanceof Xt || Vi(n) && Is(n);
555
+ return n && n instanceof Vt || Vi(n) && Ms(n);
535
556
  }
536
557
  function er(n) {
537
558
  return x(n == null ? void 0 : n.lift);
@@ -549,7 +570,7 @@ function V(n) {
549
570
  throw new TypeError("Unable to lift unknown Observable type");
550
571
  };
551
572
  }
552
- function z(n, e, t, s, i) {
573
+ function U(n, e, t, s, i) {
553
574
  return new tr(n, e, t, s, i);
554
575
  }
555
576
  var tr = function(n) {
@@ -559,14 +580,14 @@ var tr = function(n) {
559
580
  return l.onFinalize = o, l.shouldUnsubscribe = a, l._next = s ? function(c) {
560
581
  try {
561
582
  s(c);
562
- } catch (u) {
563
- t.error(u);
583
+ } catch (h) {
584
+ t.error(h);
564
585
  }
565
586
  } : n.prototype._next, l._error = r ? function(c) {
566
587
  try {
567
588
  r(c);
568
- } catch (u) {
569
- t.error(u);
589
+ } catch (h) {
590
+ t.error(h);
570
591
  } finally {
571
592
  this.unsubscribe();
572
593
  }
@@ -587,7 +608,7 @@ var tr = function(n) {
587
608
  n.prototype.unsubscribe.call(this), !s && ((t = this.onFinalize) === null || t === void 0 || t.call(this));
588
609
  }
589
610
  }, e;
590
- }(Xt), nr = Ps(function(n) {
611
+ }(Vt), nr = Os(function(n) {
591
612
  return function() {
592
613
  n(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
593
614
  };
@@ -598,14 +619,14 @@ var tr = function(n) {
598
619
  return t.closed = !1, t.currentObservers = null, t.observers = [], t.isStopped = !1, t.hasError = !1, t.thrownError = null, t;
599
620
  }
600
621
  return e.prototype.lift = function(t) {
601
- var s = new Hn(this, this);
622
+ var s = new Nn(this, this);
602
623
  return s.operator = t, s;
603
624
  }, e.prototype._throwIfClosed = function() {
604
625
  if (this.closed)
605
626
  throw new nr();
606
627
  }, e.prototype.next = function(t) {
607
628
  var s = this;
608
- Ye(function() {
629
+ Ge(function() {
609
630
  var i, r;
610
631
  if (s._throwIfClosed(), !s.isStopped) {
611
632
  s.currentObservers || (s.currentObservers = Array.from(s.observers));
@@ -627,7 +648,7 @@ var tr = function(n) {
627
648
  });
628
649
  }, e.prototype.error = function(t) {
629
650
  var s = this;
630
- Ye(function() {
651
+ Ge(function() {
631
652
  if (s._throwIfClosed(), !s.isStopped) {
632
653
  s.hasError = s.isStopped = !0, s.thrownError = t;
633
654
  for (var i = s.observers; i.length; )
@@ -636,7 +657,7 @@ var tr = function(n) {
636
657
  });
637
658
  }, e.prototype.complete = function() {
638
659
  var t = this;
639
- Ye(function() {
660
+ Ge(function() {
640
661
  if (t._throwIfClosed(), !t.isStopped) {
641
662
  t.isStopped = !0;
642
663
  for (var s = t.observers; s.length; )
@@ -658,19 +679,19 @@ var tr = function(n) {
658
679
  return this._throwIfClosed(), this._checkFinalizedStatuses(t), this._innerSubscribe(t);
659
680
  }, e.prototype._innerSubscribe = function(t) {
660
681
  var s = this, i = this, r = i.hasError, o = i.isStopped, a = i.observers;
661
- return r || o ? Os : (this.currentObservers = null, a.push(t), new ft(function() {
662
- s.currentObservers = null, Mt(a, t);
682
+ return r || o ? Is : (this.currentObservers = null, a.push(t), new ft(function() {
683
+ s.currentObservers = null, zt(a, t);
663
684
  }));
664
685
  }, e.prototype._checkFinalizedStatuses = function(t) {
665
686
  var s = this, i = s.hasError, r = s.thrownError, o = s.isStopped;
666
687
  i ? t.error(r) : o && t.complete();
667
688
  }, e.prototype.asObservable = function() {
668
- var t = new L();
689
+ var t = new T();
669
690
  return t.source = this, t;
670
691
  }, e.create = function(t, s) {
671
- return new Hn(t, s);
692
+ return new Nn(t, s);
672
693
  }, e;
673
- }(L), Hn = function(n) {
694
+ }(T), Nn = function(n) {
674
695
  xe(e, n);
675
696
  function e(t, s) {
676
697
  var i = n.call(this) || this;
@@ -687,9 +708,9 @@ var tr = function(n) {
687
708
  (s = (t = this.destination) === null || t === void 0 ? void 0 : t.complete) === null || s === void 0 || s.call(t);
688
709
  }, e.prototype._subscribe = function(t) {
689
710
  var s, i;
690
- return (i = (s = this.source) === null || s === void 0 ? void 0 : s.subscribe(t)) !== null && i !== void 0 ? i : Os;
711
+ return (i = (s = this.source) === null || s === void 0 ? void 0 : s.subscribe(t)) !== null && i !== void 0 ? i : Is;
691
712
  }, e;
692
- }(_), H = function(n) {
713
+ }(_), z = function(n) {
693
714
  xe(e, n);
694
715
  function e(t) {
695
716
  var s = n.call(this) || this;
@@ -712,50 +733,50 @@ var tr = function(n) {
712
733
  }, e.prototype.next = function(t) {
713
734
  n.prototype.next.call(this, this._value = t);
714
735
  }, e;
715
- }(_), He = new L(function(n) {
736
+ }(_), He = new T(function(n) {
716
737
  return n.complete();
717
738
  });
718
739
  function sr(n) {
719
740
  return n && x(n.schedule);
720
741
  }
721
- function Jt(n) {
742
+ function en(n) {
722
743
  return n[n.length - 1];
723
744
  }
724
- function zs(n) {
725
- return x(Jt(n)) ? n.pop() : void 0;
745
+ function js(n) {
746
+ return x(en(n)) ? n.pop() : void 0;
726
747
  }
727
- function en(n) {
728
- return sr(Jt(n)) ? n.pop() : void 0;
748
+ function tn(n) {
749
+ return sr(en(n)) ? n.pop() : void 0;
729
750
  }
730
751
  function ir(n, e) {
731
- return typeof Jt(n) == "number" ? n.pop() : e;
752
+ return typeof en(n) == "number" ? n.pop() : e;
732
753
  }
733
- var tn = function(n) {
754
+ var nn = function(n) {
734
755
  return n && typeof n.length == "number" && typeof n != "function";
735
756
  };
736
- function Us(n) {
757
+ function Hs(n) {
737
758
  return x(n == null ? void 0 : n.then);
738
759
  }
739
- function Bs(n) {
740
- return x(n[Vt]);
760
+ function Ns(n) {
761
+ return x(n[Jt]);
741
762
  }
742
- function js(n) {
763
+ function Ds(n) {
743
764
  return Symbol.asyncIterator && x(n == null ? void 0 : n[Symbol.asyncIterator]);
744
765
  }
745
- function Hs(n) {
766
+ function qs(n) {
746
767
  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.");
747
768
  }
748
769
  function rr() {
749
770
  return typeof Symbol != "function" || !Symbol.iterator ? "@@iterator" : Symbol.iterator;
750
771
  }
751
- var Ns = rr();
752
- function Ds(n) {
753
- return x(n == null ? void 0 : n[Ns]);
772
+ var Fs = rr();
773
+ function Zs(n) {
774
+ return x(n == null ? void 0 : n[Fs]);
754
775
  }
755
- function qs(n) {
756
- return Fi(this, arguments, function() {
776
+ function Ws(n) {
777
+ return Zi(this, arguments, function() {
757
778
  var t, s, i, r;
758
- return Rs(this, function(o) {
779
+ return Ps(this, function(o) {
759
780
  switch (o.label) {
760
781
  case 0:
761
782
  t = n.getReader(), o.label = 1;
@@ -783,54 +804,54 @@ function qs(n) {
783
804
  });
784
805
  });
785
806
  }
786
- function Fs(n) {
807
+ function Ys(n) {
787
808
  return x(n == null ? void 0 : n.getReader);
788
809
  }
789
810
  function D(n) {
790
- if (n instanceof L)
811
+ if (n instanceof T)
791
812
  return n;
792
813
  if (n != null) {
793
- if (Bs(n))
814
+ if (Ns(n))
794
815
  return or(n);
795
- if (tn(n))
816
+ if (nn(n))
796
817
  return ar(n);
797
- if (Us(n))
818
+ if (Hs(n))
798
819
  return lr(n);
799
- if (js(n))
800
- return Zs(n);
801
820
  if (Ds(n))
821
+ return Gs(n);
822
+ if (Zs(n))
802
823
  return cr(n);
803
- if (Fs(n))
804
- return ur(n);
824
+ if (Ys(n))
825
+ return hr(n);
805
826
  }
806
- throw Hs(n);
827
+ throw qs(n);
807
828
  }
808
829
  function or(n) {
809
- return new L(function(e) {
810
- var t = n[Vt]();
830
+ return new T(function(e) {
831
+ var t = n[Jt]();
811
832
  if (x(t.subscribe))
812
833
  return t.subscribe(e);
813
834
  throw new TypeError("Provided object does not correctly implement Symbol.observable");
814
835
  });
815
836
  }
816
837
  function ar(n) {
817
- return new L(function(e) {
838
+ return new T(function(e) {
818
839
  for (var t = 0; t < n.length && !e.closed; t++)
819
840
  e.next(n[t]);
820
841
  e.complete();
821
842
  });
822
843
  }
823
844
  function lr(n) {
824
- return new L(function(e) {
845
+ return new T(function(e) {
825
846
  n.then(function(t) {
826
847
  e.closed || (e.next(t), e.complete());
827
848
  }, function(t) {
828
849
  return e.error(t);
829
- }).then(null, Ms);
850
+ }).then(null, Bs);
830
851
  });
831
852
  }
832
853
  function cr(n) {
833
- return new L(function(e) {
854
+ return new T(function(e) {
834
855
  var t, s;
835
856
  try {
836
857
  for (var i = me(n), r = i.next(); !r.done; r = i.next()) {
@@ -850,24 +871,24 @@ function cr(n) {
850
871
  e.complete();
851
872
  });
852
873
  }
853
- function Zs(n) {
854
- return new L(function(e) {
855
- hr(n, e).catch(function(t) {
874
+ function Gs(n) {
875
+ return new T(function(e) {
876
+ ur(n, e).catch(function(t) {
856
877
  return e.error(t);
857
878
  });
858
879
  });
859
880
  }
860
- function ur(n) {
861
- return Zs(qs(n));
881
+ function hr(n) {
882
+ return Gs(Ws(n));
862
883
  }
863
- function hr(n, e) {
884
+ function ur(n, e) {
864
885
  var t, s, i, r;
865
- return qi(this, void 0, void 0, function() {
886
+ return Fi(this, void 0, void 0, function() {
866
887
  var o, a;
867
- return Rs(this, function(l) {
888
+ return Ps(this, function(l) {
868
889
  switch (l.label) {
869
890
  case 0:
870
- l.trys.push([0, 5, 6, 11]), t = Zi(n), l.label = 1;
891
+ l.trys.push([0, 5, 6, 11]), t = Wi(n), l.label = 1;
871
892
  case 1:
872
893
  return [4, t.next()];
873
894
  case 2:
@@ -898,7 +919,7 @@ function hr(n, e) {
898
919
  });
899
920
  });
900
921
  }
901
- function Y(n, e, t, s, i) {
922
+ function G(n, e, t, s, i) {
902
923
  s === void 0 && (s = 0), i === void 0 && (i = !1);
903
924
  var r = e.schedule(function() {
904
925
  t(), i ? n.add(this.schedule(null, s)) : this.unsubscribe();
@@ -906,24 +927,24 @@ function Y(n, e, t, s, i) {
906
927
  if (n.add(r), !i)
907
928
  return r;
908
929
  }
909
- function Ws(n, e) {
930
+ function Ks(n, e) {
910
931
  return e === void 0 && (e = 0), V(function(t, s) {
911
- t.subscribe(z(s, function(i) {
912
- return Y(s, n, function() {
932
+ t.subscribe(U(s, function(i) {
933
+ return G(s, n, function() {
913
934
  return s.next(i);
914
935
  }, e);
915
936
  }, function() {
916
- return Y(s, n, function() {
937
+ return G(s, n, function() {
917
938
  return s.complete();
918
939
  }, e);
919
940
  }, function(i) {
920
- return Y(s, n, function() {
941
+ return G(s, n, function() {
921
942
  return s.error(i);
922
943
  }, e);
923
944
  }));
924
945
  });
925
946
  }
926
- function Gs(n, e) {
947
+ function Qs(n, e) {
927
948
  return e === void 0 && (e = 0), V(function(t, s) {
928
949
  s.add(n.schedule(function() {
929
950
  return t.subscribe(s);
@@ -931,13 +952,13 @@ function Gs(n, e) {
931
952
  });
932
953
  }
933
954
  function dr(n, e) {
934
- return D(n).pipe(Gs(e), Ws(e));
955
+ return D(n).pipe(Qs(e), Ks(e));
935
956
  }
936
957
  function pr(n, e) {
937
- return D(n).pipe(Gs(e), Ws(e));
958
+ return D(n).pipe(Qs(e), Ks(e));
938
959
  }
939
960
  function fr(n, e) {
940
- return new L(function(t) {
961
+ return new T(function(t) {
941
962
  var s = 0;
942
963
  return e.schedule(function() {
943
964
  s === n.length ? t.complete() : (t.next(n[s++]), t.closed || this.schedule());
@@ -945,10 +966,10 @@ function fr(n, e) {
945
966
  });
946
967
  }
947
968
  function gr(n, e) {
948
- return new L(function(t) {
969
+ return new T(function(t) {
949
970
  var s;
950
- return Y(t, e, function() {
951
- s = n[Ns](), Y(t, e, function() {
971
+ return G(t, e, function() {
972
+ s = n[Fs](), G(t, e, function() {
952
973
  var i, r, o;
953
974
  try {
954
975
  i = s.next(), r = i.value, o = i.done;
@@ -963,13 +984,13 @@ function gr(n, e) {
963
984
  };
964
985
  });
965
986
  }
966
- function Ys(n, e) {
987
+ function Xs(n, e) {
967
988
  if (!n)
968
989
  throw new Error("Iterable cannot be null");
969
- return new L(function(t) {
970
- Y(t, e, function() {
990
+ return new T(function(t) {
991
+ G(t, e, function() {
971
992
  var s = n[Symbol.asyncIterator]();
972
- Y(t, e, function() {
993
+ G(t, e, function() {
973
994
  s.next().then(function(i) {
974
995
  i.done ? t.complete() : t.next(i.value);
975
996
  });
@@ -978,47 +999,47 @@ function Ys(n, e) {
978
999
  });
979
1000
  }
980
1001
  function mr(n, e) {
981
- return Ys(qs(n), e);
1002
+ return Xs(Ws(n), e);
982
1003
  }
983
- function br(n, e) {
1004
+ function vr(n, e) {
984
1005
  if (n != null) {
985
- if (Bs(n))
1006
+ if (Ns(n))
986
1007
  return dr(n, e);
987
- if (tn(n))
1008
+ if (nn(n))
988
1009
  return fr(n, e);
989
- if (Us(n))
1010
+ if (Hs(n))
990
1011
  return pr(n, e);
991
- if (js(n))
992
- return Ys(n, e);
993
1012
  if (Ds(n))
1013
+ return Xs(n, e);
1014
+ if (Zs(n))
994
1015
  return gr(n, e);
995
- if (Fs(n))
1016
+ if (Ys(n))
996
1017
  return mr(n, e);
997
1018
  }
998
- throw Hs(n);
1019
+ throw qs(n);
999
1020
  }
1000
1021
  function gt(n, e) {
1001
- return e ? br(n, e) : D(n);
1022
+ return e ? vr(n, e) : D(n);
1002
1023
  }
1003
- function Ut() {
1024
+ function Bt() {
1004
1025
  for (var n = [], e = 0; e < arguments.length; e++)
1005
1026
  n[e] = arguments[e];
1006
- var t = en(n);
1027
+ var t = tn(n);
1007
1028
  return gt(n, t);
1008
1029
  }
1009
1030
  function Xe(n, e) {
1010
1031
  return V(function(t, s) {
1011
1032
  var i = 0;
1012
- t.subscribe(z(s, function(r) {
1033
+ t.subscribe(U(s, function(r) {
1013
1034
  s.next(n.call(e, r, i++));
1014
1035
  }));
1015
1036
  });
1016
1037
  }
1017
- var vr = Array.isArray;
1038
+ var br = Array.isArray;
1018
1039
  function yr(n, e) {
1019
- return vr(e) ? n.apply(void 0, be([], se(e))) : n(e);
1040
+ return br(e) ? n.apply(void 0, ve([], se(e))) : n(e);
1020
1041
  }
1021
- function Ks(n) {
1042
+ function Vs(n) {
1022
1043
  return Xe(function(e) {
1023
1044
  return yr(n, e);
1024
1045
  });
@@ -1052,22 +1073,22 @@ function Cr(n, e) {
1052
1073
  function Ar() {
1053
1074
  for (var n = [], e = 0; e < arguments.length; e++)
1054
1075
  n[e] = arguments[e];
1055
- var t = en(n), s = zs(n), i = Sr(n), r = i.args, o = i.keys;
1076
+ var t = tn(n), s = js(n), i = Sr(n), r = i.args, o = i.keys;
1056
1077
  if (r.length === 0)
1057
1078
  return gt([], t);
1058
- var a = new L(Er(r, t, o ? function(l) {
1079
+ var a = new T(Er(r, t, o ? function(l) {
1059
1080
  return Cr(o, l);
1060
1081
  } : je));
1061
- return s ? a.pipe(Ks(s)) : a;
1082
+ return s ? a.pipe(Vs(s)) : a;
1062
1083
  }
1063
1084
  function Er(n, e, t) {
1064
1085
  return t === void 0 && (t = je), function(s) {
1065
- Nn(e, function() {
1066
- for (var i = n.length, r = new Array(i), o = i, a = i, l = function(u) {
1067
- Nn(e, function() {
1068
- var h = gt(n[u], e), d = !1;
1069
- h.subscribe(z(s, function(p) {
1070
- r[u] = p, d || (d = !0, a--), a || s.next(t(r.slice()));
1086
+ Dn(e, function() {
1087
+ for (var i = n.length, r = new Array(i), o = i, a = i, l = function(h) {
1088
+ Dn(e, function() {
1089
+ var u = gt(n[h], e), d = !1;
1090
+ u.subscribe(U(s, function(p) {
1091
+ r[h] = p, d || (d = !0, a--), a || s.next(t(r.slice()));
1071
1092
  }, function() {
1072
1093
  --o || s.complete();
1073
1094
  }));
@@ -1077,18 +1098,18 @@ function Er(n, e, t) {
1077
1098
  }, s);
1078
1099
  };
1079
1100
  }
1080
- function Nn(n, e, t) {
1081
- n ? Y(t, n, e) : e();
1101
+ function Dn(n, e, t) {
1102
+ n ? G(t, n, e) : e();
1082
1103
  }
1083
- function Lr(n, e, t, s, i, r, o, a) {
1084
- var l = [], c = 0, u = 0, h = !1, d = function() {
1085
- h && !l.length && !c && e.complete();
1104
+ function Tr(n, e, t, s, i, r, o, a) {
1105
+ var l = [], c = 0, h = 0, u = !1, d = function() {
1106
+ u && !l.length && !c && e.complete();
1086
1107
  }, p = function(f) {
1087
1108
  return c < s ? g(f) : l.push(f);
1088
1109
  }, g = function(f) {
1089
1110
  c++;
1090
1111
  var k = !1;
1091
- D(t(f, u++)).subscribe(z(e, function(W) {
1112
+ D(t(f, h++)).subscribe(U(e, function(W) {
1092
1113
  e.next(W);
1093
1114
  }, function() {
1094
1115
  k = !0;
@@ -1107,42 +1128,42 @@ function Lr(n, e, t, s, i, r, o, a) {
1107
1128
  }
1108
1129
  }));
1109
1130
  };
1110
- return n.subscribe(z(e, p, function() {
1111
- h = !0, d();
1131
+ return n.subscribe(U(e, p, function() {
1132
+ u = !0, d();
1112
1133
  })), function() {
1113
1134
  };
1114
1135
  }
1115
- function nn(n, e, t) {
1116
- return t === void 0 && (t = 1 / 0), x(e) ? nn(function(s, i) {
1136
+ function sn(n, e, t) {
1137
+ return t === void 0 && (t = 1 / 0), x(e) ? sn(function(s, i) {
1117
1138
  return Xe(function(r, o) {
1118
1139
  return e(s, r, i, o);
1119
1140
  })(D(n(s, i)));
1120
1141
  }, t) : (typeof e == "number" && (t = e), V(function(s, i) {
1121
- return Lr(s, i, n, t);
1142
+ return Tr(s, i, n, t);
1122
1143
  }));
1123
1144
  }
1124
- function Tr(n) {
1125
- return n === void 0 && (n = 1 / 0), nn(je, n);
1145
+ function Lr(n) {
1146
+ return n === void 0 && (n = 1 / 0), sn(je, n);
1126
1147
  }
1127
1148
  var Rr = ["addListener", "removeListener"], Pr = ["addEventListener", "removeEventListener"], Or = ["on", "off"];
1128
1149
  function Ve(n, e, t, s) {
1129
1150
  if (x(t) && (s = t, t = void 0), s)
1130
- return Ve(n, e, t).pipe(Ks(s));
1151
+ return Ve(n, e, t).pipe(Vs(s));
1131
1152
  var i = se(zr(n) ? Pr.map(function(a) {
1132
1153
  return function(l) {
1133
1154
  return n[a](e, l, t);
1134
1155
  };
1135
- }) : Ir(n) ? Rr.map(Dn(n, e)) : Mr(n) ? Or.map(Dn(n, e)) : [], 2), r = i[0], o = i[1];
1136
- if (!r && tn(n))
1137
- return nn(function(a) {
1156
+ }) : Ir(n) ? Rr.map(qn(n, e)) : Mr(n) ? Or.map(qn(n, e)) : [], 2), r = i[0], o = i[1];
1157
+ if (!r && nn(n))
1158
+ return sn(function(a) {
1138
1159
  return Ve(a, e, t);
1139
1160
  })(D(n));
1140
1161
  if (!r)
1141
1162
  throw new TypeError("Invalid event target");
1142
- return new L(function(a) {
1163
+ return new T(function(a) {
1143
1164
  var l = function() {
1144
- for (var c = [], u = 0; u < arguments.length; u++)
1145
- c[u] = arguments[u];
1165
+ for (var c = [], h = 0; h < arguments.length; h++)
1166
+ c[h] = arguments[h];
1146
1167
  return a.next(1 < c.length ? c : c[0]);
1147
1168
  };
1148
1169
  return r(l), function() {
@@ -1150,7 +1171,7 @@ function Ve(n, e, t, s) {
1150
1171
  };
1151
1172
  });
1152
1173
  }
1153
- function Dn(n, e) {
1174
+ function qn(n, e) {
1154
1175
  return function(t) {
1155
1176
  return function(s) {
1156
1177
  return n[t](e, s);
@@ -1169,15 +1190,15 @@ function zr(n) {
1169
1190
  function Ur() {
1170
1191
  for (var n = [], e = 0; e < arguments.length; e++)
1171
1192
  n[e] = arguments[e];
1172
- var t = en(n), s = ir(n, 1 / 0), i = n;
1173
- return i.length ? i.length === 1 ? D(i[0]) : Tr(s)(gt(i, t)) : He;
1193
+ var t = tn(n), s = ir(n, 1 / 0), i = n;
1194
+ return i.length ? i.length === 1 ? D(i[0]) : Lr(s)(gt(i, t)) : He;
1174
1195
  }
1175
- function Bt(n) {
1196
+ function jt(n) {
1176
1197
  return n <= 0 ? function() {
1177
1198
  return He;
1178
1199
  } : V(function(e, t) {
1179
1200
  var s = 0;
1180
- e.subscribe(z(t, function(i) {
1201
+ e.subscribe(U(t, function(i) {
1181
1202
  ++s <= n && (t.next(i), n <= s && t.complete());
1182
1203
  }));
1183
1204
  });
@@ -1187,11 +1208,11 @@ function pe(n, e) {
1187
1208
  var i = null, r = 0, o = !1, a = function() {
1188
1209
  return o && !i && s.complete();
1189
1210
  };
1190
- t.subscribe(z(s, function(l) {
1211
+ t.subscribe(U(s, function(l) {
1191
1212
  i == null || i.unsubscribe();
1192
- var c = 0, u = r++;
1193
- D(n(l, u)).subscribe(i = z(s, function(h) {
1194
- return s.next(e ? e(l, h, u, c++) : h);
1213
+ var c = 0, h = r++;
1214
+ D(n(l, h)).subscribe(i = U(s, function(u) {
1215
+ return s.next(e ? e(l, u, h, c++) : u);
1195
1216
  }, function() {
1196
1217
  i = null, a();
1197
1218
  }));
@@ -1200,30 +1221,30 @@ function pe(n, e) {
1200
1221
  }));
1201
1222
  });
1202
1223
  }
1203
- function jt(n) {
1224
+ function Ht(n) {
1204
1225
  return V(function(e, t) {
1205
- D(n).subscribe(z(t, function() {
1226
+ D(n).subscribe(U(t, function() {
1206
1227
  return t.complete();
1207
1228
  }, Qe)), !t.closed && e.subscribe(t);
1208
1229
  });
1209
1230
  }
1210
- function Ht() {
1231
+ function Nt() {
1211
1232
  for (var n = [], e = 0; e < arguments.length; e++)
1212
1233
  n[e] = arguments[e];
1213
- var t = zs(n);
1234
+ var t = js(n);
1214
1235
  return V(function(s, i) {
1215
1236
  for (var r = n.length, o = new Array(r), a = n.map(function() {
1216
1237
  return !1;
1217
- }), l = !1, c = function(h) {
1218
- D(n[h]).subscribe(z(i, function(d) {
1219
- o[h] = d, !l && !a[h] && (a[h] = !0, (l = a.every(je)) && (a = null));
1238
+ }), l = !1, c = function(u) {
1239
+ D(n[u]).subscribe(U(i, function(d) {
1240
+ o[u] = d, !l && !a[u] && (a[u] = !0, (l = a.every(je)) && (a = null));
1220
1241
  }, Qe));
1221
- }, u = 0; u < r; u++)
1222
- c(u);
1223
- s.subscribe(z(i, function(h) {
1242
+ }, h = 0; h < r; h++)
1243
+ c(h);
1244
+ s.subscribe(U(i, function(u) {
1224
1245
  if (l) {
1225
- var d = be([h], se(o));
1226
- i.next(t ? t.apply(void 0, be([], se(d))) : d);
1246
+ var d = ve([u], se(o));
1247
+ i.next(t ? t.apply(void 0, ve([], se(d))) : d);
1227
1248
  }
1228
1249
  }));
1229
1250
  });
@@ -1232,15 +1253,15 @@ var K = /* @__PURE__ */ ((n) => (n.User = "user", n.Agent = "agent", n.System =
1232
1253
  const Br = () => "10000000-1000-4000-8000-100000000000".replace(
1233
1254
  /[018]/g,
1234
1255
  (n) => (+n ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> +n / 4).toString(16)
1235
- ), Qs = () => typeof crypto.randomUUID == "function" ? crypto.randomUUID() : Br();
1236
- function Hl(n) {
1256
+ ), Js = () => typeof crypto.randomUUID == "function" ? crypto.randomUUID() : Br();
1257
+ function Ml(n) {
1237
1258
  let e = n;
1238
1259
  const t = /https?:\/\/[^\s<]+/gi, s = /<a [^>]*href="([^"]*)"[^>]*>[^<]*<\/a>/g, i = n.match(t) || [], r = [];
1239
1260
  let o;
1240
1261
  for (; (o = s.exec(n)) !== null; )
1241
1262
  r.push(o[1]);
1242
1263
  return i.filter((l) => !r.includes(l)).forEach((l) => {
1243
- const c = l.endsWith(".") ? l.slice(0, -1) : l, u = new RegExp(
1264
+ const c = l.endsWith(".") ? l.slice(0, -1) : l, h = new RegExp(
1244
1265
  `(?<!<a[^>]*>)${c.replace(
1245
1266
  /[.*+?^${}()|[\]\\]/g,
1246
1267
  "\\$&"
@@ -1248,7 +1269,7 @@ function Hl(n) {
1248
1269
  "gi"
1249
1270
  );
1250
1271
  e = e.replace(
1251
- u,
1272
+ h,
1252
1273
  `<a title='${c}' target='_blank' href='${c}'>${c}</a>`
1253
1274
  );
1254
1275
  }), e;
@@ -1258,7 +1279,7 @@ function jr(n) {
1258
1279
  return Hr(n);
1259
1280
  const e = /<a [^>]*>https?:\/\/[^<]*<\/a>/gim;
1260
1281
  return n.replace(e, (t) => {
1261
- const s = Xs(t);
1282
+ const s = ei(t);
1262
1283
  if (!s)
1263
1284
  return t;
1264
1285
  const i = 50;
@@ -1266,19 +1287,19 @@ function jr(n) {
1266
1287
  const r = /^(https?:\/\/[^/]+)(\/.*)?$/i, o = s.match(r);
1267
1288
  if (!o)
1268
1289
  return t;
1269
- const a = o[1], c = (o[2] || "/").split("?")[0], u = c.split("/").pop(), h = i - a.length;
1290
+ const a = o[1], c = (o[2] || "/").split("?")[0], h = c.split("/").pop(), u = i - a.length;
1270
1291
  let d = c;
1271
- u && u.length < h && c.length > h ? d = c.substring(
1292
+ h && h.length < u && c.length > u ? d = c.substring(
1272
1293
  0,
1273
- h - u.length - 4
1274
- ) + ".../" + u : d = c.substring(0, h - 3) + "...";
1294
+ u - h.length - 4
1295
+ ) + ".../" + h : d = c.substring(0, u - 3) + "...";
1275
1296
  const p = `${a}${d}`;
1276
- return Nt(t, p);
1297
+ return Dt(t, p);
1277
1298
  }
1278
- return Nt(t, s);
1299
+ return Dt(t, s);
1279
1300
  });
1280
1301
  }
1281
- function Xs(n) {
1302
+ function ei(n) {
1282
1303
  const e = n.match(/href=["']([^'"]*)["']/);
1283
1304
  if (e && e.length > 1) {
1284
1305
  let t = e[1];
@@ -1286,22 +1307,22 @@ function Xs(n) {
1286
1307
  }
1287
1308
  return null;
1288
1309
  }
1289
- function Nt(n, e) {
1310
+ function Dt(n, e) {
1290
1311
  return n.replace(/>[^<]*<\/a>/, `>${e}</a>`);
1291
1312
  }
1292
1313
  function Hr(n) {
1293
1314
  const e = /<a [^>]*aceChatGuideTitle[^>]*>[^<]*<\/a>/gm;
1294
1315
  return n.replace(e, (t) => {
1295
- const s = Xs(t);
1316
+ const s = ei(t);
1296
1317
  if (!s)
1297
1318
  return t;
1298
1319
  const i = s.split("?").pop(), o = new URLSearchParams(i).get("aceChatGuideTitle");
1299
- return o ? Nt(t, o) : t;
1320
+ return o ? Dt(t, o) : t;
1300
1321
  });
1301
1322
  }
1302
1323
  class mt {
1303
1324
  constructor(e, t, s) {
1304
- this.type = e, this.sender = t, this.messages = s, this.status = "delivered", this.didUpdate = new _(), this.actions$ = new _(), this.remove$ = new _(), this.timestamp = Date.now(), this.id = Qs();
1325
+ this.type = e, this.sender = t, this.messages = s, this.status = "delivered", this.didUpdate = new _(), this.actions$ = new _(), this.remove$ = new _(), this.timestamp = Date.now(), this.id = Js();
1305
1326
  }
1306
1327
  update(e) {
1307
1328
  this.messages = [
@@ -1377,12 +1398,12 @@ class qr {
1377
1398
  return this.print$.asObservable();
1378
1399
  }
1379
1400
  }
1380
- class Nl {
1401
+ class zl {
1381
1402
  constructor(e, t) {
1382
- this.name = e, this.component = t, this.print$ = new _(), this.typingState$ = new H(!1), this.complete$ = new _(), this.system = this.createSystem(), this.rehydrate$ = new _(), this.saveToCurrentSession$ = new _(), this.showChatOverlay$ = new H(!1), this.onComplete = () => this.complete$.asObservable();
1403
+ this.name = e, this.component = t, this.print$ = new _(), this.typingState$ = new z(!1), this.complete$ = new _(), this.system = this.createSystem(), this.rehydrate$ = new _(), this.saveToCurrentSession$ = new _(), this.showChatOverlay$ = new z(!1), this.onComplete = () => this.complete$.asObservable();
1383
1404
  }
1384
1405
  connect(e = {}) {
1385
- this.complete$.pipe(Bt(1)).subscribe(() => {
1406
+ this.complete$.pipe(jt(1)).subscribe(() => {
1386
1407
  this.disconnected();
1387
1408
  });
1388
1409
  }
@@ -1459,18 +1480,18 @@ class Nl {
1459
1480
  * Copyright 2019 Google LLC
1460
1481
  * SPDX-License-Identifier: BSD-3-Clause
1461
1482
  */
1462
- const Ke = globalThis, sn = Ke.ShadowRoot && (Ke.ShadyCSS === void 0 || Ke.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, rn = Symbol(), qn = /* @__PURE__ */ new WeakMap();
1463
- let Vs = class {
1483
+ const Ke = globalThis, rn = Ke.ShadowRoot && (Ke.ShadyCSS === void 0 || Ke.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, on = Symbol(), Fn = /* @__PURE__ */ new WeakMap();
1484
+ let ti = class {
1464
1485
  constructor(e, t, s) {
1465
- if (this._$cssResult$ = !0, s !== rn) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
1486
+ if (this._$cssResult$ = !0, s !== on) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
1466
1487
  this.cssText = e, this.t = t;
1467
1488
  }
1468
1489
  get styleSheet() {
1469
1490
  let e = this.o;
1470
1491
  const t = this.t;
1471
- if (sn && e === void 0) {
1492
+ if (rn && e === void 0) {
1472
1493
  const s = t !== void 0 && t.length === 1;
1473
- s && (e = qn.get(t)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), s && qn.set(t, e));
1494
+ s && (e = Fn.get(t)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), s && Fn.set(t, e));
1474
1495
  }
1475
1496
  return e;
1476
1497
  }
@@ -1478,20 +1499,20 @@ let Vs = class {
1478
1499
  return this.cssText;
1479
1500
  }
1480
1501
  };
1481
- const Fr = (n) => new Vs(typeof n == "string" ? n : n + "", void 0, rn), T = (n, ...e) => {
1502
+ const Fr = (n) => new ti(typeof n == "string" ? n : n + "", void 0, on), L = (n, ...e) => {
1482
1503
  const t = n.length === 1 ? n[0] : e.reduce((s, i, r) => s + ((o) => {
1483
1504
  if (o._$cssResult$ === !0) return o.cssText;
1484
1505
  if (typeof o == "number") return o;
1485
1506
  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.");
1486
1507
  })(i) + n[r + 1], n[0]);
1487
- return new Vs(t, n, rn);
1508
+ return new ti(t, n, on);
1488
1509
  }, Zr = (n, e) => {
1489
- if (sn) n.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet);
1510
+ if (rn) n.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet);
1490
1511
  else for (const t of e) {
1491
1512
  const s = document.createElement("style"), i = Ke.litNonce;
1492
1513
  i !== void 0 && s.setAttribute("nonce", i), s.textContent = t.cssText, n.appendChild(s);
1493
1514
  }
1494
- }, Fn = sn ? (n) => n : (n) => n instanceof CSSStyleSheet ? ((e) => {
1515
+ }, Zn = rn ? (n) => n : (n) => n instanceof CSSStyleSheet ? ((e) => {
1495
1516
  let t = "";
1496
1517
  for (const s of e.cssRules) t += s.cssText;
1497
1518
  return Fr(t);
@@ -1501,7 +1522,7 @@ const Fr = (n) => new Vs(typeof n == "string" ? n : n + "", void 0, rn), T = (n,
1501
1522
  * Copyright 2017 Google LLC
1502
1523
  * SPDX-License-Identifier: BSD-3-Clause
1503
1524
  */
1504
- const { is: Wr, defineProperty: Gr, getOwnPropertyDescriptor: Yr, getOwnPropertyNames: Kr, getOwnPropertySymbols: Qr, getPrototypeOf: Xr } = Object, Q = globalThis, Zn = Q.trustedTypes, Vr = Zn ? Zn.emptyScript : "", At = Q.reactiveElementPolyfillSupport, Ce = (n, e) => n, Je = { toAttribute(n, e) {
1525
+ const { is: Wr, defineProperty: Yr, getOwnPropertyDescriptor: Gr, getOwnPropertyNames: Kr, getOwnPropertySymbols: Qr, getPrototypeOf: Xr } = Object, Q = globalThis, Wn = Q.trustedTypes, Vr = Wn ? Wn.emptyScript : "", Et = Q.reactiveElementPolyfillSupport, Ce = (n, e) => n, Je = { toAttribute(n, e) {
1505
1526
  switch (e) {
1506
1527
  case Boolean:
1507
1528
  n = n ? Vr : null;
@@ -1529,7 +1550,7 @@ const { is: Wr, defineProperty: Gr, getOwnPropertyDescriptor: Yr, getOwnProperty
1529
1550
  }
1530
1551
  }
1531
1552
  return t;
1532
- } }, on = (n, e) => !Wr(n, e), Wn = { attribute: !0, type: String, converter: Je, reflect: !1, hasChanged: on };
1553
+ } }, an = (n, e) => !Wr(n, e), Yn = { attribute: !0, type: String, converter: Je, reflect: !1, hasChanged: an };
1533
1554
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), Q.litPropertyMetadata ?? (Q.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
1534
1555
  let le = class extends HTMLElement {
1535
1556
  static addInitializer(e) {
@@ -1538,14 +1559,14 @@ let le = class extends HTMLElement {
1538
1559
  static get observedAttributes() {
1539
1560
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
1540
1561
  }
1541
- static createProperty(e, t = Wn) {
1562
+ static createProperty(e, t = Yn) {
1542
1563
  if (t.state && (t.attribute = !1), this._$Ei(), this.elementProperties.set(e, t), !t.noAccessor) {
1543
1564
  const s = Symbol(), i = this.getPropertyDescriptor(e, s, t);
1544
- i !== void 0 && Gr(this.prototype, e, i);
1565
+ i !== void 0 && Yr(this.prototype, e, i);
1545
1566
  }
1546
1567
  }
1547
1568
  static getPropertyDescriptor(e, t, s) {
1548
- const { get: i, set: r } = Yr(this.prototype, e) ?? { get() {
1569
+ const { get: i, set: r } = Gr(this.prototype, e) ?? { get() {
1549
1570
  return this[t];
1550
1571
  }, set(o) {
1551
1572
  this[t] = o;
@@ -1558,7 +1579,7 @@ let le = class extends HTMLElement {
1558
1579
  }, configurable: !0, enumerable: !0 };
1559
1580
  }
1560
1581
  static getPropertyOptions(e) {
1561
- return this.elementProperties.get(e) ?? Wn;
1582
+ return this.elementProperties.get(e) ?? Yn;
1562
1583
  }
1563
1584
  static _$Ei() {
1564
1585
  if (this.hasOwnProperty(Ce("elementProperties"))) return;
@@ -1587,8 +1608,8 @@ let le = class extends HTMLElement {
1587
1608
  const t = [];
1588
1609
  if (Array.isArray(e)) {
1589
1610
  const s = new Set(e.flat(1 / 0).reverse());
1590
- for (const i of s) t.unshift(Fn(i));
1591
- } else e !== void 0 && t.push(Fn(e));
1611
+ for (const i of s) t.unshift(Zn(i));
1612
+ } else e !== void 0 && t.push(Zn(e));
1592
1613
  return t;
1593
1614
  }
1594
1615
  static _$Eu(e, t) {
@@ -1656,7 +1677,7 @@ let le = class extends HTMLElement {
1656
1677
  }
1657
1678
  requestUpdate(e, t, s) {
1658
1679
  if (e !== void 0) {
1659
- if (s ?? (s = this.constructor.getPropertyOptions(e)), !(s.hasChanged ?? on)(this[e], t)) return;
1680
+ if (s ?? (s = this.constructor.getPropertyOptions(e)), !(s.hasChanged ?? an)(this[e], t)) return;
1660
1681
  this.P(e, t, s);
1661
1682
  }
1662
1683
  this.isUpdatePending === !1 && (this._$ES = this._$ET());
@@ -1729,17 +1750,17 @@ let le = class extends HTMLElement {
1729
1750
  firstUpdated(e) {
1730
1751
  }
1731
1752
  };
1732
- le.elementStyles = [], le.shadowRootOptions = { mode: "open" }, le[Ce("elementProperties")] = /* @__PURE__ */ new Map(), le[Ce("finalized")] = /* @__PURE__ */ new Map(), At == null || At({ ReactiveElement: le }), (Q.reactiveElementVersions ?? (Q.reactiveElementVersions = [])).push("2.0.4");
1753
+ le.elementStyles = [], le.shadowRootOptions = { mode: "open" }, le[Ce("elementProperties")] = /* @__PURE__ */ new Map(), le[Ce("finalized")] = /* @__PURE__ */ new Map(), Et == null || Et({ ReactiveElement: le }), (Q.reactiveElementVersions ?? (Q.reactiveElementVersions = [])).push("2.0.4");
1733
1754
  /**
1734
1755
  * @license
1735
1756
  * Copyright 2017 Google LLC
1736
1757
  * SPDX-License-Identifier: BSD-3-Clause
1737
1758
  */
1738
- const Ae = globalThis, et = Ae.trustedTypes, Gn = et ? et.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, Js = "$lit$", G = `lit$${Math.random().toFixed(9).slice(2)}$`, ei = "?" + G, Jr = `<${ei}>`, ie = document, Re = () => ie.createComment(""), Pe = (n) => n === null || typeof n != "object" && typeof n != "function", an = Array.isArray, eo = (n) => an(n) || typeof (n == null ? void 0 : n[Symbol.iterator]) == "function", Et = `[
1739
- \f\r]`, ke = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Yn = /-->/g, Kn = />/g, ee = RegExp(`>|${Et}(?:([^\\s"'>=/]+)(${Et}*=${Et}*(?:[^
1740
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Qn = /'/g, Xn = /"/g, ti = /^(?:script|style|textarea|title)$/i, to = (n) => (e, ...t) => ({ _$litType$: n, strings: e, values: t }), b = to(1), X = Symbol.for("lit-noChange"), m = Symbol.for("lit-nothing"), Vn = /* @__PURE__ */ new WeakMap(), ne = ie.createTreeWalker(ie, 129);
1741
- function ni(n, e) {
1742
- if (!an(n) || !n.hasOwnProperty("raw")) throw Error("invalid template strings array");
1759
+ const Ae = globalThis, et = Ae.trustedTypes, Gn = et ? et.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, ni = "$lit$", Y = `lit$${Math.random().toFixed(9).slice(2)}$`, si = "?" + Y, Jr = `<${si}>`, ie = document, Re = () => ie.createComment(""), Pe = (n) => n === null || typeof n != "object" && typeof n != "function", ln = Array.isArray, eo = (n) => ln(n) || typeof (n == null ? void 0 : n[Symbol.iterator]) == "function", Tt = `[
1760
+ \f\r]`, ke = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Kn = /-->/g, Qn = />/g, ee = RegExp(`>|${Tt}(?:([^\\s"'>=/]+)(${Tt}*=${Tt}*(?:[^
1761
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Xn = /'/g, Vn = /"/g, ii = /^(?:script|style|textarea|title)$/i, to = (n) => (e, ...t) => ({ _$litType$: n, strings: e, values: t }), v = to(1), X = Symbol.for("lit-noChange"), m = Symbol.for("lit-nothing"), Jn = /* @__PURE__ */ new WeakMap(), ne = ie.createTreeWalker(ie, 129);
1762
+ function ri(n, e) {
1763
+ if (!ln(n) || !n.hasOwnProperty("raw")) throw Error("invalid template strings array");
1743
1764
  return Gn !== void 0 ? Gn.createHTML(e) : e;
1744
1765
  }
1745
1766
  const no = (n, e) => {
@@ -1747,41 +1768,41 @@ const no = (n, e) => {
1747
1768
  let i, r = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", o = ke;
1748
1769
  for (let a = 0; a < t; a++) {
1749
1770
  const l = n[a];
1750
- let c, u, h = -1, d = 0;
1751
- for (; d < l.length && (o.lastIndex = d, u = o.exec(l), u !== null); ) d = o.lastIndex, o === ke ? u[1] === "!--" ? o = Yn : u[1] !== void 0 ? o = Kn : u[2] !== void 0 ? (ti.test(u[2]) && (i = RegExp("</" + u[2], "g")), o = ee) : u[3] !== void 0 && (o = ee) : o === ee ? u[0] === ">" ? (o = i ?? ke, h = -1) : u[1] === void 0 ? h = -2 : (h = o.lastIndex - u[2].length, c = u[1], o = u[3] === void 0 ? ee : u[3] === '"' ? Xn : Qn) : o === Xn || o === Qn ? o = ee : o === Yn || o === Kn ? o = ke : (o = ee, i = void 0);
1771
+ let c, h, u = -1, d = 0;
1772
+ for (; d < l.length && (o.lastIndex = d, h = o.exec(l), h !== null); ) d = o.lastIndex, o === ke ? h[1] === "!--" ? o = Kn : h[1] !== void 0 ? o = Qn : h[2] !== void 0 ? (ii.test(h[2]) && (i = RegExp("</" + h[2], "g")), o = ee) : h[3] !== void 0 && (o = ee) : o === ee ? h[0] === ">" ? (o = i ?? ke, u = -1) : h[1] === void 0 ? u = -2 : (u = o.lastIndex - h[2].length, c = h[1], o = h[3] === void 0 ? ee : h[3] === '"' ? Vn : Xn) : o === Vn || o === Xn ? o = ee : o === Kn || o === Qn ? o = ke : (o = ee, i = void 0);
1752
1773
  const p = o === ee && n[a + 1].startsWith("/>") ? " " : "";
1753
- r += o === ke ? l + Jr : h >= 0 ? (s.push(c), l.slice(0, h) + Js + l.slice(h) + G + p) : l + G + (h === -2 ? a : p);
1774
+ r += o === ke ? l + Jr : u >= 0 ? (s.push(c), l.slice(0, u) + ni + l.slice(u) + Y + p) : l + Y + (u === -2 ? a : p);
1754
1775
  }
1755
- return [ni(n, r + (n[t] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), s];
1776
+ return [ri(n, r + (n[t] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), s];
1756
1777
  };
1757
- let Dt = class si {
1778
+ let qt = class oi {
1758
1779
  constructor({ strings: e, _$litType$: t }, s) {
1759
1780
  let i;
1760
1781
  this.parts = [];
1761
1782
  let r = 0, o = 0;
1762
- const a = e.length - 1, l = this.parts, [c, u] = no(e, t);
1763
- if (this.el = si.createElement(c, s), ne.currentNode = this.el.content, t === 2 || t === 3) {
1764
- const h = this.el.content.firstChild;
1765
- h.replaceWith(...h.childNodes);
1783
+ const a = e.length - 1, l = this.parts, [c, h] = no(e, t);
1784
+ if (this.el = oi.createElement(c, s), ne.currentNode = this.el.content, t === 2 || t === 3) {
1785
+ const u = this.el.content.firstChild;
1786
+ u.replaceWith(...u.childNodes);
1766
1787
  }
1767
1788
  for (; (i = ne.nextNode()) !== null && l.length < a; ) {
1768
1789
  if (i.nodeType === 1) {
1769
- if (i.hasAttributes()) for (const h of i.getAttributeNames()) if (h.endsWith(Js)) {
1770
- const d = u[o++], p = i.getAttribute(h).split(G), g = /([.?@])?(.*)/.exec(d);
1771
- l.push({ type: 1, index: r, name: g[2], strings: p, ctor: g[1] === "." ? io : g[1] === "?" ? ro : g[1] === "@" ? oo : bt }), i.removeAttribute(h);
1772
- } else h.startsWith(G) && (l.push({ type: 6, index: r }), i.removeAttribute(h));
1773
- if (ti.test(i.tagName)) {
1774
- const h = i.textContent.split(G), d = h.length - 1;
1790
+ if (i.hasAttributes()) for (const u of i.getAttributeNames()) if (u.endsWith(ni)) {
1791
+ const d = h[o++], p = i.getAttribute(u).split(Y), g = /([.?@])?(.*)/.exec(d);
1792
+ l.push({ type: 1, index: r, name: g[2], strings: p, ctor: g[1] === "." ? io : g[1] === "?" ? ro : g[1] === "@" ? oo : vt }), i.removeAttribute(u);
1793
+ } else u.startsWith(Y) && (l.push({ type: 6, index: r }), i.removeAttribute(u));
1794
+ if (ii.test(i.tagName)) {
1795
+ const u = i.textContent.split(Y), d = u.length - 1;
1775
1796
  if (d > 0) {
1776
1797
  i.textContent = et ? et.emptyScript : "";
1777
- for (let p = 0; p < d; p++) i.append(h[p], Re()), ne.nextNode(), l.push({ type: 2, index: ++r });
1778
- i.append(h[d], Re());
1798
+ for (let p = 0; p < d; p++) i.append(u[p], Re()), ne.nextNode(), l.push({ type: 2, index: ++r });
1799
+ i.append(u[d], Re());
1779
1800
  }
1780
1801
  }
1781
- } else if (i.nodeType === 8) if (i.data === ei) l.push({ type: 2, index: r });
1802
+ } else if (i.nodeType === 8) if (i.data === si) l.push({ type: 2, index: r });
1782
1803
  else {
1783
- let h = -1;
1784
- for (; (h = i.data.indexOf(G, h + 1)) !== -1; ) l.push({ type: 7, index: r }), h += G.length - 1;
1804
+ let u = -1;
1805
+ for (; (u = i.data.indexOf(Y, u + 1)) !== -1; ) l.push({ type: 7, index: r }), u += Y.length - 1;
1785
1806
  }
1786
1807
  r++;
1787
1808
  }
@@ -1791,12 +1812,12 @@ let Dt = class si {
1791
1812
  return s.innerHTML = e, s;
1792
1813
  }
1793
1814
  };
1794
- function ve(n, e, t = n, s) {
1815
+ function be(n, e, t = n, s) {
1795
1816
  var o, a;
1796
1817
  if (e === X) return e;
1797
1818
  let i = s !== void 0 ? (o = t._$Co) == null ? void 0 : o[s] : t._$Cl;
1798
1819
  const r = Pe(e) ? void 0 : e._$litDirective$;
1799
- return (i == null ? void 0 : i.constructor) !== r && ((a = i == null ? void 0 : i._$AO) == null || a.call(i, !1), r === void 0 ? i = void 0 : (i = new r(n), i._$AT(n, t, s)), s !== void 0 ? (t._$Co ?? (t._$Co = []))[s] = i : t._$Cl = i), i !== void 0 && (e = ve(n, i._$AS(n, e.values), i, s)), e;
1820
+ return (i == null ? void 0 : i.constructor) !== r && ((a = i == null ? void 0 : i._$AO) == null || a.call(i, !1), r === void 0 ? i = void 0 : (i = new r(n), i._$AT(n, t, s)), s !== void 0 ? (t._$Co ?? (t._$Co = []))[s] = i : t._$Cl = i), i !== void 0 && (e = be(n, i._$AS(n, e.values), i, s)), e;
1800
1821
  }
1801
1822
  class so {
1802
1823
  constructor(e, t) {
@@ -1846,7 +1867,7 @@ class Ne {
1846
1867
  return this._$AB;
1847
1868
  }
1848
1869
  _$AI(e, t = this) {
1849
- e = ve(this, e, t), Pe(e) ? e === m || e == null || e === "" ? (this._$AH !== m && this._$AR(), this._$AH = m) : e !== this._$AH && e !== X && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : eo(e) ? this.k(e) : this._(e);
1870
+ e = be(this, e, t), Pe(e) ? e === m || e == null || e === "" ? (this._$AH !== m && this._$AR(), this._$AH = m) : e !== this._$AH && e !== X && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : eo(e) ? this.k(e) : this._(e);
1850
1871
  }
1851
1872
  O(e) {
1852
1873
  return this._$AA.parentNode.insertBefore(e, this._$AB);
@@ -1859,7 +1880,7 @@ class Ne {
1859
1880
  }
1860
1881
  $(e) {
1861
1882
  var r;
1862
- const { values: t, _$litType$: s } = e, i = typeof s == "number" ? this._$AC(e) : (s.el === void 0 && (s.el = Dt.createElement(ni(s.h, s.h[0]), this.options)), s);
1883
+ const { values: t, _$litType$: s } = e, i = typeof s == "number" ? this._$AC(e) : (s.el === void 0 && (s.el = qt.createElement(ri(s.h, s.h[0]), this.options)), s);
1863
1884
  if (((r = this._$AH) == null ? void 0 : r._$AD) === i) this._$AH.p(t);
1864
1885
  else {
1865
1886
  const o = new so(i, this), a = o.u(this.options);
@@ -1867,11 +1888,11 @@ class Ne {
1867
1888
  }
1868
1889
  }
1869
1890
  _$AC(e) {
1870
- let t = Vn.get(e.strings);
1871
- return t === void 0 && Vn.set(e.strings, t = new Dt(e)), t;
1891
+ let t = Jn.get(e.strings);
1892
+ return t === void 0 && Jn.set(e.strings, t = new qt(e)), t;
1872
1893
  }
1873
1894
  k(e) {
1874
- an(this._$AH) || (this._$AH = [], this._$AR());
1895
+ ln(this._$AH) || (this._$AH = [], this._$AR());
1875
1896
  const t = this._$AH;
1876
1897
  let s, i = 0;
1877
1898
  for (const r of e) i === t.length ? t.push(s = new Ne(this.O(Re()), this.O(Re()), this, this.options)) : s = t[i], s._$AI(r), i++;
@@ -1889,7 +1910,7 @@ class Ne {
1889
1910
  this._$AM === void 0 && (this._$Cv = e, (t = this._$AP) == null || t.call(this, e));
1890
1911
  }
1891
1912
  }
1892
- class bt {
1913
+ class vt {
1893
1914
  get tagName() {
1894
1915
  return this.element.tagName;
1895
1916
  }
@@ -1902,11 +1923,11 @@ class bt {
1902
1923
  _$AI(e, t = this, s, i) {
1903
1924
  const r = this.strings;
1904
1925
  let o = !1;
1905
- if (r === void 0) e = ve(this, e, t, 0), o = !Pe(e) || e !== this._$AH && e !== X, o && (this._$AH = e);
1926
+ if (r === void 0) e = be(this, e, t, 0), o = !Pe(e) || e !== this._$AH && e !== X, o && (this._$AH = e);
1906
1927
  else {
1907
1928
  const a = e;
1908
1929
  let l, c;
1909
- for (e = r[0], l = 0; l < r.length - 1; l++) c = ve(this, a[s + l], t, l), c === X && (c = this._$AH[l]), o || (o = !Pe(c) || c !== this._$AH[l]), c === m ? e = m : e !== m && (e += (c ?? "") + r[l + 1]), this._$AH[l] = c;
1930
+ for (e = r[0], l = 0; l < r.length - 1; l++) c = be(this, a[s + l], t, l), c === X && (c = this._$AH[l]), o || (o = !Pe(c) || c !== this._$AH[l]), c === m ? e = m : e !== m && (e += (c ?? "") + r[l + 1]), this._$AH[l] = c;
1910
1931
  }
1911
1932
  o && !i && this.j(e);
1912
1933
  }
@@ -1914,7 +1935,7 @@ class bt {
1914
1935
  e === m ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
1915
1936
  }
1916
1937
  }
1917
- let io = class extends bt {
1938
+ let io = class extends vt {
1918
1939
  constructor() {
1919
1940
  super(...arguments), this.type = 3;
1920
1941
  }
@@ -1922,7 +1943,7 @@ let io = class extends bt {
1922
1943
  this.element[this.name] = e === m ? void 0 : e;
1923
1944
  }
1924
1945
  };
1925
- class ro extends bt {
1946
+ class ro extends vt {
1926
1947
  constructor() {
1927
1948
  super(...arguments), this.type = 4;
1928
1949
  }
@@ -1930,12 +1951,12 @@ class ro extends bt {
1930
1951
  this.element.toggleAttribute(this.name, !!e && e !== m);
1931
1952
  }
1932
1953
  }
1933
- class oo extends bt {
1954
+ class oo extends vt {
1934
1955
  constructor(e, t, s, i, r) {
1935
1956
  super(e, t, s, i, r), this.type = 5;
1936
1957
  }
1937
1958
  _$AI(e, t = this) {
1938
- if ((e = ve(this, e, t, 0) ?? m) === X) return;
1959
+ if ((e = be(this, e, t, 0) ?? m) === X) return;
1939
1960
  const s = this._$AH, i = e === m && s !== m || e.capture !== s.capture || e.once !== s.once || e.passive !== s.passive, r = e !== m && (s === m || i);
1940
1961
  i && this.element.removeEventListener(this.name, this, s), r && this.element.addEventListener(this.name, this, e), this._$AH = e;
1941
1962
  }
@@ -1952,11 +1973,11 @@ class ao {
1952
1973
  return this._$AM._$AU;
1953
1974
  }
1954
1975
  _$AI(e) {
1955
- ve(this, e);
1976
+ be(this, e);
1956
1977
  }
1957
1978
  }
1958
1979
  const Lt = Ae.litHtmlPolyfillSupport;
1959
- Lt == null || Lt(Dt, Ne), (Ae.litHtmlVersions ?? (Ae.litHtmlVersions = [])).push("3.2.1");
1980
+ Lt == null || Lt(qt, Ne), (Ae.litHtmlVersions ?? (Ae.litHtmlVersions = [])).push("3.2.1");
1960
1981
  const lo = (n, e, t) => {
1961
1982
  const s = (t == null ? void 0 : t.renderBefore) ?? e;
1962
1983
  let i = s._$litPart$;
@@ -1998,18 +2019,95 @@ let S = class extends le {
1998
2019
  };
1999
2020
  var Ls;
2000
2021
  S._$litElement$ = !0, S.finalized = !0, (Ls = globalThis.litElementHydrateSupport) == null || Ls.call(globalThis, { LitElement: S });
2001
- const Tt = globalThis.litElementPolyfillSupport;
2002
- Tt == null || Tt({ LitElement: S });
2022
+ const Rt = globalThis.litElementPolyfillSupport;
2023
+ Rt == null || Rt({ LitElement: S });
2003
2024
  (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.1.1");
2004
- const co = { 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>' }, uo = { 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>' }, ho = { 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>' }, po = { 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>' }, fo = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 56C45.2548 56 56 45.2548 56 32C56 18.7452 45.2548 8 32 8C18.7452 8 8 18.7452 8 32C8 45.2548 18.7452 56 32 56ZM32 60C47.464 60 60 47.464 60 32C60 16.536 47.464 4 32 4C16.536 4 4 16.536 4 32C4 47.464 16.536 60 32 60Z"/><path d="M25.2772 22.695C24.5164 21.8942 23.2505 21.8617 22.4497 22.6225C21.6488 23.3833 21.6164 24.6492 22.3772 25.45L29.2411 32.6752L22.4773 39.795C21.7166 40.5958 21.749 41.8617 22.5498 42.6225C23.3507 43.3833 24.6166 43.3508 25.3773 42.55L31.9998 35.5791L38.6222 42.55C39.3829 43.3508 40.6488 43.3833 41.4497 42.6225C42.2505 41.8617 42.2829 40.5958 41.5222 39.795L34.7584 32.6752L41.6223 25.45C42.3831 24.6492 42.3507 23.3833 41.5498 22.6225C40.749 21.8617 39.4831 21.8942 38.7224 22.695L31.9998 29.7714L25.2772 22.695Z"/></svg>' }, Jn = { 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>' }, go = { 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>' }, mo = { 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>' }, es = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M33.6578 9.3322C32.0391 8.65799 30.1735 9.02919 28.9362 10.2717L18.1029 21.105H14.6667C9.88247 21.1105 6.00547 24.9875 6 29.7717V34.105C6.00547 38.8892 9.88247 42.7662 14.6667 42.7717H18.1029L28.9362 53.605C30.1755 54.8442 32.0391 55.2149 33.6583 54.5442C35.2774 53.8736 36.3332 52.2937 36.3333 50.5412V13.3355C36.3365 11.5817 35.2794 10.0001 33.6578 9.3322ZM32 50.5411L19.8971 38.4382H14.6667C12.2744 38.4358 10.3357 36.4971 10.3333 34.1049V29.7716C10.3357 27.3793 12.2744 25.4406 14.6667 25.4382H19.8971L32 13.3353V50.5411ZM49.3334 31.9383C49.4487 37.161 47.7314 42.2591 44.4796 46.3475C43.7013 47.2565 42.3335 47.3625 41.4244 46.5843C40.5153 45.8061 40.4092 44.4383 41.1873 43.5291C43.7699 40.2278 45.1185 36.1282 45.0001 31.9383C45.1185 27.7485 43.7699 23.6488 41.1873 20.3475C40.4092 19.4383 40.5153 18.0705 41.4244 17.2923C42.3335 16.5141 43.7013 16.6201 44.4796 17.5291C47.7314 21.6176 49.4487 26.7157 49.3334 31.9383ZM58.0001 31.9383C58.0001 40.0147 55.441 47.635 50.9796 52.8475C50.2013 53.7565 48.8335 53.8625 47.9244 53.0843C47.0153 52.3061 46.9092 50.9383 47.6873 50.0291C51.4874 45.59 53.6668 38.9969 53.6668 31.9383C53.6668 24.8797 51.4874 18.2866 47.6873 13.8475C46.9092 12.9383 47.0153 11.5705 47.9244 10.7923C48.8335 10.0141 50.2013 10.1201 50.9796 11.0291C55.441 16.2416 58.0001 23.862 58.0001 31.9383Z"/></svg>' }, ce = {
2025
+ const co = { name: "alert", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 60C47.464 60 60 47.464 60 32C60 16.536 47.464 4 32 4C16.536 4 4 16.536 4 32C4.01731 47.4568 16.5432 59.9827 32 60ZM32 8.30769C45.0849 8.30769 55.6923 18.9151 55.6923 32C55.6923 45.0849 45.0849 55.6923 32 55.6923C18.9151 55.6923 8.30769 45.0849 8.30769 32C8.32247 18.9212 18.9212 8.32247 32 8.30769Z"/><path d="M29.3491 38.6031V20.6807C29.348 19.8662 29.4903 19.0598 29.7675 18.3096C29.9945 17.6371 30.3484 17.0302 30.804 16.5322C31.1251 16.1524 31.5593 15.9246 32.0204 15.894C32.6852 15.894 33.3496 16.471 34.0134 17.625C34.3738 18.1337 34.5955 18.7525 34.6509 19.4042V37.3267C34.6509 37.9947 34.2454 38.6329 33.4345 39.2414C32.6632 39.835 31.7547 40.1521 30.825 40.1523C29.8423 40.1524 29.3503 39.636 29.3491 38.6031Z"/><path d="M33.66 44.6959C33.9649 45.0866 34.161 45.551 34.2284 46.0419C34.2284 46.5397 33.8893 47.0083 33.2109 47.4476C32.5638 47.8771 31.8043 48.1062 31.0275 48.1061C30.1902 48.1061 29.7716 47.7271 29.7716 46.9693C29.7703 46.3788 29.8874 45.7941 30.116 45.2496C30.3064 44.7579 30.6022 44.3138 30.9826 43.9487C31.2626 43.6591 31.6427 43.4875 32.045 43.4692C32.5635 43.4692 33.1019 43.8781 33.66 44.6959Z"/></svg>' }, ho = { name: "check-circle-filled", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 4C16.536 4 4 16.536 4 32C4 47.464 16.536 60 32 60C47.464 60 60 47.464 60 32C59.9829 16.5431 47.4569 4.01712 32 4ZM44.5613 24.5793L31.6382 43.9639C31.2806 44.5011 30.7008 44.8493 30.0586 44.9126C29.988 44.9197 29.9171 44.9232 29.8462 44.9231C29.275 44.9229 28.7272 44.696 28.3233 44.2921L19.7079 35.6767C19.1639 35.1326 18.9514 34.3396 19.1505 33.5964C19.3497 32.8533 19.9302 32.2728 20.6734 32.0736C21.4166 31.8745 22.2095 32.087 22.7536 32.631L29.5117 39.3881L40.9772 22.1899C41.4016 21.5439 42.1396 21.1749 42.9111 21.2229C43.6825 21.2709 44.3691 21.7286 44.7101 22.4223C45.0511 23.1159 44.9944 23.9391 44.5613 24.5793Z"/></svg>' }, uo = { name: "check-circle", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M31.9998 4C16.5358 4 3.99976 16.536 3.99976 32C3.99976 47.464 16.5358 60 31.9998 60C47.4637 60 59.9998 47.464 59.9998 32C59.9826 16.5431 47.4566 4.01712 31.9998 4ZM31.9998 55.6923C18.9149 55.6923 8.30745 45.0849 8.30745 32C8.30745 18.9151 18.9149 8.30769 31.9998 8.30769C45.0847 8.30769 55.6921 18.9151 55.6921 32C55.6773 45.0788 45.0785 55.6775 31.9998 55.6923ZM44.5611 24.5793L31.638 43.9639C31.2804 44.5011 30.7005 44.8493 30.0584 44.9126C29.9878 44.9197 29.9169 44.9232 29.8459 44.9231C29.2747 44.9229 28.727 44.696 28.3231 44.2921L19.7077 35.6767C19.1636 35.1326 18.9512 34.3396 19.1503 33.5964C19.3494 32.8533 19.9299 32.2728 20.6731 32.0736C21.4163 31.8745 22.2093 32.087 22.7534 32.631L29.5115 39.3881L40.9769 22.1899C41.4013 21.5439 42.1394 21.1749 42.9108 21.2229C43.6823 21.2709 44.3688 21.7286 44.7099 22.4223C45.0509 23.1159 44.9941 23.9391 44.5611 24.5793Z"/></svg>' }, po = { name: "chevron-down", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M53.0318 24.8653L33.5318 44.3653C33.1256 44.7717 32.5745 45.0001 31.9999 45.0001C31.4253 45.0001 30.8742 44.7717 30.468 44.3653L10.968 24.8653C10.122 24.0193 10.122 22.6476 10.968 21.8015C11.8141 20.9555 13.1858 20.9555 14.0318 21.8015L31.9999 39.7696L49.968 21.8015C50.8141 20.9555 52.1858 20.9555 53.0318 21.8015C53.8779 22.6476 53.8779 24.0193 53.0318 24.8653Z"/></svg>' }, fo = { name: "close-circle", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 56C45.2548 56 56 45.2548 56 32C56 18.7452 45.2548 8 32 8C18.7452 8 8 18.7452 8 32C8 45.2548 18.7452 56 32 56ZM32 60C47.464 60 60 47.464 60 32C60 16.536 47.464 4 32 4C16.536 4 4 16.536 4 32C4 47.464 16.536 60 32 60Z"/><path d="M25.2772 22.695C24.5164 21.8942 23.2505 21.8617 22.4497 22.6225C21.6488 23.3833 21.6164 24.6492 22.3772 25.45L29.2411 32.6752L22.4773 39.795C21.7166 40.5958 21.749 41.8617 22.5498 42.6225C23.3507 43.3833 24.6166 43.3508 25.3773 42.55L31.9998 35.5791L38.6222 42.55C39.3829 43.3508 40.6488 43.3833 41.4497 42.6225C42.2505 41.8617 42.2829 40.5958 41.5222 39.795L34.7584 32.6752L41.6223 25.45C42.3831 24.6492 42.3507 23.3833 41.5498 22.6225C40.749 21.8617 39.4831 21.8942 38.7224 22.695L31.9998 29.7714L25.2772 22.695Z"/></svg>' }, es = { name: "mute", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M51.4283 11.6761L53.1768 9.53891C53.9347 8.61282 53.7982 7.24774 52.8722 6.48993C51.9461 5.73211 50.581 5.86852 49.8232 6.79461L36.3333 23.2822V13.3972C36.3332 11.6447 35.2774 10.0648 33.6583 9.39418C32.0391 8.72356 30.1755 9.09425 28.9362 10.3334L18.1029 21.1668H14.6667C9.88247 21.1722 6.00547 25.0492 6 29.8334V34.1668C6.00547 38.951 9.88247 42.828 14.6667 42.8334H18.1029L19.3315 44.0621L10.8232 54.4613C10.0653 55.3874 10.2018 56.7525 11.1279 57.5103C12.0539 58.2681 13.419 58.1317 14.1768 57.2056L22.411 47.1416L28.9362 53.6668C30.1755 54.9059 32.0391 55.2766 33.6583 54.606C35.2774 53.9354 36.3332 52.3555 36.3333 50.603V30.1254L42.6092 22.4549C44.2201 25.3756 45.044 28.6649 45 32.0001C45.1184 36.1899 43.7698 40.2896 41.1872 43.5909C40.409 44.5001 40.5152 45.8679 41.4243 46.6461C42.3334 47.4243 43.7012 47.3183 44.4795 46.4093C47.7313 42.3208 49.4486 37.2227 49.3333 32.0001C49.403 27.3538 48.067 22.7949 45.5005 18.9211L48.6119 15.1182C52.019 20.0793 53.7867 25.9829 53.6667 32.0001C53.6667 39.0587 51.4873 45.6518 47.6872 50.0909C46.909 51.0001 47.0152 52.3679 47.9243 53.1461C48.8334 53.9243 50.2012 53.8183 50.9795 52.9093C55.4408 47.6968 58 40.0764 58 32.0001C58 24.21 55.6006 16.8662 51.4283 11.6761ZM19.8971 38.5H14.6667C12.2744 38.4977 10.3357 36.559 10.3333 34.1667V29.8334C10.3357 27.4411 12.2744 25.5024 14.6667 25.5H19.8971L32 13.3972V28.5784L22.089 40.6919L19.8971 38.5ZM31.9997 50.603L25.1682 43.7715L31.9997 35.4218V50.603Z"/></svg>' }, go = { 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>' }, mo = { name: "send", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M8.41642 6.29292C5.99705 5.18016 3.38612 7.41823 4.12858 9.96847L10.5427 32L4.12858 54.0315C3.38612 56.5818 5.99704 58.8198 8.41642 57.7071L58.1942 34.8125C60.6019 33.7051 60.6019 30.2949 58.1942 29.1875L8.41642 6.29292ZM14.2569 29.9351L8.74174 10.9913L49.9295 29.9351H14.2569ZM14.2568 34.0651L8.74174 53.0087L49.9291 34.0651H14.2568Z"/></svg>' }, ts = { name: "volume", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M33.6578 9.3322C32.0391 8.65799 30.1735 9.02919 28.9362 10.2717L18.1029 21.105H14.6667C9.88247 21.1105 6.00547 24.9875 6 29.7717V34.105C6.00547 38.8892 9.88247 42.7662 14.6667 42.7717H18.1029L28.9362 53.605C30.1755 54.8442 32.0391 55.2149 33.6583 54.5442C35.2774 53.8736 36.3332 52.2937 36.3333 50.5412V13.3355C36.3365 11.5817 35.2794 10.0001 33.6578 9.3322ZM32 50.5411L19.8971 38.4382H14.6667C12.2744 38.4358 10.3357 36.4971 10.3333 34.1049V29.7716C10.3357 27.3793 12.2744 25.4406 14.6667 25.4382H19.8971L32 13.3353V50.5411ZM49.3334 31.9383C49.4487 37.161 47.7314 42.2591 44.4796 46.3475C43.7013 47.2565 42.3335 47.3625 41.4244 46.5843C40.5153 45.8061 40.4092 44.4383 41.1873 43.5291C43.7699 40.2278 45.1185 36.1282 45.0001 31.9383C45.1185 27.7485 43.7699 23.6488 41.1873 20.3475C40.4092 19.4383 40.5153 18.0705 41.4244 17.2923C42.3335 16.5141 43.7013 16.6201 44.4796 17.5291C47.7314 21.6176 49.4487 26.7157 49.3334 31.9383ZM58.0001 31.9383C58.0001 40.0147 55.441 47.635 50.9796 52.8475C50.2013 53.7565 48.8335 53.8625 47.9244 53.0843C47.0153 52.3061 46.9092 50.9383 47.6873 50.0291C51.4874 45.59 53.6668 38.9969 53.6668 31.9383C53.6668 24.8797 51.4874 18.2866 47.6873 13.8475C46.9092 12.9383 47.0153 11.5705 47.9244 10.7923C48.8335 10.0141 50.2013 10.1201 50.9796 11.0291C55.441 16.2416 58.0001 23.862 58.0001 31.9383Z"/></svg>' }, ce = {
2026
+ allRenderFn: !1,
2027
+ cmpDidLoad: !0,
2028
+ cmpDidUnload: !1,
2029
+ cmpDidUpdate: !0,
2030
+ cmpDidRender: !0,
2031
+ cmpWillLoad: !0,
2032
+ cmpWillUpdate: !0,
2033
+ cmpWillRender: !0,
2034
+ connectedCallback: !0,
2035
+ disconnectedCallback: !0,
2036
+ element: !0,
2037
+ event: !0,
2005
2038
  hasRenderFn: !0,
2039
+ lifecycle: !0,
2040
+ hostListener: !0,
2041
+ hostListenerTargetWindow: !0,
2042
+ hostListenerTargetDocument: !0,
2043
+ hostListenerTargetBody: !0,
2044
+ hostListenerTargetParent: !1,
2045
+ hostListenerTarget: !0,
2046
+ member: !0,
2047
+ method: !0,
2048
+ mode: !0,
2049
+ observeAttribute: !0,
2050
+ prop: !0,
2051
+ propMutable: !0,
2006
2052
  reflect: !0,
2053
+ scoped: !0,
2054
+ shadowDom: !0,
2055
+ slot: !0,
2056
+ cssAnnotations: !0,
2057
+ state: !0,
2058
+ style: !0,
2059
+ svg: !0,
2060
+ updatable: !0,
2061
+ vdomAttribute: !0,
2062
+ vdomXlink: !0,
2063
+ vdomClass: !0,
2064
+ vdomFunctional: !0,
2065
+ vdomKey: !0,
2066
+ vdomListener: !0,
2067
+ vdomRef: !0,
2068
+ vdomPropOrAttr: !0,
2007
2069
  vdomRender: !0,
2070
+ vdomStyle: !0,
2071
+ vdomText: !0,
2072
+ watchCallback: !0,
2073
+ taskQueue: !0,
2074
+ hotModuleReplacement: !1,
2075
+ isDebug: !1,
2076
+ isDev: !1,
2077
+ isTesting: !1,
2008
2078
  hydrateServerSide: !1,
2009
- lazyLoad: !1
2079
+ hydrateClientSide: !1,
2080
+ lifecycleDOMEvents: !1,
2081
+ lazyLoad: !1,
2082
+ profile: !1,
2083
+ slotRelocation: !0,
2084
+ appendChildSlotFix: !1,
2085
+ cloneNodeFix: !1,
2086
+ hydratedAttribute: !1,
2087
+ hydratedClass: !0,
2088
+ safari10: !1,
2089
+ scriptDataOpts: !1,
2090
+ scopedSlotTextContentFix: !1,
2091
+ shadowDomShim: !1,
2092
+ slotChildNodesFix: !1,
2093
+ invisiblePrehydration: !0,
2094
+ propBoolean: !0,
2095
+ propNumber: !0,
2096
+ propString: !0,
2097
+ cssVarShim: !1,
2098
+ constructableCSS: !0,
2099
+ cmpShouldUpdate: !0,
2100
+ devTools: !1,
2101
+ dynamicImportShim: !1,
2102
+ shadowDelegatesFocus: !0,
2103
+ initializeNextTick: !1,
2104
+ asyncLoading: !1,
2105
+ asyncQueue: !1,
2106
+ transformTagName: !1,
2107
+ attachStyles: !0
2010
2108
  };
2011
- let ue, ii, vt, ri = !1, tt = !1, ln = !1, R = !1, ts = null, qt = !1;
2012
- const yt = typeof window < "u" ? window : {}, N = yt.document || { head: {} }, oi = yt.HTMLElement || class {
2109
+ let he, ai, bt, li = !1, tt = !1, cn = !1, R = !1, ns = null, Ft = !1;
2110
+ const yt = typeof window < "u" ? window : {}, N = yt.document || { head: {} }, ci = yt.HTMLElement || class {
2013
2111
  }, E = {
2014
2112
  $flags$: 0,
2015
2113
  $resourcesUrl$: "",
@@ -2018,7 +2116,7 @@ const yt = typeof window < "u" ? window : {}, N = yt.document || { head: {} }, o
2018
2116
  ael: (n, e, t, s) => n.addEventListener(e, t, s),
2019
2117
  rel: (n, e, t, s) => n.removeEventListener(e, t, s),
2020
2118
  ce: (n, e) => new CustomEvent(n, e)
2021
- }, bo = /* @__PURE__ */ (() => {
2119
+ }, vo = /* @__PURE__ */ (() => {
2022
2120
  let n = !1;
2023
2121
  try {
2024
2122
  N.addEventListener("e", null, Object.defineProperty({}, "passive", {
@@ -2029,13 +2127,13 @@ const yt = typeof window < "u" ? window : {}, N = yt.document || { head: {} }, o
2029
2127
  } catch {
2030
2128
  }
2031
2129
  return n;
2032
- })(), vo = (n) => Promise.resolve(n), yo = /* @__PURE__ */ (() => {
2130
+ })(), bo = (n) => Promise.resolve(n), yo = /* @__PURE__ */ (() => {
2033
2131
  try {
2034
2132
  return new CSSStyleSheet(), typeof new CSSStyleSheet().replace == "function";
2035
2133
  } catch {
2036
2134
  }
2037
2135
  return !1;
2038
- })(), ai = (n, e, t, s) => {
2136
+ })(), hi = (n, e, t, s) => {
2039
2137
  t && t.map(([i, r, o]) => {
2040
2138
  const a = xo(n, i), l = $o(e, o), c = wo(i);
2041
2139
  E.ael(a, r, l, c), (e.$rmListeners$ = e.$rmListeners$ || []).push(() => E.rel(a, r, l, c));
@@ -2046,42 +2144,42 @@ const yt = typeof window < "u" ? window : {}, N = yt.document || { head: {} }, o
2046
2144
  } catch (s) {
2047
2145
  De(s);
2048
2146
  }
2049
- }, xo = (n, e) => e & 4 ? N : e & 8 ? yt : e & 16 ? N.body : n, wo = (n) => bo ? {
2147
+ }, xo = (n, e) => e & 4 ? N : e & 8 ? yt : e & 16 ? N.body : n, wo = (n) => vo ? {
2050
2148
  passive: (n & 1) !== 0,
2051
2149
  capture: (n & 2) !== 0
2052
- } : (n & 2) !== 0, ns = "http://www.w3.org/1999/xlink", re = (n, e = "") => () => {
2053
- }, ss = /* @__PURE__ */ new WeakMap(), ko = (n, e, t) => {
2150
+ } : (n & 2) !== 0, ss = "http://www.w3.org/1999/xlink", re = (n, e = "") => () => {
2151
+ }, is = /* @__PURE__ */ new WeakMap(), ko = (n, e, t) => {
2054
2152
  let s = it.get(n);
2055
2153
  yo && t ? (s = s || new CSSStyleSheet(), s.replace(e)) : s = e, it.set(n, s);
2056
2154
  }, So = (n, e, t, s) => {
2057
- let i = li(e, t), r = it.get(i);
2155
+ let i = ui(e, t), r = it.get(i);
2058
2156
  if (n = n.nodeType === 11 ? n : N, r)
2059
2157
  if (typeof r == "string") {
2060
2158
  n = n.head || n;
2061
- let o = ss.get(n), a;
2062
- o || ss.set(n, o = /* @__PURE__ */ new Set()), o.has(i) || (a = N.createElement("style"), a.innerHTML = r, n.insertBefore(a, n.querySelector("link")), o && o.add(i));
2159
+ let o = is.get(n), a;
2160
+ o || is.set(n, o = /* @__PURE__ */ new Set()), o.has(i) || (a = N.createElement("style"), a.innerHTML = r, n.insertBefore(a, n.querySelector("link")), o && o.add(i));
2063
2161
  } else n.adoptedStyleSheets.includes(r) || (n.adoptedStyleSheets = [...n.adoptedStyleSheets, r]);
2064
2162
  return i;
2065
2163
  }, _o = (n) => {
2066
2164
  const e = n.$cmpMeta$, t = n.$hostElement$, s = e.$flags$, i = re("attachStyles", e.$tagName$), r = So(t.shadowRoot ? t.shadowRoot : t.getRootNode(), e, n.$modeName$);
2067
2165
  s & 10 && (t["s-sc"] = r, t.classList.add(r + "-h"), s & 2 && t.classList.add(r + "-s")), i();
2068
- }, li = (n, e) => "sc-" + (e && n.$flags$ & 32 ? n.$tagName$ + "-" + e : n.$tagName$), Co = (n) => ea.map((e) => e(n)).find((e) => !!e), is = {}, Ao = "http://www.w3.org/2000/svg", Eo = "http://www.w3.org/1999/xhtml", Lo = (n) => n != null, cn = (n) => (n = typeof n, n === "object" || n === "function"), fe = (n, e, ...t) => {
2166
+ }, ui = (n, e) => "sc-" + (e && n.$flags$ & 32 ? n.$tagName$ + "-" + e : n.$tagName$), Co = (n) => ea.map((e) => e(n)).find((e) => !!e), rs = {}, Ao = "http://www.w3.org/2000/svg", Eo = "http://www.w3.org/1999/xhtml", To = (n) => n != null, hn = (n) => (n = typeof n, n === "object" || n === "function"), fe = (n, e, ...t) => {
2069
2167
  let s = null, i = null, r = null, o = !1, a = !1, l = [];
2070
- const c = (h) => {
2071
- for (let d = 0; d < h.length; d++)
2072
- s = h[d], Array.isArray(s) ? c(s) : s != null && typeof s != "boolean" && ((o = typeof n != "function" && !cn(s)) && (s = String(s)), o && a ? l[l.length - 1].$text$ += s : l.push(o ? nt(null, s) : s), a = o);
2168
+ const c = (u) => {
2169
+ for (let d = 0; d < u.length; d++)
2170
+ s = u[d], Array.isArray(s) ? c(s) : s != null && typeof s != "boolean" && ((o = typeof n != "function" && !hn(s)) && (s = String(s)), o && a ? l[l.length - 1].$text$ += s : l.push(o ? nt(null, s) : s), a = o);
2073
2171
  };
2074
2172
  if (c(t), e) {
2075
2173
  e.key && (i = e.key), e.name && (r = e.name);
2076
2174
  {
2077
- const h = e.className || e.class;
2078
- h && (e.class = typeof h != "object" ? h : Object.keys(h).filter((d) => h[d]).join(" "));
2175
+ const u = e.className || e.class;
2176
+ u && (e.class = typeof u != "object" ? u : Object.keys(u).filter((d) => u[d]).join(" "));
2079
2177
  }
2080
2178
  }
2081
2179
  if (typeof n == "function")
2082
2180
  return n(e === null ? {} : e, l, Ro);
2083
- const u = nt(n, null);
2084
- return u.$attrs$ = e, l.length > 0 && (u.$children$ = l), u.$key$ = i, u.$name$ = r, u;
2181
+ const h = nt(n, null);
2182
+ return h.$attrs$ = e, l.length > 0 && (h.$children$ = l), h.$key$ = i, h.$name$ = r, h;
2085
2183
  }, nt = (n, e) => {
2086
2184
  const t = {
2087
2185
  $flags$: 0,
@@ -2091,10 +2189,10 @@ const yt = typeof window < "u" ? window : {}, N = yt.document || { head: {} }, o
2091
2189
  $children$: null
2092
2190
  };
2093
2191
  return t.$attrs$ = null, t.$key$ = null, t.$name$ = null, t;
2094
- }, un = {}, To = (n) => n && n.$tag$ === un, Ro = {
2095
- forEach: (n, e) => n.map(rs).forEach(e),
2096
- map: (n, e) => n.map(rs).map(e).map(Po)
2097
- }, rs = (n) => ({
2192
+ }, un = {}, Lo = (n) => n && n.$tag$ === un, Ro = {
2193
+ forEach: (n, e) => n.map(os).forEach(e),
2194
+ map: (n, e) => n.map(os).map(e).map(Po)
2195
+ }, os = (n) => ({
2098
2196
  vattrs: n.$attrs$,
2099
2197
  vchildren: n.$children$,
2100
2198
  vkey: n.$key$,
@@ -2108,12 +2206,12 @@ const yt = typeof window < "u" ? window : {}, N = yt.document || { head: {} }, o
2108
2206
  }
2109
2207
  const e = nt(n.vtag, n.vtext);
2110
2208
  return e.$attrs$ = n.vattrs, e.$children$ = n.vchildren, e.$key$ = n.vkey, e.$name$ = n.vname, e;
2111
- }, os = (n, e, t, s, i, r) => {
2209
+ }, as = (n, e, t, s, i, r) => {
2112
2210
  if (t !== s) {
2113
2211
  let o = us(n, e), a = e.toLowerCase();
2114
2212
  if (e === "class") {
2115
- const l = n.classList, c = as(t), u = as(s);
2116
- l.remove(...c.filter((h) => h && !u.includes(h))), l.add(...u.filter((h) => h && !c.includes(h)));
2213
+ const l = n.classList, c = ls(t), h = ls(s);
2214
+ l.remove(...c.filter((u) => u && !h.includes(u))), l.add(...h.filter((u) => u && !c.includes(u)));
2117
2215
  } else if (e === "style") {
2118
2216
  for (const l in t)
2119
2217
  (!s || s[l] == null) && (l.includes("-") ? n.style.removeProperty(l) : n.style[l] = "");
@@ -2125,30 +2223,30 @@ const yt = typeof window < "u" ? window : {}, N = yt.document || { head: {} }, o
2125
2223
  else if (!n.__lookupSetter__(e) && e[0] === "o" && e[1] === "n")
2126
2224
  e[2] === "-" ? e = e.slice(3) : us(yt, a) ? e = a.slice(2) : e = a[2] + e.slice(3), t && E.rel(n, e, t, !1), s && E.ael(n, e, s, !1);
2127
2225
  else {
2128
- const l = cn(s);
2226
+ const l = hn(s);
2129
2227
  if ((o || l && s !== null) && !i)
2130
2228
  try {
2131
2229
  if (n.tagName.includes("-"))
2132
2230
  n[e] = s;
2133
2231
  else {
2134
- let u = s ?? "";
2135
- e === "list" ? o = !1 : (t == null || n[e] != u) && (n[e] = u);
2232
+ let h = s ?? "";
2233
+ e === "list" ? o = !1 : (t == null || n[e] != h) && (n[e] = h);
2136
2234
  }
2137
2235
  } catch {
2138
2236
  }
2139
2237
  let c = !1;
2140
- a !== (a = a.replace(/^xlink\:?/, "")) && (e = a, c = !0), s == null || s === !1 ? (s !== !1 || n.getAttribute(e) === "") && (c ? n.removeAttributeNS(ns, e) : n.removeAttribute(e)) : (!o || r & 4 || i) && !l && (s = s === !0 ? "" : s, c ? n.setAttributeNS(ns, e, s) : n.setAttribute(e, s));
2238
+ a !== (a = a.replace(/^xlink\:?/, "")) && (e = a, c = !0), s == null || s === !1 ? (s !== !1 || n.getAttribute(e) === "") && (c ? n.removeAttributeNS(ss, e) : n.removeAttribute(e)) : (!o || r & 4 || i) && !l && (s = s === !0 ? "" : s, c ? n.setAttributeNS(ss, e, s) : n.setAttribute(e, s));
2141
2239
  }
2142
2240
  }
2143
- }, Oo = /\s/, as = (n) => n ? n.split(Oo) : [], ci = (n, e, t, s) => {
2144
- const i = e.$elm$.nodeType === 11 && e.$elm$.host ? e.$elm$.host : e.$elm$, r = n && n.$attrs$ || is, o = e.$attrs$ || is;
2241
+ }, Oo = /\s/, ls = (n) => n ? n.split(Oo) : [], di = (n, e, t, s) => {
2242
+ const i = e.$elm$.nodeType === 11 && e.$elm$.host ? e.$elm$.host : e.$elm$, r = n && n.$attrs$ || rs, o = e.$attrs$ || rs;
2145
2243
  for (s in r)
2146
- s in o || os(i, s, r[s], void 0, t, e.$flags$);
2244
+ s in o || as(i, s, r[s], void 0, t, e.$flags$);
2147
2245
  for (s in o)
2148
- os(i, s, r[s], o[s], t, e.$flags$);
2246
+ as(i, s, r[s], o[s], t, e.$flags$);
2149
2247
  }, st = (n, e, t, s) => {
2150
2248
  let i = e.$children$[t], r = 0, o, a, l;
2151
- if (ri || (ln = !0, i.$tag$ === "slot" && (ue && s.classList.add(ue + "-s"), i.$flags$ |= i.$children$ ? (
2249
+ if (li || (cn = !0, i.$tag$ === "slot" && (he && s.classList.add(he + "-s"), i.$flags$ |= i.$children$ ? (
2152
2250
  // slot element has fallback content
2153
2251
  2
2154
2252
  ) : (
@@ -2159,60 +2257,60 @@ const yt = typeof window < "u" ? window : {}, N = yt.document || { head: {} }, o
2159
2257
  else if (i.$flags$ & 1)
2160
2258
  o = i.$elm$ = N.createTextNode("");
2161
2259
  else {
2162
- if (R || (R = i.$tag$ === "svg"), o = i.$elm$ = N.createElementNS(R ? Ao : Eo, i.$flags$ & 2 ? "slot-fb" : i.$tag$), R && i.$tag$ === "foreignObject" && (R = !1), ci(null, i, R), Lo(ue) && o["s-si"] !== ue && o.classList.add(o["s-si"] = ue), i.$children$)
2260
+ if (R || (R = i.$tag$ === "svg"), o = i.$elm$ = N.createElementNS(R ? Ao : Eo, i.$flags$ & 2 ? "slot-fb" : i.$tag$), R && i.$tag$ === "foreignObject" && (R = !1), di(null, i, R), To(he) && o["s-si"] !== he && o.classList.add(o["s-si"] = he), i.$children$)
2163
2261
  for (r = 0; r < i.$children$.length; ++r)
2164
2262
  a = st(n, i, r, o), a && o.appendChild(a);
2165
2263
  i.$tag$ === "svg" ? R = !1 : o.tagName === "foreignObject" && (R = !0);
2166
2264
  }
2167
- return o["s-hn"] = vt, i.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] = ii, o["s-sn"] = i.$name$ || "", l = n && n.$children$ && n.$children$[t], l && l.$tag$ === i.$tag$ && n.$elm$ && Oe(n.$elm$, !1)), o;
2265
+ return o["s-hn"] = bt, i.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] = ai, o["s-sn"] = i.$name$ || "", l = n && n.$children$ && n.$children$[t], l && l.$tag$ === i.$tag$ && n.$elm$ && Oe(n.$elm$, !1)), o;
2168
2266
  }, Oe = (n, e) => {
2169
2267
  E.$flags$ |= 1;
2170
2268
  const t = n.childNodes;
2171
2269
  for (let s = t.length - 1; s >= 0; s--) {
2172
2270
  const i = t[s];
2173
- i["s-hn"] !== vt && i["s-ol"] && (di(i).insertBefore(i, hn(i)), i["s-ol"].remove(), i["s-ol"] = void 0, ln = !0), e && Oe(i, e);
2271
+ i["s-hn"] !== bt && i["s-ol"] && (gi(i).insertBefore(i, dn(i)), i["s-ol"].remove(), i["s-ol"] = void 0, cn = !0), e && Oe(i, e);
2174
2272
  }
2175
2273
  E.$flags$ &= -2;
2176
- }, ui = (n, e, t, s, i, r) => {
2274
+ }, pi = (n, e, t, s, i, r) => {
2177
2275
  let o = n["s-cr"] && n["s-cr"].parentNode || n, a;
2178
- for (o.shadowRoot && o.tagName === vt && (o = o.shadowRoot); i <= r; ++i)
2179
- s[i] && (a = st(null, t, i, n), a && (s[i].$elm$ = a, o.insertBefore(a, hn(e))));
2180
- }, hi = (n, e, t, s, i) => {
2276
+ for (o.shadowRoot && o.tagName === bt && (o = o.shadowRoot); i <= r; ++i)
2277
+ s[i] && (a = st(null, t, i, n), a && (s[i].$elm$ = a, o.insertBefore(a, dn(e))));
2278
+ }, fi = (n, e, t, s, i) => {
2181
2279
  for (; e <= t; ++e)
2182
- (s = n[e]) && (i = s.$elm$, gi(s), tt = !0, i["s-ol"] ? i["s-ol"].remove() : Oe(i, !0), i.remove());
2280
+ (s = n[e]) && (i = s.$elm$, bi(s), tt = !0, i["s-ol"] ? i["s-ol"].remove() : Oe(i, !0), i.remove());
2183
2281
  }, Io = (n, e, t, s) => {
2184
- let i = 0, r = 0, o = 0, a = 0, l = e.length - 1, c = e[0], u = e[l], h = s.length - 1, d = s[0], p = s[h], g, f;
2185
- for (; i <= l && r <= h; )
2282
+ let i = 0, r = 0, o = 0, a = 0, l = e.length - 1, c = e[0], h = e[l], u = s.length - 1, d = s[0], p = s[u], g, f;
2283
+ for (; i <= l && r <= u; )
2186
2284
  if (c == null)
2187
2285
  c = e[++i];
2188
- else if (u == null)
2189
- u = e[--l];
2286
+ else if (h == null)
2287
+ h = e[--l];
2190
2288
  else if (d == null)
2191
2289
  d = s[++r];
2192
2290
  else if (p == null)
2193
- p = s[--h];
2291
+ p = s[--u];
2194
2292
  else if (We(c, d))
2195
- he(c, d), c = e[++i], d = s[++r];
2196
- else if (We(u, p))
2197
- he(u, p), u = e[--l], p = s[--h];
2293
+ ue(c, d), c = e[++i], d = s[++r];
2294
+ else if (We(h, p))
2295
+ ue(h, p), h = e[--l], p = s[--u];
2198
2296
  else if (We(c, p))
2199
- (c.$tag$ === "slot" || p.$tag$ === "slot") && Oe(c.$elm$.parentNode, !1), he(c, p), n.insertBefore(c.$elm$, u.$elm$.nextSibling), c = e[++i], p = s[--h];
2200
- else if (We(u, d))
2201
- (c.$tag$ === "slot" || p.$tag$ === "slot") && Oe(u.$elm$.parentNode, !1), he(u, d), n.insertBefore(u.$elm$, c.$elm$), u = e[--l], d = s[++r];
2297
+ (c.$tag$ === "slot" || p.$tag$ === "slot") && Oe(c.$elm$.parentNode, !1), ue(c, p), n.insertBefore(c.$elm$, h.$elm$.nextSibling), c = e[++i], p = s[--u];
2298
+ else if (We(h, d))
2299
+ (c.$tag$ === "slot" || p.$tag$ === "slot") && Oe(h.$elm$.parentNode, !1), ue(h, d), n.insertBefore(h.$elm$, c.$elm$), h = e[--l], d = s[++r];
2202
2300
  else {
2203
2301
  for (o = -1, a = i; a <= l; ++a)
2204
2302
  if (e[a] && e[a].$key$ !== null && e[a].$key$ === d.$key$) {
2205
2303
  o = a;
2206
2304
  break;
2207
2305
  }
2208
- o >= 0 ? (f = e[o], f.$tag$ !== d.$tag$ ? g = st(e && e[r], t, o, n) : (he(f, d), e[o] = void 0, g = f.$elm$), d = s[++r]) : (g = st(e && e[r], t, r, n), d = s[++r]), g && di(c.$elm$).insertBefore(g, hn(c.$elm$));
2306
+ o >= 0 ? (f = e[o], f.$tag$ !== d.$tag$ ? g = st(e && e[r], t, o, n) : (ue(f, d), e[o] = void 0, g = f.$elm$), d = s[++r]) : (g = st(e && e[r], t, r, n), d = s[++r]), g && gi(c.$elm$).insertBefore(g, dn(c.$elm$));
2209
2307
  }
2210
- i > l ? ui(n, s[h + 1] == null ? null : s[h + 1].$elm$, t, s, r, h) : r > h && hi(e, i, l);
2211
- }, We = (n, e) => n.$tag$ === e.$tag$ ? n.$tag$ === "slot" ? n.$name$ === e.$name$ : n.$key$ === e.$key$ : !1, hn = (n) => n && n["s-ol"] || n, di = (n) => (n["s-ol"] ? n["s-ol"] : n).parentNode, he = (n, e) => {
2308
+ i > l ? pi(n, s[u + 1] == null ? null : s[u + 1].$elm$, t, s, r, u) : r > u && fi(e, i, l);
2309
+ }, We = (n, e) => n.$tag$ === e.$tag$ ? n.$tag$ === "slot" ? n.$name$ === e.$name$ : n.$key$ === e.$key$ : !1, dn = (n) => n && n["s-ol"] || n, gi = (n) => (n["s-ol"] ? n["s-ol"] : n).parentNode, ue = (n, e) => {
2212
2310
  const t = e.$elm$ = n.$elm$, s = n.$children$, i = e.$children$, r = e.$tag$, o = e.$text$;
2213
2311
  let a;
2214
- o === null ? (R = r === "svg" ? !0 : r === "foreignObject" ? !1 : R, r === "slot" || ci(n, e, R), s !== null && i !== null ? Io(t, s, e, i) : i !== null ? (n.$text$ !== null && (t.textContent = ""), ui(t, null, e, i, 0, i.length - 1)) : s !== null && hi(s, 0, s.length - 1), R && r === "svg" && (R = !1)) : (a = t["s-cr"]) ? a.parentNode.textContent = o : n.$text$ !== o && (t.data = o);
2215
- }, pi = (n) => {
2312
+ o === null ? (R = r === "svg" ? !0 : r === "foreignObject" ? !1 : R, r === "slot" || di(n, e, R), s !== null && i !== null ? Io(t, s, e, i) : i !== null ? (n.$text$ !== null && (t.textContent = ""), pi(t, null, e, i, 0, i.length - 1)) : s !== null && fi(s, 0, s.length - 1), R && r === "svg" && (R = !1)) : (a = t["s-cr"]) ? a.parentNode.textContent = o : n.$text$ !== o && (t.data = o);
2313
+ }, mi = (n) => {
2216
2314
  let e = n.childNodes, t, s, i, r, o, a;
2217
2315
  for (s = 0, i = e.length; s < i; s++)
2218
2316
  if (t = e[s], t.nodeType === 1) {
@@ -2228,54 +2326,54 @@ const yt = typeof window < "u" ? window : {}, N = yt.document || { head: {} }, o
2228
2326
  break;
2229
2327
  }
2230
2328
  }
2231
- pi(t);
2329
+ mi(t);
2232
2330
  }
2233
- }, M = [], fi = (n) => {
2331
+ }, M = [], vi = (n) => {
2234
2332
  let e, t, s, i, r, o, a = 0, l = n.childNodes, c = l.length;
2235
2333
  for (; a < c; a++) {
2236
2334
  if (e = l[a], e["s-sr"] && (t = e["s-cr"]) && t.parentNode)
2237
2335
  for (s = t.parentNode.childNodes, i = e["s-sn"], o = s.length - 1; o >= 0; o--)
2238
- t = s[o], !t["s-cn"] && !t["s-nr"] && t["s-hn"] !== e["s-hn"] && (ls(t, i) ? (r = M.find((u) => u.$nodeToRelocate$ === t), tt = !0, t["s-sn"] = t["s-sn"] || i, r ? r.$slotRefNode$ = e : M.push({
2336
+ t = s[o], !t["s-cn"] && !t["s-nr"] && t["s-hn"] !== e["s-hn"] && (cs(t, i) ? (r = M.find((h) => h.$nodeToRelocate$ === t), tt = !0, t["s-sn"] = t["s-sn"] || i, r ? r.$slotRefNode$ = e : M.push({
2239
2337
  $slotRefNode$: e,
2240
2338
  $nodeToRelocate$: t
2241
- }), t["s-sr"] && M.map((u) => {
2242
- ls(u.$nodeToRelocate$, t["s-sn"]) && (r = M.find((h) => h.$nodeToRelocate$ === t), r && !u.$slotRefNode$ && (u.$slotRefNode$ = r.$slotRefNode$));
2243
- })) : M.some((u) => u.$nodeToRelocate$ === t) || M.push({
2339
+ }), t["s-sr"] && M.map((h) => {
2340
+ cs(h.$nodeToRelocate$, t["s-sn"]) && (r = M.find((u) => u.$nodeToRelocate$ === t), r && !h.$slotRefNode$ && (h.$slotRefNode$ = r.$slotRefNode$));
2341
+ })) : M.some((h) => h.$nodeToRelocate$ === t) || M.push({
2244
2342
  $nodeToRelocate$: t
2245
2343
  }));
2246
- e.nodeType === 1 && fi(e);
2344
+ e.nodeType === 1 && vi(e);
2247
2345
  }
2248
- }, ls = (n, e) => n.nodeType === 1 ? n.getAttribute("slot") === null && e === "" || n.getAttribute("slot") === e : n["s-sn"] === e ? !0 : e === "", gi = (n) => {
2249
- n.$attrs$ && n.$attrs$.ref && n.$attrs$.ref(null), n.$children$ && n.$children$.map(gi);
2346
+ }, cs = (n, e) => n.nodeType === 1 ? n.getAttribute("slot") === null && e === "" || n.getAttribute("slot") === e : n["s-sn"] === e ? !0 : e === "", bi = (n) => {
2347
+ n.$attrs$ && n.$attrs$.ref && n.$attrs$.ref(null), n.$children$ && n.$children$.map(bi);
2250
2348
  }, Mo = (n, e) => {
2251
- const t = n.$hostElement$, s = n.$cmpMeta$, i = n.$vnode$ || nt(null, null), r = To(e) ? e : fe(null, null, e);
2252
- vt = t.tagName, s.$attrsToReflect$ && (r.$attrs$ = r.$attrs$ || {}, s.$attrsToReflect$.map(([o, a]) => r.$attrs$[a] = t[o])), r.$tag$ = null, r.$flags$ |= 4, n.$vnode$ = r, r.$elm$ = i.$elm$ = t.shadowRoot || t, ue = t["s-sc"], ii = t["s-cr"], ri = (s.$flags$ & 1) !== 0, tt = !1, he(i, r);
2349
+ const t = n.$hostElement$, s = n.$cmpMeta$, i = n.$vnode$ || nt(null, null), r = Lo(e) ? e : fe(null, null, e);
2350
+ bt = t.tagName, s.$attrsToReflect$ && (r.$attrs$ = r.$attrs$ || {}, s.$attrsToReflect$.map(([o, a]) => r.$attrs$[a] = t[o])), r.$tag$ = null, r.$flags$ |= 4, n.$vnode$ = r, r.$elm$ = i.$elm$ = t.shadowRoot || t, he = t["s-sc"], ai = t["s-cr"], li = (s.$flags$ & 1) !== 0, tt = !1, ue(i, r);
2253
2351
  {
2254
- if (E.$flags$ |= 1, ln) {
2255
- fi(r.$elm$);
2256
- let o, a, l, c, u, h, d = 0;
2352
+ if (E.$flags$ |= 1, cn) {
2353
+ vi(r.$elm$);
2354
+ let o, a, l, c, h, u, d = 0;
2257
2355
  for (; d < M.length; d++)
2258
2356
  o = M[d], a = o.$nodeToRelocate$, a["s-ol"] || (l = N.createTextNode(""), l["s-nr"] = a, a.parentNode.insertBefore(a["s-ol"] = l, a));
2259
2357
  for (d = 0; d < M.length; d++)
2260
2358
  if (o = M[d], a = o.$nodeToRelocate$, o.$slotRefNode$) {
2261
- for (c = o.$slotRefNode$.parentNode, u = o.$slotRefNode$.nextSibling, l = a["s-ol"]; l = l.previousSibling; )
2262
- if (h = l["s-nr"], h && h["s-sn"] === a["s-sn"] && c === h.parentNode && (h = h.nextSibling, !h || !h["s-nr"])) {
2263
- u = h;
2359
+ for (c = o.$slotRefNode$.parentNode, h = o.$slotRefNode$.nextSibling, l = a["s-ol"]; l = l.previousSibling; )
2360
+ if (u = l["s-nr"], u && u["s-sn"] === a["s-sn"] && c === u.parentNode && (u = u.nextSibling, !u || !u["s-nr"])) {
2361
+ h = u;
2264
2362
  break;
2265
2363
  }
2266
- (!u && c !== a.parentNode || a.nextSibling !== u) && a !== u && (!a["s-hn"] && a["s-ol"] && (a["s-hn"] = a["s-ol"].parentNode.nodeName), c.insertBefore(a, u));
2364
+ (!h && c !== a.parentNode || a.nextSibling !== h) && a !== h && (!a["s-hn"] && a["s-ol"] && (a["s-hn"] = a["s-ol"].parentNode.nodeName), c.insertBefore(a, h));
2267
2365
  } else
2268
2366
  a.nodeType === 1 && (a.hidden = !0);
2269
2367
  }
2270
- tt && pi(r.$elm$), E.$flags$ &= -2, M.length = 0;
2368
+ tt && mi(r.$elm$), E.$flags$ &= -2, M.length = 0;
2271
2369
  }
2272
2370
  }, zo = (n) => n, Uo = (n, e, t) => {
2273
2371
  const s = zo(n);
2274
2372
  return {
2275
2373
  emit: (i) => Bo(s, e, {
2276
- bubbles: !0,
2277
- composed: !0,
2278
- cancelable: !0,
2374
+ bubbles: !!(t & 4),
2375
+ composed: !!(t & 2),
2376
+ cancelable: !!(t & 1),
2279
2377
  detail: i
2280
2378
  })
2281
2379
  };
@@ -2283,10 +2381,10 @@ const yt = typeof window < "u" ? window : {}, N = yt.document || { head: {} }, o
2283
2381
  const s = E.ce(e, t);
2284
2382
  return n.dispatchEvent(s), s;
2285
2383
  }, jo = (n, e) => {
2286
- }, mi = (n, e) => (n.$flags$ |= 16, jo(n, n.$ancestorComponent$), sa(() => Ho(n, e))), Ho = (n, e) => {
2384
+ }, yi = (n, e) => (n.$flags$ |= 16, jo(n, n.$ancestorComponent$), sa(() => Ho(n, e))), Ho = (n, e) => {
2287
2385
  const t = n.$hostElement$, s = re("scheduleUpdate", n.$cmpMeta$.$tagName$), i = t;
2288
2386
  let r;
2289
- return e ? r = ge(i, "componentWillLoad") : r = ge(i, "componentWillUpdate"), r = cs(r, () => ge(i, "componentWillRender")), s(), cs(r, () => No(n, i, e));
2387
+ return e ? r = ge(i, "componentWillLoad") : r = ge(i, "componentWillUpdate"), r = hs(r, () => ge(i, "componentWillRender")), s(), hs(r, () => No(n, i, e));
2290
2388
  }, No = async (n, e, t) => {
2291
2389
  const s = n.$hostElement$, i = re("update", n.$cmpMeta$.$tagName$);
2292
2390
  s["s-rc"], t && _o(n);
@@ -2294,11 +2392,11 @@ const yt = typeof window < "u" ? window : {}, N = yt.document || { head: {} }, o
2294
2392
  Do(n, e, s), r(), i(), qo(n);
2295
2393
  }, Do = (n, e, t) => {
2296
2394
  try {
2297
- ts = e, e = e.render && e.render(), n.$flags$ &= -17, n.$flags$ |= 2, (ce.hasRenderFn || ce.reflect) && (ce.vdomRender || ce.reflect) && (ce.hydrateServerSide || Mo(n, e));
2395
+ ns = e, e = e.render && e.render(), n.$flags$ &= -17, n.$flags$ |= 2, (ce.hasRenderFn || ce.reflect) && (ce.vdomRender || ce.reflect) && (ce.hydrateServerSide || Mo(n, e));
2298
2396
  } catch (a) {
2299
2397
  De(a, n.$hostElement$);
2300
2398
  }
2301
- return ts = null, null;
2399
+ return ns = null, null;
2302
2400
  }, qo = (n) => {
2303
2401
  const e = n.$cmpMeta$.$tagName$, t = n.$hostElement$, s = re("postUpdate", e), i = t;
2304
2402
  n.$ancestorComponent$, ge(i, "componentDidRender"), n.$flags$ & 64 ? (ge(i, "componentDidUpdate"), s()) : (n.$flags$ |= 64, ge(i, "componentDidLoad"), s());
@@ -2309,7 +2407,7 @@ const yt = typeof window < "u" ? window : {}, N = yt.document || { head: {} }, o
2309
2407
  } catch (s) {
2310
2408
  De(s);
2311
2409
  }
2312
- }, cs = (n, e) => n && n.then ? n.then(e) : e(), Fo = (n, e) => n != null && !cn(n) ? e & 4 ? n === "false" ? !1 : n === "" || !!n : e & 2 ? parseFloat(n) : e & 1 ? String(n) : n : n, Zo = (n, e) => $t(n).$instanceValues$.get(e), Wo = (n, e, t, s) => {
2410
+ }, hs = (n, e) => n && n.then ? n.then(e) : e(), Fo = (n, e) => n != null && !hn(n) ? e & 4 ? n === "false" ? !1 : n === "" || !!n : e & 2 ? parseFloat(n) : e & 1 ? String(n) : n : n, Zo = (n, e) => $t(n).$instanceValues$.get(e), Wo = (n, e, t, s) => {
2313
2411
  const i = $t(n), r = n, o = i.$instanceValues$.get(e), a = i.$flags$, l = r;
2314
2412
  t = Fo(t, s.$members$[e][0]);
2315
2413
  const c = Number.isNaN(o) && Number.isNaN(t);
@@ -2317,8 +2415,8 @@ const yt = typeof window < "u" ? window : {}, N = yt.document || { head: {} }, o
2317
2415
  i.$instanceValues$.set(e, t);
2318
2416
  {
2319
2417
  if (s.$watchers$ && a & 128) {
2320
- const h = s.$watchers$[e];
2321
- h && h.map((d) => {
2418
+ const u = s.$watchers$[e];
2419
+ u && u.map((d) => {
2322
2420
  try {
2323
2421
  l[d](t, o, e);
2324
2422
  } catch (p) {
@@ -2329,11 +2427,11 @@ const yt = typeof window < "u" ? window : {}, N = yt.document || { head: {} }, o
2329
2427
  if ((a & 18) === 2) {
2330
2428
  if (l.componentShouldUpdate && l.componentShouldUpdate(t, o, e) === !1)
2331
2429
  return;
2332
- mi(i, !1);
2430
+ yi(i, !1);
2333
2431
  }
2334
2432
  }
2335
2433
  }
2336
- }, Go = (n, e, t) => {
2434
+ }, Yo = (n, e, t) => {
2337
2435
  if (e.$members$) {
2338
2436
  n.watchers && (e.$watchers$ = n.watchers);
2339
2437
  const s = Object.entries(e.$members$), i = n.prototype;
@@ -2370,27 +2468,27 @@ const yt = typeof window < "u" ? window : {}, N = yt.document || { head: {} }, o
2370
2468
  }
2371
2469
  }
2372
2470
  return n;
2373
- }, Yo = async (n, e, t, s, i) => {
2471
+ }, Go = async (n, e, t, s, i) => {
2374
2472
  if (!(e.$flags$ & 32) && (i = n.constructor, e.$flags$ |= 32, customElements.whenDefined(t.$tagName$).then(() => e.$flags$ |= 128), i.style)) {
2375
2473
  let o = i.style;
2376
2474
  typeof o != "string" && (o = o[e.$modeName$ = Co(n)]);
2377
- const a = li(t, e.$modeName$);
2475
+ const a = ui(t, e.$modeName$);
2378
2476
  if (!it.has(a)) {
2379
2477
  const l = re("registerStyles", t.$tagName$);
2380
2478
  ko(a, o, !!(t.$flags$ & 1)), l();
2381
2479
  }
2382
2480
  }
2383
- e.$ancestorComponent$, mi(e, !0);
2481
+ e.$ancestorComponent$, yi(e, !0);
2384
2482
  }, Ko = (n) => {
2385
2483
  }, Qo = (n) => {
2386
2484
  if (!(E.$flags$ & 1)) {
2387
2485
  const e = $t(n), t = e.$cmpMeta$, s = re("connectedCallback", t.$tagName$);
2388
- e.$flags$ & 1 ? (ai(n, e, t.$listeners$), Ko(e.$lazyInstance$)) : (e.$flags$ |= 1, t.$flags$ & 12 && Xo(n), t.$members$ && Object.entries(t.$members$).map(([i, [r]]) => {
2486
+ e.$flags$ & 1 ? (hi(n, e, t.$listeners$), Ko(e.$lazyInstance$)) : (e.$flags$ |= 1, t.$flags$ & 12 && Xo(n), t.$members$ && Object.entries(t.$members$).map(([i, [r]]) => {
2389
2487
  if (r & 31 && n.hasOwnProperty(i)) {
2390
2488
  const o = n[i];
2391
2489
  delete n[i], n[i] = o;
2392
2490
  }
2393
- }), Yo(n, e, t)), s();
2491
+ }), Go(n, e, t)), s();
2394
2492
  }
2395
2493
  }, Xo = (n) => {
2396
2494
  const e = n["s-cr"] = N.createComment("");
@@ -2400,7 +2498,7 @@ const yt = typeof window < "u" ? window : {}, N = yt.document || { head: {} }, o
2400
2498
  const e = $t(n);
2401
2499
  e.$rmListeners$ && (e.$rmListeners$.map((t) => t()), e.$rmListeners$ = void 0);
2402
2500
  }
2403
- }, bi = (n, e) => {
2501
+ }, $i = (n, e) => {
2404
2502
  const t = {
2405
2503
  $flags$: e[0],
2406
2504
  $tagName$: e[1]
@@ -2423,18 +2521,18 @@ const yt = typeof window < "u" ? window : {}, N = yt.document || { head: {} }, o
2423
2521
  delegatesFocus: !!(t.$flags$ & 16)
2424
2522
  });
2425
2523
  }
2426
- }), n.is = t.$tagName$, Go(n, t);
2427
- }, vi = /* @__PURE__ */ new WeakMap(), $t = (n) => vi.get(n), Jo = (n, e) => {
2524
+ }), n.is = t.$tagName$, Yo(n, t);
2525
+ }, xi = /* @__PURE__ */ new WeakMap(), $t = (n) => xi.get(n), Jo = (n, e) => {
2428
2526
  const t = {
2429
2527
  $flags$: 0,
2430
2528
  $hostElement$: n,
2431
2529
  $cmpMeta$: e,
2432
2530
  $instanceValues$: /* @__PURE__ */ new Map()
2433
2531
  };
2434
- return ai(n, t, e.$listeners$), vi.set(n, t);
2435
- }, us = (n, e) => e in n, De = (n, e) => (0, console.error)(n, e), it = /* @__PURE__ */ new Map(), ea = [], hs = [], yi = [], ta = (n, e) => (t) => {
2436
- n.push(t), qt || (qt = !0, e && E.$flags$ & 4 ? na(Ft) : E.raf(Ft));
2437
- }, ds = (n) => {
2532
+ return hi(n, t, e.$listeners$), xi.set(n, t);
2533
+ }, us = (n, e) => e in n, De = (n, e) => (0, console.error)(n, e), it = /* @__PURE__ */ new Map(), ea = [], ds = [], wi = [], ta = (n, e) => (t) => {
2534
+ n.push(t), Ft || (Ft = !0, e && E.$flags$ & 4 ? na(Zt) : E.raf(Zt));
2535
+ }, ps = (n) => {
2438
2536
  for (let e = 0; e < n.length; e++)
2439
2537
  try {
2440
2538
  n[e](performance.now());
@@ -2442,9 +2540,9 @@ const yt = typeof window < "u" ? window : {}, N = yt.document || { head: {} }, o
2442
2540
  De(t);
2443
2541
  }
2444
2542
  n.length = 0;
2445
- }, Ft = () => {
2446
- ds(hs), ds(yi), (qt = hs.length > 0) && E.raf(Ft);
2447
- }, na = (n) => vo().then(n), sa = /* @__PURE__ */ ta(yi, !0), ia = (n = {}) => {
2543
+ }, Zt = () => {
2544
+ ps(ds), ps(wi), (Ft = ds.length > 0) && E.raf(Zt);
2545
+ }, na = (n) => bo().then(n), sa = /* @__PURE__ */ ta(wi, !0), ia = (n = {}) => {
2448
2546
  const { content: e = "", title: t, attributes: s = [] } = n;
2449
2547
  let i = "", r = [
2450
2548
  { name: "xmlns", value: "http://www.w3.org/2000/svg" },
@@ -2461,9 +2559,9 @@ class aa {
2461
2559
  this.voca_component = e, this.voca_added = oa(/* @__PURE__ */ new Date());
2462
2560
  }
2463
2561
  }
2464
- const la = "telia-vst{display:none}", ca = /* @__PURE__ */ bi(class extends oi {
2562
+ const la = "telia-vst{display:none}", ca = /* @__PURE__ */ $i(class extends ci {
2465
2563
  constructor() {
2466
- super(), this.__registerHost(), this.vocaInternalUStats = Uo(this, "vocaInternalUStats");
2564
+ super(), this.__registerHost(), this.vocaInternalUStats = Uo(this, "vocaInternalUStats", 7);
2467
2565
  }
2468
2566
  connectedCallback() {
2469
2567
  this.vocaInternalUStats.emit(new aa(this.dataTrackingId));
@@ -2477,7 +2575,7 @@ const la = "telia-vst{display:none}", ca = /* @__PURE__ */ bi(class extends oi {
2477
2575
  }, [0, "telia-vst", {
2478
2576
  dataTrackingId: [1, "data-tracking-id"]
2479
2577
  }]);
2480
- function $i() {
2578
+ function ki() {
2481
2579
  if (typeof customElements > "u")
2482
2580
  return;
2483
2581
  ["telia-vst"].forEach((e) => {
@@ -2488,18 +2586,18 @@ function $i() {
2488
2586
  }
2489
2587
  });
2490
2588
  }
2491
- $i();
2492
- function Zt() {
2589
+ ki();
2590
+ function Wt() {
2493
2591
  return typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : { vocadsIcons: void 0, vocadsIconsRegistered: !1 };
2494
2592
  }
2495
- function ua() {
2496
- if (typeof Zt().vocadsIcons !== void 0)
2497
- return Zt().vocadsIcons;
2498
- }
2499
2593
  function ha() {
2500
- return Zt().vocadsIconsRegistered;
2594
+ if (typeof Wt().vocadsIcons !== void 0)
2595
+ return Wt().vocadsIcons;
2501
2596
  }
2502
- const da = ".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))}", pa = /* @__PURE__ */ bi(class extends oi {
2597
+ function ua() {
2598
+ return Wt().vocadsIconsRegistered;
2599
+ }
2600
+ const da = ".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))}", pa = /* @__PURE__ */ $i(class extends ci {
2503
2601
  constructor() {
2504
2602
  super(), this.__registerHost(), this.size = "md", this.allyTitle = null, this.dataTrackingId = "telia-icon";
2505
2603
  }
@@ -2511,8 +2609,8 @@ const da = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
2511
2609
  getSvgString() {
2512
2610
  if (this.svg)
2513
2611
  return this.svg;
2514
- if (ha() && this.name) {
2515
- const n = ua();
2612
+ if (ua() && this.name) {
2613
+ const n = ha();
2516
2614
  return n[this.name] ? n[this.name].svg : "";
2517
2615
  }
2518
2616
  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"), "";
@@ -2549,7 +2647,7 @@ function fa() {
2549
2647
  customElements.get(e) || customElements.define(e, pa);
2550
2648
  break;
2551
2649
  case "telia-vst":
2552
- customElements.get(e) || $i();
2650
+ customElements.get(e) || ki();
2553
2651
  break;
2554
2652
  }
2555
2653
  });
@@ -2560,7 +2658,7 @@ fa();
2560
2658
  * Copyright 2017 Google LLC
2561
2659
  * SPDX-License-Identifier: BSD-3-Clause
2562
2660
  */
2563
- const ga = { attribute: !0, type: String, converter: Je, reflect: !1, hasChanged: on }, ma = (n = ga, e, t) => {
2661
+ const ga = { attribute: !0, type: String, converter: Je, reflect: !1, hasChanged: an }, ma = (n = ga, e, t) => {
2564
2662
  const { kind: s, metadata: i } = t;
2565
2663
  let r = globalThis.litPropertyMetadata.get(i);
2566
2664
  if (r === void 0 && globalThis.litPropertyMetadata.set(i, r = /* @__PURE__ */ new Map()), r.set(t.name, n), s === "accessor") {
@@ -2600,14 +2698,14 @@ function C(n) {
2600
2698
  * Copyright 2020 Google LLC
2601
2699
  * SPDX-License-Identifier: BSD-3-Clause
2602
2700
  */
2603
- const ba = (n) => n.strings === void 0;
2701
+ const va = (n) => n.strings === void 0;
2604
2702
  /**
2605
2703
  * @license
2606
2704
  * Copyright 2017 Google LLC
2607
2705
  * SPDX-License-Identifier: BSD-3-Clause
2608
2706
  */
2609
- const xt = { ATTRIBUTE: 1, CHILD: 2 }, wt = (n) => (...e) => ({ _$litDirective$: n, values: e });
2610
- let dn = class {
2707
+ const xt = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, wt = (n) => (...e) => ({ _$litDirective$: n, values: e });
2708
+ let pn = class {
2611
2709
  constructor(e) {
2612
2710
  }
2613
2711
  get _$AU() {
@@ -2640,7 +2738,7 @@ const Ee = (n, e) => {
2640
2738
  if ((e = n._$AM) === void 0) break;
2641
2739
  t = e._$AN, t.delete(n), n = e;
2642
2740
  } while ((t == null ? void 0 : t.size) === 0);
2643
- }, xi = (n) => {
2741
+ }, Si = (n) => {
2644
2742
  for (let e; e = n._$AM; n = e) {
2645
2743
  let t = e._$AN;
2646
2744
  if (t === void 0) e._$AN = t = /* @__PURE__ */ new Set();
@@ -2648,8 +2746,8 @@ const Ee = (n, e) => {
2648
2746
  t.add(n), $a(e);
2649
2747
  }
2650
2748
  };
2651
- function va(n) {
2652
- this._$AN !== void 0 ? (rt(this), this._$AM = n, xi(this)) : this._$AM = n;
2749
+ function ba(n) {
2750
+ this._$AN !== void 0 ? (rt(this), this._$AM = n, Si(this)) : this._$AM = n;
2653
2751
  }
2654
2752
  function ya(n, e = !1, t = 0) {
2655
2753
  const s = this._$AH, i = this._$AN;
@@ -2658,21 +2756,21 @@ function ya(n, e = !1, t = 0) {
2658
2756
  else Ee(this, n);
2659
2757
  }
2660
2758
  const $a = (n) => {
2661
- n.type == xt.CHILD && (n._$AP ?? (n._$AP = ya), n._$AQ ?? (n._$AQ = va));
2759
+ n.type == xt.CHILD && (n._$AP ?? (n._$AP = ya), n._$AQ ?? (n._$AQ = ba));
2662
2760
  };
2663
- let wi = class extends dn {
2761
+ let _i = class extends pn {
2664
2762
  constructor() {
2665
2763
  super(...arguments), this._$AN = void 0;
2666
2764
  }
2667
2765
  _$AT(e, t, s) {
2668
- super._$AT(e, t, s), xi(this), this.isConnected = e._$AU;
2766
+ super._$AT(e, t, s), Si(this), this.isConnected = e._$AU;
2669
2767
  }
2670
2768
  _$AO(e, t = !0) {
2671
2769
  var s, i;
2672
2770
  e !== this.isConnected && (this.isConnected = e, e ? (s = this.reconnected) == null || s.call(this) : (i = this.disconnected) == null || i.call(this)), t && (Ee(this, e), rt(this));
2673
2771
  }
2674
2772
  setValue(e) {
2675
- if (ba(this._$Ct)) this._$Ct._$AI(e, this);
2773
+ if (va(this._$Ct)) this._$Ct._$AI(e, this);
2676
2774
  else {
2677
2775
  const t = [...this._$Ct._$AH];
2678
2776
  t[this._$Ci] = e, this._$Ct._$AI(t, this, 0);
@@ -2688,10 +2786,10 @@ let wi = class extends dn {
2688
2786
  * Copyright 2020 Google LLC
2689
2787
  * SPDX-License-Identifier: BSD-3-Clause
2690
2788
  */
2691
- const B = () => new xa();
2789
+ const j = () => new xa();
2692
2790
  class xa {
2693
2791
  }
2694
- const Rt = /* @__PURE__ */ new WeakMap(), j = wt(class extends wi {
2792
+ const Pt = /* @__PURE__ */ new WeakMap(), H = wt(class extends _i {
2695
2793
  render(n) {
2696
2794
  return m;
2697
2795
  }
@@ -2703,13 +2801,13 @@ const Rt = /* @__PURE__ */ new WeakMap(), j = wt(class extends wi {
2703
2801
  rt(n) {
2704
2802
  if (this.isConnected || (n = void 0), typeof this.Y == "function") {
2705
2803
  const e = this.ht ?? globalThis;
2706
- let t = Rt.get(e);
2707
- t === void 0 && (t = /* @__PURE__ */ new WeakMap(), Rt.set(e, t)), t.get(this.Y) !== void 0 && this.Y.call(this.ht, void 0), t.set(this.Y, n), n !== void 0 && this.Y.call(this.ht, n);
2804
+ let t = Pt.get(e);
2805
+ t === void 0 && (t = /* @__PURE__ */ new WeakMap(), Pt.set(e, t)), t.get(this.Y) !== void 0 && this.Y.call(this.ht, void 0), t.set(this.Y, n), n !== void 0 && this.Y.call(this.ht, n);
2708
2806
  } else this.Y.value = n;
2709
2807
  }
2710
2808
  get lt() {
2711
2809
  var n, e;
2712
- return typeof this.Y == "function" ? (n = Rt.get(this.ht ?? globalThis)) == null ? void 0 : n.get(this.Y) : (e = this.Y) == null ? void 0 : e.value;
2810
+ return typeof this.Y == "function" ? (n = Pt.get(this.ht ?? globalThis)) == null ? void 0 : n.get(this.Y) : (e = this.Y) == null ? void 0 : e.value;
2713
2811
  }
2714
2812
  disconnected() {
2715
2813
  this.lt === this.ct && this.rt(void 0);
@@ -2723,7 +2821,7 @@ const Rt = /* @__PURE__ */ new WeakMap(), j = wt(class extends wi {
2723
2821
  * Copyright 2018 Google LLC
2724
2822
  * SPDX-License-Identifier: BSD-3-Clause
2725
2823
  */
2726
- const ye = wt(class extends dn {
2824
+ const ye = wt(class extends pn {
2727
2825
  constructor(n) {
2728
2826
  var e;
2729
2827
  if (super(n), n.type !== xt.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.");
@@ -2752,7 +2850,7 @@ var wa = Object.defineProperty, ka = (n, e, t, s) => {
2752
2850
  (o = n[r]) && (i = o(e, t, i) || i);
2753
2851
  return i && wa(e, t, i), i;
2754
2852
  };
2755
- const wn = class wn extends S {
2853
+ const kn = class kn extends S {
2756
2854
  constructor() {
2757
2855
  super(...arguments), this.anchor = "BottomRight";
2758
2856
  }
@@ -2764,8 +2862,8 @@ const wn = class wn extends S {
2764
2862
  return this.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right"), m;
2765
2863
  }
2766
2864
  };
2767
- wn.styles = [
2768
- T`
2865
+ kn.styles = [
2866
+ L`
2769
2867
  :host {
2770
2868
  position: fixed;
2771
2869
  display: flex;
@@ -2783,19 +2881,19 @@ wn.styles = [
2783
2881
  }
2784
2882
  `
2785
2883
  ];
2786
- let ot = wn;
2884
+ let ot = kn;
2787
2885
  ka([
2788
2886
  w({ attribute: !0 })
2789
2887
  ], ot.prototype, "anchor");
2790
2888
  const Sa = /* @__PURE__ */ new WeakMap();
2791
- let ps = 0;
2792
- const Pt = /* @__PURE__ */ new Map(), fs = /* @__PURE__ */ new WeakSet(), gs = () => new Promise((n) => requestAnimationFrame(n)), _a = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], Ca = [{ opacity: 0 }], ms = [{ opacity: 0 }, { opacity: 1 }], bs = (n, e) => {
2889
+ let fs = 0;
2890
+ const Ot = /* @__PURE__ */ new Map(), gs = /* @__PURE__ */ new WeakSet(), ms = () => new Promise((n) => requestAnimationFrame(n)), _a = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], Ca = [{ opacity: 0 }], vs = [{ opacity: 0 }, { opacity: 1 }], bs = (n, e) => {
2793
2891
  const t = n - e;
2794
2892
  return t === 0 ? void 0 : t;
2795
- }, vs = (n, e) => {
2893
+ }, ys = (n, e) => {
2796
2894
  const t = n / e;
2797
2895
  return t === 1 ? void 0 : t;
2798
- }, Ot = { left: (n, e) => {
2896
+ }, It = { left: (n, e) => {
2799
2897
  const t = bs(n, e);
2800
2898
  return { value: t, transform: t == null || isNaN(t) ? void 0 : `translateX(${t}px)` };
2801
2899
  }, top: (n, e) => {
@@ -2804,15 +2902,15 @@ const Pt = /* @__PURE__ */ new Map(), fs = /* @__PURE__ */ new WeakSet(), gs = (
2804
2902
  }, width: (n, e) => {
2805
2903
  let t;
2806
2904
  e === 0 && (e = 1, t = { width: "1px" });
2807
- const s = vs(n, e);
2905
+ const s = ys(n, e);
2808
2906
  return { value: s, overrideFrom: t, transform: s == null || isNaN(s) ? void 0 : `scaleX(${s})` };
2809
2907
  }, height: (n, e) => {
2810
2908
  let t;
2811
2909
  e === 0 && (e = 1, t = { height: "1px" });
2812
- const s = vs(n, e);
2910
+ const s = ys(n, e);
2813
2911
  return { value: s, overrideFrom: t, transform: s == null || isNaN(s) ? void 0 : `scaleY(${s})` };
2814
- } }, Aa = { duration: 333, easing: "ease-in-out" }, Ea = ["left", "top", "width", "height", "opacity", "color", "background"], ys = /* @__PURE__ */ new WeakMap();
2815
- class La extends wi {
2912
+ } }, Aa = { duration: 333, easing: "ease-in-out" }, Ea = ["left", "top", "width", "height", "opacity", "color", "background"], $s = /* @__PURE__ */ new WeakMap();
2913
+ class Ta extends _i {
2816
2914
  constructor(e) {
2817
2915
  if (super(e), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, e.type === xt.CHILD) throw Error("The `animate` directive must be used in attribute position.");
2818
2916
  this.createFinished();
@@ -2840,7 +2938,7 @@ class La extends wi {
2840
2938
  update(e, [t]) {
2841
2939
  var i;
2842
2940
  const s = this.u === void 0;
2843
- return s && (this.u = (i = e.options) == null ? void 0 : i.host, this.u.addController(this), this.u.updateComplete.then((r) => this.t = !0), this.element = e.element, ys.set(this.element, this)), this.optionsOrCallback = t, (s || typeof t != "function") && this.p(t), this.render(t);
2941
+ return s && (this.u = (i = e.options) == null ? void 0 : i.host, this.u.addController(this), this.u.updateComplete.then((r) => this.t = !0), this.element = e.element, $s.set(this.element, this)), this.optionsOrCallback = t, (s || typeof t != "function") && this.p(t), this.render(t);
2844
2942
  }
2845
2943
  p(e) {
2846
2944
  e = e ?? {};
@@ -2850,7 +2948,7 @@ class La extends wi {
2850
2948
  m() {
2851
2949
  const e = {}, t = this.element.getBoundingClientRect(), s = getComputedStyle(this.element);
2852
2950
  return this.options.properties.forEach((i) => {
2853
- const r = t[i] ?? (Ot[i] ? void 0 : s[i]), o = Number(r);
2951
+ const r = t[i] ?? (It[i] ? void 0 : s[i]), o = Number(r);
2854
2952
  e[i] = isNaN(o) ? r + "" : o;
2855
2953
  }), e;
2856
2954
  }
@@ -2869,17 +2967,17 @@ class La extends wi {
2869
2967
  async hostUpdated() {
2870
2968
  if (!this.h || !this.element.isConnected || this.options.skipInitial && !this.isHostRendered) return;
2871
2969
  let e;
2872
- this.prepare(), await gs;
2970
+ this.prepare(), await ms;
2873
2971
  const t = this.O(), s = this.j(this.options.keyframeOptions, t), i = this.m();
2874
2972
  if (this.A !== void 0) {
2875
2973
  const { from: r, to: o } = this.N(this.A, i, t);
2876
2974
  this.log("measured", [this.A, i, r, o]), e = this.calculateKeyframes(r, o);
2877
2975
  } else {
2878
- const r = Pt.get(this.options.inId);
2976
+ const r = Ot.get(this.options.inId);
2879
2977
  if (r) {
2880
- Pt.delete(this.options.inId);
2978
+ Ot.delete(this.options.inId);
2881
2979
  const { from: o, to: a } = this.N(r, i, t);
2882
- e = this.calculateKeyframes(o, a), e = this.options.in ? [{ ...this.options.in[0], ...e[0] }, ...this.options.in.slice(1), e[1]] : e, ps++, e.forEach((l) => l.zIndex = ps);
2980
+ e = this.calculateKeyframes(o, a), e = this.options.in ? [{ ...this.options.in[0], ...e[0] }, ...this.options.in.slice(1), e[1]] : e, fs++, e.forEach((l) => l.zIndex = fs);
2883
2981
  } else this.options.in && (e = [...this.options.in, {}]);
2884
2982
  }
2885
2983
  this.animate(e, s);
@@ -2895,8 +2993,8 @@ class La extends wi {
2895
2993
  }
2896
2994
  async disconnected() {
2897
2995
  var t;
2898
- if (!this.h || (this.options.id !== void 0 && Pt.set(this.options.id, this.A), this.options.out === void 0)) return;
2899
- if (this.prepare(), await gs(), (t = this.i) == null ? void 0 : t.isConnected) {
2996
+ if (!this.h || (this.options.id !== void 0 && Ot.set(this.options.id, this.A), this.options.out === void 0)) return;
2997
+ if (this.prepare(), await ms(), (t = this.i) == null ? void 0 : t.isConnected) {
2900
2998
  const s = this.o && this.o.parentNode === this.i ? this.o : null;
2901
2999
  if (this.i.insertBefore(this.element, s), this.options.stabilizeOut) {
2902
3000
  const i = this.m();
@@ -2922,15 +3020,15 @@ class La extends wi {
2922
3020
  O() {
2923
3021
  const e = [];
2924
3022
  for (let t = this.element.parentNode; t; t = t == null ? void 0 : t.parentNode) {
2925
- const s = ys.get(t);
3023
+ const s = $s.get(t);
2926
3024
  s && !s.isDisabled() && s && e.push(s);
2927
3025
  }
2928
3026
  return e;
2929
3027
  }
2930
3028
  get isHostRendered() {
2931
- const e = fs.has(this.u);
3029
+ const e = gs.has(this.u);
2932
3030
  return e || this.u.updateComplete.then(() => {
2933
- fs.add(this.u);
3031
+ gs.add(this.u);
2934
3032
  }), e;
2935
3033
  }
2936
3034
  j(e, t = this.O()) {
@@ -2950,13 +3048,13 @@ class La extends wi {
2950
3048
  let o = !1;
2951
3049
  const a = {};
2952
3050
  for (const l in t) {
2953
- const c = e[l], u = t[l];
2954
- if (l in Ot) {
2955
- const h = Ot[l];
2956
- if (c === void 0 || u === void 0) continue;
2957
- const d = h(c, u);
3051
+ const c = e[l], h = t[l];
3052
+ if (l in It) {
3053
+ const u = It[l];
3054
+ if (c === void 0 || h === void 0) continue;
3055
+ const d = u(c, h);
2958
3056
  d.transform !== void 0 && (a[l] = d.value, o = !0, i.transform = `${i.transform ?? ""} ${d.transform}`, d.overrideFrom !== void 0 && Object.assign(i, d.overrideFrom));
2959
- } else c !== u && c !== void 0 && u !== void 0 && (o = !0, i[l] = c, r[l] = u);
3057
+ } else c !== h && c !== void 0 && h !== void 0 && (o = !0, i[l] = c, r[l] = h);
2960
3058
  }
2961
3059
  return i.transformOrigin = r.transformOrigin = s ? "center center" : "top left", this.animatingProperties = a, o ? [i, r] : void 0;
2962
3060
  }
@@ -2983,10 +3081,10 @@ class La extends wi {
2983
3081
  this.shouldLog && !this.isDisabled() && console.log(e, this.options.id, t);
2984
3082
  }
2985
3083
  }
2986
- const Wt = wt(La), q = (n, e, t) => {
3084
+ const Yt = wt(Ta), q = (n, e, t) => {
2987
3085
  n && t.style.setProperty(e, n);
2988
- }, ki = (n, e) => {
2989
- var t, s, i, r, o, a, l, c, u;
3086
+ }, Ci = (n, e) => {
3087
+ var t, s, i, r, o, a, l, c, h;
2990
3088
  q((t = n.colors) == null ? void 0 : t.primaryBackground, "--primary-background", e), q(
2991
3089
  (s = n.colors) == null ? void 0 : s.textOnPrimaryBackground,
2992
3090
  "--text-on-primary-background",
@@ -3015,16 +3113,16 @@ const Wt = wt(La), q = (n, e, t) => {
3015
3113
  (c = n.colors) == null ? void 0 : c.interactiveTextOnPrimaryBackground,
3016
3114
  "--interactive-text-on-primary-background",
3017
3115
  e
3018
- ), q((u = n.colors) == null ? void 0 : u.focusColor, "--focus-color", e);
3116
+ ), q((h = n.colors) == null ? void 0 : h.focusColor, "--focus-color", e);
3019
3117
  };
3020
- var Ta = Object.defineProperty, qe = (n, e, t, s) => {
3118
+ var La = Object.defineProperty, qe = (n, e, t, s) => {
3021
3119
  for (var i = void 0, r = n.length - 1, o; r >= 0; r--)
3022
3120
  (o = n[r]) && (i = o(e, t, i) || i);
3023
- return i && Ta(e, t, i), i;
3121
+ return i && La(e, t, i), i;
3024
3122
  };
3025
- const kn = class kn extends S {
3123
+ const Sn = class Sn extends S {
3026
3124
  constructor() {
3027
- super(...arguments), this.active = !1, this.triggerVisible = !0, this.loaded = !1, this.containerRef = B(), this.widgetActive$ = new H(!1), this.componentIsDestroyed$ = new _();
3125
+ super(...arguments), this.active = !1, this.triggerVisible = !0, this.loaded = !1, this.containerRef = j(), this.widgetActive$ = new z(!1), this.componentIsDestroyed$ = new _();
3028
3126
  }
3029
3127
  async connectedCallback() {
3030
3128
  super.connectedCallback(), this.icon = await this._renderSymbol(), this.loaded = !0, this._applyBranding();
@@ -3059,23 +3157,23 @@ const kn = class kn extends S {
3059
3157
  }
3060
3158
  _applyBranding() {
3061
3159
  var e;
3062
- (e = this.application) != null && e.settings && ki(this.application.settings.branding, this);
3160
+ (e = this.application) != null && e.settings && Ci(this.application.settings.branding, this);
3063
3161
  }
3064
3162
  async _renderSymbol() {
3065
3163
  var a, l, c;
3066
3164
  const e = (a = this.application) == null ? void 0 : a.branding(), t = (l = e == null ? void 0 : e.graphics) == null ? void 0 : l.trigger;
3067
3165
  if (t)
3068
- return b` <img src=${t} class="trigger-icon" alt="" /> `;
3166
+ return v` <img src=${t} class="trigger-icon" alt="" /> `;
3069
3167
  const s = (c = this.application) == null ? void 0 : c.triggerIcon;
3070
3168
  if (!s)
3071
3169
  return m;
3072
- const i = async (u) => go, { type: r, content: o } = s;
3170
+ const i = async (h) => go, { type: r, content: o } = s;
3073
3171
  switch (r) {
3074
3172
  case "Telia": {
3075
- const u = await i();
3076
- return u ? b`<telia-icon
3173
+ const h = await i();
3174
+ return h ? v`<telia-icon
3077
3175
  class="trigger-icon"
3078
- svg=${u.svg}
3176
+ svg=${h.svg}
3079
3177
  size="lg"
3080
3178
  ></telia-icon>` : m;
3081
3179
  }
@@ -3091,19 +3189,19 @@ const kn = class kn extends S {
3091
3189
  }
3092
3190
  render() {
3093
3191
  var e, t, s, i;
3094
- return b`<div
3192
+ return v`<div
3095
3193
  class=${ye({
3096
3194
  "trigger-container": !0,
3097
3195
  hidden: !this.triggerVisible
3098
3196
  })}
3099
- ${j(this.containerRef)}
3197
+ ${H(this.containerRef)}
3100
3198
  >
3101
- ${!this.active && ((i = (s = (t = (e = this.application) == null ? void 0 : e.settings) == null ? void 0 : t.branding) == null ? void 0 : s.other) != null && i.showButtonLabel) ? b`
3199
+ ${!this.active && ((i = (s = (t = (e = this.application) == null ? void 0 : e.settings) == null ? void 0 : t.branding) == null ? void 0 : s.other) != null && i.showButtonLabel) ? v`
3102
3200
  <button
3103
3201
  label="${this.application.settings.branding.other.buttonLabelText ?? "Widget trigger"}"
3104
3202
  class="trigger-label"
3105
3203
  @click=${this.toggleActive}
3106
- ${Wt({
3204
+ ${Yt({
3107
3205
  keyframeOptions: {},
3108
3206
  in: _a,
3109
3207
  stabilizeOut: !0,
@@ -3155,8 +3253,8 @@ const kn = class kn extends S {
3155
3253
  </div>`;
3156
3254
  }
3157
3255
  };
3158
- kn.styles = [
3159
- T`
3256
+ Sn.styles = [
3257
+ L`
3160
3258
  :host {
3161
3259
  --voca-rem-multiplier: 0.625;
3162
3260
  --trigger-label-bg: #f5e0ff;
@@ -3287,7 +3385,7 @@ kn.styles = [
3287
3385
  }
3288
3386
  `
3289
3387
  ];
3290
- let F = kn;
3388
+ let F = Sn;
3291
3389
  qe([
3292
3390
  w({ attribute: !1 })
3293
3391
  ], F.prototype, "application");
@@ -3308,7 +3406,7 @@ var Ra = Object.defineProperty, te = (n, e, t, s) => {
3308
3406
  (o = n[r]) && (i = o(e, t, i) || i);
3309
3407
  return i && Ra(e, t, i), i;
3310
3408
  };
3311
- const Si = (n) => {
3409
+ const Ai = (n) => {
3312
3410
  const t = class t extends n {
3313
3411
  constructor() {
3314
3412
  super(...arguments), this.properties = {}, this.context = {}, this.layout = {}, this.nodes = [];
@@ -3334,7 +3432,7 @@ const Si = (n) => {
3334
3432
  };
3335
3433
  t.styles = [
3336
3434
  // (superClass as unknown as typeof LitElement).styles ?? [],
3337
- T`
3435
+ L`
3338
3436
  :host {
3339
3437
  font-family: var(--font-family);
3340
3438
  grid-column: span var(--width);
@@ -3364,19 +3462,19 @@ const Si = (n) => {
3364
3462
  ], e.prototype, "application"), te([
3365
3463
  w({ attribute: !1 })
3366
3464
  ], e.prototype, "parent"), e;
3367
- }, Sn = class Sn extends Si(S) {
3465
+ }, _n = class _n extends Ai(S) {
3368
3466
  render() {
3369
- return b`Non resolved component`;
3467
+ return v`Non resolved component`;
3370
3468
  }
3371
3469
  };
3372
- Sn.styles = [
3373
- T`
3470
+ _n.styles = [
3471
+ L`
3374
3472
  :host {
3375
3473
  display: block;
3376
3474
  }
3377
3475
  `
3378
3476
  ];
3379
- let Gt = Sn;
3477
+ let Gt = _n;
3380
3478
  /**
3381
3479
  * @license
3382
3480
  * Copyright 2021 Google LLC
@@ -3447,7 +3545,7 @@ let Ma = class extends Event {
3447
3545
  super("context-provider", { bubbles: !0, composed: !0 }), this.context = e;
3448
3546
  }
3449
3547
  };
3450
- class $s extends Ia {
3548
+ class xs extends Ia {
3451
3549
  constructor(e, t, s) {
3452
3550
  var i, r;
3453
3551
  super(t.context !== void 0 ? t.initialValue : s), this.onContextRequest = (o) => {
@@ -3457,7 +3555,7 @@ class $s extends Ia {
3457
3555
  const a = o.composedPath()[0];
3458
3556
  if (o.context !== this.context || a === this.host) return;
3459
3557
  const l = /* @__PURE__ */ new Set();
3460
- for (const [c, { consumerHost: u }] of this.subscriptions) l.has(c) || (l.add(c), u.dispatchEvent(new Oa(this.context, c, !0)));
3558
+ for (const [c, { consumerHost: h }] of this.subscriptions) l.has(c) || (l.add(c), h.dispatchEvent(new Oa(this.context, c, !0)));
3461
3559
  o.stopPropagation();
3462
3560
  }, this.host = e, t.context !== void 0 ? this.context = t.context : this.context = t, this.attachListeners(), (r = (i = this.host).addController) == null || r.call(i, this);
3463
3561
  }
@@ -3477,7 +3575,7 @@ function za({ context: n }) {
3477
3575
  return (e, t) => {
3478
3576
  const s = /* @__PURE__ */ new WeakMap();
3479
3577
  if (typeof t == "object") return t.addInitializer(function() {
3480
- s.set(this, new $s(this, { context: n }));
3578
+ s.set(this, new xs(this, { context: n }));
3481
3579
  }), { get() {
3482
3580
  return e.get.call(this);
3483
3581
  }, set(i) {
@@ -3489,7 +3587,7 @@ function za({ context: n }) {
3489
3587
  } };
3490
3588
  {
3491
3589
  e.constructor.addInitializer((o) => {
3492
- s.set(o, new $s(o, { context: n }));
3590
+ s.set(o, new xs(o, { context: n }));
3493
3591
  });
3494
3592
  const i = Object.getOwnPropertyDescriptor(e, t);
3495
3593
  let r;
@@ -3510,14 +3608,14 @@ function za({ context: n }) {
3510
3608
  }
3511
3609
  };
3512
3610
  }
3513
- var Ua = Object.defineProperty, _i = (n, e, t, s) => {
3611
+ var Ua = Object.defineProperty, Ei = (n, e, t, s) => {
3514
3612
  for (var i = void 0, r = n.length - 1, o; r >= 0; r--)
3515
3613
  (o = n[r]) && (i = o(e, t, i) || i);
3516
3614
  return i && Ua(e, t, i), i;
3517
3615
  };
3518
- const Ba = "application", _n = class _n extends S {
3616
+ const Ba = "application", Cn = class Cn extends S {
3519
3617
  constructor() {
3520
- super(...arguments), this.nodes = [], this.wrapperRef = B(), this.fullscreen = !1;
3618
+ super(...arguments), this.nodes = [], this.wrapperRef = j(), this.fullscreen = !1, this.isReady = new z(!1);
3521
3619
  }
3522
3620
  addChild(e) {
3523
3621
  e.parent = this, this.nodes.push(e);
@@ -3526,7 +3624,7 @@ const Ba = "application", _n = class _n extends S {
3526
3624
  if (!this.wrapperRef.value)
3527
3625
  return;
3528
3626
  const e = this.application.settings;
3529
- e != null && e.branding && ki(e.branding, this.wrapperRef.value);
3627
+ e != null && e.branding && Ci(e.branding, this.wrapperRef.value);
3530
3628
  }
3531
3629
  applyStyles() {
3532
3630
  if (!this.wrapperRef.value)
@@ -3542,12 +3640,12 @@ const Ba = "application", _n = class _n extends S {
3542
3640
  render() {
3543
3641
  var s, i;
3544
3642
  const e = this.application.settings.components.conversation;
3545
- return ((i = (s = e == null ? void 0 : e.properties) == null ? void 0 : s.chat) == null ? void 0 : i.isThirdPartyWidget) ? this.renderRoot.host.classList.add("third-party") : this.application.renderStrategy === Ie.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"), b`<div class="widget-container" ${j(this.wrapperRef)}>
3643
+ return ((i = (s = e == null ? void 0 : e.properties) == null ? void 0 : s.chat) == null ? void 0 : i.isThirdPartyWidget) ? this.renderRoot.host.classList.add("third-party") : this.application.renderStrategy === Ie.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"), v`<div class="widget-container" ${H(this.wrapperRef)}>
3546
3644
  ${Pa(this.nodes, (r) => r)}
3547
3645
  </div>`;
3548
3646
  }
3549
3647
  };
3550
- _n.styles = T`
3648
+ Cn.styles = L`
3551
3649
  :host {
3552
3650
  --font-family: TeliaSans, Helvetica, Arial, Lucida Grande, sans-serif;
3553
3651
  --spacing-xs: 0.2rem;
@@ -3700,11 +3798,11 @@ _n.styles = T`
3700
3798
  animation: none;
3701
3799
  }
3702
3800
  `;
3703
- let Me = _n;
3704
- _i([
3801
+ let Me = Cn;
3802
+ Ei([
3705
3803
  w({ attribute: !0 })
3706
3804
  ], Me.prototype, "fullscreen");
3707
- _i([
3805
+ Ei([
3708
3806
  w({ attribute: !1 }),
3709
3807
  za({ context: Ba })
3710
3808
  ], Me.prototype, "application");
@@ -3746,13 +3844,13 @@ const pt = class pt {
3746
3844
  }
3747
3845
  };
3748
3846
  pt.endpoint = "https://widgets.ace.teliacompany.net/api";
3749
- let xs = pt;
3750
- var ja = Object.defineProperty, pn = (n, e, t, s) => {
3847
+ let ws = pt;
3848
+ var ja = Object.defineProperty, fn = (n, e, t, s) => {
3751
3849
  for (var i = void 0, r = n.length - 1, o; r >= 0; r--)
3752
3850
  (o = n[r]) && (i = o(e, t, i) || i);
3753
3851
  return i && ja(e, t, i), i;
3754
3852
  };
3755
- const Cn = class Cn extends S {
3853
+ const An = class An extends S {
3756
3854
  constructor() {
3757
3855
  super(), this.status = "deactivated", this.addEventListener("environment-created", this.onEnvironmentCreated);
3758
3856
  }
@@ -3784,21 +3882,21 @@ const Cn = class Cn extends S {
3784
3882
  return this.widget.render();
3785
3883
  }
3786
3884
  };
3787
- Cn.styles = [
3788
- T`
3885
+ An.styles = [
3886
+ L`
3789
3887
  :host {
3790
3888
  display: block;
3791
3889
  }
3792
3890
  `
3793
3891
  ];
3794
- let $e = Cn;
3795
- pn([
3892
+ let $e = An;
3893
+ fn([
3796
3894
  w({ attribute: !0 })
3797
3895
  ], $e.prototype, "name");
3798
- pn([
3896
+ fn([
3799
3897
  C()
3800
3898
  ], $e.prototype, "widget");
3801
- pn([
3899
+ fn([
3802
3900
  C()
3803
3901
  ], $e.prototype, "status");
3804
3902
  customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", ot);
@@ -3822,9 +3920,9 @@ class Ha {
3822
3920
  return !!this.message;
3823
3921
  }
3824
3922
  }
3825
- class ws {
3923
+ class ks {
3826
3924
  constructor(e, t, s, i, r) {
3827
- this.id = e, this.providerKey = t, this.providerOptions = s, this.component = r, this.provider$ = new H(null), this.entries$ = new H([]), this.removeEntryAction$ = new _(), this.kill$ = new _(), this.isTyping$ = new H(!1), this.data$ = new H({}), this.complete$ = this.provider$.pipe(
3925
+ this.id = e, this.providerKey = t, this.providerOptions = s, this.component = r, this.provider$ = new z(null), this.entries$ = new z([]), this.removeEntryAction$ = new _(), this.kill$ = new _(), this.isTyping$ = new z(!1), this.data$ = new z({}), this.complete$ = this.provider$.pipe(
3828
3926
  pe((l) => l ? l.onComplete() : He)
3829
3927
  );
3830
3928
  const o = this._getProviderFactory(t);
@@ -3832,9 +3930,9 @@ class ws {
3832
3930
  throw new Error(`No provider with key "${t}" was found.`);
3833
3931
  this.data$.next(i);
3834
3932
  const a = o(this.component);
3835
- this.provider$.next(a), a.actions().pipe(jt(this.kill$)).subscribe((l) => {
3933
+ this.provider$.next(a), a.actions().pipe(Ht(this.kill$)).subscribe((l) => {
3836
3934
  this.write(l);
3837
- }), a.isTyping().pipe(jt(this.kill$)).subscribe((l) => {
3935
+ }), a.isTyping().pipe(Ht(this.kill$)).subscribe((l) => {
3838
3936
  this.isTyping$.next(l);
3839
3937
  });
3840
3938
  }
@@ -3862,14 +3960,14 @@ class ws {
3862
3960
  };
3863
3961
  }
3864
3962
  write(e) {
3865
- this._addEntryRemoveHandler(e), this.entries$.pipe(Bt(1)).subscribe((t) => {
3963
+ this._addEntryRemoveHandler(e), this.entries$.pipe(jt(1)).subscribe((t) => {
3866
3964
  this.entries$.next([...t, e]);
3867
3965
  });
3868
3966
  }
3869
3967
  _addEntryRemoveHandler(e) {
3870
3968
  e.remove$.pipe(
3871
3969
  pe(() => this.entries$),
3872
- Bt(1)
3970
+ jt(1)
3873
3971
  ).subscribe((t) => {
3874
3972
  this.removeEntryAction$.next(e), this.entries$.next(t.filter((s) => s !== e));
3875
3973
  });
@@ -3880,7 +3978,7 @@ class ws {
3880
3978
  }
3881
3979
  class Na {
3882
3980
  constructor(e) {
3883
- this.component = e, this.currentSession$ = new H(null), this.sessions = [], this.storage = null, Ve(e, "handover").subscribe((t) => {
3981
+ this.component = e, this.currentSession$ = new z(null), this.sessions = [], this.storage = null, Ve(e, "handover").subscribe((t) => {
3884
3982
  const s = this._createNewSession(
3885
3983
  t.detail.providerKey,
3886
3984
  t.detail.providerOptions
@@ -3923,7 +4021,7 @@ class Na {
3923
4021
  );
3924
4022
  return e ? {
3925
4023
  sessions: e.sessions.map(
3926
- (t) => new ws(
4024
+ (t) => new ks(
3927
4025
  t.id,
3928
4026
  t.providerKey,
3929
4027
  t.providerOptions,
@@ -3960,8 +4058,8 @@ class Na {
3960
4058
  this.storage.set("conversation", t);
3961
4059
  }
3962
4060
  _createNewSession(e, t = {}) {
3963
- const s = this._getStoredSessions(), i = new ws(
3964
- Qs(),
4061
+ const s = this._getStoredSessions(), i = new ks(
4062
+ Js(),
3965
4063
  e,
3966
4064
  t,
3967
4065
  {},
@@ -3978,10 +4076,10 @@ class Na {
3978
4076
  }
3979
4077
  class Da {
3980
4078
  constructor(e, t) {
3981
- this.state$ = e, this.component = t, this.entries$ = new H([]), this.session = () => this.session$, this.isTyping = () => this.isTyping$, this.entries = () => this.entries$.asObservable(), this.sessionService = new Na(this.component), this.session$ = this.sessionService.currentSession(), this.isTyping$ = this.session$.pipe(
4079
+ this.state$ = e, this.component = t, this.entries$ = new z([]), this.session = () => this.session$, this.isTyping = () => this.isTyping$, this.entries = () => this.entries$.asObservable(), this.sessionService = new Na(this.component), this.session$ = this.sessionService.currentSession(), this.isTyping$ = this.session$.pipe(
3982
4080
  pe((s) => s ? s.provider$.pipe(
3983
- pe((i) => i ? i.isTyping() : Ut(!1))
3984
- ) : Ut(!1))
4081
+ pe((i) => i ? i.isTyping() : Bt(!1))
4082
+ ) : Bt(!1))
3985
4083
  ), e.subscribe((s) => {
3986
4084
  switch (s) {
3987
4085
  case "init":
@@ -4008,7 +4106,7 @@ class Da {
4008
4106
  pe((e) => {
4009
4107
  if (!e)
4010
4108
  return He;
4011
- const t = e.removeEntryAction$.pipe(Ht(this.entries$)).pipe(
4109
+ const t = e.removeEntryAction$.pipe(Nt(this.entries$)).pipe(
4012
4110
  Xe(([i, r]) => r.filter((o) => o.id !== i.id))
4013
4111
  ), s = e.entries().pipe(
4014
4112
  Xe((i) => {
@@ -4032,7 +4130,7 @@ var qa = Object.defineProperty, Fa = (n, e, t, s) => {
4032
4130
  (o = n[r]) && (i = o(e, t, i) || i);
4033
4131
  return i && qa(e, t, i), i;
4034
4132
  };
4035
- const An = class An extends S {
4133
+ const En = class En extends S {
4036
4134
  connectedCallback() {
4037
4135
  var e;
4038
4136
  super.connectedCallback(), (e = this.entry.didUpdate) == null || e.subscribe(() => {
@@ -4050,17 +4148,17 @@ const An = class An extends S {
4050
4148
  if (!e && !t)
4051
4149
  return m;
4052
4150
  let s = "";
4053
- return e ? t ? s = `${e}: ${this._getTimestamp(t)}` : s = e : t && (s = this._getTimestamp(t)), b`<p class="conversation-timestamp">${s}</p>`;
4151
+ return e ? t ? s = `${e}: ${this._getTimestamp(t)}` : s = e : t && (s = this._getTimestamp(t)), v`<p class="conversation-timestamp">${s}</p>`;
4054
4152
  }
4055
4153
  _renderDeliveryStatus(e) {
4056
- return e === "delivered" ? b`<telia-icon
4057
- svg=${uo.svg}
4154
+ return e === "delivered" ? v`<telia-icon
4155
+ svg=${ho.svg}
4058
4156
  size="sm"
4059
- ></telia-icon>` : e === "failed" ? b`<telia-icon
4157
+ ></telia-icon>` : e === "failed" ? v`<telia-icon
4060
4158
  svg=${co.svg}
4061
4159
  size="sm"
4062
4160
  title="Message could not be delivered"
4063
- ></telia-icon>` : b`<telia-icon svg=${ho.svg} size="sm"></telia-icon>`;
4161
+ ></telia-icon>` : v`<telia-icon svg=${uo.svg} size="sm"></telia-icon>`;
4064
4162
  }
4065
4163
  _dispatchEntryAction(e) {
4066
4164
  this.entry.actions$.next(e.detail);
@@ -4069,10 +4167,10 @@ const An = class An extends S {
4069
4167
  var e, t;
4070
4168
  switch (this.entry.type) {
4071
4169
  case K.System:
4072
- return b`
4170
+ return v`
4073
4171
  <div class="conversation-system-message">
4074
4172
  ${this.entry.messages.map(
4075
- (s) => b`
4173
+ (s) => v`
4076
4174
  <div class="message-container">
4077
4175
  <div class="message-content">
4078
4176
  <conversation-group
@@ -4087,19 +4185,19 @@ const An = class An extends S {
4087
4185
  </div>
4088
4186
  `;
4089
4187
  case K.Agent:
4090
- return b`<div
4188
+ return v`<div
4091
4189
  class=${ye({
4092
4190
  "conversation-agent-message": !0,
4093
4191
  "has-avatar": !!((e = this.entry.sender) != null && e.avatar)
4094
4192
  })}
4095
4193
  >
4096
- ${typeof ((t = this.entry.sender) == null ? void 0 : t.avatar) == "string" ? b`<div class="avatar">
4194
+ ${typeof ((t = this.entry.sender) == null ? void 0 : t.avatar) == "string" ? v`<div class="avatar">
4097
4195
  <img src=${this.entry.sender.avatar} />
4098
4196
  </div>` : m}
4099
4197
 
4100
4198
  <div class="entry-content">
4101
4199
  ${this.entry.messages.map(
4102
- (s) => b`
4200
+ (s) => v`
4103
4201
  <div class="message-container">
4104
4202
  <div class="message-content">
4105
4203
  <conversation-group .group=${s}></conversation-group>
@@ -4116,7 +4214,7 @@ const An = class An extends S {
4116
4214
  </div>
4117
4215
  </div>`;
4118
4216
  case K.User:
4119
- return b`<div
4217
+ return v`<div
4120
4218
  class=${ye({
4121
4219
  "conversation-user-message": !0,
4122
4220
  "has-error": this.entry.status === "failed"
@@ -4124,7 +4222,7 @@ const An = class An extends S {
4124
4222
  >
4125
4223
  <div class="entry-content">
4126
4224
  ${this.entry.messages.map(
4127
- (s) => b`
4225
+ (s) => v`
4128
4226
  <div class="message-container">
4129
4227
  <div class="message-content">
4130
4228
  <conversation-group .group=${s}></conversation-group>
@@ -4146,8 +4244,8 @@ const An = class An extends S {
4146
4244
  }
4147
4245
  }
4148
4246
  };
4149
- An.styles = [
4150
- T`
4247
+ En.styles = [
4248
+ L`
4151
4249
  :host {
4152
4250
  box-sizing: border-box;
4153
4251
  display: inline;
@@ -4269,16 +4367,16 @@ An.styles = [
4269
4367
  }
4270
4368
  `
4271
4369
  ];
4272
- let at = An;
4370
+ let at = En;
4273
4371
  Fa([
4274
4372
  w({ attribute: !1 })
4275
4373
  ], at.prototype, "entry");
4276
- var Za = Object.defineProperty, Ci = (n, e, t, s) => {
4374
+ var Za = Object.defineProperty, Ti = (n, e, t, s) => {
4277
4375
  for (var i = void 0, r = n.length - 1, o; r >= 0; r--)
4278
4376
  (o = n[r]) && (i = o(e, t, i) || i);
4279
4377
  return i && Za(e, t, i), i;
4280
4378
  };
4281
- const En = class En extends S {
4379
+ const Tn = class Tn extends S {
4282
4380
  constructor() {
4283
4381
  super(...arguments), this.entries = [], this.loading = !0;
4284
4382
  }
@@ -4287,14 +4385,14 @@ const En = class En extends S {
4287
4385
  this.dispatchEvent(t);
4288
4386
  }
4289
4387
  render() {
4290
- return b`<div class="conversation-feed">
4388
+ return v`<div class="conversation-feed">
4291
4389
  ${this.entries.map(
4292
- (e) => b`<div class="conversation-entry" tabindex="-1">
4390
+ (e) => v`<div class="conversation-entry" tabindex="-1">
4293
4391
  <conversation-entry
4294
4392
  .entry=${e}
4295
- ${Wt({
4393
+ ${Yt({
4296
4394
  keyframeOptions: {},
4297
- in: ms,
4395
+ in: vs,
4298
4396
  stabilizeOut: !0,
4299
4397
  skipInitial: !1
4300
4398
  })}
@@ -4302,10 +4400,10 @@ const En = class En extends S {
4302
4400
  </conversation-entry>
4303
4401
  </div>`
4304
4402
  )}
4305
- ${this.loading ? b`<ace-typing-state
4306
- ${Wt({
4403
+ ${this.loading ? v`<ace-typing-state
4404
+ ${Yt({
4307
4405
  keyframeOptions: {},
4308
- in: ms,
4406
+ in: vs,
4309
4407
  out: Ca,
4310
4408
  stabilizeOut: !0,
4311
4409
  skipInitial: !1
@@ -4314,8 +4412,8 @@ const En = class En extends S {
4314
4412
  </div>`;
4315
4413
  }
4316
4414
  };
4317
- En.styles = [
4318
- T`
4415
+ Tn.styles = [
4416
+ L`
4319
4417
  :host {
4320
4418
  display: block;
4321
4419
  }
@@ -4333,11 +4431,11 @@ En.styles = [
4333
4431
  }
4334
4432
  `
4335
4433
  ];
4336
- let ze = En;
4337
- Ci([
4434
+ let ze = Tn;
4435
+ Ti([
4338
4436
  w({ attribute: !1 })
4339
4437
  ], ze.prototype, "entries");
4340
- Ci([
4438
+ Ti([
4341
4439
  w({ type: Boolean })
4342
4440
  ], ze.prototype, "loading");
4343
4441
  /**
@@ -4349,24 +4447,24 @@ const Wa = (n, e, t) => {
4349
4447
  for (const s of e) if (s[0] === n) return (0, s[1])();
4350
4448
  return t == null ? void 0 : t();
4351
4449
  };
4352
- var Ga = Object.defineProperty, Ya = (n, e, t, s) => {
4450
+ var Ya = Object.defineProperty, Ga = (n, e, t, s) => {
4353
4451
  for (var i = void 0, r = n.length - 1, o; r >= 0; r--)
4354
4452
  (o = n[r]) && (i = o(e, t, i) || i);
4355
- return i && Ga(e, t, i), i;
4453
+ return i && Ya(e, t, i), i;
4356
4454
  };
4357
4455
  const Ln = class Ln extends S {
4358
4456
  render() {
4359
- return b`
4457
+ return v`
4360
4458
  <div class="message-group">
4361
4459
  ${this.group.items.map(
4362
- ([e, t, s]) => b`
4460
+ ([e, t, s]) => v`
4363
4461
  ${Wa(
4364
4462
  e,
4365
4463
  [
4366
- ["html", () => b`<message-type-html .message=${t} />`],
4464
+ ["html", () => v`<message-type-html .message=${t} />`],
4367
4465
  [
4368
4466
  "markdown",
4369
- () => b`<message-type-markdown .message=${t} />`
4467
+ () => v`<message-type-markdown .message=${t} />`
4370
4468
  ]
4371
4469
  ],
4372
4470
  () => {
@@ -4374,7 +4472,7 @@ const Ln = class Ln extends S {
4374
4472
  if (!i)
4375
4473
  return m;
4376
4474
  const r = new i(s || null);
4377
- return b`${r}`;
4475
+ return v`${r}`;
4378
4476
  }
4379
4477
  )}
4380
4478
  `
@@ -4384,7 +4482,7 @@ const Ln = class Ln extends S {
4384
4482
  }
4385
4483
  };
4386
4484
  Ln.styles = [
4387
- T`
4485
+ L`
4388
4486
  :host {
4389
4487
  box-sizing: border-box;
4390
4488
  display: block;
@@ -4400,20 +4498,20 @@ Ln.styles = [
4400
4498
  `
4401
4499
  ];
4402
4500
  let lt = Ln;
4403
- Ya([
4501
+ Ga([
4404
4502
  w({ attribute: !1 })
4405
4503
  ], lt.prototype, "group");
4406
- const Tn = class Tn extends S {
4504
+ const Rn = class Rn extends S {
4407
4505
  render() {
4408
- return b`<div class="container">
4506
+ return v`<div class="container">
4409
4507
  <div class="dot"></div>
4410
4508
  <div class="dot"></div>
4411
4509
  <div class="dot"></div>
4412
4510
  </div>`;
4413
4511
  }
4414
4512
  };
4415
- Tn.styles = [
4416
- T`
4513
+ Rn.styles = [
4514
+ L`
4417
4515
  :host {
4418
4516
  display: block;
4419
4517
  }
@@ -4449,13 +4547,13 @@ Tn.styles = [
4449
4547
  }
4450
4548
  `
4451
4549
  ];
4452
- let Yt = Tn;
4550
+ let Kt = Rn;
4453
4551
  /**
4454
4552
  * @license
4455
4553
  * Copyright 2017 Google LLC
4456
4554
  * SPDX-License-Identifier: BSD-3-Clause
4457
4555
  */
4458
- class Kt extends dn {
4556
+ class Qt extends pn {
4459
4557
  constructor(e) {
4460
4558
  if (super(e), this.it = m, e.type !== xt.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
4461
4559
  }
@@ -4469,22 +4567,22 @@ class Kt extends dn {
4469
4567
  return t.raw = t, this._t = { _$litType$: this.constructor.resultType, strings: t, values: [] };
4470
4568
  }
4471
4569
  }
4472
- Kt.directiveName = "unsafeHTML", Kt.resultType = 1;
4473
- const Ka = wt(Kt);
4570
+ Qt.directiveName = "unsafeHTML", Qt.resultType = 1;
4571
+ const Ka = wt(Qt);
4474
4572
  var Qa = Object.defineProperty, Xa = (n, e, t, s) => {
4475
4573
  for (var i = void 0, r = n.length - 1, o; r >= 0; r--)
4476
4574
  (o = n[r]) && (i = o(e, t, i) || i);
4477
4575
  return i && Qa(e, t, i), i;
4478
4576
  };
4479
- const Rn = class Rn extends S {
4577
+ const Pn = class Pn extends S {
4480
4578
  render() {
4481
- return b`<div class="message-type-html">
4579
+ return v`<div class="message-type-html">
4482
4580
  ${Ka(this.message.content)}
4483
4581
  </div>`;
4484
4582
  }
4485
4583
  };
4486
- Rn.styles = [
4487
- T`
4584
+ Pn.styles = [
4585
+ L`
4488
4586
  :host {
4489
4587
  box-sizing: border-box;
4490
4588
  }
@@ -4520,11 +4618,11 @@ Rn.styles = [
4520
4618
  }
4521
4619
  `
4522
4620
  ];
4523
- let ct = Rn;
4621
+ let ct = Pn;
4524
4622
  Xa([
4525
4623
  w({ attribute: !1 })
4526
4624
  ], ct.prototype, "message");
4527
- function fn() {
4625
+ function gn() {
4528
4626
  return {
4529
4627
  async: !1,
4530
4628
  breaks: !1,
@@ -4538,11 +4636,11 @@ function fn() {
4538
4636
  walkTokens: null
4539
4637
  };
4540
4638
  }
4541
- let ae = fn();
4542
- function Ai(n) {
4639
+ let ae = gn();
4640
+ function Li(n) {
4543
4641
  ae = n;
4544
4642
  }
4545
- const Le = { exec: () => null };
4643
+ const Te = { exec: () => null };
4546
4644
  function y(n, e = "") {
4547
4645
  let t = typeof n == "string" ? n : n.source;
4548
4646
  const s = {
@@ -4611,7 +4709,7 @@ const A = {
4611
4709
  fencesBeginRegex: (n) => new RegExp(`^ {0,${Math.min(3, n - 1)}}(?:\`\`\`|~~~)`),
4612
4710
  headingBeginRegex: (n) => new RegExp(`^ {0,${Math.min(3, n - 1)}}#`),
4613
4711
  htmlBeginRegex: (n) => new RegExp(`^ {0,${Math.min(3, n - 1)}}<(?:[a-z].*>|!--)`, "i")
4614
- }, Va = /^(?:[ \t]*(?:\n|$))+/, Ja = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, el = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Fe = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, tl = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, Ei = /(?:[*+-]|\d{1,9}[.)])/, Li = y(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g, Ei).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/).getRegex(), gn = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, nl = /^[^\n]+/, mn = /(?!\s*\])(?:\\.|[^\[\]\\])+/, sl = y(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", mn).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), il = y(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, Ei).getRegex(), kt = "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", bn = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, rl = y("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", bn).replace("tag", kt).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), Ti = y(gn).replace("hr", Fe).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", kt).getRegex(), ol = y(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", Ti).getRegex(), vn = {
4712
+ }, Va = /^(?:[ \t]*(?:\n|$))+/, Ja = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, el = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Fe = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, tl = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, Ri = /(?:[*+-]|\d{1,9}[.)])/, Pi = y(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g, Ri).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/).getRegex(), mn = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, nl = /^[^\n]+/, vn = /(?!\s*\])(?:\\.|[^\[\]\\])+/, sl = y(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", vn).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), il = y(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, Ri).getRegex(), kt = "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", bn = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, rl = y("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", bn).replace("tag", kt).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), Oi = y(mn).replace("hr", Fe).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", kt).getRegex(), ol = y(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", Oi).getRegex(), yn = {
4615
4713
  blockquote: ol,
4616
4714
  code: Ja,
4617
4715
  def: sl,
@@ -4619,88 +4717,87 @@ const A = {
4619
4717
  heading: tl,
4620
4718
  hr: Fe,
4621
4719
  html: rl,
4622
- lheading: Li,
4720
+ lheading: Pi,
4623
4721
  list: il,
4624
4722
  newline: Va,
4625
- paragraph: Ti,
4626
- table: Le,
4723
+ paragraph: Oi,
4724
+ table: Te,
4627
4725
  text: nl
4628
- }, ks = y("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", Fe).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", kt).getRegex(), al = {
4629
- ...vn,
4630
- table: ks,
4631
- paragraph: y(gn).replace("hr", Fe).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", ks).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", kt).getRegex()
4726
+ }, Ss = y("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", Fe).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", kt).getRegex(), al = {
4727
+ ...yn,
4728
+ table: Ss,
4729
+ paragraph: y(mn).replace("hr", Fe).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", Ss).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", kt).getRegex()
4632
4730
  }, ll = {
4633
- ...vn,
4731
+ ...yn,
4634
4732
  html: y(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", bn).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),
4635
4733
  def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
4636
4734
  heading: /^(#{1,6})(.*)(?:\n+|$)/,
4637
- fences: Le,
4735
+ fences: Te,
4638
4736
  // fences not supported
4639
4737
  lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
4640
- paragraph: y(gn).replace("hr", Fe).replace("heading", ` *#{1,6} *[^
4641
- ]`).replace("lheading", Li).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
4642
- }, cl = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, ul = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Ri = /^( {2,}|\\)\n(?!\s*$)/, hl = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, St = /[\p{P}\p{S}]/u, yn = /[\s\p{P}\p{S}]/u, Pi = /[^\s\p{P}\p{S}]/u, dl = y(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, yn).getRegex(), Oi = /(?!~)[\p{P}\p{S}]/u, pl = /(?!~)[\s\p{P}\p{S}]/u, fl = /(?:[^\s\p{P}\p{S}]|~)/u, gl = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, Ii = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, ml = y(Ii, "u").replace(/punct/g, St).getRegex(), bl = y(Ii, "u").replace(/punct/g, Oi).getRegex(), Mi = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", vl = y(Mi, "gu").replace(/notPunctSpace/g, Pi).replace(/punctSpace/g, yn).replace(/punct/g, St).getRegex(), yl = y(Mi, "gu").replace(/notPunctSpace/g, fl).replace(/punctSpace/g, pl).replace(/punct/g, Oi).getRegex(), $l = y("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, Pi).replace(/punctSpace/g, yn).replace(/punct/g, St).getRegex(), xl = y(/\\(punct)/, "gu").replace(/punct/g, St).getRegex(), wl = y(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), kl = y(bn).replace("(?:-->|$)", "-->").getRegex(), Sl = y("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", kl).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), ut = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, _l = y(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label", ut).replace("href", /<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), zi = y(/^!?\[(label)\]\[(ref)\]/).replace("label", ut).replace("ref", mn).getRegex(), Ui = y(/^!?\[(ref)\](?:\[\])?/).replace("ref", mn).getRegex(), Cl = y("reflink|nolink(?!\\()", "g").replace("reflink", zi).replace("nolink", Ui).getRegex(), $n = {
4643
- _backpedal: Le,
4738
+ paragraph: y(mn).replace("hr", Fe).replace("heading", ` *#{1,6} *[^
4739
+ ]`).replace("lheading", Pi).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
4740
+ }, Ii = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, cl = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Mi = /^( {2,}|\\)\n(?!\s*$)/, hl = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, St = /[\p{P}\p{S}]/u, $n = /[\s\p{P}\p{S}]/u, zi = /[^\s\p{P}\p{S}]/u, ul = y(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, $n).getRegex(), dl = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, pl = y(/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, "u").replace(/punct/g, St).getRegex(), fl = y("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", "gu").replace(/notPunctSpace/g, zi).replace(/punctSpace/g, $n).replace(/punct/g, St).getRegex(), gl = y("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, zi).replace(/punctSpace/g, $n).replace(/punct/g, St).getRegex(), ml = y(/\\(punct)/, "gu").replace(/punct/g, St).getRegex(), vl = y(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), bl = y(bn).replace("(?:-->|$)", "-->").getRegex(), yl = y("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", bl).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), ht = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, $l = y(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label", ht).replace("href", /<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), Ui = y(/^!?\[(label)\]\[(ref)\]/).replace("label", ht).replace("ref", vn).getRegex(), Bi = y(/^!?\[(ref)\](?:\[\])?/).replace("ref", vn).getRegex(), xl = y("reflink|nolink(?!\\()", "g").replace("reflink", Ui).replace("nolink", Bi).getRegex(), xn = {
4741
+ _backpedal: Te,
4644
4742
  // only used for GFM url
4645
- anyPunctuation: xl,
4646
- autolink: wl,
4647
- blockSkip: gl,
4648
- br: Ri,
4649
- code: ul,
4650
- del: Le,
4651
- emStrongLDelim: ml,
4652
- emStrongRDelimAst: vl,
4653
- emStrongRDelimUnd: $l,
4654
- escape: cl,
4655
- link: _l,
4656
- nolink: Ui,
4657
- punctuation: dl,
4658
- reflink: zi,
4659
- reflinkSearch: Cl,
4660
- tag: Sl,
4743
+ anyPunctuation: ml,
4744
+ autolink: vl,
4745
+ blockSkip: dl,
4746
+ br: Mi,
4747
+ code: cl,
4748
+ del: Te,
4749
+ emStrongLDelim: pl,
4750
+ emStrongRDelimAst: fl,
4751
+ emStrongRDelimUnd: gl,
4752
+ escape: Ii,
4753
+ link: $l,
4754
+ nolink: Bi,
4755
+ punctuation: ul,
4756
+ reflink: Ui,
4757
+ reflinkSearch: xl,
4758
+ tag: yl,
4661
4759
  text: hl,
4662
- url: Le
4663
- }, Al = {
4664
- ...$n,
4665
- link: y(/^!?\[(label)\]\((.*?)\)/).replace("label", ut).getRegex(),
4666
- reflink: y(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", ut).getRegex()
4667
- }, Qt = {
4668
- ...$n,
4669
- emStrongRDelimAst: yl,
4670
- emStrongLDelim: bl,
4760
+ url: Te
4761
+ }, wl = {
4762
+ ...xn,
4763
+ link: y(/^!?\[(label)\]\((.*?)\)/).replace("label", ht).getRegex(),
4764
+ reflink: y(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", ht).getRegex()
4765
+ }, Xt = {
4766
+ ...xn,
4767
+ escape: y(Ii).replace("])", "~|])").getRegex(),
4671
4768
  url: y(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/, "i").replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
4672
4769
  _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,
4673
4770
  del: /^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,
4674
4771
  text: /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/
4675
- }, El = {
4676
- ...Qt,
4677
- br: y(Ri).replace("{2,}", "*").getRegex(),
4678
- text: y(Qt.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
4679
- }, Ge = {
4680
- normal: vn,
4772
+ }, kl = {
4773
+ ...Xt,
4774
+ br: y(Mi).replace("{2,}", "*").getRegex(),
4775
+ text: y(Xt.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
4776
+ }, Ye = {
4777
+ normal: yn,
4681
4778
  gfm: al,
4682
4779
  pedantic: ll
4683
4780
  }, Se = {
4684
- normal: $n,
4685
- gfm: Qt,
4686
- breaks: El,
4687
- pedantic: Al
4688
- }, Ll = {
4781
+ normal: xn,
4782
+ gfm: Xt,
4783
+ breaks: kl,
4784
+ pedantic: wl
4785
+ }, Sl = {
4689
4786
  "&": "&amp;",
4690
4787
  "<": "&lt;",
4691
4788
  ">": "&gt;",
4692
4789
  '"': "&quot;",
4693
4790
  "'": "&#39;"
4694
- }, Ss = (n) => Ll[n];
4695
- function U(n, e) {
4791
+ }, _s = (n) => Sl[n];
4792
+ function B(n, e) {
4696
4793
  if (e) {
4697
4794
  if (A.escapeTest.test(n))
4698
- return n.replace(A.escapeReplace, Ss);
4795
+ return n.replace(A.escapeReplace, _s);
4699
4796
  } else if (A.escapeTestNoEncode.test(n))
4700
- return n.replace(A.escapeReplaceNoEncode, Ss);
4797
+ return n.replace(A.escapeReplaceNoEncode, _s);
4701
4798
  return n;
4702
4799
  }
4703
- function _s(n) {
4800
+ function Cs(n) {
4704
4801
  try {
4705
4802
  n = encodeURI(n).replace(A.percentDecode, "%");
4706
4803
  } catch {
@@ -4708,11 +4805,11 @@ function _s(n) {
4708
4805
  }
4709
4806
  return n;
4710
4807
  }
4711
- function Cs(n, e) {
4808
+ function As(n, e) {
4712
4809
  var r;
4713
4810
  const t = n.replace(A.findPipe, (o, a, l) => {
4714
- let c = !1, u = a;
4715
- for (; --u >= 0 && l[u] === "\\"; )
4811
+ let c = !1, h = a;
4812
+ for (; --h >= 0 && l[h] === "\\"; )
4716
4813
  c = !c;
4717
4814
  return c ? "|" : " |";
4718
4815
  }), s = t.split(A.splitPipe);
@@ -4732,11 +4829,18 @@ function _e(n, e, t) {
4732
4829
  if (s === 0)
4733
4830
  return "";
4734
4831
  let i = 0;
4735
- for (; i < s && n.charAt(s - i - 1) === e; )
4736
- i++;
4832
+ for (; i < s; ) {
4833
+ const r = n.charAt(s - i - 1);
4834
+ if (r === e && !t)
4835
+ i++;
4836
+ else if (r !== e && t)
4837
+ i++;
4838
+ else
4839
+ break;
4840
+ }
4737
4841
  return n.slice(0, s - i);
4738
4842
  }
4739
- function Tl(n, e) {
4843
+ function _l(n, e) {
4740
4844
  if (n.indexOf(e[1]) === -1)
4741
4845
  return -1;
4742
4846
  let t = 0;
@@ -4749,7 +4853,7 @@ function Tl(n, e) {
4749
4853
  return s;
4750
4854
  return -1;
4751
4855
  }
4752
- function As(n, e, t, s, i) {
4856
+ function Es(n, e, t, s, i) {
4753
4857
  const r = e.href, o = e.title || null, a = n[1].replace(i.other.outputLinkReplace, "$1");
4754
4858
  if (n[0].charAt(0) !== "!") {
4755
4859
  s.state.inLink = !0;
@@ -4771,7 +4875,7 @@ function As(n, e, t, s, i) {
4771
4875
  text: a
4772
4876
  };
4773
4877
  }
4774
- function Rl(n, e, t) {
4878
+ function Cl(n, e, t) {
4775
4879
  const s = n.match(t.other.indentCodeCompensation);
4776
4880
  if (s === null)
4777
4881
  return e;
@@ -4786,7 +4890,7 @@ function Rl(n, e, t) {
4786
4890
  }).join(`
4787
4891
  `);
4788
4892
  }
4789
- class ht {
4893
+ class ut {
4790
4894
  // set by the lexer
4791
4895
  constructor(e) {
4792
4896
  $(this, "options");
@@ -4819,7 +4923,7 @@ class ht {
4819
4923
  fences(e) {
4820
4924
  const t = this.rules.block.fences.exec(e);
4821
4925
  if (t) {
4822
- const s = t[0], i = Rl(s, t[3] || "", this.rules);
4926
+ const s = t[0], i = Cl(s, t[3] || "", this.rules);
4823
4927
  return {
4824
4928
  type: "code",
4825
4929
  raw: s,
@@ -4873,14 +4977,14 @@ class ht {
4873
4977
  else
4874
4978
  break;
4875
4979
  s = s.slice(c);
4876
- const u = l.join(`
4877
- `), h = u.replace(this.rules.other.blockquoteSetextReplace, `
4980
+ const h = l.join(`
4981
+ `), u = h.replace(this.rules.other.blockquoteSetextReplace, `
4878
4982
  $1`).replace(this.rules.other.blockquoteSetextReplace2, "");
4879
4983
  i = i ? `${i}
4880
- ${u}` : u, r = r ? `${r}
4881
- ${h}` : h;
4984
+ ${h}` : h, r = r ? `${r}
4985
+ ${u}` : u;
4882
4986
  const d = this.lexer.state.top;
4883
- if (this.lexer.state.top = !0, this.lexer.blockTokens(h, o, !0), this.lexer.state.top = d, s.length === 0)
4987
+ if (this.lexer.state.top = !0, this.lexer.blockTokens(u, o, !0), this.lexer.state.top = d, s.length === 0)
4884
4988
  break;
4885
4989
  const p = o.at(-1);
4886
4990
  if ((p == null ? void 0 : p.type) === "code")
@@ -4924,46 +5028,46 @@ ${h}` : h;
4924
5028
  const o = this.rules.other.listItemRegex(s);
4925
5029
  let a = !1;
4926
5030
  for (; e; ) {
4927
- let c = !1, u = "", h = "";
5031
+ let c = !1, h = "", u = "";
4928
5032
  if (!(t = o.exec(e)) || this.rules.block.hr.test(e))
4929
5033
  break;
4930
- u = t[0], e = e.substring(u.length);
5034
+ h = t[0], e = e.substring(h.length);
4931
5035
  let d = t[2].split(`
4932
5036
  `, 1)[0].replace(this.rules.other.listReplaceTabs, (J) => " ".repeat(3 * J.length)), p = e.split(`
4933
5037
  `, 1)[0], g = !d.trim(), f = 0;
4934
- if (this.options.pedantic ? (f = 2, h = d.trimStart()) : g ? f = t[1].length + 1 : (f = t[2].search(this.rules.other.nonSpaceChar), f = f > 4 ? 1 : f, h = d.slice(f), f += t[1].length), g && this.rules.other.blankLine.test(p) && (u += p + `
5038
+ if (this.options.pedantic ? (f = 2, u = d.trimStart()) : g ? f = t[1].length + 1 : (f = t[2].search(this.rules.other.nonSpaceChar), f = f > 4 ? 1 : f, u = d.slice(f), f += t[1].length), g && this.rules.other.blankLine.test(p) && (h += p + `
4935
5039
  `, e = e.substring(p.length + 1), c = !0), !c) {
4936
- const J = this.rules.other.nextBulletRegex(f), Mn = this.rules.other.hrRegex(f), zn = this.rules.other.fencesBeginRegex(f), Un = this.rules.other.headingBeginRegex(f), Hi = this.rules.other.htmlBeginRegex(f);
5040
+ const J = this.rules.other.nextBulletRegex(f), zn = this.rules.other.hrRegex(f), Un = this.rules.other.fencesBeginRegex(f), Bn = this.rules.other.headingBeginRegex(f), Ni = this.rules.other.htmlBeginRegex(f);
4937
5041
  for (; e; ) {
4938
5042
  const _t = e.split(`
4939
5043
  `, 1)[0];
4940
5044
  let we;
4941
- if (p = _t, this.options.pedantic ? (p = p.replace(this.rules.other.listReplaceNesting, " "), we = p) : we = p.replace(this.rules.other.tabCharGlobal, " "), zn.test(p) || Un.test(p) || Hi.test(p) || J.test(p) || Mn.test(p))
5045
+ if (p = _t, this.options.pedantic ? (p = p.replace(this.rules.other.listReplaceNesting, " "), we = p) : we = p.replace(this.rules.other.tabCharGlobal, " "), Un.test(p) || Bn.test(p) || Ni.test(p) || J.test(p) || zn.test(p))
4942
5046
  break;
4943
5047
  if (we.search(this.rules.other.nonSpaceChar) >= f || !p.trim())
4944
- h += `
5048
+ u += `
4945
5049
  ` + we.slice(f);
4946
5050
  else {
4947
- if (g || d.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || zn.test(d) || Un.test(d) || Mn.test(d))
5051
+ if (g || d.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || Un.test(d) || Bn.test(d) || zn.test(d))
4948
5052
  break;
4949
- h += `
5053
+ u += `
4950
5054
  ` + p;
4951
5055
  }
4952
- !g && !p.trim() && (g = !0), u += _t + `
5056
+ !g && !p.trim() && (g = !0), h += _t + `
4953
5057
  `, e = e.substring(_t.length + 1), d = we.slice(f);
4954
5058
  }
4955
5059
  }
4956
- r.loose || (a ? r.loose = !0 : this.rules.other.doubleBlankLine.test(u) && (a = !0));
5060
+ r.loose || (a ? r.loose = !0 : this.rules.other.doubleBlankLine.test(h) && (a = !0));
4957
5061
  let k = null, W;
4958
- this.options.gfm && (k = this.rules.other.listIsTask.exec(h), k && (W = k[0] !== "[ ] ", h = h.replace(this.rules.other.listReplaceTask, ""))), r.items.push({
5062
+ this.options.gfm && (k = this.rules.other.listIsTask.exec(u), k && (W = k[0] !== "[ ] ", u = u.replace(this.rules.other.listReplaceTask, ""))), r.items.push({
4959
5063
  type: "list_item",
4960
- raw: u,
5064
+ raw: h,
4961
5065
  task: !!k,
4962
5066
  checked: W,
4963
5067
  loose: !1,
4964
- text: h,
5068
+ text: u,
4965
5069
  tokens: []
4966
- }), r.raw += u;
5070
+ }), r.raw += h;
4967
5071
  }
4968
5072
  const l = r.items.at(-1);
4969
5073
  if (l)
@@ -4973,8 +5077,8 @@ ${h}` : h;
4973
5077
  r.raw = r.raw.trimEnd();
4974
5078
  for (let c = 0; c < r.items.length; c++)
4975
5079
  if (this.lexer.state.top = !1, r.items[c].tokens = this.lexer.blockTokens(r.items[c].text, []), !r.loose) {
4976
- const u = r.items[c].tokens.filter((d) => d.type === "space"), h = u.length > 0 && u.some((d) => this.rules.other.anyLine.test(d.raw));
4977
- r.loose = h;
5080
+ const h = r.items[c].tokens.filter((d) => d.type === "space"), u = h.length > 0 && h.some((d) => this.rules.other.anyLine.test(d.raw));
5081
+ r.loose = u;
4978
5082
  }
4979
5083
  if (r.loose)
4980
5084
  for (let c = 0; c < r.items.length; c++)
@@ -5011,7 +5115,7 @@ ${h}` : h;
5011
5115
  const t = this.rules.block.table.exec(e);
5012
5116
  if (!t || !this.rules.other.tableDelimiter.test(t[2]))
5013
5117
  return;
5014
- const s = Cs(t[1]), i = t[2].replace(this.rules.other.tableAlignChars, "").split("|"), r = (a = t[3]) != null && a.trim() ? t[3].replace(this.rules.other.tableRowBlankLine, "").split(`
5118
+ const s = As(t[1]), i = t[2].replace(this.rules.other.tableAlignChars, "").split("|"), r = (a = t[3]) != null && a.trim() ? t[3].replace(this.rules.other.tableRowBlankLine, "").split(`
5015
5119
  `) : [], o = {
5016
5120
  type: "table",
5017
5121
  raw: t[0],
@@ -5030,11 +5134,11 @@ ${h}` : h;
5030
5134
  align: o.align[l]
5031
5135
  });
5032
5136
  for (const l of r)
5033
- o.rows.push(Cs(l, o.header.length).map((c, u) => ({
5137
+ o.rows.push(As(l, o.header.length).map((c, h) => ({
5034
5138
  text: c,
5035
5139
  tokens: this.lexer.inline(c),
5036
5140
  header: !1,
5037
- align: o.align[u]
5141
+ align: o.align[h]
5038
5142
  })));
5039
5143
  return o;
5040
5144
  }
@@ -5105,7 +5209,7 @@ ${h}` : h;
5105
5209
  if ((s.length - o.length) % 2 === 0)
5106
5210
  return;
5107
5211
  } else {
5108
- const o = Tl(t[2], "()");
5212
+ const o = _l(t[2], "()");
5109
5213
  if (o > -1) {
5110
5214
  const l = (t[0].indexOf("!") === 0 ? 5 : 4) + t[1].length + o;
5111
5215
  t[2] = t[2].substring(0, o), t[0] = t[0].substring(0, l).trim(), t[3] = "";
@@ -5117,7 +5221,7 @@ ${h}` : h;
5117
5221
  o && (i = o[1], r = o[3]);
5118
5222
  } else
5119
5223
  r = t[3] ? t[3].slice(1, -1) : "";
5120
- return i = i.trim(), this.rules.other.startAngleBracket.test(i) && (this.options.pedantic && !this.rules.other.endAngleBracket.test(s) ? i = i.slice(1) : i = i.slice(1, -1)), As(t, {
5224
+ return i = i.trim(), this.rules.other.startAngleBracket.test(i) && (this.options.pedantic && !this.rules.other.endAngleBracket.test(s) ? i = i.slice(1) : i = i.slice(1, -1)), Es(t, {
5121
5225
  href: i && i.replace(this.rules.inline.anyPunctuation, "$1"),
5122
5226
  title: r && r.replace(this.rules.inline.anyPunctuation, "$1")
5123
5227
  }, t[0], this.lexer, this.rules);
@@ -5135,7 +5239,7 @@ ${h}` : h;
5135
5239
  text: o
5136
5240
  };
5137
5241
  }
5138
- return As(s, r, s[0], this.lexer, this.rules);
5242
+ return Es(s, r, s[0], this.lexer, this.rules);
5139
5243
  }
5140
5244
  }
5141
5245
  emStrong(e, t, s = "") {
@@ -5144,21 +5248,21 @@ ${h}` : h;
5144
5248
  return;
5145
5249
  if (!(i[1] || i[2] || "") || !s || this.rules.inline.punctuation.exec(s)) {
5146
5250
  const o = [...i[0]].length - 1;
5147
- let a, l, c = o, u = 0;
5148
- const h = i[0][0] === "*" ? this.rules.inline.emStrongRDelimAst : this.rules.inline.emStrongRDelimUnd;
5149
- for (h.lastIndex = 0, t = t.slice(-1 * e.length + o); (i = h.exec(t)) != null; ) {
5251
+ let a, l, c = o, h = 0;
5252
+ const u = i[0][0] === "*" ? this.rules.inline.emStrongRDelimAst : this.rules.inline.emStrongRDelimUnd;
5253
+ for (u.lastIndex = 0, t = t.slice(-1 * e.length + o); (i = u.exec(t)) != null; ) {
5150
5254
  if (a = i[1] || i[2] || i[3] || i[4] || i[5] || i[6], !a)
5151
5255
  continue;
5152
5256
  if (l = [...a].length, i[3] || i[4]) {
5153
5257
  c += l;
5154
5258
  continue;
5155
5259
  } else if ((i[5] || i[6]) && o % 3 && !((o + l) % 3)) {
5156
- u += l;
5260
+ h += l;
5157
5261
  continue;
5158
5262
  }
5159
5263
  if (c -= l, c > 0)
5160
5264
  continue;
5161
- l = Math.min(l, l + c + u);
5265
+ l = Math.min(l, l + c + h);
5162
5266
  const d = [...i[0]][0].length, p = e.slice(0, o + i.index + d + l);
5163
5267
  if (Math.min(o, l) % 2) {
5164
5268
  const f = p.slice(1, -1);
@@ -5277,24 +5381,24 @@ class O {
5277
5381
  $(this, "state");
5278
5382
  $(this, "tokenizer");
5279
5383
  $(this, "inlineQueue");
5280
- this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = e || ae, this.options.tokenizer = this.options.tokenizer || new ht(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
5384
+ this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = e || ae, this.options.tokenizer = this.options.tokenizer || new ut(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
5281
5385
  inLink: !1,
5282
5386
  inRawBlock: !1,
5283
5387
  top: !0
5284
5388
  };
5285
5389
  const t = {
5286
5390
  other: A,
5287
- block: Ge.normal,
5391
+ block: Ye.normal,
5288
5392
  inline: Se.normal
5289
5393
  };
5290
- this.options.pedantic ? (t.block = Ge.pedantic, t.inline = Se.pedantic) : this.options.gfm && (t.block = Ge.gfm, this.options.breaks ? t.inline = Se.breaks : t.inline = Se.gfm), this.tokenizer.rules = t;
5394
+ this.options.pedantic ? (t.block = Ye.pedantic, t.inline = Se.pedantic) : this.options.gfm && (t.block = Ye.gfm, this.options.breaks ? t.inline = Se.breaks : t.inline = Se.gfm), this.tokenizer.rules = t;
5291
5395
  }
5292
5396
  /**
5293
5397
  * Expose Rules
5294
5398
  */
5295
5399
  static get rules() {
5296
5400
  return {
5297
- block: Ge,
5401
+ block: Ye,
5298
5402
  inline: Se
5299
5403
  };
5300
5404
  }
@@ -5389,10 +5493,10 @@ class O {
5389
5493
  let l = e;
5390
5494
  if ((o = this.options.extensions) != null && o.startBlock) {
5391
5495
  let c = 1 / 0;
5392
- const u = e.slice(1);
5393
- let h;
5496
+ const h = e.slice(1);
5497
+ let u;
5394
5498
  this.options.extensions.startBlock.forEach((d) => {
5395
- h = d.call({ lexer: this }, u), typeof h == "number" && h >= 0 && (c = Math.min(c, h));
5499
+ u = d.call({ lexer: this }, h), typeof u == "number" && u >= 0 && (c = Math.min(c, u));
5396
5500
  }), c < 1 / 0 && c >= 0 && (l = e.substring(0, c + 1));
5397
5501
  }
5398
5502
  if (this.state.top && (a = this.tokenizer.paragraph(l))) {
@@ -5431,10 +5535,10 @@ class O {
5431
5535
  var a, l, c;
5432
5536
  let s = e, i = null;
5433
5537
  if (this.tokens.links) {
5434
- const u = Object.keys(this.tokens.links);
5435
- if (u.length > 0)
5538
+ const h = Object.keys(this.tokens.links);
5539
+ if (h.length > 0)
5436
5540
  for (; (i = this.tokenizer.rules.inline.reflinkSearch.exec(s)) != null; )
5437
- u.includes(i[0].slice(i[0].lastIndexOf("[") + 1, -1)) && (s = s.slice(0, i.index) + "[" + "a".repeat(i[0].length - 2) + "]" + s.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex));
5541
+ h.includes(i[0].slice(i[0].lastIndexOf("[") + 1, -1)) && (s = s.slice(0, i.index) + "[" + "a".repeat(i[0].length - 2) + "]" + s.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex));
5438
5542
  }
5439
5543
  for (; (i = this.tokenizer.rules.inline.blockSkip.exec(s)) != null; )
5440
5544
  s = s.slice(0, i.index) + "[" + "a".repeat(i[0].length - 2) + "]" + s.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);
@@ -5443,64 +5547,64 @@ class O {
5443
5547
  let r = !1, o = "";
5444
5548
  for (; e; ) {
5445
5549
  r || (o = ""), r = !1;
5446
- let u;
5447
- if ((l = (a = this.options.extensions) == null ? void 0 : a.inline) != null && l.some((d) => (u = d.call({ lexer: this }, e, t)) ? (e = e.substring(u.raw.length), t.push(u), !0) : !1))
5550
+ let h;
5551
+ if ((l = (a = this.options.extensions) == null ? void 0 : a.inline) != null && l.some((d) => (h = d.call({ lexer: this }, e, t)) ? (e = e.substring(h.raw.length), t.push(h), !0) : !1))
5448
5552
  continue;
5449
- if (u = this.tokenizer.escape(e)) {
5450
- e = e.substring(u.raw.length), t.push(u);
5553
+ if (h = this.tokenizer.escape(e)) {
5554
+ e = e.substring(h.raw.length), t.push(h);
5451
5555
  continue;
5452
5556
  }
5453
- if (u = this.tokenizer.tag(e)) {
5454
- e = e.substring(u.raw.length), t.push(u);
5557
+ if (h = this.tokenizer.tag(e)) {
5558
+ e = e.substring(h.raw.length), t.push(h);
5455
5559
  continue;
5456
5560
  }
5457
- if (u = this.tokenizer.link(e)) {
5458
- e = e.substring(u.raw.length), t.push(u);
5561
+ if (h = this.tokenizer.link(e)) {
5562
+ e = e.substring(h.raw.length), t.push(h);
5459
5563
  continue;
5460
5564
  }
5461
- if (u = this.tokenizer.reflink(e, this.tokens.links)) {
5462
- e = e.substring(u.raw.length);
5565
+ if (h = this.tokenizer.reflink(e, this.tokens.links)) {
5566
+ e = e.substring(h.raw.length);
5463
5567
  const d = t.at(-1);
5464
- u.type === "text" && (d == null ? void 0 : d.type) === "text" ? (d.raw += u.raw, d.text += u.text) : t.push(u);
5568
+ h.type === "text" && (d == null ? void 0 : d.type) === "text" ? (d.raw += h.raw, d.text += h.text) : t.push(h);
5465
5569
  continue;
5466
5570
  }
5467
- if (u = this.tokenizer.emStrong(e, s, o)) {
5468
- e = e.substring(u.raw.length), t.push(u);
5571
+ if (h = this.tokenizer.emStrong(e, s, o)) {
5572
+ e = e.substring(h.raw.length), t.push(h);
5469
5573
  continue;
5470
5574
  }
5471
- if (u = this.tokenizer.codespan(e)) {
5472
- e = e.substring(u.raw.length), t.push(u);
5575
+ if (h = this.tokenizer.codespan(e)) {
5576
+ e = e.substring(h.raw.length), t.push(h);
5473
5577
  continue;
5474
5578
  }
5475
- if (u = this.tokenizer.br(e)) {
5476
- e = e.substring(u.raw.length), t.push(u);
5579
+ if (h = this.tokenizer.br(e)) {
5580
+ e = e.substring(h.raw.length), t.push(h);
5477
5581
  continue;
5478
5582
  }
5479
- if (u = this.tokenizer.del(e)) {
5480
- e = e.substring(u.raw.length), t.push(u);
5583
+ if (h = this.tokenizer.del(e)) {
5584
+ e = e.substring(h.raw.length), t.push(h);
5481
5585
  continue;
5482
5586
  }
5483
- if (u = this.tokenizer.autolink(e)) {
5484
- e = e.substring(u.raw.length), t.push(u);
5587
+ if (h = this.tokenizer.autolink(e)) {
5588
+ e = e.substring(h.raw.length), t.push(h);
5485
5589
  continue;
5486
5590
  }
5487
- if (!this.state.inLink && (u = this.tokenizer.url(e))) {
5488
- e = e.substring(u.raw.length), t.push(u);
5591
+ if (!this.state.inLink && (h = this.tokenizer.url(e))) {
5592
+ e = e.substring(h.raw.length), t.push(h);
5489
5593
  continue;
5490
5594
  }
5491
- let h = e;
5595
+ let u = e;
5492
5596
  if ((c = this.options.extensions) != null && c.startInline) {
5493
5597
  let d = 1 / 0;
5494
5598
  const p = e.slice(1);
5495
5599
  let g;
5496
5600
  this.options.extensions.startInline.forEach((f) => {
5497
5601
  g = f.call({ lexer: this }, p), typeof g == "number" && g >= 0 && (d = Math.min(d, g));
5498
- }), d < 1 / 0 && d >= 0 && (h = e.substring(0, d + 1));
5602
+ }), d < 1 / 0 && d >= 0 && (u = e.substring(0, d + 1));
5499
5603
  }
5500
- if (u = this.tokenizer.inlineText(h)) {
5501
- e = e.substring(u.raw.length), u.raw.slice(-1) !== "_" && (o = u.raw.slice(-1)), r = !0;
5604
+ if (h = this.tokenizer.inlineText(u)) {
5605
+ e = e.substring(h.raw.length), h.raw.slice(-1) !== "_" && (o = h.raw.slice(-1)), r = !0;
5502
5606
  const d = t.at(-1);
5503
- (d == null ? void 0 : d.type) === "text" ? (d.raw += u.raw, d.text += u.text) : t.push(u);
5607
+ (d == null ? void 0 : d.type) === "text" ? (d.raw += h.raw, d.text += h.text) : t.push(h);
5504
5608
  continue;
5505
5609
  }
5506
5610
  if (e) {
@@ -5529,8 +5633,8 @@ class Ue {
5529
5633
  var o;
5530
5634
  const i = (o = (t || "").match(A.notSpaceStart)) == null ? void 0 : o[0], r = e.replace(A.endingNewline, "") + `
5531
5635
  `;
5532
- return i ? '<pre><code class="language-' + U(i) + '">' + (s ? r : U(r, !0)) + `</code></pre>
5533
- ` : "<pre><code>" + (s ? r : U(r, !0)) + `</code></pre>
5636
+ return i ? '<pre><code class="language-' + B(i) + '">' + (s ? r : B(r, !0)) + `</code></pre>
5637
+ ` : "<pre><code>" + (s ? r : B(r, !0)) + `</code></pre>
5534
5638
  `;
5535
5639
  }
5536
5640
  blockquote({ tokens: e }) {
@@ -5566,7 +5670,7 @@ ${this.parser.parse(e)}</blockquote>
5566
5670
  let t = "";
5567
5671
  if (e.task) {
5568
5672
  const i = this.checkbox({ checked: !!e.checked });
5569
- e.loose ? ((s = e.tokens[0]) == null ? void 0 : s.type) === "paragraph" ? (e.tokens[0].text = i + " " + e.tokens[0].text, e.tokens[0].tokens && e.tokens[0].tokens.length > 0 && e.tokens[0].tokens[0].type === "text" && (e.tokens[0].tokens[0].text = i + " " + U(e.tokens[0].tokens[0].text), e.tokens[0].tokens[0].escaped = !0)) : e.tokens.unshift({
5673
+ e.loose ? ((s = e.tokens[0]) == null ? void 0 : s.type) === "paragraph" ? (e.tokens[0].text = i + " " + e.tokens[0].text, e.tokens[0].tokens && e.tokens[0].tokens.length > 0 && e.tokens[0].tokens[0].type === "text" && (e.tokens[0].tokens[0].text = i + " " + B(e.tokens[0].tokens[0].text), e.tokens[0].tokens[0].escaped = !0)) : e.tokens.unshift({
5570
5674
  type: "text",
5571
5675
  raw: i + " ",
5572
5676
  text: i + " ",
@@ -5622,7 +5726,7 @@ ${e}</tr>
5622
5726
  return `<em>${this.parser.parseInline(e)}</em>`;
5623
5727
  }
5624
5728
  codespan({ text: e }) {
5625
- return `<code>${U(e, !0)}</code>`;
5729
+ return `<code>${B(e, !0)}</code>`;
5626
5730
  }
5627
5731
  br(e) {
5628
5732
  return "<br>";
@@ -5631,26 +5735,26 @@ ${e}</tr>
5631
5735
  return `<del>${this.parser.parseInline(e)}</del>`;
5632
5736
  }
5633
5737
  link({ href: e, title: t, tokens: s }) {
5634
- const i = this.parser.parseInline(s), r = _s(e);
5738
+ const i = this.parser.parseInline(s), r = Cs(e);
5635
5739
  if (r === null)
5636
5740
  return i;
5637
5741
  e = r;
5638
5742
  let o = '<a href="' + e + '"';
5639
- return t && (o += ' title="' + U(t) + '"'), o += ">" + i + "</a>", o;
5743
+ return t && (o += ' title="' + B(t) + '"'), o += ">" + i + "</a>", o;
5640
5744
  }
5641
5745
  image({ href: e, title: t, text: s }) {
5642
- const i = _s(e);
5746
+ const i = Cs(e);
5643
5747
  if (i === null)
5644
- return U(s);
5748
+ return B(s);
5645
5749
  e = i;
5646
5750
  let r = `<img src="${e}" alt="${s}"`;
5647
- return t && (r += ` title="${U(t)}"`), r += ">", r;
5751
+ return t && (r += ` title="${B(t)}"`), r += ">", r;
5648
5752
  }
5649
5753
  text(e) {
5650
- return "tokens" in e && e.tokens ? this.parser.parseInline(e.tokens) : "escaped" in e && e.escaped ? e.text : U(e.text);
5754
+ return "tokens" in e && e.tokens ? this.parser.parseInline(e.tokens) : "escaped" in e && e.escaped ? e.text : B(e.text);
5651
5755
  }
5652
5756
  }
5653
- class xn {
5757
+ class wn {
5654
5758
  // no need for block level renderers
5655
5759
  strong({ text: e }) {
5656
5760
  return e;
@@ -5685,7 +5789,7 @@ class I {
5685
5789
  $(this, "options");
5686
5790
  $(this, "renderer");
5687
5791
  $(this, "textRenderer");
5688
- this.options = e || ae, this.options.renderer = this.options.renderer || new Ue(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new xn();
5792
+ this.options = e || ae, this.options.renderer = this.options.renderer || new Ue(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new wn();
5689
5793
  }
5690
5794
  /**
5691
5795
  * Static Parse Method
@@ -5708,9 +5812,9 @@ class I {
5708
5812
  for (let o = 0; o < e.length; o++) {
5709
5813
  const a = e[o];
5710
5814
  if ((r = (i = this.options.extensions) == null ? void 0 : i.renderers) != null && r[a.type]) {
5711
- const c = a, u = this.options.extensions.renderers[c.type].call({ parser: this }, c);
5712
- if (u !== !1 || !["space", "hr", "heading", "code", "table", "blockquote", "list", "html", "paragraph", "text"].includes(c.type)) {
5713
- s += u || "";
5815
+ const c = a, h = this.options.extensions.renderers[c.type].call({ parser: this }, c);
5816
+ if (h !== !1 || !["space", "hr", "heading", "code", "table", "blockquote", "list", "html", "paragraph", "text"].includes(c.type)) {
5817
+ s += h || "";
5714
5818
  continue;
5715
5819
  }
5716
5820
  }
@@ -5753,16 +5857,16 @@ class I {
5753
5857
  continue;
5754
5858
  }
5755
5859
  case "text": {
5756
- let c = l, u = this.renderer.text(c);
5860
+ let c = l, h = this.renderer.text(c);
5757
5861
  for (; o + 1 < e.length && e[o + 1].type === "text"; )
5758
- c = e[++o], u += `
5862
+ c = e[++o], h += `
5759
5863
  ` + this.renderer.text(c);
5760
5864
  t ? s += this.renderer.paragraph({
5761
5865
  type: "paragraph",
5762
- raw: u,
5763
- text: u,
5764
- tokens: [{ type: "text", raw: u, text: u, escaped: !0 }]
5765
- }) : s += u;
5866
+ raw: h,
5867
+ text: h,
5868
+ tokens: [{ type: "text", raw: h, text: h, escaped: !0 }]
5869
+ }) : s += h;
5766
5870
  continue;
5767
5871
  }
5768
5872
  default: {
@@ -5843,7 +5947,7 @@ class I {
5843
5947
  return s;
5844
5948
  }
5845
5949
  }
5846
- class Te {
5950
+ class Le {
5847
5951
  constructor(e) {
5848
5952
  $(this, "options");
5849
5953
  $(this, "block");
@@ -5880,23 +5984,23 @@ class Te {
5880
5984
  return this.block ? I.parse : I.parseInline;
5881
5985
  }
5882
5986
  }
5883
- $(Te, "passThroughHooks", /* @__PURE__ */ new Set([
5987
+ $(Le, "passThroughHooks", /* @__PURE__ */ new Set([
5884
5988
  "preprocess",
5885
5989
  "postprocess",
5886
5990
  "processAllTokens"
5887
5991
  ]));
5888
- class Pl {
5992
+ class Al {
5889
5993
  constructor(...e) {
5890
- $(this, "defaults", fn());
5994
+ $(this, "defaults", gn());
5891
5995
  $(this, "options", this.setOptions);
5892
5996
  $(this, "parse", this.parseMarkdown(!0));
5893
5997
  $(this, "parseInline", this.parseMarkdown(!1));
5894
5998
  $(this, "Parser", I);
5895
5999
  $(this, "Renderer", Ue);
5896
- $(this, "TextRenderer", xn);
6000
+ $(this, "TextRenderer", wn);
5897
6001
  $(this, "Lexer", O);
5898
- $(this, "Tokenizer", ht);
5899
- $(this, "Hooks", Te);
6002
+ $(this, "Tokenizer", ut);
6003
+ $(this, "Hooks", Le);
5900
6004
  this.use(...e);
5901
6005
  }
5902
6006
  /**
@@ -5960,44 +6064,44 @@ class Pl {
5960
6064
  if (["options", "parser"].includes(o))
5961
6065
  continue;
5962
6066
  const a = o, l = s.renderer[a], c = r[a];
5963
- r[a] = (...u) => {
5964
- let h = l.apply(r, u);
5965
- return h === !1 && (h = c.apply(r, u)), h || "";
6067
+ r[a] = (...h) => {
6068
+ let u = l.apply(r, h);
6069
+ return u === !1 && (u = c.apply(r, h)), u || "";
5966
6070
  };
5967
6071
  }
5968
6072
  i.renderer = r;
5969
6073
  }
5970
6074
  if (s.tokenizer) {
5971
- const r = this.defaults.tokenizer || new ht(this.defaults);
6075
+ const r = this.defaults.tokenizer || new ut(this.defaults);
5972
6076
  for (const o in s.tokenizer) {
5973
6077
  if (!(o in r))
5974
6078
  throw new Error(`tokenizer '${o}' does not exist`);
5975
6079
  if (["options", "rules", "lexer"].includes(o))
5976
6080
  continue;
5977
6081
  const a = o, l = s.tokenizer[a], c = r[a];
5978
- r[a] = (...u) => {
5979
- let h = l.apply(r, u);
5980
- return h === !1 && (h = c.apply(r, u)), h;
6082
+ r[a] = (...h) => {
6083
+ let u = l.apply(r, h);
6084
+ return u === !1 && (u = c.apply(r, h)), u;
5981
6085
  };
5982
6086
  }
5983
6087
  i.tokenizer = r;
5984
6088
  }
5985
6089
  if (s.hooks) {
5986
- const r = this.defaults.hooks || new Te();
6090
+ const r = this.defaults.hooks || new Le();
5987
6091
  for (const o in s.hooks) {
5988
6092
  if (!(o in r))
5989
6093
  throw new Error(`hook '${o}' does not exist`);
5990
6094
  if (["options", "block"].includes(o))
5991
6095
  continue;
5992
6096
  const a = o, l = s.hooks[a], c = r[a];
5993
- Te.passThroughHooks.has(o) ? r[a] = (u) => {
6097
+ Le.passThroughHooks.has(o) ? r[a] = (h) => {
5994
6098
  if (this.defaults.async)
5995
- return Promise.resolve(l.call(r, u)).then((d) => c.call(r, d));
5996
- const h = l.call(r, u);
5997
- return c.call(r, h);
5998
- } : r[a] = (...u) => {
5999
- let h = l.apply(r, u);
6000
- return h === !1 && (h = c.apply(r, u)), h;
6099
+ return Promise.resolve(l.call(r, h)).then((d) => c.call(r, d));
6100
+ const u = l.call(r, h);
6101
+ return c.call(r, u);
6102
+ } : r[a] = (...h) => {
6103
+ let u = l.apply(r, h);
6104
+ return u === !1 && (u = c.apply(r, h)), u;
6001
6105
  };
6002
6106
  }
6003
6107
  i.hooks = r;
@@ -6033,15 +6137,15 @@ class Pl {
6033
6137
  o.hooks && (o.hooks.options = o, o.hooks.block = e);
6034
6138
  const l = o.hooks ? o.hooks.provideLexer() : e ? O.lex : O.lexInline, c = o.hooks ? o.hooks.provideParser() : e ? I.parse : I.parseInline;
6035
6139
  if (o.async)
6036
- return Promise.resolve(o.hooks ? o.hooks.preprocess(s) : s).then((u) => l(u, o)).then((u) => o.hooks ? o.hooks.processAllTokens(u) : u).then((u) => o.walkTokens ? Promise.all(this.walkTokens(u, o.walkTokens)).then(() => u) : u).then((u) => c(u, o)).then((u) => o.hooks ? o.hooks.postprocess(u) : u).catch(a);
6140
+ return Promise.resolve(o.hooks ? o.hooks.preprocess(s) : s).then((h) => l(h, o)).then((h) => o.hooks ? o.hooks.processAllTokens(h) : h).then((h) => o.walkTokens ? Promise.all(this.walkTokens(h, o.walkTokens)).then(() => h) : h).then((h) => c(h, o)).then((h) => o.hooks ? o.hooks.postprocess(h) : h).catch(a);
6037
6141
  try {
6038
6142
  o.hooks && (s = o.hooks.preprocess(s));
6039
- let u = l(s, o);
6040
- o.hooks && (u = o.hooks.processAllTokens(u)), o.walkTokens && this.walkTokens(u, o.walkTokens);
6041
- let h = c(u, o);
6042
- return o.hooks && (h = o.hooks.postprocess(h)), h;
6043
- } catch (u) {
6044
- return a(u);
6143
+ let h = l(s, o);
6144
+ o.hooks && (h = o.hooks.processAllTokens(h)), o.walkTokens && this.walkTokens(h, o.walkTokens);
6145
+ let u = c(h, o);
6146
+ return o.hooks && (u = o.hooks.postprocess(u)), u;
6147
+ } catch (h) {
6148
+ return a(h);
6045
6149
  }
6046
6150
  };
6047
6151
  }
@@ -6049,7 +6153,7 @@ class Pl {
6049
6153
  return (s) => {
6050
6154
  if (s.message += `
6051
6155
  Please report this to https://github.com/markedjs/marked.`, e) {
6052
- const i = "<p>An error occurred:</p><pre>" + U(s.message + "", !0) + "</pre>";
6156
+ const i = "<p>An error occurred:</p><pre>" + B(s.message + "", !0) + "</pre>";
6053
6157
  return t ? Promise.resolve(i) : i;
6054
6158
  }
6055
6159
  if (t)
@@ -6058,51 +6162,51 @@ Please report this to https://github.com/markedjs/marked.`, e) {
6058
6162
  };
6059
6163
  }
6060
6164
  }
6061
- const oe = new Pl();
6062
- function v(n, e) {
6165
+ const oe = new Al();
6166
+ function b(n, e) {
6063
6167
  return oe.parse(n, e);
6064
6168
  }
6065
- v.options = v.setOptions = function(n) {
6066
- return oe.setOptions(n), v.defaults = oe.defaults, Ai(v.defaults), v;
6169
+ b.options = b.setOptions = function(n) {
6170
+ return oe.setOptions(n), b.defaults = oe.defaults, Li(b.defaults), b;
6067
6171
  };
6068
- v.getDefaults = fn;
6069
- v.defaults = ae;
6070
- v.use = function(...n) {
6071
- return oe.use(...n), v.defaults = oe.defaults, Ai(v.defaults), v;
6172
+ b.getDefaults = gn;
6173
+ b.defaults = ae;
6174
+ b.use = function(...n) {
6175
+ return oe.use(...n), b.defaults = oe.defaults, Li(b.defaults), b;
6072
6176
  };
6073
- v.walkTokens = function(n, e) {
6177
+ b.walkTokens = function(n, e) {
6074
6178
  return oe.walkTokens(n, e);
6075
6179
  };
6076
- v.parseInline = oe.parseInline;
6077
- v.Parser = I;
6078
- v.parser = I.parse;
6079
- v.Renderer = Ue;
6080
- v.TextRenderer = xn;
6081
- v.Lexer = O;
6082
- v.lexer = O.lex;
6083
- v.Tokenizer = ht;
6084
- v.Hooks = Te;
6085
- v.parse = v;
6086
- v.options;
6087
- v.setOptions;
6088
- v.use;
6089
- v.walkTokens;
6090
- v.parseInline;
6180
+ b.parseInline = oe.parseInline;
6181
+ b.Parser = I;
6182
+ b.parser = I.parse;
6183
+ b.Renderer = Ue;
6184
+ b.TextRenderer = wn;
6185
+ b.Lexer = O;
6186
+ b.lexer = O.lex;
6187
+ b.Tokenizer = ut;
6188
+ b.Hooks = Le;
6189
+ b.parse = b;
6190
+ b.options;
6191
+ b.setOptions;
6192
+ b.use;
6193
+ b.walkTokens;
6194
+ b.parseInline;
6091
6195
  I.parse;
6092
6196
  O.lex;
6093
- var Ol = Object.defineProperty, Bi = (n, e, t, s) => {
6197
+ var El = Object.defineProperty, ji = (n, e, t, s) => {
6094
6198
  for (var i = void 0, r = n.length - 1, o; r >= 0; r--)
6095
6199
  (o = n[r]) && (i = o(e, t, i) || i);
6096
- return i && Ol(e, t, i), i;
6200
+ return i && El(e, t, i), i;
6097
6201
  };
6098
- const ji = new Ue();
6099
- ji.link = function({ href: n, title: e, text: t }) {
6202
+ const Hi = new Ue();
6203
+ Hi.link = function({ href: n, title: e, text: t }) {
6100
6204
  return e || (e = t), `<a target="_blank" href="${n}" title="${e}">${t}</a>`;
6101
6205
  };
6102
- v.use({ renderer: ji });
6103
- const Pn = class Pn extends S {
6206
+ b.use({ renderer: Hi });
6207
+ const On = class On extends S {
6104
6208
  constructor() {
6105
- super(...arguments), this.showLightbox = !1, this.imageUrl = "", this.altText = "", this.scrollRef = B(), this.contentRef = B(), this.autoScroll = !0, this.buffer = "", this.pointer = 0, this.imageRegexp = new RegExp(/!\[[^[]*\([^)]*\)/gm), this.includesImage = (e) => this.imageRegexp.test(e);
6209
+ super(...arguments), this.showLightbox = !1, this.imageUrl = "", this.altText = "", this.scrollRef = j(), this.contentRef = j(), this.autoScroll = !0, this.buffer = "", this.pointer = 0, this.imageRegexp = new RegExp(/!\[[^[]*\([^)]*\)/gm), this.includesImage = (e) => this.imageRegexp.test(e);
6106
6210
  }
6107
6211
  // Stop autoscroll on user interaction
6108
6212
  handleAutoscroll() {
@@ -6143,7 +6247,7 @@ const Pn = class Pn extends S {
6143
6247
  const e = this.getLastChunk();
6144
6248
  if (!e) return;
6145
6249
  this.buffer += e;
6146
- const t = v.parse(this.buffer), s = (i = this.contentRef.value) == null ? void 0 : i.querySelector(
6250
+ const t = b.parse(this.buffer), s = (i = this.contentRef.value) == null ? void 0 : i.querySelector(
6147
6251
  "div:last-of-type"
6148
6252
  );
6149
6253
  if (this.includesImage(this.buffer))
@@ -6159,20 +6263,20 @@ const Pn = class Pn extends S {
6159
6263
  });
6160
6264
  }
6161
6265
  render() {
6162
- return b`
6163
- <div class="message-type-markdown" ${j(this.contentRef)}>
6266
+ return v`
6267
+ <div class="message-type-markdown" ${H(this.contentRef)}>
6164
6268
  <div></div>
6165
6269
  </div>
6166
- <div class="scroll" ${j(this.scrollRef)}></div>
6167
- ${this.showLightbox ? b`<ace-lightbox
6270
+ <div class="scroll" ${H(this.scrollRef)}></div>
6271
+ ${this.showLightbox ? v`<ace-lightbox
6168
6272
  imageUrl="${this.imageUrl}"
6169
6273
  altText="${this.altText}"
6170
6274
  />` : null}
6171
6275
  `;
6172
6276
  }
6173
6277
  };
6174
- Pn.styles = [
6175
- T`
6278
+ On.styles = [
6279
+ L`
6176
6280
  :host {
6177
6281
  box-sizing: border-box;
6178
6282
  }
@@ -6212,19 +6316,19 @@ Pn.styles = [
6212
6316
  }
6213
6317
  `
6214
6318
  ];
6215
- let Be = Pn;
6216
- Bi([
6319
+ let Be = On;
6320
+ ji([
6217
6321
  w({ attribute: !1 })
6218
6322
  ], Be.prototype, "message");
6219
- Bi([
6323
+ ji([
6220
6324
  C()
6221
6325
  ], Be.prototype, "showLightbox");
6222
- var Il = Object.defineProperty, Ml = (n, e, t, s) => {
6326
+ var Tl = Object.defineProperty, Ll = (n, e, t, s) => {
6223
6327
  for (var i = void 0, r = n.length - 1, o; r >= 0; r--)
6224
6328
  (o = n[r]) && (i = o(e, t, i) || i);
6225
- return i && Il(e, t, i), i;
6329
+ return i && Tl(e, t, i), i;
6226
6330
  };
6227
- const On = class On extends S {
6331
+ const In = class In extends S {
6228
6332
  constructor() {
6229
6333
  super(...arguments), this.escapeListener = (e) => {
6230
6334
  e.key === "Escape" && this.closeLightbox();
@@ -6255,7 +6359,7 @@ const On = class On extends S {
6255
6359
  }
6256
6360
  }
6257
6361
  render() {
6258
- return b`<div
6362
+ return v`<div
6259
6363
  class="lightbox"
6260
6364
  tabindex="-1"
6261
6365
  @keydown=${this.handleKeyDown}
@@ -6267,8 +6371,8 @@ const On = class On extends S {
6267
6371
  </div> `;
6268
6372
  }
6269
6373
  };
6270
- On.styles = [
6271
- T`
6374
+ In.styles = [
6375
+ L`
6272
6376
  :focus {
6273
6377
  outline-color: var(--focus-color);
6274
6378
  }
@@ -6308,26 +6412,26 @@ On.styles = [
6308
6412
  }
6309
6413
  `
6310
6414
  ];
6311
- let dt = On;
6312
- Ml([
6415
+ let dt = In;
6416
+ Ll([
6313
6417
  w({ attribute: !0 })
6314
6418
  ], dt.prototype, "imageUrl");
6315
- var zl = Object.defineProperty, Z = (n, e, t, s) => {
6419
+ var Rl = Object.defineProperty, Z = (n, e, t, s) => {
6316
6420
  for (var i = void 0, r = n.length - 1, o; r >= 0; r--)
6317
6421
  (o = n[r]) && (i = o(e, t, i) || i);
6318
- return i && zl(e, t, i), i;
6422
+ return i && Rl(e, t, i), i;
6319
6423
  };
6320
6424
  customElements.get("conversation-entry") || customElements.define("conversation-entry", at);
6321
6425
  customElements.get("ace-conversation-feed") || customElements.define("ace-conversation-feed", ze);
6322
6426
  customElements.get("conversation-group") || customElements.define("conversation-group", lt);
6323
- customElements.get("ace-typing-state") || customElements.define("ace-typing-state", Yt);
6427
+ customElements.get("ace-typing-state") || customElements.define("ace-typing-state", Kt);
6324
6428
  customElements.get("message-type-html") || customElements.define("message-type-html", ct);
6325
6429
  customElements.get("message-type-markdown") || customElements.define("message-type-markdown", Be);
6326
6430
  customElements.get("ace-lightbox") || customElements.define("ace-lightbox", dt);
6327
- const Es = Si(S), In = class In extends Es {
6431
+ const Ts = Ai(S), Mn = class Mn extends Ts {
6328
6432
  constructor() {
6329
- super(...arguments), this.message = "", this.disabledInput = !1, this.disabledSkipToLatest = !1, this.disabledSubmit = !1, this.chatOverlayActive = !1, this.textAreaLength = 0, this.isMuted = !1, this.conversationContentRef = B(), this.conversationFeedRef = B(), this.formRef = B(), this.inputRef = B(), this.scrollRef = B(), this.counterRef = B(), this.chatScrollHeight = 0, this.chatCurrentScrollPosition = 0, this.toast = new Ha(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 H("waiting"), this.stateMachine = new Da(this.conversationState$, this), this.provider$ = this.stateMachine.session().pipe(
6330
- pe((e) => e ? e == null ? void 0 : e.provider$ : Ut(null))
6433
+ super(...arguments), this.message = "", this.disabledInput = !1, this.disabledSkipToLatest = !1, this.disabledSubmit = !1, this.chatOverlayActive = !1, this.textAreaLength = 0, this.isMuted = !1, this.conversationContentRef = j(), this.conversationFeedRef = j(), this.formRef = j(), this.inputRef = j(), this.scrollRef = j(), this.counterRef = j(), this.chatScrollHeight = 0, this.chatCurrentScrollPosition = 0, this.toast = new Ha(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 z("waiting"), this.stateMachine = new Da(this.conversationState$, this), this.provider$ = this.stateMachine.session().pipe(
6434
+ pe((e) => e ? e == null ? void 0 : e.provider$ : Bt(null))
6331
6435
  ), this.userTyping$ = new _();
6332
6436
  }
6333
6437
  async connectedCallback() {
@@ -6337,7 +6441,7 @@ const Es = Si(S), In = class In extends Es {
6337
6441
  );
6338
6442
  this.platform = e || null;
6339
6443
  const t = this.application.trigger;
6340
- t && t.widgetActive$.pipe(jt(t.componentIsDestroyed$)).subscribe((s) => {
6444
+ t && t.widgetActive$.pipe(Ht(t.componentIsDestroyed$)).subscribe((s) => {
6341
6445
  const i = this.conversationContentRef.value;
6342
6446
  i && (s ? i.scrollTop = this.chatCurrentScrollPosition : this.chatCurrentScrollPosition = i.scrollTop);
6343
6447
  }), this.stateSubscription = Ar([
@@ -6348,9 +6452,9 @@ const Es = Si(S), In = class In extends Es {
6348
6452
  }), this.userSubmitSubscription = Ve(
6349
6453
  this,
6350
6454
  "user-submit"
6351
- ).pipe(Ht(this.provider$)).subscribe(([s, i]) => {
6455
+ ).pipe(Nt(this.provider$)).subscribe(([s, i]) => {
6352
6456
  i && i.onUserSubmit(s.detail);
6353
- }), this._addHeaderOptions(), this.provider$.pipe(Ht(this.provider$)).subscribe(([s, i]) => {
6457
+ }), this._addHeaderOptions(), this.provider$.pipe(Nt(this.provider$)).subscribe(([s, i]) => {
6354
6458
  i && i.showChatOverlay$.pipe().subscribe((r) => {
6355
6459
  this.chatOverlayActive = r;
6356
6460
  });
@@ -6441,11 +6545,11 @@ const Es = Si(S), In = class In extends Es {
6441
6545
  return;
6442
6546
  const t = this.application.texts, s = t.getOrFallback("conversation.mute", "Mute"), i = t.getOrFallback("conversation.unmute", "Unmute"), r = e.addOption({
6443
6547
  label: this.isMuted ? i : s,
6444
- icon: this.isMuted ? Jn.svg : es.svg,
6548
+ icon: this.isMuted ? es.svg : ts.svg,
6445
6549
  closeOnClick: !1,
6446
6550
  datatestid: "options-mute-button",
6447
6551
  onClick: () => {
6448
- this.isMuted ? (this.isMuted = !1, this.application.unmute(), r.updateLabel(s), r.updateIcon(es.svg)) : (this.isMuted = !0, this.application.mute(), r.updateLabel(i), r.updateIcon(Jn.svg));
6552
+ this.isMuted ? (this.isMuted = !1, this.application.unmute(), r.updateLabel(s), r.updateIcon(ts.svg)) : (this.isMuted = !0, this.application.mute(), r.updateLabel(i), r.updateIcon(es.svg));
6449
6553
  }
6450
6554
  });
6451
6555
  }
@@ -6485,7 +6589,7 @@ const Es = Si(S), In = class In extends Es {
6485
6589
  const e = this.application.texts;
6486
6590
  this.conversationState$.value === "waiting" && ((i = this.application) != null && i.storage) && this.platform && (this.stateMachine.setStorage(this.application.storage), this.conversationState$.next("init"));
6487
6591
  const t = this.application.settings.components.conversation;
6488
- return ((o = (r = t == null ? void 0 : t.properties) == null ? void 0 : r.chat) == null ? void 0 : o.isThirdPartyWidget) && (this.renderRoot.host.style.width = "100%"), b` <div
6592
+ return ((o = (r = t == null ? void 0 : t.properties) == null ? void 0 : r.chat) == null ? void 0 : o.isThirdPartyWidget) && (this.renderRoot.host.style.width = "100%"), v` <div
6489
6593
  @action=${this._actionHandler}
6490
6594
  class=${ye({
6491
6595
  conversation: !0,
@@ -6495,7 +6599,7 @@ const Es = Si(S), In = class In extends Es {
6495
6599
  "overlay-mode": this.chatOverlayActive
6496
6600
  })}
6497
6601
  >
6498
- ${this.chatOverlayActive ? b`<div class="overlay-header">
6602
+ ${this.chatOverlayActive ? v`<div class="overlay-header">
6499
6603
  <button
6500
6604
  class="overlay-button"
6501
6605
  @click=${() => this.chatOverlayActive = !1}
@@ -6510,21 +6614,21 @@ const Es = Si(S), In = class In extends Es {
6510
6614
  })}
6511
6615
  part="scroll-container"
6512
6616
  aria-live="polite"
6513
- ${j(this.conversationContentRef)}
6617
+ ${H(this.conversationContentRef)}
6514
6618
  >
6515
- ${this.toast.hasMessage() ? b`<div class="conversation__toast">${this.toast.message}</div>` : m}
6619
+ ${this.toast.hasMessage() ? v`<div class="conversation__toast">${this.toast.message}</div>` : m}
6516
6620
  <ace-conversation-feed
6517
6621
  .entries=${this.entries}
6518
6622
  .loading=${this.typing}
6519
- ${j(this.conversationFeedRef)}
6623
+ ${H(this.conversationFeedRef)}
6520
6624
  @updated=${this.onSessionUpdated}
6521
6625
  ></ace-conversation-feed>
6522
- <div class="scroll" ${j(this.scrollRef)}></div>
6626
+ <div class="scroll" ${H(this.scrollRef)}></div>
6523
6627
  </div>
6524
6628
  <form
6525
6629
  class="conversation-bottom"
6526
6630
  @submit=${this._onSendMessage}
6527
- ${j(this.formRef)}
6631
+ ${H(this.formRef)}
6528
6632
  >
6529
6633
  <label for="chat-message-input" class="visually-hidden">
6530
6634
  Chat message
@@ -6541,7 +6645,7 @@ const Es = Si(S), In = class In extends Es {
6541
6645
  ?disabled=${this.disabledInput}
6542
6646
  @input=${this._inputHandler}
6543
6647
  @keydown=${this._keyDownHandler}
6544
- ${j(this.inputRef)}
6648
+ ${H(this.inputRef)}
6545
6649
  aria-valuenow=${this.textAreaLength}
6546
6650
  aria-valuemax=${this.messageMaxLength}
6547
6651
  aria-valuemin="0"
@@ -6558,7 +6662,7 @@ const Es = Si(S), In = class In extends Es {
6558
6662
  >
6559
6663
  <telia-icon svg=${mo.svg}></telia-icon>
6560
6664
  </button>
6561
- <span class="counter" ${j(this.counterRef)}>
6665
+ <span class="counter" ${H(this.counterRef)}>
6562
6666
  ${this.textAreaLength} / ${this.messageMaxLength}</span
6563
6667
  >
6564
6668
  </div>
@@ -6566,7 +6670,7 @@ const Es = Si(S), In = class In extends Es {
6566
6670
  ${this.textAreaLength > this.messageMaxLength ? this.messageMaxLengthLabel : ""}
6567
6671
  </div>
6568
6672
  </form>
6569
- ${this.disabledSkipToLatest ? m : b`<button
6673
+ ${this.disabledSkipToLatest ? m : v`<button
6570
6674
  class="skip-to-latest-message-button"
6571
6675
  @click=${this.skipToLatestMessage}
6572
6676
  >
@@ -6575,9 +6679,9 @@ const Es = Si(S), In = class In extends Es {
6575
6679
  </div>`;
6576
6680
  }
6577
6681
  };
6578
- In.styles = [
6579
- Es.styles || [],
6580
- T`
6682
+ Mn.styles = [
6683
+ Ts.styles || [],
6684
+ L`
6581
6685
  :host {
6582
6686
  font-family: var(--font-family);
6583
6687
  /* --send-icon-color: var(--gray-dark-color, #a6a6a6); */
@@ -6861,7 +6965,7 @@ In.styles = [
6861
6965
  }
6862
6966
  `
6863
6967
  ];
6864
- let P = In;
6968
+ let P = Mn;
6865
6969
  Z([
6866
6970
  C()
6867
6971
  ], P.prototype, "message");
@@ -6889,7 +6993,7 @@ Z([
6889
6993
  Z([
6890
6994
  C()
6891
6995
  ], P.prototype, "typing");
6892
- const Ul = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6996
+ const Pl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6893
6997
  __proto__: null,
6894
6998
  Conversation: P,
6895
6999
  default: P
@@ -6897,12 +7001,12 @@ const Ul = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6897
7001
  export {
6898
7002
  Nr as Agent,
6899
7003
  P as Conversation,
6900
- jl as ConversationComponent,
7004
+ Il as ConversationComponent,
6901
7005
  mt as ConversationEntry,
6902
7006
  K as ConversationMessageType,
6903
- Ts as ConversationPlatform,
6904
- Nl as ConversationProvider,
7007
+ Rs as ConversationPlatform,
7008
+ zl as ConversationProvider,
6905
7009
  Dr as User,
6906
- Hl as findPlainTextLinks,
7010
+ Ml as findPlainTextLinks,
6907
7011
  jr as truncateLongLinks
6908
7012
  };