@florid-kit/components 0.8.6 → 0.8.8
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/chip.d.ts +16 -0
- package/index.js +124 -83
- package/index.mjs +494 -427
- 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
|
|
8
|
-
constructor(t, e,
|
|
9
|
-
if (this._$cssResult$ = !0,
|
|
6
|
+
const at = globalThis, $t = at.ShadowRoot && (at.ShadyCSS === void 0 || at.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, _t = Symbol(), It = /* @__PURE__ */ new WeakMap();
|
|
7
|
+
let Ft = class {
|
|
8
|
+
constructor(t, e, r) {
|
|
9
|
+
if (this._$cssResult$ = !0, r !== _t) 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 (
|
|
16
|
-
const
|
|
17
|
-
|
|
15
|
+
if ($t && t === void 0) {
|
|
16
|
+
const r = e !== void 0 && e.length === 1;
|
|
17
|
+
r && (t = It.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), r && It.set(e, t));
|
|
18
18
|
}
|
|
19
19
|
return t;
|
|
20
20
|
}
|
|
@@ -22,33 +22,33 @@ let jt = class {
|
|
|
22
22
|
return this.cssText;
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
|
-
const
|
|
26
|
-
const e = o.length === 1 ? o[0] : t.reduce((
|
|
27
|
-
if (
|
|
28
|
-
if (typeof
|
|
29
|
-
throw Error("Value passed to 'css' function must be a 'css' function result: " +
|
|
25
|
+
const Xt = (o) => new Ft(typeof o == "string" ? o : o + "", void 0, _t), y = (o, ...t) => {
|
|
26
|
+
const e = o.length === 1 ? o[0] : t.reduce((r, i, s) => r + ((n) => {
|
|
27
|
+
if (n._$cssResult$ === !0) return n.cssText;
|
|
28
|
+
if (typeof n == "number") return n;
|
|
29
|
+
throw Error("Value passed to 'css' function must be a 'css' function result: " + n + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
|
30
30
|
})(i) + o[s + 1], o[0]);
|
|
31
|
-
return new
|
|
32
|
-
},
|
|
33
|
-
if (
|
|
31
|
+
return new Ft(e, o, _t);
|
|
32
|
+
}, Jt = (o, t) => {
|
|
33
|
+
if ($t) o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
34
34
|
else for (const e of t) {
|
|
35
|
-
const
|
|
36
|
-
i !== void 0 &&
|
|
35
|
+
const r = document.createElement("style"), i = at.litNonce;
|
|
36
|
+
i !== void 0 && r.setAttribute("nonce", i), r.textContent = e.cssText, o.appendChild(r);
|
|
37
37
|
}
|
|
38
|
-
},
|
|
38
|
+
}, Ot = $t ? (o) => o : (o) => o instanceof CSSStyleSheet ? ((t) => {
|
|
39
39
|
let e = "";
|
|
40
|
-
for (const
|
|
41
|
-
return
|
|
40
|
+
for (const r of t.cssRules) e += r.cssText;
|
|
41
|
+
return Xt(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: Yt, defineProperty: Qt, getOwnPropertyDescriptor: te, getOwnPropertyNames: ee, getOwnPropertySymbols: oe, getPrototypeOf: ie } = Object, z = globalThis, Pt = z.trustedTypes, re = Pt ? Pt.emptyScript : "", vt = z.reactiveElementPolyfillSupport, J = (o, t) => o, lt = { toAttribute(o, t) {
|
|
49
49
|
switch (t) {
|
|
50
50
|
case Boolean:
|
|
51
|
-
o = o ?
|
|
51
|
+
o = o ? re : null;
|
|
52
52
|
break;
|
|
53
53
|
case Object:
|
|
54
54
|
case Array:
|
|
@@ -73,7 +73,7 @@ const { is: Xt, defineProperty: Jt, getOwnPropertyDescriptor: Yt, getOwnProperty
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
return e;
|
|
76
|
-
} },
|
|
76
|
+
} }, Ct = (o, t) => !Yt(o, t), Bt = { attribute: !0, type: String, converter: lt, reflect: !1, useDefault: !1, hasChanged: Ct };
|
|
77
77
|
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), z.litPropertyMetadata ?? (z.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
78
78
|
let V = class extends HTMLElement {
|
|
79
79
|
static addInitializer(t) {
|
|
@@ -82,45 +82,45 @@ let V = class extends HTMLElement {
|
|
|
82
82
|
static get observedAttributes() {
|
|
83
83
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
84
84
|
}
|
|
85
|
-
static createProperty(t, e =
|
|
85
|
+
static createProperty(t, e = Bt) {
|
|
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
|
-
const
|
|
88
|
-
i !== void 0 &&
|
|
87
|
+
const r = Symbol(), i = this.getPropertyDescriptor(t, r, e);
|
|
88
|
+
i !== void 0 && Qt(this.prototype, t, i);
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
|
-
static getPropertyDescriptor(t, e,
|
|
92
|
-
const { get: i, set: s } =
|
|
91
|
+
static getPropertyDescriptor(t, e, r) {
|
|
92
|
+
const { get: i, set: s } = te(this.prototype, t) ?? { get() {
|
|
93
93
|
return this[e];
|
|
94
|
-
}, set(
|
|
95
|
-
this[e] =
|
|
94
|
+
}, set(n) {
|
|
95
|
+
this[e] = n;
|
|
96
96
|
} };
|
|
97
|
-
return { get: i, set(
|
|
97
|
+
return { get: i, set(n) {
|
|
98
98
|
const h = i == null ? void 0 : i.call(this);
|
|
99
|
-
s == null || s.call(this,
|
|
99
|
+
s == null || s.call(this, n), this.requestUpdate(t, h, r);
|
|
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) ?? Bt;
|
|
104
104
|
}
|
|
105
105
|
static _$Ei() {
|
|
106
|
-
if (this.hasOwnProperty(
|
|
107
|
-
const t =
|
|
106
|
+
if (this.hasOwnProperty(J("elementProperties"))) return;
|
|
107
|
+
const t = ie(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,
|
|
114
|
-
for (const i of
|
|
111
|
+
if (this.hasOwnProperty(J("finalized"))) return;
|
|
112
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(J("properties"))) {
|
|
113
|
+
const e = this.properties, r = [...ee(e), ...oe(e)];
|
|
114
|
+
for (const i of r) this.createProperty(i, e[i]);
|
|
115
115
|
}
|
|
116
116
|
const t = this[Symbol.metadata];
|
|
117
117
|
if (t !== null) {
|
|
118
118
|
const e = litPropertyMetadata.get(t);
|
|
119
|
-
if (e !== void 0) for (const [
|
|
119
|
+
if (e !== void 0) for (const [r, i] of e) this.elementProperties.set(r, i);
|
|
120
120
|
}
|
|
121
121
|
this._$Eh = /* @__PURE__ */ new Map();
|
|
122
|
-
for (const [e,
|
|
123
|
-
const i = this._$Eu(e,
|
|
122
|
+
for (const [e, r] of this.elementProperties) {
|
|
123
|
+
const i = this._$Eu(e, r);
|
|
124
124
|
i !== void 0 && this._$Eh.set(i, e);
|
|
125
125
|
}
|
|
126
126
|
this.elementStyles = this.finalizeStyles(this.styles);
|
|
@@ -128,14 +128,14 @@ let V = class extends HTMLElement {
|
|
|
128
128
|
static finalizeStyles(t) {
|
|
129
129
|
const e = [];
|
|
130
130
|
if (Array.isArray(t)) {
|
|
131
|
-
const
|
|
132
|
-
for (const i of
|
|
133
|
-
} else t !== void 0 && e.push(
|
|
131
|
+
const r = new Set(t.flat(1 / 0).reverse());
|
|
132
|
+
for (const i of r) e.unshift(Ot(i));
|
|
133
|
+
} else t !== void 0 && e.push(Ot(t));
|
|
134
134
|
return e;
|
|
135
135
|
}
|
|
136
136
|
static _$Eu(t, e) {
|
|
137
|
-
const
|
|
138
|
-
return
|
|
137
|
+
const r = e.attribute;
|
|
138
|
+
return r === !1 ? void 0 : typeof r == "string" ? r : typeof t == "string" ? t.toLowerCase() : void 0;
|
|
139
139
|
}
|
|
140
140
|
constructor() {
|
|
141
141
|
super(), this._$Ep = void 0, this.isUpdatePending = !1, this.hasUpdated = !1, this._$Em = null, this._$Ev();
|
|
@@ -154,18 +154,18 @@ let V = class extends HTMLElement {
|
|
|
154
154
|
}
|
|
155
155
|
_$E_() {
|
|
156
156
|
const t = /* @__PURE__ */ new Map(), e = this.constructor.elementProperties;
|
|
157
|
-
for (const
|
|
157
|
+
for (const r of e.keys()) this.hasOwnProperty(r) && (t.set(r, this[r]), delete this[r]);
|
|
158
158
|
t.size > 0 && (this._$Ep = t);
|
|
159
159
|
}
|
|
160
160
|
createRenderRoot() {
|
|
161
161
|
const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
|
162
|
-
return
|
|
162
|
+
return Jt(t, this.constructor.elementStyles), t;
|
|
163
163
|
}
|
|
164
164
|
connectedCallback() {
|
|
165
165
|
var t;
|
|
166
166
|
this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), (t = this._$EO) == null || t.forEach((e) => {
|
|
167
|
-
var
|
|
168
|
-
return (
|
|
167
|
+
var r;
|
|
168
|
+
return (r = e.hostConnected) == null ? void 0 : r.call(e);
|
|
169
169
|
});
|
|
170
170
|
}
|
|
171
171
|
enableUpdating(t) {
|
|
@@ -173,40 +173,40 @@ let V = class extends HTMLElement {
|
|
|
173
173
|
disconnectedCallback() {
|
|
174
174
|
var t;
|
|
175
175
|
(t = this._$EO) == null || t.forEach((e) => {
|
|
176
|
-
var
|
|
177
|
-
return (
|
|
176
|
+
var r;
|
|
177
|
+
return (r = e.hostDisconnected) == null ? void 0 : r.call(e);
|
|
178
178
|
});
|
|
179
179
|
}
|
|
180
|
-
attributeChangedCallback(t, e,
|
|
181
|
-
this._$AK(t,
|
|
180
|
+
attributeChangedCallback(t, e, r) {
|
|
181
|
+
this._$AK(t, r);
|
|
182
182
|
}
|
|
183
183
|
_$ET(t, e) {
|
|
184
184
|
var s;
|
|
185
|
-
const
|
|
186
|
-
if (i !== void 0 &&
|
|
187
|
-
const
|
|
188
|
-
this._$Em = t,
|
|
185
|
+
const r = this.constructor.elementProperties.get(t), i = this.constructor._$Eu(t, r);
|
|
186
|
+
if (i !== void 0 && r.reflect === !0) {
|
|
187
|
+
const n = (((s = r.converter) == null ? void 0 : s.toAttribute) !== void 0 ? r.converter : lt).toAttribute(e, r.type);
|
|
188
|
+
this._$Em = t, n == null ? this.removeAttribute(i) : this.setAttribute(i, n), this._$Em = null;
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
191
|
_$AK(t, e) {
|
|
192
|
-
var s,
|
|
193
|
-
const
|
|
192
|
+
var s, n;
|
|
193
|
+
const r = this.constructor, i = r._$Eh.get(t);
|
|
194
194
|
if (i !== void 0 && this._$Em !== i) {
|
|
195
|
-
const h =
|
|
196
|
-
this._$Em = i, this[i] = c.fromAttribute(e, h.type) ?? ((
|
|
195
|
+
const h = r.getPropertyOptions(i), c = typeof h.converter == "function" ? { fromAttribute: h.converter } : ((s = h.converter) == null ? void 0 : s.fromAttribute) !== void 0 ? h.converter : lt;
|
|
196
|
+
this._$Em = i, this[i] = c.fromAttribute(e, h.type) ?? ((n = this._$Ej) == null ? void 0 : n.get(i)) ?? null, this._$Em = null;
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
|
-
requestUpdate(t, e,
|
|
199
|
+
requestUpdate(t, e, r) {
|
|
200
200
|
var i;
|
|
201
201
|
if (t !== void 0) {
|
|
202
|
-
const s = this.constructor,
|
|
203
|
-
if (
|
|
204
|
-
this.C(t, e,
|
|
202
|
+
const s = this.constructor, n = this[t];
|
|
203
|
+
if (r ?? (r = s.getPropertyOptions(t)), !((r.hasChanged ?? Ct)(n, e) || r.useDefault && r.reflect && n === ((i = this._$Ej) == null ? void 0 : i.get(t)) && !this.hasAttribute(s._$Eu(t, r)))) return;
|
|
204
|
+
this.C(t, e, r);
|
|
205
205
|
}
|
|
206
206
|
this.isUpdatePending === !1 && (this._$ES = this._$EP());
|
|
207
207
|
}
|
|
208
|
-
C(t, e, { useDefault:
|
|
209
|
-
|
|
208
|
+
C(t, e, { useDefault: r, reflect: i, wrapped: s }, n) {
|
|
209
|
+
r && !(this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Map())).has(t) && (this._$Ej.set(t, n ?? e ?? this[t]), s !== !0 || n !== void 0) || (this._$AL.has(t) || (this.hasUpdated || r || (e = void 0), this._$AL.set(t, e)), i === !0 && this._$Em !== t && (this._$Eq ?? (this._$Eq = /* @__PURE__ */ new Set())).add(t));
|
|
210
210
|
}
|
|
211
211
|
async _$EP() {
|
|
212
212
|
this.isUpdatePending = !0;
|
|
@@ -222,23 +222,23 @@ let V = class extends HTMLElement {
|
|
|
222
222
|
return this.performUpdate();
|
|
223
223
|
}
|
|
224
224
|
performUpdate() {
|
|
225
|
-
var
|
|
225
|
+
var r;
|
|
226
226
|
if (!this.isUpdatePending) return;
|
|
227
227
|
if (!this.hasUpdated) {
|
|
228
228
|
if (this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this._$Ep) {
|
|
229
|
-
for (const [s,
|
|
229
|
+
for (const [s, n] of this._$Ep) this[s] = n;
|
|
230
230
|
this._$Ep = void 0;
|
|
231
231
|
}
|
|
232
232
|
const i = this.constructor.elementProperties;
|
|
233
|
-
if (i.size > 0) for (const [s,
|
|
234
|
-
const { wrapped: h } =
|
|
235
|
-
h !== !0 || this._$AL.has(s) || c === void 0 || this.C(s, void 0,
|
|
233
|
+
if (i.size > 0) for (const [s, n] of i) {
|
|
234
|
+
const { wrapped: h } = n, c = this[s];
|
|
235
|
+
h !== !0 || this._$AL.has(s) || c === void 0 || this.C(s, void 0, n, c);
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
238
|
let t = !1;
|
|
239
239
|
const e = this._$AL;
|
|
240
240
|
try {
|
|
241
|
-
t = this.shouldUpdate(e), t ? (this.willUpdate(e), (
|
|
241
|
+
t = this.shouldUpdate(e), t ? (this.willUpdate(e), (r = this._$EO) == null || r.forEach((i) => {
|
|
242
242
|
var s;
|
|
243
243
|
return (s = i.hostUpdate) == null ? void 0 : s.call(i);
|
|
244
244
|
}), this.update(e)) : this._$EM();
|
|
@@ -251,9 +251,9 @@ let V = class extends HTMLElement {
|
|
|
251
251
|
}
|
|
252
252
|
_$AE(t) {
|
|
253
253
|
var e;
|
|
254
|
-
(e = this._$EO) == null || e.forEach((
|
|
254
|
+
(e = this._$EO) == null || e.forEach((r) => {
|
|
255
255
|
var i;
|
|
256
|
-
return (i =
|
|
256
|
+
return (i = r.hostUpdated) == null ? void 0 : i.call(r);
|
|
257
257
|
}), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
|
|
258
258
|
}
|
|
259
259
|
_$EM() {
|
|
@@ -276,56 +276,56 @@ let V = class extends HTMLElement {
|
|
|
276
276
|
firstUpdated(t) {
|
|
277
277
|
}
|
|
278
278
|
};
|
|
279
|
-
V.elementStyles = [], V.shadowRootOptions = { mode: "open" }, V[
|
|
279
|
+
V.elementStyles = [], V.shadowRootOptions = { mode: "open" }, V[J("elementProperties")] = /* @__PURE__ */ new Map(), V[J("finalized")] = /* @__PURE__ */ new Map(), vt == null || vt({ ReactiveElement: V }), (z.reactiveElementVersions ?? (z.reactiveElementVersions = [])).push("2.1.0");
|
|
280
280
|
/**
|
|
281
281
|
* @license
|
|
282
282
|
* Copyright 2017 Google LLC
|
|
283
283
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
284
284
|
*/
|
|
285
|
-
const
|
|
286
|
-
\f\r]`,
|
|
287
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
288
|
-
function
|
|
289
|
-
if (!
|
|
290
|
-
return
|
|
285
|
+
const Y = globalThis, ct = Y.trustedTypes, zt = ct ? ct.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, Nt = "$lit$", B = `lit$${Math.random().toFixed(9).slice(2)}$`, Rt = "?" + B, ne = `<${Rt}>`, F = document, Q = () => F.createComment(""), tt = (o) => o === null || typeof o != "object" && typeof o != "function", kt = Array.isArray, se = (o) => kt(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", gt = `[
|
|
286
|
+
\f\r]`, X = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Dt = /-->/g, Ht = />/g, T = RegExp(`>|${gt}(?:([^\\s"'>=/]+)(${gt}*=${gt}*(?:[^
|
|
287
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Mt = /'/g, Tt = /"/g, Vt = /^(?:script|style|textarea|title)$/i, ae = (o) => (t, ...e) => ({ _$litType$: o, strings: t, values: e }), l = ae(1), D = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), jt = /* @__PURE__ */ new WeakMap(), j = F.createTreeWalker(F, 129);
|
|
288
|
+
function Zt(o, t) {
|
|
289
|
+
if (!kt(o) || !o.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
290
|
+
return zt !== void 0 ? zt.createHTML(t) : t;
|
|
291
291
|
}
|
|
292
|
-
const
|
|
293
|
-
const e = o.length - 1,
|
|
294
|
-
let i, s = t === 2 ? "<svg>" : t === 3 ? "<math>" : "",
|
|
292
|
+
const le = (o, t) => {
|
|
293
|
+
const e = o.length - 1, r = [];
|
|
294
|
+
let i, s = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = X;
|
|
295
295
|
for (let h = 0; h < e; h++) {
|
|
296
296
|
const c = o[h];
|
|
297
297
|
let v, f, p = -1, L = 0;
|
|
298
|
-
for (; L < c.length && (
|
|
299
|
-
const P =
|
|
300
|
-
s +=
|
|
298
|
+
for (; L < c.length && (n.lastIndex = L, f = n.exec(c), f !== null); ) L = n.lastIndex, n === X ? f[1] === "!--" ? n = Dt : f[1] !== void 0 ? n = Ht : f[2] !== void 0 ? (Vt.test(f[2]) && (i = RegExp("</" + f[2], "g")), n = T) : f[3] !== void 0 && (n = T) : n === T ? f[0] === ">" ? (n = i ?? X, p = -1) : f[1] === void 0 ? p = -2 : (p = n.lastIndex - f[2].length, v = f[1], n = f[3] === void 0 ? T : f[3] === '"' ? Tt : Mt) : n === Tt || n === Mt ? n = T : n === Dt || n === Ht ? n = X : (n = T, i = void 0);
|
|
299
|
+
const P = n === T && o[h + 1].startsWith("/>") ? " " : "";
|
|
300
|
+
s += n === X ? c + ne : p >= 0 ? (r.push(v), c.slice(0, p) + Nt + c.slice(p) + B + P) : c + B + (p === -2 ? h : P);
|
|
301
301
|
}
|
|
302
|
-
return [
|
|
302
|
+
return [Zt(o, s + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), r];
|
|
303
303
|
};
|
|
304
|
-
class
|
|
305
|
-
constructor({ strings: t, _$litType$: e },
|
|
304
|
+
class et {
|
|
305
|
+
constructor({ strings: t, _$litType$: e }, r) {
|
|
306
306
|
let i;
|
|
307
307
|
this.parts = [];
|
|
308
|
-
let s = 0,
|
|
309
|
-
const h = t.length - 1, c = this.parts, [v, f] =
|
|
310
|
-
if (this.el =
|
|
308
|
+
let s = 0, n = 0;
|
|
309
|
+
const h = t.length - 1, c = this.parts, [v, f] = le(t, e);
|
|
310
|
+
if (this.el = et.createElement(v, r), j.currentNode = this.el.content, e === 2 || e === 3) {
|
|
311
311
|
const p = this.el.content.firstChild;
|
|
312
312
|
p.replaceWith(...p.childNodes);
|
|
313
313
|
}
|
|
314
314
|
for (; (i = j.nextNode()) !== null && c.length < h; ) {
|
|
315
315
|
if (i.nodeType === 1) {
|
|
316
|
-
if (i.hasAttributes()) for (const p of i.getAttributeNames()) if (p.endsWith(
|
|
317
|
-
const L = f[
|
|
318
|
-
c.push({ type: 1, index: s, name:
|
|
316
|
+
if (i.hasAttributes()) for (const p of i.getAttributeNames()) if (p.endsWith(Nt)) {
|
|
317
|
+
const L = f[n++], P = i.getAttribute(p).split(B), st = /([.?@])?(.*)/.exec(L);
|
|
318
|
+
c.push({ type: 1, index: s, name: st[2], strings: P, ctor: st[1] === "." ? he : st[1] === "?" ? de : st[1] === "@" ? pe : ht }), i.removeAttribute(p);
|
|
319
319
|
} else p.startsWith(B) && (c.push({ type: 6, index: s }), i.removeAttribute(p));
|
|
320
|
-
if (
|
|
320
|
+
if (Vt.test(i.tagName)) {
|
|
321
321
|
const p = i.textContent.split(B), L = p.length - 1;
|
|
322
322
|
if (L > 0) {
|
|
323
|
-
i.textContent =
|
|
324
|
-
for (let P = 0; P < L; P++) i.append(p[P],
|
|
325
|
-
i.append(p[L],
|
|
323
|
+
i.textContent = ct ? ct.emptyScript : "";
|
|
324
|
+
for (let P = 0; P < L; P++) i.append(p[P], Q()), j.nextNode(), c.push({ type: 2, index: ++s });
|
|
325
|
+
i.append(p[L], Q());
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
|
-
} else if (i.nodeType === 8) if (i.data ===
|
|
328
|
+
} else if (i.nodeType === 8) if (i.data === Rt) c.push({ type: 2, index: s });
|
|
329
329
|
else {
|
|
330
330
|
let p = -1;
|
|
331
331
|
for (; (p = i.data.indexOf(B, p + 1)) !== -1; ) c.push({ type: 7, index: s }), p += B.length - 1;
|
|
@@ -334,18 +334,18 @@ class tt {
|
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
336
|
static createElement(t, e) {
|
|
337
|
-
const
|
|
338
|
-
return
|
|
337
|
+
const r = F.createElement("template");
|
|
338
|
+
return r.innerHTML = t, r;
|
|
339
339
|
}
|
|
340
340
|
}
|
|
341
|
-
function Z(o, t, e = o,
|
|
342
|
-
var
|
|
341
|
+
function Z(o, t, e = o, r) {
|
|
342
|
+
var n, h;
|
|
343
343
|
if (t === D) return t;
|
|
344
|
-
let i =
|
|
345
|
-
const s =
|
|
346
|
-
return (i == null ? void 0 : i.constructor) !== s && ((h = i == null ? void 0 : i._$AO) == null || h.call(i, !1), s === void 0 ? i = void 0 : (i = new s(o), i._$AT(o, e,
|
|
344
|
+
let i = r !== void 0 ? (n = e._$Co) == null ? void 0 : n[r] : e._$Cl;
|
|
345
|
+
const s = tt(t) ? void 0 : t._$litDirective$;
|
|
346
|
+
return (i == null ? void 0 : i.constructor) !== s && ((h = i == null ? void 0 : i._$AO) == null || h.call(i, !1), s === void 0 ? i = void 0 : (i = new s(o), i._$AT(o, e, r)), r !== void 0 ? (e._$Co ?? (e._$Co = []))[r] = i : e._$Cl = i), i !== void 0 && (t = Z(o, i._$AS(o, t.values), i, r)), t;
|
|
347
347
|
}
|
|
348
|
-
class
|
|
348
|
+
class ce {
|
|
349
349
|
constructor(t, e) {
|
|
350
350
|
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
|
|
351
351
|
}
|
|
@@ -356,21 +356,21 @@ class ae {
|
|
|
356
356
|
return this._$AM._$AU;
|
|
357
357
|
}
|
|
358
358
|
u(t) {
|
|
359
|
-
const { el: { content: e }, parts:
|
|
359
|
+
const { el: { content: e }, parts: r } = this._$AD, i = ((t == null ? void 0 : t.creationScope) ?? F).importNode(e, !0);
|
|
360
360
|
j.currentNode = i;
|
|
361
|
-
let s = j.nextNode(),
|
|
361
|
+
let s = j.nextNode(), n = 0, h = 0, c = r[0];
|
|
362
362
|
for (; c !== void 0; ) {
|
|
363
|
-
if (
|
|
363
|
+
if (n === c.index) {
|
|
364
364
|
let v;
|
|
365
|
-
c.type === 2 ? v = new nt(s, s.nextSibling, this, t) : c.type === 1 ? v = new c.ctor(s, c.name, c.strings, this, t) : c.type === 6 && (v = new
|
|
365
|
+
c.type === 2 ? v = new nt(s, s.nextSibling, this, t) : c.type === 1 ? v = new c.ctor(s, c.name, c.strings, this, t) : c.type === 6 && (v = new ue(s, this, t)), this._$AV.push(v), c = r[++h];
|
|
366
366
|
}
|
|
367
|
-
|
|
367
|
+
n !== (c == null ? void 0 : c.index) && (s = j.nextNode(), n++);
|
|
368
368
|
}
|
|
369
369
|
return j.currentNode = F, i;
|
|
370
370
|
}
|
|
371
371
|
p(t) {
|
|
372
372
|
let e = 0;
|
|
373
|
-
for (const
|
|
373
|
+
for (const r of this._$AV) r !== void 0 && (r.strings !== void 0 ? (r._$AI(t, r, e), e += r.strings.length - 2) : r._$AI(t[e])), e++;
|
|
374
374
|
}
|
|
375
375
|
}
|
|
376
376
|
class nt {
|
|
@@ -378,8 +378,8 @@ class nt {
|
|
|
378
378
|
var t;
|
|
379
379
|
return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
|
|
380
380
|
}
|
|
381
|
-
constructor(t, e,
|
|
382
|
-
this.type = 2, this._$AH = d, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM =
|
|
381
|
+
constructor(t, e, r, i) {
|
|
382
|
+
this.type = 2, this._$AH = d, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = r, this.options = i, this._$Cv = (i == null ? void 0 : i.isConnected) ?? !0;
|
|
383
383
|
}
|
|
384
384
|
get parentNode() {
|
|
385
385
|
let t = this._$AA.parentNode;
|
|
@@ -393,7 +393,7 @@ class nt {
|
|
|
393
393
|
return this._$AB;
|
|
394
394
|
}
|
|
395
395
|
_$AI(t, e = this) {
|
|
396
|
-
t = Z(this, t, e),
|
|
396
|
+
t = Z(this, t, e), tt(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== D && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : se(t) ? this.k(t) : this._(t);
|
|
397
397
|
}
|
|
398
398
|
O(t) {
|
|
399
399
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -402,31 +402,31 @@ class nt {
|
|
|
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 && tt(this._$AH) ? this._$AA.nextSibling.data = t : this.T(F.createTextNode(t)), this._$AH = t;
|
|
406
406
|
}
|
|
407
407
|
$(t) {
|
|
408
408
|
var s;
|
|
409
|
-
const { values: e, _$litType$:
|
|
409
|
+
const { values: e, _$litType$: r } = t, i = typeof r == "number" ? this._$AC(t) : (r.el === void 0 && (r.el = et.createElement(Zt(r.h, r.h[0]), this.options)), r);
|
|
410
410
|
if (((s = this._$AH) == null ? void 0 : s._$AD) === i) this._$AH.p(e);
|
|
411
411
|
else {
|
|
412
|
-
const
|
|
413
|
-
|
|
412
|
+
const n = new ce(i, this), h = n.u(this.options);
|
|
413
|
+
n.p(e), this.T(h), this._$AH = n;
|
|
414
414
|
}
|
|
415
415
|
}
|
|
416
416
|
_$AC(t) {
|
|
417
|
-
let e =
|
|
418
|
-
return e === void 0 &&
|
|
417
|
+
let e = jt.get(t.strings);
|
|
418
|
+
return e === void 0 && jt.set(t.strings, e = new et(t)), e;
|
|
419
419
|
}
|
|
420
420
|
k(t) {
|
|
421
|
-
|
|
421
|
+
kt(this._$AH) || (this._$AH = [], this._$AR());
|
|
422
422
|
const e = this._$AH;
|
|
423
|
-
let
|
|
424
|
-
for (const s of t) i === e.length ? e.push(
|
|
425
|
-
i < e.length && (this._$AR(
|
|
423
|
+
let r, i = 0;
|
|
424
|
+
for (const s of t) i === e.length ? e.push(r = new nt(this.O(Q()), this.O(Q()), this, this.options)) : r = e[i], r._$AI(s), i++;
|
|
425
|
+
i < e.length && (this._$AR(r && r._$AB.nextSibling, i), e.length = i);
|
|
426
426
|
}
|
|
427
427
|
_$AR(t = this._$AA.nextSibling, e) {
|
|
428
|
-
var
|
|
429
|
-
for ((
|
|
428
|
+
var r;
|
|
429
|
+
for ((r = this._$AP) == null ? void 0 : r.call(this, !1, !0, e); t && t !== this._$AB; ) {
|
|
430
430
|
const i = t.nextSibling;
|
|
431
431
|
t.remove(), t = i;
|
|
432
432
|
}
|
|
@@ -436,32 +436,32 @@ class nt {
|
|
|
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 ht {
|
|
440
440
|
get tagName() {
|
|
441
441
|
return this.element.tagName;
|
|
442
442
|
}
|
|
443
443
|
get _$AU() {
|
|
444
444
|
return this._$AM._$AU;
|
|
445
445
|
}
|
|
446
|
-
constructor(t, e,
|
|
447
|
-
this.type = 1, this._$AH = d, this._$AN = void 0, this.element = t, this.name = e, this._$AM = i, this.options = s,
|
|
446
|
+
constructor(t, e, r, i, s) {
|
|
447
|
+
this.type = 1, this._$AH = d, this._$AN = void 0, this.element = t, this.name = e, this._$AM = i, this.options = s, r.length > 2 || r[0] !== "" || r[1] !== "" ? (this._$AH = Array(r.length - 1).fill(new String()), this.strings = r) : this._$AH = d;
|
|
448
448
|
}
|
|
449
|
-
_$AI(t, e = this,
|
|
449
|
+
_$AI(t, e = this, r, i) {
|
|
450
450
|
const s = this.strings;
|
|
451
|
-
let
|
|
452
|
-
if (s === void 0) t = Z(this, t, e, 0),
|
|
451
|
+
let n = !1;
|
|
452
|
+
if (s === void 0) t = Z(this, t, e, 0), n = !tt(t) || t !== this._$AH && t !== D, n && (this._$AH = t);
|
|
453
453
|
else {
|
|
454
454
|
const h = t;
|
|
455
455
|
let c, v;
|
|
456
|
-
for (t = s[0], c = 0; c < s.length - 1; c++) v = Z(this, h[
|
|
456
|
+
for (t = s[0], c = 0; c < s.length - 1; c++) v = Z(this, h[r + c], e, c), v === D && (v = this._$AH[c]), n || (n = !tt(v) || v !== this._$AH[c]), v === d ? t = d : t !== d && (t += (v ?? "") + s[c + 1]), this._$AH[c] = v;
|
|
457
457
|
}
|
|
458
|
-
|
|
458
|
+
n && !i && this.j(t);
|
|
459
459
|
}
|
|
460
460
|
j(t) {
|
|
461
461
|
t === d ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
|
462
462
|
}
|
|
463
463
|
}
|
|
464
|
-
class
|
|
464
|
+
class he extends ht {
|
|
465
465
|
constructor() {
|
|
466
466
|
super(...arguments), this.type = 3;
|
|
467
467
|
}
|
|
@@ -469,7 +469,7 @@ class le extends ct {
|
|
|
469
469
|
this.element[this.name] = t === d ? void 0 : t;
|
|
470
470
|
}
|
|
471
471
|
}
|
|
472
|
-
class
|
|
472
|
+
class de extends ht {
|
|
473
473
|
constructor() {
|
|
474
474
|
super(...arguments), this.type = 4;
|
|
475
475
|
}
|
|
@@ -477,23 +477,23 @@ class ce extends ct {
|
|
|
477
477
|
this.element.toggleAttribute(this.name, !!t && t !== d);
|
|
478
478
|
}
|
|
479
479
|
}
|
|
480
|
-
class
|
|
481
|
-
constructor(t, e,
|
|
482
|
-
super(t, e,
|
|
480
|
+
class pe extends ht {
|
|
481
|
+
constructor(t, e, r, i, s) {
|
|
482
|
+
super(t, e, r, i, s), this.type = 5;
|
|
483
483
|
}
|
|
484
484
|
_$AI(t, e = this) {
|
|
485
485
|
if ((t = Z(this, t, e, 0) ?? d) === D) return;
|
|
486
|
-
const
|
|
487
|
-
i && this.element.removeEventListener(this.name, this,
|
|
486
|
+
const r = this._$AH, i = t === d && r !== d || t.capture !== r.capture || t.once !== r.once || t.passive !== r.passive, s = t !== d && (r === d || i);
|
|
487
|
+
i && this.element.removeEventListener(this.name, this, r), s && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
|
488
488
|
}
|
|
489
489
|
handleEvent(t) {
|
|
490
490
|
var e;
|
|
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
|
|
495
|
-
constructor(t, e,
|
|
496
|
-
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options =
|
|
494
|
+
class ue {
|
|
495
|
+
constructor(t, e, r) {
|
|
496
|
+
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = r;
|
|
497
497
|
}
|
|
498
498
|
get _$AU() {
|
|
499
499
|
return this._$AM._$AU;
|
|
@@ -502,14 +502,14 @@ class de {
|
|
|
502
502
|
Z(this, t);
|
|
503
503
|
}
|
|
504
504
|
}
|
|
505
|
-
const
|
|
506
|
-
|
|
507
|
-
const
|
|
508
|
-
const
|
|
509
|
-
let i =
|
|
505
|
+
const bt = Y.litHtmlPolyfillSupport;
|
|
506
|
+
bt == null || bt(et, nt), (Y.litHtmlVersions ?? (Y.litHtmlVersions = [])).push("3.3.0");
|
|
507
|
+
const ve = (o, t, e) => {
|
|
508
|
+
const r = (e == null ? void 0 : e.renderBefore) ?? t;
|
|
509
|
+
let i = r._$litPart$;
|
|
510
510
|
if (i === void 0) {
|
|
511
511
|
const s = (e == null ? void 0 : e.renderBefore) ?? null;
|
|
512
|
-
|
|
512
|
+
r._$litPart$ = i = new nt(t.insertBefore(Q(), s), s, void 0, e ?? {});
|
|
513
513
|
}
|
|
514
514
|
return i._$AI(o), i;
|
|
515
515
|
};
|
|
@@ -519,7 +519,7 @@ const pe = (o, t, e) => {
|
|
|
519
519
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
520
520
|
*/
|
|
521
521
|
const U = globalThis;
|
|
522
|
-
let
|
|
522
|
+
let g = class extends V {
|
|
523
523
|
constructor() {
|
|
524
524
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
525
525
|
}
|
|
@@ -530,7 +530,7 @@ let b = class extends V {
|
|
|
530
530
|
}
|
|
531
531
|
update(t) {
|
|
532
532
|
const e = this.render();
|
|
533
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do =
|
|
533
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = ve(e, this.renderRoot, this.renderOptions);
|
|
534
534
|
}
|
|
535
535
|
connectedCallback() {
|
|
536
536
|
var t;
|
|
@@ -544,10 +544,10 @@ let b = class extends V {
|
|
|
544
544
|
return D;
|
|
545
545
|
}
|
|
546
546
|
};
|
|
547
|
-
var
|
|
548
|
-
|
|
549
|
-
const
|
|
550
|
-
|
|
547
|
+
var Ut;
|
|
548
|
+
g._$litElement$ = !0, g.finalized = !0, (Ut = U.litElementHydrateSupport) == null || Ut.call(U, { LitElement: g });
|
|
549
|
+
const ft = U.litElementPolyfillSupport;
|
|
550
|
+
ft == null || ft({ LitElement: g });
|
|
551
551
|
(U.litElementVersions ?? (U.litElementVersions = [])).push("4.2.0");
|
|
552
552
|
/**
|
|
553
553
|
* @license
|
|
@@ -564,31 +564,31 @@ const x = (o) => (t, e) => {
|
|
|
564
564
|
* Copyright 2017 Google LLC
|
|
565
565
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
566
566
|
*/
|
|
567
|
-
const
|
|
568
|
-
const { kind:
|
|
567
|
+
const ge = { attribute: !0, type: String, converter: lt, reflect: !1, hasChanged: Ct }, be = (o = ge, t, e) => {
|
|
568
|
+
const { kind: r, metadata: i } = e;
|
|
569
569
|
let s = globalThis.litPropertyMetadata.get(i);
|
|
570
|
-
if (s === void 0 && globalThis.litPropertyMetadata.set(i, s = /* @__PURE__ */ new Map()),
|
|
571
|
-
const { name:
|
|
570
|
+
if (s === void 0 && globalThis.litPropertyMetadata.set(i, s = /* @__PURE__ */ new Map()), r === "setter" && ((o = Object.create(o)).wrapped = !0), s.set(e.name, o), r === "accessor") {
|
|
571
|
+
const { name: n } = e;
|
|
572
572
|
return { set(h) {
|
|
573
573
|
const c = t.get.call(this);
|
|
574
|
-
t.set.call(this, h), this.requestUpdate(
|
|
574
|
+
t.set.call(this, h), this.requestUpdate(n, c, o);
|
|
575
575
|
}, init(h) {
|
|
576
|
-
return h !== void 0 && this.C(
|
|
576
|
+
return h !== void 0 && this.C(n, void 0, o, h), h;
|
|
577
577
|
} };
|
|
578
578
|
}
|
|
579
|
-
if (
|
|
580
|
-
const { name:
|
|
579
|
+
if (r === "setter") {
|
|
580
|
+
const { name: n } = e;
|
|
581
581
|
return function(h) {
|
|
582
|
-
const c = this[
|
|
583
|
-
t.call(this, h), this.requestUpdate(
|
|
582
|
+
const c = this[n];
|
|
583
|
+
t.call(this, h), this.requestUpdate(n, c, o);
|
|
584
584
|
};
|
|
585
585
|
}
|
|
586
|
-
throw Error("Unsupported decorator location: " +
|
|
586
|
+
throw Error("Unsupported decorator location: " + r);
|
|
587
587
|
};
|
|
588
588
|
function a(o) {
|
|
589
|
-
return (t, e) => typeof e == "object" ?
|
|
590
|
-
const
|
|
591
|
-
return i.constructor.createProperty(s,
|
|
589
|
+
return (t, e) => typeof e == "object" ? be(o, t, e) : ((r, i, s) => {
|
|
590
|
+
const n = i.hasOwnProperty(s);
|
|
591
|
+
return i.constructor.createProperty(s, r), n ? Object.getOwnPropertyDescriptor(i, s) : void 0;
|
|
592
592
|
})(o, t, e);
|
|
593
593
|
}
|
|
594
594
|
/**
|
|
@@ -599,12 +599,12 @@ function a(o) {
|
|
|
599
599
|
function N(o) {
|
|
600
600
|
return a({ ...o, state: !0, attribute: !1 });
|
|
601
601
|
}
|
|
602
|
-
const
|
|
602
|
+
const fe = y`
|
|
603
603
|
outline: 1px dashed var(--button-border-color);
|
|
604
604
|
outline-offset: 2px;
|
|
605
605
|
outline: dashed black;
|
|
606
606
|
`;
|
|
607
|
-
|
|
607
|
+
y`
|
|
608
608
|
:host * {
|
|
609
609
|
box-sizing: border-box;
|
|
610
610
|
}
|
|
@@ -614,12 +614,12 @@ m`
|
|
|
614
614
|
* Copyright 2023 Google LLC
|
|
615
615
|
* SPDX-License-Identifier: Apache-2.0
|
|
616
616
|
*/
|
|
617
|
-
const
|
|
618
|
-
function
|
|
617
|
+
const At = Symbol("internals"), yt = Symbol("privateInternals");
|
|
618
|
+
function ye(o) {
|
|
619
619
|
var t;
|
|
620
620
|
class e extends o {
|
|
621
|
-
get [(t =
|
|
622
|
-
return this[
|
|
621
|
+
get [(t = At, t)]() {
|
|
622
|
+
return this[yt] || (this[yt] = this.attachInternals()), this[yt];
|
|
623
623
|
}
|
|
624
624
|
}
|
|
625
625
|
return e;
|
|
@@ -629,19 +629,19 @@ function be(o) {
|
|
|
629
629
|
* Copyright 2023 Google LLC
|
|
630
630
|
* SPDX-License-Identifier: Apache-2.0
|
|
631
631
|
*/
|
|
632
|
-
function
|
|
632
|
+
function me(o) {
|
|
633
633
|
o.addInitializer((t) => {
|
|
634
634
|
const e = t;
|
|
635
|
-
e.addEventListener("click", async (
|
|
636
|
-
const { type: i, [
|
|
637
|
-
if (!(!
|
|
635
|
+
e.addEventListener("click", async (r) => {
|
|
636
|
+
const { type: i, [At]: s } = e, { form: n } = s;
|
|
637
|
+
if (!(!n || i === "button") && (await new Promise((h) => {
|
|
638
638
|
setTimeout(h);
|
|
639
|
-
}), !
|
|
639
|
+
}), !r.defaultPrevented)) {
|
|
640
640
|
if (i === "reset") {
|
|
641
|
-
|
|
641
|
+
n.reset();
|
|
642
642
|
return;
|
|
643
643
|
}
|
|
644
|
-
|
|
644
|
+
n.addEventListener(
|
|
645
645
|
"submit",
|
|
646
646
|
(h) => {
|
|
647
647
|
Object.defineProperty(h, "submitter", {
|
|
@@ -651,46 +651,46 @@ function fe(o) {
|
|
|
651
651
|
});
|
|
652
652
|
},
|
|
653
653
|
{ capture: !0, once: !0 }
|
|
654
|
-
), s.setFormValue(e.value),
|
|
654
|
+
), s.setFormValue(e.value), n.requestSubmit();
|
|
655
655
|
}
|
|
656
656
|
});
|
|
657
657
|
});
|
|
658
658
|
}
|
|
659
|
-
const
|
|
659
|
+
const we = `<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
|
+
`, xe = `<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
|
+
`, $e = `<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
|
+
`, _e = `<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
|
+
`, Ce = `<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
|
+
`, ke = `<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
|
+
`, Ae = `<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
|
+
`, Se = `<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
|
+
`, Ee = `<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
|
+
`, Le = `<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
|
+
`, Ie = `<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
|
+
`, Oe = `<?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 ye = `<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
|
+
`, Pe = `<?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,72 +709,72 @@ const ye = `<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
|
+
`, Be = `<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
|
+
`, De = `<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
|
+
`, He = `<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
|
+
`, Me = `<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
|
+
`, Te = `<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
|
+
`, je = `<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
|
+
`, Ue = `<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
|
+
`, Fe = `<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
|
-
`,
|
|
741
|
-
wishlist:
|
|
742
|
-
playerv:
|
|
743
|
-
chevronRight:
|
|
744
|
-
chevronLeft:
|
|
745
|
-
icoPlus:
|
|
746
|
-
icoMinus:
|
|
747
|
-
"star-0":
|
|
748
|
-
"star-25":
|
|
749
|
-
"star-50":
|
|
750
|
-
"star-75":
|
|
751
|
-
"star-100":
|
|
752
|
-
cross:
|
|
753
|
-
search:
|
|
754
|
-
arrowLeft:
|
|
755
|
-
arrowTop:
|
|
756
|
-
cart:
|
|
757
|
-
notifyme:
|
|
758
|
-
triangledown:
|
|
759
|
-
triangleup:
|
|
760
|
-
checkstroke:
|
|
761
|
-
pause:
|
|
762
|
-
mapDualArrow:
|
|
740
|
+
`, G = {
|
|
741
|
+
wishlist: we,
|
|
742
|
+
playerv: xe,
|
|
743
|
+
chevronRight: $e,
|
|
744
|
+
chevronLeft: _e,
|
|
745
|
+
icoPlus: Oe,
|
|
746
|
+
icoMinus: Pe,
|
|
747
|
+
"star-0": Ce,
|
|
748
|
+
"star-25": ke,
|
|
749
|
+
"star-50": Ae,
|
|
750
|
+
"star-75": Se,
|
|
751
|
+
"star-100": Ee,
|
|
752
|
+
cross: Le,
|
|
753
|
+
search: Ie,
|
|
754
|
+
arrowLeft: Be,
|
|
755
|
+
arrowTop: ze,
|
|
756
|
+
cart: De,
|
|
757
|
+
notifyme: He,
|
|
758
|
+
triangledown: Me,
|
|
759
|
+
triangleup: Te,
|
|
760
|
+
checkstroke: je,
|
|
761
|
+
pause: Ue,
|
|
762
|
+
mapDualArrow: Fe
|
|
763
763
|
};
|
|
764
764
|
/**
|
|
765
765
|
* @license
|
|
766
766
|
* Copyright 2017 Google LLC
|
|
767
767
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
768
768
|
*/
|
|
769
|
-
const
|
|
770
|
-
let
|
|
769
|
+
const qt = { ATTRIBUTE: 1, CHILD: 2 }, Wt = (o) => (...t) => ({ _$litDirective$: o, values: t });
|
|
770
|
+
let Kt = class {
|
|
771
771
|
constructor(t) {
|
|
772
772
|
}
|
|
773
773
|
get _$AU() {
|
|
774
774
|
return this._$AM._$AU;
|
|
775
775
|
}
|
|
776
|
-
_$AT(t, e,
|
|
777
|
-
this._$Ct = t, this._$AM = e, this._$Ci =
|
|
776
|
+
_$AT(t, e, r) {
|
|
777
|
+
this._$Ct = t, this._$AM = e, this._$Ci = r;
|
|
778
778
|
}
|
|
779
779
|
_$AS(t, e) {
|
|
780
780
|
return this.update(t, e);
|
|
@@ -788,9 +788,9 @@ let qt = class {
|
|
|
788
788
|
* Copyright 2017 Google LLC
|
|
789
789
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
790
790
|
*/
|
|
791
|
-
class
|
|
791
|
+
class mt extends Kt {
|
|
792
792
|
constructor(t) {
|
|
793
|
-
if (super(t), this.it = d, t.type !==
|
|
793
|
+
if (super(t), this.it = d, t.type !== qt.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
|
|
794
794
|
}
|
|
795
795
|
render(t) {
|
|
796
796
|
if (t === d || t == null) return this._t = void 0, this.it = t;
|
|
@@ -802,23 +802,23 @@ class ft extends qt {
|
|
|
802
802
|
return e.raw = e, this._t = { _$litType$: this.constructor.resultType, strings: e, values: [] };
|
|
803
803
|
}
|
|
804
804
|
}
|
|
805
|
-
|
|
805
|
+
mt.directiveName = "unsafeHTML", mt.resultType = 1;
|
|
806
806
|
/**
|
|
807
807
|
* @license
|
|
808
808
|
* Copyright 2017 Google LLC
|
|
809
809
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
810
810
|
*/
|
|
811
|
-
class
|
|
811
|
+
class wt extends mt {
|
|
812
812
|
}
|
|
813
|
-
|
|
814
|
-
const H =
|
|
815
|
-
var
|
|
816
|
-
for (var i =
|
|
817
|
-
(
|
|
818
|
-
return
|
|
813
|
+
wt.directiveName = "unsafeSVG", wt.resultType = 2;
|
|
814
|
+
const H = Wt(wt);
|
|
815
|
+
var Ne = Object.defineProperty, Re = Object.getOwnPropertyDescriptor, w = (o, t, e, r) => {
|
|
816
|
+
for (var i = r > 1 ? void 0 : r ? Re(t, e) : t, s = o.length - 1, n; s >= 0; s--)
|
|
817
|
+
(n = o[s]) && (i = (r ? n(t, e, i) : n(i)) || i);
|
|
818
|
+
return r && i && Ne(t, e, i), i;
|
|
819
819
|
};
|
|
820
|
-
const
|
|
821
|
-
let u = class extends
|
|
820
|
+
const Ve = ye(g);
|
|
821
|
+
let u = class extends Ve {
|
|
822
822
|
constructor() {
|
|
823
823
|
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 = "";
|
|
824
824
|
}
|
|
@@ -829,7 +829,7 @@ let u = class extends Ne {
|
|
|
829
829
|
this.setAttribute("name", o);
|
|
830
830
|
}
|
|
831
831
|
get form() {
|
|
832
|
-
return this[
|
|
832
|
+
return this[At].form;
|
|
833
833
|
}
|
|
834
834
|
handleClick() {
|
|
835
835
|
if (this.panelTarget) {
|
|
@@ -843,7 +843,7 @@ let u = class extends Ne {
|
|
|
843
843
|
renderIcon(o) {
|
|
844
844
|
const t = o === "start" ? this.startIconModel : this.endIconModel;
|
|
845
845
|
if (!t) return d;
|
|
846
|
-
const e =
|
|
846
|
+
const e = G[t].replace(
|
|
847
847
|
"<svg",
|
|
848
848
|
'<svg aria-hidden="true" focusable="false" part="svg"'
|
|
849
849
|
);
|
|
@@ -881,9 +881,9 @@ let u = class extends Ne {
|
|
|
881
881
|
`;
|
|
882
882
|
}
|
|
883
883
|
};
|
|
884
|
-
|
|
884
|
+
me(u);
|
|
885
885
|
u.formAssociated = !0;
|
|
886
|
-
u.styles =
|
|
886
|
+
u.styles = y`
|
|
887
887
|
:host {
|
|
888
888
|
--button-border: transparent;
|
|
889
889
|
cursor: pointer;
|
|
@@ -995,7 +995,7 @@ u.styles = m`
|
|
|
995
995
|
}
|
|
996
996
|
|
|
997
997
|
.button:focus-visible {
|
|
998
|
-
${
|
|
998
|
+
${fe};
|
|
999
999
|
}
|
|
1000
1000
|
|
|
1001
1001
|
span.text + span.text::before {
|
|
@@ -1091,12 +1091,12 @@ w([
|
|
|
1091
1091
|
u = w([
|
|
1092
1092
|
x("o-button")
|
|
1093
1093
|
], u);
|
|
1094
|
-
var
|
|
1095
|
-
for (var i =
|
|
1096
|
-
(
|
|
1097
|
-
return
|
|
1094
|
+
var Ze = Object.defineProperty, qe = Object.getOwnPropertyDescriptor, dt = (o, t, e, r) => {
|
|
1095
|
+
for (var i = r > 1 ? void 0 : r ? qe(t, e) : t, s = o.length - 1, n; s >= 0; s--)
|
|
1096
|
+
(n = o[s]) && (i = (r ? n(t, e, i) : n(i)) || i);
|
|
1097
|
+
return r && i && Ze(t, e, i), i;
|
|
1098
1098
|
};
|
|
1099
|
-
let q = class extends
|
|
1099
|
+
let q = class extends g {
|
|
1100
1100
|
constructor() {
|
|
1101
1101
|
super(...arguments), this.status = "empty", this.ariaDescribedBy = "a-product-name", this.label = "Add to wishlist", this.toggleStatus = () => {
|
|
1102
1102
|
this.status = this.status === "empty" ? "filled" : "empty", this.setAttribute("aria-pressed", String(this.status === "filled")), this.dispatchEvent(new CustomEvent("wishlist-toggle", {
|
|
@@ -1116,7 +1116,7 @@ let q = class extends b {
|
|
|
1116
1116
|
(o.key === "Enter" || o.key === " ") && (o.preventDefault(), this.toggleStatus());
|
|
1117
1117
|
}
|
|
1118
1118
|
render() {
|
|
1119
|
-
const o =
|
|
1119
|
+
const o = G.wishlist.replace(
|
|
1120
1120
|
"<svg",
|
|
1121
1121
|
'<svg aria-hidden="true" focusable="false" part="svg"'
|
|
1122
1122
|
);
|
|
@@ -1137,7 +1137,7 @@ let q = class extends b {
|
|
|
1137
1137
|
this.label = o, this.requestUpdate();
|
|
1138
1138
|
}
|
|
1139
1139
|
};
|
|
1140
|
-
q.styles =
|
|
1140
|
+
q.styles = y`
|
|
1141
1141
|
:host {
|
|
1142
1142
|
display: inline-flex;
|
|
1143
1143
|
justify-content: center;
|
|
@@ -1183,10 +1183,9 @@ q.styles = m`
|
|
|
1183
1183
|
fill: var(--color-alpha-light-strong);
|
|
1184
1184
|
}
|
|
1185
1185
|
|
|
1186
|
-
:host([status="empty"]) .wishlist-button:hover svg path {
|
|
1187
|
-
|
|
1188
|
-
}
|
|
1189
|
-
|
|
1186
|
+
:host([status="empty"]) .wishlist-button:hover svg path {
|
|
1187
|
+
fill: var(--color-content-action-secondary);
|
|
1188
|
+
}
|
|
1190
1189
|
|
|
1191
1190
|
.sr-only {
|
|
1192
1191
|
border: 0 !important;
|
|
@@ -1202,16 +1201,16 @@ q.styles = m`
|
|
|
1202
1201
|
white-space: nowrap !important;
|
|
1203
1202
|
}
|
|
1204
1203
|
`;
|
|
1205
|
-
|
|
1204
|
+
dt([
|
|
1206
1205
|
a({ type: String, reflect: !0 })
|
|
1207
1206
|
], q.prototype, "status", 2);
|
|
1208
|
-
|
|
1207
|
+
dt([
|
|
1209
1208
|
a({ type: String, reflect: !0 })
|
|
1210
1209
|
], q.prototype, "ariaDescribedBy", 2);
|
|
1211
|
-
|
|
1210
|
+
dt([
|
|
1212
1211
|
a({ type: String, reflect: !0 })
|
|
1213
1212
|
], q.prototype, "label", 2);
|
|
1214
|
-
q =
|
|
1213
|
+
q = dt([
|
|
1215
1214
|
x("o-wishlist-button")
|
|
1216
1215
|
], q);
|
|
1217
1216
|
/**
|
|
@@ -1220,12 +1219,12 @@ q = ht([
|
|
|
1220
1219
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1221
1220
|
*/
|
|
1222
1221
|
const $ = (o) => o ?? d;
|
|
1223
|
-
var
|
|
1224
|
-
for (var i =
|
|
1225
|
-
(
|
|
1226
|
-
return
|
|
1222
|
+
var We = Object.defineProperty, Ke = Object.getOwnPropertyDescriptor, S = (o, t, e, r) => {
|
|
1223
|
+
for (var i = r > 1 ? void 0 : r ? Ke(t, e) : t, s = o.length - 1, n; s >= 0; s--)
|
|
1224
|
+
(n = o[s]) && (i = (r ? n(t, e, i) : n(i)) || i);
|
|
1225
|
+
return r && i && We(t, e, i), i;
|
|
1227
1226
|
};
|
|
1228
|
-
let _ = class extends
|
|
1227
|
+
let _ = class extends g {
|
|
1229
1228
|
constructor() {
|
|
1230
1229
|
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 = "";
|
|
1231
1230
|
}
|
|
@@ -1233,10 +1232,10 @@ let _ = class extends b {
|
|
|
1233
1232
|
super.updated(o), this.style.setProperty("--icon-stroke-width", this.strokewidth);
|
|
1234
1233
|
}
|
|
1235
1234
|
render() {
|
|
1236
|
-
const o =
|
|
1235
|
+
const o = G[this.icon] ?? "", t = `icon-${this.icon}`, e = o.replace(
|
|
1237
1236
|
"<svg",
|
|
1238
1237
|
'<svg aria-hidden="true" focusable="false" part="svg"'
|
|
1239
|
-
),
|
|
1238
|
+
), r = this.showSrLabel ? l`<span class="sr-only">${this.srLabel}</span>` : null, i = this.showSrLabel ? null : "icon";
|
|
1240
1239
|
return l`
|
|
1241
1240
|
${this.type === "span" ? l`
|
|
1242
1241
|
<span class="icon icon-button ${this.size} ${this.bgstyle} ${this.status} ${t}" ?disabled="${this.disabled}">
|
|
@@ -1250,13 +1249,13 @@ let _ = class extends b {
|
|
|
1250
1249
|
?disabled="${this.disabled}"
|
|
1251
1250
|
>
|
|
1252
1251
|
${H(e)}
|
|
1253
|
-
${
|
|
1252
|
+
${r}
|
|
1254
1253
|
</button>
|
|
1255
1254
|
`}
|
|
1256
1255
|
`;
|
|
1257
1256
|
}
|
|
1258
1257
|
};
|
|
1259
|
-
_.styles =
|
|
1258
|
+
_.styles = y`
|
|
1260
1259
|
:host {
|
|
1261
1260
|
display: inline-flex;
|
|
1262
1261
|
justify-content: center;
|
|
@@ -1274,7 +1273,7 @@ _.styles = m`
|
|
|
1274
1273
|
cursor: pointer;
|
|
1275
1274
|
position: relative;
|
|
1276
1275
|
|
|
1277
|
-
|
|
1276
|
+
&.icon-wishlist {
|
|
1278
1277
|
svg {
|
|
1279
1278
|
path {
|
|
1280
1279
|
stroke: var(--color-content-action-secondary);
|
|
@@ -1493,12 +1492,12 @@ S([
|
|
|
1493
1492
|
_ = S([
|
|
1494
1493
|
x("o-icon-button")
|
|
1495
1494
|
], _);
|
|
1496
|
-
var
|
|
1497
|
-
for (var i =
|
|
1498
|
-
(
|
|
1499
|
-
return
|
|
1495
|
+
var Ge = Object.defineProperty, Xe = Object.getOwnPropertyDescriptor, R = (o, t, e, r) => {
|
|
1496
|
+
for (var i = r > 1 ? void 0 : r ? Xe(t, e) : t, s = o.length - 1, n; s >= 0; s--)
|
|
1497
|
+
(n = o[s]) && (i = (r ? n(t, e, i) : n(i)) || i);
|
|
1498
|
+
return r && i && Ge(t, e, i), i;
|
|
1500
1499
|
};
|
|
1501
|
-
let I = class extends
|
|
1500
|
+
let I = class extends g {
|
|
1502
1501
|
constructor() {
|
|
1503
1502
|
super(...arguments), this.href = "", this.target = "", this.template = "standard", this.inverse = !1, this.endIcon = !1, this.reverseEndIcon = !1;
|
|
1504
1503
|
}
|
|
@@ -1536,7 +1535,7 @@ let I = class extends b {
|
|
|
1536
1535
|
`;
|
|
1537
1536
|
}
|
|
1538
1537
|
};
|
|
1539
|
-
I.styles =
|
|
1538
|
+
I.styles = y`
|
|
1540
1539
|
:host([template="standard"]) a {
|
|
1541
1540
|
color: var(--color-content-action-secondary);
|
|
1542
1541
|
font-size: var(--font-size-200);
|
|
@@ -1645,12 +1644,12 @@ R([
|
|
|
1645
1644
|
I = R([
|
|
1646
1645
|
x("o-link")
|
|
1647
1646
|
], I);
|
|
1648
|
-
var
|
|
1649
|
-
for (var i =
|
|
1650
|
-
(
|
|
1651
|
-
return
|
|
1647
|
+
var Je = Object.defineProperty, Ye = Object.getOwnPropertyDescriptor, pt = (o, t, e, r) => {
|
|
1648
|
+
for (var i = r > 1 ? void 0 : r ? Ye(t, e) : t, s = o.length - 1, n; s >= 0; s--)
|
|
1649
|
+
(n = o[s]) && (i = (r ? n(t, e, i) : n(i)) || i);
|
|
1650
|
+
return r && i && Je(t, e, i), i;
|
|
1652
1651
|
};
|
|
1653
|
-
let W = class extends
|
|
1652
|
+
let W = class extends g {
|
|
1654
1653
|
constructor() {
|
|
1655
1654
|
super(...arguments), this.rating = 0;
|
|
1656
1655
|
}
|
|
@@ -1658,8 +1657,8 @@ let W = class extends b {
|
|
|
1658
1657
|
const o = [];
|
|
1659
1658
|
for (let t = 0; t < 5; t++) {
|
|
1660
1659
|
const e = this.rating - t;
|
|
1661
|
-
let
|
|
1662
|
-
e >= 1 ?
|
|
1660
|
+
let r;
|
|
1661
|
+
e >= 1 ? r = 100 : e <= 0 ? r = 0 : r = Math.round(e * 100 / 25) * 25, o.push(`star-${r}`);
|
|
1663
1662
|
}
|
|
1664
1663
|
return o;
|
|
1665
1664
|
}
|
|
@@ -1669,7 +1668,7 @@ let W = class extends b {
|
|
|
1669
1668
|
<div class="rating">
|
|
1670
1669
|
<div class="stars">
|
|
1671
1670
|
${o.map(
|
|
1672
|
-
(t) => l`<span class="star">${H(
|
|
1671
|
+
(t) => l`<span class="star">${H(G[t] ?? "")}</span>`
|
|
1673
1672
|
)}
|
|
1674
1673
|
</div>
|
|
1675
1674
|
${this.reviewCount != null && this.href != null ? l`<o-link template="review" href="${this.href}">${this.reviewCount}</o-link>` : null}
|
|
@@ -1677,7 +1676,7 @@ let W = class extends b {
|
|
|
1677
1676
|
`;
|
|
1678
1677
|
}
|
|
1679
1678
|
};
|
|
1680
|
-
W.styles =
|
|
1679
|
+
W.styles = y`
|
|
1681
1680
|
svg {
|
|
1682
1681
|
width: 12px;
|
|
1683
1682
|
height: 12px;
|
|
@@ -1711,24 +1710,24 @@ W.styles = m`
|
|
|
1711
1710
|
cursor: pointer;
|
|
1712
1711
|
}
|
|
1713
1712
|
`;
|
|
1714
|
-
|
|
1713
|
+
pt([
|
|
1715
1714
|
a({ type: Number })
|
|
1716
1715
|
], W.prototype, "rating", 2);
|
|
1717
|
-
|
|
1716
|
+
pt([
|
|
1718
1717
|
a({ type: String })
|
|
1719
1718
|
], W.prototype, "reviewCount", 2);
|
|
1720
|
-
|
|
1719
|
+
pt([
|
|
1721
1720
|
a({ type: String })
|
|
1722
1721
|
], W.prototype, "href", 2);
|
|
1723
|
-
W =
|
|
1722
|
+
W = pt([
|
|
1724
1723
|
x("o-rating")
|
|
1725
1724
|
], W);
|
|
1726
|
-
var
|
|
1727
|
-
for (var i =
|
|
1728
|
-
(
|
|
1729
|
-
return
|
|
1725
|
+
var Qe = Object.defineProperty, to = Object.getOwnPropertyDescriptor, m = (o, t, e, r) => {
|
|
1726
|
+
for (var i = r > 1 ? void 0 : r ? to(t, e) : t, s = o.length - 1, n; s >= 0; s--)
|
|
1727
|
+
(n = o[s]) && (i = (r ? n(t, e, i) : n(i)) || i);
|
|
1728
|
+
return r && i && Qe(t, e, i), i;
|
|
1730
1729
|
};
|
|
1731
|
-
let
|
|
1730
|
+
let b = class extends g {
|
|
1732
1731
|
constructor() {
|
|
1733
1732
|
super(...arguments), this.open = !1, this.showHeader = !0, this.showFooter = !1, this.showHeaderStartIcon = !1, this.headerTitle = "", this.closeButtonLabel = "Close the modal", this.firstButtonLabel = "Close", this.firstButtonVariant = "primary", this.secondaryButtonLabel = "", this.secondaryButtonVariant = "secondary", this.disablePortal = !1, this.zIndex = 99, this.initialized = !1, this.previousFocusedElement = null, this.handleKeyDown = (o) => {
|
|
1734
1733
|
this.open && (o.key === "Escape" ? this.closePanel() : o.key === "Tab" && this.trapFocus(o));
|
|
@@ -1745,8 +1744,8 @@ let g = class extends b {
|
|
|
1745
1744
|
trapFocus(o) {
|
|
1746
1745
|
const t = this.getFocusableElements();
|
|
1747
1746
|
if (t.length === 0) return;
|
|
1748
|
-
const e = t[0],
|
|
1749
|
-
o.shiftKey && document.activeElement === e ? (o.preventDefault(),
|
|
1747
|
+
const e = t[0], r = t[t.length - 1];
|
|
1748
|
+
o.shiftKey && document.activeElement === e ? (o.preventDefault(), r.focus()) : !o.shiftKey && document.activeElement === r && (o.preventDefault(), e.focus());
|
|
1750
1749
|
}
|
|
1751
1750
|
getFocusableElements() {
|
|
1752
1751
|
const o = this.renderRoot.querySelector(".panel");
|
|
@@ -1827,7 +1826,7 @@ let g = class extends b {
|
|
|
1827
1826
|
`;
|
|
1828
1827
|
}
|
|
1829
1828
|
};
|
|
1830
|
-
|
|
1829
|
+
b.styles = y`
|
|
1831
1830
|
:host {
|
|
1832
1831
|
--z-overlay: 99;
|
|
1833
1832
|
--z-panel: 100;
|
|
@@ -1968,60 +1967,60 @@ g.styles = m`
|
|
|
1968
1967
|
}
|
|
1969
1968
|
}
|
|
1970
1969
|
`;
|
|
1971
|
-
|
|
1970
|
+
m([
|
|
1972
1971
|
a({ type: Boolean, reflect: !0 })
|
|
1973
|
-
],
|
|
1974
|
-
|
|
1972
|
+
], b.prototype, "open", 2);
|
|
1973
|
+
m([
|
|
1975
1974
|
a({ type: Boolean, reflect: !0 })
|
|
1976
|
-
],
|
|
1977
|
-
|
|
1975
|
+
], b.prototype, "showHeader", 2);
|
|
1976
|
+
m([
|
|
1978
1977
|
a({ type: Boolean, reflect: !0 })
|
|
1979
|
-
],
|
|
1980
|
-
|
|
1978
|
+
], b.prototype, "showFooter", 2);
|
|
1979
|
+
m([
|
|
1981
1980
|
a({ type: Boolean, reflect: !0 })
|
|
1982
|
-
],
|
|
1983
|
-
|
|
1981
|
+
], b.prototype, "showHeaderStartIcon", 2);
|
|
1982
|
+
m([
|
|
1984
1983
|
a({ type: String, reflect: !0 })
|
|
1985
|
-
],
|
|
1986
|
-
|
|
1984
|
+
], b.prototype, "headerTitle", 2);
|
|
1985
|
+
m([
|
|
1987
1986
|
a({ type: String, reflect: !0 })
|
|
1988
|
-
],
|
|
1989
|
-
|
|
1987
|
+
], b.prototype, "closeButtonLabel", 2);
|
|
1988
|
+
m([
|
|
1990
1989
|
a({ type: String, reflect: !0 })
|
|
1991
|
-
],
|
|
1992
|
-
|
|
1990
|
+
], b.prototype, "firstButtonLabel", 2);
|
|
1991
|
+
m([
|
|
1993
1992
|
a({ type: String, reflect: !0 })
|
|
1994
|
-
],
|
|
1995
|
-
|
|
1993
|
+
], b.prototype, "firstButtonVariant", 2);
|
|
1994
|
+
m([
|
|
1996
1995
|
a({ type: Function })
|
|
1997
|
-
],
|
|
1998
|
-
|
|
1996
|
+
], b.prototype, "onFirstButtonClick", 2);
|
|
1997
|
+
m([
|
|
1999
1998
|
a({ type: String, reflect: !0 })
|
|
2000
|
-
],
|
|
2001
|
-
|
|
1999
|
+
], b.prototype, "secondaryButtonLabel", 2);
|
|
2000
|
+
m([
|
|
2002
2001
|
a({ type: String, reflect: !0 })
|
|
2003
|
-
],
|
|
2004
|
-
|
|
2002
|
+
], b.prototype, "secondaryButtonVariant", 2);
|
|
2003
|
+
m([
|
|
2005
2004
|
a({ type: Function })
|
|
2006
|
-
],
|
|
2007
|
-
|
|
2005
|
+
], b.prototype, "onSecondaryButtonClick", 2);
|
|
2006
|
+
m([
|
|
2008
2007
|
a({ type: Boolean, reflect: !0 })
|
|
2009
|
-
],
|
|
2010
|
-
|
|
2008
|
+
], b.prototype, "disablePortal", 2);
|
|
2009
|
+
m([
|
|
2011
2010
|
a({ type: Number, reflect: !0 })
|
|
2012
|
-
],
|
|
2013
|
-
|
|
2011
|
+
], b.prototype, "zIndex", 2);
|
|
2012
|
+
m([
|
|
2014
2013
|
a({ type: Boolean, reflect: !0 })
|
|
2015
|
-
],
|
|
2016
|
-
|
|
2014
|
+
], b.prototype, "initialized", 2);
|
|
2015
|
+
b = m([
|
|
2017
2016
|
x("o-side-panel")
|
|
2018
|
-
],
|
|
2019
|
-
var
|
|
2020
|
-
for (var i =
|
|
2021
|
-
(
|
|
2022
|
-
return
|
|
2017
|
+
], b);
|
|
2018
|
+
var eo = Object.defineProperty, oo = Object.getOwnPropertyDescriptor, M = (o, t, e, r) => {
|
|
2019
|
+
for (var i = r > 1 ? void 0 : r ? oo(t, e) : t, s = o.length - 1, n; s >= 0; s--)
|
|
2020
|
+
(n = o[s]) && (i = (r ? n(t, e, i) : n(i)) || i);
|
|
2021
|
+
return r && i && eo(t, e, i), i;
|
|
2023
2022
|
};
|
|
2024
|
-
let A = class extends
|
|
2023
|
+
let A = class extends g {
|
|
2025
2024
|
constructor() {
|
|
2026
2025
|
super(...arguments), this.thumbnails = [], this.activeIndex = 0, this.disabledIndexes = [], this.maxWidth = "100%", this.altressource = "visual", this.focusedIndex = 0, this.playerIconTemplate = l`
|
|
2027
2026
|
<o-icon-button
|
|
@@ -2073,7 +2072,7 @@ let A = class extends b {
|
|
|
2073
2072
|
return l`
|
|
2074
2073
|
<ul class="scroll-container" style="max-width: ${this.maxWidth};">
|
|
2075
2074
|
${this.thumbnails.map((o, t) => {
|
|
2076
|
-
const e = this.disabledIndexes.includes(t),
|
|
2075
|
+
const e = this.disabledIndexes.includes(t), r = this.activeIndex === t, i = o.type === "video", s = i ? `video ${t}` : `${this.altressource} ${t + 1}`;
|
|
2077
2076
|
return l`
|
|
2078
2077
|
<li class="thumb-wrapper">
|
|
2079
2078
|
<button
|
|
@@ -2081,12 +2080,12 @@ let A = class extends b {
|
|
|
2081
2080
|
data-index="${t}"
|
|
2082
2081
|
?disabled=${e}
|
|
2083
2082
|
aria-selected="${this.focusedIndex === t}"
|
|
2084
|
-
aria-current=${
|
|
2083
|
+
aria-current=${r ? "true" : "false"}
|
|
2085
2084
|
tabindex="${this.disabledIndexes.includes(t) ? -1 : 0}"
|
|
2086
2085
|
@click=${() => this.selectThumbnail(t)}
|
|
2087
2086
|
@keydown=${this.handleKeyDown}
|
|
2088
|
-
@focus=${(
|
|
2089
|
-
@blur=${(
|
|
2087
|
+
@focus=${(n) => this.onFocus(n)}
|
|
2088
|
+
@blur=${(n) => this.onBlur(n)}
|
|
2090
2089
|
>
|
|
2091
2090
|
<img alt="${s}" src="${o.src}" />
|
|
2092
2091
|
</button>
|
|
@@ -2098,7 +2097,7 @@ let A = class extends b {
|
|
|
2098
2097
|
`;
|
|
2099
2098
|
}
|
|
2100
2099
|
};
|
|
2101
|
-
A.styles =
|
|
2100
|
+
A.styles = y`
|
|
2102
2101
|
:host {
|
|
2103
2102
|
display: flex;
|
|
2104
2103
|
gap: 5px;
|
|
@@ -2228,12 +2227,12 @@ M([
|
|
|
2228
2227
|
A = M([
|
|
2229
2228
|
x("thumbnail-navigation")
|
|
2230
2229
|
], A);
|
|
2231
|
-
var
|
|
2232
|
-
for (var i =
|
|
2233
|
-
(
|
|
2234
|
-
return
|
|
2230
|
+
var io = Object.defineProperty, ro = Object.getOwnPropertyDescriptor, St = (o, t, e, r) => {
|
|
2231
|
+
for (var i = r > 1 ? void 0 : r ? ro(t, e) : t, s = o.length - 1, n; s >= 0; s--)
|
|
2232
|
+
(n = o[s]) && (i = (r ? n(t, e, i) : n(i)) || i);
|
|
2233
|
+
return r && i && io(t, e, i), i;
|
|
2235
2234
|
};
|
|
2236
|
-
let
|
|
2235
|
+
let ot = class extends g {
|
|
2237
2236
|
constructor() {
|
|
2238
2237
|
super(...arguments), this.type = "", this.bgstyle = "background-white";
|
|
2239
2238
|
}
|
|
@@ -2243,7 +2242,7 @@ let et = class extends b {
|
|
|
2243
2242
|
`;
|
|
2244
2243
|
}
|
|
2245
2244
|
};
|
|
2246
|
-
|
|
2245
|
+
ot.styles = y`
|
|
2247
2246
|
.tag {
|
|
2248
2247
|
display: inline-block;
|
|
2249
2248
|
padding: var(--spacing-2-xs) var(--spacing-s);
|
|
@@ -2299,21 +2298,21 @@ et.styles = m`
|
|
|
2299
2298
|
}
|
|
2300
2299
|
|
|
2301
2300
|
`;
|
|
2302
|
-
|
|
2301
|
+
St([
|
|
2303
2302
|
a({ type: String, reflect: !0 })
|
|
2304
|
-
],
|
|
2305
|
-
|
|
2303
|
+
], ot.prototype, "type", 2);
|
|
2304
|
+
St([
|
|
2306
2305
|
a({ type: String, reflect: !0 })
|
|
2307
|
-
],
|
|
2308
|
-
|
|
2306
|
+
], ot.prototype, "bgstyle", 2);
|
|
2307
|
+
ot = St([
|
|
2309
2308
|
x("o-tag")
|
|
2310
|
-
],
|
|
2311
|
-
var
|
|
2312
|
-
for (var i =
|
|
2313
|
-
(
|
|
2314
|
-
return
|
|
2309
|
+
], ot);
|
|
2310
|
+
var no = Object.defineProperty, so = Object.getOwnPropertyDescriptor, Et = (o, t, e, r) => {
|
|
2311
|
+
for (var i = r > 1 ? void 0 : r ? so(t, e) : t, s = o.length - 1, n; s >= 0; s--)
|
|
2312
|
+
(n = o[s]) && (i = (r ? n(t, e, i) : n(i)) || i);
|
|
2313
|
+
return r && i && no(t, e, i), i;
|
|
2315
2314
|
};
|
|
2316
|
-
let
|
|
2315
|
+
let it = class extends g {
|
|
2317
2316
|
constructor() {
|
|
2318
2317
|
super(...arguments), this.type = "top", this.text = "";
|
|
2319
2318
|
}
|
|
@@ -2326,7 +2325,7 @@ let ot = class extends b {
|
|
|
2326
2325
|
`;
|
|
2327
2326
|
}
|
|
2328
2327
|
};
|
|
2329
|
-
|
|
2328
|
+
it.styles = y`
|
|
2330
2329
|
.tooltip {
|
|
2331
2330
|
position: relative;
|
|
2332
2331
|
display: inline-block;
|
|
@@ -2419,21 +2418,21 @@ ot.styles = m`
|
|
|
2419
2418
|
}
|
|
2420
2419
|
|
|
2421
2420
|
`;
|
|
2422
|
-
|
|
2421
|
+
Et([
|
|
2423
2422
|
a({ type: String, reflect: !0 })
|
|
2424
|
-
],
|
|
2425
|
-
|
|
2423
|
+
], it.prototype, "type", 2);
|
|
2424
|
+
Et([
|
|
2426
2425
|
a({ type: String, reflect: !0 })
|
|
2427
|
-
],
|
|
2428
|
-
|
|
2426
|
+
], it.prototype, "text", 2);
|
|
2427
|
+
it = Et([
|
|
2429
2428
|
x("o-tooltip")
|
|
2430
|
-
],
|
|
2431
|
-
var
|
|
2432
|
-
for (var i =
|
|
2433
|
-
(
|
|
2434
|
-
return
|
|
2429
|
+
], it);
|
|
2430
|
+
var ao = Object.defineProperty, lo = Object.getOwnPropertyDescriptor, O = (o, t, e, r) => {
|
|
2431
|
+
for (var i = r > 1 ? void 0 : r ? lo(t, e) : t, s = o.length - 1, n; s >= 0; s--)
|
|
2432
|
+
(n = o[s]) && (i = (r ? n(t, e, i) : n(i)) || i);
|
|
2433
|
+
return r && i && ao(t, e, i), i;
|
|
2435
2434
|
};
|
|
2436
|
-
let k = class extends
|
|
2435
|
+
let k = class extends g {
|
|
2437
2436
|
constructor() {
|
|
2438
2437
|
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) => {
|
|
2439
2438
|
this.contains(o.target) || (this.open = !1, this.activeIndex = -1);
|
|
@@ -2499,7 +2498,7 @@ let k = class extends b {
|
|
|
2499
2498
|
this.options.length > 0 && (this.options.some((e) => e.value === this.value) || (this.value = this.options[0].value));
|
|
2500
2499
|
}
|
|
2501
2500
|
render() {
|
|
2502
|
-
const o =
|
|
2501
|
+
const o = G.checkstroke.replace(
|
|
2503
2502
|
"<svg",
|
|
2504
2503
|
'<svg aria-hidden="true" focusable="false" part="svg"'
|
|
2505
2504
|
), t = this.options.find((e) => e.value === this.value);
|
|
@@ -2532,13 +2531,13 @@ let k = class extends b {
|
|
|
2532
2531
|
style=${`width: ${this.width};`}
|
|
2533
2532
|
>
|
|
2534
2533
|
${this.options.map(
|
|
2535
|
-
(e,
|
|
2534
|
+
(e, r) => l`
|
|
2536
2535
|
<li
|
|
2537
|
-
id="option-${
|
|
2536
|
+
id="option-${r}"
|
|
2538
2537
|
role="option"
|
|
2539
2538
|
aria-selected="${e.value === this.value}"
|
|
2540
|
-
tabindex="${
|
|
2541
|
-
class="${
|
|
2539
|
+
tabindex="${r === this.activeIndex ? "0" : "-1"}"
|
|
2540
|
+
class="${r === this.activeIndex ? "active" : ""} ${e.disabled ? "disabled" : ""}"
|
|
2542
2541
|
@click=${() => this.selectOption(e)}
|
|
2543
2542
|
>
|
|
2544
2543
|
${e.url ? l`
|
|
@@ -2556,7 +2555,7 @@ let k = class extends b {
|
|
|
2556
2555
|
`;
|
|
2557
2556
|
}
|
|
2558
2557
|
};
|
|
2559
|
-
k.styles =
|
|
2558
|
+
k.styles = y`
|
|
2560
2559
|
:host {
|
|
2561
2560
|
display: inline-block;
|
|
2562
2561
|
position: relative;
|
|
@@ -2723,17 +2722,17 @@ O([
|
|
|
2723
2722
|
k = O([
|
|
2724
2723
|
x("o-dropdown")
|
|
2725
2724
|
], k);
|
|
2726
|
-
var
|
|
2727
|
-
for (var i =
|
|
2728
|
-
(
|
|
2725
|
+
var co = Object.getOwnPropertyDescriptor, ho = (o, t, e, r) => {
|
|
2726
|
+
for (var i = r > 1 ? void 0 : r ? co(t, e) : t, s = o.length - 1, n; s >= 0; s--)
|
|
2727
|
+
(n = o[s]) && (i = n(i) || i);
|
|
2729
2728
|
return i;
|
|
2730
2729
|
};
|
|
2731
|
-
let
|
|
2730
|
+
let xt = class extends g {
|
|
2732
2731
|
render() {
|
|
2733
2732
|
return l` <span class="dots"></span> `;
|
|
2734
2733
|
}
|
|
2735
2734
|
};
|
|
2736
|
-
|
|
2735
|
+
xt.styles = y`
|
|
2737
2736
|
:host {
|
|
2738
2737
|
display: flex;
|
|
2739
2738
|
align-items: center;
|
|
@@ -2785,15 +2784,15 @@ mt.styles = m`
|
|
|
2785
2784
|
}
|
|
2786
2785
|
}
|
|
2787
2786
|
`;
|
|
2788
|
-
|
|
2787
|
+
xt = ho([
|
|
2789
2788
|
x("o-dots")
|
|
2790
|
-
],
|
|
2791
|
-
var
|
|
2792
|
-
for (var i =
|
|
2793
|
-
(
|
|
2794
|
-
return
|
|
2789
|
+
], xt);
|
|
2790
|
+
var po = Object.defineProperty, uo = Object.getOwnPropertyDescriptor, E = (o, t, e, r) => {
|
|
2791
|
+
for (var i = r > 1 ? void 0 : r ? uo(t, e) : t, s = o.length - 1, n; s >= 0; s--)
|
|
2792
|
+
(n = o[s]) && (i = (r ? n(t, e, i) : n(i)) || i);
|
|
2793
|
+
return r && i && po(t, e, i), i;
|
|
2795
2794
|
};
|
|
2796
|
-
let C = class extends
|
|
2795
|
+
let C = class extends g {
|
|
2797
2796
|
constructor() {
|
|
2798
2797
|
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) => {
|
|
2799
2798
|
this.contains(o.target) || (this.open = !1, this.activeIndex = -1);
|
|
@@ -2859,7 +2858,7 @@ let C = class extends b {
|
|
|
2859
2858
|
this.options.length > 0 && (this.options.some((t) => t.value === this.value) || (this.value = this.options[0].value));
|
|
2860
2859
|
}
|
|
2861
2860
|
render() {
|
|
2862
|
-
const o =
|
|
2861
|
+
const o = G.checkstroke.replace(
|
|
2863
2862
|
"<svg",
|
|
2864
2863
|
'<svg aria-hidden="true" focusable="false" part="svg"'
|
|
2865
2864
|
), t = this.options.find((e) => e.value === this.value);
|
|
@@ -2902,14 +2901,14 @@ let C = class extends b {
|
|
|
2902
2901
|
style=${`width: ${this.width};`}
|
|
2903
2902
|
>
|
|
2904
2903
|
${this.options.map(
|
|
2905
|
-
(e,
|
|
2904
|
+
(e, r) => l`
|
|
2906
2905
|
<li
|
|
2907
|
-
id="option-${
|
|
2906
|
+
id="option-${r}"
|
|
2908
2907
|
role="option"
|
|
2909
2908
|
aria-selected="${e.value === this.value}"
|
|
2910
2909
|
aria-disabled="${e.disabled ? "true" : "false"}"
|
|
2911
|
-
tabindex="${
|
|
2912
|
-
class="${
|
|
2910
|
+
tabindex="${r === this.activeIndex ? "0" : "-1"}"
|
|
2911
|
+
class="${r === this.activeIndex ? "active" : ""} ${e.disabled ? "disabled" : ""}"
|
|
2913
2912
|
@click=${() => this.selectOption(e)}
|
|
2914
2913
|
>
|
|
2915
2914
|
<a href="${$(e.url)}">
|
|
@@ -2930,7 +2929,7 @@ let C = class extends b {
|
|
|
2930
2929
|
`;
|
|
2931
2930
|
}
|
|
2932
2931
|
};
|
|
2933
|
-
C.styles =
|
|
2932
|
+
C.styles = y`
|
|
2934
2933
|
:host {
|
|
2935
2934
|
display: inline-block;
|
|
2936
2935
|
position: relative;
|
|
@@ -3141,38 +3140,38 @@ C = E([
|
|
|
3141
3140
|
* Copyright 2018 Google LLC
|
|
3142
3141
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3143
3142
|
*/
|
|
3144
|
-
const
|
|
3143
|
+
const Gt = "important", vo = " !" + Gt, go = Wt(class extends Kt {
|
|
3145
3144
|
constructor(o) {
|
|
3146
3145
|
var t;
|
|
3147
|
-
if (super(o), o.type !==
|
|
3146
|
+
if (super(o), o.type !== qt.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.");
|
|
3148
3147
|
}
|
|
3149
3148
|
render(o) {
|
|
3150
3149
|
return Object.keys(o).reduce((t, e) => {
|
|
3151
|
-
const
|
|
3152
|
-
return
|
|
3150
|
+
const r = o[e];
|
|
3151
|
+
return r == null ? t : t + `${e = e.includes("-") ? e : e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g, "-$&").toLowerCase()}:${r};`;
|
|
3153
3152
|
}, "");
|
|
3154
3153
|
}
|
|
3155
3154
|
update(o, [t]) {
|
|
3156
3155
|
const { style: e } = o.element;
|
|
3157
3156
|
if (this.ft === void 0) return this.ft = new Set(Object.keys(t)), this.render(t);
|
|
3158
|
-
for (const
|
|
3159
|
-
for (const
|
|
3160
|
-
const i = t[
|
|
3157
|
+
for (const r of this.ft) t[r] == null && (this.ft.delete(r), r.includes("-") ? e.removeProperty(r) : e[r] = null);
|
|
3158
|
+
for (const r in t) {
|
|
3159
|
+
const i = t[r];
|
|
3161
3160
|
if (i != null) {
|
|
3162
|
-
this.ft.add(
|
|
3163
|
-
const s = typeof i == "string" && i.endsWith(
|
|
3164
|
-
|
|
3161
|
+
this.ft.add(r);
|
|
3162
|
+
const s = typeof i == "string" && i.endsWith(vo);
|
|
3163
|
+
r.includes("-") || s ? e.setProperty(r, s ? i.slice(0, -11) : i, s ? Gt : "") : e[r] = i;
|
|
3165
3164
|
}
|
|
3166
3165
|
}
|
|
3167
3166
|
return D;
|
|
3168
3167
|
}
|
|
3169
3168
|
});
|
|
3170
|
-
var
|
|
3171
|
-
for (var i =
|
|
3172
|
-
(
|
|
3173
|
-
return
|
|
3169
|
+
var bo = Object.defineProperty, fo = Object.getOwnPropertyDescriptor, Lt = (o, t, e, r) => {
|
|
3170
|
+
for (var i = r > 1 ? void 0 : r ? fo(t, e) : t, s = o.length - 1, n; s >= 0; s--)
|
|
3171
|
+
(n = o[s]) && (i = (r ? n(t, e, i) : n(i)) || i);
|
|
3172
|
+
return r && i && bo(t, e, i), i;
|
|
3174
3173
|
};
|
|
3175
|
-
let
|
|
3174
|
+
let rt = class extends g {
|
|
3176
3175
|
constructor() {
|
|
3177
3176
|
super(...arguments), this.option = {}, this.imageSize = 64;
|
|
3178
3177
|
}
|
|
@@ -3181,7 +3180,7 @@ let it = class extends b {
|
|
|
3181
3180
|
width: `${this.imageSize}px`,
|
|
3182
3181
|
height: `${this.imageSize}px`
|
|
3183
3182
|
}, e = l`
|
|
3184
|
-
${this.option.imgurl ? l`<img src="${this.option.imgurl}" alt="${$(this.option.title)}" aria-hidden="true" style=${
|
|
3183
|
+
${this.option.imgurl ? l`<img src="${this.option.imgurl}" alt="${$(this.option.title)}" aria-hidden="true" style=${go(t)} />` : ""}
|
|
3185
3184
|
<div class="m-reassurance-content">
|
|
3186
3185
|
<h3 class="a-reassurance-text">${$(this.option.title)}</h3>
|
|
3187
3186
|
<p class="a-reassurance-description">${$(this.option.description)}</p>
|
|
@@ -3190,7 +3189,7 @@ let it = class extends b {
|
|
|
3190
3189
|
return o ? l`<a href="${$(this.option.url)}" class="reassurance-item clickable">${e}</a>` : l`<div class="reassurance-item">${e}</div>`;
|
|
3191
3190
|
}
|
|
3192
3191
|
};
|
|
3193
|
-
|
|
3192
|
+
rt.styles = y`
|
|
3194
3193
|
:host {
|
|
3195
3194
|
display: inline-block;
|
|
3196
3195
|
position: relative;
|
|
@@ -3272,12 +3271,80 @@ it.styles = m`
|
|
|
3272
3271
|
}
|
|
3273
3272
|
}
|
|
3274
3273
|
`;
|
|
3275
|
-
|
|
3274
|
+
Lt([
|
|
3276
3275
|
a({ type: Object, reflect: !0 })
|
|
3277
|
-
],
|
|
3278
|
-
|
|
3276
|
+
], rt.prototype, "option", 2);
|
|
3277
|
+
Lt([
|
|
3279
3278
|
a({ type: Number, reflect: !0 })
|
|
3280
|
-
],
|
|
3281
|
-
|
|
3279
|
+
], rt.prototype, "imageSize", 2);
|
|
3280
|
+
rt = Lt([
|
|
3282
3281
|
x("o-reassurance")
|
|
3283
|
-
],
|
|
3282
|
+
], rt);
|
|
3283
|
+
var yo = Object.defineProperty, mo = Object.getOwnPropertyDescriptor, ut = (o, t, e, r) => {
|
|
3284
|
+
for (var i = r > 1 ? void 0 : r ? mo(t, e) : t, s = o.length - 1, n; s >= 0; s--)
|
|
3285
|
+
(n = o[s]) && (i = (r ? n(t, e, i) : n(i)) || i);
|
|
3286
|
+
return r && i && yo(t, e, i), i;
|
|
3287
|
+
};
|
|
3288
|
+
let K = class extends g {
|
|
3289
|
+
constructor() {
|
|
3290
|
+
super(...arguments), this.type = "", this.text = "", this.link = "";
|
|
3291
|
+
}
|
|
3292
|
+
render() {
|
|
3293
|
+
return l`
|
|
3294
|
+
<div class="o-chip">
|
|
3295
|
+
<a href="${this.link}" class="o-chip-text">${this.text}</a>
|
|
3296
|
+
</div>
|
|
3297
|
+
`;
|
|
3298
|
+
}
|
|
3299
|
+
};
|
|
3300
|
+
K.styles = y`
|
|
3301
|
+
.o-chip {
|
|
3302
|
+
font-size: var(--font-size-150);
|
|
3303
|
+
font-weight: var(--font-weight-400);
|
|
3304
|
+
border: solid var(--border-m) var(--color-border-secondary);
|
|
3305
|
+
padding: var(--spacing-m) var(--spacing-xl);
|
|
3306
|
+
background-color: var(--color-container-action-secondary-default);
|
|
3307
|
+
border-radius: var(--radius-m);
|
|
3308
|
+
width: fit-content;
|
|
3309
|
+
font-family: var(--font-family-loccitane-sans);
|
|
3310
|
+
|
|
3311
|
+
|
|
3312
|
+
|
|
3313
|
+
a {
|
|
3314
|
+
font-size: var(--font-size-150);
|
|
3315
|
+
line-height: var(--line-height-200);
|
|
3316
|
+
letter-spacing: var(--letter-spacing-000);
|
|
3317
|
+
font-weight: var(--font-weight-400);
|
|
3318
|
+
text-decoration: none;
|
|
3319
|
+
color: var(--color-content-action-secondary);
|
|
3320
|
+
}
|
|
3321
|
+
|
|
3322
|
+
&:hover {
|
|
3323
|
+
background-color: var(--color-container-action-secondary-hover);
|
|
3324
|
+
}
|
|
3325
|
+
}
|
|
3326
|
+
|
|
3327
|
+
:host([type="active"]) .o-chip {
|
|
3328
|
+
background-color: var(--color-container-filter-default);
|
|
3329
|
+
|
|
3330
|
+
a {
|
|
3331
|
+
color: var(--color-content-action-primary);
|
|
3332
|
+
}
|
|
3333
|
+
|
|
3334
|
+
&:hover {
|
|
3335
|
+
background-color: var(--color-container-filter-hover);
|
|
3336
|
+
}
|
|
3337
|
+
}
|
|
3338
|
+
`;
|
|
3339
|
+
ut([
|
|
3340
|
+
a({ type: String, reflect: !0 })
|
|
3341
|
+
], K.prototype, "type", 2);
|
|
3342
|
+
ut([
|
|
3343
|
+
a({ type: String, reflect: !0 })
|
|
3344
|
+
], K.prototype, "text", 2);
|
|
3345
|
+
ut([
|
|
3346
|
+
a({ type: String, reflect: !0 })
|
|
3347
|
+
], K.prototype, "link", 2);
|
|
3348
|
+
K = ut([
|
|
3349
|
+
x("o-chip")
|
|
3350
|
+
], K);
|