@florid-kit/components 0.8.38 → 0.8.40
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/components/minitile.d.ts +16 -0
- package/index.js +196 -86
- package/index.mjs +645 -488
- package/package.json +1 -1
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
|
|
7
|
-
let
|
|
6
|
+
const vt = globalThis, Pt = vt.ShadowRoot && (vt.ShadyCSS === void 0 || vt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, It = Symbol(), Vt = /* @__PURE__ */ new WeakMap();
|
|
7
|
+
let oe = class {
|
|
8
8
|
constructor(t, e, n) {
|
|
9
|
-
if (this._$cssResult$ = !0, n !==
|
|
9
|
+
if (this._$cssResult$ = !0, n !== It) 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 (
|
|
15
|
+
if (Pt && t === void 0) {
|
|
16
16
|
const n = e !== void 0 && e.length === 1;
|
|
17
|
-
n && (t =
|
|
17
|
+
n && (t = Vt.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), n && Vt.set(e, t));
|
|
18
18
|
}
|
|
19
19
|
return t;
|
|
20
20
|
}
|
|
@@ -22,33 +22,33 @@ let Yt = class {
|
|
|
22
22
|
return this.cssText;
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
|
-
const
|
|
25
|
+
const ce = (o) => new oe(typeof o == "string" ? o : o + "", void 0, It), b = (o, ...t) => {
|
|
26
26
|
const e = o.length === 1 ? o[0] : t.reduce((n, i, r) => n + ((s) => {
|
|
27
27
|
if (s._$cssResult$ === !0) return s.cssText;
|
|
28
28
|
if (typeof s == "number") return s;
|
|
29
29
|
throw Error("Value passed to 'css' function must be a 'css' function result: " + s + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
|
30
30
|
})(i) + o[r + 1], o[0]);
|
|
31
|
-
return new
|
|
32
|
-
},
|
|
33
|
-
if (
|
|
31
|
+
return new oe(e, o, It);
|
|
32
|
+
}, he = (o, t) => {
|
|
33
|
+
if (Pt) 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 =
|
|
35
|
+
const n = document.createElement("style"), i = vt.litNonce;
|
|
36
36
|
i !== void 0 && n.setAttribute("nonce", i), n.textContent = e.cssText, o.appendChild(n);
|
|
37
37
|
}
|
|
38
|
-
},
|
|
38
|
+
}, Zt = Pt ? (o) => o : (o) => o instanceof CSSStyleSheet ? ((t) => {
|
|
39
39
|
let e = "";
|
|
40
40
|
for (const n of t.cssRules) e += n.cssText;
|
|
41
|
-
return
|
|
41
|
+
return ce(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:
|
|
48
|
+
const { is: de, defineProperty: pe, getOwnPropertyDescriptor: ue, getOwnPropertyNames: ve, getOwnPropertySymbols: fe, getPrototypeOf: be } = Object, U = globalThis, qt = U.trustedTypes, ge = qt ? qt.emptyScript : "", $t = U.reactiveElementPolyfillSupport, ot = (o, t) => o, ft = { toAttribute(o, t) {
|
|
49
49
|
switch (t) {
|
|
50
50
|
case Boolean:
|
|
51
|
-
o = o ?
|
|
51
|
+
o = o ? ge : null;
|
|
52
52
|
break;
|
|
53
53
|
case Object:
|
|
54
54
|
case Array:
|
|
@@ -73,23 +73,23 @@ const { is: le, defineProperty: ce, getOwnPropertyDescriptor: he, getOwnProperty
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
return e;
|
|
76
|
-
} },
|
|
77
|
-
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")),
|
|
78
|
-
let
|
|
76
|
+
} }, Ot = (o, t) => !de(o, t), Wt = { attribute: !0, type: String, converter: ft, reflect: !1, useDefault: !1, hasChanged: Ot };
|
|
77
|
+
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), U.litPropertyMetadata ?? (U.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
78
|
+
let J = 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 =
|
|
85
|
+
static createProperty(t, e = Wt) {
|
|
86
86
|
if (e.state && (e.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(t) && ((e = Object.create(e)).wrapped = !0), this.elementProperties.set(t, e), !e.noAccessor) {
|
|
87
87
|
const n = Symbol(), i = this.getPropertyDescriptor(t, n, e);
|
|
88
|
-
i !== void 0 &&
|
|
88
|
+
i !== void 0 && pe(this.prototype, t, i);
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
static getPropertyDescriptor(t, e, n) {
|
|
92
|
-
const { get: i, set: r } =
|
|
92
|
+
const { get: i, set: r } = ue(this.prototype, t) ?? { get() {
|
|
93
93
|
return this[e];
|
|
94
94
|
}, set(s) {
|
|
95
95
|
this[e] = s;
|
|
@@ -100,17 +100,17 @@ let G = class extends HTMLElement {
|
|
|
100
100
|
}, configurable: !0, enumerable: !0 };
|
|
101
101
|
}
|
|
102
102
|
static getPropertyOptions(t) {
|
|
103
|
-
return this.elementProperties.get(t) ??
|
|
103
|
+
return this.elementProperties.get(t) ?? Wt;
|
|
104
104
|
}
|
|
105
105
|
static _$Ei() {
|
|
106
|
-
if (this.hasOwnProperty(
|
|
107
|
-
const t =
|
|
106
|
+
if (this.hasOwnProperty(ot("elementProperties"))) return;
|
|
107
|
+
const t = be(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(
|
|
112
|
-
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(
|
|
113
|
-
const e = this.properties, n = [...
|
|
111
|
+
if (this.hasOwnProperty(ot("finalized"))) return;
|
|
112
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(ot("properties"))) {
|
|
113
|
+
const e = this.properties, n = [...ve(e), ...fe(e)];
|
|
114
114
|
for (const i of n) this.createProperty(i, e[i]);
|
|
115
115
|
}
|
|
116
116
|
const t = this[Symbol.metadata];
|
|
@@ -129,8 +129,8 @@ let G = class extends HTMLElement {
|
|
|
129
129
|
const e = [];
|
|
130
130
|
if (Array.isArray(t)) {
|
|
131
131
|
const n = new Set(t.flat(1 / 0).reverse());
|
|
132
|
-
for (const i of n) e.unshift(
|
|
133
|
-
} else t !== void 0 && e.push(
|
|
132
|
+
for (const i of n) e.unshift(Zt(i));
|
|
133
|
+
} else t !== void 0 && e.push(Zt(t));
|
|
134
134
|
return e;
|
|
135
135
|
}
|
|
136
136
|
static _$Eu(t, e) {
|
|
@@ -159,7 +159,7 @@ let G = class extends HTMLElement {
|
|
|
159
159
|
}
|
|
160
160
|
createRenderRoot() {
|
|
161
161
|
const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
|
162
|
-
return
|
|
162
|
+
return he(t, this.constructor.elementStyles), t;
|
|
163
163
|
}
|
|
164
164
|
connectedCallback() {
|
|
165
165
|
var t;
|
|
@@ -184,7 +184,7 @@ let G = class extends HTMLElement {
|
|
|
184
184
|
var r;
|
|
185
185
|
const n = this.constructor.elementProperties.get(t), i = this.constructor._$Eu(t, n);
|
|
186
186
|
if (i !== void 0 && n.reflect === !0) {
|
|
187
|
-
const s = (((r = n.converter) == null ? void 0 : r.toAttribute) !== void 0 ? n.converter :
|
|
187
|
+
const s = (((r = n.converter) == null ? void 0 : r.toAttribute) !== void 0 ? n.converter : ft).toAttribute(e, n.type);
|
|
188
188
|
this._$Em = t, s == null ? this.removeAttribute(i) : this.setAttribute(i, s), this._$Em = null;
|
|
189
189
|
}
|
|
190
190
|
}
|
|
@@ -192,7 +192,7 @@ let G = class extends HTMLElement {
|
|
|
192
192
|
var r, s;
|
|
193
193
|
const n = this.constructor, i = n._$Eh.get(t);
|
|
194
194
|
if (i !== void 0 && this._$Em !== i) {
|
|
195
|
-
const h = n.getPropertyOptions(i), c = typeof h.converter == "function" ? { fromAttribute: h.converter } : ((r = h.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? h.converter :
|
|
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 : ft;
|
|
196
196
|
this._$Em = i, this[i] = c.fromAttribute(e, h.type) ?? ((s = this._$Ej) == null ? void 0 : s.get(i)) ?? null, this._$Em = null;
|
|
197
197
|
}
|
|
198
198
|
}
|
|
@@ -200,7 +200,7 @@ let G = class extends HTMLElement {
|
|
|
200
200
|
var i;
|
|
201
201
|
if (t !== void 0) {
|
|
202
202
|
const r = this.constructor, s = this[t];
|
|
203
|
-
if (n ?? (n = r.getPropertyOptions(t)), !((n.hasChanged ??
|
|
203
|
+
if (n ?? (n = r.getPropertyOptions(t)), !((n.hasChanged ?? Ot)(s, e) || n.useDefault && n.reflect && s === ((i = this._$Ej) == null ? void 0 : i.get(t)) && !this.hasAttribute(r._$Eu(t, n)))) return;
|
|
204
204
|
this.C(t, e, n);
|
|
205
205
|
}
|
|
206
206
|
this.isUpdatePending === !1 && (this._$ES = this._$EP());
|
|
@@ -276,76 +276,76 @@ let G = class extends HTMLElement {
|
|
|
276
276
|
firstUpdated(t) {
|
|
277
277
|
}
|
|
278
278
|
};
|
|
279
|
-
|
|
279
|
+
J.elementStyles = [], J.shadowRootOptions = { mode: "open" }, J[ot("elementProperties")] = /* @__PURE__ */ new Map(), J[ot("finalized")] = /* @__PURE__ */ new Map(), $t == null || $t({ ReactiveElement: J }), (U.reactiveElementVersions ?? (U.reactiveElementVersions = [])).push("2.1.0");
|
|
280
280
|
/**
|
|
281
281
|
* @license
|
|
282
282
|
* Copyright 2017 Google LLC
|
|
283
283
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
284
284
|
*/
|
|
285
|
-
const
|
|
286
|
-
\f\r]`,
|
|
287
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
288
|
-
function
|
|
289
|
-
if (!
|
|
290
|
-
return
|
|
285
|
+
const it = globalThis, bt = it.trustedTypes, Kt = bt ? bt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, ie = "$lit$", j = `lit$${Math.random().toFixed(9).slice(2)}$`, ne = "?" + j, ye = `<${ne}>`, W = document, rt = () => W.createComment(""), st = (o) => o === null || typeof o != "object" && typeof o != "function", Bt = Array.isArray, me = (o) => Bt(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", _t = `[
|
|
286
|
+
\f\r]`, et = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Gt = /-->/g, Xt = />/g, V = RegExp(`>|${_t}(?:([^\\s"'>=/]+)(${_t}*=${_t}*(?:[^
|
|
287
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Jt = /'/g, Qt = /"/g, re = /^(?:script|style|textarea|title)$/i, xe = (o) => (t, ...e) => ({ _$litType$: o, strings: t, values: e }), l = xe(1), N = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), Yt = /* @__PURE__ */ new WeakMap(), Z = W.createTreeWalker(W, 129);
|
|
288
|
+
function se(o, t) {
|
|
289
|
+
if (!Bt(o) || !o.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
290
|
+
return Kt !== void 0 ? Kt.createHTML(t) : t;
|
|
291
291
|
}
|
|
292
|
-
const
|
|
292
|
+
const we = (o, t) => {
|
|
293
293
|
const e = o.length - 1, n = [];
|
|
294
|
-
let i, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", s =
|
|
294
|
+
let i, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", s = et;
|
|
295
295
|
for (let h = 0; h < e; h++) {
|
|
296
296
|
const c = o[h];
|
|
297
|
-
let
|
|
298
|
-
for (;
|
|
299
|
-
const M = s ===
|
|
300
|
-
r += s ===
|
|
297
|
+
let y, m, p = -1, B = 0;
|
|
298
|
+
for (; B < c.length && (s.lastIndex = B, m = s.exec(c), m !== null); ) B = s.lastIndex, s === et ? m[1] === "!--" ? s = Gt : m[1] !== void 0 ? s = Xt : m[2] !== void 0 ? (re.test(m[2]) && (i = RegExp("</" + m[2], "g")), s = V) : m[3] !== void 0 && (s = V) : s === V ? m[0] === ">" ? (s = i ?? et, p = -1) : m[1] === void 0 ? p = -2 : (p = s.lastIndex - m[2].length, y = m[1], s = m[3] === void 0 ? V : m[3] === '"' ? Qt : Jt) : s === Qt || s === Jt ? s = V : s === Gt || s === Xt ? s = et : (s = V, i = void 0);
|
|
299
|
+
const M = s === V && o[h + 1].startsWith("/>") ? " " : "";
|
|
300
|
+
r += s === et ? c + ye : p >= 0 ? (n.push(y), c.slice(0, p) + ie + c.slice(p) + j + M) : c + j + (p === -2 ? h : M);
|
|
301
301
|
}
|
|
302
|
-
return [
|
|
302
|
+
return [se(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), n];
|
|
303
303
|
};
|
|
304
|
-
class
|
|
304
|
+
class at {
|
|
305
305
|
constructor({ strings: t, _$litType$: e }, n) {
|
|
306
306
|
let i;
|
|
307
307
|
this.parts = [];
|
|
308
308
|
let r = 0, s = 0;
|
|
309
|
-
const h = t.length - 1, c = this.parts, [
|
|
310
|
-
if (this.el =
|
|
309
|
+
const h = t.length - 1, c = this.parts, [y, m] = we(t, e);
|
|
310
|
+
if (this.el = at.createElement(y, n), Z.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 =
|
|
314
|
+
for (; (i = Z.nextNode()) !== null && c.length < h; ) {
|
|
315
315
|
if (i.nodeType === 1) {
|
|
316
|
-
if (i.hasAttributes()) for (const p of i.getAttributeNames()) if (p.endsWith(
|
|
317
|
-
const
|
|
318
|
-
c.push({ type: 1, index: r, name:
|
|
319
|
-
} else p.startsWith(
|
|
320
|
-
if (
|
|
321
|
-
const p = i.textContent.split(
|
|
322
|
-
if (
|
|
323
|
-
i.textContent =
|
|
324
|
-
for (let M = 0; M <
|
|
325
|
-
i.append(p[
|
|
316
|
+
if (i.hasAttributes()) for (const p of i.getAttributeNames()) if (p.endsWith(ie)) {
|
|
317
|
+
const B = m[s++], M = i.getAttribute(p).split(j), ut = /([.?@])?(.*)/.exec(B);
|
|
318
|
+
c.push({ type: 1, index: r, name: ut[2], strings: M, ctor: ut[1] === "." ? _e : ut[1] === "?" ? Ce : ut[1] === "@" ? ke : yt }), i.removeAttribute(p);
|
|
319
|
+
} else p.startsWith(j) && (c.push({ type: 6, index: r }), i.removeAttribute(p));
|
|
320
|
+
if (re.test(i.tagName)) {
|
|
321
|
+
const p = i.textContent.split(j), B = p.length - 1;
|
|
322
|
+
if (B > 0) {
|
|
323
|
+
i.textContent = bt ? bt.emptyScript : "";
|
|
324
|
+
for (let M = 0; M < B; M++) i.append(p[M], rt()), Z.nextNode(), c.push({ type: 2, index: ++r });
|
|
325
|
+
i.append(p[B], rt());
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
|
-
} else if (i.nodeType === 8) if (i.data ===
|
|
328
|
+
} else if (i.nodeType === 8) if (i.data === ne) c.push({ type: 2, index: r });
|
|
329
329
|
else {
|
|
330
330
|
let p = -1;
|
|
331
|
-
for (; (p = i.data.indexOf(
|
|
331
|
+
for (; (p = i.data.indexOf(j, p + 1)) !== -1; ) c.push({ type: 7, index: r }), p += j.length - 1;
|
|
332
332
|
}
|
|
333
333
|
r++;
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
336
|
static createElement(t, e) {
|
|
337
|
-
const n =
|
|
337
|
+
const n = W.createElement("template");
|
|
338
338
|
return n.innerHTML = t, n;
|
|
339
339
|
}
|
|
340
340
|
}
|
|
341
|
-
function
|
|
341
|
+
function Q(o, t, e = o, n) {
|
|
342
342
|
var s, h;
|
|
343
343
|
if (t === N) return t;
|
|
344
344
|
let i = n !== void 0 ? (s = e._$Co) == null ? void 0 : s[n] : e._$Cl;
|
|
345
|
-
const r =
|
|
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 =
|
|
345
|
+
const r = st(t) ? void 0 : t._$litDirective$;
|
|
346
|
+
return (i == null ? void 0 : i.constructor) !== r && ((h = i == null ? void 0 : i._$AO) == null || h.call(i, !1), r === void 0 ? i = void 0 : (i = new r(o), i._$AT(o, e, n)), n !== void 0 ? (e._$Co ?? (e._$Co = []))[n] = i : e._$Cl = i), i !== void 0 && (t = Q(o, i._$AS(o, t.values), i, n)), t;
|
|
347
347
|
}
|
|
348
|
-
class
|
|
348
|
+
class $e {
|
|
349
349
|
constructor(t, e) {
|
|
350
350
|
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
|
|
351
351
|
}
|
|
@@ -356,24 +356,24 @@ class me {
|
|
|
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) ??
|
|
360
|
-
|
|
361
|
-
let r =
|
|
359
|
+
const { el: { content: e }, parts: n } = this._$AD, i = ((t == null ? void 0 : t.creationScope) ?? W).importNode(e, !0);
|
|
360
|
+
Z.currentNode = i;
|
|
361
|
+
let r = Z.nextNode(), s = 0, h = 0, c = n[0];
|
|
362
362
|
for (; c !== void 0; ) {
|
|
363
363
|
if (s === c.index) {
|
|
364
|
-
let
|
|
365
|
-
c.type === 2 ?
|
|
364
|
+
let y;
|
|
365
|
+
c.type === 2 ? y = new pt(r, r.nextSibling, this, t) : c.type === 1 ? y = new c.ctor(r, c.name, c.strings, this, t) : c.type === 6 && (y = new Ae(r, this, t)), this._$AV.push(y), c = n[++h];
|
|
366
366
|
}
|
|
367
|
-
s !== (c == null ? void 0 : c.index) && (r =
|
|
367
|
+
s !== (c == null ? void 0 : c.index) && (r = Z.nextNode(), s++);
|
|
368
368
|
}
|
|
369
|
-
return
|
|
369
|
+
return Z.currentNode = W, i;
|
|
370
370
|
}
|
|
371
371
|
p(t) {
|
|
372
372
|
let e = 0;
|
|
373
373
|
for (const n of this._$AV) n !== void 0 && (n.strings !== void 0 ? (n._$AI(t, n, e), e += n.strings.length - 2) : n._$AI(t[e])), e++;
|
|
374
374
|
}
|
|
375
375
|
}
|
|
376
|
-
class
|
|
376
|
+
class pt {
|
|
377
377
|
get _$AU() {
|
|
378
378
|
var t;
|
|
379
379
|
return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
|
|
@@ -393,7 +393,7 @@ class ht {
|
|
|
393
393
|
return this._$AB;
|
|
394
394
|
}
|
|
395
395
|
_$AI(t, e = this) {
|
|
396
|
-
t =
|
|
396
|
+
t = Q(this, t, e), st(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== N && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : me(t) ? this.k(t) : this._(t);
|
|
397
397
|
}
|
|
398
398
|
O(t) {
|
|
399
399
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -402,26 +402,26 @@ class ht {
|
|
|
402
402
|
this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
|
|
403
403
|
}
|
|
404
404
|
_(t) {
|
|
405
|
-
this._$AH !== d &&
|
|
405
|
+
this._$AH !== d && st(this._$AH) ? this._$AA.nextSibling.data = t : this.T(W.createTextNode(t)), this._$AH = t;
|
|
406
406
|
}
|
|
407
407
|
$(t) {
|
|
408
408
|
var r;
|
|
409
|
-
const { values: e, _$litType$: n } = t, i = typeof n == "number" ? this._$AC(t) : (n.el === void 0 && (n.el =
|
|
409
|
+
const { values: e, _$litType$: n } = t, i = typeof n == "number" ? this._$AC(t) : (n.el === void 0 && (n.el = at.createElement(se(n.h, n.h[0]), this.options)), n);
|
|
410
410
|
if (((r = this._$AH) == null ? void 0 : r._$AD) === i) this._$AH.p(e);
|
|
411
411
|
else {
|
|
412
|
-
const s = new
|
|
412
|
+
const s = new $e(i, 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 =
|
|
418
|
-
return e === void 0 &&
|
|
417
|
+
let e = Yt.get(t.strings);
|
|
418
|
+
return e === void 0 && Yt.set(t.strings, e = new at(t)), e;
|
|
419
419
|
}
|
|
420
420
|
k(t) {
|
|
421
|
-
|
|
421
|
+
Bt(this._$AH) || (this._$AH = [], this._$AR());
|
|
422
422
|
const e = this._$AH;
|
|
423
423
|
let n, i = 0;
|
|
424
|
-
for (const r of t) i === e.length ? e.push(n = new
|
|
424
|
+
for (const r of t) i === e.length ? e.push(n = new pt(this.O(rt()), this.O(rt()), this, this.options)) : n = e[i], n._$AI(r), i++;
|
|
425
425
|
i < e.length && (this._$AR(n && n._$AB.nextSibling, i), e.length = i);
|
|
426
426
|
}
|
|
427
427
|
_$AR(t = this._$AA.nextSibling, e) {
|
|
@@ -436,7 +436,7 @@ class ht {
|
|
|
436
436
|
this._$AM === void 0 && (this._$Cv = t, (e = this._$AP) == null || e.call(this, t));
|
|
437
437
|
}
|
|
438
438
|
}
|
|
439
|
-
class
|
|
439
|
+
class yt {
|
|
440
440
|
get tagName() {
|
|
441
441
|
return this.element.tagName;
|
|
442
442
|
}
|
|
@@ -449,11 +449,11 @@ class ft {
|
|
|
449
449
|
_$AI(t, e = this, n, i) {
|
|
450
450
|
const r = this.strings;
|
|
451
451
|
let s = !1;
|
|
452
|
-
if (r === void 0) t =
|
|
452
|
+
if (r === void 0) t = Q(this, t, e, 0), s = !st(t) || t !== this._$AH && t !== N, s && (this._$AH = t);
|
|
453
453
|
else {
|
|
454
454
|
const h = t;
|
|
455
|
-
let c,
|
|
456
|
-
for (t = r[0], c = 0; c < r.length - 1; c++)
|
|
455
|
+
let c, y;
|
|
456
|
+
for (t = r[0], c = 0; c < r.length - 1; c++) y = Q(this, h[n + c], e, c), y === N && (y = this._$AH[c]), s || (s = !st(y) || y !== this._$AH[c]), y === d ? t = d : t !== d && (t += (y ?? "") + r[c + 1]), this._$AH[c] = y;
|
|
457
457
|
}
|
|
458
458
|
s && !i && this.j(t);
|
|
459
459
|
}
|
|
@@ -461,7 +461,7 @@ class ft {
|
|
|
461
461
|
t === d ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
|
462
462
|
}
|
|
463
463
|
}
|
|
464
|
-
class
|
|
464
|
+
class _e extends yt {
|
|
465
465
|
constructor() {
|
|
466
466
|
super(...arguments), this.type = 3;
|
|
467
467
|
}
|
|
@@ -469,7 +469,7 @@ class xe extends ft {
|
|
|
469
469
|
this.element[this.name] = t === d ? void 0 : t;
|
|
470
470
|
}
|
|
471
471
|
}
|
|
472
|
-
class
|
|
472
|
+
class Ce extends yt {
|
|
473
473
|
constructor() {
|
|
474
474
|
super(...arguments), this.type = 4;
|
|
475
475
|
}
|
|
@@ -477,12 +477,12 @@ class we extends ft {
|
|
|
477
477
|
this.element.toggleAttribute(this.name, !!t && t !== d);
|
|
478
478
|
}
|
|
479
479
|
}
|
|
480
|
-
class
|
|
480
|
+
class ke extends yt {
|
|
481
481
|
constructor(t, e, n, i, r) {
|
|
482
482
|
super(t, e, n, i, r), this.type = 5;
|
|
483
483
|
}
|
|
484
484
|
_$AI(t, e = this) {
|
|
485
|
-
if ((t =
|
|
485
|
+
if ((t = Q(this, t, e, 0) ?? d) === N) return;
|
|
486
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
487
|
i && this.element.removeEventListener(this.name, this, n), r && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
|
488
488
|
}
|
|
@@ -491,7 +491,7 @@ class $e extends ft {
|
|
|
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
|
|
494
|
+
class Ae {
|
|
495
495
|
constructor(t, e, n) {
|
|
496
496
|
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = n;
|
|
497
497
|
}
|
|
@@ -499,17 +499,17 @@ class _e {
|
|
|
499
499
|
return this._$AM._$AU;
|
|
500
500
|
}
|
|
501
501
|
_$AI(t) {
|
|
502
|
-
|
|
502
|
+
Q(this, t);
|
|
503
503
|
}
|
|
504
504
|
}
|
|
505
|
-
const
|
|
506
|
-
|
|
507
|
-
const
|
|
505
|
+
const Ct = it.litHtmlPolyfillSupport;
|
|
506
|
+
Ct == null || Ct(at, pt), (it.litHtmlVersions ?? (it.litHtmlVersions = [])).push("3.3.0");
|
|
507
|
+
const Ee = (o, t, e) => {
|
|
508
508
|
const n = (e == null ? void 0 : e.renderBefore) ?? t;
|
|
509
509
|
let i = n._$litPart$;
|
|
510
510
|
if (i === void 0) {
|
|
511
511
|
const r = (e == null ? void 0 : e.renderBefore) ?? null;
|
|
512
|
-
n._$litPart$ = i = new
|
|
512
|
+
n._$litPart$ = i = new pt(t.insertBefore(rt(), r), r, void 0, e ?? {});
|
|
513
513
|
}
|
|
514
514
|
return i._$AI(o), i;
|
|
515
515
|
};
|
|
@@ -518,8 +518,8 @@ const Ce = (o, t, e) => {
|
|
|
518
518
|
* Copyright 2017 Google LLC
|
|
519
519
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
520
520
|
*/
|
|
521
|
-
const
|
|
522
|
-
let
|
|
521
|
+
const q = globalThis;
|
|
522
|
+
let u = class extends J {
|
|
523
523
|
constructor() {
|
|
524
524
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
525
525
|
}
|
|
@@ -530,7 +530,7 @@ let v = class extends G {
|
|
|
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 =
|
|
533
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Ee(e, this.renderRoot, this.renderOptions);
|
|
534
534
|
}
|
|
535
535
|
connectedCallback() {
|
|
536
536
|
var t;
|
|
@@ -544,11 +544,11 @@ let v = class extends G {
|
|
|
544
544
|
return N;
|
|
545
545
|
}
|
|
546
546
|
};
|
|
547
|
-
var
|
|
548
|
-
|
|
549
|
-
const
|
|
550
|
-
|
|
551
|
-
(
|
|
547
|
+
var ee;
|
|
548
|
+
u._$litElement$ = !0, u.finalized = !0, (ee = q.litElementHydrateSupport) == null || ee.call(q, { LitElement: u });
|
|
549
|
+
const kt = q.litElementPolyfillSupport;
|
|
550
|
+
kt == null || kt({ LitElement: u });
|
|
551
|
+
(q.litElementVersions ?? (q.litElementVersions = [])).push("4.2.0");
|
|
552
552
|
/**
|
|
553
553
|
* @license
|
|
554
554
|
* Copyright 2017 Google LLC
|
|
@@ -564,7 +564,7 @@ const x = (o) => (t, e) => {
|
|
|
564
564
|
* Copyright 2017 Google LLC
|
|
565
565
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
566
566
|
*/
|
|
567
|
-
const
|
|
567
|
+
const Se = { attribute: !0, type: String, converter: ft, reflect: !1, hasChanged: Ot }, Le = (o = Se, t, e) => {
|
|
568
568
|
const { kind: n, metadata: i } = e;
|
|
569
569
|
let r = globalThis.litPropertyMetadata.get(i);
|
|
570
570
|
if (r === void 0 && globalThis.litPropertyMetadata.set(i, r = /* @__PURE__ */ new Map()), n === "setter" && ((o = Object.create(o)).wrapped = !0), r.set(e.name, o), n === "accessor") {
|
|
@@ -586,7 +586,7 @@ const ke = { attribute: !0, type: String, converter: ut, reflect: !1, hasChanged
|
|
|
586
586
|
throw Error("Unsupported decorator location: " + n);
|
|
587
587
|
};
|
|
588
588
|
function a(o) {
|
|
589
|
-
return (t, e) => typeof e == "object" ?
|
|
589
|
+
return (t, e) => typeof e == "object" ? Le(o, t, e) : ((n, i, r) => {
|
|
590
590
|
const s = i.hasOwnProperty(r);
|
|
591
591
|
return i.constructor.createProperty(r, n), s ? Object.getOwnPropertyDescriptor(i, r) : void 0;
|
|
592
592
|
})(o, t, e);
|
|
@@ -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
|
|
599
|
+
function K(o) {
|
|
600
600
|
return a({ ...o, state: !0, attribute: !1 });
|
|
601
601
|
}
|
|
602
|
-
const
|
|
602
|
+
const mt = b`
|
|
603
603
|
outline: 1px dashed var(--button-border-color);
|
|
604
604
|
outline-offset: 2px;
|
|
605
605
|
outline: dashed black;
|
|
606
606
|
`;
|
|
607
|
-
|
|
607
|
+
b`
|
|
608
608
|
:host * {
|
|
609
609
|
box-sizing: border-box;
|
|
610
610
|
}
|
|
@@ -614,12 +614,12 @@ y`
|
|
|
614
614
|
* Copyright 2023 Google LLC
|
|
615
615
|
* SPDX-License-Identifier: Apache-2.0
|
|
616
616
|
*/
|
|
617
|
-
const
|
|
618
|
-
function
|
|
617
|
+
const zt = Symbol("internals"), At = Symbol("privateInternals");
|
|
618
|
+
function Dt(o) {
|
|
619
619
|
var t;
|
|
620
620
|
class e extends o {
|
|
621
|
-
get [(t =
|
|
622
|
-
return this[
|
|
621
|
+
get [(t = zt, t)]() {
|
|
622
|
+
return this[At] || (this[At] = this.attachInternals()), this[At];
|
|
623
623
|
}
|
|
624
624
|
}
|
|
625
625
|
return e;
|
|
@@ -629,11 +629,11 @@ function Bt(o) {
|
|
|
629
629
|
* Copyright 2023 Google LLC
|
|
630
630
|
* SPDX-License-Identifier: Apache-2.0
|
|
631
631
|
*/
|
|
632
|
-
function
|
|
632
|
+
function Pe(o) {
|
|
633
633
|
o.addInitializer((t) => {
|
|
634
634
|
const e = t;
|
|
635
635
|
e.addEventListener("click", async (n) => {
|
|
636
|
-
const { type: i, [
|
|
636
|
+
const { type: i, [zt]: r } = e, { form: s } = r;
|
|
637
637
|
if (!(!s || i === "button") && (await new Promise((h) => {
|
|
638
638
|
setTimeout(h);
|
|
639
639
|
}), !n.defaultPrevented)) {
|
|
@@ -656,41 +656,41 @@ function Ee(o) {
|
|
|
656
656
|
});
|
|
657
657
|
});
|
|
658
658
|
}
|
|
659
|
-
const
|
|
659
|
+
const Ie = `<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
|
-
`,
|
|
662
|
+
`, Oe = `<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
|
-
`,
|
|
665
|
+
`, Be = `<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
|
-
`,
|
|
668
|
+
`, ze = `<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
|
-
`,
|
|
671
|
+
`, De = `<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
|
-
`,
|
|
674
|
+
`, He = `<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
|
-
`,
|
|
677
|
+
`, Te = `<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
|
-
`,
|
|
680
|
+
`, Me = `<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
|
-
`,
|
|
683
|
+
`, je = `<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
|
-
`,
|
|
686
|
+
`, Ue = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
687
687
|
<path d="M2 2L14 14" stroke="#3F2B2E"/>
|
|
688
688
|
<path d="M14 2L2 14" stroke="#3F2B2E"/>
|
|
689
689
|
</svg>
|
|
690
|
-
`,
|
|
690
|
+
`, Ne = `<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
|
-
`,
|
|
693
|
+
`, Re = `<?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 Se = `<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
|
-
`,
|
|
703
|
+
`, Fe = `<?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,69 +709,74 @@ const Se = `<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
|
-
`,
|
|
712
|
+
`, Ve = `<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
|
-
`,
|
|
715
|
+
`, Ze = `<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
|
-
`,
|
|
718
|
+
`, qe = `<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
|
-
`,
|
|
721
|
+
`, We = `<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
|
-
`,
|
|
724
|
+
`, Ke = `<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
|
-
`,
|
|
727
|
+
`, Ge = `<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
|
-
`,
|
|
730
|
+
`, Xe = `<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
|
-
`,
|
|
733
|
+
`, Je = `<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
|
-
`,
|
|
737
|
+
`, Qe = `<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
|
-
`,
|
|
740
|
+
`, Ye = `<svg viewBox="0 0 200 200" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg">
|
|
741
741
|
<line x1="0" y1="0" x2="200" y2="200" />
|
|
742
|
-
</svg>`,
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
"star-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
742
|
+
</svg>`, to = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
743
|
+
<path d="M2.31202e-08 7.85218C0.974855 6.83983 3.01741 4.44477 6.12766 0.666992L6.54545 0.926252C5.54739 3.04971 4.35203 5.40773 2.95938 8.00033C4.35203 10.5929 5.54739 12.9509 6.54545 15.0744L6.12766 15.3337C3.01741 11.5559 0.974855 9.16082 0 8.14847L2.31202e-08 7.85218Z" fill="#3F2B2E"/>
|
|
744
|
+
<path d="M16 8.14847C15.0251 9.16082 12.9826 11.5559 9.87234 15.3337L9.45455 15.0744C10.4526 12.9509 11.648 10.5929 13.0406 8.00033C11.648 5.40773 10.4526 3.04971 9.45455 0.92625L9.87234 0.666992C12.9826 4.44477 15.0251 6.83983 16 7.85218V8.14847Z" fill="#3F2B2E"/>
|
|
745
|
+
</svg>
|
|
746
|
+
`, G = {
|
|
747
|
+
wishlist: Ie,
|
|
748
|
+
playerv: Oe,
|
|
749
|
+
chevronRight: Be,
|
|
750
|
+
chevronLeft: ze,
|
|
751
|
+
icoPlus: Re,
|
|
752
|
+
icoMinus: Fe,
|
|
753
|
+
"star-0": De,
|
|
754
|
+
"star-25": He,
|
|
755
|
+
"star-50": Te,
|
|
756
|
+
"star-75": Me,
|
|
757
|
+
"star-100": je,
|
|
758
|
+
cross: Ue,
|
|
759
|
+
search: Ne,
|
|
760
|
+
arrowLeft: Ve,
|
|
761
|
+
arrowTop: Ze,
|
|
762
|
+
cart: qe,
|
|
763
|
+
notifyme: We,
|
|
764
|
+
triangledown: Ke,
|
|
765
|
+
triangleup: Ge,
|
|
766
|
+
checkstroke: Xe,
|
|
767
|
+
pause: Je,
|
|
768
|
+
mapDualArrow: Qe,
|
|
769
|
+
swipeDualArrow: to
|
|
770
|
+
}, eo = {
|
|
771
|
+
strikeDiagonal: Ye
|
|
767
772
|
};
|
|
768
773
|
/**
|
|
769
774
|
* @license
|
|
770
775
|
* Copyright 2017 Google LLC
|
|
771
776
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
772
777
|
*/
|
|
773
|
-
const
|
|
774
|
-
let
|
|
778
|
+
const Ht = { ATTRIBUTE: 1, CHILD: 2 }, Tt = (o) => (...t) => ({ _$litDirective$: o, values: t });
|
|
779
|
+
let Mt = class {
|
|
775
780
|
constructor(t) {
|
|
776
781
|
}
|
|
777
782
|
get _$AU() {
|
|
@@ -792,9 +797,9 @@ let Ht = class {
|
|
|
792
797
|
* Copyright 2017 Google LLC
|
|
793
798
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
794
799
|
*/
|
|
795
|
-
class
|
|
800
|
+
class Et extends Mt {
|
|
796
801
|
constructor(t) {
|
|
797
|
-
if (super(t), this.it = d, t.type !==
|
|
802
|
+
if (super(t), this.it = d, t.type !== Ht.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
|
|
798
803
|
}
|
|
799
804
|
render(t) {
|
|
800
805
|
if (t === d || t == null) return this._t = void 0, this.it = t;
|
|
@@ -806,23 +811,23 @@ class kt extends Ht {
|
|
|
806
811
|
return e.raw = e, this._t = { _$litType$: this.constructor.resultType, strings: e, values: [] };
|
|
807
812
|
}
|
|
808
813
|
}
|
|
809
|
-
|
|
814
|
+
Et.directiveName = "unsafeHTML", Et.resultType = 1;
|
|
810
815
|
/**
|
|
811
816
|
* @license
|
|
812
817
|
* Copyright 2017 Google LLC
|
|
813
818
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
814
819
|
*/
|
|
815
|
-
class
|
|
820
|
+
class St extends Et {
|
|
816
821
|
}
|
|
817
|
-
|
|
818
|
-
const
|
|
819
|
-
var
|
|
820
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
822
|
+
St.directiveName = "unsafeSVG", St.resultType = 2;
|
|
823
|
+
const L = Tt(St);
|
|
824
|
+
var oo = Object.defineProperty, io = Object.getOwnPropertyDescriptor, w = (o, t, e, n) => {
|
|
825
|
+
for (var i = n > 1 ? void 0 : n ? io(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
821
826
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
822
|
-
return n && i &&
|
|
827
|
+
return n && i && oo(t, e, i), i;
|
|
823
828
|
};
|
|
824
|
-
const
|
|
825
|
-
let
|
|
829
|
+
const no = Dt(u);
|
|
830
|
+
let f = class extends no {
|
|
826
831
|
constructor() {
|
|
827
832
|
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;
|
|
828
833
|
}
|
|
@@ -833,7 +838,7 @@ let b = class extends to {
|
|
|
833
838
|
this.setAttribute("name", o);
|
|
834
839
|
}
|
|
835
840
|
get form() {
|
|
836
|
-
return this[
|
|
841
|
+
return this[zt].form;
|
|
837
842
|
}
|
|
838
843
|
handleClick() {
|
|
839
844
|
if (this.panelTarget) {
|
|
@@ -847,11 +852,11 @@ let b = class extends to {
|
|
|
847
852
|
renderIcon(o) {
|
|
848
853
|
const t = o === "start" ? this.startIconModel : this.endIconModel;
|
|
849
854
|
if (!t) return d;
|
|
850
|
-
const e =
|
|
855
|
+
const e = G[t].replace(
|
|
851
856
|
"<svg",
|
|
852
857
|
'<svg aria-hidden="true" focusable="false" part="svg"'
|
|
853
858
|
);
|
|
854
|
-
return l`<span class="${o === "start" ? "icon-start" : "icon-end"}">${
|
|
859
|
+
return l`<span class="${o === "start" ? "icon-start" : "icon-end"}">${L(e)}</span>`;
|
|
855
860
|
}
|
|
856
861
|
renderButton() {
|
|
857
862
|
const o = this.text || this.textsecond;
|
|
@@ -885,9 +890,9 @@ let b = class extends to {
|
|
|
885
890
|
`;
|
|
886
891
|
}
|
|
887
892
|
};
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
893
|
+
Pe(f);
|
|
894
|
+
f.formAssociated = !0;
|
|
895
|
+
f.styles = b`
|
|
891
896
|
:host {
|
|
892
897
|
--button-border: transparent;
|
|
893
898
|
cursor: pointer;
|
|
@@ -999,7 +1004,7 @@ b.styles = y`
|
|
|
999
1004
|
}
|
|
1000
1005
|
|
|
1001
1006
|
.button:focus-visible {
|
|
1002
|
-
${
|
|
1007
|
+
${mt};
|
|
1003
1008
|
}
|
|
1004
1009
|
|
|
1005
1010
|
span.text + span.text::before {
|
|
@@ -1074,58 +1079,58 @@ b.styles = y`
|
|
|
1074
1079
|
`;
|
|
1075
1080
|
w([
|
|
1076
1081
|
a()
|
|
1077
|
-
],
|
|
1082
|
+
], f.prototype, "type", 2);
|
|
1078
1083
|
w([
|
|
1079
1084
|
a({ reflect: !0 })
|
|
1080
|
-
],
|
|
1085
|
+
], f.prototype, "value", 2);
|
|
1081
1086
|
w([
|
|
1082
1087
|
a({ type: String, reflect: !0 })
|
|
1083
|
-
],
|
|
1088
|
+
], f.prototype, "variant", 2);
|
|
1084
1089
|
w([
|
|
1085
1090
|
a({ type: String })
|
|
1086
|
-
],
|
|
1091
|
+
], f.prototype, "text", 2);
|
|
1087
1092
|
w([
|
|
1088
1093
|
a({ type: String })
|
|
1089
|
-
],
|
|
1094
|
+
], f.prototype, "textsecond", 2);
|
|
1090
1095
|
w([
|
|
1091
1096
|
a({ type: Boolean, reflect: !0 })
|
|
1092
|
-
],
|
|
1097
|
+
], f.prototype, "fullwidth", 2);
|
|
1093
1098
|
w([
|
|
1094
1099
|
a({ type: Boolean, reflect: !0 })
|
|
1095
|
-
],
|
|
1100
|
+
], f.prototype, "disabled", 2);
|
|
1096
1101
|
w([
|
|
1097
1102
|
a({ type: String, reflect: !0 })
|
|
1098
|
-
],
|
|
1103
|
+
], f.prototype, "startIconModel", 2);
|
|
1099
1104
|
w([
|
|
1100
1105
|
a({ type: String, reflect: !0 })
|
|
1101
|
-
],
|
|
1106
|
+
], f.prototype, "endIconModel", 2);
|
|
1102
1107
|
w([
|
|
1103
1108
|
a({ type: Boolean, reflect: !0, attribute: "starticon" })
|
|
1104
|
-
],
|
|
1109
|
+
], f.prototype, "startIcon", 2);
|
|
1105
1110
|
w([
|
|
1106
1111
|
a({ type: Boolean, reflect: !0, attribute: "endicon" })
|
|
1107
|
-
],
|
|
1112
|
+
], f.prototype, "endIcon", 2);
|
|
1108
1113
|
w([
|
|
1109
1114
|
a({ type: String, attribute: "paneltarget", reflect: !0 })
|
|
1110
|
-
],
|
|
1115
|
+
], f.prototype, "panelTarget", 2);
|
|
1111
1116
|
w([
|
|
1112
1117
|
a({ type: String })
|
|
1113
|
-
],
|
|
1118
|
+
], f.prototype, "href", 2);
|
|
1114
1119
|
w([
|
|
1115
1120
|
a({ type: String })
|
|
1116
|
-
],
|
|
1121
|
+
], f.prototype, "target", 2);
|
|
1117
1122
|
w([
|
|
1118
1123
|
a({ type: Boolean, reflect: !0 })
|
|
1119
|
-
],
|
|
1120
|
-
|
|
1124
|
+
], f.prototype, "underlined", 2);
|
|
1125
|
+
f = w([
|
|
1121
1126
|
x("o-button")
|
|
1122
|
-
],
|
|
1123
|
-
var
|
|
1124
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
1127
|
+
], f);
|
|
1128
|
+
var ro = Object.defineProperty, so = Object.getOwnPropertyDescriptor, xt = (o, t, e, n) => {
|
|
1129
|
+
for (var i = n > 1 ? void 0 : n ? so(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
1125
1130
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
1126
|
-
return n && i &&
|
|
1131
|
+
return n && i && ro(t, e, i), i;
|
|
1127
1132
|
};
|
|
1128
|
-
let
|
|
1133
|
+
let Y = class extends u {
|
|
1129
1134
|
constructor() {
|
|
1130
1135
|
super(...arguments), this.status = "empty", this.ariaDescribedBy = "a-product-name", this.label = "Add to wishlist", this.toggleStatus = () => {
|
|
1131
1136
|
this.status = this.status === "empty" ? "filled" : "empty", this.setAttribute("aria-pressed", String(this.status === "filled")), this.dispatchEvent(new CustomEvent("wishlist-toggle", {
|
|
@@ -1145,14 +1150,14 @@ let J = class extends v {
|
|
|
1145
1150
|
(o.key === "Enter" || o.key === " ") && (o.preventDefault(), this.toggleStatus());
|
|
1146
1151
|
}
|
|
1147
1152
|
render() {
|
|
1148
|
-
const o =
|
|
1153
|
+
const o = G.wishlist.replace(
|
|
1149
1154
|
"<svg",
|
|
1150
1155
|
'<svg aria-hidden="true" focusable="false" part="svg"'
|
|
1151
1156
|
);
|
|
1152
1157
|
return l`
|
|
1153
1158
|
<button type="button" aria-describedby="${this.ariaDescribedBy}" class="wishlist-button">
|
|
1154
1159
|
<span class="sr-only">${this.label}</span>
|
|
1155
|
-
${
|
|
1160
|
+
${L(o)}
|
|
1156
1161
|
</button>
|
|
1157
1162
|
`;
|
|
1158
1163
|
}
|
|
@@ -1166,7 +1171,7 @@ let J = class extends v {
|
|
|
1166
1171
|
this.label = o, this.requestUpdate();
|
|
1167
1172
|
}
|
|
1168
1173
|
};
|
|
1169
|
-
|
|
1174
|
+
Y.styles = b`
|
|
1170
1175
|
:host {
|
|
1171
1176
|
display: inline-flex;
|
|
1172
1177
|
justify-content: center;
|
|
@@ -1232,30 +1237,30 @@ J.styles = y`
|
|
|
1232
1237
|
white-space: nowrap !important;
|
|
1233
1238
|
}
|
|
1234
1239
|
`;
|
|
1235
|
-
|
|
1240
|
+
xt([
|
|
1236
1241
|
a({ type: String, reflect: !0 })
|
|
1237
|
-
],
|
|
1238
|
-
|
|
1242
|
+
], Y.prototype, "status", 2);
|
|
1243
|
+
xt([
|
|
1239
1244
|
a({ type: String, reflect: !0 })
|
|
1240
|
-
],
|
|
1241
|
-
|
|
1245
|
+
], Y.prototype, "ariaDescribedBy", 2);
|
|
1246
|
+
xt([
|
|
1242
1247
|
a({ type: String, reflect: !0 })
|
|
1243
|
-
],
|
|
1244
|
-
|
|
1248
|
+
], Y.prototype, "label", 2);
|
|
1249
|
+
Y = xt([
|
|
1245
1250
|
x("o-wishlist-button")
|
|
1246
|
-
],
|
|
1251
|
+
], Y);
|
|
1247
1252
|
/**
|
|
1248
1253
|
* @license
|
|
1249
1254
|
* Copyright 2018 Google LLC
|
|
1250
1255
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1251
1256
|
*/
|
|
1252
1257
|
const $ = (o) => o ?? d;
|
|
1253
|
-
var
|
|
1254
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
1258
|
+
var ao = Object.defineProperty, lo = Object.getOwnPropertyDescriptor, I = (o, t, e, n) => {
|
|
1259
|
+
for (var i = n > 1 ? void 0 : n ? lo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
1255
1260
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
1256
|
-
return n && i &&
|
|
1261
|
+
return n && i && ao(t, e, i), i;
|
|
1257
1262
|
};
|
|
1258
|
-
let _ = class extends
|
|
1263
|
+
let _ = class extends u {
|
|
1259
1264
|
constructor() {
|
|
1260
1265
|
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 = "";
|
|
1261
1266
|
}
|
|
@@ -1263,14 +1268,14 @@ let _ = class extends v {
|
|
|
1263
1268
|
super.updated(o), this.style.setProperty("--icon-stroke-width", this.strokewidth);
|
|
1264
1269
|
}
|
|
1265
1270
|
render() {
|
|
1266
|
-
const o =
|
|
1271
|
+
const o = G[this.icon] ?? "", t = `icon-${this.icon}`, e = o.replace(
|
|
1267
1272
|
"<svg",
|
|
1268
1273
|
'<svg aria-hidden="true" focusable="false" part="svg"'
|
|
1269
1274
|
), n = this.showSrLabel ? l`<span class="sr-only">${this.srLabel}</span>` : null, i = this.showSrLabel ? null : "icon";
|
|
1270
1275
|
return l`
|
|
1271
1276
|
${this.type === "span" ? l`
|
|
1272
1277
|
<span class="icon icon-button ${this.size} ${this.bgstyle} ${this.status} ${t}" ?disabled="${this.disabled}">
|
|
1273
|
-
${
|
|
1278
|
+
${L(e)}
|
|
1274
1279
|
</span>
|
|
1275
1280
|
` : l`
|
|
1276
1281
|
<button
|
|
@@ -1279,14 +1284,14 @@ let _ = class extends v {
|
|
|
1279
1284
|
class="icon-button ${this.size} ${this.bgstyle} ${this.status} ${t}"
|
|
1280
1285
|
?disabled="${this.disabled}"
|
|
1281
1286
|
>
|
|
1282
|
-
${
|
|
1287
|
+
${L(e)}
|
|
1283
1288
|
${n}
|
|
1284
1289
|
</button>
|
|
1285
1290
|
`}
|
|
1286
1291
|
`;
|
|
1287
1292
|
}
|
|
1288
1293
|
};
|
|
1289
|
-
_.styles =
|
|
1294
|
+
_.styles = b`
|
|
1290
1295
|
:host {
|
|
1291
1296
|
display: inline-flex;
|
|
1292
1297
|
justify-content: center;
|
|
@@ -1497,42 +1502,42 @@ _.styles = y`
|
|
|
1497
1502
|
display: none;
|
|
1498
1503
|
}
|
|
1499
1504
|
`;
|
|
1500
|
-
|
|
1505
|
+
I([
|
|
1501
1506
|
a({ type: String, reflect: !0 })
|
|
1502
1507
|
], _.prototype, "bgstyle", 2);
|
|
1503
|
-
|
|
1508
|
+
I([
|
|
1504
1509
|
a({ type: String, reflect: !0 })
|
|
1505
1510
|
], _.prototype, "size", 2);
|
|
1506
|
-
|
|
1511
|
+
I([
|
|
1507
1512
|
a({ type: String, reflect: !0 })
|
|
1508
1513
|
], _.prototype, "status", 2);
|
|
1509
|
-
|
|
1514
|
+
I([
|
|
1510
1515
|
a({ type: String, reflect: !0 })
|
|
1511
1516
|
], _.prototype, "type", 2);
|
|
1512
|
-
|
|
1517
|
+
I([
|
|
1513
1518
|
a({ type: String })
|
|
1514
1519
|
], _.prototype, "strokewidth", 2);
|
|
1515
|
-
|
|
1520
|
+
I([
|
|
1516
1521
|
a({ type: String })
|
|
1517
1522
|
], _.prototype, "icon", 2);
|
|
1518
|
-
|
|
1523
|
+
I([
|
|
1519
1524
|
a({ type: Boolean, reflect: !0 })
|
|
1520
1525
|
], _.prototype, "disabled", 2);
|
|
1521
|
-
|
|
1526
|
+
I([
|
|
1522
1527
|
a({ type: Boolean })
|
|
1523
1528
|
], _.prototype, "showSrLabel", 2);
|
|
1524
|
-
|
|
1529
|
+
I([
|
|
1525
1530
|
a({ type: String })
|
|
1526
1531
|
], _.prototype, "srLabel", 2);
|
|
1527
|
-
_ =
|
|
1532
|
+
_ = I([
|
|
1528
1533
|
x("o-icon-button")
|
|
1529
1534
|
], _);
|
|
1530
|
-
var
|
|
1531
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
1535
|
+
var co = Object.defineProperty, ho = Object.getOwnPropertyDescriptor, X = (o, t, e, n) => {
|
|
1536
|
+
for (var i = n > 1 ? void 0 : n ? ho(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
1532
1537
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
1533
|
-
return n && i &&
|
|
1538
|
+
return n && i && co(t, e, i), i;
|
|
1534
1539
|
};
|
|
1535
|
-
let
|
|
1540
|
+
let z = class extends u {
|
|
1536
1541
|
constructor() {
|
|
1537
1542
|
super(...arguments), this.href = "", this.target = "", this.template = "standard", this.inverse = !1, this.endIcon = !1, this.reverseEndIcon = !1;
|
|
1538
1543
|
}
|
|
@@ -1570,7 +1575,7 @@ let B = class extends v {
|
|
|
1570
1575
|
`;
|
|
1571
1576
|
}
|
|
1572
1577
|
};
|
|
1573
|
-
|
|
1578
|
+
z.styles = b`
|
|
1574
1579
|
:host([template="standard"]) a {
|
|
1575
1580
|
color: var(--color-content-action-secondary);
|
|
1576
1581
|
font-size: var(--font-size-200);
|
|
@@ -1658,33 +1663,33 @@ B.styles = y`
|
|
|
1658
1663
|
}
|
|
1659
1664
|
/* End of underline effect */
|
|
1660
1665
|
`;
|
|
1661
|
-
|
|
1666
|
+
X([
|
|
1662
1667
|
a({ type: String })
|
|
1663
|
-
],
|
|
1664
|
-
|
|
1668
|
+
], z.prototype, "href", 2);
|
|
1669
|
+
X([
|
|
1665
1670
|
a({ type: String })
|
|
1666
|
-
],
|
|
1667
|
-
|
|
1671
|
+
], z.prototype, "target", 2);
|
|
1672
|
+
X([
|
|
1668
1673
|
a({ type: String, reflect: !0 })
|
|
1669
|
-
],
|
|
1670
|
-
|
|
1674
|
+
], z.prototype, "template", 2);
|
|
1675
|
+
X([
|
|
1671
1676
|
a({ type: Boolean, reflect: !0 })
|
|
1672
|
-
],
|
|
1673
|
-
|
|
1677
|
+
], z.prototype, "inverse", 2);
|
|
1678
|
+
X([
|
|
1674
1679
|
a({ type: Boolean, reflect: !0 })
|
|
1675
|
-
],
|
|
1676
|
-
|
|
1680
|
+
], z.prototype, "endIcon", 2);
|
|
1681
|
+
X([
|
|
1677
1682
|
a({ type: Boolean, reflect: !0 })
|
|
1678
|
-
],
|
|
1679
|
-
|
|
1683
|
+
], z.prototype, "reverseEndIcon", 2);
|
|
1684
|
+
z = X([
|
|
1680
1685
|
x("o-link")
|
|
1681
|
-
],
|
|
1682
|
-
var
|
|
1683
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
1686
|
+
], z);
|
|
1687
|
+
var po = Object.defineProperty, uo = Object.getOwnPropertyDescriptor, wt = (o, t, e, n) => {
|
|
1688
|
+
for (var i = n > 1 ? void 0 : n ? uo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
1684
1689
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
1685
|
-
return n && i &&
|
|
1690
|
+
return n && i && po(t, e, i), i;
|
|
1686
1691
|
};
|
|
1687
|
-
let
|
|
1692
|
+
let tt = class extends u {
|
|
1688
1693
|
constructor() {
|
|
1689
1694
|
super(...arguments), this.rating = 0;
|
|
1690
1695
|
}
|
|
@@ -1703,7 +1708,7 @@ let Q = class extends v {
|
|
|
1703
1708
|
<div class="rating">
|
|
1704
1709
|
<div class="stars">
|
|
1705
1710
|
${o.map(
|
|
1706
|
-
(t) => l`<span class="star">${
|
|
1711
|
+
(t) => l`<span class="star">${L(G[t] ?? "")}</span>`
|
|
1707
1712
|
)}
|
|
1708
1713
|
</div>
|
|
1709
1714
|
${this.reviewCount != null && this.href != null ? l`<o-link template="review" href="${this.href}">${this.reviewCount}</o-link>` : null}
|
|
@@ -1711,7 +1716,7 @@ let Q = class extends v {
|
|
|
1711
1716
|
`;
|
|
1712
1717
|
}
|
|
1713
1718
|
};
|
|
1714
|
-
|
|
1719
|
+
tt.styles = b`
|
|
1715
1720
|
svg {
|
|
1716
1721
|
width: 12px;
|
|
1717
1722
|
height: 12px;
|
|
@@ -1745,74 +1750,74 @@ Q.styles = y`
|
|
|
1745
1750
|
cursor: pointer;
|
|
1746
1751
|
}
|
|
1747
1752
|
`;
|
|
1748
|
-
|
|
1753
|
+
wt([
|
|
1749
1754
|
a({ type: Number })
|
|
1750
|
-
],
|
|
1751
|
-
|
|
1755
|
+
], tt.prototype, "rating", 2);
|
|
1756
|
+
wt([
|
|
1752
1757
|
a({ type: String })
|
|
1753
|
-
],
|
|
1754
|
-
|
|
1758
|
+
], tt.prototype, "reviewCount", 2);
|
|
1759
|
+
wt([
|
|
1755
1760
|
a({ type: String })
|
|
1756
|
-
],
|
|
1757
|
-
|
|
1761
|
+
], tt.prototype, "href", 2);
|
|
1762
|
+
tt = wt([
|
|
1758
1763
|
x("o-rating")
|
|
1759
|
-
],
|
|
1764
|
+
], tt);
|
|
1760
1765
|
/**
|
|
1761
1766
|
* @license
|
|
1762
1767
|
* Copyright 2020 Google LLC
|
|
1763
1768
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1764
1769
|
*/
|
|
1765
|
-
const
|
|
1770
|
+
const vo = (o) => o.strings === void 0;
|
|
1766
1771
|
/**
|
|
1767
1772
|
* @license
|
|
1768
1773
|
* Copyright 2017 Google LLC
|
|
1769
1774
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1770
1775
|
*/
|
|
1771
|
-
const
|
|
1776
|
+
const nt = (o, t) => {
|
|
1772
1777
|
var n;
|
|
1773
1778
|
const e = o._$AN;
|
|
1774
1779
|
if (e === void 0) return !1;
|
|
1775
|
-
for (const i of e) (n = i._$AO) == null || n.call(i, t, !1),
|
|
1780
|
+
for (const i of e) (n = i._$AO) == null || n.call(i, t, !1), nt(i, t);
|
|
1776
1781
|
return !0;
|
|
1777
|
-
},
|
|
1782
|
+
}, gt = (o) => {
|
|
1778
1783
|
let t, e;
|
|
1779
1784
|
do {
|
|
1780
1785
|
if ((t = o._$AM) === void 0) break;
|
|
1781
1786
|
e = t._$AN, e.delete(o), o = t;
|
|
1782
1787
|
} while ((e == null ? void 0 : e.size) === 0);
|
|
1783
|
-
},
|
|
1788
|
+
}, ae = (o) => {
|
|
1784
1789
|
for (let t; t = o._$AM; o = t) {
|
|
1785
1790
|
let e = t._$AN;
|
|
1786
1791
|
if (e === void 0) t._$AN = e = /* @__PURE__ */ new Set();
|
|
1787
1792
|
else if (e.has(o)) break;
|
|
1788
|
-
e.add(o),
|
|
1793
|
+
e.add(o), go(t);
|
|
1789
1794
|
}
|
|
1790
1795
|
};
|
|
1791
|
-
function
|
|
1792
|
-
this._$AN !== void 0 ? (
|
|
1796
|
+
function fo(o) {
|
|
1797
|
+
this._$AN !== void 0 ? (gt(this), this._$AM = o, ae(this)) : this._$AM = o;
|
|
1793
1798
|
}
|
|
1794
|
-
function
|
|
1799
|
+
function bo(o, t = !1, e = 0) {
|
|
1795
1800
|
const n = this._$AH, i = this._$AN;
|
|
1796
|
-
if (i !== void 0 && i.size !== 0) if (t) if (Array.isArray(n)) for (let r = e; r < n.length; r++)
|
|
1797
|
-
else n != null && (
|
|
1798
|
-
else
|
|
1801
|
+
if (i !== void 0 && i.size !== 0) if (t) if (Array.isArray(n)) for (let r = e; r < n.length; r++) nt(n[r], !1), gt(n[r]);
|
|
1802
|
+
else n != null && (nt(n, !1), gt(n));
|
|
1803
|
+
else nt(this, o);
|
|
1799
1804
|
}
|
|
1800
|
-
const
|
|
1801
|
-
o.type ==
|
|
1805
|
+
const go = (o) => {
|
|
1806
|
+
o.type == Ht.CHILD && (o._$AP ?? (o._$AP = bo), o._$AQ ?? (o._$AQ = fo));
|
|
1802
1807
|
};
|
|
1803
|
-
class
|
|
1808
|
+
class yo extends Mt {
|
|
1804
1809
|
constructor() {
|
|
1805
1810
|
super(...arguments), this._$AN = void 0;
|
|
1806
1811
|
}
|
|
1807
1812
|
_$AT(t, e, n) {
|
|
1808
|
-
super._$AT(t, e, n),
|
|
1813
|
+
super._$AT(t, e, n), ae(this), this.isConnected = t._$AU;
|
|
1809
1814
|
}
|
|
1810
1815
|
_$AO(t, e = !0) {
|
|
1811
1816
|
var n, i;
|
|
1812
|
-
t !== this.isConnected && (this.isConnected = t, t ? (n = this.reconnected) == null || n.call(this) : (i = this.disconnected) == null || i.call(this)), e && (
|
|
1817
|
+
t !== this.isConnected && (this.isConnected = t, t ? (n = this.reconnected) == null || n.call(this) : (i = this.disconnected) == null || i.call(this)), e && (nt(this, t), gt(this));
|
|
1813
1818
|
}
|
|
1814
1819
|
setValue(t) {
|
|
1815
|
-
if (
|
|
1820
|
+
if (vo(this._$Ct)) this._$Ct._$AI(t, this);
|
|
1816
1821
|
else {
|
|
1817
1822
|
const e = [...this._$Ct._$AH];
|
|
1818
1823
|
e[this._$Ci] = t, this._$Ct._$AI(e, this, 0);
|
|
@@ -1823,7 +1828,7 @@ class vo extends Ht {
|
|
|
1823
1828
|
reconnected() {
|
|
1824
1829
|
}
|
|
1825
1830
|
}
|
|
1826
|
-
class
|
|
1831
|
+
class mo extends yo {
|
|
1827
1832
|
constructor() {
|
|
1828
1833
|
super(...arguments), this.prevData = {};
|
|
1829
1834
|
}
|
|
@@ -1850,7 +1855,7 @@ class bo extends vo {
|
|
|
1850
1855
|
(!t || !(i in t) && n[i] === e[i]) && (n[i] = void 0);
|
|
1851
1856
|
}
|
|
1852
1857
|
}
|
|
1853
|
-
class
|
|
1858
|
+
class xo extends mo {
|
|
1854
1859
|
constructor() {
|
|
1855
1860
|
super(...arguments), this.eventData = {};
|
|
1856
1861
|
}
|
|
@@ -1894,7 +1899,7 @@ class fo extends bo {
|
|
|
1894
1899
|
}
|
|
1895
1900
|
}
|
|
1896
1901
|
}
|
|
1897
|
-
class
|
|
1902
|
+
class wo extends xo {
|
|
1898
1903
|
apply(t) {
|
|
1899
1904
|
if (!t)
|
|
1900
1905
|
return;
|
|
@@ -1943,13 +1948,13 @@ class go extends fo {
|
|
|
1943
1948
|
}
|
|
1944
1949
|
}
|
|
1945
1950
|
}
|
|
1946
|
-
const
|
|
1947
|
-
var
|
|
1948
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
1951
|
+
const te = Tt(wo);
|
|
1952
|
+
var $o = Object.defineProperty, _o = Object.getOwnPropertyDescriptor, g = (o, t, e, n) => {
|
|
1953
|
+
for (var i = n > 1 ? void 0 : n ? _o(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
1949
1954
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
1950
|
-
return n && i &&
|
|
1955
|
+
return n && i && $o(t, e, i), i;
|
|
1951
1956
|
};
|
|
1952
|
-
let
|
|
1957
|
+
let v = class extends u {
|
|
1953
1958
|
constructor() {
|
|
1954
1959
|
super(...arguments), this.open = !1, this.showHeader = !0, this.showFooter = !1, this.showHeaderStartIcon = !1, this.headerTitle = "", this.headerTitleClassName = "panel-title", this.closeButtonLabel = "Close the modal", this.firstButtonLabel = "Close", this.firstButtonVariant = "primary", this.firstButtonProps = {}, this.onFirstButtonClickClose = !1, this.secondButtonLabel = "", this.secondButtonVariant = "secondary", this.secondButtonProps = {}, this.onSecondButtonClickClose = !1, this.disablePortal = !1, this.zIndex = 99, this.initialized = !1, this.previousFocusedElement = null, this.handleKeyDown = (o) => {
|
|
1955
1960
|
this.open && (o.key === "Escape" ? this.closePanel() : o.key === "Tab" && this.trapFocus(o));
|
|
@@ -2061,7 +2066,7 @@ let u = class extends v {
|
|
|
2061
2066
|
variant="${this.firstButtonVariant}"
|
|
2062
2067
|
@click=${this.handleFirstClick}
|
|
2063
2068
|
@keydown=${this.handleFirstClick}
|
|
2064
|
-
${
|
|
2069
|
+
${te(this.firstButtonProps)}
|
|
2065
2070
|
>
|
|
2066
2071
|
${this.firstButtonLabel}
|
|
2067
2072
|
</o-button>
|
|
@@ -2072,7 +2077,7 @@ let u = class extends v {
|
|
|
2072
2077
|
variant="${this.secondButtonVariant}"
|
|
2073
2078
|
@click=${this.handleSecondClick}
|
|
2074
2079
|
@keydown=${this.handleSecondClick}
|
|
2075
|
-
${
|
|
2080
|
+
${te(this.secondButtonProps)}
|
|
2076
2081
|
>
|
|
2077
2082
|
${this.secondButtonLabel}
|
|
2078
2083
|
</o-button>
|
|
@@ -2083,7 +2088,7 @@ let u = class extends v {
|
|
|
2083
2088
|
`;
|
|
2084
2089
|
}
|
|
2085
2090
|
};
|
|
2086
|
-
|
|
2091
|
+
v.styles = b`
|
|
2087
2092
|
:host {
|
|
2088
2093
|
--z-overlay: 99;
|
|
2089
2094
|
--z-panel: 100;
|
|
@@ -2187,7 +2192,7 @@ u.styles = y`
|
|
|
2187
2192
|
.panel:focus-visible,
|
|
2188
2193
|
.close-btn:focus,
|
|
2189
2194
|
.close-btn:focus-visible {
|
|
2190
|
-
${
|
|
2195
|
+
${mt}
|
|
2191
2196
|
}
|
|
2192
2197
|
|
|
2193
2198
|
.content {
|
|
@@ -2232,69 +2237,69 @@ u.styles = y`
|
|
|
2232
2237
|
}
|
|
2233
2238
|
}
|
|
2234
2239
|
`;
|
|
2235
|
-
|
|
2240
|
+
g([
|
|
2236
2241
|
a({ type: Boolean, reflect: !0 })
|
|
2237
|
-
],
|
|
2238
|
-
|
|
2242
|
+
], v.prototype, "open", 2);
|
|
2243
|
+
g([
|
|
2239
2244
|
a({ type: Boolean, reflect: !0 })
|
|
2240
|
-
],
|
|
2241
|
-
|
|
2245
|
+
], v.prototype, "showHeader", 2);
|
|
2246
|
+
g([
|
|
2242
2247
|
a({ type: Boolean, reflect: !0 })
|
|
2243
|
-
],
|
|
2244
|
-
|
|
2248
|
+
], v.prototype, "showFooter", 2);
|
|
2249
|
+
g([
|
|
2245
2250
|
a({ type: Boolean, reflect: !0 })
|
|
2246
|
-
],
|
|
2247
|
-
|
|
2251
|
+
], v.prototype, "showHeaderStartIcon", 2);
|
|
2252
|
+
g([
|
|
2248
2253
|
a({ type: String, reflect: !0 })
|
|
2249
|
-
],
|
|
2250
|
-
|
|
2254
|
+
], v.prototype, "headerTitle", 2);
|
|
2255
|
+
g([
|
|
2251
2256
|
a({ type: String, reflect: !0 })
|
|
2252
|
-
],
|
|
2253
|
-
|
|
2257
|
+
], v.prototype, "headerTitleClassName", 2);
|
|
2258
|
+
g([
|
|
2254
2259
|
a({ type: String, reflect: !0 })
|
|
2255
|
-
],
|
|
2256
|
-
|
|
2260
|
+
], v.prototype, "closeButtonLabel", 2);
|
|
2261
|
+
g([
|
|
2257
2262
|
a({ type: String, reflect: !0 })
|
|
2258
|
-
],
|
|
2259
|
-
|
|
2263
|
+
], v.prototype, "firstButtonLabel", 2);
|
|
2264
|
+
g([
|
|
2260
2265
|
a({ type: String, reflect: !0 })
|
|
2261
|
-
],
|
|
2262
|
-
|
|
2266
|
+
], v.prototype, "firstButtonVariant", 2);
|
|
2267
|
+
g([
|
|
2263
2268
|
a({ type: Object, reflect: !0 })
|
|
2264
|
-
],
|
|
2265
|
-
|
|
2269
|
+
], v.prototype, "firstButtonProps", 2);
|
|
2270
|
+
g([
|
|
2266
2271
|
a({ type: Boolean, reflect: !0 })
|
|
2267
|
-
],
|
|
2268
|
-
|
|
2272
|
+
], v.prototype, "onFirstButtonClickClose", 2);
|
|
2273
|
+
g([
|
|
2269
2274
|
a({ type: String, reflect: !0 })
|
|
2270
|
-
],
|
|
2271
|
-
|
|
2275
|
+
], v.prototype, "secondButtonLabel", 2);
|
|
2276
|
+
g([
|
|
2272
2277
|
a({ type: String, reflect: !0 })
|
|
2273
|
-
],
|
|
2274
|
-
|
|
2278
|
+
], v.prototype, "secondButtonVariant", 2);
|
|
2279
|
+
g([
|
|
2275
2280
|
a({ type: Object, reflect: !0 })
|
|
2276
|
-
],
|
|
2277
|
-
|
|
2281
|
+
], v.prototype, "secondButtonProps", 2);
|
|
2282
|
+
g([
|
|
2278
2283
|
a({ type: Boolean, reflect: !0 })
|
|
2279
|
-
],
|
|
2280
|
-
|
|
2284
|
+
], v.prototype, "onSecondButtonClickClose", 2);
|
|
2285
|
+
g([
|
|
2281
2286
|
a({ type: Boolean, reflect: !0 })
|
|
2282
|
-
],
|
|
2283
|
-
|
|
2287
|
+
], v.prototype, "disablePortal", 2);
|
|
2288
|
+
g([
|
|
2284
2289
|
a({ type: Number, reflect: !0 })
|
|
2285
|
-
],
|
|
2286
|
-
|
|
2290
|
+
], v.prototype, "zIndex", 2);
|
|
2291
|
+
g([
|
|
2287
2292
|
a({ type: Boolean, reflect: !0 })
|
|
2288
|
-
],
|
|
2289
|
-
|
|
2293
|
+
], v.prototype, "initialized", 2);
|
|
2294
|
+
v = g([
|
|
2290
2295
|
x("o-side-panel")
|
|
2291
|
-
],
|
|
2292
|
-
var
|
|
2293
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
2296
|
+
], v);
|
|
2297
|
+
var Co = Object.defineProperty, ko = Object.getOwnPropertyDescriptor, R = (o, t, e, n) => {
|
|
2298
|
+
for (var i = n > 1 ? void 0 : n ? ko(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
2294
2299
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
2295
|
-
return n && i &&
|
|
2300
|
+
return n && i && Co(t, e, i), i;
|
|
2296
2301
|
};
|
|
2297
|
-
let
|
|
2302
|
+
let P = class extends u {
|
|
2298
2303
|
constructor() {
|
|
2299
2304
|
super(...arguments), this.thumbnails = [], this.activeIndex = 0, this.disabledIndexes = [], this.maxWidth = "100%", this.altressource = "visual", this.focusedIndex = 0, this.playerIconTemplate = l`
|
|
2300
2305
|
<o-icon-button
|
|
@@ -2371,7 +2376,7 @@ let L = class extends v {
|
|
|
2371
2376
|
`;
|
|
2372
2377
|
}
|
|
2373
2378
|
};
|
|
2374
|
-
|
|
2379
|
+
P.styles = b`
|
|
2375
2380
|
:host {
|
|
2376
2381
|
display: flex;
|
|
2377
2382
|
gap: 5px;
|
|
@@ -2477,36 +2482,36 @@ L.styles = y`
|
|
|
2477
2482
|
width: 0;
|
|
2478
2483
|
}
|
|
2479
2484
|
`;
|
|
2480
|
-
|
|
2485
|
+
R([
|
|
2481
2486
|
a({ type: Array })
|
|
2482
|
-
],
|
|
2483
|
-
|
|
2487
|
+
], P.prototype, "thumbnails", 2);
|
|
2488
|
+
R([
|
|
2484
2489
|
a({ type: Number })
|
|
2485
|
-
],
|
|
2486
|
-
|
|
2490
|
+
], P.prototype, "activeIndex", 2);
|
|
2491
|
+
R([
|
|
2487
2492
|
a({ type: Array })
|
|
2488
|
-
],
|
|
2489
|
-
|
|
2493
|
+
], P.prototype, "disabledIndexes", 2);
|
|
2494
|
+
R([
|
|
2490
2495
|
a({ type: String })
|
|
2491
|
-
],
|
|
2492
|
-
|
|
2496
|
+
], P.prototype, "maxWidth", 2);
|
|
2497
|
+
R([
|
|
2493
2498
|
a({ type: String })
|
|
2494
|
-
],
|
|
2495
|
-
|
|
2499
|
+
], P.prototype, "altressource", 2);
|
|
2500
|
+
R([
|
|
2496
2501
|
a({ type: Object })
|
|
2497
|
-
],
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
],
|
|
2501
|
-
|
|
2502
|
+
], P.prototype, "swiperInstance", 2);
|
|
2503
|
+
R([
|
|
2504
|
+
K()
|
|
2505
|
+
], P.prototype, "focusedIndex", 2);
|
|
2506
|
+
P = R([
|
|
2502
2507
|
x("thumbnail-navigation")
|
|
2503
|
-
],
|
|
2504
|
-
var
|
|
2505
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
2508
|
+
], P);
|
|
2509
|
+
var Ao = Object.defineProperty, Eo = Object.getOwnPropertyDescriptor, jt = (o, t, e, n) => {
|
|
2510
|
+
for (var i = n > 1 ? void 0 : n ? Eo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
2506
2511
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
2507
|
-
return n && i &&
|
|
2512
|
+
return n && i && Ao(t, e, i), i;
|
|
2508
2513
|
};
|
|
2509
|
-
let
|
|
2514
|
+
let lt = class extends u {
|
|
2510
2515
|
constructor() {
|
|
2511
2516
|
super(...arguments), this.type = "", this.bgstyle = "background-white";
|
|
2512
2517
|
}
|
|
@@ -2516,7 +2521,7 @@ let st = class extends v {
|
|
|
2516
2521
|
`;
|
|
2517
2522
|
}
|
|
2518
2523
|
};
|
|
2519
|
-
|
|
2524
|
+
lt.styles = b`
|
|
2520
2525
|
.tag {
|
|
2521
2526
|
display: inline-block;
|
|
2522
2527
|
padding: var(--spacing-2-xs) var(--spacing-s);
|
|
@@ -2572,21 +2577,21 @@ st.styles = y`
|
|
|
2572
2577
|
}
|
|
2573
2578
|
|
|
2574
2579
|
`;
|
|
2575
|
-
|
|
2580
|
+
jt([
|
|
2576
2581
|
a({ type: String, reflect: !0 })
|
|
2577
|
-
],
|
|
2578
|
-
|
|
2582
|
+
], lt.prototype, "type", 2);
|
|
2583
|
+
jt([
|
|
2579
2584
|
a({ type: String, reflect: !0 })
|
|
2580
|
-
],
|
|
2581
|
-
|
|
2585
|
+
], lt.prototype, "bgstyle", 2);
|
|
2586
|
+
lt = jt([
|
|
2582
2587
|
x("o-tag")
|
|
2583
|
-
],
|
|
2584
|
-
var
|
|
2585
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
2588
|
+
], lt);
|
|
2589
|
+
var So = Object.defineProperty, Lo = Object.getOwnPropertyDescriptor, Ut = (o, t, e, n) => {
|
|
2590
|
+
for (var i = n > 1 ? void 0 : n ? Lo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
2586
2591
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
2587
|
-
return n && i &&
|
|
2592
|
+
return n && i && So(t, e, i), i;
|
|
2588
2593
|
};
|
|
2589
|
-
let
|
|
2594
|
+
let ct = class extends u {
|
|
2590
2595
|
constructor() {
|
|
2591
2596
|
super(...arguments), this.type = "top", this.text = "";
|
|
2592
2597
|
}
|
|
@@ -2599,7 +2604,7 @@ let at = class extends v {
|
|
|
2599
2604
|
`;
|
|
2600
2605
|
}
|
|
2601
2606
|
};
|
|
2602
|
-
|
|
2607
|
+
ct.styles = b`
|
|
2603
2608
|
.tooltip {
|
|
2604
2609
|
position: relative;
|
|
2605
2610
|
display: inline-block;
|
|
@@ -2692,21 +2697,21 @@ at.styles = y`
|
|
|
2692
2697
|
}
|
|
2693
2698
|
|
|
2694
2699
|
`;
|
|
2695
|
-
|
|
2700
|
+
Ut([
|
|
2696
2701
|
a({ type: String, reflect: !0 })
|
|
2697
|
-
],
|
|
2698
|
-
|
|
2702
|
+
], ct.prototype, "type", 2);
|
|
2703
|
+
Ut([
|
|
2699
2704
|
a({ type: String, reflect: !0 })
|
|
2700
|
-
],
|
|
2701
|
-
|
|
2705
|
+
], ct.prototype, "text", 2);
|
|
2706
|
+
ct = Ut([
|
|
2702
2707
|
x("o-tooltip")
|
|
2703
|
-
],
|
|
2704
|
-
var
|
|
2705
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
2708
|
+
], ct);
|
|
2709
|
+
var Po = Object.defineProperty, Io = Object.getOwnPropertyDescriptor, D = (o, t, e, n) => {
|
|
2710
|
+
for (var i = n > 1 ? void 0 : n ? Io(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
2706
2711
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
2707
|
-
return n && i &&
|
|
2712
|
+
return n && i && Po(t, e, i), i;
|
|
2708
2713
|
};
|
|
2709
|
-
let A = class extends
|
|
2714
|
+
let A = class extends u {
|
|
2710
2715
|
constructor() {
|
|
2711
2716
|
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) => {
|
|
2712
2717
|
this.contains(o.target) || (this.open = !1, this.activeIndex = -1);
|
|
@@ -2772,7 +2777,7 @@ let A = class extends v {
|
|
|
2772
2777
|
this.options.length > 0 && (this.options.some((e) => e.value === this.value) || (this.value = this.options[0].value));
|
|
2773
2778
|
}
|
|
2774
2779
|
render() {
|
|
2775
|
-
const o =
|
|
2780
|
+
const o = G.checkstroke.replace(
|
|
2776
2781
|
"<svg",
|
|
2777
2782
|
'<svg aria-hidden="true" focusable="false" part="svg"'
|
|
2778
2783
|
), t = this.options.find((e) => e.value === this.value);
|
|
@@ -2817,10 +2822,10 @@ let A = class extends v {
|
|
|
2817
2822
|
${e.url ? l`
|
|
2818
2823
|
<a href="${e.url}">
|
|
2819
2824
|
<span>${e.label}</span>
|
|
2820
|
-
${e.value === this.value ? l`<span class="check">${
|
|
2825
|
+
${e.value === this.value ? l`<span class="check">${L(o)}</span>` : null}
|
|
2821
2826
|
</a>` : l`
|
|
2822
2827
|
<span>${e.label}</span>
|
|
2823
|
-
${e.value === this.value ? l`<span class="check">${
|
|
2828
|
+
${e.value === this.value ? l`<span class="check">${L(o)}</span>` : null}`}
|
|
2824
2829
|
</li>`
|
|
2825
2830
|
)}
|
|
2826
2831
|
</ul>` : null}
|
|
@@ -2829,7 +2834,7 @@ let A = class extends v {
|
|
|
2829
2834
|
`;
|
|
2830
2835
|
}
|
|
2831
2836
|
};
|
|
2832
|
-
A.styles =
|
|
2837
|
+
A.styles = b`
|
|
2833
2838
|
:host {
|
|
2834
2839
|
display: inline-block;
|
|
2835
2840
|
position: relative;
|
|
@@ -2969,44 +2974,44 @@ A.styles = y`
|
|
|
2969
2974
|
display: none;
|
|
2970
2975
|
}
|
|
2971
2976
|
`;
|
|
2972
|
-
|
|
2977
|
+
D([
|
|
2973
2978
|
a({ type: Array, reflect: !0 })
|
|
2974
2979
|
], A.prototype, "options", 2);
|
|
2975
|
-
|
|
2980
|
+
D([
|
|
2976
2981
|
a({ type: String, reflect: !0 })
|
|
2977
2982
|
], A.prototype, "value", 2);
|
|
2978
|
-
|
|
2983
|
+
D([
|
|
2979
2984
|
a({ type: String, reflect: !0 })
|
|
2980
2985
|
], A.prototype, "name", 2);
|
|
2981
|
-
|
|
2986
|
+
D([
|
|
2982
2987
|
a({ type: Boolean, reflect: !0 })
|
|
2983
2988
|
], A.prototype, "disabled", 2);
|
|
2984
|
-
|
|
2989
|
+
D([
|
|
2985
2990
|
a({ type: String, reflect: !0 })
|
|
2986
2991
|
], A.prototype, "width", 2);
|
|
2987
|
-
|
|
2988
|
-
|
|
2992
|
+
D([
|
|
2993
|
+
K()
|
|
2989
2994
|
], A.prototype, "open", 2);
|
|
2990
|
-
|
|
2991
|
-
|
|
2995
|
+
D([
|
|
2996
|
+
K()
|
|
2992
2997
|
], A.prototype, "activeIndex", 2);
|
|
2993
|
-
|
|
2994
|
-
|
|
2998
|
+
D([
|
|
2999
|
+
K()
|
|
2995
3000
|
], A.prototype, "menuWidth", 2);
|
|
2996
|
-
A =
|
|
3001
|
+
A = D([
|
|
2997
3002
|
x("o-dropdown")
|
|
2998
3003
|
], A);
|
|
2999
|
-
var
|
|
3000
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
3004
|
+
var Oo = Object.getOwnPropertyDescriptor, Bo = (o, t, e, n) => {
|
|
3005
|
+
for (var i = n > 1 ? void 0 : n ? Oo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
3001
3006
|
(s = o[r]) && (i = s(i) || i);
|
|
3002
3007
|
return i;
|
|
3003
3008
|
};
|
|
3004
|
-
let
|
|
3009
|
+
let Lt = class extends u {
|
|
3005
3010
|
render() {
|
|
3006
3011
|
return l` <span class="dots"></span> `;
|
|
3007
3012
|
}
|
|
3008
3013
|
};
|
|
3009
|
-
|
|
3014
|
+
Lt.styles = b`
|
|
3010
3015
|
:host {
|
|
3011
3016
|
display: flex;
|
|
3012
3017
|
align-items: center;
|
|
@@ -3058,15 +3063,15 @@ Et.styles = y`
|
|
|
3058
3063
|
}
|
|
3059
3064
|
}
|
|
3060
3065
|
`;
|
|
3061
|
-
|
|
3066
|
+
Lt = Bo([
|
|
3062
3067
|
x("o-dots")
|
|
3063
|
-
],
|
|
3064
|
-
var
|
|
3065
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
3068
|
+
], Lt);
|
|
3069
|
+
var zo = Object.defineProperty, Do = Object.getOwnPropertyDescriptor, O = (o, t, e, n) => {
|
|
3070
|
+
for (var i = n > 1 ? void 0 : n ? Do(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
3066
3071
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
3067
|
-
return n && i &&
|
|
3072
|
+
return n && i && zo(t, e, i), i;
|
|
3068
3073
|
};
|
|
3069
|
-
let C = class extends
|
|
3074
|
+
let C = class extends u {
|
|
3070
3075
|
constructor() {
|
|
3071
3076
|
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) => {
|
|
3072
3077
|
this.contains(o.target) || (this.open = !1, this.activeIndex = -1);
|
|
@@ -3132,7 +3137,7 @@ let C = class extends v {
|
|
|
3132
3137
|
this.options.length > 0 && (this.options.some((t) => t.value === this.value) || (this.value = this.options[0].value));
|
|
3133
3138
|
}
|
|
3134
3139
|
render() {
|
|
3135
|
-
const o =
|
|
3140
|
+
const o = G.checkstroke.replace(
|
|
3136
3141
|
"<svg",
|
|
3137
3142
|
'<svg aria-hidden="true" focusable="false" part="svg"'
|
|
3138
3143
|
), t = this.options.find((e) => e.value === this.value);
|
|
@@ -3191,7 +3196,7 @@ let C = class extends v {
|
|
|
3191
3196
|
<div class="right">
|
|
3192
3197
|
<span class="additional-text">${$(e.additionaltext)}</span>
|
|
3193
3198
|
${e.value === this.value && !e.additionaltext ? l`
|
|
3194
|
-
<span class="check">${
|
|
3199
|
+
<span class="check">${L(o)}</span>` : null}
|
|
3195
3200
|
</div>
|
|
3196
3201
|
</a>
|
|
3197
3202
|
</li>
|
|
@@ -3203,7 +3208,7 @@ let C = class extends v {
|
|
|
3203
3208
|
`;
|
|
3204
3209
|
}
|
|
3205
3210
|
};
|
|
3206
|
-
C.styles =
|
|
3211
|
+
C.styles = b`
|
|
3207
3212
|
:host {
|
|
3208
3213
|
display: inline-block;
|
|
3209
3214
|
position: relative;
|
|
@@ -3379,34 +3384,34 @@ C.styles = y`
|
|
|
3379
3384
|
display: none;
|
|
3380
3385
|
}
|
|
3381
3386
|
`;
|
|
3382
|
-
|
|
3387
|
+
O([
|
|
3383
3388
|
a({ type: Array, reflect: !0 })
|
|
3384
3389
|
], C.prototype, "options", 2);
|
|
3385
|
-
|
|
3390
|
+
O([
|
|
3386
3391
|
a({ type: String, reflect: !0 })
|
|
3387
3392
|
], C.prototype, "value", 2);
|
|
3388
|
-
|
|
3393
|
+
O([
|
|
3389
3394
|
a({ type: String, reflect: !0 })
|
|
3390
3395
|
], C.prototype, "name", 2);
|
|
3391
|
-
|
|
3396
|
+
O([
|
|
3392
3397
|
a({ type: String, reflect: !0 })
|
|
3393
3398
|
], C.prototype, "additionaltext", 2);
|
|
3394
|
-
|
|
3399
|
+
O([
|
|
3395
3400
|
a({ type: Boolean, reflect: !0 })
|
|
3396
3401
|
], C.prototype, "disabled", 2);
|
|
3397
|
-
|
|
3402
|
+
O([
|
|
3398
3403
|
a({ type: String, reflect: !0 })
|
|
3399
3404
|
], C.prototype, "width", 2);
|
|
3400
|
-
|
|
3401
|
-
|
|
3405
|
+
O([
|
|
3406
|
+
K()
|
|
3402
3407
|
], C.prototype, "open", 2);
|
|
3403
|
-
|
|
3404
|
-
|
|
3408
|
+
O([
|
|
3409
|
+
K()
|
|
3405
3410
|
], C.prototype, "activeIndex", 2);
|
|
3406
|
-
|
|
3407
|
-
|
|
3411
|
+
O([
|
|
3412
|
+
K()
|
|
3408
3413
|
], C.prototype, "menuWidth", 2);
|
|
3409
|
-
C =
|
|
3414
|
+
C = O([
|
|
3410
3415
|
x("o-dropdown-variant")
|
|
3411
3416
|
], C);
|
|
3412
3417
|
/**
|
|
@@ -3414,10 +3419,10 @@ C = I([
|
|
|
3414
3419
|
* Copyright 2018 Google LLC
|
|
3415
3420
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3416
3421
|
*/
|
|
3417
|
-
const
|
|
3422
|
+
const le = "important", Ho = " !" + le, To = Tt(class extends Mt {
|
|
3418
3423
|
constructor(o) {
|
|
3419
3424
|
var t;
|
|
3420
|
-
if (super(o), o.type !==
|
|
3425
|
+
if (super(o), o.type !== Ht.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.");
|
|
3421
3426
|
}
|
|
3422
3427
|
render(o) {
|
|
3423
3428
|
return Object.keys(o).reduce((t, e) => {
|
|
@@ -3433,19 +3438,19 @@ const re = "important", Oo = " !" + re, Bo = Dt(class extends Ht {
|
|
|
3433
3438
|
const i = t[n];
|
|
3434
3439
|
if (i != null) {
|
|
3435
3440
|
this.ft.add(n);
|
|
3436
|
-
const r = typeof i == "string" && i.endsWith(
|
|
3437
|
-
n.includes("-") || r ? e.setProperty(n, r ? i.slice(0, -11) : i, r ?
|
|
3441
|
+
const r = typeof i == "string" && i.endsWith(Ho);
|
|
3442
|
+
n.includes("-") || r ? e.setProperty(n, r ? i.slice(0, -11) : i, r ? le : "") : e[n] = i;
|
|
3438
3443
|
}
|
|
3439
3444
|
}
|
|
3440
3445
|
return N;
|
|
3441
3446
|
}
|
|
3442
3447
|
});
|
|
3443
|
-
var
|
|
3444
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
3448
|
+
var Mo = Object.defineProperty, jo = Object.getOwnPropertyDescriptor, Nt = (o, t, e, n) => {
|
|
3449
|
+
for (var i = n > 1 ? void 0 : n ? jo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
3445
3450
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
3446
|
-
return n && i &&
|
|
3451
|
+
return n && i && Mo(t, e, i), i;
|
|
3447
3452
|
};
|
|
3448
|
-
let
|
|
3453
|
+
let ht = class extends u {
|
|
3449
3454
|
constructor() {
|
|
3450
3455
|
super(...arguments), this.option = {}, this.imageSize = 64;
|
|
3451
3456
|
}
|
|
@@ -3454,7 +3459,7 @@ let lt = class extends v {
|
|
|
3454
3459
|
width: `${this.imageSize}px`,
|
|
3455
3460
|
height: `${this.imageSize}px`
|
|
3456
3461
|
}, e = l`
|
|
3457
|
-
${this.option.imgurl ? l`<img src="${this.option.imgurl}" alt="${$(this.option.title)}" aria-hidden="true" style=${
|
|
3462
|
+
${this.option.imgurl ? l`<img src="${this.option.imgurl}" alt="${$(this.option.title)}" aria-hidden="true" style=${To(t)} />` : ""}
|
|
3458
3463
|
<div class="m-reassurance-content">
|
|
3459
3464
|
<h3 class="a-reassurance-text">${$(this.option.title)}</h3>
|
|
3460
3465
|
<p class="a-reassurance-description">${$(this.option.description)}</p>
|
|
@@ -3463,7 +3468,7 @@ let lt = class extends v {
|
|
|
3463
3468
|
return o ? l`<a href="${$(this.option.url)}" class="reassurance-item clickable">${e}</a>` : l`<div class="reassurance-item">${e}</div>`;
|
|
3464
3469
|
}
|
|
3465
3470
|
};
|
|
3466
|
-
|
|
3471
|
+
ht.styles = b`
|
|
3467
3472
|
:host {
|
|
3468
3473
|
display: inline-block;
|
|
3469
3474
|
position: relative;
|
|
@@ -3545,22 +3550,22 @@ lt.styles = y`
|
|
|
3545
3550
|
}
|
|
3546
3551
|
}
|
|
3547
3552
|
`;
|
|
3548
|
-
|
|
3553
|
+
Nt([
|
|
3549
3554
|
a({ type: Object, reflect: !0 })
|
|
3550
|
-
],
|
|
3551
|
-
|
|
3555
|
+
], ht.prototype, "option", 2);
|
|
3556
|
+
Nt([
|
|
3552
3557
|
a({ type: Number, reflect: !0 })
|
|
3553
|
-
],
|
|
3554
|
-
|
|
3558
|
+
], ht.prototype, "imageSize", 2);
|
|
3559
|
+
ht = Nt([
|
|
3555
3560
|
x("o-reassurance")
|
|
3556
|
-
],
|
|
3557
|
-
var
|
|
3558
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
3561
|
+
], ht);
|
|
3562
|
+
var Uo = Object.defineProperty, No = Object.getOwnPropertyDescriptor, H = (o, t, e, n) => {
|
|
3563
|
+
for (var i = n > 1 ? void 0 : n ? No(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
3559
3564
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
3560
|
-
return n && i &&
|
|
3565
|
+
return n && i && Uo(t, e, i), i;
|
|
3561
3566
|
};
|
|
3562
|
-
const
|
|
3563
|
-
let k = class extends
|
|
3567
|
+
const Ro = Dt(u);
|
|
3568
|
+
let k = class extends Ro {
|
|
3564
3569
|
constructor() {
|
|
3565
3570
|
super(...arguments), this.link = "", this.name = "", this.value = "", this.text = "", this.size = "standard", this.selected = !1, this.fullwidth = !1, this.inactive = !1;
|
|
3566
3571
|
}
|
|
@@ -3583,7 +3588,7 @@ let k = class extends To {
|
|
|
3583
3588
|
`;
|
|
3584
3589
|
}
|
|
3585
3590
|
};
|
|
3586
|
-
k.styles =
|
|
3591
|
+
k.styles = b`
|
|
3587
3592
|
:host {
|
|
3588
3593
|
cursor: pointer;
|
|
3589
3594
|
display: inline-flex;
|
|
@@ -3655,7 +3660,7 @@ k.styles = y`
|
|
|
3655
3660
|
}
|
|
3656
3661
|
|
|
3657
3662
|
&:focus-visible {
|
|
3658
|
-
${
|
|
3663
|
+
${mt};
|
|
3659
3664
|
}
|
|
3660
3665
|
}
|
|
3661
3666
|
|
|
@@ -3669,39 +3674,39 @@ k.styles = y`
|
|
|
3669
3674
|
align-items: center;
|
|
3670
3675
|
}
|
|
3671
3676
|
`;
|
|
3672
|
-
|
|
3677
|
+
H([
|
|
3673
3678
|
a({ type: String, reflect: !0 })
|
|
3674
3679
|
], k.prototype, "link", 2);
|
|
3675
|
-
|
|
3680
|
+
H([
|
|
3676
3681
|
a({ reflect: !0 })
|
|
3677
3682
|
], k.prototype, "name", 2);
|
|
3678
|
-
|
|
3683
|
+
H([
|
|
3679
3684
|
a({ reflect: !0 })
|
|
3680
3685
|
], k.prototype, "value", 2);
|
|
3681
|
-
|
|
3686
|
+
H([
|
|
3682
3687
|
a({ type: String })
|
|
3683
3688
|
], k.prototype, "text", 2);
|
|
3684
|
-
|
|
3689
|
+
H([
|
|
3685
3690
|
a({ type: String, reflect: !0 })
|
|
3686
3691
|
], k.prototype, "size", 2);
|
|
3687
|
-
|
|
3692
|
+
H([
|
|
3688
3693
|
a({ type: Boolean, reflect: !0 })
|
|
3689
3694
|
], k.prototype, "selected", 2);
|
|
3690
|
-
|
|
3695
|
+
H([
|
|
3691
3696
|
a({ type: Boolean, reflect: !0 })
|
|
3692
3697
|
], k.prototype, "fullwidth", 2);
|
|
3693
|
-
|
|
3698
|
+
H([
|
|
3694
3699
|
a({ type: Boolean, reflect: !0 })
|
|
3695
3700
|
], k.prototype, "inactive", 2);
|
|
3696
|
-
k =
|
|
3701
|
+
k = H([
|
|
3697
3702
|
x("o-chip")
|
|
3698
3703
|
], k);
|
|
3699
|
-
var
|
|
3700
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
3704
|
+
var Fo = Object.defineProperty, Vo = Object.getOwnPropertyDescriptor, Rt = (o, t, e, n) => {
|
|
3705
|
+
for (var i = n > 1 ? void 0 : n ? Vo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
3701
3706
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
3702
|
-
return n && i &&
|
|
3707
|
+
return n && i && Fo(t, e, i), i;
|
|
3703
3708
|
};
|
|
3704
|
-
let
|
|
3709
|
+
let dt = class extends u {
|
|
3705
3710
|
constructor() {
|
|
3706
3711
|
super(), this.name = "", this.value = "", this.addEventListener("selected", this.onChipSelected);
|
|
3707
3712
|
}
|
|
@@ -3717,7 +3722,7 @@ let ct = class extends v {
|
|
|
3717
3722
|
`;
|
|
3718
3723
|
}
|
|
3719
3724
|
};
|
|
3720
|
-
|
|
3725
|
+
dt.styles = b`
|
|
3721
3726
|
:host {
|
|
3722
3727
|
display: flex;
|
|
3723
3728
|
flex-direction: row;
|
|
@@ -3725,22 +3730,22 @@ ct.styles = y`
|
|
|
3725
3730
|
gap: var(--spacing-s);
|
|
3726
3731
|
}
|
|
3727
3732
|
`;
|
|
3728
|
-
|
|
3733
|
+
Rt([
|
|
3729
3734
|
a({ reflect: !0 })
|
|
3730
|
-
],
|
|
3731
|
-
|
|
3735
|
+
], dt.prototype, "name", 2);
|
|
3736
|
+
Rt([
|
|
3732
3737
|
a({ reflect: !0 })
|
|
3733
|
-
],
|
|
3734
|
-
|
|
3738
|
+
], dt.prototype, "value", 2);
|
|
3739
|
+
dt = Rt([
|
|
3735
3740
|
x("o-chipset")
|
|
3736
|
-
],
|
|
3737
|
-
var
|
|
3738
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
3741
|
+
], dt);
|
|
3742
|
+
var Zo = Object.defineProperty, qo = Object.getOwnPropertyDescriptor, T = (o, t, e, n) => {
|
|
3743
|
+
for (var i = n > 1 ? void 0 : n ? qo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
3739
3744
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
3740
|
-
return n && i &&
|
|
3745
|
+
return n && i && Zo(t, e, i), i;
|
|
3741
3746
|
};
|
|
3742
|
-
const
|
|
3743
|
-
let E = class extends
|
|
3747
|
+
const Wo = Dt(u);
|
|
3748
|
+
let E = class extends Wo {
|
|
3744
3749
|
constructor() {
|
|
3745
3750
|
super(...arguments), this.name = "", this.value = "", this.type = "", this.dataHref = "", this.text = "", this.selected = !1, this.disabled = !1, this.fullwidth = !1, this.crossIconName = "cross", this.strikethroughImgName = "strikeDiagonal";
|
|
3746
3751
|
}
|
|
@@ -3752,18 +3757,18 @@ let E = class extends Fo {
|
|
|
3752
3757
|
this.dispatchEvent(e), e.defaultPrevented && o.preventDefault(), this.selected = t.selected;
|
|
3753
3758
|
}
|
|
3754
3759
|
crossIcon() {
|
|
3755
|
-
const o =
|
|
3760
|
+
const o = G[this.crossIconName].replace(
|
|
3756
3761
|
"<svg",
|
|
3757
3762
|
'<svg aria-hidden="true" focusable="false" part="svg"'
|
|
3758
3763
|
).replace(/stroke=[#"'a-z1-9]*/gi, "");
|
|
3759
|
-
return l`<span class="cross-icon">${
|
|
3764
|
+
return l`<span class="cross-icon">${L(o)}</span>`;
|
|
3760
3765
|
}
|
|
3761
3766
|
strikeThroughImg() {
|
|
3762
|
-
const o =
|
|
3767
|
+
const o = eo[this.strikethroughImgName].replace(
|
|
3763
3768
|
"<svg",
|
|
3764
3769
|
'<svg aria-hidden="true" focusable="false" part="strikethrough"'
|
|
3765
3770
|
).replace(/stroke=[#"'a-z1-9]*/gi, "");
|
|
3766
|
-
return
|
|
3771
|
+
return L(o);
|
|
3767
3772
|
}
|
|
3768
3773
|
render() {
|
|
3769
3774
|
const o = this.text;
|
|
@@ -3790,7 +3795,7 @@ let E = class extends Fo {
|
|
|
3790
3795
|
`;
|
|
3791
3796
|
}
|
|
3792
3797
|
};
|
|
3793
|
-
E.styles =
|
|
3798
|
+
E.styles = b`
|
|
3794
3799
|
:host {
|
|
3795
3800
|
cursor: pointer;
|
|
3796
3801
|
display: inline-flex;
|
|
@@ -3866,7 +3871,7 @@ E.styles = y`
|
|
|
3866
3871
|
}
|
|
3867
3872
|
|
|
3868
3873
|
.button:focus-visible {
|
|
3869
|
-
${
|
|
3874
|
+
${mt};
|
|
3870
3875
|
}
|
|
3871
3876
|
|
|
3872
3877
|
span.text + span.text::before {
|
|
@@ -3912,30 +3917,182 @@ E.styles = y`
|
|
|
3912
3917
|
}
|
|
3913
3918
|
}
|
|
3914
3919
|
`;
|
|
3915
|
-
|
|
3920
|
+
T([
|
|
3916
3921
|
a({ reflect: !0 })
|
|
3917
3922
|
], E.prototype, "name", 2);
|
|
3918
|
-
|
|
3923
|
+
T([
|
|
3919
3924
|
a({ reflect: !0 })
|
|
3920
3925
|
], E.prototype, "value", 2);
|
|
3921
|
-
|
|
3926
|
+
T([
|
|
3922
3927
|
a({ type: String, reflect: !0 })
|
|
3923
3928
|
], E.prototype, "type", 2);
|
|
3924
|
-
|
|
3929
|
+
T([
|
|
3925
3930
|
a({ type: String, reflect: !0, attribute: "data-href" })
|
|
3926
3931
|
], E.prototype, "dataHref", 2);
|
|
3927
|
-
|
|
3932
|
+
T([
|
|
3928
3933
|
a({ type: String })
|
|
3929
3934
|
], E.prototype, "text", 2);
|
|
3930
|
-
|
|
3935
|
+
T([
|
|
3931
3936
|
a({ type: Boolean, reflect: !0 })
|
|
3932
3937
|
], E.prototype, "selected", 2);
|
|
3933
|
-
|
|
3938
|
+
T([
|
|
3934
3939
|
a({ type: Boolean, reflect: !0 })
|
|
3935
3940
|
], E.prototype, "disabled", 2);
|
|
3936
|
-
|
|
3941
|
+
T([
|
|
3937
3942
|
a({ type: Boolean, reflect: !0 })
|
|
3938
3943
|
], E.prototype, "fullwidth", 2);
|
|
3939
|
-
E =
|
|
3944
|
+
E = T([
|
|
3940
3945
|
x("o-filter-chip")
|
|
3941
3946
|
], E);
|
|
3947
|
+
var Ko = Object.defineProperty, F = (o, t, e, n) => {
|
|
3948
|
+
for (var i = void 0, r = o.length - 1, s; r >= 0; r--)
|
|
3949
|
+
(s = o[r]) && (i = s(t, e, i) || i);
|
|
3950
|
+
return i && Ko(t, e, i), i;
|
|
3951
|
+
};
|
|
3952
|
+
const Ft = class Ft extends u {
|
|
3953
|
+
constructor() {
|
|
3954
|
+
super(...arguments), this.type = "cart | chevron", this.titleProduct = "", this.volume = "", this.perLiter = "", this.mainPrice = "", this.imageUrl = "https://placehold.co/56x70", this.altImage = "";
|
|
3955
|
+
}
|
|
3956
|
+
onClick() {
|
|
3957
|
+
typeof this.onClickTile == "function" && this.onClickTile();
|
|
3958
|
+
}
|
|
3959
|
+
get icons() {
|
|
3960
|
+
return this.type === "chevron" ? l`
|
|
3961
|
+
<o-icon-button
|
|
3962
|
+
@click=${this.onClick}
|
|
3963
|
+
icon="chevronRight"
|
|
3964
|
+
size="small"
|
|
3965
|
+
bgstyle="background-contrast"
|
|
3966
|
+
type="span"
|
|
3967
|
+
status="filled"
|
|
3968
|
+
strokewidth="0"
|
|
3969
|
+
></o-icon-button>
|
|
3970
|
+
` : l`
|
|
3971
|
+
<o-icon-button
|
|
3972
|
+
icon="cart"
|
|
3973
|
+
size="small"
|
|
3974
|
+
bgstyle="background-contrast"
|
|
3975
|
+
type="span"
|
|
3976
|
+
status="empty"
|
|
3977
|
+
strokewidth="0"
|
|
3978
|
+
></o-icon-button>
|
|
3979
|
+
`;
|
|
3980
|
+
}
|
|
3981
|
+
render() {
|
|
3982
|
+
return l`
|
|
3983
|
+
<div class="tile">
|
|
3984
|
+
${this.imageUrl ? l`<img src="${this.imageUrl}" alt="${this.altImage || ""}" />` : ""}
|
|
3985
|
+
<div class="info">
|
|
3986
|
+
${this.titleProduct ? l`<div class="title">${this.titleProduct}</div>` : ""}
|
|
3987
|
+
${this.type === "cart" && (this.volume || this.mainPrice || this.perLiter) ? l`
|
|
3988
|
+
<div class="details">
|
|
3989
|
+
${this.volume ? l`<span class="volume-info">${this.volume}</span>` : ""}
|
|
3990
|
+
${this.mainPrice ? l`<span class="main-price">${this.mainPrice}</span>` : ""}
|
|
3991
|
+
${this.perLiter ? l`<span class="per-liter">${this.perLiter}</span>` : ""}
|
|
3992
|
+
</div>
|
|
3993
|
+
` : ""}
|
|
3994
|
+
</div>
|
|
3995
|
+
${this.icons}
|
|
3996
|
+
</div>
|
|
3997
|
+
`;
|
|
3998
|
+
}
|
|
3999
|
+
};
|
|
4000
|
+
Ft.styles = b`
|
|
4001
|
+
.tile {
|
|
4002
|
+
display: flex;
|
|
4003
|
+
align-items: center;
|
|
4004
|
+
justify-content: space-between;
|
|
4005
|
+
border-radius: var(--radius-xs);
|
|
4006
|
+
background: var(--colors-blanc-brule-500);
|
|
4007
|
+
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
|
|
4008
|
+
font-family: var(--font-family-loccitane-sans);
|
|
4009
|
+
height: 70px;
|
|
4010
|
+
width: 356px;
|
|
4011
|
+
max-width: 356px;
|
|
4012
|
+
padding: var(--spacing-2-xs) var(--spacing-s) var(--spacing-2-xs) var(--spacing-2-xs);
|
|
4013
|
+
}
|
|
4014
|
+
|
|
4015
|
+
.tile img {
|
|
4016
|
+
object-fit: cover;
|
|
4017
|
+
width: 56px;
|
|
4018
|
+
height: auto;
|
|
4019
|
+
}
|
|
4020
|
+
|
|
4021
|
+
.info {
|
|
4022
|
+
flex-grow: 1;
|
|
4023
|
+
margin-left: 10px;
|
|
4024
|
+
}
|
|
4025
|
+
|
|
4026
|
+
.info .title {
|
|
4027
|
+
font-family: var(--font-family-loccitane-serif);
|
|
4028
|
+
font-size: var(--font-size-150);
|
|
4029
|
+
font-weight: var(--font-weight-400);
|
|
4030
|
+
color: var(--colors-noir-des-terres-500);
|
|
4031
|
+
line-height: var(--line-height-160);
|
|
4032
|
+
letter-spacing: var(--letter-spacing-100);
|
|
4033
|
+
|
|
4034
|
+
+.details {
|
|
4035
|
+
padding-top: var(--spacing-s);}
|
|
4036
|
+
}
|
|
4037
|
+
|
|
4038
|
+
.info .details {
|
|
4039
|
+
display: flex;
|
|
4040
|
+
align-items: center;
|
|
4041
|
+
}
|
|
4042
|
+
|
|
4043
|
+
.info .volume-info {
|
|
4044
|
+
font-size: var(--font-size-100);
|
|
4045
|
+
color: var(--colors-noir-des-terres-500);
|
|
4046
|
+
font-family: var(--font-family-loccitane-sans);
|
|
4047
|
+
line-height: var(--line-height-160);
|
|
4048
|
+
|
|
4049
|
+
+ .main-price {
|
|
4050
|
+
&::before {
|
|
4051
|
+
content: "•";
|
|
4052
|
+
padding: 0 var(--spacing-xs) 0 var(--spacing-2-xs);
|
|
4053
|
+
color: var(--colors-noir-des-terres-500);
|
|
4054
|
+
}
|
|
4055
|
+
}
|
|
4056
|
+
}
|
|
4057
|
+
|
|
4058
|
+
.main-price {
|
|
4059
|
+
font-family: var(--font-family-loccitane-sans);
|
|
4060
|
+
color: var(--colors-noir-des-terres-500);
|
|
4061
|
+
font-size: var(--font-size-100);
|
|
4062
|
+
padding: 0 var(--spacing-xs) 0 0;
|
|
4063
|
+
font-weight: var(--font-weight-400);
|
|
4064
|
+
}
|
|
4065
|
+
|
|
4066
|
+
.per-liter {
|
|
4067
|
+
font-size: var(--font-size-100);
|
|
4068
|
+
color: var(--color-content-description);
|
|
4069
|
+
letter-spacing: var(--letter-spacing-absolute);
|
|
4070
|
+
line-height: var(--line-height-160);
|
|
4071
|
+
}
|
|
4072
|
+
`;
|
|
4073
|
+
let S = Ft;
|
|
4074
|
+
F([
|
|
4075
|
+
a({ type: String })
|
|
4076
|
+
], S.prototype, "type");
|
|
4077
|
+
F([
|
|
4078
|
+
a({ type: String })
|
|
4079
|
+
], S.prototype, "titleProduct");
|
|
4080
|
+
F([
|
|
4081
|
+
a({ type: String })
|
|
4082
|
+
], S.prototype, "volume");
|
|
4083
|
+
F([
|
|
4084
|
+
a({ type: String })
|
|
4085
|
+
], S.prototype, "perLiter");
|
|
4086
|
+
F([
|
|
4087
|
+
a({ type: String })
|
|
4088
|
+
], S.prototype, "mainPrice");
|
|
4089
|
+
F([
|
|
4090
|
+
a({ type: String })
|
|
4091
|
+
], S.prototype, "imageUrl");
|
|
4092
|
+
F([
|
|
4093
|
+
a({ type: String })
|
|
4094
|
+
], S.prototype, "altImage");
|
|
4095
|
+
F([
|
|
4096
|
+
a({ type: Function })
|
|
4097
|
+
], S.prototype, "onClickTile");
|
|
4098
|
+
customElements.define("mini-tile", S);
|