@viur/shop-components 0.0.1-dev.48 → 0.0.1-dev.49

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.
@@ -1,22 +1,10 @@
1
- import { reactive as Ft, onBeforeMount as Wt, openBlock as Kt, createElementBlock as Jt, Fragment as Yt, createElementVNode as p, toDisplayString as lt, withModifiers as Zt, createTextVNode as Tt, createVNode as Gt, pushScopeId as Qt, popScopeId as Xt } from "vue";
2
- import { Request as ct } from "@viur/vue-utils";
3
- import { useRoute as te } from "vue-router";
4
- import { I as ee } from "./ItemCard-Cyjlw1FW.mjs";
5
- import { w as se, a as ie, g as ht, _ as oe } from "./main-BAXph9jY.mjs";
6
- var Lt = Object.defineProperty, re = Object.getOwnPropertyDescriptor, dt = Object.getOwnPropertySymbols, ne = Object.prototype.hasOwnProperty, ae = Object.prototype.propertyIsEnumerable, ut = (s, t, e) => t in s ? Lt(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e, It = (s, t) => {
7
- for (var e in t || (t = {}))
8
- ne.call(t, e) && ut(s, e, t[e]);
9
- if (dt)
10
- for (var e of dt(t))
11
- ae.call(t, e) && ut(s, e, t[e]);
12
- return s;
13
- }, c = (s, t, e, i) => {
14
- for (var o = i > 1 ? void 0 : i ? re(t, e) : t, r = s.length - 1, n; r >= 0; r--)
15
- (n = s[r]) && (o = (i ? n(t, e, o) : n(o)) || o);
16
- return i && o && Lt(t, e, o), o;
17
- };
1
+ import { reactive as Yt, onBeforeMount as Gt, openBlock as Qt, createElementBlock as Xt, Fragment as te, createElementVNode as p, toDisplayString as dt, withModifiers as ee, createTextVNode as It, createVNode as se, pushScopeId as ie, popScopeId as re } from "vue";
2
+ import { Request as ut } from "@viur/vue-utils";
3
+ import { useRoute as oe } from "vue-router";
4
+ import { I as ne } from "./ItemCard-CJb5ufYO.mjs";
5
+ import { _ as ae } from "./main-DAewB9nF.mjs";
18
6
  function pt(s, t, e) {
19
- const i = (o) => Object.is(o, -0) ? 0 : o;
7
+ const i = (r) => Object.is(r, -0) ? 0 : r;
20
8
  return s < t ? i(t) : s > e ? i(e) : i(s);
21
9
  }
22
10
  var le = class {
@@ -47,16 +35,16 @@ var le = class {
47
35
  * Copyright 2019 Google LLC
48
36
  * SPDX-License-Identifier: BSD-3-Clause
49
37
  */
50
- const W = globalThis, ot = W.ShadowRoot && (W.ShadyCSS === void 0 || W.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, rt = Symbol(), gt = /* @__PURE__ */ new WeakMap();
38
+ const W = globalThis, at = W.ShadowRoot && (W.ShadyCSS === void 0 || W.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, lt = Symbol(), gt = /* @__PURE__ */ new WeakMap();
51
39
  let Ut = class {
52
40
  constructor(t, e, i) {
53
- if (this._$cssResult$ = !0, i !== rt) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
41
+ if (this._$cssResult$ = !0, i !== lt) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
54
42
  this.cssText = t, this.t = e;
55
43
  }
56
44
  get styleSheet() {
57
45
  let t = this.o;
58
46
  const e = this.t;
59
- if (ot && t === void 0) {
47
+ if (at && t === void 0) {
60
48
  const i = e !== void 0 && e.length === 1;
61
49
  i && (t = gt.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && gt.set(e, t));
62
50
  }
@@ -66,20 +54,20 @@ let Ut = class {
66
54
  return this.cssText;
67
55
  }
68
56
  };
69
- const ce = (s) => new Ut(typeof s == "string" ? s : s + "", void 0, rt), nt = (s, ...t) => {
70
- const e = s.length === 1 ? s[0] : t.reduce((i, o, r) => i + ((n) => {
57
+ const ce = (s) => new Ut(typeof s == "string" ? s : s + "", void 0, lt), ct = (s, ...t) => {
58
+ const e = s.length === 1 ? s[0] : t.reduce((i, r, o) => i + ((n) => {
71
59
  if (n._$cssResult$ === !0) return n.cssText;
72
60
  if (typeof n == "number") return n;
73
61
  throw Error("Value passed to 'css' function must be a 'css' function result: " + n + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
74
- })(o) + s[r + 1], s[0]);
75
- return new Ut(e, s, rt);
62
+ })(r) + s[o + 1], s[0]);
63
+ return new Ut(e, s, lt);
76
64
  }, he = (s, t) => {
77
- if (ot) s.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
65
+ if (at) s.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
78
66
  else for (const e of t) {
79
- const i = document.createElement("style"), o = W.litNonce;
80
- o !== void 0 && i.setAttribute("nonce", o), i.textContent = e.cssText, s.appendChild(i);
67
+ const i = document.createElement("style"), r = W.litNonce;
68
+ r !== void 0 && i.setAttribute("nonce", r), i.textContent = e.cssText, s.appendChild(i);
81
69
  }
82
- }, vt = ot ? (s) => s : (s) => s instanceof CSSStyleSheet ? ((t) => {
70
+ }, vt = at ? (s) => s : (s) => s instanceof CSSStyleSheet ? ((t) => {
83
71
  let e = "";
84
72
  for (const i of t.cssRules) e += i.cssText;
85
73
  return ce(e);
@@ -89,10 +77,10 @@ const ce = (s) => new Ut(typeof s == "string" ? s : s + "", void 0, rt), nt = (s
89
77
  * Copyright 2017 Google LLC
90
78
  * SPDX-License-Identifier: BSD-3-Clause
91
79
  */
92
- const { is: de, defineProperty: ue, getOwnPropertyDescriptor: pe, getOwnPropertyNames: ge, getOwnPropertySymbols: ve, getPrototypeOf: me } = Object, w = globalThis, mt = w.trustedTypes, fe = mt ? mt.emptyScript : "", G = w.reactiveElementPolyfillSupport, R = (s, t) => s, K = { toAttribute(s, t) {
80
+ const { is: de, defineProperty: ue, getOwnPropertyDescriptor: pe, getOwnPropertyNames: ge, getOwnPropertySymbols: ve, getPrototypeOf: fe } = Object, $ = globalThis, ft = $.trustedTypes, me = ft ? ft.emptyScript : "", G = $.reactiveElementPolyfillSupport, O = (s, t) => s, Z = { toAttribute(s, t) {
93
81
  switch (t) {
94
82
  case Boolean:
95
- s = s ? fe : null;
83
+ s = s ? me : null;
96
84
  break;
97
85
  case Object:
98
86
  case Array:
@@ -117,57 +105,57 @@ const { is: de, defineProperty: ue, getOwnPropertyDescriptor: pe, getOwnProperty
117
105
  }
118
106
  }
119
107
  return e;
120
- } }, at = (s, t) => !de(s, t), ft = { attribute: !0, type: String, converter: K, reflect: !1, hasChanged: at };
121
- Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), w.litPropertyMetadata ?? (w.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
122
- class T extends HTMLElement {
108
+ } }, ht = (s, t) => !de(s, t), mt = { attribute: !0, type: String, converter: Z, reflect: !1, hasChanged: ht };
109
+ Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), $.litPropertyMetadata ?? ($.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
110
+ class L extends HTMLElement {
123
111
  static addInitializer(t) {
124
112
  this._$Ei(), (this.l ?? (this.l = [])).push(t);
125
113
  }
126
114
  static get observedAttributes() {
127
115
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
128
116
  }
129
- static createProperty(t, e = ft) {
117
+ static createProperty(t, e = mt) {
130
118
  if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
131
- const i = Symbol(), o = this.getPropertyDescriptor(t, i, e);
132
- o !== void 0 && ue(this.prototype, t, o);
119
+ const i = Symbol(), r = this.getPropertyDescriptor(t, i, e);
120
+ r !== void 0 && ue(this.prototype, t, r);
133
121
  }
134
122
  }
135
123
  static getPropertyDescriptor(t, e, i) {
136
- const { get: o, set: r } = pe(this.prototype, t) ?? { get() {
124
+ const { get: r, set: o } = pe(this.prototype, t) ?? { get() {
137
125
  return this[e];
138
126
  }, set(n) {
139
127
  this[e] = n;
140
128
  } };
141
129
  return { get() {
142
- return o == null ? void 0 : o.call(this);
130
+ return r == null ? void 0 : r.call(this);
143
131
  }, set(n) {
144
- const l = o == null ? void 0 : o.call(this);
145
- r.call(this, n), this.requestUpdate(t, l, i);
132
+ const l = r == null ? void 0 : r.call(this);
133
+ o.call(this, n), this.requestUpdate(t, l, i);
146
134
  }, configurable: !0, enumerable: !0 };
147
135
  }
148
136
  static getPropertyOptions(t) {
149
- return this.elementProperties.get(t) ?? ft;
137
+ return this.elementProperties.get(t) ?? mt;
150
138
  }
151
139
  static _$Ei() {
152
- if (this.hasOwnProperty(R("elementProperties"))) return;
153
- const t = me(this);
140
+ if (this.hasOwnProperty(O("elementProperties"))) return;
141
+ const t = fe(this);
154
142
  t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
155
143
  }
156
144
  static finalize() {
157
- if (this.hasOwnProperty(R("finalized"))) return;
158
- if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(R("properties"))) {
145
+ if (this.hasOwnProperty(O("finalized"))) return;
146
+ if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(O("properties"))) {
159
147
  const e = this.properties, i = [...ge(e), ...ve(e)];
160
- for (const o of i) this.createProperty(o, e[o]);
148
+ for (const r of i) this.createProperty(r, e[r]);
161
149
  }
162
150
  const t = this[Symbol.metadata];
163
151
  if (t !== null) {
164
152
  const e = litPropertyMetadata.get(t);
165
- if (e !== void 0) for (const [i, o] of e) this.elementProperties.set(i, o);
153
+ if (e !== void 0) for (const [i, r] of e) this.elementProperties.set(i, r);
166
154
  }
167
155
  this._$Eh = /* @__PURE__ */ new Map();
168
156
  for (const [e, i] of this.elementProperties) {
169
- const o = this._$Eu(e, i);
170
- o !== void 0 && this._$Eh.set(o, e);
157
+ const r = this._$Eu(e, i);
158
+ r !== void 0 && this._$Eh.set(r, e);
171
159
  }
172
160
  this.elementStyles = this.finalizeStyles(this.styles);
173
161
  }
@@ -175,7 +163,7 @@ class T extends HTMLElement {
175
163
  const e = [];
176
164
  if (Array.isArray(t)) {
177
165
  const i = new Set(t.flat(1 / 0).reverse());
178
- for (const o of i) e.unshift(vt(o));
166
+ for (const r of i) e.unshift(vt(r));
179
167
  } else t !== void 0 && e.push(vt(t));
180
168
  return e;
181
169
  }
@@ -227,24 +215,24 @@ class T extends HTMLElement {
227
215
  this._$AK(t, i);
228
216
  }
229
217
  _$EC(t, e) {
230
- var r;
231
- const i = this.constructor.elementProperties.get(t), o = this.constructor._$Eu(t, i);
232
- if (o !== void 0 && i.reflect === !0) {
233
- const n = (((r = i.converter) == null ? void 0 : r.toAttribute) !== void 0 ? i.converter : K).toAttribute(e, i.type);
234
- this._$Em = t, n == null ? this.removeAttribute(o) : this.setAttribute(o, n), this._$Em = null;
218
+ var o;
219
+ const i = this.constructor.elementProperties.get(t), r = this.constructor._$Eu(t, i);
220
+ if (r !== void 0 && i.reflect === !0) {
221
+ const n = (((o = i.converter) == null ? void 0 : o.toAttribute) !== void 0 ? i.converter : Z).toAttribute(e, i.type);
222
+ this._$Em = t, n == null ? this.removeAttribute(r) : this.setAttribute(r, n), this._$Em = null;
235
223
  }
236
224
  }
237
225
  _$AK(t, e) {
238
- var r;
239
- const i = this.constructor, o = i._$Eh.get(t);
240
- if (o !== void 0 && this._$Em !== o) {
241
- const n = i.getPropertyOptions(o), l = typeof n.converter == "function" ? { fromAttribute: n.converter } : ((r = n.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? n.converter : K;
242
- this._$Em = o, this[o] = l.fromAttribute(e, n.type), this._$Em = null;
226
+ var o;
227
+ const i = this.constructor, r = i._$Eh.get(t);
228
+ if (r !== void 0 && this._$Em !== r) {
229
+ const n = i.getPropertyOptions(r), l = typeof n.converter == "function" ? { fromAttribute: n.converter } : ((o = n.converter) == null ? void 0 : o.fromAttribute) !== void 0 ? n.converter : Z;
230
+ this._$Em = r, this[r] = l.fromAttribute(e, n.type), this._$Em = null;
243
231
  }
244
232
  }
245
233
  requestUpdate(t, e, i) {
246
234
  if (t !== void 0) {
247
- if (i ?? (i = this.constructor.getPropertyOptions(t)), !(i.hasChanged ?? at)(this[t], e)) return;
235
+ if (i ?? (i = this.constructor.getPropertyOptions(t)), !(i.hasChanged ?? ht)(this[t], e)) return;
248
236
  this.P(t, e, i);
249
237
  }
250
238
  this.isUpdatePending === !1 && (this._$ES = this._$ET());
@@ -270,21 +258,21 @@ class T extends HTMLElement {
270
258
  if (!this.isUpdatePending) return;
271
259
  if (!this.hasUpdated) {
272
260
  if (this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this._$Ep) {
273
- for (const [r, n] of this._$Ep) this[r] = n;
261
+ for (const [o, n] of this._$Ep) this[o] = n;
274
262
  this._$Ep = void 0;
275
263
  }
276
- const o = this.constructor.elementProperties;
277
- if (o.size > 0) for (const [r, n] of o) n.wrapped !== !0 || this._$AL.has(r) || this[r] === void 0 || this.P(r, this[r], n);
264
+ const r = this.constructor.elementProperties;
265
+ if (r.size > 0) for (const [o, n] of r) n.wrapped !== !0 || this._$AL.has(o) || this[o] === void 0 || this.P(o, this[o], n);
278
266
  }
279
267
  let t = !1;
280
268
  const e = this._$AL;
281
269
  try {
282
- t = this.shouldUpdate(e), t ? (this.willUpdate(e), (i = this._$EO) == null || i.forEach((o) => {
283
- var r;
284
- return (r = o.hostUpdate) == null ? void 0 : r.call(o);
270
+ t = this.shouldUpdate(e), t ? (this.willUpdate(e), (i = this._$EO) == null || i.forEach((r) => {
271
+ var o;
272
+ return (o = r.hostUpdate) == null ? void 0 : o.call(r);
285
273
  }), this.update(e)) : this._$EU();
286
- } catch (o) {
287
- throw t = !1, this._$EU(), o;
274
+ } catch (r) {
275
+ throw t = !1, this._$EU(), r;
288
276
  }
289
277
  t && this._$AE(e);
290
278
  }
@@ -293,8 +281,8 @@ class T extends HTMLElement {
293
281
  _$AE(t) {
294
282
  var e;
295
283
  (e = this._$EO) == null || e.forEach((i) => {
296
- var o;
297
- return (o = i.hostUpdated) == null ? void 0 : o.call(i);
284
+ var r;
285
+ return (r = i.hostUpdated) == null ? void 0 : r.call(i);
298
286
  }), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
299
287
  }
300
288
  _$EU() {
@@ -317,76 +305,76 @@ class T extends HTMLElement {
317
305
  firstUpdated(t) {
318
306
  }
319
307
  }
320
- T.elementStyles = [], T.shadowRootOptions = { mode: "open" }, T[R("elementProperties")] = /* @__PURE__ */ new Map(), T[R("finalized")] = /* @__PURE__ */ new Map(), G == null || G({ ReactiveElement: T }), (w.reactiveElementVersions ?? (w.reactiveElementVersions = [])).push("2.0.4");
308
+ L.elementStyles = [], L.shadowRootOptions = { mode: "open" }, L[O("elementProperties")] = /* @__PURE__ */ new Map(), L[O("finalized")] = /* @__PURE__ */ new Map(), G == null || G({ ReactiveElement: L }), ($.reactiveElementVersions ?? ($.reactiveElementVersions = [])).push("2.0.4");
321
309
  /**
322
310
  * @license
323
311
  * Copyright 2017 Google LLC
324
312
  * SPDX-License-Identifier: BSD-3-Clause
325
313
  */
326
- const N = globalThis, J = N.trustedTypes, _t = J ? J.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, Mt = "$lit$", $ = `lit$${Math.random().toFixed(9).slice(2)}$`, Ot = "?" + $, _e = `<${Ot}>`, C = document, D = () => C.createComment(""), H = (s) => s === null || typeof s != "object" && typeof s != "function", kt = Array.isArray, ye = (s) => kt(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", Q = `[
327
- \f\r]`, O = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, yt = /-->/g, bt = />/g, S = RegExp(`>|${Q}(?:([^\\s"'>=/]+)(${Q}*=${Q}*(?:[^
328
- \f\r"'\`<>=]|("|')|))|$)`, "g"), $t = /'/g, wt = /"/g, Rt = /^(?:script|style|textarea|title)$/i, be = (s) => (t, ...e) => ({ _$litType$: s, strings: t, values: e }), y = be(1), P = Symbol.for("lit-noChange"), v = Symbol.for("lit-nothing"), St = /* @__PURE__ */ new WeakMap(), E = C.createTreeWalker(C, 129);
329
- function Nt(s, t) {
314
+ const R = globalThis, K = R.trustedTypes, _t = K ? K.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, Ot = "$lit$", w = `lit$${Math.random().toFixed(9).slice(2)}$`, Rt = "?" + w, _e = `<${Rt}>`, E = document, B = () => E.createComment(""), H = (s) => s === null || typeof s != "object" && typeof s != "function", Nt = Array.isArray, be = (s) => Nt(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", Q = `[
315
+ \f\r]`, I = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, bt = /-->/g, yt = />/g, S = RegExp(`>|${Q}(?:([^\\s"'>=/]+)(${Q}*=${Q}*(?:[^
316
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), wt = /'/g, $t = /"/g, Bt = /^(?:script|style|textarea|title)$/i, ye = (s) => (t, ...e) => ({ _$litType$: s, strings: t, values: e }), b = ye(1), x = Symbol.for("lit-noChange"), v = Symbol.for("lit-nothing"), St = /* @__PURE__ */ new WeakMap(), C = E.createTreeWalker(E, 129);
317
+ function Ht(s, t) {
330
318
  if (!Array.isArray(s) || !s.hasOwnProperty("raw")) throw Error("invalid template strings array");
331
319
  return _t !== void 0 ? _t.createHTML(t) : t;
332
320
  }
333
- const $e = (s, t) => {
321
+ const we = (s, t) => {
334
322
  const e = s.length - 1, i = [];
335
- let o, r = t === 2 ? "<svg>" : "", n = O;
323
+ let r, o = t === 2 ? "<svg>" : "", n = I;
336
324
  for (let l = 0; l < e; l++) {
337
325
  const a = s[l];
338
326
  let d, g, h = -1, _ = 0;
339
- for (; _ < a.length && (n.lastIndex = _, g = n.exec(a), g !== null); ) _ = n.lastIndex, n === O ? g[1] === "!--" ? n = yt : g[1] !== void 0 ? n = bt : g[2] !== void 0 ? (Rt.test(g[2]) && (o = RegExp("</" + g[2], "g")), n = S) : g[3] !== void 0 && (n = S) : n === S ? g[0] === ">" ? (n = o ?? O, h = -1) : g[1] === void 0 ? h = -2 : (h = n.lastIndex - g[2].length, d = g[1], n = g[3] === void 0 ? S : g[3] === '"' ? wt : $t) : n === wt || n === $t ? n = S : n === yt || n === bt ? n = O : (n = S, o = void 0);
340
- const b = n === S && s[l + 1].startsWith("/>") ? " " : "";
341
- r += n === O ? a + _e : h >= 0 ? (i.push(d), a.slice(0, h) + Mt + a.slice(h) + $ + b) : a + $ + (h === -2 ? l : b);
327
+ for (; _ < a.length && (n.lastIndex = _, g = n.exec(a), g !== null); ) _ = n.lastIndex, n === I ? g[1] === "!--" ? n = bt : g[1] !== void 0 ? n = yt : g[2] !== void 0 ? (Bt.test(g[2]) && (r = RegExp("</" + g[2], "g")), n = S) : g[3] !== void 0 && (n = S) : n === S ? g[0] === ">" ? (n = r ?? I, h = -1) : g[1] === void 0 ? h = -2 : (h = n.lastIndex - g[2].length, d = g[1], n = g[3] === void 0 ? S : g[3] === '"' ? $t : wt) : n === $t || n === wt ? n = S : n === bt || n === yt ? n = I : (n = S, r = void 0);
328
+ const y = n === S && s[l + 1].startsWith("/>") ? " " : "";
329
+ o += n === I ? a + _e : h >= 0 ? (i.push(d), a.slice(0, h) + Ot + a.slice(h) + w + y) : a + w + (h === -2 ? l : y);
342
330
  }
343
- return [Nt(s, r + (s[e] || "<?>") + (t === 2 ? "</svg>" : "")), i];
331
+ return [Ht(s, o + (s[e] || "<?>") + (t === 2 ? "</svg>" : "")), i];
344
332
  };
345
- class j {
333
+ class D {
346
334
  constructor({ strings: t, _$litType$: e }, i) {
347
- let o;
335
+ let r;
348
336
  this.parts = [];
349
- let r = 0, n = 0;
350
- const l = t.length - 1, a = this.parts, [d, g] = $e(t, e);
351
- if (this.el = j.createElement(d, i), E.currentNode = this.el.content, e === 2) {
337
+ let o = 0, n = 0;
338
+ const l = t.length - 1, a = this.parts, [d, g] = we(t, e);
339
+ if (this.el = D.createElement(d, i), C.currentNode = this.el.content, e === 2) {
352
340
  const h = this.el.content.firstChild;
353
341
  h.replaceWith(...h.childNodes);
354
342
  }
355
- for (; (o = E.nextNode()) !== null && a.length < l; ) {
356
- if (o.nodeType === 1) {
357
- if (o.hasAttributes()) for (const h of o.getAttributeNames()) if (h.endsWith(Mt)) {
358
- const _ = g[n++], b = o.getAttribute(h).split($), q = /([.?@])?(.*)/.exec(_);
359
- a.push({ type: 1, index: r, name: q[2], strings: b, ctor: q[1] === "." ? Se : q[1] === "?" ? Ae : q[1] === "@" ? Ee : Y }), o.removeAttribute(h);
360
- } else h.startsWith($) && (a.push({ type: 6, index: r }), o.removeAttribute(h));
361
- if (Rt.test(o.tagName)) {
362
- const h = o.textContent.split($), _ = h.length - 1;
343
+ for (; (r = C.nextNode()) !== null && a.length < l; ) {
344
+ if (r.nodeType === 1) {
345
+ if (r.hasAttributes()) for (const h of r.getAttributeNames()) if (h.endsWith(Ot)) {
346
+ const _ = g[n++], y = r.getAttribute(h).split(w), V = /([.?@])?(.*)/.exec(_);
347
+ a.push({ type: 1, index: o, name: V[2], strings: y, ctor: V[1] === "." ? Se : V[1] === "?" ? Ae : V[1] === "@" ? Ce : J }), r.removeAttribute(h);
348
+ } else h.startsWith(w) && (a.push({ type: 6, index: o }), r.removeAttribute(h));
349
+ if (Bt.test(r.tagName)) {
350
+ const h = r.textContent.split(w), _ = h.length - 1;
363
351
  if (_ > 0) {
364
- o.textContent = J ? J.emptyScript : "";
365
- for (let b = 0; b < _; b++) o.append(h[b], D()), E.nextNode(), a.push({ type: 2, index: ++r });
366
- o.append(h[_], D());
352
+ r.textContent = K ? K.emptyScript : "";
353
+ for (let y = 0; y < _; y++) r.append(h[y], B()), C.nextNode(), a.push({ type: 2, index: ++o });
354
+ r.append(h[_], B());
367
355
  }
368
356
  }
369
- } else if (o.nodeType === 8) if (o.data === Ot) a.push({ type: 2, index: r });
357
+ } else if (r.nodeType === 8) if (r.data === Rt) a.push({ type: 2, index: o });
370
358
  else {
371
359
  let h = -1;
372
- for (; (h = o.data.indexOf($, h + 1)) !== -1; ) a.push({ type: 7, index: r }), h += $.length - 1;
360
+ for (; (h = r.data.indexOf(w, h + 1)) !== -1; ) a.push({ type: 7, index: o }), h += w.length - 1;
373
361
  }
374
- r++;
362
+ o++;
375
363
  }
376
364
  }
377
365
  static createElement(t, e) {
378
- const i = C.createElement("template");
366
+ const i = E.createElement("template");
379
367
  return i.innerHTML = t, i;
380
368
  }
381
369
  }
382
- function I(s, t, e = s, i) {
370
+ function k(s, t, e = s, i) {
383
371
  var n, l;
384
- if (t === P) return t;
385
- let o = i !== void 0 ? (n = e._$Co) == null ? void 0 : n[i] : e._$Cl;
386
- const r = H(t) ? void 0 : t._$litDirective$;
387
- return (o == null ? void 0 : o.constructor) !== r && ((l = o == null ? void 0 : o._$AO) == null || l.call(o, !1), r === void 0 ? o = void 0 : (o = new r(s), o._$AT(s, e, i)), i !== void 0 ? (e._$Co ?? (e._$Co = []))[i] = o : e._$Cl = o), o !== void 0 && (t = I(s, o._$AS(s, t.values), o, i)), t;
372
+ if (t === x) return t;
373
+ let r = i !== void 0 ? (n = e._$Co) == null ? void 0 : n[i] : e._$Cl;
374
+ const o = H(t) ? void 0 : t._$litDirective$;
375
+ return (r == null ? void 0 : r.constructor) !== o && ((l = r == null ? void 0 : r._$AO) == null || l.call(r, !1), o === void 0 ? r = void 0 : (r = new o(s), r._$AT(s, e, i)), i !== void 0 ? (e._$Co ?? (e._$Co = []))[i] = r : e._$Cl = r), r !== void 0 && (t = k(s, r._$AS(s, t.values), r, i)), t;
388
376
  }
389
- class we {
377
+ class $e {
390
378
  constructor(t, e) {
391
379
  this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
392
380
  }
@@ -397,30 +385,30 @@ class we {
397
385
  return this._$AM._$AU;
398
386
  }
399
387
  u(t) {
400
- const { el: { content: e }, parts: i } = this._$AD, o = ((t == null ? void 0 : t.creationScope) ?? C).importNode(e, !0);
401
- E.currentNode = o;
402
- let r = E.nextNode(), n = 0, l = 0, a = i[0];
388
+ const { el: { content: e }, parts: i } = this._$AD, r = ((t == null ? void 0 : t.creationScope) ?? E).importNode(e, !0);
389
+ C.currentNode = r;
390
+ let o = C.nextNode(), n = 0, l = 0, a = i[0];
403
391
  for (; a !== void 0; ) {
404
392
  if (n === a.index) {
405
393
  let d;
406
- a.type === 2 ? d = new B(r, r.nextSibling, this, t) : a.type === 1 ? d = new a.ctor(r, a.name, a.strings, this, t) : a.type === 6 && (d = new Ce(r, this, t)), this._$AV.push(d), a = i[++l];
394
+ a.type === 2 ? d = new j(o, o.nextSibling, this, t) : a.type === 1 ? d = new a.ctor(o, a.name, a.strings, this, t) : a.type === 6 && (d = new Ee(o, this, t)), this._$AV.push(d), a = i[++l];
407
395
  }
408
- n !== (a == null ? void 0 : a.index) && (r = E.nextNode(), n++);
396
+ n !== (a == null ? void 0 : a.index) && (o = C.nextNode(), n++);
409
397
  }
410
- return E.currentNode = C, o;
398
+ return C.currentNode = E, r;
411
399
  }
412
400
  p(t) {
413
401
  let e = 0;
414
402
  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++;
415
403
  }
416
404
  }
417
- class B {
405
+ class j {
418
406
  get _$AU() {
419
407
  var t;
420
408
  return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
421
409
  }
422
- constructor(t, e, i, o) {
423
- this.type = 2, this._$AH = v, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = i, this.options = o, this._$Cv = (o == null ? void 0 : o.isConnected) ?? !0;
410
+ constructor(t, e, i, r) {
411
+ this.type = 2, this._$AH = v, 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;
424
412
  }
425
413
  get parentNode() {
426
414
  let t = this._$AA.parentNode;
@@ -434,7 +422,7 @@ class B {
434
422
  return this._$AB;
435
423
  }
436
424
  _$AI(t, e = this) {
437
- t = I(this, t, e), H(t) ? t === v || t == null || t === "" ? (this._$AH !== v && this._$AR(), this._$AH = v) : t !== this._$AH && t !== P && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : ye(t) ? this.k(t) : this._(t);
425
+ t = k(this, t, e), H(t) ? t === v || t == null || t === "" ? (this._$AH !== v && this._$AR(), this._$AH = v) : t !== this._$AH && t !== x && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : be(t) ? this.k(t) : this._(t);
438
426
  }
439
427
  S(t) {
440
428
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -443,33 +431,33 @@ class B {
443
431
  this._$AH !== t && (this._$AR(), this._$AH = this.S(t));
444
432
  }
445
433
  _(t) {
446
- this._$AH !== v && H(this._$AH) ? this._$AA.nextSibling.data = t : this.T(C.createTextNode(t)), this._$AH = t;
434
+ this._$AH !== v && H(this._$AH) ? this._$AA.nextSibling.data = t : this.T(E.createTextNode(t)), this._$AH = t;
447
435
  }
448
436
  $(t) {
449
- var r;
450
- const { values: e, _$litType$: i } = t, o = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = j.createElement(Nt(i.h, i.h[0]), this.options)), i);
451
- if (((r = this._$AH) == null ? void 0 : r._$AD) === o) this._$AH.p(e);
437
+ var o;
438
+ const { values: e, _$litType$: i } = t, r = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = D.createElement(Ht(i.h, i.h[0]), this.options)), i);
439
+ if (((o = this._$AH) == null ? void 0 : o._$AD) === r) this._$AH.p(e);
452
440
  else {
453
- const n = new we(o, this), l = n.u(this.options);
441
+ const n = new $e(r, this), l = n.u(this.options);
454
442
  n.p(e), this.T(l), this._$AH = n;
455
443
  }
456
444
  }
457
445
  _$AC(t) {
458
446
  let e = St.get(t.strings);
459
- return e === void 0 && St.set(t.strings, e = new j(t)), e;
447
+ return e === void 0 && St.set(t.strings, e = new D(t)), e;
460
448
  }
461
449
  k(t) {
462
- kt(this._$AH) || (this._$AH = [], this._$AR());
450
+ Nt(this._$AH) || (this._$AH = [], this._$AR());
463
451
  const e = this._$AH;
464
- let i, o = 0;
465
- for (const r of t) o === e.length ? e.push(i = new B(this.S(D()), this.S(D()), this, this.options)) : i = e[o], i._$AI(r), o++;
466
- o < e.length && (this._$AR(i && i._$AB.nextSibling, o), e.length = o);
452
+ let i, r = 0;
453
+ for (const o of t) r === e.length ? e.push(i = new j(this.S(B()), this.S(B()), this, this.options)) : i = e[r], i._$AI(o), r++;
454
+ r < e.length && (this._$AR(i && i._$AB.nextSibling, r), e.length = r);
467
455
  }
468
456
  _$AR(t = this._$AA.nextSibling, e) {
469
457
  var i;
470
458
  for ((i = this._$AP) == null ? void 0 : i.call(this, !1, !0, e); t && t !== this._$AB; ) {
471
- const o = t.nextSibling;
472
- t.remove(), t = o;
459
+ const r = t.nextSibling;
460
+ t.remove(), t = r;
473
461
  }
474
462
  }
475
463
  setConnected(t) {
@@ -477,32 +465,32 @@ class B {
477
465
  this._$AM === void 0 && (this._$Cv = t, (e = this._$AP) == null || e.call(this, t));
478
466
  }
479
467
  }
480
- class Y {
468
+ class J {
481
469
  get tagName() {
482
470
  return this.element.tagName;
483
471
  }
484
472
  get _$AU() {
485
473
  return this._$AM._$AU;
486
474
  }
487
- constructor(t, e, i, o, r) {
488
- this.type = 1, this._$AH = v, this._$AN = void 0, this.element = t, this.name = e, this._$AM = o, this.options = r, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = v;
475
+ constructor(t, e, i, r, o) {
476
+ this.type = 1, this._$AH = v, this._$AN = void 0, this.element = t, this.name = e, this._$AM = r, this.options = o, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = v;
489
477
  }
490
- _$AI(t, e = this, i, o) {
491
- const r = this.strings;
478
+ _$AI(t, e = this, i, r) {
479
+ const o = this.strings;
492
480
  let n = !1;
493
- if (r === void 0) t = I(this, t, e, 0), n = !H(t) || t !== this._$AH && t !== P, n && (this._$AH = t);
481
+ if (o === void 0) t = k(this, t, e, 0), n = !H(t) || t !== this._$AH && t !== x, n && (this._$AH = t);
494
482
  else {
495
483
  const l = t;
496
484
  let a, d;
497
- for (t = r[0], a = 0; a < r.length - 1; a++) d = I(this, l[i + a], e, a), d === P && (d = this._$AH[a]), n || (n = !H(d) || d !== this._$AH[a]), d === v ? t = v : t !== v && (t += (d ?? "") + r[a + 1]), this._$AH[a] = d;
485
+ for (t = o[0], a = 0; a < o.length - 1; a++) d = k(this, l[i + a], e, a), d === x && (d = this._$AH[a]), n || (n = !H(d) || d !== this._$AH[a]), d === v ? t = v : t !== v && (t += (d ?? "") + o[a + 1]), this._$AH[a] = d;
498
486
  }
499
- n && !o && this.j(t);
487
+ n && !r && this.j(t);
500
488
  }
501
489
  j(t) {
502
490
  t === v ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
503
491
  }
504
492
  }
505
- class Se extends Y {
493
+ class Se extends J {
506
494
  constructor() {
507
495
  super(...arguments), this.type = 3;
508
496
  }
@@ -510,7 +498,7 @@ class Se extends Y {
510
498
  this.element[this.name] = t === v ? void 0 : t;
511
499
  }
512
500
  }
513
- class Ae extends Y {
501
+ class Ae extends J {
514
502
  constructor() {
515
503
  super(...arguments), this.type = 4;
516
504
  }
@@ -518,21 +506,21 @@ class Ae extends Y {
518
506
  this.element.toggleAttribute(this.name, !!t && t !== v);
519
507
  }
520
508
  }
521
- class Ee extends Y {
522
- constructor(t, e, i, o, r) {
523
- super(t, e, i, o, r), this.type = 5;
509
+ class Ce extends J {
510
+ constructor(t, e, i, r, o) {
511
+ super(t, e, i, r, o), this.type = 5;
524
512
  }
525
513
  _$AI(t, e = this) {
526
- if ((t = I(this, t, e, 0) ?? v) === P) return;
527
- const i = this._$AH, o = t === v && i !== v || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, r = t !== v && (i === v || o);
528
- o && this.element.removeEventListener(this.name, this, i), r && this.element.addEventListener(this.name, this, t), this._$AH = t;
514
+ if ((t = k(this, t, e, 0) ?? v) === x) return;
515
+ const i = this._$AH, r = t === v && i !== v || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, o = t !== v && (i === v || r);
516
+ r && this.element.removeEventListener(this.name, this, i), o && this.element.addEventListener(this.name, this, t), this._$AH = t;
529
517
  }
530
518
  handleEvent(t) {
531
519
  var e;
532
520
  typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, t) : this._$AH.handleEvent(t);
533
521
  }
534
522
  }
535
- class Ce {
523
+ class Ee {
536
524
  constructor(t, e, i) {
537
525
  this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
538
526
  }
@@ -540,26 +528,26 @@ class Ce {
540
528
  return this._$AM._$AU;
541
529
  }
542
530
  _$AI(t) {
543
- I(this, t);
531
+ k(this, t);
544
532
  }
545
533
  }
546
- const X = N.litHtmlPolyfillSupport;
547
- X == null || X(j, B), (N.litHtmlVersions ?? (N.litHtmlVersions = [])).push("3.1.4");
548
- const Pe = (s, t, e) => {
534
+ const X = R.litHtmlPolyfillSupport;
535
+ X == null || X(D, j), (R.litHtmlVersions ?? (R.litHtmlVersions = [])).push("3.1.4");
536
+ const xe = (s, t, e) => {
549
537
  const i = (e == null ? void 0 : e.renderBefore) ?? t;
550
- let o = i._$litPart$;
551
- if (o === void 0) {
552
- const r = (e == null ? void 0 : e.renderBefore) ?? null;
553
- i._$litPart$ = o = new B(t.insertBefore(D(), r), r, void 0, e ?? {});
538
+ let r = i._$litPart$;
539
+ if (r === void 0) {
540
+ const o = (e == null ? void 0 : e.renderBefore) ?? null;
541
+ i._$litPart$ = r = new j(t.insertBefore(B(), o), o, void 0, e ?? {});
554
542
  }
555
- return o._$AI(s), o;
543
+ return r._$AI(s), r;
556
544
  };
557
545
  /**
558
546
  * @license
559
547
  * Copyright 2017 Google LLC
560
548
  * SPDX-License-Identifier: BSD-3-Clause
561
549
  */
562
- class z extends T {
550
+ class N extends L {
563
551
  constructor() {
564
552
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
565
553
  }
@@ -570,7 +558,7 @@ class z extends T {
570
558
  }
571
559
  update(t) {
572
560
  const e = this.render();
573
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Pe(e, this.renderRoot, this.renderOptions);
561
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = xe(e, this.renderRoot, this.renderOptions);
574
562
  }
575
563
  connectedCallback() {
576
564
  var t;
@@ -581,15 +569,15 @@ class z extends T {
581
569
  super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
582
570
  }
583
571
  render() {
584
- return P;
572
+ return x;
585
573
  }
586
574
  }
587
- var xt;
588
- z._$litElement$ = !0, z.finalized = !0, (xt = globalThis.litElementHydrateSupport) == null || xt.call(globalThis, { LitElement: z });
575
+ var zt;
576
+ N._$litElement$ = !0, N.finalized = !0, (zt = globalThis.litElementHydrateSupport) == null || zt.call(globalThis, { LitElement: N });
589
577
  const tt = globalThis.litElementPolyfillSupport;
590
- tt == null || tt({ LitElement: z });
578
+ tt == null || tt({ LitElement: N });
591
579
  (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.0.6");
592
- var xe = nt`
580
+ var Pe = ct`
593
581
  :host {
594
582
  --slide-gap: var(--sl-spacing-medium, 1rem);
595
583
  --aspect-ratio: 16 / 9;
@@ -741,32 +729,43 @@ var xe = nt`
741
729
  outline: var(--sl-focus-ring);
742
730
  outline-offset: var(--sl-focus-ring-offset);
743
731
  }
744
- `;
732
+ `, Dt = Object.defineProperty, Le = Object.getOwnPropertyDescriptor, At = Object.getOwnPropertySymbols, Me = Object.prototype.hasOwnProperty, ke = Object.prototype.propertyIsEnumerable, Ct = (s, t, e) => t in s ? Dt(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e, jt = (s, t) => {
733
+ for (var e in t || (t = {}))
734
+ Me.call(t, e) && Ct(s, e, t[e]);
735
+ if (At)
736
+ for (var e of At(t))
737
+ ke.call(t, e) && Ct(s, e, t[e]);
738
+ return s;
739
+ }, c = (s, t, e, i) => {
740
+ for (var r = i > 1 ? void 0 : i ? Le(t, e) : t, o = s.length - 1, n; o >= 0; o--)
741
+ (n = s[o]) && (r = (i ? n(t, e, r) : n(r)) || r);
742
+ return i && r && Dt(t, e, r), r;
743
+ };
745
744
  function Te(s, t) {
746
745
  return new Promise((e) => {
747
- function i(o) {
748
- o.target === s && (s.removeEventListener(t, i), e());
746
+ function i(r) {
747
+ r.target === s && (s.removeEventListener(t, i), e());
749
748
  }
750
749
  s.addEventListener(t, i);
751
750
  });
752
751
  }
753
- function At() {
752
+ function Et() {
754
753
  return window.matchMedia("(prefers-reduced-motion: reduce)").matches;
755
754
  }
756
- const it = /* @__PURE__ */ new Set(), Le = new MutationObserver(jt), L = /* @__PURE__ */ new Map();
757
- let zt = document.documentElement.dir || "ltr", Dt = document.documentElement.lang || navigator.language, A;
758
- Le.observe(document.documentElement, {
755
+ const it = /* @__PURE__ */ new Set(), ze = new MutationObserver(Wt), M = /* @__PURE__ */ new Map();
756
+ let Vt = document.documentElement.dir || "ltr", qt = document.documentElement.lang || navigator.language, A;
757
+ ze.observe(document.documentElement, {
759
758
  attributes: !0,
760
759
  attributeFilter: ["dir", "lang"]
761
760
  });
762
- function Ht(...s) {
761
+ function Ft(...s) {
763
762
  s.map((t) => {
764
763
  const e = t.$code.toLowerCase();
765
- L.has(e) ? L.set(e, Object.assign(Object.assign({}, L.get(e)), t)) : L.set(e, t), A || (A = t);
766
- }), jt();
764
+ M.has(e) ? M.set(e, Object.assign(Object.assign({}, M.get(e)), t)) : M.set(e, t), A || (A = t);
765
+ }), Wt();
767
766
  }
768
- function jt() {
769
- zt = document.documentElement.dir || "ltr", Dt = document.documentElement.lang || navigator.language, [...it.keys()].map((s) => {
767
+ function Wt() {
768
+ Vt = document.documentElement.dir || "ltr", qt = document.documentElement.lang || navigator.language, [...it.keys()].map((s) => {
770
769
  typeof s.requestUpdate == "function" && s.requestUpdate();
771
770
  });
772
771
  }
@@ -781,33 +780,33 @@ let Ie = class {
781
780
  it.delete(this.host);
782
781
  }
783
782
  dir() {
784
- return `${this.host.dir || zt}`.toLowerCase();
783
+ return `${this.host.dir || Vt}`.toLowerCase();
785
784
  }
786
785
  lang() {
787
- return `${this.host.lang || Dt}`.toLowerCase();
786
+ return `${this.host.lang || qt}`.toLowerCase();
788
787
  }
789
788
  getTranslationData(t) {
790
789
  var e, i;
791
- const o = new Intl.Locale(t.replace(/_/g, "-")), r = o == null ? void 0 : o.language.toLowerCase(), n = (i = (e = o == null ? void 0 : o.region) === null || e === void 0 ? void 0 : e.toLowerCase()) !== null && i !== void 0 ? i : "", l = L.get(`${r}-${n}`), a = L.get(r);
792
- return { locale: o, language: r, region: n, primary: l, secondary: a };
790
+ const r = new Intl.Locale(t.replace(/_/g, "-")), o = r == null ? void 0 : r.language.toLowerCase(), n = (i = (e = r == null ? void 0 : r.region) === null || e === void 0 ? void 0 : e.toLowerCase()) !== null && i !== void 0 ? i : "", l = M.get(`${o}-${n}`), a = M.get(o);
791
+ return { locale: r, language: o, region: n, primary: l, secondary: a };
793
792
  }
794
793
  exists(t, e) {
795
794
  var i;
796
- const { primary: o, secondary: r } = this.getTranslationData((i = e.lang) !== null && i !== void 0 ? i : this.lang());
797
- return e = Object.assign({ includeFallback: !1 }, e), !!(o && o[t] || r && r[t] || e.includeFallback && A && A[t]);
795
+ const { primary: r, secondary: o } = this.getTranslationData((i = e.lang) !== null && i !== void 0 ? i : this.lang());
796
+ return e = Object.assign({ includeFallback: !1 }, e), !!(r && r[t] || o && o[t] || e.includeFallback && A && A[t]);
798
797
  }
799
798
  term(t, ...e) {
800
- const { primary: i, secondary: o } = this.getTranslationData(this.lang());
801
- let r;
799
+ const { primary: i, secondary: r } = this.getTranslationData(this.lang());
800
+ let o;
802
801
  if (i && i[t])
803
- r = i[t];
804
- else if (o && o[t])
805
- r = o[t];
802
+ o = i[t];
803
+ else if (r && r[t])
804
+ o = r[t];
806
805
  else if (A && A[t])
807
- r = A[t];
806
+ o = A[t];
808
807
  else
809
808
  return console.error(`No translation found for: ${String(t)}`), String(t);
810
- return typeof r == "function" ? r(...e) : r;
809
+ return typeof o == "function" ? o(...e) : o;
811
810
  }
812
811
  date(t, e) {
813
812
  return t = new Date(t), new Intl.DateTimeFormat(this.lang(), e).format(t);
@@ -819,7 +818,7 @@ let Ie = class {
819
818
  return new Intl.RelativeTimeFormat(this.lang(), i).format(t, e);
820
819
  }
821
820
  };
822
- var Bt = {
821
+ var Zt = {
823
822
  $code: "en",
824
823
  $name: "English",
825
824
  $dir: "ltr",
@@ -848,11 +847,175 @@ var Bt = {
848
847
  slideNum: (s) => `Slide ${s}`,
849
848
  toggleColorFormat: "Toggle color format"
850
849
  };
851
- Ht(Bt);
852
- var Ue = Bt, Me = class extends Ie {
850
+ Ft(Zt);
851
+ var Ue = Zt, Oe = class extends Ie {
853
852
  };
854
- Ht(Ue);
855
- var Oe = nt`
853
+ Ft(Ue);
854
+ var rt = "";
855
+ function xt(s) {
856
+ rt = s;
857
+ }
858
+ function ot(s = "") {
859
+ if (!rt) {
860
+ const t = [...document.getElementsByTagName("script")], e = t.find((i) => i.hasAttribute("data-shoelace"));
861
+ if (e)
862
+ xt(e.getAttribute("data-shoelace"));
863
+ else {
864
+ const i = t.find((o) => /shoelace(\.min)?\.js($|\?)/.test(o.src) || /shoelace-autoloader(\.min)?\.js($|\?)/.test(o.src));
865
+ let r = "";
866
+ i && (r = i.getAttribute("src")), xt(r.split("/").slice(0, -1).join("/"));
867
+ }
868
+ }
869
+ return rt.replace(/\/$/, "") + (s ? `/${s.replace(/^\//, "")}` : "");
870
+ }
871
+ var Re = {
872
+ name: "default",
873
+ resolver: (s, t = !1) => ot(t ? `assets/bootstrap-icons/${s}.svg` : `assets/bootstrap-icons/${s.substring(0, 1)}/${s}.svg`)
874
+ }, Ne = Re, Be = {
875
+ name: "viur",
876
+ resolver: (s, t = !1) => ot(`/assets/icons/${s}.svg`),
877
+ mutator: (s) => {
878
+ s.setAttribute("fill", "currentColor"), [...s.querySelectorAll("*")].map((t) => t.setAttribute("fill", "inherit"));
879
+ }
880
+ }, He = Be, Pt = {
881
+ caret: `
882
+ <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
883
+ <polyline points="6 9 12 15 18 9"></polyline>
884
+ </svg>
885
+ `,
886
+ check: `
887
+ <svg part="checked-icon" class="checkbox__icon" viewBox="0 0 16 16">
888
+ <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round">
889
+ <g stroke="currentColor">
890
+ <g transform="translate(3.428571, 3.428571)">
891
+ <path d="M0,5.71428571 L3.42857143,9.14285714"></path>
892
+ <path d="M9.14285714,0 L3.42857143,9.14285714"></path>
893
+ </g>
894
+ </g>
895
+ </g>
896
+ </svg>
897
+ `,
898
+ "chevron-down": `
899
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-down" viewBox="0 0 16 16">
900
+ <path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/>
901
+ </svg>
902
+ `,
903
+ "chevron-left": `
904
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-left" viewBox="0 0 16 16">
905
+ <path fill-rule="evenodd" d="M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"/>
906
+ </svg>
907
+ `,
908
+ "chevron-right": `
909
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-right" viewBox="0 0 16 16">
910
+ <path fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"/>
911
+ </svg>
912
+ `,
913
+ copy: `
914
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-copy" viewBox="0 0 16 16">
915
+ <path fill-rule="evenodd" d="M4 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V2Zm2-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H6ZM2 5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-1h1v1a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h1v1H2Z"/>
916
+ </svg>
917
+ `,
918
+ eye: `
919
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-eye" viewBox="0 0 16 16">
920
+ <path d="M16 8s-3-5.5-8-5.5S0 8 0 8s3 5.5 8 5.5S16 8 16 8zM1.173 8a13.133 13.133 0 0 1 1.66-2.043C4.12 4.668 5.88 3.5 8 3.5c2.12 0 3.879 1.168 5.168 2.457A13.133 13.133 0 0 1 14.828 8c-.058.087-.122.183-.195.288-.335.48-.83 1.12-1.465 1.755C11.879 11.332 10.119 12.5 8 12.5c-2.12 0-3.879-1.168-5.168-2.457A13.134 13.134 0 0 1 1.172 8z"/>
921
+ <path d="M8 5.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5zM4.5 8a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0z"/>
922
+ </svg>
923
+ `,
924
+ "eye-slash": `
925
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-eye-slash" viewBox="0 0 16 16">
926
+ <path d="M13.359 11.238C15.06 9.72 16 8 16 8s-3-5.5-8-5.5a7.028 7.028 0 0 0-2.79.588l.77.771A5.944 5.944 0 0 1 8 3.5c2.12 0 3.879 1.168 5.168 2.457A13.134 13.134 0 0 1 14.828 8c-.058.087-.122.183-.195.288-.335.48-.83 1.12-1.465 1.755-.165.165-.337.328-.517.486l.708.709z"/>
927
+ <path d="M11.297 9.176a3.5 3.5 0 0 0-4.474-4.474l.823.823a2.5 2.5 0 0 1 2.829 2.829l.822.822zm-2.943 1.299.822.822a3.5 3.5 0 0 1-4.474-4.474l.823.823a2.5 2.5 0 0 0 2.829 2.829z"/>
928
+ <path d="M3.35 5.47c-.18.16-.353.322-.518.487A13.134 13.134 0 0 0 1.172 8l.195.288c.335.48.83 1.12 1.465 1.755C4.121 11.332 5.881 12.5 8 12.5c.716 0 1.39-.133 2.02-.36l.77.772A7.029 7.029 0 0 1 8 13.5C3 13.5 0 8 0 8s.939-1.721 2.641-3.238l.708.709zm10.296 8.884-12-12 .708-.708 12 12-.708.708z"/>
929
+ </svg>
930
+ `,
931
+ eyedropper: `
932
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-eyedropper" viewBox="0 0 16 16">
933
+ <path d="M13.354.646a1.207 1.207 0 0 0-1.708 0L8.5 3.793l-.646-.647a.5.5 0 1 0-.708.708L8.293 5l-7.147 7.146A.5.5 0 0 0 1 12.5v1.793l-.854.853a.5.5 0 1 0 .708.707L1.707 15H3.5a.5.5 0 0 0 .354-.146L11 7.707l1.146 1.147a.5.5 0 0 0 .708-.708l-.647-.646 3.147-3.146a1.207 1.207 0 0 0 0-1.708l-2-2zM2 12.707l7-7L10.293 7l-7 7H2v-1.293z"></path>
934
+ </svg>
935
+ `,
936
+ "grip-vertical": `
937
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-grip-vertical" viewBox="0 0 16 16">
938
+ <path d="M7 2a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zM7 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zM7 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-3 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-3 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"></path>
939
+ </svg>
940
+ `,
941
+ indeterminate: `
942
+ <svg part="indeterminate-icon" class="checkbox__icon" viewBox="0 0 16 16">
943
+ <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round">
944
+ <g stroke="currentColor" stroke-width="2">
945
+ <g transform="translate(2.285714, 6.857143)">
946
+ <path d="M10.2857143,1.14285714 L1.14285714,1.14285714"></path>
947
+ </g>
948
+ </g>
949
+ </g>
950
+ </svg>
951
+ `,
952
+ checked: `
953
+ <svg part="checked-icon" class="checkbox__icon" viewBox="0 0 16 16">
954
+ <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round">
955
+ <g stroke="currentColor" stroke-width="2">
956
+ <rect x="2" y="2" width="12" height="12" stroke-width="2"></rect>
957
+ </g>
958
+ </g>
959
+ </svg>
960
+ `,
961
+ "person-fill": `
962
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-person-fill" viewBox="0 0 16 16">
963
+ <path d="M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/>
964
+ </svg>
965
+ `,
966
+ "play-fill": `
967
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-play-fill" viewBox="0 0 16 16">
968
+ <path d="m11.596 8.697-6.363 3.692c-.54.313-1.233-.066-1.233-.697V4.308c0-.63.692-1.01 1.233-.696l6.363 3.692a.802.802 0 0 1 0 1.393z"></path>
969
+ </svg>
970
+ `,
971
+ "pause-fill": `
972
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-pause-fill" viewBox="0 0 16 16">
973
+ <path d="M5.5 3.5A1.5 1.5 0 0 1 7 5v6a1.5 1.5 0 0 1-3 0V5a1.5 1.5 0 0 1 1.5-1.5zm5 0A1.5 1.5 0 0 1 12 5v6a1.5 1.5 0 0 1-3 0V5a1.5 1.5 0 0 1 1.5-1.5z"></path>
974
+ </svg>
975
+ `,
976
+ radio: `
977
+ <svg part="checked-icon" class="radio__icon" viewBox="0 0 16 16">
978
+ <g stroke="none" stroke-width="2" fill="none" fill-rule="evenodd">
979
+ <g fill="currentColor">
980
+ <circle cx="8" cy="8" r="6"></circle>
981
+ </g>
982
+ </g>
983
+ </svg>
984
+ `,
985
+ "star-fill": `
986
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-star-fill" viewBox="0 0 16 16">
987
+ <path d="M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z"/>
988
+ </svg>
989
+ `,
990
+ "x-lg": `
991
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-x-lg" viewBox="0 0 16 16">
992
+ <path d="M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854Z"/>
993
+ </svg>
994
+ `,
995
+ "x-circle-fill": `
996
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-x-circle-fill" viewBox="0 0 16 16">
997
+ <path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM5.354 4.646a.5.5 0 1 0-.708.708L7.293 8l-2.647 2.646a.5.5 0 0 0 .708.708L8 8.707l2.646 2.647a.5.5 0 0 0 .708-.708L8.707 8l2.647-2.646a.5.5 0 0 0-.708-.708L8 7.293 5.354 4.646z"></path>
998
+ </svg>
999
+ `,
1000
+ search: `
1001
+ <svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="bi bi-search" viewBox="0 0 16 16">
1002
+ <path d="M11.742 10.344a6.5 6.5 0 10-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 001.415-1.414l-3.85-3.85a1.007 1.007 0 00-.115-.1zM12 6.5a5.5 5.5 0 11-11 0 5.5 5.5 0 0111 0z"></path>
1003
+ </svg>
1004
+ `
1005
+ }, De = {
1006
+ name: "system",
1007
+ resolver: (s, t = !1) => s in Pt ? `data:image/svg+xml,${encodeURIComponent(Pt[s])}` : ""
1008
+ }, je = De, Ve = [He, Ne, je], nt = [];
1009
+ function qe(s) {
1010
+ nt.push(s);
1011
+ }
1012
+ function Fe(s) {
1013
+ nt = nt.filter((t) => t !== s);
1014
+ }
1015
+ function Lt(s) {
1016
+ return Ve.find((t) => t.name === s);
1017
+ }
1018
+ var We = ct`
856
1019
  :host {
857
1020
  display: inline-block;
858
1021
  width: 1em;
@@ -866,20 +1029,20 @@ var Oe = nt`
866
1029
  width: 100%;
867
1030
  }
868
1031
  `;
869
- function x(s, t) {
870
- const e = It({
1032
+ function P(s, t) {
1033
+ const e = jt({
871
1034
  waitUntilFirstUpdate: !1
872
1035
  }, t);
873
- return (i, o) => {
874
- const { update: r } = i, n = Array.isArray(s) ? s : [s];
1036
+ return (i, r) => {
1037
+ const { update: o } = i, n = Array.isArray(s) ? s : [s];
875
1038
  i.update = function(l) {
876
1039
  n.forEach((a) => {
877
1040
  const d = a;
878
1041
  if (l.has(d)) {
879
1042
  const g = l.get(d), h = this[d];
880
- g !== h && (!e.waitUntilFirstUpdate || this.hasUpdated) && this[o](g, h);
1043
+ g !== h && (!e.waitUntilFirstUpdate || this.hasUpdated) && this[r](g, h);
881
1044
  }
882
- }), r.call(this, l);
1045
+ }), o.call(this, l);
883
1046
  };
884
1047
  };
885
1048
  }
@@ -888,10 +1051,10 @@ function x(s, t) {
888
1051
  * Copyright 2017 Google LLC
889
1052
  * SPDX-License-Identifier: BSD-3-Clause
890
1053
  */
891
- const ke = { attribute: !0, type: String, converter: K, reflect: !1, hasChanged: at }, Re = (s = ke, t, e) => {
892
- const { kind: i, metadata: o } = e;
893
- let r = globalThis.litPropertyMetadata.get(o);
894
- if (r === void 0 && globalThis.litPropertyMetadata.set(o, r = /* @__PURE__ */ new Map()), r.set(e.name, s), i === "accessor") {
1054
+ const Ze = { attribute: !0, type: String, converter: Z, reflect: !1, hasChanged: ht }, Ke = (s = Ze, t, e) => {
1055
+ const { kind: i, metadata: r } = e;
1056
+ let o = globalThis.litPropertyMetadata.get(r);
1057
+ if (o === void 0 && globalThis.litPropertyMetadata.set(r, o = /* @__PURE__ */ new Map()), o.set(e.name, s), i === "accessor") {
895
1058
  const { name: n } = e;
896
1059
  return { set(l) {
897
1060
  const a = t.get.call(this);
@@ -909,10 +1072,10 @@ const ke = { attribute: !0, type: String, converter: K, reflect: !1, hasChanged:
909
1072
  }
910
1073
  throw Error("Unsupported decorator location: " + i);
911
1074
  };
912
- function m(s) {
913
- return (t, e) => typeof e == "object" ? Re(s, t, e) : ((i, o, r) => {
914
- const n = o.hasOwnProperty(r);
915
- return o.constructor.createProperty(r, n ? { ...i, wrapped: !0 } : i), n ? Object.getOwnPropertyDescriptor(o, r) : void 0;
1075
+ function f(s) {
1076
+ return (t, e) => typeof e == "object" ? Ke(s, t, e) : ((i, r, o) => {
1077
+ const n = r.hasOwnProperty(o);
1078
+ return r.constructor.createProperty(o, n ? { ...i, wrapped: !0 } : i), n ? Object.getOwnPropertyDescriptor(r, o) : void 0;
916
1079
  })(s, t, e);
917
1080
  }
918
1081
  /**
@@ -920,15 +1083,15 @@ function m(s) {
920
1083
  * Copyright 2017 Google LLC
921
1084
  * SPDX-License-Identifier: BSD-3-Clause
922
1085
  */
923
- function Z(s) {
924
- return m({ ...s, state: !0, attribute: !1 });
1086
+ function Y(s) {
1087
+ return f({ ...s, state: !0, attribute: !1 });
925
1088
  }
926
1089
  /**
927
1090
  * @license
928
1091
  * Copyright 2017 Google LLC
929
1092
  * SPDX-License-Identifier: BSD-3-Clause
930
1093
  */
931
- function Ne(s) {
1094
+ function Je(s) {
932
1095
  return (t, e) => {
933
1096
  const i = typeof t == "function" ? t : t[e];
934
1097
  Object.assign(i, s);
@@ -939,31 +1102,31 @@ function Ne(s) {
939
1102
  * Copyright 2017 Google LLC
940
1103
  * SPDX-License-Identifier: BSD-3-Clause
941
1104
  */
942
- const ze = (s, t, e) => (e.configurable = !0, e.enumerable = !0, Reflect.decorate && typeof t != "object" && Object.defineProperty(s, t, e), e);
1105
+ const Ye = (s, t, e) => (e.configurable = !0, e.enumerable = !0, Reflect.decorate && typeof t != "object" && Object.defineProperty(s, t, e), e);
943
1106
  /**
944
1107
  * @license
945
1108
  * Copyright 2017 Google LLC
946
1109
  * SPDX-License-Identifier: BSD-3-Clause
947
1110
  */
948
- function qt(s, t) {
949
- return (e, i, o) => {
950
- const r = (n) => {
1111
+ function Kt(s, t) {
1112
+ return (e, i, r) => {
1113
+ const o = (n) => {
951
1114
  var l;
952
1115
  return ((l = n.renderRoot) == null ? void 0 : l.querySelector(s)) ?? null;
953
1116
  };
954
- return ze(e, i, { get() {
955
- return r(this);
1117
+ return Ye(e, i, { get() {
1118
+ return o(this);
956
1119
  } });
957
1120
  };
958
1121
  }
959
- var U = class extends z {
1122
+ var T = class extends N {
960
1123
  constructor() {
961
1124
  super(), Object.entries(this.constructor.dependencies).forEach(([s, t]) => {
962
1125
  this.constructor.define(s, t);
963
1126
  });
964
1127
  }
965
1128
  emit(s, t) {
966
- const e = new CustomEvent(s, It({
1129
+ const e = new CustomEvent(s, jt({
967
1130
  bubbles: !0,
968
1131
  cancelable: !1,
969
1132
  composed: !0,
@@ -979,21 +1142,21 @@ var U = class extends z {
979
1142
  }, e);
980
1143
  return;
981
1144
  }
982
- let o = " (unknown version)", r = o;
983
- "version" in t && t.version && (o = " v" + t.version), "version" in i && i.version && (r = " v" + i.version), !(o && r && o === r) && console.warn(
984
- `Attempted to register <${s}>${o}, but <${s}>${r} has already been registered.`
1145
+ let r = " (unknown version)", o = r;
1146
+ "version" in t && t.version && (r = " v" + t.version), "version" in i && i.version && (o = " v" + i.version), !(r && o && r === o) && console.warn(
1147
+ `Attempted to register <${s}>${r}, but <${s}>${o} has already been registered.`
985
1148
  );
986
1149
  }
987
1150
  };
988
- U.version = "1.0.6-v2.15.1";
989
- U.dependencies = {};
1151
+ T.version = "1.0.6-v2.15.1";
1152
+ T.dependencies = {};
990
1153
  c([
991
- m()
992
- ], U.prototype, "dir", 2);
1154
+ f()
1155
+ ], T.prototype, "dir", 2);
993
1156
  c([
994
- m()
995
- ], U.prototype, "lang", 2);
996
- var Vt = nt`
1157
+ f()
1158
+ ], T.prototype, "lang", 2);
1159
+ var Jt = ct`
997
1160
  :host {
998
1161
  box-sizing: border-box;
999
1162
  }
@@ -1013,8 +1176,8 @@ var Vt = nt`
1013
1176
  * Copyright 2020 Google LLC
1014
1177
  * SPDX-License-Identifier: BSD-3-Clause
1015
1178
  */
1016
- const De = (s, t) => (s == null ? void 0 : s._$litType$) !== void 0;
1017
- var k = Symbol(), V = Symbol(), et, st = /* @__PURE__ */ new Map(), f = class extends U {
1179
+ const Ge = (s, t) => (s == null ? void 0 : s._$litType$) !== void 0;
1180
+ var U = Symbol(), q = Symbol(), et, st = /* @__PURE__ */ new Map(), m = class extends T {
1018
1181
  constructor() {
1019
1182
  super(...arguments), this.initialRender = !1, this.svg = null, this.label = "", this.library = "default", this.vueonce = !0, this.sprite = !1;
1020
1183
  }
@@ -1023,42 +1186,42 @@ var k = Symbol(), V = Symbol(), et, st = /* @__PURE__ */ new Map(), f = class ex
1023
1186
  var e;
1024
1187
  let i;
1025
1188
  if (t != null && t.spriteSheet) {
1026
- this.svg = y`<svg part="svg">
1189
+ this.svg = b`<svg part="svg">
1027
1190
  <use part="use" href="${s}"></use>
1028
1191
  </svg>`, await this.updateComplete;
1029
- const o = this.shadowRoot.querySelector("[part='svg']");
1030
- return typeof t.mutator == "function" && t.mutator(o), this.svg;
1192
+ const r = this.shadowRoot.querySelector("[part='svg']");
1193
+ return typeof t.mutator == "function" && t.mutator(r), this.svg;
1031
1194
  }
1032
1195
  try {
1033
1196
  if (i = await fetch(s, { mode: "cors" }), !i.ok)
1034
- return i.status === 410 ? k : V;
1197
+ return i.status === 410 ? U : q;
1035
1198
  } catch {
1036
- return V;
1199
+ return q;
1037
1200
  }
1038
1201
  try {
1039
- const o = document.createElement("div");
1040
- o.innerHTML = await i.text();
1041
- const r = o.firstElementChild;
1042
- if (((e = r == null ? void 0 : r.tagName) == null ? void 0 : e.toLowerCase()) !== "svg")
1043
- return k;
1202
+ const r = document.createElement("div");
1203
+ r.innerHTML = await i.text();
1204
+ const o = r.firstElementChild;
1205
+ if (((e = o == null ? void 0 : o.tagName) == null ? void 0 : e.toLowerCase()) !== "svg")
1206
+ return U;
1044
1207
  et || (et = new DOMParser());
1045
- const l = et.parseFromString(r.outerHTML, "text/html").body.querySelector("svg");
1046
- return l ? (l.part.add("svg"), document.adoptNode(l)) : k;
1208
+ const l = et.parseFromString(o.outerHTML, "text/html").body.querySelector("svg");
1209
+ return l ? (l.part.add("svg"), document.adoptNode(l)) : U;
1047
1210
  } catch {
1048
- return k;
1211
+ return U;
1049
1212
  }
1050
1213
  }
1051
1214
  connectedCallback() {
1052
- super.connectedCallback(), se(this);
1215
+ super.connectedCallback(), qe(this);
1053
1216
  }
1054
1217
  firstUpdated() {
1055
1218
  this.sprite || this.setIcon(), this.initialRender = !0, this.setIcon();
1056
1219
  }
1057
1220
  disconnectedCallback() {
1058
- super.disconnectedCallback(), ie(this);
1221
+ super.disconnectedCallback(), Fe(this);
1059
1222
  }
1060
1223
  getIconSource(s = !1) {
1061
- const t = ht(this.library);
1224
+ const t = Lt(this.library);
1062
1225
  return this.name && t ? {
1063
1226
  url: t.resolver(this.name, s),
1064
1227
  fromLibrary: !0
@@ -1080,27 +1243,27 @@ var k = Symbol(), V = Symbol(), et, st = /* @__PURE__ */ new Map(), f = class ex
1080
1243
  }
1081
1244
  async setIcon() {
1082
1245
  var s;
1083
- const { url: t, fromLibrary: e } = this.getIconSource(), i = e ? ht(this.library) : void 0;
1246
+ const { url: t, fromLibrary: e } = this.getIconSource(), i = e ? Lt(this.library) : void 0;
1084
1247
  if (!t) {
1085
1248
  this.svg = null;
1086
1249
  return;
1087
1250
  }
1088
- let o = st.get(t);
1089
- if (o || (o = this.resolveIcon(t, i), st.set(t, o)), !this.initialRender)
1251
+ let r = st.get(t);
1252
+ if (r || (r = this.resolveIcon(t, i), st.set(t, r)), !this.initialRender)
1090
1253
  return;
1091
- const r = await o;
1092
- if (r === V && st.delete(t), t === this.getIconSource().url) {
1093
- if (De(r)) {
1094
- this.svg = r;
1254
+ const o = await r;
1255
+ if (o === q && st.delete(t), t === this.getIconSource().url) {
1256
+ if (Ge(o)) {
1257
+ this.svg = o;
1095
1258
  return;
1096
1259
  }
1097
- switch (r) {
1098
- case V:
1099
- case k:
1260
+ switch (o) {
1261
+ case q:
1262
+ case U:
1100
1263
  this.svg = null, this.emit("sl-error");
1101
1264
  break;
1102
1265
  default:
1103
- this.svg = r.cloneNode(!0), (s = i == null ? void 0 : i.mutator) == null || s.call(i, this.svg), this.emit("sl-load");
1266
+ this.svg = o.cloneNode(!0), (s = i == null ? void 0 : i.mutator) == null || s.call(i, this.svg), this.emit("sl-load");
1104
1267
  }
1105
1268
  }
1106
1269
  }
@@ -1108,47 +1271,47 @@ var k = Symbol(), V = Symbol(), et, st = /* @__PURE__ */ new Map(), f = class ex
1108
1271
  this.sprite || this.setIcon();
1109
1272
  }
1110
1273
  render() {
1111
- return y`
1112
- ${this.sprite ? y`<svg width="1em" height="1em">
1274
+ return b`
1275
+ ${this.sprite ? b`<svg width="1em" height="1em">
1113
1276
  <use href="${this.getDir()}/_sprite.svg#${this.name}"></use>
1114
- </svg>` : y`${this.svg}`}`;
1277
+ </svg>` : b`${this.svg}`}`;
1115
1278
  }
1116
1279
  };
1117
- f.styles = [Vt, Oe];
1280
+ m.styles = [Jt, We];
1118
1281
  c([
1119
- Z()
1120
- ], f.prototype, "svg", 2);
1282
+ Y()
1283
+ ], m.prototype, "svg", 2);
1121
1284
  c([
1122
- m({ reflect: !0 })
1123
- ], f.prototype, "name", 2);
1285
+ f({ reflect: !0 })
1286
+ ], m.prototype, "name", 2);
1124
1287
  c([
1125
- m()
1126
- ], f.prototype, "src", 2);
1288
+ f()
1289
+ ], m.prototype, "src", 2);
1127
1290
  c([
1128
- m()
1129
- ], f.prototype, "label", 2);
1291
+ f()
1292
+ ], m.prototype, "label", 2);
1130
1293
  c([
1131
- m({ reflect: !0 })
1132
- ], f.prototype, "library", 2);
1294
+ f({ reflect: !0 })
1295
+ ], m.prototype, "library", 2);
1133
1296
  c([
1134
- m({ reflect: !0, type: Boolean, attribute: "v-once" })
1135
- ], f.prototype, "vueonce", 2);
1297
+ f({ reflect: !0, type: Boolean, attribute: "v-once" })
1298
+ ], m.prototype, "vueonce", 2);
1136
1299
  c([
1137
- m({ reflect: !0, type: Boolean })
1138
- ], f.prototype, "sprite", 2);
1300
+ f({ reflect: !0, type: Boolean })
1301
+ ], m.prototype, "sprite", 2);
1139
1302
  c([
1140
- x("label")
1141
- ], f.prototype, "handleLabelChange", 1);
1303
+ P("label")
1304
+ ], m.prototype, "handleLabelChange", 1);
1142
1305
  c([
1143
- x(["name", "src", "library"])
1144
- ], f.prototype, "setIcon", 1);
1306
+ P(["name", "src", "library"])
1307
+ ], m.prototype, "setIcon", 1);
1145
1308
  /**
1146
1309
  * @license
1147
1310
  * Copyright 2017 Google LLC
1148
1311
  * SPDX-License-Identifier: BSD-3-Clause
1149
1312
  */
1150
- const He = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, je = (s) => (...t) => ({ _$litDirective$: s, values: t });
1151
- class Be {
1313
+ const Qe = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, Xe = (s) => (...t) => ({ _$litDirective$: s, values: t });
1314
+ class ts {
1152
1315
  constructor(t) {
1153
1316
  }
1154
1317
  get _$AU() {
@@ -1169,28 +1332,28 @@ class Be {
1169
1332
  * Copyright 2018 Google LLC
1170
1333
  * SPDX-License-Identifier: BSD-3-Clause
1171
1334
  */
1172
- const F = je(class extends Be {
1335
+ const F = Xe(class extends ts {
1173
1336
  constructor(s) {
1174
1337
  var t;
1175
- if (super(s), s.type !== He.ATTRIBUTE || s.name !== "class" || ((t = s.strings) == null ? void 0 : t.length) > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
1338
+ if (super(s), s.type !== Qe.ATTRIBUTE || s.name !== "class" || ((t = s.strings) == null ? void 0 : t.length) > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
1176
1339
  }
1177
1340
  render(s) {
1178
1341
  return " " + Object.keys(s).filter((t) => s[t]).join(" ") + " ";
1179
1342
  }
1180
1343
  update(s, [t]) {
1181
- var i, o;
1344
+ var i, r;
1182
1345
  if (this.st === void 0) {
1183
- this.st = /* @__PURE__ */ new Set(), s.strings !== void 0 && (this.nt = new Set(s.strings.join(" ").split(/\s/).filter((r) => r !== "")));
1184
- for (const r in t) t[r] && !((i = this.nt) != null && i.has(r)) && this.st.add(r);
1346
+ this.st = /* @__PURE__ */ new Set(), s.strings !== void 0 && (this.nt = new Set(s.strings.join(" ").split(/\s/).filter((o) => o !== "")));
1347
+ for (const o in t) t[o] && !((i = this.nt) != null && i.has(o)) && this.st.add(o);
1185
1348
  return this.render(t);
1186
1349
  }
1187
1350
  const e = s.element.classList;
1188
- for (const r of this.st) r in t || (e.remove(r), this.st.delete(r));
1189
- for (const r in t) {
1190
- const n = !!t[r];
1191
- n === this.st.has(r) || (o = this.nt) != null && o.has(r) || (n ? (e.add(r), this.st.add(r)) : (e.remove(r), this.st.delete(r)));
1351
+ for (const o of this.st) o in t || (e.remove(o), this.st.delete(o));
1352
+ for (const o in t) {
1353
+ const n = !!t[o];
1354
+ n === this.st.has(o) || (r = this.nt) != null && r.has(o) || (n ? (e.add(o), this.st.add(o)) : (e.remove(o), this.st.delete(o)));
1192
1355
  }
1193
- return P;
1356
+ return x;
1194
1357
  }
1195
1358
  });
1196
1359
  /**
@@ -1198,7 +1361,7 @@ const F = je(class extends Be {
1198
1361
  * Copyright 2021 Google LLC
1199
1362
  * SPDX-License-Identifier: BSD-3-Clause
1200
1363
  */
1201
- function* Et(s, t) {
1364
+ function* Mt(s, t) {
1202
1365
  if (s !== void 0) {
1203
1366
  let e = 0;
1204
1367
  for (const i of s) yield t(i, e++);
@@ -1209,49 +1372,49 @@ function* Et(s, t) {
1209
1372
  * Copyright 2021 Google LLC
1210
1373
  * SPDX-License-Identifier: BSD-3-Clause
1211
1374
  */
1212
- function* Ct(s, t, e = 1) {
1375
+ function* kt(s, t, e = 1) {
1213
1376
  const i = t === void 0 ? 0 : s;
1214
1377
  t ?? (t = s);
1215
- for (let o = i; e > 0 ? o < t : t < o; o += e) yield o;
1378
+ for (let r = i; e > 0 ? r < t : t < r; r += e) yield r;
1216
1379
  }
1217
- var qe = (s, t) => {
1380
+ var es = (s, t) => {
1218
1381
  let e = 0;
1219
1382
  return function(...i) {
1220
1383
  window.clearTimeout(e), e = window.setTimeout(() => {
1221
1384
  s.call(this, ...i);
1222
1385
  }, t);
1223
1386
  };
1224
- }, Pt = (s, t, e) => {
1387
+ }, Tt = (s, t, e) => {
1225
1388
  const i = s[t];
1226
- s[t] = function(...o) {
1227
- i.call(this, ...o), e.call(this, i, ...o);
1389
+ s[t] = function(...r) {
1390
+ i.call(this, ...r), e.call(this, i, ...r);
1228
1391
  };
1229
- }, Ve = "onscrollend" in window;
1230
- if (!Ve) {
1231
- const s = /* @__PURE__ */ new Set(), t = /* @__PURE__ */ new WeakMap(), e = (o) => {
1232
- for (const r of o.changedTouches)
1233
- s.add(r.identifier);
1234
- }, i = (o) => {
1235
- for (const r of o.changedTouches)
1236
- s.delete(r.identifier);
1392
+ }, ss = "onscrollend" in window;
1393
+ if (!ss) {
1394
+ const s = /* @__PURE__ */ new Set(), t = /* @__PURE__ */ new WeakMap(), e = (r) => {
1395
+ for (const o of r.changedTouches)
1396
+ s.add(o.identifier);
1397
+ }, i = (r) => {
1398
+ for (const o of r.changedTouches)
1399
+ s.delete(o.identifier);
1237
1400
  };
1238
- document.addEventListener("touchstart", e, !0), document.addEventListener("touchend", i, !0), document.addEventListener("touchcancel", i, !0), Pt(EventTarget.prototype, "addEventListener", function(o, r) {
1239
- if (r !== "scrollend")
1401
+ document.addEventListener("touchstart", e, !0), document.addEventListener("touchend", i, !0), document.addEventListener("touchcancel", i, !0), Tt(EventTarget.prototype, "addEventListener", function(r, o) {
1402
+ if (o !== "scrollend")
1240
1403
  return;
1241
- const n = qe(() => {
1404
+ const n = es(() => {
1242
1405
  s.size ? n() : this.dispatchEvent(new Event("scrollend"));
1243
1406
  }, 100);
1244
- o.call(this, "scroll", n, { passive: !0 }), t.set(this, n);
1245
- }), Pt(EventTarget.prototype, "removeEventListener", function(o, r) {
1246
- if (r !== "scrollend")
1407
+ r.call(this, "scroll", n, { passive: !0 }), t.set(this, n);
1408
+ }), Tt(EventTarget.prototype, "removeEventListener", function(r, o) {
1409
+ if (o !== "scrollend")
1247
1410
  return;
1248
1411
  const n = t.get(this);
1249
- n && o.call(this, "scroll", n, { passive: !0 });
1412
+ n && r.call(this, "scroll", n, { passive: !0 });
1250
1413
  });
1251
1414
  }
1252
- var u = class extends U {
1415
+ var u = class extends T {
1253
1416
  constructor() {
1254
- super(...arguments), this.loop = !1, this.navigation = !1, this.pagination = !1, this.autoplay = !1, this.autoplayInterval = 3e3, this.slidesPerPage = 1, this.slidesPerMove = 1, this.orientation = "horizontal", this.mouseDragging = !1, this.activeSlide = 0, this.scrolling = !1, this.dragging = !1, this.autoplayController = new le(this, () => this.next()), this.localize = new Me(this), this.handleMouseDrag = (s) => {
1417
+ super(...arguments), this.loop = !1, this.navigation = !1, this.pagination = !1, this.autoplay = !1, this.autoplayInterval = 3e3, this.slidesPerPage = 1, this.slidesPerMove = 1, this.orientation = "horizontal", this.mouseDragging = !1, this.activeSlide = 0, this.scrolling = !1, this.dragging = !1, this.autoplayController = new le(this, () => this.next()), this.localize = new Oe(this), this.handleMouseDrag = (s) => {
1255
1418
  this.dragging || (this.scrollContainer.style.setProperty("scroll-snap-type", "none"), this.dragging = !0), this.scrollContainer.scrollBy({
1256
1419
  left: -s.movementX,
1257
1420
  top: -s.movementY,
@@ -1262,12 +1425,12 @@ var u = class extends U {
1262
1425
  document.removeEventListener("pointermove", this.handleMouseDrag, { capture: !0 });
1263
1426
  const t = s.scrollLeft, e = s.scrollTop;
1264
1427
  s.style.removeProperty("scroll-snap-type"), s.style.setProperty("overflow", "hidden");
1265
- const i = s.scrollLeft, o = s.scrollTop;
1428
+ const i = s.scrollLeft, r = s.scrollTop;
1266
1429
  s.style.removeProperty("overflow"), s.style.setProperty("scroll-snap-type", "none"), s.scrollTo({ left: t, top: e, behavior: "instant" }), requestAnimationFrame(async () => {
1267
- (t !== i || e !== o) && (s.scrollTo({
1430
+ (t !== i || e !== r) && (s.scrollTo({
1268
1431
  left: i,
1269
- top: o,
1270
- behavior: At() ? "auto" : "smooth"
1432
+ top: r,
1433
+ behavior: Et() ? "auto" : "smooth"
1271
1434
  }), await Te(s, "scrollend")), s.style.removeProperty("scroll-snap-type"), this.dragging = !1, this.handleScrollEnd();
1272
1435
  });
1273
1436
  }, this.handleSlotChange = (s) => {
@@ -1294,8 +1457,8 @@ var u = class extends U {
1294
1457
  (s.has("slidesPerMove") || s.has("slidesPerPage")) && (this.slidesPerMove = Math.min(this.slidesPerMove, this.slidesPerPage));
1295
1458
  }
1296
1459
  getPageCount() {
1297
- const s = this.getSlides().length, { slidesPerPage: t, slidesPerMove: e, loop: i } = this, o = i ? s / e : (s - t) / e + 1;
1298
- return Math.ceil(o);
1460
+ const s = this.getSlides().length, { slidesPerPage: t, slidesPerMove: e, loop: i } = this, r = i ? s / e : (s - t) / e + 1;
1461
+ return Math.ceil(r);
1299
1462
  }
1300
1463
  getCurrentPage() {
1301
1464
  return Math.ceil(this.activeSlide / this.slidesPerMove);
@@ -1317,8 +1480,8 @@ var u = class extends U {
1317
1480
  }
1318
1481
  handleKeyDown(s) {
1319
1482
  if (["ArrowLeft", "ArrowRight", "ArrowUp", "ArrowDown", "Home", "End"].includes(s.key)) {
1320
- const t = s.target, e = this.localize.dir() === "rtl", i = t.closest('[part~="pagination-item"]') !== null, o = s.key === "ArrowDown" || !e && s.key === "ArrowRight" || e && s.key === "ArrowLeft", r = s.key === "ArrowUp" || !e && s.key === "ArrowLeft" || e && s.key === "ArrowRight";
1321
- s.preventDefault(), r && this.previous(), o && this.next(), s.key === "Home" && this.goToSlide(0), s.key === "End" && this.goToSlide(this.getSlides().length - 1), i && this.updateComplete.then(() => {
1483
+ const t = s.target, e = this.localize.dir() === "rtl", i = t.closest('[part~="pagination-item"]') !== null, r = s.key === "ArrowDown" || !e && s.key === "ArrowRight" || e && s.key === "ArrowLeft", o = s.key === "ArrowUp" || !e && s.key === "ArrowLeft" || e && s.key === "ArrowRight";
1484
+ s.preventDefault(), o && this.previous(), r && this.next(), s.key === "Home" && this.goToSlide(0), s.key === "End" && this.goToSlide(this.getSlides().length - 1), i && this.updateComplete.then(() => {
1322
1485
  var n;
1323
1486
  const l = (n = this.shadowRoot) == null ? void 0 : n.querySelector(
1324
1487
  '[part~="pagination-item--active"]'
@@ -1339,8 +1502,8 @@ var u = class extends U {
1339
1502
  (t) => {
1340
1503
  s.disconnect();
1341
1504
  for (const i of t) {
1342
- const o = i.target;
1343
- o.toggleAttribute("inert", !i.isIntersecting), o.classList.toggle("--in-view", i.isIntersecting), o.setAttribute("aria-hidden", i.isIntersecting ? "false" : "true");
1505
+ const r = i.target;
1506
+ r.toggleAttribute("inert", !i.isIntersecting), r.classList.toggle("--in-view", i.isIntersecting), r.setAttribute("aria-hidden", i.isIntersecting ? "false" : "true");
1344
1507
  }
1345
1508
  const e = t.find((i) => i.isIntersecting);
1346
1509
  if (e)
@@ -1348,8 +1511,8 @@ var u = class extends U {
1348
1511
  const i = Number(e.target.getAttribute("data-clone"));
1349
1512
  this.goToSlide(i, "instant");
1350
1513
  } else {
1351
- const o = this.getSlides().indexOf(e.target);
1352
- this.activeSlide = Math.ceil(o / this.slidesPerMove) * this.slidesPerMove;
1514
+ const r = this.getSlides().indexOf(e.target);
1515
+ this.activeSlide = Math.ceil(r / this.slidesPerMove) * this.slidesPerMove;
1353
1516
  }
1354
1517
  },
1355
1518
  {
@@ -1374,12 +1537,12 @@ var u = class extends U {
1374
1537
  }
1375
1538
  createClones() {
1376
1539
  const s = this.getSlides(), t = this.slidesPerPage, e = s.slice(-t), i = s.slice(0, t);
1377
- e.reverse().forEach((o, r) => {
1378
- const n = o.cloneNode(!0);
1379
- n.setAttribute("data-clone", String(s.length - r - 1)), this.prepend(n);
1380
- }), i.forEach((o, r) => {
1381
- const n = o.cloneNode(!0);
1382
- n.setAttribute("data-clone", String(r)), this.append(n);
1540
+ e.reverse().forEach((r, o) => {
1541
+ const n = r.cloneNode(!0);
1542
+ n.setAttribute("data-clone", String(s.length - o - 1)), this.prepend(n);
1543
+ }), i.forEach((r, o) => {
1544
+ const n = r.cloneNode(!0);
1545
+ n.setAttribute("data-clone", String(o)), this.append(n);
1383
1546
  });
1384
1547
  }
1385
1548
  handelSlideChange() {
@@ -1425,25 +1588,25 @@ var u = class extends U {
1425
1588
  * @param behavior - The behavior used for scrolling.
1426
1589
  */
1427
1590
  goToSlide(s, t = "smooth") {
1428
- const { slidesPerPage: e, loop: i } = this, o = this.getSlides(), r = this.getSlides({ excludeClones: !1 });
1429
- if (!o.length)
1591
+ const { slidesPerPage: e, loop: i } = this, r = this.getSlides(), o = this.getSlides({ excludeClones: !1 });
1592
+ if (!r.length)
1430
1593
  return;
1431
- const n = i ? (s + o.length) % o.length : pt(s, 0, o.length - 1);
1594
+ const n = i ? (s + r.length) % r.length : pt(s, 0, r.length - 1);
1432
1595
  this.activeSlide = n;
1433
- const l = pt(s + (i ? e : 0), 0, r.length - 1), a = r[l];
1434
- this.scrollToSlide(a, At() ? "auto" : t);
1596
+ const l = pt(s + (i ? e : 0), 0, o.length - 1), a = o[l];
1597
+ this.scrollToSlide(a, Et() ? "auto" : t);
1435
1598
  }
1436
1599
  scrollToSlide(s, t = "smooth") {
1437
- const e = this.scrollContainer, i = e.getBoundingClientRect(), o = s.getBoundingClientRect(), r = o.left - i.left, n = o.top - i.top;
1600
+ const e = this.scrollContainer, i = e.getBoundingClientRect(), r = s.getBoundingClientRect(), o = r.left - i.left, n = r.top - i.top;
1438
1601
  e.scrollTo({
1439
- left: r + e.scrollLeft,
1602
+ left: o + e.scrollLeft,
1440
1603
  top: n + e.scrollTop,
1441
1604
  behavior: t
1442
1605
  });
1443
1606
  }
1444
1607
  render() {
1445
- const { slidesPerMove: s, scrolling: t } = this, e = this.getPageCount(), i = this.getCurrentPage(), o = this.canScrollPrev(), r = this.canScrollNext(), n = this.localize.dir() === "ltr";
1446
- return y`
1608
+ const { slidesPerMove: s, scrolling: t } = this, e = this.getPageCount(), i = this.getCurrentPage(), r = this.canScrollPrev(), o = this.canScrollNext(), n = this.localize.dir() === "ltr";
1609
+ return b`
1447
1610
  <div part="base" class="carousel">
1448
1611
  <div
1449
1612
  id="scroll-container"
@@ -1464,25 +1627,25 @@ var u = class extends U {
1464
1627
  @scrollend=${this.handleScrollEnd}
1465
1628
  >
1466
1629
  <slot></slot>
1467
- ${Et(Ct(this.getShadowSlideCount()), () => y`
1630
+ ${Mt(kt(this.getShadowSlideCount()), () => b`
1468
1631
  <sl-carousel-item class="shadow-slide"></sl-carousel-item>
1469
1632
  `)}
1470
1633
 
1471
1634
  </div>
1472
1635
 
1473
- ${this.navigation ? y`
1636
+ ${this.navigation ? b`
1474
1637
  <div part="navigation" class="carousel__navigation">
1475
1638
  <button
1476
1639
  part="navigation-button navigation-button--previous"
1477
1640
  class="${F({
1478
1641
  "carousel__navigation-button": !0,
1479
1642
  "carousel__navigation-button--previous": !0,
1480
- "carousel__navigation-button--disabled": !o
1643
+ "carousel__navigation-button--disabled": !r
1481
1644
  })}"
1482
1645
  aria-label="${this.localize.term("previousSlide")}"
1483
1646
  aria-controls="scroll-container"
1484
- aria-disabled="${o ? "false" : "true"}"
1485
- @click=${o ? () => this.previous() : null}
1647
+ aria-disabled="${r ? "false" : "true"}"
1648
+ @click=${r ? () => this.previous() : null}
1486
1649
  >
1487
1650
  <slot name="previous-icon">
1488
1651
  <sl-icon library="system" name="${n ? "chevron-left" : "chevron-right"}"></sl-icon>
@@ -1494,12 +1657,12 @@ var u = class extends U {
1494
1657
  class=${F({
1495
1658
  "carousel__navigation-button": !0,
1496
1659
  "carousel__navigation-button--next": !0,
1497
- "carousel__navigation-button--disabled": !r
1660
+ "carousel__navigation-button--disabled": !o
1498
1661
  })}
1499
1662
  aria-label="${this.localize.term("nextSlide")}"
1500
1663
  aria-controls="scroll-container"
1501
- aria-disabled="${r ? "false" : "true"}"
1502
- @click=${r ? () => this.next() : null}
1664
+ aria-disabled="${o ? "false" : "true"}"
1665
+ @click=${o ? () => this.next() : null}
1503
1666
  >
1504
1667
  <slot name="next-icon">
1505
1668
  <sl-icon library="system" name="${n ? "chevron-right" : "chevron-left"}"></sl-icon>
@@ -1507,11 +1670,11 @@ var u = class extends U {
1507
1670
  </button>
1508
1671
  </div>
1509
1672
  ` : ""}
1510
- ${this.pagination ? y`
1673
+ ${this.pagination ? b`
1511
1674
  <div part="pagination" role="tablist" class="carousel__pagination" aria-controls="scroll-container">
1512
- ${Et(Ct(e), (l) => {
1675
+ ${Mt(kt(e), (l) => {
1513
1676
  const a = l === i;
1514
- return y`
1677
+ return b`
1515
1678
  <button
1516
1679
  part="pagination-item ${a ? "pagination-item--active" : ""}"
1517
1680
  class="${F({
@@ -1533,75 +1696,75 @@ var u = class extends U {
1533
1696
  `;
1534
1697
  }
1535
1698
  };
1536
- u.styles = [Vt, xe];
1537
- u.dependencies = { "sl-icon": f };
1699
+ u.styles = [Jt, Pe];
1700
+ u.dependencies = { "sl-icon": m };
1538
1701
  c([
1539
- m({ type: Boolean, reflect: !0 })
1702
+ f({ type: Boolean, reflect: !0 })
1540
1703
  ], u.prototype, "loop", 2);
1541
1704
  c([
1542
- m({ type: Boolean, reflect: !0 })
1705
+ f({ type: Boolean, reflect: !0 })
1543
1706
  ], u.prototype, "navigation", 2);
1544
1707
  c([
1545
- m({ type: Boolean, reflect: !0 })
1708
+ f({ type: Boolean, reflect: !0 })
1546
1709
  ], u.prototype, "pagination", 2);
1547
1710
  c([
1548
- m({ type: Boolean, reflect: !0 })
1711
+ f({ type: Boolean, reflect: !0 })
1549
1712
  ], u.prototype, "autoplay", 2);
1550
1713
  c([
1551
- m({ type: Number, attribute: "autoplay-interval" })
1714
+ f({ type: Number, attribute: "autoplay-interval" })
1552
1715
  ], u.prototype, "autoplayInterval", 2);
1553
1716
  c([
1554
- m({ type: Number, attribute: "slides-per-page" })
1717
+ f({ type: Number, attribute: "slides-per-page" })
1555
1718
  ], u.prototype, "slidesPerPage", 2);
1556
1719
  c([
1557
- m({ type: Number, attribute: "slides-per-move" })
1720
+ f({ type: Number, attribute: "slides-per-move" })
1558
1721
  ], u.prototype, "slidesPerMove", 2);
1559
1722
  c([
1560
- m()
1723
+ f()
1561
1724
  ], u.prototype, "orientation", 2);
1562
1725
  c([
1563
- m({ type: Boolean, reflect: !0, attribute: "mouse-dragging" })
1726
+ f({ type: Boolean, reflect: !0, attribute: "mouse-dragging" })
1564
1727
  ], u.prototype, "mouseDragging", 2);
1565
1728
  c([
1566
- qt(".carousel__slides")
1729
+ Kt(".carousel__slides")
1567
1730
  ], u.prototype, "scrollContainer", 2);
1568
1731
  c([
1569
- qt(".carousel__pagination")
1732
+ Kt(".carousel__pagination")
1570
1733
  ], u.prototype, "paginationContainer", 2);
1571
1734
  c([
1572
- Z()
1735
+ Y()
1573
1736
  ], u.prototype, "activeSlide", 2);
1574
1737
  c([
1575
- Z()
1738
+ Y()
1576
1739
  ], u.prototype, "scrolling", 2);
1577
1740
  c([
1578
- Z()
1741
+ Y()
1579
1742
  ], u.prototype, "dragging", 2);
1580
1743
  c([
1581
- Ne({ passive: !0 })
1744
+ Je({ passive: !0 })
1582
1745
  ], u.prototype, "handleScroll", 1);
1583
1746
  c([
1584
- x("loop", { waitUntilFirstUpdate: !0 }),
1585
- x("slidesPerPage", { waitUntilFirstUpdate: !0 })
1747
+ P("loop", { waitUntilFirstUpdate: !0 }),
1748
+ P("slidesPerPage", { waitUntilFirstUpdate: !0 })
1586
1749
  ], u.prototype, "initializeSlides", 1);
1587
1750
  c([
1588
- x("activeSlide")
1751
+ P("activeSlide")
1589
1752
  ], u.prototype, "handelSlideChange", 1);
1590
1753
  c([
1591
- x("slidesPerMove")
1754
+ P("slidesPerMove")
1592
1755
  ], u.prototype, "updateSlidesSnap", 1);
1593
1756
  c([
1594
- x("autoplay")
1757
+ P("autoplay")
1595
1758
  ], u.prototype, "handleAutoplayChange", 1);
1596
1759
  u.define("sl-carousel");
1597
- const M = (s) => (Qt("data-v-720fb199"), s = s(), Xt(), s), Fe = { class: "wrap" }, We = { class: "viur-shop-item-view-image-wrap" }, Ke = {
1760
+ const z = (s) => (ie("data-v-720fb199"), s = s(), re(), s), is = { class: "wrap" }, rs = { class: "viur-shop-item-view-image-wrap" }, os = {
1598
1761
  class: "viur-shop-item-view-carousel-thumbnails",
1599
1762
  navigation: "",
1600
1763
  loop: ""
1601
- }, Je = ["alt", "src"], Ye = { class: "viur-shop-item-view-thumbnails" }, Ze = { class: "viur-shop-item-view-thumbnails-scroller" }, Ge = ["alt", "src"], Qe = { class: "viur-shop-item-view-info-wrap" }, Xe = { class: "viur-shop-item-view-headline" }, ts = /* @__PURE__ */ M(() => /* @__PURE__ */ p("h2", { class: "viur-shop-item-view-subline" }, "B 21 x H 6,5 x T 19 cm", -1)), es = { class: "viur-shop-item-view-price" }, ss = /* @__PURE__ */ M(() => /* @__PURE__ */ p("div", { class: "viur-shop-item-view-paragraph" }, " Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. ", -1)), is = { class: "viur-shop-item-view-btn-wrap" }, os = /* @__PURE__ */ M(() => /* @__PURE__ */ p("sl-icon", {
1764
+ }, ns = ["alt", "src"], as = { class: "viur-shop-item-view-thumbnails" }, ls = { class: "viur-shop-item-view-thumbnails-scroller" }, cs = ["alt", "src"], hs = { class: "viur-shop-item-view-info-wrap" }, ds = { class: "viur-shop-item-view-headline" }, us = /* @__PURE__ */ z(() => /* @__PURE__ */ p("h2", { class: "viur-shop-item-view-subline" }, "B 21 x H 6,5 x T 19 cm", -1)), ps = { class: "viur-shop-item-view-price" }, gs = /* @__PURE__ */ z(() => /* @__PURE__ */ p("div", { class: "viur-shop-item-view-paragraph" }, " Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. ", -1)), vs = { class: "viur-shop-item-view-btn-wrap" }, fs = /* @__PURE__ */ z(() => /* @__PURE__ */ p("sl-icon", {
1602
1765
  name: "bag-plus",
1603
1766
  slot: "prefix"
1604
- }, null, -1)), rs = /* @__PURE__ */ M(() => /* @__PURE__ */ p("sl-button", {
1767
+ }, null, -1)), ms = /* @__PURE__ */ z(() => /* @__PURE__ */ p("sl-button", {
1605
1768
  size: "small",
1606
1769
  outline: "",
1607
1770
  class: "viur-shop-item-view-add-to-favourites-btn",
@@ -1612,74 +1775,74 @@ const M = (s) => (Qt("data-v-720fb199"), s = s(), Xt(), s), Fe = { class: "wrap"
1612
1775
  name: "heart",
1613
1776
  slot: "prefix"
1614
1777
  }),
1615
- /* @__PURE__ */ Tt(" Auf die Wunschliste ")
1616
- ], -1)), ns = /* @__PURE__ */ M(() => /* @__PURE__ */ p("br", null, null, -1)), as = /* @__PURE__ */ M(() => /* @__PURE__ */ p("h1", { class: "viur-shop-item-view-headline" }, "Ähnliche Artikel", -1)), ls = { class: "viur-shop-item-view-item-grid" }, cs = {
1778
+ /* @__PURE__ */ It(" Auf die Wunschliste ")
1779
+ ], -1)), _s = /* @__PURE__ */ z(() => /* @__PURE__ */ p("br", null, null, -1)), bs = /* @__PURE__ */ z(() => /* @__PURE__ */ p("h1", { class: "viur-shop-item-view-headline" }, "Ähnliche Artikel", -1)), ys = { class: "viur-shop-item-view-item-grid" }, ws = {
1617
1780
  __name: "ItemView",
1618
1781
  setup(s) {
1619
- const t = te(), e = Ft({
1782
+ const t = oe(), e = Yt({
1620
1783
  item: {}
1621
1784
  });
1622
- function i(o) {
1623
- console.log("hier", o.dk_artikel);
1624
- let r = "https://images.unsplash.com/photo-1559209172-0ff8f6d49ff7?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=500&q=80";
1625
- return o != null && o.dk_artikel.dest.image ? ct.downloadUrlFor(o.dk_artikel.dest.image) : r;
1785
+ function i(r) {
1786
+ console.log("hier", r.dk_artikel);
1787
+ let o = "https://images.unsplash.com/photo-1559209172-0ff8f6d49ff7?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=500&q=80";
1788
+ return r != null && r.dk_artikel.dest.image ? ut.downloadUrlFor(r.dk_artikel.dest.image) : o;
1626
1789
  }
1627
- return Wt(async () => {
1628
- ct.get(`/json/variante/view/${t.params.item}`).then(async (o) => {
1629
- let r = await o.json();
1630
- e.item = r.values;
1790
+ return Gt(async () => {
1791
+ ut.get(`/json/variante/view/${t.params.item}`).then(async (r) => {
1792
+ let o = await r.json();
1793
+ e.item = o.values;
1631
1794
  });
1632
- }), (o, r) => (Kt(), Jt(Yt, null, [
1633
- p("div", Fe, [
1634
- p("div", We, [
1635
- p("sl-carousel", Ke, [
1795
+ }), (r, o) => (Qt(), Xt(te, null, [
1796
+ p("div", is, [
1797
+ p("div", rs, [
1798
+ p("sl-carousel", os, [
1636
1799
  p("sl-carousel-item", null, [
1637
1800
  p("img", {
1638
1801
  alt: e.item.shop_name,
1639
1802
  src: i(e.item)
1640
- }, null, 8, Je)
1803
+ }, null, 8, ns)
1641
1804
  ])
1642
1805
  ]),
1643
- p("div", Ye, [
1644
- p("div", Ze, [
1806
+ p("div", as, [
1807
+ p("div", ls, [
1645
1808
  p("img", {
1646
1809
  alt: e.item.shop_name,
1647
1810
  class: "viur-shop-item-view-thumbnails-image active",
1648
1811
  src: i(e.item)
1649
- }, null, 8, Ge)
1812
+ }, null, 8, cs)
1650
1813
  ])
1651
1814
  ])
1652
1815
  ]),
1653
- p("div", Qe, [
1654
- p("h1", Xe, lt(e.item.shop_name), 1),
1655
- ts,
1656
- p("div", es, lt(e.item.shop_price_retail) + " € ", 1),
1657
- ss,
1658
- p("div", is, [
1816
+ p("div", hs, [
1817
+ p("h1", ds, dt(e.item.shop_name), 1),
1818
+ us,
1819
+ p("div", ps, dt(e.item.shop_price_retail) + " € ", 1),
1820
+ gs,
1821
+ p("div", vs, [
1659
1822
  p("sl-button", {
1660
1823
  size: "small",
1661
1824
  class: "viur-shop-item-view-add-to-cart-btn",
1662
1825
  variant: "primary",
1663
1826
  title: "Add to cart",
1664
- onClick: r[0] || (r[0] = Zt((n) => o.cartStore.addToCart(o.item.key, o.cartStore.state.currentCart), ["stop"]))
1827
+ onClick: o[0] || (o[0] = ee((n) => r.cartStore.addToCart(r.item.key, r.cartStore.state.currentCart), ["stop"]))
1665
1828
  }, [
1666
- os,
1667
- Tt(" In den Warenkorb ")
1829
+ fs,
1830
+ It(" In den Warenkorb ")
1668
1831
  ]),
1669
- rs
1832
+ ms
1670
1833
  ])
1671
1834
  ])
1672
1835
  ]),
1673
- ns,
1674
- as,
1675
- p("div", ls, [
1676
- Gt(ee, {
1836
+ _s,
1837
+ bs,
1838
+ p("div", ys, [
1839
+ se(ne, {
1677
1840
  item: e.item
1678
1841
  }, null, 8, ["item"])
1679
1842
  ])
1680
1843
  ], 64));
1681
1844
  }
1682
- }, fs = /* @__PURE__ */ oe(cs, [["__scopeId", "data-v-720fb199"]]);
1845
+ }, Ls = /* @__PURE__ */ ae(ws, [["__scopeId", "data-v-720fb199"]]);
1683
1846
  export {
1684
- fs as default
1847
+ Ls as default
1685
1848
  };