@telia-ace/widget-core-flamingo 1.1.77-rc.5 → 1.1.77-rc.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. package/index.js +31 -31
  2. package/index.mjs +346 -346
  3. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1,21 +1,21 @@
1
- var gt = function(s, t) {
2
- return gt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, i) {
1
+ var ft = function(s, t) {
2
+ return ft = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, i) {
3
3
  e.__proto__ = i;
4
4
  } || function(e, i) {
5
5
  for (var r in i)
6
6
  Object.prototype.hasOwnProperty.call(i, r) && (e[r] = i[r]);
7
- }, gt(s, t);
7
+ }, ft(s, t);
8
8
  };
9
- function W(s, t) {
9
+ function z(s, t) {
10
10
  if (typeof t != "function" && t !== null)
11
11
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
12
- gt(s, t);
12
+ ft(s, t);
13
13
  function e() {
14
14
  this.constructor = s;
15
15
  }
16
16
  s.prototype = t === null ? Object.create(t) : (e.prototype = t.prototype, new e());
17
17
  }
18
- function mt(s) {
18
+ function gt(s) {
19
19
  var t = typeof Symbol == "function" && Symbol.iterator, e = t && s[t], i = 0;
20
20
  if (e)
21
21
  return e.call(s);
@@ -27,7 +27,7 @@ function mt(s) {
27
27
  };
28
28
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
29
29
  }
30
- function J(s, t) {
30
+ function Z(s, t) {
31
31
  var e = typeof Symbol == "function" && s[Symbol.iterator];
32
32
  if (!e)
33
33
  return s;
@@ -47,7 +47,7 @@ function J(s, t) {
47
47
  }
48
48
  return n;
49
49
  }
50
- function G(s, t, e) {
50
+ function J(s, t, e) {
51
51
  if (e || arguments.length === 2)
52
52
  for (var i = 0, r = t.length, n; i < r; i++)
53
53
  (n || !(i in t)) && (n || (n = Array.prototype.slice.call(t, 0, i)), n[i] = t[i]);
@@ -56,13 +56,13 @@ function G(s, t, e) {
56
56
  function $(s) {
57
57
  return typeof s == "function";
58
58
  }
59
- function Qt(s) {
59
+ function te(s) {
60
60
  var t = function(i) {
61
61
  Error.call(i), i.stack = new Error().stack;
62
62
  }, e = s(t);
63
63
  return e.prototype = Object.create(Error.prototype), e.prototype.constructor = e, e;
64
64
  }
65
- var ot = Qt(function(s) {
65
+ var nt = te(function(s) {
66
66
  return function(e) {
67
67
  s(this), this.message = e ? e.length + ` errors occurred during unsubscription:
68
68
  ` + e.map(function(i, r) {
@@ -71,13 +71,13 @@ var ot = Qt(function(s) {
71
71
  `) : "", this.name = "UnsubscriptionError", this.errors = e;
72
72
  };
73
73
  });
74
- function vt(s, t) {
74
+ function mt(s, t) {
75
75
  if (s) {
76
76
  var e = s.indexOf(t);
77
77
  0 <= e && s.splice(e, 1);
78
78
  }
79
79
  }
80
- var it = function() {
80
+ var et = function() {
81
81
  function s(t) {
82
82
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
83
83
  }
@@ -89,7 +89,7 @@ var it = function() {
89
89
  if (o)
90
90
  if (this._parentage = null, Array.isArray(o))
91
91
  try {
92
- for (var a = mt(o), c = a.next(); !c.done; c = a.next()) {
92
+ for (var a = gt(o), c = a.next(); !c.done; c = a.next()) {
93
93
  var l = c.value;
94
94
  l.remove(this);
95
95
  }
@@ -110,18 +110,18 @@ var it = function() {
110
110
  try {
111
111
  h();
112
112
  } catch (v) {
113
- n = v instanceof ot ? v.errors : [v];
113
+ n = v instanceof nt ? v.errors : [v];
114
114
  }
115
115
  var d = this._finalizers;
116
116
  if (d) {
117
117
  this._finalizers = null;
118
118
  try {
119
- for (var p = mt(d), f = p.next(); !f.done; f = p.next()) {
119
+ for (var p = gt(d), f = p.next(); !f.done; f = p.next()) {
120
120
  var g = f.value;
121
121
  try {
122
- Pt(g);
122
+ Ot(g);
123
123
  } catch (v) {
124
- n = n ?? [], v instanceof ot ? n = G(G([], J(n)), J(v.errors)) : n.push(v);
124
+ n = n ?? [], v instanceof nt ? n = J(J([], Z(n)), Z(v.errors)) : n.push(v);
125
125
  }
126
126
  }
127
127
  } catch (v) {
@@ -136,13 +136,13 @@ var it = function() {
136
136
  }
137
137
  }
138
138
  if (n)
139
- throw new ot(n);
139
+ throw new nt(n);
140
140
  }
141
141
  }, s.prototype.add = function(t) {
142
142
  var e;
143
143
  if (t && t !== this)
144
144
  if (this.closed)
145
- Pt(t);
145
+ Ot(t);
146
146
  else {
147
147
  if (t instanceof s) {
148
148
  if (t.closed || t._hasParent(this))
@@ -159,58 +159,58 @@ var it = function() {
159
159
  this._parentage = Array.isArray(e) ? (e.push(t), e) : e ? [e, t] : t;
160
160
  }, s.prototype._removeParent = function(t) {
161
161
  var e = this._parentage;
162
- e === t ? this._parentage = null : Array.isArray(e) && vt(e, t);
162
+ e === t ? this._parentage = null : Array.isArray(e) && mt(e, t);
163
163
  }, s.prototype.remove = function(t) {
164
164
  var e = this._finalizers;
165
- e && vt(e, t), t instanceof s && t._removeParent(this);
165
+ e && mt(e, t), t instanceof s && t._removeParent(this);
166
166
  }, s.EMPTY = function() {
167
167
  var t = new s();
168
168
  return t.closed = !0, t;
169
169
  }(), s;
170
- }(), te = it.EMPTY;
171
- function ee(s) {
172
- return s instanceof it || s && "closed" in s && $(s.remove) && $(s.add) && $(s.unsubscribe);
170
+ }(), ee = et.EMPTY;
171
+ function ie(s) {
172
+ return s instanceof et || s && "closed" in s && $(s.remove) && $(s.add) && $(s.unsubscribe);
173
173
  }
174
- function Pt(s) {
174
+ function Ot(s) {
175
175
  $(s) ? s() : s.unsubscribe();
176
176
  }
177
- var ie = {
177
+ var se = {
178
178
  onUnhandledError: null,
179
179
  onStoppedNotification: null,
180
180
  Promise: void 0,
181
181
  useDeprecatedSynchronousErrorHandling: !1,
182
182
  useDeprecatedNextContext: !1
183
- }, yt = {
183
+ }, vt = {
184
184
  setTimeout: function(s, t) {
185
185
  for (var e = [], i = 2; i < arguments.length; i++)
186
186
  e[i - 2] = arguments[i];
187
- var r = yt.delegate;
188
- return r != null && r.setTimeout ? r.setTimeout.apply(r, G([s, t], J(e))) : setTimeout.apply(void 0, G([s, t], J(e)));
187
+ var r = vt.delegate;
188
+ return r != null && r.setTimeout ? r.setTimeout.apply(r, J([s, t], Z(e))) : setTimeout.apply(void 0, J([s, t], Z(e)));
189
189
  },
190
190
  clearTimeout: function(s) {
191
- var t = yt.delegate;
191
+ var t = vt.delegate;
192
192
  return ((t == null ? void 0 : t.clearTimeout) || clearTimeout)(s);
193
193
  },
194
194
  delegate: void 0
195
195
  };
196
- function $e(s) {
197
- yt.setTimeout(function() {
196
+ function _e(s) {
197
+ vt.setTimeout(function() {
198
198
  throw s;
199
199
  });
200
200
  }
201
- function Ot() {
201
+ function Tt() {
202
202
  }
203
- function K(s) {
203
+ function q(s) {
204
204
  s();
205
205
  }
206
- var se = function(s) {
207
- W(t, s);
206
+ var re = function(s) {
207
+ z(t, s);
208
208
  function t(e) {
209
209
  var i = s.call(this) || this;
210
- return i.isStopped = !1, e ? (i.destination = e, ee(e) && e.add(i)) : i.destination = Ce, i;
210
+ return i.isStopped = !1, e ? (i.destination = e, ie(e) && e.add(i)) : i.destination = Se, i;
211
211
  }
212
212
  return t.create = function(e, i, r) {
213
- return new bt(e, i, r);
213
+ return new yt(e, i, r);
214
214
  }, t.prototype.next = function(e) {
215
215
  this.isStopped || this._next(e);
216
216
  }, t.prototype.error = function(e) {
@@ -234,11 +234,11 @@ var se = function(s) {
234
234
  this.unsubscribe();
235
235
  }
236
236
  }, t;
237
- }(it), _e = Function.prototype.bind;
238
- function at(s, t) {
239
- return _e.call(s, t);
237
+ }(et), Ae = Function.prototype.bind;
238
+ function ot(s, t) {
239
+ return Ae.call(s, t);
240
240
  }
241
- var Ae = function() {
241
+ var xe = function() {
242
242
  function s(t) {
243
243
  this.partialObserver = t;
244
244
  }
@@ -248,7 +248,7 @@ var Ae = function() {
248
248
  try {
249
249
  e.next(t);
250
250
  } catch (i) {
251
- q(i);
251
+ Y(i);
252
252
  }
253
253
  }, s.prototype.error = function(t) {
254
254
  var e = this.partialObserver;
@@ -256,21 +256,21 @@ var Ae = function() {
256
256
  try {
257
257
  e.error(t);
258
258
  } catch (i) {
259
- q(i);
259
+ Y(i);
260
260
  }
261
261
  else
262
- q(t);
262
+ Y(t);
263
263
  }, s.prototype.complete = function() {
264
264
  var t = this.partialObserver;
265
265
  if (t.complete)
266
266
  try {
267
267
  t.complete();
268
268
  } catch (e) {
269
- q(e);
269
+ Y(e);
270
270
  }
271
271
  }, s;
272
- }(), bt = function(s) {
273
- W(t, s);
272
+ }(), yt = function(s) {
273
+ z(t, s);
274
274
  function t(e, i, r) {
275
275
  var n = s.call(this) || this, o;
276
276
  if ($(e) || !e)
@@ -281,43 +281,43 @@ var Ae = function() {
281
281
  };
282
282
  else {
283
283
  var a;
284
- n && ie.useDeprecatedNextContext ? (a = Object.create(e), a.unsubscribe = function() {
284
+ n && se.useDeprecatedNextContext ? (a = Object.create(e), a.unsubscribe = function() {
285
285
  return n.unsubscribe();
286
286
  }, o = {
287
- next: e.next && at(e.next, a),
288
- error: e.error && at(e.error, a),
289
- complete: e.complete && at(e.complete, a)
287
+ next: e.next && ot(e.next, a),
288
+ error: e.error && ot(e.error, a),
289
+ complete: e.complete && ot(e.complete, a)
290
290
  }) : o = e;
291
291
  }
292
- return n.destination = new Ae(o), n;
292
+ return n.destination = new xe(o), n;
293
293
  }
294
294
  return t;
295
- }(se);
296
- function q(s) {
297
- $e(s);
295
+ }(re);
296
+ function Y(s) {
297
+ _e(s);
298
298
  }
299
- function xe(s) {
299
+ function Ce(s) {
300
300
  throw s;
301
301
  }
302
- var Ce = {
302
+ var Se = {
303
303
  closed: !0,
304
- next: Ot,
305
- error: xe,
306
- complete: Ot
307
- }, Se = function() {
304
+ next: Tt,
305
+ error: Ce,
306
+ complete: Tt
307
+ }, Ee = function() {
308
308
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
309
309
  }();
310
- function Ee(s) {
310
+ function Pe(s) {
311
311
  return s;
312
312
  }
313
- function Pe(s) {
314
- return s.length === 0 ? Ee : s.length === 1 ? s[0] : function(e) {
313
+ function Oe(s) {
314
+ return s.length === 0 ? Pe : s.length === 1 ? s[0] : function(e) {
315
315
  return s.reduce(function(i, r) {
316
316
  return r(i);
317
317
  }, e);
318
318
  };
319
319
  }
320
- var Tt = function() {
320
+ var It = function() {
321
321
  function s(t) {
322
322
  t && (this._subscribe = t);
323
323
  }
@@ -325,8 +325,8 @@ var Tt = function() {
325
325
  var e = new s();
326
326
  return e.source = this, e.operator = t, e;
327
327
  }, s.prototype.subscribe = function(t, e, i) {
328
- var r = this, n = Te(t) ? t : new bt(t, e, i);
329
- return K(function() {
328
+ var r = this, n = Ie(t) ? t : new yt(t, e, i);
329
+ return q(function() {
330
330
  var o = r, a = o.operator, c = o.source;
331
331
  n.add(a ? a.call(n, c) : c ? r._subscribe(n) : r._trySubscribe(n));
332
332
  }), n;
@@ -338,8 +338,8 @@ var Tt = function() {
338
338
  }
339
339
  }, s.prototype.forEach = function(t, e) {
340
340
  var i = this;
341
- return e = It(e), new e(function(r, n) {
342
- var o = new bt({
341
+ return e = Rt(e), new e(function(r, n) {
342
+ var o = new yt({
343
343
  next: function(a) {
344
344
  try {
345
345
  t(a);
@@ -355,15 +355,15 @@ var Tt = function() {
355
355
  }, s.prototype._subscribe = function(t) {
356
356
  var e;
357
357
  return (e = this.source) === null || e === void 0 ? void 0 : e.subscribe(t);
358
- }, s.prototype[Se] = function() {
358
+ }, s.prototype[Ee] = function() {
359
359
  return this;
360
360
  }, s.prototype.pipe = function() {
361
361
  for (var t = [], e = 0; e < arguments.length; e++)
362
362
  t[e] = arguments[e];
363
- return Pe(t)(this);
363
+ return Oe(t)(this);
364
364
  }, s.prototype.toPromise = function(t) {
365
365
  var e = this;
366
- return t = It(t), new t(function(i, r) {
366
+ return t = Rt(t), new t(function(i, r) {
367
367
  var n;
368
368
  e.subscribe(function(o) {
369
369
  return n = o;
@@ -377,40 +377,40 @@ var Tt = function() {
377
377
  return new s(t);
378
378
  }, s;
379
379
  }();
380
- function It(s) {
380
+ function Rt(s) {
381
381
  var t;
382
- return (t = s ?? ie.Promise) !== null && t !== void 0 ? t : Promise;
382
+ return (t = s ?? se.Promise) !== null && t !== void 0 ? t : Promise;
383
383
  }
384
- function Oe(s) {
384
+ function Te(s) {
385
385
  return s && $(s.next) && $(s.error) && $(s.complete);
386
386
  }
387
- function Te(s) {
388
- return s && s instanceof se || Oe(s) && ee(s);
387
+ function Ie(s) {
388
+ return s && s instanceof re || Te(s) && ie(s);
389
389
  }
390
- var Ie = Qt(function(s) {
390
+ var Re = te(function(s) {
391
391
  return function() {
392
392
  s(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
393
393
  };
394
394
  }), wt = function(s) {
395
- W(t, s);
395
+ z(t, s);
396
396
  function t() {
397
397
  var e = s.call(this) || this;
398
398
  return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
399
399
  }
400
400
  return t.prototype.lift = function(e) {
401
- var i = new Rt(this, this);
401
+ var i = new kt(this, this);
402
402
  return i.operator = e, i;
403
403
  }, t.prototype._throwIfClosed = function() {
404
404
  if (this.closed)
405
- throw new Ie();
405
+ throw new Re();
406
406
  }, t.prototype.next = function(e) {
407
407
  var i = this;
408
- K(function() {
408
+ q(function() {
409
409
  var r, n;
410
410
  if (i._throwIfClosed(), !i.isStopped) {
411
411
  i.currentObservers || (i.currentObservers = Array.from(i.observers));
412
412
  try {
413
- for (var o = mt(i.currentObservers), a = o.next(); !a.done; a = o.next()) {
413
+ for (var o = gt(i.currentObservers), a = o.next(); !a.done; a = o.next()) {
414
414
  var c = a.value;
415
415
  c.next(e);
416
416
  }
@@ -428,7 +428,7 @@ var Ie = Qt(function(s) {
428
428
  });
429
429
  }, t.prototype.error = function(e) {
430
430
  var i = this;
431
- K(function() {
431
+ q(function() {
432
432
  if (i._throwIfClosed(), !i.isStopped) {
433
433
  i.hasError = i.isStopped = !0, i.thrownError = e;
434
434
  for (var r = i.observers; r.length; )
@@ -437,7 +437,7 @@ var Ie = Qt(function(s) {
437
437
  });
438
438
  }, t.prototype.complete = function() {
439
439
  var e = this;
440
- K(function() {
440
+ q(function() {
441
441
  if (e._throwIfClosed(), !e.isStopped) {
442
442
  e.isStopped = !0;
443
443
  for (var i = e.observers; i.length; )
@@ -459,20 +459,20 @@ var Ie = Qt(function(s) {
459
459
  return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
460
460
  }, t.prototype._innerSubscribe = function(e) {
461
461
  var i = this, r = this, n = r.hasError, o = r.isStopped, a = r.observers;
462
- return n || o ? te : (this.currentObservers = null, a.push(e), new it(function() {
463
- i.currentObservers = null, vt(a, e);
462
+ return n || o ? ee : (this.currentObservers = null, a.push(e), new et(function() {
463
+ i.currentObservers = null, mt(a, e);
464
464
  }));
465
465
  }, t.prototype._checkFinalizedStatuses = function(e) {
466
466
  var i = this, r = i.hasError, n = i.thrownError, o = i.isStopped;
467
467
  r ? e.error(n) : o && e.complete();
468
468
  }, t.prototype.asObservable = function() {
469
- var e = new Tt();
469
+ var e = new It();
470
470
  return e.source = this, e;
471
471
  }, t.create = function(e, i) {
472
- return new Rt(e, i);
472
+ return new kt(e, i);
473
473
  }, t;
474
- }(Tt), Rt = function(s) {
475
- W(t, s);
474
+ }(It), kt = function(s) {
475
+ z(t, s);
476
476
  function t(e, i) {
477
477
  var r = s.call(this) || this;
478
478
  return r.destination = e, r.source = i, r;
@@ -488,10 +488,10 @@ var Ie = Qt(function(s) {
488
488
  (i = (e = this.destination) === null || e === void 0 ? void 0 : e.complete) === null || i === void 0 || i.call(e);
489
489
  }, t.prototype._subscribe = function(e) {
490
490
  var i, r;
491
- return (r = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(e)) !== null && r !== void 0 ? r : te;
491
+ return (r = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(e)) !== null && r !== void 0 ? r : ee;
492
492
  }, t;
493
- }(wt), re = function(s) {
494
- W(t, s);
493
+ }(wt), ne = function(s) {
494
+ z(t, s);
495
495
  function t(e) {
496
496
  var i = s.call(this) || this;
497
497
  return i._value = e, i;
@@ -513,10 +513,10 @@ var Ie = Qt(function(s) {
513
513
  }, t.prototype.next = function(e) {
514
514
  s.prototype.next.call(this, this._value = e);
515
515
  }, t;
516
- }(wt), ne = /* @__PURE__ */ ((s) => (s.Loading = "loading", s.Ready = "ready", s))(ne || {});
517
- class kt {
516
+ }(wt), oe = /* @__PURE__ */ ((s) => (s.Loading = "loading", s.Ready = "ready", s))(oe || {});
517
+ class Mt {
518
518
  constructor(t, e) {
519
- this.state = new re(
519
+ this.state = new ne(
520
520
  "loading"
521
521
  /* Loading */
522
522
  ), this.resolvers = /* @__PURE__ */ new Map(), this.name = t, this.environment = e, this.state.next(
@@ -539,8 +539,8 @@ class kt {
539
539
  * Copyright 2019 Google LLC
540
540
  * SPDX-License-Identifier: BSD-3-Clause
541
541
  */
542
- const Z = globalThis, $t = Z.ShadowRoot && (Z.ShadyCSS === void 0 || Z.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, _t = Symbol(), Ut = /* @__PURE__ */ new WeakMap();
543
- let oe = class {
542
+ const K = globalThis, $t = K.ShadowRoot && (K.ShadyCSS === void 0 || K.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, _t = Symbol(), Nt = /* @__PURE__ */ new WeakMap();
543
+ let ae = class {
544
544
  constructor(t, e, i) {
545
545
  if (this._$cssResult$ = !0, i !== _t)
546
546
  throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
@@ -551,7 +551,7 @@ let oe = class {
551
551
  const e = this.t;
552
552
  if ($t && t === void 0) {
553
553
  const i = e !== void 0 && e.length === 1;
554
- i && (t = Ut.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && Ut.set(e, t));
554
+ i && (t = Nt.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && Nt.set(e, t));
555
555
  }
556
556
  return t;
557
557
  }
@@ -559,7 +559,7 @@ let oe = class {
559
559
  return this.cssText;
560
560
  }
561
561
  };
562
- const Re = (s) => new oe(typeof s == "string" ? s : s + "", void 0, _t), U = (s, ...t) => {
562
+ const ke = (s) => new ae(typeof s == "string" ? s : s + "", void 0, _t), M = (s, ...t) => {
563
563
  const e = s.length === 1 ? s[0] : t.reduce((i, r, n) => i + ((o) => {
564
564
  if (o._$cssResult$ === !0)
565
565
  return o.cssText;
@@ -567,30 +567,30 @@ const Re = (s) => new oe(typeof s == "string" ? s : s + "", void 0, _t), U = (s,
567
567
  return o;
568
568
  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.");
569
569
  })(r) + s[n + 1], s[0]);
570
- return new oe(e, s, _t);
571
- }, ke = (s, t) => {
570
+ return new ae(e, s, _t);
571
+ }, Me = (s, t) => {
572
572
  if ($t)
573
573
  s.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
574
574
  else
575
575
  for (const e of t) {
576
- const i = document.createElement("style"), r = Z.litNonce;
576
+ const i = document.createElement("style"), r = K.litNonce;
577
577
  r !== void 0 && i.setAttribute("nonce", r), i.textContent = e.cssText, s.appendChild(i);
578
578
  }
579
- }, Mt = $t ? (s) => s : (s) => s instanceof CSSStyleSheet ? ((t) => {
579
+ }, Ut = $t ? (s) => s : (s) => s instanceof CSSStyleSheet ? ((t) => {
580
580
  let e = "";
581
581
  for (const i of t.cssRules)
582
582
  e += i.cssText;
583
- return Re(e);
583
+ return ke(e);
584
584
  })(s) : s;
585
585
  /**
586
586
  * @license
587
587
  * Copyright 2017 Google LLC
588
588
  * SPDX-License-Identifier: BSD-3-Clause
589
589
  */
590
- const { is: Ue, defineProperty: Me, getOwnPropertyDescriptor: Ne, getOwnPropertyNames: je, getOwnPropertySymbols: Le, getPrototypeOf: He } = Object, C = globalThis, Nt = C.trustedTypes, De = Nt ? Nt.emptyScript : "", ct = C.reactiveElementPolyfillSupport, j = (s, t) => s, X = { toAttribute(s, t) {
590
+ const { is: Ne, defineProperty: Ue, getOwnPropertyDescriptor: je, getOwnPropertyNames: Le, getOwnPropertySymbols: He, getPrototypeOf: De } = Object, C = globalThis, jt = C.trustedTypes, Be = jt ? jt.emptyScript : "", at = C.reactiveElementPolyfillSupport, j = (s, t) => s, G = { toAttribute(s, t) {
591
591
  switch (t) {
592
592
  case Boolean:
593
- s = s ? De : null;
593
+ s = s ? Be : null;
594
594
  break;
595
595
  case Object:
596
596
  case Array:
@@ -615,7 +615,7 @@ const { is: Ue, defineProperty: Me, getOwnPropertyDescriptor: Ne, getOwnProperty
615
615
  }
616
616
  }
617
617
  return e;
618
- } }, At = (s, t) => !Ue(s, t), jt = { attribute: !0, type: String, converter: X, reflect: !1, hasChanged: At };
618
+ } }, At = (s, t) => !Ne(s, t), Lt = { attribute: !0, type: String, converter: G, reflect: !1, hasChanged: At };
619
619
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), C.litPropertyMetadata ?? (C.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
620
620
  let I = class extends HTMLElement {
621
621
  static addInitializer(t) {
@@ -624,14 +624,14 @@ let I = class extends HTMLElement {
624
624
  static get observedAttributes() {
625
625
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
626
626
  }
627
- static createProperty(t, e = jt) {
627
+ static createProperty(t, e = Lt) {
628
628
  if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
629
629
  const i = Symbol(), r = this.getPropertyDescriptor(t, i, e);
630
- r !== void 0 && Me(this.prototype, t, r);
630
+ r !== void 0 && Ue(this.prototype, t, r);
631
631
  }
632
632
  }
633
633
  static getPropertyDescriptor(t, e, i) {
634
- const { get: r, set: n } = Ne(this.prototype, t) ?? { get() {
634
+ const { get: r, set: n } = je(this.prototype, t) ?? { get() {
635
635
  return this[e];
636
636
  }, set(o) {
637
637
  this[e] = o;
@@ -644,19 +644,19 @@ let I = class extends HTMLElement {
644
644
  }, configurable: !0, enumerable: !0 };
645
645
  }
646
646
  static getPropertyOptions(t) {
647
- return this.elementProperties.get(t) ?? jt;
647
+ return this.elementProperties.get(t) ?? Lt;
648
648
  }
649
649
  static _$Ei() {
650
650
  if (this.hasOwnProperty(j("elementProperties")))
651
651
  return;
652
- const t = He(this);
652
+ const t = De(this);
653
653
  t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
654
654
  }
655
655
  static finalize() {
656
656
  if (this.hasOwnProperty(j("finalized")))
657
657
  return;
658
658
  if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(j("properties"))) {
659
- const e = this.properties, i = [...je(e), ...Le(e)];
659
+ const e = this.properties, i = [...Le(e), ...He(e)];
660
660
  for (const r of i)
661
661
  this.createProperty(r, e[r]);
662
662
  }
@@ -679,9 +679,9 @@ let I = class extends HTMLElement {
679
679
  if (Array.isArray(t)) {
680
680
  const i = new Set(t.flat(1 / 0).reverse());
681
681
  for (const r of i)
682
- e.unshift(Mt(r));
682
+ e.unshift(Ut(r));
683
683
  } else
684
- t !== void 0 && e.push(Mt(t));
684
+ t !== void 0 && e.push(Ut(t));
685
685
  return e;
686
686
  }
687
687
  static _$Eu(t, e) {
@@ -711,7 +711,7 @@ let I = class extends HTMLElement {
711
711
  }
712
712
  createRenderRoot() {
713
713
  const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
714
- return ke(t, this.constructor.elementStyles), t;
714
+ return Me(t, this.constructor.elementStyles), t;
715
715
  }
716
716
  connectedCallback() {
717
717
  var t;
@@ -736,7 +736,7 @@ let I = class extends HTMLElement {
736
736
  var n;
737
737
  const i = this.constructor.elementProperties.get(t), r = this.constructor._$Eu(t, i);
738
738
  if (r !== void 0 && i.reflect === !0) {
739
- const o = (((n = i.converter) == null ? void 0 : n.toAttribute) !== void 0 ? i.converter : X).toAttribute(e, i.type);
739
+ const o = (((n = i.converter) == null ? void 0 : n.toAttribute) !== void 0 ? i.converter : G).toAttribute(e, i.type);
740
740
  this._$Em = t, o == null ? this.removeAttribute(r) : this.setAttribute(r, o), this._$Em = null;
741
741
  }
742
742
  }
@@ -744,7 +744,7 @@ let I = class extends HTMLElement {
744
744
  var n;
745
745
  const i = this.constructor, r = i._$Eh.get(t);
746
746
  if (r !== void 0 && this._$Em !== r) {
747
- 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 : X;
747
+ 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 : G;
748
748
  this._$Em = r, this[r] = a.fromAttribute(e, o.type), this._$Em = null;
749
749
  }
750
750
  }
@@ -828,40 +828,40 @@ let I = class extends HTMLElement {
828
828
  firstUpdated(t) {
829
829
  }
830
830
  };
831
- I.elementStyles = [], I.shadowRootOptions = { mode: "open" }, I[j("elementProperties")] = /* @__PURE__ */ new Map(), I[j("finalized")] = /* @__PURE__ */ new Map(), ct == null || ct({ ReactiveElement: I }), (C.reactiveElementVersions ?? (C.reactiveElementVersions = [])).push("2.0.4");
831
+ I.elementStyles = [], I.shadowRootOptions = { mode: "open" }, I[j("elementProperties")] = /* @__PURE__ */ new Map(), I[j("finalized")] = /* @__PURE__ */ new Map(), at == null || at({ ReactiveElement: I }), (C.reactiveElementVersions ?? (C.reactiveElementVersions = [])).push("2.0.4");
832
832
  /**
833
833
  * @license
834
834
  * Copyright 2017 Google LLC
835
835
  * SPDX-License-Identifier: BSD-3-Clause
836
836
  */
837
- const L = globalThis, Q = L.trustedTypes, Lt = Q ? Q.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, ae = "$lit$", x = `lit$${(Math.random() + "").slice(9)}$`, ce = "?" + x, Be = `<${ce}>`, O = document, D = () => O.createComment(""), B = (s) => s === null || typeof s != "object" && typeof s != "function", he = Array.isArray, ze = (s) => he(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", ht = `[
838
- \f\r]`, N = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ht = /-->/g, Dt = />/g, S = RegExp(`>|${ht}(?:([^\\s"'>=/]+)(${ht}*=${ht}*(?:[^
839
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Bt = /'/g, zt = /"/g, le = /^(?:script|style|textarea|title)$/i, We = (s) => (t, ...e) => ({ _$litType$: s, strings: t, values: e }), R = We(1), T = Symbol.for("lit-noChange"), u = Symbol.for("lit-nothing"), Wt = /* @__PURE__ */ new WeakMap(), P = O.createTreeWalker(O, 129);
837
+ const L = globalThis, X = L.trustedTypes, Ht = X ? X.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, ce = "$lit$", x = `lit$${Math.random().toFixed(9).slice(2)}$`, he = "?" + x, ze = `<${he}>`, O = document, D = () => O.createComment(""), B = (s) => s === null || typeof s != "object" && typeof s != "function", xt = Array.isArray, We = (s) => xt(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", ct = `[
838
+ \f\r]`, U = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Dt = /-->/g, Bt = />/g, S = RegExp(`>|${ct}(?:([^\\s"'>=/]+)(${ct}*=${ct}*(?:[^
839
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), zt = /'/g, Wt = /"/g, le = /^(?:script|style|textarea|title)$/i, Fe = (s) => (t, ...e) => ({ _$litType$: s, strings: t, values: e }), R = Fe(1), T = Symbol.for("lit-noChange"), u = Symbol.for("lit-nothing"), Ft = /* @__PURE__ */ new WeakMap(), P = O.createTreeWalker(O, 129);
840
840
  function de(s, t) {
841
- if (!Array.isArray(s) || !s.hasOwnProperty("raw"))
841
+ if (!xt(s) || !s.hasOwnProperty("raw"))
842
842
  throw Error("invalid template strings array");
843
- return Lt !== void 0 ? Lt.createHTML(t) : t;
843
+ return Ht !== void 0 ? Ht.createHTML(t) : t;
844
844
  }
845
- const Fe = (s, t) => {
845
+ const Ve = (s, t) => {
846
846
  const e = s.length - 1, i = [];
847
- let r, n = t === 2 ? "<svg>" : "", o = N;
847
+ let r, n = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", o = U;
848
848
  for (let a = 0; a < e; a++) {
849
849
  const c = s[a];
850
850
  let l, h, d = -1, p = 0;
851
851
  for (; p < c.length && (o.lastIndex = p, h = o.exec(c), h !== null); )
852
- p = o.lastIndex, o === N ? h[1] === "!--" ? o = Ht : h[1] !== void 0 ? o = Dt : h[2] !== void 0 ? (le.test(h[2]) && (r = RegExp("</" + h[2], "g")), o = S) : h[3] !== void 0 && (o = S) : o === S ? h[0] === ">" ? (o = r ?? N, d = -1) : h[1] === void 0 ? d = -2 : (d = o.lastIndex - h[2].length, l = h[1], o = h[3] === void 0 ? S : h[3] === '"' ? zt : Bt) : o === zt || o === Bt ? o = S : o === Ht || o === Dt ? o = N : (o = S, r = void 0);
852
+ p = o.lastIndex, o === U ? h[1] === "!--" ? o = Dt : h[1] !== void 0 ? o = Bt : h[2] !== void 0 ? (le.test(h[2]) && (r = RegExp("</" + h[2], "g")), o = S) : h[3] !== void 0 && (o = S) : o === S ? h[0] === ">" ? (o = r ?? U, d = -1) : h[1] === void 0 ? d = -2 : (d = o.lastIndex - h[2].length, l = h[1], o = h[3] === void 0 ? S : h[3] === '"' ? Wt : zt) : o === Wt || o === zt ? o = S : o === Dt || o === Bt ? o = U : (o = S, r = void 0);
853
853
  const f = o === S && s[a + 1].startsWith("/>") ? " " : "";
854
- n += o === N ? c + Be : d >= 0 ? (i.push(l), c.slice(0, d) + ae + c.slice(d) + x + f) : c + x + (d === -2 ? a : f);
854
+ n += o === U ? c + ze : d >= 0 ? (i.push(l), c.slice(0, d) + ce + c.slice(d) + x + f) : c + x + (d === -2 ? a : f);
855
855
  }
856
- return [de(s, n + (s[e] || "<?>") + (t === 2 ? "</svg>" : "")), i];
856
+ return [de(s, n + (s[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
857
857
  };
858
- class z {
858
+ let bt = class pe {
859
859
  constructor({ strings: t, _$litType$: e }, i) {
860
860
  let r;
861
861
  this.parts = [];
862
862
  let n = 0, o = 0;
863
- const a = t.length - 1, c = this.parts, [l, h] = Fe(t, e);
864
- if (this.el = z.createElement(l, i), P.currentNode = this.el.content, e === 2) {
863
+ const a = t.length - 1, c = this.parts, [l, h] = Ve(t, e);
864
+ if (this.el = pe.createElement(l, i), P.currentNode = this.el.content, e === 2 || e === 3) {
865
865
  const d = this.el.content.firstChild;
866
866
  d.replaceWith(...d.childNodes);
867
867
  }
@@ -869,22 +869,22 @@ class z {
869
869
  if (r.nodeType === 1) {
870
870
  if (r.hasAttributes())
871
871
  for (const d of r.getAttributeNames())
872
- if (d.endsWith(ae)) {
872
+ if (d.endsWith(ce)) {
873
873
  const p = h[o++], f = r.getAttribute(d).split(x), g = /([.?@])?(.*)/.exec(p);
874
- c.push({ type: 1, index: n, name: g[2], strings: f, ctor: g[1] === "." ? Ye : g[1] === "?" ? qe : g[1] === "@" ? Ke : st }), r.removeAttribute(d);
874
+ c.push({ type: 1, index: n, name: g[2], strings: f, ctor: g[1] === "." ? qe : g[1] === "?" ? Ke : g[1] === "@" ? Ze : it }), r.removeAttribute(d);
875
875
  } else
876
876
  d.startsWith(x) && (c.push({ type: 6, index: n }), r.removeAttribute(d));
877
877
  if (le.test(r.tagName)) {
878
878
  const d = r.textContent.split(x), p = d.length - 1;
879
879
  if (p > 0) {
880
- r.textContent = Q ? Q.emptyScript : "";
880
+ r.textContent = X ? X.emptyScript : "";
881
881
  for (let f = 0; f < p; f++)
882
882
  r.append(d[f], D()), P.nextNode(), c.push({ type: 2, index: ++n });
883
883
  r.append(d[p], D());
884
884
  }
885
885
  }
886
886
  } else if (r.nodeType === 8)
887
- if (r.data === ce)
887
+ if (r.data === he)
888
888
  c.push({ type: 2, index: n });
889
889
  else {
890
890
  let d = -1;
@@ -898,7 +898,7 @@ class z {
898
898
  const i = O.createElement("template");
899
899
  return i.innerHTML = t, i;
900
900
  }
901
- }
901
+ };
902
902
  function k(s, t, e = s, i) {
903
903
  var o, a;
904
904
  if (t === T)
@@ -907,7 +907,7 @@ function k(s, t, e = s, i) {
907
907
  const n = B(t) ? void 0 : t._$litDirective$;
908
908
  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 = k(s, r._$AS(s, t.values), r, i)), t;
909
909
  }
910
- class Ve {
910
+ class Ye {
911
911
  constructor(t, e) {
912
912
  this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
913
913
  }
@@ -924,7 +924,7 @@ class Ve {
924
924
  for (; c !== void 0; ) {
925
925
  if (o === c.index) {
926
926
  let l;
927
- c.type === 2 ? l = new F(n, n.nextSibling, this, t) : c.type === 1 ? l = new c.ctor(n, c.name, c.strings, this, t) : c.type === 6 && (l = new Ze(n, this, t)), this._$AV.push(l), c = i[++a];
927
+ c.type === 2 ? l = new W(n, n.nextSibling, this, t) : c.type === 1 ? l = new c.ctor(n, c.name, c.strings, this, t) : c.type === 6 && (l = new Je(n, this, t)), this._$AV.push(l), c = i[++a];
928
928
  }
929
929
  o !== (c == null ? void 0 : c.index) && (n = P.nextNode(), o++);
930
930
  }
@@ -936,7 +936,7 @@ class Ve {
936
936
  i !== void 0 && (i.strings !== void 0 ? (i._$AI(t, i, e), e += i.strings.length - 2) : i._$AI(t[e])), e++;
937
937
  }
938
938
  }
939
- class F {
939
+ class W {
940
940
  get _$AU() {
941
941
  var t;
942
942
  return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
@@ -956,37 +956,37 @@ class F {
956
956
  return this._$AB;
957
957
  }
958
958
  _$AI(t, e = this) {
959
- t = k(this, t, e), B(t) ? t === u || t == null || t === "" ? (this._$AH !== u && this._$AR(), this._$AH = u) : t !== this._$AH && t !== T && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : ze(t) ? this.k(t) : this._(t);
959
+ t = k(this, t, e), B(t) ? t === u || t == null || t === "" ? (this._$AH !== u && this._$AR(), this._$AH = u) : t !== this._$AH && t !== T && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : We(t) ? this.k(t) : this._(t);
960
960
  }
961
- S(t) {
961
+ O(t) {
962
962
  return this._$AA.parentNode.insertBefore(t, this._$AB);
963
963
  }
964
964
  T(t) {
965
- this._$AH !== t && (this._$AR(), this._$AH = this.S(t));
965
+ this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
966
966
  }
967
967
  _(t) {
968
968
  this._$AH !== u && B(this._$AH) ? this._$AA.nextSibling.data = t : this.T(O.createTextNode(t)), this._$AH = t;
969
969
  }
970
970
  $(t) {
971
971
  var n;
972
- const { values: e, _$litType$: i } = t, r = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = z.createElement(de(i.h, i.h[0]), this.options)), i);
972
+ const { values: e, _$litType$: i } = t, r = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = bt.createElement(de(i.h, i.h[0]), this.options)), i);
973
973
  if (((n = this._$AH) == null ? void 0 : n._$AD) === r)
974
974
  this._$AH.p(e);
975
975
  else {
976
- const o = new Ve(r, this), a = o.u(this.options);
976
+ const o = new Ye(r, this), a = o.u(this.options);
977
977
  o.p(e), this.T(a), this._$AH = o;
978
978
  }
979
979
  }
980
980
  _$AC(t) {
981
- let e = Wt.get(t.strings);
982
- return e === void 0 && Wt.set(t.strings, e = new z(t)), e;
981
+ let e = Ft.get(t.strings);
982
+ return e === void 0 && Ft.set(t.strings, e = new bt(t)), e;
983
983
  }
984
984
  k(t) {
985
- he(this._$AH) || (this._$AH = [], this._$AR());
985
+ xt(this._$AH) || (this._$AH = [], this._$AR());
986
986
  const e = this._$AH;
987
987
  let i, r = 0;
988
988
  for (const n of t)
989
- r === e.length ? e.push(i = new F(this.S(D()), this.S(D()), this, this.options)) : i = e[r], i._$AI(n), r++;
989
+ r === e.length ? e.push(i = new W(this.O(D()), this.O(D()), this, this.options)) : i = e[r], i._$AI(n), r++;
990
990
  r < e.length && (this._$AR(i && i._$AB.nextSibling, r), e.length = r);
991
991
  }
992
992
  _$AR(t = this._$AA.nextSibling, e) {
@@ -1001,7 +1001,7 @@ class F {
1001
1001
  this._$AM === void 0 && (this._$Cv = t, (e = this._$AP) == null || e.call(this, t));
1002
1002
  }
1003
1003
  }
1004
- class st {
1004
+ class it {
1005
1005
  get tagName() {
1006
1006
  return this.element.tagName;
1007
1007
  }
@@ -1028,7 +1028,7 @@ class st {
1028
1028
  t === u ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
1029
1029
  }
1030
1030
  }
1031
- class Ye extends st {
1031
+ class qe extends it {
1032
1032
  constructor() {
1033
1033
  super(...arguments), this.type = 3;
1034
1034
  }
@@ -1036,7 +1036,7 @@ class Ye extends st {
1036
1036
  this.element[this.name] = t === u ? void 0 : t;
1037
1037
  }
1038
1038
  }
1039
- class qe extends st {
1039
+ class Ke extends it {
1040
1040
  constructor() {
1041
1041
  super(...arguments), this.type = 4;
1042
1042
  }
@@ -1044,7 +1044,7 @@ class qe extends st {
1044
1044
  this.element.toggleAttribute(this.name, !!t && t !== u);
1045
1045
  }
1046
1046
  }
1047
- class Ke extends st {
1047
+ class Ze extends it {
1048
1048
  constructor(t, e, i, r, n) {
1049
1049
  super(t, e, i, r, n), this.type = 5;
1050
1050
  }
@@ -1059,7 +1059,7 @@ class Ke extends st {
1059
1059
  typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, t) : this._$AH.handleEvent(t);
1060
1060
  }
1061
1061
  }
1062
- class Ze {
1062
+ class Je {
1063
1063
  constructor(t, e, i) {
1064
1064
  this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
1065
1065
  }
@@ -1070,14 +1070,14 @@ class Ze {
1070
1070
  k(this, t);
1071
1071
  }
1072
1072
  }
1073
- const lt = L.litHtmlPolyfillSupport;
1074
- lt == null || lt(z, F), (L.litHtmlVersions ?? (L.litHtmlVersions = [])).push("3.1.2");
1075
- const Je = (s, t, e) => {
1073
+ const ht = L.litHtmlPolyfillSupport;
1074
+ ht == null || ht(bt, W), (L.litHtmlVersions ?? (L.litHtmlVersions = [])).push("3.2.1");
1075
+ const Ge = (s, t, e) => {
1076
1076
  const i = (e == null ? void 0 : e.renderBefore) ?? t;
1077
1077
  let r = i._$litPart$;
1078
1078
  if (r === void 0) {
1079
1079
  const n = (e == null ? void 0 : e.renderBefore) ?? null;
1080
- i._$litPart$ = r = new F(t.insertBefore(D(), n), n, void 0, e ?? {});
1080
+ i._$litPart$ = r = new W(t.insertBefore(D(), n), n, void 0, e ?? {});
1081
1081
  }
1082
1082
  return r._$AI(s), r;
1083
1083
  };
@@ -1097,7 +1097,7 @@ let _ = class extends I {
1097
1097
  }
1098
1098
  update(t) {
1099
1099
  const e = this.render();
1100
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Je(e, this.renderRoot, this.renderOptions);
1100
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Ge(e, this.renderRoot, this.renderOptions);
1101
1101
  }
1102
1102
  connectedCallback() {
1103
1103
  var t;
@@ -1111,17 +1111,17 @@ let _ = class extends I {
1111
1111
  return T;
1112
1112
  }
1113
1113
  };
1114
- var Xt;
1115
- _._$litElement$ = !0, _.finalized = !0, (Xt = globalThis.litElementHydrateSupport) == null || Xt.call(globalThis, { LitElement: _ });
1116
- const dt = globalThis.litElementPolyfillSupport;
1117
- dt == null || dt({ LitElement: _ });
1118
- (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.0.4");
1114
+ var Qt;
1115
+ _._$litElement$ = !0, _.finalized = !0, (Qt = globalThis.litElementHydrateSupport) == null || Qt.call(globalThis, { LitElement: _ });
1116
+ const lt = globalThis.litElementPolyfillSupport;
1117
+ lt == null || lt({ LitElement: _ });
1118
+ (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.1.1");
1119
1119
  /**
1120
1120
  * @license
1121
1121
  * Copyright 2017 Google LLC
1122
1122
  * SPDX-License-Identifier: BSD-3-Clause
1123
1123
  */
1124
- const Ge = { attribute: !0, type: String, converter: X, reflect: !1, hasChanged: At }, Xe = (s = Ge, t, e) => {
1124
+ const Xe = { attribute: !0, type: String, converter: G, reflect: !1, hasChanged: At }, Qe = (s = Xe, t, e) => {
1125
1125
  const { kind: i, metadata: r } = e;
1126
1126
  let n = globalThis.litPropertyMetadata.get(r);
1127
1127
  if (n === void 0 && globalThis.litPropertyMetadata.set(r, n = /* @__PURE__ */ new Map()), n.set(e.name, s), i === "accessor") {
@@ -1143,7 +1143,7 @@ const Ge = { attribute: !0, type: String, converter: X, reflect: !1, hasChanged:
1143
1143
  throw Error("Unsupported decorator location: " + i);
1144
1144
  };
1145
1145
  function m(s) {
1146
- return (t, e) => typeof e == "object" ? Xe(s, t, e) : ((i, r, n) => {
1146
+ return (t, e) => typeof e == "object" ? Qe(s, t, e) : ((i, r, n) => {
1147
1147
  const o = r.hasOwnProperty(n);
1148
1148
  return r.constructor.createProperty(n, o ? { ...i, wrapped: !0 } : i), o ? Object.getOwnPropertyDescriptor(r, n) : void 0;
1149
1149
  })(s, t, e);
@@ -1153,15 +1153,15 @@ function m(s) {
1153
1153
  * Copyright 2017 Google LLC
1154
1154
  * SPDX-License-Identifier: BSD-3-Clause
1155
1155
  */
1156
- function M(s) {
1156
+ function N(s) {
1157
1157
  return m({ ...s, state: !0, attribute: !1 });
1158
1158
  }
1159
- var Qe = Object.defineProperty, ti = Object.getOwnPropertyDescriptor, ei = (s, t, e, i) => {
1160
- for (var r = i > 1 ? void 0 : i ? ti(t, e) : t, n = s.length - 1, o; n >= 0; n--)
1159
+ var ti = Object.defineProperty, ei = Object.getOwnPropertyDescriptor, ii = (s, t, e, i) => {
1160
+ for (var r = i > 1 ? void 0 : i ? ei(t, e) : t, n = s.length - 1, o; n >= 0; n--)
1161
1161
  (o = s[n]) && (r = (i ? o(t, e, r) : o(r)) || r);
1162
- return i && r && Qe(t, e, r), r;
1162
+ return i && r && ti(t, e, r), r;
1163
1163
  };
1164
- class rt extends _ {
1164
+ class st extends _ {
1165
1165
  constructor() {
1166
1166
  super(...arguments), this.anchor = "BottomRight";
1167
1167
  }
@@ -1173,8 +1173,8 @@ class rt extends _ {
1173
1173
  return this.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right"), u;
1174
1174
  }
1175
1175
  }
1176
- rt.styles = [
1177
- U`
1176
+ st.styles = [
1177
+ M`
1178
1178
  :host {
1179
1179
  position: fixed;
1180
1180
  display: flex;
@@ -1192,16 +1192,16 @@ rt.styles = [
1192
1192
  }
1193
1193
  `
1194
1194
  ];
1195
- ei([
1195
+ ii([
1196
1196
  m({ attribute: !0 })
1197
- ], rt.prototype, "anchor", 2);
1197
+ ], st.prototype, "anchor", 2);
1198
1198
  /**
1199
1199
  * @license
1200
1200
  * Copyright 2017 Google LLC
1201
1201
  * SPDX-License-Identifier: BSD-3-Clause
1202
1202
  */
1203
- const xt = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, Ct = (s) => (...t) => ({ _$litDirective$: s, values: t });
1204
- let pe = class {
1203
+ const Ct = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, St = (s) => (...t) => ({ _$litDirective$: s, values: t });
1204
+ let ue = class {
1205
1205
  constructor(t) {
1206
1206
  }
1207
1207
  get _$AU() {
@@ -1222,7 +1222,7 @@ let pe = class {
1222
1222
  * Copyright 2020 Google LLC
1223
1223
  * SPDX-License-Identifier: BSD-3-Clause
1224
1224
  */
1225
- const ii = (s) => s.strings === void 0;
1225
+ const si = (s) => s.strings === void 0;
1226
1226
  /**
1227
1227
  * @license
1228
1228
  * Copyright 2017 Google LLC
@@ -1236,54 +1236,54 @@ const H = (s, t) => {
1236
1236
  for (const r of e)
1237
1237
  (i = r._$AO) == null || i.call(r, t, !1), H(r, t);
1238
1238
  return !0;
1239
- }, tt = (s) => {
1239
+ }, Q = (s) => {
1240
1240
  let t, e;
1241
1241
  do {
1242
1242
  if ((t = s._$AM) === void 0)
1243
1243
  break;
1244
1244
  e = t._$AN, e.delete(s), s = t;
1245
1245
  } while ((e == null ? void 0 : e.size) === 0);
1246
- }, ue = (s) => {
1246
+ }, fe = (s) => {
1247
1247
  for (let t; t = s._$AM; s = t) {
1248
1248
  let e = t._$AN;
1249
1249
  if (e === void 0)
1250
1250
  t._$AN = e = /* @__PURE__ */ new Set();
1251
1251
  else if (e.has(s))
1252
1252
  break;
1253
- e.add(s), ni(t);
1253
+ e.add(s), oi(t);
1254
1254
  }
1255
1255
  };
1256
- function si(s) {
1257
- this._$AN !== void 0 ? (tt(this), this._$AM = s, ue(this)) : this._$AM = s;
1256
+ function ri(s) {
1257
+ this._$AN !== void 0 ? (Q(this), this._$AM = s, fe(this)) : this._$AM = s;
1258
1258
  }
1259
- function ri(s, t = !1, e = 0) {
1259
+ function ni(s, t = !1, e = 0) {
1260
1260
  const i = this._$AH, r = this._$AN;
1261
1261
  if (r !== void 0 && r.size !== 0)
1262
1262
  if (t)
1263
1263
  if (Array.isArray(i))
1264
1264
  for (let n = e; n < i.length; n++)
1265
- H(i[n], !1), tt(i[n]);
1265
+ H(i[n], !1), Q(i[n]);
1266
1266
  else
1267
- i != null && (H(i, !1), tt(i));
1267
+ i != null && (H(i, !1), Q(i));
1268
1268
  else
1269
1269
  H(this, s);
1270
1270
  }
1271
- const ni = (s) => {
1272
- s.type == xt.CHILD && (s._$AP ?? (s._$AP = ri), s._$AQ ?? (s._$AQ = si));
1271
+ const oi = (s) => {
1272
+ s.type == Ct.CHILD && (s._$AP ?? (s._$AP = ni), s._$AQ ?? (s._$AQ = ri));
1273
1273
  };
1274
- class fe extends pe {
1274
+ class ge extends ue {
1275
1275
  constructor() {
1276
1276
  super(...arguments), this._$AN = void 0;
1277
1277
  }
1278
1278
  _$AT(t, e, i) {
1279
- super._$AT(t, e, i), ue(this), this.isConnected = t._$AU;
1279
+ super._$AT(t, e, i), fe(this), this.isConnected = t._$AU;
1280
1280
  }
1281
1281
  _$AO(t, e = !0) {
1282
1282
  var i, r;
1283
- t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (r = this.disconnected) == null || r.call(this)), e && (H(this, t), tt(this));
1283
+ t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (r = this.disconnected) == null || r.call(this)), e && (H(this, t), Q(this));
1284
1284
  }
1285
1285
  setValue(t) {
1286
- if (ii(this._$Ct))
1286
+ if (si(this._$Ct))
1287
1287
  this._$Ct._$AI(t, this);
1288
1288
  else {
1289
1289
  const e = [...this._$Ct._$AH];
@@ -1295,34 +1295,34 @@ class fe extends pe {
1295
1295
  reconnected() {
1296
1296
  }
1297
1297
  }
1298
- const oi = /* @__PURE__ */ new WeakMap();
1299
- let Ft = 0;
1300
- const pt = /* @__PURE__ */ new Map(), Vt = /* @__PURE__ */ new WeakSet(), Yt = () => new Promise((s) => requestAnimationFrame(s)), ai = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], qt = (s, t) => {
1298
+ const ai = /* @__PURE__ */ new WeakMap();
1299
+ let Vt = 0;
1300
+ const dt = /* @__PURE__ */ new Map(), Yt = /* @__PURE__ */ new WeakSet(), qt = () => new Promise((s) => requestAnimationFrame(s)), ci = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], Kt = (s, t) => {
1301
1301
  const e = s - t;
1302
1302
  return e === 0 ? void 0 : e;
1303
- }, Kt = (s, t) => {
1303
+ }, Zt = (s, t) => {
1304
1304
  const e = s / t;
1305
1305
  return e === 1 ? void 0 : e;
1306
- }, ut = { left: (s, t) => {
1307
- const e = qt(s, t);
1306
+ }, pt = { left: (s, t) => {
1307
+ const e = Kt(s, t);
1308
1308
  return { value: e, transform: e == null || isNaN(e) ? void 0 : `translateX(${e}px)` };
1309
1309
  }, top: (s, t) => {
1310
- const e = qt(s, t);
1310
+ const e = Kt(s, t);
1311
1311
  return { value: e, transform: e == null || isNaN(e) ? void 0 : `translateY(${e}px)` };
1312
1312
  }, width: (s, t) => {
1313
1313
  let e;
1314
1314
  t === 0 && (t = 1, e = { width: "1px" });
1315
- const i = Kt(s, t);
1315
+ const i = Zt(s, t);
1316
1316
  return { value: i, overrideFrom: e, transform: i == null || isNaN(i) ? void 0 : `scaleX(${i})` };
1317
1317
  }, height: (s, t) => {
1318
1318
  let e;
1319
1319
  t === 0 && (t = 1, e = { height: "1px" });
1320
- const i = Kt(s, t);
1320
+ const i = Zt(s, t);
1321
1321
  return { value: i, overrideFrom: e, transform: i == null || isNaN(i) ? void 0 : `scaleY(${i})` };
1322
- } }, ci = { duration: 333, easing: "ease-in-out" }, hi = ["left", "top", "width", "height", "opacity", "color", "background"], Zt = /* @__PURE__ */ new WeakMap();
1323
- class li extends fe {
1322
+ } }, hi = { duration: 333, easing: "ease-in-out" }, li = ["left", "top", "width", "height", "opacity", "color", "background"], Jt = /* @__PURE__ */ new WeakMap();
1323
+ class di extends ge {
1324
1324
  constructor(t) {
1325
- if (super(t), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, t.type === xt.CHILD)
1325
+ if (super(t), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, t.type === Ct.CHILD)
1326
1326
  throw Error("The `animate` directive must be used in attribute position.");
1327
1327
  this.createFinished();
1328
1328
  }
@@ -1340,7 +1340,7 @@ class li extends fe {
1340
1340
  return u;
1341
1341
  }
1342
1342
  getController() {
1343
- return oi.get(this.u);
1343
+ return ai.get(this.u);
1344
1344
  }
1345
1345
  isDisabled() {
1346
1346
  var t;
@@ -1349,17 +1349,17 @@ class li extends fe {
1349
1349
  update(t, [e]) {
1350
1350
  var r;
1351
1351
  const i = this.u === void 0;
1352
- 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, Zt.set(this.element, this)), this.optionsOrCallback = e, (i || typeof e != "function") && this.p(e), this.render(e);
1352
+ 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, Jt.set(this.element, this)), this.optionsOrCallback = e, (i || typeof e != "function") && this.p(e), this.render(e);
1353
1353
  }
1354
1354
  p(t) {
1355
1355
  t = t ?? {};
1356
1356
  const e = this.getController();
1357
- e !== void 0 && ((t = { ...e.defaultOptions, ...t }).keyframeOptions = { ...e.defaultOptions.keyframeOptions, ...t.keyframeOptions }), t.properties ?? (t.properties = hi), this.options = t;
1357
+ e !== void 0 && ((t = { ...e.defaultOptions, ...t }).keyframeOptions = { ...e.defaultOptions.keyframeOptions, ...t.keyframeOptions }), t.properties ?? (t.properties = li), this.options = t;
1358
1358
  }
1359
1359
  m() {
1360
1360
  const t = {}, e = this.element.getBoundingClientRect(), i = getComputedStyle(this.element);
1361
1361
  return this.options.properties.forEach((r) => {
1362
- const n = e[r] ?? (ut[r] ? void 0 : i[r]), o = Number(n);
1362
+ const n = e[r] ?? (pt[r] ? void 0 : i[r]), o = Number(n);
1363
1363
  t[r] = isNaN(o) ? n + "" : o;
1364
1364
  }), t;
1365
1365
  }
@@ -1381,17 +1381,17 @@ class li extends fe {
1381
1381
  if (!this.h || !this.element.isConnected || this.options.skipInitial && !this.isHostRendered)
1382
1382
  return;
1383
1383
  let t;
1384
- this.prepare(), await Yt;
1384
+ this.prepare(), await qt;
1385
1385
  const e = this.O(), i = this.j(this.options.keyframeOptions, e), r = this.m();
1386
1386
  if (this.A !== void 0) {
1387
1387
  const { from: n, to: o } = this.N(this.A, r, e);
1388
1388
  this.log("measured", [this.A, r, n, o]), t = this.calculateKeyframes(n, o);
1389
1389
  } else {
1390
- const n = pt.get(this.options.inId);
1390
+ const n = dt.get(this.options.inId);
1391
1391
  if (n) {
1392
- pt.delete(this.options.inId);
1392
+ dt.delete(this.options.inId);
1393
1393
  const { from: o, to: a } = this.N(n, r, e);
1394
- t = this.calculateKeyframes(o, a), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t, Ft++, t.forEach((c) => c.zIndex = Ft);
1394
+ t = this.calculateKeyframes(o, a), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t, Vt++, t.forEach((c) => c.zIndex = Vt);
1395
1395
  } else
1396
1396
  this.options.in && (t = [...this.options.in, {}]);
1397
1397
  }
@@ -1408,9 +1408,9 @@ class li extends fe {
1408
1408
  }
1409
1409
  async disconnected() {
1410
1410
  var e;
1411
- if (!this.h || (this.options.id !== void 0 && pt.set(this.options.id, this.A), this.options.out === void 0))
1411
+ if (!this.h || (this.options.id !== void 0 && dt.set(this.options.id, this.A), this.options.out === void 0))
1412
1412
  return;
1413
- if (this.prepare(), await Yt(), (e = this.i) == null ? void 0 : e.isConnected) {
1413
+ if (this.prepare(), await qt(), (e = this.i) == null ? void 0 : e.isConnected) {
1414
1414
  const i = this.o && this.o.parentNode === this.i ? this.o : null;
1415
1415
  if (this.i.insertBefore(this.element, i), this.options.stabilizeOut) {
1416
1416
  const r = this.m();
@@ -1436,19 +1436,19 @@ class li extends fe {
1436
1436
  O() {
1437
1437
  const t = [];
1438
1438
  for (let e = this.element.parentNode; e; e = e == null ? void 0 : e.parentNode) {
1439
- const i = Zt.get(e);
1439
+ const i = Jt.get(e);
1440
1440
  i && !i.isDisabled() && i && t.push(i);
1441
1441
  }
1442
1442
  return t;
1443
1443
  }
1444
1444
  get isHostRendered() {
1445
- const t = Vt.has(this.u);
1445
+ const t = Yt.has(this.u);
1446
1446
  return t || this.u.updateComplete.then(() => {
1447
- Vt.add(this.u);
1447
+ Yt.add(this.u);
1448
1448
  }), t;
1449
1449
  }
1450
1450
  j(t, e = this.O()) {
1451
- const i = { ...ci };
1451
+ const i = { ...hi };
1452
1452
  return e.forEach((r) => Object.assign(i, r.options.keyframeOptions)), Object.assign(i, t), i;
1453
1453
  }
1454
1454
  N(t, e, i) {
@@ -1465,8 +1465,8 @@ class li extends fe {
1465
1465
  const a = {};
1466
1466
  for (const c in e) {
1467
1467
  const l = t[c], h = e[c];
1468
- if (c in ut) {
1469
- const d = ut[c];
1468
+ if (c in pt) {
1469
+ const d = pt[c];
1470
1470
  if (l === void 0 || h === void 0)
1471
1471
  continue;
1472
1472
  const p = d(l, h);
@@ -1499,16 +1499,16 @@ class li extends fe {
1499
1499
  this.shouldLog && !this.isDisabled() && console.log(t, this.options.id, e);
1500
1500
  }
1501
1501
  }
1502
- const di = Ct(li), pi = { 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>' };
1502
+ const pi = St(di), ui = { 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>' };
1503
1503
  /**
1504
1504
  * @license
1505
1505
  * Copyright 2018 Google LLC
1506
1506
  * SPDX-License-Identifier: BSD-3-Clause
1507
1507
  */
1508
- const Jt = Ct(class extends pe {
1508
+ const Gt = St(class extends ue {
1509
1509
  constructor(s) {
1510
1510
  var t;
1511
- if (super(s), s.type !== xt.ATTRIBUTE || s.name !== "class" || ((t = s.strings) == null ? void 0 : t.length) > 2)
1511
+ if (super(s), s.type !== Ct.ATTRIBUTE || s.name !== "class" || ((t = s.strings) == null ? void 0 : t.length) > 2)
1512
1512
  throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
1513
1513
  }
1514
1514
  render(s) {
@@ -1533,7 +1533,7 @@ const Jt = Ct(class extends pe {
1533
1533
  }
1534
1534
  }), b = (s, t, e) => {
1535
1535
  s && e.style.setProperty(t, s);
1536
- }, ge = (s, t) => {
1536
+ }, me = (s, t) => {
1537
1537
  var e, i, r, n, o, a, c, l, h;
1538
1538
  b((e = s.colors) == null ? void 0 : e.primaryBackground, "--primary-background", t), b(
1539
1539
  (i = s.colors) == null ? void 0 : i.textOnPrimaryBackground,
@@ -1570,10 +1570,10 @@ const Jt = Ct(class extends pe {
1570
1570
  * Copyright 2020 Google LLC
1571
1571
  * SPDX-License-Identifier: BSD-3-Clause
1572
1572
  */
1573
- const me = () => new ui();
1574
- class ui {
1573
+ const ve = () => new fi();
1574
+ class fi {
1575
1575
  }
1576
- const ft = /* @__PURE__ */ new WeakMap(), ve = Ct(class extends fe {
1576
+ const ut = /* @__PURE__ */ new WeakMap(), ye = St(class extends ge {
1577
1577
  render(s) {
1578
1578
  return u;
1579
1579
  }
@@ -1583,16 +1583,16 @@ const ft = /* @__PURE__ */ new WeakMap(), ve = Ct(class extends fe {
1583
1583
  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)), u;
1584
1584
  }
1585
1585
  rt(s) {
1586
- if (typeof this.Y == "function") {
1586
+ if (this.isConnected || (s = void 0), typeof this.Y == "function") {
1587
1587
  const t = this.ht ?? globalThis;
1588
- let e = ft.get(t);
1589
- e === void 0 && (e = /* @__PURE__ */ new WeakMap(), ft.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);
1588
+ let e = ut.get(t);
1589
+ e === void 0 && (e = /* @__PURE__ */ new WeakMap(), ut.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);
1590
1590
  } else
1591
1591
  this.Y.value = s;
1592
1592
  }
1593
1593
  get lt() {
1594
1594
  var s, t;
1595
- return typeof this.Y == "function" ? (s = ft.get(this.ht ?? globalThis)) == null ? void 0 : s.get(this.Y) : (t = this.Y) == null ? void 0 : t.value;
1595
+ return typeof this.Y == "function" ? (s = ut.get(this.ht ?? globalThis)) == null ? void 0 : s.get(this.Y) : (t = this.Y) == null ? void 0 : t.value;
1596
1596
  }
1597
1597
  disconnected() {
1598
1598
  this.lt === this.ct && this.rt(void 0);
@@ -1601,14 +1601,14 @@ const ft = /* @__PURE__ */ new WeakMap(), ve = Ct(class extends fe {
1601
1601
  this.rt(this.ct);
1602
1602
  }
1603
1603
  });
1604
- var fi = Object.defineProperty, gi = Object.getOwnPropertyDescriptor, V = (s, t, e, i) => {
1605
- for (var r = i > 1 ? void 0 : i ? gi(t, e) : t, n = s.length - 1, o; n >= 0; n--)
1604
+ var gi = Object.defineProperty, mi = Object.getOwnPropertyDescriptor, F = (s, t, e, i) => {
1605
+ for (var r = i > 1 ? void 0 : i ? mi(t, e) : t, n = s.length - 1, o; n >= 0; n--)
1606
1606
  (o = s[n]) && (r = (i ? o(t, e, r) : o(r)) || r);
1607
- return i && r && fi(t, e, r), r;
1607
+ return i && r && gi(t, e, r), r;
1608
1608
  };
1609
1609
  class A extends _ {
1610
1610
  constructor() {
1611
- super(...arguments), this.active = !1, this.triggerVisible = !0, this.loaded = !1, this.containerRef = me(), this.widgetActive$ = new re(!1), this.componentIsDestroyed$ = new wt();
1611
+ super(...arguments), this.active = !1, this.triggerVisible = !0, this.loaded = !1, this.containerRef = ve(), this.widgetActive$ = new ne(!1), this.componentIsDestroyed$ = new wt();
1612
1612
  }
1613
1613
  async connectedCallback() {
1614
1614
  super.connectedCallback(), this.icon = await this._renderSymbol(), this.loaded = !0, this._applyBranding();
@@ -1643,7 +1643,7 @@ class A extends _ {
1643
1643
  }
1644
1644
  _applyBranding() {
1645
1645
  var t;
1646
- (t = this.application) != null && t.settings && ge(this.application.settings.branding, this);
1646
+ (t = this.application) != null && t.settings && me(this.application.settings.branding, this);
1647
1647
  }
1648
1648
  async _renderSymbol() {
1649
1649
  var a, c, l;
@@ -1653,7 +1653,7 @@ class A extends _ {
1653
1653
  const i = (l = this.application) == null ? void 0 : l.triggerIcon;
1654
1654
  if (!i)
1655
1655
  return u;
1656
- const r = async (h) => pi, { type: n, content: o } = i;
1656
+ const r = async (h) => ui, { type: n, content: o } = i;
1657
1657
  switch (n) {
1658
1658
  case "Telia": {
1659
1659
  const h = await r();
@@ -1676,20 +1676,20 @@ class A extends _ {
1676
1676
  render() {
1677
1677
  var t, e, i, r;
1678
1678
  return R`<div
1679
- class=${Jt({
1679
+ class=${Gt({
1680
1680
  "trigger-container": !0,
1681
1681
  hidden: !this.triggerVisible
1682
1682
  })}
1683
- ${ve(this.containerRef)}
1683
+ ${ye(this.containerRef)}
1684
1684
  >
1685
1685
  ${!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) ? R`
1686
1686
  <button
1687
1687
  label="${this.application.settings.branding.other.buttonLabelText ?? "Widget trigger"}"
1688
1688
  class="trigger-label"
1689
1689
  @click=${this.toggleActive}
1690
- ${di({
1690
+ ${pi({
1691
1691
  keyframeOptions: {},
1692
- in: ai,
1692
+ in: ci,
1693
1693
  stabilizeOut: !0,
1694
1694
  skipInitial: !1
1695
1695
  })}
@@ -1700,7 +1700,7 @@ class A extends _ {
1700
1700
 
1701
1701
  <button
1702
1702
  label="Widget trigger"
1703
- class=${Jt({
1703
+ class=${Gt({
1704
1704
  trigger: !0,
1705
1705
  active: this.active,
1706
1706
  rendered: this.loaded
@@ -1740,7 +1740,7 @@ class A extends _ {
1740
1740
  }
1741
1741
  }
1742
1742
  A.styles = [
1743
- U`
1743
+ M`
1744
1744
  :host {
1745
1745
  --voca-rem-multiplier: 0.625;
1746
1746
  --trigger-label-bg: #f5e0ff;
@@ -1871,27 +1871,27 @@ A.styles = [
1871
1871
  }
1872
1872
  `
1873
1873
  ];
1874
- V([
1874
+ F([
1875
1875
  m({ attribute: !1 })
1876
1876
  ], A.prototype, "application", 2);
1877
- V([
1878
- M()
1877
+ F([
1878
+ N()
1879
1879
  ], A.prototype, "active", 2);
1880
- V([
1881
- M()
1880
+ F([
1881
+ N()
1882
1882
  ], A.prototype, "triggerVisible", 2);
1883
- V([
1884
- M()
1883
+ F([
1884
+ N()
1885
1885
  ], A.prototype, "loaded", 2);
1886
- V([
1887
- M()
1886
+ F([
1887
+ N()
1888
1888
  ], A.prototype, "icon", 2);
1889
- var mi = Object.defineProperty, vi = Object.getOwnPropertyDescriptor, E = (s, t, e, i) => {
1890
- for (var r = i > 1 ? void 0 : i ? vi(t, e) : t, n = s.length - 1, o; n >= 0; n--)
1889
+ var vi = Object.defineProperty, yi = Object.getOwnPropertyDescriptor, E = (s, t, e, i) => {
1890
+ for (var r = i > 1 ? void 0 : i ? yi(t, e) : t, n = s.length - 1, o; n >= 0; n--)
1891
1891
  (o = s[n]) && (r = (i ? o(t, e, r) : o(r)) || r);
1892
- return i && r && mi(t, e, r), r;
1892
+ return i && r && vi(t, e, r), r;
1893
1893
  };
1894
- const yi = (s) => {
1894
+ const bi = (s) => {
1895
1895
  class t extends s {
1896
1896
  constructor() {
1897
1897
  super(...arguments), this.properties = {}, this.context = {}, this.layout = {}, this.nodes = [];
@@ -1917,7 +1917,7 @@ const yi = (s) => {
1917
1917
  }
1918
1918
  return t.styles = [
1919
1919
  // (superClass as unknown as typeof LitElement).styles ?? [],
1920
- U`
1920
+ M`
1921
1921
  :host {
1922
1922
  font-family: var(--font-family);
1923
1923
  grid-column: span var(--width);
@@ -1946,13 +1946,13 @@ const yi = (s) => {
1946
1946
  m({ attribute: !1 })
1947
1947
  ], t.prototype, "parent", 2), t;
1948
1948
  };
1949
- class St extends yi(_) {
1949
+ class Et extends bi(_) {
1950
1950
  render() {
1951
1951
  return R`Non resolved component`;
1952
1952
  }
1953
1953
  }
1954
- St.styles = [
1955
- U`
1954
+ Et.styles = [
1955
+ M`
1956
1956
  :host {
1957
1957
  display: block;
1958
1958
  }
@@ -1963,7 +1963,7 @@ St.styles = [
1963
1963
  * Copyright 2021 Google LLC
1964
1964
  * SPDX-License-Identifier: BSD-3-Clause
1965
1965
  */
1966
- function* bi(s, t) {
1966
+ function* wi(s, t) {
1967
1967
  if (s !== void 0) {
1968
1968
  let e = 0;
1969
1969
  for (const i of s)
@@ -1976,7 +1976,7 @@ var w = /* @__PURE__ */ ((s) => (s.Inline = "inline", s.Trigger = "trigger", s))
1976
1976
  * Copyright 2021 Google LLC
1977
1977
  * SPDX-License-Identifier: BSD-3-Clause
1978
1978
  */
1979
- let wi = class extends Event {
1979
+ let $i = class extends Event {
1980
1980
  constructor(t, e, i) {
1981
1981
  super("context-request", { bubbles: !0, composed: !0 }), this.context = t, this.callback = e, this.subscribe = i ?? !1;
1982
1982
  }
@@ -1991,7 +1991,7 @@ let wi = class extends Event {
1991
1991
  * Copyright 2021 Google LLC
1992
1992
  * SPDX-License-Identifier: BSD-3-Clause
1993
1993
  */
1994
- class $i {
1994
+ class _i {
1995
1995
  get value() {
1996
1996
  return this.o;
1997
1997
  }
@@ -2026,12 +2026,12 @@ class $i {
2026
2026
  * Copyright 2021 Google LLC
2027
2027
  * SPDX-License-Identifier: BSD-3-Clause
2028
2028
  */
2029
- let _i = class extends Event {
2029
+ let Ai = class extends Event {
2030
2030
  constructor(t) {
2031
2031
  super("context-provider", { bubbles: !0, composed: !0 }), this.context = t;
2032
2032
  }
2033
2033
  };
2034
- class Gt extends $i {
2034
+ class Xt extends _i {
2035
2035
  constructor(t, e, i) {
2036
2036
  var r, n;
2037
2037
  super(e.context !== void 0 ? e.initialValue : i), this.onContextRequest = (o) => {
@@ -2043,7 +2043,7 @@ class Gt extends $i {
2043
2043
  return;
2044
2044
  const c = /* @__PURE__ */ new Set();
2045
2045
  for (const [l, { consumerHost: h }] of this.subscriptions)
2046
- c.has(l) || (c.add(l), h.dispatchEvent(new wi(this.context, l, !0)));
2046
+ c.has(l) || (c.add(l), h.dispatchEvent(new $i(this.context, l, !0)));
2047
2047
  o.stopPropagation();
2048
2048
  }, 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);
2049
2049
  }
@@ -2051,7 +2051,7 @@ class Gt extends $i {
2051
2051
  this.host.addEventListener("context-request", this.onContextRequest), this.host.addEventListener("context-provider", this.onProviderRequest);
2052
2052
  }
2053
2053
  hostConnected() {
2054
- this.host.dispatchEvent(new _i(this.context));
2054
+ this.host.dispatchEvent(new Ai(this.context));
2055
2055
  }
2056
2056
  }
2057
2057
  /**
@@ -2059,12 +2059,12 @@ class Gt extends $i {
2059
2059
  * Copyright 2017 Google LLC
2060
2060
  * SPDX-License-Identifier: BSD-3-Clause
2061
2061
  */
2062
- function Ai({ context: s }) {
2062
+ function xi({ context: s }) {
2063
2063
  return (t, e) => {
2064
2064
  const i = /* @__PURE__ */ new WeakMap();
2065
2065
  if (typeof e == "object")
2066
2066
  return e.addInitializer(function() {
2067
- i.set(this, new Gt(this, { context: s }));
2067
+ i.set(this, new Xt(this, { context: s }));
2068
2068
  }), { get() {
2069
2069
  return t.get.call(this);
2070
2070
  }, set(r) {
@@ -2076,20 +2076,20 @@ function Ai({ context: s }) {
2076
2076
  } };
2077
2077
  {
2078
2078
  t.constructor.addInitializer((o) => {
2079
- i.set(o, new Gt(o, { context: s }));
2079
+ i.set(o, new Xt(o, { context: s }));
2080
2080
  });
2081
2081
  const r = Object.getOwnPropertyDescriptor(t, e);
2082
2082
  let n;
2083
2083
  if (r === void 0) {
2084
2084
  const o = /* @__PURE__ */ new WeakMap();
2085
- n = { get: function() {
2085
+ n = { get() {
2086
2086
  return o.get(this);
2087
- }, set: function(a) {
2087
+ }, set(a) {
2088
2088
  i.get(this).setValue(a), o.set(this, a);
2089
2089
  }, configurable: !0, enumerable: !0 };
2090
2090
  } else {
2091
2091
  const o = r.set;
2092
- n = { ...r, set: function(a) {
2092
+ n = { ...r, set(a) {
2093
2093
  i.get(this).setValue(a), o == null || o.call(this, a);
2094
2094
  } };
2095
2095
  }
@@ -2097,15 +2097,15 @@ function Ai({ context: s }) {
2097
2097
  }
2098
2098
  };
2099
2099
  }
2100
- var xi = Object.defineProperty, Ci = Object.getOwnPropertyDescriptor, Si = (s, t, e, i) => {
2101
- for (var r = i > 1 ? void 0 : i ? Ci(t, e) : t, n = s.length - 1, o; n >= 0; n--)
2100
+ var Ci = Object.defineProperty, Si = Object.getOwnPropertyDescriptor, Ei = (s, t, e, i) => {
2101
+ for (var r = i > 1 ? void 0 : i ? Si(t, e) : t, n = s.length - 1, o; n >= 0; n--)
2102
2102
  (o = s[n]) && (r = (i ? o(t, e, r) : o(r)) || r);
2103
- return i && r && xi(t, e, r), r;
2103
+ return i && r && Ci(t, e, r), r;
2104
2104
  };
2105
- const Ei = "application";
2106
- class nt extends _ {
2105
+ const Pi = "application";
2106
+ class rt extends _ {
2107
2107
  constructor() {
2108
- super(...arguments), this.nodes = [], this.wrapperRef = me();
2108
+ super(...arguments), this.nodes = [], this.wrapperRef = ve();
2109
2109
  }
2110
2110
  addChild(t) {
2111
2111
  t.parent = this, this.nodes.push(t);
@@ -2114,7 +2114,7 @@ class nt extends _ {
2114
2114
  if (!this.wrapperRef.value)
2115
2115
  return;
2116
2116
  const t = this.application.settings;
2117
- t != null && t.branding && ge(t.branding, this.wrapperRef.value);
2117
+ t != null && t.branding && me(t.branding, this.wrapperRef.value);
2118
2118
  }
2119
2119
  applyStyles() {
2120
2120
  if (!this.wrapperRef.value)
@@ -2130,12 +2130,12 @@ class nt extends _ {
2130
2130
  render() {
2131
2131
  var i, r;
2132
2132
  const t = this.application.settings.components.conversation;
2133
- 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 === w.Trigger && (this.renderRoot.host.classList.add("floating"), this.application.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.application.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right")), window.self !== window.top && this.renderRoot.host.classList.add("embedded"), R`<div class="widget-container" ${ve(this.wrapperRef)}>
2134
- ${bi(this.nodes, (n) => n)}
2133
+ 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 === w.Trigger && (this.renderRoot.host.classList.add("floating"), this.application.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.application.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right")), window.self !== window.top && this.renderRoot.host.classList.add("embedded"), R`<div class="widget-container" ${ye(this.wrapperRef)}>
2134
+ ${wi(this.nodes, (n) => n)}
2135
2135
  </div>`;
2136
2136
  }
2137
2137
  }
2138
- nt.styles = U`
2138
+ rt.styles = M`
2139
2139
  :host {
2140
2140
  --font-family: TeliaSans, Helvetica, Arial, Lucida Grande, sans-serif;
2141
2141
  --spacing-xs: 0.2rem;
@@ -2271,11 +2271,11 @@ nt.styles = U`
2271
2271
  pointer-events: none;
2272
2272
  }
2273
2273
  `;
2274
- Si([
2274
+ Ei([
2275
2275
  m({ attribute: !1 }),
2276
- Ai({ context: Ei })
2277
- ], nt.prototype, "application", 2);
2278
- class Pi {
2276
+ xi({ context: Pi })
2277
+ ], rt.prototype, "application", 2);
2278
+ class Oi {
2279
2279
  constructor() {
2280
2280
  this.root = this.createRoot();
2281
2281
  }
@@ -2315,11 +2315,11 @@ class Pi {
2315
2315
  return r(this, this.root, [n], o), this.root;
2316
2316
  }
2317
2317
  createRoot() {
2318
- return typeof window < "u" && (window.customElements.get("ace-wrapper") || window.customElements.define("ace-wrapper", nt)), document.createElement("ace-wrapper");
2318
+ return typeof window < "u" && (window.customElements.get("ace-wrapper") || window.customElements.define("ace-wrapper", rt)), document.createElement("ace-wrapper");
2319
2319
  }
2320
2320
  createNode(t, e) {
2321
2321
  if (!this.resolveComponent(e))
2322
- return console.warn(`Unable to resolve component: ${e}`), new St();
2322
+ return console.warn(`Unable to resolve component: ${e}`), new Et();
2323
2323
  const r = document.createElement(
2324
2324
  `ace-${e}`
2325
2325
  );
@@ -2332,7 +2332,7 @@ class Pi {
2332
2332
  return this.root;
2333
2333
  }
2334
2334
  }
2335
- const ye = class {
2335
+ const be = class {
2336
2336
  constructor() {
2337
2337
  this.components = /* @__PURE__ */ new Map();
2338
2338
  }
@@ -2352,14 +2352,14 @@ const ye = class {
2352
2352
  await Promise.all(s);
2353
2353
  }
2354
2354
  defineAsWebComponent(s, t) {
2355
- const e = ye.ResolveWebComponentName(s);
2355
+ const e = be.ResolveWebComponentName(s);
2356
2356
  customElements.get(e) || customElements.define(e, t);
2357
2357
  }
2358
2358
  };
2359
- let be = ye;
2360
- be.ResolveWebComponentName = (s) => `ace-${s}`;
2359
+ let we = be;
2360
+ we.ResolveWebComponentName = (s) => `ace-${s}`;
2361
2361
  var y = /* @__PURE__ */ ((s) => (s.Necessary = "necessary", s.Functional = "functional", s.Analytics = "analytics", s))(y || {});
2362
- class Oi {
2362
+ class Ti {
2363
2363
  constructor(t, e, i, r) {
2364
2364
  this.disallowedKeys = [], this.widgetId = t, this.storage = e === "localStorage" ? window.localStorage : window.sessionStorage, this.policy = i, this.storageEntries = r;
2365
2365
  }
@@ -2413,7 +2413,7 @@ class Oi {
2413
2413
  return `ace_${this.widgetId.substring(0, 7)}-${t}`;
2414
2414
  }
2415
2415
  }
2416
- class Ti {
2416
+ class Ii {
2417
2417
  constructor() {
2418
2418
  this.texts = /* @__PURE__ */ new Map();
2419
2419
  }
@@ -2428,7 +2428,7 @@ class Ti {
2428
2428
  return this.texts.get(t) || e;
2429
2429
  }
2430
2430
  }
2431
- class Ii {
2431
+ class Ri {
2432
2432
  constructor(t) {
2433
2433
  this.widget = t, this.name = t.name;
2434
2434
  }
@@ -2442,9 +2442,9 @@ class Ii {
2442
2442
  this.widget.setZIndex(t);
2443
2443
  }
2444
2444
  }
2445
- class Ri {
2445
+ class ki {
2446
2446
  constructor(t, e, i, r, n) {
2447
- this.id = t, this.name = e, this.container = i, this.settings = r, this.options = n, this.platform = new Pi(), this.texts = new Ti(), this.renderStrategy = w.Inline, this.anchor = "BottomRight", this.autoActivate = !1, this.plugins = [], this.componentResolver = new be(), this.components = [], this.trigger = null, this.api = new Ii(this), this.onMessageReceived = async (a) => {
2447
+ this.id = t, this.name = e, this.container = i, this.settings = r, this.options = n, this.platform = new Oi(), this.texts = new Ii(), this.renderStrategy = w.Inline, this.anchor = "BottomRight", this.autoActivate = !1, this.plugins = [], this.componentResolver = new we(), this.components = [], this.trigger = null, this.api = new Ri(this), this.onMessageReceived = async (a) => {
2448
2448
  var l;
2449
2449
  const c = a.data;
2450
2450
  switch (c.type) {
@@ -2489,7 +2489,7 @@ class Ri {
2489
2489
  [y.Functional]: !0,
2490
2490
  [y.Analytics]: !0
2491
2491
  };
2492
- this.storage = new Oi(
2492
+ this.storage = new Ti(
2493
2493
  this.id,
2494
2494
  "sessionStorage",
2495
2495
  o,
@@ -2497,7 +2497,7 @@ class Ri {
2497
2497
  ), typeof n.autoActivate == "boolean" && (this.autoActivate = n.autoActivate), n.anchor && (this.anchor = n.anchor), this.container.register("$settings", r), this.texts.loadTexts(r.texts || {}), window.addEventListener("message", this.onMessageReceived);
2498
2498
  }
2499
2499
  async activate() {
2500
- if (await this.loadPlugins(), await this.componentResolver.loadComponents(), this.root = this.platform.createComponentModel(this.settings, this), this.container.setState(ne.Ready), this.autoActivate) {
2500
+ if (await this.loadPlugins(), await this.componentResolver.loadComponents(), this.root = this.platform.createComponentModel(this.settings, this), this.container.setState(oe.Ready), this.autoActivate) {
2501
2501
  const t = this.render();
2502
2502
  t && this._getTargetElement().appendChild(t);
2503
2503
  }
@@ -2556,7 +2556,7 @@ class Ri {
2556
2556
  let e = document.querySelector(
2557
2557
  `ace-trigger-slot.${t}`
2558
2558
  );
2559
- return e || (e = new rt(), e.anchor = this.anchor, document.body.appendChild(e)), e;
2559
+ return e || (e = new st(), e.anchor = this.anchor, document.body.appendChild(e)), e;
2560
2560
  }
2561
2561
  return document.body;
2562
2562
  }
@@ -2573,10 +2573,10 @@ class Ri {
2573
2573
  return this.root;
2574
2574
  }
2575
2575
  }
2576
- const Fi = (s) => new et(s), we = class {
2576
+ const Vi = (s) => new tt(s), $e = class {
2577
2577
  // TODO:
2578
2578
  // private static endpoint = 'http://localhost:5299/api'; // TODO:
2579
- constructor(s = we.endpoint) {
2579
+ constructor(s = $e.endpoint) {
2580
2580
  this._endpoint = s;
2581
2581
  }
2582
2582
  async getSite(s) {
@@ -2608,9 +2608,9 @@ const Fi = (s) => new et(s), we = class {
2608
2608
  } : null;
2609
2609
  }
2610
2610
  };
2611
- let et = we;
2612
- et.endpoint = "https://widgets.ace.teliacompany.net/api";
2613
- class ki {
2611
+ let tt = $e;
2612
+ tt.endpoint = "https://widgets.ace.teliacompany.net/api";
2613
+ class Mi {
2614
2614
  constructor(t) {
2615
2615
  this.site = t;
2616
2616
  }
@@ -2634,9 +2634,9 @@ class ki {
2634
2634
  });
2635
2635
  }
2636
2636
  }
2637
- class Ui {
2637
+ class Ni {
2638
2638
  constructor() {
2639
- this.applications = [], this.container = new kt("environment", this), this.bootstrapped = !1, this.site = null, this.widgetAPIHandlers = /* @__PURE__ */ new Map(), this.siteConfigurationHandlers = [], setTimeout(() => {
2639
+ this.applications = [], this.container = new Mt("environment", this), this.bootstrapped = !1, this.site = null, this.widgetAPIHandlers = /* @__PURE__ */ new Map(), this.siteConfigurationHandlers = [], setTimeout(() => {
2640
2640
  this.notifyWidgetsOfCreation();
2641
2641
  }, 1e3);
2642
2642
  }
@@ -2710,7 +2710,7 @@ class Ui {
2710
2710
  e(i == null ? void 0 : i.api);
2711
2711
  }
2712
2712
  registerApp(t, e, i, r) {
2713
- const n = new kt(e, this), o = new Ri(t, e, n, i, r);
2713
+ const n = new Mt(e, this), o = new ki(t, e, n, i, r);
2714
2714
  this.applications.push(o);
2715
2715
  }
2716
2716
  registerSite(t) {
@@ -2722,9 +2722,9 @@ class Ui {
2722
2722
  }), this;
2723
2723
  }
2724
2724
  }
2725
- class Mi {
2725
+ class Ui {
2726
2726
  constructor(t) {
2727
- this.configurations = [], this.httpClient = new et(), this.api = new ki(this), this.triggers = [], this.httpClient = new et(), typeof t == "string" ? this.url = t : (t.httpClient && (this.httpClient = t.httpClient), this.loadFromConfig(t));
2727
+ this.configurations = [], this.httpClient = new tt(), this.api = new Mi(this), this.triggers = [], this.httpClient = new tt(), typeof t == "string" ? this.url = t : (t.httpClient && (this.httpClient = t.httpClient), this.loadFromConfig(t));
2728
2728
  }
2729
2729
  async load(t) {
2730
2730
  const e = await this.httpClient.getSite(t);
@@ -2752,7 +2752,7 @@ class Mi {
2752
2752
  }
2753
2753
  async bootstrap(t) {
2754
2754
  var e;
2755
- this.url && await this.load(this.url), this.environment = new Ui(), this.addGlobal(this.environment);
2755
+ this.url && await this.load(this.url), this.environment = new Ni(), this.addGlobal(this.environment);
2756
2756
  for await (const i of this.configurations) {
2757
2757
  const r = await this.httpClient.getWidget(i.widgetId);
2758
2758
  r && ((e = this.environment) == null || e.registerApp(
@@ -2778,12 +2778,12 @@ class Mi {
2778
2778
  }), globalThis.ace = t;
2779
2779
  }
2780
2780
  }
2781
- var Ni = Object.defineProperty, ji = Object.getOwnPropertyDescriptor, Et = (s, t, e, i) => {
2782
- for (var r = i > 1 ? void 0 : i ? ji(t, e) : t, n = s.length - 1, o; n >= 0; n--)
2781
+ var ji = Object.defineProperty, Li = Object.getOwnPropertyDescriptor, Pt = (s, t, e, i) => {
2782
+ for (var r = i > 1 ? void 0 : i ? Li(t, e) : t, n = s.length - 1, o; n >= 0; n--)
2783
2783
  (o = s[n]) && (r = (i ? o(t, e, r) : o(r)) || r);
2784
- return i && r && Ni(t, e, r), r;
2784
+ return i && r && ji(t, e, r), r;
2785
2785
  };
2786
- class Y extends _ {
2786
+ class V extends _ {
2787
2787
  constructor() {
2788
2788
  super(), this.status = "deactivated", this.addEventListener("environment-created", this.onEnvironmentCreated);
2789
2789
  }
@@ -2815,43 +2815,43 @@ class Y extends _ {
2815
2815
  return this.widget.render();
2816
2816
  }
2817
2817
  }
2818
- Y.styles = [
2819
- U`
2818
+ V.styles = [
2819
+ M`
2820
2820
  :host {
2821
2821
  display: block;
2822
2822
  }
2823
2823
  `
2824
2824
  ];
2825
- Et([
2825
+ Pt([
2826
2826
  m({ attribute: !0 })
2827
- ], Y.prototype, "name", 2);
2828
- Et([
2829
- M()
2830
- ], Y.prototype, "widget", 2);
2831
- Et([
2832
- M()
2833
- ], Y.prototype, "status", 2);
2834
- customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", rt);
2827
+ ], V.prototype, "name", 2);
2828
+ Pt([
2829
+ N()
2830
+ ], V.prototype, "widget", 2);
2831
+ Pt([
2832
+ N()
2833
+ ], V.prototype, "status", 2);
2834
+ customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", st);
2835
2835
  customElements.get("ace-trigger") || customElements.define("ace-trigger", A);
2836
- customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", St);
2837
- customElements.get("ace-wrapper") || customElements.define("ace-wrapper", nt);
2838
- customElements.get("ace-widget") || customElements.define("ace-widget", Y);
2839
- const Vi = async (s, t, e = {}) => {
2840
- const i = new Mi(s);
2836
+ customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", Et);
2837
+ customElements.get("ace-wrapper") || customElements.define("ace-wrapper", rt);
2838
+ customElements.get("ace-widget") || customElements.define("ace-widget", V);
2839
+ const Yi = async (s, t, e = {}) => {
2840
+ const i = new Ui(s);
2841
2841
  e.httpClient && i.setHttpClient(e.httpClient), await i.bootstrap(t);
2842
2842
  };
2843
2843
  export {
2844
- Y as AceWidget,
2845
- Ri as Application,
2846
- kt as Container,
2847
- Ui as Environment,
2848
- et as HttpClient,
2849
- Mi as Site,
2844
+ V as AceWidget,
2845
+ ki as Application,
2846
+ Mt as Container,
2847
+ Ni as Environment,
2848
+ tt as HttpClient,
2849
+ Ui as Site,
2850
2850
  y as StorageCategory,
2851
- Oi as StorageService,
2851
+ Ti as StorageService,
2852
2852
  A as Trigger,
2853
- yi as WidgetComponent,
2854
- Ei as applicationContext,
2855
- Vi as bootstrap,
2856
- Fi as createHttpClient
2853
+ bi as WidgetComponent,
2854
+ Pi as applicationContext,
2855
+ Yi as bootstrap,
2856
+ Vi as createHttpClient
2857
2857
  };