@florid-kit/components 0.8.39 → 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 +193 -87
- package/index.mjs +642 -490
- 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,74 +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>`,
|
|
742
|
+
</svg>`, to = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
743
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
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
745
|
</svg>
|
|
746
|
-
`,
|
|
747
|
-
wishlist:
|
|
748
|
-
playerv:
|
|
749
|
-
chevronRight:
|
|
750
|
-
chevronLeft:
|
|
751
|
-
icoPlus:
|
|
752
|
-
icoMinus:
|
|
753
|
-
"star-0":
|
|
754
|
-
"star-25":
|
|
755
|
-
"star-50":
|
|
756
|
-
"star-75":
|
|
757
|
-
"star-100":
|
|
758
|
-
cross:
|
|
759
|
-
search:
|
|
760
|
-
arrowLeft:
|
|
761
|
-
arrowTop:
|
|
762
|
-
cart:
|
|
763
|
-
notifyme:
|
|
764
|
-
triangledown:
|
|
765
|
-
triangleup:
|
|
766
|
-
checkstroke:
|
|
767
|
-
pause:
|
|
768
|
-
mapDualArrow:
|
|
769
|
-
swipeDualArrow:
|
|
770
|
-
},
|
|
771
|
-
strikeDiagonal:
|
|
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
|
|
772
772
|
};
|
|
773
773
|
/**
|
|
774
774
|
* @license
|
|
775
775
|
* Copyright 2017 Google LLC
|
|
776
776
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
777
777
|
*/
|
|
778
|
-
const
|
|
779
|
-
let
|
|
778
|
+
const Ht = { ATTRIBUTE: 1, CHILD: 2 }, Tt = (o) => (...t) => ({ _$litDirective$: o, values: t });
|
|
779
|
+
let Mt = class {
|
|
780
780
|
constructor(t) {
|
|
781
781
|
}
|
|
782
782
|
get _$AU() {
|
|
@@ -797,9 +797,9 @@ let Ht = class {
|
|
|
797
797
|
* Copyright 2017 Google LLC
|
|
798
798
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
799
799
|
*/
|
|
800
|
-
class
|
|
800
|
+
class Et extends Mt {
|
|
801
801
|
constructor(t) {
|
|
802
|
-
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");
|
|
803
803
|
}
|
|
804
804
|
render(t) {
|
|
805
805
|
if (t === d || t == null) return this._t = void 0, this.it = t;
|
|
@@ -811,23 +811,23 @@ class kt extends Ht {
|
|
|
811
811
|
return e.raw = e, this._t = { _$litType$: this.constructor.resultType, strings: e, values: [] };
|
|
812
812
|
}
|
|
813
813
|
}
|
|
814
|
-
|
|
814
|
+
Et.directiveName = "unsafeHTML", Et.resultType = 1;
|
|
815
815
|
/**
|
|
816
816
|
* @license
|
|
817
817
|
* Copyright 2017 Google LLC
|
|
818
818
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
819
819
|
*/
|
|
820
|
-
class
|
|
820
|
+
class St extends Et {
|
|
821
821
|
}
|
|
822
|
-
|
|
823
|
-
const
|
|
824
|
-
var
|
|
825
|
-
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--)
|
|
826
826
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
827
|
-
return n && i &&
|
|
827
|
+
return n && i && oo(t, e, i), i;
|
|
828
828
|
};
|
|
829
|
-
const
|
|
830
|
-
let
|
|
829
|
+
const no = Dt(u);
|
|
830
|
+
let f = class extends no {
|
|
831
831
|
constructor() {
|
|
832
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;
|
|
833
833
|
}
|
|
@@ -838,7 +838,7 @@ let b = class extends eo {
|
|
|
838
838
|
this.setAttribute("name", o);
|
|
839
839
|
}
|
|
840
840
|
get form() {
|
|
841
|
-
return this[
|
|
841
|
+
return this[zt].form;
|
|
842
842
|
}
|
|
843
843
|
handleClick() {
|
|
844
844
|
if (this.panelTarget) {
|
|
@@ -852,11 +852,11 @@ let b = class extends eo {
|
|
|
852
852
|
renderIcon(o) {
|
|
853
853
|
const t = o === "start" ? this.startIconModel : this.endIconModel;
|
|
854
854
|
if (!t) return d;
|
|
855
|
-
const e =
|
|
855
|
+
const e = G[t].replace(
|
|
856
856
|
"<svg",
|
|
857
857
|
'<svg aria-hidden="true" focusable="false" part="svg"'
|
|
858
858
|
);
|
|
859
|
-
return l`<span class="${o === "start" ? "icon-start" : "icon-end"}">${
|
|
859
|
+
return l`<span class="${o === "start" ? "icon-start" : "icon-end"}">${L(e)}</span>`;
|
|
860
860
|
}
|
|
861
861
|
renderButton() {
|
|
862
862
|
const o = this.text || this.textsecond;
|
|
@@ -890,9 +890,9 @@ let b = class extends eo {
|
|
|
890
890
|
`;
|
|
891
891
|
}
|
|
892
892
|
};
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
893
|
+
Pe(f);
|
|
894
|
+
f.formAssociated = !0;
|
|
895
|
+
f.styles = b`
|
|
896
896
|
:host {
|
|
897
897
|
--button-border: transparent;
|
|
898
898
|
cursor: pointer;
|
|
@@ -1004,7 +1004,7 @@ b.styles = y`
|
|
|
1004
1004
|
}
|
|
1005
1005
|
|
|
1006
1006
|
.button:focus-visible {
|
|
1007
|
-
${
|
|
1007
|
+
${mt};
|
|
1008
1008
|
}
|
|
1009
1009
|
|
|
1010
1010
|
span.text + span.text::before {
|
|
@@ -1079,58 +1079,58 @@ b.styles = y`
|
|
|
1079
1079
|
`;
|
|
1080
1080
|
w([
|
|
1081
1081
|
a()
|
|
1082
|
-
],
|
|
1082
|
+
], f.prototype, "type", 2);
|
|
1083
1083
|
w([
|
|
1084
1084
|
a({ reflect: !0 })
|
|
1085
|
-
],
|
|
1085
|
+
], f.prototype, "value", 2);
|
|
1086
1086
|
w([
|
|
1087
1087
|
a({ type: String, reflect: !0 })
|
|
1088
|
-
],
|
|
1088
|
+
], f.prototype, "variant", 2);
|
|
1089
1089
|
w([
|
|
1090
1090
|
a({ type: String })
|
|
1091
|
-
],
|
|
1091
|
+
], f.prototype, "text", 2);
|
|
1092
1092
|
w([
|
|
1093
1093
|
a({ type: String })
|
|
1094
|
-
],
|
|
1094
|
+
], f.prototype, "textsecond", 2);
|
|
1095
1095
|
w([
|
|
1096
1096
|
a({ type: Boolean, reflect: !0 })
|
|
1097
|
-
],
|
|
1097
|
+
], f.prototype, "fullwidth", 2);
|
|
1098
1098
|
w([
|
|
1099
1099
|
a({ type: Boolean, reflect: !0 })
|
|
1100
|
-
],
|
|
1100
|
+
], f.prototype, "disabled", 2);
|
|
1101
1101
|
w([
|
|
1102
1102
|
a({ type: String, reflect: !0 })
|
|
1103
|
-
],
|
|
1103
|
+
], f.prototype, "startIconModel", 2);
|
|
1104
1104
|
w([
|
|
1105
1105
|
a({ type: String, reflect: !0 })
|
|
1106
|
-
],
|
|
1106
|
+
], f.prototype, "endIconModel", 2);
|
|
1107
1107
|
w([
|
|
1108
1108
|
a({ type: Boolean, reflect: !0, attribute: "starticon" })
|
|
1109
|
-
],
|
|
1109
|
+
], f.prototype, "startIcon", 2);
|
|
1110
1110
|
w([
|
|
1111
1111
|
a({ type: Boolean, reflect: !0, attribute: "endicon" })
|
|
1112
|
-
],
|
|
1112
|
+
], f.prototype, "endIcon", 2);
|
|
1113
1113
|
w([
|
|
1114
1114
|
a({ type: String, attribute: "paneltarget", reflect: !0 })
|
|
1115
|
-
],
|
|
1115
|
+
], f.prototype, "panelTarget", 2);
|
|
1116
1116
|
w([
|
|
1117
1117
|
a({ type: String })
|
|
1118
|
-
],
|
|
1118
|
+
], f.prototype, "href", 2);
|
|
1119
1119
|
w([
|
|
1120
1120
|
a({ type: String })
|
|
1121
|
-
],
|
|
1121
|
+
], f.prototype, "target", 2);
|
|
1122
1122
|
w([
|
|
1123
1123
|
a({ type: Boolean, reflect: !0 })
|
|
1124
|
-
],
|
|
1125
|
-
|
|
1124
|
+
], f.prototype, "underlined", 2);
|
|
1125
|
+
f = w([
|
|
1126
1126
|
x("o-button")
|
|
1127
|
-
],
|
|
1128
|
-
var
|
|
1129
|
-
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--)
|
|
1130
1130
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
1131
|
-
return n && i &&
|
|
1131
|
+
return n && i && ro(t, e, i), i;
|
|
1132
1132
|
};
|
|
1133
|
-
let
|
|
1133
|
+
let Y = class extends u {
|
|
1134
1134
|
constructor() {
|
|
1135
1135
|
super(...arguments), this.status = "empty", this.ariaDescribedBy = "a-product-name", this.label = "Add to wishlist", this.toggleStatus = () => {
|
|
1136
1136
|
this.status = this.status === "empty" ? "filled" : "empty", this.setAttribute("aria-pressed", String(this.status === "filled")), this.dispatchEvent(new CustomEvent("wishlist-toggle", {
|
|
@@ -1150,14 +1150,14 @@ let J = class extends v {
|
|
|
1150
1150
|
(o.key === "Enter" || o.key === " ") && (o.preventDefault(), this.toggleStatus());
|
|
1151
1151
|
}
|
|
1152
1152
|
render() {
|
|
1153
|
-
const o =
|
|
1153
|
+
const o = G.wishlist.replace(
|
|
1154
1154
|
"<svg",
|
|
1155
1155
|
'<svg aria-hidden="true" focusable="false" part="svg"'
|
|
1156
1156
|
);
|
|
1157
1157
|
return l`
|
|
1158
1158
|
<button type="button" aria-describedby="${this.ariaDescribedBy}" class="wishlist-button">
|
|
1159
1159
|
<span class="sr-only">${this.label}</span>
|
|
1160
|
-
${
|
|
1160
|
+
${L(o)}
|
|
1161
1161
|
</button>
|
|
1162
1162
|
`;
|
|
1163
1163
|
}
|
|
@@ -1171,7 +1171,7 @@ let J = class extends v {
|
|
|
1171
1171
|
this.label = o, this.requestUpdate();
|
|
1172
1172
|
}
|
|
1173
1173
|
};
|
|
1174
|
-
|
|
1174
|
+
Y.styles = b`
|
|
1175
1175
|
:host {
|
|
1176
1176
|
display: inline-flex;
|
|
1177
1177
|
justify-content: center;
|
|
@@ -1237,30 +1237,30 @@ J.styles = y`
|
|
|
1237
1237
|
white-space: nowrap !important;
|
|
1238
1238
|
}
|
|
1239
1239
|
`;
|
|
1240
|
-
|
|
1240
|
+
xt([
|
|
1241
1241
|
a({ type: String, reflect: !0 })
|
|
1242
|
-
],
|
|
1243
|
-
|
|
1242
|
+
], Y.prototype, "status", 2);
|
|
1243
|
+
xt([
|
|
1244
1244
|
a({ type: String, reflect: !0 })
|
|
1245
|
-
],
|
|
1246
|
-
|
|
1245
|
+
], Y.prototype, "ariaDescribedBy", 2);
|
|
1246
|
+
xt([
|
|
1247
1247
|
a({ type: String, reflect: !0 })
|
|
1248
|
-
],
|
|
1249
|
-
|
|
1248
|
+
], Y.prototype, "label", 2);
|
|
1249
|
+
Y = xt([
|
|
1250
1250
|
x("o-wishlist-button")
|
|
1251
|
-
],
|
|
1251
|
+
], Y);
|
|
1252
1252
|
/**
|
|
1253
1253
|
* @license
|
|
1254
1254
|
* Copyright 2018 Google LLC
|
|
1255
1255
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1256
1256
|
*/
|
|
1257
1257
|
const $ = (o) => o ?? d;
|
|
1258
|
-
var
|
|
1259
|
-
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--)
|
|
1260
1260
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
1261
|
-
return n && i &&
|
|
1261
|
+
return n && i && ao(t, e, i), i;
|
|
1262
1262
|
};
|
|
1263
|
-
let _ = class extends
|
|
1263
|
+
let _ = class extends u {
|
|
1264
1264
|
constructor() {
|
|
1265
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 = "";
|
|
1266
1266
|
}
|
|
@@ -1268,14 +1268,14 @@ let _ = class extends v {
|
|
|
1268
1268
|
super.updated(o), this.style.setProperty("--icon-stroke-width", this.strokewidth);
|
|
1269
1269
|
}
|
|
1270
1270
|
render() {
|
|
1271
|
-
const o =
|
|
1271
|
+
const o = G[this.icon] ?? "", t = `icon-${this.icon}`, e = o.replace(
|
|
1272
1272
|
"<svg",
|
|
1273
1273
|
'<svg aria-hidden="true" focusable="false" part="svg"'
|
|
1274
1274
|
), n = this.showSrLabel ? l`<span class="sr-only">${this.srLabel}</span>` : null, i = this.showSrLabel ? null : "icon";
|
|
1275
1275
|
return l`
|
|
1276
1276
|
${this.type === "span" ? l`
|
|
1277
1277
|
<span class="icon icon-button ${this.size} ${this.bgstyle} ${this.status} ${t}" ?disabled="${this.disabled}">
|
|
1278
|
-
${
|
|
1278
|
+
${L(e)}
|
|
1279
1279
|
</span>
|
|
1280
1280
|
` : l`
|
|
1281
1281
|
<button
|
|
@@ -1284,14 +1284,14 @@ let _ = class extends v {
|
|
|
1284
1284
|
class="icon-button ${this.size} ${this.bgstyle} ${this.status} ${t}"
|
|
1285
1285
|
?disabled="${this.disabled}"
|
|
1286
1286
|
>
|
|
1287
|
-
${
|
|
1287
|
+
${L(e)}
|
|
1288
1288
|
${n}
|
|
1289
1289
|
</button>
|
|
1290
1290
|
`}
|
|
1291
1291
|
`;
|
|
1292
1292
|
}
|
|
1293
1293
|
};
|
|
1294
|
-
_.styles =
|
|
1294
|
+
_.styles = b`
|
|
1295
1295
|
:host {
|
|
1296
1296
|
display: inline-flex;
|
|
1297
1297
|
justify-content: center;
|
|
@@ -1502,42 +1502,42 @@ _.styles = y`
|
|
|
1502
1502
|
display: none;
|
|
1503
1503
|
}
|
|
1504
1504
|
`;
|
|
1505
|
-
|
|
1505
|
+
I([
|
|
1506
1506
|
a({ type: String, reflect: !0 })
|
|
1507
1507
|
], _.prototype, "bgstyle", 2);
|
|
1508
|
-
|
|
1508
|
+
I([
|
|
1509
1509
|
a({ type: String, reflect: !0 })
|
|
1510
1510
|
], _.prototype, "size", 2);
|
|
1511
|
-
|
|
1511
|
+
I([
|
|
1512
1512
|
a({ type: String, reflect: !0 })
|
|
1513
1513
|
], _.prototype, "status", 2);
|
|
1514
|
-
|
|
1514
|
+
I([
|
|
1515
1515
|
a({ type: String, reflect: !0 })
|
|
1516
1516
|
], _.prototype, "type", 2);
|
|
1517
|
-
|
|
1517
|
+
I([
|
|
1518
1518
|
a({ type: String })
|
|
1519
1519
|
], _.prototype, "strokewidth", 2);
|
|
1520
|
-
|
|
1520
|
+
I([
|
|
1521
1521
|
a({ type: String })
|
|
1522
1522
|
], _.prototype, "icon", 2);
|
|
1523
|
-
|
|
1523
|
+
I([
|
|
1524
1524
|
a({ type: Boolean, reflect: !0 })
|
|
1525
1525
|
], _.prototype, "disabled", 2);
|
|
1526
|
-
|
|
1526
|
+
I([
|
|
1527
1527
|
a({ type: Boolean })
|
|
1528
1528
|
], _.prototype, "showSrLabel", 2);
|
|
1529
|
-
|
|
1529
|
+
I([
|
|
1530
1530
|
a({ type: String })
|
|
1531
1531
|
], _.prototype, "srLabel", 2);
|
|
1532
|
-
_ =
|
|
1532
|
+
_ = I([
|
|
1533
1533
|
x("o-icon-button")
|
|
1534
1534
|
], _);
|
|
1535
|
-
var
|
|
1536
|
-
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--)
|
|
1537
1537
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
1538
|
-
return n && i &&
|
|
1538
|
+
return n && i && co(t, e, i), i;
|
|
1539
1539
|
};
|
|
1540
|
-
let
|
|
1540
|
+
let z = class extends u {
|
|
1541
1541
|
constructor() {
|
|
1542
1542
|
super(...arguments), this.href = "", this.target = "", this.template = "standard", this.inverse = !1, this.endIcon = !1, this.reverseEndIcon = !1;
|
|
1543
1543
|
}
|
|
@@ -1575,7 +1575,7 @@ let B = class extends v {
|
|
|
1575
1575
|
`;
|
|
1576
1576
|
}
|
|
1577
1577
|
};
|
|
1578
|
-
|
|
1578
|
+
z.styles = b`
|
|
1579
1579
|
:host([template="standard"]) a {
|
|
1580
1580
|
color: var(--color-content-action-secondary);
|
|
1581
1581
|
font-size: var(--font-size-200);
|
|
@@ -1663,33 +1663,33 @@ B.styles = y`
|
|
|
1663
1663
|
}
|
|
1664
1664
|
/* End of underline effect */
|
|
1665
1665
|
`;
|
|
1666
|
-
|
|
1666
|
+
X([
|
|
1667
1667
|
a({ type: String })
|
|
1668
|
-
],
|
|
1669
|
-
|
|
1668
|
+
], z.prototype, "href", 2);
|
|
1669
|
+
X([
|
|
1670
1670
|
a({ type: String })
|
|
1671
|
-
],
|
|
1672
|
-
|
|
1671
|
+
], z.prototype, "target", 2);
|
|
1672
|
+
X([
|
|
1673
1673
|
a({ type: String, reflect: !0 })
|
|
1674
|
-
],
|
|
1675
|
-
|
|
1674
|
+
], z.prototype, "template", 2);
|
|
1675
|
+
X([
|
|
1676
1676
|
a({ type: Boolean, reflect: !0 })
|
|
1677
|
-
],
|
|
1678
|
-
|
|
1677
|
+
], z.prototype, "inverse", 2);
|
|
1678
|
+
X([
|
|
1679
1679
|
a({ type: Boolean, reflect: !0 })
|
|
1680
|
-
],
|
|
1681
|
-
|
|
1680
|
+
], z.prototype, "endIcon", 2);
|
|
1681
|
+
X([
|
|
1682
1682
|
a({ type: Boolean, reflect: !0 })
|
|
1683
|
-
],
|
|
1684
|
-
|
|
1683
|
+
], z.prototype, "reverseEndIcon", 2);
|
|
1684
|
+
z = X([
|
|
1685
1685
|
x("o-link")
|
|
1686
|
-
],
|
|
1687
|
-
var
|
|
1688
|
-
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--)
|
|
1689
1689
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
1690
|
-
return n && i &&
|
|
1690
|
+
return n && i && po(t, e, i), i;
|
|
1691
1691
|
};
|
|
1692
|
-
let
|
|
1692
|
+
let tt = class extends u {
|
|
1693
1693
|
constructor() {
|
|
1694
1694
|
super(...arguments), this.rating = 0;
|
|
1695
1695
|
}
|
|
@@ -1708,7 +1708,7 @@ let Q = class extends v {
|
|
|
1708
1708
|
<div class="rating">
|
|
1709
1709
|
<div class="stars">
|
|
1710
1710
|
${o.map(
|
|
1711
|
-
(t) => l`<span class="star">${
|
|
1711
|
+
(t) => l`<span class="star">${L(G[t] ?? "")}</span>`
|
|
1712
1712
|
)}
|
|
1713
1713
|
</div>
|
|
1714
1714
|
${this.reviewCount != null && this.href != null ? l`<o-link template="review" href="${this.href}">${this.reviewCount}</o-link>` : null}
|
|
@@ -1716,7 +1716,7 @@ let Q = class extends v {
|
|
|
1716
1716
|
`;
|
|
1717
1717
|
}
|
|
1718
1718
|
};
|
|
1719
|
-
|
|
1719
|
+
tt.styles = b`
|
|
1720
1720
|
svg {
|
|
1721
1721
|
width: 12px;
|
|
1722
1722
|
height: 12px;
|
|
@@ -1750,74 +1750,74 @@ Q.styles = y`
|
|
|
1750
1750
|
cursor: pointer;
|
|
1751
1751
|
}
|
|
1752
1752
|
`;
|
|
1753
|
-
|
|
1753
|
+
wt([
|
|
1754
1754
|
a({ type: Number })
|
|
1755
|
-
],
|
|
1756
|
-
|
|
1755
|
+
], tt.prototype, "rating", 2);
|
|
1756
|
+
wt([
|
|
1757
1757
|
a({ type: String })
|
|
1758
|
-
],
|
|
1759
|
-
|
|
1758
|
+
], tt.prototype, "reviewCount", 2);
|
|
1759
|
+
wt([
|
|
1760
1760
|
a({ type: String })
|
|
1761
|
-
],
|
|
1762
|
-
|
|
1761
|
+
], tt.prototype, "href", 2);
|
|
1762
|
+
tt = wt([
|
|
1763
1763
|
x("o-rating")
|
|
1764
|
-
],
|
|
1764
|
+
], tt);
|
|
1765
1765
|
/**
|
|
1766
1766
|
* @license
|
|
1767
1767
|
* Copyright 2020 Google LLC
|
|
1768
1768
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1769
1769
|
*/
|
|
1770
|
-
const
|
|
1770
|
+
const vo = (o) => o.strings === void 0;
|
|
1771
1771
|
/**
|
|
1772
1772
|
* @license
|
|
1773
1773
|
* Copyright 2017 Google LLC
|
|
1774
1774
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1775
1775
|
*/
|
|
1776
|
-
const
|
|
1776
|
+
const nt = (o, t) => {
|
|
1777
1777
|
var n;
|
|
1778
1778
|
const e = o._$AN;
|
|
1779
1779
|
if (e === void 0) return !1;
|
|
1780
|
-
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);
|
|
1781
1781
|
return !0;
|
|
1782
|
-
},
|
|
1782
|
+
}, gt = (o) => {
|
|
1783
1783
|
let t, e;
|
|
1784
1784
|
do {
|
|
1785
1785
|
if ((t = o._$AM) === void 0) break;
|
|
1786
1786
|
e = t._$AN, e.delete(o), o = t;
|
|
1787
1787
|
} while ((e == null ? void 0 : e.size) === 0);
|
|
1788
|
-
},
|
|
1788
|
+
}, ae = (o) => {
|
|
1789
1789
|
for (let t; t = o._$AM; o = t) {
|
|
1790
1790
|
let e = t._$AN;
|
|
1791
1791
|
if (e === void 0) t._$AN = e = /* @__PURE__ */ new Set();
|
|
1792
1792
|
else if (e.has(o)) break;
|
|
1793
|
-
e.add(o),
|
|
1793
|
+
e.add(o), go(t);
|
|
1794
1794
|
}
|
|
1795
1795
|
};
|
|
1796
|
-
function
|
|
1797
|
-
this._$AN !== void 0 ? (
|
|
1796
|
+
function fo(o) {
|
|
1797
|
+
this._$AN !== void 0 ? (gt(this), this._$AM = o, ae(this)) : this._$AM = o;
|
|
1798
1798
|
}
|
|
1799
|
-
function
|
|
1799
|
+
function bo(o, t = !1, e = 0) {
|
|
1800
1800
|
const n = this._$AH, i = this._$AN;
|
|
1801
|
-
if (i !== void 0 && i.size !== 0) if (t) if (Array.isArray(n)) for (let r = e; r < n.length; r++)
|
|
1802
|
-
else n != null && (
|
|
1803
|
-
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);
|
|
1804
1804
|
}
|
|
1805
|
-
const
|
|
1806
|
-
o.type ==
|
|
1805
|
+
const go = (o) => {
|
|
1806
|
+
o.type == Ht.CHILD && (o._$AP ?? (o._$AP = bo), o._$AQ ?? (o._$AQ = fo));
|
|
1807
1807
|
};
|
|
1808
|
-
class
|
|
1808
|
+
class yo extends Mt {
|
|
1809
1809
|
constructor() {
|
|
1810
1810
|
super(...arguments), this._$AN = void 0;
|
|
1811
1811
|
}
|
|
1812
1812
|
_$AT(t, e, n) {
|
|
1813
|
-
super._$AT(t, e, n),
|
|
1813
|
+
super._$AT(t, e, n), ae(this), this.isConnected = t._$AU;
|
|
1814
1814
|
}
|
|
1815
1815
|
_$AO(t, e = !0) {
|
|
1816
1816
|
var n, i;
|
|
1817
|
-
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));
|
|
1818
1818
|
}
|
|
1819
1819
|
setValue(t) {
|
|
1820
|
-
if (
|
|
1820
|
+
if (vo(this._$Ct)) this._$Ct._$AI(t, this);
|
|
1821
1821
|
else {
|
|
1822
1822
|
const e = [...this._$Ct._$AH];
|
|
1823
1823
|
e[this._$Ci] = t, this._$Ct._$AI(e, this, 0);
|
|
@@ -1828,7 +1828,7 @@ class bo extends Ht {
|
|
|
1828
1828
|
reconnected() {
|
|
1829
1829
|
}
|
|
1830
1830
|
}
|
|
1831
|
-
class
|
|
1831
|
+
class mo extends yo {
|
|
1832
1832
|
constructor() {
|
|
1833
1833
|
super(...arguments), this.prevData = {};
|
|
1834
1834
|
}
|
|
@@ -1855,7 +1855,7 @@ class fo extends bo {
|
|
|
1855
1855
|
(!t || !(i in t) && n[i] === e[i]) && (n[i] = void 0);
|
|
1856
1856
|
}
|
|
1857
1857
|
}
|
|
1858
|
-
class
|
|
1858
|
+
class xo extends mo {
|
|
1859
1859
|
constructor() {
|
|
1860
1860
|
super(...arguments), this.eventData = {};
|
|
1861
1861
|
}
|
|
@@ -1899,7 +1899,7 @@ class go extends fo {
|
|
|
1899
1899
|
}
|
|
1900
1900
|
}
|
|
1901
1901
|
}
|
|
1902
|
-
class
|
|
1902
|
+
class wo extends xo {
|
|
1903
1903
|
apply(t) {
|
|
1904
1904
|
if (!t)
|
|
1905
1905
|
return;
|
|
@@ -1948,13 +1948,13 @@ class yo extends go {
|
|
|
1948
1948
|
}
|
|
1949
1949
|
}
|
|
1950
1950
|
}
|
|
1951
|
-
const
|
|
1952
|
-
var
|
|
1953
|
-
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--)
|
|
1954
1954
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
1955
|
-
return n && i &&
|
|
1955
|
+
return n && i && $o(t, e, i), i;
|
|
1956
1956
|
};
|
|
1957
|
-
let
|
|
1957
|
+
let v = class extends u {
|
|
1958
1958
|
constructor() {
|
|
1959
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) => {
|
|
1960
1960
|
this.open && (o.key === "Escape" ? this.closePanel() : o.key === "Tab" && this.trapFocus(o));
|
|
@@ -2066,7 +2066,7 @@ let u = class extends v {
|
|
|
2066
2066
|
variant="${this.firstButtonVariant}"
|
|
2067
2067
|
@click=${this.handleFirstClick}
|
|
2068
2068
|
@keydown=${this.handleFirstClick}
|
|
2069
|
-
${
|
|
2069
|
+
${te(this.firstButtonProps)}
|
|
2070
2070
|
>
|
|
2071
2071
|
${this.firstButtonLabel}
|
|
2072
2072
|
</o-button>
|
|
@@ -2077,7 +2077,7 @@ let u = class extends v {
|
|
|
2077
2077
|
variant="${this.secondButtonVariant}"
|
|
2078
2078
|
@click=${this.handleSecondClick}
|
|
2079
2079
|
@keydown=${this.handleSecondClick}
|
|
2080
|
-
${
|
|
2080
|
+
${te(this.secondButtonProps)}
|
|
2081
2081
|
>
|
|
2082
2082
|
${this.secondButtonLabel}
|
|
2083
2083
|
</o-button>
|
|
@@ -2088,7 +2088,7 @@ let u = class extends v {
|
|
|
2088
2088
|
`;
|
|
2089
2089
|
}
|
|
2090
2090
|
};
|
|
2091
|
-
|
|
2091
|
+
v.styles = b`
|
|
2092
2092
|
:host {
|
|
2093
2093
|
--z-overlay: 99;
|
|
2094
2094
|
--z-panel: 100;
|
|
@@ -2192,7 +2192,7 @@ u.styles = y`
|
|
|
2192
2192
|
.panel:focus-visible,
|
|
2193
2193
|
.close-btn:focus,
|
|
2194
2194
|
.close-btn:focus-visible {
|
|
2195
|
-
${
|
|
2195
|
+
${mt}
|
|
2196
2196
|
}
|
|
2197
2197
|
|
|
2198
2198
|
.content {
|
|
@@ -2237,69 +2237,69 @@ u.styles = y`
|
|
|
2237
2237
|
}
|
|
2238
2238
|
}
|
|
2239
2239
|
`;
|
|
2240
|
-
|
|
2240
|
+
g([
|
|
2241
2241
|
a({ type: Boolean, reflect: !0 })
|
|
2242
|
-
],
|
|
2243
|
-
|
|
2242
|
+
], v.prototype, "open", 2);
|
|
2243
|
+
g([
|
|
2244
2244
|
a({ type: Boolean, reflect: !0 })
|
|
2245
|
-
],
|
|
2246
|
-
|
|
2245
|
+
], v.prototype, "showHeader", 2);
|
|
2246
|
+
g([
|
|
2247
2247
|
a({ type: Boolean, reflect: !0 })
|
|
2248
|
-
],
|
|
2249
|
-
|
|
2248
|
+
], v.prototype, "showFooter", 2);
|
|
2249
|
+
g([
|
|
2250
2250
|
a({ type: Boolean, reflect: !0 })
|
|
2251
|
-
],
|
|
2252
|
-
|
|
2251
|
+
], v.prototype, "showHeaderStartIcon", 2);
|
|
2252
|
+
g([
|
|
2253
2253
|
a({ type: String, reflect: !0 })
|
|
2254
|
-
],
|
|
2255
|
-
|
|
2254
|
+
], v.prototype, "headerTitle", 2);
|
|
2255
|
+
g([
|
|
2256
2256
|
a({ type: String, reflect: !0 })
|
|
2257
|
-
],
|
|
2258
|
-
|
|
2257
|
+
], v.prototype, "headerTitleClassName", 2);
|
|
2258
|
+
g([
|
|
2259
2259
|
a({ type: String, reflect: !0 })
|
|
2260
|
-
],
|
|
2261
|
-
|
|
2260
|
+
], v.prototype, "closeButtonLabel", 2);
|
|
2261
|
+
g([
|
|
2262
2262
|
a({ type: String, reflect: !0 })
|
|
2263
|
-
],
|
|
2264
|
-
|
|
2263
|
+
], v.prototype, "firstButtonLabel", 2);
|
|
2264
|
+
g([
|
|
2265
2265
|
a({ type: String, reflect: !0 })
|
|
2266
|
-
],
|
|
2267
|
-
|
|
2266
|
+
], v.prototype, "firstButtonVariant", 2);
|
|
2267
|
+
g([
|
|
2268
2268
|
a({ type: Object, reflect: !0 })
|
|
2269
|
-
],
|
|
2270
|
-
|
|
2269
|
+
], v.prototype, "firstButtonProps", 2);
|
|
2270
|
+
g([
|
|
2271
2271
|
a({ type: Boolean, reflect: !0 })
|
|
2272
|
-
],
|
|
2273
|
-
|
|
2272
|
+
], v.prototype, "onFirstButtonClickClose", 2);
|
|
2273
|
+
g([
|
|
2274
2274
|
a({ type: String, reflect: !0 })
|
|
2275
|
-
],
|
|
2276
|
-
|
|
2275
|
+
], v.prototype, "secondButtonLabel", 2);
|
|
2276
|
+
g([
|
|
2277
2277
|
a({ type: String, reflect: !0 })
|
|
2278
|
-
],
|
|
2279
|
-
|
|
2278
|
+
], v.prototype, "secondButtonVariant", 2);
|
|
2279
|
+
g([
|
|
2280
2280
|
a({ type: Object, reflect: !0 })
|
|
2281
|
-
],
|
|
2282
|
-
|
|
2281
|
+
], v.prototype, "secondButtonProps", 2);
|
|
2282
|
+
g([
|
|
2283
2283
|
a({ type: Boolean, reflect: !0 })
|
|
2284
|
-
],
|
|
2285
|
-
|
|
2284
|
+
], v.prototype, "onSecondButtonClickClose", 2);
|
|
2285
|
+
g([
|
|
2286
2286
|
a({ type: Boolean, reflect: !0 })
|
|
2287
|
-
],
|
|
2288
|
-
|
|
2287
|
+
], v.prototype, "disablePortal", 2);
|
|
2288
|
+
g([
|
|
2289
2289
|
a({ type: Number, reflect: !0 })
|
|
2290
|
-
],
|
|
2291
|
-
|
|
2290
|
+
], v.prototype, "zIndex", 2);
|
|
2291
|
+
g([
|
|
2292
2292
|
a({ type: Boolean, reflect: !0 })
|
|
2293
|
-
],
|
|
2294
|
-
|
|
2293
|
+
], v.prototype, "initialized", 2);
|
|
2294
|
+
v = g([
|
|
2295
2295
|
x("o-side-panel")
|
|
2296
|
-
],
|
|
2297
|
-
var
|
|
2298
|
-
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--)
|
|
2299
2299
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
2300
|
-
return n && i &&
|
|
2300
|
+
return n && i && Co(t, e, i), i;
|
|
2301
2301
|
};
|
|
2302
|
-
let
|
|
2302
|
+
let P = class extends u {
|
|
2303
2303
|
constructor() {
|
|
2304
2304
|
super(...arguments), this.thumbnails = [], this.activeIndex = 0, this.disabledIndexes = [], this.maxWidth = "100%", this.altressource = "visual", this.focusedIndex = 0, this.playerIconTemplate = l`
|
|
2305
2305
|
<o-icon-button
|
|
@@ -2376,7 +2376,7 @@ let L = class extends v {
|
|
|
2376
2376
|
`;
|
|
2377
2377
|
}
|
|
2378
2378
|
};
|
|
2379
|
-
|
|
2379
|
+
P.styles = b`
|
|
2380
2380
|
:host {
|
|
2381
2381
|
display: flex;
|
|
2382
2382
|
gap: 5px;
|
|
@@ -2482,36 +2482,36 @@ L.styles = y`
|
|
|
2482
2482
|
width: 0;
|
|
2483
2483
|
}
|
|
2484
2484
|
`;
|
|
2485
|
-
|
|
2485
|
+
R([
|
|
2486
2486
|
a({ type: Array })
|
|
2487
|
-
],
|
|
2488
|
-
|
|
2487
|
+
], P.prototype, "thumbnails", 2);
|
|
2488
|
+
R([
|
|
2489
2489
|
a({ type: Number })
|
|
2490
|
-
],
|
|
2491
|
-
|
|
2490
|
+
], P.prototype, "activeIndex", 2);
|
|
2491
|
+
R([
|
|
2492
2492
|
a({ type: Array })
|
|
2493
|
-
],
|
|
2494
|
-
|
|
2493
|
+
], P.prototype, "disabledIndexes", 2);
|
|
2494
|
+
R([
|
|
2495
2495
|
a({ type: String })
|
|
2496
|
-
],
|
|
2497
|
-
|
|
2496
|
+
], P.prototype, "maxWidth", 2);
|
|
2497
|
+
R([
|
|
2498
2498
|
a({ type: String })
|
|
2499
|
-
],
|
|
2500
|
-
|
|
2499
|
+
], P.prototype, "altressource", 2);
|
|
2500
|
+
R([
|
|
2501
2501
|
a({ type: Object })
|
|
2502
|
-
],
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
],
|
|
2506
|
-
|
|
2502
|
+
], P.prototype, "swiperInstance", 2);
|
|
2503
|
+
R([
|
|
2504
|
+
K()
|
|
2505
|
+
], P.prototype, "focusedIndex", 2);
|
|
2506
|
+
P = R([
|
|
2507
2507
|
x("thumbnail-navigation")
|
|
2508
|
-
],
|
|
2509
|
-
var
|
|
2510
|
-
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--)
|
|
2511
2511
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
2512
|
-
return n && i &&
|
|
2512
|
+
return n && i && Ao(t, e, i), i;
|
|
2513
2513
|
};
|
|
2514
|
-
let
|
|
2514
|
+
let lt = class extends u {
|
|
2515
2515
|
constructor() {
|
|
2516
2516
|
super(...arguments), this.type = "", this.bgstyle = "background-white";
|
|
2517
2517
|
}
|
|
@@ -2521,7 +2521,7 @@ let st = class extends v {
|
|
|
2521
2521
|
`;
|
|
2522
2522
|
}
|
|
2523
2523
|
};
|
|
2524
|
-
|
|
2524
|
+
lt.styles = b`
|
|
2525
2525
|
.tag {
|
|
2526
2526
|
display: inline-block;
|
|
2527
2527
|
padding: var(--spacing-2-xs) var(--spacing-s);
|
|
@@ -2577,21 +2577,21 @@ st.styles = y`
|
|
|
2577
2577
|
}
|
|
2578
2578
|
|
|
2579
2579
|
`;
|
|
2580
|
-
|
|
2580
|
+
jt([
|
|
2581
2581
|
a({ type: String, reflect: !0 })
|
|
2582
|
-
],
|
|
2583
|
-
|
|
2582
|
+
], lt.prototype, "type", 2);
|
|
2583
|
+
jt([
|
|
2584
2584
|
a({ type: String, reflect: !0 })
|
|
2585
|
-
],
|
|
2586
|
-
|
|
2585
|
+
], lt.prototype, "bgstyle", 2);
|
|
2586
|
+
lt = jt([
|
|
2587
2587
|
x("o-tag")
|
|
2588
|
-
],
|
|
2589
|
-
var
|
|
2590
|
-
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--)
|
|
2591
2591
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
2592
|
-
return n && i &&
|
|
2592
|
+
return n && i && So(t, e, i), i;
|
|
2593
2593
|
};
|
|
2594
|
-
let
|
|
2594
|
+
let ct = class extends u {
|
|
2595
2595
|
constructor() {
|
|
2596
2596
|
super(...arguments), this.type = "top", this.text = "";
|
|
2597
2597
|
}
|
|
@@ -2604,7 +2604,7 @@ let at = class extends v {
|
|
|
2604
2604
|
`;
|
|
2605
2605
|
}
|
|
2606
2606
|
};
|
|
2607
|
-
|
|
2607
|
+
ct.styles = b`
|
|
2608
2608
|
.tooltip {
|
|
2609
2609
|
position: relative;
|
|
2610
2610
|
display: inline-block;
|
|
@@ -2697,21 +2697,21 @@ at.styles = y`
|
|
|
2697
2697
|
}
|
|
2698
2698
|
|
|
2699
2699
|
`;
|
|
2700
|
-
|
|
2700
|
+
Ut([
|
|
2701
2701
|
a({ type: String, reflect: !0 })
|
|
2702
|
-
],
|
|
2703
|
-
|
|
2702
|
+
], ct.prototype, "type", 2);
|
|
2703
|
+
Ut([
|
|
2704
2704
|
a({ type: String, reflect: !0 })
|
|
2705
|
-
],
|
|
2706
|
-
|
|
2705
|
+
], ct.prototype, "text", 2);
|
|
2706
|
+
ct = Ut([
|
|
2707
2707
|
x("o-tooltip")
|
|
2708
|
-
],
|
|
2709
|
-
var
|
|
2710
|
-
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--)
|
|
2711
2711
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
2712
|
-
return n && i &&
|
|
2712
|
+
return n && i && Po(t, e, i), i;
|
|
2713
2713
|
};
|
|
2714
|
-
let A = class extends
|
|
2714
|
+
let A = class extends u {
|
|
2715
2715
|
constructor() {
|
|
2716
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) => {
|
|
2717
2717
|
this.contains(o.target) || (this.open = !1, this.activeIndex = -1);
|
|
@@ -2777,7 +2777,7 @@ let A = class extends v {
|
|
|
2777
2777
|
this.options.length > 0 && (this.options.some((e) => e.value === this.value) || (this.value = this.options[0].value));
|
|
2778
2778
|
}
|
|
2779
2779
|
render() {
|
|
2780
|
-
const o =
|
|
2780
|
+
const o = G.checkstroke.replace(
|
|
2781
2781
|
"<svg",
|
|
2782
2782
|
'<svg aria-hidden="true" focusable="false" part="svg"'
|
|
2783
2783
|
), t = this.options.find((e) => e.value === this.value);
|
|
@@ -2822,10 +2822,10 @@ let A = class extends v {
|
|
|
2822
2822
|
${e.url ? l`
|
|
2823
2823
|
<a href="${e.url}">
|
|
2824
2824
|
<span>${e.label}</span>
|
|
2825
|
-
${e.value === this.value ? l`<span class="check">${
|
|
2825
|
+
${e.value === this.value ? l`<span class="check">${L(o)}</span>` : null}
|
|
2826
2826
|
</a>` : l`
|
|
2827
2827
|
<span>${e.label}</span>
|
|
2828
|
-
${e.value === this.value ? l`<span class="check">${
|
|
2828
|
+
${e.value === this.value ? l`<span class="check">${L(o)}</span>` : null}`}
|
|
2829
2829
|
</li>`
|
|
2830
2830
|
)}
|
|
2831
2831
|
</ul>` : null}
|
|
@@ -2834,7 +2834,7 @@ let A = class extends v {
|
|
|
2834
2834
|
`;
|
|
2835
2835
|
}
|
|
2836
2836
|
};
|
|
2837
|
-
A.styles =
|
|
2837
|
+
A.styles = b`
|
|
2838
2838
|
:host {
|
|
2839
2839
|
display: inline-block;
|
|
2840
2840
|
position: relative;
|
|
@@ -2974,44 +2974,44 @@ A.styles = y`
|
|
|
2974
2974
|
display: none;
|
|
2975
2975
|
}
|
|
2976
2976
|
`;
|
|
2977
|
-
|
|
2977
|
+
D([
|
|
2978
2978
|
a({ type: Array, reflect: !0 })
|
|
2979
2979
|
], A.prototype, "options", 2);
|
|
2980
|
-
|
|
2980
|
+
D([
|
|
2981
2981
|
a({ type: String, reflect: !0 })
|
|
2982
2982
|
], A.prototype, "value", 2);
|
|
2983
|
-
|
|
2983
|
+
D([
|
|
2984
2984
|
a({ type: String, reflect: !0 })
|
|
2985
2985
|
], A.prototype, "name", 2);
|
|
2986
|
-
|
|
2986
|
+
D([
|
|
2987
2987
|
a({ type: Boolean, reflect: !0 })
|
|
2988
2988
|
], A.prototype, "disabled", 2);
|
|
2989
|
-
|
|
2989
|
+
D([
|
|
2990
2990
|
a({ type: String, reflect: !0 })
|
|
2991
2991
|
], A.prototype, "width", 2);
|
|
2992
|
-
|
|
2993
|
-
|
|
2992
|
+
D([
|
|
2993
|
+
K()
|
|
2994
2994
|
], A.prototype, "open", 2);
|
|
2995
|
-
|
|
2996
|
-
|
|
2995
|
+
D([
|
|
2996
|
+
K()
|
|
2997
2997
|
], A.prototype, "activeIndex", 2);
|
|
2998
|
-
|
|
2999
|
-
|
|
2998
|
+
D([
|
|
2999
|
+
K()
|
|
3000
3000
|
], A.prototype, "menuWidth", 2);
|
|
3001
|
-
A =
|
|
3001
|
+
A = D([
|
|
3002
3002
|
x("o-dropdown")
|
|
3003
3003
|
], A);
|
|
3004
|
-
var
|
|
3005
|
-
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--)
|
|
3006
3006
|
(s = o[r]) && (i = s(i) || i);
|
|
3007
3007
|
return i;
|
|
3008
3008
|
};
|
|
3009
|
-
let
|
|
3009
|
+
let Lt = class extends u {
|
|
3010
3010
|
render() {
|
|
3011
3011
|
return l` <span class="dots"></span> `;
|
|
3012
3012
|
}
|
|
3013
3013
|
};
|
|
3014
|
-
|
|
3014
|
+
Lt.styles = b`
|
|
3015
3015
|
:host {
|
|
3016
3016
|
display: flex;
|
|
3017
3017
|
align-items: center;
|
|
@@ -3063,15 +3063,15 @@ Et.styles = y`
|
|
|
3063
3063
|
}
|
|
3064
3064
|
}
|
|
3065
3065
|
`;
|
|
3066
|
-
|
|
3066
|
+
Lt = Bo([
|
|
3067
3067
|
x("o-dots")
|
|
3068
|
-
],
|
|
3069
|
-
var
|
|
3070
|
-
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--)
|
|
3071
3071
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
3072
|
-
return n && i &&
|
|
3072
|
+
return n && i && zo(t, e, i), i;
|
|
3073
3073
|
};
|
|
3074
|
-
let C = class extends
|
|
3074
|
+
let C = class extends u {
|
|
3075
3075
|
constructor() {
|
|
3076
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) => {
|
|
3077
3077
|
this.contains(o.target) || (this.open = !1, this.activeIndex = -1);
|
|
@@ -3137,7 +3137,7 @@ let C = class extends v {
|
|
|
3137
3137
|
this.options.length > 0 && (this.options.some((t) => t.value === this.value) || (this.value = this.options[0].value));
|
|
3138
3138
|
}
|
|
3139
3139
|
render() {
|
|
3140
|
-
const o =
|
|
3140
|
+
const o = G.checkstroke.replace(
|
|
3141
3141
|
"<svg",
|
|
3142
3142
|
'<svg aria-hidden="true" focusable="false" part="svg"'
|
|
3143
3143
|
), t = this.options.find((e) => e.value === this.value);
|
|
@@ -3196,7 +3196,7 @@ let C = class extends v {
|
|
|
3196
3196
|
<div class="right">
|
|
3197
3197
|
<span class="additional-text">${$(e.additionaltext)}</span>
|
|
3198
3198
|
${e.value === this.value && !e.additionaltext ? l`
|
|
3199
|
-
<span class="check">${
|
|
3199
|
+
<span class="check">${L(o)}</span>` : null}
|
|
3200
3200
|
</div>
|
|
3201
3201
|
</a>
|
|
3202
3202
|
</li>
|
|
@@ -3208,7 +3208,7 @@ let C = class extends v {
|
|
|
3208
3208
|
`;
|
|
3209
3209
|
}
|
|
3210
3210
|
};
|
|
3211
|
-
C.styles =
|
|
3211
|
+
C.styles = b`
|
|
3212
3212
|
:host {
|
|
3213
3213
|
display: inline-block;
|
|
3214
3214
|
position: relative;
|
|
@@ -3384,34 +3384,34 @@ C.styles = y`
|
|
|
3384
3384
|
display: none;
|
|
3385
3385
|
}
|
|
3386
3386
|
`;
|
|
3387
|
-
|
|
3387
|
+
O([
|
|
3388
3388
|
a({ type: Array, reflect: !0 })
|
|
3389
3389
|
], C.prototype, "options", 2);
|
|
3390
|
-
|
|
3390
|
+
O([
|
|
3391
3391
|
a({ type: String, reflect: !0 })
|
|
3392
3392
|
], C.prototype, "value", 2);
|
|
3393
|
-
|
|
3393
|
+
O([
|
|
3394
3394
|
a({ type: String, reflect: !0 })
|
|
3395
3395
|
], C.prototype, "name", 2);
|
|
3396
|
-
|
|
3396
|
+
O([
|
|
3397
3397
|
a({ type: String, reflect: !0 })
|
|
3398
3398
|
], C.prototype, "additionaltext", 2);
|
|
3399
|
-
|
|
3399
|
+
O([
|
|
3400
3400
|
a({ type: Boolean, reflect: !0 })
|
|
3401
3401
|
], C.prototype, "disabled", 2);
|
|
3402
|
-
|
|
3402
|
+
O([
|
|
3403
3403
|
a({ type: String, reflect: !0 })
|
|
3404
3404
|
], C.prototype, "width", 2);
|
|
3405
|
-
|
|
3406
|
-
|
|
3405
|
+
O([
|
|
3406
|
+
K()
|
|
3407
3407
|
], C.prototype, "open", 2);
|
|
3408
|
-
|
|
3409
|
-
|
|
3408
|
+
O([
|
|
3409
|
+
K()
|
|
3410
3410
|
], C.prototype, "activeIndex", 2);
|
|
3411
|
-
|
|
3412
|
-
|
|
3411
|
+
O([
|
|
3412
|
+
K()
|
|
3413
3413
|
], C.prototype, "menuWidth", 2);
|
|
3414
|
-
C =
|
|
3414
|
+
C = O([
|
|
3415
3415
|
x("o-dropdown-variant")
|
|
3416
3416
|
], C);
|
|
3417
3417
|
/**
|
|
@@ -3419,10 +3419,10 @@ C = I([
|
|
|
3419
3419
|
* Copyright 2018 Google LLC
|
|
3420
3420
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3421
3421
|
*/
|
|
3422
|
-
const
|
|
3422
|
+
const le = "important", Ho = " !" + le, To = Tt(class extends Mt {
|
|
3423
3423
|
constructor(o) {
|
|
3424
3424
|
var t;
|
|
3425
|
-
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.");
|
|
3426
3426
|
}
|
|
3427
3427
|
render(o) {
|
|
3428
3428
|
return Object.keys(o).reduce((t, e) => {
|
|
@@ -3438,19 +3438,19 @@ const re = "important", Bo = " !" + re, zo = Dt(class extends Ht {
|
|
|
3438
3438
|
const i = t[n];
|
|
3439
3439
|
if (i != null) {
|
|
3440
3440
|
this.ft.add(n);
|
|
3441
|
-
const r = typeof i == "string" && i.endsWith(
|
|
3442
|
-
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;
|
|
3443
3443
|
}
|
|
3444
3444
|
}
|
|
3445
3445
|
return N;
|
|
3446
3446
|
}
|
|
3447
3447
|
});
|
|
3448
|
-
var
|
|
3449
|
-
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--)
|
|
3450
3450
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
3451
|
-
return n && i &&
|
|
3451
|
+
return n && i && Mo(t, e, i), i;
|
|
3452
3452
|
};
|
|
3453
|
-
let
|
|
3453
|
+
let ht = class extends u {
|
|
3454
3454
|
constructor() {
|
|
3455
3455
|
super(...arguments), this.option = {}, this.imageSize = 64;
|
|
3456
3456
|
}
|
|
@@ -3459,7 +3459,7 @@ let lt = class extends v {
|
|
|
3459
3459
|
width: `${this.imageSize}px`,
|
|
3460
3460
|
height: `${this.imageSize}px`
|
|
3461
3461
|
}, e = l`
|
|
3462
|
-
${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)} />` : ""}
|
|
3463
3463
|
<div class="m-reassurance-content">
|
|
3464
3464
|
<h3 class="a-reassurance-text">${$(this.option.title)}</h3>
|
|
3465
3465
|
<p class="a-reassurance-description">${$(this.option.description)}</p>
|
|
@@ -3468,7 +3468,7 @@ let lt = class extends v {
|
|
|
3468
3468
|
return o ? l`<a href="${$(this.option.url)}" class="reassurance-item clickable">${e}</a>` : l`<div class="reassurance-item">${e}</div>`;
|
|
3469
3469
|
}
|
|
3470
3470
|
};
|
|
3471
|
-
|
|
3471
|
+
ht.styles = b`
|
|
3472
3472
|
:host {
|
|
3473
3473
|
display: inline-block;
|
|
3474
3474
|
position: relative;
|
|
@@ -3550,22 +3550,22 @@ lt.styles = y`
|
|
|
3550
3550
|
}
|
|
3551
3551
|
}
|
|
3552
3552
|
`;
|
|
3553
|
-
|
|
3553
|
+
Nt([
|
|
3554
3554
|
a({ type: Object, reflect: !0 })
|
|
3555
|
-
],
|
|
3556
|
-
|
|
3555
|
+
], ht.prototype, "option", 2);
|
|
3556
|
+
Nt([
|
|
3557
3557
|
a({ type: Number, reflect: !0 })
|
|
3558
|
-
],
|
|
3559
|
-
|
|
3558
|
+
], ht.prototype, "imageSize", 2);
|
|
3559
|
+
ht = Nt([
|
|
3560
3560
|
x("o-reassurance")
|
|
3561
|
-
],
|
|
3562
|
-
var
|
|
3563
|
-
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--)
|
|
3564
3564
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
3565
|
-
return n && i &&
|
|
3565
|
+
return n && i && Uo(t, e, i), i;
|
|
3566
3566
|
};
|
|
3567
|
-
const
|
|
3568
|
-
let k = class extends
|
|
3567
|
+
const Ro = Dt(u);
|
|
3568
|
+
let k = class extends Ro {
|
|
3569
3569
|
constructor() {
|
|
3570
3570
|
super(...arguments), this.link = "", this.name = "", this.value = "", this.text = "", this.size = "standard", this.selected = !1, this.fullwidth = !1, this.inactive = !1;
|
|
3571
3571
|
}
|
|
@@ -3588,7 +3588,7 @@ let k = class extends jo {
|
|
|
3588
3588
|
`;
|
|
3589
3589
|
}
|
|
3590
3590
|
};
|
|
3591
|
-
k.styles =
|
|
3591
|
+
k.styles = b`
|
|
3592
3592
|
:host {
|
|
3593
3593
|
cursor: pointer;
|
|
3594
3594
|
display: inline-flex;
|
|
@@ -3660,7 +3660,7 @@ k.styles = y`
|
|
|
3660
3660
|
}
|
|
3661
3661
|
|
|
3662
3662
|
&:focus-visible {
|
|
3663
|
-
${
|
|
3663
|
+
${mt};
|
|
3664
3664
|
}
|
|
3665
3665
|
}
|
|
3666
3666
|
|
|
@@ -3674,39 +3674,39 @@ k.styles = y`
|
|
|
3674
3674
|
align-items: center;
|
|
3675
3675
|
}
|
|
3676
3676
|
`;
|
|
3677
|
-
|
|
3677
|
+
H([
|
|
3678
3678
|
a({ type: String, reflect: !0 })
|
|
3679
3679
|
], k.prototype, "link", 2);
|
|
3680
|
-
|
|
3680
|
+
H([
|
|
3681
3681
|
a({ reflect: !0 })
|
|
3682
3682
|
], k.prototype, "name", 2);
|
|
3683
|
-
|
|
3683
|
+
H([
|
|
3684
3684
|
a({ reflect: !0 })
|
|
3685
3685
|
], k.prototype, "value", 2);
|
|
3686
|
-
|
|
3686
|
+
H([
|
|
3687
3687
|
a({ type: String })
|
|
3688
3688
|
], k.prototype, "text", 2);
|
|
3689
|
-
|
|
3689
|
+
H([
|
|
3690
3690
|
a({ type: String, reflect: !0 })
|
|
3691
3691
|
], k.prototype, "size", 2);
|
|
3692
|
-
|
|
3692
|
+
H([
|
|
3693
3693
|
a({ type: Boolean, reflect: !0 })
|
|
3694
3694
|
], k.prototype, "selected", 2);
|
|
3695
|
-
|
|
3695
|
+
H([
|
|
3696
3696
|
a({ type: Boolean, reflect: !0 })
|
|
3697
3697
|
], k.prototype, "fullwidth", 2);
|
|
3698
|
-
|
|
3698
|
+
H([
|
|
3699
3699
|
a({ type: Boolean, reflect: !0 })
|
|
3700
3700
|
], k.prototype, "inactive", 2);
|
|
3701
|
-
k =
|
|
3701
|
+
k = H([
|
|
3702
3702
|
x("o-chip")
|
|
3703
3703
|
], k);
|
|
3704
|
-
var
|
|
3705
|
-
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--)
|
|
3706
3706
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
3707
|
-
return n && i &&
|
|
3707
|
+
return n && i && Fo(t, e, i), i;
|
|
3708
3708
|
};
|
|
3709
|
-
let
|
|
3709
|
+
let dt = class extends u {
|
|
3710
3710
|
constructor() {
|
|
3711
3711
|
super(), this.name = "", this.value = "", this.addEventListener("selected", this.onChipSelected);
|
|
3712
3712
|
}
|
|
@@ -3722,7 +3722,7 @@ let ct = class extends v {
|
|
|
3722
3722
|
`;
|
|
3723
3723
|
}
|
|
3724
3724
|
};
|
|
3725
|
-
|
|
3725
|
+
dt.styles = b`
|
|
3726
3726
|
:host {
|
|
3727
3727
|
display: flex;
|
|
3728
3728
|
flex-direction: row;
|
|
@@ -3730,22 +3730,22 @@ ct.styles = y`
|
|
|
3730
3730
|
gap: var(--spacing-s);
|
|
3731
3731
|
}
|
|
3732
3732
|
`;
|
|
3733
|
-
|
|
3733
|
+
Rt([
|
|
3734
3734
|
a({ reflect: !0 })
|
|
3735
|
-
],
|
|
3736
|
-
|
|
3735
|
+
], dt.prototype, "name", 2);
|
|
3736
|
+
Rt([
|
|
3737
3737
|
a({ reflect: !0 })
|
|
3738
|
-
],
|
|
3739
|
-
|
|
3738
|
+
], dt.prototype, "value", 2);
|
|
3739
|
+
dt = Rt([
|
|
3740
3740
|
x("o-chipset")
|
|
3741
|
-
],
|
|
3742
|
-
var
|
|
3743
|
-
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--)
|
|
3744
3744
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
3745
|
-
return n && i &&
|
|
3745
|
+
return n && i && Zo(t, e, i), i;
|
|
3746
3746
|
};
|
|
3747
|
-
const
|
|
3748
|
-
let E = class extends
|
|
3747
|
+
const Wo = Dt(u);
|
|
3748
|
+
let E = class extends Wo {
|
|
3749
3749
|
constructor() {
|
|
3750
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";
|
|
3751
3751
|
}
|
|
@@ -3757,18 +3757,18 @@ let E = class extends Vo {
|
|
|
3757
3757
|
this.dispatchEvent(e), e.defaultPrevented && o.preventDefault(), this.selected = t.selected;
|
|
3758
3758
|
}
|
|
3759
3759
|
crossIcon() {
|
|
3760
|
-
const o =
|
|
3760
|
+
const o = G[this.crossIconName].replace(
|
|
3761
3761
|
"<svg",
|
|
3762
3762
|
'<svg aria-hidden="true" focusable="false" part="svg"'
|
|
3763
3763
|
).replace(/stroke=[#"'a-z1-9]*/gi, "");
|
|
3764
|
-
return l`<span class="cross-icon">${
|
|
3764
|
+
return l`<span class="cross-icon">${L(o)}</span>`;
|
|
3765
3765
|
}
|
|
3766
3766
|
strikeThroughImg() {
|
|
3767
|
-
const o =
|
|
3767
|
+
const o = eo[this.strikethroughImgName].replace(
|
|
3768
3768
|
"<svg",
|
|
3769
3769
|
'<svg aria-hidden="true" focusable="false" part="strikethrough"'
|
|
3770
3770
|
).replace(/stroke=[#"'a-z1-9]*/gi, "");
|
|
3771
|
-
return
|
|
3771
|
+
return L(o);
|
|
3772
3772
|
}
|
|
3773
3773
|
render() {
|
|
3774
3774
|
const o = this.text;
|
|
@@ -3795,7 +3795,7 @@ let E = class extends Vo {
|
|
|
3795
3795
|
`;
|
|
3796
3796
|
}
|
|
3797
3797
|
};
|
|
3798
|
-
E.styles =
|
|
3798
|
+
E.styles = b`
|
|
3799
3799
|
:host {
|
|
3800
3800
|
cursor: pointer;
|
|
3801
3801
|
display: inline-flex;
|
|
@@ -3871,7 +3871,7 @@ E.styles = y`
|
|
|
3871
3871
|
}
|
|
3872
3872
|
|
|
3873
3873
|
.button:focus-visible {
|
|
3874
|
-
${
|
|
3874
|
+
${mt};
|
|
3875
3875
|
}
|
|
3876
3876
|
|
|
3877
3877
|
span.text + span.text::before {
|
|
@@ -3917,30 +3917,182 @@ E.styles = y`
|
|
|
3917
3917
|
}
|
|
3918
3918
|
}
|
|
3919
3919
|
`;
|
|
3920
|
-
|
|
3920
|
+
T([
|
|
3921
3921
|
a({ reflect: !0 })
|
|
3922
3922
|
], E.prototype, "name", 2);
|
|
3923
|
-
|
|
3923
|
+
T([
|
|
3924
3924
|
a({ reflect: !0 })
|
|
3925
3925
|
], E.prototype, "value", 2);
|
|
3926
|
-
|
|
3926
|
+
T([
|
|
3927
3927
|
a({ type: String, reflect: !0 })
|
|
3928
3928
|
], E.prototype, "type", 2);
|
|
3929
|
-
|
|
3929
|
+
T([
|
|
3930
3930
|
a({ type: String, reflect: !0, attribute: "data-href" })
|
|
3931
3931
|
], E.prototype, "dataHref", 2);
|
|
3932
|
-
|
|
3932
|
+
T([
|
|
3933
3933
|
a({ type: String })
|
|
3934
3934
|
], E.prototype, "text", 2);
|
|
3935
|
-
|
|
3935
|
+
T([
|
|
3936
3936
|
a({ type: Boolean, reflect: !0 })
|
|
3937
3937
|
], E.prototype, "selected", 2);
|
|
3938
|
-
|
|
3938
|
+
T([
|
|
3939
3939
|
a({ type: Boolean, reflect: !0 })
|
|
3940
3940
|
], E.prototype, "disabled", 2);
|
|
3941
|
-
|
|
3941
|
+
T([
|
|
3942
3942
|
a({ type: Boolean, reflect: !0 })
|
|
3943
3943
|
], E.prototype, "fullwidth", 2);
|
|
3944
|
-
E =
|
|
3944
|
+
E = T([
|
|
3945
3945
|
x("o-filter-chip")
|
|
3946
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);
|