@telia-ace/widget-side-menu 1.1.120-rc.8 → 1.1.120
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.
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
var
|
|
2
|
-
return
|
|
1
|
+
var Ft = function(i, t) {
|
|
2
|
+
return Ft = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, s) {
|
|
3
3
|
e.__proto__ = s;
|
|
4
4
|
} || function(e, s) {
|
|
5
5
|
for (var r in s) Object.prototype.hasOwnProperty.call(s, r) && (e[r] = s[r]);
|
|
6
|
-
},
|
|
6
|
+
}, Ft(i, t);
|
|
7
7
|
};
|
|
8
8
|
function X(i, t) {
|
|
9
9
|
if (typeof t != "function" && t !== null)
|
|
10
10
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
11
|
-
|
|
11
|
+
Ft(i, t);
|
|
12
12
|
function e() {
|
|
13
13
|
this.constructor = i;
|
|
14
14
|
}
|
|
15
15
|
i.prototype = t === null ? Object.create(t) : (e.prototype = t.prototype, new e());
|
|
16
16
|
}
|
|
17
|
-
function
|
|
17
|
+
function ts(i, t, e, s) {
|
|
18
18
|
function r(n) {
|
|
19
19
|
return n instanceof e ? n : new e(function(o) {
|
|
20
20
|
o(n);
|
|
@@ -41,7 +41,7 @@ function is(i, t, e, s) {
|
|
|
41
41
|
c((s = s.apply(i, t || [])).next());
|
|
42
42
|
});
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function ii(i, t) {
|
|
45
45
|
var e = { label: 0, sent: function() {
|
|
46
46
|
if (n[0] & 1) throw n[1];
|
|
47
47
|
return n[1];
|
|
@@ -111,7 +111,7 @@ function Y(i) {
|
|
|
111
111
|
};
|
|
112
112
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
113
113
|
}
|
|
114
|
-
function
|
|
114
|
+
function Dt(i, t) {
|
|
115
115
|
var e = typeof Symbol == "function" && i[Symbol.iterator];
|
|
116
116
|
if (!e) return i;
|
|
117
117
|
var s = e.call(i), r, n = [], o;
|
|
@@ -128,7 +128,7 @@ function qt(i, t) {
|
|
|
128
128
|
}
|
|
129
129
|
return n;
|
|
130
130
|
}
|
|
131
|
-
function
|
|
131
|
+
function zt(i, t, e) {
|
|
132
132
|
if (e || arguments.length === 2) for (var s = 0, r = t.length, n; s < r; s++)
|
|
133
133
|
(n || !(s in t)) && (n || (n = Array.prototype.slice.call(t, 0, s)), n[s] = t[s]);
|
|
134
134
|
return i.concat(n || Array.prototype.slice.call(t));
|
|
@@ -136,7 +136,7 @@ function Wt(i, t, e) {
|
|
|
136
136
|
function q(i) {
|
|
137
137
|
return this instanceof q ? (this.v = i, this) : new q(i);
|
|
138
138
|
}
|
|
139
|
-
function
|
|
139
|
+
function es(i, t, e) {
|
|
140
140
|
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
141
141
|
var s = e.apply(i, t || []), r, n = [];
|
|
142
142
|
return r = Object.create((typeof AsyncIterator == "function" ? AsyncIterator : Object).prototype), a("next"), a("throw"), a("return", o), r[Symbol.asyncIterator] = function() {
|
|
@@ -149,8 +149,8 @@ function ss(i, t, e) {
|
|
|
149
149
|
}
|
|
150
150
|
function a(f, $) {
|
|
151
151
|
s[f] && (r[f] = function(g) {
|
|
152
|
-
return new Promise(function(
|
|
153
|
-
n.push([f, g,
|
|
152
|
+
return new Promise(function(ut, J) {
|
|
153
|
+
n.push([f, g, ut, J]) > 1 || l(f, g);
|
|
154
154
|
});
|
|
155
155
|
}, $ && (r[f] = $(r[f])));
|
|
156
156
|
}
|
|
@@ -174,7 +174,7 @@ function ss(i, t, e) {
|
|
|
174
174
|
f($), n.shift(), n.length && l(n[0][0], n[0][1]);
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
|
-
function
|
|
177
|
+
function is(i) {
|
|
178
178
|
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
179
179
|
var t = i[Symbol.asyncIterator], e;
|
|
180
180
|
return t ? t.call(i) : (i = typeof Y == "function" ? Y(i) : i[Symbol.iterator](), e = {}, s("next"), s("throw"), s("return"), e[Symbol.asyncIterator] = function() {
|
|
@@ -196,13 +196,13 @@ function rs(i) {
|
|
|
196
196
|
function v(i) {
|
|
197
197
|
return typeof i == "function";
|
|
198
198
|
}
|
|
199
|
-
function
|
|
199
|
+
function si(i) {
|
|
200
200
|
var t = function(s) {
|
|
201
201
|
Error.call(s), s.stack = new Error().stack;
|
|
202
202
|
}, e = i(t);
|
|
203
203
|
return e.prototype = Object.create(Error.prototype), e.prototype.constructor = e, e;
|
|
204
204
|
}
|
|
205
|
-
var
|
|
205
|
+
var Lt = si(function(i) {
|
|
206
206
|
return function(e) {
|
|
207
207
|
i(this), this.message = e ? e.length + ` errors occurred during unsubscription:
|
|
208
208
|
` + e.map(function(s, r) {
|
|
@@ -211,13 +211,13 @@ var Ut = ni(function(i) {
|
|
|
211
211
|
`) : "", this.name = "UnsubscriptionError", this.errors = e;
|
|
212
212
|
};
|
|
213
213
|
});
|
|
214
|
-
function
|
|
214
|
+
function qt(i, t) {
|
|
215
215
|
if (i) {
|
|
216
216
|
var e = i.indexOf(t);
|
|
217
217
|
0 <= e && i.splice(e, 1);
|
|
218
218
|
}
|
|
219
219
|
}
|
|
220
|
-
var
|
|
220
|
+
var At = function() {
|
|
221
221
|
function i(t) {
|
|
222
222
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
223
223
|
}
|
|
@@ -249,7 +249,7 @@ var Et = function() {
|
|
|
249
249
|
try {
|
|
250
250
|
u();
|
|
251
251
|
} catch (g) {
|
|
252
|
-
n = g instanceof
|
|
252
|
+
n = g instanceof Lt ? g.errors : [g];
|
|
253
253
|
}
|
|
254
254
|
var h = this._finalizers;
|
|
255
255
|
if (h) {
|
|
@@ -258,9 +258,9 @@ var Et = function() {
|
|
|
258
258
|
for (var d = Y(h), f = d.next(); !f.done; f = d.next()) {
|
|
259
259
|
var $ = f.value;
|
|
260
260
|
try {
|
|
261
|
-
|
|
261
|
+
ye($);
|
|
262
262
|
} catch (g) {
|
|
263
|
-
n = n ?? [], g instanceof
|
|
263
|
+
n = n ?? [], g instanceof Lt ? n = zt(zt([], Dt(n)), Dt(g.errors)) : n.push(g);
|
|
264
264
|
}
|
|
265
265
|
}
|
|
266
266
|
} catch (g) {
|
|
@@ -274,13 +274,13 @@ var Et = function() {
|
|
|
274
274
|
}
|
|
275
275
|
}
|
|
276
276
|
if (n)
|
|
277
|
-
throw new
|
|
277
|
+
throw new Lt(n);
|
|
278
278
|
}
|
|
279
279
|
}, i.prototype.add = function(t) {
|
|
280
280
|
var e;
|
|
281
281
|
if (t && t !== this)
|
|
282
282
|
if (this.closed)
|
|
283
|
-
|
|
283
|
+
ye(t);
|
|
284
284
|
else {
|
|
285
285
|
if (t instanceof i) {
|
|
286
286
|
if (t.closed || t._hasParent(this))
|
|
@@ -297,52 +297,52 @@ var Et = function() {
|
|
|
297
297
|
this._parentage = Array.isArray(e) ? (e.push(t), e) : e ? [e, t] : t;
|
|
298
298
|
}, i.prototype._removeParent = function(t) {
|
|
299
299
|
var e = this._parentage;
|
|
300
|
-
e === t ? this._parentage = null : Array.isArray(e) &&
|
|
300
|
+
e === t ? this._parentage = null : Array.isArray(e) && qt(e, t);
|
|
301
301
|
}, i.prototype.remove = function(t) {
|
|
302
302
|
var e = this._finalizers;
|
|
303
|
-
e &&
|
|
303
|
+
e && qt(e, t), t instanceof i && t._removeParent(this);
|
|
304
304
|
}, i.EMPTY = function() {
|
|
305
305
|
var t = new i();
|
|
306
306
|
return t.closed = !0, t;
|
|
307
307
|
}(), i;
|
|
308
|
-
}(),
|
|
309
|
-
function
|
|
310
|
-
return i instanceof
|
|
308
|
+
}(), ri = At.EMPTY;
|
|
309
|
+
function ni(i) {
|
|
310
|
+
return i instanceof At || i && "closed" in i && v(i.remove) && v(i.add) && v(i.unsubscribe);
|
|
311
311
|
}
|
|
312
|
-
function
|
|
312
|
+
function ye(i) {
|
|
313
313
|
v(i) ? i() : i.unsubscribe();
|
|
314
314
|
}
|
|
315
|
-
var
|
|
315
|
+
var ss = {
|
|
316
316
|
Promise: void 0
|
|
317
|
-
},
|
|
317
|
+
}, rs = {
|
|
318
318
|
setTimeout: function(i, t) {
|
|
319
319
|
for (var e = [], s = 2; s < arguments.length; s++)
|
|
320
320
|
e[s - 2] = arguments[s];
|
|
321
|
-
return setTimeout.apply(void 0,
|
|
321
|
+
return setTimeout.apply(void 0, zt([i, t], Dt(e)));
|
|
322
322
|
},
|
|
323
323
|
clearTimeout: function(i) {
|
|
324
324
|
return clearTimeout(i);
|
|
325
325
|
},
|
|
326
326
|
delegate: void 0
|
|
327
327
|
};
|
|
328
|
-
function
|
|
329
|
-
|
|
328
|
+
function oi(i) {
|
|
329
|
+
rs.setTimeout(function() {
|
|
330
330
|
throw i;
|
|
331
331
|
});
|
|
332
332
|
}
|
|
333
|
-
function
|
|
333
|
+
function be() {
|
|
334
334
|
}
|
|
335
|
-
function
|
|
335
|
+
function ft(i) {
|
|
336
336
|
i();
|
|
337
337
|
}
|
|
338
|
-
var
|
|
338
|
+
var Jt = function(i) {
|
|
339
339
|
X(t, i);
|
|
340
340
|
function t(e) {
|
|
341
341
|
var s = i.call(this) || this;
|
|
342
|
-
return s.isStopped = !1, e ? (s.destination = e,
|
|
342
|
+
return s.isStopped = !1, e ? (s.destination = e, ni(e) && e.add(s)) : s.destination = as, s;
|
|
343
343
|
}
|
|
344
344
|
return t.create = function(e, s, r) {
|
|
345
|
-
return new
|
|
345
|
+
return new Wt(e, s, r);
|
|
346
346
|
}, t.prototype.next = function(e) {
|
|
347
347
|
this.isStopped || this._next(e);
|
|
348
348
|
}, t.prototype.error = function(e) {
|
|
@@ -366,7 +366,7 @@ var te = function(i) {
|
|
|
366
366
|
this.unsubscribe();
|
|
367
367
|
}
|
|
368
368
|
}, t;
|
|
369
|
-
}(
|
|
369
|
+
}(At), ns = function() {
|
|
370
370
|
function i(t) {
|
|
371
371
|
this.partialObserver = t;
|
|
372
372
|
}
|
|
@@ -376,7 +376,7 @@ var te = function(i) {
|
|
|
376
376
|
try {
|
|
377
377
|
e.next(t);
|
|
378
378
|
} catch (s) {
|
|
379
|
-
|
|
379
|
+
ht(s);
|
|
380
380
|
}
|
|
381
381
|
}, i.prototype.error = function(t) {
|
|
382
382
|
var e = this.partialObserver;
|
|
@@ -384,20 +384,20 @@ var te = function(i) {
|
|
|
384
384
|
try {
|
|
385
385
|
e.error(t);
|
|
386
386
|
} catch (s) {
|
|
387
|
-
|
|
387
|
+
ht(s);
|
|
388
388
|
}
|
|
389
389
|
else
|
|
390
|
-
|
|
390
|
+
ht(t);
|
|
391
391
|
}, i.prototype.complete = function() {
|
|
392
392
|
var t = this.partialObserver;
|
|
393
393
|
if (t.complete)
|
|
394
394
|
try {
|
|
395
395
|
t.complete();
|
|
396
396
|
} catch (e) {
|
|
397
|
-
|
|
397
|
+
ht(e);
|
|
398
398
|
}
|
|
399
399
|
}, i;
|
|
400
|
-
}(),
|
|
400
|
+
}(), Wt = function(i) {
|
|
401
401
|
X(t, i);
|
|
402
402
|
function t(e, s, r) {
|
|
403
403
|
var n = i.call(this) || this, o;
|
|
@@ -405,29 +405,29 @@ var te = function(i) {
|
|
|
405
405
|
next: e ?? void 0,
|
|
406
406
|
error: s ?? void 0,
|
|
407
407
|
complete: r ?? void 0
|
|
408
|
-
} : o = e, n.destination = new
|
|
408
|
+
} : o = e, n.destination = new ns(o), n;
|
|
409
409
|
}
|
|
410
410
|
return t;
|
|
411
|
-
}(
|
|
412
|
-
function
|
|
413
|
-
|
|
411
|
+
}(Jt);
|
|
412
|
+
function ht(i) {
|
|
413
|
+
oi(i);
|
|
414
414
|
}
|
|
415
|
-
function
|
|
415
|
+
function os(i) {
|
|
416
416
|
throw i;
|
|
417
417
|
}
|
|
418
|
-
var
|
|
418
|
+
var as = {
|
|
419
419
|
closed: !0,
|
|
420
|
-
next:
|
|
421
|
-
error:
|
|
422
|
-
complete:
|
|
423
|
-
},
|
|
420
|
+
next: be,
|
|
421
|
+
error: os,
|
|
422
|
+
complete: be
|
|
423
|
+
}, Vt = function() {
|
|
424
424
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
425
425
|
}();
|
|
426
|
-
function
|
|
426
|
+
function ai(i) {
|
|
427
427
|
return i;
|
|
428
428
|
}
|
|
429
|
-
function
|
|
430
|
-
return i.length === 0 ?
|
|
429
|
+
function ls(i) {
|
|
430
|
+
return i.length === 0 ? ai : i.length === 1 ? i[0] : function(e) {
|
|
431
431
|
return i.reduce(function(s, r) {
|
|
432
432
|
return r(s);
|
|
433
433
|
}, e);
|
|
@@ -441,8 +441,8 @@ var _ = function() {
|
|
|
441
441
|
var e = new i();
|
|
442
442
|
return e.source = this, e.operator = t, e;
|
|
443
443
|
}, i.prototype.subscribe = function(t, e, s) {
|
|
444
|
-
var r = this, n =
|
|
445
|
-
return
|
|
444
|
+
var r = this, n = us(t) ? t : new Wt(t, e, s);
|
|
445
|
+
return ft(function() {
|
|
446
446
|
var o = r, a = o.operator, l = o.source;
|
|
447
447
|
n.add(a ? a.call(n, l) : l ? r._subscribe(n) : r._trySubscribe(n));
|
|
448
448
|
}), n;
|
|
@@ -454,8 +454,8 @@ var _ = function() {
|
|
|
454
454
|
}
|
|
455
455
|
}, i.prototype.forEach = function(t, e) {
|
|
456
456
|
var s = this;
|
|
457
|
-
return e =
|
|
458
|
-
var o = new
|
|
457
|
+
return e = _e(e), new e(function(r, n) {
|
|
458
|
+
var o = new Wt({
|
|
459
459
|
next: function(a) {
|
|
460
460
|
try {
|
|
461
461
|
t(a);
|
|
@@ -471,15 +471,15 @@ var _ = function() {
|
|
|
471
471
|
}, i.prototype._subscribe = function(t) {
|
|
472
472
|
var e;
|
|
473
473
|
return (e = this.source) === null || e === void 0 ? void 0 : e.subscribe(t);
|
|
474
|
-
}, i.prototype[
|
|
474
|
+
}, i.prototype[Vt] = function() {
|
|
475
475
|
return this;
|
|
476
476
|
}, i.prototype.pipe = function() {
|
|
477
477
|
for (var t = [], e = 0; e < arguments.length; e++)
|
|
478
478
|
t[e] = arguments[e];
|
|
479
|
-
return
|
|
479
|
+
return ls(t)(this);
|
|
480
480
|
}, i.prototype.toPromise = function(t) {
|
|
481
481
|
var e = this;
|
|
482
|
-
return t =
|
|
482
|
+
return t = _e(t), new t(function(s, r) {
|
|
483
483
|
var n;
|
|
484
484
|
e.subscribe(function(o) {
|
|
485
485
|
return n = o;
|
|
@@ -493,22 +493,22 @@ var _ = function() {
|
|
|
493
493
|
return new i(t);
|
|
494
494
|
}, i;
|
|
495
495
|
}();
|
|
496
|
-
function
|
|
496
|
+
function _e(i) {
|
|
497
497
|
var t;
|
|
498
|
-
return (t = i ??
|
|
498
|
+
return (t = i ?? ss.Promise) !== null && t !== void 0 ? t : Promise;
|
|
499
499
|
}
|
|
500
|
-
function
|
|
500
|
+
function cs(i) {
|
|
501
501
|
return i && v(i.next) && v(i.error) && v(i.complete);
|
|
502
502
|
}
|
|
503
|
-
function
|
|
504
|
-
return i && i instanceof
|
|
503
|
+
function us(i) {
|
|
504
|
+
return i && i instanceof Jt || cs(i) && ni(i);
|
|
505
505
|
}
|
|
506
|
-
function
|
|
506
|
+
function hs(i) {
|
|
507
507
|
return v(i == null ? void 0 : i.lift);
|
|
508
508
|
}
|
|
509
|
-
function
|
|
509
|
+
function kt(i) {
|
|
510
510
|
return function(t) {
|
|
511
|
-
if (
|
|
511
|
+
if (hs(t))
|
|
512
512
|
return t.lift(function(e) {
|
|
513
513
|
try {
|
|
514
514
|
return i(e, this);
|
|
@@ -519,10 +519,10 @@ function Ct(i) {
|
|
|
519
519
|
throw new TypeError("Unable to lift unknown Observable type");
|
|
520
520
|
};
|
|
521
521
|
}
|
|
522
|
-
function
|
|
523
|
-
return new
|
|
522
|
+
function gt(i, t, e, s, r) {
|
|
523
|
+
return new ds(i, t, e, s, r);
|
|
524
524
|
}
|
|
525
|
-
var
|
|
525
|
+
var ds = function(i) {
|
|
526
526
|
X(t, i);
|
|
527
527
|
function t(e, s, r, n, o, a) {
|
|
528
528
|
var l = i.call(this, e) || this;
|
|
@@ -557,25 +557,25 @@ var ps = function(i) {
|
|
|
557
557
|
i.prototype.unsubscribe.call(this), !s && ((e = this.onFinalize) === null || e === void 0 || e.call(this));
|
|
558
558
|
}
|
|
559
559
|
}, t;
|
|
560
|
-
}(
|
|
560
|
+
}(Jt), fs = si(function(i) {
|
|
561
561
|
return function() {
|
|
562
562
|
i(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
563
563
|
};
|
|
564
|
-
}),
|
|
564
|
+
}), Et = function(i) {
|
|
565
565
|
X(t, i);
|
|
566
566
|
function t() {
|
|
567
567
|
var e = i.call(this) || this;
|
|
568
568
|
return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
|
|
569
569
|
}
|
|
570
570
|
return t.prototype.lift = function(e) {
|
|
571
|
-
var s = new
|
|
571
|
+
var s = new we(this, this);
|
|
572
572
|
return s.operator = e, s;
|
|
573
573
|
}, t.prototype._throwIfClosed = function() {
|
|
574
574
|
if (this.closed)
|
|
575
|
-
throw new
|
|
575
|
+
throw new fs();
|
|
576
576
|
}, t.prototype.next = function(e) {
|
|
577
577
|
var s = this;
|
|
578
|
-
|
|
578
|
+
ft(function() {
|
|
579
579
|
var r, n;
|
|
580
580
|
if (s._throwIfClosed(), !s.isStopped) {
|
|
581
581
|
s.currentObservers || (s.currentObservers = Array.from(s.observers));
|
|
@@ -597,7 +597,7 @@ var ps = function(i) {
|
|
|
597
597
|
});
|
|
598
598
|
}, t.prototype.error = function(e) {
|
|
599
599
|
var s = this;
|
|
600
|
-
|
|
600
|
+
ft(function() {
|
|
601
601
|
if (s._throwIfClosed(), !s.isStopped) {
|
|
602
602
|
s.hasError = s.isStopped = !0, s.thrownError = e;
|
|
603
603
|
for (var r = s.observers; r.length; )
|
|
@@ -606,7 +606,7 @@ var ps = function(i) {
|
|
|
606
606
|
});
|
|
607
607
|
}, t.prototype.complete = function() {
|
|
608
608
|
var e = this;
|
|
609
|
-
|
|
609
|
+
ft(function() {
|
|
610
610
|
if (e._throwIfClosed(), !e.isStopped) {
|
|
611
611
|
e.isStopped = !0;
|
|
612
612
|
for (var s = e.observers; s.length; )
|
|
@@ -628,8 +628,8 @@ var ps = function(i) {
|
|
|
628
628
|
return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
|
|
629
629
|
}, t.prototype._innerSubscribe = function(e) {
|
|
630
630
|
var s = this, r = this, n = r.hasError, o = r.isStopped, a = r.observers;
|
|
631
|
-
return n || o ?
|
|
632
|
-
s.currentObservers = null,
|
|
631
|
+
return n || o ? ri : (this.currentObservers = null, a.push(e), new At(function() {
|
|
632
|
+
s.currentObservers = null, qt(a, e);
|
|
633
633
|
}));
|
|
634
634
|
}, t.prototype._checkFinalizedStatuses = function(e) {
|
|
635
635
|
var s = this, r = s.hasError, n = s.thrownError, o = s.isStopped;
|
|
@@ -638,9 +638,9 @@ var ps = function(i) {
|
|
|
638
638
|
var e = new _();
|
|
639
639
|
return e.source = this, e;
|
|
640
640
|
}, t.create = function(e, s) {
|
|
641
|
-
return new
|
|
641
|
+
return new we(e, s);
|
|
642
642
|
}, t;
|
|
643
|
-
}(_),
|
|
643
|
+
}(_), we = function(i) {
|
|
644
644
|
X(t, i);
|
|
645
645
|
function t(e, s) {
|
|
646
646
|
var r = i.call(this) || this;
|
|
@@ -657,9 +657,9 @@ var ps = function(i) {
|
|
|
657
657
|
(s = (e = this.destination) === null || e === void 0 ? void 0 : e.complete) === null || s === void 0 || s.call(e);
|
|
658
658
|
}, t.prototype._subscribe = function(e) {
|
|
659
659
|
var s, r;
|
|
660
|
-
return (r = (s = this.source) === null || s === void 0 ? void 0 : s.subscribe(e)) !== null && r !== void 0 ? r :
|
|
660
|
+
return (r = (s = this.source) === null || s === void 0 ? void 0 : s.subscribe(e)) !== null && r !== void 0 ? r : ri;
|
|
661
661
|
}, t;
|
|
662
|
-
}(
|
|
662
|
+
}(Et), li = function(i) {
|
|
663
663
|
X(t, i);
|
|
664
664
|
function t(e) {
|
|
665
665
|
var s = i.call(this) || this;
|
|
@@ -682,47 +682,47 @@ var ps = function(i) {
|
|
|
682
682
|
}, t.prototype.next = function(e) {
|
|
683
683
|
i.prototype.next.call(this, this._value = e);
|
|
684
684
|
}, t;
|
|
685
|
-
}(
|
|
685
|
+
}(Et), ps = new _(function(i) {
|
|
686
686
|
return i.complete();
|
|
687
687
|
});
|
|
688
|
-
function
|
|
688
|
+
function gs(i) {
|
|
689
689
|
return i && v(i.schedule);
|
|
690
690
|
}
|
|
691
|
-
function
|
|
691
|
+
function ci(i) {
|
|
692
692
|
return i[i.length - 1];
|
|
693
693
|
}
|
|
694
|
-
function
|
|
695
|
-
return
|
|
694
|
+
function $s(i) {
|
|
695
|
+
return gs(ci(i)) ? i.pop() : void 0;
|
|
696
696
|
}
|
|
697
|
-
function
|
|
698
|
-
return typeof
|
|
697
|
+
function vs(i, t) {
|
|
698
|
+
return typeof ci(i) == "number" ? i.pop() : t;
|
|
699
699
|
}
|
|
700
|
-
var
|
|
700
|
+
var ui = function(i) {
|
|
701
701
|
return i && typeof i.length == "number" && typeof i != "function";
|
|
702
702
|
};
|
|
703
|
-
function
|
|
703
|
+
function hi(i) {
|
|
704
704
|
return v(i == null ? void 0 : i.then);
|
|
705
705
|
}
|
|
706
|
-
function
|
|
707
|
-
return v(i[
|
|
706
|
+
function di(i) {
|
|
707
|
+
return v(i[Vt]);
|
|
708
708
|
}
|
|
709
|
-
function
|
|
709
|
+
function fi(i) {
|
|
710
710
|
return Symbol.asyncIterator && v(i == null ? void 0 : i[Symbol.asyncIterator]);
|
|
711
711
|
}
|
|
712
|
-
function
|
|
712
|
+
function pi(i) {
|
|
713
713
|
return new TypeError("You provided " + (i !== null && typeof i == "object" ? "an invalid object" : "'" + i + "'") + " where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.");
|
|
714
714
|
}
|
|
715
|
-
function
|
|
715
|
+
function ms() {
|
|
716
716
|
return typeof Symbol != "function" || !Symbol.iterator ? "@@iterator" : Symbol.iterator;
|
|
717
717
|
}
|
|
718
|
-
var
|
|
719
|
-
function
|
|
720
|
-
return v(i == null ? void 0 : i[
|
|
718
|
+
var gi = ms();
|
|
719
|
+
function $i(i) {
|
|
720
|
+
return v(i == null ? void 0 : i[gi]);
|
|
721
721
|
}
|
|
722
|
-
function
|
|
723
|
-
return
|
|
722
|
+
function vi(i) {
|
|
723
|
+
return es(this, arguments, function() {
|
|
724
724
|
var e, s, r, n;
|
|
725
|
-
return
|
|
725
|
+
return ii(this, function(o) {
|
|
726
726
|
switch (o.label) {
|
|
727
727
|
case 0:
|
|
728
728
|
e = i.getReader(), o.label = 1;
|
|
@@ -750,53 +750,53 @@ function yi(i) {
|
|
|
750
750
|
});
|
|
751
751
|
});
|
|
752
752
|
}
|
|
753
|
-
function
|
|
753
|
+
function mi(i) {
|
|
754
754
|
return v(i == null ? void 0 : i.getReader);
|
|
755
755
|
}
|
|
756
756
|
function Q(i) {
|
|
757
757
|
if (i instanceof _)
|
|
758
758
|
return i;
|
|
759
759
|
if (i != null) {
|
|
760
|
-
if (pi(i))
|
|
761
|
-
return _s(i);
|
|
762
760
|
if (di(i))
|
|
763
|
-
return
|
|
761
|
+
return ys(i);
|
|
762
|
+
if (ui(i))
|
|
763
|
+
return bs(i);
|
|
764
|
+
if (hi(i))
|
|
765
|
+
return _s(i);
|
|
764
766
|
if (fi(i))
|
|
765
|
-
return
|
|
766
|
-
if (
|
|
767
|
-
return
|
|
767
|
+
return yi(i);
|
|
768
|
+
if ($i(i))
|
|
769
|
+
return ws(i);
|
|
768
770
|
if (mi(i))
|
|
769
|
-
return
|
|
770
|
-
if (bi(i))
|
|
771
|
-
return As(i);
|
|
771
|
+
return xs(i);
|
|
772
772
|
}
|
|
773
|
-
throw
|
|
773
|
+
throw pi(i);
|
|
774
774
|
}
|
|
775
|
-
function
|
|
775
|
+
function ys(i) {
|
|
776
776
|
return new _(function(t) {
|
|
777
|
-
var e = i[
|
|
777
|
+
var e = i[Vt]();
|
|
778
778
|
if (v(e.subscribe))
|
|
779
779
|
return e.subscribe(t);
|
|
780
780
|
throw new TypeError("Provided object does not correctly implement Symbol.observable");
|
|
781
781
|
});
|
|
782
782
|
}
|
|
783
|
-
function
|
|
783
|
+
function bs(i) {
|
|
784
784
|
return new _(function(t) {
|
|
785
785
|
for (var e = 0; e < i.length && !t.closed; e++)
|
|
786
786
|
t.next(i[e]);
|
|
787
787
|
t.complete();
|
|
788
788
|
});
|
|
789
789
|
}
|
|
790
|
-
function
|
|
790
|
+
function _s(i) {
|
|
791
791
|
return new _(function(t) {
|
|
792
792
|
i.then(function(e) {
|
|
793
793
|
t.closed || (t.next(e), t.complete());
|
|
794
794
|
}, function(e) {
|
|
795
795
|
return t.error(e);
|
|
796
|
-
}).then(null,
|
|
796
|
+
}).then(null, oi);
|
|
797
797
|
});
|
|
798
798
|
}
|
|
799
|
-
function
|
|
799
|
+
function ws(i) {
|
|
800
800
|
return new _(function(t) {
|
|
801
801
|
var e, s;
|
|
802
802
|
try {
|
|
@@ -817,24 +817,24 @@ function Ss(i) {
|
|
|
817
817
|
t.complete();
|
|
818
818
|
});
|
|
819
819
|
}
|
|
820
|
-
function
|
|
820
|
+
function yi(i) {
|
|
821
821
|
return new _(function(t) {
|
|
822
|
-
|
|
822
|
+
Ss(i, t).catch(function(e) {
|
|
823
823
|
return t.error(e);
|
|
824
824
|
});
|
|
825
825
|
});
|
|
826
826
|
}
|
|
827
|
-
function
|
|
828
|
-
return
|
|
827
|
+
function xs(i) {
|
|
828
|
+
return yi(vi(i));
|
|
829
829
|
}
|
|
830
|
-
function
|
|
830
|
+
function Ss(i, t) {
|
|
831
831
|
var e, s, r, n;
|
|
832
|
-
return
|
|
832
|
+
return ts(this, void 0, void 0, function() {
|
|
833
833
|
var o, a;
|
|
834
|
-
return
|
|
834
|
+
return ii(this, function(l) {
|
|
835
835
|
switch (l.label) {
|
|
836
836
|
case 0:
|
|
837
|
-
l.trys.push([0, 5, 6, 11]), e =
|
|
837
|
+
l.trys.push([0, 5, 6, 11]), e = is(i), l.label = 1;
|
|
838
838
|
case 1:
|
|
839
839
|
return [4, e.next()];
|
|
840
840
|
case 2:
|
|
@@ -873,9 +873,9 @@ function L(i, t, e, s, r) {
|
|
|
873
873
|
if (i.add(n), !r)
|
|
874
874
|
return n;
|
|
875
875
|
}
|
|
876
|
-
function
|
|
877
|
-
return t === void 0 && (t = 0),
|
|
878
|
-
e.subscribe(
|
|
876
|
+
function bi(i, t) {
|
|
877
|
+
return t === void 0 && (t = 0), kt(function(e, s) {
|
|
878
|
+
e.subscribe(gt(s, function(r) {
|
|
879
879
|
return L(s, i, function() {
|
|
880
880
|
return s.next(r);
|
|
881
881
|
}, t);
|
|
@@ -890,20 +890,20 @@ function wi(i, t) {
|
|
|
890
890
|
}));
|
|
891
891
|
});
|
|
892
892
|
}
|
|
893
|
-
function
|
|
894
|
-
return t === void 0 && (t = 0),
|
|
893
|
+
function _i(i, t) {
|
|
894
|
+
return t === void 0 && (t = 0), kt(function(e, s) {
|
|
895
895
|
s.add(i.schedule(function() {
|
|
896
896
|
return e.subscribe(s);
|
|
897
897
|
}, t));
|
|
898
898
|
});
|
|
899
899
|
}
|
|
900
|
-
function
|
|
901
|
-
return Q(i).pipe(
|
|
900
|
+
function As(i, t) {
|
|
901
|
+
return Q(i).pipe(_i(t), bi(t));
|
|
902
902
|
}
|
|
903
|
-
function
|
|
904
|
-
return Q(i).pipe(
|
|
903
|
+
function ks(i, t) {
|
|
904
|
+
return Q(i).pipe(_i(t), bi(t));
|
|
905
905
|
}
|
|
906
|
-
function
|
|
906
|
+
function Es(i, t) {
|
|
907
907
|
return new _(function(e) {
|
|
908
908
|
var s = 0;
|
|
909
909
|
return t.schedule(function() {
|
|
@@ -911,11 +911,11 @@ function Os(i, t) {
|
|
|
911
911
|
});
|
|
912
912
|
});
|
|
913
913
|
}
|
|
914
|
-
function
|
|
914
|
+
function Cs(i, t) {
|
|
915
915
|
return new _(function(e) {
|
|
916
916
|
var s;
|
|
917
917
|
return L(e, t, function() {
|
|
918
|
-
s = i[
|
|
918
|
+
s = i[gi](), L(e, t, function() {
|
|
919
919
|
var r, n, o;
|
|
920
920
|
try {
|
|
921
921
|
r = s.next(), n = r.value, o = r.done;
|
|
@@ -930,7 +930,7 @@ function Ts(i, t) {
|
|
|
930
930
|
};
|
|
931
931
|
});
|
|
932
932
|
}
|
|
933
|
-
function
|
|
933
|
+
function wi(i, t) {
|
|
934
934
|
if (!i)
|
|
935
935
|
throw new Error("Iterable cannot be null");
|
|
936
936
|
return new _(function(e) {
|
|
@@ -944,104 +944,104 @@ function Si(i, t) {
|
|
|
944
944
|
});
|
|
945
945
|
});
|
|
946
946
|
}
|
|
947
|
-
function
|
|
948
|
-
return
|
|
947
|
+
function Os(i, t) {
|
|
948
|
+
return wi(vi(i), t);
|
|
949
949
|
}
|
|
950
|
-
function
|
|
950
|
+
function Ts(i, t) {
|
|
951
951
|
if (i != null) {
|
|
952
|
-
if (pi(i))
|
|
953
|
-
return Es(i, t);
|
|
954
952
|
if (di(i))
|
|
955
|
-
return
|
|
953
|
+
return As(i, t);
|
|
954
|
+
if (ui(i))
|
|
955
|
+
return Es(i, t);
|
|
956
|
+
if (hi(i))
|
|
957
|
+
return ks(i, t);
|
|
956
958
|
if (fi(i))
|
|
959
|
+
return wi(i, t);
|
|
960
|
+
if ($i(i))
|
|
957
961
|
return Cs(i, t);
|
|
958
|
-
if (gi(i))
|
|
959
|
-
return Si(i, t);
|
|
960
962
|
if (mi(i))
|
|
961
|
-
return
|
|
962
|
-
if (bi(i))
|
|
963
|
-
return Ps(i, t);
|
|
963
|
+
return Os(i, t);
|
|
964
964
|
}
|
|
965
|
-
throw
|
|
965
|
+
throw pi(i);
|
|
966
966
|
}
|
|
967
|
-
function
|
|
968
|
-
return t ?
|
|
967
|
+
function Ps(i, t) {
|
|
968
|
+
return t ? Ts(i, t) : Q(i);
|
|
969
969
|
}
|
|
970
|
-
function
|
|
971
|
-
return
|
|
970
|
+
function Is(i, t) {
|
|
971
|
+
return kt(function(e, s) {
|
|
972
972
|
var r = 0;
|
|
973
|
-
e.subscribe(
|
|
973
|
+
e.subscribe(gt(s, function(n) {
|
|
974
974
|
s.next(i.call(t, n, r++));
|
|
975
975
|
}));
|
|
976
976
|
});
|
|
977
977
|
}
|
|
978
|
-
function
|
|
978
|
+
function Ls(i, t, e, s, r, n, o, a) {
|
|
979
979
|
var l = [], c = 0, u = 0, h = !1, d = function() {
|
|
980
980
|
h && !l.length && !c && t.complete();
|
|
981
981
|
}, f = function(g) {
|
|
982
982
|
return c < s ? $(g) : l.push(g);
|
|
983
983
|
}, $ = function(g) {
|
|
984
984
|
c++;
|
|
985
|
-
var
|
|
986
|
-
Q(e(g, u++)).subscribe(
|
|
985
|
+
var ut = !1;
|
|
986
|
+
Q(e(g, u++)).subscribe(gt(t, function(J) {
|
|
987
987
|
t.next(J);
|
|
988
988
|
}, function() {
|
|
989
|
-
|
|
989
|
+
ut = !0;
|
|
990
990
|
}, void 0, function() {
|
|
991
|
-
if (
|
|
991
|
+
if (ut)
|
|
992
992
|
try {
|
|
993
993
|
c--;
|
|
994
994
|
for (var J = function() {
|
|
995
|
-
var
|
|
996
|
-
o || $(
|
|
995
|
+
var It = l.shift();
|
|
996
|
+
o || $(It);
|
|
997
997
|
}; l.length && c < s; )
|
|
998
998
|
J();
|
|
999
999
|
d();
|
|
1000
|
-
} catch (
|
|
1001
|
-
t.error(
|
|
1000
|
+
} catch (It) {
|
|
1001
|
+
t.error(It);
|
|
1002
1002
|
}
|
|
1003
1003
|
}));
|
|
1004
1004
|
};
|
|
1005
|
-
return i.subscribe(
|
|
1005
|
+
return i.subscribe(gt(t, f, function() {
|
|
1006
1006
|
h = !0, d();
|
|
1007
1007
|
})), function() {
|
|
1008
1008
|
};
|
|
1009
1009
|
}
|
|
1010
|
-
function
|
|
1011
|
-
return e === void 0 && (e = 1 / 0), v(t) ?
|
|
1012
|
-
return
|
|
1010
|
+
function xi(i, t, e) {
|
|
1011
|
+
return e === void 0 && (e = 1 / 0), v(t) ? xi(function(s, r) {
|
|
1012
|
+
return Is(function(n, o) {
|
|
1013
1013
|
return t(s, n, r, o);
|
|
1014
1014
|
})(Q(i(s, r)));
|
|
1015
|
-
}, e) : (typeof t == "number" && (e = t),
|
|
1016
|
-
return
|
|
1015
|
+
}, e) : (typeof t == "number" && (e = t), kt(function(s, r) {
|
|
1016
|
+
return Ls(s, r, i, e);
|
|
1017
1017
|
}));
|
|
1018
1018
|
}
|
|
1019
|
-
function
|
|
1020
|
-
return i === void 0 && (i = 1 / 0),
|
|
1019
|
+
function Rs(i) {
|
|
1020
|
+
return i === void 0 && (i = 1 / 0), xi(ai, i);
|
|
1021
1021
|
}
|
|
1022
|
-
function
|
|
1022
|
+
function Us() {
|
|
1023
1023
|
for (var i = [], t = 0; t < arguments.length; t++)
|
|
1024
1024
|
i[t] = arguments[t];
|
|
1025
|
-
var e =
|
|
1026
|
-
return r.length ? r.length === 1 ? Q(r[0]) :
|
|
1025
|
+
var e = $s(i), s = vs(i, 1 / 0), r = i;
|
|
1026
|
+
return r.length ? r.length === 1 ? Q(r[0]) : Rs(s)(Ps(r, e)) : ps;
|
|
1027
1027
|
}
|
|
1028
1028
|
/**
|
|
1029
1029
|
* @license
|
|
1030
1030
|
* Copyright 2019 Google LLC
|
|
1031
1031
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1032
1032
|
*/
|
|
1033
|
-
const
|
|
1034
|
-
let
|
|
1033
|
+
const pt = globalThis, te = pt.ShadowRoot && (pt.ShadyCSS === void 0 || pt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, ee = Symbol(), xe = /* @__PURE__ */ new WeakMap();
|
|
1034
|
+
let Si = class {
|
|
1035
1035
|
constructor(t, e, s) {
|
|
1036
|
-
if (this._$cssResult$ = !0, s !==
|
|
1036
|
+
if (this._$cssResult$ = !0, s !== ee) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
1037
1037
|
this.cssText = t, this.t = e;
|
|
1038
1038
|
}
|
|
1039
1039
|
get styleSheet() {
|
|
1040
1040
|
let t = this.o;
|
|
1041
1041
|
const e = this.t;
|
|
1042
|
-
if (
|
|
1042
|
+
if (te && t === void 0) {
|
|
1043
1043
|
const s = e !== void 0 && e.length === 1;
|
|
1044
|
-
s && (t =
|
|
1044
|
+
s && (t = xe.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), s && xe.set(e, t));
|
|
1045
1045
|
}
|
|
1046
1046
|
return t;
|
|
1047
1047
|
}
|
|
@@ -1049,33 +1049,33 @@ let ki = class {
|
|
|
1049
1049
|
return this.cssText;
|
|
1050
1050
|
}
|
|
1051
1051
|
};
|
|
1052
|
-
const
|
|
1052
|
+
const Ms = (i) => new Si(typeof i == "string" ? i : i + "", void 0, ee), N = (i, ...t) => {
|
|
1053
1053
|
const e = i.length === 1 ? i[0] : t.reduce((s, r, n) => s + ((o) => {
|
|
1054
1054
|
if (o._$cssResult$ === !0) return o.cssText;
|
|
1055
1055
|
if (typeof o == "number") return o;
|
|
1056
1056
|
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.");
|
|
1057
1057
|
})(r) + i[n + 1], i[0]);
|
|
1058
|
-
return new
|
|
1059
|
-
},
|
|
1060
|
-
if (
|
|
1058
|
+
return new Si(e, i, ee);
|
|
1059
|
+
}, js = (i, t) => {
|
|
1060
|
+
if (te) i.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
1061
1061
|
else for (const e of t) {
|
|
1062
|
-
const s = document.createElement("style"), r =
|
|
1062
|
+
const s = document.createElement("style"), r = pt.litNonce;
|
|
1063
1063
|
r !== void 0 && s.setAttribute("nonce", r), s.textContent = e.cssText, i.appendChild(s);
|
|
1064
1064
|
}
|
|
1065
|
-
},
|
|
1065
|
+
}, Se = te ? (i) => i : (i) => i instanceof CSSStyleSheet ? ((t) => {
|
|
1066
1066
|
let e = "";
|
|
1067
1067
|
for (const s of t.cssRules) e += s.cssText;
|
|
1068
|
-
return
|
|
1068
|
+
return Ms(e);
|
|
1069
1069
|
})(i) : i;
|
|
1070
1070
|
/**
|
|
1071
1071
|
* @license
|
|
1072
1072
|
* Copyright 2017 Google LLC
|
|
1073
1073
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1074
1074
|
*/
|
|
1075
|
-
const { is:
|
|
1075
|
+
const { is: Ns, defineProperty: Hs, getOwnPropertyDescriptor: Bs, getOwnPropertyNames: Fs, getOwnPropertySymbols: Ds, getPrototypeOf: zs } = Object, O = globalThis, Ae = O.trustedTypes, qs = Ae ? Ae.emptyScript : "", Rt = O.reactiveElementPolyfillSupport, tt = (i, t) => i, $t = { toAttribute(i, t) {
|
|
1076
1076
|
switch (t) {
|
|
1077
1077
|
case Boolean:
|
|
1078
|
-
i = i ?
|
|
1078
|
+
i = i ? qs : null;
|
|
1079
1079
|
break;
|
|
1080
1080
|
case Object:
|
|
1081
1081
|
case Array:
|
|
@@ -1100,23 +1100,23 @@ const { is: Hs, defineProperty: Fs, getOwnPropertyDescriptor: Ds, getOwnProperty
|
|
|
1100
1100
|
}
|
|
1101
1101
|
}
|
|
1102
1102
|
return e;
|
|
1103
|
-
} },
|
|
1103
|
+
} }, ie = (i, t) => !Ns(i, t), ke = { attribute: !0, type: String, converter: $t, reflect: !1, useDefault: !1, hasChanged: ie };
|
|
1104
1104
|
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), O.litPropertyMetadata ?? (O.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
1105
|
-
let
|
|
1105
|
+
let B = class extends HTMLElement {
|
|
1106
1106
|
static addInitializer(t) {
|
|
1107
1107
|
this._$Ei(), (this.l ?? (this.l = [])).push(t);
|
|
1108
1108
|
}
|
|
1109
1109
|
static get observedAttributes() {
|
|
1110
1110
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
1111
1111
|
}
|
|
1112
|
-
static createProperty(t, e =
|
|
1112
|
+
static createProperty(t, e = ke) {
|
|
1113
1113
|
if (e.state && (e.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(t) && ((e = Object.create(e)).wrapped = !0), this.elementProperties.set(t, e), !e.noAccessor) {
|
|
1114
1114
|
const s = Symbol(), r = this.getPropertyDescriptor(t, s, e);
|
|
1115
|
-
r !== void 0 &&
|
|
1115
|
+
r !== void 0 && Hs(this.prototype, t, r);
|
|
1116
1116
|
}
|
|
1117
1117
|
}
|
|
1118
1118
|
static getPropertyDescriptor(t, e, s) {
|
|
1119
|
-
const { get: r, set: n } =
|
|
1119
|
+
const { get: r, set: n } = Bs(this.prototype, t) ?? { get() {
|
|
1120
1120
|
return this[e];
|
|
1121
1121
|
}, set(o) {
|
|
1122
1122
|
this[e] = o;
|
|
@@ -1127,17 +1127,17 @@ let H = class extends HTMLElement {
|
|
|
1127
1127
|
}, configurable: !0, enumerable: !0 };
|
|
1128
1128
|
}
|
|
1129
1129
|
static getPropertyOptions(t) {
|
|
1130
|
-
return this.elementProperties.get(t) ??
|
|
1130
|
+
return this.elementProperties.get(t) ?? ke;
|
|
1131
1131
|
}
|
|
1132
1132
|
static _$Ei() {
|
|
1133
1133
|
if (this.hasOwnProperty(tt("elementProperties"))) return;
|
|
1134
|
-
const t =
|
|
1134
|
+
const t = zs(this);
|
|
1135
1135
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
1136
1136
|
}
|
|
1137
1137
|
static finalize() {
|
|
1138
1138
|
if (this.hasOwnProperty(tt("finalized"))) return;
|
|
1139
1139
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(tt("properties"))) {
|
|
1140
|
-
const e = this.properties, s = [...
|
|
1140
|
+
const e = this.properties, s = [...Fs(e), ...Ds(e)];
|
|
1141
1141
|
for (const r of s) this.createProperty(r, e[r]);
|
|
1142
1142
|
}
|
|
1143
1143
|
const t = this[Symbol.metadata];
|
|
@@ -1156,8 +1156,8 @@ let H = class extends HTMLElement {
|
|
|
1156
1156
|
const e = [];
|
|
1157
1157
|
if (Array.isArray(t)) {
|
|
1158
1158
|
const s = new Set(t.flat(1 / 0).reverse());
|
|
1159
|
-
for (const r of s) e.unshift(
|
|
1160
|
-
} else t !== void 0 && e.push(
|
|
1159
|
+
for (const r of s) e.unshift(Se(r));
|
|
1160
|
+
} else t !== void 0 && e.push(Se(t));
|
|
1161
1161
|
return e;
|
|
1162
1162
|
}
|
|
1163
1163
|
static _$Eu(t, e) {
|
|
@@ -1186,7 +1186,7 @@ let H = class extends HTMLElement {
|
|
|
1186
1186
|
}
|
|
1187
1187
|
createRenderRoot() {
|
|
1188
1188
|
const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
|
1189
|
-
return
|
|
1189
|
+
return js(t, this.constructor.elementStyles), t;
|
|
1190
1190
|
}
|
|
1191
1191
|
connectedCallback() {
|
|
1192
1192
|
var t;
|
|
@@ -1211,7 +1211,7 @@ let H = class extends HTMLElement {
|
|
|
1211
1211
|
var n;
|
|
1212
1212
|
const s = this.constructor.elementProperties.get(t), r = this.constructor._$Eu(t, s);
|
|
1213
1213
|
if (r !== void 0 && s.reflect === !0) {
|
|
1214
|
-
const o = (((n = s.converter) == null ? void 0 : n.toAttribute) !== void 0 ? s.converter :
|
|
1214
|
+
const o = (((n = s.converter) == null ? void 0 : n.toAttribute) !== void 0 ? s.converter : $t).toAttribute(e, s.type);
|
|
1215
1215
|
this._$Em = t, o == null ? this.removeAttribute(r) : this.setAttribute(r, o), this._$Em = null;
|
|
1216
1216
|
}
|
|
1217
1217
|
}
|
|
@@ -1219,15 +1219,17 @@ let H = class extends HTMLElement {
|
|
|
1219
1219
|
var n, o;
|
|
1220
1220
|
const s = this.constructor, r = s._$Eh.get(t);
|
|
1221
1221
|
if (r !== void 0 && this._$Em !== r) {
|
|
1222
|
-
const a = s.getPropertyOptions(r), l = typeof a.converter == "function" ? { fromAttribute: a.converter } : ((n = a.converter) == null ? void 0 : n.fromAttribute) !== void 0 ? a.converter :
|
|
1223
|
-
this._$Em = r
|
|
1222
|
+
const a = s.getPropertyOptions(r), l = typeof a.converter == "function" ? { fromAttribute: a.converter } : ((n = a.converter) == null ? void 0 : n.fromAttribute) !== void 0 ? a.converter : $t;
|
|
1223
|
+
this._$Em = r;
|
|
1224
|
+
const c = l.fromAttribute(e, a.type);
|
|
1225
|
+
this[r] = c ?? ((o = this._$Ej) == null ? void 0 : o.get(r)) ?? c, this._$Em = null;
|
|
1224
1226
|
}
|
|
1225
1227
|
}
|
|
1226
1228
|
requestUpdate(t, e, s) {
|
|
1227
1229
|
var r;
|
|
1228
1230
|
if (t !== void 0) {
|
|
1229
1231
|
const n = this.constructor, o = this[t];
|
|
1230
|
-
if (s ?? (s = n.getPropertyOptions(t)), !((s.hasChanged ??
|
|
1232
|
+
if (s ?? (s = n.getPropertyOptions(t)), !((s.hasChanged ?? ie)(o, e) || s.useDefault && s.reflect && o === ((r = this._$Ej) == null ? void 0 : r.get(t)) && !this.hasAttribute(n._$Eu(t, s)))) return;
|
|
1231
1233
|
this.C(t, e, s);
|
|
1232
1234
|
}
|
|
1233
1235
|
this.isUpdatePending === !1 && (this._$ES = this._$EP());
|
|
@@ -1303,56 +1305,56 @@ let H = class extends HTMLElement {
|
|
|
1303
1305
|
firstUpdated(t) {
|
|
1304
1306
|
}
|
|
1305
1307
|
};
|
|
1306
|
-
|
|
1308
|
+
B.elementStyles = [], B.shadowRootOptions = { mode: "open" }, B[tt("elementProperties")] = /* @__PURE__ */ new Map(), B[tt("finalized")] = /* @__PURE__ */ new Map(), Rt == null || Rt({ ReactiveElement: B }), (O.reactiveElementVersions ?? (O.reactiveElementVersions = [])).push("2.1.1");
|
|
1307
1309
|
/**
|
|
1308
1310
|
* @license
|
|
1309
1311
|
* Copyright 2017 Google LLC
|
|
1310
1312
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1311
1313
|
*/
|
|
1312
|
-
const et = globalThis,
|
|
1313
|
-
\f\r]`, V = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
1314
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
1315
|
-
function
|
|
1316
|
-
if (!
|
|
1317
|
-
return
|
|
1318
|
-
}
|
|
1319
|
-
const
|
|
1314
|
+
const et = globalThis, vt = et.trustedTypes, Ee = vt ? vt.createPolicy("lit-html", { createHTML: (i) => i }) : void 0, Ai = "$lit$", C = `lit$${Math.random().toFixed(9).slice(2)}$`, ki = "?" + C, Ws = `<${ki}>`, U = document, st = () => U.createComment(""), rt = (i) => i === null || typeof i != "object" && typeof i != "function", se = Array.isArray, Gs = (i) => se(i) || typeof (i == null ? void 0 : i[Symbol.iterator]) == "function", Ut = `[
|
|
1315
|
+
\f\r]`, V = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ce = /-->/g, Oe = />/g, T = RegExp(`>|${Ut}(?:([^\\s"'>=/]+)(${Ut}*=${Ut}*(?:[^
|
|
1316
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Te = /'/g, Pe = /"/g, Ei = /^(?:script|style|textarea|title)$/i, Ys = (i) => (t, ...e) => ({ _$litType$: i, strings: t, values: e }), k = Ys(1), M = Symbol.for("lit-noChange"), p = Symbol.for("lit-nothing"), Ie = /* @__PURE__ */ new WeakMap(), I = U.createTreeWalker(U, 129);
|
|
1317
|
+
function Ci(i, t) {
|
|
1318
|
+
if (!se(i) || !i.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
1319
|
+
return Ee !== void 0 ? Ee.createHTML(t) : t;
|
|
1320
|
+
}
|
|
1321
|
+
const Ks = (i, t) => {
|
|
1320
1322
|
const e = i.length - 1, s = [];
|
|
1321
1323
|
let r, n = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", o = V;
|
|
1322
1324
|
for (let a = 0; a < e; a++) {
|
|
1323
1325
|
const l = i[a];
|
|
1324
1326
|
let c, u, h = -1, d = 0;
|
|
1325
|
-
for (; d < l.length && (o.lastIndex = d, u = o.exec(l), u !== null); ) d = o.lastIndex, o === V ? u[1] === "!--" ? o =
|
|
1327
|
+
for (; d < l.length && (o.lastIndex = d, u = o.exec(l), u !== null); ) d = o.lastIndex, o === V ? u[1] === "!--" ? o = Ce : u[1] !== void 0 ? o = Oe : u[2] !== void 0 ? (Ei.test(u[2]) && (r = RegExp("</" + u[2], "g")), o = T) : u[3] !== void 0 && (o = T) : o === T ? u[0] === ">" ? (o = r ?? V, h = -1) : u[1] === void 0 ? h = -2 : (h = o.lastIndex - u[2].length, c = u[1], o = u[3] === void 0 ? T : u[3] === '"' ? Pe : Te) : o === Pe || o === Te ? o = T : o === Ce || o === Oe ? o = V : (o = T, r = void 0);
|
|
1326
1328
|
const f = o === T && i[a + 1].startsWith("/>") ? " " : "";
|
|
1327
|
-
n += o === V ? l +
|
|
1329
|
+
n += o === V ? l + Ws : h >= 0 ? (s.push(c), l.slice(0, h) + Ai + l.slice(h) + C + f) : l + C + (h === -2 ? a : f);
|
|
1328
1330
|
}
|
|
1329
|
-
return [
|
|
1331
|
+
return [Ci(i, n + (i[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), s];
|
|
1330
1332
|
};
|
|
1331
|
-
let
|
|
1333
|
+
let Gt = class Oi {
|
|
1332
1334
|
constructor({ strings: t, _$litType$: e }, s) {
|
|
1333
1335
|
let r;
|
|
1334
1336
|
this.parts = [];
|
|
1335
1337
|
let n = 0, o = 0;
|
|
1336
|
-
const a = t.length - 1, l = this.parts, [c, u] =
|
|
1337
|
-
if (this.el =
|
|
1338
|
+
const a = t.length - 1, l = this.parts, [c, u] = Ks(t, e);
|
|
1339
|
+
if (this.el = Oi.createElement(c, s), I.currentNode = this.el.content, e === 2 || e === 3) {
|
|
1338
1340
|
const h = this.el.content.firstChild;
|
|
1339
1341
|
h.replaceWith(...h.childNodes);
|
|
1340
1342
|
}
|
|
1341
1343
|
for (; (r = I.nextNode()) !== null && l.length < a; ) {
|
|
1342
1344
|
if (r.nodeType === 1) {
|
|
1343
|
-
if (r.hasAttributes()) for (const h of r.getAttributeNames()) if (h.endsWith(
|
|
1345
|
+
if (r.hasAttributes()) for (const h of r.getAttributeNames()) if (h.endsWith(Ai)) {
|
|
1344
1346
|
const d = u[o++], f = r.getAttribute(h).split(C), $ = /([.?@])?(.*)/.exec(d);
|
|
1345
|
-
l.push({ type: 1, index: n, name: $[2], strings: f, ctor: $[1] === "." ?
|
|
1347
|
+
l.push({ type: 1, index: n, name: $[2], strings: f, ctor: $[1] === "." ? Xs : $[1] === "?" ? Qs : $[1] === "@" ? Js : Ct }), r.removeAttribute(h);
|
|
1346
1348
|
} else h.startsWith(C) && (l.push({ type: 6, index: n }), r.removeAttribute(h));
|
|
1347
|
-
if (
|
|
1349
|
+
if (Ei.test(r.tagName)) {
|
|
1348
1350
|
const h = r.textContent.split(C), d = h.length - 1;
|
|
1349
1351
|
if (d > 0) {
|
|
1350
|
-
r.textContent =
|
|
1352
|
+
r.textContent = vt ? vt.emptyScript : "";
|
|
1351
1353
|
for (let f = 0; f < d; f++) r.append(h[f], st()), I.nextNode(), l.push({ type: 2, index: ++n });
|
|
1352
1354
|
r.append(h[d], st());
|
|
1353
1355
|
}
|
|
1354
1356
|
}
|
|
1355
|
-
} else if (r.nodeType === 8) if (r.data ===
|
|
1357
|
+
} else if (r.nodeType === 8) if (r.data === ki) l.push({ type: 2, index: n });
|
|
1356
1358
|
else {
|
|
1357
1359
|
let h = -1;
|
|
1358
1360
|
for (; (h = r.data.indexOf(C, h + 1)) !== -1; ) l.push({ type: 7, index: n }), h += C.length - 1;
|
|
@@ -1367,12 +1369,12 @@ let Kt = class Pi {
|
|
|
1367
1369
|
};
|
|
1368
1370
|
function K(i, t, e = i, s) {
|
|
1369
1371
|
var o, a;
|
|
1370
|
-
if (t ===
|
|
1372
|
+
if (t === M) return t;
|
|
1371
1373
|
let r = s !== void 0 ? (o = e._$Co) == null ? void 0 : o[s] : e._$Cl;
|
|
1372
1374
|
const n = rt(t) ? void 0 : t._$litDirective$;
|
|
1373
1375
|
return (r == null ? void 0 : r.constructor) !== n && ((a = r == null ? void 0 : r._$AO) == null || a.call(r, !1), n === void 0 ? r = void 0 : (r = new n(i), r._$AT(i, e, s)), s !== void 0 ? (e._$Co ?? (e._$Co = []))[s] = r : e._$Cl = r), r !== void 0 && (t = K(i, r._$AS(i, t.values), r, s)), t;
|
|
1374
1376
|
}
|
|
1375
|
-
class
|
|
1377
|
+
class Zs {
|
|
1376
1378
|
constructor(t, e) {
|
|
1377
1379
|
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
|
|
1378
1380
|
}
|
|
@@ -1389,7 +1391,7 @@ class Qs {
|
|
|
1389
1391
|
for (; l !== void 0; ) {
|
|
1390
1392
|
if (o === l.index) {
|
|
1391
1393
|
let c;
|
|
1392
|
-
l.type === 2 ? c = new
|
|
1394
|
+
l.type === 2 ? c = new at(n, n.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(n, l.name, l.strings, this, t) : l.type === 6 && (c = new Vs(n, this, t)), this._$AV.push(c), l = s[++a];
|
|
1393
1395
|
}
|
|
1394
1396
|
o !== (l == null ? void 0 : l.index) && (n = I.nextNode(), o++);
|
|
1395
1397
|
}
|
|
@@ -1400,7 +1402,7 @@ class Qs {
|
|
|
1400
1402
|
for (const s of this._$AV) s !== void 0 && (s.strings !== void 0 ? (s._$AI(t, s, e), e += s.strings.length - 2) : s._$AI(t[e])), e++;
|
|
1401
1403
|
}
|
|
1402
1404
|
}
|
|
1403
|
-
class
|
|
1405
|
+
class at {
|
|
1404
1406
|
get _$AU() {
|
|
1405
1407
|
var t;
|
|
1406
1408
|
return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
|
|
@@ -1420,7 +1422,7 @@ class lt {
|
|
|
1420
1422
|
return this._$AB;
|
|
1421
1423
|
}
|
|
1422
1424
|
_$AI(t, e = this) {
|
|
1423
|
-
t = K(this, t, e), rt(t) ? t === p || t == null || t === "" ? (this._$AH !== p && this._$AR(), this._$AH = p) : t !== this._$AH && t !==
|
|
1425
|
+
t = K(this, t, e), rt(t) ? t === p || t == null || t === "" ? (this._$AH !== p && this._$AR(), this._$AH = p) : t !== this._$AH && t !== M && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Gs(t) ? this.k(t) : this._(t);
|
|
1424
1426
|
}
|
|
1425
1427
|
O(t) {
|
|
1426
1428
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -1433,27 +1435,27 @@ class lt {
|
|
|
1433
1435
|
}
|
|
1434
1436
|
$(t) {
|
|
1435
1437
|
var n;
|
|
1436
|
-
const { values: e, _$litType$: s } = t, r = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el =
|
|
1438
|
+
const { values: e, _$litType$: s } = t, r = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = Gt.createElement(Ci(s.h, s.h[0]), this.options)), s);
|
|
1437
1439
|
if (((n = this._$AH) == null ? void 0 : n._$AD) === r) this._$AH.p(e);
|
|
1438
1440
|
else {
|
|
1439
|
-
const o = new
|
|
1441
|
+
const o = new Zs(r, this), a = o.u(this.options);
|
|
1440
1442
|
o.p(e), this.T(a), this._$AH = o;
|
|
1441
1443
|
}
|
|
1442
1444
|
}
|
|
1443
1445
|
_$AC(t) {
|
|
1444
|
-
let e =
|
|
1445
|
-
return e === void 0 &&
|
|
1446
|
+
let e = Ie.get(t.strings);
|
|
1447
|
+
return e === void 0 && Ie.set(t.strings, e = new Gt(t)), e;
|
|
1446
1448
|
}
|
|
1447
1449
|
k(t) {
|
|
1448
|
-
|
|
1450
|
+
se(this._$AH) || (this._$AH = [], this._$AR());
|
|
1449
1451
|
const e = this._$AH;
|
|
1450
1452
|
let s, r = 0;
|
|
1451
|
-
for (const n of t) r === e.length ? e.push(s = new
|
|
1453
|
+
for (const n of t) r === e.length ? e.push(s = new at(this.O(st()), this.O(st()), this, this.options)) : s = e[r], s._$AI(n), r++;
|
|
1452
1454
|
r < e.length && (this._$AR(s && s._$AB.nextSibling, r), e.length = r);
|
|
1453
1455
|
}
|
|
1454
1456
|
_$AR(t = this._$AA.nextSibling, e) {
|
|
1455
1457
|
var s;
|
|
1456
|
-
for ((s = this._$AP) == null ? void 0 : s.call(this, !1, !0, e); t
|
|
1458
|
+
for ((s = this._$AP) == null ? void 0 : s.call(this, !1, !0, e); t !== this._$AB; ) {
|
|
1457
1459
|
const r = t.nextSibling;
|
|
1458
1460
|
t.remove(), t = r;
|
|
1459
1461
|
}
|
|
@@ -1463,7 +1465,7 @@ class lt {
|
|
|
1463
1465
|
this._$AM === void 0 && (this._$Cv = t, (e = this._$AP) == null || e.call(this, t));
|
|
1464
1466
|
}
|
|
1465
1467
|
}
|
|
1466
|
-
class
|
|
1468
|
+
class Ct {
|
|
1467
1469
|
get tagName() {
|
|
1468
1470
|
return this.element.tagName;
|
|
1469
1471
|
}
|
|
@@ -1476,11 +1478,11 @@ class Tt {
|
|
|
1476
1478
|
_$AI(t, e = this, s, r) {
|
|
1477
1479
|
const n = this.strings;
|
|
1478
1480
|
let o = !1;
|
|
1479
|
-
if (n === void 0) t = K(this, t, e, 0), o = !rt(t) || t !== this._$AH && t !==
|
|
1481
|
+
if (n === void 0) t = K(this, t, e, 0), o = !rt(t) || t !== this._$AH && t !== M, o && (this._$AH = t);
|
|
1480
1482
|
else {
|
|
1481
1483
|
const a = t;
|
|
1482
1484
|
let l, c;
|
|
1483
|
-
for (t = n[0], l = 0; l < n.length - 1; l++) c = K(this, a[s + l], e, l), c ===
|
|
1485
|
+
for (t = n[0], l = 0; l < n.length - 1; l++) c = K(this, a[s + l], e, l), c === M && (c = this._$AH[l]), o || (o = !rt(c) || c !== this._$AH[l]), c === p ? t = p : t !== p && (t += (c ?? "") + n[l + 1]), this._$AH[l] = c;
|
|
1484
1486
|
}
|
|
1485
1487
|
o && !r && this.j(t);
|
|
1486
1488
|
}
|
|
@@ -1488,7 +1490,7 @@ class Tt {
|
|
|
1488
1490
|
t === p ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
|
1489
1491
|
}
|
|
1490
1492
|
}
|
|
1491
|
-
let
|
|
1493
|
+
let Xs = class extends Ct {
|
|
1492
1494
|
constructor() {
|
|
1493
1495
|
super(...arguments), this.type = 3;
|
|
1494
1496
|
}
|
|
@@ -1496,7 +1498,7 @@ let Js = class extends Tt {
|
|
|
1496
1498
|
this.element[this.name] = t === p ? void 0 : t;
|
|
1497
1499
|
}
|
|
1498
1500
|
};
|
|
1499
|
-
class
|
|
1501
|
+
class Qs extends Ct {
|
|
1500
1502
|
constructor() {
|
|
1501
1503
|
super(...arguments), this.type = 4;
|
|
1502
1504
|
}
|
|
@@ -1504,12 +1506,12 @@ class Vs extends Tt {
|
|
|
1504
1506
|
this.element.toggleAttribute(this.name, !!t && t !== p);
|
|
1505
1507
|
}
|
|
1506
1508
|
}
|
|
1507
|
-
class
|
|
1509
|
+
class Js extends Ct {
|
|
1508
1510
|
constructor(t, e, s, r, n) {
|
|
1509
1511
|
super(t, e, s, r, n), this.type = 5;
|
|
1510
1512
|
}
|
|
1511
1513
|
_$AI(t, e = this) {
|
|
1512
|
-
if ((t = K(this, t, e, 0) ?? p) ===
|
|
1514
|
+
if ((t = K(this, t, e, 0) ?? p) === M) return;
|
|
1513
1515
|
const s = this._$AH, r = t === p && s !== p || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, n = t !== p && (s === p || r);
|
|
1514
1516
|
r && this.element.removeEventListener(this.name, this, s), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
|
1515
1517
|
}
|
|
@@ -1518,7 +1520,7 @@ class tr extends Tt {
|
|
|
1518
1520
|
typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, t) : this._$AH.handleEvent(t);
|
|
1519
1521
|
}
|
|
1520
1522
|
}
|
|
1521
|
-
class
|
|
1523
|
+
class Vs {
|
|
1522
1524
|
constructor(t, e, s) {
|
|
1523
1525
|
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = s;
|
|
1524
1526
|
}
|
|
@@ -1529,14 +1531,14 @@ class er {
|
|
|
1529
1531
|
K(this, t);
|
|
1530
1532
|
}
|
|
1531
1533
|
}
|
|
1532
|
-
const
|
|
1533
|
-
|
|
1534
|
-
const
|
|
1534
|
+
const Mt = et.litHtmlPolyfillSupport;
|
|
1535
|
+
Mt == null || Mt(Gt, at), (et.litHtmlVersions ?? (et.litHtmlVersions = [])).push("3.3.1");
|
|
1536
|
+
const tr = (i, t, e) => {
|
|
1535
1537
|
const s = (e == null ? void 0 : e.renderBefore) ?? t;
|
|
1536
1538
|
let r = s._$litPart$;
|
|
1537
1539
|
if (r === void 0) {
|
|
1538
1540
|
const n = (e == null ? void 0 : e.renderBefore) ?? null;
|
|
1539
|
-
s._$litPart$ = r = new
|
|
1541
|
+
s._$litPart$ = r = new at(t.insertBefore(st(), n), n, void 0, e ?? {});
|
|
1540
1542
|
}
|
|
1541
1543
|
return r._$AI(i), r;
|
|
1542
1544
|
};
|
|
@@ -1546,7 +1548,7 @@ const ir = (i, t, e) => {
|
|
|
1546
1548
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1547
1549
|
*/
|
|
1548
1550
|
const R = globalThis;
|
|
1549
|
-
let x = class extends
|
|
1551
|
+
let x = class extends B {
|
|
1550
1552
|
constructor() {
|
|
1551
1553
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
1552
1554
|
}
|
|
@@ -1557,7 +1559,7 @@ let x = class extends H {
|
|
|
1557
1559
|
}
|
|
1558
1560
|
update(t) {
|
|
1559
1561
|
const e = this.render();
|
|
1560
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do =
|
|
1562
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = tr(e, this.renderRoot, this.renderOptions);
|
|
1561
1563
|
}
|
|
1562
1564
|
connectedCallback() {
|
|
1563
1565
|
var t;
|
|
@@ -1568,20 +1570,20 @@ let x = class extends H {
|
|
|
1568
1570
|
super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
|
|
1569
1571
|
}
|
|
1570
1572
|
render() {
|
|
1571
|
-
return
|
|
1573
|
+
return M;
|
|
1572
1574
|
}
|
|
1573
1575
|
};
|
|
1574
|
-
var
|
|
1575
|
-
x._$litElement$ = !0, x.finalized = !0, (
|
|
1576
|
-
const
|
|
1577
|
-
|
|
1578
|
-
(R.litElementVersions ?? (R.litElementVersions = [])).push("4.2.
|
|
1576
|
+
var ei;
|
|
1577
|
+
x._$litElement$ = !0, x.finalized = !0, (ei = R.litElementHydrateSupport) == null || ei.call(R, { LitElement: x });
|
|
1578
|
+
const jt = R.litElementPolyfillSupport;
|
|
1579
|
+
jt == null || jt({ LitElement: x });
|
|
1580
|
+
(R.litElementVersions ?? (R.litElementVersions = [])).push("4.2.1");
|
|
1579
1581
|
/**
|
|
1580
1582
|
* @license
|
|
1581
1583
|
* Copyright 2017 Google LLC
|
|
1582
1584
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1583
1585
|
*/
|
|
1584
|
-
const
|
|
1586
|
+
const er = { attribute: !0, type: String, converter: $t, reflect: !1, hasChanged: ie }, ir = (i = er, t, e) => {
|
|
1585
1587
|
const { kind: s, metadata: r } = e;
|
|
1586
1588
|
let n = globalThis.litPropertyMetadata.get(r);
|
|
1587
1589
|
if (n === void 0 && globalThis.litPropertyMetadata.set(r, n = /* @__PURE__ */ new Map()), s === "setter" && ((i = Object.create(i)).wrapped = !0), n.set(e.name, i), s === "accessor") {
|
|
@@ -1603,7 +1605,7 @@ const sr = { attribute: !0, type: String, converter: vt, reflect: !1, hasChanged
|
|
|
1603
1605
|
throw Error("Unsupported decorator location: " + s);
|
|
1604
1606
|
};
|
|
1605
1607
|
function b(i) {
|
|
1606
|
-
return (t, e) => typeof e == "object" ?
|
|
1608
|
+
return (t, e) => typeof e == "object" ? ir(i, t, e) : ((s, r, n) => {
|
|
1607
1609
|
const o = r.hasOwnProperty(n);
|
|
1608
1610
|
return r.constructor.createProperty(n, s), o ? Object.getOwnPropertyDescriptor(r, n) : void 0;
|
|
1609
1611
|
})(i, t, e);
|
|
@@ -1613,15 +1615,15 @@ function b(i) {
|
|
|
1613
1615
|
* Copyright 2017 Google LLC
|
|
1614
1616
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1615
1617
|
*/
|
|
1616
|
-
function
|
|
1618
|
+
function H(i) {
|
|
1617
1619
|
return b({ ...i, state: !0, attribute: !1 });
|
|
1618
1620
|
}
|
|
1619
|
-
var
|
|
1621
|
+
var sr = Object.defineProperty, rr = (i, t, e, s) => {
|
|
1620
1622
|
for (var r = void 0, n = i.length - 1, o; n >= 0; n--)
|
|
1621
1623
|
(o = i[n]) && (r = o(t, e, r) || r);
|
|
1622
|
-
return r &&
|
|
1624
|
+
return r && sr(t, e, r), r;
|
|
1623
1625
|
};
|
|
1624
|
-
const
|
|
1626
|
+
const fe = class fe extends x {
|
|
1625
1627
|
constructor() {
|
|
1626
1628
|
super(...arguments), this.anchor = "BottomRight";
|
|
1627
1629
|
}
|
|
@@ -1633,7 +1635,7 @@ const pe = class pe extends x {
|
|
|
1633
1635
|
return this.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right"), p;
|
|
1634
1636
|
}
|
|
1635
1637
|
};
|
|
1636
|
-
|
|
1638
|
+
fe.styles = [
|
|
1637
1639
|
N`
|
|
1638
1640
|
:host {
|
|
1639
1641
|
position: fixed;
|
|
@@ -1652,17 +1654,17 @@ pe.styles = [
|
|
|
1652
1654
|
}
|
|
1653
1655
|
`
|
|
1654
1656
|
];
|
|
1655
|
-
let
|
|
1656
|
-
|
|
1657
|
+
let mt = fe;
|
|
1658
|
+
rr([
|
|
1657
1659
|
b({ attribute: !0 })
|
|
1658
|
-
],
|
|
1660
|
+
], mt.prototype, "anchor");
|
|
1659
1661
|
/**
|
|
1660
1662
|
* @license
|
|
1661
1663
|
* Copyright 2017 Google LLC
|
|
1662
1664
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1663
1665
|
*/
|
|
1664
|
-
const
|
|
1665
|
-
let
|
|
1666
|
+
const re = { ATTRIBUTE: 1, CHILD: 2 }, ne = (i) => (...t) => ({ _$litDirective$: i, values: t });
|
|
1667
|
+
let Ti = class {
|
|
1666
1668
|
constructor(t) {
|
|
1667
1669
|
}
|
|
1668
1670
|
get _$AU() {
|
|
@@ -1683,7 +1685,7 @@ let Ii = class {
|
|
|
1683
1685
|
* Copyright 2020 Google LLC
|
|
1684
1686
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1685
1687
|
*/
|
|
1686
|
-
const
|
|
1688
|
+
const nr = (i) => i.strings === void 0;
|
|
1687
1689
|
/**
|
|
1688
1690
|
* @license
|
|
1689
1691
|
* Copyright 2017 Google LLC
|
|
@@ -1695,45 +1697,45 @@ const it = (i, t) => {
|
|
|
1695
1697
|
if (e === void 0) return !1;
|
|
1696
1698
|
for (const r of e) (s = r._$AO) == null || s.call(r, t, !1), it(r, t);
|
|
1697
1699
|
return !0;
|
|
1698
|
-
},
|
|
1700
|
+
}, yt = (i) => {
|
|
1699
1701
|
let t, e;
|
|
1700
1702
|
do {
|
|
1701
1703
|
if ((t = i._$AM) === void 0) break;
|
|
1702
1704
|
e = t._$AN, e.delete(i), i = t;
|
|
1703
1705
|
} while ((e == null ? void 0 : e.size) === 0);
|
|
1704
|
-
},
|
|
1706
|
+
}, Pi = (i) => {
|
|
1705
1707
|
for (let t; t = i._$AM; i = t) {
|
|
1706
1708
|
let e = t._$AN;
|
|
1707
1709
|
if (e === void 0) t._$AN = e = /* @__PURE__ */ new Set();
|
|
1708
1710
|
else if (e.has(i)) break;
|
|
1709
|
-
e.add(i),
|
|
1711
|
+
e.add(i), lr(t);
|
|
1710
1712
|
}
|
|
1711
1713
|
};
|
|
1712
|
-
function
|
|
1713
|
-
this._$AN !== void 0 ? (
|
|
1714
|
+
function or(i) {
|
|
1715
|
+
this._$AN !== void 0 ? (yt(this), this._$AM = i, Pi(this)) : this._$AM = i;
|
|
1714
1716
|
}
|
|
1715
|
-
function
|
|
1717
|
+
function ar(i, t = !1, e = 0) {
|
|
1716
1718
|
const s = this._$AH, r = this._$AN;
|
|
1717
|
-
if (r !== void 0 && r.size !== 0) if (t) if (Array.isArray(s)) for (let n = e; n < s.length; n++) it(s[n], !1),
|
|
1718
|
-
else s != null && (it(s, !1),
|
|
1719
|
+
if (r !== void 0 && r.size !== 0) if (t) if (Array.isArray(s)) for (let n = e; n < s.length; n++) it(s[n], !1), yt(s[n]);
|
|
1720
|
+
else s != null && (it(s, !1), yt(s));
|
|
1719
1721
|
else it(this, i);
|
|
1720
1722
|
}
|
|
1721
|
-
const
|
|
1722
|
-
i.type ==
|
|
1723
|
+
const lr = (i) => {
|
|
1724
|
+
i.type == re.CHILD && (i._$AP ?? (i._$AP = ar), i._$AQ ?? (i._$AQ = or));
|
|
1723
1725
|
};
|
|
1724
|
-
class
|
|
1726
|
+
class Ii extends Ti {
|
|
1725
1727
|
constructor() {
|
|
1726
1728
|
super(...arguments), this._$AN = void 0;
|
|
1727
1729
|
}
|
|
1728
1730
|
_$AT(t, e, s) {
|
|
1729
|
-
super._$AT(t, e, s),
|
|
1731
|
+
super._$AT(t, e, s), Pi(this), this.isConnected = t._$AU;
|
|
1730
1732
|
}
|
|
1731
1733
|
_$AO(t, e = !0) {
|
|
1732
1734
|
var s, r;
|
|
1733
|
-
t !== this.isConnected && (this.isConnected = t, t ? (s = this.reconnected) == null || s.call(this) : (r = this.disconnected) == null || r.call(this)), e && (it(this, t),
|
|
1735
|
+
t !== this.isConnected && (this.isConnected = t, t ? (s = this.reconnected) == null || s.call(this) : (r = this.disconnected) == null || r.call(this)), e && (it(this, t), yt(this));
|
|
1734
1736
|
}
|
|
1735
1737
|
setValue(t) {
|
|
1736
|
-
if (
|
|
1738
|
+
if (nr(this._$Ct)) this._$Ct._$AI(t, this);
|
|
1737
1739
|
else {
|
|
1738
1740
|
const e = [...this._$Ct._$AH];
|
|
1739
1741
|
e[this._$Ci] = t, this._$Ct._$AI(e, this, 0);
|
|
@@ -1744,34 +1746,34 @@ class Ri extends Ii {
|
|
|
1744
1746
|
reconnected() {
|
|
1745
1747
|
}
|
|
1746
1748
|
}
|
|
1747
|
-
const
|
|
1748
|
-
let
|
|
1749
|
-
const
|
|
1749
|
+
const cr = /* @__PURE__ */ new WeakMap();
|
|
1750
|
+
let Le = 0;
|
|
1751
|
+
const Nt = /* @__PURE__ */ new Map(), Re = /* @__PURE__ */ new WeakSet(), Ue = () => new Promise((i) => requestAnimationFrame(i)), Me = [{ transform: "translateY(-100%) scale(0)", opacity: 0 }], ur = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], je = (i, t) => {
|
|
1750
1752
|
const e = i - t;
|
|
1751
1753
|
return e === 0 ? void 0 : e;
|
|
1752
|
-
},
|
|
1754
|
+
}, Ne = (i, t) => {
|
|
1753
1755
|
const e = i / t;
|
|
1754
1756
|
return e === 1 ? void 0 : e;
|
|
1755
|
-
},
|
|
1756
|
-
const e =
|
|
1757
|
+
}, Ht = { left: (i, t) => {
|
|
1758
|
+
const e = je(i, t);
|
|
1757
1759
|
return { value: e, transform: e == null || isNaN(e) ? void 0 : `translateX(${e}px)` };
|
|
1758
1760
|
}, top: (i, t) => {
|
|
1759
|
-
const e =
|
|
1761
|
+
const e = je(i, t);
|
|
1760
1762
|
return { value: e, transform: e == null || isNaN(e) ? void 0 : `translateY(${e}px)` };
|
|
1761
1763
|
}, width: (i, t) => {
|
|
1762
1764
|
let e;
|
|
1763
1765
|
t === 0 && (t = 1, e = { width: "1px" });
|
|
1764
|
-
const s =
|
|
1766
|
+
const s = Ne(i, t);
|
|
1765
1767
|
return { value: s, overrideFrom: e, transform: s == null || isNaN(s) ? void 0 : `scaleX(${s})` };
|
|
1766
1768
|
}, height: (i, t) => {
|
|
1767
1769
|
let e;
|
|
1768
1770
|
t === 0 && (t = 1, e = { height: "1px" });
|
|
1769
|
-
const s =
|
|
1771
|
+
const s = Ne(i, t);
|
|
1770
1772
|
return { value: s, overrideFrom: e, transform: s == null || isNaN(s) ? void 0 : `scaleY(${s})` };
|
|
1771
|
-
} },
|
|
1772
|
-
class
|
|
1773
|
+
} }, hr = { duration: 333, easing: "ease-in-out" }, dr = ["left", "top", "width", "height", "opacity", "color", "background"], He = /* @__PURE__ */ new WeakMap();
|
|
1774
|
+
class fr extends Ii {
|
|
1773
1775
|
constructor(t) {
|
|
1774
|
-
if (super(t), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, t.type ===
|
|
1776
|
+
if (super(t), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, t.type === re.CHILD) throw Error("The `animate` directive must be used in attribute position.");
|
|
1775
1777
|
this.createFinished();
|
|
1776
1778
|
}
|
|
1777
1779
|
createFinished() {
|
|
@@ -1788,7 +1790,7 @@ class gr extends Ri {
|
|
|
1788
1790
|
return p;
|
|
1789
1791
|
}
|
|
1790
1792
|
getController() {
|
|
1791
|
-
return
|
|
1793
|
+
return cr.get(this.u);
|
|
1792
1794
|
}
|
|
1793
1795
|
isDisabled() {
|
|
1794
1796
|
var t;
|
|
@@ -1802,12 +1804,12 @@ class gr extends Ri {
|
|
|
1802
1804
|
p(t) {
|
|
1803
1805
|
t = t ?? {};
|
|
1804
1806
|
const e = this.getController();
|
|
1805
|
-
e !== void 0 && ((t = { ...e.defaultOptions, ...t }).keyframeOptions = { ...e.defaultOptions.keyframeOptions, ...t.keyframeOptions }), t.properties ?? (t.properties =
|
|
1807
|
+
e !== void 0 && ((t = { ...e.defaultOptions, ...t }).keyframeOptions = { ...e.defaultOptions.keyframeOptions, ...t.keyframeOptions }), t.properties ?? (t.properties = dr), this.options = t;
|
|
1806
1808
|
}
|
|
1807
1809
|
m() {
|
|
1808
1810
|
const t = {}, e = this.element.getBoundingClientRect(), s = getComputedStyle(this.element);
|
|
1809
1811
|
return this.options.properties.forEach((r) => {
|
|
1810
|
-
const n = e[r] ?? (
|
|
1812
|
+
const n = e[r] ?? (Ht[r] ? void 0 : s[r]), o = Number(n);
|
|
1811
1813
|
t[r] = isNaN(o) ? n + "" : o;
|
|
1812
1814
|
}), t;
|
|
1813
1815
|
}
|
|
@@ -1826,17 +1828,17 @@ class gr extends Ri {
|
|
|
1826
1828
|
async hostUpdated() {
|
|
1827
1829
|
if (!this.h || !this.element.isConnected || this.options.skipInitial && !this.isHostRendered) return;
|
|
1828
1830
|
let t;
|
|
1829
|
-
this.prepare(), await
|
|
1831
|
+
this.prepare(), await Ue;
|
|
1830
1832
|
const e = this.O(), s = this.j(this.options.keyframeOptions, e), r = this.m();
|
|
1831
1833
|
if (this.A !== void 0) {
|
|
1832
1834
|
const { from: n, to: o } = this.N(this.A, r, e);
|
|
1833
1835
|
this.log("measured", [this.A, r, n, o]), t = this.calculateKeyframes(n, o);
|
|
1834
1836
|
} else {
|
|
1835
|
-
const n =
|
|
1837
|
+
const n = Nt.get(this.options.inId);
|
|
1836
1838
|
if (n) {
|
|
1837
|
-
|
|
1839
|
+
Nt.delete(this.options.inId);
|
|
1838
1840
|
const { from: o, to: a } = this.N(n, r, e);
|
|
1839
|
-
t = this.calculateKeyframes(o, a), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t,
|
|
1841
|
+
t = this.calculateKeyframes(o, a), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t, Le++, t.forEach((l) => l.zIndex = Le);
|
|
1840
1842
|
} else this.options.in && (t = [...this.options.in, {}]);
|
|
1841
1843
|
}
|
|
1842
1844
|
this.animate(t, s);
|
|
@@ -1852,8 +1854,8 @@ class gr extends Ri {
|
|
|
1852
1854
|
}
|
|
1853
1855
|
async disconnected() {
|
|
1854
1856
|
var e;
|
|
1855
|
-
if (!this.h || (this.options.id !== void 0 &&
|
|
1856
|
-
if (this.prepare(), await
|
|
1857
|
+
if (!this.h || (this.options.id !== void 0 && Nt.set(this.options.id, this.A), this.options.out === void 0)) return;
|
|
1858
|
+
if (this.prepare(), await Ue(), (e = this.i) == null ? void 0 : e.isConnected) {
|
|
1857
1859
|
const s = this.o && this.o.parentNode === this.i ? this.o : null;
|
|
1858
1860
|
if (this.i.insertBefore(this.element, s), this.options.stabilizeOut) {
|
|
1859
1861
|
const r = this.m();
|
|
@@ -1885,13 +1887,13 @@ class gr extends Ri {
|
|
|
1885
1887
|
return t;
|
|
1886
1888
|
}
|
|
1887
1889
|
get isHostRendered() {
|
|
1888
|
-
const t =
|
|
1890
|
+
const t = Re.has(this.u);
|
|
1889
1891
|
return t || this.u.updateComplete.then(() => {
|
|
1890
|
-
|
|
1892
|
+
Re.add(this.u);
|
|
1891
1893
|
}), t;
|
|
1892
1894
|
}
|
|
1893
1895
|
j(t, e = this.O()) {
|
|
1894
|
-
const s = { ...
|
|
1896
|
+
const s = { ...hr };
|
|
1895
1897
|
return e.forEach((r) => Object.assign(s, r.options.keyframeOptions)), Object.assign(s, t), s;
|
|
1896
1898
|
}
|
|
1897
1899
|
N(t, e, s) {
|
|
@@ -1908,8 +1910,8 @@ class gr extends Ri {
|
|
|
1908
1910
|
const a = {};
|
|
1909
1911
|
for (const l in e) {
|
|
1910
1912
|
const c = t[l], u = e[l];
|
|
1911
|
-
if (l in
|
|
1912
|
-
const h =
|
|
1913
|
+
if (l in Ht) {
|
|
1914
|
+
const h = Ht[l];
|
|
1913
1915
|
if (c === void 0 || u === void 0) continue;
|
|
1914
1916
|
const d = h(c, u);
|
|
1915
1917
|
d.transform !== void 0 && (a[l] = d.value, o = !0, r.transform = `${r.transform ?? ""} ${d.transform}`, d.overrideFrom !== void 0 && Object.assign(r, d.overrideFrom));
|
|
@@ -1940,16 +1942,16 @@ class gr extends Ri {
|
|
|
1940
1942
|
this.shouldLog && !this.isDisabled() && console.log(t, this.options.id, e);
|
|
1941
1943
|
}
|
|
1942
1944
|
}
|
|
1943
|
-
const
|
|
1945
|
+
const Li = ne(fr), pr = { 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>' };
|
|
1944
1946
|
/**
|
|
1945
1947
|
* @license
|
|
1946
1948
|
* Copyright 2018 Google LLC
|
|
1947
1949
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1948
1950
|
*/
|
|
1949
|
-
const
|
|
1951
|
+
const Be = ne(class extends Ti {
|
|
1950
1952
|
constructor(i) {
|
|
1951
1953
|
var t;
|
|
1952
|
-
if (super(i), i.type !==
|
|
1954
|
+
if (super(i), i.type !== re.ATTRIBUTE || i.name !== "class" || ((t = i.strings) == null ? void 0 : t.length) > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
|
|
1953
1955
|
}
|
|
1954
1956
|
render(i) {
|
|
1955
1957
|
return " " + Object.keys(i).filter((t) => i[t]).join(" ") + " ";
|
|
@@ -1967,11 +1969,11 @@ const Fe = ae(class extends Ii {
|
|
|
1967
1969
|
const o = !!t[n];
|
|
1968
1970
|
o === this.st.has(n) || (r = this.nt) != null && r.has(n) || (o ? (e.add(n), this.st.add(n)) : (e.remove(n), this.st.delete(n)));
|
|
1969
1971
|
}
|
|
1970
|
-
return
|
|
1972
|
+
return M;
|
|
1971
1973
|
}
|
|
1972
1974
|
}), A = (i, t, e) => {
|
|
1973
1975
|
i && e.style.setProperty(t, i);
|
|
1974
|
-
},
|
|
1976
|
+
}, Ri = (i, t) => {
|
|
1975
1977
|
var e, s, r, n, o, a, l, c, u;
|
|
1976
1978
|
A((e = i.colors) == null ? void 0 : e.primaryBackground, "--primary-background", t), A(
|
|
1977
1979
|
(s = i.colors) == null ? void 0 : s.textOnPrimaryBackground,
|
|
@@ -2008,10 +2010,10 @@ const Fe = ae(class extends Ii {
|
|
|
2008
2010
|
* Copyright 2020 Google LLC
|
|
2009
2011
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2010
2012
|
*/
|
|
2011
|
-
const
|
|
2012
|
-
let
|
|
2013
|
+
const bt = () => new gr();
|
|
2014
|
+
let gr = class {
|
|
2013
2015
|
};
|
|
2014
|
-
const
|
|
2016
|
+
const Bt = /* @__PURE__ */ new WeakMap(), oe = ne(class extends Ii {
|
|
2015
2017
|
render(i) {
|
|
2016
2018
|
return p;
|
|
2017
2019
|
}
|
|
@@ -2023,13 +2025,13 @@ const Dt = /* @__PURE__ */ new WeakMap(), le = ae(class extends Ri {
|
|
|
2023
2025
|
rt(i) {
|
|
2024
2026
|
if (this.isConnected || (i = void 0), typeof this.G == "function") {
|
|
2025
2027
|
const t = this.ht ?? globalThis;
|
|
2026
|
-
let e =
|
|
2027
|
-
e === void 0 && (e = /* @__PURE__ */ new WeakMap(),
|
|
2028
|
+
let e = Bt.get(t);
|
|
2029
|
+
e === void 0 && (e = /* @__PURE__ */ new WeakMap(), Bt.set(t, e)), e.get(this.G) !== void 0 && this.G.call(this.ht, void 0), e.set(this.G, i), i !== void 0 && this.G.call(this.ht, i);
|
|
2028
2030
|
} else this.G.value = i;
|
|
2029
2031
|
}
|
|
2030
2032
|
get lt() {
|
|
2031
2033
|
var i, t;
|
|
2032
|
-
return typeof this.G == "function" ? (i =
|
|
2034
|
+
return typeof this.G == "function" ? (i = Bt.get(this.ht ?? globalThis)) == null ? void 0 : i.get(this.G) : (t = this.G) == null ? void 0 : t.value;
|
|
2033
2035
|
}
|
|
2034
2036
|
disconnected() {
|
|
2035
2037
|
this.lt === this.ct && this.rt(void 0);
|
|
@@ -2038,14 +2040,14 @@ const Dt = /* @__PURE__ */ new WeakMap(), le = ae(class extends Ri {
|
|
|
2038
2040
|
this.rt(this.ct);
|
|
2039
2041
|
}
|
|
2040
2042
|
});
|
|
2041
|
-
var
|
|
2043
|
+
var $r = Object.defineProperty, lt = (i, t, e, s) => {
|
|
2042
2044
|
for (var r = void 0, n = i.length - 1, o; n >= 0; n--)
|
|
2043
2045
|
(o = i[n]) && (r = o(t, e, r) || r);
|
|
2044
|
-
return r &&
|
|
2046
|
+
return r && $r(t, e, r), r;
|
|
2045
2047
|
};
|
|
2046
|
-
const
|
|
2048
|
+
const pe = class pe extends x {
|
|
2047
2049
|
constructor() {
|
|
2048
|
-
super(...arguments), this.active = !1, this.triggerVisible = !0, this.loaded = !1, this.containerRef =
|
|
2050
|
+
super(...arguments), this.active = !1, this.triggerVisible = !0, this.loaded = !1, this.containerRef = bt(), this.widgetActive$ = new li(!1), this.componentIsDestroyed$ = new Et();
|
|
2049
2051
|
}
|
|
2050
2052
|
async connectedCallback() {
|
|
2051
2053
|
super.connectedCallback(), this.icon = await this._renderSymbol(), this.loaded = !0, this._applyBranding();
|
|
@@ -2080,7 +2082,7 @@ const ge = class ge extends x {
|
|
|
2080
2082
|
}
|
|
2081
2083
|
_applyBranding() {
|
|
2082
2084
|
var t;
|
|
2083
|
-
(t = this.application) != null && t.settings &&
|
|
2085
|
+
(t = this.application) != null && t.settings && Ri(this.application.settings.branding, this);
|
|
2084
2086
|
}
|
|
2085
2087
|
async _renderSymbol() {
|
|
2086
2088
|
var a, l, c;
|
|
@@ -2090,7 +2092,7 @@ const ge = class ge extends x {
|
|
|
2090
2092
|
const s = (c = this.application) == null ? void 0 : c.triggerIcon;
|
|
2091
2093
|
if (!s)
|
|
2092
2094
|
return p;
|
|
2093
|
-
const r = async (u) =>
|
|
2095
|
+
const r = async (u) => pr, { type: n, content: o } = s;
|
|
2094
2096
|
switch (n) {
|
|
2095
2097
|
case "Telia": {
|
|
2096
2098
|
const u = await r();
|
|
@@ -2118,33 +2120,35 @@ const ge = class ge extends x {
|
|
|
2118
2120
|
this.triggerVisible = !0;
|
|
2119
2121
|
}
|
|
2120
2122
|
render() {
|
|
2121
|
-
var t, e, s, r;
|
|
2123
|
+
var t, e, s, r, n, o, a;
|
|
2122
2124
|
return k`<div
|
|
2123
|
-
class=${
|
|
2125
|
+
class=${Be({
|
|
2124
2126
|
"trigger-container": !0,
|
|
2125
2127
|
hidden: !this.triggerVisible
|
|
2126
2128
|
})}
|
|
2127
|
-
${
|
|
2129
|
+
${oe(this.containerRef)}
|
|
2128
2130
|
>
|
|
2129
2131
|
${!this.active && ((r = (s = (e = (t = this.application) == null ? void 0 : t.settings) == null ? void 0 : e.branding) == null ? void 0 : s.other) != null && r.showButtonLabel) ? k`
|
|
2130
2132
|
<button
|
|
2131
|
-
|
|
2133
|
+
type="button"
|
|
2134
|
+
aria-label="${this.application.settings.branding.other.buttonLabelText ?? "Widget trigger"}"
|
|
2132
2135
|
class="trigger-label"
|
|
2133
2136
|
@click=${this.toggleActive}
|
|
2134
|
-
${
|
|
2137
|
+
${Li({
|
|
2135
2138
|
keyframeOptions: {},
|
|
2136
|
-
in:
|
|
2139
|
+
in: ur,
|
|
2137
2140
|
stabilizeOut: !0,
|
|
2138
2141
|
skipInitial: !1
|
|
2139
2142
|
})}
|
|
2140
2143
|
>
|
|
2141
|
-
${this.application.settings.branding.other.buttonLabelText}
|
|
2144
|
+
${this.application.settings.branding.other.buttonLabelText ?? "Widget trigger"}
|
|
2142
2145
|
</button>
|
|
2143
2146
|
` : p}
|
|
2144
2147
|
|
|
2145
2148
|
<button
|
|
2146
|
-
|
|
2147
|
-
|
|
2149
|
+
type="button"
|
|
2150
|
+
aria-label="${((a = (o = (n = this.application) == null ? void 0 : n.settings) == null ? void 0 : o.branding.other) == null ? void 0 : a.buttonLabelText) ?? "Widget trigger"}"
|
|
2151
|
+
class=${Be({
|
|
2148
2152
|
trigger: !0,
|
|
2149
2153
|
active: this.active,
|
|
2150
2154
|
rendered: this.loaded
|
|
@@ -2183,7 +2187,7 @@ const ge = class ge extends x {
|
|
|
2183
2187
|
</div>`;
|
|
2184
2188
|
}
|
|
2185
2189
|
};
|
|
2186
|
-
|
|
2190
|
+
pe.styles = [
|
|
2187
2191
|
N`
|
|
2188
2192
|
:host {
|
|
2189
2193
|
--voca-rem-multiplier: 0.625;
|
|
@@ -2315,28 +2319,28 @@ ge.styles = [
|
|
|
2315
2319
|
}
|
|
2316
2320
|
`
|
|
2317
2321
|
];
|
|
2318
|
-
let E =
|
|
2319
|
-
|
|
2322
|
+
let E = pe;
|
|
2323
|
+
lt([
|
|
2320
2324
|
b({ attribute: !1 })
|
|
2321
2325
|
], E.prototype, "application");
|
|
2322
|
-
|
|
2323
|
-
|
|
2326
|
+
lt([
|
|
2327
|
+
H()
|
|
2324
2328
|
], E.prototype, "active");
|
|
2325
|
-
|
|
2326
|
-
|
|
2329
|
+
lt([
|
|
2330
|
+
H()
|
|
2327
2331
|
], E.prototype, "triggerVisible");
|
|
2328
|
-
|
|
2329
|
-
|
|
2332
|
+
lt([
|
|
2333
|
+
H()
|
|
2330
2334
|
], E.prototype, "loaded");
|
|
2331
|
-
|
|
2332
|
-
|
|
2335
|
+
lt([
|
|
2336
|
+
H()
|
|
2333
2337
|
], E.prototype, "icon");
|
|
2334
|
-
var
|
|
2338
|
+
var vr = Object.defineProperty, P = (i, t, e, s) => {
|
|
2335
2339
|
for (var r = void 0, n = i.length - 1, o; n >= 0; n--)
|
|
2336
2340
|
(o = i[n]) && (r = o(t, e, r) || r);
|
|
2337
|
-
return r &&
|
|
2341
|
+
return r && vr(t, e, r), r;
|
|
2338
2342
|
};
|
|
2339
|
-
const
|
|
2343
|
+
const Ui = (i) => {
|
|
2340
2344
|
const e = class e extends i {
|
|
2341
2345
|
constructor() {
|
|
2342
2346
|
super(...arguments), this.properties = {}, this.context = {}, this.layout = {}, this.nodes = [];
|
|
@@ -2392,37 +2396,37 @@ const Mi = (i) => {
|
|
|
2392
2396
|
], t.prototype, "application"), P([
|
|
2393
2397
|
b({ attribute: !1 })
|
|
2394
2398
|
], t.prototype, "parent"), t;
|
|
2395
|
-
},
|
|
2399
|
+
}, ge = class ge extends Ui(x) {
|
|
2396
2400
|
render() {
|
|
2397
2401
|
return k`Non resolved component`;
|
|
2398
2402
|
}
|
|
2399
2403
|
};
|
|
2400
|
-
|
|
2404
|
+
ge.styles = [
|
|
2401
2405
|
N`
|
|
2402
2406
|
:host {
|
|
2403
2407
|
display: block;
|
|
2404
2408
|
}
|
|
2405
2409
|
`
|
|
2406
2410
|
];
|
|
2407
|
-
let
|
|
2411
|
+
let Yt = ge;
|
|
2408
2412
|
/**
|
|
2409
2413
|
* @license
|
|
2410
2414
|
* Copyright 2021 Google LLC
|
|
2411
2415
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2412
2416
|
*/
|
|
2413
|
-
function*
|
|
2417
|
+
function* mr(i, t) {
|
|
2414
2418
|
if (i !== void 0) {
|
|
2415
2419
|
let e = 0;
|
|
2416
2420
|
for (const s of i) yield t(s, e++);
|
|
2417
2421
|
}
|
|
2418
2422
|
}
|
|
2419
|
-
var
|
|
2423
|
+
var ae = /* @__PURE__ */ ((i) => (i.Inline = "inline", i.Trigger = "trigger", i))(ae || {});
|
|
2420
2424
|
/**
|
|
2421
2425
|
* @license
|
|
2422
2426
|
* Copyright 2021 Google LLC
|
|
2423
2427
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2424
2428
|
*/
|
|
2425
|
-
let
|
|
2429
|
+
let yr = class extends Event {
|
|
2426
2430
|
constructor(t, e, s, r) {
|
|
2427
2431
|
super("context-request", { bubbles: !0, composed: !0 }), this.context = t, this.contextTarget = e, this.callback = s, this.subscribe = r ?? !1;
|
|
2428
2432
|
}
|
|
@@ -2437,7 +2441,7 @@ let _r = class extends Event {
|
|
|
2437
2441
|
* Copyright 2021 Google LLC
|
|
2438
2442
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2439
2443
|
*/
|
|
2440
|
-
class
|
|
2444
|
+
class br {
|
|
2441
2445
|
get value() {
|
|
2442
2446
|
return this.o;
|
|
2443
2447
|
}
|
|
@@ -2470,12 +2474,12 @@ class wr {
|
|
|
2470
2474
|
* Copyright 2021 Google LLC
|
|
2471
2475
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2472
2476
|
*/
|
|
2473
|
-
let
|
|
2477
|
+
let _r = class extends Event {
|
|
2474
2478
|
constructor(t, e) {
|
|
2475
2479
|
super("context-provider", { bubbles: !0, composed: !0 }), this.context = t, this.contextTarget = e;
|
|
2476
2480
|
}
|
|
2477
2481
|
};
|
|
2478
|
-
class
|
|
2482
|
+
class Fe extends br {
|
|
2479
2483
|
constructor(t, e, s) {
|
|
2480
2484
|
var r, n;
|
|
2481
2485
|
super(e.context !== void 0 ? e.initialValue : s), this.onContextRequest = (o) => {
|
|
@@ -2485,7 +2489,7 @@ class De extends wr {
|
|
|
2485
2489
|
}, this.onProviderRequest = (o) => {
|
|
2486
2490
|
if (o.context !== this.context || (o.contextTarget ?? o.composedPath()[0]) === this.host) return;
|
|
2487
2491
|
const a = /* @__PURE__ */ new Set();
|
|
2488
|
-
for (const [l, { consumerHost: c }] of this.subscriptions) a.has(l) || (a.add(l), c.dispatchEvent(new
|
|
2492
|
+
for (const [l, { consumerHost: c }] of this.subscriptions) a.has(l) || (a.add(l), c.dispatchEvent(new yr(this.context, c, l, !0)));
|
|
2489
2493
|
o.stopPropagation();
|
|
2490
2494
|
}, this.host = t, e.context !== void 0 ? this.context = e.context : this.context = e, this.attachListeners(), (n = (r = this.host).addController) == null || n.call(r, this);
|
|
2491
2495
|
}
|
|
@@ -2493,7 +2497,7 @@ class De extends wr {
|
|
|
2493
2497
|
this.host.addEventListener("context-request", this.onContextRequest), this.host.addEventListener("context-provider", this.onProviderRequest);
|
|
2494
2498
|
}
|
|
2495
2499
|
hostConnected() {
|
|
2496
|
-
this.host.dispatchEvent(new
|
|
2500
|
+
this.host.dispatchEvent(new _r(this.context, this.host));
|
|
2497
2501
|
}
|
|
2498
2502
|
}
|
|
2499
2503
|
/**
|
|
@@ -2501,7 +2505,7 @@ class De extends wr {
|
|
|
2501
2505
|
* Copyright 2017 Google LLC
|
|
2502
2506
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2503
2507
|
*/
|
|
2504
|
-
function
|
|
2508
|
+
function wr({ context: i }) {
|
|
2505
2509
|
return (t, e) => {
|
|
2506
2510
|
const s = /* @__PURE__ */ new WeakMap();
|
|
2507
2511
|
if (typeof e == "object") return { get() {
|
|
@@ -2509,11 +2513,11 @@ function Sr({ context: i }) {
|
|
|
2509
2513
|
}, set(r) {
|
|
2510
2514
|
return s.get(this).setValue(r), t.set.call(this, r);
|
|
2511
2515
|
}, init(r) {
|
|
2512
|
-
return s.set(this, new
|
|
2516
|
+
return s.set(this, new Fe(this, { context: i, initialValue: r })), r;
|
|
2513
2517
|
} };
|
|
2514
2518
|
{
|
|
2515
2519
|
t.constructor.addInitializer((o) => {
|
|
2516
|
-
s.set(o, new
|
|
2520
|
+
s.set(o, new Fe(o, { context: i }));
|
|
2517
2521
|
});
|
|
2518
2522
|
const r = Object.getOwnPropertyDescriptor(t, e);
|
|
2519
2523
|
let n;
|
|
@@ -2534,14 +2538,14 @@ function Sr({ context: i }) {
|
|
|
2534
2538
|
}
|
|
2535
2539
|
};
|
|
2536
2540
|
}
|
|
2537
|
-
var
|
|
2541
|
+
var xr = Object.defineProperty, Mi = (i, t, e, s) => {
|
|
2538
2542
|
for (var r = void 0, n = i.length - 1, o; n >= 0; n--)
|
|
2539
2543
|
(o = i[n]) && (r = o(t, e, r) || r);
|
|
2540
|
-
return r &&
|
|
2544
|
+
return r && xr(t, e, r), r;
|
|
2541
2545
|
};
|
|
2542
|
-
const
|
|
2546
|
+
const Sr = "application", $e = class $e extends x {
|
|
2543
2547
|
constructor() {
|
|
2544
|
-
super(...arguments), this.nodes = [], this.wrapperRef =
|
|
2548
|
+
super(...arguments), this.nodes = [], this.wrapperRef = bt(), this.fullscreen = !1, this.isReady = new li(!1);
|
|
2545
2549
|
}
|
|
2546
2550
|
addChild(t) {
|
|
2547
2551
|
t.parent = this, this.nodes.push(t);
|
|
@@ -2550,7 +2554,7 @@ const kr = "application", ve = class ve extends x {
|
|
|
2550
2554
|
if (!this.wrapperRef.value)
|
|
2551
2555
|
return;
|
|
2552
2556
|
const t = this.application.settings;
|
|
2553
|
-
t != null && t.branding &&
|
|
2557
|
+
t != null && t.branding && Ri(t.branding, this.wrapperRef.value);
|
|
2554
2558
|
}
|
|
2555
2559
|
applyStyles() {
|
|
2556
2560
|
if (!this.wrapperRef.value)
|
|
@@ -2566,12 +2570,12 @@ const kr = "application", ve = class ve extends x {
|
|
|
2566
2570
|
render() {
|
|
2567
2571
|
var s, r;
|
|
2568
2572
|
const t = this.application.settings.components.conversation;
|
|
2569
|
-
return ((r = (s = t == null ? void 0 : t.properties) == null ? void 0 : s.chat) == null ? void 0 : r.isThirdPartyWidget) ? this.renderRoot.host.classList.add("third-party") : this.application.renderStrategy ===
|
|
2570
|
-
${
|
|
2573
|
+
return ((r = (s = t == null ? void 0 : t.properties) == null ? void 0 : s.chat) == null ? void 0 : r.isThirdPartyWidget) ? this.renderRoot.host.classList.add("third-party") : this.application.renderStrategy === ae.Trigger && (this.renderRoot.host.classList.add("floating"), this.application.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.application.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right")), this.application.fullscreen && this.renderRoot.host.classList.add("fullscreen"), window.self !== window.top && this.renderRoot.host.classList.add("embedded"), k`<div class="widget-container" ${oe(this.wrapperRef)}>
|
|
2574
|
+
${mr(this.nodes, (n) => n)}
|
|
2571
2575
|
</div>`;
|
|
2572
2576
|
}
|
|
2573
2577
|
};
|
|
2574
|
-
|
|
2578
|
+
$e.styles = N`
|
|
2575
2579
|
:host {
|
|
2576
2580
|
--font-family: TeliaSans, Helvetica, Arial, Lucida Grande, sans-serif;
|
|
2577
2581
|
--spacing-xs: 0.2rem;
|
|
@@ -2737,59 +2741,20 @@ ve.styles = N`
|
|
|
2737
2741
|
animation: none;
|
|
2738
2742
|
}
|
|
2739
2743
|
`;
|
|
2740
|
-
let
|
|
2741
|
-
|
|
2744
|
+
let nt = $e;
|
|
2745
|
+
Mi([
|
|
2742
2746
|
b({ attribute: !0 })
|
|
2743
|
-
],
|
|
2744
|
-
|
|
2747
|
+
], nt.prototype, "fullscreen");
|
|
2748
|
+
Mi([
|
|
2745
2749
|
b({ attribute: !1 }),
|
|
2746
|
-
|
|
2747
|
-
],
|
|
2748
|
-
|
|
2749
|
-
// TODO:
|
|
2750
|
-
// private static endpoint = 'http://localhost:5299/api'; // TODO:
|
|
2751
|
-
constructor(t = kt.endpoint) {
|
|
2752
|
-
this._endpoint = t;
|
|
2753
|
-
}
|
|
2754
|
-
async getSite(t) {
|
|
2755
|
-
const s = await (await fetch(t)).json();
|
|
2756
|
-
return s ? {
|
|
2757
|
-
id: s.id,
|
|
2758
|
-
triggers: s.triggers || [],
|
|
2759
|
-
apps: (s.widgets || []).map((r) => {
|
|
2760
|
-
let n = nt.Trigger;
|
|
2761
|
-
r.renderStrategy.toLowerCase() === "inline" && (n = nt.Inline);
|
|
2762
|
-
const o = r.widgetId ? r.widgetId : r.id, a = typeof r.autoActivate == "boolean" ? r.autoActivate : !1, l = typeof r.anchor == "string" ? r.anchor : "BottomRight", c = typeof r.triggerIcon == "string" ? r.triggerIcon : "question";
|
|
2763
|
-
return {
|
|
2764
|
-
id: o,
|
|
2765
|
-
widgetId: o,
|
|
2766
|
-
renderStrategy: n,
|
|
2767
|
-
autoActivate: a,
|
|
2768
|
-
anchor: l,
|
|
2769
|
-
triggerIcon: {
|
|
2770
|
-
type: "Telia",
|
|
2771
|
-
content: c
|
|
2772
|
-
}
|
|
2773
|
-
};
|
|
2774
|
-
})
|
|
2775
|
-
} : null;
|
|
2776
|
-
}
|
|
2777
|
-
async getWidget(t) {
|
|
2778
|
-
const s = await (await fetch(`${this._endpoint}/widget/${t}`)).json();
|
|
2779
|
-
return s ? {
|
|
2780
|
-
name: s.name,
|
|
2781
|
-
config: JSON.parse(s.configuration)
|
|
2782
|
-
} : null;
|
|
2783
|
-
}
|
|
2784
|
-
};
|
|
2785
|
-
kt.endpoint = "https://widgets.ace.teliacompany.net/api";
|
|
2786
|
-
let ze = kt;
|
|
2787
|
-
var Er = Object.defineProperty, ce = (i, t, e, s) => {
|
|
2750
|
+
wr({ context: Sr })
|
|
2751
|
+
], nt.prototype, "application");
|
|
2752
|
+
var Ar = Object.defineProperty, le = (i, t, e, s) => {
|
|
2788
2753
|
for (var r = void 0, n = i.length - 1, o; n >= 0; n--)
|
|
2789
2754
|
(o = i[n]) && (r = o(t, e, r) || r);
|
|
2790
|
-
return r &&
|
|
2755
|
+
return r && Ar(t, e, r), r;
|
|
2791
2756
|
};
|
|
2792
|
-
const
|
|
2757
|
+
const ve = class ve extends x {
|
|
2793
2758
|
constructor() {
|
|
2794
2759
|
super(), this.status = "deactivated", this.addEventListener("environment-created", this.onEnvironmentCreated);
|
|
2795
2760
|
}
|
|
@@ -2814,42 +2779,42 @@ const me = class me extends x {
|
|
|
2814
2779
|
render() {
|
|
2815
2780
|
if (!this.widget || this.status !== "activated")
|
|
2816
2781
|
return p;
|
|
2817
|
-
if (this.widget.renderStrategy ===
|
|
2782
|
+
if (this.widget.renderStrategy === ae.Trigger) {
|
|
2818
2783
|
const t = new E();
|
|
2819
2784
|
return t.application = this.widget, t;
|
|
2820
2785
|
}
|
|
2821
2786
|
return this.widget.render();
|
|
2822
2787
|
}
|
|
2823
2788
|
};
|
|
2824
|
-
|
|
2789
|
+
ve.styles = [
|
|
2825
2790
|
N`
|
|
2826
2791
|
:host {
|
|
2827
2792
|
display: block;
|
|
2828
2793
|
}
|
|
2829
2794
|
`
|
|
2830
2795
|
];
|
|
2831
|
-
let Z =
|
|
2832
|
-
|
|
2796
|
+
let Z = ve;
|
|
2797
|
+
le([
|
|
2833
2798
|
b({ attribute: !0 })
|
|
2834
2799
|
], Z.prototype, "name");
|
|
2835
|
-
|
|
2836
|
-
|
|
2800
|
+
le([
|
|
2801
|
+
H()
|
|
2837
2802
|
], Z.prototype, "widget");
|
|
2838
|
-
|
|
2839
|
-
|
|
2803
|
+
le([
|
|
2804
|
+
H()
|
|
2840
2805
|
], Z.prototype, "status");
|
|
2841
|
-
customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot",
|
|
2806
|
+
customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", mt);
|
|
2842
2807
|
customElements.get("ace-trigger") || customElements.define("ace-trigger", E);
|
|
2843
|
-
customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component",
|
|
2844
|
-
customElements.get("ace-wrapper") || customElements.define("ace-wrapper",
|
|
2808
|
+
customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", Yt);
|
|
2809
|
+
customElements.get("ace-wrapper") || customElements.define("ace-wrapper", nt);
|
|
2845
2810
|
customElements.get("ace-widget") || customElements.define("ace-widget", Z);
|
|
2846
|
-
const
|
|
2811
|
+
const kr = () => "10000000-1000-4000-8000-100000000000".replace(
|
|
2847
2812
|
/[018]/g,
|
|
2848
2813
|
(i) => (+i ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> +i / 4).toString(16)
|
|
2849
|
-
),
|
|
2850
|
-
class
|
|
2814
|
+
), Er = () => typeof crypto.randomUUID == "function" ? crypto.randomUUID() : kr();
|
|
2815
|
+
class Cr {
|
|
2851
2816
|
constructor(t, e, s, r, n, o, a = !0) {
|
|
2852
|
-
this.label = t, this.icon = e, this.onClick = s, this.closeOnClick = r, this.key = n, this.update = new
|
|
2817
|
+
this.label = t, this.icon = e, this.onClick = s, this.closeOnClick = r, this.key = n, this.update = new Et(), this.id = Er(), this._controller = o, this.enabled = a;
|
|
2853
2818
|
}
|
|
2854
2819
|
updateLabel(t) {
|
|
2855
2820
|
this.label = t, this.update.next();
|
|
@@ -2864,7 +2829,7 @@ class Tr {
|
|
|
2864
2829
|
return this.update.asObservable();
|
|
2865
2830
|
}
|
|
2866
2831
|
}
|
|
2867
|
-
class
|
|
2832
|
+
class Or {
|
|
2868
2833
|
constructor(t) {
|
|
2869
2834
|
this._options = [], this._subscription = null, this._host = t, t.addController(this);
|
|
2870
2835
|
}
|
|
@@ -2874,7 +2839,7 @@ class Pr {
|
|
|
2874
2839
|
this._subscription && this._subscription.unsubscribe(), this._options = [];
|
|
2875
2840
|
}
|
|
2876
2841
|
addOption(t) {
|
|
2877
|
-
const e = new
|
|
2842
|
+
const e = new Cr(
|
|
2878
2843
|
t.label,
|
|
2879
2844
|
t.icon,
|
|
2880
2845
|
t.onClick,
|
|
@@ -2890,7 +2855,7 @@ class Pr {
|
|
|
2890
2855
|
handleUpdate() {
|
|
2891
2856
|
this._subscription && this._subscription.unsubscribe();
|
|
2892
2857
|
const t = this._options.map((e) => e.subscribe());
|
|
2893
|
-
this._subscription =
|
|
2858
|
+
this._subscription = Us(t).subscribe(() => {
|
|
2894
2859
|
this._host.requestUpdate();
|
|
2895
2860
|
});
|
|
2896
2861
|
}
|
|
@@ -2988,8 +2953,8 @@ const F = {
|
|
|
2988
2953
|
transformTagName: !1,
|
|
2989
2954
|
attachStyles: !0
|
|
2990
2955
|
};
|
|
2991
|
-
let D,
|
|
2992
|
-
const
|
|
2956
|
+
let D, ji, Ot, Ni = !1, _t = !1, ce = !1, y = !1, De = null, Kt = !1;
|
|
2957
|
+
const Tt = typeof window < "u" ? window : {}, S = Tt.document || { head: {} }, Hi = Tt.HTMLElement || class {
|
|
2993
2958
|
}, m = {
|
|
2994
2959
|
$flags$: 0,
|
|
2995
2960
|
$resourcesUrl$: "",
|
|
@@ -2998,7 +2963,7 @@ const It = typeof window < "u" ? window : {}, S = It.document || { head: {} }, F
|
|
|
2998
2963
|
ael: (i, t, e, s) => i.addEventListener(t, e, s),
|
|
2999
2964
|
rel: (i, t, e, s) => i.removeEventListener(t, e, s),
|
|
3000
2965
|
ce: (i, t) => new CustomEvent(i, t)
|
|
3001
|
-
},
|
|
2966
|
+
}, Tr = /* @__PURE__ */ (() => {
|
|
3002
2967
|
let i = !1;
|
|
3003
2968
|
try {
|
|
3004
2969
|
S.addEventListener("e", null, Object.defineProperty({}, "passive", {
|
|
@@ -3009,47 +2974,47 @@ const It = typeof window < "u" ? window : {}, S = It.document || { head: {} }, F
|
|
|
3009
2974
|
} catch {
|
|
3010
2975
|
}
|
|
3011
2976
|
return i;
|
|
3012
|
-
})(),
|
|
2977
|
+
})(), Pr = (i) => Promise.resolve(i), Ir = /* @__PURE__ */ (() => {
|
|
3013
2978
|
try {
|
|
3014
2979
|
return new CSSStyleSheet(), typeof new CSSStyleSheet().replace == "function";
|
|
3015
2980
|
} catch {
|
|
3016
2981
|
}
|
|
3017
2982
|
return !1;
|
|
3018
|
-
})(),
|
|
2983
|
+
})(), Bi = (i, t, e, s) => {
|
|
3019
2984
|
e && e.map(([r, n, o]) => {
|
|
3020
|
-
const a =
|
|
2985
|
+
const a = Rr(i, r), l = Lr(t, o), c = Ur(r);
|
|
3021
2986
|
m.ael(a, n, l, c), (t.$rmListeners$ = t.$rmListeners$ || []).push(() => m.rel(a, n, l, c));
|
|
3022
2987
|
});
|
|
3023
|
-
},
|
|
2988
|
+
}, Lr = (i, t) => (e) => {
|
|
3024
2989
|
try {
|
|
3025
2990
|
F.lazyLoad || i.$hostElement$[t](e);
|
|
3026
2991
|
} catch (s) {
|
|
3027
|
-
|
|
2992
|
+
ct(s);
|
|
3028
2993
|
}
|
|
3029
|
-
},
|
|
2994
|
+
}, Rr = (i, t) => t & 4 ? S : t & 8 ? Tt : t & 16 ? S.body : i, Ur = (i) => Tr ? {
|
|
3030
2995
|
passive: (i & 1) !== 0,
|
|
3031
2996
|
capture: (i & 2) !== 0
|
|
3032
|
-
} : (i & 2) !== 0,
|
|
3033
|
-
},
|
|
3034
|
-
let s =
|
|
3035
|
-
|
|
3036
|
-
},
|
|
3037
|
-
let r =
|
|
2997
|
+
} : (i & 2) !== 0, ze = "http://www.w3.org/1999/xlink", j = (i, t = "") => () => {
|
|
2998
|
+
}, qe = /* @__PURE__ */ new WeakMap(), Mr = (i, t, e) => {
|
|
2999
|
+
let s = St.get(i);
|
|
3000
|
+
Ir && e ? (s = s || new CSSStyleSheet(), s.replace(t)) : s = t, St.set(i, s);
|
|
3001
|
+
}, jr = (i, t, e, s) => {
|
|
3002
|
+
let r = Fi(t, e), n = St.get(r);
|
|
3038
3003
|
if (i = i.nodeType === 11 ? i : S, n)
|
|
3039
3004
|
if (typeof n == "string") {
|
|
3040
3005
|
i = i.head || i;
|
|
3041
|
-
let o =
|
|
3042
|
-
o ||
|
|
3006
|
+
let o = qe.get(i), a;
|
|
3007
|
+
o || qe.set(i, o = /* @__PURE__ */ new Set()), o.has(r) || (a = S.createElement("style"), a.innerHTML = n, i.insertBefore(a, i.querySelector("link")), o && o.add(r));
|
|
3043
3008
|
} else i.adoptedStyleSheets.includes(n) || (i.adoptedStyleSheets = [...i.adoptedStyleSheets, n]);
|
|
3044
3009
|
return r;
|
|
3045
|
-
},
|
|
3046
|
-
const t = i.$cmpMeta$, e = i.$hostElement$, s = t.$flags$, r =
|
|
3010
|
+
}, Nr = (i) => {
|
|
3011
|
+
const t = i.$cmpMeta$, e = i.$hostElement$, s = t.$flags$, r = j("attachStyles", t.$tagName$), n = jr(e.shadowRoot ? e.shadowRoot : e.getRootNode(), t, i.$modeName$);
|
|
3047
3012
|
s & 10 && (e["s-sc"] = n, e.classList.add(n + "-h"), s & 2 && e.classList.add(n + "-s")), r();
|
|
3048
|
-
},
|
|
3013
|
+
}, Fi = (i, t) => "sc-" + (t && i.$flags$ & 32 ? i.$tagName$ + "-" + t : i.$tagName$), Hr = (i) => pn.map((t) => t(i)).find((t) => !!t), We = {}, Br = "http://www.w3.org/2000/svg", Fr = "http://www.w3.org/1999/xhtml", Dr = (i) => i != null, ue = (i) => (i = typeof i, i === "object" || i === "function"), W = (i, t, ...e) => {
|
|
3049
3014
|
let s = null, r = null, n = null, o = !1, a = !1, l = [];
|
|
3050
3015
|
const c = (h) => {
|
|
3051
3016
|
for (let d = 0; d < h.length; d++)
|
|
3052
|
-
s = h[d], Array.isArray(s) ? c(s) : s != null && typeof s != "boolean" && ((o = typeof i != "function" && !
|
|
3017
|
+
s = h[d], Array.isArray(s) ? c(s) : s != null && typeof s != "boolean" && ((o = typeof i != "function" && !ue(s)) && (s = String(s)), o && a ? l[l.length - 1].$text$ += s : l.push(o ? wt(null, s) : s), a = o);
|
|
3053
3018
|
};
|
|
3054
3019
|
if (c(e), t) {
|
|
3055
3020
|
t.key && (r = t.key), t.name && (n = t.name);
|
|
@@ -3059,10 +3024,10 @@ const It = typeof window < "u" ? window : {}, S = It.document || { head: {} }, F
|
|
|
3059
3024
|
}
|
|
3060
3025
|
}
|
|
3061
3026
|
if (typeof i == "function")
|
|
3062
|
-
return i(t === null ? {} : t, l,
|
|
3063
|
-
const u =
|
|
3027
|
+
return i(t === null ? {} : t, l, qr);
|
|
3028
|
+
const u = wt(i, null);
|
|
3064
3029
|
return u.$attrs$ = t, l.length > 0 && (u.$children$ = l), u.$key$ = r, u.$name$ = n, u;
|
|
3065
|
-
},
|
|
3030
|
+
}, wt = (i, t) => {
|
|
3066
3031
|
const e = {
|
|
3067
3032
|
$flags$: 0,
|
|
3068
3033
|
$tag$: i,
|
|
@@ -3071,28 +3036,28 @@ const It = typeof window < "u" ? window : {}, S = It.document || { head: {} }, F
|
|
|
3071
3036
|
$children$: null
|
|
3072
3037
|
};
|
|
3073
3038
|
return e.$attrs$ = null, e.$key$ = null, e.$name$ = null, e;
|
|
3074
|
-
},
|
|
3075
|
-
forEach: (i, t) => i.map(
|
|
3076
|
-
map: (i, t) => i.map(
|
|
3077
|
-
},
|
|
3039
|
+
}, he = {}, zr = (i) => i && i.$tag$ === he, qr = {
|
|
3040
|
+
forEach: (i, t) => i.map(Ge).forEach(t),
|
|
3041
|
+
map: (i, t) => i.map(Ge).map(t).map(Wr)
|
|
3042
|
+
}, Ge = (i) => ({
|
|
3078
3043
|
vattrs: i.$attrs$,
|
|
3079
3044
|
vchildren: i.$children$,
|
|
3080
3045
|
vkey: i.$key$,
|
|
3081
3046
|
vname: i.$name$,
|
|
3082
3047
|
vtag: i.$tag$,
|
|
3083
3048
|
vtext: i.$text$
|
|
3084
|
-
}),
|
|
3049
|
+
}), Wr = (i) => {
|
|
3085
3050
|
if (typeof i.vtag == "function") {
|
|
3086
3051
|
const e = Object.assign({}, i.vattrs);
|
|
3087
3052
|
return i.vkey && (e.key = i.vkey), i.vname && (e.name = i.vname), W(i.vtag, e, ...i.vchildren || []);
|
|
3088
3053
|
}
|
|
3089
|
-
const t =
|
|
3054
|
+
const t = wt(i.vtag, i.vtext);
|
|
3090
3055
|
return t.$attrs$ = i.vattrs, t.$children$ = i.vchildren, t.$key$ = i.vkey, t.$name$ = i.vname, t;
|
|
3091
|
-
},
|
|
3056
|
+
}, Ye = (i, t, e, s, r, n) => {
|
|
3092
3057
|
if (e !== s) {
|
|
3093
|
-
let o =
|
|
3058
|
+
let o = Qe(i, t), a = t.toLowerCase();
|
|
3094
3059
|
if (t === "class") {
|
|
3095
|
-
const l = i.classList, c =
|
|
3060
|
+
const l = i.classList, c = Ke(e), u = Ke(s);
|
|
3096
3061
|
l.remove(...c.filter((h) => h && !u.includes(h))), l.add(...u.filter((h) => h && !c.includes(h)));
|
|
3097
3062
|
} else if (t === "style") {
|
|
3098
3063
|
for (const l in e)
|
|
@@ -3103,9 +3068,9 @@ const It = typeof window < "u" ? window : {}, S = It.document || { head: {} }, F
|
|
|
3103
3068
|
if (t === "ref")
|
|
3104
3069
|
s && s(i);
|
|
3105
3070
|
else if (!i.__lookupSetter__(t) && t[0] === "o" && t[1] === "n")
|
|
3106
|
-
t[2] === "-" ? t = t.slice(3) :
|
|
3071
|
+
t[2] === "-" ? t = t.slice(3) : Qe(Tt, a) ? t = a.slice(2) : t = a[2] + t.slice(3), e && m.rel(i, t, e, !1), s && m.ael(i, t, s, !1);
|
|
3107
3072
|
else {
|
|
3108
|
-
const l =
|
|
3073
|
+
const l = ue(s);
|
|
3109
3074
|
if ((o || l && s !== null) && !r)
|
|
3110
3075
|
try {
|
|
3111
3076
|
if (i.tagName.includes("-"))
|
|
@@ -3117,18 +3082,18 @@ const It = typeof window < "u" ? window : {}, S = It.document || { head: {} }, F
|
|
|
3117
3082
|
} catch {
|
|
3118
3083
|
}
|
|
3119
3084
|
let c = !1;
|
|
3120
|
-
a !== (a = a.replace(/^xlink\:?/, "")) && (t = a, c = !0), s == null || s === !1 ? (s !== !1 || i.getAttribute(t) === "") && (c ? i.removeAttributeNS(
|
|
3085
|
+
a !== (a = a.replace(/^xlink\:?/, "")) && (t = a, c = !0), s == null || s === !1 ? (s !== !1 || i.getAttribute(t) === "") && (c ? i.removeAttributeNS(ze, t) : i.removeAttribute(t)) : (!o || n & 4 || r) && !l && (s = s === !0 ? "" : s, c ? i.setAttributeNS(ze, t, s) : i.setAttribute(t, s));
|
|
3121
3086
|
}
|
|
3122
3087
|
}
|
|
3123
|
-
},
|
|
3124
|
-
const r = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, n = i && i.$attrs$ ||
|
|
3088
|
+
}, Gr = /\s/, Ke = (i) => i ? i.split(Gr) : [], Di = (i, t, e, s) => {
|
|
3089
|
+
const r = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, n = i && i.$attrs$ || We, o = t.$attrs$ || We;
|
|
3125
3090
|
for (s in n)
|
|
3126
|
-
s in o ||
|
|
3091
|
+
s in o || Ye(r, s, n[s], void 0, e, t.$flags$);
|
|
3127
3092
|
for (s in o)
|
|
3128
|
-
|
|
3129
|
-
},
|
|
3093
|
+
Ye(r, s, n[s], o[s], e, t.$flags$);
|
|
3094
|
+
}, xt = (i, t, e, s) => {
|
|
3130
3095
|
let r = t.$children$[e], n = 0, o, a, l;
|
|
3131
|
-
if (
|
|
3096
|
+
if (Ni || (ce = !0, r.$tag$ === "slot" && (D && s.classList.add(D + "-s"), r.$flags$ |= r.$children$ ? (
|
|
3132
3097
|
// slot element has fallback content
|
|
3133
3098
|
2
|
|
3134
3099
|
) : (
|
|
@@ -3139,28 +3104,28 @@ const It = typeof window < "u" ? window : {}, S = It.document || { head: {} }, F
|
|
|
3139
3104
|
else if (r.$flags$ & 1)
|
|
3140
3105
|
o = r.$elm$ = S.createTextNode("");
|
|
3141
3106
|
else {
|
|
3142
|
-
if (y || (y = r.$tag$ === "svg"), o = r.$elm$ = S.createElementNS(y ?
|
|
3107
|
+
if (y || (y = r.$tag$ === "svg"), o = r.$elm$ = S.createElementNS(y ? Br : Fr, r.$flags$ & 2 ? "slot-fb" : r.$tag$), y && r.$tag$ === "foreignObject" && (y = !1), Di(null, r, y), Dr(D) && o["s-si"] !== D && o.classList.add(o["s-si"] = D), r.$children$)
|
|
3143
3108
|
for (n = 0; n < r.$children$.length; ++n)
|
|
3144
|
-
a =
|
|
3109
|
+
a = xt(i, r, n, o), a && o.appendChild(a);
|
|
3145
3110
|
r.$tag$ === "svg" ? y = !1 : o.tagName === "foreignObject" && (y = !0);
|
|
3146
3111
|
}
|
|
3147
|
-
return o["s-hn"] =
|
|
3148
|
-
},
|
|
3112
|
+
return o["s-hn"] = Ot, r.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] = ji, o["s-sn"] = r.$name$ || "", l = i && i.$children$ && i.$children$[e], l && l.$tag$ === r.$tag$ && i.$elm$ && ot(i.$elm$, !1)), o;
|
|
3113
|
+
}, ot = (i, t) => {
|
|
3149
3114
|
m.$flags$ |= 1;
|
|
3150
3115
|
const e = i.childNodes;
|
|
3151
3116
|
for (let s = e.length - 1; s >= 0; s--) {
|
|
3152
3117
|
const r = e[s];
|
|
3153
|
-
r["s-hn"] !==
|
|
3118
|
+
r["s-hn"] !== Ot && r["s-ol"] && (Wi(r).insertBefore(r, de(r)), r["s-ol"].remove(), r["s-ol"] = void 0, ce = !0), t && ot(r, t);
|
|
3154
3119
|
}
|
|
3155
3120
|
m.$flags$ &= -2;
|
|
3156
|
-
},
|
|
3121
|
+
}, zi = (i, t, e, s, r, n) => {
|
|
3157
3122
|
let o = i["s-cr"] && i["s-cr"].parentNode || i, a;
|
|
3158
|
-
for (o.shadowRoot && o.tagName ===
|
|
3159
|
-
s[r] && (a =
|
|
3160
|
-
},
|
|
3123
|
+
for (o.shadowRoot && o.tagName === Ot && (o = o.shadowRoot); r <= n; ++r)
|
|
3124
|
+
s[r] && (a = xt(null, e, r, i), a && (s[r].$elm$ = a, o.insertBefore(a, de(t))));
|
|
3125
|
+
}, qi = (i, t, e, s, r) => {
|
|
3161
3126
|
for (; t <= e; ++t)
|
|
3162
|
-
(s = i[t]) && (r = s.$elm$,
|
|
3163
|
-
},
|
|
3127
|
+
(s = i[t]) && (r = s.$elm$, Ki(s), _t = !0, r["s-ol"] ? r["s-ol"].remove() : ot(r, !0), r.remove());
|
|
3128
|
+
}, Yr = (i, t, e, s) => {
|
|
3164
3129
|
let r = 0, n = 0, o = 0, a = 0, l = t.length - 1, c = t[0], u = t[l], h = s.length - 1, d = s[0], f = s[h], $, g;
|
|
3165
3130
|
for (; r <= l && n <= h; )
|
|
3166
3131
|
if (c == null)
|
|
@@ -3171,28 +3136,28 @@ const It = typeof window < "u" ? window : {}, S = It.document || { head: {} }, F
|
|
|
3171
3136
|
d = s[++n];
|
|
3172
3137
|
else if (f == null)
|
|
3173
3138
|
f = s[--h];
|
|
3174
|
-
else if (
|
|
3139
|
+
else if (dt(c, d))
|
|
3175
3140
|
z(c, d), c = t[++r], d = s[++n];
|
|
3176
|
-
else if (
|
|
3141
|
+
else if (dt(u, f))
|
|
3177
3142
|
z(u, f), u = t[--l], f = s[--h];
|
|
3178
|
-
else if (
|
|
3179
|
-
(c.$tag$ === "slot" || f.$tag$ === "slot") &&
|
|
3180
|
-
else if (
|
|
3181
|
-
(c.$tag$ === "slot" || f.$tag$ === "slot") &&
|
|
3143
|
+
else if (dt(c, f))
|
|
3144
|
+
(c.$tag$ === "slot" || f.$tag$ === "slot") && ot(c.$elm$.parentNode, !1), z(c, f), i.insertBefore(c.$elm$, u.$elm$.nextSibling), c = t[++r], f = s[--h];
|
|
3145
|
+
else if (dt(u, d))
|
|
3146
|
+
(c.$tag$ === "slot" || f.$tag$ === "slot") && ot(u.$elm$.parentNode, !1), z(u, d), i.insertBefore(u.$elm$, c.$elm$), u = t[--l], d = s[++n];
|
|
3182
3147
|
else {
|
|
3183
3148
|
for (o = -1, a = r; a <= l; ++a)
|
|
3184
3149
|
if (t[a] && t[a].$key$ !== null && t[a].$key$ === d.$key$) {
|
|
3185
3150
|
o = a;
|
|
3186
3151
|
break;
|
|
3187
3152
|
}
|
|
3188
|
-
o >= 0 ? (g = t[o], g.$tag$ !== d.$tag$ ? $ =
|
|
3153
|
+
o >= 0 ? (g = t[o], g.$tag$ !== d.$tag$ ? $ = xt(t && t[n], e, o, i) : (z(g, d), t[o] = void 0, $ = g.$elm$), d = s[++n]) : ($ = xt(t && t[n], e, n, i), d = s[++n]), $ && Wi(c.$elm$).insertBefore($, de(c.$elm$));
|
|
3189
3154
|
}
|
|
3190
|
-
r > l ?
|
|
3191
|
-
},
|
|
3155
|
+
r > l ? zi(i, s[h + 1] == null ? null : s[h + 1].$elm$, e, s, n, h) : n > h && qi(t, r, l);
|
|
3156
|
+
}, dt = (i, t) => i.$tag$ === t.$tag$ ? i.$tag$ === "slot" ? i.$name$ === t.$name$ : i.$key$ === t.$key$ : !1, de = (i) => i && i["s-ol"] || i, Wi = (i) => (i["s-ol"] ? i["s-ol"] : i).parentNode, z = (i, t) => {
|
|
3192
3157
|
const e = t.$elm$ = i.$elm$, s = i.$children$, r = t.$children$, n = t.$tag$, o = t.$text$;
|
|
3193
3158
|
let a;
|
|
3194
|
-
o === null ? (y = n === "svg" ? !0 : n === "foreignObject" ? !1 : y, n === "slot" ||
|
|
3195
|
-
},
|
|
3159
|
+
o === null ? (y = n === "svg" ? !0 : n === "foreignObject" ? !1 : y, n === "slot" || Di(i, t, y), s !== null && r !== null ? Yr(e, s, t, r) : r !== null ? (i.$text$ !== null && (e.textContent = ""), zi(e, null, t, r, 0, r.length - 1)) : s !== null && qi(s, 0, s.length - 1), y && n === "svg" && (y = !1)) : (a = e["s-cr"]) ? a.parentNode.textContent = o : i.$text$ !== o && (e.data = o);
|
|
3160
|
+
}, Gi = (i) => {
|
|
3196
3161
|
let t = i.childNodes, e, s, r, n, o, a;
|
|
3197
3162
|
for (s = 0, r = t.length; s < r; s++)
|
|
3198
3163
|
if (e = t[s], e.nodeType === 1) {
|
|
@@ -3208,31 +3173,31 @@ const It = typeof window < "u" ? window : {}, S = It.document || { head: {} }, F
|
|
|
3208
3173
|
break;
|
|
3209
3174
|
}
|
|
3210
3175
|
}
|
|
3211
|
-
|
|
3176
|
+
Gi(e);
|
|
3212
3177
|
}
|
|
3213
|
-
}, w = [],
|
|
3178
|
+
}, w = [], Yi = (i) => {
|
|
3214
3179
|
let t, e, s, r, n, o, a = 0, l = i.childNodes, c = l.length;
|
|
3215
3180
|
for (; a < c; a++) {
|
|
3216
3181
|
if (t = l[a], t["s-sr"] && (e = t["s-cr"]) && e.parentNode)
|
|
3217
3182
|
for (s = e.parentNode.childNodes, r = t["s-sn"], o = s.length - 1; o >= 0; o--)
|
|
3218
|
-
e = s[o], !e["s-cn"] && !e["s-nr"] && e["s-hn"] !== t["s-hn"] && (
|
|
3183
|
+
e = s[o], !e["s-cn"] && !e["s-nr"] && e["s-hn"] !== t["s-hn"] && (Ze(e, r) ? (n = w.find((u) => u.$nodeToRelocate$ === e), _t = !0, e["s-sn"] = e["s-sn"] || r, n ? n.$slotRefNode$ = t : w.push({
|
|
3219
3184
|
$slotRefNode$: t,
|
|
3220
3185
|
$nodeToRelocate$: e
|
|
3221
3186
|
}), e["s-sr"] && w.map((u) => {
|
|
3222
|
-
|
|
3187
|
+
Ze(u.$nodeToRelocate$, e["s-sn"]) && (n = w.find((h) => h.$nodeToRelocate$ === e), n && !u.$slotRefNode$ && (u.$slotRefNode$ = n.$slotRefNode$));
|
|
3223
3188
|
})) : w.some((u) => u.$nodeToRelocate$ === e) || w.push({
|
|
3224
3189
|
$nodeToRelocate$: e
|
|
3225
3190
|
}));
|
|
3226
|
-
t.nodeType === 1 &&
|
|
3191
|
+
t.nodeType === 1 && Yi(t);
|
|
3227
3192
|
}
|
|
3228
|
-
},
|
|
3229
|
-
i.$attrs$ && i.$attrs$.ref && i.$attrs$.ref(null), i.$children$ && i.$children$.map(
|
|
3230
|
-
},
|
|
3231
|
-
const e = i.$hostElement$, s = i.$cmpMeta$, r = i.$vnode$ ||
|
|
3232
|
-
|
|
3193
|
+
}, Ze = (i, t) => i.nodeType === 1 ? i.getAttribute("slot") === null && t === "" || i.getAttribute("slot") === t : i["s-sn"] === t ? !0 : t === "", Ki = (i) => {
|
|
3194
|
+
i.$attrs$ && i.$attrs$.ref && i.$attrs$.ref(null), i.$children$ && i.$children$.map(Ki);
|
|
3195
|
+
}, Kr = (i, t) => {
|
|
3196
|
+
const e = i.$hostElement$, s = i.$cmpMeta$, r = i.$vnode$ || wt(null, null), n = zr(t) ? t : W(null, null, t);
|
|
3197
|
+
Ot = e.tagName, s.$attrsToReflect$ && (n.$attrs$ = n.$attrs$ || {}, s.$attrsToReflect$.map(([o, a]) => n.$attrs$[a] = e[o])), n.$tag$ = null, n.$flags$ |= 4, i.$vnode$ = n, n.$elm$ = r.$elm$ = e.shadowRoot || e, D = e["s-sc"], ji = e["s-cr"], Ni = (s.$flags$ & 1) !== 0, _t = !1, z(r, n);
|
|
3233
3198
|
{
|
|
3234
|
-
if (m.$flags$ |= 1,
|
|
3235
|
-
|
|
3199
|
+
if (m.$flags$ |= 1, ce) {
|
|
3200
|
+
Yi(n.$elm$);
|
|
3236
3201
|
let o, a, l, c, u, h, d = 0;
|
|
3237
3202
|
for (; d < w.length; d++)
|
|
3238
3203
|
o = w[d], a = o.$nodeToRelocate$, a["s-ol"] || (l = S.createTextNode(""), l["s-nr"] = a, a.parentNode.insertBefore(a["s-ol"] = l, a));
|
|
@@ -3247,51 +3212,51 @@ const It = typeof window < "u" ? window : {}, S = It.document || { head: {} }, F
|
|
|
3247
3212
|
} else
|
|
3248
3213
|
a.nodeType === 1 && (a.hidden = !0);
|
|
3249
3214
|
}
|
|
3250
|
-
|
|
3215
|
+
_t && Gi(n.$elm$), m.$flags$ &= -2, w.length = 0;
|
|
3251
3216
|
}
|
|
3252
|
-
},
|
|
3253
|
-
const s =
|
|
3217
|
+
}, Zr = (i) => i, Xr = (i, t, e) => {
|
|
3218
|
+
const s = Zr(i);
|
|
3254
3219
|
return {
|
|
3255
|
-
emit: (r) =>
|
|
3220
|
+
emit: (r) => Qr(s, t, {
|
|
3256
3221
|
bubbles: !0,
|
|
3257
3222
|
composed: !0,
|
|
3258
3223
|
cancelable: !0,
|
|
3259
3224
|
detail: r
|
|
3260
3225
|
})
|
|
3261
3226
|
};
|
|
3262
|
-
},
|
|
3227
|
+
}, Qr = (i, t, e) => {
|
|
3263
3228
|
const s = m.ce(t, e);
|
|
3264
3229
|
return i.dispatchEvent(s), s;
|
|
3265
|
-
},
|
|
3266
|
-
},
|
|
3267
|
-
const e = i.$hostElement$, s =
|
|
3230
|
+
}, Jr = (i, t) => {
|
|
3231
|
+
}, Zi = (i, t) => (i.$flags$ |= 16, Jr(i, i.$ancestorComponent$), vn(() => Vr(i, t))), Vr = (i, t) => {
|
|
3232
|
+
const e = i.$hostElement$, s = j("scheduleUpdate", i.$cmpMeta$.$tagName$), r = e;
|
|
3268
3233
|
let n;
|
|
3269
|
-
return t ? n = G(r, "componentWillLoad") : n = G(r, "componentWillUpdate"), n =
|
|
3270
|
-
},
|
|
3271
|
-
const s = i.$hostElement$, r =
|
|
3272
|
-
s["s-rc"], e &&
|
|
3273
|
-
const n =
|
|
3274
|
-
|
|
3275
|
-
},
|
|
3234
|
+
return t ? n = G(r, "componentWillLoad") : n = G(r, "componentWillUpdate"), n = Xe(n, () => G(r, "componentWillRender")), s(), Xe(n, () => tn(i, r, t));
|
|
3235
|
+
}, tn = async (i, t, e) => {
|
|
3236
|
+
const s = i.$hostElement$, r = j("update", i.$cmpMeta$.$tagName$);
|
|
3237
|
+
s["s-rc"], e && Nr(i);
|
|
3238
|
+
const n = j("render", i.$cmpMeta$.$tagName$);
|
|
3239
|
+
en(i, t, s), n(), r(), sn(i);
|
|
3240
|
+
}, en = (i, t, e) => {
|
|
3276
3241
|
try {
|
|
3277
|
-
|
|
3242
|
+
De = t, t = t.render && t.render(), i.$flags$ &= -17, i.$flags$ |= 2, (F.hasRenderFn || F.reflect) && (F.vdomRender || F.reflect) && (F.hydrateServerSide || Kr(i, t));
|
|
3278
3243
|
} catch (a) {
|
|
3279
|
-
|
|
3244
|
+
ct(a, i.$hostElement$);
|
|
3280
3245
|
}
|
|
3281
|
-
return
|
|
3282
|
-
},
|
|
3283
|
-
const t = i.$cmpMeta$.$tagName$, e = i.$hostElement$, s =
|
|
3246
|
+
return De = null, null;
|
|
3247
|
+
}, sn = (i) => {
|
|
3248
|
+
const t = i.$cmpMeta$.$tagName$, e = i.$hostElement$, s = j("postUpdate", t), r = e;
|
|
3284
3249
|
i.$ancestorComponent$, G(r, "componentDidRender"), i.$flags$ & 64 ? (G(r, "componentDidUpdate"), s()) : (i.$flags$ |= 64, G(r, "componentDidLoad"), s());
|
|
3285
3250
|
}, G = (i, t, e) => {
|
|
3286
3251
|
if (i && i[t])
|
|
3287
3252
|
try {
|
|
3288
3253
|
return i[t](e);
|
|
3289
3254
|
} catch (s) {
|
|
3290
|
-
|
|
3255
|
+
ct(s);
|
|
3291
3256
|
}
|
|
3292
|
-
},
|
|
3293
|
-
const r =
|
|
3294
|
-
e =
|
|
3257
|
+
}, Xe = (i, t) => i && i.then ? i.then(t) : t(), rn = (i, t) => i != null && !ue(i) ? t & 4 ? i === "false" ? !1 : i === "" || !!i : t & 2 ? parseFloat(i) : t & 1 ? String(i) : i : i, nn = (i, t) => Pt(i).$instanceValues$.get(t), on = (i, t, e, s) => {
|
|
3258
|
+
const r = Pt(i), n = i, o = r.$instanceValues$.get(t), a = r.$flags$, l = n;
|
|
3259
|
+
e = rn(e, s.$members$[t][0]);
|
|
3295
3260
|
const c = Number.isNaN(o) && Number.isNaN(e);
|
|
3296
3261
|
if (e !== o && !c) {
|
|
3297
3262
|
r.$instanceValues$.set(t, e);
|
|
@@ -3302,28 +3267,28 @@ const It = typeof window < "u" ? window : {}, S = It.document || { head: {} }, F
|
|
|
3302
3267
|
try {
|
|
3303
3268
|
l[d](e, o, t);
|
|
3304
3269
|
} catch (f) {
|
|
3305
|
-
|
|
3270
|
+
ct(f, n);
|
|
3306
3271
|
}
|
|
3307
3272
|
});
|
|
3308
3273
|
}
|
|
3309
3274
|
if ((a & 18) === 2) {
|
|
3310
3275
|
if (l.componentShouldUpdate && l.componentShouldUpdate(e, o, t) === !1)
|
|
3311
3276
|
return;
|
|
3312
|
-
|
|
3277
|
+
Zi(r, !1);
|
|
3313
3278
|
}
|
|
3314
3279
|
}
|
|
3315
3280
|
}
|
|
3316
|
-
},
|
|
3281
|
+
}, an = (i, t, e) => {
|
|
3317
3282
|
if (t.$members$) {
|
|
3318
3283
|
i.watchers && (t.$watchers$ = i.watchers);
|
|
3319
3284
|
const s = Object.entries(t.$members$), r = i.prototype;
|
|
3320
3285
|
s.map(([n, [o]]) => {
|
|
3321
3286
|
(o & 31 || o & 32) && Object.defineProperty(r, n, {
|
|
3322
3287
|
get() {
|
|
3323
|
-
return
|
|
3288
|
+
return nn(this, n);
|
|
3324
3289
|
},
|
|
3325
3290
|
set(a) {
|
|
3326
|
-
|
|
3291
|
+
on(this, n, a, t);
|
|
3327
3292
|
},
|
|
3328
3293
|
configurable: !0,
|
|
3329
3294
|
enumerable: !0
|
|
@@ -3350,37 +3315,37 @@ const It = typeof window < "u" ? window : {}, S = It.document || { head: {} }, F
|
|
|
3350
3315
|
}
|
|
3351
3316
|
}
|
|
3352
3317
|
return i;
|
|
3353
|
-
},
|
|
3318
|
+
}, ln = async (i, t, e, s, r) => {
|
|
3354
3319
|
if ((t.$flags$ & 32) === 0 && (r = i.constructor, t.$flags$ |= 32, customElements.whenDefined(e.$tagName$).then(() => t.$flags$ |= 128), r.style)) {
|
|
3355
3320
|
let o = r.style;
|
|
3356
|
-
typeof o != "string" && (o = o[t.$modeName$ =
|
|
3357
|
-
const a =
|
|
3358
|
-
if (!
|
|
3359
|
-
const l =
|
|
3360
|
-
|
|
3321
|
+
typeof o != "string" && (o = o[t.$modeName$ = Hr(i)]);
|
|
3322
|
+
const a = Fi(e, t.$modeName$);
|
|
3323
|
+
if (!St.has(a)) {
|
|
3324
|
+
const l = j("registerStyles", e.$tagName$);
|
|
3325
|
+
Mr(a, o, !!(e.$flags$ & 1)), l();
|
|
3361
3326
|
}
|
|
3362
3327
|
}
|
|
3363
|
-
t.$ancestorComponent$,
|
|
3364
|
-
},
|
|
3365
|
-
},
|
|
3328
|
+
t.$ancestorComponent$, Zi(t, !0);
|
|
3329
|
+
}, cn = (i) => {
|
|
3330
|
+
}, un = (i) => {
|
|
3366
3331
|
if ((m.$flags$ & 1) === 0) {
|
|
3367
|
-
const t =
|
|
3368
|
-
t.$flags$ & 1 ? (
|
|
3332
|
+
const t = Pt(i), e = t.$cmpMeta$, s = j("connectedCallback", e.$tagName$);
|
|
3333
|
+
t.$flags$ & 1 ? (Bi(i, t, e.$listeners$), cn(t.$lazyInstance$)) : (t.$flags$ |= 1, e.$flags$ & 12 && hn(i), e.$members$ && Object.entries(e.$members$).map(([r, [n]]) => {
|
|
3369
3334
|
if (n & 31 && i.hasOwnProperty(r)) {
|
|
3370
3335
|
const o = i[r];
|
|
3371
3336
|
delete i[r], i[r] = o;
|
|
3372
3337
|
}
|
|
3373
|
-
}),
|
|
3338
|
+
}), ln(i, t, e)), s();
|
|
3374
3339
|
}
|
|
3375
|
-
},
|
|
3340
|
+
}, hn = (i) => {
|
|
3376
3341
|
const t = i["s-cr"] = S.createComment("");
|
|
3377
3342
|
t["s-cn"] = !0, i.insertBefore(t, i.firstChild);
|
|
3378
|
-
},
|
|
3343
|
+
}, dn = (i) => {
|
|
3379
3344
|
if ((m.$flags$ & 1) === 0) {
|
|
3380
|
-
const t =
|
|
3345
|
+
const t = Pt(i);
|
|
3381
3346
|
t.$rmListeners$ && (t.$rmListeners$.map((e) => e()), t.$rmListeners$ = void 0);
|
|
3382
3347
|
}
|
|
3383
|
-
},
|
|
3348
|
+
}, Xi = (i, t) => {
|
|
3384
3349
|
const e = {
|
|
3385
3350
|
$flags$: t[0],
|
|
3386
3351
|
$tagName$: t[1]
|
|
@@ -3389,13 +3354,13 @@ const It = typeof window < "u" ? window : {}, S = It.document || { head: {} }, F
|
|
|
3389
3354
|
const s = i.prototype.connectedCallback, r = i.prototype.disconnectedCallback;
|
|
3390
3355
|
return Object.assign(i.prototype, {
|
|
3391
3356
|
__registerHost() {
|
|
3392
|
-
|
|
3357
|
+
fn(this, e);
|
|
3393
3358
|
},
|
|
3394
3359
|
connectedCallback() {
|
|
3395
|
-
|
|
3360
|
+
un(this), s && s.call(this);
|
|
3396
3361
|
},
|
|
3397
3362
|
disconnectedCallback() {
|
|
3398
|
-
|
|
3363
|
+
dn(this), r && r.call(this);
|
|
3399
3364
|
},
|
|
3400
3365
|
__attachShadow() {
|
|
3401
3366
|
this.attachShadow({
|
|
@@ -3403,28 +3368,28 @@ const It = typeof window < "u" ? window : {}, S = It.document || { head: {} }, F
|
|
|
3403
3368
|
delegatesFocus: !!(e.$flags$ & 16)
|
|
3404
3369
|
});
|
|
3405
3370
|
}
|
|
3406
|
-
}), i.is = e.$tagName$,
|
|
3407
|
-
},
|
|
3371
|
+
}), i.is = e.$tagName$, an(i, e);
|
|
3372
|
+
}, Qi = /* @__PURE__ */ new WeakMap(), Pt = (i) => Qi.get(i), fn = (i, t) => {
|
|
3408
3373
|
const e = {
|
|
3409
3374
|
$flags$: 0,
|
|
3410
3375
|
$hostElement$: i,
|
|
3411
3376
|
$cmpMeta$: t,
|
|
3412
3377
|
$instanceValues$: /* @__PURE__ */ new Map()
|
|
3413
3378
|
};
|
|
3414
|
-
return
|
|
3415
|
-
},
|
|
3416
|
-
i.push(e),
|
|
3417
|
-
},
|
|
3379
|
+
return Bi(i, e, t.$listeners$), Qi.set(i, e);
|
|
3380
|
+
}, Qe = (i, t) => t in i, ct = (i, t) => (0, console.error)(i, t), St = /* @__PURE__ */ new Map(), pn = [], Je = [], Ji = [], gn = (i, t) => (e) => {
|
|
3381
|
+
i.push(e), Kt || (Kt = !0, t && m.$flags$ & 4 ? $n(Zt) : m.raf(Zt));
|
|
3382
|
+
}, Ve = (i) => {
|
|
3418
3383
|
for (let t = 0; t < i.length; t++)
|
|
3419
3384
|
try {
|
|
3420
3385
|
i[t](performance.now());
|
|
3421
3386
|
} catch (e) {
|
|
3422
|
-
|
|
3387
|
+
ct(e);
|
|
3423
3388
|
}
|
|
3424
3389
|
i.length = 0;
|
|
3425
|
-
},
|
|
3426
|
-
|
|
3427
|
-
},
|
|
3390
|
+
}, Zt = () => {
|
|
3391
|
+
Ve(Je), Ve(Ji), (Kt = Je.length > 0) && m.raf(Zt);
|
|
3392
|
+
}, $n = (i) => Pr().then(i), vn = /* @__PURE__ */ gn(Ji, !0), mn = (i = {}) => {
|
|
3428
3393
|
const { content: t = "", title: e, attributes: s = [] } = i;
|
|
3429
3394
|
let r = "", n = [
|
|
3430
3395
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
@@ -3432,54 +3397,54 @@ const It = typeof window < "u" ? window : {}, S = It.document || { head: {} }, F
|
|
|
3432
3397
|
...s
|
|
3433
3398
|
];
|
|
3434
3399
|
return e && (r = `<title>${e}</title>`), `<svg ${n.map((a) => `${a.name}="${a.value}"`).join(" ")}>${r}${t}</svg>`;
|
|
3435
|
-
},
|
|
3436
|
-
function
|
|
3400
|
+
}, yn = (i) => i.replace(/<(\/?)svg([^>]*)>/g, "").trim();
|
|
3401
|
+
function bn(i) {
|
|
3437
3402
|
return `${i.getFullYear()}.${i.getMonth() + 1}`;
|
|
3438
3403
|
}
|
|
3439
|
-
class
|
|
3404
|
+
class _n {
|
|
3440
3405
|
constructor(t) {
|
|
3441
|
-
this.voca_component = t, this.voca_added =
|
|
3406
|
+
this.voca_component = t, this.voca_added = bn(/* @__PURE__ */ new Date());
|
|
3442
3407
|
}
|
|
3443
3408
|
}
|
|
3444
|
-
const
|
|
3409
|
+
const wn = "telia-vst{display:none}", xn = /* @__PURE__ */ Xi(class extends Hi {
|
|
3445
3410
|
constructor() {
|
|
3446
|
-
super(), this.__registerHost(), this.vocaInternalUStats =
|
|
3411
|
+
super(), this.__registerHost(), this.vocaInternalUStats = Xr(this, "vocaInternalUStats");
|
|
3447
3412
|
}
|
|
3448
3413
|
connectedCallback() {
|
|
3449
|
-
this.vocaInternalUStats.emit(new
|
|
3414
|
+
this.vocaInternalUStats.emit(new _n(this.dataTrackingId));
|
|
3450
3415
|
}
|
|
3451
3416
|
render() {
|
|
3452
|
-
return W(
|
|
3417
|
+
return W(he, null);
|
|
3453
3418
|
}
|
|
3454
3419
|
static get style() {
|
|
3455
|
-
return
|
|
3420
|
+
return wn;
|
|
3456
3421
|
}
|
|
3457
3422
|
}, [0, "telia-vst", {
|
|
3458
3423
|
dataTrackingId: [1, "data-tracking-id"]
|
|
3459
3424
|
}]);
|
|
3460
|
-
function
|
|
3425
|
+
function Vi() {
|
|
3461
3426
|
if (typeof customElements > "u")
|
|
3462
3427
|
return;
|
|
3463
3428
|
["telia-vst"].forEach((t) => {
|
|
3464
3429
|
switch (t) {
|
|
3465
3430
|
case "telia-vst":
|
|
3466
|
-
customElements.get(t) || customElements.define(t,
|
|
3431
|
+
customElements.get(t) || customElements.define(t, xn);
|
|
3467
3432
|
break;
|
|
3468
3433
|
}
|
|
3469
3434
|
});
|
|
3470
3435
|
}
|
|
3471
|
-
|
|
3472
|
-
function
|
|
3436
|
+
Vi();
|
|
3437
|
+
function Xt() {
|
|
3473
3438
|
return typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : { vocadsIcons: void 0, vocadsIconsRegistered: !1 };
|
|
3474
3439
|
}
|
|
3475
|
-
function
|
|
3476
|
-
if (typeof
|
|
3477
|
-
return
|
|
3440
|
+
function Sn() {
|
|
3441
|
+
if (typeof Xt().vocadsIcons !== void 0)
|
|
3442
|
+
return Xt().vocadsIcons;
|
|
3478
3443
|
}
|
|
3479
|
-
function
|
|
3480
|
-
return
|
|
3444
|
+
function An() {
|
|
3445
|
+
return Xt().vocadsIconsRegistered;
|
|
3481
3446
|
}
|
|
3482
|
-
const
|
|
3447
|
+
const kn = ".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))}", En = /* @__PURE__ */ Xi(class extends Hi {
|
|
3483
3448
|
constructor() {
|
|
3484
3449
|
super(), this.__registerHost(), this.size = "md", this.allyTitle = null, this.dataTrackingId = "telia-icon";
|
|
3485
3450
|
}
|
|
@@ -3491,8 +3456,8 @@ const Cn = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
|
|
|
3491
3456
|
getSvgString() {
|
|
3492
3457
|
if (this.svg)
|
|
3493
3458
|
return this.svg;
|
|
3494
|
-
if (
|
|
3495
|
-
const i =
|
|
3459
|
+
if (An() && this.name) {
|
|
3460
|
+
const i = Sn();
|
|
3496
3461
|
return i[this.name] ? i[this.name].svg : "";
|
|
3497
3462
|
}
|
|
3498
3463
|
return this.name && console.warn(this.name, "Icons bundle is not registered and will not be rendered. Check if you have registered icons bundle or use svg property"), "";
|
|
@@ -3503,15 +3468,15 @@ const Cn = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
|
|
|
3503
3468
|
...t,
|
|
3504
3469
|
{ name: "aria-hidden", value: "true" }
|
|
3505
3470
|
];
|
|
3506
|
-
const e =
|
|
3507
|
-
content:
|
|
3471
|
+
const e = mn({
|
|
3472
|
+
content: yn(i),
|
|
3508
3473
|
attributes: t,
|
|
3509
3474
|
title: this.allyTitle
|
|
3510
3475
|
});
|
|
3511
|
-
return W(
|
|
3476
|
+
return W(he, { class: `telia-icon telia-icon--${this.size}` }, W("span", { "aria-label": this.allyTitle, class: "telia-icon__container", innerHTML: e }), W("telia-vst", { dataTrackingId: this.dataTrackingId }));
|
|
3512
3477
|
}
|
|
3513
3478
|
static get style() {
|
|
3514
|
-
return
|
|
3479
|
+
return kn;
|
|
3515
3480
|
}
|
|
3516
3481
|
}, [0, "telia-icon", {
|
|
3517
3482
|
name: [1],
|
|
@@ -3520,29 +3485,29 @@ const Cn = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
|
|
|
3520
3485
|
allyTitle: [1, "ally-title"],
|
|
3521
3486
|
dataTestid: [1, "data-testid"]
|
|
3522
3487
|
}]);
|
|
3523
|
-
function
|
|
3488
|
+
function Cn() {
|
|
3524
3489
|
if (typeof customElements > "u")
|
|
3525
3490
|
return;
|
|
3526
3491
|
["telia-icon", "telia-vst"].forEach((t) => {
|
|
3527
3492
|
switch (t) {
|
|
3528
3493
|
case "telia-icon":
|
|
3529
|
-
customElements.get(t) || customElements.define(t,
|
|
3494
|
+
customElements.get(t) || customElements.define(t, En);
|
|
3530
3495
|
break;
|
|
3531
3496
|
case "telia-vst":
|
|
3532
|
-
customElements.get(t) ||
|
|
3497
|
+
customElements.get(t) || Vi();
|
|
3533
3498
|
break;
|
|
3534
3499
|
}
|
|
3535
3500
|
});
|
|
3536
3501
|
}
|
|
3537
|
-
|
|
3538
|
-
var
|
|
3502
|
+
Cn();
|
|
3503
|
+
var On = Object.defineProperty, Tn = (i, t, e, s) => {
|
|
3539
3504
|
for (var r = void 0, n = i.length - 1, o; n >= 0; n--)
|
|
3540
3505
|
(o = i[n]) && (r = o(t, e, r) || r);
|
|
3541
|
-
return r &&
|
|
3506
|
+
return r && On(t, e, r), r;
|
|
3542
3507
|
};
|
|
3543
|
-
const
|
|
3508
|
+
const ti = Ui(x), me = class me extends ti {
|
|
3544
3509
|
constructor() {
|
|
3545
|
-
super(...arguments), this.optionsIsVisible = !1, this.options = new
|
|
3510
|
+
super(...arguments), this.optionsIsVisible = !1, this.options = new Or(this), this.optionsRef = bt(), this.optionsTriggerRef = bt(), this._onClickOutside = (t) => {
|
|
3546
3511
|
!this.optionsTriggerRef.value || !this.optionsRef.value || t.composedPath().includes(this.optionsTriggerRef.value) || t.composedPath().includes(this.optionsRef.value) || (this.optionsIsVisible = !1);
|
|
3547
3512
|
};
|
|
3548
3513
|
}
|
|
@@ -3566,8 +3531,8 @@ const ii = Mi(x), ye = class ye extends ii {
|
|
|
3566
3531
|
return this.options.options.length ? k` <div class="side-menu">
|
|
3567
3532
|
<div
|
|
3568
3533
|
class="options-menu"
|
|
3569
|
-
${
|
|
3570
|
-
${
|
|
3534
|
+
${oe(this.optionsRef)}
|
|
3535
|
+
${Li({
|
|
3571
3536
|
keyframeOptions: { duration: 120 },
|
|
3572
3537
|
in: Me,
|
|
3573
3538
|
out: Me,
|
|
@@ -3593,8 +3558,8 @@ const ii = Mi(x), ye = class ye extends ii {
|
|
|
3593
3558
|
</div>` : p;
|
|
3594
3559
|
}
|
|
3595
3560
|
};
|
|
3596
|
-
|
|
3597
|
-
|
|
3561
|
+
me.styles = [
|
|
3562
|
+
ti.styles || [],
|
|
3598
3563
|
N`
|
|
3599
3564
|
:host {
|
|
3600
3565
|
--header-text-color: var(--text-on-primary-background);
|
|
@@ -3684,11 +3649,11 @@ ye.styles = [
|
|
|
3684
3649
|
}
|
|
3685
3650
|
`
|
|
3686
3651
|
];
|
|
3687
|
-
let
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
],
|
|
3652
|
+
let Qt = me;
|
|
3653
|
+
Tn([
|
|
3654
|
+
H()
|
|
3655
|
+
], Qt.prototype, "optionsIsVisible");
|
|
3691
3656
|
export {
|
|
3692
|
-
|
|
3693
|
-
|
|
3657
|
+
Qt as SideMenu,
|
|
3658
|
+
Qt as default
|
|
3694
3659
|
};
|