@telia-ace/widget-components-area-flamingo 1.1.12-rc.10 → 1.1.12-rc.5

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, Q = B.ShadowRoot && (B.ShadyCSS === void 0 || B.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, X = Symbol(), rt = /* @__PURE__ */ new WeakMap();
7
- let ft = class {
8
- constructor(t, e, s) {
9
- if (this._$cssResult$ = !0, s !== X)
6
+ const I = globalThis, st = I.ShadowRoot && (I.ShadyCSS === void 0 || I.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, it = Symbol(), ot = /* @__PURE__ */ new WeakMap();
7
+ let _t = class {
8
+ constructor(t, e, i) {
9
+ if (this._$cssResult$ = !0, i !== it)
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 (Q && 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));
16
+ if (st && t === void 0) {
17
+ const i = e !== void 0 && e.length === 1;
18
+ i && (t = ot.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && ot.set(e, t));
19
19
  }
20
20
  return t;
21
21
  }
@@ -23,79 +23,79 @@ let ft = class {
23
23
  return this.cssText;
24
24
  }
25
25
  };
26
- const Ot = (i) => new ft(typeof i == "string" ? i : i + "", void 0, X), S = (i, ...t) => {
27
- const e = i.length === 1 ? i[0] : t.reduce((s, r, n) => s + ((o) => {
26
+ const Ut = (s) => new _t(typeof s == "string" ? s : s + "", void 0, it), P = (s, ...t) => {
27
+ const e = s.length === 1 ? s[0] : t.reduce((i, r, n) => i + ((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) + i[n + 1], i[0]);
34
- return new ft(e, i, X);
35
- }, Tt = (i, t) => {
36
- if (Q)
37
- i.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
33
+ })(r) + s[n + 1], s[0]);
34
+ return new _t(e, s, it);
35
+ }, Nt = (s, t) => {
36
+ if (st)
37
+ s.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
38
38
  else
39
39
  for (const e of t) {
40
- const s = document.createElement("style"), r = B.litNonce;
41
- r !== void 0 && s.setAttribute("nonce", r), s.textContent = e.cssText, i.appendChild(s);
40
+ const i = document.createElement("style"), r = I.litNonce;
41
+ r !== void 0 && i.setAttribute("nonce", r), i.textContent = e.cssText, s.appendChild(i);
42
42
  }
43
- }, nt = Q ? (i) => i : (i) => i instanceof CSSStyleSheet ? ((t) => {
43
+ }, at = st ? (s) => s : (s) => s instanceof CSSStyleSheet ? ((t) => {
44
44
  let e = "";
45
- for (const s of t.cssRules)
46
- e += s.cssText;
47
- return Ot(e);
48
- })(i) : i;
45
+ for (const i of t.cssRules)
46
+ e += i.cssText;
47
+ return Ut(e);
48
+ })(s) : s;
49
49
  /**
50
50
  * @license
51
51
  * Copyright 2017 Google LLC
52
52
  * SPDX-License-Identifier: BSD-3-Clause
53
53
  */
54
- const { is: Ut, defineProperty: Nt, getOwnPropertyDescriptor: Mt, getOwnPropertyNames: kt, getOwnPropertySymbols: Ht, getPrototypeOf: Rt } = Object, _ = globalThis, ot = _.trustedTypes, Lt = ot ? ot.emptyScript : "", Y = _.reactiveElementPolyfillSupport, O = (i, t) => i, I = { toAttribute(i, t) {
54
+ const { is: Mt, defineProperty: Ht, getOwnPropertyDescriptor: Rt, getOwnPropertyNames: kt, getOwnPropertySymbols: Dt, getPrototypeOf: Lt } = Object, m = globalThis, ct = m.trustedTypes, jt = ct ? ct.emptyScript : "", K = m.reactiveElementPolyfillSupport, T = (s, t) => s, G = { toAttribute(s, t) {
55
55
  switch (t) {
56
56
  case Boolean:
57
- i = i ? Lt : null;
57
+ s = s ? jt : null;
58
58
  break;
59
59
  case Object:
60
60
  case Array:
61
- i = i == null ? i : JSON.stringify(i);
61
+ s = s == null ? s : JSON.stringify(s);
62
62
  }
63
- return i;
64
- }, fromAttribute(i, t) {
65
- let e = i;
63
+ return s;
64
+ }, fromAttribute(s, t) {
65
+ let e = s;
66
66
  switch (t) {
67
67
  case Boolean:
68
- e = i !== null;
68
+ e = s !== null;
69
69
  break;
70
70
  case Number:
71
- e = i === null ? null : Number(i);
71
+ e = s === null ? null : Number(s);
72
72
  break;
73
73
  case Object:
74
74
  case Array:
75
75
  try {
76
- e = JSON.parse(i);
76
+ e = JSON.parse(s);
77
77
  } catch {
78
78
  e = null;
79
79
  }
80
80
  }
81
81
  return e;
82
- } }, tt = (i, t) => !Ut(i, t), at = { attribute: !0, type: String, converter: I, reflect: !1, hasChanged: tt };
83
- Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), _.litPropertyMetadata ?? (_.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
84
- class E extends HTMLElement {
82
+ } }, rt = (s, t) => !Mt(s, t), ht = { attribute: !0, type: String, converter: G, reflect: !1, hasChanged: rt };
83
+ Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), m.litPropertyMetadata ?? (m.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
84
+ class C extends HTMLElement {
85
85
  static addInitializer(t) {
86
86
  this._$Ei(), (this.l ?? (this.l = [])).push(t);
87
87
  }
88
88
  static get observedAttributes() {
89
89
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
90
90
  }
91
- static createProperty(t, e = at) {
91
+ static createProperty(t, e = ht) {
92
92
  if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
93
- const s = Symbol(), r = this.getPropertyDescriptor(t, s, e);
94
- r !== void 0 && Nt(this.prototype, t, r);
93
+ const i = Symbol(), r = this.getPropertyDescriptor(t, i, e);
94
+ r !== void 0 && Ht(this.prototype, t, r);
95
95
  }
96
96
  }
97
- static getPropertyDescriptor(t, e, s) {
98
- const { get: r, set: n } = Mt(this.prototype, t) ?? { get() {
97
+ static getPropertyDescriptor(t, e, i) {
98
+ const { get: r, set: n } = Rt(this.prototype, t) ?? { get() {
99
99
  return this[e];
100
100
  }, set(o) {
101
101
  this[e] = o;
@@ -104,36 +104,36 @@ 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, s);
107
+ n.call(this, o), this.requestUpdate(t, c, i);
108
108
  }, configurable: !0, enumerable: !0 };
109
109
  }
110
110
  static getPropertyOptions(t) {
111
- return this.elementProperties.get(t) ?? at;
111
+ return this.elementProperties.get(t) ?? ht;
112
112
  }
113
113
  static _$Ei() {
114
- if (this.hasOwnProperty(O("elementProperties")))
114
+ if (this.hasOwnProperty(T("elementProperties")))
115
115
  return;
116
- const t = Rt(this);
116
+ const t = Lt(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
- if (this.hasOwnProperty(O("finalized")))
120
+ if (this.hasOwnProperty(T("finalized")))
121
121
  return;
122
- if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(O("properties"))) {
123
- const e = this.properties, s = [...kt(e), ...Ht(e)];
124
- for (const r of s)
122
+ if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(T("properties"))) {
123
+ const e = this.properties, i = [...kt(e), ...Dt(e)];
124
+ for (const r of i)
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 [s, r] of e)
132
- this.elementProperties.set(s, r);
131
+ for (const [i, r] of e)
132
+ this.elementProperties.set(i, r);
133
133
  }
134
134
  this._$Eh = /* @__PURE__ */ new Map();
135
- for (const [e, s] of this.elementProperties) {
136
- const r = this._$Eu(e, s);
135
+ for (const [e, i] of this.elementProperties) {
136
+ const r = this._$Eu(e, i);
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 s = new Set(t.flat(1 / 0).reverse());
145
- for (const r of s)
146
- e.unshift(nt(r));
144
+ const i = new Set(t.flat(1 / 0).reverse());
145
+ for (const r of i)
146
+ e.unshift(at(r));
147
147
  } else
148
- t !== void 0 && e.push(nt(t));
148
+ t !== void 0 && e.push(at(t));
149
149
  return e;
150
150
  }
151
151
  static _$Eu(t, e) {
152
- const s = e.attribute;
153
- return s === !1 ? void 0 : typeof s == "string" ? s : typeof t == "string" ? t.toLowerCase() : void 0;
152
+ const i = e.attribute;
153
+ return i === !1 ? void 0 : typeof i == "string" ? i : 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 s of e.keys())
173
- this.hasOwnProperty(s) && (t.set(s, this[s]), delete this[s]);
172
+ for (const i of e.keys())
173
+ this.hasOwnProperty(i) && (t.set(i, this[i]), delete this[i]);
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 Tt(t, this.constructor.elementStyles), t;
178
+ return Nt(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 s;
184
- return (s = e.hostConnected) == null ? void 0 : s.call(e);
183
+ var i;
184
+ return (i = e.hostConnected) == null ? void 0 : i.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 s;
193
- return (s = e.hostDisconnected) == null ? void 0 : s.call(e);
192
+ var i;
193
+ return (i = e.hostDisconnected) == null ? void 0 : i.call(e);
194
194
  });
195
195
  }
196
- attributeChangedCallback(t, e, s) {
197
- this._$AK(t, s);
196
+ attributeChangedCallback(t, e, i) {
197
+ this._$AK(t, i);
198
198
  }
199
199
  _$EO(t, e) {
200
200
  var n;
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);
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 : G).toAttribute(e, i.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 s = this.constructor, r = s._$Eh.get(t);
209
+ const i = this.constructor, r = i._$Eh.get(t);
210
210
  if (r !== void 0 && this._$Em !== r) {
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;
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 : G;
212
212
  this._$Em = r, this[r] = c.fromAttribute(e, o.type), this._$Em = null;
213
213
  }
214
214
  }
215
- requestUpdate(t, e, s, r = !1, n) {
215
+ requestUpdate(t, e, i, r = !1, n) {
216
216
  if (t !== void 0) {
217
- if (s ?? (s = this.constructor.getPropertyOptions(t)), !(s.hasChanged ?? tt)(r ? n : this[t], e))
217
+ if (i ?? (i = this.constructor.getPropertyOptions(t)), !(i.hasChanged ?? rt)(r ? n : this[t], e))
218
218
  return;
219
- this.C(t, e, s);
219
+ this.C(t, e, i);
220
220
  }
221
221
  this.isUpdatePending === !1 && (this._$Eg = this._$EP());
222
222
  }
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);
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);
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 s;
240
+ var i;
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), (s = this._$ES) == null || s.forEach((r) => {
257
+ t = this.shouldUpdate(e), t ? (this.willUpdate(e), (i = this._$ES) == null || i.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((s) => {
270
+ (e = this._$ES) == null || e.forEach((i) => {
271
271
  var r;
272
- return (r = s.hostUpdated) == null ? void 0 : r.call(s);
272
+ return (r = i.hostUpdated) == null ? void 0 : r.call(i);
273
273
  }), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
274
274
  }
275
275
  _$ET() {
@@ -292,86 +292,86 @@ class E extends HTMLElement {
292
292
  firstUpdated(t) {
293
293
  }
294
294
  }
295
- E.elementStyles = [], E.shadowRootOptions = { mode: "open" }, E[O("elementProperties")] = /* @__PURE__ */ new Map(), E[O("finalized")] = /* @__PURE__ */ new Map(), Y == null || Y({ ReactiveElement: E }), (_.reactiveElementVersions ?? (_.reactiveElementVersions = [])).push("2.0.1");
295
+ C.elementStyles = [], C.shadowRootOptions = { mode: "open" }, C[T("elementProperties")] = /* @__PURE__ */ new Map(), C[T("finalized")] = /* @__PURE__ */ new Map(), K == null || K({ ReactiveElement: C }), (m.reactiveElementVersions ?? (m.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 T = globalThis, G = T.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, N = () => b.createComment(""), M = (i) => i === null || typeof i != "object" && typeof i != "function", _t = Array.isArray, jt = (i) => _t(i) || typeof (i == null ? void 0 : i[Symbol.iterator]) == "function", F = `[
302
- \f\r]`, P = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ht = /-->/g, lt = />/g, y = RegExp(`>|${F}(?:([^\\s"'>=/]+)(${F}*=${F}*(?:[^
303
- \f\r"'\`<>=]|("|')|))|$)`, "g"), dt = /'/g, pt = /"/g, yt = /^(?:script|style|textarea|title)$/i, zt = (i) => (t, ...e) => ({ _$litType$: i, strings: t, values: e }), k = zt(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"))
301
+ const U = globalThis, W = U.trustedTypes, lt = W ? W.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, mt = "$lit$", _ = `lit$${(Math.random() + "").slice(9)}$`, yt = "?" + _, zt = `<${yt}>`, w = document, M = () => w.createComment(""), H = (s) => s === null || typeof s != "object" && typeof s != "function", vt = Array.isArray, Bt = (s) => vt(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", Z = `[
302
+ \f\r]`, O = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, dt = /-->/g, pt = />/g, v = RegExp(`>|${Z}(?:([^\\s"'>=/]+)(${Z}*=${Z}*(?:[^
303
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), ut = /'/g, gt = /"/g, At = /^(?:script|style|textarea|title)$/i, It = (s) => (t, ...e) => ({ _$litType$: s, strings: t, values: e }), R = It(1), x = Symbol.for("lit-noChange"), l = Symbol.for("lit-nothing"), ft = /* @__PURE__ */ new WeakMap(), b = w.createTreeWalker(w, 129);
304
+ function bt(s, t) {
305
+ if (!Array.isArray(s) || !s.hasOwnProperty("raw"))
306
306
  throw Error("invalid template strings array");
307
- return ct !== void 0 ? ct.createHTML(t) : t;
307
+ return lt !== void 0 ? lt.createHTML(t) : t;
308
308
  }
309
- const Bt = (i, t) => {
310
- const e = i.length - 1, s = [];
311
- let r, n = t === 2 ? "<svg>" : "", o = P;
309
+ const Gt = (s, t) => {
310
+ const e = s.length - 1, i = [];
311
+ let r, n = t === 2 ? "<svg>" : "", o = O;
312
312
  for (let c = 0; c < e; c++) {
313
- const a = i[c];
313
+ const a = s[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
- g = o.lastIndex, o === P ? 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 ?? P, 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 = P : (o = y, r = void 0);
317
- const $ = o === y && i[c + 1].startsWith("/>") ? " " : "";
318
- n += o === P ? a + Dt : h >= 0 ? (s.push(d), a.slice(0, h) + $t + a.slice(h) + m + $) : a + m + (h === -2 ? c : $);
316
+ g = o.lastIndex, o === O ? p[1] === "!--" ? o = dt : p[1] !== void 0 ? o = pt : p[2] !== void 0 ? (At.test(p[2]) && (r = RegExp("</" + p[2], "g")), o = v) : p[3] !== void 0 && (o = v) : o === v ? 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 ? v : p[3] === '"' ? gt : ut) : o === gt || o === ut ? o = v : o === dt || o === pt ? o = O : (o = v, r = void 0);
317
+ const $ = o === v && s[c + 1].startsWith("/>") ? " " : "";
318
+ n += o === O ? a + zt : h >= 0 ? (i.push(d), a.slice(0, h) + mt + a.slice(h) + _ + $) : a + _ + (h === -2 ? c : $);
319
319
  }
320
- return [vt(i, n + (i[e] || "<?>") + (t === 2 ? "</svg>" : "")), s];
320
+ return [bt(s, n + (s[e] || "<?>") + (t === 2 ? "</svg>" : "")), i];
321
321
  };
322
- class H {
323
- constructor({ strings: t, _$litType$: e }, s) {
322
+ class k {
323
+ constructor({ strings: t, _$litType$: e }, i) {
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] = Bt(t, e);
328
- if (this.el = H.createElement(d, s), A.currentNode = this.el.content, e === 2) {
327
+ const c = t.length - 1, a = this.parts, [d, p] = Gt(t, e);
328
+ if (this.el = k.createElement(d, i), b.currentNode = this.el.content, e === 2) {
329
329
  const h = this.el.content.firstChild;
330
330
  h.replaceWith(...h.childNodes);
331
331
  }
332
- for (; (r = A.nextNode()) !== null && a.length < c; ) {
332
+ for (; (r = b.nextNode()) !== null && a.length < c; ) {
333
333
  if (r.nodeType === 1) {
334
334
  if (r.hasAttributes())
335
335
  for (const h of r.getAttributeNames())
336
- if (h.endsWith($t)) {
337
- const g = p[o++], $ = r.getAttribute(h).split(m), j = /([.?@])?(.*)/.exec(g);
338
- a.push({ type: 1, index: n, name: j[2], strings: $, ctor: j[1] === "." ? Gt : j[1] === "?" ? Wt : j[1] === "@" ? Vt : V }), r.removeAttribute(h);
336
+ if (h.endsWith(mt)) {
337
+ const g = p[o++], $ = r.getAttribute(h).split(_), z = /([.?@])?(.*)/.exec(g);
338
+ a.push({ type: 1, index: n, name: z[2], strings: $, ctor: z[1] === "." ? Vt : z[1] === "?" ? qt : z[1] === "@" ? Yt : Y }), r.removeAttribute(h);
339
339
  } else
340
- h.startsWith(m) && (a.push({ type: 6, index: n }), r.removeAttribute(h));
341
- if (yt.test(r.tagName)) {
342
- const h = r.textContent.split(m), g = h.length - 1;
340
+ h.startsWith(_) && (a.push({ type: 6, index: n }), r.removeAttribute(h));
341
+ if (At.test(r.tagName)) {
342
+ const h = r.textContent.split(_), g = h.length - 1;
343
343
  if (g > 0) {
344
- r.textContent = G ? G.emptyScript : "";
344
+ r.textContent = W ? W.emptyScript : "";
345
345
  for (let $ = 0; $ < g; $++)
346
- r.append(h[$], N()), A.nextNode(), a.push({ type: 2, index: ++n });
347
- r.append(h[g], N());
346
+ r.append(h[$], M()), b.nextNode(), a.push({ type: 2, index: ++n });
347
+ r.append(h[g], M());
348
348
  }
349
349
  }
350
350
  } else if (r.nodeType === 8)
351
- if (r.data === mt)
351
+ if (r.data === yt)
352
352
  a.push({ type: 2, index: n });
353
353
  else {
354
354
  let h = -1;
355
- for (; (h = r.data.indexOf(m, h + 1)) !== -1; )
356
- a.push({ type: 7, index: n }), h += m.length - 1;
355
+ for (; (h = r.data.indexOf(_, h + 1)) !== -1; )
356
+ a.push({ type: 7, index: n }), h += _.length - 1;
357
357
  }
358
358
  n++;
359
359
  }
360
360
  }
361
361
  static createElement(t, e) {
362
- const s = b.createElement("template");
363
- return s.innerHTML = t, s;
362
+ const i = w.createElement("template");
363
+ return i.innerHTML = t, i;
364
364
  }
365
365
  }
366
- function C(i, t, e = i, s) {
366
+ function E(s, t, e = s, i) {
367
367
  var o, c;
368
- if (t === w)
368
+ if (t === x)
369
369
  return t;
370
- let r = s !== void 0 ? (o = e._$Co) == null ? void 0 : o[s] : e._$Cl;
371
- const n = M(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(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;
370
+ let r = i !== void 0 ? (o = e._$Co) == null ? void 0 : o[i] : e._$Cl;
371
+ const n = H(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 = E(s, r._$AS(s, t.values), r, i)), t;
373
373
  }
374
- class It {
374
+ class Wt {
375
375
  constructor(t, e) {
376
376
  this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
377
377
  }
@@ -382,31 +382,31 @@ class It {
382
382
  return this._$AM._$AU;
383
383
  }
384
384
  u(t) {
385
- const { el: { content: e }, parts: s } = this._$AD, r = ((t == null ? void 0 : t.creationScope) ?? b).importNode(e, !0);
386
- A.currentNode = r;
387
- let n = A.nextNode(), o = 0, c = 0, a = s[0];
385
+ const { el: { content: e }, parts: i } = this._$AD, r = ((t == null ? void 0 : t.creationScope) ?? w).importNode(e, !0);
386
+ b.currentNode = r;
387
+ let n = b.nextNode(), o = 0, c = 0, a = i[0];
388
388
  for (; a !== void 0; ) {
389
389
  if (o === a.index) {
390
390
  let d;
391
- a.type === 2 ? d = new R(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];
391
+ a.type === 2 ? d = new D(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];
392
392
  }
393
- o !== (a == null ? void 0 : a.index) && (n = A.nextNode(), o++);
393
+ o !== (a == null ? void 0 : a.index) && (n = b.nextNode(), o++);
394
394
  }
395
- return A.currentNode = b, r;
395
+ return b.currentNode = w, r;
396
396
  }
397
397
  p(t) {
398
398
  let e = 0;
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++;
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++;
401
401
  }
402
402
  }
403
- class R {
403
+ class D {
404
404
  get _$AU() {
405
405
  var t;
406
406
  return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
407
407
  }
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;
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;
410
410
  }
411
411
  get parentNode() {
412
412
  let t = this._$AA.parentNode;
@@ -420,7 +420,7 @@ class R {
420
420
  return this._$AB;
421
421
  }
422
422
  _$AI(t, e = this) {
423
- t = C(this, t, e), M(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) : jt(t) ? this.T(t) : this._(t);
423
+ t = E(this, t, e), H(t) ? t === l || t == null || t === "" ? (this._$AH !== l && this._$AR(), this._$AH = l) : t !== this._$AH && t !== x && this._(t) : t._$litType$ !== void 0 ? this.g(t) : t.nodeType !== void 0 ? this.$(t) : Bt(t) ? this.T(t) : this._(t);
424
424
  }
425
425
  k(t) {
426
426
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -429,33 +429,33 @@ class R {
429
429
  this._$AH !== t && (this._$AR(), this._$AH = this.k(t));
430
430
  }
431
431
  _(t) {
432
- this._$AH !== l && M(this._$AH) ? this._$AA.nextSibling.data = t : this.$(b.createTextNode(t)), this._$AH = t;
432
+ this._$AH !== l && H(this._$AH) ? this._$AA.nextSibling.data = t : this.$(w.createTextNode(t)), this._$AH = t;
433
433
  }
434
434
  g(t) {
435
435
  var n;
436
- const { values: e, _$litType$: s } = t, r = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = H.createElement(vt(s.h, s.h[0]), this.options)), s);
436
+ const { values: e, _$litType$: i } = t, r = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = k.createElement(bt(i.h, i.h[0]), this.options)), i);
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 It(r, this), c = o.u(this.options);
440
+ const o = new Wt(r, this), c = o.u(this.options);
441
441
  o.p(e), this.$(c), this._$AH = o;
442
442
  }
443
443
  }
444
444
  _$AC(t) {
445
- let e = ut.get(t.strings);
446
- return e === void 0 && ut.set(t.strings, e = new H(t)), e;
445
+ let e = ft.get(t.strings);
446
+ return e === void 0 && ft.set(t.strings, e = new k(t)), e;
447
447
  }
448
448
  T(t) {
449
- _t(this._$AH) || (this._$AH = [], this._$AR());
449
+ vt(this._$AH) || (this._$AH = [], this._$AR());
450
450
  const e = this._$AH;
451
- let s, r = 0;
451
+ let i, r = 0;
452
452
  for (const n of t)
453
- r === e.length ? e.push(s = new R(this.k(N()), this.k(N()), this, this.options)) : s = e[r], s._$AI(n), r++;
454
- r < e.length && (this._$AR(s && s._$AB.nextSibling, r), e.length = r);
453
+ r === e.length ? e.push(i = new D(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);
455
455
  }
456
456
  _$AR(t = this._$AA.nextSibling, e) {
457
- var s;
458
- for ((s = this._$AP) == null ? void 0 : s.call(this, !1, !0, e); t && t !== this._$AB; ) {
457
+ var i;
458
+ for ((i = this._$AP) == null ? void 0 : i.call(this, !1, !0, e); t && t !== this._$AB; ) {
459
459
  const r = t.nextSibling;
460
460
  t.remove(), t = r;
461
461
  }
@@ -465,26 +465,26 @@ class R {
465
465
  this._$AM === void 0 && (this._$Cv = t, (e = this._$AP) == null || e.call(this, t));
466
466
  }
467
467
  }
468
- class V {
468
+ class Y {
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, 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;
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;
477
477
  }
478
- _$AI(t, e = this, s, r) {
478
+ _$AI(t, e = this, i, r) {
479
479
  const n = this.strings;
480
480
  let o = !1;
481
481
  if (n === void 0)
482
- t = C(this, t, e, 0), o = !M(t) || t !== this._$AH && t !== w, o && (this._$AH = t);
482
+ t = E(this, t, e, 0), o = !H(t) || t !== this._$AH && t !== x, o && (this._$AH = t);
483
483
  else {
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[s + a], e, a), d === w && (d = this._$AH[a]), o || (o = !M(d) || d !== this._$AH[a]), d === l ? t = l : t !== l && (t += (d ?? "") + n[a + 1]), this._$AH[a] = d;
487
+ d = E(this, c[i + a], e, a), d === x && (d = this._$AH[a]), o || (o = !H(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 V {
492
492
  t === l ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
493
493
  }
494
494
  }
495
- class Gt extends V {
495
+ class Vt extends Y {
496
496
  constructor() {
497
497
  super(...arguments), this.type = 3;
498
498
  }
@@ -500,7 +500,7 @@ class Gt extends V {
500
500
  this.element[this.name] = t === l ? void 0 : t;
501
501
  }
502
502
  }
503
- class Wt extends V {
503
+ class qt extends Y {
504
504
  constructor() {
505
505
  super(...arguments), this.type = 4;
506
506
  }
@@ -508,49 +508,49 @@ class Wt extends V {
508
508
  this.element.toggleAttribute(this.name, !!t && t !== l);
509
509
  }
510
510
  }
511
- class Vt extends V {
512
- constructor(t, e, s, r, n) {
513
- super(t, e, s, r, n), this.type = 5;
511
+ class Yt extends Y {
512
+ constructor(t, e, i, r, n) {
513
+ super(t, e, i, r, n), this.type = 5;
514
514
  }
515
515
  _$AI(t, e = this) {
516
- if ((t = C(this, t, e, 0) ?? l) === w)
516
+ if ((t = E(this, t, e, 0) ?? l) === x)
517
517
  return;
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;
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;
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 qt {
527
- constructor(t, e, s) {
528
- this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = s;
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;
529
529
  }
530
530
  get _$AU() {
531
531
  return this._$AM._$AU;
532
532
  }
533
533
  _$AI(t) {
534
- C(this, t);
534
+ E(this, t);
535
535
  }
536
536
  }
537
- const J = T.litHtmlPolyfillSupport;
538
- J == null || J(H, R), (T.litHtmlVersions ?? (T.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$;
537
+ const Q = U.litHtmlPolyfillSupport;
538
+ Q == null || Q(k, D), (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$;
542
542
  if (r === void 0) {
543
543
  const n = (e == null ? void 0 : e.renderBefore) ?? null;
544
- s._$litPart$ = r = new R(t.insertBefore(N(), n), n, void 0, e ?? {});
544
+ i._$litPart$ = r = new D(t.insertBefore(M(), n), n, void 0, e ?? {});
545
545
  }
546
- return r._$AI(i), r;
546
+ return r._$AI(s), r;
547
547
  };
548
548
  /**
549
549
  * @license
550
550
  * Copyright 2017 Google LLC
551
551
  * SPDX-License-Identifier: BSD-3-Clause
552
552
  */
553
- let f = class extends E {
553
+ let f = class extends C {
554
554
  constructor() {
555
555
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
556
556
  }
@@ -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 = Yt(e, this.renderRoot, this.renderOptions);
564
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Jt(e, this.renderRoot, this.renderOptions);
565
565
  }
566
566
  connectedCallback() {
567
567
  var t;
@@ -572,24 +572,24 @@ let f = class extends E {
572
572
  super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
573
573
  }
574
574
  render() {
575
- return w;
575
+ return x;
576
576
  }
577
577
  };
578
- var gt;
579
- f._$litElement$ = !0, f.finalized = !0, (gt = globalThis.litElementHydrateSupport) == null || gt.call(globalThis, { LitElement: f });
580
- const K = globalThis.litElementPolyfillSupport;
581
- K == null || K({ LitElement: f });
578
+ var $t;
579
+ f._$litElement$ = !0, f.finalized = !0, ($t = globalThis.litElementHydrateSupport) == null || $t.call(globalThis, { LitElement: f });
580
+ const X = globalThis.litElementPolyfillSupport;
581
+ X == null || X({ 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(i, t) {
589
- if (i !== void 0) {
588
+ function* wt(s, t) {
589
+ if (s !== void 0) {
590
590
  let e = 0;
591
- for (const s of i)
592
- yield t(s, e++);
591
+ for (const i of s)
592
+ yield t(i, e++);
593
593
  }
594
594
  }
595
595
  /**
@@ -597,55 +597,65 @@ function* At(i, t) {
597
597
  * Copyright 2017 Google LLC
598
598
  * SPDX-License-Identifier: BSD-3-Clause
599
599
  */
600
- const Ft = { attribute: !0, type: String, converter: I, reflect: !1, hasChanged: tt }, Jt = (i = Ft, t, e) => {
601
- const { kind: s, metadata: r } = e;
600
+ const F = (s) => (t, e) => {
601
+ e !== void 0 ? e.addInitializer(() => {
602
+ customElements.define(s, t);
603
+ }) : customElements.define(s, t);
604
+ };
605
+ /**
606
+ * @license
607
+ * Copyright 2017 Google LLC
608
+ * SPDX-License-Identifier: BSD-3-Clause
609
+ */
610
+ const Kt = { attribute: !0, type: String, converter: G, reflect: !1, hasChanged: rt }, Zt = (s = Kt, t, e) => {
611
+ const { kind: i, metadata: r } = e;
602
612
  let n = globalThis.litPropertyMetadata.get(r);
603
- if (n === void 0 && globalThis.litPropertyMetadata.set(r, n = /* @__PURE__ */ new Map()), n.set(e.name, i), s === "accessor") {
613
+ if (n === void 0 && globalThis.litPropertyMetadata.set(r, n = /* @__PURE__ */ new Map()), n.set(e.name, s), i === "accessor") {
604
614
  const { name: o } = e;
605
615
  return { set(c) {
606
616
  const a = t.get.call(this);
607
- t.set.call(this, c), this.requestUpdate(o, a, i);
617
+ t.set.call(this, c), this.requestUpdate(o, a, s);
608
618
  }, init(c) {
609
- return c !== void 0 && this.C(o, void 0, i), c;
619
+ return c !== void 0 && this.C(o, void 0, s), c;
610
620
  } };
611
621
  }
612
- if (s === "setter") {
622
+ if (i === "setter") {
613
623
  const { name: o } = e;
614
624
  return function(c) {
615
625
  const a = this[o];
616
- t.call(this, c), this.requestUpdate(o, a, i);
626
+ t.call(this, c), this.requestUpdate(o, a, s);
617
627
  };
618
628
  }
619
- throw Error("Unsupported decorator location: " + s);
629
+ throw Error("Unsupported decorator location: " + i);
620
630
  };
621
- function u(i) {
622
- return (t, e) => typeof e == "object" ? Jt(i, t, e) : ((s, r, n) => {
631
+ function u(s) {
632
+ return (t, e) => typeof e == "object" ? Zt(s, t, e) : ((i, r, n) => {
623
633
  const o = r.hasOwnProperty(n);
624
- return r.constructor.createProperty(n, o ? { ...s, wrapped: !0 } : s), o ? Object.getOwnPropertyDescriptor(r, n) : void 0;
625
- })(i, t, e);
634
+ return r.constructor.createProperty(n, o ? { ...i, wrapped: !0 } : i), o ? Object.getOwnPropertyDescriptor(r, n) : void 0;
635
+ })(s, t, e);
626
636
  }
627
637
  /**
628
638
  * @license
629
639
  * Copyright 2017 Google LLC
630
640
  * SPDX-License-Identifier: BSD-3-Clause
631
641
  */
632
- function L(i) {
633
- return u({ ...i, state: !0, attribute: !1 });
642
+ function L(s) {
643
+ return u({ ...s, state: !0, attribute: !1 });
634
644
  }
635
645
  /**
636
646
  * @license
637
647
  * Copyright 2017 Google LLC
638
648
  * SPDX-License-Identifier: BSD-3-Clause
639
649
  */
640
- const bt = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, wt = (i) => (...t) => ({ _$litDirective$: i, values: t });
641
- class xt {
650
+ const xt = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, Ct = (s) => (...t) => ({ _$litDirective$: s, values: t });
651
+ class Et {
642
652
  constructor(t) {
643
653
  }
644
654
  get _$AU() {
645
655
  return this._$AM._$AU;
646
656
  }
647
- _$AT(t, e, s) {
648
- this._$Ct = t, this._$AM = e, this._$Ci = s;
657
+ _$AT(t, e, i) {
658
+ this._$Ct = t, this._$AM = e, this._$Ci = i;
649
659
  }
650
660
  _$AS(t, e) {
651
661
  return this.update(t, e);
@@ -659,56 +669,56 @@ class xt {
659
669
  * Copyright 2018 Google LLC
660
670
  * SPDX-License-Identifier: BSD-3-Clause
661
671
  */
662
- const Kt = wt(class extends xt {
663
- constructor(i) {
672
+ const Qt = Ct(class extends Et {
673
+ constructor(s) {
664
674
  var t;
665
- if (super(i), i.type !== bt.ATTRIBUTE || i.name !== "class" || ((t = i.strings) == null ? void 0 : t.length) > 2)
675
+ if (super(s), s.type !== xt.ATTRIBUTE || s.name !== "class" || ((t = s.strings) == null ? void 0 : t.length) > 2)
666
676
  throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
667
677
  }
668
- render(i) {
669
- return " " + Object.keys(i).filter((t) => i[t]).join(" ") + " ";
678
+ render(s) {
679
+ return " " + Object.keys(s).filter((t) => s[t]).join(" ") + " ";
670
680
  }
671
- update(i, [t]) {
672
- var s, r;
681
+ update(s, [t]) {
682
+ var i, r;
673
683
  if (this.it === void 0) {
674
- this.it = /* @__PURE__ */ new Set(), i.strings !== void 0 && (this.st = new Set(i.strings.join(" ").split(/\s/).filter((n) => n !== "")));
684
+ this.it = /* @__PURE__ */ new Set(), s.strings !== void 0 && (this.st = new Set(s.strings.join(" ").split(/\s/).filter((n) => n !== "")));
675
685
  for (const n in t)
676
- t[n] && !((s = this.st) != null && s.has(n)) && this.it.add(n);
686
+ t[n] && !((i = this.st) != null && i.has(n)) && this.it.add(n);
677
687
  return this.render(t);
678
688
  }
679
- const e = i.element.classList;
689
+ const e = s.element.classList;
680
690
  for (const n of this.it)
681
691
  n in t || (e.remove(n), this.it.delete(n));
682
692
  for (const n in t) {
683
693
  const o = !!t[n];
684
694
  o === this.it.has(n) || (r = this.st) != null && r.has(n) || (o ? (e.add(n), this.it.add(n)) : (e.remove(n), this.it.delete(n)));
685
695
  }
686
- return w;
687
- }
688
- }), z = (i, t, e) => {
689
- i && e.style.setProperty(t, i);
690
- }, Et = (i, t) => {
691
- var e, s, r, n;
692
- z((e = i.colors) == null ? void 0 : e.primaryBackground, "--primary-background", t), z(
693
- (s = i.colors) == null ? void 0 : s.textOnPrimaryBackground,
696
+ return x;
697
+ }
698
+ }), B = (s, t, e) => {
699
+ s && e.style.setProperty(t, s);
700
+ }, St = (s, t) => {
701
+ var e, i, r, n;
702
+ B((e = s.colors) == null ? void 0 : e.primaryBackground, "--primary-background", t), B(
703
+ (i = s.colors) == null ? void 0 : i.textOnPrimaryBackground,
694
704
  "--text-on-primary-background",
695
705
  t
696
- ), z(
697
- (r = i.colors) == null ? void 0 : r.secondaryBackground,
706
+ ), B(
707
+ (r = s.colors) == null ? void 0 : r.secondaryBackground,
698
708
  "--secondary-background",
699
709
  t
700
- ), z(
701
- (n = i.colors) == null ? void 0 : n.textOnSecondaryBackground,
710
+ ), B(
711
+ (n = s.colors) == null ? void 0 : n.textOnSecondaryBackground,
702
712
  "--text-on-secondary-background",
703
713
  t
704
714
  );
705
715
  };
706
- var Zt = Object.defineProperty, Qt = Object.getOwnPropertyDescriptor, q = (i, t, e, s) => {
707
- for (var r = s > 1 ? void 0 : s ? Qt(t, e) : t, n = i.length - 1, o; n >= 0; n--)
708
- (o = i[n]) && (r = (s ? o(t, e, r) : o(r)) || r);
709
- return s && r && Zt(t, e, r), r;
716
+ var Xt = Object.defineProperty, te = Object.getOwnPropertyDescriptor, j = (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;
710
720
  };
711
- class x extends f {
721
+ let y = class extends f {
712
722
  constructor() {
713
723
  super(...arguments), this.active = !1, this.loaded = !1;
714
724
  }
@@ -716,8 +726,8 @@ class x extends f {
716
726
  super.connectedCallback(), this.icon = await this._renderSymbol(), this.loaded = !0, this._applyBranding();
717
727
  }
718
728
  _toggleActive() {
719
- var t;
720
- if (!((t = this.application) != null && t.root)) {
729
+ var s;
730
+ if (!((s = this.application) != null && s.root)) {
721
731
  console.warn(
722
732
  "Could not activate widget. No root element assigned to widget."
723
733
  );
@@ -726,23 +736,23 @@ class x extends f {
726
736
  this.active = !this.active, this.active ? this.application.appendToDOM() : this.application.removeFromDOM();
727
737
  }
728
738
  _applyBranding() {
729
- var t;
730
- (t = this.application) != null && t.settings && Et(this.application.settings.branding, this);
739
+ var s;
740
+ (s = this.application) != null && s.settings && St(this.application.settings.branding, this);
731
741
  }
732
742
  async _renderSymbol() {
733
- var n;
734
- const t = (n = this.application) == null ? void 0 : n.triggerIcon;
735
- if (!t)
743
+ var r;
744
+ const s = (r = this.application) == null ? void 0 : r.triggerIcon;
745
+ if (!s)
736
746
  return l;
737
- const e = async (o) => await import("./index-5087564d.mjs").then(
738
- (a) => a[o]
739
- ), { type: s, content: r } = t;
740
- switch (s) {
747
+ const t = async (n) => await import("./index-5087564d.mjs").then(
748
+ (c) => c[n]
749
+ ), { type: e, content: i } = s;
750
+ switch (e) {
741
751
  case "Telia": {
742
- const o = await e(r);
743
- return o ? k`<telia-icon
752
+ const n = await t(i);
753
+ return n ? R`<telia-icon
744
754
  class="trigger-icon"
745
- svg=${o.svg}
755
+ svg=${n.svg}
746
756
  size="lg"
747
757
  ></telia-icon>` : l;
748
758
  }
@@ -751,8 +761,8 @@ class x extends f {
751
761
  }
752
762
  }
753
763
  render() {
754
- return k`<button
755
- class=${Kt({
764
+ return R`<button
765
+ class=${Qt({
756
766
  trigger: !0,
757
767
  active: this.active,
758
768
  rendered: this.loaded
@@ -789,9 +799,9 @@ class x extends f {
789
799
  </span>
790
800
  </button>`;
791
801
  }
792
- }
793
- x.styles = [
794
- S`
802
+ };
803
+ y.styles = [
804
+ P`
795
805
  :host {
796
806
  --voca-rem-multiplier: 0.625;
797
807
  display: block;
@@ -861,39 +871,42 @@ x.styles = [
861
871
  }
862
872
  `
863
873
  ];
864
- q([
874
+ j([
865
875
  u({ attribute: !1 })
866
- ], x.prototype, "application", 2);
867
- q([
876
+ ], y.prototype, "application", 2);
877
+ j([
868
878
  L()
869
- ], x.prototype, "active", 2);
870
- q([
879
+ ], y.prototype, "active", 2);
880
+ j([
871
881
  L()
872
- ], x.prototype, "loaded", 2);
873
- q([
882
+ ], y.prototype, "loaded", 2);
883
+ j([
874
884
  L()
875
- ], x.prototype, "icon", 2);
876
- var Xt = Object.defineProperty, te = Object.getOwnPropertyDescriptor, v = (i, t, e, s) => {
877
- for (var r = s > 1 ? void 0 : s ? te(t, e) : t, n = i.length - 1, o; n >= 0; n--)
878
- (o = i[n]) && (r = (s ? o(t, e, r) : o(r)) || r);
879
- return s && r && Xt(t, e, r), r;
885
+ ], y.prototype, "icon", 2);
886
+ y = j([
887
+ F("ace-trigger")
888
+ ], y);
889
+ var ee = Object.defineProperty, se = Object.getOwnPropertyDescriptor, A = (s, t, e, i) => {
890
+ for (var r = i > 1 ? void 0 : i ? se(t, e) : t, n = s.length - 1, o; n >= 0; n--)
891
+ (o = s[n]) && (r = (i ? o(t, e, r) : o(r)) || r);
892
+ return i && r && ee(t, e, r), r;
880
893
  };
881
- const Ct = (i) => {
882
- class t extends i {
894
+ const Pt = (s) => {
895
+ class t extends s {
883
896
  constructor() {
884
897
  super(...arguments), this.properties = {}, this.context = {}, this.layout = {}, this.nodes = [];
885
898
  }
886
- writeProperties(s) {
887
- this.properties = s;
899
+ writeProperties(i) {
900
+ this.properties = i;
888
901
  }
889
- writeLayout(s) {
890
- this.layout = s;
902
+ writeLayout(i) {
903
+ this.layout = i;
891
904
  }
892
- writeContext(s) {
893
- this.context = s;
905
+ writeContext(i) {
906
+ this.context = i;
894
907
  }
895
- addChild(s) {
896
- s.parent = this, this.nodes.push(s);
908
+ addChild(i) {
909
+ i.parent = this, this.nodes.push(i);
897
910
  }
898
911
  connectedCallback() {
899
912
  super.connectedCallback(), this.renderRoot.host.style.setProperty(
@@ -904,7 +917,7 @@ const Ct = (i) => {
904
917
  }
905
918
  return t.styles = [
906
919
  // (superClass as unknown as typeof LitElement).styles ?? [],
907
- S`
920
+ P`
908
921
  :host {
909
922
  font-family: var(--font-family);
910
923
  grid-column: span var(--width);
@@ -917,101 +930,109 @@ const Ct = (i) => {
917
930
  box-sizing: border-box;
918
931
  }
919
932
  `
920
- ], v([
933
+ ], A([
921
934
  u()
922
- ], t.prototype, "properties", 2), v([
935
+ ], t.prototype, "properties", 2), A([
923
936
  u()
924
- ], t.prototype, "context", 2), v([
937
+ ], t.prototype, "context", 2), A([
925
938
  u()
926
- ], t.prototype, "layout", 2), v([
939
+ ], t.prototype, "layout", 2), A([
927
940
  u()
928
- ], t.prototype, "name", 2), v([
941
+ ], t.prototype, "name", 2), A([
929
942
  u()
930
- ], t.prototype, "type", 2), v([
943
+ ], t.prototype, "type", 2), A([
931
944
  u({ attribute: !1 })
932
- ], t.prototype, "application", 2), v([
945
+ ], t.prototype, "application", 2), A([
933
946
  u({ attribute: !1 })
934
947
  ], t.prototype, "parent", 2), t;
935
948
  };
936
- class St extends Ct(f) {
949
+ var ie = Object.defineProperty, re = Object.getOwnPropertyDescriptor, ne = (s, t, e, i) => {
950
+ for (var r = i > 1 ? void 0 : i ? re(t, e) : t, n = s.length - 1, o; n >= 0; n--)
951
+ (o = s[n]) && (r = (i ? o(t, e, r) : o(r)) || r);
952
+ return i && r && ie(t, e, r), r;
953
+ };
954
+ let et = class extends Pt(f) {
937
955
  render() {
938
- return k`Non resolved component`;
956
+ return R`Non resolved component`;
939
957
  }
940
- }
941
- St.styles = [
942
- S`
958
+ };
959
+ et.styles = [
960
+ P`
943
961
  :host {
944
962
  display: block;
945
963
  }
946
964
  `
947
965
  ];
966
+ et = ne([
967
+ F("ace-unresolved-component")
968
+ ], et);
948
969
  /**
949
970
  * @license
950
971
  * Copyright 2020 Google LLC
951
972
  * SPDX-License-Identifier: BSD-3-Clause
952
973
  */
953
- const ee = (i) => i.strings === void 0;
974
+ const oe = (s) => s.strings === void 0;
954
975
  /**
955
976
  * @license
956
977
  * Copyright 2017 Google LLC
957
978
  * SPDX-License-Identifier: BSD-3-Clause
958
979
  */
959
- const U = (i, t) => {
960
- var s;
961
- const e = i._$AN;
980
+ const N = (s, t) => {
981
+ var i;
982
+ const e = s._$AN;
962
983
  if (e === void 0)
963
984
  return !1;
964
985
  for (const r of e)
965
- (s = r._$AO) == null || s.call(r, t, !1), U(r, t);
986
+ (i = r._$AO) == null || i.call(r, t, !1), N(r, t);
966
987
  return !0;
967
- }, W = (i) => {
988
+ }, V = (s) => {
968
989
  let t, e;
969
990
  do {
970
- if ((t = i._$AM) === void 0)
991
+ if ((t = s._$AM) === void 0)
971
992
  break;
972
- e = t._$AN, e.delete(i), i = t;
993
+ e = t._$AN, e.delete(s), s = t;
973
994
  } while ((e == null ? void 0 : e.size) === 0);
974
- }, Pt = (i) => {
975
- for (let t; t = i._$AM; i = t) {
995
+ }, Ot = (s) => {
996
+ for (let t; t = s._$AM; s = t) {
976
997
  let e = t._$AN;
977
998
  if (e === void 0)
978
999
  t._$AN = e = /* @__PURE__ */ new Set();
979
- else if (e.has(i))
1000
+ else if (e.has(s))
980
1001
  break;
981
- e.add(i), re(t);
1002
+ e.add(s), he(t);
982
1003
  }
983
1004
  };
984
- function se(i) {
985
- this._$AN !== void 0 ? (W(this), this._$AM = i, Pt(this)) : this._$AM = i;
1005
+ function ae(s) {
1006
+ this._$AN !== void 0 ? (V(this), this._$AM = s, Ot(this)) : this._$AM = s;
986
1007
  }
987
- function ie(i, t = !1, e = 0) {
988
- const s = this._$AH, r = this._$AN;
1008
+ function ce(s, t = !1, e = 0) {
1009
+ const i = this._$AH, r = this._$AN;
989
1010
  if (r !== void 0 && r.size !== 0)
990
1011
  if (t)
991
- if (Array.isArray(s))
992
- for (let n = e; n < s.length; n++)
993
- U(s[n], !1), W(s[n]);
1012
+ if (Array.isArray(i))
1013
+ for (let n = e; n < i.length; n++)
1014
+ N(i[n], !1), V(i[n]);
994
1015
  else
995
- s != null && (U(s, !1), W(s));
1016
+ i != null && (N(i, !1), V(i));
996
1017
  else
997
- U(this, i);
1018
+ N(this, s);
998
1019
  }
999
- const re = (i) => {
1000
- i.type == bt.CHILD && (i._$AP ?? (i._$AP = ie), i._$AQ ?? (i._$AQ = se));
1020
+ const he = (s) => {
1021
+ s.type == xt.CHILD && (s._$AP ?? (s._$AP = ce), s._$AQ ?? (s._$AQ = ae));
1001
1022
  };
1002
- class ne extends xt {
1023
+ class le extends Et {
1003
1024
  constructor() {
1004
1025
  super(...arguments), this._$AN = void 0;
1005
1026
  }
1006
- _$AT(t, e, s) {
1007
- super._$AT(t, e, s), Pt(this), this.isConnected = t._$AU;
1027
+ _$AT(t, e, i) {
1028
+ super._$AT(t, e, i), Ot(this), this.isConnected = t._$AU;
1008
1029
  }
1009
1030
  _$AO(t, e = !0) {
1010
- var s, r;
1011
- t !== this.isConnected && (this.isConnected = t, t ? (s = this.reconnected) == null || s.call(this) : (r = this.disconnected) == null || r.call(this)), e && (U(this, t), W(this));
1031
+ var i, r;
1032
+ 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), V(this));
1012
1033
  }
1013
1034
  setValue(t) {
1014
- if (ee(this._$Ct))
1035
+ if (oe(this._$Ct))
1015
1036
  this._$Ct._$AI(t, this);
1016
1037
  else {
1017
1038
  const e = [...this._$Ct._$AH];
@@ -1028,29 +1049,29 @@ class ne extends xt {
1028
1049
  * Copyright 2020 Google LLC
1029
1050
  * SPDX-License-Identifier: BSD-3-Clause
1030
1051
  */
1031
- const oe = () => new ae();
1032
- class ae {
1052
+ const de = () => new pe();
1053
+ class pe {
1033
1054
  }
1034
- const Z = /* @__PURE__ */ new WeakMap(), ce = wt(class extends ne {
1035
- render(i) {
1055
+ const tt = /* @__PURE__ */ new WeakMap(), ue = Ct(class extends le {
1056
+ render(s) {
1036
1057
  return l;
1037
1058
  }
1038
- update(i, [t]) {
1039
- var s;
1059
+ update(s, [t]) {
1060
+ var i;
1040
1061
  const e = t !== this.G;
1041
- 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;
1062
+ 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;
1042
1063
  }
1043
- ot(i) {
1064
+ ot(s) {
1044
1065
  if (typeof this.G == "function") {
1045
1066
  const t = this.ct ?? globalThis;
1046
- let e = Z.get(t);
1047
- e === void 0 && (e = /* @__PURE__ */ new WeakMap(), Z.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);
1067
+ let e = tt.get(t);
1068
+ e === void 0 && (e = /* @__PURE__ */ new WeakMap(), tt.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);
1048
1069
  } else
1049
- this.G.value = i;
1070
+ this.G.value = s;
1050
1071
  }
1051
1072
  get rt() {
1052
- var i, t;
1053
- return typeof this.G == "function" ? (i = Z.get(this.ct ?? globalThis)) == null ? void 0 : i.get(this.G) : (t = this.G) == null ? void 0 : t.value;
1073
+ var s, t;
1074
+ return typeof this.G == "function" ? (s = tt.get(this.ct ?? globalThis)) == null ? void 0 : s.get(this.G) : (t = this.G) == null ? void 0 : t.value;
1054
1075
  }
1055
1076
  disconnected() {
1056
1077
  this.rt === this.lt && this.ot(void 0);
@@ -1059,34 +1080,34 @@ const Z = /* @__PURE__ */ new WeakMap(), ce = wt(class extends ne {
1059
1080
  this.ot(this.lt);
1060
1081
  }
1061
1082
  });
1062
- var et = /* @__PURE__ */ ((i) => (i.Inline = "inline", i.Trigger = "trigger", i))(et || {}), he = Object.defineProperty, le = Object.getOwnPropertyDescriptor, de = (i, t, e, s) => {
1063
- for (var r = s > 1 ? void 0 : s ? le(t, e) : t, n = i.length - 1, o; n >= 0; n--)
1064
- (o = i[n]) && (r = (s ? o(t, e, r) : o(r)) || r);
1065
- return s && r && he(t, e, r), r;
1083
+ var nt = /* @__PURE__ */ ((s) => (s.Inline = "inline", s.Trigger = "trigger", s))(nt || {}), ge = Object.defineProperty, fe = Object.getOwnPropertyDescriptor, Tt = (s, t, e, i) => {
1084
+ for (var r = i > 1 ? void 0 : i ? fe(t, e) : t, n = s.length - 1, o; n >= 0; n--)
1085
+ (o = s[n]) && (r = (i ? o(t, e, r) : o(r)) || r);
1086
+ return i && r && ge(t, e, r), r;
1066
1087
  };
1067
- class st extends f {
1088
+ let q = class extends f {
1068
1089
  constructor() {
1069
- super(...arguments), this.nodes = [], this.wrapperRef = oe();
1090
+ super(...arguments), this.nodes = [], this.wrapperRef = de();
1070
1091
  }
1071
- addChild(t) {
1072
- t.parent = this, this.nodes.push(t);
1092
+ addChild(s) {
1093
+ s.parent = this, this.nodes.push(s);
1073
1094
  }
1074
1095
  applyBranding() {
1075
1096
  if (this.wrapperRef.value) {
1076
- const t = this.application.settings;
1077
- t != null && t.branding && Et(t.branding, this.wrapperRef.value);
1097
+ const s = this.application.settings;
1098
+ s != null && s.branding && St(s.branding, this.wrapperRef.value);
1078
1099
  }
1079
1100
  }
1080
- firstUpdated(t) {
1101
+ firstUpdated(s) {
1081
1102
  this.applyBranding();
1082
1103
  }
1083
1104
  render() {
1084
- return this.application.renderStrategy === et.Trigger && this.renderRoot.host.classList.add("floating"), k`<div class="widget-container" ${ce(this.wrapperRef)}>
1085
- ${At(this.nodes, (t) => t)}
1105
+ return this.application.renderStrategy === nt.Trigger && this.renderRoot.host.classList.add("floating"), R`<div class="widget-container" ${ue(this.wrapperRef)}>
1106
+ ${wt(this.nodes, (s) => s)}
1086
1107
  </div>`;
1087
1108
  }
1088
- }
1089
- st.styles = S`
1109
+ };
1110
+ q.styles = P`
1090
1111
  :host {
1091
1112
  --font-family: TeliaSans, Helvetica, Arial, Lucida Grande, sans-serif;
1092
1113
  --spacing-xs: 0.2rem;
@@ -1165,15 +1186,18 @@ st.styles = S`
1165
1186
  }
1166
1187
  }
1167
1188
  `;
1168
- de([
1189
+ Tt([
1169
1190
  u({ attribute: !1 })
1170
- ], st.prototype, "application", 2);
1171
- var pe = Object.defineProperty, ue = Object.getOwnPropertyDescriptor, it = (i, t, e, s) => {
1172
- for (var r = s > 1 ? void 0 : s ? ue(t, e) : t, n = i.length - 1, o; n >= 0; n--)
1173
- (o = i[n]) && (r = (s ? o(t, e, r) : o(r)) || r);
1174
- return s && r && pe(t, e, r), r;
1191
+ ], q.prototype, "application", 2);
1192
+ q = Tt([
1193
+ F("ace-wrapper")
1194
+ ], q);
1195
+ var $e = Object.defineProperty, _e = Object.getOwnPropertyDescriptor, J = (s, t, e, i) => {
1196
+ for (var r = i > 1 ? void 0 : i ? _e(t, e) : t, n = s.length - 1, o; n >= 0; n--)
1197
+ (o = s[n]) && (r = (i ? o(t, e, r) : o(r)) || r);
1198
+ return i && r && $e(t, e, r), r;
1175
1199
  };
1176
- class D extends f {
1200
+ let S = class extends f {
1177
1201
  constructor() {
1178
1202
  super(), this.status = "deactivated", this.addEventListener("environment-created", this.onEnvironmentCreated);
1179
1203
  }
@@ -1183,73 +1207,72 @@ class D extends f {
1183
1207
  disconnectedCallback() {
1184
1208
  super.disconnectedCallback(), this.removeEventListener("environment-created", this.onEnvironmentCreated);
1185
1209
  }
1186
- async onEnvironmentCreated(t) {
1187
- this.widget = t.detail.widget, await this.activate(), this.requestUpdate();
1210
+ async onEnvironmentCreated(s) {
1211
+ this.widget = s.detail.widget, await this.activate(), this.requestUpdate();
1188
1212
  }
1189
1213
  async activate() {
1190
1214
  this.widget && (await this.widget.activate(), this.status = "activated");
1191
1215
  }
1192
1216
  async getGlobalEnvironment() {
1193
- const t = globalThis.widgets;
1194
- t && (this.widget = t.applications.find(
1195
- (e) => e.name === this.name
1217
+ const s = globalThis.widgets;
1218
+ s && (this.widget = s.applications.find(
1219
+ (t) => t.name === this.name
1196
1220
  ), await this.activate());
1197
1221
  }
1198
1222
  render() {
1199
1223
  if (!this.widget || this.status !== "activated")
1200
1224
  return l;
1201
- if (this.widget.renderStrategy === et.Trigger) {
1202
- const t = new x();
1203
- return t.application = this.widget, t;
1225
+ if (this.widget.renderStrategy === nt.Trigger) {
1226
+ const s = new y();
1227
+ return s.application = this.widget, s;
1204
1228
  }
1205
1229
  return this.widget.render();
1206
1230
  }
1207
- }
1208
- D.styles = [
1209
- S`
1231
+ };
1232
+ S.styles = [
1233
+ P`
1210
1234
  :host {
1211
1235
  display: block;
1212
1236
  }
1213
1237
  `
1214
1238
  ];
1215
- it([
1239
+ J([
1216
1240
  u({ attribute: !0 })
1217
- ], D.prototype, "name", 2);
1218
- it([
1241
+ ], S.prototype, "name", 2);
1242
+ J([
1219
1243
  L()
1220
- ], D.prototype, "widget", 2);
1221
- it([
1244
+ ], S.prototype, "widget", 2);
1245
+ J([
1222
1246
  L()
1223
- ], D.prototype, "status", 2);
1224
- customElements.get("ace-trigger") || customElements.define("ace-trigger", x);
1225
- customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", St);
1226
- customElements.get("ace-wrapper") || customElements.define("ace-wrapper", st);
1227
- customElements.get("ace-widget") || customElements.define("ace-widget", D);
1228
- const ge = (i) => {
1247
+ ], S.prototype, "status", 2);
1248
+ S = J([
1249
+ F("ace-widget")
1250
+ ], S);
1251
+ const me = (s) => {
1229
1252
  const t = {};
1230
- return Object.keys(i).forEach((e) => {
1231
- e.indexOf("css-") > -1 && (t[e] = i[e]);
1253
+ return Object.keys(s).forEach((e) => {
1254
+ e.indexOf("css-") > -1 && (t[e] = s[e]);
1232
1255
  }), t;
1233
- }, fe = (i, t) => {
1234
- const e = ge(t);
1235
- Object.entries(e).forEach(([s, r]) => {
1236
- i.style.setProperty(s.replace("css-", ""), r);
1256
+ }, ye = (s, t) => {
1257
+ const e = me(t);
1258
+ Object.entries(e).forEach(([i, r]) => {
1259
+ s.style.setProperty(i.replace("css-", ""), r);
1237
1260
  });
1238
1261
  };
1239
- class $e extends Ct(f) {
1262
+ class ve extends Pt(f) {
1240
1263
  constructor() {
1241
1264
  super(...arguments), this.nodes = [];
1242
1265
  }
1243
1266
  render() {
1244
1267
  var t;
1245
- return fe(this.renderRoot.host, this.properties), this.renderRoot.host.style.setProperty(
1268
+ return ye(this.renderRoot.host, this.properties), this.renderRoot.host.style.setProperty(
1246
1269
  "--columns",
1247
1270
  ((t = this.properties.columns) == null ? void 0 : t.toString()) || "1"
1248
- ), k`${At(this.nodes, (e) => e)}`;
1271
+ ), R`${wt(this.nodes, (e) => e)}`;
1249
1272
  }
1250
1273
  }
1251
- $e.styles = [
1252
- S`
1274
+ ve.styles = [
1275
+ P`
1253
1276
  :host {
1254
1277
  height: 100%;
1255
1278
  display: grid;
@@ -1261,6 +1284,6 @@ $e.styles = [
1261
1284
  `
1262
1285
  ];
1263
1286
  export {
1264
- $e as Area,
1265
- $e as default
1287
+ ve as Area,
1288
+ ve as default
1266
1289
  };