@telia-ace/widget-components-area-flamingo 1.1.129-rc.8 → 1.1.129

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,8 +3,8 @@
3
3
  * Copyright 2019 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
5
  */
6
- const W = globalThis, mt = W.ShadowRoot && (W.ShadyCSS === void 0 || W.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, yt = Symbol(), Rt = /* @__PURE__ */ new WeakMap();
7
- let se = class {
6
+ const Y = globalThis, mt = Y.ShadowRoot && (Y.ShadyCSS === void 0 || Y.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, yt = Symbol(), Rt = /* @__PURE__ */ new WeakMap();
7
+ let re = class {
8
8
  constructor(t, e, i) {
9
9
  if (this._$cssResult$ = !0, i !== yt) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
10
10
  this.cssText = t, this.t = e;
@@ -22,17 +22,17 @@ let se = class {
22
22
  return this.cssText;
23
23
  }
24
24
  };
25
- const xe = (s) => new se(typeof s == "string" ? s : s + "", void 0, yt), k = (s, ...t) => {
26
- const e = s.length === 1 ? s[0] : t.reduce(((i, r, o) => i + ((n) => {
25
+ const xe = (s) => new re(typeof s == "string" ? s : s + "", void 0, yt), k = (s, ...t) => {
26
+ const e = s.length === 1 ? s[0] : t.reduce((i, r, o) => i + ((n) => {
27
27
  if (n._$cssResult$ === !0) return n.cssText;
28
28
  if (typeof n == "number") return n;
29
29
  throw Error("Value passed to 'css' function must be a 'css' function result: " + n + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
30
- })(r) + s[o + 1]), s[0]);
31
- return new se(e, s, yt);
30
+ })(r) + s[o + 1], s[0]);
31
+ return new re(e, s, yt);
32
32
  }, Ae = (s, t) => {
33
- if (mt) s.adoptedStyleSheets = t.map(((e) => e instanceof CSSStyleSheet ? e : e.styleSheet));
33
+ if (mt) s.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
34
34
  else for (const e of t) {
35
- const i = document.createElement("style"), r = W.litNonce;
35
+ const i = document.createElement("style"), r = Y.litNonce;
36
36
  r !== void 0 && i.setAttribute("nonce", r), i.textContent = e.cssText, s.appendChild(i);
37
37
  }
38
38
  }, Mt = mt ? (s) => s : (s) => s instanceof CSSStyleSheet ? ((t) => {
@@ -45,7 +45,7 @@ const xe = (s) => new se(typeof s == "string" ? s : s + "", void 0, yt), k = (s,
45
45
  * Copyright 2017 Google LLC
46
46
  * SPDX-License-Identifier: BSD-3-Clause
47
47
  */
48
- const { is: Ce, defineProperty: Ee, getOwnPropertyDescriptor: Se, getOwnPropertyNames: Pe, getOwnPropertySymbols: Oe, getPrototypeOf: ke } = Object, w = globalThis, Ut = w.trustedTypes, Te = Ut ? Ut.emptyScript : "", et = w.reactiveElementPolyfillSupport, L = (s, t) => s, Z = { toAttribute(s, t) {
48
+ const { is: Ce, defineProperty: Ee, getOwnPropertyDescriptor: Se, getOwnPropertyNames: Pe, getOwnPropertySymbols: Oe, getPrototypeOf: ke } = Object, w = globalThis, Ut = w.trustedTypes, Te = Ut ? Ut.emptyScript : "", it = w.reactiveElementPolyfillSupport, N = (s, t) => s, K = { toAttribute(s, t) {
49
49
  switch (t) {
50
50
  case Boolean:
51
51
  s = s ? Te : null;
@@ -73,7 +73,7 @@ const { is: Ce, defineProperty: Ee, getOwnPropertyDescriptor: Se, getOwnProperty
73
73
  }
74
74
  }
75
75
  return e;
76
- } }, bt = (s, t) => !Ce(s, t), jt = { attribute: !0, type: String, converter: Z, reflect: !1, useDefault: !1, hasChanged: bt };
76
+ } }, bt = (s, t) => !Ce(s, t), jt = { attribute: !0, type: String, converter: K, reflect: !1, useDefault: !1, hasChanged: bt };
77
77
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), w.litPropertyMetadata ?? (w.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
78
78
  let R = class extends HTMLElement {
79
79
  static addInitializer(t) {
@@ -103,13 +103,13 @@ let R = class extends HTMLElement {
103
103
  return this.elementProperties.get(t) ?? jt;
104
104
  }
105
105
  static _$Ei() {
106
- if (this.hasOwnProperty(L("elementProperties"))) return;
106
+ if (this.hasOwnProperty(N("elementProperties"))) return;
107
107
  const t = ke(this);
108
108
  t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
109
109
  }
110
110
  static finalize() {
111
- if (this.hasOwnProperty(L("finalized"))) return;
112
- if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(L("properties"))) {
111
+ if (this.hasOwnProperty(N("finalized"))) return;
112
+ if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(N("properties"))) {
113
113
  const e = this.properties, i = [...Pe(e), ...Oe(e)];
114
114
  for (const r of i) this.createProperty(r, e[r]);
115
115
  }
@@ -142,7 +142,7 @@ let R = class extends HTMLElement {
142
142
  }
143
143
  _$Ev() {
144
144
  var t;
145
- this._$ES = new Promise(((e) => this.enableUpdating = e)), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), (t = this.constructor.l) == null || t.forEach(((e) => e(this)));
145
+ this._$ES = new Promise((e) => this.enableUpdating = e), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), (t = this.constructor.l) == null || t.forEach((e) => e(this));
146
146
  }
147
147
  addController(t) {
148
148
  var e;
@@ -163,19 +163,19 @@ let R = class extends HTMLElement {
163
163
  }
164
164
  connectedCallback() {
165
165
  var t;
166
- this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), (t = this._$EO) == null || t.forEach(((e) => {
166
+ this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), (t = this._$EO) == null || t.forEach((e) => {
167
167
  var i;
168
168
  return (i = e.hostConnected) == null ? void 0 : i.call(e);
169
- }));
169
+ });
170
170
  }
171
171
  enableUpdating(t) {
172
172
  }
173
173
  disconnectedCallback() {
174
174
  var t;
175
- (t = this._$EO) == null || t.forEach(((e) => {
175
+ (t = this._$EO) == null || t.forEach((e) => {
176
176
  var i;
177
177
  return (i = e.hostDisconnected) == null ? void 0 : i.call(e);
178
- }));
178
+ });
179
179
  }
180
180
  attributeChangedCallback(t, e, i) {
181
181
  this._$AK(t, i);
@@ -184,7 +184,7 @@ let R = class extends HTMLElement {
184
184
  var o;
185
185
  const i = this.constructor.elementProperties.get(t), r = this.constructor._$Eu(t, i);
186
186
  if (r !== void 0 && i.reflect === !0) {
187
- const n = (((o = i.converter) == null ? void 0 : o.toAttribute) !== void 0 ? i.converter : Z).toAttribute(e, i.type);
187
+ const n = (((o = i.converter) == null ? void 0 : o.toAttribute) !== void 0 ? i.converter : K).toAttribute(e, i.type);
188
188
  this._$Em = t, n == null ? this.removeAttribute(r) : this.setAttribute(r, n), this._$Em = null;
189
189
  }
190
190
  }
@@ -192,17 +192,17 @@ let R = class extends HTMLElement {
192
192
  var o, n;
193
193
  const i = this.constructor, r = i._$Eh.get(t);
194
194
  if (r !== void 0 && this._$Em !== r) {
195
- const a = i.getPropertyOptions(r), c = typeof a.converter == "function" ? { fromAttribute: a.converter } : ((o = a.converter) == null ? void 0 : o.fromAttribute) !== void 0 ? a.converter : Z;
195
+ const a = i.getPropertyOptions(r), c = typeof a.converter == "function" ? { fromAttribute: a.converter } : ((o = a.converter) == null ? void 0 : o.fromAttribute) !== void 0 ? a.converter : K;
196
196
  this._$Em = r;
197
197
  const h = c.fromAttribute(e, a.type);
198
198
  this[r] = h ?? ((n = this._$Ej) == null ? void 0 : n.get(r)) ?? h, this._$Em = null;
199
199
  }
200
200
  }
201
- requestUpdate(t, e, i) {
202
- var r;
201
+ requestUpdate(t, e, i, r = !1, o) {
202
+ var n;
203
203
  if (t !== void 0) {
204
- const o = this.constructor, n = this[t];
205
- if (i ?? (i = o.getPropertyOptions(t)), !((i.hasChanged ?? bt)(n, e) || i.useDefault && i.reflect && n === ((r = this._$Ej) == null ? void 0 : r.get(t)) && !this.hasAttribute(o._$Eu(t, i)))) return;
204
+ const a = this.constructor;
205
+ if (r === !1 && (o = this[t]), i ?? (i = a.getPropertyOptions(t)), !((i.hasChanged ?? bt)(o, e) || i.useDefault && i.reflect && o === ((n = this._$Ej) == null ? void 0 : n.get(t)) && !this.hasAttribute(a._$Eu(t, i)))) return;
206
206
  this.C(t, e, i);
207
207
  }
208
208
  this.isUpdatePending === !1 && (this._$ES = this._$EP());
@@ -240,10 +240,10 @@ let R = class extends HTMLElement {
240
240
  let t = !1;
241
241
  const e = this._$AL;
242
242
  try {
243
- t = this.shouldUpdate(e), t ? (this.willUpdate(e), (i = this._$EO) == null || i.forEach(((r) => {
243
+ t = this.shouldUpdate(e), t ? (this.willUpdate(e), (i = this._$EO) == null || i.forEach((r) => {
244
244
  var o;
245
245
  return (o = r.hostUpdate) == null ? void 0 : o.call(r);
246
- })), this.update(e)) : this._$EM();
246
+ }), this.update(e)) : this._$EM();
247
247
  } catch (r) {
248
248
  throw t = !1, this._$EM(), r;
249
249
  }
@@ -253,10 +253,10 @@ let R = class extends HTMLElement {
253
253
  }
254
254
  _$AE(t) {
255
255
  var e;
256
- (e = this._$EO) == null || e.forEach(((i) => {
256
+ (e = this._$EO) == null || e.forEach((i) => {
257
257
  var r;
258
258
  return (r = i.hostUpdated) == null ? void 0 : r.call(i);
259
- })), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
259
+ }), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
260
260
  }
261
261
  _$EM() {
262
262
  this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
@@ -271,63 +271,63 @@ let R = class extends HTMLElement {
271
271
  return !0;
272
272
  }
273
273
  update(t) {
274
- this._$Eq && (this._$Eq = this._$Eq.forEach(((e) => this._$ET(e, this[e])))), this._$EM();
274
+ this._$Eq && (this._$Eq = this._$Eq.forEach((e) => this._$ET(e, this[e]))), this._$EM();
275
275
  }
276
276
  updated(t) {
277
277
  }
278
278
  firstUpdated(t) {
279
279
  }
280
280
  };
281
- R.elementStyles = [], R.shadowRootOptions = { mode: "open" }, R[L("elementProperties")] = /* @__PURE__ */ new Map(), R[L("finalized")] = /* @__PURE__ */ new Map(), et == null || et({ ReactiveElement: R }), (w.reactiveElementVersions ?? (w.reactiveElementVersions = [])).push("2.1.1");
281
+ R.elementStyles = [], R.shadowRootOptions = { mode: "open" }, R[N("elementProperties")] = /* @__PURE__ */ new Map(), R[N("finalized")] = /* @__PURE__ */ new Map(), it == null || it({ ReactiveElement: R }), (w.reactiveElementVersions ?? (w.reactiveElementVersions = [])).push("2.1.2");
282
282
  /**
283
283
  * @license
284
284
  * Copyright 2017 Google LLC
285
285
  * SPDX-License-Identifier: BSD-3-Clause
286
286
  */
287
- const H = globalThis, K = H.trustedTypes, Nt = K ? K.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, re = "$lit$", _ = `lit$${Math.random().toFixed(9).slice(2)}$`, oe = "?" + _, Re = `<${oe}>`, P = document, B = () => P.createComment(""), F = (s) => s === null || typeof s != "object" && typeof s != "function", $t = Array.isArray, Me = (s) => $t(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", it = `[
288
- \f\r]`, N = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Lt = /-->/g, Ht = />/g, x = RegExp(`>|${it}(?:([^\\s"'>=/]+)(${it}*=${it}*(?:[^
289
- \f\r"'\`<>=]|("|')|))|$)`, "g"), It = /'/g, Bt = /"/g, ne = /^(?:script|style|textarea|title)$/i, Ue = (s) => (t, ...e) => ({ _$litType$: s, strings: t, values: e }), C = Ue(1), O = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), Ft = /* @__PURE__ */ new WeakMap(), E = P.createTreeWalker(P, 129);
290
- function ae(s, t) {
287
+ const H = globalThis, Lt = (s) => s, X = H.trustedTypes, Nt = X ? X.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, oe = "$lit$", _ = `lit$${Math.random().toFixed(9).slice(2)}$`, ne = "?" + _, Re = `<${ne}>`, P = document, F = () => P.createComment(""), B = (s) => s === null || typeof s != "object" && typeof s != "function", $t = Array.isArray, Me = (s) => $t(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", st = `[
288
+ \f\r]`, L = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ht = /-->/g, It = />/g, x = RegExp(`>|${st}(?:([^\\s"'>=/]+)(${st}*=${st}*(?:[^
289
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Ft = /'/g, Bt = /"/g, ae = /^(?:script|style|textarea|title)$/i, Ue = (s) => (t, ...e) => ({ _$litType$: s, strings: t, values: e }), C = Ue(1), O = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), Dt = /* @__PURE__ */ new WeakMap(), E = P.createTreeWalker(P, 129);
290
+ function ce(s, t) {
291
291
  if (!$t(s) || !s.hasOwnProperty("raw")) throw Error("invalid template strings array");
292
292
  return Nt !== void 0 ? Nt.createHTML(t) : t;
293
293
  }
294
294
  const je = (s, t) => {
295
295
  const e = s.length - 1, i = [];
296
- let r, o = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = N;
296
+ let r, o = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = L;
297
297
  for (let a = 0; a < e; a++) {
298
298
  const c = s[a];
299
299
  let h, l, u = -1, p = 0;
300
- for (; p < c.length && (n.lastIndex = p, l = n.exec(c), l !== null); ) p = n.lastIndex, n === N ? l[1] === "!--" ? n = Lt : l[1] !== void 0 ? n = Ht : l[2] !== void 0 ? (ne.test(l[2]) && (r = RegExp("</" + l[2], "g")), n = x) : l[3] !== void 0 && (n = x) : n === x ? l[0] === ">" ? (n = r ?? N, u = -1) : l[1] === void 0 ? u = -2 : (u = n.lastIndex - l[2].length, h = l[1], n = l[3] === void 0 ? x : l[3] === '"' ? Bt : It) : n === Bt || n === It ? n = x : n === Lt || n === Ht ? n = N : (n = x, r = void 0);
300
+ for (; p < c.length && (n.lastIndex = p, l = n.exec(c), l !== null); ) p = n.lastIndex, n === L ? l[1] === "!--" ? n = Ht : l[1] !== void 0 ? n = It : l[2] !== void 0 ? (ae.test(l[2]) && (r = RegExp("</" + l[2], "g")), n = x) : l[3] !== void 0 && (n = x) : n === x ? l[0] === ">" ? (n = r ?? L, u = -1) : l[1] === void 0 ? u = -2 : (u = n.lastIndex - l[2].length, h = l[1], n = l[3] === void 0 ? x : l[3] === '"' ? Bt : Ft) : n === Bt || n === Ft ? n = x : n === Ht || n === It ? n = L : (n = x, r = void 0);
301
301
  const f = n === x && s[a + 1].startsWith("/>") ? " " : "";
302
- o += n === N ? c + Re : u >= 0 ? (i.push(h), c.slice(0, u) + re + c.slice(u) + _ + f) : c + _ + (u === -2 ? a : f);
302
+ o += n === L ? c + Re : u >= 0 ? (i.push(h), c.slice(0, u) + oe + c.slice(u) + _ + f) : c + _ + (u === -2 ? a : f);
303
303
  }
304
- return [ae(s, o + (s[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
304
+ return [ce(s, o + (s[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
305
305
  };
306
- let ht = class ce {
306
+ class D {
307
307
  constructor({ strings: t, _$litType$: e }, i) {
308
308
  let r;
309
309
  this.parts = [];
310
310
  let o = 0, n = 0;
311
311
  const a = t.length - 1, c = this.parts, [h, l] = je(t, e);
312
- if (this.el = ce.createElement(h, i), E.currentNode = this.el.content, e === 2 || e === 3) {
312
+ if (this.el = D.createElement(h, i), E.currentNode = this.el.content, e === 2 || e === 3) {
313
313
  const u = this.el.content.firstChild;
314
314
  u.replaceWith(...u.childNodes);
315
315
  }
316
316
  for (; (r = E.nextNode()) !== null && c.length < a; ) {
317
317
  if (r.nodeType === 1) {
318
- if (r.hasAttributes()) for (const u of r.getAttributeNames()) if (u.endsWith(re)) {
318
+ if (r.hasAttributes()) for (const u of r.getAttributeNames()) if (u.endsWith(oe)) {
319
319
  const p = l[n++], f = r.getAttribute(u).split(_), T = /([.?@])?(.*)/.exec(p);
320
- c.push({ type: 1, index: o, name: T[2], strings: f, ctor: T[1] === "." ? Le : T[1] === "?" ? He : T[1] === "@" ? Ie : Q }), r.removeAttribute(u);
320
+ c.push({ type: 1, index: o, name: T[2], strings: f, ctor: T[1] === "." ? Ne : T[1] === "?" ? He : T[1] === "@" ? Ie : tt }), r.removeAttribute(u);
321
321
  } else u.startsWith(_) && (c.push({ type: 6, index: o }), r.removeAttribute(u));
322
- if (ne.test(r.tagName)) {
322
+ if (ae.test(r.tagName)) {
323
323
  const u = r.textContent.split(_), p = u.length - 1;
324
324
  if (p > 0) {
325
- r.textContent = K ? K.emptyScript : "";
326
- for (let f = 0; f < p; f++) r.append(u[f], B()), E.nextNode(), c.push({ type: 2, index: ++o });
327
- r.append(u[p], B());
325
+ r.textContent = X ? X.emptyScript : "";
326
+ for (let f = 0; f < p; f++) r.append(u[f], F()), E.nextNode(), c.push({ type: 2, index: ++o });
327
+ r.append(u[p], F());
328
328
  }
329
329
  }
330
- } else if (r.nodeType === 8) if (r.data === oe) c.push({ type: 2, index: o });
330
+ } else if (r.nodeType === 8) if (r.data === ne) c.push({ type: 2, index: o });
331
331
  else {
332
332
  let u = -1;
333
333
  for (; (u = r.data.indexOf(_, u + 1)) !== -1; ) c.push({ type: 7, index: o }), u += _.length - 1;
@@ -339,15 +339,15 @@ let ht = class ce {
339
339
  const i = P.createElement("template");
340
340
  return i.innerHTML = t, i;
341
341
  }
342
- };
342
+ }
343
343
  function M(s, t, e = s, i) {
344
344
  var n, a;
345
345
  if (t === O) return t;
346
346
  let r = i !== void 0 ? (n = e._$Co) == null ? void 0 : n[i] : e._$Cl;
347
- const o = F(t) ? void 0 : t._$litDirective$;
347
+ const o = B(t) ? void 0 : t._$litDirective$;
348
348
  return (r == null ? void 0 : r.constructor) !== o && ((a = r == null ? void 0 : r._$AO) == null || a.call(r, !1), o === void 0 ? r = void 0 : (r = new o(s), r._$AT(s, e, i)), i !== void 0 ? (e._$Co ?? (e._$Co = []))[i] = r : e._$Cl = r), r !== void 0 && (t = M(s, r._$AS(s, t.values), r, i)), t;
349
349
  }
350
- class Ne {
350
+ class Le {
351
351
  constructor(t, e) {
352
352
  this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
353
353
  }
@@ -364,7 +364,7 @@ class Ne {
364
364
  for (; c !== void 0; ) {
365
365
  if (n === c.index) {
366
366
  let h;
367
- c.type === 2 ? h = new z(o, o.nextSibling, this, t) : c.type === 1 ? h = new c.ctor(o, c.name, c.strings, this, t) : c.type === 6 && (h = new Be(o, this, t)), this._$AV.push(h), c = i[++a];
367
+ c.type === 2 ? h = new V(o, o.nextSibling, this, t) : c.type === 1 ? h = new c.ctor(o, c.name, c.strings, this, t) : c.type === 6 && (h = new Fe(o, this, t)), this._$AV.push(h), c = i[++a];
368
368
  }
369
369
  n !== (c == null ? void 0 : c.index) && (o = E.nextNode(), n++);
370
370
  }
@@ -375,7 +375,7 @@ class Ne {
375
375
  for (const i of this._$AV) i !== void 0 && (i.strings !== void 0 ? (i._$AI(t, i, e), e += i.strings.length - 2) : i._$AI(t[e])), e++;
376
376
  }
377
377
  }
378
- class z {
378
+ class V {
379
379
  get _$AU() {
380
380
  var t;
381
381
  return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
@@ -395,7 +395,7 @@ class z {
395
395
  return this._$AB;
396
396
  }
397
397
  _$AI(t, e = this) {
398
- t = M(this, t, e), F(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== O && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Me(t) ? this.k(t) : this._(t);
398
+ t = M(this, t, e), B(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== O && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Me(t) ? this.k(t) : this._(t);
399
399
  }
400
400
  O(t) {
401
401
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -404,33 +404,33 @@ class z {
404
404
  this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
405
405
  }
406
406
  _(t) {
407
- this._$AH !== d && F(this._$AH) ? this._$AA.nextSibling.data = t : this.T(P.createTextNode(t)), this._$AH = t;
407
+ this._$AH !== d && B(this._$AH) ? this._$AA.nextSibling.data = t : this.T(P.createTextNode(t)), this._$AH = t;
408
408
  }
409
409
  $(t) {
410
410
  var o;
411
- const { values: e, _$litType$: i } = t, r = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = ht.createElement(ae(i.h, i.h[0]), this.options)), i);
411
+ const { values: e, _$litType$: i } = t, r = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = D.createElement(ce(i.h, i.h[0]), this.options)), i);
412
412
  if (((o = this._$AH) == null ? void 0 : o._$AD) === r) this._$AH.p(e);
413
413
  else {
414
- const n = new Ne(r, this), a = n.u(this.options);
414
+ const n = new Le(r, this), a = n.u(this.options);
415
415
  n.p(e), this.T(a), this._$AH = n;
416
416
  }
417
417
  }
418
418
  _$AC(t) {
419
- let e = Ft.get(t.strings);
420
- return e === void 0 && Ft.set(t.strings, e = new ht(t)), e;
419
+ let e = Dt.get(t.strings);
420
+ return e === void 0 && Dt.set(t.strings, e = new D(t)), e;
421
421
  }
422
422
  k(t) {
423
423
  $t(this._$AH) || (this._$AH = [], this._$AR());
424
424
  const e = this._$AH;
425
425
  let i, r = 0;
426
- for (const o of t) r === e.length ? e.push(i = new z(this.O(B()), this.O(B()), this, this.options)) : i = e[r], i._$AI(o), r++;
426
+ for (const o of t) r === e.length ? e.push(i = new V(this.O(F()), this.O(F()), this, this.options)) : i = e[r], i._$AI(o), r++;
427
427
  r < e.length && (this._$AR(i && i._$AB.nextSibling, r), e.length = r);
428
428
  }
429
429
  _$AR(t = this._$AA.nextSibling, e) {
430
430
  var i;
431
431
  for ((i = this._$AP) == null ? void 0 : i.call(this, !1, !0, e); t !== this._$AB; ) {
432
- const r = t.nextSibling;
433
- t.remove(), t = r;
432
+ const r = Lt(t).nextSibling;
433
+ Lt(t).remove(), t = r;
434
434
  }
435
435
  }
436
436
  setConnected(t) {
@@ -438,7 +438,7 @@ class z {
438
438
  this._$AM === void 0 && (this._$Cv = t, (e = this._$AP) == null || e.call(this, t));
439
439
  }
440
440
  }
441
- class Q {
441
+ class tt {
442
442
  get tagName() {
443
443
  return this.element.tagName;
444
444
  }
@@ -451,11 +451,11 @@ class Q {
451
451
  _$AI(t, e = this, i, r) {
452
452
  const o = this.strings;
453
453
  let n = !1;
454
- if (o === void 0) t = M(this, t, e, 0), n = !F(t) || t !== this._$AH && t !== O, n && (this._$AH = t);
454
+ if (o === void 0) t = M(this, t, e, 0), n = !B(t) || t !== this._$AH && t !== O, n && (this._$AH = t);
455
455
  else {
456
456
  const a = t;
457
457
  let c, h;
458
- for (t = o[0], c = 0; c < o.length - 1; c++) h = M(this, a[i + c], e, c), h === O && (h = this._$AH[c]), n || (n = !F(h) || h !== this._$AH[c]), h === d ? t = d : t !== d && (t += (h ?? "") + o[c + 1]), this._$AH[c] = h;
458
+ for (t = o[0], c = 0; c < o.length - 1; c++) h = M(this, a[i + c], e, c), h === O && (h = this._$AH[c]), n || (n = !B(h) || h !== this._$AH[c]), h === d ? t = d : t !== d && (t += (h ?? "") + o[c + 1]), this._$AH[c] = h;
459
459
  }
460
460
  n && !r && this.j(t);
461
461
  }
@@ -463,7 +463,7 @@ class Q {
463
463
  t === d ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
464
464
  }
465
465
  }
466
- class Le extends Q {
466
+ class Ne extends tt {
467
467
  constructor() {
468
468
  super(...arguments), this.type = 3;
469
469
  }
@@ -471,7 +471,7 @@ class Le extends Q {
471
471
  this.element[this.name] = t === d ? void 0 : t;
472
472
  }
473
473
  }
474
- class He extends Q {
474
+ class He extends tt {
475
475
  constructor() {
476
476
  super(...arguments), this.type = 4;
477
477
  }
@@ -479,7 +479,7 @@ class He extends Q {
479
479
  this.element.toggleAttribute(this.name, !!t && t !== d);
480
480
  }
481
481
  }
482
- class Ie extends Q {
482
+ class Ie extends tt {
483
483
  constructor(t, e, i, r, o) {
484
484
  super(t, e, i, r, o), this.type = 5;
485
485
  }
@@ -493,7 +493,7 @@ class Ie extends Q {
493
493
  typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, t) : this._$AH.handleEvent(t);
494
494
  }
495
495
  }
496
- class Be {
496
+ class Fe {
497
497
  constructor(t, e, i) {
498
498
  this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
499
499
  }
@@ -504,14 +504,14 @@ class Be {
504
504
  M(this, t);
505
505
  }
506
506
  }
507
- const st = H.litHtmlPolyfillSupport;
508
- st == null || st(ht, z), (H.litHtmlVersions ?? (H.litHtmlVersions = [])).push("3.3.1");
509
- const Fe = (s, t, e) => {
507
+ const rt = H.litHtmlPolyfillSupport;
508
+ rt == null || rt(D, V), (H.litHtmlVersions ?? (H.litHtmlVersions = [])).push("3.3.2");
509
+ const Be = (s, t, e) => {
510
510
  const i = (e == null ? void 0 : e.renderBefore) ?? t;
511
511
  let r = i._$litPart$;
512
512
  if (r === void 0) {
513
513
  const o = (e == null ? void 0 : e.renderBefore) ?? null;
514
- i._$litPart$ = r = new z(t.insertBefore(B(), o), o, void 0, e ?? {});
514
+ i._$litPart$ = r = new V(t.insertBefore(F(), o), o, void 0, e ?? {});
515
515
  }
516
516
  return r._$AI(s), r;
517
517
  };
@@ -532,7 +532,7 @@ let m = class extends R {
532
532
  }
533
533
  update(t) {
534
534
  const e = this.render();
535
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Fe(e, this.renderRoot, this.renderOptions);
535
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Be(e, this.renderRoot, this.renderOptions);
536
536
  }
537
537
  connectedCallback() {
538
538
  var t;
@@ -546,11 +546,11 @@ let m = class extends R {
546
546
  return O;
547
547
  }
548
548
  };
549
- var ie;
550
- m._$litElement$ = !0, m.finalized = !0, (ie = S.litElementHydrateSupport) == null || ie.call(S, { LitElement: m });
551
- const rt = S.litElementPolyfillSupport;
552
- rt == null || rt({ LitElement: m });
553
- (S.litElementVersions ?? (S.litElementVersions = [])).push("4.2.1");
549
+ var se;
550
+ m._$litElement$ = !0, m.finalized = !0, (se = S.litElementHydrateSupport) == null || se.call(S, { LitElement: m });
551
+ const ot = S.litElementPolyfillSupport;
552
+ ot == null || ot({ LitElement: m });
553
+ (S.litElementVersions ?? (S.litElementVersions = [])).push("4.2.2");
554
554
  /**
555
555
  * @license
556
556
  * Copyright 2021 Google LLC
@@ -569,7 +569,7 @@ var lt = function(s, t) {
569
569
  for (var r in i) Object.prototype.hasOwnProperty.call(i, r) && (e[r] = i[r]);
570
570
  }, lt(s, t);
571
571
  };
572
- function V(s, t) {
572
+ function q(s, t) {
573
573
  if (typeof t != "function" && t !== null)
574
574
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
575
575
  lt(s, t);
@@ -619,7 +619,7 @@ function le(s) {
619
619
  }, e = s(t);
620
620
  return e.prototype = Object.create(Error.prototype), e.prototype.constructor = e, e;
621
621
  }
622
- var ot = le(function(s) {
622
+ var nt = le(function(s) {
623
623
  return function(e) {
624
624
  s(this), this.message = e ? e.length + ` errors occurred during unsubscription:
625
625
  ` + e.map(function(i, r) {
@@ -634,7 +634,7 @@ function ft(s, t) {
634
634
  0 <= e && s.splice(e, 1);
635
635
  }
636
636
  }
637
- var tt = (function() {
637
+ var et = (function() {
638
638
  function s(t) {
639
639
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
640
640
  }
@@ -666,7 +666,7 @@ var tt = (function() {
666
666
  try {
667
667
  l();
668
668
  } catch (v) {
669
- o = v instanceof ot ? v.errors : [v];
669
+ o = v instanceof nt ? v.errors : [v];
670
670
  }
671
671
  var u = this._finalizers;
672
672
  if (u) {
@@ -675,9 +675,9 @@ var tt = (function() {
675
675
  for (var p = ut(u), f = p.next(); !f.done; f = p.next()) {
676
676
  var T = f.value;
677
677
  try {
678
- Dt(T);
678
+ zt(T);
679
679
  } catch (v) {
680
- o = o ?? [], v instanceof ot ? o = pt(pt([], dt(o)), dt(v.errors)) : o.push(v);
680
+ o = o ?? [], v instanceof nt ? o = pt(pt([], dt(o)), dt(v.errors)) : o.push(v);
681
681
  }
682
682
  }
683
683
  } catch (v) {
@@ -691,13 +691,13 @@ var tt = (function() {
691
691
  }
692
692
  }
693
693
  if (o)
694
- throw new ot(o);
694
+ throw new nt(o);
695
695
  }
696
696
  }, s.prototype.add = function(t) {
697
697
  var e;
698
698
  if (t && t !== this)
699
699
  if (this.closed)
700
- Dt(t);
700
+ zt(t);
701
701
  else {
702
702
  if (t instanceof s) {
703
703
  if (t.closed || t._hasParent(this))
@@ -722,11 +722,11 @@ var tt = (function() {
722
722
  var t = new s();
723
723
  return t.closed = !0, t;
724
724
  })(), s;
725
- })(), ue = tt.EMPTY;
725
+ })(), ue = et.EMPTY;
726
726
  function de(s) {
727
- return s instanceof tt || s && "closed" in s && b(s.remove) && b(s.add) && b(s.unsubscribe);
727
+ return s instanceof et || s && "closed" in s && b(s.remove) && b(s.add) && b(s.unsubscribe);
728
728
  }
729
- function Dt(s) {
729
+ function zt(s) {
730
730
  b(s) ? s() : s.unsubscribe();
731
731
  }
732
732
  var De = {
@@ -747,13 +747,13 @@ function Ve(s) {
747
747
  throw s;
748
748
  });
749
749
  }
750
- function zt() {
750
+ function Vt() {
751
751
  }
752
- function Y(s) {
752
+ function Z(s) {
753
753
  s();
754
754
  }
755
755
  var pe = (function(s) {
756
- V(t, s);
756
+ q(t, s);
757
757
  function t(e) {
758
758
  var i = s.call(this) || this;
759
759
  return i.isStopped = !1, e ? (i.destination = e, de(e) && e.add(i)) : i.destination = We, i;
@@ -783,7 +783,7 @@ var pe = (function(s) {
783
783
  this.unsubscribe();
784
784
  }
785
785
  }, t;
786
- })(tt), qe = (function() {
786
+ })(et), qe = (function() {
787
787
  function s(t) {
788
788
  this.partialObserver = t;
789
789
  }
@@ -793,7 +793,7 @@ var pe = (function(s) {
793
793
  try {
794
794
  e.next(t);
795
795
  } catch (i) {
796
- G(i);
796
+ W(i);
797
797
  }
798
798
  }, s.prototype.error = function(t) {
799
799
  var e = this.partialObserver;
@@ -801,21 +801,21 @@ var pe = (function(s) {
801
801
  try {
802
802
  e.error(t);
803
803
  } catch (i) {
804
- G(i);
804
+ W(i);
805
805
  }
806
806
  else
807
- G(t);
807
+ W(t);
808
808
  }, s.prototype.complete = function() {
809
809
  var t = this.partialObserver;
810
810
  if (t.complete)
811
811
  try {
812
812
  t.complete();
813
813
  } catch (e) {
814
- G(e);
814
+ W(e);
815
815
  }
816
816
  }, s;
817
817
  })(), gt = (function(s) {
818
- V(t, s);
818
+ q(t, s);
819
819
  function t(e, i, r) {
820
820
  var o = s.call(this) || this, n;
821
821
  return b(e) || !e ? n = {
@@ -826,7 +826,7 @@ var pe = (function(s) {
826
826
  }
827
827
  return t;
828
828
  })(pe);
829
- function G(s) {
829
+ function W(s) {
830
830
  Ve(s);
831
831
  }
832
832
  function Ge(s) {
@@ -834,9 +834,9 @@ function Ge(s) {
834
834
  }
835
835
  var We = {
836
836
  closed: !0,
837
- next: zt,
837
+ next: Vt,
838
838
  error: Ge,
839
- complete: zt
839
+ complete: Vt
840
840
  }, Ye = (function() {
841
841
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
842
842
  })();
@@ -850,7 +850,7 @@ function Ke(s) {
850
850
  }, e);
851
851
  };
852
852
  }
853
- var Vt = (function() {
853
+ var qt = (function() {
854
854
  function s(t) {
855
855
  t && (this._subscribe = t);
856
856
  }
@@ -859,7 +859,7 @@ var Vt = (function() {
859
859
  return e.source = this, e.operator = t, e;
860
860
  }, s.prototype.subscribe = function(t, e, i) {
861
861
  var r = this, o = Je(t) ? t : new gt(t, e, i);
862
- return Y(function() {
862
+ return Z(function() {
863
863
  var n = r, a = n.operator, c = n.source;
864
864
  o.add(a ? a.call(o, c) : c ? r._subscribe(o) : r._trySubscribe(o));
865
865
  }), o;
@@ -871,7 +871,7 @@ var Vt = (function() {
871
871
  }
872
872
  }, s.prototype.forEach = function(t, e) {
873
873
  var i = this;
874
- return e = qt(e), new e(function(r, o) {
874
+ return e = Gt(e), new e(function(r, o) {
875
875
  var n = new gt({
876
876
  next: function(a) {
877
877
  try {
@@ -896,7 +896,7 @@ var Vt = (function() {
896
896
  return Ke(t)(this);
897
897
  }, s.prototype.toPromise = function(t) {
898
898
  var e = this;
899
- return t = qt(t), new t(function(i, r) {
899
+ return t = Gt(t), new t(function(i, r) {
900
900
  var o;
901
901
  e.subscribe(function(n) {
902
902
  return o = n;
@@ -910,7 +910,7 @@ var Vt = (function() {
910
910
  return new s(t);
911
911
  }, s;
912
912
  })();
913
- function qt(s) {
913
+ function Gt(s) {
914
914
  var t;
915
915
  return (t = s ?? De.Promise) !== null && t !== void 0 ? t : Promise;
916
916
  }
@@ -925,20 +925,20 @@ var Qe = le(function(s) {
925
925
  s(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
926
926
  };
927
927
  }), _t = (function(s) {
928
- V(t, s);
928
+ q(t, s);
929
929
  function t() {
930
930
  var e = s.call(this) || this;
931
931
  return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
932
932
  }
933
933
  return t.prototype.lift = function(e) {
934
- var i = new Gt(this, this);
934
+ var i = new Wt(this, this);
935
935
  return i.operator = e, i;
936
936
  }, t.prototype._throwIfClosed = function() {
937
937
  if (this.closed)
938
938
  throw new Qe();
939
939
  }, t.prototype.next = function(e) {
940
940
  var i = this;
941
- Y(function() {
941
+ Z(function() {
942
942
  var r, o;
943
943
  if (i._throwIfClosed(), !i.isStopped) {
944
944
  i.currentObservers || (i.currentObservers = Array.from(i.observers));
@@ -960,7 +960,7 @@ var Qe = le(function(s) {
960
960
  });
961
961
  }, t.prototype.error = function(e) {
962
962
  var i = this;
963
- Y(function() {
963
+ Z(function() {
964
964
  if (i._throwIfClosed(), !i.isStopped) {
965
965
  i.hasError = i.isStopped = !0, i.thrownError = e;
966
966
  for (var r = i.observers; r.length; )
@@ -969,7 +969,7 @@ var Qe = le(function(s) {
969
969
  });
970
970
  }, t.prototype.complete = function() {
971
971
  var e = this;
972
- Y(function() {
972
+ Z(function() {
973
973
  if (e._throwIfClosed(), !e.isStopped) {
974
974
  e.isStopped = !0;
975
975
  for (var i = e.observers; i.length; )
@@ -991,20 +991,20 @@ var Qe = le(function(s) {
991
991
  return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
992
992
  }, t.prototype._innerSubscribe = function(e) {
993
993
  var i = this, r = this, o = r.hasError, n = r.isStopped, a = r.observers;
994
- return o || n ? ue : (this.currentObservers = null, a.push(e), new tt(function() {
994
+ return o || n ? ue : (this.currentObservers = null, a.push(e), new et(function() {
995
995
  i.currentObservers = null, ft(a, e);
996
996
  }));
997
997
  }, t.prototype._checkFinalizedStatuses = function(e) {
998
998
  var i = this, r = i.hasError, o = i.thrownError, n = i.isStopped;
999
999
  r ? e.error(o) : n && e.complete();
1000
1000
  }, t.prototype.asObservable = function() {
1001
- var e = new Vt();
1001
+ var e = new qt();
1002
1002
  return e.source = this, e;
1003
1003
  }, t.create = function(e, i) {
1004
- return new Gt(e, i);
1004
+ return new Wt(e, i);
1005
1005
  }, t;
1006
- })(Vt), Gt = (function(s) {
1007
- V(t, s);
1006
+ })(qt), Wt = (function(s) {
1007
+ q(t, s);
1008
1008
  function t(e, i) {
1009
1009
  var r = s.call(this) || this;
1010
1010
  return r.destination = e, r.source = i, r;
@@ -1023,7 +1023,7 @@ var Qe = le(function(s) {
1023
1023
  return (r = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(e)) !== null && r !== void 0 ? r : ue;
1024
1024
  }, t;
1025
1025
  })(_t), fe = (function(s) {
1026
- V(t, s);
1026
+ q(t, s);
1027
1027
  function t(e) {
1028
1028
  var i = s.call(this) || this;
1029
1029
  return i._value = e, i;
@@ -1051,14 +1051,14 @@ var Qe = le(function(s) {
1051
1051
  * Copyright 2017 Google LLC
1052
1052
  * SPDX-License-Identifier: BSD-3-Clause
1053
1053
  */
1054
- const ti = { attribute: !0, type: String, converter: Z, reflect: !1, hasChanged: bt }, ei = (s = ti, t, e) => {
1054
+ const ti = { attribute: !0, type: String, converter: K, reflect: !1, hasChanged: bt }, ei = (s = ti, t, e) => {
1055
1055
  const { kind: i, metadata: r } = e;
1056
1056
  let o = globalThis.litPropertyMetadata.get(r);
1057
1057
  if (o === void 0 && globalThis.litPropertyMetadata.set(r, o = /* @__PURE__ */ new Map()), i === "setter" && ((s = Object.create(s)).wrapped = !0), o.set(e.name, s), i === "accessor") {
1058
1058
  const { name: n } = e;
1059
1059
  return { set(a) {
1060
1060
  const c = t.get.call(this);
1061
- t.set.call(this, a), this.requestUpdate(n, c, s);
1061
+ t.set.call(this, a), this.requestUpdate(n, c, s, !0, a);
1062
1062
  }, init(a) {
1063
1063
  return a !== void 0 && this.C(n, void 0, s, a), a;
1064
1064
  } };
@@ -1067,7 +1067,7 @@ const ti = { attribute: !0, type: String, converter: Z, reflect: !1, hasChanged:
1067
1067
  const { name: n } = e;
1068
1068
  return function(a) {
1069
1069
  const c = this[n];
1070
- t.call(this, a), this.requestUpdate(n, c, s);
1070
+ t.call(this, a), this.requestUpdate(n, c, s, !0, a);
1071
1071
  };
1072
1072
  }
1073
1073
  throw Error("Unsupported decorator location: " + i);
@@ -1122,10 +1122,10 @@ Et.styles = [
1122
1122
  }
1123
1123
  `
1124
1124
  ];
1125
- let X = Et;
1125
+ let J = Et;
1126
1126
  si([
1127
1127
  g({ attribute: !0 })
1128
- ], X.prototype, "anchor");
1128
+ ], J.prototype, "anchor");
1129
1129
  /**
1130
1130
  * @license
1131
1131
  * Copyright 2017 Google LLC
@@ -1165,7 +1165,7 @@ const I = (s, t) => {
1165
1165
  if (e === void 0) return !1;
1166
1166
  for (const r of e) (i = r._$AO) == null || i.call(r, t, !1), I(r, t);
1167
1167
  return !0;
1168
- }, J = (s) => {
1168
+ }, Q = (s) => {
1169
1169
  let t, e;
1170
1170
  do {
1171
1171
  if ((t = s._$AM) === void 0) break;
@@ -1180,12 +1180,12 @@ const I = (s, t) => {
1180
1180
  }
1181
1181
  };
1182
1182
  function oi(s) {
1183
- this._$AN !== void 0 ? (J(this), this._$AM = s, ve(this)) : this._$AM = s;
1183
+ this._$AN !== void 0 ? (Q(this), this._$AM = s, ve(this)) : this._$AM = s;
1184
1184
  }
1185
1185
  function ni(s, t = !1, e = 0) {
1186
1186
  const i = this._$AH, r = this._$AN;
1187
- if (r !== void 0 && r.size !== 0) if (t) if (Array.isArray(i)) for (let o = e; o < i.length; o++) I(i[o], !1), J(i[o]);
1188
- else i != null && (I(i, !1), J(i));
1187
+ if (r !== void 0 && r.size !== 0) if (t) if (Array.isArray(i)) for (let o = e; o < i.length; o++) I(i[o], !1), Q(i[o]);
1188
+ else i != null && (I(i, !1), Q(i));
1189
1189
  else I(this, s);
1190
1190
  }
1191
1191
  const ai = (s) => {
@@ -1200,7 +1200,7 @@ class me extends ge {
1200
1200
  }
1201
1201
  _$AO(t, e = !0) {
1202
1202
  var i, r;
1203
- t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (r = this.disconnected) == null || r.call(this)), e && (I(this, t), J(this));
1203
+ t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (r = this.disconnected) == null || r.call(this)), e && (I(this, t), Q(this));
1204
1204
  }
1205
1205
  setValue(t) {
1206
1206
  if (ri(this._$Ct)) this._$Ct._$AI(t, this);
@@ -1215,30 +1215,30 @@ class me extends ge {
1215
1215
  }
1216
1216
  }
1217
1217
  const ci = /* @__PURE__ */ new WeakMap();
1218
- let Wt = 0;
1219
- const nt = /* @__PURE__ */ new Map(), Yt = /* @__PURE__ */ new WeakSet(), Zt = () => new Promise(((s) => requestAnimationFrame(s))), hi = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], Kt = (s, t) => {
1218
+ let Yt = 0;
1219
+ const at = /* @__PURE__ */ new Map(), Zt = /* @__PURE__ */ new WeakSet(), Kt = () => new Promise((s) => requestAnimationFrame(s)), hi = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], Xt = (s, t) => {
1220
1220
  const e = s - t;
1221
1221
  return e === 0 ? void 0 : e;
1222
- }, Xt = (s, t) => {
1222
+ }, Jt = (s, t) => {
1223
1223
  const e = s / t;
1224
1224
  return e === 1 ? void 0 : e;
1225
- }, at = { left: (s, t) => {
1226
- const e = Kt(s, t);
1225
+ }, ct = { left: (s, t) => {
1226
+ const e = Xt(s, t);
1227
1227
  return { value: e, transform: e == null || isNaN(e) ? void 0 : `translateX(${e}px)` };
1228
1228
  }, top: (s, t) => {
1229
- const e = Kt(s, t);
1229
+ const e = Xt(s, t);
1230
1230
  return { value: e, transform: e == null || isNaN(e) ? void 0 : `translateY(${e}px)` };
1231
1231
  }, width: (s, t) => {
1232
1232
  let e;
1233
1233
  t === 0 && (t = 1, e = { width: "1px" });
1234
- const i = Xt(s, t);
1234
+ const i = Jt(s, t);
1235
1235
  return { value: i, overrideFrom: e, transform: i == null || isNaN(i) ? void 0 : `scaleX(${i})` };
1236
1236
  }, height: (s, t) => {
1237
1237
  let e;
1238
1238
  t === 0 && (t = 1, e = { height: "1px" });
1239
- const i = Xt(s, t);
1239
+ const i = Jt(s, t);
1240
1240
  return { value: i, overrideFrom: e, transform: i == null || isNaN(i) ? void 0 : `scaleY(${i})` };
1241
- } }, li = { duration: 333, easing: "ease-in-out" }, ui = ["left", "top", "width", "height", "opacity", "color", "background"], Jt = /* @__PURE__ */ new WeakMap();
1241
+ } }, li = { duration: 333, easing: "ease-in-out" }, ui = ["left", "top", "width", "height", "opacity", "color", "background"], Qt = /* @__PURE__ */ new WeakMap();
1242
1242
  class di extends me {
1243
1243
  constructor(t) {
1244
1244
  if (super(t), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, t.type === wt.CHILD) throw Error("The `animate` directive must be used in attribute position.");
@@ -1246,9 +1246,9 @@ class di extends me {
1246
1246
  }
1247
1247
  createFinished() {
1248
1248
  var t;
1249
- (t = this.resolveFinished) == null || t.call(this), this.finished = new Promise(((e) => {
1249
+ (t = this.resolveFinished) == null || t.call(this), this.finished = new Promise((e) => {
1250
1250
  this.l = e;
1251
- }));
1251
+ });
1252
1252
  }
1253
1253
  async resolveFinished() {
1254
1254
  var t;
@@ -1267,72 +1267,72 @@ class di extends me {
1267
1267
  update(t, [e]) {
1268
1268
  var r;
1269
1269
  const i = this.u === void 0;
1270
- return i && (this.u = (r = t.options) == null ? void 0 : r.host, this.u.addController(this), this.u.updateComplete.then(((o) => this.t = !0)), this.element = t.element, Jt.set(this.element, this)), this.optionsOrCallback = e, (i || typeof e != "function") && this.p(e), this.render(e);
1270
+ return i && (this.u = (r = t.options) == null ? void 0 : r.host, this.u.addController(this), this.u.updateComplete.then((o) => this.t = !0), this.element = t.element, Qt.set(this.element, this)), this.optionsOrCallback = e, (i || typeof e != "function") && this.m(e), this.render(e);
1271
1271
  }
1272
- p(t) {
1272
+ m(t) {
1273
1273
  t = t ?? {};
1274
1274
  const e = this.getController();
1275
1275
  e !== void 0 && ((t = { ...e.defaultOptions, ...t }).keyframeOptions = { ...e.defaultOptions.keyframeOptions, ...t.keyframeOptions }), t.properties ?? (t.properties = ui), this.options = t;
1276
1276
  }
1277
- m() {
1277
+ p() {
1278
1278
  const t = {}, e = this.element.getBoundingClientRect(), i = getComputedStyle(this.element);
1279
- return this.options.properties.forEach(((r) => {
1280
- const o = e[r] ?? (at[r] ? void 0 : i[r]), n = Number(o);
1279
+ return this.options.properties.forEach((r) => {
1280
+ const o = e[r] ?? (ct[r] ? void 0 : i[r]), n = Number(o);
1281
1281
  t[r] = isNaN(n) ? o + "" : n;
1282
- })), t;
1282
+ }), t;
1283
1283
  }
1284
1284
  v() {
1285
1285
  let t, e = !0;
1286
1286
  return this.options.guard && (t = this.options.guard(), e = ((i, r) => {
1287
1287
  if (Array.isArray(i)) {
1288
- if (Array.isArray(r) && r.length === i.length && i.every(((o, n) => o === r[n]))) return !1;
1288
+ if (Array.isArray(r) && r.length === i.length && i.every((o, n) => o === r[n])) return !1;
1289
1289
  } else if (r === i) return !1;
1290
1290
  return !0;
1291
1291
  })(t, this._)), this.h = this.t && !this.isDisabled() && !this.isAnimating() && e && this.element.isConnected, this.h && (this._ = Array.isArray(t) ? Array.from(t) : t), this.h;
1292
1292
  }
1293
1293
  hostUpdate() {
1294
- typeof this.optionsOrCallback == "function" && this.p(this.optionsOrCallback()), this.v() && (this.A = this.m(), this.i = this.i ?? this.element.parentNode, this.o = this.element.nextSibling);
1294
+ typeof this.optionsOrCallback == "function" && this.m(this.optionsOrCallback()), this.v() && (this.A = this.p(), this.i = this.i ?? this.element.parentNode, this.o = this.element.nextSibling);
1295
1295
  }
1296
1296
  async hostUpdated() {
1297
1297
  if (!this.h || !this.element.isConnected || this.options.skipInitial && !this.isHostRendered) return;
1298
1298
  let t;
1299
- this.prepare(), await Zt;
1300
- const e = this.O(), i = this.j(this.options.keyframeOptions, e), r = this.m();
1299
+ this.prepare(), await Kt;
1300
+ const e = this.P(), i = this.V(this.options.keyframeOptions, e), r = this.p();
1301
1301
  if (this.A !== void 0) {
1302
- const { from: o, to: n } = this.N(this.A, r, e);
1302
+ const { from: o, to: n } = this.O(this.A, r, e);
1303
1303
  this.log("measured", [this.A, r, o, n]), t = this.calculateKeyframes(o, n);
1304
1304
  } else {
1305
- const o = nt.get(this.options.inId);
1305
+ const o = at.get(this.options.inId);
1306
1306
  if (o) {
1307
- nt.delete(this.options.inId);
1308
- const { from: n, to: a } = this.N(o, r, e);
1309
- t = this.calculateKeyframes(n, a), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t, Wt++, t.forEach(((c) => c.zIndex = Wt));
1307
+ at.delete(this.options.inId);
1308
+ const { from: n, to: a } = this.O(o, r, e);
1309
+ t = this.calculateKeyframes(n, a), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t, Yt++, t.forEach((c) => c.zIndex = Yt);
1310
1310
  } else this.options.in && (t = [...this.options.in, {}]);
1311
1311
  }
1312
1312
  this.animate(t, i);
1313
1313
  }
1314
1314
  resetStyles() {
1315
- this.P !== void 0 && (this.element.setAttribute("style", this.P ?? ""), this.P = void 0);
1315
+ this.j !== void 0 && (this.element.setAttribute("style", this.j ?? ""), this.j = void 0);
1316
1316
  }
1317
1317
  commitStyles() {
1318
1318
  var t, e;
1319
- this.P = this.element.getAttribute("style"), (t = this.webAnimation) == null || t.commitStyles(), (e = this.webAnimation) == null || e.cancel();
1319
+ this.j = this.element.getAttribute("style"), (t = this.webAnimation) == null || t.commitStyles(), (e = this.webAnimation) == null || e.cancel();
1320
1320
  }
1321
1321
  reconnected() {
1322
1322
  }
1323
1323
  async disconnected() {
1324
1324
  var e;
1325
- if (!this.h || (this.options.id !== void 0 && nt.set(this.options.id, this.A), this.options.out === void 0)) return;
1326
- if (this.prepare(), await Zt(), (e = this.i) == null ? void 0 : e.isConnected) {
1325
+ if (!this.h || (this.options.id !== void 0 && at.set(this.options.id, this.A), this.options.out === void 0)) return;
1326
+ if (this.prepare(), await Kt(), (e = this.i) == null ? void 0 : e.isConnected) {
1327
1327
  const i = this.o && this.o.parentNode === this.i ? this.o : null;
1328
1328
  if (this.i.insertBefore(this.element, i), this.options.stabilizeOut) {
1329
- const r = this.m();
1329
+ const r = this.p();
1330
1330
  this.log("stabilizing out");
1331
1331
  const o = this.A.left - r.left, n = this.A.top - r.top;
1332
1332
  getComputedStyle(this.element).position !== "static" || o === 0 && n === 0 || (this.element.style.position = "relative"), o !== 0 && (this.element.style.left = o + "px"), n !== 0 && (this.element.style.top = n + "px");
1333
1333
  }
1334
1334
  }
1335
- const t = this.j(this.options.keyframeOptions);
1335
+ const t = this.V(this.options.keyframeOptions);
1336
1336
  await this.animate(this.options.out, t), this.element.remove();
1337
1337
  }
1338
1338
  prepare() {
@@ -1346,31 +1346,31 @@ class di extends me {
1346
1346
  var e, i;
1347
1347
  t && ((i = (e = this.options).onComplete) == null || i.call(e, this)), this.A = void 0, this.animatingProperties = void 0, this.frames = void 0, this.resolveFinished();
1348
1348
  }
1349
- O() {
1349
+ P() {
1350
1350
  const t = [];
1351
1351
  for (let e = this.element.parentNode; e; e = e == null ? void 0 : e.parentNode) {
1352
- const i = Jt.get(e);
1352
+ const i = Qt.get(e);
1353
1353
  i && !i.isDisabled() && i && t.push(i);
1354
1354
  }
1355
1355
  return t;
1356
1356
  }
1357
1357
  get isHostRendered() {
1358
- const t = Yt.has(this.u);
1359
- return t || this.u.updateComplete.then((() => {
1360
- Yt.add(this.u);
1361
- })), t;
1358
+ const t = Zt.has(this.u);
1359
+ return t || this.u.updateComplete.then(() => {
1360
+ Zt.add(this.u);
1361
+ }), t;
1362
1362
  }
1363
- j(t, e = this.O()) {
1363
+ V(t, e = this.P()) {
1364
1364
  const i = { ...li };
1365
- return e.forEach(((r) => Object.assign(i, r.options.keyframeOptions))), Object.assign(i, t), i;
1365
+ return e.forEach((r) => Object.assign(i, r.options.keyframeOptions)), Object.assign(i, t), i;
1366
1366
  }
1367
- N(t, e, i) {
1367
+ O(t, e, i) {
1368
1368
  t = { ...t }, e = { ...e };
1369
- const r = i.map(((a) => a.animatingProperties)).filter(((a) => a !== void 0));
1369
+ const r = i.map((a) => a.animatingProperties).filter((a) => a !== void 0);
1370
1370
  let o = 1, n = 1;
1371
- return r.length > 0 && (r.forEach(((a) => {
1371
+ return r.length > 0 && (r.forEach((a) => {
1372
1372
  a.width && (o /= a.width), a.height && (n /= a.height);
1373
- })), t.left !== void 0 && e.left !== void 0 && (t.left = o * t.left, e.left = o * e.left), t.top !== void 0 && e.top !== void 0 && (t.top = n * t.top, e.top = n * e.top)), { from: t, to: e };
1373
+ }), t.left !== void 0 && e.left !== void 0 && (t.left = o * t.left, e.left = o * e.left), t.top !== void 0 && e.top !== void 0 && (t.top = n * t.top, e.top = n * e.top)), { from: t, to: e };
1374
1374
  }
1375
1375
  calculateKeyframes(t, e, i = !1) {
1376
1376
  const r = {}, o = {};
@@ -1378,8 +1378,8 @@ class di extends me {
1378
1378
  const a = {};
1379
1379
  for (const c in e) {
1380
1380
  const h = t[c], l = e[c];
1381
- if (c in at) {
1382
- const u = at[c];
1381
+ if (c in ct) {
1382
+ const u = ct[c];
1383
1383
  if (h === void 0 || l === void 0) continue;
1384
1384
  const p = u(h, l);
1385
1385
  p.transform !== void 0 && (a[c] = p.value, n = !0, r.transform = `${r.transform ?? ""} ${p.transform}`, p.overrideFrom !== void 0 && Object.assign(r, p.overrideFrom));
@@ -1416,18 +1416,18 @@ const pi = xt(di), fi = { name: "question", svg: '<svg viewBox="0 0 64 64" xmlns
1416
1416
  * Copyright 2018 Google LLC
1417
1417
  * SPDX-License-Identifier: BSD-3-Clause
1418
1418
  */
1419
- const Qt = xt(class extends ge {
1419
+ const te = xt(class extends ge {
1420
1420
  constructor(s) {
1421
1421
  var t;
1422
1422
  if (super(s), s.type !== wt.ATTRIBUTE || s.name !== "class" || ((t = s.strings) == null ? void 0 : t.length) > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
1423
1423
  }
1424
1424
  render(s) {
1425
- return " " + Object.keys(s).filter(((t) => s[t])).join(" ") + " ";
1425
+ return " " + Object.keys(s).filter((t) => s[t]).join(" ") + " ";
1426
1426
  }
1427
1427
  update(s, [t]) {
1428
1428
  var i, r;
1429
1429
  if (this.st === void 0) {
1430
- this.st = /* @__PURE__ */ new Set(), s.strings !== void 0 && (this.nt = new Set(s.strings.join(" ").split(/\s/).filter(((o) => o !== ""))));
1430
+ this.st = /* @__PURE__ */ new Set(), s.strings !== void 0 && (this.nt = new Set(s.strings.join(" ").split(/\s/).filter((o) => o !== "")));
1431
1431
  for (const o in t) t[o] && !((i = this.nt) != null && i.has(o)) && this.st.add(o);
1432
1432
  return this.render(t);
1433
1433
  }
@@ -1481,7 +1481,7 @@ const Qt = xt(class extends ge {
1481
1481
  const be = () => new gi();
1482
1482
  class gi {
1483
1483
  }
1484
- const ct = /* @__PURE__ */ new WeakMap(), $e = xt(class extends me {
1484
+ const ht = /* @__PURE__ */ new WeakMap(), $e = xt(class extends me {
1485
1485
  render(s) {
1486
1486
  return d;
1487
1487
  }
@@ -1493,13 +1493,13 @@ const ct = /* @__PURE__ */ new WeakMap(), $e = xt(class extends me {
1493
1493
  rt(s) {
1494
1494
  if (this.isConnected || (s = void 0), typeof this.G == "function") {
1495
1495
  const t = this.ht ?? globalThis;
1496
- let e = ct.get(t);
1497
- e === void 0 && (e = /* @__PURE__ */ new WeakMap(), ct.set(t, e)), e.get(this.G) !== void 0 && this.G.call(this.ht, void 0), e.set(this.G, s), s !== void 0 && this.G.call(this.ht, s);
1496
+ let e = ht.get(t);
1497
+ e === void 0 && (e = /* @__PURE__ */ new WeakMap(), ht.set(t, e)), e.get(this.G) !== void 0 && this.G.call(this.ht, void 0), e.set(this.G, s), s !== void 0 && this.G.call(this.ht, s);
1498
1498
  } else this.G.value = s;
1499
1499
  }
1500
1500
  get lt() {
1501
1501
  var s, t;
1502
- return typeof this.G == "function" ? (s = ct.get(this.ht ?? globalThis)) == null ? void 0 : s.get(this.G) : (t = this.G) == null ? void 0 : t.value;
1502
+ return typeof this.G == "function" ? (s = ht.get(this.ht ?? globalThis)) == null ? void 0 : s.get(this.G) : (t = this.G) == null ? void 0 : t.value;
1503
1503
  }
1504
1504
  disconnected() {
1505
1505
  this.lt === this.ct && this.rt(void 0);
@@ -1508,7 +1508,7 @@ const ct = /* @__PURE__ */ new WeakMap(), $e = xt(class extends me {
1508
1508
  this.rt(this.ct);
1509
1509
  }
1510
1510
  });
1511
- var vi = Object.defineProperty, q = (s, t, e, i) => {
1511
+ var vi = Object.defineProperty, G = (s, t, e, i) => {
1512
1512
  for (var r = void 0, o = s.length - 1, n; o >= 0; o--)
1513
1513
  (n = s[o]) && (r = n(t, e, r) || r);
1514
1514
  return r && vi(t, e, r), r;
@@ -1590,7 +1590,7 @@ const St = class St extends m {
1590
1590
  render() {
1591
1591
  var t, e, i, r, o, n, a;
1592
1592
  return C`<div
1593
- class=${Qt({
1593
+ class=${te({
1594
1594
  "trigger-container": !0,
1595
1595
  "ace-hidden": !this.triggerVisible
1596
1596
  })}
@@ -1616,7 +1616,7 @@ const St = class St extends m {
1616
1616
  <button
1617
1617
  type="button"
1618
1618
  aria-label="${((a = (n = (o = this.application) == null ? void 0 : o.settings) == null ? void 0 : n.branding.other) == null ? void 0 : a.buttonLabelText) ?? "Widget trigger"}"
1619
- class=${Qt({
1619
+ class=${te({
1620
1620
  trigger: !0,
1621
1621
  active: this.active,
1622
1622
  rendered: this.loaded
@@ -1788,19 +1788,19 @@ St.styles = [
1788
1788
  `
1789
1789
  ];
1790
1790
  let $ = St;
1791
- q([
1791
+ G([
1792
1792
  g({ attribute: !1 })
1793
1793
  ], $.prototype, "application");
1794
- q([
1794
+ G([
1795
1795
  j()
1796
1796
  ], $.prototype, "active");
1797
- q([
1797
+ G([
1798
1798
  j()
1799
1799
  ], $.prototype, "triggerVisible");
1800
- q([
1800
+ G([
1801
1801
  j()
1802
1802
  ], $.prototype, "loaded");
1803
- q([
1803
+ G([
1804
1804
  j()
1805
1805
  ], $.prototype, "icon");
1806
1806
  var mi = Object.defineProperty, A = (s, t, e, i) => {
@@ -1936,7 +1936,7 @@ let $i = class extends Event {
1936
1936
  super("context-provider", { bubbles: !0, composed: !0 }), this.context = t, this.contextTarget = e;
1937
1937
  }
1938
1938
  };
1939
- class te extends bi {
1939
+ class ee extends bi {
1940
1940
  constructor(t, e, i) {
1941
1941
  var r, o;
1942
1942
  super(e.context !== void 0 ? e.initialValue : i), this.onContextRequest = (n) => {
@@ -1970,11 +1970,11 @@ function _i({ context: s }) {
1970
1970
  }, set(r) {
1971
1971
  return i.get(this).setValue(r), t.set.call(this, r);
1972
1972
  }, init(r) {
1973
- return i.set(this, new te(this, { context: s, initialValue: r })), r;
1973
+ return i.set(this, new ee(this, { context: s, initialValue: r })), r;
1974
1974
  } };
1975
1975
  {
1976
1976
  t.constructor.addInitializer(((n) => {
1977
- i.set(n, new te(n, { context: s }));
1977
+ i.set(n, new ee(n, { context: s }));
1978
1978
  }));
1979
1979
  const r = Object.getOwnPropertyDescriptor(t, e);
1980
1980
  let o;
@@ -2197,14 +2197,14 @@ Ot.styles = k`
2197
2197
  animation: none;
2198
2198
  }
2199
2199
  `;
2200
- let D = Ot;
2200
+ let z = Ot;
2201
2201
  we([
2202
2202
  g({ attribute: !0 })
2203
- ], D.prototype, "fullscreen");
2203
+ ], z.prototype, "fullscreen");
2204
2204
  we([
2205
2205
  g({ attribute: !1 }),
2206
2206
  _i({ context: xi })
2207
- ], D.prototype, "application");
2207
+ ], z.prototype, "application");
2208
2208
  var Ai = Object.defineProperty, Ct = (s, t, e, i) => {
2209
2209
  for (var r = void 0, o = s.length - 1, n; o >= 0; o--)
2210
2210
  (n = s[o]) && (r = n(t, e, r) || r);
@@ -2259,10 +2259,10 @@ Ct([
2259
2259
  Ct([
2260
2260
  j()
2261
2261
  ], U.prototype, "status");
2262
- customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", X);
2262
+ customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", J);
2263
2263
  customElements.get("ace-trigger") || customElements.define("ace-trigger", $);
2264
2264
  customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", vt);
2265
- customElements.get("ace-wrapper") || customElements.define("ace-wrapper", D);
2265
+ customElements.get("ace-wrapper") || customElements.define("ace-wrapper", z);
2266
2266
  customElements.get("ace-widget") || customElements.define("ace-widget", U);
2267
2267
  const Ci = (s) => {
2268
2268
  const t = {};
@@ -2299,8 +2299,8 @@ Tt.styles = [
2299
2299
  }
2300
2300
  `
2301
2301
  ];
2302
- let ee = Tt;
2302
+ let ie = Tt;
2303
2303
  export {
2304
- ee as Area,
2305
- ee as default
2304
+ ie as Area,
2305
+ ie as default
2306
2306
  };