@florid-kit/components 0.9.8 → 0.9.10

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.
package/index.mjs CHANGED
@@ -5,16 +5,16 @@
5
5
  */
6
6
  const $t = globalThis, Mt = $t.ShadowRoot && ($t.ShadyCSS === void 0 || $t.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Tt = Symbol(), Qt = /* @__PURE__ */ new WeakMap();
7
7
  let he = class {
8
- constructor(t, e, r) {
9
- if (this._$cssResult$ = !0, r !== Tt) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
8
+ constructor(t, e, n) {
9
+ if (this._$cssResult$ = !0, n !== Tt) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
10
10
  this.cssText = t, this.t = e;
11
11
  }
12
12
  get styleSheet() {
13
13
  let t = this.o;
14
14
  const e = this.t;
15
15
  if (Mt && t === void 0) {
16
- const r = e !== void 0 && e.length === 1;
17
- r && (t = Qt.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), r && Qt.set(e, t));
16
+ const n = e !== void 0 && e.length === 1;
17
+ n && (t = Qt.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), n && Qt.set(e, t));
18
18
  }
19
19
  return t;
20
20
  }
@@ -23,21 +23,21 @@ let he = class {
23
23
  }
24
24
  };
25
25
  const ye = (o) => new he(typeof o == "string" ? o : o + "", void 0, Tt), f = (o, ...t) => {
26
- const e = o.length === 1 ? o[0] : t.reduce((r, i, n) => r + ((s) => {
26
+ const e = o.length === 1 ? o[0] : t.reduce((n, i, r) => n + ((s) => {
27
27
  if (s._$cssResult$ === !0) return s.cssText;
28
28
  if (typeof s == "number") return s;
29
29
  throw Error("Value passed to 'css' function must be a 'css' function result: " + s + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
30
- })(i) + o[n + 1], o[0]);
30
+ })(i) + o[r + 1], o[0]);
31
31
  return new he(e, o, Tt);
32
32
  }, me = (o, t) => {
33
33
  if (Mt) o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
34
34
  else for (const e of t) {
35
- const r = document.createElement("style"), i = $t.litNonce;
36
- i !== void 0 && r.setAttribute("nonce", i), r.textContent = e.cssText, o.appendChild(r);
35
+ const n = document.createElement("style"), i = $t.litNonce;
36
+ i !== void 0 && n.setAttribute("nonce", i), n.textContent = e.cssText, o.appendChild(n);
37
37
  }
38
38
  }, Yt = Mt ? (o) => o : (o) => o instanceof CSSStyleSheet ? ((t) => {
39
39
  let e = "";
40
- for (const r of t.cssRules) e += r.cssText;
40
+ for (const n of t.cssRules) e += n.cssText;
41
41
  return ye(e);
42
42
  })(o) : o;
43
43
  /**
@@ -84,19 +84,19 @@ let it = class extends HTMLElement {
84
84
  }
85
85
  static createProperty(t, e = ee) {
86
86
  if (e.state && (e.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(t) && ((e = Object.create(e)).wrapped = !0), this.elementProperties.set(t, e), !e.noAccessor) {
87
- const r = Symbol(), i = this.getPropertyDescriptor(t, r, e);
87
+ const n = Symbol(), i = this.getPropertyDescriptor(t, n, e);
88
88
  i !== void 0 && we(this.prototype, t, i);
89
89
  }
90
90
  }
91
- static getPropertyDescriptor(t, e, r) {
92
- const { get: i, set: n } = $e(this.prototype, t) ?? { get() {
91
+ static getPropertyDescriptor(t, e, n) {
92
+ const { get: i, set: r } = $e(this.prototype, t) ?? { get() {
93
93
  return this[e];
94
94
  }, set(s) {
95
95
  this[e] = s;
96
96
  } };
97
97
  return { get: i, set(s) {
98
- const c = i == null ? void 0 : i.call(this);
99
- n == null || n.call(this, s), this.requestUpdate(t, c, r);
98
+ const h = i == null ? void 0 : i.call(this);
99
+ r == null || r.call(this, s), this.requestUpdate(t, h, n);
100
100
  }, configurable: !0, enumerable: !0 };
101
101
  }
102
102
  static getPropertyOptions(t) {
@@ -110,17 +110,17 @@ let it = class extends HTMLElement {
110
110
  static finalize() {
111
111
  if (this.hasOwnProperty(lt("finalized"))) return;
112
112
  if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(lt("properties"))) {
113
- const e = this.properties, r = [...Ce(e), ..._e(e)];
114
- for (const i of r) this.createProperty(i, e[i]);
113
+ const e = this.properties, n = [...Ce(e), ..._e(e)];
114
+ for (const i of n) this.createProperty(i, e[i]);
115
115
  }
116
116
  const t = this[Symbol.metadata];
117
117
  if (t !== null) {
118
118
  const e = litPropertyMetadata.get(t);
119
- if (e !== void 0) for (const [r, i] of e) this.elementProperties.set(r, i);
119
+ if (e !== void 0) for (const [n, i] of e) this.elementProperties.set(n, i);
120
120
  }
121
121
  this._$Eh = /* @__PURE__ */ new Map();
122
- for (const [e, r] of this.elementProperties) {
123
- const i = this._$Eu(e, r);
122
+ for (const [e, n] of this.elementProperties) {
123
+ const i = this._$Eu(e, n);
124
124
  i !== void 0 && this._$Eh.set(i, e);
125
125
  }
126
126
  this.elementStyles = this.finalizeStyles(this.styles);
@@ -128,14 +128,14 @@ let it = class extends HTMLElement {
128
128
  static finalizeStyles(t) {
129
129
  const e = [];
130
130
  if (Array.isArray(t)) {
131
- const r = new Set(t.flat(1 / 0).reverse());
132
- for (const i of r) e.unshift(Yt(i));
131
+ const n = new Set(t.flat(1 / 0).reverse());
132
+ for (const i of n) e.unshift(Yt(i));
133
133
  } else t !== void 0 && e.push(Yt(t));
134
134
  return e;
135
135
  }
136
136
  static _$Eu(t, e) {
137
- const r = e.attribute;
138
- return r === !1 ? void 0 : typeof r == "string" ? r : typeof t == "string" ? t.toLowerCase() : void 0;
137
+ const n = e.attribute;
138
+ return n === !1 ? void 0 : typeof n == "string" ? n : typeof t == "string" ? t.toLowerCase() : void 0;
139
139
  }
140
140
  constructor() {
141
141
  super(), this._$Ep = void 0, this.isUpdatePending = !1, this.hasUpdated = !1, this._$Em = null, this._$Ev();
@@ -154,7 +154,7 @@ let it = class extends HTMLElement {
154
154
  }
155
155
  _$E_() {
156
156
  const t = /* @__PURE__ */ new Map(), e = this.constructor.elementProperties;
157
- for (const r of e.keys()) this.hasOwnProperty(r) && (t.set(r, this[r]), delete this[r]);
157
+ for (const n of e.keys()) this.hasOwnProperty(n) && (t.set(n, this[n]), delete this[n]);
158
158
  t.size > 0 && (this._$Ep = t);
159
159
  }
160
160
  createRenderRoot() {
@@ -164,8 +164,8 @@ let it = class extends HTMLElement {
164
164
  connectedCallback() {
165
165
  var t;
166
166
  this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), (t = this._$EO) == null || t.forEach((e) => {
167
- var r;
168
- return (r = e.hostConnected) == null ? void 0 : r.call(e);
167
+ var n;
168
+ return (n = e.hostConnected) == null ? void 0 : n.call(e);
169
169
  });
170
170
  }
171
171
  enableUpdating(t) {
@@ -173,40 +173,40 @@ let it = class extends HTMLElement {
173
173
  disconnectedCallback() {
174
174
  var t;
175
175
  (t = this._$EO) == null || t.forEach((e) => {
176
- var r;
177
- return (r = e.hostDisconnected) == null ? void 0 : r.call(e);
176
+ var n;
177
+ return (n = e.hostDisconnected) == null ? void 0 : n.call(e);
178
178
  });
179
179
  }
180
- attributeChangedCallback(t, e, r) {
181
- this._$AK(t, r);
180
+ attributeChangedCallback(t, e, n) {
181
+ this._$AK(t, n);
182
182
  }
183
183
  _$ET(t, e) {
184
- var n;
185
- const r = this.constructor.elementProperties.get(t), i = this.constructor._$Eu(t, r);
186
- if (i !== void 0 && r.reflect === !0) {
187
- const s = (((n = r.converter) == null ? void 0 : n.toAttribute) !== void 0 ? r.converter : Ct).toAttribute(e, r.type);
184
+ var r;
185
+ const n = this.constructor.elementProperties.get(t), i = this.constructor._$Eu(t, n);
186
+ if (i !== void 0 && n.reflect === !0) {
187
+ const s = (((r = n.converter) == null ? void 0 : r.toAttribute) !== void 0 ? n.converter : Ct).toAttribute(e, n.type);
188
188
  this._$Em = t, s == null ? this.removeAttribute(i) : this.setAttribute(i, s), this._$Em = null;
189
189
  }
190
190
  }
191
191
  _$AK(t, e) {
192
- var n, s;
193
- const r = this.constructor, i = r._$Eh.get(t);
192
+ var r, s;
193
+ const n = this.constructor, i = n._$Eh.get(t);
194
194
  if (i !== void 0 && this._$Em !== i) {
195
- const c = r.getPropertyOptions(i), h = typeof c.converter == "function" ? { fromAttribute: c.converter } : ((n = c.converter) == null ? void 0 : n.fromAttribute) !== void 0 ? c.converter : Ct;
196
- this._$Em = i, this[i] = h.fromAttribute(e, c.type) ?? ((s = this._$Ej) == null ? void 0 : s.get(i)) ?? null, this._$Em = null;
195
+ const h = n.getPropertyOptions(i), c = typeof h.converter == "function" ? { fromAttribute: h.converter } : ((r = h.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? h.converter : Ct;
196
+ this._$Em = i, this[i] = c.fromAttribute(e, h.type) ?? ((s = this._$Ej) == null ? void 0 : s.get(i)) ?? null, this._$Em = null;
197
197
  }
198
198
  }
199
- requestUpdate(t, e, r) {
199
+ requestUpdate(t, e, n) {
200
200
  var i;
201
201
  if (t !== void 0) {
202
- const n = this.constructor, s = this[t];
203
- if (r ?? (r = n.getPropertyOptions(t)), !((r.hasChanged ?? jt)(s, e) || r.useDefault && r.reflect && s === ((i = this._$Ej) == null ? void 0 : i.get(t)) && !this.hasAttribute(n._$Eu(t, r)))) return;
204
- this.C(t, e, r);
202
+ const r = this.constructor, s = this[t];
203
+ if (n ?? (n = r.getPropertyOptions(t)), !((n.hasChanged ?? jt)(s, e) || n.useDefault && n.reflect && s === ((i = this._$Ej) == null ? void 0 : i.get(t)) && !this.hasAttribute(r._$Eu(t, n)))) return;
204
+ this.C(t, e, n);
205
205
  }
206
206
  this.isUpdatePending === !1 && (this._$ES = this._$EP());
207
207
  }
208
- C(t, e, { useDefault: r, reflect: i, wrapped: n }, s) {
209
- r && !(this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Map())).has(t) && (this._$Ej.set(t, s ?? e ?? this[t]), n !== !0 || s !== void 0) || (this._$AL.has(t) || (this.hasUpdated || r || (e = void 0), this._$AL.set(t, e)), i === !0 && this._$Em !== t && (this._$Eq ?? (this._$Eq = /* @__PURE__ */ new Set())).add(t));
208
+ C(t, e, { useDefault: n, reflect: i, wrapped: r }, s) {
209
+ n && !(this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Map())).has(t) && (this._$Ej.set(t, s ?? e ?? this[t]), r !== !0 || s !== void 0) || (this._$AL.has(t) || (this.hasUpdated || n || (e = void 0), this._$AL.set(t, e)), i === !0 && this._$Em !== t && (this._$Eq ?? (this._$Eq = /* @__PURE__ */ new Set())).add(t));
210
210
  }
211
211
  async _$EP() {
212
212
  this.isUpdatePending = !0;
@@ -222,25 +222,25 @@ let it = class extends HTMLElement {
222
222
  return this.performUpdate();
223
223
  }
224
224
  performUpdate() {
225
- var r;
225
+ var n;
226
226
  if (!this.isUpdatePending) return;
227
227
  if (!this.hasUpdated) {
228
228
  if (this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this._$Ep) {
229
- for (const [n, s] of this._$Ep) this[n] = s;
229
+ for (const [r, s] of this._$Ep) this[r] = s;
230
230
  this._$Ep = void 0;
231
231
  }
232
232
  const i = this.constructor.elementProperties;
233
- if (i.size > 0) for (const [n, s] of i) {
234
- const { wrapped: c } = s, h = this[n];
235
- c !== !0 || this._$AL.has(n) || h === void 0 || this.C(n, void 0, s, h);
233
+ if (i.size > 0) for (const [r, s] of i) {
234
+ const { wrapped: h } = s, c = this[r];
235
+ h !== !0 || this._$AL.has(r) || c === void 0 || this.C(r, void 0, s, c);
236
236
  }
237
237
  }
238
238
  let t = !1;
239
239
  const e = this._$AL;
240
240
  try {
241
- t = this.shouldUpdate(e), t ? (this.willUpdate(e), (r = this._$EO) == null || r.forEach((i) => {
242
- var n;
243
- return (n = i.hostUpdate) == null ? void 0 : n.call(i);
241
+ t = this.shouldUpdate(e), t ? (this.willUpdate(e), (n = this._$EO) == null || n.forEach((i) => {
242
+ var r;
243
+ return (r = i.hostUpdate) == null ? void 0 : r.call(i);
244
244
  }), this.update(e)) : this._$EM();
245
245
  } catch (i) {
246
246
  throw t = !1, this._$EM(), i;
@@ -251,9 +251,9 @@ let it = class extends HTMLElement {
251
251
  }
252
252
  _$AE(t) {
253
253
  var e;
254
- (e = this._$EO) == null || e.forEach((r) => {
254
+ (e = this._$EO) == null || e.forEach((n) => {
255
255
  var i;
256
- return (i = r.hostUpdated) == null ? void 0 : i.call(r);
256
+ return (i = n.hostUpdated) == null ? void 0 : i.call(n);
257
257
  }), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
258
258
  }
259
259
  _$EM() {
@@ -283,67 +283,67 @@ it.elementStyles = [], it.shadowRootOptions = { mode: "open" }, it[lt("elementPr
283
283
  * SPDX-License-Identifier: BSD-3-Clause
284
284
  */
285
285
  const ct = globalThis, _t = ct.trustedTypes, oe = _t ? _t.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, de = "$lit$", K = `lit$${Math.random().toFixed(9).slice(2)}$`, pe = "?" + K, Ee = `<${pe}>`, tt = document, dt = () => tt.createComment(""), pt = (o) => o === null || typeof o != "object" && typeof o != "function", Rt = Array.isArray, Ae = (o) => Rt(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", It = `[
286
- \f\r]`, at = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ie = /-->/g, re = />/g, J = RegExp(`>|${It}(?:([^\\s"'>=/]+)(${It}*=${It}*(?:[^
287
- \f\r"'\`<>=]|("|')|))|$)`, "g"), ne = /'/g, se = /"/g, ue = /^(?:script|style|textarea|title)$/i, Le = (o) => (t, ...e) => ({ _$litType$: o, strings: t, values: e }), l = Le(1), G = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), ae = /* @__PURE__ */ new WeakMap(), Q = tt.createTreeWalker(tt, 129);
286
+ \f\r]`, at = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ie = /-->/g, ne = />/g, J = RegExp(`>|${It}(?:([^\\s"'>=/]+)(${It}*=${It}*(?:[^
287
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), re = /'/g, se = /"/g, ue = /^(?:script|style|textarea|title)$/i, Le = (o) => (t, ...e) => ({ _$litType$: o, strings: t, values: e }), l = Le(1), G = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), ae = /* @__PURE__ */ new WeakMap(), Q = tt.createTreeWalker(tt, 129);
288
288
  function ve(o, t) {
289
289
  if (!Rt(o) || !o.hasOwnProperty("raw")) throw Error("invalid template strings array");
290
290
  return oe !== void 0 ? oe.createHTML(t) : t;
291
291
  }
292
292
  const Ie = (o, t) => {
293
- const e = o.length - 1, r = [];
294
- let i, n = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", s = at;
295
- for (let c = 0; c < e; c++) {
296
- const h = o[c];
297
- let b, x, p = -1, k = 0;
298
- for (; k < h.length && (s.lastIndex = k, x = s.exec(h), x !== null); ) k = s.lastIndex, s === at ? x[1] === "!--" ? s = ie : x[1] !== void 0 ? s = re : x[2] !== void 0 ? (ue.test(x[2]) && (i = RegExp("</" + x[2], "g")), s = J) : x[3] !== void 0 && (s = J) : s === J ? x[0] === ">" ? (s = i ?? at, p = -1) : x[1] === void 0 ? p = -2 : (p = s.lastIndex - x[2].length, b = x[1], s = x[3] === void 0 ? J : x[3] === '"' ? se : ne) : s === se || s === ne ? s = J : s === ie || s === re ? s = at : (s = J, i = void 0);
299
- const B = s === J && o[c + 1].startsWith("/>") ? " " : "";
300
- n += s === at ? h + Ee : p >= 0 ? (r.push(b), h.slice(0, p) + de + h.slice(p) + K + B) : h + K + (p === -2 ? c : B);
301
- }
302
- return [ve(o, n + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), r];
293
+ const e = o.length - 1, n = [];
294
+ let i, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", s = at;
295
+ for (let h = 0; h < e; h++) {
296
+ const c = o[h];
297
+ let m, w, v = -1, R = 0;
298
+ for (; R < c.length && (s.lastIndex = R, w = s.exec(c), w !== null); ) R = s.lastIndex, s === at ? w[1] === "!--" ? s = ie : w[1] !== void 0 ? s = ne : w[2] !== void 0 ? (ue.test(w[2]) && (i = RegExp("</" + w[2], "g")), s = J) : w[3] !== void 0 && (s = J) : s === J ? w[0] === ">" ? (s = i ?? at, v = -1) : w[1] === void 0 ? v = -2 : (v = s.lastIndex - w[2].length, m = w[1], s = w[3] === void 0 ? J : w[3] === '"' ? se : re) : s === se || s === re ? s = J : s === ie || s === ne ? s = at : (s = J, i = void 0);
299
+ const Z = s === J && o[h + 1].startsWith("/>") ? " " : "";
300
+ r += s === at ? c + Ee : v >= 0 ? (n.push(m), c.slice(0, v) + de + c.slice(v) + K + Z) : c + K + (v === -2 ? h : Z);
301
+ }
302
+ return [ve(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), n];
303
303
  };
304
304
  class ut {
305
- constructor({ strings: t, _$litType$: e }, r) {
305
+ constructor({ strings: t, _$litType$: e }, n) {
306
306
  let i;
307
307
  this.parts = [];
308
- let n = 0, s = 0;
309
- const c = t.length - 1, h = this.parts, [b, x] = Ie(t, e);
310
- if (this.el = ut.createElement(b, r), Q.currentNode = this.el.content, e === 2 || e === 3) {
311
- const p = this.el.content.firstChild;
312
- p.replaceWith(...p.childNodes);
308
+ let r = 0, s = 0;
309
+ const h = t.length - 1, c = this.parts, [m, w] = Ie(t, e);
310
+ if (this.el = ut.createElement(m, n), Q.currentNode = this.el.content, e === 2 || e === 3) {
311
+ const v = this.el.content.firstChild;
312
+ v.replaceWith(...v.childNodes);
313
313
  }
314
- for (; (i = Q.nextNode()) !== null && h.length < c; ) {
314
+ for (; (i = Q.nextNode()) !== null && c.length < h; ) {
315
315
  if (i.nodeType === 1) {
316
- if (i.hasAttributes()) for (const p of i.getAttributeNames()) if (p.endsWith(de)) {
317
- const k = x[s++], B = i.getAttribute(p).split(K), wt = /([.?@])?(.*)/.exec(k);
318
- h.push({ type: 1, index: n, name: wt[2], strings: B, ctor: wt[1] === "." ? Oe : wt[1] === "?" ? ze : wt[1] === "@" ? Be : St }), i.removeAttribute(p);
319
- } else p.startsWith(K) && (h.push({ type: 6, index: n }), i.removeAttribute(p));
316
+ if (i.hasAttributes()) for (const v of i.getAttributeNames()) if (v.endsWith(de)) {
317
+ const R = w[s++], Z = i.getAttribute(v).split(K), wt = /([.?@])?(.*)/.exec(R);
318
+ c.push({ type: 1, index: r, name: wt[2], strings: Z, ctor: wt[1] === "." ? Oe : wt[1] === "?" ? ze : wt[1] === "@" ? Be : St }), i.removeAttribute(v);
319
+ } else v.startsWith(K) && (c.push({ type: 6, index: r }), i.removeAttribute(v));
320
320
  if (ue.test(i.tagName)) {
321
- const p = i.textContent.split(K), k = p.length - 1;
322
- if (k > 0) {
321
+ const v = i.textContent.split(K), R = v.length - 1;
322
+ if (R > 0) {
323
323
  i.textContent = _t ? _t.emptyScript : "";
324
- for (let B = 0; B < k; B++) i.append(p[B], dt()), Q.nextNode(), h.push({ type: 2, index: ++n });
325
- i.append(p[k], dt());
324
+ for (let Z = 0; Z < R; Z++) i.append(v[Z], dt()), Q.nextNode(), c.push({ type: 2, index: ++r });
325
+ i.append(v[R], dt());
326
326
  }
327
327
  }
328
- } else if (i.nodeType === 8) if (i.data === pe) h.push({ type: 2, index: n });
328
+ } else if (i.nodeType === 8) if (i.data === pe) c.push({ type: 2, index: r });
329
329
  else {
330
- let p = -1;
331
- for (; (p = i.data.indexOf(K, p + 1)) !== -1; ) h.push({ type: 7, index: n }), p += K.length - 1;
330
+ let v = -1;
331
+ for (; (v = i.data.indexOf(K, v + 1)) !== -1; ) c.push({ type: 7, index: r }), v += K.length - 1;
332
332
  }
333
- n++;
333
+ r++;
334
334
  }
335
335
  }
336
336
  static createElement(t, e) {
337
- const r = tt.createElement("template");
338
- return r.innerHTML = t, r;
337
+ const n = tt.createElement("template");
338
+ return n.innerHTML = t, n;
339
339
  }
340
340
  }
341
- function rt(o, t, e = o, r) {
342
- var s, c;
341
+ function nt(o, t, e = o, n) {
342
+ var s, h;
343
343
  if (t === G) return t;
344
- let i = r !== void 0 ? (s = e._$Co) == null ? void 0 : s[r] : e._$Cl;
345
- const n = pt(t) ? void 0 : t._$litDirective$;
346
- return (i == null ? void 0 : i.constructor) !== n && ((c = i == null ? void 0 : i._$AO) == null || c.call(i, !1), n === void 0 ? i = void 0 : (i = new n(o), i._$AT(o, e, r)), r !== void 0 ? (e._$Co ?? (e._$Co = []))[r] = i : e._$Cl = i), i !== void 0 && (t = rt(o, i._$AS(o, t.values), i, r)), t;
344
+ let i = n !== void 0 ? (s = e._$Co) == null ? void 0 : s[n] : e._$Cl;
345
+ const r = pt(t) ? void 0 : t._$litDirective$;
346
+ return (i == null ? void 0 : i.constructor) !== r && ((h = i == null ? void 0 : i._$AO) == null || h.call(i, !1), r === void 0 ? i = void 0 : (i = new r(o), i._$AT(o, e, n)), n !== void 0 ? (e._$Co ?? (e._$Co = []))[n] = i : e._$Cl = i), i !== void 0 && (t = nt(o, i._$AS(o, t.values), i, n)), t;
347
347
  }
348
348
  class Pe {
349
349
  constructor(t, e) {
@@ -356,21 +356,21 @@ class Pe {
356
356
  return this._$AM._$AU;
357
357
  }
358
358
  u(t) {
359
- const { el: { content: e }, parts: r } = this._$AD, i = ((t == null ? void 0 : t.creationScope) ?? tt).importNode(e, !0);
359
+ const { el: { content: e }, parts: n } = this._$AD, i = ((t == null ? void 0 : t.creationScope) ?? tt).importNode(e, !0);
360
360
  Q.currentNode = i;
361
- let n = Q.nextNode(), s = 0, c = 0, h = r[0];
362
- for (; h !== void 0; ) {
363
- if (s === h.index) {
364
- let b;
365
- h.type === 2 ? b = new mt(n, n.nextSibling, this, t) : h.type === 1 ? b = new h.ctor(n, h.name, h.strings, this, t) : h.type === 6 && (b = new De(n, this, t)), this._$AV.push(b), h = r[++c];
361
+ let r = Q.nextNode(), s = 0, h = 0, c = n[0];
362
+ for (; c !== void 0; ) {
363
+ if (s === c.index) {
364
+ let m;
365
+ c.type === 2 ? m = new mt(r, r.nextSibling, this, t) : c.type === 1 ? m = new c.ctor(r, c.name, c.strings, this, t) : c.type === 6 && (m = new De(r, this, t)), this._$AV.push(m), c = n[++h];
366
366
  }
367
- s !== (h == null ? void 0 : h.index) && (n = Q.nextNode(), s++);
367
+ s !== (c == null ? void 0 : c.index) && (r = Q.nextNode(), s++);
368
368
  }
369
369
  return Q.currentNode = tt, i;
370
370
  }
371
371
  p(t) {
372
372
  let e = 0;
373
- for (const r of this._$AV) r !== void 0 && (r.strings !== void 0 ? (r._$AI(t, r, e), e += r.strings.length - 2) : r._$AI(t[e])), e++;
373
+ for (const n of this._$AV) n !== void 0 && (n.strings !== void 0 ? (n._$AI(t, n, e), e += n.strings.length - 2) : n._$AI(t[e])), e++;
374
374
  }
375
375
  }
376
376
  class mt {
@@ -378,8 +378,8 @@ class mt {
378
378
  var t;
379
379
  return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
380
380
  }
381
- constructor(t, e, r, i) {
382
- this.type = 2, this._$AH = d, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = r, this.options = i, this._$Cv = (i == null ? void 0 : i.isConnected) ?? !0;
381
+ constructor(t, e, n, i) {
382
+ this.type = 2, this._$AH = d, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = n, this.options = i, this._$Cv = (i == null ? void 0 : i.isConnected) ?? !0;
383
383
  }
384
384
  get parentNode() {
385
385
  let t = this._$AA.parentNode;
@@ -393,7 +393,7 @@ class mt {
393
393
  return this._$AB;
394
394
  }
395
395
  _$AI(t, e = this) {
396
- t = rt(this, t, e), pt(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== G && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Ae(t) ? this.k(t) : this._(t);
396
+ t = nt(this, t, e), pt(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== G && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Ae(t) ? this.k(t) : this._(t);
397
397
  }
398
398
  O(t) {
399
399
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -405,12 +405,12 @@ class mt {
405
405
  this._$AH !== d && pt(this._$AH) ? this._$AA.nextSibling.data = t : this.T(tt.createTextNode(t)), this._$AH = t;
406
406
  }
407
407
  $(t) {
408
- var n;
409
- const { values: e, _$litType$: r } = t, i = typeof r == "number" ? this._$AC(t) : (r.el === void 0 && (r.el = ut.createElement(ve(r.h, r.h[0]), this.options)), r);
410
- if (((n = this._$AH) == null ? void 0 : n._$AD) === i) this._$AH.p(e);
408
+ var r;
409
+ const { values: e, _$litType$: n } = t, i = typeof n == "number" ? this._$AC(t) : (n.el === void 0 && (n.el = ut.createElement(ve(n.h, n.h[0]), this.options)), n);
410
+ if (((r = this._$AH) == null ? void 0 : r._$AD) === i) this._$AH.p(e);
411
411
  else {
412
- const s = new Pe(i, this), c = s.u(this.options);
413
- s.p(e), this.T(c), this._$AH = s;
412
+ const s = new Pe(i, this), h = s.u(this.options);
413
+ s.p(e), this.T(h), this._$AH = s;
414
414
  }
415
415
  }
416
416
  _$AC(t) {
@@ -420,13 +420,13 @@ class mt {
420
420
  k(t) {
421
421
  Rt(this._$AH) || (this._$AH = [], this._$AR());
422
422
  const e = this._$AH;
423
- let r, i = 0;
424
- for (const n of t) i === e.length ? e.push(r = new mt(this.O(dt()), this.O(dt()), this, this.options)) : r = e[i], r._$AI(n), i++;
425
- i < e.length && (this._$AR(r && r._$AB.nextSibling, i), e.length = i);
423
+ let n, i = 0;
424
+ for (const r of t) i === e.length ? e.push(n = new mt(this.O(dt()), this.O(dt()), this, this.options)) : n = e[i], n._$AI(r), i++;
425
+ i < e.length && (this._$AR(n && n._$AB.nextSibling, i), e.length = i);
426
426
  }
427
427
  _$AR(t = this._$AA.nextSibling, e) {
428
- var r;
429
- for ((r = this._$AP) == null ? void 0 : r.call(this, !1, !0, e); t && t !== this._$AB; ) {
428
+ var n;
429
+ for ((n = this._$AP) == null ? void 0 : n.call(this, !1, !0, e); t && t !== this._$AB; ) {
430
430
  const i = t.nextSibling;
431
431
  t.remove(), t = i;
432
432
  }
@@ -443,17 +443,17 @@ class St {
443
443
  get _$AU() {
444
444
  return this._$AM._$AU;
445
445
  }
446
- constructor(t, e, r, i, n) {
447
- this.type = 1, this._$AH = d, this._$AN = void 0, this.element = t, this.name = e, this._$AM = i, this.options = n, r.length > 2 || r[0] !== "" || r[1] !== "" ? (this._$AH = Array(r.length - 1).fill(new String()), this.strings = r) : this._$AH = d;
446
+ constructor(t, e, n, i, r) {
447
+ this.type = 1, this._$AH = d, this._$AN = void 0, this.element = t, this.name = e, this._$AM = i, this.options = r, n.length > 2 || n[0] !== "" || n[1] !== "" ? (this._$AH = Array(n.length - 1).fill(new String()), this.strings = n) : this._$AH = d;
448
448
  }
449
- _$AI(t, e = this, r, i) {
450
- const n = this.strings;
449
+ _$AI(t, e = this, n, i) {
450
+ const r = this.strings;
451
451
  let s = !1;
452
- if (n === void 0) t = rt(this, t, e, 0), s = !pt(t) || t !== this._$AH && t !== G, s && (this._$AH = t);
452
+ if (r === void 0) t = nt(this, t, e, 0), s = !pt(t) || t !== this._$AH && t !== G, s && (this._$AH = t);
453
453
  else {
454
- const c = t;
455
- let h, b;
456
- for (t = n[0], h = 0; h < n.length - 1; h++) b = rt(this, c[r + h], e, h), b === G && (b = this._$AH[h]), s || (s = !pt(b) || b !== this._$AH[h]), b === d ? t = d : t !== d && (t += (b ?? "") + n[h + 1]), this._$AH[h] = b;
454
+ const h = t;
455
+ let c, m;
456
+ for (t = r[0], c = 0; c < r.length - 1; c++) m = nt(this, h[n + c], e, c), m === G && (m = this._$AH[c]), s || (s = !pt(m) || m !== this._$AH[c]), m === d ? t = d : t !== d && (t += (m ?? "") + r[c + 1]), this._$AH[c] = m;
457
457
  }
458
458
  s && !i && this.j(t);
459
459
  }
@@ -478,13 +478,13 @@ class ze extends St {
478
478
  }
479
479
  }
480
480
  class Be extends St {
481
- constructor(t, e, r, i, n) {
482
- super(t, e, r, i, n), this.type = 5;
481
+ constructor(t, e, n, i, r) {
482
+ super(t, e, n, i, r), this.type = 5;
483
483
  }
484
484
  _$AI(t, e = this) {
485
- if ((t = rt(this, t, e, 0) ?? d) === G) return;
486
- const r = this._$AH, i = t === d && r !== d || t.capture !== r.capture || t.once !== r.once || t.passive !== r.passive, n = t !== d && (r === d || i);
487
- i && this.element.removeEventListener(this.name, this, r), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
485
+ if ((t = nt(this, t, e, 0) ?? d) === G) return;
486
+ const n = this._$AH, i = t === d && n !== d || t.capture !== n.capture || t.once !== n.once || t.passive !== n.passive, r = t !== d && (n === d || i);
487
+ i && this.element.removeEventListener(this.name, this, n), r && this.element.addEventListener(this.name, this, t), this._$AH = t;
488
488
  }
489
489
  handleEvent(t) {
490
490
  var e;
@@ -492,24 +492,24 @@ class Be extends St {
492
492
  }
493
493
  }
494
494
  class De {
495
- constructor(t, e, r) {
496
- this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = r;
495
+ constructor(t, e, n) {
496
+ this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = n;
497
497
  }
498
498
  get _$AU() {
499
499
  return this._$AM._$AU;
500
500
  }
501
501
  _$AI(t) {
502
- rt(this, t);
502
+ nt(this, t);
503
503
  }
504
504
  }
505
505
  const Pt = ct.litHtmlPolyfillSupport;
506
506
  Pt == null || Pt(ut, mt), (ct.litHtmlVersions ?? (ct.litHtmlVersions = [])).push("3.3.0");
507
507
  const He = (o, t, e) => {
508
- const r = (e == null ? void 0 : e.renderBefore) ?? t;
509
- let i = r._$litPart$;
508
+ const n = (e == null ? void 0 : e.renderBefore) ?? t;
509
+ let i = n._$litPart$;
510
510
  if (i === void 0) {
511
- const n = (e == null ? void 0 : e.renderBefore) ?? null;
512
- r._$litPart$ = i = new mt(t.insertBefore(dt(), n), n, void 0, e ?? {});
511
+ const r = (e == null ? void 0 : e.renderBefore) ?? null;
512
+ n._$litPart$ = i = new mt(t.insertBefore(dt(), r), r, void 0, e ?? {});
513
513
  }
514
514
  return i._$AI(o), i;
515
515
  };
@@ -519,7 +519,7 @@ const He = (o, t, e) => {
519
519
  * SPDX-License-Identifier: BSD-3-Clause
520
520
  */
521
521
  const Y = globalThis;
522
- let v = class extends it {
522
+ let u = class extends it {
523
523
  constructor() {
524
524
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
525
525
  }
@@ -545,16 +545,16 @@ let v = class extends it {
545
545
  }
546
546
  };
547
547
  var ce;
548
- v._$litElement$ = !0, v.finalized = !0, (ce = Y.litElementHydrateSupport) == null || ce.call(Y, { LitElement: v });
548
+ u._$litElement$ = !0, u.finalized = !0, (ce = Y.litElementHydrateSupport) == null || ce.call(Y, { LitElement: u });
549
549
  const Ot = Y.litElementPolyfillSupport;
550
- Ot == null || Ot({ LitElement: v });
550
+ Ot == null || Ot({ LitElement: u });
551
551
  (Y.litElementVersions ?? (Y.litElementVersions = [])).push("4.2.0");
552
552
  /**
553
553
  * @license
554
554
  * Copyright 2017 Google LLC
555
555
  * SPDX-License-Identifier: BSD-3-Clause
556
556
  */
557
- const m = (o) => (t, e) => {
557
+ const y = (o) => (t, e) => {
558
558
  e !== void 0 ? e.addInitializer(() => {
559
559
  customElements.define(o, t);
560
560
  }) : customElements.define(o, t);
@@ -565,30 +565,30 @@ const m = (o) => (t, e) => {
565
565
  * SPDX-License-Identifier: BSD-3-Clause
566
566
  */
567
567
  const Me = { attribute: !0, type: String, converter: Ct, reflect: !1, hasChanged: jt }, Te = (o = Me, t, e) => {
568
- const { kind: r, metadata: i } = e;
569
- let n = globalThis.litPropertyMetadata.get(i);
570
- if (n === void 0 && globalThis.litPropertyMetadata.set(i, n = /* @__PURE__ */ new Map()), r === "setter" && ((o = Object.create(o)).wrapped = !0), n.set(e.name, o), r === "accessor") {
568
+ const { kind: n, metadata: i } = e;
569
+ let r = globalThis.litPropertyMetadata.get(i);
570
+ if (r === void 0 && globalThis.litPropertyMetadata.set(i, r = /* @__PURE__ */ new Map()), n === "setter" && ((o = Object.create(o)).wrapped = !0), r.set(e.name, o), n === "accessor") {
571
571
  const { name: s } = e;
572
- return { set(c) {
573
- const h = t.get.call(this);
574
- t.set.call(this, c), this.requestUpdate(s, h, o);
575
- }, init(c) {
576
- return c !== void 0 && this.C(s, void 0, o, c), c;
572
+ return { set(h) {
573
+ const c = t.get.call(this);
574
+ t.set.call(this, h), this.requestUpdate(s, c, o);
575
+ }, init(h) {
576
+ return h !== void 0 && this.C(s, void 0, o, h), h;
577
577
  } };
578
578
  }
579
- if (r === "setter") {
579
+ if (n === "setter") {
580
580
  const { name: s } = e;
581
- return function(c) {
582
- const h = this[s];
583
- t.call(this, c), this.requestUpdate(s, h, o);
581
+ return function(h) {
582
+ const c = this[s];
583
+ t.call(this, h), this.requestUpdate(s, c, o);
584
584
  };
585
585
  }
586
- throw Error("Unsupported decorator location: " + r);
586
+ throw Error("Unsupported decorator location: " + n);
587
587
  };
588
588
  function a(o) {
589
- return (t, e) => typeof e == "object" ? Te(o, t, e) : ((r, i, n) => {
590
- const s = i.hasOwnProperty(n);
591
- return i.constructor.createProperty(n, r), s ? Object.getOwnPropertyDescriptor(i, n) : void 0;
589
+ return (t, e) => typeof e == "object" ? Te(o, t, e) : ((n, i, r) => {
590
+ const s = i.hasOwnProperty(r);
591
+ return i.constructor.createProperty(r, n), s ? Object.getOwnPropertyDescriptor(i, r) : void 0;
592
592
  })(o, t, e);
593
593
  }
594
594
  /**
@@ -611,13 +611,13 @@ const je = (o, t, e) => (e.configurable = !0, e.enumerable = !0, Reflect.decorat
611
611
  * SPDX-License-Identifier: BSD-3-Clause
612
612
  */
613
613
  function fe(o, t) {
614
- return (e, r, i) => {
615
- const n = (s) => {
616
- var c;
617
- return ((c = s.renderRoot) == null ? void 0 : c.querySelector(o)) ?? null;
614
+ return (e, n, i) => {
615
+ const r = (s) => {
616
+ var h;
617
+ return ((h = s.renderRoot) == null ? void 0 : h.querySelector(o)) ?? null;
618
618
  };
619
- return je(e, r, { get() {
620
- return n(this);
619
+ return je(e, n, { get() {
620
+ return r(this);
621
621
  } });
622
622
  };
623
623
  }
@@ -653,26 +653,26 @@ function Ft(o) {
653
653
  function Re(o) {
654
654
  o.addInitializer((t) => {
655
655
  const e = t;
656
- e.addEventListener("click", async (r) => {
657
- const { type: i, [Nt]: n } = e, { form: s } = n;
658
- if (!(!s || i === "button") && (await new Promise((c) => {
659
- setTimeout(c);
660
- }), !r.defaultPrevented)) {
656
+ e.addEventListener("click", async (n) => {
657
+ const { type: i, [Nt]: r } = e, { form: s } = r;
658
+ if (!(!s || i === "button") && (await new Promise((h) => {
659
+ setTimeout(h);
660
+ }), !n.defaultPrevented)) {
661
661
  if (i === "reset") {
662
662
  s.reset();
663
663
  return;
664
664
  }
665
665
  s.addEventListener(
666
666
  "submit",
667
- (c) => {
668
- Object.defineProperty(c, "submitter", {
667
+ (h) => {
668
+ Object.defineProperty(h, "submitter", {
669
669
  configurable: !0,
670
670
  enumerable: !0,
671
671
  get: () => e
672
672
  });
673
673
  },
674
674
  { capture: !0, once: !0 }
675
- ), n.setFormValue(e.value), s.requestSubmit();
675
+ ), r.setFormValue(e.value), s.requestSubmit();
676
676
  }
677
677
  });
678
678
  });
@@ -689,10 +689,10 @@ const Ne = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
689
689
  `, Ve = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
690
690
  <path d="M5 7.83838C6.02128 6.73401 8.16109 4.12121 11.4195 0L11.8571 0.282829C10.8116 2.59933 9.55927 5.17172 8.1003 8C9.55927 10.8283 10.8115 13.4007 11.8571 15.7172L11.4195 16C8.16109 11.8788 6.02128 9.266 5 8.16162L5 7.83838Z" fill="#3F2B2E"/>
691
691
  </svg>
692
- `, Ze = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
692
+ `, qe = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
693
693
  <path d="M12.2834 14.4585L7.98873 11.3928L3.69404 14.4585L5.33977 9.4972L1 6.39639H6.36554L8 1.4585L9.63446 6.39639H15L10.6602 9.4972L12.306 14.4585H12.2834ZM7.98873 10.328L10.6602 12.2353L9.64573 9.15787L12.2721 7.28568H9.02576L8 4.17317L6.97424 7.28568H3.72786L6.35427 9.15787L5.33977 12.2353L8.01127 10.328H7.98873Z" fill="#3F2B2E"/>
694
694
  </svg>
695
- `, qe = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
695
+ `, Ze = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
696
696
  <path d="M15 6.43789H9.63446L8 1.5L6.36554 6.43789H1L5.33977 9.5387L3.69404 14.5L7.98873 11.4343L12.2834 14.5H12.306L10.6602 9.5387L15 6.43789ZM6.36554 11.5396V7.32718H6.97424L8 4.21467L9.02576 7.32718H12.2721L9.64573 9.19937L10.6602 12.2768L8 10.3812L6.36554 11.5513V11.5396Z" fill="#3F2B2E"/>
697
697
  </svg>
698
698
  `, Ke = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
@@ -736,10 +736,10 @@ const Ne = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
736
736
  `, io = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
737
737
  <path d="M7.99376 14.4486C7.46684 14.4486 6.93991 14.251 6.54472 13.8558C6.14953 13.4606 5.8202 12.9995 5.68847 12.4067H3.77837C2.98798 12.4067 2.59279 12.4067 2.32933 12.1433C2.13173 12.0116 2 11.7481 2 11.5505C2 11.2212 2.13173 10.826 2.52692 10.1673L2.92212 9.4428C3.31731 8.78415 3.51491 8.05963 3.64664 7.3351L3.84423 5.68847C3.97596 4.63462 4.43702 3.7125 5.22741 3.05385C6.01779 2.39519 7.00578 2 7.99376 2C8.98174 2 10.0356 2.39519 10.7601 3.05385C11.5505 3.7125 12.0116 4.70049 12.1433 5.68847L12.3409 7.26924C12.4067 8.05963 12.6702 8.78415 13.0654 9.37693L13.4606 10.1015C13.8558 10.7601 14.0534 11.0894 13.9875 11.4846C13.9875 11.7481 13.8558 11.9457 13.6582 12.0774C13.3947 12.3409 12.9995 12.3409 12.2092 12.3409H10.2991C10.1673 12.9337 9.83799 13.4606 9.4428 13.7899C9.04761 14.1851 8.52068 14.3827 7.99376 14.3827V14.4486ZM6.28126 12.4067C6.41299 12.8019 6.61058 13.1971 6.93991 13.4606C7.5327 13.9875 8.45482 13.9875 9.11347 13.4606C9.4428 13.1971 9.6404 12.8019 9.77213 12.4067H6.28126ZM7.99376 2.65865C7.13751 2.65865 6.28126 2.98798 5.6226 3.58077C4.96395 4.17356 4.56875 4.96395 4.43702 5.88606L4.23943 7.46684C4.1077 8.32309 3.84423 9.11347 3.44904 9.83799L3.05385 10.5625C2.72452 11.0894 2.59279 11.3529 2.59279 11.5505C2.59279 11.6164 2.59279 11.7481 2.72452 11.814C2.85625 11.8798 3.25144 11.8798 3.77837 11.8798H12.2092C12.7361 11.8798 13.1971 11.8798 13.263 11.814C13.3289 11.814 13.3947 11.6822 13.3947 11.5505C13.3947 11.4188 13.1971 11.0894 12.9337 10.5625L12.5385 9.83799C12.0774 9.11347 11.814 8.32309 11.7481 7.5327L11.5505 5.88606C11.4846 5.02981 11.0236 4.17356 10.3649 3.58077C9.70626 2.98798 8.85001 2.65865 7.99376 2.65865Z" fill="#3F2B2E"/>
738
738
  </svg>
739
- `, ro = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
739
+ `, no = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
740
740
  <path d="M12 17.4585L4 6.4585L20 6.4585L12 17.4585Z" fill="#3F2B2E"/>
741
741
  </svg>
742
- `, no = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
742
+ `, ro = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
743
743
  <path d="M12 6.4585L20 17.4585H4L12 6.4585Z" fill="#3F2B2E"/>
744
744
  </svg>
745
745
  `, so = `<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
@@ -772,15 +772,15 @@ const Ne = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
772
772
  </svg>
773
773
  `, bo = `<svg xmlns="http://www.w3.org/2000/svg" width="10" height="8" viewBox="0 0 10 8" fill="none">
774
774
  <path d="M1 4.5415L3 6.5415L9 0.541504" stroke="#FBF9F6" stroke-linecap="round" stroke-linejoin="round"/>
775
- </svg>`, F = {
775
+ </svg>`, N = {
776
776
  wishlist: Ne,
777
777
  playerv: Fe,
778
778
  chevronRight: Ue,
779
779
  chevronLeft: Ve,
780
780
  icoPlus: Qe,
781
781
  icoMinus: Ye,
782
- "star-0": Ze,
783
- "star-25": qe,
782
+ "star-0": qe,
783
+ "star-25": Ze,
784
784
  "star-50": Ke,
785
785
  "star-75": We,
786
786
  "star-100": Ge,
@@ -790,8 +790,8 @@ const Ne = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
790
790
  arrowTop: eo,
791
791
  cart: oo,
792
792
  notifyme: io,
793
- triangledown: ro,
794
- triangleup: no,
793
+ triangledown: no,
794
+ triangleup: ro,
795
795
  checkstroke: so,
796
796
  pause: ao,
797
797
  mapDualArrow: lo,
@@ -811,14 +811,14 @@ const Ne = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
811
811
  * SPDX-License-Identifier: BSD-3-Clause
812
812
  */
813
813
  const Ut = { ATTRIBUTE: 1, CHILD: 2 }, Vt = (o) => (...t) => ({ _$litDirective$: o, values: t });
814
- let Zt = class {
814
+ let qt = class {
815
815
  constructor(t) {
816
816
  }
817
817
  get _$AU() {
818
818
  return this._$AM._$AU;
819
819
  }
820
- _$AT(t, e, r) {
821
- this._$Ct = t, this._$AM = e, this._$Ci = r;
820
+ _$AT(t, e, n) {
821
+ this._$Ct = t, this._$AM = e, this._$Ci = n;
822
822
  }
823
823
  _$AS(t, e) {
824
824
  return this.update(t, e);
@@ -832,7 +832,7 @@ let Zt = class {
832
832
  * Copyright 2017 Google LLC
833
833
  * SPDX-License-Identifier: BSD-3-Clause
834
834
  */
835
- class Bt extends Zt {
835
+ class Bt extends qt {
836
836
  constructor(t) {
837
837
  if (super(t), this.it = d, t.type !== Ut.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
838
838
  }
@@ -856,13 +856,13 @@ class Dt extends Bt {
856
856
  }
857
857
  Dt.directiveName = "unsafeSVG", Dt.resultType = 2;
858
858
  const C = Vt(Dt);
859
- var mo = Object.defineProperty, xo = Object.getOwnPropertyDescriptor, w = (o, t, e, r) => {
860
- for (var i = r > 1 ? void 0 : r ? xo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
861
- (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
862
- return r && i && mo(t, e, i), i;
859
+ var mo = Object.defineProperty, xo = Object.getOwnPropertyDescriptor, x = (o, t, e, n) => {
860
+ for (var i = n > 1 ? void 0 : n ? xo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
861
+ (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
862
+ return n && i && mo(t, e, i), i;
863
863
  };
864
- const wo = Ft(v);
865
- let g = class extends wo {
864
+ const wo = Ft(u);
865
+ let b = class extends wo {
866
866
  constructor() {
867
867
  super(...arguments), this.type = "submit", this.value = "", this.variant = "primary", this.text = "", this.textsecond = "", this.fullwidth = !1, this.disabled = !1, this.startIconModel = "", this.endIconModel = "", this.startIcon = !1, this.endIcon = !1, this.panelTarget = "", this.href = "", this.target = "", this.underlined = !1, this.withbadge = !1;
868
868
  }
@@ -887,7 +887,7 @@ let g = class extends wo {
887
887
  renderIcon(o) {
888
888
  const t = o === "start" ? this.startIconModel : this.endIconModel;
889
889
  if (!t) return d;
890
- const e = F[t].replace(
890
+ const e = N[t].replace(
891
891
  "<svg",
892
892
  '<svg aria-hidden="true" focusable="false" part="svg"'
893
893
  );
@@ -926,9 +926,9 @@ let g = class extends wo {
926
926
  `;
927
927
  }
928
928
  };
929
- Re(g);
930
- g.formAssociated = !0;
931
- g.styles = f`
929
+ Re(b);
930
+ b.formAssociated = !0;
931
+ b.styles = f`
932
932
  :host {
933
933
  --button-border: transparent;
934
934
  --badge-outer-width: 19px;
@@ -1130,63 +1130,63 @@ g.styles = f`
1130
1130
  }
1131
1131
  //End icon movment on hover
1132
1132
  `;
1133
- w([
1133
+ x([
1134
1134
  a()
1135
- ], g.prototype, "type", 2);
1136
- w([
1135
+ ], b.prototype, "type", 2);
1136
+ x([
1137
1137
  a({ reflect: !0 })
1138
- ], g.prototype, "value", 2);
1139
- w([
1138
+ ], b.prototype, "value", 2);
1139
+ x([
1140
1140
  a({ type: String, reflect: !0 })
1141
- ], g.prototype, "variant", 2);
1142
- w([
1141
+ ], b.prototype, "variant", 2);
1142
+ x([
1143
1143
  a({ type: String })
1144
- ], g.prototype, "text", 2);
1145
- w([
1144
+ ], b.prototype, "text", 2);
1145
+ x([
1146
1146
  a({ type: String })
1147
- ], g.prototype, "textsecond", 2);
1148
- w([
1147
+ ], b.prototype, "textsecond", 2);
1148
+ x([
1149
1149
  a({ type: Boolean, reflect: !0 })
1150
- ], g.prototype, "fullwidth", 2);
1151
- w([
1150
+ ], b.prototype, "fullwidth", 2);
1151
+ x([
1152
1152
  a({ type: Boolean, reflect: !0 })
1153
- ], g.prototype, "disabled", 2);
1154
- w([
1153
+ ], b.prototype, "disabled", 2);
1154
+ x([
1155
1155
  a({ type: String, reflect: !0 })
1156
- ], g.prototype, "startIconModel", 2);
1157
- w([
1156
+ ], b.prototype, "startIconModel", 2);
1157
+ x([
1158
1158
  a({ type: String, reflect: !0 })
1159
- ], g.prototype, "endIconModel", 2);
1160
- w([
1159
+ ], b.prototype, "endIconModel", 2);
1160
+ x([
1161
1161
  a({ type: Boolean, reflect: !0, attribute: "starticon" })
1162
- ], g.prototype, "startIcon", 2);
1163
- w([
1162
+ ], b.prototype, "startIcon", 2);
1163
+ x([
1164
1164
  a({ type: Boolean, reflect: !0, attribute: "endicon" })
1165
- ], g.prototype, "endIcon", 2);
1166
- w([
1165
+ ], b.prototype, "endIcon", 2);
1166
+ x([
1167
1167
  a({ type: String, attribute: "paneltarget", reflect: !0 })
1168
- ], g.prototype, "panelTarget", 2);
1169
- w([
1168
+ ], b.prototype, "panelTarget", 2);
1169
+ x([
1170
1170
  a({ type: String })
1171
- ], g.prototype, "href", 2);
1172
- w([
1171
+ ], b.prototype, "href", 2);
1172
+ x([
1173
1173
  a({ type: String })
1174
- ], g.prototype, "target", 2);
1175
- w([
1174
+ ], b.prototype, "target", 2);
1175
+ x([
1176
1176
  a({ type: Boolean, reflect: !0 })
1177
- ], g.prototype, "underlined", 2);
1178
- w([
1177
+ ], b.prototype, "underlined", 2);
1178
+ x([
1179
1179
  a({ type: Boolean, reflect: !0 })
1180
- ], g.prototype, "withbadge", 2);
1181
- g = w([
1182
- m("o-button")
1183
- ], g);
1184
- var $o = Object.defineProperty, Co = Object.getOwnPropertyDescriptor, Et = (o, t, e, r) => {
1185
- for (var i = r > 1 ? void 0 : r ? Co(t, e) : t, n = o.length - 1, s; n >= 0; n--)
1186
- (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
1187
- return r && i && $o(t, e, i), i;
1180
+ ], b.prototype, "withbadge", 2);
1181
+ b = x([
1182
+ y("o-button")
1183
+ ], b);
1184
+ var $o = Object.defineProperty, Co = Object.getOwnPropertyDescriptor, Et = (o, t, e, n) => {
1185
+ for (var i = n > 1 ? void 0 : n ? Co(t, e) : t, r = o.length - 1, s; r >= 0; r--)
1186
+ (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
1187
+ return n && i && $o(t, e, i), i;
1188
1188
  };
1189
- let nt = class extends v {
1189
+ let rt = class extends u {
1190
1190
  constructor() {
1191
1191
  super(...arguments), this.status = "empty", this.ariaDescribedBy = "a-product-name", this.label = "Add to wishlist", this.toggleStatus = () => {
1192
1192
  this.status = this.status === "empty" ? "filled" : "empty", this.setAttribute("aria-pressed", String(this.status === "filled")), this.dispatchEvent(new CustomEvent("wishlist-toggle", {
@@ -1206,7 +1206,7 @@ let nt = class extends v {
1206
1206
  (o.key === "Enter" || o.key === " ") && (o.preventDefault(), this.toggleStatus());
1207
1207
  }
1208
1208
  render() {
1209
- const o = F.wishlist.replace(
1209
+ const o = N.wishlist.replace(
1210
1210
  "<svg",
1211
1211
  '<svg aria-hidden="true" focusable="false" part="svg"'
1212
1212
  );
@@ -1227,7 +1227,7 @@ let nt = class extends v {
1227
1227
  this.label = o, this.requestUpdate();
1228
1228
  }
1229
1229
  };
1230
- nt.styles = f`
1230
+ rt.styles = f`
1231
1231
  :host {
1232
1232
  display: inline-flex;
1233
1233
  justify-content: center;
@@ -1295,28 +1295,28 @@ nt.styles = f`
1295
1295
  `;
1296
1296
  Et([
1297
1297
  a({ type: String, reflect: !0 })
1298
- ], nt.prototype, "status", 2);
1298
+ ], rt.prototype, "status", 2);
1299
1299
  Et([
1300
1300
  a({ type: String, reflect: !0 })
1301
- ], nt.prototype, "ariaDescribedBy", 2);
1301
+ ], rt.prototype, "ariaDescribedBy", 2);
1302
1302
  Et([
1303
1303
  a({ type: String, reflect: !0 })
1304
- ], nt.prototype, "label", 2);
1305
- nt = Et([
1306
- m("o-wishlist-button")
1307
- ], nt);
1304
+ ], rt.prototype, "label", 2);
1305
+ rt = Et([
1306
+ y("o-wishlist-button")
1307
+ ], rt);
1308
1308
  /**
1309
1309
  * @license
1310
1310
  * Copyright 2018 Google LLC
1311
1311
  * SPDX-License-Identifier: BSD-3-Clause
1312
1312
  */
1313
- const S = (o) => o ?? d;
1314
- var _o = Object.defineProperty, ko = Object.getOwnPropertyDescriptor, T = (o, t, e, r) => {
1315
- for (var i = r > 1 ? void 0 : r ? ko(t, e) : t, n = o.length - 1, s; n >= 0; n--)
1316
- (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
1317
- return r && i && _o(t, e, i), i;
1313
+ const k = (o) => o ?? d;
1314
+ var _o = Object.defineProperty, ko = Object.getOwnPropertyDescriptor, H = (o, t, e, n) => {
1315
+ for (var i = n > 1 ? void 0 : n ? ko(t, e) : t, r = o.length - 1, s; r >= 0; r--)
1316
+ (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
1317
+ return n && i && _o(t, e, i), i;
1318
1318
  };
1319
- let E = class extends v {
1319
+ let S = class extends u {
1320
1320
  constructor() {
1321
1321
  super(...arguments), this.bgstyle = "background-light", this.size = "medium", this.status = "empty", this.type = "button", this.strokewidth = "1", this.icon = "wishlist", this.disabled = !1, this.showSrLabel = !1, this.srLabel = "";
1322
1322
  }
@@ -1324,7 +1324,7 @@ let E = class extends v {
1324
1324
  super.updated(o), this.style.setProperty("--icon-stroke-width", this.strokewidth);
1325
1325
  }
1326
1326
  render() {
1327
- const o = F[this.icon] ?? "", t = `icon-${this.icon}`, e = o.replace("<svg", '<svg aria-hidden="true" focusable="false" part="svg"').replace(/<path\b/g, '<path part="icon-path"').replace(/<g\b/g, '<g part="icon-group"').replace(/<circle\b/g, '<circle part="icon-circle"'), r = this.showSrLabel ? l`<span class="sr-only">${this.srLabel}</span>` : null, i = this.showSrLabel ? null : "icon";
1327
+ const o = N[this.icon] ?? "", t = `icon-${this.icon}`, e = o.replace("<svg", '<svg aria-hidden="true" focusable="false" part="svg"').replace(/<path\b/g, '<path part="icon-path"').replace(/<g\b/g, '<g part="icon-group"').replace(/<circle\b/g, '<circle part="icon-circle"'), n = this.showSrLabel ? l`<span class="sr-only">${this.srLabel}</span>` : null, i = this.showSrLabel ? null : "icon";
1328
1328
  return l`
1329
1329
  ${this.type === "span" ? l`
1330
1330
  <span class="icon icon-button ${this.size} ${this.bgstyle} ${this.status} ${t}" ?disabled="${this.disabled}">
@@ -1333,18 +1333,18 @@ let E = class extends v {
1333
1333
  ` : l`
1334
1334
  <button
1335
1335
  type="button"
1336
- aria-label=${S(i)}
1336
+ aria-label=${k(i)}
1337
1337
  class="icon-button ${this.size} ${this.bgstyle} ${this.status} ${t}"
1338
1338
  ?disabled="${this.disabled}"
1339
1339
  >
1340
1340
  ${C(e)}
1341
- ${r}
1341
+ ${n}
1342
1342
  </button>
1343
1343
  `}
1344
1344
  `;
1345
1345
  }
1346
1346
  };
1347
- E.styles = f`
1347
+ S.styles = f`
1348
1348
  :host {
1349
1349
  display: inline-flex;
1350
1350
  justify-content: center;
@@ -1556,42 +1556,42 @@ E.styles = f`
1556
1556
  display: none;
1557
1557
  }
1558
1558
  `;
1559
- T([
1559
+ H([
1560
1560
  a({ type: String, reflect: !0 })
1561
- ], E.prototype, "bgstyle", 2);
1562
- T([
1561
+ ], S.prototype, "bgstyle", 2);
1562
+ H([
1563
1563
  a({ type: String, reflect: !0 })
1564
- ], E.prototype, "size", 2);
1565
- T([
1564
+ ], S.prototype, "size", 2);
1565
+ H([
1566
1566
  a({ type: String, reflect: !0 })
1567
- ], E.prototype, "status", 2);
1568
- T([
1567
+ ], S.prototype, "status", 2);
1568
+ H([
1569
1569
  a({ type: String, reflect: !0 })
1570
- ], E.prototype, "type", 2);
1571
- T([
1570
+ ], S.prototype, "type", 2);
1571
+ H([
1572
1572
  a({ type: String })
1573
- ], E.prototype, "strokewidth", 2);
1574
- T([
1573
+ ], S.prototype, "strokewidth", 2);
1574
+ H([
1575
1575
  a({ type: String })
1576
- ], E.prototype, "icon", 2);
1577
- T([
1576
+ ], S.prototype, "icon", 2);
1577
+ H([
1578
1578
  a({ type: Boolean, reflect: !0 })
1579
- ], E.prototype, "disabled", 2);
1580
- T([
1579
+ ], S.prototype, "disabled", 2);
1580
+ H([
1581
1581
  a({ type: Boolean })
1582
- ], E.prototype, "showSrLabel", 2);
1583
- T([
1582
+ ], S.prototype, "showSrLabel", 2);
1583
+ H([
1584
1584
  a({ type: String })
1585
- ], E.prototype, "srLabel", 2);
1586
- E = T([
1587
- m("o-icon-button")
1588
- ], E);
1589
- var So = Object.defineProperty, Eo = Object.getOwnPropertyDescriptor, ot = (o, t, e, r) => {
1590
- for (var i = r > 1 ? void 0 : r ? Eo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
1591
- (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
1592
- return r && i && So(t, e, i), i;
1585
+ ], S.prototype, "srLabel", 2);
1586
+ S = H([
1587
+ y("o-icon-button")
1588
+ ], S);
1589
+ var So = Object.defineProperty, Eo = Object.getOwnPropertyDescriptor, ot = (o, t, e, n) => {
1590
+ for (var i = n > 1 ? void 0 : n ? Eo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
1591
+ (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
1592
+ return n && i && So(t, e, i), i;
1593
1593
  };
1594
- let U = class extends v {
1594
+ let F = class extends u {
1595
1595
  constructor() {
1596
1596
  super(...arguments), this.href = "", this.target = "", this.template = "standard", this.inverse = !1, this.endIcon = !1, this.reverseEndIcon = !1;
1597
1597
  }
@@ -1603,7 +1603,7 @@ let U = class extends v {
1603
1603
  return l`
1604
1604
  <a
1605
1605
  href="${o}"
1606
- target="${S(this.target || void 0)}"
1606
+ target="${k(this.target || void 0)}"
1607
1607
  @click="${this._handleClick}"
1608
1608
  >
1609
1609
  ${this.endIcon && this.reverseEndIcon ? l`
@@ -1629,7 +1629,7 @@ let U = class extends v {
1629
1629
  `;
1630
1630
  }
1631
1631
  };
1632
- U.styles = f`
1632
+ F.styles = f`
1633
1633
  :host([template="standard"]) a {
1634
1634
  color: var(--color-content-action-secondary);
1635
1635
  font-size: var(--font-size-200);
@@ -1719,31 +1719,31 @@ U.styles = f`
1719
1719
  `;
1720
1720
  ot([
1721
1721
  a({ type: String })
1722
- ], U.prototype, "href", 2);
1722
+ ], F.prototype, "href", 2);
1723
1723
  ot([
1724
1724
  a({ type: String })
1725
- ], U.prototype, "target", 2);
1725
+ ], F.prototype, "target", 2);
1726
1726
  ot([
1727
1727
  a({ type: String, reflect: !0 })
1728
- ], U.prototype, "template", 2);
1728
+ ], F.prototype, "template", 2);
1729
1729
  ot([
1730
1730
  a({ type: Boolean, reflect: !0 })
1731
- ], U.prototype, "inverse", 2);
1731
+ ], F.prototype, "inverse", 2);
1732
1732
  ot([
1733
1733
  a({ type: Boolean, reflect: !0 })
1734
- ], U.prototype, "endIcon", 2);
1734
+ ], F.prototype, "endIcon", 2);
1735
1735
  ot([
1736
1736
  a({ type: Boolean, reflect: !0 })
1737
- ], U.prototype, "reverseEndIcon", 2);
1738
- U = ot([
1739
- m("o-link")
1740
- ], U);
1741
- var Ao = Object.defineProperty, Lo = Object.getOwnPropertyDescriptor, At = (o, t, e, r) => {
1742
- for (var i = r > 1 ? void 0 : r ? Lo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
1743
- (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
1744
- return r && i && Ao(t, e, i), i;
1737
+ ], F.prototype, "reverseEndIcon", 2);
1738
+ F = ot([
1739
+ y("o-link")
1740
+ ], F);
1741
+ var Ao = Object.defineProperty, Lo = Object.getOwnPropertyDescriptor, At = (o, t, e, n) => {
1742
+ for (var i = n > 1 ? void 0 : n ? Lo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
1743
+ (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
1744
+ return n && i && Ao(t, e, i), i;
1745
1745
  };
1746
- let st = class extends v {
1746
+ let st = class extends u {
1747
1747
  constructor() {
1748
1748
  super(...arguments), this.rating = 0;
1749
1749
  }
@@ -1751,8 +1751,8 @@ let st = class extends v {
1751
1751
  const o = [];
1752
1752
  for (let t = 0; t < 5; t++) {
1753
1753
  const e = this.rating - t;
1754
- let r;
1755
- e >= 1 ? r = 100 : e <= 0 ? r = 0 : r = Math.round(e * 100 / 25) * 25, o.push(`star-${r}`);
1754
+ let n;
1755
+ e >= 1 ? n = 100 : e <= 0 ? n = 0 : n = Math.round(e * 100 / 25) * 25, o.push(`star-${n}`);
1756
1756
  }
1757
1757
  return o;
1758
1758
  }
@@ -1762,7 +1762,7 @@ let st = class extends v {
1762
1762
  <div class="rating">
1763
1763
  <div class="stars">
1764
1764
  ${o.map(
1765
- (t) => l`<span class="star">${C(F[t] ?? "")}</span>`
1765
+ (t) => l`<span class="star">${C(N[t] ?? "")}</span>`
1766
1766
  )}
1767
1767
  </div>
1768
1768
  ${this.reviewCount != null && this.href != null ? l`<o-link template="review" href="${this.href}">${this.reviewCount}</o-link>` : null}
@@ -1814,7 +1814,7 @@ At([
1814
1814
  a({ type: String })
1815
1815
  ], st.prototype, "href", 2);
1816
1816
  st = At([
1817
- m("o-rating")
1817
+ y("o-rating")
1818
1818
  ], st);
1819
1819
  /**
1820
1820
  * @license
@@ -1828,10 +1828,10 @@ const Io = (o) => o.strings === void 0;
1828
1828
  * SPDX-License-Identifier: BSD-3-Clause
1829
1829
  */
1830
1830
  const ht = (o, t) => {
1831
- var r;
1831
+ var n;
1832
1832
  const e = o._$AN;
1833
1833
  if (e === void 0) return !1;
1834
- for (const i of e) (r = i._$AO) == null || r.call(i, t, !1), ht(i, t);
1834
+ for (const i of e) (n = i._$AO) == null || n.call(i, t, !1), ht(i, t);
1835
1835
  return !0;
1836
1836
  }, kt = (o) => {
1837
1837
  let t, e;
@@ -1851,24 +1851,24 @@ function Po(o) {
1851
1851
  this._$AN !== void 0 ? (kt(this), this._$AM = o, be(this)) : this._$AM = o;
1852
1852
  }
1853
1853
  function Oo(o, t = !1, e = 0) {
1854
- const r = this._$AH, i = this._$AN;
1855
- if (i !== void 0 && i.size !== 0) if (t) if (Array.isArray(r)) for (let n = e; n < r.length; n++) ht(r[n], !1), kt(r[n]);
1856
- else r != null && (ht(r, !1), kt(r));
1854
+ const n = this._$AH, i = this._$AN;
1855
+ if (i !== void 0 && i.size !== 0) if (t) if (Array.isArray(n)) for (let r = e; r < n.length; r++) ht(n[r], !1), kt(n[r]);
1856
+ else n != null && (ht(n, !1), kt(n));
1857
1857
  else ht(this, o);
1858
1858
  }
1859
1859
  const zo = (o) => {
1860
1860
  o.type == Ut.CHILD && (o._$AP ?? (o._$AP = Oo), o._$AQ ?? (o._$AQ = Po));
1861
1861
  };
1862
- class Bo extends Zt {
1862
+ class Bo extends qt {
1863
1863
  constructor() {
1864
1864
  super(...arguments), this._$AN = void 0;
1865
1865
  }
1866
- _$AT(t, e, r) {
1867
- super._$AT(t, e, r), be(this), this.isConnected = t._$AU;
1866
+ _$AT(t, e, n) {
1867
+ super._$AT(t, e, n), be(this), this.isConnected = t._$AU;
1868
1868
  }
1869
1869
  _$AO(t, e = !0) {
1870
- var r, i;
1871
- t !== this.isConnected && (this.isConnected = t, t ? (r = this.reconnected) == null || r.call(this) : (i = this.disconnected) == null || i.call(this)), e && (ht(this, t), kt(this));
1870
+ var n, i;
1871
+ t !== this.isConnected && (this.isConnected = t, t ? (n = this.reconnected) == null || n.call(this) : (i = this.disconnected) == null || i.call(this)), e && (ht(this, t), kt(this));
1872
1872
  }
1873
1873
  setValue(t) {
1874
1874
  if (Io(this._$Ct)) this._$Ct._$AI(t, this);
@@ -1890,23 +1890,23 @@ class Do extends Bo {
1890
1890
  return d;
1891
1891
  }
1892
1892
  update(t, [e]) {
1893
- var r;
1894
- this.element !== t.element && (this.element = t.element), this.host = ((r = t.options) === null || r === void 0 ? void 0 : r.host) || this.element, this.apply(e), this.groom(e), this.prevData = { ...e };
1893
+ var n;
1894
+ this.element !== t.element && (this.element = t.element), this.host = ((n = t.options) === null || n === void 0 ? void 0 : n.host) || this.element, this.apply(e), this.groom(e), this.prevData = { ...e };
1895
1895
  }
1896
1896
  apply(t) {
1897
1897
  if (!t)
1898
1898
  return;
1899
- const { prevData: e, element: r } = this;
1899
+ const { prevData: e, element: n } = this;
1900
1900
  for (const i in t) {
1901
- const n = t[i];
1902
- n !== e[i] && (r[i] = n);
1901
+ const r = t[i];
1902
+ r !== e[i] && (n[i] = r);
1903
1903
  }
1904
1904
  }
1905
1905
  groom(t) {
1906
- const { prevData: e, element: r } = this;
1906
+ const { prevData: e, element: n } = this;
1907
1907
  if (e)
1908
1908
  for (const i in e)
1909
- (!t || !(i in t) && r[i] === e[i]) && (r[i] = void 0);
1909
+ (!t || !(i in t) && n[i] === e[i]) && (n[i] = void 0);
1910
1910
  }
1911
1911
  }
1912
1912
  class Ho extends Do {
@@ -1916,23 +1916,23 @@ class Ho extends Do {
1916
1916
  apply(t) {
1917
1917
  if (t)
1918
1918
  for (const e in t) {
1919
- const r = t[e];
1920
- r !== this.eventData[e] && this.applyEvent(e, r);
1919
+ const n = t[e];
1920
+ n !== this.eventData[e] && this.applyEvent(e, n);
1921
1921
  }
1922
1922
  }
1923
1923
  applyEvent(t, e) {
1924
- const { prevData: r, element: i } = this;
1925
- this.eventData[t] = e, r[t] && i.removeEventListener(t, this, e), i.addEventListener(t, this, e);
1924
+ const { prevData: n, element: i } = this;
1925
+ this.eventData[t] = e, n[t] && i.removeEventListener(t, this, e), i.addEventListener(t, this, e);
1926
1926
  }
1927
1927
  groom(t) {
1928
- const { prevData: e, element: r } = this;
1928
+ const { prevData: e, element: n } = this;
1929
1929
  if (e)
1930
1930
  for (const i in e)
1931
- (!t || !(i in t) && r[i] === e[i]) && this.groomEvent(i, e[i]);
1931
+ (!t || !(i in t) && n[i] === e[i]) && this.groomEvent(i, e[i]);
1932
1932
  }
1933
1933
  groomEvent(t, e) {
1934
- const { element: r } = this;
1935
- delete this.eventData[t], r.removeEventListener(t, this, e);
1934
+ const { element: n } = this;
1935
+ delete this.eventData[t], n.removeEventListener(t, this, e);
1936
1936
  }
1937
1937
  handleEvent(t) {
1938
1938
  const e = this.eventData[t.type];
@@ -1940,16 +1940,16 @@ class Ho extends Do {
1940
1940
  }
1941
1941
  disconnected() {
1942
1942
  const { eventData: t, element: e } = this;
1943
- for (const r in t) {
1944
- const i = r.slice(1), n = t[r];
1945
- e.removeEventListener(i, this, n);
1943
+ for (const n in t) {
1944
+ const i = n.slice(1), r = t[n];
1945
+ e.removeEventListener(i, this, r);
1946
1946
  }
1947
1947
  }
1948
1948
  reconnected() {
1949
1949
  const { eventData: t, element: e } = this;
1950
- for (const r in t) {
1951
- const i = r.slice(1), n = t[r];
1952
- e.addEventListener(i, this, n);
1950
+ for (const n in t) {
1951
+ const i = n.slice(1), r = t[n];
1952
+ e.addEventListener(i, this, r);
1953
1953
  }
1954
1954
  }
1955
1955
  }
@@ -1957,62 +1957,70 @@ class Mo extends Ho {
1957
1957
  apply(t) {
1958
1958
  if (!t)
1959
1959
  return;
1960
- const { prevData: e, element: r } = this;
1960
+ const { prevData: e, element: n } = this;
1961
1961
  for (const i in t) {
1962
- const n = t[i];
1963
- if (n === e[i])
1962
+ const r = t[i];
1963
+ if (r === e[i])
1964
1964
  continue;
1965
1965
  const s = i.slice(1);
1966
1966
  switch (i[0]) {
1967
1967
  case "@":
1968
- this.eventData[s] = n, this.applyEvent(s, n);
1968
+ this.eventData[s] = r, this.applyEvent(s, r);
1969
1969
  break;
1970
1970
  case ".":
1971
- r[s] = n;
1971
+ n[s] = r;
1972
1972
  break;
1973
1973
  case "?":
1974
- n ? r.setAttribute(s, "") : r.removeAttribute(s);
1974
+ r ? n.setAttribute(s, "") : n.removeAttribute(s);
1975
1975
  break;
1976
1976
  default:
1977
- n != null ? r.setAttribute(i, String(n)) : r.removeAttribute(i);
1977
+ r != null ? n.setAttribute(i, String(r)) : n.removeAttribute(i);
1978
1978
  break;
1979
1979
  }
1980
1980
  }
1981
1981
  }
1982
1982
  groom(t) {
1983
- const { prevData: e, element: r } = this;
1983
+ const { prevData: e, element: n } = this;
1984
1984
  if (e)
1985
1985
  for (const i in e) {
1986
- const n = i.slice(1);
1987
- if (!t || !(i in t) && r[n] === e[i])
1986
+ const r = i.slice(1);
1987
+ if (!t || !(i in t) && n[r] === e[i])
1988
1988
  switch (i[0]) {
1989
1989
  case "@":
1990
- this.groomEvent(n, e[i]);
1990
+ this.groomEvent(r, e[i]);
1991
1991
  break;
1992
1992
  case ".":
1993
- r[n] = void 0;
1993
+ n[r] = void 0;
1994
1994
  break;
1995
1995
  case "?":
1996
- r.removeAttribute(n);
1996
+ n.removeAttribute(r);
1997
1997
  break;
1998
1998
  default:
1999
- r.removeAttribute(i);
1999
+ n.removeAttribute(i);
2000
2000
  break;
2001
2001
  }
2002
2002
  }
2003
2003
  }
2004
2004
  }
2005
2005
  const le = Vt(Mo);
2006
- var To = Object.defineProperty, jo = Object.getOwnPropertyDescriptor, y = (o, t, e, r) => {
2007
- for (var i = r > 1 ? void 0 : r ? jo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
2008
- (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
2009
- return r && i && To(t, e, i), i;
2006
+ var To = Object.defineProperty, jo = Object.getOwnPropertyDescriptor, g = (o, t, e, n) => {
2007
+ for (var i = n > 1 ? void 0 : n ? jo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
2008
+ (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
2009
+ return n && i && To(t, e, i), i;
2010
2010
  };
2011
- let u = class extends v {
2011
+ let p = class extends u {
2012
2012
  constructor() {
2013
- super(...arguments), this.open = !1, this.showHeader = !0, this.showFooter = !1, this.showHeaderStartIcon = !1, this.headerTitle = "", this.headerTitleClassName = "panel-title", this.closeButtonLabel = "Close the modal", this.firstButtonLabel = "Close", this.firstButtonVariant = "primary", this.firstButtonProps = {}, this.onFirstButtonClickClose = !1, this.secondButtonLabel = "", this.secondButtonVariant = "secondary", this.secondButtonProps = {}, this.onSecondButtonClickClose = !1, this.disablePortal = !1, this.zIndex = 99, this.initialized = !1, this.showDetail = !1, this.isHidingDetail = !1, this.previousFocusedElement = null, this.innerFocusedElement = null, this._onOpenDetail = () => {
2014
- this.showDetail = !0, this.showHeaderStartIcon = !0;
2015
- }, this.handleKeyDown = (o) => {
2013
+ super(...arguments), this.open = !1, this.showHeader = !0, this.showFooter = !1, this.showHeaderStartIcon = !1, this.headerTitle = "", this.headerTitleClassName = "panel-title", this.closeButtonLabel = "Close the modal", this.firstButtonLabel = "Close", this.firstButtonVariant = "primary", this.firstButtonProps = {}, this.onFirstButtonClickClose = !1, this.secondButtonLabel = "", this.secondButtonVariant = "secondary", this.secondButtonProps = {}, this.onSecondButtonClickClose = !1, this.disablePortal = !1, this.zIndex = 99, this.initialized = !1, this.showDetail = !1, this.isHidingDetail = !1, this.previousFocusedElement = null, this._onOpenDetail = async (o) => {
2014
+ var e, n;
2015
+ const t = ((e = o.detail) == null ? void 0 : e.origin) ?? document.activeElement;
2016
+ if (this._detailOriginEl = t, this._detailOriginClass = (t == null ? void 0 : t.className) ?? "", this.showDetail = !0, this.showHeaderStartIcon = !0, await this.updateComplete, this._detailOriginClass) {
2017
+ const i = (n = this.shadowRoot) == null ? void 0 : n.querySelector(".detail-view");
2018
+ i && i.setAttribute("fromelement", this._detailOriginClass);
2019
+ }
2020
+ setTimeout(async () => {
2021
+ await this.focusDetailReturnBtn();
2022
+ }, 800);
2023
+ }, this._detailOriginEl = null, this._detailOriginClass = "", this.handleKeyDown = (o) => {
2016
2024
  this.open && (o.key === "Escape" ? this.closePanel() : o.key === "Tab" && this.trapFocus(o));
2017
2025
  }, this.handleClosePanel = (o) => {
2018
2026
  if (o instanceof KeyboardEvent && o.key !== "Enter" && o.key !== " ")
@@ -2021,18 +2029,23 @@ let u = class extends v {
2021
2029
  const t = o.currentTarget, e = (t == null ? void 0 : t.getAttribute("data-role")) === "back";
2022
2030
  if (this.showDetail && e) {
2023
2031
  this.isHidingDetail = !0;
2024
- const r = this.renderRoot.querySelector(".content");
2025
- if (r) {
2032
+ const n = this.renderRoot.querySelector(".content"), i = async () => {
2033
+ this.showDetail = !1, this.isHidingDetail = !1, this.showHeaderStartIcon = !1, await this.updateComplete, this._restoreFocusToOrigin();
2034
+ };
2035
+ if (n) {
2026
2036
  this.showHeaderStartIcon = !1;
2027
- const i = () => {
2028
- this.showDetail = !1, this.isHidingDetail = !1, r.removeEventListener("animationend", i);
2037
+ const r = () => {
2038
+ this.showDetail = !1, this.isHidingDetail = !1, n.removeEventListener("animationend", r), i();
2029
2039
  };
2030
- r.addEventListener("animationend", i);
2040
+ n.addEventListener("animationend", r);
2031
2041
  } else
2032
2042
  this.showDetail = !1, this.isHidingDetail = !1, this.showHeaderStartIcon = !1;
2033
2043
  return;
2034
2044
  }
2035
2045
  this.closePanel();
2046
+ }, this._onDetailSlotChange = (o) => {
2047
+ const n = o.target.assignedElements({ flatten: !0 }).flatMap((i) => Array.from(i.querySelectorAll("img")))[0];
2048
+ n == null || n.setAttribute("tabindex", "0");
2036
2049
  };
2037
2050
  }
2038
2051
  connectedCallback() {
@@ -2043,13 +2056,44 @@ let u = class extends v {
2043
2056
  disconnectedCallback() {
2044
2057
  document.body.style.overflow = "", document.body.removeAttribute("data-side-panel"), this.removeEventListener("keydown", this.handleKeyDown), super.disconnectedCallback(), this.removeEventListener("open-detail", this._onOpenDetail);
2045
2058
  }
2059
+ async focusDetailReturnBtn() {
2060
+ var n, i, r, s;
2061
+ await this.updateComplete;
2062
+ const o = this.getDeepActiveElement(document);
2063
+ if (o && o !== document.body)
2064
+ try {
2065
+ o.blur();
2066
+ } catch {
2067
+ }
2068
+ await new Promise(requestAnimationFrame);
2069
+ const t = (n = this.shadowRoot) == null ? void 0 : n.querySelector(".detail-view .return-btn");
2070
+ if (!t) return;
2071
+ t.updateComplete && await t.updateComplete, (s = (r = ((i = t.shadowRoot) == null ? void 0 : i.querySelector("button")) ?? t) == null ? void 0 : r.focus) == null || s.call(r, { preventScroll: !0 });
2072
+ }
2073
+ _restoreFocusToOrigin() {
2074
+ var t, e;
2075
+ const o = this._detailOriginEl;
2076
+ !o || !document.contains(o) || ((e = (t = document.activeElement) == null ? void 0 : t.blur) == null || e.call(t), requestAnimationFrame(() => {
2077
+ var i;
2078
+ o.classList.add("a--tabfocus"), (((i = o.shadowRoot) == null ? void 0 : i.querySelector('button, .button, [tabindex]:not([tabindex="-1"])')) ?? null ?? o).focus({ preventScroll: !0 });
2079
+ }));
2080
+ }
2081
+ getDeepActiveElement(o = this.shadowRoot) {
2082
+ let t = o.activeElement;
2083
+ for (; t && t.shadowRoot && t.shadowRoot.activeElement; )
2084
+ t = t.shadowRoot.activeElement;
2085
+ return t;
2086
+ }
2046
2087
  trapFocus(o) {
2047
- var i, n, s, c, h, b, x, p, k, B;
2048
- this.innerFocusedElement = document.activeElement || null, this.innerFocusedElement = ((n = (i = this.innerFocusedElement) == null ? void 0 : i.shadowRoot) == null ? void 0 : n.activeElement) || this.innerFocusedElement;
2049
- const t = this.getFocusableElements();
2050
- if (t.length === 0) return;
2051
- const e = t[0], r = t[t.length - 1];
2052
- o.shiftKey && this.innerFocusedElement === e ? (o.preventDefault(), r.shadowRoot ? (h = (c = (s = r.shadowRoot) == null ? void 0 : s.querySelector(u.focusablesSelector)) == null ? void 0 : c.focus) == null || h.call(c) : (b = r.focus) == null || b.call(r)) : !o.shiftKey && this.innerFocusedElement === r && (o.preventDefault(), e.shadowRoot ? (k = (p = (x = e.shadowRoot) == null ? void 0 : x.querySelector(u.focusablesSelector)) == null ? void 0 : p.focus) == null || k.call(p) : (B = e.focus) == null || B.call(e));
2088
+ if (o.key !== "Tab") return;
2089
+ const t = this.getDeepActiveElement(), e = this.renderRoot.querySelector(".close-btn");
2090
+ if (!o.shiftKey && e && e.contains(t)) {
2091
+ o.preventDefault();
2092
+ const n = this.renderRoot.querySelector(
2093
+ ".o-whats-inside--content p"
2094
+ );
2095
+ n == null || n.focus();
2096
+ }
2053
2097
  }
2054
2098
  getFocusableElements() {
2055
2099
  const o = this.renderRoot.querySelector(".panel");
@@ -2059,36 +2103,40 @@ let u = class extends v {
2059
2103
  }
2060
2104
  function e(i) {
2061
2105
  var s;
2062
- const n = [i.matches(u.focusablesSelector) ? i : []];
2106
+ const r = [i.matches(p.focusablesSelector) ? i : []];
2063
2107
  if (!["o-icon-button", "o-button"].includes(i.tagName.toLowerCase())) {
2064
- const c = Array.from(
2108
+ const h = Array.from(
2065
2109
  i instanceof HTMLSlotElement ? i.assignedElements({ flatten: !0 }) : []
2066
- ).filter(t).flatMap(e), h = Array.from(
2110
+ ).filter(t).flatMap(e), c = Array.from(
2067
2111
  ((s = i.shadowRoot) == null ? void 0 : s.querySelectorAll("*")) || []
2068
2112
  ).filter(t).flatMap(e);
2069
- n.push(...c, ...h);
2113
+ r.push(...h, ...c);
2070
2114
  }
2071
- return n.flat();
2115
+ return r.flat();
2072
2116
  }
2073
2117
  return Array.from(o.querySelectorAll("*")).filter(t).flatMap(e);
2074
2118
  }
2075
2119
  openPanel() {
2076
- this.previousFocusedElement = document.activeElement, this.open = !0, document.body.style.overflow = "hidden", document.body.setAttribute("data-side-panel", "open"), this.updateComplete.then(() => {
2077
- var o, t, e, r;
2120
+ this.removeAttribute("hidden"), this.getBoundingClientRect(), this.previousFocusedElement = document.activeElement, this.open = !0, document.body.style.overflow = "hidden", document.body.setAttribute("data-side-panel", "open");
2121
+ const o = this.renderRoot.querySelector(".panel");
2122
+ o && o.setAttribute("aria-modal", "true"), this.updateComplete.then(() => {
2123
+ var t, e, n, i;
2078
2124
  if (this.showHeader) {
2079
- const i = ((o = this.shadowRoot) == null ? void 0 : o.querySelector(".panel .close-btn")) || null, n = ((t = i == null ? void 0 : i.shadowRoot) == null ? void 0 : t.querySelector("button")) || null;
2080
- n && ((e = n.focus) == null || e.call(n));
2125
+ const r = ((t = this.shadowRoot) == null ? void 0 : t.querySelector(".panel .close-btn")) || null, s = ((e = r == null ? void 0 : r.shadowRoot) == null ? void 0 : e.querySelector("button")) || null;
2126
+ s && ((n = s.focus) == null || n.call(s));
2081
2127
  } else {
2082
- const i = this.getFocusableElements()[0];
2083
- (r = i == null ? void 0 : i.focus) == null || r.call(i);
2128
+ const r = this.getFocusableElements()[0];
2129
+ (i = r == null ? void 0 : r.focus) == null || i.call(r);
2084
2130
  }
2085
2131
  }), this.dispatchEvent(
2086
2132
  new CustomEvent("open", { bubbles: !0, composed: !0 })
2087
2133
  );
2088
2134
  }
2089
2135
  closePanel() {
2090
- var o, t, e, r, i;
2091
- this.open = !1, this.showDetail = !1, document.body.style.overflow = "", document.body.removeAttribute("data-side-panel"), ((o = this.previousFocusedElement) == null ? void 0 : o.tagName.toLowerCase()) === "o-button" ? (r = (e = (t = this.previousFocusedElement.shadowRoot) == null ? void 0 : t.querySelector(".button")) == null ? void 0 : e.focus) == null || r.call(e) : (i = this.previousFocusedElement) == null || i.focus(), this.dispatchEvent(
2136
+ var t, e, n, i, r;
2137
+ this.open = !1, this.showDetail = !1, document.body.style.overflow = "", document.body.removeAttribute("data-side-panel"), ((t = this.previousFocusedElement) == null ? void 0 : t.tagName.toLowerCase()) === "o-button" ? (i = (n = (e = this.previousFocusedElement.shadowRoot) == null ? void 0 : e.querySelector(".button")) == null ? void 0 : n.focus) == null || i.call(n) : (r = this.previousFocusedElement) == null || r.focus();
2138
+ const o = this.renderRoot.querySelector(".panel");
2139
+ o && o.removeAttribute("aria-modal"), this.dispatchEvent(
2092
2140
  new CustomEvent("close", { bubbles: !0, composed: !0 })
2093
2141
  );
2094
2142
  }
@@ -2119,11 +2167,13 @@ let u = class extends v {
2119
2167
  ));
2120
2168
  }
2121
2169
  updated() {
2122
- this.style.setProperty("--z-overlay", `${this.zIndex || 99}`), this.style.setProperty("--z-panel", `${this.zIndex ? this.zIndex + 1 : 99}`);
2170
+ this.style.setProperty("--z-overlay", `${this.zIndex || 99}`), this.style.setProperty("--z-panel", `${this.zIndex ? this.zIndex + 1 : 99}`), this.open || setTimeout(() => {
2171
+ this.setAttribute("hidden", "hidden");
2172
+ }, 500);
2123
2173
  }
2124
2174
  render() {
2125
2175
  const o = this.showHeader ? l`
2126
- <div class="header">
2176
+ <div tabindex="-1" class="header">
2127
2177
  ${this.showHeaderStartIcon ? l`
2128
2178
  <o-icon-button
2129
2179
  icon="arrowLeft"
@@ -2134,11 +2184,13 @@ let u = class extends v {
2134
2184
  @click=${this.handleClosePanel}
2135
2185
  @keydown=${this.handleClosePanel}
2136
2186
  aria-label="${this.closeButtonLabel}"
2187
+ srlabel="${this.closeButtonLabel}"
2188
+ showsrlabel="true"
2137
2189
  ></o-icon-button>
2138
2190
  ` : null}
2139
- <h2 id="panel-title" class="${this.headerTitleClassName}">
2191
+ <p role="heading" aria-level="1" id="panel-title" class="${this.headerTitleClassName}">
2140
2192
  ${this.headerTitle}
2141
- </h2>
2193
+ </p>
2142
2194
  <o-icon-button
2143
2195
  icon="cross"
2144
2196
  size="small"
@@ -2148,6 +2200,8 @@ let u = class extends v {
2148
2200
  @keydown=${this.handleClosePanel}
2149
2201
  aria-label="${this.closeButtonLabel}"
2150
2202
  aria-describedby="panel-title"
2203
+ srlabel="${this.closeButtonLabel}"
2204
+ showsrlabel="true"
2151
2205
  ></o-icon-button>
2152
2206
  </div>
2153
2207
  ` : null;
@@ -2161,51 +2215,52 @@ let u = class extends v {
2161
2215
  style="z-index: ${this.zIndex + 1}"
2162
2216
  tabindex="-1"
2163
2217
  >
2164
-
2165
- ${o}
2166
-
2167
- <div class="content ${this.isHidingDetail ? "slide-out-right" : ""} ${this.showDetail ? "with-detail" : ""}">
2168
-
2169
- ${this.showDetail ? l`
2170
- <div class="detail-view">
2171
- ${o}
2172
- <div class="detail-content">
2173
- <slot name="detail"></slot>
2218
+ <div role="document">
2219
+ ${o}
2220
+
2221
+ <div class="content ${this.isHidingDetail ? "slide-out-right" : ""} ${this.showDetail ? "with-detail" : ""}">
2222
+
2223
+ ${this.showDetail ? l`
2224
+ <div class="detail-view">
2225
+ ${o}
2226
+ <div class="detail-content">
2227
+ <slot name="detail" @slotchange=${this._onDetailSlotChange}></slot>
2228
+ </div>
2174
2229
  </div>
2175
- </div>
2176
- ` : l`<slot></slot>`}
2177
- </div>
2178
-
2179
- ${this.showFooter ? l`
2180
- <div class="footer">
2181
- ${this.firstButtonVariant && this.firstButtonLabel ? l`
2182
- <o-button
2183
- variant="${this.firstButtonVariant}"
2184
- @click=${this.handleFirstClick}
2185
- @keydown=${this.handleFirstClick}
2186
- ${le(this.firstButtonProps)}
2187
- >
2188
- ${this.firstButtonLabel}
2189
- </o-button>
2190
- ` : null}
2191
-
2192
- ${this.secondButtonVariant && this.secondButtonLabel ? l`
2193
- <o-button
2194
- variant="${this.secondButtonVariant}"
2195
- @click=${this.handleSecondClick}
2196
- @keydown=${this.handleSecondClick}
2197
- ${le(this.secondButtonProps)}
2198
- >
2199
- ${this.secondButtonLabel}
2200
- </o-button>
2230
+ ` : l`<slot></slot>`}
2231
+ </div>
2232
+
2233
+ ${this.showFooter ? l`
2234
+ <div class="footer">
2235
+ ${this.firstButtonVariant && this.firstButtonLabel ? l`
2236
+ <o-button
2237
+ variant="${this.firstButtonVariant}"
2238
+ @click=${this.handleFirstClick}
2239
+ @keydown=${this.handleFirstClick}
2240
+ ${le(this.firstButtonProps)}
2241
+ >
2242
+ ${this.firstButtonLabel}
2243
+ </o-button>
2244
+ ` : null}
2245
+
2246
+ ${this.secondButtonVariant && this.secondButtonLabel ? l`
2247
+ <o-button
2248
+ variant="${this.secondButtonVariant}"
2249
+ @click=${this.handleSecondClick}
2250
+ @keydown=${this.handleSecondClick}
2251
+ ${le(this.secondButtonProps)}
2252
+ >
2253
+ ${this.secondButtonLabel}
2254
+ </o-button>
2255
+ ` : null}
2256
+ </div>
2201
2257
  ` : null}
2202
- </div>
2203
- ` : null}
2258
+ </div>
2204
2259
  </div>
2205
2260
  `;
2206
2261
  }
2207
2262
  };
2208
- u.styles = f`
2263
+ p.styles = f`
2209
2264
  :host {
2210
2265
  --z-overlay: 99;
2211
2266
  --z-panel: 100;
@@ -2303,11 +2358,14 @@ u.styles = f`
2303
2358
  .return-btn {
2304
2359
  margin-right: 8px;
2305
2360
  }
2361
+
2362
+ .return-btn.a--tabfocus {
2363
+ border: 2px solid #000;
2364
+ box-sizing: border-box;
2365
+ }
2306
2366
  }
2307
2367
 
2308
- .panel:focus,
2309
2368
  .panel:focus-visible,
2310
- .close-btn:focus,
2311
2369
  .close-btn:focus-visible {
2312
2370
  ${xt}
2313
2371
  }
@@ -2394,77 +2452,77 @@ u.styles = f`
2394
2452
  padding: var(--spacing-xl);
2395
2453
  }
2396
2454
  `;
2397
- u.focusablesSelector = 'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"]), o-icon-button, o-button';
2398
- u.focusablesCustomElementsSelector = "o-icon-button, o-button";
2399
- y([
2455
+ p.focusablesSelector = 'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"]), o-icon-button, o-button';
2456
+ p.focusablesCustomElementsSelector = "o-icon-button, o-button";
2457
+ g([
2400
2458
  a({ type: Boolean, reflect: !0 })
2401
- ], u.prototype, "open", 2);
2402
- y([
2459
+ ], p.prototype, "open", 2);
2460
+ g([
2403
2461
  a({ type: Boolean, reflect: !0 })
2404
- ], u.prototype, "showHeader", 2);
2405
- y([
2462
+ ], p.prototype, "showHeader", 2);
2463
+ g([
2406
2464
  a({ type: Boolean, reflect: !0 })
2407
- ], u.prototype, "showFooter", 2);
2408
- y([
2465
+ ], p.prototype, "showFooter", 2);
2466
+ g([
2409
2467
  a({ type: Boolean, reflect: !0 })
2410
- ], u.prototype, "showHeaderStartIcon", 2);
2411
- y([
2468
+ ], p.prototype, "showHeaderStartIcon", 2);
2469
+ g([
2412
2470
  a({ type: String, reflect: !0 })
2413
- ], u.prototype, "headerTitle", 2);
2414
- y([
2471
+ ], p.prototype, "headerTitle", 2);
2472
+ g([
2415
2473
  a({ type: String, reflect: !0 })
2416
- ], u.prototype, "headerTitleClassName", 2);
2417
- y([
2474
+ ], p.prototype, "headerTitleClassName", 2);
2475
+ g([
2418
2476
  a({ type: String, reflect: !0 })
2419
- ], u.prototype, "closeButtonLabel", 2);
2420
- y([
2477
+ ], p.prototype, "closeButtonLabel", 2);
2478
+ g([
2421
2479
  a({ type: String, reflect: !0 })
2422
- ], u.prototype, "firstButtonLabel", 2);
2423
- y([
2480
+ ], p.prototype, "firstButtonLabel", 2);
2481
+ g([
2424
2482
  a({ type: String, reflect: !0 })
2425
- ], u.prototype, "firstButtonVariant", 2);
2426
- y([
2483
+ ], p.prototype, "firstButtonVariant", 2);
2484
+ g([
2427
2485
  a({ type: Object, reflect: !0 })
2428
- ], u.prototype, "firstButtonProps", 2);
2429
- y([
2486
+ ], p.prototype, "firstButtonProps", 2);
2487
+ g([
2430
2488
  a({ type: Boolean, reflect: !0 })
2431
- ], u.prototype, "onFirstButtonClickClose", 2);
2432
- y([
2489
+ ], p.prototype, "onFirstButtonClickClose", 2);
2490
+ g([
2433
2491
  a({ type: String, reflect: !0 })
2434
- ], u.prototype, "secondButtonLabel", 2);
2435
- y([
2492
+ ], p.prototype, "secondButtonLabel", 2);
2493
+ g([
2436
2494
  a({ type: String, reflect: !0 })
2437
- ], u.prototype, "secondButtonVariant", 2);
2438
- y([
2495
+ ], p.prototype, "secondButtonVariant", 2);
2496
+ g([
2439
2497
  a({ type: Object, reflect: !0 })
2440
- ], u.prototype, "secondButtonProps", 2);
2441
- y([
2498
+ ], p.prototype, "secondButtonProps", 2);
2499
+ g([
2442
2500
  a({ type: Boolean, reflect: !0 })
2443
- ], u.prototype, "onSecondButtonClickClose", 2);
2444
- y([
2501
+ ], p.prototype, "onSecondButtonClickClose", 2);
2502
+ g([
2445
2503
  a({ type: Boolean, reflect: !0 })
2446
- ], u.prototype, "disablePortal", 2);
2447
- y([
2504
+ ], p.prototype, "disablePortal", 2);
2505
+ g([
2448
2506
  a({ type: Number, reflect: !0 })
2449
- ], u.prototype, "zIndex", 2);
2450
- y([
2507
+ ], p.prototype, "zIndex", 2);
2508
+ g([
2451
2509
  a({ type: Boolean, reflect: !0 })
2452
- ], u.prototype, "initialized", 2);
2453
- y([
2510
+ ], p.prototype, "initialized", 2);
2511
+ g([
2454
2512
  a({ type: Boolean })
2455
- ], u.prototype, "showDetail", 2);
2456
- y([
2513
+ ], p.prototype, "showDetail", 2);
2514
+ g([
2457
2515
  a({ type: Boolean })
2458
- ], u.prototype, "isHidingDetail", 2);
2459
- u = y([
2460
- m("o-side-panel")
2461
- ], u);
2462
- var Ro = Object.defineProperty, No = Object.getOwnPropertyDescriptor, X = (o, t, e, r) => {
2463
- for (var i = r > 1 ? void 0 : r ? No(t, e) : t, n = o.length - 1, s; n >= 0; n--)
2464
- (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
2465
- return r && i && Ro(t, e, i), i;
2516
+ ], p.prototype, "isHidingDetail", 2);
2517
+ p = g([
2518
+ y("o-side-panel")
2519
+ ], p);
2520
+ var Ro = Object.defineProperty, No = Object.getOwnPropertyDescriptor, X = (o, t, e, n) => {
2521
+ for (var i = n > 1 ? void 0 : n ? No(t, e) : t, r = o.length - 1, s; r >= 0; r--)
2522
+ (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
2523
+ return n && i && Ro(t, e, i), i;
2466
2524
  };
2467
- let M = class extends v {
2525
+ let D = class extends u {
2468
2526
  constructor() {
2469
2527
  super(...arguments), this.thumbnails = [], this.activeIndex = 0, this.disabledIndexes = [], this.maxWidth = "100%", this.altressource = "visual", this.focusedIndex = 0, this.playerIconTemplate = l`
2470
2528
  <o-icon-button
@@ -2517,8 +2575,8 @@ let M = class extends v {
2517
2575
  }), t.classList.add("a--tabfocus"), this.requestUpdate();
2518
2576
  }
2519
2577
  onFocusOut(o) {
2520
- const t = o.currentTarget, e = Number(t.dataset.index), r = o.relatedTarget;
2521
- (!r || this.shadowRoot && !this.shadowRoot.contains(r)) && (this.renderRoot.querySelectorAll(".thumb").forEach((s) => s.classList.remove("a--tabfocus")), e === this.lastIndex ? this.dispatchEvent(new CustomEvent("thumb-exit", {
2578
+ const t = o.currentTarget, e = Number(t.dataset.index), n = o.relatedTarget;
2579
+ (!n || this.shadowRoot && !this.shadowRoot.contains(n)) && (this.renderRoot.querySelectorAll(".thumb").forEach((s) => s.classList.remove("a--tabfocus")), e === this.lastIndex ? this.dispatchEvent(new CustomEvent("thumb-exit", {
2522
2580
  detail: { from: "last", direction: "unspecified" },
2523
2581
  bubbles: !0,
2524
2582
  composed: !0
@@ -2532,20 +2590,20 @@ let M = class extends v {
2532
2590
  return l`
2533
2591
  <ul class="scroll-container" style="max-width: ${this.maxWidth};">
2534
2592
  ${this.thumbnails.map((o, t) => {
2535
- const e = this.disabledIndexes.includes(t), r = this.activeIndex === t, i = o.type === "video", n = i ? `video ${t}` : `${this.altressource} ${t + 1}`;
2593
+ const e = this.disabledIndexes.includes(t), n = this.activeIndex === t, i = o.type === "video", r = i ? `video ${t}` : `${this.altressource} ${t + 1}`;
2536
2594
  return l`
2537
2595
  <li class="thumb-wrapper">
2538
2596
  <button
2539
2597
  class="thumb"
2540
2598
  data-index="${t}"
2541
2599
  ?disabled=${e}
2542
- aria-current=${r ? "true" : "false"}
2600
+ aria-current=${n ? "true" : "false"}
2543
2601
  @click=${() => this.selectThumbnail(t)}
2544
2602
  @keydown=${this.handleKeyDown}
2545
2603
  @focus=${(s) => this.onFocus(s)}
2546
2604
  @focusout=${(s) => this.onFocusOut(s)}
2547
2605
  >
2548
- <img alt="${n}" src="${o.src}" />
2606
+ <img alt="${r}" src="${o.src}" />
2549
2607
  </button>
2550
2608
  ${i ? l`<div class="play-icon-wrapper">${this.playerIconTemplate}</div>` : null}
2551
2609
  </li>
@@ -2555,7 +2613,7 @@ let M = class extends v {
2555
2613
  `;
2556
2614
  }
2557
2615
  };
2558
- M.styles = f`
2616
+ D.styles = f`
2559
2617
  :host {
2560
2618
  display: flex;
2561
2619
  gap: 5px;
@@ -2663,34 +2721,34 @@ M.styles = f`
2663
2721
  `;
2664
2722
  X([
2665
2723
  a({ type: Array })
2666
- ], M.prototype, "thumbnails", 2);
2724
+ ], D.prototype, "thumbnails", 2);
2667
2725
  X([
2668
2726
  a({ type: Number })
2669
- ], M.prototype, "activeIndex", 2);
2727
+ ], D.prototype, "activeIndex", 2);
2670
2728
  X([
2671
2729
  a({ type: Array })
2672
- ], M.prototype, "disabledIndexes", 2);
2730
+ ], D.prototype, "disabledIndexes", 2);
2673
2731
  X([
2674
2732
  a({ type: String })
2675
- ], M.prototype, "maxWidth", 2);
2733
+ ], D.prototype, "maxWidth", 2);
2676
2734
  X([
2677
2735
  a({ type: String })
2678
- ], M.prototype, "altressource", 2);
2736
+ ], D.prototype, "altressource", 2);
2679
2737
  X([
2680
2738
  a({ type: Object })
2681
- ], M.prototype, "swiperInstance", 2);
2739
+ ], D.prototype, "swiperInstance", 2);
2682
2740
  X([
2683
2741
  et()
2684
- ], M.prototype, "focusedIndex", 2);
2685
- M = X([
2686
- m("thumbnail-navigation")
2687
- ], M);
2688
- var Fo = Object.defineProperty, Uo = Object.getOwnPropertyDescriptor, qt = (o, t, e, r) => {
2689
- for (var i = r > 1 ? void 0 : r ? Uo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
2690
- (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
2691
- return r && i && Fo(t, e, i), i;
2742
+ ], D.prototype, "focusedIndex", 2);
2743
+ D = X([
2744
+ y("thumbnail-navigation")
2745
+ ], D);
2746
+ var Fo = Object.defineProperty, Uo = Object.getOwnPropertyDescriptor, Zt = (o, t, e, n) => {
2747
+ for (var i = n > 1 ? void 0 : n ? Uo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
2748
+ (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
2749
+ return n && i && Fo(t, e, i), i;
2692
2750
  };
2693
- let vt = class extends v {
2751
+ let vt = class extends u {
2694
2752
  constructor() {
2695
2753
  super(...arguments), this.type = "", this.bgstyle = "background-white";
2696
2754
  }
@@ -2758,21 +2816,21 @@ vt.styles = f`
2758
2816
  }
2759
2817
 
2760
2818
  `;
2761
- qt([
2819
+ Zt([
2762
2820
  a({ type: String, reflect: !0 })
2763
2821
  ], vt.prototype, "type", 2);
2764
- qt([
2822
+ Zt([
2765
2823
  a({ type: String, reflect: !0 })
2766
2824
  ], vt.prototype, "bgstyle", 2);
2767
- vt = qt([
2768
- m("o-tag")
2825
+ vt = Zt([
2826
+ y("o-tag")
2769
2827
  ], vt);
2770
- var Vo = Object.defineProperty, Zo = Object.getOwnPropertyDescriptor, Kt = (o, t, e, r) => {
2771
- for (var i = r > 1 ? void 0 : r ? Zo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
2772
- (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
2773
- return r && i && Vo(t, e, i), i;
2828
+ var Vo = Object.defineProperty, qo = Object.getOwnPropertyDescriptor, Kt = (o, t, e, n) => {
2829
+ for (var i = n > 1 ? void 0 : n ? qo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
2830
+ (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
2831
+ return n && i && Vo(t, e, i), i;
2774
2832
  };
2775
- let ft = class extends v {
2833
+ let ft = class extends u {
2776
2834
  constructor() {
2777
2835
  super(...arguments), this.type = "top", this.text = "";
2778
2836
  }
@@ -2885,14 +2943,14 @@ Kt([
2885
2943
  a({ type: String, reflect: !0 })
2886
2944
  ], ft.prototype, "text", 2);
2887
2945
  ft = Kt([
2888
- m("o-tooltip")
2946
+ y("o-tooltip")
2889
2947
  ], ft);
2890
- var qo = Object.defineProperty, Ko = Object.getOwnPropertyDescriptor, V = (o, t, e, r) => {
2891
- for (var i = r > 1 ? void 0 : r ? Ko(t, e) : t, n = o.length - 1, s; n >= 0; n--)
2892
- (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
2893
- return r && i && qo(t, e, i), i;
2948
+ var Zo = Object.defineProperty, Ko = Object.getOwnPropertyDescriptor, U = (o, t, e, n) => {
2949
+ for (var i = n > 1 ? void 0 : n ? Ko(t, e) : t, r = o.length - 1, s; r >= 0; r--)
2950
+ (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
2951
+ return n && i && Zo(t, e, i), i;
2894
2952
  };
2895
- let D = class extends v {
2953
+ let z = class extends u {
2896
2954
  constructor() {
2897
2955
  super(...arguments), this.options = [], this.value = "", this.name = "", this.disabled = !1, this.width = "100%", this.open = !1, this.activeIndex = -1, this.menuWidth = "", this._handleOutsideClick = (o) => {
2898
2956
  this.contains(o.target) || (this.open = !1, this.activeIndex = -1);
@@ -2958,7 +3016,7 @@ let D = class extends v {
2958
3016
  this.options.length > 0 && (this.options.some((e) => e.value === this.value) || (this.value = this.options[0].value));
2959
3017
  }
2960
3018
  render() {
2961
- const o = F.checkstroke.replace(
3019
+ const o = N.checkstroke.replace(
2962
3020
  "<svg",
2963
3021
  '<svg aria-hidden="true" focusable="false" part="svg"'
2964
3022
  ), t = this.options.find((e) => e.value === this.value);
@@ -2991,13 +3049,13 @@ let D = class extends v {
2991
3049
  style=${`width: ${this.width};`}
2992
3050
  >
2993
3051
  ${this.options.map(
2994
- (e, r) => l`
3052
+ (e, n) => l`
2995
3053
  <li
2996
- id="option-${r}"
3054
+ id="option-${n}"
2997
3055
  role="option"
2998
3056
  aria-selected="${e.value === this.value}"
2999
- tabindex="${r === this.activeIndex ? "0" : "-1"}"
3000
- class="${r === this.activeIndex ? "active" : ""} ${e.disabled ? "disabled" : ""}"
3057
+ tabindex="${n === this.activeIndex ? "0" : "-1"}"
3058
+ class="${n === this.activeIndex ? "active" : ""} ${e.disabled ? "disabled" : ""}"
3001
3059
  @click=${() => this.selectOption(e)}
3002
3060
  >
3003
3061
  ${e.url ? l`
@@ -3015,7 +3073,7 @@ let D = class extends v {
3015
3073
  `;
3016
3074
  }
3017
3075
  };
3018
- D.styles = f`
3076
+ z.styles = f`
3019
3077
  :host {
3020
3078
  display: inline-block;
3021
3079
  position: relative;
@@ -3155,39 +3213,39 @@ D.styles = f`
3155
3213
  display: none;
3156
3214
  }
3157
3215
  `;
3158
- V([
3216
+ U([
3159
3217
  a({ type: Array, reflect: !0 })
3160
- ], D.prototype, "options", 2);
3161
- V([
3218
+ ], z.prototype, "options", 2);
3219
+ U([
3162
3220
  a({ type: String, reflect: !0 })
3163
- ], D.prototype, "value", 2);
3164
- V([
3221
+ ], z.prototype, "value", 2);
3222
+ U([
3165
3223
  a({ type: String, reflect: !0 })
3166
- ], D.prototype, "name", 2);
3167
- V([
3224
+ ], z.prototype, "name", 2);
3225
+ U([
3168
3226
  a({ type: Boolean, reflect: !0 })
3169
- ], D.prototype, "disabled", 2);
3170
- V([
3227
+ ], z.prototype, "disabled", 2);
3228
+ U([
3171
3229
  a({ type: String, reflect: !0 })
3172
- ], D.prototype, "width", 2);
3173
- V([
3230
+ ], z.prototype, "width", 2);
3231
+ U([
3174
3232
  et()
3175
- ], D.prototype, "open", 2);
3176
- V([
3233
+ ], z.prototype, "open", 2);
3234
+ U([
3177
3235
  et()
3178
- ], D.prototype, "activeIndex", 2);
3179
- V([
3236
+ ], z.prototype, "activeIndex", 2);
3237
+ U([
3180
3238
  et()
3181
- ], D.prototype, "menuWidth", 2);
3182
- D = V([
3183
- m("o-dropdown")
3184
- ], D);
3185
- var Wo = Object.getOwnPropertyDescriptor, Go = (o, t, e, r) => {
3186
- for (var i = r > 1 ? void 0 : r ? Wo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
3187
- (s = o[n]) && (i = s(i) || i);
3239
+ ], z.prototype, "menuWidth", 2);
3240
+ z = U([
3241
+ y("o-dropdown")
3242
+ ], z);
3243
+ var Wo = Object.getOwnPropertyDescriptor, Go = (o, t, e, n) => {
3244
+ for (var i = n > 1 ? void 0 : n ? Wo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
3245
+ (s = o[r]) && (i = s(i) || i);
3188
3246
  return i;
3189
3247
  };
3190
- let Ht = class extends v {
3248
+ let Ht = class extends u {
3191
3249
  render() {
3192
3250
  return l` <span class="dots"></span> `;
3193
3251
  }
@@ -3245,14 +3303,14 @@ Ht.styles = f`
3245
3303
  }
3246
3304
  `;
3247
3305
  Ht = Go([
3248
- m("o-dots")
3306
+ y("o-dots")
3249
3307
  ], Ht);
3250
- var Xo = Object.defineProperty, Jo = Object.getOwnPropertyDescriptor, j = (o, t, e, r) => {
3251
- for (var i = r > 1 ? void 0 : r ? Jo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
3252
- (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
3253
- return r && i && Xo(t, e, i), i;
3308
+ var Xo = Object.defineProperty, Jo = Object.getOwnPropertyDescriptor, M = (o, t, e, n) => {
3309
+ for (var i = n > 1 ? void 0 : n ? Jo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
3310
+ (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
3311
+ return n && i && Xo(t, e, i), i;
3254
3312
  };
3255
- let A = class extends v {
3313
+ let E = class extends u {
3256
3314
  constructor() {
3257
3315
  super(...arguments), this.options = [], this.value = "", this.name = "", this.additionaltext = "+X variant(s)", this.disabled = !1, this.width = "100%", this.open = !1, this.activeIndex = -1, this.menuWidth = "", this._handleOutsideClick = (o) => {
3258
3316
  this.contains(o.target) || (this.open = !1, this.activeIndex = -1);
@@ -3318,7 +3376,7 @@ let A = class extends v {
3318
3376
  this.options.length > 0 && (this.options.some((t) => t.value === this.value) || (this.value = this.options[0].value));
3319
3377
  }
3320
3378
  render() {
3321
- const o = F.checkstroke.replace(
3379
+ const o = N.checkstroke.replace(
3322
3380
  "<svg",
3323
3381
  '<svg aria-hidden="true" focusable="false" part="svg"'
3324
3382
  ), t = this.options.find((e) => e.value === this.value);
@@ -3336,7 +3394,7 @@ let A = class extends v {
3336
3394
  ?disabled=${this.disabled}
3337
3395
  class="btn-dropdown"
3338
3396
  >
3339
- <img alt="${S(t == null ? void 0 : t.label)}" src="${S(t == null ? void 0 : t.imgurl)}" />
3397
+ <img alt="${k(t == null ? void 0 : t.label)}" src="${k(t == null ? void 0 : t.imgurl)}" />
3340
3398
  <span id="dropdown-label" class="label">
3341
3399
  ${t ? t.label : "Select an option"}
3342
3400
  </span>
@@ -3361,21 +3419,21 @@ let A = class extends v {
3361
3419
  style=${`width: ${this.width};`}
3362
3420
  >
3363
3421
  ${this.options.map(
3364
- (e, r) => l`
3422
+ (e, n) => l`
3365
3423
  <li
3366
- id="option-${r}"
3424
+ id="option-${n}"
3367
3425
  role="option"
3368
3426
  aria-selected="${e.value === this.value}"
3369
3427
  aria-disabled="${e.disabled ? "true" : "false"}"
3370
- tabindex="${r === this.activeIndex ? "0" : "-1"}"
3371
- class="${r === this.activeIndex ? "active" : ""} ${e.disabled ? "disabled" : ""}"
3428
+ tabindex="${n === this.activeIndex ? "0" : "-1"}"
3429
+ class="${n === this.activeIndex ? "active" : ""} ${e.disabled ? "disabled" : ""}"
3372
3430
  @click=${() => this.selectOption(e)}
3373
3431
  >
3374
- <a href="${S(e.url)}">
3375
- <img alt="${S(e.label)}" src="${S(e.imgurl)}" />
3432
+ <a href="${k(e.url)}">
3433
+ <img alt="${k(e.label)}" src="${k(e.imgurl)}" />
3376
3434
  <span class="label">${e.label}</span>
3377
3435
  <div class="right">
3378
- <span class="additional-text">${S(e.additionaltext)}</span>
3436
+ <span class="additional-text">${k(e.additionaltext)}</span>
3379
3437
  ${e.value === this.value && !e.additionaltext ? l`
3380
3438
  <span class="check">${C(o)}</span>` : null}
3381
3439
  </div>
@@ -3389,7 +3447,7 @@ let A = class extends v {
3389
3447
  `;
3390
3448
  }
3391
3449
  };
3392
- A.styles = f`
3450
+ E.styles = f`
3393
3451
  :host {
3394
3452
  display: inline-block;
3395
3453
  position: relative;
@@ -3565,73 +3623,73 @@ A.styles = f`
3565
3623
  display: none;
3566
3624
  }
3567
3625
  `;
3568
- j([
3626
+ M([
3569
3627
  a({ type: Array, reflect: !0 })
3570
- ], A.prototype, "options", 2);
3571
- j([
3628
+ ], E.prototype, "options", 2);
3629
+ M([
3572
3630
  a({ type: String, reflect: !0 })
3573
- ], A.prototype, "value", 2);
3574
- j([
3631
+ ], E.prototype, "value", 2);
3632
+ M([
3575
3633
  a({ type: String, reflect: !0 })
3576
- ], A.prototype, "name", 2);
3577
- j([
3634
+ ], E.prototype, "name", 2);
3635
+ M([
3578
3636
  a({ type: String, reflect: !0 })
3579
- ], A.prototype, "additionaltext", 2);
3580
- j([
3637
+ ], E.prototype, "additionaltext", 2);
3638
+ M([
3581
3639
  a({ type: Boolean, reflect: !0 })
3582
- ], A.prototype, "disabled", 2);
3583
- j([
3640
+ ], E.prototype, "disabled", 2);
3641
+ M([
3584
3642
  a({ type: String, reflect: !0 })
3585
- ], A.prototype, "width", 2);
3586
- j([
3643
+ ], E.prototype, "width", 2);
3644
+ M([
3587
3645
  et()
3588
- ], A.prototype, "open", 2);
3589
- j([
3646
+ ], E.prototype, "open", 2);
3647
+ M([
3590
3648
  et()
3591
- ], A.prototype, "activeIndex", 2);
3592
- j([
3649
+ ], E.prototype, "activeIndex", 2);
3650
+ M([
3593
3651
  et()
3594
- ], A.prototype, "menuWidth", 2);
3595
- A = j([
3596
- m("o-dropdown-variant")
3597
- ], A);
3652
+ ], E.prototype, "menuWidth", 2);
3653
+ E = M([
3654
+ y("o-dropdown-variant")
3655
+ ], E);
3598
3656
  /**
3599
3657
  * @license
3600
3658
  * Copyright 2018 Google LLC
3601
3659
  * SPDX-License-Identifier: BSD-3-Clause
3602
3660
  */
3603
- const ge = "important", Qo = " !" + ge, Yo = Vt(class extends Zt {
3661
+ const ge = "important", Qo = " !" + ge, Yo = Vt(class extends qt {
3604
3662
  constructor(o) {
3605
3663
  var t;
3606
3664
  if (super(o), o.type !== Ut.ATTRIBUTE || o.name !== "style" || ((t = o.strings) == null ? void 0 : t.length) > 2) throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.");
3607
3665
  }
3608
3666
  render(o) {
3609
3667
  return Object.keys(o).reduce((t, e) => {
3610
- const r = o[e];
3611
- return r == null ? t : t + `${e = e.includes("-") ? e : e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g, "-$&").toLowerCase()}:${r};`;
3668
+ const n = o[e];
3669
+ return n == null ? t : t + `${e = e.includes("-") ? e : e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g, "-$&").toLowerCase()}:${n};`;
3612
3670
  }, "");
3613
3671
  }
3614
3672
  update(o, [t]) {
3615
3673
  const { style: e } = o.element;
3616
3674
  if (this.ft === void 0) return this.ft = new Set(Object.keys(t)), this.render(t);
3617
- for (const r of this.ft) t[r] == null && (this.ft.delete(r), r.includes("-") ? e.removeProperty(r) : e[r] = null);
3618
- for (const r in t) {
3619
- const i = t[r];
3675
+ for (const n of this.ft) t[n] == null && (this.ft.delete(n), n.includes("-") ? e.removeProperty(n) : e[n] = null);
3676
+ for (const n in t) {
3677
+ const i = t[n];
3620
3678
  if (i != null) {
3621
- this.ft.add(r);
3622
- const n = typeof i == "string" && i.endsWith(Qo);
3623
- r.includes("-") || n ? e.setProperty(r, n ? i.slice(0, -11) : i, n ? ge : "") : e[r] = i;
3679
+ this.ft.add(n);
3680
+ const r = typeof i == "string" && i.endsWith(Qo);
3681
+ n.includes("-") || r ? e.setProperty(n, r ? i.slice(0, -11) : i, r ? ge : "") : e[n] = i;
3624
3682
  }
3625
3683
  }
3626
3684
  return G;
3627
3685
  }
3628
3686
  });
3629
- var ti = Object.defineProperty, ei = Object.getOwnPropertyDescriptor, Wt = (o, t, e, r) => {
3630
- for (var i = r > 1 ? void 0 : r ? ei(t, e) : t, n = o.length - 1, s; n >= 0; n--)
3631
- (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
3632
- return r && i && ti(t, e, i), i;
3687
+ var ti = Object.defineProperty, ei = Object.getOwnPropertyDescriptor, Wt = (o, t, e, n) => {
3688
+ for (var i = n > 1 ? void 0 : n ? ei(t, e) : t, r = o.length - 1, s; r >= 0; r--)
3689
+ (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
3690
+ return n && i && ti(t, e, i), i;
3633
3691
  };
3634
- let bt = class extends v {
3692
+ let bt = class extends u {
3635
3693
  constructor() {
3636
3694
  super(...arguments), this.option = {}, this.imageSize = 64;
3637
3695
  }
@@ -3640,13 +3698,13 @@ let bt = class extends v {
3640
3698
  width: `${this.imageSize}px`,
3641
3699
  height: `${this.imageSize}px`
3642
3700
  }, e = l`
3643
- ${this.option.imgurl ? l`<img src="${this.option.imgurl}" alt="${S(this.option.title)}" aria-hidden="true" style=${Yo(t)} />` : ""}
3701
+ ${this.option.imgurl ? l`<img src="${this.option.imgurl}" alt="${k(this.option.title)}" aria-hidden="true" style=${Yo(t)} />` : ""}
3644
3702
  <div class="m-reassurance-content">
3645
- <h3 class="a-reassurance-text">${S(this.option.title)}</h3>
3646
- <p class="a-reassurance-description">${S(this.option.description)}</p>
3703
+ <h3 class="a-reassurance-text">${k(this.option.title)}</h3>
3704
+ <p class="a-reassurance-description">${k(this.option.description)}</p>
3647
3705
  </div>
3648
3706
  `;
3649
- return o ? l`<a href="${S(this.option.url)}" class="reassurance-item clickable">${e}</a>` : l`<div class="reassurance-item">${e}</div>`;
3707
+ return o ? l`<a href="${k(this.option.url)}" class="reassurance-item clickable">${e}</a>` : l`<div class="reassurance-item">${e}</div>`;
3650
3708
  }
3651
3709
  };
3652
3710
  bt.styles = f`
@@ -3738,15 +3796,15 @@ Wt([
3738
3796
  a({ type: Number, reflect: !0 })
3739
3797
  ], bt.prototype, "imageSize", 2);
3740
3798
  bt = Wt([
3741
- m("o-reassurance")
3799
+ y("o-reassurance")
3742
3800
  ], bt);
3743
- var oi = Object.defineProperty, ii = Object.getOwnPropertyDescriptor, Z = (o, t, e, r) => {
3744
- for (var i = r > 1 ? void 0 : r ? ii(t, e) : t, n = o.length - 1, s; n >= 0; n--)
3745
- (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
3746
- return r && i && oi(t, e, i), i;
3801
+ var oi = Object.defineProperty, ii = Object.getOwnPropertyDescriptor, V = (o, t, e, n) => {
3802
+ for (var i = n > 1 ? void 0 : n ? ii(t, e) : t, r = o.length - 1, s; r >= 0; r--)
3803
+ (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
3804
+ return n && i && oi(t, e, i), i;
3747
3805
  };
3748
- const ri = Ft(v);
3749
- let L = class extends ri {
3806
+ const ni = Ft(u);
3807
+ let A = class extends ni {
3750
3808
  constructor() {
3751
3809
  super(...arguments), this.link = "", this.name = "", this.value = "", this.text = "", this.size = "standard", this.selected = !1, this.fullwidth = !1, this.inactive = !1;
3752
3810
  }
@@ -3769,7 +3827,7 @@ let L = class extends ri {
3769
3827
  `;
3770
3828
  }
3771
3829
  };
3772
- L.styles = f`
3830
+ A.styles = f`
3773
3831
  :host {
3774
3832
  cursor: pointer;
3775
3833
  display: inline-flex;
@@ -3859,44 +3917,44 @@ L.styles = f`
3859
3917
  align-items: center;
3860
3918
  }
3861
3919
  `;
3862
- Z([
3920
+ V([
3863
3921
  a({ type: String, reflect: !0 })
3864
- ], L.prototype, "link", 2);
3865
- Z([
3922
+ ], A.prototype, "link", 2);
3923
+ V([
3866
3924
  a({ reflect: !0 })
3867
- ], L.prototype, "name", 2);
3868
- Z([
3925
+ ], A.prototype, "name", 2);
3926
+ V([
3869
3927
  a({ reflect: !0 })
3870
- ], L.prototype, "value", 2);
3871
- Z([
3928
+ ], A.prototype, "value", 2);
3929
+ V([
3872
3930
  a({ type: String })
3873
- ], L.prototype, "text", 2);
3874
- Z([
3931
+ ], A.prototype, "text", 2);
3932
+ V([
3875
3933
  a({ type: String, reflect: !0 })
3876
- ], L.prototype, "size", 2);
3877
- Z([
3934
+ ], A.prototype, "size", 2);
3935
+ V([
3878
3936
  a({ type: Boolean, reflect: !0 })
3879
- ], L.prototype, "selected", 2);
3880
- Z([
3937
+ ], A.prototype, "selected", 2);
3938
+ V([
3881
3939
  a({ type: Boolean, reflect: !0 })
3882
- ], L.prototype, "fullwidth", 2);
3883
- Z([
3940
+ ], A.prototype, "fullwidth", 2);
3941
+ V([
3884
3942
  a({ type: Boolean, reflect: !0 })
3885
- ], L.prototype, "inactive", 2);
3886
- L = Z([
3887
- m("o-chip")
3888
- ], L);
3889
- var ni = Object.defineProperty, si = Object.getOwnPropertyDescriptor, Gt = (o, t, e, r) => {
3890
- for (var i = r > 1 ? void 0 : r ? si(t, e) : t, n = o.length - 1, s; n >= 0; n--)
3891
- (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
3892
- return r && i && ni(t, e, i), i;
3943
+ ], A.prototype, "inactive", 2);
3944
+ A = V([
3945
+ y("o-chip")
3946
+ ], A);
3947
+ var ri = Object.defineProperty, si = Object.getOwnPropertyDescriptor, Gt = (o, t, e, n) => {
3948
+ for (var i = n > 1 ? void 0 : n ? si(t, e) : t, r = o.length - 1, s; r >= 0; r--)
3949
+ (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
3950
+ return n && i && ri(t, e, i), i;
3893
3951
  };
3894
- let gt = class extends v {
3952
+ let gt = class extends u {
3895
3953
  constructor() {
3896
3954
  super(), this.name = "", this.value = "", this.addEventListener("selected", this.onChipSelected);
3897
3955
  }
3898
3956
  onChipSelected(o) {
3899
- const t = o.target instanceof L ? o.target : null;
3957
+ const t = o.target instanceof A ? o.target : null;
3900
3958
  t != null && t.link || (this.name = (t == null ? void 0 : t.name) || "", this.value = (t == null ? void 0 : t.value) || "", this.querySelectorAll("o-chip").forEach((e) => {
3901
3959
  e !== t && (e.selected = !1);
3902
3960
  }));
@@ -3922,15 +3980,15 @@ Gt([
3922
3980
  a({ reflect: !0 })
3923
3981
  ], gt.prototype, "value", 2);
3924
3982
  gt = Gt([
3925
- m("o-chipset")
3983
+ y("o-chipset")
3926
3984
  ], gt);
3927
- var ai = Object.defineProperty, li = Object.getOwnPropertyDescriptor, R = (o, t, e, r) => {
3928
- for (var i = r > 1 ? void 0 : r ? li(t, e) : t, n = o.length - 1, s; n >= 0; n--)
3929
- (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
3930
- return r && i && ai(t, e, i), i;
3985
+ var ai = Object.defineProperty, li = Object.getOwnPropertyDescriptor, T = (o, t, e, n) => {
3986
+ for (var i = n > 1 ? void 0 : n ? li(t, e) : t, r = o.length - 1, s; r >= 0; r--)
3987
+ (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
3988
+ return n && i && ai(t, e, i), i;
3931
3989
  };
3932
- const ci = Ft(v);
3933
- let I = class extends ci {
3990
+ const ci = Ft(u);
3991
+ let L = class extends ci {
3934
3992
  constructor() {
3935
3993
  super(...arguments), this.name = "", this.value = "", this.type = "", this.text = "", this.selected = !1, this.disabled = !1, this.fullwidth = !1, this.crossIconName = "cross", this.strikethroughImgName = "strikeDiagonal";
3936
3994
  }
@@ -3942,7 +4000,7 @@ let I = class extends ci {
3942
4000
  this.dispatchEvent(e), e.defaultPrevented && o.preventDefault(), this.selected = t.selected;
3943
4001
  }
3944
4002
  crossIcon() {
3945
- const o = F[this.crossIconName].replace(
4003
+ const o = N[this.crossIconName].replace(
3946
4004
  "<svg",
3947
4005
  '<svg aria-hidden="true" focusable="false" part="svg"'
3948
4006
  ).replace(/stroke=[#"'a-z1-9]*/gi, "");
@@ -3980,7 +4038,7 @@ let I = class extends ci {
3980
4038
  `;
3981
4039
  }
3982
4040
  };
3983
- I.styles = f`
4041
+ L.styles = f`
3984
4042
  :host {
3985
4043
  cursor: pointer;
3986
4044
  display: inline-flex;
@@ -4106,42 +4164,42 @@ I.styles = f`
4106
4164
  }
4107
4165
  }
4108
4166
  `;
4109
- R([
4167
+ T([
4110
4168
  a({ reflect: !0 })
4111
- ], I.prototype, "name", 2);
4112
- R([
4169
+ ], L.prototype, "name", 2);
4170
+ T([
4113
4171
  a({ reflect: !0 })
4114
- ], I.prototype, "value", 2);
4115
- R([
4172
+ ], L.prototype, "value", 2);
4173
+ T([
4116
4174
  a({ type: String, reflect: !0 })
4117
- ], I.prototype, "type", 2);
4118
- R([
4175
+ ], L.prototype, "type", 2);
4176
+ T([
4119
4177
  a({ type: String, reflect: !0 })
4120
- ], I.prototype, "href", 2);
4121
- R([
4178
+ ], L.prototype, "href", 2);
4179
+ T([
4122
4180
  a({ type: String, reflect: !0, attribute: "data-href" })
4123
- ], I.prototype, "dataHref", 2);
4124
- R([
4181
+ ], L.prototype, "dataHref", 2);
4182
+ T([
4125
4183
  a({ type: String })
4126
- ], I.prototype, "text", 2);
4127
- R([
4184
+ ], L.prototype, "text", 2);
4185
+ T([
4128
4186
  a({ type: Boolean, reflect: !0 })
4129
- ], I.prototype, "selected", 2);
4130
- R([
4187
+ ], L.prototype, "selected", 2);
4188
+ T([
4131
4189
  a({ type: Boolean, reflect: !0 })
4132
- ], I.prototype, "disabled", 2);
4133
- R([
4190
+ ], L.prototype, "disabled", 2);
4191
+ T([
4134
4192
  a({ type: Boolean, reflect: !0 })
4135
- ], I.prototype, "fullwidth", 2);
4136
- I = R([
4137
- m("o-filter-chip")
4138
- ], I);
4139
- var hi = Object.defineProperty, q = (o, t, e, r) => {
4140
- for (var i = void 0, n = o.length - 1, s; n >= 0; n--)
4141
- (s = o[n]) && (i = s(t, e, i) || i);
4193
+ ], L.prototype, "fullwidth", 2);
4194
+ L = T([
4195
+ y("o-filter-chip")
4196
+ ], L);
4197
+ var hi = Object.defineProperty, q = (o, t, e, n) => {
4198
+ for (var i = void 0, r = o.length - 1, s; r >= 0; r--)
4199
+ (s = o[r]) && (i = s(t, e, i) || i);
4142
4200
  return i && hi(t, e, i), i;
4143
4201
  };
4144
- const Jt = class Jt extends v {
4202
+ const Jt = class Jt extends u {
4145
4203
  constructor() {
4146
4204
  super(...arguments), this.type = "cart | chevron", this.titleProduct = "", this.volume = "", this.perLiter = "", this.mainPrice = "", this.imageUrl = "https://placehold.co/56x70", this.altImage = "", this.fullwidth = !1;
4147
4205
  }
@@ -4158,6 +4216,8 @@ const Jt = class Jt extends v {
4158
4216
  type="span"
4159
4217
  status="filled"
4160
4218
  strokewidth="0"
4219
+ aria-hidden="true"
4220
+ tabindex="-1"
4161
4221
  ></o-icon-button>
4162
4222
  ` : l`
4163
4223
  <o-icon-button
@@ -4172,18 +4232,19 @@ const Jt = class Jt extends v {
4172
4232
  }
4173
4233
  render() {
4174
4234
  return l`
4175
- <div class="tile ${this.fullwidth ? "fullwidth" : ""} ${this.type === "chevron" ? "fullpointer" : ""}" @click=${this.onClick}>
4176
- ${this.imageUrl ? l`<img src="${this.imageUrl}" alt="${this.altImage || ""}" />` : ""}
4177
- <div class="info">
4178
- ${this.titleProduct ? l`<div class="title">${this.titleProduct}</div>` : ""}
4179
- <div class="details">
4180
- ${this.volume ? l`<span class="volume-info">${this.volume}</span>` : ""}
4181
- ${this.type === "cart" && this.mainPrice ? l`<span class="main-price">${this.mainPrice}</span>` : ""}
4182
- ${this.type === "cart" && this.perLiter ? l`<span class="per-liter">${this.perLiter}</span>` : ""}
4235
+ <button type="button"
4236
+ class="tile ${this.fullwidth ? "fullwidth" : ""} ${this.type === "chevron" ? "fullpointer" : ""}" @click=${this.onClick}>
4237
+ ${this.imageUrl ? l`<img src="${this.imageUrl}" alt="${this.altImage || ""}" />` : ""}
4238
+ <div class="info">
4239
+ ${this.titleProduct ? l`<div class="title">${this.titleProduct}</div>` : ""}
4240
+ <div class="details">
4241
+ ${this.volume ? l`<span class="volume-info">${this.volume}</span>` : ""}
4242
+ ${this.type === "cart" && this.mainPrice ? l`<span class="main-price">${this.mainPrice}</span>` : ""}
4243
+ ${this.type === "cart" && this.perLiter ? l`<span class="per-liter">${this.perLiter}</span>` : ""}
4244
+ </div>
4183
4245
  </div>
4184
- </div>
4185
- ${this.icons}
4186
- </div>
4246
+ ${this.icons}
4247
+ </button>
4187
4248
  `;
4188
4249
  }
4189
4250
  };
@@ -4205,6 +4266,9 @@ Jt.styles = f`
4205
4266
  width: 356px;
4206
4267
  max-width: 356px;
4207
4268
  padding: var(--spacing-2-xs) var(--spacing-s) var(--spacing-2-xs) var(--spacing-2-xs);
4269
+ margin: 0;
4270
+ border: 0 none;
4271
+ box-sizing: content-box;
4208
4272
  }
4209
4273
 
4210
4274
  .tile.fullwidth {
@@ -4231,6 +4295,7 @@ Jt.styles = f`
4231
4295
  color: var(--colors-noir-des-terres-500);
4232
4296
  line-height: var(--line-height-160);
4233
4297
  letter-spacing: var(--letter-spacing-100);
4298
+ text-align: left;
4234
4299
 
4235
4300
  +.details {
4236
4301
  padding-top: var(--spacing-s);}
@@ -4275,41 +4340,41 @@ Jt.styles = f`
4275
4340
  cursor: pointer;
4276
4341
  }
4277
4342
  `;
4278
- let P = Jt;
4343
+ let I = Jt;
4279
4344
  q([
4280
4345
  a({ type: String })
4281
- ], P.prototype, "type");
4346
+ ], I.prototype, "type");
4282
4347
  q([
4283
4348
  a({ type: String })
4284
- ], P.prototype, "titleProduct");
4349
+ ], I.prototype, "titleProduct");
4285
4350
  q([
4286
4351
  a({ type: String })
4287
- ], P.prototype, "volume");
4352
+ ], I.prototype, "volume");
4288
4353
  q([
4289
4354
  a({ type: String })
4290
- ], P.prototype, "perLiter");
4355
+ ], I.prototype, "perLiter");
4291
4356
  q([
4292
4357
  a({ type: String })
4293
- ], P.prototype, "mainPrice");
4358
+ ], I.prototype, "mainPrice");
4294
4359
  q([
4295
4360
  a({ type: String })
4296
- ], P.prototype, "imageUrl");
4361
+ ], I.prototype, "imageUrl");
4297
4362
  q([
4298
4363
  a({ type: String })
4299
- ], P.prototype, "altImage");
4364
+ ], I.prototype, "altImage");
4300
4365
  q([
4301
4366
  a({ type: Boolean })
4302
- ], P.prototype, "fullwidth");
4367
+ ], I.prototype, "fullwidth");
4303
4368
  q([
4304
4369
  a({ type: Function })
4305
- ], P.prototype, "onClickTile");
4306
- customElements.define("mini-tile", P);
4307
- var di = Object.defineProperty, pi = Object.getOwnPropertyDescriptor, Xt = (o, t, e, r) => {
4308
- for (var i = r > 1 ? void 0 : r ? pi(t, e) : t, n = o.length - 1, s; n >= 0; n--)
4309
- (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
4310
- return r && i && di(t, e, i), i;
4370
+ ], I.prototype, "onClickTile");
4371
+ customElements.define("mini-tile", I);
4372
+ var di = Object.defineProperty, pi = Object.getOwnPropertyDescriptor, Xt = (o, t, e, n) => {
4373
+ for (var i = n > 1 ? void 0 : n ? pi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
4374
+ (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
4375
+ return n && i && di(t, e, i), i;
4311
4376
  };
4312
- let yt = class extends v {
4377
+ let yt = class extends u {
4313
4378
  constructor() {
4314
4379
  super(...arguments), this.variant = "cart", this.text = "";
4315
4380
  }
@@ -4363,14 +4428,14 @@ Xt([
4363
4428
  a({ type: String })
4364
4429
  ], yt.prototype, "text", 2);
4365
4430
  yt = Xt([
4366
- m("o-badge")
4431
+ y("o-badge")
4367
4432
  ], yt);
4368
- var ui = Object.defineProperty, vi = Object.getOwnPropertyDescriptor, z = (o, t, e, r) => {
4369
- for (var i = r > 1 ? void 0 : r ? vi(t, e) : t, n = o.length - 1, s; n >= 0; n--)
4370
- (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
4371
- return r && i && ui(t, e, i), i;
4433
+ var ui = Object.defineProperty, vi = Object.getOwnPropertyDescriptor, O = (o, t, e, n) => {
4434
+ for (var i = n > 1 ? void 0 : n ? vi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
4435
+ (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
4436
+ return n && i && ui(t, e, i), i;
4372
4437
  };
4373
- let $ = class extends v {
4438
+ let $ = class extends u {
4374
4439
  constructor() {
4375
4440
  super(...arguments), this.icon = "info", this.text = "Sample text", this.verticalanchor = "top", this.horizontalanchor = "right", this.verticaloffset = 24, this.horizontaloffset = 24, this.animationduration = 500, this.animationaxis = "horizontal", this.animated = !0, this.lifeduration = 5e3, this.multiline = !1;
4376
4441
  }
@@ -4402,12 +4467,12 @@ let $ = class extends v {
4402
4467
  }, 600);
4403
4468
  }
4404
4469
  firstUpdated() {
4405
- var r, i;
4470
+ var n, i;
4406
4471
  var o = this;
4407
- const t = (r = this.renderRoot) == null ? void 0 : r.querySelector("o-icon-button"), e = (i = this.renderRoot) == null ? void 0 : i.querySelector(".o-toast-text");
4472
+ const t = (n = this.renderRoot) == null ? void 0 : n.querySelector("o-icon-button"), e = (i = this.renderRoot) == null ? void 0 : i.querySelector(".o-toast-text");
4408
4473
  if (e != null) {
4409
- const n = window.getComputedStyle(e), s = parseInt(n.getPropertyValue("line-height").replace("px", "")), c = parseInt(n.getPropertyValue("height").replace("px", ""));
4410
- !isNaN(s) && !isNaN(c) && c > s && (this.multiline = !0);
4474
+ const r = window.getComputedStyle(e), s = parseInt(r.getPropertyValue("line-height").replace("px", "")), h = parseInt(r.getPropertyValue("height").replace("px", ""));
4475
+ !isNaN(s) && !isNaN(h) && h > s && (this.multiline = !0);
4411
4476
  }
4412
4477
  t != null && t.addEventListener("click", function() {
4413
4478
  o.remove();
@@ -4512,48 +4577,48 @@ $.styles = f`
4512
4577
  height: 16px;
4513
4578
  }
4514
4579
  `;
4515
- z([
4580
+ O([
4516
4581
  a({ type: String, reflect: !0 })
4517
4582
  ], $.prototype, "icon", 2);
4518
- z([
4583
+ O([
4519
4584
  a({ type: String, reflect: !0 })
4520
4585
  ], $.prototype, "text", 2);
4521
- z([
4586
+ O([
4522
4587
  a({ type: String, reflect: !0 })
4523
4588
  ], $.prototype, "verticalanchor", 2);
4524
- z([
4589
+ O([
4525
4590
  a({ type: String, reflect: !0 })
4526
4591
  ], $.prototype, "horizontalanchor", 2);
4527
- z([
4592
+ O([
4528
4593
  a({ type: Number, reflect: !0 })
4529
4594
  ], $.prototype, "verticaloffset", 2);
4530
- z([
4595
+ O([
4531
4596
  a({ type: Number, reflect: !0 })
4532
4597
  ], $.prototype, "horizontaloffset", 2);
4533
- z([
4598
+ O([
4534
4599
  a({ type: Number, reflect: !0 })
4535
4600
  ], $.prototype, "animationduration", 2);
4536
- z([
4601
+ O([
4537
4602
  a({ type: String, reflect: !0 })
4538
4603
  ], $.prototype, "animationaxis", 2);
4539
- z([
4604
+ O([
4540
4605
  a({ type: Boolean, reflect: !0 })
4541
4606
  ], $.prototype, "animated", 2);
4542
- z([
4607
+ O([
4543
4608
  a({ type: Number, reflect: !0 })
4544
4609
  ], $.prototype, "lifeduration", 2);
4545
- z([
4610
+ O([
4546
4611
  a({ type: Boolean, reflect: !0 })
4547
4612
  ], $.prototype, "multiline", 2);
4548
- $ = z([
4549
- m("o-toast")
4613
+ $ = O([
4614
+ y("o-toast")
4550
4615
  ], $);
4551
- var fi = Object.defineProperty, bi = Object.getOwnPropertyDescriptor, H = (o, t, e, r) => {
4552
- for (var i = r > 1 ? void 0 : r ? bi(t, e) : t, n = o.length - 1, s; n >= 0; n--)
4553
- (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
4554
- return r && i && fi(t, e, i), i;
4616
+ var fi = Object.defineProperty, bi = Object.getOwnPropertyDescriptor, B = (o, t, e, n) => {
4617
+ for (var i = n > 1 ? void 0 : n ? bi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
4618
+ (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
4619
+ return n && i && fi(t, e, i), i;
4555
4620
  };
4556
- let gi = 0, _ = class extends v {
4621
+ let gi = 0, _ = class extends u {
4557
4622
  constructor() {
4558
4623
  super(), this.checked = !1, this.indeterminate = !1, this.disabled = !1, this.size = "S", this.showLabel = !0, this.label = "Checkbox", this.name = "", this.value = "on", this.inputId = "", this.inputId || (this.inputId = `o-checkbox-${++gi}`);
4559
4624
  }
@@ -4570,7 +4635,7 @@ let gi = 0, _ = class extends v {
4570
4635
  this.disabled || (o.key === " " || o.key === "Enter") && (o.preventDefault(), this.toggle());
4571
4636
  }
4572
4637
  render() {
4573
- const o = C(F.checkbox.replace("<svg", '<svg aria-hidden="true" focusable="false" part="svg"')), t = C(F.icoMinus.replace("<svg", '<svg class="indeterminate" aria-hidden="true" focusable="false" part="svg"'));
4638
+ const o = C(N.checkbox.replace("<svg", '<svg aria-hidden="true" focusable="false" part="svg"')), t = C(N.icoMinus.replace("<svg", '<svg class="indeterminate" aria-hidden="true" focusable="false" part="svg"'));
4574
4639
  return l`
4575
4640
  <input
4576
4641
  type="checkbox"
@@ -4580,8 +4645,8 @@ let gi = 0, _ = class extends v {
4580
4645
  name=${this.name}
4581
4646
  value=${this.value}
4582
4647
  @change=${(e) => {
4583
- const r = e.target;
4584
- this.checked = r.checked, this.indeterminate = r.indeterminate, this.dispatchEvent(new Event("change", { bubbles: !0, composed: !0 }));
4648
+ const n = e.target;
4649
+ this.checked = n.checked, this.indeterminate = n.indeterminate, this.dispatchEvent(new Event("change", { bubbles: !0, composed: !0 }));
4585
4650
  }}
4586
4651
  />
4587
4652
 
@@ -4690,45 +4755,45 @@ _.styles = f`
4690
4755
  stroke: var(--color-border-white);
4691
4756
  }
4692
4757
  `;
4693
- H([
4758
+ B([
4694
4759
  a({ type: Boolean, reflect: !0 })
4695
4760
  ], _.prototype, "checked", 2);
4696
- H([
4761
+ B([
4697
4762
  a({ type: Boolean, reflect: !0 })
4698
4763
  ], _.prototype, "indeterminate", 2);
4699
- H([
4764
+ B([
4700
4765
  a({ type: Boolean, reflect: !0 })
4701
4766
  ], _.prototype, "disabled", 2);
4702
- H([
4767
+ B([
4703
4768
  a({ type: String, reflect: !0 })
4704
4769
  ], _.prototype, "size", 2);
4705
- H([
4770
+ B([
4706
4771
  a({ type: Boolean })
4707
4772
  ], _.prototype, "showLabel", 2);
4708
- H([
4773
+ B([
4709
4774
  a({ type: String })
4710
4775
  ], _.prototype, "label", 2);
4711
- H([
4776
+ B([
4712
4777
  a({ type: String })
4713
4778
  ], _.prototype, "name", 2);
4714
- H([
4779
+ B([
4715
4780
  a({ type: String })
4716
4781
  ], _.prototype, "value", 2);
4717
- H([
4782
+ B([
4718
4783
  a({ type: String, reflect: !0 })
4719
4784
  ], _.prototype, "inputId", 2);
4720
- H([
4785
+ B([
4721
4786
  fe("input")
4722
4787
  ], _.prototype, "inputEl", 2);
4723
- _ = H([
4724
- m("o-checkbox")
4788
+ _ = B([
4789
+ y("o-checkbox")
4725
4790
  ], _);
4726
- var yi = Object.defineProperty, mi = Object.getOwnPropertyDescriptor, N = (o, t, e, r) => {
4727
- for (var i = r > 1 ? void 0 : r ? mi(t, e) : t, n = o.length - 1, s; n >= 0; n--)
4728
- (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
4729
- return r && i && yi(t, e, i), i;
4791
+ var yi = Object.defineProperty, mi = Object.getOwnPropertyDescriptor, j = (o, t, e, n) => {
4792
+ for (var i = n > 1 ? void 0 : n ? mi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
4793
+ (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
4794
+ return n && i && yi(t, e, i), i;
4730
4795
  };
4731
- let xi = 0, O = class extends v {
4796
+ let xi = 0, P = class extends u {
4732
4797
  constructor() {
4733
4798
  super(), this.checked = !1, this.disabled = !1, this.size = "S", this.showLabel = !0, this.label = "Radio button", this.name = "", this.value = "on", this.inputId = "", this.inputId || (this.inputId = `o-radio-${++xi}`);
4734
4799
  }
@@ -4741,8 +4806,8 @@ let xi = 0, O = class extends v {
4741
4806
  updated(o) {
4742
4807
  if (o.has("checked") && this.checked) {
4743
4808
  const t = this.parentElement;
4744
- t && Array.from(t.querySelectorAll(`o-radio[name="${this.name}"]`)).forEach((r) => {
4745
- r !== this && (r.checked = !1);
4809
+ t && Array.from(t.querySelectorAll(`o-radio[name="${this.name}"]`)).forEach((n) => {
4810
+ n !== this && (n.checked = !1);
4746
4811
  });
4747
4812
  }
4748
4813
  this.syncInput();
@@ -4762,7 +4827,7 @@ let xi = 0, O = class extends v {
4762
4827
  `;
4763
4828
  }
4764
4829
  };
4765
- O.styles = f`
4830
+ P.styles = f`
4766
4831
  :host {
4767
4832
  display: inline-flex;
4768
4833
  align-items: center;
@@ -4845,33 +4910,33 @@ O.styles = f`
4845
4910
  height: 0;
4846
4911
  }
4847
4912
  `;
4848
- N([
4913
+ j([
4849
4914
  a({ type: Boolean, reflect: !0 })
4850
- ], O.prototype, "checked", 2);
4851
- N([
4915
+ ], P.prototype, "checked", 2);
4916
+ j([
4852
4917
  a({ type: Boolean, reflect: !0 })
4853
- ], O.prototype, "disabled", 2);
4854
- N([
4918
+ ], P.prototype, "disabled", 2);
4919
+ j([
4855
4920
  a({ type: String, reflect: !0 })
4856
- ], O.prototype, "size", 2);
4857
- N([
4921
+ ], P.prototype, "size", 2);
4922
+ j([
4858
4923
  a({ type: Boolean })
4859
- ], O.prototype, "showLabel", 2);
4860
- N([
4924
+ ], P.prototype, "showLabel", 2);
4925
+ j([
4861
4926
  a({ type: String })
4862
- ], O.prototype, "label", 2);
4863
- N([
4927
+ ], P.prototype, "label", 2);
4928
+ j([
4864
4929
  a({ type: String })
4865
- ], O.prototype, "name", 2);
4866
- N([
4930
+ ], P.prototype, "name", 2);
4931
+ j([
4867
4932
  a({ type: String })
4868
- ], O.prototype, "value", 2);
4869
- N([
4933
+ ], P.prototype, "value", 2);
4934
+ j([
4870
4935
  a({ type: String, reflect: !0 })
4871
- ], O.prototype, "inputId", 2);
4872
- N([
4936
+ ], P.prototype, "inputId", 2);
4937
+ j([
4873
4938
  fe("input")
4874
- ], O.prototype, "inputEl", 2);
4875
- O = N([
4876
- m("o-radio")
4877
- ], O);
4939
+ ], P.prototype, "inputEl", 2);
4940
+ P = j([
4941
+ y("o-radio")
4942
+ ], P);