@telia-ace/widget-components-area-flamingo 1.1.12-rc.7 → 1.1.12-rc.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,19 +3,19 @@
3
3
  * Copyright 2019 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
5
  */
6
- const B = globalThis, tt = B.ShadowRoot && (B.ShadyCSS === void 0 || B.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, et = Symbol(), rt = /* @__PURE__ */ new WeakMap();
6
+ const B = globalThis, X = B.ShadowRoot && (B.ShadyCSS === void 0 || B.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, tt = Symbol(), rt = /* @__PURE__ */ new WeakMap();
7
7
  let ft = class {
8
- constructor(t, e, i) {
9
- if (this._$cssResult$ = !0, i !== et)
8
+ constructor(t, e, s) {
9
+ if (this._$cssResult$ = !0, s !== tt)
10
10
  throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
11
11
  this.cssText = t, this.t = e;
12
12
  }
13
13
  get styleSheet() {
14
14
  let t = this.o;
15
15
  const e = this.t;
16
- if (tt && t === void 0) {
17
- const i = e !== void 0 && e.length === 1;
18
- i && (t = rt.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && rt.set(e, t));
16
+ if (X && t === void 0) {
17
+ const s = e !== void 0 && e.length === 1;
18
+ s && (t = rt.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), s && rt.set(e, t));
19
19
  }
20
20
  return t;
21
21
  }
@@ -23,63 +23,63 @@ let ft = class {
23
23
  return this.cssText;
24
24
  }
25
25
  };
26
- const Ut = (s) => new ft(typeof s == "string" ? s : s + "", void 0, et), P = (s, ...t) => {
27
- const e = s.length === 1 ? s[0] : t.reduce((i, r, n) => i + ((o) => {
26
+ const Ot = (i) => new ft(typeof i == "string" ? i : i + "", void 0, tt), P = (i, ...t) => {
27
+ const e = i.length === 1 ? i[0] : t.reduce((s, r, n) => s + ((o) => {
28
28
  if (o._$cssResult$ === !0)
29
29
  return o.cssText;
30
30
  if (typeof o == "number")
31
31
  return o;
32
32
  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.");
33
- })(r) + s[n + 1], s[0]);
34
- return new ft(e, s, et);
35
- }, Nt = (s, t) => {
36
- if (tt)
37
- s.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
33
+ })(r) + i[n + 1], i[0]);
34
+ return new ft(e, i, tt);
35
+ }, Tt = (i, t) => {
36
+ if (X)
37
+ i.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
38
38
  else
39
39
  for (const e of t) {
40
- const i = document.createElement("style"), r = B.litNonce;
41
- r !== void 0 && i.setAttribute("nonce", r), i.textContent = e.cssText, s.appendChild(i);
40
+ const s = document.createElement("style"), r = B.litNonce;
41
+ r !== void 0 && s.setAttribute("nonce", r), s.textContent = e.cssText, i.appendChild(s);
42
42
  }
43
- }, nt = tt ? (s) => s : (s) => s instanceof CSSStyleSheet ? ((t) => {
43
+ }, nt = X ? (i) => i : (i) => i instanceof CSSStyleSheet ? ((t) => {
44
44
  let e = "";
45
- for (const i of t.cssRules)
46
- e += i.cssText;
47
- return Ut(e);
48
- })(s) : s;
45
+ for (const s of t.cssRules)
46
+ e += s.cssText;
47
+ return Ot(e);
48
+ })(i) : i;
49
49
  /**
50
50
  * @license
51
51
  * Copyright 2017 Google LLC
52
52
  * SPDX-License-Identifier: BSD-3-Clause
53
53
  */
54
- const { is: Mt, defineProperty: kt, getOwnPropertyDescriptor: Ht, getOwnPropertyNames: Rt, getOwnPropertySymbols: Lt, getPrototypeOf: Dt } = Object, _ = globalThis, ot = _.trustedTypes, zt = ot ? ot.emptyScript : "", J = _.reactiveElementPolyfillSupport, T = (s, t) => s, I = { toAttribute(s, t) {
54
+ const { is: Ut, defineProperty: Nt, getOwnPropertyDescriptor: Mt, getOwnPropertyNames: kt, getOwnPropertySymbols: Ht, getPrototypeOf: Rt } = Object, _ = globalThis, ot = _.trustedTypes, Lt = ot ? ot.emptyScript : "", F = _.reactiveElementPolyfillSupport, T = (i, t) => i, I = { toAttribute(i, t) {
55
55
  switch (t) {
56
56
  case Boolean:
57
- s = s ? zt : null;
57
+ i = i ? Lt : null;
58
58
  break;
59
59
  case Object:
60
60
  case Array:
61
- s = s == null ? s : JSON.stringify(s);
61
+ i = i == null ? i : JSON.stringify(i);
62
62
  }
63
- return s;
64
- }, fromAttribute(s, t) {
65
- let e = s;
63
+ return i;
64
+ }, fromAttribute(i, t) {
65
+ let e = i;
66
66
  switch (t) {
67
67
  case Boolean:
68
- e = s !== null;
68
+ e = i !== null;
69
69
  break;
70
70
  case Number:
71
- e = s === null ? null : Number(s);
71
+ e = i === null ? null : Number(i);
72
72
  break;
73
73
  case Object:
74
74
  case Array:
75
75
  try {
76
- e = JSON.parse(s);
76
+ e = JSON.parse(i);
77
77
  } catch {
78
78
  e = null;
79
79
  }
80
80
  }
81
81
  return e;
82
- } }, st = (s, t) => !Mt(s, t), at = { attribute: !0, type: String, converter: I, reflect: !1, hasChanged: st };
82
+ } }, et = (i, t) => !Ut(i, t), at = { attribute: !0, type: String, converter: I, reflect: !1, hasChanged: et };
83
83
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), _.litPropertyMetadata ?? (_.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
84
84
  class E extends HTMLElement {
85
85
  static addInitializer(t) {
@@ -90,12 +90,12 @@ class E extends HTMLElement {
90
90
  }
91
91
  static createProperty(t, e = at) {
92
92
  if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
93
- const i = Symbol(), r = this.getPropertyDescriptor(t, i, e);
94
- r !== void 0 && kt(this.prototype, t, r);
93
+ const s = Symbol(), r = this.getPropertyDescriptor(t, s, e);
94
+ r !== void 0 && Nt(this.prototype, t, r);
95
95
  }
96
96
  }
97
- static getPropertyDescriptor(t, e, i) {
98
- const { get: r, set: n } = Ht(this.prototype, t) ?? { get() {
97
+ static getPropertyDescriptor(t, e, s) {
98
+ const { get: r, set: n } = Mt(this.prototype, t) ?? { get() {
99
99
  return this[e];
100
100
  }, set(o) {
101
101
  this[e] = o;
@@ -104,7 +104,7 @@ class E extends HTMLElement {
104
104
  return r == null ? void 0 : r.call(this);
105
105
  }, set(o) {
106
106
  const c = r == null ? void 0 : r.call(this);
107
- n.call(this, o), this.requestUpdate(t, c, i);
107
+ n.call(this, o), this.requestUpdate(t, c, s);
108
108
  }, configurable: !0, enumerable: !0 };
109
109
  }
110
110
  static getPropertyOptions(t) {
@@ -113,27 +113,27 @@ class E extends HTMLElement {
113
113
  static _$Ei() {
114
114
  if (this.hasOwnProperty(T("elementProperties")))
115
115
  return;
116
- const t = Dt(this);
116
+ const t = Rt(this);
117
117
  t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
118
118
  }
119
119
  static finalize() {
120
120
  if (this.hasOwnProperty(T("finalized")))
121
121
  return;
122
122
  if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(T("properties"))) {
123
- const e = this.properties, i = [...Rt(e), ...Lt(e)];
124
- for (const r of i)
123
+ const e = this.properties, s = [...kt(e), ...Ht(e)];
124
+ for (const r of s)
125
125
  this.createProperty(r, e[r]);
126
126
  }
127
127
  const t = this[Symbol.metadata];
128
128
  if (t !== null) {
129
129
  const e = litPropertyMetadata.get(t);
130
130
  if (e !== void 0)
131
- for (const [i, r] of e)
132
- this.elementProperties.set(i, r);
131
+ for (const [s, r] of e)
132
+ this.elementProperties.set(s, r);
133
133
  }
134
134
  this._$Eh = /* @__PURE__ */ new Map();
135
- for (const [e, i] of this.elementProperties) {
136
- const r = this._$Eu(e, i);
135
+ for (const [e, s] of this.elementProperties) {
136
+ const r = this._$Eu(e, s);
137
137
  r !== void 0 && this._$Eh.set(r, e);
138
138
  }
139
139
  this.elementStyles = this.finalizeStyles(this.styles);
@@ -141,16 +141,16 @@ class E extends HTMLElement {
141
141
  static finalizeStyles(t) {
142
142
  const e = [];
143
143
  if (Array.isArray(t)) {
144
- const i = new Set(t.flat(1 / 0).reverse());
145
- for (const r of i)
144
+ const s = new Set(t.flat(1 / 0).reverse());
145
+ for (const r of s)
146
146
  e.unshift(nt(r));
147
147
  } else
148
148
  t !== void 0 && e.push(nt(t));
149
149
  return e;
150
150
  }
151
151
  static _$Eu(t, e) {
152
- const i = e.attribute;
153
- return i === !1 ? void 0 : typeof i == "string" ? i : typeof t == "string" ? t.toLowerCase() : void 0;
152
+ const s = e.attribute;
153
+ return s === !1 ? void 0 : typeof s == "string" ? s : typeof t == "string" ? t.toLowerCase() : void 0;
154
154
  }
155
155
  constructor() {
156
156
  super(), this._$Ep = void 0, this.isUpdatePending = !1, this.hasUpdated = !1, this._$Em = null, this._$Ev();
@@ -169,19 +169,19 @@ class E extends HTMLElement {
169
169
  }
170
170
  _$E_() {
171
171
  const t = /* @__PURE__ */ new Map(), e = this.constructor.elementProperties;
172
- for (const i of e.keys())
173
- this.hasOwnProperty(i) && (t.set(i, this[i]), delete this[i]);
172
+ for (const s of e.keys())
173
+ this.hasOwnProperty(s) && (t.set(s, this[s]), delete this[s]);
174
174
  t.size > 0 && (this._$Ep = t);
175
175
  }
176
176
  createRenderRoot() {
177
177
  const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
178
- return Nt(t, this.constructor.elementStyles), t;
178
+ return Tt(t, this.constructor.elementStyles), t;
179
179
  }
180
180
  connectedCallback() {
181
181
  var t;
182
182
  this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), (t = this._$ES) == null || t.forEach((e) => {
183
- var i;
184
- return (i = e.hostConnected) == null ? void 0 : i.call(e);
183
+ var s;
184
+ return (s = e.hostConnected) == null ? void 0 : s.call(e);
185
185
  });
186
186
  }
187
187
  enableUpdating(t) {
@@ -189,39 +189,39 @@ class E extends HTMLElement {
189
189
  disconnectedCallback() {
190
190
  var t;
191
191
  (t = this._$ES) == null || t.forEach((e) => {
192
- var i;
193
- return (i = e.hostDisconnected) == null ? void 0 : i.call(e);
192
+ var s;
193
+ return (s = e.hostDisconnected) == null ? void 0 : s.call(e);
194
194
  });
195
195
  }
196
- attributeChangedCallback(t, e, i) {
197
- this._$AK(t, i);
196
+ attributeChangedCallback(t, e, s) {
197
+ this._$AK(t, s);
198
198
  }
199
199
  _$EO(t, e) {
200
200
  var n;
201
- const i = this.constructor.elementProperties.get(t), r = this.constructor._$Eu(t, i);
202
- if (r !== void 0 && i.reflect === !0) {
203
- const o = (((n = i.converter) == null ? void 0 : n.toAttribute) !== void 0 ? i.converter : I).toAttribute(e, i.type);
201
+ const s = this.constructor.elementProperties.get(t), r = this.constructor._$Eu(t, s);
202
+ if (r !== void 0 && s.reflect === !0) {
203
+ const o = (((n = s.converter) == null ? void 0 : n.toAttribute) !== void 0 ? s.converter : I).toAttribute(e, s.type);
204
204
  this._$Em = t, o == null ? this.removeAttribute(r) : this.setAttribute(r, o), this._$Em = null;
205
205
  }
206
206
  }
207
207
  _$AK(t, e) {
208
208
  var n;
209
- const i = this.constructor, r = i._$Eh.get(t);
209
+ const s = this.constructor, r = s._$Eh.get(t);
210
210
  if (r !== void 0 && this._$Em !== r) {
211
- const o = i.getPropertyOptions(r), c = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((n = o.converter) == null ? void 0 : n.fromAttribute) !== void 0 ? o.converter : I;
211
+ const o = s.getPropertyOptions(r), c = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((n = o.converter) == null ? void 0 : n.fromAttribute) !== void 0 ? o.converter : I;
212
212
  this._$Em = r, this[r] = c.fromAttribute(e, o.type), this._$Em = null;
213
213
  }
214
214
  }
215
- requestUpdate(t, e, i, r = !1, n) {
215
+ requestUpdate(t, e, s, r = !1, n) {
216
216
  if (t !== void 0) {
217
- if (i ?? (i = this.constructor.getPropertyOptions(t)), !(i.hasChanged ?? st)(r ? n : this[t], e))
217
+ if (s ?? (s = this.constructor.getPropertyOptions(t)), !(s.hasChanged ?? et)(r ? n : this[t], e))
218
218
  return;
219
- this.C(t, e, i);
219
+ this.C(t, e, s);
220
220
  }
221
221
  this.isUpdatePending === !1 && (this._$Eg = this._$EP());
222
222
  }
223
- C(t, e, i) {
224
- this._$AL.has(t) || this._$AL.set(t, e), i.reflect === !0 && this._$Em !== t && (this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Set())).add(t);
223
+ C(t, e, s) {
224
+ this._$AL.has(t) || this._$AL.set(t, e), s.reflect === !0 && this._$Em !== t && (this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Set())).add(t);
225
225
  }
226
226
  async _$EP() {
227
227
  this.isUpdatePending = !0;
@@ -237,7 +237,7 @@ class E extends HTMLElement {
237
237
  return this.performUpdate();
238
238
  }
239
239
  performUpdate() {
240
- var i;
240
+ var s;
241
241
  if (!this.isUpdatePending)
242
242
  return;
243
243
  if (!this.hasUpdated) {
@@ -254,7 +254,7 @@ class E extends HTMLElement {
254
254
  let t = !1;
255
255
  const e = this._$AL;
256
256
  try {
257
- t = this.shouldUpdate(e), t ? (this.willUpdate(e), (i = this._$ES) == null || i.forEach((r) => {
257
+ t = this.shouldUpdate(e), t ? (this.willUpdate(e), (s = this._$ES) == null || s.forEach((r) => {
258
258
  var n;
259
259
  return (n = r.hostUpdate) == null ? void 0 : n.call(r);
260
260
  }), this.update(e)) : this._$ET();
@@ -267,9 +267,9 @@ class E extends HTMLElement {
267
267
  }
268
268
  _$AE(t) {
269
269
  var e;
270
- (e = this._$ES) == null || e.forEach((i) => {
270
+ (e = this._$ES) == null || e.forEach((s) => {
271
271
  var r;
272
- return (r = i.hostUpdated) == null ? void 0 : r.call(i);
272
+ return (r = s.hostUpdated) == null ? void 0 : r.call(s);
273
273
  }), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
274
274
  }
275
275
  _$ET() {
@@ -292,40 +292,40 @@ class E extends HTMLElement {
292
292
  firstUpdated(t) {
293
293
  }
294
294
  }
295
- E.elementStyles = [], E.shadowRootOptions = { mode: "open" }, E[T("elementProperties")] = /* @__PURE__ */ new Map(), E[T("finalized")] = /* @__PURE__ */ new Map(), J == null || J({ ReactiveElement: E }), (_.reactiveElementVersions ?? (_.reactiveElementVersions = [])).push("2.0.1");
295
+ E.elementStyles = [], E.shadowRootOptions = { mode: "open" }, E[T("elementProperties")] = /* @__PURE__ */ new Map(), E[T("finalized")] = /* @__PURE__ */ new Map(), F == null || F({ ReactiveElement: E }), (_.reactiveElementVersions ?? (_.reactiveElementVersions = [])).push("2.0.1");
296
296
  /**
297
297
  * @license
298
298
  * Copyright 2017 Google LLC
299
299
  * SPDX-License-Identifier: BSD-3-Clause
300
300
  */
301
- const U = globalThis, G = U.trustedTypes, ct = G ? G.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, $t = "$lit$", m = `lit$${(Math.random() + "").slice(9)}$`, mt = "?" + m, jt = `<${mt}>`, b = document, M = () => b.createComment(""), k = (s) => s === null || typeof s != "object" && typeof s != "function", _t = Array.isArray, Bt = (s) => _t(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", K = `[
302
- \f\r]`, O = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ht = /-->/g, lt = />/g, y = RegExp(`>|${K}(?:([^\\s"'>=/]+)(${K}*=${K}*(?:[^
303
- \f\r"'\`<>=]|("|')|))|$)`, "g"), dt = /'/g, pt = /"/g, yt = /^(?:script|style|textarea|title)$/i, It = (s) => (t, ...e) => ({ _$litType$: s, strings: t, values: e }), H = It(1), w = Symbol.for("lit-noChange"), l = Symbol.for("lit-nothing"), ut = /* @__PURE__ */ new WeakMap(), A = b.createTreeWalker(b, 129);
304
- function vt(s, t) {
305
- if (!Array.isArray(s) || !s.hasOwnProperty("raw"))
301
+ const U = globalThis, G = U.trustedTypes, ct = G ? G.createPolicy("lit-html", { createHTML: (i) => i }) : void 0, $t = "$lit$", m = `lit$${(Math.random() + "").slice(9)}$`, mt = "?" + m, Dt = `<${mt}>`, b = document, M = () => b.createComment(""), k = (i) => i === null || typeof i != "object" && typeof i != "function", _t = Array.isArray, zt = (i) => _t(i) || typeof (i == null ? void 0 : i[Symbol.iterator]) == "function", J = `[
302
+ \f\r]`, O = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ht = /-->/g, lt = />/g, y = RegExp(`>|${J}(?:([^\\s"'>=/]+)(${J}*=${J}*(?:[^
303
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), dt = /'/g, pt = /"/g, yt = /^(?:script|style|textarea|title)$/i, jt = (i) => (t, ...e) => ({ _$litType$: i, strings: t, values: e }), H = jt(1), w = Symbol.for("lit-noChange"), l = Symbol.for("lit-nothing"), ut = /* @__PURE__ */ new WeakMap(), A = b.createTreeWalker(b, 129);
304
+ function vt(i, t) {
305
+ if (!Array.isArray(i) || !i.hasOwnProperty("raw"))
306
306
  throw Error("invalid template strings array");
307
307
  return ct !== void 0 ? ct.createHTML(t) : t;
308
308
  }
309
- const Gt = (s, t) => {
310
- const e = s.length - 1, i = [];
309
+ const Bt = (i, t) => {
310
+ const e = i.length - 1, s = [];
311
311
  let r, n = t === 2 ? "<svg>" : "", o = O;
312
312
  for (let c = 0; c < e; c++) {
313
- const a = s[c];
313
+ const a = i[c];
314
314
  let d, p, h = -1, g = 0;
315
315
  for (; g < a.length && (o.lastIndex = g, p = o.exec(a), p !== null); )
316
316
  g = o.lastIndex, o === O ? p[1] === "!--" ? o = ht : p[1] !== void 0 ? o = lt : p[2] !== void 0 ? (yt.test(p[2]) && (r = RegExp("</" + p[2], "g")), o = y) : p[3] !== void 0 && (o = y) : o === y ? p[0] === ">" ? (o = r ?? O, h = -1) : p[1] === void 0 ? h = -2 : (h = o.lastIndex - p[2].length, d = p[1], o = p[3] === void 0 ? y : p[3] === '"' ? pt : dt) : o === pt || o === dt ? o = y : o === ht || o === lt ? o = O : (o = y, r = void 0);
317
- const $ = o === y && s[c + 1].startsWith("/>") ? " " : "";
318
- n += o === O ? a + jt : h >= 0 ? (i.push(d), a.slice(0, h) + $t + a.slice(h) + m + $) : a + m + (h === -2 ? c : $);
317
+ const $ = o === y && i[c + 1].startsWith("/>") ? " " : "";
318
+ n += o === O ? a + Dt : h >= 0 ? (s.push(d), a.slice(0, h) + $t + a.slice(h) + m + $) : a + m + (h === -2 ? c : $);
319
319
  }
320
- return [vt(s, n + (s[e] || "<?>") + (t === 2 ? "</svg>" : "")), i];
320
+ return [vt(i, n + (i[e] || "<?>") + (t === 2 ? "</svg>" : "")), s];
321
321
  };
322
322
  class R {
323
- constructor({ strings: t, _$litType$: e }, i) {
323
+ constructor({ strings: t, _$litType$: e }, s) {
324
324
  let r;
325
325
  this.parts = [];
326
326
  let n = 0, o = 0;
327
- const c = t.length - 1, a = this.parts, [d, p] = Gt(t, e);
328
- if (this.el = R.createElement(d, i), A.currentNode = this.el.content, e === 2) {
327
+ const c = t.length - 1, a = this.parts, [d, p] = Bt(t, e);
328
+ if (this.el = R.createElement(d, s), A.currentNode = this.el.content, e === 2) {
329
329
  const h = this.el.content.firstChild;
330
330
  h.replaceWith(...h.childNodes);
331
331
  }
@@ -335,7 +335,7 @@ class R {
335
335
  for (const h of r.getAttributeNames())
336
336
  if (h.endsWith($t)) {
337
337
  const g = p[o++], $ = r.getAttribute(h).split(m), z = /([.?@])?(.*)/.exec(g);
338
- a.push({ type: 1, index: n, name: z[2], strings: $, ctor: z[1] === "." ? Vt : z[1] === "?" ? qt : z[1] === "@" ? Yt : q }), r.removeAttribute(h);
338
+ a.push({ type: 1, index: n, name: z[2], strings: $, ctor: z[1] === "." ? Gt : z[1] === "?" ? Wt : z[1] === "@" ? Vt : V }), r.removeAttribute(h);
339
339
  } else
340
340
  h.startsWith(m) && (a.push({ type: 6, index: n }), r.removeAttribute(h));
341
341
  if (yt.test(r.tagName)) {
@@ -359,19 +359,19 @@ class R {
359
359
  }
360
360
  }
361
361
  static createElement(t, e) {
362
- const i = b.createElement("template");
363
- return i.innerHTML = t, i;
362
+ const s = b.createElement("template");
363
+ return s.innerHTML = t, s;
364
364
  }
365
365
  }
366
- function C(s, t, e = s, i) {
366
+ function C(i, t, e = i, s) {
367
367
  var o, c;
368
368
  if (t === w)
369
369
  return t;
370
- let r = i !== void 0 ? (o = e._$Co) == null ? void 0 : o[i] : e._$Cl;
370
+ let r = s !== void 0 ? (o = e._$Co) == null ? void 0 : o[s] : e._$Cl;
371
371
  const n = k(t) ? void 0 : t._$litDirective$;
372
- return (r == null ? void 0 : r.constructor) !== n && ((c = r == null ? void 0 : r._$AO) == null || c.call(r, !1), n === void 0 ? r = void 0 : (r = new n(s), r._$AT(s, e, i)), i !== void 0 ? (e._$Co ?? (e._$Co = []))[i] = r : e._$Cl = r), r !== void 0 && (t = C(s, r._$AS(s, t.values), r, i)), t;
372
+ return (r == null ? void 0 : r.constructor) !== n && ((c = r == null ? void 0 : r._$AO) == null || c.call(r, !1), n === void 0 ? r = void 0 : (r = new n(i), r._$AT(i, e, s)), s !== void 0 ? (e._$Co ?? (e._$Co = []))[s] = r : e._$Cl = r), r !== void 0 && (t = C(i, r._$AS(i, t.values), r, s)), t;
373
373
  }
374
- class Wt {
374
+ class It {
375
375
  constructor(t, e) {
376
376
  this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
377
377
  }
@@ -382,13 +382,13 @@ class Wt {
382
382
  return this._$AM._$AU;
383
383
  }
384
384
  u(t) {
385
- const { el: { content: e }, parts: i } = this._$AD, r = ((t == null ? void 0 : t.creationScope) ?? b).importNode(e, !0);
385
+ const { el: { content: e }, parts: s } = this._$AD, r = ((t == null ? void 0 : t.creationScope) ?? b).importNode(e, !0);
386
386
  A.currentNode = r;
387
- let n = A.nextNode(), o = 0, c = 0, a = i[0];
387
+ let n = A.nextNode(), o = 0, c = 0, a = s[0];
388
388
  for (; a !== void 0; ) {
389
389
  if (o === a.index) {
390
390
  let d;
391
- a.type === 2 ? d = new L(n, n.nextSibling, this, t) : a.type === 1 ? d = new a.ctor(n, a.name, a.strings, this, t) : a.type === 6 && (d = new Ft(n, this, t)), this._$AV.push(d), a = i[++c];
391
+ a.type === 2 ? d = new L(n, n.nextSibling, this, t) : a.type === 1 ? d = new a.ctor(n, a.name, a.strings, this, t) : a.type === 6 && (d = new qt(n, this, t)), this._$AV.push(d), a = s[++c];
392
392
  }
393
393
  o !== (a == null ? void 0 : a.index) && (n = A.nextNode(), o++);
394
394
  }
@@ -396,8 +396,8 @@ class Wt {
396
396
  }
397
397
  p(t) {
398
398
  let e = 0;
399
- for (const i of this._$AV)
400
- i !== void 0 && (i.strings !== void 0 ? (i._$AI(t, i, e), e += i.strings.length - 2) : i._$AI(t[e])), e++;
399
+ for (const s of this._$AV)
400
+ s !== void 0 && (s.strings !== void 0 ? (s._$AI(t, s, e), e += s.strings.length - 2) : s._$AI(t[e])), e++;
401
401
  }
402
402
  }
403
403
  class L {
@@ -405,8 +405,8 @@ class L {
405
405
  var t;
406
406
  return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
407
407
  }
408
- constructor(t, e, i, r) {
409
- this.type = 2, this._$AH = l, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = i, this.options = r, this._$Cv = (r == null ? void 0 : r.isConnected) ?? !0;
408
+ constructor(t, e, s, r) {
409
+ this.type = 2, this._$AH = l, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = s, this.options = r, this._$Cv = (r == null ? void 0 : r.isConnected) ?? !0;
410
410
  }
411
411
  get parentNode() {
412
412
  let t = this._$AA.parentNode;
@@ -420,7 +420,7 @@ class L {
420
420
  return this._$AB;
421
421
  }
422
422
  _$AI(t, e = this) {
423
- t = C(this, t, e), k(t) ? t === l || t == null || t === "" ? (this._$AH !== l && this._$AR(), this._$AH = l) : t !== this._$AH && t !== w && this._(t) : t._$litType$ !== void 0 ? this.g(t) : t.nodeType !== void 0 ? this.$(t) : Bt(t) ? this.T(t) : this._(t);
423
+ t = C(this, t, e), k(t) ? t === l || t == null || t === "" ? (this._$AH !== l && this._$AR(), this._$AH = l) : t !== this._$AH && t !== w && this._(t) : t._$litType$ !== void 0 ? this.g(t) : t.nodeType !== void 0 ? this.$(t) : zt(t) ? this.T(t) : this._(t);
424
424
  }
425
425
  k(t) {
426
426
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -433,11 +433,11 @@ class L {
433
433
  }
434
434
  g(t) {
435
435
  var n;
436
- const { values: e, _$litType$: i } = t, r = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = R.createElement(vt(i.h, i.h[0]), this.options)), i);
436
+ const { values: e, _$litType$: s } = t, r = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = R.createElement(vt(s.h, s.h[0]), this.options)), s);
437
437
  if (((n = this._$AH) == null ? void 0 : n._$AD) === r)
438
438
  this._$AH.p(e);
439
439
  else {
440
- const o = new Wt(r, this), c = o.u(this.options);
440
+ const o = new It(r, this), c = o.u(this.options);
441
441
  o.p(e), this.$(c), this._$AH = o;
442
442
  }
443
443
  }
@@ -448,14 +448,14 @@ class L {
448
448
  T(t) {
449
449
  _t(this._$AH) || (this._$AH = [], this._$AR());
450
450
  const e = this._$AH;
451
- let i, r = 0;
451
+ let s, r = 0;
452
452
  for (const n of t)
453
- r === e.length ? e.push(i = new L(this.k(M()), this.k(M()), this, this.options)) : i = e[r], i._$AI(n), r++;
454
- r < e.length && (this._$AR(i && i._$AB.nextSibling, r), e.length = r);
453
+ r === e.length ? e.push(s = new L(this.k(M()), this.k(M()), this, this.options)) : s = e[r], s._$AI(n), r++;
454
+ r < e.length && (this._$AR(s && s._$AB.nextSibling, r), e.length = r);
455
455
  }
456
456
  _$AR(t = this._$AA.nextSibling, e) {
457
- var i;
458
- for ((i = this._$AP) == null ? void 0 : i.call(this, !1, !0, e); t && t !== this._$AB; ) {
457
+ var s;
458
+ for ((s = this._$AP) == null ? void 0 : s.call(this, !1, !0, e); t && t !== this._$AB; ) {
459
459
  const r = t.nextSibling;
460
460
  t.remove(), t = r;
461
461
  }
@@ -465,17 +465,17 @@ class L {
465
465
  this._$AM === void 0 && (this._$Cv = t, (e = this._$AP) == null || e.call(this, t));
466
466
  }
467
467
  }
468
- class q {
468
+ class V {
469
469
  get tagName() {
470
470
  return this.element.tagName;
471
471
  }
472
472
  get _$AU() {
473
473
  return this._$AM._$AU;
474
474
  }
475
- constructor(t, e, i, r, n) {
476
- this.type = 1, this._$AH = l, this._$AN = void 0, this.element = t, this.name = e, this._$AM = r, this.options = n, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = l;
475
+ constructor(t, e, s, r, n) {
476
+ this.type = 1, this._$AH = l, this._$AN = void 0, this.element = t, this.name = e, this._$AM = r, this.options = n, s.length > 2 || s[0] !== "" || s[1] !== "" ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = l;
477
477
  }
478
- _$AI(t, e = this, i, r) {
478
+ _$AI(t, e = this, s, r) {
479
479
  const n = this.strings;
480
480
  let o = !1;
481
481
  if (n === void 0)
@@ -484,7 +484,7 @@ class q {
484
484
  const c = t;
485
485
  let a, d;
486
486
  for (t = n[0], a = 0; a < n.length - 1; a++)
487
- d = C(this, c[i + a], e, a), d === w && (d = this._$AH[a]), o || (o = !k(d) || d !== this._$AH[a]), d === l ? t = l : t !== l && (t += (d ?? "") + n[a + 1]), this._$AH[a] = d;
487
+ d = C(this, c[s + a], e, a), d === w && (d = this._$AH[a]), o || (o = !k(d) || d !== this._$AH[a]), d === l ? t = l : t !== l && (t += (d ?? "") + n[a + 1]), this._$AH[a] = d;
488
488
  }
489
489
  o && !r && this.O(t);
490
490
  }
@@ -492,7 +492,7 @@ class q {
492
492
  t === l ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
493
493
  }
494
494
  }
495
- class Vt extends q {
495
+ class Gt extends V {
496
496
  constructor() {
497
497
  super(...arguments), this.type = 3;
498
498
  }
@@ -500,7 +500,7 @@ class Vt extends q {
500
500
  this.element[this.name] = t === l ? void 0 : t;
501
501
  }
502
502
  }
503
- class qt extends q {
503
+ class Wt extends V {
504
504
  constructor() {
505
505
  super(...arguments), this.type = 4;
506
506
  }
@@ -508,24 +508,24 @@ class qt extends q {
508
508
  this.element.toggleAttribute(this.name, !!t && t !== l);
509
509
  }
510
510
  }
511
- class Yt extends q {
512
- constructor(t, e, i, r, n) {
513
- super(t, e, i, r, n), this.type = 5;
511
+ class Vt extends V {
512
+ constructor(t, e, s, r, n) {
513
+ super(t, e, s, r, n), this.type = 5;
514
514
  }
515
515
  _$AI(t, e = this) {
516
516
  if ((t = C(this, t, e, 0) ?? l) === w)
517
517
  return;
518
- const i = this._$AH, r = t === l && i !== l || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, n = t !== l && (i === l || r);
519
- r && this.element.removeEventListener(this.name, this, i), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
518
+ const s = this._$AH, r = t === l && s !== l || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, n = t !== l && (s === l || r);
519
+ r && this.element.removeEventListener(this.name, this, s), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
520
520
  }
521
521
  handleEvent(t) {
522
522
  var e;
523
523
  typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, t) : this._$AH.handleEvent(t);
524
524
  }
525
525
  }
526
- class Ft {
527
- constructor(t, e, i) {
528
- this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
526
+ class qt {
527
+ constructor(t, e, s) {
528
+ this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = s;
529
529
  }
530
530
  get _$AU() {
531
531
  return this._$AM._$AU;
@@ -534,16 +534,16 @@ class Ft {
534
534
  C(this, t);
535
535
  }
536
536
  }
537
- const Z = U.litHtmlPolyfillSupport;
538
- Z == null || Z(R, L), (U.litHtmlVersions ?? (U.litHtmlVersions = [])).push("3.0.2");
539
- const Jt = (s, t, e) => {
540
- const i = (e == null ? void 0 : e.renderBefore) ?? t;
541
- let r = i._$litPart$;
537
+ const K = U.litHtmlPolyfillSupport;
538
+ K == null || K(R, L), (U.litHtmlVersions ?? (U.litHtmlVersions = [])).push("3.0.2");
539
+ const Yt = (i, t, e) => {
540
+ const s = (e == null ? void 0 : e.renderBefore) ?? t;
541
+ let r = s._$litPart$;
542
542
  if (r === void 0) {
543
543
  const n = (e == null ? void 0 : e.renderBefore) ?? null;
544
- i._$litPart$ = r = new L(t.insertBefore(M(), n), n, void 0, e ?? {});
544
+ s._$litPart$ = r = new L(t.insertBefore(M(), n), n, void 0, e ?? {});
545
545
  }
546
- return r._$AI(s), r;
546
+ return r._$AI(i), r;
547
547
  };
548
548
  /**
549
549
  * @license
@@ -561,7 +561,7 @@ let f = class extends E {
561
561
  }
562
562
  update(t) {
563
563
  const e = this.render();
564
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Jt(e, this.renderRoot, this.renderOptions);
564
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Yt(e, this.renderRoot, this.renderOptions);
565
565
  }
566
566
  connectedCallback() {
567
567
  var t;
@@ -577,19 +577,19 @@ let f = class extends E {
577
577
  };
578
578
  var gt;
579
579
  f._$litElement$ = !0, f.finalized = !0, (gt = globalThis.litElementHydrateSupport) == null || gt.call(globalThis, { LitElement: f });
580
- const Q = globalThis.litElementPolyfillSupport;
581
- Q == null || Q({ LitElement: f });
580
+ const Z = globalThis.litElementPolyfillSupport;
581
+ Z == null || Z({ LitElement: f });
582
582
  (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.0.1");
583
583
  /**
584
584
  * @license
585
585
  * Copyright 2021 Google LLC
586
586
  * SPDX-License-Identifier: BSD-3-Clause
587
587
  */
588
- function* At(s, t) {
589
- if (s !== void 0) {
588
+ function* At(i, t) {
589
+ if (i !== void 0) {
590
590
  let e = 0;
591
- for (const i of s)
592
- yield t(i, e++);
591
+ for (const s of i)
592
+ yield t(s, e++);
593
593
  }
594
594
  }
595
595
  /**
@@ -597,65 +597,65 @@ function* At(s, t) {
597
597
  * Copyright 2017 Google LLC
598
598
  * SPDX-License-Identifier: BSD-3-Clause
599
599
  */
600
- const bt = (s) => (t, e) => {
600
+ const Ft = (i) => (t, e) => {
601
601
  e !== void 0 ? e.addInitializer(() => {
602
- customElements.define(s, t);
603
- }) : customElements.define(s, t);
602
+ customElements.define(i, t);
603
+ }) : customElements.define(i, t);
604
604
  };
605
605
  /**
606
606
  * @license
607
607
  * Copyright 2017 Google LLC
608
608
  * SPDX-License-Identifier: BSD-3-Clause
609
609
  */
610
- const Kt = { attribute: !0, type: String, converter: I, reflect: !1, hasChanged: st }, Zt = (s = Kt, t, e) => {
611
- const { kind: i, metadata: r } = e;
610
+ const Jt = { attribute: !0, type: String, converter: I, reflect: !1, hasChanged: et }, Kt = (i = Jt, t, e) => {
611
+ const { kind: s, metadata: r } = e;
612
612
  let n = globalThis.litPropertyMetadata.get(r);
613
- if (n === void 0 && globalThis.litPropertyMetadata.set(r, n = /* @__PURE__ */ new Map()), n.set(e.name, s), i === "accessor") {
613
+ if (n === void 0 && globalThis.litPropertyMetadata.set(r, n = /* @__PURE__ */ new Map()), n.set(e.name, i), s === "accessor") {
614
614
  const { name: o } = e;
615
615
  return { set(c) {
616
616
  const a = t.get.call(this);
617
- t.set.call(this, c), this.requestUpdate(o, a, s);
617
+ t.set.call(this, c), this.requestUpdate(o, a, i);
618
618
  }, init(c) {
619
- return c !== void 0 && this.C(o, void 0, s), c;
619
+ return c !== void 0 && this.C(o, void 0, i), c;
620
620
  } };
621
621
  }
622
- if (i === "setter") {
622
+ if (s === "setter") {
623
623
  const { name: o } = e;
624
624
  return function(c) {
625
625
  const a = this[o];
626
- t.call(this, c), this.requestUpdate(o, a, s);
626
+ t.call(this, c), this.requestUpdate(o, a, i);
627
627
  };
628
628
  }
629
- throw Error("Unsupported decorator location: " + i);
629
+ throw Error("Unsupported decorator location: " + s);
630
630
  };
631
- function u(s) {
632
- return (t, e) => typeof e == "object" ? Zt(s, t, e) : ((i, r, n) => {
631
+ function u(i) {
632
+ return (t, e) => typeof e == "object" ? Kt(i, t, e) : ((s, r, n) => {
633
633
  const o = r.hasOwnProperty(n);
634
- return r.constructor.createProperty(n, o ? { ...i, wrapped: !0 } : i), o ? Object.getOwnPropertyDescriptor(r, n) : void 0;
635
- })(s, t, e);
634
+ return r.constructor.createProperty(n, o ? { ...s, wrapped: !0 } : s), o ? Object.getOwnPropertyDescriptor(r, n) : void 0;
635
+ })(i, t, e);
636
636
  }
637
637
  /**
638
638
  * @license
639
639
  * Copyright 2017 Google LLC
640
640
  * SPDX-License-Identifier: BSD-3-Clause
641
641
  */
642
- function D(s) {
643
- return u({ ...s, state: !0, attribute: !1 });
642
+ function D(i) {
643
+ return u({ ...i, state: !0, attribute: !1 });
644
644
  }
645
645
  /**
646
646
  * @license
647
647
  * Copyright 2017 Google LLC
648
648
  * SPDX-License-Identifier: BSD-3-Clause
649
649
  */
650
- const wt = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, xt = (s) => (...t) => ({ _$litDirective$: s, values: t });
651
- class Et {
650
+ const bt = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, wt = (i) => (...t) => ({ _$litDirective$: i, values: t });
651
+ class xt {
652
652
  constructor(t) {
653
653
  }
654
654
  get _$AU() {
655
655
  return this._$AM._$AU;
656
656
  }
657
- _$AT(t, e, i) {
658
- this._$Ct = t, this._$AM = e, this._$Ci = i;
657
+ _$AT(t, e, s) {
658
+ this._$Ct = t, this._$AM = e, this._$Ci = s;
659
659
  }
660
660
  _$AS(t, e) {
661
661
  return this.update(t, e);
@@ -669,24 +669,24 @@ class Et {
669
669
  * Copyright 2018 Google LLC
670
670
  * SPDX-License-Identifier: BSD-3-Clause
671
671
  */
672
- const Qt = xt(class extends Et {
673
- constructor(s) {
672
+ const Zt = wt(class extends xt {
673
+ constructor(i) {
674
674
  var t;
675
- if (super(s), s.type !== wt.ATTRIBUTE || s.name !== "class" || ((t = s.strings) == null ? void 0 : t.length) > 2)
675
+ if (super(i), i.type !== bt.ATTRIBUTE || i.name !== "class" || ((t = i.strings) == null ? void 0 : t.length) > 2)
676
676
  throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
677
677
  }
678
- render(s) {
679
- return " " + Object.keys(s).filter((t) => s[t]).join(" ") + " ";
678
+ render(i) {
679
+ return " " + Object.keys(i).filter((t) => i[t]).join(" ") + " ";
680
680
  }
681
- update(s, [t]) {
682
- var i, r;
681
+ update(i, [t]) {
682
+ var s, r;
683
683
  if (this.it === void 0) {
684
- this.it = /* @__PURE__ */ new Set(), s.strings !== void 0 && (this.st = new Set(s.strings.join(" ").split(/\s/).filter((n) => n !== "")));
684
+ this.it = /* @__PURE__ */ new Set(), i.strings !== void 0 && (this.st = new Set(i.strings.join(" ").split(/\s/).filter((n) => n !== "")));
685
685
  for (const n in t)
686
- t[n] && !((i = this.st) != null && i.has(n)) && this.it.add(n);
686
+ t[n] && !((s = this.st) != null && s.has(n)) && this.it.add(n);
687
687
  return this.render(t);
688
688
  }
689
- const e = s.element.classList;
689
+ const e = i.element.classList;
690
690
  for (const n of this.it)
691
691
  n in t || (e.remove(n), this.it.delete(n));
692
692
  for (const n in t) {
@@ -695,28 +695,28 @@ const Qt = xt(class extends Et {
695
695
  }
696
696
  return w;
697
697
  }
698
- }), j = (s, t, e) => {
699
- s && e.style.setProperty(t, s);
700
- }, Ct = (s, t) => {
701
- var e, i, r, n;
702
- j((e = s.colors) == null ? void 0 : e.primaryBackground, "--primary-background", t), j(
703
- (i = s.colors) == null ? void 0 : i.textOnPrimaryBackground,
698
+ }), j = (i, t, e) => {
699
+ i && e.style.setProperty(t, i);
700
+ }, Et = (i, t) => {
701
+ var e, s, r, n;
702
+ j((e = i.colors) == null ? void 0 : e.primaryBackground, "--primary-background", t), j(
703
+ (s = i.colors) == null ? void 0 : s.textOnPrimaryBackground,
704
704
  "--text-on-primary-background",
705
705
  t
706
706
  ), j(
707
- (r = s.colors) == null ? void 0 : r.secondaryBackground,
707
+ (r = i.colors) == null ? void 0 : r.secondaryBackground,
708
708
  "--secondary-background",
709
709
  t
710
710
  ), j(
711
- (n = s.colors) == null ? void 0 : n.textOnSecondaryBackground,
711
+ (n = i.colors) == null ? void 0 : n.textOnSecondaryBackground,
712
712
  "--text-on-secondary-background",
713
713
  t
714
714
  );
715
715
  };
716
- var Xt = Object.defineProperty, te = Object.getOwnPropertyDescriptor, Y = (s, t, e, i) => {
717
- for (var r = i > 1 ? void 0 : i ? te(t, e) : t, n = s.length - 1, o; n >= 0; n--)
718
- (o = s[n]) && (r = (i ? o(t, e, r) : o(r)) || r);
719
- return i && r && Xt(t, e, r), r;
716
+ var Qt = Object.defineProperty, Xt = Object.getOwnPropertyDescriptor, q = (i, t, e, s) => {
717
+ for (var r = s > 1 ? void 0 : s ? Xt(t, e) : t, n = i.length - 1, o; n >= 0; n--)
718
+ (o = i[n]) && (r = (s ? o(t, e, r) : o(r)) || r);
719
+ return s && r && Qt(t, e, r), r;
720
720
  };
721
721
  class x extends f {
722
722
  constructor() {
@@ -737,7 +737,7 @@ class x extends f {
737
737
  }
738
738
  _applyBranding() {
739
739
  var t;
740
- (t = this.application) != null && t.settings && Ct(this.application.settings.branding, this);
740
+ (t = this.application) != null && t.settings && Et(this.application.settings.branding, this);
741
741
  }
742
742
  async _renderSymbol() {
743
743
  var n;
@@ -746,8 +746,8 @@ class x extends f {
746
746
  return l;
747
747
  const e = async (o) => await import("./index-5087564d.mjs").then(
748
748
  (a) => a[o]
749
- ), { type: i, content: r } = t;
750
- switch (i) {
749
+ ), { type: s, content: r } = t;
750
+ switch (s) {
751
751
  case "Telia": {
752
752
  const o = await e(r);
753
753
  return o ? H`<telia-icon
@@ -762,7 +762,7 @@ class x extends f {
762
762
  }
763
763
  render() {
764
764
  return H`<button
765
- class=${Qt({
765
+ class=${Zt({
766
766
  trigger: !0,
767
767
  active: this.active,
768
768
  rendered: this.loaded
@@ -871,39 +871,39 @@ x.styles = [
871
871
  }
872
872
  `
873
873
  ];
874
- Y([
874
+ q([
875
875
  u({ attribute: !1 })
876
876
  ], x.prototype, "application", 2);
877
- Y([
877
+ q([
878
878
  D()
879
879
  ], x.prototype, "active", 2);
880
- Y([
880
+ q([
881
881
  D()
882
882
  ], x.prototype, "loaded", 2);
883
- Y([
883
+ q([
884
884
  D()
885
885
  ], x.prototype, "icon", 2);
886
- var ee = Object.defineProperty, se = Object.getOwnPropertyDescriptor, v = (s, t, e, i) => {
887
- for (var r = i > 1 ? void 0 : i ? se(t, e) : t, n = s.length - 1, o; n >= 0; n--)
888
- (o = s[n]) && (r = (i ? o(t, e, r) : o(r)) || r);
889
- return i && r && ee(t, e, r), r;
886
+ var te = Object.defineProperty, ee = Object.getOwnPropertyDescriptor, v = (i, t, e, s) => {
887
+ for (var r = s > 1 ? void 0 : s ? ee(t, e) : t, n = i.length - 1, o; n >= 0; n--)
888
+ (o = i[n]) && (r = (s ? o(t, e, r) : o(r)) || r);
889
+ return s && r && te(t, e, r), r;
890
890
  };
891
- const St = (s) => {
892
- class t extends s {
891
+ const Ct = (i) => {
892
+ class t extends i {
893
893
  constructor() {
894
894
  super(...arguments), this.properties = {}, this.context = {}, this.layout = {}, this.nodes = [];
895
895
  }
896
- writeProperties(i) {
897
- this.properties = i;
896
+ writeProperties(s) {
897
+ this.properties = s;
898
898
  }
899
- writeLayout(i) {
900
- this.layout = i;
899
+ writeLayout(s) {
900
+ this.layout = s;
901
901
  }
902
- writeContext(i) {
903
- this.context = i;
902
+ writeContext(s) {
903
+ this.context = s;
904
904
  }
905
- addChild(i) {
906
- i.parent = this, this.nodes.push(i);
905
+ addChild(s) {
906
+ s.parent = this, this.nodes.push(s);
907
907
  }
908
908
  connectedCallback() {
909
909
  super.connectedCallback(), this.renderRoot.host.style.setProperty(
@@ -943,12 +943,12 @@ const St = (s) => {
943
943
  u({ attribute: !1 })
944
944
  ], t.prototype, "parent", 2), t;
945
945
  };
946
- class Pt extends St(f) {
946
+ class St extends Ct(f) {
947
947
  render() {
948
948
  return H`Non resolved component`;
949
949
  }
950
950
  }
951
- Pt.styles = [
951
+ St.styles = [
952
952
  P`
953
953
  :host {
954
954
  display: block;
@@ -960,68 +960,68 @@ Pt.styles = [
960
960
  * Copyright 2020 Google LLC
961
961
  * SPDX-License-Identifier: BSD-3-Clause
962
962
  */
963
- const ie = (s) => s.strings === void 0;
963
+ const se = (i) => i.strings === void 0;
964
964
  /**
965
965
  * @license
966
966
  * Copyright 2017 Google LLC
967
967
  * SPDX-License-Identifier: BSD-3-Clause
968
968
  */
969
- const N = (s, t) => {
970
- var i;
971
- const e = s._$AN;
969
+ const N = (i, t) => {
970
+ var s;
971
+ const e = i._$AN;
972
972
  if (e === void 0)
973
973
  return !1;
974
974
  for (const r of e)
975
- (i = r._$AO) == null || i.call(r, t, !1), N(r, t);
975
+ (s = r._$AO) == null || s.call(r, t, !1), N(r, t);
976
976
  return !0;
977
- }, W = (s) => {
977
+ }, W = (i) => {
978
978
  let t, e;
979
979
  do {
980
- if ((t = s._$AM) === void 0)
980
+ if ((t = i._$AM) === void 0)
981
981
  break;
982
- e = t._$AN, e.delete(s), s = t;
982
+ e = t._$AN, e.delete(i), i = t;
983
983
  } while ((e == null ? void 0 : e.size) === 0);
984
- }, Ot = (s) => {
985
- for (let t; t = s._$AM; s = t) {
984
+ }, Pt = (i) => {
985
+ for (let t; t = i._$AM; i = t) {
986
986
  let e = t._$AN;
987
987
  if (e === void 0)
988
988
  t._$AN = e = /* @__PURE__ */ new Set();
989
- else if (e.has(s))
989
+ else if (e.has(i))
990
990
  break;
991
- e.add(s), oe(t);
991
+ e.add(i), ne(t);
992
992
  }
993
993
  };
994
- function re(s) {
995
- this._$AN !== void 0 ? (W(this), this._$AM = s, Ot(this)) : this._$AM = s;
994
+ function ie(i) {
995
+ this._$AN !== void 0 ? (W(this), this._$AM = i, Pt(this)) : this._$AM = i;
996
996
  }
997
- function ne(s, t = !1, e = 0) {
998
- const i = this._$AH, r = this._$AN;
997
+ function re(i, t = !1, e = 0) {
998
+ const s = this._$AH, r = this._$AN;
999
999
  if (r !== void 0 && r.size !== 0)
1000
1000
  if (t)
1001
- if (Array.isArray(i))
1002
- for (let n = e; n < i.length; n++)
1003
- N(i[n], !1), W(i[n]);
1001
+ if (Array.isArray(s))
1002
+ for (let n = e; n < s.length; n++)
1003
+ N(s[n], !1), W(s[n]);
1004
1004
  else
1005
- i != null && (N(i, !1), W(i));
1005
+ s != null && (N(s, !1), W(s));
1006
1006
  else
1007
- N(this, s);
1007
+ N(this, i);
1008
1008
  }
1009
- const oe = (s) => {
1010
- s.type == wt.CHILD && (s._$AP ?? (s._$AP = ne), s._$AQ ?? (s._$AQ = re));
1009
+ const ne = (i) => {
1010
+ i.type == bt.CHILD && (i._$AP ?? (i._$AP = re), i._$AQ ?? (i._$AQ = ie));
1011
1011
  };
1012
- class ae extends Et {
1012
+ class oe extends xt {
1013
1013
  constructor() {
1014
1014
  super(...arguments), this._$AN = void 0;
1015
1015
  }
1016
- _$AT(t, e, i) {
1017
- super._$AT(t, e, i), Ot(this), this.isConnected = t._$AU;
1016
+ _$AT(t, e, s) {
1017
+ super._$AT(t, e, s), Pt(this), this.isConnected = t._$AU;
1018
1018
  }
1019
1019
  _$AO(t, e = !0) {
1020
- var i, r;
1021
- t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (r = this.disconnected) == null || r.call(this)), e && (N(this, t), W(this));
1020
+ var s, r;
1021
+ t !== this.isConnected && (this.isConnected = t, t ? (s = this.reconnected) == null || s.call(this) : (r = this.disconnected) == null || r.call(this)), e && (N(this, t), W(this));
1022
1022
  }
1023
1023
  setValue(t) {
1024
- if (ie(this._$Ct))
1024
+ if (se(this._$Ct))
1025
1025
  this._$Ct._$AI(t, this);
1026
1026
  else {
1027
1027
  const e = [...this._$Ct._$AH];
@@ -1038,29 +1038,29 @@ class ae extends Et {
1038
1038
  * Copyright 2020 Google LLC
1039
1039
  * SPDX-License-Identifier: BSD-3-Clause
1040
1040
  */
1041
- const ce = () => new he();
1042
- class he {
1041
+ const ae = () => new ce();
1042
+ class ce {
1043
1043
  }
1044
- const X = /* @__PURE__ */ new WeakMap(), le = xt(class extends ae {
1045
- render(s) {
1044
+ const Q = /* @__PURE__ */ new WeakMap(), he = wt(class extends oe {
1045
+ render(i) {
1046
1046
  return l;
1047
1047
  }
1048
- update(s, [t]) {
1049
- var i;
1048
+ update(i, [t]) {
1049
+ var s;
1050
1050
  const e = t !== this.G;
1051
- return e && this.G !== void 0 && this.ot(void 0), (e || this.rt !== this.lt) && (this.G = t, this.ct = (i = s.options) == null ? void 0 : i.host, this.ot(this.lt = s.element)), l;
1051
+ return e && this.G !== void 0 && this.ot(void 0), (e || this.rt !== this.lt) && (this.G = t, this.ct = (s = i.options) == null ? void 0 : s.host, this.ot(this.lt = i.element)), l;
1052
1052
  }
1053
- ot(s) {
1053
+ ot(i) {
1054
1054
  if (typeof this.G == "function") {
1055
1055
  const t = this.ct ?? globalThis;
1056
- let e = X.get(t);
1057
- e === void 0 && (e = /* @__PURE__ */ new WeakMap(), X.set(t, e)), e.get(this.G) !== void 0 && this.G.call(this.ct, void 0), e.set(this.G, s), s !== void 0 && this.G.call(this.ct, s);
1056
+ let e = Q.get(t);
1057
+ e === void 0 && (e = /* @__PURE__ */ new WeakMap(), Q.set(t, e)), e.get(this.G) !== void 0 && this.G.call(this.ct, void 0), e.set(this.G, i), i !== void 0 && this.G.call(this.ct, i);
1058
1058
  } else
1059
- this.G.value = s;
1059
+ this.G.value = i;
1060
1060
  }
1061
1061
  get rt() {
1062
- var s, t;
1063
- return typeof this.G == "function" ? (s = X.get(this.ct ?? globalThis)) == null ? void 0 : s.get(this.G) : (t = this.G) == null ? void 0 : t.value;
1062
+ var i, t;
1063
+ return typeof this.G == "function" ? (i = Q.get(this.ct ?? globalThis)) == null ? void 0 : i.get(this.G) : (t = this.G) == null ? void 0 : t.value;
1064
1064
  }
1065
1065
  disconnected() {
1066
1066
  this.rt === this.lt && this.ot(void 0);
@@ -1069,34 +1069,34 @@ const X = /* @__PURE__ */ new WeakMap(), le = xt(class extends ae {
1069
1069
  this.ot(this.lt);
1070
1070
  }
1071
1071
  });
1072
- var it = /* @__PURE__ */ ((s) => (s.Inline = "inline", s.Trigger = "trigger", s))(it || {}), de = Object.defineProperty, pe = Object.getOwnPropertyDescriptor, Tt = (s, t, e, i) => {
1073
- for (var r = i > 1 ? void 0 : i ? pe(t, e) : t, n = s.length - 1, o; n >= 0; n--)
1074
- (o = s[n]) && (r = (i ? o(t, e, r) : o(r)) || r);
1075
- return i && r && de(t, e, r), r;
1072
+ var st = /* @__PURE__ */ ((i) => (i.Inline = "inline", i.Trigger = "trigger", i))(st || {}), le = Object.defineProperty, de = Object.getOwnPropertyDescriptor, pe = (i, t, e, s) => {
1073
+ for (var r = s > 1 ? void 0 : s ? de(t, e) : t, n = i.length - 1, o; n >= 0; n--)
1074
+ (o = i[n]) && (r = (s ? o(t, e, r) : o(r)) || r);
1075
+ return s && r && le(t, e, r), r;
1076
1076
  };
1077
- let V = class extends f {
1077
+ class it extends f {
1078
1078
  constructor() {
1079
- super(...arguments), this.nodes = [], this.wrapperRef = ce();
1079
+ super(...arguments), this.nodes = [], this.wrapperRef = ae();
1080
1080
  }
1081
- addChild(s) {
1082
- s.parent = this, this.nodes.push(s);
1081
+ addChild(t) {
1082
+ t.parent = this, this.nodes.push(t);
1083
1083
  }
1084
1084
  applyBranding() {
1085
1085
  if (this.wrapperRef.value) {
1086
- const s = this.application.settings;
1087
- s != null && s.branding && Ct(s.branding, this.wrapperRef.value);
1086
+ const t = this.application.settings;
1087
+ t != null && t.branding && Et(t.branding, this.wrapperRef.value);
1088
1088
  }
1089
1089
  }
1090
- firstUpdated(s) {
1090
+ firstUpdated(t) {
1091
1091
  this.applyBranding();
1092
1092
  }
1093
1093
  render() {
1094
- return this.application.renderStrategy === it.Trigger && this.renderRoot.host.classList.add("floating"), H`<div class="widget-container" ${le(this.wrapperRef)}>
1095
- ${At(this.nodes, (s) => s)}
1094
+ return this.application.renderStrategy === st.Trigger && this.renderRoot.host.classList.add("floating"), H`<div class="widget-container" ${he(this.wrapperRef)}>
1095
+ ${At(this.nodes, (t) => t)}
1096
1096
  </div>`;
1097
1097
  }
1098
- };
1099
- V.styles = P`
1098
+ }
1099
+ it.styles = P`
1100
1100
  :host {
1101
1101
  --font-family: TeliaSans, Helvetica, Arial, Lucida Grande, sans-serif;
1102
1102
  --spacing-xs: 0.2rem;
@@ -1175,16 +1175,13 @@ V.styles = P`
1175
1175
  }
1176
1176
  }
1177
1177
  `;
1178
- Tt([
1178
+ pe([
1179
1179
  u({ attribute: !1 })
1180
- ], V.prototype, "application", 2);
1181
- V = Tt([
1182
- bt("ace-wrapper")
1183
- ], V);
1184
- var ue = Object.defineProperty, ge = Object.getOwnPropertyDescriptor, F = (s, t, e, i) => {
1185
- for (var r = i > 1 ? void 0 : i ? ge(t, e) : t, n = s.length - 1, o; n >= 0; n--)
1186
- (o = s[n]) && (r = (i ? o(t, e, r) : o(r)) || r);
1187
- return i && r && ue(t, e, r), r;
1180
+ ], it.prototype, "application", 2);
1181
+ var ue = Object.defineProperty, ge = Object.getOwnPropertyDescriptor, Y = (i, t, e, s) => {
1182
+ for (var r = s > 1 ? void 0 : s ? ge(t, e) : t, n = i.length - 1, o; n >= 0; n--)
1183
+ (o = i[n]) && (r = (s ? o(t, e, r) : o(r)) || r);
1184
+ return s && r && ue(t, e, r), r;
1188
1185
  };
1189
1186
  let S = class extends f {
1190
1187
  constructor() {
@@ -1196,24 +1193,24 @@ let S = class extends f {
1196
1193
  disconnectedCallback() {
1197
1194
  super.disconnectedCallback(), this.removeEventListener("environment-created", this.onEnvironmentCreated);
1198
1195
  }
1199
- async onEnvironmentCreated(s) {
1200
- this.widget = s.detail.widget, await this.activate(), this.requestUpdate();
1196
+ async onEnvironmentCreated(i) {
1197
+ this.widget = i.detail.widget, await this.activate(), this.requestUpdate();
1201
1198
  }
1202
1199
  async activate() {
1203
1200
  this.widget && (await this.widget.activate(), this.status = "activated");
1204
1201
  }
1205
1202
  async getGlobalEnvironment() {
1206
- const s = globalThis.widgets;
1207
- s && (this.widget = s.applications.find(
1203
+ const i = globalThis.widgets;
1204
+ i && (this.widget = i.applications.find(
1208
1205
  (t) => t.name === this.name
1209
1206
  ), await this.activate());
1210
1207
  }
1211
1208
  render() {
1212
1209
  if (!this.widget || this.status !== "activated")
1213
1210
  return l;
1214
- if (this.widget.renderStrategy === it.Trigger) {
1215
- const s = new x();
1216
- return s.application = this.widget, s;
1211
+ if (this.widget.renderStrategy === st.Trigger) {
1212
+ const i = new x();
1213
+ return i.application = this.widget, i;
1217
1214
  }
1218
1215
  return this.widget.render();
1219
1216
  }
@@ -1225,32 +1222,33 @@ S.styles = [
1225
1222
  }
1226
1223
  `
1227
1224
  ];
1228
- F([
1225
+ Y([
1229
1226
  u({ attribute: !0 })
1230
1227
  ], S.prototype, "name", 2);
1231
- F([
1228
+ Y([
1232
1229
  D()
1233
1230
  ], S.prototype, "widget", 2);
1234
- F([
1231
+ Y([
1235
1232
  D()
1236
1233
  ], S.prototype, "status", 2);
1237
- S = F([
1238
- bt("ace-widget")
1234
+ S = Y([
1235
+ Ft("ace-widget")
1239
1236
  ], S);
1240
1237
  customElements.get("ace-trigger") || customElements.define("ace-trigger", x);
1241
- customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", Pt);
1242
- const fe = (s) => {
1238
+ customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", St);
1239
+ customElements.get("ace-wrapper") || customElements.define("ace-wrapper", it);
1240
+ const fe = (i) => {
1243
1241
  const t = {};
1244
- return Object.keys(s).forEach((e) => {
1245
- e.indexOf("css-") > -1 && (t[e] = s[e]);
1242
+ return Object.keys(i).forEach((e) => {
1243
+ e.indexOf("css-") > -1 && (t[e] = i[e]);
1246
1244
  }), t;
1247
- }, $e = (s, t) => {
1245
+ }, $e = (i, t) => {
1248
1246
  const e = fe(t);
1249
- Object.entries(e).forEach(([i, r]) => {
1250
- s.style.setProperty(i.replace("css-", ""), r);
1247
+ Object.entries(e).forEach(([s, r]) => {
1248
+ i.style.setProperty(s.replace("css-", ""), r);
1251
1249
  });
1252
1250
  };
1253
- class me extends St(f) {
1251
+ class me extends Ct(f) {
1254
1252
  constructor() {
1255
1253
  super(...arguments), this.nodes = [];
1256
1254
  }