@florid-kit/components 0.8.63 → 0.8.64

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 bt = globalThis, It = bt.ShadowRoot && (bt.ShadyCSS === void 0 || bt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Bt = Symbol(), Kt = /* @__PURE__ */ new WeakMap();
6
+ const yt = globalThis, zt = yt.ShadowRoot && (yt.ShadyCSS === void 0 || yt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Bt = Symbol(), Kt = /* @__PURE__ */ new WeakMap();
7
7
  let se = class {
8
- constructor(t, e, n) {
9
- if (this._$cssResult$ = !0, n !== Bt) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
8
+ constructor(t, e, r) {
9
+ if (this._$cssResult$ = !0, r !== Bt) 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 (It && t === void 0) {
16
- const n = e !== void 0 && e.length === 1;
17
- n && (t = Kt.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), n && Kt.set(e, t));
15
+ if (zt && t === void 0) {
16
+ const r = e !== void 0 && e.length === 1;
17
+ r && (t = Kt.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), r && Kt.set(e, t));
18
18
  }
19
19
  return t;
20
20
  }
@@ -22,22 +22,22 @@ let se = class {
22
22
  return this.cssText;
23
23
  }
24
24
  };
25
- const ue = (o) => new se(typeof o == "string" ? o : o + "", void 0, Bt), b = (o, ...t) => {
26
- const e = o.length === 1 ? o[0] : t.reduce((n, i, r) => n + ((s) => {
25
+ const ue = (o) => new se(typeof o == "string" ? o : o + "", void 0, Bt), g = (o, ...t) => {
26
+ const e = o.length === 1 ? o[0] : t.reduce((r, i, n) => r + ((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[r + 1], o[0]);
30
+ })(i) + o[n + 1], o[0]);
31
31
  return new se(e, o, Bt);
32
32
  }, ve = (o, t) => {
33
- if (It) 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
- const n = document.createElement("style"), i = bt.litNonce;
36
- i !== void 0 && n.setAttribute("nonce", i), n.textContent = e.cssText, o.appendChild(n);
35
+ const r = document.createElement("style"), i = yt.litNonce;
36
+ i !== void 0 && r.setAttribute("nonce", i), r.textContent = e.cssText, o.appendChild(r);
37
37
  }
38
- }, Gt = It ? (o) => o : (o) => o instanceof CSSStyleSheet ? ((t) => {
38
+ }, Gt = zt ? (o) => o : (o) => o instanceof CSSStyleSheet ? ((t) => {
39
39
  let e = "";
40
- for (const n of t.cssRules) e += n.cssText;
40
+ for (const r of t.cssRules) e += r.cssText;
41
41
  return ue(e);
42
42
  })(o) : o;
43
43
  /**
@@ -45,10 +45,10 @@ const ue = (o) => new se(typeof o == "string" ? o : o + "", void 0, Bt), b = (o,
45
45
  * Copyright 2017 Google LLC
46
46
  * SPDX-License-Identifier: BSD-3-Clause
47
47
  */
48
- const { is: fe, defineProperty: ge, getOwnPropertyDescriptor: be, getOwnPropertyNames: ye, getOwnPropertySymbols: me, getPrototypeOf: we } = Object, R = globalThis, Xt = R.trustedTypes, xe = Xt ? Xt.emptyScript : "", Ct = R.reactiveElementPolyfillSupport, ot = (o, t) => o, yt = { toAttribute(o, t) {
48
+ const { is: fe, defineProperty: be, getOwnPropertyDescriptor: ge, getOwnPropertyNames: ye, getOwnPropertySymbols: me, getPrototypeOf: xe } = Object, U = globalThis, Xt = U.trustedTypes, we = Xt ? Xt.emptyScript : "", kt = U.reactiveElementPolyfillSupport, rt = (o, t) => o, mt = { toAttribute(o, t) {
49
49
  switch (t) {
50
50
  case Boolean:
51
- o = o ? xe : null;
51
+ o = o ? we : null;
52
52
  break;
53
53
  case Object:
54
54
  case Array:
@@ -73,9 +73,9 @@ const { is: fe, defineProperty: ge, getOwnPropertyDescriptor: be, getOwnProperty
73
73
  }
74
74
  }
75
75
  return e;
76
- } }, zt = (o, t) => !fe(o, t), Jt = { attribute: !0, type: String, converter: yt, reflect: !1, useDefault: !1, hasChanged: zt };
77
- Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), R.litPropertyMetadata ?? (R.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
78
- let J = class extends HTMLElement {
76
+ } }, Dt = (o, t) => !fe(o, t), Jt = { attribute: !0, type: String, converter: mt, reflect: !1, useDefault: !1, hasChanged: Dt };
77
+ Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), U.litPropertyMetadata ?? (U.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
78
+ let Y = class extends HTMLElement {
79
79
  static addInitializer(t) {
80
80
  this._$Ei(), (this.l ?? (this.l = [])).push(t);
81
81
  }
@@ -84,43 +84,43 @@ let J = class extends HTMLElement {
84
84
  }
85
85
  static createProperty(t, e = Jt) {
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 n = Symbol(), i = this.getPropertyDescriptor(t, n, e);
88
- i !== void 0 && ge(this.prototype, t, i);
87
+ const r = Symbol(), i = this.getPropertyDescriptor(t, r, e);
88
+ i !== void 0 && be(this.prototype, t, i);
89
89
  }
90
90
  }
91
- static getPropertyDescriptor(t, e, n) {
92
- const { get: i, set: r } = be(this.prototype, t) ?? { get() {
91
+ static getPropertyDescriptor(t, e, r) {
92
+ const { get: i, set: n } = ge(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
- r == null || r.call(this, s), this.requestUpdate(t, h, n);
99
+ n == null || n.call(this, s), this.requestUpdate(t, h, r);
100
100
  }, configurable: !0, enumerable: !0 };
101
101
  }
102
102
  static getPropertyOptions(t) {
103
103
  return this.elementProperties.get(t) ?? Jt;
104
104
  }
105
105
  static _$Ei() {
106
- if (this.hasOwnProperty(ot("elementProperties"))) return;
107
- const t = we(this);
106
+ if (this.hasOwnProperty(rt("elementProperties"))) return;
107
+ const t = xe(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(ot("finalized"))) return;
112
- if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(ot("properties"))) {
113
- const e = this.properties, n = [...ye(e), ...me(e)];
114
- for (const i of n) this.createProperty(i, e[i]);
111
+ if (this.hasOwnProperty(rt("finalized"))) return;
112
+ if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(rt("properties"))) {
113
+ const e = this.properties, r = [...ye(e), ...me(e)];
114
+ for (const i of r) 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 [n, i] of e) this.elementProperties.set(n, i);
119
+ if (e !== void 0) for (const [r, i] of e) this.elementProperties.set(r, i);
120
120
  }
121
121
  this._$Eh = /* @__PURE__ */ new Map();
122
- for (const [e, n] of this.elementProperties) {
123
- const i = this._$Eu(e, n);
122
+ for (const [e, r] of this.elementProperties) {
123
+ const i = this._$Eu(e, r);
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 J = class extends HTMLElement {
128
128
  static finalizeStyles(t) {
129
129
  const e = [];
130
130
  if (Array.isArray(t)) {
131
- const n = new Set(t.flat(1 / 0).reverse());
132
- for (const i of n) e.unshift(Gt(i));
131
+ const r = new Set(t.flat(1 / 0).reverse());
132
+ for (const i of r) e.unshift(Gt(i));
133
133
  } else t !== void 0 && e.push(Gt(t));
134
134
  return e;
135
135
  }
136
136
  static _$Eu(t, e) {
137
- const n = e.attribute;
138
- return n === !1 ? void 0 : typeof n == "string" ? n : typeof t == "string" ? t.toLowerCase() : void 0;
137
+ const r = e.attribute;
138
+ return r === !1 ? void 0 : typeof r == "string" ? r : 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 J = class extends HTMLElement {
154
154
  }
155
155
  _$E_() {
156
156
  const t = /* @__PURE__ */ new Map(), e = this.constructor.elementProperties;
157
- for (const n of e.keys()) this.hasOwnProperty(n) && (t.set(n, this[n]), delete this[n]);
157
+ for (const r of e.keys()) this.hasOwnProperty(r) && (t.set(r, this[r]), delete this[r]);
158
158
  t.size > 0 && (this._$Ep = t);
159
159
  }
160
160
  createRenderRoot() {
@@ -164,8 +164,8 @@ let J = 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 n;
168
- return (n = e.hostConnected) == null ? void 0 : n.call(e);
167
+ var r;
168
+ return (r = e.hostConnected) == null ? void 0 : r.call(e);
169
169
  });
170
170
  }
171
171
  enableUpdating(t) {
@@ -173,40 +173,40 @@ let J = class extends HTMLElement {
173
173
  disconnectedCallback() {
174
174
  var t;
175
175
  (t = this._$EO) == null || t.forEach((e) => {
176
- var n;
177
- return (n = e.hostDisconnected) == null ? void 0 : n.call(e);
176
+ var r;
177
+ return (r = e.hostDisconnected) == null ? void 0 : r.call(e);
178
178
  });
179
179
  }
180
- attributeChangedCallback(t, e, n) {
181
- this._$AK(t, n);
180
+ attributeChangedCallback(t, e, r) {
181
+ this._$AK(t, r);
182
182
  }
183
183
  _$ET(t, e) {
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 : yt).toAttribute(e, n.type);
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 : mt).toAttribute(e, r.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 r, s;
193
- const n = this.constructor, i = n._$Eh.get(t);
192
+ var n, s;
193
+ const r = this.constructor, i = r._$Eh.get(t);
194
194
  if (i !== void 0 && this._$Em !== i) {
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 : yt;
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 : mt;
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, n) {
199
+ requestUpdate(t, e, r) {
200
200
  var i;
201
201
  if (t !== void 0) {
202
- const r = this.constructor, s = this[t];
203
- if (n ?? (n = r.getPropertyOptions(t)), !((n.hasChanged ?? zt)(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);
202
+ const n = this.constructor, s = this[t];
203
+ if (r ?? (r = n.getPropertyOptions(t)), !((r.hasChanged ?? Dt)(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);
205
205
  }
206
206
  this.isUpdatePending === !1 && (this._$ES = this._$EP());
207
207
  }
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));
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));
210
210
  }
211
211
  async _$EP() {
212
212
  this.isUpdatePending = !0;
@@ -222,25 +222,25 @@ let J = class extends HTMLElement {
222
222
  return this.performUpdate();
223
223
  }
224
224
  performUpdate() {
225
- var n;
225
+ var r;
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 [r, s] of this._$Ep) this[r] = s;
229
+ for (const [n, s] of this._$Ep) this[n] = s;
230
230
  this._$Ep = void 0;
231
231
  }
232
232
  const i = this.constructor.elementProperties;
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);
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);
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), (n = this._$EO) == null || n.forEach((i) => {
242
- var r;
243
- return (r = i.hostUpdate) == null ? void 0 : r.call(i);
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);
244
244
  }), this.update(e)) : this._$EM();
245
245
  } catch (i) {
246
246
  throw t = !1, this._$EM(), i;
@@ -251,9 +251,9 @@ let J = class extends HTMLElement {
251
251
  }
252
252
  _$AE(t) {
253
253
  var e;
254
- (e = this._$EO) == null || e.forEach((n) => {
254
+ (e = this._$EO) == null || e.forEach((r) => {
255
255
  var i;
256
- return (i = n.hostUpdated) == null ? void 0 : i.call(n);
256
+ return (i = r.hostUpdated) == null ? void 0 : i.call(r);
257
257
  }), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
258
258
  }
259
259
  _$EM() {
@@ -276,74 +276,74 @@ let J = class extends HTMLElement {
276
276
  firstUpdated(t) {
277
277
  }
278
278
  };
279
- J.elementStyles = [], J.shadowRootOptions = { mode: "open" }, J[ot("elementProperties")] = /* @__PURE__ */ new Map(), J[ot("finalized")] = /* @__PURE__ */ new Map(), Ct == null || Ct({ ReactiveElement: J }), (R.reactiveElementVersions ?? (R.reactiveElementVersions = [])).push("2.1.0");
279
+ Y.elementStyles = [], Y.shadowRootOptions = { mode: "open" }, Y[rt("elementProperties")] = /* @__PURE__ */ new Map(), Y[rt("finalized")] = /* @__PURE__ */ new Map(), kt == null || kt({ ReactiveElement: Y }), (U.reactiveElementVersions ?? (U.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 it = globalThis, mt = it.trustedTypes, Qt = mt ? mt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, ae = "$lit$", F = `lit$${Math.random().toFixed(9).slice(2)}$`, le = "?" + F, $e = `<${le}>`, W = document, rt = () => W.createComment(""), st = (o) => o === null || typeof o != "object" && typeof o != "function", Dt = Array.isArray, _e = (o) => Dt(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", kt = `[
286
- \f\r]`, et = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Yt = /-->/g, te = />/g, V = RegExp(`>|${kt}(?:([^\\s"'>=/]+)(${kt}*=${kt}*(?:[^
287
- \f\r"'\`<>=]|("|')|))|$)`, "g"), ee = /'/g, oe = /"/g, ce = /^(?:script|style|textarea|title)$/i, Ce = (o) => (t, ...e) => ({ _$litType$: o, strings: t, values: e }), l = Ce(1), U = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), ie = /* @__PURE__ */ new WeakMap(), Z = W.createTreeWalker(W, 129);
285
+ const nt = globalThis, xt = nt.trustedTypes, Qt = xt ? xt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, ae = "$lit$", R = `lit$${Math.random().toFixed(9).slice(2)}$`, le = "?" + R, $e = `<${le}>`, G = document, at = () => G.createComment(""), lt = (o) => o === null || typeof o != "object" && typeof o != "function", Ht = Array.isArray, _e = (o) => Ht(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", At = `[
286
+ \f\r]`, it = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Yt = /-->/g, te = />/g, q = RegExp(`>|${At}(?:([^\\s"'>=/]+)(${At}*=${At}*(?:[^
287
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), ee = /'/g, oe = /"/g, ce = /^(?:script|style|textarea|title)$/i, Ce = (o) => (t, ...e) => ({ _$litType$: o, strings: t, values: e }), l = Ce(1), V = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), ie = /* @__PURE__ */ new WeakMap(), W = G.createTreeWalker(G, 129);
288
288
  function he(o, t) {
289
- if (!Dt(o) || !o.hasOwnProperty("raw")) throw Error("invalid template strings array");
289
+ if (!Ht(o) || !o.hasOwnProperty("raw")) throw Error("invalid template strings array");
290
290
  return Qt !== void 0 ? Qt.createHTML(t) : t;
291
291
  }
292
292
  const ke = (o, t) => {
293
- const e = o.length - 1, n = [];
294
- let i, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", s = et;
293
+ const e = o.length - 1, r = [];
294
+ let i, n = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", s = it;
295
295
  for (let h = 0; h < e; h++) {
296
296
  const c = o[h];
297
- let f, m, p = -1, $ = 0;
298
- for (; $ < c.length && (s.lastIndex = $, m = s.exec(c), m !== null); ) $ = s.lastIndex, s === et ? m[1] === "!--" ? s = Yt : m[1] !== void 0 ? s = te : m[2] !== void 0 ? (ce.test(m[2]) && (i = RegExp("</" + m[2], "g")), s = V) : m[3] !== void 0 && (s = V) : s === V ? m[0] === ">" ? (s = i ?? et, p = -1) : m[1] === void 0 ? p = -2 : (p = s.lastIndex - m[2].length, f = m[1], s = m[3] === void 0 ? V : m[3] === '"' ? oe : ee) : s === oe || s === ee ? s = V : s === Yt || s === te ? s = et : (s = V, i = void 0);
299
- const L = s === V && o[h + 1].startsWith("/>") ? " " : "";
300
- r += s === et ? c + $e : p >= 0 ? (n.push(f), c.slice(0, p) + ae + c.slice(p) + F + L) : c + F + (p === -2 ? h : L);
297
+ let f, m, p = -1, _ = 0;
298
+ for (; _ < c.length && (s.lastIndex = _, m = s.exec(c), m !== null); ) _ = s.lastIndex, s === it ? m[1] === "!--" ? s = Yt : m[1] !== void 0 ? s = te : m[2] !== void 0 ? (ce.test(m[2]) && (i = RegExp("</" + m[2], "g")), s = q) : m[3] !== void 0 && (s = q) : s === q ? m[0] === ">" ? (s = i ?? it, p = -1) : m[1] === void 0 ? p = -2 : (p = s.lastIndex - m[2].length, f = m[1], s = m[3] === void 0 ? q : m[3] === '"' ? oe : ee) : s === oe || s === ee ? s = q : s === Yt || s === te ? s = it : (s = q, i = void 0);
299
+ const P = s === q && o[h + 1].startsWith("/>") ? " " : "";
300
+ n += s === it ? c + $e : p >= 0 ? (r.push(f), c.slice(0, p) + ae + c.slice(p) + R + P) : c + R + (p === -2 ? h : P);
301
301
  }
302
- return [he(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), n];
302
+ return [he(o, n + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), r];
303
303
  };
304
- class at {
305
- constructor({ strings: t, _$litType$: e }, n) {
304
+ class ct {
305
+ constructor({ strings: t, _$litType$: e }, r) {
306
306
  let i;
307
307
  this.parts = [];
308
- let r = 0, s = 0;
308
+ let n = 0, s = 0;
309
309
  const h = t.length - 1, c = this.parts, [f, m] = ke(t, e);
310
- if (this.el = at.createElement(f, n), Z.currentNode = this.el.content, e === 2 || e === 3) {
310
+ if (this.el = ct.createElement(f, r), W.currentNode = this.el.content, e === 2 || e === 3) {
311
311
  const p = this.el.content.firstChild;
312
312
  p.replaceWith(...p.childNodes);
313
313
  }
314
- for (; (i = Z.nextNode()) !== null && c.length < h; ) {
314
+ for (; (i = W.nextNode()) !== null && c.length < h; ) {
315
315
  if (i.nodeType === 1) {
316
316
  if (i.hasAttributes()) for (const p of i.getAttributeNames()) if (p.endsWith(ae)) {
317
- const $ = m[s++], L = i.getAttribute(p).split(F), gt = /([.?@])?(.*)/.exec($);
318
- c.push({ type: 1, index: r, name: gt[2], strings: L, ctor: gt[1] === "." ? Ee : gt[1] === "?" ? Se : gt[1] === "@" ? Le : xt }), i.removeAttribute(p);
319
- } else p.startsWith(F) && (c.push({ type: 6, index: r }), i.removeAttribute(p));
317
+ const _ = m[s++], P = i.getAttribute(p).split(R), gt = /([.?@])?(.*)/.exec(_);
318
+ c.push({ type: 1, index: n, name: gt[2], strings: P, ctor: gt[1] === "." ? Se : gt[1] === "?" ? Ee : gt[1] === "@" ? Le : $t }), i.removeAttribute(p);
319
+ } else p.startsWith(R) && (c.push({ type: 6, index: n }), i.removeAttribute(p));
320
320
  if (ce.test(i.tagName)) {
321
- const p = i.textContent.split(F), $ = p.length - 1;
322
- if ($ > 0) {
323
- i.textContent = mt ? mt.emptyScript : "";
324
- for (let L = 0; L < $; L++) i.append(p[L], rt()), Z.nextNode(), c.push({ type: 2, index: ++r });
325
- i.append(p[$], rt());
321
+ const p = i.textContent.split(R), _ = p.length - 1;
322
+ if (_ > 0) {
323
+ i.textContent = xt ? xt.emptyScript : "";
324
+ for (let P = 0; P < _; P++) i.append(p[P], at()), W.nextNode(), c.push({ type: 2, index: ++n });
325
+ i.append(p[_], at());
326
326
  }
327
327
  }
328
- } else if (i.nodeType === 8) if (i.data === le) c.push({ type: 2, index: r });
328
+ } else if (i.nodeType === 8) if (i.data === le) c.push({ type: 2, index: n });
329
329
  else {
330
330
  let p = -1;
331
- for (; (p = i.data.indexOf(F, p + 1)) !== -1; ) c.push({ type: 7, index: r }), p += F.length - 1;
331
+ for (; (p = i.data.indexOf(R, p + 1)) !== -1; ) c.push({ type: 7, index: n }), p += R.length - 1;
332
332
  }
333
- r++;
333
+ n++;
334
334
  }
335
335
  }
336
336
  static createElement(t, e) {
337
- const n = W.createElement("template");
338
- return n.innerHTML = t, n;
337
+ const r = G.createElement("template");
338
+ return r.innerHTML = t, r;
339
339
  }
340
340
  }
341
- function Q(o, t, e = o, n) {
341
+ function tt(o, t, e = o, r) {
342
342
  var s, h;
343
- if (t === U) return t;
344
- let i = n !== void 0 ? (s = e._$Co) == null ? void 0 : s[n] : e._$Cl;
345
- const r = st(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 = Q(o, i._$AS(o, t.values), i, n)), t;
343
+ if (t === V) return t;
344
+ let i = r !== void 0 ? (s = e._$Co) == null ? void 0 : s[r] : e._$Cl;
345
+ const n = lt(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 = tt(o, i._$AS(o, t.values), i, r)), t;
347
347
  }
348
348
  class Ae {
349
349
  constructor(t, e) {
@@ -356,30 +356,30 @@ class Ae {
356
356
  return this._$AM._$AU;
357
357
  }
358
358
  u(t) {
359
- const { el: { content: e }, parts: n } = this._$AD, i = ((t == null ? void 0 : t.creationScope) ?? W).importNode(e, !0);
360
- Z.currentNode = i;
361
- let r = Z.nextNode(), s = 0, h = 0, c = n[0];
359
+ const { el: { content: e }, parts: r } = this._$AD, i = ((t == null ? void 0 : t.creationScope) ?? G).importNode(e, !0);
360
+ W.currentNode = i;
361
+ let n = W.nextNode(), s = 0, h = 0, c = r[0];
362
362
  for (; c !== void 0; ) {
363
363
  if (s === c.index) {
364
364
  let f;
365
- c.type === 2 ? f = new vt(r, r.nextSibling, this, t) : c.type === 1 ? f = new c.ctor(r, c.name, c.strings, this, t) : c.type === 6 && (f = new Pe(r, this, t)), this._$AV.push(f), c = n[++h];
365
+ c.type === 2 ? f = new ft(n, n.nextSibling, this, t) : c.type === 1 ? f = new c.ctor(n, c.name, c.strings, this, t) : c.type === 6 && (f = new Pe(n, this, t)), this._$AV.push(f), c = r[++h];
366
366
  }
367
- s !== (c == null ? void 0 : c.index) && (r = Z.nextNode(), s++);
367
+ s !== (c == null ? void 0 : c.index) && (n = W.nextNode(), s++);
368
368
  }
369
- return Z.currentNode = W, i;
369
+ return W.currentNode = G, i;
370
370
  }
371
371
  p(t) {
372
372
  let e = 0;
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++;
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++;
374
374
  }
375
375
  }
376
- class vt {
376
+ class ft {
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, 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;
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;
383
383
  }
384
384
  get parentNode() {
385
385
  let t = this._$AA.parentNode;
@@ -393,7 +393,7 @@ class vt {
393
393
  return this._$AB;
394
394
  }
395
395
  _$AI(t, e = this) {
396
- t = Q(this, t, e), st(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== U && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : _e(t) ? this.k(t) : this._(t);
396
+ t = tt(this, t, e), lt(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== V && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : _e(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 vt {
402
402
  this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
403
403
  }
404
404
  _(t) {
405
- this._$AH !== d && st(this._$AH) ? this._$AA.nextSibling.data = t : this.T(W.createTextNode(t)), this._$AH = t;
405
+ this._$AH !== d && lt(this._$AH) ? this._$AA.nextSibling.data = t : this.T(G.createTextNode(t)), this._$AH = t;
406
406
  }
407
407
  $(t) {
408
- var r;
409
- const { values: e, _$litType$: n } = t, i = typeof n == "number" ? this._$AC(t) : (n.el === void 0 && (n.el = at.createElement(he(n.h, n.h[0]), this.options)), n);
410
- if (((r = this._$AH) == null ? void 0 : r._$AD) === i) this._$AH.p(e);
408
+ var n;
409
+ const { values: e, _$litType$: r } = t, i = typeof r == "number" ? this._$AC(t) : (r.el === void 0 && (r.el = ct.createElement(he(r.h, r.h[0]), this.options)), r);
410
+ if (((n = this._$AH) == null ? void 0 : n._$AD) === i) this._$AH.p(e);
411
411
  else {
412
412
  const s = new Ae(i, this), h = s.u(this.options);
413
413
  s.p(e), this.T(h), this._$AH = s;
@@ -415,18 +415,18 @@ class vt {
415
415
  }
416
416
  _$AC(t) {
417
417
  let e = ie.get(t.strings);
418
- return e === void 0 && ie.set(t.strings, e = new at(t)), e;
418
+ return e === void 0 && ie.set(t.strings, e = new ct(t)), e;
419
419
  }
420
420
  k(t) {
421
- Dt(this._$AH) || (this._$AH = [], this._$AR());
421
+ Ht(this._$AH) || (this._$AH = [], this._$AR());
422
422
  const e = this._$AH;
423
- let n, i = 0;
424
- for (const r of t) i === e.length ? e.push(n = new vt(this.O(rt()), this.O(rt()), this, this.options)) : n = e[i], n._$AI(r), i++;
425
- i < e.length && (this._$AR(n && n._$AB.nextSibling, i), e.length = i);
423
+ let r, i = 0;
424
+ for (const n of t) i === e.length ? e.push(r = new ft(this.O(at()), this.O(at()), this, this.options)) : r = e[i], r._$AI(n), i++;
425
+ i < e.length && (this._$AR(r && r._$AB.nextSibling, i), e.length = i);
426
426
  }
427
427
  _$AR(t = this._$AA.nextSibling, e) {
428
- var n;
429
- for ((n = this._$AP) == null ? void 0 : n.call(this, !1, !0, e); t && t !== this._$AB; ) {
428
+ var r;
429
+ for ((r = this._$AP) == null ? void 0 : r.call(this, !1, !0, e); t && t !== this._$AB; ) {
430
430
  const i = t.nextSibling;
431
431
  t.remove(), t = i;
432
432
  }
@@ -436,24 +436,24 @@ class vt {
436
436
  this._$AM === void 0 && (this._$Cv = t, (e = this._$AP) == null || e.call(this, t));
437
437
  }
438
438
  }
439
- class xt {
439
+ class $t {
440
440
  get tagName() {
441
441
  return this.element.tagName;
442
442
  }
443
443
  get _$AU() {
444
444
  return this._$AM._$AU;
445
445
  }
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;
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;
448
448
  }
449
- _$AI(t, e = this, n, i) {
450
- const r = this.strings;
449
+ _$AI(t, e = this, r, i) {
450
+ const n = this.strings;
451
451
  let s = !1;
452
- if (r === void 0) t = Q(this, t, e, 0), s = !st(t) || t !== this._$AH && t !== U, s && (this._$AH = t);
452
+ if (n === void 0) t = tt(this, t, e, 0), s = !lt(t) || t !== this._$AH && t !== V, s && (this._$AH = t);
453
453
  else {
454
454
  const h = t;
455
455
  let c, f;
456
- for (t = r[0], c = 0; c < r.length - 1; c++) f = Q(this, h[n + c], e, c), f === U && (f = this._$AH[c]), s || (s = !st(f) || f !== this._$AH[c]), f === d ? t = d : t !== d && (t += (f ?? "") + r[c + 1]), this._$AH[c] = f;
456
+ for (t = n[0], c = 0; c < n.length - 1; c++) f = tt(this, h[r + c], e, c), f === V && (f = this._$AH[c]), s || (s = !lt(f) || f !== this._$AH[c]), f === d ? t = d : t !== d && (t += (f ?? "") + n[c + 1]), this._$AH[c] = f;
457
457
  }
458
458
  s && !i && this.j(t);
459
459
  }
@@ -461,7 +461,7 @@ class xt {
461
461
  t === d ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
462
462
  }
463
463
  }
464
- class Ee extends xt {
464
+ class Se extends $t {
465
465
  constructor() {
466
466
  super(...arguments), this.type = 3;
467
467
  }
@@ -469,7 +469,7 @@ class Ee extends xt {
469
469
  this.element[this.name] = t === d ? void 0 : t;
470
470
  }
471
471
  }
472
- class Se extends xt {
472
+ class Ee extends $t {
473
473
  constructor() {
474
474
  super(...arguments), this.type = 4;
475
475
  }
@@ -477,14 +477,14 @@ class Se extends xt {
477
477
  this.element.toggleAttribute(this.name, !!t && t !== d);
478
478
  }
479
479
  }
480
- class Le extends xt {
481
- constructor(t, e, n, i, r) {
482
- super(t, e, n, i, r), this.type = 5;
480
+ class Le extends $t {
481
+ constructor(t, e, r, i, n) {
482
+ super(t, e, r, i, n), this.type = 5;
483
483
  }
484
484
  _$AI(t, e = this) {
485
- if ((t = Q(this, t, e, 0) ?? d) === U) 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;
485
+ if ((t = tt(this, t, e, 0) ?? d) === V) 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;
488
488
  }
489
489
  handleEvent(t) {
490
490
  var e;
@@ -492,24 +492,24 @@ class Le extends xt {
492
492
  }
493
493
  }
494
494
  class Pe {
495
- constructor(t, e, n) {
496
- this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = n;
495
+ constructor(t, e, r) {
496
+ this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = r;
497
497
  }
498
498
  get _$AU() {
499
499
  return this._$AM._$AU;
500
500
  }
501
501
  _$AI(t) {
502
- Q(this, t);
502
+ tt(this, t);
503
503
  }
504
504
  }
505
- const At = it.litHtmlPolyfillSupport;
506
- At == null || At(at, vt), (it.litHtmlVersions ?? (it.litHtmlVersions = [])).push("3.3.0");
505
+ const St = nt.litHtmlPolyfillSupport;
506
+ St == null || St(ct, ft), (nt.litHtmlVersions ?? (nt.litHtmlVersions = [])).push("3.3.0");
507
507
  const Oe = (o, t, e) => {
508
- const n = (e == null ? void 0 : e.renderBefore) ?? t;
509
- let i = n._$litPart$;
508
+ const r = (e == null ? void 0 : e.renderBefore) ?? t;
509
+ let i = r._$litPart$;
510
510
  if (i === void 0) {
511
- const r = (e == null ? void 0 : e.renderBefore) ?? null;
512
- n._$litPart$ = i = new vt(t.insertBefore(rt(), r), r, void 0, e ?? {});
511
+ const n = (e == null ? void 0 : e.renderBefore) ?? null;
512
+ r._$litPart$ = i = new ft(t.insertBefore(at(), n), n, void 0, e ?? {});
513
513
  }
514
514
  return i._$AI(o), i;
515
515
  };
@@ -518,8 +518,8 @@ const Oe = (o, t, e) => {
518
518
  * Copyright 2017 Google LLC
519
519
  * SPDX-License-Identifier: BSD-3-Clause
520
520
  */
521
- const q = globalThis;
522
- let v = class extends J {
521
+ const K = globalThis;
522
+ let v = class extends Y {
523
523
  constructor() {
524
524
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
525
525
  }
@@ -541,20 +541,20 @@ let v = class extends J {
541
541
  super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
542
542
  }
543
543
  render() {
544
- return U;
544
+ return V;
545
545
  }
546
546
  };
547
- var re;
548
- v._$litElement$ = !0, v.finalized = !0, (re = q.litElementHydrateSupport) == null || re.call(q, { LitElement: v });
549
- const Et = q.litElementPolyfillSupport;
547
+ var ne;
548
+ v._$litElement$ = !0, v.finalized = !0, (ne = K.litElementHydrateSupport) == null || ne.call(K, { LitElement: v });
549
+ const Et = K.litElementPolyfillSupport;
550
550
  Et == null || Et({ LitElement: v });
551
- (q.litElementVersions ?? (q.litElementVersions = [])).push("4.2.0");
551
+ (K.litElementVersions ?? (K.litElementVersions = [])).push("4.2.0");
552
552
  /**
553
553
  * @license
554
554
  * Copyright 2017 Google LLC
555
555
  * SPDX-License-Identifier: BSD-3-Clause
556
556
  */
557
- const w = (o) => (t, e) => {
557
+ const x = (o) => (t, e) => {
558
558
  e !== void 0 ? e.addInitializer(() => {
559
559
  customElements.define(o, t);
560
560
  }) : customElements.define(o, t);
@@ -564,10 +564,10 @@ const w = (o) => (t, e) => {
564
564
  * Copyright 2017 Google LLC
565
565
  * SPDX-License-Identifier: BSD-3-Clause
566
566
  */
567
- const Ie = { attribute: !0, type: String, converter: yt, reflect: !1, hasChanged: zt }, Be = (o = Ie, t, e) => {
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") {
567
+ const Ie = { attribute: !0, type: String, converter: mt, reflect: !1, hasChanged: Dt }, ze = (o = Ie, 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") {
571
571
  const { name: s } = e;
572
572
  return { set(h) {
573
573
  const c = t.get.call(this);
@@ -576,19 +576,19 @@ const Ie = { attribute: !0, type: String, converter: yt, reflect: !1, hasChanged
576
576
  return h !== void 0 && this.C(s, void 0, o, h), h;
577
577
  } };
578
578
  }
579
- if (n === "setter") {
579
+ if (r === "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: " + n);
586
+ throw Error("Unsupported decorator location: " + r);
587
587
  };
588
588
  function a(o) {
589
- return (t, e) => typeof e == "object" ? Be(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;
589
+ return (t, e) => typeof e == "object" ? ze(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;
592
592
  })(o, t, e);
593
593
  }
594
594
  /**
@@ -596,14 +596,14 @@ function a(o) {
596
596
  * Copyright 2017 Google LLC
597
597
  * SPDX-License-Identifier: BSD-3-Clause
598
598
  */
599
- function K(o) {
599
+ function X(o) {
600
600
  return a({ ...o, state: !0, attribute: !1 });
601
601
  }
602
- const ft = b`
602
+ const bt = g`
603
603
  outline: 1px dashed var(--color-border-primary);
604
604
  outline-offset: 2px;
605
605
  `;
606
- b`
606
+ g`
607
607
  :host * {
608
608
  box-sizing: border-box;
609
609
  }
@@ -613,12 +613,12 @@ b`
613
613
  * Copyright 2023 Google LLC
614
614
  * SPDX-License-Identifier: Apache-2.0
615
615
  */
616
- const Ht = Symbol("internals"), St = Symbol("privateInternals");
617
- function Mt(o) {
616
+ const Mt = Symbol("internals"), Lt = Symbol("privateInternals");
617
+ function Tt(o) {
618
618
  var t;
619
619
  class e extends o {
620
- get [(t = Ht, t)]() {
621
- return this[St] || (this[St] = this.attachInternals()), this[St];
620
+ get [(t = Mt, t)]() {
621
+ return this[Lt] || (this[Lt] = this.attachInternals()), this[Lt];
622
622
  }
623
623
  }
624
624
  return e;
@@ -628,14 +628,14 @@ function Mt(o) {
628
628
  * Copyright 2023 Google LLC
629
629
  * SPDX-License-Identifier: Apache-2.0
630
630
  */
631
- function ze(o) {
631
+ function Be(o) {
632
632
  o.addInitializer((t) => {
633
633
  const e = t;
634
- e.addEventListener("click", async (n) => {
635
- const { type: i, [Ht]: r } = e, { form: s } = r;
634
+ e.addEventListener("click", async (r) => {
635
+ const { type: i, [Mt]: n } = e, { form: s } = n;
636
636
  if (!(!s || i === "button") && (await new Promise((h) => {
637
637
  setTimeout(h);
638
- }), !n.defaultPrevented)) {
638
+ }), !r.defaultPrevented)) {
639
639
  if (i === "reset") {
640
640
  s.reset();
641
641
  return;
@@ -650,7 +650,7 @@ function ze(o) {
650
650
  });
651
651
  },
652
652
  { capture: !0, once: !0 }
653
- ), r.setFormValue(e.value), s.requestSubmit();
653
+ ), n.setFormValue(e.value), s.requestSubmit();
654
654
  }
655
655
  });
656
656
  });
@@ -673,13 +673,13 @@ const De = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
673
673
  `, Fe = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
674
674
  <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"/>
675
675
  </svg>
676
- `, Re = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
676
+ `, Ne = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
677
677
  <path d="M15 6.39639H9.63446L8 1.4585L6.36554 6.39639H1L5.33977 9.4972L3.69404 14.4585L7.98873 11.3928L12.2834 14.4585L10.6377 9.4972L14.9775 6.39639H15ZM10.6715 12.2353L8.05636 10.3631V4.32528L9.03704 7.27398H12.2834L9.65701 9.14616L10.6715 12.2236V12.2353Z" fill="#3F2B2E"/>
678
678
  </svg>
679
- `, Ue = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
679
+ `, Re = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
680
680
  <path d="M15 6.43789H9.63446L8 1.5L6.36554 6.43789H1L5.33977 9.5387L3.69404 14.5L7.98873 11.4343L9.46538 12.4874L12.2834 14.5H12.306L10.6602 9.5387L15 6.43789ZM9.46538 11.4226V7.32718H12.2721L9.64573 9.19937L10.6602 12.2768L9.46538 11.4226Z" fill="#3F2B2E"/>
681
681
  </svg>
682
- `, Ne = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
682
+ `, Ue = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
683
683
  <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.2834Z" fill="#3F2B2E"/>
684
684
  </svg>
685
685
  `, Ve = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
@@ -738,11 +738,11 @@ const De = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
738
738
  </svg>
739
739
  `, io = `<svg viewBox="0 0 200 200" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg">
740
740
  <line x1="0" y1="0" x2="200" y2="200" />
741
- </svg>`, no = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
741
+ </svg>`, ro = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
742
742
  <path d="M2.31202e-08 7.85218C0.974855 6.83983 3.01741 4.44477 6.12766 0.666992L6.54545 0.926252C5.54739 3.04971 4.35203 5.40773 2.95938 8.00033C4.35203 10.5929 5.54739 12.9509 6.54545 15.0744L6.12766 15.3337C3.01741 11.5559 0.974855 9.16082 0 8.14847L2.31202e-08 7.85218Z" fill="#3F2B2E"/>
743
743
  <path d="M16 8.14847C15.0251 9.16082 12.9826 11.5559 9.87234 15.3337L9.45455 15.0744C10.4526 12.9509 11.648 10.5929 13.0406 8.00033C11.648 5.40773 10.4526 3.04971 9.45455 0.92625L9.87234 0.666992C12.9826 4.44477 15.0251 6.83983 16 7.85218V8.14847Z" fill="#3F2B2E"/>
744
744
  </svg>
745
- `, ro = `<svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">
745
+ `, no = `<svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">
746
746
  <path d="M8 0.458496C12.4183 0.458496 16 4.04022 16 8.4585C16 12.8768 12.4183 16.4585 8 16.4585C3.58172 16.4585 0 12.8768 0 8.4585C0 4.04022 3.58172 0.458496 8 0.458496ZM11.8115 5.56787C11.5953 5.39556 11.2797 5.43075 11.1074 5.64697L7.45801 10.2104L4.85254 7.60596C4.65647 7.41684 4.34516 7.41943 4.15234 7.61182C3.95956 7.8046 3.95626 8.11678 4.14551 8.31299L7.14551 11.313C7.23977 11.4062 7.36741 11.4592 7.5 11.4595L7.52832 11.4585C7.67017 11.4503 7.80168 11.3818 7.89062 11.271L11.8906 6.271C12.0629 6.05485 12.0275 5.74022 11.8115 5.56787Z" fill="#3B7902"/>
747
747
  </svg>
748
748
  `, so = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
@@ -751,7 +751,7 @@ const De = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
751
751
  `, ao = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
752
752
  <path d="M8 0C12.4183 0 16 3.58172 16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0ZM7.16602 6.1084V12H8.84668V6.1084H7.16602ZM8.00684 2.64062C7.45497 2.64062 7.01096 3.09591 7.01074 3.63574C7.01074 4.18774 7.45484 4.63184 8.00684 4.63184C8.55862 4.63159 9.00195 4.18759 9.00195 3.63574C9.00174 3.09606 8.55849 2.64088 8.00684 2.64062Z" fill="#4572A6"/>
753
753
  </svg>
754
- `, G = {
754
+ `, J = {
755
755
  wishlist: De,
756
756
  playerv: He,
757
757
  chevronRight: Me,
@@ -760,9 +760,9 @@ const De = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
760
760
  icoMinus: We,
761
761
  "star-0": je,
762
762
  "star-25": Fe,
763
- "star-50": Re,
764
- "star-75": Ue,
765
- "star-100": Ne,
763
+ "star-50": Ne,
764
+ "star-75": Re,
765
+ "star-100": Ue,
766
766
  cross: Ve,
767
767
  search: Ze,
768
768
  arrowLeft: Ke,
@@ -774,11 +774,11 @@ const De = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
774
774
  checkstroke: to,
775
775
  pause: eo,
776
776
  mapDualArrow: oo,
777
- swipeDualArrow: no
777
+ swipeDualArrow: ro
778
778
  }, lo = {
779
779
  strikeDiagonal: io
780
780
  }, co = {
781
- success: ro,
781
+ success: no,
782
782
  error: so,
783
783
  info: ao
784
784
  };
@@ -787,15 +787,15 @@ const De = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
787
787
  * Copyright 2017 Google LLC
788
788
  * SPDX-License-Identifier: BSD-3-Clause
789
789
  */
790
- const Tt = { ATTRIBUTE: 1, CHILD: 2 }, jt = (o) => (...t) => ({ _$litDirective$: o, values: t });
791
- let Ft = class {
790
+ const jt = { ATTRIBUTE: 1, CHILD: 2 }, Ft = (o) => (...t) => ({ _$litDirective$: o, values: t });
791
+ let Nt = class {
792
792
  constructor(t) {
793
793
  }
794
794
  get _$AU() {
795
795
  return this._$AM._$AU;
796
796
  }
797
- _$AT(t, e, n) {
798
- this._$Ct = t, this._$AM = e, this._$Ci = n;
797
+ _$AT(t, e, r) {
798
+ this._$Ct = t, this._$AM = e, this._$Ci = r;
799
799
  }
800
800
  _$AS(t, e) {
801
801
  return this.update(t, e);
@@ -809,13 +809,13 @@ let Ft = class {
809
809
  * Copyright 2017 Google LLC
810
810
  * SPDX-License-Identifier: BSD-3-Clause
811
811
  */
812
- class Lt extends Ft {
812
+ class Pt extends Nt {
813
813
  constructor(t) {
814
- if (super(t), this.it = d, t.type !== Tt.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
814
+ if (super(t), this.it = d, t.type !== jt.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
815
815
  }
816
816
  render(t) {
817
817
  if (t === d || t == null) return this._t = void 0, this.it = t;
818
- if (t === U) return t;
818
+ if (t === V) return t;
819
819
  if (typeof t != "string") throw Error(this.constructor.directiveName + "() called with a non-string value");
820
820
  if (t === this.it) return this._t;
821
821
  this.it = t;
@@ -823,23 +823,23 @@ class Lt extends Ft {
823
823
  return e.raw = e, this._t = { _$litType$: this.constructor.resultType, strings: e, values: [] };
824
824
  }
825
825
  }
826
- Lt.directiveName = "unsafeHTML", Lt.resultType = 1;
826
+ Pt.directiveName = "unsafeHTML", Pt.resultType = 1;
827
827
  /**
828
828
  * @license
829
829
  * Copyright 2017 Google LLC
830
830
  * SPDX-License-Identifier: BSD-3-Clause
831
831
  */
832
- class Pt extends Lt {
832
+ class Ot extends Pt {
833
833
  }
834
- Pt.directiveName = "unsafeSVG", Pt.resultType = 2;
835
- const P = jt(Pt);
836
- var ho = Object.defineProperty, po = Object.getOwnPropertyDescriptor, x = (o, t, e, n) => {
837
- for (var i = n > 1 ? void 0 : n ? po(t, e) : t, r = o.length - 1, s; r >= 0; r--)
838
- (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
839
- return n && i && ho(t, e, i), i;
834
+ Ot.directiveName = "unsafeSVG", Ot.resultType = 2;
835
+ const O = Ft(Ot);
836
+ var ho = Object.defineProperty, po = Object.getOwnPropertyDescriptor, w = (o, t, e, r) => {
837
+ for (var i = r > 1 ? void 0 : r ? po(t, e) : t, n = o.length - 1, s; n >= 0; n--)
838
+ (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
839
+ return r && i && ho(t, e, i), i;
840
840
  };
841
- const uo = Mt(v);
842
- let g = class extends uo {
841
+ const uo = Tt(v);
842
+ let b = class extends uo {
843
843
  constructor() {
844
844
  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;
845
845
  }
@@ -850,7 +850,7 @@ let g = class extends uo {
850
850
  this.setAttribute("name", o);
851
851
  }
852
852
  get form() {
853
- return this[Ht].form;
853
+ return this[Mt].form;
854
854
  }
855
855
  handleClick(o) {
856
856
  if (!(o instanceof KeyboardEvent && !["Enter", " "].includes(o.key)) && this.panelTarget) {
@@ -864,11 +864,11 @@ let g = class extends uo {
864
864
  renderIcon(o) {
865
865
  const t = o === "start" ? this.startIconModel : this.endIconModel;
866
866
  if (!t) return d;
867
- const e = G[t].replace(
867
+ const e = J[t].replace(
868
868
  "<svg",
869
869
  '<svg aria-hidden="true" focusable="false" part="svg"'
870
870
  );
871
- return l`<span class="${o === "start" ? "icon-start" : "icon-end"}">${P(e)}</span>`;
871
+ return l`<span class="${o === "start" ? "icon-start" : "icon-end"}">${O(e)}</span>`;
872
872
  }
873
873
  renderButton() {
874
874
  const o = this.text || this.textsecond;
@@ -903,9 +903,9 @@ let g = class extends uo {
903
903
  `;
904
904
  }
905
905
  };
906
- ze(g);
907
- g.formAssociated = !0;
908
- g.styles = b`
906
+ Be(b);
907
+ b.formAssociated = !0;
908
+ b.styles = g`
909
909
  :host {
910
910
  --button-border: transparent;
911
911
  --badge-outer-width: 19px;
@@ -1022,7 +1022,7 @@ g.styles = b`
1022
1022
  }
1023
1023
 
1024
1024
  .button:focus-visible {
1025
- ${ft};
1025
+ ${bt};
1026
1026
  }
1027
1027
 
1028
1028
  span.text + span.text::before {
@@ -1107,63 +1107,63 @@ g.styles = b`
1107
1107
  }
1108
1108
  //End icon movment on hover
1109
1109
  `;
1110
- x([
1110
+ w([
1111
1111
  a()
1112
- ], g.prototype, "type", 2);
1113
- x([
1112
+ ], b.prototype, "type", 2);
1113
+ w([
1114
1114
  a({ reflect: !0 })
1115
- ], g.prototype, "value", 2);
1116
- x([
1115
+ ], b.prototype, "value", 2);
1116
+ w([
1117
1117
  a({ type: String, reflect: !0 })
1118
- ], g.prototype, "variant", 2);
1119
- x([
1118
+ ], b.prototype, "variant", 2);
1119
+ w([
1120
1120
  a({ type: String })
1121
- ], g.prototype, "text", 2);
1122
- x([
1121
+ ], b.prototype, "text", 2);
1122
+ w([
1123
1123
  a({ type: String })
1124
- ], g.prototype, "textsecond", 2);
1125
- x([
1124
+ ], b.prototype, "textsecond", 2);
1125
+ w([
1126
1126
  a({ type: Boolean, reflect: !0 })
1127
- ], g.prototype, "fullwidth", 2);
1128
- x([
1127
+ ], b.prototype, "fullwidth", 2);
1128
+ w([
1129
1129
  a({ type: Boolean, reflect: !0 })
1130
- ], g.prototype, "disabled", 2);
1131
- x([
1130
+ ], b.prototype, "disabled", 2);
1131
+ w([
1132
1132
  a({ type: String, reflect: !0 })
1133
- ], g.prototype, "startIconModel", 2);
1134
- x([
1133
+ ], b.prototype, "startIconModel", 2);
1134
+ w([
1135
1135
  a({ type: String, reflect: !0 })
1136
- ], g.prototype, "endIconModel", 2);
1137
- x([
1136
+ ], b.prototype, "endIconModel", 2);
1137
+ w([
1138
1138
  a({ type: Boolean, reflect: !0, attribute: "starticon" })
1139
- ], g.prototype, "startIcon", 2);
1140
- x([
1139
+ ], b.prototype, "startIcon", 2);
1140
+ w([
1141
1141
  a({ type: Boolean, reflect: !0, attribute: "endicon" })
1142
- ], g.prototype, "endIcon", 2);
1143
- x([
1142
+ ], b.prototype, "endIcon", 2);
1143
+ w([
1144
1144
  a({ type: String, attribute: "paneltarget", reflect: !0 })
1145
- ], g.prototype, "panelTarget", 2);
1146
- x([
1145
+ ], b.prototype, "panelTarget", 2);
1146
+ w([
1147
1147
  a({ type: String })
1148
- ], g.prototype, "href", 2);
1149
- x([
1148
+ ], b.prototype, "href", 2);
1149
+ w([
1150
1150
  a({ type: String })
1151
- ], g.prototype, "target", 2);
1152
- x([
1151
+ ], b.prototype, "target", 2);
1152
+ w([
1153
1153
  a({ type: Boolean, reflect: !0 })
1154
- ], g.prototype, "underlined", 2);
1155
- x([
1154
+ ], b.prototype, "underlined", 2);
1155
+ w([
1156
1156
  a({ type: Boolean, reflect: !0 })
1157
- ], g.prototype, "withbadge", 2);
1158
- g = x([
1159
- w("o-button")
1160
- ], g);
1161
- var vo = Object.defineProperty, fo = Object.getOwnPropertyDescriptor, $t = (o, t, e, n) => {
1162
- for (var i = n > 1 ? void 0 : n ? fo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
1163
- (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
1164
- return n && i && vo(t, e, i), i;
1157
+ ], b.prototype, "withbadge", 2);
1158
+ b = w([
1159
+ x("o-button")
1160
+ ], b);
1161
+ var vo = Object.defineProperty, fo = Object.getOwnPropertyDescriptor, _t = (o, t, e, r) => {
1162
+ for (var i = r > 1 ? void 0 : r ? fo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
1163
+ (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
1164
+ return r && i && vo(t, e, i), i;
1165
1165
  };
1166
- let Y = class extends v {
1166
+ let et = class extends v {
1167
1167
  constructor() {
1168
1168
  super(...arguments), this.status = "empty", this.ariaDescribedBy = "a-product-name", this.label = "Add to wishlist", this.toggleStatus = () => {
1169
1169
  this.status = this.status === "empty" ? "filled" : "empty", this.setAttribute("aria-pressed", String(this.status === "filled")), this.dispatchEvent(new CustomEvent("wishlist-toggle", {
@@ -1183,14 +1183,14 @@ let Y = class extends v {
1183
1183
  (o.key === "Enter" || o.key === " ") && (o.preventDefault(), this.toggleStatus());
1184
1184
  }
1185
1185
  render() {
1186
- const o = G.wishlist.replace(
1186
+ const o = J.wishlist.replace(
1187
1187
  "<svg",
1188
1188
  '<svg aria-hidden="true" focusable="false" part="svg"'
1189
1189
  );
1190
1190
  return l`
1191
1191
  <button type="button" aria-describedby="${this.ariaDescribedBy}" class="wishlist-button">
1192
1192
  <span class="sr-only">${this.label}</span>
1193
- ${P(o)}
1193
+ ${O(o)}
1194
1194
  </button>
1195
1195
  `;
1196
1196
  }
@@ -1204,7 +1204,7 @@ let Y = class extends v {
1204
1204
  this.label = o, this.requestUpdate();
1205
1205
  }
1206
1206
  };
1207
- Y.styles = b`
1207
+ et.styles = g`
1208
1208
  :host {
1209
1209
  display: inline-flex;
1210
1210
  justify-content: center;
@@ -1270,30 +1270,30 @@ Y.styles = b`
1270
1270
  white-space: nowrap !important;
1271
1271
  }
1272
1272
  `;
1273
- $t([
1273
+ _t([
1274
1274
  a({ type: String, reflect: !0 })
1275
- ], Y.prototype, "status", 2);
1276
- $t([
1275
+ ], et.prototype, "status", 2);
1276
+ _t([
1277
1277
  a({ type: String, reflect: !0 })
1278
- ], Y.prototype, "ariaDescribedBy", 2);
1279
- $t([
1278
+ ], et.prototype, "ariaDescribedBy", 2);
1279
+ _t([
1280
1280
  a({ type: String, reflect: !0 })
1281
- ], Y.prototype, "label", 2);
1282
- Y = $t([
1283
- w("o-wishlist-button")
1284
- ], Y);
1281
+ ], et.prototype, "label", 2);
1282
+ et = _t([
1283
+ x("o-wishlist-button")
1284
+ ], et);
1285
1285
  /**
1286
1286
  * @license
1287
1287
  * Copyright 2018 Google LLC
1288
1288
  * SPDX-License-Identifier: BSD-3-Clause
1289
1289
  */
1290
- const _ = (o) => o ?? d;
1291
- var go = Object.defineProperty, bo = Object.getOwnPropertyDescriptor, B = (o, t, e, n) => {
1292
- for (var i = n > 1 ? void 0 : n ? bo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
1293
- (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
1294
- return n && i && go(t, e, i), i;
1290
+ const C = (o) => o ?? d;
1291
+ var bo = Object.defineProperty, go = Object.getOwnPropertyDescriptor, D = (o, t, e, r) => {
1292
+ for (var i = r > 1 ? void 0 : r ? go(t, e) : t, n = o.length - 1, s; n >= 0; n--)
1293
+ (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
1294
+ return r && i && bo(t, e, i), i;
1295
1295
  };
1296
- let C = class extends v {
1296
+ let k = class extends v {
1297
1297
  constructor() {
1298
1298
  super(...arguments), this.bgstyle = "background-light", this.size = "medium", this.status = "empty", this.type = "button", this.strokewidth = "1", this.icon = "wishlist", this.disabled = !1, this.showSrLabel = !1, this.srLabel = "";
1299
1299
  }
@@ -1301,27 +1301,27 @@ let C = class extends v {
1301
1301
  super.updated(o), this.style.setProperty("--icon-stroke-width", this.strokewidth);
1302
1302
  }
1303
1303
  render() {
1304
- const o = G[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";
1304
+ const o = J[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";
1305
1305
  return l`
1306
1306
  ${this.type === "span" ? l`
1307
1307
  <span class="icon icon-button ${this.size} ${this.bgstyle} ${this.status} ${t}" ?disabled="${this.disabled}">
1308
- ${P(e)}
1308
+ ${O(e)}
1309
1309
  </span>
1310
1310
  ` : l`
1311
1311
  <button
1312
1312
  type="button"
1313
- aria-label=${_(i)}
1313
+ aria-label=${C(i)}
1314
1314
  class="icon-button ${this.size} ${this.bgstyle} ${this.status} ${t}"
1315
1315
  ?disabled="${this.disabled}"
1316
1316
  >
1317
- ${P(e)}
1318
- ${n}
1317
+ ${O(e)}
1318
+ ${r}
1319
1319
  </button>
1320
1320
  `}
1321
1321
  `;
1322
1322
  }
1323
1323
  };
1324
- C.styles = b`
1324
+ k.styles = g`
1325
1325
  :host {
1326
1326
  display: inline-flex;
1327
1327
  justify-content: center;
@@ -1526,49 +1526,49 @@ C.styles = b`
1526
1526
  }
1527
1527
 
1528
1528
  .icon-button:focus-visible {
1529
- ${ft}
1529
+ ${bt}
1530
1530
  }
1531
1531
 
1532
1532
  .sr-only {
1533
1533
  display: none;
1534
1534
  }
1535
1535
  `;
1536
- B([
1536
+ D([
1537
1537
  a({ type: String, reflect: !0 })
1538
- ], C.prototype, "bgstyle", 2);
1539
- B([
1538
+ ], k.prototype, "bgstyle", 2);
1539
+ D([
1540
1540
  a({ type: String, reflect: !0 })
1541
- ], C.prototype, "size", 2);
1542
- B([
1541
+ ], k.prototype, "size", 2);
1542
+ D([
1543
1543
  a({ type: String, reflect: !0 })
1544
- ], C.prototype, "status", 2);
1545
- B([
1544
+ ], k.prototype, "status", 2);
1545
+ D([
1546
1546
  a({ type: String, reflect: !0 })
1547
- ], C.prototype, "type", 2);
1548
- B([
1547
+ ], k.prototype, "type", 2);
1548
+ D([
1549
1549
  a({ type: String })
1550
- ], C.prototype, "strokewidth", 2);
1551
- B([
1550
+ ], k.prototype, "strokewidth", 2);
1551
+ D([
1552
1552
  a({ type: String })
1553
- ], C.prototype, "icon", 2);
1554
- B([
1553
+ ], k.prototype, "icon", 2);
1554
+ D([
1555
1555
  a({ type: Boolean, reflect: !0 })
1556
- ], C.prototype, "disabled", 2);
1557
- B([
1556
+ ], k.prototype, "disabled", 2);
1557
+ D([
1558
1558
  a({ type: Boolean })
1559
- ], C.prototype, "showSrLabel", 2);
1560
- B([
1559
+ ], k.prototype, "showSrLabel", 2);
1560
+ D([
1561
1561
  a({ type: String })
1562
- ], C.prototype, "srLabel", 2);
1563
- C = B([
1564
- w("o-icon-button")
1565
- ], C);
1566
- var yo = Object.defineProperty, mo = Object.getOwnPropertyDescriptor, X = (o, t, e, n) => {
1567
- for (var i = n > 1 ? void 0 : n ? mo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
1568
- (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
1569
- return n && i && yo(t, e, i), i;
1562
+ ], k.prototype, "srLabel", 2);
1563
+ k = D([
1564
+ x("o-icon-button")
1565
+ ], k);
1566
+ var yo = Object.defineProperty, mo = Object.getOwnPropertyDescriptor, Q = (o, t, e, r) => {
1567
+ for (var i = r > 1 ? void 0 : r ? mo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
1568
+ (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
1569
+ return r && i && yo(t, e, i), i;
1570
1570
  };
1571
- let H = class extends v {
1571
+ let T = class extends v {
1572
1572
  constructor() {
1573
1573
  super(...arguments), this.href = "", this.target = "", this.template = "standard", this.inverse = !1, this.endIcon = !1, this.reverseEndIcon = !1;
1574
1574
  }
@@ -1580,7 +1580,7 @@ let H = class extends v {
1580
1580
  return l`
1581
1581
  <a
1582
1582
  href="${o}"
1583
- target="${_(this.target || void 0)}"
1583
+ target="${C(this.target || void 0)}"
1584
1584
  @click="${this._handleClick}"
1585
1585
  >
1586
1586
  ${this.endIcon && this.reverseEndIcon ? l`
@@ -1606,7 +1606,7 @@ let H = class extends v {
1606
1606
  `;
1607
1607
  }
1608
1608
  };
1609
- H.styles = b`
1609
+ T.styles = g`
1610
1610
  :host([template="standard"]) a {
1611
1611
  color: var(--color-content-action-secondary);
1612
1612
  font-size: var(--font-size-200);
@@ -1694,33 +1694,33 @@ H.styles = b`
1694
1694
  }
1695
1695
  /* End of underline effect */
1696
1696
  `;
1697
- X([
1697
+ Q([
1698
1698
  a({ type: String })
1699
- ], H.prototype, "href", 2);
1700
- X([
1699
+ ], T.prototype, "href", 2);
1700
+ Q([
1701
1701
  a({ type: String })
1702
- ], H.prototype, "target", 2);
1703
- X([
1702
+ ], T.prototype, "target", 2);
1703
+ Q([
1704
1704
  a({ type: String, reflect: !0 })
1705
- ], H.prototype, "template", 2);
1706
- X([
1705
+ ], T.prototype, "template", 2);
1706
+ Q([
1707
1707
  a({ type: Boolean, reflect: !0 })
1708
- ], H.prototype, "inverse", 2);
1709
- X([
1708
+ ], T.prototype, "inverse", 2);
1709
+ Q([
1710
1710
  a({ type: Boolean, reflect: !0 })
1711
- ], H.prototype, "endIcon", 2);
1712
- X([
1711
+ ], T.prototype, "endIcon", 2);
1712
+ Q([
1713
1713
  a({ type: Boolean, reflect: !0 })
1714
- ], H.prototype, "reverseEndIcon", 2);
1715
- H = X([
1716
- w("o-link")
1717
- ], H);
1718
- var wo = Object.defineProperty, xo = Object.getOwnPropertyDescriptor, _t = (o, t, e, n) => {
1719
- for (var i = n > 1 ? void 0 : n ? xo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
1720
- (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
1721
- return n && i && wo(t, e, i), i;
1714
+ ], T.prototype, "reverseEndIcon", 2);
1715
+ T = Q([
1716
+ x("o-link")
1717
+ ], T);
1718
+ var xo = Object.defineProperty, wo = Object.getOwnPropertyDescriptor, Ct = (o, t, e, r) => {
1719
+ for (var i = r > 1 ? void 0 : r ? wo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
1720
+ (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
1721
+ return r && i && xo(t, e, i), i;
1722
1722
  };
1723
- let tt = class extends v {
1723
+ let ot = class extends v {
1724
1724
  constructor() {
1725
1725
  super(...arguments), this.rating = 0;
1726
1726
  }
@@ -1728,8 +1728,8 @@ let tt = class extends v {
1728
1728
  const o = [];
1729
1729
  for (let t = 0; t < 5; t++) {
1730
1730
  const e = this.rating - t;
1731
- let n;
1732
- e >= 1 ? n = 100 : e <= 0 ? n = 0 : n = Math.round(e * 100 / 25) * 25, o.push(`star-${n}`);
1731
+ let r;
1732
+ e >= 1 ? r = 100 : e <= 0 ? r = 0 : r = Math.round(e * 100 / 25) * 25, o.push(`star-${r}`);
1733
1733
  }
1734
1734
  return o;
1735
1735
  }
@@ -1739,7 +1739,7 @@ let tt = class extends v {
1739
1739
  <div class="rating">
1740
1740
  <div class="stars">
1741
1741
  ${o.map(
1742
- (t) => l`<span class="star">${P(G[t] ?? "")}</span>`
1742
+ (t) => l`<span class="star">${O(J[t] ?? "")}</span>`
1743
1743
  )}
1744
1744
  </div>
1745
1745
  ${this.reviewCount != null && this.href != null ? l`<o-link template="review" href="${this.href}">${this.reviewCount}</o-link>` : null}
@@ -1747,7 +1747,7 @@ let tt = class extends v {
1747
1747
  `;
1748
1748
  }
1749
1749
  };
1750
- tt.styles = b`
1750
+ ot.styles = g`
1751
1751
  svg {
1752
1752
  width: 12px;
1753
1753
  height: 12px;
@@ -1781,18 +1781,18 @@ tt.styles = b`
1781
1781
  cursor: pointer;
1782
1782
  }
1783
1783
  `;
1784
- _t([
1784
+ Ct([
1785
1785
  a({ type: Number })
1786
- ], tt.prototype, "rating", 2);
1787
- _t([
1786
+ ], ot.prototype, "rating", 2);
1787
+ Ct([
1788
1788
  a({ type: String })
1789
- ], tt.prototype, "reviewCount", 2);
1790
- _t([
1789
+ ], ot.prototype, "reviewCount", 2);
1790
+ Ct([
1791
1791
  a({ type: String })
1792
- ], tt.prototype, "href", 2);
1793
- tt = _t([
1794
- w("o-rating")
1795
- ], tt);
1792
+ ], ot.prototype, "href", 2);
1793
+ ot = Ct([
1794
+ x("o-rating")
1795
+ ], ot);
1796
1796
  /**
1797
1797
  * @license
1798
1798
  * Copyright 2020 Google LLC
@@ -1804,11 +1804,11 @@ const $o = (o) => o.strings === void 0;
1804
1804
  * Copyright 2017 Google LLC
1805
1805
  * SPDX-License-Identifier: BSD-3-Clause
1806
1806
  */
1807
- const nt = (o, t) => {
1808
- var n;
1807
+ const st = (o, t) => {
1808
+ var r;
1809
1809
  const e = o._$AN;
1810
1810
  if (e === void 0) return !1;
1811
- for (const i of e) (n = i._$AO) == null || n.call(i, t, !1), nt(i, t);
1811
+ for (const i of e) (r = i._$AO) == null || r.call(i, t, !1), st(i, t);
1812
1812
  return !0;
1813
1813
  }, wt = (o) => {
1814
1814
  let t, e;
@@ -1828,24 +1828,24 @@ function _o(o) {
1828
1828
  this._$AN !== void 0 ? (wt(this), this._$AM = o, de(this)) : this._$AM = o;
1829
1829
  }
1830
1830
  function Co(o, t = !1, e = 0) {
1831
- const n = this._$AH, i = this._$AN;
1832
- if (i !== void 0 && i.size !== 0) if (t) if (Array.isArray(n)) for (let r = e; r < n.length; r++) nt(n[r], !1), wt(n[r]);
1833
- else n != null && (nt(n, !1), wt(n));
1834
- else nt(this, o);
1831
+ const r = this._$AH, i = this._$AN;
1832
+ if (i !== void 0 && i.size !== 0) if (t) if (Array.isArray(r)) for (let n = e; n < r.length; n++) st(r[n], !1), wt(r[n]);
1833
+ else r != null && (st(r, !1), wt(r));
1834
+ else st(this, o);
1835
1835
  }
1836
1836
  const ko = (o) => {
1837
- o.type == Tt.CHILD && (o._$AP ?? (o._$AP = Co), o._$AQ ?? (o._$AQ = _o));
1837
+ o.type == jt.CHILD && (o._$AP ?? (o._$AP = Co), o._$AQ ?? (o._$AQ = _o));
1838
1838
  };
1839
- class Ao extends Ft {
1839
+ class Ao extends Nt {
1840
1840
  constructor() {
1841
1841
  super(...arguments), this._$AN = void 0;
1842
1842
  }
1843
- _$AT(t, e, n) {
1844
- super._$AT(t, e, n), de(this), this.isConnected = t._$AU;
1843
+ _$AT(t, e, r) {
1844
+ super._$AT(t, e, r), de(this), this.isConnected = t._$AU;
1845
1845
  }
1846
1846
  _$AO(t, e = !0) {
1847
- var n, i;
1848
- t !== this.isConnected && (this.isConnected = t, t ? (n = this.reconnected) == null || n.call(this) : (i = this.disconnected) == null || i.call(this)), e && (nt(this, t), wt(this));
1847
+ var r, i;
1848
+ t !== this.isConnected && (this.isConnected = t, t ? (r = this.reconnected) == null || r.call(this) : (i = this.disconnected) == null || i.call(this)), e && (st(this, t), wt(this));
1849
1849
  }
1850
1850
  setValue(t) {
1851
1851
  if ($o(this._$Ct)) this._$Ct._$AI(t, this);
@@ -1859,7 +1859,7 @@ class Ao extends Ft {
1859
1859
  reconnected() {
1860
1860
  }
1861
1861
  }
1862
- class Eo extends Ao {
1862
+ class So extends Ao {
1863
1863
  constructor() {
1864
1864
  super(...arguments), this.prevData = {};
1865
1865
  }
@@ -1867,49 +1867,49 @@ class Eo extends Ao {
1867
1867
  return d;
1868
1868
  }
1869
1869
  update(t, [e]) {
1870
- var n;
1871
- 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 };
1870
+ var r;
1871
+ 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 };
1872
1872
  }
1873
1873
  apply(t) {
1874
1874
  if (!t)
1875
1875
  return;
1876
- const { prevData: e, element: n } = this;
1876
+ const { prevData: e, element: r } = this;
1877
1877
  for (const i in t) {
1878
- const r = t[i];
1879
- r !== e[i] && (n[i] = r);
1878
+ const n = t[i];
1879
+ n !== e[i] && (r[i] = n);
1880
1880
  }
1881
1881
  }
1882
1882
  groom(t) {
1883
- const { prevData: e, element: n } = this;
1883
+ const { prevData: e, element: r } = this;
1884
1884
  if (e)
1885
1885
  for (const i in e)
1886
- (!t || !(i in t) && n[i] === e[i]) && (n[i] = void 0);
1886
+ (!t || !(i in t) && r[i] === e[i]) && (r[i] = void 0);
1887
1887
  }
1888
1888
  }
1889
- class So extends Eo {
1889
+ class Eo extends So {
1890
1890
  constructor() {
1891
1891
  super(...arguments), this.eventData = {};
1892
1892
  }
1893
1893
  apply(t) {
1894
1894
  if (t)
1895
1895
  for (const e in t) {
1896
- const n = t[e];
1897
- n !== this.eventData[e] && this.applyEvent(e, n);
1896
+ const r = t[e];
1897
+ r !== this.eventData[e] && this.applyEvent(e, r);
1898
1898
  }
1899
1899
  }
1900
1900
  applyEvent(t, e) {
1901
- const { prevData: n, element: i } = this;
1902
- this.eventData[t] = e, n[t] && i.removeEventListener(t, this, e), i.addEventListener(t, this, e);
1901
+ const { prevData: r, element: i } = this;
1902
+ this.eventData[t] = e, r[t] && i.removeEventListener(t, this, e), i.addEventListener(t, this, e);
1903
1903
  }
1904
1904
  groom(t) {
1905
- const { prevData: e, element: n } = this;
1905
+ const { prevData: e, element: r } = this;
1906
1906
  if (e)
1907
1907
  for (const i in e)
1908
- (!t || !(i in t) && n[i] === e[i]) && this.groomEvent(i, e[i]);
1908
+ (!t || !(i in t) && r[i] === e[i]) && this.groomEvent(i, e[i]);
1909
1909
  }
1910
1910
  groomEvent(t, e) {
1911
- const { element: n } = this;
1912
- delete this.eventData[t], n.removeEventListener(t, this, e);
1911
+ const { element: r } = this;
1912
+ delete this.eventData[t], r.removeEventListener(t, this, e);
1913
1913
  }
1914
1914
  handleEvent(t) {
1915
1915
  const e = this.eventData[t.type];
@@ -1917,73 +1917,73 @@ class So extends Eo {
1917
1917
  }
1918
1918
  disconnected() {
1919
1919
  const { eventData: t, element: e } = this;
1920
- for (const n in t) {
1921
- const i = n.slice(1), r = t[n];
1922
- e.removeEventListener(i, this, r);
1920
+ for (const r in t) {
1921
+ const i = r.slice(1), n = t[r];
1922
+ e.removeEventListener(i, this, n);
1923
1923
  }
1924
1924
  }
1925
1925
  reconnected() {
1926
1926
  const { eventData: t, element: e } = this;
1927
- for (const n in t) {
1928
- const i = n.slice(1), r = t[n];
1929
- e.addEventListener(i, this, r);
1927
+ for (const r in t) {
1928
+ const i = r.slice(1), n = t[r];
1929
+ e.addEventListener(i, this, n);
1930
1930
  }
1931
1931
  }
1932
1932
  }
1933
- class Lo extends So {
1933
+ class Lo extends Eo {
1934
1934
  apply(t) {
1935
1935
  if (!t)
1936
1936
  return;
1937
- const { prevData: e, element: n } = this;
1937
+ const { prevData: e, element: r } = this;
1938
1938
  for (const i in t) {
1939
- const r = t[i];
1940
- if (r === e[i])
1939
+ const n = t[i];
1940
+ if (n === e[i])
1941
1941
  continue;
1942
1942
  const s = i.slice(1);
1943
1943
  switch (i[0]) {
1944
1944
  case "@":
1945
- this.eventData[s] = r, this.applyEvent(s, r);
1945
+ this.eventData[s] = n, this.applyEvent(s, n);
1946
1946
  break;
1947
1947
  case ".":
1948
- n[s] = r;
1948
+ r[s] = n;
1949
1949
  break;
1950
1950
  case "?":
1951
- r ? n.setAttribute(s, "") : n.removeAttribute(s);
1951
+ n ? r.setAttribute(s, "") : r.removeAttribute(s);
1952
1952
  break;
1953
1953
  default:
1954
- r != null ? n.setAttribute(i, String(r)) : n.removeAttribute(i);
1954
+ n != null ? r.setAttribute(i, String(n)) : r.removeAttribute(i);
1955
1955
  break;
1956
1956
  }
1957
1957
  }
1958
1958
  }
1959
1959
  groom(t) {
1960
- const { prevData: e, element: n } = this;
1960
+ const { prevData: e, element: r } = this;
1961
1961
  if (e)
1962
1962
  for (const i in e) {
1963
- const r = i.slice(1);
1964
- if (!t || !(i in t) && n[r] === e[i])
1963
+ const n = i.slice(1);
1964
+ if (!t || !(i in t) && r[n] === e[i])
1965
1965
  switch (i[0]) {
1966
1966
  case "@":
1967
- this.groomEvent(r, e[i]);
1967
+ this.groomEvent(n, e[i]);
1968
1968
  break;
1969
1969
  case ".":
1970
- n[r] = void 0;
1970
+ r[n] = void 0;
1971
1971
  break;
1972
1972
  case "?":
1973
- n.removeAttribute(r);
1973
+ r.removeAttribute(n);
1974
1974
  break;
1975
1975
  default:
1976
- n.removeAttribute(i);
1976
+ r.removeAttribute(i);
1977
1977
  break;
1978
1978
  }
1979
1979
  }
1980
1980
  }
1981
1981
  }
1982
- const ne = jt(Lo);
1983
- var Po = Object.defineProperty, Oo = Object.getOwnPropertyDescriptor, y = (o, t, e, n) => {
1984
- for (var i = n > 1 ? void 0 : n ? Oo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
1985
- (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
1986
- return n && i && Po(t, e, i), i;
1982
+ const re = Ft(Lo);
1983
+ var Po = Object.defineProperty, Oo = Object.getOwnPropertyDescriptor, y = (o, t, e, r) => {
1984
+ for (var i = r > 1 ? void 0 : r ? Oo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
1985
+ (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
1986
+ return r && i && Po(t, e, i), i;
1987
1987
  };
1988
1988
  let u = class extends v {
1989
1989
  constructor() {
@@ -1998,13 +1998,13 @@ let u = class extends v {
1998
1998
  const t = o.currentTarget, e = (t == null ? void 0 : t.getAttribute("data-role")) === "back";
1999
1999
  if (this.showDetail && e) {
2000
2000
  this.isHidingDetail = !0;
2001
- const n = this.renderRoot.querySelector(".content");
2002
- if (n) {
2001
+ const r = this.renderRoot.querySelector(".content");
2002
+ if (r) {
2003
2003
  this.showHeaderStartIcon = !1;
2004
2004
  const i = () => {
2005
- this.showDetail = !1, this.isHidingDetail = !1, n.removeEventListener("animationend", i);
2005
+ this.showDetail = !1, this.isHidingDetail = !1, r.removeEventListener("animationend", i);
2006
2006
  };
2007
- n.addEventListener("animationend", i);
2007
+ r.addEventListener("animationend", i);
2008
2008
  } else
2009
2009
  this.showDetail = !1, this.isHidingDetail = !1, this.showHeaderStartIcon = !1;
2010
2010
  return;
@@ -2021,12 +2021,12 @@ let u = class extends v {
2021
2021
  document.body.style.overflow = "", document.body.removeAttribute("data-side-panel"), this.removeEventListener("keydown", this.handleKeyDown), super.disconnectedCallback(), this.removeEventListener("open-detail", this._onOpenDetail);
2022
2022
  }
2023
2023
  trapFocus(o) {
2024
- var i, r, s, h, c, f, m, p, $, L;
2025
- this.innerFocusedElement = document.activeElement || null, this.innerFocusedElement = ((r = (i = this.innerFocusedElement) == null ? void 0 : i.shadowRoot) == null ? void 0 : r.activeElement) || this.innerFocusedElement;
2024
+ var i, n, s, h, c, f, m, p, _, P;
2025
+ this.innerFocusedElement = document.activeElement || null, this.innerFocusedElement = ((n = (i = this.innerFocusedElement) == null ? void 0 : i.shadowRoot) == null ? void 0 : n.activeElement) || this.innerFocusedElement;
2026
2026
  const t = this.getFocusableElements();
2027
2027
  if (t.length === 0) return;
2028
- const e = t[0], n = t[t.length - 1];
2029
- o.shiftKey && this.innerFocusedElement === e ? (o.preventDefault(), n.shadowRoot ? (c = (h = (s = n.shadowRoot) == null ? void 0 : s.querySelector(u.focusablesSelector)) == null ? void 0 : h.focus) == null || c.call(h) : (f = n.focus) == null || f.call(n)) : !o.shiftKey && this.innerFocusedElement === n && (o.preventDefault(), e.shadowRoot ? ($ = (p = (m = e.shadowRoot) == null ? void 0 : m.querySelector(u.focusablesSelector)) == null ? void 0 : p.focus) == null || $.call(p) : (L = e.focus) == null || L.call(e));
2028
+ const e = t[0], r = t[t.length - 1];
2029
+ o.shiftKey && this.innerFocusedElement === e ? (o.preventDefault(), r.shadowRoot ? (c = (h = (s = r.shadowRoot) == null ? void 0 : s.querySelector(u.focusablesSelector)) == null ? void 0 : h.focus) == null || c.call(h) : (f = r.focus) == null || f.call(r)) : !o.shiftKey && this.innerFocusedElement === r && (o.preventDefault(), e.shadowRoot ? (_ = (p = (m = e.shadowRoot) == null ? void 0 : m.querySelector(u.focusablesSelector)) == null ? void 0 : p.focus) == null || _.call(p) : (P = e.focus) == null || P.call(e));
2030
2030
  }
2031
2031
  getFocusableElements() {
2032
2032
  const o = this.renderRoot.querySelector(".panel");
@@ -2036,36 +2036,36 @@ let u = class extends v {
2036
2036
  }
2037
2037
  function e(i) {
2038
2038
  var s;
2039
- const r = [i.matches(u.focusablesSelector) ? i : []];
2039
+ const n = [i.matches(u.focusablesSelector) ? i : []];
2040
2040
  if (!["o-icon-button", "o-button"].includes(i.tagName.toLowerCase())) {
2041
2041
  const h = Array.from(
2042
2042
  i instanceof HTMLSlotElement ? i.assignedElements({ flatten: !0 }) : []
2043
2043
  ).filter(t).flatMap(e), c = Array.from(
2044
2044
  ((s = i.shadowRoot) == null ? void 0 : s.querySelectorAll("*")) || []
2045
2045
  ).filter(t).flatMap(e);
2046
- r.push(...h, ...c);
2046
+ n.push(...h, ...c);
2047
2047
  }
2048
- return r.flat();
2048
+ return n.flat();
2049
2049
  }
2050
2050
  return Array.from(o.querySelectorAll("*")).filter(t).flatMap(e);
2051
2051
  }
2052
2052
  openPanel() {
2053
2053
  this.previousFocusedElement = document.activeElement, this.open = !0, document.body.style.overflow = "hidden", document.body.setAttribute("data-side-panel", "open"), this.updateComplete.then(() => {
2054
- var o, t, e, n;
2054
+ var o, t, e, r;
2055
2055
  if (this.showHeader) {
2056
- const i = ((o = this.shadowRoot) == null ? void 0 : o.querySelector(".panel .close-btn")) || null, r = ((t = i == null ? void 0 : i.shadowRoot) == null ? void 0 : t.querySelector("button")) || null;
2057
- r && ((e = r.focus) == null || e.call(r));
2056
+ const i = ((o = this.shadowRoot) == null ? void 0 : o.querySelector(".panel .close-btn")) || null, n = ((t = i == null ? void 0 : i.shadowRoot) == null ? void 0 : t.querySelector("button")) || null;
2057
+ n && ((e = n.focus) == null || e.call(n));
2058
2058
  } else {
2059
2059
  const i = this.getFocusableElements()[0];
2060
- (n = i == null ? void 0 : i.focus) == null || n.call(i);
2060
+ (r = i == null ? void 0 : i.focus) == null || r.call(i);
2061
2061
  }
2062
2062
  }), this.dispatchEvent(
2063
2063
  new CustomEvent("open", { bubbles: !0, composed: !0 })
2064
2064
  );
2065
2065
  }
2066
2066
  closePanel() {
2067
- var o, t, e, n, i;
2068
- this.open = !1, this.showDetail = !1, document.body.style.overflow = "", document.body.removeAttribute("data-side-panel"), ((o = this.previousFocusedElement) == null ? void 0 : o.tagName.toLowerCase()) === "o-button" ? (n = (e = (t = this.previousFocusedElement.shadowRoot) == null ? void 0 : t.querySelector(".button")) == null ? void 0 : e.focus) == null || n.call(e) : (i = this.previousFocusedElement) == null || i.focus(), this.dispatchEvent(
2067
+ var o, t, e, r, i;
2068
+ this.open = !1, this.showDetail = !1, document.body.style.overflow = "", document.body.removeAttribute("data-side-panel"), ((o = this.previousFocusedElement) == null ? void 0 : o.tagName.toLowerCase()) === "o-button" ? (r = (e = (t = this.previousFocusedElement.shadowRoot) == null ? void 0 : t.querySelector(".button")) == null ? void 0 : e.focus) == null || r.call(e) : (i = this.previousFocusedElement) == null || i.focus(), this.dispatchEvent(
2069
2069
  new CustomEvent("close", { bubbles: !0, composed: !0 })
2070
2070
  );
2071
2071
  }
@@ -2160,7 +2160,7 @@ let u = class extends v {
2160
2160
  variant="${this.firstButtonVariant}"
2161
2161
  @click=${this.handleFirstClick}
2162
2162
  @keydown=${this.handleFirstClick}
2163
- ${ne(this.firstButtonProps)}
2163
+ ${re(this.firstButtonProps)}
2164
2164
  >
2165
2165
  ${this.firstButtonLabel}
2166
2166
  </o-button>
@@ -2171,7 +2171,7 @@ let u = class extends v {
2171
2171
  variant="${this.secondButtonVariant}"
2172
2172
  @click=${this.handleSecondClick}
2173
2173
  @keydown=${this.handleSecondClick}
2174
- ${ne(this.secondButtonProps)}
2174
+ ${re(this.secondButtonProps)}
2175
2175
  >
2176
2176
  ${this.secondButtonLabel}
2177
2177
  </o-button>
@@ -2182,7 +2182,7 @@ let u = class extends v {
2182
2182
  `;
2183
2183
  }
2184
2184
  };
2185
- u.styles = b`
2185
+ u.styles = g`
2186
2186
  :host {
2187
2187
  --z-overlay: 99;
2188
2188
  --z-panel: 100;
@@ -2286,7 +2286,7 @@ u.styles = b`
2286
2286
  .panel:focus-visible,
2287
2287
  .close-btn:focus,
2288
2288
  .close-btn:focus-visible {
2289
- ${ft}
2289
+ ${bt}
2290
2290
  }
2291
2291
 
2292
2292
  .content {
@@ -2434,14 +2434,14 @@ y([
2434
2434
  a({ type: Boolean })
2435
2435
  ], u.prototype, "isHidingDetail", 2);
2436
2436
  u = y([
2437
- w("o-side-panel")
2437
+ x("o-side-panel")
2438
2438
  ], u);
2439
- var Io = Object.defineProperty, Bo = Object.getOwnPropertyDescriptor, N = (o, t, e, n) => {
2440
- for (var i = n > 1 ? void 0 : n ? Bo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
2441
- (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
2442
- return n && i && Io(t, e, i), i;
2439
+ var Io = Object.defineProperty, zo = Object.getOwnPropertyDescriptor, Z = (o, t, e, r) => {
2440
+ for (var i = r > 1 ? void 0 : r ? zo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
2441
+ (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
2442
+ return r && i && Io(t, e, i), i;
2443
2443
  };
2444
- let I = class extends v {
2444
+ let B = class extends v {
2445
2445
  constructor() {
2446
2446
  super(...arguments), this.thumbnails = [], this.activeIndex = 0, this.disabledIndexes = [], this.maxWidth = "100%", this.altressource = "visual", this.focusedIndex = 0, this.playerIconTemplate = l`
2447
2447
  <o-icon-button
@@ -2493,7 +2493,7 @@ let I = class extends v {
2493
2493
  return l`
2494
2494
  <ul class="scroll-container" style="max-width: ${this.maxWidth};">
2495
2495
  ${this.thumbnails.map((o, t) => {
2496
- const e = this.disabledIndexes.includes(t), n = this.activeIndex === t, i = o.type === "video", r = i ? `video ${t}` : `${this.altressource} ${t + 1}`;
2496
+ const e = this.disabledIndexes.includes(t), r = this.activeIndex === t, i = o.type === "video", n = i ? `video ${t}` : `${this.altressource} ${t + 1}`;
2497
2497
  return l`
2498
2498
  <li class="thumb-wrapper">
2499
2499
  <button
@@ -2501,14 +2501,14 @@ let I = class extends v {
2501
2501
  data-index="${t}"
2502
2502
  ?disabled=${e}
2503
2503
  aria-selected="${this.focusedIndex === t}"
2504
- aria-current=${n ? "true" : "false"}
2504
+ aria-current=${r ? "true" : "false"}
2505
2505
  tabindex="${this.disabledIndexes.includes(t) ? -1 : 0}"
2506
2506
  @click=${() => this.selectThumbnail(t)}
2507
2507
  @keydown=${this.handleKeyDown}
2508
2508
  @focus=${(s) => this.onFocus(s)}
2509
2509
  @blur=${(s) => this.onBlur(s)}
2510
2510
  >
2511
- <img alt="${r}" src="${o.src}" />
2511
+ <img alt="${n}" src="${o.src}" />
2512
2512
  </button>
2513
2513
  ${i ? l`<div class="play-icon-wrapper">${this.playerIconTemplate}</div>` : null}
2514
2514
  </li>
@@ -2518,7 +2518,7 @@ let I = class extends v {
2518
2518
  `;
2519
2519
  }
2520
2520
  };
2521
- I.styles = b`
2521
+ B.styles = g`
2522
2522
  :host {
2523
2523
  display: flex;
2524
2524
  gap: 5px;
@@ -2624,36 +2624,36 @@ I.styles = b`
2624
2624
  width: 0;
2625
2625
  }
2626
2626
  `;
2627
- N([
2627
+ Z([
2628
2628
  a({ type: Array })
2629
- ], I.prototype, "thumbnails", 2);
2630
- N([
2629
+ ], B.prototype, "thumbnails", 2);
2630
+ Z([
2631
2631
  a({ type: Number })
2632
- ], I.prototype, "activeIndex", 2);
2633
- N([
2632
+ ], B.prototype, "activeIndex", 2);
2633
+ Z([
2634
2634
  a({ type: Array })
2635
- ], I.prototype, "disabledIndexes", 2);
2636
- N([
2635
+ ], B.prototype, "disabledIndexes", 2);
2636
+ Z([
2637
2637
  a({ type: String })
2638
- ], I.prototype, "maxWidth", 2);
2639
- N([
2638
+ ], B.prototype, "maxWidth", 2);
2639
+ Z([
2640
2640
  a({ type: String })
2641
- ], I.prototype, "altressource", 2);
2642
- N([
2641
+ ], B.prototype, "altressource", 2);
2642
+ Z([
2643
2643
  a({ type: Object })
2644
- ], I.prototype, "swiperInstance", 2);
2645
- N([
2646
- K()
2647
- ], I.prototype, "focusedIndex", 2);
2648
- I = N([
2649
- w("thumbnail-navigation")
2650
- ], I);
2651
- var zo = Object.defineProperty, Do = Object.getOwnPropertyDescriptor, Rt = (o, t, e, n) => {
2652
- for (var i = n > 1 ? void 0 : n ? Do(t, e) : t, r = o.length - 1, s; r >= 0; r--)
2653
- (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
2654
- return n && i && zo(t, e, i), i;
2644
+ ], B.prototype, "swiperInstance", 2);
2645
+ Z([
2646
+ X()
2647
+ ], B.prototype, "focusedIndex", 2);
2648
+ B = Z([
2649
+ x("thumbnail-navigation")
2650
+ ], B);
2651
+ var Bo = Object.defineProperty, Do = Object.getOwnPropertyDescriptor, Rt = (o, t, e, r) => {
2652
+ for (var i = r > 1 ? void 0 : r ? Do(t, e) : t, n = o.length - 1, s; n >= 0; n--)
2653
+ (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
2654
+ return r && i && Bo(t, e, i), i;
2655
2655
  };
2656
- let lt = class extends v {
2656
+ let ht = class extends v {
2657
2657
  constructor() {
2658
2658
  super(...arguments), this.type = "", this.bgstyle = "background-white";
2659
2659
  }
@@ -2663,7 +2663,7 @@ let lt = class extends v {
2663
2663
  `;
2664
2664
  }
2665
2665
  };
2666
- lt.styles = b`
2666
+ ht.styles = g`
2667
2667
  .tag {
2668
2668
  display: inline-block;
2669
2669
  padding: var(--spacing-2-xs) var(--spacing-s);
@@ -2723,19 +2723,19 @@ lt.styles = b`
2723
2723
  `;
2724
2724
  Rt([
2725
2725
  a({ type: String, reflect: !0 })
2726
- ], lt.prototype, "type", 2);
2726
+ ], ht.prototype, "type", 2);
2727
2727
  Rt([
2728
2728
  a({ type: String, reflect: !0 })
2729
- ], lt.prototype, "bgstyle", 2);
2730
- lt = Rt([
2731
- w("o-tag")
2732
- ], lt);
2733
- var Ho = Object.defineProperty, Mo = Object.getOwnPropertyDescriptor, Ut = (o, t, e, n) => {
2734
- for (var i = n > 1 ? void 0 : n ? Mo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
2735
- (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
2736
- return n && i && Ho(t, e, i), i;
2729
+ ], ht.prototype, "bgstyle", 2);
2730
+ ht = Rt([
2731
+ x("o-tag")
2732
+ ], ht);
2733
+ var Ho = Object.defineProperty, Mo = Object.getOwnPropertyDescriptor, Ut = (o, t, e, r) => {
2734
+ for (var i = r > 1 ? void 0 : r ? Mo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
2735
+ (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
2736
+ return r && i && Ho(t, e, i), i;
2737
2737
  };
2738
- let ct = class extends v {
2738
+ let dt = class extends v {
2739
2739
  constructor() {
2740
2740
  super(...arguments), this.type = "top", this.text = "";
2741
2741
  }
@@ -2748,7 +2748,7 @@ let ct = class extends v {
2748
2748
  `;
2749
2749
  }
2750
2750
  };
2751
- ct.styles = b`
2751
+ dt.styles = g`
2752
2752
  .tooltip {
2753
2753
  position: relative;
2754
2754
  display: inline-block;
@@ -2843,19 +2843,19 @@ ct.styles = b`
2843
2843
  `;
2844
2844
  Ut([
2845
2845
  a({ type: String, reflect: !0 })
2846
- ], ct.prototype, "type", 2);
2846
+ ], dt.prototype, "type", 2);
2847
2847
  Ut([
2848
2848
  a({ type: String, reflect: !0 })
2849
- ], ct.prototype, "text", 2);
2850
- ct = Ut([
2851
- w("o-tooltip")
2852
- ], ct);
2853
- var To = Object.defineProperty, jo = Object.getOwnPropertyDescriptor, M = (o, t, e, n) => {
2854
- for (var i = n > 1 ? void 0 : n ? jo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
2855
- (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
2856
- return n && i && To(t, e, i), i;
2849
+ ], dt.prototype, "text", 2);
2850
+ dt = Ut([
2851
+ x("o-tooltip")
2852
+ ], dt);
2853
+ var To = Object.defineProperty, jo = Object.getOwnPropertyDescriptor, j = (o, t, e, r) => {
2854
+ for (var i = r > 1 ? void 0 : r ? jo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
2855
+ (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
2856
+ return r && i && To(t, e, i), i;
2857
2857
  };
2858
- let O = class extends v {
2858
+ let I = class extends v {
2859
2859
  constructor() {
2860
2860
  super(...arguments), this.options = [], this.value = "", this.name = "", this.disabled = !1, this.width = "100%", this.open = !1, this.activeIndex = -1, this.menuWidth = "", this._handleOutsideClick = (o) => {
2861
2861
  this.contains(o.target) || (this.open = !1, this.activeIndex = -1);
@@ -2921,7 +2921,7 @@ let O = class extends v {
2921
2921
  this.options.length > 0 && (this.options.some((e) => e.value === this.value) || (this.value = this.options[0].value));
2922
2922
  }
2923
2923
  render() {
2924
- const o = G.checkstroke.replace(
2924
+ const o = J.checkstroke.replace(
2925
2925
  "<svg",
2926
2926
  '<svg aria-hidden="true" focusable="false" part="svg"'
2927
2927
  ), t = this.options.find((e) => e.value === this.value);
@@ -2954,22 +2954,22 @@ let O = class extends v {
2954
2954
  style=${`width: ${this.width};`}
2955
2955
  >
2956
2956
  ${this.options.map(
2957
- (e, n) => l`
2957
+ (e, r) => l`
2958
2958
  <li
2959
- id="option-${n}"
2959
+ id="option-${r}"
2960
2960
  role="option"
2961
2961
  aria-selected="${e.value === this.value}"
2962
- tabindex="${n === this.activeIndex ? "0" : "-1"}"
2963
- class="${n === this.activeIndex ? "active" : ""} ${e.disabled ? "disabled" : ""}"
2962
+ tabindex="${r === this.activeIndex ? "0" : "-1"}"
2963
+ class="${r === this.activeIndex ? "active" : ""} ${e.disabled ? "disabled" : ""}"
2964
2964
  @click=${() => this.selectOption(e)}
2965
2965
  >
2966
2966
  ${e.url ? l`
2967
2967
  <a href="${e.url}">
2968
2968
  <span>${e.label}</span>
2969
- ${e.value === this.value ? l`<span class="check">${P(o)}</span>` : null}
2969
+ ${e.value === this.value ? l`<span class="check">${O(o)}</span>` : null}
2970
2970
  </a>` : l`
2971
2971
  <span>${e.label}</span>
2972
- ${e.value === this.value ? l`<span class="check">${P(o)}</span>` : null}`}
2972
+ ${e.value === this.value ? l`<span class="check">${O(o)}</span>` : null}`}
2973
2973
  </li>`
2974
2974
  )}
2975
2975
  </ul>` : null}
@@ -2978,7 +2978,7 @@ let O = class extends v {
2978
2978
  `;
2979
2979
  }
2980
2980
  };
2981
- O.styles = b`
2981
+ I.styles = g`
2982
2982
  :host {
2983
2983
  display: inline-block;
2984
2984
  position: relative;
@@ -3118,44 +3118,44 @@ O.styles = b`
3118
3118
  display: none;
3119
3119
  }
3120
3120
  `;
3121
- M([
3121
+ j([
3122
3122
  a({ type: Array, reflect: !0 })
3123
- ], O.prototype, "options", 2);
3124
- M([
3123
+ ], I.prototype, "options", 2);
3124
+ j([
3125
3125
  a({ type: String, reflect: !0 })
3126
- ], O.prototype, "value", 2);
3127
- M([
3126
+ ], I.prototype, "value", 2);
3127
+ j([
3128
3128
  a({ type: String, reflect: !0 })
3129
- ], O.prototype, "name", 2);
3130
- M([
3129
+ ], I.prototype, "name", 2);
3130
+ j([
3131
3131
  a({ type: Boolean, reflect: !0 })
3132
- ], O.prototype, "disabled", 2);
3133
- M([
3132
+ ], I.prototype, "disabled", 2);
3133
+ j([
3134
3134
  a({ type: String, reflect: !0 })
3135
- ], O.prototype, "width", 2);
3136
- M([
3137
- K()
3138
- ], O.prototype, "open", 2);
3139
- M([
3140
- K()
3141
- ], O.prototype, "activeIndex", 2);
3142
- M([
3143
- K()
3144
- ], O.prototype, "menuWidth", 2);
3145
- O = M([
3146
- w("o-dropdown")
3147
- ], O);
3148
- var Fo = Object.getOwnPropertyDescriptor, Ro = (o, t, e, n) => {
3149
- for (var i = n > 1 ? void 0 : n ? Fo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
3150
- (s = o[r]) && (i = s(i) || i);
3135
+ ], I.prototype, "width", 2);
3136
+ j([
3137
+ X()
3138
+ ], I.prototype, "open", 2);
3139
+ j([
3140
+ X()
3141
+ ], I.prototype, "activeIndex", 2);
3142
+ j([
3143
+ X()
3144
+ ], I.prototype, "menuWidth", 2);
3145
+ I = j([
3146
+ x("o-dropdown")
3147
+ ], I);
3148
+ var Fo = Object.getOwnPropertyDescriptor, No = (o, t, e, r) => {
3149
+ for (var i = r > 1 ? void 0 : r ? Fo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
3150
+ (s = o[n]) && (i = s(i) || i);
3151
3151
  return i;
3152
3152
  };
3153
- let Ot = class extends v {
3153
+ let It = class extends v {
3154
3154
  render() {
3155
3155
  return l` <span class="dots"></span> `;
3156
3156
  }
3157
3157
  };
3158
- Ot.styles = b`
3158
+ It.styles = g`
3159
3159
  :host {
3160
3160
  display: flex;
3161
3161
  align-items: center;
@@ -3207,15 +3207,15 @@ Ot.styles = b`
3207
3207
  }
3208
3208
  }
3209
3209
  `;
3210
- Ot = Ro([
3211
- w("o-dots")
3212
- ], Ot);
3213
- var Uo = Object.defineProperty, No = Object.getOwnPropertyDescriptor, z = (o, t, e, n) => {
3214
- for (var i = n > 1 ? void 0 : n ? No(t, e) : t, r = o.length - 1, s; r >= 0; r--)
3215
- (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
3216
- return n && i && Uo(t, e, i), i;
3210
+ It = No([
3211
+ x("o-dots")
3212
+ ], It);
3213
+ var Ro = Object.defineProperty, Uo = Object.getOwnPropertyDescriptor, H = (o, t, e, r) => {
3214
+ for (var i = r > 1 ? void 0 : r ? Uo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
3215
+ (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
3216
+ return r && i && Ro(t, e, i), i;
3217
3217
  };
3218
- let k = class extends v {
3218
+ let A = class extends v {
3219
3219
  constructor() {
3220
3220
  super(...arguments), this.options = [], this.value = "", this.name = "", this.additionaltext = "+X variant(s)", this.disabled = !1, this.width = "100%", this.open = !1, this.activeIndex = -1, this.menuWidth = "", this._handleOutsideClick = (o) => {
3221
3221
  this.contains(o.target) || (this.open = !1, this.activeIndex = -1);
@@ -3281,7 +3281,7 @@ let k = class extends v {
3281
3281
  this.options.length > 0 && (this.options.some((t) => t.value === this.value) || (this.value = this.options[0].value));
3282
3282
  }
3283
3283
  render() {
3284
- const o = G.checkstroke.replace(
3284
+ const o = J.checkstroke.replace(
3285
3285
  "<svg",
3286
3286
  '<svg aria-hidden="true" focusable="false" part="svg"'
3287
3287
  ), t = this.options.find((e) => e.value === this.value);
@@ -3299,7 +3299,7 @@ let k = class extends v {
3299
3299
  ?disabled=${this.disabled}
3300
3300
  class="btn-dropdown"
3301
3301
  >
3302
- <img alt="${_(t == null ? void 0 : t.label)}" src="${_(t == null ? void 0 : t.imgurl)}" />
3302
+ <img alt="${C(t == null ? void 0 : t.label)}" src="${C(t == null ? void 0 : t.imgurl)}" />
3303
3303
  <span id="dropdown-label" class="label">
3304
3304
  ${t ? t.label : "Select an option"}
3305
3305
  </span>
@@ -3324,23 +3324,23 @@ let k = class extends v {
3324
3324
  style=${`width: ${this.width};`}
3325
3325
  >
3326
3326
  ${this.options.map(
3327
- (e, n) => l`
3327
+ (e, r) => l`
3328
3328
  <li
3329
- id="option-${n}"
3329
+ id="option-${r}"
3330
3330
  role="option"
3331
3331
  aria-selected="${e.value === this.value}"
3332
3332
  aria-disabled="${e.disabled ? "true" : "false"}"
3333
- tabindex="${n === this.activeIndex ? "0" : "-1"}"
3334
- class="${n === this.activeIndex ? "active" : ""} ${e.disabled ? "disabled" : ""}"
3333
+ tabindex="${r === this.activeIndex ? "0" : "-1"}"
3334
+ class="${r === this.activeIndex ? "active" : ""} ${e.disabled ? "disabled" : ""}"
3335
3335
  @click=${() => this.selectOption(e)}
3336
3336
  >
3337
- <a href="${_(e.url)}">
3338
- <img alt="${_(e.label)}" src="${_(e.imgurl)}" />
3337
+ <a href="${C(e.url)}">
3338
+ <img alt="${C(e.label)}" src="${C(e.imgurl)}" />
3339
3339
  <span class="label">${e.label}</span>
3340
3340
  <div class="right">
3341
- <span class="additional-text">${_(e.additionaltext)}</span>
3341
+ <span class="additional-text">${C(e.additionaltext)}</span>
3342
3342
  ${e.value === this.value && !e.additionaltext ? l`
3343
- <span class="check">${P(o)}</span>` : null}
3343
+ <span class="check">${O(o)}</span>` : null}
3344
3344
  </div>
3345
3345
  </a>
3346
3346
  </li>
@@ -3352,7 +3352,7 @@ let k = class extends v {
3352
3352
  `;
3353
3353
  }
3354
3354
  };
3355
- k.styles = b`
3355
+ A.styles = g`
3356
3356
  :host {
3357
3357
  display: inline-block;
3358
3358
  position: relative;
@@ -3528,73 +3528,73 @@ k.styles = b`
3528
3528
  display: none;
3529
3529
  }
3530
3530
  `;
3531
- z([
3531
+ H([
3532
3532
  a({ type: Array, reflect: !0 })
3533
- ], k.prototype, "options", 2);
3534
- z([
3533
+ ], A.prototype, "options", 2);
3534
+ H([
3535
3535
  a({ type: String, reflect: !0 })
3536
- ], k.prototype, "value", 2);
3537
- z([
3536
+ ], A.prototype, "value", 2);
3537
+ H([
3538
3538
  a({ type: String, reflect: !0 })
3539
- ], k.prototype, "name", 2);
3540
- z([
3539
+ ], A.prototype, "name", 2);
3540
+ H([
3541
3541
  a({ type: String, reflect: !0 })
3542
- ], k.prototype, "additionaltext", 2);
3543
- z([
3542
+ ], A.prototype, "additionaltext", 2);
3543
+ H([
3544
3544
  a({ type: Boolean, reflect: !0 })
3545
- ], k.prototype, "disabled", 2);
3546
- z([
3545
+ ], A.prototype, "disabled", 2);
3546
+ H([
3547
3547
  a({ type: String, reflect: !0 })
3548
- ], k.prototype, "width", 2);
3549
- z([
3550
- K()
3551
- ], k.prototype, "open", 2);
3552
- z([
3553
- K()
3554
- ], k.prototype, "activeIndex", 2);
3555
- z([
3556
- K()
3557
- ], k.prototype, "menuWidth", 2);
3558
- k = z([
3559
- w("o-dropdown-variant")
3560
- ], k);
3548
+ ], A.prototype, "width", 2);
3549
+ H([
3550
+ X()
3551
+ ], A.prototype, "open", 2);
3552
+ H([
3553
+ X()
3554
+ ], A.prototype, "activeIndex", 2);
3555
+ H([
3556
+ X()
3557
+ ], A.prototype, "menuWidth", 2);
3558
+ A = H([
3559
+ x("o-dropdown-variant")
3560
+ ], A);
3561
3561
  /**
3562
3562
  * @license
3563
3563
  * Copyright 2018 Google LLC
3564
3564
  * SPDX-License-Identifier: BSD-3-Clause
3565
3565
  */
3566
- const pe = "important", Vo = " !" + pe, Zo = jt(class extends Ft {
3566
+ const pe = "important", Vo = " !" + pe, Zo = Ft(class extends Nt {
3567
3567
  constructor(o) {
3568
3568
  var t;
3569
- if (super(o), o.type !== Tt.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.");
3569
+ if (super(o), o.type !== jt.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.");
3570
3570
  }
3571
3571
  render(o) {
3572
3572
  return Object.keys(o).reduce((t, e) => {
3573
- const n = o[e];
3574
- return n == null ? t : t + `${e = e.includes("-") ? e : e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g, "-$&").toLowerCase()}:${n};`;
3573
+ const r = o[e];
3574
+ return r == null ? t : t + `${e = e.includes("-") ? e : e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g, "-$&").toLowerCase()}:${r};`;
3575
3575
  }, "");
3576
3576
  }
3577
3577
  update(o, [t]) {
3578
3578
  const { style: e } = o.element;
3579
3579
  if (this.ft === void 0) return this.ft = new Set(Object.keys(t)), this.render(t);
3580
- for (const n of this.ft) t[n] == null && (this.ft.delete(n), n.includes("-") ? e.removeProperty(n) : e[n] = null);
3581
- for (const n in t) {
3582
- const i = t[n];
3580
+ for (const r of this.ft) t[r] == null && (this.ft.delete(r), r.includes("-") ? e.removeProperty(r) : e[r] = null);
3581
+ for (const r in t) {
3582
+ const i = t[r];
3583
3583
  if (i != null) {
3584
- this.ft.add(n);
3585
- const r = typeof i == "string" && i.endsWith(Vo);
3586
- n.includes("-") || r ? e.setProperty(n, r ? i.slice(0, -11) : i, r ? pe : "") : e[n] = i;
3584
+ this.ft.add(r);
3585
+ const n = typeof i == "string" && i.endsWith(Vo);
3586
+ r.includes("-") || n ? e.setProperty(r, n ? i.slice(0, -11) : i, n ? pe : "") : e[r] = i;
3587
3587
  }
3588
3588
  }
3589
- return U;
3589
+ return V;
3590
3590
  }
3591
3591
  });
3592
- var qo = Object.defineProperty, Wo = Object.getOwnPropertyDescriptor, Nt = (o, t, e, n) => {
3593
- for (var i = n > 1 ? void 0 : n ? Wo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
3594
- (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
3595
- return n && i && qo(t, e, i), i;
3592
+ var qo = Object.defineProperty, Wo = Object.getOwnPropertyDescriptor, Vt = (o, t, e, r) => {
3593
+ for (var i = r > 1 ? void 0 : r ? Wo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
3594
+ (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
3595
+ return r && i && qo(t, e, i), i;
3596
3596
  };
3597
- let ht = class extends v {
3597
+ let pt = class extends v {
3598
3598
  constructor() {
3599
3599
  super(...arguments), this.option = {}, this.imageSize = 64;
3600
3600
  }
@@ -3603,16 +3603,16 @@ let ht = class extends v {
3603
3603
  width: `${this.imageSize}px`,
3604
3604
  height: `${this.imageSize}px`
3605
3605
  }, e = l`
3606
- ${this.option.imgurl ? l`<img src="${this.option.imgurl}" alt="${_(this.option.title)}" aria-hidden="true" style=${Zo(t)} />` : ""}
3606
+ ${this.option.imgurl ? l`<img src="${this.option.imgurl}" alt="${C(this.option.title)}" aria-hidden="true" style=${Zo(t)} />` : ""}
3607
3607
  <div class="m-reassurance-content">
3608
- <h3 class="a-reassurance-text">${_(this.option.title)}</h3>
3609
- <p class="a-reassurance-description">${_(this.option.description)}</p>
3608
+ <h3 class="a-reassurance-text">${C(this.option.title)}</h3>
3609
+ <p class="a-reassurance-description">${C(this.option.description)}</p>
3610
3610
  </div>
3611
3611
  `;
3612
- return o ? l`<a href="${_(this.option.url)}" class="reassurance-item clickable">${e}</a>` : l`<div class="reassurance-item">${e}</div>`;
3612
+ return o ? l`<a href="${C(this.option.url)}" class="reassurance-item clickable">${e}</a>` : l`<div class="reassurance-item">${e}</div>`;
3613
3613
  }
3614
3614
  };
3615
- ht.styles = b`
3615
+ pt.styles = g`
3616
3616
  :host {
3617
3617
  display: inline-block;
3618
3618
  position: relative;
@@ -3694,22 +3694,22 @@ ht.styles = b`
3694
3694
  }
3695
3695
  }
3696
3696
  `;
3697
- Nt([
3697
+ Vt([
3698
3698
  a({ type: Object, reflect: !0 })
3699
- ], ht.prototype, "option", 2);
3700
- Nt([
3699
+ ], pt.prototype, "option", 2);
3700
+ Vt([
3701
3701
  a({ type: Number, reflect: !0 })
3702
- ], ht.prototype, "imageSize", 2);
3703
- ht = Nt([
3704
- w("o-reassurance")
3705
- ], ht);
3706
- var Ko = Object.defineProperty, Go = Object.getOwnPropertyDescriptor, T = (o, t, e, n) => {
3707
- for (var i = n > 1 ? void 0 : n ? Go(t, e) : t, r = o.length - 1, s; r >= 0; r--)
3708
- (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
3709
- return n && i && Ko(t, e, i), i;
3702
+ ], pt.prototype, "imageSize", 2);
3703
+ pt = Vt([
3704
+ x("o-reassurance")
3705
+ ], pt);
3706
+ var Ko = Object.defineProperty, Go = Object.getOwnPropertyDescriptor, F = (o, t, e, r) => {
3707
+ for (var i = r > 1 ? void 0 : r ? Go(t, e) : t, n = o.length - 1, s; n >= 0; n--)
3708
+ (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
3709
+ return r && i && Ko(t, e, i), i;
3710
3710
  };
3711
- const Xo = Mt(v);
3712
- let A = class extends Xo {
3711
+ const Xo = Tt(v);
3712
+ let S = class extends Xo {
3713
3713
  constructor() {
3714
3714
  super(...arguments), this.link = "", this.name = "", this.value = "", this.text = "", this.size = "standard", this.selected = !1, this.fullwidth = !1, this.inactive = !1;
3715
3715
  }
@@ -3732,7 +3732,7 @@ let A = class extends Xo {
3732
3732
  `;
3733
3733
  }
3734
3734
  };
3735
- A.styles = b`
3735
+ S.styles = g`
3736
3736
  :host {
3737
3737
  cursor: pointer;
3738
3738
  display: inline-flex;
@@ -3808,7 +3808,7 @@ A.styles = b`
3808
3808
  }
3809
3809
 
3810
3810
  &:focus-visible {
3811
- ${ft};
3811
+ ${bt};
3812
3812
  }
3813
3813
  }
3814
3814
 
@@ -3822,44 +3822,44 @@ A.styles = b`
3822
3822
  align-items: center;
3823
3823
  }
3824
3824
  `;
3825
- T([
3825
+ F([
3826
3826
  a({ type: String, reflect: !0 })
3827
- ], A.prototype, "link", 2);
3828
- T([
3827
+ ], S.prototype, "link", 2);
3828
+ F([
3829
3829
  a({ reflect: !0 })
3830
- ], A.prototype, "name", 2);
3831
- T([
3830
+ ], S.prototype, "name", 2);
3831
+ F([
3832
3832
  a({ reflect: !0 })
3833
- ], A.prototype, "value", 2);
3834
- T([
3833
+ ], S.prototype, "value", 2);
3834
+ F([
3835
3835
  a({ type: String })
3836
- ], A.prototype, "text", 2);
3837
- T([
3836
+ ], S.prototype, "text", 2);
3837
+ F([
3838
3838
  a({ type: String, reflect: !0 })
3839
- ], A.prototype, "size", 2);
3840
- T([
3839
+ ], S.prototype, "size", 2);
3840
+ F([
3841
3841
  a({ type: Boolean, reflect: !0 })
3842
- ], A.prototype, "selected", 2);
3843
- T([
3842
+ ], S.prototype, "selected", 2);
3843
+ F([
3844
3844
  a({ type: Boolean, reflect: !0 })
3845
- ], A.prototype, "fullwidth", 2);
3846
- T([
3845
+ ], S.prototype, "fullwidth", 2);
3846
+ F([
3847
3847
  a({ type: Boolean, reflect: !0 })
3848
- ], A.prototype, "inactive", 2);
3849
- A = T([
3850
- w("o-chip")
3851
- ], A);
3852
- var Jo = Object.defineProperty, Qo = Object.getOwnPropertyDescriptor, Vt = (o, t, e, n) => {
3853
- for (var i = n > 1 ? void 0 : n ? Qo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
3854
- (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
3855
- return n && i && Jo(t, e, i), i;
3848
+ ], S.prototype, "inactive", 2);
3849
+ S = F([
3850
+ x("o-chip")
3851
+ ], S);
3852
+ var Jo = Object.defineProperty, Qo = Object.getOwnPropertyDescriptor, Zt = (o, t, e, r) => {
3853
+ for (var i = r > 1 ? void 0 : r ? Qo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
3854
+ (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
3855
+ return r && i && Jo(t, e, i), i;
3856
3856
  };
3857
- let dt = class extends v {
3857
+ let ut = class extends v {
3858
3858
  constructor() {
3859
3859
  super(), this.name = "", this.value = "", this.addEventListener("selected", this.onChipSelected);
3860
3860
  }
3861
3861
  onChipSelected(o) {
3862
- const t = o.target instanceof A ? o.target : null;
3862
+ const t = o.target instanceof S ? o.target : null;
3863
3863
  t != null && t.link || (this.name = (t == null ? void 0 : t.name) || "", this.value = (t == null ? void 0 : t.value) || "", this.querySelectorAll("o-chip").forEach((e) => {
3864
3864
  e !== t && (e.selected = !1);
3865
3865
  }));
@@ -3870,7 +3870,7 @@ let dt = class extends v {
3870
3870
  `;
3871
3871
  }
3872
3872
  };
3873
- dt.styles = b`
3873
+ ut.styles = g`
3874
3874
  :host {
3875
3875
  display: flex;
3876
3876
  flex-direction: row;
@@ -3878,21 +3878,21 @@ dt.styles = b`
3878
3878
  gap: var(--spacing-s);
3879
3879
  }
3880
3880
  `;
3881
- Vt([
3881
+ Zt([
3882
3882
  a({ reflect: !0 })
3883
- ], dt.prototype, "name", 2);
3884
- Vt([
3883
+ ], ut.prototype, "name", 2);
3884
+ Zt([
3885
3885
  a({ reflect: !0 })
3886
- ], dt.prototype, "value", 2);
3887
- dt = Vt([
3888
- w("o-chipset")
3889
- ], dt);
3890
- var Yo = Object.defineProperty, ti = Object.getOwnPropertyDescriptor, D = (o, t, e, n) => {
3891
- for (var i = n > 1 ? void 0 : n ? ti(t, e) : t, r = o.length - 1, s; r >= 0; r--)
3892
- (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
3893
- return n && i && Yo(t, e, i), i;
3886
+ ], ut.prototype, "value", 2);
3887
+ ut = Zt([
3888
+ x("o-chipset")
3889
+ ], ut);
3890
+ var Yo = Object.defineProperty, ti = Object.getOwnPropertyDescriptor, M = (o, t, e, r) => {
3891
+ for (var i = r > 1 ? void 0 : r ? ti(t, e) : t, n = o.length - 1, s; n >= 0; n--)
3892
+ (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
3893
+ return r && i && Yo(t, e, i), i;
3894
3894
  };
3895
- const ei = Mt(v);
3895
+ const ei = Tt(v);
3896
3896
  let E = class extends ei {
3897
3897
  constructor() {
3898
3898
  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";
@@ -3905,18 +3905,18 @@ let E = class extends ei {
3905
3905
  this.dispatchEvent(e), e.defaultPrevented && o.preventDefault(), this.selected = t.selected;
3906
3906
  }
3907
3907
  crossIcon() {
3908
- const o = G[this.crossIconName].replace(
3908
+ const o = J[this.crossIconName].replace(
3909
3909
  "<svg",
3910
3910
  '<svg aria-hidden="true" focusable="false" part="svg"'
3911
3911
  ).replace(/stroke=[#"'a-z1-9]*/gi, "");
3912
- return l`<span class="cross-icon">${P(o)}</span>`;
3912
+ return l`<span class="cross-icon">${O(o)}</span>`;
3913
3913
  }
3914
3914
  strikeThroughImg() {
3915
3915
  const o = lo[this.strikethroughImgName].replace(
3916
3916
  "<svg",
3917
3917
  '<svg aria-hidden="true" focusable="false" part="strikethrough"'
3918
3918
  ).replace(/stroke=[#"'a-z1-9]*/gi, "");
3919
- return P(o);
3919
+ return O(o);
3920
3920
  }
3921
3921
  render() {
3922
3922
  const o = this.text;
@@ -3943,7 +3943,7 @@ let E = class extends ei {
3943
3943
  `;
3944
3944
  }
3945
3945
  };
3946
- E.styles = b`
3946
+ E.styles = g`
3947
3947
  :host {
3948
3948
  cursor: pointer;
3949
3949
  display: inline-flex;
@@ -4023,7 +4023,7 @@ E.styles = b`
4023
4023
  }
4024
4024
 
4025
4025
  .button:focus-visible {
4026
- ${ft};
4026
+ ${bt};
4027
4027
  }
4028
4028
 
4029
4029
  span.text + span.text::before {
@@ -4069,39 +4069,39 @@ E.styles = b`
4069
4069
  }
4070
4070
  }
4071
4071
  `;
4072
- D([
4072
+ M([
4073
4073
  a({ reflect: !0 })
4074
4074
  ], E.prototype, "name", 2);
4075
- D([
4075
+ M([
4076
4076
  a({ reflect: !0 })
4077
4077
  ], E.prototype, "value", 2);
4078
- D([
4078
+ M([
4079
4079
  a({ type: String, reflect: !0 })
4080
4080
  ], E.prototype, "type", 2);
4081
- D([
4081
+ M([
4082
4082
  a({ type: String, reflect: !0 })
4083
4083
  ], E.prototype, "href", 2);
4084
- D([
4084
+ M([
4085
4085
  a({ type: String, reflect: !0, attribute: "data-href" })
4086
4086
  ], E.prototype, "dataHref", 2);
4087
- D([
4087
+ M([
4088
4088
  a({ type: String })
4089
4089
  ], E.prototype, "text", 2);
4090
- D([
4090
+ M([
4091
4091
  a({ type: Boolean, reflect: !0 })
4092
4092
  ], E.prototype, "selected", 2);
4093
- D([
4093
+ M([
4094
4094
  a({ type: Boolean, reflect: !0 })
4095
4095
  ], E.prototype, "disabled", 2);
4096
- D([
4096
+ M([
4097
4097
  a({ type: Boolean, reflect: !0 })
4098
4098
  ], E.prototype, "fullwidth", 2);
4099
- E = D([
4100
- w("o-filter-chip")
4099
+ E = M([
4100
+ x("o-filter-chip")
4101
4101
  ], E);
4102
- var oi = Object.defineProperty, j = (o, t, e, n) => {
4103
- for (var i = void 0, r = o.length - 1, s; r >= 0; r--)
4104
- (s = o[r]) && (i = s(t, e, i) || i);
4102
+ var oi = Object.defineProperty, N = (o, t, e, r) => {
4103
+ for (var i = void 0, n = o.length - 1, s; n >= 0; n--)
4104
+ (s = o[n]) && (i = s(t, e, i) || i);
4105
4105
  return i && oi(t, e, i), i;
4106
4106
  };
4107
4107
  const Wt = class Wt extends v {
@@ -4150,7 +4150,7 @@ const Wt = class Wt extends v {
4150
4150
  `;
4151
4151
  }
4152
4152
  };
4153
- Wt.styles = b`
4153
+ Wt.styles = g`
4154
4154
  :host {
4155
4155
  display: block;
4156
4156
  max-width: 100%;
@@ -4238,41 +4238,41 @@ Wt.styles = b`
4238
4238
  cursor: pointer;
4239
4239
  }
4240
4240
  `;
4241
- let S = Wt;
4242
- j([
4241
+ let L = Wt;
4242
+ N([
4243
4243
  a({ type: String })
4244
- ], S.prototype, "type");
4245
- j([
4244
+ ], L.prototype, "type");
4245
+ N([
4246
4246
  a({ type: String })
4247
- ], S.prototype, "titleProduct");
4248
- j([
4247
+ ], L.prototype, "titleProduct");
4248
+ N([
4249
4249
  a({ type: String })
4250
- ], S.prototype, "volume");
4251
- j([
4250
+ ], L.prototype, "volume");
4251
+ N([
4252
4252
  a({ type: String })
4253
- ], S.prototype, "perLiter");
4254
- j([
4253
+ ], L.prototype, "perLiter");
4254
+ N([
4255
4255
  a({ type: String })
4256
- ], S.prototype, "mainPrice");
4257
- j([
4256
+ ], L.prototype, "mainPrice");
4257
+ N([
4258
4258
  a({ type: String })
4259
- ], S.prototype, "imageUrl");
4260
- j([
4259
+ ], L.prototype, "imageUrl");
4260
+ N([
4261
4261
  a({ type: String })
4262
- ], S.prototype, "altImage");
4263
- j([
4262
+ ], L.prototype, "altImage");
4263
+ N([
4264
4264
  a({ type: Boolean })
4265
- ], S.prototype, "fullwidth");
4266
- j([
4265
+ ], L.prototype, "fullwidth");
4266
+ N([
4267
4267
  a({ type: Function })
4268
- ], S.prototype, "onClickTile");
4269
- customElements.define("mini-tile", S);
4270
- var ii = Object.defineProperty, ni = Object.getOwnPropertyDescriptor, Zt = (o, t, e, n) => {
4271
- for (var i = n > 1 ? void 0 : n ? ni(t, e) : t, r = o.length - 1, s; r >= 0; r--)
4272
- (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
4273
- return n && i && ii(t, e, i), i;
4268
+ ], L.prototype, "onClickTile");
4269
+ customElements.define("mini-tile", L);
4270
+ var ii = Object.defineProperty, ri = Object.getOwnPropertyDescriptor, qt = (o, t, e, r) => {
4271
+ for (var i = r > 1 ? void 0 : r ? ri(t, e) : t, n = o.length - 1, s; n >= 0; n--)
4272
+ (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
4273
+ return r && i && ii(t, e, i), i;
4274
4274
  };
4275
- let pt = class extends v {
4275
+ let vt = class extends v {
4276
4276
  constructor() {
4277
4277
  super(...arguments), this.variant = "cart", this.text = "";
4278
4278
  }
@@ -4284,7 +4284,7 @@ let pt = class extends v {
4284
4284
  `;
4285
4285
  }
4286
4286
  };
4287
- pt.styles = b`
4287
+ vt.styles = g`
4288
4288
  :host([variant]) {
4289
4289
  --badge-width: 19px;
4290
4290
  display: inline-block;
@@ -4319,30 +4319,65 @@ pt.styles = b`
4319
4319
  }
4320
4320
 
4321
4321
  `;
4322
- Zt([
4322
+ qt([
4323
4323
  a({ type: String, reflect: !0 })
4324
- ], pt.prototype, "variant", 2);
4325
- Zt([
4324
+ ], vt.prototype, "variant", 2);
4325
+ qt([
4326
4326
  a({ type: String })
4327
- ], pt.prototype, "text", 2);
4328
- pt = Zt([
4329
- w("o-badge")
4330
- ], pt);
4331
- var ri = Object.defineProperty, si = Object.getOwnPropertyDescriptor, qt = (o, t, e, n) => {
4332
- for (var i = n > 1 ? void 0 : n ? si(t, e) : t, r = o.length - 1, s; r >= 0; r--)
4333
- (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
4334
- return n && i && ri(t, e, i), i;
4327
+ ], vt.prototype, "text", 2);
4328
+ vt = qt([
4329
+ x("o-badge")
4330
+ ], vt);
4331
+ var ni = Object.defineProperty, si = Object.getOwnPropertyDescriptor, z = (o, t, e, r) => {
4332
+ for (var i = r > 1 ? void 0 : r ? si(t, e) : t, n = o.length - 1, s; n >= 0; n--)
4333
+ (s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
4334
+ return r && i && ni(t, e, i), i;
4335
4335
  };
4336
- let ut = class extends v {
4336
+ let $ = class extends v {
4337
4337
  constructor() {
4338
- super(...arguments), this.icon = "info", this.text = "Sample text";
4338
+ super(...arguments), this.icon = "info", this.text = "Sample text", this.verticalanchor = "top", this.horizontalanchor = "right", this.verticaloffset = 24, this.horizontaloffset = 24, this.animationduration = 500, this.animationaxis = "horizontal", this.animated = !0, this.lifeduration = 3e3;
4339
+ }
4340
+ attributeChangedCallback(o, t, e) {
4341
+ super.attributeChangedCallback(o, t, e), o == "verticaloffset" && this.style.setProperty("--vertical-offset", e + "px"), o == "horizontaloffset" && this.style.setProperty("--horizontal-offset", e + "px"), o == "animationduration" && this.style.setProperty("--animation-duration", e + "ms");
4342
+ }
4343
+ /**
4344
+ * Animate closing toast
4345
+ */
4346
+ selfCloseAfterDelay() {
4347
+ var o = this;
4348
+ setTimeout(function() {
4349
+ o.animated = !0, o.selfClose();
4350
+ }, this.lifeduration);
4351
+ }
4352
+ /**
4353
+ *
4354
+ */
4355
+ selfClose() {
4356
+ var o = this;
4357
+ setTimeout(function() {
4358
+ o.remove();
4359
+ }, this.animationduration + 200);
4360
+ }
4361
+ connectedCallback() {
4362
+ var o = this;
4363
+ super.connectedCallback(), setTimeout(() => {
4364
+ o.animated = !1, this.selfCloseAfterDelay();
4365
+ }, 300);
4366
+ }
4367
+ firstUpdated() {
4368
+ var e;
4369
+ var o = this;
4370
+ const t = (e = this.renderRoot) == null ? void 0 : e.querySelector("o-icon-button");
4371
+ t != null && t.addEventListener("click", function() {
4372
+ o.remove();
4373
+ });
4339
4374
  }
4340
4375
  render() {
4341
4376
  const t = co[this.icon].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"');
4342
4377
  return l`
4343
4378
  <div class="o-toast">
4344
4379
  <div class="o-toast-icon">
4345
- ${P(t)}
4380
+ ${O(t)}
4346
4381
  </div>
4347
4382
  <div class="o-toast-text">
4348
4383
  ${this.text}
@@ -4358,7 +4393,53 @@ let ut = class extends v {
4358
4393
  `;
4359
4394
  }
4360
4395
  };
4361
- ut.styles = b`
4396
+ $.styles = g`
4397
+ :host {
4398
+ --vertical-offset: 24px;
4399
+ --horizontal-offset: 24px;
4400
+ --animation-duration: 500ms;
4401
+ position: fixed;
4402
+ z-index: 30;
4403
+ transition: all var(--animation-duration) ease-in-out;
4404
+ }
4405
+
4406
+ :host([verticalanchor="top"]) {
4407
+ top: var(--vertical-offset);
4408
+ }
4409
+
4410
+ :host([verticalanchor="bottom"]) {
4411
+ bottom: var(--vertical-offset);
4412
+ }
4413
+
4414
+ :host([horizontalanchor="right"]) {
4415
+ right: var(--horizontal-offset);
4416
+ }
4417
+
4418
+ :host([horizontalanchor="center"]) {
4419
+ left: 50%;
4420
+ transform: translateX(-50%);
4421
+ }
4422
+
4423
+ :host([horizontalanchor="left"]) {
4424
+ left: var(--horizontal-offset);
4425
+ }
4426
+
4427
+ :host([animated][animationaxis="horizontal"][horizontalanchor="right"]) {
4428
+ right: -300px;
4429
+ }
4430
+
4431
+ :host([animated][animationaxis="horizontal"][horizontalanchor="left"]) {
4432
+ left: -300px;
4433
+ }
4434
+
4435
+ :host([animated][animationaxis="vertical"][verticalanchor="top"]) {
4436
+ top: -300px;
4437
+ }
4438
+
4439
+ :host([animated][animationaxis="vertical"][verticalanchor="bottom"]) {
4440
+ bottom: -300px;
4441
+ }
4442
+
4362
4443
  .o-toast {
4363
4444
  background: #fffefe;
4364
4445
  padding: var(--spacing-l);
@@ -4379,12 +4460,36 @@ ut.styles = b`
4379
4460
  height: 16px;
4380
4461
  }
4381
4462
  `;
4382
- qt([
4383
- a({ type: String })
4384
- ], ut.prototype, "icon", 2);
4385
- qt([
4386
- a({ type: String })
4387
- ], ut.prototype, "text", 2);
4388
- ut = qt([
4389
- w("o-toast")
4390
- ], ut);
4463
+ z([
4464
+ a({ type: String, reflect: !0 })
4465
+ ], $.prototype, "icon", 2);
4466
+ z([
4467
+ a({ type: String, reflect: !0 })
4468
+ ], $.prototype, "text", 2);
4469
+ z([
4470
+ a({ type: String, reflect: !0 })
4471
+ ], $.prototype, "verticalanchor", 2);
4472
+ z([
4473
+ a({ type: String, reflect: !0 })
4474
+ ], $.prototype, "horizontalanchor", 2);
4475
+ z([
4476
+ a({ type: Number, reflect: !0 })
4477
+ ], $.prototype, "verticaloffset", 2);
4478
+ z([
4479
+ a({ type: Number, reflect: !0 })
4480
+ ], $.prototype, "horizontaloffset", 2);
4481
+ z([
4482
+ a({ type: Number, reflect: !0 })
4483
+ ], $.prototype, "animationduration", 2);
4484
+ z([
4485
+ a({ type: String, reflect: !0 })
4486
+ ], $.prototype, "animationaxis", 2);
4487
+ z([
4488
+ a({ type: Boolean, reflect: !0 })
4489
+ ], $.prototype, "animated", 2);
4490
+ z([
4491
+ a({ type: Number, reflect: !0 })
4492
+ ], $.prototype, "lifeduration", 2);
4493
+ $ = z([
4494
+ x("o-toast")
4495
+ ], $);