@telia-ace/widget-components-copyright-flamingo 1.1.110 → 1.1.111-rc.1

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,93 +1,93 @@
1
- var lt = function(n, t) {
2
- return lt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, i) {
1
+ var dt = function(s, t) {
2
+ return dt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, i) {
3
3
  e.__proto__ = i;
4
4
  } || function(e, i) {
5
- for (var s in i) Object.prototype.hasOwnProperty.call(i, s) && (e[s] = i[s]);
6
- }, lt(n, t);
5
+ for (var r in i) Object.prototype.hasOwnProperty.call(i, r) && (e[r] = i[r]);
6
+ }, dt(s, t);
7
7
  };
8
- function D(n, t) {
8
+ function D(s, t) {
9
9
  if (typeof t != "function" && t !== null)
10
10
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
11
- lt(n, t);
11
+ dt(s, t);
12
12
  function e() {
13
- this.constructor = n;
13
+ this.constructor = s;
14
14
  }
15
- n.prototype = t === null ? Object.create(t) : (e.prototype = t.prototype, new e());
15
+ s.prototype = t === null ? Object.create(t) : (e.prototype = t.prototype, new e());
16
16
  }
17
- function dt(n) {
18
- var t = typeof Symbol == "function" && Symbol.iterator, e = t && n[t], i = 0;
19
- if (e) return e.call(n);
20
- if (n && typeof n.length == "number") return {
17
+ function pt(s) {
18
+ var t = typeof Symbol == "function" && Symbol.iterator, e = t && s[t], i = 0;
19
+ if (e) return e.call(s);
20
+ if (s && typeof s.length == "number") return {
21
21
  next: function() {
22
- return n && i >= n.length && (n = void 0), { value: n && n[i++], done: !n };
22
+ return s && i >= s.length && (s = void 0), { value: s && s[i++], done: !s };
23
23
  }
24
24
  };
25
25
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
26
26
  }
27
- function ut(n, t) {
28
- var e = typeof Symbol == "function" && n[Symbol.iterator];
29
- if (!e) return n;
30
- var i = e.call(n), s, r = [], o;
27
+ function ut(s, t) {
28
+ var e = typeof Symbol == "function" && s[Symbol.iterator];
29
+ if (!e) return s;
30
+ var i = e.call(s), r, n = [], o;
31
31
  try {
32
- for (; (t === void 0 || t-- > 0) && !(s = i.next()).done; ) r.push(s.value);
32
+ for (; (t === void 0 || t-- > 0) && !(r = i.next()).done; ) n.push(r.value);
33
33
  } catch (a) {
34
34
  o = { error: a };
35
35
  } finally {
36
36
  try {
37
- s && !s.done && (e = i.return) && e.call(i);
37
+ r && !r.done && (e = i.return) && e.call(i);
38
38
  } finally {
39
39
  if (o) throw o.error;
40
40
  }
41
41
  }
42
- return r;
42
+ return n;
43
43
  }
44
- function pt(n, t, e) {
45
- if (e || arguments.length === 2) for (var i = 0, s = t.length, r; i < s; i++)
46
- (r || !(i in t)) && (r || (r = Array.prototype.slice.call(t, 0, i)), r[i] = t[i]);
47
- return n.concat(r || Array.prototype.slice.call(t));
44
+ function ft(s, t, e) {
45
+ if (e || arguments.length === 2) for (var i = 0, r = t.length, n; i < r; i++)
46
+ (n || !(i in t)) && (n || (n = Array.prototype.slice.call(t, 0, i)), n[i] = t[i]);
47
+ return s.concat(n || Array.prototype.slice.call(t));
48
48
  }
49
- function v(n) {
50
- return typeof n == "function";
49
+ function b(s) {
50
+ return typeof s == "function";
51
51
  }
52
- function re(n) {
52
+ function oe(s) {
53
53
  var t = function(i) {
54
54
  Error.call(i), i.stack = new Error().stack;
55
- }, e = n(t);
55
+ }, e = s(t);
56
56
  return e.prototype = Object.create(Error.prototype), e.prototype.constructor = e, e;
57
57
  }
58
- var it = re(function(n) {
58
+ var it = oe(function(s) {
59
59
  return function(e) {
60
- n(this), this.message = e ? e.length + ` errors occurred during unsubscription:
61
- ` + e.map(function(i, s) {
62
- return s + 1 + ") " + i.toString();
60
+ s(this), this.message = e ? e.length + ` errors occurred during unsubscription:
61
+ ` + e.map(function(i, r) {
62
+ return r + 1 + ") " + i.toString();
63
63
  }).join(`
64
64
  `) : "", this.name = "UnsubscriptionError", this.errors = e;
65
65
  };
66
66
  });
67
- function ft(n, t) {
68
- if (n) {
69
- var e = n.indexOf(t);
70
- 0 <= e && n.splice(e, 1);
67
+ function gt(s, t) {
68
+ if (s) {
69
+ var e = s.indexOf(t);
70
+ 0 <= e && s.splice(e, 1);
71
71
  }
72
72
  }
73
73
  var tt = function() {
74
- function n(t) {
74
+ function s(t) {
75
75
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
76
76
  }
77
- return n.prototype.unsubscribe = function() {
78
- var t, e, i, s, r;
77
+ return s.prototype.unsubscribe = function() {
78
+ var t, e, i, r, n;
79
79
  if (!this.closed) {
80
80
  this.closed = !0;
81
81
  var o = this._parentage;
82
82
  if (o)
83
83
  if (this._parentage = null, Array.isArray(o))
84
84
  try {
85
- for (var a = dt(o), c = a.next(); !c.done; c = a.next()) {
85
+ for (var a = pt(o), c = a.next(); !c.done; c = a.next()) {
86
86
  var h = c.value;
87
87
  h.remove(this);
88
88
  }
89
- } catch (m) {
90
- t = { error: m };
89
+ } catch (v) {
90
+ t = { error: v };
91
91
  } finally {
92
92
  try {
93
93
  c && !c.done && (e = a.return) && e.call(a);
@@ -98,104 +98,108 @@ var tt = function() {
98
98
  else
99
99
  o.remove(this);
100
100
  var l = this.initialTeardown;
101
- if (v(l))
101
+ if (b(l))
102
102
  try {
103
103
  l();
104
- } catch (m) {
105
- r = m instanceof it ? m.errors : [m];
104
+ } catch (v) {
105
+ n = v instanceof it ? v.errors : [v];
106
106
  }
107
107
  var d = this._finalizers;
108
108
  if (d) {
109
109
  this._finalizers = null;
110
110
  try {
111
- for (var p = dt(d), f = p.next(); !f.done; f = p.next()) {
112
- var k = f.value;
111
+ for (var u = pt(d), f = u.next(); !f.done; f = u.next()) {
112
+ var O = f.value;
113
113
  try {
114
- Mt(k);
115
- } catch (m) {
116
- r = r ?? [], m instanceof it ? r = pt(pt([], ut(r)), ut(m.errors)) : r.push(m);
114
+ Ht(O);
115
+ } catch (v) {
116
+ n = n ?? [], v instanceof it ? n = ft(ft([], ut(n)), ut(v.errors)) : n.push(v);
117
117
  }
118
118
  }
119
- } catch (m) {
120
- i = { error: m };
119
+ } catch (v) {
120
+ i = { error: v };
121
121
  } finally {
122
122
  try {
123
- f && !f.done && (s = p.return) && s.call(p);
123
+ f && !f.done && (r = u.return) && r.call(u);
124
124
  } finally {
125
125
  if (i) throw i.error;
126
126
  }
127
127
  }
128
128
  }
129
- if (r)
130
- throw new it(r);
129
+ if (n)
130
+ throw new it(n);
131
131
  }
132
- }, n.prototype.add = function(t) {
132
+ }, s.prototype.add = function(t) {
133
133
  var e;
134
134
  if (t && t !== this)
135
135
  if (this.closed)
136
- Mt(t);
136
+ Ht(t);
137
137
  else {
138
- if (t instanceof n) {
138
+ if (t instanceof s) {
139
139
  if (t.closed || t._hasParent(this))
140
140
  return;
141
141
  t._addParent(this);
142
142
  }
143
143
  (this._finalizers = (e = this._finalizers) !== null && e !== void 0 ? e : []).push(t);
144
144
  }
145
- }, n.prototype._hasParent = function(t) {
145
+ }, s.prototype._hasParent = function(t) {
146
146
  var e = this._parentage;
147
147
  return e === t || Array.isArray(e) && e.includes(t);
148
- }, n.prototype._addParent = function(t) {
148
+ }, s.prototype._addParent = function(t) {
149
149
  var e = this._parentage;
150
150
  this._parentage = Array.isArray(e) ? (e.push(t), e) : e ? [e, t] : t;
151
- }, n.prototype._removeParent = function(t) {
151
+ }, s.prototype._removeParent = function(t) {
152
152
  var e = this._parentage;
153
- e === t ? this._parentage = null : Array.isArray(e) && ft(e, t);
154
- }, n.prototype.remove = function(t) {
153
+ e === t ? this._parentage = null : Array.isArray(e) && gt(e, t);
154
+ }, s.prototype.remove = function(t) {
155
155
  var e = this._finalizers;
156
- e && ft(e, t), t instanceof n && t._removeParent(this);
157
- }, n.EMPTY = function() {
158
- var t = new n();
156
+ e && gt(e, t), t instanceof s && t._removeParent(this);
157
+ }, s.EMPTY = function() {
158
+ var t = new s();
159
159
  return t.closed = !0, t;
160
- }(), n;
161
- }(), oe = tt.EMPTY;
162
- function ae(n) {
163
- return n instanceof tt || n && "closed" in n && v(n.remove) && v(n.add) && v(n.unsubscribe);
160
+ }(), s;
161
+ }(), ae = tt.EMPTY;
162
+ function ce(s) {
163
+ return s instanceof tt || s && "closed" in s && b(s.remove) && b(s.add) && b(s.unsubscribe);
164
164
  }
165
- function Mt(n) {
166
- v(n) ? n() : n.unsubscribe();
165
+ function Ht(s) {
166
+ b(s) ? s() : s.unsubscribe();
167
167
  }
168
- var xe = {
169
- Promise: void 0
170
- }, Ce = {
171
- setTimeout: function(n, t) {
168
+ var he = {
169
+ onUnhandledError: null,
170
+ onStoppedNotification: null,
171
+ Promise: void 0,
172
+ useDeprecatedSynchronousErrorHandling: !1,
173
+ useDeprecatedNextContext: !1
174
+ }, Se = {
175
+ setTimeout: function(s, t) {
172
176
  for (var e = [], i = 2; i < arguments.length; i++)
173
177
  e[i - 2] = arguments[i];
174
- return setTimeout.apply(void 0, pt([n, t], ut(e)));
178
+ return setTimeout.apply(void 0, ft([s, t], ut(e)));
175
179
  },
176
- clearTimeout: function(n) {
177
- return clearTimeout(n);
180
+ clearTimeout: function(s) {
181
+ return clearTimeout(s);
178
182
  },
179
183
  delegate: void 0
180
184
  };
181
- function Ee(n) {
182
- Ce.setTimeout(function() {
183
- throw n;
185
+ function Pe(s) {
186
+ Se.setTimeout(function() {
187
+ throw s;
184
188
  });
185
189
  }
186
- function Ht() {
190
+ function Lt() {
187
191
  }
188
- function W(n) {
189
- n();
192
+ function W(s) {
193
+ s();
190
194
  }
191
- var ce = function(n) {
192
- D(t, n);
195
+ var le = function(s) {
196
+ D(t, s);
193
197
  function t(e) {
194
- var i = n.call(this) || this;
195
- return i.isStopped = !1, e ? (i.destination = e, ae(e) && e.add(i)) : i.destination = Oe, i;
198
+ var i = s.call(this) || this;
199
+ return i.isStopped = !1, e ? (i.destination = e, ce(e) && e.add(i)) : i.destination = Me, i;
196
200
  }
197
- return t.create = function(e, i, s) {
198
- return new gt(e, i, s);
201
+ return t.create = function(e, i, r) {
202
+ return new vt(e, i, r);
199
203
  }, t.prototype.next = function(e) {
200
204
  this.isStopped || this._next(e);
201
205
  }, t.prototype.error = function(e) {
@@ -203,7 +207,7 @@ var ce = function(n) {
203
207
  }, t.prototype.complete = function() {
204
208
  this.isStopped || (this.isStopped = !0, this._complete());
205
209
  }, t.prototype.unsubscribe = function() {
206
- this.closed || (this.isStopped = !0, n.prototype.unsubscribe.call(this), this.destination = null);
210
+ this.closed || (this.isStopped = !0, s.prototype.unsubscribe.call(this), this.destination = null);
207
211
  }, t.prototype._next = function(e) {
208
212
  this.destination.next(e);
209
213
  }, t.prototype._error = function(e) {
@@ -219,11 +223,15 @@ var ce = function(n) {
219
223
  this.unsubscribe();
220
224
  }
221
225
  }, t;
222
- }(tt), Se = function() {
223
- function n(t) {
226
+ }(tt), ke = Function.prototype.bind;
227
+ function st(s, t) {
228
+ return ke.call(s, t);
229
+ }
230
+ var Oe = function() {
231
+ function s(t) {
224
232
  this.partialObserver = t;
225
233
  }
226
- return n.prototype.next = function(t) {
234
+ return s.prototype.next = function(t) {
227
235
  var e = this.partialObserver;
228
236
  if (e.next)
229
237
  try {
@@ -231,7 +239,7 @@ var ce = function(n) {
231
239
  } catch (i) {
232
240
  Z(i);
233
241
  }
234
- }, n.prototype.error = function(t) {
242
+ }, s.prototype.error = function(t) {
235
243
  var e = this.partialObserver;
236
244
  if (e.error)
237
245
  try {
@@ -241,7 +249,7 @@ var ce = function(n) {
241
249
  }
242
250
  else
243
251
  Z(t);
244
- }, n.prototype.complete = function() {
252
+ }, s.prototype.complete = function() {
245
253
  var t = this.partialObserver;
246
254
  if (t.complete)
247
255
  try {
@@ -249,147 +257,159 @@ var ce = function(n) {
249
257
  } catch (e) {
250
258
  Z(e);
251
259
  }
252
- }, n;
253
- }(), gt = function(n) {
254
- D(t, n);
255
- function t(e, i, s) {
256
- var r = n.call(this) || this, o;
257
- return v(e) || !e ? o = {
258
- next: e ?? void 0,
259
- error: i ?? void 0,
260
- complete: s ?? void 0
261
- } : o = e, r.destination = new Se(o), r;
260
+ }, s;
261
+ }(), vt = function(s) {
262
+ D(t, s);
263
+ function t(e, i, r) {
264
+ var n = s.call(this) || this, o;
265
+ if (b(e) || !e)
266
+ o = {
267
+ next: e ?? void 0,
268
+ error: i ?? void 0,
269
+ complete: r ?? void 0
270
+ };
271
+ else {
272
+ var a;
273
+ n && he.useDeprecatedNextContext ? (a = Object.create(e), a.unsubscribe = function() {
274
+ return n.unsubscribe();
275
+ }, o = {
276
+ next: e.next && st(e.next, a),
277
+ error: e.error && st(e.error, a),
278
+ complete: e.complete && st(e.complete, a)
279
+ }) : o = e;
280
+ }
281
+ return n.destination = new Oe(o), n;
262
282
  }
263
283
  return t;
264
- }(ce);
265
- function Z(n) {
266
- Ee(n);
284
+ }(le);
285
+ function Z(s) {
286
+ Pe(s);
267
287
  }
268
- function Pe(n) {
269
- throw n;
288
+ function Te(s) {
289
+ throw s;
270
290
  }
271
- var Oe = {
291
+ var Me = {
272
292
  closed: !0,
273
- next: Ht,
274
- error: Pe,
275
- complete: Ht
276
- }, ke = function() {
293
+ next: Lt,
294
+ error: Te,
295
+ complete: Lt
296
+ }, He = function() {
277
297
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
278
298
  }();
279
- function Te(n) {
280
- return n;
299
+ function Le(s) {
300
+ return s;
281
301
  }
282
- function Me(n) {
283
- return n.length === 0 ? Te : n.length === 1 ? n[0] : function(e) {
284
- return n.reduce(function(i, s) {
285
- return s(i);
302
+ function Re(s) {
303
+ return s.length === 0 ? Le : s.length === 1 ? s[0] : function(e) {
304
+ return s.reduce(function(i, r) {
305
+ return r(i);
286
306
  }, e);
287
307
  };
288
308
  }
289
- var Lt = function() {
290
- function n(t) {
309
+ var Rt = function() {
310
+ function s(t) {
291
311
  t && (this._subscribe = t);
292
312
  }
293
- return n.prototype.lift = function(t) {
294
- var e = new n();
313
+ return s.prototype.lift = function(t) {
314
+ var e = new s();
295
315
  return e.source = this, e.operator = t, e;
296
- }, n.prototype.subscribe = function(t, e, i) {
297
- var s = this, r = Le(t) ? t : new gt(t, e, i);
316
+ }, s.prototype.subscribe = function(t, e, i) {
317
+ var r = this, n = je(t) ? t : new vt(t, e, i);
298
318
  return W(function() {
299
- var o = s, a = o.operator, c = o.source;
300
- r.add(a ? a.call(r, c) : c ? s._subscribe(r) : s._trySubscribe(r));
301
- }), r;
302
- }, n.prototype._trySubscribe = function(t) {
319
+ var o = r, a = o.operator, c = o.source;
320
+ n.add(a ? a.call(n, c) : c ? r._subscribe(n) : r._trySubscribe(n));
321
+ }), n;
322
+ }, s.prototype._trySubscribe = function(t) {
303
323
  try {
304
324
  return this._subscribe(t);
305
325
  } catch (e) {
306
326
  t.error(e);
307
327
  }
308
- }, n.prototype.forEach = function(t, e) {
328
+ }, s.prototype.forEach = function(t, e) {
309
329
  var i = this;
310
- return e = Ut(e), new e(function(s, r) {
311
- var o = new gt({
330
+ return e = Ut(e), new e(function(r, n) {
331
+ var o = new vt({
312
332
  next: function(a) {
313
333
  try {
314
334
  t(a);
315
335
  } catch (c) {
316
- r(c), o.unsubscribe();
336
+ n(c), o.unsubscribe();
317
337
  }
318
338
  },
319
- error: r,
320
- complete: s
339
+ error: n,
340
+ complete: r
321
341
  });
322
342
  i.subscribe(o);
323
343
  });
324
- }, n.prototype._subscribe = function(t) {
344
+ }, s.prototype._subscribe = function(t) {
325
345
  var e;
326
346
  return (e = this.source) === null || e === void 0 ? void 0 : e.subscribe(t);
327
- }, n.prototype[ke] = function() {
347
+ }, s.prototype[He] = function() {
328
348
  return this;
329
- }, n.prototype.pipe = function() {
349
+ }, s.prototype.pipe = function() {
330
350
  for (var t = [], e = 0; e < arguments.length; e++)
331
351
  t[e] = arguments[e];
332
- return Me(t)(this);
333
- }, n.prototype.toPromise = function(t) {
352
+ return Re(t)(this);
353
+ }, s.prototype.toPromise = function(t) {
334
354
  var e = this;
335
- return t = Ut(t), new t(function(i, s) {
336
- var r;
355
+ return t = Ut(t), new t(function(i, r) {
356
+ var n;
337
357
  e.subscribe(function(o) {
338
- return r = o;
358
+ return n = o;
339
359
  }, function(o) {
340
- return s(o);
360
+ return r(o);
341
361
  }, function() {
342
- return i(r);
362
+ return i(n);
343
363
  });
344
364
  });
345
- }, n.create = function(t) {
346
- return new n(t);
347
- }, n;
365
+ }, s.create = function(t) {
366
+ return new s(t);
367
+ }, s;
348
368
  }();
349
- function Ut(n) {
369
+ function Ut(s) {
350
370
  var t;
351
- return (t = n ?? xe.Promise) !== null && t !== void 0 ? t : Promise;
371
+ return (t = s ?? he.Promise) !== null && t !== void 0 ? t : Promise;
352
372
  }
353
- function He(n) {
354
- return n && v(n.next) && v(n.error) && v(n.complete);
373
+ function Ue(s) {
374
+ return s && b(s.next) && b(s.error) && b(s.complete);
355
375
  }
356
- function Le(n) {
357
- return n && n instanceof ce || He(n) && ae(n);
376
+ function je(s) {
377
+ return s && s instanceof le || Ue(s) && ce(s);
358
378
  }
359
- var Ue = re(function(n) {
379
+ var Ne = oe(function(s) {
360
380
  return function() {
361
- n(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
381
+ s(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
362
382
  };
363
- }), bt = function(n) {
364
- D(t, n);
383
+ }), bt = function(s) {
384
+ D(t, s);
365
385
  function t() {
366
- var e = n.call(this) || this;
386
+ var e = s.call(this) || this;
367
387
  return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
368
388
  }
369
389
  return t.prototype.lift = function(e) {
370
- var i = new Rt(this, this);
390
+ var i = new jt(this, this);
371
391
  return i.operator = e, i;
372
392
  }, t.prototype._throwIfClosed = function() {
373
393
  if (this.closed)
374
- throw new Ue();
394
+ throw new Ne();
375
395
  }, t.prototype.next = function(e) {
376
396
  var i = this;
377
397
  W(function() {
378
- var s, r;
398
+ var r, n;
379
399
  if (i._throwIfClosed(), !i.isStopped) {
380
400
  i.currentObservers || (i.currentObservers = Array.from(i.observers));
381
401
  try {
382
- for (var o = dt(i.currentObservers), a = o.next(); !a.done; a = o.next()) {
402
+ for (var o = pt(i.currentObservers), a = o.next(); !a.done; a = o.next()) {
383
403
  var c = a.value;
384
404
  c.next(e);
385
405
  }
386
406
  } catch (h) {
387
- s = { error: h };
407
+ r = { error: h };
388
408
  } finally {
389
409
  try {
390
- a && !a.done && (r = o.return) && r.call(o);
410
+ a && !a.done && (n = o.return) && n.call(o);
391
411
  } finally {
392
- if (s) throw s.error;
412
+ if (r) throw r.error;
393
413
  }
394
414
  }
395
415
  }
@@ -399,8 +419,8 @@ var Ue = re(function(n) {
399
419
  W(function() {
400
420
  if (i._throwIfClosed(), !i.isStopped) {
401
421
  i.hasError = i.isStopped = !0, i.thrownError = e;
402
- for (var s = i.observers; s.length; )
403
- s.shift().error(e);
422
+ for (var r = i.observers; r.length; )
423
+ r.shift().error(e);
404
424
  }
405
425
  });
406
426
  }, t.prototype.complete = function() {
@@ -422,46 +442,46 @@ var Ue = re(function(n) {
422
442
  enumerable: !1,
423
443
  configurable: !0
424
444
  }), t.prototype._trySubscribe = function(e) {
425
- return this._throwIfClosed(), n.prototype._trySubscribe.call(this, e);
445
+ return this._throwIfClosed(), s.prototype._trySubscribe.call(this, e);
426
446
  }, t.prototype._subscribe = function(e) {
427
447
  return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
428
448
  }, t.prototype._innerSubscribe = function(e) {
429
- var i = this, s = this, r = s.hasError, o = s.isStopped, a = s.observers;
430
- return r || o ? oe : (this.currentObservers = null, a.push(e), new tt(function() {
431
- i.currentObservers = null, ft(a, e);
449
+ var i = this, r = this, n = r.hasError, o = r.isStopped, a = r.observers;
450
+ return n || o ? ae : (this.currentObservers = null, a.push(e), new tt(function() {
451
+ i.currentObservers = null, gt(a, e);
432
452
  }));
433
453
  }, t.prototype._checkFinalizedStatuses = function(e) {
434
- var i = this, s = i.hasError, r = i.thrownError, o = i.isStopped;
435
- s ? e.error(r) : o && e.complete();
454
+ var i = this, r = i.hasError, n = i.thrownError, o = i.isStopped;
455
+ r ? e.error(n) : o && e.complete();
436
456
  }, t.prototype.asObservable = function() {
437
- var e = new Lt();
457
+ var e = new Rt();
438
458
  return e.source = this, e;
439
459
  }, t.create = function(e, i) {
440
- return new Rt(e, i);
460
+ return new jt(e, i);
441
461
  }, t;
442
- }(Lt), Rt = function(n) {
443
- D(t, n);
462
+ }(Rt), jt = function(s) {
463
+ D(t, s);
444
464
  function t(e, i) {
445
- var s = n.call(this) || this;
446
- return s.destination = e, s.source = i, s;
465
+ var r = s.call(this) || this;
466
+ return r.destination = e, r.source = i, r;
447
467
  }
448
468
  return t.prototype.next = function(e) {
449
- var i, s;
450
- (s = (i = this.destination) === null || i === void 0 ? void 0 : i.next) === null || s === void 0 || s.call(i, e);
469
+ var i, r;
470
+ (r = (i = this.destination) === null || i === void 0 ? void 0 : i.next) === null || r === void 0 || r.call(i, e);
451
471
  }, t.prototype.error = function(e) {
452
- var i, s;
453
- (s = (i = this.destination) === null || i === void 0 ? void 0 : i.error) === null || s === void 0 || s.call(i, e);
472
+ var i, r;
473
+ (r = (i = this.destination) === null || i === void 0 ? void 0 : i.error) === null || r === void 0 || r.call(i, e);
454
474
  }, t.prototype.complete = function() {
455
475
  var e, i;
456
476
  (i = (e = this.destination) === null || e === void 0 ? void 0 : e.complete) === null || i === void 0 || i.call(e);
457
477
  }, t.prototype._subscribe = function(e) {
458
- var i, s;
459
- return (s = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(e)) !== null && s !== void 0 ? s : oe;
478
+ var i, r;
479
+ return (r = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(e)) !== null && r !== void 0 ? r : ae;
460
480
  }, t;
461
- }(bt), Re = function(n) {
462
- D(t, n);
481
+ }(bt), de = function(s) {
482
+ D(t, s);
463
483
  function t(e) {
464
- var i = n.call(this) || this;
484
+ var i = s.call(this) || this;
465
485
  return i._value = e, i;
466
486
  }
467
487
  return Object.defineProperty(t.prototype, "value", {
@@ -471,15 +491,15 @@ var Ue = re(function(n) {
471
491
  enumerable: !1,
472
492
  configurable: !0
473
493
  }), t.prototype._subscribe = function(e) {
474
- var i = n.prototype._subscribe.call(this, e);
494
+ var i = s.prototype._subscribe.call(this, e);
475
495
  return !i.closed && e.next(this._value), i;
476
496
  }, t.prototype.getValue = function() {
477
- var e = this, i = e.hasError, s = e.thrownError, r = e._value;
497
+ var e = this, i = e.hasError, r = e.thrownError, n = e._value;
478
498
  if (i)
479
- throw s;
480
- return this._throwIfClosed(), r;
499
+ throw r;
500
+ return this._throwIfClosed(), n;
481
501
  }, t.prototype.next = function(e) {
482
- n.prototype.next.call(this, this._value = e);
502
+ s.prototype.next.call(this, this._value = e);
483
503
  }, t;
484
504
  }(bt);
485
505
  /**
@@ -487,16 +507,16 @@ var Ue = re(function(n) {
487
507
  * Copyright 2019 Google LLC
488
508
  * SPDX-License-Identifier: BSD-3-Clause
489
509
  */
490
- const q = globalThis, vt = q.ShadowRoot && (q.ShadyCSS === void 0 || q.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, $t = Symbol(), Nt = /* @__PURE__ */ new WeakMap();
491
- let he = class {
510
+ const q = globalThis, $t = q.ShadowRoot && (q.ShadyCSS === void 0 || q.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, _t = Symbol(), Nt = /* @__PURE__ */ new WeakMap();
511
+ let pe = class {
492
512
  constructor(t, e, i) {
493
- if (this._$cssResult$ = !0, i !== $t) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
513
+ if (this._$cssResult$ = !0, i !== _t) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
494
514
  this.cssText = t, this.t = e;
495
515
  }
496
516
  get styleSheet() {
497
517
  let t = this.o;
498
518
  const e = this.t;
499
- if (vt && t === void 0) {
519
+ if ($t && t === void 0) {
500
520
  const i = e !== void 0 && e.length === 1;
501
521
  i && (t = Nt.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && Nt.set(e, t));
502
522
  }
@@ -506,58 +526,58 @@ let he = class {
506
526
  return this.cssText;
507
527
  }
508
528
  };
509
- const Ne = (n) => new he(typeof n == "string" ? n : n + "", void 0, $t), O = (n, ...t) => {
510
- const e = n.length === 1 ? n[0] : t.reduce((i, s, r) => i + ((o) => {
529
+ const Ie = (s) => new pe(typeof s == "string" ? s : s + "", void 0, _t), k = (s, ...t) => {
530
+ const e = s.length === 1 ? s[0] : t.reduce((i, r, n) => i + ((o) => {
511
531
  if (o._$cssResult$ === !0) return o.cssText;
512
532
  if (typeof o == "number") return o;
513
533
  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.");
514
- })(s) + n[r + 1], n[0]);
515
- return new he(e, n, $t);
516
- }, je = (n, t) => {
517
- if (vt) n.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
534
+ })(r) + s[n + 1], s[0]);
535
+ return new pe(e, s, _t);
536
+ }, Be = (s, t) => {
537
+ if ($t) s.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
518
538
  else for (const e of t) {
519
- const i = document.createElement("style"), s = q.litNonce;
520
- s !== void 0 && i.setAttribute("nonce", s), i.textContent = e.cssText, n.appendChild(i);
539
+ const i = document.createElement("style"), r = q.litNonce;
540
+ r !== void 0 && i.setAttribute("nonce", r), i.textContent = e.cssText, s.appendChild(i);
521
541
  }
522
- }, jt = vt ? (n) => n : (n) => n instanceof CSSStyleSheet ? ((t) => {
542
+ }, It = $t ? (s) => s : (s) => s instanceof CSSStyleSheet ? ((t) => {
523
543
  let e = "";
524
544
  for (const i of t.cssRules) e += i.cssText;
525
- return Ne(e);
526
- })(n) : n;
545
+ return Ie(e);
546
+ })(s) : s;
527
547
  /**
528
548
  * @license
529
549
  * Copyright 2017 Google LLC
530
550
  * SPDX-License-Identifier: BSD-3-Clause
531
551
  */
532
- const { is: Ie, defineProperty: Be, getOwnPropertyDescriptor: Ve, getOwnPropertyNames: ze, getOwnPropertySymbols: De, getPrototypeOf: Fe } = Object, w = globalThis, It = w.trustedTypes, Ye = It ? It.emptyScript : "", nt = w.reactiveElementPolyfillSupport, R = (n, t) => n, K = { toAttribute(n, t) {
552
+ const { is: Ve, defineProperty: ze, getOwnPropertyDescriptor: De, getOwnPropertyNames: Fe, getOwnPropertySymbols: Ye, getPrototypeOf: Ze } = Object, w = globalThis, Bt = w.trustedTypes, We = Bt ? Bt.emptyScript : "", rt = w.reactiveElementPolyfillSupport, U = (s, t) => s, K = { toAttribute(s, t) {
533
553
  switch (t) {
534
554
  case Boolean:
535
- n = n ? Ye : null;
555
+ s = s ? We : null;
536
556
  break;
537
557
  case Object:
538
558
  case Array:
539
- n = n == null ? n : JSON.stringify(n);
559
+ s = s == null ? s : JSON.stringify(s);
540
560
  }
541
- return n;
542
- }, fromAttribute(n, t) {
543
- let e = n;
561
+ return s;
562
+ }, fromAttribute(s, t) {
563
+ let e = s;
544
564
  switch (t) {
545
565
  case Boolean:
546
- e = n !== null;
566
+ e = s !== null;
547
567
  break;
548
568
  case Number:
549
- e = n === null ? null : Number(n);
569
+ e = s === null ? null : Number(s);
550
570
  break;
551
571
  case Object:
552
572
  case Array:
553
573
  try {
554
- e = JSON.parse(n);
574
+ e = JSON.parse(s);
555
575
  } catch {
556
576
  e = null;
557
577
  }
558
578
  }
559
579
  return e;
560
- } }, _t = (n, t) => !Ie(n, t), Bt = { attribute: !0, type: String, converter: K, reflect: !1, hasChanged: _t };
580
+ } }, wt = (s, t) => !Ve(s, t), Vt = { attribute: !0, type: String, converter: K, reflect: !1, hasChanged: wt };
561
581
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), w.litPropertyMetadata ?? (w.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
562
582
  let T = class extends HTMLElement {
563
583
  static addInitializer(t) {
@@ -566,48 +586,48 @@ let T = class extends HTMLElement {
566
586
  static get observedAttributes() {
567
587
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
568
588
  }
569
- static createProperty(t, e = Bt) {
589
+ static createProperty(t, e = Vt) {
570
590
  if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
571
- const i = Symbol(), s = this.getPropertyDescriptor(t, i, e);
572
- s !== void 0 && Be(this.prototype, t, s);
591
+ const i = Symbol(), r = this.getPropertyDescriptor(t, i, e);
592
+ r !== void 0 && ze(this.prototype, t, r);
573
593
  }
574
594
  }
575
595
  static getPropertyDescriptor(t, e, i) {
576
- const { get: s, set: r } = Ve(this.prototype, t) ?? { get() {
596
+ const { get: r, set: n } = De(this.prototype, t) ?? { get() {
577
597
  return this[e];
578
598
  }, set(o) {
579
599
  this[e] = o;
580
600
  } };
581
601
  return { get() {
582
- return s == null ? void 0 : s.call(this);
602
+ return r == null ? void 0 : r.call(this);
583
603
  }, set(o) {
584
- const a = s == null ? void 0 : s.call(this);
585
- r.call(this, o), this.requestUpdate(t, a, i);
604
+ const a = r == null ? void 0 : r.call(this);
605
+ n.call(this, o), this.requestUpdate(t, a, i);
586
606
  }, configurable: !0, enumerable: !0 };
587
607
  }
588
608
  static getPropertyOptions(t) {
589
- return this.elementProperties.get(t) ?? Bt;
609
+ return this.elementProperties.get(t) ?? Vt;
590
610
  }
591
611
  static _$Ei() {
592
- if (this.hasOwnProperty(R("elementProperties"))) return;
593
- const t = Fe(this);
612
+ if (this.hasOwnProperty(U("elementProperties"))) return;
613
+ const t = Ze(this);
594
614
  t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
595
615
  }
596
616
  static finalize() {
597
- if (this.hasOwnProperty(R("finalized"))) return;
598
- if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(R("properties"))) {
599
- const e = this.properties, i = [...ze(e), ...De(e)];
600
- for (const s of i) this.createProperty(s, e[s]);
617
+ if (this.hasOwnProperty(U("finalized"))) return;
618
+ if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(U("properties"))) {
619
+ const e = this.properties, i = [...Fe(e), ...Ye(e)];
620
+ for (const r of i) this.createProperty(r, e[r]);
601
621
  }
602
622
  const t = this[Symbol.metadata];
603
623
  if (t !== null) {
604
624
  const e = litPropertyMetadata.get(t);
605
- if (e !== void 0) for (const [i, s] of e) this.elementProperties.set(i, s);
625
+ if (e !== void 0) for (const [i, r] of e) this.elementProperties.set(i, r);
606
626
  }
607
627
  this._$Eh = /* @__PURE__ */ new Map();
608
628
  for (const [e, i] of this.elementProperties) {
609
- const s = this._$Eu(e, i);
610
- s !== void 0 && this._$Eh.set(s, e);
629
+ const r = this._$Eu(e, i);
630
+ r !== void 0 && this._$Eh.set(r, e);
611
631
  }
612
632
  this.elementStyles = this.finalizeStyles(this.styles);
613
633
  }
@@ -615,8 +635,8 @@ let T = class extends HTMLElement {
615
635
  const e = [];
616
636
  if (Array.isArray(t)) {
617
637
  const i = new Set(t.flat(1 / 0).reverse());
618
- for (const s of i) e.unshift(jt(s));
619
- } else t !== void 0 && e.push(jt(t));
638
+ for (const r of i) e.unshift(It(r));
639
+ } else t !== void 0 && e.push(It(t));
620
640
  return e;
621
641
  }
622
642
  static _$Eu(t, e) {
@@ -645,7 +665,7 @@ let T = class extends HTMLElement {
645
665
  }
646
666
  createRenderRoot() {
647
667
  const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
648
- return je(t, this.constructor.elementStyles), t;
668
+ return Be(t, this.constructor.elementStyles), t;
649
669
  }
650
670
  connectedCallback() {
651
671
  var t;
@@ -667,24 +687,24 @@ let T = class extends HTMLElement {
667
687
  this._$AK(t, i);
668
688
  }
669
689
  _$EC(t, e) {
670
- var r;
671
- const i = this.constructor.elementProperties.get(t), s = this.constructor._$Eu(t, i);
672
- if (s !== void 0 && i.reflect === !0) {
673
- const o = (((r = i.converter) == null ? void 0 : r.toAttribute) !== void 0 ? i.converter : K).toAttribute(e, i.type);
674
- this._$Em = t, o == null ? this.removeAttribute(s) : this.setAttribute(s, o), this._$Em = null;
690
+ var n;
691
+ const i = this.constructor.elementProperties.get(t), r = this.constructor._$Eu(t, i);
692
+ if (r !== void 0 && i.reflect === !0) {
693
+ const o = (((n = i.converter) == null ? void 0 : n.toAttribute) !== void 0 ? i.converter : K).toAttribute(e, i.type);
694
+ this._$Em = t, o == null ? this.removeAttribute(r) : this.setAttribute(r, o), this._$Em = null;
675
695
  }
676
696
  }
677
697
  _$AK(t, e) {
678
- var r;
679
- const i = this.constructor, s = i._$Eh.get(t);
680
- if (s !== void 0 && this._$Em !== s) {
681
- const o = i.getPropertyOptions(s), a = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((r = o.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? o.converter : K;
682
- this._$Em = s, this[s] = a.fromAttribute(e, o.type), this._$Em = null;
698
+ var n;
699
+ const i = this.constructor, r = i._$Eh.get(t);
700
+ if (r !== void 0 && this._$Em !== r) {
701
+ const o = i.getPropertyOptions(r), a = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((n = o.converter) == null ? void 0 : n.fromAttribute) !== void 0 ? o.converter : K;
702
+ this._$Em = r, this[r] = a.fromAttribute(e, o.type), this._$Em = null;
683
703
  }
684
704
  }
685
705
  requestUpdate(t, e, i) {
686
706
  if (t !== void 0) {
687
- if (i ?? (i = this.constructor.getPropertyOptions(t)), !(i.hasChanged ?? _t)(this[t], e)) return;
707
+ if (i ?? (i = this.constructor.getPropertyOptions(t)), !(i.hasChanged ?? wt)(this[t], e)) return;
688
708
  this.P(t, e, i);
689
709
  }
690
710
  this.isUpdatePending === !1 && (this._$ES = this._$ET());
@@ -710,21 +730,21 @@ let T = class extends HTMLElement {
710
730
  if (!this.isUpdatePending) return;
711
731
  if (!this.hasUpdated) {
712
732
  if (this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this._$Ep) {
713
- for (const [r, o] of this._$Ep) this[r] = o;
733
+ for (const [n, o] of this._$Ep) this[n] = o;
714
734
  this._$Ep = void 0;
715
735
  }
716
- const s = this.constructor.elementProperties;
717
- if (s.size > 0) for (const [r, o] of s) o.wrapped !== !0 || this._$AL.has(r) || this[r] === void 0 || this.P(r, this[r], o);
736
+ const r = this.constructor.elementProperties;
737
+ if (r.size > 0) for (const [n, o] of r) o.wrapped !== !0 || this._$AL.has(n) || this[n] === void 0 || this.P(n, this[n], o);
718
738
  }
719
739
  let t = !1;
720
740
  const e = this._$AL;
721
741
  try {
722
- t = this.shouldUpdate(e), t ? (this.willUpdate(e), (i = this._$EO) == null || i.forEach((s) => {
723
- var r;
724
- return (r = s.hostUpdate) == null ? void 0 : r.call(s);
742
+ t = this.shouldUpdate(e), t ? (this.willUpdate(e), (i = this._$EO) == null || i.forEach((r) => {
743
+ var n;
744
+ return (n = r.hostUpdate) == null ? void 0 : n.call(r);
725
745
  }), this.update(e)) : this._$EU();
726
- } catch (s) {
727
- throw t = !1, this._$EU(), s;
746
+ } catch (r) {
747
+ throw t = !1, this._$EU(), r;
728
748
  }
729
749
  t && this._$AE(e);
730
750
  }
@@ -733,8 +753,8 @@ let T = class extends HTMLElement {
733
753
  _$AE(t) {
734
754
  var e;
735
755
  (e = this._$EO) == null || e.forEach((i) => {
736
- var s;
737
- return (s = i.hostUpdated) == null ? void 0 : s.call(i);
756
+ var r;
757
+ return (r = i.hostUpdated) == null ? void 0 : r.call(i);
738
758
  }), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
739
759
  }
740
760
  _$EU() {
@@ -757,61 +777,61 @@ let T = class extends HTMLElement {
757
777
  firstUpdated(t) {
758
778
  }
759
779
  };
760
- T.elementStyles = [], T.shadowRootOptions = { mode: "open" }, T[R("elementProperties")] = /* @__PURE__ */ new Map(), T[R("finalized")] = /* @__PURE__ */ new Map(), nt == null || nt({ ReactiveElement: T }), (w.reactiveElementVersions ?? (w.reactiveElementVersions = [])).push("2.0.4");
780
+ T.elementStyles = [], T.shadowRootOptions = { mode: "open" }, T[U("elementProperties")] = /* @__PURE__ */ new Map(), T[U("finalized")] = /* @__PURE__ */ new Map(), rt == null || rt({ ReactiveElement: T }), (w.reactiveElementVersions ?? (w.reactiveElementVersions = [])).push("2.0.4");
761
781
  /**
762
782
  * @license
763
783
  * Copyright 2017 Google LLC
764
784
  * SPDX-License-Identifier: BSD-3-Clause
765
785
  */
766
- const N = globalThis, G = N.trustedTypes, Vt = G ? G.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, le = "$lit$", _ = `lit$${Math.random().toFixed(9).slice(2)}$`, de = "?" + _, Ze = `<${de}>`, S = document, I = () => S.createComment(""), B = (n) => n === null || typeof n != "object" && typeof n != "function", wt = Array.isArray, We = (n) => wt(n) || typeof (n == null ? void 0 : n[Symbol.iterator]) == "function", st = `[
767
- \f\r]`, U = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, zt = /-->/g, Dt = />/g, A = RegExp(`>|${st}(?:([^\\s"'>=/]+)(${st}*=${st}*(?:[^
768
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Ft = /'/g, Yt = /"/g, ue = /^(?:script|style|textarea|title)$/i, pe = (n) => (t, ...e) => ({ _$litType$: n, strings: t, values: e }), C = pe(1), qe = pe(2), P = Symbol.for("lit-noChange"), u = Symbol.for("lit-nothing"), Zt = /* @__PURE__ */ new WeakMap(), E = S.createTreeWalker(S, 129);
769
- function fe(n, t) {
770
- if (!wt(n) || !n.hasOwnProperty("raw")) throw Error("invalid template strings array");
771
- return Vt !== void 0 ? Vt.createHTML(t) : t;
786
+ const j = globalThis, G = j.trustedTypes, zt = G ? G.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, ue = "$lit$", _ = `lit$${Math.random().toFixed(9).slice(2)}$`, fe = "?" + _, qe = `<${fe}>`, S = document, I = () => S.createComment(""), B = (s) => s === null || typeof s != "object" && typeof s != "function", At = Array.isArray, Ke = (s) => At(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", nt = `[
787
+ \f\r]`, R = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Dt = /-->/g, Ft = />/g, A = RegExp(`>|${nt}(?:([^\\s"'>=/]+)(${nt}*=${nt}*(?:[^
788
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Yt = /'/g, Zt = /"/g, ge = /^(?:script|style|textarea|title)$/i, ve = (s) => (t, ...e) => ({ _$litType$: s, strings: t, values: e }), C = ve(1), Ge = ve(2), P = Symbol.for("lit-noChange"), p = Symbol.for("lit-nothing"), Wt = /* @__PURE__ */ new WeakMap(), E = S.createTreeWalker(S, 129);
789
+ function me(s, t) {
790
+ if (!At(s) || !s.hasOwnProperty("raw")) throw Error("invalid template strings array");
791
+ return zt !== void 0 ? zt.createHTML(t) : t;
772
792
  }
773
- const Ke = (n, t) => {
774
- const e = n.length - 1, i = [];
775
- let s, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", o = U;
793
+ const Xe = (s, t) => {
794
+ const e = s.length - 1, i = [];
795
+ let r, n = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", o = R;
776
796
  for (let a = 0; a < e; a++) {
777
- const c = n[a];
778
- let h, l, d = -1, p = 0;
779
- for (; p < c.length && (o.lastIndex = p, l = o.exec(c), l !== null); ) p = o.lastIndex, o === U ? l[1] === "!--" ? o = zt : l[1] !== void 0 ? o = Dt : l[2] !== void 0 ? (ue.test(l[2]) && (s = RegExp("</" + l[2], "g")), o = A) : l[3] !== void 0 && (o = A) : o === A ? l[0] === ">" ? (o = s ?? U, d = -1) : l[1] === void 0 ? d = -2 : (d = o.lastIndex - l[2].length, h = l[1], o = l[3] === void 0 ? A : l[3] === '"' ? Yt : Ft) : o === Yt || o === Ft ? o = A : o === zt || o === Dt ? o = U : (o = A, s = void 0);
780
- const f = o === A && n[a + 1].startsWith("/>") ? " " : "";
781
- r += o === U ? c + Ze : d >= 0 ? (i.push(h), c.slice(0, d) + le + c.slice(d) + _ + f) : c + _ + (d === -2 ? a : f);
797
+ const c = s[a];
798
+ let h, l, d = -1, u = 0;
799
+ for (; u < c.length && (o.lastIndex = u, l = o.exec(c), l !== null); ) u = o.lastIndex, o === R ? l[1] === "!--" ? o = Dt : l[1] !== void 0 ? o = Ft : l[2] !== void 0 ? (ge.test(l[2]) && (r = RegExp("</" + l[2], "g")), o = A) : l[3] !== void 0 && (o = A) : o === A ? l[0] === ">" ? (o = r ?? R, d = -1) : l[1] === void 0 ? d = -2 : (d = o.lastIndex - l[2].length, h = l[1], o = l[3] === void 0 ? A : l[3] === '"' ? Zt : Yt) : o === Zt || o === Yt ? o = A : o === Dt || o === Ft ? o = R : (o = A, r = void 0);
800
+ const f = o === A && s[a + 1].startsWith("/>") ? " " : "";
801
+ n += o === R ? c + qe : d >= 0 ? (i.push(h), c.slice(0, d) + ue + c.slice(d) + _ + f) : c + _ + (d === -2 ? a : f);
782
802
  }
783
- return [fe(n, r + (n[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
803
+ return [me(s, n + (s[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
784
804
  };
785
- let mt = class ge {
805
+ let mt = class ye {
786
806
  constructor({ strings: t, _$litType$: e }, i) {
787
- let s;
807
+ let r;
788
808
  this.parts = [];
789
- let r = 0, o = 0;
790
- const a = t.length - 1, c = this.parts, [h, l] = Ke(t, e);
791
- if (this.el = ge.createElement(h, i), E.currentNode = this.el.content, e === 2 || e === 3) {
809
+ let n = 0, o = 0;
810
+ const a = t.length - 1, c = this.parts, [h, l] = Xe(t, e);
811
+ if (this.el = ye.createElement(h, i), E.currentNode = this.el.content, e === 2 || e === 3) {
792
812
  const d = this.el.content.firstChild;
793
813
  d.replaceWith(...d.childNodes);
794
814
  }
795
- for (; (s = E.nextNode()) !== null && c.length < a; ) {
796
- if (s.nodeType === 1) {
797
- if (s.hasAttributes()) for (const d of s.getAttributeNames()) if (d.endsWith(le)) {
798
- const p = l[o++], f = s.getAttribute(d).split(_), k = /([.?@])?(.*)/.exec(p);
799
- c.push({ type: 1, index: r, name: k[2], strings: f, ctor: k[1] === "." ? Xe : k[1] === "?" ? Je : k[1] === "@" ? Qe : et }), s.removeAttribute(d);
800
- } else d.startsWith(_) && (c.push({ type: 6, index: r }), s.removeAttribute(d));
801
- if (ue.test(s.tagName)) {
802
- const d = s.textContent.split(_), p = d.length - 1;
803
- if (p > 0) {
804
- s.textContent = G ? G.emptyScript : "";
805
- for (let f = 0; f < p; f++) s.append(d[f], I()), E.nextNode(), c.push({ type: 2, index: ++r });
806
- s.append(d[p], I());
815
+ for (; (r = E.nextNode()) !== null && c.length < a; ) {
816
+ if (r.nodeType === 1) {
817
+ if (r.hasAttributes()) for (const d of r.getAttributeNames()) if (d.endsWith(ue)) {
818
+ const u = l[o++], f = r.getAttribute(d).split(_), O = /([.?@])?(.*)/.exec(u);
819
+ c.push({ type: 1, index: n, name: O[2], strings: f, ctor: O[1] === "." ? Qe : O[1] === "?" ? ti : O[1] === "@" ? ei : et }), r.removeAttribute(d);
820
+ } else d.startsWith(_) && (c.push({ type: 6, index: n }), r.removeAttribute(d));
821
+ if (ge.test(r.tagName)) {
822
+ const d = r.textContent.split(_), u = d.length - 1;
823
+ if (u > 0) {
824
+ r.textContent = G ? G.emptyScript : "";
825
+ for (let f = 0; f < u; f++) r.append(d[f], I()), E.nextNode(), c.push({ type: 2, index: ++n });
826
+ r.append(d[u], I());
807
827
  }
808
828
  }
809
- } else if (s.nodeType === 8) if (s.data === de) c.push({ type: 2, index: r });
829
+ } else if (r.nodeType === 8) if (r.data === fe) c.push({ type: 2, index: n });
810
830
  else {
811
831
  let d = -1;
812
- for (; (d = s.data.indexOf(_, d + 1)) !== -1; ) c.push({ type: 7, index: r }), d += _.length - 1;
832
+ for (; (d = r.data.indexOf(_, d + 1)) !== -1; ) c.push({ type: 7, index: n }), d += _.length - 1;
813
833
  }
814
- r++;
834
+ n++;
815
835
  }
816
836
  }
817
837
  static createElement(t, e) {
@@ -819,14 +839,14 @@ let mt = class ge {
819
839
  return i.innerHTML = t, i;
820
840
  }
821
841
  };
822
- function M(n, t, e = n, i) {
842
+ function M(s, t, e = s, i) {
823
843
  var o, a;
824
844
  if (t === P) return t;
825
- let s = i !== void 0 ? (o = e._$Co) == null ? void 0 : o[i] : e._$Cl;
826
- const r = B(t) ? void 0 : t._$litDirective$;
827
- return (s == null ? void 0 : s.constructor) !== r && ((a = s == null ? void 0 : s._$AO) == null || a.call(s, !1), r === void 0 ? s = void 0 : (s = new r(n), s._$AT(n, e, i)), i !== void 0 ? (e._$Co ?? (e._$Co = []))[i] = s : e._$Cl = s), s !== void 0 && (t = M(n, s._$AS(n, t.values), s, i)), t;
845
+ let r = i !== void 0 ? (o = e._$Co) == null ? void 0 : o[i] : e._$Cl;
846
+ const n = B(t) ? void 0 : t._$litDirective$;
847
+ return (r == null ? void 0 : r.constructor) !== n && ((a = r == null ? void 0 : r._$AO) == null || a.call(r, !1), n === void 0 ? r = void 0 : (r = new n(s), r._$AT(s, e, i)), i !== void 0 ? (e._$Co ?? (e._$Co = []))[i] = r : e._$Cl = r), r !== void 0 && (t = M(s, r._$AS(s, t.values), r, i)), t;
828
848
  }
829
- class Ge {
849
+ class Je {
830
850
  constructor(t, e) {
831
851
  this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
832
852
  }
@@ -837,17 +857,17 @@ class Ge {
837
857
  return this._$AM._$AU;
838
858
  }
839
859
  u(t) {
840
- const { el: { content: e }, parts: i } = this._$AD, s = ((t == null ? void 0 : t.creationScope) ?? S).importNode(e, !0);
841
- E.currentNode = s;
842
- let r = E.nextNode(), o = 0, a = 0, c = i[0];
860
+ const { el: { content: e }, parts: i } = this._$AD, r = ((t == null ? void 0 : t.creationScope) ?? S).importNode(e, !0);
861
+ E.currentNode = r;
862
+ let n = E.nextNode(), o = 0, a = 0, c = i[0];
843
863
  for (; c !== void 0; ) {
844
864
  if (o === c.index) {
845
865
  let h;
846
- c.type === 2 ? h = new F(r, r.nextSibling, this, t) : c.type === 1 ? h = new c.ctor(r, c.name, c.strings, this, t) : c.type === 6 && (h = new ti(r, this, t)), this._$AV.push(h), c = i[++a];
866
+ c.type === 2 ? h = new F(n, n.nextSibling, this, t) : c.type === 1 ? h = new c.ctor(n, c.name, c.strings, this, t) : c.type === 6 && (h = new ii(n, this, t)), this._$AV.push(h), c = i[++a];
847
867
  }
848
- o !== (c == null ? void 0 : c.index) && (r = E.nextNode(), o++);
868
+ o !== (c == null ? void 0 : c.index) && (n = E.nextNode(), o++);
849
869
  }
850
- return E.currentNode = S, s;
870
+ return E.currentNode = S, r;
851
871
  }
852
872
  p(t) {
853
873
  let e = 0;
@@ -859,8 +879,8 @@ class F {
859
879
  var t;
860
880
  return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
861
881
  }
862
- constructor(t, e, i, s) {
863
- this.type = 2, this._$AH = u, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = i, this.options = s, this._$Cv = (s == null ? void 0 : s.isConnected) ?? !0;
882
+ constructor(t, e, i, r) {
883
+ this.type = 2, this._$AH = p, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = i, this.options = r, this._$Cv = (r == null ? void 0 : r.isConnected) ?? !0;
864
884
  }
865
885
  get parentNode() {
866
886
  let t = this._$AA.parentNode;
@@ -874,7 +894,7 @@ class F {
874
894
  return this._$AB;
875
895
  }
876
896
  _$AI(t, e = this) {
877
- t = M(this, t, e), B(t) ? t === u || t == null || t === "" ? (this._$AH !== u && this._$AR(), this._$AH = u) : t !== this._$AH && t !== P && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : We(t) ? this.k(t) : this._(t);
897
+ t = M(this, t, e), B(t) ? t === p || t == null || t === "" ? (this._$AH !== p && this._$AR(), this._$AH = p) : t !== this._$AH && t !== P && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Ke(t) ? this.k(t) : this._(t);
878
898
  }
879
899
  O(t) {
880
900
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -883,33 +903,33 @@ class F {
883
903
  this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
884
904
  }
885
905
  _(t) {
886
- this._$AH !== u && B(this._$AH) ? this._$AA.nextSibling.data = t : this.T(S.createTextNode(t)), this._$AH = t;
906
+ this._$AH !== p && B(this._$AH) ? this._$AA.nextSibling.data = t : this.T(S.createTextNode(t)), this._$AH = t;
887
907
  }
888
908
  $(t) {
889
- var r;
890
- const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = mt.createElement(fe(i.h, i.h[0]), this.options)), i);
891
- if (((r = this._$AH) == null ? void 0 : r._$AD) === s) this._$AH.p(e);
909
+ var n;
910
+ const { values: e, _$litType$: i } = t, r = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = mt.createElement(me(i.h, i.h[0]), this.options)), i);
911
+ if (((n = this._$AH) == null ? void 0 : n._$AD) === r) this._$AH.p(e);
892
912
  else {
893
- const o = new Ge(s, this), a = o.u(this.options);
913
+ const o = new Je(r, this), a = o.u(this.options);
894
914
  o.p(e), this.T(a), this._$AH = o;
895
915
  }
896
916
  }
897
917
  _$AC(t) {
898
- let e = Zt.get(t.strings);
899
- return e === void 0 && Zt.set(t.strings, e = new mt(t)), e;
918
+ let e = Wt.get(t.strings);
919
+ return e === void 0 && Wt.set(t.strings, e = new mt(t)), e;
900
920
  }
901
921
  k(t) {
902
- wt(this._$AH) || (this._$AH = [], this._$AR());
922
+ At(this._$AH) || (this._$AH = [], this._$AR());
903
923
  const e = this._$AH;
904
- let i, s = 0;
905
- for (const r of t) s === e.length ? e.push(i = new F(this.O(I()), this.O(I()), this, this.options)) : i = e[s], i._$AI(r), s++;
906
- s < e.length && (this._$AR(i && i._$AB.nextSibling, s), e.length = s);
924
+ let i, r = 0;
925
+ for (const n of t) r === e.length ? e.push(i = new F(this.O(I()), this.O(I()), this, this.options)) : i = e[r], i._$AI(n), r++;
926
+ r < e.length && (this._$AR(i && i._$AB.nextSibling, r), e.length = r);
907
927
  }
908
928
  _$AR(t = this._$AA.nextSibling, e) {
909
929
  var i;
910
930
  for ((i = this._$AP) == null ? void 0 : i.call(this, !1, !0, e); t && t !== this._$AB; ) {
911
- const s = t.nextSibling;
912
- t.remove(), t = s;
931
+ const r = t.nextSibling;
932
+ t.remove(), t = r;
913
933
  }
914
934
  }
915
935
  setConnected(t) {
@@ -924,55 +944,55 @@ class et {
924
944
  get _$AU() {
925
945
  return this._$AM._$AU;
926
946
  }
927
- constructor(t, e, i, s, r) {
928
- this.type = 1, this._$AH = u, this._$AN = void 0, this.element = t, this.name = e, this._$AM = s, this.options = r, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = u;
947
+ constructor(t, e, i, r, n) {
948
+ this.type = 1, this._$AH = p, this._$AN = void 0, this.element = t, this.name = e, this._$AM = r, this.options = n, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = p;
929
949
  }
930
- _$AI(t, e = this, i, s) {
931
- const r = this.strings;
950
+ _$AI(t, e = this, i, r) {
951
+ const n = this.strings;
932
952
  let o = !1;
933
- if (r === void 0) t = M(this, t, e, 0), o = !B(t) || t !== this._$AH && t !== P, o && (this._$AH = t);
953
+ if (n === void 0) t = M(this, t, e, 0), o = !B(t) || t !== this._$AH && t !== P, o && (this._$AH = t);
934
954
  else {
935
955
  const a = t;
936
956
  let c, h;
937
- for (t = r[0], c = 0; c < r.length - 1; c++) h = M(this, a[i + c], e, c), h === P && (h = this._$AH[c]), o || (o = !B(h) || h !== this._$AH[c]), h === u ? t = u : t !== u && (t += (h ?? "") + r[c + 1]), this._$AH[c] = h;
957
+ for (t = n[0], c = 0; c < n.length - 1; c++) h = M(this, a[i + c], e, c), h === P && (h = this._$AH[c]), o || (o = !B(h) || h !== this._$AH[c]), h === p ? t = p : t !== p && (t += (h ?? "") + n[c + 1]), this._$AH[c] = h;
938
958
  }
939
- o && !s && this.j(t);
959
+ o && !r && this.j(t);
940
960
  }
941
961
  j(t) {
942
- t === u ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
962
+ t === p ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
943
963
  }
944
964
  }
945
- class Xe extends et {
965
+ class Qe extends et {
946
966
  constructor() {
947
967
  super(...arguments), this.type = 3;
948
968
  }
949
969
  j(t) {
950
- this.element[this.name] = t === u ? void 0 : t;
970
+ this.element[this.name] = t === p ? void 0 : t;
951
971
  }
952
972
  }
953
- class Je extends et {
973
+ class ti extends et {
954
974
  constructor() {
955
975
  super(...arguments), this.type = 4;
956
976
  }
957
977
  j(t) {
958
- this.element.toggleAttribute(this.name, !!t && t !== u);
978
+ this.element.toggleAttribute(this.name, !!t && t !== p);
959
979
  }
960
980
  }
961
- class Qe extends et {
962
- constructor(t, e, i, s, r) {
963
- super(t, e, i, s, r), this.type = 5;
981
+ class ei extends et {
982
+ constructor(t, e, i, r, n) {
983
+ super(t, e, i, r, n), this.type = 5;
964
984
  }
965
985
  _$AI(t, e = this) {
966
- if ((t = M(this, t, e, 0) ?? u) === P) return;
967
- const i = this._$AH, s = t === u && i !== u || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, r = t !== u && (i === u || s);
968
- s && this.element.removeEventListener(this.name, this, i), r && this.element.addEventListener(this.name, this, t), this._$AH = t;
986
+ if ((t = M(this, t, e, 0) ?? p) === P) return;
987
+ const i = this._$AH, r = t === p && i !== p || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, n = t !== p && (i === p || r);
988
+ r && this.element.removeEventListener(this.name, this, i), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
969
989
  }
970
990
  handleEvent(t) {
971
991
  var e;
972
992
  typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, t) : this._$AH.handleEvent(t);
973
993
  }
974
994
  }
975
- class ti {
995
+ class ii {
976
996
  constructor(t, e, i) {
977
997
  this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
978
998
  }
@@ -983,23 +1003,23 @@ class ti {
983
1003
  M(this, t);
984
1004
  }
985
1005
  }
986
- const rt = N.litHtmlPolyfillSupport;
987
- rt == null || rt(mt, F), (N.litHtmlVersions ?? (N.litHtmlVersions = [])).push("3.2.1");
988
- const ei = (n, t, e) => {
1006
+ const ot = j.litHtmlPolyfillSupport;
1007
+ ot == null || ot(mt, F), (j.litHtmlVersions ?? (j.litHtmlVersions = [])).push("3.2.1");
1008
+ const si = (s, t, e) => {
989
1009
  const i = (e == null ? void 0 : e.renderBefore) ?? t;
990
- let s = i._$litPart$;
991
- if (s === void 0) {
992
- const r = (e == null ? void 0 : e.renderBefore) ?? null;
993
- i._$litPart$ = s = new F(t.insertBefore(I(), r), r, void 0, e ?? {});
1010
+ let r = i._$litPart$;
1011
+ if (r === void 0) {
1012
+ const n = (e == null ? void 0 : e.renderBefore) ?? null;
1013
+ i._$litPart$ = r = new F(t.insertBefore(I(), n), n, void 0, e ?? {});
994
1014
  }
995
- return s._$AI(n), s;
1015
+ return r._$AI(s), r;
996
1016
  };
997
1017
  /**
998
1018
  * @license
999
1019
  * Copyright 2017 Google LLC
1000
1020
  * SPDX-License-Identifier: BSD-3-Clause
1001
1021
  */
1002
- let y = class extends T {
1022
+ let m = class extends T {
1003
1023
  constructor() {
1004
1024
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
1005
1025
  }
@@ -1010,7 +1030,7 @@ let y = class extends T {
1010
1030
  }
1011
1031
  update(t) {
1012
1032
  const e = this.render();
1013
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = ei(e, this.renderRoot, this.renderOptions);
1033
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = si(e, this.renderRoot, this.renderOptions);
1014
1034
  }
1015
1035
  connectedCallback() {
1016
1036
  var t;
@@ -1024,57 +1044,57 @@ let y = class extends T {
1024
1044
  return P;
1025
1045
  }
1026
1046
  };
1027
- var se;
1028
- y._$litElement$ = !0, y.finalized = !0, (se = globalThis.litElementHydrateSupport) == null || se.call(globalThis, { LitElement: y });
1029
- const ot = globalThis.litElementPolyfillSupport;
1030
- ot == null || ot({ LitElement: y });
1047
+ var ne;
1048
+ m._$litElement$ = !0, m.finalized = !0, (ne = globalThis.litElementHydrateSupport) == null || ne.call(globalThis, { LitElement: m });
1049
+ const at = globalThis.litElementPolyfillSupport;
1050
+ at == null || at({ LitElement: m });
1031
1051
  (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.1.1");
1032
1052
  /**
1033
1053
  * @license
1034
1054
  * Copyright 2017 Google LLC
1035
1055
  * SPDX-License-Identifier: BSD-3-Clause
1036
1056
  */
1037
- const ii = { attribute: !0, type: String, converter: K, reflect: !1, hasChanged: _t }, ni = (n = ii, t, e) => {
1038
- const { kind: i, metadata: s } = e;
1039
- let r = globalThis.litPropertyMetadata.get(s);
1040
- if (r === void 0 && globalThis.litPropertyMetadata.set(s, r = /* @__PURE__ */ new Map()), r.set(e.name, n), i === "accessor") {
1057
+ const ri = { attribute: !0, type: String, converter: K, reflect: !1, hasChanged: wt }, ni = (s = ri, t, e) => {
1058
+ const { kind: i, metadata: r } = e;
1059
+ let n = globalThis.litPropertyMetadata.get(r);
1060
+ if (n === void 0 && globalThis.litPropertyMetadata.set(r, n = /* @__PURE__ */ new Map()), n.set(e.name, s), i === "accessor") {
1041
1061
  const { name: o } = e;
1042
1062
  return { set(a) {
1043
1063
  const c = t.get.call(this);
1044
- t.set.call(this, a), this.requestUpdate(o, c, n);
1064
+ t.set.call(this, a), this.requestUpdate(o, c, s);
1045
1065
  }, init(a) {
1046
- return a !== void 0 && this.P(o, void 0, n), a;
1066
+ return a !== void 0 && this.P(o, void 0, s), a;
1047
1067
  } };
1048
1068
  }
1049
1069
  if (i === "setter") {
1050
1070
  const { name: o } = e;
1051
1071
  return function(a) {
1052
1072
  const c = this[o];
1053
- t.call(this, a), this.requestUpdate(o, c, n);
1073
+ t.call(this, a), this.requestUpdate(o, c, s);
1054
1074
  };
1055
1075
  }
1056
1076
  throw Error("Unsupported decorator location: " + i);
1057
1077
  };
1058
- function g(n) {
1059
- return (t, e) => typeof e == "object" ? ni(n, t, e) : ((i, s, r) => {
1060
- const o = s.hasOwnProperty(r);
1061
- return s.constructor.createProperty(r, o ? { ...i, wrapped: !0 } : i), o ? Object.getOwnPropertyDescriptor(s, r) : void 0;
1062
- })(n, t, e);
1078
+ function g(s) {
1079
+ return (t, e) => typeof e == "object" ? ni(s, t, e) : ((i, r, n) => {
1080
+ const o = r.hasOwnProperty(n);
1081
+ return r.constructor.createProperty(n, o ? { ...i, wrapped: !0 } : i), o ? Object.getOwnPropertyDescriptor(r, n) : void 0;
1082
+ })(s, t, e);
1063
1083
  }
1064
1084
  /**
1065
1085
  * @license
1066
1086
  * Copyright 2017 Google LLC
1067
1087
  * SPDX-License-Identifier: BSD-3-Clause
1068
1088
  */
1069
- function L(n) {
1070
- return g({ ...n, state: !0, attribute: !1 });
1089
+ function L(s) {
1090
+ return g({ ...s, state: !0, attribute: !1 });
1071
1091
  }
1072
- var si = Object.defineProperty, ri = (n, t, e, i) => {
1073
- for (var s = void 0, r = n.length - 1, o; r >= 0; r--)
1074
- (o = n[r]) && (s = o(t, e, s) || s);
1075
- return s && si(t, e, s), s;
1092
+ var oi = Object.defineProperty, ai = (s, t, e, i) => {
1093
+ for (var r = void 0, n = s.length - 1, o; n >= 0; n--)
1094
+ (o = s[n]) && (r = o(t, e, r) || r);
1095
+ return r && oi(t, e, r), r;
1076
1096
  };
1077
- const Et = class Et extends y {
1097
+ const St = class St extends m {
1078
1098
  constructor() {
1079
1099
  super(...arguments), this.anchor = "BottomRight";
1080
1100
  }
@@ -1083,11 +1103,11 @@ const Et = class Et extends y {
1083
1103
  return (e = this.shadowRoot) == null || e.appendChild(t), t;
1084
1104
  }
1085
1105
  render() {
1086
- return this.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right"), u;
1106
+ return this.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right"), p;
1087
1107
  }
1088
1108
  };
1089
- Et.styles = [
1090
- O`
1109
+ St.styles = [
1110
+ k`
1091
1111
  :host {
1092
1112
  position: fixed;
1093
1113
  display: flex;
@@ -1105,8 +1125,8 @@ Et.styles = [
1105
1125
  }
1106
1126
  `
1107
1127
  ];
1108
- let X = Et;
1109
- ri([
1128
+ let X = St;
1129
+ ai([
1110
1130
  g({ attribute: !0 })
1111
1131
  ], X.prototype, "anchor");
1112
1132
  /**
@@ -1114,8 +1134,8 @@ ri([
1114
1134
  * Copyright 2017 Google LLC
1115
1135
  * SPDX-License-Identifier: BSD-3-Clause
1116
1136
  */
1117
- const At = { ATTRIBUTE: 1, CHILD: 2 }, xt = (n) => (...t) => ({ _$litDirective$: n, values: t });
1118
- let me = class {
1137
+ const xt = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, Ct = (s) => (...t) => ({ _$litDirective$: s, values: t });
1138
+ let be = class {
1119
1139
  constructor(t) {
1120
1140
  }
1121
1141
  get _$AU() {
@@ -1136,57 +1156,57 @@ let me = class {
1136
1156
  * Copyright 2020 Google LLC
1137
1157
  * SPDX-License-Identifier: BSD-3-Clause
1138
1158
  */
1139
- const oi = (n) => n.strings === void 0;
1159
+ const ci = (s) => s.strings === void 0;
1140
1160
  /**
1141
1161
  * @license
1142
1162
  * Copyright 2017 Google LLC
1143
1163
  * SPDX-License-Identifier: BSD-3-Clause
1144
1164
  */
1145
- const j = (n, t) => {
1165
+ const N = (s, t) => {
1146
1166
  var i;
1147
- const e = n._$AN;
1167
+ const e = s._$AN;
1148
1168
  if (e === void 0) return !1;
1149
- for (const s of e) (i = s._$AO) == null || i.call(s, t, !1), j(s, t);
1169
+ for (const r of e) (i = r._$AO) == null || i.call(r, t, !1), N(r, t);
1150
1170
  return !0;
1151
- }, J = (n) => {
1171
+ }, J = (s) => {
1152
1172
  let t, e;
1153
1173
  do {
1154
- if ((t = n._$AM) === void 0) break;
1155
- e = t._$AN, e.delete(n), n = t;
1174
+ if ((t = s._$AM) === void 0) break;
1175
+ e = t._$AN, e.delete(s), s = t;
1156
1176
  } while ((e == null ? void 0 : e.size) === 0);
1157
- }, ye = (n) => {
1158
- for (let t; t = n._$AM; n = t) {
1177
+ }, $e = (s) => {
1178
+ for (let t; t = s._$AM; s = t) {
1159
1179
  let e = t._$AN;
1160
1180
  if (e === void 0) t._$AN = e = /* @__PURE__ */ new Set();
1161
- else if (e.has(n)) break;
1162
- e.add(n), hi(t);
1181
+ else if (e.has(s)) break;
1182
+ e.add(s), di(t);
1163
1183
  }
1164
1184
  };
1165
- function ai(n) {
1166
- this._$AN !== void 0 ? (J(this), this._$AM = n, ye(this)) : this._$AM = n;
1185
+ function hi(s) {
1186
+ this._$AN !== void 0 ? (J(this), this._$AM = s, $e(this)) : this._$AM = s;
1167
1187
  }
1168
- function ci(n, t = !1, e = 0) {
1169
- const i = this._$AH, s = this._$AN;
1170
- if (s !== void 0 && s.size !== 0) if (t) if (Array.isArray(i)) for (let r = e; r < i.length; r++) j(i[r], !1), J(i[r]);
1171
- else i != null && (j(i, !1), J(i));
1172
- else j(this, n);
1188
+ function li(s, t = !1, e = 0) {
1189
+ const i = this._$AH, r = this._$AN;
1190
+ if (r !== void 0 && r.size !== 0) if (t) if (Array.isArray(i)) for (let n = e; n < i.length; n++) N(i[n], !1), J(i[n]);
1191
+ else i != null && (N(i, !1), J(i));
1192
+ else N(this, s);
1173
1193
  }
1174
- const hi = (n) => {
1175
- n.type == At.CHILD && (n._$AP ?? (n._$AP = ci), n._$AQ ?? (n._$AQ = ai));
1194
+ const di = (s) => {
1195
+ s.type == xt.CHILD && (s._$AP ?? (s._$AP = li), s._$AQ ?? (s._$AQ = hi));
1176
1196
  };
1177
- class be extends me {
1197
+ class _e extends be {
1178
1198
  constructor() {
1179
1199
  super(...arguments), this._$AN = void 0;
1180
1200
  }
1181
1201
  _$AT(t, e, i) {
1182
- super._$AT(t, e, i), ye(this), this.isConnected = t._$AU;
1202
+ super._$AT(t, e, i), $e(this), this.isConnected = t._$AU;
1183
1203
  }
1184
1204
  _$AO(t, e = !0) {
1185
- var i, s;
1186
- t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (s = this.disconnected) == null || s.call(this)), e && (j(this, t), J(this));
1205
+ var i, r;
1206
+ t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (r = this.disconnected) == null || r.call(this)), e && (N(this, t), J(this));
1187
1207
  }
1188
1208
  setValue(t) {
1189
- if (oi(this._$Ct)) this._$Ct._$AI(t, this);
1209
+ if (ci(this._$Ct)) this._$Ct._$AI(t, this);
1190
1210
  else {
1191
1211
  const e = [...this._$Ct._$AH];
1192
1212
  e[this._$Ci] = t, this._$Ct._$AI(e, this, 0);
@@ -1197,34 +1217,34 @@ class be extends me {
1197
1217
  reconnected() {
1198
1218
  }
1199
1219
  }
1200
- const li = /* @__PURE__ */ new WeakMap();
1201
- let Wt = 0;
1202
- const at = /* @__PURE__ */ new Map(), qt = /* @__PURE__ */ new WeakSet(), Kt = () => new Promise((n) => requestAnimationFrame(n)), di = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], Gt = (n, t) => {
1203
- const e = n - t;
1220
+ const pi = /* @__PURE__ */ new WeakMap();
1221
+ let qt = 0;
1222
+ const ct = /* @__PURE__ */ new Map(), Kt = /* @__PURE__ */ new WeakSet(), Gt = () => new Promise((s) => requestAnimationFrame(s)), ui = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], Xt = (s, t) => {
1223
+ const e = s - t;
1204
1224
  return e === 0 ? void 0 : e;
1205
- }, Xt = (n, t) => {
1206
- const e = n / t;
1225
+ }, Jt = (s, t) => {
1226
+ const e = s / t;
1207
1227
  return e === 1 ? void 0 : e;
1208
- }, ct = { left: (n, t) => {
1209
- const e = Gt(n, t);
1228
+ }, ht = { left: (s, t) => {
1229
+ const e = Xt(s, t);
1210
1230
  return { value: e, transform: e == null || isNaN(e) ? void 0 : `translateX(${e}px)` };
1211
- }, top: (n, t) => {
1212
- const e = Gt(n, t);
1231
+ }, top: (s, t) => {
1232
+ const e = Xt(s, t);
1213
1233
  return { value: e, transform: e == null || isNaN(e) ? void 0 : `translateY(${e}px)` };
1214
- }, width: (n, t) => {
1234
+ }, width: (s, t) => {
1215
1235
  let e;
1216
1236
  t === 0 && (t = 1, e = { width: "1px" });
1217
- const i = Xt(n, t);
1237
+ const i = Jt(s, t);
1218
1238
  return { value: i, overrideFrom: e, transform: i == null || isNaN(i) ? void 0 : `scaleX(${i})` };
1219
- }, height: (n, t) => {
1239
+ }, height: (s, t) => {
1220
1240
  let e;
1221
1241
  t === 0 && (t = 1, e = { height: "1px" });
1222
- const i = Xt(n, t);
1242
+ const i = Jt(s, t);
1223
1243
  return { value: i, overrideFrom: e, transform: i == null || isNaN(i) ? void 0 : `scaleY(${i})` };
1224
- } }, ui = { duration: 333, easing: "ease-in-out" }, pi = ["left", "top", "width", "height", "opacity", "color", "background"], Jt = /* @__PURE__ */ new WeakMap();
1225
- class fi extends be {
1244
+ } }, fi = { duration: 333, easing: "ease-in-out" }, gi = ["left", "top", "width", "height", "opacity", "color", "background"], Qt = /* @__PURE__ */ new WeakMap();
1245
+ class vi extends _e {
1226
1246
  constructor(t) {
1227
- if (super(t), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, t.type === At.CHILD) throw Error("The `animate` directive must be used in attribute position.");
1247
+ if (super(t), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, t.type === xt.CHILD) throw Error("The `animate` directive must be used in attribute position.");
1228
1248
  this.createFinished();
1229
1249
  }
1230
1250
  createFinished() {
@@ -1238,38 +1258,38 @@ class fi extends be {
1238
1258
  (t = this.l) == null || t.call(this), this.l = void 0;
1239
1259
  }
1240
1260
  render(t) {
1241
- return u;
1261
+ return p;
1242
1262
  }
1243
1263
  getController() {
1244
- return li.get(this.u);
1264
+ return pi.get(this.u);
1245
1265
  }
1246
1266
  isDisabled() {
1247
1267
  var t;
1248
1268
  return this.options.disabled || ((t = this.getController()) == null ? void 0 : t.disabled);
1249
1269
  }
1250
1270
  update(t, [e]) {
1251
- var s;
1271
+ var r;
1252
1272
  const i = this.u === void 0;
1253
- return i && (this.u = (s = t.options) == null ? void 0 : s.host, this.u.addController(this), this.u.updateComplete.then((r) => this.t = !0), this.element = t.element, Jt.set(this.element, this)), this.optionsOrCallback = e, (i || typeof e != "function") && this.p(e), this.render(e);
1273
+ return i && (this.u = (r = t.options) == null ? void 0 : r.host, this.u.addController(this), this.u.updateComplete.then((n) => this.t = !0), this.element = t.element, Qt.set(this.element, this)), this.optionsOrCallback = e, (i || typeof e != "function") && this.p(e), this.render(e);
1254
1274
  }
1255
1275
  p(t) {
1256
1276
  t = t ?? {};
1257
1277
  const e = this.getController();
1258
- e !== void 0 && ((t = { ...e.defaultOptions, ...t }).keyframeOptions = { ...e.defaultOptions.keyframeOptions, ...t.keyframeOptions }), t.properties ?? (t.properties = pi), this.options = t;
1278
+ e !== void 0 && ((t = { ...e.defaultOptions, ...t }).keyframeOptions = { ...e.defaultOptions.keyframeOptions, ...t.keyframeOptions }), t.properties ?? (t.properties = gi), this.options = t;
1259
1279
  }
1260
1280
  m() {
1261
1281
  const t = {}, e = this.element.getBoundingClientRect(), i = getComputedStyle(this.element);
1262
- return this.options.properties.forEach((s) => {
1263
- const r = e[s] ?? (ct[s] ? void 0 : i[s]), o = Number(r);
1264
- t[s] = isNaN(o) ? r + "" : o;
1282
+ return this.options.properties.forEach((r) => {
1283
+ const n = e[r] ?? (ht[r] ? void 0 : i[r]), o = Number(n);
1284
+ t[r] = isNaN(o) ? n + "" : o;
1265
1285
  }), t;
1266
1286
  }
1267
1287
  v() {
1268
1288
  let t, e = !0;
1269
- return this.options.guard && (t = this.options.guard(), e = ((i, s) => {
1289
+ return this.options.guard && (t = this.options.guard(), e = ((i, r) => {
1270
1290
  if (Array.isArray(i)) {
1271
- if (Array.isArray(s) && s.length === i.length && i.every((r, o) => r === s[o])) return !1;
1272
- } else if (s === i) return !1;
1291
+ if (Array.isArray(r) && r.length === i.length && i.every((n, o) => n === r[o])) return !1;
1292
+ } else if (r === i) return !1;
1273
1293
  return !0;
1274
1294
  })(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;
1275
1295
  }
@@ -1279,17 +1299,17 @@ class fi extends be {
1279
1299
  async hostUpdated() {
1280
1300
  if (!this.h || !this.element.isConnected || this.options.skipInitial && !this.isHostRendered) return;
1281
1301
  let t;
1282
- this.prepare(), await Kt;
1283
- const e = this.O(), i = this.j(this.options.keyframeOptions, e), s = this.m();
1302
+ this.prepare(), await Gt;
1303
+ const e = this.O(), i = this.j(this.options.keyframeOptions, e), r = this.m();
1284
1304
  if (this.A !== void 0) {
1285
- const { from: r, to: o } = this.N(this.A, s, e);
1286
- this.log("measured", [this.A, s, r, o]), t = this.calculateKeyframes(r, o);
1305
+ const { from: n, to: o } = this.N(this.A, r, e);
1306
+ this.log("measured", [this.A, r, n, o]), t = this.calculateKeyframes(n, o);
1287
1307
  } else {
1288
- const r = at.get(this.options.inId);
1289
- if (r) {
1290
- at.delete(this.options.inId);
1291
- const { from: o, to: a } = this.N(r, s, e);
1292
- t = this.calculateKeyframes(o, a), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t, Wt++, t.forEach((c) => c.zIndex = Wt);
1308
+ const n = ct.get(this.options.inId);
1309
+ if (n) {
1310
+ ct.delete(this.options.inId);
1311
+ const { from: o, to: a } = this.N(n, r, e);
1312
+ t = this.calculateKeyframes(o, a), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t, qt++, t.forEach((c) => c.zIndex = qt);
1293
1313
  } else this.options.in && (t = [...this.options.in, {}]);
1294
1314
  }
1295
1315
  this.animate(t, i);
@@ -1305,14 +1325,14 @@ class fi extends be {
1305
1325
  }
1306
1326
  async disconnected() {
1307
1327
  var e;
1308
- if (!this.h || (this.options.id !== void 0 && at.set(this.options.id, this.A), this.options.out === void 0)) return;
1309
- if (this.prepare(), await Kt(), (e = this.i) == null ? void 0 : e.isConnected) {
1328
+ if (!this.h || (this.options.id !== void 0 && ct.set(this.options.id, this.A), this.options.out === void 0)) return;
1329
+ if (this.prepare(), await Gt(), (e = this.i) == null ? void 0 : e.isConnected) {
1310
1330
  const i = this.o && this.o.parentNode === this.i ? this.o : null;
1311
1331
  if (this.i.insertBefore(this.element, i), this.options.stabilizeOut) {
1312
- const s = this.m();
1332
+ const r = this.m();
1313
1333
  this.log("stabilizing out");
1314
- const r = this.A.left - s.left, o = this.A.top - s.top;
1315
- getComputedStyle(this.element).position !== "static" || r === 0 && o === 0 || (this.element.style.position = "relative"), r !== 0 && (this.element.style.left = r + "px"), o !== 0 && (this.element.style.top = o + "px");
1334
+ const n = this.A.left - r.left, o = this.A.top - r.top;
1335
+ getComputedStyle(this.element).position !== "static" || n === 0 && o === 0 || (this.element.style.position = "relative"), n !== 0 && (this.element.style.left = n + "px"), o !== 0 && (this.element.style.top = o + "px");
1316
1336
  }
1317
1337
  }
1318
1338
  const t = this.j(this.options.keyframeOptions);
@@ -1332,56 +1352,56 @@ class fi extends be {
1332
1352
  O() {
1333
1353
  const t = [];
1334
1354
  for (let e = this.element.parentNode; e; e = e == null ? void 0 : e.parentNode) {
1335
- const i = Jt.get(e);
1355
+ const i = Qt.get(e);
1336
1356
  i && !i.isDisabled() && i && t.push(i);
1337
1357
  }
1338
1358
  return t;
1339
1359
  }
1340
1360
  get isHostRendered() {
1341
- const t = qt.has(this.u);
1361
+ const t = Kt.has(this.u);
1342
1362
  return t || this.u.updateComplete.then(() => {
1343
- qt.add(this.u);
1363
+ Kt.add(this.u);
1344
1364
  }), t;
1345
1365
  }
1346
1366
  j(t, e = this.O()) {
1347
- const i = { ...ui };
1348
- return e.forEach((s) => Object.assign(i, s.options.keyframeOptions)), Object.assign(i, t), i;
1367
+ const i = { ...fi };
1368
+ return e.forEach((r) => Object.assign(i, r.options.keyframeOptions)), Object.assign(i, t), i;
1349
1369
  }
1350
1370
  N(t, e, i) {
1351
1371
  t = { ...t }, e = { ...e };
1352
- const s = i.map((a) => a.animatingProperties).filter((a) => a !== void 0);
1353
- let r = 1, o = 1;
1354
- return s.length > 0 && (s.forEach((a) => {
1355
- a.width && (r /= a.width), a.height && (o /= a.height);
1356
- }), 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 };
1372
+ const r = i.map((a) => a.animatingProperties).filter((a) => a !== void 0);
1373
+ let n = 1, o = 1;
1374
+ return r.length > 0 && (r.forEach((a) => {
1375
+ a.width && (n /= a.width), a.height && (o /= a.height);
1376
+ }), t.left !== void 0 && e.left !== void 0 && (t.left = n * t.left, e.left = n * e.left), t.top !== void 0 && e.top !== void 0 && (t.top = o * t.top, e.top = o * e.top)), { from: t, to: e };
1357
1377
  }
1358
1378
  calculateKeyframes(t, e, i = !1) {
1359
- const s = {}, r = {};
1379
+ const r = {}, n = {};
1360
1380
  let o = !1;
1361
1381
  const a = {};
1362
1382
  for (const c in e) {
1363
1383
  const h = t[c], l = e[c];
1364
- if (c in ct) {
1365
- const d = ct[c];
1384
+ if (c in ht) {
1385
+ const d = ht[c];
1366
1386
  if (h === void 0 || l === void 0) continue;
1367
- const p = d(h, l);
1368
- p.transform !== void 0 && (a[c] = p.value, o = !0, s.transform = `${s.transform ?? ""} ${p.transform}`, p.overrideFrom !== void 0 && Object.assign(s, p.overrideFrom));
1369
- } else h !== l && h !== void 0 && l !== void 0 && (o = !0, s[c] = h, r[c] = l);
1387
+ const u = d(h, l);
1388
+ u.transform !== void 0 && (a[c] = u.value, o = !0, r.transform = `${r.transform ?? ""} ${u.transform}`, u.overrideFrom !== void 0 && Object.assign(r, u.overrideFrom));
1389
+ } else h !== l && h !== void 0 && l !== void 0 && (o = !0, r[c] = h, n[c] = l);
1370
1390
  }
1371
- return s.transformOrigin = r.transformOrigin = i ? "center center" : "top left", this.animatingProperties = a, o ? [s, r] : void 0;
1391
+ return r.transformOrigin = n.transformOrigin = i ? "center center" : "top left", this.animatingProperties = a, o ? [r, n] : void 0;
1372
1392
  }
1373
1393
  async animate(t, e = this.options.keyframeOptions) {
1374
1394
  this.start(), this.frames = t;
1375
1395
  let i = !1;
1376
1396
  if (!this.isAnimating() && !this.isDisabled() && (this.options.onFrames && (this.frames = t = this.options.onFrames(this), this.log("modified frames", t)), t !== void 0)) {
1377
1397
  this.log("animate", [t, e]), i = !0, this.webAnimation = this.element.animate(t, e);
1378
- const s = this.getController();
1379
- s == null || s.add(this);
1398
+ const r = this.getController();
1399
+ r == null || r.add(this);
1380
1400
  try {
1381
1401
  await this.webAnimation.finished;
1382
1402
  } catch {
1383
1403
  }
1384
- s == null || s.remove(this);
1404
+ r == null || r.remove(this);
1385
1405
  }
1386
1406
  return this.didFinish(i), i;
1387
1407
  }
@@ -1393,96 +1413,96 @@ class fi extends be {
1393
1413
  this.shouldLog && !this.isDisabled() && console.log(t, this.options.id, e);
1394
1414
  }
1395
1415
  }
1396
- const gi = xt(fi), mi = { 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>' };
1416
+ const mi = Ct(vi), yi = { 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>' };
1397
1417
  /**
1398
1418
  * @license
1399
1419
  * Copyright 2018 Google LLC
1400
1420
  * SPDX-License-Identifier: BSD-3-Clause
1401
1421
  */
1402
- const Qt = xt(class extends me {
1403
- constructor(n) {
1422
+ const te = Ct(class extends be {
1423
+ constructor(s) {
1404
1424
  var t;
1405
- if (super(n), n.type !== At.ATTRIBUTE || n.name !== "class" || ((t = n.strings) == null ? void 0 : t.length) > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
1425
+ if (super(s), s.type !== xt.ATTRIBUTE || s.name !== "class" || ((t = s.strings) == null ? void 0 : t.length) > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
1406
1426
  }
1407
- render(n) {
1408
- return " " + Object.keys(n).filter((t) => n[t]).join(" ") + " ";
1427
+ render(s) {
1428
+ return " " + Object.keys(s).filter((t) => s[t]).join(" ") + " ";
1409
1429
  }
1410
- update(n, [t]) {
1411
- var i, s;
1430
+ update(s, [t]) {
1431
+ var i, r;
1412
1432
  if (this.st === void 0) {
1413
- this.st = /* @__PURE__ */ new Set(), n.strings !== void 0 && (this.nt = new Set(n.strings.join(" ").split(/\s/).filter((r) => r !== "")));
1414
- for (const r in t) t[r] && !((i = this.nt) != null && i.has(r)) && this.st.add(r);
1433
+ this.st = /* @__PURE__ */ new Set(), s.strings !== void 0 && (this.nt = new Set(s.strings.join(" ").split(/\s/).filter((n) => n !== "")));
1434
+ for (const n in t) t[n] && !((i = this.nt) != null && i.has(n)) && this.st.add(n);
1415
1435
  return this.render(t);
1416
1436
  }
1417
- const e = n.element.classList;
1418
- for (const r of this.st) r in t || (e.remove(r), this.st.delete(r));
1419
- for (const r in t) {
1420
- const o = !!t[r];
1421
- o === this.st.has(r) || (s = this.nt) != null && s.has(r) || (o ? (e.add(r), this.st.add(r)) : (e.remove(r), this.st.delete(r)));
1437
+ const e = s.element.classList;
1438
+ for (const n of this.st) n in t || (e.remove(n), this.st.delete(n));
1439
+ for (const n in t) {
1440
+ const o = !!t[n];
1441
+ o === this.st.has(n) || (r = this.nt) != null && r.has(n) || (o ? (e.add(n), this.st.add(n)) : (e.remove(n), this.st.delete(n)));
1422
1442
  }
1423
1443
  return P;
1424
1444
  }
1425
- }), b = (n, t, e) => {
1426
- n && e.style.setProperty(t, n);
1427
- }, ve = (n, t) => {
1428
- var e, i, s, r, o, a, c, h, l;
1429
- b((e = n.colors) == null ? void 0 : e.primaryBackground, "--primary-background", t), b(
1430
- (i = n.colors) == null ? void 0 : i.textOnPrimaryBackground,
1445
+ }), y = (s, t, e) => {
1446
+ s && e.style.setProperty(t, s);
1447
+ }, we = (s, t) => {
1448
+ var e, i, r, n, o, a, c, h, l;
1449
+ y((e = s.colors) == null ? void 0 : e.primaryBackground, "--primary-background", t), y(
1450
+ (i = s.colors) == null ? void 0 : i.textOnPrimaryBackground,
1431
1451
  "--text-on-primary-background",
1432
1452
  t
1433
- ), b(
1434
- (s = n.colors) == null ? void 0 : s.secondaryBackground,
1453
+ ), y(
1454
+ (r = s.colors) == null ? void 0 : r.secondaryBackground,
1435
1455
  "--secondary-background",
1436
1456
  t
1437
- ), b(
1438
- (r = n.colors) == null ? void 0 : r.textOnSecondaryBackground,
1457
+ ), y(
1458
+ (n = s.colors) == null ? void 0 : n.textOnSecondaryBackground,
1439
1459
  "--text-on-secondary-background",
1440
1460
  t
1441
- ), b(
1442
- (o = n.colors) == null ? void 0 : o.interactiveDestructiveBackground,
1461
+ ), y(
1462
+ (o = s.colors) == null ? void 0 : o.interactiveDestructiveBackground,
1443
1463
  "--destructive-color",
1444
1464
  t
1445
- ), b(
1446
- (a = n.colors) == null ? void 0 : a.interactiveTextOnDestructiveBackground,
1465
+ ), y(
1466
+ (a = s.colors) == null ? void 0 : a.interactiveTextOnDestructiveBackground,
1447
1467
  "--text-on-destructive-color",
1448
1468
  t
1449
- ), b(
1450
- (c = n.colors) == null ? void 0 : c.interactivePrimaryBackground,
1469
+ ), y(
1470
+ (c = s.colors) == null ? void 0 : c.interactivePrimaryBackground,
1451
1471
  "--interactive-primary-background",
1452
1472
  t
1453
- ), b(
1454
- (h = n.colors) == null ? void 0 : h.interactiveTextOnPrimaryBackground,
1473
+ ), y(
1474
+ (h = s.colors) == null ? void 0 : h.interactiveTextOnPrimaryBackground,
1455
1475
  "--interactive-text-on-primary-background",
1456
1476
  t
1457
- ), b((l = n.colors) == null ? void 0 : l.focusColor, "--focus-color", t);
1477
+ ), y((l = s.colors) == null ? void 0 : l.focusColor, "--focus-color", t);
1458
1478
  };
1459
1479
  /**
1460
1480
  * @license
1461
1481
  * Copyright 2020 Google LLC
1462
1482
  * SPDX-License-Identifier: BSD-3-Clause
1463
1483
  */
1464
- const $e = () => new yi();
1465
- class yi {
1484
+ const Ae = () => new bi();
1485
+ class bi {
1466
1486
  }
1467
- const ht = /* @__PURE__ */ new WeakMap(), _e = xt(class extends be {
1468
- render(n) {
1469
- return u;
1487
+ const lt = /* @__PURE__ */ new WeakMap(), xe = Ct(class extends _e {
1488
+ render(s) {
1489
+ return p;
1470
1490
  }
1471
- update(n, [t]) {
1491
+ update(s, [t]) {
1472
1492
  var i;
1473
1493
  const e = t !== this.Y;
1474
- return e && this.Y !== void 0 && this.rt(void 0), (e || this.lt !== this.ct) && (this.Y = t, this.ht = (i = n.options) == null ? void 0 : i.host, this.rt(this.ct = n.element)), u;
1494
+ 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;
1475
1495
  }
1476
- rt(n) {
1477
- if (this.isConnected || (n = void 0), typeof this.Y == "function") {
1496
+ rt(s) {
1497
+ if (this.isConnected || (s = void 0), typeof this.Y == "function") {
1478
1498
  const t = this.ht ?? globalThis;
1479
- let e = ht.get(t);
1480
- 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, n), n !== void 0 && this.Y.call(this.ht, n);
1481
- } else this.Y.value = n;
1499
+ let e = lt.get(t);
1500
+ e === void 0 && (e = /* @__PURE__ */ new WeakMap(), lt.set(t, e)), e.get(this.Y) !== void 0 && this.Y.call(this.ht, void 0), e.set(this.Y, s), s !== void 0 && this.Y.call(this.ht, s);
1501
+ } else this.Y.value = s;
1482
1502
  }
1483
1503
  get lt() {
1484
- var n, t;
1485
- return typeof this.Y == "function" ? (n = ht.get(this.ht ?? globalThis)) == null ? void 0 : n.get(this.Y) : (t = this.Y) == null ? void 0 : t.value;
1504
+ var s, t;
1505
+ return typeof this.Y == "function" ? (s = lt.get(this.ht ?? globalThis)) == null ? void 0 : s.get(this.Y) : (t = this.Y) == null ? void 0 : t.value;
1486
1506
  }
1487
1507
  disconnected() {
1488
1508
  this.lt === this.ct && this.rt(void 0);
@@ -1491,14 +1511,14 @@ const ht = /* @__PURE__ */ new WeakMap(), _e = xt(class extends be {
1491
1511
  this.rt(this.ct);
1492
1512
  }
1493
1513
  });
1494
- var bi = Object.defineProperty, Y = (n, t, e, i) => {
1495
- for (var s = void 0, r = n.length - 1, o; r >= 0; r--)
1496
- (o = n[r]) && (s = o(t, e, s) || s);
1497
- return s && bi(t, e, s), s;
1514
+ var $i = Object.defineProperty, Y = (s, t, e, i) => {
1515
+ for (var r = void 0, n = s.length - 1, o; n >= 0; n--)
1516
+ (o = s[n]) && (r = o(t, e, r) || r);
1517
+ return r && $i(t, e, r), r;
1498
1518
  };
1499
- const St = class St extends y {
1519
+ const Pt = class Pt extends m {
1500
1520
  constructor() {
1501
- super(...arguments), this.active = !1, this.triggerVisible = !0, this.loaded = !1, this.containerRef = $e(), this.widgetActive$ = new Re(!1), this.componentIsDestroyed$ = new bt();
1521
+ super(...arguments), this.active = !1, this.triggerVisible = !0, this.loaded = !1, this.containerRef = Ae(), this.widgetActive$ = new de(!1), this.componentIsDestroyed$ = new bt();
1502
1522
  }
1503
1523
  async connectedCallback() {
1504
1524
  super.connectedCallback(), this.icon = await this._renderSymbol(), this.loaded = !0, this._applyBranding();
@@ -1533,7 +1553,7 @@ const St = class St extends y {
1533
1553
  }
1534
1554
  _applyBranding() {
1535
1555
  var t;
1536
- (t = this.application) != null && t.settings && ve(this.application.settings.branding, this);
1556
+ (t = this.application) != null && t.settings && we(this.application.settings.branding, this);
1537
1557
  }
1538
1558
  async _renderSymbol() {
1539
1559
  var a, c, h;
@@ -1542,19 +1562,19 @@ const St = class St extends y {
1542
1562
  return C` <img src=${e} class="trigger-icon" alt="" /> `;
1543
1563
  const i = (h = this.application) == null ? void 0 : h.triggerIcon;
1544
1564
  if (!i)
1545
- return u;
1546
- const s = async (l) => mi, { type: r, content: o } = i;
1547
- switch (r) {
1565
+ return p;
1566
+ const r = async (l) => yi, { type: n, content: o } = i;
1567
+ switch (n) {
1548
1568
  case "Telia": {
1549
- const l = await s();
1569
+ const l = await r();
1550
1570
  return l ? C`<telia-icon
1551
1571
  class="trigger-icon"
1552
1572
  svg=${l.svg}
1553
1573
  size="lg"
1554
- ></telia-icon>` : u;
1574
+ ></telia-icon>` : p;
1555
1575
  }
1556
1576
  default:
1557
- return u;
1577
+ return p;
1558
1578
  }
1559
1579
  }
1560
1580
  hideTrigger() {
@@ -1564,33 +1584,33 @@ const St = class St extends y {
1564
1584
  this.triggerVisible = !0;
1565
1585
  }
1566
1586
  render() {
1567
- var t, e, i, s;
1587
+ var t, e, i, r;
1568
1588
  return C`<div
1569
- class=${Qt({
1589
+ class=${te({
1570
1590
  "trigger-container": !0,
1571
1591
  hidden: !this.triggerVisible
1572
1592
  })}
1573
- ${_e(this.containerRef)}
1593
+ ${xe(this.containerRef)}
1574
1594
  >
1575
- ${!this.active && ((s = (i = (e = (t = this.application) == null ? void 0 : t.settings) == null ? void 0 : e.branding) == null ? void 0 : i.other) != null && s.showButtonLabel) ? C`
1595
+ ${!this.active && ((r = (i = (e = (t = this.application) == null ? void 0 : t.settings) == null ? void 0 : e.branding) == null ? void 0 : i.other) != null && r.showButtonLabel) ? C`
1576
1596
  <button
1577
1597
  label="${this.application.settings.branding.other.buttonLabelText ?? "Widget trigger"}"
1578
1598
  class="trigger-label"
1579
1599
  @click=${this.toggleActive}
1580
- ${gi({
1600
+ ${mi({
1581
1601
  keyframeOptions: {},
1582
- in: di,
1602
+ in: ui,
1583
1603
  stabilizeOut: !0,
1584
1604
  skipInitial: !1
1585
1605
  })}
1586
1606
  >
1587
1607
  ${this.application.settings.branding.other.buttonLabelText}
1588
1608
  </button>
1589
- ` : u}
1609
+ ` : p}
1590
1610
 
1591
1611
  <button
1592
1612
  label="Widget trigger"
1593
- class=${Qt({
1613
+ class=${te({
1594
1614
  trigger: !0,
1595
1615
  active: this.active,
1596
1616
  rendered: this.loaded
@@ -1629,8 +1649,8 @@ const St = class St extends y {
1629
1649
  </div>`;
1630
1650
  }
1631
1651
  };
1632
- St.styles = [
1633
- O`
1652
+ Pt.styles = [
1653
+ k`
1634
1654
  :host {
1635
1655
  --voca-rem-multiplier: 0.625;
1636
1656
  --trigger-label-bg: #f5e0ff;
@@ -1761,7 +1781,7 @@ St.styles = [
1761
1781
  }
1762
1782
  `
1763
1783
  ];
1764
- let $ = St;
1784
+ let $ = Pt;
1765
1785
  Y([
1766
1786
  g({ attribute: !1 })
1767
1787
  ], $.prototype, "application");
@@ -1777,27 +1797,27 @@ Y([
1777
1797
  Y([
1778
1798
  L()
1779
1799
  ], $.prototype, "icon");
1780
- var vi = Object.defineProperty, x = (n, t, e, i) => {
1781
- for (var s = void 0, r = n.length - 1, o; r >= 0; r--)
1782
- (o = n[r]) && (s = o(t, e, s) || s);
1783
- return s && vi(t, e, s), s;
1800
+ var _i = Object.defineProperty, x = (s, t, e, i) => {
1801
+ for (var r = void 0, n = s.length - 1, o; n >= 0; n--)
1802
+ (o = s[n]) && (r = o(t, e, r) || r);
1803
+ return r && _i(t, e, r), r;
1784
1804
  };
1785
- const we = (n) => {
1786
- const e = class e extends n {
1805
+ const Ce = (s) => {
1806
+ const e = class e extends s {
1787
1807
  constructor() {
1788
1808
  super(...arguments), this.properties = {}, this.context = {}, this.layout = {}, this.nodes = [];
1789
1809
  }
1790
- writeProperties(s) {
1791
- this.properties = s;
1810
+ writeProperties(r) {
1811
+ this.properties = r;
1792
1812
  }
1793
- writeLayout(s) {
1794
- this.layout = s;
1813
+ writeLayout(r) {
1814
+ this.layout = r;
1795
1815
  }
1796
- writeContext(s) {
1797
- this.context = s;
1816
+ writeContext(r) {
1817
+ this.context = r;
1798
1818
  }
1799
- addChild(s) {
1800
- s.parent = this, this.nodes.push(s);
1819
+ addChild(r) {
1820
+ r.parent = this, this.nodes.push(r);
1801
1821
  }
1802
1822
  connectedCallback() {
1803
1823
  super.connectedCallback(), this.renderRoot.host.style.setProperty(
@@ -1808,7 +1828,7 @@ const we = (n) => {
1808
1828
  };
1809
1829
  e.styles = [
1810
1830
  // (superClass as unknown as typeof LitElement).styles ?? [],
1811
- O`
1831
+ k`
1812
1832
  :host {
1813
1833
  font-family: var(--font-family);
1814
1834
  grid-column: span var(--width);
@@ -1838,37 +1858,37 @@ const we = (n) => {
1838
1858
  ], t.prototype, "application"), x([
1839
1859
  g({ attribute: !1 })
1840
1860
  ], t.prototype, "parent"), t;
1841
- }, Pt = class Pt extends we(y) {
1861
+ }, kt = class kt extends Ce(m) {
1842
1862
  render() {
1843
1863
  return C`Non resolved component`;
1844
1864
  }
1845
1865
  };
1846
- Pt.styles = [
1847
- O`
1866
+ kt.styles = [
1867
+ k`
1848
1868
  :host {
1849
1869
  display: block;
1850
1870
  }
1851
1871
  `
1852
1872
  ];
1853
- let yt = Pt;
1873
+ let yt = kt;
1854
1874
  /**
1855
1875
  * @license
1856
1876
  * Copyright 2021 Google LLC
1857
1877
  * SPDX-License-Identifier: BSD-3-Clause
1858
1878
  */
1859
- function* $i(n, t) {
1860
- if (n !== void 0) {
1879
+ function* wi(s, t) {
1880
+ if (s !== void 0) {
1861
1881
  let e = 0;
1862
- for (const i of n) yield t(i, e++);
1882
+ for (const i of s) yield t(i, e++);
1863
1883
  }
1864
1884
  }
1865
- var V = /* @__PURE__ */ ((n) => (n.Inline = "inline", n.Trigger = "trigger", n))(V || {});
1885
+ var V = /* @__PURE__ */ ((s) => (s.Inline = "inline", s.Trigger = "trigger", s))(V || {});
1866
1886
  /**
1867
1887
  * @license
1868
1888
  * Copyright 2021 Google LLC
1869
1889
  * SPDX-License-Identifier: BSD-3-Clause
1870
1890
  */
1871
- let _i = class extends Event {
1891
+ let Ai = class extends Event {
1872
1892
  constructor(t, e, i) {
1873
1893
  super("context-request", { bubbles: !0, composed: !0 }), this.context = t, this.callback = e, this.subscribe = i ?? !1;
1874
1894
  }
@@ -1883,7 +1903,7 @@ let _i = class extends Event {
1883
1903
  * Copyright 2021 Google LLC
1884
1904
  * SPDX-License-Identifier: BSD-3-Clause
1885
1905
  */
1886
- class wi {
1906
+ class xi {
1887
1907
  get value() {
1888
1908
  return this.o;
1889
1909
  }
@@ -1904,8 +1924,8 @@ class wi {
1904
1924
  this.subscriptions.has(t) || this.subscriptions.set(t, { disposer: () => {
1905
1925
  this.subscriptions.delete(t);
1906
1926
  }, consumerHost: e });
1907
- const { disposer: s } = this.subscriptions.get(t);
1908
- t(this.value, s);
1927
+ const { disposer: r } = this.subscriptions.get(t);
1928
+ t(this.value, r);
1909
1929
  }
1910
1930
  clearCallbacks() {
1911
1931
  this.subscriptions.clear();
@@ -1916,14 +1936,14 @@ class wi {
1916
1936
  * Copyright 2021 Google LLC
1917
1937
  * SPDX-License-Identifier: BSD-3-Clause
1918
1938
  */
1919
- let Ai = class extends Event {
1939
+ let Ci = class extends Event {
1920
1940
  constructor(t) {
1921
1941
  super("context-provider", { bubbles: !0, composed: !0 }), this.context = t;
1922
1942
  }
1923
1943
  };
1924
- class te extends wi {
1944
+ class ee extends xi {
1925
1945
  constructor(t, e, i) {
1926
- var s, r;
1946
+ var r, n;
1927
1947
  super(e.context !== void 0 ? e.initialValue : i), this.onContextRequest = (o) => {
1928
1948
  const a = o.composedPath()[0];
1929
1949
  o.context === this.context && a !== this.host && (o.stopPropagation(), this.addCallback(o.callback, a, o.subscribe));
@@ -1931,15 +1951,15 @@ class te extends wi {
1931
1951
  const a = o.composedPath()[0];
1932
1952
  if (o.context !== this.context || a === this.host) return;
1933
1953
  const c = /* @__PURE__ */ new Set();
1934
- for (const [h, { consumerHost: l }] of this.subscriptions) c.has(h) || (c.add(h), l.dispatchEvent(new _i(this.context, h, !0)));
1954
+ for (const [h, { consumerHost: l }] of this.subscriptions) c.has(h) || (c.add(h), l.dispatchEvent(new Ai(this.context, h, !0)));
1935
1955
  o.stopPropagation();
1936
- }, this.host = t, e.context !== void 0 ? this.context = e.context : this.context = e, this.attachListeners(), (r = (s = this.host).addController) == null || r.call(s, this);
1956
+ }, this.host = t, e.context !== void 0 ? this.context = e.context : this.context = e, this.attachListeners(), (n = (r = this.host).addController) == null || n.call(r, this);
1937
1957
  }
1938
1958
  attachListeners() {
1939
1959
  this.host.addEventListener("context-request", this.onContextRequest), this.host.addEventListener("context-provider", this.onProviderRequest);
1940
1960
  }
1941
1961
  hostConnected() {
1942
- this.host.dispatchEvent(new Ai(this.context));
1962
+ this.host.dispatchEvent(new Ci(this.context));
1943
1963
  }
1944
1964
  }
1945
1965
  /**
@@ -1947,51 +1967,51 @@ class te extends wi {
1947
1967
  * Copyright 2017 Google LLC
1948
1968
  * SPDX-License-Identifier: BSD-3-Clause
1949
1969
  */
1950
- function xi({ context: n }) {
1970
+ function Ei({ context: s }) {
1951
1971
  return (t, e) => {
1952
1972
  const i = /* @__PURE__ */ new WeakMap();
1953
1973
  if (typeof e == "object") return e.addInitializer(function() {
1954
- i.set(this, new te(this, { context: n }));
1974
+ i.set(this, new ee(this, { context: s }));
1955
1975
  }), { get() {
1956
1976
  return t.get.call(this);
1957
- }, set(s) {
1958
- var r;
1959
- return (r = i.get(this)) == null || r.setValue(s), t.set.call(this, s);
1960
- }, init(s) {
1961
- var r;
1962
- return (r = i.get(this)) == null || r.setValue(s), s;
1977
+ }, set(r) {
1978
+ var n;
1979
+ return (n = i.get(this)) == null || n.setValue(r), t.set.call(this, r);
1980
+ }, init(r) {
1981
+ var n;
1982
+ return (n = i.get(this)) == null || n.setValue(r), r;
1963
1983
  } };
1964
1984
  {
1965
1985
  t.constructor.addInitializer((o) => {
1966
- i.set(o, new te(o, { context: n }));
1986
+ i.set(o, new ee(o, { context: s }));
1967
1987
  });
1968
- const s = Object.getOwnPropertyDescriptor(t, e);
1969
- let r;
1970
- if (s === void 0) {
1988
+ const r = Object.getOwnPropertyDescriptor(t, e);
1989
+ let n;
1990
+ if (r === void 0) {
1971
1991
  const o = /* @__PURE__ */ new WeakMap();
1972
- r = { get() {
1992
+ n = { get() {
1973
1993
  return o.get(this);
1974
1994
  }, set(a) {
1975
1995
  i.get(this).setValue(a), o.set(this, a);
1976
1996
  }, configurable: !0, enumerable: !0 };
1977
1997
  } else {
1978
- const o = s.set;
1979
- r = { ...s, set(a) {
1998
+ const o = r.set;
1999
+ n = { ...r, set(a) {
1980
2000
  i.get(this).setValue(a), o == null || o.call(this, a);
1981
2001
  } };
1982
2002
  }
1983
- return void Object.defineProperty(t, e, r);
2003
+ return void Object.defineProperty(t, e, n);
1984
2004
  }
1985
2005
  };
1986
2006
  }
1987
- var Ci = Object.defineProperty, Ae = (n, t, e, i) => {
1988
- for (var s = void 0, r = n.length - 1, o; r >= 0; r--)
1989
- (o = n[r]) && (s = o(t, e, s) || s);
1990
- return s && Ci(t, e, s), s;
2007
+ var Si = Object.defineProperty, Ee = (s, t, e, i) => {
2008
+ for (var r = void 0, n = s.length - 1, o; n >= 0; n--)
2009
+ (o = s[n]) && (r = o(t, e, r) || r);
2010
+ return r && Si(t, e, r), r;
1991
2011
  };
1992
- const Ei = "application", Ot = class Ot extends y {
2012
+ const Pi = "application", Ot = class Ot extends m {
1993
2013
  constructor() {
1994
- super(...arguments), this.nodes = [], this.wrapperRef = $e(), this.fullscreen = !1;
2014
+ super(...arguments), this.nodes = [], this.wrapperRef = Ae(), this.fullscreen = !1, this.isReady = new de(!1);
1995
2015
  }
1996
2016
  addChild(t) {
1997
2017
  t.parent = this, this.nodes.push(t);
@@ -2000,28 +2020,28 @@ const Ei = "application", Ot = class Ot extends y {
2000
2020
  if (!this.wrapperRef.value)
2001
2021
  return;
2002
2022
  const t = this.application.settings;
2003
- t != null && t.branding && ve(t.branding, this.wrapperRef.value);
2023
+ t != null && t.branding && we(t.branding, this.wrapperRef.value);
2004
2024
  }
2005
2025
  applyStyles() {
2006
2026
  if (!this.wrapperRef.value)
2007
2027
  return;
2008
2028
  const t = this.application.styles(), e = this.wrapperRef.value;
2009
- Object.entries(t).forEach(([i, s]) => {
2010
- e.style.setProperty(`--${i}`, s);
2029
+ Object.entries(t).forEach(([i, r]) => {
2030
+ e.style.setProperty(`--${i}`, r);
2011
2031
  });
2012
2032
  }
2013
2033
  firstUpdated(t) {
2014
2034
  this.applyBranding(), this.applyStyles();
2015
2035
  }
2016
2036
  render() {
2017
- var i, s;
2037
+ var i, r;
2018
2038
  const t = this.application.settings.components.conversation;
2019
- return ((s = (i = t == null ? void 0 : t.properties) == null ? void 0 : i.chat) == null ? void 0 : s.isThirdPartyWidget) ? this.renderRoot.host.classList.add("third-party") : this.application.renderStrategy === V.Trigger && (this.renderRoot.host.classList.add("floating"), this.application.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.application.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right")), this.application.fullscreen && this.renderRoot.host.classList.add("fullscreen"), window.self !== window.top && this.renderRoot.host.classList.add("embedded"), C`<div class="widget-container" ${_e(this.wrapperRef)}>
2020
- ${$i(this.nodes, (r) => r)}
2039
+ return ((r = (i = t == null ? void 0 : t.properties) == null ? void 0 : i.chat) == null ? void 0 : r.isThirdPartyWidget) ? this.renderRoot.host.classList.add("third-party") : this.application.renderStrategy === V.Trigger && (this.renderRoot.host.classList.add("floating"), this.application.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.application.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right")), this.application.fullscreen && this.renderRoot.host.classList.add("fullscreen"), window.self !== window.top && this.renderRoot.host.classList.add("embedded"), C`<div class="widget-container" ${xe(this.wrapperRef)}>
2040
+ ${wi(this.nodes, (n) => n)}
2021
2041
  </div>`;
2022
2042
  }
2023
2043
  };
2024
- Ot.styles = O`
2044
+ Ot.styles = k`
2025
2045
  :host {
2026
2046
  --font-family: TeliaSans, Helvetica, Arial, Lucida Grande, sans-serif;
2027
2047
  --spacing-xs: 0.2rem;
@@ -2175,12 +2195,12 @@ Ot.styles = O`
2175
2195
  }
2176
2196
  `;
2177
2197
  let z = Ot;
2178
- Ae([
2198
+ Ee([
2179
2199
  g({ attribute: !0 })
2180
2200
  ], z.prototype, "fullscreen");
2181
- Ae([
2201
+ Ee([
2182
2202
  g({ attribute: !1 }),
2183
- xi({ context: Ei })
2203
+ Ei({ context: Pi })
2184
2204
  ], z.prototype, "application");
2185
2205
  const Q = class Q {
2186
2206
  // TODO:
@@ -2193,14 +2213,14 @@ const Q = class Q {
2193
2213
  return i ? {
2194
2214
  id: i.id,
2195
2215
  triggers: i.triggers || [],
2196
- apps: (i.widgets || []).map((s) => {
2197
- let r = V.Trigger;
2198
- s.renderStrategy.toLowerCase() === "inline" && (r = V.Inline);
2199
- const o = s.widgetId ? s.widgetId : s.id, a = typeof s.autoActivate == "boolean" ? s.autoActivate : !1, c = typeof s.anchor == "string" ? s.anchor : "BottomRight", h = typeof s.triggerIcon == "string" ? s.triggerIcon : "question";
2216
+ apps: (i.widgets || []).map((r) => {
2217
+ let n = V.Trigger;
2218
+ r.renderStrategy.toLowerCase() === "inline" && (n = V.Inline);
2219
+ const o = r.widgetId ? r.widgetId : r.id, a = typeof r.autoActivate == "boolean" ? r.autoActivate : !1, c = typeof r.anchor == "string" ? r.anchor : "BottomRight", h = typeof r.triggerIcon == "string" ? r.triggerIcon : "question";
2200
2220
  return {
2201
2221
  id: o,
2202
2222
  widgetId: o,
2203
- renderStrategy: r,
2223
+ renderStrategy: n,
2204
2224
  autoActivate: a,
2205
2225
  anchor: c,
2206
2226
  triggerIcon: {
@@ -2220,13 +2240,13 @@ const Q = class Q {
2220
2240
  }
2221
2241
  };
2222
2242
  Q.endpoint = "https://widgets.ace.teliacompany.net/api";
2223
- let ee = Q;
2224
- var Si = Object.defineProperty, Ct = (n, t, e, i) => {
2225
- for (var s = void 0, r = n.length - 1, o; r >= 0; r--)
2226
- (o = n[r]) && (s = o(t, e, s) || s);
2227
- return s && Si(t, e, s), s;
2243
+ let ie = Q;
2244
+ var ki = Object.defineProperty, Et = (s, t, e, i) => {
2245
+ for (var r = void 0, n = s.length - 1, o; n >= 0; n--)
2246
+ (o = s[n]) && (r = o(t, e, r) || r);
2247
+ return r && ki(t, e, r), r;
2228
2248
  };
2229
- const kt = class kt extends y {
2249
+ const Tt = class Tt extends m {
2230
2250
  constructor() {
2231
2251
  super(), this.status = "deactivated", this.addEventListener("environment-created", this.onEnvironmentCreated);
2232
2252
  }
@@ -2250,7 +2270,7 @@ const kt = class kt extends y {
2250
2270
  }
2251
2271
  render() {
2252
2272
  if (!this.widget || this.status !== "activated")
2253
- return u;
2273
+ return p;
2254
2274
  if (this.widget.renderStrategy === V.Trigger) {
2255
2275
  const t = new $();
2256
2276
  return t.application = this.widget, t;
@@ -2258,21 +2278,21 @@ const kt = class kt extends y {
2258
2278
  return this.widget.render();
2259
2279
  }
2260
2280
  };
2261
- kt.styles = [
2262
- O`
2281
+ Tt.styles = [
2282
+ k`
2263
2283
  :host {
2264
2284
  display: block;
2265
2285
  }
2266
2286
  `
2267
2287
  ];
2268
- let H = kt;
2269
- Ct([
2288
+ let H = Tt;
2289
+ Et([
2270
2290
  g({ attribute: !0 })
2271
2291
  ], H.prototype, "name");
2272
- Ct([
2292
+ Et([
2273
2293
  L()
2274
2294
  ], H.prototype, "widget");
2275
- Ct([
2295
+ Et([
2276
2296
  L()
2277
2297
  ], H.prototype, "status");
2278
2298
  customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", X);
@@ -2280,7 +2300,7 @@ customElements.get("ace-trigger") || customElements.define("ace-trigger", $);
2280
2300
  customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", yt);
2281
2301
  customElements.get("ace-wrapper") || customElements.define("ace-wrapper", z);
2282
2302
  customElements.get("ace-widget") || customElements.define("ace-widget", H);
2283
- const Pi = qe`
2303
+ const Oi = Ge`
2284
2304
  <g clip-path="url(#clip0_119_1665)">
2285
2305
  <path d="M16.9321 27.4656C11.5983 29.6245 8.54568 28.9365 6.85856 27.5904L6.83398 27.5712C9.44534 30.1717 12.4221 32.0011 15.0324 32.0011C19.6033 32.0011 25.8614 26.4651 28.8232 17.8805C27.1542 20.9792 23.5727 24.7861 16.9321 27.4656Z" fill="#990AE3"/>
2286
2306
  <path d="M20.9805 22.4843C25.1369 20.0779 28.8809 15.9968 30.0615 13.0869C30.397 10.6784 30.4654 10.3744 30.506 7.72479C30.5113 7.35786 30.4889 7.00586 30.4547 6.66879C30.2122 10.56 25.1743 15.4528 18.5092 18.6496C10.4689 22.5056 4.43734 23.5435 1.74585 20.6027C2.68077 22.4459 3.29407 23.3408 4.34545 24.7083C7.45044 27.4539 13.9852 26.5355 20.9805 22.4843Z" fill="#990AE3"/>
@@ -2298,10 +2318,10 @@ const Pi = qe`
2298
2318
  <clipPath id="clip0_119_1665">
2299
2319
  <rect width="30.5068" height="32.0011" fill="white"/>
2300
2320
  </clipPath>
2301
- </defs>`, ie = we(y), Tt = class Tt extends ie {
2321
+ </defs>`, se = Ce(m), Mt = class Mt extends se {
2302
2322
  render() {
2303
2323
  var e;
2304
- return (e = this.application.branding().other) != null && e.whiteLabel ? u : C` <div class="copyright">
2324
+ return (e = this.application.branding().other) != null && e.whiteLabel ? p : C` <div class="copyright">
2305
2325
  <a
2306
2326
  aria-label="Powered by Telia ACE"
2307
2327
  href="https://ace-showcase.com"
@@ -2316,15 +2336,15 @@ const Pi = qe`
2316
2336
  fill="none"
2317
2337
  xmlns="http://www.w3.org/2000/svg"
2318
2338
  >
2319
- ${Pi}
2339
+ ${Oi}
2320
2340
  </svg>
2321
2341
  </a>
2322
2342
  </div>`;
2323
2343
  }
2324
2344
  };
2325
- Tt.styles = [
2326
- ie.styles || [],
2327
- O`
2345
+ Mt.styles = [
2346
+ se.styles || [],
2347
+ k`
2328
2348
  :host {
2329
2349
  --copyright-text-color: var(--text-on-primary-background);
2330
2350
  }
@@ -2359,8 +2379,8 @@ Tt.styles = [
2359
2379
  }
2360
2380
  `
2361
2381
  ];
2362
- let ne = Tt;
2382
+ let re = Mt;
2363
2383
  export {
2364
- ne as Copyright,
2365
- ne as default
2384
+ re as Copyright,
2385
+ re as default
2366
2386
  };