@florid-kit/components 0.9.9 → 0.9.11

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
  /**
@@ -45,7 +45,7 @@ const ye = (o) => new he(typeof o == "string" ? o : o + "", void 0, Tt), f = (o,
45
45
  * Copyright 2017 Google LLC
46
46
  * SPDX-License-Identifier: BSD-3-Clause
47
47
  */
48
- const { is: xe, defineProperty: we, getOwnPropertyDescriptor: $e, getOwnPropertyNames: Ce, getOwnPropertySymbols: _e, getPrototypeOf: ke } = Object, W = globalThis, te = W.trustedTypes, Se = te ? te.emptyScript : "", Lt = W.reactiveElementPolyfillSupport, lt = (o, t) => o, Ct = { toAttribute(o, t) {
48
+ const { is: xe, defineProperty: we, getOwnPropertyDescriptor: $e, getOwnPropertyNames: Ce, getOwnPropertySymbols: _e, getPrototypeOf: ke } = Object, W = globalThis, te = W.trustedTypes, Se = te ? te.emptyScript : "", Lt = W.reactiveElementPolyfillSupport, ct = (o, t) => o, Ct = { toAttribute(o, t) {
49
49
  switch (t) {
50
50
  case Boolean:
51
51
  o = o ? Se : null;
@@ -84,43 +84,43 @@ 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
98
  const h = i == null ? void 0 : i.call(this);
99
- n == null || n.call(this, s), this.requestUpdate(t, h, r);
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) {
103
103
  return this.elementProperties.get(t) ?? ee;
104
104
  }
105
105
  static _$Ei() {
106
- if (this.hasOwnProperty(lt("elementProperties"))) return;
106
+ if (this.hasOwnProperty(ct("elementProperties"))) return;
107
107
  const t = ke(this);
108
108
  t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
109
109
  }
110
110
  static finalize() {
111
- if (this.hasOwnProperty(lt("finalized"))) return;
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]);
111
+ if (this.hasOwnProperty(ct("finalized"))) return;
112
+ if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(ct("properties"))) {
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 h = r.getPropertyOptions(i), c = typeof h.converter == "function" ? { fromAttribute: h.converter } : ((n = h.converter) == null ? void 0 : n.fromAttribute) !== void 0 ? h.converter : Ct;
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
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: h } = s, c = this[n];
235
- h !== !0 || this._$AL.has(n) || c === void 0 || this.C(n, void 0, s, c);
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() {
@@ -276,74 +276,74 @@ let it = class extends HTMLElement {
276
276
  firstUpdated(t) {
277
277
  }
278
278
  };
279
- it.elementStyles = [], it.shadowRootOptions = { mode: "open" }, it[lt("elementProperties")] = /* @__PURE__ */ new Map(), it[lt("finalized")] = /* @__PURE__ */ new Map(), Lt == null || Lt({ ReactiveElement: it }), (W.reactiveElementVersions ?? (W.reactiveElementVersions = [])).push("2.1.0");
279
+ it.elementStyles = [], it.shadowRootOptions = { mode: "open" }, it[ct("elementProperties")] = /* @__PURE__ */ new Map(), it[ct("finalized")] = /* @__PURE__ */ new Map(), Lt == null || Lt({ ReactiveElement: it }), (W.reactiveElementVersions ?? (W.reactiveElementVersions = [])).push("2.1.0");
280
280
  /**
281
281
  * @license
282
282
  * Copyright 2017 Google LLC
283
283
  * SPDX-License-Identifier: BSD-3-Clause
284
284
  */
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);
285
+ const ht = globalThis, _t = ht.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, pt = () => tt.createComment(""), ut = (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]`, lt = /<(?:(!--|\/[^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;
293
+ const e = o.length - 1, n = [];
294
+ let i, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", s = lt;
295
295
  for (let h = 0; h < e; h++) {
296
296
  const c = o[h];
297
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 = re : 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 : ne) : s === se || s === ne ? s = J : s === ie || s === re ? s = at : (s = J, i = void 0);
299
- const q = s === J && o[h + 1].startsWith("/>") ? " " : "";
300
- n += s === at ? c + Ee : v >= 0 ? (r.push(m), c.slice(0, v) + de + c.slice(v) + K + q) : c + K + (v === -2 ? h : q);
298
+ for (; R < c.length && (s.lastIndex = R, w = s.exec(c), w !== null); ) R = s.lastIndex, s === lt ? 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 ?? lt, 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 = lt : (s = J, i = void 0);
299
+ const Z = s === J && o[h + 1].startsWith("/>") ? " " : "";
300
+ r += s === lt ? c + Ee : v >= 0 ? (n.push(m), c.slice(0, v) + de + c.slice(v) + K + Z) : c + K + (v === -2 ? h : Z);
301
301
  }
302
- return [ve(o, n + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), r];
302
+ return [ve(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), n];
303
303
  };
304
- class ut {
305
- constructor({ strings: t, _$litType$: e }, r) {
304
+ class vt {
305
+ constructor({ strings: t, _$litType$: e }, n) {
306
306
  let i;
307
307
  this.parts = [];
308
- let n = 0, s = 0;
308
+ let r = 0, s = 0;
309
309
  const h = t.length - 1, c = this.parts, [m, w] = Ie(t, e);
310
- if (this.el = ut.createElement(m, r), Q.currentNode = this.el.content, e === 2 || e === 3) {
310
+ if (this.el = vt.createElement(m, n), Q.currentNode = this.el.content, e === 2 || e === 3) {
311
311
  const v = this.el.content.firstChild;
312
312
  v.replaceWith(...v.childNodes);
313
313
  }
314
314
  for (; (i = Q.nextNode()) !== null && c.length < h; ) {
315
315
  if (i.nodeType === 1) {
316
316
  if (i.hasAttributes()) for (const v of i.getAttributeNames()) if (v.endsWith(de)) {
317
- const R = w[s++], q = i.getAttribute(v).split(K), wt = /([.?@])?(.*)/.exec(R);
318
- c.push({ type: 1, index: n, name: wt[2], strings: q, ctor: wt[1] === "." ? Oe : wt[1] === "?" ? ze : wt[1] === "@" ? Be : St }), i.removeAttribute(v);
319
- } else v.startsWith(K) && (c.push({ type: 6, index: n }), i.removeAttribute(v));
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
321
  const v = i.textContent.split(K), R = v.length - 1;
322
322
  if (R > 0) {
323
323
  i.textContent = _t ? _t.emptyScript : "";
324
- for (let q = 0; q < R; q++) i.append(v[q], dt()), Q.nextNode(), c.push({ type: 2, index: ++n });
325
- i.append(v[R], dt());
324
+ for (let Z = 0; Z < R; Z++) i.append(v[Z], pt()), Q.nextNode(), c.push({ type: 2, index: ++r });
325
+ i.append(v[R], pt());
326
326
  }
327
327
  }
328
- } else if (i.nodeType === 8) if (i.data === pe) c.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
330
  let v = -1;
331
- for (; (v = i.data.indexOf(K, v + 1)) !== -1; ) c.push({ type: 7, index: n }), v += K.length - 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) {
341
+ function nt(o, t, e = o, n) {
342
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 && ((h = i == null ? void 0 : i._$AO) == null || h.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 = ut(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,30 +356,30 @@ 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, h = 0, c = r[0];
361
+ let r = Q.nextNode(), s = 0, h = 0, c = n[0];
362
362
  for (; c !== void 0; ) {
363
363
  if (s === c.index) {
364
364
  let m;
365
- c.type === 2 ? m = new mt(n, n.nextSibling, this, t) : c.type === 1 ? m = new c.ctor(n, c.name, c.strings, this, t) : c.type === 6 && (m = new De(n, this, t)), this._$AV.push(m), c = r[++h];
365
+ c.type === 2 ? m = new xt(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 !== (c == null ? void 0 : c.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
- class mt {
376
+ class xt {
377
377
  get _$AU() {
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), ut(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);
@@ -402,12 +402,12 @@ class mt {
402
402
  this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
403
403
  }
404
404
  _(t) {
405
- this._$AH !== d && pt(this._$AH) ? this._$AA.nextSibling.data = t : this.T(tt.createTextNode(t)), this._$AH = t;
405
+ this._$AH !== d && ut(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 = vt.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
412
  const s = new Pe(i, this), h = s.u(this.options);
413
413
  s.p(e), this.T(h), this._$AH = s;
@@ -415,18 +415,18 @@ class mt {
415
415
  }
416
416
  _$AC(t) {
417
417
  let e = ae.get(t.strings);
418
- return e === void 0 && ae.set(t.strings, e = new ut(t)), e;
418
+ return e === void 0 && ae.set(t.strings, e = new vt(t)), e;
419
419
  }
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 xt(this.O(pt()), this.O(pt()), 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 = !ut(t) || t !== this._$AH && t !== G, s && (this._$AH = t);
453
453
  else {
454
454
  const h = t;
455
455
  let c, m;
456
- for (t = n[0], c = 0; c < n.length - 1; c++) m = rt(this, h[r + 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 ?? "") + n[c + 1]), this._$AH[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 = !ut(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
- const Pt = ct.litHtmlPolyfillSupport;
506
- Pt == null || Pt(ut, mt), (ct.litHtmlVersions ?? (ct.litHtmlVersions = [])).push("3.3.0");
505
+ const Pt = ht.litHtmlPolyfillSupport;
506
+ Pt == null || Pt(vt, xt), (ht.litHtmlVersions ?? (ht.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 xt(t.insertBefore(pt(), r), r, void 0, e ?? {});
513
513
  }
514
514
  return i._$AI(o), i;
515
515
  };
@@ -565,9 +565,9 @@ const y = (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
572
  return { set(h) {
573
573
  const c = t.get.call(this);
@@ -576,19 +576,19 @@ const Me = { attribute: !0, type: String, converter: Ct, reflect: !1, hasChanged
576
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
581
  return function(h) {
582
582
  const c = this[s];
583
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,17 +611,17 @@ 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) => {
614
+ return (e, n, i) => {
615
+ const r = (s) => {
616
616
  var h;
617
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
  }
624
- const xt = f`
624
+ const at = f`
625
625
  outline: 1px dashed var(--color-border-primary);
626
626
  outline-offset: 2px;
627
627
  `;
@@ -636,7 +636,7 @@ f`
636
636
  * SPDX-License-Identifier: Apache-2.0
637
637
  */
638
638
  const Nt = Symbol("internals"), zt = Symbol("privateInternals");
639
- function Ut(o) {
639
+ function Ft(o) {
640
640
  var t;
641
641
  class e extends o {
642
642
  get [(t = Nt, t)]() {
@@ -653,11 +653,11 @@ function Ut(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;
656
+ e.addEventListener("click", async (n) => {
657
+ const { type: i, [Nt]: r } = e, { form: s } = r;
658
658
  if (!(!s || i === "button") && (await new Promise((h) => {
659
659
  setTimeout(h);
660
- }), !r.defaultPrevented)) {
660
+ }), !n.defaultPrevented)) {
661
661
  if (i === "reset") {
662
662
  s.reset();
663
663
  return;
@@ -672,7 +672,7 @@ function Re(o) {
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
  });
@@ -680,19 +680,19 @@ function Re(o) {
680
680
  const Ne = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
681
681
  <path d="M8 3.6275C7.06799 0.971489 3.25399 -0.0226278 1.67414 2.30983C0.0877404 4.65197 1.67414 6.99412 2.62598 8.33249C3.0147 8.87905 8 14 8 14C8 14 12.9853 8.87905 13.374 8.33249C14.3259 6.99412 15.9123 4.65197 14.3259 2.30983C12.746 -0.0226277 8.97167 0.971489 8 3.6275Z" stroke="#3F2B2E" stroke-linecap="round"/>
682
682
  </svg>
683
- `, Ue = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
683
+ `, Fe = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
684
684
  <path d="M16 8L4 0V16L16 8Z" fill="#3F2B2E"/>
685
685
  </svg>
686
- `, Fe = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
686
+ `, Ue = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
687
687
  <path d="M12.2266 8.16162C11.0953 9.26599 8.72489 11.8788 5.11546 16L4.63062 15.7172C5.78886 13.4007 7.17607 10.8283 8.79223 8C7.17607 5.17172 5.78886 2.59933 4.63062 0.282827L5.11546 0C8.72489 4.12121 11.0953 6.73401 12.2266 7.83838V8.16162Z" fill="#3F2B2E"/>
688
688
  </svg>
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">
@@ -774,13 +774,13 @@ const Ne = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
774
774
  <path d="M1 4.5415L3 6.5415L9 0.541504" stroke="#FBF9F6" stroke-linecap="round" stroke-linejoin="round"/>
775
775
  </svg>`, N = {
776
776
  wishlist: Ne,
777
- playerv: Ue,
778
- chevronRight: Fe,
777
+ playerv: Fe,
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,
@@ -810,15 +810,15 @@ const Ne = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
810
810
  * Copyright 2017 Google LLC
811
811
  * SPDX-License-Identifier: BSD-3-Clause
812
812
  */
813
- const Ft = { ATTRIBUTE: 1, CHILD: 2 }, Vt = (o) => (...t) => ({ _$litDirective$: o, values: t });
814
- let Zt = class {
813
+ const Ut = { ATTRIBUTE: 1, CHILD: 2 }, Vt = (o) => (...t) => ({ _$litDirective$: o, values: t });
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,9 +832,9 @@ 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
- if (super(t), this.it = d, t.type !== Ft.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
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
  }
839
839
  render(t) {
840
840
  if (t === d || t == null) return this._t = void 0, this.it = t;
@@ -856,12 +856,12 @@ 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, x = (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 = Ut(u);
864
+ const wo = Ft(u);
865
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;
@@ -1045,7 +1045,7 @@ b.styles = f`
1045
1045
  }
1046
1046
 
1047
1047
  .button:focus-visible {
1048
- ${xt};
1048
+ ${at};
1049
1049
  }
1050
1050
 
1051
1051
  span.text + span.text::before {
@@ -1181,12 +1181,12 @@ x([
1181
1181
  b = x([
1182
1182
  y("o-button")
1183
1183
  ], b);
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;
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 u {
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", {
@@ -1197,7 +1197,7 @@ let nt = class extends u {
1197
1197
  };
1198
1198
  }
1199
1199
  connectedCallback() {
1200
- super.connectedCallback(), this.setAttribute("tabindex", "0"), this.setAttribute("role", "button"), this.setAttribute("aria-pressed", String(this.status === "filled"));
1200
+ super.connectedCallback(), this.setAttribute("role", "button"), this.setAttribute("aria-pressed", String(this.status === "filled"));
1201
1201
  }
1202
1202
  firstUpdated() {
1203
1203
  this.addEventListener("click", this.toggleStatus), this.addEventListener("keydown", this.handleKeydown);
@@ -1227,7 +1227,7 @@ let nt = class extends u {
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;
@@ -1235,11 +1235,6 @@ nt.styles = f`
1235
1235
  outline: none;
1236
1236
  }
1237
1237
 
1238
- :host(:focus-visible) {
1239
- outline: 1px dashed var(--color-content-action-secondary);
1240
- outline-offset: 1px;
1241
- }
1242
-
1243
1238
  .wishlist-button {
1244
1239
  display: flex;
1245
1240
  justify-content: center;
@@ -1261,6 +1256,10 @@ nt.styles = f`
1261
1256
  background-color: var(--color-alpha-light-strongest);
1262
1257
  }
1263
1258
 
1259
+ .wishlist-button:focus-visible {
1260
+ ${at};
1261
+ }
1262
+
1264
1263
  .wishlist-button:hover svg path {
1265
1264
  fill: var(--color-content-action-secondary);
1266
1265
  }
@@ -1295,26 +1294,26 @@ nt.styles = f`
1295
1294
  `;
1296
1295
  Et([
1297
1296
  a({ type: String, reflect: !0 })
1298
- ], nt.prototype, "status", 2);
1297
+ ], rt.prototype, "status", 2);
1299
1298
  Et([
1300
1299
  a({ type: String, reflect: !0 })
1301
- ], nt.prototype, "ariaDescribedBy", 2);
1300
+ ], rt.prototype, "ariaDescribedBy", 2);
1302
1301
  Et([
1303
1302
  a({ type: String, reflect: !0 })
1304
- ], nt.prototype, "label", 2);
1305
- nt = Et([
1303
+ ], rt.prototype, "label", 2);
1304
+ rt = Et([
1306
1305
  y("o-wishlist-button")
1307
- ], nt);
1306
+ ], rt);
1308
1307
  /**
1309
1308
  * @license
1310
1309
  * Copyright 2018 Google LLC
1311
1310
  * SPDX-License-Identifier: BSD-3-Clause
1312
1311
  */
1313
1312
  const k = (o) => o ?? d;
1314
- var _o = Object.defineProperty, ko = Object.getOwnPropertyDescriptor, H = (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
+ var _o = Object.defineProperty, ko = Object.getOwnPropertyDescriptor, H = (o, t, e, n) => {
1314
+ for (var i = n > 1 ? void 0 : n ? ko(t, e) : t, r = o.length - 1, s; r >= 0; r--)
1315
+ (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
1316
+ return n && i && _o(t, e, i), i;
1318
1317
  };
1319
1318
  let S = class extends u {
1320
1319
  constructor() {
@@ -1324,7 +1323,7 @@ let S = class extends u {
1324
1323
  super.updated(o), this.style.setProperty("--icon-stroke-width", this.strokewidth);
1325
1324
  }
1326
1325
  render() {
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"'), r = this.showSrLabel ? l`<span class="sr-only">${this.srLabel}</span>` : null, i = this.showSrLabel ? null : "icon";
1326
+ 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
1327
  return l`
1329
1328
  ${this.type === "span" ? l`
1330
1329
  <span class="icon icon-button ${this.size} ${this.bgstyle} ${this.status} ${t}" ?disabled="${this.disabled}">
@@ -1338,7 +1337,7 @@ let S = class extends u {
1338
1337
  ?disabled="${this.disabled}"
1339
1338
  >
1340
1339
  ${C(e)}
1341
- ${r}
1340
+ ${n}
1342
1341
  </button>
1343
1342
  `}
1344
1343
  `;
@@ -1549,7 +1548,7 @@ S.styles = f`
1549
1548
  }
1550
1549
 
1551
1550
  .icon-button:focus-visible {
1552
- ${xt}
1551
+ ${at}
1553
1552
  }
1554
1553
 
1555
1554
  .sr-only {
@@ -1586,12 +1585,12 @@ H([
1586
1585
  S = H([
1587
1586
  y("o-icon-button")
1588
1587
  ], S);
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;
1588
+ var So = Object.defineProperty, Eo = Object.getOwnPropertyDescriptor, ot = (o, t, e, n) => {
1589
+ for (var i = n > 1 ? void 0 : n ? Eo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
1590
+ (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
1591
+ return n && i && So(t, e, i), i;
1593
1592
  };
1594
- let U = class extends u {
1593
+ let F = class extends u {
1595
1594
  constructor() {
1596
1595
  super(...arguments), this.href = "", this.target = "", this.template = "standard", this.inverse = !1, this.endIcon = !1, this.reverseEndIcon = !1;
1597
1596
  }
@@ -1629,7 +1628,7 @@ let U = class extends u {
1629
1628
  `;
1630
1629
  }
1631
1630
  };
1632
- U.styles = f`
1631
+ F.styles = f`
1633
1632
  :host([template="standard"]) a {
1634
1633
  color: var(--color-content-action-secondary);
1635
1634
  font-size: var(--font-size-200);
@@ -1719,29 +1718,29 @@ U.styles = f`
1719
1718
  `;
1720
1719
  ot([
1721
1720
  a({ type: String })
1722
- ], U.prototype, "href", 2);
1721
+ ], F.prototype, "href", 2);
1723
1722
  ot([
1724
1723
  a({ type: String })
1725
- ], U.prototype, "target", 2);
1724
+ ], F.prototype, "target", 2);
1726
1725
  ot([
1727
1726
  a({ type: String, reflect: !0 })
1728
- ], U.prototype, "template", 2);
1727
+ ], F.prototype, "template", 2);
1729
1728
  ot([
1730
1729
  a({ type: Boolean, reflect: !0 })
1731
- ], U.prototype, "inverse", 2);
1730
+ ], F.prototype, "inverse", 2);
1732
1731
  ot([
1733
1732
  a({ type: Boolean, reflect: !0 })
1734
- ], U.prototype, "endIcon", 2);
1733
+ ], F.prototype, "endIcon", 2);
1735
1734
  ot([
1736
1735
  a({ type: Boolean, reflect: !0 })
1737
- ], U.prototype, "reverseEndIcon", 2);
1738
- U = ot([
1736
+ ], F.prototype, "reverseEndIcon", 2);
1737
+ F = ot([
1739
1738
  y("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;
1739
+ ], F);
1740
+ var Ao = Object.defineProperty, Lo = Object.getOwnPropertyDescriptor, At = (o, t, e, n) => {
1741
+ for (var i = n > 1 ? void 0 : n ? Lo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
1742
+ (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
1743
+ return n && i && Ao(t, e, i), i;
1745
1744
  };
1746
1745
  let st = class extends u {
1747
1746
  constructor() {
@@ -1751,8 +1750,8 @@ let st = class extends u {
1751
1750
  const o = [];
1752
1751
  for (let t = 0; t < 5; t++) {
1753
1752
  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}`);
1753
+ let n;
1754
+ e >= 1 ? n = 100 : e <= 0 ? n = 0 : n = Math.round(e * 100 / 25) * 25, o.push(`star-${n}`);
1756
1755
  }
1757
1756
  return o;
1758
1757
  }
@@ -1827,11 +1826,11 @@ const Io = (o) => o.strings === void 0;
1827
1826
  * Copyright 2017 Google LLC
1828
1827
  * SPDX-License-Identifier: BSD-3-Clause
1829
1828
  */
1830
- const ht = (o, t) => {
1831
- var r;
1829
+ const dt = (o, t) => {
1830
+ var n;
1832
1831
  const e = o._$AN;
1833
1832
  if (e === void 0) return !1;
1834
- for (const i of e) (r = i._$AO) == null || r.call(i, t, !1), ht(i, t);
1833
+ for (const i of e) (n = i._$AO) == null || n.call(i, t, !1), dt(i, t);
1835
1834
  return !0;
1836
1835
  }, kt = (o) => {
1837
1836
  let t, e;
@@ -1851,24 +1850,24 @@ function Po(o) {
1851
1850
  this._$AN !== void 0 ? (kt(this), this._$AM = o, be(this)) : this._$AM = o;
1852
1851
  }
1853
1852
  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));
1857
- else ht(this, o);
1853
+ const n = this._$AH, i = this._$AN;
1854
+ if (i !== void 0 && i.size !== 0) if (t) if (Array.isArray(n)) for (let r = e; r < n.length; r++) dt(n[r], !1), kt(n[r]);
1855
+ else n != null && (dt(n, !1), kt(n));
1856
+ else dt(this, o);
1858
1857
  }
1859
1858
  const zo = (o) => {
1860
- o.type == Ft.CHILD && (o._$AP ?? (o._$AP = Oo), o._$AQ ?? (o._$AQ = Po));
1859
+ o.type == Ut.CHILD && (o._$AP ?? (o._$AP = Oo), o._$AQ ?? (o._$AQ = Po));
1861
1860
  };
1862
- class Bo extends Zt {
1861
+ class Bo extends qt {
1863
1862
  constructor() {
1864
1863
  super(...arguments), this._$AN = void 0;
1865
1864
  }
1866
- _$AT(t, e, r) {
1867
- super._$AT(t, e, r), be(this), this.isConnected = t._$AU;
1865
+ _$AT(t, e, n) {
1866
+ super._$AT(t, e, n), be(this), this.isConnected = t._$AU;
1868
1867
  }
1869
1868
  _$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));
1869
+ var n, i;
1870
+ t !== this.isConnected && (this.isConnected = t, t ? (n = this.reconnected) == null || n.call(this) : (i = this.disconnected) == null || i.call(this)), e && (dt(this, t), kt(this));
1872
1871
  }
1873
1872
  setValue(t) {
1874
1873
  if (Io(this._$Ct)) this._$Ct._$AI(t, this);
@@ -1890,23 +1889,23 @@ class Do extends Bo {
1890
1889
  return d;
1891
1890
  }
1892
1891
  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 };
1892
+ var n;
1893
+ 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
1894
  }
1896
1895
  apply(t) {
1897
1896
  if (!t)
1898
1897
  return;
1899
- const { prevData: e, element: r } = this;
1898
+ const { prevData: e, element: n } = this;
1900
1899
  for (const i in t) {
1901
- const n = t[i];
1902
- n !== e[i] && (r[i] = n);
1900
+ const r = t[i];
1901
+ r !== e[i] && (n[i] = r);
1903
1902
  }
1904
1903
  }
1905
1904
  groom(t) {
1906
- const { prevData: e, element: r } = this;
1905
+ const { prevData: e, element: n } = this;
1907
1906
  if (e)
1908
1907
  for (const i in e)
1909
- (!t || !(i in t) && r[i] === e[i]) && (r[i] = void 0);
1908
+ (!t || !(i in t) && n[i] === e[i]) && (n[i] = void 0);
1910
1909
  }
1911
1910
  }
1912
1911
  class Ho extends Do {
@@ -1916,23 +1915,23 @@ class Ho extends Do {
1916
1915
  apply(t) {
1917
1916
  if (t)
1918
1917
  for (const e in t) {
1919
- const r = t[e];
1920
- r !== this.eventData[e] && this.applyEvent(e, r);
1918
+ const n = t[e];
1919
+ n !== this.eventData[e] && this.applyEvent(e, n);
1921
1920
  }
1922
1921
  }
1923
1922
  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);
1923
+ const { prevData: n, element: i } = this;
1924
+ this.eventData[t] = e, n[t] && i.removeEventListener(t, this, e), i.addEventListener(t, this, e);
1926
1925
  }
1927
1926
  groom(t) {
1928
- const { prevData: e, element: r } = this;
1927
+ const { prevData: e, element: n } = this;
1929
1928
  if (e)
1930
1929
  for (const i in e)
1931
- (!t || !(i in t) && r[i] === e[i]) && this.groomEvent(i, e[i]);
1930
+ (!t || !(i in t) && n[i] === e[i]) && this.groomEvent(i, e[i]);
1932
1931
  }
1933
1932
  groomEvent(t, e) {
1934
- const { element: r } = this;
1935
- delete this.eventData[t], r.removeEventListener(t, this, e);
1933
+ const { element: n } = this;
1934
+ delete this.eventData[t], n.removeEventListener(t, this, e);
1936
1935
  }
1937
1936
  handleEvent(t) {
1938
1937
  const e = this.eventData[t.type];
@@ -1940,16 +1939,16 @@ class Ho extends Do {
1940
1939
  }
1941
1940
  disconnected() {
1942
1941
  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);
1942
+ for (const n in t) {
1943
+ const i = n.slice(1), r = t[n];
1944
+ e.removeEventListener(i, this, r);
1946
1945
  }
1947
1946
  }
1948
1947
  reconnected() {
1949
1948
  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);
1949
+ for (const n in t) {
1950
+ const i = n.slice(1), r = t[n];
1951
+ e.addEventListener(i, this, r);
1953
1952
  }
1954
1953
  }
1955
1954
  }
@@ -1957,62 +1956,70 @@ class Mo extends Ho {
1957
1956
  apply(t) {
1958
1957
  if (!t)
1959
1958
  return;
1960
- const { prevData: e, element: r } = this;
1959
+ const { prevData: e, element: n } = this;
1961
1960
  for (const i in t) {
1962
- const n = t[i];
1963
- if (n === e[i])
1961
+ const r = t[i];
1962
+ if (r === e[i])
1964
1963
  continue;
1965
1964
  const s = i.slice(1);
1966
1965
  switch (i[0]) {
1967
1966
  case "@":
1968
- this.eventData[s] = n, this.applyEvent(s, n);
1967
+ this.eventData[s] = r, this.applyEvent(s, r);
1969
1968
  break;
1970
1969
  case ".":
1971
- r[s] = n;
1970
+ n[s] = r;
1972
1971
  break;
1973
1972
  case "?":
1974
- n ? r.setAttribute(s, "") : r.removeAttribute(s);
1973
+ r ? n.setAttribute(s, "") : n.removeAttribute(s);
1975
1974
  break;
1976
1975
  default:
1977
- n != null ? r.setAttribute(i, String(n)) : r.removeAttribute(i);
1976
+ r != null ? n.setAttribute(i, String(r)) : n.removeAttribute(i);
1978
1977
  break;
1979
1978
  }
1980
1979
  }
1981
1980
  }
1982
1981
  groom(t) {
1983
- const { prevData: e, element: r } = this;
1982
+ const { prevData: e, element: n } = this;
1984
1983
  if (e)
1985
1984
  for (const i in e) {
1986
- const n = i.slice(1);
1987
- if (!t || !(i in t) && r[n] === e[i])
1985
+ const r = i.slice(1);
1986
+ if (!t || !(i in t) && n[r] === e[i])
1988
1987
  switch (i[0]) {
1989
1988
  case "@":
1990
- this.groomEvent(n, e[i]);
1989
+ this.groomEvent(r, e[i]);
1991
1990
  break;
1992
1991
  case ".":
1993
- r[n] = void 0;
1992
+ n[r] = void 0;
1994
1993
  break;
1995
1994
  case "?":
1996
- r.removeAttribute(n);
1995
+ n.removeAttribute(r);
1997
1996
  break;
1998
1997
  default:
1999
- r.removeAttribute(i);
1998
+ n.removeAttribute(i);
2000
1999
  break;
2001
2000
  }
2002
2001
  }
2003
2002
  }
2004
2003
  }
2005
2004
  const le = Vt(Mo);
2006
- var To = Object.defineProperty, jo = Object.getOwnPropertyDescriptor, g = (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;
2005
+ var To = Object.defineProperty, jo = Object.getOwnPropertyDescriptor, g = (o, t, e, n) => {
2006
+ for (var i = n > 1 ? void 0 : n ? jo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
2007
+ (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
2008
+ return n && i && To(t, e, i), i;
2010
2009
  };
2011
2010
  let p = class extends u {
2012
2011
  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) => {
2012
+ 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) => {
2013
+ var e, n;
2014
+ const t = ((e = o.detail) == null ? void 0 : e.origin) ?? document.activeElement;
2015
+ if (this._detailOriginEl = t, this._detailOriginClass = (t == null ? void 0 : t.className) ?? "", this.showDetail = !0, this.showHeaderStartIcon = !0, await this.updateComplete, this._detailOriginClass) {
2016
+ const i = (n = this.shadowRoot) == null ? void 0 : n.querySelector(".detail-view");
2017
+ i && i.setAttribute("fromelement", this._detailOriginClass);
2018
+ }
2019
+ setTimeout(async () => {
2020
+ await this.focusDetailReturnBtn();
2021
+ }, 800);
2022
+ }, this._detailOriginEl = null, this._detailOriginClass = "", this.handleKeyDown = (o) => {
2016
2023
  this.open && (o.key === "Escape" ? this.closePanel() : o.key === "Tab" && this.trapFocus(o));
2017
2024
  }, this.handleClosePanel = (o) => {
2018
2025
  if (o instanceof KeyboardEvent && o.key !== "Enter" && o.key !== " ")
@@ -2021,18 +2028,23 @@ let p = class extends u {
2021
2028
  const t = o.currentTarget, e = (t == null ? void 0 : t.getAttribute("data-role")) === "back";
2022
2029
  if (this.showDetail && e) {
2023
2030
  this.isHidingDetail = !0;
2024
- const r = this.renderRoot.querySelector(".content");
2025
- if (r) {
2031
+ const n = this.renderRoot.querySelector(".content"), i = async () => {
2032
+ this.showDetail = !1, this.isHidingDetail = !1, this.showHeaderStartIcon = !1, await this.updateComplete, this._restoreFocusToOrigin();
2033
+ };
2034
+ if (n) {
2026
2035
  this.showHeaderStartIcon = !1;
2027
- const i = () => {
2028
- this.showDetail = !1, this.isHidingDetail = !1, r.removeEventListener("animationend", i);
2036
+ const r = () => {
2037
+ this.showDetail = !1, this.isHidingDetail = !1, n.removeEventListener("animationend", r), i();
2029
2038
  };
2030
- r.addEventListener("animationend", i);
2039
+ n.addEventListener("animationend", r);
2031
2040
  } else
2032
2041
  this.showDetail = !1, this.isHidingDetail = !1, this.showHeaderStartIcon = !1;
2033
2042
  return;
2034
2043
  }
2035
2044
  this.closePanel();
2045
+ }, this._onDetailSlotChange = (o) => {
2046
+ const n = o.target.assignedElements({ flatten: !0 }).flatMap((i) => Array.from(i.querySelectorAll("img")))[0];
2047
+ n == null || n.setAttribute("tabindex", "0");
2036
2048
  };
2037
2049
  }
2038
2050
  connectedCallback() {
@@ -2043,6 +2055,28 @@ let p = class extends u {
2043
2055
  disconnectedCallback() {
2044
2056
  document.body.style.overflow = "", document.body.removeAttribute("data-side-panel"), this.removeEventListener("keydown", this.handleKeyDown), super.disconnectedCallback(), this.removeEventListener("open-detail", this._onOpenDetail);
2045
2057
  }
2058
+ async focusDetailReturnBtn() {
2059
+ var n, i, r, s;
2060
+ await this.updateComplete;
2061
+ const o = this.getDeepActiveElement(document);
2062
+ if (o && o !== document.body)
2063
+ try {
2064
+ o.blur();
2065
+ } catch {
2066
+ }
2067
+ await new Promise(requestAnimationFrame);
2068
+ const t = (n = this.shadowRoot) == null ? void 0 : n.querySelector(".detail-view .return-btn");
2069
+ if (!t) return;
2070
+ 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 });
2071
+ }
2072
+ _restoreFocusToOrigin() {
2073
+ var t, e;
2074
+ const o = this._detailOriginEl;
2075
+ !o || !document.contains(o) || ((e = (t = document.activeElement) == null ? void 0 : t.blur) == null || e.call(t), requestAnimationFrame(() => {
2076
+ var i;
2077
+ o.classList.add("a--tabfocus"), (((i = o.shadowRoot) == null ? void 0 : i.querySelector('button, .button, [tabindex]:not([tabindex="-1"])')) ?? null ?? o).focus({ preventScroll: !0 });
2078
+ }));
2079
+ }
2046
2080
  getDeepActiveElement(o = this.shadowRoot) {
2047
2081
  let t = o.activeElement;
2048
2082
  for (; t && t.shadowRoot && t.shadowRoot.activeElement; )
@@ -2054,10 +2088,10 @@ let p = class extends u {
2054
2088
  const t = this.getDeepActiveElement(), e = this.renderRoot.querySelector(".close-btn");
2055
2089
  if (!o.shiftKey && e && e.contains(t)) {
2056
2090
  o.preventDefault();
2057
- const r = this.renderRoot.querySelector(
2091
+ const n = this.renderRoot.querySelector(
2058
2092
  ".o-whats-inside--content p"
2059
2093
  );
2060
- r == null || r.focus();
2094
+ n == null || n.focus();
2061
2095
  }
2062
2096
  }
2063
2097
  getFocusableElements() {
@@ -2068,16 +2102,16 @@ let p = class extends u {
2068
2102
  }
2069
2103
  function e(i) {
2070
2104
  var s;
2071
- const n = [i.matches(p.focusablesSelector) ? i : []];
2105
+ const r = [i.matches(p.focusablesSelector) ? i : []];
2072
2106
  if (!["o-icon-button", "o-button"].includes(i.tagName.toLowerCase())) {
2073
2107
  const h = Array.from(
2074
2108
  i instanceof HTMLSlotElement ? i.assignedElements({ flatten: !0 }) : []
2075
2109
  ).filter(t).flatMap(e), c = Array.from(
2076
2110
  ((s = i.shadowRoot) == null ? void 0 : s.querySelectorAll("*")) || []
2077
2111
  ).filter(t).flatMap(e);
2078
- n.push(...h, ...c);
2112
+ r.push(...h, ...c);
2079
2113
  }
2080
- return n.flat();
2114
+ return r.flat();
2081
2115
  }
2082
2116
  return Array.from(o.querySelectorAll("*")).filter(t).flatMap(e);
2083
2117
  }
@@ -2085,21 +2119,21 @@ let p = class extends u {
2085
2119
  this.removeAttribute("hidden"), this.getBoundingClientRect(), this.previousFocusedElement = document.activeElement, this.open = !0, document.body.style.overflow = "hidden", document.body.setAttribute("data-side-panel", "open");
2086
2120
  const o = this.renderRoot.querySelector(".panel");
2087
2121
  o && o.setAttribute("aria-modal", "true"), this.updateComplete.then(() => {
2088
- var t, e, r, i;
2122
+ var t, e, n, i;
2089
2123
  if (this.showHeader) {
2090
- const n = ((t = this.shadowRoot) == null ? void 0 : t.querySelector(".panel .close-btn")) || null, s = ((e = n == null ? void 0 : n.shadowRoot) == null ? void 0 : e.querySelector("button")) || null;
2091
- s && ((r = s.focus) == null || r.call(s));
2124
+ 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;
2125
+ s && ((n = s.focus) == null || n.call(s));
2092
2126
  } else {
2093
- const n = this.getFocusableElements()[0];
2094
- (i = n == null ? void 0 : n.focus) == null || i.call(n);
2127
+ const r = this.getFocusableElements()[0];
2128
+ (i = r == null ? void 0 : r.focus) == null || i.call(r);
2095
2129
  }
2096
2130
  }), this.dispatchEvent(
2097
2131
  new CustomEvent("open", { bubbles: !0, composed: !0 })
2098
2132
  );
2099
2133
  }
2100
2134
  closePanel() {
2101
- var t, e, r, i, n;
2102
- 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 = (r = (e = this.previousFocusedElement.shadowRoot) == null ? void 0 : e.querySelector(".button")) == null ? void 0 : r.focus) == null || i.call(r) : (n = this.previousFocusedElement) == null || n.focus();
2135
+ var t, e, n, i, r;
2136
+ 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();
2103
2137
  const o = this.renderRoot.querySelector(".panel");
2104
2138
  o && o.removeAttribute("aria-modal"), this.dispatchEvent(
2105
2139
  new CustomEvent("close", { bubbles: !0, composed: !0 })
@@ -2138,7 +2172,7 @@ let p = class extends u {
2138
2172
  }
2139
2173
  render() {
2140
2174
  const o = this.showHeader ? l`
2141
- <div class="header">
2175
+ <div tabindex="-1" class="header">
2142
2176
  ${this.showHeaderStartIcon ? l`
2143
2177
  <o-icon-button
2144
2178
  icon="arrowLeft"
@@ -2149,6 +2183,8 @@ let p = class extends u {
2149
2183
  @click=${this.handleClosePanel}
2150
2184
  @keydown=${this.handleClosePanel}
2151
2185
  aria-label="${this.closeButtonLabel}"
2186
+ srlabel="${this.closeButtonLabel}"
2187
+ showsrlabel="true"
2152
2188
  ></o-icon-button>
2153
2189
  ` : null}
2154
2190
  <p role="heading" aria-level="1" id="panel-title" class="${this.headerTitleClassName}">
@@ -2187,7 +2223,7 @@ let p = class extends u {
2187
2223
  <div class="detail-view">
2188
2224
  ${o}
2189
2225
  <div class="detail-content">
2190
- <slot name="detail"></slot>
2226
+ <slot name="detail" @slotchange=${this._onDetailSlotChange}></slot>
2191
2227
  </div>
2192
2228
  </div>
2193
2229
  ` : l`<slot></slot>`}
@@ -2321,11 +2357,16 @@ p.styles = f`
2321
2357
  .return-btn {
2322
2358
  margin-right: 8px;
2323
2359
  }
2360
+
2361
+ .return-btn.a--tabfocus {
2362
+ border: 2px solid #000;
2363
+ box-sizing: border-box;
2364
+ }
2324
2365
  }
2325
2366
 
2326
2367
  .panel:focus-visible,
2327
2368
  .close-btn:focus-visible {
2328
- ${xt}
2369
+ ${at}
2329
2370
  }
2330
2371
 
2331
2372
  .content {
@@ -2475,10 +2516,10 @@ g([
2475
2516
  p = g([
2476
2517
  y("o-side-panel")
2477
2518
  ], p);
2478
- var Ro = Object.defineProperty, No = Object.getOwnPropertyDescriptor, X = (o, t, e, r) => {
2479
- for (var i = r > 1 ? void 0 : r ? No(t, e) : t, n = o.length - 1, s; n >= 0; n--)
2480
- (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
2481
- return r && i && Ro(t, e, i), i;
2519
+ var Ro = Object.defineProperty, No = Object.getOwnPropertyDescriptor, X = (o, t, e, n) => {
2520
+ for (var i = n > 1 ? void 0 : n ? No(t, e) : t, r = o.length - 1, s; r >= 0; r--)
2521
+ (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
2522
+ return n && i && Ro(t, e, i), i;
2482
2523
  };
2483
2524
  let D = class extends u {
2484
2525
  constructor() {
@@ -2533,8 +2574,8 @@ let D = class extends u {
2533
2574
  }), t.classList.add("a--tabfocus"), this.requestUpdate();
2534
2575
  }
2535
2576
  onFocusOut(o) {
2536
- const t = o.currentTarget, e = Number(t.dataset.index), r = o.relatedTarget;
2537
- (!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", {
2577
+ const t = o.currentTarget, e = Number(t.dataset.index), n = o.relatedTarget;
2578
+ (!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", {
2538
2579
  detail: { from: "last", direction: "unspecified" },
2539
2580
  bubbles: !0,
2540
2581
  composed: !0
@@ -2548,20 +2589,20 @@ let D = class extends u {
2548
2589
  return l`
2549
2590
  <ul class="scroll-container" style="max-width: ${this.maxWidth};">
2550
2591
  ${this.thumbnails.map((o, t) => {
2551
- const e = this.disabledIndexes.includes(t), r = this.activeIndex === t, i = o.type === "video", n = i ? `video ${t}` : `${this.altressource} ${t + 1}`;
2592
+ const e = this.disabledIndexes.includes(t), n = this.activeIndex === t, i = o.type === "video", r = i ? `video ${t}` : `${this.altressource} ${t + 1}`;
2552
2593
  return l`
2553
2594
  <li class="thumb-wrapper">
2554
2595
  <button
2555
2596
  class="thumb"
2556
2597
  data-index="${t}"
2557
2598
  ?disabled=${e}
2558
- aria-current=${r ? "true" : "false"}
2599
+ aria-current=${n ? "true" : "false"}
2559
2600
  @click=${() => this.selectThumbnail(t)}
2560
2601
  @keydown=${this.handleKeyDown}
2561
2602
  @focus=${(s) => this.onFocus(s)}
2562
2603
  @focusout=${(s) => this.onFocusOut(s)}
2563
2604
  >
2564
- <img alt="${n}" src="${o.src}" />
2605
+ <img alt="${r}" src="${o.src}" />
2565
2606
  </button>
2566
2607
  ${i ? l`<div class="play-icon-wrapper">${this.playerIconTemplate}</div>` : null}
2567
2608
  </li>
@@ -2701,12 +2742,12 @@ X([
2701
2742
  D = X([
2702
2743
  y("thumbnail-navigation")
2703
2744
  ], D);
2704
- var Uo = Object.defineProperty, Fo = Object.getOwnPropertyDescriptor, qt = (o, t, e, r) => {
2705
- for (var i = r > 1 ? void 0 : r ? Fo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
2706
- (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
2707
- return r && i && Uo(t, e, i), i;
2745
+ var Fo = Object.defineProperty, Uo = Object.getOwnPropertyDescriptor, Zt = (o, t, e, n) => {
2746
+ for (var i = n > 1 ? void 0 : n ? Uo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
2747
+ (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
2748
+ return n && i && Fo(t, e, i), i;
2708
2749
  };
2709
- let vt = class extends u {
2750
+ let ft = class extends u {
2710
2751
  constructor() {
2711
2752
  super(...arguments), this.type = "", this.bgstyle = "background-white";
2712
2753
  }
@@ -2716,7 +2757,7 @@ let vt = class extends u {
2716
2757
  `;
2717
2758
  }
2718
2759
  };
2719
- vt.styles = f`
2760
+ ft.styles = f`
2720
2761
  .tag {
2721
2762
  display: inline-block;
2722
2763
  padding: var(--spacing-2-xs) var(--spacing-s);
@@ -2774,21 +2815,21 @@ vt.styles = f`
2774
2815
  }
2775
2816
 
2776
2817
  `;
2777
- qt([
2818
+ Zt([
2778
2819
  a({ type: String, reflect: !0 })
2779
- ], vt.prototype, "type", 2);
2780
- qt([
2820
+ ], ft.prototype, "type", 2);
2821
+ Zt([
2781
2822
  a({ type: String, reflect: !0 })
2782
- ], vt.prototype, "bgstyle", 2);
2783
- vt = qt([
2823
+ ], ft.prototype, "bgstyle", 2);
2824
+ ft = Zt([
2784
2825
  y("o-tag")
2785
- ], vt);
2786
- var Vo = Object.defineProperty, Zo = Object.getOwnPropertyDescriptor, Kt = (o, t, e, r) => {
2787
- for (var i = r > 1 ? void 0 : r ? Zo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
2788
- (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
2789
- return r && i && Vo(t, e, i), i;
2826
+ ], ft);
2827
+ var Vo = Object.defineProperty, qo = Object.getOwnPropertyDescriptor, Kt = (o, t, e, n) => {
2828
+ for (var i = n > 1 ? void 0 : n ? qo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
2829
+ (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
2830
+ return n && i && Vo(t, e, i), i;
2790
2831
  };
2791
- let ft = class extends u {
2832
+ let bt = class extends u {
2792
2833
  constructor() {
2793
2834
  super(...arguments), this.type = "top", this.text = "";
2794
2835
  }
@@ -2801,7 +2842,7 @@ let ft = class extends u {
2801
2842
  `;
2802
2843
  }
2803
2844
  };
2804
- ft.styles = f`
2845
+ bt.styles = f`
2805
2846
  .tooltip {
2806
2847
  position: relative;
2807
2848
  display: inline-block;
@@ -2896,17 +2937,17 @@ ft.styles = f`
2896
2937
  `;
2897
2938
  Kt([
2898
2939
  a({ type: String, reflect: !0 })
2899
- ], ft.prototype, "type", 2);
2940
+ ], bt.prototype, "type", 2);
2900
2941
  Kt([
2901
2942
  a({ type: String, reflect: !0 })
2902
- ], ft.prototype, "text", 2);
2903
- ft = Kt([
2943
+ ], bt.prototype, "text", 2);
2944
+ bt = Kt([
2904
2945
  y("o-tooltip")
2905
- ], ft);
2906
- var qo = Object.defineProperty, Ko = Object.getOwnPropertyDescriptor, F = (o, t, e, r) => {
2907
- for (var i = r > 1 ? void 0 : r ? Ko(t, e) : t, n = o.length - 1, s; n >= 0; n--)
2908
- (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
2909
- return r && i && qo(t, e, i), i;
2946
+ ], bt);
2947
+ var Zo = Object.defineProperty, Ko = Object.getOwnPropertyDescriptor, U = (o, t, e, n) => {
2948
+ for (var i = n > 1 ? void 0 : n ? Ko(t, e) : t, r = o.length - 1, s; r >= 0; r--)
2949
+ (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
2950
+ return n && i && Zo(t, e, i), i;
2910
2951
  };
2911
2952
  let z = class extends u {
2912
2953
  constructor() {
@@ -3007,13 +3048,13 @@ let z = class extends u {
3007
3048
  style=${`width: ${this.width};`}
3008
3049
  >
3009
3050
  ${this.options.map(
3010
- (e, r) => l`
3051
+ (e, n) => l`
3011
3052
  <li
3012
- id="option-${r}"
3053
+ id="option-${n}"
3013
3054
  role="option"
3014
3055
  aria-selected="${e.value === this.value}"
3015
- tabindex="${r === this.activeIndex ? "0" : "-1"}"
3016
- class="${r === this.activeIndex ? "active" : ""} ${e.disabled ? "disabled" : ""}"
3056
+ tabindex="${n === this.activeIndex ? "0" : "-1"}"
3057
+ class="${n === this.activeIndex ? "active" : ""} ${e.disabled ? "disabled" : ""}"
3017
3058
  @click=${() => this.selectOption(e)}
3018
3059
  >
3019
3060
  ${e.url ? l`
@@ -3171,36 +3212,36 @@ z.styles = f`
3171
3212
  display: none;
3172
3213
  }
3173
3214
  `;
3174
- F([
3215
+ U([
3175
3216
  a({ type: Array, reflect: !0 })
3176
3217
  ], z.prototype, "options", 2);
3177
- F([
3218
+ U([
3178
3219
  a({ type: String, reflect: !0 })
3179
3220
  ], z.prototype, "value", 2);
3180
- F([
3221
+ U([
3181
3222
  a({ type: String, reflect: !0 })
3182
3223
  ], z.prototype, "name", 2);
3183
- F([
3224
+ U([
3184
3225
  a({ type: Boolean, reflect: !0 })
3185
3226
  ], z.prototype, "disabled", 2);
3186
- F([
3227
+ U([
3187
3228
  a({ type: String, reflect: !0 })
3188
3229
  ], z.prototype, "width", 2);
3189
- F([
3230
+ U([
3190
3231
  et()
3191
3232
  ], z.prototype, "open", 2);
3192
- F([
3233
+ U([
3193
3234
  et()
3194
3235
  ], z.prototype, "activeIndex", 2);
3195
- F([
3236
+ U([
3196
3237
  et()
3197
3238
  ], z.prototype, "menuWidth", 2);
3198
- z = F([
3239
+ z = U([
3199
3240
  y("o-dropdown")
3200
3241
  ], z);
3201
- var Wo = Object.getOwnPropertyDescriptor, Go = (o, t, e, r) => {
3202
- for (var i = r > 1 ? void 0 : r ? Wo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
3203
- (s = o[n]) && (i = s(i) || i);
3242
+ var Wo = Object.getOwnPropertyDescriptor, Go = (o, t, e, n) => {
3243
+ for (var i = n > 1 ? void 0 : n ? Wo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
3244
+ (s = o[r]) && (i = s(i) || i);
3204
3245
  return i;
3205
3246
  };
3206
3247
  let Ht = class extends u {
@@ -3263,10 +3304,10 @@ Ht.styles = f`
3263
3304
  Ht = Go([
3264
3305
  y("o-dots")
3265
3306
  ], Ht);
3266
- var Xo = Object.defineProperty, Jo = Object.getOwnPropertyDescriptor, M = (o, t, e, r) => {
3267
- for (var i = r > 1 ? void 0 : r ? Jo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
3268
- (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
3269
- return r && i && Xo(t, e, i), i;
3307
+ var Xo = Object.defineProperty, Jo = Object.getOwnPropertyDescriptor, M = (o, t, e, n) => {
3308
+ for (var i = n > 1 ? void 0 : n ? Jo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
3309
+ (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
3310
+ return n && i && Xo(t, e, i), i;
3270
3311
  };
3271
3312
  let E = class extends u {
3272
3313
  constructor() {
@@ -3377,14 +3418,14 @@ let E = class extends u {
3377
3418
  style=${`width: ${this.width};`}
3378
3419
  >
3379
3420
  ${this.options.map(
3380
- (e, r) => l`
3421
+ (e, n) => l`
3381
3422
  <li
3382
- id="option-${r}"
3423
+ id="option-${n}"
3383
3424
  role="option"
3384
3425
  aria-selected="${e.value === this.value}"
3385
3426
  aria-disabled="${e.disabled ? "true" : "false"}"
3386
- tabindex="${r === this.activeIndex ? "0" : "-1"}"
3387
- class="${r === this.activeIndex ? "active" : ""} ${e.disabled ? "disabled" : ""}"
3427
+ tabindex="${n === this.activeIndex ? "0" : "-1"}"
3428
+ class="${n === this.activeIndex ? "active" : ""} ${e.disabled ? "disabled" : ""}"
3388
3429
  @click=${() => this.selectOption(e)}
3389
3430
  >
3390
3431
  <a href="${k(e.url)}">
@@ -3616,38 +3657,38 @@ E = M([
3616
3657
  * Copyright 2018 Google LLC
3617
3658
  * SPDX-License-Identifier: BSD-3-Clause
3618
3659
  */
3619
- const ge = "important", Qo = " !" + ge, Yo = Vt(class extends Zt {
3660
+ const ge = "important", Qo = " !" + ge, Yo = Vt(class extends qt {
3620
3661
  constructor(o) {
3621
3662
  var t;
3622
- if (super(o), o.type !== Ft.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.");
3663
+ 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.");
3623
3664
  }
3624
3665
  render(o) {
3625
3666
  return Object.keys(o).reduce((t, e) => {
3626
- const r = o[e];
3627
- return r == null ? t : t + `${e = e.includes("-") ? e : e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g, "-$&").toLowerCase()}:${r};`;
3667
+ const n = o[e];
3668
+ return n == null ? t : t + `${e = e.includes("-") ? e : e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g, "-$&").toLowerCase()}:${n};`;
3628
3669
  }, "");
3629
3670
  }
3630
3671
  update(o, [t]) {
3631
3672
  const { style: e } = o.element;
3632
3673
  if (this.ft === void 0) return this.ft = new Set(Object.keys(t)), this.render(t);
3633
- for (const r of this.ft) t[r] == null && (this.ft.delete(r), r.includes("-") ? e.removeProperty(r) : e[r] = null);
3634
- for (const r in t) {
3635
- const i = t[r];
3674
+ for (const n of this.ft) t[n] == null && (this.ft.delete(n), n.includes("-") ? e.removeProperty(n) : e[n] = null);
3675
+ for (const n in t) {
3676
+ const i = t[n];
3636
3677
  if (i != null) {
3637
- this.ft.add(r);
3638
- const n = typeof i == "string" && i.endsWith(Qo);
3639
- r.includes("-") || n ? e.setProperty(r, n ? i.slice(0, -11) : i, n ? ge : "") : e[r] = i;
3678
+ this.ft.add(n);
3679
+ const r = typeof i == "string" && i.endsWith(Qo);
3680
+ n.includes("-") || r ? e.setProperty(n, r ? i.slice(0, -11) : i, r ? ge : "") : e[n] = i;
3640
3681
  }
3641
3682
  }
3642
3683
  return G;
3643
3684
  }
3644
3685
  });
3645
- var ti = Object.defineProperty, ei = Object.getOwnPropertyDescriptor, Wt = (o, t, e, r) => {
3646
- for (var i = r > 1 ? void 0 : r ? ei(t, e) : t, n = o.length - 1, s; n >= 0; n--)
3647
- (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
3648
- return r && i && ti(t, e, i), i;
3686
+ var ti = Object.defineProperty, ei = Object.getOwnPropertyDescriptor, Wt = (o, t, e, n) => {
3687
+ for (var i = n > 1 ? void 0 : n ? ei(t, e) : t, r = o.length - 1, s; r >= 0; r--)
3688
+ (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
3689
+ return n && i && ti(t, e, i), i;
3649
3690
  };
3650
- let bt = class extends u {
3691
+ let gt = class extends u {
3651
3692
  constructor() {
3652
3693
  super(...arguments), this.option = {}, this.imageSize = 64;
3653
3694
  }
@@ -3665,7 +3706,7 @@ let bt = class extends u {
3665
3706
  return o ? l`<a href="${k(this.option.url)}" class="reassurance-item clickable">${e}</a>` : l`<div class="reassurance-item">${e}</div>`;
3666
3707
  }
3667
3708
  };
3668
- bt.styles = f`
3709
+ gt.styles = f`
3669
3710
  :host {
3670
3711
  display: inline-block;
3671
3712
  position: relative;
@@ -3749,20 +3790,20 @@ bt.styles = f`
3749
3790
  `;
3750
3791
  Wt([
3751
3792
  a({ type: Object, reflect: !0 })
3752
- ], bt.prototype, "option", 2);
3793
+ ], gt.prototype, "option", 2);
3753
3794
  Wt([
3754
3795
  a({ type: Number, reflect: !0 })
3755
- ], bt.prototype, "imageSize", 2);
3756
- bt = Wt([
3796
+ ], gt.prototype, "imageSize", 2);
3797
+ gt = Wt([
3757
3798
  y("o-reassurance")
3758
- ], bt);
3759
- var oi = Object.defineProperty, ii = Object.getOwnPropertyDescriptor, V = (o, t, e, r) => {
3760
- for (var i = r > 1 ? void 0 : r ? ii(t, e) : t, n = o.length - 1, s; n >= 0; n--)
3761
- (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
3762
- return r && i && oi(t, e, i), i;
3799
+ ], gt);
3800
+ var oi = Object.defineProperty, ii = Object.getOwnPropertyDescriptor, V = (o, t, e, n) => {
3801
+ for (var i = n > 1 ? void 0 : n ? ii(t, e) : t, r = o.length - 1, s; r >= 0; r--)
3802
+ (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
3803
+ return n && i && oi(t, e, i), i;
3763
3804
  };
3764
- const ri = Ut(u);
3765
- let A = class extends ri {
3805
+ const ni = Ft(u);
3806
+ let A = class extends ni {
3766
3807
  constructor() {
3767
3808
  super(...arguments), this.link = "", this.name = "", this.value = "", this.text = "", this.size = "standard", this.selected = !1, this.fullwidth = !1, this.inactive = !1;
3768
3809
  }
@@ -3861,7 +3902,7 @@ A.styles = f`
3861
3902
  }
3862
3903
 
3863
3904
  &:focus-visible {
3864
- ${xt};
3905
+ ${at};
3865
3906
  }
3866
3907
  }
3867
3908
 
@@ -3902,12 +3943,12 @@ V([
3902
3943
  A = V([
3903
3944
  y("o-chip")
3904
3945
  ], A);
3905
- var ni = Object.defineProperty, si = Object.getOwnPropertyDescriptor, Gt = (o, t, e, r) => {
3906
- for (var i = r > 1 ? void 0 : r ? si(t, e) : t, n = o.length - 1, s; n >= 0; n--)
3907
- (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
3908
- return r && i && ni(t, e, i), i;
3946
+ var ri = Object.defineProperty, si = Object.getOwnPropertyDescriptor, Gt = (o, t, e, n) => {
3947
+ for (var i = n > 1 ? void 0 : n ? si(t, e) : t, r = o.length - 1, s; r >= 0; r--)
3948
+ (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
3949
+ return n && i && ri(t, e, i), i;
3909
3950
  };
3910
- let gt = class extends u {
3951
+ let yt = class extends u {
3911
3952
  constructor() {
3912
3953
  super(), this.name = "", this.value = "", this.addEventListener("selected", this.onChipSelected);
3913
3954
  }
@@ -3923,7 +3964,7 @@ let gt = class extends u {
3923
3964
  `;
3924
3965
  }
3925
3966
  };
3926
- gt.styles = f`
3967
+ yt.styles = f`
3927
3968
  :host {
3928
3969
  display: flex;
3929
3970
  flex-direction: row;
@@ -3933,19 +3974,19 @@ gt.styles = f`
3933
3974
  `;
3934
3975
  Gt([
3935
3976
  a({ reflect: !0 })
3936
- ], gt.prototype, "name", 2);
3977
+ ], yt.prototype, "name", 2);
3937
3978
  Gt([
3938
3979
  a({ reflect: !0 })
3939
- ], gt.prototype, "value", 2);
3940
- gt = Gt([
3980
+ ], yt.prototype, "value", 2);
3981
+ yt = Gt([
3941
3982
  y("o-chipset")
3942
- ], gt);
3943
- var ai = Object.defineProperty, li = Object.getOwnPropertyDescriptor, T = (o, t, e, r) => {
3944
- for (var i = r > 1 ? void 0 : r ? li(t, e) : t, n = o.length - 1, s; n >= 0; n--)
3945
- (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
3946
- return r && i && ai(t, e, i), i;
3983
+ ], yt);
3984
+ var ai = Object.defineProperty, li = Object.getOwnPropertyDescriptor, T = (o, t, e, n) => {
3985
+ for (var i = n > 1 ? void 0 : n ? li(t, e) : t, r = o.length - 1, s; r >= 0; r--)
3986
+ (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
3987
+ return n && i && ai(t, e, i), i;
3947
3988
  };
3948
- const ci = Ut(u);
3989
+ const ci = Ft(u);
3949
3990
  let L = class extends ci {
3950
3991
  constructor() {
3951
3992
  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";
@@ -4076,7 +4117,7 @@ L.styles = f`
4076
4117
  }
4077
4118
 
4078
4119
  .button:focus-visible {
4079
- ${xt};
4120
+ ${at};
4080
4121
  }
4081
4122
 
4082
4123
  span.text + span.text::before {
@@ -4152,9 +4193,9 @@ T([
4152
4193
  L = T([
4153
4194
  y("o-filter-chip")
4154
4195
  ], L);
4155
- var hi = Object.defineProperty, Z = (o, t, e, r) => {
4156
- for (var i = void 0, n = o.length - 1, s; n >= 0; n--)
4157
- (s = o[n]) && (i = s(t, e, i) || i);
4196
+ var hi = Object.defineProperty, q = (o, t, e, n) => {
4197
+ for (var i = void 0, r = o.length - 1, s; r >= 0; r--)
4198
+ (s = o[r]) && (i = s(t, e, i) || i);
4158
4199
  return i && hi(t, e, i), i;
4159
4200
  };
4160
4201
  const Jt = class Jt extends u {
@@ -4299,40 +4340,40 @@ Jt.styles = f`
4299
4340
  }
4300
4341
  `;
4301
4342
  let I = Jt;
4302
- Z([
4343
+ q([
4303
4344
  a({ type: String })
4304
4345
  ], I.prototype, "type");
4305
- Z([
4346
+ q([
4306
4347
  a({ type: String })
4307
4348
  ], I.prototype, "titleProduct");
4308
- Z([
4349
+ q([
4309
4350
  a({ type: String })
4310
4351
  ], I.prototype, "volume");
4311
- Z([
4352
+ q([
4312
4353
  a({ type: String })
4313
4354
  ], I.prototype, "perLiter");
4314
- Z([
4355
+ q([
4315
4356
  a({ type: String })
4316
4357
  ], I.prototype, "mainPrice");
4317
- Z([
4358
+ q([
4318
4359
  a({ type: String })
4319
4360
  ], I.prototype, "imageUrl");
4320
- Z([
4361
+ q([
4321
4362
  a({ type: String })
4322
4363
  ], I.prototype, "altImage");
4323
- Z([
4364
+ q([
4324
4365
  a({ type: Boolean })
4325
4366
  ], I.prototype, "fullwidth");
4326
- Z([
4367
+ q([
4327
4368
  a({ type: Function })
4328
4369
  ], I.prototype, "onClickTile");
4329
4370
  customElements.define("mini-tile", I);
4330
- var di = Object.defineProperty, pi = Object.getOwnPropertyDescriptor, Xt = (o, t, e, r) => {
4331
- for (var i = r > 1 ? void 0 : r ? pi(t, e) : t, n = o.length - 1, s; n >= 0; n--)
4332
- (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
4333
- return r && i && di(t, e, i), i;
4371
+ var di = Object.defineProperty, pi = Object.getOwnPropertyDescriptor, Xt = (o, t, e, n) => {
4372
+ for (var i = n > 1 ? void 0 : n ? pi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
4373
+ (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
4374
+ return n && i && di(t, e, i), i;
4334
4375
  };
4335
- let yt = class extends u {
4376
+ let mt = class extends u {
4336
4377
  constructor() {
4337
4378
  super(...arguments), this.variant = "cart", this.text = "";
4338
4379
  }
@@ -4344,7 +4385,7 @@ let yt = class extends u {
4344
4385
  `;
4345
4386
  }
4346
4387
  };
4347
- yt.styles = f`
4388
+ mt.styles = f`
4348
4389
  :host([variant]) {
4349
4390
  --badge-width: 19px;
4350
4391
  display: inline-block;
@@ -4381,17 +4422,17 @@ yt.styles = f`
4381
4422
  `;
4382
4423
  Xt([
4383
4424
  a({ type: String, reflect: !0 })
4384
- ], yt.prototype, "variant", 2);
4425
+ ], mt.prototype, "variant", 2);
4385
4426
  Xt([
4386
4427
  a({ type: String })
4387
- ], yt.prototype, "text", 2);
4388
- yt = Xt([
4428
+ ], mt.prototype, "text", 2);
4429
+ mt = Xt([
4389
4430
  y("o-badge")
4390
- ], yt);
4391
- var ui = Object.defineProperty, vi = Object.getOwnPropertyDescriptor, O = (o, t, e, r) => {
4392
- for (var i = r > 1 ? void 0 : r ? vi(t, e) : t, n = o.length - 1, s; n >= 0; n--)
4393
- (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
4394
- return r && i && ui(t, e, i), i;
4431
+ ], mt);
4432
+ var ui = Object.defineProperty, vi = Object.getOwnPropertyDescriptor, O = (o, t, e, n) => {
4433
+ for (var i = n > 1 ? void 0 : n ? vi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
4434
+ (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
4435
+ return n && i && ui(t, e, i), i;
4395
4436
  };
4396
4437
  let $ = class extends u {
4397
4438
  constructor() {
@@ -4425,11 +4466,11 @@ let $ = class extends u {
4425
4466
  }, 600);
4426
4467
  }
4427
4468
  firstUpdated() {
4428
- var r, i;
4469
+ var n, i;
4429
4470
  var o = this;
4430
- 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");
4471
+ 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");
4431
4472
  if (e != null) {
4432
- const n = window.getComputedStyle(e), s = parseInt(n.getPropertyValue("line-height").replace("px", "")), h = parseInt(n.getPropertyValue("height").replace("px", ""));
4473
+ const r = window.getComputedStyle(e), s = parseInt(r.getPropertyValue("line-height").replace("px", "")), h = parseInt(r.getPropertyValue("height").replace("px", ""));
4433
4474
  !isNaN(s) && !isNaN(h) && h > s && (this.multiline = !0);
4434
4475
  }
4435
4476
  t != null && t.addEventListener("click", function() {
@@ -4571,10 +4612,10 @@ O([
4571
4612
  $ = O([
4572
4613
  y("o-toast")
4573
4614
  ], $);
4574
- var fi = Object.defineProperty, bi = Object.getOwnPropertyDescriptor, B = (o, t, e, r) => {
4575
- for (var i = r > 1 ? void 0 : r ? bi(t, e) : t, n = o.length - 1, s; n >= 0; n--)
4576
- (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
4577
- return r && i && fi(t, e, i), i;
4615
+ var fi = Object.defineProperty, bi = Object.getOwnPropertyDescriptor, B = (o, t, e, n) => {
4616
+ for (var i = n > 1 ? void 0 : n ? bi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
4617
+ (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
4618
+ return n && i && fi(t, e, i), i;
4578
4619
  };
4579
4620
  let gi = 0, _ = class extends u {
4580
4621
  constructor() {
@@ -4603,8 +4644,8 @@ let gi = 0, _ = class extends u {
4603
4644
  name=${this.name}
4604
4645
  value=${this.value}
4605
4646
  @change=${(e) => {
4606
- const r = e.target;
4607
- this.checked = r.checked, this.indeterminate = r.indeterminate, this.dispatchEvent(new Event("change", { bubbles: !0, composed: !0 }));
4647
+ const n = e.target;
4648
+ this.checked = n.checked, this.indeterminate = n.indeterminate, this.dispatchEvent(new Event("change", { bubbles: !0, composed: !0 }));
4608
4649
  }}
4609
4650
  />
4610
4651
 
@@ -4746,10 +4787,10 @@ B([
4746
4787
  _ = B([
4747
4788
  y("o-checkbox")
4748
4789
  ], _);
4749
- var yi = Object.defineProperty, mi = Object.getOwnPropertyDescriptor, j = (o, t, e, r) => {
4750
- for (var i = r > 1 ? void 0 : r ? mi(t, e) : t, n = o.length - 1, s; n >= 0; n--)
4751
- (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
4752
- return r && i && yi(t, e, i), i;
4790
+ var yi = Object.defineProperty, mi = Object.getOwnPropertyDescriptor, j = (o, t, e, n) => {
4791
+ for (var i = n > 1 ? void 0 : n ? mi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
4792
+ (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
4793
+ return n && i && yi(t, e, i), i;
4753
4794
  };
4754
4795
  let xi = 0, P = class extends u {
4755
4796
  constructor() {
@@ -4764,8 +4805,8 @@ let xi = 0, P = class extends u {
4764
4805
  updated(o) {
4765
4806
  if (o.has("checked") && this.checked) {
4766
4807
  const t = this.parentElement;
4767
- t && Array.from(t.querySelectorAll(`o-radio[name="${this.name}"]`)).forEach((r) => {
4768
- r !== this && (r.checked = !1);
4808
+ t && Array.from(t.querySelectorAll(`o-radio[name="${this.name}"]`)).forEach((n) => {
4809
+ n !== this && (n.checked = !1);
4769
4810
  });
4770
4811
  }
4771
4812
  this.syncInput();