@telia-ace/ace-chat-flamingo 1.1.123-rc.37 → 1.1.123-rc.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +79 -69
- package/index.mjs +606 -593
- package/package.json +3 -3
- package/types.d.ts +2 -1
package/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var _ = (n, e, t) =>
|
|
1
|
+
var gl = Object.defineProperty;
|
|
2
|
+
var ml = (n, e, t) => e in n ? gl(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
|
|
3
|
+
var _ = (n, e, t) => ml(n, typeof e != "symbol" ? e + "" : e, t);
|
|
4
4
|
var Ii = function(n, e) {
|
|
5
5
|
return Ii = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, i) {
|
|
6
6
|
t.__proto__ = i;
|
|
@@ -8,7 +8,7 @@ var Ii = function(n, e) {
|
|
|
8
8
|
for (var s in i) Object.prototype.hasOwnProperty.call(i, s) && (t[s] = i[s]);
|
|
9
9
|
}, Ii(n, e);
|
|
10
10
|
};
|
|
11
|
-
function
|
|
11
|
+
function Me(n, e) {
|
|
12
12
|
if (typeof e != "function" && e !== null)
|
|
13
13
|
throw new TypeError("Class extends value " + String(e) + " is not a constructor or null");
|
|
14
14
|
Ii(n, e);
|
|
@@ -17,7 +17,7 @@ function Pe(n, e) {
|
|
|
17
17
|
}
|
|
18
18
|
n.prototype = e === null ? Object.create(e) : (t.prototype = e.prototype, new t());
|
|
19
19
|
}
|
|
20
|
-
function
|
|
20
|
+
function vl(n, e, t, i) {
|
|
21
21
|
function s(r) {
|
|
22
22
|
return r instanceof t ? r : new t(function(o) {
|
|
23
23
|
o(r);
|
|
@@ -44,7 +44,7 @@ function ml(n, e, t, i) {
|
|
|
44
44
|
l((i = i.apply(n, e || [])).next());
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function To(n, e) {
|
|
48
48
|
var t = { label: 0, sent: function() {
|
|
49
49
|
if (r[0] & 1) throw r[1];
|
|
50
50
|
return r[1];
|
|
@@ -114,7 +114,7 @@ function wt(n) {
|
|
|
114
114
|
};
|
|
115
115
|
throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function je(n, e) {
|
|
118
118
|
var t = typeof Symbol == "function" && n[Symbol.iterator];
|
|
119
119
|
if (!t) return n;
|
|
120
120
|
var i = t.call(n), s, r = [], o;
|
|
@@ -139,7 +139,7 @@ function Je(n, e, t) {
|
|
|
139
139
|
function mt(n) {
|
|
140
140
|
return this instanceof mt ? (this.v = n, this) : new mt(n);
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function bl(n, e, t) {
|
|
143
143
|
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
144
144
|
var i = t.apply(n, e || []), s, r = [];
|
|
145
145
|
return s = Object.create((typeof AsyncIterator == "function" ? AsyncIterator : Object).prototype), a("next"), a("throw"), a("return", o), s[Symbol.asyncIterator] = function() {
|
|
@@ -177,7 +177,7 @@ function vl(n, e, t) {
|
|
|
177
177
|
g(m), r.shift(), r.length && c(r[0][0], r[0][1]);
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
|
-
function
|
|
180
|
+
function yl(n) {
|
|
181
181
|
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
182
182
|
var e = n[Symbol.asyncIterator], t;
|
|
183
183
|
return e ? e.call(n) : (n = typeof wt == "function" ? wt(n) : n[Symbol.iterator](), t = {}, i("next"), i("throw"), i("return"), t[Symbol.asyncIterator] = function() {
|
|
@@ -199,13 +199,13 @@ function bl(n) {
|
|
|
199
199
|
function C(n) {
|
|
200
200
|
return typeof n == "function";
|
|
201
201
|
}
|
|
202
|
-
function
|
|
202
|
+
function Oo(n) {
|
|
203
203
|
var e = function(i) {
|
|
204
204
|
Error.call(i), i.stack = new Error().stack;
|
|
205
205
|
}, t = n(e);
|
|
206
206
|
return t.prototype = Object.create(Error.prototype), t.prototype.constructor = t, t;
|
|
207
207
|
}
|
|
208
|
-
var mi =
|
|
208
|
+
var mi = Oo(function(n) {
|
|
209
209
|
return function(t) {
|
|
210
210
|
n(this), this.message = t ? t.length + ` errors occurred during unsubscription:
|
|
211
211
|
` + t.map(function(i, s) {
|
|
@@ -263,7 +263,7 @@ var sn = (function() {
|
|
|
263
263
|
try {
|
|
264
264
|
kr(m);
|
|
265
265
|
} catch ($) {
|
|
266
|
-
r = r ?? [], $ instanceof mi ? r = Je(Je([],
|
|
266
|
+
r = r ?? [], $ instanceof mi ? r = Je(Je([], je(r)), je($.errors)) : r.push($);
|
|
267
267
|
}
|
|
268
268
|
}
|
|
269
269
|
} catch ($) {
|
|
@@ -308,28 +308,28 @@ var sn = (function() {
|
|
|
308
308
|
var e = new n();
|
|
309
309
|
return e.closed = !0, e;
|
|
310
310
|
})(), n;
|
|
311
|
-
})(),
|
|
312
|
-
function
|
|
311
|
+
})(), Ro = sn.EMPTY;
|
|
312
|
+
function Lo(n) {
|
|
313
313
|
return n instanceof sn || n && "closed" in n && C(n.remove) && C(n.add) && C(n.unsubscribe);
|
|
314
314
|
}
|
|
315
315
|
function kr(n) {
|
|
316
316
|
C(n) ? n() : n.unsubscribe();
|
|
317
317
|
}
|
|
318
|
-
var
|
|
318
|
+
var $l = {
|
|
319
319
|
Promise: void 0
|
|
320
|
-
},
|
|
320
|
+
}, wl = {
|
|
321
321
|
setTimeout: function(n, e) {
|
|
322
322
|
for (var t = [], i = 2; i < arguments.length; i++)
|
|
323
323
|
t[i - 2] = arguments[i];
|
|
324
|
-
return setTimeout.apply(void 0, Je([n, e],
|
|
324
|
+
return setTimeout.apply(void 0, Je([n, e], je(t)));
|
|
325
325
|
},
|
|
326
326
|
clearTimeout: function(n) {
|
|
327
327
|
return clearTimeout(n);
|
|
328
328
|
},
|
|
329
329
|
delegate: void 0
|
|
330
330
|
};
|
|
331
|
-
function
|
|
332
|
-
|
|
331
|
+
function Io(n) {
|
|
332
|
+
wl.setTimeout(function() {
|
|
333
333
|
throw n;
|
|
334
334
|
});
|
|
335
335
|
}
|
|
@@ -339,10 +339,10 @@ function kn(n) {
|
|
|
339
339
|
n();
|
|
340
340
|
}
|
|
341
341
|
var ts = (function(n) {
|
|
342
|
-
|
|
342
|
+
Me(e, n);
|
|
343
343
|
function e(t) {
|
|
344
344
|
var i = n.call(this) || this;
|
|
345
|
-
return i.isStopped = !1, t ? (i.destination = t,
|
|
345
|
+
return i.isStopped = !1, t ? (i.destination = t, Lo(t) && t.add(i)) : i.destination = Sl, i;
|
|
346
346
|
}
|
|
347
347
|
return e.create = function(t, i, s) {
|
|
348
348
|
return new Pi(t, i, s);
|
|
@@ -369,7 +369,7 @@ var ts = (function(n) {
|
|
|
369
369
|
this.unsubscribe();
|
|
370
370
|
}
|
|
371
371
|
}, e;
|
|
372
|
-
})(sn),
|
|
372
|
+
})(sn), xl = (function() {
|
|
373
373
|
function n(e) {
|
|
374
374
|
this.partialObserver = e;
|
|
375
375
|
}
|
|
@@ -401,27 +401,27 @@ var ts = (function(n) {
|
|
|
401
401
|
}
|
|
402
402
|
}, n;
|
|
403
403
|
})(), Pi = (function(n) {
|
|
404
|
-
|
|
404
|
+
Me(e, n);
|
|
405
405
|
function e(t, i, s) {
|
|
406
406
|
var r = n.call(this) || this, o;
|
|
407
407
|
return C(t) || !t ? o = {
|
|
408
408
|
next: t ?? void 0,
|
|
409
409
|
error: i ?? void 0,
|
|
410
410
|
complete: s ?? void 0
|
|
411
|
-
} : o = t, r.destination = new
|
|
411
|
+
} : o = t, r.destination = new xl(o), r;
|
|
412
412
|
}
|
|
413
413
|
return e;
|
|
414
414
|
})(ts);
|
|
415
415
|
function bn(n) {
|
|
416
|
-
|
|
416
|
+
Io(n);
|
|
417
417
|
}
|
|
418
|
-
function
|
|
418
|
+
function kl(n) {
|
|
419
419
|
throw n;
|
|
420
420
|
}
|
|
421
|
-
var
|
|
421
|
+
var Sl = {
|
|
422
422
|
closed: !0,
|
|
423
423
|
next: An,
|
|
424
|
-
error:
|
|
424
|
+
error: kl,
|
|
425
425
|
complete: An
|
|
426
426
|
}, ns = (function() {
|
|
427
427
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
@@ -429,7 +429,7 @@ var kl = {
|
|
|
429
429
|
function _t(n) {
|
|
430
430
|
return n;
|
|
431
431
|
}
|
|
432
|
-
function
|
|
432
|
+
function Cl(n) {
|
|
433
433
|
return n.length === 0 ? _t : n.length === 1 ? n[0] : function(t) {
|
|
434
434
|
return n.reduce(function(i, s) {
|
|
435
435
|
return s(i);
|
|
@@ -444,7 +444,7 @@ var V = (function() {
|
|
|
444
444
|
var t = new n();
|
|
445
445
|
return t.source = this, t.operator = e, t;
|
|
446
446
|
}, n.prototype.subscribe = function(e, t, i) {
|
|
447
|
-
var s = this, r =
|
|
447
|
+
var s = this, r = _l(e) ? e : new Pi(e, t, i);
|
|
448
448
|
return kn(function() {
|
|
449
449
|
var o = s, a = o.operator, c = o.source;
|
|
450
450
|
r.add(a ? a.call(r, c) : c ? s._subscribe(r) : s._trySubscribe(r));
|
|
@@ -479,7 +479,7 @@ var V = (function() {
|
|
|
479
479
|
}, n.prototype.pipe = function() {
|
|
480
480
|
for (var e = [], t = 0; t < arguments.length; t++)
|
|
481
481
|
e[t] = arguments[t];
|
|
482
|
-
return
|
|
482
|
+
return Cl(e)(this);
|
|
483
483
|
}, n.prototype.toPromise = function(e) {
|
|
484
484
|
var t = this;
|
|
485
485
|
return e = Sr(e), new e(function(i, s) {
|
|
@@ -498,20 +498,20 @@ var V = (function() {
|
|
|
498
498
|
})();
|
|
499
499
|
function Sr(n) {
|
|
500
500
|
var e;
|
|
501
|
-
return (e = n ??
|
|
502
|
-
}
|
|
503
|
-
function Cl(n) {
|
|
504
|
-
return n && C(n.next) && C(n.error) && C(n.complete);
|
|
501
|
+
return (e = n ?? $l.Promise) !== null && e !== void 0 ? e : Promise;
|
|
505
502
|
}
|
|
506
503
|
function El(n) {
|
|
507
|
-
return n && n
|
|
504
|
+
return n && C(n.next) && C(n.error) && C(n.complete);
|
|
508
505
|
}
|
|
509
506
|
function _l(n) {
|
|
507
|
+
return n && n instanceof ts || El(n) && Lo(n);
|
|
508
|
+
}
|
|
509
|
+
function Al(n) {
|
|
510
510
|
return C(n == null ? void 0 : n.lift);
|
|
511
511
|
}
|
|
512
512
|
function re(n) {
|
|
513
513
|
return function(e) {
|
|
514
|
-
if (
|
|
514
|
+
if (Al(e))
|
|
515
515
|
return e.lift(function(t) {
|
|
516
516
|
try {
|
|
517
517
|
return n(t, this);
|
|
@@ -523,10 +523,10 @@ function re(n) {
|
|
|
523
523
|
};
|
|
524
524
|
}
|
|
525
525
|
function Q(n, e, t, i, s) {
|
|
526
|
-
return new
|
|
526
|
+
return new Tl(n, e, t, i, s);
|
|
527
527
|
}
|
|
528
|
-
var
|
|
529
|
-
|
|
528
|
+
var Tl = (function(n) {
|
|
529
|
+
Me(e, n);
|
|
530
530
|
function e(t, i, s, r, o, a) {
|
|
531
531
|
var c = n.call(this, t) || this;
|
|
532
532
|
return c.onFinalize = o, c.shouldUnsubscribe = a, c._next = i ? function(l) {
|
|
@@ -560,12 +560,12 @@ var Al = (function(n) {
|
|
|
560
560
|
n.prototype.unsubscribe.call(this), !i && ((t = this.onFinalize) === null || t === void 0 || t.call(this));
|
|
561
561
|
}
|
|
562
562
|
}, e;
|
|
563
|
-
})(ts),
|
|
563
|
+
})(ts), Ol = Oo(function(n) {
|
|
564
564
|
return function() {
|
|
565
565
|
n(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
566
566
|
};
|
|
567
567
|
}), P = (function(n) {
|
|
568
|
-
|
|
568
|
+
Me(e, n);
|
|
569
569
|
function e() {
|
|
570
570
|
var t = n.call(this) || this;
|
|
571
571
|
return t.closed = !1, t.currentObservers = null, t.observers = [], t.isStopped = !1, t.hasError = !1, t.thrownError = null, t;
|
|
@@ -575,7 +575,7 @@ var Al = (function(n) {
|
|
|
575
575
|
return i.operator = t, i;
|
|
576
576
|
}, e.prototype._throwIfClosed = function() {
|
|
577
577
|
if (this.closed)
|
|
578
|
-
throw new
|
|
578
|
+
throw new Ol();
|
|
579
579
|
}, e.prototype.next = function(t) {
|
|
580
580
|
var i = this;
|
|
581
581
|
kn(function() {
|
|
@@ -631,7 +631,7 @@ var Al = (function(n) {
|
|
|
631
631
|
return this._throwIfClosed(), this._checkFinalizedStatuses(t), this._innerSubscribe(t);
|
|
632
632
|
}, e.prototype._innerSubscribe = function(t) {
|
|
633
633
|
var i = this, s = this, r = s.hasError, o = s.isStopped, a = s.observers;
|
|
634
|
-
return r || o ?
|
|
634
|
+
return r || o ? Ro : (this.currentObservers = null, a.push(t), new sn(function() {
|
|
635
635
|
i.currentObservers = null, _n(a, t);
|
|
636
636
|
}));
|
|
637
637
|
}, e.prototype._checkFinalizedStatuses = function(t) {
|
|
@@ -644,7 +644,7 @@ var Al = (function(n) {
|
|
|
644
644
|
return new Cr(t, i);
|
|
645
645
|
}, e;
|
|
646
646
|
})(V), Cr = (function(n) {
|
|
647
|
-
|
|
647
|
+
Me(e, n);
|
|
648
648
|
function e(t, i) {
|
|
649
649
|
var s = n.call(this) || this;
|
|
650
650
|
return s.destination = t, s.source = i, s;
|
|
@@ -660,10 +660,10 @@ var Al = (function(n) {
|
|
|
660
660
|
(i = (t = this.destination) === null || t === void 0 ? void 0 : t.complete) === null || i === void 0 || i.call(t);
|
|
661
661
|
}, e.prototype._subscribe = function(t) {
|
|
662
662
|
var i, s;
|
|
663
|
-
return (s = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(t)) !== null && s !== void 0 ? s :
|
|
663
|
+
return (s = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(t)) !== null && s !== void 0 ? s : Ro;
|
|
664
664
|
}, e;
|
|
665
665
|
})(P), he = (function(n) {
|
|
666
|
-
|
|
666
|
+
Me(e, n);
|
|
667
667
|
function e(t) {
|
|
668
668
|
var i = n.call(this) || this;
|
|
669
669
|
return i._value = t, i;
|
|
@@ -685,12 +685,12 @@ var Al = (function(n) {
|
|
|
685
685
|
}, e.prototype.next = function(t) {
|
|
686
686
|
n.prototype.next.call(this, this._value = t);
|
|
687
687
|
}, e;
|
|
688
|
-
})(P),
|
|
688
|
+
})(P), Rl = {
|
|
689
689
|
now: function() {
|
|
690
690
|
return Date.now();
|
|
691
691
|
}
|
|
692
|
-
},
|
|
693
|
-
|
|
692
|
+
}, Ll = (function(n) {
|
|
693
|
+
Me(e, n);
|
|
694
694
|
function e(t, i) {
|
|
695
695
|
return n.call(this) || this;
|
|
696
696
|
}
|
|
@@ -701,14 +701,14 @@ var Al = (function(n) {
|
|
|
701
701
|
setInterval: function(n, e) {
|
|
702
702
|
for (var t = [], i = 2; i < arguments.length; i++)
|
|
703
703
|
t[i - 2] = arguments[i];
|
|
704
|
-
return setInterval.apply(void 0, Je([n, e],
|
|
704
|
+
return setInterval.apply(void 0, Je([n, e], je(t)));
|
|
705
705
|
},
|
|
706
706
|
clearInterval: function(n) {
|
|
707
707
|
return clearInterval(n);
|
|
708
708
|
},
|
|
709
709
|
delegate: void 0
|
|
710
|
-
},
|
|
711
|
-
|
|
710
|
+
}, Il = (function(n) {
|
|
711
|
+
Me(e, n);
|
|
712
712
|
function e(t, i) {
|
|
713
713
|
var s = n.call(this, t, i) || this;
|
|
714
714
|
return s.scheduler = t, s.work = i, s.pending = !1, s;
|
|
@@ -749,15 +749,15 @@ var Al = (function(n) {
|
|
|
749
749
|
this.work = this.state = this.scheduler = null, this.pending = !1, _n(r, this), i != null && (this.id = this.recycleAsyncId(s, i, null)), this.delay = null, n.prototype.unsubscribe.call(this);
|
|
750
750
|
}
|
|
751
751
|
}, e;
|
|
752
|
-
})(
|
|
752
|
+
})(Ll), _r = (function() {
|
|
753
753
|
function n(e, t) {
|
|
754
754
|
t === void 0 && (t = n.now), this.schedulerActionCtor = e, this.now = t;
|
|
755
755
|
}
|
|
756
756
|
return n.prototype.schedule = function(e, t, i) {
|
|
757
757
|
return t === void 0 && (t = 0), new this.schedulerActionCtor(this, e).schedule(i, t);
|
|
758
|
-
}, n.now =
|
|
759
|
-
})(),
|
|
760
|
-
|
|
758
|
+
}, n.now = Rl.now, n;
|
|
759
|
+
})(), Pl = (function(n) {
|
|
760
|
+
Me(e, n);
|
|
761
761
|
function e(t, i) {
|
|
762
762
|
i === void 0 && (i = _r.now);
|
|
763
763
|
var s = n.call(this, t, i) || this;
|
|
@@ -781,51 +781,51 @@ var Al = (function(n) {
|
|
|
781
781
|
throw s;
|
|
782
782
|
}
|
|
783
783
|
}, e;
|
|
784
|
-
})(_r), fp = new Il
|
|
785
|
-
var
|
|
784
|
+
})(_r), fp = new Pl(Il);
|
|
785
|
+
var Re = new V(function(n) {
|
|
786
786
|
return n.complete();
|
|
787
787
|
});
|
|
788
|
-
function
|
|
788
|
+
function Ml(n) {
|
|
789
789
|
return n && C(n.schedule);
|
|
790
790
|
}
|
|
791
791
|
function is(n) {
|
|
792
792
|
return n[n.length - 1];
|
|
793
793
|
}
|
|
794
|
-
function
|
|
794
|
+
function Po(n) {
|
|
795
795
|
return C(is(n)) ? n.pop() : void 0;
|
|
796
796
|
}
|
|
797
797
|
function ss(n) {
|
|
798
|
-
return
|
|
798
|
+
return Ml(is(n)) ? n.pop() : void 0;
|
|
799
799
|
}
|
|
800
|
-
function
|
|
800
|
+
function Nl(n, e) {
|
|
801
801
|
return typeof is(n) == "number" ? n.pop() : e;
|
|
802
802
|
}
|
|
803
803
|
var rs = (function(n) {
|
|
804
804
|
return n && typeof n.length == "number" && typeof n != "function";
|
|
805
805
|
});
|
|
806
|
-
function
|
|
806
|
+
function Mo(n) {
|
|
807
807
|
return C(n == null ? void 0 : n.then);
|
|
808
808
|
}
|
|
809
|
-
function
|
|
809
|
+
function No(n) {
|
|
810
810
|
return C(n[ns]);
|
|
811
811
|
}
|
|
812
|
-
function
|
|
812
|
+
function Uo(n) {
|
|
813
813
|
return Symbol.asyncIterator && C(n == null ? void 0 : n[Symbol.asyncIterator]);
|
|
814
814
|
}
|
|
815
|
-
function
|
|
815
|
+
function Do(n) {
|
|
816
816
|
return new TypeError("You provided " + (n !== null && typeof n == "object" ? "an invalid object" : "'" + n + "'") + " where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.");
|
|
817
817
|
}
|
|
818
|
-
function
|
|
818
|
+
function Ul() {
|
|
819
819
|
return typeof Symbol != "function" || !Symbol.iterator ? "@@iterator" : Symbol.iterator;
|
|
820
820
|
}
|
|
821
|
-
var
|
|
822
|
-
function Ho(n) {
|
|
823
|
-
return C(n == null ? void 0 : n[Do]);
|
|
824
|
-
}
|
|
821
|
+
var Ho = Ul();
|
|
825
822
|
function zo(n) {
|
|
826
|
-
return
|
|
823
|
+
return C(n == null ? void 0 : n[Ho]);
|
|
824
|
+
}
|
|
825
|
+
function Fo(n) {
|
|
826
|
+
return bl(this, arguments, function() {
|
|
827
827
|
var t, i, s, r;
|
|
828
|
-
return
|
|
828
|
+
return To(this, function(o) {
|
|
829
829
|
switch (o.label) {
|
|
830
830
|
case 0:
|
|
831
831
|
t = n.getReader(), o.label = 1;
|
|
@@ -853,29 +853,29 @@ function zo(n) {
|
|
|
853
853
|
});
|
|
854
854
|
});
|
|
855
855
|
}
|
|
856
|
-
function
|
|
856
|
+
function jo(n) {
|
|
857
857
|
return C(n == null ? void 0 : n.getReader);
|
|
858
858
|
}
|
|
859
859
|
function oe(n) {
|
|
860
860
|
if (n instanceof V)
|
|
861
861
|
return n;
|
|
862
862
|
if (n != null) {
|
|
863
|
-
if (
|
|
864
|
-
return Ul(n);
|
|
865
|
-
if (rs(n))
|
|
863
|
+
if (No(n))
|
|
866
864
|
return Dl(n);
|
|
867
|
-
if (
|
|
865
|
+
if (rs(n))
|
|
868
866
|
return Hl(n);
|
|
869
|
-
if (
|
|
870
|
-
return jo(n);
|
|
871
|
-
if (Ho(n))
|
|
867
|
+
if (Mo(n))
|
|
872
868
|
return zl(n);
|
|
873
|
-
if (
|
|
869
|
+
if (Uo(n))
|
|
870
|
+
return Bo(n);
|
|
871
|
+
if (zo(n))
|
|
874
872
|
return Fl(n);
|
|
873
|
+
if (jo(n))
|
|
874
|
+
return jl(n);
|
|
875
875
|
}
|
|
876
|
-
throw
|
|
876
|
+
throw Do(n);
|
|
877
877
|
}
|
|
878
|
-
function
|
|
878
|
+
function Dl(n) {
|
|
879
879
|
return new V(function(e) {
|
|
880
880
|
var t = n[ns]();
|
|
881
881
|
if (C(t.subscribe))
|
|
@@ -883,23 +883,23 @@ function Ul(n) {
|
|
|
883
883
|
throw new TypeError("Provided object does not correctly implement Symbol.observable");
|
|
884
884
|
});
|
|
885
885
|
}
|
|
886
|
-
function
|
|
886
|
+
function Hl(n) {
|
|
887
887
|
return new V(function(e) {
|
|
888
888
|
for (var t = 0; t < n.length && !e.closed; t++)
|
|
889
889
|
e.next(n[t]);
|
|
890
890
|
e.complete();
|
|
891
891
|
});
|
|
892
892
|
}
|
|
893
|
-
function
|
|
893
|
+
function zl(n) {
|
|
894
894
|
return new V(function(e) {
|
|
895
895
|
n.then(function(t) {
|
|
896
896
|
e.closed || (e.next(t), e.complete());
|
|
897
897
|
}, function(t) {
|
|
898
898
|
return e.error(t);
|
|
899
|
-
}).then(null,
|
|
899
|
+
}).then(null, Io);
|
|
900
900
|
});
|
|
901
901
|
}
|
|
902
|
-
function
|
|
902
|
+
function Fl(n) {
|
|
903
903
|
return new V(function(e) {
|
|
904
904
|
var t, i;
|
|
905
905
|
try {
|
|
@@ -920,24 +920,24 @@ function zl(n) {
|
|
|
920
920
|
e.complete();
|
|
921
921
|
});
|
|
922
922
|
}
|
|
923
|
-
function
|
|
923
|
+
function Bo(n) {
|
|
924
924
|
return new V(function(e) {
|
|
925
|
-
|
|
925
|
+
Bl(n, e).catch(function(t) {
|
|
926
926
|
return e.error(t);
|
|
927
927
|
});
|
|
928
928
|
});
|
|
929
929
|
}
|
|
930
|
-
function
|
|
931
|
-
return
|
|
930
|
+
function jl(n) {
|
|
931
|
+
return Bo(Fo(n));
|
|
932
932
|
}
|
|
933
|
-
function
|
|
933
|
+
function Bl(n, e) {
|
|
934
934
|
var t, i, s, r;
|
|
935
|
-
return
|
|
935
|
+
return vl(this, void 0, void 0, function() {
|
|
936
936
|
var o, a;
|
|
937
|
-
return
|
|
937
|
+
return To(this, function(c) {
|
|
938
938
|
switch (c.label) {
|
|
939
939
|
case 0:
|
|
940
|
-
c.trys.push([0, 5, 6, 11]), t =
|
|
940
|
+
c.trys.push([0, 5, 6, 11]), t = yl(n), c.label = 1;
|
|
941
941
|
case 1:
|
|
942
942
|
return [4, t.next()];
|
|
943
943
|
case 2:
|
|
@@ -968,7 +968,7 @@ function jl(n, e) {
|
|
|
968
968
|
});
|
|
969
969
|
});
|
|
970
970
|
}
|
|
971
|
-
function
|
|
971
|
+
function ze(n, e, t, i, s) {
|
|
972
972
|
i === void 0 && (i = 0), s === void 0 && (s = !1);
|
|
973
973
|
var r = e.schedule(function() {
|
|
974
974
|
t(), s ? n.add(this.schedule(null, i)) : this.unsubscribe();
|
|
@@ -976,37 +976,37 @@ function He(n, e, t, i, s) {
|
|
|
976
976
|
if (n.add(r), !s)
|
|
977
977
|
return r;
|
|
978
978
|
}
|
|
979
|
-
function
|
|
979
|
+
function qo(n, e) {
|
|
980
980
|
return e === void 0 && (e = 0), re(function(t, i) {
|
|
981
981
|
t.subscribe(Q(i, function(s) {
|
|
982
|
-
return
|
|
982
|
+
return ze(i, n, function() {
|
|
983
983
|
return i.next(s);
|
|
984
984
|
}, e);
|
|
985
985
|
}, function() {
|
|
986
|
-
return
|
|
986
|
+
return ze(i, n, function() {
|
|
987
987
|
return i.complete();
|
|
988
988
|
}, e);
|
|
989
989
|
}, function(s) {
|
|
990
|
-
return
|
|
990
|
+
return ze(i, n, function() {
|
|
991
991
|
return i.error(s);
|
|
992
992
|
}, e);
|
|
993
993
|
}));
|
|
994
994
|
});
|
|
995
995
|
}
|
|
996
|
-
function
|
|
996
|
+
function Vo(n, e) {
|
|
997
997
|
return e === void 0 && (e = 0), re(function(t, i) {
|
|
998
998
|
i.add(n.schedule(function() {
|
|
999
999
|
return t.subscribe(i);
|
|
1000
1000
|
}, e));
|
|
1001
1001
|
});
|
|
1002
1002
|
}
|
|
1003
|
-
function Bl(n, e) {
|
|
1004
|
-
return oe(n).pipe(qo(e), Bo(e));
|
|
1005
|
-
}
|
|
1006
1003
|
function ql(n, e) {
|
|
1007
|
-
return oe(n).pipe(
|
|
1004
|
+
return oe(n).pipe(Vo(e), qo(e));
|
|
1008
1005
|
}
|
|
1009
1006
|
function Vl(n, e) {
|
|
1007
|
+
return oe(n).pipe(Vo(e), qo(e));
|
|
1008
|
+
}
|
|
1009
|
+
function Wl(n, e) {
|
|
1010
1010
|
return new V(function(t) {
|
|
1011
1011
|
var i = 0;
|
|
1012
1012
|
return e.schedule(function() {
|
|
@@ -1014,11 +1014,11 @@ function Vl(n, e) {
|
|
|
1014
1014
|
});
|
|
1015
1015
|
});
|
|
1016
1016
|
}
|
|
1017
|
-
function
|
|
1017
|
+
function Gl(n, e) {
|
|
1018
1018
|
return new V(function(t) {
|
|
1019
1019
|
var i;
|
|
1020
|
-
return
|
|
1021
|
-
i = n[
|
|
1020
|
+
return ze(t, e, function() {
|
|
1021
|
+
i = n[Ho](), ze(t, e, function() {
|
|
1022
1022
|
var s, r, o;
|
|
1023
1023
|
try {
|
|
1024
1024
|
s = i.next(), r = s.value, o = s.done;
|
|
@@ -1033,13 +1033,13 @@ function Wl(n, e) {
|
|
|
1033
1033
|
};
|
|
1034
1034
|
});
|
|
1035
1035
|
}
|
|
1036
|
-
function
|
|
1036
|
+
function Wo(n, e) {
|
|
1037
1037
|
if (!n)
|
|
1038
1038
|
throw new Error("Iterable cannot be null");
|
|
1039
1039
|
return new V(function(t) {
|
|
1040
|
-
|
|
1040
|
+
ze(t, e, function() {
|
|
1041
1041
|
var i = n[Symbol.asyncIterator]();
|
|
1042
|
-
|
|
1042
|
+
ze(t, e, function() {
|
|
1043
1043
|
i.next().then(function(s) {
|
|
1044
1044
|
s.done ? t.complete() : t.next(s.value);
|
|
1045
1045
|
});
|
|
@@ -1047,28 +1047,28 @@ function Vo(n, e) {
|
|
|
1047
1047
|
});
|
|
1048
1048
|
});
|
|
1049
1049
|
}
|
|
1050
|
-
function Gl(n, e) {
|
|
1051
|
-
return Vo(zo(n), e);
|
|
1052
|
-
}
|
|
1053
1050
|
function Zl(n, e) {
|
|
1051
|
+
return Wo(Fo(n), e);
|
|
1052
|
+
}
|
|
1053
|
+
function Yl(n, e) {
|
|
1054
1054
|
if (n != null) {
|
|
1055
|
-
if (Mo(n))
|
|
1056
|
-
return Bl(n, e);
|
|
1057
|
-
if (rs(n))
|
|
1058
|
-
return Vl(n, e);
|
|
1059
|
-
if (Po(n))
|
|
1060
|
-
return ql(n, e);
|
|
1061
1055
|
if (No(n))
|
|
1062
|
-
return
|
|
1063
|
-
if (
|
|
1056
|
+
return ql(n, e);
|
|
1057
|
+
if (rs(n))
|
|
1064
1058
|
return Wl(n, e);
|
|
1065
|
-
if (
|
|
1059
|
+
if (Mo(n))
|
|
1060
|
+
return Vl(n, e);
|
|
1061
|
+
if (Uo(n))
|
|
1062
|
+
return Wo(n, e);
|
|
1063
|
+
if (zo(n))
|
|
1066
1064
|
return Gl(n, e);
|
|
1065
|
+
if (jo(n))
|
|
1066
|
+
return Zl(n, e);
|
|
1067
1067
|
}
|
|
1068
|
-
throw
|
|
1068
|
+
throw Do(n);
|
|
1069
1069
|
}
|
|
1070
1070
|
function Xe(n, e) {
|
|
1071
|
-
return e ?
|
|
1071
|
+
return e ? Yl(n, e) : oe(n);
|
|
1072
1072
|
}
|
|
1073
1073
|
function Mi() {
|
|
1074
1074
|
for (var n = [], e = 0; e < arguments.length; e++)
|
|
@@ -1092,23 +1092,23 @@ function Tn(n, e) {
|
|
|
1092
1092
|
}));
|
|
1093
1093
|
});
|
|
1094
1094
|
}
|
|
1095
|
-
var
|
|
1096
|
-
function
|
|
1097
|
-
return
|
|
1095
|
+
var Ql = Array.isArray;
|
|
1096
|
+
function Xl(n, e) {
|
|
1097
|
+
return Ql(e) ? n.apply(void 0, Je([], je(e))) : n(e);
|
|
1098
1098
|
}
|
|
1099
|
-
function
|
|
1099
|
+
function Go(n) {
|
|
1100
1100
|
return Tn(function(e) {
|
|
1101
|
-
return
|
|
1101
|
+
return Xl(n, e);
|
|
1102
1102
|
});
|
|
1103
1103
|
}
|
|
1104
|
-
var
|
|
1105
|
-
function
|
|
1104
|
+
var Kl = Array.isArray, Jl = Object.getPrototypeOf, ec = Object.prototype, tc = Object.keys;
|
|
1105
|
+
function nc(n) {
|
|
1106
1106
|
if (n.length === 1) {
|
|
1107
1107
|
var e = n[0];
|
|
1108
|
-
if (
|
|
1108
|
+
if (Kl(e))
|
|
1109
1109
|
return { args: e, keys: null };
|
|
1110
|
-
if (
|
|
1111
|
-
var t =
|
|
1110
|
+
if (ic(e)) {
|
|
1111
|
+
var t = tc(e);
|
|
1112
1112
|
return {
|
|
1113
1113
|
args: t.map(function(i) {
|
|
1114
1114
|
return e[i];
|
|
@@ -1119,26 +1119,26 @@ function tc(n) {
|
|
|
1119
1119
|
}
|
|
1120
1120
|
return { args: n, keys: null };
|
|
1121
1121
|
}
|
|
1122
|
-
function
|
|
1123
|
-
return n && typeof n == "object" &&
|
|
1122
|
+
function ic(n) {
|
|
1123
|
+
return n && typeof n == "object" && Jl(n) === ec;
|
|
1124
1124
|
}
|
|
1125
|
-
function
|
|
1125
|
+
function sc(n, e) {
|
|
1126
1126
|
return n.reduce(function(t, i, s) {
|
|
1127
1127
|
return t[i] = e[s], t;
|
|
1128
1128
|
}, {});
|
|
1129
1129
|
}
|
|
1130
|
-
function
|
|
1130
|
+
function rc() {
|
|
1131
1131
|
for (var n = [], e = 0; e < arguments.length; e++)
|
|
1132
1132
|
n[e] = arguments[e];
|
|
1133
|
-
var t = ss(n), i =
|
|
1133
|
+
var t = ss(n), i = Po(n), s = nc(n), r = s.args, o = s.keys;
|
|
1134
1134
|
if (r.length === 0)
|
|
1135
1135
|
return Xe([], t);
|
|
1136
|
-
var a = new V(
|
|
1137
|
-
return
|
|
1136
|
+
var a = new V(oc(r, t, o ? function(c) {
|
|
1137
|
+
return sc(o, c);
|
|
1138
1138
|
} : _t));
|
|
1139
|
-
return i ? a.pipe(
|
|
1139
|
+
return i ? a.pipe(Go(i)) : a;
|
|
1140
1140
|
}
|
|
1141
|
-
function
|
|
1141
|
+
function oc(n, e, t) {
|
|
1142
1142
|
return t === void 0 && (t = _t), function(i) {
|
|
1143
1143
|
Ar(e, function() {
|
|
1144
1144
|
for (var s = n.length, r = new Array(s), o = s, a = s, c = function(u) {
|
|
@@ -1156,9 +1156,9 @@ function rc(n, e, t) {
|
|
|
1156
1156
|
};
|
|
1157
1157
|
}
|
|
1158
1158
|
function Ar(n, e, t) {
|
|
1159
|
-
n ?
|
|
1159
|
+
n ? ze(t, n, e) : e();
|
|
1160
1160
|
}
|
|
1161
|
-
function
|
|
1161
|
+
function ac(n, e, t, i, s, r, o, a) {
|
|
1162
1162
|
var c = [], l = 0, u = 0, p = !1, d = function() {
|
|
1163
1163
|
p && !c.length && !l && e.complete();
|
|
1164
1164
|
}, g = function($) {
|
|
@@ -1175,13 +1175,13 @@ function oc(n, e, t, i, s, r, o, a) {
|
|
|
1175
1175
|
try {
|
|
1176
1176
|
l--;
|
|
1177
1177
|
for (var le = function() {
|
|
1178
|
-
var
|
|
1179
|
-
o || m(
|
|
1178
|
+
var Ne = c.shift();
|
|
1179
|
+
o || m(Ne);
|
|
1180
1180
|
}; c.length && l < i; )
|
|
1181
1181
|
le();
|
|
1182
1182
|
d();
|
|
1183
|
-
} catch (
|
|
1184
|
-
e.error(
|
|
1183
|
+
} catch (Ne) {
|
|
1184
|
+
e.error(Ne);
|
|
1185
1185
|
}
|
|
1186
1186
|
}));
|
|
1187
1187
|
};
|
|
@@ -1196,26 +1196,26 @@ function Wt(n, e, t) {
|
|
|
1196
1196
|
return e(i, r, s, o);
|
|
1197
1197
|
})(oe(n(i, s)));
|
|
1198
1198
|
}, t) : (typeof e == "number" && (t = e), re(function(i, s) {
|
|
1199
|
-
return
|
|
1199
|
+
return ac(i, s, n, t);
|
|
1200
1200
|
}));
|
|
1201
1201
|
}
|
|
1202
|
-
function
|
|
1202
|
+
function lc(n) {
|
|
1203
1203
|
return n === void 0 && (n = 1 / 0), Wt(_t, n);
|
|
1204
1204
|
}
|
|
1205
|
-
function
|
|
1205
|
+
function cc(n) {
|
|
1206
1206
|
return new V(function(e) {
|
|
1207
1207
|
oe(n()).subscribe(e);
|
|
1208
1208
|
});
|
|
1209
1209
|
}
|
|
1210
|
-
var
|
|
1210
|
+
var uc = ["addListener", "removeListener"], hc = ["addEventListener", "removeEventListener"], dc = ["on", "off"];
|
|
1211
1211
|
function On(n, e, t, i) {
|
|
1212
1212
|
if (C(t) && (i = t, t = void 0), i)
|
|
1213
|
-
return On(n, e, t).pipe(
|
|
1214
|
-
var s =
|
|
1213
|
+
return On(n, e, t).pipe(Go(i));
|
|
1214
|
+
var s = je(gc(n) ? hc.map(function(a) {
|
|
1215
1215
|
return function(c) {
|
|
1216
1216
|
return n[a](e, c, t);
|
|
1217
1217
|
};
|
|
1218
|
-
}) :
|
|
1218
|
+
}) : pc(n) ? uc.map(Tr(n, e)) : fc(n) ? dc.map(Tr(n, e)) : [], 2), r = s[0], o = s[1];
|
|
1219
1219
|
if (!r && rs(n))
|
|
1220
1220
|
return Wt(function(a) {
|
|
1221
1221
|
return On(a, e, t);
|
|
@@ -1240,20 +1240,20 @@ function Tr(n, e) {
|
|
|
1240
1240
|
};
|
|
1241
1241
|
};
|
|
1242
1242
|
}
|
|
1243
|
-
function
|
|
1243
|
+
function pc(n) {
|
|
1244
1244
|
return C(n.addListener) && C(n.removeListener);
|
|
1245
1245
|
}
|
|
1246
|
-
function
|
|
1246
|
+
function fc(n) {
|
|
1247
1247
|
return C(n.on) && C(n.off);
|
|
1248
1248
|
}
|
|
1249
|
-
function
|
|
1249
|
+
function gc(n) {
|
|
1250
1250
|
return C(n.addEventListener) && C(n.removeEventListener);
|
|
1251
1251
|
}
|
|
1252
|
-
function
|
|
1252
|
+
function mc() {
|
|
1253
1253
|
for (var n = [], e = 0; e < arguments.length; e++)
|
|
1254
1254
|
n[e] = arguments[e];
|
|
1255
|
-
var t = ss(n), i =
|
|
1256
|
-
return s.length ? s.length === 1 ? oe(s[0]) :
|
|
1255
|
+
var t = ss(n), i = Nl(n, 1 / 0), s = n;
|
|
1256
|
+
return s.length ? s.length === 1 ? oe(s[0]) : lc(i)(Xe(s, t)) : Re;
|
|
1257
1257
|
}
|
|
1258
1258
|
function G(n, e) {
|
|
1259
1259
|
return re(function(t, i) {
|
|
@@ -1276,7 +1276,7 @@ function bi(n, e) {
|
|
|
1276
1276
|
}
|
|
1277
1277
|
function ve(n) {
|
|
1278
1278
|
return n <= 0 ? function() {
|
|
1279
|
-
return
|
|
1279
|
+
return Re;
|
|
1280
1280
|
} : re(function(e, t) {
|
|
1281
1281
|
var i = 0;
|
|
1282
1282
|
e.subscribe(Q(t, function(s) {
|
|
@@ -1287,7 +1287,7 @@ function ve(n) {
|
|
|
1287
1287
|
function yi(n) {
|
|
1288
1288
|
var e = 1 / 0, t;
|
|
1289
1289
|
return e <= 0 ? function() {
|
|
1290
|
-
return
|
|
1290
|
+
return Re;
|
|
1291
1291
|
} : re(function(i, s) {
|
|
1292
1292
|
var r = 0, o, a = function() {
|
|
1293
1293
|
o == null || o.unsubscribe(), o = null;
|
|
@@ -1302,7 +1302,7 @@ function yi(n) {
|
|
|
1302
1302
|
c();
|
|
1303
1303
|
});
|
|
1304
1304
|
}
|
|
1305
|
-
function
|
|
1305
|
+
function Le(n, e) {
|
|
1306
1306
|
return re(function(t, i) {
|
|
1307
1307
|
var s = null, r = 0, o = !1, a = function() {
|
|
1308
1308
|
return o && !s && i.complete();
|
|
@@ -1327,7 +1327,7 @@ function z(n) {
|
|
|
1327
1327
|
}, An)), !t.closed && e.subscribe(t);
|
|
1328
1328
|
});
|
|
1329
1329
|
}
|
|
1330
|
-
function
|
|
1330
|
+
function vc(n, e, t) {
|
|
1331
1331
|
var i = C(n) || e || t ? { next: n, error: e, complete: t } : n;
|
|
1332
1332
|
return i ? re(function(s, r) {
|
|
1333
1333
|
var o;
|
|
@@ -1351,7 +1351,7 @@ function mc(n, e, t) {
|
|
|
1351
1351
|
function Ni() {
|
|
1352
1352
|
for (var n = [], e = 0; e < arguments.length; e++)
|
|
1353
1353
|
n[e] = arguments[e];
|
|
1354
|
-
var t =
|
|
1354
|
+
var t = Po(n);
|
|
1355
1355
|
return re(function(i, s) {
|
|
1356
1356
|
for (var r = n.length, o = new Array(r), a = n.map(function() {
|
|
1357
1357
|
return !1;
|
|
@@ -1363,8 +1363,8 @@ function Ni() {
|
|
|
1363
1363
|
l(u);
|
|
1364
1364
|
i.subscribe(Q(s, function(p) {
|
|
1365
1365
|
if (c) {
|
|
1366
|
-
var d = Je([p],
|
|
1367
|
-
s.next(t ? t.apply(void 0, Je([],
|
|
1366
|
+
var d = Je([p], je(o));
|
|
1367
|
+
s.next(t ? t.apply(void 0, Je([], je(d))) : d);
|
|
1368
1368
|
}
|
|
1369
1369
|
}));
|
|
1370
1370
|
});
|
|
@@ -1394,10 +1394,10 @@ class os {
|
|
|
1394
1394
|
// }
|
|
1395
1395
|
}
|
|
1396
1396
|
var q = /* @__PURE__ */ ((n) => (n.User = "user", n.Agent = "agent", n.System = "system", n))(q || {});
|
|
1397
|
-
const
|
|
1397
|
+
const bc = () => "10000000-1000-4000-8000-100000000000".replace(
|
|
1398
1398
|
/[018]/g,
|
|
1399
1399
|
(n) => (+n ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> +n / 4).toString(16)
|
|
1400
|
-
),
|
|
1400
|
+
), Zo = () => typeof crypto.randomUUID == "function" ? crypto.randomUUID() : bc();
|
|
1401
1401
|
function Or(n) {
|
|
1402
1402
|
let e = n;
|
|
1403
1403
|
const t = /https?:\/\/[^\s<]+/gi, i = /<a [^>]*href="([^"]*)"[^>]*>[^<]*<\/a>/g, s = n.match(t) || [], r = [];
|
|
@@ -1420,10 +1420,10 @@ function Or(n) {
|
|
|
1420
1420
|
}
|
|
1421
1421
|
function Ui(n) {
|
|
1422
1422
|
if (n.includes("aceChatGuideTitle"))
|
|
1423
|
-
return
|
|
1423
|
+
return yc(n);
|
|
1424
1424
|
const e = /<a [^>]*>https?:\/\/[^<]*<\/a>/gim;
|
|
1425
1425
|
return n.replace(e, (t) => {
|
|
1426
|
-
const i =
|
|
1426
|
+
const i = Yo(t);
|
|
1427
1427
|
if (!i)
|
|
1428
1428
|
return t;
|
|
1429
1429
|
const s = 50;
|
|
@@ -1443,7 +1443,7 @@ function Ui(n) {
|
|
|
1443
1443
|
return Di(t, i);
|
|
1444
1444
|
});
|
|
1445
1445
|
}
|
|
1446
|
-
function
|
|
1446
|
+
function Yo(n) {
|
|
1447
1447
|
const e = n.match(/href=["']([^'"]*)["']/);
|
|
1448
1448
|
if (e && e.length > 1) {
|
|
1449
1449
|
let t = e[1];
|
|
@@ -1454,10 +1454,10 @@ function Zo(n) {
|
|
|
1454
1454
|
function Di(n, e) {
|
|
1455
1455
|
return n.replace(/>[^<]*<\/a>/, `>${e}</a>`);
|
|
1456
1456
|
}
|
|
1457
|
-
function
|
|
1457
|
+
function yc(n) {
|
|
1458
1458
|
const e = /<a [^>]*aceChatGuideTitle[^>]*>[^<]*<\/a>/gm;
|
|
1459
1459
|
return n.replace(e, (t) => {
|
|
1460
|
-
const i =
|
|
1460
|
+
const i = Yo(t);
|
|
1461
1461
|
if (!i)
|
|
1462
1462
|
return t;
|
|
1463
1463
|
const s = i.split("?").pop(), o = new URLSearchParams(s).get("aceChatGuideTitle");
|
|
@@ -1466,7 +1466,7 @@ function bc(n) {
|
|
|
1466
1466
|
}
|
|
1467
1467
|
class ie {
|
|
1468
1468
|
constructor(e, t, i) {
|
|
1469
|
-
this.type = e, this.sender = t, this.messages = i, this.status = "delivered", this.didUpdate = new P(), this.actions$ = new P(), this.remove$ = new P(), this.timestamp = Date.now(), this.id =
|
|
1469
|
+
this.type = e, this.sender = t, this.messages = i, this.status = "delivered", this.didUpdate = new P(), this.actions$ = new P(), this.remove$ = new P(), this.timestamp = Date.now(), this.id = Zo();
|
|
1470
1470
|
}
|
|
1471
1471
|
update(e) {
|
|
1472
1472
|
this.messages = [
|
|
@@ -1482,7 +1482,7 @@ class ie {
|
|
|
1482
1482
|
this.remove$.next();
|
|
1483
1483
|
}
|
|
1484
1484
|
}
|
|
1485
|
-
class
|
|
1485
|
+
class $c {
|
|
1486
1486
|
constructor(e) {
|
|
1487
1487
|
this.name = e, this.print$ = new P();
|
|
1488
1488
|
}
|
|
@@ -1502,7 +1502,7 @@ class yc {
|
|
|
1502
1502
|
return this.print$.asObservable();
|
|
1503
1503
|
}
|
|
1504
1504
|
}
|
|
1505
|
-
class
|
|
1505
|
+
class wc {
|
|
1506
1506
|
constructor(e) {
|
|
1507
1507
|
this.name = e, this.print$ = new P();
|
|
1508
1508
|
}
|
|
@@ -1522,7 +1522,7 @@ class $c {
|
|
|
1522
1522
|
return this.print$.asObservable();
|
|
1523
1523
|
}
|
|
1524
1524
|
}
|
|
1525
|
-
class
|
|
1525
|
+
class xc {
|
|
1526
1526
|
constructor() {
|
|
1527
1527
|
this.print$ = new P(), this.name = "system";
|
|
1528
1528
|
}
|
|
@@ -1542,7 +1542,7 @@ class wc {
|
|
|
1542
1542
|
return this.print$.asObservable();
|
|
1543
1543
|
}
|
|
1544
1544
|
}
|
|
1545
|
-
class
|
|
1545
|
+
class kc {
|
|
1546
1546
|
constructor(e, t) {
|
|
1547
1547
|
this.name = e, this.component = t, this.print$ = new P(), this.typingState$ = new he(!1), this.complete$ = new P(), this.system = this.createSystem(), this.rehydrate$ = new P(), this.saveToCurrentSession$ = new P(), this.showChatOverlay$ = new he(!1), this.onComplete = () => this.complete$.asObservable();
|
|
1548
1548
|
}
|
|
@@ -1576,19 +1576,19 @@ class xc {
|
|
|
1576
1576
|
return this.print$.next(e), e;
|
|
1577
1577
|
}
|
|
1578
1578
|
createAgent(e) {
|
|
1579
|
-
const t = new
|
|
1579
|
+
const t = new $c(e);
|
|
1580
1580
|
return t.subscribe().subscribe((i) => {
|
|
1581
1581
|
this.playNotification(), this.printEntry(i);
|
|
1582
1582
|
}), t;
|
|
1583
1583
|
}
|
|
1584
1584
|
createUser(e) {
|
|
1585
|
-
const t = new
|
|
1585
|
+
const t = new wc(e);
|
|
1586
1586
|
return t.subscribe().subscribe((i) => {
|
|
1587
1587
|
this.printEntry(i);
|
|
1588
1588
|
}), t;
|
|
1589
1589
|
}
|
|
1590
1590
|
createSystem() {
|
|
1591
|
-
const e = new
|
|
1591
|
+
const e = new xc();
|
|
1592
1592
|
return e.subscribe().subscribe((t) => {
|
|
1593
1593
|
this.printEntry(t);
|
|
1594
1594
|
}), e;
|
|
@@ -1625,7 +1625,7 @@ class xc {
|
|
|
1625
1625
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1626
1626
|
*/
|
|
1627
1627
|
const Sn = globalThis, as = Sn.ShadowRoot && (Sn.ShadyCSS === void 0 || Sn.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, ls = Symbol(), Rr = /* @__PURE__ */ new WeakMap();
|
|
1628
|
-
let
|
|
1628
|
+
let Qo = class {
|
|
1629
1629
|
constructor(e, t, i) {
|
|
1630
1630
|
if (this._$cssResult$ = !0, i !== ls) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
1631
1631
|
this.cssText = e, this.t = t;
|
|
@@ -1643,14 +1643,14 @@ let Yo = class {
|
|
|
1643
1643
|
return this.cssText;
|
|
1644
1644
|
}
|
|
1645
1645
|
};
|
|
1646
|
-
const
|
|
1646
|
+
const Sc = (n) => new Qo(typeof n == "string" ? n : n + "", void 0, ls), R = (n, ...e) => {
|
|
1647
1647
|
const t = n.length === 1 ? n[0] : e.reduce(((i, s, r) => i + ((o) => {
|
|
1648
1648
|
if (o._$cssResult$ === !0) return o.cssText;
|
|
1649
1649
|
if (typeof o == "number") return o;
|
|
1650
1650
|
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.");
|
|
1651
1651
|
})(s) + n[r + 1]), n[0]);
|
|
1652
|
-
return new
|
|
1653
|
-
},
|
|
1652
|
+
return new Qo(t, n, ls);
|
|
1653
|
+
}, Cc = (n, e) => {
|
|
1654
1654
|
if (as) n.adoptedStyleSheets = e.map(((t) => t instanceof CSSStyleSheet ? t : t.styleSheet));
|
|
1655
1655
|
else for (const t of e) {
|
|
1656
1656
|
const i = document.createElement("style"), s = Sn.litNonce;
|
|
@@ -1659,17 +1659,17 @@ const kc = (n) => new Yo(typeof n == "string" ? n : n + "", void 0, ls), R = (n,
|
|
|
1659
1659
|
}, Lr = as ? (n) => n : (n) => n instanceof CSSStyleSheet ? ((e) => {
|
|
1660
1660
|
let t = "";
|
|
1661
1661
|
for (const i of e.cssRules) t += i.cssText;
|
|
1662
|
-
return
|
|
1662
|
+
return Sc(t);
|
|
1663
1663
|
})(n) : n;
|
|
1664
1664
|
/**
|
|
1665
1665
|
* @license
|
|
1666
1666
|
* Copyright 2017 Google LLC
|
|
1667
1667
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1668
1668
|
*/
|
|
1669
|
-
const { is:
|
|
1669
|
+
const { is: Ec, defineProperty: _c, getOwnPropertyDescriptor: Ac, getOwnPropertyNames: Tc, getOwnPropertySymbols: Oc, getPrototypeOf: Rc } = Object, Fe = globalThis, Ir = Fe.trustedTypes, Lc = Ir ? Ir.emptyScript : "", $i = Fe.reactiveElementPolyfillSupport, Ft = (n, e) => n, Rn = { toAttribute(n, e) {
|
|
1670
1670
|
switch (e) {
|
|
1671
1671
|
case Boolean:
|
|
1672
|
-
n = n ?
|
|
1672
|
+
n = n ? Lc : null;
|
|
1673
1673
|
break;
|
|
1674
1674
|
case Object:
|
|
1675
1675
|
case Array:
|
|
@@ -1694,8 +1694,8 @@ const { is: Cc, defineProperty: Ec, getOwnPropertyDescriptor: _c, getOwnProperty
|
|
|
1694
1694
|
}
|
|
1695
1695
|
}
|
|
1696
1696
|
return t;
|
|
1697
|
-
} }, cs = (n, e) => !
|
|
1698
|
-
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")),
|
|
1697
|
+
} }, cs = (n, e) => !Ec(n, e), Pr = { attribute: !0, type: String, converter: Rn, reflect: !1, useDefault: !1, hasChanged: cs };
|
|
1698
|
+
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), Fe.litPropertyMetadata ?? (Fe.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
1699
1699
|
let dt = class extends HTMLElement {
|
|
1700
1700
|
static addInitializer(e) {
|
|
1701
1701
|
this._$Ei(), (this.l ?? (this.l = [])).push(e);
|
|
@@ -1706,11 +1706,11 @@ let dt = class extends HTMLElement {
|
|
|
1706
1706
|
static createProperty(e, t = Pr) {
|
|
1707
1707
|
if (t.state && (t.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(e) && ((t = Object.create(t)).wrapped = !0), this.elementProperties.set(e, t), !t.noAccessor) {
|
|
1708
1708
|
const i = Symbol(), s = this.getPropertyDescriptor(e, i, t);
|
|
1709
|
-
s !== void 0 &&
|
|
1709
|
+
s !== void 0 && _c(this.prototype, e, s);
|
|
1710
1710
|
}
|
|
1711
1711
|
}
|
|
1712
1712
|
static getPropertyDescriptor(e, t, i) {
|
|
1713
|
-
const { get: s, set: r } =
|
|
1713
|
+
const { get: s, set: r } = Ac(this.prototype, e) ?? { get() {
|
|
1714
1714
|
return this[t];
|
|
1715
1715
|
}, set(o) {
|
|
1716
1716
|
this[t] = o;
|
|
@@ -1725,13 +1725,13 @@ let dt = class extends HTMLElement {
|
|
|
1725
1725
|
}
|
|
1726
1726
|
static _$Ei() {
|
|
1727
1727
|
if (this.hasOwnProperty(Ft("elementProperties"))) return;
|
|
1728
|
-
const e =
|
|
1728
|
+
const e = Rc(this);
|
|
1729
1729
|
e.finalize(), e.l !== void 0 && (this.l = [...e.l]), this.elementProperties = new Map(e.elementProperties);
|
|
1730
1730
|
}
|
|
1731
1731
|
static finalize() {
|
|
1732
1732
|
if (this.hasOwnProperty(Ft("finalized"))) return;
|
|
1733
1733
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(Ft("properties"))) {
|
|
1734
|
-
const t = this.properties, i = [...
|
|
1734
|
+
const t = this.properties, i = [...Tc(t), ...Oc(t)];
|
|
1735
1735
|
for (const s of i) this.createProperty(s, t[s]);
|
|
1736
1736
|
}
|
|
1737
1737
|
const e = this[Symbol.metadata];
|
|
@@ -1780,7 +1780,7 @@ let dt = class extends HTMLElement {
|
|
|
1780
1780
|
}
|
|
1781
1781
|
createRenderRoot() {
|
|
1782
1782
|
const e = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
|
1783
|
-
return
|
|
1783
|
+
return Cc(e, this.constructor.elementStyles), e;
|
|
1784
1784
|
}
|
|
1785
1785
|
connectedCallback() {
|
|
1786
1786
|
var e;
|
|
@@ -1899,59 +1899,59 @@ let dt = class extends HTMLElement {
|
|
|
1899
1899
|
firstUpdated(e) {
|
|
1900
1900
|
}
|
|
1901
1901
|
};
|
|
1902
|
-
dt.elementStyles = [], dt.shadowRootOptions = { mode: "open" }, dt[Ft("elementProperties")] = /* @__PURE__ */ new Map(), dt[Ft("finalized")] = /* @__PURE__ */ new Map(), $i == null || $i({ ReactiveElement: dt }), (
|
|
1902
|
+
dt.elementStyles = [], dt.shadowRootOptions = { mode: "open" }, dt[Ft("elementProperties")] = /* @__PURE__ */ new Map(), dt[Ft("finalized")] = /* @__PURE__ */ new Map(), $i == null || $i({ ReactiveElement: dt }), (Fe.reactiveElementVersions ?? (Fe.reactiveElementVersions = [])).push("2.1.1");
|
|
1903
1903
|
/**
|
|
1904
1904
|
* @license
|
|
1905
1905
|
* Copyright 2017 Google LLC
|
|
1906
1906
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1907
1907
|
*/
|
|
1908
|
-
const jt = globalThis, Ln = jt.trustedTypes, Mr = Ln ? Ln.createPolicy("lit-html", { createHTML: (n) => n }) : void 0,
|
|
1909
|
-
\f\r]`, It = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Nr = /-->/g, Ur = />/g,
|
|
1910
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), Dr = /'/g, Hr = /"/g,
|
|
1911
|
-
function
|
|
1908
|
+
const jt = globalThis, Ln = jt.trustedTypes, Mr = Ln ? Ln.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, Xo = "$lit$", De = `lit$${Math.random().toFixed(9).slice(2)}$`, Ko = "?" + De, Ic = `<${Ko}>`, et = document, Gt = () => et.createComment(""), Zt = (n) => n === null || typeof n != "object" && typeof n != "function", us = Array.isArray, Pc = (n) => us(n) || typeof (n == null ? void 0 : n[Symbol.iterator]) == "function", wi = `[
|
|
1909
|
+
\f\r]`, It = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Nr = /-->/g, Ur = />/g, Ze = RegExp(`>|${wi}(?:([^\\s"'>=/]+)(${wi}*=${wi}*(?:[^
|
|
1910
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Dr = /'/g, Hr = /"/g, Jo = /^(?:script|style|textarea|title)$/i, Mc = (n) => (e, ...t) => ({ _$litType$: n, strings: e, values: t }), y = Mc(1), Ie = Symbol.for("lit-noChange"), w = Symbol.for("lit-nothing"), zr = /* @__PURE__ */ new WeakMap(), Qe = et.createTreeWalker(et, 129);
|
|
1911
|
+
function ea(n, e) {
|
|
1912
1912
|
if (!us(n) || !n.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
1913
1913
|
return Mr !== void 0 ? Mr.createHTML(e) : e;
|
|
1914
1914
|
}
|
|
1915
|
-
const
|
|
1915
|
+
const Nc = (n, e) => {
|
|
1916
1916
|
const t = n.length - 1, i = [];
|
|
1917
1917
|
let s, r = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", o = It;
|
|
1918
1918
|
for (let a = 0; a < t; a++) {
|
|
1919
1919
|
const c = n[a];
|
|
1920
1920
|
let l, u, p = -1, d = 0;
|
|
1921
|
-
for (; d < c.length && (o.lastIndex = d, u = o.exec(c), u !== null); ) d = o.lastIndex, o === It ? u[1] === "!--" ? o = Nr : u[1] !== void 0 ? o = Ur : u[2] !== void 0 ? (
|
|
1922
|
-
const g = o ===
|
|
1923
|
-
r += o === It ? c +
|
|
1921
|
+
for (; d < c.length && (o.lastIndex = d, u = o.exec(c), u !== null); ) d = o.lastIndex, o === It ? u[1] === "!--" ? o = Nr : u[1] !== void 0 ? o = Ur : u[2] !== void 0 ? (Jo.test(u[2]) && (s = RegExp("</" + u[2], "g")), o = Ze) : u[3] !== void 0 && (o = Ze) : o === Ze ? u[0] === ">" ? (o = s ?? It, p = -1) : u[1] === void 0 ? p = -2 : (p = o.lastIndex - u[2].length, l = u[1], o = u[3] === void 0 ? Ze : u[3] === '"' ? Hr : Dr) : o === Hr || o === Dr ? o = Ze : o === Nr || o === Ur ? o = It : (o = Ze, s = void 0);
|
|
1922
|
+
const g = o === Ze && n[a + 1].startsWith("/>") ? " " : "";
|
|
1923
|
+
r += o === It ? c + Ic : p >= 0 ? (i.push(l), c.slice(0, p) + Xo + c.slice(p) + De + g) : c + De + (p === -2 ? a : g);
|
|
1924
1924
|
}
|
|
1925
|
-
return [
|
|
1925
|
+
return [ea(n, r + (n[t] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), i];
|
|
1926
1926
|
};
|
|
1927
|
-
let Hi = class
|
|
1927
|
+
let Hi = class ta {
|
|
1928
1928
|
constructor({ strings: e, _$litType$: t }, i) {
|
|
1929
1929
|
let s;
|
|
1930
1930
|
this.parts = [];
|
|
1931
1931
|
let r = 0, o = 0;
|
|
1932
|
-
const a = e.length - 1, c = this.parts, [l, u] =
|
|
1933
|
-
if (this.el =
|
|
1932
|
+
const a = e.length - 1, c = this.parts, [l, u] = Nc(e, t);
|
|
1933
|
+
if (this.el = ta.createElement(l, i), Qe.currentNode = this.el.content, t === 2 || t === 3) {
|
|
1934
1934
|
const p = this.el.content.firstChild;
|
|
1935
1935
|
p.replaceWith(...p.childNodes);
|
|
1936
1936
|
}
|
|
1937
|
-
for (; (s =
|
|
1937
|
+
for (; (s = Qe.nextNode()) !== null && c.length < a; ) {
|
|
1938
1938
|
if (s.nodeType === 1) {
|
|
1939
|
-
if (s.hasAttributes()) for (const p of s.getAttributeNames()) if (p.endsWith(
|
|
1940
|
-
const d = u[o++], g = s.getAttribute(p).split(
|
|
1941
|
-
c.push({ type: 1, index: r, name: m[2], strings: g, ctor: m[1] === "." ?
|
|
1942
|
-
} else p.startsWith(
|
|
1943
|
-
if (
|
|
1944
|
-
const p = s.textContent.split(
|
|
1939
|
+
if (s.hasAttributes()) for (const p of s.getAttributeNames()) if (p.endsWith(Xo)) {
|
|
1940
|
+
const d = u[o++], g = s.getAttribute(p).split(De), m = /([.?@])?(.*)/.exec(d);
|
|
1941
|
+
c.push({ type: 1, index: r, name: m[2], strings: g, ctor: m[1] === "." ? Dc : m[1] === "?" ? Hc : m[1] === "@" ? zc : Yn }), s.removeAttribute(p);
|
|
1942
|
+
} else p.startsWith(De) && (c.push({ type: 6, index: r }), s.removeAttribute(p));
|
|
1943
|
+
if (Jo.test(s.tagName)) {
|
|
1944
|
+
const p = s.textContent.split(De), d = p.length - 1;
|
|
1945
1945
|
if (d > 0) {
|
|
1946
1946
|
s.textContent = Ln ? Ln.emptyScript : "";
|
|
1947
|
-
for (let g = 0; g < d; g++) s.append(p[g], Gt()),
|
|
1947
|
+
for (let g = 0; g < d; g++) s.append(p[g], Gt()), Qe.nextNode(), c.push({ type: 2, index: ++r });
|
|
1948
1948
|
s.append(p[d], Gt());
|
|
1949
1949
|
}
|
|
1950
1950
|
}
|
|
1951
|
-
} else if (s.nodeType === 8) if (s.data ===
|
|
1951
|
+
} else if (s.nodeType === 8) if (s.data === Ko) c.push({ type: 2, index: r });
|
|
1952
1952
|
else {
|
|
1953
1953
|
let p = -1;
|
|
1954
|
-
for (; (p = s.data.indexOf(
|
|
1954
|
+
for (; (p = s.data.indexOf(De, p + 1)) !== -1; ) c.push({ type: 7, index: r }), p += De.length - 1;
|
|
1955
1955
|
}
|
|
1956
1956
|
r++;
|
|
1957
1957
|
}
|
|
@@ -1963,12 +1963,12 @@ let Hi = class ea {
|
|
|
1963
1963
|
};
|
|
1964
1964
|
function xt(n, e, t = n, i) {
|
|
1965
1965
|
var o, a;
|
|
1966
|
-
if (e ===
|
|
1966
|
+
if (e === Ie) return e;
|
|
1967
1967
|
let s = i !== void 0 ? (o = t._$Co) == null ? void 0 : o[i] : t._$Cl;
|
|
1968
1968
|
const r = Zt(e) ? void 0 : e._$litDirective$;
|
|
1969
1969
|
return (s == null ? void 0 : s.constructor) !== r && ((a = s == null ? void 0 : s._$AO) == null || a.call(s, !1), r === void 0 ? s = void 0 : (s = new r(n), s._$AT(n, t, i)), i !== void 0 ? (t._$Co ?? (t._$Co = []))[i] = s : t._$Cl = s), s !== void 0 && (e = xt(n, s._$AS(n, e.values), s, i)), e;
|
|
1970
1970
|
}
|
|
1971
|
-
class
|
|
1971
|
+
class Uc {
|
|
1972
1972
|
constructor(e, t) {
|
|
1973
1973
|
this._$AV = [], this._$AN = void 0, this._$AD = e, this._$AM = t;
|
|
1974
1974
|
}
|
|
@@ -1980,16 +1980,16 @@ class Nc {
|
|
|
1980
1980
|
}
|
|
1981
1981
|
u(e) {
|
|
1982
1982
|
const { el: { content: t }, parts: i } = this._$AD, s = ((e == null ? void 0 : e.creationScope) ?? et).importNode(t, !0);
|
|
1983
|
-
|
|
1984
|
-
let r =
|
|
1983
|
+
Qe.currentNode = s;
|
|
1984
|
+
let r = Qe.nextNode(), o = 0, a = 0, c = i[0];
|
|
1985
1985
|
for (; c !== void 0; ) {
|
|
1986
1986
|
if (o === c.index) {
|
|
1987
1987
|
let l;
|
|
1988
|
-
c.type === 2 ? l = new rn(r, r.nextSibling, this, e) : c.type === 1 ? l = new c.ctor(r, c.name, c.strings, this, e) : c.type === 6 && (l = new
|
|
1988
|
+
c.type === 2 ? l = new rn(r, r.nextSibling, this, e) : c.type === 1 ? l = new c.ctor(r, c.name, c.strings, this, e) : c.type === 6 && (l = new Fc(r, this, e)), this._$AV.push(l), c = i[++a];
|
|
1989
1989
|
}
|
|
1990
|
-
o !== (c == null ? void 0 : c.index) && (r =
|
|
1990
|
+
o !== (c == null ? void 0 : c.index) && (r = Qe.nextNode(), o++);
|
|
1991
1991
|
}
|
|
1992
|
-
return
|
|
1992
|
+
return Qe.currentNode = et, s;
|
|
1993
1993
|
}
|
|
1994
1994
|
p(e) {
|
|
1995
1995
|
let t = 0;
|
|
@@ -2016,7 +2016,7 @@ class rn {
|
|
|
2016
2016
|
return this._$AB;
|
|
2017
2017
|
}
|
|
2018
2018
|
_$AI(e, t = this) {
|
|
2019
|
-
e = xt(this, e, t), Zt(e) ? e === w || e == null || e === "" ? (this._$AH !== w && this._$AR(), this._$AH = w) : e !== this._$AH && e !==
|
|
2019
|
+
e = xt(this, e, t), Zt(e) ? e === w || e == null || e === "" ? (this._$AH !== w && this._$AR(), this._$AH = w) : e !== this._$AH && e !== Ie && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : Pc(e) ? this.k(e) : this._(e);
|
|
2020
2020
|
}
|
|
2021
2021
|
O(e) {
|
|
2022
2022
|
return this._$AA.parentNode.insertBefore(e, this._$AB);
|
|
@@ -2029,10 +2029,10 @@ class rn {
|
|
|
2029
2029
|
}
|
|
2030
2030
|
$(e) {
|
|
2031
2031
|
var r;
|
|
2032
|
-
const { values: t, _$litType$: i } = e, s = typeof i == "number" ? this._$AC(e) : (i.el === void 0 && (i.el = Hi.createElement(
|
|
2032
|
+
const { values: t, _$litType$: i } = e, s = typeof i == "number" ? this._$AC(e) : (i.el === void 0 && (i.el = Hi.createElement(ea(i.h, i.h[0]), this.options)), i);
|
|
2033
2033
|
if (((r = this._$AH) == null ? void 0 : r._$AD) === s) this._$AH.p(t);
|
|
2034
2034
|
else {
|
|
2035
|
-
const o = new
|
|
2035
|
+
const o = new Uc(s, this), a = o.u(this.options);
|
|
2036
2036
|
o.p(t), this.T(a), this._$AH = o;
|
|
2037
2037
|
}
|
|
2038
2038
|
}
|
|
@@ -2072,11 +2072,11 @@ class Yn {
|
|
|
2072
2072
|
_$AI(e, t = this, i, s) {
|
|
2073
2073
|
const r = this.strings;
|
|
2074
2074
|
let o = !1;
|
|
2075
|
-
if (r === void 0) e = xt(this, e, t, 0), o = !Zt(e) || e !== this._$AH && e !==
|
|
2075
|
+
if (r === void 0) e = xt(this, e, t, 0), o = !Zt(e) || e !== this._$AH && e !== Ie, o && (this._$AH = e);
|
|
2076
2076
|
else {
|
|
2077
2077
|
const a = e;
|
|
2078
2078
|
let c, l;
|
|
2079
|
-
for (e = r[0], c = 0; c < r.length - 1; c++) l = xt(this, a[i + c], t, c), l ===
|
|
2079
|
+
for (e = r[0], c = 0; c < r.length - 1; c++) l = xt(this, a[i + c], t, c), l === Ie && (l = this._$AH[c]), o || (o = !Zt(l) || l !== this._$AH[c]), l === w ? e = w : e !== w && (e += (l ?? "") + r[c + 1]), this._$AH[c] = l;
|
|
2080
2080
|
}
|
|
2081
2081
|
o && !s && this.j(e);
|
|
2082
2082
|
}
|
|
@@ -2084,7 +2084,7 @@ class Yn {
|
|
|
2084
2084
|
e === w ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
|
|
2085
2085
|
}
|
|
2086
2086
|
}
|
|
2087
|
-
let
|
|
2087
|
+
let Dc = class extends Yn {
|
|
2088
2088
|
constructor() {
|
|
2089
2089
|
super(...arguments), this.type = 3;
|
|
2090
2090
|
}
|
|
@@ -2092,7 +2092,7 @@ let Uc = class extends Yn {
|
|
|
2092
2092
|
this.element[this.name] = e === w ? void 0 : e;
|
|
2093
2093
|
}
|
|
2094
2094
|
};
|
|
2095
|
-
class
|
|
2095
|
+
class Hc extends Yn {
|
|
2096
2096
|
constructor() {
|
|
2097
2097
|
super(...arguments), this.type = 4;
|
|
2098
2098
|
}
|
|
@@ -2100,12 +2100,12 @@ class Dc extends Yn {
|
|
|
2100
2100
|
this.element.toggleAttribute(this.name, !!e && e !== w);
|
|
2101
2101
|
}
|
|
2102
2102
|
}
|
|
2103
|
-
class
|
|
2103
|
+
class zc extends Yn {
|
|
2104
2104
|
constructor(e, t, i, s, r) {
|
|
2105
2105
|
super(e, t, i, s, r), this.type = 5;
|
|
2106
2106
|
}
|
|
2107
2107
|
_$AI(e, t = this) {
|
|
2108
|
-
if ((e = xt(this, e, t, 0) ?? w) ===
|
|
2108
|
+
if ((e = xt(this, e, t, 0) ?? w) === Ie) return;
|
|
2109
2109
|
const i = this._$AH, s = e === w && i !== w || e.capture !== i.capture || e.once !== i.once || e.passive !== i.passive, r = e !== w && (i === w || s);
|
|
2110
2110
|
s && this.element.removeEventListener(this.name, this, i), r && this.element.addEventListener(this.name, this, e), this._$AH = e;
|
|
2111
2111
|
}
|
|
@@ -2114,7 +2114,7 @@ class Hc extends Yn {
|
|
|
2114
2114
|
typeof this._$AH == "function" ? this._$AH.call(((t = this.options) == null ? void 0 : t.host) ?? this.element, e) : this._$AH.handleEvent(e);
|
|
2115
2115
|
}
|
|
2116
2116
|
}
|
|
2117
|
-
class
|
|
2117
|
+
class Fc {
|
|
2118
2118
|
constructor(e, t, i) {
|
|
2119
2119
|
this.element = e, this.type = 6, this._$AN = void 0, this._$AM = t, this.options = i;
|
|
2120
2120
|
}
|
|
@@ -2127,7 +2127,7 @@ class zc {
|
|
|
2127
2127
|
}
|
|
2128
2128
|
const xi = jt.litHtmlPolyfillSupport;
|
|
2129
2129
|
xi == null || xi(Hi, rn), (jt.litHtmlVersions ?? (jt.litHtmlVersions = [])).push("3.3.1");
|
|
2130
|
-
const
|
|
2130
|
+
const jc = (n, e, t) => {
|
|
2131
2131
|
const i = (t == null ? void 0 : t.renderBefore) ?? e;
|
|
2132
2132
|
let s = i._$litPart$;
|
|
2133
2133
|
if (s === void 0) {
|
|
@@ -2153,7 +2153,7 @@ let A = class extends dt {
|
|
|
2153
2153
|
}
|
|
2154
2154
|
update(e) {
|
|
2155
2155
|
const t = this.render();
|
|
2156
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do =
|
|
2156
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = jc(t, this.renderRoot, this.renderOptions);
|
|
2157
2157
|
}
|
|
2158
2158
|
connectedCallback() {
|
|
2159
2159
|
var e;
|
|
@@ -2164,15 +2164,15 @@ let A = class extends dt {
|
|
|
2164
2164
|
super.disconnectedCallback(), (e = this._$Do) == null || e.setConnected(!1);
|
|
2165
2165
|
}
|
|
2166
2166
|
render() {
|
|
2167
|
-
return
|
|
2167
|
+
return Ie;
|
|
2168
2168
|
}
|
|
2169
2169
|
};
|
|
2170
|
-
var
|
|
2171
|
-
A._$litElement$ = !0, A.finalized = !0, (
|
|
2170
|
+
var Ao;
|
|
2171
|
+
A._$litElement$ = !0, A.finalized = !0, (Ao = Ke.litElementHydrateSupport) == null || Ao.call(Ke, { LitElement: A });
|
|
2172
2172
|
const ki = Ke.litElementPolyfillSupport;
|
|
2173
2173
|
ki == null || ki({ LitElement: A });
|
|
2174
2174
|
(Ke.litElementVersions ?? (Ke.litElementVersions = [])).push("4.2.1");
|
|
2175
|
-
const jc = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 60C47.464 60 60 47.464 60 32C60 16.536 47.464 4 32 4C16.536 4 4 16.536 4 32C4.01731 47.4568 16.5432 59.9827 32 60ZM32 8.30769C45.0849 8.30769 55.6923 18.9151 55.6923 32C55.6923 45.0849 45.0849 55.6923 32 55.6923C18.9151 55.6923 8.30769 45.0849 8.30769 32C8.32247 18.9212 18.9212 8.32247 32 8.30769Z"/><path d="M29.3491 38.6031V20.6807C29.348 19.8662 29.4903 19.0598 29.7675 18.3096C29.9945 17.6371 30.3484 17.0302 30.804 16.5322C31.1251 16.1524 31.5593 15.9246 32.0204 15.894C32.6852 15.894 33.3496 16.471 34.0134 17.625C34.3738 18.1337 34.5955 18.7525 34.6509 19.4042V37.3267C34.6509 37.9947 34.2454 38.6329 33.4345 39.2414C32.6632 39.835 31.7547 40.1521 30.825 40.1523C29.8423 40.1524 29.3503 39.636 29.3491 38.6031Z"/><path d="M33.66 44.6959C33.9649 45.0866 34.161 45.551 34.2284 46.0419C34.2284 46.5397 33.8893 47.0083 33.2109 47.4476C32.5638 47.8771 31.8043 48.1062 31.0275 48.1061C30.1902 48.1061 29.7716 47.7271 29.7716 46.9693C29.7703 46.3788 29.8874 45.7941 30.116 45.2496C30.3064 44.7579 30.6022 44.3138 30.9826 43.9487C31.2626 43.6591 31.6427 43.4875 32.045 43.4692C32.5635 43.4692 33.1019 43.8781 33.66 44.6959Z"/></svg>' }, ta = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M52 7H24C19.5838 7.00505 16.0051 10.5838 16 15V23H12C7.58382 23.0051 4.00505 26.5838 4 31V43C4.00505 47.4162 7.58382 50.9949 12 51H19.1699L24.8789 56.7075C25.737 57.5654 27.0273 57.8219 28.1482 57.3575C29.2692 56.8931 30 55.7993 30 54.5859V51H39.999C44.4152 50.995 47.994 47.4162 47.999 43V35H52C56.4162 34.9949 59.9949 31.4162 60 27V15C59.9949 10.5838 56.4162 7.00505 52 7ZM43.999 43C43.9967 45.2082 42.2072 46.9977 39.999 47H26V52.1724L20.8262 47H12C9.79184 46.9976 8.00235 45.2082 8 43V31C8.00235 28.7918 9.79184 27.0024 12 27H16C16.0051 31.4162 19.5838 34.9949 24 35H30V38.5859C29.999 39.7998 30.7298 40.8945 31.8512 41.359C32.9726 41.8236 34.2634 41.5664 35.1211 40.7075L40.8291 35H43.999V43ZM56 27C55.9977 29.2082 54.2082 30.9976 52 31H39.1729L34 36.1719V31H24C21.7918 30.9976 20.0024 29.2082 20 27V15C20.0024 12.7918 21.7918 11.0024 24 11H52C54.2082 11.0024 55.9977 12.7918 56 15V27Z"/></svg>' }, Bc = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 4C16.536 4 4 16.536 4 32C4 47.464 16.536 60 32 60C47.464 60 60 47.464 60 32C59.9829 16.5431 47.4569 4.01712 32 4ZM44.5613 24.5793L31.6382 43.9639C31.2806 44.5011 30.7008 44.8493 30.0586 44.9126C29.988 44.9197 29.9171 44.9232 29.8462 44.9231C29.275 44.9229 28.7272 44.696 28.3233 44.2921L19.7079 35.6767C19.1639 35.1326 18.9514 34.3396 19.1505 33.5964C19.3497 32.8533 19.9302 32.2728 20.6734 32.0736C21.4166 31.8745 22.2095 32.087 22.7536 32.631L29.5117 39.3881L40.9772 22.1899C41.4016 21.5439 42.1396 21.1749 42.9111 21.2229C43.6825 21.2709 44.3691 21.7286 44.7101 22.4223C45.0511 23.1159 44.9944 23.9391 44.5613 24.5793Z"/></svg>' }, na = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M31.9998 4C16.5358 4 3.99976 16.536 3.99976 32C3.99976 47.464 16.5358 60 31.9998 60C47.4637 60 59.9998 47.464 59.9998 32C59.9826 16.5431 47.4566 4.01712 31.9998 4ZM31.9998 55.6923C18.9149 55.6923 8.30745 45.0849 8.30745 32C8.30745 18.9151 18.9149 8.30769 31.9998 8.30769C45.0847 8.30769 55.6921 18.9151 55.6921 32C55.6773 45.0788 45.0785 55.6775 31.9998 55.6923ZM44.5611 24.5793L31.638 43.9639C31.2804 44.5011 30.7005 44.8493 30.0584 44.9126C29.9878 44.9197 29.9169 44.9232 29.8459 44.9231C29.2747 44.9229 28.727 44.696 28.3231 44.2921L19.7077 35.6767C19.1636 35.1326 18.9512 34.3396 19.1503 33.5964C19.3494 32.8533 19.9299 32.2728 20.6731 32.0736C21.4163 31.8745 22.2093 32.087 22.7534 32.631L29.5115 39.3881L40.9769 22.1899C41.4013 21.5439 42.1394 21.1749 42.9108 21.2229C43.6823 21.2709 44.3688 21.7286 44.7099 22.4223C45.0509 23.1159 44.9941 23.9391 44.5611 24.5793Z"/></svg>' }, qc = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M57.5438 13.4967L28.717 50.5596C27.9537 51.5407 26.8061 52.147 25.5654 52.2248C25.4755 52.2301 25.3856 52.2332 25.2967 52.2332C24.1476 52.233 23.0455 51.7763 22.233 50.9637L6.63458 35.3654C6.08729 34.8181 5.87354 34.0204 6.07387 33.2728C6.27419 32.5252 6.85815 31.9412 7.60577 31.7409C8.35339 31.5406 9.15109 31.7543 9.69838 32.3016L25.2967 47.8999L54.1225 10.837C54.5976 10.2258 55.3626 9.91453 56.1295 10.0204C56.8963 10.1263 57.5484 10.6332 57.8402 11.3502C58.1319 12.0673 58.0189 12.8855 57.5438 13.4967Z"/></svg>' }, ia = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M53.0318 24.8653L33.5318 44.3653C33.1256 44.7717 32.5745 45.0001 31.9999 45.0001C31.4253 45.0001 30.8742 44.7717 30.468 44.3653L10.968 24.8653C10.122 24.0193 10.122 22.6476 10.968 21.8015C11.8141 20.9555 13.1858 20.9555 14.0318 21.8015L31.9999 39.7696L49.968 21.8015C50.8141 20.9555 52.1858 20.9555 53.0318 21.8015C53.8779 22.6476 53.8779 24.0193 53.0318 24.8653Z"/></svg>' }, Vc = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 56C45.2548 56 56 45.2548 56 32C56 18.7452 45.2548 8 32 8C18.7452 8 8 18.7452 8 32C8 45.2548 18.7452 56 32 56ZM32 60C47.464 60 60 47.464 60 32C60 16.536 47.464 4 32 4C16.536 4 4 16.536 4 32C4 47.464 16.536 60 32 60Z"/><path d="M25.2772 22.695C24.5164 21.8942 23.2505 21.8617 22.4497 22.6225C21.6488 23.3833 21.6164 24.6492 22.3772 25.45L29.2411 32.6752L22.4773 39.795C21.7166 40.5958 21.749 41.8617 22.5498 42.6225C23.3507 43.3833 24.6166 43.3508 25.3773 42.55L31.9998 35.5791L38.6222 42.55C39.3829 43.3508 40.6488 43.3833 41.4497 42.6225C42.2505 41.8617 42.2829 40.5958 41.5222 39.795L34.7584 32.6752L41.6223 25.45C42.3831 24.6492 42.3507 23.3833 41.5498 22.6225C40.749 21.8617 39.4831 21.8942 38.7224 22.695L31.9998 29.7714L25.2772 22.695Z"/></svg>' }, sa = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M51.365 48.3012C51.9123 48.8485 52.1261 49.6462 51.9258 50.3939C51.7254 51.1415 51.1415 51.7254 50.3939 51.9258C49.6462 52.1261 48.8485 51.9123 48.3012 51.365L32.4998 35.5636L16.6984 51.365C16.1511 51.9123 15.3534 52.1261 14.6058 51.9258C13.8581 51.7254 13.2742 51.1415 13.0739 50.3939C12.8735 49.6462 13.0873 48.8485 13.6346 48.3012L29.436 32.4998L13.6346 16.6984C13.0873 16.1511 12.8735 15.3534 13.0739 14.6058C13.2742 13.8581 13.8581 13.2742 14.6058 13.0739C15.3534 12.8735 16.1511 13.0873 16.6984 13.6346L32.4998 29.436L48.3012 13.6346C49.1473 12.7885 50.519 12.7885 51.365 13.6346C52.2111 14.4806 52.2111 15.8523 51.365 16.6984L35.5636 32.4998L51.365 48.3012Z"/></svg>' }, Wc = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M58.2618 43.8838L38.8585 11.5469C37.4136 9.13651 34.8097 7.66134 31.9994 7.66113C29.1891 7.66093 26.585 9.13572 25.1397 11.5459L5.73642 43.8838C4.25367 46.3552 4.21482 49.4331 5.6347 51.9411C7.05459 54.4492 9.71372 55.9997 12.5958 56H51.4024C54.2845 55.9997 56.9436 54.4492 58.3635 51.9411C59.7834 49.4331 59.7446 46.3552 58.2618 43.8838ZM29.9991 36.9772V25.1569C29.9983 24.6198 30.1056 24.0879 30.3148 23.5932C30.486 23.1496 30.753 22.7494 31.0968 22.4209C31.339 22.1704 31.6666 22.0202 32.0145 22C32.5161 22 33.0173 22.3805 33.5182 23.1416C33.7901 23.4771 33.9573 23.8852 33.9991 24.3151V36.1354C33.9991 36.5759 33.6932 36.9969 33.0814 37.3982C32.4994 37.7897 31.814 37.9988 31.1126 37.999C30.3712 37.999 30 37.6584 29.9991 36.9772ZM34.2408 43.9236C34.173 43.4297 33.9757 42.9626 33.669 42.5696C33.1076 41.7469 32.566 41.3355 32.0444 41.3355C31.6396 41.354 31.2573 41.5266 30.9757 41.8179C30.593 42.1852 30.2954 42.6319 30.1039 43.1266C29.874 43.6743 29.7562 44.2625 29.7574 44.8565C29.7574 45.6189 30.1786 46 31.0208 46C31.8022 46.0001 32.5662 45.7697 33.2173 45.3377C33.8996 44.8957 34.2408 44.4243 34.2408 43.9236Z"/></svg>' }, zi = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path d="M59.9139 23.8477V7.90923C59.902 5.75094 58.1522 4.00588 55.9939 4H40.0554C38.8659 4 37.9016 4.96431 37.9016 6.15385C37.9016 7.34338 38.8659 8.30769 40.0554 8.30769H52.4616L29.8462 30.9231C29.4417 31.3271 29.2145 31.8753 29.2145 32.4469C29.2145 33.0186 29.4417 33.5668 29.8462 33.9708C30.2394 34.3609 30.7677 34.5846 31.3216 34.5954C31.8941 34.5987 32.4443 34.3739 32.8508 33.9708L55.6062 11.2046V23.8477C55.6062 25.0372 56.5705 26.0015 57.76 26.0015C58.9495 26.0015 59.9139 25.0372 59.9139 23.8477Z"/><path d="M12.217 60H47.4001C51.9189 59.9942 55.5874 56.3449 55.617 51.8262V38.4615C55.617 37.272 54.6527 36.3077 53.4631 36.3077C52.2736 36.3077 51.3093 37.272 51.3093 38.4615V51.7831C51.3034 53.9396 49.5566 55.6864 47.4001 55.6923H12.217C10.0771 55.6866 8.33714 53.9659 8.30776 51.8262V16.5569C8.29914 15.5145 8.7072 14.5119 9.44126 13.7718C10.1753 13.0316 11.1746 12.6153 12.217 12.6154H25.5385C26.7281 12.6154 27.6924 11.6511 27.6924 10.4615C27.6924 9.272 26.7281 8.30769 25.5385 8.30769H12.217C10.0321 8.30767 7.9372 9.17782 6.39529 10.7258C4.85339 12.2738 3.99147 14.3721 4.00006 16.5569V51.8262C4.02963 56.3449 7.6981 59.9942 12.217 60Z"/></svg>' }, Fr = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M51.4283 11.6761L53.1768 9.53891C53.9347 8.61282 53.7982 7.24774 52.8722 6.48993C51.9461 5.73211 50.581 5.86852 49.8232 6.79461L36.3333 23.2822V13.3972C36.3332 11.6447 35.2774 10.0648 33.6583 9.39418C32.0391 8.72356 30.1755 9.09425 28.9362 10.3334L18.1029 21.1668H14.6667C9.88247 21.1722 6.00547 25.0492 6 29.8334V34.1668C6.00547 38.951 9.88247 42.828 14.6667 42.8334H18.1029L19.3315 44.0621L10.8232 54.4613C10.0653 55.3874 10.2018 56.7525 11.1279 57.5103C12.0539 58.2681 13.419 58.1317 14.1768 57.2056L22.411 47.1416L28.9362 53.6668C30.1755 54.9059 32.0391 55.2766 33.6583 54.606C35.2774 53.9354 36.3332 52.3555 36.3333 50.603V30.1254L42.6092 22.4549C44.2201 25.3756 45.044 28.6649 45 32.0001C45.1184 36.1899 43.7698 40.2896 41.1872 43.5909C40.409 44.5001 40.5152 45.8679 41.4243 46.6461C42.3334 47.4243 43.7012 47.3183 44.4795 46.4093C47.7313 42.3208 49.4486 37.2227 49.3333 32.0001C49.403 27.3538 48.067 22.7949 45.5005 18.9211L48.6119 15.1182C52.019 20.0793 53.7867 25.9829 53.6667 32.0001C53.6667 39.0587 51.4873 45.6518 47.6872 50.0909C46.909 51.0001 47.0152 52.3679 47.9243 53.1461C48.8334 53.9243 50.2012 53.8183 50.9795 52.9093C55.4408 47.6968 58 40.0764 58 32.0001C58 24.21 55.6006 16.8662 51.4283 11.6761ZM19.8971 38.5H14.6667C12.2744 38.4977 10.3357 36.559 10.3333 34.1667V29.8334C10.3357 27.4411 12.2744 25.5024 14.6667 25.5H19.8971L32 13.3972V28.5784L22.089 40.6919L19.8971 38.5ZM31.9997 50.603L25.1682 43.7715L31.9997 35.4218V50.603Z"/></svg>' }, Gc = { name: "question", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 4C16.536 4 4 16.536 4 32C4 47.464 16.536 60 32 60C47.464 60 60 47.464 60 32C59.9827 16.5432 47.4568 4.01731 32 4ZM32 55.6923C18.9151 55.6923 8.30769 45.0849 8.30769 32C8.30769 18.9151 18.9151 8.30769 32 8.30769C45.0849 8.30769 55.6923 18.9151 55.6923 32C55.6775 45.0788 45.0788 55.6775 32 55.6923Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M31.9423 37.5723L36.311 32.9068L36.7354 32.4448C39.7555 29.1161 40.7645 27.0647 40.7645 24.5087C40.7645 23.1091 40.4251 21.7942 39.7041 20.6491C38.3044 18.3587 35.6323 16.9166 32.2816 16.9166C28.7565 16.9166 25.3125 18.7414 23.2581 21.6772L23.1201 21.8791C22.8232 22.3032 22.696 22.6849 22.696 22.9818C22.696 23.7029 23.926 25.9932 25.2833 25.9932C25.5378 25.9932 25.7922 25.9084 26.0467 25.7388C26.2588 25.5691 26.5981 25.2298 27.0647 24.7208C28.8885 22.6849 30.1185 21.9215 31.7726 21.9215C33.6813 21.9215 35.081 23.1939 35.081 24.8905C35.081 26.375 34.2751 27.7746 32.3664 29.8529L28.2523 34.2216C27.9554 34.6033 27.7857 34.9426 27.7857 35.282C27.7857 35.6213 27.9978 36.1726 28.4219 36.8937C29.0581 37.8692 29.7368 38.3782 30.4578 38.3782C30.9244 38.3782 31.3909 38.1237 31.9423 37.5723ZM30.882 47.4972C29.2278 47.4972 27.6585 44.7403 27.6585 43.6799C27.6585 42.1954 30.0761 40.6261 32.4089 40.6261C33.6389 40.6261 34.2751 41.1775 34.2751 42.3227C34.2751 44.0616 33.4692 45.843 32.4513 46.7761C31.9423 47.2427 31.4334 47.4972 30.882 47.4972Z"/></svg>' }, ra = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M8.41642 6.29292C5.99705 5.18016 3.38612 7.41823 4.12858 9.96847L10.5427 32L4.12858 54.0315C3.38612 56.5818 5.99704 58.8198 8.41642 57.7071L58.1942 34.8125C60.6019 33.7051 60.6019 30.2949 58.1942 29.1875L8.41642 6.29292ZM14.2569 29.9351L8.74174 10.9913L49.9295 29.9351H14.2569ZM14.2568 34.0651L8.74174 53.0087L49.9291 34.0651H14.2568Z"/></svg>' }, jr = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M33.6578 9.3322C32.0391 8.65799 30.1735 9.02919 28.9362 10.2717L18.1029 21.105H14.6667C9.88247 21.1105 6.00547 24.9875 6 29.7717V34.105C6.00547 38.8892 9.88247 42.7662 14.6667 42.7717H18.1029L28.9362 53.605C30.1755 54.8442 32.0391 55.2149 33.6583 54.5442C35.2774 53.8736 36.3332 52.2937 36.3333 50.5412V13.3355C36.3365 11.5817 35.2794 10.0001 33.6578 9.3322ZM32 50.5411L19.8971 38.4382H14.6667C12.2744 38.4358 10.3357 36.4971 10.3333 34.1049V29.7716C10.3357 27.3793 12.2744 25.4406 14.6667 25.4382H19.8971L32 13.3353V50.5411ZM49.3334 31.9383C49.4487 37.161 47.7314 42.2591 44.4796 46.3475C43.7013 47.2565 42.3335 47.3625 41.4244 46.5843C40.5153 45.8061 40.4092 44.4383 41.1873 43.5291C43.7699 40.2278 45.1185 36.1282 45.0001 31.9383C45.1185 27.7485 43.7699 23.6488 41.1873 20.3475C40.4092 19.4383 40.5153 18.0705 41.4244 17.2923C42.3335 16.5141 43.7013 16.6201 44.4796 17.5291C47.7314 21.6176 49.4487 26.7157 49.3334 31.9383ZM58.0001 31.9383C58.0001 40.0147 55.441 47.635 50.9796 52.8475C50.2013 53.7565 48.8335 53.8625 47.9244 53.0843C47.0153 52.3061 46.9092 50.9383 47.6873 50.0291C51.4874 45.59 53.6668 38.9969 53.6668 31.9383C53.6668 24.8797 51.4874 18.2866 47.6873 13.8475C46.9092 12.9383 47.0153 11.5705 47.9244 10.7923C48.8335 10.0141 50.2013 10.1201 50.9796 11.0291C55.441 16.2416 58.0001 23.862 58.0001 31.9383Z"/></svg>' }, Zc = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M27.2561 39.1924C27.3201 40.5364 28.0241 41.1764 29.3681 41.1764C32.1201 41.1764 34.8081 39.3844 34.8721 37.5924L35.8961 12.3764C35.8961 10.6484 35.0001 9.81641 33.1441 9.81641C29.6241 9.81641 25.9761 12.1844 25.9761 14.4244L27.2561 39.1924ZM30.9041 55.3847C28.4081 55.3847 26.0401 51.2247 26.0401 49.6247C26.0401 47.3847 29.6881 45.0167 33.2081 45.0167C35.0641 45.0167 36.0241 45.8487 36.0241 47.5767C36.0241 50.2007 34.8081 52.8887 33.2721 54.2967C32.5041 55.0007 31.7361 55.3847 30.9041 55.3847Z"/></svg>' }, pt = {
|
|
2175
|
+
const Bc = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 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>' }, na = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M52 7H24C19.5838 7.00505 16.0051 10.5838 16 15V23H12C7.58382 23.0051 4.00505 26.5838 4 31V43C4.00505 47.4162 7.58382 50.9949 12 51H19.1699L24.8789 56.7075C25.737 57.5654 27.0273 57.8219 28.1482 57.3575C29.2692 56.8931 30 55.7993 30 54.5859V51H39.999C44.4152 50.995 47.994 47.4162 47.999 43V35H52C56.4162 34.9949 59.9949 31.4162 60 27V15C59.9949 10.5838 56.4162 7.00505 52 7ZM43.999 43C43.9967 45.2082 42.2072 46.9977 39.999 47H26V52.1724L20.8262 47H12C9.79184 46.9976 8.00235 45.2082 8 43V31C8.00235 28.7918 9.79184 27.0024 12 27H16C16.0051 31.4162 19.5838 34.9949 24 35H30V38.5859C29.999 39.7998 30.7298 40.8945 31.8512 41.359C32.9726 41.8236 34.2634 41.5664 35.1211 40.7075L40.8291 35H43.999V43ZM56 27C55.9977 29.2082 54.2082 30.9976 52 31H39.1729L34 36.1719V31H24C21.7918 30.9976 20.0024 29.2082 20 27V15C20.0024 12.7918 21.7918 11.0024 24 11H52C54.2082 11.0024 55.9977 12.7918 56 15V27Z"/></svg>' }, qc = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="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>' }, ia = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M31.9998 4C16.5358 4 3.99976 16.536 3.99976 32C3.99976 47.464 16.5358 60 31.9998 60C47.4637 60 59.9998 47.464 59.9998 32C59.9826 16.5431 47.4566 4.01712 31.9998 4ZM31.9998 55.6923C18.9149 55.6923 8.30745 45.0849 8.30745 32C8.30745 18.9151 18.9149 8.30769 31.9998 8.30769C45.0847 8.30769 55.6921 18.9151 55.6921 32C55.6773 45.0788 45.0785 55.6775 31.9998 55.6923ZM44.5611 24.5793L31.638 43.9639C31.2804 44.5011 30.7005 44.8493 30.0584 44.9126C29.9878 44.9197 29.9169 44.9232 29.8459 44.9231C29.2747 44.9229 28.727 44.696 28.3231 44.2921L19.7077 35.6767C19.1636 35.1326 18.9512 34.3396 19.1503 33.5964C19.3494 32.8533 19.9299 32.2728 20.6731 32.0736C21.4163 31.8745 22.2093 32.087 22.7534 32.631L29.5115 39.3881L40.9769 22.1899C41.4013 21.5439 42.1394 21.1749 42.9108 21.2229C43.6823 21.2709 44.3688 21.7286 44.7099 22.4223C45.0509 23.1159 44.9941 23.9391 44.5611 24.5793Z"/></svg>' }, Vc = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M57.5438 13.4967L28.717 50.5596C27.9537 51.5407 26.8061 52.147 25.5654 52.2248C25.4755 52.2301 25.3856 52.2332 25.2967 52.2332C24.1476 52.233 23.0455 51.7763 22.233 50.9637L6.63458 35.3654C6.08729 34.8181 5.87354 34.0204 6.07387 33.2728C6.27419 32.5252 6.85815 31.9412 7.60577 31.7409C8.35339 31.5406 9.15109 31.7543 9.69838 32.3016L25.2967 47.8999L54.1225 10.837C54.5976 10.2258 55.3626 9.91453 56.1295 10.0204C56.8963 10.1263 57.5484 10.6332 57.8402 11.3502C58.1319 12.0673 58.0189 12.8855 57.5438 13.4967Z"/></svg>' }, sa = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M53.0318 24.8653L33.5318 44.3653C33.1256 44.7717 32.5745 45.0001 31.9999 45.0001C31.4253 45.0001 30.8742 44.7717 30.468 44.3653L10.968 24.8653C10.122 24.0193 10.122 22.6476 10.968 21.8015C11.8141 20.9555 13.1858 20.9555 14.0318 21.8015L31.9999 39.7696L49.968 21.8015C50.8141 20.9555 52.1858 20.9555 53.0318 21.8015C53.8779 22.6476 53.8779 24.0193 53.0318 24.8653Z"/></svg>' }, Wc = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 56C45.2548 56 56 45.2548 56 32C56 18.7452 45.2548 8 32 8C18.7452 8 8 18.7452 8 32C8 45.2548 18.7452 56 32 56ZM32 60C47.464 60 60 47.464 60 32C60 16.536 47.464 4 32 4C16.536 4 4 16.536 4 32C4 47.464 16.536 60 32 60Z"/><path d="M25.2772 22.695C24.5164 21.8942 23.2505 21.8617 22.4497 22.6225C21.6488 23.3833 21.6164 24.6492 22.3772 25.45L29.2411 32.6752L22.4773 39.795C21.7166 40.5958 21.749 41.8617 22.5498 42.6225C23.3507 43.3833 24.6166 43.3508 25.3773 42.55L31.9998 35.5791L38.6222 42.55C39.3829 43.3508 40.6488 43.3833 41.4497 42.6225C42.2505 41.8617 42.2829 40.5958 41.5222 39.795L34.7584 32.6752L41.6223 25.45C42.3831 24.6492 42.3507 23.3833 41.5498 22.6225C40.749 21.8617 39.4831 21.8942 38.7224 22.695L31.9998 29.7714L25.2772 22.695Z"/></svg>' }, ra = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M51.365 48.3012C51.9123 48.8485 52.1261 49.6462 51.9258 50.3939C51.7254 51.1415 51.1415 51.7254 50.3939 51.9258C49.6462 52.1261 48.8485 51.9123 48.3012 51.365L32.4998 35.5636L16.6984 51.365C16.1511 51.9123 15.3534 52.1261 14.6058 51.9258C13.8581 51.7254 13.2742 51.1415 13.0739 50.3939C12.8735 49.6462 13.0873 48.8485 13.6346 48.3012L29.436 32.4998L13.6346 16.6984C13.0873 16.1511 12.8735 15.3534 13.0739 14.6058C13.2742 13.8581 13.8581 13.2742 14.6058 13.0739C15.3534 12.8735 16.1511 13.0873 16.6984 13.6346L32.4998 29.436L48.3012 13.6346C49.1473 12.7885 50.519 12.7885 51.365 13.6346C52.2111 14.4806 52.2111 15.8523 51.365 16.6984L35.5636 32.4998L51.365 48.3012Z"/></svg>' }, Gc = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M58.2618 43.8838L38.8585 11.5469C37.4136 9.13651 34.8097 7.66134 31.9994 7.66113C29.1891 7.66093 26.585 9.13572 25.1397 11.5459L5.73642 43.8838C4.25367 46.3552 4.21482 49.4331 5.6347 51.9411C7.05459 54.4492 9.71372 55.9997 12.5958 56H51.4024C54.2845 55.9997 56.9436 54.4492 58.3635 51.9411C59.7834 49.4331 59.7446 46.3552 58.2618 43.8838ZM29.9991 36.9772V25.1569C29.9983 24.6198 30.1056 24.0879 30.3148 23.5932C30.486 23.1496 30.753 22.7494 31.0968 22.4209C31.339 22.1704 31.6666 22.0202 32.0145 22C32.5161 22 33.0173 22.3805 33.5182 23.1416C33.7901 23.4771 33.9573 23.8852 33.9991 24.3151V36.1354C33.9991 36.5759 33.6932 36.9969 33.0814 37.3982C32.4994 37.7897 31.814 37.9988 31.1126 37.999C30.3712 37.999 30 37.6584 29.9991 36.9772ZM34.2408 43.9236C34.173 43.4297 33.9757 42.9626 33.669 42.5696C33.1076 41.7469 32.566 41.3355 32.0444 41.3355C31.6396 41.354 31.2573 41.5266 30.9757 41.8179C30.593 42.1852 30.2954 42.6319 30.1039 43.1266C29.874 43.6743 29.7562 44.2625 29.7574 44.8565C29.7574 45.6189 30.1786 46 31.0208 46C31.8022 46.0001 32.5662 45.7697 33.2173 45.3377C33.8996 44.8957 34.2408 44.4243 34.2408 43.9236Z"/></svg>' }, zi = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path d="M59.9139 23.8477V7.90923C59.902 5.75094 58.1522 4.00588 55.9939 4H40.0554C38.8659 4 37.9016 4.96431 37.9016 6.15385C37.9016 7.34338 38.8659 8.30769 40.0554 8.30769H52.4616L29.8462 30.9231C29.4417 31.3271 29.2145 31.8753 29.2145 32.4469C29.2145 33.0186 29.4417 33.5668 29.8462 33.9708C30.2394 34.3609 30.7677 34.5846 31.3216 34.5954C31.8941 34.5987 32.4443 34.3739 32.8508 33.9708L55.6062 11.2046V23.8477C55.6062 25.0372 56.5705 26.0015 57.76 26.0015C58.9495 26.0015 59.9139 25.0372 59.9139 23.8477Z"/><path d="M12.217 60H47.4001C51.9189 59.9942 55.5874 56.3449 55.617 51.8262V38.4615C55.617 37.272 54.6527 36.3077 53.4631 36.3077C52.2736 36.3077 51.3093 37.272 51.3093 38.4615V51.7831C51.3034 53.9396 49.5566 55.6864 47.4001 55.6923H12.217C10.0771 55.6866 8.33714 53.9659 8.30776 51.8262V16.5569C8.29914 15.5145 8.7072 14.5119 9.44126 13.7718C10.1753 13.0316 11.1746 12.6153 12.217 12.6154H25.5385C26.7281 12.6154 27.6924 11.6511 27.6924 10.4615C27.6924 9.272 26.7281 8.30769 25.5385 8.30769H12.217C10.0321 8.30767 7.9372 9.17782 6.39529 10.7258C4.85339 12.2738 3.99147 14.3721 4.00006 16.5569V51.8262C4.02963 56.3449 7.6981 59.9942 12.217 60Z"/></svg>' }, Fr = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M51.4283 11.6761L53.1768 9.53891C53.9347 8.61282 53.7982 7.24774 52.8722 6.48993C51.9461 5.73211 50.581 5.86852 49.8232 6.79461L36.3333 23.2822V13.3972C36.3332 11.6447 35.2774 10.0648 33.6583 9.39418C32.0391 8.72356 30.1755 9.09425 28.9362 10.3334L18.1029 21.1668H14.6667C9.88247 21.1722 6.00547 25.0492 6 29.8334V34.1668C6.00547 38.951 9.88247 42.828 14.6667 42.8334H18.1029L19.3315 44.0621L10.8232 54.4613C10.0653 55.3874 10.2018 56.7525 11.1279 57.5103C12.0539 58.2681 13.419 58.1317 14.1768 57.2056L22.411 47.1416L28.9362 53.6668C30.1755 54.9059 32.0391 55.2766 33.6583 54.606C35.2774 53.9354 36.3332 52.3555 36.3333 50.603V30.1254L42.6092 22.4549C44.2201 25.3756 45.044 28.6649 45 32.0001C45.1184 36.1899 43.7698 40.2896 41.1872 43.5909C40.409 44.5001 40.5152 45.8679 41.4243 46.6461C42.3334 47.4243 43.7012 47.3183 44.4795 46.4093C47.7313 42.3208 49.4486 37.2227 49.3333 32.0001C49.403 27.3538 48.067 22.7949 45.5005 18.9211L48.6119 15.1182C52.019 20.0793 53.7867 25.9829 53.6667 32.0001C53.6667 39.0587 51.4873 45.6518 47.6872 50.0909C46.909 51.0001 47.0152 52.3679 47.9243 53.1461C48.8334 53.9243 50.2012 53.8183 50.9795 52.9093C55.4408 47.6968 58 40.0764 58 32.0001C58 24.21 55.6006 16.8662 51.4283 11.6761ZM19.8971 38.5H14.6667C12.2744 38.4977 10.3357 36.559 10.3333 34.1667V29.8334C10.3357 27.4411 12.2744 25.5024 14.6667 25.5H19.8971L32 13.3972V28.5784L22.089 40.6919L19.8971 38.5ZM31.9997 50.603L25.1682 43.7715L31.9997 35.4218V50.603Z"/></svg>' }, Zc = { name: "question", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 4C16.536 4 4 16.536 4 32C4 47.464 16.536 60 32 60C47.464 60 60 47.464 60 32C59.9827 16.5432 47.4568 4.01731 32 4ZM32 55.6923C18.9151 55.6923 8.30769 45.0849 8.30769 32C8.30769 18.9151 18.9151 8.30769 32 8.30769C45.0849 8.30769 55.6923 18.9151 55.6923 32C55.6775 45.0788 45.0788 55.6775 32 55.6923Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M31.9423 37.5723L36.311 32.9068L36.7354 32.4448C39.7555 29.1161 40.7645 27.0647 40.7645 24.5087C40.7645 23.1091 40.4251 21.7942 39.7041 20.6491C38.3044 18.3587 35.6323 16.9166 32.2816 16.9166C28.7565 16.9166 25.3125 18.7414 23.2581 21.6772L23.1201 21.8791C22.8232 22.3032 22.696 22.6849 22.696 22.9818C22.696 23.7029 23.926 25.9932 25.2833 25.9932C25.5378 25.9932 25.7922 25.9084 26.0467 25.7388C26.2588 25.5691 26.5981 25.2298 27.0647 24.7208C28.8885 22.6849 30.1185 21.9215 31.7726 21.9215C33.6813 21.9215 35.081 23.1939 35.081 24.8905C35.081 26.375 34.2751 27.7746 32.3664 29.8529L28.2523 34.2216C27.9554 34.6033 27.7857 34.9426 27.7857 35.282C27.7857 35.6213 27.9978 36.1726 28.4219 36.8937C29.0581 37.8692 29.7368 38.3782 30.4578 38.3782C30.9244 38.3782 31.3909 38.1237 31.9423 37.5723ZM30.882 47.4972C29.2278 47.4972 27.6585 44.7403 27.6585 43.6799C27.6585 42.1954 30.0761 40.6261 32.4089 40.6261C33.6389 40.6261 34.2751 41.1775 34.2751 42.3227C34.2751 44.0616 33.4692 45.843 32.4513 46.7761C31.9423 47.2427 31.4334 47.4972 30.882 47.4972Z"/></svg>' }, oa = { 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>' }, jr = { 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>' }, Br = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M27.2561 39.1924C27.3201 40.5364 28.0241 41.1764 29.3681 41.1764C32.1201 41.1764 34.8081 39.3844 34.8721 37.5924L35.8961 12.3764C35.8961 10.6484 35.0001 9.81641 33.1441 9.81641C29.6241 9.81641 25.9761 12.1844 25.9761 14.4244L27.2561 39.1924ZM30.9041 55.3847C28.4081 55.3847 26.0401 51.2247 26.0401 49.6247C26.0401 47.3847 29.6881 45.0167 33.2081 45.0167C35.0641 45.0167 36.0241 45.8487 36.0241 47.5767C36.0241 50.2007 34.8081 52.8887 33.2721 54.2967C32.5041 55.0007 31.7361 55.3847 30.9041 55.3847Z"/></svg>' }, pt = {
|
|
2176
2176
|
allRenderFn: !1,
|
|
2177
2177
|
cmpDidLoad: !0,
|
|
2178
2178
|
cmpDidUnload: !1,
|
|
@@ -2256,8 +2256,8 @@ const jc = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" f
|
|
|
2256
2256
|
transformTagName: !1,
|
|
2257
2257
|
attachStyles: !0
|
|
2258
2258
|
};
|
|
2259
|
-
let ft,
|
|
2260
|
-
const Xn = typeof window < "u" ? window : {}, $e = Xn.document || { head: {} },
|
|
2259
|
+
let ft, aa, Qn, la = !1, In = !1, hs = !1, te = !1, qr = null, Fi = !1;
|
|
2260
|
+
const Xn = typeof window < "u" ? window : {}, $e = Xn.document || { head: {} }, ca = Xn.HTMLElement || class {
|
|
2261
2261
|
}, X = {
|
|
2262
2262
|
$flags$: 0,
|
|
2263
2263
|
$resourcesUrl$: "",
|
|
@@ -2283,7 +2283,7 @@ const Xn = typeof window < "u" ? window : {}, $e = Xn.document || { head: {} },
|
|
|
2283
2283
|
} catch {
|
|
2284
2284
|
}
|
|
2285
2285
|
return !1;
|
|
2286
|
-
})(),
|
|
2286
|
+
})(), ua = (n, e, t, i) => {
|
|
2287
2287
|
t && t.map(([s, r, o]) => {
|
|
2288
2288
|
const a = Jc(n, s), c = Kc(e, o), l = eu(s);
|
|
2289
2289
|
X.ael(a, r, c, l), (e.$rmListeners$ = e.$rmListeners$ || []).push(() => X.rel(a, r, c, l));
|
|
@@ -2297,23 +2297,23 @@ const Xn = typeof window < "u" ? window : {}, $e = Xn.document || { head: {} },
|
|
|
2297
2297
|
}, Jc = (n, e) => e & 4 ? $e : e & 8 ? Xn : e & 16 ? $e.body : n, eu = (n) => Yc ? {
|
|
2298
2298
|
passive: (n & 1) !== 0,
|
|
2299
2299
|
capture: (n & 2) !== 0
|
|
2300
|
-
} : (n & 2) !== 0,
|
|
2301
|
-
},
|
|
2300
|
+
} : (n & 2) !== 0, Vr = "http://www.w3.org/1999/xlink", tt = (n, e = "") => () => {
|
|
2301
|
+
}, Wr = /* @__PURE__ */ new WeakMap(), tu = (n, e, t) => {
|
|
2302
2302
|
let i = Nn.get(n);
|
|
2303
2303
|
Xc && t ? (i = i || new CSSStyleSheet(), i.replace(e)) : i = e, Nn.set(n, i);
|
|
2304
2304
|
}, nu = (n, e, t, i) => {
|
|
2305
|
-
let s =
|
|
2305
|
+
let s = ha(e, t), r = Nn.get(s);
|
|
2306
2306
|
if (n = n.nodeType === 11 ? n : $e, r)
|
|
2307
2307
|
if (typeof r == "string") {
|
|
2308
2308
|
n = n.head || n;
|
|
2309
|
-
let o =
|
|
2310
|
-
o ||
|
|
2309
|
+
let o = Wr.get(n), a;
|
|
2310
|
+
o || Wr.set(n, o = /* @__PURE__ */ new Set()), o.has(s) || (a = $e.createElement("style"), a.innerHTML = r, n.insertBefore(a, n.querySelector("link")), o && o.add(s));
|
|
2311
2311
|
} else n.adoptedStyleSheets.includes(r) || (n.adoptedStyleSheets = [...n.adoptedStyleSheets, r]);
|
|
2312
2312
|
return s;
|
|
2313
2313
|
}, iu = (n) => {
|
|
2314
2314
|
const e = n.$cmpMeta$, t = n.$hostElement$, i = e.$flags$, s = tt("attachStyles", e.$tagName$), r = nu(t.shadowRoot ? t.shadowRoot : t.getRootNode(), e, n.$modeName$);
|
|
2315
2315
|
i & 10 && (t["s-sc"] = r, t.classList.add(r + "-h"), i & 2 && t.classList.add(r + "-s")), s();
|
|
2316
|
-
},
|
|
2316
|
+
}, ha = (n, e) => "sc-" + (e && n.$flags$ & 32 ? n.$tagName$ + "-" + e : n.$tagName$), su = (n) => Lu.map((e) => e(n)).find((e) => !!e), Gr = {}, ru = "http://www.w3.org/2000/svg", ou = "http://www.w3.org/1999/xhtml", au = (n) => n != null, ds = (n) => (n = typeof n, n === "object" || n === "function"), bt = (n, e, ...t) => {
|
|
2317
2317
|
let i = null, s = null, r = null, o = !1, a = !1, c = [];
|
|
2318
2318
|
const l = (p) => {
|
|
2319
2319
|
for (let d = 0; d < p.length; d++)
|
|
@@ -2340,9 +2340,9 @@ const Xn = typeof window < "u" ? window : {}, $e = Xn.document || { head: {} },
|
|
|
2340
2340
|
};
|
|
2341
2341
|
return t.$attrs$ = null, t.$key$ = null, t.$name$ = null, t;
|
|
2342
2342
|
}, ps = {}, lu = (n) => n && n.$tag$ === ps, cu = {
|
|
2343
|
-
forEach: (n, e) => n.map(
|
|
2344
|
-
map: (n, e) => n.map(
|
|
2345
|
-
},
|
|
2343
|
+
forEach: (n, e) => n.map(Zr).forEach(e),
|
|
2344
|
+
map: (n, e) => n.map(Zr).map(e).map(uu)
|
|
2345
|
+
}, Zr = (n) => ({
|
|
2346
2346
|
vattrs: n.$attrs$,
|
|
2347
2347
|
vchildren: n.$children$,
|
|
2348
2348
|
vkey: n.$key$,
|
|
@@ -2356,11 +2356,11 @@ const Xn = typeof window < "u" ? window : {}, $e = Xn.document || { head: {} },
|
|
|
2356
2356
|
}
|
|
2357
2357
|
const e = Pn(n.vtag, n.vtext);
|
|
2358
2358
|
return e.$attrs$ = n.vattrs, e.$children$ = n.vchildren, e.$key$ = n.vkey, e.$name$ = n.vname, e;
|
|
2359
|
-
},
|
|
2359
|
+
}, Yr = (n, e, t, i, s, r) => {
|
|
2360
2360
|
if (t !== i) {
|
|
2361
|
-
let o =
|
|
2361
|
+
let o = Jr(n, e), a = e.toLowerCase();
|
|
2362
2362
|
if (e === "class") {
|
|
2363
|
-
const c = n.classList, l =
|
|
2363
|
+
const c = n.classList, l = Qr(t), u = Qr(i);
|
|
2364
2364
|
c.remove(...l.filter((p) => p && !u.includes(p))), c.add(...u.filter((p) => p && !l.includes(p)));
|
|
2365
2365
|
} else if (e === "style") {
|
|
2366
2366
|
for (const c in t)
|
|
@@ -2371,7 +2371,7 @@ const Xn = typeof window < "u" ? window : {}, $e = Xn.document || { head: {} },
|
|
|
2371
2371
|
if (e === "ref")
|
|
2372
2372
|
i && i(n);
|
|
2373
2373
|
else if (!n.__lookupSetter__(e) && e[0] === "o" && e[1] === "n")
|
|
2374
|
-
e[2] === "-" ? e = e.slice(3) :
|
|
2374
|
+
e[2] === "-" ? e = e.slice(3) : Jr(Xn, a) ? e = a.slice(2) : e = a[2] + e.slice(3), t && X.rel(n, e, t, !1), i && X.ael(n, e, i, !1);
|
|
2375
2375
|
else {
|
|
2376
2376
|
const c = ds(i);
|
|
2377
2377
|
if ((o || c && i !== null) && !s)
|
|
@@ -2385,18 +2385,18 @@ const Xn = typeof window < "u" ? window : {}, $e = Xn.document || { head: {} },
|
|
|
2385
2385
|
} catch {
|
|
2386
2386
|
}
|
|
2387
2387
|
let l = !1;
|
|
2388
|
-
a !== (a = a.replace(/^xlink\:?/, "")) && (e = a, l = !0), i == null || i === !1 ? (i !== !1 || n.getAttribute(e) === "") && (l ? n.removeAttributeNS(
|
|
2388
|
+
a !== (a = a.replace(/^xlink\:?/, "")) && (e = a, l = !0), i == null || i === !1 ? (i !== !1 || n.getAttribute(e) === "") && (l ? n.removeAttributeNS(Vr, e) : n.removeAttribute(e)) : (!o || r & 4 || s) && !c && (i = i === !0 ? "" : i, l ? n.setAttributeNS(Vr, e, i) : n.setAttribute(e, i));
|
|
2389
2389
|
}
|
|
2390
2390
|
}
|
|
2391
|
-
}, hu = /\s/,
|
|
2392
|
-
const s = e.$elm$.nodeType === 11 && e.$elm$.host ? e.$elm$.host : e.$elm$, r = n && n.$attrs$ ||
|
|
2391
|
+
}, hu = /\s/, Qr = (n) => n ? n.split(hu) : [], da = (n, e, t, i) => {
|
|
2392
|
+
const s = e.$elm$.nodeType === 11 && e.$elm$.host ? e.$elm$.host : e.$elm$, r = n && n.$attrs$ || Gr, o = e.$attrs$ || Gr;
|
|
2393
2393
|
for (i in r)
|
|
2394
|
-
i in o ||
|
|
2394
|
+
i in o || Yr(s, i, r[i], void 0, t, e.$flags$);
|
|
2395
2395
|
for (i in o)
|
|
2396
|
-
|
|
2396
|
+
Yr(s, i, r[i], o[i], t, e.$flags$);
|
|
2397
2397
|
}, Mn = (n, e, t, i) => {
|
|
2398
2398
|
let s = e.$children$[t], r = 0, o, a, c;
|
|
2399
|
-
if (
|
|
2399
|
+
if (la || (hs = !0, s.$tag$ === "slot" && (ft && i.classList.add(ft + "-s"), s.$flags$ |= s.$children$ ? (
|
|
2400
2400
|
// slot element has fallback content
|
|
2401
2401
|
2
|
|
2402
2402
|
) : (
|
|
@@ -2407,27 +2407,27 @@ const Xn = typeof window < "u" ? window : {}, $e = Xn.document || { head: {} },
|
|
|
2407
2407
|
else if (s.$flags$ & 1)
|
|
2408
2408
|
o = s.$elm$ = $e.createTextNode("");
|
|
2409
2409
|
else {
|
|
2410
|
-
if (te || (te = s.$tag$ === "svg"), o = s.$elm$ = $e.createElementNS(te ? ru : ou, s.$flags$ & 2 ? "slot-fb" : s.$tag$), te && s.$tag$ === "foreignObject" && (te = !1),
|
|
2410
|
+
if (te || (te = s.$tag$ === "svg"), o = s.$elm$ = $e.createElementNS(te ? ru : ou, s.$flags$ & 2 ? "slot-fb" : s.$tag$), te && s.$tag$ === "foreignObject" && (te = !1), da(null, s, te), au(ft) && o["s-si"] !== ft && o.classList.add(o["s-si"] = ft), s.$children$)
|
|
2411
2411
|
for (r = 0; r < s.$children$.length; ++r)
|
|
2412
2412
|
a = Mn(n, s, r, o), a && o.appendChild(a);
|
|
2413
2413
|
s.$tag$ === "svg" ? te = !1 : o.tagName === "foreignObject" && (te = !0);
|
|
2414
2414
|
}
|
|
2415
|
-
return o["s-hn"] = Qn, s.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] =
|
|
2415
|
+
return o["s-hn"] = Qn, s.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] = aa, o["s-sn"] = s.$name$ || "", c = n && n.$children$ && n.$children$[t], c && c.$tag$ === s.$tag$ && n.$elm$ && Yt(n.$elm$, !1)), o;
|
|
2416
2416
|
}, Yt = (n, e) => {
|
|
2417
2417
|
X.$flags$ |= 1;
|
|
2418
2418
|
const t = n.childNodes;
|
|
2419
2419
|
for (let i = t.length - 1; i >= 0; i--) {
|
|
2420
2420
|
const s = t[i];
|
|
2421
|
-
s["s-hn"] !== Qn && s["s-ol"] && (
|
|
2421
|
+
s["s-hn"] !== Qn && s["s-ol"] && (ga(s).insertBefore(s, fs(s)), s["s-ol"].remove(), s["s-ol"] = void 0, hs = !0), e && Yt(s, e);
|
|
2422
2422
|
}
|
|
2423
2423
|
X.$flags$ &= -2;
|
|
2424
|
-
},
|
|
2424
|
+
}, pa = (n, e, t, i, s, r) => {
|
|
2425
2425
|
let o = n["s-cr"] && n["s-cr"].parentNode || n, a;
|
|
2426
2426
|
for (o.shadowRoot && o.tagName === Qn && (o = o.shadowRoot); s <= r; ++s)
|
|
2427
2427
|
i[s] && (a = Mn(null, t, s, n), a && (i[s].$elm$ = a, o.insertBefore(a, fs(e))));
|
|
2428
|
-
},
|
|
2428
|
+
}, fa = (n, e, t, i, s) => {
|
|
2429
2429
|
for (; e <= t; ++e)
|
|
2430
|
-
(i = n[e]) && (s = i.$elm$,
|
|
2430
|
+
(i = n[e]) && (s = i.$elm$, ba(i), In = !0, s["s-ol"] ? s["s-ol"].remove() : Yt(s, !0), s.remove());
|
|
2431
2431
|
}, du = (n, e, t, i) => {
|
|
2432
2432
|
let s = 0, r = 0, o = 0, a = 0, c = e.length - 1, l = e[0], u = e[c], p = i.length - 1, d = i[0], g = i[p], m, $;
|
|
2433
2433
|
for (; s <= c && r <= p; )
|
|
@@ -2453,14 +2453,14 @@ const Xn = typeof window < "u" ? window : {}, $e = Xn.document || { head: {} },
|
|
|
2453
2453
|
o = a;
|
|
2454
2454
|
break;
|
|
2455
2455
|
}
|
|
2456
|
-
o >= 0 ? ($ = e[o], $.$tag$ !== d.$tag$ ? m = Mn(e && e[r], t, o, n) : (gt($, d), e[o] = void 0, m = $.$elm$), d = i[++r]) : (m = Mn(e && e[r], t, r, n), d = i[++r]), m &&
|
|
2456
|
+
o >= 0 ? ($ = e[o], $.$tag$ !== d.$tag$ ? m = Mn(e && e[r], t, o, n) : (gt($, d), e[o] = void 0, m = $.$elm$), d = i[++r]) : (m = Mn(e && e[r], t, r, n), d = i[++r]), m && ga(l.$elm$).insertBefore(m, fs(l.$elm$));
|
|
2457
2457
|
}
|
|
2458
|
-
s > c ?
|
|
2459
|
-
}, yn = (n, e) => n.$tag$ === e.$tag$ ? n.$tag$ === "slot" ? n.$name$ === e.$name$ : n.$key$ === e.$key$ : !1, fs = (n) => n && n["s-ol"] || n,
|
|
2458
|
+
s > c ? pa(n, i[p + 1] == null ? null : i[p + 1].$elm$, t, i, r, p) : r > p && fa(e, s, c);
|
|
2459
|
+
}, yn = (n, e) => n.$tag$ === e.$tag$ ? n.$tag$ === "slot" ? n.$name$ === e.$name$ : n.$key$ === e.$key$ : !1, fs = (n) => n && n["s-ol"] || n, ga = (n) => (n["s-ol"] ? n["s-ol"] : n).parentNode, gt = (n, e) => {
|
|
2460
2460
|
const t = e.$elm$ = n.$elm$, i = n.$children$, s = e.$children$, r = e.$tag$, o = e.$text$;
|
|
2461
2461
|
let a;
|
|
2462
|
-
o === null ? (te = r === "svg" ? !0 : r === "foreignObject" ? !1 : te, r === "slot" ||
|
|
2463
|
-
},
|
|
2462
|
+
o === null ? (te = r === "svg" ? !0 : r === "foreignObject" ? !1 : te, r === "slot" || da(n, e, te), i !== null && s !== null ? du(t, i, e, s) : s !== null ? (n.$text$ !== null && (t.textContent = ""), pa(t, null, e, s, 0, s.length - 1)) : i !== null && fa(i, 0, i.length - 1), te && r === "svg" && (te = !1)) : (a = t["s-cr"]) ? a.parentNode.textContent = o : n.$text$ !== o && (t.data = o);
|
|
2463
|
+
}, ma = (n) => {
|
|
2464
2464
|
let e = n.childNodes, t, i, s, r, o, a;
|
|
2465
2465
|
for (i = 0, s = e.length; i < s; i++)
|
|
2466
2466
|
if (t = e[i], t.nodeType === 1) {
|
|
@@ -2476,31 +2476,31 @@ const Xn = typeof window < "u" ? window : {}, $e = Xn.document || { head: {} },
|
|
|
2476
2476
|
break;
|
|
2477
2477
|
}
|
|
2478
2478
|
}
|
|
2479
|
-
|
|
2479
|
+
ma(t);
|
|
2480
2480
|
}
|
|
2481
|
-
}, ue = [],
|
|
2481
|
+
}, ue = [], va = (n) => {
|
|
2482
2482
|
let e, t, i, s, r, o, a = 0, c = n.childNodes, l = c.length;
|
|
2483
2483
|
for (; a < l; a++) {
|
|
2484
2484
|
if (e = c[a], e["s-sr"] && (t = e["s-cr"]) && t.parentNode)
|
|
2485
2485
|
for (i = t.parentNode.childNodes, s = e["s-sn"], o = i.length - 1; o >= 0; o--)
|
|
2486
|
-
t = i[o], !t["s-cn"] && !t["s-nr"] && t["s-hn"] !== e["s-hn"] && (
|
|
2486
|
+
t = i[o], !t["s-cn"] && !t["s-nr"] && t["s-hn"] !== e["s-hn"] && (Xr(t, s) ? (r = ue.find((u) => u.$nodeToRelocate$ === t), In = !0, t["s-sn"] = t["s-sn"] || s, r ? r.$slotRefNode$ = e : ue.push({
|
|
2487
2487
|
$slotRefNode$: e,
|
|
2488
2488
|
$nodeToRelocate$: t
|
|
2489
2489
|
}), t["s-sr"] && ue.map((u) => {
|
|
2490
|
-
|
|
2490
|
+
Xr(u.$nodeToRelocate$, t["s-sn"]) && (r = ue.find((p) => p.$nodeToRelocate$ === t), r && !u.$slotRefNode$ && (u.$slotRefNode$ = r.$slotRefNode$));
|
|
2491
2491
|
})) : ue.some((u) => u.$nodeToRelocate$ === t) || ue.push({
|
|
2492
2492
|
$nodeToRelocate$: t
|
|
2493
2493
|
}));
|
|
2494
|
-
e.nodeType === 1 &&
|
|
2494
|
+
e.nodeType === 1 && va(e);
|
|
2495
2495
|
}
|
|
2496
|
-
},
|
|
2497
|
-
n.$attrs$ && n.$attrs$.ref && n.$attrs$.ref(null), n.$children$ && n.$children$.map(
|
|
2496
|
+
}, Xr = (n, e) => n.nodeType === 1 ? n.getAttribute("slot") === null && e === "" || n.getAttribute("slot") === e : n["s-sn"] === e ? !0 : e === "", ba = (n) => {
|
|
2497
|
+
n.$attrs$ && n.$attrs$.ref && n.$attrs$.ref(null), n.$children$ && n.$children$.map(ba);
|
|
2498
2498
|
}, pu = (n, e) => {
|
|
2499
2499
|
const t = n.$hostElement$, i = n.$cmpMeta$, s = n.$vnode$ || Pn(null, null), r = lu(e) ? e : bt(null, null, e);
|
|
2500
|
-
Qn = t.tagName, i.$attrsToReflect$ && (r.$attrs$ = r.$attrs$ || {}, i.$attrsToReflect$.map(([o, a]) => r.$attrs$[a] = t[o])), r.$tag$ = null, r.$flags$ |= 4, n.$vnode$ = r, r.$elm$ = s.$elm$ = t.shadowRoot || t, ft = t["s-sc"],
|
|
2500
|
+
Qn = t.tagName, i.$attrsToReflect$ && (r.$attrs$ = r.$attrs$ || {}, i.$attrsToReflect$.map(([o, a]) => r.$attrs$[a] = t[o])), r.$tag$ = null, r.$flags$ |= 4, n.$vnode$ = r, r.$elm$ = s.$elm$ = t.shadowRoot || t, ft = t["s-sc"], aa = t["s-cr"], la = (i.$flags$ & 1) !== 0, In = !1, gt(s, r);
|
|
2501
2501
|
{
|
|
2502
2502
|
if (X.$flags$ |= 1, hs) {
|
|
2503
|
-
|
|
2503
|
+
va(r.$elm$);
|
|
2504
2504
|
let o, a, c, l, u, p, d = 0;
|
|
2505
2505
|
for (; d < ue.length; d++)
|
|
2506
2506
|
o = ue[d], a = o.$nodeToRelocate$, a["s-ol"] || (c = $e.createTextNode(""), c["s-nr"] = a, a.parentNode.insertBefore(a["s-ol"] = c, a));
|
|
@@ -2515,7 +2515,7 @@ const Xn = typeof window < "u" ? window : {}, $e = Xn.document || { head: {} },
|
|
|
2515
2515
|
} else
|
|
2516
2516
|
a.nodeType === 1 && (a.hidden = !0);
|
|
2517
2517
|
}
|
|
2518
|
-
In &&
|
|
2518
|
+
In && ma(r.$elm$), X.$flags$ &= -2, ue.length = 0;
|
|
2519
2519
|
}
|
|
2520
2520
|
}, fu = (n) => n, gu = (n, e, t) => {
|
|
2521
2521
|
const i = fu(n);
|
|
@@ -2531,10 +2531,10 @@ const Xn = typeof window < "u" ? window : {}, $e = Xn.document || { head: {} },
|
|
|
2531
2531
|
const i = X.ce(e, t);
|
|
2532
2532
|
return n.dispatchEvent(i), i;
|
|
2533
2533
|
}, vu = (n, e) => {
|
|
2534
|
-
},
|
|
2534
|
+
}, ya = (n, e) => (n.$flags$ |= 16, vu(n, n.$ancestorComponent$), Mu(() => bu(n, e))), bu = (n, e) => {
|
|
2535
2535
|
const t = n.$hostElement$, i = tt("scheduleUpdate", n.$cmpMeta$.$tagName$), s = t;
|
|
2536
2536
|
let r;
|
|
2537
|
-
return e ? r = yt(s, "componentWillLoad") : r = yt(s, "componentWillUpdate"), r =
|
|
2537
|
+
return e ? r = yt(s, "componentWillLoad") : r = yt(s, "componentWillUpdate"), r = Kr(r, () => yt(s, "componentWillRender")), i(), Kr(r, () => yu(n, s, e));
|
|
2538
2538
|
}, yu = async (n, e, t) => {
|
|
2539
2539
|
const i = n.$hostElement$, s = tt("update", n.$cmpMeta$.$tagName$);
|
|
2540
2540
|
i["s-rc"], t && iu(n);
|
|
@@ -2542,11 +2542,11 @@ const Xn = typeof window < "u" ? window : {}, $e = Xn.document || { head: {} },
|
|
|
2542
2542
|
$u(n, e, i), r(), s(), wu(n);
|
|
2543
2543
|
}, $u = (n, e, t) => {
|
|
2544
2544
|
try {
|
|
2545
|
-
|
|
2545
|
+
qr = e, e = e.render && e.render(), n.$flags$ &= -17, n.$flags$ |= 2, (pt.hasRenderFn || pt.reflect) && (pt.vdomRender || pt.reflect) && (pt.hydrateServerSide || pu(n, e));
|
|
2546
2546
|
} catch (a) {
|
|
2547
2547
|
on(a, n.$hostElement$);
|
|
2548
2548
|
}
|
|
2549
|
-
return
|
|
2549
|
+
return qr = null, null;
|
|
2550
2550
|
}, wu = (n) => {
|
|
2551
2551
|
const e = n.$cmpMeta$.$tagName$, t = n.$hostElement$, i = tt("postUpdate", e), s = t;
|
|
2552
2552
|
n.$ancestorComponent$, yt(s, "componentDidRender"), n.$flags$ & 64 ? (yt(s, "componentDidUpdate"), i()) : (n.$flags$ |= 64, yt(s, "componentDidLoad"), i());
|
|
@@ -2557,7 +2557,7 @@ const Xn = typeof window < "u" ? window : {}, $e = Xn.document || { head: {} },
|
|
|
2557
2557
|
} catch (i) {
|
|
2558
2558
|
on(i);
|
|
2559
2559
|
}
|
|
2560
|
-
},
|
|
2560
|
+
}, Kr = (n, e) => n && n.then ? n.then(e) : e(), xu = (n, e) => n != null && !ds(n) ? e & 4 ? n === "false" ? !1 : n === "" || !!n : e & 2 ? parseFloat(n) : e & 1 ? String(n) : n : n, ku = (n, e) => Kn(n).$instanceValues$.get(e), Su = (n, e, t, i) => {
|
|
2561
2561
|
const s = Kn(n), r = n, o = s.$instanceValues$.get(e), a = s.$flags$, c = r;
|
|
2562
2562
|
t = xu(t, i.$members$[e][0]);
|
|
2563
2563
|
const l = Number.isNaN(o) && Number.isNaN(t);
|
|
@@ -2577,7 +2577,7 @@ const Xn = typeof window < "u" ? window : {}, $e = Xn.document || { head: {} },
|
|
|
2577
2577
|
if ((a & 18) === 2) {
|
|
2578
2578
|
if (c.componentShouldUpdate && c.componentShouldUpdate(t, o, e) === !1)
|
|
2579
2579
|
return;
|
|
2580
|
-
|
|
2580
|
+
ya(s, !1);
|
|
2581
2581
|
}
|
|
2582
2582
|
}
|
|
2583
2583
|
}
|
|
@@ -2622,18 +2622,18 @@ const Xn = typeof window < "u" ? window : {}, $e = Xn.document || { head: {} },
|
|
|
2622
2622
|
if ((e.$flags$ & 32) === 0 && (s = n.constructor, e.$flags$ |= 32, customElements.whenDefined(t.$tagName$).then(() => e.$flags$ |= 128), s.style)) {
|
|
2623
2623
|
let o = s.style;
|
|
2624
2624
|
typeof o != "string" && (o = o[e.$modeName$ = su(n)]);
|
|
2625
|
-
const a =
|
|
2625
|
+
const a = ha(t, e.$modeName$);
|
|
2626
2626
|
if (!Nn.has(a)) {
|
|
2627
2627
|
const c = tt("registerStyles", t.$tagName$);
|
|
2628
2628
|
tu(a, o, !!(t.$flags$ & 1)), c();
|
|
2629
2629
|
}
|
|
2630
2630
|
}
|
|
2631
|
-
e.$ancestorComponent$,
|
|
2631
|
+
e.$ancestorComponent$, ya(e, !0);
|
|
2632
2632
|
}, _u = (n) => {
|
|
2633
2633
|
}, Au = (n) => {
|
|
2634
2634
|
if ((X.$flags$ & 1) === 0) {
|
|
2635
2635
|
const e = Kn(n), t = e.$cmpMeta$, i = tt("connectedCallback", t.$tagName$);
|
|
2636
|
-
e.$flags$ & 1 ? (
|
|
2636
|
+
e.$flags$ & 1 ? (ua(n, e, t.$listeners$), _u(e.$lazyInstance$)) : (e.$flags$ |= 1, t.$flags$ & 12 && Tu(n), t.$members$ && Object.entries(t.$members$).map(([s, [r]]) => {
|
|
2637
2637
|
if (r & 31 && n.hasOwnProperty(s)) {
|
|
2638
2638
|
const o = n[s];
|
|
2639
2639
|
delete n[s], n[s] = o;
|
|
@@ -2648,7 +2648,7 @@ const Xn = typeof window < "u" ? window : {}, $e = Xn.document || { head: {} },
|
|
|
2648
2648
|
const e = Kn(n);
|
|
2649
2649
|
e.$rmListeners$ && (e.$rmListeners$.map((t) => t()), e.$rmListeners$ = void 0);
|
|
2650
2650
|
}
|
|
2651
|
-
},
|
|
2651
|
+
}, $a = (n, e) => {
|
|
2652
2652
|
const t = {
|
|
2653
2653
|
$flags$: e[0],
|
|
2654
2654
|
$tagName$: e[1]
|
|
@@ -2672,17 +2672,17 @@ const Xn = typeof window < "u" ? window : {}, $e = Xn.document || { head: {} },
|
|
|
2672
2672
|
});
|
|
2673
2673
|
}
|
|
2674
2674
|
}), n.is = t.$tagName$, Cu(n, t);
|
|
2675
|
-
},
|
|
2675
|
+
}, wa = /* @__PURE__ */ new WeakMap(), Kn = (n) => wa.get(n), Ru = (n, e) => {
|
|
2676
2676
|
const t = {
|
|
2677
2677
|
$flags$: 0,
|
|
2678
2678
|
$hostElement$: n,
|
|
2679
2679
|
$cmpMeta$: e,
|
|
2680
2680
|
$instanceValues$: /* @__PURE__ */ new Map()
|
|
2681
2681
|
};
|
|
2682
|
-
return
|
|
2683
|
-
},
|
|
2682
|
+
return ua(n, t, e.$listeners$), wa.set(n, t);
|
|
2683
|
+
}, Jr = (n, e) => e in n, on = (n, e) => (0, console.error)(n, e), Nn = /* @__PURE__ */ new Map(), Lu = [], eo = [], xa = [], Iu = (n, e) => (t) => {
|
|
2684
2684
|
n.push(t), Fi || (Fi = !0, e && X.$flags$ & 4 ? Pu(ji) : X.raf(ji));
|
|
2685
|
-
},
|
|
2685
|
+
}, to = (n) => {
|
|
2686
2686
|
for (let e = 0; e < n.length; e++)
|
|
2687
2687
|
try {
|
|
2688
2688
|
n[e](performance.now());
|
|
@@ -2691,8 +2691,8 @@ const Xn = typeof window < "u" ? window : {}, $e = Xn.document || { head: {} },
|
|
|
2691
2691
|
}
|
|
2692
2692
|
n.length = 0;
|
|
2693
2693
|
}, ji = () => {
|
|
2694
|
-
eo
|
|
2695
|
-
}, Pu = (n) => Qc().then(n), Mu = /* @__PURE__ */ Iu(
|
|
2694
|
+
to(eo), to(xa), (Fi = eo.length > 0) && X.raf(ji);
|
|
2695
|
+
}, Pu = (n) => Qc().then(n), Mu = /* @__PURE__ */ Iu(xa, !0), Nu = (n = {}) => {
|
|
2696
2696
|
const { content: e = "", title: t, attributes: i = [] } = n;
|
|
2697
2697
|
let s = "", r = [
|
|
2698
2698
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
@@ -2709,7 +2709,7 @@ class Hu {
|
|
|
2709
2709
|
this.voca_component = e, this.voca_added = Du(/* @__PURE__ */ new Date());
|
|
2710
2710
|
}
|
|
2711
2711
|
}
|
|
2712
|
-
const zu = "telia-vst{display:none}", Fu = /* @__PURE__ */
|
|
2712
|
+
const zu = "telia-vst{display:none}", Fu = /* @__PURE__ */ $a(class extends ca {
|
|
2713
2713
|
constructor() {
|
|
2714
2714
|
super(), this.__registerHost(), this.vocaInternalUStats = gu(this, "vocaInternalUStats");
|
|
2715
2715
|
}
|
|
@@ -2725,7 +2725,7 @@ const zu = "telia-vst{display:none}", Fu = /* @__PURE__ */ ya(class extends la {
|
|
|
2725
2725
|
}, [0, "telia-vst", {
|
|
2726
2726
|
dataTrackingId: [1, "data-tracking-id"]
|
|
2727
2727
|
}]);
|
|
2728
|
-
function
|
|
2728
|
+
function ka() {
|
|
2729
2729
|
if (typeof customElements > "u")
|
|
2730
2730
|
return;
|
|
2731
2731
|
["telia-vst"].forEach((e) => {
|
|
@@ -2736,7 +2736,7 @@ function xa() {
|
|
|
2736
2736
|
}
|
|
2737
2737
|
});
|
|
2738
2738
|
}
|
|
2739
|
-
|
|
2739
|
+
ka();
|
|
2740
2740
|
function Bi() {
|
|
2741
2741
|
return typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : { vocadsIcons: void 0, vocadsIconsRegistered: !1 };
|
|
2742
2742
|
}
|
|
@@ -2747,7 +2747,7 @@ function ju() {
|
|
|
2747
2747
|
function Bu() {
|
|
2748
2748
|
return Bi().vocadsIconsRegistered;
|
|
2749
2749
|
}
|
|
2750
|
-
const qu = ".telia-icon{display:inline-block}.telia-icon__container{display:block;height:inherit}.telia-icon svg{display:block}.telia-icon--sm{height:calc(1.6rem * var(--voca-rem-multiplier));min-width:calc(1.6rem * var(--voca-rem-multiplier));width:calc(1.6rem * var(--voca-rem-multiplier))}.telia-icon--md{height:calc(2.4rem * var(--voca-rem-multiplier));min-width:calc(2.4rem * var(--voca-rem-multiplier));width:calc(2.4rem * var(--voca-rem-multiplier))}.telia-icon--lg{height:calc(3.2rem * var(--voca-rem-multiplier));min-width:calc(3.2rem * var(--voca-rem-multiplier));width:calc(3.2rem * var(--voca-rem-multiplier))}", Vu = /* @__PURE__ */
|
|
2750
|
+
const qu = ".telia-icon{display:inline-block}.telia-icon__container{display:block;height:inherit}.telia-icon svg{display:block}.telia-icon--sm{height:calc(1.6rem * var(--voca-rem-multiplier));min-width:calc(1.6rem * var(--voca-rem-multiplier));width:calc(1.6rem * var(--voca-rem-multiplier))}.telia-icon--md{height:calc(2.4rem * var(--voca-rem-multiplier));min-width:calc(2.4rem * var(--voca-rem-multiplier));width:calc(2.4rem * var(--voca-rem-multiplier))}.telia-icon--lg{height:calc(3.2rem * var(--voca-rem-multiplier));min-width:calc(3.2rem * var(--voca-rem-multiplier));width:calc(3.2rem * var(--voca-rem-multiplier))}", Vu = /* @__PURE__ */ $a(class extends ca {
|
|
2751
2751
|
constructor() {
|
|
2752
2752
|
super(), this.__registerHost(), this.size = "md", this.allyTitle = null, this.dataTrackingId = "telia-icon";
|
|
2753
2753
|
}
|
|
@@ -2797,7 +2797,7 @@ function Wu() {
|
|
|
2797
2797
|
customElements.get(e) || customElements.define(e, Vu);
|
|
2798
2798
|
break;
|
|
2799
2799
|
case "telia-vst":
|
|
2800
|
-
customElements.get(e) ||
|
|
2800
|
+
customElements.get(e) || ka();
|
|
2801
2801
|
break;
|
|
2802
2802
|
}
|
|
2803
2803
|
});
|
|
@@ -2888,7 +2888,7 @@ const Bt = (n, e) => {
|
|
|
2888
2888
|
if ((e = n._$AM) === void 0) break;
|
|
2889
2889
|
t = e._$AN, t.delete(n), n = e;
|
|
2890
2890
|
} while ((t == null ? void 0 : t.size) === 0);
|
|
2891
|
-
},
|
|
2891
|
+
}, Sa = (n) => {
|
|
2892
2892
|
for (let e; e = n._$AM; n = e) {
|
|
2893
2893
|
let t = e._$AN;
|
|
2894
2894
|
if (t === void 0) e._$AN = t = /* @__PURE__ */ new Set();
|
|
@@ -2897,7 +2897,7 @@ const Bt = (n, e) => {
|
|
|
2897
2897
|
}
|
|
2898
2898
|
};
|
|
2899
2899
|
function Qu(n) {
|
|
2900
|
-
this._$AN !== void 0 ? (Un(this), this._$AM = n,
|
|
2900
|
+
this._$AN !== void 0 ? (Un(this), this._$AM = n, Sa(this)) : this._$AM = n;
|
|
2901
2901
|
}
|
|
2902
2902
|
function Xu(n, e = !1, t = 0) {
|
|
2903
2903
|
const i = this._$AH, s = this._$AN;
|
|
@@ -2908,12 +2908,12 @@ function Xu(n, e = !1, t = 0) {
|
|
|
2908
2908
|
const Ku = (n) => {
|
|
2909
2909
|
n.type == an.CHILD && (n._$AP ?? (n._$AP = Xu), n._$AQ ?? (n._$AQ = Qu));
|
|
2910
2910
|
};
|
|
2911
|
-
let
|
|
2911
|
+
let Ca = class extends Jn {
|
|
2912
2912
|
constructor() {
|
|
2913
2913
|
super(...arguments), this._$AN = void 0;
|
|
2914
2914
|
}
|
|
2915
2915
|
_$AT(e, t, i) {
|
|
2916
|
-
super._$AT(e, t, i),
|
|
2916
|
+
super._$AT(e, t, i), Sa(this), this.isConnected = e._$AU;
|
|
2917
2917
|
}
|
|
2918
2918
|
_$AO(e, t = !0) {
|
|
2919
2919
|
var i, s;
|
|
@@ -2939,7 +2939,7 @@ let Sa = class extends Jn {
|
|
|
2939
2939
|
const be = () => new Ju();
|
|
2940
2940
|
class Ju {
|
|
2941
2941
|
}
|
|
2942
|
-
const Si = /* @__PURE__ */ new WeakMap(), ye = ln(class extends
|
|
2942
|
+
const Si = /* @__PURE__ */ new WeakMap(), ye = ln(class extends Ca {
|
|
2943
2943
|
render(n) {
|
|
2944
2944
|
return w;
|
|
2945
2945
|
}
|
|
@@ -2992,7 +2992,7 @@ const kt = ln(class extends Jn {
|
|
|
2992
2992
|
const o = !!e[r];
|
|
2993
2993
|
o === this.st.has(r) || (s = this.nt) != null && s.has(r) || (o ? (t.add(r), this.st.add(r)) : (t.remove(r), this.st.delete(r)));
|
|
2994
2994
|
}
|
|
2995
|
-
return
|
|
2995
|
+
return Ie;
|
|
2996
2996
|
}
|
|
2997
2997
|
});
|
|
2998
2998
|
var eh = Object.defineProperty, th = (n, e, t, i) => {
|
|
@@ -3036,31 +3036,31 @@ th([
|
|
|
3036
3036
|
k({ attribute: !0 })
|
|
3037
3037
|
], Dn.prototype, "anchor");
|
|
3038
3038
|
const nh = /* @__PURE__ */ new WeakMap();
|
|
3039
|
-
let
|
|
3040
|
-
const Ci = /* @__PURE__ */ new Map(),
|
|
3039
|
+
let no = 0;
|
|
3040
|
+
const Ci = /* @__PURE__ */ new Map(), io = /* @__PURE__ */ new WeakSet(), so = () => new Promise(((n) => requestAnimationFrame(n))), ih = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], sh = [{ opacity: 0 }], ro = [{ opacity: 0 }, { opacity: 1 }], oo = (n, e) => {
|
|
3041
3041
|
const t = n - e;
|
|
3042
3042
|
return t === 0 ? void 0 : t;
|
|
3043
|
-
},
|
|
3043
|
+
}, ao = (n, e) => {
|
|
3044
3044
|
const t = n / e;
|
|
3045
3045
|
return t === 1 ? void 0 : t;
|
|
3046
3046
|
}, Ei = { left: (n, e) => {
|
|
3047
|
-
const t =
|
|
3047
|
+
const t = oo(n, e);
|
|
3048
3048
|
return { value: t, transform: t == null || isNaN(t) ? void 0 : `translateX(${t}px)` };
|
|
3049
3049
|
}, top: (n, e) => {
|
|
3050
|
-
const t =
|
|
3050
|
+
const t = oo(n, e);
|
|
3051
3051
|
return { value: t, transform: t == null || isNaN(t) ? void 0 : `translateY(${t}px)` };
|
|
3052
3052
|
}, width: (n, e) => {
|
|
3053
3053
|
let t;
|
|
3054
3054
|
e === 0 && (e = 1, t = { width: "1px" });
|
|
3055
|
-
const i =
|
|
3055
|
+
const i = ao(n, e);
|
|
3056
3056
|
return { value: i, overrideFrom: t, transform: i == null || isNaN(i) ? void 0 : `scaleX(${i})` };
|
|
3057
3057
|
}, height: (n, e) => {
|
|
3058
3058
|
let t;
|
|
3059
3059
|
e === 0 && (e = 1, t = { height: "1px" });
|
|
3060
|
-
const i =
|
|
3060
|
+
const i = ao(n, e);
|
|
3061
3061
|
return { value: i, overrideFrom: t, transform: i == null || isNaN(i) ? void 0 : `scaleY(${i})` };
|
|
3062
|
-
} }, rh = { duration: 333, easing: "ease-in-out" }, oh = ["left", "top", "width", "height", "opacity", "color", "background"],
|
|
3063
|
-
class ah extends
|
|
3062
|
+
} }, rh = { duration: 333, easing: "ease-in-out" }, oh = ["left", "top", "width", "height", "opacity", "color", "background"], lo = /* @__PURE__ */ new WeakMap();
|
|
3063
|
+
class ah extends Ca {
|
|
3064
3064
|
constructor(e) {
|
|
3065
3065
|
if (super(e), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, e.type === an.CHILD) throw Error("The `animate` directive must be used in attribute position.");
|
|
3066
3066
|
this.createFinished();
|
|
@@ -3088,7 +3088,7 @@ class ah extends Sa {
|
|
|
3088
3088
|
update(e, [t]) {
|
|
3089
3089
|
var s;
|
|
3090
3090
|
const i = this.u === void 0;
|
|
3091
|
-
return i && (this.u = (s = e.options) == null ? void 0 : s.host, this.u.addController(this), this.u.updateComplete.then(((r) => this.t = !0)), this.element = e.element,
|
|
3091
|
+
return i && (this.u = (s = e.options) == null ? void 0 : s.host, this.u.addController(this), this.u.updateComplete.then(((r) => this.t = !0)), this.element = e.element, lo.set(this.element, this)), this.optionsOrCallback = t, (i || typeof t != "function") && this.p(t), this.render(t);
|
|
3092
3092
|
}
|
|
3093
3093
|
p(e) {
|
|
3094
3094
|
e = e ?? {};
|
|
@@ -3117,7 +3117,7 @@ class ah extends Sa {
|
|
|
3117
3117
|
async hostUpdated() {
|
|
3118
3118
|
if (!this.h || !this.element.isConnected || this.options.skipInitial && !this.isHostRendered) return;
|
|
3119
3119
|
let e;
|
|
3120
|
-
this.prepare(), await
|
|
3120
|
+
this.prepare(), await so;
|
|
3121
3121
|
const t = this.O(), i = this.j(this.options.keyframeOptions, t), s = this.m();
|
|
3122
3122
|
if (this.A !== void 0) {
|
|
3123
3123
|
const { from: r, to: o } = this.N(this.A, s, t);
|
|
@@ -3127,7 +3127,7 @@ class ah extends Sa {
|
|
|
3127
3127
|
if (r) {
|
|
3128
3128
|
Ci.delete(this.options.inId);
|
|
3129
3129
|
const { from: o, to: a } = this.N(r, s, t);
|
|
3130
|
-
e = this.calculateKeyframes(o, a), e = this.options.in ? [{ ...this.options.in[0], ...e[0] }, ...this.options.in.slice(1), e[1]] : e,
|
|
3130
|
+
e = this.calculateKeyframes(o, a), e = this.options.in ? [{ ...this.options.in[0], ...e[0] }, ...this.options.in.slice(1), e[1]] : e, no++, e.forEach(((c) => c.zIndex = no));
|
|
3131
3131
|
} else this.options.in && (e = [...this.options.in, {}]);
|
|
3132
3132
|
}
|
|
3133
3133
|
this.animate(e, i);
|
|
@@ -3144,7 +3144,7 @@ class ah extends Sa {
|
|
|
3144
3144
|
async disconnected() {
|
|
3145
3145
|
var t;
|
|
3146
3146
|
if (!this.h || (this.options.id !== void 0 && Ci.set(this.options.id, this.A), this.options.out === void 0)) return;
|
|
3147
|
-
if (this.prepare(), await
|
|
3147
|
+
if (this.prepare(), await so(), (t = this.i) == null ? void 0 : t.isConnected) {
|
|
3148
3148
|
const i = this.o && this.o.parentNode === this.i ? this.o : null;
|
|
3149
3149
|
if (this.i.insertBefore(this.element, i), this.options.stabilizeOut) {
|
|
3150
3150
|
const s = this.m();
|
|
@@ -3170,15 +3170,15 @@ class ah extends Sa {
|
|
|
3170
3170
|
O() {
|
|
3171
3171
|
const e = [];
|
|
3172
3172
|
for (let t = this.element.parentNode; t; t = t == null ? void 0 : t.parentNode) {
|
|
3173
|
-
const i =
|
|
3173
|
+
const i = lo.get(t);
|
|
3174
3174
|
i && !i.isDisabled() && i && e.push(i);
|
|
3175
3175
|
}
|
|
3176
3176
|
return e;
|
|
3177
3177
|
}
|
|
3178
3178
|
get isHostRendered() {
|
|
3179
|
-
const e =
|
|
3179
|
+
const e = io.has(this.u);
|
|
3180
3180
|
return e || this.u.updateComplete.then((() => {
|
|
3181
|
-
|
|
3181
|
+
io.add(this.u);
|
|
3182
3182
|
})), e;
|
|
3183
3183
|
}
|
|
3184
3184
|
j(e, t = this.O()) {
|
|
@@ -3233,7 +3233,7 @@ class ah extends Sa {
|
|
|
3233
3233
|
}
|
|
3234
3234
|
const qi = ln(ah), Ce = (n, e, t) => {
|
|
3235
3235
|
n && t.style.setProperty(e, n);
|
|
3236
|
-
},
|
|
3236
|
+
}, Ea = (n, e) => {
|
|
3237
3237
|
var t, i, s, r, o, a, c, l, u;
|
|
3238
3238
|
Ce((t = n.colors) == null ? void 0 : t.primaryBackground, "--primary-background", e), Ce(
|
|
3239
3239
|
(i = n.colors) == null ? void 0 : i.textOnPrimaryBackground,
|
|
@@ -3307,7 +3307,7 @@ const Rs = class Rs extends A {
|
|
|
3307
3307
|
}
|
|
3308
3308
|
_applyBranding() {
|
|
3309
3309
|
var e;
|
|
3310
|
-
(e = this.application) != null && e.settings &&
|
|
3310
|
+
(e = this.application) != null && e.settings && Ea(this.application.settings.branding, this);
|
|
3311
3311
|
}
|
|
3312
3312
|
async _renderSymbol() {
|
|
3313
3313
|
var a, c, l;
|
|
@@ -3317,7 +3317,7 @@ const Rs = class Rs extends A {
|
|
|
3317
3317
|
const i = (l = this.application) == null ? void 0 : l.triggerIcon;
|
|
3318
3318
|
if (!i)
|
|
3319
3319
|
return w;
|
|
3320
|
-
const s = async (u) =>
|
|
3320
|
+
const s = async (u) => Zc, { type: r, content: o } = i;
|
|
3321
3321
|
switch (r) {
|
|
3322
3322
|
case "Telia": {
|
|
3323
3323
|
const u = await s();
|
|
@@ -3544,28 +3544,28 @@ Rs.styles = [
|
|
|
3544
3544
|
}
|
|
3545
3545
|
`
|
|
3546
3546
|
];
|
|
3547
|
-
let
|
|
3547
|
+
let Pe = Rs;
|
|
3548
3548
|
cn([
|
|
3549
3549
|
k({ attribute: !1 })
|
|
3550
|
-
],
|
|
3550
|
+
], Pe.prototype, "application");
|
|
3551
3551
|
cn([
|
|
3552
3552
|
T()
|
|
3553
|
-
],
|
|
3553
|
+
], Pe.prototype, "active");
|
|
3554
3554
|
cn([
|
|
3555
3555
|
T()
|
|
3556
|
-
],
|
|
3556
|
+
], Pe.prototype, "triggerVisible");
|
|
3557
3557
|
cn([
|
|
3558
3558
|
T()
|
|
3559
|
-
],
|
|
3559
|
+
], Pe.prototype, "loaded");
|
|
3560
3560
|
cn([
|
|
3561
3561
|
T()
|
|
3562
|
-
],
|
|
3563
|
-
var ch = Object.defineProperty,
|
|
3562
|
+
], Pe.prototype, "icon");
|
|
3563
|
+
var ch = Object.defineProperty, Ye = (n, e, t, i) => {
|
|
3564
3564
|
for (var s = void 0, r = n.length - 1, o; r >= 0; r--)
|
|
3565
3565
|
(o = n[r]) && (s = o(e, t, s) || s);
|
|
3566
3566
|
return s && ch(e, t, s), s;
|
|
3567
3567
|
};
|
|
3568
|
-
const
|
|
3568
|
+
const _a = (n) => {
|
|
3569
3569
|
const t = class t extends n {
|
|
3570
3570
|
constructor() {
|
|
3571
3571
|
super(...arguments), this.properties = {}, this.context = {}, this.layout = {}, this.nodes = [];
|
|
@@ -3606,22 +3606,22 @@ const Ea = (n) => {
|
|
|
3606
3606
|
`
|
|
3607
3607
|
];
|
|
3608
3608
|
let e = t;
|
|
3609
|
-
return
|
|
3609
|
+
return Ye([
|
|
3610
3610
|
k()
|
|
3611
|
-
], e.prototype, "properties"),
|
|
3611
|
+
], e.prototype, "properties"), Ye([
|
|
3612
3612
|
k()
|
|
3613
|
-
], e.prototype, "context"),
|
|
3613
|
+
], e.prototype, "context"), Ye([
|
|
3614
3614
|
k()
|
|
3615
|
-
], e.prototype, "layout"),
|
|
3615
|
+
], e.prototype, "layout"), Ye([
|
|
3616
3616
|
k()
|
|
3617
|
-
], e.prototype, "name"),
|
|
3617
|
+
], e.prototype, "name"), Ye([
|
|
3618
3618
|
k()
|
|
3619
|
-
], e.prototype, "type"),
|
|
3619
|
+
], e.prototype, "type"), Ye([
|
|
3620
3620
|
k({ attribute: !1 })
|
|
3621
|
-
], e.prototype, "application"),
|
|
3621
|
+
], e.prototype, "application"), Ye([
|
|
3622
3622
|
k({ attribute: !1 })
|
|
3623
3623
|
], e.prototype, "parent"), e;
|
|
3624
|
-
}, Ls = class Ls extends
|
|
3624
|
+
}, Ls = class Ls extends _a(A) {
|
|
3625
3625
|
render() {
|
|
3626
3626
|
return y`Non resolved component`;
|
|
3627
3627
|
}
|
|
@@ -3651,7 +3651,7 @@ var gs = /* @__PURE__ */ ((n) => (n.Inline = "inline", n.Trigger = "trigger", n)
|
|
|
3651
3651
|
* Copyright 2021 Google LLC
|
|
3652
3652
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3653
3653
|
*/
|
|
3654
|
-
let
|
|
3654
|
+
let Aa = class extends Event {
|
|
3655
3655
|
constructor(e, t, i, s) {
|
|
3656
3656
|
super("context-request", { bubbles: !0, composed: !0 }), this.context = e, this.contextTarget = t, this.callback = i, this.subscribe = s ?? !1;
|
|
3657
3657
|
}
|
|
@@ -3666,7 +3666,7 @@ let _a = class extends Event {
|
|
|
3666
3666
|
* Copyright 2021 Google LLC
|
|
3667
3667
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3668
3668
|
*/
|
|
3669
|
-
let
|
|
3669
|
+
let co = class {
|
|
3670
3670
|
constructor(e, t, i, s) {
|
|
3671
3671
|
if (this.subscribe = !1, this.provided = !1, this.value = void 0, this.t = (r, o) => {
|
|
3672
3672
|
this.unsubscribe && (this.unsubscribe !== o && (this.provided = !1, this.unsubscribe()), this.subscribe || this.unsubscribe()), this.value = r, this.host.requestUpdate(), this.provided && !this.subscribe || (this.provided = !0, this.callback && this.callback(r, o)), this.unsubscribe = o;
|
|
@@ -3683,7 +3683,7 @@ let lo = class {
|
|
|
3683
3683
|
this.unsubscribe && (this.unsubscribe(), this.unsubscribe = void 0);
|
|
3684
3684
|
}
|
|
3685
3685
|
dispatchRequest() {
|
|
3686
|
-
this.host.dispatchEvent(new
|
|
3686
|
+
this.host.dispatchEvent(new Aa(this.context, this.host, this.t, this.subscribe));
|
|
3687
3687
|
}
|
|
3688
3688
|
};
|
|
3689
3689
|
/**
|
|
@@ -3728,7 +3728,7 @@ let dh = class extends Event {
|
|
|
3728
3728
|
constructor(e, t) {
|
|
3729
3729
|
super("context-provider", { bubbles: !0, composed: !0 }), this.context = e, this.contextTarget = t;
|
|
3730
3730
|
}
|
|
3731
|
-
},
|
|
3731
|
+
}, uo = class extends hh {
|
|
3732
3732
|
constructor(e, t, i) {
|
|
3733
3733
|
var s, r;
|
|
3734
3734
|
super(t.context !== void 0 ? t.initialValue : i), this.onContextRequest = (o) => {
|
|
@@ -3738,7 +3738,7 @@ let dh = class extends Event {
|
|
|
3738
3738
|
}, this.onProviderRequest = (o) => {
|
|
3739
3739
|
if (o.context !== this.context || (o.contextTarget ?? o.composedPath()[0]) === this.host) return;
|
|
3740
3740
|
const a = /* @__PURE__ */ new Set();
|
|
3741
|
-
for (const [c, { consumerHost: l }] of this.subscriptions) a.has(c) || (a.add(c), l.dispatchEvent(new
|
|
3741
|
+
for (const [c, { consumerHost: l }] of this.subscriptions) a.has(c) || (a.add(c), l.dispatchEvent(new Aa(this.context, l, c, !0)));
|
|
3742
3742
|
o.stopPropagation();
|
|
3743
3743
|
}, this.host = e, t.context !== void 0 ? this.context = t.context : this.context = t, this.attachListeners(), (r = (s = this.host).addController) == null || r.call(s, this);
|
|
3744
3744
|
}
|
|
@@ -3762,11 +3762,11 @@ function ph({ context: n }) {
|
|
|
3762
3762
|
}, set(s) {
|
|
3763
3763
|
return i.get(this).setValue(s), e.set.call(this, s);
|
|
3764
3764
|
}, init(s) {
|
|
3765
|
-
return i.set(this, new
|
|
3765
|
+
return i.set(this, new uo(this, { context: n, initialValue: s })), s;
|
|
3766
3766
|
} };
|
|
3767
3767
|
{
|
|
3768
3768
|
e.constructor.addInitializer(((o) => {
|
|
3769
|
-
i.set(o, new
|
|
3769
|
+
i.set(o, new uo(o, { context: n }));
|
|
3770
3770
|
}));
|
|
3771
3771
|
const s = Object.getOwnPropertyDescriptor(e, t);
|
|
3772
3772
|
let r;
|
|
@@ -3795,17 +3795,17 @@ function ph({ context: n }) {
|
|
|
3795
3795
|
function de({ context: n, subscribe: e }) {
|
|
3796
3796
|
return (t, i) => {
|
|
3797
3797
|
typeof i == "object" ? i.addInitializer((function() {
|
|
3798
|
-
new
|
|
3798
|
+
new co(this, { context: n, callback: (s) => {
|
|
3799
3799
|
t.set.call(this, s);
|
|
3800
3800
|
}, subscribe: e });
|
|
3801
3801
|
})) : t.constructor.addInitializer(((s) => {
|
|
3802
|
-
new
|
|
3802
|
+
new co(s, { context: n, callback: (r) => {
|
|
3803
3803
|
s[i] = r;
|
|
3804
3804
|
}, subscribe: e });
|
|
3805
3805
|
}));
|
|
3806
3806
|
};
|
|
3807
3807
|
}
|
|
3808
|
-
var fh = Object.defineProperty,
|
|
3808
|
+
var fh = Object.defineProperty, Ta = (n, e, t, i) => {
|
|
3809
3809
|
for (var s = void 0, r = n.length - 1, o; r >= 0; r--)
|
|
3810
3810
|
(o = n[r]) && (s = o(e, t, s) || s);
|
|
3811
3811
|
return s && fh(e, t, s), s;
|
|
@@ -3821,7 +3821,7 @@ const ae = "application", Is = class Is extends A {
|
|
|
3821
3821
|
if (!this.wrapperRef.value)
|
|
3822
3822
|
return;
|
|
3823
3823
|
const e = this.application.settings;
|
|
3824
|
-
e != null && e.branding &&
|
|
3824
|
+
e != null && e.branding && Ea(e.branding, this.wrapperRef.value);
|
|
3825
3825
|
}
|
|
3826
3826
|
applyStyles() {
|
|
3827
3827
|
if (!this.wrapperRef.value)
|
|
@@ -4009,10 +4009,10 @@ Is.styles = R`
|
|
|
4009
4009
|
}
|
|
4010
4010
|
`;
|
|
4011
4011
|
let Qt = Is;
|
|
4012
|
-
|
|
4012
|
+
Ta([
|
|
4013
4013
|
k({ attribute: !0 })
|
|
4014
4014
|
], Qt.prototype, "fullscreen");
|
|
4015
|
-
|
|
4015
|
+
Ta([
|
|
4016
4016
|
k({ attribute: !1 }),
|
|
4017
4017
|
ph({ context: ae })
|
|
4018
4018
|
], Qt.prototype, "application");
|
|
@@ -4047,7 +4047,7 @@ const Ps = class Ps extends A {
|
|
|
4047
4047
|
if (!this.widget || this.status !== "activated")
|
|
4048
4048
|
return w;
|
|
4049
4049
|
if (this.widget.renderStrategy === gs.Trigger) {
|
|
4050
|
-
const e = new
|
|
4050
|
+
const e = new Pe();
|
|
4051
4051
|
return e.application = this.widget, e;
|
|
4052
4052
|
}
|
|
4053
4053
|
return this.widget.render();
|
|
@@ -4071,7 +4071,7 @@ ms([
|
|
|
4071
4071
|
T()
|
|
4072
4072
|
], St.prototype, "status");
|
|
4073
4073
|
customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", Dn);
|
|
4074
|
-
customElements.get("ace-trigger") || customElements.define("ace-trigger",
|
|
4074
|
+
customElements.get("ace-trigger") || customElements.define("ace-trigger", Pe);
|
|
4075
4075
|
customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", Vi);
|
|
4076
4076
|
customElements.get("ace-wrapper") || customElements.define("ace-wrapper", Qt);
|
|
4077
4077
|
customElements.get("ace-widget") || customElements.define("ace-widget", St);
|
|
@@ -4091,10 +4091,10 @@ class mh {
|
|
|
4091
4091
|
return !!this.message;
|
|
4092
4092
|
}
|
|
4093
4093
|
}
|
|
4094
|
-
class
|
|
4094
|
+
class ho {
|
|
4095
4095
|
constructor(e, t, i, s, r) {
|
|
4096
4096
|
this.id = e, this.providerKey = t, this.providerOptions = i, this.component = r, this.provider$ = new he(null), this.entries$ = new he([]), this.removeEntryAction$ = new P(), this.kill$ = new P(), this.isTyping$ = new he(!1), this.data$ = new he({}), this.complete$ = this.provider$.pipe(
|
|
4097
|
-
|
|
4097
|
+
Le((c) => c ? c.onComplete() : Re)
|
|
4098
4098
|
);
|
|
4099
4099
|
const o = this._getProviderFactory(t);
|
|
4100
4100
|
if (!o)
|
|
@@ -4137,7 +4137,7 @@ class uo {
|
|
|
4137
4137
|
}
|
|
4138
4138
|
_addEntryRemoveHandler(e) {
|
|
4139
4139
|
e.remove$.pipe(
|
|
4140
|
-
|
|
4140
|
+
Le(() => this.entries$),
|
|
4141
4141
|
ve(1)
|
|
4142
4142
|
).subscribe((t) => {
|
|
4143
4143
|
this.removeEntryAction$.next(e), this.entries$.next(t.filter((i) => i !== e));
|
|
@@ -4192,7 +4192,7 @@ class vh {
|
|
|
4192
4192
|
);
|
|
4193
4193
|
return e ? {
|
|
4194
4194
|
sessions: e.sessions.map(
|
|
4195
|
-
(t) => new
|
|
4195
|
+
(t) => new ho(
|
|
4196
4196
|
t.id,
|
|
4197
4197
|
t.providerKey,
|
|
4198
4198
|
t.providerOptions,
|
|
@@ -4229,8 +4229,8 @@ class vh {
|
|
|
4229
4229
|
this.storage.set("conversation", t);
|
|
4230
4230
|
}
|
|
4231
4231
|
_createNewSession(e, t = {}) {
|
|
4232
|
-
const i = this._getStoredSessions(), s = new
|
|
4233
|
-
|
|
4232
|
+
const i = this._getStoredSessions(), s = new ho(
|
|
4233
|
+
Zo(),
|
|
4234
4234
|
e,
|
|
4235
4235
|
t,
|
|
4236
4236
|
{},
|
|
@@ -4248,8 +4248,8 @@ class vh {
|
|
|
4248
4248
|
class bh {
|
|
4249
4249
|
constructor(e, t) {
|
|
4250
4250
|
this.state$ = e, this.component = t, this.entries$ = new he([]), this.session = () => this.session$, this.isTyping = () => this.isTyping$, this.entries = () => this.entries$.asObservable(), this.sessionService = new vh(this.component), this.session$ = this.sessionService.currentSession(), this.isTyping$ = this.session$.pipe(
|
|
4251
|
-
|
|
4252
|
-
|
|
4251
|
+
Le((i) => i ? i.provider$.pipe(
|
|
4252
|
+
Le((s) => s ? s.isTyping() : Mi(!1))
|
|
4253
4253
|
) : Mi(!1))
|
|
4254
4254
|
), e.subscribe((i) => {
|
|
4255
4255
|
switch (i) {
|
|
@@ -4274,9 +4274,9 @@ class bh {
|
|
|
4274
4274
|
}
|
|
4275
4275
|
rehydrate() {
|
|
4276
4276
|
this.session$.pipe(
|
|
4277
|
-
|
|
4277
|
+
Le((e) => {
|
|
4278
4278
|
if (!e)
|
|
4279
|
-
return
|
|
4279
|
+
return Re;
|
|
4280
4280
|
const t = e.removeEntryAction$.pipe(Ni(this.entries$)).pipe(
|
|
4281
4281
|
Tn(([s, r]) => r.filter((o) => o.id !== s.id))
|
|
4282
4282
|
), i = e.entries().pipe(
|
|
@@ -4285,7 +4285,7 @@ class bh {
|
|
|
4285
4285
|
return [...r, ...o];
|
|
4286
4286
|
})
|
|
4287
4287
|
);
|
|
4288
|
-
return
|
|
4288
|
+
return mc(t, i);
|
|
4289
4289
|
})
|
|
4290
4290
|
).subscribe((e) => {
|
|
4291
4291
|
this.entries$.next(e);
|
|
@@ -4296,7 +4296,7 @@ class bh {
|
|
|
4296
4296
|
(e = this.sessionService) == null || e.startSession();
|
|
4297
4297
|
}
|
|
4298
4298
|
}
|
|
4299
|
-
var yh = Object.defineProperty,
|
|
4299
|
+
var yh = Object.defineProperty, Oa = (n, e, t, i) => {
|
|
4300
4300
|
for (var s = void 0, r = n.length - 1, o; r >= 0; r--)
|
|
4301
4301
|
(o = n[r]) && (s = o(e, t, s) || s);
|
|
4302
4302
|
return s && yh(e, t, s), s;
|
|
@@ -4333,13 +4333,13 @@ const Ms = class Ms extends A {
|
|
|
4333
4333
|
}
|
|
4334
4334
|
_renderDeliveryStatus(e) {
|
|
4335
4335
|
return e === "delivered" ? y`<telia-icon
|
|
4336
|
-
svg=${
|
|
4336
|
+
svg=${qc.svg}
|
|
4337
4337
|
size="sm"
|
|
4338
4338
|
></telia-icon>` : e === "failed" ? y`<telia-icon
|
|
4339
|
-
svg=${
|
|
4339
|
+
svg=${Bc.svg}
|
|
4340
4340
|
size="sm"
|
|
4341
4341
|
title="Message could not be delivered"
|
|
4342
|
-
></telia-icon>` : y`<telia-icon svg=${
|
|
4342
|
+
></telia-icon>` : y`<telia-icon svg=${ia.svg} size="sm"></telia-icon>`;
|
|
4343
4343
|
}
|
|
4344
4344
|
_dispatchEntryAction(e) {
|
|
4345
4345
|
this.entry.actions$.next(e.detail);
|
|
@@ -4561,14 +4561,14 @@ Ms.styles = [
|
|
|
4561
4561
|
`
|
|
4562
4562
|
];
|
|
4563
4563
|
let Xt = Ms;
|
|
4564
|
-
|
|
4564
|
+
Oa([
|
|
4565
4565
|
k({ attribute: !1 })
|
|
4566
4566
|
], Xt.prototype, "entry");
|
|
4567
|
-
|
|
4567
|
+
Oa([
|
|
4568
4568
|
de({ context: ae }),
|
|
4569
4569
|
k({ attribute: !1 })
|
|
4570
4570
|
], Xt.prototype, "application");
|
|
4571
|
-
var $h = Object.defineProperty,
|
|
4571
|
+
var $h = Object.defineProperty, Ra = (n, e, t, i) => {
|
|
4572
4572
|
for (var s = void 0, r = n.length - 1, o; r >= 0; r--)
|
|
4573
4573
|
(o = n[r]) && (s = o(e, t, s) || s);
|
|
4574
4574
|
return s && $h(e, t, s), s;
|
|
@@ -4589,7 +4589,7 @@ const Ns = class Ns extends A {
|
|
|
4589
4589
|
.entry=${e}
|
|
4590
4590
|
${qi({
|
|
4591
4591
|
keyframeOptions: {},
|
|
4592
|
-
in:
|
|
4592
|
+
in: ro,
|
|
4593
4593
|
stabilizeOut: !0,
|
|
4594
4594
|
skipInitial: !1
|
|
4595
4595
|
})}
|
|
@@ -4600,7 +4600,7 @@ const Ns = class Ns extends A {
|
|
|
4600
4600
|
${this.loading ? y`<ace-typing-state
|
|
4601
4601
|
${qi({
|
|
4602
4602
|
keyframeOptions: {},
|
|
4603
|
-
in:
|
|
4603
|
+
in: ro,
|
|
4604
4604
|
out: sh,
|
|
4605
4605
|
stabilizeOut: !0,
|
|
4606
4606
|
skipInitial: !1
|
|
@@ -4629,10 +4629,10 @@ Ns.styles = [
|
|
|
4629
4629
|
`
|
|
4630
4630
|
];
|
|
4631
4631
|
let Kt = Ns;
|
|
4632
|
-
|
|
4632
|
+
Ra([
|
|
4633
4633
|
k({ attribute: !1 })
|
|
4634
4634
|
], Kt.prototype, "entries");
|
|
4635
|
-
|
|
4635
|
+
Ra([
|
|
4636
4636
|
k({ type: Boolean })
|
|
4637
4637
|
], Kt.prototype, "loading");
|
|
4638
4638
|
/**
|
|
@@ -4756,7 +4756,7 @@ class Gi extends Jn {
|
|
|
4756
4756
|
}
|
|
4757
4757
|
render(e) {
|
|
4758
4758
|
if (e === w || e == null) return this._t = void 0, this.it = e;
|
|
4759
|
-
if (e ===
|
|
4759
|
+
if (e === Ie) return e;
|
|
4760
4760
|
if (typeof e != "string") throw Error(this.constructor.directiveName + "() called with a non-string value");
|
|
4761
4761
|
if (e === this.it) return this._t;
|
|
4762
4762
|
this.it = e;
|
|
@@ -4768,8 +4768,8 @@ Gi.directiveName = "unsafeHTML", Gi.resultType = 1;
|
|
|
4768
4768
|
const Sh = ln(Gi);
|
|
4769
4769
|
/*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */
|
|
4770
4770
|
const {
|
|
4771
|
-
entries:
|
|
4772
|
-
setPrototypeOf:
|
|
4771
|
+
entries: La,
|
|
4772
|
+
setPrototypeOf: po,
|
|
4773
4773
|
isFrozen: Ch,
|
|
4774
4774
|
getPrototypeOf: Eh,
|
|
4775
4775
|
getOwnPropertyDescriptor: _h
|
|
@@ -4777,7 +4777,7 @@ const {
|
|
|
4777
4777
|
let {
|
|
4778
4778
|
freeze: K,
|
|
4779
4779
|
seal: se,
|
|
4780
|
-
create:
|
|
4780
|
+
create: Ia
|
|
4781
4781
|
} = Object, {
|
|
4782
4782
|
apply: Zi,
|
|
4783
4783
|
construct: Yi
|
|
@@ -4794,7 +4794,7 @@ Zi || (Zi = function(e, t, i) {
|
|
|
4794
4794
|
Yi || (Yi = function(e, t) {
|
|
4795
4795
|
return new e(...t);
|
|
4796
4796
|
});
|
|
4797
|
-
const $n = J(Array.prototype.forEach), Ah = J(Array.prototype.lastIndexOf),
|
|
4797
|
+
const $n = J(Array.prototype.forEach), Ah = J(Array.prototype.lastIndexOf), fo = J(Array.prototype.pop), Pt = J(Array.prototype.push), Th = J(Array.prototype.splice), Cn = J(String.prototype.toLowerCase), _i = J(String.prototype.toString), go = J(String.prototype.match), Mt = J(String.prototype.replace), Oh = J(String.prototype.indexOf), Rh = J(String.prototype.trim), ce = J(Object.prototype.hasOwnProperty), Z = J(RegExp.prototype.test), Nt = Lh(TypeError);
|
|
4798
4798
|
function J(n) {
|
|
4799
4799
|
return function(e) {
|
|
4800
4800
|
e instanceof RegExp && (e.lastIndex = 0);
|
|
@@ -4812,7 +4812,7 @@ function Lh(n) {
|
|
|
4812
4812
|
}
|
|
4813
4813
|
function x(n, e) {
|
|
4814
4814
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Cn;
|
|
4815
|
-
|
|
4815
|
+
po && po(n, null);
|
|
4816
4816
|
let i = e.length;
|
|
4817
4817
|
for (; i--; ) {
|
|
4818
4818
|
let s = e[i];
|
|
@@ -4830,8 +4830,8 @@ function Ih(n) {
|
|
|
4830
4830
|
return n;
|
|
4831
4831
|
}
|
|
4832
4832
|
function Ee(n) {
|
|
4833
|
-
const e =
|
|
4834
|
-
for (const [t, i] of
|
|
4833
|
+
const e = Ia(null);
|
|
4834
|
+
for (const [t, i] of La(n))
|
|
4835
4835
|
ce(n, t) && (Array.isArray(i) ? e[t] = Ih(i) : i && typeof i == "object" && i.constructor === Object ? e[t] = Ee(i) : e[t] = i);
|
|
4836
4836
|
return e;
|
|
4837
4837
|
}
|
|
@@ -4851,22 +4851,22 @@ function Ut(n, e) {
|
|
|
4851
4851
|
}
|
|
4852
4852
|
return t;
|
|
4853
4853
|
}
|
|
4854
|
-
const
|
|
4854
|
+
const mo = K(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), Ai = K(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), Ti = K(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Ph = K(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), Oi = K(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), Mh = K(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), vo = K(["#text"]), bo = K(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), Ri = K(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), yo = K(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), wn = K(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Nh = se(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Uh = se(/<%[\w\W]*|[\w\W]*%>/gm), Dh = se(/\$\{[\w\W]*/gm), Hh = se(/^data-[\-\w.\u00B7-\uFFFF]+$/), zh = se(/^aria-[\-\w]+$/), Pa = se(
|
|
4855
4855
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
4856
4856
|
// eslint-disable-line no-useless-escape
|
|
4857
4857
|
), Fh = se(/^(?:\w+script|data):/i), jh = se(
|
|
4858
4858
|
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
4859
4859
|
// eslint-disable-line no-control-regex
|
|
4860
|
-
),
|
|
4861
|
-
var
|
|
4860
|
+
), Ma = se(/^html$/i), Bh = se(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
4861
|
+
var $o = /* @__PURE__ */ Object.freeze({
|
|
4862
4862
|
__proto__: null,
|
|
4863
4863
|
ARIA_ATTR: zh,
|
|
4864
4864
|
ATTR_WHITESPACE: jh,
|
|
4865
4865
|
CUSTOM_ELEMENT: Bh,
|
|
4866
4866
|
DATA_ATTR: Hh,
|
|
4867
|
-
DOCTYPE_NAME:
|
|
4867
|
+
DOCTYPE_NAME: Ma,
|
|
4868
4868
|
ERB_EXPR: Uh,
|
|
4869
|
-
IS_ALLOWED_URI:
|
|
4869
|
+
IS_ALLOWED_URI: Pa,
|
|
4870
4870
|
IS_SCRIPT_OR_DATA: Fh,
|
|
4871
4871
|
MUSTACHE_EXPR: Nh,
|
|
4872
4872
|
TMPLIT_EXPR: Dh
|
|
@@ -4899,7 +4899,7 @@ const Dt = {
|
|
|
4899
4899
|
} catch {
|
|
4900
4900
|
return console.warn("TrustedTypes policy " + r + " could not be created."), null;
|
|
4901
4901
|
}
|
|
4902
|
-
},
|
|
4902
|
+
}, wo = function() {
|
|
4903
4903
|
return {
|
|
4904
4904
|
afterSanitizeAttributes: [],
|
|
4905
4905
|
afterSanitizeElements: [],
|
|
@@ -4912,9 +4912,9 @@ const Dt = {
|
|
|
4912
4912
|
uponSanitizeShadowNode: []
|
|
4913
4913
|
};
|
|
4914
4914
|
};
|
|
4915
|
-
function
|
|
4915
|
+
function Na() {
|
|
4916
4916
|
let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : qh();
|
|
4917
|
-
const e = (b) =>
|
|
4917
|
+
const e = (b) => Na(b);
|
|
4918
4918
|
if (e.version = "3.2.6", e.removed = [], !n || !n.document || n.document.nodeType !== Dt.document || !n.Element)
|
|
4919
4919
|
return e.isSupported = !1, e;
|
|
4920
4920
|
let {
|
|
@@ -4930,39 +4930,39 @@ function Ma() {
|
|
|
4930
4930
|
HTMLFormElement: p,
|
|
4931
4931
|
DOMParser: d,
|
|
4932
4932
|
trustedTypes: g
|
|
4933
|
-
} = n, m = c.prototype, $ = Ut(m, "cloneNode"), we = Ut(m, "remove"), le = Ut(m, "nextSibling"),
|
|
4933
|
+
} = n, m = c.prototype, $ = Ut(m, "cloneNode"), we = Ut(m, "remove"), le = Ut(m, "nextSibling"), Ne = Ut(m, "childNodes"), Be = Ut(m, "parentNode");
|
|
4934
4934
|
if (typeof o == "function") {
|
|
4935
4935
|
const b = t.createElement("template");
|
|
4936
4936
|
b.content && b.content.ownerDocument && (t = b.content.ownerDocument);
|
|
4937
4937
|
}
|
|
4938
|
-
let M,
|
|
4938
|
+
let M, qe = "";
|
|
4939
4939
|
const {
|
|
4940
|
-
implementation:
|
|
4941
|
-
createNodeIterator:
|
|
4942
|
-
createDocumentFragment:
|
|
4943
|
-
getElementsByTagName:
|
|
4940
|
+
implementation: Ve,
|
|
4941
|
+
createNodeIterator: We,
|
|
4942
|
+
createDocumentFragment: el,
|
|
4943
|
+
getElementsByTagName: tl
|
|
4944
4944
|
} = t, {
|
|
4945
|
-
importNode:
|
|
4945
|
+
importNode: nl
|
|
4946
4946
|
} = i;
|
|
4947
|
-
let W =
|
|
4948
|
-
e.isSupported = typeof
|
|
4947
|
+
let W = wo();
|
|
4948
|
+
e.isSupported = typeof La == "function" && typeof Be == "function" && Ve && Ve.createHTMLDocument !== void 0;
|
|
4949
4949
|
const {
|
|
4950
4950
|
MUSTACHE_EXPR: ni,
|
|
4951
4951
|
ERB_EXPR: ii,
|
|
4952
4952
|
TMPLIT_EXPR: si,
|
|
4953
|
-
DATA_ATTR:
|
|
4954
|
-
ARIA_ATTR:
|
|
4955
|
-
IS_SCRIPT_OR_DATA:
|
|
4953
|
+
DATA_ATTR: il,
|
|
4954
|
+
ARIA_ATTR: sl,
|
|
4955
|
+
IS_SCRIPT_OR_DATA: rl,
|
|
4956
4956
|
ATTR_WHITESPACE: Ks,
|
|
4957
|
-
CUSTOM_ELEMENT:
|
|
4958
|
-
} =
|
|
4957
|
+
CUSTOM_ELEMENT: ol
|
|
4958
|
+
} = $o;
|
|
4959
4959
|
let {
|
|
4960
4960
|
IS_ALLOWED_URI: Js
|
|
4961
|
-
} =
|
|
4962
|
-
const er = x({}, [...
|
|
4961
|
+
} = $o, N = null;
|
|
4962
|
+
const er = x({}, [...mo, ...Ai, ...Ti, ...Oi, ...vo]);
|
|
4963
4963
|
let D = null;
|
|
4964
|
-
const tr = x({}, [...
|
|
4965
|
-
let L = Object.seal(
|
|
4964
|
+
const tr = x({}, [...bo, ...Ri, ...yo, ...wn]);
|
|
4965
|
+
let L = Object.seal(Ia(null, {
|
|
4966
4966
|
tagNameCheck: {
|
|
4967
4967
|
writable: !0,
|
|
4968
4968
|
configurable: !1,
|
|
@@ -4981,8 +4981,8 @@ function Ma() {
|
|
|
4981
4981
|
enumerable: !0,
|
|
4982
4982
|
value: !1
|
|
4983
4983
|
}
|
|
4984
|
-
})), Tt = null, ri = null, nr = !0, oi = !0, ir = !1, sr = !0, rt = !1, hn = !0,
|
|
4985
|
-
const
|
|
4984
|
+
})), Tt = null, ri = null, nr = !0, oi = !0, ir = !1, sr = !0, rt = !1, hn = !0, Ge = !1, ai = !1, li = !1, ot = !1, dn = !1, pn = !1, rr = !0, or = !1;
|
|
4985
|
+
const al = "user-content-";
|
|
4986
4986
|
let ci = !0, Ot = !1, at = {}, lt = null;
|
|
4987
4987
|
const ar = x({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
4988
4988
|
let lr = null;
|
|
@@ -4990,42 +4990,42 @@ function Ma() {
|
|
|
4990
4990
|
let ui = null;
|
|
4991
4991
|
const ur = x({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), fn = "http://www.w3.org/1998/Math/MathML", gn = "http://www.w3.org/2000/svg", xe = "http://www.w3.org/1999/xhtml";
|
|
4992
4992
|
let ct = xe, hi = !1, di = null;
|
|
4993
|
-
const
|
|
4993
|
+
const ll = x({}, [fn, gn, xe], _i);
|
|
4994
4994
|
let mn = x({}, ["mi", "mo", "mn", "ms", "mtext"]), vn = x({}, ["annotation-xml"]);
|
|
4995
|
-
const
|
|
4995
|
+
const cl = x({}, ["title", "style", "font", "a", "script"]);
|
|
4996
4996
|
let Rt = null;
|
|
4997
|
-
const
|
|
4997
|
+
const ul = ["application/xhtml+xml", "text/html"], hl = "text/html";
|
|
4998
4998
|
let U = null, ut = null;
|
|
4999
|
-
const
|
|
4999
|
+
const dl = t.createElement("form"), hr = function(h) {
|
|
5000
5000
|
return h instanceof RegExp || h instanceof Function;
|
|
5001
5001
|
}, pi = function() {
|
|
5002
5002
|
let h = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
5003
5003
|
if (!(ut && ut === h)) {
|
|
5004
5004
|
if ((!h || typeof h != "object") && (h = {}), h = Ee(h), Rt = // eslint-disable-next-line unicorn/prefer-includes
|
|
5005
|
-
|
|
5005
|
+
ul.indexOf(h.PARSER_MEDIA_TYPE) === -1 ? hl : h.PARSER_MEDIA_TYPE, U = Rt === "application/xhtml+xml" ? _i : Cn, N = ce(h, "ALLOWED_TAGS") ? x({}, h.ALLOWED_TAGS, U) : er, D = ce(h, "ALLOWED_ATTR") ? x({}, h.ALLOWED_ATTR, U) : tr, di = ce(h, "ALLOWED_NAMESPACES") ? x({}, h.ALLOWED_NAMESPACES, _i) : ll, ui = ce(h, "ADD_URI_SAFE_ATTR") ? x(Ee(ur), h.ADD_URI_SAFE_ATTR, U) : ur, lr = ce(h, "ADD_DATA_URI_TAGS") ? x(Ee(cr), h.ADD_DATA_URI_TAGS, U) : cr, lt = ce(h, "FORBID_CONTENTS") ? x({}, h.FORBID_CONTENTS, U) : ar, Tt = ce(h, "FORBID_TAGS") ? x({}, h.FORBID_TAGS, U) : Ee({}), ri = ce(h, "FORBID_ATTR") ? x({}, h.FORBID_ATTR, U) : Ee({}), at = ce(h, "USE_PROFILES") ? h.USE_PROFILES : !1, nr = h.ALLOW_ARIA_ATTR !== !1, oi = h.ALLOW_DATA_ATTR !== !1, ir = h.ALLOW_UNKNOWN_PROTOCOLS || !1, sr = h.ALLOW_SELF_CLOSE_IN_ATTR !== !1, rt = h.SAFE_FOR_TEMPLATES || !1, hn = h.SAFE_FOR_XML !== !1, Ge = h.WHOLE_DOCUMENT || !1, ot = h.RETURN_DOM || !1, dn = h.RETURN_DOM_FRAGMENT || !1, pn = h.RETURN_TRUSTED_TYPE || !1, li = h.FORCE_BODY || !1, rr = h.SANITIZE_DOM !== !1, or = h.SANITIZE_NAMED_PROPS || !1, ci = h.KEEP_CONTENT !== !1, Ot = h.IN_PLACE || !1, Js = h.ALLOWED_URI_REGEXP || Pa, ct = h.NAMESPACE || xe, mn = h.MATHML_TEXT_INTEGRATION_POINTS || mn, vn = h.HTML_INTEGRATION_POINTS || vn, L = h.CUSTOM_ELEMENT_HANDLING || {}, h.CUSTOM_ELEMENT_HANDLING && hr(h.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (L.tagNameCheck = h.CUSTOM_ELEMENT_HANDLING.tagNameCheck), h.CUSTOM_ELEMENT_HANDLING && hr(h.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (L.attributeNameCheck = h.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), h.CUSTOM_ELEMENT_HANDLING && typeof h.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (L.allowCustomizedBuiltInElements = h.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), rt && (oi = !1), dn && (ot = !0), at && (N = x({}, vo), D = [], at.html === !0 && (x(N, mo), x(D, bo)), at.svg === !0 && (x(N, Ai), x(D, Ri), x(D, wn)), at.svgFilters === !0 && (x(N, Ti), x(D, Ri), x(D, wn)), at.mathMl === !0 && (x(N, Oi), x(D, yo), x(D, wn))), h.ADD_TAGS && (N === er && (N = Ee(N)), x(N, h.ADD_TAGS, U)), h.ADD_ATTR && (D === tr && (D = Ee(D)), x(D, h.ADD_ATTR, U)), h.ADD_URI_SAFE_ATTR && x(ui, h.ADD_URI_SAFE_ATTR, U), h.FORBID_CONTENTS && (lt === ar && (lt = Ee(lt)), x(lt, h.FORBID_CONTENTS, U)), ci && (N["#text"] = !0), Ge && x(N, ["html", "head", "body"]), N.table && (x(N, ["tbody"]), delete Tt.tbody), h.TRUSTED_TYPES_POLICY) {
|
|
5006
5006
|
if (typeof h.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
5007
5007
|
throw Nt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
5008
5008
|
if (typeof h.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
5009
5009
|
throw Nt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
5010
|
-
M = h.TRUSTED_TYPES_POLICY,
|
|
5010
|
+
M = h.TRUSTED_TYPES_POLICY, qe = M.createHTML("");
|
|
5011
5011
|
} else
|
|
5012
|
-
M === void 0 && (M = Vh(g, s)), M !== null && typeof
|
|
5012
|
+
M === void 0 && (M = Vh(g, s)), M !== null && typeof qe == "string" && (qe = M.createHTML(""));
|
|
5013
5013
|
K && K(h), ut = h;
|
|
5014
5014
|
}
|
|
5015
|
-
}, dr = x({}, [...Ai, ...Ti, ...Ph]), pr = x({}, [...Oi, ...Mh]),
|
|
5016
|
-
let f =
|
|
5015
|
+
}, dr = x({}, [...Ai, ...Ti, ...Ph]), pr = x({}, [...Oi, ...Mh]), pl = function(h) {
|
|
5016
|
+
let f = Be(h);
|
|
5017
5017
|
(!f || !f.tagName) && (f = {
|
|
5018
5018
|
namespaceURI: ct,
|
|
5019
5019
|
tagName: "template"
|
|
5020
5020
|
});
|
|
5021
5021
|
const v = Cn(h.tagName), O = Cn(f.tagName);
|
|
5022
|
-
return di[h.namespaceURI] ? h.namespaceURI === gn ? f.namespaceURI === xe ? v === "svg" : f.namespaceURI === fn ? v === "svg" && (O === "annotation-xml" || mn[O]) : !!dr[v] : h.namespaceURI === fn ? f.namespaceURI === xe ? v === "math" : f.namespaceURI === gn ? v === "math" && vn[O] : !!pr[v] : h.namespaceURI === xe ? f.namespaceURI === gn && !vn[O] || f.namespaceURI === fn && !mn[O] ? !1 : !pr[v] && (
|
|
5022
|
+
return di[h.namespaceURI] ? h.namespaceURI === gn ? f.namespaceURI === xe ? v === "svg" : f.namespaceURI === fn ? v === "svg" && (O === "annotation-xml" || mn[O]) : !!dr[v] : h.namespaceURI === fn ? f.namespaceURI === xe ? v === "math" : f.namespaceURI === gn ? v === "math" && vn[O] : !!pr[v] : h.namespaceURI === xe ? f.namespaceURI === gn && !vn[O] || f.namespaceURI === fn && !mn[O] ? !1 : !pr[v] && (cl[v] || !dr[v]) : !!(Rt === "application/xhtml+xml" && di[h.namespaceURI]) : !1;
|
|
5023
5023
|
}, fe = function(h) {
|
|
5024
5024
|
Pt(e.removed, {
|
|
5025
5025
|
element: h
|
|
5026
5026
|
});
|
|
5027
5027
|
try {
|
|
5028
|
-
|
|
5028
|
+
Be(h).removeChild(h);
|
|
5029
5029
|
} catch {
|
|
5030
5030
|
we(h);
|
|
5031
5031
|
}
|
|
@@ -5057,7 +5057,7 @@ function Ma() {
|
|
|
5057
5057
|
if (li)
|
|
5058
5058
|
h = "<remove></remove>" + h;
|
|
5059
5059
|
else {
|
|
5060
|
-
const I =
|
|
5060
|
+
const I = go(h, /^[\r\n\t ]+/);
|
|
5061
5061
|
v = I && I[0];
|
|
5062
5062
|
}
|
|
5063
5063
|
Rt === "application/xhtml+xml" && ct === xe && (h = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + h + "</body></html>");
|
|
@@ -5068,16 +5068,16 @@ function Ma() {
|
|
|
5068
5068
|
} catch {
|
|
5069
5069
|
}
|
|
5070
5070
|
if (!f || !f.documentElement) {
|
|
5071
|
-
f =
|
|
5071
|
+
f = Ve.createDocument(ct, "template", null);
|
|
5072
5072
|
try {
|
|
5073
|
-
f.documentElement.innerHTML = hi ?
|
|
5073
|
+
f.documentElement.innerHTML = hi ? qe : O;
|
|
5074
5074
|
} catch {
|
|
5075
5075
|
}
|
|
5076
5076
|
}
|
|
5077
5077
|
const j = f.body || f.documentElement;
|
|
5078
|
-
return h && v && j.insertBefore(t.createTextNode(v), j.childNodes[0] || null), ct === xe ?
|
|
5078
|
+
return h && v && j.insertBefore(t.createTextNode(v), j.childNodes[0] || null), ct === xe ? tl.call(f, Ge ? "html" : "body")[0] : Ge ? f.documentElement : j;
|
|
5079
5079
|
}, gr = function(h) {
|
|
5080
|
-
return
|
|
5080
|
+
return We.call(
|
|
5081
5081
|
h.ownerDocument || h,
|
|
5082
5082
|
h,
|
|
5083
5083
|
// eslint-disable-next-line no-bitwise
|
|
@@ -5108,7 +5108,7 @@ function Ma() {
|
|
|
5108
5108
|
if (!Tt[v] && yr(v) && (L.tagNameCheck instanceof RegExp && Z(L.tagNameCheck, v) || L.tagNameCheck instanceof Function && L.tagNameCheck(v)))
|
|
5109
5109
|
return !1;
|
|
5110
5110
|
if (ci && !lt[v]) {
|
|
5111
|
-
const O =
|
|
5111
|
+
const O = Be(h) || h.parentNode, j = Ne(h) || h.childNodes;
|
|
5112
5112
|
if (j && O) {
|
|
5113
5113
|
const I = j.length;
|
|
5114
5114
|
for (let ee = I - 1; ee >= 0; --ee) {
|
|
@@ -5119,16 +5119,16 @@ function Ma() {
|
|
|
5119
5119
|
}
|
|
5120
5120
|
return fe(h), !0;
|
|
5121
5121
|
}
|
|
5122
|
-
return h instanceof c && !
|
|
5122
|
+
return h instanceof c && !pl(h) || (v === "noscript" || v === "noembed" || v === "noframes") && Z(/<\/no(script|embed|frames)/i, h.innerHTML) ? (fe(h), !0) : (rt && h.nodeType === Dt.text && (f = h.textContent, $n([ni, ii, si], (O) => {
|
|
5123
5123
|
f = Mt(f, O, " ");
|
|
5124
5124
|
}), h.textContent !== f && (Pt(e.removed, {
|
|
5125
5125
|
element: h.cloneNode()
|
|
5126
5126
|
}), h.textContent = f)), ke(W.afterSanitizeElements, h, null), !1);
|
|
5127
5127
|
}, br = function(h, f, v) {
|
|
5128
|
-
if (rr && (f === "id" || f === "name") && (v in t || v in
|
|
5128
|
+
if (rr && (f === "id" || f === "name") && (v in t || v in dl))
|
|
5129
5129
|
return !1;
|
|
5130
|
-
if (!(oi && !ri[f] && Z(
|
|
5131
|
-
if (!(nr && Z(
|
|
5130
|
+
if (!(oi && !ri[f] && Z(il, f))) {
|
|
5131
|
+
if (!(nr && Z(sl, f))) {
|
|
5132
5132
|
if (!D[f] || ri[f]) {
|
|
5133
5133
|
if (
|
|
5134
5134
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
@@ -5141,7 +5141,7 @@ function Ma() {
|
|
|
5141
5141
|
} else if (!ui[f]) {
|
|
5142
5142
|
if (!Z(Js, Mt(v, Ks, ""))) {
|
|
5143
5143
|
if (!((f === "src" || f === "xlink:href" || f === "href") && h !== "script" && Oh(v, "data:") === 0 && lr[h])) {
|
|
5144
|
-
if (!(ir && !Z(
|
|
5144
|
+
if (!(ir && !Z(rl, Mt(v, Ks, "")))) {
|
|
5145
5145
|
if (v)
|
|
5146
5146
|
return !1;
|
|
5147
5147
|
}
|
|
@@ -5152,7 +5152,7 @@ function Ma() {
|
|
|
5152
5152
|
}
|
|
5153
5153
|
return !0;
|
|
5154
5154
|
}, yr = function(h) {
|
|
5155
|
-
return h !== "annotation-xml" &&
|
|
5155
|
+
return h !== "annotation-xml" && go(h, ol);
|
|
5156
5156
|
}, $r = function(h) {
|
|
5157
5157
|
ke(W.beforeSanitizeAttributes, h, null);
|
|
5158
5158
|
const {
|
|
@@ -5175,7 +5175,7 @@ function Ma() {
|
|
|
5175
5175
|
value: Se
|
|
5176
5176
|
} = j, Lt = U(I), gi = Se;
|
|
5177
5177
|
let B = I === "value" ? gi : Rh(gi);
|
|
5178
|
-
if (v.attrName = Lt, v.attrValue = B, v.keepAttr = !0, v.forceKeepAttr = void 0, ke(W.uponSanitizeAttribute, h, v), B = v.attrValue, or && (Lt === "id" || Lt === "name") && (ht(I, h), B =
|
|
5178
|
+
if (v.attrName = Lt, v.attrValue = B, v.keepAttr = !0, v.forceKeepAttr = void 0, ke(W.uponSanitizeAttribute, h, v), B = v.attrValue, or && (Lt === "id" || Lt === "name") && (ht(I, h), B = al + B), hn && Z(/((--!?|])>)|<\/(style|title)/i, B)) {
|
|
5179
5179
|
ht(I, h);
|
|
5180
5180
|
continue;
|
|
5181
5181
|
}
|
|
@@ -5210,13 +5210,13 @@ function Ma() {
|
|
|
5210
5210
|
}
|
|
5211
5211
|
if (B !== gi)
|
|
5212
5212
|
try {
|
|
5213
|
-
ee ? h.setAttributeNS(ee, I, B) : h.setAttribute(I, B), fi(h) ? fe(h) :
|
|
5213
|
+
ee ? h.setAttributeNS(ee, I, B) : h.setAttribute(I, B), fi(h) ? fe(h) : fo(e.removed);
|
|
5214
5214
|
} catch {
|
|
5215
5215
|
ht(I, h);
|
|
5216
5216
|
}
|
|
5217
5217
|
}
|
|
5218
5218
|
ke(W.afterSanitizeAttributes, h, null);
|
|
5219
|
-
},
|
|
5219
|
+
}, fl = function b(h) {
|
|
5220
5220
|
let f = null;
|
|
5221
5221
|
const v = gr(h);
|
|
5222
5222
|
for (ke(W.beforeSanitizeShadowDOM, h, null); f = v.nextNode(); )
|
|
@@ -5242,28 +5242,28 @@ function Ma() {
|
|
|
5242
5242
|
} else if (b instanceof a)
|
|
5243
5243
|
f = fr("<!---->"), v = f.ownerDocument.importNode(b, !0), v.nodeType === Dt.element && v.nodeName === "BODY" || v.nodeName === "HTML" ? f = v : f.appendChild(v);
|
|
5244
5244
|
else {
|
|
5245
|
-
if (!ot && !rt && !
|
|
5245
|
+
if (!ot && !rt && !Ge && // eslint-disable-next-line unicorn/prefer-includes
|
|
5246
5246
|
b.indexOf("<") === -1)
|
|
5247
5247
|
return M && pn ? M.createHTML(b) : b;
|
|
5248
5248
|
if (f = fr(b), !f)
|
|
5249
|
-
return ot ? null : pn ?
|
|
5249
|
+
return ot ? null : pn ? qe : "";
|
|
5250
5250
|
}
|
|
5251
5251
|
f && li && fe(f.firstChild);
|
|
5252
5252
|
const I = gr(Ot ? b : f);
|
|
5253
5253
|
for (; O = I.nextNode(); )
|
|
5254
|
-
vr(O), $r(O), O.content instanceof r &&
|
|
5254
|
+
vr(O), $r(O), O.content instanceof r && fl(O.content);
|
|
5255
5255
|
if (Ot)
|
|
5256
5256
|
return b;
|
|
5257
5257
|
if (ot) {
|
|
5258
5258
|
if (dn)
|
|
5259
|
-
for (j =
|
|
5259
|
+
for (j = el.call(f.ownerDocument); f.firstChild; )
|
|
5260
5260
|
j.appendChild(f.firstChild);
|
|
5261
5261
|
else
|
|
5262
5262
|
j = f;
|
|
5263
|
-
return (D.shadowroot || D.shadowrootmode) && (j =
|
|
5263
|
+
return (D.shadowroot || D.shadowrootmode) && (j = nl.call(i, j, !0)), j;
|
|
5264
5264
|
}
|
|
5265
|
-
let ee =
|
|
5266
|
-
return
|
|
5265
|
+
let ee = Ge ? f.outerHTML : f.innerHTML;
|
|
5266
|
+
return Ge && N["!doctype"] && f.ownerDocument && f.ownerDocument.doctype && f.ownerDocument.doctype.name && Z(Ma, f.ownerDocument.doctype.name) && (ee = "<!DOCTYPE " + f.ownerDocument.doctype.name + `>
|
|
5267
5267
|
` + ee), rt && $n([ni, ii, si], (Se) => {
|
|
5268
5268
|
ee = Mt(ee, Se, " ");
|
|
5269
5269
|
}), M && pn ? M.createHTML(ee) : ee;
|
|
@@ -5283,14 +5283,14 @@ function Ma() {
|
|
|
5283
5283
|
const f = Ah(W[b], h);
|
|
5284
5284
|
return f === -1 ? void 0 : Th(W[b], f, 1)[0];
|
|
5285
5285
|
}
|
|
5286
|
-
return
|
|
5286
|
+
return fo(W[b]);
|
|
5287
5287
|
}, e.removeHooks = function(b) {
|
|
5288
5288
|
W[b] = [];
|
|
5289
5289
|
}, e.removeAllHooks = function() {
|
|
5290
|
-
W =
|
|
5290
|
+
W = wo();
|
|
5291
5291
|
}, e;
|
|
5292
5292
|
}
|
|
5293
|
-
var
|
|
5293
|
+
var Ua = Na(), Wh = Object.defineProperty, Gh = (n, e, t, i) => {
|
|
5294
5294
|
for (var s = void 0, r = n.length - 1, o; r >= 0; r--)
|
|
5295
5295
|
(o = n[r]) && (s = o(e, t, s) || s);
|
|
5296
5296
|
return s && Wh(e, t, s), s;
|
|
@@ -5298,7 +5298,7 @@ var Na = Ma(), Wh = Object.defineProperty, Gh = (n, e, t, i) => {
|
|
|
5298
5298
|
const Hs = class Hs extends A {
|
|
5299
5299
|
render() {
|
|
5300
5300
|
return y`<div class="message-type-html">
|
|
5301
|
-
${Sh(
|
|
5301
|
+
${Sh(Ua.sanitize(this.message.content))}
|
|
5302
5302
|
</div>`;
|
|
5303
5303
|
}
|
|
5304
5304
|
};
|
|
@@ -5358,7 +5358,7 @@ function vs() {
|
|
|
5358
5358
|
};
|
|
5359
5359
|
}
|
|
5360
5360
|
var it = vs();
|
|
5361
|
-
function
|
|
5361
|
+
function Da(n) {
|
|
5362
5362
|
it = n;
|
|
5363
5363
|
}
|
|
5364
5364
|
var qt = { exec: () => null };
|
|
@@ -5430,10 +5430,10 @@ var Y = {
|
|
|
5430
5430
|
fencesBeginRegex: (n) => new RegExp(`^ {0,${Math.min(3, n - 1)}}(?:\`\`\`|~~~)`),
|
|
5431
5431
|
headingBeginRegex: (n) => new RegExp(`^ {0,${Math.min(3, n - 1)}}#`),
|
|
5432
5432
|
htmlBeginRegex: (n) => new RegExp(`^ {0,${Math.min(3, n - 1)}}<(?:[a-z].*>|!--)`, "i")
|
|
5433
|
-
}, Zh = /^(?:[ \t]*(?:\n|$))+/, Yh = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Qh = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, un = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Xh = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, bs = /(?:[*+-]|\d{1,9}[.)])/,
|
|
5433
|
+
}, Zh = /^(?:[ \t]*(?:\n|$))+/, Yh = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Qh = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, un = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Xh = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, bs = /(?:[*+-]|\d{1,9}[.)])/, Ha = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, za = E(Ha).replace(/bull/g, bs).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), Kh = E(Ha).replace(/bull/g, bs).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), ys = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, Jh = /^[^\n]+/, $s = /(?!\s*\])(?:\\.|[^\[\]\\])+/, ed = E(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", $s).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), td = E(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, bs).getRegex(), ei = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", ws = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, nd = E(
|
|
5434
5434
|
"^ {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|$))",
|
|
5435
5435
|
"i"
|
|
5436
|
-
).replace("comment", ws).replace("tag", ei).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),
|
|
5436
|
+
).replace("comment", ws).replace("tag", ei).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), Fa = E(ys).replace("hr", un).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", ei).getRegex(), id = E(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", Fa).getRegex(), xs = {
|
|
5437
5437
|
blockquote: id,
|
|
5438
5438
|
code: Yh,
|
|
5439
5439
|
def: ed,
|
|
@@ -5441,19 +5441,19 @@ var Y = {
|
|
|
5441
5441
|
heading: Xh,
|
|
5442
5442
|
hr: un,
|
|
5443
5443
|
html: nd,
|
|
5444
|
-
lheading:
|
|
5444
|
+
lheading: za,
|
|
5445
5445
|
list: td,
|
|
5446
5446
|
newline: Zh,
|
|
5447
|
-
paragraph:
|
|
5447
|
+
paragraph: Fa,
|
|
5448
5448
|
table: qt,
|
|
5449
5449
|
text: Jh
|
|
5450
|
-
},
|
|
5450
|
+
}, xo = E(
|
|
5451
5451
|
"^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"
|
|
5452
5452
|
).replace("hr", un).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", ei).getRegex(), sd = {
|
|
5453
5453
|
...xs,
|
|
5454
5454
|
lheading: Kh,
|
|
5455
|
-
table:
|
|
5456
|
-
paragraph: E(ys).replace("hr", un).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table",
|
|
5455
|
+
table: xo,
|
|
5456
|
+
paragraph: E(ys).replace("hr", un).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", xo).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", ei).getRegex()
|
|
5457
5457
|
}, rd = {
|
|
5458
5458
|
...xs,
|
|
5459
5459
|
html: E(
|
|
@@ -5465,19 +5465,19 @@ var Y = {
|
|
|
5465
5465
|
// fences not supported
|
|
5466
5466
|
lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
|
|
5467
5467
|
paragraph: E(ys).replace("hr", un).replace("heading", ` *#{1,6} *[^
|
|
5468
|
-
]`).replace("lheading",
|
|
5469
|
-
}, od = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, ad = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,
|
|
5468
|
+
]`).replace("lheading", za).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
|
|
5469
|
+
}, od = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, ad = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, ja = /^( {2,}|\\)\n(?!\s*$)/, ld = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, ti = /[\p{P}\p{S}]/u, ks = /[\s\p{P}\p{S}]/u, Ba = /[^\s\p{P}\p{S}]/u, cd = E(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, ks).getRegex(), qa = /(?!~)[\p{P}\p{S}]/u, ud = /(?!~)[\s\p{P}\p{S}]/u, hd = /(?:[^\s\p{P}\p{S}]|~)/u, dd = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, Va = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, pd = E(Va, "u").replace(/punct/g, ti).getRegex(), fd = E(Va, "u").replace(/punct/g, qa).getRegex(), Wa = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", gd = E(Wa, "gu").replace(/notPunctSpace/g, Ba).replace(/punctSpace/g, ks).replace(/punct/g, ti).getRegex(), md = E(Wa, "gu").replace(/notPunctSpace/g, hd).replace(/punctSpace/g, ud).replace(/punct/g, qa).getRegex(), vd = E(
|
|
5470
5470
|
"^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)",
|
|
5471
5471
|
"gu"
|
|
5472
|
-
).replace(/notPunctSpace/g,
|
|
5472
|
+
).replace(/notPunctSpace/g, Ba).replace(/punctSpace/g, ks).replace(/punct/g, ti).getRegex(), bd = E(/\\(punct)/, "gu").replace(/punct/g, ti).getRegex(), yd = E(/^<(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(), $d = E(ws).replace("(?:-->|$)", "-->").getRegex(), wd = E(
|
|
5473
5473
|
"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>"
|
|
5474
|
-
).replace("comment", $d).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), Fn = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, xd = E(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", Fn).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),
|
|
5474
|
+
).replace("comment", $d).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), Fn = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, xd = E(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", Fn).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), Ga = E(/^!?\[(label)\]\[(ref)\]/).replace("label", Fn).replace("ref", $s).getRegex(), Za = E(/^!?\[(ref)\](?:\[\])?/).replace("ref", $s).getRegex(), kd = E("reflink|nolink(?!\\()", "g").replace("reflink", Ga).replace("nolink", Za).getRegex(), Ss = {
|
|
5475
5475
|
_backpedal: qt,
|
|
5476
5476
|
// only used for GFM url
|
|
5477
5477
|
anyPunctuation: bd,
|
|
5478
5478
|
autolink: yd,
|
|
5479
5479
|
blockSkip: dd,
|
|
5480
|
-
br:
|
|
5480
|
+
br: ja,
|
|
5481
5481
|
code: ad,
|
|
5482
5482
|
del: qt,
|
|
5483
5483
|
emStrongLDelim: pd,
|
|
@@ -5485,9 +5485,9 @@ var Y = {
|
|
|
5485
5485
|
emStrongRDelimUnd: vd,
|
|
5486
5486
|
escape: od,
|
|
5487
5487
|
link: xd,
|
|
5488
|
-
nolink:
|
|
5488
|
+
nolink: Za,
|
|
5489
5489
|
punctuation: cd,
|
|
5490
|
-
reflink:
|
|
5490
|
+
reflink: Ga,
|
|
5491
5491
|
reflinkSearch: kd,
|
|
5492
5492
|
tag: wd,
|
|
5493
5493
|
text: ld,
|
|
@@ -5506,7 +5506,7 @@ var Y = {
|
|
|
5506
5506
|
text: /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/
|
|
5507
5507
|
}, Cd = {
|
|
5508
5508
|
...Qi,
|
|
5509
|
-
br: E(
|
|
5509
|
+
br: E(ja).replace("{2,}", "*").getRegex(),
|
|
5510
5510
|
text: E(Qi.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
|
|
5511
5511
|
}, xn = {
|
|
5512
5512
|
normal: xs,
|
|
@@ -5523,16 +5523,16 @@ var Y = {
|
|
|
5523
5523
|
">": ">",
|
|
5524
5524
|
'"': """,
|
|
5525
5525
|
"'": "'"
|
|
5526
|
-
},
|
|
5526
|
+
}, ko = (n) => Ed[n];
|
|
5527
5527
|
function me(n, e) {
|
|
5528
5528
|
if (e) {
|
|
5529
5529
|
if (Y.escapeTest.test(n))
|
|
5530
|
-
return n.replace(Y.escapeReplace,
|
|
5530
|
+
return n.replace(Y.escapeReplace, ko);
|
|
5531
5531
|
} else if (Y.escapeTestNoEncode.test(n))
|
|
5532
|
-
return n.replace(Y.escapeReplaceNoEncode,
|
|
5532
|
+
return n.replace(Y.escapeReplaceNoEncode, ko);
|
|
5533
5533
|
return n;
|
|
5534
5534
|
}
|
|
5535
|
-
function
|
|
5535
|
+
function So(n) {
|
|
5536
5536
|
try {
|
|
5537
5537
|
n = encodeURI(n).replace(Y.percentDecode, "%");
|
|
5538
5538
|
} catch {
|
|
@@ -5540,7 +5540,7 @@ function ko(n) {
|
|
|
5540
5540
|
}
|
|
5541
5541
|
return n;
|
|
5542
5542
|
}
|
|
5543
|
-
function
|
|
5543
|
+
function Co(n, e) {
|
|
5544
5544
|
var r;
|
|
5545
5545
|
const t = n.replace(Y.findPipe, (o, a, c) => {
|
|
5546
5546
|
let l = !1, u = a;
|
|
@@ -5579,7 +5579,7 @@ function _d(n, e) {
|
|
|
5579
5579
|
return i;
|
|
5580
5580
|
return t > 0 ? -2 : -1;
|
|
5581
5581
|
}
|
|
5582
|
-
function
|
|
5582
|
+
function Eo(n, e, t, i, s) {
|
|
5583
5583
|
const r = e.href, o = e.title || null, a = n[1].replace(s.other.outputLinkReplace, "$1");
|
|
5584
5584
|
i.state.inLink = !0;
|
|
5585
5585
|
const c = {
|
|
@@ -5754,24 +5754,24 @@ ${u}` : u;
|
|
|
5754
5754
|
`, 1)[0], g = !p.trim(), m = 0;
|
|
5755
5755
|
if (this.options.pedantic ? (m = 2, u = p.trimStart()) : g ? m = e[1].length + 1 : (m = e[2].search(this.rules.other.nonSpaceChar), m = m > 4 ? 1 : m, u = p.slice(m), m += e[1].length), g && this.rules.other.blankLine.test(d) && (l += d + `
|
|
5756
5756
|
`, n = n.substring(d.length + 1), c = !0), !c) {
|
|
5757
|
-
const le = this.rules.other.nextBulletRegex(m),
|
|
5757
|
+
const le = this.rules.other.nextBulletRegex(m), Ne = this.rules.other.hrRegex(m), Be = this.rules.other.fencesBeginRegex(m), M = this.rules.other.headingBeginRegex(m), qe = this.rules.other.htmlBeginRegex(m);
|
|
5758
5758
|
for (; n; ) {
|
|
5759
|
-
const
|
|
5759
|
+
const Ve = n.split(`
|
|
5760
5760
|
`, 1)[0];
|
|
5761
|
-
let
|
|
5762
|
-
if (d =
|
|
5761
|
+
let We;
|
|
5762
|
+
if (d = Ve, this.options.pedantic ? (d = d.replace(this.rules.other.listReplaceNesting, " "), We = d) : We = d.replace(this.rules.other.tabCharGlobal, " "), Be.test(d) || M.test(d) || qe.test(d) || le.test(d) || Ne.test(d))
|
|
5763
5763
|
break;
|
|
5764
|
-
if (
|
|
5764
|
+
if (We.search(this.rules.other.nonSpaceChar) >= m || !d.trim())
|
|
5765
5765
|
u += `
|
|
5766
|
-
` +
|
|
5766
|
+
` + We.slice(m);
|
|
5767
5767
|
else {
|
|
5768
|
-
if (g || p.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 ||
|
|
5768
|
+
if (g || p.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || Be.test(p) || M.test(p) || Ne.test(p))
|
|
5769
5769
|
break;
|
|
5770
5770
|
u += `
|
|
5771
5771
|
` + d;
|
|
5772
5772
|
}
|
|
5773
|
-
!g && !d.trim() && (g = !0), l +=
|
|
5774
|
-
`, n = n.substring(
|
|
5773
|
+
!g && !d.trim() && (g = !0), l += Ve + `
|
|
5774
|
+
`, n = n.substring(Ve.length + 1), p = We.slice(m);
|
|
5775
5775
|
}
|
|
5776
5776
|
}
|
|
5777
5777
|
s.loose || (o ? s.loose = !0 : this.rules.other.doubleBlankLine.test(l) && (o = !0));
|
|
@@ -5832,7 +5832,7 @@ ${u}` : u;
|
|
|
5832
5832
|
const e = this.rules.block.table.exec(n);
|
|
5833
5833
|
if (!e || !this.rules.other.tableDelimiter.test(e[2]))
|
|
5834
5834
|
return;
|
|
5835
|
-
const t =
|
|
5835
|
+
const t = Co(e[1]), i = e[2].replace(this.rules.other.tableAlignChars, "").split("|"), s = (o = e[3]) != null && o.trim() ? e[3].replace(this.rules.other.tableRowBlankLine, "").split(`
|
|
5836
5836
|
`) : [], r = {
|
|
5837
5837
|
type: "table",
|
|
5838
5838
|
raw: e[0],
|
|
@@ -5851,7 +5851,7 @@ ${u}` : u;
|
|
|
5851
5851
|
align: r.align[a]
|
|
5852
5852
|
});
|
|
5853
5853
|
for (const a of s)
|
|
5854
|
-
r.rows.push(
|
|
5854
|
+
r.rows.push(Co(a, r.header.length).map((c, l) => ({
|
|
5855
5855
|
text: c,
|
|
5856
5856
|
tokens: this.lexer.inline(c),
|
|
5857
5857
|
header: !1,
|
|
@@ -5940,7 +5940,7 @@ ${u}` : u;
|
|
|
5940
5940
|
r && (i = r[1], s = r[3]);
|
|
5941
5941
|
} else
|
|
5942
5942
|
s = e[3] ? e[3].slice(1, -1) : "";
|
|
5943
|
-
return i = i.trim(), this.rules.other.startAngleBracket.test(i) && (this.options.pedantic && !this.rules.other.endAngleBracket.test(t) ? i = i.slice(1) : i = i.slice(1, -1)),
|
|
5943
|
+
return i = i.trim(), this.rules.other.startAngleBracket.test(i) && (this.options.pedantic && !this.rules.other.endAngleBracket.test(t) ? i = i.slice(1) : i = i.slice(1, -1)), Eo(e, {
|
|
5944
5944
|
href: i && i.replace(this.rules.inline.anyPunctuation, "$1"),
|
|
5945
5945
|
title: s && s.replace(this.rules.inline.anyPunctuation, "$1")
|
|
5946
5946
|
}, e[0], this.lexer, this.rules);
|
|
@@ -5958,7 +5958,7 @@ ${u}` : u;
|
|
|
5958
5958
|
text: r
|
|
5959
5959
|
};
|
|
5960
5960
|
}
|
|
5961
|
-
return
|
|
5961
|
+
return Eo(t, s, t[0], this.lexer, this.rules);
|
|
5962
5962
|
}
|
|
5963
5963
|
}
|
|
5964
5964
|
emStrong(n, e, t = "") {
|
|
@@ -6089,7 +6089,7 @@ ${u}` : u;
|
|
|
6089
6089
|
};
|
|
6090
6090
|
}
|
|
6091
6091
|
}
|
|
6092
|
-
},
|
|
6092
|
+
}, Ae = class Xi {
|
|
6093
6093
|
constructor(e) {
|
|
6094
6094
|
_(this, "tokens");
|
|
6095
6095
|
_(this, "options");
|
|
@@ -6449,7 +6449,7 @@ ${n}</tr>
|
|
|
6449
6449
|
return `<del>${this.parser.parseInline(n)}</del>`;
|
|
6450
6450
|
}
|
|
6451
6451
|
link({ href: n, title: e, tokens: t }) {
|
|
6452
|
-
const i = this.parser.parseInline(t), s =
|
|
6452
|
+
const i = this.parser.parseInline(t), s = So(n);
|
|
6453
6453
|
if (s === null)
|
|
6454
6454
|
return i;
|
|
6455
6455
|
n = s;
|
|
@@ -6458,7 +6458,7 @@ ${n}</tr>
|
|
|
6458
6458
|
}
|
|
6459
6459
|
image({ href: n, title: e, text: t, tokens: i }) {
|
|
6460
6460
|
i && (t = this.parser.parseInline(i, this.parser.textRenderer));
|
|
6461
|
-
const s =
|
|
6461
|
+
const s = So(n);
|
|
6462
6462
|
if (s === null)
|
|
6463
6463
|
return me(t);
|
|
6464
6464
|
n = s;
|
|
@@ -6497,7 +6497,7 @@ ${n}</tr>
|
|
|
6497
6497
|
br() {
|
|
6498
6498
|
return "";
|
|
6499
6499
|
}
|
|
6500
|
-
},
|
|
6500
|
+
}, Te = class Ki {
|
|
6501
6501
|
constructor(e) {
|
|
6502
6502
|
_(this, "options");
|
|
6503
6503
|
_(this, "renderer");
|
|
@@ -6687,13 +6687,13 @@ ${n}</tr>
|
|
|
6687
6687
|
* Provide function to tokenize markdown
|
|
6688
6688
|
*/
|
|
6689
6689
|
provideLexer() {
|
|
6690
|
-
return this.block ?
|
|
6690
|
+
return this.block ? Ae.lex : Ae.lexInline;
|
|
6691
6691
|
}
|
|
6692
6692
|
/**
|
|
6693
6693
|
* Provide function to parse tokens
|
|
6694
6694
|
*/
|
|
6695
6695
|
provideParser() {
|
|
6696
|
-
return this.block ?
|
|
6696
|
+
return this.block ? Te.parse : Te.parseInline;
|
|
6697
6697
|
}
|
|
6698
6698
|
}, _(Li, "passThroughHooks", /* @__PURE__ */ new Set([
|
|
6699
6699
|
"preprocess",
|
|
@@ -6705,10 +6705,10 @@ ${n}</tr>
|
|
|
6705
6705
|
_(this, "options", this.setOptions);
|
|
6706
6706
|
_(this, "parse", this.parseMarkdown(!0));
|
|
6707
6707
|
_(this, "parseInline", this.parseMarkdown(!1));
|
|
6708
|
-
_(this, "Parser",
|
|
6708
|
+
_(this, "Parser", Te);
|
|
6709
6709
|
_(this, "Renderer", Jt);
|
|
6710
6710
|
_(this, "TextRenderer", Cs);
|
|
6711
|
-
_(this, "Lexer",
|
|
6711
|
+
_(this, "Lexer", Ae);
|
|
6712
6712
|
_(this, "Tokenizer", jn);
|
|
6713
6713
|
_(this, "Hooks", En);
|
|
6714
6714
|
this.use(...n);
|
|
@@ -6830,10 +6830,10 @@ ${n}</tr>
|
|
|
6830
6830
|
return this.defaults = { ...this.defaults, ...n }, this;
|
|
6831
6831
|
}
|
|
6832
6832
|
lexer(n, e) {
|
|
6833
|
-
return
|
|
6833
|
+
return Ae.lex(n, e ?? this.defaults);
|
|
6834
6834
|
}
|
|
6835
6835
|
parser(n, e) {
|
|
6836
|
-
return
|
|
6836
|
+
return Te.parse(n, e ?? this.defaults);
|
|
6837
6837
|
}
|
|
6838
6838
|
parseMarkdown(n) {
|
|
6839
6839
|
return (t, i) => {
|
|
@@ -6845,7 +6845,7 @@ ${n}</tr>
|
|
|
6845
6845
|
if (typeof t != "string")
|
|
6846
6846
|
return o(new Error("marked(): input parameter is of type " + Object.prototype.toString.call(t) + ", string expected"));
|
|
6847
6847
|
r.hooks && (r.hooks.options = r, r.hooks.block = n);
|
|
6848
|
-
const a = r.hooks ? r.hooks.provideLexer() : n ?
|
|
6848
|
+
const a = r.hooks ? r.hooks.provideLexer() : n ? Ae.lex : Ae.lexInline, c = r.hooks ? r.hooks.provideParser() : n ? Te.parse : Te.parseInline;
|
|
6849
6849
|
if (r.async)
|
|
6850
6850
|
return Promise.resolve(r.hooks ? r.hooks.preprocess(t) : t).then((l) => a(l, r)).then((l) => r.hooks ? r.hooks.processAllTokens(l) : l).then((l) => r.walkTokens ? Promise.all(this.walkTokens(l, r.walkTokens)).then(() => l) : l).then((l) => c(l, r)).then((l) => r.hooks ? r.hooks.postprocess(l) : l).catch(o);
|
|
6851
6851
|
try {
|
|
@@ -6876,23 +6876,23 @@ function S(n, e) {
|
|
|
6876
6876
|
return nt.parse(n, e);
|
|
6877
6877
|
}
|
|
6878
6878
|
S.options = S.setOptions = function(n) {
|
|
6879
|
-
return nt.setOptions(n), S.defaults = nt.defaults,
|
|
6879
|
+
return nt.setOptions(n), S.defaults = nt.defaults, Da(S.defaults), S;
|
|
6880
6880
|
};
|
|
6881
6881
|
S.getDefaults = vs;
|
|
6882
6882
|
S.defaults = it;
|
|
6883
6883
|
S.use = function(...n) {
|
|
6884
|
-
return nt.use(...n), S.defaults = nt.defaults,
|
|
6884
|
+
return nt.use(...n), S.defaults = nt.defaults, Da(S.defaults), S;
|
|
6885
6885
|
};
|
|
6886
6886
|
S.walkTokens = function(n, e) {
|
|
6887
6887
|
return nt.walkTokens(n, e);
|
|
6888
6888
|
};
|
|
6889
6889
|
S.parseInline = nt.parseInline;
|
|
6890
|
-
S.Parser =
|
|
6891
|
-
S.parser =
|
|
6890
|
+
S.Parser = Te;
|
|
6891
|
+
S.parser = Te.parse;
|
|
6892
6892
|
S.Renderer = Jt;
|
|
6893
6893
|
S.TextRenderer = Cs;
|
|
6894
|
-
S.Lexer =
|
|
6895
|
-
S.lexer =
|
|
6894
|
+
S.Lexer = Ae;
|
|
6895
|
+
S.lexer = Ae.lex;
|
|
6896
6896
|
S.Tokenizer = jn;
|
|
6897
6897
|
S.Hooks = En;
|
|
6898
6898
|
S.parse = S;
|
|
@@ -6901,18 +6901,18 @@ S.setOptions;
|
|
|
6901
6901
|
S.use;
|
|
6902
6902
|
S.walkTokens;
|
|
6903
6903
|
S.parseInline;
|
|
6904
|
-
|
|
6905
|
-
|
|
6906
|
-
var Od = Object.defineProperty,
|
|
6904
|
+
Te.parse;
|
|
6905
|
+
Ae.lex;
|
|
6906
|
+
var Od = Object.defineProperty, Ya = (n, e, t, i) => {
|
|
6907
6907
|
for (var s = void 0, r = n.length - 1, o; r >= 0; r--)
|
|
6908
6908
|
(o = n[r]) && (s = o(e, t, s) || s);
|
|
6909
6909
|
return s && Od(e, t, s), s;
|
|
6910
6910
|
};
|
|
6911
|
-
const
|
|
6912
|
-
|
|
6911
|
+
const Qa = new Jt();
|
|
6912
|
+
Qa.link = function({ href: n, title: e, text: t }) {
|
|
6913
6913
|
return e ?? (e = t), `<a target="_blank" href="${n}" title="${e}">${t}</a>`;
|
|
6914
6914
|
};
|
|
6915
|
-
S.use({ renderer:
|
|
6915
|
+
S.use({ renderer: Qa });
|
|
6916
6916
|
const zs = class zs extends A {
|
|
6917
6917
|
constructor() {
|
|
6918
6918
|
super(...arguments), this.showLightbox = !1, this.imageUrl = "", this.altText = "", this.scrollRef = be(), this.contentRef = be(), this.autoScroll = !0, this.buffer = "", this.pointer = 0, this.imageRegexp = new RegExp(/!\[[^[]*\([^)]*\)/gm);
|
|
@@ -6962,7 +6962,7 @@ const zs = class zs extends A {
|
|
|
6962
6962
|
if (this.buffer += e, this.includesImage(this.buffer))
|
|
6963
6963
|
(o = this.contentRef.value) == null || o.appendChild(document.createElement("div")), this.buffer = "";
|
|
6964
6964
|
else if (this.buffer.includes("![")) return;
|
|
6965
|
-
const t = S.parse(this.buffer), i = Ui(t), s =
|
|
6965
|
+
const t = S.parse(this.buffer), i = Ui(t), s = Ua.sanitize(i, {
|
|
6966
6966
|
ADD_ATTR: ["target"]
|
|
6967
6967
|
}), r = (a = this.contentRef.value) == null ? void 0 : a.querySelector(
|
|
6968
6968
|
"div:last-of-type"
|
|
@@ -7031,10 +7031,10 @@ zs.styles = [
|
|
|
7031
7031
|
`
|
|
7032
7032
|
];
|
|
7033
7033
|
let en = zs;
|
|
7034
|
-
|
|
7034
|
+
Ya([
|
|
7035
7035
|
k({ attribute: !1 })
|
|
7036
7036
|
], en.prototype, "message");
|
|
7037
|
-
|
|
7037
|
+
Ya([
|
|
7038
7038
|
T()
|
|
7039
7039
|
], en.prototype, "showLightbox");
|
|
7040
7040
|
var Rd = Object.defineProperty, Ld = (n, e, t, i) => {
|
|
@@ -7079,7 +7079,7 @@ const Fs = class Fs extends A {
|
|
|
7079
7079
|
@keydown=${this.handleKeyDown}
|
|
7080
7080
|
>
|
|
7081
7081
|
<button class="close" @click=${this.closeLightbox}>
|
|
7082
|
-
<telia-icon svg=${
|
|
7082
|
+
<telia-icon svg=${Wc.svg} size="lg"></telia-icon>
|
|
7083
7083
|
</button>
|
|
7084
7084
|
<img src="${this.imageUrl}" alt="${this.altText ?? ""}" />
|
|
7085
7085
|
</div> `;
|
|
@@ -7142,10 +7142,10 @@ customElements.get("ace-typing-state") || customElements.define("ace-typing-stat
|
|
|
7142
7142
|
customElements.get("message-type-html") || customElements.define("message-type-html", zn);
|
|
7143
7143
|
customElements.get("message-type-markdown") || customElements.define("message-type-markdown", en);
|
|
7144
7144
|
customElements.get("ace-lightbox") || customElements.define("ace-lightbox", Bn);
|
|
7145
|
-
const
|
|
7145
|
+
const _o = _a(A), js = class js extends _o {
|
|
7146
7146
|
constructor() {
|
|
7147
7147
|
super(...arguments), this.platform = null, this.entries = [], this.typing = !1, this.message = "", this.disabledInput = !1, this.disabledSkipToLatest = !1, this.disabledSubmit = !1, this.chatOverlayActive = !1, this.textAreaLength = 0, this.showAuthBanner = !1, this.authenticated = !1, this.isMuted = !1, this.isKeyboardNavigation = !1, this.conversationContentRef = be(), this.conversationFeedRef = be(), this.formRef = be(), this.inputRef = be(), this.scrollRef = be(), this.counterRef = be(), this.chatCurrentScrollPosition = 0, this.toast = new mh(this), this.messageMaxLength = 1e3, this.messageMaxLengthLabel = "Maximum character limit reached", this.skipToLatestMessageLabel = "Skip to latest message", this.conversationState$ = new he("waiting"), this.stateMachine = new bh(this.conversationState$, this), this.provider$ = this.stateMachine.session().pipe(
|
|
7148
|
-
|
|
7148
|
+
Le((e) => e ? e == null ? void 0 : e.provider$ : Mi(null))
|
|
7149
7149
|
), this.userTyping$ = new P();
|
|
7150
7150
|
}
|
|
7151
7151
|
// =================
|
|
@@ -7161,7 +7161,7 @@ const Eo = Ea(A), js = class js extends Eo {
|
|
|
7161
7161
|
t && t.widgetActive$.pipe(z(t.componentIsDestroyed$)).subscribe((i) => {
|
|
7162
7162
|
const s = this.conversationContentRef.value;
|
|
7163
7163
|
s && (i ? s.scrollTop = this.chatCurrentScrollPosition : this.chatCurrentScrollPosition = s.scrollTop);
|
|
7164
|
-
}), this.stateSubscription =
|
|
7164
|
+
}), this.stateSubscription = rc([
|
|
7165
7165
|
this.stateMachine.entries(),
|
|
7166
7166
|
this.stateMachine.isTyping()
|
|
7167
7167
|
]).subscribe(([i, s]) => {
|
|
@@ -7327,7 +7327,7 @@ const Eo = Ea(A), js = class js extends Eo {
|
|
|
7327
7327
|
providerOptions: t
|
|
7328
7328
|
}
|
|
7329
7329
|
});
|
|
7330
|
-
return this.dispatchEvent(i), i.detail.complete ||
|
|
7330
|
+
return this.dispatchEvent(i), i.detail.complete || Re;
|
|
7331
7331
|
}
|
|
7332
7332
|
render() {
|
|
7333
7333
|
var s, r, o;
|
|
@@ -7343,7 +7343,7 @@ const Eo = Ea(A), js = class js extends Eo {
|
|
|
7343
7343
|
${this.authenticated ? y`<telia-icon
|
|
7344
7344
|
class="auth-banner__icon"
|
|
7345
7345
|
size="sm"
|
|
7346
|
-
svg=${
|
|
7346
|
+
svg=${ia.svg}
|
|
7347
7347
|
></telia-icon>` : w}
|
|
7348
7348
|
<span>${this.getAuthBannerMessage()}</span>
|
|
7349
7349
|
</div>` : w}
|
|
@@ -7362,7 +7362,7 @@ const Eo = Ea(A), js = class js extends Eo {
|
|
|
7362
7362
|
class="overlay-button"
|
|
7363
7363
|
@click=${() => this.chatOverlayActive = !1}
|
|
7364
7364
|
>
|
|
7365
|
-
<telia-icon svg=${
|
|
7365
|
+
<telia-icon svg=${sa.svg}></telia-icon>
|
|
7366
7366
|
</button>
|
|
7367
7367
|
</div>` : w}
|
|
7368
7368
|
<div
|
|
@@ -7421,7 +7421,7 @@ const Eo = Ea(A), js = class js extends Eo {
|
|
|
7421
7421
|
data-testid="send-message-button"
|
|
7422
7422
|
title=${e.getOrFallback("conversation.send-alt", "Send")}
|
|
7423
7423
|
>
|
|
7424
|
-
<telia-icon svg=${
|
|
7424
|
+
<telia-icon svg=${oa.svg}></telia-icon>
|
|
7425
7425
|
</button>
|
|
7426
7426
|
<span class="counter" ${ye(this.counterRef)}>
|
|
7427
7427
|
${this.textAreaLength} / ${this.messageMaxLength}</span
|
|
@@ -7442,7 +7442,7 @@ const Eo = Ea(A), js = class js extends Eo {
|
|
|
7442
7442
|
}
|
|
7443
7443
|
};
|
|
7444
7444
|
js.styles = [
|
|
7445
|
-
|
|
7445
|
+
_o.styles || [],
|
|
7446
7446
|
R`
|
|
7447
7447
|
/* ===== HOST & GLOBAL STYLES ===== */
|
|
7448
7448
|
:host {
|
|
@@ -7818,7 +7818,7 @@ pe([
|
|
|
7818
7818
|
pe([
|
|
7819
7819
|
T()
|
|
7820
7820
|
], ne.prototype, "authenticated");
|
|
7821
|
-
var
|
|
7821
|
+
var Oe = /* @__PURE__ */ ((n) => (n.Tunnistus = "tunnistus", n.BankId = "bankid", n.Freja = "freja", n))(Oe || {}), F = /* @__PURE__ */ ((n) => (n.Pending = "pending", n.Authenticated = "authenticated", n.Error = "error", n))(F || {});
|
|
7822
7822
|
class Vt {
|
|
7823
7823
|
constructor(e) {
|
|
7824
7824
|
this.orderRef = "", e = {
|
|
@@ -7850,18 +7850,18 @@ class Vt {
|
|
|
7850
7850
|
};
|
|
7851
7851
|
const t = await e.json();
|
|
7852
7852
|
switch (this.orderRef = t.orderRef, this.config.idHubEidType) {
|
|
7853
|
-
case
|
|
7853
|
+
case Oe.Tunnistus:
|
|
7854
7854
|
return {
|
|
7855
7855
|
tunnistusURL: t.tunnistusURL,
|
|
7856
7856
|
status: F.Pending
|
|
7857
7857
|
};
|
|
7858
|
-
case
|
|
7858
|
+
case Oe.BankId:
|
|
7859
7859
|
return {
|
|
7860
7860
|
autoStartToken: t.autoStartToken,
|
|
7861
7861
|
status: F.Pending
|
|
7862
7862
|
};
|
|
7863
|
-
case
|
|
7864
|
-
throw new Error(`${
|
|
7863
|
+
case Oe.Freja:
|
|
7864
|
+
throw new Error(`${Oe.Freja} is not implemented`);
|
|
7865
7865
|
default:
|
|
7866
7866
|
throw new Error(
|
|
7867
7867
|
`The service ${this.config.idHubEidType} is not implemented`
|
|
@@ -7949,8 +7949,8 @@ class Vt {
|
|
|
7949
7949
|
}
|
|
7950
7950
|
}
|
|
7951
7951
|
const ge = (n) => n.objectType === "info", Pd = (n) => n.objectType === "chatEntry", Md = (n) => n.objectType === "pen", Nd = (n) => n.objectType === "chatButtonClicked", Ud = (n) => n.objectType === "endVideoButtonClicked", Dd = (n) => n.type === "queue-status", Hd = (n) => n.type === "established", zd = (n) => n.type === "pen-status", Fd = (n) => n.type === "prepareVideo", jd = (n) => n.type === "videoPrepared", Bd = (n) => n.type === "chatButtonClicked", qd = (n) => n.type === "endVideoButtonClicked", Vd = (n) => n.type === "chat-ended";
|
|
7952
|
-
var
|
|
7953
|
-
class
|
|
7952
|
+
var _e = /* @__PURE__ */ ((n) => (n.Initial = "initial", n.Error = "error", n.Retry = "retry", n.InitError = "init-error", n))(_e || {});
|
|
7953
|
+
class Ue extends Error {
|
|
7954
7954
|
constructor(e, t, i) {
|
|
7955
7955
|
super(i || (t == null ? void 0 : t.message) || "Unknown engine error"), this.errorType = e, this.originalError = t;
|
|
7956
7956
|
}
|
|
@@ -8095,7 +8095,7 @@ const Wd = () => "10000000-1000-4000-8000-100000000000".replace(
|
|
|
8095
8095
|
function es(n) {
|
|
8096
8096
|
return /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(n);
|
|
8097
8097
|
}
|
|
8098
|
-
function
|
|
8098
|
+
function Xa(n) {
|
|
8099
8099
|
return n.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase();
|
|
8100
8100
|
}
|
|
8101
8101
|
function Gd(n) {
|
|
@@ -8117,8 +8117,8 @@ class Zd {
|
|
|
8117
8117
|
videoChatMode: this.config.videoChatMode
|
|
8118
8118
|
})
|
|
8119
8119
|
).pipe(
|
|
8120
|
-
vt((t) => vi(() => new
|
|
8121
|
-
|
|
8120
|
+
vt((t) => vi(() => new Ue("chat-join-error", t))),
|
|
8121
|
+
Le(() => this.poll().pipe(
|
|
8122
8122
|
bi(() => this.poll()),
|
|
8123
8123
|
// Using concatMap here to ensure that each http request gets handled in order
|
|
8124
8124
|
yi()
|
|
@@ -8142,9 +8142,9 @@ class Zd {
|
|
|
8142
8142
|
})
|
|
8143
8143
|
).pipe(
|
|
8144
8144
|
vt((t) => vi(
|
|
8145
|
-
() => new
|
|
8145
|
+
() => new Ue("chat-request-error", t)
|
|
8146
8146
|
)),
|
|
8147
|
-
|
|
8147
|
+
Le(() => this.poll().pipe(
|
|
8148
8148
|
bi(() => this.poll()),
|
|
8149
8149
|
// Using concatMap here to ensure that each http request gets handled in order
|
|
8150
8150
|
yi()
|
|
@@ -8157,12 +8157,12 @@ class Zd {
|
|
|
8157
8157
|
// Using concatMap here to ensure that each http request gets handled in order
|
|
8158
8158
|
yi(),
|
|
8159
8159
|
vt((e) => vi(
|
|
8160
|
-
() => new
|
|
8160
|
+
() => new Ue("chat-engine-error", e)
|
|
8161
8161
|
))
|
|
8162
8162
|
);
|
|
8163
8163
|
}
|
|
8164
8164
|
poll() {
|
|
8165
|
-
return
|
|
8165
|
+
return cc(
|
|
8166
8166
|
() => Xe(
|
|
8167
8167
|
this.client.chatRead({
|
|
8168
8168
|
uid: this.sessionId,
|
|
@@ -8171,12 +8171,12 @@ class Zd {
|
|
|
8171
8171
|
maxObjectId: this.lastObjectId
|
|
8172
8172
|
})
|
|
8173
8173
|
).pipe(
|
|
8174
|
-
|
|
8174
|
+
vc((e) => {
|
|
8175
8175
|
const t = e == null ? void 0 : e.dataObjects.find(
|
|
8176
8176
|
(i) => ge(i) && i.infoType === "error"
|
|
8177
8177
|
);
|
|
8178
8178
|
if (t)
|
|
8179
|
-
throw new
|
|
8179
|
+
throw new Ue(
|
|
8180
8180
|
"chat-engine-error",
|
|
8181
8181
|
void 0,
|
|
8182
8182
|
t.text || "Chat engine error occurred"
|
|
@@ -8196,7 +8196,7 @@ class Zd {
|
|
|
8196
8196
|
(s) => ge(s) && s.infoType === "error"
|
|
8197
8197
|
);
|
|
8198
8198
|
if (i)
|
|
8199
|
-
throw new
|
|
8199
|
+
throw new Ue(
|
|
8200
8200
|
"chat-write-error",
|
|
8201
8201
|
void 0,
|
|
8202
8202
|
i.text || "Unable to send message"
|
|
@@ -8233,7 +8233,7 @@ class Zd {
|
|
|
8233
8233
|
(s) => ge(s) && s.infoType === "error"
|
|
8234
8234
|
);
|
|
8235
8235
|
if (i)
|
|
8236
|
-
throw new
|
|
8236
|
+
throw new Ue(
|
|
8237
8237
|
"chat-email-session-error",
|
|
8238
8238
|
void 0,
|
|
8239
8239
|
i.text || "Unable to send email with conversation"
|
|
@@ -8311,13 +8311,13 @@ class Zd {
|
|
|
8311
8311
|
) ? null : (this.processMessages(e), e);
|
|
8312
8312
|
}
|
|
8313
8313
|
}
|
|
8314
|
-
class
|
|
8314
|
+
class He {
|
|
8315
8315
|
constructor(e) {
|
|
8316
8316
|
this._email = "", this._host = e, e.addController(this);
|
|
8317
8317
|
}
|
|
8318
8318
|
// Singleton pattern to ensure only one instance of the controller is created.
|
|
8319
8319
|
static getInstance(e) {
|
|
8320
|
-
return
|
|
8320
|
+
return He.instance ? He.instance.updateHost(e) : He.instance = new He(e), He.instance;
|
|
8321
8321
|
}
|
|
8322
8322
|
updateHost(e) {
|
|
8323
8323
|
this._host = e, e.addController(this);
|
|
@@ -8341,7 +8341,7 @@ var Yd = Object.defineProperty, At = (n, e, t, i) => {
|
|
|
8341
8341
|
}, $t;
|
|
8342
8342
|
let st = ($t = class extends A {
|
|
8343
8343
|
constructor() {
|
|
8344
|
-
super(), this.submitted = !1, this.customData = [], this.customerName = "", this.validationErrors = [], this.showValidationWarning = !1, this.emailController =
|
|
8344
|
+
super(), this.submitted = !1, this.customData = [], this.customerName = "", this.validationErrors = [], this.showValidationWarning = !1, this.emailController = He.getInstance(this), this.emailController.clearData();
|
|
8345
8345
|
}
|
|
8346
8346
|
connectedCallback() {
|
|
8347
8347
|
var i, s;
|
|
@@ -8415,7 +8415,7 @@ let st = ($t = class extends A {
|
|
|
8415
8415
|
return y`<div class="container">
|
|
8416
8416
|
<form class="form" @submit=${this._onStartChat}>
|
|
8417
8417
|
<div class="header-row">
|
|
8418
|
-
<telia-icon class="header-icon" svg=${
|
|
8418
|
+
<telia-icon class="header-icon" svg=${na.svg}></telia-icon>
|
|
8419
8419
|
<h3 class="header-text">
|
|
8420
8420
|
${this.customerName ? e.getOrFallback(
|
|
8421
8421
|
"welcome-form.header-text-personal",
|
|
@@ -8449,12 +8449,12 @@ let st = ($t = class extends A {
|
|
|
8449
8449
|
></ace-contact-data-field>
|
|
8450
8450
|
<div
|
|
8451
8451
|
class="warning-row"
|
|
8452
|
-
data-testid=${`form-${
|
|
8452
|
+
data-testid=${`form-${Xa(t.name)}-warning`}
|
|
8453
8453
|
style="display: ${this.showValidationWarning && this.validationErrors.includes(t.name) ? "flex" : "none"};"
|
|
8454
8454
|
>
|
|
8455
8455
|
<telia-icon
|
|
8456
8456
|
class="error-icon"
|
|
8457
|
-
svg=${
|
|
8457
|
+
svg=${Gc.svg}
|
|
8458
8458
|
></telia-icon>
|
|
8459
8459
|
<p class="error-text">${t.errorText}</p>
|
|
8460
8460
|
</div>
|
|
@@ -8741,7 +8741,7 @@ var Xd = Object.defineProperty, As = (n, e, t, i) => {
|
|
|
8741
8741
|
};
|
|
8742
8742
|
const qs = class qs extends A {
|
|
8743
8743
|
constructor() {
|
|
8744
|
-
super(...arguments), this.email = "", this.isEmailValid = !1, this.emailController =
|
|
8744
|
+
super(...arguments), this.email = "", this.isEmailValid = !1, this.emailController = He.getInstance(this);
|
|
8745
8745
|
}
|
|
8746
8746
|
_onSendChatLog(e) {
|
|
8747
8747
|
e.preventDefault();
|
|
@@ -8954,11 +8954,11 @@ const Vs = class Vs extends A {
|
|
|
8954
8954
|
</p>
|
|
8955
8955
|
<div class="button-container">
|
|
8956
8956
|
<button class="primary" type="submit" @click=${this._onStartVideo}>
|
|
8957
|
-
<telia-icon svg=${
|
|
8957
|
+
<telia-icon svg=${Vc.svg}></telia-icon>
|
|
8958
8958
|
${e.getOrFallback("video-confirm.accept-button", "Accept")}
|
|
8959
8959
|
</button>
|
|
8960
8960
|
<button class="secondary" type="button" @click=${this._onCancel}>
|
|
8961
|
-
<telia-icon svg=${
|
|
8961
|
+
<telia-icon svg=${ra.svg}></telia-icon>
|
|
8962
8962
|
${e.getOrFallback("video-confirm.decline-button", "Decline")}
|
|
8963
8963
|
</button>
|
|
8964
8964
|
</div>
|
|
@@ -9212,7 +9212,7 @@ window.customElements.get("ace-entrance-closed-dialog") || window.customElements
|
|
|
9212
9212
|
"ace-entrance-closed-dialog",
|
|
9213
9213
|
Wn
|
|
9214
9214
|
);
|
|
9215
|
-
var sp = Object.defineProperty,
|
|
9215
|
+
var sp = Object.defineProperty, Ka = (n, e, t, i) => {
|
|
9216
9216
|
for (var s = void 0, r = n.length - 1, o; r >= 0; r--)
|
|
9217
9217
|
(o = n[r]) && (s = o(e, t, s) || s);
|
|
9218
9218
|
return s && sp(e, t, s), s;
|
|
@@ -9254,7 +9254,7 @@ const Zs = class Zs extends A {
|
|
|
9254
9254
|
`;
|
|
9255
9255
|
}
|
|
9256
9256
|
render() {
|
|
9257
|
-
const e = `form-${
|
|
9257
|
+
const e = `form-${Xa(this.entry.name)}`, t = this.entry.displayName;
|
|
9258
9258
|
return this.entry.entryType === "text" ? y`<div class="container">
|
|
9259
9259
|
<label for=${e}
|
|
9260
9260
|
>${t} ${this.renderRequiredIndicator(this.entry.required)}
|
|
@@ -9297,7 +9297,7 @@ const Zs = class Zs extends A {
|
|
|
9297
9297
|
</option>`)}
|
|
9298
9298
|
</select>
|
|
9299
9299
|
<div class="custom-chevron-down">
|
|
9300
|
-
<telia-icon .svg=${
|
|
9300
|
+
<telia-icon .svg=${sa.svg}></telia-icon>
|
|
9301
9301
|
</div>
|
|
9302
9302
|
</div>
|
|
9303
9303
|
</div>` : y`<div>Unknown entry type</div>`;
|
|
@@ -9398,10 +9398,10 @@ Zs.styles = [
|
|
|
9398
9398
|
`
|
|
9399
9399
|
];
|
|
9400
9400
|
let tn = Zs;
|
|
9401
|
-
|
|
9401
|
+
Ka([
|
|
9402
9402
|
k({ attribute: !1 })
|
|
9403
9403
|
], tn.prototype, "entry");
|
|
9404
|
-
|
|
9404
|
+
Ka([
|
|
9405
9405
|
de({ context: ae }),
|
|
9406
9406
|
k({ attribute: !1 })
|
|
9407
9407
|
], tn.prototype, "application");
|
|
@@ -9544,8 +9544,8 @@ var ap = Object.defineProperty, lp = (n, e, t, i) => {
|
|
|
9544
9544
|
};
|
|
9545
9545
|
const Qs = class Qs extends A {
|
|
9546
9546
|
constructor(e) {
|
|
9547
|
-
super(), this.tunnistusURL = "", this.state =
|
|
9548
|
-
const { tunnistusURL: t = "", state: i =
|
|
9547
|
+
super(), this.tunnistusURL = "", this.state = _e.Initial;
|
|
9548
|
+
const { tunnistusURL: t = "", state: i = _e.Initial } = e ?? {};
|
|
9549
9549
|
this.tunnistusURL = t, this.state = i;
|
|
9550
9550
|
}
|
|
9551
9551
|
onStartAuth() {
|
|
@@ -9560,10 +9560,28 @@ const Qs = class Qs extends A {
|
|
|
9560
9560
|
render() {
|
|
9561
9561
|
const e = this.application.texts;
|
|
9562
9562
|
switch (this.state) {
|
|
9563
|
-
case
|
|
9563
|
+
case _e.InitError:
|
|
9564
9564
|
return y`<div class="container">
|
|
9565
9565
|
<div class="header-row">
|
|
9566
|
-
<telia-icon class="error-icon" svg=${
|
|
9566
|
+
<telia-icon class="error-icon" svg=${Br.svg}></telia-icon>
|
|
9567
|
+
<h3>
|
|
9568
|
+
${e.getOrFallback(
|
|
9569
|
+
"auth.setup.error-header",
|
|
9570
|
+
"Something went wrong"
|
|
9571
|
+
)}
|
|
9572
|
+
</h3>
|
|
9573
|
+
</div>
|
|
9574
|
+
<p>
|
|
9575
|
+
${e.getOrFallback(
|
|
9576
|
+
"auth.setup.error-message",
|
|
9577
|
+
"An error occurred while setting up authentication. Please contact your system administrator."
|
|
9578
|
+
)}
|
|
9579
|
+
</p>
|
|
9580
|
+
</div>`;
|
|
9581
|
+
case _e.Error:
|
|
9582
|
+
return y`<div class="container">
|
|
9583
|
+
<div class="header-row">
|
|
9584
|
+
<telia-icon class="error-icon" svg=${Br.svg}></telia-icon>
|
|
9567
9585
|
<h3>
|
|
9568
9586
|
${e.getOrFallback(
|
|
9569
9587
|
"tunnistus-auth.error.header",
|
|
@@ -9593,11 +9611,11 @@ const Qs = class Qs extends A {
|
|
|
9593
9611
|
</a>
|
|
9594
9612
|
</div>
|
|
9595
9613
|
</div>`;
|
|
9596
|
-
case
|
|
9614
|
+
case _e.Initial:
|
|
9597
9615
|
default:
|
|
9598
9616
|
return y`<div class="container">
|
|
9599
9617
|
<div class="header-row">
|
|
9600
|
-
<telia-icon class="header-icon" svg=${
|
|
9618
|
+
<telia-icon class="header-icon" svg=${na.svg}></telia-icon>
|
|
9601
9619
|
<h3>
|
|
9602
9620
|
${e.getOrFallback(
|
|
9603
9621
|
"tunnistus-auth.initial.header",
|
|
@@ -9715,7 +9733,7 @@ window.customElements.get("ace-tunnistus-auth-card") || window.customElements.de
|
|
|
9715
9733
|
* Copyright 2018 Google LLC
|
|
9716
9734
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
9717
9735
|
*/
|
|
9718
|
-
const
|
|
9736
|
+
const Ja = "important", cp = " !" + Ja, up = ln(class extends Jn {
|
|
9719
9737
|
constructor(n) {
|
|
9720
9738
|
var e;
|
|
9721
9739
|
if (super(n), n.type !== an.ATTRIBUTE || n.name !== "style" || ((e = n.strings) == null ? void 0 : e.length) > 2) throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.");
|
|
@@ -9735,10 +9753,10 @@ const Ka = "important", cp = " !" + Ka, up = ln(class extends Jn {
|
|
|
9735
9753
|
if (s != null) {
|
|
9736
9754
|
this.ft.add(i);
|
|
9737
9755
|
const r = typeof s == "string" && s.endsWith(cp);
|
|
9738
|
-
i.includes("-") || r ? t.setProperty(i, r ? s.slice(0, -11) : s, r ?
|
|
9756
|
+
i.includes("-") || r ? t.setProperty(i, r ? s.slice(0, -11) : s, r ? Ja : "") : t[i] = s;
|
|
9739
9757
|
}
|
|
9740
9758
|
}
|
|
9741
|
-
return
|
|
9759
|
+
return Ie;
|
|
9742
9760
|
}
|
|
9743
9761
|
});
|
|
9744
9762
|
var hp = Object.defineProperty, dp = (n, e, t, i) => {
|
|
@@ -9815,7 +9833,7 @@ dp([
|
|
|
9815
9833
|
k({ attribute: !1 })
|
|
9816
9834
|
], nn.prototype, "application");
|
|
9817
9835
|
window.customElements.get("ace-video-iframe") || window.customElements.define("ace-video-iframe", nn);
|
|
9818
|
-
class Ts extends
|
|
9836
|
+
class Ts extends kc {
|
|
9819
9837
|
constructor(e, t) {
|
|
9820
9838
|
var i, s, r, o, a, c;
|
|
9821
9839
|
super(e, t), this.pendingMessages = [], this.texts = this.component.application.texts, this.headerComponent = this.component.application.getComponent("widget-header"), this.isThirdPartyParticipant = this.component.properties.chat.isThirdPartyWidget, this.agent = this.createAgent(
|
|
@@ -9917,13 +9935,13 @@ class Ts extends xc {
|
|
|
9917
9935
|
try {
|
|
9918
9936
|
await ((i = this.engine) == null ? void 0 : i.chatWrite(e.text));
|
|
9919
9937
|
} catch (s) {
|
|
9920
|
-
s instanceof
|
|
9938
|
+
s instanceof Ue ? t.setStatus("failed") : (t.setStatus("failed"), console.warn("Unhandled error:", s));
|
|
9921
9939
|
}
|
|
9922
9940
|
})();
|
|
9923
9941
|
}
|
|
9924
9942
|
save(e) {
|
|
9925
9943
|
this.component.stateMachine.session().pipe(
|
|
9926
|
-
|
|
9944
|
+
Le((t) => (t == null ? void 0 : t.data$) || Re),
|
|
9927
9945
|
ve(1)
|
|
9928
9946
|
).subscribe((t) => {
|
|
9929
9947
|
this.saveToCurrentSession$.next({ ...t, ...e });
|
|
@@ -9977,7 +9995,7 @@ class Ts extends xc {
|
|
|
9977
9995
|
// ========================
|
|
9978
9996
|
// Tunnistus authentication
|
|
9979
9997
|
// ========================
|
|
9980
|
-
case
|
|
9998
|
+
case Oe.Tunnistus:
|
|
9981
9999
|
if (!this.authResult.tunnistusURL) {
|
|
9982
10000
|
this.printSystem(
|
|
9983
10001
|
this.texts.getOrFallback(
|
|
@@ -9988,7 +10006,7 @@ class Ts extends xc {
|
|
|
9988
10006
|
return;
|
|
9989
10007
|
}
|
|
9990
10008
|
this.headerComponent.authUrl = this.authResult.tunnistusURL, this.headerComponent.authState = H.NonAuthenticated, e ? this.handleAuthentication() : (this.authenticationCardEntry = this.showTunnistusAuthCard(
|
|
9991
|
-
|
|
10009
|
+
_e.Initial,
|
|
9992
10010
|
this.authResult.tunnistusURL
|
|
9993
10011
|
), this.authenticationCardEntry.actions$.pipe(
|
|
9994
10012
|
G((t) => t.key === "start-auth"),
|
|
@@ -10000,19 +10018,14 @@ class Ts extends xc {
|
|
|
10000
10018
|
// =====================
|
|
10001
10019
|
// BankId authentication
|
|
10002
10020
|
// =====================
|
|
10003
|
-
case
|
|
10021
|
+
case Oe.BankId:
|
|
10004
10022
|
break;
|
|
10005
10023
|
}
|
|
10006
10024
|
}
|
|
10007
10025
|
async getAuthResult() {
|
|
10008
10026
|
const e = await this.idHubClient.auth();
|
|
10009
10027
|
if (e.status === F.Error) {
|
|
10010
|
-
this.
|
|
10011
|
-
this.texts.getOrFallback(
|
|
10012
|
-
"auth.setup.error-message",
|
|
10013
|
-
"An error occurred while setting up authentication."
|
|
10014
|
-
)
|
|
10015
|
-
), this.headerComponent.showAuthOptions = !1;
|
|
10028
|
+
this.showTunnistusAuthCard(_e.InitError), this.headerComponent.showAuthOptions = !1;
|
|
10016
10029
|
return;
|
|
10017
10030
|
}
|
|
10018
10031
|
return e;
|
|
@@ -10046,7 +10059,7 @@ class Ts extends xc {
|
|
|
10046
10059
|
customerName: this.customerName ?? e.customerName
|
|
10047
10060
|
}).pipe(
|
|
10048
10061
|
z(this.disconnected$),
|
|
10049
|
-
vt((s) => (this.handleChatEngineError(s),
|
|
10062
|
+
vt((s) => (this.handleChatEngineError(s), Re))
|
|
10050
10063
|
).subscribe()) : this.engine.chatRequest({
|
|
10051
10064
|
customerName: e.customerName,
|
|
10052
10065
|
customerEmailAddress: e.customerEmailAddress ?? "",
|
|
@@ -10056,7 +10069,7 @@ class Ts extends xc {
|
|
|
10056
10069
|
...t && { authToken: t }
|
|
10057
10070
|
}).pipe(
|
|
10058
10071
|
z(this.disconnected$),
|
|
10059
|
-
vt((s) => (this.handleChatEngineError(s),
|
|
10072
|
+
vt((s) => (this.handleChatEngineError(s), Re))
|
|
10060
10073
|
).subscribe(), this.component.enableInput(), this.component.enableSkipToLatestMessage(), this.setEndConversationOption();
|
|
10061
10074
|
}
|
|
10062
10075
|
restartNewChat() {
|
|
@@ -10095,7 +10108,7 @@ class Ts extends xc {
|
|
|
10095
10108
|
"email-form.error-message",
|
|
10096
10109
|
"Unable to send email with the conversation."
|
|
10097
10110
|
)
|
|
10098
|
-
), i instanceof
|
|
10111
|
+
), i instanceof Ue || console.warn("Unhandled error:", i);
|
|
10099
10112
|
}
|
|
10100
10113
|
}
|
|
10101
10114
|
clearPendingMessages() {
|
|
@@ -10136,14 +10149,14 @@ class Ts extends xc {
|
|
|
10136
10149
|
), this.headerComponent.authState = H.Authenticating;
|
|
10137
10150
|
const e = await this.idHubClient.collect();
|
|
10138
10151
|
switch (this.authenticationCardEntry && this.authenticationCardEntry.remove(), this.idHubEidType) {
|
|
10139
|
-
case
|
|
10152
|
+
case Oe.Tunnistus:
|
|
10140
10153
|
if (e.status === F.Error) {
|
|
10141
10154
|
if (this.authResult = await this.getAuthResult(), !this.authResult) return;
|
|
10142
10155
|
this.headerComponent.userName = this.texts.getOrFallback(
|
|
10143
10156
|
"widget-header.not-authenticated",
|
|
10144
10157
|
"Not authenticated"
|
|
10145
10158
|
), this.headerComponent.authState = H.NonAuthenticated, this.headerComponent.authUrl = this.authResult.tunnistusURL, this.authenticationCardEntry = this.showTunnistusAuthCard(
|
|
10146
|
-
|
|
10159
|
+
_e.Error,
|
|
10147
10160
|
this.authResult.tunnistusURL
|
|
10148
10161
|
), this.authenticationCardEntry.actions$.pipe(
|
|
10149
10162
|
G((o) => o.key === "start-auth"),
|
|
@@ -10165,7 +10178,7 @@ class Ts extends xc {
|
|
|
10165
10178
|
);
|
|
10166
10179
|
}
|
|
10167
10180
|
break;
|
|
10168
|
-
case
|
|
10181
|
+
case Oe.BankId:
|
|
10169
10182
|
break;
|
|
10170
10183
|
}
|
|
10171
10184
|
}
|
|
@@ -10395,7 +10408,7 @@ class Ts extends xc {
|
|
|
10395
10408
|
"Start new chat"
|
|
10396
10409
|
),
|
|
10397
10410
|
"start-new-chat-button",
|
|
10398
|
-
|
|
10411
|
+
oa.svg,
|
|
10399
10412
|
() => {
|
|
10400
10413
|
this.restartNewChat();
|
|
10401
10414
|
}
|
|
@@ -10408,7 +10421,7 @@ class Ts extends xc {
|
|
|
10408
10421
|
"End conversation"
|
|
10409
10422
|
),
|
|
10410
10423
|
"end-conversation-button",
|
|
10411
|
-
|
|
10424
|
+
ra.svg,
|
|
10412
10425
|
() => {
|
|
10413
10426
|
this.showQuitConfirmDialog();
|
|
10414
10427
|
},
|