@telia-ace/widget-components-copyright-flamingo 1.1.72-rc.10 → 1.1.72-rc.11
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,45 +1,45 @@
|
|
|
1
|
-
var
|
|
2
|
-
return
|
|
1
|
+
var ht = function(r, t) {
|
|
2
|
+
return ht = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, i) {
|
|
3
3
|
e.__proto__ = i;
|
|
4
4
|
} || function(e, i) {
|
|
5
|
-
for (var
|
|
6
|
-
Object.prototype.hasOwnProperty.call(i,
|
|
7
|
-
},
|
|
5
|
+
for (var s in i)
|
|
6
|
+
Object.prototype.hasOwnProperty.call(i, s) && (e[s] = i[s]);
|
|
7
|
+
}, ht(r, t);
|
|
8
8
|
};
|
|
9
|
-
function
|
|
9
|
+
function D(r, t) {
|
|
10
10
|
if (typeof t != "function" && t !== null)
|
|
11
11
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
12
|
-
|
|
12
|
+
ht(r, t);
|
|
13
13
|
function e() {
|
|
14
|
-
this.constructor =
|
|
14
|
+
this.constructor = r;
|
|
15
15
|
}
|
|
16
|
-
|
|
16
|
+
r.prototype = t === null ? Object.create(t) : (e.prototype = t.prototype, new e());
|
|
17
17
|
}
|
|
18
|
-
function pt(
|
|
19
|
-
var t = typeof Symbol == "function" && Symbol.iterator, e = t &&
|
|
18
|
+
function pt(r) {
|
|
19
|
+
var t = typeof Symbol == "function" && Symbol.iterator, e = t && r[t], i = 0;
|
|
20
20
|
if (e)
|
|
21
|
-
return e.call(
|
|
22
|
-
if (
|
|
21
|
+
return e.call(r);
|
|
22
|
+
if (r && typeof r.length == "number")
|
|
23
23
|
return {
|
|
24
24
|
next: function() {
|
|
25
|
-
return
|
|
25
|
+
return r && i >= r.length && (r = void 0), { value: r && r[i++], done: !r };
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
28
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
29
29
|
}
|
|
30
|
-
function q(
|
|
31
|
-
var e = typeof Symbol == "function" &&
|
|
30
|
+
function q(r, t) {
|
|
31
|
+
var e = typeof Symbol == "function" && r[Symbol.iterator];
|
|
32
32
|
if (!e)
|
|
33
|
-
return
|
|
34
|
-
var i = e.call(
|
|
33
|
+
return r;
|
|
34
|
+
var i = e.call(r), s, n = [], o;
|
|
35
35
|
try {
|
|
36
|
-
for (; (t === void 0 || t-- > 0) && !(
|
|
37
|
-
n.push(
|
|
36
|
+
for (; (t === void 0 || t-- > 0) && !(s = i.next()).done; )
|
|
37
|
+
n.push(s.value);
|
|
38
38
|
} catch (a) {
|
|
39
39
|
o = { error: a };
|
|
40
40
|
} finally {
|
|
41
41
|
try {
|
|
42
|
-
|
|
42
|
+
s && !s.done && (e = i.return) && e.call(i);
|
|
43
43
|
} finally {
|
|
44
44
|
if (o)
|
|
45
45
|
throw o.error;
|
|
@@ -47,57 +47,57 @@ function q(s, t) {
|
|
|
47
47
|
}
|
|
48
48
|
return n;
|
|
49
49
|
}
|
|
50
|
-
function K(
|
|
50
|
+
function K(r, t, e) {
|
|
51
51
|
if (e || arguments.length === 2)
|
|
52
|
-
for (var i = 0,
|
|
52
|
+
for (var i = 0, s = t.length, n; i < s; i++)
|
|
53
53
|
(n || !(i in t)) && (n || (n = Array.prototype.slice.call(t, 0, i)), n[i] = t[i]);
|
|
54
|
-
return
|
|
54
|
+
return r.concat(n || Array.prototype.slice.call(t));
|
|
55
55
|
}
|
|
56
|
-
function
|
|
57
|
-
return typeof
|
|
56
|
+
function b(r) {
|
|
57
|
+
return typeof r == "function";
|
|
58
58
|
}
|
|
59
|
-
function Kt(
|
|
59
|
+
function Kt(r) {
|
|
60
60
|
var t = function(i) {
|
|
61
61
|
Error.call(i), i.stack = new Error().stack;
|
|
62
|
-
}, e =
|
|
62
|
+
}, e = r(t);
|
|
63
63
|
return e.prototype = Object.create(Error.prototype), e.prototype.constructor = e, e;
|
|
64
64
|
}
|
|
65
|
-
var et = Kt(function(
|
|
65
|
+
var et = Kt(function(r) {
|
|
66
66
|
return function(e) {
|
|
67
|
-
|
|
68
|
-
` + e.map(function(i,
|
|
69
|
-
return
|
|
67
|
+
r(this), this.message = e ? e.length + ` errors occurred during unsubscription:
|
|
68
|
+
` + e.map(function(i, s) {
|
|
69
|
+
return s + 1 + ") " + i.toString();
|
|
70
70
|
}).join(`
|
|
71
71
|
`) : "", this.name = "UnsubscriptionError", this.errors = e;
|
|
72
72
|
};
|
|
73
73
|
});
|
|
74
|
-
function dt(
|
|
75
|
-
if (
|
|
76
|
-
var e =
|
|
77
|
-
0 <= e &&
|
|
74
|
+
function dt(r, t) {
|
|
75
|
+
if (r) {
|
|
76
|
+
var e = r.indexOf(t);
|
|
77
|
+
0 <= e && r.splice(e, 1);
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
var Q = function() {
|
|
81
|
-
function
|
|
81
|
+
function r(t) {
|
|
82
82
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
83
83
|
}
|
|
84
|
-
return
|
|
85
|
-
var t, e, i,
|
|
84
|
+
return r.prototype.unsubscribe = function() {
|
|
85
|
+
var t, e, i, s, n;
|
|
86
86
|
if (!this.closed) {
|
|
87
87
|
this.closed = !0;
|
|
88
88
|
var o = this._parentage;
|
|
89
89
|
if (o)
|
|
90
90
|
if (this._parentage = null, Array.isArray(o))
|
|
91
91
|
try {
|
|
92
|
-
for (var a = pt(o),
|
|
93
|
-
var
|
|
94
|
-
|
|
92
|
+
for (var a = pt(o), c = a.next(); !c.done; c = a.next()) {
|
|
93
|
+
var l = c.value;
|
|
94
|
+
l.remove(this);
|
|
95
95
|
}
|
|
96
96
|
} catch (v) {
|
|
97
97
|
t = { error: v };
|
|
98
98
|
} finally {
|
|
99
99
|
try {
|
|
100
|
-
|
|
100
|
+
c && !c.done && (e = a.return) && e.call(a);
|
|
101
101
|
} finally {
|
|
102
102
|
if (t)
|
|
103
103
|
throw t.error;
|
|
@@ -105,10 +105,10 @@ var Q = function() {
|
|
|
105
105
|
}
|
|
106
106
|
else
|
|
107
107
|
o.remove(this);
|
|
108
|
-
var
|
|
109
|
-
if (
|
|
108
|
+
var h = this.initialTeardown;
|
|
109
|
+
if (b(h))
|
|
110
110
|
try {
|
|
111
|
-
|
|
111
|
+
h();
|
|
112
112
|
} catch (v) {
|
|
113
113
|
n = v instanceof et ? v.errors : [v];
|
|
114
114
|
}
|
|
@@ -117,9 +117,9 @@ var Q = function() {
|
|
|
117
117
|
this._finalizers = null;
|
|
118
118
|
try {
|
|
119
119
|
for (var u = pt(p), f = u.next(); !f.done; f = u.next()) {
|
|
120
|
-
var
|
|
120
|
+
var T = f.value;
|
|
121
121
|
try {
|
|
122
|
-
xt(
|
|
122
|
+
xt(T);
|
|
123
123
|
} catch (v) {
|
|
124
124
|
n = n ?? [], v instanceof et ? n = K(K([], q(n)), q(v.errors)) : n.push(v);
|
|
125
125
|
}
|
|
@@ -128,7 +128,7 @@ var Q = function() {
|
|
|
128
128
|
i = { error: v };
|
|
129
129
|
} finally {
|
|
130
130
|
try {
|
|
131
|
-
f && !f.done && (
|
|
131
|
+
f && !f.done && (s = u.return) && s.call(u);
|
|
132
132
|
} finally {
|
|
133
133
|
if (i)
|
|
134
134
|
throw i.error;
|
|
@@ -138,41 +138,41 @@ var Q = function() {
|
|
|
138
138
|
if (n)
|
|
139
139
|
throw new et(n);
|
|
140
140
|
}
|
|
141
|
-
},
|
|
141
|
+
}, r.prototype.add = function(t) {
|
|
142
142
|
var e;
|
|
143
143
|
if (t && t !== this)
|
|
144
144
|
if (this.closed)
|
|
145
145
|
xt(t);
|
|
146
146
|
else {
|
|
147
|
-
if (t instanceof
|
|
147
|
+
if (t instanceof r) {
|
|
148
148
|
if (t.closed || t._hasParent(this))
|
|
149
149
|
return;
|
|
150
150
|
t._addParent(this);
|
|
151
151
|
}
|
|
152
152
|
(this._finalizers = (e = this._finalizers) !== null && e !== void 0 ? e : []).push(t);
|
|
153
153
|
}
|
|
154
|
-
},
|
|
154
|
+
}, r.prototype._hasParent = function(t) {
|
|
155
155
|
var e = this._parentage;
|
|
156
156
|
return e === t || Array.isArray(e) && e.includes(t);
|
|
157
|
-
},
|
|
157
|
+
}, r.prototype._addParent = function(t) {
|
|
158
158
|
var e = this._parentage;
|
|
159
159
|
this._parentage = Array.isArray(e) ? (e.push(t), e) : e ? [e, t] : t;
|
|
160
|
-
},
|
|
160
|
+
}, r.prototype._removeParent = function(t) {
|
|
161
161
|
var e = this._parentage;
|
|
162
162
|
e === t ? this._parentage = null : Array.isArray(e) && dt(e, t);
|
|
163
|
-
},
|
|
163
|
+
}, r.prototype.remove = function(t) {
|
|
164
164
|
var e = this._finalizers;
|
|
165
|
-
e && dt(e, t), t instanceof
|
|
166
|
-
},
|
|
167
|
-
var t = new
|
|
165
|
+
e && dt(e, t), t instanceof r && t._removeParent(this);
|
|
166
|
+
}, r.EMPTY = function() {
|
|
167
|
+
var t = new r();
|
|
168
168
|
return t.closed = !0, t;
|
|
169
|
-
}(),
|
|
169
|
+
}(), r;
|
|
170
170
|
}(), Gt = Q.EMPTY;
|
|
171
|
-
function Xt(
|
|
172
|
-
return
|
|
171
|
+
function Xt(r) {
|
|
172
|
+
return r instanceof Q || r && "closed" in r && b(r.remove) && b(r.add) && b(r.unsubscribe);
|
|
173
173
|
}
|
|
174
|
-
function xt(
|
|
175
|
-
|
|
174
|
+
function xt(r) {
|
|
175
|
+
b(r) ? r() : r.unsubscribe();
|
|
176
176
|
}
|
|
177
177
|
var Jt = {
|
|
178
178
|
onUnhandledError: null,
|
|
@@ -181,36 +181,36 @@ var Jt = {
|
|
|
181
181
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
182
182
|
useDeprecatedNextContext: !1
|
|
183
183
|
}, ut = {
|
|
184
|
-
setTimeout: function(
|
|
184
|
+
setTimeout: function(r, t) {
|
|
185
185
|
for (var e = [], i = 2; i < arguments.length; i++)
|
|
186
186
|
e[i - 2] = arguments[i];
|
|
187
|
-
var
|
|
188
|
-
return
|
|
187
|
+
var s = ut.delegate;
|
|
188
|
+
return s != null && s.setTimeout ? s.setTimeout.apply(s, K([r, t], q(e))) : setTimeout.apply(void 0, K([r, t], q(e)));
|
|
189
189
|
},
|
|
190
|
-
clearTimeout: function(
|
|
190
|
+
clearTimeout: function(r) {
|
|
191
191
|
var t = ut.delegate;
|
|
192
|
-
return ((t == null ? void 0 : t.clearTimeout) || clearTimeout)(
|
|
192
|
+
return ((t == null ? void 0 : t.clearTimeout) || clearTimeout)(r);
|
|
193
193
|
},
|
|
194
194
|
delegate: void 0
|
|
195
195
|
};
|
|
196
|
-
function ve(
|
|
196
|
+
function ve(r) {
|
|
197
197
|
ut.setTimeout(function() {
|
|
198
|
-
throw
|
|
198
|
+
throw r;
|
|
199
199
|
});
|
|
200
200
|
}
|
|
201
201
|
function Et() {
|
|
202
202
|
}
|
|
203
|
-
function F(
|
|
204
|
-
|
|
203
|
+
function F(r) {
|
|
204
|
+
r();
|
|
205
205
|
}
|
|
206
|
-
var Qt = function(
|
|
207
|
-
|
|
206
|
+
var Qt = function(r) {
|
|
207
|
+
D(t, r);
|
|
208
208
|
function t(e) {
|
|
209
|
-
var i =
|
|
209
|
+
var i = r.call(this) || this;
|
|
210
210
|
return i.isStopped = !1, e ? (i.destination = e, Xt(e) && e.add(i)) : i.destination = $e, i;
|
|
211
211
|
}
|
|
212
|
-
return t.create = function(e, i,
|
|
213
|
-
return new ft(e, i,
|
|
212
|
+
return t.create = function(e, i, s) {
|
|
213
|
+
return new ft(e, i, s);
|
|
214
214
|
}, t.prototype.next = function(e) {
|
|
215
215
|
this.isStopped || this._next(e);
|
|
216
216
|
}, t.prototype.error = function(e) {
|
|
@@ -218,7 +218,7 @@ var Qt = function(s) {
|
|
|
218
218
|
}, t.prototype.complete = function() {
|
|
219
219
|
this.isStopped || (this.isStopped = !0, this._complete());
|
|
220
220
|
}, t.prototype.unsubscribe = function() {
|
|
221
|
-
this.closed || (this.isStopped = !0,
|
|
221
|
+
this.closed || (this.isStopped = !0, r.prototype.unsubscribe.call(this), this.destination = null);
|
|
222
222
|
}, t.prototype._next = function(e) {
|
|
223
223
|
this.destination.next(e);
|
|
224
224
|
}, t.prototype._error = function(e) {
|
|
@@ -235,49 +235,49 @@ var Qt = function(s) {
|
|
|
235
235
|
}
|
|
236
236
|
}, t;
|
|
237
237
|
}(Q), me = Function.prototype.bind;
|
|
238
|
-
function it(
|
|
239
|
-
return me.call(
|
|
238
|
+
function it(r, t) {
|
|
239
|
+
return me.call(r, t);
|
|
240
240
|
}
|
|
241
241
|
var ye = function() {
|
|
242
|
-
function
|
|
242
|
+
function r(t) {
|
|
243
243
|
this.partialObserver = t;
|
|
244
244
|
}
|
|
245
|
-
return
|
|
245
|
+
return r.prototype.next = function(t) {
|
|
246
246
|
var e = this.partialObserver;
|
|
247
247
|
if (e.next)
|
|
248
248
|
try {
|
|
249
249
|
e.next(t);
|
|
250
250
|
} catch (i) {
|
|
251
|
-
|
|
251
|
+
Y(i);
|
|
252
252
|
}
|
|
253
|
-
},
|
|
253
|
+
}, r.prototype.error = function(t) {
|
|
254
254
|
var e = this.partialObserver;
|
|
255
255
|
if (e.error)
|
|
256
256
|
try {
|
|
257
257
|
e.error(t);
|
|
258
258
|
} catch (i) {
|
|
259
|
-
|
|
259
|
+
Y(i);
|
|
260
260
|
}
|
|
261
261
|
else
|
|
262
|
-
|
|
263
|
-
},
|
|
262
|
+
Y(t);
|
|
263
|
+
}, r.prototype.complete = function() {
|
|
264
264
|
var t = this.partialObserver;
|
|
265
265
|
if (t.complete)
|
|
266
266
|
try {
|
|
267
267
|
t.complete();
|
|
268
268
|
} catch (e) {
|
|
269
|
-
|
|
269
|
+
Y(e);
|
|
270
270
|
}
|
|
271
|
-
},
|
|
272
|
-
}(), ft = function(
|
|
273
|
-
|
|
274
|
-
function t(e, i,
|
|
275
|
-
var n =
|
|
276
|
-
if (
|
|
271
|
+
}, r;
|
|
272
|
+
}(), ft = function(r) {
|
|
273
|
+
D(t, r);
|
|
274
|
+
function t(e, i, s) {
|
|
275
|
+
var n = r.call(this) || this, o;
|
|
276
|
+
if (b(e) || !e)
|
|
277
277
|
o = {
|
|
278
278
|
next: e ?? void 0,
|
|
279
279
|
error: i ?? void 0,
|
|
280
|
-
complete:
|
|
280
|
+
complete: s ?? void 0
|
|
281
281
|
};
|
|
282
282
|
else {
|
|
283
283
|
var a;
|
|
@@ -293,11 +293,11 @@ var ye = function() {
|
|
|
293
293
|
}
|
|
294
294
|
return t;
|
|
295
295
|
}(Qt);
|
|
296
|
-
function
|
|
297
|
-
ve(
|
|
296
|
+
function Y(r) {
|
|
297
|
+
ve(r);
|
|
298
298
|
}
|
|
299
|
-
function be(
|
|
300
|
-
throw
|
|
299
|
+
function be(r) {
|
|
300
|
+
throw r;
|
|
301
301
|
}
|
|
302
302
|
var $e = {
|
|
303
303
|
closed: !0,
|
|
@@ -307,94 +307,94 @@ var $e = {
|
|
|
307
307
|
}, _e = function() {
|
|
308
308
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
309
309
|
}();
|
|
310
|
-
function we(
|
|
311
|
-
return
|
|
310
|
+
function we(r) {
|
|
311
|
+
return r;
|
|
312
312
|
}
|
|
313
|
-
function Ce(
|
|
314
|
-
return
|
|
315
|
-
return
|
|
316
|
-
return
|
|
313
|
+
function Ce(r) {
|
|
314
|
+
return r.length === 0 ? we : r.length === 1 ? r[0] : function(e) {
|
|
315
|
+
return r.reduce(function(i, s) {
|
|
316
|
+
return s(i);
|
|
317
317
|
}, e);
|
|
318
318
|
};
|
|
319
319
|
}
|
|
320
320
|
var St = function() {
|
|
321
|
-
function
|
|
321
|
+
function r(t) {
|
|
322
322
|
t && (this._subscribe = t);
|
|
323
323
|
}
|
|
324
|
-
return
|
|
325
|
-
var e = new
|
|
324
|
+
return r.prototype.lift = function(t) {
|
|
325
|
+
var e = new r();
|
|
326
326
|
return e.source = this, e.operator = t, e;
|
|
327
|
-
},
|
|
328
|
-
var
|
|
327
|
+
}, r.prototype.subscribe = function(t, e, i) {
|
|
328
|
+
var s = this, n = xe(t) ? t : new ft(t, e, i);
|
|
329
329
|
return F(function() {
|
|
330
|
-
var o =
|
|
331
|
-
n.add(a ? a.call(n,
|
|
330
|
+
var o = s, a = o.operator, c = o.source;
|
|
331
|
+
n.add(a ? a.call(n, c) : c ? s._subscribe(n) : s._trySubscribe(n));
|
|
332
332
|
}), n;
|
|
333
|
-
},
|
|
333
|
+
}, r.prototype._trySubscribe = function(t) {
|
|
334
334
|
try {
|
|
335
335
|
return this._subscribe(t);
|
|
336
336
|
} catch (e) {
|
|
337
337
|
t.error(e);
|
|
338
338
|
}
|
|
339
|
-
},
|
|
339
|
+
}, r.prototype.forEach = function(t, e) {
|
|
340
340
|
var i = this;
|
|
341
|
-
return e = Pt(e), new e(function(
|
|
341
|
+
return e = Pt(e), new e(function(s, n) {
|
|
342
342
|
var o = new ft({
|
|
343
343
|
next: function(a) {
|
|
344
344
|
try {
|
|
345
345
|
t(a);
|
|
346
|
-
} catch (
|
|
347
|
-
n(
|
|
346
|
+
} catch (c) {
|
|
347
|
+
n(c), o.unsubscribe();
|
|
348
348
|
}
|
|
349
349
|
},
|
|
350
350
|
error: n,
|
|
351
|
-
complete:
|
|
351
|
+
complete: s
|
|
352
352
|
});
|
|
353
353
|
i.subscribe(o);
|
|
354
354
|
});
|
|
355
|
-
},
|
|
355
|
+
}, r.prototype._subscribe = function(t) {
|
|
356
356
|
var e;
|
|
357
357
|
return (e = this.source) === null || e === void 0 ? void 0 : e.subscribe(t);
|
|
358
|
-
},
|
|
358
|
+
}, r.prototype[_e] = function() {
|
|
359
359
|
return this;
|
|
360
|
-
},
|
|
360
|
+
}, r.prototype.pipe = function() {
|
|
361
361
|
for (var t = [], e = 0; e < arguments.length; e++)
|
|
362
362
|
t[e] = arguments[e];
|
|
363
363
|
return Ce(t)(this);
|
|
364
|
-
},
|
|
364
|
+
}, r.prototype.toPromise = function(t) {
|
|
365
365
|
var e = this;
|
|
366
|
-
return t = Pt(t), new t(function(i,
|
|
366
|
+
return t = Pt(t), new t(function(i, s) {
|
|
367
367
|
var n;
|
|
368
368
|
e.subscribe(function(o) {
|
|
369
369
|
return n = o;
|
|
370
370
|
}, function(o) {
|
|
371
|
-
return
|
|
371
|
+
return s(o);
|
|
372
372
|
}, function() {
|
|
373
373
|
return i(n);
|
|
374
374
|
});
|
|
375
375
|
});
|
|
376
|
-
},
|
|
377
|
-
return new
|
|
378
|
-
},
|
|
376
|
+
}, r.create = function(t) {
|
|
377
|
+
return new r(t);
|
|
378
|
+
}, r;
|
|
379
379
|
}();
|
|
380
|
-
function Pt(
|
|
380
|
+
function Pt(r) {
|
|
381
381
|
var t;
|
|
382
|
-
return (t =
|
|
382
|
+
return (t = r ?? Jt.Promise) !== null && t !== void 0 ? t : Promise;
|
|
383
383
|
}
|
|
384
|
-
function Ae(
|
|
385
|
-
return
|
|
384
|
+
function Ae(r) {
|
|
385
|
+
return r && b(r.next) && b(r.error) && b(r.complete);
|
|
386
386
|
}
|
|
387
|
-
function xe(
|
|
388
|
-
return
|
|
387
|
+
function xe(r) {
|
|
388
|
+
return r && r instanceof Qt || Ae(r) && Xt(r);
|
|
389
389
|
}
|
|
390
|
-
var Ee = Kt(function(
|
|
390
|
+
var Ee = Kt(function(r) {
|
|
391
391
|
return function() {
|
|
392
|
-
|
|
392
|
+
r(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
393
393
|
};
|
|
394
|
-
}), gt = function(
|
|
395
|
-
|
|
394
|
+
}), gt = function(r) {
|
|
395
|
+
D(t, r);
|
|
396
396
|
function t() {
|
|
397
|
-
var e =
|
|
397
|
+
var e = r.call(this) || this;
|
|
398
398
|
return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
|
|
399
399
|
}
|
|
400
400
|
return t.prototype.lift = function(e) {
|
|
@@ -406,22 +406,22 @@ var Ee = Kt(function(s) {
|
|
|
406
406
|
}, t.prototype.next = function(e) {
|
|
407
407
|
var i = this;
|
|
408
408
|
F(function() {
|
|
409
|
-
var
|
|
409
|
+
var s, n;
|
|
410
410
|
if (i._throwIfClosed(), !i.isStopped) {
|
|
411
411
|
i.currentObservers || (i.currentObservers = Array.from(i.observers));
|
|
412
412
|
try {
|
|
413
413
|
for (var o = pt(i.currentObservers), a = o.next(); !a.done; a = o.next()) {
|
|
414
|
-
var
|
|
415
|
-
|
|
414
|
+
var c = a.value;
|
|
415
|
+
c.next(e);
|
|
416
416
|
}
|
|
417
|
-
} catch (
|
|
418
|
-
|
|
417
|
+
} catch (l) {
|
|
418
|
+
s = { error: l };
|
|
419
419
|
} finally {
|
|
420
420
|
try {
|
|
421
421
|
a && !a.done && (n = o.return) && n.call(o);
|
|
422
422
|
} finally {
|
|
423
|
-
if (
|
|
424
|
-
throw
|
|
423
|
+
if (s)
|
|
424
|
+
throw s.error;
|
|
425
425
|
}
|
|
426
426
|
}
|
|
427
427
|
}
|
|
@@ -431,8 +431,8 @@ var Ee = Kt(function(s) {
|
|
|
431
431
|
F(function() {
|
|
432
432
|
if (i._throwIfClosed(), !i.isStopped) {
|
|
433
433
|
i.hasError = i.isStopped = !0, i.thrownError = e;
|
|
434
|
-
for (var
|
|
435
|
-
|
|
434
|
+
for (var s = i.observers; s.length; )
|
|
435
|
+
s.shift().error(e);
|
|
436
436
|
}
|
|
437
437
|
});
|
|
438
438
|
}, t.prototype.complete = function() {
|
|
@@ -454,46 +454,46 @@ var Ee = Kt(function(s) {
|
|
|
454
454
|
enumerable: !1,
|
|
455
455
|
configurable: !0
|
|
456
456
|
}), t.prototype._trySubscribe = function(e) {
|
|
457
|
-
return this._throwIfClosed(),
|
|
457
|
+
return this._throwIfClosed(), r.prototype._trySubscribe.call(this, e);
|
|
458
458
|
}, t.prototype._subscribe = function(e) {
|
|
459
459
|
return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
|
|
460
460
|
}, t.prototype._innerSubscribe = function(e) {
|
|
461
|
-
var i = this,
|
|
461
|
+
var i = this, s = this, n = s.hasError, o = s.isStopped, a = s.observers;
|
|
462
462
|
return n || o ? Gt : (this.currentObservers = null, a.push(e), new Q(function() {
|
|
463
463
|
i.currentObservers = null, dt(a, e);
|
|
464
464
|
}));
|
|
465
465
|
}, t.prototype._checkFinalizedStatuses = function(e) {
|
|
466
|
-
var i = this,
|
|
467
|
-
|
|
466
|
+
var i = this, s = i.hasError, n = i.thrownError, o = i.isStopped;
|
|
467
|
+
s ? e.error(n) : o && e.complete();
|
|
468
468
|
}, t.prototype.asObservable = function() {
|
|
469
469
|
var e = new St();
|
|
470
470
|
return e.source = this, e;
|
|
471
471
|
}, t.create = function(e, i) {
|
|
472
472
|
return new Ot(e, i);
|
|
473
473
|
}, t;
|
|
474
|
-
}(St), Ot = function(
|
|
475
|
-
|
|
474
|
+
}(St), Ot = function(r) {
|
|
475
|
+
D(t, r);
|
|
476
476
|
function t(e, i) {
|
|
477
|
-
var
|
|
478
|
-
return
|
|
477
|
+
var s = r.call(this) || this;
|
|
478
|
+
return s.destination = e, s.source = i, s;
|
|
479
479
|
}
|
|
480
480
|
return t.prototype.next = function(e) {
|
|
481
|
-
var i,
|
|
482
|
-
(
|
|
481
|
+
var i, s;
|
|
482
|
+
(s = (i = this.destination) === null || i === void 0 ? void 0 : i.next) === null || s === void 0 || s.call(i, e);
|
|
483
483
|
}, t.prototype.error = function(e) {
|
|
484
|
-
var i,
|
|
485
|
-
(
|
|
484
|
+
var i, s;
|
|
485
|
+
(s = (i = this.destination) === null || i === void 0 ? void 0 : i.error) === null || s === void 0 || s.call(i, e);
|
|
486
486
|
}, t.prototype.complete = function() {
|
|
487
487
|
var e, i;
|
|
488
488
|
(i = (e = this.destination) === null || e === void 0 ? void 0 : e.complete) === null || i === void 0 || i.call(e);
|
|
489
489
|
}, t.prototype._subscribe = function(e) {
|
|
490
|
-
var i,
|
|
491
|
-
return (
|
|
490
|
+
var i, s;
|
|
491
|
+
return (s = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(e)) !== null && s !== void 0 ? s : Gt;
|
|
492
492
|
}, t;
|
|
493
|
-
}(gt), Se = function(
|
|
494
|
-
|
|
493
|
+
}(gt), Se = function(r) {
|
|
494
|
+
D(t, r);
|
|
495
495
|
function t(e) {
|
|
496
|
-
var i =
|
|
496
|
+
var i = r.call(this) || this;
|
|
497
497
|
return i._value = e, i;
|
|
498
498
|
}
|
|
499
499
|
return Object.defineProperty(t.prototype, "value", {
|
|
@@ -503,15 +503,15 @@ var Ee = Kt(function(s) {
|
|
|
503
503
|
enumerable: !1,
|
|
504
504
|
configurable: !0
|
|
505
505
|
}), t.prototype._subscribe = function(e) {
|
|
506
|
-
var i =
|
|
506
|
+
var i = r.prototype._subscribe.call(this, e);
|
|
507
507
|
return !i.closed && e.next(this._value), i;
|
|
508
508
|
}, t.prototype.getValue = function() {
|
|
509
|
-
var e = this, i = e.hasError,
|
|
509
|
+
var e = this, i = e.hasError, s = e.thrownError, n = e._value;
|
|
510
510
|
if (i)
|
|
511
|
-
throw
|
|
511
|
+
throw s;
|
|
512
512
|
return this._throwIfClosed(), n;
|
|
513
513
|
}, t.prototype.next = function(e) {
|
|
514
|
-
|
|
514
|
+
r.prototype.next.call(this, this._value = e);
|
|
515
515
|
}, t;
|
|
516
516
|
}(gt);
|
|
517
517
|
/**
|
|
@@ -539,65 +539,65 @@ let te = class {
|
|
|
539
539
|
return this.cssText;
|
|
540
540
|
}
|
|
541
541
|
};
|
|
542
|
-
const Pe = (
|
|
543
|
-
const e =
|
|
542
|
+
const Pe = (r) => new te(typeof r == "string" ? r : r + "", void 0, mt), O = (r, ...t) => {
|
|
543
|
+
const e = r.length === 1 ? r[0] : t.reduce((i, s, n) => i + ((o) => {
|
|
544
544
|
if (o._$cssResult$ === !0)
|
|
545
545
|
return o.cssText;
|
|
546
546
|
if (typeof o == "number")
|
|
547
547
|
return o;
|
|
548
548
|
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.");
|
|
549
|
-
})(
|
|
550
|
-
return new te(e,
|
|
551
|
-
}, Oe = (
|
|
549
|
+
})(s) + r[n + 1], r[0]);
|
|
550
|
+
return new te(e, r, mt);
|
|
551
|
+
}, Oe = (r, t) => {
|
|
552
552
|
if (vt)
|
|
553
|
-
|
|
553
|
+
r.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
554
554
|
else
|
|
555
555
|
for (const e of t) {
|
|
556
|
-
const i = document.createElement("style"),
|
|
557
|
-
|
|
556
|
+
const i = document.createElement("style"), s = Z.litNonce;
|
|
557
|
+
s !== void 0 && i.setAttribute("nonce", s), i.textContent = e.cssText, r.appendChild(i);
|
|
558
558
|
}
|
|
559
|
-
},
|
|
559
|
+
}, kt = vt ? (r) => r : (r) => r instanceof CSSStyleSheet ? ((t) => {
|
|
560
560
|
let e = "";
|
|
561
561
|
for (const i of t.cssRules)
|
|
562
562
|
e += i.cssText;
|
|
563
563
|
return Pe(e);
|
|
564
|
-
})(
|
|
564
|
+
})(r) : r;
|
|
565
565
|
/**
|
|
566
566
|
* @license
|
|
567
567
|
* Copyright 2017 Google LLC
|
|
568
568
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
569
569
|
*/
|
|
570
|
-
const { is: Te, defineProperty:
|
|
570
|
+
const { is: Te, defineProperty: ke, getOwnPropertyDescriptor: Me, getOwnPropertyNames: Ue, getOwnPropertySymbols: He, getPrototypeOf: Le } = Object, _ = globalThis, Mt = _.trustedTypes, Re = Mt ? Mt.emptyScript : "", rt = _.reactiveElementPolyfillSupport, L = (r, t) => r, G = { toAttribute(r, t) {
|
|
571
571
|
switch (t) {
|
|
572
572
|
case Boolean:
|
|
573
|
-
|
|
573
|
+
r = r ? Re : null;
|
|
574
574
|
break;
|
|
575
575
|
case Object:
|
|
576
576
|
case Array:
|
|
577
|
-
|
|
577
|
+
r = r == null ? r : JSON.stringify(r);
|
|
578
578
|
}
|
|
579
|
-
return
|
|
580
|
-
}, fromAttribute(
|
|
581
|
-
let e =
|
|
579
|
+
return r;
|
|
580
|
+
}, fromAttribute(r, t) {
|
|
581
|
+
let e = r;
|
|
582
582
|
switch (t) {
|
|
583
583
|
case Boolean:
|
|
584
|
-
e =
|
|
584
|
+
e = r !== null;
|
|
585
585
|
break;
|
|
586
586
|
case Number:
|
|
587
|
-
e =
|
|
587
|
+
e = r === null ? null : Number(r);
|
|
588
588
|
break;
|
|
589
589
|
case Object:
|
|
590
590
|
case Array:
|
|
591
591
|
try {
|
|
592
|
-
e = JSON.parse(
|
|
592
|
+
e = JSON.parse(r);
|
|
593
593
|
} catch {
|
|
594
594
|
e = null;
|
|
595
595
|
}
|
|
596
596
|
}
|
|
597
597
|
return e;
|
|
598
|
-
} }, yt = (
|
|
599
|
-
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")),
|
|
600
|
-
let
|
|
598
|
+
} }, yt = (r, t) => !Te(r, t), Ut = { attribute: !0, type: String, converter: G, reflect: !1, hasChanged: yt };
|
|
599
|
+
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), _.litPropertyMetadata ?? (_.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
600
|
+
let k = class extends HTMLElement {
|
|
601
601
|
static addInitializer(t) {
|
|
602
602
|
this._$Ei(), (this.l ?? (this.l = [])).push(t);
|
|
603
603
|
}
|
|
@@ -606,20 +606,20 @@ let T = class extends HTMLElement {
|
|
|
606
606
|
}
|
|
607
607
|
static createProperty(t, e = Ut) {
|
|
608
608
|
if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
|
|
609
|
-
const i = Symbol(),
|
|
610
|
-
|
|
609
|
+
const i = Symbol(), s = this.getPropertyDescriptor(t, i, e);
|
|
610
|
+
s !== void 0 && ke(this.prototype, t, s);
|
|
611
611
|
}
|
|
612
612
|
}
|
|
613
613
|
static getPropertyDescriptor(t, e, i) {
|
|
614
|
-
const { get:
|
|
614
|
+
const { get: s, set: n } = Me(this.prototype, t) ?? { get() {
|
|
615
615
|
return this[e];
|
|
616
616
|
}, set(o) {
|
|
617
617
|
this[e] = o;
|
|
618
618
|
} };
|
|
619
619
|
return { get() {
|
|
620
|
-
return
|
|
620
|
+
return s == null ? void 0 : s.call(this);
|
|
621
621
|
}, set(o) {
|
|
622
|
-
const a =
|
|
622
|
+
const a = s == null ? void 0 : s.call(this);
|
|
623
623
|
n.call(this, o), this.requestUpdate(t, a, i);
|
|
624
624
|
}, configurable: !0, enumerable: !0 };
|
|
625
625
|
}
|
|
@@ -627,30 +627,30 @@ let T = class extends HTMLElement {
|
|
|
627
627
|
return this.elementProperties.get(t) ?? Ut;
|
|
628
628
|
}
|
|
629
629
|
static _$Ei() {
|
|
630
|
-
if (this.hasOwnProperty(
|
|
630
|
+
if (this.hasOwnProperty(L("elementProperties")))
|
|
631
631
|
return;
|
|
632
632
|
const t = Le(this);
|
|
633
633
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
634
634
|
}
|
|
635
635
|
static finalize() {
|
|
636
|
-
if (this.hasOwnProperty(
|
|
636
|
+
if (this.hasOwnProperty(L("finalized")))
|
|
637
637
|
return;
|
|
638
|
-
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(
|
|
638
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(L("properties"))) {
|
|
639
639
|
const e = this.properties, i = [...Ue(e), ...He(e)];
|
|
640
|
-
for (const
|
|
641
|
-
this.createProperty(
|
|
640
|
+
for (const s of i)
|
|
641
|
+
this.createProperty(s, e[s]);
|
|
642
642
|
}
|
|
643
643
|
const t = this[Symbol.metadata];
|
|
644
644
|
if (t !== null) {
|
|
645
645
|
const e = litPropertyMetadata.get(t);
|
|
646
646
|
if (e !== void 0)
|
|
647
|
-
for (const [i,
|
|
648
|
-
this.elementProperties.set(i,
|
|
647
|
+
for (const [i, s] of e)
|
|
648
|
+
this.elementProperties.set(i, s);
|
|
649
649
|
}
|
|
650
650
|
this._$Eh = /* @__PURE__ */ new Map();
|
|
651
651
|
for (const [e, i] of this.elementProperties) {
|
|
652
|
-
const
|
|
653
|
-
|
|
652
|
+
const s = this._$Eu(e, i);
|
|
653
|
+
s !== void 0 && this._$Eh.set(s, e);
|
|
654
654
|
}
|
|
655
655
|
this.elementStyles = this.finalizeStyles(this.styles);
|
|
656
656
|
}
|
|
@@ -658,10 +658,10 @@ let T = class extends HTMLElement {
|
|
|
658
658
|
const e = [];
|
|
659
659
|
if (Array.isArray(t)) {
|
|
660
660
|
const i = new Set(t.flat(1 / 0).reverse());
|
|
661
|
-
for (const
|
|
662
|
-
e.unshift(
|
|
661
|
+
for (const s of i)
|
|
662
|
+
e.unshift(kt(s));
|
|
663
663
|
} else
|
|
664
|
-
t !== void 0 && e.push(
|
|
664
|
+
t !== void 0 && e.push(kt(t));
|
|
665
665
|
return e;
|
|
666
666
|
}
|
|
667
667
|
static _$Eu(t, e) {
|
|
@@ -714,18 +714,18 @@ let T = class extends HTMLElement {
|
|
|
714
714
|
}
|
|
715
715
|
_$EC(t, e) {
|
|
716
716
|
var n;
|
|
717
|
-
const i = this.constructor.elementProperties.get(t),
|
|
718
|
-
if (
|
|
717
|
+
const i = this.constructor.elementProperties.get(t), s = this.constructor._$Eu(t, i);
|
|
718
|
+
if (s !== void 0 && i.reflect === !0) {
|
|
719
719
|
const o = (((n = i.converter) == null ? void 0 : n.toAttribute) !== void 0 ? i.converter : G).toAttribute(e, i.type);
|
|
720
|
-
this._$Em = t, o == null ? this.removeAttribute(
|
|
720
|
+
this._$Em = t, o == null ? this.removeAttribute(s) : this.setAttribute(s, o), this._$Em = null;
|
|
721
721
|
}
|
|
722
722
|
}
|
|
723
723
|
_$AK(t, e) {
|
|
724
724
|
var n;
|
|
725
|
-
const i = this.constructor,
|
|
726
|
-
if (
|
|
727
|
-
const o = i.getPropertyOptions(
|
|
728
|
-
this._$Em =
|
|
725
|
+
const i = this.constructor, s = i._$Eh.get(t);
|
|
726
|
+
if (s !== void 0 && this._$Em !== s) {
|
|
727
|
+
const o = i.getPropertyOptions(s), a = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((n = o.converter) == null ? void 0 : n.fromAttribute) !== void 0 ? o.converter : G;
|
|
728
|
+
this._$Em = s, this[s] = a.fromAttribute(e, o.type), this._$Em = null;
|
|
729
729
|
}
|
|
730
730
|
}
|
|
731
731
|
requestUpdate(t, e, i) {
|
|
@@ -762,20 +762,20 @@ let T = class extends HTMLElement {
|
|
|
762
762
|
this[n] = o;
|
|
763
763
|
this._$Ep = void 0;
|
|
764
764
|
}
|
|
765
|
-
const
|
|
766
|
-
if (
|
|
767
|
-
for (const [n, o] of
|
|
765
|
+
const s = this.constructor.elementProperties;
|
|
766
|
+
if (s.size > 0)
|
|
767
|
+
for (const [n, o] of s)
|
|
768
768
|
o.wrapped !== !0 || this._$AL.has(n) || this[n] === void 0 || this.P(n, this[n], o);
|
|
769
769
|
}
|
|
770
770
|
let t = !1;
|
|
771
771
|
const e = this._$AL;
|
|
772
772
|
try {
|
|
773
|
-
t = this.shouldUpdate(e), t ? (this.willUpdate(e), (i = this._$EO) == null || i.forEach((
|
|
773
|
+
t = this.shouldUpdate(e), t ? (this.willUpdate(e), (i = this._$EO) == null || i.forEach((s) => {
|
|
774
774
|
var n;
|
|
775
|
-
return (n =
|
|
775
|
+
return (n = s.hostUpdate) == null ? void 0 : n.call(s);
|
|
776
776
|
}), this.update(e)) : this._$EU();
|
|
777
|
-
} catch (
|
|
778
|
-
throw t = !1, this._$EU(),
|
|
777
|
+
} catch (s) {
|
|
778
|
+
throw t = !1, this._$EU(), s;
|
|
779
779
|
}
|
|
780
780
|
t && this._$AE(e);
|
|
781
781
|
}
|
|
@@ -784,8 +784,8 @@ let T = class extends HTMLElement {
|
|
|
784
784
|
_$AE(t) {
|
|
785
785
|
var e;
|
|
786
786
|
(e = this._$EO) == null || e.forEach((i) => {
|
|
787
|
-
var
|
|
788
|
-
return (
|
|
787
|
+
var s;
|
|
788
|
+
return (s = i.hostUpdated) == null ? void 0 : s.call(i);
|
|
789
789
|
}), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
|
|
790
790
|
}
|
|
791
791
|
_$EU() {
|
|
@@ -808,84 +808,84 @@ let T = class extends HTMLElement {
|
|
|
808
808
|
firstUpdated(t) {
|
|
809
809
|
}
|
|
810
810
|
};
|
|
811
|
-
|
|
811
|
+
k.elementStyles = [], k.shadowRootOptions = { mode: "open" }, k[L("elementProperties")] = /* @__PURE__ */ new Map(), k[L("finalized")] = /* @__PURE__ */ new Map(), rt == null || rt({ ReactiveElement: k }), (_.reactiveElementVersions ?? (_.reactiveElementVersions = [])).push("2.0.4");
|
|
812
812
|
/**
|
|
813
813
|
* @license
|
|
814
814
|
* Copyright 2017 Google LLC
|
|
815
815
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
816
816
|
*/
|
|
817
|
-
const
|
|
818
|
-
\f\r]`,
|
|
819
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), jt = /'/g, Nt = /"/g,
|
|
820
|
-
function oe(
|
|
821
|
-
if (!Array.isArray(
|
|
817
|
+
const R = globalThis, X = R.trustedTypes, Ht = X ? X.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, ee = "$lit$", $ = `lit$${(Math.random() + "").slice(9)}$`, ie = "?" + $, je = `<${ie}>`, S = document, N = () => S.createComment(""), I = (r) => r === null || typeof r != "object" && typeof r != "function", re = Array.isArray, Ne = (r) => re(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", st = `[
|
|
818
|
+
\f\r]`, H = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Lt = /-->/g, Rt = />/g, C = RegExp(`>|${st}(?:([^\\s"'>=/]+)(${st}*=${st}*(?:[^
|
|
819
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), jt = /'/g, Nt = /"/g, se = /^(?:script|style|textarea|title)$/i, ne = (r) => (t, ...e) => ({ _$litType$: r, strings: t, values: e }), x = ne(1), Ie = ne(2), P = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), It = /* @__PURE__ */ new WeakMap(), E = S.createTreeWalker(S, 129);
|
|
820
|
+
function oe(r, t) {
|
|
821
|
+
if (!Array.isArray(r) || !r.hasOwnProperty("raw"))
|
|
822
822
|
throw Error("invalid template strings array");
|
|
823
823
|
return Ht !== void 0 ? Ht.createHTML(t) : t;
|
|
824
824
|
}
|
|
825
|
-
const
|
|
826
|
-
const e =
|
|
827
|
-
let
|
|
825
|
+
const Be = (r, t) => {
|
|
826
|
+
const e = r.length - 1, i = [];
|
|
827
|
+
let s, n = t === 2 ? "<svg>" : "", o = H;
|
|
828
828
|
for (let a = 0; a < e; a++) {
|
|
829
|
-
const
|
|
830
|
-
let
|
|
831
|
-
for (; u <
|
|
832
|
-
u = o.lastIndex, o ===
|
|
833
|
-
const f = o ===
|
|
834
|
-
n += o ===
|
|
835
|
-
}
|
|
836
|
-
return [oe(
|
|
829
|
+
const c = r[a];
|
|
830
|
+
let l, h, p = -1, u = 0;
|
|
831
|
+
for (; u < c.length && (o.lastIndex = u, h = o.exec(c), h !== null); )
|
|
832
|
+
u = o.lastIndex, o === H ? h[1] === "!--" ? o = Lt : h[1] !== void 0 ? o = Rt : h[2] !== void 0 ? (se.test(h[2]) && (s = RegExp("</" + h[2], "g")), o = C) : h[3] !== void 0 && (o = C) : o === C ? h[0] === ">" ? (o = s ?? H, p = -1) : h[1] === void 0 ? p = -2 : (p = o.lastIndex - h[2].length, l = h[1], o = h[3] === void 0 ? C : h[3] === '"' ? Nt : jt) : o === Nt || o === jt ? o = C : o === Lt || o === Rt ? o = H : (o = C, s = void 0);
|
|
833
|
+
const f = o === C && r[a + 1].startsWith("/>") ? " " : "";
|
|
834
|
+
n += o === H ? c + je : p >= 0 ? (i.push(l), c.slice(0, p) + ee + c.slice(p) + $ + f) : c + $ + (p === -2 ? a : f);
|
|
835
|
+
}
|
|
836
|
+
return [oe(r, n + (r[e] || "<?>") + (t === 2 ? "</svg>" : "")), i];
|
|
837
837
|
};
|
|
838
|
-
class
|
|
838
|
+
class B {
|
|
839
839
|
constructor({ strings: t, _$litType$: e }, i) {
|
|
840
|
-
let
|
|
840
|
+
let s;
|
|
841
841
|
this.parts = [];
|
|
842
842
|
let n = 0, o = 0;
|
|
843
|
-
const a = t.length - 1,
|
|
844
|
-
if (this.el =
|
|
843
|
+
const a = t.length - 1, c = this.parts, [l, h] = Be(t, e);
|
|
844
|
+
if (this.el = B.createElement(l, i), E.currentNode = this.el.content, e === 2) {
|
|
845
845
|
const p = this.el.content.firstChild;
|
|
846
846
|
p.replaceWith(...p.childNodes);
|
|
847
847
|
}
|
|
848
|
-
for (; (
|
|
849
|
-
if (
|
|
850
|
-
if (
|
|
851
|
-
for (const p of
|
|
848
|
+
for (; (s = E.nextNode()) !== null && c.length < a; ) {
|
|
849
|
+
if (s.nodeType === 1) {
|
|
850
|
+
if (s.hasAttributes())
|
|
851
|
+
for (const p of s.getAttributeNames())
|
|
852
852
|
if (p.endsWith(ee)) {
|
|
853
|
-
const u =
|
|
854
|
-
|
|
853
|
+
const u = h[o++], f = s.getAttribute(p).split($), T = /([.?@])?(.*)/.exec(u);
|
|
854
|
+
c.push({ type: 1, index: n, name: T[2], strings: f, ctor: T[1] === "." ? Ve : T[1] === "?" ? ze : T[1] === "@" ? We : tt }), s.removeAttribute(p);
|
|
855
855
|
} else
|
|
856
|
-
p.startsWith(
|
|
857
|
-
if (
|
|
858
|
-
const p =
|
|
856
|
+
p.startsWith($) && (c.push({ type: 6, index: n }), s.removeAttribute(p));
|
|
857
|
+
if (se.test(s.tagName)) {
|
|
858
|
+
const p = s.textContent.split($), u = p.length - 1;
|
|
859
859
|
if (u > 0) {
|
|
860
|
-
|
|
860
|
+
s.textContent = X ? X.emptyScript : "";
|
|
861
861
|
for (let f = 0; f < u; f++)
|
|
862
|
-
|
|
863
|
-
|
|
862
|
+
s.append(p[f], N()), E.nextNode(), c.push({ type: 2, index: ++n });
|
|
863
|
+
s.append(p[u], N());
|
|
864
864
|
}
|
|
865
865
|
}
|
|
866
|
-
} else if (
|
|
867
|
-
if (
|
|
868
|
-
|
|
866
|
+
} else if (s.nodeType === 8)
|
|
867
|
+
if (s.data === ie)
|
|
868
|
+
c.push({ type: 2, index: n });
|
|
869
869
|
else {
|
|
870
870
|
let p = -1;
|
|
871
|
-
for (; (p =
|
|
872
|
-
|
|
871
|
+
for (; (p = s.data.indexOf($, p + 1)) !== -1; )
|
|
872
|
+
c.push({ type: 7, index: n }), p += $.length - 1;
|
|
873
873
|
}
|
|
874
874
|
n++;
|
|
875
875
|
}
|
|
876
876
|
}
|
|
877
877
|
static createElement(t, e) {
|
|
878
|
-
const i =
|
|
878
|
+
const i = S.createElement("template");
|
|
879
879
|
return i.innerHTML = t, i;
|
|
880
880
|
}
|
|
881
881
|
}
|
|
882
|
-
function M(
|
|
882
|
+
function M(r, t, e = r, i) {
|
|
883
883
|
var o, a;
|
|
884
|
-
if (t ===
|
|
884
|
+
if (t === P)
|
|
885
885
|
return t;
|
|
886
|
-
let
|
|
887
|
-
const n =
|
|
888
|
-
return (
|
|
886
|
+
let s = i !== void 0 ? (o = e._$Co) == null ? void 0 : o[i] : e._$Cl;
|
|
887
|
+
const n = I(t) ? void 0 : t._$litDirective$;
|
|
888
|
+
return (s == null ? void 0 : s.constructor) !== n && ((a = s == null ? void 0 : s._$AO) == null || a.call(s, !1), n === void 0 ? s = void 0 : (s = new n(r), s._$AT(r, e, i)), i !== void 0 ? (e._$Co ?? (e._$Co = []))[i] = s : e._$Cl = s), s !== void 0 && (t = M(r, s._$AS(r, t.values), s, i)), t;
|
|
889
889
|
}
|
|
890
890
|
class De {
|
|
891
891
|
constructor(t, e) {
|
|
@@ -898,17 +898,17 @@ class De {
|
|
|
898
898
|
return this._$AM._$AU;
|
|
899
899
|
}
|
|
900
900
|
u(t) {
|
|
901
|
-
const { el: { content: e }, parts: i } = this._$AD,
|
|
902
|
-
|
|
903
|
-
let n =
|
|
904
|
-
for (;
|
|
905
|
-
if (o ===
|
|
906
|
-
let
|
|
907
|
-
|
|
901
|
+
const { el: { content: e }, parts: i } = this._$AD, s = ((t == null ? void 0 : t.creationScope) ?? S).importNode(e, !0);
|
|
902
|
+
E.currentNode = s;
|
|
903
|
+
let n = E.nextNode(), o = 0, a = 0, c = i[0];
|
|
904
|
+
for (; c !== void 0; ) {
|
|
905
|
+
if (o === c.index) {
|
|
906
|
+
let l;
|
|
907
|
+
c.type === 2 ? l = new V(n, n.nextSibling, this, t) : c.type === 1 ? l = new c.ctor(n, c.name, c.strings, this, t) : c.type === 6 && (l = new Ye(n, this, t)), this._$AV.push(l), c = i[++a];
|
|
908
908
|
}
|
|
909
|
-
o !== (
|
|
909
|
+
o !== (c == null ? void 0 : c.index) && (n = E.nextNode(), o++);
|
|
910
910
|
}
|
|
911
|
-
return
|
|
911
|
+
return E.currentNode = S, s;
|
|
912
912
|
}
|
|
913
913
|
p(t) {
|
|
914
914
|
let e = 0;
|
|
@@ -916,13 +916,13 @@ class De {
|
|
|
916
916
|
i !== void 0 && (i.strings !== void 0 ? (i._$AI(t, i, e), e += i.strings.length - 2) : i._$AI(t[e])), e++;
|
|
917
917
|
}
|
|
918
918
|
}
|
|
919
|
-
class
|
|
919
|
+
class V {
|
|
920
920
|
get _$AU() {
|
|
921
921
|
var t;
|
|
922
922
|
return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
|
|
923
923
|
}
|
|
924
|
-
constructor(t, e, i,
|
|
925
|
-
this.type = 2, this._$AH = d, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = i, this.options =
|
|
924
|
+
constructor(t, e, i, s) {
|
|
925
|
+
this.type = 2, this._$AH = d, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = i, this.options = s, this._$Cv = (s == null ? void 0 : s.isConnected) ?? !0;
|
|
926
926
|
}
|
|
927
927
|
get parentNode() {
|
|
928
928
|
let t = this._$AA.parentNode;
|
|
@@ -936,7 +936,7 @@ class D {
|
|
|
936
936
|
return this._$AB;
|
|
937
937
|
}
|
|
938
938
|
_$AI(t, e = this) {
|
|
939
|
-
t = M(this, t, e),
|
|
939
|
+
t = M(this, t, e), I(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== P && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Ne(t) ? this.k(t) : this._(t);
|
|
940
940
|
}
|
|
941
941
|
S(t) {
|
|
942
942
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -945,35 +945,35 @@ class D {
|
|
|
945
945
|
this._$AH !== t && (this._$AR(), this._$AH = this.S(t));
|
|
946
946
|
}
|
|
947
947
|
_(t) {
|
|
948
|
-
this._$AH !== d &&
|
|
948
|
+
this._$AH !== d && I(this._$AH) ? this._$AA.nextSibling.data = t : this.T(S.createTextNode(t)), this._$AH = t;
|
|
949
949
|
}
|
|
950
950
|
$(t) {
|
|
951
951
|
var n;
|
|
952
|
-
const { values: e, _$litType$: i } = t,
|
|
953
|
-
if (((n = this._$AH) == null ? void 0 : n._$AD) ===
|
|
952
|
+
const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = B.createElement(oe(i.h, i.h[0]), this.options)), i);
|
|
953
|
+
if (((n = this._$AH) == null ? void 0 : n._$AD) === s)
|
|
954
954
|
this._$AH.p(e);
|
|
955
955
|
else {
|
|
956
|
-
const o = new De(
|
|
956
|
+
const o = new De(s, this), a = o.u(this.options);
|
|
957
957
|
o.p(e), this.T(a), this._$AH = o;
|
|
958
958
|
}
|
|
959
959
|
}
|
|
960
960
|
_$AC(t) {
|
|
961
961
|
let e = It.get(t.strings);
|
|
962
|
-
return e === void 0 && It.set(t.strings, e = new
|
|
962
|
+
return e === void 0 && It.set(t.strings, e = new B(t)), e;
|
|
963
963
|
}
|
|
964
964
|
k(t) {
|
|
965
|
-
|
|
965
|
+
re(this._$AH) || (this._$AH = [], this._$AR());
|
|
966
966
|
const e = this._$AH;
|
|
967
|
-
let i,
|
|
967
|
+
let i, s = 0;
|
|
968
968
|
for (const n of t)
|
|
969
|
-
|
|
970
|
-
|
|
969
|
+
s === e.length ? e.push(i = new V(this.S(N()), this.S(N()), this, this.options)) : i = e[s], i._$AI(n), s++;
|
|
970
|
+
s < e.length && (this._$AR(i && i._$AB.nextSibling, s), e.length = s);
|
|
971
971
|
}
|
|
972
972
|
_$AR(t = this._$AA.nextSibling, e) {
|
|
973
973
|
var i;
|
|
974
974
|
for ((i = this._$AP) == null ? void 0 : i.call(this, !1, !0, e); t && t !== this._$AB; ) {
|
|
975
|
-
const
|
|
976
|
-
t.remove(), t =
|
|
975
|
+
const s = t.nextSibling;
|
|
976
|
+
t.remove(), t = s;
|
|
977
977
|
}
|
|
978
978
|
}
|
|
979
979
|
setConnected(t) {
|
|
@@ -988,27 +988,27 @@ class tt {
|
|
|
988
988
|
get _$AU() {
|
|
989
989
|
return this._$AM._$AU;
|
|
990
990
|
}
|
|
991
|
-
constructor(t, e, i,
|
|
992
|
-
this.type = 1, this._$AH = d, this._$AN = void 0, this.element = t, this.name = e, this._$AM =
|
|
991
|
+
constructor(t, e, i, s, n) {
|
|
992
|
+
this.type = 1, this._$AH = d, this._$AN = void 0, this.element = t, this.name = e, this._$AM = s, this.options = n, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = d;
|
|
993
993
|
}
|
|
994
|
-
_$AI(t, e = this, i,
|
|
994
|
+
_$AI(t, e = this, i, s) {
|
|
995
995
|
const n = this.strings;
|
|
996
996
|
let o = !1;
|
|
997
997
|
if (n === void 0)
|
|
998
|
-
t = M(this, t, e, 0), o = !
|
|
998
|
+
t = M(this, t, e, 0), o = !I(t) || t !== this._$AH && t !== P, o && (this._$AH = t);
|
|
999
999
|
else {
|
|
1000
1000
|
const a = t;
|
|
1001
|
-
let
|
|
1002
|
-
for (t = n[0],
|
|
1003
|
-
|
|
1001
|
+
let c, l;
|
|
1002
|
+
for (t = n[0], c = 0; c < n.length - 1; c++)
|
|
1003
|
+
l = M(this, a[i + c], e, c), l === P && (l = this._$AH[c]), o || (o = !I(l) || l !== this._$AH[c]), l === d ? t = d : t !== d && (t += (l ?? "") + n[c + 1]), this._$AH[c] = l;
|
|
1004
1004
|
}
|
|
1005
|
-
o && !
|
|
1005
|
+
o && !s && this.j(t);
|
|
1006
1006
|
}
|
|
1007
1007
|
j(t) {
|
|
1008
1008
|
t === d ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
|
1009
1009
|
}
|
|
1010
1010
|
}
|
|
1011
|
-
class
|
|
1011
|
+
class Ve extends tt {
|
|
1012
1012
|
constructor() {
|
|
1013
1013
|
super(...arguments), this.type = 3;
|
|
1014
1014
|
}
|
|
@@ -1025,14 +1025,14 @@ class ze extends tt {
|
|
|
1025
1025
|
}
|
|
1026
1026
|
}
|
|
1027
1027
|
class We extends tt {
|
|
1028
|
-
constructor(t, e, i,
|
|
1029
|
-
super(t, e, i,
|
|
1028
|
+
constructor(t, e, i, s, n) {
|
|
1029
|
+
super(t, e, i, s, n), this.type = 5;
|
|
1030
1030
|
}
|
|
1031
1031
|
_$AI(t, e = this) {
|
|
1032
|
-
if ((t = M(this, t, e, 0) ?? d) ===
|
|
1032
|
+
if ((t = M(this, t, e, 0) ?? d) === P)
|
|
1033
1033
|
return;
|
|
1034
|
-
const i = this._$AH,
|
|
1035
|
-
|
|
1034
|
+
const i = this._$AH, s = t === d && i !== d || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, n = t !== d && (i === d || s);
|
|
1035
|
+
s && this.element.removeEventListener(this.name, this, i), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
|
1036
1036
|
}
|
|
1037
1037
|
handleEvent(t) {
|
|
1038
1038
|
var e;
|
|
@@ -1050,23 +1050,23 @@ class Ye {
|
|
|
1050
1050
|
M(this, t);
|
|
1051
1051
|
}
|
|
1052
1052
|
}
|
|
1053
|
-
const nt =
|
|
1054
|
-
nt == null || nt(
|
|
1055
|
-
const Fe = (
|
|
1053
|
+
const nt = R.litHtmlPolyfillSupport;
|
|
1054
|
+
nt == null || nt(B, V), (R.litHtmlVersions ?? (R.litHtmlVersions = [])).push("3.1.2");
|
|
1055
|
+
const Fe = (r, t, e) => {
|
|
1056
1056
|
const i = (e == null ? void 0 : e.renderBefore) ?? t;
|
|
1057
|
-
let
|
|
1058
|
-
if (
|
|
1057
|
+
let s = i._$litPart$;
|
|
1058
|
+
if (s === void 0) {
|
|
1059
1059
|
const n = (e == null ? void 0 : e.renderBefore) ?? null;
|
|
1060
|
-
i._$litPart$ =
|
|
1060
|
+
i._$litPart$ = s = new V(t.insertBefore(N(), n), n, void 0, e ?? {});
|
|
1061
1061
|
}
|
|
1062
|
-
return
|
|
1062
|
+
return s._$AI(r), s;
|
|
1063
1063
|
};
|
|
1064
1064
|
/**
|
|
1065
1065
|
* @license
|
|
1066
1066
|
* Copyright 2017 Google LLC
|
|
1067
1067
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1068
1068
|
*/
|
|
1069
|
-
let m = class extends
|
|
1069
|
+
let m = class extends k {
|
|
1070
1070
|
constructor() {
|
|
1071
1071
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
1072
1072
|
}
|
|
@@ -1088,7 +1088,7 @@ let m = class extends T {
|
|
|
1088
1088
|
super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
|
|
1089
1089
|
}
|
|
1090
1090
|
render() {
|
|
1091
|
-
return
|
|
1091
|
+
return P;
|
|
1092
1092
|
}
|
|
1093
1093
|
};
|
|
1094
1094
|
var qt;
|
|
@@ -1101,45 +1101,45 @@ ot == null || ot({ LitElement: m });
|
|
|
1101
1101
|
* Copyright 2017 Google LLC
|
|
1102
1102
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1103
1103
|
*/
|
|
1104
|
-
const Ze = { attribute: !0, type: String, converter: G, reflect: !1, hasChanged: yt }, qe = (
|
|
1105
|
-
const { kind: i, metadata:
|
|
1106
|
-
let n = globalThis.litPropertyMetadata.get(
|
|
1107
|
-
if (n === void 0 && globalThis.litPropertyMetadata.set(
|
|
1104
|
+
const Ze = { attribute: !0, type: String, converter: G, reflect: !1, hasChanged: yt }, qe = (r = Ze, t, e) => {
|
|
1105
|
+
const { kind: i, metadata: s } = e;
|
|
1106
|
+
let n = globalThis.litPropertyMetadata.get(s);
|
|
1107
|
+
if (n === void 0 && globalThis.litPropertyMetadata.set(s, n = /* @__PURE__ */ new Map()), n.set(e.name, r), i === "accessor") {
|
|
1108
1108
|
const { name: o } = e;
|
|
1109
1109
|
return { set(a) {
|
|
1110
|
-
const
|
|
1111
|
-
t.set.call(this, a), this.requestUpdate(o,
|
|
1110
|
+
const c = t.get.call(this);
|
|
1111
|
+
t.set.call(this, a), this.requestUpdate(o, c, r);
|
|
1112
1112
|
}, init(a) {
|
|
1113
|
-
return a !== void 0 && this.P(o, void 0,
|
|
1113
|
+
return a !== void 0 && this.P(o, void 0, r), a;
|
|
1114
1114
|
} };
|
|
1115
1115
|
}
|
|
1116
1116
|
if (i === "setter") {
|
|
1117
1117
|
const { name: o } = e;
|
|
1118
1118
|
return function(a) {
|
|
1119
|
-
const
|
|
1120
|
-
t.call(this, a), this.requestUpdate(o,
|
|
1119
|
+
const c = this[o];
|
|
1120
|
+
t.call(this, a), this.requestUpdate(o, c, r);
|
|
1121
1121
|
};
|
|
1122
1122
|
}
|
|
1123
1123
|
throw Error("Unsupported decorator location: " + i);
|
|
1124
1124
|
};
|
|
1125
|
-
function g(
|
|
1126
|
-
return (t, e) => typeof e == "object" ? qe(
|
|
1127
|
-
const o =
|
|
1128
|
-
return
|
|
1129
|
-
})(
|
|
1125
|
+
function g(r) {
|
|
1126
|
+
return (t, e) => typeof e == "object" ? qe(r, t, e) : ((i, s, n) => {
|
|
1127
|
+
const o = s.hasOwnProperty(n);
|
|
1128
|
+
return s.constructor.createProperty(n, o ? { ...i, wrapped: !0 } : i), o ? Object.getOwnPropertyDescriptor(s, n) : void 0;
|
|
1129
|
+
})(r, t, e);
|
|
1130
1130
|
}
|
|
1131
1131
|
/**
|
|
1132
1132
|
* @license
|
|
1133
1133
|
* Copyright 2017 Google LLC
|
|
1134
1134
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1135
1135
|
*/
|
|
1136
|
-
function
|
|
1137
|
-
return g({ ...
|
|
1136
|
+
function U(r) {
|
|
1137
|
+
return g({ ...r, state: !0, attribute: !1 });
|
|
1138
1138
|
}
|
|
1139
|
-
var Ke = Object.defineProperty, Ge = Object.getOwnPropertyDescriptor, Xe = (
|
|
1140
|
-
for (var
|
|
1141
|
-
(o =
|
|
1142
|
-
return i &&
|
|
1139
|
+
var Ke = Object.defineProperty, Ge = Object.getOwnPropertyDescriptor, Xe = (r, t, e, i) => {
|
|
1140
|
+
for (var s = i > 1 ? void 0 : i ? Ge(t, e) : t, n = r.length - 1, o; n >= 0; n--)
|
|
1141
|
+
(o = r[n]) && (s = (i ? o(t, e, s) : o(s)) || s);
|
|
1142
|
+
return i && s && Ke(t, e, s), s;
|
|
1143
1143
|
};
|
|
1144
1144
|
class bt extends m {
|
|
1145
1145
|
constructor() {
|
|
@@ -1154,7 +1154,7 @@ class bt extends m {
|
|
|
1154
1154
|
}
|
|
1155
1155
|
}
|
|
1156
1156
|
bt.styles = [
|
|
1157
|
-
|
|
1157
|
+
O`
|
|
1158
1158
|
:host {
|
|
1159
1159
|
position: fixed;
|
|
1160
1160
|
display: flex;
|
|
@@ -1180,7 +1180,7 @@ Xe([
|
|
|
1180
1180
|
* Copyright 2017 Google LLC
|
|
1181
1181
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1182
1182
|
*/
|
|
1183
|
-
const $t = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, _t = (
|
|
1183
|
+
const $t = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, _t = (r) => (...t) => ({ _$litDirective$: r, values: t });
|
|
1184
1184
|
let ae = class {
|
|
1185
1185
|
constructor(t) {
|
|
1186
1186
|
}
|
|
@@ -1202,65 +1202,65 @@ let ae = class {
|
|
|
1202
1202
|
* Copyright 2020 Google LLC
|
|
1203
1203
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1204
1204
|
*/
|
|
1205
|
-
const Je = (
|
|
1205
|
+
const Je = (r) => r.strings === void 0;
|
|
1206
1206
|
/**
|
|
1207
1207
|
* @license
|
|
1208
1208
|
* Copyright 2017 Google LLC
|
|
1209
1209
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1210
1210
|
*/
|
|
1211
|
-
const
|
|
1211
|
+
const j = (r, t) => {
|
|
1212
1212
|
var i;
|
|
1213
|
-
const e =
|
|
1213
|
+
const e = r._$AN;
|
|
1214
1214
|
if (e === void 0)
|
|
1215
1215
|
return !1;
|
|
1216
|
-
for (const
|
|
1217
|
-
(i =
|
|
1216
|
+
for (const s of e)
|
|
1217
|
+
(i = s._$AO) == null || i.call(s, t, !1), j(s, t);
|
|
1218
1218
|
return !0;
|
|
1219
|
-
}, J = (
|
|
1219
|
+
}, J = (r) => {
|
|
1220
1220
|
let t, e;
|
|
1221
1221
|
do {
|
|
1222
|
-
if ((t =
|
|
1222
|
+
if ((t = r._$AM) === void 0)
|
|
1223
1223
|
break;
|
|
1224
|
-
e = t._$AN, e.delete(
|
|
1224
|
+
e = t._$AN, e.delete(r), r = t;
|
|
1225
1225
|
} while ((e == null ? void 0 : e.size) === 0);
|
|
1226
|
-
},
|
|
1227
|
-
for (let t; t =
|
|
1226
|
+
}, ce = (r) => {
|
|
1227
|
+
for (let t; t = r._$AM; r = t) {
|
|
1228
1228
|
let e = t._$AN;
|
|
1229
1229
|
if (e === void 0)
|
|
1230
1230
|
t._$AN = e = /* @__PURE__ */ new Set();
|
|
1231
|
-
else if (e.has(
|
|
1231
|
+
else if (e.has(r))
|
|
1232
1232
|
break;
|
|
1233
|
-
e.add(
|
|
1233
|
+
e.add(r), ei(t);
|
|
1234
1234
|
}
|
|
1235
1235
|
};
|
|
1236
|
-
function Qe(
|
|
1237
|
-
this._$AN !== void 0 ? (J(this), this._$AM =
|
|
1236
|
+
function Qe(r) {
|
|
1237
|
+
this._$AN !== void 0 ? (J(this), this._$AM = r, ce(this)) : this._$AM = r;
|
|
1238
1238
|
}
|
|
1239
|
-
function ti(
|
|
1240
|
-
const i = this._$AH,
|
|
1241
|
-
if (
|
|
1239
|
+
function ti(r, t = !1, e = 0) {
|
|
1240
|
+
const i = this._$AH, s = this._$AN;
|
|
1241
|
+
if (s !== void 0 && s.size !== 0)
|
|
1242
1242
|
if (t)
|
|
1243
1243
|
if (Array.isArray(i))
|
|
1244
1244
|
for (let n = e; n < i.length; n++)
|
|
1245
|
-
|
|
1245
|
+
j(i[n], !1), J(i[n]);
|
|
1246
1246
|
else
|
|
1247
|
-
i != null && (
|
|
1247
|
+
i != null && (j(i, !1), J(i));
|
|
1248
1248
|
else
|
|
1249
|
-
|
|
1249
|
+
j(this, r);
|
|
1250
1250
|
}
|
|
1251
|
-
const ei = (
|
|
1252
|
-
|
|
1251
|
+
const ei = (r) => {
|
|
1252
|
+
r.type == $t.CHILD && (r._$AP ?? (r._$AP = ti), r._$AQ ?? (r._$AQ = Qe));
|
|
1253
1253
|
};
|
|
1254
|
-
class
|
|
1254
|
+
class le extends ae {
|
|
1255
1255
|
constructor() {
|
|
1256
1256
|
super(...arguments), this._$AN = void 0;
|
|
1257
1257
|
}
|
|
1258
1258
|
_$AT(t, e, i) {
|
|
1259
|
-
super._$AT(t, e, i),
|
|
1259
|
+
super._$AT(t, e, i), ce(this), this.isConnected = t._$AU;
|
|
1260
1260
|
}
|
|
1261
1261
|
_$AO(t, e = !0) {
|
|
1262
|
-
var i,
|
|
1263
|
-
t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (
|
|
1262
|
+
var i, s;
|
|
1263
|
+
t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (s = this.disconnected) == null || s.call(this)), e && (j(this, t), J(this));
|
|
1264
1264
|
}
|
|
1265
1265
|
setValue(t) {
|
|
1266
1266
|
if (Je(this._$Ct))
|
|
@@ -1276,31 +1276,31 @@ class he extends ae {
|
|
|
1276
1276
|
}
|
|
1277
1277
|
}
|
|
1278
1278
|
const ii = /* @__PURE__ */ new WeakMap();
|
|
1279
|
-
let
|
|
1280
|
-
const at = /* @__PURE__ */ new Map(), Dt = /* @__PURE__ */ new WeakSet(),
|
|
1281
|
-
const e =
|
|
1279
|
+
let Bt = 0;
|
|
1280
|
+
const at = /* @__PURE__ */ new Map(), Dt = /* @__PURE__ */ new WeakSet(), Vt = () => new Promise((r) => requestAnimationFrame(r)), ri = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], zt = (r, t) => {
|
|
1281
|
+
const e = r - t;
|
|
1282
1282
|
return e === 0 ? void 0 : e;
|
|
1283
|
-
}, Wt = (
|
|
1284
|
-
const e =
|
|
1283
|
+
}, Wt = (r, t) => {
|
|
1284
|
+
const e = r / t;
|
|
1285
1285
|
return e === 1 ? void 0 : e;
|
|
1286
|
-
},
|
|
1287
|
-
const e = zt(
|
|
1286
|
+
}, ct = { left: (r, t) => {
|
|
1287
|
+
const e = zt(r, t);
|
|
1288
1288
|
return { value: e, transform: e == null || isNaN(e) ? void 0 : `translateX(${e}px)` };
|
|
1289
|
-
}, top: (
|
|
1290
|
-
const e = zt(
|
|
1289
|
+
}, top: (r, t) => {
|
|
1290
|
+
const e = zt(r, t);
|
|
1291
1291
|
return { value: e, transform: e == null || isNaN(e) ? void 0 : `translateY(${e}px)` };
|
|
1292
|
-
}, width: (
|
|
1292
|
+
}, width: (r, t) => {
|
|
1293
1293
|
let e;
|
|
1294
1294
|
t === 0 && (t = 1, e = { width: "1px" });
|
|
1295
|
-
const i = Wt(
|
|
1295
|
+
const i = Wt(r, t);
|
|
1296
1296
|
return { value: i, overrideFrom: e, transform: i == null || isNaN(i) ? void 0 : `scaleX(${i})` };
|
|
1297
|
-
}, height: (
|
|
1297
|
+
}, height: (r, t) => {
|
|
1298
1298
|
let e;
|
|
1299
1299
|
t === 0 && (t = 1, e = { height: "1px" });
|
|
1300
|
-
const i = Wt(
|
|
1300
|
+
const i = Wt(r, t);
|
|
1301
1301
|
return { value: i, overrideFrom: e, transform: i == null || isNaN(i) ? void 0 : `scaleY(${i})` };
|
|
1302
|
-
} },
|
|
1303
|
-
class oi extends
|
|
1302
|
+
} }, si = { duration: 333, easing: "ease-in-out" }, ni = ["left", "top", "width", "height", "opacity", "color", "background"], Yt = /* @__PURE__ */ new WeakMap();
|
|
1303
|
+
class oi extends le {
|
|
1304
1304
|
constructor(t) {
|
|
1305
1305
|
if (super(t), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, t.type === $t.CHILD)
|
|
1306
1306
|
throw Error("The `animate` directive must be used in attribute position.");
|
|
@@ -1327,9 +1327,9 @@ class oi extends he {
|
|
|
1327
1327
|
return this.options.disabled || ((t = this.getController()) == null ? void 0 : t.disabled);
|
|
1328
1328
|
}
|
|
1329
1329
|
update(t, [e]) {
|
|
1330
|
-
var
|
|
1330
|
+
var s;
|
|
1331
1331
|
const i = this.u === void 0;
|
|
1332
|
-
return i && (this.u = (
|
|
1332
|
+
return i && (this.u = (s = t.options) == null ? void 0 : s.host, this.u.addController(this), this.u.updateComplete.then((n) => this.t = !0), this.element = t.element, Yt.set(this.element, this)), this.optionsOrCallback = e, (i || typeof e != "function") && this.p(e), this.render(e);
|
|
1333
1333
|
}
|
|
1334
1334
|
p(t) {
|
|
1335
1335
|
t = t ?? {};
|
|
@@ -1338,18 +1338,18 @@ class oi extends he {
|
|
|
1338
1338
|
}
|
|
1339
1339
|
m() {
|
|
1340
1340
|
const t = {}, e = this.element.getBoundingClientRect(), i = getComputedStyle(this.element);
|
|
1341
|
-
return this.options.properties.forEach((
|
|
1342
|
-
const n = e[
|
|
1343
|
-
t[
|
|
1341
|
+
return this.options.properties.forEach((s) => {
|
|
1342
|
+
const n = e[s] ?? (ct[s] ? void 0 : i[s]), o = Number(n);
|
|
1343
|
+
t[s] = isNaN(o) ? n + "" : o;
|
|
1344
1344
|
}), t;
|
|
1345
1345
|
}
|
|
1346
1346
|
v() {
|
|
1347
1347
|
let t, e = !0;
|
|
1348
|
-
return this.options.guard && (t = this.options.guard(), e = ((i,
|
|
1348
|
+
return this.options.guard && (t = this.options.guard(), e = ((i, s) => {
|
|
1349
1349
|
if (Array.isArray(i)) {
|
|
1350
|
-
if (Array.isArray(
|
|
1350
|
+
if (Array.isArray(s) && s.length === i.length && i.every((n, o) => n === s[o]))
|
|
1351
1351
|
return !1;
|
|
1352
|
-
} else if (
|
|
1352
|
+
} else if (s === i)
|
|
1353
1353
|
return !1;
|
|
1354
1354
|
return !0;
|
|
1355
1355
|
})(t, this._)), this.h = this.t && !this.isDisabled() && !this.isAnimating() && e && this.element.isConnected, this.h && (this._ = Array.isArray(t) ? Array.from(t) : t), this.h;
|
|
@@ -1361,17 +1361,17 @@ class oi extends he {
|
|
|
1361
1361
|
if (!this.h || !this.element.isConnected || this.options.skipInitial && !this.isHostRendered)
|
|
1362
1362
|
return;
|
|
1363
1363
|
let t;
|
|
1364
|
-
this.prepare(), await
|
|
1365
|
-
const e = this.O(), i = this.j(this.options.keyframeOptions, e),
|
|
1364
|
+
this.prepare(), await Vt;
|
|
1365
|
+
const e = this.O(), i = this.j(this.options.keyframeOptions, e), s = this.m();
|
|
1366
1366
|
if (this.A !== void 0) {
|
|
1367
|
-
const { from: n, to: o } = this.N(this.A,
|
|
1368
|
-
this.log("measured", [this.A,
|
|
1367
|
+
const { from: n, to: o } = this.N(this.A, s, e);
|
|
1368
|
+
this.log("measured", [this.A, s, n, o]), t = this.calculateKeyframes(n, o);
|
|
1369
1369
|
} else {
|
|
1370
1370
|
const n = at.get(this.options.inId);
|
|
1371
1371
|
if (n) {
|
|
1372
1372
|
at.delete(this.options.inId);
|
|
1373
|
-
const { from: o, to: a } = this.N(n,
|
|
1374
|
-
t = this.calculateKeyframes(o, a), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t,
|
|
1373
|
+
const { from: o, to: a } = this.N(n, s, e);
|
|
1374
|
+
t = this.calculateKeyframes(o, a), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t, Bt++, t.forEach((c) => c.zIndex = Bt);
|
|
1375
1375
|
} else
|
|
1376
1376
|
this.options.in && (t = [...this.options.in, {}]);
|
|
1377
1377
|
}
|
|
@@ -1390,12 +1390,12 @@ class oi extends he {
|
|
|
1390
1390
|
var e;
|
|
1391
1391
|
if (!this.h || (this.options.id !== void 0 && at.set(this.options.id, this.A), this.options.out === void 0))
|
|
1392
1392
|
return;
|
|
1393
|
-
if (this.prepare(), await
|
|
1393
|
+
if (this.prepare(), await Vt(), (e = this.i) == null ? void 0 : e.isConnected) {
|
|
1394
1394
|
const i = this.o && this.o.parentNode === this.i ? this.o : null;
|
|
1395
1395
|
if (this.i.insertBefore(this.element, i), this.options.stabilizeOut) {
|
|
1396
|
-
const
|
|
1396
|
+
const s = this.m();
|
|
1397
1397
|
this.log("stabilizing out");
|
|
1398
|
-
const n = this.A.left -
|
|
1398
|
+
const n = this.A.left - s.left, o = this.A.top - s.top;
|
|
1399
1399
|
getComputedStyle(this.element).position !== "static" || n === 0 && o === 0 || (this.element.style.position = "relative"), n !== 0 && (this.element.style.left = n + "px"), o !== 0 && (this.element.style.top = o + "px");
|
|
1400
1400
|
}
|
|
1401
1401
|
}
|
|
@@ -1428,46 +1428,46 @@ class oi extends he {
|
|
|
1428
1428
|
}), t;
|
|
1429
1429
|
}
|
|
1430
1430
|
j(t, e = this.O()) {
|
|
1431
|
-
const i = { ...
|
|
1432
|
-
return e.forEach((
|
|
1431
|
+
const i = { ...si };
|
|
1432
|
+
return e.forEach((s) => Object.assign(i, s.options.keyframeOptions)), Object.assign(i, t), i;
|
|
1433
1433
|
}
|
|
1434
1434
|
N(t, e, i) {
|
|
1435
1435
|
t = { ...t }, e = { ...e };
|
|
1436
|
-
const
|
|
1436
|
+
const s = i.map((a) => a.animatingProperties).filter((a) => a !== void 0);
|
|
1437
1437
|
let n = 1, o = 1;
|
|
1438
|
-
return
|
|
1438
|
+
return s.length > 0 && (s.forEach((a) => {
|
|
1439
1439
|
a.width && (n /= a.width), a.height && (o /= a.height);
|
|
1440
1440
|
}), t.left !== void 0 && e.left !== void 0 && (t.left = n * t.left, e.left = n * e.left), t.top !== void 0 && e.top !== void 0 && (t.top = o * t.top, e.top = o * e.top)), { from: t, to: e };
|
|
1441
1441
|
}
|
|
1442
1442
|
calculateKeyframes(t, e, i = !1) {
|
|
1443
|
-
const
|
|
1443
|
+
const s = {}, n = {};
|
|
1444
1444
|
let o = !1;
|
|
1445
1445
|
const a = {};
|
|
1446
|
-
for (const
|
|
1447
|
-
const
|
|
1448
|
-
if (
|
|
1449
|
-
const p =
|
|
1450
|
-
if (
|
|
1446
|
+
for (const c in e) {
|
|
1447
|
+
const l = t[c], h = e[c];
|
|
1448
|
+
if (c in ct) {
|
|
1449
|
+
const p = ct[c];
|
|
1450
|
+
if (l === void 0 || h === void 0)
|
|
1451
1451
|
continue;
|
|
1452
|
-
const u = p(
|
|
1453
|
-
u.transform !== void 0 && (a[
|
|
1452
|
+
const u = p(l, h);
|
|
1453
|
+
u.transform !== void 0 && (a[c] = u.value, o = !0, s.transform = `${s.transform ?? ""} ${u.transform}`, u.overrideFrom !== void 0 && Object.assign(s, u.overrideFrom));
|
|
1454
1454
|
} else
|
|
1455
|
-
|
|
1455
|
+
l !== h && l !== void 0 && h !== void 0 && (o = !0, s[c] = l, n[c] = h);
|
|
1456
1456
|
}
|
|
1457
|
-
return
|
|
1457
|
+
return s.transformOrigin = n.transformOrigin = i ? "center center" : "top left", this.animatingProperties = a, o ? [s, n] : void 0;
|
|
1458
1458
|
}
|
|
1459
1459
|
async animate(t, e = this.options.keyframeOptions) {
|
|
1460
1460
|
this.start(), this.frames = t;
|
|
1461
1461
|
let i = !1;
|
|
1462
1462
|
if (!this.isAnimating() && !this.isDisabled() && (this.options.onFrames && (this.frames = t = this.options.onFrames(this), this.log("modified frames", t)), t !== void 0)) {
|
|
1463
1463
|
this.log("animate", [t, e]), i = !0, this.webAnimation = this.element.animate(t, e);
|
|
1464
|
-
const
|
|
1465
|
-
|
|
1464
|
+
const s = this.getController();
|
|
1465
|
+
s == null || s.add(this);
|
|
1466
1466
|
try {
|
|
1467
1467
|
await this.webAnimation.finished;
|
|
1468
1468
|
} catch {
|
|
1469
1469
|
}
|
|
1470
|
-
|
|
1470
|
+
s == null || s.remove(this);
|
|
1471
1471
|
}
|
|
1472
1472
|
return this.didFinish(i), i;
|
|
1473
1473
|
}
|
|
@@ -1479,84 +1479,100 @@ class oi extends he {
|
|
|
1479
1479
|
this.shouldLog && !this.isDisabled() && console.log(t, this.options.id, e);
|
|
1480
1480
|
}
|
|
1481
1481
|
}
|
|
1482
|
-
const ai = _t(oi),
|
|
1482
|
+
const ai = _t(oi), ci = { 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>' };
|
|
1483
1483
|
/**
|
|
1484
1484
|
* @license
|
|
1485
1485
|
* Copyright 2018 Google LLC
|
|
1486
1486
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1487
1487
|
*/
|
|
1488
1488
|
const Ft = _t(class extends ae {
|
|
1489
|
-
constructor(
|
|
1489
|
+
constructor(r) {
|
|
1490
1490
|
var t;
|
|
1491
|
-
if (super(
|
|
1491
|
+
if (super(r), r.type !== $t.ATTRIBUTE || r.name !== "class" || ((t = r.strings) == null ? void 0 : t.length) > 2)
|
|
1492
1492
|
throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
|
|
1493
1493
|
}
|
|
1494
|
-
render(
|
|
1495
|
-
return " " + Object.keys(
|
|
1494
|
+
render(r) {
|
|
1495
|
+
return " " + Object.keys(r).filter((t) => r[t]).join(" ") + " ";
|
|
1496
1496
|
}
|
|
1497
|
-
update(
|
|
1498
|
-
var i,
|
|
1497
|
+
update(r, [t]) {
|
|
1498
|
+
var i, s;
|
|
1499
1499
|
if (this.st === void 0) {
|
|
1500
|
-
this.st = /* @__PURE__ */ new Set(),
|
|
1500
|
+
this.st = /* @__PURE__ */ new Set(), r.strings !== void 0 && (this.nt = new Set(r.strings.join(" ").split(/\s/).filter((n) => n !== "")));
|
|
1501
1501
|
for (const n in t)
|
|
1502
1502
|
t[n] && !((i = this.nt) != null && i.has(n)) && this.st.add(n);
|
|
1503
1503
|
return this.render(t);
|
|
1504
1504
|
}
|
|
1505
|
-
const e =
|
|
1505
|
+
const e = r.element.classList;
|
|
1506
1506
|
for (const n of this.st)
|
|
1507
1507
|
n in t || (e.remove(n), this.st.delete(n));
|
|
1508
1508
|
for (const n in t) {
|
|
1509
1509
|
const o = !!t[n];
|
|
1510
|
-
o === this.st.has(n) || (
|
|
1510
|
+
o === this.st.has(n) || (s = this.nt) != null && s.has(n) || (o ? (e.add(n), this.st.add(n)) : (e.remove(n), this.st.delete(n)));
|
|
1511
1511
|
}
|
|
1512
|
-
return
|
|
1513
|
-
}
|
|
1514
|
-
}),
|
|
1515
|
-
|
|
1516
|
-
},
|
|
1517
|
-
var e, i,
|
|
1518
|
-
|
|
1519
|
-
(i =
|
|
1512
|
+
return P;
|
|
1513
|
+
}
|
|
1514
|
+
}), y = (r, t, e) => {
|
|
1515
|
+
r && e.style.setProperty(t, r);
|
|
1516
|
+
}, he = (r, t) => {
|
|
1517
|
+
var e, i, s, n, o, a, c, l, h;
|
|
1518
|
+
y((e = r.colors) == null ? void 0 : e.primaryBackground, "--primary-background", t), y(
|
|
1519
|
+
(i = r.colors) == null ? void 0 : i.textOnPrimaryBackground,
|
|
1520
1520
|
"--text-on-primary-background",
|
|
1521
1521
|
t
|
|
1522
|
-
),
|
|
1523
|
-
(
|
|
1522
|
+
), y(
|
|
1523
|
+
(s = r.colors) == null ? void 0 : s.secondaryBackground,
|
|
1524
1524
|
"--secondary-background",
|
|
1525
1525
|
t
|
|
1526
|
-
),
|
|
1527
|
-
(n =
|
|
1526
|
+
), y(
|
|
1527
|
+
(n = r.colors) == null ? void 0 : n.textOnSecondaryBackground,
|
|
1528
1528
|
"--text-on-secondary-background",
|
|
1529
1529
|
t
|
|
1530
|
-
)
|
|
1530
|
+
), y(
|
|
1531
|
+
(o = r.colors) == null ? void 0 : o.interactiveDestructiveBackground,
|
|
1532
|
+
"--destructive-color",
|
|
1533
|
+
t
|
|
1534
|
+
), y(
|
|
1535
|
+
(a = r.colors) == null ? void 0 : a.interactiveTextOnDestructiveBackground,
|
|
1536
|
+
"--text-on-destructive-color",
|
|
1537
|
+
t
|
|
1538
|
+
), y(
|
|
1539
|
+
(c = r.colors) == null ? void 0 : c.interactivePrimaryBackground,
|
|
1540
|
+
"--interactive-primary-background",
|
|
1541
|
+
t
|
|
1542
|
+
), y(
|
|
1543
|
+
(l = r.colors) == null ? void 0 : l.interactiveTextOnPrimaryBackground,
|
|
1544
|
+
"--interactive-text-on-primary-background",
|
|
1545
|
+
t
|
|
1546
|
+
), y((h = r.colors) == null ? void 0 : h.focusColor, "--focus-color", t);
|
|
1531
1547
|
};
|
|
1532
1548
|
/**
|
|
1533
1549
|
* @license
|
|
1534
1550
|
* Copyright 2020 Google LLC
|
|
1535
1551
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1536
1552
|
*/
|
|
1537
|
-
const pe = () => new
|
|
1538
|
-
class
|
|
1553
|
+
const pe = () => new li();
|
|
1554
|
+
class li {
|
|
1539
1555
|
}
|
|
1540
|
-
const
|
|
1541
|
-
render(
|
|
1556
|
+
const lt = /* @__PURE__ */ new WeakMap(), de = _t(class extends le {
|
|
1557
|
+
render(r) {
|
|
1542
1558
|
return d;
|
|
1543
1559
|
}
|
|
1544
|
-
update(
|
|
1560
|
+
update(r, [t]) {
|
|
1545
1561
|
var i;
|
|
1546
1562
|
const e = t !== this.Y;
|
|
1547
|
-
return e && this.Y !== void 0 && this.rt(void 0), (e || this.lt !== this.ct) && (this.Y = t, this.ht = (i =
|
|
1563
|
+
return e && this.Y !== void 0 && this.rt(void 0), (e || this.lt !== this.ct) && (this.Y = t, this.ht = (i = r.options) == null ? void 0 : i.host, this.rt(this.ct = r.element)), d;
|
|
1548
1564
|
}
|
|
1549
|
-
rt(
|
|
1565
|
+
rt(r) {
|
|
1550
1566
|
if (typeof this.Y == "function") {
|
|
1551
1567
|
const t = this.ht ?? globalThis;
|
|
1552
|
-
let e =
|
|
1553
|
-
e === void 0 && (e = /* @__PURE__ */ new WeakMap(),
|
|
1568
|
+
let e = lt.get(t);
|
|
1569
|
+
e === void 0 && (e = /* @__PURE__ */ new WeakMap(), lt.set(t, e)), e.get(this.Y) !== void 0 && this.Y.call(this.ht, void 0), e.set(this.Y, r), r !== void 0 && this.Y.call(this.ht, r);
|
|
1554
1570
|
} else
|
|
1555
|
-
this.Y.value =
|
|
1571
|
+
this.Y.value = r;
|
|
1556
1572
|
}
|
|
1557
1573
|
get lt() {
|
|
1558
|
-
var
|
|
1559
|
-
return typeof this.Y == "function" ? (
|
|
1574
|
+
var r, t;
|
|
1575
|
+
return typeof this.Y == "function" ? (r = lt.get(this.ht ?? globalThis)) == null ? void 0 : r.get(this.Y) : (t = this.Y) == null ? void 0 : t.value;
|
|
1560
1576
|
}
|
|
1561
1577
|
disconnected() {
|
|
1562
1578
|
this.lt === this.ct && this.rt(void 0);
|
|
@@ -1565,12 +1581,12 @@ const ht = /* @__PURE__ */ new WeakMap(), de = _t(class extends he {
|
|
|
1565
1581
|
this.rt(this.ct);
|
|
1566
1582
|
}
|
|
1567
1583
|
});
|
|
1568
|
-
var
|
|
1569
|
-
for (var
|
|
1570
|
-
(o =
|
|
1571
|
-
return i &&
|
|
1584
|
+
var hi = Object.defineProperty, pi = Object.getOwnPropertyDescriptor, z = (r, t, e, i) => {
|
|
1585
|
+
for (var s = i > 1 ? void 0 : i ? pi(t, e) : t, n = r.length - 1, o; n >= 0; n--)
|
|
1586
|
+
(o = r[n]) && (s = (i ? o(t, e, s) : o(s)) || s);
|
|
1587
|
+
return i && s && hi(t, e, s), s;
|
|
1572
1588
|
};
|
|
1573
|
-
class
|
|
1589
|
+
class w extends m {
|
|
1574
1590
|
constructor() {
|
|
1575
1591
|
super(...arguments), this.active = !1, this.triggerVisible = !0, this.loaded = !1, this.containerRef = pe(), this.widgetActive$ = new Se(!1), this.componentIsDestroyed$ = new gt();
|
|
1576
1592
|
}
|
|
@@ -1592,23 +1608,23 @@ class _ extends m {
|
|
|
1592
1608
|
}
|
|
1593
1609
|
_applyBranding() {
|
|
1594
1610
|
var t;
|
|
1595
|
-
(t = this.application) != null && t.settings &&
|
|
1611
|
+
(t = this.application) != null && t.settings && he(this.application.settings.branding, this);
|
|
1596
1612
|
}
|
|
1597
1613
|
async _renderSymbol() {
|
|
1598
|
-
var a,
|
|
1599
|
-
const t = (a = this.application) == null ? void 0 : a.branding(), e = (
|
|
1614
|
+
var a, c, l;
|
|
1615
|
+
const t = (a = this.application) == null ? void 0 : a.branding(), e = (c = t == null ? void 0 : t.graphics) == null ? void 0 : c.trigger;
|
|
1600
1616
|
if (e)
|
|
1601
|
-
return
|
|
1602
|
-
const i = (
|
|
1617
|
+
return x` <img src=${e} class="trigger-icon" alt="" /> `;
|
|
1618
|
+
const i = (l = this.application) == null ? void 0 : l.triggerIcon;
|
|
1603
1619
|
if (!i)
|
|
1604
1620
|
return d;
|
|
1605
|
-
const
|
|
1621
|
+
const s = async (h) => ci, { type: n, content: o } = i;
|
|
1606
1622
|
switch (n) {
|
|
1607
1623
|
case "Telia": {
|
|
1608
|
-
const
|
|
1609
|
-
return
|
|
1624
|
+
const h = await s();
|
|
1625
|
+
return h ? x`<telia-icon
|
|
1610
1626
|
class="trigger-icon"
|
|
1611
|
-
svg=${
|
|
1627
|
+
svg=${h.svg}
|
|
1612
1628
|
size="lg"
|
|
1613
1629
|
></telia-icon>` : d;
|
|
1614
1630
|
}
|
|
@@ -1623,22 +1639,22 @@ class _ extends m {
|
|
|
1623
1639
|
this.triggerVisible = !0;
|
|
1624
1640
|
}
|
|
1625
1641
|
render() {
|
|
1626
|
-
var t, e, i,
|
|
1627
|
-
return
|
|
1642
|
+
var t, e, i, s;
|
|
1643
|
+
return x`<div
|
|
1628
1644
|
class=${Ft({
|
|
1629
1645
|
"trigger-container": !0,
|
|
1630
1646
|
hidden: !this.triggerVisible
|
|
1631
1647
|
})}
|
|
1632
1648
|
${de(this.containerRef)}
|
|
1633
1649
|
>
|
|
1634
|
-
${!this.active && ((
|
|
1650
|
+
${!this.active && ((s = (i = (e = (t = this.application) == null ? void 0 : t.settings) == null ? void 0 : e.branding) == null ? void 0 : i.other) != null && s.showButtonLabel) ? x`
|
|
1635
1651
|
<button
|
|
1636
1652
|
label="${this.application.settings.branding.other.buttonLabelText ?? "Widget trigger"}"
|
|
1637
1653
|
class="trigger-label"
|
|
1638
1654
|
@click=${this.toggleActive}
|
|
1639
1655
|
${ai({
|
|
1640
1656
|
keyframeOptions: {},
|
|
1641
|
-
in:
|
|
1657
|
+
in: ri,
|
|
1642
1658
|
stabilizeOut: !0,
|
|
1643
1659
|
skipInitial: !1
|
|
1644
1660
|
})}
|
|
@@ -1688,15 +1704,14 @@ class _ extends m {
|
|
|
1688
1704
|
</div>`;
|
|
1689
1705
|
}
|
|
1690
1706
|
}
|
|
1691
|
-
|
|
1692
|
-
|
|
1707
|
+
w.styles = [
|
|
1708
|
+
O`
|
|
1693
1709
|
:host {
|
|
1694
1710
|
--voca-rem-multiplier: 0.625;
|
|
1695
1711
|
--trigger-label-bg: #f5e0ff;
|
|
1696
1712
|
--trigger-label-text-color: rgba(0, 0, 0, 0.8);
|
|
1697
1713
|
display: block;
|
|
1698
1714
|
box-sizing: border-box;
|
|
1699
|
-
/* font-family: var(--font-family); */
|
|
1700
1715
|
font-family: TeliaSans, Helvetica, Arial, Lucida Grande, sans-serif;
|
|
1701
1716
|
}
|
|
1702
1717
|
|
|
@@ -1722,7 +1737,10 @@ _.styles = [
|
|
|
1722
1737
|
width: 55px;
|
|
1723
1738
|
border-radius: 55px;
|
|
1724
1739
|
cursor: pointer;
|
|
1725
|
-
background-color: var(
|
|
1740
|
+
background-color: var(
|
|
1741
|
+
--interactive-primary-background,
|
|
1742
|
+
var(--primary-background)
|
|
1743
|
+
);
|
|
1726
1744
|
font-family: Lato;
|
|
1727
1745
|
text-decoration: none;
|
|
1728
1746
|
border: 3px dashed transparent;
|
|
@@ -1754,7 +1772,10 @@ _.styles = [
|
|
|
1754
1772
|
opacity: 1;
|
|
1755
1773
|
transform: rotate(0deg) scale(1);
|
|
1756
1774
|
transition: opacity 200ms ease-out, transform 200ms ease-out;
|
|
1757
|
-
color: var(
|
|
1775
|
+
color: var(
|
|
1776
|
+
--interactive-text-on-primary-background,
|
|
1777
|
+
var(--text-on-primary-background)
|
|
1778
|
+
);
|
|
1758
1779
|
}
|
|
1759
1780
|
.trigger-close {
|
|
1760
1781
|
opacity: 0;
|
|
@@ -1770,7 +1791,10 @@ _.styles = [
|
|
|
1770
1791
|
align-items: center;
|
|
1771
1792
|
}
|
|
1772
1793
|
.trigger-close svg path {
|
|
1773
|
-
fill: var(
|
|
1794
|
+
fill: var(
|
|
1795
|
+
--interactive-text-on-primary-background,
|
|
1796
|
+
var(--text-on-primary-background)
|
|
1797
|
+
);
|
|
1774
1798
|
}
|
|
1775
1799
|
|
|
1776
1800
|
img {
|
|
@@ -1800,28 +1824,28 @@ _.styles = [
|
|
|
1800
1824
|
}
|
|
1801
1825
|
`
|
|
1802
1826
|
];
|
|
1803
|
-
|
|
1827
|
+
z([
|
|
1804
1828
|
g({ attribute: !1 })
|
|
1805
|
-
],
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
],
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
],
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
],
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
],
|
|
1818
|
-
var di = Object.defineProperty, ui = Object.getOwnPropertyDescriptor,
|
|
1819
|
-
for (var
|
|
1820
|
-
(o =
|
|
1821
|
-
return i &&
|
|
1829
|
+
], w.prototype, "application", 2);
|
|
1830
|
+
z([
|
|
1831
|
+
U()
|
|
1832
|
+
], w.prototype, "active", 2);
|
|
1833
|
+
z([
|
|
1834
|
+
U()
|
|
1835
|
+
], w.prototype, "triggerVisible", 2);
|
|
1836
|
+
z([
|
|
1837
|
+
U()
|
|
1838
|
+
], w.prototype, "loaded", 2);
|
|
1839
|
+
z([
|
|
1840
|
+
U()
|
|
1841
|
+
], w.prototype, "icon", 2);
|
|
1842
|
+
var di = Object.defineProperty, ui = Object.getOwnPropertyDescriptor, A = (r, t, e, i) => {
|
|
1843
|
+
for (var s = i > 1 ? void 0 : i ? ui(t, e) : t, n = r.length - 1, o; n >= 0; n--)
|
|
1844
|
+
(o = r[n]) && (s = (i ? o(t, e, s) : o(s)) || s);
|
|
1845
|
+
return i && s && di(t, e, s), s;
|
|
1822
1846
|
};
|
|
1823
|
-
const ue = (
|
|
1824
|
-
class t extends
|
|
1847
|
+
const ue = (r) => {
|
|
1848
|
+
class t extends r {
|
|
1825
1849
|
constructor() {
|
|
1826
1850
|
super(...arguments), this.properties = {}, this.context = {}, this.layout = {}, this.nodes = [];
|
|
1827
1851
|
}
|
|
@@ -1846,7 +1870,7 @@ const ue = (s) => {
|
|
|
1846
1870
|
}
|
|
1847
1871
|
return t.styles = [
|
|
1848
1872
|
// (superClass as unknown as typeof LitElement).styles ?? [],
|
|
1849
|
-
|
|
1873
|
+
O`
|
|
1850
1874
|
:host {
|
|
1851
1875
|
font-family: var(--font-family);
|
|
1852
1876
|
grid-column: span var(--width);
|
|
@@ -1859,29 +1883,29 @@ const ue = (s) => {
|
|
|
1859
1883
|
box-sizing: border-box;
|
|
1860
1884
|
}
|
|
1861
1885
|
`
|
|
1862
|
-
],
|
|
1886
|
+
], A([
|
|
1863
1887
|
g()
|
|
1864
|
-
], t.prototype, "properties", 2),
|
|
1888
|
+
], t.prototype, "properties", 2), A([
|
|
1865
1889
|
g()
|
|
1866
|
-
], t.prototype, "context", 2),
|
|
1890
|
+
], t.prototype, "context", 2), A([
|
|
1867
1891
|
g()
|
|
1868
|
-
], t.prototype, "layout", 2),
|
|
1892
|
+
], t.prototype, "layout", 2), A([
|
|
1869
1893
|
g()
|
|
1870
|
-
], t.prototype, "name", 2),
|
|
1894
|
+
], t.prototype, "name", 2), A([
|
|
1871
1895
|
g()
|
|
1872
|
-
], t.prototype, "type", 2),
|
|
1896
|
+
], t.prototype, "type", 2), A([
|
|
1873
1897
|
g({ attribute: !1 })
|
|
1874
|
-
], t.prototype, "application", 2),
|
|
1898
|
+
], t.prototype, "application", 2), A([
|
|
1875
1899
|
g({ attribute: !1 })
|
|
1876
1900
|
], t.prototype, "parent", 2), t;
|
|
1877
1901
|
};
|
|
1878
1902
|
class fe extends ue(m) {
|
|
1879
1903
|
render() {
|
|
1880
|
-
return
|
|
1904
|
+
return x`Non resolved component`;
|
|
1881
1905
|
}
|
|
1882
1906
|
}
|
|
1883
1907
|
fe.styles = [
|
|
1884
|
-
|
|
1908
|
+
O`
|
|
1885
1909
|
:host {
|
|
1886
1910
|
display: block;
|
|
1887
1911
|
}
|
|
@@ -1892,14 +1916,14 @@ fe.styles = [
|
|
|
1892
1916
|
* Copyright 2021 Google LLC
|
|
1893
1917
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1894
1918
|
*/
|
|
1895
|
-
function* fi(
|
|
1896
|
-
if (
|
|
1919
|
+
function* fi(r, t) {
|
|
1920
|
+
if (r !== void 0) {
|
|
1897
1921
|
let e = 0;
|
|
1898
|
-
for (const i of
|
|
1922
|
+
for (const i of r)
|
|
1899
1923
|
yield t(i, e++);
|
|
1900
1924
|
}
|
|
1901
1925
|
}
|
|
1902
|
-
var wt = /* @__PURE__ */ ((
|
|
1926
|
+
var wt = /* @__PURE__ */ ((r) => (r.Inline = "inline", r.Trigger = "trigger", r))(wt || {});
|
|
1903
1927
|
/**
|
|
1904
1928
|
* @license
|
|
1905
1929
|
* Copyright 2021 Google LLC
|
|
@@ -1943,8 +1967,8 @@ class vi {
|
|
|
1943
1967
|
this.subscriptions.has(t) || this.subscriptions.set(t, { disposer: () => {
|
|
1944
1968
|
this.subscriptions.delete(t);
|
|
1945
1969
|
}, consumerHost: e });
|
|
1946
|
-
const { disposer:
|
|
1947
|
-
t(this.value,
|
|
1970
|
+
const { disposer: s } = this.subscriptions.get(t);
|
|
1971
|
+
t(this.value, s);
|
|
1948
1972
|
}
|
|
1949
1973
|
clearCallbacks() {
|
|
1950
1974
|
this.subscriptions.clear();
|
|
@@ -1962,7 +1986,7 @@ let mi = class extends Event {
|
|
|
1962
1986
|
};
|
|
1963
1987
|
class Zt extends vi {
|
|
1964
1988
|
constructor(t, e, i) {
|
|
1965
|
-
var
|
|
1989
|
+
var s, n;
|
|
1966
1990
|
super(e.context !== void 0 ? e.initialValue : i), this.onContextRequest = (o) => {
|
|
1967
1991
|
const a = o.composedPath()[0];
|
|
1968
1992
|
o.context === this.context && a !== this.host && (o.stopPropagation(), this.addCallback(o.callback, a, o.subscribe));
|
|
@@ -1970,11 +1994,11 @@ class Zt extends vi {
|
|
|
1970
1994
|
const a = o.composedPath()[0];
|
|
1971
1995
|
if (o.context !== this.context || a === this.host)
|
|
1972
1996
|
return;
|
|
1973
|
-
const
|
|
1974
|
-
for (const [
|
|
1975
|
-
|
|
1997
|
+
const c = /* @__PURE__ */ new Set();
|
|
1998
|
+
for (const [l, { consumerHost: h }] of this.subscriptions)
|
|
1999
|
+
c.has(l) || (c.add(l), h.dispatchEvent(new gi(this.context, l, !0)));
|
|
1976
2000
|
o.stopPropagation();
|
|
1977
|
-
}, this.host = t, e.context !== void 0 ? this.context = e.context : this.context = e, this.attachListeners(), (n = (
|
|
2001
|
+
}, this.host = t, e.context !== void 0 ? this.context = e.context : this.context = e, this.attachListeners(), (n = (s = this.host).addController) == null || n.call(s, this);
|
|
1978
2002
|
}
|
|
1979
2003
|
attachListeners() {
|
|
1980
2004
|
this.host.addEventListener("context-request", this.onContextRequest), this.host.addEventListener("context-provider", this.onProviderRequest);
|
|
@@ -1988,28 +2012,28 @@ class Zt extends vi {
|
|
|
1988
2012
|
* Copyright 2017 Google LLC
|
|
1989
2013
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1990
2014
|
*/
|
|
1991
|
-
function yi({ context:
|
|
2015
|
+
function yi({ context: r }) {
|
|
1992
2016
|
return (t, e) => {
|
|
1993
2017
|
const i = /* @__PURE__ */ new WeakMap();
|
|
1994
2018
|
if (typeof e == "object")
|
|
1995
2019
|
return e.addInitializer(function() {
|
|
1996
|
-
i.set(this, new Zt(this, { context:
|
|
2020
|
+
i.set(this, new Zt(this, { context: r }));
|
|
1997
2021
|
}), { get() {
|
|
1998
2022
|
return t.get.call(this);
|
|
1999
|
-
}, set(
|
|
2023
|
+
}, set(s) {
|
|
2000
2024
|
var n;
|
|
2001
|
-
return (n = i.get(this)) == null || n.setValue(
|
|
2002
|
-
}, init(
|
|
2025
|
+
return (n = i.get(this)) == null || n.setValue(s), t.set.call(this, s);
|
|
2026
|
+
}, init(s) {
|
|
2003
2027
|
var n;
|
|
2004
|
-
return (n = i.get(this)) == null || n.setValue(
|
|
2028
|
+
return (n = i.get(this)) == null || n.setValue(s), s;
|
|
2005
2029
|
} };
|
|
2006
2030
|
{
|
|
2007
2031
|
t.constructor.addInitializer((o) => {
|
|
2008
|
-
i.set(o, new Zt(o, { context:
|
|
2032
|
+
i.set(o, new Zt(o, { context: r }));
|
|
2009
2033
|
});
|
|
2010
|
-
const
|
|
2034
|
+
const s = Object.getOwnPropertyDescriptor(t, e);
|
|
2011
2035
|
let n;
|
|
2012
|
-
if (
|
|
2036
|
+
if (s === void 0) {
|
|
2013
2037
|
const o = /* @__PURE__ */ new WeakMap();
|
|
2014
2038
|
n = { get: function() {
|
|
2015
2039
|
return o.get(this);
|
|
@@ -2017,8 +2041,8 @@ function yi({ context: s }) {
|
|
|
2017
2041
|
i.get(this).setValue(a), o.set(this, a);
|
|
2018
2042
|
}, configurable: !0, enumerable: !0 };
|
|
2019
2043
|
} else {
|
|
2020
|
-
const o =
|
|
2021
|
-
n = { ...
|
|
2044
|
+
const o = s.set;
|
|
2045
|
+
n = { ...s, set: function(a) {
|
|
2022
2046
|
i.get(this).setValue(a), o == null || o.call(this, a);
|
|
2023
2047
|
} };
|
|
2024
2048
|
}
|
|
@@ -2026,10 +2050,10 @@ function yi({ context: s }) {
|
|
|
2026
2050
|
}
|
|
2027
2051
|
};
|
|
2028
2052
|
}
|
|
2029
|
-
var bi = Object.defineProperty, $i = Object.getOwnPropertyDescriptor, _i = (
|
|
2030
|
-
for (var
|
|
2031
|
-
(o =
|
|
2032
|
-
return i &&
|
|
2053
|
+
var bi = Object.defineProperty, $i = Object.getOwnPropertyDescriptor, _i = (r, t, e, i) => {
|
|
2054
|
+
for (var s = i > 1 ? void 0 : i ? $i(t, e) : t, n = r.length - 1, o; n >= 0; n--)
|
|
2055
|
+
(o = r[n]) && (s = (i ? o(t, e, s) : o(s)) || s);
|
|
2056
|
+
return i && s && bi(t, e, s), s;
|
|
2033
2057
|
};
|
|
2034
2058
|
const wi = "application";
|
|
2035
2059
|
class Ct extends m {
|
|
@@ -2043,28 +2067,28 @@ class Ct extends m {
|
|
|
2043
2067
|
if (!this.wrapperRef.value)
|
|
2044
2068
|
return;
|
|
2045
2069
|
const t = this.application.settings;
|
|
2046
|
-
t != null && t.branding &&
|
|
2070
|
+
t != null && t.branding && he(t.branding, this.wrapperRef.value);
|
|
2047
2071
|
}
|
|
2048
2072
|
applyStyles() {
|
|
2049
2073
|
if (!this.wrapperRef.value)
|
|
2050
2074
|
return;
|
|
2051
2075
|
const t = this.application.styles(), e = this.wrapperRef.value;
|
|
2052
|
-
Object.entries(t).forEach(([i,
|
|
2053
|
-
e.style.setProperty(`--${i}`,
|
|
2076
|
+
Object.entries(t).forEach(([i, s]) => {
|
|
2077
|
+
e.style.setProperty(`--${i}`, s);
|
|
2054
2078
|
});
|
|
2055
2079
|
}
|
|
2056
2080
|
firstUpdated(t) {
|
|
2057
2081
|
this.applyBranding(), this.applyStyles();
|
|
2058
2082
|
}
|
|
2059
2083
|
render() {
|
|
2060
|
-
var i,
|
|
2084
|
+
var i, s;
|
|
2061
2085
|
const t = this.application.settings.components.conversation;
|
|
2062
|
-
return ((
|
|
2086
|
+
return ((s = (i = t == null ? void 0 : t.properties) == null ? void 0 : i.chat) == null ? void 0 : s.isThirdPartyWidget) ? this.renderRoot.host.classList.add("third-party") : this.application.renderStrategy === wt.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")), x`<div class="widget-container" ${de(this.wrapperRef)}>
|
|
2063
2087
|
${fi(this.nodes, (n) => n)}
|
|
2064
2088
|
</div>`;
|
|
2065
2089
|
}
|
|
2066
2090
|
}
|
|
2067
|
-
Ct.styles =
|
|
2091
|
+
Ct.styles = O`
|
|
2068
2092
|
:host {
|
|
2069
2093
|
--font-family: TeliaSans, Helvetica, Arial, Lucida Grande, sans-serif;
|
|
2070
2094
|
--spacing-xs: 0.2rem;
|
|
@@ -2080,6 +2104,7 @@ Ct.styles = P`
|
|
|
2080
2104
|
--gray-color: #f3f3f8;
|
|
2081
2105
|
--white-color: #fff;
|
|
2082
2106
|
--gray-dark-color: #a6a6a6;
|
|
2107
|
+
--black-border-color: #00000054;
|
|
2083
2108
|
|
|
2084
2109
|
--box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
|
|
2085
2110
|
--border-radius: var(--spacing-sm);
|
|
@@ -2156,8 +2181,6 @@ Ct.styles = P`
|
|
|
2156
2181
|
background-color: var(--primary-background);
|
|
2157
2182
|
padding: var(--spacing-sm);
|
|
2158
2183
|
border: var(--widget-border, none);
|
|
2159
|
-
border-left: 1px solid #00000054;
|
|
2160
|
-
border-right: 1px solid #00000054;
|
|
2161
2184
|
}
|
|
2162
2185
|
@keyframes slideDown {
|
|
2163
2186
|
from {
|
|
@@ -2193,12 +2216,12 @@ _i([
|
|
|
2193
2216
|
g({ attribute: !1 }),
|
|
2194
2217
|
yi({ context: wi })
|
|
2195
2218
|
], Ct.prototype, "application", 2);
|
|
2196
|
-
var Ci = Object.defineProperty, Ai = Object.getOwnPropertyDescriptor, At = (
|
|
2197
|
-
for (var
|
|
2198
|
-
(o =
|
|
2199
|
-
return i &&
|
|
2219
|
+
var Ci = Object.defineProperty, Ai = Object.getOwnPropertyDescriptor, At = (r, t, e, i) => {
|
|
2220
|
+
for (var s = i > 1 ? void 0 : i ? Ai(t, e) : t, n = r.length - 1, o; n >= 0; n--)
|
|
2221
|
+
(o = r[n]) && (s = (i ? o(t, e, s) : o(s)) || s);
|
|
2222
|
+
return i && s && Ci(t, e, s), s;
|
|
2200
2223
|
};
|
|
2201
|
-
class
|
|
2224
|
+
class W extends m {
|
|
2202
2225
|
constructor() {
|
|
2203
2226
|
super(), this.status = "deactivated", this.addEventListener("environment-created", this.onEnvironmentCreated);
|
|
2204
2227
|
}
|
|
@@ -2224,14 +2247,14 @@ class z extends m {
|
|
|
2224
2247
|
if (!this.widget || this.status !== "activated")
|
|
2225
2248
|
return d;
|
|
2226
2249
|
if (this.widget.renderStrategy === wt.Trigger) {
|
|
2227
|
-
const t = new
|
|
2250
|
+
const t = new w();
|
|
2228
2251
|
return t.application = this.widget, t;
|
|
2229
2252
|
}
|
|
2230
2253
|
return this.widget.render();
|
|
2231
2254
|
}
|
|
2232
2255
|
}
|
|
2233
|
-
|
|
2234
|
-
|
|
2256
|
+
W.styles = [
|
|
2257
|
+
O`
|
|
2235
2258
|
:host {
|
|
2236
2259
|
display: block;
|
|
2237
2260
|
}
|
|
@@ -2239,18 +2262,18 @@ z.styles = [
|
|
|
2239
2262
|
];
|
|
2240
2263
|
At([
|
|
2241
2264
|
g({ attribute: !0 })
|
|
2242
|
-
],
|
|
2265
|
+
], W.prototype, "name", 2);
|
|
2243
2266
|
At([
|
|
2244
|
-
|
|
2245
|
-
],
|
|
2267
|
+
U()
|
|
2268
|
+
], W.prototype, "widget", 2);
|
|
2246
2269
|
At([
|
|
2247
|
-
|
|
2248
|
-
],
|
|
2270
|
+
U()
|
|
2271
|
+
], W.prototype, "status", 2);
|
|
2249
2272
|
customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", bt);
|
|
2250
|
-
customElements.get("ace-trigger") || customElements.define("ace-trigger",
|
|
2273
|
+
customElements.get("ace-trigger") || customElements.define("ace-trigger", w);
|
|
2251
2274
|
customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", fe);
|
|
2252
2275
|
customElements.get("ace-wrapper") || customElements.define("ace-wrapper", Ct);
|
|
2253
|
-
customElements.get("ace-widget") || customElements.define("ace-widget",
|
|
2276
|
+
customElements.get("ace-widget") || customElements.define("ace-widget", W);
|
|
2254
2277
|
const xi = Ie`
|
|
2255
2278
|
<g clip-path="url(#clip0_119_1665)">
|
|
2256
2279
|
<path d="M16.9321 27.4656C11.5983 29.6245 8.54568 28.9365 6.85856 27.5904L6.83398 27.5712C9.44534 30.1717 12.4221 32.0011 15.0324 32.0011C19.6033 32.0011 25.8614 26.4651 28.8232 17.8805C27.1542 20.9792 23.5727 24.7861 16.9321 27.4656Z" fill="#990AE3"/>
|
|
@@ -2273,7 +2296,7 @@ const xi = Ie`
|
|
|
2273
2296
|
class Ei extends ge {
|
|
2274
2297
|
render() {
|
|
2275
2298
|
var e;
|
|
2276
|
-
return (e = this.application.branding().other) != null && e.whiteLabel ? d :
|
|
2299
|
+
return (e = this.application.branding().other) != null && e.whiteLabel ? d : x` <div class="copyright">
|
|
2277
2300
|
<a
|
|
2278
2301
|
aria-label="Powered by Telia ACE"
|
|
2279
2302
|
href="https://ace-showcase.com"
|
|
@@ -2296,7 +2319,7 @@ class Ei extends ge {
|
|
|
2296
2319
|
}
|
|
2297
2320
|
Ei.styles = [
|
|
2298
2321
|
ge.styles || [],
|
|
2299
|
-
|
|
2322
|
+
O`
|
|
2300
2323
|
:host {
|
|
2301
2324
|
--copyright-text-color: var(--text-on-primary-background);
|
|
2302
2325
|
}
|