@telia-ace/widget-side-menu 1.1.110-rc.1 → 1.1.110
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/package.json +2 -2
- package/{side-menu-Cr2RRG0V.mjs → side-menu-4JEDSkCM.mjs} +1136 -1234
- package/side-menu-CQ_mHxDZ.js +551 -0
- package/side-menu-1yJ6nMrC.js +0 -551
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
var
|
|
2
|
-
return
|
|
3
|
-
e.__proto__ =
|
|
4
|
-
} || function(e,
|
|
5
|
-
for (var s in
|
|
6
|
-
},
|
|
1
|
+
var Dt = function(n, t) {
|
|
2
|
+
return Dt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, i) {
|
|
3
|
+
e.__proto__ = i;
|
|
4
|
+
} || function(e, i) {
|
|
5
|
+
for (var s in i) Object.prototype.hasOwnProperty.call(i, s) && (e[s] = i[s]);
|
|
6
|
+
}, Dt(n, t);
|
|
7
7
|
};
|
|
8
|
-
function
|
|
8
|
+
function K(n, 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
|
+
Dt(n, t);
|
|
12
12
|
function e() {
|
|
13
|
-
this.constructor =
|
|
13
|
+
this.constructor = n;
|
|
14
14
|
}
|
|
15
|
-
|
|
15
|
+
n.prototype = t === null ? Object.create(t) : (e.prototype = t.prototype, new e());
|
|
16
16
|
}
|
|
17
|
-
function
|
|
17
|
+
function ei(n, t, e, i) {
|
|
18
18
|
function s(r) {
|
|
19
19
|
return r instanceof e ? r : new e(function(o) {
|
|
20
20
|
o(r);
|
|
@@ -23,29 +23,29 @@ function sn(i, t, e, n) {
|
|
|
23
23
|
return new (e || (e = Promise))(function(r, o) {
|
|
24
24
|
function a(u) {
|
|
25
25
|
try {
|
|
26
|
-
c(
|
|
27
|
-
} catch (
|
|
28
|
-
o(
|
|
26
|
+
c(i.next(u));
|
|
27
|
+
} catch (d) {
|
|
28
|
+
o(d);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
function l(u) {
|
|
32
32
|
try {
|
|
33
|
-
c(
|
|
34
|
-
} catch (
|
|
35
|
-
o(
|
|
33
|
+
c(i.throw(u));
|
|
34
|
+
} catch (d) {
|
|
35
|
+
o(d);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
function c(u) {
|
|
39
39
|
u.done ? r(u.value) : s(u.value).then(a, l);
|
|
40
40
|
}
|
|
41
|
-
c((
|
|
41
|
+
c((i = i.apply(n, t || [])).next());
|
|
42
42
|
});
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function sn(n, t) {
|
|
45
45
|
var e = { label: 0, sent: function() {
|
|
46
46
|
if (r[0] & 1) throw r[1];
|
|
47
47
|
return r[1];
|
|
48
|
-
}, trys: [], ops: [] },
|
|
48
|
+
}, trys: [], ops: [] }, i, s, r, o = Object.create((typeof Iterator == "function" ? Iterator : Object).prototype);
|
|
49
49
|
return o.next = a(0), o.throw = a(1), o.return = a(2), typeof Symbol == "function" && (o[Symbol.iterator] = function() {
|
|
50
50
|
return this;
|
|
51
51
|
}), o;
|
|
@@ -55,9 +55,9 @@ function si(i, t) {
|
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
57
|
function l(c) {
|
|
58
|
-
if (
|
|
58
|
+
if (i) throw new TypeError("Generator is already executing.");
|
|
59
59
|
for (; o && (o = 0, c[0] && (e = 0)), e; ) try {
|
|
60
|
-
if (
|
|
60
|
+
if (i = 1, s && (r = c[0] & 2 ? s.return : c[0] ? s.throw || ((r = s.return) && r.call(s), 0) : s.next) && !(r = r.call(s, c[1])).done) return r;
|
|
61
61
|
switch (s = 0, r && (c = [c[0] & 2, r.value]), c[0]) {
|
|
62
62
|
case 0:
|
|
63
63
|
case 1:
|
|
@@ -91,99 +91,99 @@ function si(i, t) {
|
|
|
91
91
|
r[2] && e.ops.pop(), e.trys.pop();
|
|
92
92
|
continue;
|
|
93
93
|
}
|
|
94
|
-
c = t.call(
|
|
94
|
+
c = t.call(n, e);
|
|
95
95
|
} catch (u) {
|
|
96
96
|
c = [6, u], s = 0;
|
|
97
97
|
} finally {
|
|
98
|
-
|
|
98
|
+
i = r = 0;
|
|
99
99
|
}
|
|
100
100
|
if (c[0] & 5) throw c[1];
|
|
101
101
|
return { value: c[0] ? c[1] : void 0, done: !0 };
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
|
-
function
|
|
105
|
-
var t = typeof Symbol == "function" && Symbol.iterator, e = t &&
|
|
106
|
-
if (e) return e.call(
|
|
107
|
-
if (
|
|
104
|
+
function W(n) {
|
|
105
|
+
var t = typeof Symbol == "function" && Symbol.iterator, e = t && n[t], i = 0;
|
|
106
|
+
if (e) return e.call(n);
|
|
107
|
+
if (n && typeof n.length == "number") return {
|
|
108
108
|
next: function() {
|
|
109
|
-
return
|
|
109
|
+
return n && i >= n.length && (n = void 0), { value: n && n[i++], done: !n };
|
|
110
110
|
}
|
|
111
111
|
};
|
|
112
112
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
113
113
|
}
|
|
114
|
-
function
|
|
115
|
-
var e = typeof Symbol == "function" &&
|
|
116
|
-
if (!e) return
|
|
117
|
-
var
|
|
114
|
+
function Ft(n, t) {
|
|
115
|
+
var e = typeof Symbol == "function" && n[Symbol.iterator];
|
|
116
|
+
if (!e) return n;
|
|
117
|
+
var i = e.call(n), s, r = [], o;
|
|
118
118
|
try {
|
|
119
|
-
for (; (t === void 0 || t-- > 0) && !(s =
|
|
119
|
+
for (; (t === void 0 || t-- > 0) && !(s = i.next()).done; ) r.push(s.value);
|
|
120
120
|
} catch (a) {
|
|
121
121
|
o = { error: a };
|
|
122
122
|
} finally {
|
|
123
123
|
try {
|
|
124
|
-
s && !s.done && (e =
|
|
124
|
+
s && !s.done && (e = i.return) && e.call(i);
|
|
125
125
|
} finally {
|
|
126
126
|
if (o) throw o.error;
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
return r;
|
|
130
130
|
}
|
|
131
|
-
function
|
|
132
|
-
if (e || arguments.length === 2) for (var
|
|
133
|
-
(r || !(
|
|
134
|
-
return
|
|
131
|
+
function Yt(n, t, e) {
|
|
132
|
+
if (e || arguments.length === 2) for (var i = 0, s = t.length, r; i < s; i++)
|
|
133
|
+
(r || !(i in t)) && (r || (r = Array.prototype.slice.call(t, 0, i)), r[i] = t[i]);
|
|
134
|
+
return n.concat(r || Array.prototype.slice.call(t));
|
|
135
135
|
}
|
|
136
|
-
function F(
|
|
137
|
-
return this instanceof F ? (this.v =
|
|
136
|
+
function F(n) {
|
|
137
|
+
return this instanceof F ? (this.v = n, this) : new F(n);
|
|
138
138
|
}
|
|
139
|
-
function
|
|
139
|
+
function ni(n, t, e) {
|
|
140
140
|
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
141
|
-
var
|
|
141
|
+
var i = e.apply(n, t || []), s, r = [];
|
|
142
142
|
return s = Object.create((typeof AsyncIterator == "function" ? AsyncIterator : Object).prototype), a("next"), a("throw"), a("return", o), s[Symbol.asyncIterator] = function() {
|
|
143
143
|
return this;
|
|
144
144
|
}, s;
|
|
145
145
|
function o(f) {
|
|
146
146
|
return function($) {
|
|
147
|
-
return Promise.resolve($).then(f,
|
|
147
|
+
return Promise.resolve($).then(f, d);
|
|
148
148
|
};
|
|
149
149
|
}
|
|
150
150
|
function a(f, $) {
|
|
151
|
-
|
|
152
|
-
return new Promise(function(ut,
|
|
153
|
-
r.push([f, g, ut,
|
|
151
|
+
i[f] && (s[f] = function(g) {
|
|
152
|
+
return new Promise(function(ut, J) {
|
|
153
|
+
r.push([f, g, ut, J]) > 1 || l(f, g);
|
|
154
154
|
});
|
|
155
155
|
}, $ && (s[f] = $(s[f])));
|
|
156
156
|
}
|
|
157
157
|
function l(f, $) {
|
|
158
158
|
try {
|
|
159
|
-
c(
|
|
159
|
+
c(i[f]($));
|
|
160
160
|
} catch (g) {
|
|
161
|
-
|
|
161
|
+
h(r[0][3], g);
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
164
|
function c(f) {
|
|
165
|
-
f.value instanceof F ? Promise.resolve(f.value.v).then(u,
|
|
165
|
+
f.value instanceof F ? Promise.resolve(f.value.v).then(u, d) : h(r[0][2], f);
|
|
166
166
|
}
|
|
167
167
|
function u(f) {
|
|
168
168
|
l("next", f);
|
|
169
169
|
}
|
|
170
|
-
function
|
|
170
|
+
function d(f) {
|
|
171
171
|
l("throw", f);
|
|
172
172
|
}
|
|
173
|
-
function
|
|
173
|
+
function h(f, $) {
|
|
174
174
|
f($), r.shift(), r.length && l(r[0][0], r[0][1]);
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
|
-
function
|
|
177
|
+
function ii(n) {
|
|
178
178
|
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
179
|
-
var t =
|
|
180
|
-
return t ? t.call(
|
|
179
|
+
var t = n[Symbol.asyncIterator], e;
|
|
180
|
+
return t ? t.call(n) : (n = typeof W == "function" ? W(n) : n[Symbol.iterator](), e = {}, i("next"), i("throw"), i("return"), e[Symbol.asyncIterator] = function() {
|
|
181
181
|
return this;
|
|
182
182
|
}, e);
|
|
183
|
-
function
|
|
184
|
-
e[r] =
|
|
183
|
+
function i(r) {
|
|
184
|
+
e[r] = n[r] && function(o) {
|
|
185
185
|
return new Promise(function(a, l) {
|
|
186
|
-
o =
|
|
186
|
+
o = n[r](o), s(a, l, o.done, o.value);
|
|
187
187
|
});
|
|
188
188
|
};
|
|
189
189
|
}
|
|
@@ -193,43 +193,43 @@ function on(i) {
|
|
|
193
193
|
}, o);
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
|
-
function
|
|
197
|
-
return typeof
|
|
196
|
+
function m(n) {
|
|
197
|
+
return typeof n == "function";
|
|
198
198
|
}
|
|
199
|
-
function
|
|
200
|
-
var t = function(
|
|
201
|
-
Error.call(
|
|
202
|
-
}, e =
|
|
199
|
+
function rn(n) {
|
|
200
|
+
var t = function(i) {
|
|
201
|
+
Error.call(i), i.stack = new Error().stack;
|
|
202
|
+
}, e = n(t);
|
|
203
203
|
return e.prototype = Object.create(Error.prototype), e.prototype.constructor = e, e;
|
|
204
204
|
}
|
|
205
|
-
var Rt =
|
|
205
|
+
var Rt = rn(function(n) {
|
|
206
206
|
return function(e) {
|
|
207
|
-
|
|
208
|
-
` + e.map(function(
|
|
209
|
-
return s + 1 + ") " +
|
|
207
|
+
n(this), this.message = e ? e.length + ` errors occurred during unsubscription:
|
|
208
|
+
` + e.map(function(i, s) {
|
|
209
|
+
return s + 1 + ") " + i.toString();
|
|
210
210
|
}).join(`
|
|
211
211
|
`) : "", this.name = "UnsubscriptionError", this.errors = e;
|
|
212
212
|
};
|
|
213
213
|
});
|
|
214
|
-
function qt(
|
|
215
|
-
if (
|
|
216
|
-
var e =
|
|
217
|
-
0 <= e &&
|
|
214
|
+
function qt(n, t) {
|
|
215
|
+
if (n) {
|
|
216
|
+
var e = n.indexOf(t);
|
|
217
|
+
0 <= e && n.splice(e, 1);
|
|
218
218
|
}
|
|
219
219
|
}
|
|
220
220
|
var kt = function() {
|
|
221
|
-
function
|
|
221
|
+
function n(t) {
|
|
222
222
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
223
223
|
}
|
|
224
|
-
return
|
|
225
|
-
var t, e,
|
|
224
|
+
return n.prototype.unsubscribe = function() {
|
|
225
|
+
var t, e, i, s, r;
|
|
226
226
|
if (!this.closed) {
|
|
227
227
|
this.closed = !0;
|
|
228
228
|
var o = this._parentage;
|
|
229
229
|
if (o)
|
|
230
230
|
if (this._parentage = null, Array.isArray(o))
|
|
231
231
|
try {
|
|
232
|
-
for (var a =
|
|
232
|
+
for (var a = W(o), l = a.next(); !l.done; l = a.next()) {
|
|
233
233
|
var c = l.value;
|
|
234
234
|
c.remove(this);
|
|
235
235
|
}
|
|
@@ -245,109 +245,104 @@ var kt = function() {
|
|
|
245
245
|
else
|
|
246
246
|
o.remove(this);
|
|
247
247
|
var u = this.initialTeardown;
|
|
248
|
-
if (
|
|
248
|
+
if (m(u))
|
|
249
249
|
try {
|
|
250
250
|
u();
|
|
251
251
|
} catch (g) {
|
|
252
252
|
r = g instanceof Rt ? g.errors : [g];
|
|
253
253
|
}
|
|
254
|
-
var
|
|
255
|
-
if (
|
|
254
|
+
var d = this._finalizers;
|
|
255
|
+
if (d) {
|
|
256
256
|
this._finalizers = null;
|
|
257
257
|
try {
|
|
258
|
-
for (var
|
|
258
|
+
for (var h = W(d), f = h.next(); !f.done; f = h.next()) {
|
|
259
259
|
var $ = f.value;
|
|
260
260
|
try {
|
|
261
261
|
be($);
|
|
262
262
|
} catch (g) {
|
|
263
|
-
r = r ?? [], g instanceof Rt ? r =
|
|
263
|
+
r = r ?? [], g instanceof Rt ? r = Yt(Yt([], Ft(r)), Ft(g.errors)) : r.push(g);
|
|
264
264
|
}
|
|
265
265
|
}
|
|
266
266
|
} catch (g) {
|
|
267
|
-
|
|
267
|
+
i = { error: g };
|
|
268
268
|
} finally {
|
|
269
269
|
try {
|
|
270
|
-
f && !f.done && (s =
|
|
270
|
+
f && !f.done && (s = h.return) && s.call(h);
|
|
271
271
|
} finally {
|
|
272
|
-
if (
|
|
272
|
+
if (i) throw i.error;
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
275
|
}
|
|
276
276
|
if (r)
|
|
277
277
|
throw new Rt(r);
|
|
278
278
|
}
|
|
279
|
-
},
|
|
279
|
+
}, n.prototype.add = function(t) {
|
|
280
280
|
var e;
|
|
281
281
|
if (t && t !== this)
|
|
282
282
|
if (this.closed)
|
|
283
283
|
be(t);
|
|
284
284
|
else {
|
|
285
|
-
if (t instanceof
|
|
285
|
+
if (t instanceof n) {
|
|
286
286
|
if (t.closed || t._hasParent(this))
|
|
287
287
|
return;
|
|
288
288
|
t._addParent(this);
|
|
289
289
|
}
|
|
290
290
|
(this._finalizers = (e = this._finalizers) !== null && e !== void 0 ? e : []).push(t);
|
|
291
291
|
}
|
|
292
|
-
},
|
|
292
|
+
}, n.prototype._hasParent = function(t) {
|
|
293
293
|
var e = this._parentage;
|
|
294
294
|
return e === t || Array.isArray(e) && e.includes(t);
|
|
295
|
-
},
|
|
295
|
+
}, n.prototype._addParent = function(t) {
|
|
296
296
|
var e = this._parentage;
|
|
297
297
|
this._parentage = Array.isArray(e) ? (e.push(t), e) : e ? [e, t] : t;
|
|
298
|
-
},
|
|
298
|
+
}, n.prototype._removeParent = function(t) {
|
|
299
299
|
var e = this._parentage;
|
|
300
300
|
e === t ? this._parentage = null : Array.isArray(e) && qt(e, t);
|
|
301
|
-
},
|
|
301
|
+
}, n.prototype.remove = function(t) {
|
|
302
302
|
var e = this._finalizers;
|
|
303
|
-
e && qt(e, t), t instanceof
|
|
304
|
-
},
|
|
305
|
-
var t = new
|
|
303
|
+
e && qt(e, t), t instanceof n && t._removeParent(this);
|
|
304
|
+
}, n.EMPTY = function() {
|
|
305
|
+
var t = new n();
|
|
306
306
|
return t.closed = !0, t;
|
|
307
|
-
}(),
|
|
308
|
-
}(),
|
|
309
|
-
function
|
|
310
|
-
return
|
|
311
|
-
}
|
|
312
|
-
function be(
|
|
313
|
-
|
|
314
|
-
}
|
|
315
|
-
var
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
setTimeout: function(i, t) {
|
|
323
|
-
for (var e = [], n = 2; n < arguments.length; n++)
|
|
324
|
-
e[n - 2] = arguments[n];
|
|
325
|
-
return setTimeout.apply(void 0, Wt([i, t], Yt(e)));
|
|
307
|
+
}(), n;
|
|
308
|
+
}(), on = kt.EMPTY;
|
|
309
|
+
function an(n) {
|
|
310
|
+
return n instanceof kt || n && "closed" in n && m(n.remove) && m(n.add) && m(n.unsubscribe);
|
|
311
|
+
}
|
|
312
|
+
function be(n) {
|
|
313
|
+
m(n) ? n() : n.unsubscribe();
|
|
314
|
+
}
|
|
315
|
+
var si = {
|
|
316
|
+
Promise: void 0
|
|
317
|
+
}, ri = {
|
|
318
|
+
setTimeout: function(n, t) {
|
|
319
|
+
for (var e = [], i = 2; i < arguments.length; i++)
|
|
320
|
+
e[i - 2] = arguments[i];
|
|
321
|
+
return setTimeout.apply(void 0, Yt([n, t], Ft(e)));
|
|
326
322
|
},
|
|
327
|
-
clearTimeout: function(
|
|
328
|
-
|
|
329
|
-
return ((t == null ? void 0 : t.clearTimeout) || clearTimeout)(i);
|
|
323
|
+
clearTimeout: function(n) {
|
|
324
|
+
return clearTimeout(n);
|
|
330
325
|
},
|
|
331
326
|
delegate: void 0
|
|
332
327
|
};
|
|
333
|
-
function
|
|
334
|
-
|
|
335
|
-
throw
|
|
328
|
+
function ln(n) {
|
|
329
|
+
ri.setTimeout(function() {
|
|
330
|
+
throw n;
|
|
336
331
|
});
|
|
337
332
|
}
|
|
338
|
-
function
|
|
333
|
+
function ve() {
|
|
339
334
|
}
|
|
340
|
-
function ft(
|
|
341
|
-
|
|
335
|
+
function ft(n) {
|
|
336
|
+
n();
|
|
342
337
|
}
|
|
343
|
-
var
|
|
344
|
-
|
|
338
|
+
var Vt = function(n) {
|
|
339
|
+
K(t, n);
|
|
345
340
|
function t(e) {
|
|
346
|
-
var
|
|
347
|
-
return
|
|
341
|
+
var i = n.call(this) || this;
|
|
342
|
+
return i.isStopped = !1, e ? (i.destination = e, an(e) && e.add(i)) : i.destination = li, i;
|
|
348
343
|
}
|
|
349
|
-
return t.create = function(e,
|
|
350
|
-
return new
|
|
344
|
+
return t.create = function(e, i, s) {
|
|
345
|
+
return new Wt(e, i, s);
|
|
351
346
|
}, t.prototype.next = function(e) {
|
|
352
347
|
this.isStopped || this._next(e);
|
|
353
348
|
}, t.prototype.error = function(e) {
|
|
@@ -355,7 +350,7 @@ var te = function(i) {
|
|
|
355
350
|
}, t.prototype.complete = function() {
|
|
356
351
|
this.isStopped || (this.isStopped = !0, this._complete());
|
|
357
352
|
}, t.prototype.unsubscribe = function() {
|
|
358
|
-
this.closed || (this.isStopped = !0,
|
|
353
|
+
this.closed || (this.isStopped = !0, n.prototype.unsubscribe.call(this), this.destination = null);
|
|
359
354
|
}, t.prototype._next = function(e) {
|
|
360
355
|
this.destination.next(e);
|
|
361
356
|
}, t.prototype._error = function(e) {
|
|
@@ -371,112 +366,96 @@ var te = function(i) {
|
|
|
371
366
|
this.unsubscribe();
|
|
372
367
|
}
|
|
373
368
|
}, t;
|
|
374
|
-
}(kt),
|
|
375
|
-
function
|
|
376
|
-
return an.call(i, t);
|
|
377
|
-
}
|
|
378
|
-
var ln = function() {
|
|
379
|
-
function i(t) {
|
|
369
|
+
}(kt), oi = function() {
|
|
370
|
+
function n(t) {
|
|
380
371
|
this.partialObserver = t;
|
|
381
372
|
}
|
|
382
|
-
return
|
|
373
|
+
return n.prototype.next = function(t) {
|
|
383
374
|
var e = this.partialObserver;
|
|
384
375
|
if (e.next)
|
|
385
376
|
try {
|
|
386
377
|
e.next(t);
|
|
387
|
-
} catch (
|
|
388
|
-
|
|
378
|
+
} catch (i) {
|
|
379
|
+
dt(i);
|
|
389
380
|
}
|
|
390
|
-
},
|
|
381
|
+
}, n.prototype.error = function(t) {
|
|
391
382
|
var e = this.partialObserver;
|
|
392
383
|
if (e.error)
|
|
393
384
|
try {
|
|
394
385
|
e.error(t);
|
|
395
|
-
} catch (
|
|
396
|
-
|
|
386
|
+
} catch (i) {
|
|
387
|
+
dt(i);
|
|
397
388
|
}
|
|
398
389
|
else
|
|
399
|
-
|
|
400
|
-
},
|
|
390
|
+
dt(t);
|
|
391
|
+
}, n.prototype.complete = function() {
|
|
401
392
|
var t = this.partialObserver;
|
|
402
393
|
if (t.complete)
|
|
403
394
|
try {
|
|
404
395
|
t.complete();
|
|
405
396
|
} catch (e) {
|
|
406
|
-
|
|
407
|
-
}
|
|
408
|
-
},
|
|
409
|
-
}(),
|
|
410
|
-
|
|
411
|
-
function t(e,
|
|
412
|
-
var r =
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
};
|
|
419
|
-
else {
|
|
420
|
-
var a;
|
|
421
|
-
r && li.useDeprecatedNextContext ? (a = Object.create(e), a.unsubscribe = function() {
|
|
422
|
-
return r.unsubscribe();
|
|
423
|
-
}, o = {
|
|
424
|
-
next: e.next && Ut(e.next, a),
|
|
425
|
-
error: e.error && Ut(e.error, a),
|
|
426
|
-
complete: e.complete && Ut(e.complete, a)
|
|
427
|
-
}) : o = e;
|
|
428
|
-
}
|
|
429
|
-
return r.destination = new ln(o), r;
|
|
397
|
+
dt(e);
|
|
398
|
+
}
|
|
399
|
+
}, n;
|
|
400
|
+
}(), Wt = function(n) {
|
|
401
|
+
K(t, n);
|
|
402
|
+
function t(e, i, s) {
|
|
403
|
+
var r = n.call(this) || this, o;
|
|
404
|
+
return m(e) || !e ? o = {
|
|
405
|
+
next: e ?? void 0,
|
|
406
|
+
error: i ?? void 0,
|
|
407
|
+
complete: s ?? void 0
|
|
408
|
+
} : o = e, r.destination = new oi(o), r;
|
|
430
409
|
}
|
|
431
410
|
return t;
|
|
432
|
-
}(
|
|
433
|
-
function
|
|
434
|
-
|
|
411
|
+
}(Vt);
|
|
412
|
+
function dt(n) {
|
|
413
|
+
ln(n);
|
|
435
414
|
}
|
|
436
|
-
function
|
|
437
|
-
throw
|
|
415
|
+
function ai(n) {
|
|
416
|
+
throw n;
|
|
438
417
|
}
|
|
439
|
-
var
|
|
418
|
+
var li = {
|
|
440
419
|
closed: !0,
|
|
441
|
-
next:
|
|
442
|
-
error:
|
|
443
|
-
complete:
|
|
444
|
-
},
|
|
420
|
+
next: ve,
|
|
421
|
+
error: ai,
|
|
422
|
+
complete: ve
|
|
423
|
+
}, te = function() {
|
|
445
424
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
446
425
|
}();
|
|
447
|
-
function
|
|
448
|
-
return
|
|
426
|
+
function cn(n) {
|
|
427
|
+
return n;
|
|
449
428
|
}
|
|
450
|
-
function
|
|
451
|
-
return
|
|
452
|
-
return
|
|
453
|
-
return s(
|
|
429
|
+
function ci(n) {
|
|
430
|
+
return n.length === 0 ? cn : n.length === 1 ? n[0] : function(e) {
|
|
431
|
+
return n.reduce(function(i, s) {
|
|
432
|
+
return s(i);
|
|
454
433
|
}, e);
|
|
455
434
|
};
|
|
456
435
|
}
|
|
457
436
|
var _ = function() {
|
|
458
|
-
function
|
|
437
|
+
function n(t) {
|
|
459
438
|
t && (this._subscribe = t);
|
|
460
439
|
}
|
|
461
|
-
return
|
|
462
|
-
var e = new
|
|
440
|
+
return n.prototype.lift = function(t) {
|
|
441
|
+
var e = new n();
|
|
463
442
|
return e.source = this, e.operator = t, e;
|
|
464
|
-
},
|
|
465
|
-
var s = this, r =
|
|
443
|
+
}, n.prototype.subscribe = function(t, e, i) {
|
|
444
|
+
var s = this, r = di(t) ? t : new Wt(t, e, i);
|
|
466
445
|
return ft(function() {
|
|
467
446
|
var o = s, a = o.operator, l = o.source;
|
|
468
447
|
r.add(a ? a.call(r, l) : l ? s._subscribe(r) : s._trySubscribe(r));
|
|
469
448
|
}), r;
|
|
470
|
-
},
|
|
449
|
+
}, n.prototype._trySubscribe = function(t) {
|
|
471
450
|
try {
|
|
472
451
|
return this._subscribe(t);
|
|
473
452
|
} catch (e) {
|
|
474
453
|
t.error(e);
|
|
475
454
|
}
|
|
476
|
-
},
|
|
477
|
-
var
|
|
478
|
-
return e =
|
|
479
|
-
var o = new
|
|
455
|
+
}, n.prototype.forEach = function(t, e) {
|
|
456
|
+
var i = this;
|
|
457
|
+
return e = _e(e), new e(function(s, r) {
|
|
458
|
+
var o = new Wt({
|
|
480
459
|
next: function(a) {
|
|
481
460
|
try {
|
|
482
461
|
t(a);
|
|
@@ -487,73 +466,73 @@ var _ = function() {
|
|
|
487
466
|
error: r,
|
|
488
467
|
complete: s
|
|
489
468
|
});
|
|
490
|
-
|
|
469
|
+
i.subscribe(o);
|
|
491
470
|
});
|
|
492
|
-
},
|
|
471
|
+
}, n.prototype._subscribe = function(t) {
|
|
493
472
|
var e;
|
|
494
473
|
return (e = this.source) === null || e === void 0 ? void 0 : e.subscribe(t);
|
|
495
|
-
},
|
|
474
|
+
}, n.prototype[te] = function() {
|
|
496
475
|
return this;
|
|
497
|
-
},
|
|
476
|
+
}, n.prototype.pipe = function() {
|
|
498
477
|
for (var t = [], e = 0; e < arguments.length; e++)
|
|
499
478
|
t[e] = arguments[e];
|
|
500
|
-
return
|
|
501
|
-
},
|
|
479
|
+
return ci(t)(this);
|
|
480
|
+
}, n.prototype.toPromise = function(t) {
|
|
502
481
|
var e = this;
|
|
503
|
-
return t =
|
|
482
|
+
return t = _e(t), new t(function(i, s) {
|
|
504
483
|
var r;
|
|
505
484
|
e.subscribe(function(o) {
|
|
506
485
|
return r = o;
|
|
507
486
|
}, function(o) {
|
|
508
487
|
return s(o);
|
|
509
488
|
}, function() {
|
|
510
|
-
return
|
|
489
|
+
return i(r);
|
|
511
490
|
});
|
|
512
491
|
});
|
|
513
|
-
},
|
|
514
|
-
return new
|
|
515
|
-
},
|
|
492
|
+
}, n.create = function(t) {
|
|
493
|
+
return new n(t);
|
|
494
|
+
}, n;
|
|
516
495
|
}();
|
|
517
|
-
function
|
|
496
|
+
function _e(n) {
|
|
518
497
|
var t;
|
|
519
|
-
return (t =
|
|
498
|
+
return (t = n ?? si.Promise) !== null && t !== void 0 ? t : Promise;
|
|
520
499
|
}
|
|
521
|
-
function
|
|
522
|
-
return
|
|
500
|
+
function ui(n) {
|
|
501
|
+
return n && m(n.next) && m(n.error) && m(n.complete);
|
|
523
502
|
}
|
|
524
|
-
function
|
|
525
|
-
return
|
|
503
|
+
function di(n) {
|
|
504
|
+
return n && n instanceof Vt || ui(n) && an(n);
|
|
526
505
|
}
|
|
527
|
-
function
|
|
528
|
-
return
|
|
506
|
+
function hi(n) {
|
|
507
|
+
return m(n == null ? void 0 : n.lift);
|
|
529
508
|
}
|
|
530
|
-
function Et(
|
|
509
|
+
function Et(n) {
|
|
531
510
|
return function(t) {
|
|
532
|
-
if (
|
|
511
|
+
if (hi(t))
|
|
533
512
|
return t.lift(function(e) {
|
|
534
513
|
try {
|
|
535
|
-
return
|
|
536
|
-
} catch (
|
|
537
|
-
this.error(
|
|
514
|
+
return n(e, this);
|
|
515
|
+
} catch (i) {
|
|
516
|
+
this.error(i);
|
|
538
517
|
}
|
|
539
518
|
});
|
|
540
519
|
throw new TypeError("Unable to lift unknown Observable type");
|
|
541
520
|
};
|
|
542
521
|
}
|
|
543
|
-
function gt(
|
|
544
|
-
return new
|
|
522
|
+
function gt(n, t, e, i, s) {
|
|
523
|
+
return new fi(n, t, e, i, s);
|
|
545
524
|
}
|
|
546
|
-
var
|
|
547
|
-
|
|
548
|
-
function t(e,
|
|
549
|
-
var l =
|
|
550
|
-
return l.onFinalize = o, l.shouldUnsubscribe = a, l._next =
|
|
525
|
+
var fi = function(n) {
|
|
526
|
+
K(t, n);
|
|
527
|
+
function t(e, i, s, r, o, a) {
|
|
528
|
+
var l = n.call(this, e) || this;
|
|
529
|
+
return l.onFinalize = o, l.shouldUnsubscribe = a, l._next = i ? function(c) {
|
|
551
530
|
try {
|
|
552
|
-
|
|
531
|
+
i(c);
|
|
553
532
|
} catch (u) {
|
|
554
533
|
e.error(u);
|
|
555
534
|
}
|
|
556
|
-
} :
|
|
535
|
+
} : n.prototype._next, l._error = r ? function(c) {
|
|
557
536
|
try {
|
|
558
537
|
r(c);
|
|
559
538
|
} catch (u) {
|
|
@@ -561,7 +540,7 @@ var gn = function(i) {
|
|
|
561
540
|
} finally {
|
|
562
541
|
this.unsubscribe();
|
|
563
542
|
}
|
|
564
|
-
} :
|
|
543
|
+
} : n.prototype._error, l._complete = s ? function() {
|
|
565
544
|
try {
|
|
566
545
|
s();
|
|
567
546
|
} catch (c) {
|
|
@@ -569,39 +548,39 @@ var gn = function(i) {
|
|
|
569
548
|
} finally {
|
|
570
549
|
this.unsubscribe();
|
|
571
550
|
}
|
|
572
|
-
} :
|
|
551
|
+
} : n.prototype._complete, l;
|
|
573
552
|
}
|
|
574
553
|
return t.prototype.unsubscribe = function() {
|
|
575
554
|
var e;
|
|
576
555
|
if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {
|
|
577
|
-
var
|
|
578
|
-
|
|
556
|
+
var i = this.closed;
|
|
557
|
+
n.prototype.unsubscribe.call(this), !i && ((e = this.onFinalize) === null || e === void 0 || e.call(this));
|
|
579
558
|
}
|
|
580
559
|
}, t;
|
|
581
|
-
}(
|
|
560
|
+
}(Vt), pi = rn(function(n) {
|
|
582
561
|
return function() {
|
|
583
|
-
|
|
562
|
+
n(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
584
563
|
};
|
|
585
|
-
}), Ct = function(
|
|
586
|
-
|
|
564
|
+
}), Ct = function(n) {
|
|
565
|
+
K(t, n);
|
|
587
566
|
function t() {
|
|
588
|
-
var e =
|
|
567
|
+
var e = n.call(this) || this;
|
|
589
568
|
return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
|
|
590
569
|
}
|
|
591
570
|
return t.prototype.lift = function(e) {
|
|
592
|
-
var
|
|
593
|
-
return
|
|
571
|
+
var i = new we(this, this);
|
|
572
|
+
return i.operator = e, i;
|
|
594
573
|
}, t.prototype._throwIfClosed = function() {
|
|
595
574
|
if (this.closed)
|
|
596
|
-
throw new
|
|
575
|
+
throw new pi();
|
|
597
576
|
}, t.prototype.next = function(e) {
|
|
598
|
-
var
|
|
577
|
+
var i = this;
|
|
599
578
|
ft(function() {
|
|
600
579
|
var s, r;
|
|
601
|
-
if (
|
|
602
|
-
|
|
580
|
+
if (i._throwIfClosed(), !i.isStopped) {
|
|
581
|
+
i.currentObservers || (i.currentObservers = Array.from(i.observers));
|
|
603
582
|
try {
|
|
604
|
-
for (var o =
|
|
583
|
+
for (var o = W(i.currentObservers), a = o.next(); !a.done; a = o.next()) {
|
|
605
584
|
var l = a.value;
|
|
606
585
|
l.next(e);
|
|
607
586
|
}
|
|
@@ -617,11 +596,11 @@ var gn = function(i) {
|
|
|
617
596
|
}
|
|
618
597
|
});
|
|
619
598
|
}, t.prototype.error = function(e) {
|
|
620
|
-
var
|
|
599
|
+
var i = this;
|
|
621
600
|
ft(function() {
|
|
622
|
-
if (
|
|
623
|
-
|
|
624
|
-
for (var s =
|
|
601
|
+
if (i._throwIfClosed(), !i.isStopped) {
|
|
602
|
+
i.hasError = i.isStopped = !0, i.thrownError = e;
|
|
603
|
+
for (var s = i.observers; s.length; )
|
|
625
604
|
s.shift().error(e);
|
|
626
605
|
}
|
|
627
606
|
});
|
|
@@ -630,8 +609,8 @@ var gn = function(i) {
|
|
|
630
609
|
ft(function() {
|
|
631
610
|
if (e._throwIfClosed(), !e.isStopped) {
|
|
632
611
|
e.isStopped = !0;
|
|
633
|
-
for (var
|
|
634
|
-
|
|
612
|
+
for (var i = e.observers; i.length; )
|
|
613
|
+
i.shift().complete();
|
|
635
614
|
}
|
|
636
615
|
});
|
|
637
616
|
}, t.prototype.unsubscribe = function() {
|
|
@@ -644,47 +623,47 @@ var gn = function(i) {
|
|
|
644
623
|
enumerable: !1,
|
|
645
624
|
configurable: !0
|
|
646
625
|
}), t.prototype._trySubscribe = function(e) {
|
|
647
|
-
return this._throwIfClosed(),
|
|
626
|
+
return this._throwIfClosed(), n.prototype._trySubscribe.call(this, e);
|
|
648
627
|
}, t.prototype._subscribe = function(e) {
|
|
649
628
|
return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
|
|
650
629
|
}, t.prototype._innerSubscribe = function(e) {
|
|
651
|
-
var
|
|
652
|
-
return r || o ?
|
|
653
|
-
|
|
630
|
+
var i = this, s = this, r = s.hasError, o = s.isStopped, a = s.observers;
|
|
631
|
+
return r || o ? on : (this.currentObservers = null, a.push(e), new kt(function() {
|
|
632
|
+
i.currentObservers = null, qt(a, e);
|
|
654
633
|
}));
|
|
655
634
|
}, t.prototype._checkFinalizedStatuses = function(e) {
|
|
656
|
-
var
|
|
635
|
+
var i = this, s = i.hasError, r = i.thrownError, o = i.isStopped;
|
|
657
636
|
s ? e.error(r) : o && e.complete();
|
|
658
637
|
}, t.prototype.asObservable = function() {
|
|
659
638
|
var e = new _();
|
|
660
639
|
return e.source = this, e;
|
|
661
|
-
}, t.create = function(e,
|
|
662
|
-
return new
|
|
640
|
+
}, t.create = function(e, i) {
|
|
641
|
+
return new we(e, i);
|
|
663
642
|
}, t;
|
|
664
|
-
}(_),
|
|
665
|
-
|
|
666
|
-
function t(e,
|
|
667
|
-
var s =
|
|
668
|
-
return s.destination = e, s.source =
|
|
643
|
+
}(_), we = function(n) {
|
|
644
|
+
K(t, n);
|
|
645
|
+
function t(e, i) {
|
|
646
|
+
var s = n.call(this) || this;
|
|
647
|
+
return s.destination = e, s.source = i, s;
|
|
669
648
|
}
|
|
670
649
|
return t.prototype.next = function(e) {
|
|
671
|
-
var
|
|
672
|
-
(s = (
|
|
650
|
+
var i, s;
|
|
651
|
+
(s = (i = this.destination) === null || i === void 0 ? void 0 : i.next) === null || s === void 0 || s.call(i, e);
|
|
673
652
|
}, t.prototype.error = function(e) {
|
|
674
|
-
var
|
|
675
|
-
(s = (
|
|
653
|
+
var i, s;
|
|
654
|
+
(s = (i = this.destination) === null || i === void 0 ? void 0 : i.error) === null || s === void 0 || s.call(i, e);
|
|
676
655
|
}, t.prototype.complete = function() {
|
|
677
|
-
var e,
|
|
678
|
-
(
|
|
656
|
+
var e, i;
|
|
657
|
+
(i = (e = this.destination) === null || e === void 0 ? void 0 : e.complete) === null || i === void 0 || i.call(e);
|
|
679
658
|
}, t.prototype._subscribe = function(e) {
|
|
680
|
-
var
|
|
681
|
-
return (s = (
|
|
659
|
+
var i, s;
|
|
660
|
+
return (s = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(e)) !== null && s !== void 0 ? s : on;
|
|
682
661
|
}, t;
|
|
683
|
-
}(Ct),
|
|
684
|
-
|
|
662
|
+
}(Ct), gi = function(n) {
|
|
663
|
+
K(t, n);
|
|
685
664
|
function t(e) {
|
|
686
|
-
var
|
|
687
|
-
return
|
|
665
|
+
var i = n.call(this) || this;
|
|
666
|
+
return i._value = e, i;
|
|
688
667
|
}
|
|
689
668
|
return Object.defineProperty(t.prototype, "value", {
|
|
690
669
|
get: function() {
|
|
@@ -693,66 +672,66 @@ var gn = function(i) {
|
|
|
693
672
|
enumerable: !1,
|
|
694
673
|
configurable: !0
|
|
695
674
|
}), t.prototype._subscribe = function(e) {
|
|
696
|
-
var
|
|
697
|
-
return !
|
|
675
|
+
var i = n.prototype._subscribe.call(this, e);
|
|
676
|
+
return !i.closed && e.next(this._value), i;
|
|
698
677
|
}, t.prototype.getValue = function() {
|
|
699
|
-
var e = this,
|
|
700
|
-
if (
|
|
678
|
+
var e = this, i = e.hasError, s = e.thrownError, r = e._value;
|
|
679
|
+
if (i)
|
|
701
680
|
throw s;
|
|
702
681
|
return this._throwIfClosed(), r;
|
|
703
682
|
}, t.prototype.next = function(e) {
|
|
704
|
-
|
|
683
|
+
n.prototype.next.call(this, this._value = e);
|
|
705
684
|
}, t;
|
|
706
|
-
}(Ct),
|
|
707
|
-
return
|
|
685
|
+
}(Ct), $i = new _(function(n) {
|
|
686
|
+
return n.complete();
|
|
708
687
|
});
|
|
709
|
-
function
|
|
710
|
-
return
|
|
688
|
+
function mi(n) {
|
|
689
|
+
return n && m(n.schedule);
|
|
711
690
|
}
|
|
712
|
-
function
|
|
713
|
-
return
|
|
691
|
+
function un(n) {
|
|
692
|
+
return n[n.length - 1];
|
|
714
693
|
}
|
|
715
|
-
function
|
|
716
|
-
return
|
|
694
|
+
function yi(n) {
|
|
695
|
+
return mi(un(n)) ? n.pop() : void 0;
|
|
717
696
|
}
|
|
718
|
-
function
|
|
719
|
-
return typeof
|
|
697
|
+
function bi(n, t) {
|
|
698
|
+
return typeof un(n) == "number" ? n.pop() : t;
|
|
720
699
|
}
|
|
721
|
-
var
|
|
722
|
-
return
|
|
700
|
+
var dn = function(n) {
|
|
701
|
+
return n && typeof n.length == "number" && typeof n != "function";
|
|
723
702
|
};
|
|
724
|
-
function
|
|
725
|
-
return
|
|
703
|
+
function hn(n) {
|
|
704
|
+
return m(n == null ? void 0 : n.then);
|
|
726
705
|
}
|
|
727
|
-
function
|
|
728
|
-
return
|
|
706
|
+
function fn(n) {
|
|
707
|
+
return m(n[te]);
|
|
729
708
|
}
|
|
730
|
-
function
|
|
731
|
-
return Symbol.asyncIterator &&
|
|
709
|
+
function pn(n) {
|
|
710
|
+
return Symbol.asyncIterator && m(n == null ? void 0 : n[Symbol.asyncIterator]);
|
|
732
711
|
}
|
|
733
|
-
function
|
|
734
|
-
return new TypeError("You provided " + (
|
|
712
|
+
function gn(n) {
|
|
713
|
+
return new TypeError("You provided " + (n !== null && typeof n == "object" ? "an invalid object" : "'" + n + "'") + " where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.");
|
|
735
714
|
}
|
|
736
|
-
function
|
|
715
|
+
function vi() {
|
|
737
716
|
return typeof Symbol != "function" || !Symbol.iterator ? "@@iterator" : Symbol.iterator;
|
|
738
717
|
}
|
|
739
|
-
var
|
|
740
|
-
function
|
|
741
|
-
return
|
|
718
|
+
var $n = vi();
|
|
719
|
+
function mn(n) {
|
|
720
|
+
return m(n == null ? void 0 : n[$n]);
|
|
742
721
|
}
|
|
743
|
-
function
|
|
744
|
-
return
|
|
745
|
-
var e,
|
|
746
|
-
return
|
|
722
|
+
function yn(n) {
|
|
723
|
+
return ni(this, arguments, function() {
|
|
724
|
+
var e, i, s, r;
|
|
725
|
+
return sn(this, function(o) {
|
|
747
726
|
switch (o.label) {
|
|
748
727
|
case 0:
|
|
749
|
-
e =
|
|
728
|
+
e = n.getReader(), o.label = 1;
|
|
750
729
|
case 1:
|
|
751
730
|
o.trys.push([1, , 9, 10]), o.label = 2;
|
|
752
731
|
case 2:
|
|
753
732
|
return [4, F(e.read())];
|
|
754
733
|
case 3:
|
|
755
|
-
return
|
|
734
|
+
return i = o.sent(), s = i.value, r = i.done, r ? [4, F(void 0)] : [3, 5];
|
|
756
735
|
case 4:
|
|
757
736
|
return [2, o.sent()];
|
|
758
737
|
case 5:
|
|
@@ -771,57 +750,57 @@ function bi(i) {
|
|
|
771
750
|
});
|
|
772
751
|
});
|
|
773
752
|
}
|
|
774
|
-
function
|
|
775
|
-
return
|
|
776
|
-
}
|
|
777
|
-
function X(
|
|
778
|
-
if (
|
|
779
|
-
return
|
|
780
|
-
if (
|
|
781
|
-
if (
|
|
782
|
-
return
|
|
783
|
-
if (
|
|
784
|
-
return
|
|
785
|
-
if (
|
|
786
|
-
return
|
|
787
|
-
if (
|
|
788
|
-
return
|
|
789
|
-
if (
|
|
790
|
-
return
|
|
791
|
-
if (
|
|
792
|
-
return
|
|
793
|
-
}
|
|
794
|
-
throw
|
|
795
|
-
}
|
|
796
|
-
function
|
|
753
|
+
function bn(n) {
|
|
754
|
+
return m(n == null ? void 0 : n.getReader);
|
|
755
|
+
}
|
|
756
|
+
function X(n) {
|
|
757
|
+
if (n instanceof _)
|
|
758
|
+
return n;
|
|
759
|
+
if (n != null) {
|
|
760
|
+
if (fn(n))
|
|
761
|
+
return _i(n);
|
|
762
|
+
if (dn(n))
|
|
763
|
+
return wi(n);
|
|
764
|
+
if (hn(n))
|
|
765
|
+
return xi(n);
|
|
766
|
+
if (pn(n))
|
|
767
|
+
return vn(n);
|
|
768
|
+
if (mn(n))
|
|
769
|
+
return Si(n);
|
|
770
|
+
if (bn(n))
|
|
771
|
+
return Ai(n);
|
|
772
|
+
}
|
|
773
|
+
throw gn(n);
|
|
774
|
+
}
|
|
775
|
+
function _i(n) {
|
|
797
776
|
return new _(function(t) {
|
|
798
|
-
var e =
|
|
799
|
-
if (
|
|
777
|
+
var e = n[te]();
|
|
778
|
+
if (m(e.subscribe))
|
|
800
779
|
return e.subscribe(t);
|
|
801
780
|
throw new TypeError("Provided object does not correctly implement Symbol.observable");
|
|
802
781
|
});
|
|
803
782
|
}
|
|
804
|
-
function
|
|
783
|
+
function wi(n) {
|
|
805
784
|
return new _(function(t) {
|
|
806
|
-
for (var e = 0; e <
|
|
807
|
-
t.next(
|
|
785
|
+
for (var e = 0; e < n.length && !t.closed; e++)
|
|
786
|
+
t.next(n[e]);
|
|
808
787
|
t.complete();
|
|
809
788
|
});
|
|
810
789
|
}
|
|
811
|
-
function
|
|
790
|
+
function xi(n) {
|
|
812
791
|
return new _(function(t) {
|
|
813
|
-
|
|
792
|
+
n.then(function(e) {
|
|
814
793
|
t.closed || (t.next(e), t.complete());
|
|
815
794
|
}, function(e) {
|
|
816
795
|
return t.error(e);
|
|
817
|
-
}).then(null,
|
|
796
|
+
}).then(null, ln);
|
|
818
797
|
});
|
|
819
798
|
}
|
|
820
|
-
function
|
|
799
|
+
function Si(n) {
|
|
821
800
|
return new _(function(t) {
|
|
822
|
-
var e,
|
|
801
|
+
var e, i;
|
|
823
802
|
try {
|
|
824
|
-
for (var s =
|
|
803
|
+
for (var s = W(n), r = s.next(); !r.done; r = s.next()) {
|
|
825
804
|
var o = r.value;
|
|
826
805
|
if (t.next(o), t.closed)
|
|
827
806
|
return;
|
|
@@ -830,7 +809,7 @@ function kn(i) {
|
|
|
830
809
|
e = { error: a };
|
|
831
810
|
} finally {
|
|
832
811
|
try {
|
|
833
|
-
r && !r.done && (
|
|
812
|
+
r && !r.done && (i = s.return) && i.call(s);
|
|
834
813
|
} finally {
|
|
835
814
|
if (e) throw e.error;
|
|
836
815
|
}
|
|
@@ -838,29 +817,29 @@ function kn(i) {
|
|
|
838
817
|
t.complete();
|
|
839
818
|
});
|
|
840
819
|
}
|
|
841
|
-
function
|
|
820
|
+
function vn(n) {
|
|
842
821
|
return new _(function(t) {
|
|
843
|
-
|
|
822
|
+
ki(n, t).catch(function(e) {
|
|
844
823
|
return t.error(e);
|
|
845
824
|
});
|
|
846
825
|
});
|
|
847
826
|
}
|
|
848
|
-
function
|
|
849
|
-
return
|
|
827
|
+
function Ai(n) {
|
|
828
|
+
return vn(yn(n));
|
|
850
829
|
}
|
|
851
|
-
function
|
|
852
|
-
var e,
|
|
853
|
-
return
|
|
830
|
+
function ki(n, t) {
|
|
831
|
+
var e, i, s, r;
|
|
832
|
+
return ei(this, void 0, void 0, function() {
|
|
854
833
|
var o, a;
|
|
855
|
-
return
|
|
834
|
+
return sn(this, function(l) {
|
|
856
835
|
switch (l.label) {
|
|
857
836
|
case 0:
|
|
858
|
-
l.trys.push([0, 5, 6, 11]), e =
|
|
837
|
+
l.trys.push([0, 5, 6, 11]), e = ii(n), l.label = 1;
|
|
859
838
|
case 1:
|
|
860
839
|
return [4, e.next()];
|
|
861
840
|
case 2:
|
|
862
|
-
if (
|
|
863
|
-
if (o =
|
|
841
|
+
if (i = l.sent(), !!i.done) return [3, 4];
|
|
842
|
+
if (o = i.value, t.next(o), t.closed)
|
|
864
843
|
return [2];
|
|
865
844
|
l.label = 3;
|
|
866
845
|
case 3:
|
|
@@ -870,7 +849,7 @@ function Cn(i, t) {
|
|
|
870
849
|
case 5:
|
|
871
850
|
return a = l.sent(), s = { error: a }, [3, 11];
|
|
872
851
|
case 6:
|
|
873
|
-
return l.trys.push([6, , 9, 10]),
|
|
852
|
+
return l.trys.push([6, , 9, 10]), i && !i.done && (r = e.return) ? [4, r.call(e)] : [3, 8];
|
|
874
853
|
case 7:
|
|
875
854
|
l.sent(), l.label = 8;
|
|
876
855
|
case 8:
|
|
@@ -886,60 +865,60 @@ function Cn(i, t) {
|
|
|
886
865
|
});
|
|
887
866
|
});
|
|
888
867
|
}
|
|
889
|
-
function L(
|
|
890
|
-
|
|
868
|
+
function L(n, t, e, i, s) {
|
|
869
|
+
i === void 0 && (i = 0), s === void 0 && (s = !1);
|
|
891
870
|
var r = t.schedule(function() {
|
|
892
|
-
e(), s ?
|
|
893
|
-
},
|
|
894
|
-
if (
|
|
871
|
+
e(), s ? n.add(this.schedule(null, i)) : this.unsubscribe();
|
|
872
|
+
}, i);
|
|
873
|
+
if (n.add(r), !s)
|
|
895
874
|
return r;
|
|
896
875
|
}
|
|
897
|
-
function
|
|
898
|
-
return t === void 0 && (t = 0), Et(function(e,
|
|
899
|
-
e.subscribe(gt(
|
|
900
|
-
return L(
|
|
901
|
-
return
|
|
876
|
+
function _n(n, t) {
|
|
877
|
+
return t === void 0 && (t = 0), Et(function(e, i) {
|
|
878
|
+
e.subscribe(gt(i, function(s) {
|
|
879
|
+
return L(i, n, function() {
|
|
880
|
+
return i.next(s);
|
|
902
881
|
}, t);
|
|
903
882
|
}, function() {
|
|
904
|
-
return L(
|
|
905
|
-
return
|
|
883
|
+
return L(i, n, function() {
|
|
884
|
+
return i.complete();
|
|
906
885
|
}, t);
|
|
907
886
|
}, function(s) {
|
|
908
|
-
return L(
|
|
909
|
-
return
|
|
887
|
+
return L(i, n, function() {
|
|
888
|
+
return i.error(s);
|
|
910
889
|
}, t);
|
|
911
890
|
}));
|
|
912
891
|
});
|
|
913
892
|
}
|
|
914
|
-
function
|
|
915
|
-
return t === void 0 && (t = 0), Et(function(e,
|
|
916
|
-
|
|
917
|
-
return e.subscribe(
|
|
893
|
+
function wn(n, t) {
|
|
894
|
+
return t === void 0 && (t = 0), Et(function(e, i) {
|
|
895
|
+
i.add(n.schedule(function() {
|
|
896
|
+
return e.subscribe(i);
|
|
918
897
|
}, t));
|
|
919
898
|
});
|
|
920
899
|
}
|
|
921
|
-
function
|
|
922
|
-
return X(
|
|
900
|
+
function Ei(n, t) {
|
|
901
|
+
return X(n).pipe(wn(t), _n(t));
|
|
923
902
|
}
|
|
924
|
-
function
|
|
925
|
-
return X(
|
|
903
|
+
function Ci(n, t) {
|
|
904
|
+
return X(n).pipe(wn(t), _n(t));
|
|
926
905
|
}
|
|
927
|
-
function
|
|
906
|
+
function Oi(n, t) {
|
|
928
907
|
return new _(function(e) {
|
|
929
|
-
var
|
|
908
|
+
var i = 0;
|
|
930
909
|
return t.schedule(function() {
|
|
931
|
-
|
|
910
|
+
i === n.length ? e.complete() : (e.next(n[i++]), e.closed || this.schedule());
|
|
932
911
|
});
|
|
933
912
|
});
|
|
934
913
|
}
|
|
935
|
-
function
|
|
914
|
+
function Ti(n, t) {
|
|
936
915
|
return new _(function(e) {
|
|
937
|
-
var
|
|
916
|
+
var i;
|
|
938
917
|
return L(e, t, function() {
|
|
939
|
-
|
|
918
|
+
i = n[$n](), L(e, t, function() {
|
|
940
919
|
var s, r, o;
|
|
941
920
|
try {
|
|
942
|
-
s =
|
|
921
|
+
s = i.next(), r = s.value, o = s.done;
|
|
943
922
|
} catch (a) {
|
|
944
923
|
e.error(a);
|
|
945
924
|
return;
|
|
@@ -947,122 +926,122 @@ function In(i, t) {
|
|
|
947
926
|
o ? e.complete() : e.next(r);
|
|
948
927
|
}, 0, !0);
|
|
949
928
|
}), function() {
|
|
950
|
-
return
|
|
929
|
+
return m(i == null ? void 0 : i.return) && i.return();
|
|
951
930
|
};
|
|
952
931
|
});
|
|
953
932
|
}
|
|
954
|
-
function
|
|
955
|
-
if (!
|
|
933
|
+
function xn(n, t) {
|
|
934
|
+
if (!n)
|
|
956
935
|
throw new Error("Iterable cannot be null");
|
|
957
936
|
return new _(function(e) {
|
|
958
937
|
L(e, t, function() {
|
|
959
|
-
var
|
|
938
|
+
var i = n[Symbol.asyncIterator]();
|
|
960
939
|
L(e, t, function() {
|
|
961
|
-
|
|
940
|
+
i.next().then(function(s) {
|
|
962
941
|
s.done ? e.complete() : e.next(s.value);
|
|
963
942
|
});
|
|
964
943
|
}, 0, !0);
|
|
965
944
|
});
|
|
966
945
|
});
|
|
967
946
|
}
|
|
968
|
-
function
|
|
969
|
-
return
|
|
970
|
-
}
|
|
971
|
-
function
|
|
972
|
-
if (
|
|
973
|
-
if (
|
|
974
|
-
return
|
|
975
|
-
if (
|
|
976
|
-
return
|
|
977
|
-
if (
|
|
978
|
-
return
|
|
979
|
-
if (
|
|
980
|
-
return
|
|
981
|
-
if (
|
|
982
|
-
return
|
|
983
|
-
if (
|
|
984
|
-
return
|
|
985
|
-
}
|
|
986
|
-
throw
|
|
987
|
-
}
|
|
988
|
-
function
|
|
989
|
-
return t ?
|
|
990
|
-
}
|
|
991
|
-
function
|
|
992
|
-
return Et(function(e,
|
|
947
|
+
function Pi(n, t) {
|
|
948
|
+
return xn(yn(n), t);
|
|
949
|
+
}
|
|
950
|
+
function Ii(n, t) {
|
|
951
|
+
if (n != null) {
|
|
952
|
+
if (fn(n))
|
|
953
|
+
return Ei(n, t);
|
|
954
|
+
if (dn(n))
|
|
955
|
+
return Oi(n, t);
|
|
956
|
+
if (hn(n))
|
|
957
|
+
return Ci(n, t);
|
|
958
|
+
if (pn(n))
|
|
959
|
+
return xn(n, t);
|
|
960
|
+
if (mn(n))
|
|
961
|
+
return Ti(n, t);
|
|
962
|
+
if (bn(n))
|
|
963
|
+
return Pi(n, t);
|
|
964
|
+
}
|
|
965
|
+
throw gn(n);
|
|
966
|
+
}
|
|
967
|
+
function Li(n, t) {
|
|
968
|
+
return t ? Ii(n, t) : X(n);
|
|
969
|
+
}
|
|
970
|
+
function Ri(n, t) {
|
|
971
|
+
return Et(function(e, i) {
|
|
993
972
|
var s = 0;
|
|
994
|
-
e.subscribe(gt(
|
|
995
|
-
|
|
973
|
+
e.subscribe(gt(i, function(r) {
|
|
974
|
+
i.next(n.call(t, r, s++));
|
|
996
975
|
}));
|
|
997
976
|
});
|
|
998
977
|
}
|
|
999
|
-
function
|
|
1000
|
-
var l = [], c = 0, u = 0,
|
|
1001
|
-
|
|
978
|
+
function Ui(n, t, e, i, s, r, o, a) {
|
|
979
|
+
var l = [], c = 0, u = 0, d = !1, h = function() {
|
|
980
|
+
d && !l.length && !c && t.complete();
|
|
1002
981
|
}, f = function(g) {
|
|
1003
|
-
return c <
|
|
982
|
+
return c < i ? $(g) : l.push(g);
|
|
1004
983
|
}, $ = function(g) {
|
|
1005
984
|
c++;
|
|
1006
985
|
var ut = !1;
|
|
1007
|
-
X(e(g, u++)).subscribe(gt(t, function(
|
|
1008
|
-
t.next(
|
|
986
|
+
X(e(g, u++)).subscribe(gt(t, function(J) {
|
|
987
|
+
t.next(J);
|
|
1009
988
|
}, function() {
|
|
1010
989
|
ut = !0;
|
|
1011
990
|
}, void 0, function() {
|
|
1012
991
|
if (ut)
|
|
1013
992
|
try {
|
|
1014
993
|
c--;
|
|
1015
|
-
for (var
|
|
994
|
+
for (var J = function() {
|
|
1016
995
|
var Lt = l.shift();
|
|
1017
996
|
o || $(Lt);
|
|
1018
|
-
}; l.length && c <
|
|
1019
|
-
|
|
1020
|
-
|
|
997
|
+
}; l.length && c < i; )
|
|
998
|
+
J();
|
|
999
|
+
h();
|
|
1021
1000
|
} catch (Lt) {
|
|
1022
1001
|
t.error(Lt);
|
|
1023
1002
|
}
|
|
1024
1003
|
}));
|
|
1025
1004
|
};
|
|
1026
|
-
return
|
|
1027
|
-
|
|
1005
|
+
return n.subscribe(gt(t, f, function() {
|
|
1006
|
+
d = !0, h();
|
|
1028
1007
|
})), function() {
|
|
1029
1008
|
};
|
|
1030
1009
|
}
|
|
1031
|
-
function
|
|
1032
|
-
return e === void 0 && (e = 1 / 0),
|
|
1033
|
-
return
|
|
1034
|
-
return t(
|
|
1035
|
-
})(X(i
|
|
1036
|
-
}, e) : (typeof t == "number" && (e = t), Et(function(
|
|
1037
|
-
return
|
|
1010
|
+
function Sn(n, t, e) {
|
|
1011
|
+
return e === void 0 && (e = 1 / 0), m(t) ? Sn(function(i, s) {
|
|
1012
|
+
return Ri(function(r, o) {
|
|
1013
|
+
return t(i, r, s, o);
|
|
1014
|
+
})(X(n(i, s)));
|
|
1015
|
+
}, e) : (typeof t == "number" && (e = t), Et(function(i, s) {
|
|
1016
|
+
return Ui(i, s, n, e);
|
|
1038
1017
|
}));
|
|
1039
1018
|
}
|
|
1040
|
-
function
|
|
1041
|
-
return
|
|
1019
|
+
function ji(n) {
|
|
1020
|
+
return n === void 0 && (n = 1 / 0), Sn(cn, n);
|
|
1042
1021
|
}
|
|
1043
|
-
function
|
|
1044
|
-
for (var
|
|
1045
|
-
|
|
1046
|
-
var e =
|
|
1047
|
-
return s.length ? s.length === 1 ? X(s[0]) :
|
|
1022
|
+
function Mi() {
|
|
1023
|
+
for (var n = [], t = 0; t < arguments.length; t++)
|
|
1024
|
+
n[t] = arguments[t];
|
|
1025
|
+
var e = yi(n), i = bi(n, 1 / 0), s = n;
|
|
1026
|
+
return s.length ? s.length === 1 ? X(s[0]) : ji(i)(Li(s, e)) : $i;
|
|
1048
1027
|
}
|
|
1049
1028
|
/**
|
|
1050
1029
|
* @license
|
|
1051
1030
|
* Copyright 2019 Google LLC
|
|
1052
1031
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1053
1032
|
*/
|
|
1054
|
-
const pt = globalThis,
|
|
1055
|
-
let
|
|
1056
|
-
constructor(t, e,
|
|
1057
|
-
if (this._$cssResult$ = !0,
|
|
1033
|
+
const pt = globalThis, ee = pt.ShadowRoot && (pt.ShadyCSS === void 0 || pt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, ne = Symbol(), xe = /* @__PURE__ */ new WeakMap();
|
|
1034
|
+
let An = class {
|
|
1035
|
+
constructor(t, e, i) {
|
|
1036
|
+
if (this._$cssResult$ = !0, i !== ne) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
1058
1037
|
this.cssText = t, this.t = e;
|
|
1059
1038
|
}
|
|
1060
1039
|
get styleSheet() {
|
|
1061
1040
|
let t = this.o;
|
|
1062
1041
|
const e = this.t;
|
|
1063
|
-
if (
|
|
1064
|
-
const
|
|
1065
|
-
|
|
1042
|
+
if (ee && t === void 0) {
|
|
1043
|
+
const i = e !== void 0 && e.length === 1;
|
|
1044
|
+
i && (t = xe.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && xe.set(e, t));
|
|
1066
1045
|
}
|
|
1067
1046
|
return t;
|
|
1068
1047
|
}
|
|
@@ -1070,58 +1049,58 @@ let Ei = class {
|
|
|
1070
1049
|
return this.cssText;
|
|
1071
1050
|
}
|
|
1072
1051
|
};
|
|
1073
|
-
const
|
|
1074
|
-
const e =
|
|
1052
|
+
const Ni = (n) => new An(typeof n == "string" ? n : n + "", void 0, ne), M = (n, ...t) => {
|
|
1053
|
+
const e = n.length === 1 ? n[0] : t.reduce((i, s, r) => i + ((o) => {
|
|
1075
1054
|
if (o._$cssResult$ === !0) return o.cssText;
|
|
1076
1055
|
if (typeof o == "number") return o;
|
|
1077
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.");
|
|
1078
|
-
})(s) +
|
|
1079
|
-
return new
|
|
1080
|
-
},
|
|
1081
|
-
if (
|
|
1057
|
+
})(s) + n[r + 1], n[0]);
|
|
1058
|
+
return new An(e, n, ne);
|
|
1059
|
+
}, Bi = (n, t) => {
|
|
1060
|
+
if (ee) n.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
1082
1061
|
else for (const e of t) {
|
|
1083
|
-
const
|
|
1084
|
-
s !== void 0 &&
|
|
1062
|
+
const i = document.createElement("style"), s = pt.litNonce;
|
|
1063
|
+
s !== void 0 && i.setAttribute("nonce", s), i.textContent = e.cssText, n.appendChild(i);
|
|
1085
1064
|
}
|
|
1086
|
-
},
|
|
1065
|
+
}, Se = ee ? (n) => n : (n) => n instanceof CSSStyleSheet ? ((t) => {
|
|
1087
1066
|
let e = "";
|
|
1088
|
-
for (const
|
|
1089
|
-
return
|
|
1090
|
-
})(
|
|
1067
|
+
for (const i of t.cssRules) e += i.cssText;
|
|
1068
|
+
return Ni(e);
|
|
1069
|
+
})(n) : n;
|
|
1091
1070
|
/**
|
|
1092
1071
|
* @license
|
|
1093
1072
|
* Copyright 2017 Google LLC
|
|
1094
1073
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1095
1074
|
*/
|
|
1096
|
-
const { is:
|
|
1075
|
+
const { is: Hi, defineProperty: zi, getOwnPropertyDescriptor: Di, getOwnPropertyNames: Fi, getOwnPropertySymbols: Yi, getPrototypeOf: qi } = Object, O = globalThis, Ae = O.trustedTypes, Wi = Ae ? Ae.emptyScript : "", Ut = O.reactiveElementPolyfillSupport, V = (n, t) => n, $t = { toAttribute(n, t) {
|
|
1097
1076
|
switch (t) {
|
|
1098
1077
|
case Boolean:
|
|
1099
|
-
|
|
1078
|
+
n = n ? Wi : null;
|
|
1100
1079
|
break;
|
|
1101
1080
|
case Object:
|
|
1102
1081
|
case Array:
|
|
1103
|
-
|
|
1082
|
+
n = n == null ? n : JSON.stringify(n);
|
|
1104
1083
|
}
|
|
1105
|
-
return
|
|
1106
|
-
}, fromAttribute(
|
|
1107
|
-
let e =
|
|
1084
|
+
return n;
|
|
1085
|
+
}, fromAttribute(n, t) {
|
|
1086
|
+
let e = n;
|
|
1108
1087
|
switch (t) {
|
|
1109
1088
|
case Boolean:
|
|
1110
|
-
e =
|
|
1089
|
+
e = n !== null;
|
|
1111
1090
|
break;
|
|
1112
1091
|
case Number:
|
|
1113
|
-
e =
|
|
1092
|
+
e = n === null ? null : Number(n);
|
|
1114
1093
|
break;
|
|
1115
1094
|
case Object:
|
|
1116
1095
|
case Array:
|
|
1117
1096
|
try {
|
|
1118
|
-
e = JSON.parse(
|
|
1097
|
+
e = JSON.parse(n);
|
|
1119
1098
|
} catch {
|
|
1120
1099
|
e = null;
|
|
1121
1100
|
}
|
|
1122
1101
|
}
|
|
1123
1102
|
return e;
|
|
1124
|
-
} },
|
|
1103
|
+
} }, ie = (n, t) => !Hi(n, t), ke = { attribute: !0, type: String, converter: $t, reflect: !1, hasChanged: ie };
|
|
1125
1104
|
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), O.litPropertyMetadata ?? (O.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
1126
1105
|
let B = class extends HTMLElement {
|
|
1127
1106
|
static addInitializer(t) {
|
|
@@ -1130,14 +1109,14 @@ let B = class extends HTMLElement {
|
|
|
1130
1109
|
static get observedAttributes() {
|
|
1131
1110
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
1132
1111
|
}
|
|
1133
|
-
static createProperty(t, e =
|
|
1112
|
+
static createProperty(t, e = ke) {
|
|
1134
1113
|
if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
|
|
1135
|
-
const
|
|
1136
|
-
s !== void 0 &&
|
|
1114
|
+
const i = Symbol(), s = this.getPropertyDescriptor(t, i, e);
|
|
1115
|
+
s !== void 0 && zi(this.prototype, t, s);
|
|
1137
1116
|
}
|
|
1138
1117
|
}
|
|
1139
|
-
static getPropertyDescriptor(t, e,
|
|
1140
|
-
const { get: s, set: r } =
|
|
1118
|
+
static getPropertyDescriptor(t, e, i) {
|
|
1119
|
+
const { get: s, set: r } = Di(this.prototype, t) ?? { get() {
|
|
1141
1120
|
return this[e];
|
|
1142
1121
|
}, set(o) {
|
|
1143
1122
|
this[e] = o;
|
|
@@ -1146,31 +1125,31 @@ let B = class extends HTMLElement {
|
|
|
1146
1125
|
return s == null ? void 0 : s.call(this);
|
|
1147
1126
|
}, set(o) {
|
|
1148
1127
|
const a = s == null ? void 0 : s.call(this);
|
|
1149
|
-
r.call(this, o), this.requestUpdate(t, a,
|
|
1128
|
+
r.call(this, o), this.requestUpdate(t, a, i);
|
|
1150
1129
|
}, configurable: !0, enumerable: !0 };
|
|
1151
1130
|
}
|
|
1152
1131
|
static getPropertyOptions(t) {
|
|
1153
|
-
return this.elementProperties.get(t) ??
|
|
1132
|
+
return this.elementProperties.get(t) ?? ke;
|
|
1154
1133
|
}
|
|
1155
1134
|
static _$Ei() {
|
|
1156
1135
|
if (this.hasOwnProperty(V("elementProperties"))) return;
|
|
1157
|
-
const t =
|
|
1136
|
+
const t = qi(this);
|
|
1158
1137
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
1159
1138
|
}
|
|
1160
1139
|
static finalize() {
|
|
1161
1140
|
if (this.hasOwnProperty(V("finalized"))) return;
|
|
1162
1141
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(V("properties"))) {
|
|
1163
|
-
const e = this.properties,
|
|
1164
|
-
for (const s of
|
|
1142
|
+
const e = this.properties, i = [...Fi(e), ...Yi(e)];
|
|
1143
|
+
for (const s of i) this.createProperty(s, e[s]);
|
|
1165
1144
|
}
|
|
1166
1145
|
const t = this[Symbol.metadata];
|
|
1167
1146
|
if (t !== null) {
|
|
1168
1147
|
const e = litPropertyMetadata.get(t);
|
|
1169
|
-
if (e !== void 0) for (const [
|
|
1148
|
+
if (e !== void 0) for (const [i, s] of e) this.elementProperties.set(i, s);
|
|
1170
1149
|
}
|
|
1171
1150
|
this._$Eh = /* @__PURE__ */ new Map();
|
|
1172
|
-
for (const [e,
|
|
1173
|
-
const s = this._$Eu(e,
|
|
1151
|
+
for (const [e, i] of this.elementProperties) {
|
|
1152
|
+
const s = this._$Eu(e, i);
|
|
1174
1153
|
s !== void 0 && this._$Eh.set(s, e);
|
|
1175
1154
|
}
|
|
1176
1155
|
this.elementStyles = this.finalizeStyles(this.styles);
|
|
@@ -1178,14 +1157,14 @@ let B = class extends HTMLElement {
|
|
|
1178
1157
|
static finalizeStyles(t) {
|
|
1179
1158
|
const e = [];
|
|
1180
1159
|
if (Array.isArray(t)) {
|
|
1181
|
-
const
|
|
1182
|
-
for (const s of
|
|
1183
|
-
} else t !== void 0 && e.push(
|
|
1160
|
+
const i = new Set(t.flat(1 / 0).reverse());
|
|
1161
|
+
for (const s of i) e.unshift(Se(s));
|
|
1162
|
+
} else t !== void 0 && e.push(Se(t));
|
|
1184
1163
|
return e;
|
|
1185
1164
|
}
|
|
1186
1165
|
static _$Eu(t, e) {
|
|
1187
|
-
const
|
|
1188
|
-
return
|
|
1166
|
+
const i = e.attribute;
|
|
1167
|
+
return i === !1 ? void 0 : typeof i == "string" ? i : typeof t == "string" ? t.toLowerCase() : void 0;
|
|
1189
1168
|
}
|
|
1190
1169
|
constructor() {
|
|
1191
1170
|
super(), this._$Ep = void 0, this.isUpdatePending = !1, this.hasUpdated = !1, this._$Em = null, this._$Ev();
|
|
@@ -1204,18 +1183,18 @@ let B = class extends HTMLElement {
|
|
|
1204
1183
|
}
|
|
1205
1184
|
_$E_() {
|
|
1206
1185
|
const t = /* @__PURE__ */ new Map(), e = this.constructor.elementProperties;
|
|
1207
|
-
for (const
|
|
1186
|
+
for (const i of e.keys()) this.hasOwnProperty(i) && (t.set(i, this[i]), delete this[i]);
|
|
1208
1187
|
t.size > 0 && (this._$Ep = t);
|
|
1209
1188
|
}
|
|
1210
1189
|
createRenderRoot() {
|
|
1211
1190
|
const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
|
1212
|
-
return
|
|
1191
|
+
return Bi(t, this.constructor.elementStyles), t;
|
|
1213
1192
|
}
|
|
1214
1193
|
connectedCallback() {
|
|
1215
1194
|
var t;
|
|
1216
1195
|
this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), (t = this._$EO) == null || t.forEach((e) => {
|
|
1217
|
-
var
|
|
1218
|
-
return (
|
|
1196
|
+
var i;
|
|
1197
|
+
return (i = e.hostConnected) == null ? void 0 : i.call(e);
|
|
1219
1198
|
});
|
|
1220
1199
|
}
|
|
1221
1200
|
enableUpdating(t) {
|
|
@@ -1223,38 +1202,38 @@ let B = class extends HTMLElement {
|
|
|
1223
1202
|
disconnectedCallback() {
|
|
1224
1203
|
var t;
|
|
1225
1204
|
(t = this._$EO) == null || t.forEach((e) => {
|
|
1226
|
-
var
|
|
1227
|
-
return (
|
|
1205
|
+
var i;
|
|
1206
|
+
return (i = e.hostDisconnected) == null ? void 0 : i.call(e);
|
|
1228
1207
|
});
|
|
1229
1208
|
}
|
|
1230
|
-
attributeChangedCallback(t, e,
|
|
1231
|
-
this._$AK(t,
|
|
1209
|
+
attributeChangedCallback(t, e, i) {
|
|
1210
|
+
this._$AK(t, i);
|
|
1232
1211
|
}
|
|
1233
1212
|
_$EC(t, e) {
|
|
1234
1213
|
var r;
|
|
1235
|
-
const
|
|
1236
|
-
if (s !== void 0 &&
|
|
1237
|
-
const o = (((r =
|
|
1214
|
+
const i = this.constructor.elementProperties.get(t), s = this.constructor._$Eu(t, i);
|
|
1215
|
+
if (s !== void 0 && i.reflect === !0) {
|
|
1216
|
+
const o = (((r = i.converter) == null ? void 0 : r.toAttribute) !== void 0 ? i.converter : $t).toAttribute(e, i.type);
|
|
1238
1217
|
this._$Em = t, o == null ? this.removeAttribute(s) : this.setAttribute(s, o), this._$Em = null;
|
|
1239
1218
|
}
|
|
1240
1219
|
}
|
|
1241
1220
|
_$AK(t, e) {
|
|
1242
1221
|
var r;
|
|
1243
|
-
const
|
|
1222
|
+
const i = this.constructor, s = i._$Eh.get(t);
|
|
1244
1223
|
if (s !== void 0 && this._$Em !== s) {
|
|
1245
|
-
const o =
|
|
1224
|
+
const o = i.getPropertyOptions(s), a = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((r = o.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? o.converter : $t;
|
|
1246
1225
|
this._$Em = s, this[s] = a.fromAttribute(e, o.type), this._$Em = null;
|
|
1247
1226
|
}
|
|
1248
1227
|
}
|
|
1249
|
-
requestUpdate(t, e,
|
|
1228
|
+
requestUpdate(t, e, i) {
|
|
1250
1229
|
if (t !== void 0) {
|
|
1251
|
-
if (
|
|
1252
|
-
this.P(t, e,
|
|
1230
|
+
if (i ?? (i = this.constructor.getPropertyOptions(t)), !(i.hasChanged ?? ie)(this[t], e)) return;
|
|
1231
|
+
this.P(t, e, i);
|
|
1253
1232
|
}
|
|
1254
1233
|
this.isUpdatePending === !1 && (this._$ES = this._$ET());
|
|
1255
1234
|
}
|
|
1256
|
-
P(t, e,
|
|
1257
|
-
this._$AL.has(t) || this._$AL.set(t, e),
|
|
1235
|
+
P(t, e, i) {
|
|
1236
|
+
this._$AL.has(t) || this._$AL.set(t, e), i.reflect === !0 && this._$Em !== t && (this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Set())).add(t);
|
|
1258
1237
|
}
|
|
1259
1238
|
async _$ET() {
|
|
1260
1239
|
this.isUpdatePending = !0;
|
|
@@ -1270,7 +1249,7 @@ let B = class extends HTMLElement {
|
|
|
1270
1249
|
return this.performUpdate();
|
|
1271
1250
|
}
|
|
1272
1251
|
performUpdate() {
|
|
1273
|
-
var
|
|
1252
|
+
var i;
|
|
1274
1253
|
if (!this.isUpdatePending) return;
|
|
1275
1254
|
if (!this.hasUpdated) {
|
|
1276
1255
|
if (this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this._$Ep) {
|
|
@@ -1283,7 +1262,7 @@ let B = class extends HTMLElement {
|
|
|
1283
1262
|
let t = !1;
|
|
1284
1263
|
const e = this._$AL;
|
|
1285
1264
|
try {
|
|
1286
|
-
t = this.shouldUpdate(e), t ? (this.willUpdate(e), (
|
|
1265
|
+
t = this.shouldUpdate(e), t ? (this.willUpdate(e), (i = this._$EO) == null || i.forEach((s) => {
|
|
1287
1266
|
var r;
|
|
1288
1267
|
return (r = s.hostUpdate) == null ? void 0 : r.call(s);
|
|
1289
1268
|
}), this.update(e)) : this._$EU();
|
|
@@ -1296,9 +1275,9 @@ let B = class extends HTMLElement {
|
|
|
1296
1275
|
}
|
|
1297
1276
|
_$AE(t) {
|
|
1298
1277
|
var e;
|
|
1299
|
-
(e = this._$EO) == null || e.forEach((
|
|
1278
|
+
(e = this._$EO) == null || e.forEach((i) => {
|
|
1300
1279
|
var s;
|
|
1301
|
-
return (s =
|
|
1280
|
+
return (s = i.hostUpdated) == null ? void 0 : s.call(i);
|
|
1302
1281
|
}), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
|
|
1303
1282
|
}
|
|
1304
1283
|
_$EU() {
|
|
@@ -1321,76 +1300,76 @@ let B = class extends HTMLElement {
|
|
|
1321
1300
|
firstUpdated(t) {
|
|
1322
1301
|
}
|
|
1323
1302
|
};
|
|
1324
|
-
B.elementStyles = [], B.shadowRootOptions = { mode: "open" }, B[V("elementProperties")] = /* @__PURE__ */ new Map(), B[V("finalized")] = /* @__PURE__ */ new Map(),
|
|
1303
|
+
B.elementStyles = [], B.shadowRootOptions = { mode: "open" }, B[V("elementProperties")] = /* @__PURE__ */ new Map(), B[V("finalized")] = /* @__PURE__ */ new Map(), Ut == null || Ut({ ReactiveElement: B }), (O.reactiveElementVersions ?? (O.reactiveElementVersions = [])).push("2.0.4");
|
|
1325
1304
|
/**
|
|
1326
1305
|
* @license
|
|
1327
1306
|
* Copyright 2017 Google LLC
|
|
1328
1307
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1329
1308
|
*/
|
|
1330
|
-
const tt = globalThis,
|
|
1331
|
-
\f\r]`,
|
|
1332
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
1333
|
-
function
|
|
1334
|
-
if (!
|
|
1335
|
-
return
|
|
1336
|
-
}
|
|
1337
|
-
const
|
|
1338
|
-
const e =
|
|
1339
|
-
let s, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", o =
|
|
1309
|
+
const tt = globalThis, mt = tt.trustedTypes, Ee = mt ? mt.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, kn = "$lit$", C = `lit$${Math.random().toFixed(9).slice(2)}$`, En = "?" + C, Gi = `<${En}>`, R = document, nt = () => R.createComment(""), it = (n) => n === null || typeof n != "object" && typeof n != "function", se = Array.isArray, Zi = (n) => se(n) || typeof (n == null ? void 0 : n[Symbol.iterator]) == "function", jt = `[
|
|
1310
|
+
\f\r]`, Q = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ce = /-->/g, Oe = />/g, T = RegExp(`>|${jt}(?:([^\\s"'>=/]+)(${jt}*=${jt}*(?:[^
|
|
1311
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Te = /'/g, Pe = /"/g, Cn = /^(?:script|style|textarea|title)$/i, Ki = (n) => (t, ...e) => ({ _$litType$: n, strings: t, values: e }), k = Ki(1), U = Symbol.for("lit-noChange"), p = Symbol.for("lit-nothing"), Ie = /* @__PURE__ */ new WeakMap(), I = R.createTreeWalker(R, 129);
|
|
1312
|
+
function On(n, t) {
|
|
1313
|
+
if (!se(n) || !n.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
1314
|
+
return Ee !== void 0 ? Ee.createHTML(t) : t;
|
|
1315
|
+
}
|
|
1316
|
+
const Xi = (n, t) => {
|
|
1317
|
+
const e = n.length - 1, i = [];
|
|
1318
|
+
let s, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", o = Q;
|
|
1340
1319
|
for (let a = 0; a < e; a++) {
|
|
1341
|
-
const l =
|
|
1342
|
-
let c, u,
|
|
1343
|
-
for (;
|
|
1344
|
-
const f = o === T &&
|
|
1345
|
-
r += o ===
|
|
1320
|
+
const l = n[a];
|
|
1321
|
+
let c, u, d = -1, h = 0;
|
|
1322
|
+
for (; h < l.length && (o.lastIndex = h, u = o.exec(l), u !== null); ) h = o.lastIndex, o === Q ? u[1] === "!--" ? o = Ce : u[1] !== void 0 ? o = Oe : u[2] !== void 0 ? (Cn.test(u[2]) && (s = RegExp("</" + u[2], "g")), o = T) : u[3] !== void 0 && (o = T) : o === T ? u[0] === ">" ? (o = s ?? Q, d = -1) : u[1] === void 0 ? d = -2 : (d = 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 = Q : (o = T, s = void 0);
|
|
1323
|
+
const f = o === T && n[a + 1].startsWith("/>") ? " " : "";
|
|
1324
|
+
r += o === Q ? l + Gi : d >= 0 ? (i.push(c), l.slice(0, d) + kn + l.slice(d) + C + f) : l + C + (d === -2 ? a : f);
|
|
1346
1325
|
}
|
|
1347
|
-
return [
|
|
1326
|
+
return [On(n, r + (n[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
|
|
1348
1327
|
};
|
|
1349
|
-
let
|
|
1350
|
-
constructor({ strings: t, _$litType$: e },
|
|
1328
|
+
let Gt = class Tn {
|
|
1329
|
+
constructor({ strings: t, _$litType$: e }, i) {
|
|
1351
1330
|
let s;
|
|
1352
1331
|
this.parts = [];
|
|
1353
1332
|
let r = 0, o = 0;
|
|
1354
|
-
const a = t.length - 1, l = this.parts, [c, u] =
|
|
1355
|
-
if (this.el =
|
|
1356
|
-
const
|
|
1357
|
-
|
|
1333
|
+
const a = t.length - 1, l = this.parts, [c, u] = Xi(t, e);
|
|
1334
|
+
if (this.el = Tn.createElement(c, i), I.currentNode = this.el.content, e === 2 || e === 3) {
|
|
1335
|
+
const d = this.el.content.firstChild;
|
|
1336
|
+
d.replaceWith(...d.childNodes);
|
|
1358
1337
|
}
|
|
1359
1338
|
for (; (s = I.nextNode()) !== null && l.length < a; ) {
|
|
1360
1339
|
if (s.nodeType === 1) {
|
|
1361
|
-
if (s.hasAttributes()) for (const
|
|
1362
|
-
const
|
|
1363
|
-
l.push({ type: 1, index: r, name: $[2], strings: f, ctor: $[1] === "." ?
|
|
1364
|
-
} else
|
|
1365
|
-
if (
|
|
1366
|
-
const
|
|
1367
|
-
if (
|
|
1368
|
-
s.textContent =
|
|
1369
|
-
for (let f = 0; f <
|
|
1370
|
-
s.append(h
|
|
1340
|
+
if (s.hasAttributes()) for (const d of s.getAttributeNames()) if (d.endsWith(kn)) {
|
|
1341
|
+
const h = u[o++], f = s.getAttribute(d).split(C), $ = /([.?@])?(.*)/.exec(h);
|
|
1342
|
+
l.push({ type: 1, index: r, name: $[2], strings: f, ctor: $[1] === "." ? Qi : $[1] === "?" ? Vi : $[1] === "@" ? ts : Ot }), s.removeAttribute(d);
|
|
1343
|
+
} else d.startsWith(C) && (l.push({ type: 6, index: r }), s.removeAttribute(d));
|
|
1344
|
+
if (Cn.test(s.tagName)) {
|
|
1345
|
+
const d = s.textContent.split(C), h = d.length - 1;
|
|
1346
|
+
if (h > 0) {
|
|
1347
|
+
s.textContent = mt ? mt.emptyScript : "";
|
|
1348
|
+
for (let f = 0; f < h; f++) s.append(d[f], nt()), I.nextNode(), l.push({ type: 2, index: ++r });
|
|
1349
|
+
s.append(d[h], nt());
|
|
1371
1350
|
}
|
|
1372
1351
|
}
|
|
1373
|
-
} else if (s.nodeType === 8) if (s.data ===
|
|
1352
|
+
} else if (s.nodeType === 8) if (s.data === En) l.push({ type: 2, index: r });
|
|
1374
1353
|
else {
|
|
1375
|
-
let
|
|
1376
|
-
for (; (
|
|
1354
|
+
let d = -1;
|
|
1355
|
+
for (; (d = s.data.indexOf(C, d + 1)) !== -1; ) l.push({ type: 7, index: r }), d += C.length - 1;
|
|
1377
1356
|
}
|
|
1378
1357
|
r++;
|
|
1379
1358
|
}
|
|
1380
1359
|
}
|
|
1381
1360
|
static createElement(t, e) {
|
|
1382
|
-
const
|
|
1383
|
-
return
|
|
1361
|
+
const i = R.createElement("template");
|
|
1362
|
+
return i.innerHTML = t, i;
|
|
1384
1363
|
}
|
|
1385
1364
|
};
|
|
1386
|
-
function G(
|
|
1365
|
+
function G(n, t, e = n, i) {
|
|
1387
1366
|
var o, a;
|
|
1388
1367
|
if (t === U) return t;
|
|
1389
|
-
let s =
|
|
1390
|
-
const r =
|
|
1391
|
-
return (s == null ? void 0 : s.constructor) !== r && ((a = s == null ? void 0 : s._$AO) == null || a.call(s, !1), r === void 0 ? s = void 0 : (s = new r(
|
|
1368
|
+
let s = i !== void 0 ? (o = e._$Co) == null ? void 0 : o[i] : e._$Cl;
|
|
1369
|
+
const r = it(t) ? void 0 : t._$litDirective$;
|
|
1370
|
+
return (s == null ? void 0 : s.constructor) !== r && ((a = s == null ? void 0 : s._$AO) == null || a.call(s, !1), r === void 0 ? s = void 0 : (s = new r(n), s._$AT(n, e, i)), i !== void 0 ? (e._$Co ?? (e._$Co = []))[i] = s : e._$Cl = s), s !== void 0 && (t = G(n, s._$AS(n, t.values), s, i)), t;
|
|
1392
1371
|
}
|
|
1393
|
-
class
|
|
1372
|
+
class Ji {
|
|
1394
1373
|
constructor(t, e) {
|
|
1395
1374
|
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
|
|
1396
1375
|
}
|
|
@@ -1401,13 +1380,13 @@ class Vn {
|
|
|
1401
1380
|
return this._$AM._$AU;
|
|
1402
1381
|
}
|
|
1403
1382
|
u(t) {
|
|
1404
|
-
const { el: { content: e }, parts:
|
|
1383
|
+
const { el: { content: e }, parts: i } = this._$AD, s = ((t == null ? void 0 : t.creationScope) ?? R).importNode(e, !0);
|
|
1405
1384
|
I.currentNode = s;
|
|
1406
|
-
let r = I.nextNode(), o = 0, a = 0, l =
|
|
1385
|
+
let r = I.nextNode(), o = 0, a = 0, l = i[0];
|
|
1407
1386
|
for (; l !== void 0; ) {
|
|
1408
1387
|
if (o === l.index) {
|
|
1409
1388
|
let c;
|
|
1410
|
-
l.type === 2 ? c = new at(r, r.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (c = new
|
|
1389
|
+
l.type === 2 ? c = new at(r, r.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (c = new es(r, this, t)), this._$AV.push(c), l = i[++a];
|
|
1411
1390
|
}
|
|
1412
1391
|
o !== (l == null ? void 0 : l.index) && (r = I.nextNode(), o++);
|
|
1413
1392
|
}
|
|
@@ -1415,7 +1394,7 @@ class Vn {
|
|
|
1415
1394
|
}
|
|
1416
1395
|
p(t) {
|
|
1417
1396
|
let e = 0;
|
|
1418
|
-
for (const
|
|
1397
|
+
for (const i of this._$AV) i !== void 0 && (i.strings !== void 0 ? (i._$AI(t, i, e), e += i.strings.length - 2) : i._$AI(t[e])), e++;
|
|
1419
1398
|
}
|
|
1420
1399
|
}
|
|
1421
1400
|
class at {
|
|
@@ -1423,8 +1402,8 @@ class at {
|
|
|
1423
1402
|
var t;
|
|
1424
1403
|
return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
|
|
1425
1404
|
}
|
|
1426
|
-
constructor(t, e,
|
|
1427
|
-
this.type = 2, this._$AH = p, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM =
|
|
1405
|
+
constructor(t, e, i, s) {
|
|
1406
|
+
this.type = 2, this._$AH = p, 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;
|
|
1428
1407
|
}
|
|
1429
1408
|
get parentNode() {
|
|
1430
1409
|
let t = this._$AA.parentNode;
|
|
@@ -1438,7 +1417,7 @@ class at {
|
|
|
1438
1417
|
return this._$AB;
|
|
1439
1418
|
}
|
|
1440
1419
|
_$AI(t, e = this) {
|
|
1441
|
-
t = G(this, t, e),
|
|
1420
|
+
t = G(this, t, e), it(t) ? t === p || t == null || t === "" ? (this._$AH !== p && this._$AR(), this._$AH = p) : t !== this._$AH && t !== U && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Zi(t) ? this.k(t) : this._(t);
|
|
1442
1421
|
}
|
|
1443
1422
|
O(t) {
|
|
1444
1423
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -1447,31 +1426,31 @@ class at {
|
|
|
1447
1426
|
this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
|
|
1448
1427
|
}
|
|
1449
1428
|
_(t) {
|
|
1450
|
-
this._$AH !== p &&
|
|
1429
|
+
this._$AH !== p && it(this._$AH) ? this._$AA.nextSibling.data = t : this.T(R.createTextNode(t)), this._$AH = t;
|
|
1451
1430
|
}
|
|
1452
1431
|
$(t) {
|
|
1453
1432
|
var r;
|
|
1454
|
-
const { values: e, _$litType$:
|
|
1433
|
+
const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = Gt.createElement(On(i.h, i.h[0]), this.options)), i);
|
|
1455
1434
|
if (((r = this._$AH) == null ? void 0 : r._$AD) === s) this._$AH.p(e);
|
|
1456
1435
|
else {
|
|
1457
|
-
const o = new
|
|
1436
|
+
const o = new Ji(s, this), a = o.u(this.options);
|
|
1458
1437
|
o.p(e), this.T(a), this._$AH = o;
|
|
1459
1438
|
}
|
|
1460
1439
|
}
|
|
1461
1440
|
_$AC(t) {
|
|
1462
|
-
let e =
|
|
1463
|
-
return e === void 0 &&
|
|
1441
|
+
let e = Ie.get(t.strings);
|
|
1442
|
+
return e === void 0 && Ie.set(t.strings, e = new Gt(t)), e;
|
|
1464
1443
|
}
|
|
1465
1444
|
k(t) {
|
|
1466
|
-
|
|
1445
|
+
se(this._$AH) || (this._$AH = [], this._$AR());
|
|
1467
1446
|
const e = this._$AH;
|
|
1468
|
-
let
|
|
1469
|
-
for (const r of t) s === e.length ? e.push(
|
|
1470
|
-
s < e.length && (this._$AR(
|
|
1447
|
+
let i, s = 0;
|
|
1448
|
+
for (const r of t) s === e.length ? e.push(i = new at(this.O(nt()), this.O(nt()), this, this.options)) : i = e[s], i._$AI(r), s++;
|
|
1449
|
+
s < e.length && (this._$AR(i && i._$AB.nextSibling, s), e.length = s);
|
|
1471
1450
|
}
|
|
1472
1451
|
_$AR(t = this._$AA.nextSibling, e) {
|
|
1473
|
-
var
|
|
1474
|
-
for ((
|
|
1452
|
+
var i;
|
|
1453
|
+
for ((i = this._$AP) == null ? void 0 : i.call(this, !1, !0, e); t && t !== this._$AB; ) {
|
|
1475
1454
|
const s = t.nextSibling;
|
|
1476
1455
|
t.remove(), t = s;
|
|
1477
1456
|
}
|
|
@@ -1488,17 +1467,17 @@ class Ot {
|
|
|
1488
1467
|
get _$AU() {
|
|
1489
1468
|
return this._$AM._$AU;
|
|
1490
1469
|
}
|
|
1491
|
-
constructor(t, e,
|
|
1492
|
-
this.type = 1, this._$AH = p, this._$AN = void 0, this.element = t, this.name = e, this._$AM = s, this.options = r,
|
|
1470
|
+
constructor(t, e, i, s, r) {
|
|
1471
|
+
this.type = 1, this._$AH = p, this._$AN = void 0, this.element = t, this.name = e, this._$AM = s, this.options = r, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = p;
|
|
1493
1472
|
}
|
|
1494
|
-
_$AI(t, e = this,
|
|
1473
|
+
_$AI(t, e = this, i, s) {
|
|
1495
1474
|
const r = this.strings;
|
|
1496
1475
|
let o = !1;
|
|
1497
|
-
if (r === void 0) t = G(this, t, e, 0), o = !
|
|
1476
|
+
if (r === void 0) t = G(this, t, e, 0), o = !it(t) || t !== this._$AH && t !== U, o && (this._$AH = t);
|
|
1498
1477
|
else {
|
|
1499
1478
|
const a = t;
|
|
1500
1479
|
let l, c;
|
|
1501
|
-
for (t = r[0], l = 0; l < r.length - 1; l++) c = G(this, a[
|
|
1480
|
+
for (t = r[0], l = 0; l < r.length - 1; l++) c = G(this, a[i + l], e, l), c === U && (c = this._$AH[l]), o || (o = !it(c) || c !== this._$AH[l]), c === p ? t = p : t !== p && (t += (c ?? "") + r[l + 1]), this._$AH[l] = c;
|
|
1502
1481
|
}
|
|
1503
1482
|
o && !s && this.j(t);
|
|
1504
1483
|
}
|
|
@@ -1506,7 +1485,7 @@ class Ot {
|
|
|
1506
1485
|
t === p ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
|
1507
1486
|
}
|
|
1508
1487
|
}
|
|
1509
|
-
let
|
|
1488
|
+
let Qi = class extends Ot {
|
|
1510
1489
|
constructor() {
|
|
1511
1490
|
super(...arguments), this.type = 3;
|
|
1512
1491
|
}
|
|
@@ -1514,7 +1493,7 @@ let ts = class extends Ot {
|
|
|
1514
1493
|
this.element[this.name] = t === p ? void 0 : t;
|
|
1515
1494
|
}
|
|
1516
1495
|
};
|
|
1517
|
-
class
|
|
1496
|
+
class Vi extends Ot {
|
|
1518
1497
|
constructor() {
|
|
1519
1498
|
super(...arguments), this.type = 4;
|
|
1520
1499
|
}
|
|
@@ -1522,23 +1501,23 @@ class es extends Ot {
|
|
|
1522
1501
|
this.element.toggleAttribute(this.name, !!t && t !== p);
|
|
1523
1502
|
}
|
|
1524
1503
|
}
|
|
1525
|
-
class
|
|
1526
|
-
constructor(t, e,
|
|
1527
|
-
super(t, e,
|
|
1504
|
+
class ts extends Ot {
|
|
1505
|
+
constructor(t, e, i, s, r) {
|
|
1506
|
+
super(t, e, i, s, r), this.type = 5;
|
|
1528
1507
|
}
|
|
1529
1508
|
_$AI(t, e = this) {
|
|
1530
1509
|
if ((t = G(this, t, e, 0) ?? p) === U) return;
|
|
1531
|
-
const
|
|
1532
|
-
s && this.element.removeEventListener(this.name, this,
|
|
1510
|
+
const i = this._$AH, s = t === p && i !== p || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, r = t !== p && (i === p || s);
|
|
1511
|
+
s && this.element.removeEventListener(this.name, this, i), r && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
|
1533
1512
|
}
|
|
1534
1513
|
handleEvent(t) {
|
|
1535
1514
|
var e;
|
|
1536
1515
|
typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, t) : this._$AH.handleEvent(t);
|
|
1537
1516
|
}
|
|
1538
1517
|
}
|
|
1539
|
-
class
|
|
1540
|
-
constructor(t, e,
|
|
1541
|
-
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options =
|
|
1518
|
+
class es {
|
|
1519
|
+
constructor(t, e, i) {
|
|
1520
|
+
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
|
|
1542
1521
|
}
|
|
1543
1522
|
get _$AU() {
|
|
1544
1523
|
return this._$AM._$AU;
|
|
@@ -1547,16 +1526,16 @@ class ns {
|
|
|
1547
1526
|
G(this, t);
|
|
1548
1527
|
}
|
|
1549
1528
|
}
|
|
1550
|
-
const
|
|
1551
|
-
|
|
1552
|
-
const
|
|
1553
|
-
const
|
|
1554
|
-
let s =
|
|
1529
|
+
const Mt = tt.litHtmlPolyfillSupport;
|
|
1530
|
+
Mt == null || Mt(Gt, at), (tt.litHtmlVersions ?? (tt.litHtmlVersions = [])).push("3.2.1");
|
|
1531
|
+
const ns = (n, t, e) => {
|
|
1532
|
+
const i = (e == null ? void 0 : e.renderBefore) ?? t;
|
|
1533
|
+
let s = i._$litPart$;
|
|
1555
1534
|
if (s === void 0) {
|
|
1556
1535
|
const r = (e == null ? void 0 : e.renderBefore) ?? null;
|
|
1557
|
-
|
|
1536
|
+
i._$litPart$ = s = new at(t.insertBefore(nt(), r), r, void 0, e ?? {});
|
|
1558
1537
|
}
|
|
1559
|
-
return s._$AI(
|
|
1538
|
+
return s._$AI(n), s;
|
|
1560
1539
|
};
|
|
1561
1540
|
/**
|
|
1562
1541
|
* @license
|
|
@@ -1574,7 +1553,7 @@ let x = class extends B {
|
|
|
1574
1553
|
}
|
|
1575
1554
|
update(t) {
|
|
1576
1555
|
const e = this.render();
|
|
1577
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do =
|
|
1556
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = ns(e, this.renderRoot, this.renderOptions);
|
|
1578
1557
|
}
|
|
1579
1558
|
connectedCallback() {
|
|
1580
1559
|
var t;
|
|
@@ -1588,57 +1567,57 @@ let x = class extends B {
|
|
|
1588
1567
|
return U;
|
|
1589
1568
|
}
|
|
1590
1569
|
};
|
|
1591
|
-
var
|
|
1592
|
-
x._$litElement$ = !0, x.finalized = !0, (
|
|
1593
|
-
const
|
|
1594
|
-
|
|
1570
|
+
var nn;
|
|
1571
|
+
x._$litElement$ = !0, x.finalized = !0, (nn = globalThis.litElementHydrateSupport) == null || nn.call(globalThis, { LitElement: x });
|
|
1572
|
+
const Nt = globalThis.litElementPolyfillSupport;
|
|
1573
|
+
Nt == null || Nt({ LitElement: x });
|
|
1595
1574
|
(globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.1.1");
|
|
1596
1575
|
/**
|
|
1597
1576
|
* @license
|
|
1598
1577
|
* Copyright 2017 Google LLC
|
|
1599
1578
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1600
1579
|
*/
|
|
1601
|
-
const
|
|
1602
|
-
const { kind:
|
|
1580
|
+
const is = { attribute: !0, type: String, converter: $t, reflect: !1, hasChanged: ie }, ss = (n = is, t, e) => {
|
|
1581
|
+
const { kind: i, metadata: s } = e;
|
|
1603
1582
|
let r = globalThis.litPropertyMetadata.get(s);
|
|
1604
|
-
if (r === void 0 && globalThis.litPropertyMetadata.set(s, r = /* @__PURE__ */ new Map()), r.set(e.name,
|
|
1583
|
+
if (r === void 0 && globalThis.litPropertyMetadata.set(s, r = /* @__PURE__ */ new Map()), r.set(e.name, n), i === "accessor") {
|
|
1605
1584
|
const { name: o } = e;
|
|
1606
1585
|
return { set(a) {
|
|
1607
1586
|
const l = t.get.call(this);
|
|
1608
|
-
t.set.call(this, a), this.requestUpdate(o, l,
|
|
1587
|
+
t.set.call(this, a), this.requestUpdate(o, l, n);
|
|
1609
1588
|
}, init(a) {
|
|
1610
|
-
return a !== void 0 && this.P(o, void 0,
|
|
1589
|
+
return a !== void 0 && this.P(o, void 0, n), a;
|
|
1611
1590
|
} };
|
|
1612
1591
|
}
|
|
1613
|
-
if (
|
|
1592
|
+
if (i === "setter") {
|
|
1614
1593
|
const { name: o } = e;
|
|
1615
1594
|
return function(a) {
|
|
1616
1595
|
const l = this[o];
|
|
1617
|
-
t.call(this, a), this.requestUpdate(o, l,
|
|
1596
|
+
t.call(this, a), this.requestUpdate(o, l, n);
|
|
1618
1597
|
};
|
|
1619
1598
|
}
|
|
1620
|
-
throw Error("Unsupported decorator location: " +
|
|
1599
|
+
throw Error("Unsupported decorator location: " + i);
|
|
1621
1600
|
};
|
|
1622
|
-
function
|
|
1623
|
-
return (t, e) => typeof e == "object" ?
|
|
1601
|
+
function v(n) {
|
|
1602
|
+
return (t, e) => typeof e == "object" ? ss(n, t, e) : ((i, s, r) => {
|
|
1624
1603
|
const o = s.hasOwnProperty(r);
|
|
1625
|
-
return s.constructor.createProperty(r, o ? { ...
|
|
1626
|
-
})(
|
|
1604
|
+
return s.constructor.createProperty(r, o ? { ...i, wrapped: !0 } : i), o ? Object.getOwnPropertyDescriptor(s, r) : void 0;
|
|
1605
|
+
})(n, t, e);
|
|
1627
1606
|
}
|
|
1628
1607
|
/**
|
|
1629
1608
|
* @license
|
|
1630
1609
|
* Copyright 2017 Google LLC
|
|
1631
1610
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1632
1611
|
*/
|
|
1633
|
-
function N(
|
|
1634
|
-
return
|
|
1612
|
+
function N(n) {
|
|
1613
|
+
return v({ ...n, state: !0, attribute: !1 });
|
|
1635
1614
|
}
|
|
1636
|
-
var
|
|
1637
|
-
for (var s = void 0, r =
|
|
1638
|
-
(o =
|
|
1639
|
-
return s &&
|
|
1615
|
+
var rs = Object.defineProperty, os = (n, t, e, i) => {
|
|
1616
|
+
for (var s = void 0, r = n.length - 1, o; r >= 0; r--)
|
|
1617
|
+
(o = n[r]) && (s = o(t, e, s) || s);
|
|
1618
|
+
return s && rs(t, e, s), s;
|
|
1640
1619
|
};
|
|
1641
|
-
const
|
|
1620
|
+
const fe = class fe extends x {
|
|
1642
1621
|
constructor() {
|
|
1643
1622
|
super(...arguments), this.anchor = "BottomRight";
|
|
1644
1623
|
}
|
|
@@ -1650,7 +1629,7 @@ const pe = class pe extends x {
|
|
|
1650
1629
|
return this.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right"), p;
|
|
1651
1630
|
}
|
|
1652
1631
|
};
|
|
1653
|
-
|
|
1632
|
+
fe.styles = [
|
|
1654
1633
|
M`
|
|
1655
1634
|
:host {
|
|
1656
1635
|
position: fixed;
|
|
@@ -1669,24 +1648,24 @@ pe.styles = [
|
|
|
1669
1648
|
}
|
|
1670
1649
|
`
|
|
1671
1650
|
];
|
|
1672
|
-
let
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
],
|
|
1651
|
+
let yt = fe;
|
|
1652
|
+
os([
|
|
1653
|
+
v({ attribute: !0 })
|
|
1654
|
+
], yt.prototype, "anchor");
|
|
1676
1655
|
/**
|
|
1677
1656
|
* @license
|
|
1678
1657
|
* Copyright 2017 Google LLC
|
|
1679
1658
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1680
1659
|
*/
|
|
1681
|
-
const
|
|
1682
|
-
let
|
|
1660
|
+
const re = { ATTRIBUTE: 1, CHILD: 2 }, oe = (n) => (...t) => ({ _$litDirective$: n, values: t });
|
|
1661
|
+
let Pn = class {
|
|
1683
1662
|
constructor(t) {
|
|
1684
1663
|
}
|
|
1685
1664
|
get _$AU() {
|
|
1686
1665
|
return this._$AM._$AU;
|
|
1687
1666
|
}
|
|
1688
|
-
_$AT(t, e,
|
|
1689
|
-
this._$Ct = t, this._$AM = e, this._$Ci =
|
|
1667
|
+
_$AT(t, e, i) {
|
|
1668
|
+
this._$Ct = t, this._$AM = e, this._$Ci = i;
|
|
1690
1669
|
}
|
|
1691
1670
|
_$AS(t, e) {
|
|
1692
1671
|
return this.update(t, e);
|
|
@@ -1700,57 +1679,57 @@ let Li = class {
|
|
|
1700
1679
|
* Copyright 2020 Google LLC
|
|
1701
1680
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1702
1681
|
*/
|
|
1703
|
-
const
|
|
1682
|
+
const as = (n) => n.strings === void 0;
|
|
1704
1683
|
/**
|
|
1705
1684
|
* @license
|
|
1706
1685
|
* Copyright 2017 Google LLC
|
|
1707
1686
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1708
1687
|
*/
|
|
1709
|
-
const et = (
|
|
1710
|
-
var
|
|
1711
|
-
const e =
|
|
1688
|
+
const et = (n, t) => {
|
|
1689
|
+
var i;
|
|
1690
|
+
const e = n._$AN;
|
|
1712
1691
|
if (e === void 0) return !1;
|
|
1713
|
-
for (const s of e) (
|
|
1692
|
+
for (const s of e) (i = s._$AO) == null || i.call(s, t, !1), et(s, t);
|
|
1714
1693
|
return !0;
|
|
1715
|
-
},
|
|
1694
|
+
}, bt = (n) => {
|
|
1716
1695
|
let t, e;
|
|
1717
1696
|
do {
|
|
1718
|
-
if ((t =
|
|
1719
|
-
e = t._$AN, e.delete(
|
|
1697
|
+
if ((t = n._$AM) === void 0) break;
|
|
1698
|
+
e = t._$AN, e.delete(n), n = t;
|
|
1720
1699
|
} while ((e == null ? void 0 : e.size) === 0);
|
|
1721
|
-
},
|
|
1722
|
-
for (let t; t =
|
|
1700
|
+
}, In = (n) => {
|
|
1701
|
+
for (let t; t = n._$AM; n = t) {
|
|
1723
1702
|
let e = t._$AN;
|
|
1724
1703
|
if (e === void 0) t._$AN = e = /* @__PURE__ */ new Set();
|
|
1725
|
-
else if (e.has(
|
|
1726
|
-
e.add(
|
|
1704
|
+
else if (e.has(n)) break;
|
|
1705
|
+
e.add(n), us(t);
|
|
1727
1706
|
}
|
|
1728
1707
|
};
|
|
1729
|
-
function
|
|
1730
|
-
this._$AN !== void 0 ? (
|
|
1708
|
+
function ls(n) {
|
|
1709
|
+
this._$AN !== void 0 ? (bt(this), this._$AM = n, In(this)) : this._$AM = n;
|
|
1731
1710
|
}
|
|
1732
|
-
function
|
|
1733
|
-
const
|
|
1734
|
-
if (s !== void 0 && s.size !== 0) if (t) if (Array.isArray(
|
|
1735
|
-
else
|
|
1736
|
-
else et(this,
|
|
1711
|
+
function cs(n, t = !1, e = 0) {
|
|
1712
|
+
const i = this._$AH, s = this._$AN;
|
|
1713
|
+
if (s !== void 0 && s.size !== 0) if (t) if (Array.isArray(i)) for (let r = e; r < i.length; r++) et(i[r], !1), bt(i[r]);
|
|
1714
|
+
else i != null && (et(i, !1), bt(i));
|
|
1715
|
+
else et(this, n);
|
|
1737
1716
|
}
|
|
1738
|
-
const
|
|
1739
|
-
|
|
1717
|
+
const us = (n) => {
|
|
1718
|
+
n.type == re.CHILD && (n._$AP ?? (n._$AP = cs), n._$AQ ?? (n._$AQ = ls));
|
|
1740
1719
|
};
|
|
1741
|
-
class
|
|
1720
|
+
class Ln extends Pn {
|
|
1742
1721
|
constructor() {
|
|
1743
1722
|
super(...arguments), this._$AN = void 0;
|
|
1744
1723
|
}
|
|
1745
|
-
_$AT(t, e,
|
|
1746
|
-
super._$AT(t, e,
|
|
1724
|
+
_$AT(t, e, i) {
|
|
1725
|
+
super._$AT(t, e, i), In(this), this.isConnected = t._$AU;
|
|
1747
1726
|
}
|
|
1748
1727
|
_$AO(t, e = !0) {
|
|
1749
|
-
var
|
|
1750
|
-
t !== this.isConnected && (this.isConnected = t, t ? (
|
|
1728
|
+
var i, s;
|
|
1729
|
+
t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (s = this.disconnected) == null || s.call(this)), e && (et(this, t), bt(this));
|
|
1751
1730
|
}
|
|
1752
1731
|
setValue(t) {
|
|
1753
|
-
if (
|
|
1732
|
+
if (as(this._$Ct)) this._$Ct._$AI(t, this);
|
|
1754
1733
|
else {
|
|
1755
1734
|
const e = [...this._$Ct._$AH];
|
|
1756
1735
|
e[this._$Ci] = t, this._$Ct._$AI(e, this, 0);
|
|
@@ -1761,34 +1740,34 @@ class Ui extends Li {
|
|
|
1761
1740
|
reconnected() {
|
|
1762
1741
|
}
|
|
1763
1742
|
}
|
|
1764
|
-
const
|
|
1765
|
-
let
|
|
1766
|
-
const
|
|
1767
|
-
const e =
|
|
1743
|
+
const ds = /* @__PURE__ */ new WeakMap();
|
|
1744
|
+
let Le = 0;
|
|
1745
|
+
const Bt = /* @__PURE__ */ new Map(), Re = /* @__PURE__ */ new WeakSet(), Ue = () => new Promise((n) => requestAnimationFrame(n)), je = [{ transform: "translateY(-100%) scale(0)", opacity: 0 }], hs = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], Me = (n, t) => {
|
|
1746
|
+
const e = n - t;
|
|
1768
1747
|
return e === 0 ? void 0 : e;
|
|
1769
|
-
},
|
|
1770
|
-
const e =
|
|
1748
|
+
}, Ne = (n, t) => {
|
|
1749
|
+
const e = n / t;
|
|
1771
1750
|
return e === 1 ? void 0 : e;
|
|
1772
|
-
},
|
|
1773
|
-
const e =
|
|
1751
|
+
}, Ht = { left: (n, t) => {
|
|
1752
|
+
const e = Me(n, t);
|
|
1774
1753
|
return { value: e, transform: e == null || isNaN(e) ? void 0 : `translateX(${e}px)` };
|
|
1775
|
-
}, top: (
|
|
1776
|
-
const e =
|
|
1754
|
+
}, top: (n, t) => {
|
|
1755
|
+
const e = Me(n, t);
|
|
1777
1756
|
return { value: e, transform: e == null || isNaN(e) ? void 0 : `translateY(${e}px)` };
|
|
1778
|
-
}, width: (
|
|
1757
|
+
}, width: (n, t) => {
|
|
1779
1758
|
let e;
|
|
1780
1759
|
t === 0 && (t = 1, e = { width: "1px" });
|
|
1781
|
-
const
|
|
1782
|
-
return { value:
|
|
1783
|
-
}, height: (
|
|
1760
|
+
const i = Ne(n, t);
|
|
1761
|
+
return { value: i, overrideFrom: e, transform: i == null || isNaN(i) ? void 0 : `scaleX(${i})` };
|
|
1762
|
+
}, height: (n, t) => {
|
|
1784
1763
|
let e;
|
|
1785
1764
|
t === 0 && (t = 1, e = { height: "1px" });
|
|
1786
|
-
const
|
|
1787
|
-
return { value:
|
|
1788
|
-
} },
|
|
1789
|
-
class
|
|
1765
|
+
const i = Ne(n, t);
|
|
1766
|
+
return { value: i, overrideFrom: e, transform: i == null || isNaN(i) ? void 0 : `scaleY(${i})` };
|
|
1767
|
+
} }, fs = { duration: 333, easing: "ease-in-out" }, ps = ["left", "top", "width", "height", "opacity", "color", "background"], Be = /* @__PURE__ */ new WeakMap();
|
|
1768
|
+
class gs extends Ln {
|
|
1790
1769
|
constructor(t) {
|
|
1791
|
-
if (super(t), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, t.type ===
|
|
1770
|
+
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.");
|
|
1792
1771
|
this.createFinished();
|
|
1793
1772
|
}
|
|
1794
1773
|
createFinished() {
|
|
@@ -1805,7 +1784,7 @@ class vs extends Ui {
|
|
|
1805
1784
|
return p;
|
|
1806
1785
|
}
|
|
1807
1786
|
getController() {
|
|
1808
|
-
return
|
|
1787
|
+
return ds.get(this.u);
|
|
1809
1788
|
}
|
|
1810
1789
|
isDisabled() {
|
|
1811
1790
|
var t;
|
|
@@ -1813,27 +1792,27 @@ class vs extends Ui {
|
|
|
1813
1792
|
}
|
|
1814
1793
|
update(t, [e]) {
|
|
1815
1794
|
var s;
|
|
1816
|
-
const
|
|
1817
|
-
return
|
|
1795
|
+
const i = this.u === void 0;
|
|
1796
|
+
return i && (this.u = (s = t.options) == null ? void 0 : s.host, this.u.addController(this), this.u.updateComplete.then((r) => this.t = !0), this.element = t.element, Be.set(this.element, this)), this.optionsOrCallback = e, (i || typeof e != "function") && this.p(e), this.render(e);
|
|
1818
1797
|
}
|
|
1819
1798
|
p(t) {
|
|
1820
1799
|
t = t ?? {};
|
|
1821
1800
|
const e = this.getController();
|
|
1822
|
-
e !== void 0 && ((t = { ...e.defaultOptions, ...t }).keyframeOptions = { ...e.defaultOptions.keyframeOptions, ...t.keyframeOptions }), t.properties ?? (t.properties =
|
|
1801
|
+
e !== void 0 && ((t = { ...e.defaultOptions, ...t }).keyframeOptions = { ...e.defaultOptions.keyframeOptions, ...t.keyframeOptions }), t.properties ?? (t.properties = ps), this.options = t;
|
|
1823
1802
|
}
|
|
1824
1803
|
m() {
|
|
1825
|
-
const t = {}, e = this.element.getBoundingClientRect(),
|
|
1804
|
+
const t = {}, e = this.element.getBoundingClientRect(), i = getComputedStyle(this.element);
|
|
1826
1805
|
return this.options.properties.forEach((s) => {
|
|
1827
|
-
const r = e[s] ?? (
|
|
1806
|
+
const r = e[s] ?? (Ht[s] ? void 0 : i[s]), o = Number(r);
|
|
1828
1807
|
t[s] = isNaN(o) ? r + "" : o;
|
|
1829
1808
|
}), t;
|
|
1830
1809
|
}
|
|
1831
1810
|
v() {
|
|
1832
1811
|
let t, e = !0;
|
|
1833
|
-
return this.options.guard && (t = this.options.guard(), e = ((
|
|
1834
|
-
if (Array.isArray(
|
|
1835
|
-
if (Array.isArray(s) && s.length ===
|
|
1836
|
-
} else if (s ===
|
|
1812
|
+
return this.options.guard && (t = this.options.guard(), e = ((i, s) => {
|
|
1813
|
+
if (Array.isArray(i)) {
|
|
1814
|
+
if (Array.isArray(s) && s.length === i.length && i.every((r, o) => r === s[o])) return !1;
|
|
1815
|
+
} else if (s === i) return !1;
|
|
1837
1816
|
return !0;
|
|
1838
1817
|
})(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;
|
|
1839
1818
|
}
|
|
@@ -1843,20 +1822,20 @@ class vs extends Ui {
|
|
|
1843
1822
|
async hostUpdated() {
|
|
1844
1823
|
if (!this.h || !this.element.isConnected || this.options.skipInitial && !this.isHostRendered) return;
|
|
1845
1824
|
let t;
|
|
1846
|
-
this.prepare(), await
|
|
1847
|
-
const e = this.O(),
|
|
1825
|
+
this.prepare(), await Ue;
|
|
1826
|
+
const e = this.O(), i = this.j(this.options.keyframeOptions, e), s = this.m();
|
|
1848
1827
|
if (this.A !== void 0) {
|
|
1849
1828
|
const { from: r, to: o } = this.N(this.A, s, e);
|
|
1850
1829
|
this.log("measured", [this.A, s, r, o]), t = this.calculateKeyframes(r, o);
|
|
1851
1830
|
} else {
|
|
1852
|
-
const r =
|
|
1831
|
+
const r = Bt.get(this.options.inId);
|
|
1853
1832
|
if (r) {
|
|
1854
|
-
|
|
1833
|
+
Bt.delete(this.options.inId);
|
|
1855
1834
|
const { from: o, to: a } = this.N(r, s, e);
|
|
1856
|
-
t = this.calculateKeyframes(o, a), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t,
|
|
1835
|
+
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);
|
|
1857
1836
|
} else this.options.in && (t = [...this.options.in, {}]);
|
|
1858
1837
|
}
|
|
1859
|
-
this.animate(t,
|
|
1838
|
+
this.animate(t, i);
|
|
1860
1839
|
}
|
|
1861
1840
|
resetStyles() {
|
|
1862
1841
|
this.P !== void 0 && (this.element.setAttribute("style", this.P ?? ""), this.P = void 0);
|
|
@@ -1869,10 +1848,10 @@ class vs extends Ui {
|
|
|
1869
1848
|
}
|
|
1870
1849
|
async disconnected() {
|
|
1871
1850
|
var e;
|
|
1872
|
-
if (!this.h || (this.options.id !== void 0 &&
|
|
1873
|
-
if (this.prepare(), await
|
|
1874
|
-
const
|
|
1875
|
-
if (this.i.insertBefore(this.element,
|
|
1851
|
+
if (!this.h || (this.options.id !== void 0 && Bt.set(this.options.id, this.A), this.options.out === void 0)) return;
|
|
1852
|
+
if (this.prepare(), await Ue(), (e = this.i) == null ? void 0 : e.isConnected) {
|
|
1853
|
+
const i = this.o && this.o.parentNode === this.i ? this.o : null;
|
|
1854
|
+
if (this.i.insertBefore(this.element, i), this.options.stabilizeOut) {
|
|
1876
1855
|
const s = this.m();
|
|
1877
1856
|
this.log("stabilizing out");
|
|
1878
1857
|
const r = this.A.left - s.left, o = this.A.top - s.top;
|
|
@@ -1890,55 +1869,55 @@ class vs extends Ui {
|
|
|
1890
1869
|
(e = (t = this.options).onStart) == null || e.call(t, this);
|
|
1891
1870
|
}
|
|
1892
1871
|
didFinish(t) {
|
|
1893
|
-
var e,
|
|
1894
|
-
t && ((
|
|
1872
|
+
var e, i;
|
|
1873
|
+
t && ((i = (e = this.options).onComplete) == null || i.call(e, this)), this.A = void 0, this.animatingProperties = void 0, this.frames = void 0, this.resolveFinished();
|
|
1895
1874
|
}
|
|
1896
1875
|
O() {
|
|
1897
1876
|
const t = [];
|
|
1898
1877
|
for (let e = this.element.parentNode; e; e = e == null ? void 0 : e.parentNode) {
|
|
1899
|
-
const
|
|
1900
|
-
|
|
1878
|
+
const i = Be.get(e);
|
|
1879
|
+
i && !i.isDisabled() && i && t.push(i);
|
|
1901
1880
|
}
|
|
1902
1881
|
return t;
|
|
1903
1882
|
}
|
|
1904
1883
|
get isHostRendered() {
|
|
1905
|
-
const t =
|
|
1884
|
+
const t = Re.has(this.u);
|
|
1906
1885
|
return t || this.u.updateComplete.then(() => {
|
|
1907
|
-
|
|
1886
|
+
Re.add(this.u);
|
|
1908
1887
|
}), t;
|
|
1909
1888
|
}
|
|
1910
1889
|
j(t, e = this.O()) {
|
|
1911
|
-
const
|
|
1912
|
-
return e.forEach((s) => Object.assign(
|
|
1890
|
+
const i = { ...fs };
|
|
1891
|
+
return e.forEach((s) => Object.assign(i, s.options.keyframeOptions)), Object.assign(i, t), i;
|
|
1913
1892
|
}
|
|
1914
|
-
N(t, e,
|
|
1893
|
+
N(t, e, i) {
|
|
1915
1894
|
t = { ...t }, e = { ...e };
|
|
1916
|
-
const s =
|
|
1895
|
+
const s = i.map((a) => a.animatingProperties).filter((a) => a !== void 0);
|
|
1917
1896
|
let r = 1, o = 1;
|
|
1918
1897
|
return s.length > 0 && (s.forEach((a) => {
|
|
1919
1898
|
a.width && (r /= a.width), a.height && (o /= a.height);
|
|
1920
1899
|
}), t.left !== void 0 && e.left !== void 0 && (t.left = r * t.left, e.left = r * e.left), t.top !== void 0 && e.top !== void 0 && (t.top = o * t.top, e.top = o * e.top)), { from: t, to: e };
|
|
1921
1900
|
}
|
|
1922
|
-
calculateKeyframes(t, e,
|
|
1901
|
+
calculateKeyframes(t, e, i = !1) {
|
|
1923
1902
|
const s = {}, r = {};
|
|
1924
1903
|
let o = !1;
|
|
1925
1904
|
const a = {};
|
|
1926
1905
|
for (const l in e) {
|
|
1927
1906
|
const c = t[l], u = e[l];
|
|
1928
|
-
if (l in
|
|
1929
|
-
const
|
|
1907
|
+
if (l in Ht) {
|
|
1908
|
+
const d = Ht[l];
|
|
1930
1909
|
if (c === void 0 || u === void 0) continue;
|
|
1931
|
-
const
|
|
1932
|
-
|
|
1910
|
+
const h = d(c, u);
|
|
1911
|
+
h.transform !== void 0 && (a[l] = h.value, o = !0, s.transform = `${s.transform ?? ""} ${h.transform}`, h.overrideFrom !== void 0 && Object.assign(s, h.overrideFrom));
|
|
1933
1912
|
} else c !== u && c !== void 0 && u !== void 0 && (o = !0, s[l] = c, r[l] = u);
|
|
1934
1913
|
}
|
|
1935
|
-
return s.transformOrigin = r.transformOrigin =
|
|
1914
|
+
return s.transformOrigin = r.transformOrigin = i ? "center center" : "top left", this.animatingProperties = a, o ? [s, r] : void 0;
|
|
1936
1915
|
}
|
|
1937
1916
|
async animate(t, e = this.options.keyframeOptions) {
|
|
1938
1917
|
this.start(), this.frames = t;
|
|
1939
|
-
let
|
|
1918
|
+
let i = !1;
|
|
1940
1919
|
if (!this.isAnimating() && !this.isDisabled() && (this.options.onFrames && (this.frames = t = this.options.onFrames(this), this.log("modified frames", t)), t !== void 0)) {
|
|
1941
|
-
this.log("animate", [t, e]),
|
|
1920
|
+
this.log("animate", [t, e]), i = !0, this.webAnimation = this.element.animate(t, e);
|
|
1942
1921
|
const s = this.getController();
|
|
1943
1922
|
s == null || s.add(this);
|
|
1944
1923
|
try {
|
|
@@ -1947,7 +1926,7 @@ class vs extends Ui {
|
|
|
1947
1926
|
}
|
|
1948
1927
|
s == null || s.remove(this);
|
|
1949
1928
|
}
|
|
1950
|
-
return this.didFinish(
|
|
1929
|
+
return this.didFinish(i), i;
|
|
1951
1930
|
}
|
|
1952
1931
|
isAnimating() {
|
|
1953
1932
|
var t, e;
|
|
@@ -1957,28 +1936,28 @@ class vs extends Ui {
|
|
|
1957
1936
|
this.shouldLog && !this.isDisabled() && console.log(t, this.options.id, e);
|
|
1958
1937
|
}
|
|
1959
1938
|
}
|
|
1960
|
-
const
|
|
1939
|
+
const Rn = oe(gs), $s = { 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>' };
|
|
1961
1940
|
/**
|
|
1962
1941
|
* @license
|
|
1963
1942
|
* Copyright 2018 Google LLC
|
|
1964
1943
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1965
1944
|
*/
|
|
1966
|
-
const
|
|
1967
|
-
constructor(
|
|
1945
|
+
const He = oe(class extends Pn {
|
|
1946
|
+
constructor(n) {
|
|
1968
1947
|
var t;
|
|
1969
|
-
if (super(
|
|
1948
|
+
if (super(n), n.type !== re.ATTRIBUTE || n.name !== "class" || ((t = n.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.");
|
|
1970
1949
|
}
|
|
1971
|
-
render(
|
|
1972
|
-
return " " + Object.keys(
|
|
1950
|
+
render(n) {
|
|
1951
|
+
return " " + Object.keys(n).filter((t) => n[t]).join(" ") + " ";
|
|
1973
1952
|
}
|
|
1974
|
-
update(
|
|
1975
|
-
var
|
|
1953
|
+
update(n, [t]) {
|
|
1954
|
+
var i, s;
|
|
1976
1955
|
if (this.st === void 0) {
|
|
1977
|
-
this.st = /* @__PURE__ */ new Set(),
|
|
1978
|
-
for (const r in t) t[r] && !((
|
|
1956
|
+
this.st = /* @__PURE__ */ new Set(), n.strings !== void 0 && (this.nt = new Set(n.strings.join(" ").split(/\s/).filter((r) => r !== "")));
|
|
1957
|
+
for (const r in t) t[r] && !((i = this.nt) != null && i.has(r)) && this.st.add(r);
|
|
1979
1958
|
return this.render(t);
|
|
1980
1959
|
}
|
|
1981
|
-
const e =
|
|
1960
|
+
const e = n.element.classList;
|
|
1982
1961
|
for (const r of this.st) r in t || (e.remove(r), this.st.delete(r));
|
|
1983
1962
|
for (const r in t) {
|
|
1984
1963
|
const o = !!t[r];
|
|
@@ -1986,67 +1965,67 @@ const De = ae(class extends Li {
|
|
|
1986
1965
|
}
|
|
1987
1966
|
return U;
|
|
1988
1967
|
}
|
|
1989
|
-
}), A = (
|
|
1990
|
-
|
|
1991
|
-
},
|
|
1992
|
-
var e,
|
|
1993
|
-
A((e =
|
|
1994
|
-
(
|
|
1968
|
+
}), A = (n, t, e) => {
|
|
1969
|
+
n && e.style.setProperty(t, n);
|
|
1970
|
+
}, Un = (n, t) => {
|
|
1971
|
+
var e, i, s, r, o, a, l, c, u;
|
|
1972
|
+
A((e = n.colors) == null ? void 0 : e.primaryBackground, "--primary-background", t), A(
|
|
1973
|
+
(i = n.colors) == null ? void 0 : i.textOnPrimaryBackground,
|
|
1995
1974
|
"--text-on-primary-background",
|
|
1996
1975
|
t
|
|
1997
1976
|
), A(
|
|
1998
|
-
(s =
|
|
1977
|
+
(s = n.colors) == null ? void 0 : s.secondaryBackground,
|
|
1999
1978
|
"--secondary-background",
|
|
2000
1979
|
t
|
|
2001
1980
|
), A(
|
|
2002
|
-
(r =
|
|
1981
|
+
(r = n.colors) == null ? void 0 : r.textOnSecondaryBackground,
|
|
2003
1982
|
"--text-on-secondary-background",
|
|
2004
1983
|
t
|
|
2005
1984
|
), A(
|
|
2006
|
-
(o =
|
|
1985
|
+
(o = n.colors) == null ? void 0 : o.interactiveDestructiveBackground,
|
|
2007
1986
|
"--destructive-color",
|
|
2008
1987
|
t
|
|
2009
1988
|
), A(
|
|
2010
|
-
(a =
|
|
1989
|
+
(a = n.colors) == null ? void 0 : a.interactiveTextOnDestructiveBackground,
|
|
2011
1990
|
"--text-on-destructive-color",
|
|
2012
1991
|
t
|
|
2013
1992
|
), A(
|
|
2014
|
-
(l =
|
|
1993
|
+
(l = n.colors) == null ? void 0 : l.interactivePrimaryBackground,
|
|
2015
1994
|
"--interactive-primary-background",
|
|
2016
1995
|
t
|
|
2017
1996
|
), A(
|
|
2018
|
-
(c =
|
|
1997
|
+
(c = n.colors) == null ? void 0 : c.interactiveTextOnPrimaryBackground,
|
|
2019
1998
|
"--interactive-text-on-primary-background",
|
|
2020
1999
|
t
|
|
2021
|
-
), A((u =
|
|
2000
|
+
), A((u = n.colors) == null ? void 0 : u.focusColor, "--focus-color", t);
|
|
2022
2001
|
};
|
|
2023
2002
|
/**
|
|
2024
2003
|
* @license
|
|
2025
2004
|
* Copyright 2020 Google LLC
|
|
2026
2005
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2027
2006
|
*/
|
|
2028
|
-
const
|
|
2029
|
-
let
|
|
2007
|
+
const vt = () => new ms();
|
|
2008
|
+
let ms = class {
|
|
2030
2009
|
};
|
|
2031
|
-
const zt = /* @__PURE__ */ new WeakMap(),
|
|
2032
|
-
render(
|
|
2010
|
+
const zt = /* @__PURE__ */ new WeakMap(), ae = oe(class extends Ln {
|
|
2011
|
+
render(n) {
|
|
2033
2012
|
return p;
|
|
2034
2013
|
}
|
|
2035
|
-
update(
|
|
2036
|
-
var
|
|
2014
|
+
update(n, [t]) {
|
|
2015
|
+
var i;
|
|
2037
2016
|
const e = t !== this.Y;
|
|
2038
|
-
return e && this.Y !== void 0 && this.rt(void 0), (e || this.lt !== this.ct) && (this.Y = t, this.ht = (
|
|
2017
|
+
return e && this.Y !== void 0 && this.rt(void 0), (e || this.lt !== this.ct) && (this.Y = t, this.ht = (i = n.options) == null ? void 0 : i.host, this.rt(this.ct = n.element)), p;
|
|
2039
2018
|
}
|
|
2040
|
-
rt(
|
|
2041
|
-
if (this.isConnected || (
|
|
2019
|
+
rt(n) {
|
|
2020
|
+
if (this.isConnected || (n = void 0), typeof this.Y == "function") {
|
|
2042
2021
|
const t = this.ht ?? globalThis;
|
|
2043
2022
|
let e = zt.get(t);
|
|
2044
|
-
e === void 0 && (e = /* @__PURE__ */ new WeakMap(), zt.set(t, e)), e.get(this.Y) !== void 0 && this.Y.call(this.ht, void 0), e.set(this.Y,
|
|
2045
|
-
} else this.Y.value =
|
|
2023
|
+
e === void 0 && (e = /* @__PURE__ */ new WeakMap(), zt.set(t, e)), e.get(this.Y) !== void 0 && this.Y.call(this.ht, void 0), e.set(this.Y, n), n !== void 0 && this.Y.call(this.ht, n);
|
|
2024
|
+
} else this.Y.value = n;
|
|
2046
2025
|
}
|
|
2047
2026
|
get lt() {
|
|
2048
|
-
var
|
|
2049
|
-
return typeof this.Y == "function" ? (
|
|
2027
|
+
var n, t;
|
|
2028
|
+
return typeof this.Y == "function" ? (n = zt.get(this.ht ?? globalThis)) == null ? void 0 : n.get(this.Y) : (t = this.Y) == null ? void 0 : t.value;
|
|
2050
2029
|
}
|
|
2051
2030
|
disconnected() {
|
|
2052
2031
|
this.lt === this.ct && this.rt(void 0);
|
|
@@ -2055,14 +2034,14 @@ const zt = /* @__PURE__ */ new WeakMap(), le = ae(class extends Ui {
|
|
|
2055
2034
|
this.rt(this.ct);
|
|
2056
2035
|
}
|
|
2057
2036
|
});
|
|
2058
|
-
var
|
|
2059
|
-
for (var s = void 0, r =
|
|
2060
|
-
(o =
|
|
2061
|
-
return s &&
|
|
2037
|
+
var ys = Object.defineProperty, lt = (n, t, e, i) => {
|
|
2038
|
+
for (var s = void 0, r = n.length - 1, o; r >= 0; r--)
|
|
2039
|
+
(o = n[r]) && (s = o(t, e, s) || s);
|
|
2040
|
+
return s && ys(t, e, s), s;
|
|
2062
2041
|
};
|
|
2063
|
-
const
|
|
2042
|
+
const pe = class pe extends x {
|
|
2064
2043
|
constructor() {
|
|
2065
|
-
super(...arguments), this.active = !1, this.triggerVisible = !0, this.loaded = !1, this.containerRef =
|
|
2044
|
+
super(...arguments), this.active = !1, this.triggerVisible = !0, this.loaded = !1, this.containerRef = vt(), this.widgetActive$ = new gi(!1), this.componentIsDestroyed$ = new Ct();
|
|
2066
2045
|
}
|
|
2067
2046
|
async connectedCallback() {
|
|
2068
2047
|
super.connectedCallback(), this.icon = await this._renderSymbol(), this.loaded = !0, this._applyBranding();
|
|
@@ -2097,17 +2076,17 @@ const ge = class ge extends x {
|
|
|
2097
2076
|
}
|
|
2098
2077
|
_applyBranding() {
|
|
2099
2078
|
var t;
|
|
2100
|
-
(t = this.application) != null && t.settings &&
|
|
2079
|
+
(t = this.application) != null && t.settings && Un(this.application.settings.branding, this);
|
|
2101
2080
|
}
|
|
2102
2081
|
async _renderSymbol() {
|
|
2103
2082
|
var a, l, c;
|
|
2104
2083
|
const t = (a = this.application) == null ? void 0 : a.branding(), e = (l = t == null ? void 0 : t.graphics) == null ? void 0 : l.trigger;
|
|
2105
2084
|
if (e)
|
|
2106
2085
|
return k` <img src=${e} class="trigger-icon" alt="" /> `;
|
|
2107
|
-
const
|
|
2108
|
-
if (!
|
|
2086
|
+
const i = (c = this.application) == null ? void 0 : c.triggerIcon;
|
|
2087
|
+
if (!i)
|
|
2109
2088
|
return p;
|
|
2110
|
-
const s = async (u) =>
|
|
2089
|
+
const s = async (u) => $s, { type: r, content: o } = i;
|
|
2111
2090
|
switch (r) {
|
|
2112
2091
|
case "Telia": {
|
|
2113
2092
|
const u = await s();
|
|
@@ -2128,22 +2107,22 @@ const ge = class ge extends x {
|
|
|
2128
2107
|
this.triggerVisible = !0;
|
|
2129
2108
|
}
|
|
2130
2109
|
render() {
|
|
2131
|
-
var t, e,
|
|
2110
|
+
var t, e, i, s;
|
|
2132
2111
|
return k`<div
|
|
2133
|
-
class=${
|
|
2112
|
+
class=${He({
|
|
2134
2113
|
"trigger-container": !0,
|
|
2135
2114
|
hidden: !this.triggerVisible
|
|
2136
2115
|
})}
|
|
2137
|
-
${
|
|
2116
|
+
${ae(this.containerRef)}
|
|
2138
2117
|
>
|
|
2139
|
-
${!this.active && ((s = (
|
|
2118
|
+
${!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) ? k`
|
|
2140
2119
|
<button
|
|
2141
2120
|
label="${this.application.settings.branding.other.buttonLabelText ?? "Widget trigger"}"
|
|
2142
2121
|
class="trigger-label"
|
|
2143
2122
|
@click=${this.toggleActive}
|
|
2144
|
-
${
|
|
2123
|
+
${Rn({
|
|
2145
2124
|
keyframeOptions: {},
|
|
2146
|
-
in:
|
|
2125
|
+
in: hs,
|
|
2147
2126
|
stabilizeOut: !0,
|
|
2148
2127
|
skipInitial: !1
|
|
2149
2128
|
})}
|
|
@@ -2154,7 +2133,7 @@ const ge = class ge extends x {
|
|
|
2154
2133
|
|
|
2155
2134
|
<button
|
|
2156
2135
|
label="Widget trigger"
|
|
2157
|
-
class=${
|
|
2136
|
+
class=${He({
|
|
2158
2137
|
trigger: !0,
|
|
2159
2138
|
active: this.active,
|
|
2160
2139
|
rendered: this.loaded
|
|
@@ -2193,7 +2172,7 @@ const ge = class ge extends x {
|
|
|
2193
2172
|
</div>`;
|
|
2194
2173
|
}
|
|
2195
2174
|
};
|
|
2196
|
-
|
|
2175
|
+
pe.styles = [
|
|
2197
2176
|
M`
|
|
2198
2177
|
:host {
|
|
2199
2178
|
--voca-rem-multiplier: 0.625;
|
|
@@ -2325,9 +2304,9 @@ ge.styles = [
|
|
|
2325
2304
|
}
|
|
2326
2305
|
`
|
|
2327
2306
|
];
|
|
2328
|
-
let E =
|
|
2307
|
+
let E = pe;
|
|
2329
2308
|
lt([
|
|
2330
|
-
|
|
2309
|
+
v({ attribute: !1 })
|
|
2331
2310
|
], E.prototype, "application");
|
|
2332
2311
|
lt([
|
|
2333
2312
|
N()
|
|
@@ -2341,13 +2320,13 @@ lt([
|
|
|
2341
2320
|
lt([
|
|
2342
2321
|
N()
|
|
2343
2322
|
], E.prototype, "icon");
|
|
2344
|
-
var
|
|
2345
|
-
for (var s = void 0, r =
|
|
2346
|
-
(o =
|
|
2347
|
-
return s &&
|
|
2323
|
+
var bs = Object.defineProperty, P = (n, t, e, i) => {
|
|
2324
|
+
for (var s = void 0, r = n.length - 1, o; r >= 0; r--)
|
|
2325
|
+
(o = n[r]) && (s = o(t, e, s) || s);
|
|
2326
|
+
return s && bs(t, e, s), s;
|
|
2348
2327
|
};
|
|
2349
|
-
const
|
|
2350
|
-
const e = class e extends
|
|
2328
|
+
const jn = (n) => {
|
|
2329
|
+
const e = class e extends n {
|
|
2351
2330
|
constructor() {
|
|
2352
2331
|
super(...arguments), this.properties = {}, this.context = {}, this.layout = {}, this.nodes = [];
|
|
2353
2332
|
}
|
|
@@ -2388,53 +2367,53 @@ const Ni = (i) => {
|
|
|
2388
2367
|
];
|
|
2389
2368
|
let t = e;
|
|
2390
2369
|
return P([
|
|
2391
|
-
|
|
2370
|
+
v()
|
|
2392
2371
|
], t.prototype, "properties"), P([
|
|
2393
|
-
|
|
2372
|
+
v()
|
|
2394
2373
|
], t.prototype, "context"), P([
|
|
2395
|
-
|
|
2374
|
+
v()
|
|
2396
2375
|
], t.prototype, "layout"), P([
|
|
2397
|
-
|
|
2376
|
+
v()
|
|
2398
2377
|
], t.prototype, "name"), P([
|
|
2399
|
-
|
|
2378
|
+
v()
|
|
2400
2379
|
], t.prototype, "type"), P([
|
|
2401
|
-
|
|
2380
|
+
v({ attribute: !1 })
|
|
2402
2381
|
], t.prototype, "application"), P([
|
|
2403
|
-
|
|
2382
|
+
v({ attribute: !1 })
|
|
2404
2383
|
], t.prototype, "parent"), t;
|
|
2405
|
-
},
|
|
2384
|
+
}, ge = class ge extends jn(x) {
|
|
2406
2385
|
render() {
|
|
2407
2386
|
return k`Non resolved component`;
|
|
2408
2387
|
}
|
|
2409
2388
|
};
|
|
2410
|
-
|
|
2389
|
+
ge.styles = [
|
|
2411
2390
|
M`
|
|
2412
2391
|
:host {
|
|
2413
2392
|
display: block;
|
|
2414
2393
|
}
|
|
2415
2394
|
`
|
|
2416
2395
|
];
|
|
2417
|
-
let Zt =
|
|
2396
|
+
let Zt = ge;
|
|
2418
2397
|
/**
|
|
2419
2398
|
* @license
|
|
2420
2399
|
* Copyright 2021 Google LLC
|
|
2421
2400
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2422
2401
|
*/
|
|
2423
|
-
function*
|
|
2424
|
-
if (
|
|
2402
|
+
function* vs(n, t) {
|
|
2403
|
+
if (n !== void 0) {
|
|
2425
2404
|
let e = 0;
|
|
2426
|
-
for (const
|
|
2405
|
+
for (const i of n) yield t(i, e++);
|
|
2427
2406
|
}
|
|
2428
2407
|
}
|
|
2429
|
-
var st = /* @__PURE__ */ ((
|
|
2408
|
+
var st = /* @__PURE__ */ ((n) => (n.Inline = "inline", n.Trigger = "trigger", n))(st || {});
|
|
2430
2409
|
/**
|
|
2431
2410
|
* @license
|
|
2432
2411
|
* Copyright 2021 Google LLC
|
|
2433
2412
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2434
2413
|
*/
|
|
2435
|
-
let
|
|
2436
|
-
constructor(t, e,
|
|
2437
|
-
super("context-request", { bubbles: !0, composed: !0 }), this.context = t, this.callback = e, this.subscribe =
|
|
2414
|
+
let _s = class extends Event {
|
|
2415
|
+
constructor(t, e, i) {
|
|
2416
|
+
super("context-request", { bubbles: !0, composed: !0 }), this.context = t, this.callback = e, this.subscribe = i ?? !1;
|
|
2438
2417
|
}
|
|
2439
2418
|
};
|
|
2440
2419
|
/**
|
|
@@ -2447,7 +2426,7 @@ let xs = class extends Event {
|
|
|
2447
2426
|
* Copyright 2021 Google LLC
|
|
2448
2427
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2449
2428
|
*/
|
|
2450
|
-
class
|
|
2429
|
+
class ws {
|
|
2451
2430
|
get value() {
|
|
2452
2431
|
return this.o;
|
|
2453
2432
|
}
|
|
@@ -2455,16 +2434,16 @@ class Ss {
|
|
|
2455
2434
|
this.setValue(t);
|
|
2456
2435
|
}
|
|
2457
2436
|
setValue(t, e = !1) {
|
|
2458
|
-
const
|
|
2459
|
-
this.o = t,
|
|
2437
|
+
const i = e || !Object.is(t, this.o);
|
|
2438
|
+
this.o = t, i && this.updateObservers();
|
|
2460
2439
|
}
|
|
2461
2440
|
constructor(t) {
|
|
2462
2441
|
this.subscriptions = /* @__PURE__ */ new Map(), this.updateObservers = () => {
|
|
2463
|
-
for (const [e, { disposer:
|
|
2442
|
+
for (const [e, { disposer: i }] of this.subscriptions) e(this.o, i);
|
|
2464
2443
|
}, t !== void 0 && (this.value = t);
|
|
2465
2444
|
}
|
|
2466
|
-
addCallback(t, e,
|
|
2467
|
-
if (!
|
|
2445
|
+
addCallback(t, e, i) {
|
|
2446
|
+
if (!i) return void t(this.value);
|
|
2468
2447
|
this.subscriptions.has(t) || this.subscriptions.set(t, { disposer: () => {
|
|
2469
2448
|
this.subscriptions.delete(t);
|
|
2470
2449
|
}, consumerHost: e });
|
|
@@ -2480,22 +2459,22 @@ class Ss {
|
|
|
2480
2459
|
* Copyright 2021 Google LLC
|
|
2481
2460
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2482
2461
|
*/
|
|
2483
|
-
let
|
|
2462
|
+
let xs = class extends Event {
|
|
2484
2463
|
constructor(t) {
|
|
2485
2464
|
super("context-provider", { bubbles: !0, composed: !0 }), this.context = t;
|
|
2486
2465
|
}
|
|
2487
2466
|
};
|
|
2488
|
-
class ze extends
|
|
2489
|
-
constructor(t, e,
|
|
2467
|
+
class ze extends ws {
|
|
2468
|
+
constructor(t, e, i) {
|
|
2490
2469
|
var s, r;
|
|
2491
|
-
super(e.context !== void 0 ? e.initialValue :
|
|
2470
|
+
super(e.context !== void 0 ? e.initialValue : i), this.onContextRequest = (o) => {
|
|
2492
2471
|
const a = o.composedPath()[0];
|
|
2493
2472
|
o.context === this.context && a !== this.host && (o.stopPropagation(), this.addCallback(o.callback, a, o.subscribe));
|
|
2494
2473
|
}, this.onProviderRequest = (o) => {
|
|
2495
2474
|
const a = o.composedPath()[0];
|
|
2496
2475
|
if (o.context !== this.context || a === this.host) return;
|
|
2497
2476
|
const l = /* @__PURE__ */ new Set();
|
|
2498
|
-
for (const [c, { consumerHost: u }] of this.subscriptions) l.has(c) || (l.add(c), u.dispatchEvent(new
|
|
2477
|
+
for (const [c, { consumerHost: u }] of this.subscriptions) l.has(c) || (l.add(c), u.dispatchEvent(new _s(this.context, c, !0)));
|
|
2499
2478
|
o.stopPropagation();
|
|
2500
2479
|
}, this.host = t, e.context !== void 0 ? this.context = e.context : this.context = e, this.attachListeners(), (r = (s = this.host).addController) == null || r.call(s, this);
|
|
2501
2480
|
}
|
|
@@ -2503,7 +2482,7 @@ class ze extends Ss {
|
|
|
2503
2482
|
this.host.addEventListener("context-request", this.onContextRequest), this.host.addEventListener("context-provider", this.onProviderRequest);
|
|
2504
2483
|
}
|
|
2505
2484
|
hostConnected() {
|
|
2506
|
-
this.host.dispatchEvent(new
|
|
2485
|
+
this.host.dispatchEvent(new xs(this.context));
|
|
2507
2486
|
}
|
|
2508
2487
|
}
|
|
2509
2488
|
/**
|
|
@@ -2511,23 +2490,23 @@ class ze extends Ss {
|
|
|
2511
2490
|
* Copyright 2017 Google LLC
|
|
2512
2491
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2513
2492
|
*/
|
|
2514
|
-
function
|
|
2493
|
+
function Ss({ context: n }) {
|
|
2515
2494
|
return (t, e) => {
|
|
2516
|
-
const
|
|
2495
|
+
const i = /* @__PURE__ */ new WeakMap();
|
|
2517
2496
|
if (typeof e == "object") return e.addInitializer(function() {
|
|
2518
|
-
|
|
2497
|
+
i.set(this, new ze(this, { context: n }));
|
|
2519
2498
|
}), { get() {
|
|
2520
2499
|
return t.get.call(this);
|
|
2521
2500
|
}, set(s) {
|
|
2522
2501
|
var r;
|
|
2523
|
-
return (r =
|
|
2502
|
+
return (r = i.get(this)) == null || r.setValue(s), t.set.call(this, s);
|
|
2524
2503
|
}, init(s) {
|
|
2525
2504
|
var r;
|
|
2526
|
-
return (r =
|
|
2505
|
+
return (r = i.get(this)) == null || r.setValue(s), s;
|
|
2527
2506
|
} };
|
|
2528
2507
|
{
|
|
2529
2508
|
t.constructor.addInitializer((o) => {
|
|
2530
|
-
|
|
2509
|
+
i.set(o, new ze(o, { context: n }));
|
|
2531
2510
|
});
|
|
2532
2511
|
const s = Object.getOwnPropertyDescriptor(t, e);
|
|
2533
2512
|
let r;
|
|
@@ -2536,26 +2515,26 @@ function ks({ context: i }) {
|
|
|
2536
2515
|
r = { get() {
|
|
2537
2516
|
return o.get(this);
|
|
2538
2517
|
}, set(a) {
|
|
2539
|
-
|
|
2518
|
+
i.get(this).setValue(a), o.set(this, a);
|
|
2540
2519
|
}, configurable: !0, enumerable: !0 };
|
|
2541
2520
|
} else {
|
|
2542
2521
|
const o = s.set;
|
|
2543
2522
|
r = { ...s, set(a) {
|
|
2544
|
-
|
|
2523
|
+
i.get(this).setValue(a), o == null || o.call(this, a);
|
|
2545
2524
|
} };
|
|
2546
2525
|
}
|
|
2547
2526
|
return void Object.defineProperty(t, e, r);
|
|
2548
2527
|
}
|
|
2549
2528
|
};
|
|
2550
2529
|
}
|
|
2551
|
-
var
|
|
2552
|
-
for (var s = void 0, r =
|
|
2553
|
-
(o =
|
|
2554
|
-
return s &&
|
|
2530
|
+
var As = Object.defineProperty, Mn = (n, t, e, i) => {
|
|
2531
|
+
for (var s = void 0, r = n.length - 1, o; r >= 0; r--)
|
|
2532
|
+
(o = n[r]) && (s = o(t, e, s) || s);
|
|
2533
|
+
return s && As(t, e, s), s;
|
|
2555
2534
|
};
|
|
2556
|
-
const
|
|
2535
|
+
const ks = "application", $e = class $e extends x {
|
|
2557
2536
|
constructor() {
|
|
2558
|
-
super(...arguments), this.nodes = [], this.wrapperRef =
|
|
2537
|
+
super(...arguments), this.nodes = [], this.wrapperRef = vt(), this.fullscreen = !1;
|
|
2559
2538
|
}
|
|
2560
2539
|
addChild(t) {
|
|
2561
2540
|
t.parent = this, this.nodes.push(t);
|
|
@@ -2564,28 +2543,28 @@ const Cs = "application", ve = class ve extends x {
|
|
|
2564
2543
|
if (!this.wrapperRef.value)
|
|
2565
2544
|
return;
|
|
2566
2545
|
const t = this.application.settings;
|
|
2567
|
-
t != null && t.branding &&
|
|
2546
|
+
t != null && t.branding && Un(t.branding, this.wrapperRef.value);
|
|
2568
2547
|
}
|
|
2569
2548
|
applyStyles() {
|
|
2570
2549
|
if (!this.wrapperRef.value)
|
|
2571
2550
|
return;
|
|
2572
2551
|
const t = this.application.styles(), e = this.wrapperRef.value;
|
|
2573
|
-
Object.entries(t).forEach(([
|
|
2574
|
-
e.style.setProperty(`--${
|
|
2552
|
+
Object.entries(t).forEach(([i, s]) => {
|
|
2553
|
+
e.style.setProperty(`--${i}`, s);
|
|
2575
2554
|
});
|
|
2576
2555
|
}
|
|
2577
2556
|
firstUpdated(t) {
|
|
2578
2557
|
this.applyBranding(), this.applyStyles();
|
|
2579
2558
|
}
|
|
2580
2559
|
render() {
|
|
2581
|
-
var
|
|
2560
|
+
var i, s;
|
|
2582
2561
|
const t = this.application.settings.components.conversation;
|
|
2583
|
-
return ((s = (
|
|
2584
|
-
${
|
|
2562
|
+
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 === st.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" ${ae(this.wrapperRef)}>
|
|
2563
|
+
${vs(this.nodes, (r) => r)}
|
|
2585
2564
|
</div>`;
|
|
2586
2565
|
}
|
|
2587
2566
|
};
|
|
2588
|
-
|
|
2567
|
+
$e.styles = M`
|
|
2589
2568
|
:host {
|
|
2590
2569
|
--font-family: TeliaSans, Helvetica, Arial, Lucida Grande, sans-serif;
|
|
2591
2570
|
--spacing-xs: 0.2rem;
|
|
@@ -2738,13 +2717,13 @@ ve.styles = M`
|
|
|
2738
2717
|
animation: none;
|
|
2739
2718
|
}
|
|
2740
2719
|
`;
|
|
2741
|
-
let rt =
|
|
2742
|
-
|
|
2743
|
-
|
|
2720
|
+
let rt = $e;
|
|
2721
|
+
Mn([
|
|
2722
|
+
v({ attribute: !0 })
|
|
2744
2723
|
], rt.prototype, "fullscreen");
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2724
|
+
Mn([
|
|
2725
|
+
v({ attribute: !1 }),
|
|
2726
|
+
Ss({ context: ks })
|
|
2748
2727
|
], rt.prototype, "application");
|
|
2749
2728
|
const At = class At {
|
|
2750
2729
|
// TODO:
|
|
@@ -2753,11 +2732,11 @@ const At = class At {
|
|
|
2753
2732
|
this._endpoint = t;
|
|
2754
2733
|
}
|
|
2755
2734
|
async getSite(t) {
|
|
2756
|
-
const
|
|
2757
|
-
return
|
|
2758
|
-
id:
|
|
2759
|
-
triggers:
|
|
2760
|
-
apps: (
|
|
2735
|
+
const i = await (await fetch(t)).json();
|
|
2736
|
+
return i ? {
|
|
2737
|
+
id: i.id,
|
|
2738
|
+
triggers: i.triggers || [],
|
|
2739
|
+
apps: (i.widgets || []).map((s) => {
|
|
2761
2740
|
let r = st.Trigger;
|
|
2762
2741
|
s.renderStrategy.toLowerCase() === "inline" && (r = st.Inline);
|
|
2763
2742
|
const o = s.widgetId ? s.widgetId : s.id, a = typeof s.autoActivate == "boolean" ? s.autoActivate : !1, l = typeof s.anchor == "string" ? s.anchor : "BottomRight", c = typeof s.triggerIcon == "string" ? s.triggerIcon : "question";
|
|
@@ -2776,19 +2755,19 @@ const At = class At {
|
|
|
2776
2755
|
} : null;
|
|
2777
2756
|
}
|
|
2778
2757
|
async getWidget(t) {
|
|
2779
|
-
const
|
|
2780
|
-
return
|
|
2781
|
-
name:
|
|
2782
|
-
config: JSON.parse(
|
|
2758
|
+
const i = await (await fetch(`${this._endpoint}/widget/${t}`)).json();
|
|
2759
|
+
return i ? {
|
|
2760
|
+
name: i.name,
|
|
2761
|
+
config: JSON.parse(i.configuration)
|
|
2783
2762
|
} : null;
|
|
2784
2763
|
}
|
|
2785
2764
|
};
|
|
2786
2765
|
At.endpoint = "https://widgets.ace.teliacompany.net/api";
|
|
2787
|
-
let
|
|
2788
|
-
var
|
|
2789
|
-
for (var s = void 0, r =
|
|
2790
|
-
(o =
|
|
2791
|
-
return s &&
|
|
2766
|
+
let De = At;
|
|
2767
|
+
var Es = Object.defineProperty, le = (n, t, e, i) => {
|
|
2768
|
+
for (var s = void 0, r = n.length - 1, o; r >= 0; r--)
|
|
2769
|
+
(o = n[r]) && (s = o(t, e, s) || s);
|
|
2770
|
+
return s && Es(t, e, s), s;
|
|
2792
2771
|
};
|
|
2793
2772
|
const me = class me extends x {
|
|
2794
2773
|
constructor() {
|
|
@@ -2829,28 +2808,28 @@ me.styles = [
|
|
|
2829
2808
|
}
|
|
2830
2809
|
`
|
|
2831
2810
|
];
|
|
2832
|
-
let
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
],
|
|
2836
|
-
|
|
2811
|
+
let Z = me;
|
|
2812
|
+
le([
|
|
2813
|
+
v({ attribute: !0 })
|
|
2814
|
+
], Z.prototype, "name");
|
|
2815
|
+
le([
|
|
2837
2816
|
N()
|
|
2838
|
-
],
|
|
2839
|
-
|
|
2817
|
+
], Z.prototype, "widget");
|
|
2818
|
+
le([
|
|
2840
2819
|
N()
|
|
2841
|
-
],
|
|
2842
|
-
customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot",
|
|
2820
|
+
], Z.prototype, "status");
|
|
2821
|
+
customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", yt);
|
|
2843
2822
|
customElements.get("ace-trigger") || customElements.define("ace-trigger", E);
|
|
2844
2823
|
customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", Zt);
|
|
2845
2824
|
customElements.get("ace-wrapper") || customElements.define("ace-wrapper", rt);
|
|
2846
|
-
customElements.get("ace-widget") || customElements.define("ace-widget",
|
|
2847
|
-
const
|
|
2825
|
+
customElements.get("ace-widget") || customElements.define("ace-widget", Z);
|
|
2826
|
+
const Cs = () => "10000000-1000-4000-8000-100000000000".replace(
|
|
2848
2827
|
/[018]/g,
|
|
2849
|
-
(
|
|
2850
|
-
),
|
|
2851
|
-
class
|
|
2852
|
-
constructor(t, e,
|
|
2853
|
-
this.label = t, this.icon = e, this.onClick =
|
|
2828
|
+
(n) => (+n ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> +n / 4).toString(16)
|
|
2829
|
+
), Os = () => typeof crypto.randomUUID == "function" ? crypto.randomUUID() : Cs();
|
|
2830
|
+
class Ts {
|
|
2831
|
+
constructor(t, e, i, s, r, o, a = !0) {
|
|
2832
|
+
this.label = t, this.icon = e, this.onClick = i, this.closeOnClick = s, this.key = r, this.update = new Ct(), this.id = Os(), this._controller = o, this.enabled = a;
|
|
2854
2833
|
}
|
|
2855
2834
|
updateLabel(t) {
|
|
2856
2835
|
this.label = t, this.update.next();
|
|
@@ -2865,7 +2844,7 @@ class Is {
|
|
|
2865
2844
|
return this.update.asObservable();
|
|
2866
2845
|
}
|
|
2867
2846
|
}
|
|
2868
|
-
class
|
|
2847
|
+
class Ps {
|
|
2869
2848
|
constructor(t) {
|
|
2870
2849
|
this._options = [], this._subscription = null, this._host = t, t.addController(this);
|
|
2871
2850
|
}
|
|
@@ -2875,7 +2854,7 @@ class Ls {
|
|
|
2875
2854
|
this._subscription && this._subscription.unsubscribe(), this._options = [];
|
|
2876
2855
|
}
|
|
2877
2856
|
addOption(t) {
|
|
2878
|
-
const e = new
|
|
2857
|
+
const e = new Ts(
|
|
2879
2858
|
t.label,
|
|
2880
2859
|
t.icon,
|
|
2881
2860
|
t.onClick,
|
|
@@ -2891,7 +2870,7 @@ class Ls {
|
|
|
2891
2870
|
handleUpdate() {
|
|
2892
2871
|
this._subscription && this._subscription.unsubscribe();
|
|
2893
2872
|
const t = this._options.map((e) => e.subscribe());
|
|
2894
|
-
this._subscription =
|
|
2873
|
+
this._subscription = Mi(t).subscribe(() => {
|
|
2895
2874
|
this._host.requestUpdate();
|
|
2896
2875
|
});
|
|
2897
2876
|
}
|
|
@@ -2906,230 +2885,153 @@ class Ls {
|
|
|
2906
2885
|
}
|
|
2907
2886
|
}
|
|
2908
2887
|
const H = {
|
|
2909
|
-
allRenderFn: !1,
|
|
2910
|
-
cmpDidLoad: !0,
|
|
2911
|
-
cmpDidUnload: !1,
|
|
2912
|
-
cmpDidUpdate: !0,
|
|
2913
|
-
cmpDidRender: !0,
|
|
2914
|
-
cmpWillLoad: !0,
|
|
2915
|
-
cmpWillUpdate: !0,
|
|
2916
|
-
cmpWillRender: !0,
|
|
2917
|
-
connectedCallback: !0,
|
|
2918
|
-
disconnectedCallback: !0,
|
|
2919
|
-
element: !0,
|
|
2920
|
-
event: !0,
|
|
2921
2888
|
hasRenderFn: !0,
|
|
2922
|
-
lifecycle: !0,
|
|
2923
|
-
hostListener: !0,
|
|
2924
|
-
hostListenerTargetWindow: !0,
|
|
2925
|
-
hostListenerTargetDocument: !0,
|
|
2926
|
-
hostListenerTargetBody: !0,
|
|
2927
|
-
hostListenerTargetParent: !1,
|
|
2928
|
-
hostListenerTarget: !0,
|
|
2929
|
-
member: !0,
|
|
2930
|
-
method: !0,
|
|
2931
|
-
mode: !0,
|
|
2932
|
-
observeAttribute: !0,
|
|
2933
|
-
prop: !0,
|
|
2934
|
-
propMutable: !0,
|
|
2935
2889
|
reflect: !0,
|
|
2936
|
-
scoped: !0,
|
|
2937
|
-
shadowDom: !0,
|
|
2938
|
-
slot: !0,
|
|
2939
|
-
cssAnnotations: !0,
|
|
2940
|
-
state: !0,
|
|
2941
|
-
style: !0,
|
|
2942
|
-
svg: !0,
|
|
2943
|
-
updatable: !0,
|
|
2944
|
-
vdomAttribute: !0,
|
|
2945
|
-
vdomXlink: !0,
|
|
2946
|
-
vdomClass: !0,
|
|
2947
|
-
vdomFunctional: !0,
|
|
2948
|
-
vdomKey: !0,
|
|
2949
|
-
vdomListener: !0,
|
|
2950
|
-
vdomRef: !0,
|
|
2951
|
-
vdomPropOrAttr: !0,
|
|
2952
2890
|
vdomRender: !0,
|
|
2953
|
-
vdomStyle: !0,
|
|
2954
|
-
vdomText: !0,
|
|
2955
|
-
watchCallback: !0,
|
|
2956
|
-
taskQueue: !0,
|
|
2957
|
-
hotModuleReplacement: !1,
|
|
2958
|
-
isDebug: !1,
|
|
2959
|
-
isDev: !1,
|
|
2960
|
-
isTesting: !1,
|
|
2961
2891
|
hydrateServerSide: !1,
|
|
2962
|
-
|
|
2963
|
-
lifecycleDOMEvents: !1,
|
|
2964
|
-
lazyLoad: !1,
|
|
2965
|
-
profile: !1,
|
|
2966
|
-
slotRelocation: !0,
|
|
2967
|
-
appendChildSlotFix: !1,
|
|
2968
|
-
cloneNodeFix: !1,
|
|
2969
|
-
hydratedAttribute: !1,
|
|
2970
|
-
hydratedClass: !0,
|
|
2971
|
-
safari10: !1,
|
|
2972
|
-
scriptDataOpts: !1,
|
|
2973
|
-
scopedSlotTextContentFix: !1,
|
|
2974
|
-
shadowDomShim: !1,
|
|
2975
|
-
slotChildNodesFix: !1,
|
|
2976
|
-
invisiblePrehydration: !0,
|
|
2977
|
-
propBoolean: !0,
|
|
2978
|
-
propNumber: !0,
|
|
2979
|
-
propString: !0,
|
|
2980
|
-
cssVarShim: !1,
|
|
2981
|
-
constructableCSS: !0,
|
|
2982
|
-
cmpShouldUpdate: !0,
|
|
2983
|
-
devTools: !1,
|
|
2984
|
-
dynamicImportShim: !1,
|
|
2985
|
-
shadowDelegatesFocus: !0,
|
|
2986
|
-
initializeNextTick: !1,
|
|
2987
|
-
asyncLoading: !1,
|
|
2988
|
-
asyncQueue: !1,
|
|
2989
|
-
transformTagName: !1,
|
|
2990
|
-
attachStyles: !0
|
|
2892
|
+
lazyLoad: !1
|
|
2991
2893
|
};
|
|
2992
|
-
let
|
|
2993
|
-
const Pt = typeof window < "u" ? window : {}, S = Pt.document || { head: {} },
|
|
2994
|
-
},
|
|
2894
|
+
let z, Nn, Tt, Bn = !1, _t = !1, ce = !1, b = !1, Fe = null, Kt = !1;
|
|
2895
|
+
const Pt = typeof window < "u" ? window : {}, S = Pt.document || { head: {} }, Hn = Pt.HTMLElement || class {
|
|
2896
|
+
}, y = {
|
|
2995
2897
|
$flags$: 0,
|
|
2996
2898
|
$resourcesUrl$: "",
|
|
2997
|
-
jmp: (
|
|
2998
|
-
raf: (
|
|
2999
|
-
ael: (
|
|
3000
|
-
rel: (
|
|
3001
|
-
ce: (
|
|
3002
|
-
},
|
|
3003
|
-
let
|
|
2899
|
+
jmp: (n) => n(),
|
|
2900
|
+
raf: (n) => requestAnimationFrame(n),
|
|
2901
|
+
ael: (n, t, e, i) => n.addEventListener(t, e, i),
|
|
2902
|
+
rel: (n, t, e, i) => n.removeEventListener(t, e, i),
|
|
2903
|
+
ce: (n, t) => new CustomEvent(n, t)
|
|
2904
|
+
}, Is = /* @__PURE__ */ (() => {
|
|
2905
|
+
let n = !1;
|
|
3004
2906
|
try {
|
|
3005
2907
|
S.addEventListener("e", null, Object.defineProperty({}, "passive", {
|
|
3006
2908
|
get() {
|
|
3007
|
-
|
|
2909
|
+
n = !0;
|
|
3008
2910
|
}
|
|
3009
2911
|
}));
|
|
3010
2912
|
} catch {
|
|
3011
2913
|
}
|
|
3012
|
-
return
|
|
3013
|
-
})(),
|
|
2914
|
+
return n;
|
|
2915
|
+
})(), Ls = (n) => Promise.resolve(n), Rs = /* @__PURE__ */ (() => {
|
|
3014
2916
|
try {
|
|
3015
2917
|
return new CSSStyleSheet(), typeof new CSSStyleSheet().replace == "function";
|
|
3016
2918
|
} catch {
|
|
3017
2919
|
}
|
|
3018
2920
|
return !1;
|
|
3019
|
-
})(),
|
|
2921
|
+
})(), zn = (n, t, e, i) => {
|
|
3020
2922
|
e && e.map(([s, r, o]) => {
|
|
3021
|
-
const a =
|
|
3022
|
-
|
|
2923
|
+
const a = js(n, s), l = Us(t, o), c = Ms(s);
|
|
2924
|
+
y.ael(a, r, l, c), (t.$rmListeners$ = t.$rmListeners$ || []).push(() => y.rel(a, r, l, c));
|
|
3023
2925
|
});
|
|
3024
|
-
},
|
|
2926
|
+
}, Us = (n, t) => (e) => {
|
|
3025
2927
|
try {
|
|
3026
|
-
H.lazyLoad ||
|
|
3027
|
-
} catch (
|
|
3028
|
-
ct(
|
|
3029
|
-
}
|
|
3030
|
-
},
|
|
3031
|
-
passive: (
|
|
3032
|
-
capture: (
|
|
3033
|
-
} : (
|
|
3034
|
-
}, qe = /* @__PURE__ */ new WeakMap(),
|
|
3035
|
-
let
|
|
3036
|
-
|
|
3037
|
-
},
|
|
3038
|
-
let s =
|
|
3039
|
-
if (
|
|
2928
|
+
H.lazyLoad || n.$hostElement$[t](e);
|
|
2929
|
+
} catch (i) {
|
|
2930
|
+
ct(i);
|
|
2931
|
+
}
|
|
2932
|
+
}, js = (n, t) => t & 4 ? S : t & 8 ? Pt : t & 16 ? S.body : n, Ms = (n) => Is ? {
|
|
2933
|
+
passive: (n & 1) !== 0,
|
|
2934
|
+
capture: (n & 2) !== 0
|
|
2935
|
+
} : (n & 2) !== 0, Ye = "http://www.w3.org/1999/xlink", j = (n, t = "") => () => {
|
|
2936
|
+
}, qe = /* @__PURE__ */ new WeakMap(), Ns = (n, t, e) => {
|
|
2937
|
+
let i = St.get(n);
|
|
2938
|
+
Rs && e ? (i = i || new CSSStyleSheet(), i.replace(t)) : i = t, St.set(n, i);
|
|
2939
|
+
}, Bs = (n, t, e, i) => {
|
|
2940
|
+
let s = Dn(t, e), r = St.get(s);
|
|
2941
|
+
if (n = n.nodeType === 11 ? n : S, r)
|
|
3040
2942
|
if (typeof r == "string") {
|
|
3041
|
-
|
|
3042
|
-
let o = qe.get(
|
|
3043
|
-
o || qe.set(
|
|
3044
|
-
} else
|
|
2943
|
+
n = n.head || n;
|
|
2944
|
+
let o = qe.get(n), a;
|
|
2945
|
+
o || qe.set(n, o = /* @__PURE__ */ new Set()), o.has(s) || (a = S.createElement("style"), a.innerHTML = r, n.insertBefore(a, n.querySelector("link")), o && o.add(s));
|
|
2946
|
+
} else n.adoptedStyleSheets.includes(r) || (n.adoptedStyleSheets = [...n.adoptedStyleSheets, r]);
|
|
3045
2947
|
return s;
|
|
3046
|
-
},
|
|
3047
|
-
const t =
|
|
3048
|
-
|
|
3049
|
-
},
|
|
3050
|
-
let
|
|
3051
|
-
const c = (
|
|
3052
|
-
for (let
|
|
3053
|
-
|
|
2948
|
+
}, Hs = (n) => {
|
|
2949
|
+
const t = n.$cmpMeta$, e = n.$hostElement$, i = t.$flags$, s = j("attachStyles", t.$tagName$), r = Bs(e.shadowRoot ? e.shadowRoot : e.getRootNode(), t, n.$modeName$);
|
|
2950
|
+
i & 10 && (e["s-sc"] = r, e.classList.add(r + "-h"), i & 2 && e.classList.add(r + "-s")), s();
|
|
2951
|
+
}, Dn = (n, t) => "sc-" + (t && n.$flags$ & 32 ? n.$tagName$ + "-" + t : n.$tagName$), zs = (n) => gr.map((t) => t(n)).find((t) => !!t), We = {}, Ds = "http://www.w3.org/2000/svg", Fs = "http://www.w3.org/1999/xhtml", Ys = (n) => n != null, ue = (n) => (n = typeof n, n === "object" || n === "function"), Y = (n, t, ...e) => {
|
|
2952
|
+
let i = null, s = null, r = null, o = !1, a = !1, l = [];
|
|
2953
|
+
const c = (d) => {
|
|
2954
|
+
for (let h = 0; h < d.length; h++)
|
|
2955
|
+
i = d[h], Array.isArray(i) ? c(i) : i != null && typeof i != "boolean" && ((o = typeof n != "function" && !ue(i)) && (i = String(i)), o && a ? l[l.length - 1].$text$ += i : l.push(o ? wt(null, i) : i), a = o);
|
|
3054
2956
|
};
|
|
3055
2957
|
if (c(e), t) {
|
|
3056
2958
|
t.key && (s = t.key), t.name && (r = t.name);
|
|
3057
2959
|
{
|
|
3058
|
-
const
|
|
3059
|
-
|
|
2960
|
+
const d = t.className || t.class;
|
|
2961
|
+
d && (t.class = typeof d != "object" ? d : Object.keys(d).filter((h) => d[h]).join(" "));
|
|
3060
2962
|
}
|
|
3061
2963
|
}
|
|
3062
|
-
if (typeof
|
|
3063
|
-
return
|
|
3064
|
-
const u = wt(
|
|
2964
|
+
if (typeof n == "function")
|
|
2965
|
+
return n(t === null ? {} : t, l, Ws);
|
|
2966
|
+
const u = wt(n, null);
|
|
3065
2967
|
return u.$attrs$ = t, l.length > 0 && (u.$children$ = l), u.$key$ = s, u.$name$ = r, u;
|
|
3066
|
-
}, wt = (
|
|
2968
|
+
}, wt = (n, t) => {
|
|
3067
2969
|
const e = {
|
|
3068
2970
|
$flags$: 0,
|
|
3069
|
-
$tag$:
|
|
2971
|
+
$tag$: n,
|
|
3070
2972
|
$text$: t,
|
|
3071
2973
|
$elm$: null,
|
|
3072
2974
|
$children$: null
|
|
3073
2975
|
};
|
|
3074
2976
|
return e.$attrs$ = null, e.$key$ = null, e.$name$ = null, e;
|
|
3075
|
-
}, de = {},
|
|
3076
|
-
forEach: (
|
|
3077
|
-
map: (
|
|
3078
|
-
},
|
|
3079
|
-
vattrs:
|
|
3080
|
-
vchildren:
|
|
3081
|
-
vkey:
|
|
3082
|
-
vname:
|
|
3083
|
-
vtag:
|
|
3084
|
-
vtext:
|
|
3085
|
-
}),
|
|
3086
|
-
if (typeof
|
|
3087
|
-
const e = Object.assign({},
|
|
3088
|
-
return
|
|
3089
|
-
}
|
|
3090
|
-
const t = wt(
|
|
3091
|
-
return t.$attrs$ =
|
|
3092
|
-
}, Ze = (
|
|
3093
|
-
if (e !==
|
|
3094
|
-
let o =
|
|
2977
|
+
}, de = {}, qs = (n) => n && n.$tag$ === de, Ws = {
|
|
2978
|
+
forEach: (n, t) => n.map(Ge).forEach(t),
|
|
2979
|
+
map: (n, t) => n.map(Ge).map(t).map(Gs)
|
|
2980
|
+
}, Ge = (n) => ({
|
|
2981
|
+
vattrs: n.$attrs$,
|
|
2982
|
+
vchildren: n.$children$,
|
|
2983
|
+
vkey: n.$key$,
|
|
2984
|
+
vname: n.$name$,
|
|
2985
|
+
vtag: n.$tag$,
|
|
2986
|
+
vtext: n.$text$
|
|
2987
|
+
}), Gs = (n) => {
|
|
2988
|
+
if (typeof n.vtag == "function") {
|
|
2989
|
+
const e = Object.assign({}, n.vattrs);
|
|
2990
|
+
return n.vkey && (e.key = n.vkey), n.vname && (e.name = n.vname), Y(n.vtag, e, ...n.vchildren || []);
|
|
2991
|
+
}
|
|
2992
|
+
const t = wt(n.vtag, n.vtext);
|
|
2993
|
+
return t.$attrs$ = n.vattrs, t.$children$ = n.vchildren, t.$key$ = n.vkey, t.$name$ = n.vname, t;
|
|
2994
|
+
}, Ze = (n, t, e, i, s, r) => {
|
|
2995
|
+
if (e !== i) {
|
|
2996
|
+
let o = Qe(n, t), a = t.toLowerCase();
|
|
3095
2997
|
if (t === "class") {
|
|
3096
|
-
const l =
|
|
3097
|
-
l.remove(...c.filter((
|
|
2998
|
+
const l = n.classList, c = Ke(e), u = Ke(i);
|
|
2999
|
+
l.remove(...c.filter((d) => d && !u.includes(d))), l.add(...u.filter((d) => d && !c.includes(d)));
|
|
3098
3000
|
} else if (t === "style") {
|
|
3099
3001
|
for (const l in e)
|
|
3100
|
-
(!
|
|
3101
|
-
for (const l in
|
|
3102
|
-
(!e ||
|
|
3002
|
+
(!i || i[l] == null) && (l.includes("-") ? n.style.removeProperty(l) : n.style[l] = "");
|
|
3003
|
+
for (const l in i)
|
|
3004
|
+
(!e || i[l] !== e[l]) && (l.includes("-") ? n.style.setProperty(l, i[l]) : n.style[l] = i[l]);
|
|
3103
3005
|
} else if (t !== "key")
|
|
3104
3006
|
if (t === "ref")
|
|
3105
|
-
|
|
3106
|
-
else if (!
|
|
3107
|
-
t[2] === "-" ? t = t.slice(3) :
|
|
3007
|
+
i && i(n);
|
|
3008
|
+
else if (!n.__lookupSetter__(t) && t[0] === "o" && t[1] === "n")
|
|
3009
|
+
t[2] === "-" ? t = t.slice(3) : Qe(Pt, a) ? t = a.slice(2) : t = a[2] + t.slice(3), e && y.rel(n, t, e, !1), i && y.ael(n, t, i, !1);
|
|
3108
3010
|
else {
|
|
3109
|
-
const l =
|
|
3110
|
-
if ((o || l &&
|
|
3011
|
+
const l = ue(i);
|
|
3012
|
+
if ((o || l && i !== null) && !s)
|
|
3111
3013
|
try {
|
|
3112
|
-
if (
|
|
3113
|
-
|
|
3014
|
+
if (n.tagName.includes("-"))
|
|
3015
|
+
n[t] = i;
|
|
3114
3016
|
else {
|
|
3115
|
-
let u =
|
|
3116
|
-
t === "list" ? o = !1 : (e == null ||
|
|
3017
|
+
let u = i ?? "";
|
|
3018
|
+
t === "list" ? o = !1 : (e == null || n[t] != u) && (n[t] = u);
|
|
3117
3019
|
}
|
|
3118
3020
|
} catch {
|
|
3119
3021
|
}
|
|
3120
3022
|
let c = !1;
|
|
3121
|
-
a !== (a = a.replace(/^xlink\:?/, "")) && (t = a, c = !0),
|
|
3023
|
+
a !== (a = a.replace(/^xlink\:?/, "")) && (t = a, c = !0), i == null || i === !1 ? (i !== !1 || n.getAttribute(t) === "") && (c ? n.removeAttributeNS(Ye, t) : n.removeAttribute(t)) : (!o || r & 4 || s) && !l && (i = i === !0 ? "" : i, c ? n.setAttributeNS(Ye, t, i) : n.setAttribute(t, i));
|
|
3122
3024
|
}
|
|
3123
3025
|
}
|
|
3124
|
-
},
|
|
3125
|
-
const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, r =
|
|
3126
|
-
for (
|
|
3127
|
-
|
|
3128
|
-
for (
|
|
3129
|
-
Ze(s,
|
|
3130
|
-
}, xt = (
|
|
3026
|
+
}, Zs = /\s/, Ke = (n) => n ? n.split(Zs) : [], Fn = (n, t, e, i) => {
|
|
3027
|
+
const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, r = n && n.$attrs$ || We, o = t.$attrs$ || We;
|
|
3028
|
+
for (i in r)
|
|
3029
|
+
i in o || Ze(s, i, r[i], void 0, e, t.$flags$);
|
|
3030
|
+
for (i in o)
|
|
3031
|
+
Ze(s, i, r[i], o[i], e, t.$flags$);
|
|
3032
|
+
}, xt = (n, t, e, i) => {
|
|
3131
3033
|
let s = t.$children$[e], r = 0, o, a, l;
|
|
3132
|
-
if (
|
|
3034
|
+
if (Bn || (ce = !0, s.$tag$ === "slot" && (z && i.classList.add(z + "-s"), s.$flags$ |= s.$children$ ? (
|
|
3133
3035
|
// slot element has fallback content
|
|
3134
3036
|
2
|
|
3135
3037
|
) : (
|
|
@@ -3140,63 +3042,63 @@ const Pt = typeof window < "u" ? window : {}, S = Pt.document || { head: {} }, z
|
|
|
3140
3042
|
else if (s.$flags$ & 1)
|
|
3141
3043
|
o = s.$elm$ = S.createTextNode("");
|
|
3142
3044
|
else {
|
|
3143
|
-
if (
|
|
3045
|
+
if (b || (b = s.$tag$ === "svg"), o = s.$elm$ = S.createElementNS(b ? Ds : Fs, s.$flags$ & 2 ? "slot-fb" : s.$tag$), b && s.$tag$ === "foreignObject" && (b = !1), Fn(null, s, b), Ys(z) && o["s-si"] !== z && o.classList.add(o["s-si"] = z), s.$children$)
|
|
3144
3046
|
for (r = 0; r < s.$children$.length; ++r)
|
|
3145
|
-
a = xt(
|
|
3146
|
-
s.$tag$ === "svg" ?
|
|
3147
|
-
}
|
|
3148
|
-
return o["s-hn"] = Tt, s.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] =
|
|
3149
|
-
}, ot = (
|
|
3150
|
-
|
|
3151
|
-
const e =
|
|
3152
|
-
for (let
|
|
3153
|
-
const s = e[
|
|
3154
|
-
s["s-hn"] !== Tt && s["s-ol"] && (
|
|
3155
|
-
}
|
|
3156
|
-
|
|
3157
|
-
},
|
|
3158
|
-
let o =
|
|
3047
|
+
a = xt(n, s, r, o), a && o.appendChild(a);
|
|
3048
|
+
s.$tag$ === "svg" ? b = !1 : o.tagName === "foreignObject" && (b = !0);
|
|
3049
|
+
}
|
|
3050
|
+
return o["s-hn"] = Tt, s.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] = Nn, o["s-sn"] = s.$name$ || "", l = n && n.$children$ && n.$children$[e], l && l.$tag$ === s.$tag$ && n.$elm$ && ot(n.$elm$, !1)), o;
|
|
3051
|
+
}, ot = (n, t) => {
|
|
3052
|
+
y.$flags$ |= 1;
|
|
3053
|
+
const e = n.childNodes;
|
|
3054
|
+
for (let i = e.length - 1; i >= 0; i--) {
|
|
3055
|
+
const s = e[i];
|
|
3056
|
+
s["s-hn"] !== Tt && s["s-ol"] && (Wn(s).insertBefore(s, he(s)), s["s-ol"].remove(), s["s-ol"] = void 0, ce = !0), t && ot(s, t);
|
|
3057
|
+
}
|
|
3058
|
+
y.$flags$ &= -2;
|
|
3059
|
+
}, Yn = (n, t, e, i, s, r) => {
|
|
3060
|
+
let o = n["s-cr"] && n["s-cr"].parentNode || n, a;
|
|
3159
3061
|
for (o.shadowRoot && o.tagName === Tt && (o = o.shadowRoot); s <= r; ++s)
|
|
3160
|
-
|
|
3161
|
-
},
|
|
3062
|
+
i[s] && (a = xt(null, e, s, n), a && (i[s].$elm$ = a, o.insertBefore(a, he(t))));
|
|
3063
|
+
}, qn = (n, t, e, i, s) => {
|
|
3162
3064
|
for (; t <= e; ++t)
|
|
3163
|
-
(
|
|
3164
|
-
},
|
|
3165
|
-
let s = 0, r = 0, o = 0, a = 0, l = t.length - 1, c = t[0], u = t[l],
|
|
3166
|
-
for (; s <= l && r <=
|
|
3065
|
+
(i = n[t]) && (s = i.$elm$, Kn(i), _t = !0, s["s-ol"] ? s["s-ol"].remove() : ot(s, !0), s.remove());
|
|
3066
|
+
}, Ks = (n, t, e, i) => {
|
|
3067
|
+
let s = 0, r = 0, o = 0, a = 0, l = t.length - 1, c = t[0], u = t[l], d = i.length - 1, h = i[0], f = i[d], $, g;
|
|
3068
|
+
for (; s <= l && r <= d; )
|
|
3167
3069
|
if (c == null)
|
|
3168
3070
|
c = t[++s];
|
|
3169
3071
|
else if (u == null)
|
|
3170
3072
|
u = t[--l];
|
|
3171
|
-
else if (
|
|
3172
|
-
|
|
3073
|
+
else if (h == null)
|
|
3074
|
+
h = i[++r];
|
|
3173
3075
|
else if (f == null)
|
|
3174
|
-
f =
|
|
3175
|
-
else if (
|
|
3176
|
-
|
|
3177
|
-
else if (
|
|
3178
|
-
|
|
3179
|
-
else if (
|
|
3180
|
-
(c.$tag$ === "slot" || f.$tag$ === "slot") && ot(c.$elm$.parentNode, !1),
|
|
3181
|
-
else if (
|
|
3182
|
-
(c.$tag$ === "slot" || f.$tag$ === "slot") && ot(u.$elm$.parentNode, !1),
|
|
3076
|
+
f = i[--d];
|
|
3077
|
+
else if (ht(c, h))
|
|
3078
|
+
D(c, h), c = t[++s], h = i[++r];
|
|
3079
|
+
else if (ht(u, f))
|
|
3080
|
+
D(u, f), u = t[--l], f = i[--d];
|
|
3081
|
+
else if (ht(c, f))
|
|
3082
|
+
(c.$tag$ === "slot" || f.$tag$ === "slot") && ot(c.$elm$.parentNode, !1), D(c, f), n.insertBefore(c.$elm$, u.$elm$.nextSibling), c = t[++s], f = i[--d];
|
|
3083
|
+
else if (ht(u, h))
|
|
3084
|
+
(c.$tag$ === "slot" || f.$tag$ === "slot") && ot(u.$elm$.parentNode, !1), D(u, h), n.insertBefore(u.$elm$, c.$elm$), u = t[--l], h = i[++r];
|
|
3183
3085
|
else {
|
|
3184
3086
|
for (o = -1, a = s; a <= l; ++a)
|
|
3185
|
-
if (t[a] && t[a].$key$ !== null && t[a].$key$ ===
|
|
3087
|
+
if (t[a] && t[a].$key$ !== null && t[a].$key$ === h.$key$) {
|
|
3186
3088
|
o = a;
|
|
3187
3089
|
break;
|
|
3188
3090
|
}
|
|
3189
|
-
o >= 0 ? (g = t[o], g.$tag$ !==
|
|
3091
|
+
o >= 0 ? (g = t[o], g.$tag$ !== h.$tag$ ? $ = xt(t && t[r], e, o, n) : (D(g, h), t[o] = void 0, $ = g.$elm$), h = i[++r]) : ($ = xt(t && t[r], e, r, n), h = i[++r]), $ && Wn(c.$elm$).insertBefore($, he(c.$elm$));
|
|
3190
3092
|
}
|
|
3191
|
-
s > l ?
|
|
3192
|
-
},
|
|
3193
|
-
const e = t.$elm$ =
|
|
3093
|
+
s > l ? Yn(n, i[d + 1] == null ? null : i[d + 1].$elm$, e, i, r, d) : r > d && qn(t, s, l);
|
|
3094
|
+
}, ht = (n, t) => n.$tag$ === t.$tag$ ? n.$tag$ === "slot" ? n.$name$ === t.$name$ : n.$key$ === t.$key$ : !1, he = (n) => n && n["s-ol"] || n, Wn = (n) => (n["s-ol"] ? n["s-ol"] : n).parentNode, D = (n, t) => {
|
|
3095
|
+
const e = t.$elm$ = n.$elm$, i = n.$children$, s = t.$children$, r = t.$tag$, o = t.$text$;
|
|
3194
3096
|
let a;
|
|
3195
|
-
o === null ? (
|
|
3196
|
-
},
|
|
3197
|
-
let t =
|
|
3198
|
-
for (
|
|
3199
|
-
if (e = t[
|
|
3097
|
+
o === null ? (b = r === "svg" ? !0 : r === "foreignObject" ? !1 : b, r === "slot" || Fn(n, t, b), i !== null && s !== null ? Ks(e, i, t, s) : s !== null ? (n.$text$ !== null && (e.textContent = ""), Yn(e, null, t, s, 0, s.length - 1)) : i !== null && qn(i, 0, i.length - 1), b && r === "svg" && (b = !1)) : (a = e["s-cr"]) ? a.parentNode.textContent = o : n.$text$ !== o && (e.data = o);
|
|
3098
|
+
}, Gn = (n) => {
|
|
3099
|
+
let t = n.childNodes, e, i, s, r, o, a;
|
|
3100
|
+
for (i = 0, s = t.length; i < s; i++)
|
|
3101
|
+
if (e = t[i], e.nodeType === 1) {
|
|
3200
3102
|
if (e["s-sr"]) {
|
|
3201
3103
|
for (o = e["s-sn"], e.hidden = !1, r = 0; r < s; r++)
|
|
3202
3104
|
if (a = t[r].nodeType, t[r]["s-hn"] !== e["s-hn"] || o !== "") {
|
|
@@ -3209,99 +3111,99 @@ const Pt = typeof window < "u" ? window : {}, S = Pt.document || { head: {} }, z
|
|
|
3209
3111
|
break;
|
|
3210
3112
|
}
|
|
3211
3113
|
}
|
|
3212
|
-
|
|
3114
|
+
Gn(e);
|
|
3213
3115
|
}
|
|
3214
|
-
}, w = [],
|
|
3215
|
-
let t, e,
|
|
3116
|
+
}, w = [], Zn = (n) => {
|
|
3117
|
+
let t, e, i, s, r, o, a = 0, l = n.childNodes, c = l.length;
|
|
3216
3118
|
for (; a < c; a++) {
|
|
3217
3119
|
if (t = l[a], t["s-sr"] && (e = t["s-cr"]) && e.parentNode)
|
|
3218
|
-
for (
|
|
3219
|
-
e =
|
|
3120
|
+
for (i = e.parentNode.childNodes, s = t["s-sn"], o = i.length - 1; o >= 0; o--)
|
|
3121
|
+
e = i[o], !e["s-cn"] && !e["s-nr"] && e["s-hn"] !== t["s-hn"] && (Xe(e, s) ? (r = w.find((u) => u.$nodeToRelocate$ === e), _t = !0, e["s-sn"] = e["s-sn"] || s, r ? r.$slotRefNode$ = t : w.push({
|
|
3220
3122
|
$slotRefNode$: t,
|
|
3221
3123
|
$nodeToRelocate$: e
|
|
3222
3124
|
}), e["s-sr"] && w.map((u) => {
|
|
3223
|
-
|
|
3125
|
+
Xe(u.$nodeToRelocate$, e["s-sn"]) && (r = w.find((d) => d.$nodeToRelocate$ === e), r && !u.$slotRefNode$ && (u.$slotRefNode$ = r.$slotRefNode$));
|
|
3224
3126
|
})) : w.some((u) => u.$nodeToRelocate$ === e) || w.push({
|
|
3225
3127
|
$nodeToRelocate$: e
|
|
3226
3128
|
}));
|
|
3227
|
-
t.nodeType === 1 &&
|
|
3129
|
+
t.nodeType === 1 && Zn(t);
|
|
3228
3130
|
}
|
|
3229
|
-
},
|
|
3230
|
-
|
|
3231
|
-
},
|
|
3232
|
-
const e =
|
|
3233
|
-
Tt = e.tagName,
|
|
3131
|
+
}, Xe = (n, t) => n.nodeType === 1 ? n.getAttribute("slot") === null && t === "" || n.getAttribute("slot") === t : n["s-sn"] === t ? !0 : t === "", Kn = (n) => {
|
|
3132
|
+
n.$attrs$ && n.$attrs$.ref && n.$attrs$.ref(null), n.$children$ && n.$children$.map(Kn);
|
|
3133
|
+
}, Xs = (n, t) => {
|
|
3134
|
+
const e = n.$hostElement$, i = n.$cmpMeta$, s = n.$vnode$ || wt(null, null), r = qs(t) ? t : Y(null, null, t);
|
|
3135
|
+
Tt = e.tagName, i.$attrsToReflect$ && (r.$attrs$ = r.$attrs$ || {}, i.$attrsToReflect$.map(([o, a]) => r.$attrs$[a] = e[o])), r.$tag$ = null, r.$flags$ |= 4, n.$vnode$ = r, r.$elm$ = s.$elm$ = e.shadowRoot || e, z = e["s-sc"], Nn = e["s-cr"], Bn = (i.$flags$ & 1) !== 0, _t = !1, D(s, r);
|
|
3234
3136
|
{
|
|
3235
|
-
if (
|
|
3236
|
-
|
|
3237
|
-
let o, a, l, c, u,
|
|
3238
|
-
for (;
|
|
3239
|
-
o = w[
|
|
3240
|
-
for (
|
|
3241
|
-
if (o = w[
|
|
3137
|
+
if (y.$flags$ |= 1, ce) {
|
|
3138
|
+
Zn(r.$elm$);
|
|
3139
|
+
let o, a, l, c, u, d, h = 0;
|
|
3140
|
+
for (; h < w.length; h++)
|
|
3141
|
+
o = w[h], a = o.$nodeToRelocate$, a["s-ol"] || (l = S.createTextNode(""), l["s-nr"] = a, a.parentNode.insertBefore(a["s-ol"] = l, a));
|
|
3142
|
+
for (h = 0; h < w.length; h++)
|
|
3143
|
+
if (o = w[h], a = o.$nodeToRelocate$, o.$slotRefNode$) {
|
|
3242
3144
|
for (c = o.$slotRefNode$.parentNode, u = o.$slotRefNode$.nextSibling, l = a["s-ol"]; l = l.previousSibling; )
|
|
3243
|
-
if (
|
|
3244
|
-
u =
|
|
3145
|
+
if (d = l["s-nr"], d && d["s-sn"] === a["s-sn"] && c === d.parentNode && (d = d.nextSibling, !d || !d["s-nr"])) {
|
|
3146
|
+
u = d;
|
|
3245
3147
|
break;
|
|
3246
3148
|
}
|
|
3247
3149
|
(!u && c !== a.parentNode || a.nextSibling !== u) && a !== u && (!a["s-hn"] && a["s-ol"] && (a["s-hn"] = a["s-ol"].parentNode.nodeName), c.insertBefore(a, u));
|
|
3248
3150
|
} else
|
|
3249
3151
|
a.nodeType === 1 && (a.hidden = !0);
|
|
3250
3152
|
}
|
|
3251
|
-
_t &&
|
|
3153
|
+
_t && Gn(r.$elm$), y.$flags$ &= -2, w.length = 0;
|
|
3252
3154
|
}
|
|
3253
|
-
},
|
|
3254
|
-
const
|
|
3155
|
+
}, Js = (n) => n, Qs = (n, t, e) => {
|
|
3156
|
+
const i = Js(n);
|
|
3255
3157
|
return {
|
|
3256
|
-
emit: (s) =>
|
|
3257
|
-
bubbles:
|
|
3258
|
-
composed:
|
|
3259
|
-
cancelable:
|
|
3158
|
+
emit: (s) => Vs(i, t, {
|
|
3159
|
+
bubbles: !0,
|
|
3160
|
+
composed: !0,
|
|
3161
|
+
cancelable: !0,
|
|
3260
3162
|
detail: s
|
|
3261
3163
|
})
|
|
3262
3164
|
};
|
|
3263
|
-
},
|
|
3264
|
-
const
|
|
3265
|
-
return
|
|
3266
|
-
},
|
|
3267
|
-
},
|
|
3268
|
-
const e =
|
|
3165
|
+
}, Vs = (n, t, e) => {
|
|
3166
|
+
const i = y.ce(t, e);
|
|
3167
|
+
return n.dispatchEvent(i), i;
|
|
3168
|
+
}, tr = (n, t) => {
|
|
3169
|
+
}, Xn = (n, t) => (n.$flags$ |= 16, tr(n, n.$ancestorComponent$), yr(() => er(n, t))), er = (n, t) => {
|
|
3170
|
+
const e = n.$hostElement$, i = j("scheduleUpdate", n.$cmpMeta$.$tagName$), s = e;
|
|
3269
3171
|
let r;
|
|
3270
|
-
return t ? r =
|
|
3271
|
-
},
|
|
3272
|
-
const
|
|
3273
|
-
|
|
3274
|
-
const r = j("render",
|
|
3275
|
-
|
|
3276
|
-
},
|
|
3172
|
+
return t ? r = q(s, "componentWillLoad") : r = q(s, "componentWillUpdate"), r = Je(r, () => q(s, "componentWillRender")), i(), Je(r, () => nr(n, s, t));
|
|
3173
|
+
}, nr = async (n, t, e) => {
|
|
3174
|
+
const i = n.$hostElement$, s = j("update", n.$cmpMeta$.$tagName$);
|
|
3175
|
+
i["s-rc"], e && Hs(n);
|
|
3176
|
+
const r = j("render", n.$cmpMeta$.$tagName$);
|
|
3177
|
+
ir(n, t, i), r(), s(), sr(n);
|
|
3178
|
+
}, ir = (n, t, e) => {
|
|
3277
3179
|
try {
|
|
3278
|
-
|
|
3180
|
+
Fe = t, t = t.render && t.render(), n.$flags$ &= -17, n.$flags$ |= 2, (H.hasRenderFn || H.reflect) && (H.vdomRender || H.reflect) && (H.hydrateServerSide || Xs(n, t));
|
|
3279
3181
|
} catch (a) {
|
|
3280
|
-
ct(a,
|
|
3281
|
-
}
|
|
3282
|
-
return
|
|
3283
|
-
},
|
|
3284
|
-
const t =
|
|
3285
|
-
|
|
3286
|
-
},
|
|
3287
|
-
if (
|
|
3182
|
+
ct(a, n.$hostElement$);
|
|
3183
|
+
}
|
|
3184
|
+
return Fe = null, null;
|
|
3185
|
+
}, sr = (n) => {
|
|
3186
|
+
const t = n.$cmpMeta$.$tagName$, e = n.$hostElement$, i = j("postUpdate", t), s = e;
|
|
3187
|
+
n.$ancestorComponent$, q(s, "componentDidRender"), n.$flags$ & 64 ? (q(s, "componentDidUpdate"), i()) : (n.$flags$ |= 64, q(s, "componentDidLoad"), i());
|
|
3188
|
+
}, q = (n, t, e) => {
|
|
3189
|
+
if (n && n[t])
|
|
3288
3190
|
try {
|
|
3289
|
-
return
|
|
3290
|
-
} catch (
|
|
3291
|
-
ct(
|
|
3191
|
+
return n[t](e);
|
|
3192
|
+
} catch (i) {
|
|
3193
|
+
ct(i);
|
|
3292
3194
|
}
|
|
3293
|
-
}, Je = (
|
|
3294
|
-
const s = It(
|
|
3295
|
-
e =
|
|
3195
|
+
}, Je = (n, t) => n && n.then ? n.then(t) : t(), rr = (n, t) => n != null && !ue(n) ? t & 4 ? n === "false" ? !1 : n === "" || !!n : t & 2 ? parseFloat(n) : t & 1 ? String(n) : n : n, or = (n, t) => It(n).$instanceValues$.get(t), ar = (n, t, e, i) => {
|
|
3196
|
+
const s = It(n), r = n, o = s.$instanceValues$.get(t), a = s.$flags$, l = r;
|
|
3197
|
+
e = rr(e, i.$members$[t][0]);
|
|
3296
3198
|
const c = Number.isNaN(o) && Number.isNaN(e);
|
|
3297
3199
|
if (e !== o && !c) {
|
|
3298
3200
|
s.$instanceValues$.set(t, e);
|
|
3299
3201
|
{
|
|
3300
|
-
if (
|
|
3301
|
-
const
|
|
3302
|
-
|
|
3202
|
+
if (i.$watchers$ && a & 128) {
|
|
3203
|
+
const d = i.$watchers$[t];
|
|
3204
|
+
d && d.map((h) => {
|
|
3303
3205
|
try {
|
|
3304
|
-
l[
|
|
3206
|
+
l[h](e, o, t);
|
|
3305
3207
|
} catch (f) {
|
|
3306
3208
|
ct(f, r);
|
|
3307
3209
|
}
|
|
@@ -3310,21 +3212,21 @@ const Pt = typeof window < "u" ? window : {}, S = Pt.document || { head: {} }, z
|
|
|
3310
3212
|
if ((a & 18) === 2) {
|
|
3311
3213
|
if (l.componentShouldUpdate && l.componentShouldUpdate(e, o, t) === !1)
|
|
3312
3214
|
return;
|
|
3313
|
-
|
|
3215
|
+
Xn(s, !1);
|
|
3314
3216
|
}
|
|
3315
3217
|
}
|
|
3316
3218
|
}
|
|
3317
|
-
},
|
|
3219
|
+
}, lr = (n, t, e) => {
|
|
3318
3220
|
if (t.$members$) {
|
|
3319
|
-
|
|
3320
|
-
const
|
|
3321
|
-
|
|
3221
|
+
n.watchers && (t.$watchers$ = n.watchers);
|
|
3222
|
+
const i = Object.entries(t.$members$), s = n.prototype;
|
|
3223
|
+
i.map(([r, [o]]) => {
|
|
3322
3224
|
(o & 31 || o & 32) && Object.defineProperty(s, r, {
|
|
3323
3225
|
get() {
|
|
3324
|
-
return
|
|
3226
|
+
return or(this, r);
|
|
3325
3227
|
},
|
|
3326
3228
|
set(a) {
|
|
3327
|
-
|
|
3229
|
+
ar(this, r, a, t);
|
|
3328
3230
|
},
|
|
3329
3231
|
configurable: !0,
|
|
3330
3232
|
enumerable: !0
|
|
@@ -3333,7 +3235,7 @@ const Pt = typeof window < "u" ? window : {}, S = Pt.document || { head: {} }, z
|
|
|
3333
3235
|
{
|
|
3334
3236
|
const r = /* @__PURE__ */ new Map();
|
|
3335
3237
|
s.attributeChangedCallback = function(o, a, l) {
|
|
3336
|
-
|
|
3238
|
+
y.jmp(() => {
|
|
3337
3239
|
const c = r.get(o);
|
|
3338
3240
|
if (this.hasOwnProperty(c))
|
|
3339
3241
|
l = this[c], delete this[c];
|
|
@@ -3341,7 +3243,7 @@ const Pt = typeof window < "u" ? window : {}, S = Pt.document || { head: {} }, z
|
|
|
3341
3243
|
return;
|
|
3342
3244
|
this[c] = l === null && typeof this[c] == "boolean" ? !1 : l;
|
|
3343
3245
|
});
|
|
3344
|
-
},
|
|
3246
|
+
}, n.observedAttributes = i.filter(
|
|
3345
3247
|
([o, a]) => a[0] & 15
|
|
3346
3248
|
/* HasAttribute */
|
|
3347
3249
|
).map(([o, a]) => {
|
|
@@ -3350,53 +3252,53 @@ const Pt = typeof window < "u" ? window : {}, S = Pt.document || { head: {} }, z
|
|
|
3350
3252
|
});
|
|
3351
3253
|
}
|
|
3352
3254
|
}
|
|
3353
|
-
return
|
|
3354
|
-
},
|
|
3355
|
-
if (!(t.$flags$ & 32) && (s =
|
|
3255
|
+
return n;
|
|
3256
|
+
}, cr = async (n, t, e, i, s) => {
|
|
3257
|
+
if (!(t.$flags$ & 32) && (s = n.constructor, t.$flags$ |= 32, customElements.whenDefined(e.$tagName$).then(() => t.$flags$ |= 128), s.style)) {
|
|
3356
3258
|
let o = s.style;
|
|
3357
|
-
typeof o != "string" && (o = o[t.$modeName$ =
|
|
3358
|
-
const a =
|
|
3259
|
+
typeof o != "string" && (o = o[t.$modeName$ = zs(n)]);
|
|
3260
|
+
const a = Dn(e, t.$modeName$);
|
|
3359
3261
|
if (!St.has(a)) {
|
|
3360
3262
|
const l = j("registerStyles", e.$tagName$);
|
|
3361
|
-
|
|
3362
|
-
}
|
|
3363
|
-
}
|
|
3364
|
-
t.$ancestorComponent$,
|
|
3365
|
-
},
|
|
3366
|
-
},
|
|
3367
|
-
if (!(
|
|
3368
|
-
const t = It(
|
|
3369
|
-
t.$flags$ & 1 ? (
|
|
3370
|
-
if (r & 31 &&
|
|
3371
|
-
const o =
|
|
3372
|
-
delete
|
|
3373
|
-
}
|
|
3374
|
-
}),
|
|
3375
|
-
}
|
|
3376
|
-
},
|
|
3377
|
-
const t =
|
|
3378
|
-
t["s-cn"] = !0,
|
|
3379
|
-
},
|
|
3380
|
-
if (!(
|
|
3381
|
-
const t = It(
|
|
3263
|
+
Ns(a, o, !!(e.$flags$ & 1)), l();
|
|
3264
|
+
}
|
|
3265
|
+
}
|
|
3266
|
+
t.$ancestorComponent$, Xn(t, !0);
|
|
3267
|
+
}, ur = (n) => {
|
|
3268
|
+
}, dr = (n) => {
|
|
3269
|
+
if (!(y.$flags$ & 1)) {
|
|
3270
|
+
const t = It(n), e = t.$cmpMeta$, i = j("connectedCallback", e.$tagName$);
|
|
3271
|
+
t.$flags$ & 1 ? (zn(n, t, e.$listeners$), ur(t.$lazyInstance$)) : (t.$flags$ |= 1, e.$flags$ & 12 && hr(n), e.$members$ && Object.entries(e.$members$).map(([s, [r]]) => {
|
|
3272
|
+
if (r & 31 && n.hasOwnProperty(s)) {
|
|
3273
|
+
const o = n[s];
|
|
3274
|
+
delete n[s], n[s] = o;
|
|
3275
|
+
}
|
|
3276
|
+
}), cr(n, t, e)), i();
|
|
3277
|
+
}
|
|
3278
|
+
}, hr = (n) => {
|
|
3279
|
+
const t = n["s-cr"] = S.createComment("");
|
|
3280
|
+
t["s-cn"] = !0, n.insertBefore(t, n.firstChild);
|
|
3281
|
+
}, fr = (n) => {
|
|
3282
|
+
if (!(y.$flags$ & 1)) {
|
|
3283
|
+
const t = It(n);
|
|
3382
3284
|
t.$rmListeners$ && (t.$rmListeners$.map((e) => e()), t.$rmListeners$ = void 0);
|
|
3383
3285
|
}
|
|
3384
|
-
},
|
|
3286
|
+
}, Jn = (n, t) => {
|
|
3385
3287
|
const e = {
|
|
3386
3288
|
$flags$: t[0],
|
|
3387
3289
|
$tagName$: t[1]
|
|
3388
3290
|
};
|
|
3389
|
-
e.$members$ = t[2], e.$listeners$ = t[3], e.$watchers$ =
|
|
3390
|
-
const
|
|
3391
|
-
return Object.assign(
|
|
3291
|
+
e.$members$ = t[2], e.$listeners$ = t[3], e.$watchers$ = n.$watchers$, e.$attrsToReflect$ = [];
|
|
3292
|
+
const i = n.prototype.connectedCallback, s = n.prototype.disconnectedCallback;
|
|
3293
|
+
return Object.assign(n.prototype, {
|
|
3392
3294
|
__registerHost() {
|
|
3393
|
-
|
|
3295
|
+
pr(this, e);
|
|
3394
3296
|
},
|
|
3395
3297
|
connectedCallback() {
|
|
3396
|
-
|
|
3298
|
+
dr(this), i && i.call(this);
|
|
3397
3299
|
},
|
|
3398
3300
|
disconnectedCallback() {
|
|
3399
|
-
|
|
3301
|
+
fr(this), s && s.call(this);
|
|
3400
3302
|
},
|
|
3401
3303
|
__attachShadow() {
|
|
3402
3304
|
this.attachShadow({
|
|
@@ -3404,83 +3306,83 @@ const Pt = typeof window < "u" ? window : {}, S = Pt.document || { head: {} }, z
|
|
|
3404
3306
|
delegatesFocus: !!(e.$flags$ & 16)
|
|
3405
3307
|
});
|
|
3406
3308
|
}
|
|
3407
|
-
}),
|
|
3408
|
-
},
|
|
3309
|
+
}), n.is = e.$tagName$, lr(n, e);
|
|
3310
|
+
}, Qn = /* @__PURE__ */ new WeakMap(), It = (n) => Qn.get(n), pr = (n, t) => {
|
|
3409
3311
|
const e = {
|
|
3410
3312
|
$flags$: 0,
|
|
3411
|
-
$hostElement$:
|
|
3313
|
+
$hostElement$: n,
|
|
3412
3314
|
$cmpMeta$: t,
|
|
3413
3315
|
$instanceValues$: /* @__PURE__ */ new Map()
|
|
3414
3316
|
};
|
|
3415
|
-
return
|
|
3416
|
-
},
|
|
3417
|
-
|
|
3418
|
-
},
|
|
3419
|
-
for (let t = 0; t <
|
|
3317
|
+
return zn(n, e, t.$listeners$), Qn.set(n, e);
|
|
3318
|
+
}, Qe = (n, t) => t in n, ct = (n, t) => (0, console.error)(n, t), St = /* @__PURE__ */ new Map(), gr = [], Ve = [], Vn = [], $r = (n, t) => (e) => {
|
|
3319
|
+
n.push(e), Kt || (Kt = !0, t && y.$flags$ & 4 ? mr(Xt) : y.raf(Xt));
|
|
3320
|
+
}, tn = (n) => {
|
|
3321
|
+
for (let t = 0; t < n.length; t++)
|
|
3420
3322
|
try {
|
|
3421
|
-
|
|
3323
|
+
n[t](performance.now());
|
|
3422
3324
|
} catch (e) {
|
|
3423
3325
|
ct(e);
|
|
3424
3326
|
}
|
|
3425
|
-
|
|
3426
|
-
},
|
|
3427
|
-
|
|
3428
|
-
},
|
|
3429
|
-
const { content: t = "", title: e, attributes:
|
|
3327
|
+
n.length = 0;
|
|
3328
|
+
}, Xt = () => {
|
|
3329
|
+
tn(Ve), tn(Vn), (Kt = Ve.length > 0) && y.raf(Xt);
|
|
3330
|
+
}, mr = (n) => Ls().then(n), yr = /* @__PURE__ */ $r(Vn, !0), br = (n = {}) => {
|
|
3331
|
+
const { content: t = "", title: e, attributes: i = [] } = n;
|
|
3430
3332
|
let s = "", r = [
|
|
3431
3333
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
3432
3334
|
{ name: "fill", value: "currentColor" },
|
|
3433
|
-
...
|
|
3335
|
+
...i
|
|
3434
3336
|
];
|
|
3435
3337
|
return e && (s = `<title>${e}</title>`), `<svg ${r.map((a) => `${a.name}="${a.value}"`).join(" ")}>${s}${t}</svg>`;
|
|
3436
|
-
},
|
|
3437
|
-
function
|
|
3438
|
-
return `${
|
|
3338
|
+
}, vr = (n) => n.replace(/<(\/?)svg([^>]*)>/g, "").trim();
|
|
3339
|
+
function _r(n) {
|
|
3340
|
+
return `${n.getFullYear()}.${n.getMonth() + 1}`;
|
|
3439
3341
|
}
|
|
3440
|
-
class
|
|
3342
|
+
class wr {
|
|
3441
3343
|
constructor(t) {
|
|
3442
|
-
this.voca_component = t, this.voca_added =
|
|
3344
|
+
this.voca_component = t, this.voca_added = _r(/* @__PURE__ */ new Date());
|
|
3443
3345
|
}
|
|
3444
3346
|
}
|
|
3445
|
-
const
|
|
3347
|
+
const xr = "telia-vst{display:none}", Sr = /* @__PURE__ */ Jn(class extends Hn {
|
|
3446
3348
|
constructor() {
|
|
3447
|
-
super(), this.__registerHost(), this.vocaInternalUStats =
|
|
3349
|
+
super(), this.__registerHost(), this.vocaInternalUStats = Qs(this, "vocaInternalUStats");
|
|
3448
3350
|
}
|
|
3449
3351
|
connectedCallback() {
|
|
3450
|
-
this.vocaInternalUStats.emit(new
|
|
3352
|
+
this.vocaInternalUStats.emit(new wr(this.dataTrackingId));
|
|
3451
3353
|
}
|
|
3452
3354
|
render() {
|
|
3453
3355
|
return Y(de, null);
|
|
3454
3356
|
}
|
|
3455
3357
|
static get style() {
|
|
3456
|
-
return
|
|
3358
|
+
return xr;
|
|
3457
3359
|
}
|
|
3458
3360
|
}, [0, "telia-vst", {
|
|
3459
3361
|
dataTrackingId: [1, "data-tracking-id"]
|
|
3460
3362
|
}]);
|
|
3461
|
-
function
|
|
3363
|
+
function ti() {
|
|
3462
3364
|
if (typeof customElements > "u")
|
|
3463
3365
|
return;
|
|
3464
3366
|
["telia-vst"].forEach((t) => {
|
|
3465
3367
|
switch (t) {
|
|
3466
3368
|
case "telia-vst":
|
|
3467
|
-
customElements.get(t) || customElements.define(t,
|
|
3369
|
+
customElements.get(t) || customElements.define(t, Sr);
|
|
3468
3370
|
break;
|
|
3469
3371
|
}
|
|
3470
3372
|
});
|
|
3471
3373
|
}
|
|
3472
|
-
|
|
3374
|
+
ti();
|
|
3473
3375
|
function Jt() {
|
|
3474
3376
|
return typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : { vocadsIcons: void 0, vocadsIconsRegistered: !1 };
|
|
3475
3377
|
}
|
|
3476
|
-
function
|
|
3378
|
+
function Ar() {
|
|
3477
3379
|
if (typeof Jt().vocadsIcons !== void 0)
|
|
3478
3380
|
return Jt().vocadsIcons;
|
|
3479
3381
|
}
|
|
3480
|
-
function
|
|
3382
|
+
function kr() {
|
|
3481
3383
|
return Jt().vocadsIconsRegistered;
|
|
3482
3384
|
}
|
|
3483
|
-
const
|
|
3385
|
+
const Er = ".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))}", Cr = /* @__PURE__ */ Jn(class extends Hn {
|
|
3484
3386
|
constructor() {
|
|
3485
3387
|
super(), this.__registerHost(), this.size = "md", this.allyTitle = null, this.dataTrackingId = "telia-icon";
|
|
3486
3388
|
}
|
|
@@ -3492,27 +3394,27 @@ const Or = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
|
|
|
3492
3394
|
getSvgString() {
|
|
3493
3395
|
if (this.svg)
|
|
3494
3396
|
return this.svg;
|
|
3495
|
-
if (
|
|
3496
|
-
const
|
|
3497
|
-
return
|
|
3397
|
+
if (kr() && this.name) {
|
|
3398
|
+
const n = Ar();
|
|
3399
|
+
return n[this.name] ? n[this.name].svg : "";
|
|
3498
3400
|
}
|
|
3499
3401
|
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"), "";
|
|
3500
3402
|
}
|
|
3501
3403
|
render() {
|
|
3502
|
-
let
|
|
3404
|
+
let n = this.getSvgString(), t = [{ name: "viewBox", value: "0 0 64 64" }];
|
|
3503
3405
|
this.allyTitle ? t = [...t, { name: "role", value: "img" }] : t = [
|
|
3504
3406
|
...t,
|
|
3505
3407
|
{ name: "aria-hidden", value: "true" }
|
|
3506
3408
|
];
|
|
3507
|
-
const e =
|
|
3508
|
-
content:
|
|
3409
|
+
const e = br({
|
|
3410
|
+
content: vr(n),
|
|
3509
3411
|
attributes: t,
|
|
3510
3412
|
title: this.allyTitle
|
|
3511
3413
|
});
|
|
3512
3414
|
return Y(de, { class: `telia-icon telia-icon--${this.size}` }, Y("span", { "aria-label": this.allyTitle, class: "telia-icon__container", innerHTML: e }), Y("telia-vst", { dataTrackingId: this.dataTrackingId }));
|
|
3513
3415
|
}
|
|
3514
3416
|
static get style() {
|
|
3515
|
-
return
|
|
3417
|
+
return Er;
|
|
3516
3418
|
}
|
|
3517
3419
|
}, [0, "telia-icon", {
|
|
3518
3420
|
name: [1],
|
|
@@ -3521,29 +3423,29 @@ const Or = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
|
|
|
3521
3423
|
allyTitle: [1, "ally-title"],
|
|
3522
3424
|
dataTestid: [1, "data-testid"]
|
|
3523
3425
|
}]);
|
|
3524
|
-
function
|
|
3426
|
+
function Or() {
|
|
3525
3427
|
if (typeof customElements > "u")
|
|
3526
3428
|
return;
|
|
3527
3429
|
["telia-icon", "telia-vst"].forEach((t) => {
|
|
3528
3430
|
switch (t) {
|
|
3529
3431
|
case "telia-icon":
|
|
3530
|
-
customElements.get(t) || customElements.define(t,
|
|
3432
|
+
customElements.get(t) || customElements.define(t, Cr);
|
|
3531
3433
|
break;
|
|
3532
3434
|
case "telia-vst":
|
|
3533
|
-
customElements.get(t) ||
|
|
3435
|
+
customElements.get(t) || ti();
|
|
3534
3436
|
break;
|
|
3535
3437
|
}
|
|
3536
3438
|
});
|
|
3537
3439
|
}
|
|
3538
|
-
|
|
3539
|
-
var
|
|
3540
|
-
for (var s = void 0, r =
|
|
3541
|
-
(o =
|
|
3542
|
-
return s &&
|
|
3440
|
+
Or();
|
|
3441
|
+
var Tr = Object.defineProperty, Pr = (n, t, e, i) => {
|
|
3442
|
+
for (var s = void 0, r = n.length - 1, o; r >= 0; r--)
|
|
3443
|
+
(o = n[r]) && (s = o(t, e, s) || s);
|
|
3444
|
+
return s && Tr(t, e, s), s;
|
|
3543
3445
|
};
|
|
3544
|
-
const
|
|
3446
|
+
const en = jn(x), ye = class ye extends en {
|
|
3545
3447
|
constructor() {
|
|
3546
|
-
super(...arguments), this.optionsIsVisible = !1, this.options = new
|
|
3448
|
+
super(...arguments), this.optionsIsVisible = !1, this.options = new Ps(this), this.optionsRef = vt(), this.optionsTriggerRef = vt(), this._onClickOutside = (t) => {
|
|
3547
3449
|
!this.optionsTriggerRef.value || !this.optionsRef.value || t.composedPath().includes(this.optionsTriggerRef.value) || t.composedPath().includes(this.optionsRef.value) || (this.optionsIsVisible = !1);
|
|
3548
3450
|
};
|
|
3549
3451
|
}
|
|
@@ -3567,11 +3469,11 @@ const ii = Ni(x), ye = class ye extends ii {
|
|
|
3567
3469
|
return this.options.options.length ? k` <div class="side-menu">
|
|
3568
3470
|
<div
|
|
3569
3471
|
class="options-menu"
|
|
3570
|
-
${
|
|
3571
|
-
${
|
|
3472
|
+
${ae(this.optionsRef)}
|
|
3473
|
+
${Rn({
|
|
3572
3474
|
keyframeOptions: { duration: 120 },
|
|
3573
|
-
in:
|
|
3574
|
-
out:
|
|
3475
|
+
in: je,
|
|
3476
|
+
out: je,
|
|
3575
3477
|
stabilizeOut: !0,
|
|
3576
3478
|
skipInitial: !1
|
|
3577
3479
|
})}
|
|
@@ -3595,7 +3497,7 @@ const ii = Ni(x), ye = class ye extends ii {
|
|
|
3595
3497
|
}
|
|
3596
3498
|
};
|
|
3597
3499
|
ye.styles = [
|
|
3598
|
-
|
|
3500
|
+
en.styles || [],
|
|
3599
3501
|
M`
|
|
3600
3502
|
:host {
|
|
3601
3503
|
--header-text-color: var(--text-on-primary-background);
|
|
@@ -3685,11 +3587,11 @@ ye.styles = [
|
|
|
3685
3587
|
}
|
|
3686
3588
|
`
|
|
3687
3589
|
];
|
|
3688
|
-
let
|
|
3689
|
-
|
|
3590
|
+
let Qt = ye;
|
|
3591
|
+
Pr([
|
|
3690
3592
|
N()
|
|
3691
|
-
],
|
|
3593
|
+
], Qt.prototype, "optionsIsVisible");
|
|
3692
3594
|
export {
|
|
3693
|
-
|
|
3694
|
-
|
|
3595
|
+
Qt as SideMenu,
|
|
3596
|
+
Qt as default
|
|
3695
3597
|
};
|