@florid-kit/components 0.8.14 → 0.8.16

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 ct = globalThis, Ct = ct.ShadowRoot && (ct.ShadyCSS === void 0 || ct.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, kt = Symbol(), Dt = /* @__PURE__ */ new WeakMap();
7
- let Wt = class {
8
- constructor(t, e, n) {
9
- if (this._$cssResult$ = !0, n !== kt) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
6
+ const pt = globalThis, St = pt.ShadowRoot && (pt.ShadyCSS === void 0 || pt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Et = Symbol(), Nt = /* @__PURE__ */ new WeakMap();
7
+ let Yt = class {
8
+ constructor(t, e, i) {
9
+ if (this._$cssResult$ = !0, i !== Et) 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 (Ct && t === void 0) {
16
- const n = e !== void 0 && e.length === 1;
17
- n && (t = Dt.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), n && Dt.set(e, t));
15
+ if (St && t === void 0) {
16
+ const i = e !== void 0 && e.length === 1;
17
+ i && (t = Nt.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && Nt.set(e, t));
18
18
  }
19
19
  return t;
20
20
  }
@@ -22,33 +22,33 @@ let Wt = class {
22
22
  return this.cssText;
23
23
  }
24
24
  };
25
- const oe = (o) => new Wt(typeof o == "string" ? o : o + "", void 0, kt), m = (o, ...t) => {
26
- const e = o.length === 1 ? o[0] : t.reduce((n, i, r) => n + ((s) => {
25
+ const se = (o) => new Yt(typeof o == "string" ? o : o + "", void 0, Et), g = (o, ...t) => {
26
+ const e = o.length === 1 ? o[0] : t.reduce((i, r, n) => i + ((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]);
31
- return new Wt(e, o, kt);
32
- }, ie = (o, t) => {
33
- if (Ct) o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
30
+ })(r) + o[n + 1], o[0]);
31
+ return new Yt(e, o, Et);
32
+ }, ae = (o, t) => {
33
+ if (St) 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 = ct.litNonce;
36
- i !== void 0 && n.setAttribute("nonce", i), n.textContent = e.cssText, o.appendChild(n);
35
+ const i = document.createElement("style"), r = pt.litNonce;
36
+ r !== void 0 && i.setAttribute("nonce", r), i.textContent = e.cssText, o.appendChild(i);
37
37
  }
38
- }, Ht = Ct ? (o) => o : (o) => o instanceof CSSStyleSheet ? ((t) => {
38
+ }, Ft = St ? (o) => o : (o) => o instanceof CSSStyleSheet ? ((t) => {
39
39
  let e = "";
40
- for (const n of t.cssRules) e += n.cssText;
41
- return oe(e);
40
+ for (const i of t.cssRules) e += i.cssText;
41
+ return se(e);
42
42
  })(o) : o;
43
43
  /**
44
44
  * @license
45
45
  * Copyright 2017 Google LLC
46
46
  * SPDX-License-Identifier: BSD-3-Clause
47
47
  */
48
- const { is: ne, defineProperty: re, getOwnPropertyDescriptor: se, getOwnPropertyNames: ae, getOwnPropertySymbols: le, getPrototypeOf: ce } = Object, D = globalThis, Mt = D.trustedTypes, he = Mt ? Mt.emptyScript : "", ft = D.reactiveElementPolyfillSupport, Q = (o, t) => o, ht = { toAttribute(o, t) {
48
+ const { is: le, defineProperty: ce, getOwnPropertyDescriptor: he, getOwnPropertyNames: de, getOwnPropertySymbols: pe, getPrototypeOf: ue } = Object, M = globalThis, Rt = M.trustedTypes, ve = Rt ? Rt.emptyScript : "", mt = M.reactiveElementPolyfillSupport, tt = (o, t) => o, ut = { toAttribute(o, t) {
49
49
  switch (t) {
50
50
  case Boolean:
51
- o = o ? he : null;
51
+ o = o ? ve : null;
52
52
  break;
53
53
  case Object:
54
54
  case Array:
@@ -73,69 +73,69 @@ const { is: ne, defineProperty: re, getOwnPropertyDescriptor: se, getOwnProperty
73
73
  }
74
74
  }
75
75
  return e;
76
- } }, At = (o, t) => !ne(o, t), Tt = { attribute: !0, type: String, converter: ht, reflect: !1, useDefault: !1, hasChanged: At };
77
- Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), D.litPropertyMetadata ?? (D.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
78
- let q = class extends HTMLElement {
76
+ } }, Lt = (o, t) => !le(o, t), Vt = { attribute: !0, type: String, converter: ut, reflect: !1, useDefault: !1, hasChanged: Lt };
77
+ Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), M.litPropertyMetadata ?? (M.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
78
+ let G = class extends HTMLElement {
79
79
  static addInitializer(t) {
80
80
  this._$Ei(), (this.l ?? (this.l = [])).push(t);
81
81
  }
82
82
  static get observedAttributes() {
83
83
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
84
84
  }
85
- static createProperty(t, e = Tt) {
85
+ static createProperty(t, e = Vt) {
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 && re(this.prototype, t, i);
87
+ const i = Symbol(), r = this.getPropertyDescriptor(t, i, e);
88
+ r !== void 0 && ce(this.prototype, t, r);
89
89
  }
90
90
  }
91
- static getPropertyDescriptor(t, e, n) {
92
- const { get: i, set: r } = se(this.prototype, t) ?? { get() {
91
+ static getPropertyDescriptor(t, e, i) {
92
+ const { get: r, set: n } = he(this.prototype, t) ?? { get() {
93
93
  return this[e];
94
94
  }, set(s) {
95
95
  this[e] = s;
96
96
  } };
97
- return { get: i, set(s) {
98
- const h = i == null ? void 0 : i.call(this);
99
- r == null || r.call(this, s), this.requestUpdate(t, h, n);
97
+ return { get: r, set(s) {
98
+ const h = r == null ? void 0 : r.call(this);
99
+ n == null || n.call(this, s), this.requestUpdate(t, h, i);
100
100
  }, configurable: !0, enumerable: !0 };
101
101
  }
102
102
  static getPropertyOptions(t) {
103
- return this.elementProperties.get(t) ?? Tt;
103
+ return this.elementProperties.get(t) ?? Vt;
104
104
  }
105
105
  static _$Ei() {
106
- if (this.hasOwnProperty(Q("elementProperties"))) return;
107
- const t = ce(this);
106
+ if (this.hasOwnProperty(tt("elementProperties"))) return;
107
+ const t = ue(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(Q("finalized"))) return;
112
- if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(Q("properties"))) {
113
- const e = this.properties, n = [...ae(e), ...le(e)];
114
- for (const i of n) this.createProperty(i, e[i]);
111
+ if (this.hasOwnProperty(tt("finalized"))) return;
112
+ if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(tt("properties"))) {
113
+ const e = this.properties, i = [...de(e), ...pe(e)];
114
+ for (const r of i) this.createProperty(r, e[r]);
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 [i, r] of e) this.elementProperties.set(i, r);
120
120
  }
121
121
  this._$Eh = /* @__PURE__ */ new Map();
122
- for (const [e, n] of this.elementProperties) {
123
- const i = this._$Eu(e, n);
124
- i !== void 0 && this._$Eh.set(i, e);
122
+ for (const [e, i] of this.elementProperties) {
123
+ const r = this._$Eu(e, i);
124
+ r !== void 0 && this._$Eh.set(r, e);
125
125
  }
126
126
  this.elementStyles = this.finalizeStyles(this.styles);
127
127
  }
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(Ht(i));
133
- } else t !== void 0 && e.push(Ht(t));
131
+ const i = new Set(t.flat(1 / 0).reverse());
132
+ for (const r of i) e.unshift(Ft(r));
133
+ } else t !== void 0 && e.push(Ft(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 i = e.attribute;
138
+ return i === !1 ? void 0 : typeof i == "string" ? i : 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,18 +154,18 @@ let q = 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 i of e.keys()) this.hasOwnProperty(i) && (t.set(i, this[i]), delete this[i]);
158
158
  t.size > 0 && (this._$Ep = t);
159
159
  }
160
160
  createRenderRoot() {
161
161
  const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
162
- return ie(t, this.constructor.elementStyles), t;
162
+ return ae(t, this.constructor.elementStyles), t;
163
163
  }
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 i;
168
+ return (i = e.hostConnected) == null ? void 0 : i.call(e);
169
169
  });
170
170
  }
171
171
  enableUpdating(t) {
@@ -173,40 +173,40 @@ let q = 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 i;
177
+ return (i = e.hostDisconnected) == null ? void 0 : i.call(e);
178
178
  });
179
179
  }
180
- attributeChangedCallback(t, e, n) {
181
- this._$AK(t, n);
180
+ attributeChangedCallback(t, e, i) {
181
+ this._$AK(t, i);
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 : ht).toAttribute(e, n.type);
188
- this._$Em = t, s == null ? this.removeAttribute(i) : this.setAttribute(i, s), this._$Em = null;
184
+ var n;
185
+ const i = this.constructor.elementProperties.get(t), r = this.constructor._$Eu(t, i);
186
+ if (r !== void 0 && i.reflect === !0) {
187
+ const s = (((n = i.converter) == null ? void 0 : n.toAttribute) !== void 0 ? i.converter : ut).toAttribute(e, i.type);
188
+ this._$Em = t, s == null ? this.removeAttribute(r) : this.setAttribute(r, 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);
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 : ht;
196
- this._$Em = i, this[i] = c.fromAttribute(e, h.type) ?? ((s = this._$Ej) == null ? void 0 : s.get(i)) ?? null, this._$Em = null;
192
+ var n, s;
193
+ const i = this.constructor, r = i._$Eh.get(t);
194
+ if (r !== void 0 && this._$Em !== r) {
195
+ const h = i.getPropertyOptions(r), c = typeof h.converter == "function" ? { fromAttribute: h.converter } : ((n = h.converter) == null ? void 0 : n.fromAttribute) !== void 0 ? h.converter : ut;
196
+ this._$Em = r, this[r] = c.fromAttribute(e, h.type) ?? ((s = this._$Ej) == null ? void 0 : s.get(r)) ?? null, this._$Em = null;
197
197
  }
198
198
  }
199
- requestUpdate(t, e, n) {
200
- var i;
199
+ requestUpdate(t, e, i) {
200
+ var r;
201
201
  if (t !== void 0) {
202
- const r = this.constructor, s = this[t];
203
- if (n ?? (n = r.getPropertyOptions(t)), !((n.hasChanged ?? At)(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 (i ?? (i = n.getPropertyOptions(t)), !((i.hasChanged ?? Lt)(s, e) || i.useDefault && i.reflect && s === ((r = this._$Ej) == null ? void 0 : r.get(t)) && !this.hasAttribute(n._$Eu(t, i)))) return;
204
+ this.C(t, e, i);
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: i, reflect: r, wrapped: n }, s) {
209
+ i && !(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 || i || (e = void 0), this._$AL.set(t, e)), r === !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,28 +222,28 @@ let q = class extends HTMLElement {
222
222
  return this.performUpdate();
223
223
  }
224
224
  performUpdate() {
225
- var n;
225
+ var i;
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
- 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);
232
+ const r = this.constructor.elementProperties;
233
+ if (r.size > 0) for (const [n, s] of r) {
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), (i = this._$EO) == null || i.forEach((r) => {
242
+ var n;
243
+ return (n = r.hostUpdate) == null ? void 0 : n.call(r);
244
244
  }), this.update(e)) : this._$EM();
245
- } catch (i) {
246
- throw t = !1, this._$EM(), i;
245
+ } catch (r) {
246
+ throw t = !1, this._$EM(), r;
247
247
  }
248
248
  t && this._$AE(e);
249
249
  }
@@ -251,9 +251,9 @@ let q = class extends HTMLElement {
251
251
  }
252
252
  _$AE(t) {
253
253
  var e;
254
- (e = this._$EO) == null || e.forEach((n) => {
255
- var i;
256
- return (i = n.hostUpdated) == null ? void 0 : i.call(n);
254
+ (e = this._$EO) == null || e.forEach((i) => {
255
+ var r;
256
+ return (r = i.hostUpdated) == null ? void 0 : r.call(i);
257
257
  }), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
258
258
  }
259
259
  _$EM() {
@@ -276,76 +276,76 @@ let q = class extends HTMLElement {
276
276
  firstUpdated(t) {
277
277
  }
278
278
  };
279
- q.elementStyles = [], q.shadowRootOptions = { mode: "open" }, q[Q("elementProperties")] = /* @__PURE__ */ new Map(), q[Q("finalized")] = /* @__PURE__ */ new Map(), ft == null || ft({ ReactiveElement: q }), (D.reactiveElementVersions ?? (D.reactiveElementVersions = [])).push("2.1.0");
279
+ G.elementStyles = [], G.shadowRootOptions = { mode: "open" }, G[tt("elementProperties")] = /* @__PURE__ */ new Map(), G[tt("finalized")] = /* @__PURE__ */ new Map(), mt == null || mt({ ReactiveElement: G }), (M.reactiveElementVersions ?? (M.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 Y = globalThis, dt = Y.trustedTypes, jt = dt ? dt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, Kt = "$lit$", z = `lit$${Math.random().toFixed(9).slice(2)}$`, Gt = "?" + z, de = `<${Gt}>`, R = document, et = () => R.createComment(""), ot = (o) => o === null || typeof o != "object" && typeof o != "function", St = Array.isArray, pe = (o) => St(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", gt = `[
286
- \f\r]`, J = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ut = /-->/g, Nt = />/g, U = RegExp(`>|${gt}(?:([^\\s"'>=/]+)(${gt}*=${gt}*(?:[^
287
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Ft = /'/g, Rt = /"/g, Xt = /^(?:script|style|textarea|title)$/i, ue = (o) => (t, ...e) => ({ _$litType$: o, strings: t, values: e }), l = ue(1), H = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), Vt = /* @__PURE__ */ new WeakMap(), N = R.createTreeWalker(R, 129);
288
- function Jt(o, t) {
289
- if (!St(o) || !o.hasOwnProperty("raw")) throw Error("invalid template strings array");
290
- return jt !== void 0 ? jt.createHTML(t) : t;
285
+ const et = globalThis, vt = et.trustedTypes, Zt = vt ? vt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, te = "$lit$", H = `lit$${Math.random().toFixed(9).slice(2)}$`, ee = "?" + H, be = `<${ee}>`, V = document, rt = () => V.createComment(""), it = (o) => o === null || typeof o != "object" && typeof o != "function", It = Array.isArray, fe = (o) => It(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", xt = `[
286
+ \f\r]`, Y = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, qt = /-->/g, Wt = />/g, N = RegExp(`>|${xt}(?:([^\\s"'>=/]+)(${xt}*=${xt}*(?:[^
287
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Kt = /'/g, Gt = /"/g, oe = /^(?:script|style|textarea|title)$/i, ge = (o) => (t, ...e) => ({ _$litType$: o, strings: t, values: e }), l = ge(1), T = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), Xt = /* @__PURE__ */ new WeakMap(), F = V.createTreeWalker(V, 129);
288
+ function re(o, t) {
289
+ if (!It(o) || !o.hasOwnProperty("raw")) throw Error("invalid template strings array");
290
+ return Zt !== void 0 ? Zt.createHTML(t) : t;
291
291
  }
292
- const ve = (o, t) => {
293
- const e = o.length - 1, n = [];
294
- let i, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", s = J;
292
+ const ye = (o, t) => {
293
+ const e = o.length - 1, i = [];
294
+ let r, n = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", s = Y;
295
295
  for (let h = 0; h < e; h++) {
296
296
  const c = o[h];
297
- let b, y, p = -1, I = 0;
298
- for (; I < c.length && (s.lastIndex = I, y = s.exec(c), y !== null); ) I = s.lastIndex, s === J ? y[1] === "!--" ? s = Ut : y[1] !== void 0 ? s = Nt : y[2] !== void 0 ? (Xt.test(y[2]) && (i = RegExp("</" + y[2], "g")), s = U) : y[3] !== void 0 && (s = U) : s === U ? y[0] === ">" ? (s = i ?? J, p = -1) : y[1] === void 0 ? p = -2 : (p = s.lastIndex - y[2].length, b = y[1], s = y[3] === void 0 ? U : y[3] === '"' ? Rt : Ft) : s === Rt || s === Ft ? s = U : s === Ut || s === Nt ? s = J : (s = U, i = void 0);
299
- const B = s === U && o[h + 1].startsWith("/>") ? " " : "";
300
- r += s === J ? c + de : p >= 0 ? (n.push(b), c.slice(0, p) + Kt + c.slice(p) + z + B) : c + z + (p === -2 ? h : B);
297
+ let f, m, p = -1, P = 0;
298
+ for (; P < c.length && (s.lastIndex = P, m = s.exec(c), m !== null); ) P = s.lastIndex, s === Y ? m[1] === "!--" ? s = qt : m[1] !== void 0 ? s = Wt : m[2] !== void 0 ? (oe.test(m[2]) && (r = RegExp("</" + m[2], "g")), s = N) : m[3] !== void 0 && (s = N) : s === N ? m[0] === ">" ? (s = r ?? Y, p = -1) : m[1] === void 0 ? p = -2 : (p = s.lastIndex - m[2].length, f = m[1], s = m[3] === void 0 ? N : m[3] === '"' ? Gt : Kt) : s === Gt || s === Kt ? s = N : s === qt || s === Wt ? s = Y : (s = N, r = void 0);
299
+ const D = s === N && o[h + 1].startsWith("/>") ? " " : "";
300
+ n += s === Y ? c + be : p >= 0 ? (i.push(f), c.slice(0, p) + te + c.slice(p) + H + D) : c + H + (p === -2 ? h : D);
301
301
  }
302
- return [Jt(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), n];
302
+ return [re(o, n + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
303
303
  };
304
- class it {
305
- constructor({ strings: t, _$litType$: e }, n) {
306
- let i;
304
+ class nt {
305
+ constructor({ strings: t, _$litType$: e }, i) {
306
+ let r;
307
307
  this.parts = [];
308
- let r = 0, s = 0;
309
- const h = t.length - 1, c = this.parts, [b, y] = ve(t, e);
310
- if (this.el = it.createElement(b, n), N.currentNode = this.el.content, e === 2 || e === 3) {
308
+ let n = 0, s = 0;
309
+ const h = t.length - 1, c = this.parts, [f, m] = ye(t, e);
310
+ if (this.el = nt.createElement(f, i), F.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 = N.nextNode()) !== null && c.length < h; ) {
315
- if (i.nodeType === 1) {
316
- if (i.hasAttributes()) for (const p of i.getAttributeNames()) if (p.endsWith(Kt)) {
317
- const I = y[s++], B = i.getAttribute(p).split(z), lt = /([.?@])?(.*)/.exec(I);
318
- c.push({ type: 1, index: r, name: lt[2], strings: B, ctor: lt[1] === "." ? fe : lt[1] === "?" ? ge : lt[1] === "@" ? ye : ut }), i.removeAttribute(p);
319
- } else p.startsWith(z) && (c.push({ type: 6, index: r }), i.removeAttribute(p));
320
- if (Xt.test(i.tagName)) {
321
- const p = i.textContent.split(z), I = p.length - 1;
322
- if (I > 0) {
323
- i.textContent = dt ? dt.emptyScript : "";
324
- for (let B = 0; B < I; B++) i.append(p[B], et()), N.nextNode(), c.push({ type: 2, index: ++r });
325
- i.append(p[I], et());
314
+ for (; (r = F.nextNode()) !== null && c.length < h; ) {
315
+ if (r.nodeType === 1) {
316
+ if (r.hasAttributes()) for (const p of r.getAttributeNames()) if (p.endsWith(te)) {
317
+ const P = m[s++], D = r.getAttribute(p).split(H), dt = /([.?@])?(.*)/.exec(P);
318
+ c.push({ type: 1, index: n, name: dt[2], strings: D, ctor: dt[1] === "." ? xe : dt[1] === "?" ? we : dt[1] === "@" ? $e : ft }), r.removeAttribute(p);
319
+ } else p.startsWith(H) && (c.push({ type: 6, index: n }), r.removeAttribute(p));
320
+ if (oe.test(r.tagName)) {
321
+ const p = r.textContent.split(H), P = p.length - 1;
322
+ if (P > 0) {
323
+ r.textContent = vt ? vt.emptyScript : "";
324
+ for (let D = 0; D < P; D++) r.append(p[D], rt()), F.nextNode(), c.push({ type: 2, index: ++n });
325
+ r.append(p[P], rt());
326
326
  }
327
327
  }
328
- } else if (i.nodeType === 8) if (i.data === Gt) c.push({ type: 2, index: r });
328
+ } else if (r.nodeType === 8) if (r.data === ee) c.push({ type: 2, index: n });
329
329
  else {
330
330
  let p = -1;
331
- for (; (p = i.data.indexOf(z, p + 1)) !== -1; ) c.push({ type: 7, index: r }), p += z.length - 1;
331
+ for (; (p = r.data.indexOf(H, p + 1)) !== -1; ) c.push({ type: 7, index: n }), p += H.length - 1;
332
332
  }
333
- r++;
333
+ n++;
334
334
  }
335
335
  }
336
336
  static createElement(t, e) {
337
- const n = R.createElement("template");
338
- return n.innerHTML = t, n;
337
+ const i = V.createElement("template");
338
+ return i.innerHTML = t, i;
339
339
  }
340
340
  }
341
- function W(o, t, e = o, n) {
341
+ function X(o, t, e = o, i) {
342
342
  var s, h;
343
- if (t === H) return t;
344
- let i = n !== void 0 ? (s = e._$Co) == null ? void 0 : s[n] : e._$Cl;
345
- const r = ot(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 = W(o, i._$AS(o, t.values), i, n)), t;
343
+ if (t === T) return t;
344
+ let r = i !== void 0 ? (s = e._$Co) == null ? void 0 : s[i] : e._$Cl;
345
+ const n = it(t) ? void 0 : t._$litDirective$;
346
+ return (r == null ? void 0 : r.constructor) !== n && ((h = r == null ? void 0 : r._$AO) == null || h.call(r, !1), n === void 0 ? r = void 0 : (r = new n(o), r._$AT(o, e, i)), i !== void 0 ? (e._$Co ?? (e._$Co = []))[i] = r : e._$Cl = r), r !== void 0 && (t = X(o, r._$AS(o, t.values), r, i)), t;
347
347
  }
348
- class be {
348
+ class me {
349
349
  constructor(t, e) {
350
350
  this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
351
351
  }
@@ -356,30 +356,30 @@ class be {
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) ?? R).importNode(e, !0);
360
- N.currentNode = i;
361
- let r = N.nextNode(), s = 0, h = 0, c = n[0];
359
+ const { el: { content: e }, parts: i } = this._$AD, r = ((t == null ? void 0 : t.creationScope) ?? V).importNode(e, !0);
360
+ F.currentNode = r;
361
+ let n = F.nextNode(), s = 0, h = 0, c = i[0];
362
362
  for (; c !== void 0; ) {
363
363
  if (s === c.index) {
364
- let b;
365
- c.type === 2 ? b = new at(r, r.nextSibling, this, t) : c.type === 1 ? b = new c.ctor(r, c.name, c.strings, this, t) : c.type === 6 && (b = new me(r, this, t)), this._$AV.push(b), c = n[++h];
364
+ let f;
365
+ c.type === 2 ? f = new ht(n, n.nextSibling, this, t) : c.type === 1 ? f = new c.ctor(n, c.name, c.strings, this, t) : c.type === 6 && (f = new _e(n, this, t)), this._$AV.push(f), c = i[++h];
366
366
  }
367
- s !== (c == null ? void 0 : c.index) && (r = N.nextNode(), s++);
367
+ s !== (c == null ? void 0 : c.index) && (n = F.nextNode(), s++);
368
368
  }
369
- return N.currentNode = R, i;
369
+ return F.currentNode = V, r;
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 i of this._$AV) i !== void 0 && (i.strings !== void 0 ? (i._$AI(t, i, e), e += i.strings.length - 2) : i._$AI(t[e])), e++;
374
374
  }
375
375
  }
376
- class at {
376
+ class ht {
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, i, r) {
382
+ this.type = 2, this._$AH = d, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = i, this.options = r, this._$Cv = (r == null ? void 0 : r.isConnected) ?? !0;
383
383
  }
384
384
  get parentNode() {
385
385
  let t = this._$AA.parentNode;
@@ -393,7 +393,7 @@ class at {
393
393
  return this._$AB;
394
394
  }
395
395
  _$AI(t, e = this) {
396
- t = W(this, t, e), ot(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== H && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : pe(t) ? this.k(t) : this._(t);
396
+ t = X(this, t, e), it(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== T && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : fe(t) ? this.k(t) : this._(t);
397
397
  }
398
398
  O(t) {
399
399
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -402,33 +402,33 @@ class at {
402
402
  this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
403
403
  }
404
404
  _(t) {
405
- this._$AH !== d && ot(this._$AH) ? this._$AA.nextSibling.data = t : this.T(R.createTextNode(t)), this._$AH = t;
405
+ this._$AH !== d && it(this._$AH) ? this._$AA.nextSibling.data = t : this.T(V.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 = it.createElement(Jt(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$: i } = t, r = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = nt.createElement(re(i.h, i.h[0]), this.options)), i);
410
+ if (((n = this._$AH) == null ? void 0 : n._$AD) === r) this._$AH.p(e);
411
411
  else {
412
- const s = new be(i, this), h = s.u(this.options);
412
+ const s = new me(r, this), h = s.u(this.options);
413
413
  s.p(e), this.T(h), this._$AH = s;
414
414
  }
415
415
  }
416
416
  _$AC(t) {
417
- let e = Vt.get(t.strings);
418
- return e === void 0 && Vt.set(t.strings, e = new it(t)), e;
417
+ let e = Xt.get(t.strings);
418
+ return e === void 0 && Xt.set(t.strings, e = new nt(t)), e;
419
419
  }
420
420
  k(t) {
421
- St(this._$AH) || (this._$AH = [], this._$AR());
421
+ It(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 at(this.O(et()), this.O(et()), 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 i, r = 0;
424
+ for (const n of t) r === e.length ? e.push(i = new ht(this.O(rt()), this.O(rt()), this, this.options)) : i = e[r], i._$AI(n), r++;
425
+ r < e.length && (this._$AR(i && i._$AB.nextSibling, r), e.length = r);
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; ) {
430
- const i = t.nextSibling;
431
- t.remove(), t = i;
428
+ var i;
429
+ for ((i = this._$AP) == null ? void 0 : i.call(this, !1, !0, e); t && t !== this._$AB; ) {
430
+ const r = t.nextSibling;
431
+ t.remove(), t = r;
432
432
  }
433
433
  }
434
434
  setConnected(t) {
@@ -436,32 +436,32 @@ class at {
436
436
  this._$AM === void 0 && (this._$Cv = t, (e = this._$AP) == null || e.call(this, t));
437
437
  }
438
438
  }
439
- class ut {
439
+ class ft {
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, i, r, n) {
447
+ this.type = 1, this._$AH = d, this._$AN = void 0, this.element = t, this.name = e, this._$AM = r, this.options = n, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = d;
448
448
  }
449
- _$AI(t, e = this, n, i) {
450
- const r = this.strings;
449
+ _$AI(t, e = this, i, r) {
450
+ const n = this.strings;
451
451
  let s = !1;
452
- if (r === void 0) t = W(this, t, e, 0), s = !ot(t) || t !== this._$AH && t !== H, s && (this._$AH = t);
452
+ if (n === void 0) t = X(this, t, e, 0), s = !it(t) || t !== this._$AH && t !== T, s && (this._$AH = t);
453
453
  else {
454
454
  const h = t;
455
- let c, b;
456
- for (t = r[0], c = 0; c < r.length - 1; c++) b = W(this, h[n + c], e, c), b === H && (b = this._$AH[c]), s || (s = !ot(b) || b !== this._$AH[c]), b === d ? t = d : t !== d && (t += (b ?? "") + r[c + 1]), this._$AH[c] = b;
455
+ let c, f;
456
+ for (t = n[0], c = 0; c < n.length - 1; c++) f = X(this, h[i + c], e, c), f === T && (f = this._$AH[c]), s || (s = !it(f) || f !== this._$AH[c]), f === d ? t = d : t !== d && (t += (f ?? "") + n[c + 1]), this._$AH[c] = f;
457
457
  }
458
- s && !i && this.j(t);
458
+ s && !r && this.j(t);
459
459
  }
460
460
  j(t) {
461
461
  t === d ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
462
462
  }
463
463
  }
464
- class fe extends ut {
464
+ class xe extends ft {
465
465
  constructor() {
466
466
  super(...arguments), this.type = 3;
467
467
  }
@@ -469,7 +469,7 @@ class fe extends ut {
469
469
  this.element[this.name] = t === d ? void 0 : t;
470
470
  }
471
471
  }
472
- class ge extends ut {
472
+ class we extends ft {
473
473
  constructor() {
474
474
  super(...arguments), this.type = 4;
475
475
  }
@@ -477,49 +477,49 @@ class ge extends ut {
477
477
  this.element.toggleAttribute(this.name, !!t && t !== d);
478
478
  }
479
479
  }
480
- class ye extends ut {
481
- constructor(t, e, n, i, r) {
482
- super(t, e, n, i, r), this.type = 5;
480
+ class $e extends ft {
481
+ constructor(t, e, i, r, n) {
482
+ super(t, e, i, r, n), this.type = 5;
483
483
  }
484
484
  _$AI(t, e = this) {
485
- if ((t = W(this, t, e, 0) ?? d) === H) 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 = X(this, t, e, 0) ?? d) === T) return;
486
+ const i = this._$AH, r = t === d && i !== d || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, n = t !== d && (i === d || r);
487
+ r && this.element.removeEventListener(this.name, this, i), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
488
488
  }
489
489
  handleEvent(t) {
490
490
  var e;
491
491
  typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, t) : this._$AH.handleEvent(t);
492
492
  }
493
493
  }
494
- class me {
495
- constructor(t, e, n) {
496
- this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = n;
494
+ class _e {
495
+ constructor(t, e, i) {
496
+ this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
497
497
  }
498
498
  get _$AU() {
499
499
  return this._$AM._$AU;
500
500
  }
501
501
  _$AI(t) {
502
- W(this, t);
502
+ X(this, t);
503
503
  }
504
504
  }
505
- const yt = Y.litHtmlPolyfillSupport;
506
- yt == null || yt(it, at), (Y.litHtmlVersions ?? (Y.litHtmlVersions = [])).push("3.3.0");
507
- const xe = (o, t, e) => {
508
- const n = (e == null ? void 0 : e.renderBefore) ?? t;
509
- let i = n._$litPart$;
510
- if (i === void 0) {
511
- const r = (e == null ? void 0 : e.renderBefore) ?? null;
512
- n._$litPart$ = i = new at(t.insertBefore(et(), r), r, void 0, e ?? {});
513
- }
514
- return i._$AI(o), i;
505
+ const wt = et.litHtmlPolyfillSupport;
506
+ wt == null || wt(nt, ht), (et.litHtmlVersions ?? (et.litHtmlVersions = [])).push("3.3.0");
507
+ const ke = (o, t, e) => {
508
+ const i = (e == null ? void 0 : e.renderBefore) ?? t;
509
+ let r = i._$litPart$;
510
+ if (r === void 0) {
511
+ const n = (e == null ? void 0 : e.renderBefore) ?? null;
512
+ i._$litPart$ = r = new ht(t.insertBefore(rt(), n), n, void 0, e ?? {});
513
+ }
514
+ return r._$AI(o), r;
515
515
  };
516
516
  /**
517
517
  * @license
518
518
  * Copyright 2017 Google LLC
519
519
  * SPDX-License-Identifier: BSD-3-Clause
520
520
  */
521
- const F = globalThis;
522
- let f = class extends q {
521
+ const R = globalThis;
522
+ let u = class extends G {
523
523
  constructor() {
524
524
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
525
525
  }
@@ -530,7 +530,7 @@ let f = class extends q {
530
530
  }
531
531
  update(t) {
532
532
  const e = this.render();
533
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = xe(e, this.renderRoot, this.renderOptions);
533
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = ke(e, this.renderRoot, this.renderOptions);
534
534
  }
535
535
  connectedCallback() {
536
536
  var t;
@@ -541,20 +541,20 @@ let f = class extends q {
541
541
  super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
542
542
  }
543
543
  render() {
544
- return H;
544
+ return T;
545
545
  }
546
546
  };
547
- var qt;
548
- f._$litElement$ = !0, f.finalized = !0, (qt = F.litElementHydrateSupport) == null || qt.call(F, { LitElement: f });
549
- const mt = F.litElementPolyfillSupport;
550
- mt == null || mt({ LitElement: f });
551
- (F.litElementVersions ?? (F.litElementVersions = [])).push("4.2.0");
547
+ var Qt;
548
+ u._$litElement$ = !0, u.finalized = !0, (Qt = R.litElementHydrateSupport) == null || Qt.call(R, { LitElement: u });
549
+ const $t = R.litElementPolyfillSupport;
550
+ $t == null || $t({ LitElement: u });
551
+ (R.litElementVersions ?? (R.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 we = { attribute: !0, type: String, converter: ht, reflect: !1, hasChanged: At }, $e = (o = we, 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 Ce = { attribute: !0, type: String, converter: ut, reflect: !1, hasChanged: Lt }, Ae = (o = Ce, t, e) => {
568
+ const { kind: i, metadata: r } = e;
569
+ let n = globalThis.litPropertyMetadata.get(r);
570
+ if (n === void 0 && globalThis.litPropertyMetadata.set(r, n = /* @__PURE__ */ new Map()), i === "setter" && ((o = Object.create(o)).wrapped = !0), n.set(e.name, o), i === "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 we = { attribute: !0, type: String, converter: ht, 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 (i === "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: " + i);
587
587
  };
588
588
  function a(o) {
589
- return (t, e) => typeof e == "object" ? $e(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" ? Ae(o, t, e) : ((i, r, n) => {
590
+ const s = r.hasOwnProperty(n);
591
+ return r.constructor.createProperty(n, i), s ? Object.getOwnPropertyDescriptor(r, n) : void 0;
592
592
  })(o, t, e);
593
593
  }
594
594
  /**
@@ -596,15 +596,15 @@ function a(o) {
596
596
  * Copyright 2017 Google LLC
597
597
  * SPDX-License-Identifier: BSD-3-Clause
598
598
  */
599
- function V(o) {
599
+ function Z(o) {
600
600
  return a({ ...o, state: !0, attribute: !1 });
601
601
  }
602
- const Qt = m`
602
+ const Pt = g`
603
603
  outline: 1px dashed var(--button-border-color);
604
604
  outline-offset: 2px;
605
605
  outline: dashed black;
606
606
  `;
607
- m`
607
+ g`
608
608
  :host * {
609
609
  box-sizing: border-box;
610
610
  }
@@ -614,12 +614,12 @@ m`
614
614
  * Copyright 2023 Google LLC
615
615
  * SPDX-License-Identifier: Apache-2.0
616
616
  */
617
- const Et = Symbol("internals"), xt = Symbol("privateInternals");
618
- function Yt(o) {
617
+ const Ot = Symbol("internals"), _t = Symbol("privateInternals");
618
+ function Bt(o) {
619
619
  var t;
620
620
  class e extends o {
621
- get [(t = Et, t)]() {
622
- return this[xt] || (this[xt] = this.attachInternals()), this[xt];
621
+ get [(t = Ot, t)]() {
622
+ return this[_t] || (this[_t] = this.attachInternals()), this[_t];
623
623
  }
624
624
  }
625
625
  return e;
@@ -629,15 +629,15 @@ function Yt(o) {
629
629
  * Copyright 2023 Google LLC
630
630
  * SPDX-License-Identifier: Apache-2.0
631
631
  */
632
- function _e(o) {
632
+ function Se(o) {
633
633
  o.addInitializer((t) => {
634
634
  const e = t;
635
- e.addEventListener("click", async (n) => {
636
- const { type: i, [Et]: r } = e, { form: s } = r;
637
- if (!(!s || i === "button") && (await new Promise((h) => {
635
+ e.addEventListener("click", async (i) => {
636
+ const { type: r, [Ot]: n } = e, { form: s } = n;
637
+ if (!(!s || r === "button") && (await new Promise((h) => {
638
638
  setTimeout(h);
639
- }), !n.defaultPrevented)) {
640
- if (i === "reset") {
639
+ }), !i.defaultPrevented)) {
640
+ if (r === "reset") {
641
641
  s.reset();
642
642
  return;
643
643
  }
@@ -651,46 +651,46 @@ function _e(o) {
651
651
  });
652
652
  },
653
653
  { capture: !0, once: !0 }
654
- ), r.setFormValue(e.value), s.requestSubmit();
654
+ ), n.setFormValue(e.value), s.requestSubmit();
655
655
  }
656
656
  });
657
657
  });
658
658
  }
659
- const Ce = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
659
+ const Ee = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
660
660
  <path d="M8 3.6275C7.06799 0.971489 3.25399 -0.0226278 1.67414 2.30983C0.0877404 4.65197 1.67414 6.99412 2.62598 8.33249C3.0147 8.87905 8 14 8 14C8 14 12.9853 8.87905 13.374 8.33249C14.3259 6.99412 15.9123 4.65197 14.3259 2.30983C12.746 -0.0226277 8.97167 0.971489 8 3.6275Z" stroke="#3F2B2E" stroke-linecap="round"/>
661
661
  </svg>
662
- `, ke = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
662
+ `, Le = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
663
663
  <path d="M16 8L4 0V16L16 8Z" fill="#3F2B2E"/>
664
664
  </svg>
665
- `, Ae = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
665
+ `, Ie = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
666
666
  <path d="M12.2266 8.16162C11.0953 9.26599 8.72489 11.8788 5.11546 16L4.63062 15.7172C5.78886 13.4007 7.17607 10.8283 8.79223 8C7.17607 5.17172 5.78886 2.59933 4.63062 0.282827L5.11546 0C8.72489 4.12121 11.0953 6.73401 12.2266 7.83838V8.16162Z" fill="#3F2B2E"/>
667
667
  </svg>
668
- `, Se = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
668
+ `, Pe = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
669
669
  <path d="M5 7.83838C6.02128 6.73401 8.16109 4.12121 11.4195 0L11.8571 0.282829C10.8116 2.59933 9.55927 5.17172 8.1003 8C9.55927 10.8283 10.8115 13.4007 11.8571 15.7172L11.4195 16C8.16109 11.8788 6.02128 9.266 5 8.16162L5 7.83838Z" fill="#3F2B2E"/>
670
670
  </svg>
671
- `, Ee = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
671
+ `, Oe = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
672
672
  <path d="M12.2834 14.4585L7.98873 11.3928L3.69404 14.4585L5.33977 9.4972L1 6.39639H6.36554L8 1.4585L9.63446 6.39639H15L10.6602 9.4972L12.306 14.4585H12.2834ZM7.98873 10.328L10.6602 12.2353L9.64573 9.15787L12.2721 7.28568H9.02576L8 4.17317L6.97424 7.28568H3.72786L6.35427 9.15787L5.33977 12.2353L8.01127 10.328H7.98873Z" fill="#3F2B2E"/>
673
673
  </svg>
674
- `, Le = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
674
+ `, Be = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
675
675
  <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"/>
676
676
  </svg>
677
- `, Ie = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
677
+ `, ze = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
678
678
  <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"/>
679
679
  </svg>
680
- `, Pe = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
680
+ `, De = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
681
681
  <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"/>
682
682
  </svg>
683
- `, Oe = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
683
+ `, He = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
684
684
  <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"/>
685
685
  </svg>
686
- `, Be = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
686
+ `, Me = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
687
687
  <path d="M2 2L14 14" stroke="#3F2B2E"/>
688
688
  <path d="M14 2L2 14" stroke="#3F2B2E"/>
689
689
  </svg>
690
- `, ze = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
690
+ `, Te = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
691
691
  <path d="M7.12506 1C10.5018 1 13.2509 3.74834 13.251 7.125C13.2511 8.59738 12.7172 10.0206 11.7491 11.1299L14.8731 14.2539C15.0433 14.4253 15.0435 14.7018 14.8731 14.873C14.7913 14.9555 14.6797 15.002 14.5635 15.002C14.4475 15.0019 14.3357 14.9554 14.254 14.873L11.1309 11.749C10.0555 12.6818 8.6564 13.251 7.12506 13.251C3.7484 13.2508 1.00006 10.5017 1.00006 7.125C1.00025 3.74846 3.74852 1.00019 7.12506 1ZM7.12506 1.875C4.22971 1.87522 1.87506 4.23058 1.87506 7.12598C1.87532 10.0212 4.22987 12.3758 7.12506 12.376C10.0204 12.376 12.3758 10.0213 12.376 7.12598C12.376 4.23044 10.0206 1.875 7.12506 1.875Z" fill="#3F2B2E"/>
692
692
  </svg>
693
- `, De = `<?xml version="1.0" encoding="utf-8"?>
693
+ `, je = `<?xml version="1.0" encoding="utf-8"?>
694
694
  <!-- Generator: $$$/GeneralStr/196=Adobe Illustrator 27.6.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
695
695
  <svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
696
696
  viewBox="0 0 40 40" style="enable-background:new 0 0 40 40;" xml:space="preserve">
@@ -700,7 +700,7 @@ const Ce = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
700
700
  <path class="st0" d="M40,20c0,0.7-0.6,1.2-1.2,1.2H21.2v17.5c0,0.7-0.6,1.2-1.2,1.2s-1.2-0.6-1.2-1.2V21.2H1.2C0.6,21.2,0,20.7,0,20
701
701
  s0.6-1.2,1.2-1.2h17.5V1.2C18.8,0.6,19.3,0,20,0s1.2,0.6,1.2,1.2v17.5h17.5C39.4,18.8,40,19.3,40,20z"/>
702
702
  </svg>
703
- `, He = `<?xml version="1.0" encoding="utf-8"?>
703
+ `, Ue = `<?xml version="1.0" encoding="utf-8"?>
704
704
  <!-- Generator: $$$/GeneralStr/196=Adobe Illustrator 27.6.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
705
705
  <svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
706
706
  viewBox="0 0 40 40" style="enable-background:new 0 0 40 40;" xml:space="preserve">
@@ -709,72 +709,76 @@ const Ce = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
709
709
  </style>
710
710
  <path class="st0" d="M38.8,20.5H1.2c-0.7,0-1.2-0.6-1.2-1.2S0.6,18,1.2,18h37.5c0.7,0,1.2,0.6,1.2,1.2S39.4,20.5,38.8,20.5z"/>
711
711
  </svg>
712
- `, Me = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
712
+ `, Ne = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
713
713
  <path d="M15.0009 8.12175C15.0009 8.36347 14.805 8.55943 14.5634 8.55943H2.49495L7.43502 13.5017C7.60609 13.6726 7.60628 13.9499 7.43546 14.1211C7.26464 14.2922 6.98749 14.2924 6.81642 14.1215L1.13 8.43163C1.04685 8.34998 1 8.23831 1 8.12175C1 8.00518 1.04685 7.89351 1.13 7.81187L6.81642 2.12286C6.98808 1.95699 7.26094 1.95937 7.4297 2.12819C7.59845 2.29702 7.60082 2.57001 7.43502 2.74175L2.49495 7.68406H14.5634C14.805 7.68406 15.0009 7.88002 15.0009 8.12175Z" fill="#3F2B2E"/>
714
714
  </svg>
715
- `, Te = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
715
+ `, Fe = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
716
716
  <path d="M14.1218 7.43502C13.9504 7.60543 13.6735 7.60543 13.5021 7.43502L8.55961 2.49408V14.5625C8.55961 14.8041 8.36365 15 8.12192 15C7.88018 15 7.68422 14.8041 7.68422 14.5625V2.49408L2.74177 7.43502C2.57002 7.60082 2.29703 7.59845 2.1282 7.4297C1.95936 7.26094 1.95699 6.98808 2.12287 6.81642L7.81203 1.13C7.89368 1.04685 8.00535 1 8.12192 1C8.23848 1 8.35015 1.04685 8.4318 1.13L14.121 6.81642C14.2921 6.98702 14.2925 7.26395 14.1218 7.43502Z" fill="#3F2B2E"/>
717
717
  </svg>
718
- `, je = `<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
718
+ `, Re = `<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
719
719
  <path d="M6.33317 8.00033C6.33317 3.95024 7.52708 0.666992 8.99984 0.666992C10.4726 0.666992 11.6665 3.95024 11.6665 8.00033M5.33317 15.3337H12.6665L16.3332 6.20033C14.9582 5.76699 12.2998 5.33366 8.99984 5.33366C5.69984 5.33366 3.49984 5.76699 1.6665 6.20033L5.33317 15.3337Z" stroke="#3F2B2E"/>
720
720
  </svg>
721
- `, Ue = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
721
+ `, Ve = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
722
722
  <path d="M7.99376 14.4486C7.46684 14.4486 6.93991 14.251 6.54472 13.8558C6.14953 13.4606 5.8202 12.9995 5.68847 12.4067H3.77837C2.98798 12.4067 2.59279 12.4067 2.32933 12.1433C2.13173 12.0116 2 11.7481 2 11.5505C2 11.2212 2.13173 10.826 2.52692 10.1673L2.92212 9.4428C3.31731 8.78415 3.51491 8.05963 3.64664 7.3351L3.84423 5.68847C3.97596 4.63462 4.43702 3.7125 5.22741 3.05385C6.01779 2.39519 7.00578 2 7.99376 2C8.98174 2 10.0356 2.39519 10.7601 3.05385C11.5505 3.7125 12.0116 4.70049 12.1433 5.68847L12.3409 7.26924C12.4067 8.05963 12.6702 8.78415 13.0654 9.37693L13.4606 10.1015C13.8558 10.7601 14.0534 11.0894 13.9875 11.4846C13.9875 11.7481 13.8558 11.9457 13.6582 12.0774C13.3947 12.3409 12.9995 12.3409 12.2092 12.3409H10.2991C10.1673 12.9337 9.83799 13.4606 9.4428 13.7899C9.04761 14.1851 8.52068 14.3827 7.99376 14.3827V14.4486ZM6.28126 12.4067C6.41299 12.8019 6.61058 13.1971 6.93991 13.4606C7.5327 13.9875 8.45482 13.9875 9.11347 13.4606C9.4428 13.1971 9.6404 12.8019 9.77213 12.4067H6.28126ZM7.99376 2.65865C7.13751 2.65865 6.28126 2.98798 5.6226 3.58077C4.96395 4.17356 4.56875 4.96395 4.43702 5.88606L4.23943 7.46684C4.1077 8.32309 3.84423 9.11347 3.44904 9.83799L3.05385 10.5625C2.72452 11.0894 2.59279 11.3529 2.59279 11.5505C2.59279 11.6164 2.59279 11.7481 2.72452 11.814C2.85625 11.8798 3.25144 11.8798 3.77837 11.8798H12.2092C12.7361 11.8798 13.1971 11.8798 13.263 11.814C13.3289 11.814 13.3947 11.6822 13.3947 11.5505C13.3947 11.4188 13.1971 11.0894 12.9337 10.5625L12.5385 9.83799C12.0774 9.11347 11.814 8.32309 11.7481 7.5327L11.5505 5.88606C11.4846 5.02981 11.0236 4.17356 10.3649 3.58077C9.70626 2.98798 8.85001 2.65865 7.99376 2.65865Z" fill="#3F2B2E"/>
723
723
  </svg>
724
- `, Ne = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
724
+ `, Ze = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
725
725
  <path d="M12 17.4585L4 6.4585L20 6.4585L12 17.4585Z" fill="#3F2B2E"/>
726
726
  </svg>
727
- `, Fe = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
727
+ `, qe = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
728
728
  <path d="M12 6.4585L20 17.4585H4L12 6.4585Z" fill="#3F2B2E"/>
729
729
  </svg>
730
- `, Re = `<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
730
+ `, We = `<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
731
731
  <path d="M5.24611 10.4659C5.04705 10.4654 4.85616 10.3867 4.71465 10.2467L0.210718 5.74273C-0.0737595 5.44819 -0.0696911 4.98 0.219862 4.69045C0.509415 4.4009 0.977603 4.39683 1.27214 4.6813L5.18306 8.59071L10.6628 1.74024C10.9219 1.41646 11.3945 1.36403 11.7183 1.62314C12.042 1.88225 12.0945 2.35477 11.8354 2.67856L5.83012 10.1851C5.69763 10.3521 5.49956 10.4539 5.28665 10.4643L5.24611 10.4659Z" fill="#3F2B2E"/>
732
732
  </svg>
733
- `, Ve = `<svg width="8" height="8" viewBox="0 0 8 8" fill="none" xmlns="http://www.w3.org/2000/svg">
733
+ `, Ke = `<svg width="8" height="8" viewBox="0 0 8 8" fill="none" xmlns="http://www.w3.org/2000/svg">
734
734
  <rect x="1" width="2" height="8" fill="#3F2B2E"/>
735
735
  <rect x="5" width="2" height="8" fill="#3F2B2E"/>
736
736
  </svg>
737
- `, Ze = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
737
+ `, Ge = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
738
738
  <path d="M10.5037 5.99925C10.7795 5.99925 11.0037 6.22311 11.0037 6.49925V14.2922L13.1462 12.1448C13.3411 11.9498 13.6573 11.95 13.8523 12.1448H13.8533C14.0482 12.34 14.0481 12.6565 13.8533 12.8518L10.8572 15.8518C10.6618 16.0471 10.3455 16.0471 10.1501 15.8518L7.15406 12.8518C6.96522 12.6557 6.96774 12.3444 7.15992 12.1516C7.35242 11.9588 7.66416 11.9556 7.86011 12.1448L10.0046 14.2922V6.49925C10.0046 6.22319 10.228 5.99938 10.5037 5.99925ZM5.15699 0.145737C5.35218 -0.0485278 5.66791 -0.0486304 5.86304 0.145737L8.85913 3.14574C9.04829 3.34183 9.04562 3.65402 8.85327 3.84691C8.66066 4.03978 8.34902 4.04225 8.15308 3.85277L6.00952 1.70628V9.49925C6.0095 9.77533 5.78621 9.99918 5.5105 9.99925C5.23473 9.99925 5.0115 9.77538 5.01148 9.49925V1.70628L2.86695 3.85179C2.74288 3.98695 2.55447 4.04321 2.37671 3.99828C2.1991 3.95328 2.06051 3.81475 2.01538 3.63695C1.97026 3.45902 2.02608 3.27015 2.16089 3.14574L5.15699 0.145737Z" fill="#001022"/>
739
739
  </svg>
740
- `, X = {
741
- wishlist: Ce,
742
- playerv: ke,
743
- chevronRight: Ae,
744
- chevronLeft: Se,
745
- icoPlus: De,
746
- icoMinus: He,
747
- "star-0": Ee,
748
- "star-25": Le,
749
- "star-50": Ie,
750
- "star-75": Pe,
751
- "star-100": Oe,
752
- cross: Be,
753
- search: ze,
754
- arrowLeft: Me,
755
- arrowTop: Te,
756
- cart: je,
757
- notifyme: Ue,
758
- triangledown: Ne,
759
- triangleup: Fe,
760
- checkstroke: Re,
761
- pause: Ve,
762
- mapDualArrow: Ze
740
+ `, Xe = `<svg viewBox="0 0 200 200" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg">
741
+ <line x1="0" y1="0" x2="200" y2="200" />
742
+ </svg>`, q = {
743
+ wishlist: Ee,
744
+ playerv: Le,
745
+ chevronRight: Ie,
746
+ chevronLeft: Pe,
747
+ icoPlus: je,
748
+ icoMinus: Ue,
749
+ "star-0": Oe,
750
+ "star-25": Be,
751
+ "star-50": ze,
752
+ "star-75": De,
753
+ "star-100": He,
754
+ cross: Me,
755
+ search: Te,
756
+ arrowLeft: Ne,
757
+ arrowTop: Fe,
758
+ cart: Re,
759
+ notifyme: Ve,
760
+ triangledown: Ze,
761
+ triangleup: qe,
762
+ checkstroke: We,
763
+ pause: Ke,
764
+ mapDualArrow: Ge
765
+ }, Je = {
766
+ strikeDiagonal: Xe
763
767
  };
764
768
  /**
765
769
  * @license
766
770
  * Copyright 2017 Google LLC
767
771
  * SPDX-License-Identifier: BSD-3-Clause
768
772
  */
769
- const Lt = { ATTRIBUTE: 1, CHILD: 2 }, It = (o) => (...t) => ({ _$litDirective$: o, values: t });
770
- let Pt = class {
773
+ const zt = { ATTRIBUTE: 1, CHILD: 2 }, Dt = (o) => (...t) => ({ _$litDirective$: o, values: t });
774
+ let Ht = class {
771
775
  constructor(t) {
772
776
  }
773
777
  get _$AU() {
774
778
  return this._$AM._$AU;
775
779
  }
776
- _$AT(t, e, n) {
777
- this._$Ct = t, this._$AM = e, this._$Ci = n;
780
+ _$AT(t, e, i) {
781
+ this._$Ct = t, this._$AM = e, this._$Ci = i;
778
782
  }
779
783
  _$AS(t, e) {
780
784
  return this.update(t, e);
@@ -788,13 +792,13 @@ let Pt = class {
788
792
  * Copyright 2017 Google LLC
789
793
  * SPDX-License-Identifier: BSD-3-Clause
790
794
  */
791
- class wt extends Pt {
795
+ class kt extends Ht {
792
796
  constructor(t) {
793
- if (super(t), this.it = d, t.type !== Lt.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
797
+ if (super(t), this.it = d, t.type !== zt.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
794
798
  }
795
799
  render(t) {
796
800
  if (t === d || t == null) return this._t = void 0, this.it = t;
797
- if (t === H) return t;
801
+ if (t === T) return t;
798
802
  if (typeof t != "string") throw Error(this.constructor.directiveName + "() called with a non-string value");
799
803
  if (t === this.it) return this._t;
800
804
  this.it = t;
@@ -802,23 +806,23 @@ class wt extends Pt {
802
806
  return e.raw = e, this._t = { _$litType$: this.constructor.resultType, strings: e, values: [] };
803
807
  }
804
808
  }
805
- wt.directiveName = "unsafeHTML", wt.resultType = 1;
809
+ kt.directiveName = "unsafeHTML", kt.resultType = 1;
806
810
  /**
807
811
  * @license
808
812
  * Copyright 2017 Google LLC
809
813
  * SPDX-License-Identifier: BSD-3-Clause
810
814
  */
811
- class $t extends wt {
815
+ class Ct extends kt {
812
816
  }
813
- $t.directiveName = "unsafeSVG", $t.resultType = 2;
814
- const M = It($t);
815
- var qe = Object.defineProperty, We = Object.getOwnPropertyDescriptor, x = (o, t, e, n) => {
816
- for (var i = n > 1 ? void 0 : n ? We(t, e) : t, r = o.length - 1, s; r >= 0; r--)
817
- (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
818
- return n && i && qe(t, e, i), i;
817
+ Ct.directiveName = "unsafeSVG", Ct.resultType = 2;
818
+ const S = Dt(Ct);
819
+ var Qe = Object.defineProperty, Ye = Object.getOwnPropertyDescriptor, w = (o, t, e, i) => {
820
+ for (var r = i > 1 ? void 0 : i ? Ye(t, e) : t, n = o.length - 1, s; n >= 0; n--)
821
+ (s = o[n]) && (r = (i ? s(t, e, r) : s(r)) || r);
822
+ return i && r && Qe(t, e, r), r;
819
823
  };
820
- const Ke = Yt(f);
821
- let u = class extends Ke {
824
+ const to = Bt(u);
825
+ let v = class extends to {
822
826
  constructor() {
823
827
  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;
824
828
  }
@@ -829,7 +833,7 @@ let u = class extends Ke {
829
833
  this.setAttribute("name", o);
830
834
  }
831
835
  get form() {
832
- return this[Et].form;
836
+ return this[Ot].form;
833
837
  }
834
838
  handleClick() {
835
839
  if (this.panelTarget) {
@@ -843,11 +847,11 @@ let u = class extends Ke {
843
847
  renderIcon(o) {
844
848
  const t = o === "start" ? this.startIconModel : this.endIconModel;
845
849
  if (!t) return d;
846
- const e = X[t].replace(
850
+ const e = q[t].replace(
847
851
  "<svg",
848
852
  '<svg aria-hidden="true" focusable="false" part="svg"'
849
853
  );
850
- return l`<span class="${o === "start" ? "icon-start" : "icon-end"}">${M(e)}</span>`;
854
+ return l`<span class="${o === "start" ? "icon-start" : "icon-end"}">${S(e)}</span>`;
851
855
  }
852
856
  renderButton() {
853
857
  const o = this.text || this.textsecond;
@@ -881,9 +885,9 @@ let u = class extends Ke {
881
885
  `;
882
886
  }
883
887
  };
884
- _e(u);
885
- u.formAssociated = !0;
886
- u.styles = m`
888
+ Se(v);
889
+ v.formAssociated = !0;
890
+ v.styles = g`
887
891
  :host {
888
892
  --button-border: transparent;
889
893
  cursor: pointer;
@@ -995,7 +999,7 @@ u.styles = m`
995
999
  }
996
1000
 
997
1001
  .button:focus-visible {
998
- ${Qt};
1002
+ ${Pt};
999
1003
  }
1000
1004
 
1001
1005
  span.text + span.text::before {
@@ -1068,60 +1072,60 @@ u.styles = m`
1068
1072
  }
1069
1073
  //End icon movment on hover
1070
1074
  `;
1071
- x([
1075
+ w([
1072
1076
  a()
1073
- ], u.prototype, "type", 2);
1074
- x([
1077
+ ], v.prototype, "type", 2);
1078
+ w([
1075
1079
  a({ reflect: !0 })
1076
- ], u.prototype, "value", 2);
1077
- x([
1080
+ ], v.prototype, "value", 2);
1081
+ w([
1078
1082
  a({ type: String, reflect: !0 })
1079
- ], u.prototype, "variant", 2);
1080
- x([
1083
+ ], v.prototype, "variant", 2);
1084
+ w([
1081
1085
  a({ type: String })
1082
- ], u.prototype, "text", 2);
1083
- x([
1086
+ ], v.prototype, "text", 2);
1087
+ w([
1084
1088
  a({ type: String })
1085
- ], u.prototype, "textsecond", 2);
1086
- x([
1089
+ ], v.prototype, "textsecond", 2);
1090
+ w([
1087
1091
  a({ type: Boolean, reflect: !0 })
1088
- ], u.prototype, "fullwidth", 2);
1089
- x([
1092
+ ], v.prototype, "fullwidth", 2);
1093
+ w([
1090
1094
  a({ type: Boolean, reflect: !0 })
1091
- ], u.prototype, "disabled", 2);
1092
- x([
1095
+ ], v.prototype, "disabled", 2);
1096
+ w([
1093
1097
  a({ type: String, reflect: !0 })
1094
- ], u.prototype, "startIconModel", 2);
1095
- x([
1098
+ ], v.prototype, "startIconModel", 2);
1099
+ w([
1096
1100
  a({ type: String, reflect: !0 })
1097
- ], u.prototype, "endIconModel", 2);
1098
- x([
1101
+ ], v.prototype, "endIconModel", 2);
1102
+ w([
1099
1103
  a({ type: Boolean, reflect: !0, attribute: "starticon" })
1100
- ], u.prototype, "startIcon", 2);
1101
- x([
1104
+ ], v.prototype, "startIcon", 2);
1105
+ w([
1102
1106
  a({ type: Boolean, reflect: !0, attribute: "endicon" })
1103
- ], u.prototype, "endIcon", 2);
1104
- x([
1107
+ ], v.prototype, "endIcon", 2);
1108
+ w([
1105
1109
  a({ type: String, attribute: "paneltarget", reflect: !0 })
1106
- ], u.prototype, "panelTarget", 2);
1107
- x([
1110
+ ], v.prototype, "panelTarget", 2);
1111
+ w([
1108
1112
  a({ type: String })
1109
- ], u.prototype, "href", 2);
1110
- x([
1113
+ ], v.prototype, "href", 2);
1114
+ w([
1111
1115
  a({ type: String })
1112
- ], u.prototype, "target", 2);
1113
- x([
1116
+ ], v.prototype, "target", 2);
1117
+ w([
1114
1118
  a({ type: Boolean, reflect: !0 })
1115
- ], u.prototype, "underlined", 2);
1116
- u = x([
1117
- w("o-button")
1118
- ], u);
1119
- var Ge = Object.defineProperty, Xe = Object.getOwnPropertyDescriptor, vt = (o, t, e, n) => {
1120
- for (var i = n > 1 ? void 0 : n ? Xe(t, e) : t, r = o.length - 1, s; r >= 0; r--)
1121
- (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
1122
- return n && i && Ge(t, e, i), i;
1119
+ ], v.prototype, "underlined", 2);
1120
+ v = w([
1121
+ x("o-button")
1122
+ ], v);
1123
+ var eo = Object.defineProperty, oo = Object.getOwnPropertyDescriptor, gt = (o, t, e, i) => {
1124
+ for (var r = i > 1 ? void 0 : i ? oo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
1125
+ (s = o[n]) && (r = (i ? s(t, e, r) : s(r)) || r);
1126
+ return i && r && eo(t, e, r), r;
1123
1127
  };
1124
- let K = class extends f {
1128
+ let J = class extends u {
1125
1129
  constructor() {
1126
1130
  super(...arguments), this.status = "empty", this.ariaDescribedBy = "a-product-name", this.label = "Add to wishlist", this.toggleStatus = () => {
1127
1131
  this.status = this.status === "empty" ? "filled" : "empty", this.setAttribute("aria-pressed", String(this.status === "filled")), this.dispatchEvent(new CustomEvent("wishlist-toggle", {
@@ -1141,14 +1145,14 @@ let K = class extends f {
1141
1145
  (o.key === "Enter" || o.key === " ") && (o.preventDefault(), this.toggleStatus());
1142
1146
  }
1143
1147
  render() {
1144
- const o = X.wishlist.replace(
1148
+ const o = q.wishlist.replace(
1145
1149
  "<svg",
1146
1150
  '<svg aria-hidden="true" focusable="false" part="svg"'
1147
1151
  );
1148
1152
  return l`
1149
1153
  <button type="button" aria-describedby="${this.ariaDescribedBy}" class="wishlist-button">
1150
1154
  <span class="sr-only">${this.label}</span>
1151
- ${M(o)}
1155
+ ${S(o)}
1152
1156
  </button>
1153
1157
  `;
1154
1158
  }
@@ -1162,7 +1166,7 @@ let K = class extends f {
1162
1166
  this.label = o, this.requestUpdate();
1163
1167
  }
1164
1168
  };
1165
- K.styles = m`
1169
+ J.styles = g`
1166
1170
  :host {
1167
1171
  display: inline-flex;
1168
1172
  justify-content: center;
@@ -1226,30 +1230,30 @@ K.styles = m`
1226
1230
  white-space: nowrap !important;
1227
1231
  }
1228
1232
  `;
1229
- vt([
1233
+ gt([
1230
1234
  a({ type: String, reflect: !0 })
1231
- ], K.prototype, "status", 2);
1232
- vt([
1235
+ ], J.prototype, "status", 2);
1236
+ gt([
1233
1237
  a({ type: String, reflect: !0 })
1234
- ], K.prototype, "ariaDescribedBy", 2);
1235
- vt([
1238
+ ], J.prototype, "ariaDescribedBy", 2);
1239
+ gt([
1236
1240
  a({ type: String, reflect: !0 })
1237
- ], K.prototype, "label", 2);
1238
- K = vt([
1239
- w("o-wishlist-button")
1240
- ], K);
1241
+ ], J.prototype, "label", 2);
1242
+ J = gt([
1243
+ x("o-wishlist-button")
1244
+ ], J);
1241
1245
  /**
1242
1246
  * @license
1243
1247
  * Copyright 2018 Google LLC
1244
1248
  * SPDX-License-Identifier: BSD-3-Clause
1245
1249
  */
1246
1250
  const $ = (o) => o ?? d;
1247
- var Je = Object.defineProperty, Qe = Object.getOwnPropertyDescriptor, E = (o, t, e, n) => {
1248
- for (var i = n > 1 ? void 0 : n ? Qe(t, e) : t, r = o.length - 1, s; r >= 0; r--)
1249
- (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
1250
- return n && i && Je(t, e, i), i;
1251
+ var ro = Object.defineProperty, io = Object.getOwnPropertyDescriptor, L = (o, t, e, i) => {
1252
+ for (var r = i > 1 ? void 0 : i ? io(t, e) : t, n = o.length - 1, s; n >= 0; n--)
1253
+ (s = o[n]) && (r = (i ? s(t, e, r) : s(r)) || r);
1254
+ return i && r && ro(t, e, r), r;
1251
1255
  };
1252
- let _ = class extends f {
1256
+ let _ = class extends u {
1253
1257
  constructor() {
1254
1258
  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 = "";
1255
1259
  }
@@ -1257,30 +1261,30 @@ let _ = class extends f {
1257
1261
  super.updated(o), this.style.setProperty("--icon-stroke-width", this.strokewidth);
1258
1262
  }
1259
1263
  render() {
1260
- const o = X[this.icon] ?? "", t = `icon-${this.icon}`, e = o.replace(
1264
+ const o = q[this.icon] ?? "", t = `icon-${this.icon}`, e = o.replace(
1261
1265
  "<svg",
1262
1266
  '<svg aria-hidden="true" focusable="false" part="svg"'
1263
- ), n = this.showSrLabel ? l`<span class="sr-only">${this.srLabel}</span>` : null, i = this.showSrLabel ? null : "icon";
1267
+ ), i = this.showSrLabel ? l`<span class="sr-only">${this.srLabel}</span>` : null, r = this.showSrLabel ? null : "icon";
1264
1268
  return l`
1265
1269
  ${this.type === "span" ? l`
1266
1270
  <span class="icon icon-button ${this.size} ${this.bgstyle} ${this.status} ${t}" ?disabled="${this.disabled}">
1267
- ${M(e)}
1271
+ ${S(e)}
1268
1272
  </span>
1269
1273
  ` : l`
1270
1274
  <button
1271
1275
  type="button"
1272
- aria-label=${$(i)}
1276
+ aria-label=${$(r)}
1273
1277
  class="icon-button ${this.size} ${this.bgstyle} ${this.status} ${t}"
1274
1278
  ?disabled="${this.disabled}"
1275
1279
  >
1276
- ${M(e)}
1277
- ${n}
1280
+ ${S(e)}
1281
+ ${i}
1278
1282
  </button>
1279
1283
  `}
1280
1284
  `;
1281
1285
  }
1282
1286
  };
1283
- _.styles = m`
1287
+ _.styles = g`
1284
1288
  :host {
1285
1289
  display: inline-flex;
1286
1290
  justify-content: center;
@@ -1487,42 +1491,42 @@ _.styles = m`
1487
1491
  display: none;
1488
1492
  }
1489
1493
  `;
1490
- E([
1494
+ L([
1491
1495
  a({ type: String, reflect: !0 })
1492
1496
  ], _.prototype, "bgstyle", 2);
1493
- E([
1497
+ L([
1494
1498
  a({ type: String, reflect: !0 })
1495
1499
  ], _.prototype, "size", 2);
1496
- E([
1500
+ L([
1497
1501
  a({ type: String, reflect: !0 })
1498
1502
  ], _.prototype, "status", 2);
1499
- E([
1503
+ L([
1500
1504
  a({ type: String, reflect: !0 })
1501
1505
  ], _.prototype, "type", 2);
1502
- E([
1506
+ L([
1503
1507
  a({ type: String })
1504
1508
  ], _.prototype, "strokewidth", 2);
1505
- E([
1509
+ L([
1506
1510
  a({ type: String })
1507
1511
  ], _.prototype, "icon", 2);
1508
- E([
1512
+ L([
1509
1513
  a({ type: Boolean, reflect: !0 })
1510
1514
  ], _.prototype, "disabled", 2);
1511
- E([
1515
+ L([
1512
1516
  a({ type: Boolean })
1513
1517
  ], _.prototype, "showSrLabel", 2);
1514
- E([
1518
+ L([
1515
1519
  a({ type: String })
1516
1520
  ], _.prototype, "srLabel", 2);
1517
- _ = E([
1518
- w("o-icon-button")
1521
+ _ = L([
1522
+ x("o-icon-button")
1519
1523
  ], _);
1520
- var Ye = Object.defineProperty, to = Object.getOwnPropertyDescriptor, Z = (o, t, e, n) => {
1521
- for (var i = n > 1 ? void 0 : n ? to(t, e) : t, r = o.length - 1, s; r >= 0; r--)
1522
- (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
1523
- return n && i && Ye(t, e, i), i;
1524
+ var no = Object.defineProperty, so = Object.getOwnPropertyDescriptor, W = (o, t, e, i) => {
1525
+ for (var r = i > 1 ? void 0 : i ? so(t, e) : t, n = o.length - 1, s; n >= 0; n--)
1526
+ (s = o[n]) && (r = (i ? s(t, e, r) : s(r)) || r);
1527
+ return i && r && no(t, e, r), r;
1524
1528
  };
1525
- let P = class extends f {
1529
+ let O = class extends u {
1526
1530
  constructor() {
1527
1531
  super(...arguments), this.href = "", this.target = "", this.template = "standard", this.inverse = !1, this.endIcon = !1, this.reverseEndIcon = !1;
1528
1532
  }
@@ -1560,7 +1564,7 @@ let P = class extends f {
1560
1564
  `;
1561
1565
  }
1562
1566
  };
1563
- P.styles = m`
1567
+ O.styles = g`
1564
1568
  :host([template="standard"]) a {
1565
1569
  color: var(--color-content-action-secondary);
1566
1570
  font-size: var(--font-size-200);
@@ -1648,33 +1652,33 @@ P.styles = m`
1648
1652
  }
1649
1653
  /* End of underline effect */
1650
1654
  `;
1651
- Z([
1655
+ W([
1652
1656
  a({ type: String })
1653
- ], P.prototype, "href", 2);
1654
- Z([
1657
+ ], O.prototype, "href", 2);
1658
+ W([
1655
1659
  a({ type: String })
1656
- ], P.prototype, "target", 2);
1657
- Z([
1660
+ ], O.prototype, "target", 2);
1661
+ W([
1658
1662
  a({ type: String, reflect: !0 })
1659
- ], P.prototype, "template", 2);
1660
- Z([
1663
+ ], O.prototype, "template", 2);
1664
+ W([
1661
1665
  a({ type: Boolean, reflect: !0 })
1662
- ], P.prototype, "inverse", 2);
1663
- Z([
1666
+ ], O.prototype, "inverse", 2);
1667
+ W([
1664
1668
  a({ type: Boolean, reflect: !0 })
1665
- ], P.prototype, "endIcon", 2);
1666
- Z([
1669
+ ], O.prototype, "endIcon", 2);
1670
+ W([
1667
1671
  a({ type: Boolean, reflect: !0 })
1668
- ], P.prototype, "reverseEndIcon", 2);
1669
- P = Z([
1670
- w("o-link")
1671
- ], P);
1672
- var eo = Object.defineProperty, oo = Object.getOwnPropertyDescriptor, bt = (o, t, e, n) => {
1673
- for (var i = n > 1 ? void 0 : n ? oo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
1674
- (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
1675
- return n && i && eo(t, e, i), i;
1672
+ ], O.prototype, "reverseEndIcon", 2);
1673
+ O = W([
1674
+ x("o-link")
1675
+ ], O);
1676
+ var ao = Object.defineProperty, lo = Object.getOwnPropertyDescriptor, yt = (o, t, e, i) => {
1677
+ for (var r = i > 1 ? void 0 : i ? lo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
1678
+ (s = o[n]) && (r = (i ? s(t, e, r) : s(r)) || r);
1679
+ return i && r && ao(t, e, r), r;
1676
1680
  };
1677
- let G = class extends f {
1681
+ let Q = class extends u {
1678
1682
  constructor() {
1679
1683
  super(...arguments), this.rating = 0;
1680
1684
  }
@@ -1682,8 +1686,8 @@ let G = class extends f {
1682
1686
  const o = [];
1683
1687
  for (let t = 0; t < 5; t++) {
1684
1688
  const e = this.rating - t;
1685
- let n;
1686
- e >= 1 ? n = 100 : e <= 0 ? n = 0 : n = Math.round(e * 100 / 25) * 25, o.push(`star-${n}`);
1689
+ let i;
1690
+ e >= 1 ? i = 100 : e <= 0 ? i = 0 : i = Math.round(e * 100 / 25) * 25, o.push(`star-${i}`);
1687
1691
  }
1688
1692
  return o;
1689
1693
  }
@@ -1693,7 +1697,7 @@ let G = class extends f {
1693
1697
  <div class="rating">
1694
1698
  <div class="stars">
1695
1699
  ${o.map(
1696
- (t) => l`<span class="star">${M(X[t] ?? "")}</span>`
1700
+ (t) => l`<span class="star">${S(q[t] ?? "")}</span>`
1697
1701
  )}
1698
1702
  </div>
1699
1703
  ${this.reviewCount != null && this.href != null ? l`<o-link template="review" href="${this.href}">${this.reviewCount}</o-link>` : null}
@@ -1701,7 +1705,7 @@ let G = class extends f {
1701
1705
  `;
1702
1706
  }
1703
1707
  };
1704
- G.styles = m`
1708
+ Q.styles = g`
1705
1709
  svg {
1706
1710
  width: 12px;
1707
1711
  height: 12px;
@@ -1735,74 +1739,74 @@ G.styles = m`
1735
1739
  cursor: pointer;
1736
1740
  }
1737
1741
  `;
1738
- bt([
1742
+ yt([
1739
1743
  a({ type: Number })
1740
- ], G.prototype, "rating", 2);
1741
- bt([
1744
+ ], Q.prototype, "rating", 2);
1745
+ yt([
1742
1746
  a({ type: String })
1743
- ], G.prototype, "reviewCount", 2);
1744
- bt([
1747
+ ], Q.prototype, "reviewCount", 2);
1748
+ yt([
1745
1749
  a({ type: String })
1746
- ], G.prototype, "href", 2);
1747
- G = bt([
1748
- w("o-rating")
1749
- ], G);
1750
+ ], Q.prototype, "href", 2);
1751
+ Q = yt([
1752
+ x("o-rating")
1753
+ ], Q);
1750
1754
  /**
1751
1755
  * @license
1752
1756
  * Copyright 2020 Google LLC
1753
1757
  * SPDX-License-Identifier: BSD-3-Clause
1754
1758
  */
1755
- const io = (o) => o.strings === void 0;
1759
+ const co = (o) => o.strings === void 0;
1756
1760
  /**
1757
1761
  * @license
1758
1762
  * Copyright 2017 Google LLC
1759
1763
  * SPDX-License-Identifier: BSD-3-Clause
1760
1764
  */
1761
- const tt = (o, t) => {
1762
- var n;
1765
+ const ot = (o, t) => {
1766
+ var i;
1763
1767
  const e = o._$AN;
1764
1768
  if (e === void 0) return !1;
1765
- for (const i of e) (n = i._$AO) == null || n.call(i, t, !1), tt(i, t);
1769
+ for (const r of e) (i = r._$AO) == null || i.call(r, t, !1), ot(r, t);
1766
1770
  return !0;
1767
- }, pt = (o) => {
1771
+ }, bt = (o) => {
1768
1772
  let t, e;
1769
1773
  do {
1770
1774
  if ((t = o._$AM) === void 0) break;
1771
1775
  e = t._$AN, e.delete(o), o = t;
1772
1776
  } while ((e == null ? void 0 : e.size) === 0);
1773
- }, te = (o) => {
1777
+ }, ie = (o) => {
1774
1778
  for (let t; t = o._$AM; o = t) {
1775
1779
  let e = t._$AN;
1776
1780
  if (e === void 0) t._$AN = e = /* @__PURE__ */ new Set();
1777
1781
  else if (e.has(o)) break;
1778
- e.add(o), so(t);
1782
+ e.add(o), uo(t);
1779
1783
  }
1780
1784
  };
1781
- function no(o) {
1782
- this._$AN !== void 0 ? (pt(this), this._$AM = o, te(this)) : this._$AM = o;
1785
+ function ho(o) {
1786
+ this._$AN !== void 0 ? (bt(this), this._$AM = o, ie(this)) : this._$AM = o;
1783
1787
  }
1784
- function ro(o, t = !1, e = 0) {
1785
- const n = this._$AH, i = this._$AN;
1786
- if (i !== void 0 && i.size !== 0) if (t) if (Array.isArray(n)) for (let r = e; r < n.length; r++) tt(n[r], !1), pt(n[r]);
1787
- else n != null && (tt(n, !1), pt(n));
1788
- else tt(this, o);
1788
+ function po(o, t = !1, e = 0) {
1789
+ const i = this._$AH, r = this._$AN;
1790
+ if (r !== void 0 && r.size !== 0) if (t) if (Array.isArray(i)) for (let n = e; n < i.length; n++) ot(i[n], !1), bt(i[n]);
1791
+ else i != null && (ot(i, !1), bt(i));
1792
+ else ot(this, o);
1789
1793
  }
1790
- const so = (o) => {
1791
- o.type == Lt.CHILD && (o._$AP ?? (o._$AP = ro), o._$AQ ?? (o._$AQ = no));
1794
+ const uo = (o) => {
1795
+ o.type == zt.CHILD && (o._$AP ?? (o._$AP = po), o._$AQ ?? (o._$AQ = ho));
1792
1796
  };
1793
- class ao extends Pt {
1797
+ class vo extends Ht {
1794
1798
  constructor() {
1795
1799
  super(...arguments), this._$AN = void 0;
1796
1800
  }
1797
- _$AT(t, e, n) {
1798
- super._$AT(t, e, n), te(this), this.isConnected = t._$AU;
1801
+ _$AT(t, e, i) {
1802
+ super._$AT(t, e, i), ie(this), this.isConnected = t._$AU;
1799
1803
  }
1800
1804
  _$AO(t, e = !0) {
1801
- var n, i;
1802
- t !== this.isConnected && (this.isConnected = t, t ? (n = this.reconnected) == null || n.call(this) : (i = this.disconnected) == null || i.call(this)), e && (tt(this, t), pt(this));
1805
+ var i, r;
1806
+ t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (r = this.disconnected) == null || r.call(this)), e && (ot(this, t), bt(this));
1803
1807
  }
1804
1808
  setValue(t) {
1805
- if (io(this._$Ct)) this._$Ct._$AI(t, this);
1809
+ if (co(this._$Ct)) this._$Ct._$AI(t, this);
1806
1810
  else {
1807
1811
  const e = [...this._$Ct._$AH];
1808
1812
  e[this._$Ci] = t, this._$Ct._$AI(e, this, 0);
@@ -1813,7 +1817,7 @@ class ao extends Pt {
1813
1817
  reconnected() {
1814
1818
  }
1815
1819
  }
1816
- class lo extends ao {
1820
+ class bo extends vo {
1817
1821
  constructor() {
1818
1822
  super(...arguments), this.prevData = {};
1819
1823
  }
@@ -1821,49 +1825,49 @@ class lo extends ao {
1821
1825
  return d;
1822
1826
  }
1823
1827
  update(t, [e]) {
1824
- var n;
1825
- 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 };
1828
+ var i;
1829
+ this.element !== t.element && (this.element = t.element), this.host = ((i = t.options) === null || i === void 0 ? void 0 : i.host) || this.element, this.apply(e), this.groom(e), this.prevData = { ...e };
1826
1830
  }
1827
1831
  apply(t) {
1828
1832
  if (!t)
1829
1833
  return;
1830
- const { prevData: e, element: n } = this;
1831
- for (const i in t) {
1832
- const r = t[i];
1833
- r !== e[i] && (n[i] = r);
1834
+ const { prevData: e, element: i } = this;
1835
+ for (const r in t) {
1836
+ const n = t[r];
1837
+ n !== e[r] && (i[r] = n);
1834
1838
  }
1835
1839
  }
1836
1840
  groom(t) {
1837
- const { prevData: e, element: n } = this;
1841
+ const { prevData: e, element: i } = this;
1838
1842
  if (e)
1839
- for (const i in e)
1840
- (!t || !(i in t) && n[i] === e[i]) && (n[i] = void 0);
1843
+ for (const r in e)
1844
+ (!t || !(r in t) && i[r] === e[r]) && (i[r] = void 0);
1841
1845
  }
1842
1846
  }
1843
- class co extends lo {
1847
+ class fo extends bo {
1844
1848
  constructor() {
1845
1849
  super(...arguments), this.eventData = {};
1846
1850
  }
1847
1851
  apply(t) {
1848
1852
  if (t)
1849
1853
  for (const e in t) {
1850
- const n = t[e];
1851
- n !== this.eventData[e] && this.applyEvent(e, n);
1854
+ const i = t[e];
1855
+ i !== this.eventData[e] && this.applyEvent(e, i);
1852
1856
  }
1853
1857
  }
1854
1858
  applyEvent(t, e) {
1855
- const { prevData: n, element: i } = this;
1856
- this.eventData[t] = e, n[t] && i.removeEventListener(t, this, e), i.addEventListener(t, this, e);
1859
+ const { prevData: i, element: r } = this;
1860
+ this.eventData[t] = e, i[t] && r.removeEventListener(t, this, e), r.addEventListener(t, this, e);
1857
1861
  }
1858
1862
  groom(t) {
1859
- const { prevData: e, element: n } = this;
1863
+ const { prevData: e, element: i } = this;
1860
1864
  if (e)
1861
- for (const i in e)
1862
- (!t || !(i in t) && n[i] === e[i]) && this.groomEvent(i, e[i]);
1865
+ for (const r in e)
1866
+ (!t || !(r in t) && i[r] === e[r]) && this.groomEvent(r, e[r]);
1863
1867
  }
1864
1868
  groomEvent(t, e) {
1865
- const { element: n } = this;
1866
- delete this.eventData[t], n.removeEventListener(t, this, e);
1869
+ const { element: i } = this;
1870
+ delete this.eventData[t], i.removeEventListener(t, this, e);
1867
1871
  }
1868
1872
  handleEvent(t) {
1869
1873
  const e = this.eventData[t.type];
@@ -1871,75 +1875,75 @@ class co extends lo {
1871
1875
  }
1872
1876
  disconnected() {
1873
1877
  const { eventData: t, element: e } = this;
1874
- for (const n in t) {
1875
- const i = n.slice(1), r = t[n];
1876
- e.removeEventListener(i, this, r);
1878
+ for (const i in t) {
1879
+ const r = i.slice(1), n = t[i];
1880
+ e.removeEventListener(r, this, n);
1877
1881
  }
1878
1882
  }
1879
1883
  reconnected() {
1880
1884
  const { eventData: t, element: e } = this;
1881
- for (const n in t) {
1882
- const i = n.slice(1), r = t[n];
1883
- e.addEventListener(i, this, r);
1885
+ for (const i in t) {
1886
+ const r = i.slice(1), n = t[i];
1887
+ e.addEventListener(r, this, n);
1884
1888
  }
1885
1889
  }
1886
1890
  }
1887
- class ho extends co {
1891
+ class go extends fo {
1888
1892
  apply(t) {
1889
1893
  if (!t)
1890
1894
  return;
1891
- const { prevData: e, element: n } = this;
1892
- for (const i in t) {
1893
- const r = t[i];
1894
- if (r === e[i])
1895
+ const { prevData: e, element: i } = this;
1896
+ for (const r in t) {
1897
+ const n = t[r];
1898
+ if (n === e[r])
1895
1899
  continue;
1896
- const s = i.slice(1);
1897
- switch (i[0]) {
1900
+ const s = r.slice(1);
1901
+ switch (r[0]) {
1898
1902
  case "@":
1899
- this.eventData[s] = r, this.applyEvent(s, r);
1903
+ this.eventData[s] = n, this.applyEvent(s, n);
1900
1904
  break;
1901
1905
  case ".":
1902
- n[s] = r;
1906
+ i[s] = n;
1903
1907
  break;
1904
1908
  case "?":
1905
- r ? n.setAttribute(s, "") : n.removeAttribute(s);
1909
+ n ? i.setAttribute(s, "") : i.removeAttribute(s);
1906
1910
  break;
1907
1911
  default:
1908
- r != null ? n.setAttribute(i, String(r)) : n.removeAttribute(i);
1912
+ n != null ? i.setAttribute(r, String(n)) : i.removeAttribute(r);
1909
1913
  break;
1910
1914
  }
1911
1915
  }
1912
1916
  }
1913
1917
  groom(t) {
1914
- const { prevData: e, element: n } = this;
1918
+ const { prevData: e, element: i } = this;
1915
1919
  if (e)
1916
- for (const i in e) {
1917
- const r = i.slice(1);
1918
- if (!t || !(i in t) && n[r] === e[i])
1919
- switch (i[0]) {
1920
+ for (const r in e) {
1921
+ const n = r.slice(1);
1922
+ if (!t || !(r in t) && i[n] === e[r])
1923
+ switch (r[0]) {
1920
1924
  case "@":
1921
- this.groomEvent(r, e[i]);
1925
+ this.groomEvent(n, e[r]);
1922
1926
  break;
1923
1927
  case ".":
1924
- n[r] = void 0;
1928
+ i[n] = void 0;
1925
1929
  break;
1926
1930
  case "?":
1927
- n.removeAttribute(r);
1931
+ i.removeAttribute(n);
1928
1932
  break;
1929
1933
  default:
1930
- n.removeAttribute(i);
1934
+ i.removeAttribute(r);
1931
1935
  break;
1932
1936
  }
1933
1937
  }
1934
1938
  }
1935
1939
  }
1936
- const Zt = It(ho);
1937
- var po = Object.defineProperty, uo = Object.getOwnPropertyDescriptor, g = (o, t, e, n) => {
1938
- for (var i = n > 1 ? void 0 : n ? uo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
1939
- (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
1940
- return n && i && po(t, e, i), i;
1940
+ const Jt = Dt(go);
1941
+ var yo = Object.defineProperty, mo = Object.getOwnPropertyDescriptor, y = (o, t, e, i) => {
1942
+ for (var r = i > 1 ? void 0 : i ? mo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
1943
+ (s = o[n]) && (r = (i ? s(t, e, r) : s(r)) || r);
1944
+ return i && r && yo(t, e, r), r;
1941
1945
  };
1942
- let v = class extends f {
1946
+ let b = class extends u {
1943
1947
  constructor() {
1944
1948
  super(...arguments), this.open = !1, this.showHeader = !0, this.showFooter = !1, this.showHeaderStartIcon = !1, this.headerTitle = "", this.closeButtonLabel = "Close the modal", this.firstButtonLabel = "Close", this.firstButtonVariant = "primary", this.firstButtonProps = {}, this.secondaryButtonLabel = "", this.secondaryButtonVariant = "secondary", this.secondaryButtonProps = {}, this.disablePortal = !1, this.zIndex = 99, this.initialized = !1, this.previousFocusedElement = null, this.handleKeyDown = (o) => {
1945
1949
  this.open && (o.key === "Escape" ? this.closePanel() : o.key === "Tab" && this.trapFocus(o));
@@ -1956,8 +1960,8 @@ let v = class extends f {
1956
1960
  trapFocus(o) {
1957
1961
  const t = this.getFocusableElements();
1958
1962
  if (t.length === 0) return;
1959
- const e = t[0], n = t[t.length - 1];
1960
- o.shiftKey && document.activeElement === e ? (o.preventDefault(), n.focus()) : !o.shiftKey && document.activeElement === n && (o.preventDefault(), e.focus());
1963
+ const e = t[0], i = t[t.length - 1];
1964
+ o.shiftKey && document.activeElement === e ? (o.preventDefault(), i.focus()) : !o.shiftKey && document.activeElement === i && (o.preventDefault(), e.focus());
1961
1965
  }
1962
1966
  getFocusableElements() {
1963
1967
  const o = this.renderRoot.querySelector(".panel");
@@ -2019,7 +2023,7 @@ let v = class extends f {
2019
2023
  <o-button
2020
2024
  variant="${this.firstButtonVariant}"
2021
2025
  @click=${this.handleFirstClick}
2022
- ${Zt(this.firstButtonProps)}
2026
+ ${Jt(this.firstButtonProps)}
2023
2027
  >
2024
2028
  ${this.firstButtonLabel}
2025
2029
  </o-button>
@@ -2029,7 +2033,7 @@ let v = class extends f {
2029
2033
  <o-button
2030
2034
  variant="${this.secondaryButtonVariant}"
2031
2035
  @click=${this.handleSecondaryClick}
2032
- ${Zt(this.secondaryButtonProps)}
2036
+ ${Jt(this.secondaryButtonProps)}
2033
2037
  >
2034
2038
  ${this.secondaryButtonLabel}
2035
2039
  </o-button>
@@ -2040,7 +2044,7 @@ let v = class extends f {
2040
2044
  `;
2041
2045
  }
2042
2046
  };
2043
- v.styles = m`
2047
+ b.styles = g`
2044
2048
  :host {
2045
2049
  --z-overlay: 99;
2046
2050
  --z-panel: 100;
@@ -2182,66 +2186,66 @@ v.styles = m`
2182
2186
  }
2183
2187
  }
2184
2188
  `;
2185
- g([
2189
+ y([
2186
2190
  a({ type: Boolean, reflect: !0 })
2187
- ], v.prototype, "open", 2);
2188
- g([
2191
+ ], b.prototype, "open", 2);
2192
+ y([
2189
2193
  a({ type: Boolean, reflect: !0 })
2190
- ], v.prototype, "showHeader", 2);
2191
- g([
2194
+ ], b.prototype, "showHeader", 2);
2195
+ y([
2192
2196
  a({ type: Boolean, reflect: !0 })
2193
- ], v.prototype, "showFooter", 2);
2194
- g([
2197
+ ], b.prototype, "showFooter", 2);
2198
+ y([
2195
2199
  a({ type: Boolean, reflect: !0 })
2196
- ], v.prototype, "showHeaderStartIcon", 2);
2197
- g([
2200
+ ], b.prototype, "showHeaderStartIcon", 2);
2201
+ y([
2198
2202
  a({ type: String, reflect: !0 })
2199
- ], v.prototype, "headerTitle", 2);
2200
- g([
2203
+ ], b.prototype, "headerTitle", 2);
2204
+ y([
2201
2205
  a({ type: String, reflect: !0 })
2202
- ], v.prototype, "closeButtonLabel", 2);
2203
- g([
2206
+ ], b.prototype, "closeButtonLabel", 2);
2207
+ y([
2204
2208
  a({ type: String, reflect: !0 })
2205
- ], v.prototype, "firstButtonLabel", 2);
2206
- g([
2209
+ ], b.prototype, "firstButtonLabel", 2);
2210
+ y([
2207
2211
  a({ type: String, reflect: !0 })
2208
- ], v.prototype, "firstButtonVariant", 2);
2209
- g([
2212
+ ], b.prototype, "firstButtonVariant", 2);
2213
+ y([
2210
2214
  a({ type: Object, reflect: !0 })
2211
- ], v.prototype, "firstButtonProps", 2);
2212
- g([
2215
+ ], b.prototype, "firstButtonProps", 2);
2216
+ y([
2213
2217
  a({ type: Function })
2214
- ], v.prototype, "onFirstButtonClick", 2);
2215
- g([
2218
+ ], b.prototype, "onFirstButtonClick", 2);
2219
+ y([
2216
2220
  a({ type: String, reflect: !0 })
2217
- ], v.prototype, "secondaryButtonLabel", 2);
2218
- g([
2221
+ ], b.prototype, "secondaryButtonLabel", 2);
2222
+ y([
2219
2223
  a({ type: String, reflect: !0 })
2220
- ], v.prototype, "secondaryButtonVariant", 2);
2221
- g([
2224
+ ], b.prototype, "secondaryButtonVariant", 2);
2225
+ y([
2222
2226
  a({ type: Object, reflect: !0 })
2223
- ], v.prototype, "secondaryButtonProps", 2);
2224
- g([
2227
+ ], b.prototype, "secondaryButtonProps", 2);
2228
+ y([
2225
2229
  a({ type: Function })
2226
- ], v.prototype, "onSecondaryButtonClick", 2);
2227
- g([
2230
+ ], b.prototype, "onSecondaryButtonClick", 2);
2231
+ y([
2228
2232
  a({ type: Boolean, reflect: !0 })
2229
- ], v.prototype, "disablePortal", 2);
2230
- g([
2233
+ ], b.prototype, "disablePortal", 2);
2234
+ y([
2231
2235
  a({ type: Number, reflect: !0 })
2232
- ], v.prototype, "zIndex", 2);
2233
- g([
2236
+ ], b.prototype, "zIndex", 2);
2237
+ y([
2234
2238
  a({ type: Boolean, reflect: !0 })
2235
- ], v.prototype, "initialized", 2);
2236
- v = g([
2237
- w("o-side-panel")
2238
- ], v);
2239
- var vo = Object.defineProperty, bo = Object.getOwnPropertyDescriptor, T = (o, t, e, n) => {
2240
- for (var i = n > 1 ? void 0 : n ? bo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
2241
- (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
2242
- return n && i && vo(t, e, i), i;
2239
+ ], b.prototype, "initialized", 2);
2240
+ b = y([
2241
+ x("o-side-panel")
2242
+ ], b);
2243
+ var xo = Object.defineProperty, wo = Object.getOwnPropertyDescriptor, j = (o, t, e, i) => {
2244
+ for (var r = i > 1 ? void 0 : i ? wo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
2245
+ (s = o[n]) && (r = (i ? s(t, e, r) : s(r)) || r);
2246
+ return i && r && xo(t, e, r), r;
2243
2247
  };
2244
- let A = class extends f {
2248
+ let E = class extends u {
2245
2249
  constructor() {
2246
2250
  super(...arguments), this.thumbnails = [], this.activeIndex = 0, this.disabledIndexes = [], this.maxWidth = "100%", this.altressource = "visual", this.focusedIndex = 0, this.playerIconTemplate = l`
2247
2251
  <o-icon-button
@@ -2278,22 +2282,22 @@ let A = class extends f {
2278
2282
  }
2279
2283
  onFocus(o) {
2280
2284
  const t = o.currentTarget, e = Number(t.dataset.index);
2281
- this.focusedIndex = e, this.renderRoot.querySelectorAll(".thumb").forEach((i) => {
2282
- i.classList.remove("a--tabfocus");
2285
+ this.focusedIndex = e, this.renderRoot.querySelectorAll(".thumb").forEach((r) => {
2286
+ r.classList.remove("a--tabfocus");
2283
2287
  }), t.classList.add("a--tabfocus"), this.requestUpdate();
2284
2288
  }
2285
2289
  onBlur(o) {
2286
2290
  setTimeout(() => {
2287
2291
  var e;
2288
2292
  const t = (e = this.shadowRoot) == null ? void 0 : e.activeElement;
2289
- (!t || !t.classList.contains("thumb")) && this.renderRoot.querySelectorAll(".thumb").forEach((i) => i.classList.remove("a--tabfocus"));
2293
+ (!t || !t.classList.contains("thumb")) && this.renderRoot.querySelectorAll(".thumb").forEach((r) => r.classList.remove("a--tabfocus"));
2290
2294
  }, 0);
2291
2295
  }
2292
2296
  render() {
2293
2297
  return l`
2294
2298
  <ul class="scroll-container" style="max-width: ${this.maxWidth};">
2295
2299
  ${this.thumbnails.map((o, t) => {
2296
- const e = this.disabledIndexes.includes(t), n = this.activeIndex === t, i = o.type === "video", r = i ? `video ${t}` : `${this.altressource} ${t + 1}`;
2300
+ const e = this.disabledIndexes.includes(t), i = this.activeIndex === t, r = o.type === "video", n = r ? `video ${t}` : `${this.altressource} ${t + 1}`;
2297
2301
  return l`
2298
2302
  <li class="thumb-wrapper">
2299
2303
  <button
@@ -2301,16 +2305,16 @@ let A = class extends f {
2301
2305
  data-index="${t}"
2302
2306
  ?disabled=${e}
2303
2307
  aria-selected="${this.focusedIndex === t}"
2304
- aria-current=${n ? "true" : "false"}
2308
+ aria-current=${i ? "true" : "false"}
2305
2309
  tabindex="${this.disabledIndexes.includes(t) ? -1 : 0}"
2306
2310
  @click=${() => this.selectThumbnail(t)}
2307
2311
  @keydown=${this.handleKeyDown}
2308
2312
  @focus=${(s) => this.onFocus(s)}
2309
2313
  @blur=${(s) => this.onBlur(s)}
2310
2314
  >
2311
- <img alt="${r}" src="${o.src}" />
2315
+ <img alt="${n}" src="${o.src}" />
2312
2316
  </button>
2313
- ${i ? l`<div class="play-icon-wrapper">${this.playerIconTemplate}</div>` : null}
2317
+ ${r ? l`<div class="play-icon-wrapper">${this.playerIconTemplate}</div>` : null}
2314
2318
  </li>
2315
2319
  `;
2316
2320
  })}
@@ -2318,7 +2322,7 @@ let A = class extends f {
2318
2322
  `;
2319
2323
  }
2320
2324
  };
2321
- A.styles = m`
2325
+ E.styles = g`
2322
2326
  :host {
2323
2327
  display: flex;
2324
2328
  gap: 5px;
@@ -2424,36 +2428,36 @@ A.styles = m`
2424
2428
  width: 0;
2425
2429
  }
2426
2430
  `;
2427
- T([
2431
+ j([
2428
2432
  a({ type: Array })
2429
- ], A.prototype, "thumbnails", 2);
2430
- T([
2433
+ ], E.prototype, "thumbnails", 2);
2434
+ j([
2431
2435
  a({ type: Number })
2432
- ], A.prototype, "activeIndex", 2);
2433
- T([
2436
+ ], E.prototype, "activeIndex", 2);
2437
+ j([
2434
2438
  a({ type: Array })
2435
- ], A.prototype, "disabledIndexes", 2);
2436
- T([
2439
+ ], E.prototype, "disabledIndexes", 2);
2440
+ j([
2437
2441
  a({ type: String })
2438
- ], A.prototype, "maxWidth", 2);
2439
- T([
2442
+ ], E.prototype, "maxWidth", 2);
2443
+ j([
2440
2444
  a({ type: String })
2441
- ], A.prototype, "altressource", 2);
2442
- T([
2445
+ ], E.prototype, "altressource", 2);
2446
+ j([
2443
2447
  a({ type: Object })
2444
- ], A.prototype, "swiperInstance", 2);
2445
- T([
2446
- V()
2447
- ], A.prototype, "focusedIndex", 2);
2448
- A = T([
2449
- w("thumbnail-navigation")
2450
- ], A);
2451
- var fo = Object.defineProperty, go = Object.getOwnPropertyDescriptor, Ot = (o, t, e, n) => {
2452
- for (var i = n > 1 ? void 0 : n ? go(t, e) : t, r = o.length - 1, s; r >= 0; r--)
2453
- (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
2454
- return n && i && fo(t, e, i), i;
2448
+ ], E.prototype, "swiperInstance", 2);
2449
+ j([
2450
+ Z()
2451
+ ], E.prototype, "focusedIndex", 2);
2452
+ E = j([
2453
+ x("thumbnail-navigation")
2454
+ ], E);
2455
+ var $o = Object.defineProperty, _o = Object.getOwnPropertyDescriptor, Mt = (o, t, e, i) => {
2456
+ for (var r = i > 1 ? void 0 : i ? _o(t, e) : t, n = o.length - 1, s; n >= 0; n--)
2457
+ (s = o[n]) && (r = (i ? s(t, e, r) : s(r)) || r);
2458
+ return i && r && $o(t, e, r), r;
2455
2459
  };
2456
- let nt = class extends f {
2460
+ let st = class extends u {
2457
2461
  constructor() {
2458
2462
  super(...arguments), this.type = "", this.bgstyle = "background-white";
2459
2463
  }
@@ -2463,7 +2467,7 @@ let nt = class extends f {
2463
2467
  `;
2464
2468
  }
2465
2469
  };
2466
- nt.styles = m`
2470
+ st.styles = g`
2467
2471
  .tag {
2468
2472
  display: inline-block;
2469
2473
  padding: var(--spacing-2-xs) var(--spacing-s);
@@ -2519,21 +2523,21 @@ nt.styles = m`
2519
2523
  }
2520
2524
 
2521
2525
  `;
2522
- Ot([
2526
+ Mt([
2523
2527
  a({ type: String, reflect: !0 })
2524
- ], nt.prototype, "type", 2);
2525
- Ot([
2528
+ ], st.prototype, "type", 2);
2529
+ Mt([
2526
2530
  a({ type: String, reflect: !0 })
2527
- ], nt.prototype, "bgstyle", 2);
2528
- nt = Ot([
2529
- w("o-tag")
2530
- ], nt);
2531
- var yo = Object.defineProperty, mo = Object.getOwnPropertyDescriptor, Bt = (o, t, e, n) => {
2532
- for (var i = n > 1 ? void 0 : n ? mo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
2533
- (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
2534
- return n && i && yo(t, e, i), i;
2531
+ ], st.prototype, "bgstyle", 2);
2532
+ st = Mt([
2533
+ x("o-tag")
2534
+ ], st);
2535
+ var ko = Object.defineProperty, Co = Object.getOwnPropertyDescriptor, Tt = (o, t, e, i) => {
2536
+ for (var r = i > 1 ? void 0 : i ? Co(t, e) : t, n = o.length - 1, s; n >= 0; n--)
2537
+ (s = o[n]) && (r = (i ? s(t, e, r) : s(r)) || r);
2538
+ return i && r && ko(t, e, r), r;
2535
2539
  };
2536
- let rt = class extends f {
2540
+ let at = class extends u {
2537
2541
  constructor() {
2538
2542
  super(...arguments), this.type = "top", this.text = "";
2539
2543
  }
@@ -2546,7 +2550,7 @@ let rt = class extends f {
2546
2550
  `;
2547
2551
  }
2548
2552
  };
2549
- rt.styles = m`
2553
+ at.styles = g`
2550
2554
  .tooltip {
2551
2555
  position: relative;
2552
2556
  display: inline-block;
@@ -2639,21 +2643,21 @@ rt.styles = m`
2639
2643
  }
2640
2644
 
2641
2645
  `;
2642
- Bt([
2646
+ Tt([
2643
2647
  a({ type: String, reflect: !0 })
2644
- ], rt.prototype, "type", 2);
2645
- Bt([
2648
+ ], at.prototype, "type", 2);
2649
+ Tt([
2646
2650
  a({ type: String, reflect: !0 })
2647
- ], rt.prototype, "text", 2);
2648
- rt = Bt([
2649
- w("o-tooltip")
2650
- ], rt);
2651
- var xo = Object.defineProperty, wo = Object.getOwnPropertyDescriptor, O = (o, t, e, n) => {
2652
- for (var i = n > 1 ? void 0 : n ? wo(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 && xo(t, e, i), i;
2651
+ ], at.prototype, "text", 2);
2652
+ at = Tt([
2653
+ x("o-tooltip")
2654
+ ], at);
2655
+ var Ao = Object.defineProperty, So = Object.getOwnPropertyDescriptor, z = (o, t, e, i) => {
2656
+ for (var r = i > 1 ? void 0 : i ? So(t, e) : t, n = o.length - 1, s; n >= 0; n--)
2657
+ (s = o[n]) && (r = (i ? s(t, e, r) : s(r)) || r);
2658
+ return i && r && Ao(t, e, r), r;
2655
2659
  };
2656
- let k = class extends f {
2660
+ let C = class extends u {
2657
2661
  constructor() {
2658
2662
  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) => {
2659
2663
  this.contains(o.target) || (this.open = !1, this.activeIndex = -1);
@@ -2719,7 +2723,7 @@ let k = class extends f {
2719
2723
  this.options.length > 0 && (this.options.some((e) => e.value === this.value) || (this.value = this.options[0].value));
2720
2724
  }
2721
2725
  render() {
2722
- const o = X.checkstroke.replace(
2726
+ const o = q.checkstroke.replace(
2723
2727
  "<svg",
2724
2728
  '<svg aria-hidden="true" focusable="false" part="svg"'
2725
2729
  ), t = this.options.find((e) => e.value === this.value);
@@ -2752,22 +2756,22 @@ let k = class extends f {
2752
2756
  style=${`width: ${this.width};`}
2753
2757
  >
2754
2758
  ${this.options.map(
2755
- (e, n) => l`
2759
+ (e, i) => l`
2756
2760
  <li
2757
- id="option-${n}"
2761
+ id="option-${i}"
2758
2762
  role="option"
2759
2763
  aria-selected="${e.value === this.value}"
2760
- tabindex="${n === this.activeIndex ? "0" : "-1"}"
2761
- class="${n === this.activeIndex ? "active" : ""} ${e.disabled ? "disabled" : ""}"
2764
+ tabindex="${i === this.activeIndex ? "0" : "-1"}"
2765
+ class="${i === this.activeIndex ? "active" : ""} ${e.disabled ? "disabled" : ""}"
2762
2766
  @click=${() => this.selectOption(e)}
2763
2767
  >
2764
2768
  ${e.url ? l`
2765
2769
  <a href="${e.url}">
2766
2770
  <span>${e.label}</span>
2767
- ${e.value === this.value ? l`<span class="check">${M(o)}</span>` : null}
2771
+ ${e.value === this.value ? l`<span class="check">${S(o)}</span>` : null}
2768
2772
  </a>` : l`
2769
2773
  <span>${e.label}</span>
2770
- ${e.value === this.value ? l`<span class="check">${M(o)}</span>` : null}`}
2774
+ ${e.value === this.value ? l`<span class="check">${S(o)}</span>` : null}`}
2771
2775
  </li>`
2772
2776
  )}
2773
2777
  </ul>` : null}
@@ -2776,7 +2780,7 @@ let k = class extends f {
2776
2780
  `;
2777
2781
  }
2778
2782
  };
2779
- k.styles = m`
2783
+ C.styles = g`
2780
2784
  :host {
2781
2785
  display: inline-block;
2782
2786
  position: relative;
@@ -2916,44 +2920,44 @@ k.styles = m`
2916
2920
  display: none;
2917
2921
  }
2918
2922
  `;
2919
- O([
2923
+ z([
2920
2924
  a({ type: Array, reflect: !0 })
2921
- ], k.prototype, "options", 2);
2922
- O([
2925
+ ], C.prototype, "options", 2);
2926
+ z([
2923
2927
  a({ type: String, reflect: !0 })
2924
- ], k.prototype, "value", 2);
2925
- O([
2928
+ ], C.prototype, "value", 2);
2929
+ z([
2926
2930
  a({ type: String, reflect: !0 })
2927
- ], k.prototype, "name", 2);
2928
- O([
2931
+ ], C.prototype, "name", 2);
2932
+ z([
2929
2933
  a({ type: Boolean, reflect: !0 })
2930
- ], k.prototype, "disabled", 2);
2931
- O([
2934
+ ], C.prototype, "disabled", 2);
2935
+ z([
2932
2936
  a({ type: String, reflect: !0 })
2933
- ], k.prototype, "width", 2);
2934
- O([
2935
- V()
2936
- ], k.prototype, "open", 2);
2937
- O([
2938
- V()
2939
- ], k.prototype, "activeIndex", 2);
2940
- O([
2941
- V()
2942
- ], k.prototype, "menuWidth", 2);
2943
- k = O([
2944
- w("o-dropdown")
2945
- ], k);
2946
- var $o = Object.getOwnPropertyDescriptor, _o = (o, t, e, n) => {
2947
- for (var i = n > 1 ? void 0 : n ? $o(t, e) : t, r = o.length - 1, s; r >= 0; r--)
2948
- (s = o[r]) && (i = s(i) || i);
2949
- return i;
2937
+ ], C.prototype, "width", 2);
2938
+ z([
2939
+ Z()
2940
+ ], C.prototype, "open", 2);
2941
+ z([
2942
+ Z()
2943
+ ], C.prototype, "activeIndex", 2);
2944
+ z([
2945
+ Z()
2946
+ ], C.prototype, "menuWidth", 2);
2947
+ C = z([
2948
+ x("o-dropdown")
2949
+ ], C);
2950
+ var Eo = Object.getOwnPropertyDescriptor, Lo = (o, t, e, i) => {
2951
+ for (var r = i > 1 ? void 0 : i ? Eo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
2952
+ (s = o[n]) && (r = s(r) || r);
2953
+ return r;
2950
2954
  };
2951
- let _t = class extends f {
2955
+ let At = class extends u {
2952
2956
  render() {
2953
2957
  return l` <span class="dots"></span> `;
2954
2958
  }
2955
2959
  };
2956
- _t.styles = m`
2960
+ At.styles = g`
2957
2961
  :host {
2958
2962
  display: flex;
2959
2963
  align-items: center;
@@ -3005,15 +3009,15 @@ _t.styles = m`
3005
3009
  }
3006
3010
  }
3007
3011
  `;
3008
- _t = _o([
3009
- w("o-dots")
3010
- ], _t);
3011
- var Co = Object.defineProperty, ko = Object.getOwnPropertyDescriptor, L = (o, t, e, n) => {
3012
- for (var i = n > 1 ? void 0 : n ? ko(t, e) : t, r = o.length - 1, s; r >= 0; r--)
3013
- (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
3014
- return n && i && Co(t, e, i), i;
3012
+ At = Lo([
3013
+ x("o-dots")
3014
+ ], At);
3015
+ var Io = Object.defineProperty, Po = Object.getOwnPropertyDescriptor, I = (o, t, e, i) => {
3016
+ for (var r = i > 1 ? void 0 : i ? Po(t, e) : t, n = o.length - 1, s; n >= 0; n--)
3017
+ (s = o[n]) && (r = (i ? s(t, e, r) : s(r)) || r);
3018
+ return i && r && Io(t, e, r), r;
3015
3019
  };
3016
- let C = class extends f {
3020
+ let k = class extends u {
3017
3021
  constructor() {
3018
3022
  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) => {
3019
3023
  this.contains(o.target) || (this.open = !1, this.activeIndex = -1);
@@ -3079,7 +3083,7 @@ let C = class extends f {
3079
3083
  this.options.length > 0 && (this.options.some((t) => t.value === this.value) || (this.value = this.options[0].value));
3080
3084
  }
3081
3085
  render() {
3082
- const o = X.checkstroke.replace(
3086
+ const o = q.checkstroke.replace(
3083
3087
  "<svg",
3084
3088
  '<svg aria-hidden="true" focusable="false" part="svg"'
3085
3089
  ), t = this.options.find((e) => e.value === this.value);
@@ -3122,14 +3126,14 @@ let C = class extends f {
3122
3126
  style=${`width: ${this.width};`}
3123
3127
  >
3124
3128
  ${this.options.map(
3125
- (e, n) => l`
3129
+ (e, i) => l`
3126
3130
  <li
3127
- id="option-${n}"
3131
+ id="option-${i}"
3128
3132
  role="option"
3129
3133
  aria-selected="${e.value === this.value}"
3130
3134
  aria-disabled="${e.disabled ? "true" : "false"}"
3131
- tabindex="${n === this.activeIndex ? "0" : "-1"}"
3132
- class="${n === this.activeIndex ? "active" : ""} ${e.disabled ? "disabled" : ""}"
3135
+ tabindex="${i === this.activeIndex ? "0" : "-1"}"
3136
+ class="${i === this.activeIndex ? "active" : ""} ${e.disabled ? "disabled" : ""}"
3133
3137
  @click=${() => this.selectOption(e)}
3134
3138
  >
3135
3139
  <a href="${$(e.url)}">
@@ -3138,7 +3142,7 @@ let C = class extends f {
3138
3142
  <div class="right">
3139
3143
  <span class="additional-text">${$(e.additionaltext)}</span>
3140
3144
  ${e.value === this.value && !e.additionaltext ? l`
3141
- <span class="check">${M(o)}</span>` : null}
3145
+ <span class="check">${S(o)}</span>` : null}
3142
3146
  </div>
3143
3147
  </a>
3144
3148
  </li>
@@ -3150,7 +3154,7 @@ let C = class extends f {
3150
3154
  `;
3151
3155
  }
3152
3156
  };
3153
- C.styles = m`
3157
+ k.styles = g`
3154
3158
  :host {
3155
3159
  display: inline-block;
3156
3160
  position: relative;
@@ -3326,73 +3330,73 @@ C.styles = m`
3326
3330
  display: none;
3327
3331
  }
3328
3332
  `;
3329
- L([
3333
+ I([
3330
3334
  a({ type: Array, reflect: !0 })
3331
- ], C.prototype, "options", 2);
3332
- L([
3335
+ ], k.prototype, "options", 2);
3336
+ I([
3333
3337
  a({ type: String, reflect: !0 })
3334
- ], C.prototype, "value", 2);
3335
- L([
3338
+ ], k.prototype, "value", 2);
3339
+ I([
3336
3340
  a({ type: String, reflect: !0 })
3337
- ], C.prototype, "name", 2);
3338
- L([
3341
+ ], k.prototype, "name", 2);
3342
+ I([
3339
3343
  a({ type: String, reflect: !0 })
3340
- ], C.prototype, "additionaltext", 2);
3341
- L([
3344
+ ], k.prototype, "additionaltext", 2);
3345
+ I([
3342
3346
  a({ type: Boolean, reflect: !0 })
3343
- ], C.prototype, "disabled", 2);
3344
- L([
3347
+ ], k.prototype, "disabled", 2);
3348
+ I([
3345
3349
  a({ type: String, reflect: !0 })
3346
- ], C.prototype, "width", 2);
3347
- L([
3348
- V()
3349
- ], C.prototype, "open", 2);
3350
- L([
3351
- V()
3352
- ], C.prototype, "activeIndex", 2);
3353
- L([
3354
- V()
3355
- ], C.prototype, "menuWidth", 2);
3356
- C = L([
3357
- w("o-dropdown-variant")
3358
- ], C);
3350
+ ], k.prototype, "width", 2);
3351
+ I([
3352
+ Z()
3353
+ ], k.prototype, "open", 2);
3354
+ I([
3355
+ Z()
3356
+ ], k.prototype, "activeIndex", 2);
3357
+ I([
3358
+ Z()
3359
+ ], k.prototype, "menuWidth", 2);
3360
+ k = I([
3361
+ x("o-dropdown-variant")
3362
+ ], k);
3359
3363
  /**
3360
3364
  * @license
3361
3365
  * Copyright 2018 Google LLC
3362
3366
  * SPDX-License-Identifier: BSD-3-Clause
3363
3367
  */
3364
- const ee = "important", Ao = " !" + ee, So = It(class extends Pt {
3368
+ const ne = "important", Oo = " !" + ne, Bo = Dt(class extends Ht {
3365
3369
  constructor(o) {
3366
3370
  var t;
3367
- if (super(o), o.type !== Lt.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.");
3371
+ if (super(o), o.type !== zt.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.");
3368
3372
  }
3369
3373
  render(o) {
3370
3374
  return Object.keys(o).reduce((t, e) => {
3371
- const n = o[e];
3372
- return n == null ? t : t + `${e = e.includes("-") ? e : e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g, "-$&").toLowerCase()}:${n};`;
3375
+ const i = o[e];
3376
+ return i == null ? t : t + `${e = e.includes("-") ? e : e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g, "-$&").toLowerCase()}:${i};`;
3373
3377
  }, "");
3374
3378
  }
3375
3379
  update(o, [t]) {
3376
3380
  const { style: e } = o.element;
3377
3381
  if (this.ft === void 0) return this.ft = new Set(Object.keys(t)), this.render(t);
3378
- for (const n of this.ft) t[n] == null && (this.ft.delete(n), n.includes("-") ? e.removeProperty(n) : e[n] = null);
3379
- for (const n in t) {
3380
- const i = t[n];
3381
- if (i != null) {
3382
- this.ft.add(n);
3383
- const r = typeof i == "string" && i.endsWith(Ao);
3384
- n.includes("-") || r ? e.setProperty(n, r ? i.slice(0, -11) : i, r ? ee : "") : e[n] = i;
3382
+ for (const i of this.ft) t[i] == null && (this.ft.delete(i), i.includes("-") ? e.removeProperty(i) : e[i] = null);
3383
+ for (const i in t) {
3384
+ const r = t[i];
3385
+ if (r != null) {
3386
+ this.ft.add(i);
3387
+ const n = typeof r == "string" && r.endsWith(Oo);
3388
+ i.includes("-") || n ? e.setProperty(i, n ? r.slice(0, -11) : r, n ? ne : "") : e[i] = r;
3385
3389
  }
3386
3390
  }
3387
- return H;
3391
+ return T;
3388
3392
  }
3389
3393
  });
3390
- var Eo = Object.defineProperty, Lo = Object.getOwnPropertyDescriptor, zt = (o, t, e, n) => {
3391
- for (var i = n > 1 ? void 0 : n ? Lo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
3392
- (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
3393
- return n && i && Eo(t, e, i), i;
3394
+ var zo = Object.defineProperty, Do = Object.getOwnPropertyDescriptor, jt = (o, t, e, i) => {
3395
+ for (var r = i > 1 ? void 0 : i ? Do(t, e) : t, n = o.length - 1, s; n >= 0; n--)
3396
+ (s = o[n]) && (r = (i ? s(t, e, r) : s(r)) || r);
3397
+ return i && r && zo(t, e, r), r;
3394
3398
  };
3395
- let st = class extends f {
3399
+ let lt = class extends u {
3396
3400
  constructor() {
3397
3401
  super(...arguments), this.option = {}, this.imageSize = 64;
3398
3402
  }
@@ -3401,7 +3405,7 @@ let st = class extends f {
3401
3405
  width: `${this.imageSize}px`,
3402
3406
  height: `${this.imageSize}px`
3403
3407
  }, e = l`
3404
- ${this.option.imgurl ? l`<img src="${this.option.imgurl}" alt="${$(this.option.title)}" aria-hidden="true" style=${So(t)} />` : ""}
3408
+ ${this.option.imgurl ? l`<img src="${this.option.imgurl}" alt="${$(this.option.title)}" aria-hidden="true" style=${Bo(t)} />` : ""}
3405
3409
  <div class="m-reassurance-content">
3406
3410
  <h3 class="a-reassurance-text">${$(this.option.title)}</h3>
3407
3411
  <p class="a-reassurance-description">${$(this.option.description)}</p>
@@ -3410,7 +3414,7 @@ let st = class extends f {
3410
3414
  return o ? l`<a href="${$(this.option.url)}" class="reassurance-item clickable">${e}</a>` : l`<div class="reassurance-item">${e}</div>`;
3411
3415
  }
3412
3416
  };
3413
- st.styles = m`
3417
+ lt.styles = g`
3414
3418
  :host {
3415
3419
  display: inline-block;
3416
3420
  position: relative;
@@ -3492,22 +3496,22 @@ st.styles = m`
3492
3496
  }
3493
3497
  }
3494
3498
  `;
3495
- zt([
3499
+ jt([
3496
3500
  a({ type: Object, reflect: !0 })
3497
- ], st.prototype, "option", 2);
3498
- zt([
3501
+ ], lt.prototype, "option", 2);
3502
+ jt([
3499
3503
  a({ type: Number, reflect: !0 })
3500
- ], st.prototype, "imageSize", 2);
3501
- st = zt([
3502
- w("o-reassurance")
3503
- ], st);
3504
- var Io = Object.defineProperty, Po = Object.getOwnPropertyDescriptor, j = (o, t, e, n) => {
3505
- for (var i = n > 1 ? void 0 : n ? Po(t, e) : t, r = o.length - 1, s; r >= 0; r--)
3506
- (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
3507
- return n && i && Io(t, e, i), i;
3504
+ ], lt.prototype, "imageSize", 2);
3505
+ lt = jt([
3506
+ x("o-reassurance")
3507
+ ], lt);
3508
+ var Ho = Object.defineProperty, Mo = Object.getOwnPropertyDescriptor, U = (o, t, e, i) => {
3509
+ for (var r = i > 1 ? void 0 : i ? Mo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
3510
+ (s = o[n]) && (r = (i ? s(t, e, r) : s(r)) || r);
3511
+ return i && r && Ho(t, e, r), r;
3508
3512
  };
3509
- const Oo = Yt(f);
3510
- let S = class extends Oo {
3513
+ const To = Bt(u);
3514
+ let A = class extends To {
3511
3515
  constructor() {
3512
3516
  super(...arguments), this.link = "", this.name = "", this.value = "", this.text = "", this.size = "standard", this.selected = !1, this.fullwidth = !1;
3513
3517
  }
@@ -3528,7 +3532,7 @@ let S = class extends Oo {
3528
3532
  `;
3529
3533
  }
3530
3534
  };
3531
- S.styles = m`
3535
+ A.styles = g`
3532
3536
  :host {
3533
3537
  cursor: pointer;
3534
3538
  display: inline-flex;
@@ -3600,7 +3604,7 @@ S.styles = m`
3600
3604
  }
3601
3605
 
3602
3606
  &:focus-visible {
3603
- ${Qt};
3607
+ ${Pt};
3604
3608
  }
3605
3609
  }
3606
3610
 
@@ -3614,27 +3618,250 @@ S.styles = m`
3614
3618
  align-items: center;
3615
3619
  }
3616
3620
  `;
3617
- j([
3621
+ U([
3618
3622
  a({ type: String, reflect: !0 })
3619
- ], S.prototype, "link", 2);
3620
- j([
3623
+ ], A.prototype, "link", 2);
3624
+ U([
3621
3625
  a({ reflect: !0 })
3622
- ], S.prototype, "name", 2);
3623
- j([
3626
+ ], A.prototype, "name", 2);
3627
+ U([
3624
3628
  a({ reflect: !0 })
3625
- ], S.prototype, "value", 2);
3626
- j([
3629
+ ], A.prototype, "value", 2);
3630
+ U([
3627
3631
  a({ type: String })
3628
- ], S.prototype, "text", 2);
3629
- j([
3632
+ ], A.prototype, "text", 2);
3633
+ U([
3630
3634
  a({ type: String, reflect: !0 })
3631
- ], S.prototype, "size", 2);
3632
- j([
3635
+ ], A.prototype, "size", 2);
3636
+ U([
3633
3637
  a({ type: Boolean, reflect: !0 })
3634
- ], S.prototype, "selected", 2);
3635
- j([
3638
+ ], A.prototype, "selected", 2);
3639
+ U([
3640
+ a({ type: Boolean, reflect: !0 })
3641
+ ], A.prototype, "fullwidth", 2);
3642
+ A = U([
3643
+ x("o-chip")
3644
+ ], A);
3645
+ var jo = Object.defineProperty, Uo = Object.getOwnPropertyDescriptor, Ut = (o, t, e, i) => {
3646
+ for (var r = i > 1 ? void 0 : i ? Uo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
3647
+ (s = o[n]) && (r = (i ? s(t, e, r) : s(r)) || r);
3648
+ return i && r && jo(t, e, r), r;
3649
+ };
3650
+ let ct = class extends u {
3651
+ constructor() {
3652
+ super(), this.name = "", this.value = "", this.addEventListener("click", this.onChipSelected);
3653
+ }
3654
+ onChipSelected(o) {
3655
+ const t = o.target instanceof A ? o.target : null;
3656
+ 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) => {
3657
+ e !== t && (e.selected = !1);
3658
+ }));
3659
+ }
3660
+ render() {
3661
+ return l`
3662
+ <slot></slot>
3663
+ `;
3664
+ }
3665
+ };
3666
+ ct.styles = g`
3667
+ :host {
3668
+ display: flex;
3669
+ flex-direction: row;
3670
+ flex-wrap: wrap;
3671
+ gap: var(--spacing-s);
3672
+ }
3673
+ `;
3674
+ Ut([
3675
+ a({ reflect: !0 })
3676
+ ], ct.prototype, "name", 2);
3677
+ Ut([
3678
+ a({ reflect: !0 })
3679
+ ], ct.prototype, "value", 2);
3680
+ ct = Ut([
3681
+ x("o-chipset")
3682
+ ], ct);
3683
+ var No = Object.defineProperty, Fo = Object.getOwnPropertyDescriptor, K = (o, t, e, i) => {
3684
+ for (var r = i > 1 ? void 0 : i ? Fo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
3685
+ (s = o[n]) && (r = (i ? s(t, e, r) : s(r)) || r);
3686
+ return i && r && No(t, e, r), r;
3687
+ };
3688
+ const Ro = Bt(u);
3689
+ let B = class extends Ro {
3690
+ constructor() {
3691
+ super(...arguments), this.name = "", this.value = "", this.text = "", this.selected = !1, this.disabled = !1, this.fullwidth = !1, this.crossIconName = "cross", this.strikethroughImgName = "strikeDiagonal";
3692
+ }
3693
+ handleClick() {
3694
+ this.selected = !this.selected;
3695
+ }
3696
+ crossIcon() {
3697
+ const o = q[this.crossIconName].replace(
3698
+ "<svg",
3699
+ '<svg aria-hidden="true" focusable="false" part="svg"'
3700
+ ).replace(/stroke=[#"'a-z1-9]*/gi, "");
3701
+ return l`<span class="cross-icon">${S(o)}</span>`;
3702
+ }
3703
+ strikeThroughImg() {
3704
+ const o = Je[this.strikethroughImgName].replace(
3705
+ "<svg",
3706
+ '<svg aria-hidden="true" focusable="false" part="strikethrough"'
3707
+ ).replace(/stroke=[#"'a-z1-9]*/gi, "");
3708
+ return S(o);
3709
+ }
3710
+ render() {
3711
+ const o = this.text;
3712
+ return l`
3713
+ <button type="button" class="button" ?disabled=${this.disabled} @click=${this.handleClick}
3714
+ aria-label=${this.ariaLabel} aria-pressed=${this.selected}>
3715
+ ${o ? l`
3716
+ ${this.text ? l`<span class="text">${this.text}</span>` : d}
3717
+ ` : l`
3718
+ <span class="text"><slot></slot></span>`}
3719
+ ${this.selected ? this.crossIcon() : d}
3720
+ </button>
3721
+ ${this.disabled ? this.strikeThroughImg() : d}
3722
+ `;
3723
+ }
3724
+ };
3725
+ B.styles = g`
3726
+ :host {
3727
+ cursor: pointer;
3728
+ display: inline-flex;
3729
+ position: relative;
3730
+ --button-bg: var(--color-container-action-secondary-default);
3731
+ --button-bg-hover: var(--color-container-action-secondary-hover);
3732
+ --button-bg-pressed: var(--color-container-action-secondary-pressed);
3733
+ --button-text: var(--color-content-action-secondary);
3734
+ --button-text-hover: var(--color-content-action-secondary);
3735
+ --button-border: var(--color-border-secondary);
3736
+ --button-border-width: var(--border-m);
3737
+ --button-padding: var(--spacing-m) var(--spacing-xl);
3738
+ --button-strikethrough-stroke: var(--color-border-secondary);
3739
+ }
3740
+
3741
+ :host([fullwidth]) {
3742
+ width: 100%;
3743
+ }
3744
+
3745
+ :host([selected]) {
3746
+ --button-bg: var(--color-container-filter-default);
3747
+ --button-bg-hover: var(--color-container-filter-hover);
3748
+ --button-bg-pressed: var(--color-container-filter-pressed);
3749
+ --button-text: var(--color-content-action-primary);
3750
+ --button-text-hover: var(--color-content-action-primary);
3751
+ --button-border: var(--color-container-filter-default);
3752
+ --button-strikethrough-stroke: var(--color-border-white);
3753
+ }
3754
+
3755
+ :host([disabled]),
3756
+ :host([aria-disabled="true"]),
3757
+ :host([aria-disabled="true"]:hover) {
3758
+ --button-border: var(--color-border-secondary);
3759
+ opacity: 0.64;
3760
+ }
3761
+
3762
+ .button {
3763
+ display: inline-flex;
3764
+ align-items: center;
3765
+ justify-content: center;
3766
+ width: 100%;
3767
+ gap: var(--spacing-s);
3768
+ height: 100%;
3769
+ background-color: var(--button-bg);
3770
+ color: var(--button-text);
3771
+ border: var(--button-border-width, var(--border-m)) solid var(--button-border);
3772
+ border-radius: var(--radius-m);
3773
+ font-family: var(--font-family-loccitane-sans);
3774
+ font-size: var(--font-size-150);
3775
+ font-weight: var(--font-weight-400);
3776
+ line-height: var(--line-height-200);
3777
+ min-width: 64px;
3778
+ padding: var(--button-padding);
3779
+ text-decoration: none;
3780
+ cursor: inherit;
3781
+ box-sizing: border-box;
3782
+
3783
+ span {
3784
+ font-family: var(--font-family-loccitane-sans);
3785
+ font-size: var(--font-size-150);
3786
+ font-weight: var(--font-weight-400);
3787
+ line-height: var(--line-height-200);
3788
+ }
3789
+ }
3790
+
3791
+ .button:hover:not([disabled]) {
3792
+ background-color: var(--button-bg-hover);
3793
+ color: var(--button-text-hover);
3794
+ }
3795
+
3796
+ .button:active:not([disabled]) {
3797
+ background-color: var(--button-bg-pressed);
3798
+ }
3799
+
3800
+ .button:focus-visible {
3801
+ ${Pt};
3802
+ }
3803
+
3804
+ span.text + span.text::before {
3805
+ content: "•";
3806
+ margin-right: 8px;
3807
+ }
3808
+
3809
+ .cross-icon {
3810
+ display: inline-flex;
3811
+ align-items: center;
3812
+
3813
+ svg {
3814
+ width: 8px;
3815
+ height: 8px;
3816
+ stroke: var(--color-content-action-primary);
3817
+ }
3818
+ }
3819
+
3820
+ .button span {
3821
+ display: inline-flex;
3822
+ align-items: center;
3823
+ }
3824
+
3825
+ .button slot {
3826
+ margin-top: 1px;
3827
+ display: inline-flex;
3828
+ align-items: center;
3829
+ }
3830
+
3831
+ [part="strikethrough"] {
3832
+ position: absolute;
3833
+ width: 100%;
3834
+ height: 100%;
3835
+ top: 0;
3836
+ bottom: 0;
3837
+ left: 0;
3838
+ right: 0;
3839
+
3840
+ line {
3841
+ stroke: var(--button-strikethrough-stroke);
3842
+ stroke-width: 4px;
3843
+ stroke-linecap: round;
3844
+ }
3845
+ }
3846
+ `;
3847
+ K([
3848
+ a({ reflect: !0 })
3849
+ ], B.prototype, "name", 2);
3850
+ K([
3851
+ a({ reflect: !0 })
3852
+ ], B.prototype, "value", 2);
3853
+ K([
3854
+ a({ type: String })
3855
+ ], B.prototype, "text", 2);
3856
+ K([
3857
+ a({ type: Boolean, reflect: !0 })
3858
+ ], B.prototype, "selected", 2);
3859
+ K([
3860
+ a({ type: Boolean, reflect: !0 })
3861
+ ], B.prototype, "disabled", 2);
3862
+ K([
3636
3863
  a({ type: Boolean, reflect: !0 })
3637
- ], S.prototype, "fullwidth", 2);
3638
- S = j([
3639
- w("o-chip")
3640
- ], S);
3864
+ ], B.prototype, "fullwidth", 2);
3865
+ B = K([
3866
+ x("o-filter-chip")
3867
+ ], B);