@florid-kit/components 0.9.19 → 0.9.21
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/aria.d.ts +1 -1
- package/components/breadcrumb.d.ts +9 -0
- package/components/breadcrumbs.d.ts +6 -0
- package/components/side-panel.d.ts +2 -0
- package/index.js +228 -148
- package/index.mjs +813 -685
- 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 _t = globalThis, jt = _t.ShadowRoot && (_t.ShadyCSS === void 0 || _t.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Rt = Symbol(), ee = /* @__PURE__ */ new WeakMap();
|
|
7
|
+
let ue = class {
|
|
8
|
+
constructor(t, e, r) {
|
|
9
|
+
if (this._$cssResult$ = !0, r !== Rt) 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 (jt && t === void 0) {
|
|
16
|
+
const r = e !== void 0 && e.length === 1;
|
|
17
|
+
r && (t = ee.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), r && ee.set(e, t));
|
|
18
18
|
}
|
|
19
19
|
return t;
|
|
20
20
|
}
|
|
@@ -22,33 +22,33 @@ let he = class {
|
|
|
22
22
|
return this.cssText;
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
|
-
const
|
|
26
|
-
const e = o.length === 1 ? o[0] : t.reduce((
|
|
25
|
+
const we = (o) => new ue(typeof o == "string" ? o : o + "", void 0, Rt), v = (o, ...t) => {
|
|
26
|
+
const e = o.length === 1 ? o[0] : t.reduce((r, i, n) => r + ((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
|
-
})(i) + o[
|
|
31
|
-
return new
|
|
32
|
-
},
|
|
33
|
-
if (
|
|
30
|
+
})(i) + o[n + 1], o[0]);
|
|
31
|
+
return new ue(e, o, Rt);
|
|
32
|
+
}, $e = (o, t) => {
|
|
33
|
+
if (jt) 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 = _t.litNonce;
|
|
36
|
+
i !== void 0 && r.setAttribute("nonce", i), r.textContent = e.cssText, o.appendChild(r);
|
|
37
37
|
}
|
|
38
|
-
},
|
|
38
|
+
}, oe = jt ? (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 we(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: _e, defineProperty: Ce, getOwnPropertyDescriptor: ke, getOwnPropertyNames: Se, getOwnPropertySymbols: Ae, getPrototypeOf: Ee } = Object, W = globalThis, ie = W.trustedTypes, Le = ie ? ie.emptyScript : "", Pt = W.reactiveElementPolyfillSupport, ct = (o, t) => o, Ct = { toAttribute(o, t) {
|
|
49
49
|
switch (t) {
|
|
50
50
|
case Boolean:
|
|
51
|
-
o = o ?
|
|
51
|
+
o = o ? Le : null;
|
|
52
52
|
break;
|
|
53
53
|
case Object:
|
|
54
54
|
case Array:
|
|
@@ -73,54 +73,54 @@ const { is: xe, defineProperty: we, getOwnPropertyDescriptor: $e, getOwnProperty
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
return e;
|
|
76
|
-
} },
|
|
76
|
+
} }, Nt = (o, t) => !_e(o, t), re = { attribute: !0, type: String, converter: Ct, reflect: !1, useDefault: !1, hasChanged: Nt };
|
|
77
77
|
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), W.litPropertyMetadata ?? (W.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
78
|
-
let
|
|
78
|
+
let rt = class extends HTMLElement {
|
|
79
79
|
static addInitializer(t) {
|
|
80
80
|
this._$Ei(), (this.l ?? (this.l = [])).push(t);
|
|
81
81
|
}
|
|
82
82
|
static get observedAttributes() {
|
|
83
83
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
84
84
|
}
|
|
85
|
-
static createProperty(t, e =
|
|
85
|
+
static createProperty(t, e = re) {
|
|
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 && Ce(this.prototype, t, i);
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
|
-
static getPropertyDescriptor(t, e,
|
|
92
|
-
const { get: i, set:
|
|
91
|
+
static getPropertyDescriptor(t, e, r) {
|
|
92
|
+
const { get: i, set: n } = ke(this.prototype, t) ?? { get() {
|
|
93
93
|
return this[e];
|
|
94
94
|
}, set(s) {
|
|
95
95
|
this[e] = s;
|
|
96
96
|
} };
|
|
97
97
|
return { get: i, set(s) {
|
|
98
98
|
const h = i == null ? void 0 : i.call(this);
|
|
99
|
-
|
|
99
|
+
n == null || n.call(this, s), 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) ?? re;
|
|
104
104
|
}
|
|
105
105
|
static _$Ei() {
|
|
106
106
|
if (this.hasOwnProperty(ct("elementProperties"))) return;
|
|
107
|
-
const t =
|
|
107
|
+
const t = Ee(this);
|
|
108
108
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
109
109
|
}
|
|
110
110
|
static finalize() {
|
|
111
111
|
if (this.hasOwnProperty(ct("finalized"))) return;
|
|
112
112
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(ct("properties"))) {
|
|
113
|
-
const e = this.properties,
|
|
114
|
-
for (const i of
|
|
113
|
+
const e = this.properties, r = [...Se(e), ...Ae(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 it = 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(oe(i));
|
|
133
|
+
} else t !== void 0 && e.push(oe(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 it = 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 $e(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 it = 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
|
-
var
|
|
185
|
-
const
|
|
186
|
-
if (i !== void 0 &&
|
|
187
|
-
const s = (((
|
|
184
|
+
var n;
|
|
185
|
+
const r = this.constructor.elementProperties.get(t), i = this.constructor._$Eu(t, r);
|
|
186
|
+
if (i !== void 0 && r.reflect === !0) {
|
|
187
|
+
const s = (((n = r.converter) == null ? void 0 : n.toAttribute) !== void 0 ? r.converter : Ct).toAttribute(e, r.type);
|
|
188
188
|
this._$Em = t, s == null ? this.removeAttribute(i) : this.setAttribute(i, s), this._$Em = null;
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
191
|
_$AK(t, e) {
|
|
192
|
-
var
|
|
193
|
-
const
|
|
192
|
+
var n, s;
|
|
193
|
+
const r = this.constructor, i = r._$Eh.get(t);
|
|
194
194
|
if (i !== void 0 && this._$Em !== i) {
|
|
195
|
-
const h =
|
|
195
|
+
const h = r.getPropertyOptions(i), c = typeof h.converter == "function" ? { fromAttribute: h.converter } : ((n = h.converter) == null ? void 0 : n.fromAttribute) !== void 0 ? h.converter : Ct;
|
|
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
|
}
|
|
199
|
-
requestUpdate(t, e,
|
|
199
|
+
requestUpdate(t, e, r) {
|
|
200
200
|
var i;
|
|
201
201
|
if (t !== void 0) {
|
|
202
|
-
const
|
|
203
|
-
if (
|
|
204
|
-
this.C(t, e,
|
|
202
|
+
const n = this.constructor, s = this[t];
|
|
203
|
+
if (r ?? (r = n.getPropertyOptions(t)), !((r.hasChanged ?? Nt)(s, e) || r.useDefault && r.reflect && s === ((i = this._$Ej) == null ? void 0 : i.get(t)) && !this.hasAttribute(n._$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: n }, s) {
|
|
209
|
+
r && !(this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Map())).has(t) && (this._$Ej.set(t, s ?? e ?? this[t]), n !== !0 || s !== 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,25 +222,25 @@ let it = 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 [
|
|
229
|
+
for (const [n, s] of this._$Ep) this[n] = s;
|
|
230
230
|
this._$Ep = void 0;
|
|
231
231
|
}
|
|
232
232
|
const i = this.constructor.elementProperties;
|
|
233
|
-
if (i.size > 0) for (const [
|
|
234
|
-
const { wrapped: h } = s, c = this[
|
|
235
|
-
h !== !0 || this._$AL.has(
|
|
233
|
+
if (i.size > 0) for (const [n, s] of i) {
|
|
234
|
+
const { wrapped: h } = s, c = this[n];
|
|
235
|
+
h !== !0 || this._$AL.has(n) || c === void 0 || this.C(n, void 0, s, 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), (
|
|
242
|
-
var
|
|
243
|
-
return (
|
|
241
|
+
t = this.shouldUpdate(e), t ? (this.willUpdate(e), (r = this._$EO) == null || r.forEach((i) => {
|
|
242
|
+
var n;
|
|
243
|
+
return (n = i.hostUpdate) == null ? void 0 : n.call(i);
|
|
244
244
|
}), this.update(e)) : this._$EM();
|
|
245
245
|
} catch (i) {
|
|
246
246
|
throw t = !1, this._$EM(), i;
|
|
@@ -251,9 +251,9 @@ let it = 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,76 +276,76 @@ let it = class extends HTMLElement {
|
|
|
276
276
|
firstUpdated(t) {
|
|
277
277
|
}
|
|
278
278
|
};
|
|
279
|
-
|
|
279
|
+
rt.elementStyles = [], rt.shadowRootOptions = { mode: "open" }, rt[ct("elementProperties")] = /* @__PURE__ */ new Map(), rt[ct("finalized")] = /* @__PURE__ */ new Map(), Pt == null || Pt({ ReactiveElement: rt }), (W.reactiveElementVersions ?? (W.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 ht = globalThis,
|
|
286
|
-
\f\r]`, lt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
287
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
288
|
-
function
|
|
289
|
-
if (!
|
|
290
|
-
return
|
|
285
|
+
const ht = globalThis, kt = ht.trustedTypes, ne = kt ? kt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, ve = "$lit$", K = `lit$${Math.random().toFixed(9).slice(2)}$`, fe = "?" + K, Pe = `<${fe}>`, tt = document, pt = () => tt.createComment(""), ut = (o) => o === null || typeof o != "object" && typeof o != "function", Ft = Array.isArray, Oe = (o) => Ft(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", Ot = `[
|
|
286
|
+
\f\r]`, lt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, se = /-->/g, ae = />/g, J = RegExp(`>|${Ot}(?:([^\\s"'>=/]+)(${Ot}*=${Ot}*(?:[^
|
|
287
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), le = /'/g, ce = /"/g, be = /^(?:script|style|textarea|title)$/i, Ie = (o) => (t, ...e) => ({ _$litType$: o, strings: t, values: e }), l = Ie(1), G = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), he = /* @__PURE__ */ new WeakMap(), Q = tt.createTreeWalker(tt, 129);
|
|
288
|
+
function ge(o, t) {
|
|
289
|
+
if (!Ft(o) || !o.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
290
|
+
return ne !== void 0 ? ne.createHTML(t) : t;
|
|
291
291
|
}
|
|
292
|
-
const
|
|
293
|
-
const e = o.length - 1,
|
|
294
|
-
let i,
|
|
292
|
+
const ze = (o, t) => {
|
|
293
|
+
const e = o.length - 1, r = [];
|
|
294
|
+
let i, n = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", s = lt;
|
|
295
295
|
for (let h = 0; h < e; h++) {
|
|
296
296
|
const c = o[h];
|
|
297
|
-
let m, w,
|
|
298
|
-
for (; N < c.length && (s.lastIndex = N, w = s.exec(c), w !== null); ) N = s.lastIndex, s === lt ? w[1] === "!--" ? s =
|
|
297
|
+
let m, w, f = -1, N = 0;
|
|
298
|
+
for (; N < c.length && (s.lastIndex = N, w = s.exec(c), w !== null); ) N = s.lastIndex, s === lt ? w[1] === "!--" ? s = se : w[1] !== void 0 ? s = ae : w[2] !== void 0 ? (be.test(w[2]) && (i = RegExp("</" + w[2], "g")), s = J) : w[3] !== void 0 && (s = J) : s === J ? w[0] === ">" ? (s = i ?? lt, f = -1) : w[1] === void 0 ? f = -2 : (f = s.lastIndex - w[2].length, m = w[1], s = w[3] === void 0 ? J : w[3] === '"' ? ce : le) : s === ce || s === le ? s = J : s === se || s === ae ? s = lt : (s = J, i = void 0);
|
|
299
299
|
const Z = s === J && o[h + 1].startsWith("/>") ? " " : "";
|
|
300
|
-
|
|
300
|
+
n += s === lt ? c + Pe : f >= 0 ? (r.push(m), c.slice(0, f) + ve + c.slice(f) + K + Z) : c + K + (f === -2 ? h : Z);
|
|
301
301
|
}
|
|
302
|
-
return [
|
|
302
|
+
return [ge(o, n + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), r];
|
|
303
303
|
};
|
|
304
304
|
class vt {
|
|
305
|
-
constructor({ strings: t, _$litType$: e },
|
|
305
|
+
constructor({ strings: t, _$litType$: e }, r) {
|
|
306
306
|
let i;
|
|
307
307
|
this.parts = [];
|
|
308
|
-
let
|
|
309
|
-
const h = t.length - 1, c = this.parts, [m, w] =
|
|
310
|
-
if (this.el = vt.createElement(m,
|
|
311
|
-
const
|
|
312
|
-
|
|
308
|
+
let n = 0, s = 0;
|
|
309
|
+
const h = t.length - 1, c = this.parts, [m, w] = ze(t, e);
|
|
310
|
+
if (this.el = vt.createElement(m, r), Q.currentNode = this.el.content, e === 2 || e === 3) {
|
|
311
|
+
const f = this.el.content.firstChild;
|
|
312
|
+
f.replaceWith(...f.childNodes);
|
|
313
313
|
}
|
|
314
314
|
for (; (i = Q.nextNode()) !== null && c.length < h; ) {
|
|
315
315
|
if (i.nodeType === 1) {
|
|
316
|
-
if (i.hasAttributes()) for (const
|
|
317
|
-
const N = w[s++], Z = i.getAttribute(
|
|
318
|
-
c.push({ type: 1, index:
|
|
319
|
-
} else
|
|
320
|
-
if (
|
|
321
|
-
const
|
|
316
|
+
if (i.hasAttributes()) for (const f of i.getAttributeNames()) if (f.endsWith(ve)) {
|
|
317
|
+
const N = w[s++], Z = i.getAttribute(f).split(K), $t = /([.?@])?(.*)/.exec(N);
|
|
318
|
+
c.push({ type: 1, index: n, name: $t[2], strings: Z, ctor: $t[1] === "." ? De : $t[1] === "?" ? He : $t[1] === "@" ? Te : At }), i.removeAttribute(f);
|
|
319
|
+
} else f.startsWith(K) && (c.push({ type: 6, index: n }), i.removeAttribute(f));
|
|
320
|
+
if (be.test(i.tagName)) {
|
|
321
|
+
const f = i.textContent.split(K), N = f.length - 1;
|
|
322
322
|
if (N > 0) {
|
|
323
|
-
i.textContent =
|
|
324
|
-
for (let Z = 0; Z < N; Z++) i.append(
|
|
325
|
-
i.append(
|
|
323
|
+
i.textContent = kt ? kt.emptyScript : "";
|
|
324
|
+
for (let Z = 0; Z < N; Z++) i.append(f[Z], pt()), Q.nextNode(), c.push({ type: 2, index: ++n });
|
|
325
|
+
i.append(f[N], pt());
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
|
-
} else if (i.nodeType === 8) if (i.data ===
|
|
328
|
+
} else if (i.nodeType === 8) if (i.data === fe) c.push({ type: 2, index: n });
|
|
329
329
|
else {
|
|
330
|
-
let
|
|
331
|
-
for (; (
|
|
330
|
+
let f = -1;
|
|
331
|
+
for (; (f = i.data.indexOf(K, f + 1)) !== -1; ) c.push({ type: 7, index: n }), f += K.length - 1;
|
|
332
332
|
}
|
|
333
|
-
|
|
333
|
+
n++;
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
336
|
static createElement(t, e) {
|
|
337
|
-
const
|
|
338
|
-
return
|
|
337
|
+
const r = tt.createElement("template");
|
|
338
|
+
return r.innerHTML = t, r;
|
|
339
339
|
}
|
|
340
340
|
}
|
|
341
|
-
function nt(o, t, e = o,
|
|
341
|
+
function nt(o, t, e = o, r) {
|
|
342
342
|
var s, h;
|
|
343
343
|
if (t === G) return t;
|
|
344
|
-
let i =
|
|
345
|
-
const
|
|
346
|
-
return (i == null ? void 0 : i.constructor) !==
|
|
344
|
+
let i = r !== void 0 ? (s = e._$Co) == null ? void 0 : s[r] : e._$Cl;
|
|
345
|
+
const n = ut(t) ? void 0 : t._$litDirective$;
|
|
346
|
+
return (i == null ? void 0 : i.constructor) !== n && ((h = i == null ? void 0 : i._$AO) == null || h.call(i, !1), n === void 0 ? i = void 0 : (i = new n(o), i._$AT(o, e, r)), r !== void 0 ? (e._$Co ?? (e._$Co = []))[r] = i : e._$Cl = i), i !== void 0 && (t = nt(o, i._$AS(o, t.values), i, r)), t;
|
|
347
347
|
}
|
|
348
|
-
class
|
|
348
|
+
class Be {
|
|
349
349
|
constructor(t, e) {
|
|
350
350
|
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
|
|
351
351
|
}
|
|
@@ -356,30 +356,30 @@ class Ie {
|
|
|
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) ?? tt).importNode(e, !0);
|
|
360
360
|
Q.currentNode = i;
|
|
361
|
-
let
|
|
361
|
+
let n = Q.nextNode(), s = 0, h = 0, c = r[0];
|
|
362
362
|
for (; c !== void 0; ) {
|
|
363
363
|
if (s === c.index) {
|
|
364
364
|
let m;
|
|
365
|
-
c.type === 2 ? m = new
|
|
365
|
+
c.type === 2 ? m = new wt(n, n.nextSibling, this, t) : c.type === 1 ? m = new c.ctor(n, c.name, c.strings, this, t) : c.type === 6 && (m = new Me(n, this, t)), this._$AV.push(m), c = r[++h];
|
|
366
366
|
}
|
|
367
|
-
s !== (c == null ? void 0 : c.index) && (
|
|
367
|
+
s !== (c == null ? void 0 : c.index) && (n = Q.nextNode(), s++);
|
|
368
368
|
}
|
|
369
369
|
return Q.currentNode = tt, 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
|
-
class
|
|
376
|
+
class wt {
|
|
377
377
|
get _$AU() {
|
|
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 xt {
|
|
|
393
393
|
return this._$AB;
|
|
394
394
|
}
|
|
395
395
|
_$AI(t, e = this) {
|
|
396
|
-
t = nt(this, t, e), ut(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== G && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) :
|
|
396
|
+
t = nt(this, t, e), ut(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== G && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Oe(t) ? this.k(t) : this._(t);
|
|
397
397
|
}
|
|
398
398
|
O(t) {
|
|
399
399
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -405,28 +405,28 @@ class xt {
|
|
|
405
405
|
this._$AH !== d && ut(this._$AH) ? this._$AA.nextSibling.data = t : this.T(tt.createTextNode(t)), this._$AH = t;
|
|
406
406
|
}
|
|
407
407
|
$(t) {
|
|
408
|
-
var
|
|
409
|
-
const { values: e, _$litType$:
|
|
410
|
-
if (((
|
|
408
|
+
var n;
|
|
409
|
+
const { values: e, _$litType$: r } = t, i = typeof r == "number" ? this._$AC(t) : (r.el === void 0 && (r.el = vt.createElement(ge(r.h, r.h[0]), this.options)), r);
|
|
410
|
+
if (((n = this._$AH) == null ? void 0 : n._$AD) === i) this._$AH.p(e);
|
|
411
411
|
else {
|
|
412
|
-
const s = new
|
|
412
|
+
const s = new Be(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 = he.get(t.strings);
|
|
418
|
+
return e === void 0 && he.set(t.strings, e = new vt(t)), e;
|
|
419
419
|
}
|
|
420
420
|
k(t) {
|
|
421
|
-
|
|
421
|
+
Ft(this._$AH) || (this._$AH = [], this._$AR());
|
|
422
422
|
const e = this._$AH;
|
|
423
|
-
let
|
|
424
|
-
for (const
|
|
425
|
-
i < e.length && (this._$AR(
|
|
423
|
+
let r, i = 0;
|
|
424
|
+
for (const n of t) i === e.length ? e.push(r = new wt(this.O(pt()), this.O(pt()), this, this.options)) : r = e[i], r._$AI(n), 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,24 +436,24 @@ class xt {
|
|
|
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 At {
|
|
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 =
|
|
446
|
+
constructor(t, e, r, i, n) {
|
|
447
|
+
this.type = 1, this._$AH = d, this._$AN = void 0, this.element = t, this.name = e, this._$AM = i, this.options = n, 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,
|
|
450
|
-
const
|
|
449
|
+
_$AI(t, e = this, r, i) {
|
|
450
|
+
const n = this.strings;
|
|
451
451
|
let s = !1;
|
|
452
|
-
if (
|
|
452
|
+
if (n === void 0) t = nt(this, t, e, 0), s = !ut(t) || t !== this._$AH && t !== G, s && (this._$AH = t);
|
|
453
453
|
else {
|
|
454
454
|
const h = t;
|
|
455
455
|
let c, m;
|
|
456
|
-
for (t =
|
|
456
|
+
for (t = n[0], c = 0; c < n.length - 1; c++) m = nt(this, h[r + c], e, c), m === G && (m = this._$AH[c]), s || (s = !ut(m) || m !== this._$AH[c]), m === d ? t = d : t !== d && (t += (m ?? "") + n[c + 1]), this._$AH[c] = m;
|
|
457
457
|
}
|
|
458
458
|
s && !i && this.j(t);
|
|
459
459
|
}
|
|
@@ -461,7 +461,7 @@ class St {
|
|
|
461
461
|
t === d ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
|
462
462
|
}
|
|
463
463
|
}
|
|
464
|
-
class
|
|
464
|
+
class De extends At {
|
|
465
465
|
constructor() {
|
|
466
466
|
super(...arguments), this.type = 3;
|
|
467
467
|
}
|
|
@@ -469,7 +469,7 @@ class Oe extends St {
|
|
|
469
469
|
this.element[this.name] = t === d ? void 0 : t;
|
|
470
470
|
}
|
|
471
471
|
}
|
|
472
|
-
class
|
|
472
|
+
class He extends At {
|
|
473
473
|
constructor() {
|
|
474
474
|
super(...arguments), this.type = 4;
|
|
475
475
|
}
|
|
@@ -477,23 +477,23 @@ class ze extends St {
|
|
|
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 Te extends At {
|
|
481
|
+
constructor(t, e, r, i, n) {
|
|
482
|
+
super(t, e, r, i, n), this.type = 5;
|
|
483
483
|
}
|
|
484
484
|
_$AI(t, e = this) {
|
|
485
485
|
if ((t = nt(this, t, e, 0) ?? d) === G) 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, n = t !== d && (r === d || i);
|
|
487
|
+
i && this.element.removeEventListener(this.name, this, r), n && 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 Me {
|
|
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;
|
|
@@ -503,13 +503,13 @@ class De {
|
|
|
503
503
|
}
|
|
504
504
|
}
|
|
505
505
|
const It = ht.litHtmlPolyfillSupport;
|
|
506
|
-
It == null || It(vt,
|
|
507
|
-
const
|
|
508
|
-
const
|
|
509
|
-
let i =
|
|
506
|
+
It == null || It(vt, wt), (ht.litHtmlVersions ?? (ht.litHtmlVersions = [])).push("3.3.0");
|
|
507
|
+
const je = (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
|
-
const
|
|
512
|
-
|
|
511
|
+
const n = (e == null ? void 0 : e.renderBefore) ?? null;
|
|
512
|
+
r._$litPart$ = i = new wt(t.insertBefore(pt(), n), n, void 0, e ?? {});
|
|
513
513
|
}
|
|
514
514
|
return i._$AI(o), i;
|
|
515
515
|
};
|
|
@@ -519,7 +519,7 @@ const He = (o, t, e) => {
|
|
|
519
519
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
520
520
|
*/
|
|
521
521
|
const Y = globalThis;
|
|
522
|
-
let u = class extends
|
|
522
|
+
let u = class extends rt {
|
|
523
523
|
constructor() {
|
|
524
524
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
525
525
|
}
|
|
@@ -530,7 +530,7 @@ let u = class extends it {
|
|
|
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 = je(e, this.renderRoot, this.renderOptions);
|
|
534
534
|
}
|
|
535
535
|
connectedCallback() {
|
|
536
536
|
var t;
|
|
@@ -544,17 +544,17 @@ let u = class extends it {
|
|
|
544
544
|
return G;
|
|
545
545
|
}
|
|
546
546
|
};
|
|
547
|
-
var
|
|
548
|
-
u._$litElement$ = !0, u.finalized = !0, (
|
|
549
|
-
const
|
|
550
|
-
|
|
547
|
+
var pe;
|
|
548
|
+
u._$litElement$ = !0, u.finalized = !0, (pe = Y.litElementHydrateSupport) == null || pe.call(Y, { LitElement: u });
|
|
549
|
+
const zt = Y.litElementPolyfillSupport;
|
|
550
|
+
zt == null || zt({ LitElement: u });
|
|
551
551
|
(Y.litElementVersions ?? (Y.litElementVersions = [])).push("4.2.0");
|
|
552
552
|
/**
|
|
553
553
|
* @license
|
|
554
554
|
* Copyright 2017 Google LLC
|
|
555
555
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
556
556
|
*/
|
|
557
|
-
const
|
|
557
|
+
const g = (o) => (t, e) => {
|
|
558
558
|
e !== void 0 ? e.addInitializer(() => {
|
|
559
559
|
customElements.define(o, t);
|
|
560
560
|
}) : customElements.define(o, t);
|
|
@@ -564,10 +564,10 @@ const y = (o) => (t, e) => {
|
|
|
564
564
|
* Copyright 2017 Google LLC
|
|
565
565
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
566
566
|
*/
|
|
567
|
-
const
|
|
568
|
-
const { kind:
|
|
569
|
-
let
|
|
570
|
-
if (
|
|
567
|
+
const Re = { attribute: !0, type: String, converter: Ct, reflect: !1, hasChanged: Nt }, Ne = (o = Re, t, e) => {
|
|
568
|
+
const { kind: r, metadata: i } = e;
|
|
569
|
+
let n = globalThis.litPropertyMetadata.get(i);
|
|
570
|
+
if (n === void 0 && globalThis.litPropertyMetadata.set(i, n = /* @__PURE__ */ new Map()), r === "setter" && ((o = Object.create(o)).wrapped = !0), n.set(e.name, o), r === "accessor") {
|
|
571
571
|
const { name: s } = e;
|
|
572
572
|
return { set(h) {
|
|
573
573
|
const c = t.get.call(this);
|
|
@@ -576,19 +576,19 @@ const Te = { attribute: !0, type: String, converter: Ct, reflect: !1, hasChanged
|
|
|
576
576
|
return h !== void 0 && this.C(s, void 0, o, h), h;
|
|
577
577
|
} };
|
|
578
578
|
}
|
|
579
|
-
if (
|
|
579
|
+
if (r === "setter") {
|
|
580
580
|
const { name: s } = e;
|
|
581
581
|
return function(h) {
|
|
582
582
|
const c = this[s];
|
|
583
583
|
t.call(this, h), this.requestUpdate(s, 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 s = i.hasOwnProperty(
|
|
591
|
-
return i.constructor.createProperty(
|
|
589
|
+
return (t, e) => typeof e == "object" ? Ne(o, t, e) : ((r, i, n) => {
|
|
590
|
+
const s = i.hasOwnProperty(n);
|
|
591
|
+
return i.constructor.createProperty(n, r), s ? Object.getOwnPropertyDescriptor(i, n) : void 0;
|
|
592
592
|
})(o, t, e);
|
|
593
593
|
}
|
|
594
594
|
/**
|
|
@@ -604,28 +604,28 @@ function et(o) {
|
|
|
604
604
|
* Copyright 2017 Google LLC
|
|
605
605
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
606
606
|
*/
|
|
607
|
-
const
|
|
607
|
+
const Fe = (o, t, e) => (e.configurable = !0, e.enumerable = !0, Reflect.decorate && typeof t != "object" && Object.defineProperty(o, t, e), e);
|
|
608
608
|
/**
|
|
609
609
|
* @license
|
|
610
610
|
* Copyright 2017 Google LLC
|
|
611
611
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
612
612
|
*/
|
|
613
|
-
function
|
|
614
|
-
return (e,
|
|
615
|
-
const
|
|
613
|
+
function ye(o, t) {
|
|
614
|
+
return (e, r, i) => {
|
|
615
|
+
const n = (s) => {
|
|
616
616
|
var h;
|
|
617
617
|
return ((h = s.renderRoot) == null ? void 0 : h.querySelector(o)) ?? null;
|
|
618
618
|
};
|
|
619
|
-
return
|
|
620
|
-
return
|
|
619
|
+
return Fe(e, r, { get() {
|
|
620
|
+
return n(this);
|
|
621
621
|
} });
|
|
622
622
|
};
|
|
623
623
|
}
|
|
624
|
-
const
|
|
624
|
+
const ot = v`
|
|
625
625
|
outline: 1px dashed var(--color-border-primary);
|
|
626
626
|
outline-offset: 2px;
|
|
627
627
|
`;
|
|
628
|
-
|
|
628
|
+
v`
|
|
629
629
|
:host * {
|
|
630
630
|
box-sizing: border-box;
|
|
631
631
|
}
|
|
@@ -635,12 +635,12 @@ f`
|
|
|
635
635
|
* Copyright 2023 Google LLC
|
|
636
636
|
* SPDX-License-Identifier: Apache-2.0
|
|
637
637
|
*/
|
|
638
|
-
const
|
|
639
|
-
function
|
|
638
|
+
const Ut = Symbol("internals"), Bt = Symbol("privateInternals");
|
|
639
|
+
function Vt(o) {
|
|
640
640
|
var t;
|
|
641
641
|
class e extends o {
|
|
642
|
-
get [(t =
|
|
643
|
-
return this[
|
|
642
|
+
get [(t = Ut, t)]() {
|
|
643
|
+
return this[Bt] || (this[Bt] = this.attachInternals()), this[Bt];
|
|
644
644
|
}
|
|
645
645
|
}
|
|
646
646
|
return e;
|
|
@@ -650,14 +650,14 @@ function Ft(o) {
|
|
|
650
650
|
* Copyright 2023 Google LLC
|
|
651
651
|
* SPDX-License-Identifier: Apache-2.0
|
|
652
652
|
*/
|
|
653
|
-
function
|
|
653
|
+
function Ue(o) {
|
|
654
654
|
o.addInitializer((t) => {
|
|
655
655
|
const e = t;
|
|
656
|
-
e.addEventListener("click", async (
|
|
657
|
-
const { type: i, [
|
|
656
|
+
e.addEventListener("click", async (r) => {
|
|
657
|
+
const { type: i, [Ut]: n } = e, { form: s } = n;
|
|
658
658
|
if (!(!s || i === "button") && (await new Promise((h) => {
|
|
659
659
|
setTimeout(h);
|
|
660
|
-
}), !
|
|
660
|
+
}), !r.defaultPrevented)) {
|
|
661
661
|
if (i === "reset") {
|
|
662
662
|
s.reset();
|
|
663
663
|
return;
|
|
@@ -672,153 +672,153 @@ function Re(o) {
|
|
|
672
672
|
});
|
|
673
673
|
},
|
|
674
674
|
{ capture: !0, once: !0 }
|
|
675
|
-
),
|
|
675
|
+
), n.setFormValue(e.value), s.requestSubmit();
|
|
676
676
|
}
|
|
677
677
|
});
|
|
678
678
|
});
|
|
679
679
|
}
|
|
680
|
-
const
|
|
680
|
+
const Ve = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
681
681
|
<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"/>
|
|
682
682
|
</svg>
|
|
683
|
-
`,
|
|
683
|
+
`, qe = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
684
684
|
<path d="M16 8L4 0V16L16 8Z" fill="#3F2B2E"/>
|
|
685
685
|
</svg>
|
|
686
|
-
`,
|
|
686
|
+
`, Ze = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
687
687
|
<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"/>
|
|
688
688
|
</svg>
|
|
689
|
-
`,
|
|
689
|
+
`, Ke = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
690
690
|
<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"/>
|
|
691
691
|
</svg>
|
|
692
|
-
`,
|
|
692
|
+
`, We = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
693
693
|
<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"/>
|
|
694
694
|
</svg>
|
|
695
|
-
`,
|
|
695
|
+
`, Ge = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
696
696
|
<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"/>
|
|
697
697
|
</svg>
|
|
698
|
-
`,
|
|
698
|
+
`, Xe = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
699
699
|
<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"/>
|
|
700
700
|
</svg>
|
|
701
|
-
`,
|
|
701
|
+
`, Je = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
702
702
|
<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"/>
|
|
703
703
|
</svg>
|
|
704
|
-
`,
|
|
704
|
+
`, Qe = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
705
705
|
<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"/>
|
|
706
706
|
</svg>
|
|
707
|
-
`,
|
|
707
|
+
`, Ye = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
708
708
|
<path d="M2 2L14 14" stroke="#3F2B2E"/>
|
|
709
709
|
<path d="M14 2L2 14" stroke="#3F2B2E"/>
|
|
710
710
|
</svg>
|
|
711
|
-
`,
|
|
711
|
+
`, to = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
712
712
|
<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"/>
|
|
713
713
|
</svg>
|
|
714
|
-
`,
|
|
714
|
+
`, eo = `<?xml version="1.0" encoding="utf-8"?>
|
|
715
715
|
<!-- Generator: $$$/GeneralStr/196=Adobe Illustrator 27.6.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
716
716
|
<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"
|
|
717
717
|
viewBox="0 0 40 40" style="enable-background:new 0 0 40 40;" xml:space="preserve">
|
|
718
718
|
<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
|
|
719
719
|
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"/>
|
|
720
720
|
</svg>
|
|
721
|
-
`,
|
|
721
|
+
`, oo = `<?xml version="1.0" encoding="utf-8"?>
|
|
722
722
|
<!-- Generator: $$$/GeneralStr/196=Adobe Illustrator 27.6.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
723
723
|
<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"
|
|
724
724
|
viewBox="0 0 40 40" style="enable-background:new 0 0 40 40;" xml:space="preserve">
|
|
725
725
|
<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"/>
|
|
726
726
|
</svg>
|
|
727
|
-
`,
|
|
727
|
+
`, io = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
728
728
|
<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"/>
|
|
729
729
|
</svg>
|
|
730
|
-
`,
|
|
730
|
+
`, ro = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
731
731
|
<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"/>
|
|
732
732
|
</svg>
|
|
733
|
-
`,
|
|
733
|
+
`, no = `<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
734
734
|
<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"/>
|
|
735
735
|
</svg>
|
|
736
|
-
`,
|
|
736
|
+
`, so = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
737
737
|
<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"/>
|
|
738
738
|
</svg>
|
|
739
|
-
`,
|
|
739
|
+
`, ao = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
740
740
|
<path d="M12 17.4585L4 6.4585L20 6.4585L12 17.4585Z" fill="#3F2B2E"/>
|
|
741
741
|
</svg>
|
|
742
|
-
`,
|
|
742
|
+
`, lo = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
743
743
|
<path d="M12 6.4585L20 17.4585H4L12 6.4585Z" fill="#3F2B2E"/>
|
|
744
744
|
</svg>
|
|
745
|
-
`,
|
|
745
|
+
`, co = `<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
746
746
|
<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"/>
|
|
747
747
|
</svg>
|
|
748
|
-
`,
|
|
748
|
+
`, ho = `<svg width="8" height="8" viewBox="0 0 8 8" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
749
749
|
<rect x="1" width="2" height="8" fill="#3F2B2E"/>
|
|
750
750
|
<rect x="5" width="2" height="8" fill="#3F2B2E"/>
|
|
751
751
|
</svg>
|
|
752
|
-
`,
|
|
752
|
+
`, po = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
753
753
|
<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"/>
|
|
754
754
|
</svg>
|
|
755
|
-
`,
|
|
755
|
+
`, uo = `<svg viewBox="0 0 200 200" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg">
|
|
756
756
|
<line x1="0" y1="0" x2="200" y2="200" />
|
|
757
|
-
</svg>`,
|
|
757
|
+
</svg>`, vo = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
758
758
|
<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"/>
|
|
759
759
|
<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"/>
|
|
760
760
|
</svg>
|
|
761
|
-
`,
|
|
761
|
+
`, fo = `<svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
762
762
|
<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"/>
|
|
763
763
|
</svg>
|
|
764
|
-
`,
|
|
764
|
+
`, bo = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
765
765
|
<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"/>
|
|
766
766
|
</svg>
|
|
767
|
-
`,
|
|
767
|
+
`, go = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
768
768
|
<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"/>
|
|
769
769
|
</svg>
|
|
770
|
-
`,
|
|
770
|
+
`, yo = `<svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
771
771
|
<path d="M16.0003 10.1648C16.0003 13.2904 13.4583 15.8332 10.3336 15.8332H7.00026C6.81617 15.8332 6.66693 15.6839 6.66693 15.4997C6.66693 15.3156 6.81617 15.1663 7.00026 15.1663H10.3336C13.0909 15.1663 15.3336 12.923 15.3336 10.1648C15.3336 7.40663 13.0909 5.16328 10.3336 5.16328H1.13826L3.90226 7.92812C4.0326 8.05831 4.03275 8.26955 3.9026 8.39993C3.77244 8.5303 3.56127 8.53045 3.43093 8.40026L0.0975955 5.06592C-0.0325318 4.93571 -0.0325318 4.72465 0.0975955 4.59444L3.43093 1.2601C3.56172 1.13374 3.76962 1.13555 3.8982 1.26416C4.02678 1.39278 4.02859 1.60075 3.90226 1.73158L1.13826 4.49641H10.3336C13.4583 4.49641 16.0003 7.03918 16.0003 10.1648Z" fill="#001022"/>
|
|
772
772
|
</svg>
|
|
773
|
-
`,
|
|
773
|
+
`, mo = `<svg xmlns="http://www.w3.org/2000/svg" width="10" height="8" viewBox="0 0 10 8" fill="none">
|
|
774
774
|
<path d="M1 4.5415L3 6.5415L9 0.541504" stroke="#FBF9F6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
775
775
|
</svg>`, F = {
|
|
776
|
-
wishlist:
|
|
777
|
-
playerv:
|
|
778
|
-
chevronRight:
|
|
779
|
-
chevronLeft:
|
|
780
|
-
icoPlus:
|
|
781
|
-
icoMinus:
|
|
782
|
-
"star-0":
|
|
783
|
-
"star-25":
|
|
784
|
-
"star-50":
|
|
785
|
-
"star-75":
|
|
786
|
-
"star-100":
|
|
787
|
-
cross:
|
|
788
|
-
search:
|
|
789
|
-
arrowLeft:
|
|
790
|
-
arrowTop:
|
|
791
|
-
cart:
|
|
792
|
-
notifyme:
|
|
793
|
-
triangledown:
|
|
794
|
-
triangleup:
|
|
795
|
-
checkstroke:
|
|
796
|
-
pause:
|
|
797
|
-
mapDualArrow:
|
|
798
|
-
swipeDualArrow:
|
|
799
|
-
backToBag:
|
|
800
|
-
checkbox:
|
|
801
|
-
},
|
|
802
|
-
strikeDiagonal:
|
|
803
|
-
},
|
|
804
|
-
success:
|
|
805
|
-
error:
|
|
806
|
-
info:
|
|
776
|
+
wishlist: Ve,
|
|
777
|
+
playerv: qe,
|
|
778
|
+
chevronRight: Ze,
|
|
779
|
+
chevronLeft: Ke,
|
|
780
|
+
icoPlus: eo,
|
|
781
|
+
icoMinus: oo,
|
|
782
|
+
"star-0": We,
|
|
783
|
+
"star-25": Ge,
|
|
784
|
+
"star-50": Xe,
|
|
785
|
+
"star-75": Je,
|
|
786
|
+
"star-100": Qe,
|
|
787
|
+
cross: Ye,
|
|
788
|
+
search: to,
|
|
789
|
+
arrowLeft: io,
|
|
790
|
+
arrowTop: ro,
|
|
791
|
+
cart: no,
|
|
792
|
+
notifyme: so,
|
|
793
|
+
triangledown: ao,
|
|
794
|
+
triangleup: lo,
|
|
795
|
+
checkstroke: co,
|
|
796
|
+
pause: ho,
|
|
797
|
+
mapDualArrow: po,
|
|
798
|
+
swipeDualArrow: vo,
|
|
799
|
+
backToBag: yo,
|
|
800
|
+
checkbox: mo
|
|
801
|
+
}, xo = {
|
|
802
|
+
strikeDiagonal: uo
|
|
803
|
+
}, wo = {
|
|
804
|
+
success: fo,
|
|
805
|
+
error: bo,
|
|
806
|
+
info: go
|
|
807
807
|
};
|
|
808
808
|
/**
|
|
809
809
|
* @license
|
|
810
810
|
* Copyright 2017 Google LLC
|
|
811
811
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
812
812
|
*/
|
|
813
|
-
const
|
|
814
|
-
let
|
|
813
|
+
const qt = { ATTRIBUTE: 1, CHILD: 2 }, Zt = (o) => (...t) => ({ _$litDirective$: o, values: t });
|
|
814
|
+
let Kt = class {
|
|
815
815
|
constructor(t) {
|
|
816
816
|
}
|
|
817
817
|
get _$AU() {
|
|
818
818
|
return this._$AM._$AU;
|
|
819
819
|
}
|
|
820
|
-
_$AT(t, e,
|
|
821
|
-
this._$Ct = t, this._$AM = e, this._$Ci =
|
|
820
|
+
_$AT(t, e, r) {
|
|
821
|
+
this._$Ct = t, this._$AM = e, this._$Ci = r;
|
|
822
822
|
}
|
|
823
823
|
_$AS(t, e) {
|
|
824
824
|
return this.update(t, e);
|
|
@@ -832,9 +832,9 @@ let qt = class {
|
|
|
832
832
|
* Copyright 2017 Google LLC
|
|
833
833
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
834
834
|
*/
|
|
835
|
-
class
|
|
835
|
+
class Dt extends Kt {
|
|
836
836
|
constructor(t) {
|
|
837
|
-
if (super(t), this.it = d, t.type !==
|
|
837
|
+
if (super(t), this.it = d, t.type !== qt.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
|
|
838
838
|
}
|
|
839
839
|
render(t) {
|
|
840
840
|
if (t === d || t == null) return this._t = void 0, this.it = t;
|
|
@@ -846,72 +846,72 @@ class Bt extends qt {
|
|
|
846
846
|
return e.raw = e, this._t = { _$litType$: this.constructor.resultType, strings: e, values: [] };
|
|
847
847
|
}
|
|
848
848
|
}
|
|
849
|
-
|
|
849
|
+
Dt.directiveName = "unsafeHTML", Dt.resultType = 1;
|
|
850
850
|
/**
|
|
851
851
|
* @license
|
|
852
852
|
* Copyright 2017 Google LLC
|
|
853
853
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
854
854
|
*/
|
|
855
|
-
class
|
|
855
|
+
class Ht extends Dt {
|
|
856
856
|
}
|
|
857
|
-
|
|
858
|
-
const
|
|
857
|
+
Ht.directiveName = "unsafeSVG", Ht.resultType = 2;
|
|
858
|
+
const _ = Zt(Ht);
|
|
859
859
|
/**
|
|
860
860
|
* @license
|
|
861
861
|
* Copyright 2020 Google LLC
|
|
862
862
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
863
863
|
*/
|
|
864
|
-
const
|
|
864
|
+
const $o = (o) => o.strings === void 0;
|
|
865
865
|
/**
|
|
866
866
|
* @license
|
|
867
867
|
* Copyright 2017 Google LLC
|
|
868
868
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
869
869
|
*/
|
|
870
870
|
const dt = (o, t) => {
|
|
871
|
-
var
|
|
871
|
+
var r;
|
|
872
872
|
const e = o._$AN;
|
|
873
873
|
if (e === void 0) return !1;
|
|
874
|
-
for (const i of e) (
|
|
874
|
+
for (const i of e) (r = i._$AO) == null || r.call(i, t, !1), dt(i, t);
|
|
875
875
|
return !0;
|
|
876
|
-
},
|
|
876
|
+
}, St = (o) => {
|
|
877
877
|
let t, e;
|
|
878
878
|
do {
|
|
879
879
|
if ((t = o._$AM) === void 0) break;
|
|
880
880
|
e = t._$AN, e.delete(o), o = t;
|
|
881
881
|
} while ((e == null ? void 0 : e.size) === 0);
|
|
882
|
-
},
|
|
882
|
+
}, me = (o) => {
|
|
883
883
|
for (let t; t = o._$AM; o = t) {
|
|
884
884
|
let e = t._$AN;
|
|
885
885
|
if (e === void 0) t._$AN = e = /* @__PURE__ */ new Set();
|
|
886
886
|
else if (e.has(o)) break;
|
|
887
|
-
e.add(o),
|
|
887
|
+
e.add(o), ko(t);
|
|
888
888
|
}
|
|
889
889
|
};
|
|
890
|
-
function
|
|
891
|
-
this._$AN !== void 0 ? (
|
|
890
|
+
function _o(o) {
|
|
891
|
+
this._$AN !== void 0 ? (St(this), this._$AM = o, me(this)) : this._$AM = o;
|
|
892
892
|
}
|
|
893
|
-
function
|
|
894
|
-
const
|
|
895
|
-
if (i !== void 0 && i.size !== 0) if (t) if (Array.isArray(
|
|
896
|
-
else
|
|
893
|
+
function Co(o, t = !1, e = 0) {
|
|
894
|
+
const r = this._$AH, i = this._$AN;
|
|
895
|
+
if (i !== void 0 && i.size !== 0) if (t) if (Array.isArray(r)) for (let n = e; n < r.length; n++) dt(r[n], !1), St(r[n]);
|
|
896
|
+
else r != null && (dt(r, !1), St(r));
|
|
897
897
|
else dt(this, o);
|
|
898
898
|
}
|
|
899
|
-
const
|
|
900
|
-
o.type ==
|
|
899
|
+
const ko = (o) => {
|
|
900
|
+
o.type == qt.CHILD && (o._$AP ?? (o._$AP = Co), o._$AQ ?? (o._$AQ = _o));
|
|
901
901
|
};
|
|
902
|
-
class
|
|
902
|
+
class So extends Kt {
|
|
903
903
|
constructor() {
|
|
904
904
|
super(...arguments), this._$AN = void 0;
|
|
905
905
|
}
|
|
906
|
-
_$AT(t, e,
|
|
907
|
-
super._$AT(t, e,
|
|
906
|
+
_$AT(t, e, r) {
|
|
907
|
+
super._$AT(t, e, r), me(this), this.isConnected = t._$AU;
|
|
908
908
|
}
|
|
909
909
|
_$AO(t, e = !0) {
|
|
910
|
-
var
|
|
911
|
-
t !== this.isConnected && (this.isConnected = t, t ? (
|
|
910
|
+
var r, i;
|
|
911
|
+
t !== this.isConnected && (this.isConnected = t, t ? (r = this.reconnected) == null || r.call(this) : (i = this.disconnected) == null || i.call(this)), e && (dt(this, t), St(this));
|
|
912
912
|
}
|
|
913
913
|
setValue(t) {
|
|
914
|
-
if (
|
|
914
|
+
if ($o(this._$Ct)) this._$Ct._$AI(t, this);
|
|
915
915
|
else {
|
|
916
916
|
const e = [...this._$Ct._$AH];
|
|
917
917
|
e[this._$Ci] = t, this._$Ct._$AI(e, this, 0);
|
|
@@ -922,7 +922,7 @@ class Co extends qt {
|
|
|
922
922
|
reconnected() {
|
|
923
923
|
}
|
|
924
924
|
}
|
|
925
|
-
class
|
|
925
|
+
class Ao extends So {
|
|
926
926
|
constructor() {
|
|
927
927
|
super(...arguments), this.prevData = {};
|
|
928
928
|
}
|
|
@@ -930,49 +930,49 @@ class _o extends Co {
|
|
|
930
930
|
return d;
|
|
931
931
|
}
|
|
932
932
|
update(t, [e]) {
|
|
933
|
-
var
|
|
934
|
-
this.element !== t.element && (this.element = t.element), this.host = ((
|
|
933
|
+
var r;
|
|
934
|
+
this.element !== t.element && (this.element = t.element), this.host = ((r = t.options) === null || r === void 0 ? void 0 : r.host) || this.element, this.apply(e), this.groom(e), this.prevData = { ...e };
|
|
935
935
|
}
|
|
936
936
|
apply(t) {
|
|
937
937
|
if (!t)
|
|
938
938
|
return;
|
|
939
|
-
const { prevData: e, element:
|
|
939
|
+
const { prevData: e, element: r } = this;
|
|
940
940
|
for (const i in t) {
|
|
941
|
-
const
|
|
942
|
-
|
|
941
|
+
const n = t[i];
|
|
942
|
+
n !== e[i] && (r[i] = n);
|
|
943
943
|
}
|
|
944
944
|
}
|
|
945
945
|
groom(t) {
|
|
946
|
-
const { prevData: e, element:
|
|
946
|
+
const { prevData: e, element: r } = this;
|
|
947
947
|
if (e)
|
|
948
948
|
for (const i in e)
|
|
949
|
-
(!t || !(i in t) &&
|
|
949
|
+
(!t || !(i in t) && r[i] === e[i]) && (r[i] = void 0);
|
|
950
950
|
}
|
|
951
951
|
}
|
|
952
|
-
class
|
|
952
|
+
class Eo extends Ao {
|
|
953
953
|
constructor() {
|
|
954
954
|
super(...arguments), this.eventData = {};
|
|
955
955
|
}
|
|
956
956
|
apply(t) {
|
|
957
957
|
if (t)
|
|
958
958
|
for (const e in t) {
|
|
959
|
-
const
|
|
960
|
-
|
|
959
|
+
const r = t[e];
|
|
960
|
+
r !== this.eventData[e] && this.applyEvent(e, r);
|
|
961
961
|
}
|
|
962
962
|
}
|
|
963
963
|
applyEvent(t, e) {
|
|
964
|
-
const { prevData:
|
|
965
|
-
this.eventData[t] = e,
|
|
964
|
+
const { prevData: r, element: i } = this;
|
|
965
|
+
this.eventData[t] = e, r[t] && i.removeEventListener(t, this, e), i.addEventListener(t, this, e);
|
|
966
966
|
}
|
|
967
967
|
groom(t) {
|
|
968
|
-
const { prevData: e, element:
|
|
968
|
+
const { prevData: e, element: r } = this;
|
|
969
969
|
if (e)
|
|
970
970
|
for (const i in e)
|
|
971
|
-
(!t || !(i in t) &&
|
|
971
|
+
(!t || !(i in t) && r[i] === e[i]) && this.groomEvent(i, e[i]);
|
|
972
972
|
}
|
|
973
973
|
groomEvent(t, e) {
|
|
974
|
-
const { element:
|
|
975
|
-
delete this.eventData[t],
|
|
974
|
+
const { element: r } = this;
|
|
975
|
+
delete this.eventData[t], r.removeEventListener(t, this, e);
|
|
976
976
|
}
|
|
977
977
|
handleEvent(t) {
|
|
978
978
|
const e = this.eventData[t.type];
|
|
@@ -980,79 +980,79 @@ class ko extends _o {
|
|
|
980
980
|
}
|
|
981
981
|
disconnected() {
|
|
982
982
|
const { eventData: t, element: e } = this;
|
|
983
|
-
for (const
|
|
984
|
-
const i =
|
|
985
|
-
e.removeEventListener(i, this,
|
|
983
|
+
for (const r in t) {
|
|
984
|
+
const i = r.slice(1), n = t[r];
|
|
985
|
+
e.removeEventListener(i, this, n);
|
|
986
986
|
}
|
|
987
987
|
}
|
|
988
988
|
reconnected() {
|
|
989
989
|
const { eventData: t, element: e } = this;
|
|
990
|
-
for (const
|
|
991
|
-
const i =
|
|
992
|
-
e.addEventListener(i, this,
|
|
990
|
+
for (const r in t) {
|
|
991
|
+
const i = r.slice(1), n = t[r];
|
|
992
|
+
e.addEventListener(i, this, n);
|
|
993
993
|
}
|
|
994
994
|
}
|
|
995
995
|
}
|
|
996
|
-
class
|
|
996
|
+
class Lo extends Eo {
|
|
997
997
|
apply(t) {
|
|
998
998
|
if (!t)
|
|
999
999
|
return;
|
|
1000
|
-
const { prevData: e, element:
|
|
1000
|
+
const { prevData: e, element: r } = this;
|
|
1001
1001
|
for (const i in t) {
|
|
1002
|
-
const
|
|
1003
|
-
if (
|
|
1002
|
+
const n = t[i];
|
|
1003
|
+
if (n === e[i])
|
|
1004
1004
|
continue;
|
|
1005
1005
|
const s = i.slice(1);
|
|
1006
1006
|
switch (i[0]) {
|
|
1007
1007
|
case "@":
|
|
1008
|
-
this.eventData[s] =
|
|
1008
|
+
this.eventData[s] = n, this.applyEvent(s, n);
|
|
1009
1009
|
break;
|
|
1010
1010
|
case ".":
|
|
1011
|
-
|
|
1011
|
+
r[s] = n;
|
|
1012
1012
|
break;
|
|
1013
1013
|
case "?":
|
|
1014
|
-
|
|
1014
|
+
n ? r.setAttribute(s, "") : r.removeAttribute(s);
|
|
1015
1015
|
break;
|
|
1016
1016
|
default:
|
|
1017
|
-
|
|
1017
|
+
n != null ? r.setAttribute(i, String(n)) : r.removeAttribute(i);
|
|
1018
1018
|
break;
|
|
1019
1019
|
}
|
|
1020
1020
|
}
|
|
1021
1021
|
}
|
|
1022
1022
|
groom(t) {
|
|
1023
|
-
const { prevData: e, element:
|
|
1023
|
+
const { prevData: e, element: r } = this;
|
|
1024
1024
|
if (e)
|
|
1025
1025
|
for (const i in e) {
|
|
1026
|
-
const
|
|
1027
|
-
if (!t || !(i in t) && n
|
|
1026
|
+
const n = i.slice(1);
|
|
1027
|
+
if (!t || !(i in t) && r[n] === e[i])
|
|
1028
1028
|
switch (i[0]) {
|
|
1029
1029
|
case "@":
|
|
1030
|
-
this.groomEvent(
|
|
1030
|
+
this.groomEvent(n, e[i]);
|
|
1031
1031
|
break;
|
|
1032
1032
|
case ".":
|
|
1033
|
-
n
|
|
1033
|
+
r[n] = void 0;
|
|
1034
1034
|
break;
|
|
1035
1035
|
case "?":
|
|
1036
|
-
|
|
1036
|
+
r.removeAttribute(n);
|
|
1037
1037
|
break;
|
|
1038
1038
|
default:
|
|
1039
|
-
|
|
1039
|
+
r.removeAttribute(i);
|
|
1040
1040
|
break;
|
|
1041
1041
|
}
|
|
1042
1042
|
}
|
|
1043
1043
|
}
|
|
1044
1044
|
}
|
|
1045
|
-
const
|
|
1045
|
+
const de = Zt(Lo);
|
|
1046
1046
|
/**
|
|
1047
1047
|
* @license
|
|
1048
1048
|
* Copyright 2018 Google LLC
|
|
1049
1049
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1050
1050
|
*/
|
|
1051
1051
|
const S = (o) => o ?? d;
|
|
1052
|
-
var
|
|
1053
|
-
for (var i =
|
|
1054
|
-
(s = o[
|
|
1055
|
-
return
|
|
1052
|
+
var Po = Object.defineProperty, Oo = Object.getOwnPropertyDescriptor, H = (o, t, e, r) => {
|
|
1053
|
+
for (var i = r > 1 ? void 0 : r ? Oo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
1054
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
1055
|
+
return r && i && Po(t, e, i), i;
|
|
1056
1056
|
};
|
|
1057
1057
|
let A = class extends u {
|
|
1058
1058
|
constructor() {
|
|
@@ -1062,11 +1062,11 @@ let A = class extends u {
|
|
|
1062
1062
|
super.updated(o), this.style.setProperty("--icon-stroke-width", this.strokewidth);
|
|
1063
1063
|
}
|
|
1064
1064
|
render() {
|
|
1065
|
-
const o = F[this.icon] ?? "", t = `icon-${this.icon}`, e = o.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"'),
|
|
1065
|
+
const o = F[this.icon] ?? "", t = `icon-${this.icon}`, e = o.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"'), r = this.showSrLabel ? l`<span class="sr-only">${this.srLabel}</span>` : null, i = this.showSrLabel ? null : "icon";
|
|
1066
1066
|
return l`
|
|
1067
1067
|
${this.type === "span" ? l`
|
|
1068
1068
|
<span class="icon icon-button ${this.size} ${this.bgstyle} ${this.status} ${t}" ?disabled="${this.disabled}">
|
|
1069
|
-
${
|
|
1069
|
+
${_(e)}
|
|
1070
1070
|
</span>
|
|
1071
1071
|
` : l`
|
|
1072
1072
|
<button
|
|
@@ -1075,14 +1075,14 @@ let A = class extends u {
|
|
|
1075
1075
|
class="icon-button ${this.size} ${this.bgstyle} ${this.status} ${t}"
|
|
1076
1076
|
?disabled="${this.disabled}"
|
|
1077
1077
|
>
|
|
1078
|
-
${
|
|
1079
|
-
${
|
|
1078
|
+
${_(e)}
|
|
1079
|
+
${r}
|
|
1080
1080
|
</button>
|
|
1081
1081
|
`}
|
|
1082
1082
|
`;
|
|
1083
1083
|
}
|
|
1084
1084
|
};
|
|
1085
|
-
A.styles =
|
|
1085
|
+
A.styles = v`
|
|
1086
1086
|
:host {
|
|
1087
1087
|
display: inline-flex;
|
|
1088
1088
|
justify-content: center;
|
|
@@ -1287,7 +1287,7 @@ A.styles = f`
|
|
|
1287
1287
|
}
|
|
1288
1288
|
|
|
1289
1289
|
.icon-button:focus-visible {
|
|
1290
|
-
${
|
|
1290
|
+
${ot}
|
|
1291
1291
|
}
|
|
1292
1292
|
|
|
1293
1293
|
.sr-only {
|
|
@@ -1322,20 +1322,20 @@ H([
|
|
|
1322
1322
|
a({ type: String })
|
|
1323
1323
|
], A.prototype, "srLabel", 2);
|
|
1324
1324
|
A = H([
|
|
1325
|
-
|
|
1325
|
+
g("o-icon-button")
|
|
1326
1326
|
], A);
|
|
1327
|
-
var
|
|
1328
|
-
for (var i =
|
|
1329
|
-
(s = o[
|
|
1330
|
-
return
|
|
1327
|
+
var Io = Object.defineProperty, zo = Object.getOwnPropertyDescriptor, b = (o, t, e, r) => {
|
|
1328
|
+
for (var i = r > 1 ? void 0 : r ? zo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
1329
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
1330
|
+
return r && i && Io(t, e, i), i;
|
|
1331
1331
|
};
|
|
1332
1332
|
let p = class extends u {
|
|
1333
1333
|
constructor() {
|
|
1334
|
-
super(...arguments), this.open = !1, this.showHeader = !0, this.showFooter = !1, this.showHeaderStartIcon = !1, this.headerTitle = "", this.headerTitleClassName = "panel-title", this.closeButtonLabel = "Close the modal", this.firstButtonLabel = "Close", this.firstButtonVariant = "primary", this.firstButtonProps = {}, this.onFirstButtonClickClose = !1, this.secondButtonLabel = "", this.secondButtonVariant = "secondary", this.secondButtonProps = {}, this.onSecondButtonClickClose = !1, this.disablePortal = !1, this.zIndex = 99, this.initialized = !1, this.showDetail = !1, this.isHidingDetail = !1, this.previousFocusedElement = null, this._onOpenDetail = async (o) => {
|
|
1335
|
-
var e,
|
|
1334
|
+
super(...arguments), this.open = !1, this.showHeader = !0, this.showFooter = !1, this.showHeaderStartIcon = !1, this.headerTitle = "", this.headerTitleClassName = "panel-title", this.labelDialog = "", this.closeButtonLabel = "Close the modal", this.goBackButtonLabel = "Go back to", this.firstButtonLabel = "Close", this.firstButtonVariant = "primary", this.firstButtonProps = {}, this.onFirstButtonClickClose = !1, this.secondButtonLabel = "", this.secondButtonVariant = "secondary", this.secondButtonProps = {}, this.onSecondButtonClickClose = !1, this.disablePortal = !1, this.zIndex = 99, this.initialized = !1, this.showDetail = !1, this.isHidingDetail = !1, this.previousFocusedElement = null, this._onOpenDetail = async (o) => {
|
|
1335
|
+
var e, r;
|
|
1336
1336
|
const t = ((e = o.detail) == null ? void 0 : e.origin) ?? document.activeElement;
|
|
1337
1337
|
if (this._detailOriginEl = t, this._detailOriginClass = (t == null ? void 0 : t.className) ?? "", this.showDetail = !0, this.showHeaderStartIcon = !0, await this.updateComplete, this._detailOriginClass) {
|
|
1338
|
-
const i = (
|
|
1338
|
+
const i = (r = this.shadowRoot) == null ? void 0 : r.querySelector(".detail-view");
|
|
1339
1339
|
i && i.setAttribute("fromelement", this._detailOriginClass);
|
|
1340
1340
|
}
|
|
1341
1341
|
this._setPriceTabindex(), await this.focusDetailReturnBtn();
|
|
@@ -1348,23 +1348,23 @@ let p = class extends u {
|
|
|
1348
1348
|
const t = o.currentTarget, e = (t == null ? void 0 : t.getAttribute("data-role")) === "back";
|
|
1349
1349
|
if (this.showDetail && e) {
|
|
1350
1350
|
this.isHidingDetail = !0;
|
|
1351
|
-
const
|
|
1351
|
+
const r = this.renderRoot.querySelector(".content"), i = async () => {
|
|
1352
1352
|
this.showDetail = !1, this.isHidingDetail = !1, this.showHeaderStartIcon = !1, await this.updateComplete, this._restoreFocusToOrigin();
|
|
1353
1353
|
};
|
|
1354
|
-
if (
|
|
1354
|
+
if (r) {
|
|
1355
1355
|
this.showHeaderStartIcon = !1;
|
|
1356
|
-
const
|
|
1357
|
-
this.showDetail = !1, this.isHidingDetail = !1,
|
|
1356
|
+
const n = () => {
|
|
1357
|
+
this.showDetail = !1, this.isHidingDetail = !1, r.removeEventListener("animationend", n), i();
|
|
1358
1358
|
};
|
|
1359
|
-
|
|
1359
|
+
r.addEventListener("animationend", n);
|
|
1360
1360
|
} else
|
|
1361
1361
|
this.showDetail = !1, this.isHidingDetail = !1, this.showHeaderStartIcon = !1;
|
|
1362
1362
|
return;
|
|
1363
1363
|
}
|
|
1364
1364
|
this.closePanel();
|
|
1365
1365
|
}, this._onDetailSlotChange = (o) => {
|
|
1366
|
-
const
|
|
1367
|
-
|
|
1366
|
+
const r = o.target.assignedElements({ flatten: !0 }).flatMap((i) => Array.from(i.querySelectorAll("img")))[0];
|
|
1367
|
+
r && (r.setAttribute("role", "img"), r.hasAttribute("tabindex") || r.setAttribute("tabindex", "-1"));
|
|
1368
1368
|
};
|
|
1369
1369
|
}
|
|
1370
1370
|
connectedCallback() {
|
|
@@ -1376,7 +1376,7 @@ let p = class extends u {
|
|
|
1376
1376
|
document.body.style.overflow = "", document.body.removeAttribute("data-side-panel"), this.removeEventListener("keydown", this.handleKeyDown), super.disconnectedCallback(), this.removeEventListener("open-detail", this._onOpenDetail);
|
|
1377
1377
|
}
|
|
1378
1378
|
async focusDetailReturnBtn() {
|
|
1379
|
-
var n,
|
|
1379
|
+
var i, n, s, h, c;
|
|
1380
1380
|
await this.updateComplete;
|
|
1381
1381
|
const o = this.getDeepActiveElement(document);
|
|
1382
1382
|
if (o && o !== document.body)
|
|
@@ -1385,13 +1385,15 @@ let p = class extends u {
|
|
|
1385
1385
|
} catch {
|
|
1386
1386
|
}
|
|
1387
1387
|
await new Promise(requestAnimationFrame);
|
|
1388
|
-
const t = (
|
|
1388
|
+
const t = (i = this.shadowRoot) == null ? void 0 : i.querySelector(".detail-view .return-btn");
|
|
1389
1389
|
if (!t) return;
|
|
1390
|
-
t.updateComplete && await t.updateComplete, (
|
|
1390
|
+
t.updateComplete && await t.updateComplete, (h = (s = ((n = t.shadowRoot) == null ? void 0 : n.querySelector("button")) ?? t) == null ? void 0 : s.focus) == null || h.call(s, { preventScroll: !0 });
|
|
1391
|
+
const r = (c = this.shadowRoot) == null ? void 0 : c.querySelector('.panel[role="dialog"]');
|
|
1392
|
+
r && r.setAttribute("aria-label", this.headerTitle);
|
|
1391
1393
|
}
|
|
1392
1394
|
_setPriceTabindex() {
|
|
1393
|
-
var
|
|
1394
|
-
const o = (
|
|
1395
|
+
var r;
|
|
1396
|
+
const o = (r = this.shadowRoot) == null ? void 0 : r.querySelector('slot[name="detail"]');
|
|
1395
1397
|
if (!o) return;
|
|
1396
1398
|
const e = o.assignedElements({ flatten: !0 }).flatMap(
|
|
1397
1399
|
(i) => Array.from(i.querySelectorAll(".m-product-price-standard"))
|
|
@@ -1418,10 +1420,10 @@ let p = class extends u {
|
|
|
1418
1420
|
const t = this.getDeepActiveElement(), e = this.renderRoot.querySelector(".close-btn");
|
|
1419
1421
|
if (!o.shiftKey && e && e.contains(t)) {
|
|
1420
1422
|
o.preventDefault();
|
|
1421
|
-
const
|
|
1423
|
+
const r = this.renderRoot.querySelector(
|
|
1422
1424
|
".o-whats-inside--content p"
|
|
1423
1425
|
);
|
|
1424
|
-
|
|
1426
|
+
r == null || r.focus();
|
|
1425
1427
|
}
|
|
1426
1428
|
}
|
|
1427
1429
|
getFocusableElements() {
|
|
@@ -1432,16 +1434,16 @@ let p = class extends u {
|
|
|
1432
1434
|
}
|
|
1433
1435
|
function e(i) {
|
|
1434
1436
|
var s;
|
|
1435
|
-
const
|
|
1437
|
+
const n = [i.matches(p.focusablesSelector) ? i : []];
|
|
1436
1438
|
if (!["o-icon-button", "o-button"].includes(i.tagName.toLowerCase())) {
|
|
1437
1439
|
const h = Array.from(
|
|
1438
1440
|
i instanceof HTMLSlotElement ? i.assignedElements({ flatten: !0 }) : []
|
|
1439
1441
|
).filter(t).flatMap(e), c = Array.from(
|
|
1440
1442
|
((s = i.shadowRoot) == null ? void 0 : s.querySelectorAll("*")) || []
|
|
1441
1443
|
).filter(t).flatMap(e);
|
|
1442
|
-
|
|
1444
|
+
n.push(...h, ...c);
|
|
1443
1445
|
}
|
|
1444
|
-
return
|
|
1446
|
+
return n.flat();
|
|
1445
1447
|
}
|
|
1446
1448
|
return Array.from(o.querySelectorAll("*")).filter(t).flatMap(e);
|
|
1447
1449
|
}
|
|
@@ -1449,21 +1451,21 @@ let p = class extends u {
|
|
|
1449
1451
|
this.removeAttribute("hidden"), this.getBoundingClientRect(), this.previousFocusedElement = document.activeElement, this.open = !0, document.body.style.overflow = "hidden", document.body.setAttribute("data-side-panel", "open");
|
|
1450
1452
|
const o = this.renderRoot.querySelector(".panel");
|
|
1451
1453
|
o && o.setAttribute("aria-modal", "true"), this.updateComplete.then(() => {
|
|
1452
|
-
var t, e,
|
|
1454
|
+
var t, e, r, i;
|
|
1453
1455
|
if (this.showHeader) {
|
|
1454
|
-
const
|
|
1455
|
-
s && ((
|
|
1456
|
+
const n = ((t = this.shadowRoot) == null ? void 0 : t.querySelector(".panel .close-btn")) || null, s = ((e = n == null ? void 0 : n.shadowRoot) == null ? void 0 : e.querySelector("button")) || null;
|
|
1457
|
+
s && ((r = s.focus) == null || r.call(s));
|
|
1456
1458
|
} else {
|
|
1457
|
-
const
|
|
1458
|
-
(i =
|
|
1459
|
+
const n = this.getFocusableElements()[0];
|
|
1460
|
+
(i = n == null ? void 0 : n.focus) == null || i.call(n);
|
|
1459
1461
|
}
|
|
1460
1462
|
}), this.dispatchEvent(
|
|
1461
1463
|
new CustomEvent("open", { bubbles: !0, composed: !0 })
|
|
1462
1464
|
);
|
|
1463
1465
|
}
|
|
1464
1466
|
closePanel() {
|
|
1465
|
-
var t, e,
|
|
1466
|
-
this.open = !1, this.showDetail = !1, document.body.style.overflow = "", document.body.removeAttribute("data-side-panel"), ((t = this.previousFocusedElement) == null ? void 0 : t.tagName.toLowerCase()) === "o-button" ? (i = (
|
|
1467
|
+
var t, e, r, i, n;
|
|
1468
|
+
this.open = !1, this.showDetail = !1, document.body.style.overflow = "", document.body.removeAttribute("data-side-panel"), ((t = this.previousFocusedElement) == null ? void 0 : t.tagName.toLowerCase()) === "o-button" ? (i = (r = (e = this.previousFocusedElement.shadowRoot) == null ? void 0 : e.querySelector(".button")) == null ? void 0 : r.focus) == null || i.call(r) : (n = this.previousFocusedElement) == null || n.focus();
|
|
1467
1469
|
const o = this.renderRoot.querySelector(".panel");
|
|
1468
1470
|
o && o.removeAttribute("aria-modal"), this.dispatchEvent(
|
|
1469
1471
|
new CustomEvent("close", { bubbles: !0, composed: !0 })
|
|
@@ -1502,36 +1504,34 @@ let p = class extends u {
|
|
|
1502
1504
|
}
|
|
1503
1505
|
render() {
|
|
1504
1506
|
const o = this.showHeader ? l`
|
|
1505
|
-
<div tabindex="-1" class="header">
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
size="small"
|
|
1510
|
-
class="return-btn"
|
|
1511
|
-
bgstyle="background-light"
|
|
1512
|
-
data-role="back"
|
|
1513
|
-
@click=${this.handleClosePanel}
|
|
1514
|
-
@keydown=${this.handleClosePanel}
|
|
1515
|
-
aria-label="${this.closeButtonLabel}"
|
|
1516
|
-
srlabel="${this.closeButtonLabel}"
|
|
1517
|
-
showsrlabel="true"
|
|
1518
|
-
></o-icon-button>
|
|
1519
|
-
` : null}
|
|
1520
|
-
<p role="heading" aria-level="1" id="panel-title" class="${this.headerTitleClassName}">
|
|
1521
|
-
${this.headerTitle}
|
|
1522
|
-
</p>
|
|
1523
|
-
<o-icon-button
|
|
1524
|
-
icon="cross"
|
|
1507
|
+
<div tabindex="-1" class="header ${this.showDetail ? "detail-view-header" : ""}">
|
|
1508
|
+
${this.showHeaderStartIcon ? l`
|
|
1509
|
+
<o-icon-button
|
|
1510
|
+
icon="arrowLeft"
|
|
1525
1511
|
size="small"
|
|
1526
|
-
class="
|
|
1512
|
+
class="return-btn"
|
|
1527
1513
|
bgstyle="background-light"
|
|
1514
|
+
data-role="back"
|
|
1528
1515
|
@click=${this.handleClosePanel}
|
|
1529
1516
|
@keydown=${this.handleClosePanel}
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1517
|
+
srlabel="${this.goBackButtonLabel} ${this.labelDialog}"
|
|
1518
|
+
showsrlabel="true"
|
|
1519
|
+
tabindex="-1"
|
|
1520
|
+
></o-icon-button>
|
|
1521
|
+
` : null}
|
|
1522
|
+
<p role="heading" aria-level="1" id="panel-title" class="${this.headerTitleClassName}">
|
|
1523
|
+
${this.headerTitle}
|
|
1524
|
+
</p>
|
|
1525
|
+
<o-icon-button
|
|
1526
|
+
icon="cross"
|
|
1527
|
+
size="small"
|
|
1528
|
+
class="close-btn"
|
|
1529
|
+
bgstyle="background-light"
|
|
1530
|
+
@click=${this.handleClosePanel}
|
|
1531
|
+
@keydown=${this.handleClosePanel}
|
|
1532
|
+
srlabel="${this.closeButtonLabel}"
|
|
1533
|
+
showsrlabel="true"
|
|
1534
|
+
></o-icon-button>
|
|
1535
1535
|
</div>
|
|
1536
1536
|
` : null;
|
|
1537
1537
|
return l`
|
|
@@ -1540,7 +1540,7 @@ let p = class extends u {
|
|
|
1540
1540
|
class="panel"
|
|
1541
1541
|
role="dialog"
|
|
1542
1542
|
aria-modal="true"
|
|
1543
|
-
aria-labelledby="
|
|
1543
|
+
aria-labelledby="${this.labelDialog}"
|
|
1544
1544
|
style="z-index: ${this.zIndex + 1}"
|
|
1545
1545
|
tabindex="-1"
|
|
1546
1546
|
>
|
|
@@ -1566,7 +1566,7 @@ let p = class extends u {
|
|
|
1566
1566
|
variant="${this.firstButtonVariant}"
|
|
1567
1567
|
@click=${this.handleFirstClick}
|
|
1568
1568
|
@keydown=${this.handleFirstClick}
|
|
1569
|
-
${
|
|
1569
|
+
${de(this.firstButtonProps)}
|
|
1570
1570
|
>
|
|
1571
1571
|
${this.firstButtonLabel}
|
|
1572
1572
|
</o-button>
|
|
@@ -1577,7 +1577,7 @@ let p = class extends u {
|
|
|
1577
1577
|
variant="${this.secondButtonVariant}"
|
|
1578
1578
|
@click=${this.handleSecondClick}
|
|
1579
1579
|
@keydown=${this.handleSecondClick}
|
|
1580
|
-
${
|
|
1580
|
+
${de(this.secondButtonProps)}
|
|
1581
1581
|
>
|
|
1582
1582
|
${this.secondButtonLabel}
|
|
1583
1583
|
</o-button>
|
|
@@ -1589,7 +1589,7 @@ let p = class extends u {
|
|
|
1589
1589
|
`;
|
|
1590
1590
|
}
|
|
1591
1591
|
};
|
|
1592
|
-
p.styles =
|
|
1592
|
+
p.styles = v`
|
|
1593
1593
|
:host {
|
|
1594
1594
|
--z-overlay: 99;
|
|
1595
1595
|
--z-panel: 100;
|
|
@@ -1687,11 +1687,23 @@ p.styles = f`
|
|
|
1687
1687
|
.return-btn {
|
|
1688
1688
|
margin-right: 8px;
|
|
1689
1689
|
}
|
|
1690
|
+
|
|
1691
|
+
&.detail-view-header {
|
|
1692
|
+
display: none;
|
|
1693
|
+
}
|
|
1694
|
+
}
|
|
1695
|
+
|
|
1696
|
+
.detail-view {
|
|
1697
|
+
.header {
|
|
1698
|
+
&.detail-view-header {
|
|
1699
|
+
display: flex;
|
|
1700
|
+
}
|
|
1701
|
+
}
|
|
1690
1702
|
}
|
|
1691
1703
|
|
|
1692
1704
|
.panel:focus-visible,
|
|
1693
1705
|
.close-btn:focus-visible {
|
|
1694
|
-
${
|
|
1706
|
+
${ot}
|
|
1695
1707
|
}
|
|
1696
1708
|
|
|
1697
1709
|
[role="document"] {
|
|
@@ -1781,76 +1793,82 @@ p.styles = f`
|
|
|
1781
1793
|
`;
|
|
1782
1794
|
p.focusablesSelector = 'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"]), o-icon-button, o-button';
|
|
1783
1795
|
p.focusablesCustomElementsSelector = "o-icon-button, o-button";
|
|
1784
|
-
|
|
1796
|
+
b([
|
|
1785
1797
|
a({ type: Boolean, reflect: !0 })
|
|
1786
1798
|
], p.prototype, "open", 2);
|
|
1787
|
-
|
|
1799
|
+
b([
|
|
1788
1800
|
a({ type: Boolean, reflect: !0 })
|
|
1789
1801
|
], p.prototype, "showHeader", 2);
|
|
1790
|
-
|
|
1802
|
+
b([
|
|
1791
1803
|
a({ type: Boolean, reflect: !0 })
|
|
1792
1804
|
], p.prototype, "showFooter", 2);
|
|
1793
|
-
|
|
1805
|
+
b([
|
|
1794
1806
|
a({ type: Boolean, reflect: !0 })
|
|
1795
1807
|
], p.prototype, "showHeaderStartIcon", 2);
|
|
1796
|
-
|
|
1808
|
+
b([
|
|
1797
1809
|
a({ type: String, reflect: !0 })
|
|
1798
1810
|
], p.prototype, "headerTitle", 2);
|
|
1799
|
-
|
|
1811
|
+
b([
|
|
1800
1812
|
a({ type: String, reflect: !0 })
|
|
1801
1813
|
], p.prototype, "headerTitleClassName", 2);
|
|
1802
|
-
|
|
1814
|
+
b([
|
|
1815
|
+
a({ type: String, reflect: !0 })
|
|
1816
|
+
], p.prototype, "labelDialog", 2);
|
|
1817
|
+
b([
|
|
1803
1818
|
a({ type: String, reflect: !0 })
|
|
1804
1819
|
], p.prototype, "closeButtonLabel", 2);
|
|
1805
|
-
|
|
1820
|
+
b([
|
|
1821
|
+
a({ type: String, reflect: !0 })
|
|
1822
|
+
], p.prototype, "goBackButtonLabel", 2);
|
|
1823
|
+
b([
|
|
1806
1824
|
a({ type: String, reflect: !0 })
|
|
1807
1825
|
], p.prototype, "firstButtonLabel", 2);
|
|
1808
|
-
|
|
1826
|
+
b([
|
|
1809
1827
|
a({ type: String, reflect: !0 })
|
|
1810
1828
|
], p.prototype, "firstButtonVariant", 2);
|
|
1811
|
-
|
|
1829
|
+
b([
|
|
1812
1830
|
a({ type: Object, reflect: !0 })
|
|
1813
1831
|
], p.prototype, "firstButtonProps", 2);
|
|
1814
|
-
|
|
1832
|
+
b([
|
|
1815
1833
|
a({ type: Boolean, reflect: !0 })
|
|
1816
1834
|
], p.prototype, "onFirstButtonClickClose", 2);
|
|
1817
|
-
|
|
1835
|
+
b([
|
|
1818
1836
|
a({ type: String, reflect: !0 })
|
|
1819
1837
|
], p.prototype, "secondButtonLabel", 2);
|
|
1820
|
-
|
|
1838
|
+
b([
|
|
1821
1839
|
a({ type: String, reflect: !0 })
|
|
1822
1840
|
], p.prototype, "secondButtonVariant", 2);
|
|
1823
|
-
|
|
1841
|
+
b([
|
|
1824
1842
|
a({ type: Object, reflect: !0 })
|
|
1825
1843
|
], p.prototype, "secondButtonProps", 2);
|
|
1826
|
-
|
|
1844
|
+
b([
|
|
1827
1845
|
a({ type: Boolean, reflect: !0 })
|
|
1828
1846
|
], p.prototype, "onSecondButtonClickClose", 2);
|
|
1829
|
-
|
|
1847
|
+
b([
|
|
1830
1848
|
a({ type: Boolean, reflect: !0 })
|
|
1831
1849
|
], p.prototype, "disablePortal", 2);
|
|
1832
|
-
|
|
1850
|
+
b([
|
|
1833
1851
|
a({ type: Number, reflect: !0 })
|
|
1834
1852
|
], p.prototype, "zIndex", 2);
|
|
1835
|
-
|
|
1853
|
+
b([
|
|
1836
1854
|
a({ type: Boolean, reflect: !0 })
|
|
1837
1855
|
], p.prototype, "initialized", 2);
|
|
1838
|
-
|
|
1856
|
+
b([
|
|
1839
1857
|
a({ type: Boolean })
|
|
1840
1858
|
], p.prototype, "showDetail", 2);
|
|
1841
|
-
|
|
1859
|
+
b([
|
|
1842
1860
|
a({ type: Boolean })
|
|
1843
1861
|
], p.prototype, "isHidingDetail", 2);
|
|
1844
|
-
p =
|
|
1845
|
-
|
|
1862
|
+
p = b([
|
|
1863
|
+
g("o-side-panel")
|
|
1846
1864
|
], p);
|
|
1847
|
-
var
|
|
1848
|
-
for (var i =
|
|
1849
|
-
(s = o[
|
|
1850
|
-
return
|
|
1865
|
+
var Bo = Object.defineProperty, Do = Object.getOwnPropertyDescriptor, x = (o, t, e, r) => {
|
|
1866
|
+
for (var i = r > 1 ? void 0 : r ? Do(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
1867
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
1868
|
+
return r && i && Bo(t, e, i), i;
|
|
1851
1869
|
};
|
|
1852
|
-
const
|
|
1853
|
-
let
|
|
1870
|
+
const Ho = Vt(u);
|
|
1871
|
+
let y = class extends Ho {
|
|
1854
1872
|
constructor() {
|
|
1855
1873
|
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;
|
|
1856
1874
|
}
|
|
@@ -1861,7 +1879,7 @@ let b = class extends zo {
|
|
|
1861
1879
|
this.setAttribute("name", o);
|
|
1862
1880
|
}
|
|
1863
1881
|
get form() {
|
|
1864
|
-
return this[
|
|
1882
|
+
return this[Ut].form;
|
|
1865
1883
|
}
|
|
1866
1884
|
handleClick(o) {
|
|
1867
1885
|
if (!(o instanceof KeyboardEvent && !["Enter", " "].includes(o.key)) && this.panelTarget) {
|
|
@@ -1879,7 +1897,7 @@ let b = class extends zo {
|
|
|
1879
1897
|
"<svg",
|
|
1880
1898
|
'<svg aria-hidden="true" focusable="false" part="svg"'
|
|
1881
1899
|
);
|
|
1882
|
-
return l`<span class="${o === "start" ? "icon-start" : "icon-end"}">${
|
|
1900
|
+
return l`<span class="${o === "start" ? "icon-start" : "icon-end"}">${_(e)}</span>`;
|
|
1883
1901
|
}
|
|
1884
1902
|
renderButton() {
|
|
1885
1903
|
const o = this.text || this.textsecond;
|
|
@@ -1918,9 +1936,9 @@ let b = class extends zo {
|
|
|
1918
1936
|
`;
|
|
1919
1937
|
}
|
|
1920
1938
|
};
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1939
|
+
Ue(y);
|
|
1940
|
+
y.formAssociated = !0;
|
|
1941
|
+
y.styles = v`
|
|
1924
1942
|
:host {
|
|
1925
1943
|
--button-border: transparent;
|
|
1926
1944
|
--badge-outer-width: 19px;
|
|
@@ -2037,7 +2055,7 @@ b.styles = f`
|
|
|
2037
2055
|
}
|
|
2038
2056
|
|
|
2039
2057
|
.button:focus-visible {
|
|
2040
|
-
${
|
|
2058
|
+
${ot};
|
|
2041
2059
|
}
|
|
2042
2060
|
|
|
2043
2061
|
span.text + span.text::before {
|
|
@@ -2124,61 +2142,61 @@ b.styles = f`
|
|
|
2124
2142
|
`;
|
|
2125
2143
|
x([
|
|
2126
2144
|
a()
|
|
2127
|
-
],
|
|
2145
|
+
], y.prototype, "type", 2);
|
|
2128
2146
|
x([
|
|
2129
2147
|
a()
|
|
2130
|
-
],
|
|
2148
|
+
], y.prototype, "value", 2);
|
|
2131
2149
|
x([
|
|
2132
2150
|
a({ type: String, reflect: !0 })
|
|
2133
|
-
],
|
|
2151
|
+
], y.prototype, "variant", 2);
|
|
2134
2152
|
x([
|
|
2135
2153
|
a({ type: String })
|
|
2136
|
-
],
|
|
2154
|
+
], y.prototype, "text", 2);
|
|
2137
2155
|
x([
|
|
2138
2156
|
a({ type: String })
|
|
2139
|
-
],
|
|
2157
|
+
], y.prototype, "textsecond", 2);
|
|
2140
2158
|
x([
|
|
2141
2159
|
a({ type: Boolean, reflect: !0 })
|
|
2142
|
-
],
|
|
2160
|
+
], y.prototype, "fullwidth", 2);
|
|
2143
2161
|
x([
|
|
2144
2162
|
a({ type: Boolean, reflect: !0 })
|
|
2145
|
-
],
|
|
2163
|
+
], y.prototype, "disabled", 2);
|
|
2146
2164
|
x([
|
|
2147
2165
|
a({ type: String })
|
|
2148
|
-
],
|
|
2166
|
+
], y.prototype, "startIconModel", 2);
|
|
2149
2167
|
x([
|
|
2150
2168
|
a({ type: String })
|
|
2151
|
-
],
|
|
2169
|
+
], y.prototype, "endIconModel", 2);
|
|
2152
2170
|
x([
|
|
2153
2171
|
a({ type: Boolean, reflect: !0, attribute: "starticon" })
|
|
2154
|
-
],
|
|
2172
|
+
], y.prototype, "startIcon", 2);
|
|
2155
2173
|
x([
|
|
2156
2174
|
a({ type: Boolean, reflect: !0, attribute: "endicon" })
|
|
2157
|
-
],
|
|
2175
|
+
], y.prototype, "endIcon", 2);
|
|
2158
2176
|
x([
|
|
2159
2177
|
a({ type: String, attribute: "paneltarget" })
|
|
2160
|
-
],
|
|
2178
|
+
], y.prototype, "panelTarget", 2);
|
|
2161
2179
|
x([
|
|
2162
2180
|
a({ type: String })
|
|
2163
|
-
],
|
|
2181
|
+
], y.prototype, "href", 2);
|
|
2164
2182
|
x([
|
|
2165
2183
|
a({ type: String })
|
|
2166
|
-
],
|
|
2184
|
+
], y.prototype, "target", 2);
|
|
2167
2185
|
x([
|
|
2168
2186
|
a({ type: Boolean, reflect: !0 })
|
|
2169
|
-
],
|
|
2187
|
+
], y.prototype, "underlined", 2);
|
|
2170
2188
|
x([
|
|
2171
2189
|
a({ type: Boolean, reflect: !0 })
|
|
2172
|
-
],
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
],
|
|
2176
|
-
var
|
|
2177
|
-
for (var i =
|
|
2178
|
-
(s = o[
|
|
2179
|
-
return
|
|
2190
|
+
], y.prototype, "withbadge", 2);
|
|
2191
|
+
y = x([
|
|
2192
|
+
g("o-button")
|
|
2193
|
+
], y);
|
|
2194
|
+
var To = Object.defineProperty, Mo = Object.getOwnPropertyDescriptor, Et = (o, t, e, r) => {
|
|
2195
|
+
for (var i = r > 1 ? void 0 : r ? Mo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
2196
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
2197
|
+
return r && i && To(t, e, i), i;
|
|
2180
2198
|
};
|
|
2181
|
-
let
|
|
2199
|
+
let st = class extends u {
|
|
2182
2200
|
constructor() {
|
|
2183
2201
|
super(...arguments), this.status = "empty", this.ariaDescribedBy = "a-product-name", this.label = "Add to wishlist", this.toggleStatus = () => {
|
|
2184
2202
|
this.status = this.status === "empty" ? "filled" : "empty", this.setAttribute("aria-pressed", String(this.status === "filled")), this.dispatchEvent(new CustomEvent("wishlist-toggle", {
|
|
@@ -2205,7 +2223,7 @@ let rt = class extends u {
|
|
|
2205
2223
|
return l`
|
|
2206
2224
|
<button type="button" aria-describedby="${this.ariaDescribedBy}" class="wishlist-button">
|
|
2207
2225
|
<span class="sr-only">${this.label}</span>
|
|
2208
|
-
${
|
|
2226
|
+
${_(o)}
|
|
2209
2227
|
</button>
|
|
2210
2228
|
`;
|
|
2211
2229
|
}
|
|
@@ -2219,7 +2237,7 @@ let rt = class extends u {
|
|
|
2219
2237
|
this.label = o, this.requestUpdate();
|
|
2220
2238
|
}
|
|
2221
2239
|
};
|
|
2222
|
-
|
|
2240
|
+
st.styles = v`
|
|
2223
2241
|
:host {
|
|
2224
2242
|
display: inline-flex;
|
|
2225
2243
|
justify-content: center;
|
|
@@ -2249,7 +2267,7 @@ rt.styles = f`
|
|
|
2249
2267
|
}
|
|
2250
2268
|
|
|
2251
2269
|
.wishlist-button:focus-visible {
|
|
2252
|
-
${
|
|
2270
|
+
${ot};
|
|
2253
2271
|
}
|
|
2254
2272
|
|
|
2255
2273
|
.wishlist-button:hover svg path {
|
|
@@ -2284,22 +2302,22 @@ rt.styles = f`
|
|
|
2284
2302
|
white-space: nowrap !important;
|
|
2285
2303
|
}
|
|
2286
2304
|
`;
|
|
2287
|
-
|
|
2305
|
+
Et([
|
|
2288
2306
|
a({ type: String, reflect: !0 })
|
|
2289
|
-
],
|
|
2290
|
-
|
|
2307
|
+
], st.prototype, "status", 2);
|
|
2308
|
+
Et([
|
|
2291
2309
|
a({ type: String, reflect: !0 })
|
|
2292
|
-
],
|
|
2293
|
-
|
|
2310
|
+
], st.prototype, "ariaDescribedBy", 2);
|
|
2311
|
+
Et([
|
|
2294
2312
|
a({ type: String, reflect: !0 })
|
|
2295
|
-
],
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
],
|
|
2299
|
-
var
|
|
2300
|
-
for (var i =
|
|
2301
|
-
(s = o[
|
|
2302
|
-
return
|
|
2313
|
+
], st.prototype, "label", 2);
|
|
2314
|
+
st = Et([
|
|
2315
|
+
g("o-wishlist-button")
|
|
2316
|
+
], st);
|
|
2317
|
+
var jo = Object.defineProperty, Ro = Object.getOwnPropertyDescriptor, it = (o, t, e, r) => {
|
|
2318
|
+
for (var i = r > 1 ? void 0 : r ? Ro(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
2319
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
2320
|
+
return r && i && jo(t, e, i), i;
|
|
2303
2321
|
};
|
|
2304
2322
|
let U = class extends u {
|
|
2305
2323
|
constructor() {
|
|
@@ -2339,7 +2357,7 @@ let U = class extends u {
|
|
|
2339
2357
|
`;
|
|
2340
2358
|
}
|
|
2341
2359
|
};
|
|
2342
|
-
U.styles =
|
|
2360
|
+
U.styles = v`
|
|
2343
2361
|
:host([template="standard"]) a {
|
|
2344
2362
|
color: var(--color-content-action-secondary);
|
|
2345
2363
|
font-size: var(--font-size-200);
|
|
@@ -2427,33 +2445,33 @@ U.styles = f`
|
|
|
2427
2445
|
}
|
|
2428
2446
|
/* End of underline effect */
|
|
2429
2447
|
`;
|
|
2430
|
-
|
|
2448
|
+
it([
|
|
2431
2449
|
a({ type: String })
|
|
2432
2450
|
], U.prototype, "href", 2);
|
|
2433
|
-
|
|
2451
|
+
it([
|
|
2434
2452
|
a({ type: String })
|
|
2435
2453
|
], U.prototype, "target", 2);
|
|
2436
|
-
|
|
2454
|
+
it([
|
|
2437
2455
|
a({ type: String, reflect: !0 })
|
|
2438
2456
|
], U.prototype, "template", 2);
|
|
2439
|
-
|
|
2457
|
+
it([
|
|
2440
2458
|
a({ type: Boolean, reflect: !0 })
|
|
2441
2459
|
], U.prototype, "inverse", 2);
|
|
2442
|
-
|
|
2460
|
+
it([
|
|
2443
2461
|
a({ type: Boolean, reflect: !0 })
|
|
2444
2462
|
], U.prototype, "endIcon", 2);
|
|
2445
|
-
|
|
2463
|
+
it([
|
|
2446
2464
|
a({ type: Boolean, reflect: !0 })
|
|
2447
2465
|
], U.prototype, "reverseEndIcon", 2);
|
|
2448
|
-
U =
|
|
2449
|
-
|
|
2466
|
+
U = it([
|
|
2467
|
+
g("o-link")
|
|
2450
2468
|
], U);
|
|
2451
|
-
var
|
|
2452
|
-
for (var i =
|
|
2453
|
-
(s = o[
|
|
2454
|
-
return
|
|
2469
|
+
var No = Object.defineProperty, Fo = Object.getOwnPropertyDescriptor, Lt = (o, t, e, r) => {
|
|
2470
|
+
for (var i = r > 1 ? void 0 : r ? Fo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
2471
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
2472
|
+
return r && i && No(t, e, i), i;
|
|
2455
2473
|
};
|
|
2456
|
-
let
|
|
2474
|
+
let at = class extends u {
|
|
2457
2475
|
constructor() {
|
|
2458
2476
|
super(...arguments), this.rating = 0;
|
|
2459
2477
|
}
|
|
@@ -2461,8 +2479,8 @@ let st = class extends u {
|
|
|
2461
2479
|
const o = [];
|
|
2462
2480
|
for (let t = 0; t < 5; t++) {
|
|
2463
2481
|
const e = this.rating - t;
|
|
2464
|
-
let
|
|
2465
|
-
e >= 1 ?
|
|
2482
|
+
let r;
|
|
2483
|
+
e >= 1 ? r = 100 : e <= 0 ? r = 0 : r = Math.round(e * 100 / 25) * 25, o.push(`star-${r}`);
|
|
2466
2484
|
}
|
|
2467
2485
|
return o;
|
|
2468
2486
|
}
|
|
@@ -2472,7 +2490,7 @@ let st = class extends u {
|
|
|
2472
2490
|
<div class="rating">
|
|
2473
2491
|
<div class="stars">
|
|
2474
2492
|
${o.map(
|
|
2475
|
-
(t) => l`<span class="star">${
|
|
2493
|
+
(t) => l`<span class="star">${_(F[t] ?? "")}</span>`
|
|
2476
2494
|
)}
|
|
2477
2495
|
</div>
|
|
2478
2496
|
${this.reviewCount != null && this.href != null ? l`<o-link template="review" href="${this.href}">${this.reviewCount}</o-link>` : null}
|
|
@@ -2480,7 +2498,7 @@ let st = class extends u {
|
|
|
2480
2498
|
`;
|
|
2481
2499
|
}
|
|
2482
2500
|
};
|
|
2483
|
-
|
|
2501
|
+
at.styles = v`
|
|
2484
2502
|
svg {
|
|
2485
2503
|
width: 12px;
|
|
2486
2504
|
height: 12px;
|
|
@@ -2514,22 +2532,22 @@ st.styles = f`
|
|
|
2514
2532
|
cursor: pointer;
|
|
2515
2533
|
}
|
|
2516
2534
|
`;
|
|
2517
|
-
|
|
2535
|
+
Lt([
|
|
2518
2536
|
a({ type: Number })
|
|
2519
|
-
],
|
|
2520
|
-
|
|
2537
|
+
], at.prototype, "rating", 2);
|
|
2538
|
+
Lt([
|
|
2521
2539
|
a({ type: String })
|
|
2522
|
-
],
|
|
2523
|
-
|
|
2540
|
+
], at.prototype, "reviewCount", 2);
|
|
2541
|
+
Lt([
|
|
2524
2542
|
a({ type: String })
|
|
2525
|
-
],
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
],
|
|
2529
|
-
var
|
|
2530
|
-
for (var i =
|
|
2531
|
-
(s = o[
|
|
2532
|
-
return
|
|
2543
|
+
], at.prototype, "href", 2);
|
|
2544
|
+
at = Lt([
|
|
2545
|
+
g("o-rating")
|
|
2546
|
+
], at);
|
|
2547
|
+
var Uo = Object.defineProperty, Vo = Object.getOwnPropertyDescriptor, X = (o, t, e, r) => {
|
|
2548
|
+
for (var i = r > 1 ? void 0 : r ? Vo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
2549
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
2550
|
+
return r && i && Uo(t, e, i), i;
|
|
2533
2551
|
};
|
|
2534
2552
|
let D = class extends u {
|
|
2535
2553
|
constructor() {
|
|
@@ -2584,8 +2602,8 @@ let D = class extends u {
|
|
|
2584
2602
|
}), t.classList.add("a--tabfocus"), this.requestUpdate();
|
|
2585
2603
|
}
|
|
2586
2604
|
onFocusOut(o) {
|
|
2587
|
-
const t = o.currentTarget, e = Number(t.dataset.index),
|
|
2588
|
-
(!
|
|
2605
|
+
const t = o.currentTarget, e = Number(t.dataset.index), r = o.relatedTarget;
|
|
2606
|
+
(!r || this.shadowRoot && !this.shadowRoot.contains(r)) && (this.renderRoot.querySelectorAll(".thumb").forEach((s) => s.classList.remove("a--tabfocus")), e === this.lastIndex ? this.dispatchEvent(new CustomEvent("thumb-exit", {
|
|
2589
2607
|
detail: { from: "last", direction: "unspecified" },
|
|
2590
2608
|
bubbles: !0,
|
|
2591
2609
|
composed: !0
|
|
@@ -2599,20 +2617,20 @@ let D = class extends u {
|
|
|
2599
2617
|
return l`
|
|
2600
2618
|
<ul class="scroll-container" style="max-width: ${this.maxWidth};">
|
|
2601
2619
|
${this.thumbnails.map((o, t) => {
|
|
2602
|
-
const e = this.disabledIndexes.includes(t),
|
|
2620
|
+
const e = this.disabledIndexes.includes(t), r = this.activeIndex === t, i = o.type === "video", n = i ? `video ${t}` : `${this.altressource} ${t + 1}`;
|
|
2603
2621
|
return l`
|
|
2604
2622
|
<li class="thumb-wrapper">
|
|
2605
2623
|
<button
|
|
2606
2624
|
class="thumb"
|
|
2607
2625
|
data-index="${t}"
|
|
2608
2626
|
?disabled=${e}
|
|
2609
|
-
aria-current=${
|
|
2627
|
+
aria-current=${r ? "true" : "false"}
|
|
2610
2628
|
@click=${() => this.selectThumbnail(t)}
|
|
2611
2629
|
@keydown=${this.handleKeyDown}
|
|
2612
2630
|
@focus=${(s) => this.onFocus(s)}
|
|
2613
2631
|
@focusout=${(s) => this.onFocusOut(s)}
|
|
2614
2632
|
>
|
|
2615
|
-
<img alt="${
|
|
2633
|
+
<img alt="${n}" src="${o.src}" />
|
|
2616
2634
|
</button>
|
|
2617
2635
|
${i ? l`<div class="play-icon-wrapper">${this.playerIconTemplate}</div>` : null}
|
|
2618
2636
|
</li>
|
|
@@ -2622,7 +2640,7 @@ let D = class extends u {
|
|
|
2622
2640
|
`;
|
|
2623
2641
|
}
|
|
2624
2642
|
};
|
|
2625
|
-
D.styles =
|
|
2643
|
+
D.styles = v`
|
|
2626
2644
|
:host {
|
|
2627
2645
|
display: flex;
|
|
2628
2646
|
gap: 5px;
|
|
@@ -2750,12 +2768,12 @@ X([
|
|
|
2750
2768
|
et()
|
|
2751
2769
|
], D.prototype, "focusedIndex", 2);
|
|
2752
2770
|
D = X([
|
|
2753
|
-
|
|
2771
|
+
g("thumbnail-navigation")
|
|
2754
2772
|
], D);
|
|
2755
|
-
var
|
|
2756
|
-
for (var i =
|
|
2757
|
-
(s = o[
|
|
2758
|
-
return
|
|
2773
|
+
var qo = Object.defineProperty, Zo = Object.getOwnPropertyDescriptor, Wt = (o, t, e, r) => {
|
|
2774
|
+
for (var i = r > 1 ? void 0 : r ? Zo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
2775
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
2776
|
+
return r && i && qo(t, e, i), i;
|
|
2759
2777
|
};
|
|
2760
2778
|
let ft = class extends u {
|
|
2761
2779
|
constructor() {
|
|
@@ -2767,7 +2785,7 @@ let ft = class extends u {
|
|
|
2767
2785
|
`;
|
|
2768
2786
|
}
|
|
2769
2787
|
};
|
|
2770
|
-
ft.styles =
|
|
2788
|
+
ft.styles = v`
|
|
2771
2789
|
.tag {
|
|
2772
2790
|
display: inline-block;
|
|
2773
2791
|
padding: var(--spacing-2-xs) var(--spacing-s);
|
|
@@ -2825,19 +2843,19 @@ ft.styles = f`
|
|
|
2825
2843
|
}
|
|
2826
2844
|
|
|
2827
2845
|
`;
|
|
2828
|
-
|
|
2846
|
+
Wt([
|
|
2829
2847
|
a({ type: String, reflect: !0 })
|
|
2830
2848
|
], ft.prototype, "type", 2);
|
|
2831
|
-
|
|
2849
|
+
Wt([
|
|
2832
2850
|
a({ type: String, reflect: !0 })
|
|
2833
2851
|
], ft.prototype, "bgstyle", 2);
|
|
2834
|
-
ft =
|
|
2835
|
-
|
|
2852
|
+
ft = Wt([
|
|
2853
|
+
g("o-tag")
|
|
2836
2854
|
], ft);
|
|
2837
|
-
var
|
|
2838
|
-
for (var i =
|
|
2839
|
-
(s = o[
|
|
2840
|
-
return
|
|
2855
|
+
var Ko = Object.defineProperty, Wo = Object.getOwnPropertyDescriptor, Gt = (o, t, e, r) => {
|
|
2856
|
+
for (var i = r > 1 ? void 0 : r ? Wo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
2857
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
2858
|
+
return r && i && Ko(t, e, i), i;
|
|
2841
2859
|
};
|
|
2842
2860
|
let bt = class extends u {
|
|
2843
2861
|
constructor() {
|
|
@@ -2852,7 +2870,7 @@ let bt = class extends u {
|
|
|
2852
2870
|
`;
|
|
2853
2871
|
}
|
|
2854
2872
|
};
|
|
2855
|
-
bt.styles =
|
|
2873
|
+
bt.styles = v`
|
|
2856
2874
|
.tooltip {
|
|
2857
2875
|
position: relative;
|
|
2858
2876
|
display: inline-block;
|
|
@@ -2945,19 +2963,19 @@ bt.styles = f`
|
|
|
2945
2963
|
}
|
|
2946
2964
|
|
|
2947
2965
|
`;
|
|
2948
|
-
|
|
2966
|
+
Gt([
|
|
2949
2967
|
a({ type: String, reflect: !0 })
|
|
2950
2968
|
], bt.prototype, "type", 2);
|
|
2951
|
-
|
|
2969
|
+
Gt([
|
|
2952
2970
|
a({ type: String, reflect: !0 })
|
|
2953
2971
|
], bt.prototype, "text", 2);
|
|
2954
|
-
bt =
|
|
2955
|
-
|
|
2972
|
+
bt = Gt([
|
|
2973
|
+
g("o-tooltip")
|
|
2956
2974
|
], bt);
|
|
2957
|
-
var
|
|
2958
|
-
for (var i =
|
|
2959
|
-
(s = o[
|
|
2960
|
-
return
|
|
2975
|
+
var Go = Object.defineProperty, Xo = Object.getOwnPropertyDescriptor, V = (o, t, e, r) => {
|
|
2976
|
+
for (var i = r > 1 ? void 0 : r ? Xo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
2977
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
2978
|
+
return r && i && Go(t, e, i), i;
|
|
2961
2979
|
};
|
|
2962
2980
|
let z = class extends u {
|
|
2963
2981
|
constructor() {
|
|
@@ -3058,22 +3076,22 @@ let z = class extends u {
|
|
|
3058
3076
|
style=${`width: ${this.width};`}
|
|
3059
3077
|
>
|
|
3060
3078
|
${this.options.map(
|
|
3061
|
-
(e,
|
|
3079
|
+
(e, r) => l`
|
|
3062
3080
|
<li
|
|
3063
|
-
id="option-${
|
|
3081
|
+
id="option-${r}"
|
|
3064
3082
|
role="option"
|
|
3065
3083
|
aria-selected="${e.value === this.value}"
|
|
3066
|
-
tabindex="${
|
|
3067
|
-
class="${
|
|
3084
|
+
tabindex="${r === this.activeIndex ? "0" : "-1"}"
|
|
3085
|
+
class="${r === this.activeIndex ? "active" : ""} ${e.disabled ? "disabled" : ""}"
|
|
3068
3086
|
@click=${() => this.selectOption(e)}
|
|
3069
3087
|
>
|
|
3070
3088
|
${e.url ? l`
|
|
3071
3089
|
<a href="${e.url}">
|
|
3072
3090
|
<span>${e.label}</span>
|
|
3073
|
-
${e.value === this.value ? l`<span class="check">${
|
|
3091
|
+
${e.value === this.value ? l`<span class="check">${_(o)}</span>` : null}
|
|
3074
3092
|
</a>` : l`
|
|
3075
3093
|
<span>${e.label}</span>
|
|
3076
|
-
${e.value === this.value ? l`<span class="check">${
|
|
3094
|
+
${e.value === this.value ? l`<span class="check">${_(o)}</span>` : null}`}
|
|
3077
3095
|
</li>`
|
|
3078
3096
|
)}
|
|
3079
3097
|
</ul>` : null}
|
|
@@ -3082,7 +3100,7 @@ let z = class extends u {
|
|
|
3082
3100
|
`;
|
|
3083
3101
|
}
|
|
3084
3102
|
};
|
|
3085
|
-
z.styles =
|
|
3103
|
+
z.styles = v`
|
|
3086
3104
|
:host {
|
|
3087
3105
|
display: inline-block;
|
|
3088
3106
|
position: relative;
|
|
@@ -3247,19 +3265,19 @@ V([
|
|
|
3247
3265
|
et()
|
|
3248
3266
|
], z.prototype, "menuWidth", 2);
|
|
3249
3267
|
z = V([
|
|
3250
|
-
|
|
3268
|
+
g("o-dropdown")
|
|
3251
3269
|
], z);
|
|
3252
|
-
var
|
|
3253
|
-
for (var i =
|
|
3254
|
-
(s = o[
|
|
3270
|
+
var Jo = Object.getOwnPropertyDescriptor, Qo = (o, t, e, r) => {
|
|
3271
|
+
for (var i = r > 1 ? void 0 : r ? Jo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
3272
|
+
(s = o[n]) && (i = s(i) || i);
|
|
3255
3273
|
return i;
|
|
3256
3274
|
};
|
|
3257
|
-
let
|
|
3275
|
+
let Tt = class extends u {
|
|
3258
3276
|
render() {
|
|
3259
3277
|
return l` <span class="dots"></span> `;
|
|
3260
3278
|
}
|
|
3261
3279
|
};
|
|
3262
|
-
|
|
3280
|
+
Tt.styles = v`
|
|
3263
3281
|
:host {
|
|
3264
3282
|
display: flex;
|
|
3265
3283
|
align-items: center;
|
|
@@ -3311,13 +3329,13 @@ Ht.styles = f`
|
|
|
3311
3329
|
}
|
|
3312
3330
|
}
|
|
3313
3331
|
`;
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
],
|
|
3317
|
-
var
|
|
3318
|
-
for (var i =
|
|
3319
|
-
(s = o[
|
|
3320
|
-
return
|
|
3332
|
+
Tt = Qo([
|
|
3333
|
+
g("o-dots")
|
|
3334
|
+
], Tt);
|
|
3335
|
+
var Yo = Object.defineProperty, ti = Object.getOwnPropertyDescriptor, T = (o, t, e, r) => {
|
|
3336
|
+
for (var i = r > 1 ? void 0 : r ? ti(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
3337
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
3338
|
+
return r && i && Yo(t, e, i), i;
|
|
3321
3339
|
};
|
|
3322
3340
|
let E = class extends u {
|
|
3323
3341
|
constructor() {
|
|
@@ -3428,14 +3446,14 @@ let E = class extends u {
|
|
|
3428
3446
|
style=${`width: ${this.width};`}
|
|
3429
3447
|
>
|
|
3430
3448
|
${this.options.map(
|
|
3431
|
-
(e,
|
|
3449
|
+
(e, r) => l`
|
|
3432
3450
|
<li
|
|
3433
|
-
id="option-${
|
|
3451
|
+
id="option-${r}"
|
|
3434
3452
|
role="option"
|
|
3435
3453
|
aria-selected="${e.value === this.value}"
|
|
3436
3454
|
aria-disabled="${e.disabled ? "true" : "false"}"
|
|
3437
|
-
tabindex="${
|
|
3438
|
-
class="${
|
|
3455
|
+
tabindex="${r === this.activeIndex ? "0" : "-1"}"
|
|
3456
|
+
class="${r === this.activeIndex ? "active" : ""} ${e.disabled ? "disabled" : ""}"
|
|
3439
3457
|
@click=${() => this.selectOption(e)}
|
|
3440
3458
|
>
|
|
3441
3459
|
<a href="${S(e.url)}">
|
|
@@ -3444,7 +3462,7 @@ let E = class extends u {
|
|
|
3444
3462
|
<div class="right">
|
|
3445
3463
|
<span class="additional-text">${S(e.additionaltext)}</span>
|
|
3446
3464
|
${e.value === this.value && !e.additionaltext ? l`
|
|
3447
|
-
<span class="check">${
|
|
3465
|
+
<span class="check">${_(o)}</span>` : null}
|
|
3448
3466
|
</div>
|
|
3449
3467
|
</a>
|
|
3450
3468
|
</li>
|
|
@@ -3456,7 +3474,7 @@ let E = class extends u {
|
|
|
3456
3474
|
`;
|
|
3457
3475
|
}
|
|
3458
3476
|
};
|
|
3459
|
-
E.styles =
|
|
3477
|
+
E.styles = v`
|
|
3460
3478
|
:host {
|
|
3461
3479
|
display: inline-block;
|
|
3462
3480
|
position: relative;
|
|
@@ -3660,43 +3678,43 @@ T([
|
|
|
3660
3678
|
et()
|
|
3661
3679
|
], E.prototype, "menuWidth", 2);
|
|
3662
3680
|
E = T([
|
|
3663
|
-
|
|
3681
|
+
g("o-dropdown-variant")
|
|
3664
3682
|
], E);
|
|
3665
3683
|
/**
|
|
3666
3684
|
* @license
|
|
3667
3685
|
* Copyright 2018 Google LLC
|
|
3668
3686
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3669
3687
|
*/
|
|
3670
|
-
const
|
|
3688
|
+
const xe = "important", ei = " !" + xe, oi = Zt(class extends Kt {
|
|
3671
3689
|
constructor(o) {
|
|
3672
3690
|
var t;
|
|
3673
|
-
if (super(o), o.type !==
|
|
3691
|
+
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.");
|
|
3674
3692
|
}
|
|
3675
3693
|
render(o) {
|
|
3676
3694
|
return Object.keys(o).reduce((t, e) => {
|
|
3677
|
-
const
|
|
3678
|
-
return
|
|
3695
|
+
const r = o[e];
|
|
3696
|
+
return r == null ? t : t + `${e = e.includes("-") ? e : e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g, "-$&").toLowerCase()}:${r};`;
|
|
3679
3697
|
}, "");
|
|
3680
3698
|
}
|
|
3681
3699
|
update(o, [t]) {
|
|
3682
3700
|
const { style: e } = o.element;
|
|
3683
3701
|
if (this.ft === void 0) return this.ft = new Set(Object.keys(t)), this.render(t);
|
|
3684
|
-
for (const
|
|
3685
|
-
for (const
|
|
3686
|
-
const i = t[
|
|
3702
|
+
for (const r of this.ft) t[r] == null && (this.ft.delete(r), r.includes("-") ? e.removeProperty(r) : e[r] = null);
|
|
3703
|
+
for (const r in t) {
|
|
3704
|
+
const i = t[r];
|
|
3687
3705
|
if (i != null) {
|
|
3688
|
-
this.ft.add(
|
|
3689
|
-
const
|
|
3690
|
-
|
|
3706
|
+
this.ft.add(r);
|
|
3707
|
+
const n = typeof i == "string" && i.endsWith(ei);
|
|
3708
|
+
r.includes("-") || n ? e.setProperty(r, n ? i.slice(0, -11) : i, n ? xe : "") : e[r] = i;
|
|
3691
3709
|
}
|
|
3692
3710
|
}
|
|
3693
3711
|
return G;
|
|
3694
3712
|
}
|
|
3695
3713
|
});
|
|
3696
|
-
var
|
|
3697
|
-
for (var i =
|
|
3698
|
-
(s = o[
|
|
3699
|
-
return
|
|
3714
|
+
var ii = Object.defineProperty, ri = Object.getOwnPropertyDescriptor, Xt = (o, t, e, r) => {
|
|
3715
|
+
for (var i = r > 1 ? void 0 : r ? ri(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
3716
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
3717
|
+
return r && i && ii(t, e, i), i;
|
|
3700
3718
|
};
|
|
3701
3719
|
let gt = class extends u {
|
|
3702
3720
|
constructor() {
|
|
@@ -3707,7 +3725,7 @@ let gt = class extends u {
|
|
|
3707
3725
|
width: `${this.imageSize}px`,
|
|
3708
3726
|
height: `${this.imageSize}px`
|
|
3709
3727
|
}, e = l`
|
|
3710
|
-
${this.option.imgurl ? l`<img src="${this.option.imgurl}" alt="${S(this.option.title)}" aria-hidden="true" style=${
|
|
3728
|
+
${this.option.imgurl ? l`<img src="${this.option.imgurl}" alt="${S(this.option.title)}" aria-hidden="true" style=${oi(t)} />` : ""}
|
|
3711
3729
|
<div class="m-reassurance-content">
|
|
3712
3730
|
<h3 class="a-reassurance-text">${S(this.option.title)}</h3>
|
|
3713
3731
|
<p class="a-reassurance-description">${S(this.option.description)}</p>
|
|
@@ -3716,7 +3734,7 @@ let gt = class extends u {
|
|
|
3716
3734
|
return o ? l`<a href="${S(this.option.url)}" class="reassurance-item clickable">${e}</a>` : l`<div class="reassurance-item">${e}</div>`;
|
|
3717
3735
|
}
|
|
3718
3736
|
};
|
|
3719
|
-
gt.styles =
|
|
3737
|
+
gt.styles = v`
|
|
3720
3738
|
:host {
|
|
3721
3739
|
display: inline-block;
|
|
3722
3740
|
position: relative;
|
|
@@ -3798,22 +3816,22 @@ gt.styles = f`
|
|
|
3798
3816
|
}
|
|
3799
3817
|
}
|
|
3800
3818
|
`;
|
|
3801
|
-
|
|
3819
|
+
Xt([
|
|
3802
3820
|
a({ type: Object, reflect: !0 })
|
|
3803
3821
|
], gt.prototype, "option", 2);
|
|
3804
|
-
|
|
3822
|
+
Xt([
|
|
3805
3823
|
a({ type: Number, reflect: !0 })
|
|
3806
3824
|
], gt.prototype, "imageSize", 2);
|
|
3807
|
-
gt =
|
|
3808
|
-
|
|
3825
|
+
gt = Xt([
|
|
3826
|
+
g("o-reassurance")
|
|
3809
3827
|
], gt);
|
|
3810
|
-
var
|
|
3811
|
-
for (var i =
|
|
3812
|
-
(s = o[
|
|
3813
|
-
return
|
|
3828
|
+
var ni = Object.defineProperty, si = Object.getOwnPropertyDescriptor, q = (o, t, e, r) => {
|
|
3829
|
+
for (var i = r > 1 ? void 0 : r ? si(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
3830
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
3831
|
+
return r && i && ni(t, e, i), i;
|
|
3814
3832
|
};
|
|
3815
|
-
const
|
|
3816
|
-
let L = class extends
|
|
3833
|
+
const ai = Vt(u);
|
|
3834
|
+
let L = class extends ai {
|
|
3817
3835
|
constructor() {
|
|
3818
3836
|
super(...arguments), this.link = "", this.name = "", this.value = "", this.text = "", this.size = "standard", this.selected = !1, this.fullwidth = !1, this.inactive = !1;
|
|
3819
3837
|
}
|
|
@@ -3836,7 +3854,7 @@ let L = class extends ni {
|
|
|
3836
3854
|
`;
|
|
3837
3855
|
}
|
|
3838
3856
|
};
|
|
3839
|
-
L.styles =
|
|
3857
|
+
L.styles = v`
|
|
3840
3858
|
:host {
|
|
3841
3859
|
cursor: pointer;
|
|
3842
3860
|
display: inline-flex;
|
|
@@ -3912,7 +3930,7 @@ L.styles = f`
|
|
|
3912
3930
|
}
|
|
3913
3931
|
|
|
3914
3932
|
&:focus-visible {
|
|
3915
|
-
${
|
|
3933
|
+
${ot};
|
|
3916
3934
|
}
|
|
3917
3935
|
}
|
|
3918
3936
|
|
|
@@ -3951,12 +3969,12 @@ q([
|
|
|
3951
3969
|
a({ type: Boolean, reflect: !0 })
|
|
3952
3970
|
], L.prototype, "inactive", 2);
|
|
3953
3971
|
L = q([
|
|
3954
|
-
|
|
3972
|
+
g("o-chip")
|
|
3955
3973
|
], L);
|
|
3956
|
-
var
|
|
3957
|
-
for (var i =
|
|
3958
|
-
(s = o[
|
|
3959
|
-
return
|
|
3974
|
+
var li = Object.defineProperty, ci = Object.getOwnPropertyDescriptor, Jt = (o, t, e, r) => {
|
|
3975
|
+
for (var i = r > 1 ? void 0 : r ? ci(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
3976
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
3977
|
+
return r && i && li(t, e, i), i;
|
|
3960
3978
|
};
|
|
3961
3979
|
let yt = class extends u {
|
|
3962
3980
|
constructor() {
|
|
@@ -3974,7 +3992,7 @@ let yt = class extends u {
|
|
|
3974
3992
|
`;
|
|
3975
3993
|
}
|
|
3976
3994
|
};
|
|
3977
|
-
yt.styles =
|
|
3995
|
+
yt.styles = v`
|
|
3978
3996
|
:host {
|
|
3979
3997
|
display: flex;
|
|
3980
3998
|
flex-direction: row;
|
|
@@ -3982,22 +4000,22 @@ yt.styles = f`
|
|
|
3982
4000
|
gap: var(--spacing-s);
|
|
3983
4001
|
}
|
|
3984
4002
|
`;
|
|
3985
|
-
|
|
4003
|
+
Jt([
|
|
3986
4004
|
a({ reflect: !0 })
|
|
3987
4005
|
], yt.prototype, "name", 2);
|
|
3988
|
-
|
|
4006
|
+
Jt([
|
|
3989
4007
|
a({ reflect: !0 })
|
|
3990
4008
|
], yt.prototype, "value", 2);
|
|
3991
|
-
yt =
|
|
3992
|
-
|
|
4009
|
+
yt = Jt([
|
|
4010
|
+
g("o-chipset")
|
|
3993
4011
|
], yt);
|
|
3994
|
-
var
|
|
3995
|
-
for (var i =
|
|
3996
|
-
(s = o[
|
|
3997
|
-
return
|
|
4012
|
+
var hi = Object.defineProperty, di = Object.getOwnPropertyDescriptor, M = (o, t, e, r) => {
|
|
4013
|
+
for (var i = r > 1 ? void 0 : r ? di(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
4014
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
4015
|
+
return r && i && hi(t, e, i), i;
|
|
3998
4016
|
};
|
|
3999
|
-
const
|
|
4000
|
-
let P = class extends
|
|
4017
|
+
const pi = Vt(u);
|
|
4018
|
+
let P = class extends pi {
|
|
4001
4019
|
constructor() {
|
|
4002
4020
|
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";
|
|
4003
4021
|
}
|
|
@@ -4013,14 +4031,14 @@ let P = class extends ci {
|
|
|
4013
4031
|
"<svg",
|
|
4014
4032
|
'<svg aria-hidden="true" focusable="false" part="svg"'
|
|
4015
4033
|
).replace(/stroke=[#"'a-z1-9]*/gi, "");
|
|
4016
|
-
return l`<span class="cross-icon">${
|
|
4034
|
+
return l`<span class="cross-icon">${_(o)}</span>`;
|
|
4017
4035
|
}
|
|
4018
4036
|
strikeThroughImg() {
|
|
4019
|
-
const o =
|
|
4037
|
+
const o = xo[this.strikethroughImgName].replace(
|
|
4020
4038
|
"<svg",
|
|
4021
4039
|
'<svg aria-hidden="true" focusable="false" part="strikethrough"'
|
|
4022
4040
|
).replace(/stroke=[#"'a-z1-9]*/gi, "");
|
|
4023
|
-
return
|
|
4041
|
+
return _(o);
|
|
4024
4042
|
}
|
|
4025
4043
|
render() {
|
|
4026
4044
|
const o = this.text;
|
|
@@ -4047,7 +4065,7 @@ let P = class extends ci {
|
|
|
4047
4065
|
`;
|
|
4048
4066
|
}
|
|
4049
4067
|
};
|
|
4050
|
-
P.styles =
|
|
4068
|
+
P.styles = v`
|
|
4051
4069
|
:host {
|
|
4052
4070
|
cursor: pointer;
|
|
4053
4071
|
display: inline-flex;
|
|
@@ -4127,7 +4145,7 @@ P.styles = f`
|
|
|
4127
4145
|
}
|
|
4128
4146
|
|
|
4129
4147
|
.button:focus-visible {
|
|
4130
|
-
${
|
|
4148
|
+
${ot};
|
|
4131
4149
|
}
|
|
4132
4150
|
|
|
4133
4151
|
span.text + span.text::before {
|
|
@@ -4201,14 +4219,14 @@ M([
|
|
|
4201
4219
|
a({ type: Boolean, reflect: !0 })
|
|
4202
4220
|
], P.prototype, "fullwidth", 2);
|
|
4203
4221
|
P = M([
|
|
4204
|
-
|
|
4222
|
+
g("o-filter-chip")
|
|
4205
4223
|
], P);
|
|
4206
|
-
var
|
|
4207
|
-
for (var i = void 0,
|
|
4208
|
-
(s = o[
|
|
4209
|
-
return i &&
|
|
4224
|
+
var ui = Object.defineProperty, j = (o, t, e, r) => {
|
|
4225
|
+
for (var i = void 0, n = o.length - 1, s; n >= 0; n--)
|
|
4226
|
+
(s = o[n]) && (i = s(t, e, i) || i);
|
|
4227
|
+
return i && ui(t, e, i), i;
|
|
4210
4228
|
};
|
|
4211
|
-
const
|
|
4229
|
+
const te = class te extends u {
|
|
4212
4230
|
constructor() {
|
|
4213
4231
|
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, this.tagText = "";
|
|
4214
4232
|
}
|
|
@@ -4258,7 +4276,7 @@ const Jt = class Jt extends u {
|
|
|
4258
4276
|
`;
|
|
4259
4277
|
}
|
|
4260
4278
|
};
|
|
4261
|
-
|
|
4279
|
+
te.styles = v`
|
|
4262
4280
|
:host {
|
|
4263
4281
|
display: block;
|
|
4264
4282
|
max-width: 100%;
|
|
@@ -4355,42 +4373,42 @@ Jt.styles = f`
|
|
|
4355
4373
|
cursor: pointer;
|
|
4356
4374
|
}
|
|
4357
4375
|
`;
|
|
4358
|
-
let
|
|
4376
|
+
let C = te;
|
|
4359
4377
|
j([
|
|
4360
4378
|
a({ type: String })
|
|
4361
|
-
],
|
|
4379
|
+
], C.prototype, "type");
|
|
4362
4380
|
j([
|
|
4363
4381
|
a({ type: String })
|
|
4364
|
-
],
|
|
4382
|
+
], C.prototype, "titleProduct");
|
|
4365
4383
|
j([
|
|
4366
4384
|
a({ type: String })
|
|
4367
|
-
],
|
|
4385
|
+
], C.prototype, "volume");
|
|
4368
4386
|
j([
|
|
4369
4387
|
a({ type: String })
|
|
4370
|
-
],
|
|
4388
|
+
], C.prototype, "perLiter");
|
|
4371
4389
|
j([
|
|
4372
4390
|
a({ type: String })
|
|
4373
|
-
],
|
|
4391
|
+
], C.prototype, "mainPrice");
|
|
4374
4392
|
j([
|
|
4375
4393
|
a({ type: String })
|
|
4376
|
-
],
|
|
4394
|
+
], C.prototype, "imageUrl");
|
|
4377
4395
|
j([
|
|
4378
4396
|
a({ type: String })
|
|
4379
|
-
],
|
|
4397
|
+
], C.prototype, "altImage");
|
|
4380
4398
|
j([
|
|
4381
4399
|
a({ type: Boolean })
|
|
4382
|
-
],
|
|
4400
|
+
], C.prototype, "fullwidth");
|
|
4383
4401
|
j([
|
|
4384
4402
|
a({ type: String })
|
|
4385
|
-
],
|
|
4403
|
+
], C.prototype, "tagText");
|
|
4386
4404
|
j([
|
|
4387
4405
|
a({ type: Function })
|
|
4388
|
-
],
|
|
4389
|
-
customElements.define("mini-tile",
|
|
4390
|
-
var
|
|
4391
|
-
for (var i =
|
|
4392
|
-
(s = o[
|
|
4393
|
-
return
|
|
4406
|
+
], C.prototype, "onClickTile");
|
|
4407
|
+
customElements.define("mini-tile", C);
|
|
4408
|
+
var vi = Object.defineProperty, fi = Object.getOwnPropertyDescriptor, Qt = (o, t, e, r) => {
|
|
4409
|
+
for (var i = r > 1 ? void 0 : r ? fi(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
4410
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
4411
|
+
return r && i && vi(t, e, i), i;
|
|
4394
4412
|
};
|
|
4395
4413
|
let mt = class extends u {
|
|
4396
4414
|
constructor() {
|
|
@@ -4404,7 +4422,7 @@ let mt = class extends u {
|
|
|
4404
4422
|
`;
|
|
4405
4423
|
}
|
|
4406
4424
|
};
|
|
4407
|
-
mt.styles =
|
|
4425
|
+
mt.styles = v`
|
|
4408
4426
|
:host([variant]) {
|
|
4409
4427
|
--badge-width: 19px;
|
|
4410
4428
|
display: inline-block;
|
|
@@ -4439,19 +4457,19 @@ mt.styles = f`
|
|
|
4439
4457
|
}
|
|
4440
4458
|
|
|
4441
4459
|
`;
|
|
4442
|
-
|
|
4460
|
+
Qt([
|
|
4443
4461
|
a({ type: String, reflect: !0 })
|
|
4444
4462
|
], mt.prototype, "variant", 2);
|
|
4445
|
-
|
|
4463
|
+
Qt([
|
|
4446
4464
|
a({ type: String })
|
|
4447
4465
|
], mt.prototype, "text", 2);
|
|
4448
|
-
mt =
|
|
4449
|
-
|
|
4466
|
+
mt = Qt([
|
|
4467
|
+
g("o-badge")
|
|
4450
4468
|
], mt);
|
|
4451
|
-
var
|
|
4452
|
-
for (var i =
|
|
4453
|
-
(s = o[
|
|
4454
|
-
return
|
|
4469
|
+
var bi = Object.defineProperty, gi = Object.getOwnPropertyDescriptor, I = (o, t, e, r) => {
|
|
4470
|
+
for (var i = r > 1 ? void 0 : r ? gi(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
4471
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
4472
|
+
return r && i && bi(t, e, i), i;
|
|
4455
4473
|
};
|
|
4456
4474
|
let $ = class extends u {
|
|
4457
4475
|
constructor() {
|
|
@@ -4485,11 +4503,11 @@ let $ = class extends u {
|
|
|
4485
4503
|
}, 600);
|
|
4486
4504
|
}
|
|
4487
4505
|
firstUpdated() {
|
|
4488
|
-
var
|
|
4506
|
+
var r, i;
|
|
4489
4507
|
var o = this;
|
|
4490
|
-
const t = (
|
|
4508
|
+
const t = (r = this.renderRoot) == null ? void 0 : r.querySelector("o-icon-button"), e = (i = this.renderRoot) == null ? void 0 : i.querySelector(".o-toast-text");
|
|
4491
4509
|
if (e != null) {
|
|
4492
|
-
const
|
|
4510
|
+
const n = window.getComputedStyle(e), s = parseInt(n.getPropertyValue("line-height").replace("px", "")), h = parseInt(n.getPropertyValue("height").replace("px", ""));
|
|
4493
4511
|
!isNaN(s) && !isNaN(h) && h > s && (this.multiline = !0);
|
|
4494
4512
|
}
|
|
4495
4513
|
t != null && t.addEventListener("click", function() {
|
|
@@ -4497,11 +4515,11 @@ let $ = class extends u {
|
|
|
4497
4515
|
});
|
|
4498
4516
|
}
|
|
4499
4517
|
render() {
|
|
4500
|
-
const t =
|
|
4518
|
+
const t = wo[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"');
|
|
4501
4519
|
return l`
|
|
4502
4520
|
<div class="o-toast">
|
|
4503
4521
|
<div class="o-toast-icon">
|
|
4504
|
-
${
|
|
4522
|
+
${_(t)}
|
|
4505
4523
|
</div>
|
|
4506
4524
|
<div class="o-toast-text">
|
|
4507
4525
|
${this.text}
|
|
@@ -4517,7 +4535,7 @@ let $ = class extends u {
|
|
|
4517
4535
|
`;
|
|
4518
4536
|
}
|
|
4519
4537
|
};
|
|
4520
|
-
$.styles =
|
|
4538
|
+
$.styles = v`
|
|
4521
4539
|
:host {
|
|
4522
4540
|
--vertical-offset: 24px;
|
|
4523
4541
|
--horizontal-offset: 24px;
|
|
@@ -4595,50 +4613,50 @@ $.styles = f`
|
|
|
4595
4613
|
height: 16px;
|
|
4596
4614
|
}
|
|
4597
4615
|
`;
|
|
4598
|
-
|
|
4616
|
+
I([
|
|
4599
4617
|
a({ type: String, reflect: !0 })
|
|
4600
4618
|
], $.prototype, "icon", 2);
|
|
4601
|
-
|
|
4619
|
+
I([
|
|
4602
4620
|
a({ type: String, reflect: !0 })
|
|
4603
4621
|
], $.prototype, "text", 2);
|
|
4604
|
-
|
|
4622
|
+
I([
|
|
4605
4623
|
a({ type: String, reflect: !0 })
|
|
4606
4624
|
], $.prototype, "verticalanchor", 2);
|
|
4607
|
-
|
|
4625
|
+
I([
|
|
4608
4626
|
a({ type: String, reflect: !0 })
|
|
4609
4627
|
], $.prototype, "horizontalanchor", 2);
|
|
4610
|
-
|
|
4628
|
+
I([
|
|
4611
4629
|
a({ type: Number, reflect: !0 })
|
|
4612
4630
|
], $.prototype, "verticaloffset", 2);
|
|
4613
|
-
|
|
4631
|
+
I([
|
|
4614
4632
|
a({ type: Number, reflect: !0 })
|
|
4615
4633
|
], $.prototype, "horizontaloffset", 2);
|
|
4616
|
-
|
|
4634
|
+
I([
|
|
4617
4635
|
a({ type: Number, reflect: !0 })
|
|
4618
4636
|
], $.prototype, "animationduration", 2);
|
|
4619
|
-
|
|
4637
|
+
I([
|
|
4620
4638
|
a({ type: String, reflect: !0 })
|
|
4621
4639
|
], $.prototype, "animationaxis", 2);
|
|
4622
|
-
|
|
4640
|
+
I([
|
|
4623
4641
|
a({ type: Boolean, reflect: !0 })
|
|
4624
4642
|
], $.prototype, "animated", 2);
|
|
4625
|
-
|
|
4643
|
+
I([
|
|
4626
4644
|
a({ type: Number, reflect: !0 })
|
|
4627
4645
|
], $.prototype, "lifeduration", 2);
|
|
4628
|
-
|
|
4646
|
+
I([
|
|
4629
4647
|
a({ type: Boolean, reflect: !0 })
|
|
4630
4648
|
], $.prototype, "multiline", 2);
|
|
4631
|
-
$ =
|
|
4632
|
-
|
|
4649
|
+
$ = I([
|
|
4650
|
+
g("o-toast")
|
|
4633
4651
|
], $);
|
|
4634
|
-
var
|
|
4635
|
-
for (var i =
|
|
4636
|
-
(s = o[
|
|
4637
|
-
return
|
|
4652
|
+
var yi = Object.defineProperty, mi = Object.getOwnPropertyDescriptor, B = (o, t, e, r) => {
|
|
4653
|
+
for (var i = r > 1 ? void 0 : r ? mi(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
4654
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
4655
|
+
return r && i && yi(t, e, i), i;
|
|
4638
4656
|
};
|
|
4639
|
-
let
|
|
4657
|
+
let xi = 0, k = class extends u {
|
|
4640
4658
|
constructor() {
|
|
4641
|
-
super(), this.checked = !1, this.indeterminate = !1, this.disabled = !1, this.size = "S", this.showLabel = !0, this.label = "Checkbox", this.name = "", this.value = "on", this.inputId = "", this.inputId || (this.inputId = `o-checkbox-${++
|
|
4659
|
+
super(), this.checked = !1, this.indeterminate = !1, this.disabled = !1, this.size = "S", this.showLabel = !0, this.label = "Checkbox", this.name = "", this.value = "on", this.inputId = "", this.inputId || (this.inputId = `o-checkbox-${++xi}`);
|
|
4642
4660
|
}
|
|
4643
4661
|
toggle() {
|
|
4644
4662
|
this.disabled || (this.indeterminate ? (this.indeterminate = !1, this.checked = !0) : this.checked = !this.checked, this.syncInput(), this.dispatchEvent(new Event("change", { bubbles: !0, composed: !0 })));
|
|
@@ -4653,7 +4671,7 @@ let gi = 0, k = class extends u {
|
|
|
4653
4671
|
this.disabled || (o.key === " " || o.key === "Enter") && (o.preventDefault(), this.toggle());
|
|
4654
4672
|
}
|
|
4655
4673
|
render() {
|
|
4656
|
-
const o =
|
|
4674
|
+
const o = _(F.checkbox.replace("<svg", '<svg aria-hidden="true" focusable="false" part="svg"')), t = _(F.icoMinus.replace("<svg", '<svg class="indeterminate" aria-hidden="true" focusable="false" part="svg"'));
|
|
4657
4675
|
return l`
|
|
4658
4676
|
<input
|
|
4659
4677
|
type="checkbox"
|
|
@@ -4663,8 +4681,8 @@ let gi = 0, k = class extends u {
|
|
|
4663
4681
|
name=${this.name}
|
|
4664
4682
|
value=${this.value}
|
|
4665
4683
|
@change=${(e) => {
|
|
4666
|
-
const
|
|
4667
|
-
this.checked =
|
|
4684
|
+
const r = e.target;
|
|
4685
|
+
this.checked = r.checked, this.indeterminate = r.indeterminate, this.dispatchEvent(new Event("change", { bubbles: !0, composed: !0 }));
|
|
4668
4686
|
}}
|
|
4669
4687
|
/>
|
|
4670
4688
|
|
|
@@ -4676,7 +4694,7 @@ let gi = 0, k = class extends u {
|
|
|
4676
4694
|
`;
|
|
4677
4695
|
}
|
|
4678
4696
|
};
|
|
4679
|
-
k.styles =
|
|
4697
|
+
k.styles = v`
|
|
4680
4698
|
:host {
|
|
4681
4699
|
display: inline-flex;
|
|
4682
4700
|
align-items: center;
|
|
@@ -4808,19 +4826,19 @@ B([
|
|
|
4808
4826
|
a({ type: String, reflect: !0 })
|
|
4809
4827
|
], k.prototype, "inputId", 2);
|
|
4810
4828
|
B([
|
|
4811
|
-
|
|
4829
|
+
ye("input")
|
|
4812
4830
|
], k.prototype, "inputEl", 2);
|
|
4813
4831
|
k = B([
|
|
4814
|
-
|
|
4832
|
+
g("o-checkbox")
|
|
4815
4833
|
], k);
|
|
4816
|
-
var
|
|
4817
|
-
for (var i =
|
|
4818
|
-
(s = o[
|
|
4819
|
-
return
|
|
4834
|
+
var wi = Object.defineProperty, $i = Object.getOwnPropertyDescriptor, R = (o, t, e, r) => {
|
|
4835
|
+
for (var i = r > 1 ? void 0 : r ? $i(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
4836
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
4837
|
+
return r && i && wi(t, e, i), i;
|
|
4820
4838
|
};
|
|
4821
|
-
let
|
|
4839
|
+
let _i = 0, O = class extends u {
|
|
4822
4840
|
constructor() {
|
|
4823
|
-
super(), this.checked = !1, this.disabled = !1, this.size = "S", this.showLabel = !0, this.label = "Radio button", this.name = "", this.value = "on", this.inputId = "", this.inputId || (this.inputId = `o-radio-${++
|
|
4841
|
+
super(), this.checked = !1, this.disabled = !1, this.size = "S", this.showLabel = !0, this.label = "Radio button", this.name = "", this.value = "on", this.inputId = "", this.inputId || (this.inputId = `o-radio-${++_i}`);
|
|
4824
4842
|
}
|
|
4825
4843
|
handleClick() {
|
|
4826
4844
|
this.disabled || this.checked || (this.checked = !0, this.syncInput(), this.dispatchEvent(new Event("change", { bubbles: !0, composed: !0 })));
|
|
@@ -4831,8 +4849,8 @@ let xi = 0, I = class extends u {
|
|
|
4831
4849
|
updated(o) {
|
|
4832
4850
|
if (o.has("checked") && this.checked) {
|
|
4833
4851
|
const t = this.parentElement;
|
|
4834
|
-
t && Array.from(t.querySelectorAll(`o-radio[name="${this.name}"]`)).forEach((
|
|
4835
|
-
|
|
4852
|
+
t && Array.from(t.querySelectorAll(`o-radio[name="${this.name}"]`)).forEach((r) => {
|
|
4853
|
+
r !== this && (r.checked = !1);
|
|
4836
4854
|
});
|
|
4837
4855
|
}
|
|
4838
4856
|
this.syncInput();
|
|
@@ -4852,7 +4870,7 @@ let xi = 0, I = class extends u {
|
|
|
4852
4870
|
`;
|
|
4853
4871
|
}
|
|
4854
4872
|
};
|
|
4855
|
-
|
|
4873
|
+
O.styles = v`
|
|
4856
4874
|
:host {
|
|
4857
4875
|
display: inline-flex;
|
|
4858
4876
|
align-items: center;
|
|
@@ -4944,31 +4962,141 @@ I.styles = f`
|
|
|
4944
4962
|
`;
|
|
4945
4963
|
R([
|
|
4946
4964
|
a({ type: Boolean, reflect: !0 })
|
|
4947
|
-
],
|
|
4965
|
+
], O.prototype, "checked", 2);
|
|
4948
4966
|
R([
|
|
4949
4967
|
a({ type: Boolean, reflect: !0 })
|
|
4950
|
-
],
|
|
4968
|
+
], O.prototype, "disabled", 2);
|
|
4951
4969
|
R([
|
|
4952
4970
|
a({ type: String, reflect: !0 })
|
|
4953
|
-
],
|
|
4971
|
+
], O.prototype, "size", 2);
|
|
4954
4972
|
R([
|
|
4955
4973
|
a({ type: Boolean })
|
|
4956
|
-
],
|
|
4974
|
+
], O.prototype, "showLabel", 2);
|
|
4957
4975
|
R([
|
|
4958
4976
|
a({ type: String })
|
|
4959
|
-
],
|
|
4977
|
+
], O.prototype, "label", 2);
|
|
4960
4978
|
R([
|
|
4961
4979
|
a({ type: String })
|
|
4962
|
-
],
|
|
4980
|
+
], O.prototype, "name", 2);
|
|
4963
4981
|
R([
|
|
4964
4982
|
a({ type: String })
|
|
4965
|
-
],
|
|
4983
|
+
], O.prototype, "value", 2);
|
|
4966
4984
|
R([
|
|
4967
4985
|
a({ type: String, reflect: !0 })
|
|
4968
|
-
],
|
|
4986
|
+
], O.prototype, "inputId", 2);
|
|
4969
4987
|
R([
|
|
4970
|
-
|
|
4971
|
-
],
|
|
4972
|
-
|
|
4973
|
-
|
|
4974
|
-
],
|
|
4988
|
+
ye("input")
|
|
4989
|
+
], O.prototype, "inputEl", 2);
|
|
4990
|
+
O = R([
|
|
4991
|
+
g("o-radio")
|
|
4992
|
+
], O);
|
|
4993
|
+
var Ci = Object.getOwnPropertyDescriptor, ki = (o, t, e, r) => {
|
|
4994
|
+
for (var i = r > 1 ? void 0 : r ? Ci(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
4995
|
+
(s = o[n]) && (i = s(i) || i);
|
|
4996
|
+
return i;
|
|
4997
|
+
};
|
|
4998
|
+
let Mt = class extends u {
|
|
4999
|
+
render() {
|
|
5000
|
+
return l`
|
|
5001
|
+
<nav aria-label="Breadcrumbs">
|
|
5002
|
+
<ul>
|
|
5003
|
+
<slot></slot>
|
|
5004
|
+
</ul>
|
|
5005
|
+
</nav>
|
|
5006
|
+
`;
|
|
5007
|
+
}
|
|
5008
|
+
};
|
|
5009
|
+
Mt.styles = v`
|
|
5010
|
+
nav {
|
|
5011
|
+
max-width: 144rem;
|
|
5012
|
+
margin: auto;
|
|
5013
|
+
padding: var(--spacing-3-xl) var(--spacing-xl);
|
|
5014
|
+
}
|
|
5015
|
+
|
|
5016
|
+
ul {
|
|
5017
|
+
margin: var(--spacing-4-xs);
|
|
5018
|
+
padding: var(--spacing-4-xs);
|
|
5019
|
+
}
|
|
5020
|
+
`;
|
|
5021
|
+
Mt = ki([
|
|
5022
|
+
g("o-breadcrumbs")
|
|
5023
|
+
], Mt);
|
|
5024
|
+
var Si = Object.defineProperty, Ai = Object.getOwnPropertyDescriptor, Yt = (o, t, e, r) => {
|
|
5025
|
+
for (var i = r > 1 ? void 0 : r ? Ai(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
5026
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
5027
|
+
return r && i && Si(t, e, i), i;
|
|
5028
|
+
};
|
|
5029
|
+
let xt = class extends u {
|
|
5030
|
+
constructor() {
|
|
5031
|
+
super(...arguments), this.href = "", this.active = !1;
|
|
5032
|
+
}
|
|
5033
|
+
_handleClick(o) {
|
|
5034
|
+
(!this.href || this.href === "#") && o.preventDefault();
|
|
5035
|
+
}
|
|
5036
|
+
render() {
|
|
5037
|
+
return this.active ? l`<span aria-current="page"><slot></slot></span>` : l`
|
|
5038
|
+
<li>
|
|
5039
|
+
<a
|
|
5040
|
+
href="${this.href}"
|
|
5041
|
+
@click="${this._handleClick}"
|
|
5042
|
+
@keydown="${this._handleClick}"
|
|
5043
|
+
>
|
|
5044
|
+
<slot></slot>
|
|
5045
|
+
</a>
|
|
5046
|
+
</li>
|
|
5047
|
+
`;
|
|
5048
|
+
}
|
|
5049
|
+
};
|
|
5050
|
+
xt.styles = v`
|
|
5051
|
+
li {
|
|
5052
|
+
display: inline-block;
|
|
5053
|
+
}
|
|
5054
|
+
|
|
5055
|
+
li::after {
|
|
5056
|
+
content: "/";
|
|
5057
|
+
margin: var(--spacing-4-xs) var(--spacing-2-xs);
|
|
5058
|
+
color: var(--color-content-description);
|
|
5059
|
+
}
|
|
5060
|
+
|
|
5061
|
+
a, span {
|
|
5062
|
+
color: var(--color-content-description);
|
|
5063
|
+
font-family: var(--font-family-loccitane-sans);
|
|
5064
|
+
font-size: var(--font-size-100);
|
|
5065
|
+
font-weight: var(--font-weight-400);
|
|
5066
|
+
line-height: var(--line-height-160);
|
|
5067
|
+
letter-spacing: var(--letter-spacing-400);
|
|
5068
|
+
text-decoration: none;
|
|
5069
|
+
}
|
|
5070
|
+
|
|
5071
|
+
a:hover {
|
|
5072
|
+
text-decoration: underline;
|
|
5073
|
+
text-underline-offset: var(--spacing-2-xs);
|
|
5074
|
+
}
|
|
5075
|
+
|
|
5076
|
+
a:focus-visible {
|
|
5077
|
+
${ot};
|
|
5078
|
+
}
|
|
5079
|
+
|
|
5080
|
+
:host(.a--tabfocus) {
|
|
5081
|
+
outline: none !important;
|
|
5082
|
+
}
|
|
5083
|
+
|
|
5084
|
+
:host([active]) {
|
|
5085
|
+
span {
|
|
5086
|
+
color: var(--color-content-body);
|
|
5087
|
+
}
|
|
5088
|
+
|
|
5089
|
+
li::after {
|
|
5090
|
+
content: "";
|
|
5091
|
+
}
|
|
5092
|
+
}
|
|
5093
|
+
`;
|
|
5094
|
+
Yt([
|
|
5095
|
+
a({ type: String })
|
|
5096
|
+
], xt.prototype, "href", 2);
|
|
5097
|
+
Yt([
|
|
5098
|
+
a({ type: Boolean, reflect: !0 })
|
|
5099
|
+
], xt.prototype, "active", 2);
|
|
5100
|
+
xt = Yt([
|
|
5101
|
+
g("o-breadcrumb")
|
|
5102
|
+
], xt);
|