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

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 +33 -33
  2. package/index.mjs +468 -488
  3. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1,20 +1,20 @@
1
- var gt = function(r, t) {
2
- return gt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, i) {
1
+ var ft = function(r, 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 s in i) Object.prototype.hasOwnProperty.call(i, s) && (e[s] = i[s]);
6
- }, gt(r, t);
6
+ }, ft(r, t);
7
7
  };
8
8
  function Y(r, t) {
9
9
  if (typeof t != "function" && t !== null)
10
10
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
11
- gt(r, t);
11
+ ft(r, t);
12
12
  function e() {
13
13
  this.constructor = r;
14
14
  }
15
15
  r.prototype = t === null ? Object.create(t) : (e.prototype = t.prototype, new e());
16
16
  }
17
- function mt(r) {
17
+ function gt(r) {
18
18
  var t = typeof Symbol == "function" && Symbol.iterator, e = t && r[t], i = 0;
19
19
  if (e) return e.call(r);
20
20
  if (r && typeof r.length == "number") return {
@@ -24,38 +24,38 @@ function mt(r) {
24
24
  };
25
25
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
26
26
  }
27
- function vt(r, t) {
27
+ function mt(r, t) {
28
28
  var e = typeof Symbol == "function" && r[Symbol.iterator];
29
29
  if (!e) return r;
30
- var i = e.call(r), s, n = [], o;
30
+ var i = e.call(r), s, o = [], n;
31
31
  try {
32
- for (; (t === void 0 || t-- > 0) && !(s = i.next()).done; ) n.push(s.value);
32
+ for (; (t === void 0 || t-- > 0) && !(s = i.next()).done; ) o.push(s.value);
33
33
  } catch (a) {
34
- o = { error: a };
34
+ n = { error: a };
35
35
  } finally {
36
36
  try {
37
37
  s && !s.done && (e = i.return) && e.call(i);
38
38
  } finally {
39
- if (o) throw o.error;
39
+ if (n) throw n.error;
40
40
  }
41
41
  }
42
- return n;
42
+ return o;
43
43
  }
44
- function yt(r, t, e) {
45
- if (e || arguments.length === 2) for (var i = 0, s = t.length, n; i < s; i++)
46
- (n || !(i in t)) && (n || (n = Array.prototype.slice.call(t, 0, i)), n[i] = t[i]);
47
- return r.concat(n || Array.prototype.slice.call(t));
44
+ function vt(r, t, e) {
45
+ if (e || arguments.length === 2) for (var i = 0, s = t.length, o; i < s; i++)
46
+ (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
47
+ return r.concat(o || Array.prototype.slice.call(t));
48
48
  }
49
49
  function _(r) {
50
50
  return typeof r == "function";
51
51
  }
52
- function ce(r) {
52
+ function ae(r) {
53
53
  var t = function(i) {
54
54
  Error.call(i), i.stack = new Error().stack;
55
55
  }, e = r(t);
56
56
  return e.prototype = Object.create(Error.prototype), e.prototype.constructor = e, e;
57
57
  }
58
- var ot = ce(function(r) {
58
+ var nt = ae(function(r) {
59
59
  return function(e) {
60
60
  r(this), this.message = e ? e.length + ` errors occurred during unsubscription:
61
61
  ` + e.map(function(i, s) {
@@ -64,7 +64,7 @@ var ot = ce(function(r) {
64
64
  `) : "", this.name = "UnsubscriptionError", this.errors = e;
65
65
  };
66
66
  });
67
- function bt(r, t) {
67
+ function yt(r, t) {
68
68
  if (r) {
69
69
  var e = r.indexOf(t);
70
70
  0 <= e && r.splice(e, 1);
@@ -75,14 +75,14 @@ var rt = function() {
75
75
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
76
76
  }
77
77
  return r.prototype.unsubscribe = function() {
78
- var t, e, i, s, n;
78
+ var t, e, i, s, o;
79
79
  if (!this.closed) {
80
80
  this.closed = !0;
81
- var o = this._parentage;
82
- if (o)
83
- if (this._parentage = null, Array.isArray(o))
81
+ var n = this._parentage;
82
+ if (n)
83
+ if (this._parentage = null, Array.isArray(n))
84
84
  try {
85
- for (var a = mt(o), c = a.next(); !c.done; c = a.next()) {
85
+ for (var a = gt(n), c = a.next(); !c.done; c = a.next()) {
86
86
  var l = c.value;
87
87
  l.remove(this);
88
88
  }
@@ -96,24 +96,24 @@ var rt = function() {
96
96
  }
97
97
  }
98
98
  else
99
- o.remove(this);
99
+ n.remove(this);
100
100
  var h = this.initialTeardown;
101
101
  if (_(h))
102
102
  try {
103
103
  h();
104
104
  } catch (v) {
105
- n = v instanceof ot ? v.errors : [v];
105
+ o = v instanceof nt ? v.errors : [v];
106
106
  }
107
107
  var d = this._finalizers;
108
108
  if (d) {
109
109
  this._finalizers = null;
110
110
  try {
111
- for (var u = mt(d), f = u.next(); !f.done; f = u.next()) {
111
+ for (var u = gt(d), f = u.next(); !f.done; f = u.next()) {
112
112
  var g = f.value;
113
113
  try {
114
- Lt(g);
114
+ Ut(g);
115
115
  } catch (v) {
116
- n = n ?? [], v instanceof ot ? n = yt(yt([], vt(n)), vt(v.errors)) : n.push(v);
116
+ o = o ?? [], v instanceof nt ? o = vt(vt([], mt(o)), mt(v.errors)) : o.push(v);
117
117
  }
118
118
  }
119
119
  } catch (v) {
@@ -126,14 +126,14 @@ var rt = function() {
126
126
  }
127
127
  }
128
128
  }
129
- if (n)
130
- throw new ot(n);
129
+ if (o)
130
+ throw new nt(o);
131
131
  }
132
132
  }, r.prototype.add = function(t) {
133
133
  var e;
134
134
  if (t && t !== this)
135
135
  if (this.closed)
136
- Lt(t);
136
+ Ut(t);
137
137
  else {
138
138
  if (t instanceof r) {
139
139
  if (t.closed || t._hasParent(this))
@@ -150,56 +150,52 @@ var rt = function() {
150
150
  this._parentage = Array.isArray(e) ? (e.push(t), e) : e ? [e, t] : t;
151
151
  }, r.prototype._removeParent = function(t) {
152
152
  var e = this._parentage;
153
- e === t ? this._parentage = null : Array.isArray(e) && bt(e, t);
153
+ e === t ? this._parentage = null : Array.isArray(e) && yt(e, t);
154
154
  }, r.prototype.remove = function(t) {
155
155
  var e = this._finalizers;
156
- e && bt(e, t), t instanceof r && t._removeParent(this);
156
+ e && yt(e, t), t instanceof r && t._removeParent(this);
157
157
  }, r.EMPTY = function() {
158
158
  var t = new r();
159
159
  return t.closed = !0, t;
160
160
  }(), r;
161
- }(), he = rt.EMPTY;
162
- function le(r) {
161
+ }(), ce = rt.EMPTY;
162
+ function he(r) {
163
163
  return r instanceof rt || r && "closed" in r && _(r.remove) && _(r.add) && _(r.unsubscribe);
164
164
  }
165
- function Lt(r) {
165
+ function Ut(r) {
166
166
  _(r) ? r() : r.unsubscribe();
167
167
  }
168
- var de = {
169
- onUnhandledError: null,
170
- onStoppedNotification: null,
171
- Promise: void 0,
172
- useDeprecatedSynchronousErrorHandling: !1,
173
- useDeprecatedNextContext: !1
174
- }, Ee = {
168
+ var Ce = {
169
+ Promise: void 0
170
+ }, Se = {
175
171
  setTimeout: function(r, t) {
176
172
  for (var e = [], i = 2; i < arguments.length; i++)
177
173
  e[i - 2] = arguments[i];
178
- return setTimeout.apply(void 0, yt([r, t], vt(e)));
174
+ return setTimeout.apply(void 0, vt([r, t], mt(e)));
179
175
  },
180
176
  clearTimeout: function(r) {
181
177
  return clearTimeout(r);
182
178
  },
183
179
  delegate: void 0
184
180
  };
185
- function Pe(r) {
186
- Ee.setTimeout(function() {
181
+ function Ee(r) {
182
+ Se.setTimeout(function() {
187
183
  throw r;
188
184
  });
189
185
  }
190
- function jt() {
186
+ function Lt() {
191
187
  }
192
188
  function G(r) {
193
189
  r();
194
190
  }
195
- var ue = function(r) {
191
+ var le = function(r) {
196
192
  Y(t, r);
197
193
  function t(e) {
198
194
  var i = r.call(this) || this;
199
- return i.isStopped = !1, e ? (i.destination = e, le(e) && e.add(i)) : i.destination = ke, i;
195
+ return i.isStopped = !1, e ? (i.destination = e, he(e) && e.add(i)) : i.destination = Ie, i;
200
196
  }
201
197
  return t.create = function(e, i, s) {
202
- return new wt(e, i, s);
198
+ return new bt(e, i, s);
203
199
  }, t.prototype.next = function(e) {
204
200
  this.isStopped || this._next(e);
205
201
  }, t.prototype.error = function(e) {
@@ -223,11 +219,7 @@ var ue = function(r) {
223
219
  this.unsubscribe();
224
220
  }
225
221
  }, t;
226
- }(rt), Oe = Function.prototype.bind;
227
- function at(r, t) {
228
- return Oe.call(r, t);
229
- }
230
- var Ie = function() {
222
+ }(rt), Pe = function() {
231
223
  function r(t) {
232
224
  this.partialObserver = t;
233
225
  }
@@ -258,55 +250,43 @@ var Ie = function() {
258
250
  Z(e);
259
251
  }
260
252
  }, r;
261
- }(), wt = function(r) {
253
+ }(), bt = function(r) {
262
254
  Y(t, r);
263
255
  function t(e, i, s) {
264
- var n = r.call(this) || this, o;
265
- if (_(e) || !e)
266
- o = {
267
- next: e ?? void 0,
268
- error: i ?? void 0,
269
- complete: s ?? void 0
270
- };
271
- else {
272
- var a;
273
- n && de.useDeprecatedNextContext ? (a = Object.create(e), a.unsubscribe = function() {
274
- return n.unsubscribe();
275
- }, o = {
276
- next: e.next && at(e.next, a),
277
- error: e.error && at(e.error, a),
278
- complete: e.complete && at(e.complete, a)
279
- }) : o = e;
280
- }
281
- return n.destination = new Ie(o), n;
256
+ var o = r.call(this) || this, n;
257
+ return _(e) || !e ? n = {
258
+ next: e ?? void 0,
259
+ error: i ?? void 0,
260
+ complete: s ?? void 0
261
+ } : n = e, o.destination = new Pe(n), o;
282
262
  }
283
263
  return t;
284
- }(ue);
264
+ }(le);
285
265
  function Z(r) {
286
- Pe(r);
266
+ Ee(r);
287
267
  }
288
- function Te(r) {
268
+ function Oe(r) {
289
269
  throw r;
290
270
  }
291
- var ke = {
271
+ var Ie = {
292
272
  closed: !0,
293
- next: jt,
294
- error: Te,
295
- complete: jt
296
- }, Re = function() {
273
+ next: Lt,
274
+ error: Oe,
275
+ complete: Lt
276
+ }, ke = function() {
297
277
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
298
278
  }();
299
- function Me(r) {
279
+ function Te(r) {
300
280
  return r;
301
281
  }
302
- function Ne(r) {
303
- return r.length === 0 ? Me : r.length === 1 ? r[0] : function(e) {
282
+ function Re(r) {
283
+ return r.length === 0 ? Te : r.length === 1 ? r[0] : function(e) {
304
284
  return r.reduce(function(i, s) {
305
285
  return s(i);
306
286
  }, e);
307
287
  };
308
288
  }
309
- var Ht = function() {
289
+ var jt = function() {
310
290
  function r(t) {
311
291
  t && (this._subscribe = t);
312
292
  }
@@ -314,11 +294,11 @@ var Ht = function() {
314
294
  var e = new r();
315
295
  return e.source = this, e.operator = t, e;
316
296
  }, r.prototype.subscribe = function(t, e, i) {
317
- var s = this, n = Le(t) ? t : new wt(t, e, i);
297
+ var s = this, o = Me(t) ? t : new bt(t, e, i);
318
298
  return G(function() {
319
- var o = s, a = o.operator, c = o.source;
320
- n.add(a ? a.call(n, c) : c ? s._subscribe(n) : s._trySubscribe(n));
321
- }), n;
299
+ var n = s, a = n.operator, c = n.source;
300
+ o.add(a ? a.call(o, c) : c ? s._subscribe(o) : s._trySubscribe(o));
301
+ }), o;
322
302
  }, r.prototype._trySubscribe = function(t) {
323
303
  try {
324
304
  return this._subscribe(t);
@@ -327,79 +307,79 @@ var Ht = function() {
327
307
  }
328
308
  }, r.prototype.forEach = function(t, e) {
329
309
  var i = this;
330
- return e = Bt(e), new e(function(s, n) {
331
- var o = new wt({
310
+ return e = Ht(e), new e(function(s, o) {
311
+ var n = new bt({
332
312
  next: function(a) {
333
313
  try {
334
314
  t(a);
335
315
  } catch (c) {
336
- n(c), o.unsubscribe();
316
+ o(c), n.unsubscribe();
337
317
  }
338
318
  },
339
- error: n,
319
+ error: o,
340
320
  complete: s
341
321
  });
342
- i.subscribe(o);
322
+ i.subscribe(n);
343
323
  });
344
324
  }, r.prototype._subscribe = function(t) {
345
325
  var e;
346
326
  return (e = this.source) === null || e === void 0 ? void 0 : e.subscribe(t);
347
- }, r.prototype[Re] = function() {
327
+ }, r.prototype[ke] = function() {
348
328
  return this;
349
329
  }, r.prototype.pipe = function() {
350
330
  for (var t = [], e = 0; e < arguments.length; e++)
351
331
  t[e] = arguments[e];
352
- return Ne(t)(this);
332
+ return Re(t)(this);
353
333
  }, r.prototype.toPromise = function(t) {
354
334
  var e = this;
355
- return t = Bt(t), new t(function(i, s) {
356
- var n;
357
- e.subscribe(function(o) {
358
- return n = o;
359
- }, function(o) {
360
- return s(o);
335
+ return t = Ht(t), new t(function(i, s) {
336
+ var o;
337
+ e.subscribe(function(n) {
338
+ return o = n;
339
+ }, function(n) {
340
+ return s(n);
361
341
  }, function() {
362
- return i(n);
342
+ return i(o);
363
343
  });
364
344
  });
365
345
  }, r.create = function(t) {
366
346
  return new r(t);
367
347
  }, r;
368
348
  }();
369
- function Bt(r) {
349
+ function Ht(r) {
370
350
  var t;
371
- return (t = r ?? de.Promise) !== null && t !== void 0 ? t : Promise;
351
+ return (t = r ?? Ce.Promise) !== null && t !== void 0 ? t : Promise;
372
352
  }
373
- function Ue(r) {
353
+ function Ne(r) {
374
354
  return r && _(r.next) && _(r.error) && _(r.complete);
375
355
  }
376
- function Le(r) {
377
- return r && r instanceof ue || Ue(r) && le(r);
356
+ function Me(r) {
357
+ return r && r instanceof le || Ne(r) && he(r);
378
358
  }
379
- var je = ce(function(r) {
359
+ var Ue = ae(function(r) {
380
360
  return function() {
381
361
  r(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
382
362
  };
383
- }), At = function(r) {
363
+ }), _t = function(r) {
384
364
  Y(t, r);
385
365
  function t() {
386
366
  var e = r.call(this) || this;
387
367
  return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
388
368
  }
389
369
  return t.prototype.lift = function(e) {
390
- var i = new Dt(this, this);
370
+ var i = new Bt(this, this);
391
371
  return i.operator = e, i;
392
372
  }, t.prototype._throwIfClosed = function() {
393
373
  if (this.closed)
394
- throw new je();
374
+ throw new Ue();
395
375
  }, t.prototype.next = function(e) {
396
376
  var i = this;
397
377
  G(function() {
398
- var s, n;
378
+ var s, o;
399
379
  if (i._throwIfClosed(), !i.isStopped) {
400
380
  i.currentObservers || (i.currentObservers = Array.from(i.observers));
401
381
  try {
402
- for (var o = mt(i.currentObservers), a = o.next(); !a.done; a = o.next()) {
382
+ for (var n = gt(i.currentObservers), a = n.next(); !a.done; a = n.next()) {
403
383
  var c = a.value;
404
384
  c.next(e);
405
385
  }
@@ -407,7 +387,7 @@ var je = ce(function(r) {
407
387
  s = { error: l };
408
388
  } finally {
409
389
  try {
410
- a && !a.done && (n = o.return) && n.call(o);
390
+ a && !a.done && (o = n.return) && o.call(n);
411
391
  } finally {
412
392
  if (s) throw s.error;
413
393
  }
@@ -446,20 +426,20 @@ var je = ce(function(r) {
446
426
  }, t.prototype._subscribe = function(e) {
447
427
  return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
448
428
  }, t.prototype._innerSubscribe = function(e) {
449
- var i = this, s = this, n = s.hasError, o = s.isStopped, a = s.observers;
450
- return n || o ? he : (this.currentObservers = null, a.push(e), new rt(function() {
451
- i.currentObservers = null, bt(a, e);
429
+ var i = this, s = this, o = s.hasError, n = s.isStopped, a = s.observers;
430
+ return o || n ? ce : (this.currentObservers = null, a.push(e), new rt(function() {
431
+ i.currentObservers = null, yt(a, e);
452
432
  }));
453
433
  }, t.prototype._checkFinalizedStatuses = function(e) {
454
- var i = this, s = i.hasError, n = i.thrownError, o = i.isStopped;
455
- s ? e.error(n) : o && e.complete();
434
+ var i = this, s = i.hasError, o = i.thrownError, n = i.isStopped;
435
+ s ? e.error(o) : n && e.complete();
456
436
  }, t.prototype.asObservable = function() {
457
- var e = new Ht();
437
+ var e = new jt();
458
438
  return e.source = this, e;
459
439
  }, t.create = function(e, i) {
460
- return new Dt(e, i);
440
+ return new Bt(e, i);
461
441
  }, t;
462
- }(Ht), Dt = function(r) {
442
+ }(jt), Bt = function(r) {
463
443
  Y(t, r);
464
444
  function t(e, i) {
465
445
  var s = r.call(this) || this;
@@ -476,9 +456,9 @@ var je = ce(function(r) {
476
456
  (i = (e = this.destination) === null || e === void 0 ? void 0 : e.complete) === null || i === void 0 || i.call(e);
477
457
  }, t.prototype._subscribe = function(e) {
478
458
  var i, s;
479
- return (s = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(e)) !== null && s !== void 0 ? s : he;
459
+ return (s = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(e)) !== null && s !== void 0 ? s : ce;
480
460
  }, t;
481
- }(At), xt = function(r) {
461
+ }(_t), At = function(r) {
482
462
  Y(t, r);
483
463
  function t(e) {
484
464
  var i = r.call(this) || this;
@@ -494,17 +474,17 @@ var je = ce(function(r) {
494
474
  var i = r.prototype._subscribe.call(this, e);
495
475
  return !i.closed && e.next(this._value), i;
496
476
  }, t.prototype.getValue = function() {
497
- var e = this, i = e.hasError, s = e.thrownError, n = e._value;
477
+ var e = this, i = e.hasError, s = e.thrownError, o = e._value;
498
478
  if (i)
499
479
  throw s;
500
- return this._throwIfClosed(), n;
480
+ return this._throwIfClosed(), o;
501
481
  }, t.prototype.next = function(e) {
502
482
  r.prototype.next.call(this, this._value = e);
503
483
  }, t;
504
- }(At), pe = /* @__PURE__ */ ((r) => (r.Loading = "loading", r.Ready = "ready", r))(pe || {});
505
- class zt {
484
+ }(_t), de = /* @__PURE__ */ ((r) => (r.Loading = "loading", r.Ready = "ready", r))(de || {});
485
+ class Dt {
506
486
  constructor(t, e) {
507
- this.state = new xt(
487
+ this.state = new At(
508
488
  "loading"
509
489
  /* Loading */
510
490
  ), this.resolvers = /* @__PURE__ */ new Map(), this.name = t, this.environment = e, this.state.next(
@@ -527,18 +507,18 @@ class zt {
527
507
  * Copyright 2019 Google LLC
528
508
  * SPDX-License-Identifier: BSD-3-Clause
529
509
  */
530
- const J = globalThis, Ct = J.ShadowRoot && (J.ShadyCSS === void 0 || J.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, St = Symbol(), Ft = /* @__PURE__ */ new WeakMap();
531
- let fe = class {
510
+ const J = globalThis, xt = J.ShadowRoot && (J.ShadyCSS === void 0 || J.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Ct = Symbol(), zt = /* @__PURE__ */ new WeakMap();
511
+ let ue = class {
532
512
  constructor(t, e, i) {
533
- if (this._$cssResult$ = !0, i !== St) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
513
+ if (this._$cssResult$ = !0, i !== Ct) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
534
514
  this.cssText = t, this.t = e;
535
515
  }
536
516
  get styleSheet() {
537
517
  let t = this.o;
538
518
  const e = this.t;
539
- if (Ct && t === void 0) {
519
+ if (xt && t === void 0) {
540
520
  const i = e !== void 0 && e.length === 1;
541
- i && (t = Ft.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && Ft.set(e, t));
521
+ i && (t = zt.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && zt.set(e, t));
542
522
  }
543
523
  return t;
544
524
  }
@@ -546,33 +526,33 @@ let fe = class {
546
526
  return this.cssText;
547
527
  }
548
528
  };
549
- const He = (r) => new fe(typeof r == "string" ? r : r + "", void 0, St), U = (r, ...t) => {
550
- const e = r.length === 1 ? r[0] : t.reduce((i, s, n) => i + ((o) => {
551
- if (o._$cssResult$ === !0) return o.cssText;
552
- if (typeof o == "number") return o;
553
- 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.");
554
- })(s) + r[n + 1], r[0]);
555
- return new fe(e, r, St);
556
- }, Be = (r, t) => {
557
- if (Ct) r.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
529
+ const Le = (r) => new ue(typeof r == "string" ? r : r + "", void 0, Ct), U = (r, ...t) => {
530
+ const e = r.length === 1 ? r[0] : t.reduce((i, s, o) => i + ((n) => {
531
+ if (n._$cssResult$ === !0) return n.cssText;
532
+ if (typeof n == "number") return n;
533
+ throw Error("Value passed to 'css' function must be a 'css' function result: " + n + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
534
+ })(s) + r[o + 1], r[0]);
535
+ return new ue(e, r, Ct);
536
+ }, je = (r, t) => {
537
+ if (xt) r.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
558
538
  else for (const e of t) {
559
539
  const i = document.createElement("style"), s = J.litNonce;
560
540
  s !== void 0 && i.setAttribute("nonce", s), i.textContent = e.cssText, r.appendChild(i);
561
541
  }
562
- }, Vt = Ct ? (r) => r : (r) => r instanceof CSSStyleSheet ? ((t) => {
542
+ }, Ft = xt ? (r) => r : (r) => r instanceof CSSStyleSheet ? ((t) => {
563
543
  let e = "";
564
544
  for (const i of t.cssRules) e += i.cssText;
565
- return He(e);
545
+ return Le(e);
566
546
  })(r) : r;
567
547
  /**
568
548
  * @license
569
549
  * Copyright 2017 Google LLC
570
550
  * SPDX-License-Identifier: BSD-3-Clause
571
551
  */
572
- const { is: De, defineProperty: ze, getOwnPropertyDescriptor: Fe, getOwnPropertyNames: Ve, getOwnPropertySymbols: We, getPrototypeOf: Ye } = Object, C = globalThis, Wt = C.trustedTypes, qe = Wt ? Wt.emptyScript : "", ct = C.reactiveElementPolyfillSupport, H = (r, t) => r, X = { toAttribute(r, t) {
552
+ const { is: He, defineProperty: Be, getOwnPropertyDescriptor: De, getOwnPropertyNames: ze, getOwnPropertySymbols: Fe, getPrototypeOf: Ve } = Object, C = globalThis, Vt = C.trustedTypes, We = Vt ? Vt.emptyScript : "", at = C.reactiveElementPolyfillSupport, H = (r, t) => r, X = { toAttribute(r, t) {
573
553
  switch (t) {
574
554
  case Boolean:
575
- r = r ? qe : null;
555
+ r = r ? We : null;
576
556
  break;
577
557
  case Object:
578
558
  case Array:
@@ -597,46 +577,46 @@ const { is: De, defineProperty: ze, getOwnPropertyDescriptor: Fe, getOwnProperty
597
577
  }
598
578
  }
599
579
  return e;
600
- } }, Et = (r, t) => !De(r, t), Yt = { attribute: !0, type: String, converter: X, reflect: !1, hasChanged: Et };
580
+ } }, St = (r, t) => !He(r, t), Wt = { attribute: !0, type: String, converter: X, reflect: !1, hasChanged: St };
601
581
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), C.litPropertyMetadata ?? (C.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
602
- let T = class extends HTMLElement {
582
+ let k = class extends HTMLElement {
603
583
  static addInitializer(t) {
604
584
  this._$Ei(), (this.l ?? (this.l = [])).push(t);
605
585
  }
606
586
  static get observedAttributes() {
607
587
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
608
588
  }
609
- static createProperty(t, e = Yt) {
589
+ static createProperty(t, e = Wt) {
610
590
  if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
611
591
  const i = Symbol(), s = this.getPropertyDescriptor(t, i, e);
612
- s !== void 0 && ze(this.prototype, t, s);
592
+ s !== void 0 && Be(this.prototype, t, s);
613
593
  }
614
594
  }
615
595
  static getPropertyDescriptor(t, e, i) {
616
- const { get: s, set: n } = Fe(this.prototype, t) ?? { get() {
596
+ const { get: s, set: o } = De(this.prototype, t) ?? { get() {
617
597
  return this[e];
618
- }, set(o) {
619
- this[e] = o;
598
+ }, set(n) {
599
+ this[e] = n;
620
600
  } };
621
601
  return { get() {
622
602
  return s == null ? void 0 : s.call(this);
623
- }, set(o) {
603
+ }, set(n) {
624
604
  const a = s == null ? void 0 : s.call(this);
625
- n.call(this, o), this.requestUpdate(t, a, i);
605
+ o.call(this, n), this.requestUpdate(t, a, i);
626
606
  }, configurable: !0, enumerable: !0 };
627
607
  }
628
608
  static getPropertyOptions(t) {
629
- return this.elementProperties.get(t) ?? Yt;
609
+ return this.elementProperties.get(t) ?? Wt;
630
610
  }
631
611
  static _$Ei() {
632
612
  if (this.hasOwnProperty(H("elementProperties"))) return;
633
- const t = Ye(this);
613
+ const t = Ve(this);
634
614
  t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
635
615
  }
636
616
  static finalize() {
637
617
  if (this.hasOwnProperty(H("finalized"))) return;
638
618
  if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(H("properties"))) {
639
- const e = this.properties, i = [...Ve(e), ...We(e)];
619
+ const e = this.properties, i = [...ze(e), ...Fe(e)];
640
620
  for (const s of i) this.createProperty(s, e[s]);
641
621
  }
642
622
  const t = this[Symbol.metadata];
@@ -655,8 +635,8 @@ let T = class extends HTMLElement {
655
635
  const e = [];
656
636
  if (Array.isArray(t)) {
657
637
  const i = new Set(t.flat(1 / 0).reverse());
658
- for (const s of i) e.unshift(Vt(s));
659
- } else t !== void 0 && e.push(Vt(t));
638
+ for (const s of i) e.unshift(Ft(s));
639
+ } else t !== void 0 && e.push(Ft(t));
660
640
  return e;
661
641
  }
662
642
  static _$Eu(t, e) {
@@ -685,7 +665,7 @@ let T = class extends HTMLElement {
685
665
  }
686
666
  createRenderRoot() {
687
667
  const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
688
- return Be(t, this.constructor.elementStyles), t;
668
+ return je(t, this.constructor.elementStyles), t;
689
669
  }
690
670
  connectedCallback() {
691
671
  var t;
@@ -707,24 +687,24 @@ let T = class extends HTMLElement {
707
687
  this._$AK(t, i);
708
688
  }
709
689
  _$EC(t, e) {
710
- var n;
690
+ var o;
711
691
  const i = this.constructor.elementProperties.get(t), s = this.constructor._$Eu(t, i);
712
692
  if (s !== void 0 && i.reflect === !0) {
713
- const o = (((n = i.converter) == null ? void 0 : n.toAttribute) !== void 0 ? i.converter : X).toAttribute(e, i.type);
714
- this._$Em = t, o == null ? this.removeAttribute(s) : this.setAttribute(s, o), this._$Em = null;
693
+ const n = (((o = i.converter) == null ? void 0 : o.toAttribute) !== void 0 ? i.converter : X).toAttribute(e, i.type);
694
+ this._$Em = t, n == null ? this.removeAttribute(s) : this.setAttribute(s, n), this._$Em = null;
715
695
  }
716
696
  }
717
697
  _$AK(t, e) {
718
- var n;
698
+ var o;
719
699
  const i = this.constructor, s = i._$Eh.get(t);
720
700
  if (s !== void 0 && this._$Em !== s) {
721
- const o = i.getPropertyOptions(s), a = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((n = o.converter) == null ? void 0 : n.fromAttribute) !== void 0 ? o.converter : X;
722
- this._$Em = s, this[s] = a.fromAttribute(e, o.type), this._$Em = null;
701
+ const n = i.getPropertyOptions(s), a = typeof n.converter == "function" ? { fromAttribute: n.converter } : ((o = n.converter) == null ? void 0 : o.fromAttribute) !== void 0 ? n.converter : X;
702
+ this._$Em = s, this[s] = a.fromAttribute(e, n.type), this._$Em = null;
723
703
  }
724
704
  }
725
705
  requestUpdate(t, e, i) {
726
706
  if (t !== void 0) {
727
- if (i ?? (i = this.constructor.getPropertyOptions(t)), !(i.hasChanged ?? Et)(this[t], e)) return;
707
+ if (i ?? (i = this.constructor.getPropertyOptions(t)), !(i.hasChanged ?? St)(this[t], e)) return;
728
708
  this.P(t, e, i);
729
709
  }
730
710
  this.isUpdatePending === !1 && (this._$ES = this._$ET());
@@ -750,18 +730,18 @@ let T = class extends HTMLElement {
750
730
  if (!this.isUpdatePending) return;
751
731
  if (!this.hasUpdated) {
752
732
  if (this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this._$Ep) {
753
- for (const [n, o] of this._$Ep) this[n] = o;
733
+ for (const [o, n] of this._$Ep) this[o] = n;
754
734
  this._$Ep = void 0;
755
735
  }
756
736
  const s = this.constructor.elementProperties;
757
- if (s.size > 0) for (const [n, o] of s) o.wrapped !== !0 || this._$AL.has(n) || this[n] === void 0 || this.P(n, this[n], o);
737
+ if (s.size > 0) for (const [o, n] of s) n.wrapped !== !0 || this._$AL.has(o) || this[o] === void 0 || this.P(o, this[o], n);
758
738
  }
759
739
  let t = !1;
760
740
  const e = this._$AL;
761
741
  try {
762
742
  t = this.shouldUpdate(e), t ? (this.willUpdate(e), (i = this._$EO) == null || i.forEach((s) => {
763
- var n;
764
- return (n = s.hostUpdate) == null ? void 0 : n.call(s);
743
+ var o;
744
+ return (o = s.hostUpdate) == null ? void 0 : o.call(s);
765
745
  }), this.update(e)) : this._$EU();
766
746
  } catch (s) {
767
747
  throw t = !1, this._$EU(), s;
@@ -797,61 +777,61 @@ let T = class extends HTMLElement {
797
777
  firstUpdated(t) {
798
778
  }
799
779
  };
800
- T.elementStyles = [], T.shadowRootOptions = { mode: "open" }, T[H("elementProperties")] = /* @__PURE__ */ new Map(), T[H("finalized")] = /* @__PURE__ */ new Map(), ct == null || ct({ ReactiveElement: T }), (C.reactiveElementVersions ?? (C.reactiveElementVersions = [])).push("2.0.4");
780
+ k.elementStyles = [], k.shadowRootOptions = { mode: "open" }, k[H("elementProperties")] = /* @__PURE__ */ new Map(), k[H("finalized")] = /* @__PURE__ */ new Map(), at == null || at({ ReactiveElement: k }), (C.reactiveElementVersions ?? (C.reactiveElementVersions = [])).push("2.0.4");
801
781
  /**
802
782
  * @license
803
783
  * Copyright 2017 Google LLC
804
784
  * SPDX-License-Identifier: BSD-3-Clause
805
785
  */
806
- const B = globalThis, Q = B.trustedTypes, qt = Q ? Q.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, ge = "$lit$", x = `lit$${Math.random().toFixed(9).slice(2)}$`, me = "?" + x, Ke = `<${me}>`, O = document, z = () => O.createComment(""), F = (r) => r === null || typeof r != "object" && typeof r != "function", Pt = Array.isArray, Ze = (r) => Pt(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", ht = `[
807
- \f\r]`, j = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Kt = /-->/g, Zt = />/g, S = RegExp(`>|${ht}(?:([^\\s"'>=/]+)(${ht}*=${ht}*(?:[^
808
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Gt = /'/g, Jt = /"/g, ve = /^(?:script|style|textarea|title)$/i, Ge = (r) => (t, ...e) => ({ _$litType$: r, strings: t, values: e }), k = Ge(1), I = Symbol.for("lit-noChange"), p = Symbol.for("lit-nothing"), Xt = /* @__PURE__ */ new WeakMap(), P = O.createTreeWalker(O, 129);
809
- function ye(r, t) {
810
- if (!Pt(r) || !r.hasOwnProperty("raw")) throw Error("invalid template strings array");
811
- return qt !== void 0 ? qt.createHTML(t) : t;
786
+ const B = globalThis, Q = B.trustedTypes, Yt = Q ? Q.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, pe = "$lit$", x = `lit$${Math.random().toFixed(9).slice(2)}$`, fe = "?" + x, Ye = `<${fe}>`, O = document, z = () => O.createComment(""), F = (r) => r === null || typeof r != "object" && typeof r != "function", Et = Array.isArray, qe = (r) => Et(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", ct = `[
787
+ \f\r]`, j = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, qt = /-->/g, Kt = />/g, S = RegExp(`>|${ct}(?:([^\\s"'>=/]+)(${ct}*=${ct}*(?:[^
788
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Zt = /'/g, Gt = /"/g, ge = /^(?:script|style|textarea|title)$/i, Ke = (r) => (t, ...e) => ({ _$litType$: r, strings: t, values: e }), T = Ke(1), I = Symbol.for("lit-noChange"), p = Symbol.for("lit-nothing"), Jt = /* @__PURE__ */ new WeakMap(), P = O.createTreeWalker(O, 129);
789
+ function me(r, t) {
790
+ if (!Et(r) || !r.hasOwnProperty("raw")) throw Error("invalid template strings array");
791
+ return Yt !== void 0 ? Yt.createHTML(t) : t;
812
792
  }
813
- const Je = (r, t) => {
793
+ const Ze = (r, t) => {
814
794
  const e = r.length - 1, i = [];
815
- let s, n = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", o = j;
795
+ let s, o = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = j;
816
796
  for (let a = 0; a < e; a++) {
817
797
  const c = r[a];
818
798
  let l, h, d = -1, u = 0;
819
- for (; u < c.length && (o.lastIndex = u, h = o.exec(c), h !== null); ) u = o.lastIndex, o === j ? h[1] === "!--" ? o = Kt : h[1] !== void 0 ? o = Zt : h[2] !== void 0 ? (ve.test(h[2]) && (s = RegExp("</" + h[2], "g")), o = S) : h[3] !== void 0 && (o = S) : o === S ? h[0] === ">" ? (o = s ?? j, 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] === '"' ? Jt : Gt) : o === Jt || o === Gt ? o = S : o === Kt || o === Zt ? o = j : (o = S, s = void 0);
820
- const f = o === S && r[a + 1].startsWith("/>") ? " " : "";
821
- n += o === j ? c + Ke : d >= 0 ? (i.push(l), c.slice(0, d) + ge + c.slice(d) + x + f) : c + x + (d === -2 ? a : f);
799
+ for (; u < c.length && (n.lastIndex = u, h = n.exec(c), h !== null); ) u = n.lastIndex, n === j ? h[1] === "!--" ? n = qt : h[1] !== void 0 ? n = Kt : h[2] !== void 0 ? (ge.test(h[2]) && (s = RegExp("</" + h[2], "g")), n = S) : h[3] !== void 0 && (n = S) : n === S ? h[0] === ">" ? (n = s ?? j, d = -1) : h[1] === void 0 ? d = -2 : (d = n.lastIndex - h[2].length, l = h[1], n = h[3] === void 0 ? S : h[3] === '"' ? Gt : Zt) : n === Gt || n === Zt ? n = S : n === qt || n === Kt ? n = j : (n = S, s = void 0);
800
+ const f = n === S && r[a + 1].startsWith("/>") ? " " : "";
801
+ o += n === j ? c + Ye : d >= 0 ? (i.push(l), c.slice(0, d) + pe + c.slice(d) + x + f) : c + x + (d === -2 ? a : f);
822
802
  }
823
- return [ye(r, n + (r[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
803
+ return [me(r, o + (r[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
824
804
  };
825
- let $t = class be {
805
+ let wt = class ve {
826
806
  constructor({ strings: t, _$litType$: e }, i) {
827
807
  let s;
828
808
  this.parts = [];
829
- let n = 0, o = 0;
830
- const a = t.length - 1, c = this.parts, [l, h] = Je(t, e);
831
- if (this.el = be.createElement(l, i), P.currentNode = this.el.content, e === 2 || e === 3) {
809
+ let o = 0, n = 0;
810
+ const a = t.length - 1, c = this.parts, [l, h] = Ze(t, e);
811
+ if (this.el = ve.createElement(l, i), P.currentNode = this.el.content, e === 2 || e === 3) {
832
812
  const d = this.el.content.firstChild;
833
813
  d.replaceWith(...d.childNodes);
834
814
  }
835
815
  for (; (s = P.nextNode()) !== null && c.length < a; ) {
836
816
  if (s.nodeType === 1) {
837
- if (s.hasAttributes()) for (const d of s.getAttributeNames()) if (d.endsWith(ge)) {
838
- const u = h[o++], f = s.getAttribute(d).split(x), g = /([.?@])?(.*)/.exec(u);
839
- c.push({ type: 1, index: n, name: g[2], strings: f, ctor: g[1] === "." ? Qe : g[1] === "?" ? ti : g[1] === "@" ? ei : nt }), s.removeAttribute(d);
840
- } else d.startsWith(x) && (c.push({ type: 6, index: n }), s.removeAttribute(d));
841
- if (ve.test(s.tagName)) {
817
+ if (s.hasAttributes()) for (const d of s.getAttributeNames()) if (d.endsWith(pe)) {
818
+ const u = h[n++], f = s.getAttribute(d).split(x), g = /([.?@])?(.*)/.exec(u);
819
+ c.push({ type: 1, index: o, name: g[2], strings: f, ctor: g[1] === "." ? Je : g[1] === "?" ? Xe : g[1] === "@" ? Qe : ot }), s.removeAttribute(d);
820
+ } else d.startsWith(x) && (c.push({ type: 6, index: o }), s.removeAttribute(d));
821
+ if (ge.test(s.tagName)) {
842
822
  const d = s.textContent.split(x), u = d.length - 1;
843
823
  if (u > 0) {
844
824
  s.textContent = Q ? Q.emptyScript : "";
845
- for (let f = 0; f < u; f++) s.append(d[f], z()), P.nextNode(), c.push({ type: 2, index: ++n });
825
+ for (let f = 0; f < u; f++) s.append(d[f], z()), P.nextNode(), c.push({ type: 2, index: ++o });
846
826
  s.append(d[u], z());
847
827
  }
848
828
  }
849
- } else if (s.nodeType === 8) if (s.data === me) c.push({ type: 2, index: n });
829
+ } else if (s.nodeType === 8) if (s.data === fe) c.push({ type: 2, index: o });
850
830
  else {
851
831
  let d = -1;
852
- for (; (d = s.data.indexOf(x, d + 1)) !== -1; ) c.push({ type: 7, index: n }), d += x.length - 1;
832
+ for (; (d = s.data.indexOf(x, d + 1)) !== -1; ) c.push({ type: 7, index: o }), d += x.length - 1;
853
833
  }
854
- n++;
834
+ o++;
855
835
  }
856
836
  }
857
837
  static createElement(t, e) {
@@ -860,13 +840,13 @@ let $t = class be {
860
840
  }
861
841
  };
862
842
  function R(r, t, e = r, i) {
863
- var o, a;
843
+ var n, a;
864
844
  if (t === I) return t;
865
- let s = i !== void 0 ? (o = e._$Co) == null ? void 0 : o[i] : e._$Cl;
866
- const n = F(t) ? void 0 : t._$litDirective$;
867
- return (s == null ? void 0 : s.constructor) !== n && ((a = s == null ? void 0 : s._$AO) == null || a.call(s, !1), n === void 0 ? s = void 0 : (s = new n(r), s._$AT(r, e, i)), i !== void 0 ? (e._$Co ?? (e._$Co = []))[i] = s : e._$Cl = s), s !== void 0 && (t = R(r, s._$AS(r, t.values), s, i)), t;
845
+ let s = i !== void 0 ? (n = e._$Co) == null ? void 0 : n[i] : e._$Cl;
846
+ const o = F(t) ? void 0 : t._$litDirective$;
847
+ return (s == null ? void 0 : s.constructor) !== o && ((a = s == null ? void 0 : s._$AO) == null || a.call(s, !1), o === void 0 ? s = void 0 : (s = new o(r), s._$AT(r, e, i)), i !== void 0 ? (e._$Co ?? (e._$Co = []))[i] = s : e._$Cl = s), s !== void 0 && (t = R(r, s._$AS(r, t.values), s, i)), t;
868
848
  }
869
- class Xe {
849
+ class Ge {
870
850
  constructor(t, e) {
871
851
  this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
872
852
  }
@@ -879,13 +859,13 @@ class Xe {
879
859
  u(t) {
880
860
  const { el: { content: e }, parts: i } = this._$AD, s = ((t == null ? void 0 : t.creationScope) ?? O).importNode(e, !0);
881
861
  P.currentNode = s;
882
- let n = P.nextNode(), o = 0, a = 0, c = i[0];
862
+ let o = P.nextNode(), n = 0, a = 0, c = i[0];
883
863
  for (; c !== void 0; ) {
884
- if (o === c.index) {
864
+ if (n === c.index) {
885
865
  let l;
886
- c.type === 2 ? l = new q(n, n.nextSibling, this, t) : c.type === 1 ? l = new c.ctor(n, c.name, c.strings, this, t) : c.type === 6 && (l = new ii(n, this, t)), this._$AV.push(l), c = i[++a];
866
+ c.type === 2 ? l = new q(o, o.nextSibling, this, t) : c.type === 1 ? l = new c.ctor(o, c.name, c.strings, this, t) : c.type === 6 && (l = new ti(o, this, t)), this._$AV.push(l), c = i[++a];
887
867
  }
888
- o !== (c == null ? void 0 : c.index) && (n = P.nextNode(), o++);
868
+ n !== (c == null ? void 0 : c.index) && (o = P.nextNode(), n++);
889
869
  }
890
870
  return P.currentNode = O, s;
891
871
  }
@@ -914,7 +894,7 @@ class q {
914
894
  return this._$AB;
915
895
  }
916
896
  _$AI(t, e = this) {
917
- t = R(this, t, e), F(t) ? t === p || t == null || t === "" ? (this._$AH !== p && this._$AR(), this._$AH = p) : t !== this._$AH && t !== I && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Ze(t) ? this.k(t) : this._(t);
897
+ t = R(this, t, e), F(t) ? t === p || t == null || t === "" ? (this._$AH !== p && this._$AR(), this._$AH = p) : t !== this._$AH && t !== I && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : qe(t) ? this.k(t) : this._(t);
918
898
  }
919
899
  O(t) {
920
900
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -926,23 +906,23 @@ class q {
926
906
  this._$AH !== p && F(this._$AH) ? this._$AA.nextSibling.data = t : this.T(O.createTextNode(t)), this._$AH = t;
927
907
  }
928
908
  $(t) {
929
- var n;
930
- const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = $t.createElement(ye(i.h, i.h[0]), this.options)), i);
931
- if (((n = this._$AH) == null ? void 0 : n._$AD) === s) this._$AH.p(e);
909
+ var o;
910
+ const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = wt.createElement(me(i.h, i.h[0]), this.options)), i);
911
+ if (((o = this._$AH) == null ? void 0 : o._$AD) === s) this._$AH.p(e);
932
912
  else {
933
- const o = new Xe(s, this), a = o.u(this.options);
934
- o.p(e), this.T(a), this._$AH = o;
913
+ const n = new Ge(s, this), a = n.u(this.options);
914
+ n.p(e), this.T(a), this._$AH = n;
935
915
  }
936
916
  }
937
917
  _$AC(t) {
938
- let e = Xt.get(t.strings);
939
- return e === void 0 && Xt.set(t.strings, e = new $t(t)), e;
918
+ let e = Jt.get(t.strings);
919
+ return e === void 0 && Jt.set(t.strings, e = new wt(t)), e;
940
920
  }
941
921
  k(t) {
942
- Pt(this._$AH) || (this._$AH = [], this._$AR());
922
+ Et(this._$AH) || (this._$AH = [], this._$AR());
943
923
  const e = this._$AH;
944
924
  let i, s = 0;
945
- for (const n of t) s === e.length ? e.push(i = new q(this.O(z()), this.O(z()), this, this.options)) : i = e[s], i._$AI(n), s++;
925
+ for (const o of t) s === e.length ? e.push(i = new q(this.O(z()), this.O(z()), this, this.options)) : i = e[s], i._$AI(o), s++;
946
926
  s < e.length && (this._$AR(i && i._$AB.nextSibling, s), e.length = s);
947
927
  }
948
928
  _$AR(t = this._$AA.nextSibling, e) {
@@ -957,32 +937,32 @@ class q {
957
937
  this._$AM === void 0 && (this._$Cv = t, (e = this._$AP) == null || e.call(this, t));
958
938
  }
959
939
  }
960
- class nt {
940
+ class ot {
961
941
  get tagName() {
962
942
  return this.element.tagName;
963
943
  }
964
944
  get _$AU() {
965
945
  return this._$AM._$AU;
966
946
  }
967
- constructor(t, e, i, s, n) {
968
- this.type = 1, this._$AH = p, this._$AN = void 0, this.element = t, this.name = e, this._$AM = s, this.options = n, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = p;
947
+ constructor(t, e, i, s, o) {
948
+ this.type = 1, this._$AH = p, this._$AN = void 0, this.element = t, this.name = e, this._$AM = s, this.options = o, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = p;
969
949
  }
970
950
  _$AI(t, e = this, i, s) {
971
- const n = this.strings;
972
- let o = !1;
973
- if (n === void 0) t = R(this, t, e, 0), o = !F(t) || t !== this._$AH && t !== I, o && (this._$AH = t);
951
+ const o = this.strings;
952
+ let n = !1;
953
+ if (o === void 0) t = R(this, t, e, 0), n = !F(t) || t !== this._$AH && t !== I, n && (this._$AH = t);
974
954
  else {
975
955
  const a = t;
976
956
  let c, l;
977
- for (t = n[0], c = 0; c < n.length - 1; c++) l = R(this, a[i + c], e, c), l === I && (l = this._$AH[c]), o || (o = !F(l) || l !== this._$AH[c]), l === p ? t = p : t !== p && (t += (l ?? "") + n[c + 1]), this._$AH[c] = l;
957
+ for (t = o[0], c = 0; c < o.length - 1; c++) l = R(this, a[i + c], e, c), l === I && (l = this._$AH[c]), n || (n = !F(l) || l !== this._$AH[c]), l === p ? t = p : t !== p && (t += (l ?? "") + o[c + 1]), this._$AH[c] = l;
978
958
  }
979
- o && !s && this.j(t);
959
+ n && !s && this.j(t);
980
960
  }
981
961
  j(t) {
982
962
  t === p ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
983
963
  }
984
964
  }
985
- class Qe extends nt {
965
+ class Je extends ot {
986
966
  constructor() {
987
967
  super(...arguments), this.type = 3;
988
968
  }
@@ -990,7 +970,7 @@ class Qe extends nt {
990
970
  this.element[this.name] = t === p ? void 0 : t;
991
971
  }
992
972
  }
993
- class ti extends nt {
973
+ class Xe extends ot {
994
974
  constructor() {
995
975
  super(...arguments), this.type = 4;
996
976
  }
@@ -998,21 +978,21 @@ class ti extends nt {
998
978
  this.element.toggleAttribute(this.name, !!t && t !== p);
999
979
  }
1000
980
  }
1001
- class ei extends nt {
1002
- constructor(t, e, i, s, n) {
1003
- super(t, e, i, s, n), this.type = 5;
981
+ class Qe extends ot {
982
+ constructor(t, e, i, s, o) {
983
+ super(t, e, i, s, o), this.type = 5;
1004
984
  }
1005
985
  _$AI(t, e = this) {
1006
986
  if ((t = R(this, t, e, 0) ?? p) === I) return;
1007
- const i = this._$AH, s = t === p && i !== p || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, n = t !== p && (i === p || s);
1008
- s && this.element.removeEventListener(this.name, this, i), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
987
+ const i = this._$AH, s = t === p && i !== p || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, o = t !== p && (i === p || s);
988
+ s && this.element.removeEventListener(this.name, this, i), o && this.element.addEventListener(this.name, this, t), this._$AH = t;
1009
989
  }
1010
990
  handleEvent(t) {
1011
991
  var e;
1012
992
  typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, t) : this._$AH.handleEvent(t);
1013
993
  }
1014
994
  }
1015
- class ii {
995
+ class ti {
1016
996
  constructor(t, e, i) {
1017
997
  this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
1018
998
  }
@@ -1023,14 +1003,14 @@ class ii {
1023
1003
  R(this, t);
1024
1004
  }
1025
1005
  }
1026
- const lt = B.litHtmlPolyfillSupport;
1027
- lt == null || lt($t, q), (B.litHtmlVersions ?? (B.litHtmlVersions = [])).push("3.2.1");
1028
- const si = (r, t, e) => {
1006
+ const ht = B.litHtmlPolyfillSupport;
1007
+ ht == null || ht(wt, q), (B.litHtmlVersions ?? (B.litHtmlVersions = [])).push("3.2.1");
1008
+ const ei = (r, t, e) => {
1029
1009
  const i = (e == null ? void 0 : e.renderBefore) ?? t;
1030
1010
  let s = i._$litPart$;
1031
1011
  if (s === void 0) {
1032
- const n = (e == null ? void 0 : e.renderBefore) ?? null;
1033
- i._$litPart$ = s = new q(t.insertBefore(z(), n), n, void 0, e ?? {});
1012
+ const o = (e == null ? void 0 : e.renderBefore) ?? null;
1013
+ i._$litPart$ = s = new q(t.insertBefore(z(), o), o, void 0, e ?? {});
1034
1014
  }
1035
1015
  return s._$AI(r), s;
1036
1016
  };
@@ -1039,7 +1019,7 @@ const si = (r, t, e) => {
1039
1019
  * Copyright 2017 Google LLC
1040
1020
  * SPDX-License-Identifier: BSD-3-Clause
1041
1021
  */
1042
- let A = class extends T {
1022
+ let A = class extends k {
1043
1023
  constructor() {
1044
1024
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
1045
1025
  }
@@ -1050,7 +1030,7 @@ let A = class extends T {
1050
1030
  }
1051
1031
  update(t) {
1052
1032
  const e = this.render();
1053
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = si(e, this.renderRoot, this.renderOptions);
1033
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = ei(e, this.renderRoot, this.renderOptions);
1054
1034
  }
1055
1035
  connectedCallback() {
1056
1036
  var t;
@@ -1064,41 +1044,41 @@ let A = class extends T {
1064
1044
  return I;
1065
1045
  }
1066
1046
  };
1067
- var ae;
1068
- A._$litElement$ = !0, A.finalized = !0, (ae = globalThis.litElementHydrateSupport) == null || ae.call(globalThis, { LitElement: A });
1069
- const dt = globalThis.litElementPolyfillSupport;
1070
- dt == null || dt({ LitElement: A });
1047
+ var ne;
1048
+ A._$litElement$ = !0, A.finalized = !0, (ne = globalThis.litElementHydrateSupport) == null || ne.call(globalThis, { LitElement: A });
1049
+ const lt = globalThis.litElementPolyfillSupport;
1050
+ lt == null || lt({ LitElement: A });
1071
1051
  (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.1.1");
1072
1052
  /**
1073
1053
  * @license
1074
1054
  * Copyright 2017 Google LLC
1075
1055
  * SPDX-License-Identifier: BSD-3-Clause
1076
1056
  */
1077
- const ri = { attribute: !0, type: String, converter: X, reflect: !1, hasChanged: Et }, ni = (r = ri, t, e) => {
1057
+ const ii = { attribute: !0, type: String, converter: X, reflect: !1, hasChanged: St }, si = (r = ii, t, e) => {
1078
1058
  const { kind: i, metadata: s } = e;
1079
- let n = globalThis.litPropertyMetadata.get(s);
1080
- if (n === void 0 && globalThis.litPropertyMetadata.set(s, n = /* @__PURE__ */ new Map()), n.set(e.name, r), i === "accessor") {
1081
- const { name: o } = e;
1059
+ let o = globalThis.litPropertyMetadata.get(s);
1060
+ if (o === void 0 && globalThis.litPropertyMetadata.set(s, o = /* @__PURE__ */ new Map()), o.set(e.name, r), i === "accessor") {
1061
+ const { name: n } = e;
1082
1062
  return { set(a) {
1083
1063
  const c = t.get.call(this);
1084
- t.set.call(this, a), this.requestUpdate(o, c, r);
1064
+ t.set.call(this, a), this.requestUpdate(n, c, r);
1085
1065
  }, init(a) {
1086
- return a !== void 0 && this.P(o, void 0, r), a;
1066
+ return a !== void 0 && this.P(n, void 0, r), a;
1087
1067
  } };
1088
1068
  }
1089
1069
  if (i === "setter") {
1090
- const { name: o } = e;
1070
+ const { name: n } = e;
1091
1071
  return function(a) {
1092
- const c = this[o];
1093
- t.call(this, a), this.requestUpdate(o, c, r);
1072
+ const c = this[n];
1073
+ t.call(this, a), this.requestUpdate(n, c, r);
1094
1074
  };
1095
1075
  }
1096
1076
  throw Error("Unsupported decorator location: " + i);
1097
1077
  };
1098
1078
  function m(r) {
1099
- return (t, e) => typeof e == "object" ? ni(r, t, e) : ((i, s, n) => {
1100
- const o = s.hasOwnProperty(n);
1101
- return s.constructor.createProperty(n, o ? { ...i, wrapped: !0 } : i), o ? Object.getOwnPropertyDescriptor(s, n) : void 0;
1079
+ return (t, e) => typeof e == "object" ? si(r, t, e) : ((i, s, o) => {
1080
+ const n = s.hasOwnProperty(o);
1081
+ return s.constructor.createProperty(o, n ? { ...i, wrapped: !0 } : i), n ? Object.getOwnPropertyDescriptor(s, o) : void 0;
1102
1082
  })(r, t, e);
1103
1083
  }
1104
1084
  /**
@@ -1109,10 +1089,10 @@ function m(r) {
1109
1089
  function L(r) {
1110
1090
  return m({ ...r, state: !0, attribute: !1 });
1111
1091
  }
1112
- var oi = Object.defineProperty, ai = (r, t, e, i) => {
1113
- for (var s = void 0, n = r.length - 1, o; n >= 0; n--)
1114
- (o = r[n]) && (s = o(t, e, s) || s);
1115
- return s && oi(t, e, s), s;
1092
+ var ri = Object.defineProperty, oi = (r, t, e, i) => {
1093
+ for (var s = void 0, o = r.length - 1, n; o >= 0; o--)
1094
+ (n = r[o]) && (s = n(t, e, s) || s);
1095
+ return s && ri(t, e, s), s;
1116
1096
  };
1117
1097
  const kt = class kt extends A {
1118
1098
  constructor() {
@@ -1146,7 +1126,7 @@ kt.styles = [
1146
1126
  `
1147
1127
  ];
1148
1128
  let V = kt;
1149
- ai([
1129
+ oi([
1150
1130
  m({ attribute: !0 })
1151
1131
  ], V.prototype, "anchor");
1152
1132
  /**
@@ -1154,8 +1134,8 @@ ai([
1154
1134
  * Copyright 2017 Google LLC
1155
1135
  * SPDX-License-Identifier: BSD-3-Clause
1156
1136
  */
1157
- const Ot = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, It = (r) => (...t) => ({ _$litDirective$: r, values: t });
1158
- let we = class {
1137
+ const Pt = { ATTRIBUTE: 1, CHILD: 2 }, Ot = (r) => (...t) => ({ _$litDirective$: r, values: t });
1138
+ let ye = class {
1159
1139
  constructor(t) {
1160
1140
  }
1161
1141
  get _$AU() {
@@ -1176,7 +1156,7 @@ let we = class {
1176
1156
  * Copyright 2020 Google LLC
1177
1157
  * SPDX-License-Identifier: BSD-3-Clause
1178
1158
  */
1179
- const ci = (r) => r.strings === void 0;
1159
+ const ni = (r) => r.strings === void 0;
1180
1160
  /**
1181
1161
  * @license
1182
1162
  * Copyright 2017 Google LLC
@@ -1194,39 +1174,39 @@ const D = (r, t) => {
1194
1174
  if ((t = r._$AM) === void 0) break;
1195
1175
  e = t._$AN, e.delete(r), r = t;
1196
1176
  } while ((e == null ? void 0 : e.size) === 0);
1197
- }, $e = (r) => {
1177
+ }, be = (r) => {
1198
1178
  for (let t; t = r._$AM; r = t) {
1199
1179
  let e = t._$AN;
1200
1180
  if (e === void 0) t._$AN = e = /* @__PURE__ */ new Set();
1201
1181
  else if (e.has(r)) break;
1202
- e.add(r), di(t);
1182
+ e.add(r), hi(t);
1203
1183
  }
1204
1184
  };
1205
- function hi(r) {
1206
- this._$AN !== void 0 ? (tt(this), this._$AM = r, $e(this)) : this._$AM = r;
1185
+ function ai(r) {
1186
+ this._$AN !== void 0 ? (tt(this), this._$AM = r, be(this)) : this._$AM = r;
1207
1187
  }
1208
- function li(r, t = !1, e = 0) {
1188
+ function ci(r, t = !1, e = 0) {
1209
1189
  const i = this._$AH, s = this._$AN;
1210
- if (s !== void 0 && s.size !== 0) if (t) if (Array.isArray(i)) for (let n = e; n < i.length; n++) D(i[n], !1), tt(i[n]);
1190
+ if (s !== void 0 && s.size !== 0) if (t) if (Array.isArray(i)) for (let o = e; o < i.length; o++) D(i[o], !1), tt(i[o]);
1211
1191
  else i != null && (D(i, !1), tt(i));
1212
1192
  else D(this, r);
1213
1193
  }
1214
- const di = (r) => {
1215
- r.type == Ot.CHILD && (r._$AP ?? (r._$AP = li), r._$AQ ?? (r._$AQ = hi));
1194
+ const hi = (r) => {
1195
+ r.type == Pt.CHILD && (r._$AP ?? (r._$AP = ci), r._$AQ ?? (r._$AQ = ai));
1216
1196
  };
1217
- class _e extends we {
1197
+ class we extends ye {
1218
1198
  constructor() {
1219
1199
  super(...arguments), this._$AN = void 0;
1220
1200
  }
1221
1201
  _$AT(t, e, i) {
1222
- super._$AT(t, e, i), $e(this), this.isConnected = t._$AU;
1202
+ super._$AT(t, e, i), be(this), this.isConnected = t._$AU;
1223
1203
  }
1224
1204
  _$AO(t, e = !0) {
1225
1205
  var i, s;
1226
1206
  t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (s = this.disconnected) == null || s.call(this)), e && (D(this, t), tt(this));
1227
1207
  }
1228
1208
  setValue(t) {
1229
- if (ci(this._$Ct)) this._$Ct._$AI(t, this);
1209
+ if (ni(this._$Ct)) this._$Ct._$AI(t, this);
1230
1210
  else {
1231
1211
  const e = [...this._$Ct._$AH];
1232
1212
  e[this._$Ci] = t, this._$Ct._$AI(e, this, 0);
@@ -1237,34 +1217,34 @@ class _e extends we {
1237
1217
  reconnected() {
1238
1218
  }
1239
1219
  }
1240
- const ui = /* @__PURE__ */ new WeakMap();
1241
- let Qt = 0;
1242
- const ut = /* @__PURE__ */ new Map(), te = /* @__PURE__ */ new WeakSet(), ee = () => new Promise((r) => requestAnimationFrame(r)), pi = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], ie = (r, t) => {
1220
+ const li = /* @__PURE__ */ new WeakMap();
1221
+ let Xt = 0;
1222
+ const dt = /* @__PURE__ */ new Map(), Qt = /* @__PURE__ */ new WeakSet(), te = () => new Promise((r) => requestAnimationFrame(r)), di = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], ee = (r, t) => {
1243
1223
  const e = r - t;
1244
1224
  return e === 0 ? void 0 : e;
1245
- }, se = (r, t) => {
1225
+ }, ie = (r, t) => {
1246
1226
  const e = r / t;
1247
1227
  return e === 1 ? void 0 : e;
1248
- }, pt = { left: (r, t) => {
1249
- const e = ie(r, t);
1228
+ }, ut = { left: (r, t) => {
1229
+ const e = ee(r, t);
1250
1230
  return { value: e, transform: e == null || isNaN(e) ? void 0 : `translateX(${e}px)` };
1251
1231
  }, top: (r, t) => {
1252
- const e = ie(r, t);
1232
+ const e = ee(r, t);
1253
1233
  return { value: e, transform: e == null || isNaN(e) ? void 0 : `translateY(${e}px)` };
1254
1234
  }, width: (r, t) => {
1255
1235
  let e;
1256
1236
  t === 0 && (t = 1, e = { width: "1px" });
1257
- const i = se(r, t);
1237
+ const i = ie(r, t);
1258
1238
  return { value: i, overrideFrom: e, transform: i == null || isNaN(i) ? void 0 : `scaleX(${i})` };
1259
1239
  }, height: (r, t) => {
1260
1240
  let e;
1261
1241
  t === 0 && (t = 1, e = { height: "1px" });
1262
- const i = se(r, t);
1242
+ const i = ie(r, t);
1263
1243
  return { value: i, overrideFrom: e, transform: i == null || isNaN(i) ? void 0 : `scaleY(${i})` };
1264
- } }, fi = { duration: 333, easing: "ease-in-out" }, gi = ["left", "top", "width", "height", "opacity", "color", "background"], re = /* @__PURE__ */ new WeakMap();
1265
- class mi extends _e {
1244
+ } }, ui = { duration: 333, easing: "ease-in-out" }, pi = ["left", "top", "width", "height", "opacity", "color", "background"], se = /* @__PURE__ */ new WeakMap();
1245
+ class fi extends we {
1266
1246
  constructor(t) {
1267
- if (super(t), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, t.type === Ot.CHILD) throw Error("The `animate` directive must be used in attribute position.");
1247
+ if (super(t), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, t.type === Pt.CHILD) throw Error("The `animate` directive must be used in attribute position.");
1268
1248
  this.createFinished();
1269
1249
  }
1270
1250
  createFinished() {
@@ -1281,7 +1261,7 @@ class mi extends _e {
1281
1261
  return p;
1282
1262
  }
1283
1263
  getController() {
1284
- return ui.get(this.u);
1264
+ return li.get(this.u);
1285
1265
  }
1286
1266
  isDisabled() {
1287
1267
  var t;
@@ -1290,25 +1270,25 @@ class mi extends _e {
1290
1270
  update(t, [e]) {
1291
1271
  var s;
1292
1272
  const i = this.u === void 0;
1293
- return i && (this.u = (s = t.options) == null ? void 0 : s.host, this.u.addController(this), this.u.updateComplete.then((n) => this.t = !0), this.element = t.element, re.set(this.element, this)), this.optionsOrCallback = e, (i || typeof e != "function") && this.p(e), this.render(e);
1273
+ return i && (this.u = (s = t.options) == null ? void 0 : s.host, this.u.addController(this), this.u.updateComplete.then((o) => this.t = !0), this.element = t.element, se.set(this.element, this)), this.optionsOrCallback = e, (i || typeof e != "function") && this.p(e), this.render(e);
1294
1274
  }
1295
1275
  p(t) {
1296
1276
  t = t ?? {};
1297
1277
  const e = this.getController();
1298
- e !== void 0 && ((t = { ...e.defaultOptions, ...t }).keyframeOptions = { ...e.defaultOptions.keyframeOptions, ...t.keyframeOptions }), t.properties ?? (t.properties = gi), this.options = t;
1278
+ e !== void 0 && ((t = { ...e.defaultOptions, ...t }).keyframeOptions = { ...e.defaultOptions.keyframeOptions, ...t.keyframeOptions }), t.properties ?? (t.properties = pi), this.options = t;
1299
1279
  }
1300
1280
  m() {
1301
1281
  const t = {}, e = this.element.getBoundingClientRect(), i = getComputedStyle(this.element);
1302
1282
  return this.options.properties.forEach((s) => {
1303
- const n = e[s] ?? (pt[s] ? void 0 : i[s]), o = Number(n);
1304
- t[s] = isNaN(o) ? n + "" : o;
1283
+ const o = e[s] ?? (ut[s] ? void 0 : i[s]), n = Number(o);
1284
+ t[s] = isNaN(n) ? o + "" : n;
1305
1285
  }), t;
1306
1286
  }
1307
1287
  v() {
1308
1288
  let t, e = !0;
1309
1289
  return this.options.guard && (t = this.options.guard(), e = ((i, s) => {
1310
1290
  if (Array.isArray(i)) {
1311
- if (Array.isArray(s) && s.length === i.length && i.every((n, o) => n === s[o])) return !1;
1291
+ if (Array.isArray(s) && s.length === i.length && i.every((o, n) => o === s[n])) return !1;
1312
1292
  } else if (s === i) return !1;
1313
1293
  return !0;
1314
1294
  })(t, this._)), this.h = this.t && !this.isDisabled() && !this.isAnimating() && e && this.element.isConnected, this.h && (this._ = Array.isArray(t) ? Array.from(t) : t), this.h;
@@ -1319,17 +1299,17 @@ class mi extends _e {
1319
1299
  async hostUpdated() {
1320
1300
  if (!this.h || !this.element.isConnected || this.options.skipInitial && !this.isHostRendered) return;
1321
1301
  let t;
1322
- this.prepare(), await ee;
1302
+ this.prepare(), await te;
1323
1303
  const e = this.O(), i = this.j(this.options.keyframeOptions, e), s = this.m();
1324
1304
  if (this.A !== void 0) {
1325
- const { from: n, to: o } = this.N(this.A, s, e);
1326
- this.log("measured", [this.A, s, n, o]), t = this.calculateKeyframes(n, o);
1305
+ const { from: o, to: n } = this.N(this.A, s, e);
1306
+ this.log("measured", [this.A, s, o, n]), t = this.calculateKeyframes(o, n);
1327
1307
  } else {
1328
- const n = ut.get(this.options.inId);
1329
- if (n) {
1330
- ut.delete(this.options.inId);
1331
- const { from: o, to: a } = this.N(n, s, e);
1332
- t = this.calculateKeyframes(o, a), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t, Qt++, t.forEach((c) => c.zIndex = Qt);
1308
+ const o = dt.get(this.options.inId);
1309
+ if (o) {
1310
+ dt.delete(this.options.inId);
1311
+ const { from: n, to: a } = this.N(o, s, e);
1312
+ t = this.calculateKeyframes(n, a), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t, Xt++, t.forEach((c) => c.zIndex = Xt);
1333
1313
  } else this.options.in && (t = [...this.options.in, {}]);
1334
1314
  }
1335
1315
  this.animate(t, i);
@@ -1345,14 +1325,14 @@ class mi extends _e {
1345
1325
  }
1346
1326
  async disconnected() {
1347
1327
  var e;
1348
- if (!this.h || (this.options.id !== void 0 && ut.set(this.options.id, this.A), this.options.out === void 0)) return;
1349
- if (this.prepare(), await ee(), (e = this.i) == null ? void 0 : e.isConnected) {
1328
+ if (!this.h || (this.options.id !== void 0 && dt.set(this.options.id, this.A), this.options.out === void 0)) return;
1329
+ if (this.prepare(), await te(), (e = this.i) == null ? void 0 : e.isConnected) {
1350
1330
  const i = this.o && this.o.parentNode === this.i ? this.o : null;
1351
1331
  if (this.i.insertBefore(this.element, i), this.options.stabilizeOut) {
1352
1332
  const s = this.m();
1353
1333
  this.log("stabilizing out");
1354
- const n = this.A.left - s.left, o = this.A.top - s.top;
1355
- getComputedStyle(this.element).position !== "static" || n === 0 && o === 0 || (this.element.style.position = "relative"), n !== 0 && (this.element.style.left = n + "px"), o !== 0 && (this.element.style.top = o + "px");
1334
+ const o = this.A.left - s.left, n = this.A.top - s.top;
1335
+ getComputedStyle(this.element).position !== "static" || o === 0 && n === 0 || (this.element.style.position = "relative"), o !== 0 && (this.element.style.left = o + "px"), n !== 0 && (this.element.style.top = n + "px");
1356
1336
  }
1357
1337
  }
1358
1338
  const t = this.j(this.options.keyframeOptions);
@@ -1372,43 +1352,43 @@ class mi extends _e {
1372
1352
  O() {
1373
1353
  const t = [];
1374
1354
  for (let e = this.element.parentNode; e; e = e == null ? void 0 : e.parentNode) {
1375
- const i = re.get(e);
1355
+ const i = se.get(e);
1376
1356
  i && !i.isDisabled() && i && t.push(i);
1377
1357
  }
1378
1358
  return t;
1379
1359
  }
1380
1360
  get isHostRendered() {
1381
- const t = te.has(this.u);
1361
+ const t = Qt.has(this.u);
1382
1362
  return t || this.u.updateComplete.then(() => {
1383
- te.add(this.u);
1363
+ Qt.add(this.u);
1384
1364
  }), t;
1385
1365
  }
1386
1366
  j(t, e = this.O()) {
1387
- const i = { ...fi };
1367
+ const i = { ...ui };
1388
1368
  return e.forEach((s) => Object.assign(i, s.options.keyframeOptions)), Object.assign(i, t), i;
1389
1369
  }
1390
1370
  N(t, e, i) {
1391
1371
  t = { ...t }, e = { ...e };
1392
1372
  const s = i.map((a) => a.animatingProperties).filter((a) => a !== void 0);
1393
- let n = 1, o = 1;
1373
+ let o = 1, n = 1;
1394
1374
  return s.length > 0 && (s.forEach((a) => {
1395
- a.width && (n /= a.width), a.height && (o /= a.height);
1396
- }), t.left !== void 0 && e.left !== void 0 && (t.left = n * t.left, e.left = n * e.left), t.top !== void 0 && e.top !== void 0 && (t.top = o * t.top, e.top = o * e.top)), { from: t, to: e };
1375
+ a.width && (o /= a.width), a.height && (n /= a.height);
1376
+ }), t.left !== void 0 && e.left !== void 0 && (t.left = o * t.left, e.left = o * e.left), t.top !== void 0 && e.top !== void 0 && (t.top = n * t.top, e.top = n * e.top)), { from: t, to: e };
1397
1377
  }
1398
1378
  calculateKeyframes(t, e, i = !1) {
1399
- const s = {}, n = {};
1400
- let o = !1;
1379
+ const s = {}, o = {};
1380
+ let n = !1;
1401
1381
  const a = {};
1402
1382
  for (const c in e) {
1403
1383
  const l = t[c], h = e[c];
1404
- if (c in pt) {
1405
- const d = pt[c];
1384
+ if (c in ut) {
1385
+ const d = ut[c];
1406
1386
  if (l === void 0 || h === void 0) continue;
1407
1387
  const u = d(l, h);
1408
- u.transform !== void 0 && (a[c] = u.value, o = !0, s.transform = `${s.transform ?? ""} ${u.transform}`, u.overrideFrom !== void 0 && Object.assign(s, u.overrideFrom));
1409
- } else l !== h && l !== void 0 && h !== void 0 && (o = !0, s[c] = l, n[c] = h);
1388
+ u.transform !== void 0 && (a[c] = u.value, n = !0, s.transform = `${s.transform ?? ""} ${u.transform}`, u.overrideFrom !== void 0 && Object.assign(s, u.overrideFrom));
1389
+ } else l !== h && l !== void 0 && h !== void 0 && (n = !0, s[c] = l, o[c] = h);
1410
1390
  }
1411
- return s.transformOrigin = n.transformOrigin = i ? "center center" : "top left", this.animatingProperties = a, o ? [s, n] : void 0;
1391
+ return s.transformOrigin = o.transformOrigin = i ? "center center" : "top left", this.animatingProperties = a, n ? [s, o] : void 0;
1412
1392
  }
1413
1393
  async animate(t, e = this.options.keyframeOptions) {
1414
1394
  this.start(), this.frames = t;
@@ -1433,16 +1413,16 @@ class mi extends _e {
1433
1413
  this.shouldLog && !this.isDisabled() && console.log(t, this.options.id, e);
1434
1414
  }
1435
1415
  }
1436
- const vi = It(mi), yi = { name: "question", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 4C16.536 4 4 16.536 4 32C4 47.464 16.536 60 32 60C47.464 60 60 47.464 60 32C59.9827 16.5432 47.4568 4.01731 32 4ZM32 55.6923C18.9151 55.6923 8.30769 45.0849 8.30769 32C8.30769 18.9151 18.9151 8.30769 32 8.30769C45.0849 8.30769 55.6923 18.9151 55.6923 32C55.6775 45.0788 45.0788 55.6775 32 55.6923Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M31.9423 37.5723L36.311 32.9068L36.7354 32.4448C39.7555 29.1161 40.7645 27.0647 40.7645 24.5087C40.7645 23.1091 40.4251 21.7942 39.7041 20.6491C38.3044 18.3587 35.6323 16.9166 32.2816 16.9166C28.7565 16.9166 25.3125 18.7414 23.2581 21.6772L23.1201 21.8791C22.8232 22.3032 22.696 22.6849 22.696 22.9818C22.696 23.7029 23.926 25.9932 25.2833 25.9932C25.5378 25.9932 25.7922 25.9084 26.0467 25.7388C26.2588 25.5691 26.5981 25.2298 27.0647 24.7208C28.8885 22.6849 30.1185 21.9215 31.7726 21.9215C33.6813 21.9215 35.081 23.1939 35.081 24.8905C35.081 26.375 34.2751 27.7746 32.3664 29.8529L28.2523 34.2216C27.9554 34.6033 27.7857 34.9426 27.7857 35.282C27.7857 35.6213 27.9978 36.1726 28.4219 36.8937C29.0581 37.8692 29.7368 38.3782 30.4578 38.3782C30.9244 38.3782 31.3909 38.1237 31.9423 37.5723ZM30.882 47.4972C29.2278 47.4972 27.6585 44.7403 27.6585 43.6799C27.6585 42.1954 30.0761 40.6261 32.4089 40.6261C33.6389 40.6261 34.2751 41.1775 34.2751 42.3227C34.2751 44.0616 33.4692 45.843 32.4513 46.7761C31.9423 47.2427 31.4334 47.4972 30.882 47.4972Z"/></svg>' };
1416
+ const gi = Ot(fi), mi = { name: "question", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 4C16.536 4 4 16.536 4 32C4 47.464 16.536 60 32 60C47.464 60 60 47.464 60 32C59.9827 16.5432 47.4568 4.01731 32 4ZM32 55.6923C18.9151 55.6923 8.30769 45.0849 8.30769 32C8.30769 18.9151 18.9151 8.30769 32 8.30769C45.0849 8.30769 55.6923 18.9151 55.6923 32C55.6775 45.0788 45.0788 55.6775 32 55.6923Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M31.9423 37.5723L36.311 32.9068L36.7354 32.4448C39.7555 29.1161 40.7645 27.0647 40.7645 24.5087C40.7645 23.1091 40.4251 21.7942 39.7041 20.6491C38.3044 18.3587 35.6323 16.9166 32.2816 16.9166C28.7565 16.9166 25.3125 18.7414 23.2581 21.6772L23.1201 21.8791C22.8232 22.3032 22.696 22.6849 22.696 22.9818C22.696 23.7029 23.926 25.9932 25.2833 25.9932C25.5378 25.9932 25.7922 25.9084 26.0467 25.7388C26.2588 25.5691 26.5981 25.2298 27.0647 24.7208C28.8885 22.6849 30.1185 21.9215 31.7726 21.9215C33.6813 21.9215 35.081 23.1939 35.081 24.8905C35.081 26.375 34.2751 27.7746 32.3664 29.8529L28.2523 34.2216C27.9554 34.6033 27.7857 34.9426 27.7857 35.282C27.7857 35.6213 27.9978 36.1726 28.4219 36.8937C29.0581 37.8692 29.7368 38.3782 30.4578 38.3782C30.9244 38.3782 31.3909 38.1237 31.9423 37.5723ZM30.882 47.4972C29.2278 47.4972 27.6585 44.7403 27.6585 43.6799C27.6585 42.1954 30.0761 40.6261 32.4089 40.6261C33.6389 40.6261 34.2751 41.1775 34.2751 42.3227C34.2751 44.0616 33.4692 45.843 32.4513 46.7761C31.9423 47.2427 31.4334 47.4972 30.882 47.4972Z"/></svg>' };
1437
1417
  /**
1438
1418
  * @license
1439
1419
  * Copyright 2018 Google LLC
1440
1420
  * SPDX-License-Identifier: BSD-3-Clause
1441
1421
  */
1442
- const ne = It(class extends we {
1422
+ const re = Ot(class extends ye {
1443
1423
  constructor(r) {
1444
1424
  var t;
1445
- if (super(r), r.type !== Ot.ATTRIBUTE || r.name !== "class" || ((t = r.strings) == null ? void 0 : t.length) > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
1425
+ if (super(r), r.type !== Pt.ATTRIBUTE || r.name !== "class" || ((t = r.strings) == null ? void 0 : t.length) > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
1446
1426
  }
1447
1427
  render(r) {
1448
1428
  return " " + Object.keys(r).filter((t) => r[t]).join(" ") + " ";
@@ -1450,22 +1430,22 @@ const ne = It(class extends we {
1450
1430
  update(r, [t]) {
1451
1431
  var i, s;
1452
1432
  if (this.st === void 0) {
1453
- this.st = /* @__PURE__ */ new Set(), r.strings !== void 0 && (this.nt = new Set(r.strings.join(" ").split(/\s/).filter((n) => n !== "")));
1454
- for (const n in t) t[n] && !((i = this.nt) != null && i.has(n)) && this.st.add(n);
1433
+ this.st = /* @__PURE__ */ new Set(), r.strings !== void 0 && (this.nt = new Set(r.strings.join(" ").split(/\s/).filter((o) => o !== "")));
1434
+ for (const o in t) t[o] && !((i = this.nt) != null && i.has(o)) && this.st.add(o);
1455
1435
  return this.render(t);
1456
1436
  }
1457
1437
  const e = r.element.classList;
1458
- for (const n of this.st) n in t || (e.remove(n), this.st.delete(n));
1459
- for (const n in t) {
1460
- const o = !!t[n];
1461
- o === this.st.has(n) || (s = this.nt) != null && s.has(n) || (o ? (e.add(n), this.st.add(n)) : (e.remove(n), this.st.delete(n)));
1438
+ for (const o of this.st) o in t || (e.remove(o), this.st.delete(o));
1439
+ for (const o in t) {
1440
+ const n = !!t[o];
1441
+ n === this.st.has(o) || (s = this.nt) != null && s.has(o) || (n ? (e.add(o), this.st.add(o)) : (e.remove(o), this.st.delete(o)));
1462
1442
  }
1463
1443
  return I;
1464
1444
  }
1465
1445
  }), w = (r, t, e) => {
1466
1446
  r && e.style.setProperty(t, r);
1467
- }, Ae = (r, t) => {
1468
- var e, i, s, n, o, a, c, l, h;
1447
+ }, $e = (r, t) => {
1448
+ var e, i, s, o, n, a, c, l, h;
1469
1449
  w((e = r.colors) == null ? void 0 : e.primaryBackground, "--primary-background", t), w(
1470
1450
  (i = r.colors) == null ? void 0 : i.textOnPrimaryBackground,
1471
1451
  "--text-on-primary-background",
@@ -1475,11 +1455,11 @@ const ne = It(class extends we {
1475
1455
  "--secondary-background",
1476
1456
  t
1477
1457
  ), w(
1478
- (n = r.colors) == null ? void 0 : n.textOnSecondaryBackground,
1458
+ (o = r.colors) == null ? void 0 : o.textOnSecondaryBackground,
1479
1459
  "--text-on-secondary-background",
1480
1460
  t
1481
1461
  ), w(
1482
- (o = r.colors) == null ? void 0 : o.interactiveDestructiveBackground,
1462
+ (n = r.colors) == null ? void 0 : n.interactiveDestructiveBackground,
1483
1463
  "--destructive-color",
1484
1464
  t
1485
1465
  ), w(
@@ -1501,10 +1481,10 @@ const ne = It(class extends we {
1501
1481
  * Copyright 2020 Google LLC
1502
1482
  * SPDX-License-Identifier: BSD-3-Clause
1503
1483
  */
1504
- const xe = () => new bi();
1505
- class bi {
1484
+ const _e = () => new vi();
1485
+ class vi {
1506
1486
  }
1507
- const ft = /* @__PURE__ */ new WeakMap(), Ce = It(class extends _e {
1487
+ const pt = /* @__PURE__ */ new WeakMap(), Ae = Ot(class extends we {
1508
1488
  render(r) {
1509
1489
  return p;
1510
1490
  }
@@ -1516,13 +1496,13 @@ const ft = /* @__PURE__ */ new WeakMap(), Ce = It(class extends _e {
1516
1496
  rt(r) {
1517
1497
  if (this.isConnected || (r = void 0), typeof this.Y == "function") {
1518
1498
  const t = this.ht ?? globalThis;
1519
- let e = ft.get(t);
1520
- 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, r), r !== void 0 && this.Y.call(this.ht, r);
1499
+ let e = pt.get(t);
1500
+ e === void 0 && (e = /* @__PURE__ */ new WeakMap(), pt.set(t, e)), e.get(this.Y) !== void 0 && this.Y.call(this.ht, void 0), e.set(this.Y, r), r !== void 0 && this.Y.call(this.ht, r);
1521
1501
  } else this.Y.value = r;
1522
1502
  }
1523
1503
  get lt() {
1524
1504
  var r, t;
1525
- return typeof this.Y == "function" ? (r = ft.get(this.ht ?? globalThis)) == null ? void 0 : r.get(this.Y) : (t = this.Y) == null ? void 0 : t.value;
1505
+ return typeof this.Y == "function" ? (r = pt.get(this.ht ?? globalThis)) == null ? void 0 : r.get(this.Y) : (t = this.Y) == null ? void 0 : t.value;
1526
1506
  }
1527
1507
  disconnected() {
1528
1508
  this.lt === this.ct && this.rt(void 0);
@@ -1531,14 +1511,14 @@ const ft = /* @__PURE__ */ new WeakMap(), Ce = It(class extends _e {
1531
1511
  this.rt(this.ct);
1532
1512
  }
1533
1513
  });
1534
- var wi = Object.defineProperty, K = (r, t, e, i) => {
1535
- for (var s = void 0, n = r.length - 1, o; n >= 0; n--)
1536
- (o = r[n]) && (s = o(t, e, s) || s);
1537
- return s && wi(t, e, s), s;
1514
+ var yi = Object.defineProperty, K = (r, t, e, i) => {
1515
+ for (var s = void 0, o = r.length - 1, n; o >= 0; o--)
1516
+ (n = r[o]) && (s = n(t, e, s) || s);
1517
+ return s && yi(t, e, s), s;
1538
1518
  };
1539
- const Rt = class Rt extends A {
1519
+ const Tt = class Tt extends A {
1540
1520
  constructor() {
1541
- super(...arguments), this.active = !1, this.triggerVisible = !0, this.loaded = !1, this.containerRef = xe(), this.widgetActive$ = new xt(!1), this.componentIsDestroyed$ = new At();
1521
+ super(...arguments), this.active = !1, this.triggerVisible = !0, this.loaded = !1, this.containerRef = _e(), this.widgetActive$ = new At(!1), this.componentIsDestroyed$ = new _t();
1542
1522
  }
1543
1523
  async connectedCallback() {
1544
1524
  super.connectedCallback(), this.icon = await this._renderSymbol(), this.loaded = !0, this._applyBranding();
@@ -1573,21 +1553,21 @@ const Rt = class Rt extends A {
1573
1553
  }
1574
1554
  _applyBranding() {
1575
1555
  var t;
1576
- (t = this.application) != null && t.settings && Ae(this.application.settings.branding, this);
1556
+ (t = this.application) != null && t.settings && $e(this.application.settings.branding, this);
1577
1557
  }
1578
1558
  async _renderSymbol() {
1579
1559
  var a, c, l;
1580
1560
  const t = (a = this.application) == null ? void 0 : a.branding(), e = (c = t == null ? void 0 : t.graphics) == null ? void 0 : c.trigger;
1581
1561
  if (e)
1582
- return k` <img src=${e} class="trigger-icon" alt="" /> `;
1562
+ return T` <img src=${e} class="trigger-icon" alt="" /> `;
1583
1563
  const i = (l = this.application) == null ? void 0 : l.triggerIcon;
1584
1564
  if (!i)
1585
1565
  return p;
1586
- const s = async (h) => yi, { type: n, content: o } = i;
1587
- switch (n) {
1566
+ const s = async (h) => mi, { type: o, content: n } = i;
1567
+ switch (o) {
1588
1568
  case "Telia": {
1589
1569
  const h = await s();
1590
- return h ? k`<telia-icon
1570
+ return h ? T`<telia-icon
1591
1571
  class="trigger-icon"
1592
1572
  svg=${h.svg}
1593
1573
  size="lg"
@@ -1605,21 +1585,21 @@ const Rt = class Rt extends A {
1605
1585
  }
1606
1586
  render() {
1607
1587
  var t, e, i, s;
1608
- return k`<div
1609
- class=${ne({
1588
+ return T`<div
1589
+ class=${re({
1610
1590
  "trigger-container": !0,
1611
1591
  hidden: !this.triggerVisible
1612
1592
  })}
1613
- ${Ce(this.containerRef)}
1593
+ ${Ae(this.containerRef)}
1614
1594
  >
1615
- ${!this.active && ((s = (i = (e = (t = this.application) == null ? void 0 : t.settings) == null ? void 0 : e.branding) == null ? void 0 : i.other) != null && s.showButtonLabel) ? k`
1595
+ ${!this.active && ((s = (i = (e = (t = this.application) == null ? void 0 : t.settings) == null ? void 0 : e.branding) == null ? void 0 : i.other) != null && s.showButtonLabel) ? T`
1616
1596
  <button
1617
1597
  label="${this.application.settings.branding.other.buttonLabelText ?? "Widget trigger"}"
1618
1598
  class="trigger-label"
1619
1599
  @click=${this.toggleActive}
1620
- ${vi({
1600
+ ${gi({
1621
1601
  keyframeOptions: {},
1622
- in: pi,
1602
+ in: di,
1623
1603
  stabilizeOut: !0,
1624
1604
  skipInitial: !1
1625
1605
  })}
@@ -1630,7 +1610,7 @@ const Rt = class Rt extends A {
1630
1610
 
1631
1611
  <button
1632
1612
  label="Widget trigger"
1633
- class=${ne({
1613
+ class=${re({
1634
1614
  trigger: !0,
1635
1615
  active: this.active,
1636
1616
  rendered: this.loaded
@@ -1669,7 +1649,7 @@ const Rt = class Rt extends A {
1669
1649
  </div>`;
1670
1650
  }
1671
1651
  };
1672
- Rt.styles = [
1652
+ Tt.styles = [
1673
1653
  U`
1674
1654
  :host {
1675
1655
  --voca-rem-multiplier: 0.625;
@@ -1801,7 +1781,7 @@ Rt.styles = [
1801
1781
  }
1802
1782
  `
1803
1783
  ];
1804
- let b = Rt;
1784
+ let b = Tt;
1805
1785
  K([
1806
1786
  m({ attribute: !1 })
1807
1787
  ], b.prototype, "application");
@@ -1817,12 +1797,12 @@ K([
1817
1797
  K([
1818
1798
  L()
1819
1799
  ], b.prototype, "icon");
1820
- var $i = Object.defineProperty, E = (r, t, e, i) => {
1821
- for (var s = void 0, n = r.length - 1, o; n >= 0; n--)
1822
- (o = r[n]) && (s = o(t, e, s) || s);
1823
- return s && $i(t, e, s), s;
1800
+ var bi = Object.defineProperty, E = (r, t, e, i) => {
1801
+ for (var s = void 0, o = r.length - 1, n; o >= 0; o--)
1802
+ (n = r[o]) && (s = n(t, e, s) || s);
1803
+ return s && bi(t, e, s), s;
1824
1804
  };
1825
- const _i = (r) => {
1805
+ const wi = (r) => {
1826
1806
  const e = class e extends r {
1827
1807
  constructor() {
1828
1808
  super(...arguments), this.properties = {}, this.context = {}, this.layout = {}, this.nodes = [];
@@ -1878,25 +1858,25 @@ const _i = (r) => {
1878
1858
  ], t.prototype, "application"), E([
1879
1859
  m({ attribute: !1 })
1880
1860
  ], t.prototype, "parent"), t;
1881
- }, Mt = class Mt extends _i(A) {
1861
+ }, Rt = class Rt extends wi(A) {
1882
1862
  render() {
1883
- return k`Non resolved component`;
1863
+ return T`Non resolved component`;
1884
1864
  }
1885
1865
  };
1886
- Mt.styles = [
1866
+ Rt.styles = [
1887
1867
  U`
1888
1868
  :host {
1889
1869
  display: block;
1890
1870
  }
1891
1871
  `
1892
1872
  ];
1893
- let et = Mt;
1873
+ let et = Rt;
1894
1874
  /**
1895
1875
  * @license
1896
1876
  * Copyright 2021 Google LLC
1897
1877
  * SPDX-License-Identifier: BSD-3-Clause
1898
1878
  */
1899
- function* Ai(r, t) {
1879
+ function* $i(r, t) {
1900
1880
  if (r !== void 0) {
1901
1881
  let e = 0;
1902
1882
  for (const i of r) yield t(i, e++);
@@ -1908,7 +1888,7 @@ var $ = /* @__PURE__ */ ((r) => (r.Inline = "inline", r.Trigger = "trigger", r))
1908
1888
  * Copyright 2021 Google LLC
1909
1889
  * SPDX-License-Identifier: BSD-3-Clause
1910
1890
  */
1911
- let xi = class extends Event {
1891
+ let _i = class extends Event {
1912
1892
  constructor(t, e, i) {
1913
1893
  super("context-request", { bubbles: !0, composed: !0 }), this.context = t, this.callback = e, this.subscribe = i ?? !1;
1914
1894
  }
@@ -1923,7 +1903,7 @@ let xi = class extends Event {
1923
1903
  * Copyright 2021 Google LLC
1924
1904
  * SPDX-License-Identifier: BSD-3-Clause
1925
1905
  */
1926
- class Ci {
1906
+ class Ai {
1927
1907
  get value() {
1928
1908
  return this.o;
1929
1909
  }
@@ -1956,30 +1936,30 @@ class Ci {
1956
1936
  * Copyright 2021 Google LLC
1957
1937
  * SPDX-License-Identifier: BSD-3-Clause
1958
1938
  */
1959
- let Si = class extends Event {
1939
+ let xi = class extends Event {
1960
1940
  constructor(t) {
1961
1941
  super("context-provider", { bubbles: !0, composed: !0 }), this.context = t;
1962
1942
  }
1963
1943
  };
1964
- class oe extends Ci {
1944
+ class oe extends Ai {
1965
1945
  constructor(t, e, i) {
1966
- var s, n;
1967
- super(e.context !== void 0 ? e.initialValue : i), this.onContextRequest = (o) => {
1968
- const a = o.composedPath()[0];
1969
- o.context === this.context && a !== this.host && (o.stopPropagation(), this.addCallback(o.callback, a, o.subscribe));
1970
- }, this.onProviderRequest = (o) => {
1971
- const a = o.composedPath()[0];
1972
- if (o.context !== this.context || a === this.host) return;
1946
+ var s, o;
1947
+ super(e.context !== void 0 ? e.initialValue : i), this.onContextRequest = (n) => {
1948
+ const a = n.composedPath()[0];
1949
+ n.context === this.context && a !== this.host && (n.stopPropagation(), this.addCallback(n.callback, a, n.subscribe));
1950
+ }, this.onProviderRequest = (n) => {
1951
+ const a = n.composedPath()[0];
1952
+ if (n.context !== this.context || a === this.host) return;
1973
1953
  const c = /* @__PURE__ */ new Set();
1974
- for (const [l, { consumerHost: h }] of this.subscriptions) c.has(l) || (c.add(l), h.dispatchEvent(new xi(this.context, l, !0)));
1975
- o.stopPropagation();
1976
- }, this.host = t, e.context !== void 0 ? this.context = e.context : this.context = e, this.attachListeners(), (n = (s = this.host).addController) == null || n.call(s, this);
1954
+ for (const [l, { consumerHost: h }] of this.subscriptions) c.has(l) || (c.add(l), h.dispatchEvent(new _i(this.context, l, !0)));
1955
+ n.stopPropagation();
1956
+ }, this.host = t, e.context !== void 0 ? this.context = e.context : this.context = e, this.attachListeners(), (o = (s = this.host).addController) == null || o.call(s, this);
1977
1957
  }
1978
1958
  attachListeners() {
1979
1959
  this.host.addEventListener("context-request", this.onContextRequest), this.host.addEventListener("context-provider", this.onProviderRequest);
1980
1960
  }
1981
1961
  hostConnected() {
1982
- this.host.dispatchEvent(new Si(this.context));
1962
+ this.host.dispatchEvent(new xi(this.context));
1983
1963
  }
1984
1964
  }
1985
1965
  /**
@@ -1987,7 +1967,7 @@ class oe extends Ci {
1987
1967
  * Copyright 2017 Google LLC
1988
1968
  * SPDX-License-Identifier: BSD-3-Clause
1989
1969
  */
1990
- function Ei({ context: r }) {
1970
+ function Ci({ context: r }) {
1991
1971
  return (t, e) => {
1992
1972
  const i = /* @__PURE__ */ new WeakMap();
1993
1973
  if (typeof e == "object") return e.addInitializer(function() {
@@ -1995,43 +1975,43 @@ function Ei({ context: r }) {
1995
1975
  }), { get() {
1996
1976
  return t.get.call(this);
1997
1977
  }, set(s) {
1998
- var n;
1999
- return (n = i.get(this)) == null || n.setValue(s), t.set.call(this, s);
1978
+ var o;
1979
+ return (o = i.get(this)) == null || o.setValue(s), t.set.call(this, s);
2000
1980
  }, init(s) {
2001
- var n;
2002
- return (n = i.get(this)) == null || n.setValue(s), s;
1981
+ var o;
1982
+ return (o = i.get(this)) == null || o.setValue(s), s;
2003
1983
  } };
2004
1984
  {
2005
- t.constructor.addInitializer((o) => {
2006
- i.set(o, new oe(o, { context: r }));
1985
+ t.constructor.addInitializer((n) => {
1986
+ i.set(n, new oe(n, { context: r }));
2007
1987
  });
2008
1988
  const s = Object.getOwnPropertyDescriptor(t, e);
2009
- let n;
1989
+ let o;
2010
1990
  if (s === void 0) {
2011
- const o = /* @__PURE__ */ new WeakMap();
2012
- n = { get() {
2013
- return o.get(this);
1991
+ const n = /* @__PURE__ */ new WeakMap();
1992
+ o = { get() {
1993
+ return n.get(this);
2014
1994
  }, set(a) {
2015
- i.get(this).setValue(a), o.set(this, a);
1995
+ i.get(this).setValue(a), n.set(this, a);
2016
1996
  }, configurable: !0, enumerable: !0 };
2017
1997
  } else {
2018
- const o = s.set;
2019
- n = { ...s, set(a) {
2020
- i.get(this).setValue(a), o == null || o.call(this, a);
1998
+ const n = s.set;
1999
+ o = { ...s, set(a) {
2000
+ i.get(this).setValue(a), n == null || n.call(this, a);
2021
2001
  } };
2022
2002
  }
2023
- return void Object.defineProperty(t, e, n);
2003
+ return void Object.defineProperty(t, e, o);
2024
2004
  }
2025
2005
  };
2026
2006
  }
2027
- var Pi = Object.defineProperty, Se = (r, t, e, i) => {
2028
- for (var s = void 0, n = r.length - 1, o; n >= 0; n--)
2029
- (o = r[n]) && (s = o(t, e, s) || s);
2030
- return s && Pi(t, e, s), s;
2007
+ var Si = Object.defineProperty, xe = (r, t, e, i) => {
2008
+ for (var s = void 0, o = r.length - 1, n; o >= 0; o--)
2009
+ (n = r[o]) && (s = n(t, e, s) || s);
2010
+ return s && Si(t, e, s), s;
2031
2011
  };
2032
- const Oi = "application", Nt = class Nt extends A {
2012
+ const Ei = "application", Nt = class Nt extends A {
2033
2013
  constructor() {
2034
- super(...arguments), this.nodes = [], this.wrapperRef = xe(), this.fullscreen = !1, this.isReady = new xt(!1);
2014
+ super(...arguments), this.nodes = [], this.wrapperRef = _e(), this.fullscreen = !1, this.isReady = new At(!1);
2035
2015
  }
2036
2016
  addChild(t) {
2037
2017
  t.parent = this, this.nodes.push(t);
@@ -2040,7 +2020,7 @@ const Oi = "application", Nt = class Nt extends A {
2040
2020
  if (!this.wrapperRef.value)
2041
2021
  return;
2042
2022
  const t = this.application.settings;
2043
- t != null && t.branding && Ae(t.branding, this.wrapperRef.value);
2023
+ t != null && t.branding && $e(t.branding, this.wrapperRef.value);
2044
2024
  }
2045
2025
  applyStyles() {
2046
2026
  if (!this.wrapperRef.value)
@@ -2056,8 +2036,8 @@ const Oi = "application", Nt = class Nt extends A {
2056
2036
  render() {
2057
2037
  var i, s;
2058
2038
  const t = this.application.settings.components.conversation;
2059
- return ((s = (i = t == null ? void 0 : t.properties) == null ? void 0 : i.chat) == null ? void 0 : s.isThirdPartyWidget) ? this.renderRoot.host.classList.add("third-party") : this.application.renderStrategy === $.Trigger && (this.renderRoot.host.classList.add("floating"), this.application.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.application.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right")), this.application.fullscreen && this.renderRoot.host.classList.add("fullscreen"), window.self !== window.top && this.renderRoot.host.classList.add("embedded"), k`<div class="widget-container" ${Ce(this.wrapperRef)}>
2060
- ${Ai(this.nodes, (n) => n)}
2039
+ return ((s = (i = t == null ? void 0 : t.properties) == null ? void 0 : i.chat) == null ? void 0 : s.isThirdPartyWidget) ? this.renderRoot.host.classList.add("third-party") : this.application.renderStrategy === $.Trigger && (this.renderRoot.host.classList.add("floating"), this.application.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.application.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right")), this.application.fullscreen && this.renderRoot.host.classList.add("fullscreen"), window.self !== window.top && this.renderRoot.host.classList.add("embedded"), T`<div class="widget-container" ${Ae(this.wrapperRef)}>
2040
+ ${$i(this.nodes, (o) => o)}
2061
2041
  </div>`;
2062
2042
  }
2063
2043
  };
@@ -2214,15 +2194,15 @@ Nt.styles = U`
2214
2194
  animation: none;
2215
2195
  }
2216
2196
  `;
2217
- let M = Nt;
2218
- Se([
2197
+ let N = Nt;
2198
+ xe([
2219
2199
  m({ attribute: !0 })
2220
- ], M.prototype, "fullscreen");
2221
- Se([
2200
+ ], N.prototype, "fullscreen");
2201
+ xe([
2222
2202
  m({ attribute: !1 }),
2223
- Ei({ context: Oi })
2224
- ], M.prototype, "application");
2225
- class Ii {
2203
+ Ci({ context: Ei })
2204
+ ], N.prototype, "application");
2205
+ class Pi {
2226
2206
  constructor() {
2227
2207
  this.root = this.createRoot();
2228
2208
  }
@@ -2258,11 +2238,11 @@ class Ii {
2258
2238
  // views
2259
2239
  ));
2260
2240
  });
2261
- }, { entry: n, components: o } = t;
2262
- return s(this, this.root, [n], o), this.root;
2241
+ }, { entry: o, components: n } = t;
2242
+ return s(this, this.root, [o], n), this.root;
2263
2243
  }
2264
2244
  createRoot() {
2265
- return typeof window < "u" && (window.customElements.get("ace-wrapper") || window.customElements.define("ace-wrapper", M)), document.createElement("ace-wrapper");
2245
+ return typeof window < "u" && (window.customElements.get("ace-wrapper") || window.customElements.define("ace-wrapper", N)), document.createElement("ace-wrapper");
2266
2246
  }
2267
2247
  createNode(t, e) {
2268
2248
  if (!this.resolveComponent(e))
@@ -2304,9 +2284,9 @@ const it = class it {
2304
2284
  }
2305
2285
  };
2306
2286
  it.ResolveWebComponentName = (t) => `ace-${t}`;
2307
- let _t = it;
2287
+ let $t = it;
2308
2288
  var y = /* @__PURE__ */ ((r) => (r.Necessary = "necessary", r.Functional = "functional", r.Analytics = "analytics", r))(y || {});
2309
- class Ti {
2289
+ class Oi {
2310
2290
  constructor(t, e, i, s) {
2311
2291
  this.disallowedKeys = [], this.widgetId = t, this.storage = e === "localStorage" ? window.localStorage : window.sessionStorage, this.policy = i, this.storageEntries = s;
2312
2292
  }
@@ -2320,8 +2300,8 @@ class Ti {
2320
2300
  }
2321
2301
  const s = i.category;
2322
2302
  if (this.policy[s]) {
2323
- const n = { value: e, category: s };
2324
- this.storage.setItem(this._prefixKey(t), JSON.stringify(n));
2303
+ const o = { value: e, category: s };
2304
+ this.storage.setItem(this._prefixKey(t), JSON.stringify(o));
2325
2305
  } else
2326
2306
  console.warn(
2327
2307
  `Storage policy does not allow storing items in category: ${s}`
@@ -2363,7 +2343,7 @@ class Ti {
2363
2343
  return `ace_${this.widgetId.substring(0, 7)}-${t}`;
2364
2344
  }
2365
2345
  }
2366
- class ki {
2346
+ class Ii {
2367
2347
  constructor() {
2368
2348
  this.texts = /* @__PURE__ */ new Map();
2369
2349
  }
@@ -2378,8 +2358,8 @@ class ki {
2378
2358
  return this.texts.get(t) || e;
2379
2359
  }
2380
2360
  }
2381
- const Ri = "1.1.111-rc.5";
2382
- class Mi {
2361
+ const ki = "1.1.111-rc.7";
2362
+ class Ti {
2383
2363
  constructor(t) {
2384
2364
  this.widget = t, this.name = t.name;
2385
2365
  }
@@ -2397,13 +2377,13 @@ class Mi {
2397
2377
  }
2398
2378
  version() {
2399
2379
  return {
2400
- version: Ri
2380
+ version: ki
2401
2381
  };
2402
2382
  }
2403
2383
  }
2404
- class Ni {
2405
- constructor(t, e, i, s, n) {
2406
- this.id = t, this.name = e, this.container = i, this.settings = s, this.options = n, this.platform = new Ii(), this.texts = new ki(), this.renderStrategy = $.Inline, this.fullscreen = !1, this.anchor = "BottomRight", this.autoActivate = !1, this.plugins = [], this.componentResolver = new _t(), this.components = [], this.trigger = null, this.api = new Mi(this), this.onMessageReceived = async (a) => {
2384
+ class Ri {
2385
+ constructor(t, e, i, s, o) {
2386
+ this.id = t, this.name = e, this.container = i, this.settings = s, this.options = o, this.platform = new Pi(), this.texts = new Ii(), this.renderStrategy = $.Inline, this.fullscreen = !1, this.anchor = "BottomRight", this.autoActivate = !1, this.plugins = [], this.componentResolver = new $t(), this.components = [], this.trigger = null, this.api = new Ti(this), this.onMessageReceived = async (a) => {
2407
2387
  var l;
2408
2388
  const c = a.data;
2409
2389
  switch (c.type) {
@@ -2452,20 +2432,20 @@ class Ni {
2452
2432
  return;
2453
2433
  }
2454
2434
  }, this.renderStrategy = this.options.renderStrategy || $.Inline, this.triggerIcon = this.options.triggerIcon;
2455
- const o = {
2435
+ const n = {
2456
2436
  [y.Necessary]: !0,
2457
2437
  [y.Functional]: !0,
2458
2438
  [y.Analytics]: !0
2459
2439
  };
2460
- this.storage = new Ti(
2440
+ this.storage = new Oi(
2461
2441
  this.id,
2462
2442
  "sessionStorage",
2463
- o,
2443
+ n,
2464
2444
  this.settings.storage
2465
- ), typeof n.autoActivate == "boolean" && (this.autoActivate = n.autoActivate), n.anchor && (this.anchor = n.anchor), this.container.register("$settings", s), this.texts.loadTexts(s.texts || {}), window.addEventListener("message", this.onMessageReceived);
2445
+ ), typeof o.autoActivate == "boolean" && (this.autoActivate = o.autoActivate), o.anchor && (this.anchor = o.anchor), this.container.register("$settings", s), this.texts.loadTexts(s.texts || {}), window.addEventListener("message", this.onMessageReceived);
2466
2446
  }
2467
2447
  async activate() {
2468
- if (await this.loadPlugins(), await this.componentResolver.loadComponents(), this.root = this.platform.createComponentModel(this.settings, this), this.container.setState(pe.Ready), this.autoActivate) {
2448
+ if (await this.loadPlugins(), await this.componentResolver.loadComponents(), this.root = this.platform.createComponentModel(this.settings, this), this.container.setState(de.Ready), this.autoActivate) {
2469
2449
  const t = this.render();
2470
2450
  t && this._getTargetElement().appendChild(t);
2471
2451
  }
@@ -2551,7 +2531,7 @@ class Ni {
2551
2531
  return this.root;
2552
2532
  }
2553
2533
  }
2554
- const Yi = (r) => new W(r), st = class st {
2534
+ const Vi = (r) => new W(r), st = class st {
2555
2535
  // TODO:
2556
2536
  // private static endpoint = 'http://localhost:5299/api'; // TODO:
2557
2537
  constructor(t = st.endpoint) {
@@ -2563,13 +2543,13 @@ const Yi = (r) => new W(r), st = class st {
2563
2543
  id: i.id,
2564
2544
  triggers: i.triggers || [],
2565
2545
  apps: (i.widgets || []).map((s) => {
2566
- let n = $.Trigger;
2567
- s.renderStrategy.toLowerCase() === "inline" && (n = $.Inline);
2568
- const o = s.widgetId ? s.widgetId : s.id, a = typeof s.autoActivate == "boolean" ? s.autoActivate : !1, c = typeof s.anchor == "string" ? s.anchor : "BottomRight", l = typeof s.triggerIcon == "string" ? s.triggerIcon : "question";
2546
+ let o = $.Trigger;
2547
+ s.renderStrategy.toLowerCase() === "inline" && (o = $.Inline);
2548
+ const n = s.widgetId ? s.widgetId : s.id, a = typeof s.autoActivate == "boolean" ? s.autoActivate : !1, c = typeof s.anchor == "string" ? s.anchor : "BottomRight", l = typeof s.triggerIcon == "string" ? s.triggerIcon : "question";
2569
2549
  return {
2570
- id: o,
2571
- widgetId: o,
2572
- renderStrategy: n,
2550
+ id: n,
2551
+ widgetId: n,
2552
+ renderStrategy: o,
2573
2553
  autoActivate: a,
2574
2554
  anchor: c,
2575
2555
  triggerIcon: {
@@ -2590,7 +2570,7 @@ const Yi = (r) => new W(r), st = class st {
2590
2570
  };
2591
2571
  st.endpoint = "https://widgets.ace.teliacompany.net/api";
2592
2572
  let W = st;
2593
- class Ui {
2573
+ class Ni {
2594
2574
  constructor(t) {
2595
2575
  this.site = t;
2596
2576
  }
@@ -2598,12 +2578,12 @@ class Ui {
2598
2578
  var i;
2599
2579
  (((i = this.site.environment) == null ? void 0 : i.applications) || []).forEach((s) => {
2600
2580
  if (s.storage) {
2601
- const n = {
2581
+ const o = {
2602
2582
  [y.Analytics]: t.includes("analytics"),
2603
2583
  [y.Necessary]: t.includes("necessary"),
2604
2584
  [y.Functional]: t.includes("functional")
2605
2585
  };
2606
- s.storage.updatePolicy(n);
2586
+ s.storage.updatePolicy(o);
2607
2587
  }
2608
2588
  });
2609
2589
  }
@@ -2614,9 +2594,9 @@ class Ui {
2614
2594
  });
2615
2595
  }
2616
2596
  }
2617
- class Li {
2597
+ class Mi {
2618
2598
  constructor() {
2619
- this.applications = [], this.container = new zt("environment", this), this.bootstrapped = !1, this.site = null, this.widgetAPIHandlers = /* @__PURE__ */ new Map(), this.siteConfigurationHandlers = [], setTimeout(() => {
2599
+ this.applications = [], this.container = new Dt("environment", this), this.bootstrapped = !1, this.site = null, this.widgetAPIHandlers = /* @__PURE__ */ new Map(), this.siteConfigurationHandlers = [], setTimeout(() => {
2620
2600
  this.notifyWidgetsOfCreation();
2621
2601
  }, 1e3);
2622
2602
  }
@@ -2636,13 +2616,13 @@ class Li {
2636
2616
  (i) => i.autoActivate
2637
2617
  );
2638
2618
  (((e = this.site) == null ? void 0 : e.triggers) || []).filter((i) => i.triggerType === "visit").forEach((i) => {
2639
- const s = window.location.pathname, n = i.condition.outputs || [];
2640
- i.condition.type === "url" && n.forEach((o) => {
2641
- const a = o.action.type === "render_widget";
2642
- if ((o.value === s || o.value === "*") && a) {
2619
+ const s = window.location.pathname, o = i.condition.outputs || [];
2620
+ i.condition.type === "url" && o.forEach((n) => {
2621
+ const a = n.action.type === "render_widget";
2622
+ if ((n.value === s || n.value === "*") && a) {
2643
2623
  let l = { widgetId: "" };
2644
2624
  try {
2645
- l = JSON.parse(o.action.data);
2625
+ l = JSON.parse(n.action.data);
2646
2626
  } catch {
2647
2627
  l = {
2648
2628
  widgetId: ""
@@ -2682,16 +2662,16 @@ class Li {
2682
2662
  if (!i) {
2683
2663
  const s = this.widgetAPIHandlers.get(t) || [];
2684
2664
  s.push(() => {
2685
- const n = this.applications.find((o) => o.name === t);
2686
- e(n == null ? void 0 : n.api);
2665
+ const o = this.applications.find((n) => n.name === t);
2666
+ e(o == null ? void 0 : o.api);
2687
2667
  }), this.widgetAPIHandlers.set(t, s);
2688
2668
  return;
2689
2669
  }
2690
2670
  e(i == null ? void 0 : i.api);
2691
2671
  }
2692
2672
  registerApp(t, e, i, s) {
2693
- const n = new zt(e, this), o = new Ni(t, e, n, i, s);
2694
- this.applications.push(o);
2673
+ const o = new Dt(e, this), n = new Ri(t, e, o, i, s);
2674
+ this.applications.push(n);
2695
2675
  }
2696
2676
  registerSite(t) {
2697
2677
  this.site = t;
@@ -2702,9 +2682,9 @@ class Li {
2702
2682
  }), this;
2703
2683
  }
2704
2684
  }
2705
- class ji {
2685
+ class Ui {
2706
2686
  constructor(t) {
2707
- this.configurations = [], this.httpClient = new W(), this.api = new Ui(this), this.triggers = [], this.httpClient = new W(), typeof t == "string" ? this.url = t : (t.httpClient && (this.httpClient = t.httpClient), this.loadFromConfig(t));
2687
+ this.configurations = [], this.httpClient = new W(), this.api = new Ni(this), this.triggers = [], this.httpClient = new W(), typeof t == "string" ? this.url = t : (t.httpClient && (this.httpClient = t.httpClient), this.loadFromConfig(t));
2708
2688
  }
2709
2689
  async load(t) {
2710
2690
  const e = await this.httpClient.getSite(t);
@@ -2732,7 +2712,7 @@ class ji {
2732
2712
  }
2733
2713
  async bootstrap(t) {
2734
2714
  var e;
2735
- this.url && await this.load(this.url), this.environment = new Li(), this.addGlobal(this.environment);
2715
+ this.url && await this.load(this.url), this.environment = new Mi(), this.addGlobal(this.environment);
2736
2716
  for await (const i of this.configurations) {
2737
2717
  const s = await this.httpClient.getWidget(i.widgetId);
2738
2718
  s && ((e = this.environment) == null || e.registerApp(
@@ -2758,12 +2738,12 @@ class ji {
2758
2738
  }), globalThis.ace = t;
2759
2739
  }
2760
2740
  }
2761
- var Hi = Object.defineProperty, Tt = (r, t, e, i) => {
2762
- for (var s = void 0, n = r.length - 1, o; n >= 0; n--)
2763
- (o = r[n]) && (s = o(t, e, s) || s);
2764
- return s && Hi(t, e, s), s;
2741
+ var Li = Object.defineProperty, It = (r, t, e, i) => {
2742
+ for (var s = void 0, o = r.length - 1, n; o >= 0; o--)
2743
+ (n = r[o]) && (s = n(t, e, s) || s);
2744
+ return s && Li(t, e, s), s;
2765
2745
  };
2766
- const Ut = class Ut extends A {
2746
+ const Mt = class Mt extends A {
2767
2747
  constructor() {
2768
2748
  super(), this.status = "deactivated", this.addEventListener("environment-created", this.onEnvironmentCreated);
2769
2749
  }
@@ -2795,44 +2775,44 @@ const Ut = class Ut extends A {
2795
2775
  return this.widget.render();
2796
2776
  }
2797
2777
  };
2798
- Ut.styles = [
2778
+ Mt.styles = [
2799
2779
  U`
2800
2780
  :host {
2801
2781
  display: block;
2802
2782
  }
2803
2783
  `
2804
2784
  ];
2805
- let N = Ut;
2806
- Tt([
2785
+ let M = Mt;
2786
+ It([
2807
2787
  m({ attribute: !0 })
2808
- ], N.prototype, "name");
2809
- Tt([
2788
+ ], M.prototype, "name");
2789
+ It([
2810
2790
  L()
2811
- ], N.prototype, "widget");
2812
- Tt([
2791
+ ], M.prototype, "widget");
2792
+ It([
2813
2793
  L()
2814
- ], N.prototype, "status");
2794
+ ], M.prototype, "status");
2815
2795
  customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", V);
2816
2796
  customElements.get("ace-trigger") || customElements.define("ace-trigger", b);
2817
2797
  customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", et);
2818
- customElements.get("ace-wrapper") || customElements.define("ace-wrapper", M);
2819
- customElements.get("ace-widget") || customElements.define("ace-widget", N);
2820
- const qi = async (r, t, e = {}) => {
2821
- const i = new ji(r);
2798
+ customElements.get("ace-wrapper") || customElements.define("ace-wrapper", N);
2799
+ customElements.get("ace-widget") || customElements.define("ace-widget", M);
2800
+ const Wi = async (r, t, e = {}) => {
2801
+ const i = new Ui(r);
2822
2802
  e.httpClient && i.setHttpClient(e.httpClient), await i.bootstrap(t);
2823
2803
  };
2824
2804
  export {
2825
- N as AceWidget,
2826
- Ni as Application,
2827
- zt as Container,
2828
- Li as Environment,
2805
+ M as AceWidget,
2806
+ Ri as Application,
2807
+ Dt as Container,
2808
+ Mi as Environment,
2829
2809
  W as HttpClient,
2830
- ji as Site,
2810
+ Ui as Site,
2831
2811
  y as StorageCategory,
2832
- Ti as StorageService,
2812
+ Oi as StorageService,
2833
2813
  b as Trigger,
2834
- _i as WidgetComponent,
2835
- Oi as applicationContext,
2836
- qi as bootstrap,
2837
- Yi as createHttpClient
2814
+ wi as WidgetComponent,
2815
+ Ei as applicationContext,
2816
+ Wi as bootstrap,
2817
+ Vi as createHttpClient
2838
2818
  };