@florid-kit/components 0.10.34 → 0.10.36

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
@@ -3,18 +3,18 @@
3
3
  * Copyright 2019 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
5
  */
6
- const Lt = globalThis, Vt = Lt.ShadowRoot && (Lt.ShadyCSS === void 0 || Lt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Zt = Symbol(), le = /* @__PURE__ */ new WeakMap();
7
- let xe = class {
6
+ const Lt = globalThis, Zt = Lt.ShadowRoot && (Lt.ShadyCSS === void 0 || Lt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Kt = Symbol(), ce = /* @__PURE__ */ new WeakMap();
7
+ let we = class {
8
8
  constructor(t, e, n) {
9
- if (this._$cssResult$ = !0, n !== Zt) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
9
+ if (this._$cssResult$ = !0, n !== Kt) 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
- if (Vt && t === void 0) {
15
+ if (Zt && t === void 0) {
16
16
  const n = e !== void 0 && e.length === 1;
17
- n && (t = le.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), n && le.set(e, t));
17
+ n && (t = ce.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), n && ce.set(e, t));
18
18
  }
19
19
  return t;
20
20
  }
@@ -22,20 +22,20 @@ let xe = class {
22
22
  return this.cssText;
23
23
  }
24
24
  };
25
- const Le = (o) => new xe(typeof o == "string" ? o : o + "", void 0, Zt), f = (o, ...t) => {
25
+ const Le = (o) => new we(typeof o == "string" ? o : o + "", void 0, Kt), f = (o, ...t) => {
26
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
30
  })(i) + o[r + 1], o[0]);
31
- return new xe(e, o, Zt);
31
+ return new we(e, o, Kt);
32
32
  }, Pe = (o, t) => {
33
- if (Vt) o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
33
+ if (Zt) o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
34
34
  else for (const e of t) {
35
35
  const n = document.createElement("style"), i = Lt.litNonce;
36
36
  i !== void 0 && n.setAttribute("nonce", i), n.textContent = e.cssText, o.appendChild(n);
37
37
  }
38
- }, ce = Vt ? (o) => o : (o) => o instanceof CSSStyleSheet ? ((t) => {
38
+ }, he = Zt ? (o) => o : (o) => o instanceof CSSStyleSheet ? ((t) => {
39
39
  let e = "";
40
40
  for (const n of t.cssRules) e += n.cssText;
41
41
  return Le(e);
@@ -45,7 +45,7 @@ const Le = (o) => new xe(typeof o == "string" ? o : o + "", void 0, Zt), f = (o,
45
45
  * Copyright 2017 Google LLC
46
46
  * SPDX-License-Identifier: BSD-3-Clause
47
47
  */
48
- const { is: Be, defineProperty: ze, getOwnPropertyDescriptor: Oe, getOwnPropertyNames: Ie, getOwnPropertySymbols: De, getPrototypeOf: He } = Object, Q = globalThis, he = Q.trustedTypes, Te = he ? he.emptyScript : "", Ht = Q.reactiveElementPolyfillSupport, vt = (o, t) => o, Pt = { toAttribute(o, t) {
48
+ const { is: Be, defineProperty: ze, getOwnPropertyDescriptor: Oe, getOwnPropertyNames: Ie, getOwnPropertySymbols: De, getPrototypeOf: He } = Object, Q = globalThis, de = Q.trustedTypes, Te = de ? de.emptyScript : "", Tt = Q.reactiveElementPolyfillSupport, gt = (o, t) => o, Pt = { toAttribute(o, t) {
49
49
  switch (t) {
50
50
  case Boolean:
51
51
  o = o ? Te : null;
@@ -73,7 +73,7 @@ const { is: Be, defineProperty: ze, getOwnPropertyDescriptor: Oe, getOwnProperty
73
73
  }
74
74
  }
75
75
  return e;
76
- } }, Kt = (o, t) => !Be(o, t), de = { attribute: !0, type: String, converter: Pt, reflect: !1, useDefault: !1, hasChanged: Kt };
76
+ } }, Wt = (o, t) => !Be(o, t), pe = { attribute: !0, type: String, converter: Pt, reflect: !1, useDefault: !1, hasChanged: Wt };
77
77
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), Q.litPropertyMetadata ?? (Q.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
78
78
  let ct = class extends HTMLElement {
79
79
  static addInitializer(t) {
@@ -82,7 +82,7 @@ let ct = class extends HTMLElement {
82
82
  static get observedAttributes() {
83
83
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
84
84
  }
85
- static createProperty(t, e = de) {
85
+ static createProperty(t, e = pe) {
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
87
  const n = Symbol(), i = this.getPropertyDescriptor(t, n, e);
88
88
  i !== void 0 && ze(this.prototype, t, i);
@@ -100,16 +100,16 @@ let ct = class extends HTMLElement {
100
100
  }, configurable: !0, enumerable: !0 };
101
101
  }
102
102
  static getPropertyOptions(t) {
103
- return this.elementProperties.get(t) ?? de;
103
+ return this.elementProperties.get(t) ?? pe;
104
104
  }
105
105
  static _$Ei() {
106
- if (this.hasOwnProperty(vt("elementProperties"))) return;
106
+ if (this.hasOwnProperty(gt("elementProperties"))) return;
107
107
  const t = He(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(vt("finalized"))) return;
112
- if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(vt("properties"))) {
111
+ if (this.hasOwnProperty(gt("finalized"))) return;
112
+ if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(gt("properties"))) {
113
113
  const e = this.properties, n = [...Ie(e), ...De(e)];
114
114
  for (const i of n) this.createProperty(i, e[i]);
115
115
  }
@@ -129,8 +129,8 @@ let ct = class extends HTMLElement {
129
129
  const e = [];
130
130
  if (Array.isArray(t)) {
131
131
  const n = new Set(t.flat(1 / 0).reverse());
132
- for (const i of n) e.unshift(ce(i));
133
- } else t !== void 0 && e.push(ce(t));
132
+ for (const i of n) e.unshift(he(i));
133
+ } else t !== void 0 && e.push(he(t));
134
134
  return e;
135
135
  }
136
136
  static _$Eu(t, e) {
@@ -200,7 +200,7 @@ let ct = class extends HTMLElement {
200
200
  var i;
201
201
  if (t !== void 0) {
202
202
  const r = this.constructor, s = this[t];
203
- if (n ?? (n = r.getPropertyOptions(t)), !((n.hasChanged ?? Kt)(s, e) || n.useDefault && n.reflect && s === ((i = this._$Ej) == null ? void 0 : i.get(t)) && !this.hasAttribute(r._$Eu(t, n)))) return;
203
+ if (n ?? (n = r.getPropertyOptions(t)), !((n.hasChanged ?? Wt)(s, e) || n.useDefault && n.reflect && s === ((i = this._$Ej) == null ? void 0 : i.get(t)) && !this.hasAttribute(r._$Eu(t, n)))) return;
204
204
  this.C(t, e, n);
205
205
  }
206
206
  this.isUpdatePending === !1 && (this._$ES = this._$EP());
@@ -276,56 +276,56 @@ let ct = class extends HTMLElement {
276
276
  firstUpdated(t) {
277
277
  }
278
278
  };
279
- ct.elementStyles = [], ct.shadowRootOptions = { mode: "open" }, ct[vt("elementProperties")] = /* @__PURE__ */ new Map(), ct[vt("finalized")] = /* @__PURE__ */ new Map(), Ht == null || Ht({ ReactiveElement: ct }), (Q.reactiveElementVersions ?? (Q.reactiveElementVersions = [])).push("2.1.0");
279
+ ct.elementStyles = [], ct.shadowRootOptions = { mode: "open" }, ct[gt("elementProperties")] = /* @__PURE__ */ new Map(), ct[gt("finalized")] = /* @__PURE__ */ new Map(), Tt == null || Tt({ ReactiveElement: ct }), (Q.reactiveElementVersions ?? (Q.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 gt = globalThis, Bt = gt.trustedTypes, pe = Bt ? Bt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, we = "$lit$", J = `lit$${Math.random().toFixed(9).slice(2)}$`, $e = "?" + J, Me = `<${$e}>`, st = document, yt = () => st.createComment(""), mt = (o) => o === null || typeof o != "object" && typeof o != "function", Wt = Array.isArray, je = (o) => Wt(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", Tt = `[
286
- \f\r]`, ft = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ue = /-->/g, fe = />/g, it = RegExp(`>|${Tt}(?:([^\\s"'>=/]+)(${Tt}*=${Tt}*(?:[^
287
- \f\r"'\`<>=]|("|')|))|$)`, "g"), ve = /'/g, ge = /"/g, ke = /^(?:script|style|textarea|title)$/i, Fe = (o) => (t, ...e) => ({ _$litType$: o, strings: t, values: e }), l = Fe(1), tt = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), be = /* @__PURE__ */ new WeakMap(), nt = st.createTreeWalker(st, 129);
288
- function _e(o, t) {
289
- if (!Wt(o) || !o.hasOwnProperty("raw")) throw Error("invalid template strings array");
290
- return pe !== void 0 ? pe.createHTML(t) : t;
285
+ const bt = globalThis, Bt = bt.trustedTypes, ue = Bt ? Bt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, $e = "$lit$", J = `lit$${Math.random().toFixed(9).slice(2)}$`, ke = "?" + J, Me = `<${ke}>`, st = document, mt = () => st.createComment(""), xt = (o) => o === null || typeof o != "object" && typeof o != "function", Gt = Array.isArray, je = (o) => Gt(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", Mt = `[
286
+ \f\r]`, vt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, fe = /-->/g, ve = />/g, it = RegExp(`>|${Mt}(?:([^\\s"'>=/]+)(${Mt}*=${Mt}*(?:[^
287
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), ge = /'/g, be = /"/g, _e = /^(?:script|style|textarea|title)$/i, Fe = (o) => (t, ...e) => ({ _$litType$: o, strings: t, values: e }), l = Fe(1), tt = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), ye = /* @__PURE__ */ new WeakMap(), nt = st.createTreeWalker(st, 129);
288
+ function Ce(o, t) {
289
+ if (!Gt(o) || !o.hasOwnProperty("raw")) throw Error("invalid template strings array");
290
+ return ue !== void 0 ? ue.createHTML(t) : t;
291
291
  }
292
292
  const Re = (o, t) => {
293
293
  const e = o.length - 1, n = [];
294
- let i, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", s = ft;
294
+ let i, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", s = vt;
295
295
  for (let c = 0; c < e; c++) {
296
296
  const h = o[c];
297
297
  let v, x, g = -1, V = 0;
298
- for (; V < h.length && (s.lastIndex = V, x = s.exec(h), x !== null); ) V = s.lastIndex, s === ft ? x[1] === "!--" ? s = ue : x[1] !== void 0 ? s = fe : x[2] !== void 0 ? (ke.test(x[2]) && (i = RegExp("</" + x[2], "g")), s = it) : x[3] !== void 0 && (s = it) : s === it ? x[0] === ">" ? (s = i ?? ft, g = -1) : x[1] === void 0 ? g = -2 : (g = s.lastIndex - x[2].length, v = x[1], s = x[3] === void 0 ? it : x[3] === '"' ? ge : ve) : s === ge || s === ve ? s = it : s === ue || s === fe ? s = ft : (s = it, i = void 0);
298
+ for (; V < h.length && (s.lastIndex = V, x = s.exec(h), x !== null); ) V = s.lastIndex, s === vt ? x[1] === "!--" ? s = fe : x[1] !== void 0 ? s = ve : x[2] !== void 0 ? (_e.test(x[2]) && (i = RegExp("</" + x[2], "g")), s = it) : x[3] !== void 0 && (s = it) : s === it ? x[0] === ">" ? (s = i ?? vt, g = -1) : x[1] === void 0 ? g = -2 : (g = s.lastIndex - x[2].length, v = x[1], s = x[3] === void 0 ? it : x[3] === '"' ? be : ge) : s === be || s === ge ? s = it : s === fe || s === ve ? s = vt : (s = it, i = void 0);
299
299
  const Y = s === it && o[c + 1].startsWith("/>") ? " " : "";
300
- r += s === ft ? h + Me : g >= 0 ? (n.push(v), h.slice(0, g) + we + h.slice(g) + J + Y) : h + J + (g === -2 ? c : Y);
300
+ r += s === vt ? h + Me : g >= 0 ? (n.push(v), h.slice(0, g) + $e + h.slice(g) + J + Y) : h + J + (g === -2 ? c : Y);
301
301
  }
302
- return [_e(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), n];
302
+ return [Ce(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), n];
303
303
  };
304
- class xt {
304
+ class wt {
305
305
  constructor({ strings: t, _$litType$: e }, n) {
306
306
  let i;
307
307
  this.parts = [];
308
308
  let r = 0, s = 0;
309
309
  const c = t.length - 1, h = this.parts, [v, x] = Re(t, e);
310
- if (this.el = xt.createElement(v, n), nt.currentNode = this.el.content, e === 2 || e === 3) {
310
+ if (this.el = wt.createElement(v, n), nt.currentNode = this.el.content, e === 2 || e === 3) {
311
311
  const g = this.el.content.firstChild;
312
312
  g.replaceWith(...g.childNodes);
313
313
  }
314
314
  for (; (i = nt.nextNode()) !== null && h.length < c; ) {
315
315
  if (i.nodeType === 1) {
316
- if (i.hasAttributes()) for (const g of i.getAttributeNames()) if (g.endsWith(we)) {
316
+ if (i.hasAttributes()) for (const g of i.getAttributeNames()) if (g.endsWith($e)) {
317
317
  const V = x[s++], Y = i.getAttribute(g).split(J), At = /([.?@])?(.*)/.exec(V);
318
318
  h.push({ type: 1, index: r, name: At[2], strings: Y, ctor: At[1] === "." ? Ne : At[1] === "?" ? qe : At[1] === "@" ? Ve : Ot }), i.removeAttribute(g);
319
319
  } else g.startsWith(J) && (h.push({ type: 6, index: r }), i.removeAttribute(g));
320
- if (ke.test(i.tagName)) {
320
+ if (_e.test(i.tagName)) {
321
321
  const g = i.textContent.split(J), V = g.length - 1;
322
322
  if (V > 0) {
323
323
  i.textContent = Bt ? Bt.emptyScript : "";
324
- for (let Y = 0; Y < V; Y++) i.append(g[Y], yt()), nt.nextNode(), h.push({ type: 2, index: ++r });
325
- i.append(g[V], yt());
324
+ for (let Y = 0; Y < V; Y++) i.append(g[Y], mt()), nt.nextNode(), h.push({ type: 2, index: ++r });
325
+ i.append(g[V], mt());
326
326
  }
327
327
  }
328
- } else if (i.nodeType === 8) if (i.data === $e) h.push({ type: 2, index: r });
328
+ } else if (i.nodeType === 8) if (i.data === ke) h.push({ type: 2, index: r });
329
329
  else {
330
330
  let g = -1;
331
331
  for (; (g = i.data.indexOf(J, g + 1)) !== -1; ) h.push({ type: 7, index: r }), g += J.length - 1;
@@ -342,7 +342,7 @@ function ht(o, t, e = o, n) {
342
342
  var s, c;
343
343
  if (t === tt) return t;
344
344
  let i = n !== void 0 ? (s = e._$Co) == null ? void 0 : s[n] : e._$Cl;
345
- const r = mt(t) ? void 0 : t._$litDirective$;
345
+ const r = xt(t) ? void 0 : t._$litDirective$;
346
346
  return (i == null ? void 0 : i.constructor) !== r && ((c = i == null ? void 0 : i._$AO) == null || c.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 = ht(o, i._$AS(o, t.values), i, n)), t;
347
347
  }
348
348
  class Ue {
@@ -393,7 +393,7 @@ class Et {
393
393
  return this._$AB;
394
394
  }
395
395
  _$AI(t, e = this) {
396
- t = ht(this, t, e), mt(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== tt && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : je(t) ? this.k(t) : this._(t);
396
+ t = ht(this, t, e), xt(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== tt && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : je(t) ? this.k(t) : this._(t);
397
397
  }
398
398
  O(t) {
399
399
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -402,11 +402,11 @@ class Et {
402
402
  this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
403
403
  }
404
404
  _(t) {
405
- this._$AH !== d && mt(this._$AH) ? this._$AA.nextSibling.data = t : this.T(st.createTextNode(t)), this._$AH = t;
405
+ this._$AH !== d && xt(this._$AH) ? this._$AA.nextSibling.data = t : this.T(st.createTextNode(t)), this._$AH = t;
406
406
  }
407
407
  $(t) {
408
408
  var r;
409
- const { values: e, _$litType$: n } = t, i = typeof n == "number" ? this._$AC(t) : (n.el === void 0 && (n.el = xt.createElement(_e(n.h, n.h[0]), this.options)), n);
409
+ const { values: e, _$litType$: n } = t, i = typeof n == "number" ? this._$AC(t) : (n.el === void 0 && (n.el = wt.createElement(Ce(n.h, n.h[0]), this.options)), n);
410
410
  if (((r = this._$AH) == null ? void 0 : r._$AD) === i) this._$AH.p(e);
411
411
  else {
412
412
  const s = new Ue(i, this), c = s.u(this.options);
@@ -414,14 +414,14 @@ class Et {
414
414
  }
415
415
  }
416
416
  _$AC(t) {
417
- let e = be.get(t.strings);
418
- return e === void 0 && be.set(t.strings, e = new xt(t)), e;
417
+ let e = ye.get(t.strings);
418
+ return e === void 0 && ye.set(t.strings, e = new wt(t)), e;
419
419
  }
420
420
  k(t) {
421
- Wt(this._$AH) || (this._$AH = [], this._$AR());
421
+ Gt(this._$AH) || (this._$AH = [], this._$AR());
422
422
  const e = this._$AH;
423
423
  let n, i = 0;
424
- for (const r of t) i === e.length ? e.push(n = new Et(this.O(yt()), this.O(yt()), this, this.options)) : n = e[i], n._$AI(r), i++;
424
+ for (const r of t) i === e.length ? e.push(n = new Et(this.O(mt()), this.O(mt()), this, this.options)) : n = e[i], n._$AI(r), i++;
425
425
  i < e.length && (this._$AR(n && n._$AB.nextSibling, i), e.length = i);
426
426
  }
427
427
  _$AR(t = this._$AA.nextSibling, e) {
@@ -449,11 +449,11 @@ class Ot {
449
449
  _$AI(t, e = this, n, i) {
450
450
  const r = this.strings;
451
451
  let s = !1;
452
- if (r === void 0) t = ht(this, t, e, 0), s = !mt(t) || t !== this._$AH && t !== tt, s && (this._$AH = t);
452
+ if (r === void 0) t = ht(this, t, e, 0), s = !xt(t) || t !== this._$AH && t !== tt, s && (this._$AH = t);
453
453
  else {
454
454
  const c = t;
455
455
  let h, v;
456
- for (t = r[0], h = 0; h < r.length - 1; h++) v = ht(this, c[n + h], e, h), v === tt && (v = this._$AH[h]), s || (s = !mt(v) || v !== this._$AH[h]), v === d ? t = d : t !== d && (t += (v ?? "") + r[h + 1]), this._$AH[h] = v;
456
+ for (t = r[0], h = 0; h < r.length - 1; h++) v = ht(this, c[n + h], e, h), v === tt && (v = this._$AH[h]), s || (s = !xt(v) || v !== this._$AH[h]), v === d ? t = d : t !== d && (t += (v ?? "") + r[h + 1]), this._$AH[h] = v;
457
457
  }
458
458
  s && !i && this.j(t);
459
459
  }
@@ -502,14 +502,14 @@ class Ze {
502
502
  ht(this, t);
503
503
  }
504
504
  }
505
- const Mt = gt.litHtmlPolyfillSupport;
506
- Mt == null || Mt(xt, Et), (gt.litHtmlVersions ?? (gt.litHtmlVersions = [])).push("3.3.0");
505
+ const jt = bt.litHtmlPolyfillSupport;
506
+ jt == null || jt(wt, Et), (bt.litHtmlVersions ?? (bt.litHtmlVersions = [])).push("3.3.0");
507
507
  const Ke = (o, t, e) => {
508
508
  const n = (e == null ? void 0 : e.renderBefore) ?? t;
509
509
  let i = n._$litPart$;
510
510
  if (i === void 0) {
511
511
  const r = (e == null ? void 0 : e.renderBefore) ?? null;
512
- n._$litPart$ = i = new Et(t.insertBefore(yt(), r), r, void 0, e ?? {});
512
+ n._$litPart$ = i = new Et(t.insertBefore(mt(), r), r, void 0, e ?? {});
513
513
  }
514
514
  return i._$AI(o), i;
515
515
  };
@@ -544,10 +544,10 @@ let u = class extends ct {
544
544
  return tt;
545
545
  }
546
546
  };
547
- var me;
548
- u._$litElement$ = !0, u.finalized = !0, (me = rt.litElementHydrateSupport) == null || me.call(rt, { LitElement: u });
549
- const jt = rt.litElementPolyfillSupport;
550
- jt == null || jt({ LitElement: u });
547
+ var xe;
548
+ u._$litElement$ = !0, u.finalized = !0, (xe = rt.litElementHydrateSupport) == null || xe.call(rt, { LitElement: u });
549
+ const Ft = rt.litElementPolyfillSupport;
550
+ Ft == null || Ft({ LitElement: u });
551
551
  (rt.litElementVersions ?? (rt.litElementVersions = [])).push("4.2.0");
552
552
  /**
553
553
  * @license
@@ -564,7 +564,7 @@ const y = (o) => (t, e) => {
564
564
  * Copyright 2017 Google LLC
565
565
  * SPDX-License-Identifier: BSD-3-Clause
566
566
  */
567
- const We = { attribute: !0, type: String, converter: Pt, reflect: !1, hasChanged: Kt }, Ge = (o = We, t, e) => {
567
+ const We = { attribute: !0, type: String, converter: Pt, reflect: !1, hasChanged: Wt }, Ge = (o = We, t, e) => {
568
568
  const { kind: n, metadata: i } = e;
569
569
  let r = globalThis.litPropertyMetadata.get(i);
570
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") {
@@ -610,7 +610,7 @@ const Xe = (o, t, e) => (e.configurable = !0, e.enumerable = !0, Reflect.decorat
610
610
  * Copyright 2017 Google LLC
611
611
  * SPDX-License-Identifier: BSD-3-Clause
612
612
  */
613
- function Ce(o, t) {
613
+ function Se(o, t) {
614
614
  return (e, n, i) => {
615
615
  const r = (s) => {
616
616
  var c;
@@ -630,7 +630,7 @@ f`
630
630
  box-sizing: border-box;
631
631
  }
632
632
  `;
633
- const Se = f`
633
+ const Xt = f`
634
634
  border: 0 !important;
635
635
  clip: rect(0.1rem, 0.1rem, 0.1rem, 0.1rem) !important;
636
636
  -webkit-clip-path: inset(50%) !important;
@@ -648,12 +648,12 @@ const Se = f`
648
648
  * Copyright 2023 Google LLC
649
649
  * SPDX-License-Identifier: Apache-2.0
650
650
  */
651
- const Gt = Symbol("internals"), Ft = Symbol("privateInternals");
652
- function Xt(o) {
651
+ const Yt = Symbol("internals"), Rt = Symbol("privateInternals");
652
+ function Jt(o) {
653
653
  var t;
654
654
  class e extends o {
655
- get [(t = Gt, t)]() {
656
- return this[Ft] || (this[Ft] = this.attachInternals()), this[Ft];
655
+ get [(t = Yt, t)]() {
656
+ return this[Rt] || (this[Rt] = this.attachInternals()), this[Rt];
657
657
  }
658
658
  }
659
659
  return e;
@@ -667,7 +667,7 @@ function Ye(o) {
667
667
  o.addInitializer((t) => {
668
668
  const e = t;
669
669
  e.addEventListener("click", async (n) => {
670
- const { type: i, [Gt]: r } = e, { form: s } = r;
670
+ const { type: i, [Yt]: r } = e, { form: s } = r;
671
671
  if (!(!s || i === "button") && (await new Promise((c) => {
672
672
  setTimeout(c);
673
673
  }), !n.defaultPrevented)) {
@@ -831,8 +831,8 @@ const Je = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
831
831
  * Copyright 2017 Google LLC
832
832
  * SPDX-License-Identifier: BSD-3-Clause
833
833
  */
834
- const Yt = { ATTRIBUTE: 1, CHILD: 2 }, Jt = (o) => (...t) => ({ _$litDirective$: o, values: t });
835
- let Qt = class {
834
+ const Qt = { ATTRIBUTE: 1, CHILD: 2 }, te = (o) => (...t) => ({ _$litDirective$: o, values: t });
835
+ let ee = class {
836
836
  constructor(t) {
837
837
  }
838
838
  get _$AU() {
@@ -853,9 +853,9 @@ let Qt = class {
853
853
  * Copyright 2017 Google LLC
854
854
  * SPDX-License-Identifier: BSD-3-Clause
855
855
  */
856
- class Rt extends Qt {
856
+ class Ut extends ee {
857
857
  constructor(t) {
858
- if (super(t), this.it = d, t.type !== Yt.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
858
+ if (super(t), this.it = d, t.type !== Qt.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
859
859
  }
860
860
  render(t) {
861
861
  if (t === d || t == null) return this._t = void 0, this.it = t;
@@ -867,16 +867,16 @@ class Rt extends Qt {
867
867
  return e.raw = e, this._t = { _$litType$: this.constructor.resultType, strings: e, values: [] };
868
868
  }
869
869
  }
870
- Rt.directiveName = "unsafeHTML", Rt.resultType = 1;
870
+ Ut.directiveName = "unsafeHTML", Ut.resultType = 1;
871
871
  /**
872
872
  * @license
873
873
  * Copyright 2017 Google LLC
874
874
  * SPDX-License-Identifier: BSD-3-Clause
875
875
  */
876
- class Ut extends Rt {
876
+ class Nt extends Ut {
877
877
  }
878
- Ut.directiveName = "unsafeSVG", Ut.resultType = 2;
879
- const S = Jt(Ut);
878
+ Nt.directiveName = "unsafeSVG", Nt.resultType = 2;
879
+ const S = te(Nt);
880
880
  /**
881
881
  * @license
882
882
  * Copyright 2020 Google LLC
@@ -888,11 +888,11 @@ const zo = (o) => o.strings === void 0;
888
888
  * Copyright 2017 Google LLC
889
889
  * SPDX-License-Identifier: BSD-3-Clause
890
890
  */
891
- const bt = (o, t) => {
891
+ const yt = (o, t) => {
892
892
  var n;
893
893
  const e = o._$AN;
894
894
  if (e === void 0) return !1;
895
- for (const i of e) (n = i._$AO) == null || n.call(i, t, !1), bt(i, t);
895
+ for (const i of e) (n = i._$AO) == null || n.call(i, t, !1), yt(i, t);
896
896
  return !0;
897
897
  }, zt = (o) => {
898
898
  let t, e;
@@ -913,14 +913,14 @@ function Oo(o) {
913
913
  }
914
914
  function Io(o, t = !1, e = 0) {
915
915
  const n = this._$AH, i = this._$AN;
916
- if (i !== void 0 && i.size !== 0) if (t) if (Array.isArray(n)) for (let r = e; r < n.length; r++) bt(n[r], !1), zt(n[r]);
917
- else n != null && (bt(n, !1), zt(n));
918
- else bt(this, o);
916
+ if (i !== void 0 && i.size !== 0) if (t) if (Array.isArray(n)) for (let r = e; r < n.length; r++) yt(n[r], !1), zt(n[r]);
917
+ else n != null && (yt(n, !1), zt(n));
918
+ else yt(this, o);
919
919
  }
920
920
  const Do = (o) => {
921
- o.type == Yt.CHILD && (o._$AP ?? (o._$AP = Io), o._$AQ ?? (o._$AQ = Oo));
921
+ o.type == Qt.CHILD && (o._$AP ?? (o._$AP = Io), o._$AQ ?? (o._$AQ = Oo));
922
922
  };
923
- class Ho extends Qt {
923
+ class Ho extends ee {
924
924
  constructor() {
925
925
  super(...arguments), this._$AN = void 0;
926
926
  }
@@ -929,7 +929,7 @@ class Ho extends Qt {
929
929
  }
930
930
  _$AO(t, e = !0) {
931
931
  var n, i;
932
- t !== this.isConnected && (this.isConnected = t, t ? (n = this.reconnected) == null || n.call(this) : (i = this.disconnected) == null || i.call(this)), e && (bt(this, t), zt(this));
932
+ t !== this.isConnected && (this.isConnected = t, t ? (n = this.reconnected) == null || n.call(this) : (i = this.disconnected) == null || i.call(this)), e && (yt(this, t), zt(this));
933
933
  }
934
934
  setValue(t) {
935
935
  if (zo(this._$Ct)) this._$Ct._$AI(t, this);
@@ -1063,7 +1063,7 @@ class jo extends Mo {
1063
1063
  }
1064
1064
  }
1065
1065
  }
1066
- const ye = Jt(jo);
1066
+ const me = te(jo);
1067
1067
  /**
1068
1068
  * @license
1069
1069
  * Copyright 2018 Google LLC
@@ -1284,7 +1284,7 @@ B.styles = f`
1284
1284
  }
1285
1285
 
1286
1286
  .sr-only {
1287
- ${Se}
1287
+ ${Xt}
1288
1288
  }
1289
1289
  `;
1290
1290
  R([
@@ -1589,7 +1589,7 @@ let p = class extends u {
1589
1589
  variant="${this.firstButtonVariant}"
1590
1590
  @click=${this.handleFirstClick}
1591
1591
  @keydown=${this.handleFirstClick}
1592
- ${ye(this.firstButtonProps)}
1592
+ ${me(this.firstButtonProps)}
1593
1593
  >
1594
1594
  ${this.firstButtonLabel}
1595
1595
  </o-button>
@@ -1600,7 +1600,7 @@ let p = class extends u {
1600
1600
  variant="${this.secondButtonVariant}"
1601
1601
  @click=${this.handleSecondClick}
1602
1602
  @keydown=${this.handleSecondClick}
1603
- ${ye(this.secondButtonProps)}
1603
+ ${me(this.secondButtonProps)}
1604
1604
  >
1605
1605
  ${this.secondButtonLabel}
1606
1606
  </o-button>
@@ -1935,7 +1935,7 @@ var qo = Object.defineProperty, Vo = Object.getOwnPropertyDescriptor, k = (o, t,
1935
1935
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
1936
1936
  return n && i && qo(t, e, i), i;
1937
1937
  };
1938
- const Zo = Xt(u);
1938
+ const Zo = Jt(u);
1939
1939
  let m = class extends Zo {
1940
1940
  constructor() {
1941
1941
  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, this.hideRoleButton = !1;
@@ -1947,7 +1947,7 @@ let m = class extends Zo {
1947
1947
  this.setAttribute("name", o);
1948
1948
  }
1949
1949
  get form() {
1950
- return this[Gt].form;
1950
+ return this[Yt].form;
1951
1951
  }
1952
1952
  handleClick(o) {
1953
1953
  if (!(o instanceof KeyboardEvent && !["Enter", " "].includes(o.key)) && this.panelTarget) {
@@ -2366,7 +2366,7 @@ dt.styles = f`
2366
2366
  }
2367
2367
 
2368
2368
  .sr-only {
2369
- ${Se}
2369
+ ${Xt}
2370
2370
  }
2371
2371
  `;
2372
2372
  It([
@@ -2394,38 +2394,41 @@ let K = class extends u {
2394
2394
  (!this.href || this.href === "#") && o.preventDefault();
2395
2395
  }
2396
2396
  render() {
2397
- const o = this.href || "#";
2398
- return l`
2399
- <a
2400
- href="${o}"
2401
- target="${P(this.target || void 0)}"
2402
- @click="${this._handleClick}"
2403
- >
2404
- ${this.endIcon && this.reverseEndIcon ? l`
2405
- <o-icon-button
2406
- icon="chevronLeft"
2407
- bgstyle="${this.inverse ? "none-light" : "none-contrast"}"
2408
- size="xsmall"
2409
- aria-hidden="true"
2410
- type="span"
2411
- ></o-icon-button>
2412
- ` : null}
2413
- <span class="link-text"><slot></slot></span>
2414
- ${this.endIcon && !this.reverseEndIcon ? l`
2415
- <o-icon-button
2416
- icon="chevronRight"
2417
- bgstyle="${this.inverse ? "none-light" : "none-contrast"}"
2418
- size="xsmall"
2419
- aria-hidden="true"
2420
- type="span"
2421
- ></o-icon-button>
2422
- ` : null}
2423
- </a>
2397
+ const o = !!this.href, t = l`
2398
+ ${this.endIcon && this.reverseEndIcon ? l`
2399
+ <o-icon-button
2400
+ icon="chevronLeft"
2401
+ bgstyle="${this.inverse ? "none-light" : "none-contrast"}"
2402
+ size="xsmall"
2403
+ aria-hidden="true"
2404
+ type="span"
2405
+ ></o-icon-button>
2406
+ ` : null}
2407
+ <span class="link-text"><slot></slot></span>
2408
+ ${this.endIcon && !this.reverseEndIcon ? l`
2409
+ <o-icon-button
2410
+ icon="chevronRight"
2411
+ bgstyle="${this.inverse ? "none-light" : "none-contrast"}"
2412
+ size="xsmall"
2413
+ aria-hidden="true"
2414
+ type="span"
2415
+ ></o-icon-button>
2416
+ ` : null}
2424
2417
  `;
2418
+ return o ? l`
2419
+ <a
2420
+ class="link-wrapper"
2421
+ href="${this.href}"
2422
+ target="${P(this.target || void 0)}"
2423
+ @click="${this._handleClick}"
2424
+ >
2425
+ ${t}
2426
+ </a>
2427
+ ` : l`<span class="link-wrapper">${t}</span>`;
2425
2428
  }
2426
2429
  };
2427
2430
  K.styles = f`
2428
- :host([template="standard"]) a {
2431
+ :host([template="standard"]) .link-wrapper {
2429
2432
  color: var(--color-content-action-secondary);
2430
2433
  font-size: var(--font-size-200);
2431
2434
  font-weight: var(--font-weight-400);
@@ -2434,7 +2437,7 @@ K.styles = f`
2434
2437
  font-family: var(--font-family-loccitane-serif);
2435
2438
  }
2436
2439
 
2437
- :host([template="discret"]) a {
2440
+ :host([template="discret"]) .link-wrapper {
2438
2441
  color: var(--color-content-action-secondary);
2439
2442
  font-size: var(--font-size-100);
2440
2443
  font-weight: var(--font-weight-400);
@@ -2443,7 +2446,7 @@ K.styles = f`
2443
2446
  font-family: var(--font-family-loccitane-sans);
2444
2447
  }
2445
2448
 
2446
- :host([template="review"]) a {
2449
+ :host([template="review"]) .link-wrapper {
2447
2450
  color: var(--color-content-action-secondary);
2448
2451
  font-size: var(--font-size-100);
2449
2452
  font-weight: var(--font-weight-500);
@@ -2453,21 +2456,21 @@ K.styles = f`
2453
2456
  text-transform: uppercase;
2454
2457
  }
2455
2458
 
2456
- :host([inverse]) a {
2459
+ :host([inverse]) .link-wrapper {
2457
2460
  color: var(--color-container-action-tertiary-default);
2458
2461
  }
2459
2462
 
2460
- :host([endIcon]) a o-icon-button {
2463
+ :host([endIcon]) .link-wrapper o-icon-button {
2461
2464
  margin-left: 2px;
2462
2465
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
2463
2466
  }
2464
2467
 
2465
- :host([endIcon][reverseEndIcon]) a o-icon-button {
2468
+ :host([endIcon][reverseEndIcon]) .link-wrapper o-icon-button {
2466
2469
  margin-right: 2px;
2467
2470
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
2468
2471
  }
2469
2472
 
2470
- :host a {
2473
+ :host .link-wrapper {
2471
2474
  position: relative;
2472
2475
  text-decoration: none;
2473
2476
  color: inherit;
@@ -2492,17 +2495,17 @@ K.styles = f`
2492
2495
  }
2493
2496
 
2494
2497
  @media (hover: hover) and (pointer: fine) {
2495
- :host a:hover .link-text::after {
2498
+ :host .link-wrapper:hover .link-text::after {
2496
2499
  opacity: 0;
2497
2500
  height: 1px;
2498
2501
  }
2499
2502
 
2500
- :host([endIcon]) a:hover o-icon-button {
2503
+ :host([endIcon]) .link-wrapper:hover o-icon-button {
2501
2504
  transform: translateX(4px);
2502
2505
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
2503
2506
  }
2504
2507
 
2505
- :host([endIcon][reverseEndIcon]) a:hover o-icon-button {
2508
+ :host([endIcon][reverseEndIcon]) .link-wrapper:hover o-icon-button {
2506
2509
  transform: translateX(-4px);
2507
2510
  }
2508
2511
  }
@@ -2831,12 +2834,12 @@ ot([
2831
2834
  F = ot([
2832
2835
  y("thumbnail-navigation")
2833
2836
  ], F);
2834
- var ei = Object.defineProperty, oi = Object.getOwnPropertyDescriptor, te = (o, t, e, n) => {
2837
+ var ei = Object.defineProperty, oi = Object.getOwnPropertyDescriptor, oe = (o, t, e, n) => {
2835
2838
  for (var i = n > 1 ? void 0 : n ? oi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
2836
2839
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
2837
2840
  return n && i && ei(t, e, i), i;
2838
2841
  };
2839
- let wt = class extends u {
2842
+ let $t = class extends u {
2840
2843
  constructor() {
2841
2844
  super(...arguments), this.type = "", this.bgstyle = "background-white";
2842
2845
  }
@@ -2846,7 +2849,7 @@ let wt = class extends u {
2846
2849
  `;
2847
2850
  }
2848
2851
  };
2849
- wt.styles = f`
2852
+ $t.styles = f`
2850
2853
  .tag {
2851
2854
  display: inline-block;
2852
2855
  padding: var(--spacing-2-xs) var(--spacing-s);
@@ -2903,21 +2906,21 @@ wt.styles = f`
2903
2906
  }
2904
2907
 
2905
2908
  `;
2906
- te([
2909
+ oe([
2907
2910
  a({ type: String, reflect: !0 })
2908
- ], wt.prototype, "type", 2);
2909
- te([
2911
+ ], $t.prototype, "type", 2);
2912
+ oe([
2910
2913
  a({ type: String, reflect: !0 })
2911
- ], wt.prototype, "bgstyle", 2);
2912
- wt = te([
2914
+ ], $t.prototype, "bgstyle", 2);
2915
+ $t = oe([
2913
2916
  y("o-tag")
2914
- ], wt);
2915
- var ii = Object.defineProperty, ni = Object.getOwnPropertyDescriptor, ee = (o, t, e, n) => {
2917
+ ], $t);
2918
+ var ii = Object.defineProperty, ni = Object.getOwnPropertyDescriptor, ie = (o, t, e, n) => {
2916
2919
  for (var i = n > 1 ? void 0 : n ? ni(t, e) : t, r = o.length - 1, s; r >= 0; r--)
2917
2920
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
2918
2921
  return n && i && ii(t, e, i), i;
2919
2922
  };
2920
- let $t = class extends u {
2923
+ let kt = class extends u {
2921
2924
  constructor() {
2922
2925
  super(...arguments), this.type = "top", this.text = "";
2923
2926
  }
@@ -2930,7 +2933,7 @@ let $t = class extends u {
2930
2933
  `;
2931
2934
  }
2932
2935
  };
2933
- $t.styles = f`
2936
+ kt.styles = f`
2934
2937
  .tooltip {
2935
2938
  position: relative;
2936
2939
  display: inline-block;
@@ -3023,15 +3026,15 @@ $t.styles = f`
3023
3026
  }
3024
3027
 
3025
3028
  `;
3026
- ee([
3029
+ ie([
3027
3030
  a({ type: String, reflect: !0 })
3028
- ], $t.prototype, "type", 2);
3029
- ee([
3031
+ ], kt.prototype, "type", 2);
3032
+ ie([
3030
3033
  a({ type: String, reflect: !0 })
3031
- ], $t.prototype, "text", 2);
3032
- $t = ee([
3034
+ ], kt.prototype, "text", 2);
3035
+ kt = ie([
3033
3036
  y("o-tooltip")
3034
- ], $t);
3037
+ ], kt);
3035
3038
  var ri = Object.defineProperty, si = Object.getOwnPropertyDescriptor, G = (o, t, e, n) => {
3036
3039
  for (var i = n > 1 ? void 0 : n ? si(t, e) : t, r = o.length - 1, s; r >= 0; r--)
3037
3040
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
@@ -3331,12 +3334,12 @@ var ai = Object.getOwnPropertyDescriptor, li = (o, t, e, n) => {
3331
3334
  (s = o[r]) && (i = s(i) || i);
3332
3335
  return i;
3333
3336
  };
3334
- let Nt = class extends u {
3337
+ let qt = class extends u {
3335
3338
  render() {
3336
3339
  return l` <span class="dots"></span> `;
3337
3340
  }
3338
3341
  };
3339
- Nt.styles = f`
3342
+ qt.styles = f`
3340
3343
  :host {
3341
3344
  display: flex;
3342
3345
  align-items: center;
@@ -3379,9 +3382,9 @@ Nt.styles = f`
3379
3382
  background-color: var(--color-container-action-primary-pressed);
3380
3383
  }
3381
3384
  `;
3382
- Nt = li([
3385
+ qt = li([
3383
3386
  y("o-dots")
3384
- ], Nt);
3387
+ ], qt);
3385
3388
  var ci = Object.defineProperty, hi = Object.getOwnPropertyDescriptor, U = (o, t, e, n) => {
3386
3389
  for (var i = n > 1 ? void 0 : n ? hi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
3387
3390
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
@@ -3735,10 +3738,10 @@ z = U([
3735
3738
  * Copyright 2018 Google LLC
3736
3739
  * SPDX-License-Identifier: BSD-3-Clause
3737
3740
  */
3738
- const Ae = "important", di = " !" + Ae, pi = Jt(class extends Qt {
3741
+ const Ae = "important", di = " !" + Ae, pi = te(class extends ee {
3739
3742
  constructor(o) {
3740
3743
  var t;
3741
- if (super(o), o.type !== Yt.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.");
3744
+ if (super(o), o.type !== Qt.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.");
3742
3745
  }
3743
3746
  render(o) {
3744
3747
  return Object.keys(o).reduce((t, e) => {
@@ -3761,12 +3764,12 @@ const Ae = "important", di = " !" + Ae, pi = Jt(class extends Qt {
3761
3764
  return tt;
3762
3765
  }
3763
3766
  });
3764
- var ui = Object.defineProperty, fi = Object.getOwnPropertyDescriptor, oe = (o, t, e, n) => {
3767
+ var ui = Object.defineProperty, fi = Object.getOwnPropertyDescriptor, ne = (o, t, e, n) => {
3765
3768
  for (var i = n > 1 ? void 0 : n ? fi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
3766
3769
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
3767
3770
  return n && i && ui(t, e, i), i;
3768
3771
  };
3769
- let kt = class extends u {
3772
+ let _t = class extends u {
3770
3773
  constructor() {
3771
3774
  super(...arguments), this.option = {}, this.imageSize = 64;
3772
3775
  }
@@ -3787,7 +3790,7 @@ let kt = class extends u {
3787
3790
  return t ? l`<a href="${P(this.option.url)}" class="reassurance-item clickable">${r}</a>` : l`<div class="reassurance-item">${r}</div>`;
3788
3791
  }
3789
3792
  };
3790
- kt.styles = f`
3793
+ _t.styles = f`
3791
3794
  :host {
3792
3795
  display: inline-block;
3793
3796
  position: relative;
@@ -3869,21 +3872,21 @@ kt.styles = f`
3869
3872
  overflow: hidden;
3870
3873
  }
3871
3874
  `;
3872
- oe([
3875
+ ne([
3873
3876
  a({ type: Object, reflect: !0 })
3874
- ], kt.prototype, "option", 2);
3875
- oe([
3877
+ ], _t.prototype, "option", 2);
3878
+ ne([
3876
3879
  a({ type: Number, reflect: !0 })
3877
- ], kt.prototype, "imageSize", 2);
3878
- kt = oe([
3880
+ ], _t.prototype, "imageSize", 2);
3881
+ _t = ne([
3879
3882
  y("o-reassurance")
3880
- ], kt);
3883
+ ], _t);
3881
3884
  var vi = Object.defineProperty, gi = Object.getOwnPropertyDescriptor, X = (o, t, e, n) => {
3882
3885
  for (var i = n > 1 ? void 0 : n ? gi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
3883
3886
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
3884
3887
  return n && i && vi(t, e, i), i;
3885
3888
  };
3886
- const bi = Xt(u);
3889
+ const bi = Jt(u);
3887
3890
  let O = class extends bi {
3888
3891
  constructor() {
3889
3892
  super(...arguments), this.link = "", this.name = "", this.value = "", this.text = "", this.size = "standard", this.selected = !1, this.fullwidth = !1, this.inactive = !1;
@@ -4029,12 +4032,12 @@ X([
4029
4032
  O = X([
4030
4033
  y("o-chip")
4031
4034
  ], O);
4032
- var yi = Object.defineProperty, mi = Object.getOwnPropertyDescriptor, ie = (o, t, e, n) => {
4035
+ var yi = Object.defineProperty, mi = Object.getOwnPropertyDescriptor, re = (o, t, e, n) => {
4033
4036
  for (var i = n > 1 ? void 0 : n ? mi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
4034
4037
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
4035
4038
  return n && i && yi(t, e, i), i;
4036
4039
  };
4037
- let _t = class extends u {
4040
+ let Ct = class extends u {
4038
4041
  constructor() {
4039
4042
  super(), this.name = "", this.value = "", this.addEventListener("selected", this.onChipSelected);
4040
4043
  }
@@ -4050,7 +4053,7 @@ let _t = class extends u {
4050
4053
  `;
4051
4054
  }
4052
4055
  };
4053
- _t.styles = f`
4056
+ Ct.styles = f`
4054
4057
  :host {
4055
4058
  display: flex;
4056
4059
  flex-direction: row;
@@ -4058,21 +4061,21 @@ _t.styles = f`
4058
4061
  gap: var(--spacing-s);
4059
4062
  }
4060
4063
  `;
4061
- ie([
4064
+ re([
4062
4065
  a({ reflect: !0 })
4063
- ], _t.prototype, "name", 2);
4064
- ie([
4066
+ ], Ct.prototype, "name", 2);
4067
+ re([
4065
4068
  a({ reflect: !0 })
4066
- ], _t.prototype, "value", 2);
4067
- _t = ie([
4069
+ ], Ct.prototype, "value", 2);
4070
+ Ct = re([
4068
4071
  y("o-chipset")
4069
- ], _t);
4072
+ ], Ct);
4070
4073
  var xi = Object.defineProperty, wi = Object.getOwnPropertyDescriptor, N = (o, t, e, n) => {
4071
4074
  for (var i = n > 1 ? void 0 : n ? wi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
4072
4075
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
4073
4076
  return n && i && xi(t, e, i), i;
4074
4077
  };
4075
- const $i = Xt(u);
4078
+ const $i = Jt(u);
4076
4079
  let I = class extends $i {
4077
4080
  constructor() {
4078
4081
  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";
@@ -4281,7 +4284,7 @@ var ki = Object.defineProperty, M = (o, t, e, n) => {
4281
4284
  (s = o[r]) && (i = s(t, e, i) || i);
4282
4285
  return i && ki(t, e, i), i;
4283
4286
  };
4284
- const se = class se extends u {
4287
+ const ae = class ae extends u {
4285
4288
  constructor() {
4286
4289
  super(...arguments), this.type = "cart | chevron", this.titleProduct = "", this.volume = "", this.perLiter = "", this.mainPrice = "", this.imageUrl = "https://placehold.co/56x70", this.altImage = "", this.fullwidth = !1, this.tagText = "";
4287
4290
  }
@@ -4347,7 +4350,7 @@ const se = class se extends u {
4347
4350
  `;
4348
4351
  }
4349
4352
  };
4350
- se.styles = f`
4353
+ ae.styles = f`
4351
4354
  :host {
4352
4355
  display: block;
4353
4356
  max-width: 100%;
@@ -4460,7 +4463,7 @@ se.styles = f`
4460
4463
  cursor: pointer;
4461
4464
  }
4462
4465
  `;
4463
- let E = se;
4466
+ let E = ae;
4464
4467
  M([
4465
4468
  a({ type: String })
4466
4469
  ], E.prototype, "type");
@@ -4495,24 +4498,24 @@ M([
4495
4498
  a({ attribute: !1 })
4496
4499
  ], E.prototype, "onClickIcon");
4497
4500
  customElements.define("mini-tile", E);
4498
- var _i = Object.defineProperty, Ci = Object.getOwnPropertyDescriptor, ne = (o, t, e, n) => {
4501
+ var _i = Object.defineProperty, Ci = Object.getOwnPropertyDescriptor, Ht = (o, t, e, n) => {
4499
4502
  for (var i = n > 1 ? void 0 : n ? Ci(t, e) : t, r = o.length - 1, s; r >= 0; r--)
4500
4503
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
4501
4504
  return n && i && _i(t, e, i), i;
4502
4505
  };
4503
- let Ct = class extends u {
4506
+ let ut = class extends u {
4504
4507
  constructor() {
4505
- super(...arguments), this.variant = "cart", this.text = "";
4508
+ super(...arguments), this.variant = "cart", this.text = 0, this.srlabel = "";
4506
4509
  }
4507
4510
  render() {
4508
4511
  return l`
4509
4512
  <span class="badge">
4510
- ${this.text ? this.text : l`<slot></slot>`}
4513
+ ${this.text ? l`${this.text} <span class="sr-only">${this.srlabel}</span>` : l`<slot></slot>`}
4511
4514
  </span>
4512
4515
  `;
4513
4516
  }
4514
4517
  };
4515
- Ct.styles = f`
4518
+ ut.styles = f`
4516
4519
  :host([variant]) {
4517
4520
  --badge-width: 19px;
4518
4521
  display: inline-block;
@@ -4546,16 +4549,22 @@ Ct.styles = f`
4546
4549
  color: var(--text-color);
4547
4550
  }
4548
4551
 
4552
+ .sr-only {
4553
+ ${Xt}
4554
+ }
4549
4555
  `;
4550
- ne([
4556
+ Ht([
4551
4557
  a({ type: String, reflect: !0 })
4552
- ], Ct.prototype, "variant", 2);
4553
- ne([
4558
+ ], ut.prototype, "variant", 2);
4559
+ Ht([
4560
+ a({ type: Number })
4561
+ ], ut.prototype, "text", 2);
4562
+ Ht([
4554
4563
  a({ type: String })
4555
- ], Ct.prototype, "text", 2);
4556
- Ct = ne([
4564
+ ], ut.prototype, "srlabel", 2);
4565
+ ut = Ht([
4557
4566
  y("o-badge")
4558
- ], Ct);
4567
+ ], ut);
4559
4568
  var Si = Object.defineProperty, Ei = Object.getOwnPropertyDescriptor, H = (o, t, e, n) => {
4560
4569
  for (var i = n > 1 ? void 0 : n ? Ei(t, e) : t, r = o.length - 1, s; r >= 0; r--)
4561
4570
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
@@ -4915,7 +4924,7 @@ j([
4915
4924
  a({ type: String, reflect: !0 })
4916
4925
  ], L.prototype, "inputId", 2);
4917
4926
  j([
4918
- Ce("input")
4927
+ Se("input")
4919
4928
  ], L.prototype, "inputEl", 2);
4920
4929
  L = j([
4921
4930
  y("o-checkbox")
@@ -5074,7 +5083,7 @@ q([
5074
5083
  a({ type: String, reflect: !0 })
5075
5084
  ], D.prototype, "inputId", 2);
5076
5085
  q([
5077
- Ce("input")
5086
+ Se("input")
5078
5087
  ], D.prototype, "inputEl", 2);
5079
5088
  D = q([
5080
5089
  y("o-radio")
@@ -5084,7 +5093,7 @@ var Ii = Object.getOwnPropertyDescriptor, Di = (o, t, e, n) => {
5084
5093
  (s = o[r]) && (i = s(i) || i);
5085
5094
  return i;
5086
5095
  };
5087
- let qt = class extends u {
5096
+ let Vt = class extends u {
5088
5097
  render() {
5089
5098
  return l`
5090
5099
  <nav aria-label="Breadcrumbs">
@@ -5095,7 +5104,7 @@ let qt = class extends u {
5095
5104
  `;
5096
5105
  }
5097
5106
  };
5098
- qt.styles = f`
5107
+ Vt.styles = f`
5099
5108
  nav {
5100
5109
  max-width: 144rem;
5101
5110
  margin: auto;
@@ -5107,10 +5116,10 @@ qt.styles = f`
5107
5116
  padding: var(--spacing-4-xs);
5108
5117
  }
5109
5118
  `;
5110
- qt = Di([
5119
+ Vt = Di([
5111
5120
  y("o-breadcrumbs")
5112
- ], qt);
5113
- var Hi = Object.defineProperty, Ti = Object.getOwnPropertyDescriptor, re = (o, t, e, n) => {
5121
+ ], Vt);
5122
+ var Hi = Object.defineProperty, Ti = Object.getOwnPropertyDescriptor, se = (o, t, e, n) => {
5114
5123
  for (var i = n > 1 ? void 0 : n ? Ti(t, e) : t, r = o.length - 1, s; r >= 0; r--)
5115
5124
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
5116
5125
  return n && i && Hi(t, e, i), i;
@@ -5178,16 +5187,16 @@ St.styles = f`
5178
5187
  outline: none !important;
5179
5188
  }
5180
5189
  `;
5181
- re([
5190
+ se([
5182
5191
  a({ type: String })
5183
5192
  ], St.prototype, "href", 2);
5184
- re([
5193
+ se([
5185
5194
  a({ type: Boolean, reflect: !0 })
5186
5195
  ], St.prototype, "active", 2);
5187
- St = re([
5196
+ St = se([
5188
5197
  y("o-breadcrumb")
5189
5198
  ], St);
5190
- var Mi = Object.defineProperty, ji = Object.getOwnPropertyDescriptor, ut = (o, t, e, n) => {
5199
+ var Mi = Object.defineProperty, ji = Object.getOwnPropertyDescriptor, ft = (o, t, e, n) => {
5191
5200
  for (var i = n > 1 ? void 0 : n ? ji(t, e) : t, r = o.length - 1, s; r >= 0; r--)
5192
5201
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
5193
5202
  return n && i && Mi(t, e, i), i;
@@ -5284,22 +5293,22 @@ et.styles = f`
5284
5293
  opacity: var(--overlay-opacity, 1);
5285
5294
  }
5286
5295
  `;
5287
- ut([
5296
+ ft([
5288
5297
  a({ type: String })
5289
5298
  ], et.prototype, "imageUrl", 2);
5290
- ut([
5299
+ ft([
5291
5300
  a({ type: String })
5292
5301
  ], et.prototype, "imageAlt", 2);
5293
- ut([
5302
+ ft([
5294
5303
  a({ type: String })
5295
5304
  ], et.prototype, "hoverUrl", 2);
5296
- ut([
5305
+ ft([
5297
5306
  a({ type: String })
5298
5307
  ], et.prototype, "hoverAlt", 2);
5299
- ut([
5308
+ ft([
5300
5309
  a({ type: Boolean, reflect: !0 })
5301
5310
  ], et.prototype, "dimmed", 2);
5302
- et = ut([
5311
+ et = ft([
5303
5312
  y("o-arch-image")
5304
5313
  ], et);
5305
5314
  const Fi = `<?xml version="1.0" encoding="UTF-8" standalone="no"?>
@@ -5388,7 +5397,7 @@ var Ri = Object.defineProperty, Ui = Object.getOwnPropertyDescriptor, C = (o, t,
5388
5397
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
5389
5398
  return n && i && Ri(t, e, i), i;
5390
5399
  };
5391
- const ae = class ae extends u {
5400
+ const le = class le extends u {
5392
5401
  constructor() {
5393
5402
  super(...arguments), this.ispagedesigner = !1, this._classPopin = "", this.open = !1, this.background = "", this.backgroundUrl = "", this.closeOnEsc = !0, this.closeOnBackdrop = !0, this.lockScroll = !0, this.variant = "fullscreen", this.maxWidth = "640px", this.showBackButton = !1, this.contrast = !1, this.iconSize = "large", this.hideHeaderOnScroll = !1, this._labelId = `title-${Math.random().toString(36).slice(2)}`, this._headerHidden = !1, this._onBackdropClick = (t) => {
5394
5403
  var n;
@@ -5517,7 +5526,7 @@ const ae = class ae extends u {
5517
5526
  `;
5518
5527
  }
5519
5528
  };
5520
- ae.styles = f`
5529
+ le.styles = f`
5521
5530
  :host {
5522
5531
  position: fixed;
5523
5532
  inset: 0;
@@ -5653,7 +5662,7 @@ ae.styles = f`
5653
5662
  to { transform: translateY(0) scale(1); opacity: 1; }
5654
5663
  }
5655
5664
  `;
5656
- let $ = ae;
5665
+ let $ = le;
5657
5666
  C([
5658
5667
  a({ type: Boolean, reflect: !0 })
5659
5668
  ], $.prototype, "ispagedesigner", 2);