@florid-kit/components 0.8.59 → 0.8.61
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/assets/icons/icons.d.ts +1 -0
- package/components/toast.d.ts +13 -0
- package/index.js +136 -93
- package/index.mjs +434 -363
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
* Copyright 2019 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
5
|
*/
|
|
6
|
-
const bt = globalThis, It = bt.ShadowRoot && (bt.ShadyCSS === void 0 || bt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype,
|
|
7
|
-
let
|
|
6
|
+
const bt = globalThis, It = bt.ShadowRoot && (bt.ShadyCSS === void 0 || bt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Bt = Symbol(), Kt = /* @__PURE__ */ new WeakMap();
|
|
7
|
+
let se = class {
|
|
8
8
|
constructor(t, e, n) {
|
|
9
|
-
if (this._$cssResult$ = !0, n !==
|
|
9
|
+
if (this._$cssResult$ = !0, n !== Bt) 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() {
|
|
@@ -14,7 +14,7 @@ let ne = class {
|
|
|
14
14
|
const e = this.t;
|
|
15
15
|
if (It && t === void 0) {
|
|
16
16
|
const n = e !== void 0 && e.length === 1;
|
|
17
|
-
n && (t =
|
|
17
|
+
n && (t = Kt.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), n && Kt.set(e, t));
|
|
18
18
|
}
|
|
19
19
|
return t;
|
|
20
20
|
}
|
|
@@ -22,33 +22,33 @@ let ne = class {
|
|
|
22
22
|
return this.cssText;
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
|
-
const
|
|
25
|
+
const ue = (o) => new se(typeof o == "string" ? o : o + "", void 0, Bt), 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
|
-
},
|
|
31
|
+
return new se(e, o, Bt);
|
|
32
|
+
}, ve = (o, t) => {
|
|
33
33
|
if (It) o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
34
34
|
else for (const e of t) {
|
|
35
35
|
const n = document.createElement("style"), i = bt.litNonce;
|
|
36
36
|
i !== void 0 && n.setAttribute("nonce", i), n.textContent = e.cssText, o.appendChild(n);
|
|
37
37
|
}
|
|
38
|
-
},
|
|
38
|
+
}, Gt = It ? (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 ue(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: fe, defineProperty: ge, getOwnPropertyDescriptor: be, getOwnPropertyNames: ye, getOwnPropertySymbols: me, getPrototypeOf: we } = Object, R = globalThis, Xt = R.trustedTypes, xe = Xt ? Xt.emptyScript : "", Ct = R.reactiveElementPolyfillSupport, ot = (o, t) => o, yt = { toAttribute(o, t) {
|
|
49
49
|
switch (t) {
|
|
50
50
|
case Boolean:
|
|
51
|
-
o = o ?
|
|
51
|
+
o = o ? xe : null;
|
|
52
52
|
break;
|
|
53
53
|
case Object:
|
|
54
54
|
case Array:
|
|
@@ -73,7 +73,7 @@ const { is: ue, defineProperty: ve, getOwnPropertyDescriptor: fe, getOwnProperty
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
return e;
|
|
76
|
-
} },
|
|
76
|
+
} }, zt = (o, t) => !fe(o, t), Jt = { attribute: !0, type: String, converter: yt, reflect: !1, useDefault: !1, hasChanged: zt };
|
|
77
77
|
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), R.litPropertyMetadata ?? (R.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
78
78
|
let J = class extends HTMLElement {
|
|
79
79
|
static addInitializer(t) {
|
|
@@ -82,14 +82,14 @@ let J = class extends HTMLElement {
|
|
|
82
82
|
static get observedAttributes() {
|
|
83
83
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
84
84
|
}
|
|
85
|
-
static createProperty(t, e =
|
|
85
|
+
static createProperty(t, e = Jt) {
|
|
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 && ge(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 } = be(this.prototype, t) ?? { get() {
|
|
93
93
|
return this[e];
|
|
94
94
|
}, set(s) {
|
|
95
95
|
this[e] = s;
|
|
@@ -100,17 +100,17 @@ let J = 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) ?? Jt;
|
|
104
104
|
}
|
|
105
105
|
static _$Ei() {
|
|
106
106
|
if (this.hasOwnProperty(ot("elementProperties"))) return;
|
|
107
|
-
const t =
|
|
107
|
+
const t = we(this);
|
|
108
108
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
109
109
|
}
|
|
110
110
|
static finalize() {
|
|
111
111
|
if (this.hasOwnProperty(ot("finalized"))) return;
|
|
112
112
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(ot("properties"))) {
|
|
113
|
-
const e = this.properties, n = [...
|
|
113
|
+
const e = this.properties, n = [...ye(e), ...me(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 J = 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(Gt(i));
|
|
133
|
+
} else t !== void 0 && e.push(Gt(t));
|
|
134
134
|
return e;
|
|
135
135
|
}
|
|
136
136
|
static _$Eu(t, e) {
|
|
@@ -159,7 +159,7 @@ let J = class extends HTMLElement {
|
|
|
159
159
|
}
|
|
160
160
|
createRenderRoot() {
|
|
161
161
|
const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
|
162
|
-
return
|
|
162
|
+
return ve(t, this.constructor.elementStyles), t;
|
|
163
163
|
}
|
|
164
164
|
connectedCallback() {
|
|
165
165
|
var t;
|
|
@@ -184,7 +184,7 @@ let J = 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 : yt).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 J = 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 : yt;
|
|
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 J = 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 ?? zt)(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,56 +276,56 @@ let J = class extends HTMLElement {
|
|
|
276
276
|
firstUpdated(t) {
|
|
277
277
|
}
|
|
278
278
|
};
|
|
279
|
-
J.elementStyles = [], J.shadowRootOptions = { mode: "open" }, J[ot("elementProperties")] = /* @__PURE__ */ new Map(), J[ot("finalized")] = /* @__PURE__ */ new Map(),
|
|
279
|
+
J.elementStyles = [], J.shadowRootOptions = { mode: "open" }, J[ot("elementProperties")] = /* @__PURE__ */ new Map(), J[ot("finalized")] = /* @__PURE__ */ new Map(), Ct == null || Ct({ ReactiveElement: J }), (R.reactiveElementVersions ?? (R.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 it = globalThis,
|
|
286
|
-
\f\r]`, et = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
287
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
288
|
-
function
|
|
289
|
-
if (!
|
|
290
|
-
return
|
|
285
|
+
const it = globalThis, mt = it.trustedTypes, Qt = mt ? mt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, ae = "$lit$", F = `lit$${Math.random().toFixed(9).slice(2)}$`, le = "?" + F, $e = `<${le}>`, W = document, rt = () => W.createComment(""), st = (o) => o === null || typeof o != "object" && typeof o != "function", Dt = Array.isArray, _e = (o) => Dt(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", kt = `[
|
|
286
|
+
\f\r]`, et = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Yt = /-->/g, te = />/g, V = RegExp(`>|${kt}(?:([^\\s"'>=/]+)(${kt}*=${kt}*(?:[^
|
|
287
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), ee = /'/g, oe = /"/g, ce = /^(?:script|style|textarea|title)$/i, Ce = (o) => (t, ...e) => ({ _$litType$: o, strings: t, values: e }), l = Ce(1), U = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), ie = /* @__PURE__ */ new WeakMap(), Z = W.createTreeWalker(W, 129);
|
|
288
|
+
function he(o, t) {
|
|
289
|
+
if (!Dt(o) || !o.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
290
|
+
return Qt !== void 0 ? Qt.createHTML(t) : t;
|
|
291
291
|
}
|
|
292
|
-
const
|
|
292
|
+
const ke = (o, t) => {
|
|
293
293
|
const e = o.length - 1, n = [];
|
|
294
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
297
|
let f, m, p = -1, $ = 0;
|
|
298
|
-
for (; $ < c.length && (s.lastIndex = $, m = s.exec(c), m !== null); ) $ = s.lastIndex, s === et ? m[1] === "!--" ? s =
|
|
298
|
+
for (; $ < c.length && (s.lastIndex = $, m = s.exec(c), m !== null); ) $ = s.lastIndex, s === et ? m[1] === "!--" ? s = Yt : m[1] !== void 0 ? s = te : m[2] !== void 0 ? (ce.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, f = m[1], s = m[3] === void 0 ? V : m[3] === '"' ? oe : ee) : s === oe || s === ee ? s = V : s === Yt || s === te ? s = et : (s = V, i = void 0);
|
|
299
299
|
const L = s === V && o[h + 1].startsWith("/>") ? " " : "";
|
|
300
|
-
r += s === et ? c +
|
|
300
|
+
r += s === et ? c + $e : p >= 0 ? (n.push(f), c.slice(0, p) + ae + c.slice(p) + F + L) : c + F + (p === -2 ? h : L);
|
|
301
301
|
}
|
|
302
|
-
return [
|
|
302
|
+
return [he(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), n];
|
|
303
303
|
};
|
|
304
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, [f, m] =
|
|
310
|
-
if (this.el = at.createElement(f, n),
|
|
309
|
+
const h = t.length - 1, c = this.parts, [f, m] = ke(t, e);
|
|
310
|
+
if (this.el = at.createElement(f, 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 $ = m[s++], L = i.getAttribute(p).split(F),
|
|
318
|
-
c.push({ type: 1, index: r, name:
|
|
316
|
+
if (i.hasAttributes()) for (const p of i.getAttributeNames()) if (p.endsWith(ae)) {
|
|
317
|
+
const $ = m[s++], L = i.getAttribute(p).split(F), gt = /([.?@])?(.*)/.exec($);
|
|
318
|
+
c.push({ type: 1, index: r, name: gt[2], strings: L, ctor: gt[1] === "." ? Ee : gt[1] === "?" ? Se : gt[1] === "@" ? Le : xt }), i.removeAttribute(p);
|
|
319
319
|
} else p.startsWith(F) && (c.push({ type: 6, index: r }), i.removeAttribute(p));
|
|
320
|
-
if (
|
|
320
|
+
if (ce.test(i.tagName)) {
|
|
321
321
|
const p = i.textContent.split(F), $ = p.length - 1;
|
|
322
322
|
if ($ > 0) {
|
|
323
|
-
i.textContent =
|
|
324
|
-
for (let L = 0; L < $; L++) i.append(p[L], rt()),
|
|
323
|
+
i.textContent = mt ? mt.emptyScript : "";
|
|
324
|
+
for (let L = 0; L < $; L++) i.append(p[L], rt()), Z.nextNode(), c.push({ type: 2, index: ++r });
|
|
325
325
|
i.append(p[$], rt());
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
|
-
} else if (i.nodeType === 8) if (i.data ===
|
|
328
|
+
} else if (i.nodeType === 8) if (i.data === le) c.push({ type: 2, index: r });
|
|
329
329
|
else {
|
|
330
330
|
let p = -1;
|
|
331
331
|
for (; (p = i.data.indexOf(F, p + 1)) !== -1; ) c.push({ type: 7, index: r }), p += F.length - 1;
|
|
@@ -334,7 +334,7 @@ class at {
|
|
|
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
|
}
|
|
@@ -345,7 +345,7 @@ function Q(o, t, e = o, n) {
|
|
|
345
345
|
const r = st(t) ? void 0 : t._$litDirective$;
|
|
346
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 Ae {
|
|
349
349
|
constructor(t, e) {
|
|
350
350
|
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
|
|
351
351
|
}
|
|
@@ -356,24 +356,24 @@ class Ce {
|
|
|
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
364
|
let f;
|
|
365
|
-
c.type === 2 ? f = new
|
|
365
|
+
c.type === 2 ? f = new vt(r, r.nextSibling, this, t) : c.type === 1 ? f = new c.ctor(r, c.name, c.strings, this, t) : c.type === 6 && (f = new Pe(r, this, t)), this._$AV.push(f), 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 vt {
|
|
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 ut {
|
|
|
393
393
|
return this._$AB;
|
|
394
394
|
}
|
|
395
395
|
_$AI(t, e = this) {
|
|
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 !== U && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(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 !== U && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : _e(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 ut {
|
|
|
402
402
|
this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
|
|
403
403
|
}
|
|
404
404
|
_(t) {
|
|
405
|
-
this._$AH !== d && st(this._$AH) ? this._$AA.nextSibling.data = t : this.T(
|
|
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 = at.createElement(
|
|
409
|
+
const { values: e, _$litType$: n } = t, i = typeof n == "number" ? this._$AC(t) : (n.el === void 0 && (n.el = at.createElement(he(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 Ae(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 = ie.get(t.strings);
|
|
418
|
+
return e === void 0 && ie.set(t.strings, e = new at(t)), e;
|
|
419
419
|
}
|
|
420
420
|
k(t) {
|
|
421
|
-
|
|
421
|
+
Dt(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 vt(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 ut {
|
|
|
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 xt {
|
|
440
440
|
get tagName() {
|
|
441
441
|
return this.element.tagName;
|
|
442
442
|
}
|
|
@@ -461,7 +461,7 @@ class wt {
|
|
|
461
461
|
t === d ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
|
462
462
|
}
|
|
463
463
|
}
|
|
464
|
-
class
|
|
464
|
+
class Ee extends xt {
|
|
465
465
|
constructor() {
|
|
466
466
|
super(...arguments), this.type = 3;
|
|
467
467
|
}
|
|
@@ -469,7 +469,7 @@ class ke extends wt {
|
|
|
469
469
|
this.element[this.name] = t === d ? void 0 : t;
|
|
470
470
|
}
|
|
471
471
|
}
|
|
472
|
-
class
|
|
472
|
+
class Se extends xt {
|
|
473
473
|
constructor() {
|
|
474
474
|
super(...arguments), this.type = 4;
|
|
475
475
|
}
|
|
@@ -477,7 +477,7 @@ class Ae extends wt {
|
|
|
477
477
|
this.element.toggleAttribute(this.name, !!t && t !== d);
|
|
478
478
|
}
|
|
479
479
|
}
|
|
480
|
-
class
|
|
480
|
+
class Le extends xt {
|
|
481
481
|
constructor(t, e, n, i, r) {
|
|
482
482
|
super(t, e, n, i, r), this.type = 5;
|
|
483
483
|
}
|
|
@@ -491,7 +491,7 @@ class Ee extends wt {
|
|
|
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 Pe {
|
|
495
495
|
constructor(t, e, n) {
|
|
496
496
|
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = n;
|
|
497
497
|
}
|
|
@@ -502,14 +502,14 @@ class Se {
|
|
|
502
502
|
Q(this, t);
|
|
503
503
|
}
|
|
504
504
|
}
|
|
505
|
-
const
|
|
506
|
-
|
|
507
|
-
const
|
|
505
|
+
const At = it.litHtmlPolyfillSupport;
|
|
506
|
+
At == null || At(at, vt), (it.litHtmlVersions ?? (it.litHtmlVersions = [])).push("3.3.0");
|
|
507
|
+
const Oe = (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 vt(t.insertBefore(rt(), r), r, void 0, e ?? {});
|
|
513
513
|
}
|
|
514
514
|
return i._$AI(o), i;
|
|
515
515
|
};
|
|
@@ -518,7 +518,7 @@ const Le = (o, t, e) => {
|
|
|
518
518
|
* Copyright 2017 Google LLC
|
|
519
519
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
520
520
|
*/
|
|
521
|
-
const
|
|
521
|
+
const q = globalThis;
|
|
522
522
|
let v = class extends J {
|
|
523
523
|
constructor() {
|
|
524
524
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
@@ -530,7 +530,7 @@ let v = class extends J {
|
|
|
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 = Oe(e, this.renderRoot, this.renderOptions);
|
|
534
534
|
}
|
|
535
535
|
connectedCallback() {
|
|
536
536
|
var t;
|
|
@@ -544,11 +544,11 @@ let v = class extends J {
|
|
|
544
544
|
return U;
|
|
545
545
|
}
|
|
546
546
|
};
|
|
547
|
-
var
|
|
548
|
-
v._$litElement$ = !0, v.finalized = !0, (
|
|
549
|
-
const
|
|
550
|
-
|
|
551
|
-
(
|
|
547
|
+
var re;
|
|
548
|
+
v._$litElement$ = !0, v.finalized = !0, (re = q.litElementHydrateSupport) == null || re.call(q, { LitElement: v });
|
|
549
|
+
const Et = q.litElementPolyfillSupport;
|
|
550
|
+
Et == null || Et({ LitElement: v });
|
|
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 w = (o) => (t, e) => {
|
|
|
564
564
|
* Copyright 2017 Google LLC
|
|
565
565
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
566
566
|
*/
|
|
567
|
-
const
|
|
567
|
+
const Ie = { attribute: !0, type: String, converter: yt, reflect: !1, hasChanged: zt }, Be = (o = Ie, 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 Pe = { attribute: !0, type: String, converter: gt, 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" ? Be(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,14 +596,14 @@ 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 ft = b`
|
|
603
603
|
outline: 1px dashed var(--color-border-primary);
|
|
604
604
|
outline-offset: 2px;
|
|
605
605
|
`;
|
|
606
|
-
|
|
606
|
+
b`
|
|
607
607
|
:host * {
|
|
608
608
|
box-sizing: border-box;
|
|
609
609
|
}
|
|
@@ -613,12 +613,12 @@ y`
|
|
|
613
613
|
* Copyright 2023 Google LLC
|
|
614
614
|
* SPDX-License-Identifier: Apache-2.0
|
|
615
615
|
*/
|
|
616
|
-
const
|
|
617
|
-
function
|
|
616
|
+
const Ht = Symbol("internals"), St = Symbol("privateInternals");
|
|
617
|
+
function Mt(o) {
|
|
618
618
|
var t;
|
|
619
619
|
class e extends o {
|
|
620
|
-
get [(t =
|
|
621
|
-
return this[
|
|
620
|
+
get [(t = Ht, t)]() {
|
|
621
|
+
return this[St] || (this[St] = this.attachInternals()), this[St];
|
|
622
622
|
}
|
|
623
623
|
}
|
|
624
624
|
return e;
|
|
@@ -628,11 +628,11 @@ function Ht(o) {
|
|
|
628
628
|
* Copyright 2023 Google LLC
|
|
629
629
|
* SPDX-License-Identifier: Apache-2.0
|
|
630
630
|
*/
|
|
631
|
-
function
|
|
631
|
+
function ze(o) {
|
|
632
632
|
o.addInitializer((t) => {
|
|
633
633
|
const e = t;
|
|
634
634
|
e.addEventListener("click", async (n) => {
|
|
635
|
-
const { type: i, [
|
|
635
|
+
const { type: i, [Ht]: r } = e, { form: s } = r;
|
|
636
636
|
if (!(!s || i === "button") && (await new Promise((h) => {
|
|
637
637
|
setTimeout(h);
|
|
638
638
|
}), !n.defaultPrevented)) {
|
|
@@ -655,41 +655,41 @@ function Oe(o) {
|
|
|
655
655
|
});
|
|
656
656
|
});
|
|
657
657
|
}
|
|
658
|
-
const
|
|
658
|
+
const De = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
659
659
|
<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"/>
|
|
660
660
|
</svg>
|
|
661
|
-
`,
|
|
661
|
+
`, He = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
662
662
|
<path d="M16 8L4 0V16L16 8Z" fill="#3F2B2E"/>
|
|
663
663
|
</svg>
|
|
664
|
-
`,
|
|
664
|
+
`, Me = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
665
665
|
<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"/>
|
|
666
666
|
</svg>
|
|
667
|
-
`,
|
|
667
|
+
`, Te = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
668
668
|
<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"/>
|
|
669
669
|
</svg>
|
|
670
|
-
`,
|
|
670
|
+
`, je = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
671
671
|
<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"/>
|
|
672
672
|
</svg>
|
|
673
|
-
`,
|
|
673
|
+
`, Fe = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
674
674
|
<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"/>
|
|
675
675
|
</svg>
|
|
676
|
-
`,
|
|
676
|
+
`, Re = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
677
677
|
<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"/>
|
|
678
678
|
</svg>
|
|
679
|
-
`,
|
|
679
|
+
`, Ue = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
680
680
|
<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"/>
|
|
681
681
|
</svg>
|
|
682
|
-
`,
|
|
682
|
+
`, Ne = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
683
683
|
<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"/>
|
|
684
684
|
</svg>
|
|
685
|
-
`,
|
|
685
|
+
`, Ve = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
686
686
|
<path d="M2 2L14 14" stroke="#3F2B2E"/>
|
|
687
687
|
<path d="M14 2L2 14" stroke="#3F2B2E"/>
|
|
688
688
|
</svg>
|
|
689
|
-
`,
|
|
689
|
+
`, Ze = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
690
690
|
<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"/>
|
|
691
691
|
</svg>
|
|
692
|
-
`,
|
|
692
|
+
`, qe = `<?xml version="1.0" encoding="utf-8"?>
|
|
693
693
|
<!-- Generator: $$$/GeneralStr/196=Adobe Illustrator 27.6.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
694
694
|
<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"
|
|
695
695
|
viewBox="0 0 40 40" style="enable-background:new 0 0 40 40;" xml:space="preserve">
|
|
@@ -699,7 +699,7 @@ const Be = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
|
|
|
699
699
|
<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
|
|
700
700
|
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"/>
|
|
701
701
|
</svg>
|
|
702
|
-
`,
|
|
702
|
+
`, We = `<?xml version="1.0" encoding="utf-8"?>
|
|
703
703
|
<!-- Generator: $$$/GeneralStr/196=Adobe Illustrator 27.6.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
704
704
|
<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"
|
|
705
705
|
viewBox="0 0 40 40" style="enable-background:new 0 0 40 40;" xml:space="preserve">
|
|
@@ -708,74 +708,87 @@ const Be = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
|
|
|
708
708
|
</style>
|
|
709
709
|
<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"/>
|
|
710
710
|
</svg>
|
|
711
|
-
`,
|
|
711
|
+
`, Ke = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
712
712
|
<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"/>
|
|
713
713
|
</svg>
|
|
714
|
-
`,
|
|
714
|
+
`, Ge = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
715
715
|
<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"/>
|
|
716
716
|
</svg>
|
|
717
|
-
`,
|
|
717
|
+
`, Xe = `<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
718
718
|
<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"/>
|
|
719
719
|
</svg>
|
|
720
|
-
`,
|
|
720
|
+
`, Je = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
721
721
|
<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"/>
|
|
722
722
|
</svg>
|
|
723
|
-
`,
|
|
723
|
+
`, Qe = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
724
724
|
<path d="M12 17.4585L4 6.4585L20 6.4585L12 17.4585Z" fill="#3F2B2E"/>
|
|
725
725
|
</svg>
|
|
726
|
-
`,
|
|
726
|
+
`, Ye = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
727
727
|
<path d="M12 6.4585L20 17.4585H4L12 6.4585Z" fill="#3F2B2E"/>
|
|
728
728
|
</svg>
|
|
729
|
-
`,
|
|
729
|
+
`, to = `<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
730
730
|
<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"/>
|
|
731
731
|
</svg>
|
|
732
|
-
`,
|
|
732
|
+
`, eo = `<svg width="8" height="8" viewBox="0 0 8 8" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
733
733
|
<rect x="1" width="2" height="8" fill="#3F2B2E"/>
|
|
734
734
|
<rect x="5" width="2" height="8" fill="#3F2B2E"/>
|
|
735
735
|
</svg>
|
|
736
|
-
`,
|
|
736
|
+
`, oo = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
737
737
|
<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"/>
|
|
738
738
|
</svg>
|
|
739
|
-
`,
|
|
739
|
+
`, io = `<svg viewBox="0 0 200 200" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg">
|
|
740
740
|
<line x1="0" y1="0" x2="200" y2="200" />
|
|
741
|
-
</svg>`,
|
|
741
|
+
</svg>`, no = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
742
742
|
<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"/>
|
|
743
743
|
<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"/>
|
|
744
744
|
</svg>
|
|
745
|
+
`, ro = `<svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
746
|
+
<path d="M8 0.458496C12.4183 0.458496 16 4.04022 16 8.4585C16 12.8768 12.4183 16.4585 8 16.4585C3.58172 16.4585 0 12.8768 0 8.4585C0 4.04022 3.58172 0.458496 8 0.458496ZM11.8115 5.56787C11.5953 5.39556 11.2797 5.43075 11.1074 5.64697L7.45801 10.2104L4.85254 7.60596C4.65647 7.41684 4.34516 7.41943 4.15234 7.61182C3.95956 7.8046 3.95626 8.11678 4.14551 8.31299L7.14551 11.313C7.23977 11.4062 7.36741 11.4592 7.5 11.4595L7.52832 11.4585C7.67017 11.4503 7.80168 11.3818 7.89062 11.271L11.8906 6.271C12.0629 6.05485 12.0275 5.74022 11.8115 5.56787Z" fill="#3B7902"/>
|
|
747
|
+
</svg>
|
|
748
|
+
`, so = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
749
|
+
<path d="M8 0C12.4183 0 16 3.58172 16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0ZM8 10C7.44772 10 7 10.4477 7 11C7 11.5523 7.44772 12 8 12C8.55229 12 9 11.5523 9 11C9 10.4477 8.55229 10 8 10ZM7.5 4C7.22386 4 7 4.22386 7 4.5V8.5C7 8.77614 7.22386 9 7.5 9H8.5C8.77614 9 9 8.77614 9 8.5V4.5C9 4.22386 8.77614 4 8.5 4H7.5Z" fill="#BB0218"/>
|
|
750
|
+
</svg>
|
|
751
|
+
`, ao = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
752
|
+
<path d="M8 0C12.4183 0 16 3.58172 16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0ZM7.16602 6.1084V12H8.84668V6.1084H7.16602ZM8.00684 2.64062C7.45497 2.64062 7.01096 3.09591 7.01074 3.63574C7.01074 4.18774 7.45484 4.63184 8.00684 4.63184C8.55862 4.63159 9.00195 4.18759 9.00195 3.63574C9.00174 3.09606 8.55849 2.64088 8.00684 2.64062Z" fill="#4572A6"/>
|
|
753
|
+
</svg>
|
|
745
754
|
`, G = {
|
|
746
|
-
wishlist:
|
|
747
|
-
playerv:
|
|
748
|
-
chevronRight:
|
|
749
|
-
chevronLeft:
|
|
750
|
-
icoPlus:
|
|
751
|
-
icoMinus:
|
|
752
|
-
"star-0":
|
|
753
|
-
"star-25":
|
|
754
|
-
"star-50":
|
|
755
|
-
"star-75":
|
|
756
|
-
"star-100":
|
|
757
|
-
cross:
|
|
758
|
-
search:
|
|
759
|
-
arrowLeft:
|
|
760
|
-
arrowTop:
|
|
761
|
-
cart:
|
|
762
|
-
notifyme:
|
|
763
|
-
triangledown:
|
|
764
|
-
triangleup:
|
|
765
|
-
checkstroke:
|
|
766
|
-
pause:
|
|
767
|
-
mapDualArrow:
|
|
768
|
-
swipeDualArrow:
|
|
769
|
-
},
|
|
770
|
-
strikeDiagonal:
|
|
755
|
+
wishlist: De,
|
|
756
|
+
playerv: He,
|
|
757
|
+
chevronRight: Me,
|
|
758
|
+
chevronLeft: Te,
|
|
759
|
+
icoPlus: qe,
|
|
760
|
+
icoMinus: We,
|
|
761
|
+
"star-0": je,
|
|
762
|
+
"star-25": Fe,
|
|
763
|
+
"star-50": Re,
|
|
764
|
+
"star-75": Ue,
|
|
765
|
+
"star-100": Ne,
|
|
766
|
+
cross: Ve,
|
|
767
|
+
search: Ze,
|
|
768
|
+
arrowLeft: Ke,
|
|
769
|
+
arrowTop: Ge,
|
|
770
|
+
cart: Xe,
|
|
771
|
+
notifyme: Je,
|
|
772
|
+
triangledown: Qe,
|
|
773
|
+
triangleup: Ye,
|
|
774
|
+
checkstroke: to,
|
|
775
|
+
pause: eo,
|
|
776
|
+
mapDualArrow: oo,
|
|
777
|
+
swipeDualArrow: no
|
|
778
|
+
}, lo = {
|
|
779
|
+
strikeDiagonal: io
|
|
780
|
+
}, co = {
|
|
781
|
+
success: ro,
|
|
782
|
+
error: so,
|
|
783
|
+
info: ao
|
|
771
784
|
};
|
|
772
785
|
/**
|
|
773
786
|
* @license
|
|
774
787
|
* Copyright 2017 Google LLC
|
|
775
788
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
776
789
|
*/
|
|
777
|
-
const
|
|
778
|
-
let
|
|
790
|
+
const Tt = { ATTRIBUTE: 1, CHILD: 2 }, jt = (o) => (...t) => ({ _$litDirective$: o, values: t });
|
|
791
|
+
let Ft = class {
|
|
779
792
|
constructor(t) {
|
|
780
793
|
}
|
|
781
794
|
get _$AU() {
|
|
@@ -796,9 +809,9 @@ let jt = class {
|
|
|
796
809
|
* Copyright 2017 Google LLC
|
|
797
810
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
798
811
|
*/
|
|
799
|
-
class
|
|
812
|
+
class Lt extends Ft {
|
|
800
813
|
constructor(t) {
|
|
801
|
-
if (super(t), this.it = d, t.type !==
|
|
814
|
+
if (super(t), this.it = d, t.type !== Tt.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
|
|
802
815
|
}
|
|
803
816
|
render(t) {
|
|
804
817
|
if (t === d || t == null) return this._t = void 0, this.it = t;
|
|
@@ -810,23 +823,23 @@ class St extends jt {
|
|
|
810
823
|
return e.raw = e, this._t = { _$litType$: this.constructor.resultType, strings: e, values: [] };
|
|
811
824
|
}
|
|
812
825
|
}
|
|
813
|
-
|
|
826
|
+
Lt.directiveName = "unsafeHTML", Lt.resultType = 1;
|
|
814
827
|
/**
|
|
815
828
|
* @license
|
|
816
829
|
* Copyright 2017 Google LLC
|
|
817
830
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
818
831
|
*/
|
|
819
|
-
class
|
|
832
|
+
class Pt extends Lt {
|
|
820
833
|
}
|
|
821
|
-
|
|
822
|
-
const
|
|
823
|
-
var
|
|
824
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
834
|
+
Pt.directiveName = "unsafeSVG", Pt.resultType = 2;
|
|
835
|
+
const P = jt(Pt);
|
|
836
|
+
var ho = Object.defineProperty, po = Object.getOwnPropertyDescriptor, x = (o, t, e, n) => {
|
|
837
|
+
for (var i = n > 1 ? void 0 : n ? po(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
825
838
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
826
|
-
return n && i &&
|
|
839
|
+
return n && i && ho(t, e, i), i;
|
|
827
840
|
};
|
|
828
|
-
const
|
|
829
|
-
let
|
|
841
|
+
const uo = Mt(v);
|
|
842
|
+
let g = class extends uo {
|
|
830
843
|
constructor() {
|
|
831
844
|
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, this.withbadge = !1;
|
|
832
845
|
}
|
|
@@ -837,7 +850,7 @@ let b = class extends so {
|
|
|
837
850
|
this.setAttribute("name", o);
|
|
838
851
|
}
|
|
839
852
|
get form() {
|
|
840
|
-
return this[
|
|
853
|
+
return this[Ht].form;
|
|
841
854
|
}
|
|
842
855
|
handleClick(o) {
|
|
843
856
|
if (!(o instanceof KeyboardEvent && !["Enter", " "].includes(o.key)) && this.panelTarget) {
|
|
@@ -855,7 +868,7 @@ let b = class extends so {
|
|
|
855
868
|
"<svg",
|
|
856
869
|
'<svg aria-hidden="true" focusable="false" part="svg"'
|
|
857
870
|
);
|
|
858
|
-
return l`<span class="${o === "start" ? "icon-start" : "icon-end"}">${
|
|
871
|
+
return l`<span class="${o === "start" ? "icon-start" : "icon-end"}">${P(e)}</span>`;
|
|
859
872
|
}
|
|
860
873
|
renderButton() {
|
|
861
874
|
const o = this.text || this.textsecond;
|
|
@@ -890,9 +903,9 @@ let b = class extends so {
|
|
|
890
903
|
`;
|
|
891
904
|
}
|
|
892
905
|
};
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
906
|
+
ze(g);
|
|
907
|
+
g.formAssociated = !0;
|
|
908
|
+
g.styles = b`
|
|
896
909
|
:host {
|
|
897
910
|
--button-border: transparent;
|
|
898
911
|
--badge-outer-width: 19px;
|
|
@@ -1009,7 +1022,7 @@ b.styles = y`
|
|
|
1009
1022
|
}
|
|
1010
1023
|
|
|
1011
1024
|
.button:focus-visible {
|
|
1012
|
-
${
|
|
1025
|
+
${ft};
|
|
1013
1026
|
}
|
|
1014
1027
|
|
|
1015
1028
|
span.text + span.text::before {
|
|
@@ -1096,59 +1109,59 @@ b.styles = y`
|
|
|
1096
1109
|
`;
|
|
1097
1110
|
x([
|
|
1098
1111
|
a()
|
|
1099
|
-
],
|
|
1112
|
+
], g.prototype, "type", 2);
|
|
1100
1113
|
x([
|
|
1101
1114
|
a({ reflect: !0 })
|
|
1102
|
-
],
|
|
1115
|
+
], g.prototype, "value", 2);
|
|
1103
1116
|
x([
|
|
1104
1117
|
a({ type: String, reflect: !0 })
|
|
1105
|
-
],
|
|
1118
|
+
], g.prototype, "variant", 2);
|
|
1106
1119
|
x([
|
|
1107
1120
|
a({ type: String })
|
|
1108
|
-
],
|
|
1121
|
+
], g.prototype, "text", 2);
|
|
1109
1122
|
x([
|
|
1110
1123
|
a({ type: String })
|
|
1111
|
-
],
|
|
1124
|
+
], g.prototype, "textsecond", 2);
|
|
1112
1125
|
x([
|
|
1113
1126
|
a({ type: Boolean, reflect: !0 })
|
|
1114
|
-
],
|
|
1127
|
+
], g.prototype, "fullwidth", 2);
|
|
1115
1128
|
x([
|
|
1116
1129
|
a({ type: Boolean, reflect: !0 })
|
|
1117
|
-
],
|
|
1130
|
+
], g.prototype, "disabled", 2);
|
|
1118
1131
|
x([
|
|
1119
1132
|
a({ type: String, reflect: !0 })
|
|
1120
|
-
],
|
|
1133
|
+
], g.prototype, "startIconModel", 2);
|
|
1121
1134
|
x([
|
|
1122
1135
|
a({ type: String, reflect: !0 })
|
|
1123
|
-
],
|
|
1136
|
+
], g.prototype, "endIconModel", 2);
|
|
1124
1137
|
x([
|
|
1125
1138
|
a({ type: Boolean, reflect: !0, attribute: "starticon" })
|
|
1126
|
-
],
|
|
1139
|
+
], g.prototype, "startIcon", 2);
|
|
1127
1140
|
x([
|
|
1128
1141
|
a({ type: Boolean, reflect: !0, attribute: "endicon" })
|
|
1129
|
-
],
|
|
1142
|
+
], g.prototype, "endIcon", 2);
|
|
1130
1143
|
x([
|
|
1131
1144
|
a({ type: String, attribute: "paneltarget", reflect: !0 })
|
|
1132
|
-
],
|
|
1145
|
+
], g.prototype, "panelTarget", 2);
|
|
1133
1146
|
x([
|
|
1134
1147
|
a({ type: String })
|
|
1135
|
-
],
|
|
1148
|
+
], g.prototype, "href", 2);
|
|
1136
1149
|
x([
|
|
1137
1150
|
a({ type: String })
|
|
1138
|
-
],
|
|
1151
|
+
], g.prototype, "target", 2);
|
|
1139
1152
|
x([
|
|
1140
1153
|
a({ type: Boolean, reflect: !0 })
|
|
1141
|
-
],
|
|
1154
|
+
], g.prototype, "underlined", 2);
|
|
1142
1155
|
x([
|
|
1143
1156
|
a({ type: Boolean, reflect: !0 })
|
|
1144
|
-
],
|
|
1145
|
-
|
|
1157
|
+
], g.prototype, "withbadge", 2);
|
|
1158
|
+
g = x([
|
|
1146
1159
|
w("o-button")
|
|
1147
|
-
],
|
|
1148
|
-
var
|
|
1149
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
1160
|
+
], g);
|
|
1161
|
+
var vo = Object.defineProperty, fo = Object.getOwnPropertyDescriptor, $t = (o, t, e, n) => {
|
|
1162
|
+
for (var i = n > 1 ? void 0 : n ? fo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
1150
1163
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
1151
|
-
return n && i &&
|
|
1164
|
+
return n && i && vo(t, e, i), i;
|
|
1152
1165
|
};
|
|
1153
1166
|
let Y = class extends v {
|
|
1154
1167
|
constructor() {
|
|
@@ -1177,7 +1190,7 @@ let Y = class extends v {
|
|
|
1177
1190
|
return l`
|
|
1178
1191
|
<button type="button" aria-describedby="${this.ariaDescribedBy}" class="wishlist-button">
|
|
1179
1192
|
<span class="sr-only">${this.label}</span>
|
|
1180
|
-
${
|
|
1193
|
+
${P(o)}
|
|
1181
1194
|
</button>
|
|
1182
1195
|
`;
|
|
1183
1196
|
}
|
|
@@ -1191,7 +1204,7 @@ let Y = class extends v {
|
|
|
1191
1204
|
this.label = o, this.requestUpdate();
|
|
1192
1205
|
}
|
|
1193
1206
|
};
|
|
1194
|
-
Y.styles =
|
|
1207
|
+
Y.styles = b`
|
|
1195
1208
|
:host {
|
|
1196
1209
|
display: inline-flex;
|
|
1197
1210
|
justify-content: center;
|
|
@@ -1257,16 +1270,16 @@ Y.styles = y`
|
|
|
1257
1270
|
white-space: nowrap !important;
|
|
1258
1271
|
}
|
|
1259
1272
|
`;
|
|
1260
|
-
|
|
1273
|
+
$t([
|
|
1261
1274
|
a({ type: String, reflect: !0 })
|
|
1262
1275
|
], Y.prototype, "status", 2);
|
|
1263
|
-
|
|
1276
|
+
$t([
|
|
1264
1277
|
a({ type: String, reflect: !0 })
|
|
1265
1278
|
], Y.prototype, "ariaDescribedBy", 2);
|
|
1266
|
-
|
|
1279
|
+
$t([
|
|
1267
1280
|
a({ type: String, reflect: !0 })
|
|
1268
1281
|
], Y.prototype, "label", 2);
|
|
1269
|
-
Y =
|
|
1282
|
+
Y = $t([
|
|
1270
1283
|
w("o-wishlist-button")
|
|
1271
1284
|
], Y);
|
|
1272
1285
|
/**
|
|
@@ -1275,10 +1288,10 @@ Y = xt([
|
|
|
1275
1288
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1276
1289
|
*/
|
|
1277
1290
|
const _ = (o) => o ?? d;
|
|
1278
|
-
var
|
|
1279
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
1291
|
+
var go = Object.defineProperty, bo = Object.getOwnPropertyDescriptor, B = (o, t, e, n) => {
|
|
1292
|
+
for (var i = n > 1 ? void 0 : n ? bo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
1280
1293
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
1281
|
-
return n && i &&
|
|
1294
|
+
return n && i && go(t, e, i), i;
|
|
1282
1295
|
};
|
|
1283
1296
|
let C = class extends v {
|
|
1284
1297
|
constructor() {
|
|
@@ -1292,7 +1305,7 @@ let C = class extends v {
|
|
|
1292
1305
|
return l`
|
|
1293
1306
|
${this.type === "span" ? l`
|
|
1294
1307
|
<span class="icon icon-button ${this.size} ${this.bgstyle} ${this.status} ${t}" ?disabled="${this.disabled}">
|
|
1295
|
-
${
|
|
1308
|
+
${P(e)}
|
|
1296
1309
|
</span>
|
|
1297
1310
|
` : l`
|
|
1298
1311
|
<button
|
|
@@ -1301,14 +1314,14 @@ let C = class extends v {
|
|
|
1301
1314
|
class="icon-button ${this.size} ${this.bgstyle} ${this.status} ${t}"
|
|
1302
1315
|
?disabled="${this.disabled}"
|
|
1303
1316
|
>
|
|
1304
|
-
${
|
|
1317
|
+
${P(e)}
|
|
1305
1318
|
${n}
|
|
1306
1319
|
</button>
|
|
1307
1320
|
`}
|
|
1308
1321
|
`;
|
|
1309
1322
|
}
|
|
1310
1323
|
};
|
|
1311
|
-
C.styles =
|
|
1324
|
+
C.styles = b`
|
|
1312
1325
|
:host {
|
|
1313
1326
|
display: inline-flex;
|
|
1314
1327
|
justify-content: center;
|
|
@@ -1513,7 +1526,7 @@ C.styles = y`
|
|
|
1513
1526
|
}
|
|
1514
1527
|
|
|
1515
1528
|
.icon-button:focus-visible {
|
|
1516
|
-
${
|
|
1529
|
+
${ft}
|
|
1517
1530
|
}
|
|
1518
1531
|
|
|
1519
1532
|
.sr-only {
|
|
@@ -1550,10 +1563,10 @@ B([
|
|
|
1550
1563
|
C = B([
|
|
1551
1564
|
w("o-icon-button")
|
|
1552
1565
|
], C);
|
|
1553
|
-
var
|
|
1554
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
1566
|
+
var yo = Object.defineProperty, mo = Object.getOwnPropertyDescriptor, X = (o, t, e, n) => {
|
|
1567
|
+
for (var i = n > 1 ? void 0 : n ? mo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
1555
1568
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
1556
|
-
return n && i &&
|
|
1569
|
+
return n && i && yo(t, e, i), i;
|
|
1557
1570
|
};
|
|
1558
1571
|
let H = class extends v {
|
|
1559
1572
|
constructor() {
|
|
@@ -1593,7 +1606,7 @@ let H = class extends v {
|
|
|
1593
1606
|
`;
|
|
1594
1607
|
}
|
|
1595
1608
|
};
|
|
1596
|
-
H.styles =
|
|
1609
|
+
H.styles = b`
|
|
1597
1610
|
:host([template="standard"]) a {
|
|
1598
1611
|
color: var(--color-content-action-secondary);
|
|
1599
1612
|
font-size: var(--font-size-200);
|
|
@@ -1702,10 +1715,10 @@ X([
|
|
|
1702
1715
|
H = X([
|
|
1703
1716
|
w("o-link")
|
|
1704
1717
|
], H);
|
|
1705
|
-
var
|
|
1706
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
1718
|
+
var wo = Object.defineProperty, xo = Object.getOwnPropertyDescriptor, _t = (o, t, e, n) => {
|
|
1719
|
+
for (var i = n > 1 ? void 0 : n ? xo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
1707
1720
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
1708
|
-
return n && i &&
|
|
1721
|
+
return n && i && wo(t, e, i), i;
|
|
1709
1722
|
};
|
|
1710
1723
|
let tt = class extends v {
|
|
1711
1724
|
constructor() {
|
|
@@ -1726,7 +1739,7 @@ let tt = class extends v {
|
|
|
1726
1739
|
<div class="rating">
|
|
1727
1740
|
<div class="stars">
|
|
1728
1741
|
${o.map(
|
|
1729
|
-
(t) => l`<span class="star">${
|
|
1742
|
+
(t) => l`<span class="star">${P(G[t] ?? "")}</span>`
|
|
1730
1743
|
)}
|
|
1731
1744
|
</div>
|
|
1732
1745
|
${this.reviewCount != null && this.href != null ? l`<o-link template="review" href="${this.href}">${this.reviewCount}</o-link>` : null}
|
|
@@ -1734,7 +1747,7 @@ let tt = class extends v {
|
|
|
1734
1747
|
`;
|
|
1735
1748
|
}
|
|
1736
1749
|
};
|
|
1737
|
-
tt.styles =
|
|
1750
|
+
tt.styles = b`
|
|
1738
1751
|
svg {
|
|
1739
1752
|
width: 12px;
|
|
1740
1753
|
height: 12px;
|
|
@@ -1768,16 +1781,16 @@ tt.styles = y`
|
|
|
1768
1781
|
cursor: pointer;
|
|
1769
1782
|
}
|
|
1770
1783
|
`;
|
|
1771
|
-
|
|
1784
|
+
_t([
|
|
1772
1785
|
a({ type: Number })
|
|
1773
1786
|
], tt.prototype, "rating", 2);
|
|
1774
|
-
|
|
1787
|
+
_t([
|
|
1775
1788
|
a({ type: String })
|
|
1776
1789
|
], tt.prototype, "reviewCount", 2);
|
|
1777
|
-
|
|
1790
|
+
_t([
|
|
1778
1791
|
a({ type: String })
|
|
1779
1792
|
], tt.prototype, "href", 2);
|
|
1780
|
-
tt =
|
|
1793
|
+
tt = _t([
|
|
1781
1794
|
w("o-rating")
|
|
1782
1795
|
], tt);
|
|
1783
1796
|
/**
|
|
@@ -1785,7 +1798,7 @@ tt = $t([
|
|
|
1785
1798
|
* Copyright 2020 Google LLC
|
|
1786
1799
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1787
1800
|
*/
|
|
1788
|
-
const
|
|
1801
|
+
const $o = (o) => o.strings === void 0;
|
|
1789
1802
|
/**
|
|
1790
1803
|
* @license
|
|
1791
1804
|
* Copyright 2017 Google LLC
|
|
@@ -1797,45 +1810,45 @@ const nt = (o, t) => {
|
|
|
1797
1810
|
if (e === void 0) return !1;
|
|
1798
1811
|
for (const i of e) (n = i._$AO) == null || n.call(i, t, !1), nt(i, t);
|
|
1799
1812
|
return !0;
|
|
1800
|
-
},
|
|
1813
|
+
}, wt = (o) => {
|
|
1801
1814
|
let t, e;
|
|
1802
1815
|
do {
|
|
1803
1816
|
if ((t = o._$AM) === void 0) break;
|
|
1804
1817
|
e = t._$AN, e.delete(o), o = t;
|
|
1805
1818
|
} while ((e == null ? void 0 : e.size) === 0);
|
|
1806
|
-
},
|
|
1819
|
+
}, de = (o) => {
|
|
1807
1820
|
for (let t; t = o._$AM; o = t) {
|
|
1808
1821
|
let e = t._$AN;
|
|
1809
1822
|
if (e === void 0) t._$AN = e = /* @__PURE__ */ new Set();
|
|
1810
1823
|
else if (e.has(o)) break;
|
|
1811
|
-
e.add(o),
|
|
1824
|
+
e.add(o), ko(t);
|
|
1812
1825
|
}
|
|
1813
1826
|
};
|
|
1814
|
-
function
|
|
1815
|
-
this._$AN !== void 0 ? (
|
|
1827
|
+
function _o(o) {
|
|
1828
|
+
this._$AN !== void 0 ? (wt(this), this._$AM = o, de(this)) : this._$AM = o;
|
|
1816
1829
|
}
|
|
1817
|
-
function
|
|
1830
|
+
function Co(o, t = !1, e = 0) {
|
|
1818
1831
|
const n = this._$AH, i = this._$AN;
|
|
1819
|
-
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),
|
|
1820
|
-
else n != null && (nt(n, !1),
|
|
1832
|
+
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), wt(n[r]);
|
|
1833
|
+
else n != null && (nt(n, !1), wt(n));
|
|
1821
1834
|
else nt(this, o);
|
|
1822
1835
|
}
|
|
1823
|
-
const
|
|
1824
|
-
o.type ==
|
|
1836
|
+
const ko = (o) => {
|
|
1837
|
+
o.type == Tt.CHILD && (o._$AP ?? (o._$AP = Co), o._$AQ ?? (o._$AQ = _o));
|
|
1825
1838
|
};
|
|
1826
|
-
class
|
|
1839
|
+
class Ao extends Ft {
|
|
1827
1840
|
constructor() {
|
|
1828
1841
|
super(...arguments), this._$AN = void 0;
|
|
1829
1842
|
}
|
|
1830
1843
|
_$AT(t, e, n) {
|
|
1831
|
-
super._$AT(t, e, n),
|
|
1844
|
+
super._$AT(t, e, n), de(this), this.isConnected = t._$AU;
|
|
1832
1845
|
}
|
|
1833
1846
|
_$AO(t, e = !0) {
|
|
1834
1847
|
var n, i;
|
|
1835
|
-
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),
|
|
1848
|
+
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), wt(this));
|
|
1836
1849
|
}
|
|
1837
1850
|
setValue(t) {
|
|
1838
|
-
if (
|
|
1851
|
+
if ($o(this._$Ct)) this._$Ct._$AI(t, this);
|
|
1839
1852
|
else {
|
|
1840
1853
|
const e = [...this._$Ct._$AH];
|
|
1841
1854
|
e[this._$Ci] = t, this._$Ct._$AI(e, this, 0);
|
|
@@ -1846,7 +1859,7 @@ class wo extends jt {
|
|
|
1846
1859
|
reconnected() {
|
|
1847
1860
|
}
|
|
1848
1861
|
}
|
|
1849
|
-
class
|
|
1862
|
+
class Eo extends Ao {
|
|
1850
1863
|
constructor() {
|
|
1851
1864
|
super(...arguments), this.prevData = {};
|
|
1852
1865
|
}
|
|
@@ -1873,7 +1886,7 @@ class xo extends wo {
|
|
|
1873
1886
|
(!t || !(i in t) && n[i] === e[i]) && (n[i] = void 0);
|
|
1874
1887
|
}
|
|
1875
1888
|
}
|
|
1876
|
-
class
|
|
1889
|
+
class So extends Eo {
|
|
1877
1890
|
constructor() {
|
|
1878
1891
|
super(...arguments), this.eventData = {};
|
|
1879
1892
|
}
|
|
@@ -1917,7 +1930,7 @@ class $o extends xo {
|
|
|
1917
1930
|
}
|
|
1918
1931
|
}
|
|
1919
1932
|
}
|
|
1920
|
-
class
|
|
1933
|
+
class Lo extends So {
|
|
1921
1934
|
apply(t) {
|
|
1922
1935
|
if (!t)
|
|
1923
1936
|
return;
|
|
@@ -1966,11 +1979,11 @@ class _o extends $o {
|
|
|
1966
1979
|
}
|
|
1967
1980
|
}
|
|
1968
1981
|
}
|
|
1969
|
-
const
|
|
1970
|
-
var
|
|
1971
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
1982
|
+
const ne = jt(Lo);
|
|
1983
|
+
var Po = Object.defineProperty, Oo = Object.getOwnPropertyDescriptor, y = (o, t, e, n) => {
|
|
1984
|
+
for (var i = n > 1 ? void 0 : n ? Oo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
1972
1985
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
1973
|
-
return n && i &&
|
|
1986
|
+
return n && i && Po(t, e, i), i;
|
|
1974
1987
|
};
|
|
1975
1988
|
let u = class extends v {
|
|
1976
1989
|
constructor() {
|
|
@@ -2146,7 +2159,7 @@ let u = class extends v {
|
|
|
2146
2159
|
variant="${this.firstButtonVariant}"
|
|
2147
2160
|
@click=${this.handleFirstClick}
|
|
2148
2161
|
@keydown=${this.handleFirstClick}
|
|
2149
|
-
${
|
|
2162
|
+
${ne(this.firstButtonProps)}
|
|
2150
2163
|
>
|
|
2151
2164
|
${this.firstButtonLabel}
|
|
2152
2165
|
</o-button>
|
|
@@ -2157,7 +2170,7 @@ let u = class extends v {
|
|
|
2157
2170
|
variant="${this.secondButtonVariant}"
|
|
2158
2171
|
@click=${this.handleSecondClick}
|
|
2159
2172
|
@keydown=${this.handleSecondClick}
|
|
2160
|
-
${
|
|
2173
|
+
${ne(this.secondButtonProps)}
|
|
2161
2174
|
>
|
|
2162
2175
|
${this.secondButtonLabel}
|
|
2163
2176
|
</o-button>
|
|
@@ -2168,7 +2181,7 @@ let u = class extends v {
|
|
|
2168
2181
|
`;
|
|
2169
2182
|
}
|
|
2170
2183
|
};
|
|
2171
|
-
u.styles =
|
|
2184
|
+
u.styles = b`
|
|
2172
2185
|
:host {
|
|
2173
2186
|
--z-overlay: 99;
|
|
2174
2187
|
--z-panel: 100;
|
|
@@ -2272,7 +2285,7 @@ u.styles = y`
|
|
|
2272
2285
|
.panel:focus-visible,
|
|
2273
2286
|
.close-btn:focus,
|
|
2274
2287
|
.close-btn:focus-visible {
|
|
2275
|
-
${
|
|
2288
|
+
${ft}
|
|
2276
2289
|
}
|
|
2277
2290
|
|
|
2278
2291
|
.content {
|
|
@@ -2359,75 +2372,75 @@ u.styles = y`
|
|
|
2359
2372
|
`;
|
|
2360
2373
|
u.focusablesSelector = 'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"]), o-icon-button, o-button';
|
|
2361
2374
|
u.focusablesCustomElementsSelector = "o-icon-button, o-button";
|
|
2362
|
-
|
|
2375
|
+
y([
|
|
2363
2376
|
a({ type: Boolean, reflect: !0 })
|
|
2364
2377
|
], u.prototype, "open", 2);
|
|
2365
|
-
|
|
2378
|
+
y([
|
|
2366
2379
|
a({ type: Boolean, reflect: !0 })
|
|
2367
2380
|
], u.prototype, "showHeader", 2);
|
|
2368
|
-
|
|
2381
|
+
y([
|
|
2369
2382
|
a({ type: Boolean, reflect: !0 })
|
|
2370
2383
|
], u.prototype, "showFooter", 2);
|
|
2371
|
-
|
|
2384
|
+
y([
|
|
2372
2385
|
a({ type: Boolean, reflect: !0 })
|
|
2373
2386
|
], u.prototype, "showHeaderStartIcon", 2);
|
|
2374
|
-
|
|
2387
|
+
y([
|
|
2375
2388
|
a({ type: String, reflect: !0 })
|
|
2376
2389
|
], u.prototype, "headerTitle", 2);
|
|
2377
|
-
|
|
2390
|
+
y([
|
|
2378
2391
|
a({ type: String, reflect: !0 })
|
|
2379
2392
|
], u.prototype, "headerTitleClassName", 2);
|
|
2380
|
-
|
|
2393
|
+
y([
|
|
2381
2394
|
a({ type: String, reflect: !0 })
|
|
2382
2395
|
], u.prototype, "closeButtonLabel", 2);
|
|
2383
|
-
|
|
2396
|
+
y([
|
|
2384
2397
|
a({ type: String, reflect: !0 })
|
|
2385
2398
|
], u.prototype, "firstButtonLabel", 2);
|
|
2386
|
-
|
|
2399
|
+
y([
|
|
2387
2400
|
a({ type: String, reflect: !0 })
|
|
2388
2401
|
], u.prototype, "firstButtonVariant", 2);
|
|
2389
|
-
|
|
2402
|
+
y([
|
|
2390
2403
|
a({ type: Object, reflect: !0 })
|
|
2391
2404
|
], u.prototype, "firstButtonProps", 2);
|
|
2392
|
-
|
|
2405
|
+
y([
|
|
2393
2406
|
a({ type: Boolean, reflect: !0 })
|
|
2394
2407
|
], u.prototype, "onFirstButtonClickClose", 2);
|
|
2395
|
-
|
|
2408
|
+
y([
|
|
2396
2409
|
a({ type: String, reflect: !0 })
|
|
2397
2410
|
], u.prototype, "secondButtonLabel", 2);
|
|
2398
|
-
|
|
2411
|
+
y([
|
|
2399
2412
|
a({ type: String, reflect: !0 })
|
|
2400
2413
|
], u.prototype, "secondButtonVariant", 2);
|
|
2401
|
-
|
|
2414
|
+
y([
|
|
2402
2415
|
a({ type: Object, reflect: !0 })
|
|
2403
2416
|
], u.prototype, "secondButtonProps", 2);
|
|
2404
|
-
|
|
2417
|
+
y([
|
|
2405
2418
|
a({ type: Boolean, reflect: !0 })
|
|
2406
2419
|
], u.prototype, "onSecondButtonClickClose", 2);
|
|
2407
|
-
|
|
2420
|
+
y([
|
|
2408
2421
|
a({ type: Boolean, reflect: !0 })
|
|
2409
2422
|
], u.prototype, "disablePortal", 2);
|
|
2410
|
-
|
|
2423
|
+
y([
|
|
2411
2424
|
a({ type: Number, reflect: !0 })
|
|
2412
2425
|
], u.prototype, "zIndex", 2);
|
|
2413
|
-
|
|
2426
|
+
y([
|
|
2414
2427
|
a({ type: Boolean, reflect: !0 })
|
|
2415
2428
|
], u.prototype, "initialized", 2);
|
|
2416
|
-
|
|
2429
|
+
y([
|
|
2417
2430
|
a({ type: Boolean })
|
|
2418
2431
|
], u.prototype, "showDetail", 2);
|
|
2419
|
-
|
|
2432
|
+
y([
|
|
2420
2433
|
a({ type: Boolean })
|
|
2421
2434
|
], u.prototype, "isHidingDetail", 2);
|
|
2422
|
-
u =
|
|
2435
|
+
u = y([
|
|
2423
2436
|
w("o-side-panel")
|
|
2424
2437
|
], u);
|
|
2425
|
-
var
|
|
2426
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
2438
|
+
var Io = Object.defineProperty, Bo = Object.getOwnPropertyDescriptor, N = (o, t, e, n) => {
|
|
2439
|
+
for (var i = n > 1 ? void 0 : n ? Bo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
2427
2440
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
2428
|
-
return n && i &&
|
|
2441
|
+
return n && i && Io(t, e, i), i;
|
|
2429
2442
|
};
|
|
2430
|
-
let
|
|
2443
|
+
let I = class extends v {
|
|
2431
2444
|
constructor() {
|
|
2432
2445
|
super(...arguments), this.thumbnails = [], this.activeIndex = 0, this.disabledIndexes = [], this.maxWidth = "100%", this.altressource = "visual", this.focusedIndex = 0, this.playerIconTemplate = l`
|
|
2433
2446
|
<o-icon-button
|
|
@@ -2504,7 +2517,7 @@ let O = class extends v {
|
|
|
2504
2517
|
`;
|
|
2505
2518
|
}
|
|
2506
2519
|
};
|
|
2507
|
-
|
|
2520
|
+
I.styles = b`
|
|
2508
2521
|
:host {
|
|
2509
2522
|
display: flex;
|
|
2510
2523
|
gap: 5px;
|
|
@@ -2612,32 +2625,32 @@ O.styles = y`
|
|
|
2612
2625
|
`;
|
|
2613
2626
|
N([
|
|
2614
2627
|
a({ type: Array })
|
|
2615
|
-
],
|
|
2628
|
+
], I.prototype, "thumbnails", 2);
|
|
2616
2629
|
N([
|
|
2617
2630
|
a({ type: Number })
|
|
2618
|
-
],
|
|
2631
|
+
], I.prototype, "activeIndex", 2);
|
|
2619
2632
|
N([
|
|
2620
2633
|
a({ type: Array })
|
|
2621
|
-
],
|
|
2634
|
+
], I.prototype, "disabledIndexes", 2);
|
|
2622
2635
|
N([
|
|
2623
2636
|
a({ type: String })
|
|
2624
|
-
],
|
|
2637
|
+
], I.prototype, "maxWidth", 2);
|
|
2625
2638
|
N([
|
|
2626
2639
|
a({ type: String })
|
|
2627
|
-
],
|
|
2640
|
+
], I.prototype, "altressource", 2);
|
|
2628
2641
|
N([
|
|
2629
2642
|
a({ type: Object })
|
|
2630
|
-
],
|
|
2643
|
+
], I.prototype, "swiperInstance", 2);
|
|
2631
2644
|
N([
|
|
2632
|
-
|
|
2633
|
-
],
|
|
2634
|
-
|
|
2645
|
+
K()
|
|
2646
|
+
], I.prototype, "focusedIndex", 2);
|
|
2647
|
+
I = N([
|
|
2635
2648
|
w("thumbnail-navigation")
|
|
2636
|
-
],
|
|
2637
|
-
var
|
|
2638
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
2649
|
+
], I);
|
|
2650
|
+
var zo = Object.defineProperty, Do = Object.getOwnPropertyDescriptor, Rt = (o, t, e, n) => {
|
|
2651
|
+
for (var i = n > 1 ? void 0 : n ? Do(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
2639
2652
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
2640
|
-
return n && i &&
|
|
2653
|
+
return n && i && zo(t, e, i), i;
|
|
2641
2654
|
};
|
|
2642
2655
|
let lt = class extends v {
|
|
2643
2656
|
constructor() {
|
|
@@ -2649,7 +2662,7 @@ let lt = class extends v {
|
|
|
2649
2662
|
`;
|
|
2650
2663
|
}
|
|
2651
2664
|
};
|
|
2652
|
-
lt.styles =
|
|
2665
|
+
lt.styles = b`
|
|
2653
2666
|
.tag {
|
|
2654
2667
|
display: inline-block;
|
|
2655
2668
|
padding: var(--spacing-2-xs) var(--spacing-s);
|
|
@@ -2707,19 +2720,19 @@ lt.styles = y`
|
|
|
2707
2720
|
}
|
|
2708
2721
|
|
|
2709
2722
|
`;
|
|
2710
|
-
|
|
2723
|
+
Rt([
|
|
2711
2724
|
a({ type: String, reflect: !0 })
|
|
2712
2725
|
], lt.prototype, "type", 2);
|
|
2713
|
-
|
|
2726
|
+
Rt([
|
|
2714
2727
|
a({ type: String, reflect: !0 })
|
|
2715
2728
|
], lt.prototype, "bgstyle", 2);
|
|
2716
|
-
lt =
|
|
2729
|
+
lt = Rt([
|
|
2717
2730
|
w("o-tag")
|
|
2718
2731
|
], lt);
|
|
2719
|
-
var
|
|
2720
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
2732
|
+
var Ho = Object.defineProperty, Mo = Object.getOwnPropertyDescriptor, Ut = (o, t, e, n) => {
|
|
2733
|
+
for (var i = n > 1 ? void 0 : n ? Mo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
2721
2734
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
2722
|
-
return n && i &&
|
|
2735
|
+
return n && i && Ho(t, e, i), i;
|
|
2723
2736
|
};
|
|
2724
2737
|
let ct = class extends v {
|
|
2725
2738
|
constructor() {
|
|
@@ -2734,7 +2747,7 @@ let ct = class extends v {
|
|
|
2734
2747
|
`;
|
|
2735
2748
|
}
|
|
2736
2749
|
};
|
|
2737
|
-
ct.styles =
|
|
2750
|
+
ct.styles = b`
|
|
2738
2751
|
.tooltip {
|
|
2739
2752
|
position: relative;
|
|
2740
2753
|
display: inline-block;
|
|
@@ -2827,21 +2840,21 @@ ct.styles = y`
|
|
|
2827
2840
|
}
|
|
2828
2841
|
|
|
2829
2842
|
`;
|
|
2830
|
-
|
|
2843
|
+
Ut([
|
|
2831
2844
|
a({ type: String, reflect: !0 })
|
|
2832
2845
|
], ct.prototype, "type", 2);
|
|
2833
|
-
|
|
2846
|
+
Ut([
|
|
2834
2847
|
a({ type: String, reflect: !0 })
|
|
2835
2848
|
], ct.prototype, "text", 2);
|
|
2836
|
-
ct =
|
|
2849
|
+
ct = Ut([
|
|
2837
2850
|
w("o-tooltip")
|
|
2838
2851
|
], ct);
|
|
2839
|
-
var
|
|
2840
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
2852
|
+
var To = Object.defineProperty, jo = Object.getOwnPropertyDescriptor, M = (o, t, e, n) => {
|
|
2853
|
+
for (var i = n > 1 ? void 0 : n ? jo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
2841
2854
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
2842
|
-
return n && i &&
|
|
2855
|
+
return n && i && To(t, e, i), i;
|
|
2843
2856
|
};
|
|
2844
|
-
let
|
|
2857
|
+
let O = class extends v {
|
|
2845
2858
|
constructor() {
|
|
2846
2859
|
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) => {
|
|
2847
2860
|
this.contains(o.target) || (this.open = !1, this.activeIndex = -1);
|
|
@@ -2952,10 +2965,10 @@ let P = class extends v {
|
|
|
2952
2965
|
${e.url ? l`
|
|
2953
2966
|
<a href="${e.url}">
|
|
2954
2967
|
<span>${e.label}</span>
|
|
2955
|
-
${e.value === this.value ? l`<span class="check">${
|
|
2968
|
+
${e.value === this.value ? l`<span class="check">${P(o)}</span>` : null}
|
|
2956
2969
|
</a>` : l`
|
|
2957
2970
|
<span>${e.label}</span>
|
|
2958
|
-
${e.value === this.value ? l`<span class="check">${
|
|
2971
|
+
${e.value === this.value ? l`<span class="check">${P(o)}</span>` : null}`}
|
|
2959
2972
|
</li>`
|
|
2960
2973
|
)}
|
|
2961
2974
|
</ul>` : null}
|
|
@@ -2964,7 +2977,7 @@ let P = class extends v {
|
|
|
2964
2977
|
`;
|
|
2965
2978
|
}
|
|
2966
2979
|
};
|
|
2967
|
-
|
|
2980
|
+
O.styles = b`
|
|
2968
2981
|
:host {
|
|
2969
2982
|
display: inline-block;
|
|
2970
2983
|
position: relative;
|
|
@@ -3106,42 +3119,42 @@ P.styles = y`
|
|
|
3106
3119
|
`;
|
|
3107
3120
|
M([
|
|
3108
3121
|
a({ type: Array, reflect: !0 })
|
|
3109
|
-
],
|
|
3122
|
+
], O.prototype, "options", 2);
|
|
3110
3123
|
M([
|
|
3111
3124
|
a({ type: String, reflect: !0 })
|
|
3112
|
-
],
|
|
3125
|
+
], O.prototype, "value", 2);
|
|
3113
3126
|
M([
|
|
3114
3127
|
a({ type: String, reflect: !0 })
|
|
3115
|
-
],
|
|
3128
|
+
], O.prototype, "name", 2);
|
|
3116
3129
|
M([
|
|
3117
3130
|
a({ type: Boolean, reflect: !0 })
|
|
3118
|
-
],
|
|
3131
|
+
], O.prototype, "disabled", 2);
|
|
3119
3132
|
M([
|
|
3120
3133
|
a({ type: String, reflect: !0 })
|
|
3121
|
-
],
|
|
3134
|
+
], O.prototype, "width", 2);
|
|
3122
3135
|
M([
|
|
3123
|
-
|
|
3124
|
-
],
|
|
3136
|
+
K()
|
|
3137
|
+
], O.prototype, "open", 2);
|
|
3125
3138
|
M([
|
|
3126
|
-
|
|
3127
|
-
],
|
|
3139
|
+
K()
|
|
3140
|
+
], O.prototype, "activeIndex", 2);
|
|
3128
3141
|
M([
|
|
3129
|
-
|
|
3130
|
-
],
|
|
3131
|
-
|
|
3142
|
+
K()
|
|
3143
|
+
], O.prototype, "menuWidth", 2);
|
|
3144
|
+
O = M([
|
|
3132
3145
|
w("o-dropdown")
|
|
3133
|
-
],
|
|
3134
|
-
var
|
|
3135
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
3146
|
+
], O);
|
|
3147
|
+
var Fo = Object.getOwnPropertyDescriptor, Ro = (o, t, e, n) => {
|
|
3148
|
+
for (var i = n > 1 ? void 0 : n ? Fo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
3136
3149
|
(s = o[r]) && (i = s(i) || i);
|
|
3137
3150
|
return i;
|
|
3138
3151
|
};
|
|
3139
|
-
let
|
|
3152
|
+
let Ot = class extends v {
|
|
3140
3153
|
render() {
|
|
3141
3154
|
return l` <span class="dots"></span> `;
|
|
3142
3155
|
}
|
|
3143
3156
|
};
|
|
3144
|
-
|
|
3157
|
+
Ot.styles = b`
|
|
3145
3158
|
:host {
|
|
3146
3159
|
display: flex;
|
|
3147
3160
|
align-items: center;
|
|
@@ -3193,13 +3206,13 @@ Pt.styles = y`
|
|
|
3193
3206
|
}
|
|
3194
3207
|
}
|
|
3195
3208
|
`;
|
|
3196
|
-
|
|
3209
|
+
Ot = Ro([
|
|
3197
3210
|
w("o-dots")
|
|
3198
|
-
],
|
|
3199
|
-
var
|
|
3200
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
3211
|
+
], Ot);
|
|
3212
|
+
var Uo = Object.defineProperty, No = Object.getOwnPropertyDescriptor, z = (o, t, e, n) => {
|
|
3213
|
+
for (var i = n > 1 ? void 0 : n ? No(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
3201
3214
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
3202
|
-
return n && i &&
|
|
3215
|
+
return n && i && Uo(t, e, i), i;
|
|
3203
3216
|
};
|
|
3204
3217
|
let k = class extends v {
|
|
3205
3218
|
constructor() {
|
|
@@ -3326,7 +3339,7 @@ let k = class extends v {
|
|
|
3326
3339
|
<div class="right">
|
|
3327
3340
|
<span class="additional-text">${_(e.additionaltext)}</span>
|
|
3328
3341
|
${e.value === this.value && !e.additionaltext ? l`
|
|
3329
|
-
<span class="check">${
|
|
3342
|
+
<span class="check">${P(o)}</span>` : null}
|
|
3330
3343
|
</div>
|
|
3331
3344
|
</a>
|
|
3332
3345
|
</li>
|
|
@@ -3338,7 +3351,7 @@ let k = class extends v {
|
|
|
3338
3351
|
`;
|
|
3339
3352
|
}
|
|
3340
3353
|
};
|
|
3341
|
-
k.styles =
|
|
3354
|
+
k.styles = b`
|
|
3342
3355
|
:host {
|
|
3343
3356
|
display: inline-block;
|
|
3344
3357
|
position: relative;
|
|
@@ -3533,13 +3546,13 @@ z([
|
|
|
3533
3546
|
a({ type: String, reflect: !0 })
|
|
3534
3547
|
], k.prototype, "width", 2);
|
|
3535
3548
|
z([
|
|
3536
|
-
|
|
3549
|
+
K()
|
|
3537
3550
|
], k.prototype, "open", 2);
|
|
3538
3551
|
z([
|
|
3539
|
-
|
|
3552
|
+
K()
|
|
3540
3553
|
], k.prototype, "activeIndex", 2);
|
|
3541
3554
|
z([
|
|
3542
|
-
|
|
3555
|
+
K()
|
|
3543
3556
|
], k.prototype, "menuWidth", 2);
|
|
3544
3557
|
k = z([
|
|
3545
3558
|
w("o-dropdown-variant")
|
|
@@ -3549,10 +3562,10 @@ k = z([
|
|
|
3549
3562
|
* Copyright 2018 Google LLC
|
|
3550
3563
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3551
3564
|
*/
|
|
3552
|
-
const
|
|
3565
|
+
const pe = "important", Vo = " !" + pe, Zo = jt(class extends Ft {
|
|
3553
3566
|
constructor(o) {
|
|
3554
3567
|
var t;
|
|
3555
|
-
if (super(o), o.type !==
|
|
3568
|
+
if (super(o), o.type !== Tt.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.");
|
|
3556
3569
|
}
|
|
3557
3570
|
render(o) {
|
|
3558
3571
|
return Object.keys(o).reduce((t, e) => {
|
|
@@ -3568,17 +3581,17 @@ const he = "important", To = " !" + he, jo = Tt(class extends jt {
|
|
|
3568
3581
|
const i = t[n];
|
|
3569
3582
|
if (i != null) {
|
|
3570
3583
|
this.ft.add(n);
|
|
3571
|
-
const r = typeof i == "string" && i.endsWith(
|
|
3572
|
-
n.includes("-") || r ? e.setProperty(n, r ? i.slice(0, -11) : i, r ?
|
|
3584
|
+
const r = typeof i == "string" && i.endsWith(Vo);
|
|
3585
|
+
n.includes("-") || r ? e.setProperty(n, r ? i.slice(0, -11) : i, r ? pe : "") : e[n] = i;
|
|
3573
3586
|
}
|
|
3574
3587
|
}
|
|
3575
3588
|
return U;
|
|
3576
3589
|
}
|
|
3577
3590
|
});
|
|
3578
|
-
var
|
|
3579
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
3591
|
+
var qo = Object.defineProperty, Wo = Object.getOwnPropertyDescriptor, Nt = (o, t, e, n) => {
|
|
3592
|
+
for (var i = n > 1 ? void 0 : n ? Wo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
3580
3593
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
3581
|
-
return n && i &&
|
|
3594
|
+
return n && i && qo(t, e, i), i;
|
|
3582
3595
|
};
|
|
3583
3596
|
let ht = class extends v {
|
|
3584
3597
|
constructor() {
|
|
@@ -3589,7 +3602,7 @@ let ht = class extends v {
|
|
|
3589
3602
|
width: `${this.imageSize}px`,
|
|
3590
3603
|
height: `${this.imageSize}px`
|
|
3591
3604
|
}, e = l`
|
|
3592
|
-
${this.option.imgurl ? l`<img src="${this.option.imgurl}" alt="${_(this.option.title)}" aria-hidden="true" style=${
|
|
3605
|
+
${this.option.imgurl ? l`<img src="${this.option.imgurl}" alt="${_(this.option.title)}" aria-hidden="true" style=${Zo(t)} />` : ""}
|
|
3593
3606
|
<div class="m-reassurance-content">
|
|
3594
3607
|
<h3 class="a-reassurance-text">${_(this.option.title)}</h3>
|
|
3595
3608
|
<p class="a-reassurance-description">${_(this.option.description)}</p>
|
|
@@ -3598,7 +3611,7 @@ let ht = class extends v {
|
|
|
3598
3611
|
return o ? l`<a href="${_(this.option.url)}" class="reassurance-item clickable">${e}</a>` : l`<div class="reassurance-item">${e}</div>`;
|
|
3599
3612
|
}
|
|
3600
3613
|
};
|
|
3601
|
-
ht.styles =
|
|
3614
|
+
ht.styles = b`
|
|
3602
3615
|
:host {
|
|
3603
3616
|
display: inline-block;
|
|
3604
3617
|
position: relative;
|
|
@@ -3680,22 +3693,22 @@ ht.styles = y`
|
|
|
3680
3693
|
}
|
|
3681
3694
|
}
|
|
3682
3695
|
`;
|
|
3683
|
-
|
|
3696
|
+
Nt([
|
|
3684
3697
|
a({ type: Object, reflect: !0 })
|
|
3685
3698
|
], ht.prototype, "option", 2);
|
|
3686
|
-
|
|
3699
|
+
Nt([
|
|
3687
3700
|
a({ type: Number, reflect: !0 })
|
|
3688
3701
|
], ht.prototype, "imageSize", 2);
|
|
3689
|
-
ht =
|
|
3702
|
+
ht = Nt([
|
|
3690
3703
|
w("o-reassurance")
|
|
3691
3704
|
], ht);
|
|
3692
|
-
var
|
|
3693
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
3705
|
+
var Ko = Object.defineProperty, Go = Object.getOwnPropertyDescriptor, T = (o, t, e, n) => {
|
|
3706
|
+
for (var i = n > 1 ? void 0 : n ? Go(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
3694
3707
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
3695
|
-
return n && i &&
|
|
3708
|
+
return n && i && Ko(t, e, i), i;
|
|
3696
3709
|
};
|
|
3697
|
-
const
|
|
3698
|
-
let A = class extends
|
|
3710
|
+
const Xo = Mt(v);
|
|
3711
|
+
let A = class extends Xo {
|
|
3699
3712
|
constructor() {
|
|
3700
3713
|
super(...arguments), this.link = "", this.name = "", this.value = "", this.text = "", this.size = "standard", this.selected = !1, this.fullwidth = !1, this.inactive = !1;
|
|
3701
3714
|
}
|
|
@@ -3718,7 +3731,7 @@ let A = class extends Vo {
|
|
|
3718
3731
|
`;
|
|
3719
3732
|
}
|
|
3720
3733
|
};
|
|
3721
|
-
A.styles =
|
|
3734
|
+
A.styles = b`
|
|
3722
3735
|
:host {
|
|
3723
3736
|
cursor: pointer;
|
|
3724
3737
|
display: inline-flex;
|
|
@@ -3794,7 +3807,7 @@ A.styles = y`
|
|
|
3794
3807
|
}
|
|
3795
3808
|
|
|
3796
3809
|
&:focus-visible {
|
|
3797
|
-
${
|
|
3810
|
+
${ft};
|
|
3798
3811
|
}
|
|
3799
3812
|
}
|
|
3800
3813
|
|
|
@@ -3835,10 +3848,10 @@ T([
|
|
|
3835
3848
|
A = T([
|
|
3836
3849
|
w("o-chip")
|
|
3837
3850
|
], A);
|
|
3838
|
-
var
|
|
3839
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
3851
|
+
var Jo = Object.defineProperty, Qo = Object.getOwnPropertyDescriptor, Vt = (o, t, e, n) => {
|
|
3852
|
+
for (var i = n > 1 ? void 0 : n ? Qo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
3840
3853
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
3841
|
-
return n && i &&
|
|
3854
|
+
return n && i && Jo(t, e, i), i;
|
|
3842
3855
|
};
|
|
3843
3856
|
let dt = class extends v {
|
|
3844
3857
|
constructor() {
|
|
@@ -3856,7 +3869,7 @@ let dt = class extends v {
|
|
|
3856
3869
|
`;
|
|
3857
3870
|
}
|
|
3858
3871
|
};
|
|
3859
|
-
dt.styles =
|
|
3872
|
+
dt.styles = b`
|
|
3860
3873
|
:host {
|
|
3861
3874
|
display: flex;
|
|
3862
3875
|
flex-direction: row;
|
|
@@ -3864,22 +3877,22 @@ dt.styles = y`
|
|
|
3864
3877
|
gap: var(--spacing-s);
|
|
3865
3878
|
}
|
|
3866
3879
|
`;
|
|
3867
|
-
|
|
3880
|
+
Vt([
|
|
3868
3881
|
a({ reflect: !0 })
|
|
3869
3882
|
], dt.prototype, "name", 2);
|
|
3870
|
-
|
|
3883
|
+
Vt([
|
|
3871
3884
|
a({ reflect: !0 })
|
|
3872
3885
|
], dt.prototype, "value", 2);
|
|
3873
|
-
dt =
|
|
3886
|
+
dt = Vt([
|
|
3874
3887
|
w("o-chipset")
|
|
3875
3888
|
], dt);
|
|
3876
|
-
var
|
|
3877
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
3889
|
+
var Yo = Object.defineProperty, ti = Object.getOwnPropertyDescriptor, D = (o, t, e, n) => {
|
|
3890
|
+
for (var i = n > 1 ? void 0 : n ? ti(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
3878
3891
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
3879
|
-
return n && i &&
|
|
3892
|
+
return n && i && Yo(t, e, i), i;
|
|
3880
3893
|
};
|
|
3881
|
-
const
|
|
3882
|
-
let E = class extends
|
|
3894
|
+
const ei = Mt(v);
|
|
3895
|
+
let E = class extends ei {
|
|
3883
3896
|
constructor() {
|
|
3884
3897
|
super(...arguments), this.name = "", this.value = "", this.type = "", this.text = "", this.selected = !1, this.disabled = !1, this.fullwidth = !1, this.crossIconName = "cross", this.strikethroughImgName = "strikeDiagonal";
|
|
3885
3898
|
}
|
|
@@ -3895,14 +3908,14 @@ let E = class extends Go {
|
|
|
3895
3908
|
"<svg",
|
|
3896
3909
|
'<svg aria-hidden="true" focusable="false" part="svg"'
|
|
3897
3910
|
).replace(/stroke=[#"'a-z1-9]*/gi, "");
|
|
3898
|
-
return l`<span class="cross-icon">${
|
|
3911
|
+
return l`<span class="cross-icon">${P(o)}</span>`;
|
|
3899
3912
|
}
|
|
3900
3913
|
strikeThroughImg() {
|
|
3901
|
-
const o =
|
|
3914
|
+
const o = lo[this.strikethroughImgName].replace(
|
|
3902
3915
|
"<svg",
|
|
3903
3916
|
'<svg aria-hidden="true" focusable="false" part="strikethrough"'
|
|
3904
3917
|
).replace(/stroke=[#"'a-z1-9]*/gi, "");
|
|
3905
|
-
return
|
|
3918
|
+
return P(o);
|
|
3906
3919
|
}
|
|
3907
3920
|
render() {
|
|
3908
3921
|
const o = this.text;
|
|
@@ -3929,7 +3942,7 @@ let E = class extends Go {
|
|
|
3929
3942
|
`;
|
|
3930
3943
|
}
|
|
3931
3944
|
};
|
|
3932
|
-
E.styles =
|
|
3945
|
+
E.styles = b`
|
|
3933
3946
|
:host {
|
|
3934
3947
|
cursor: pointer;
|
|
3935
3948
|
display: inline-flex;
|
|
@@ -4009,7 +4022,7 @@ E.styles = y`
|
|
|
4009
4022
|
}
|
|
4010
4023
|
|
|
4011
4024
|
.button:focus-visible {
|
|
4012
|
-
${
|
|
4025
|
+
${ft};
|
|
4013
4026
|
}
|
|
4014
4027
|
|
|
4015
4028
|
span.text + span.text::before {
|
|
@@ -4085,12 +4098,12 @@ D([
|
|
|
4085
4098
|
E = D([
|
|
4086
4099
|
w("o-filter-chip")
|
|
4087
4100
|
], E);
|
|
4088
|
-
var
|
|
4101
|
+
var oi = Object.defineProperty, j = (o, t, e, n) => {
|
|
4089
4102
|
for (var i = void 0, r = o.length - 1, s; r >= 0; r--)
|
|
4090
4103
|
(s = o[r]) && (i = s(t, e, i) || i);
|
|
4091
|
-
return i &&
|
|
4104
|
+
return i && oi(t, e, i), i;
|
|
4092
4105
|
};
|
|
4093
|
-
const
|
|
4106
|
+
const Wt = class Wt extends v {
|
|
4094
4107
|
constructor() {
|
|
4095
4108
|
super(...arguments), this.type = "cart | chevron", this.titleProduct = "", this.volume = "", this.perLiter = "", this.mainPrice = "", this.imageUrl = "https://placehold.co/56x70", this.altImage = "", this.fullwidth = !1;
|
|
4096
4109
|
}
|
|
@@ -4136,7 +4149,7 @@ const qt = class qt extends v {
|
|
|
4136
4149
|
`;
|
|
4137
4150
|
}
|
|
4138
4151
|
};
|
|
4139
|
-
|
|
4152
|
+
Wt.styles = b`
|
|
4140
4153
|
:host {
|
|
4141
4154
|
display: block;
|
|
4142
4155
|
max-width: 100%;
|
|
@@ -4164,7 +4177,7 @@ qt.styles = y`
|
|
|
4164
4177
|
.tile img {
|
|
4165
4178
|
object-fit: cover;
|
|
4166
4179
|
width: 56px;
|
|
4167
|
-
height:
|
|
4180
|
+
height: 70px;
|
|
4168
4181
|
background: linear-gradient(to bottom, #F9F5F0, #F7F2EA);
|
|
4169
4182
|
}
|
|
4170
4183
|
|
|
@@ -4220,7 +4233,7 @@ qt.styles = y`
|
|
|
4220
4233
|
line-height: var(--line-height-160);
|
|
4221
4234
|
}
|
|
4222
4235
|
`;
|
|
4223
|
-
let S =
|
|
4236
|
+
let S = Wt;
|
|
4224
4237
|
j([
|
|
4225
4238
|
a({ type: String })
|
|
4226
4239
|
], S.prototype, "type");
|
|
@@ -4249,10 +4262,10 @@ j([
|
|
|
4249
4262
|
a({ type: Function })
|
|
4250
4263
|
], S.prototype, "onClickTile");
|
|
4251
4264
|
customElements.define("mini-tile", S);
|
|
4252
|
-
var
|
|
4253
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
4265
|
+
var ii = Object.defineProperty, ni = Object.getOwnPropertyDescriptor, Zt = (o, t, e, n) => {
|
|
4266
|
+
for (var i = n > 1 ? void 0 : n ? ni(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
4254
4267
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
4255
|
-
return n && i &&
|
|
4268
|
+
return n && i && ii(t, e, i), i;
|
|
4256
4269
|
};
|
|
4257
4270
|
let pt = class extends v {
|
|
4258
4271
|
constructor() {
|
|
@@ -4266,7 +4279,7 @@ let pt = class extends v {
|
|
|
4266
4279
|
`;
|
|
4267
4280
|
}
|
|
4268
4281
|
};
|
|
4269
|
-
pt.styles =
|
|
4282
|
+
pt.styles = b`
|
|
4270
4283
|
:host([variant]) {
|
|
4271
4284
|
--badge-width: 19px;
|
|
4272
4285
|
display: inline-block;
|
|
@@ -4301,12 +4314,70 @@ pt.styles = y`
|
|
|
4301
4314
|
}
|
|
4302
4315
|
|
|
4303
4316
|
`;
|
|
4304
|
-
|
|
4317
|
+
Zt([
|
|
4305
4318
|
a({ type: String, reflect: !0 })
|
|
4306
4319
|
], pt.prototype, "variant", 2);
|
|
4307
|
-
|
|
4320
|
+
Zt([
|
|
4308
4321
|
a({ type: String })
|
|
4309
4322
|
], pt.prototype, "text", 2);
|
|
4310
|
-
pt =
|
|
4323
|
+
pt = Zt([
|
|
4311
4324
|
w("o-badge")
|
|
4312
4325
|
], pt);
|
|
4326
|
+
var ri = Object.defineProperty, si = Object.getOwnPropertyDescriptor, qt = (o, t, e, n) => {
|
|
4327
|
+
for (var i = n > 1 ? void 0 : n ? si(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
4328
|
+
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
4329
|
+
return n && i && ri(t, e, i), i;
|
|
4330
|
+
};
|
|
4331
|
+
let ut = class extends v {
|
|
4332
|
+
constructor() {
|
|
4333
|
+
super(...arguments), this.icon = "info", this.text = "Sample text";
|
|
4334
|
+
}
|
|
4335
|
+
render() {
|
|
4336
|
+
const t = co[this.icon].replace("<svg", '<svg aria-hidden="true" focusable="false" part="svg"').replace(/<path\b/g, '<path part="icon-path"').replace(/<g\b/g, '<g part="icon-group"').replace(/<circle\b/g, '<circle part="icon-circle"');
|
|
4337
|
+
return l`
|
|
4338
|
+
<div class="o-toast">
|
|
4339
|
+
<div class="o-toast-icon">
|
|
4340
|
+
${P(t)}
|
|
4341
|
+
</div>
|
|
4342
|
+
<div class="o-toast-text">
|
|
4343
|
+
${this.text}
|
|
4344
|
+
</div>
|
|
4345
|
+
<div class="o-toast-close">
|
|
4346
|
+
<o-icon-button
|
|
4347
|
+
size="xsmall"
|
|
4348
|
+
icon="cross"
|
|
4349
|
+
>
|
|
4350
|
+
</o-icon-button>
|
|
4351
|
+
</div>
|
|
4352
|
+
</div>
|
|
4353
|
+
`;
|
|
4354
|
+
}
|
|
4355
|
+
};
|
|
4356
|
+
ut.styles = b`
|
|
4357
|
+
.o-toast {
|
|
4358
|
+
background: #fffefe;
|
|
4359
|
+
padding: var(--spacing-l);
|
|
4360
|
+
border-radius: var(--radius-m);
|
|
4361
|
+
display: flex;
|
|
4362
|
+
width: fit-content;
|
|
4363
|
+
align-items: center;
|
|
4364
|
+
}
|
|
4365
|
+
|
|
4366
|
+
.o-toast-text {
|
|
4367
|
+
color: var(--color-content-body);
|
|
4368
|
+
padding: 0 8px;
|
|
4369
|
+
}
|
|
4370
|
+
|
|
4371
|
+
.o-toast-icon {
|
|
4372
|
+
height: 16px;
|
|
4373
|
+
}
|
|
4374
|
+
`;
|
|
4375
|
+
qt([
|
|
4376
|
+
a({ type: String })
|
|
4377
|
+
], ut.prototype, "icon", 2);
|
|
4378
|
+
qt([
|
|
4379
|
+
a({ type: String })
|
|
4380
|
+
], ut.prototype, "text", 2);
|
|
4381
|
+
ut = qt([
|
|
4382
|
+
w("o-toast")
|
|
4383
|
+
], ut);
|