@florid-kit/components 0.7.8 → 0.8.0
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/reassurance.d.ts +19 -0
- package/index.js +168 -73
- package/index.mjs +523 -373
- 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 st = globalThis, wt = st.ShadowRoot && (st.ShadyCSS === void 0 || st.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, xt = Symbol(), Et = /* @__PURE__ */ new WeakMap();
|
|
7
|
+
let jt = class {
|
|
8
8
|
constructor(t, e, n) {
|
|
9
|
-
if (this._$cssResult$ = !0, n !==
|
|
9
|
+
if (this._$cssResult$ = !0, n !== xt) 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 (wt && t === void 0) {
|
|
16
16
|
const n = e !== void 0 && e.length === 1;
|
|
17
|
-
n && (t =
|
|
17
|
+
n && (t = Et.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), n && Et.set(e, t));
|
|
18
18
|
}
|
|
19
19
|
return t;
|
|
20
20
|
}
|
|
@@ -22,33 +22,33 @@ let Mt = class {
|
|
|
22
22
|
return this.cssText;
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
|
-
const
|
|
25
|
+
const Kt = (o) => new jt(typeof o == "string" ? o : o + "", void 0, xt), m = (o, ...t) => {
|
|
26
26
|
const e = o.length === 1 ? o[0] : t.reduce((n, i, s) => n + ((r) => {
|
|
27
27
|
if (r._$cssResult$ === !0) return r.cssText;
|
|
28
28
|
if (typeof r == "number") return r;
|
|
29
29
|
throw Error("Value passed to 'css' function must be a 'css' function result: " + r + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
|
30
30
|
})(i) + o[s + 1], o[0]);
|
|
31
|
-
return new
|
|
32
|
-
},
|
|
33
|
-
if (
|
|
31
|
+
return new jt(e, o, xt);
|
|
32
|
+
}, Gt = (o, t) => {
|
|
33
|
+
if (wt) 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 = st.litNonce;
|
|
36
36
|
i !== void 0 && n.setAttribute("nonce", i), n.textContent = e.cssText, o.appendChild(n);
|
|
37
37
|
}
|
|
38
|
-
},
|
|
38
|
+
}, Lt = wt ? (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 Kt(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: Xt, defineProperty: Jt, getOwnPropertyDescriptor: Yt, getOwnPropertyNames: Qt, getOwnPropertySymbols: te, getPrototypeOf: ee } = Object, z = globalThis, It = z.trustedTypes, oe = It ? It.emptyScript : "", pt = z.reactiveElementPolyfillSupport, X = (o, t) => o, at = { toAttribute(o, t) {
|
|
49
49
|
switch (t) {
|
|
50
50
|
case Boolean:
|
|
51
|
-
o = o ?
|
|
51
|
+
o = o ? oe : null;
|
|
52
52
|
break;
|
|
53
53
|
case Object:
|
|
54
54
|
case Array:
|
|
@@ -73,7 +73,7 @@ const { is: Vt, defineProperty: Zt, getOwnPropertyDescriptor: qt, getOwnProperty
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
return e;
|
|
76
|
-
} },
|
|
76
|
+
} }, $t = (o, t) => !Xt(o, t), Ot = { attribute: !0, type: String, converter: at, reflect: !1, useDefault: !1, hasChanged: $t };
|
|
77
77
|
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), z.litPropertyMetadata ?? (z.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
78
78
|
let V = class extends HTMLElement {
|
|
79
79
|
static addInitializer(t) {
|
|
@@ -82,14 +82,14 @@ let V = class extends HTMLElement {
|
|
|
82
82
|
static get observedAttributes() {
|
|
83
83
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
84
84
|
}
|
|
85
|
-
static createProperty(t, e =
|
|
85
|
+
static createProperty(t, e = Ot) {
|
|
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 && Jt(this.prototype, t, i);
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
static getPropertyDescriptor(t, e, n) {
|
|
92
|
-
const { get: i, set: s } =
|
|
92
|
+
const { get: i, set: s } = Yt(this.prototype, t) ?? { get() {
|
|
93
93
|
return this[e];
|
|
94
94
|
}, set(r) {
|
|
95
95
|
this[e] = r;
|
|
@@ -100,17 +100,17 @@ let V = 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) ?? Ot;
|
|
104
104
|
}
|
|
105
105
|
static _$Ei() {
|
|
106
106
|
if (this.hasOwnProperty(X("elementProperties"))) return;
|
|
107
|
-
const t =
|
|
107
|
+
const t = ee(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
111
|
if (this.hasOwnProperty(X("finalized"))) return;
|
|
112
112
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(X("properties"))) {
|
|
113
|
-
const e = this.properties, n = [...
|
|
113
|
+
const e = this.properties, n = [...Qt(e), ...te(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 V = 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(Lt(i));
|
|
133
|
+
} else t !== void 0 && e.push(Lt(t));
|
|
134
134
|
return e;
|
|
135
135
|
}
|
|
136
136
|
static _$Eu(t, e) {
|
|
@@ -159,7 +159,7 @@ let V = class extends HTMLElement {
|
|
|
159
159
|
}
|
|
160
160
|
createRenderRoot() {
|
|
161
161
|
const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
|
162
|
-
return
|
|
162
|
+
return Gt(t, this.constructor.elementStyles), t;
|
|
163
163
|
}
|
|
164
164
|
connectedCallback() {
|
|
165
165
|
var t;
|
|
@@ -184,7 +184,7 @@ let V = class extends HTMLElement {
|
|
|
184
184
|
var s;
|
|
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 r = (((s = n.converter) == null ? void 0 : s.toAttribute) !== void 0 ? n.converter :
|
|
187
|
+
const r = (((s = n.converter) == null ? void 0 : s.toAttribute) !== void 0 ? n.converter : at).toAttribute(e, n.type);
|
|
188
188
|
this._$Em = t, r == null ? this.removeAttribute(i) : this.setAttribute(i, r), this._$Em = null;
|
|
189
189
|
}
|
|
190
190
|
}
|
|
@@ -192,7 +192,7 @@ let V = class extends HTMLElement {
|
|
|
192
192
|
var s, r;
|
|
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 } : ((s = h.converter) == null ? void 0 : s.fromAttribute) !== void 0 ? h.converter :
|
|
195
|
+
const h = n.getPropertyOptions(i), c = typeof h.converter == "function" ? { fromAttribute: h.converter } : ((s = h.converter) == null ? void 0 : s.fromAttribute) !== void 0 ? h.converter : at;
|
|
196
196
|
this._$Em = i, this[i] = c.fromAttribute(e, h.type) ?? ((r = this._$Ej) == null ? void 0 : r.get(i)) ?? null, this._$Em = null;
|
|
197
197
|
}
|
|
198
198
|
}
|
|
@@ -200,7 +200,7 @@ let V = class extends HTMLElement {
|
|
|
200
200
|
var i;
|
|
201
201
|
if (t !== void 0) {
|
|
202
202
|
const s = this.constructor, r = this[t];
|
|
203
|
-
if (n ?? (n = s.getPropertyOptions(t)), !((n.hasChanged ??
|
|
203
|
+
if (n ?? (n = s.getPropertyOptions(t)), !((n.hasChanged ?? $t)(r, e) || n.useDefault && n.reflect && r === ((i = this._$Ej) == null ? void 0 : i.get(t)) && !this.hasAttribute(s._$Eu(t, n)))) return;
|
|
204
204
|
this.C(t, e, n);
|
|
205
205
|
}
|
|
206
206
|
this.isUpdatePending === !1 && (this._$ES = this._$EP());
|
|
@@ -276,28 +276,28 @@ let V = class extends HTMLElement {
|
|
|
276
276
|
firstUpdated(t) {
|
|
277
277
|
}
|
|
278
278
|
};
|
|
279
|
-
V.elementStyles = [], V.shadowRootOptions = { mode: "open" }, V[X("elementProperties")] = /* @__PURE__ */ new Map(), V[X("finalized")] = /* @__PURE__ */ new Map(),
|
|
279
|
+
V.elementStyles = [], V.shadowRootOptions = { mode: "open" }, V[X("elementProperties")] = /* @__PURE__ */ new Map(), V[X("finalized")] = /* @__PURE__ */ new Map(), pt == null || pt({ ReactiveElement: V }), (z.reactiveElementVersions ?? (z.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 J = globalThis,
|
|
286
|
-
\f\r]`, G = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
287
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
285
|
+
const J = globalThis, lt = J.trustedTypes, Pt = lt ? lt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, Ut = "$lit$", B = `lit$${Math.random().toFixed(9).slice(2)}$`, Rt = "?" + B, ie = `<${Rt}>`, R = document, Y = () => R.createComment(""), Q = (o) => o === null || typeof o != "object" && typeof o != "function", _t = Array.isArray, ne = (o) => _t(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", ut = `[
|
|
286
|
+
\f\r]`, G = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Bt = /-->/g, zt = />/g, T = RegExp(`>|${ut}(?:([^\\s"'>=/]+)(${ut}*=${ut}*(?:[^
|
|
287
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Dt = /'/g, Ht = /"/g, Ft = /^(?:script|style|textarea|title)$/i, re = (o) => (t, ...e) => ({ _$litType$: o, strings: t, values: e }), l = re(1), D = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), Mt = /* @__PURE__ */ new WeakMap(), j = R.createTreeWalker(R, 129);
|
|
288
288
|
function Nt(o, t) {
|
|
289
|
-
if (
|
|
290
|
-
return
|
|
289
|
+
if (!_t(o) || !o.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
290
|
+
return Pt !== void 0 ? Pt.createHTML(t) : t;
|
|
291
291
|
}
|
|
292
|
-
const
|
|
292
|
+
const se = (o, t) => {
|
|
293
293
|
const e = o.length - 1, n = [];
|
|
294
294
|
let i, s = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", r = G;
|
|
295
295
|
for (let h = 0; h < e; h++) {
|
|
296
296
|
const c = o[h];
|
|
297
|
-
let v,
|
|
298
|
-
for (;
|
|
299
|
-
const P = r ===
|
|
300
|
-
s += r === G ? c +
|
|
297
|
+
let v, f, p = -1, L = 0;
|
|
298
|
+
for (; L < c.length && (r.lastIndex = L, f = r.exec(c), f !== null); ) L = r.lastIndex, r === G ? f[1] === "!--" ? r = Bt : f[1] !== void 0 ? r = zt : f[2] !== void 0 ? (Ft.test(f[2]) && (i = RegExp("</" + f[2], "g")), r = T) : f[3] !== void 0 && (r = T) : r === T ? f[0] === ">" ? (r = i ?? G, p = -1) : f[1] === void 0 ? p = -2 : (p = r.lastIndex - f[2].length, v = f[1], r = f[3] === void 0 ? T : f[3] === '"' ? Ht : Dt) : r === Ht || r === Dt ? r = T : r === Bt || r === zt ? r = G : (r = T, i = void 0);
|
|
299
|
+
const P = r === T && o[h + 1].startsWith("/>") ? " " : "";
|
|
300
|
+
s += r === G ? c + ie : p >= 0 ? (n.push(v), c.slice(0, p) + Ut + c.slice(p) + B + P) : c + B + (p === -2 ? h : P);
|
|
301
301
|
}
|
|
302
302
|
return [Nt(o, s + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), n];
|
|
303
303
|
};
|
|
@@ -306,26 +306,26 @@ class tt {
|
|
|
306
306
|
let i;
|
|
307
307
|
this.parts = [];
|
|
308
308
|
let s = 0, r = 0;
|
|
309
|
-
const h = t.length - 1, c = this.parts, [v,
|
|
310
|
-
if (this.el = tt.createElement(v, n),
|
|
309
|
+
const h = t.length - 1, c = this.parts, [v, f] = se(t, e);
|
|
310
|
+
if (this.el = tt.createElement(v, n), j.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 = j.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: s, name:
|
|
316
|
+
if (i.hasAttributes()) for (const p of i.getAttributeNames()) if (p.endsWith(Ut)) {
|
|
317
|
+
const L = f[r++], P = i.getAttribute(p).split(B), rt = /([.?@])?(.*)/.exec(L);
|
|
318
|
+
c.push({ type: 1, index: s, name: rt[2], strings: P, ctor: rt[1] === "." ? le : rt[1] === "?" ? ce : rt[1] === "@" ? he : ct }), i.removeAttribute(p);
|
|
319
319
|
} else p.startsWith(B) && (c.push({ type: 6, index: s }), i.removeAttribute(p));
|
|
320
|
-
if (
|
|
321
|
-
const p = i.textContent.split(B),
|
|
322
|
-
if (
|
|
323
|
-
i.textContent =
|
|
324
|
-
for (let P = 0; P <
|
|
325
|
-
i.append(p[
|
|
320
|
+
if (Ft.test(i.tagName)) {
|
|
321
|
+
const p = i.textContent.split(B), L = p.length - 1;
|
|
322
|
+
if (L > 0) {
|
|
323
|
+
i.textContent = lt ? lt.emptyScript : "";
|
|
324
|
+
for (let P = 0; P < L; P++) i.append(p[P], Y()), j.nextNode(), c.push({ type: 2, index: ++s });
|
|
325
|
+
i.append(p[L], Y());
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
|
-
} else if (i.nodeType === 8) if (i.data ===
|
|
328
|
+
} else if (i.nodeType === 8) if (i.data === Rt) c.push({ type: 2, index: s });
|
|
329
329
|
else {
|
|
330
330
|
let p = -1;
|
|
331
331
|
for (; (p = i.data.indexOf(B, p + 1)) !== -1; ) c.push({ type: 7, index: s }), p += B.length - 1;
|
|
@@ -334,18 +334,18 @@ class tt {
|
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
336
|
static createElement(t, e) {
|
|
337
|
-
const n =
|
|
337
|
+
const n = R.createElement("template");
|
|
338
338
|
return n.innerHTML = t, n;
|
|
339
339
|
}
|
|
340
340
|
}
|
|
341
341
|
function Z(o, t, e = o, n) {
|
|
342
342
|
var r, h;
|
|
343
|
-
if (t ===
|
|
343
|
+
if (t === D) return t;
|
|
344
344
|
let i = n !== void 0 ? (r = e._$Co) == null ? void 0 : r[n] : e._$Cl;
|
|
345
345
|
const s = Q(t) ? void 0 : t._$litDirective$;
|
|
346
346
|
return (i == null ? void 0 : i.constructor) !== s && ((h = i == null ? void 0 : i._$AO) == null || h.call(i, !1), s === void 0 ? i = void 0 : (i = new s(o), i._$AT(o, e, n)), n !== void 0 ? (e._$Co ?? (e._$Co = []))[n] = i : e._$Cl = i), i !== void 0 && (t = Z(o, i._$AS(o, t.values), i, n)), t;
|
|
347
347
|
}
|
|
348
|
-
class
|
|
348
|
+
class ae {
|
|
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 ee {
|
|
|
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 s =
|
|
359
|
+
const { el: { content: e }, parts: n } = this._$AD, i = ((t == null ? void 0 : t.creationScope) ?? R).importNode(e, !0);
|
|
360
|
+
j.currentNode = i;
|
|
361
|
+
let s = j.nextNode(), r = 0, h = 0, c = n[0];
|
|
362
362
|
for (; c !== void 0; ) {
|
|
363
363
|
if (r === c.index) {
|
|
364
364
|
let v;
|
|
365
|
-
c.type === 2 ? v = new
|
|
365
|
+
c.type === 2 ? v = new nt(s, s.nextSibling, this, t) : c.type === 1 ? v = new c.ctor(s, c.name, c.strings, this, t) : c.type === 6 && (v = new de(s, this, t)), this._$AV.push(v), c = n[++h];
|
|
366
366
|
}
|
|
367
|
-
r !== (c == null ? void 0 : c.index) && (s =
|
|
367
|
+
r !== (c == null ? void 0 : c.index) && (s = j.nextNode(), r++);
|
|
368
368
|
}
|
|
369
|
-
return
|
|
369
|
+
return j.currentNode = R, 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 nt {
|
|
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 it {
|
|
|
393
393
|
return this._$AB;
|
|
394
394
|
}
|
|
395
395
|
_$AI(t, e = this) {
|
|
396
|
-
t = Z(this, t, e), Q(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !==
|
|
396
|
+
t = Z(this, t, e), Q(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== D && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : ne(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 it {
|
|
|
402
402
|
this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
|
|
403
403
|
}
|
|
404
404
|
_(t) {
|
|
405
|
-
this._$AH !== d && Q(this._$AH) ? this._$AA.nextSibling.data = t : this.T(
|
|
405
|
+
this._$AH !== d && Q(this._$AH) ? this._$AA.nextSibling.data = t : this.T(R.createTextNode(t)), this._$AH = t;
|
|
406
406
|
}
|
|
407
407
|
$(t) {
|
|
408
408
|
var s;
|
|
409
409
|
const { values: e, _$litType$: n } = t, i = typeof n == "number" ? this._$AC(t) : (n.el === void 0 && (n.el = tt.createElement(Nt(n.h, n.h[0]), this.options)), n);
|
|
410
410
|
if (((s = this._$AH) == null ? void 0 : s._$AD) === i) this._$AH.p(e);
|
|
411
411
|
else {
|
|
412
|
-
const r = new
|
|
412
|
+
const r = new ae(i, this), h = r.u(this.options);
|
|
413
413
|
r.p(e), this.T(h), this._$AH = r;
|
|
414
414
|
}
|
|
415
415
|
}
|
|
416
416
|
_$AC(t) {
|
|
417
|
-
let e =
|
|
418
|
-
return e === void 0 &&
|
|
417
|
+
let e = Mt.get(t.strings);
|
|
418
|
+
return e === void 0 && Mt.set(t.strings, e = new tt(t)), e;
|
|
419
419
|
}
|
|
420
420
|
k(t) {
|
|
421
|
-
|
|
421
|
+
_t(this._$AH) || (this._$AH = [], this._$AR());
|
|
422
422
|
const e = this._$AH;
|
|
423
423
|
let n, i = 0;
|
|
424
|
-
for (const s of t) i === e.length ? e.push(n = new
|
|
424
|
+
for (const s of t) i === e.length ? e.push(n = new nt(this.O(Y()), this.O(Y()), this, this.options)) : n = e[i], n._$AI(s), 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 it {
|
|
|
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 ct {
|
|
440
440
|
get tagName() {
|
|
441
441
|
return this.element.tagName;
|
|
442
442
|
}
|
|
@@ -449,11 +449,11 @@ class lt {
|
|
|
449
449
|
_$AI(t, e = this, n, i) {
|
|
450
450
|
const s = this.strings;
|
|
451
451
|
let r = !1;
|
|
452
|
-
if (s === void 0) t = Z(this, t, e, 0), r = !Q(t) || t !== this._$AH && t !==
|
|
452
|
+
if (s === void 0) t = Z(this, t, e, 0), r = !Q(t) || t !== this._$AH && t !== D, r && (this._$AH = t);
|
|
453
453
|
else {
|
|
454
454
|
const h = t;
|
|
455
455
|
let c, v;
|
|
456
|
-
for (t = s[0], c = 0; c < s.length - 1; c++) v = Z(this, h[n + c], e, c), v ===
|
|
456
|
+
for (t = s[0], c = 0; c < s.length - 1; c++) v = Z(this, h[n + c], e, c), v === D && (v = this._$AH[c]), r || (r = !Q(v) || v !== this._$AH[c]), v === d ? t = d : t !== d && (t += (v ?? "") + s[c + 1]), this._$AH[c] = v;
|
|
457
457
|
}
|
|
458
458
|
r && !i && this.j(t);
|
|
459
459
|
}
|
|
@@ -461,7 +461,7 @@ class lt {
|
|
|
461
461
|
t === d ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
|
462
462
|
}
|
|
463
463
|
}
|
|
464
|
-
class
|
|
464
|
+
class le extends ct {
|
|
465
465
|
constructor() {
|
|
466
466
|
super(...arguments), this.type = 3;
|
|
467
467
|
}
|
|
@@ -469,7 +469,7 @@ class oe extends lt {
|
|
|
469
469
|
this.element[this.name] = t === d ? void 0 : t;
|
|
470
470
|
}
|
|
471
471
|
}
|
|
472
|
-
class
|
|
472
|
+
class ce extends ct {
|
|
473
473
|
constructor() {
|
|
474
474
|
super(...arguments), this.type = 4;
|
|
475
475
|
}
|
|
@@ -477,12 +477,12 @@ class ie extends lt {
|
|
|
477
477
|
this.element.toggleAttribute(this.name, !!t && t !== d);
|
|
478
478
|
}
|
|
479
479
|
}
|
|
480
|
-
class
|
|
480
|
+
class he extends ct {
|
|
481
481
|
constructor(t, e, n, i, s) {
|
|
482
482
|
super(t, e, n, i, s), this.type = 5;
|
|
483
483
|
}
|
|
484
484
|
_$AI(t, e = this) {
|
|
485
|
-
if ((t = Z(this, t, e, 0) ?? d) ===
|
|
485
|
+
if ((t = Z(this, t, e, 0) ?? d) === D) return;
|
|
486
486
|
const n = this._$AH, i = t === d && n !== d || t.capture !== n.capture || t.once !== n.once || t.passive !== n.passive, s = t !== d && (n === d || i);
|
|
487
487
|
i && this.element.removeEventListener(this.name, this, n), s && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
|
488
488
|
}
|
|
@@ -491,7 +491,7 @@ class ne extends lt {
|
|
|
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 de {
|
|
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
|
}
|
|
@@ -502,14 +502,14 @@ class re {
|
|
|
502
502
|
Z(this, t);
|
|
503
503
|
}
|
|
504
504
|
}
|
|
505
|
-
const
|
|
506
|
-
|
|
507
|
-
const
|
|
505
|
+
const vt = J.litHtmlPolyfillSupport;
|
|
506
|
+
vt == null || vt(tt, nt), (J.litHtmlVersions ?? (J.litHtmlVersions = [])).push("3.3.0");
|
|
507
|
+
const pe = (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 s = (e == null ? void 0 : e.renderBefore) ?? null;
|
|
512
|
-
n._$litPart$ = i = new
|
|
512
|
+
n._$litPart$ = i = new nt(t.insertBefore(Y(), s), s, void 0, e ?? {});
|
|
513
513
|
}
|
|
514
514
|
return i._$AI(o), i;
|
|
515
515
|
};
|
|
@@ -519,7 +519,7 @@ const se = (o, t, e) => {
|
|
|
519
519
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
520
520
|
*/
|
|
521
521
|
const U = globalThis;
|
|
522
|
-
let
|
|
522
|
+
let b = class extends V {
|
|
523
523
|
constructor() {
|
|
524
524
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
525
525
|
}
|
|
@@ -530,7 +530,7 @@ let f = class extends V {
|
|
|
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 = pe(e, this.renderRoot, this.renderOptions);
|
|
534
534
|
}
|
|
535
535
|
connectedCallback() {
|
|
536
536
|
var t;
|
|
@@ -541,20 +541,20 @@ let f = class extends V {
|
|
|
541
541
|
super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
|
|
542
542
|
}
|
|
543
543
|
render() {
|
|
544
|
-
return
|
|
544
|
+
return D;
|
|
545
545
|
}
|
|
546
546
|
};
|
|
547
|
-
var
|
|
548
|
-
|
|
549
|
-
const
|
|
550
|
-
|
|
547
|
+
var Tt;
|
|
548
|
+
b._$litElement$ = !0, b.finalized = !0, (Tt = U.litElementHydrateSupport) == null || Tt.call(U, { LitElement: b });
|
|
549
|
+
const gt = U.litElementPolyfillSupport;
|
|
550
|
+
gt == null || gt({ LitElement: b });
|
|
551
551
|
(U.litElementVersions ?? (U.litElementVersions = [])).push("4.2.0");
|
|
552
552
|
/**
|
|
553
553
|
* @license
|
|
554
554
|
* Copyright 2017 Google LLC
|
|
555
555
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
556
556
|
*/
|
|
557
|
-
const
|
|
557
|
+
const x = (o) => (t, e) => {
|
|
558
558
|
e !== void 0 ? e.addInitializer(() => {
|
|
559
559
|
customElements.define(o, t);
|
|
560
560
|
}) : customElements.define(o, t);
|
|
@@ -564,7 +564,7 @@ const _ = (o) => (t, e) => {
|
|
|
564
564
|
* Copyright 2017 Google LLC
|
|
565
565
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
566
566
|
*/
|
|
567
|
-
const
|
|
567
|
+
const ue = { attribute: !0, type: String, converter: at, reflect: !1, hasChanged: $t }, ve = (o = ue, t, e) => {
|
|
568
568
|
const { kind: n, metadata: i } = e;
|
|
569
569
|
let s = globalThis.litPropertyMetadata.get(i);
|
|
570
570
|
if (s === void 0 && globalThis.litPropertyMetadata.set(i, s = /* @__PURE__ */ new Map()), n === "setter" && ((o = Object.create(o)).wrapped = !0), s.set(e.name, o), n === "accessor") {
|
|
@@ -586,7 +586,7 @@ const ae = { attribute: !0, type: String, converter: st, 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" ? ve(o, t, e) : ((n, i, s) => {
|
|
590
590
|
const r = i.hasOwnProperty(s);
|
|
591
591
|
return i.constructor.createProperty(s, n), r ? Object.getOwnPropertyDescriptor(i, s) : void 0;
|
|
592
592
|
})(o, t, e);
|
|
@@ -599,12 +599,12 @@ function a(o) {
|
|
|
599
599
|
function F(o) {
|
|
600
600
|
return a({ ...o, state: !0, attribute: !1 });
|
|
601
601
|
}
|
|
602
|
-
const
|
|
602
|
+
const ge = m`
|
|
603
603
|
outline: 1px dashed var(--button-border-color);
|
|
604
604
|
outline-offset: 2px;
|
|
605
605
|
outline: dashed black;
|
|
606
606
|
`;
|
|
607
|
-
|
|
607
|
+
m`
|
|
608
608
|
:host * {
|
|
609
609
|
box-sizing: border-box;
|
|
610
610
|
}
|
|
@@ -614,11 +614,11 @@ w`
|
|
|
614
614
|
* Copyright 2023 Google LLC
|
|
615
615
|
* SPDX-License-Identifier: Apache-2.0
|
|
616
616
|
*/
|
|
617
|
-
const
|
|
618
|
-
function
|
|
617
|
+
const Ct = Symbol("internals"), bt = Symbol("privateInternals");
|
|
618
|
+
function be(o) {
|
|
619
619
|
var t;
|
|
620
620
|
class e extends o {
|
|
621
|
-
get [(t =
|
|
621
|
+
get [(t = Ct, t)]() {
|
|
622
622
|
return this[bt] || (this[bt] = this.attachInternals()), this[bt];
|
|
623
623
|
}
|
|
624
624
|
}
|
|
@@ -629,11 +629,11 @@ function he(o) {
|
|
|
629
629
|
* Copyright 2023 Google LLC
|
|
630
630
|
* SPDX-License-Identifier: Apache-2.0
|
|
631
631
|
*/
|
|
632
|
-
function
|
|
632
|
+
function fe(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, [Ct]: s } = e, { form: r } = s;
|
|
637
637
|
if (!(!r || i === "button") && (await new Promise((h) => {
|
|
638
638
|
setTimeout(h);
|
|
639
639
|
}), !n.defaultPrevented)) {
|
|
@@ -656,41 +656,41 @@ function de(o) {
|
|
|
656
656
|
});
|
|
657
657
|
});
|
|
658
658
|
}
|
|
659
|
-
const
|
|
659
|
+
const ye = `<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
|
+
`, me = `<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
|
+
`, we = `<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
|
+
`, xe = `<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
|
+
`, $e = `<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
|
+
`, _e = `<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
|
+
`, Ce = `<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
|
+
`, ke = `<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
|
+
`, Ae = `<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
|
+
`, Se = `<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
|
+
`, Ee = `<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
|
+
`, Le = `<?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 pe = `<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
|
+
`, Ie = `<?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,56 +709,61 @@ const pe = `<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
|
+
`, Oe = `<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
|
+
`, Pe = `<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
|
+
`, Be = `<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
|
+
`, ze = `<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
|
+
`, De = `<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
|
+
`, He = `<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
|
+
`, Me = `<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
|
+
`, Te = `<svg width="8" height="8" viewBox="0 0 8 8" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
734
|
+
<rect x="1" width="2" height="8" fill="#3F2B2E"/>
|
|
735
|
+
<rect x="5" width="2" height="8" fill="#3F2B2E"/>
|
|
736
|
+
</svg>
|
|
733
737
|
`, K = {
|
|
734
|
-
wishlist:
|
|
735
|
-
playerv:
|
|
736
|
-
chevronRight:
|
|
737
|
-
chevronLeft:
|
|
738
|
-
icoPlus:
|
|
739
|
-
icoMinus:
|
|
740
|
-
"star-0":
|
|
741
|
-
"star-25":
|
|
742
|
-
"star-50":
|
|
743
|
-
"star-75":
|
|
744
|
-
"star-100":
|
|
745
|
-
cross:
|
|
746
|
-
search:
|
|
747
|
-
arrowLeft:
|
|
748
|
-
arrowTop:
|
|
749
|
-
cart:
|
|
750
|
-
notifyme:
|
|
751
|
-
triangledown:
|
|
752
|
-
triangleup:
|
|
753
|
-
checkstroke:
|
|
738
|
+
wishlist: ye,
|
|
739
|
+
playerv: me,
|
|
740
|
+
chevronRight: we,
|
|
741
|
+
chevronLeft: xe,
|
|
742
|
+
icoPlus: Le,
|
|
743
|
+
icoMinus: Ie,
|
|
744
|
+
"star-0": $e,
|
|
745
|
+
"star-25": _e,
|
|
746
|
+
"star-50": Ce,
|
|
747
|
+
"star-75": ke,
|
|
748
|
+
"star-100": Ae,
|
|
749
|
+
cross: Se,
|
|
750
|
+
search: Ee,
|
|
751
|
+
arrowLeft: Oe,
|
|
752
|
+
arrowTop: Pe,
|
|
753
|
+
cart: Be,
|
|
754
|
+
notifyme: ze,
|
|
755
|
+
triangledown: De,
|
|
756
|
+
triangleup: He,
|
|
757
|
+
checkstroke: Me,
|
|
758
|
+
pause: Te
|
|
754
759
|
};
|
|
755
760
|
/**
|
|
756
761
|
* @license
|
|
757
762
|
* Copyright 2017 Google LLC
|
|
758
763
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
759
764
|
*/
|
|
760
|
-
const
|
|
761
|
-
class
|
|
765
|
+
const Vt = { ATTRIBUTE: 1, CHILD: 2 }, Zt = (o) => (...t) => ({ _$litDirective$: o, values: t });
|
|
766
|
+
let qt = class {
|
|
762
767
|
constructor(t) {
|
|
763
768
|
}
|
|
764
769
|
get _$AU() {
|
|
@@ -773,19 +778,19 @@ class ze {
|
|
|
773
778
|
update(t, e) {
|
|
774
779
|
return this.render(...e);
|
|
775
780
|
}
|
|
776
|
-
}
|
|
781
|
+
};
|
|
777
782
|
/**
|
|
778
783
|
* @license
|
|
779
784
|
* Copyright 2017 Google LLC
|
|
780
785
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
781
786
|
*/
|
|
782
|
-
class
|
|
787
|
+
class ft extends qt {
|
|
783
788
|
constructor(t) {
|
|
784
|
-
if (super(t), this.it = d, t.type !==
|
|
789
|
+
if (super(t), this.it = d, t.type !== Vt.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
|
|
785
790
|
}
|
|
786
791
|
render(t) {
|
|
787
792
|
if (t === d || t == null) return this._t = void 0, this.it = t;
|
|
788
|
-
if (t ===
|
|
793
|
+
if (t === D) return t;
|
|
789
794
|
if (typeof t != "string") throw Error(this.constructor.directiveName + "() called with a non-string value");
|
|
790
795
|
if (t === this.it) return this._t;
|
|
791
796
|
this.it = t;
|
|
@@ -793,23 +798,23 @@ class gt extends ze {
|
|
|
793
798
|
return e.raw = e, this._t = { _$litType$: this.constructor.resultType, strings: e, values: [] };
|
|
794
799
|
}
|
|
795
800
|
}
|
|
796
|
-
|
|
801
|
+
ft.directiveName = "unsafeHTML", ft.resultType = 1;
|
|
797
802
|
/**
|
|
798
803
|
* @license
|
|
799
804
|
* Copyright 2017 Google LLC
|
|
800
805
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
801
806
|
*/
|
|
802
|
-
class
|
|
807
|
+
class yt extends ft {
|
|
803
808
|
}
|
|
804
|
-
|
|
805
|
-
const
|
|
806
|
-
var
|
|
807
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
809
|
+
yt.directiveName = "unsafeSVG", yt.resultType = 2;
|
|
810
|
+
const H = Zt(yt);
|
|
811
|
+
var je = Object.defineProperty, Ue = Object.getOwnPropertyDescriptor, w = (o, t, e, n) => {
|
|
812
|
+
for (var i = n > 1 ? void 0 : n ? Ue(t, e) : t, s = o.length - 1, r; s >= 0; s--)
|
|
808
813
|
(r = o[s]) && (i = (n ? r(t, e, i) : r(i)) || i);
|
|
809
|
-
return n && i &&
|
|
814
|
+
return n && i && je(t, e, i), i;
|
|
810
815
|
};
|
|
811
|
-
const
|
|
812
|
-
let u = class extends
|
|
816
|
+
const Re = be(b);
|
|
817
|
+
let u = class extends Re {
|
|
813
818
|
constructor() {
|
|
814
819
|
super(...arguments), this.type = "submit", this.value = "", this.variant = "primary", this.text = "", this.textsecond = "", this.fullwidth = !1, this.disabled = !1, this.startIconModel = "search", this.endIconModel = "chevronRight", this.startIcon = !1, this.endIcon = !1, this.panelTarget = "", this.href = "", this.target = "";
|
|
815
820
|
}
|
|
@@ -820,7 +825,7 @@ let u = class extends Me {
|
|
|
820
825
|
this.setAttribute("name", o);
|
|
821
826
|
}
|
|
822
827
|
get form() {
|
|
823
|
-
return this[
|
|
828
|
+
return this[Ct].form;
|
|
824
829
|
}
|
|
825
830
|
handleClick() {
|
|
826
831
|
if (this.panelTarget) {
|
|
@@ -838,7 +843,7 @@ let u = class extends Me {
|
|
|
838
843
|
"<svg",
|
|
839
844
|
'<svg aria-hidden="true" focusable="false" part="svg"'
|
|
840
845
|
);
|
|
841
|
-
return l`<span class="${o === "start" ? "icon-start" : "icon-end"}">${
|
|
846
|
+
return l`<span class="${o === "start" ? "icon-start" : "icon-end"}">${H(e)}</span>`;
|
|
842
847
|
}
|
|
843
848
|
renderButton() {
|
|
844
849
|
const o = this.text || this.textsecond;
|
|
@@ -872,9 +877,9 @@ let u = class extends Me {
|
|
|
872
877
|
`;
|
|
873
878
|
}
|
|
874
879
|
};
|
|
875
|
-
|
|
880
|
+
fe(u);
|
|
876
881
|
u.formAssociated = !0;
|
|
877
|
-
u.styles =
|
|
882
|
+
u.styles = m`
|
|
878
883
|
:host {
|
|
879
884
|
--button-border: transparent;
|
|
880
885
|
cursor: pointer;
|
|
@@ -986,7 +991,7 @@ u.styles = w`
|
|
|
986
991
|
}
|
|
987
992
|
|
|
988
993
|
.button:focus-visible {
|
|
989
|
-
${
|
|
994
|
+
${ge};
|
|
990
995
|
}
|
|
991
996
|
|
|
992
997
|
span.text + span.text::before {
|
|
@@ -1032,57 +1037,57 @@ u.styles = w`
|
|
|
1032
1037
|
}
|
|
1033
1038
|
//End icon movment on hover
|
|
1034
1039
|
`;
|
|
1035
|
-
|
|
1040
|
+
w([
|
|
1036
1041
|
a()
|
|
1037
1042
|
], u.prototype, "type", 2);
|
|
1038
|
-
|
|
1043
|
+
w([
|
|
1039
1044
|
a({ reflect: !0 })
|
|
1040
1045
|
], u.prototype, "value", 2);
|
|
1041
|
-
|
|
1046
|
+
w([
|
|
1042
1047
|
a({ type: String, reflect: !0 })
|
|
1043
1048
|
], u.prototype, "variant", 2);
|
|
1044
|
-
|
|
1049
|
+
w([
|
|
1045
1050
|
a({ type: String })
|
|
1046
1051
|
], u.prototype, "text", 2);
|
|
1047
|
-
|
|
1052
|
+
w([
|
|
1048
1053
|
a({ type: String })
|
|
1049
1054
|
], u.prototype, "textsecond", 2);
|
|
1050
|
-
|
|
1055
|
+
w([
|
|
1051
1056
|
a({ type: Boolean, reflect: !0 })
|
|
1052
1057
|
], u.prototype, "fullwidth", 2);
|
|
1053
|
-
|
|
1058
|
+
w([
|
|
1054
1059
|
a({ type: Boolean, reflect: !0 })
|
|
1055
1060
|
], u.prototype, "disabled", 2);
|
|
1056
|
-
|
|
1061
|
+
w([
|
|
1057
1062
|
a({ type: String, reflect: !0 })
|
|
1058
1063
|
], u.prototype, "startIconModel", 2);
|
|
1059
|
-
|
|
1064
|
+
w([
|
|
1060
1065
|
a({ type: String, reflect: !0 })
|
|
1061
1066
|
], u.prototype, "endIconModel", 2);
|
|
1062
|
-
|
|
1067
|
+
w([
|
|
1063
1068
|
a({ type: Boolean, reflect: !0, attribute: "starticon" })
|
|
1064
1069
|
], u.prototype, "startIcon", 2);
|
|
1065
|
-
|
|
1070
|
+
w([
|
|
1066
1071
|
a({ type: Boolean, reflect: !0, attribute: "endicon" })
|
|
1067
1072
|
], u.prototype, "endIcon", 2);
|
|
1068
|
-
|
|
1073
|
+
w([
|
|
1069
1074
|
a({ type: String, attribute: "paneltarget", reflect: !0 })
|
|
1070
1075
|
], u.prototype, "panelTarget", 2);
|
|
1071
|
-
|
|
1076
|
+
w([
|
|
1072
1077
|
a({ type: String })
|
|
1073
1078
|
], u.prototype, "href", 2);
|
|
1074
|
-
|
|
1079
|
+
w([
|
|
1075
1080
|
a({ type: String })
|
|
1076
1081
|
], u.prototype, "target", 2);
|
|
1077
|
-
u =
|
|
1078
|
-
|
|
1082
|
+
u = w([
|
|
1083
|
+
x("o-button")
|
|
1079
1084
|
], u);
|
|
1080
|
-
var
|
|
1081
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
1085
|
+
var Fe = Object.defineProperty, Ne = Object.getOwnPropertyDescriptor, ht = (o, t, e, n) => {
|
|
1086
|
+
for (var i = n > 1 ? void 0 : n ? Ne(t, e) : t, s = o.length - 1, r; s >= 0; s--)
|
|
1082
1087
|
(r = o[s]) && (i = (n ? r(t, e, i) : r(i)) || i);
|
|
1083
|
-
return n && i &&
|
|
1088
|
+
return n && i && Fe(t, e, i), i;
|
|
1084
1089
|
};
|
|
1085
|
-
let q = class extends
|
|
1090
|
+
let q = class extends b {
|
|
1086
1091
|
constructor() {
|
|
1087
1092
|
super(...arguments), this.status = "empty", this.ariaDescribedBy = "a-product-name", this.label = "Add to wishlist", this.toggleStatus = () => {
|
|
1088
1093
|
this.status = this.status === "empty" ? "filled" : "empty", this.setAttribute("aria-pressed", String(this.status === "filled")), this.dispatchEvent(new CustomEvent("wishlist-toggle", {
|
|
@@ -1109,7 +1114,7 @@ let q = class extends f {
|
|
|
1109
1114
|
return l`
|
|
1110
1115
|
<button type="button" aria-describedby="${this.ariaDescribedBy}" class="wishlist-button">
|
|
1111
1116
|
<span class="sr-only">${this.label}</span>
|
|
1112
|
-
${
|
|
1117
|
+
${H(o)}
|
|
1113
1118
|
</button>
|
|
1114
1119
|
`;
|
|
1115
1120
|
}
|
|
@@ -1123,7 +1128,7 @@ let q = class extends f {
|
|
|
1123
1128
|
this.label = o, this.requestUpdate();
|
|
1124
1129
|
}
|
|
1125
1130
|
};
|
|
1126
|
-
q.styles =
|
|
1131
|
+
q.styles = m`
|
|
1127
1132
|
:host {
|
|
1128
1133
|
display: inline-flex;
|
|
1129
1134
|
justify-content: center;
|
|
@@ -1188,30 +1193,30 @@ q.styles = w`
|
|
|
1188
1193
|
white-space: nowrap !important;
|
|
1189
1194
|
}
|
|
1190
1195
|
`;
|
|
1191
|
-
|
|
1196
|
+
ht([
|
|
1192
1197
|
a({ type: String, reflect: !0 })
|
|
1193
1198
|
], q.prototype, "status", 2);
|
|
1194
|
-
|
|
1199
|
+
ht([
|
|
1195
1200
|
a({ type: String, reflect: !0 })
|
|
1196
1201
|
], q.prototype, "ariaDescribedBy", 2);
|
|
1197
|
-
|
|
1202
|
+
ht([
|
|
1198
1203
|
a({ type: String, reflect: !0 })
|
|
1199
1204
|
], q.prototype, "label", 2);
|
|
1200
|
-
q =
|
|
1201
|
-
|
|
1205
|
+
q = ht([
|
|
1206
|
+
x("o-wishlist-button")
|
|
1202
1207
|
], q);
|
|
1203
1208
|
/**
|
|
1204
1209
|
* @license
|
|
1205
1210
|
* Copyright 2018 Google LLC
|
|
1206
1211
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1207
1212
|
*/
|
|
1208
|
-
const
|
|
1209
|
-
var
|
|
1210
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
1213
|
+
const $ = (o) => o ?? d;
|
|
1214
|
+
var Ve = Object.defineProperty, Ze = Object.getOwnPropertyDescriptor, S = (o, t, e, n) => {
|
|
1215
|
+
for (var i = n > 1 ? void 0 : n ? Ze(t, e) : t, s = o.length - 1, r; s >= 0; s--)
|
|
1211
1216
|
(r = o[s]) && (i = (n ? r(t, e, i) : r(i)) || i);
|
|
1212
|
-
return n && i &&
|
|
1217
|
+
return n && i && Ve(t, e, i), i;
|
|
1213
1218
|
};
|
|
1214
|
-
let
|
|
1219
|
+
let _ = class extends b {
|
|
1215
1220
|
constructor() {
|
|
1216
1221
|
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 = "";
|
|
1217
1222
|
}
|
|
@@ -1226,23 +1231,23 @@ let x = class extends f {
|
|
|
1226
1231
|
return l`
|
|
1227
1232
|
${this.type === "span" ? l`
|
|
1228
1233
|
<span class="icon icon-button ${this.size} ${this.bgstyle} ${this.status} ${t}" ?disabled="${this.disabled}">
|
|
1229
|
-
${
|
|
1234
|
+
${H(e)}
|
|
1230
1235
|
</span>
|
|
1231
1236
|
` : l`
|
|
1232
1237
|
<button
|
|
1233
1238
|
type="button"
|
|
1234
|
-
aria-label=${
|
|
1239
|
+
aria-label=${$(i)}
|
|
1235
1240
|
class="icon-button ${this.size} ${this.bgstyle} ${this.status} ${t}"
|
|
1236
1241
|
?disabled="${this.disabled}"
|
|
1237
1242
|
>
|
|
1238
|
-
${
|
|
1243
|
+
${H(e)}
|
|
1239
1244
|
${n}
|
|
1240
1245
|
</button>
|
|
1241
1246
|
`}
|
|
1242
1247
|
`;
|
|
1243
1248
|
}
|
|
1244
1249
|
};
|
|
1245
|
-
|
|
1250
|
+
_.styles = m`
|
|
1246
1251
|
:host {
|
|
1247
1252
|
display: inline-flex;
|
|
1248
1253
|
justify-content: center;
|
|
@@ -1445,42 +1450,42 @@ x.styles = w`
|
|
|
1445
1450
|
display: none;
|
|
1446
1451
|
}
|
|
1447
1452
|
`;
|
|
1448
|
-
|
|
1453
|
+
S([
|
|
1449
1454
|
a({ type: String, reflect: !0 })
|
|
1450
|
-
],
|
|
1451
|
-
|
|
1455
|
+
], _.prototype, "bgstyle", 2);
|
|
1456
|
+
S([
|
|
1452
1457
|
a({ type: String, reflect: !0 })
|
|
1453
|
-
],
|
|
1454
|
-
|
|
1458
|
+
], _.prototype, "size", 2);
|
|
1459
|
+
S([
|
|
1455
1460
|
a({ type: String, reflect: !0 })
|
|
1456
|
-
],
|
|
1457
|
-
|
|
1461
|
+
], _.prototype, "status", 2);
|
|
1462
|
+
S([
|
|
1458
1463
|
a({ type: String, reflect: !0 })
|
|
1459
|
-
],
|
|
1460
|
-
|
|
1464
|
+
], _.prototype, "type", 2);
|
|
1465
|
+
S([
|
|
1461
1466
|
a({ type: String })
|
|
1462
|
-
],
|
|
1463
|
-
|
|
1467
|
+
], _.prototype, "strokewidth", 2);
|
|
1468
|
+
S([
|
|
1464
1469
|
a({ type: String })
|
|
1465
|
-
],
|
|
1466
|
-
|
|
1470
|
+
], _.prototype, "icon", 2);
|
|
1471
|
+
S([
|
|
1467
1472
|
a({ type: Boolean, reflect: !0 })
|
|
1468
|
-
],
|
|
1469
|
-
|
|
1473
|
+
], _.prototype, "disabled", 2);
|
|
1474
|
+
S([
|
|
1470
1475
|
a({ type: Boolean })
|
|
1471
|
-
],
|
|
1472
|
-
|
|
1476
|
+
], _.prototype, "showSrLabel", 2);
|
|
1477
|
+
S([
|
|
1473
1478
|
a({ type: String })
|
|
1474
|
-
],
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
],
|
|
1478
|
-
var
|
|
1479
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
1479
|
+
], _.prototype, "srLabel", 2);
|
|
1480
|
+
_ = S([
|
|
1481
|
+
x("o-icon-button")
|
|
1482
|
+
], _);
|
|
1483
|
+
var qe = Object.defineProperty, We = Object.getOwnPropertyDescriptor, N = (o, t, e, n) => {
|
|
1484
|
+
for (var i = n > 1 ? void 0 : n ? We(t, e) : t, s = o.length - 1, r; s >= 0; s--)
|
|
1480
1485
|
(r = o[s]) && (i = (n ? r(t, e, i) : r(i)) || i);
|
|
1481
|
-
return n && i &&
|
|
1486
|
+
return n && i && qe(t, e, i), i;
|
|
1482
1487
|
};
|
|
1483
|
-
let
|
|
1488
|
+
let I = class extends b {
|
|
1484
1489
|
constructor() {
|
|
1485
1490
|
super(...arguments), this.href = "", this.target = "", this.template = "standard", this.inverse = !1, this.endIcon = !1, this.reverseEndIcon = !1;
|
|
1486
1491
|
}
|
|
@@ -1492,7 +1497,7 @@ let L = class extends f {
|
|
|
1492
1497
|
return l`
|
|
1493
1498
|
<a
|
|
1494
1499
|
href="${o}"
|
|
1495
|
-
target="${
|
|
1500
|
+
target="${$(this.target || void 0)}"
|
|
1496
1501
|
@click="${this._handleClick}"
|
|
1497
1502
|
>
|
|
1498
1503
|
${this.endIcon && this.reverseEndIcon ? l`
|
|
@@ -1518,7 +1523,7 @@ let L = class extends f {
|
|
|
1518
1523
|
`;
|
|
1519
1524
|
}
|
|
1520
1525
|
};
|
|
1521
|
-
|
|
1526
|
+
I.styles = m`
|
|
1522
1527
|
:host([template="standard"]) a {
|
|
1523
1528
|
color: var(--color-content-action-secondary);
|
|
1524
1529
|
font-size: var(--font-size-200);
|
|
@@ -1606,33 +1611,33 @@ L.styles = w`
|
|
|
1606
1611
|
}
|
|
1607
1612
|
/* End of underline effect */
|
|
1608
1613
|
`;
|
|
1609
|
-
|
|
1614
|
+
N([
|
|
1610
1615
|
a({ type: String })
|
|
1611
|
-
],
|
|
1612
|
-
|
|
1616
|
+
], I.prototype, "href", 2);
|
|
1617
|
+
N([
|
|
1613
1618
|
a({ type: String })
|
|
1614
|
-
],
|
|
1615
|
-
|
|
1619
|
+
], I.prototype, "target", 2);
|
|
1620
|
+
N([
|
|
1616
1621
|
a({ type: String, reflect: !0 })
|
|
1617
|
-
],
|
|
1618
|
-
|
|
1622
|
+
], I.prototype, "template", 2);
|
|
1623
|
+
N([
|
|
1619
1624
|
a({ type: Boolean, reflect: !0 })
|
|
1620
|
-
],
|
|
1621
|
-
|
|
1625
|
+
], I.prototype, "inverse", 2);
|
|
1626
|
+
N([
|
|
1622
1627
|
a({ type: Boolean, reflect: !0 })
|
|
1623
|
-
],
|
|
1624
|
-
|
|
1628
|
+
], I.prototype, "endIcon", 2);
|
|
1629
|
+
N([
|
|
1625
1630
|
a({ type: Boolean, reflect: !0 })
|
|
1626
|
-
],
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
],
|
|
1630
|
-
var
|
|
1631
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
1631
|
+
], I.prototype, "reverseEndIcon", 2);
|
|
1632
|
+
I = N([
|
|
1633
|
+
x("o-link")
|
|
1634
|
+
], I);
|
|
1635
|
+
var Ke = Object.defineProperty, Ge = Object.getOwnPropertyDescriptor, dt = (o, t, e, n) => {
|
|
1636
|
+
for (var i = n > 1 ? void 0 : n ? Ge(t, e) : t, s = o.length - 1, r; s >= 0; s--)
|
|
1632
1637
|
(r = o[s]) && (i = (n ? r(t, e, i) : r(i)) || i);
|
|
1633
|
-
return n && i &&
|
|
1638
|
+
return n && i && Ke(t, e, i), i;
|
|
1634
1639
|
};
|
|
1635
|
-
let W = class extends
|
|
1640
|
+
let W = class extends b {
|
|
1636
1641
|
constructor() {
|
|
1637
1642
|
super(...arguments), this.rating = 0;
|
|
1638
1643
|
}
|
|
@@ -1651,7 +1656,7 @@ let W = class extends f {
|
|
|
1651
1656
|
<div class="rating">
|
|
1652
1657
|
<div class="stars">
|
|
1653
1658
|
${o.map(
|
|
1654
|
-
(t) => l`<span class="star">${
|
|
1659
|
+
(t) => l`<span class="star">${H(K[t] ?? "")}</span>`
|
|
1655
1660
|
)}
|
|
1656
1661
|
</div>
|
|
1657
1662
|
${this.reviewCount != null && this.href != null ? l`<o-link template="review" href="${this.href}">${this.reviewCount}</o-link>` : null}
|
|
@@ -1659,7 +1664,7 @@ let W = class extends f {
|
|
|
1659
1664
|
`;
|
|
1660
1665
|
}
|
|
1661
1666
|
};
|
|
1662
|
-
W.styles =
|
|
1667
|
+
W.styles = m`
|
|
1663
1668
|
svg {
|
|
1664
1669
|
width: 12px;
|
|
1665
1670
|
height: 12px;
|
|
@@ -1693,24 +1698,24 @@ W.styles = w`
|
|
|
1693
1698
|
cursor: pointer;
|
|
1694
1699
|
}
|
|
1695
1700
|
`;
|
|
1696
|
-
|
|
1701
|
+
dt([
|
|
1697
1702
|
a({ type: Number })
|
|
1698
1703
|
], W.prototype, "rating", 2);
|
|
1699
|
-
|
|
1704
|
+
dt([
|
|
1700
1705
|
a({ type: String })
|
|
1701
1706
|
], W.prototype, "reviewCount", 2);
|
|
1702
|
-
|
|
1707
|
+
dt([
|
|
1703
1708
|
a({ type: String })
|
|
1704
1709
|
], W.prototype, "href", 2);
|
|
1705
|
-
W =
|
|
1706
|
-
|
|
1710
|
+
W = dt([
|
|
1711
|
+
x("o-rating")
|
|
1707
1712
|
], W);
|
|
1708
|
-
var
|
|
1709
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
1713
|
+
var Xe = Object.defineProperty, Je = Object.getOwnPropertyDescriptor, y = (o, t, e, n) => {
|
|
1714
|
+
for (var i = n > 1 ? void 0 : n ? Je(t, e) : t, s = o.length - 1, r; s >= 0; s--)
|
|
1710
1715
|
(r = o[s]) && (i = (n ? r(t, e, i) : r(i)) || i);
|
|
1711
|
-
return n && i &&
|
|
1716
|
+
return n && i && Xe(t, e, i), i;
|
|
1712
1717
|
};
|
|
1713
|
-
let
|
|
1718
|
+
let g = class extends b {
|
|
1714
1719
|
constructor() {
|
|
1715
1720
|
super(...arguments), this.open = !1, this.showHeader = !0, this.showFooter = !1, this.showHeaderStartIcon = !1, this.headerTitle = "", this.closeButtonLabel = "Close the modal", this.firstButtonLabel = "Close", this.firstButtonVariant = "primary", this.secondaryButtonLabel = "", this.secondaryButtonVariant = "secondary", this.disablePortal = !1, this.zIndex = 99, this.initialized = !1, this.previousFocusedElement = null, this.handleKeyDown = (o) => {
|
|
1716
1721
|
this.open && (o.key === "Escape" ? this.closePanel() : o.key === "Tab" && this.trapFocus(o));
|
|
@@ -1809,7 +1814,7 @@ let b = class extends f {
|
|
|
1809
1814
|
`;
|
|
1810
1815
|
}
|
|
1811
1816
|
};
|
|
1812
|
-
|
|
1817
|
+
g.styles = m`
|
|
1813
1818
|
:host {
|
|
1814
1819
|
--z-overlay: 99;
|
|
1815
1820
|
--z-panel: 100;
|
|
@@ -1952,58 +1957,58 @@ b.styles = w`
|
|
|
1952
1957
|
`;
|
|
1953
1958
|
y([
|
|
1954
1959
|
a({ type: Boolean, reflect: !0 })
|
|
1955
|
-
],
|
|
1960
|
+
], g.prototype, "open", 2);
|
|
1956
1961
|
y([
|
|
1957
1962
|
a({ type: Boolean, reflect: !0 })
|
|
1958
|
-
],
|
|
1963
|
+
], g.prototype, "showHeader", 2);
|
|
1959
1964
|
y([
|
|
1960
1965
|
a({ type: Boolean, reflect: !0 })
|
|
1961
|
-
],
|
|
1966
|
+
], g.prototype, "showFooter", 2);
|
|
1962
1967
|
y([
|
|
1963
1968
|
a({ type: Boolean, reflect: !0 })
|
|
1964
|
-
],
|
|
1969
|
+
], g.prototype, "showHeaderStartIcon", 2);
|
|
1965
1970
|
y([
|
|
1966
1971
|
a({ type: String, reflect: !0 })
|
|
1967
|
-
],
|
|
1972
|
+
], g.prototype, "headerTitle", 2);
|
|
1968
1973
|
y([
|
|
1969
1974
|
a({ type: String, reflect: !0 })
|
|
1970
|
-
],
|
|
1975
|
+
], g.prototype, "closeButtonLabel", 2);
|
|
1971
1976
|
y([
|
|
1972
1977
|
a({ type: String, reflect: !0 })
|
|
1973
|
-
],
|
|
1978
|
+
], g.prototype, "firstButtonLabel", 2);
|
|
1974
1979
|
y([
|
|
1975
1980
|
a({ type: String, reflect: !0 })
|
|
1976
|
-
],
|
|
1981
|
+
], g.prototype, "firstButtonVariant", 2);
|
|
1977
1982
|
y([
|
|
1978
1983
|
a({ type: Function })
|
|
1979
|
-
],
|
|
1984
|
+
], g.prototype, "onFirstButtonClick", 2);
|
|
1980
1985
|
y([
|
|
1981
1986
|
a({ type: String, reflect: !0 })
|
|
1982
|
-
],
|
|
1987
|
+
], g.prototype, "secondaryButtonLabel", 2);
|
|
1983
1988
|
y([
|
|
1984
1989
|
a({ type: String, reflect: !0 })
|
|
1985
|
-
],
|
|
1990
|
+
], g.prototype, "secondaryButtonVariant", 2);
|
|
1986
1991
|
y([
|
|
1987
1992
|
a({ type: Function })
|
|
1988
|
-
],
|
|
1993
|
+
], g.prototype, "onSecondaryButtonClick", 2);
|
|
1989
1994
|
y([
|
|
1990
1995
|
a({ type: Boolean, reflect: !0 })
|
|
1991
|
-
],
|
|
1996
|
+
], g.prototype, "disablePortal", 2);
|
|
1992
1997
|
y([
|
|
1993
1998
|
a({ type: Number, reflect: !0 })
|
|
1994
|
-
],
|
|
1999
|
+
], g.prototype, "zIndex", 2);
|
|
1995
2000
|
y([
|
|
1996
2001
|
a({ type: Boolean, reflect: !0 })
|
|
1997
|
-
],
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
],
|
|
2001
|
-
var
|
|
2002
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
2002
|
+
], g.prototype, "initialized", 2);
|
|
2003
|
+
g = y([
|
|
2004
|
+
x("o-side-panel")
|
|
2005
|
+
], g);
|
|
2006
|
+
var Ye = Object.defineProperty, Qe = Object.getOwnPropertyDescriptor, M = (o, t, e, n) => {
|
|
2007
|
+
for (var i = n > 1 ? void 0 : n ? Qe(t, e) : t, s = o.length - 1, r; s >= 0; s--)
|
|
2003
2008
|
(r = o[s]) && (i = (n ? r(t, e, i) : r(i)) || i);
|
|
2004
|
-
return n && i &&
|
|
2009
|
+
return n && i && Ye(t, e, i), i;
|
|
2005
2010
|
};
|
|
2006
|
-
let
|
|
2011
|
+
let A = class extends b {
|
|
2007
2012
|
constructor() {
|
|
2008
2013
|
super(...arguments), this.thumbnails = [], this.activeIndex = 0, this.disabledIndexes = [], this.maxWidth = "100%", this.altressource = "visual", this.focusedIndex = 0, this.playerIconTemplate = l`
|
|
2009
2014
|
<o-icon-button
|
|
@@ -2080,7 +2085,7 @@ let k = class extends f {
|
|
|
2080
2085
|
`;
|
|
2081
2086
|
}
|
|
2082
2087
|
};
|
|
2083
|
-
|
|
2088
|
+
A.styles = m`
|
|
2084
2089
|
:host {
|
|
2085
2090
|
display: flex;
|
|
2086
2091
|
gap: 5px;
|
|
@@ -2184,36 +2189,36 @@ k.styles = w`
|
|
|
2184
2189
|
width: 0;
|
|
2185
2190
|
}
|
|
2186
2191
|
`;
|
|
2187
|
-
|
|
2192
|
+
M([
|
|
2188
2193
|
a({ type: Array })
|
|
2189
|
-
],
|
|
2190
|
-
|
|
2194
|
+
], A.prototype, "thumbnails", 2);
|
|
2195
|
+
M([
|
|
2191
2196
|
a({ type: Number })
|
|
2192
|
-
],
|
|
2193
|
-
|
|
2197
|
+
], A.prototype, "activeIndex", 2);
|
|
2198
|
+
M([
|
|
2194
2199
|
a({ type: Array })
|
|
2195
|
-
],
|
|
2196
|
-
|
|
2200
|
+
], A.prototype, "disabledIndexes", 2);
|
|
2201
|
+
M([
|
|
2197
2202
|
a({ type: String })
|
|
2198
|
-
],
|
|
2199
|
-
|
|
2203
|
+
], A.prototype, "maxWidth", 2);
|
|
2204
|
+
M([
|
|
2200
2205
|
a({ type: String })
|
|
2201
|
-
],
|
|
2202
|
-
|
|
2206
|
+
], A.prototype, "altressource", 2);
|
|
2207
|
+
M([
|
|
2203
2208
|
a({ type: Object })
|
|
2204
|
-
],
|
|
2205
|
-
|
|
2209
|
+
], A.prototype, "swiperInstance", 2);
|
|
2210
|
+
M([
|
|
2206
2211
|
F()
|
|
2207
|
-
],
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
],
|
|
2211
|
-
var
|
|
2212
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
2212
|
+
], A.prototype, "focusedIndex", 2);
|
|
2213
|
+
A = M([
|
|
2214
|
+
x("thumbnail-navigation")
|
|
2215
|
+
], A);
|
|
2216
|
+
var to = Object.defineProperty, eo = Object.getOwnPropertyDescriptor, kt = (o, t, e, n) => {
|
|
2217
|
+
for (var i = n > 1 ? void 0 : n ? eo(t, e) : t, s = o.length - 1, r; s >= 0; s--)
|
|
2213
2218
|
(r = o[s]) && (i = (n ? r(t, e, i) : r(i)) || i);
|
|
2214
|
-
return n && i &&
|
|
2219
|
+
return n && i && to(t, e, i), i;
|
|
2215
2220
|
};
|
|
2216
|
-
let et = class extends
|
|
2221
|
+
let et = class extends b {
|
|
2217
2222
|
constructor() {
|
|
2218
2223
|
super(...arguments), this.type = "", this.bgstyle = "background-white";
|
|
2219
2224
|
}
|
|
@@ -2223,7 +2228,7 @@ let et = class extends f {
|
|
|
2223
2228
|
`;
|
|
2224
2229
|
}
|
|
2225
2230
|
};
|
|
2226
|
-
et.styles =
|
|
2231
|
+
et.styles = m`
|
|
2227
2232
|
.tag {
|
|
2228
2233
|
display: inline-block;
|
|
2229
2234
|
padding: var(--spacing-2-xs) var(--spacing-s);
|
|
@@ -2279,21 +2284,21 @@ et.styles = w`
|
|
|
2279
2284
|
}
|
|
2280
2285
|
|
|
2281
2286
|
`;
|
|
2282
|
-
|
|
2287
|
+
kt([
|
|
2283
2288
|
a({ type: String, reflect: !0 })
|
|
2284
2289
|
], et.prototype, "type", 2);
|
|
2285
|
-
|
|
2290
|
+
kt([
|
|
2286
2291
|
a({ type: String, reflect: !0 })
|
|
2287
2292
|
], et.prototype, "bgstyle", 2);
|
|
2288
|
-
et =
|
|
2289
|
-
|
|
2293
|
+
et = kt([
|
|
2294
|
+
x("o-tag")
|
|
2290
2295
|
], et);
|
|
2291
|
-
var
|
|
2292
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
2296
|
+
var oo = Object.defineProperty, io = Object.getOwnPropertyDescriptor, At = (o, t, e, n) => {
|
|
2297
|
+
for (var i = n > 1 ? void 0 : n ? io(t, e) : t, s = o.length - 1, r; s >= 0; s--)
|
|
2293
2298
|
(r = o[s]) && (i = (n ? r(t, e, i) : r(i)) || i);
|
|
2294
|
-
return n && i &&
|
|
2299
|
+
return n && i && oo(t, e, i), i;
|
|
2295
2300
|
};
|
|
2296
|
-
let ot = class extends
|
|
2301
|
+
let ot = class extends b {
|
|
2297
2302
|
constructor() {
|
|
2298
2303
|
super(...arguments), this.type = "top", this.text = "";
|
|
2299
2304
|
}
|
|
@@ -2306,7 +2311,7 @@ let ot = class extends f {
|
|
|
2306
2311
|
`;
|
|
2307
2312
|
}
|
|
2308
2313
|
};
|
|
2309
|
-
ot.styles =
|
|
2314
|
+
ot.styles = m`
|
|
2310
2315
|
.tooltip {
|
|
2311
2316
|
position: relative;
|
|
2312
2317
|
display: inline-block;
|
|
@@ -2399,21 +2404,21 @@ ot.styles = w`
|
|
|
2399
2404
|
}
|
|
2400
2405
|
|
|
2401
2406
|
`;
|
|
2402
|
-
|
|
2407
|
+
At([
|
|
2403
2408
|
a({ type: String, reflect: !0 })
|
|
2404
2409
|
], ot.prototype, "type", 2);
|
|
2405
|
-
|
|
2410
|
+
At([
|
|
2406
2411
|
a({ type: String, reflect: !0 })
|
|
2407
2412
|
], ot.prototype, "text", 2);
|
|
2408
|
-
ot =
|
|
2409
|
-
|
|
2413
|
+
ot = At([
|
|
2414
|
+
x("o-tooltip")
|
|
2410
2415
|
], ot);
|
|
2411
|
-
var
|
|
2412
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
2416
|
+
var no = Object.defineProperty, ro = Object.getOwnPropertyDescriptor, O = (o, t, e, n) => {
|
|
2417
|
+
for (var i = n > 1 ? void 0 : n ? ro(t, e) : t, s = o.length - 1, r; s >= 0; s--)
|
|
2413
2418
|
(r = o[s]) && (i = (n ? r(t, e, i) : r(i)) || i);
|
|
2414
|
-
return n && i &&
|
|
2419
|
+
return n && i && no(t, e, i), i;
|
|
2415
2420
|
};
|
|
2416
|
-
let
|
|
2421
|
+
let k = class extends b {
|
|
2417
2422
|
constructor() {
|
|
2418
2423
|
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) => {
|
|
2419
2424
|
this.contains(o.target) || (this.open = !1, this.activeIndex = -1);
|
|
@@ -2524,10 +2529,10 @@ let C = class extends f {
|
|
|
2524
2529
|
${e.url ? l`
|
|
2525
2530
|
<a href="${e.url}">
|
|
2526
2531
|
<span>${e.label}</span>
|
|
2527
|
-
${e.value === this.value ? l`<span class="check">${
|
|
2532
|
+
${e.value === this.value ? l`<span class="check">${H(o)}</span>` : null}
|
|
2528
2533
|
</a>` : l`
|
|
2529
2534
|
<span>${e.label}</span>
|
|
2530
|
-
${e.value === this.value ? l`<span class="check">${
|
|
2535
|
+
${e.value === this.value ? l`<span class="check">${H(o)}</span>` : null}`}
|
|
2531
2536
|
</li>`
|
|
2532
2537
|
)}
|
|
2533
2538
|
</ul>` : null}
|
|
@@ -2536,7 +2541,7 @@ let C = class extends f {
|
|
|
2536
2541
|
`;
|
|
2537
2542
|
}
|
|
2538
2543
|
};
|
|
2539
|
-
|
|
2544
|
+
k.styles = m`
|
|
2540
2545
|
:host {
|
|
2541
2546
|
display: inline-block;
|
|
2542
2547
|
position: relative;
|
|
@@ -2676,44 +2681,44 @@ C.styles = w`
|
|
|
2676
2681
|
display: none;
|
|
2677
2682
|
}
|
|
2678
2683
|
`;
|
|
2679
|
-
|
|
2684
|
+
O([
|
|
2680
2685
|
a({ type: Array, reflect: !0 })
|
|
2681
|
-
],
|
|
2682
|
-
|
|
2686
|
+
], k.prototype, "options", 2);
|
|
2687
|
+
O([
|
|
2683
2688
|
a({ type: String, reflect: !0 })
|
|
2684
|
-
],
|
|
2685
|
-
|
|
2689
|
+
], k.prototype, "value", 2);
|
|
2690
|
+
O([
|
|
2686
2691
|
a({ type: String, reflect: !0 })
|
|
2687
|
-
],
|
|
2688
|
-
|
|
2692
|
+
], k.prototype, "name", 2);
|
|
2693
|
+
O([
|
|
2689
2694
|
a({ type: Boolean, reflect: !0 })
|
|
2690
|
-
],
|
|
2691
|
-
|
|
2695
|
+
], k.prototype, "disabled", 2);
|
|
2696
|
+
O([
|
|
2692
2697
|
a({ type: String, reflect: !0 })
|
|
2693
|
-
],
|
|
2694
|
-
|
|
2698
|
+
], k.prototype, "width", 2);
|
|
2699
|
+
O([
|
|
2695
2700
|
F()
|
|
2696
|
-
],
|
|
2697
|
-
|
|
2701
|
+
], k.prototype, "open", 2);
|
|
2702
|
+
O([
|
|
2698
2703
|
F()
|
|
2699
|
-
],
|
|
2700
|
-
|
|
2704
|
+
], k.prototype, "activeIndex", 2);
|
|
2705
|
+
O([
|
|
2701
2706
|
F()
|
|
2702
|
-
],
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
],
|
|
2706
|
-
var
|
|
2707
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
2707
|
+
], k.prototype, "menuWidth", 2);
|
|
2708
|
+
k = O([
|
|
2709
|
+
x("o-dropdown")
|
|
2710
|
+
], k);
|
|
2711
|
+
var so = Object.getOwnPropertyDescriptor, ao = (o, t, e, n) => {
|
|
2712
|
+
for (var i = n > 1 ? void 0 : n ? so(t, e) : t, s = o.length - 1, r; s >= 0; s--)
|
|
2708
2713
|
(r = o[s]) && (i = r(i) || i);
|
|
2709
2714
|
return i;
|
|
2710
2715
|
};
|
|
2711
|
-
let
|
|
2716
|
+
let mt = class extends b {
|
|
2712
2717
|
render() {
|
|
2713
2718
|
return l` <span class="dots"></span> `;
|
|
2714
2719
|
}
|
|
2715
2720
|
};
|
|
2716
|
-
|
|
2721
|
+
mt.styles = m`
|
|
2717
2722
|
:host {
|
|
2718
2723
|
display: flex;
|
|
2719
2724
|
align-items: center;
|
|
@@ -2765,15 +2770,15 @@ yt.styles = w`
|
|
|
2765
2770
|
}
|
|
2766
2771
|
}
|
|
2767
2772
|
`;
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
],
|
|
2771
|
-
var
|
|
2772
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
2773
|
+
mt = ao([
|
|
2774
|
+
x("o-dots")
|
|
2775
|
+
], mt);
|
|
2776
|
+
var lo = Object.defineProperty, co = Object.getOwnPropertyDescriptor, E = (o, t, e, n) => {
|
|
2777
|
+
for (var i = n > 1 ? void 0 : n ? co(t, e) : t, s = o.length - 1, r; s >= 0; s--)
|
|
2773
2778
|
(r = o[s]) && (i = (n ? r(t, e, i) : r(i)) || i);
|
|
2774
|
-
return n && i &&
|
|
2779
|
+
return n && i && lo(t, e, i), i;
|
|
2775
2780
|
};
|
|
2776
|
-
let
|
|
2781
|
+
let C = class extends b {
|
|
2777
2782
|
constructor() {
|
|
2778
2783
|
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) => {
|
|
2779
2784
|
this.contains(o.target) || (this.open = !1, this.activeIndex = -1);
|
|
@@ -2857,7 +2862,7 @@ let $ = class extends f {
|
|
|
2857
2862
|
?disabled=${this.disabled}
|
|
2858
2863
|
class="btn-dropdown"
|
|
2859
2864
|
>
|
|
2860
|
-
<img alt="${
|
|
2865
|
+
<img alt="${$(t == null ? void 0 : t.label)}" src="${$(t == null ? void 0 : t.imgurl)}" />
|
|
2861
2866
|
<span id="dropdown-label" class="label">
|
|
2862
2867
|
${t ? t.label : "Select an option"}
|
|
2863
2868
|
</span>
|
|
@@ -2892,13 +2897,13 @@ let $ = class extends f {
|
|
|
2892
2897
|
class="${n === this.activeIndex ? "active" : ""} ${e.disabled ? "disabled" : ""}"
|
|
2893
2898
|
@click=${() => this.selectOption(e)}
|
|
2894
2899
|
>
|
|
2895
|
-
<a href="${
|
|
2896
|
-
<img alt="${
|
|
2900
|
+
<a href="${$(e.url)}">
|
|
2901
|
+
<img alt="${$(e.label)}" src="${$(e.imgurl)}" />
|
|
2897
2902
|
<span class="label">${e.label}</span>
|
|
2898
2903
|
<div class="right">
|
|
2899
|
-
<span class="additional-text">${
|
|
2904
|
+
<span class="additional-text">${$(e.additionaltext)}</span>
|
|
2900
2905
|
${e.value === this.value && !e.additionaltext ? l`
|
|
2901
|
-
<span class="check">${
|
|
2906
|
+
<span class="check">${H(o)}</span>` : null}
|
|
2902
2907
|
</div>
|
|
2903
2908
|
</a>
|
|
2904
2909
|
</li>
|
|
@@ -2910,7 +2915,7 @@ let $ = class extends f {
|
|
|
2910
2915
|
`;
|
|
2911
2916
|
}
|
|
2912
2917
|
};
|
|
2913
|
-
|
|
2918
|
+
C.styles = m`
|
|
2914
2919
|
:host {
|
|
2915
2920
|
display: inline-block;
|
|
2916
2921
|
position: relative;
|
|
@@ -3086,33 +3091,178 @@ $.styles = w`
|
|
|
3086
3091
|
display: none;
|
|
3087
3092
|
}
|
|
3088
3093
|
`;
|
|
3089
|
-
|
|
3094
|
+
E([
|
|
3090
3095
|
a({ type: Array, reflect: !0 })
|
|
3091
|
-
],
|
|
3092
|
-
|
|
3096
|
+
], C.prototype, "options", 2);
|
|
3097
|
+
E([
|
|
3093
3098
|
a({ type: String, reflect: !0 })
|
|
3094
|
-
],
|
|
3095
|
-
|
|
3099
|
+
], C.prototype, "value", 2);
|
|
3100
|
+
E([
|
|
3096
3101
|
a({ type: String, reflect: !0 })
|
|
3097
|
-
],
|
|
3098
|
-
|
|
3102
|
+
], C.prototype, "name", 2);
|
|
3103
|
+
E([
|
|
3099
3104
|
a({ type: String, reflect: !0 })
|
|
3100
|
-
],
|
|
3101
|
-
|
|
3105
|
+
], C.prototype, "additionaltext", 2);
|
|
3106
|
+
E([
|
|
3102
3107
|
a({ type: Boolean, reflect: !0 })
|
|
3103
|
-
],
|
|
3104
|
-
|
|
3108
|
+
], C.prototype, "disabled", 2);
|
|
3109
|
+
E([
|
|
3105
3110
|
a({ type: String, reflect: !0 })
|
|
3106
|
-
],
|
|
3107
|
-
|
|
3111
|
+
], C.prototype, "width", 2);
|
|
3112
|
+
E([
|
|
3108
3113
|
F()
|
|
3109
|
-
],
|
|
3110
|
-
|
|
3114
|
+
], C.prototype, "open", 2);
|
|
3115
|
+
E([
|
|
3111
3116
|
F()
|
|
3112
|
-
],
|
|
3113
|
-
|
|
3117
|
+
], C.prototype, "activeIndex", 2);
|
|
3118
|
+
E([
|
|
3114
3119
|
F()
|
|
3115
|
-
],
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
],
|
|
3120
|
+
], C.prototype, "menuWidth", 2);
|
|
3121
|
+
C = E([
|
|
3122
|
+
x("o-dropdown-variant")
|
|
3123
|
+
], C);
|
|
3124
|
+
/**
|
|
3125
|
+
* @license
|
|
3126
|
+
* Copyright 2018 Google LLC
|
|
3127
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
3128
|
+
*/
|
|
3129
|
+
const Wt = "important", ho = " !" + Wt, po = Zt(class extends qt {
|
|
3130
|
+
constructor(o) {
|
|
3131
|
+
var t;
|
|
3132
|
+
if (super(o), o.type !== Vt.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.");
|
|
3133
|
+
}
|
|
3134
|
+
render(o) {
|
|
3135
|
+
return Object.keys(o).reduce((t, e) => {
|
|
3136
|
+
const n = o[e];
|
|
3137
|
+
return n == null ? t : t + `${e = e.includes("-") ? e : e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g, "-$&").toLowerCase()}:${n};`;
|
|
3138
|
+
}, "");
|
|
3139
|
+
}
|
|
3140
|
+
update(o, [t]) {
|
|
3141
|
+
const { style: e } = o.element;
|
|
3142
|
+
if (this.ft === void 0) return this.ft = new Set(Object.keys(t)), this.render(t);
|
|
3143
|
+
for (const n of this.ft) t[n] == null && (this.ft.delete(n), n.includes("-") ? e.removeProperty(n) : e[n] = null);
|
|
3144
|
+
for (const n in t) {
|
|
3145
|
+
const i = t[n];
|
|
3146
|
+
if (i != null) {
|
|
3147
|
+
this.ft.add(n);
|
|
3148
|
+
const s = typeof i == "string" && i.endsWith(ho);
|
|
3149
|
+
n.includes("-") || s ? e.setProperty(n, s ? i.slice(0, -11) : i, s ? Wt : "") : e[n] = i;
|
|
3150
|
+
}
|
|
3151
|
+
}
|
|
3152
|
+
return D;
|
|
3153
|
+
}
|
|
3154
|
+
});
|
|
3155
|
+
var uo = Object.defineProperty, vo = Object.getOwnPropertyDescriptor, St = (o, t, e, n) => {
|
|
3156
|
+
for (var i = n > 1 ? void 0 : n ? vo(t, e) : t, s = o.length - 1, r; s >= 0; s--)
|
|
3157
|
+
(r = o[s]) && (i = (n ? r(t, e, i) : r(i)) || i);
|
|
3158
|
+
return n && i && uo(t, e, i), i;
|
|
3159
|
+
};
|
|
3160
|
+
let it = class extends b {
|
|
3161
|
+
constructor() {
|
|
3162
|
+
super(...arguments), this.option = {}, this.imageSize = 64;
|
|
3163
|
+
}
|
|
3164
|
+
render() {
|
|
3165
|
+
const o = this.option.clickable, t = {
|
|
3166
|
+
width: `${this.imageSize}px`,
|
|
3167
|
+
height: `${this.imageSize}px`
|
|
3168
|
+
}, e = l`
|
|
3169
|
+
${this.option.imgurl ? l`<img src="${this.option.imgurl}" alt="${$(this.option.title)}" aria-hidden="true" style=${po(t)} />` : ""}
|
|
3170
|
+
<div class="m-reassurance-content">
|
|
3171
|
+
<h3 class="a-reassurance-text">${$(this.option.title)}</h3>
|
|
3172
|
+
<p class="a-reassurance-description">${$(this.option.description)}</p>
|
|
3173
|
+
</div>
|
|
3174
|
+
`;
|
|
3175
|
+
return o ? l`<a href="${$(this.option.url)}" class="reassurance-item clickable">${e}</a>` : l`<div class="reassurance-item">${e}</div>`;
|
|
3176
|
+
}
|
|
3177
|
+
};
|
|
3178
|
+
it.styles = m`
|
|
3179
|
+
:host {
|
|
3180
|
+
display: inline-block;
|
|
3181
|
+
position: relative;
|
|
3182
|
+
width: 100%;
|
|
3183
|
+
}
|
|
3184
|
+
|
|
3185
|
+
.reassurance-item {
|
|
3186
|
+
display: flex;
|
|
3187
|
+
column-gap: var(--spacing-xl);
|
|
3188
|
+
align-items: center;
|
|
3189
|
+
border: var(--border-m) solid var(--color-alpha-dark-lightest);
|
|
3190
|
+
background-color: var(--color-container-bg-white);
|
|
3191
|
+
border-radius: var(--radius-m);
|
|
3192
|
+
padding: var(--spacing-xl);
|
|
3193
|
+
|
|
3194
|
+
&:has(img) {
|
|
3195
|
+
padding: var(--spacing-2-xs) var(--spacing-s) var(--spacing-2-xs) var(--spacing-2-xs);
|
|
3196
|
+
}
|
|
3197
|
+
|
|
3198
|
+
&.clickable {
|
|
3199
|
+
text-decoration: none;
|
|
3200
|
+
|
|
3201
|
+
&:disabled {
|
|
3202
|
+
box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.06);
|
|
3203
|
+
}
|
|
3204
|
+
|
|
3205
|
+
&:hover {
|
|
3206
|
+
border: none;
|
|
3207
|
+
box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.12);
|
|
3208
|
+
}
|
|
3209
|
+
|
|
3210
|
+
&:active {
|
|
3211
|
+
border: none;
|
|
3212
|
+
box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.32);
|
|
3213
|
+
}
|
|
3214
|
+
}
|
|
3215
|
+
|
|
3216
|
+
img {
|
|
3217
|
+
display: block;
|
|
3218
|
+
aspect-ratio: 1 / 1;
|
|
3219
|
+
border-radius: var(--radius-s);
|
|
3220
|
+
}
|
|
3221
|
+
|
|
3222
|
+
.m-reassurance-content {
|
|
3223
|
+
display: flex;
|
|
3224
|
+
flex-direction: column;
|
|
3225
|
+
justify-content: flex-start;
|
|
3226
|
+
row-gap: var(--spacing-3-xs);
|
|
3227
|
+
}
|
|
3228
|
+
|
|
3229
|
+
.a-reassurance-text {
|
|
3230
|
+
color: var(--color-content-body);
|
|
3231
|
+
font-family: var(--font-family-loccitane-sans);
|
|
3232
|
+
font-size: var(--font-size-100);
|
|
3233
|
+
font-weight: var(--font-weight-500);
|
|
3234
|
+
line-height: var(--line-height-160);
|
|
3235
|
+
letter-spacing: var(--letter-spacing-400);
|
|
3236
|
+
text-transform: uppercase;
|
|
3237
|
+
margin: var(--spacing-4-xs);
|
|
3238
|
+
}
|
|
3239
|
+
|
|
3240
|
+
.a-reassurance-description {
|
|
3241
|
+
color: var(--color-content-description);
|
|
3242
|
+
font-family: var(--font-family-loccitane-sans);
|
|
3243
|
+
font-size: var(--font-size-150);
|
|
3244
|
+
font-weight: var(--font-weight-400);
|
|
3245
|
+
line-height: var(--line-height-200);
|
|
3246
|
+
margin: var(--spacing-4-xs);
|
|
3247
|
+
display: -webkit-box;
|
|
3248
|
+
-webkit-line-clamp: 2;
|
|
3249
|
+
line-clamp: 2;
|
|
3250
|
+
-webkit-box-orient: vertical;
|
|
3251
|
+
overflow: hidden;
|
|
3252
|
+
|
|
3253
|
+
@media (min-width: 1025px) {
|
|
3254
|
+
-webkit-line-clamp: 3;
|
|
3255
|
+
line-clamp: 3;
|
|
3256
|
+
}
|
|
3257
|
+
}
|
|
3258
|
+
}
|
|
3259
|
+
`;
|
|
3260
|
+
St([
|
|
3261
|
+
a({ type: Object, reflect: !0 })
|
|
3262
|
+
], it.prototype, "option", 2);
|
|
3263
|
+
St([
|
|
3264
|
+
a({ type: Number, reflect: !0 })
|
|
3265
|
+
], it.prototype, "imageSize", 2);
|
|
3266
|
+
it = St([
|
|
3267
|
+
x("o-reassurance")
|
|
3268
|
+
], it);
|