@telia-ace/widget-core-flamingo 1.1.12-rc.5 → 1.1.12-rc.7

Sign up to get free protection for your applications and to get access to all the features.
package/index.mjs CHANGED
@@ -1,21 +1,21 @@
1
- var dt = function(r, t) {
2
- return dt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, i) {
1
+ var ut = function(r, t) {
2
+ return ut = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, i) {
3
3
  e.__proto__ = i;
4
4
  } || function(e, i) {
5
5
  for (var n in i)
6
6
  Object.prototype.hasOwnProperty.call(i, n) && (e[n] = i[n]);
7
- }, dt(r, t);
7
+ }, ut(r, t);
8
8
  };
9
9
  function L(r, t) {
10
10
  if (typeof t != "function" && t !== null)
11
11
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
12
- dt(r, t);
12
+ ut(r, t);
13
13
  function e() {
14
14
  this.constructor = r;
15
15
  }
16
16
  r.prototype = t === null ? Object.create(t) : (e.prototype = t.prototype, new e());
17
17
  }
18
- function ft(r) {
18
+ function pt(r) {
19
19
  var t = typeof Symbol == "function" && Symbol.iterator, e = t && r[t], i = 0;
20
20
  if (e)
21
21
  return e.call(r);
@@ -27,7 +27,7 @@ function ft(r) {
27
27
  };
28
28
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
29
29
  }
30
- function J(r, t) {
30
+ function q(r, t) {
31
31
  var e = typeof Symbol == "function" && r[Symbol.iterator];
32
32
  if (!e)
33
33
  return r;
@@ -47,7 +47,7 @@ function J(r, t) {
47
47
  }
48
48
  return s;
49
49
  }
50
- function K(r, t, e) {
50
+ function J(r, t, e) {
51
51
  if (e || arguments.length === 2)
52
52
  for (var i = 0, n = t.length, s; i < n; i++)
53
53
  (s || !(i in t)) && (s || (s = Array.prototype.slice.call(t, 0, i)), s[i] = t[i]);
@@ -56,13 +56,13 @@ function K(r, t, e) {
56
56
  function m(r) {
57
57
  return typeof r == "function";
58
58
  }
59
- function Dt(r) {
59
+ function Nt(r) {
60
60
  var t = function(i) {
61
61
  Error.call(i), i.stack = new Error().stack;
62
62
  }, e = r(t);
63
63
  return e.prototype = Object.create(Error.prototype), e.prototype.constructor = e, e;
64
64
  }
65
- var ot = Dt(function(r) {
65
+ var nt = Nt(function(r) {
66
66
  return function(e) {
67
67
  r(this), this.message = e ? e.length + ` errors occurred during unsubscription:
68
68
  ` + e.map(function(i, n) {
@@ -71,13 +71,13 @@ var ot = Dt(function(r) {
71
71
  `) : "", this.name = "UnsubscriptionError", this.errors = e;
72
72
  };
73
73
  });
74
- function gt(r, t) {
74
+ function dt(r, t) {
75
75
  if (r) {
76
76
  var e = r.indexOf(t);
77
77
  0 <= e && r.splice(e, 1);
78
78
  }
79
79
  }
80
- var rt = function() {
80
+ var tt = function() {
81
81
  function r(t) {
82
82
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
83
83
  }
@@ -89,7 +89,7 @@ var rt = function() {
89
89
  if (o)
90
90
  if (this._parentage = null, Array.isArray(o))
91
91
  try {
92
- for (var a = ft(o), c = a.next(); !c.done; c = a.next()) {
92
+ for (var a = pt(o), c = a.next(); !c.done; c = a.next()) {
93
93
  var h = c.value;
94
94
  h.remove(this);
95
95
  }
@@ -110,25 +110,25 @@ var rt = function() {
110
110
  try {
111
111
  d();
112
112
  } catch (v) {
113
- s = v instanceof ot ? v.errors : [v];
113
+ s = v instanceof nt ? v.errors : [v];
114
114
  }
115
115
  var l = this._finalizers;
116
116
  if (l) {
117
117
  this._finalizers = null;
118
118
  try {
119
- for (var f = ft(l), p = f.next(); !p.done; p = f.next()) {
120
- var g = p.value;
119
+ for (var f = pt(l), u = f.next(); !u.done; u = f.next()) {
120
+ var g = u.value;
121
121
  try {
122
- wt(g);
122
+ $t(g);
123
123
  } catch (v) {
124
- s = s ?? [], v instanceof ot ? s = K(K([], J(s)), J(v.errors)) : s.push(v);
124
+ s = s ?? [], v instanceof nt ? s = J(J([], q(s)), q(v.errors)) : s.push(v);
125
125
  }
126
126
  }
127
127
  } catch (v) {
128
128
  i = { error: v };
129
129
  } finally {
130
130
  try {
131
- p && !p.done && (n = f.return) && n.call(f);
131
+ u && !u.done && (n = f.return) && n.call(f);
132
132
  } finally {
133
133
  if (i)
134
134
  throw i.error;
@@ -136,13 +136,13 @@ var rt = function() {
136
136
  }
137
137
  }
138
138
  if (s)
139
- throw new ot(s);
139
+ throw new nt(s);
140
140
  }
141
141
  }, r.prototype.add = function(t) {
142
142
  var e;
143
143
  if (t && t !== this)
144
144
  if (this.closed)
145
- wt(t);
145
+ $t(t);
146
146
  else {
147
147
  if (t instanceof r) {
148
148
  if (t.closed || t._hasParent(this))
@@ -159,58 +159,58 @@ var rt = function() {
159
159
  this._parentage = Array.isArray(e) ? (e.push(t), e) : e ? [e, t] : t;
160
160
  }, r.prototype._removeParent = function(t) {
161
161
  var e = this._parentage;
162
- e === t ? this._parentage = null : Array.isArray(e) && gt(e, t);
162
+ e === t ? this._parentage = null : Array.isArray(e) && dt(e, t);
163
163
  }, r.prototype.remove = function(t) {
164
164
  var e = this._finalizers;
165
- e && gt(e, t), t instanceof r && t._removeParent(this);
165
+ e && dt(e, t), t instanceof r && t._removeParent(this);
166
166
  }, r.EMPTY = function() {
167
167
  var t = new r();
168
168
  return t.closed = !0, t;
169
169
  }(), r;
170
- }(), Lt = rt.EMPTY;
171
- function Bt(r) {
172
- return r instanceof rt || r && "closed" in r && m(r.remove) && m(r.add) && m(r.unsubscribe);
170
+ }(), Dt = tt.EMPTY;
171
+ function Lt(r) {
172
+ return r instanceof tt || r && "closed" in r && m(r.remove) && m(r.add) && m(r.unsubscribe);
173
173
  }
174
- function wt(r) {
174
+ function $t(r) {
175
175
  m(r) ? r() : r.unsubscribe();
176
176
  }
177
- var zt = {
177
+ var Bt = {
178
178
  onUnhandledError: null,
179
179
  onStoppedNotification: null,
180
180
  Promise: void 0,
181
181
  useDeprecatedSynchronousErrorHandling: !1,
182
182
  useDeprecatedNextContext: !1
183
- }, vt = {
183
+ }, ft = {
184
184
  setTimeout: function(r, t) {
185
185
  for (var e = [], i = 2; i < arguments.length; i++)
186
186
  e[i - 2] = arguments[i];
187
- var n = vt.delegate;
188
- return n != null && n.setTimeout ? n.setTimeout.apply(n, K([r, t], J(e))) : setTimeout.apply(void 0, K([r, t], J(e)));
187
+ var n = ft.delegate;
188
+ return n != null && n.setTimeout ? n.setTimeout.apply(n, J([r, t], q(e))) : setTimeout.apply(void 0, J([r, t], q(e)));
189
189
  },
190
190
  clearTimeout: function(r) {
191
- var t = vt.delegate;
191
+ var t = ft.delegate;
192
192
  return ((t == null ? void 0 : t.clearTimeout) || clearTimeout)(r);
193
193
  },
194
194
  delegate: void 0
195
195
  };
196
196
  function ae(r) {
197
- vt.setTimeout(function() {
197
+ ft.setTimeout(function() {
198
198
  throw r;
199
199
  });
200
200
  }
201
- function At() {
201
+ function wt() {
202
202
  }
203
- function Y(r) {
203
+ function F(r) {
204
204
  r();
205
205
  }
206
- var Wt = function(r) {
206
+ var zt = function(r) {
207
207
  L(t, r);
208
208
  function t(e) {
209
209
  var i = r.call(this) || this;
210
- return i.isStopped = !1, e ? (i.destination = e, Bt(e) && e.add(i)) : i.destination = pe, i;
210
+ return i.isStopped = !1, e ? (i.destination = e, Lt(e) && e.add(i)) : i.destination = ue, i;
211
211
  }
212
212
  return t.create = function(e, i, n) {
213
- return new yt(e, i, n);
213
+ return new gt(e, i, n);
214
214
  }, t.prototype.next = function(e) {
215
215
  this.isStopped || this._next(e);
216
216
  }, t.prototype.error = function(e) {
@@ -234,8 +234,8 @@ var Wt = function(r) {
234
234
  this.unsubscribe();
235
235
  }
236
236
  }, t;
237
- }(rt), ce = Function.prototype.bind;
238
- function at(r, t) {
237
+ }(tt), ce = Function.prototype.bind;
238
+ function st(r, t) {
239
239
  return ce.call(r, t);
240
240
  }
241
241
  var le = function() {
@@ -248,7 +248,7 @@ var le = function() {
248
248
  try {
249
249
  e.next(t);
250
250
  } catch (i) {
251
- V(i);
251
+ G(i);
252
252
  }
253
253
  }, r.prototype.error = function(t) {
254
254
  var e = this.partialObserver;
@@ -256,20 +256,20 @@ var le = function() {
256
256
  try {
257
257
  e.error(t);
258
258
  } catch (i) {
259
- V(i);
259
+ G(i);
260
260
  }
261
261
  else
262
- V(t);
262
+ G(t);
263
263
  }, r.prototype.complete = function() {
264
264
  var t = this.partialObserver;
265
265
  if (t.complete)
266
266
  try {
267
267
  t.complete();
268
268
  } catch (e) {
269
- V(e);
269
+ G(e);
270
270
  }
271
271
  }, r;
272
- }(), yt = function(r) {
272
+ }(), gt = function(r) {
273
273
  L(t, r);
274
274
  function t(e, i, n) {
275
275
  var s = r.call(this) || this, o;
@@ -281,30 +281,30 @@ var le = function() {
281
281
  };
282
282
  else {
283
283
  var a;
284
- s && zt.useDeprecatedNextContext ? (a = Object.create(e), a.unsubscribe = function() {
284
+ s && Bt.useDeprecatedNextContext ? (a = Object.create(e), a.unsubscribe = function() {
285
285
  return s.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 && st(e.next, a),
288
+ error: e.error && st(e.error, a),
289
+ complete: e.complete && st(e.complete, a)
290
290
  }) : o = e;
291
291
  }
292
292
  return s.destination = new le(o), s;
293
293
  }
294
294
  return t;
295
- }(Wt);
296
- function V(r) {
295
+ }(zt);
296
+ function G(r) {
297
297
  ae(r);
298
298
  }
299
299
  function he(r) {
300
300
  throw r;
301
301
  }
302
- var pe = {
302
+ var ue = {
303
303
  closed: !0,
304
- next: At,
304
+ next: wt,
305
305
  error: he,
306
- complete: At
307
- }, ue = function() {
306
+ complete: wt
307
+ }, pe = function() {
308
308
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
309
309
  }();
310
310
  function de(r) {
@@ -317,7 +317,7 @@ function fe(r) {
317
317
  }, e);
318
318
  };
319
319
  }
320
- var St = function() {
320
+ var At = function() {
321
321
  function r(t) {
322
322
  t && (this._subscribe = t);
323
323
  }
@@ -325,8 +325,8 @@ var St = function() {
325
325
  var e = new r();
326
326
  return e.source = this, e.operator = t, e;
327
327
  }, r.prototype.subscribe = function(t, e, i) {
328
- var n = this, s = ve(t) ? t : new yt(t, e, i);
329
- return Y(function() {
328
+ var n = this, s = ve(t) ? t : new gt(t, e, i);
329
+ return F(function() {
330
330
  var o = n, a = o.operator, c = o.source;
331
331
  s.add(a ? a.call(s, c) : c ? n._subscribe(s) : n._trySubscribe(s));
332
332
  }), s;
@@ -338,8 +338,8 @@ var St = function() {
338
338
  }
339
339
  }, r.prototype.forEach = function(t, e) {
340
340
  var i = this;
341
- return e = Et(e), new e(function(n, s) {
342
- var o = new yt({
341
+ return e = St(e), new e(function(n, s) {
342
+ var o = new gt({
343
343
  next: function(a) {
344
344
  try {
345
345
  t(a);
@@ -355,7 +355,7 @@ var St = function() {
355
355
  }, r.prototype._subscribe = function(t) {
356
356
  var e;
357
357
  return (e = this.source) === null || e === void 0 ? void 0 : e.subscribe(t);
358
- }, r.prototype[ue] = function() {
358
+ }, r.prototype[pe] = function() {
359
359
  return this;
360
360
  }, r.prototype.pipe = function() {
361
361
  for (var t = [], e = 0; e < arguments.length; e++)
@@ -363,7 +363,7 @@ var St = function() {
363
363
  return fe(t)(this);
364
364
  }, r.prototype.toPromise = function(t) {
365
365
  var e = this;
366
- return t = Et(t), new t(function(i, n) {
366
+ return t = St(t), new t(function(i, n) {
367
367
  var s;
368
368
  e.subscribe(function(o) {
369
369
  return s = o;
@@ -377,40 +377,40 @@ var St = function() {
377
377
  return new r(t);
378
378
  }, r;
379
379
  }();
380
- function Et(r) {
380
+ function St(r) {
381
381
  var t;
382
- return (t = r ?? zt.Promise) !== null && t !== void 0 ? t : Promise;
382
+ return (t = r ?? Bt.Promise) !== null && t !== void 0 ? t : Promise;
383
383
  }
384
384
  function ge(r) {
385
385
  return r && m(r.next) && m(r.error) && m(r.complete);
386
386
  }
387
387
  function ve(r) {
388
- return r && r instanceof Wt || ge(r) && Bt(r);
388
+ return r && r instanceof zt || ge(r) && Lt(r);
389
389
  }
390
- var ye = Dt(function(r) {
390
+ var ye = Nt(function(r) {
391
391
  return function() {
392
392
  r(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
393
393
  };
394
- }), Gt = function(r) {
394
+ }), Wt = function(r) {
395
395
  L(t, r);
396
396
  function t() {
397
397
  var e = r.call(this) || this;
398
398
  return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
399
399
  }
400
400
  return t.prototype.lift = function(e) {
401
- var i = new Ct(this, this);
401
+ var i = new Et(this, this);
402
402
  return i.operator = e, i;
403
403
  }, t.prototype._throwIfClosed = function() {
404
404
  if (this.closed)
405
405
  throw new ye();
406
406
  }, t.prototype.next = function(e) {
407
407
  var i = this;
408
- Y(function() {
408
+ F(function() {
409
409
  var n, s;
410
410
  if (i._throwIfClosed(), !i.isStopped) {
411
411
  i.currentObservers || (i.currentObservers = Array.from(i.observers));
412
412
  try {
413
- for (var o = ft(i.currentObservers), a = o.next(); !a.done; a = o.next()) {
413
+ for (var o = pt(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 ye = Dt(function(r) {
428
428
  });
429
429
  }, t.prototype.error = function(e) {
430
430
  var i = this;
431
- Y(function() {
431
+ F(function() {
432
432
  if (i._throwIfClosed(), !i.isStopped) {
433
433
  i.hasError = i.isStopped = !0, i.thrownError = e;
434
434
  for (var n = i.observers; n.length; )
@@ -437,7 +437,7 @@ var ye = Dt(function(r) {
437
437
  });
438
438
  }, t.prototype.complete = function() {
439
439
  var e = this;
440
- Y(function() {
440
+ F(function() {
441
441
  if (e._throwIfClosed(), !e.isStopped) {
442
442
  e.isStopped = !0;
443
443
  for (var i = e.observers; i.length; )
@@ -459,19 +459,19 @@ var ye = Dt(function(r) {
459
459
  return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
460
460
  }, t.prototype._innerSubscribe = function(e) {
461
461
  var i = this, n = this, s = n.hasError, o = n.isStopped, a = n.observers;
462
- return s || o ? Lt : (this.currentObservers = null, a.push(e), new rt(function() {
463
- i.currentObservers = null, gt(a, e);
462
+ return s || o ? Dt : (this.currentObservers = null, a.push(e), new tt(function() {
463
+ i.currentObservers = null, dt(a, e);
464
464
  }));
465
465
  }, t.prototype._checkFinalizedStatuses = function(e) {
466
466
  var i = this, n = i.hasError, s = i.thrownError, o = i.isStopped;
467
467
  n ? e.error(s) : o && e.complete();
468
468
  }, t.prototype.asObservable = function() {
469
- var e = new St();
469
+ var e = new At();
470
470
  return e.source = this, e;
471
471
  }, t.create = function(e, i) {
472
- return new Ct(e, i);
472
+ return new Et(e, i);
473
473
  }, t;
474
- }(St), Ct = function(r) {
474
+ }(At), Et = function(r) {
475
475
  L(t, r);
476
476
  function t(e, i) {
477
477
  var n = r.call(this) || this;
@@ -488,9 +488,9 @@ var ye = Dt(function(r) {
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, n;
491
- return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(e)) !== null && n !== void 0 ? n : Lt;
491
+ return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(e)) !== null && n !== void 0 ? n : Dt;
492
492
  }, t;
493
- }(Gt), me = function(r) {
493
+ }(Wt), me = function(r) {
494
494
  L(t, r);
495
495
  function t(e) {
496
496
  var i = r.call(this) || this;
@@ -513,8 +513,8 @@ var ye = Dt(function(r) {
513
513
  }, t.prototype.next = function(e) {
514
514
  r.prototype.next.call(this, this._value = e);
515
515
  }, t;
516
- }(Gt), Vt = /* @__PURE__ */ ((r) => (r.Loading = "loading", r.Ready = "ready", r))(Vt || {});
517
- class xt {
516
+ }(Wt), Gt = /* @__PURE__ */ ((r) => (r.Loading = "loading", r.Ready = "ready", r))(Gt || {});
517
+ class Ct {
518
518
  constructor(t, e) {
519
519
  this.state = new me(
520
520
  "loading"
@@ -539,19 +539,19 @@ class xt {
539
539
  * Copyright 2019 Google LLC
540
540
  * SPDX-License-Identifier: BSD-3-Clause
541
541
  */
542
- const q = globalThis, bt = q.ShadowRoot && (q.ShadyCSS === void 0 || q.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, _t = Symbol(), Pt = /* @__PURE__ */ new WeakMap();
543
- let Ft = class {
542
+ const Y = globalThis, yt = Y.ShadowRoot && (Y.ShadyCSS === void 0 || Y.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, mt = Symbol(), xt = /* @__PURE__ */ new WeakMap();
543
+ let Vt = class {
544
544
  constructor(t, e, i) {
545
- if (this._$cssResult$ = !0, i !== _t)
545
+ if (this._$cssResult$ = !0, i !== mt)
546
546
  throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
547
547
  this.cssText = t, this.t = e;
548
548
  }
549
549
  get styleSheet() {
550
550
  let t = this.o;
551
551
  const e = this.t;
552
- if (bt && t === void 0) {
552
+ if (yt && t === void 0) {
553
553
  const i = e !== void 0 && e.length === 1;
554
- i && (t = Pt.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && Pt.set(e, t));
554
+ i && (t = xt.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && xt.set(e, t));
555
555
  }
556
556
  return t;
557
557
  }
@@ -559,7 +559,7 @@ let Ft = class {
559
559
  return this.cssText;
560
560
  }
561
561
  };
562
- const be = (r) => new Ft(typeof r == "string" ? r : r + "", void 0, _t), B = (r, ...t) => {
562
+ const be = (r) => new Vt(typeof r == "string" ? r : r + "", void 0, mt), B = (r, ...t) => {
563
563
  const e = r.length === 1 ? r[0] : t.reduce((i, n, s) => i + ((o) => {
564
564
  if (o._$cssResult$ === !0)
565
565
  return o.cssText;
@@ -567,16 +567,16 @@ const be = (r) => new Ft(typeof r == "string" ? r : r + "", void 0, _t), B = (r,
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
  })(n) + r[s + 1], r[0]);
570
- return new Ft(e, r, _t);
570
+ return new Vt(e, r, mt);
571
571
  }, _e = (r, t) => {
572
- if (bt)
572
+ if (yt)
573
573
  r.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"), n = q.litNonce;
576
+ const i = document.createElement("style"), n = Y.litNonce;
577
577
  n !== void 0 && i.setAttribute("nonce", n), i.textContent = e.cssText, r.appendChild(i);
578
578
  }
579
- }, Ot = bt ? (r) => r : (r) => r instanceof CSSStyleSheet ? ((t) => {
579
+ }, Pt = yt ? (r) => r : (r) => r instanceof CSSStyleSheet ? ((t) => {
580
580
  let e = "";
581
581
  for (const i of t.cssRules)
582
582
  e += i.cssText;
@@ -587,7 +587,7 @@ const be = (r) => new Ft(typeof r == "string" ? r : r + "", void 0, _t), B = (r,
587
587
  * Copyright 2017 Google LLC
588
588
  * SPDX-License-Identifier: BSD-3-Clause
589
589
  */
590
- const { is: $e, defineProperty: we, getOwnPropertyDescriptor: Ae, getOwnPropertyNames: Se, getOwnPropertySymbols: Ee, getPrototypeOf: Ce } = Object, $ = globalThis, Tt = $.trustedTypes, xe = Tt ? Tt.emptyScript : "", ct = $.reactiveElementPolyfillSupport, I = (r, t) => r, Z = { toAttribute(r, t) {
590
+ const { is: $e, defineProperty: we, getOwnPropertyDescriptor: Ae, getOwnPropertyNames: Se, getOwnPropertySymbols: Ee, getPrototypeOf: Ce } = Object, _ = globalThis, Tt = _.trustedTypes, xe = Tt ? Tt.emptyScript : "", ot = _.reactiveElementPolyfillSupport, I = (r, t) => r, K = { toAttribute(r, t) {
591
591
  switch (t) {
592
592
  case Boolean:
593
593
  r = r ? xe : null;
@@ -615,16 +615,16 @@ const { is: $e, defineProperty: we, getOwnPropertyDescriptor: Ae, getOwnProperty
615
615
  }
616
616
  }
617
617
  return e;
618
- } }, $t = (r, t) => !$e(r, t), Ut = { attribute: !0, type: String, converter: Z, reflect: !1, hasChanged: $t };
619
- Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), $.litPropertyMetadata ?? ($.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
620
- class O extends HTMLElement {
618
+ } }, bt = (r, t) => !$e(r, t), Ot = { attribute: !0, type: String, converter: K, reflect: !1, hasChanged: bt };
619
+ Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), _.litPropertyMetadata ?? (_.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
620
+ class T extends HTMLElement {
621
621
  static addInitializer(t) {
622
622
  this._$Ei(), (this.l ?? (this.l = [])).push(t);
623
623
  }
624
624
  static get observedAttributes() {
625
625
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
626
626
  }
627
- static createProperty(t, e = Ut) {
627
+ static createProperty(t, e = Ot) {
628
628
  if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
629
629
  const i = Symbol(), n = this.getPropertyDescriptor(t, i, e);
630
630
  n !== void 0 && we(this.prototype, t, n);
@@ -644,7 +644,7 @@ class O extends HTMLElement {
644
644
  }, configurable: !0, enumerable: !0 };
645
645
  }
646
646
  static getPropertyOptions(t) {
647
- return this.elementProperties.get(t) ?? Ut;
647
+ return this.elementProperties.get(t) ?? Ot;
648
648
  }
649
649
  static _$Ei() {
650
650
  if (this.hasOwnProperty(I("elementProperties")))
@@ -679,9 +679,9 @@ class O extends HTMLElement {
679
679
  if (Array.isArray(t)) {
680
680
  const i = new Set(t.flat(1 / 0).reverse());
681
681
  for (const n of i)
682
- e.unshift(Ot(n));
682
+ e.unshift(Pt(n));
683
683
  } else
684
- t !== void 0 && e.push(Ot(t));
684
+ t !== void 0 && e.push(Pt(t));
685
685
  return e;
686
686
  }
687
687
  static _$Eu(t, e) {
@@ -736,7 +736,7 @@ class O extends HTMLElement {
736
736
  var s;
737
737
  const i = this.constructor.elementProperties.get(t), n = this.constructor._$Eu(t, i);
738
738
  if (n !== void 0 && i.reflect === !0) {
739
- const o = (((s = i.converter) == null ? void 0 : s.toAttribute) !== void 0 ? i.converter : Z).toAttribute(e, i.type);
739
+ const o = (((s = i.converter) == null ? void 0 : s.toAttribute) !== void 0 ? i.converter : K).toAttribute(e, i.type);
740
740
  this._$Em = t, o == null ? this.removeAttribute(n) : this.setAttribute(n, o), this._$Em = null;
741
741
  }
742
742
  }
@@ -744,13 +744,13 @@ class O extends HTMLElement {
744
744
  var s;
745
745
  const i = this.constructor, n = i._$Eh.get(t);
746
746
  if (n !== void 0 && this._$Em !== n) {
747
- const o = i.getPropertyOptions(n), a = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((s = o.converter) == null ? void 0 : s.fromAttribute) !== void 0 ? o.converter : Z;
747
+ const o = i.getPropertyOptions(n), a = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((s = o.converter) == null ? void 0 : s.fromAttribute) !== void 0 ? o.converter : K;
748
748
  this._$Em = n, this[n] = a.fromAttribute(e, o.type), this._$Em = null;
749
749
  }
750
750
  }
751
751
  requestUpdate(t, e, i, n = !1, s) {
752
752
  if (t !== void 0) {
753
- if (i ?? (i = this.constructor.getPropertyOptions(t)), !(i.hasChanged ?? $t)(n ? s : this[t], e))
753
+ if (i ?? (i = this.constructor.getPropertyOptions(t)), !(i.hasChanged ?? bt)(n ? s : this[t], e))
754
754
  return;
755
755
  this.C(t, e, i);
756
756
  }
@@ -828,19 +828,19 @@ class O extends HTMLElement {
828
828
  firstUpdated(t) {
829
829
  }
830
830
  }
831
- O.elementStyles = [], O.shadowRootOptions = { mode: "open" }, O[I("elementProperties")] = /* @__PURE__ */ new Map(), O[I("finalized")] = /* @__PURE__ */ new Map(), ct == null || ct({ ReactiveElement: O }), ($.reactiveElementVersions ?? ($.reactiveElementVersions = [])).push("2.0.1");
831
+ T.elementStyles = [], T.shadowRootOptions = { mode: "open" }, T[I("elementProperties")] = /* @__PURE__ */ new Map(), T[I("finalized")] = /* @__PURE__ */ new Map(), ot == null || ot({ ReactiveElement: T }), (_.reactiveElementVersions ?? (_.reactiveElementVersions = [])).push("2.0.1");
832
832
  /**
833
833
  * @license
834
834
  * Copyright 2017 Google LLC
835
835
  * SPDX-License-Identifier: BSD-3-Clause
836
836
  */
837
- const M = globalThis, Q = M.trustedTypes, Rt = Q ? Q.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, Yt = "$lit$", _ = `lit$${(Math.random() + "").slice(9)}$`, qt = "?" + _, Pe = `<${qt}>`, x = document, H = () => x.createComment(""), k = (r) => r === null || typeof r != "object" && typeof r != "function", Jt = Array.isArray, Oe = (r) => Jt(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", lt = `[
838
- \f\r]`, R = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, It = /-->/g, Mt = />/g, S = RegExp(`>|${lt}(?:([^\\s"'>=/]+)(${lt}*=${lt}*(?:[^
839
- \f\r"'\`<>=]|("|')|))|$)`, "g"), jt = /'/g, Ht = /"/g, Kt = /^(?:script|style|textarea|title)$/i, Te = (r) => (t, ...e) => ({ _$litType$: r, strings: t, values: e }), X = Te(1), P = Symbol.for("lit-noChange"), u = Symbol.for("lit-nothing"), kt = /* @__PURE__ */ new WeakMap(), C = x.createTreeWalker(x, 129);
840
- function Zt(r, t) {
837
+ const M = globalThis, Z = M.trustedTypes, Ut = Z ? Z.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, Ft = "$lit$", b = `lit$${(Math.random() + "").slice(9)}$`, Yt = "?" + b, Pe = `<${Yt}>`, x = document, j = () => x.createComment(""), H = (r) => r === null || typeof r != "object" && typeof r != "function", qt = Array.isArray, Te = (r) => qt(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", at = `[
838
+ \f\r]`, R = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Rt = /-->/g, It = />/g, S = RegExp(`>|${at}(?:([^\\s"'>=/]+)(${at}*=${at}*(?:[^
839
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Mt = /'/g, kt = /"/g, Jt = /^(?:script|style|textarea|title)$/i, Oe = (r) => (t, ...e) => ({ _$litType$: r, strings: t, values: e }), Q = Oe(1), P = Symbol.for("lit-noChange"), p = Symbol.for("lit-nothing"), jt = /* @__PURE__ */ new WeakMap(), C = x.createTreeWalker(x, 129);
840
+ function Kt(r, t) {
841
841
  if (!Array.isArray(r) || !r.hasOwnProperty("raw"))
842
842
  throw Error("invalid template strings array");
843
- return Rt !== void 0 ? Rt.createHTML(t) : t;
843
+ return Ut !== void 0 ? Ut.createHTML(t) : t;
844
844
  }
845
845
  const Ue = (r, t) => {
846
846
  const e = r.length - 1, i = [];
@@ -849,11 +849,11 @@ const Ue = (r, t) => {
849
849
  const c = r[a];
850
850
  let h, d, l = -1, f = 0;
851
851
  for (; f < c.length && (o.lastIndex = f, d = o.exec(c), d !== null); )
852
- f = o.lastIndex, o === R ? d[1] === "!--" ? o = It : d[1] !== void 0 ? o = Mt : d[2] !== void 0 ? (Kt.test(d[2]) && (n = RegExp("</" + d[2], "g")), o = S) : d[3] !== void 0 && (o = S) : o === S ? d[0] === ">" ? (o = n ?? R, l = -1) : d[1] === void 0 ? l = -2 : (l = o.lastIndex - d[2].length, h = d[1], o = d[3] === void 0 ? S : d[3] === '"' ? Ht : jt) : o === Ht || o === jt ? o = S : o === It || o === Mt ? o = R : (o = S, n = void 0);
853
- const p = o === S && r[a + 1].startsWith("/>") ? " " : "";
854
- s += o === R ? c + Pe : l >= 0 ? (i.push(h), c.slice(0, l) + Yt + c.slice(l) + _ + p) : c + _ + (l === -2 ? a : p);
852
+ f = o.lastIndex, o === R ? d[1] === "!--" ? o = Rt : d[1] !== void 0 ? o = It : d[2] !== void 0 ? (Jt.test(d[2]) && (n = RegExp("</" + d[2], "g")), o = S) : d[3] !== void 0 && (o = S) : o === S ? d[0] === ">" ? (o = n ?? R, l = -1) : d[1] === void 0 ? l = -2 : (l = o.lastIndex - d[2].length, h = d[1], o = d[3] === void 0 ? S : d[3] === '"' ? kt : Mt) : o === kt || o === Mt ? o = S : o === Rt || o === It ? o = R : (o = S, n = void 0);
853
+ const u = o === S && r[a + 1].startsWith("/>") ? " " : "";
854
+ s += o === R ? c + Pe : l >= 0 ? (i.push(h), c.slice(0, l) + Ft + c.slice(l) + b + u) : c + b + (l === -2 ? a : u);
855
855
  }
856
- return [Zt(r, s + (r[e] || "<?>") + (t === 2 ? "</svg>" : "")), i];
856
+ return [Kt(r, s + (r[e] || "<?>") + (t === 2 ? "</svg>" : "")), i];
857
857
  };
858
858
  class N {
859
859
  constructor({ strings: t, _$litType$: e }, i) {
@@ -869,27 +869,27 @@ class N {
869
869
  if (n.nodeType === 1) {
870
870
  if (n.hasAttributes())
871
871
  for (const l of n.getAttributeNames())
872
- if (l.endsWith(Yt)) {
873
- const f = d[o++], p = n.getAttribute(l).split(_), g = /([.?@])?(.*)/.exec(f);
874
- c.push({ type: 1, index: s, name: g[2], strings: p, ctor: g[1] === "." ? Ie : g[1] === "?" ? Me : g[1] === "@" ? je : it }), n.removeAttribute(l);
872
+ if (l.endsWith(Ft)) {
873
+ const f = d[o++], u = n.getAttribute(l).split(b), g = /([.?@])?(.*)/.exec(f);
874
+ c.push({ type: 1, index: s, name: g[2], strings: u, ctor: g[1] === "." ? Ie : g[1] === "?" ? Me : g[1] === "@" ? ke : et }), n.removeAttribute(l);
875
875
  } else
876
- l.startsWith(_) && (c.push({ type: 6, index: s }), n.removeAttribute(l));
877
- if (Kt.test(n.tagName)) {
878
- const l = n.textContent.split(_), f = l.length - 1;
876
+ l.startsWith(b) && (c.push({ type: 6, index: s }), n.removeAttribute(l));
877
+ if (Jt.test(n.tagName)) {
878
+ const l = n.textContent.split(b), f = l.length - 1;
879
879
  if (f > 0) {
880
- n.textContent = Q ? Q.emptyScript : "";
881
- for (let p = 0; p < f; p++)
882
- n.append(l[p], H()), C.nextNode(), c.push({ type: 2, index: ++s });
883
- n.append(l[f], H());
880
+ n.textContent = Z ? Z.emptyScript : "";
881
+ for (let u = 0; u < f; u++)
882
+ n.append(l[u], j()), C.nextNode(), c.push({ type: 2, index: ++s });
883
+ n.append(l[f], j());
884
884
  }
885
885
  }
886
886
  } else if (n.nodeType === 8)
887
- if (n.data === qt)
887
+ if (n.data === Yt)
888
888
  c.push({ type: 2, index: s });
889
889
  else {
890
890
  let l = -1;
891
- for (; (l = n.data.indexOf(_, l + 1)) !== -1; )
892
- c.push({ type: 7, index: s }), l += _.length - 1;
891
+ for (; (l = n.data.indexOf(b, l + 1)) !== -1; )
892
+ c.push({ type: 7, index: s }), l += b.length - 1;
893
893
  }
894
894
  s++;
895
895
  }
@@ -899,13 +899,13 @@ class N {
899
899
  return i.innerHTML = t, i;
900
900
  }
901
901
  }
902
- function T(r, t, e = r, i) {
902
+ function O(r, t, e = r, i) {
903
903
  var o, a;
904
904
  if (t === P)
905
905
  return t;
906
906
  let n = i !== void 0 ? (o = e._$Co) == null ? void 0 : o[i] : e._$Cl;
907
- const s = k(t) ? void 0 : t._$litDirective$;
908
- return (n == null ? void 0 : n.constructor) !== s && ((a = n == null ? void 0 : n._$AO) == null || a.call(n, !1), s === void 0 ? n = void 0 : (n = new s(r), n._$AT(r, e, i)), i !== void 0 ? (e._$Co ?? (e._$Co = []))[i] = n : e._$Cl = n), n !== void 0 && (t = T(r, n._$AS(r, t.values), n, i)), t;
907
+ const s = H(t) ? void 0 : t._$litDirective$;
908
+ return (n == null ? void 0 : n.constructor) !== s && ((a = n == null ? void 0 : n._$AO) == null || a.call(n, !1), s === void 0 ? n = void 0 : (n = new s(r), n._$AT(r, e, i)), i !== void 0 ? (e._$Co ?? (e._$Co = []))[i] = n : e._$Cl = n), n !== void 0 && (t = O(r, n._$AS(r, t.values), n, i)), t;
909
909
  }
910
910
  class Re {
911
911
  constructor(t, e) {
@@ -924,7 +924,7 @@ class Re {
924
924
  for (; c !== void 0; ) {
925
925
  if (o === c.index) {
926
926
  let h;
927
- c.type === 2 ? h = new z(s, s.nextSibling, this, t) : c.type === 1 ? h = new c.ctor(s, c.name, c.strings, this, t) : c.type === 6 && (h = new He(s, this, t)), this._$AV.push(h), c = i[++a];
927
+ c.type === 2 ? h = new z(s, s.nextSibling, this, t) : c.type === 1 ? h = new c.ctor(s, c.name, c.strings, this, t) : c.type === 6 && (h = new je(s, this, t)), this._$AV.push(h), c = i[++a];
928
928
  }
929
929
  o !== (c == null ? void 0 : c.index) && (s = C.nextNode(), o++);
930
930
  }
@@ -942,7 +942,7 @@ class z {
942
942
  return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
943
943
  }
944
944
  constructor(t, e, i, n) {
945
- this.type = 2, this._$AH = u, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = i, this.options = n, this._$Cv = (n == null ? void 0 : n.isConnected) ?? !0;
945
+ this.type = 2, this._$AH = p, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = i, this.options = n, this._$Cv = (n == null ? void 0 : n.isConnected) ?? !0;
946
946
  }
947
947
  get parentNode() {
948
948
  let t = this._$AA.parentNode;
@@ -956,7 +956,7 @@ class z {
956
956
  return this._$AB;
957
957
  }
958
958
  _$AI(t, e = this) {
959
- t = T(this, t, e), k(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.g(t) : t.nodeType !== void 0 ? this.$(t) : Oe(t) ? this.T(t) : this._(t);
959
+ t = O(this, t, e), H(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.g(t) : t.nodeType !== void 0 ? this.$(t) : Te(t) ? this.T(t) : this._(t);
960
960
  }
961
961
  k(t) {
962
962
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -965,11 +965,11 @@ class z {
965
965
  this._$AH !== t && (this._$AR(), this._$AH = this.k(t));
966
966
  }
967
967
  _(t) {
968
- this._$AH !== u && k(this._$AH) ? this._$AA.nextSibling.data = t : this.$(x.createTextNode(t)), this._$AH = t;
968
+ this._$AH !== p && H(this._$AH) ? this._$AA.nextSibling.data = t : this.$(x.createTextNode(t)), this._$AH = t;
969
969
  }
970
970
  g(t) {
971
971
  var s;
972
- const { values: e, _$litType$: i } = t, n = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = N.createElement(Zt(i.h, i.h[0]), this.options)), i);
972
+ const { values: e, _$litType$: i } = t, n = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = N.createElement(Kt(i.h, i.h[0]), this.options)), i);
973
973
  if (((s = this._$AH) == null ? void 0 : s._$AD) === n)
974
974
  this._$AH.p(e);
975
975
  else {
@@ -978,15 +978,15 @@ class z {
978
978
  }
979
979
  }
980
980
  _$AC(t) {
981
- let e = kt.get(t.strings);
982
- return e === void 0 && kt.set(t.strings, e = new N(t)), e;
981
+ let e = jt.get(t.strings);
982
+ return e === void 0 && jt.set(t.strings, e = new N(t)), e;
983
983
  }
984
984
  T(t) {
985
- Jt(this._$AH) || (this._$AH = [], this._$AR());
985
+ qt(this._$AH) || (this._$AH = [], this._$AR());
986
986
  const e = this._$AH;
987
987
  let i, n = 0;
988
988
  for (const s of t)
989
- n === e.length ? e.push(i = new z(this.k(H()), this.k(H()), this, this.options)) : i = e[n], i._$AI(s), n++;
989
+ n === e.length ? e.push(i = new z(this.k(j()), this.k(j()), this, this.options)) : i = e[n], i._$AI(s), n++;
990
990
  n < e.length && (this._$AR(i && i._$AB.nextSibling, n), e.length = n);
991
991
  }
992
992
  _$AR(t = this._$AA.nextSibling, e) {
@@ -1001,7 +1001,7 @@ class z {
1001
1001
  this._$AM === void 0 && (this._$Cv = t, (e = this._$AP) == null || e.call(this, t));
1002
1002
  }
1003
1003
  }
1004
- class it {
1004
+ class et {
1005
1005
  get tagName() {
1006
1006
  return this.element.tagName;
1007
1007
  }
@@ -1009,49 +1009,49 @@ class it {
1009
1009
  return this._$AM._$AU;
1010
1010
  }
1011
1011
  constructor(t, e, i, n, s) {
1012
- this.type = 1, this._$AH = u, this._$AN = void 0, this.element = t, this.name = e, this._$AM = n, this.options = s, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = u;
1012
+ this.type = 1, this._$AH = p, this._$AN = void 0, this.element = t, this.name = e, this._$AM = n, this.options = s, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = p;
1013
1013
  }
1014
1014
  _$AI(t, e = this, i, n) {
1015
1015
  const s = this.strings;
1016
1016
  let o = !1;
1017
1017
  if (s === void 0)
1018
- t = T(this, t, e, 0), o = !k(t) || t !== this._$AH && t !== P, o && (this._$AH = t);
1018
+ t = O(this, t, e, 0), o = !H(t) || t !== this._$AH && t !== P, o && (this._$AH = t);
1019
1019
  else {
1020
1020
  const a = t;
1021
1021
  let c, h;
1022
1022
  for (t = s[0], c = 0; c < s.length - 1; c++)
1023
- h = T(this, a[i + c], e, c), h === P && (h = this._$AH[c]), o || (o = !k(h) || h !== this._$AH[c]), h === u ? t = u : t !== u && (t += (h ?? "") + s[c + 1]), this._$AH[c] = h;
1023
+ h = O(this, a[i + c], e, c), h === P && (h = this._$AH[c]), o || (o = !H(h) || h !== this._$AH[c]), h === p ? t = p : t !== p && (t += (h ?? "") + s[c + 1]), this._$AH[c] = h;
1024
1024
  }
1025
1025
  o && !n && this.O(t);
1026
1026
  }
1027
1027
  O(t) {
1028
- t === u ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
1028
+ t === p ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
1029
1029
  }
1030
1030
  }
1031
- class Ie extends it {
1031
+ class Ie extends et {
1032
1032
  constructor() {
1033
1033
  super(...arguments), this.type = 3;
1034
1034
  }
1035
1035
  O(t) {
1036
- this.element[this.name] = t === u ? void 0 : t;
1036
+ this.element[this.name] = t === p ? void 0 : t;
1037
1037
  }
1038
1038
  }
1039
- class Me extends it {
1039
+ class Me extends et {
1040
1040
  constructor() {
1041
1041
  super(...arguments), this.type = 4;
1042
1042
  }
1043
1043
  O(t) {
1044
- this.element.toggleAttribute(this.name, !!t && t !== u);
1044
+ this.element.toggleAttribute(this.name, !!t && t !== p);
1045
1045
  }
1046
1046
  }
1047
- class je extends it {
1047
+ class ke extends et {
1048
1048
  constructor(t, e, i, n, s) {
1049
1049
  super(t, e, i, n, s), this.type = 5;
1050
1050
  }
1051
1051
  _$AI(t, e = this) {
1052
- if ((t = T(this, t, e, 0) ?? u) === P)
1052
+ if ((t = O(this, t, e, 0) ?? p) === P)
1053
1053
  return;
1054
- const i = this._$AH, n = t === u && i !== u || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, s = t !== u && (i === u || n);
1054
+ const i = this._$AH, n = t === p && i !== p || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, s = t !== p && (i === p || n);
1055
1055
  n && this.element.removeEventListener(this.name, this, i), s && this.element.addEventListener(this.name, this, t), this._$AH = t;
1056
1056
  }
1057
1057
  handleEvent(t) {
@@ -1059,7 +1059,7 @@ class je extends it {
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 He {
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
  }
@@ -1067,17 +1067,17 @@ class He {
1067
1067
  return this._$AM._$AU;
1068
1068
  }
1069
1069
  _$AI(t) {
1070
- T(this, t);
1070
+ O(this, t);
1071
1071
  }
1072
1072
  }
1073
- const ht = M.litHtmlPolyfillSupport;
1074
- ht == null || ht(N, z), (M.litHtmlVersions ?? (M.litHtmlVersions = [])).push("3.0.2");
1075
- const ke = (r, t, e) => {
1073
+ const ct = M.litHtmlPolyfillSupport;
1074
+ ct == null || ct(N, z), (M.litHtmlVersions ?? (M.litHtmlVersions = [])).push("3.0.2");
1075
+ const He = (r, t, e) => {
1076
1076
  const i = (e == null ? void 0 : e.renderBefore) ?? t;
1077
1077
  let n = i._$litPart$;
1078
1078
  if (n === void 0) {
1079
1079
  const s = (e == null ? void 0 : e.renderBefore) ?? null;
1080
- i._$litPart$ = n = new z(t.insertBefore(H(), s), s, void 0, e ?? {});
1080
+ i._$litPart$ = n = new z(t.insertBefore(j(), s), s, void 0, e ?? {});
1081
1081
  }
1082
1082
  return n._$AI(r), n;
1083
1083
  };
@@ -1086,7 +1086,7 @@ const ke = (r, t, e) => {
1086
1086
  * Copyright 2017 Google LLC
1087
1087
  * SPDX-License-Identifier: BSD-3-Clause
1088
1088
  */
1089
- let w = class extends O {
1089
+ let $ = class extends T {
1090
1090
  constructor() {
1091
1091
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
1092
1092
  }
@@ -1097,7 +1097,7 @@ let w = class extends O {
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 = ke(e, this.renderRoot, this.renderOptions);
1100
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = He(e, this.renderRoot, this.renderOptions);
1101
1101
  }
1102
1102
  connectedCallback() {
1103
1103
  var t;
@@ -1111,17 +1111,17 @@ let w = class extends O {
1111
1111
  return P;
1112
1112
  }
1113
1113
  };
1114
- var Nt;
1115
- w._$litElement$ = !0, w.finalized = !0, (Nt = globalThis.litElementHydrateSupport) == null || Nt.call(globalThis, { LitElement: w });
1116
- const pt = globalThis.litElementPolyfillSupport;
1117
- pt == null || pt({ LitElement: w });
1114
+ var Ht;
1115
+ $._$litElement$ = !0, $.finalized = !0, (Ht = globalThis.litElementHydrateSupport) == null || Ht.call(globalThis, { LitElement: $ });
1116
+ const lt = globalThis.litElementPolyfillSupport;
1117
+ lt == null || lt({ LitElement: $ });
1118
1118
  (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.0.1");
1119
1119
  /**
1120
1120
  * @license
1121
1121
  * Copyright 2017 Google LLC
1122
1122
  * SPDX-License-Identifier: BSD-3-Clause
1123
1123
  */
1124
- const nt = (r) => (t, e) => {
1124
+ const Zt = (r) => (t, e) => {
1125
1125
  e !== void 0 ? e.addInitializer(() => {
1126
1126
  customElements.define(r, t);
1127
1127
  }) : customElements.define(r, t);
@@ -1131,7 +1131,7 @@ const nt = (r) => (t, e) => {
1131
1131
  * Copyright 2017 Google LLC
1132
1132
  * SPDX-License-Identifier: BSD-3-Clause
1133
1133
  */
1134
- const Ne = { attribute: !0, type: String, converter: Z, reflect: !1, hasChanged: $t }, De = (r = Ne, t, e) => {
1134
+ const Ne = { attribute: !0, type: String, converter: K, reflect: !1, hasChanged: bt }, De = (r = Ne, t, e) => {
1135
1135
  const { kind: i, metadata: n } = e;
1136
1136
  let s = globalThis.litPropertyMetadata.get(n);
1137
1137
  if (s === void 0 && globalThis.litPropertyMetadata.set(n, s = /* @__PURE__ */ new Map()), s.set(e.name, r), i === "accessor") {
@@ -1219,30 +1219,30 @@ const Le = Xt(class extends te {
1219
1219
  }
1220
1220
  return P;
1221
1221
  }
1222
- }), F = (r, t, e) => {
1222
+ }), V = (r, t, e) => {
1223
1223
  r && e.style.setProperty(t, r);
1224
1224
  }, ee = (r, t) => {
1225
1225
  var e, i, n, s;
1226
- F((e = r.colors) == null ? void 0 : e.primaryBackground, "--primary-background", t), F(
1226
+ V((e = r.colors) == null ? void 0 : e.primaryBackground, "--primary-background", t), V(
1227
1227
  (i = r.colors) == null ? void 0 : i.textOnPrimaryBackground,
1228
1228
  "--text-on-primary-background",
1229
1229
  t
1230
- ), F(
1230
+ ), V(
1231
1231
  (n = r.colors) == null ? void 0 : n.secondaryBackground,
1232
1232
  "--secondary-background",
1233
1233
  t
1234
- ), F(
1234
+ ), V(
1235
1235
  (s = r.colors) == null ? void 0 : s.textOnSecondaryBackground,
1236
1236
  "--text-on-secondary-background",
1237
1237
  t
1238
1238
  );
1239
1239
  };
1240
- var Be = Object.defineProperty, ze = Object.getOwnPropertyDescriptor, G = (r, t, e, i) => {
1240
+ var Be = Object.defineProperty, ze = Object.getOwnPropertyDescriptor, rt = (r, t, e, i) => {
1241
1241
  for (var n = i > 1 ? void 0 : i ? ze(t, e) : t, s = r.length - 1, o; s >= 0; s--)
1242
1242
  (o = r[s]) && (n = (i ? o(t, e, n) : o(n)) || n);
1243
1243
  return i && n && Be(t, e, n), n;
1244
1244
  };
1245
- let b = class extends w {
1245
+ class A extends $ {
1246
1246
  constructor() {
1247
1247
  super(...arguments), this.active = !1, this.loaded = !1;
1248
1248
  }
@@ -1250,8 +1250,8 @@ let b = class extends w {
1250
1250
  super.connectedCallback(), this.icon = await this._renderSymbol(), this.loaded = !0, this._applyBranding();
1251
1251
  }
1252
1252
  _toggleActive() {
1253
- var r;
1254
- if (!((r = this.application) != null && r.root)) {
1253
+ var t;
1254
+ if (!((t = this.application) != null && t.root)) {
1255
1255
  console.warn(
1256
1256
  "Could not activate widget. No root element assigned to widget."
1257
1257
  );
@@ -1260,32 +1260,32 @@ let b = class extends w {
1260
1260
  this.active = !this.active, this.active ? this.application.appendToDOM() : this.application.removeFromDOM();
1261
1261
  }
1262
1262
  _applyBranding() {
1263
- var r;
1264
- (r = this.application) != null && r.settings && ee(this.application.settings.branding, this);
1263
+ var t;
1264
+ (t = this.application) != null && t.settings && ee(this.application.settings.branding, this);
1265
1265
  }
1266
1266
  async _renderSymbol() {
1267
- var n;
1268
- const r = (n = this.application) == null ? void 0 : n.triggerIcon;
1269
- if (!r)
1270
- return u;
1271
- const t = async (s) => await import("./index-5087564d.mjs").then(
1272
- (a) => a[s]
1273
- ), { type: e, content: i } = r;
1274
- switch (e) {
1267
+ var s;
1268
+ const t = (s = this.application) == null ? void 0 : s.triggerIcon;
1269
+ if (!t)
1270
+ return p;
1271
+ const e = async (o) => await import("./index-5087564d.mjs").then(
1272
+ (c) => c[o]
1273
+ ), { type: i, content: n } = t;
1274
+ switch (i) {
1275
1275
  case "Telia": {
1276
- const s = await t(i);
1277
- return s ? X`<telia-icon
1276
+ const o = await e(n);
1277
+ return o ? Q`<telia-icon
1278
1278
  class="trigger-icon"
1279
- svg=${s.svg}
1279
+ svg=${o.svg}
1280
1280
  size="lg"
1281
- ></telia-icon>` : u;
1281
+ ></telia-icon>` : p;
1282
1282
  }
1283
1283
  default:
1284
- return u;
1284
+ return p;
1285
1285
  }
1286
1286
  }
1287
1287
  render() {
1288
- return X`<button
1288
+ return Q`<button
1289
1289
  class=${Le({
1290
1290
  trigger: !0,
1291
1291
  active: this.active,
@@ -1323,8 +1323,8 @@ let b = class extends w {
1323
1323
  </span>
1324
1324
  </button>`;
1325
1325
  }
1326
- };
1327
- b.styles = [
1326
+ }
1327
+ A.styles = [
1328
1328
  B`
1329
1329
  :host {
1330
1330
  --voca-rem-multiplier: 0.625;
@@ -1395,21 +1395,18 @@ b.styles = [
1395
1395
  }
1396
1396
  `
1397
1397
  ];
1398
- G([
1398
+ rt([
1399
1399
  y({ attribute: !1 })
1400
- ], b.prototype, "application", 2);
1401
- G([
1400
+ ], A.prototype, "application", 2);
1401
+ rt([
1402
1402
  W()
1403
- ], b.prototype, "active", 2);
1404
- G([
1403
+ ], A.prototype, "active", 2);
1404
+ rt([
1405
1405
  W()
1406
- ], b.prototype, "loaded", 2);
1407
- G([
1406
+ ], A.prototype, "loaded", 2);
1407
+ rt([
1408
1408
  W()
1409
- ], b.prototype, "icon", 2);
1410
- b = G([
1411
- nt("ace-trigger")
1412
- ], b);
1409
+ ], A.prototype, "icon", 2);
1413
1410
  var We = Object.defineProperty, Ge = Object.getOwnPropertyDescriptor, E = (r, t, e, i) => {
1414
1411
  for (var n = i > 1 ? void 0 : i ? Ge(t, e) : t, s = r.length - 1, o; s >= 0; s--)
1415
1412
  (o = r[s]) && (n = (i ? o(t, e, n) : o(n)) || n);
@@ -1470,46 +1467,38 @@ const Ve = (r) => {
1470
1467
  y({ attribute: !1 })
1471
1468
  ], t.prototype, "parent", 2), t;
1472
1469
  };
1473
- var Fe = Object.defineProperty, Ye = Object.getOwnPropertyDescriptor, qe = (r, t, e, i) => {
1474
- for (var n = i > 1 ? void 0 : i ? Ye(t, e) : t, s = r.length - 1, o; s >= 0; s--)
1475
- (o = r[s]) && (n = (i ? o(t, e, n) : o(n)) || n);
1476
- return i && n && Fe(t, e, n), n;
1477
- };
1478
- let tt = class extends Ve(w) {
1470
+ class _t extends Ve($) {
1479
1471
  render() {
1480
- return X`Non resolved component`;
1472
+ return Q`Non resolved component`;
1481
1473
  }
1482
- };
1483
- tt.styles = [
1474
+ }
1475
+ _t.styles = [
1484
1476
  B`
1485
1477
  :host {
1486
1478
  display: block;
1487
1479
  }
1488
1480
  `
1489
1481
  ];
1490
- tt = qe([
1491
- nt("ace-unresolved-component")
1492
- ], tt);
1493
1482
  /**
1494
1483
  * @license
1495
1484
  * Copyright 2020 Google LLC
1496
1485
  * SPDX-License-Identifier: BSD-3-Clause
1497
1486
  */
1498
- const Je = (r) => r.strings === void 0;
1487
+ const Fe = (r) => r.strings === void 0;
1499
1488
  /**
1500
1489
  * @license
1501
1490
  * Copyright 2017 Google LLC
1502
1491
  * SPDX-License-Identifier: BSD-3-Clause
1503
1492
  */
1504
- const j = (r, t) => {
1493
+ const k = (r, t) => {
1505
1494
  var i;
1506
1495
  const e = r._$AN;
1507
1496
  if (e === void 0)
1508
1497
  return !1;
1509
1498
  for (const n of e)
1510
- (i = n._$AO) == null || i.call(n, t, !1), j(n, t);
1499
+ (i = n._$AO) == null || i.call(n, t, !1), k(n, t);
1511
1500
  return !0;
1512
- }, et = (r) => {
1501
+ }, X = (r) => {
1513
1502
  let t, e;
1514
1503
  do {
1515
1504
  if ((t = r._$AM) === void 0)
@@ -1523,28 +1512,28 @@ const j = (r, t) => {
1523
1512
  t._$AN = e = /* @__PURE__ */ new Set();
1524
1513
  else if (e.has(r))
1525
1514
  break;
1526
- e.add(r), Qe(t);
1515
+ e.add(r), Je(t);
1527
1516
  }
1528
1517
  };
1529
- function Ke(r) {
1530
- this._$AN !== void 0 ? (et(this), this._$AM = r, re(this)) : this._$AM = r;
1518
+ function Ye(r) {
1519
+ this._$AN !== void 0 ? (X(this), this._$AM = r, re(this)) : this._$AM = r;
1531
1520
  }
1532
- function Ze(r, t = !1, e = 0) {
1521
+ function qe(r, t = !1, e = 0) {
1533
1522
  const i = this._$AH, n = this._$AN;
1534
1523
  if (n !== void 0 && n.size !== 0)
1535
1524
  if (t)
1536
1525
  if (Array.isArray(i))
1537
1526
  for (let s = e; s < i.length; s++)
1538
- j(i[s], !1), et(i[s]);
1527
+ k(i[s], !1), X(i[s]);
1539
1528
  else
1540
- i != null && (j(i, !1), et(i));
1529
+ i != null && (k(i, !1), X(i));
1541
1530
  else
1542
- j(this, r);
1531
+ k(this, r);
1543
1532
  }
1544
- const Qe = (r) => {
1545
- r.type == Qt.CHILD && (r._$AP ?? (r._$AP = Ze), r._$AQ ?? (r._$AQ = Ke));
1533
+ const Je = (r) => {
1534
+ r.type == Qt.CHILD && (r._$AP ?? (r._$AP = qe), r._$AQ ?? (r._$AQ = Ye));
1546
1535
  };
1547
- class Xe extends te {
1536
+ class Ke extends te {
1548
1537
  constructor() {
1549
1538
  super(...arguments), this._$AN = void 0;
1550
1539
  }
@@ -1553,10 +1542,10 @@ class Xe extends te {
1553
1542
  }
1554
1543
  _$AO(t, e = !0) {
1555
1544
  var i, n;
1556
- t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (n = this.disconnected) == null || n.call(this)), e && (j(this, t), et(this));
1545
+ t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (n = this.disconnected) == null || n.call(this)), e && (k(this, t), X(this));
1557
1546
  }
1558
1547
  setValue(t) {
1559
- if (Je(this._$Ct))
1548
+ if (Fe(this._$Ct))
1560
1549
  this._$Ct._$AI(t, this);
1561
1550
  else {
1562
1551
  const e = [...this._$Ct._$AH];
@@ -1573,29 +1562,29 @@ class Xe extends te {
1573
1562
  * Copyright 2020 Google LLC
1574
1563
  * SPDX-License-Identifier: BSD-3-Clause
1575
1564
  */
1576
- const tr = () => new er();
1577
- class er {
1565
+ const Ze = () => new Qe();
1566
+ class Qe {
1578
1567
  }
1579
- const ut = /* @__PURE__ */ new WeakMap(), rr = Xt(class extends Xe {
1568
+ const ht = /* @__PURE__ */ new WeakMap(), Xe = Xt(class extends Ke {
1580
1569
  render(r) {
1581
- return u;
1570
+ return p;
1582
1571
  }
1583
1572
  update(r, [t]) {
1584
1573
  var i;
1585
1574
  const e = t !== this.G;
1586
- return e && this.G !== void 0 && this.ot(void 0), (e || this.rt !== this.lt) && (this.G = t, this.ct = (i = r.options) == null ? void 0 : i.host, this.ot(this.lt = r.element)), u;
1575
+ return e && this.G !== void 0 && this.ot(void 0), (e || this.rt !== this.lt) && (this.G = t, this.ct = (i = r.options) == null ? void 0 : i.host, this.ot(this.lt = r.element)), p;
1587
1576
  }
1588
1577
  ot(r) {
1589
1578
  if (typeof this.G == "function") {
1590
1579
  const t = this.ct ?? globalThis;
1591
- let e = ut.get(t);
1592
- e === void 0 && (e = /* @__PURE__ */ new WeakMap(), ut.set(t, e)), e.get(this.G) !== void 0 && this.G.call(this.ct, void 0), e.set(this.G, r), r !== void 0 && this.G.call(this.ct, r);
1580
+ let e = ht.get(t);
1581
+ e === void 0 && (e = /* @__PURE__ */ new WeakMap(), ht.set(t, e)), e.get(this.G) !== void 0 && this.G.call(this.ct, void 0), e.set(this.G, r), r !== void 0 && this.G.call(this.ct, r);
1593
1582
  } else
1594
1583
  this.G.value = r;
1595
1584
  }
1596
1585
  get rt() {
1597
1586
  var r, t;
1598
- return typeof this.G == "function" ? (r = ut.get(this.ct ?? globalThis)) == null ? void 0 : r.get(this.G) : (t = this.G) == null ? void 0 : t.value;
1587
+ return typeof this.G == "function" ? (r = ht.get(this.ct ?? globalThis)) == null ? void 0 : r.get(this.G) : (t = this.G) == null ? void 0 : t.value;
1599
1588
  }
1600
1589
  disconnected() {
1601
1590
  this.rt === this.lt && this.ot(void 0);
@@ -1609,21 +1598,21 @@ const ut = /* @__PURE__ */ new WeakMap(), rr = Xt(class extends Xe {
1609
1598
  * Copyright 2021 Google LLC
1610
1599
  * SPDX-License-Identifier: BSD-3-Clause
1611
1600
  */
1612
- function* ir(r, t) {
1601
+ function* tr(r, t) {
1613
1602
  if (r !== void 0) {
1614
1603
  let e = 0;
1615
1604
  for (const i of r)
1616
1605
  yield t(i, e++);
1617
1606
  }
1618
1607
  }
1619
- var A = /* @__PURE__ */ ((r) => (r.Inline = "inline", r.Trigger = "trigger", r))(A || {}), nr = Object.defineProperty, sr = Object.getOwnPropertyDescriptor, ie = (r, t, e, i) => {
1620
- for (var n = i > 1 ? void 0 : i ? sr(t, e) : t, s = r.length - 1, o; s >= 0; s--)
1608
+ var w = /* @__PURE__ */ ((r) => (r.Inline = "inline", r.Trigger = "trigger", r))(w || {}), er = Object.defineProperty, rr = Object.getOwnPropertyDescriptor, ie = (r, t, e, i) => {
1609
+ for (var n = i > 1 ? void 0 : i ? rr(t, e) : t, s = r.length - 1, o; s >= 0; s--)
1621
1610
  (o = r[s]) && (n = (i ? o(t, e, n) : o(n)) || n);
1622
- return i && n && nr(t, e, n), n;
1611
+ return i && n && er(t, e, n), n;
1623
1612
  };
1624
- let D = class extends w {
1613
+ let D = class extends $ {
1625
1614
  constructor() {
1626
- super(...arguments), this.nodes = [], this.wrapperRef = tr();
1615
+ super(...arguments), this.nodes = [], this.wrapperRef = Ze();
1627
1616
  }
1628
1617
  addChild(r) {
1629
1618
  r.parent = this, this.nodes.push(r);
@@ -1638,8 +1627,8 @@ let D = class extends w {
1638
1627
  this.applyBranding();
1639
1628
  }
1640
1629
  render() {
1641
- return this.application.renderStrategy === A.Trigger && this.renderRoot.host.classList.add("floating"), X`<div class="widget-container" ${rr(this.wrapperRef)}>
1642
- ${ir(this.nodes, (r) => r)}
1630
+ return this.application.renderStrategy === w.Trigger && this.renderRoot.host.classList.add("floating"), Q`<div class="widget-container" ${Xe(this.wrapperRef)}>
1631
+ ${tr(this.nodes, (r) => r)}
1643
1632
  </div>`;
1644
1633
  }
1645
1634
  };
@@ -1726,9 +1715,9 @@ ie([
1726
1715
  y({ attribute: !1 })
1727
1716
  ], D.prototype, "application", 2);
1728
1717
  D = ie([
1729
- nt("ace-wrapper")
1718
+ Zt("ace-wrapper")
1730
1719
  ], D);
1731
- class or {
1720
+ class ir {
1732
1721
  constructor() {
1733
1722
  this.root = this.createRoot();
1734
1723
  }
@@ -1748,18 +1737,18 @@ class or {
1748
1737
  };
1749
1738
  }, n = (a, c, h, d) => {
1750
1739
  h.forEach((l) => {
1751
- const f = i(l), p = d[f.definitionId];
1752
- if (!p) {
1740
+ const f = i(l), u = d[f.definitionId];
1741
+ if (!u) {
1753
1742
  console.error(
1754
1743
  `No definition found for component type '${f.definitionId}'.`
1755
1744
  );
1756
1745
  return;
1757
1746
  }
1758
- const g = a.createNode(p.type, p.type);
1759
- g && (g.name = f.definitionId, g.application = e, p.properties && g.writeProperties(p.properties), p.context && g.writeContext(p.context), p.layout && g.writeLayout(p.layout), c.addChild(g), p.children && n(
1747
+ const g = a.createNode(u.type, u.type);
1748
+ g && (g.name = f.definitionId, g.application = e, u.properties && g.writeProperties(u.properties), u.context && g.writeContext(u.context), u.layout && g.writeLayout(u.layout), c.addChild(g), u.children && n(
1760
1749
  a,
1761
1750
  g,
1762
- p.children,
1751
+ u.children,
1763
1752
  d
1764
1753
  // views
1765
1754
  ));
@@ -1773,7 +1762,7 @@ class or {
1773
1762
  createNode(t, e) {
1774
1763
  const i = this.resolveComponent(e);
1775
1764
  if (!i)
1776
- return console.warn(`Unable to resolve component: ${e}`), new tt();
1765
+ return console.warn(`Unable to resolve component: ${e}`), new _t();
1777
1766
  const n = new i();
1778
1767
  return n.type = e, n.name = t, n;
1779
1768
  }
@@ -1810,12 +1799,12 @@ const ne = class {
1810
1799
  };
1811
1800
  let se = ne;
1812
1801
  se.ResolveWebComponentName = (r) => `ace-${r}`;
1813
- class ar {
1802
+ class nr {
1814
1803
  constructor(t, e, i, n) {
1815
- this.name = t, this.container = e, this.settings = i, this.options = n, this.platform = new or(), this.renderStrategy = A.Inline, this.autoActivate = !1, this.plugins = [], this.componentResolver = new se(), this.renderStrategy = this.options.renderStrategy || A.Inline, this.triggerIcon = this.options.triggerIcon, typeof n.autoActivate == "boolean" && (this.autoActivate = n.autoActivate), this.container.register("$settings", i);
1804
+ this.name = t, this.container = e, this.settings = i, this.options = n, this.platform = new ir(), this.renderStrategy = w.Inline, this.autoActivate = !1, this.plugins = [], this.componentResolver = new se(), this.renderStrategy = this.options.renderStrategy || w.Inline, this.triggerIcon = this.options.triggerIcon, typeof n.autoActivate == "boolean" && (this.autoActivate = n.autoActivate), this.container.register("$settings", i);
1816
1805
  }
1817
1806
  async activate() {
1818
- if (await this.loadPlugins(), await this.componentResolver.loadComponents(), this.root = this.platform.createComponentModel(this.settings, this), this.container.setState(Vt.Ready), this.autoActivate) {
1807
+ if (await this.loadPlugins(), await this.componentResolver.loadComponents(), this.root = this.platform.createComponentModel(this.settings, this), this.container.setState(Gt.Ready), this.autoActivate) {
1819
1808
  const t = this.render();
1820
1809
  t && document.body.appendChild(t);
1821
1810
  }
@@ -1840,8 +1829,8 @@ class ar {
1840
1829
  return this.componentResolver.getComponent(t);
1841
1830
  }
1842
1831
  render() {
1843
- if (this.renderStrategy === A.Trigger) {
1844
- const t = new b();
1832
+ if (this.renderStrategy === w.Trigger) {
1833
+ const t = new A();
1845
1834
  return t.application = this, t;
1846
1835
  }
1847
1836
  return this.root;
@@ -1855,8 +1844,8 @@ const oe = class {
1855
1844
  return e ? {
1856
1845
  id: e.id,
1857
1846
  apps: e.widgets.map((i) => {
1858
- let n = A.Inline;
1859
- return i.renderStrategy === "Trigger" && (n = A.Trigger), {
1847
+ let n = w.Inline;
1848
+ return i.renderStrategy === "Trigger" && (n = w.Trigger), {
1860
1849
  id: i.id,
1861
1850
  widgetId: i.widgetId,
1862
1851
  renderStrategy: n,
@@ -1876,11 +1865,11 @@ const oe = class {
1876
1865
  } : null;
1877
1866
  }
1878
1867
  };
1879
- let mt = oe;
1880
- mt.endpoint = "https://widgets.ace.teliacompany.net/api";
1881
- class cr {
1868
+ let vt = oe;
1869
+ vt.endpoint = "https://widgets.ace.teliacompany.net/api";
1870
+ class sr {
1882
1871
  constructor() {
1883
- this.applications = [], this.container = new xt("environment", this), setTimeout(() => {
1872
+ this.applications = [], this.container = new Ct("environment", this), setTimeout(() => {
1884
1873
  this.notifyWidgetsOfCreation();
1885
1874
  }, 1e3);
1886
1875
  }
@@ -1905,16 +1894,16 @@ class cr {
1905
1894
  });
1906
1895
  }
1907
1896
  registerApp(t, e, i) {
1908
- const n = new xt(t, this), s = new ar(t, n, e, i);
1897
+ const n = new Ct(t, this), s = new nr(t, n, e, i);
1909
1898
  this.applications.push(s);
1910
1899
  }
1911
1900
  }
1912
- class lr {
1901
+ class or {
1913
1902
  constructor(t) {
1914
1903
  this.configurations = [], typeof t == "string" ? this.url = t : this.loadFromConfig(t);
1915
1904
  }
1916
1905
  async load(t) {
1917
- const e = await mt.getSite(t);
1906
+ const e = await vt.getSite(t);
1918
1907
  if (!e) {
1919
1908
  console.warn(`Unable to load site from the url provided: ${t}`);
1920
1909
  return;
@@ -1935,9 +1924,9 @@ class lr {
1935
1924
  }
1936
1925
  async bootstrap(t) {
1937
1926
  var e;
1938
- this.url && await this.load(this.url), this.environment = new cr(), this.addGlobal(this.environment);
1927
+ this.url && await this.load(this.url), this.environment = new sr(), this.addGlobal(this.environment);
1939
1928
  for await (const i of this.configurations) {
1940
- const n = await mt.getWidget(i.widgetId);
1929
+ const n = await vt.getWidget(i.widgetId);
1941
1930
  n && ((e = this.environment) == null || e.registerApp(n.name, n.config, {
1942
1931
  renderStrategy: i.renderStrategy,
1943
1932
  triggerIcon: i.triggerIcon,
@@ -1950,12 +1939,12 @@ class lr {
1950
1939
  globalThis.widgets = t;
1951
1940
  }
1952
1941
  }
1953
- var hr = Object.defineProperty, pr = Object.getOwnPropertyDescriptor, st = (r, t, e, i) => {
1954
- for (var n = i > 1 ? void 0 : i ? pr(t, e) : t, s = r.length - 1, o; s >= 0; s--)
1942
+ var ar = Object.defineProperty, cr = Object.getOwnPropertyDescriptor, it = (r, t, e, i) => {
1943
+ for (var n = i > 1 ? void 0 : i ? cr(t, e) : t, s = r.length - 1, o; s >= 0; s--)
1955
1944
  (o = r[s]) && (n = (i ? o(t, e, n) : o(n)) || n);
1956
- return i && n && hr(t, e, n), n;
1945
+ return i && n && ar(t, e, n), n;
1957
1946
  };
1958
- let U = class extends w {
1947
+ let U = class extends $ {
1959
1948
  constructor() {
1960
1949
  super(), this.status = "deactivated", this.addEventListener("environment-created", this.onEnvironmentCreated);
1961
1950
  }
@@ -1979,9 +1968,9 @@ let U = class extends w {
1979
1968
  }
1980
1969
  render() {
1981
1970
  if (!this.widget || this.status !== "activated")
1982
- return u;
1983
- if (this.widget.renderStrategy === A.Trigger) {
1984
- const r = new b();
1971
+ return p;
1972
+ if (this.widget.renderStrategy === w.Trigger) {
1973
+ const r = new A();
1985
1974
  return r.application = this.widget, r;
1986
1975
  }
1987
1976
  return this.widget.render();
@@ -1994,28 +1983,30 @@ U.styles = [
1994
1983
  }
1995
1984
  `
1996
1985
  ];
1997
- st([
1986
+ it([
1998
1987
  y({ attribute: !0 })
1999
1988
  ], U.prototype, "name", 2);
2000
- st([
1989
+ it([
2001
1990
  W()
2002
1991
  ], U.prototype, "widget", 2);
2003
- st([
1992
+ it([
2004
1993
  W()
2005
1994
  ], U.prototype, "status", 2);
2006
- U = st([
2007
- nt("ace-widget")
1995
+ U = it([
1996
+ Zt("ace-widget")
2008
1997
  ], U);
2009
- const fr = async (r, t) => {
2010
- await new lr(r).bootstrap(t);
1998
+ customElements.get("ace-trigger") || customElements.define("ace-trigger", A);
1999
+ customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", _t);
2000
+ const ur = async (r, t) => {
2001
+ await new or(r).bootstrap(t);
2011
2002
  };
2012
2003
  export {
2013
2004
  U as AceWidget,
2014
- ar as Application,
2015
- xt as Container,
2016
- cr as Environment,
2017
- lr as Site,
2018
- b as Trigger,
2005
+ nr as Application,
2006
+ Ct as Container,
2007
+ sr as Environment,
2008
+ or as Site,
2009
+ A as Trigger,
2019
2010
  Ve as WidgetComponent,
2020
- fr as bootstrap
2011
+ ur as bootstrap
2021
2012
  };