@telia-ace/widget-side-menu 1.1.76-rc.2 → 1.1.76-rc.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,21 +1,21 @@
1
- var Bt = function(s, t) {
2
- return Bt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, i) {
3
- e.__proto__ = i;
4
- } || function(e, i) {
5
- for (var n in i)
6
- Object.prototype.hasOwnProperty.call(i, n) && (e[n] = i[n]);
7
- }, Bt(s, t);
1
+ var Bt = function(i, t) {
2
+ return Bt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, s) {
3
+ e.__proto__ = s;
4
+ } || function(e, s) {
5
+ for (var n in s)
6
+ Object.prototype.hasOwnProperty.call(s, n) && (e[n] = s[n]);
7
+ }, Bt(i, t);
8
8
  };
9
- function K(s, t) {
9
+ function K(i, t) {
10
10
  if (typeof t != "function" && t !== null)
11
11
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
12
- Bt(s, t);
12
+ Bt(i, t);
13
13
  function e() {
14
- this.constructor = s;
14
+ this.constructor = i;
15
15
  }
16
- s.prototype = t === null ? Object.create(t) : (e.prototype = t.prototype, new e());
16
+ i.prototype = t === null ? Object.create(t) : (e.prototype = t.prototype, new e());
17
17
  }
18
- function Gs(s, t, e, i) {
18
+ function Gi(i, t, e, s) {
19
19
  function n(r) {
20
20
  return r instanceof e ? r : new e(function(o) {
21
21
  o(r);
@@ -24,14 +24,14 @@ function Gs(s, t, e, i) {
24
24
  return new (e || (e = Promise))(function(r, o) {
25
25
  function a(u) {
26
26
  try {
27
- c(i.next(u));
27
+ c(s.next(u));
28
28
  } catch (h) {
29
29
  o(h);
30
30
  }
31
31
  }
32
32
  function l(u) {
33
33
  try {
34
- c(i.throw(u));
34
+ c(s.throw(u));
35
35
  } catch (h) {
36
36
  o(h);
37
37
  }
@@ -39,15 +39,15 @@ function Gs(s, t, e, i) {
39
39
  function c(u) {
40
40
  u.done ? r(u.value) : n(u.value).then(a, l);
41
41
  }
42
- c((i = i.apply(s, t || [])).next());
42
+ c((s = s.apply(i, t || [])).next());
43
43
  });
44
44
  }
45
- function Ge(s, t) {
45
+ function Ge(i, t) {
46
46
  var e = { label: 0, sent: function() {
47
47
  if (r[0] & 1)
48
48
  throw r[1];
49
49
  return r[1];
50
- }, trys: [], ops: [] }, i, n, r, o;
50
+ }, trys: [], ops: [] }, s, n, r, o;
51
51
  return o = { next: a(0), throw: a(1), return: a(2) }, typeof Symbol == "function" && (o[Symbol.iterator] = function() {
52
52
  return this;
53
53
  }), o;
@@ -57,11 +57,11 @@ function Ge(s, t) {
57
57
  };
58
58
  }
59
59
  function l(c) {
60
- if (i)
60
+ if (s)
61
61
  throw new TypeError("Generator is already executing.");
62
62
  for (; o && (o = 0, c[0] && (e = 0)), e; )
63
63
  try {
64
- if (i = 1, n && (r = c[0] & 2 ? n.return : c[0] ? n.throw || ((r = n.return) && r.call(n), 0) : n.next) && !(r = r.call(n, c[1])).done)
64
+ if (s = 1, n && (r = c[0] & 2 ? n.return : c[0] ? n.throw || ((r = n.return) && r.call(n), 0) : n.next) && !(r = r.call(n, c[1])).done)
65
65
  return r;
66
66
  switch (n = 0, r && (c = [c[0] & 2, r.value]), c[0]) {
67
67
  case 0:
@@ -96,42 +96,42 @@ function Ge(s, t) {
96
96
  r[2] && e.ops.pop(), e.trys.pop();
97
97
  continue;
98
98
  }
99
- c = t.call(s, e);
99
+ c = t.call(i, e);
100
100
  } catch (u) {
101
101
  c = [6, u], n = 0;
102
102
  } finally {
103
- i = r = 0;
103
+ s = r = 0;
104
104
  }
105
105
  if (c[0] & 5)
106
106
  throw c[1];
107
107
  return { value: c[0] ? c[1] : void 0, done: !0 };
108
108
  }
109
109
  }
110
- function q(s) {
111
- var t = typeof Symbol == "function" && Symbol.iterator, e = t && s[t], i = 0;
110
+ function q(i) {
111
+ var t = typeof Symbol == "function" && Symbol.iterator, e = t && i[t], s = 0;
112
112
  if (e)
113
- return e.call(s);
114
- if (s && typeof s.length == "number")
113
+ return e.call(i);
114
+ if (i && typeof i.length == "number")
115
115
  return {
116
116
  next: function() {
117
- return s && i >= s.length && (s = void 0), { value: s && s[i++], done: !s };
117
+ return i && s >= i.length && (i = void 0), { value: i && i[s++], done: !i };
118
118
  }
119
119
  };
120
120
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
121
121
  }
122
- function pt(s, t) {
123
- var e = typeof Symbol == "function" && s[Symbol.iterator];
122
+ function pt(i, t) {
123
+ var e = typeof Symbol == "function" && i[Symbol.iterator];
124
124
  if (!e)
125
- return s;
126
- var i = e.call(s), n, r = [], o;
125
+ return i;
126
+ var s = e.call(i), n, r = [], o;
127
127
  try {
128
- for (; (t === void 0 || t-- > 0) && !(n = i.next()).done; )
128
+ for (; (t === void 0 || t-- > 0) && !(n = s.next()).done; )
129
129
  r.push(n.value);
130
130
  } catch (a) {
131
131
  o = { error: a };
132
132
  } finally {
133
133
  try {
134
- n && !n.done && (e = i.return) && e.call(i);
134
+ n && !n.done && (e = s.return) && e.call(s);
135
135
  } finally {
136
136
  if (o)
137
137
  throw o.error;
@@ -139,24 +139,24 @@ function pt(s, t) {
139
139
  }
140
140
  return r;
141
141
  }
142
- function gt(s, t, e) {
142
+ function gt(i, t, e) {
143
143
  if (e || arguments.length === 2)
144
- for (var i = 0, n = t.length, r; i < n; i++)
145
- (r || !(i in t)) && (r || (r = Array.prototype.slice.call(t, 0, i)), r[i] = t[i]);
146
- return s.concat(r || Array.prototype.slice.call(t));
144
+ for (var s = 0, n = t.length, r; s < n; s++)
145
+ (r || !(s in t)) && (r || (r = Array.prototype.slice.call(t, 0, s)), r[s] = t[s]);
146
+ return i.concat(r || Array.prototype.slice.call(t));
147
147
  }
148
- function F(s) {
149
- return this instanceof F ? (this.v = s, this) : new F(s);
148
+ function F(i) {
149
+ return this instanceof F ? (this.v = i, this) : new F(i);
150
150
  }
151
- function Ks(s, t, e) {
151
+ function Ki(i, t, e) {
152
152
  if (!Symbol.asyncIterator)
153
153
  throw new TypeError("Symbol.asyncIterator is not defined.");
154
- var i = e.apply(s, t || []), n, r = [];
154
+ var s = e.apply(i, t || []), n, r = [];
155
155
  return n = {}, o("next"), o("throw"), o("return"), n[Symbol.asyncIterator] = function() {
156
156
  return this;
157
157
  }, n;
158
158
  function o(d) {
159
- i[d] && (n[d] = function(f) {
159
+ s[d] && (n[d] = function(f) {
160
160
  return new Promise(function($, g) {
161
161
  r.push([d, f, $, g]) > 1 || a(d, f);
162
162
  });
@@ -164,7 +164,7 @@ function Ks(s, t, e) {
164
164
  }
165
165
  function a(d, f) {
166
166
  try {
167
- l(i[d](f));
167
+ l(s[d](f));
168
168
  } catch ($) {
169
169
  h(r[0][3], $);
170
170
  }
@@ -182,17 +182,17 @@ function Ks(s, t, e) {
182
182
  d(f), r.shift(), r.length && a(r[0][0], r[0][1]);
183
183
  }
184
184
  }
185
- function Xs(s) {
185
+ function Xi(i) {
186
186
  if (!Symbol.asyncIterator)
187
187
  throw new TypeError("Symbol.asyncIterator is not defined.");
188
- var t = s[Symbol.asyncIterator], e;
189
- return t ? t.call(s) : (s = typeof q == "function" ? q(s) : s[Symbol.iterator](), e = {}, i("next"), i("throw"), i("return"), e[Symbol.asyncIterator] = function() {
188
+ var t = i[Symbol.asyncIterator], e;
189
+ return t ? t.call(i) : (i = typeof q == "function" ? q(i) : i[Symbol.iterator](), e = {}, s("next"), s("throw"), s("return"), e[Symbol.asyncIterator] = function() {
190
190
  return this;
191
191
  }, e);
192
- function i(r) {
193
- e[r] = s[r] && function(o) {
192
+ function s(r) {
193
+ e[r] = i[r] && function(o) {
194
194
  return new Promise(function(a, l) {
195
- o = s[r](o), n(a, l, o.done, o.value);
195
+ o = i[r](o), n(a, l, o.done, o.value);
196
196
  });
197
197
  };
198
198
  }
@@ -202,36 +202,36 @@ function Xs(s) {
202
202
  }, o);
203
203
  }
204
204
  }
205
- function v(s) {
206
- return typeof s == "function";
205
+ function v(i) {
206
+ return typeof i == "function";
207
207
  }
208
- function Ke(s) {
209
- var t = function(i) {
210
- Error.call(i), i.stack = new Error().stack;
211
- }, e = s(t);
208
+ function Ke(i) {
209
+ var t = function(s) {
210
+ Error.call(s), s.stack = new Error().stack;
211
+ }, e = i(t);
212
212
  return e.prototype = Object.create(Error.prototype), e.prototype.constructor = e, e;
213
213
  }
214
- var Lt = Ke(function(s) {
214
+ var It = Ke(function(i) {
215
215
  return function(e) {
216
- s(this), this.message = e ? e.length + ` errors occurred during unsubscription:
217
- ` + e.map(function(i, n) {
218
- return n + 1 + ") " + i.toString();
216
+ i(this), this.message = e ? e.length + ` errors occurred during unsubscription:
217
+ ` + e.map(function(s, n) {
218
+ return n + 1 + ") " + s.toString();
219
219
  }).join(`
220
220
  `) : "", this.name = "UnsubscriptionError", this.errors = e;
221
221
  };
222
222
  });
223
- function zt(s, t) {
224
- if (s) {
225
- var e = s.indexOf(t);
226
- 0 <= e && s.splice(e, 1);
223
+ function zt(i, t) {
224
+ if (i) {
225
+ var e = i.indexOf(t);
226
+ 0 <= e && i.splice(e, 1);
227
227
  }
228
228
  }
229
229
  var At = function() {
230
- function s(t) {
230
+ function i(t) {
231
231
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
232
232
  }
233
- return s.prototype.unsubscribe = function() {
234
- var t, e, i, n, r;
233
+ return i.prototype.unsubscribe = function() {
234
+ var t, e, s, n, r;
235
235
  if (!this.closed) {
236
236
  this.closed = !0;
237
237
  var o = this._parentage;
@@ -259,7 +259,7 @@ var At = function() {
259
259
  try {
260
260
  u();
261
261
  } catch (g) {
262
- r = g instanceof Lt ? g.errors : [g];
262
+ r = g instanceof It ? g.errors : [g];
263
263
  }
264
264
  var h = this._finalizers;
265
265
  if (h) {
@@ -270,58 +270,58 @@ var At = function() {
270
270
  try {
271
271
  he($);
272
272
  } catch (g) {
273
- r = r ?? [], g instanceof Lt ? r = gt(gt([], pt(r)), pt(g.errors)) : r.push(g);
273
+ r = r ?? [], g instanceof It ? r = gt(gt([], pt(r)), pt(g.errors)) : r.push(g);
274
274
  }
275
275
  }
276
276
  } catch (g) {
277
- i = { error: g };
277
+ s = { error: g };
278
278
  } finally {
279
279
  try {
280
280
  f && !f.done && (n = d.return) && n.call(d);
281
281
  } finally {
282
- if (i)
283
- throw i.error;
282
+ if (s)
283
+ throw s.error;
284
284
  }
285
285
  }
286
286
  }
287
287
  if (r)
288
- throw new Lt(r);
288
+ throw new It(r);
289
289
  }
290
- }, s.prototype.add = function(t) {
290
+ }, i.prototype.add = function(t) {
291
291
  var e;
292
292
  if (t && t !== this)
293
293
  if (this.closed)
294
294
  he(t);
295
295
  else {
296
- if (t instanceof s) {
296
+ if (t instanceof i) {
297
297
  if (t.closed || t._hasParent(this))
298
298
  return;
299
299
  t._addParent(this);
300
300
  }
301
301
  (this._finalizers = (e = this._finalizers) !== null && e !== void 0 ? e : []).push(t);
302
302
  }
303
- }, s.prototype._hasParent = function(t) {
303
+ }, i.prototype._hasParent = function(t) {
304
304
  var e = this._parentage;
305
305
  return e === t || Array.isArray(e) && e.includes(t);
306
- }, s.prototype._addParent = function(t) {
306
+ }, i.prototype._addParent = function(t) {
307
307
  var e = this._parentage;
308
308
  this._parentage = Array.isArray(e) ? (e.push(t), e) : e ? [e, t] : t;
309
- }, s.prototype._removeParent = function(t) {
309
+ }, i.prototype._removeParent = function(t) {
310
310
  var e = this._parentage;
311
311
  e === t ? this._parentage = null : Array.isArray(e) && zt(e, t);
312
- }, s.prototype.remove = function(t) {
312
+ }, i.prototype.remove = function(t) {
313
313
  var e = this._finalizers;
314
- e && zt(e, t), t instanceof s && t._removeParent(this);
315
- }, s.EMPTY = function() {
316
- var t = new s();
314
+ e && zt(e, t), t instanceof i && t._removeParent(this);
315
+ }, i.EMPTY = function() {
316
+ var t = new i();
317
317
  return t.closed = !0, t;
318
- }(), s;
318
+ }(), i;
319
319
  }(), Xe = At.EMPTY;
320
- function Ze(s) {
321
- return s instanceof At || s && "closed" in s && v(s.remove) && v(s.add) && v(s.unsubscribe);
320
+ function Ze(i) {
321
+ return i instanceof At || i && "closed" in i && v(i.remove) && v(i.add) && v(i.unsubscribe);
322
322
  }
323
- function he(s) {
324
- v(s) ? s() : s.unsubscribe();
323
+ function he(i) {
324
+ v(i) ? i() : i.unsubscribe();
325
325
  }
326
326
  var Qe = {
327
327
  onUnhandledError: null,
@@ -330,36 +330,36 @@ var Qe = {
330
330
  useDeprecatedSynchronousErrorHandling: !1,
331
331
  useDeprecatedNextContext: !1
332
332
  }, Ft = {
333
- setTimeout: function(s, t) {
334
- for (var e = [], i = 2; i < arguments.length; i++)
335
- e[i - 2] = arguments[i];
333
+ setTimeout: function(i, t) {
334
+ for (var e = [], s = 2; s < arguments.length; s++)
335
+ e[s - 2] = arguments[s];
336
336
  var n = Ft.delegate;
337
- return n != null && n.setTimeout ? n.setTimeout.apply(n, gt([s, t], pt(e))) : setTimeout.apply(void 0, gt([s, t], pt(e)));
337
+ return n != null && n.setTimeout ? n.setTimeout.apply(n, gt([i, t], pt(e))) : setTimeout.apply(void 0, gt([i, t], pt(e)));
338
338
  },
339
- clearTimeout: function(s) {
339
+ clearTimeout: function(i) {
340
340
  var t = Ft.delegate;
341
- return ((t == null ? void 0 : t.clearTimeout) || clearTimeout)(s);
341
+ return ((t == null ? void 0 : t.clearTimeout) || clearTimeout)(i);
342
342
  },
343
343
  delegate: void 0
344
344
  };
345
- function Je(s) {
345
+ function Je(i) {
346
346
  Ft.setTimeout(function() {
347
- throw s;
347
+ throw i;
348
348
  });
349
349
  }
350
350
  function de() {
351
351
  }
352
- function dt(s) {
353
- s();
352
+ function dt(i) {
353
+ i();
354
354
  }
355
- var Kt = function(s) {
356
- K(t, s);
355
+ var Kt = function(i) {
356
+ K(t, i);
357
357
  function t(e) {
358
- var i = s.call(this) || this;
359
- return i.isStopped = !1, e ? (i.destination = e, Ze(e) && e.add(i)) : i.destination = Vs, i;
358
+ var s = i.call(this) || this;
359
+ return s.isStopped = !1, e ? (s.destination = e, Ze(e) && e.add(s)) : s.destination = Vi, s;
360
360
  }
361
- return t.create = function(e, i, n) {
362
- return new Wt(e, i, n);
361
+ return t.create = function(e, s, n) {
362
+ return new Wt(e, s, n);
363
363
  }, t.prototype.next = function(e) {
364
364
  this.isStopped || this._next(e);
365
365
  }, t.prototype.error = function(e) {
@@ -367,7 +367,7 @@ var Kt = function(s) {
367
367
  }, t.prototype.complete = function() {
368
368
  this.isStopped || (this.isStopped = !0, this._complete());
369
369
  }, t.prototype.unsubscribe = function() {
370
- this.closed || (this.isStopped = !0, s.prototype.unsubscribe.call(this), this.destination = null);
370
+ this.closed || (this.isStopped = !0, i.prototype.unsubscribe.call(this), this.destination = null);
371
371
  }, t.prototype._next = function(e) {
372
372
  this.destination.next(e);
373
373
  }, t.prototype._error = function(e) {
@@ -383,33 +383,33 @@ var Kt = function(s) {
383
383
  this.unsubscribe();
384
384
  }
385
385
  }, t;
386
- }(At), Zs = Function.prototype.bind;
387
- function It(s, t) {
388
- return Zs.call(s, t);
386
+ }(At), Zi = Function.prototype.bind;
387
+ function Lt(i, t) {
388
+ return Zi.call(i, t);
389
389
  }
390
- var Qs = function() {
391
- function s(t) {
390
+ var Qi = function() {
391
+ function i(t) {
392
392
  this.partialObserver = t;
393
393
  }
394
- return s.prototype.next = function(t) {
394
+ return i.prototype.next = function(t) {
395
395
  var e = this.partialObserver;
396
396
  if (e.next)
397
397
  try {
398
398
  e.next(t);
399
- } catch (i) {
400
- ut(i);
399
+ } catch (s) {
400
+ ut(s);
401
401
  }
402
- }, s.prototype.error = function(t) {
402
+ }, i.prototype.error = function(t) {
403
403
  var e = this.partialObserver;
404
404
  if (e.error)
405
405
  try {
406
406
  e.error(t);
407
- } catch (i) {
408
- ut(i);
407
+ } catch (s) {
408
+ ut(s);
409
409
  }
410
410
  else
411
411
  ut(t);
412
- }, s.prototype.complete = function() {
412
+ }, i.prototype.complete = function() {
413
413
  var t = this.partialObserver;
414
414
  if (t.complete)
415
415
  try {
@@ -417,15 +417,15 @@ var Qs = function() {
417
417
  } catch (e) {
418
418
  ut(e);
419
419
  }
420
- }, s;
421
- }(), Wt = function(s) {
422
- K(t, s);
423
- function t(e, i, n) {
424
- var r = s.call(this) || this, o;
420
+ }, i;
421
+ }(), Wt = function(i) {
422
+ K(t, i);
423
+ function t(e, s, n) {
424
+ var r = i.call(this) || this, o;
425
425
  if (v(e) || !e)
426
426
  o = {
427
427
  next: e ?? void 0,
428
- error: i ?? void 0,
428
+ error: s ?? void 0,
429
429
  complete: n ?? void 0
430
430
  };
431
431
  else {
@@ -433,60 +433,60 @@ var Qs = function() {
433
433
  r && Qe.useDeprecatedNextContext ? (a = Object.create(e), a.unsubscribe = function() {
434
434
  return r.unsubscribe();
435
435
  }, o = {
436
- next: e.next && It(e.next, a),
437
- error: e.error && It(e.error, a),
438
- complete: e.complete && It(e.complete, a)
436
+ next: e.next && Lt(e.next, a),
437
+ error: e.error && Lt(e.error, a),
438
+ complete: e.complete && Lt(e.complete, a)
439
439
  }) : o = e;
440
440
  }
441
- return r.destination = new Qs(o), r;
441
+ return r.destination = new Qi(o), r;
442
442
  }
443
443
  return t;
444
444
  }(Kt);
445
- function ut(s) {
446
- Je(s);
445
+ function ut(i) {
446
+ Je(i);
447
447
  }
448
- function Js(s) {
449
- throw s;
448
+ function Ji(i) {
449
+ throw i;
450
450
  }
451
- var Vs = {
451
+ var Vi = {
452
452
  closed: !0,
453
453
  next: de,
454
- error: Js,
454
+ error: Ji,
455
455
  complete: de
456
456
  }, Xt = function() {
457
457
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
458
458
  }();
459
- function Ve(s) {
460
- return s;
459
+ function Ve(i) {
460
+ return i;
461
461
  }
462
- function ti(s) {
463
- return s.length === 0 ? Ve : s.length === 1 ? s[0] : function(e) {
464
- return s.reduce(function(i, n) {
465
- return n(i);
462
+ function ts(i) {
463
+ return i.length === 0 ? Ve : i.length === 1 ? i[0] : function(e) {
464
+ return i.reduce(function(s, n) {
465
+ return n(s);
466
466
  }, e);
467
467
  };
468
468
  }
469
469
  var _ = function() {
470
- function s(t) {
470
+ function i(t) {
471
471
  t && (this._subscribe = t);
472
472
  }
473
- return s.prototype.lift = function(t) {
474
- var e = new s();
473
+ return i.prototype.lift = function(t) {
474
+ var e = new i();
475
475
  return e.source = this, e.operator = t, e;
476
- }, s.prototype.subscribe = function(t, e, i) {
477
- var n = this, r = si(t) ? t : new Wt(t, e, i);
476
+ }, i.prototype.subscribe = function(t, e, s) {
477
+ var n = this, r = is(t) ? t : new Wt(t, e, s);
478
478
  return dt(function() {
479
479
  var o = n, a = o.operator, l = o.source;
480
480
  r.add(a ? a.call(r, l) : l ? n._subscribe(r) : n._trySubscribe(r));
481
481
  }), r;
482
- }, s.prototype._trySubscribe = function(t) {
482
+ }, i.prototype._trySubscribe = function(t) {
483
483
  try {
484
484
  return this._subscribe(t);
485
485
  } catch (e) {
486
486
  t.error(e);
487
487
  }
488
- }, s.prototype.forEach = function(t, e) {
489
- var i = this;
488
+ }, i.prototype.forEach = function(t, e) {
489
+ var s = this;
490
490
  return e = fe(e), new e(function(n, r) {
491
491
  var o = new Wt({
492
492
  next: function(a) {
@@ -499,73 +499,73 @@ var _ = function() {
499
499
  error: r,
500
500
  complete: n
501
501
  });
502
- i.subscribe(o);
502
+ s.subscribe(o);
503
503
  });
504
- }, s.prototype._subscribe = function(t) {
504
+ }, i.prototype._subscribe = function(t) {
505
505
  var e;
506
506
  return (e = this.source) === null || e === void 0 ? void 0 : e.subscribe(t);
507
- }, s.prototype[Xt] = function() {
507
+ }, i.prototype[Xt] = function() {
508
508
  return this;
509
- }, s.prototype.pipe = function() {
509
+ }, i.prototype.pipe = function() {
510
510
  for (var t = [], e = 0; e < arguments.length; e++)
511
511
  t[e] = arguments[e];
512
- return ti(t)(this);
513
- }, s.prototype.toPromise = function(t) {
512
+ return ts(t)(this);
513
+ }, i.prototype.toPromise = function(t) {
514
514
  var e = this;
515
- return t = fe(t), new t(function(i, n) {
515
+ return t = fe(t), new t(function(s, n) {
516
516
  var r;
517
517
  e.subscribe(function(o) {
518
518
  return r = o;
519
519
  }, function(o) {
520
520
  return n(o);
521
521
  }, function() {
522
- return i(r);
522
+ return s(r);
523
523
  });
524
524
  });
525
- }, s.create = function(t) {
526
- return new s(t);
527
- }, s;
525
+ }, i.create = function(t) {
526
+ return new i(t);
527
+ }, i;
528
528
  }();
529
- function fe(s) {
529
+ function fe(i) {
530
530
  var t;
531
- return (t = s ?? Qe.Promise) !== null && t !== void 0 ? t : Promise;
531
+ return (t = i ?? Qe.Promise) !== null && t !== void 0 ? t : Promise;
532
532
  }
533
- function ei(s) {
534
- return s && v(s.next) && v(s.error) && v(s.complete);
533
+ function es(i) {
534
+ return i && v(i.next) && v(i.error) && v(i.complete);
535
535
  }
536
- function si(s) {
537
- return s && s instanceof Kt || ei(s) && Ze(s);
536
+ function is(i) {
537
+ return i && i instanceof Kt || es(i) && Ze(i);
538
538
  }
539
- function ii(s) {
540
- return v(s == null ? void 0 : s.lift);
539
+ function ss(i) {
540
+ return v(i == null ? void 0 : i.lift);
541
541
  }
542
- function Et(s) {
542
+ function Et(i) {
543
543
  return function(t) {
544
- if (ii(t))
544
+ if (ss(t))
545
545
  return t.lift(function(e) {
546
546
  try {
547
- return s(e, this);
548
- } catch (i) {
549
- this.error(i);
547
+ return i(e, this);
548
+ } catch (s) {
549
+ this.error(s);
550
550
  }
551
551
  });
552
552
  throw new TypeError("Unable to lift unknown Observable type");
553
553
  };
554
554
  }
555
- function $t(s, t, e, i, n) {
556
- return new ni(s, t, e, i, n);
555
+ function $t(i, t, e, s, n) {
556
+ return new ns(i, t, e, s, n);
557
557
  }
558
- var ni = function(s) {
559
- K(t, s);
560
- function t(e, i, n, r, o, a) {
561
- var l = s.call(this, e) || this;
562
- return l.onFinalize = o, l.shouldUnsubscribe = a, l._next = i ? function(c) {
558
+ var ns = function(i) {
559
+ K(t, i);
560
+ function t(e, s, n, r, o, a) {
561
+ var l = i.call(this, e) || this;
562
+ return l.onFinalize = o, l.shouldUnsubscribe = a, l._next = s ? function(c) {
563
563
  try {
564
- i(c);
564
+ s(c);
565
565
  } catch (u) {
566
566
  e.error(u);
567
567
  }
568
- } : s.prototype._next, l._error = r ? function(c) {
568
+ } : i.prototype._next, l._error = r ? function(c) {
569
569
  try {
570
570
  r(c);
571
571
  } catch (u) {
@@ -573,7 +573,7 @@ var ni = function(s) {
573
573
  } finally {
574
574
  this.unsubscribe();
575
575
  }
576
- } : s.prototype._error, l._complete = n ? function() {
576
+ } : i.prototype._error, l._complete = n ? function() {
577
577
  try {
578
578
  n();
579
579
  } catch (c) {
@@ -581,39 +581,39 @@ var ni = function(s) {
581
581
  } finally {
582
582
  this.unsubscribe();
583
583
  }
584
- } : s.prototype._complete, l;
584
+ } : i.prototype._complete, l;
585
585
  }
586
586
  return t.prototype.unsubscribe = function() {
587
587
  var e;
588
588
  if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {
589
- var i = this.closed;
590
- s.prototype.unsubscribe.call(this), !i && ((e = this.onFinalize) === null || e === void 0 || e.call(this));
589
+ var s = this.closed;
590
+ i.prototype.unsubscribe.call(this), !s && ((e = this.onFinalize) === null || e === void 0 || e.call(this));
591
591
  }
592
592
  }, t;
593
- }(Kt), ri = Ke(function(s) {
593
+ }(Kt), rs = Ke(function(i) {
594
594
  return function() {
595
- s(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
595
+ i(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
596
596
  };
597
- }), Ct = function(s) {
598
- K(t, s);
597
+ }), Ct = function(i) {
598
+ K(t, i);
599
599
  function t() {
600
- var e = s.call(this) || this;
600
+ var e = i.call(this) || this;
601
601
  return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
602
602
  }
603
603
  return t.prototype.lift = function(e) {
604
- var i = new pe(this, this);
605
- return i.operator = e, i;
604
+ var s = new pe(this, this);
605
+ return s.operator = e, s;
606
606
  }, t.prototype._throwIfClosed = function() {
607
607
  if (this.closed)
608
- throw new ri();
608
+ throw new rs();
609
609
  }, t.prototype.next = function(e) {
610
- var i = this;
610
+ var s = this;
611
611
  dt(function() {
612
612
  var n, r;
613
- if (i._throwIfClosed(), !i.isStopped) {
614
- i.currentObservers || (i.currentObservers = Array.from(i.observers));
613
+ if (s._throwIfClosed(), !s.isStopped) {
614
+ s.currentObservers || (s.currentObservers = Array.from(s.observers));
615
615
  try {
616
- for (var o = q(i.currentObservers), a = o.next(); !a.done; a = o.next()) {
616
+ for (var o = q(s.currentObservers), a = o.next(); !a.done; a = o.next()) {
617
617
  var l = a.value;
618
618
  l.next(e);
619
619
  }
@@ -630,11 +630,11 @@ var ni = function(s) {
630
630
  }
631
631
  });
632
632
  }, t.prototype.error = function(e) {
633
- var i = this;
633
+ var s = this;
634
634
  dt(function() {
635
- if (i._throwIfClosed(), !i.isStopped) {
636
- i.hasError = i.isStopped = !0, i.thrownError = e;
637
- for (var n = i.observers; n.length; )
635
+ if (s._throwIfClosed(), !s.isStopped) {
636
+ s.hasError = s.isStopped = !0, s.thrownError = e;
637
+ for (var n = s.observers; n.length; )
638
638
  n.shift().error(e);
639
639
  }
640
640
  });
@@ -643,8 +643,8 @@ var ni = function(s) {
643
643
  dt(function() {
644
644
  if (e._throwIfClosed(), !e.isStopped) {
645
645
  e.isStopped = !0;
646
- for (var i = e.observers; i.length; )
647
- i.shift().complete();
646
+ for (var s = e.observers; s.length; )
647
+ s.shift().complete();
648
648
  }
649
649
  });
650
650
  }, t.prototype.unsubscribe = function() {
@@ -657,47 +657,47 @@ var ni = function(s) {
657
657
  enumerable: !1,
658
658
  configurable: !0
659
659
  }), t.prototype._trySubscribe = function(e) {
660
- return this._throwIfClosed(), s.prototype._trySubscribe.call(this, e);
660
+ return this._throwIfClosed(), i.prototype._trySubscribe.call(this, e);
661
661
  }, t.prototype._subscribe = function(e) {
662
662
  return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
663
663
  }, t.prototype._innerSubscribe = function(e) {
664
- var i = this, n = this, r = n.hasError, o = n.isStopped, a = n.observers;
664
+ var s = this, n = this, r = n.hasError, o = n.isStopped, a = n.observers;
665
665
  return r || o ? Xe : (this.currentObservers = null, a.push(e), new At(function() {
666
- i.currentObservers = null, zt(a, e);
666
+ s.currentObservers = null, zt(a, e);
667
667
  }));
668
668
  }, t.prototype._checkFinalizedStatuses = function(e) {
669
- var i = this, n = i.hasError, r = i.thrownError, o = i.isStopped;
669
+ var s = this, n = s.hasError, r = s.thrownError, o = s.isStopped;
670
670
  n ? e.error(r) : o && e.complete();
671
671
  }, t.prototype.asObservable = function() {
672
672
  var e = new _();
673
673
  return e.source = this, e;
674
- }, t.create = function(e, i) {
675
- return new pe(e, i);
674
+ }, t.create = function(e, s) {
675
+ return new pe(e, s);
676
676
  }, t;
677
- }(_), pe = function(s) {
678
- K(t, s);
679
- function t(e, i) {
680
- var n = s.call(this) || this;
681
- return n.destination = e, n.source = i, n;
677
+ }(_), pe = function(i) {
678
+ K(t, i);
679
+ function t(e, s) {
680
+ var n = i.call(this) || this;
681
+ return n.destination = e, n.source = s, n;
682
682
  }
683
683
  return t.prototype.next = function(e) {
684
- var i, n;
685
- (n = (i = this.destination) === null || i === void 0 ? void 0 : i.next) === null || n === void 0 || n.call(i, e);
684
+ var s, n;
685
+ (n = (s = this.destination) === null || s === void 0 ? void 0 : s.next) === null || n === void 0 || n.call(s, e);
686
686
  }, t.prototype.error = function(e) {
687
- var i, n;
688
- (n = (i = this.destination) === null || i === void 0 ? void 0 : i.error) === null || n === void 0 || n.call(i, e);
687
+ var s, n;
688
+ (n = (s = this.destination) === null || s === void 0 ? void 0 : s.error) === null || n === void 0 || n.call(s, e);
689
689
  }, t.prototype.complete = function() {
690
- var e, i;
691
- (i = (e = this.destination) === null || e === void 0 ? void 0 : e.complete) === null || i === void 0 || i.call(e);
690
+ var e, s;
691
+ (s = (e = this.destination) === null || e === void 0 ? void 0 : e.complete) === null || s === void 0 || s.call(e);
692
692
  }, t.prototype._subscribe = function(e) {
693
- var i, n;
694
- return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(e)) !== null && n !== void 0 ? n : Xe;
693
+ var s, n;
694
+ return (n = (s = this.source) === null || s === void 0 ? void 0 : s.subscribe(e)) !== null && n !== void 0 ? n : Xe;
695
695
  }, t;
696
- }(Ct), oi = function(s) {
697
- K(t, s);
696
+ }(Ct), os = function(i) {
697
+ K(t, i);
698
698
  function t(e) {
699
- var i = s.call(this) || this;
700
- return i._value = e, i;
699
+ var s = i.call(this) || this;
700
+ return s._value = e, s;
701
701
  }
702
702
  return Object.defineProperty(t.prototype, "value", {
703
703
  get: function() {
@@ -706,66 +706,66 @@ var ni = function(s) {
706
706
  enumerable: !1,
707
707
  configurable: !0
708
708
  }), t.prototype._subscribe = function(e) {
709
- var i = s.prototype._subscribe.call(this, e);
710
- return !i.closed && e.next(this._value), i;
709
+ var s = i.prototype._subscribe.call(this, e);
710
+ return !s.closed && e.next(this._value), s;
711
711
  }, t.prototype.getValue = function() {
712
- var e = this, i = e.hasError, n = e.thrownError, r = e._value;
713
- if (i)
712
+ var e = this, s = e.hasError, n = e.thrownError, r = e._value;
713
+ if (s)
714
714
  throw n;
715
715
  return this._throwIfClosed(), r;
716
716
  }, t.prototype.next = function(e) {
717
- s.prototype.next.call(this, this._value = e);
717
+ i.prototype.next.call(this, this._value = e);
718
718
  }, t;
719
- }(Ct), ai = new _(function(s) {
720
- return s.complete();
719
+ }(Ct), as = new _(function(i) {
720
+ return i.complete();
721
721
  });
722
- function li(s) {
723
- return s && v(s.schedule);
722
+ function ls(i) {
723
+ return i && v(i.schedule);
724
724
  }
725
- function ts(s) {
726
- return s[s.length - 1];
725
+ function ti(i) {
726
+ return i[i.length - 1];
727
727
  }
728
- function ci(s) {
729
- return li(ts(s)) ? s.pop() : void 0;
728
+ function cs(i) {
729
+ return ls(ti(i)) ? i.pop() : void 0;
730
730
  }
731
- function ui(s, t) {
732
- return typeof ts(s) == "number" ? s.pop() : t;
731
+ function us(i, t) {
732
+ return typeof ti(i) == "number" ? i.pop() : t;
733
733
  }
734
- var es = function(s) {
735
- return s && typeof s.length == "number" && typeof s != "function";
734
+ var ei = function(i) {
735
+ return i && typeof i.length == "number" && typeof i != "function";
736
736
  };
737
- function ss(s) {
738
- return v(s == null ? void 0 : s.then);
737
+ function ii(i) {
738
+ return v(i == null ? void 0 : i.then);
739
739
  }
740
- function is(s) {
741
- return v(s[Xt]);
740
+ function si(i) {
741
+ return v(i[Xt]);
742
742
  }
743
- function ns(s) {
744
- return Symbol.asyncIterator && v(s == null ? void 0 : s[Symbol.asyncIterator]);
743
+ function ni(i) {
744
+ return Symbol.asyncIterator && v(i == null ? void 0 : i[Symbol.asyncIterator]);
745
745
  }
746
- function rs(s) {
747
- return new TypeError("You provided " + (s !== null && typeof s == "object" ? "an invalid object" : "'" + s + "'") + " where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.");
746
+ function ri(i) {
747
+ return new TypeError("You provided " + (i !== null && typeof i == "object" ? "an invalid object" : "'" + i + "'") + " where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.");
748
748
  }
749
- function hi() {
749
+ function hs() {
750
750
  return typeof Symbol != "function" || !Symbol.iterator ? "@@iterator" : Symbol.iterator;
751
751
  }
752
- var os = hi();
753
- function as(s) {
754
- return v(s == null ? void 0 : s[os]);
752
+ var oi = hs();
753
+ function ai(i) {
754
+ return v(i == null ? void 0 : i[oi]);
755
755
  }
756
- function ls(s) {
757
- return Ks(this, arguments, function() {
758
- var e, i, n, r;
756
+ function li(i) {
757
+ return Ki(this, arguments, function() {
758
+ var e, s, n, r;
759
759
  return Ge(this, function(o) {
760
760
  switch (o.label) {
761
761
  case 0:
762
- e = s.getReader(), o.label = 1;
762
+ e = i.getReader(), o.label = 1;
763
763
  case 1:
764
764
  o.trys.push([1, , 9, 10]), o.label = 2;
765
765
  case 2:
766
766
  return [4, F(e.read())];
767
767
  case 3:
768
- return i = o.sent(), n = i.value, r = i.done, r ? [4, F(void 0)] : [3, 5];
768
+ return s = o.sent(), n = s.value, r = s.done, r ? [4, F(void 0)] : [3, 5];
769
769
  case 4:
770
770
  return [2, o.sent()];
771
771
  case 5:
@@ -784,57 +784,57 @@ function ls(s) {
784
784
  });
785
785
  });
786
786
  }
787
- function cs(s) {
788
- return v(s == null ? void 0 : s.getReader);
789
- }
790
- function X(s) {
791
- if (s instanceof _)
792
- return s;
793
- if (s != null) {
794
- if (is(s))
795
- return di(s);
796
- if (es(s))
797
- return fi(s);
798
- if (ss(s))
799
- return pi(s);
800
- if (ns(s))
801
- return us(s);
802
- if (as(s))
803
- return gi(s);
804
- if (cs(s))
805
- return $i(s);
806
- }
807
- throw rs(s);
808
- }
809
- function di(s) {
787
+ function ci(i) {
788
+ return v(i == null ? void 0 : i.getReader);
789
+ }
790
+ function X(i) {
791
+ if (i instanceof _)
792
+ return i;
793
+ if (i != null) {
794
+ if (si(i))
795
+ return ds(i);
796
+ if (ei(i))
797
+ return fs(i);
798
+ if (ii(i))
799
+ return ps(i);
800
+ if (ni(i))
801
+ return ui(i);
802
+ if (ai(i))
803
+ return gs(i);
804
+ if (ci(i))
805
+ return $s(i);
806
+ }
807
+ throw ri(i);
808
+ }
809
+ function ds(i) {
810
810
  return new _(function(t) {
811
- var e = s[Xt]();
811
+ var e = i[Xt]();
812
812
  if (v(e.subscribe))
813
813
  return e.subscribe(t);
814
814
  throw new TypeError("Provided object does not correctly implement Symbol.observable");
815
815
  });
816
816
  }
817
- function fi(s) {
817
+ function fs(i) {
818
818
  return new _(function(t) {
819
- for (var e = 0; e < s.length && !t.closed; e++)
820
- t.next(s[e]);
819
+ for (var e = 0; e < i.length && !t.closed; e++)
820
+ t.next(i[e]);
821
821
  t.complete();
822
822
  });
823
823
  }
824
- function pi(s) {
824
+ function ps(i) {
825
825
  return new _(function(t) {
826
- s.then(function(e) {
826
+ i.then(function(e) {
827
827
  t.closed || (t.next(e), t.complete());
828
828
  }, function(e) {
829
829
  return t.error(e);
830
830
  }).then(null, Je);
831
831
  });
832
832
  }
833
- function gi(s) {
833
+ function gs(i) {
834
834
  return new _(function(t) {
835
- var e, i;
835
+ var e, s;
836
836
  try {
837
- for (var n = q(s), r = n.next(); !r.done; r = n.next()) {
837
+ for (var n = q(i), r = n.next(); !r.done; r = n.next()) {
838
838
  var o = r.value;
839
839
  if (t.next(o), t.closed)
840
840
  return;
@@ -843,7 +843,7 @@ function gi(s) {
843
843
  e = { error: a };
844
844
  } finally {
845
845
  try {
846
- r && !r.done && (i = n.return) && i.call(n);
846
+ r && !r.done && (s = n.return) && s.call(n);
847
847
  } finally {
848
848
  if (e)
849
849
  throw e.error;
@@ -852,30 +852,30 @@ function gi(s) {
852
852
  t.complete();
853
853
  });
854
854
  }
855
- function us(s) {
855
+ function ui(i) {
856
856
  return new _(function(t) {
857
- vi(s, t).catch(function(e) {
857
+ vs(i, t).catch(function(e) {
858
858
  return t.error(e);
859
859
  });
860
860
  });
861
861
  }
862
- function $i(s) {
863
- return us(ls(s));
862
+ function $s(i) {
863
+ return ui(li(i));
864
864
  }
865
- function vi(s, t) {
866
- var e, i, n, r;
867
- return Gs(this, void 0, void 0, function() {
865
+ function vs(i, t) {
866
+ var e, s, n, r;
867
+ return Gi(this, void 0, void 0, function() {
868
868
  var o, a;
869
869
  return Ge(this, function(l) {
870
870
  switch (l.label) {
871
871
  case 0:
872
- l.trys.push([0, 5, 6, 11]), e = Xs(s), l.label = 1;
872
+ l.trys.push([0, 5, 6, 11]), e = Xi(i), l.label = 1;
873
873
  case 1:
874
874
  return [4, e.next()];
875
875
  case 2:
876
- if (i = l.sent(), !!i.done)
876
+ if (s = l.sent(), !!s.done)
877
877
  return [3, 4];
878
- if (o = i.value, t.next(o), t.closed)
878
+ if (o = s.value, t.next(o), t.closed)
879
879
  return [2];
880
880
  l.label = 3;
881
881
  case 3:
@@ -885,7 +885,7 @@ function vi(s, t) {
885
885
  case 5:
886
886
  return a = l.sent(), n = { error: a }, [3, 11];
887
887
  case 6:
888
- return l.trys.push([6, , 9, 10]), i && !i.done && (r = e.return) ? [4, r.call(e)] : [3, 8];
888
+ return l.trys.push([6, , 9, 10]), s && !s.done && (r = e.return) ? [4, r.call(e)] : [3, 8];
889
889
  case 7:
890
890
  l.sent(), l.label = 8;
891
891
  case 8:
@@ -902,60 +902,60 @@ function vi(s, t) {
902
902
  });
903
903
  });
904
904
  }
905
- function k(s, t, e, i, n) {
906
- i === void 0 && (i = 0), n === void 0 && (n = !1);
905
+ function k(i, t, e, s, n) {
906
+ s === void 0 && (s = 0), n === void 0 && (n = !1);
907
907
  var r = t.schedule(function() {
908
- e(), n ? s.add(this.schedule(null, i)) : this.unsubscribe();
909
- }, i);
910
- if (s.add(r), !n)
908
+ e(), n ? i.add(this.schedule(null, s)) : this.unsubscribe();
909
+ }, s);
910
+ if (i.add(r), !n)
911
911
  return r;
912
912
  }
913
- function hs(s, t) {
914
- return t === void 0 && (t = 0), Et(function(e, i) {
915
- e.subscribe($t(i, function(n) {
916
- return k(i, s, function() {
917
- return i.next(n);
913
+ function hi(i, t) {
914
+ return t === void 0 && (t = 0), Et(function(e, s) {
915
+ e.subscribe($t(s, function(n) {
916
+ return k(s, i, function() {
917
+ return s.next(n);
918
918
  }, t);
919
919
  }, function() {
920
- return k(i, s, function() {
921
- return i.complete();
920
+ return k(s, i, function() {
921
+ return s.complete();
922
922
  }, t);
923
923
  }, function(n) {
924
- return k(i, s, function() {
925
- return i.error(n);
924
+ return k(s, i, function() {
925
+ return s.error(n);
926
926
  }, t);
927
927
  }));
928
928
  });
929
929
  }
930
- function ds(s, t) {
931
- return t === void 0 && (t = 0), Et(function(e, i) {
932
- i.add(s.schedule(function() {
933
- return e.subscribe(i);
930
+ function di(i, t) {
931
+ return t === void 0 && (t = 0), Et(function(e, s) {
932
+ s.add(i.schedule(function() {
933
+ return e.subscribe(s);
934
934
  }, t));
935
935
  });
936
936
  }
937
- function mi(s, t) {
938
- return X(s).pipe(ds(t), hs(t));
937
+ function ms(i, t) {
938
+ return X(i).pipe(di(t), hi(t));
939
939
  }
940
- function yi(s, t) {
941
- return X(s).pipe(ds(t), hs(t));
940
+ function ys(i, t) {
941
+ return X(i).pipe(di(t), hi(t));
942
942
  }
943
- function bi(s, t) {
943
+ function bs(i, t) {
944
944
  return new _(function(e) {
945
- var i = 0;
945
+ var s = 0;
946
946
  return t.schedule(function() {
947
- i === s.length ? e.complete() : (e.next(s[i++]), e.closed || this.schedule());
947
+ s === i.length ? e.complete() : (e.next(i[s++]), e.closed || this.schedule());
948
948
  });
949
949
  });
950
950
  }
951
- function _i(s, t) {
951
+ function _s(i, t) {
952
952
  return new _(function(e) {
953
- var i;
953
+ var s;
954
954
  return k(e, t, function() {
955
- i = s[os](), k(e, t, function() {
955
+ s = i[oi](), k(e, t, function() {
956
956
  var n, r, o;
957
957
  try {
958
- n = i.next(), r = n.value, o = n.done;
958
+ n = s.next(), r = n.value, o = n.done;
959
959
  } catch (a) {
960
960
  e.error(a);
961
961
  return;
@@ -963,60 +963,60 @@ function _i(s, t) {
963
963
  o ? e.complete() : e.next(r);
964
964
  }, 0, !0);
965
965
  }), function() {
966
- return v(i == null ? void 0 : i.return) && i.return();
966
+ return v(s == null ? void 0 : s.return) && s.return();
967
967
  };
968
968
  });
969
969
  }
970
- function fs(s, t) {
971
- if (!s)
970
+ function fi(i, t) {
971
+ if (!i)
972
972
  throw new Error("Iterable cannot be null");
973
973
  return new _(function(e) {
974
974
  k(e, t, function() {
975
- var i = s[Symbol.asyncIterator]();
975
+ var s = i[Symbol.asyncIterator]();
976
976
  k(e, t, function() {
977
- i.next().then(function(n) {
977
+ s.next().then(function(n) {
978
978
  n.done ? e.complete() : e.next(n.value);
979
979
  });
980
980
  }, 0, !0);
981
981
  });
982
982
  });
983
983
  }
984
- function wi(s, t) {
985
- return fs(ls(s), t);
986
- }
987
- function xi(s, t) {
988
- if (s != null) {
989
- if (is(s))
990
- return mi(s, t);
991
- if (es(s))
992
- return bi(s, t);
993
- if (ss(s))
994
- return yi(s, t);
995
- if (ns(s))
996
- return fs(s, t);
997
- if (as(s))
998
- return _i(s, t);
999
- if (cs(s))
1000
- return wi(s, t);
1001
- }
1002
- throw rs(s);
1003
- }
1004
- function Si(s, t) {
1005
- return t ? xi(s, t) : X(s);
1006
- }
1007
- function Ai(s, t) {
1008
- return Et(function(e, i) {
984
+ function ws(i, t) {
985
+ return fi(li(i), t);
986
+ }
987
+ function xs(i, t) {
988
+ if (i != null) {
989
+ if (si(i))
990
+ return ms(i, t);
991
+ if (ei(i))
992
+ return bs(i, t);
993
+ if (ii(i))
994
+ return ys(i, t);
995
+ if (ni(i))
996
+ return fi(i, t);
997
+ if (ai(i))
998
+ return _s(i, t);
999
+ if (ci(i))
1000
+ return ws(i, t);
1001
+ }
1002
+ throw ri(i);
1003
+ }
1004
+ function Ss(i, t) {
1005
+ return t ? xs(i, t) : X(i);
1006
+ }
1007
+ function As(i, t) {
1008
+ return Et(function(e, s) {
1009
1009
  var n = 0;
1010
- e.subscribe($t(i, function(r) {
1011
- i.next(s.call(t, r, n++));
1010
+ e.subscribe($t(s, function(r) {
1011
+ s.next(i.call(t, r, n++));
1012
1012
  }));
1013
1013
  });
1014
1014
  }
1015
- function Ei(s, t, e, i, n, r, o, a) {
1015
+ function Es(i, t, e, s, n, r, o, a) {
1016
1016
  var l = [], c = 0, u = 0, h = !1, d = function() {
1017
1017
  h && !l.length && !c && t.complete();
1018
1018
  }, f = function(g) {
1019
- return c < i ? $(g) : l.push(g);
1019
+ return c < s ? $(g) : l.push(g);
1020
1020
  }, $ = function(g) {
1021
1021
  r && t.next(g), c++;
1022
1022
  var ue = !1;
@@ -1033,7 +1033,7 @@ function Ei(s, t, e, i, n, r, o, a) {
1033
1033
  o ? k(t, o, function() {
1034
1034
  return $(ct);
1035
1035
  }) : $(ct);
1036
- }; l.length && c < i; )
1036
+ }; l.length && c < s; )
1037
1037
  Z();
1038
1038
  d();
1039
1039
  } catch (ct) {
@@ -1041,29 +1041,29 @@ function Ei(s, t, e, i, n, r, o, a) {
1041
1041
  }
1042
1042
  }));
1043
1043
  };
1044
- return s.subscribe($t(t, f, function() {
1044
+ return i.subscribe($t(t, f, function() {
1045
1045
  h = !0, d();
1046
1046
  })), function() {
1047
1047
  a == null || a();
1048
1048
  };
1049
1049
  }
1050
- function ps(s, t, e) {
1051
- return e === void 0 && (e = 1 / 0), v(t) ? ps(function(i, n) {
1052
- return Ai(function(r, o) {
1053
- return t(i, r, n, o);
1054
- })(X(s(i, n)));
1055
- }, e) : (typeof t == "number" && (e = t), Et(function(i, n) {
1056
- return Ei(i, n, s, e);
1050
+ function pi(i, t, e) {
1051
+ return e === void 0 && (e = 1 / 0), v(t) ? pi(function(s, n) {
1052
+ return As(function(r, o) {
1053
+ return t(s, r, n, o);
1054
+ })(X(i(s, n)));
1055
+ }, e) : (typeof t == "number" && (e = t), Et(function(s, n) {
1056
+ return Es(s, n, i, e);
1057
1057
  }));
1058
1058
  }
1059
- function Ci(s) {
1060
- return s === void 0 && (s = 1 / 0), ps(Ve, s);
1059
+ function Cs(i) {
1060
+ return i === void 0 && (i = 1 / 0), pi(Ve, i);
1061
1061
  }
1062
- function ki() {
1063
- for (var s = [], t = 0; t < arguments.length; t++)
1064
- s[t] = arguments[t];
1065
- var e = ci(s), i = ui(s, 1 / 0), n = s;
1066
- return n.length ? n.length === 1 ? X(n[0]) : Ci(i)(Si(n, e)) : ai;
1062
+ function ks() {
1063
+ for (var i = [], t = 0; t < arguments.length; t++)
1064
+ i[t] = arguments[t];
1065
+ var e = cs(i), s = us(i, 1 / 0), n = i;
1066
+ return n.length ? n.length === 1 ? X(n[0]) : Cs(s)(Ss(n, e)) : as;
1067
1067
  }
1068
1068
  /**
1069
1069
  * @license
@@ -1071,9 +1071,9 @@ function ki() {
1071
1071
  * SPDX-License-Identifier: BSD-3-Clause
1072
1072
  */
1073
1073
  const ft = globalThis, Zt = ft.ShadowRoot && (ft.ShadyCSS === void 0 || ft.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Qt = Symbol(), ge = /* @__PURE__ */ new WeakMap();
1074
- let gs = class {
1075
- constructor(t, e, i) {
1076
- if (this._$cssResult$ = !0, i !== Qt)
1074
+ let gi = class {
1075
+ constructor(t, e, s) {
1076
+ if (this._$cssResult$ = !0, s !== Qt)
1077
1077
  throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
1078
1078
  this.cssText = t, this.t = e;
1079
1079
  }
@@ -1081,8 +1081,8 @@ let gs = class {
1081
1081
  let t = this.o;
1082
1082
  const e = this.t;
1083
1083
  if (Zt && t === void 0) {
1084
- const i = e !== void 0 && e.length === 1;
1085
- i && (t = ge.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && ge.set(e, t));
1084
+ const s = e !== void 0 && e.length === 1;
1085
+ s && (t = ge.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), s && ge.set(e, t));
1086
1086
  }
1087
1087
  return t;
1088
1088
  }
@@ -1090,63 +1090,63 @@ let gs = class {
1090
1090
  return this.cssText;
1091
1091
  }
1092
1092
  };
1093
- const Oi = (s) => new gs(typeof s == "string" ? s : s + "", void 0, Qt), M = (s, ...t) => {
1094
- const e = s.length === 1 ? s[0] : t.reduce((i, n, r) => i + ((o) => {
1093
+ const Os = (i) => new gi(typeof i == "string" ? i : i + "", void 0, Qt), M = (i, ...t) => {
1094
+ const e = i.length === 1 ? i[0] : t.reduce((s, n, r) => s + ((o) => {
1095
1095
  if (o._$cssResult$ === !0)
1096
1096
  return o.cssText;
1097
1097
  if (typeof o == "number")
1098
1098
  return o;
1099
1099
  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.");
1100
- })(n) + s[r + 1], s[0]);
1101
- return new gs(e, s, Qt);
1102
- }, Ti = (s, t) => {
1100
+ })(n) + i[r + 1], i[0]);
1101
+ return new gi(e, i, Qt);
1102
+ }, Ts = (i, t) => {
1103
1103
  if (Zt)
1104
- s.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
1104
+ i.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
1105
1105
  else
1106
1106
  for (const e of t) {
1107
- const i = document.createElement("style"), n = ft.litNonce;
1108
- n !== void 0 && i.setAttribute("nonce", n), i.textContent = e.cssText, s.appendChild(i);
1107
+ const s = document.createElement("style"), n = ft.litNonce;
1108
+ n !== void 0 && s.setAttribute("nonce", n), s.textContent = e.cssText, i.appendChild(s);
1109
1109
  }
1110
- }, $e = Zt ? (s) => s : (s) => s instanceof CSSStyleSheet ? ((t) => {
1110
+ }, $e = Zt ? (i) => i : (i) => i instanceof CSSStyleSheet ? ((t) => {
1111
1111
  let e = "";
1112
- for (const i of t.cssRules)
1113
- e += i.cssText;
1114
- return Oi(e);
1115
- })(s) : s;
1112
+ for (const s of t.cssRules)
1113
+ e += s.cssText;
1114
+ return Os(e);
1115
+ })(i) : i;
1116
1116
  /**
1117
1117
  * @license
1118
1118
  * Copyright 2017 Google LLC
1119
1119
  * SPDX-License-Identifier: BSD-3-Clause
1120
1120
  */
1121
- const { is: Pi, defineProperty: Li, getOwnPropertyDescriptor: Ii, getOwnPropertyNames: Ri, getOwnPropertySymbols: Ui, getPrototypeOf: ji } = Object, O = globalThis, ve = O.trustedTypes, Mi = ve ? ve.emptyScript : "", Rt = O.reactiveElementPolyfillSupport, J = (s, t) => s, vt = { toAttribute(s, t) {
1121
+ const { is: Ps, defineProperty: Is, getOwnPropertyDescriptor: Ls, getOwnPropertyNames: Rs, getOwnPropertySymbols: Us, getPrototypeOf: js } = Object, O = globalThis, ve = O.trustedTypes, Ms = ve ? ve.emptyScript : "", Rt = O.reactiveElementPolyfillSupport, J = (i, t) => i, vt = { toAttribute(i, t) {
1122
1122
  switch (t) {
1123
1123
  case Boolean:
1124
- s = s ? Mi : null;
1124
+ i = i ? Ms : null;
1125
1125
  break;
1126
1126
  case Object:
1127
1127
  case Array:
1128
- s = s == null ? s : JSON.stringify(s);
1128
+ i = i == null ? i : JSON.stringify(i);
1129
1129
  }
1130
- return s;
1131
- }, fromAttribute(s, t) {
1132
- let e = s;
1130
+ return i;
1131
+ }, fromAttribute(i, t) {
1132
+ let e = i;
1133
1133
  switch (t) {
1134
1134
  case Boolean:
1135
- e = s !== null;
1135
+ e = i !== null;
1136
1136
  break;
1137
1137
  case Number:
1138
- e = s === null ? null : Number(s);
1138
+ e = i === null ? null : Number(i);
1139
1139
  break;
1140
1140
  case Object:
1141
1141
  case Array:
1142
1142
  try {
1143
- e = JSON.parse(s);
1143
+ e = JSON.parse(i);
1144
1144
  } catch {
1145
1145
  e = null;
1146
1146
  }
1147
1147
  }
1148
1148
  return e;
1149
- } }, Jt = (s, t) => !Pi(s, t), me = { attribute: !0, type: String, converter: vt, reflect: !1, hasChanged: Jt };
1149
+ } }, Jt = (i, t) => !Ps(i, t), me = { attribute: !0, type: String, converter: vt, reflect: !1, hasChanged: Jt };
1150
1150
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), O.litPropertyMetadata ?? (O.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
1151
1151
  let D = class extends HTMLElement {
1152
1152
  static addInitializer(t) {
@@ -1157,12 +1157,12 @@ let D = class extends HTMLElement {
1157
1157
  }
1158
1158
  static createProperty(t, e = me) {
1159
1159
  if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
1160
- const i = Symbol(), n = this.getPropertyDescriptor(t, i, e);
1161
- n !== void 0 && Li(this.prototype, t, n);
1160
+ const s = Symbol(), n = this.getPropertyDescriptor(t, s, e);
1161
+ n !== void 0 && Is(this.prototype, t, n);
1162
1162
  }
1163
1163
  }
1164
- static getPropertyDescriptor(t, e, i) {
1165
- const { get: n, set: r } = Ii(this.prototype, t) ?? { get() {
1164
+ static getPropertyDescriptor(t, e, s) {
1165
+ const { get: n, set: r } = Ls(this.prototype, t) ?? { get() {
1166
1166
  return this[e];
1167
1167
  }, set(o) {
1168
1168
  this[e] = o;
@@ -1171,7 +1171,7 @@ let D = class extends HTMLElement {
1171
1171
  return n == null ? void 0 : n.call(this);
1172
1172
  }, set(o) {
1173
1173
  const a = n == null ? void 0 : n.call(this);
1174
- r.call(this, o), this.requestUpdate(t, a, i);
1174
+ r.call(this, o), this.requestUpdate(t, a, s);
1175
1175
  }, configurable: !0, enumerable: !0 };
1176
1176
  }
1177
1177
  static getPropertyOptions(t) {
@@ -1180,27 +1180,27 @@ let D = class extends HTMLElement {
1180
1180
  static _$Ei() {
1181
1181
  if (this.hasOwnProperty(J("elementProperties")))
1182
1182
  return;
1183
- const t = ji(this);
1183
+ const t = js(this);
1184
1184
  t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
1185
1185
  }
1186
1186
  static finalize() {
1187
1187
  if (this.hasOwnProperty(J("finalized")))
1188
1188
  return;
1189
1189
  if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(J("properties"))) {
1190
- const e = this.properties, i = [...Ri(e), ...Ui(e)];
1191
- for (const n of i)
1190
+ const e = this.properties, s = [...Rs(e), ...Us(e)];
1191
+ for (const n of s)
1192
1192
  this.createProperty(n, e[n]);
1193
1193
  }
1194
1194
  const t = this[Symbol.metadata];
1195
1195
  if (t !== null) {
1196
1196
  const e = litPropertyMetadata.get(t);
1197
1197
  if (e !== void 0)
1198
- for (const [i, n] of e)
1199
- this.elementProperties.set(i, n);
1198
+ for (const [s, n] of e)
1199
+ this.elementProperties.set(s, n);
1200
1200
  }
1201
1201
  this._$Eh = /* @__PURE__ */ new Map();
1202
- for (const [e, i] of this.elementProperties) {
1203
- const n = this._$Eu(e, i);
1202
+ for (const [e, s] of this.elementProperties) {
1203
+ const n = this._$Eu(e, s);
1204
1204
  n !== void 0 && this._$Eh.set(n, e);
1205
1205
  }
1206
1206
  this.elementStyles = this.finalizeStyles(this.styles);
@@ -1208,16 +1208,16 @@ let D = class extends HTMLElement {
1208
1208
  static finalizeStyles(t) {
1209
1209
  const e = [];
1210
1210
  if (Array.isArray(t)) {
1211
- const i = new Set(t.flat(1 / 0).reverse());
1212
- for (const n of i)
1211
+ const s = new Set(t.flat(1 / 0).reverse());
1212
+ for (const n of s)
1213
1213
  e.unshift($e(n));
1214
1214
  } else
1215
1215
  t !== void 0 && e.push($e(t));
1216
1216
  return e;
1217
1217
  }
1218
1218
  static _$Eu(t, e) {
1219
- const i = e.attribute;
1220
- return i === !1 ? void 0 : typeof i == "string" ? i : typeof t == "string" ? t.toLowerCase() : void 0;
1219
+ const s = e.attribute;
1220
+ return s === !1 ? void 0 : typeof s == "string" ? s : typeof t == "string" ? t.toLowerCase() : void 0;
1221
1221
  }
1222
1222
  constructor() {
1223
1223
  super(), this._$Ep = void 0, this.isUpdatePending = !1, this.hasUpdated = !1, this._$Em = null, this._$Ev();
@@ -1236,19 +1236,19 @@ let D = class extends HTMLElement {
1236
1236
  }
1237
1237
  _$E_() {
1238
1238
  const t = /* @__PURE__ */ new Map(), e = this.constructor.elementProperties;
1239
- for (const i of e.keys())
1240
- this.hasOwnProperty(i) && (t.set(i, this[i]), delete this[i]);
1239
+ for (const s of e.keys())
1240
+ this.hasOwnProperty(s) && (t.set(s, this[s]), delete this[s]);
1241
1241
  t.size > 0 && (this._$Ep = t);
1242
1242
  }
1243
1243
  createRenderRoot() {
1244
1244
  const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
1245
- return Ti(t, this.constructor.elementStyles), t;
1245
+ return Ts(t, this.constructor.elementStyles), t;
1246
1246
  }
1247
1247
  connectedCallback() {
1248
1248
  var t;
1249
1249
  this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), (t = this._$EO) == null || t.forEach((e) => {
1250
- var i;
1251
- return (i = e.hostConnected) == null ? void 0 : i.call(e);
1250
+ var s;
1251
+ return (s = e.hostConnected) == null ? void 0 : s.call(e);
1252
1252
  });
1253
1253
  }
1254
1254
  enableUpdating(t) {
@@ -1256,39 +1256,39 @@ let D = class extends HTMLElement {
1256
1256
  disconnectedCallback() {
1257
1257
  var t;
1258
1258
  (t = this._$EO) == null || t.forEach((e) => {
1259
- var i;
1260
- return (i = e.hostDisconnected) == null ? void 0 : i.call(e);
1259
+ var s;
1260
+ return (s = e.hostDisconnected) == null ? void 0 : s.call(e);
1261
1261
  });
1262
1262
  }
1263
- attributeChangedCallback(t, e, i) {
1264
- this._$AK(t, i);
1263
+ attributeChangedCallback(t, e, s) {
1264
+ this._$AK(t, s);
1265
1265
  }
1266
1266
  _$EC(t, e) {
1267
1267
  var r;
1268
- const i = this.constructor.elementProperties.get(t), n = this.constructor._$Eu(t, i);
1269
- if (n !== void 0 && i.reflect === !0) {
1270
- const o = (((r = i.converter) == null ? void 0 : r.toAttribute) !== void 0 ? i.converter : vt).toAttribute(e, i.type);
1268
+ const s = this.constructor.elementProperties.get(t), n = this.constructor._$Eu(t, s);
1269
+ if (n !== void 0 && s.reflect === !0) {
1270
+ const o = (((r = s.converter) == null ? void 0 : r.toAttribute) !== void 0 ? s.converter : vt).toAttribute(e, s.type);
1271
1271
  this._$Em = t, o == null ? this.removeAttribute(n) : this.setAttribute(n, o), this._$Em = null;
1272
1272
  }
1273
1273
  }
1274
1274
  _$AK(t, e) {
1275
1275
  var r;
1276
- const i = this.constructor, n = i._$Eh.get(t);
1276
+ const s = this.constructor, n = s._$Eh.get(t);
1277
1277
  if (n !== void 0 && this._$Em !== n) {
1278
- const o = i.getPropertyOptions(n), a = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((r = o.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? o.converter : vt;
1278
+ const o = s.getPropertyOptions(n), a = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((r = o.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? o.converter : vt;
1279
1279
  this._$Em = n, this[n] = a.fromAttribute(e, o.type), this._$Em = null;
1280
1280
  }
1281
1281
  }
1282
- requestUpdate(t, e, i) {
1282
+ requestUpdate(t, e, s) {
1283
1283
  if (t !== void 0) {
1284
- if (i ?? (i = this.constructor.getPropertyOptions(t)), !(i.hasChanged ?? Jt)(this[t], e))
1284
+ if (s ?? (s = this.constructor.getPropertyOptions(t)), !(s.hasChanged ?? Jt)(this[t], e))
1285
1285
  return;
1286
- this.P(t, e, i);
1286
+ this.P(t, e, s);
1287
1287
  }
1288
1288
  this.isUpdatePending === !1 && (this._$ES = this._$ET());
1289
1289
  }
1290
- P(t, e, i) {
1291
- this._$AL.has(t) || this._$AL.set(t, e), i.reflect === !0 && this._$Em !== t && (this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Set())).add(t);
1290
+ P(t, e, s) {
1291
+ this._$AL.has(t) || this._$AL.set(t, e), s.reflect === !0 && this._$Em !== t && (this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Set())).add(t);
1292
1292
  }
1293
1293
  async _$ET() {
1294
1294
  this.isUpdatePending = !0;
@@ -1304,7 +1304,7 @@ let D = class extends HTMLElement {
1304
1304
  return this.performUpdate();
1305
1305
  }
1306
1306
  performUpdate() {
1307
- var i;
1307
+ var s;
1308
1308
  if (!this.isUpdatePending)
1309
1309
  return;
1310
1310
  if (!this.hasUpdated) {
@@ -1321,7 +1321,7 @@ let D = class extends HTMLElement {
1321
1321
  let t = !1;
1322
1322
  const e = this._$AL;
1323
1323
  try {
1324
- t = this.shouldUpdate(e), t ? (this.willUpdate(e), (i = this._$EO) == null || i.forEach((n) => {
1324
+ t = this.shouldUpdate(e), t ? (this.willUpdate(e), (s = this._$EO) == null || s.forEach((n) => {
1325
1325
  var r;
1326
1326
  return (r = n.hostUpdate) == null ? void 0 : r.call(n);
1327
1327
  }), this.update(e)) : this._$EU();
@@ -1334,9 +1334,9 @@ let D = class extends HTMLElement {
1334
1334
  }
1335
1335
  _$AE(t) {
1336
1336
  var e;
1337
- (e = this._$EO) == null || e.forEach((i) => {
1337
+ (e = this._$EO) == null || e.forEach((s) => {
1338
1338
  var n;
1339
- return (n = i.hostUpdated) == null ? void 0 : n.call(i);
1339
+ return (n = s.hostUpdated) == null ? void 0 : n.call(s);
1340
1340
  }), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
1341
1341
  }
1342
1342
  _$EU() {
@@ -1365,57 +1365,57 @@ D.elementStyles = [], D.shadowRootOptions = { mode: "open" }, D[J("elementProper
1365
1365
  * Copyright 2017 Google LLC
1366
1366
  * SPDX-License-Identifier: BSD-3-Clause
1367
1367
  */
1368
- const V = globalThis, mt = V.trustedTypes, ye = mt ? mt.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, $s = "$lit$", C = `lit$${(Math.random() + "").slice(9)}$`, vs = "?" + C, Ni = `<${vs}>`, R = document, et = () => R.createComment(""), st = (s) => s === null || typeof s != "object" && typeof s != "function", ms = Array.isArray, Di = (s) => ms(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", Ut = `[
1368
+ const V = globalThis, mt = V.trustedTypes, ye = mt ? mt.createPolicy("lit-html", { createHTML: (i) => i }) : void 0, $i = "$lit$", C = `lit$${(Math.random() + "").slice(9)}$`, vi = "?" + C, Ns = `<${vi}>`, R = document, et = () => R.createComment(""), it = (i) => i === null || typeof i != "object" && typeof i != "function", mi = Array.isArray, Ds = (i) => mi(i) || typeof (i == null ? void 0 : i[Symbol.iterator]) == "function", Ut = `[
1369
1369
  \f\r]`, Q = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, be = /-->/g, _e = />/g, P = RegExp(`>|${Ut}(?:([^\\s"'>=/]+)(${Ut}*=${Ut}*(?:[^
1370
- \f\r"'\`<>=]|("|')|))|$)`, "g"), we = /'/g, xe = /"/g, ys = /^(?:script|style|textarea|title)$/i, Hi = (s) => (t, ...e) => ({ _$litType$: s, strings: t, values: e }), E = Hi(1), U = Symbol.for("lit-noChange"), p = Symbol.for("lit-nothing"), Se = /* @__PURE__ */ new WeakMap(), I = R.createTreeWalker(R, 129);
1371
- function bs(s, t) {
1372
- if (!Array.isArray(s) || !s.hasOwnProperty("raw"))
1370
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), we = /'/g, xe = /"/g, yi = /^(?:script|style|textarea|title)$/i, Hs = (i) => (t, ...e) => ({ _$litType$: i, strings: t, values: e }), E = Hs(1), U = Symbol.for("lit-noChange"), p = Symbol.for("lit-nothing"), Se = /* @__PURE__ */ new WeakMap(), L = R.createTreeWalker(R, 129);
1371
+ function bi(i, t) {
1372
+ if (!Array.isArray(i) || !i.hasOwnProperty("raw"))
1373
1373
  throw Error("invalid template strings array");
1374
1374
  return ye !== void 0 ? ye.createHTML(t) : t;
1375
1375
  }
1376
- const Bi = (s, t) => {
1377
- const e = s.length - 1, i = [];
1376
+ const Bs = (i, t) => {
1377
+ const e = i.length - 1, s = [];
1378
1378
  let n, r = t === 2 ? "<svg>" : "", o = Q;
1379
1379
  for (let a = 0; a < e; a++) {
1380
- const l = s[a];
1380
+ const l = i[a];
1381
1381
  let c, u, h = -1, d = 0;
1382
1382
  for (; d < l.length && (o.lastIndex = d, u = o.exec(l), u !== null); )
1383
- d = o.lastIndex, o === Q ? u[1] === "!--" ? o = be : u[1] !== void 0 ? o = _e : u[2] !== void 0 ? (ys.test(u[2]) && (n = RegExp("</" + u[2], "g")), o = P) : u[3] !== void 0 && (o = P) : o === P ? u[0] === ">" ? (o = n ?? Q, h = -1) : u[1] === void 0 ? h = -2 : (h = o.lastIndex - u[2].length, c = u[1], o = u[3] === void 0 ? P : u[3] === '"' ? xe : we) : o === xe || o === we ? o = P : o === be || o === _e ? o = Q : (o = P, n = void 0);
1384
- const f = o === P && s[a + 1].startsWith("/>") ? " " : "";
1385
- r += o === Q ? l + Ni : h >= 0 ? (i.push(c), l.slice(0, h) + $s + l.slice(h) + C + f) : l + C + (h === -2 ? a : f);
1383
+ d = o.lastIndex, o === Q ? u[1] === "!--" ? o = be : u[1] !== void 0 ? o = _e : u[2] !== void 0 ? (yi.test(u[2]) && (n = RegExp("</" + u[2], "g")), o = P) : u[3] !== void 0 && (o = P) : o === P ? u[0] === ">" ? (o = n ?? Q, h = -1) : u[1] === void 0 ? h = -2 : (h = o.lastIndex - u[2].length, c = u[1], o = u[3] === void 0 ? P : u[3] === '"' ? xe : we) : o === xe || o === we ? o = P : o === be || o === _e ? o = Q : (o = P, n = void 0);
1384
+ const f = o === P && i[a + 1].startsWith("/>") ? " " : "";
1385
+ r += o === Q ? l + Ns : h >= 0 ? (s.push(c), l.slice(0, h) + $i + l.slice(h) + C + f) : l + C + (h === -2 ? a : f);
1386
1386
  }
1387
- return [bs(s, r + (s[e] || "<?>") + (t === 2 ? "</svg>" : "")), i];
1387
+ return [bi(i, r + (i[e] || "<?>") + (t === 2 ? "</svg>" : "")), s];
1388
1388
  };
1389
- class it {
1390
- constructor({ strings: t, _$litType$: e }, i) {
1389
+ class st {
1390
+ constructor({ strings: t, _$litType$: e }, s) {
1391
1391
  let n;
1392
1392
  this.parts = [];
1393
1393
  let r = 0, o = 0;
1394
- const a = t.length - 1, l = this.parts, [c, u] = Bi(t, e);
1395
- if (this.el = it.createElement(c, i), I.currentNode = this.el.content, e === 2) {
1394
+ const a = t.length - 1, l = this.parts, [c, u] = Bs(t, e);
1395
+ if (this.el = st.createElement(c, s), L.currentNode = this.el.content, e === 2) {
1396
1396
  const h = this.el.content.firstChild;
1397
1397
  h.replaceWith(...h.childNodes);
1398
1398
  }
1399
- for (; (n = I.nextNode()) !== null && l.length < a; ) {
1399
+ for (; (n = L.nextNode()) !== null && l.length < a; ) {
1400
1400
  if (n.nodeType === 1) {
1401
1401
  if (n.hasAttributes())
1402
1402
  for (const h of n.getAttributeNames())
1403
- if (h.endsWith($s)) {
1403
+ if (h.endsWith($i)) {
1404
1404
  const d = u[o++], f = n.getAttribute(h).split(C), $ = /([.?@])?(.*)/.exec(d);
1405
- l.push({ type: 1, index: r, name: $[2], strings: f, ctor: $[1] === "." ? Fi : $[1] === "?" ? Wi : $[1] === "@" ? Yi : kt }), n.removeAttribute(h);
1405
+ l.push({ type: 1, index: r, name: $[2], strings: f, ctor: $[1] === "." ? Fs : $[1] === "?" ? Ws : $[1] === "@" ? Ys : kt }), n.removeAttribute(h);
1406
1406
  } else
1407
1407
  h.startsWith(C) && (l.push({ type: 6, index: r }), n.removeAttribute(h));
1408
- if (ys.test(n.tagName)) {
1408
+ if (yi.test(n.tagName)) {
1409
1409
  const h = n.textContent.split(C), d = h.length - 1;
1410
1410
  if (d > 0) {
1411
1411
  n.textContent = mt ? mt.emptyScript : "";
1412
1412
  for (let f = 0; f < d; f++)
1413
- n.append(h[f], et()), I.nextNode(), l.push({ type: 2, index: ++r });
1413
+ n.append(h[f], et()), L.nextNode(), l.push({ type: 2, index: ++r });
1414
1414
  n.append(h[d], et());
1415
1415
  }
1416
1416
  }
1417
1417
  } else if (n.nodeType === 8)
1418
- if (n.data === vs)
1418
+ if (n.data === vi)
1419
1419
  l.push({ type: 2, index: r });
1420
1420
  else {
1421
1421
  let h = -1;
@@ -1426,19 +1426,19 @@ class it {
1426
1426
  }
1427
1427
  }
1428
1428
  static createElement(t, e) {
1429
- const i = R.createElement("template");
1430
- return i.innerHTML = t, i;
1429
+ const s = R.createElement("template");
1430
+ return s.innerHTML = t, s;
1431
1431
  }
1432
1432
  }
1433
- function G(s, t, e = s, i) {
1433
+ function G(i, t, e = i, s) {
1434
1434
  var o, a;
1435
1435
  if (t === U)
1436
1436
  return t;
1437
- let n = i !== void 0 ? (o = e._$Co) == null ? void 0 : o[i] : e._$Cl;
1438
- const r = st(t) ? void 0 : t._$litDirective$;
1439
- return (n == null ? void 0 : n.constructor) !== r && ((a = n == null ? void 0 : n._$AO) == null || a.call(n, !1), r === void 0 ? n = void 0 : (n = new r(s), n._$AT(s, e, i)), i !== void 0 ? (e._$Co ?? (e._$Co = []))[i] = n : e._$Cl = n), n !== void 0 && (t = G(s, n._$AS(s, t.values), n, i)), t;
1437
+ let n = s !== void 0 ? (o = e._$Co) == null ? void 0 : o[s] : e._$Cl;
1438
+ const r = it(t) ? void 0 : t._$litDirective$;
1439
+ return (n == null ? void 0 : n.constructor) !== r && ((a = n == null ? void 0 : n._$AO) == null || a.call(n, !1), r === void 0 ? n = void 0 : (n = new r(i), n._$AT(i, e, s)), s !== void 0 ? (e._$Co ?? (e._$Co = []))[s] = n : e._$Cl = n), n !== void 0 && (t = G(i, n._$AS(i, t.values), n, s)), t;
1440
1440
  }
1441
- class zi {
1441
+ class zs {
1442
1442
  constructor(t, e) {
1443
1443
  this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
1444
1444
  }
@@ -1449,22 +1449,22 @@ class zi {
1449
1449
  return this._$AM._$AU;
1450
1450
  }
1451
1451
  u(t) {
1452
- const { el: { content: e }, parts: i } = this._$AD, n = ((t == null ? void 0 : t.creationScope) ?? R).importNode(e, !0);
1453
- I.currentNode = n;
1454
- let r = I.nextNode(), o = 0, a = 0, l = i[0];
1452
+ const { el: { content: e }, parts: s } = this._$AD, n = ((t == null ? void 0 : t.creationScope) ?? R).importNode(e, !0);
1453
+ L.currentNode = n;
1454
+ let r = L.nextNode(), o = 0, a = 0, l = s[0];
1455
1455
  for (; l !== void 0; ) {
1456
1456
  if (o === l.index) {
1457
1457
  let c;
1458
- l.type === 2 ? c = new rt(r, r.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (c = new qi(r, this, t)), this._$AV.push(c), l = i[++a];
1458
+ l.type === 2 ? c = new rt(r, r.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (c = new qs(r, this, t)), this._$AV.push(c), l = s[++a];
1459
1459
  }
1460
- o !== (l == null ? void 0 : l.index) && (r = I.nextNode(), o++);
1460
+ o !== (l == null ? void 0 : l.index) && (r = L.nextNode(), o++);
1461
1461
  }
1462
- return I.currentNode = R, n;
1462
+ return L.currentNode = R, n;
1463
1463
  }
1464
1464
  p(t) {
1465
1465
  let e = 0;
1466
- for (const i of this._$AV)
1467
- i !== void 0 && (i.strings !== void 0 ? (i._$AI(t, i, e), e += i.strings.length - 2) : i._$AI(t[e])), e++;
1466
+ for (const s of this._$AV)
1467
+ s !== void 0 && (s.strings !== void 0 ? (s._$AI(t, s, e), e += s.strings.length - 2) : s._$AI(t[e])), e++;
1468
1468
  }
1469
1469
  }
1470
1470
  class rt {
@@ -1472,8 +1472,8 @@ class rt {
1472
1472
  var t;
1473
1473
  return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
1474
1474
  }
1475
- constructor(t, e, i, n) {
1476
- this.type = 2, this._$AH = p, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = i, this.options = n, this._$Cv = (n == null ? void 0 : n.isConnected) ?? !0;
1475
+ constructor(t, e, s, n) {
1476
+ this.type = 2, this._$AH = p, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = s, this.options = n, this._$Cv = (n == null ? void 0 : n.isConnected) ?? !0;
1477
1477
  }
1478
1478
  get parentNode() {
1479
1479
  let t = this._$AA.parentNode;
@@ -1487,7 +1487,7 @@ class rt {
1487
1487
  return this._$AB;
1488
1488
  }
1489
1489
  _$AI(t, e = this) {
1490
- t = G(this, t, e), st(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) : Di(t) ? this.k(t) : this._(t);
1490
+ 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) : Ds(t) ? this.k(t) : this._(t);
1491
1491
  }
1492
1492
  S(t) {
1493
1493
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -1496,33 +1496,33 @@ class rt {
1496
1496
  this._$AH !== t && (this._$AR(), this._$AH = this.S(t));
1497
1497
  }
1498
1498
  _(t) {
1499
- this._$AH !== p && st(this._$AH) ? this._$AA.nextSibling.data = t : this.T(R.createTextNode(t)), this._$AH = t;
1499
+ this._$AH !== p && it(this._$AH) ? this._$AA.nextSibling.data = t : this.T(R.createTextNode(t)), this._$AH = t;
1500
1500
  }
1501
1501
  $(t) {
1502
1502
  var r;
1503
- const { values: e, _$litType$: i } = t, n = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = it.createElement(bs(i.h, i.h[0]), this.options)), i);
1503
+ const { values: e, _$litType$: s } = t, n = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = st.createElement(bi(s.h, s.h[0]), this.options)), s);
1504
1504
  if (((r = this._$AH) == null ? void 0 : r._$AD) === n)
1505
1505
  this._$AH.p(e);
1506
1506
  else {
1507
- const o = new zi(n, this), a = o.u(this.options);
1507
+ const o = new zs(n, this), a = o.u(this.options);
1508
1508
  o.p(e), this.T(a), this._$AH = o;
1509
1509
  }
1510
1510
  }
1511
1511
  _$AC(t) {
1512
1512
  let e = Se.get(t.strings);
1513
- return e === void 0 && Se.set(t.strings, e = new it(t)), e;
1513
+ return e === void 0 && Se.set(t.strings, e = new st(t)), e;
1514
1514
  }
1515
1515
  k(t) {
1516
- ms(this._$AH) || (this._$AH = [], this._$AR());
1516
+ mi(this._$AH) || (this._$AH = [], this._$AR());
1517
1517
  const e = this._$AH;
1518
- let i, n = 0;
1518
+ let s, n = 0;
1519
1519
  for (const r of t)
1520
- n === e.length ? e.push(i = new rt(this.S(et()), this.S(et()), this, this.options)) : i = e[n], i._$AI(r), n++;
1521
- n < e.length && (this._$AR(i && i._$AB.nextSibling, n), e.length = n);
1520
+ n === e.length ? e.push(s = new rt(this.S(et()), this.S(et()), this, this.options)) : s = e[n], s._$AI(r), n++;
1521
+ n < e.length && (this._$AR(s && s._$AB.nextSibling, n), e.length = n);
1522
1522
  }
1523
1523
  _$AR(t = this._$AA.nextSibling, e) {
1524
- var i;
1525
- for ((i = this._$AP) == null ? void 0 : i.call(this, !1, !0, e); t && t !== this._$AB; ) {
1524
+ var s;
1525
+ for ((s = this._$AP) == null ? void 0 : s.call(this, !1, !0, e); t && t !== this._$AB; ) {
1526
1526
  const n = t.nextSibling;
1527
1527
  t.remove(), t = n;
1528
1528
  }
@@ -1539,19 +1539,19 @@ class kt {
1539
1539
  get _$AU() {
1540
1540
  return this._$AM._$AU;
1541
1541
  }
1542
- constructor(t, e, i, n, r) {
1543
- this.type = 1, this._$AH = p, this._$AN = void 0, this.element = t, this.name = e, this._$AM = n, 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;
1542
+ constructor(t, e, s, n, r) {
1543
+ this.type = 1, this._$AH = p, this._$AN = void 0, this.element = t, this.name = e, this._$AM = n, this.options = r, s.length > 2 || s[0] !== "" || s[1] !== "" ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = p;
1544
1544
  }
1545
- _$AI(t, e = this, i, n) {
1545
+ _$AI(t, e = this, s, n) {
1546
1546
  const r = this.strings;
1547
1547
  let o = !1;
1548
1548
  if (r === void 0)
1549
- t = G(this, t, e, 0), o = !st(t) || t !== this._$AH && t !== U, o && (this._$AH = t);
1549
+ t = G(this, t, e, 0), o = !it(t) || t !== this._$AH && t !== U, o && (this._$AH = t);
1550
1550
  else {
1551
1551
  const a = t;
1552
1552
  let l, c;
1553
1553
  for (t = r[0], l = 0; l < r.length - 1; l++)
1554
- c = G(this, a[i + l], e, l), c === U && (c = this._$AH[l]), o || (o = !st(c) || c !== this._$AH[l]), c === p ? t = p : t !== p && (t += (c ?? "") + r[l + 1]), this._$AH[l] = c;
1554
+ c = G(this, a[s + 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;
1555
1555
  }
1556
1556
  o && !n && this.j(t);
1557
1557
  }
@@ -1559,7 +1559,7 @@ class kt {
1559
1559
  t === p ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
1560
1560
  }
1561
1561
  }
1562
- class Fi extends kt {
1562
+ class Fs extends kt {
1563
1563
  constructor() {
1564
1564
  super(...arguments), this.type = 3;
1565
1565
  }
@@ -1567,7 +1567,7 @@ class Fi extends kt {
1567
1567
  this.element[this.name] = t === p ? void 0 : t;
1568
1568
  }
1569
1569
  }
1570
- let Wi = class extends kt {
1570
+ let Ws = class extends kt {
1571
1571
  constructor() {
1572
1572
  super(...arguments), this.type = 4;
1573
1573
  }
@@ -1575,24 +1575,24 @@ let Wi = class extends kt {
1575
1575
  this.element.toggleAttribute(this.name, !!t && t !== p);
1576
1576
  }
1577
1577
  };
1578
- class Yi extends kt {
1579
- constructor(t, e, i, n, r) {
1580
- super(t, e, i, n, r), this.type = 5;
1578
+ class Ys extends kt {
1579
+ constructor(t, e, s, n, r) {
1580
+ super(t, e, s, n, r), this.type = 5;
1581
1581
  }
1582
1582
  _$AI(t, e = this) {
1583
1583
  if ((t = G(this, t, e, 0) ?? p) === U)
1584
1584
  return;
1585
- const i = this._$AH, n = t === p && i !== p || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, r = t !== p && (i === p || n);
1586
- n && this.element.removeEventListener(this.name, this, i), r && this.element.addEventListener(this.name, this, t), this._$AH = t;
1585
+ const s = this._$AH, n = t === p && s !== p || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, r = t !== p && (s === p || n);
1586
+ n && this.element.removeEventListener(this.name, this, s), r && this.element.addEventListener(this.name, this, t), this._$AH = t;
1587
1587
  }
1588
1588
  handleEvent(t) {
1589
1589
  var e;
1590
1590
  typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, t) : this._$AH.handleEvent(t);
1591
1591
  }
1592
1592
  }
1593
- class qi {
1594
- constructor(t, e, i) {
1595
- this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
1593
+ class qs {
1594
+ constructor(t, e, s) {
1595
+ this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = s;
1596
1596
  }
1597
1597
  get _$AU() {
1598
1598
  return this._$AM._$AU;
@@ -1602,15 +1602,15 @@ class qi {
1602
1602
  }
1603
1603
  }
1604
1604
  const jt = V.litHtmlPolyfillSupport;
1605
- jt == null || jt(it, rt), (V.litHtmlVersions ?? (V.litHtmlVersions = [])).push("3.1.2");
1606
- const Gi = (s, t, e) => {
1607
- const i = (e == null ? void 0 : e.renderBefore) ?? t;
1608
- let n = i._$litPart$;
1605
+ jt == null || jt(st, rt), (V.litHtmlVersions ?? (V.litHtmlVersions = [])).push("3.1.2");
1606
+ const Gs = (i, t, e) => {
1607
+ const s = (e == null ? void 0 : e.renderBefore) ?? t;
1608
+ let n = s._$litPart$;
1609
1609
  if (n === void 0) {
1610
1610
  const r = (e == null ? void 0 : e.renderBefore) ?? null;
1611
- i._$litPart$ = n = new rt(t.insertBefore(et(), r), r, void 0, e ?? {});
1611
+ s._$litPart$ = n = new rt(t.insertBefore(et(), r), r, void 0, e ?? {});
1612
1612
  }
1613
- return n._$AI(s), n;
1613
+ return n._$AI(i), n;
1614
1614
  };
1615
1615
  /**
1616
1616
  * @license
@@ -1628,7 +1628,7 @@ let x = class extends D {
1628
1628
  }
1629
1629
  update(t) {
1630
1630
  const e = this.render();
1631
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Gi(e, this.renderRoot, this.renderOptions);
1631
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Gs(e, this.renderRoot, this.renderOptions);
1632
1632
  }
1633
1633
  connectedCallback() {
1634
1634
  var t;
@@ -1652,45 +1652,45 @@ Mt == null || Mt({ LitElement: x });
1652
1652
  * Copyright 2017 Google LLC
1653
1653
  * SPDX-License-Identifier: BSD-3-Clause
1654
1654
  */
1655
- const Ki = { attribute: !0, type: String, converter: vt, reflect: !1, hasChanged: Jt }, Xi = (s = Ki, t, e) => {
1656
- const { kind: i, metadata: n } = e;
1655
+ const Ks = { attribute: !0, type: String, converter: vt, reflect: !1, hasChanged: Jt }, Xs = (i = Ks, t, e) => {
1656
+ const { kind: s, metadata: n } = e;
1657
1657
  let r = globalThis.litPropertyMetadata.get(n);
1658
- if (r === void 0 && globalThis.litPropertyMetadata.set(n, r = /* @__PURE__ */ new Map()), r.set(e.name, s), i === "accessor") {
1658
+ if (r === void 0 && globalThis.litPropertyMetadata.set(n, r = /* @__PURE__ */ new Map()), r.set(e.name, i), s === "accessor") {
1659
1659
  const { name: o } = e;
1660
1660
  return { set(a) {
1661
1661
  const l = t.get.call(this);
1662
- t.set.call(this, a), this.requestUpdate(o, l, s);
1662
+ t.set.call(this, a), this.requestUpdate(o, l, i);
1663
1663
  }, init(a) {
1664
- return a !== void 0 && this.P(o, void 0, s), a;
1664
+ return a !== void 0 && this.P(o, void 0, i), a;
1665
1665
  } };
1666
1666
  }
1667
- if (i === "setter") {
1667
+ if (s === "setter") {
1668
1668
  const { name: o } = e;
1669
1669
  return function(a) {
1670
1670
  const l = this[o];
1671
- t.call(this, a), this.requestUpdate(o, l, s);
1671
+ t.call(this, a), this.requestUpdate(o, l, i);
1672
1672
  };
1673
1673
  }
1674
- throw Error("Unsupported decorator location: " + i);
1674
+ throw Error("Unsupported decorator location: " + s);
1675
1675
  };
1676
- function b(s) {
1677
- return (t, e) => typeof e == "object" ? Xi(s, t, e) : ((i, n, r) => {
1676
+ function b(i) {
1677
+ return (t, e) => typeof e == "object" ? Xs(i, t, e) : ((s, n, r) => {
1678
1678
  const o = n.hasOwnProperty(r);
1679
- return n.constructor.createProperty(r, o ? { ...i, wrapped: !0 } : i), o ? Object.getOwnPropertyDescriptor(n, r) : void 0;
1680
- })(s, t, e);
1679
+ return n.constructor.createProperty(r, o ? { ...s, wrapped: !0 } : s), o ? Object.getOwnPropertyDescriptor(n, r) : void 0;
1680
+ })(i, t, e);
1681
1681
  }
1682
1682
  /**
1683
1683
  * @license
1684
1684
  * Copyright 2017 Google LLC
1685
1685
  * SPDX-License-Identifier: BSD-3-Clause
1686
1686
  */
1687
- function N(s) {
1688
- return b({ ...s, state: !0, attribute: !1 });
1687
+ function N(i) {
1688
+ return b({ ...i, state: !0, attribute: !1 });
1689
1689
  }
1690
- var Zi = Object.defineProperty, Qi = Object.getOwnPropertyDescriptor, Ji = (s, t, e, i) => {
1691
- for (var n = i > 1 ? void 0 : i ? Qi(t, e) : t, r = s.length - 1, o; r >= 0; r--)
1692
- (o = s[r]) && (n = (i ? o(t, e, n) : o(n)) || n);
1693
- return i && n && Zi(t, e, n), n;
1690
+ var Zs = Object.defineProperty, Qs = Object.getOwnPropertyDescriptor, Js = (i, t, e, s) => {
1691
+ for (var n = s > 1 ? void 0 : s ? Qs(t, e) : t, r = i.length - 1, o; r >= 0; r--)
1692
+ (o = i[r]) && (n = (s ? o(t, e, n) : o(n)) || n);
1693
+ return s && n && Zs(t, e, n), n;
1694
1694
  };
1695
1695
  class Vt extends x {
1696
1696
  constructor() {
@@ -1723,7 +1723,7 @@ Vt.styles = [
1723
1723
  }
1724
1724
  `
1725
1725
  ];
1726
- Ji([
1726
+ Js([
1727
1727
  b({ attribute: !0 })
1728
1728
  ], Vt.prototype, "anchor", 2);
1729
1729
  /**
@@ -1731,15 +1731,15 @@ Ji([
1731
1731
  * Copyright 2017 Google LLC
1732
1732
  * SPDX-License-Identifier: BSD-3-Clause
1733
1733
  */
1734
- const te = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, ee = (s) => (...t) => ({ _$litDirective$: s, values: t });
1735
- let _s = class {
1734
+ const te = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, ee = (i) => (...t) => ({ _$litDirective$: i, values: t });
1735
+ let _i = class {
1736
1736
  constructor(t) {
1737
1737
  }
1738
1738
  get _$AU() {
1739
1739
  return this._$AM._$AU;
1740
1740
  }
1741
- _$AT(t, e, i) {
1742
- this._$Ct = t, this._$AM = e, this._$Ci = i;
1741
+ _$AT(t, e, s) {
1742
+ this._$Ct = t, this._$AM = e, this._$Ci = s;
1743
1743
  }
1744
1744
  _$AS(t, e) {
1745
1745
  return this.update(t, e);
@@ -1753,68 +1753,68 @@ let _s = class {
1753
1753
  * Copyright 2020 Google LLC
1754
1754
  * SPDX-License-Identifier: BSD-3-Clause
1755
1755
  */
1756
- const Vi = (s) => s.strings === void 0;
1756
+ const Vs = (i) => i.strings === void 0;
1757
1757
  /**
1758
1758
  * @license
1759
1759
  * Copyright 2017 Google LLC
1760
1760
  * SPDX-License-Identifier: BSD-3-Clause
1761
1761
  */
1762
- const tt = (s, t) => {
1763
- var i;
1764
- const e = s._$AN;
1762
+ const tt = (i, t) => {
1763
+ var s;
1764
+ const e = i._$AN;
1765
1765
  if (e === void 0)
1766
1766
  return !1;
1767
1767
  for (const n of e)
1768
- (i = n._$AO) == null || i.call(n, t, !1), tt(n, t);
1768
+ (s = n._$AO) == null || s.call(n, t, !1), tt(n, t);
1769
1769
  return !0;
1770
- }, yt = (s) => {
1770
+ }, yt = (i) => {
1771
1771
  let t, e;
1772
1772
  do {
1773
- if ((t = s._$AM) === void 0)
1773
+ if ((t = i._$AM) === void 0)
1774
1774
  break;
1775
- e = t._$AN, e.delete(s), s = t;
1775
+ e = t._$AN, e.delete(i), i = t;
1776
1776
  } while ((e == null ? void 0 : e.size) === 0);
1777
- }, ws = (s) => {
1778
- for (let t; t = s._$AM; s = t) {
1777
+ }, wi = (i) => {
1778
+ for (let t; t = i._$AM; i = t) {
1779
1779
  let e = t._$AN;
1780
1780
  if (e === void 0)
1781
1781
  t._$AN = e = /* @__PURE__ */ new Set();
1782
- else if (e.has(s))
1782
+ else if (e.has(i))
1783
1783
  break;
1784
- e.add(s), sn(t);
1784
+ e.add(i), sn(t);
1785
1785
  }
1786
1786
  };
1787
- function tn(s) {
1788
- this._$AN !== void 0 ? (yt(this), this._$AM = s, ws(this)) : this._$AM = s;
1787
+ function tn(i) {
1788
+ this._$AN !== void 0 ? (yt(this), this._$AM = i, wi(this)) : this._$AM = i;
1789
1789
  }
1790
- function en(s, t = !1, e = 0) {
1791
- const i = this._$AH, n = this._$AN;
1790
+ function en(i, t = !1, e = 0) {
1791
+ const s = this._$AH, n = this._$AN;
1792
1792
  if (n !== void 0 && n.size !== 0)
1793
1793
  if (t)
1794
- if (Array.isArray(i))
1795
- for (let r = e; r < i.length; r++)
1796
- tt(i[r], !1), yt(i[r]);
1794
+ if (Array.isArray(s))
1795
+ for (let r = e; r < s.length; r++)
1796
+ tt(s[r], !1), yt(s[r]);
1797
1797
  else
1798
- i != null && (tt(i, !1), yt(i));
1798
+ s != null && (tt(s, !1), yt(s));
1799
1799
  else
1800
- tt(this, s);
1800
+ tt(this, i);
1801
1801
  }
1802
- const sn = (s) => {
1803
- s.type == te.CHILD && (s._$AP ?? (s._$AP = en), s._$AQ ?? (s._$AQ = tn));
1802
+ const sn = (i) => {
1803
+ i.type == te.CHILD && (i._$AP ?? (i._$AP = en), i._$AQ ?? (i._$AQ = tn));
1804
1804
  };
1805
- class xs extends _s {
1805
+ class xi extends _i {
1806
1806
  constructor() {
1807
1807
  super(...arguments), this._$AN = void 0;
1808
1808
  }
1809
- _$AT(t, e, i) {
1810
- super._$AT(t, e, i), ws(this), this.isConnected = t._$AU;
1809
+ _$AT(t, e, s) {
1810
+ super._$AT(t, e, s), wi(this), this.isConnected = t._$AU;
1811
1811
  }
1812
1812
  _$AO(t, e = !0) {
1813
- var i, n;
1814
- t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (n = this.disconnected) == null || n.call(this)), e && (tt(this, t), yt(this));
1813
+ var s, n;
1814
+ t !== this.isConnected && (this.isConnected = t, t ? (s = this.reconnected) == null || s.call(this) : (n = this.disconnected) == null || n.call(this)), e && (tt(this, t), yt(this));
1815
1815
  }
1816
1816
  setValue(t) {
1817
- if (Vi(this._$Ct))
1817
+ if (Vs(this._$Ct))
1818
1818
  this._$Ct._$AI(t, this);
1819
1819
  else {
1820
1820
  const e = [...this._$Ct._$AH];
@@ -1828,30 +1828,30 @@ class xs extends _s {
1828
1828
  }
1829
1829
  const nn = /* @__PURE__ */ new WeakMap();
1830
1830
  let Ae = 0;
1831
- const Nt = /* @__PURE__ */ new Map(), Ee = /* @__PURE__ */ new WeakSet(), Ce = () => new Promise((s) => requestAnimationFrame(s)), ke = [{ transform: "translateY(-100%) scale(0)", opacity: 0 }], rn = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], Oe = (s, t) => {
1832
- const e = s - t;
1831
+ const Nt = /* @__PURE__ */ new Map(), Ee = /* @__PURE__ */ new WeakSet(), Ce = () => new Promise((i) => requestAnimationFrame(i)), ke = [{ transform: "translateY(-100%) scale(0)", opacity: 0 }], rn = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], Oe = (i, t) => {
1832
+ const e = i - t;
1833
1833
  return e === 0 ? void 0 : e;
1834
- }, Te = (s, t) => {
1835
- const e = s / t;
1834
+ }, Te = (i, t) => {
1835
+ const e = i / t;
1836
1836
  return e === 1 ? void 0 : e;
1837
- }, Dt = { left: (s, t) => {
1838
- const e = Oe(s, t);
1837
+ }, Dt = { left: (i, t) => {
1838
+ const e = Oe(i, t);
1839
1839
  return { value: e, transform: e == null || isNaN(e) ? void 0 : `translateX(${e}px)` };
1840
- }, top: (s, t) => {
1841
- const e = Oe(s, t);
1840
+ }, top: (i, t) => {
1841
+ const e = Oe(i, t);
1842
1842
  return { value: e, transform: e == null || isNaN(e) ? void 0 : `translateY(${e}px)` };
1843
- }, width: (s, t) => {
1843
+ }, width: (i, t) => {
1844
1844
  let e;
1845
1845
  t === 0 && (t = 1, e = { width: "1px" });
1846
- const i = Te(s, t);
1847
- return { value: i, overrideFrom: e, transform: i == null || isNaN(i) ? void 0 : `scaleX(${i})` };
1848
- }, height: (s, t) => {
1846
+ const s = Te(i, t);
1847
+ return { value: s, overrideFrom: e, transform: s == null || isNaN(s) ? void 0 : `scaleX(${s})` };
1848
+ }, height: (i, t) => {
1849
1849
  let e;
1850
1850
  t === 0 && (t = 1, e = { height: "1px" });
1851
- const i = Te(s, t);
1852
- return { value: i, overrideFrom: e, transform: i == null || isNaN(i) ? void 0 : `scaleY(${i})` };
1851
+ const s = Te(i, t);
1852
+ return { value: s, overrideFrom: e, transform: s == null || isNaN(s) ? void 0 : `scaleY(${s})` };
1853
1853
  } }, on = { duration: 333, easing: "ease-in-out" }, an = ["left", "top", "width", "height", "opacity", "color", "background"], Pe = /* @__PURE__ */ new WeakMap();
1854
- class ln extends xs {
1854
+ class ln extends xi {
1855
1855
  constructor(t) {
1856
1856
  if (super(t), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, t.type === te.CHILD)
1857
1857
  throw Error("The `animate` directive must be used in attribute position.");
@@ -1879,8 +1879,8 @@ class ln extends xs {
1879
1879
  }
1880
1880
  update(t, [e]) {
1881
1881
  var n;
1882
- const i = this.u === void 0;
1883
- return i && (this.u = (n = t.options) == null ? void 0 : n.host, this.u.addController(this), this.u.updateComplete.then((r) => this.t = !0), this.element = t.element, Pe.set(this.element, this)), this.optionsOrCallback = e, (i || typeof e != "function") && this.p(e), this.render(e);
1882
+ const s = this.u === void 0;
1883
+ return s && (this.u = (n = t.options) == null ? void 0 : n.host, this.u.addController(this), this.u.updateComplete.then((r) => this.t = !0), this.element = t.element, Pe.set(this.element, this)), this.optionsOrCallback = e, (s || typeof e != "function") && this.p(e), this.render(e);
1884
1884
  }
1885
1885
  p(t) {
1886
1886
  t = t ?? {};
@@ -1888,19 +1888,19 @@ class ln extends xs {
1888
1888
  e !== void 0 && ((t = { ...e.defaultOptions, ...t }).keyframeOptions = { ...e.defaultOptions.keyframeOptions, ...t.keyframeOptions }), t.properties ?? (t.properties = an), this.options = t;
1889
1889
  }
1890
1890
  m() {
1891
- const t = {}, e = this.element.getBoundingClientRect(), i = getComputedStyle(this.element);
1891
+ const t = {}, e = this.element.getBoundingClientRect(), s = getComputedStyle(this.element);
1892
1892
  return this.options.properties.forEach((n) => {
1893
- const r = e[n] ?? (Dt[n] ? void 0 : i[n]), o = Number(r);
1893
+ const r = e[n] ?? (Dt[n] ? void 0 : s[n]), o = Number(r);
1894
1894
  t[n] = isNaN(o) ? r + "" : o;
1895
1895
  }), t;
1896
1896
  }
1897
1897
  v() {
1898
1898
  let t, e = !0;
1899
- return this.options.guard && (t = this.options.guard(), e = ((i, n) => {
1900
- if (Array.isArray(i)) {
1901
- if (Array.isArray(n) && n.length === i.length && i.every((r, o) => r === n[o]))
1899
+ return this.options.guard && (t = this.options.guard(), e = ((s, n) => {
1900
+ if (Array.isArray(s)) {
1901
+ if (Array.isArray(n) && n.length === s.length && s.every((r, o) => r === n[o]))
1902
1902
  return !1;
1903
- } else if (n === i)
1903
+ } else if (n === s)
1904
1904
  return !1;
1905
1905
  return !0;
1906
1906
  })(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;
@@ -1913,7 +1913,7 @@ class ln extends xs {
1913
1913
  return;
1914
1914
  let t;
1915
1915
  this.prepare(), await Ce;
1916
- const e = this.O(), i = this.j(this.options.keyframeOptions, e), n = this.m();
1916
+ const e = this.O(), s = this.j(this.options.keyframeOptions, e), n = this.m();
1917
1917
  if (this.A !== void 0) {
1918
1918
  const { from: r, to: o } = this.N(this.A, n, e);
1919
1919
  this.log("measured", [this.A, n, r, o]), t = this.calculateKeyframes(r, o);
@@ -1926,7 +1926,7 @@ class ln extends xs {
1926
1926
  } else
1927
1927
  this.options.in && (t = [...this.options.in, {}]);
1928
1928
  }
1929
- this.animate(t, i);
1929
+ this.animate(t, s);
1930
1930
  }
1931
1931
  resetStyles() {
1932
1932
  this.P !== void 0 && (this.element.setAttribute("style", this.P ?? ""), this.P = void 0);
@@ -1942,8 +1942,8 @@ class ln extends xs {
1942
1942
  if (!this.h || (this.options.id !== void 0 && Nt.set(this.options.id, this.A), this.options.out === void 0))
1943
1943
  return;
1944
1944
  if (this.prepare(), await Ce(), (e = this.i) == null ? void 0 : e.isConnected) {
1945
- const i = this.o && this.o.parentNode === this.i ? this.o : null;
1946
- if (this.i.insertBefore(this.element, i), this.options.stabilizeOut) {
1945
+ const s = this.o && this.o.parentNode === this.i ? this.o : null;
1946
+ if (this.i.insertBefore(this.element, s), this.options.stabilizeOut) {
1947
1947
  const n = this.m();
1948
1948
  this.log("stabilizing out");
1949
1949
  const r = this.A.left - n.left, o = this.A.top - n.top;
@@ -1961,14 +1961,14 @@ class ln extends xs {
1961
1961
  (e = (t = this.options).onStart) == null || e.call(t, this);
1962
1962
  }
1963
1963
  didFinish(t) {
1964
- var e, i;
1965
- 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();
1964
+ var e, s;
1965
+ t && ((s = (e = this.options).onComplete) == null || s.call(e, this)), this.A = void 0, this.animatingProperties = void 0, this.frames = void 0, this.resolveFinished();
1966
1966
  }
1967
1967
  O() {
1968
1968
  const t = [];
1969
1969
  for (let e = this.element.parentNode; e; e = e == null ? void 0 : e.parentNode) {
1970
- const i = Pe.get(e);
1971
- i && !i.isDisabled() && i && t.push(i);
1970
+ const s = Pe.get(e);
1971
+ s && !s.isDisabled() && s && t.push(s);
1972
1972
  }
1973
1973
  return t;
1974
1974
  }
@@ -1979,18 +1979,18 @@ class ln extends xs {
1979
1979
  }), t;
1980
1980
  }
1981
1981
  j(t, e = this.O()) {
1982
- const i = { ...on };
1983
- return e.forEach((n) => Object.assign(i, n.options.keyframeOptions)), Object.assign(i, t), i;
1982
+ const s = { ...on };
1983
+ return e.forEach((n) => Object.assign(s, n.options.keyframeOptions)), Object.assign(s, t), s;
1984
1984
  }
1985
- N(t, e, i) {
1985
+ N(t, e, s) {
1986
1986
  t = { ...t }, e = { ...e };
1987
- const n = i.map((a) => a.animatingProperties).filter((a) => a !== void 0);
1987
+ const n = s.map((a) => a.animatingProperties).filter((a) => a !== void 0);
1988
1988
  let r = 1, o = 1;
1989
1989
  return n.length > 0 && (n.forEach((a) => {
1990
1990
  a.width && (r /= a.width), a.height && (o /= a.height);
1991
1991
  }), 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 };
1992
1992
  }
1993
- calculateKeyframes(t, e, i = !1) {
1993
+ calculateKeyframes(t, e, s = !1) {
1994
1994
  const n = {}, r = {};
1995
1995
  let o = !1;
1996
1996
  const a = {};
@@ -2005,13 +2005,13 @@ class ln extends xs {
2005
2005
  } else
2006
2006
  c !== u && c !== void 0 && u !== void 0 && (o = !0, n[l] = c, r[l] = u);
2007
2007
  }
2008
- return n.transformOrigin = r.transformOrigin = i ? "center center" : "top left", this.animatingProperties = a, o ? [n, r] : void 0;
2008
+ return n.transformOrigin = r.transformOrigin = s ? "center center" : "top left", this.animatingProperties = a, o ? [n, r] : void 0;
2009
2009
  }
2010
2010
  async animate(t, e = this.options.keyframeOptions) {
2011
2011
  this.start(), this.frames = t;
2012
- let i = !1;
2012
+ let s = !1;
2013
2013
  if (!this.isAnimating() && !this.isDisabled() && (this.options.onFrames && (this.frames = t = this.options.onFrames(this), this.log("modified frames", t)), t !== void 0)) {
2014
- this.log("animate", [t, e]), i = !0, this.webAnimation = this.element.animate(t, e);
2014
+ this.log("animate", [t, e]), s = !0, this.webAnimation = this.element.animate(t, e);
2015
2015
  const n = this.getController();
2016
2016
  n == null || n.add(this);
2017
2017
  try {
@@ -2020,7 +2020,7 @@ class ln extends xs {
2020
2020
  }
2021
2021
  n == null || n.remove(this);
2022
2022
  }
2023
- return this.didFinish(i), i;
2023
+ return this.didFinish(s), s;
2024
2024
  }
2025
2025
  isAnimating() {
2026
2026
  var t, e;
@@ -2030,30 +2030,30 @@ class ln extends xs {
2030
2030
  this.shouldLog && !this.isDisabled() && console.log(t, this.options.id, e);
2031
2031
  }
2032
2032
  }
2033
- const Ss = ee(ln), cn = { 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>' };
2033
+ const Si = ee(ln), cn = { 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>' };
2034
2034
  /**
2035
2035
  * @license
2036
2036
  * Copyright 2018 Google LLC
2037
2037
  * SPDX-License-Identifier: BSD-3-Clause
2038
2038
  */
2039
- const Le = ee(class extends _s {
2040
- constructor(s) {
2039
+ const Ie = ee(class extends _i {
2040
+ constructor(i) {
2041
2041
  var t;
2042
- if (super(s), s.type !== te.ATTRIBUTE || s.name !== "class" || ((t = s.strings) == null ? void 0 : t.length) > 2)
2042
+ if (super(i), i.type !== te.ATTRIBUTE || i.name !== "class" || ((t = i.strings) == null ? void 0 : t.length) > 2)
2043
2043
  throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
2044
2044
  }
2045
- render(s) {
2046
- return " " + Object.keys(s).filter((t) => s[t]).join(" ") + " ";
2045
+ render(i) {
2046
+ return " " + Object.keys(i).filter((t) => i[t]).join(" ") + " ";
2047
2047
  }
2048
- update(s, [t]) {
2049
- var i, n;
2048
+ update(i, [t]) {
2049
+ var s, n;
2050
2050
  if (this.st === void 0) {
2051
- this.st = /* @__PURE__ */ new Set(), s.strings !== void 0 && (this.nt = new Set(s.strings.join(" ").split(/\s/).filter((r) => r !== "")));
2051
+ this.st = /* @__PURE__ */ new Set(), i.strings !== void 0 && (this.nt = new Set(i.strings.join(" ").split(/\s/).filter((r) => r !== "")));
2052
2052
  for (const r in t)
2053
- t[r] && !((i = this.nt) != null && i.has(r)) && this.st.add(r);
2053
+ t[r] && !((s = this.nt) != null && s.has(r)) && this.st.add(r);
2054
2054
  return this.render(t);
2055
2055
  }
2056
- const e = s.element.classList;
2056
+ const e = i.element.classList;
2057
2057
  for (const r of this.st)
2058
2058
  r in t || (e.remove(r), this.st.delete(r));
2059
2059
  for (const r in t) {
@@ -2062,39 +2062,39 @@ const Le = ee(class extends _s {
2062
2062
  }
2063
2063
  return U;
2064
2064
  }
2065
- }), A = (s, t, e) => {
2066
- s && e.style.setProperty(t, s);
2067
- }, As = (s, t) => {
2068
- var e, i, n, r, o, a, l, c, u;
2069
- A((e = s.colors) == null ? void 0 : e.primaryBackground, "--primary-background", t), A(
2070
- (i = s.colors) == null ? void 0 : i.textOnPrimaryBackground,
2065
+ }), A = (i, t, e) => {
2066
+ i && e.style.setProperty(t, i);
2067
+ }, Ai = (i, t) => {
2068
+ var e, s, n, r, o, a, l, c, u;
2069
+ A((e = i.colors) == null ? void 0 : e.primaryBackground, "--primary-background", t), A(
2070
+ (s = i.colors) == null ? void 0 : s.textOnPrimaryBackground,
2071
2071
  "--text-on-primary-background",
2072
2072
  t
2073
2073
  ), A(
2074
- (n = s.colors) == null ? void 0 : n.secondaryBackground,
2074
+ (n = i.colors) == null ? void 0 : n.secondaryBackground,
2075
2075
  "--secondary-background",
2076
2076
  t
2077
2077
  ), A(
2078
- (r = s.colors) == null ? void 0 : r.textOnSecondaryBackground,
2078
+ (r = i.colors) == null ? void 0 : r.textOnSecondaryBackground,
2079
2079
  "--text-on-secondary-background",
2080
2080
  t
2081
2081
  ), A(
2082
- (o = s.colors) == null ? void 0 : o.interactiveDestructiveBackground,
2082
+ (o = i.colors) == null ? void 0 : o.interactiveDestructiveBackground,
2083
2083
  "--destructive-color",
2084
2084
  t
2085
2085
  ), A(
2086
- (a = s.colors) == null ? void 0 : a.interactiveTextOnDestructiveBackground,
2086
+ (a = i.colors) == null ? void 0 : a.interactiveTextOnDestructiveBackground,
2087
2087
  "--text-on-destructive-color",
2088
2088
  t
2089
2089
  ), A(
2090
- (l = s.colors) == null ? void 0 : l.interactivePrimaryBackground,
2090
+ (l = i.colors) == null ? void 0 : l.interactivePrimaryBackground,
2091
2091
  "--interactive-primary-background",
2092
2092
  t
2093
2093
  ), A(
2094
- (c = s.colors) == null ? void 0 : c.interactiveTextOnPrimaryBackground,
2094
+ (c = i.colors) == null ? void 0 : c.interactiveTextOnPrimaryBackground,
2095
2095
  "--interactive-text-on-primary-background",
2096
2096
  t
2097
- ), A((u = s.colors) == null ? void 0 : u.focusColor, "--focus-color", t);
2097
+ ), A((u = i.colors) == null ? void 0 : u.focusColor, "--focus-color", t);
2098
2098
  };
2099
2099
  /**
2100
2100
  * @license
@@ -2104,26 +2104,26 @@ const Le = ee(class extends _s {
2104
2104
  const bt = () => new un();
2105
2105
  let un = class {
2106
2106
  };
2107
- const Ht = /* @__PURE__ */ new WeakMap(), se = ee(class extends xs {
2108
- render(s) {
2107
+ const Ht = /* @__PURE__ */ new WeakMap(), ie = ee(class extends xi {
2108
+ render(i) {
2109
2109
  return p;
2110
2110
  }
2111
- update(s, [t]) {
2112
- var i;
2111
+ update(i, [t]) {
2112
+ var s;
2113
2113
  const e = t !== this.Y;
2114
- return e && this.Y !== void 0 && this.rt(void 0), (e || this.lt !== this.ct) && (this.Y = t, this.ht = (i = s.options) == null ? void 0 : i.host, this.rt(this.ct = s.element)), p;
2114
+ return e && this.Y !== void 0 && this.rt(void 0), (e || this.lt !== this.ct) && (this.Y = t, this.ht = (s = i.options) == null ? void 0 : s.host, this.rt(this.ct = i.element)), p;
2115
2115
  }
2116
- rt(s) {
2116
+ rt(i) {
2117
2117
  if (typeof this.Y == "function") {
2118
2118
  const t = this.ht ?? globalThis;
2119
2119
  let e = Ht.get(t);
2120
- e === void 0 && (e = /* @__PURE__ */ new WeakMap(), Ht.set(t, e)), e.get(this.Y) !== void 0 && this.Y.call(this.ht, void 0), e.set(this.Y, s), s !== void 0 && this.Y.call(this.ht, s);
2120
+ e === void 0 && (e = /* @__PURE__ */ new WeakMap(), Ht.set(t, e)), e.get(this.Y) !== void 0 && this.Y.call(this.ht, void 0), e.set(this.Y, i), i !== void 0 && this.Y.call(this.ht, i);
2121
2121
  } else
2122
- this.Y.value = s;
2122
+ this.Y.value = i;
2123
2123
  }
2124
2124
  get lt() {
2125
- var s, t;
2126
- return typeof this.Y == "function" ? (s = Ht.get(this.ht ?? globalThis)) == null ? void 0 : s.get(this.Y) : (t = this.Y) == null ? void 0 : t.value;
2125
+ var i, t;
2126
+ return typeof this.Y == "function" ? (i = Ht.get(this.ht ?? globalThis)) == null ? void 0 : i.get(this.Y) : (t = this.Y) == null ? void 0 : t.value;
2127
2127
  }
2128
2128
  disconnected() {
2129
2129
  this.lt === this.ct && this.rt(void 0);
@@ -2132,14 +2132,14 @@ const Ht = /* @__PURE__ */ new WeakMap(), se = ee(class extends xs {
2132
2132
  this.rt(this.ct);
2133
2133
  }
2134
2134
  });
2135
- var hn = Object.defineProperty, dn = Object.getOwnPropertyDescriptor, ot = (s, t, e, i) => {
2136
- for (var n = i > 1 ? void 0 : i ? dn(t, e) : t, r = s.length - 1, o; r >= 0; r--)
2137
- (o = s[r]) && (n = (i ? o(t, e, n) : o(n)) || n);
2138
- return i && n && hn(t, e, n), n;
2135
+ var hn = Object.defineProperty, dn = Object.getOwnPropertyDescriptor, ot = (i, t, e, s) => {
2136
+ for (var n = s > 1 ? void 0 : s ? dn(t, e) : t, r = i.length - 1, o; r >= 0; r--)
2137
+ (o = i[r]) && (n = (s ? o(t, e, n) : o(n)) || n);
2138
+ return s && n && hn(t, e, n), n;
2139
2139
  };
2140
2140
  class T extends x {
2141
2141
  constructor() {
2142
- super(...arguments), this.active = !1, this.triggerVisible = !0, this.loaded = !1, this.containerRef = bt(), this.widgetActive$ = new oi(!1), this.componentIsDestroyed$ = new Ct();
2142
+ super(...arguments), this.active = !1, this.triggerVisible = !0, this.loaded = !1, this.containerRef = bt(), this.widgetActive$ = new os(!1), this.componentIsDestroyed$ = new Ct();
2143
2143
  }
2144
2144
  async connectedCallback() {
2145
2145
  super.connectedCallback(), this.icon = await this._renderSymbol(), this.loaded = !0, this._applyBranding();
@@ -2155,21 +2155,36 @@ class T extends x {
2155
2155
  );
2156
2156
  return;
2157
2157
  }
2158
- this.active = !this.active, this.active ? (this.application.appendToDOM(), this.widgetActive$.next(!0), this.hideTrigger()) : (this.application.hide(), this.widgetActive$.next(!1), this.showTrigger());
2158
+ this.active = !this.active, this.active ? (this.application.appendToDOM(), this.notify("widget-set-active", {
2159
+ widgetId: this.application.id,
2160
+ active: !0
2161
+ }), this.widgetActive$.next(!0), this.hideTrigger()) : (this.application.hide(), this.notify("widget-set-active", {
2162
+ widgetId: this.application.id,
2163
+ active: !1
2164
+ }), this.widgetActive$.next(!1), this.showTrigger());
2165
+ }
2166
+ notify(t, e = {}) {
2167
+ window != null && window.parent && window.parent.postMessage(
2168
+ {
2169
+ type: t,
2170
+ data: e
2171
+ },
2172
+ "*"
2173
+ );
2159
2174
  }
2160
2175
  _applyBranding() {
2161
2176
  var t;
2162
- (t = this.application) != null && t.settings && As(this.application.settings.branding, this);
2177
+ (t = this.application) != null && t.settings && Ai(this.application.settings.branding, this);
2163
2178
  }
2164
2179
  async _renderSymbol() {
2165
2180
  var a, l, c;
2166
2181
  const t = (a = this.application) == null ? void 0 : a.branding(), e = (l = t == null ? void 0 : t.graphics) == null ? void 0 : l.trigger;
2167
2182
  if (e)
2168
2183
  return E` <img src=${e} class="trigger-icon" alt="" /> `;
2169
- const i = (c = this.application) == null ? void 0 : c.triggerIcon;
2170
- if (!i)
2184
+ const s = (c = this.application) == null ? void 0 : c.triggerIcon;
2185
+ if (!s)
2171
2186
  return p;
2172
- const n = async (u) => cn, { type: r, content: o } = i;
2187
+ const n = async (u) => cn, { type: r, content: o } = s;
2173
2188
  switch (r) {
2174
2189
  case "Telia": {
2175
2190
  const u = await n();
@@ -2190,20 +2205,20 @@ class T extends x {
2190
2205
  this.triggerVisible = !0;
2191
2206
  }
2192
2207
  render() {
2193
- var t, e, i, n;
2208
+ var t, e, s, n;
2194
2209
  return E`<div
2195
- class=${Le({
2210
+ class=${Ie({
2196
2211
  "trigger-container": !0,
2197
2212
  hidden: !this.triggerVisible
2198
2213
  })}
2199
- ${se(this.containerRef)}
2214
+ ${ie(this.containerRef)}
2200
2215
  >
2201
- ${!this.active && ((n = (i = (e = (t = this.application) == null ? void 0 : t.settings) == null ? void 0 : e.branding) == null ? void 0 : i.other) != null && n.showButtonLabel) ? E`
2216
+ ${!this.active && ((n = (s = (e = (t = this.application) == null ? void 0 : t.settings) == null ? void 0 : e.branding) == null ? void 0 : s.other) != null && n.showButtonLabel) ? E`
2202
2217
  <button
2203
2218
  label="${this.application.settings.branding.other.buttonLabelText ?? "Widget trigger"}"
2204
2219
  class="trigger-label"
2205
2220
  @click=${this.toggleActive}
2206
- ${Ss({
2221
+ ${Si({
2207
2222
  keyframeOptions: {},
2208
2223
  in: rn,
2209
2224
  stabilizeOut: !0,
@@ -2216,7 +2231,7 @@ class T extends x {
2216
2231
 
2217
2232
  <button
2218
2233
  label="Widget trigger"
2219
- class=${Le({
2234
+ class=${Ie({
2220
2235
  trigger: !0,
2221
2236
  active: this.active,
2222
2237
  rendered: this.loaded
@@ -2402,27 +2417,27 @@ ot([
2402
2417
  ot([
2403
2418
  N()
2404
2419
  ], T.prototype, "icon", 2);
2405
- var fn = Object.defineProperty, pn = Object.getOwnPropertyDescriptor, L = (s, t, e, i) => {
2406
- for (var n = i > 1 ? void 0 : i ? pn(t, e) : t, r = s.length - 1, o; r >= 0; r--)
2407
- (o = s[r]) && (n = (i ? o(t, e, n) : o(n)) || n);
2408
- return i && n && fn(t, e, n), n;
2420
+ var fn = Object.defineProperty, pn = Object.getOwnPropertyDescriptor, I = (i, t, e, s) => {
2421
+ for (var n = s > 1 ? void 0 : s ? pn(t, e) : t, r = i.length - 1, o; r >= 0; r--)
2422
+ (o = i[r]) && (n = (s ? o(t, e, n) : o(n)) || n);
2423
+ return s && n && fn(t, e, n), n;
2409
2424
  };
2410
- const Es = (s) => {
2411
- class t extends s {
2425
+ const Ei = (i) => {
2426
+ class t extends i {
2412
2427
  constructor() {
2413
2428
  super(...arguments), this.properties = {}, this.context = {}, this.layout = {}, this.nodes = [];
2414
2429
  }
2415
- writeProperties(i) {
2416
- this.properties = i;
2430
+ writeProperties(s) {
2431
+ this.properties = s;
2417
2432
  }
2418
- writeLayout(i) {
2419
- this.layout = i;
2433
+ writeLayout(s) {
2434
+ this.layout = s;
2420
2435
  }
2421
- writeContext(i) {
2422
- this.context = i;
2436
+ writeContext(s) {
2437
+ this.context = s;
2423
2438
  }
2424
- addChild(i) {
2425
- i.parent = this, this.nodes.push(i);
2439
+ addChild(s) {
2440
+ s.parent = this, this.nodes.push(s);
2426
2441
  }
2427
2442
  connectedCallback() {
2428
2443
  super.connectedCallback(), this.renderRoot.host.style.setProperty(
@@ -2446,28 +2461,28 @@ const Es = (s) => {
2446
2461
  box-sizing: border-box;
2447
2462
  }
2448
2463
  `
2449
- ], L([
2464
+ ], I([
2450
2465
  b()
2451
- ], t.prototype, "properties", 2), L([
2466
+ ], t.prototype, "properties", 2), I([
2452
2467
  b()
2453
- ], t.prototype, "context", 2), L([
2468
+ ], t.prototype, "context", 2), I([
2454
2469
  b()
2455
- ], t.prototype, "layout", 2), L([
2470
+ ], t.prototype, "layout", 2), I([
2456
2471
  b()
2457
- ], t.prototype, "name", 2), L([
2472
+ ], t.prototype, "name", 2), I([
2458
2473
  b()
2459
- ], t.prototype, "type", 2), L([
2474
+ ], t.prototype, "type", 2), I([
2460
2475
  b({ attribute: !1 })
2461
- ], t.prototype, "application", 2), L([
2476
+ ], t.prototype, "application", 2), I([
2462
2477
  b({ attribute: !1 })
2463
2478
  ], t.prototype, "parent", 2), t;
2464
2479
  };
2465
- class Cs extends Es(x) {
2480
+ class Ci extends Ei(x) {
2466
2481
  render() {
2467
2482
  return E`Non resolved component`;
2468
2483
  }
2469
2484
  }
2470
- Cs.styles = [
2485
+ Ci.styles = [
2471
2486
  M`
2472
2487
  :host {
2473
2488
  display: block;
@@ -2479,22 +2494,22 @@ Cs.styles = [
2479
2494
  * Copyright 2021 Google LLC
2480
2495
  * SPDX-License-Identifier: BSD-3-Clause
2481
2496
  */
2482
- function* gn(s, t) {
2483
- if (s !== void 0) {
2497
+ function* gn(i, t) {
2498
+ if (i !== void 0) {
2484
2499
  let e = 0;
2485
- for (const i of s)
2486
- yield t(i, e++);
2500
+ for (const s of i)
2501
+ yield t(s, e++);
2487
2502
  }
2488
2503
  }
2489
- var ie = /* @__PURE__ */ ((s) => (s.Inline = "inline", s.Trigger = "trigger", s))(ie || {});
2504
+ var se = /* @__PURE__ */ ((i) => (i.Inline = "inline", i.Trigger = "trigger", i))(se || {});
2490
2505
  /**
2491
2506
  * @license
2492
2507
  * Copyright 2021 Google LLC
2493
2508
  * SPDX-License-Identifier: BSD-3-Clause
2494
2509
  */
2495
2510
  let $n = class extends Event {
2496
- constructor(t, e, i) {
2497
- super("context-request", { bubbles: !0, composed: !0 }), this.context = t, this.callback = e, this.subscribe = i ?? !1;
2511
+ constructor(t, e, s) {
2512
+ super("context-request", { bubbles: !0, composed: !0 }), this.context = t, this.callback = e, this.subscribe = s ?? !1;
2498
2513
  }
2499
2514
  };
2500
2515
  /**
@@ -2515,17 +2530,17 @@ class vn {
2515
2530
  this.setValue(t);
2516
2531
  }
2517
2532
  setValue(t, e = !1) {
2518
- const i = e || !Object.is(t, this.o);
2519
- this.o = t, i && this.updateObservers();
2533
+ const s = e || !Object.is(t, this.o);
2534
+ this.o = t, s && this.updateObservers();
2520
2535
  }
2521
2536
  constructor(t) {
2522
2537
  this.subscriptions = /* @__PURE__ */ new Map(), this.updateObservers = () => {
2523
- for (const [e, { disposer: i }] of this.subscriptions)
2524
- e(this.o, i);
2538
+ for (const [e, { disposer: s }] of this.subscriptions)
2539
+ e(this.o, s);
2525
2540
  }, t !== void 0 && (this.value = t);
2526
2541
  }
2527
- addCallback(t, e, i) {
2528
- if (!i)
2542
+ addCallback(t, e, s) {
2543
+ if (!s)
2529
2544
  return void t(this.value);
2530
2545
  this.subscriptions.has(t) || this.subscriptions.set(t, { disposer: () => {
2531
2546
  this.subscriptions.delete(t);
@@ -2547,10 +2562,10 @@ let mn = class extends Event {
2547
2562
  super("context-provider", { bubbles: !0, composed: !0 }), this.context = t;
2548
2563
  }
2549
2564
  };
2550
- class Ie extends vn {
2551
- constructor(t, e, i) {
2565
+ class Le extends vn {
2566
+ constructor(t, e, s) {
2552
2567
  var n, r;
2553
- super(e.context !== void 0 ? e.initialValue : i), this.onContextRequest = (o) => {
2568
+ super(e.context !== void 0 ? e.initialValue : s), this.onContextRequest = (o) => {
2554
2569
  const a = o.composedPath()[0];
2555
2570
  o.context === this.context && a !== this.host && (o.stopPropagation(), this.addCallback(o.callback, a, o.subscribe));
2556
2571
  }, this.onProviderRequest = (o) => {
@@ -2575,24 +2590,24 @@ class Ie extends vn {
2575
2590
  * Copyright 2017 Google LLC
2576
2591
  * SPDX-License-Identifier: BSD-3-Clause
2577
2592
  */
2578
- function yn({ context: s }) {
2593
+ function yn({ context: i }) {
2579
2594
  return (t, e) => {
2580
- const i = /* @__PURE__ */ new WeakMap();
2595
+ const s = /* @__PURE__ */ new WeakMap();
2581
2596
  if (typeof e == "object")
2582
2597
  return e.addInitializer(function() {
2583
- i.set(this, new Ie(this, { context: s }));
2598
+ s.set(this, new Le(this, { context: i }));
2584
2599
  }), { get() {
2585
2600
  return t.get.call(this);
2586
2601
  }, set(n) {
2587
2602
  var r;
2588
- return (r = i.get(this)) == null || r.setValue(n), t.set.call(this, n);
2603
+ return (r = s.get(this)) == null || r.setValue(n), t.set.call(this, n);
2589
2604
  }, init(n) {
2590
2605
  var r;
2591
- return (r = i.get(this)) == null || r.setValue(n), n;
2606
+ return (r = s.get(this)) == null || r.setValue(n), n;
2592
2607
  } };
2593
2608
  {
2594
2609
  t.constructor.addInitializer((o) => {
2595
- i.set(o, new Ie(o, { context: s }));
2610
+ s.set(o, new Le(o, { context: i }));
2596
2611
  });
2597
2612
  const n = Object.getOwnPropertyDescriptor(t, e);
2598
2613
  let r;
@@ -2601,22 +2616,22 @@ function yn({ context: s }) {
2601
2616
  r = { get: function() {
2602
2617
  return o.get(this);
2603
2618
  }, set: function(a) {
2604
- i.get(this).setValue(a), o.set(this, a);
2619
+ s.get(this).setValue(a), o.set(this, a);
2605
2620
  }, configurable: !0, enumerable: !0 };
2606
2621
  } else {
2607
2622
  const o = n.set;
2608
2623
  r = { ...n, set: function(a) {
2609
- i.get(this).setValue(a), o == null || o.call(this, a);
2624
+ s.get(this).setValue(a), o == null || o.call(this, a);
2610
2625
  } };
2611
2626
  }
2612
2627
  return void Object.defineProperty(t, e, r);
2613
2628
  }
2614
2629
  };
2615
2630
  }
2616
- var bn = Object.defineProperty, _n = Object.getOwnPropertyDescriptor, wn = (s, t, e, i) => {
2617
- for (var n = i > 1 ? void 0 : i ? _n(t, e) : t, r = s.length - 1, o; r >= 0; r--)
2618
- (o = s[r]) && (n = (i ? o(t, e, n) : o(n)) || n);
2619
- return i && n && bn(t, e, n), n;
2631
+ var bn = Object.defineProperty, _n = Object.getOwnPropertyDescriptor, wn = (i, t, e, s) => {
2632
+ for (var n = s > 1 ? void 0 : s ? _n(t, e) : t, r = i.length - 1, o; r >= 0; r--)
2633
+ (o = i[r]) && (n = (s ? o(t, e, n) : o(n)) || n);
2634
+ return s && n && bn(t, e, n), n;
2620
2635
  };
2621
2636
  const xn = "application";
2622
2637
  class ne extends x {
@@ -2630,23 +2645,23 @@ class ne extends x {
2630
2645
  if (!this.wrapperRef.value)
2631
2646
  return;
2632
2647
  const t = this.application.settings;
2633
- t != null && t.branding && As(t.branding, this.wrapperRef.value);
2648
+ t != null && t.branding && Ai(t.branding, this.wrapperRef.value);
2634
2649
  }
2635
2650
  applyStyles() {
2636
2651
  if (!this.wrapperRef.value)
2637
2652
  return;
2638
2653
  const t = this.application.styles(), e = this.wrapperRef.value;
2639
- Object.entries(t).forEach(([i, n]) => {
2640
- e.style.setProperty(`--${i}`, n);
2654
+ Object.entries(t).forEach(([s, n]) => {
2655
+ e.style.setProperty(`--${s}`, n);
2641
2656
  });
2642
2657
  }
2643
2658
  firstUpdated(t) {
2644
2659
  this.applyBranding(), this.applyStyles();
2645
2660
  }
2646
2661
  render() {
2647
- var i, n;
2662
+ var s, n;
2648
2663
  const t = this.application.settings.components.conversation;
2649
- return ((n = (i = t == null ? void 0 : t.properties) == null ? void 0 : i.chat) == null ? void 0 : n.isThirdPartyWidget) ? this.renderRoot.host.classList.add("third-party") : this.application.renderStrategy === ie.Trigger && (this.renderRoot.host.classList.add("floating"), this.application.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.application.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right")), E`<div class="widget-container" ${se(this.wrapperRef)}>
2664
+ return ((n = (s = t == null ? void 0 : t.properties) == null ? void 0 : s.chat) == null ? void 0 : n.isThirdPartyWidget) ? this.renderRoot.host.classList.add("third-party") : this.application.renderStrategy === se.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")), window.self !== window.top ? (console.log("This page is embedded in an iframe."), this.renderRoot.host.classList.add("embedded")) : console.log("This page is not embedded in an iframe."), E`<div class="widget-container" ${ie(this.wrapperRef)}>
2650
2665
  ${gn(this.nodes, (r) => r)}
2651
2666
  </div>`;
2652
2667
  }
@@ -2696,6 +2711,23 @@ ne.styles = M`
2696
2711
  position: fixed;
2697
2712
  }
2698
2713
 
2714
+ :host(.embedded) {
2715
+ padding: 40px !important;
2716
+ }
2717
+
2718
+ @media screen and (max-device-width: 800px) {
2719
+ :host(.embedded) {
2720
+ padding: 0 !important;
2721
+ }
2722
+ :host(.embedded) .widget-container {
2723
+ border-radius: none !important;
2724
+ }
2725
+ }
2726
+
2727
+ :host(.embedded) .widget-container {
2728
+ border-radius: var(--border-radius) !important;
2729
+ }
2730
+
2699
2731
  @media screen and (max-width: 800px) {
2700
2732
  :host(.floating) {
2701
2733
  inset: 0;
@@ -2791,10 +2823,10 @@ wn([
2791
2823
  b({ attribute: !1 }),
2792
2824
  yn({ context: xn })
2793
2825
  ], ne.prototype, "application", 2);
2794
- var Sn = Object.defineProperty, An = Object.getOwnPropertyDescriptor, re = (s, t, e, i) => {
2795
- for (var n = i > 1 ? void 0 : i ? An(t, e) : t, r = s.length - 1, o; r >= 0; r--)
2796
- (o = s[r]) && (n = (i ? o(t, e, n) : o(n)) || n);
2797
- return i && n && Sn(t, e, n), n;
2826
+ var Sn = Object.defineProperty, An = Object.getOwnPropertyDescriptor, re = (i, t, e, s) => {
2827
+ for (var n = s > 1 ? void 0 : s ? An(t, e) : t, r = i.length - 1, o; r >= 0; r--)
2828
+ (o = i[r]) && (n = (s ? o(t, e, n) : o(n)) || n);
2829
+ return s && n && Sn(t, e, n), n;
2798
2830
  };
2799
2831
  class at extends x {
2800
2832
  constructor() {
@@ -2821,7 +2853,7 @@ class at extends x {
2821
2853
  render() {
2822
2854
  if (!this.widget || this.status !== "activated")
2823
2855
  return p;
2824
- if (this.widget.renderStrategy === ie.Trigger) {
2856
+ if (this.widget.renderStrategy === se.Trigger) {
2825
2857
  const t = new T();
2826
2858
  return t.application = this.widget, t;
2827
2859
  }
@@ -2846,13 +2878,13 @@ re([
2846
2878
  ], at.prototype, "status", 2);
2847
2879
  customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", Vt);
2848
2880
  customElements.get("ace-trigger") || customElements.define("ace-trigger", T);
2849
- customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", Cs);
2881
+ customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", Ci);
2850
2882
  customElements.get("ace-wrapper") || customElements.define("ace-wrapper", ne);
2851
2883
  customElements.get("ace-widget") || customElements.define("ace-widget", at);
2852
2884
  const En = () => crypto.randomUUID();
2853
2885
  class Cn {
2854
- constructor(t, e, i, n, r, o, a = !0) {
2855
- this.label = t, this.icon = e, this.onClick = i, this.closeOnClick = n, this.key = r, this.update = new Ct(), this.id = En(), this._controller = o, this.enabled = a;
2886
+ constructor(t, e, s, n, r, o, a = !0) {
2887
+ this.label = t, this.icon = e, this.onClick = s, this.closeOnClick = n, this.key = r, this.update = new Ct(), this.id = En(), this._controller = o, this.enabled = a;
2856
2888
  }
2857
2889
  updateLabel(t) {
2858
2890
  this.label = t, this.update.next();
@@ -2893,7 +2925,7 @@ class kn {
2893
2925
  handleUpdate() {
2894
2926
  this._subscription && this._subscription.unsubscribe();
2895
2927
  const t = this._options.map((e) => e.subscribe());
2896
- this._subscription = ki(t).subscribe(() => {
2928
+ this._subscription = ks(t).subscribe(() => {
2897
2929
  this._host.requestUpdate();
2898
2930
  });
2899
2931
  }
@@ -2991,69 +3023,69 @@ const H = {
2991
3023
  transformTagName: !1,
2992
3024
  attachStyles: !0
2993
3025
  };
2994
- let B, ks, Ot, Os = !1, _t = !1, oe = !1, y = !1, Re = null, Yt = !1;
2995
- const Tt = typeof window < "u" ? window : {}, S = Tt.document || { head: {} }, Ts = Tt.HTMLElement || class {
3026
+ let B, ki, Ot, Oi = !1, _t = !1, oe = !1, y = !1, Re = null, Yt = !1;
3027
+ const Tt = typeof window < "u" ? window : {}, S = Tt.document || { head: {} }, Ti = Tt.HTMLElement || class {
2996
3028
  }, m = {
2997
3029
  $flags$: 0,
2998
3030
  $resourcesUrl$: "",
2999
- jmp: (s) => s(),
3000
- raf: (s) => requestAnimationFrame(s),
3001
- ael: (s, t, e, i) => s.addEventListener(t, e, i),
3002
- rel: (s, t, e, i) => s.removeEventListener(t, e, i),
3003
- ce: (s, t) => new CustomEvent(s, t)
3031
+ jmp: (i) => i(),
3032
+ raf: (i) => requestAnimationFrame(i),
3033
+ ael: (i, t, e, s) => i.addEventListener(t, e, s),
3034
+ rel: (i, t, e, s) => i.removeEventListener(t, e, s),
3035
+ ce: (i, t) => new CustomEvent(i, t)
3004
3036
  }, On = /* @__PURE__ */ (() => {
3005
- let s = !1;
3037
+ let i = !1;
3006
3038
  try {
3007
3039
  S.addEventListener("e", null, Object.defineProperty({}, "passive", {
3008
3040
  get() {
3009
- s = !0;
3041
+ i = !0;
3010
3042
  }
3011
3043
  }));
3012
3044
  } catch {
3013
3045
  }
3014
- return s;
3015
- })(), Tn = (s) => Promise.resolve(s), Pn = /* @__PURE__ */ (() => {
3046
+ return i;
3047
+ })(), Tn = (i) => Promise.resolve(i), Pn = /* @__PURE__ */ (() => {
3016
3048
  try {
3017
3049
  return new CSSStyleSheet(), typeof new CSSStyleSheet().replace == "function";
3018
3050
  } catch {
3019
3051
  }
3020
3052
  return !1;
3021
- })(), Ps = (s, t, e, i) => {
3053
+ })(), Pi = (i, t, e, s) => {
3022
3054
  e && e.map(([n, r, o]) => {
3023
- const a = In(s, n), l = Ln(t, o), c = Rn(n);
3055
+ const a = Ln(i, n), l = In(t, o), c = Rn(n);
3024
3056
  m.ael(a, r, l, c), (t.$rmListeners$ = t.$rmListeners$ || []).push(() => m.rel(a, r, l, c));
3025
3057
  });
3026
- }, Ln = (s, t) => (e) => {
3058
+ }, In = (i, t) => (e) => {
3027
3059
  try {
3028
- H.lazyLoad || s.$hostElement$[t](e);
3029
- } catch (i) {
3030
- lt(i);
3031
- }
3032
- }, In = (s, t) => t & 4 ? S : t & 8 ? Tt : t & 16 ? S.body : s, Rn = (s) => On ? {
3033
- passive: (s & 1) !== 0,
3034
- capture: (s & 2) !== 0
3035
- } : (s & 2) !== 0, Ue = "http://www.w3.org/1999/xlink", j = (s, t = "") => () => {
3036
- }, je = /* @__PURE__ */ new WeakMap(), Un = (s, t, e) => {
3037
- let i = St.get(s);
3038
- Pn && e ? (i = i || new CSSStyleSheet(), i.replace(t)) : i = t, St.set(s, i);
3039
- }, jn = (s, t, e, i) => {
3040
- let n = Ls(t, e), r = St.get(n);
3041
- if (s = s.nodeType === 11 ? s : S, r)
3060
+ H.lazyLoad || i.$hostElement$[t](e);
3061
+ } catch (s) {
3062
+ lt(s);
3063
+ }
3064
+ }, Ln = (i, t) => t & 4 ? S : t & 8 ? Tt : t & 16 ? S.body : i, Rn = (i) => On ? {
3065
+ passive: (i & 1) !== 0,
3066
+ capture: (i & 2) !== 0
3067
+ } : (i & 2) !== 0, Ue = "http://www.w3.org/1999/xlink", j = (i, t = "") => () => {
3068
+ }, je = /* @__PURE__ */ new WeakMap(), Un = (i, t, e) => {
3069
+ let s = St.get(i);
3070
+ Pn && e ? (s = s || new CSSStyleSheet(), s.replace(t)) : s = t, St.set(i, s);
3071
+ }, jn = (i, t, e, s) => {
3072
+ let n = Ii(t, e), r = St.get(n);
3073
+ if (i = i.nodeType === 11 ? i : S, r)
3042
3074
  if (typeof r == "string") {
3043
- s = s.head || s;
3044
- let o = je.get(s), a;
3045
- o || je.set(s, o = /* @__PURE__ */ new Set()), o.has(n) || (a = S.createElement("style"), a.innerHTML = r, s.insertBefore(a, s.querySelector("link")), o && o.add(n));
3075
+ i = i.head || i;
3076
+ let o = je.get(i), a;
3077
+ o || je.set(i, o = /* @__PURE__ */ new Set()), o.has(n) || (a = S.createElement("style"), a.innerHTML = r, i.insertBefore(a, i.querySelector("link")), o && o.add(n));
3046
3078
  } else
3047
- s.adoptedStyleSheets.includes(r) || (s.adoptedStyleSheets = [...s.adoptedStyleSheets, r]);
3079
+ i.adoptedStyleSheets.includes(r) || (i.adoptedStyleSheets = [...i.adoptedStyleSheets, r]);
3048
3080
  return n;
3049
- }, Mn = (s) => {
3050
- const t = s.$cmpMeta$, e = s.$hostElement$, i = t.$flags$, n = j("attachStyles", t.$tagName$), r = jn(e.shadowRoot ? e.shadowRoot : e.getRootNode(), t, s.$modeName$);
3051
- i & 10 && (e["s-sc"] = r, e.classList.add(r + "-h"), i & 2 && e.classList.add(r + "-s")), n();
3052
- }, Ls = (s, t) => "sc-" + (t && s.$flags$ & 32 ? s.$tagName$ + "-" + t : s.$tagName$), Nn = (s) => dr.map((t) => t(s)).find((t) => !!t), Me = {}, Dn = "http://www.w3.org/2000/svg", Hn = "http://www.w3.org/1999/xhtml", Bn = (s) => s != null, ae = (s) => (s = typeof s, s === "object" || s === "function"), W = (s, t, ...e) => {
3053
- let i = null, n = null, r = null, o = !1, a = !1, l = [];
3081
+ }, Mn = (i) => {
3082
+ const t = i.$cmpMeta$, e = i.$hostElement$, s = t.$flags$, n = j("attachStyles", t.$tagName$), r = jn(e.shadowRoot ? e.shadowRoot : e.getRootNode(), t, i.$modeName$);
3083
+ s & 10 && (e["s-sc"] = r, e.classList.add(r + "-h"), s & 2 && e.classList.add(r + "-s")), n();
3084
+ }, Ii = (i, t) => "sc-" + (t && i.$flags$ & 32 ? i.$tagName$ + "-" + t : i.$tagName$), Nn = (i) => dr.map((t) => t(i)).find((t) => !!t), Me = {}, Dn = "http://www.w3.org/2000/svg", Hn = "http://www.w3.org/1999/xhtml", Bn = (i) => i != null, ae = (i) => (i = typeof i, i === "object" || i === "function"), W = (i, t, ...e) => {
3085
+ let s = null, n = null, r = null, o = !1, a = !1, l = [];
3054
3086
  const c = (h) => {
3055
3087
  for (let d = 0; d < h.length; d++)
3056
- i = h[d], Array.isArray(i) ? c(i) : i != null && typeof i != "boolean" && ((o = typeof s != "function" && !ae(i)) && (i = String(i)), o && a ? l[l.length - 1].$text$ += i : l.push(o ? wt(null, i) : i), a = o);
3088
+ s = h[d], Array.isArray(s) ? c(s) : s != null && typeof s != "boolean" && ((o = typeof i != "function" && !ae(s)) && (s = String(s)), o && a ? l[l.length - 1].$text$ += s : l.push(o ? wt(null, s) : s), a = o);
3057
3089
  };
3058
3090
  if (c(e), t) {
3059
3091
  t.key && (n = t.key), t.name && (r = t.name);
@@ -3062,77 +3094,77 @@ const Tt = typeof window < "u" ? window : {}, S = Tt.document || { head: {} }, T
3062
3094
  h && (t.class = typeof h != "object" ? h : Object.keys(h).filter((d) => h[d]).join(" "));
3063
3095
  }
3064
3096
  }
3065
- if (typeof s == "function")
3066
- return s(t === null ? {} : t, l, Fn);
3067
- const u = wt(s, null);
3097
+ if (typeof i == "function")
3098
+ return i(t === null ? {} : t, l, Fn);
3099
+ const u = wt(i, null);
3068
3100
  return u.$attrs$ = t, l.length > 0 && (u.$children$ = l), u.$key$ = n, u.$name$ = r, u;
3069
- }, wt = (s, t) => {
3101
+ }, wt = (i, t) => {
3070
3102
  const e = {
3071
3103
  $flags$: 0,
3072
- $tag$: s,
3104
+ $tag$: i,
3073
3105
  $text$: t,
3074
3106
  $elm$: null,
3075
3107
  $children$: null
3076
3108
  };
3077
3109
  return e.$attrs$ = null, e.$key$ = null, e.$name$ = null, e;
3078
- }, le = {}, zn = (s) => s && s.$tag$ === le, Fn = {
3079
- forEach: (s, t) => s.map(Ne).forEach(t),
3080
- map: (s, t) => s.map(Ne).map(t).map(Wn)
3081
- }, Ne = (s) => ({
3082
- vattrs: s.$attrs$,
3083
- vchildren: s.$children$,
3084
- vkey: s.$key$,
3085
- vname: s.$name$,
3086
- vtag: s.$tag$,
3087
- vtext: s.$text$
3088
- }), Wn = (s) => {
3089
- if (typeof s.vtag == "function") {
3090
- const e = Object.assign({}, s.vattrs);
3091
- return s.vkey && (e.key = s.vkey), s.vname && (e.name = s.vname), W(s.vtag, e, ...s.vchildren || []);
3092
- }
3093
- const t = wt(s.vtag, s.vtext);
3094
- return t.$attrs$ = s.vattrs, t.$children$ = s.vchildren, t.$key$ = s.vkey, t.$name$ = s.vname, t;
3095
- }, De = (s, t, e, i, n, r) => {
3096
- if (e !== i) {
3097
- let o = Fe(s, t), a = t.toLowerCase();
3110
+ }, le = {}, zn = (i) => i && i.$tag$ === le, Fn = {
3111
+ forEach: (i, t) => i.map(Ne).forEach(t),
3112
+ map: (i, t) => i.map(Ne).map(t).map(Wn)
3113
+ }, Ne = (i) => ({
3114
+ vattrs: i.$attrs$,
3115
+ vchildren: i.$children$,
3116
+ vkey: i.$key$,
3117
+ vname: i.$name$,
3118
+ vtag: i.$tag$,
3119
+ vtext: i.$text$
3120
+ }), Wn = (i) => {
3121
+ if (typeof i.vtag == "function") {
3122
+ const e = Object.assign({}, i.vattrs);
3123
+ return i.vkey && (e.key = i.vkey), i.vname && (e.name = i.vname), W(i.vtag, e, ...i.vchildren || []);
3124
+ }
3125
+ const t = wt(i.vtag, i.vtext);
3126
+ return t.$attrs$ = i.vattrs, t.$children$ = i.vchildren, t.$key$ = i.vkey, t.$name$ = i.vname, t;
3127
+ }, De = (i, t, e, s, n, r) => {
3128
+ if (e !== s) {
3129
+ let o = Fe(i, t), a = t.toLowerCase();
3098
3130
  if (t === "class") {
3099
- const l = s.classList, c = He(e), u = He(i);
3131
+ const l = i.classList, c = He(e), u = He(s);
3100
3132
  l.remove(...c.filter((h) => h && !u.includes(h))), l.add(...u.filter((h) => h && !c.includes(h)));
3101
3133
  } else if (t === "style") {
3102
3134
  for (const l in e)
3103
- (!i || i[l] == null) && (l.includes("-") ? s.style.removeProperty(l) : s.style[l] = "");
3104
- for (const l in i)
3105
- (!e || i[l] !== e[l]) && (l.includes("-") ? s.style.setProperty(l, i[l]) : s.style[l] = i[l]);
3135
+ (!s || s[l] == null) && (l.includes("-") ? i.style.removeProperty(l) : i.style[l] = "");
3136
+ for (const l in s)
3137
+ (!e || s[l] !== e[l]) && (l.includes("-") ? i.style.setProperty(l, s[l]) : i.style[l] = s[l]);
3106
3138
  } else if (t !== "key")
3107
3139
  if (t === "ref")
3108
- i && i(s);
3109
- else if (!s.__lookupSetter__(t) && t[0] === "o" && t[1] === "n")
3110
- t[2] === "-" ? t = t.slice(3) : Fe(Tt, a) ? t = a.slice(2) : t = a[2] + t.slice(3), e && m.rel(s, t, e, !1), i && m.ael(s, t, i, !1);
3140
+ s && s(i);
3141
+ else if (!i.__lookupSetter__(t) && t[0] === "o" && t[1] === "n")
3142
+ t[2] === "-" ? t = t.slice(3) : Fe(Tt, a) ? t = a.slice(2) : t = a[2] + t.slice(3), e && m.rel(i, t, e, !1), s && m.ael(i, t, s, !1);
3111
3143
  else {
3112
- const l = ae(i);
3113
- if ((o || l && i !== null) && !n)
3144
+ const l = ae(s);
3145
+ if ((o || l && s !== null) && !n)
3114
3146
  try {
3115
- if (s.tagName.includes("-"))
3116
- s[t] = i;
3147
+ if (i.tagName.includes("-"))
3148
+ i[t] = s;
3117
3149
  else {
3118
- let u = i ?? "";
3119
- t === "list" ? o = !1 : (e == null || s[t] != u) && (s[t] = u);
3150
+ let u = s ?? "";
3151
+ t === "list" ? o = !1 : (e == null || i[t] != u) && (i[t] = u);
3120
3152
  }
3121
3153
  } catch {
3122
3154
  }
3123
3155
  let c = !1;
3124
- a !== (a = a.replace(/^xlink\:?/, "")) && (t = a, c = !0), i == null || i === !1 ? (i !== !1 || s.getAttribute(t) === "") && (c ? s.removeAttributeNS(Ue, t) : s.removeAttribute(t)) : (!o || r & 4 || n) && !l && (i = i === !0 ? "" : i, c ? s.setAttributeNS(Ue, t, i) : s.setAttribute(t, i));
3156
+ a !== (a = a.replace(/^xlink\:?/, "")) && (t = a, c = !0), s == null || s === !1 ? (s !== !1 || i.getAttribute(t) === "") && (c ? i.removeAttributeNS(Ue, t) : i.removeAttribute(t)) : (!o || r & 4 || n) && !l && (s = s === !0 ? "" : s, c ? i.setAttributeNS(Ue, t, s) : i.setAttribute(t, s));
3125
3157
  }
3126
3158
  }
3127
- }, Yn = /\s/, He = (s) => s ? s.split(Yn) : [], Is = (s, t, e, i) => {
3128
- const n = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, r = s && s.$attrs$ || Me, o = t.$attrs$ || Me;
3129
- for (i in r)
3130
- i in o || De(n, i, r[i], void 0, e, t.$flags$);
3131
- for (i in o)
3132
- De(n, i, r[i], o[i], e, t.$flags$);
3133
- }, xt = (s, t, e, i) => {
3159
+ }, Yn = /\s/, He = (i) => i ? i.split(Yn) : [], Li = (i, t, e, s) => {
3160
+ const n = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, r = i && i.$attrs$ || Me, o = t.$attrs$ || Me;
3161
+ for (s in r)
3162
+ s in o || De(n, s, r[s], void 0, e, t.$flags$);
3163
+ for (s in o)
3164
+ De(n, s, r[s], o[s], e, t.$flags$);
3165
+ }, xt = (i, t, e, s) => {
3134
3166
  let n = t.$children$[e], r = 0, o, a, l;
3135
- if (Os || (oe = !0, n.$tag$ === "slot" && (B && i.classList.add(B + "-s"), n.$flags$ |= n.$children$ ? (
3167
+ if (Oi || (oe = !0, n.$tag$ === "slot" && (B && s.classList.add(B + "-s"), n.$flags$ |= n.$children$ ? (
3136
3168
  // slot element has fallback content
3137
3169
  2
3138
3170
  ) : (
@@ -3143,63 +3175,63 @@ const Tt = typeof window < "u" ? window : {}, S = Tt.document || { head: {} }, T
3143
3175
  else if (n.$flags$ & 1)
3144
3176
  o = n.$elm$ = S.createTextNode("");
3145
3177
  else {
3146
- if (y || (y = n.$tag$ === "svg"), o = n.$elm$ = S.createElementNS(y ? Dn : Hn, n.$flags$ & 2 ? "slot-fb" : n.$tag$), y && n.$tag$ === "foreignObject" && (y = !1), Is(null, n, y), Bn(B) && o["s-si"] !== B && o.classList.add(o["s-si"] = B), n.$children$)
3178
+ if (y || (y = n.$tag$ === "svg"), o = n.$elm$ = S.createElementNS(y ? Dn : Hn, n.$flags$ & 2 ? "slot-fb" : n.$tag$), y && n.$tag$ === "foreignObject" && (y = !1), Li(null, n, y), Bn(B) && o["s-si"] !== B && o.classList.add(o["s-si"] = B), n.$children$)
3147
3179
  for (r = 0; r < n.$children$.length; ++r)
3148
- a = xt(s, n, r, o), a && o.appendChild(a);
3180
+ a = xt(i, n, r, o), a && o.appendChild(a);
3149
3181
  n.$tag$ === "svg" ? y = !1 : o.tagName === "foreignObject" && (y = !0);
3150
3182
  }
3151
- return o["s-hn"] = Ot, n.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] = ks, o["s-sn"] = n.$name$ || "", l = s && s.$children$ && s.$children$[e], l && l.$tag$ === n.$tag$ && s.$elm$ && nt(s.$elm$, !1)), o;
3152
- }, nt = (s, t) => {
3183
+ return o["s-hn"] = Ot, n.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] = ki, o["s-sn"] = n.$name$ || "", l = i && i.$children$ && i.$children$[e], l && l.$tag$ === n.$tag$ && i.$elm$ && nt(i.$elm$, !1)), o;
3184
+ }, nt = (i, t) => {
3153
3185
  m.$flags$ |= 1;
3154
- const e = s.childNodes;
3155
- for (let i = e.length - 1; i >= 0; i--) {
3156
- const n = e[i];
3157
- n["s-hn"] !== Ot && n["s-ol"] && (js(n).insertBefore(n, ce(n)), n["s-ol"].remove(), n["s-ol"] = void 0, oe = !0), t && nt(n, t);
3186
+ const e = i.childNodes;
3187
+ for (let s = e.length - 1; s >= 0; s--) {
3188
+ const n = e[s];
3189
+ n["s-hn"] !== Ot && n["s-ol"] && (ji(n).insertBefore(n, ce(n)), n["s-ol"].remove(), n["s-ol"] = void 0, oe = !0), t && nt(n, t);
3158
3190
  }
3159
3191
  m.$flags$ &= -2;
3160
- }, Rs = (s, t, e, i, n, r) => {
3161
- let o = s["s-cr"] && s["s-cr"].parentNode || s, a;
3192
+ }, Ri = (i, t, e, s, n, r) => {
3193
+ let o = i["s-cr"] && i["s-cr"].parentNode || i, a;
3162
3194
  for (o.shadowRoot && o.tagName === Ot && (o = o.shadowRoot); n <= r; ++n)
3163
- i[n] && (a = xt(null, e, n, s), a && (i[n].$elm$ = a, o.insertBefore(a, ce(t))));
3164
- }, Us = (s, t, e, i, n) => {
3195
+ s[n] && (a = xt(null, e, n, i), a && (s[n].$elm$ = a, o.insertBefore(a, ce(t))));
3196
+ }, Ui = (i, t, e, s, n) => {
3165
3197
  for (; t <= e; ++t)
3166
- (i = s[t]) && (n = i.$elm$, Ds(i), _t = !0, n["s-ol"] ? n["s-ol"].remove() : nt(n, !0), n.remove());
3167
- }, qn = (s, t, e, i) => {
3168
- let n = 0, r = 0, o = 0, a = 0, l = t.length - 1, c = t[0], u = t[l], h = i.length - 1, d = i[0], f = i[h], $, g;
3198
+ (s = i[t]) && (n = s.$elm$, Di(s), _t = !0, n["s-ol"] ? n["s-ol"].remove() : nt(n, !0), n.remove());
3199
+ }, qn = (i, t, e, s) => {
3200
+ let n = 0, r = 0, o = 0, a = 0, l = t.length - 1, c = t[0], u = t[l], h = s.length - 1, d = s[0], f = s[h], $, g;
3169
3201
  for (; n <= l && r <= h; )
3170
3202
  if (c == null)
3171
3203
  c = t[++n];
3172
3204
  else if (u == null)
3173
3205
  u = t[--l];
3174
3206
  else if (d == null)
3175
- d = i[++r];
3207
+ d = s[++r];
3176
3208
  else if (f == null)
3177
- f = i[--h];
3209
+ f = s[--h];
3178
3210
  else if (ht(c, d))
3179
- z(c, d), c = t[++n], d = i[++r];
3211
+ z(c, d), c = t[++n], d = s[++r];
3180
3212
  else if (ht(u, f))
3181
- z(u, f), u = t[--l], f = i[--h];
3213
+ z(u, f), u = t[--l], f = s[--h];
3182
3214
  else if (ht(c, f))
3183
- (c.$tag$ === "slot" || f.$tag$ === "slot") && nt(c.$elm$.parentNode, !1), z(c, f), s.insertBefore(c.$elm$, u.$elm$.nextSibling), c = t[++n], f = i[--h];
3215
+ (c.$tag$ === "slot" || f.$tag$ === "slot") && nt(c.$elm$.parentNode, !1), z(c, f), i.insertBefore(c.$elm$, u.$elm$.nextSibling), c = t[++n], f = s[--h];
3184
3216
  else if (ht(u, d))
3185
- (c.$tag$ === "slot" || f.$tag$ === "slot") && nt(u.$elm$.parentNode, !1), z(u, d), s.insertBefore(u.$elm$, c.$elm$), u = t[--l], d = i[++r];
3217
+ (c.$tag$ === "slot" || f.$tag$ === "slot") && nt(u.$elm$.parentNode, !1), z(u, d), i.insertBefore(u.$elm$, c.$elm$), u = t[--l], d = s[++r];
3186
3218
  else {
3187
3219
  for (o = -1, a = n; a <= l; ++a)
3188
3220
  if (t[a] && t[a].$key$ !== null && t[a].$key$ === d.$key$) {
3189
3221
  o = a;
3190
3222
  break;
3191
3223
  }
3192
- o >= 0 ? (g = t[o], g.$tag$ !== d.$tag$ ? $ = xt(t && t[r], e, o, s) : (z(g, d), t[o] = void 0, $ = g.$elm$), d = i[++r]) : ($ = xt(t && t[r], e, r, s), d = i[++r]), $ && js(c.$elm$).insertBefore($, ce(c.$elm$));
3224
+ o >= 0 ? (g = t[o], g.$tag$ !== d.$tag$ ? $ = xt(t && t[r], e, o, i) : (z(g, d), t[o] = void 0, $ = g.$elm$), d = s[++r]) : ($ = xt(t && t[r], e, r, i), d = s[++r]), $ && ji(c.$elm$).insertBefore($, ce(c.$elm$));
3193
3225
  }
3194
- n > l ? Rs(s, i[h + 1] == null ? null : i[h + 1].$elm$, e, i, r, h) : r > h && Us(t, n, l);
3195
- }, ht = (s, t) => s.$tag$ === t.$tag$ ? s.$tag$ === "slot" ? s.$name$ === t.$name$ : s.$key$ === t.$key$ : !1, ce = (s) => s && s["s-ol"] || s, js = (s) => (s["s-ol"] ? s["s-ol"] : s).parentNode, z = (s, t) => {
3196
- const e = t.$elm$ = s.$elm$, i = s.$children$, n = t.$children$, r = t.$tag$, o = t.$text$;
3226
+ n > l ? Ri(i, s[h + 1] == null ? null : s[h + 1].$elm$, e, s, r, h) : r > h && Ui(t, n, l);
3227
+ }, ht = (i, t) => i.$tag$ === t.$tag$ ? i.$tag$ === "slot" ? i.$name$ === t.$name$ : i.$key$ === t.$key$ : !1, ce = (i) => i && i["s-ol"] || i, ji = (i) => (i["s-ol"] ? i["s-ol"] : i).parentNode, z = (i, t) => {
3228
+ const e = t.$elm$ = i.$elm$, s = i.$children$, n = t.$children$, r = t.$tag$, o = t.$text$;
3197
3229
  let a;
3198
- o === null ? (y = r === "svg" ? !0 : r === "foreignObject" ? !1 : y, r === "slot" || Is(s, t, y), i !== null && n !== null ? qn(e, i, t, n) : n !== null ? (s.$text$ !== null && (e.textContent = ""), Rs(e, null, t, n, 0, n.length - 1)) : i !== null && Us(i, 0, i.length - 1), y && r === "svg" && (y = !1)) : (a = e["s-cr"]) ? a.parentNode.textContent = o : s.$text$ !== o && (e.data = o);
3199
- }, Ms = (s) => {
3200
- let t = s.childNodes, e, i, n, r, o, a;
3201
- for (i = 0, n = t.length; i < n; i++)
3202
- if (e = t[i], e.nodeType === 1) {
3230
+ o === null ? (y = r === "svg" ? !0 : r === "foreignObject" ? !1 : y, r === "slot" || Li(i, t, y), s !== null && n !== null ? qn(e, s, t, n) : n !== null ? (i.$text$ !== null && (e.textContent = ""), Ri(e, null, t, n, 0, n.length - 1)) : s !== null && Ui(s, 0, s.length - 1), y && r === "svg" && (y = !1)) : (a = e["s-cr"]) ? a.parentNode.textContent = o : i.$text$ !== o && (e.data = o);
3231
+ }, Mi = (i) => {
3232
+ let t = i.childNodes, e, s, n, r, o, a;
3233
+ for (s = 0, n = t.length; s < n; s++)
3234
+ if (e = t[s], e.nodeType === 1) {
3203
3235
  if (e["s-sr"]) {
3204
3236
  for (o = e["s-sn"], e.hidden = !1, r = 0; r < n; r++)
3205
3237
  if (a = t[r].nodeType, t[r]["s-hn"] !== e["s-hn"] || o !== "") {
@@ -3212,14 +3244,14 @@ const Tt = typeof window < "u" ? window : {}, S = Tt.document || { head: {} }, T
3212
3244
  break;
3213
3245
  }
3214
3246
  }
3215
- Ms(e);
3247
+ Mi(e);
3216
3248
  }
3217
- }, w = [], Ns = (s) => {
3218
- let t, e, i, n, r, o, a = 0, l = s.childNodes, c = l.length;
3249
+ }, w = [], Ni = (i) => {
3250
+ let t, e, s, n, r, o, a = 0, l = i.childNodes, c = l.length;
3219
3251
  for (; a < c; a++) {
3220
3252
  if (t = l[a], t["s-sr"] && (e = t["s-cr"]) && e.parentNode)
3221
- for (i = e.parentNode.childNodes, n = t["s-sn"], o = i.length - 1; o >= 0; o--)
3222
- e = i[o], !e["s-cn"] && !e["s-nr"] && e["s-hn"] !== t["s-hn"] && (Be(e, n) ? (r = w.find((u) => u.$nodeToRelocate$ === e), _t = !0, e["s-sn"] = e["s-sn"] || n, r ? r.$slotRefNode$ = t : w.push({
3253
+ for (s = e.parentNode.childNodes, n = t["s-sn"], o = s.length - 1; o >= 0; o--)
3254
+ e = s[o], !e["s-cn"] && !e["s-nr"] && e["s-hn"] !== t["s-hn"] && (Be(e, n) ? (r = w.find((u) => u.$nodeToRelocate$ === e), _t = !0, e["s-sn"] = e["s-sn"] || n, r ? r.$slotRefNode$ = t : w.push({
3223
3255
  $slotRefNode$: t,
3224
3256
  $nodeToRelocate$: e
3225
3257
  }), e["s-sr"] && w.map((u) => {
@@ -3227,16 +3259,16 @@ const Tt = typeof window < "u" ? window : {}, S = Tt.document || { head: {} }, T
3227
3259
  })) : w.some((u) => u.$nodeToRelocate$ === e) || w.push({
3228
3260
  $nodeToRelocate$: e
3229
3261
  }));
3230
- t.nodeType === 1 && Ns(t);
3262
+ t.nodeType === 1 && Ni(t);
3231
3263
  }
3232
- }, Be = (s, t) => s.nodeType === 1 ? s.getAttribute("slot") === null && t === "" || s.getAttribute("slot") === t : s["s-sn"] === t ? !0 : t === "", Ds = (s) => {
3233
- s.$attrs$ && s.$attrs$.ref && s.$attrs$.ref(null), s.$children$ && s.$children$.map(Ds);
3234
- }, Gn = (s, t) => {
3235
- const e = s.$hostElement$, i = s.$cmpMeta$, n = s.$vnode$ || wt(null, null), r = zn(t) ? t : W(null, null, t);
3236
- Ot = e.tagName, i.$attrsToReflect$ && (r.$attrs$ = r.$attrs$ || {}, i.$attrsToReflect$.map(([o, a]) => r.$attrs$[a] = e[o])), r.$tag$ = null, r.$flags$ |= 4, s.$vnode$ = r, r.$elm$ = n.$elm$ = e.shadowRoot || e, B = e["s-sc"], ks = e["s-cr"], Os = (i.$flags$ & 1) !== 0, _t = !1, z(n, r);
3264
+ }, Be = (i, t) => i.nodeType === 1 ? i.getAttribute("slot") === null && t === "" || i.getAttribute("slot") === t : i["s-sn"] === t ? !0 : t === "", Di = (i) => {
3265
+ i.$attrs$ && i.$attrs$.ref && i.$attrs$.ref(null), i.$children$ && i.$children$.map(Di);
3266
+ }, Gn = (i, t) => {
3267
+ const e = i.$hostElement$, s = i.$cmpMeta$, n = i.$vnode$ || wt(null, null), r = zn(t) ? t : W(null, null, t);
3268
+ Ot = e.tagName, s.$attrsToReflect$ && (r.$attrs$ = r.$attrs$ || {}, s.$attrsToReflect$.map(([o, a]) => r.$attrs$[a] = e[o])), r.$tag$ = null, r.$flags$ |= 4, i.$vnode$ = r, r.$elm$ = n.$elm$ = e.shadowRoot || e, B = e["s-sc"], ki = e["s-cr"], Oi = (s.$flags$ & 1) !== 0, _t = !1, z(n, r);
3237
3269
  {
3238
3270
  if (m.$flags$ |= 1, oe) {
3239
- Ns(r.$elm$);
3271
+ Ni(r.$elm$);
3240
3272
  let o, a, l, c, u, h, d = 0;
3241
3273
  for (; d < w.length; d++)
3242
3274
  o = w[d], a = o.$nodeToRelocate$, a["s-ol"] || (l = S.createTextNode(""), l["s-nr"] = a, a.parentNode.insertBefore(a["s-ol"] = l, a));
@@ -3251,57 +3283,57 @@ const Tt = typeof window < "u" ? window : {}, S = Tt.document || { head: {} }, T
3251
3283
  } else
3252
3284
  a.nodeType === 1 && (a.hidden = !0);
3253
3285
  }
3254
- _t && Ms(r.$elm$), m.$flags$ &= -2, w.length = 0;
3286
+ _t && Mi(r.$elm$), m.$flags$ &= -2, w.length = 0;
3255
3287
  }
3256
- }, Kn = (s) => s, Xn = (s, t, e) => {
3257
- const i = Kn(s);
3288
+ }, Kn = (i) => i, Xn = (i, t, e) => {
3289
+ const s = Kn(i);
3258
3290
  return {
3259
- emit: (n) => Zn(i, t, {
3291
+ emit: (n) => Zn(s, t, {
3260
3292
  bubbles: !!(e & 4),
3261
3293
  composed: !!(e & 2),
3262
3294
  cancelable: !!(e & 1),
3263
3295
  detail: n
3264
3296
  })
3265
3297
  };
3266
- }, Zn = (s, t, e) => {
3267
- const i = m.ce(t, e);
3268
- return s.dispatchEvent(i), i;
3269
- }, Qn = (s, t) => {
3270
- }, Hs = (s, t) => (s.$flags$ |= 16, Qn(s, s.$ancestorComponent$), gr(() => Jn(s, t))), Jn = (s, t) => {
3271
- const e = s.$hostElement$, i = j("scheduleUpdate", s.$cmpMeta$.$tagName$), n = e;
3298
+ }, Zn = (i, t, e) => {
3299
+ const s = m.ce(t, e);
3300
+ return i.dispatchEvent(s), s;
3301
+ }, Qn = (i, t) => {
3302
+ }, Hi = (i, t) => (i.$flags$ |= 16, Qn(i, i.$ancestorComponent$), gr(() => Jn(i, t))), Jn = (i, t) => {
3303
+ const e = i.$hostElement$, s = j("scheduleUpdate", i.$cmpMeta$.$tagName$), n = e;
3272
3304
  let r;
3273
- return t ? r = Y(n, "componentWillLoad") : r = Y(n, "componentWillUpdate"), r = ze(r, () => Y(n, "componentWillRender")), i(), ze(r, () => Vn(s, n, t));
3274
- }, Vn = async (s, t, e) => {
3275
- const i = s.$hostElement$, n = j("update", s.$cmpMeta$.$tagName$);
3276
- i["s-rc"], e && Mn(s);
3277
- const r = j("render", s.$cmpMeta$.$tagName$);
3278
- tr(s, t, i), r(), n(), er(s);
3279
- }, tr = (s, t, e) => {
3305
+ return t ? r = Y(n, "componentWillLoad") : r = Y(n, "componentWillUpdate"), r = ze(r, () => Y(n, "componentWillRender")), s(), ze(r, () => Vn(i, n, t));
3306
+ }, Vn = async (i, t, e) => {
3307
+ const s = i.$hostElement$, n = j("update", i.$cmpMeta$.$tagName$);
3308
+ s["s-rc"], e && Mn(i);
3309
+ const r = j("render", i.$cmpMeta$.$tagName$);
3310
+ tr(i, t, s), r(), n(), er(i);
3311
+ }, tr = (i, t, e) => {
3280
3312
  try {
3281
- Re = t, t = t.render && t.render(), s.$flags$ &= -17, s.$flags$ |= 2, (H.hasRenderFn || H.reflect) && (H.vdomRender || H.reflect) && (H.hydrateServerSide || Gn(s, t));
3313
+ Re = t, t = t.render && t.render(), i.$flags$ &= -17, i.$flags$ |= 2, (H.hasRenderFn || H.reflect) && (H.vdomRender || H.reflect) && (H.hydrateServerSide || Gn(i, t));
3282
3314
  } catch (a) {
3283
- lt(a, s.$hostElement$);
3315
+ lt(a, i.$hostElement$);
3284
3316
  }
3285
3317
  return Re = null, null;
3286
- }, er = (s) => {
3287
- const t = s.$cmpMeta$.$tagName$, e = s.$hostElement$, i = j("postUpdate", t), n = e;
3288
- s.$ancestorComponent$, Y(n, "componentDidRender"), s.$flags$ & 64 ? (Y(n, "componentDidUpdate"), i()) : (s.$flags$ |= 64, Y(n, "componentDidLoad"), i());
3289
- }, Y = (s, t, e) => {
3290
- if (s && s[t])
3318
+ }, er = (i) => {
3319
+ const t = i.$cmpMeta$.$tagName$, e = i.$hostElement$, s = j("postUpdate", t), n = e;
3320
+ i.$ancestorComponent$, Y(n, "componentDidRender"), i.$flags$ & 64 ? (Y(n, "componentDidUpdate"), s()) : (i.$flags$ |= 64, Y(n, "componentDidLoad"), s());
3321
+ }, Y = (i, t, e) => {
3322
+ if (i && i[t])
3291
3323
  try {
3292
- return s[t](e);
3293
- } catch (i) {
3294
- lt(i);
3324
+ return i[t](e);
3325
+ } catch (s) {
3326
+ lt(s);
3295
3327
  }
3296
- }, ze = (s, t) => s && s.then ? s.then(t) : t(), sr = (s, t) => s != null && !ae(s) ? t & 4 ? s === "false" ? !1 : s === "" || !!s : t & 2 ? parseFloat(s) : t & 1 ? String(s) : s : s, ir = (s, t) => Pt(s).$instanceValues$.get(t), nr = (s, t, e, i) => {
3297
- const n = Pt(s), r = s, o = n.$instanceValues$.get(t), a = n.$flags$, l = r;
3298
- e = sr(e, i.$members$[t][0]);
3328
+ }, ze = (i, t) => i && i.then ? i.then(t) : t(), ir = (i, t) => i != null && !ae(i) ? t & 4 ? i === "false" ? !1 : i === "" || !!i : t & 2 ? parseFloat(i) : t & 1 ? String(i) : i : i, sr = (i, t) => Pt(i).$instanceValues$.get(t), nr = (i, t, e, s) => {
3329
+ const n = Pt(i), r = i, o = n.$instanceValues$.get(t), a = n.$flags$, l = r;
3330
+ e = ir(e, s.$members$[t][0]);
3299
3331
  const c = Number.isNaN(o) && Number.isNaN(e);
3300
3332
  if (e !== o && !c) {
3301
3333
  n.$instanceValues$.set(t, e);
3302
3334
  {
3303
- if (i.$watchers$ && a & 128) {
3304
- const h = i.$watchers$[t];
3335
+ if (s.$watchers$ && a & 128) {
3336
+ const h = s.$watchers$[t];
3305
3337
  h && h.map((d) => {
3306
3338
  try {
3307
3339
  l[d](e, o, t);
@@ -3313,18 +3345,18 @@ const Tt = typeof window < "u" ? window : {}, S = Tt.document || { head: {} }, T
3313
3345
  if ((a & 18) === 2) {
3314
3346
  if (l.componentShouldUpdate && l.componentShouldUpdate(e, o, t) === !1)
3315
3347
  return;
3316
- Hs(n, !1);
3348
+ Hi(n, !1);
3317
3349
  }
3318
3350
  }
3319
3351
  }
3320
- }, rr = (s, t, e) => {
3352
+ }, rr = (i, t, e) => {
3321
3353
  if (t.$members$) {
3322
- s.watchers && (t.$watchers$ = s.watchers);
3323
- const i = Object.entries(t.$members$), n = s.prototype;
3324
- i.map(([r, [o]]) => {
3354
+ i.watchers && (t.$watchers$ = i.watchers);
3355
+ const s = Object.entries(t.$members$), n = i.prototype;
3356
+ s.map(([r, [o]]) => {
3325
3357
  (o & 31 || o & 32) && Object.defineProperty(n, r, {
3326
3358
  get() {
3327
- return ir(this, r);
3359
+ return sr(this, r);
3328
3360
  },
3329
3361
  set(a) {
3330
3362
  nr(this, r, a, t);
@@ -3344,7 +3376,7 @@ const Tt = typeof window < "u" ? window : {}, S = Tt.document || { head: {} }, T
3344
3376
  return;
3345
3377
  this[c] = l === null && typeof this[c] == "boolean" ? !1 : l;
3346
3378
  });
3347
- }, s.observedAttributes = i.filter(
3379
+ }, i.observedAttributes = s.filter(
3348
3380
  ([o, a]) => a[0] & 15
3349
3381
  /* HasAttribute */
3350
3382
  ).map(([o, a]) => {
@@ -3353,50 +3385,50 @@ const Tt = typeof window < "u" ? window : {}, S = Tt.document || { head: {} }, T
3353
3385
  });
3354
3386
  }
3355
3387
  }
3356
- return s;
3357
- }, or = async (s, t, e, i, n) => {
3358
- if (!(t.$flags$ & 32) && (n = s.constructor, t.$flags$ |= 32, customElements.whenDefined(e.$tagName$).then(() => t.$flags$ |= 128), n.style)) {
3388
+ return i;
3389
+ }, or = async (i, t, e, s, n) => {
3390
+ if (!(t.$flags$ & 32) && (n = i.constructor, t.$flags$ |= 32, customElements.whenDefined(e.$tagName$).then(() => t.$flags$ |= 128), n.style)) {
3359
3391
  let o = n.style;
3360
- typeof o != "string" && (o = o[t.$modeName$ = Nn(s)]);
3361
- const a = Ls(e, t.$modeName$);
3392
+ typeof o != "string" && (o = o[t.$modeName$ = Nn(i)]);
3393
+ const a = Ii(e, t.$modeName$);
3362
3394
  if (!St.has(a)) {
3363
3395
  const l = j("registerStyles", e.$tagName$);
3364
3396
  Un(a, o, !!(e.$flags$ & 1)), l();
3365
3397
  }
3366
3398
  }
3367
- t.$ancestorComponent$, (() => Hs(t, !0))();
3368
- }, ar = (s) => {
3369
- }, lr = (s) => {
3399
+ t.$ancestorComponent$, (() => Hi(t, !0))();
3400
+ }, ar = (i) => {
3401
+ }, lr = (i) => {
3370
3402
  if (!(m.$flags$ & 1)) {
3371
- const t = Pt(s), e = t.$cmpMeta$, i = j("connectedCallback", e.$tagName$);
3372
- t.$flags$ & 1 ? (Ps(s, t, e.$listeners$), ar(t.$lazyInstance$)) : (t.$flags$ |= 1, e.$flags$ & 12 && cr(s), e.$members$ && Object.entries(e.$members$).map(([n, [r]]) => {
3373
- if (r & 31 && s.hasOwnProperty(n)) {
3374
- const o = s[n];
3375
- delete s[n], s[n] = o;
3376
- }
3377
- }), or(s, t, e)), i();
3378
- }
3379
- }, cr = (s) => {
3380
- const t = s["s-cr"] = S.createComment("");
3381
- t["s-cn"] = !0, s.insertBefore(t, s.firstChild);
3382
- }, ur = (s) => {
3403
+ const t = Pt(i), e = t.$cmpMeta$, s = j("connectedCallback", e.$tagName$);
3404
+ t.$flags$ & 1 ? (Pi(i, t, e.$listeners$), ar(t.$lazyInstance$)) : (t.$flags$ |= 1, e.$flags$ & 12 && cr(i), e.$members$ && Object.entries(e.$members$).map(([n, [r]]) => {
3405
+ if (r & 31 && i.hasOwnProperty(n)) {
3406
+ const o = i[n];
3407
+ delete i[n], i[n] = o;
3408
+ }
3409
+ }), or(i, t, e)), s();
3410
+ }
3411
+ }, cr = (i) => {
3412
+ const t = i["s-cr"] = S.createComment("");
3413
+ t["s-cn"] = !0, i.insertBefore(t, i.firstChild);
3414
+ }, ur = (i) => {
3383
3415
  if (!(m.$flags$ & 1)) {
3384
- const t = Pt(s);
3416
+ const t = Pt(i);
3385
3417
  t.$rmListeners$ && (t.$rmListeners$.map((e) => e()), t.$rmListeners$ = void 0);
3386
3418
  }
3387
- }, Bs = (s, t) => {
3419
+ }, Bi = (i, t) => {
3388
3420
  const e = {
3389
3421
  $flags$: t[0],
3390
3422
  $tagName$: t[1]
3391
3423
  };
3392
- e.$members$ = t[2], e.$listeners$ = t[3], e.$watchers$ = s.$watchers$, e.$attrsToReflect$ = [];
3393
- const i = s.prototype.connectedCallback, n = s.prototype.disconnectedCallback;
3394
- return Object.assign(s.prototype, {
3424
+ e.$members$ = t[2], e.$listeners$ = t[3], e.$watchers$ = i.$watchers$, e.$attrsToReflect$ = [];
3425
+ const s = i.prototype.connectedCallback, n = i.prototype.disconnectedCallback;
3426
+ return Object.assign(i.prototype, {
3395
3427
  __registerHost() {
3396
3428
  hr(this, e);
3397
3429
  },
3398
3430
  connectedCallback() {
3399
- lr(this), i && i.call(this);
3431
+ lr(this), s && s.call(this);
3400
3432
  },
3401
3433
  disconnectedCallback() {
3402
3434
  ur(this), n && n.call(this);
@@ -3407,45 +3439,45 @@ const Tt = typeof window < "u" ? window : {}, S = Tt.document || { head: {} }, T
3407
3439
  delegatesFocus: !!(e.$flags$ & 16)
3408
3440
  });
3409
3441
  }
3410
- }), s.is = e.$tagName$, rr(s, e);
3411
- }, zs = /* @__PURE__ */ new WeakMap(), Pt = (s) => zs.get(s), hr = (s, t) => {
3442
+ }), i.is = e.$tagName$, rr(i, e);
3443
+ }, zi = /* @__PURE__ */ new WeakMap(), Pt = (i) => zi.get(i), hr = (i, t) => {
3412
3444
  const e = {
3413
3445
  $flags$: 0,
3414
- $hostElement$: s,
3446
+ $hostElement$: i,
3415
3447
  $cmpMeta$: t,
3416
3448
  $instanceValues$: /* @__PURE__ */ new Map()
3417
3449
  };
3418
- return Ps(s, e, t.$listeners$), zs.set(s, e);
3419
- }, Fe = (s, t) => t in s, lt = (s, t) => (0, console.error)(s, t), St = /* @__PURE__ */ new Map(), dr = [], We = [], Fs = [], fr = (s, t) => (e) => {
3420
- s.push(e), Yt || (Yt = !0, t && m.$flags$ & 4 ? pr(qt) : m.raf(qt));
3421
- }, Ye = (s) => {
3422
- for (let t = 0; t < s.length; t++)
3450
+ return Pi(i, e, t.$listeners$), zi.set(i, e);
3451
+ }, Fe = (i, t) => t in i, lt = (i, t) => (0, console.error)(i, t), St = /* @__PURE__ */ new Map(), dr = [], We = [], Fi = [], fr = (i, t) => (e) => {
3452
+ i.push(e), Yt || (Yt = !0, t && m.$flags$ & 4 ? pr(qt) : m.raf(qt));
3453
+ }, Ye = (i) => {
3454
+ for (let t = 0; t < i.length; t++)
3423
3455
  try {
3424
- s[t](performance.now());
3456
+ i[t](performance.now());
3425
3457
  } catch (e) {
3426
3458
  lt(e);
3427
3459
  }
3428
- s.length = 0;
3460
+ i.length = 0;
3429
3461
  }, qt = () => {
3430
- Ye(We), Ye(Fs), (Yt = We.length > 0) && m.raf(qt);
3431
- }, pr = (s) => Tn().then(s), gr = /* @__PURE__ */ fr(Fs, !0), $r = (s = {}) => {
3432
- const { content: t = "", title: e, attributes: i = [] } = s;
3462
+ Ye(We), Ye(Fi), (Yt = We.length > 0) && m.raf(qt);
3463
+ }, pr = (i) => Tn().then(i), gr = /* @__PURE__ */ fr(Fi, !0), $r = (i = {}) => {
3464
+ const { content: t = "", title: e, attributes: s = [] } = i;
3433
3465
  let n = "", r = [
3434
3466
  { name: "xmlns", value: "http://www.w3.org/2000/svg" },
3435
3467
  { name: "fill", value: "currentColor" },
3436
- ...i
3468
+ ...s
3437
3469
  ];
3438
3470
  return e && (n = `<title>${e}</title>`), `<svg ${r.map((a) => `${a.name}="${a.value}"`).join(" ")}>${n}${t}</svg>`;
3439
- }, vr = (s) => s.replace(/<(\/?)svg([^>]*)>/g, "").trim();
3440
- function mr(s) {
3441
- return `${s.getFullYear()}.${s.getMonth() + 1}`;
3471
+ }, vr = (i) => i.replace(/<(\/?)svg([^>]*)>/g, "").trim();
3472
+ function mr(i) {
3473
+ return `${i.getFullYear()}.${i.getMonth() + 1}`;
3442
3474
  }
3443
3475
  class yr {
3444
3476
  constructor(t) {
3445
3477
  this.voca_component = t, this.voca_added = mr(/* @__PURE__ */ new Date());
3446
3478
  }
3447
3479
  }
3448
- const br = "telia-vst{display:none}", _r = /* @__PURE__ */ Bs(class extends Ts {
3480
+ const br = "telia-vst{display:none}", _r = /* @__PURE__ */ Bi(class extends Ti {
3449
3481
  constructor() {
3450
3482
  super(), this.__registerHost(), this.vocaInternalUStats = Xn(this, "vocaInternalUStats", 7);
3451
3483
  }
@@ -3461,7 +3493,7 @@ const br = "telia-vst{display:none}", _r = /* @__PURE__ */ Bs(class extends Ts {
3461
3493
  }, [0, "telia-vst", {
3462
3494
  dataTrackingId: [1, "data-tracking-id"]
3463
3495
  }]);
3464
- function Ws() {
3496
+ function Wi() {
3465
3497
  if (typeof customElements > "u")
3466
3498
  return;
3467
3499
  ["telia-vst"].forEach((t) => {
@@ -3472,7 +3504,7 @@ function Ws() {
3472
3504
  }
3473
3505
  });
3474
3506
  }
3475
- Ws();
3507
+ Wi();
3476
3508
  function Gt() {
3477
3509
  return typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : { vocadsIcons: void 0, vocadsIconsRegistered: !1 };
3478
3510
  }
@@ -3483,7 +3515,7 @@ function wr() {
3483
3515
  function xr() {
3484
3516
  return Gt().vocadsIconsRegistered;
3485
3517
  }
3486
- const Sr = ".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))}", Ar = /* @__PURE__ */ Bs(class extends Ts {
3518
+ const Sr = ".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))}", Ar = /* @__PURE__ */ Bi(class extends Ti {
3487
3519
  constructor() {
3488
3520
  super(), this.__registerHost(), this.size = "md", this.allyTitle = null, this.dataTrackingId = "telia-icon";
3489
3521
  }
@@ -3496,19 +3528,19 @@ const Sr = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
3496
3528
  if (this.svg)
3497
3529
  return this.svg;
3498
3530
  if (xr() && this.name) {
3499
- const s = wr();
3500
- return s[this.name] ? s[this.name].svg : "";
3531
+ const i = wr();
3532
+ return i[this.name] ? i[this.name].svg : "";
3501
3533
  }
3502
3534
  return this.name && console.warn(this.name, "Icons bundle is not registered and will not be rendered. Check if you have registered icons bundle or use svg property"), "";
3503
3535
  }
3504
3536
  render() {
3505
- let s = this.getSvgString(), t = [{ name: "viewBox", value: "0 0 64 64" }];
3537
+ let i = this.getSvgString(), t = [{ name: "viewBox", value: "0 0 64 64" }];
3506
3538
  this.allyTitle ? t = [...t, { name: "role", value: "img" }] : t = [
3507
3539
  ...t,
3508
3540
  { name: "aria-hidden", value: "true" }
3509
3541
  ];
3510
3542
  const e = $r({
3511
- content: vr(s),
3543
+ content: vr(i),
3512
3544
  attributes: t,
3513
3545
  title: this.allyTitle
3514
3546
  });
@@ -3533,19 +3565,19 @@ function Er() {
3533
3565
  customElements.get(t) || customElements.define(t, Ar);
3534
3566
  break;
3535
3567
  case "telia-vst":
3536
- customElements.get(t) || Ws();
3568
+ customElements.get(t) || Wi();
3537
3569
  break;
3538
3570
  }
3539
3571
  });
3540
3572
  }
3541
3573
  Er();
3542
- var Cr = Object.defineProperty, kr = Object.getOwnPropertyDescriptor, Or = (s, t, e, i) => {
3543
- for (var n = i > 1 ? void 0 : i ? kr(t, e) : t, r = s.length - 1, o; r >= 0; r--)
3544
- (o = s[r]) && (n = (i ? o(t, e, n) : o(n)) || n);
3545
- return i && n && Cr(t, e, n), n;
3574
+ var Cr = Object.defineProperty, kr = Object.getOwnPropertyDescriptor, Or = (i, t, e, s) => {
3575
+ for (var n = s > 1 ? void 0 : s ? kr(t, e) : t, r = i.length - 1, o; r >= 0; r--)
3576
+ (o = i[r]) && (n = (s ? o(t, e, n) : o(n)) || n);
3577
+ return s && n && Cr(t, e, n), n;
3546
3578
  };
3547
- const Ys = Es(x);
3548
- class qs extends Ys {
3579
+ const Yi = Ei(x);
3580
+ class qi extends Yi {
3549
3581
  constructor() {
3550
3582
  super(...arguments), this.optionsIsVisible = !1, this.options = new kn(this), this.optionsRef = bt(), this.optionsTriggerRef = bt(), this._onClickOutside = (t) => {
3551
3583
  !this.optionsTriggerRef.value || !this.optionsRef.value || t.composedPath().includes(this.optionsTriggerRef.value) || t.composedPath().includes(this.optionsRef.value) || (this.optionsIsVisible = !1);
@@ -3571,8 +3603,8 @@ class qs extends Ys {
3571
3603
  return this.options.options.length ? E` <div class="side-menu">
3572
3604
  <div
3573
3605
  class="options-menu"
3574
- ${se(this.optionsRef)}
3575
- ${Ss({
3606
+ ${ie(this.optionsRef)}
3607
+ ${Si({
3576
3608
  keyframeOptions: { duration: 120 },
3577
3609
  in: ke,
3578
3610
  out: ke,
@@ -3598,8 +3630,8 @@ class qs extends Ys {
3598
3630
  </div>` : p;
3599
3631
  }
3600
3632
  }
3601
- qs.styles = [
3602
- Ys.styles || [],
3633
+ qi.styles = [
3634
+ Yi.styles || [],
3603
3635
  M`
3604
3636
  :host {
3605
3637
  --header-text-color: var(--text-on-primary-background);
@@ -3691,8 +3723,8 @@ qs.styles = [
3691
3723
  ];
3692
3724
  Or([
3693
3725
  N()
3694
- ], qs.prototype, "optionsIsVisible", 2);
3726
+ ], qi.prototype, "optionsIsVisible", 2);
3695
3727
  export {
3696
- qs as SideMenu,
3697
- qs as default
3728
+ qi as SideMenu,
3729
+ qi as default
3698
3730
  };