@florid-kit/components 0.9.3 → 0.9.4
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/index.js +332 -122
- package/index.mjs +1130 -781
- 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, Mt = $t.ShadowRoot && ($t.ShadyCSS === void 0 || $t.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Tt = Symbol(), Qt = /* @__PURE__ */ new WeakMap();
|
|
7
|
+
let he = class {
|
|
8
|
+
constructor(t, e, r) {
|
|
9
|
+
if (this._$cssResult$ = !0, r !== Tt) 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 (Mt && t === void 0) {
|
|
16
|
+
const r = e !== void 0 && e.length === 1;
|
|
17
|
+
r && (t = Qt.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), r && Qt.set(e, t));
|
|
18
18
|
}
|
|
19
19
|
return t;
|
|
20
20
|
}
|
|
@@ -22,33 +22,33 @@ let se = class {
|
|
|
22
22
|
return this.cssText;
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
|
-
const
|
|
26
|
-
const e = o.length === 1 ? o[0] : t.reduce((
|
|
25
|
+
const ye = (o) => new he(typeof o == "string" ? o : o + "", void 0, Tt), f = (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 he(e, o, Tt);
|
|
32
|
+
}, me = (o, t) => {
|
|
33
|
+
if (Mt) 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
|
+
}, Yt = Mt ? (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 ye(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: xe, defineProperty: we, getOwnPropertyDescriptor: $e, getOwnPropertyNames: Ce, getOwnPropertySymbols: _e, getPrototypeOf: ke } = Object, W = globalThis, te = W.trustedTypes, Ee = te ? te.emptyScript : "", Lt = W.reactiveElementPolyfillSupport, lt = (o, t) => o, Ct = { toAttribute(o, t) {
|
|
49
49
|
switch (t) {
|
|
50
50
|
case Boolean:
|
|
51
|
-
o = o ?
|
|
51
|
+
o = o ? Ee : null;
|
|
52
52
|
break;
|
|
53
53
|
case Object:
|
|
54
54
|
case Array:
|
|
@@ -73,54 +73,54 @@ const { is: fe, defineProperty: be, getOwnPropertyDescriptor: ge, getOwnProperty
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
return e;
|
|
76
|
-
} },
|
|
77
|
-
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")),
|
|
78
|
-
let
|
|
76
|
+
} }, jt = (o, t) => !xe(o, t), ee = { attribute: !0, type: String, converter: Ct, reflect: !1, useDefault: !1, hasChanged: jt };
|
|
77
|
+
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), W.litPropertyMetadata ?? (W.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
78
|
+
let it = 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 = ee) {
|
|
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 && we(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 } = $e(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) ?? ee;
|
|
104
104
|
}
|
|
105
105
|
static _$Ei() {
|
|
106
|
-
if (this.hasOwnProperty(
|
|
107
|
-
const t =
|
|
106
|
+
if (this.hasOwnProperty(lt("elementProperties"))) return;
|
|
107
|
+
const t = ke(this);
|
|
108
108
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
109
109
|
}
|
|
110
110
|
static finalize() {
|
|
111
|
-
if (this.hasOwnProperty(
|
|
112
|
-
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(
|
|
113
|
-
const e = this.properties,
|
|
114
|
-
for (const i of
|
|
111
|
+
if (this.hasOwnProperty(lt("finalized"))) return;
|
|
112
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(lt("properties"))) {
|
|
113
|
+
const e = this.properties, r = [...Ce(e), ..._e(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 Y = 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(Yt(i));
|
|
133
|
+
} else t !== void 0 && e.push(Yt(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 Y = 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 me(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 Y = 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 ?? jt)(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 Y = 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 Y = 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 Y = class extends HTMLElement {
|
|
|
276
276
|
firstUpdated(t) {
|
|
277
277
|
}
|
|
278
278
|
};
|
|
279
|
-
|
|
279
|
+
it.elementStyles = [], it.shadowRootOptions = { mode: "open" }, it[lt("elementProperties")] = /* @__PURE__ */ new Map(), it[lt("finalized")] = /* @__PURE__ */ new Map(), Lt == null || Lt({ ReactiveElement: it }), (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
|
|
286
|
-
\f\r]`,
|
|
287
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
288
|
-
function
|
|
289
|
-
if (!
|
|
290
|
-
return
|
|
285
|
+
const ct = globalThis, _t = ct.trustedTypes, oe = _t ? _t.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, de = "$lit$", K = `lit$${Math.random().toFixed(9).slice(2)}$`, pe = "?" + K, Se = `<${pe}>`, tt = document, dt = () => tt.createComment(""), pt = (o) => o === null || typeof o != "object" && typeof o != "function", Rt = Array.isArray, Ae = (o) => Rt(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", It = `[
|
|
286
|
+
\f\r]`, at = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ie = /-->/g, re = />/g, J = RegExp(`>|${It}(?:([^\\s"'>=/]+)(${It}*=${It}*(?:[^
|
|
287
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), ne = /'/g, se = /"/g, ue = /^(?:script|style|textarea|title)$/i, Le = (o) => (t, ...e) => ({ _$litType$: o, strings: t, values: e }), l = Le(1), G = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), ae = /* @__PURE__ */ new WeakMap(), Q = tt.createTreeWalker(tt, 129);
|
|
288
|
+
function ve(o, t) {
|
|
289
|
+
if (!Rt(o) || !o.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
290
|
+
return oe !== void 0 ? oe.createHTML(t) : t;
|
|
291
291
|
}
|
|
292
|
-
const
|
|
293
|
-
const e = o.length - 1,
|
|
294
|
-
let i,
|
|
292
|
+
const Ie = (o, t) => {
|
|
293
|
+
const e = o.length - 1, r = [];
|
|
294
|
+
let i, n = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", s = at;
|
|
295
295
|
for (let h = 0; h < e; h++) {
|
|
296
296
|
const c = o[h];
|
|
297
|
-
let
|
|
298
|
-
for (;
|
|
299
|
-
const
|
|
300
|
-
|
|
297
|
+
let b, x, p = -1, k = 0;
|
|
298
|
+
for (; k < c.length && (s.lastIndex = k, x = s.exec(c), x !== null); ) k = s.lastIndex, s === at ? x[1] === "!--" ? s = ie : x[1] !== void 0 ? s = re : x[2] !== void 0 ? (ue.test(x[2]) && (i = RegExp("</" + x[2], "g")), s = J) : x[3] !== void 0 && (s = J) : s === J ? x[0] === ">" ? (s = i ?? at, p = -1) : x[1] === void 0 ? p = -2 : (p = s.lastIndex - x[2].length, b = x[1], s = x[3] === void 0 ? J : x[3] === '"' ? se : ne) : s === se || s === ne ? s = J : s === ie || s === re ? s = at : (s = J, i = void 0);
|
|
299
|
+
const z = s === J && o[h + 1].startsWith("/>") ? " " : "";
|
|
300
|
+
n += s === at ? c + Se : p >= 0 ? (r.push(b), c.slice(0, p) + de + c.slice(p) + K + z) : c + K + (p === -2 ? h : z);
|
|
301
301
|
}
|
|
302
|
-
return [
|
|
302
|
+
return [ve(o, n + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), r];
|
|
303
303
|
};
|
|
304
|
-
class
|
|
305
|
-
constructor({ strings: t, _$litType$: e },
|
|
304
|
+
class ut {
|
|
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, [
|
|
310
|
-
if (this.el =
|
|
308
|
+
let n = 0, s = 0;
|
|
309
|
+
const h = t.length - 1, c = this.parts, [b, x] = Ie(t, e);
|
|
310
|
+
if (this.el = ut.createElement(b, r), Q.currentNode = this.el.content, e === 2 || e === 3) {
|
|
311
311
|
const p = this.el.content.firstChild;
|
|
312
312
|
p.replaceWith(...p.childNodes);
|
|
313
313
|
}
|
|
314
|
-
for (; (i =
|
|
314
|
+
for (; (i = Q.nextNode()) !== null && c.length < h; ) {
|
|
315
315
|
if (i.nodeType === 1) {
|
|
316
|
-
if (i.hasAttributes()) for (const p of i.getAttributeNames()) if (p.endsWith(
|
|
317
|
-
const
|
|
318
|
-
c.push({ type: 1, index:
|
|
319
|
-
} else p.startsWith(
|
|
320
|
-
if (
|
|
321
|
-
const p = i.textContent.split(
|
|
322
|
-
if (
|
|
323
|
-
i.textContent =
|
|
324
|
-
for (let
|
|
325
|
-
i.append(p[
|
|
316
|
+
if (i.hasAttributes()) for (const p of i.getAttributeNames()) if (p.endsWith(de)) {
|
|
317
|
+
const k = x[s++], z = i.getAttribute(p).split(K), wt = /([.?@])?(.*)/.exec(k);
|
|
318
|
+
c.push({ type: 1, index: n, name: wt[2], strings: z, ctor: wt[1] === "." ? Oe : wt[1] === "?" ? ze : wt[1] === "@" ? Be : Et }), i.removeAttribute(p);
|
|
319
|
+
} else p.startsWith(K) && (c.push({ type: 6, index: n }), i.removeAttribute(p));
|
|
320
|
+
if (ue.test(i.tagName)) {
|
|
321
|
+
const p = i.textContent.split(K), k = p.length - 1;
|
|
322
|
+
if (k > 0) {
|
|
323
|
+
i.textContent = _t ? _t.emptyScript : "";
|
|
324
|
+
for (let z = 0; z < k; z++) i.append(p[z], dt()), Q.nextNode(), c.push({ type: 2, index: ++n });
|
|
325
|
+
i.append(p[k], dt());
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
|
-
} else if (i.nodeType === 8) if (i.data ===
|
|
328
|
+
} else if (i.nodeType === 8) if (i.data === pe) c.push({ type: 2, index: n });
|
|
329
329
|
else {
|
|
330
330
|
let p = -1;
|
|
331
|
-
for (; (p = i.data.indexOf(
|
|
331
|
+
for (; (p = i.data.indexOf(K, p + 1)) !== -1; ) c.push({ type: 7, index: n }), p += 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
|
|
341
|
+
function rt(o, t, e = o, r) {
|
|
342
342
|
var s, h;
|
|
343
|
-
if (t ===
|
|
344
|
-
let i =
|
|
345
|
-
const
|
|
346
|
-
return (i == null ? void 0 : i.constructor) !==
|
|
343
|
+
if (t === G) return t;
|
|
344
|
+
let i = r !== void 0 ? (s = e._$Co) == null ? void 0 : s[r] : e._$Cl;
|
|
345
|
+
const n = pt(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 = rt(o, i._$AS(o, t.values), i, r)), t;
|
|
347
347
|
}
|
|
348
|
-
class
|
|
348
|
+
class Pe {
|
|
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 Ae {
|
|
|
356
356
|
return this._$AM._$AU;
|
|
357
357
|
}
|
|
358
358
|
u(t) {
|
|
359
|
-
const { el: { content: e }, parts:
|
|
360
|
-
|
|
361
|
-
let
|
|
359
|
+
const { el: { content: e }, parts: r } = this._$AD, i = ((t == null ? void 0 : t.creationScope) ?? tt).importNode(e, !0);
|
|
360
|
+
Q.currentNode = i;
|
|
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
|
-
let
|
|
365
|
-
c.type === 2 ?
|
|
364
|
+
let b;
|
|
365
|
+
c.type === 2 ? b = new mt(n, n.nextSibling, this, t) : c.type === 1 ? b = new c.ctor(n, c.name, c.strings, this, t) : c.type === 6 && (b = new De(n, this, t)), this._$AV.push(b), 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
|
-
return
|
|
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 mt {
|
|
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 ft {
|
|
|
393
393
|
return this._$AB;
|
|
394
394
|
}
|
|
395
395
|
_$AI(t, e = this) {
|
|
396
|
-
t =
|
|
396
|
+
t = rt(this, t, e), pt(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) : Ae(t) ? this.k(t) : this._(t);
|
|
397
397
|
}
|
|
398
398
|
O(t) {
|
|
399
399
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -402,31 +402,31 @@ class ft {
|
|
|
402
402
|
this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
|
|
403
403
|
}
|
|
404
404
|
_(t) {
|
|
405
|
-
this._$AH !== d &&
|
|
405
|
+
this._$AH !== d && pt(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 = ut.createElement(ve(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 Pe(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 = ae.get(t.strings);
|
|
418
|
+
return e === void 0 && ae.set(t.strings, e = new ut(t)), e;
|
|
419
419
|
}
|
|
420
420
|
k(t) {
|
|
421
|
-
|
|
421
|
+
Rt(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 mt(this.O(dt()), this.O(dt()), 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 ft {
|
|
|
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 Et {
|
|
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 = rt(this, t, e, 0), s = !pt(t) || t !== this._$AH && t !== G, s && (this._$AH = t);
|
|
453
453
|
else {
|
|
454
454
|
const h = t;
|
|
455
|
-
let c,
|
|
456
|
-
for (t =
|
|
455
|
+
let c, b;
|
|
456
|
+
for (t = n[0], c = 0; c < n.length - 1; c++) b = rt(this, h[r + c], e, c), b === G && (b = this._$AH[c]), s || (s = !pt(b) || b !== this._$AH[c]), b === d ? t = d : t !== d && (t += (b ?? "") + n[c + 1]), this._$AH[c] = b;
|
|
457
457
|
}
|
|
458
458
|
s && !i && this.j(t);
|
|
459
459
|
}
|
|
@@ -461,7 +461,7 @@ class $t {
|
|
|
461
461
|
t === d ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
|
462
462
|
}
|
|
463
463
|
}
|
|
464
|
-
class
|
|
464
|
+
class Oe extends Et {
|
|
465
465
|
constructor() {
|
|
466
466
|
super(...arguments), this.type = 3;
|
|
467
467
|
}
|
|
@@ -469,7 +469,7 @@ class Ee extends $t {
|
|
|
469
469
|
this.element[this.name] = t === d ? void 0 : t;
|
|
470
470
|
}
|
|
471
471
|
}
|
|
472
|
-
class
|
|
472
|
+
class ze extends Et {
|
|
473
473
|
constructor() {
|
|
474
474
|
super(...arguments), this.type = 4;
|
|
475
475
|
}
|
|
@@ -477,39 +477,39 @@ class Se extends $t {
|
|
|
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 Be extends Et {
|
|
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
|
-
if ((t =
|
|
486
|
-
const
|
|
487
|
-
i && this.element.removeEventListener(this.name, this,
|
|
485
|
+
if ((t = rt(this, t, e, 0) ?? d) === G) return;
|
|
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 De {
|
|
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;
|
|
500
500
|
}
|
|
501
501
|
_$AI(t) {
|
|
502
|
-
|
|
502
|
+
rt(this, t);
|
|
503
503
|
}
|
|
504
504
|
}
|
|
505
|
-
const
|
|
506
|
-
|
|
507
|
-
const
|
|
508
|
-
const
|
|
509
|
-
let i =
|
|
505
|
+
const Pt = ct.litHtmlPolyfillSupport;
|
|
506
|
+
Pt == null || Pt(ut, mt), (ct.litHtmlVersions ?? (ct.litHtmlVersions = [])).push("3.3.0");
|
|
507
|
+
const He = (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 mt(t.insertBefore(dt(), n), n, void 0, e ?? {});
|
|
513
513
|
}
|
|
514
514
|
return i._$AI(o), i;
|
|
515
515
|
};
|
|
@@ -518,8 +518,8 @@ const Oe = (o, t, e) => {
|
|
|
518
518
|
* Copyright 2017 Google LLC
|
|
519
519
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
520
520
|
*/
|
|
521
|
-
const
|
|
522
|
-
let v = class extends
|
|
521
|
+
const Y = globalThis;
|
|
522
|
+
let v = class extends it {
|
|
523
523
|
constructor() {
|
|
524
524
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
525
525
|
}
|
|
@@ -530,7 +530,7 @@ let v = class extends Y {
|
|
|
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 = He(e, this.renderRoot, this.renderOptions);
|
|
534
534
|
}
|
|
535
535
|
connectedCallback() {
|
|
536
536
|
var t;
|
|
@@ -541,20 +541,20 @@ let v = class extends Y {
|
|
|
541
541
|
super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
|
|
542
542
|
}
|
|
543
543
|
render() {
|
|
544
|
-
return
|
|
544
|
+
return G;
|
|
545
545
|
}
|
|
546
546
|
};
|
|
547
|
-
var
|
|
548
|
-
v._$litElement$ = !0, v.finalized = !0, (
|
|
549
|
-
const
|
|
550
|
-
|
|
551
|
-
(
|
|
547
|
+
var ce;
|
|
548
|
+
v._$litElement$ = !0, v.finalized = !0, (ce = Y.litElementHydrateSupport) == null || ce.call(Y, { LitElement: v });
|
|
549
|
+
const Ot = Y.litElementPolyfillSupport;
|
|
550
|
+
Ot == null || Ot({ LitElement: v });
|
|
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 m = (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 x = (o) => (t, e) => {
|
|
|
564
564
|
* Copyright 2017 Google LLC
|
|
565
565
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
566
566
|
*/
|
|
567
|
-
const
|
|
568
|
-
const { kind:
|
|
569
|
-
let
|
|
570
|
-
if (
|
|
567
|
+
const Me = { attribute: !0, type: String, converter: Ct, reflect: !1, hasChanged: jt }, Te = (o = Me, 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 Ie = { attribute: !0, type: String, converter: mt, 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" ? Te(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
|
/**
|
|
@@ -596,14 +596,36 @@ function a(o) {
|
|
|
596
596
|
* Copyright 2017 Google LLC
|
|
597
597
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
598
598
|
*/
|
|
599
|
-
function
|
|
599
|
+
function et(o) {
|
|
600
600
|
return a({ ...o, state: !0, attribute: !1 });
|
|
601
601
|
}
|
|
602
|
-
|
|
602
|
+
/**
|
|
603
|
+
* @license
|
|
604
|
+
* Copyright 2017 Google LLC
|
|
605
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
606
|
+
*/
|
|
607
|
+
const je = (o, t, e) => (e.configurable = !0, e.enumerable = !0, Reflect.decorate && typeof t != "object" && Object.defineProperty(o, t, e), e);
|
|
608
|
+
/**
|
|
609
|
+
* @license
|
|
610
|
+
* Copyright 2017 Google LLC
|
|
611
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
612
|
+
*/
|
|
613
|
+
function fe(o, t) {
|
|
614
|
+
return (e, r, i) => {
|
|
615
|
+
const n = (s) => {
|
|
616
|
+
var h;
|
|
617
|
+
return ((h = s.renderRoot) == null ? void 0 : h.querySelector(o)) ?? null;
|
|
618
|
+
};
|
|
619
|
+
return je(e, r, { get() {
|
|
620
|
+
return n(this);
|
|
621
|
+
} });
|
|
622
|
+
};
|
|
623
|
+
}
|
|
624
|
+
const xt = f`
|
|
603
625
|
outline: 1px dashed var(--color-border-primary);
|
|
604
626
|
outline-offset: 2px;
|
|
605
627
|
`;
|
|
606
|
-
|
|
628
|
+
f`
|
|
607
629
|
:host * {
|
|
608
630
|
box-sizing: border-box;
|
|
609
631
|
}
|
|
@@ -613,12 +635,12 @@ g`
|
|
|
613
635
|
* Copyright 2023 Google LLC
|
|
614
636
|
* SPDX-License-Identifier: Apache-2.0
|
|
615
637
|
*/
|
|
616
|
-
const
|
|
617
|
-
function
|
|
638
|
+
const Ft = Symbol("internals"), zt = Symbol("privateInternals");
|
|
639
|
+
function Nt(o) {
|
|
618
640
|
var t;
|
|
619
641
|
class e extends o {
|
|
620
|
-
get [(t =
|
|
621
|
-
return this[
|
|
642
|
+
get [(t = Ft, t)]() {
|
|
643
|
+
return this[zt] || (this[zt] = this.attachInternals()), this[zt];
|
|
622
644
|
}
|
|
623
645
|
}
|
|
624
646
|
return e;
|
|
@@ -628,14 +650,14 @@ function Tt(o) {
|
|
|
628
650
|
* Copyright 2023 Google LLC
|
|
629
651
|
* SPDX-License-Identifier: Apache-2.0
|
|
630
652
|
*/
|
|
631
|
-
function
|
|
653
|
+
function Re(o) {
|
|
632
654
|
o.addInitializer((t) => {
|
|
633
655
|
const e = t;
|
|
634
|
-
e.addEventListener("click", async (
|
|
635
|
-
const { type: i, [
|
|
656
|
+
e.addEventListener("click", async (r) => {
|
|
657
|
+
const { type: i, [Ft]: n } = e, { form: s } = n;
|
|
636
658
|
if (!(!s || i === "button") && (await new Promise((h) => {
|
|
637
659
|
setTimeout(h);
|
|
638
|
-
}), !
|
|
660
|
+
}), !r.defaultPrevented)) {
|
|
639
661
|
if (i === "reset") {
|
|
640
662
|
s.reset();
|
|
641
663
|
return;
|
|
@@ -650,153 +672,153 @@ function Be(o) {
|
|
|
650
672
|
});
|
|
651
673
|
},
|
|
652
674
|
{ capture: !0, once: !0 }
|
|
653
|
-
),
|
|
675
|
+
), n.setFormValue(e.value), s.requestSubmit();
|
|
654
676
|
}
|
|
655
677
|
});
|
|
656
678
|
});
|
|
657
679
|
}
|
|
658
|
-
const
|
|
680
|
+
const Fe = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
659
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"/>
|
|
660
682
|
</svg>
|
|
661
|
-
`,
|
|
683
|
+
`, Ne = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
662
684
|
<path d="M16 8L4 0V16L16 8Z" fill="#3F2B2E"/>
|
|
663
685
|
</svg>
|
|
664
|
-
`,
|
|
686
|
+
`, Ue = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
665
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"/>
|
|
666
688
|
</svg>
|
|
667
|
-
`,
|
|
689
|
+
`, Ve = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
668
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"/>
|
|
669
691
|
</svg>
|
|
670
|
-
`,
|
|
692
|
+
`, Ze = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
671
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"/>
|
|
672
694
|
</svg>
|
|
673
|
-
`,
|
|
695
|
+
`, qe = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
674
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"/>
|
|
675
697
|
</svg>
|
|
676
|
-
`,
|
|
698
|
+
`, Ke = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
677
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"/>
|
|
678
700
|
</svg>
|
|
679
|
-
`,
|
|
701
|
+
`, We = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
680
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"/>
|
|
681
703
|
</svg>
|
|
682
|
-
`,
|
|
704
|
+
`, Ge = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
683
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"/>
|
|
684
706
|
</svg>
|
|
685
|
-
`,
|
|
707
|
+
`, Xe = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
686
708
|
<path d="M2 2L14 14" stroke="#3F2B2E"/>
|
|
687
709
|
<path d="M14 2L2 14" stroke="#3F2B2E"/>
|
|
688
710
|
</svg>
|
|
689
|
-
`,
|
|
711
|
+
`, Je = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
690
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"/>
|
|
691
713
|
</svg>
|
|
692
|
-
`,
|
|
714
|
+
`, Qe = `<?xml version="1.0" encoding="utf-8"?>
|
|
693
715
|
<!-- Generator: $$$/GeneralStr/196=Adobe Illustrator 27.6.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
694
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"
|
|
695
717
|
viewBox="0 0 40 40" style="enable-background:new 0 0 40 40;" xml:space="preserve">
|
|
696
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
|
|
697
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"/>
|
|
698
720
|
</svg>
|
|
699
|
-
`,
|
|
721
|
+
`, Ye = `<?xml version="1.0" encoding="utf-8"?>
|
|
700
722
|
<!-- Generator: $$$/GeneralStr/196=Adobe Illustrator 27.6.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
701
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"
|
|
702
724
|
viewBox="0 0 40 40" style="enable-background:new 0 0 40 40;" xml:space="preserve">
|
|
703
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"/>
|
|
704
726
|
</svg>
|
|
705
|
-
`,
|
|
727
|
+
`, to = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
706
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"/>
|
|
707
729
|
</svg>
|
|
708
|
-
`,
|
|
730
|
+
`, eo = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
709
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"/>
|
|
710
732
|
</svg>
|
|
711
|
-
`,
|
|
733
|
+
`, oo = `<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
712
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"/>
|
|
713
735
|
</svg>
|
|
714
|
-
`,
|
|
736
|
+
`, io = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
715
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"/>
|
|
716
738
|
</svg>
|
|
717
|
-
`,
|
|
739
|
+
`, ro = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
718
740
|
<path d="M12 17.4585L4 6.4585L20 6.4585L12 17.4585Z" fill="#3F2B2E"/>
|
|
719
741
|
</svg>
|
|
720
|
-
`,
|
|
742
|
+
`, no = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
721
743
|
<path d="M12 6.4585L20 17.4585H4L12 6.4585Z" fill="#3F2B2E"/>
|
|
722
744
|
</svg>
|
|
723
|
-
`,
|
|
745
|
+
`, so = `<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
724
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"/>
|
|
725
747
|
</svg>
|
|
726
|
-
`,
|
|
748
|
+
`, ao = `<svg width="8" height="8" viewBox="0 0 8 8" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
727
749
|
<rect x="1" width="2" height="8" fill="#3F2B2E"/>
|
|
728
750
|
<rect x="5" width="2" height="8" fill="#3F2B2E"/>
|
|
729
751
|
</svg>
|
|
730
|
-
`,
|
|
752
|
+
`, lo = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
731
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"/>
|
|
732
754
|
</svg>
|
|
733
|
-
`,
|
|
755
|
+
`, co = `<svg viewBox="0 0 200 200" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg">
|
|
734
756
|
<line x1="0" y1="0" x2="200" y2="200" />
|
|
735
|
-
</svg>`,
|
|
757
|
+
</svg>`, ho = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
736
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"/>
|
|
737
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"/>
|
|
738
760
|
</svg>
|
|
739
|
-
`,
|
|
761
|
+
`, po = `<svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
740
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"/>
|
|
741
763
|
</svg>
|
|
742
|
-
`,
|
|
764
|
+
`, uo = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
743
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"/>
|
|
744
766
|
</svg>
|
|
745
|
-
`,
|
|
767
|
+
`, vo = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
746
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"/>
|
|
747
769
|
</svg>
|
|
748
|
-
`,
|
|
770
|
+
`, fo = `<svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
749
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"/>
|
|
750
772
|
</svg>
|
|
751
|
-
`,
|
|
773
|
+
`, bo = `<svg xmlns="http://www.w3.org/2000/svg" width="10" height="8" viewBox="0 0 10 8" fill="none">
|
|
752
774
|
<path d="M1 4.5415L3 6.5415L9 0.541504" stroke="#FBF9F6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
753
|
-
</svg>`,
|
|
754
|
-
wishlist:
|
|
755
|
-
playerv:
|
|
756
|
-
chevronRight:
|
|
757
|
-
chevronLeft:
|
|
758
|
-
icoPlus:
|
|
759
|
-
icoMinus:
|
|
760
|
-
"star-0":
|
|
761
|
-
"star-25":
|
|
762
|
-
"star-50":
|
|
763
|
-
"star-75":
|
|
764
|
-
"star-100":
|
|
765
|
-
cross:
|
|
766
|
-
search:
|
|
767
|
-
arrowLeft:
|
|
768
|
-
arrowTop:
|
|
769
|
-
cart:
|
|
770
|
-
notifyme:
|
|
771
|
-
triangledown:
|
|
772
|
-
triangleup:
|
|
773
|
-
checkstroke:
|
|
774
|
-
pause:
|
|
775
|
-
mapDualArrow:
|
|
776
|
-
swipeDualArrow:
|
|
777
|
-
backToBag:
|
|
778
|
-
checkbox:
|
|
779
|
-
},
|
|
780
|
-
strikeDiagonal:
|
|
781
|
-
},
|
|
782
|
-
success:
|
|
783
|
-
error:
|
|
784
|
-
info:
|
|
775
|
+
</svg>`, N = {
|
|
776
|
+
wishlist: Fe,
|
|
777
|
+
playerv: Ne,
|
|
778
|
+
chevronRight: Ue,
|
|
779
|
+
chevronLeft: Ve,
|
|
780
|
+
icoPlus: Qe,
|
|
781
|
+
icoMinus: Ye,
|
|
782
|
+
"star-0": Ze,
|
|
783
|
+
"star-25": qe,
|
|
784
|
+
"star-50": Ke,
|
|
785
|
+
"star-75": We,
|
|
786
|
+
"star-100": Ge,
|
|
787
|
+
cross: Xe,
|
|
788
|
+
search: Je,
|
|
789
|
+
arrowLeft: to,
|
|
790
|
+
arrowTop: eo,
|
|
791
|
+
cart: oo,
|
|
792
|
+
notifyme: io,
|
|
793
|
+
triangledown: ro,
|
|
794
|
+
triangleup: no,
|
|
795
|
+
checkstroke: so,
|
|
796
|
+
pause: ao,
|
|
797
|
+
mapDualArrow: lo,
|
|
798
|
+
swipeDualArrow: ho,
|
|
799
|
+
backToBag: fo,
|
|
800
|
+
checkbox: bo
|
|
801
|
+
}, go = {
|
|
802
|
+
strikeDiagonal: co
|
|
803
|
+
}, yo = {
|
|
804
|
+
success: po,
|
|
805
|
+
error: uo,
|
|
806
|
+
info: vo
|
|
785
807
|
};
|
|
786
808
|
/**
|
|
787
809
|
* @license
|
|
788
810
|
* Copyright 2017 Google LLC
|
|
789
811
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
790
812
|
*/
|
|
791
|
-
const
|
|
792
|
-
let
|
|
813
|
+
const Ut = { ATTRIBUTE: 1, CHILD: 2 }, Vt = (o) => (...t) => ({ _$litDirective$: o, values: t });
|
|
814
|
+
let Zt = class {
|
|
793
815
|
constructor(t) {
|
|
794
816
|
}
|
|
795
817
|
get _$AU() {
|
|
796
818
|
return this._$AM._$AU;
|
|
797
819
|
}
|
|
798
|
-
_$AT(t, e,
|
|
799
|
-
this._$Ct = t, this._$AM = e, this._$Ci =
|
|
820
|
+
_$AT(t, e, r) {
|
|
821
|
+
this._$Ct = t, this._$AM = e, this._$Ci = r;
|
|
800
822
|
}
|
|
801
823
|
_$AS(t, e) {
|
|
802
824
|
return this.update(t, e);
|
|
@@ -810,13 +832,13 @@ let Nt = class {
|
|
|
810
832
|
* Copyright 2017 Google LLC
|
|
811
833
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
812
834
|
*/
|
|
813
|
-
class
|
|
835
|
+
class Bt extends Zt {
|
|
814
836
|
constructor(t) {
|
|
815
|
-
if (super(t), this.it = d, t.type !==
|
|
837
|
+
if (super(t), this.it = d, t.type !== Ut.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
|
|
816
838
|
}
|
|
817
839
|
render(t) {
|
|
818
840
|
if (t === d || t == null) return this._t = void 0, this.it = t;
|
|
819
|
-
if (t ===
|
|
841
|
+
if (t === G) return t;
|
|
820
842
|
if (typeof t != "string") throw Error(this.constructor.directiveName + "() called with a non-string value");
|
|
821
843
|
if (t === this.it) return this._t;
|
|
822
844
|
this.it = t;
|
|
@@ -824,23 +846,23 @@ class Pt extends Nt {
|
|
|
824
846
|
return e.raw = e, this._t = { _$litType$: this.constructor.resultType, strings: e, values: [] };
|
|
825
847
|
}
|
|
826
848
|
}
|
|
827
|
-
|
|
849
|
+
Bt.directiveName = "unsafeHTML", Bt.resultType = 1;
|
|
828
850
|
/**
|
|
829
851
|
* @license
|
|
830
852
|
* Copyright 2017 Google LLC
|
|
831
853
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
832
854
|
*/
|
|
833
|
-
class
|
|
855
|
+
class Dt extends Bt {
|
|
834
856
|
}
|
|
835
|
-
|
|
836
|
-
const
|
|
837
|
-
var
|
|
838
|
-
for (var i =
|
|
839
|
-
(s = o[
|
|
840
|
-
return
|
|
857
|
+
Dt.directiveName = "unsafeSVG", Dt.resultType = 2;
|
|
858
|
+
const $ = Vt(Dt);
|
|
859
|
+
var mo = Object.defineProperty, xo = Object.getOwnPropertyDescriptor, w = (o, t, e, r) => {
|
|
860
|
+
for (var i = r > 1 ? void 0 : r ? xo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
861
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
862
|
+
return r && i && mo(t, e, i), i;
|
|
841
863
|
};
|
|
842
|
-
const
|
|
843
|
-
let
|
|
864
|
+
const wo = Nt(v);
|
|
865
|
+
let g = class extends wo {
|
|
844
866
|
constructor() {
|
|
845
867
|
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;
|
|
846
868
|
}
|
|
@@ -851,7 +873,7 @@ let b = class extends fo {
|
|
|
851
873
|
this.setAttribute("name", o);
|
|
852
874
|
}
|
|
853
875
|
get form() {
|
|
854
|
-
return this[
|
|
876
|
+
return this[Ft].form;
|
|
855
877
|
}
|
|
856
878
|
handleClick(o) {
|
|
857
879
|
if (!(o instanceof KeyboardEvent && !["Enter", " "].includes(o.key)) && this.panelTarget) {
|
|
@@ -865,11 +887,11 @@ let b = class extends fo {
|
|
|
865
887
|
renderIcon(o) {
|
|
866
888
|
const t = o === "start" ? this.startIconModel : this.endIconModel;
|
|
867
889
|
if (!t) return d;
|
|
868
|
-
const e =
|
|
890
|
+
const e = N[t].replace(
|
|
869
891
|
"<svg",
|
|
870
892
|
'<svg aria-hidden="true" focusable="false" part="svg"'
|
|
871
893
|
);
|
|
872
|
-
return l`<span class="${o === "start" ? "icon-start" : "icon-end"}">${
|
|
894
|
+
return l`<span class="${o === "start" ? "icon-start" : "icon-end"}">${$(e)}</span>`;
|
|
873
895
|
}
|
|
874
896
|
renderButton() {
|
|
875
897
|
const o = this.text || this.textsecond;
|
|
@@ -904,9 +926,9 @@ let b = class extends fo {
|
|
|
904
926
|
`;
|
|
905
927
|
}
|
|
906
928
|
};
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
929
|
+
Re(g);
|
|
930
|
+
g.formAssociated = !0;
|
|
931
|
+
g.styles = f`
|
|
910
932
|
:host {
|
|
911
933
|
--button-border: transparent;
|
|
912
934
|
--badge-outer-width: 19px;
|
|
@@ -1023,7 +1045,7 @@ b.styles = g`
|
|
|
1023
1045
|
}
|
|
1024
1046
|
|
|
1025
1047
|
.button:focus-visible {
|
|
1026
|
-
${
|
|
1048
|
+
${xt};
|
|
1027
1049
|
}
|
|
1028
1050
|
|
|
1029
1051
|
span.text + span.text::before {
|
|
@@ -1110,61 +1132,61 @@ b.styles = g`
|
|
|
1110
1132
|
`;
|
|
1111
1133
|
w([
|
|
1112
1134
|
a()
|
|
1113
|
-
],
|
|
1135
|
+
], g.prototype, "type", 2);
|
|
1114
1136
|
w([
|
|
1115
1137
|
a({ reflect: !0 })
|
|
1116
|
-
],
|
|
1138
|
+
], g.prototype, "value", 2);
|
|
1117
1139
|
w([
|
|
1118
1140
|
a({ type: String, reflect: !0 })
|
|
1119
|
-
],
|
|
1141
|
+
], g.prototype, "variant", 2);
|
|
1120
1142
|
w([
|
|
1121
1143
|
a({ type: String })
|
|
1122
|
-
],
|
|
1144
|
+
], g.prototype, "text", 2);
|
|
1123
1145
|
w([
|
|
1124
1146
|
a({ type: String })
|
|
1125
|
-
],
|
|
1147
|
+
], g.prototype, "textsecond", 2);
|
|
1126
1148
|
w([
|
|
1127
1149
|
a({ type: Boolean, reflect: !0 })
|
|
1128
|
-
],
|
|
1150
|
+
], g.prototype, "fullwidth", 2);
|
|
1129
1151
|
w([
|
|
1130
1152
|
a({ type: Boolean, reflect: !0 })
|
|
1131
|
-
],
|
|
1153
|
+
], g.prototype, "disabled", 2);
|
|
1132
1154
|
w([
|
|
1133
1155
|
a({ type: String, reflect: !0 })
|
|
1134
|
-
],
|
|
1156
|
+
], g.prototype, "startIconModel", 2);
|
|
1135
1157
|
w([
|
|
1136
1158
|
a({ type: String, reflect: !0 })
|
|
1137
|
-
],
|
|
1159
|
+
], g.prototype, "endIconModel", 2);
|
|
1138
1160
|
w([
|
|
1139
1161
|
a({ type: Boolean, reflect: !0, attribute: "starticon" })
|
|
1140
|
-
],
|
|
1162
|
+
], g.prototype, "startIcon", 2);
|
|
1141
1163
|
w([
|
|
1142
1164
|
a({ type: Boolean, reflect: !0, attribute: "endicon" })
|
|
1143
|
-
],
|
|
1165
|
+
], g.prototype, "endIcon", 2);
|
|
1144
1166
|
w([
|
|
1145
1167
|
a({ type: String, attribute: "paneltarget", reflect: !0 })
|
|
1146
|
-
],
|
|
1168
|
+
], g.prototype, "panelTarget", 2);
|
|
1147
1169
|
w([
|
|
1148
1170
|
a({ type: String })
|
|
1149
|
-
],
|
|
1171
|
+
], g.prototype, "href", 2);
|
|
1150
1172
|
w([
|
|
1151
1173
|
a({ type: String })
|
|
1152
|
-
],
|
|
1174
|
+
], g.prototype, "target", 2);
|
|
1153
1175
|
w([
|
|
1154
1176
|
a({ type: Boolean, reflect: !0 })
|
|
1155
|
-
],
|
|
1177
|
+
], g.prototype, "underlined", 2);
|
|
1156
1178
|
w([
|
|
1157
1179
|
a({ type: Boolean, reflect: !0 })
|
|
1158
|
-
],
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
],
|
|
1162
|
-
var
|
|
1163
|
-
for (var i =
|
|
1164
|
-
(s = o[
|
|
1165
|
-
return
|
|
1180
|
+
], g.prototype, "withbadge", 2);
|
|
1181
|
+
g = w([
|
|
1182
|
+
m("o-button")
|
|
1183
|
+
], g);
|
|
1184
|
+
var $o = Object.defineProperty, Co = Object.getOwnPropertyDescriptor, St = (o, t, e, r) => {
|
|
1185
|
+
for (var i = r > 1 ? void 0 : r ? Co(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
1186
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
1187
|
+
return r && i && $o(t, e, i), i;
|
|
1166
1188
|
};
|
|
1167
|
-
let
|
|
1189
|
+
let nt = class extends v {
|
|
1168
1190
|
constructor() {
|
|
1169
1191
|
super(...arguments), this.status = "empty", this.ariaDescribedBy = "a-product-name", this.label = "Add to wishlist", this.toggleStatus = () => {
|
|
1170
1192
|
this.status = this.status === "empty" ? "filled" : "empty", this.setAttribute("aria-pressed", String(this.status === "filled")), this.dispatchEvent(new CustomEvent("wishlist-toggle", {
|
|
@@ -1184,14 +1206,14 @@ let et = class extends v {
|
|
|
1184
1206
|
(o.key === "Enter" || o.key === " ") && (o.preventDefault(), this.toggleStatus());
|
|
1185
1207
|
}
|
|
1186
1208
|
render() {
|
|
1187
|
-
const o =
|
|
1209
|
+
const o = N.wishlist.replace(
|
|
1188
1210
|
"<svg",
|
|
1189
1211
|
'<svg aria-hidden="true" focusable="false" part="svg"'
|
|
1190
1212
|
);
|
|
1191
1213
|
return l`
|
|
1192
1214
|
<button type="button" aria-describedby="${this.ariaDescribedBy}" class="wishlist-button">
|
|
1193
1215
|
<span class="sr-only">${this.label}</span>
|
|
1194
|
-
${
|
|
1216
|
+
${$(o)}
|
|
1195
1217
|
</button>
|
|
1196
1218
|
`;
|
|
1197
1219
|
}
|
|
@@ -1205,7 +1227,7 @@ let et = class extends v {
|
|
|
1205
1227
|
this.label = o, this.requestUpdate();
|
|
1206
1228
|
}
|
|
1207
1229
|
};
|
|
1208
|
-
|
|
1230
|
+
nt.styles = f`
|
|
1209
1231
|
:host {
|
|
1210
1232
|
display: inline-flex;
|
|
1211
1233
|
justify-content: center;
|
|
@@ -1271,30 +1293,30 @@ et.styles = g`
|
|
|
1271
1293
|
white-space: nowrap !important;
|
|
1272
1294
|
}
|
|
1273
1295
|
`;
|
|
1274
|
-
|
|
1296
|
+
St([
|
|
1275
1297
|
a({ type: String, reflect: !0 })
|
|
1276
|
-
],
|
|
1277
|
-
|
|
1298
|
+
], nt.prototype, "status", 2);
|
|
1299
|
+
St([
|
|
1278
1300
|
a({ type: String, reflect: !0 })
|
|
1279
|
-
],
|
|
1280
|
-
|
|
1301
|
+
], nt.prototype, "ariaDescribedBy", 2);
|
|
1302
|
+
St([
|
|
1281
1303
|
a({ type: String, reflect: !0 })
|
|
1282
|
-
],
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
],
|
|
1304
|
+
], nt.prototype, "label", 2);
|
|
1305
|
+
nt = St([
|
|
1306
|
+
m("o-wishlist-button")
|
|
1307
|
+
], nt);
|
|
1286
1308
|
/**
|
|
1287
1309
|
* @license
|
|
1288
1310
|
* Copyright 2018 Google LLC
|
|
1289
1311
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1290
1312
|
*/
|
|
1291
|
-
const
|
|
1292
|
-
var
|
|
1293
|
-
for (var i =
|
|
1294
|
-
(s = o[
|
|
1295
|
-
return
|
|
1313
|
+
const E = (o) => o ?? d;
|
|
1314
|
+
var _o = Object.defineProperty, ko = Object.getOwnPropertyDescriptor, T = (o, t, e, r) => {
|
|
1315
|
+
for (var i = r > 1 ? void 0 : r ? ko(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
1316
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
1317
|
+
return r && i && _o(t, e, i), i;
|
|
1296
1318
|
};
|
|
1297
|
-
let
|
|
1319
|
+
let S = class extends v {
|
|
1298
1320
|
constructor() {
|
|
1299
1321
|
super(...arguments), this.bgstyle = "background-light", this.size = "medium", this.status = "empty", this.type = "button", this.strokewidth = "1", this.icon = "wishlist", this.disabled = !1, this.showSrLabel = !1, this.srLabel = "";
|
|
1300
1322
|
}
|
|
@@ -1302,27 +1324,27 @@ let k = class extends v {
|
|
|
1302
1324
|
super.updated(o), this.style.setProperty("--icon-stroke-width", this.strokewidth);
|
|
1303
1325
|
}
|
|
1304
1326
|
render() {
|
|
1305
|
-
const o =
|
|
1327
|
+
const o = N[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";
|
|
1306
1328
|
return l`
|
|
1307
1329
|
${this.type === "span" ? l`
|
|
1308
1330
|
<span class="icon icon-button ${this.size} ${this.bgstyle} ${this.status} ${t}" ?disabled="${this.disabled}">
|
|
1309
|
-
${
|
|
1331
|
+
${$(e)}
|
|
1310
1332
|
</span>
|
|
1311
1333
|
` : l`
|
|
1312
1334
|
<button
|
|
1313
1335
|
type="button"
|
|
1314
|
-
aria-label=${
|
|
1336
|
+
aria-label=${E(i)}
|
|
1315
1337
|
class="icon-button ${this.size} ${this.bgstyle} ${this.status} ${t}"
|
|
1316
1338
|
?disabled="${this.disabled}"
|
|
1317
1339
|
>
|
|
1318
|
-
${
|
|
1319
|
-
${
|
|
1340
|
+
${$(e)}
|
|
1341
|
+
${r}
|
|
1320
1342
|
</button>
|
|
1321
1343
|
`}
|
|
1322
1344
|
`;
|
|
1323
1345
|
}
|
|
1324
1346
|
};
|
|
1325
|
-
|
|
1347
|
+
S.styles = f`
|
|
1326
1348
|
:host {
|
|
1327
1349
|
display: inline-flex;
|
|
1328
1350
|
justify-content: center;
|
|
@@ -1527,49 +1549,49 @@ k.styles = g`
|
|
|
1527
1549
|
}
|
|
1528
1550
|
|
|
1529
1551
|
.icon-button:focus-visible {
|
|
1530
|
-
${
|
|
1552
|
+
${xt}
|
|
1531
1553
|
}
|
|
1532
1554
|
|
|
1533
1555
|
.sr-only {
|
|
1534
1556
|
display: none;
|
|
1535
1557
|
}
|
|
1536
1558
|
`;
|
|
1537
|
-
|
|
1559
|
+
T([
|
|
1538
1560
|
a({ type: String, reflect: !0 })
|
|
1539
|
-
],
|
|
1540
|
-
|
|
1561
|
+
], S.prototype, "bgstyle", 2);
|
|
1562
|
+
T([
|
|
1541
1563
|
a({ type: String, reflect: !0 })
|
|
1542
|
-
],
|
|
1543
|
-
|
|
1564
|
+
], S.prototype, "size", 2);
|
|
1565
|
+
T([
|
|
1544
1566
|
a({ type: String, reflect: !0 })
|
|
1545
|
-
],
|
|
1546
|
-
|
|
1567
|
+
], S.prototype, "status", 2);
|
|
1568
|
+
T([
|
|
1547
1569
|
a({ type: String, reflect: !0 })
|
|
1548
|
-
],
|
|
1549
|
-
|
|
1570
|
+
], S.prototype, "type", 2);
|
|
1571
|
+
T([
|
|
1550
1572
|
a({ type: String })
|
|
1551
|
-
],
|
|
1552
|
-
|
|
1573
|
+
], S.prototype, "strokewidth", 2);
|
|
1574
|
+
T([
|
|
1553
1575
|
a({ type: String })
|
|
1554
|
-
],
|
|
1555
|
-
|
|
1576
|
+
], S.prototype, "icon", 2);
|
|
1577
|
+
T([
|
|
1556
1578
|
a({ type: Boolean, reflect: !0 })
|
|
1557
|
-
],
|
|
1558
|
-
|
|
1579
|
+
], S.prototype, "disabled", 2);
|
|
1580
|
+
T([
|
|
1559
1581
|
a({ type: Boolean })
|
|
1560
|
-
],
|
|
1561
|
-
|
|
1582
|
+
], S.prototype, "showSrLabel", 2);
|
|
1583
|
+
T([
|
|
1562
1584
|
a({ type: String })
|
|
1563
|
-
],
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
],
|
|
1567
|
-
var
|
|
1568
|
-
for (var i =
|
|
1569
|
-
(s = o[
|
|
1570
|
-
return
|
|
1585
|
+
], S.prototype, "srLabel", 2);
|
|
1586
|
+
S = T([
|
|
1587
|
+
m("o-icon-button")
|
|
1588
|
+
], S);
|
|
1589
|
+
var Eo = Object.defineProperty, So = Object.getOwnPropertyDescriptor, ot = (o, t, e, r) => {
|
|
1590
|
+
for (var i = r > 1 ? void 0 : r ? So(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
1591
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
1592
|
+
return r && i && Eo(t, e, i), i;
|
|
1571
1593
|
};
|
|
1572
|
-
let
|
|
1594
|
+
let U = class extends v {
|
|
1573
1595
|
constructor() {
|
|
1574
1596
|
super(...arguments), this.href = "", this.target = "", this.template = "standard", this.inverse = !1, this.endIcon = !1, this.reverseEndIcon = !1;
|
|
1575
1597
|
}
|
|
@@ -1581,7 +1603,7 @@ let T = class extends v {
|
|
|
1581
1603
|
return l`
|
|
1582
1604
|
<a
|
|
1583
1605
|
href="${o}"
|
|
1584
|
-
target="${
|
|
1606
|
+
target="${E(this.target || void 0)}"
|
|
1585
1607
|
@click="${this._handleClick}"
|
|
1586
1608
|
>
|
|
1587
1609
|
${this.endIcon && this.reverseEndIcon ? l`
|
|
@@ -1607,7 +1629,7 @@ let T = class extends v {
|
|
|
1607
1629
|
`;
|
|
1608
1630
|
}
|
|
1609
1631
|
};
|
|
1610
|
-
|
|
1632
|
+
U.styles = f`
|
|
1611
1633
|
:host([template="standard"]) a {
|
|
1612
1634
|
color: var(--color-content-action-secondary);
|
|
1613
1635
|
font-size: var(--font-size-200);
|
|
@@ -1695,33 +1717,33 @@ T.styles = g`
|
|
|
1695
1717
|
}
|
|
1696
1718
|
/* End of underline effect */
|
|
1697
1719
|
`;
|
|
1698
|
-
|
|
1720
|
+
ot([
|
|
1699
1721
|
a({ type: String })
|
|
1700
|
-
],
|
|
1701
|
-
|
|
1722
|
+
], U.prototype, "href", 2);
|
|
1723
|
+
ot([
|
|
1702
1724
|
a({ type: String })
|
|
1703
|
-
],
|
|
1704
|
-
|
|
1725
|
+
], U.prototype, "target", 2);
|
|
1726
|
+
ot([
|
|
1705
1727
|
a({ type: String, reflect: !0 })
|
|
1706
|
-
],
|
|
1707
|
-
|
|
1728
|
+
], U.prototype, "template", 2);
|
|
1729
|
+
ot([
|
|
1708
1730
|
a({ type: Boolean, reflect: !0 })
|
|
1709
|
-
],
|
|
1710
|
-
|
|
1731
|
+
], U.prototype, "inverse", 2);
|
|
1732
|
+
ot([
|
|
1711
1733
|
a({ type: Boolean, reflect: !0 })
|
|
1712
|
-
],
|
|
1713
|
-
|
|
1734
|
+
], U.prototype, "endIcon", 2);
|
|
1735
|
+
ot([
|
|
1714
1736
|
a({ type: Boolean, reflect: !0 })
|
|
1715
|
-
],
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
],
|
|
1719
|
-
var
|
|
1720
|
-
for (var i =
|
|
1721
|
-
(s = o[
|
|
1722
|
-
return
|
|
1737
|
+
], U.prototype, "reverseEndIcon", 2);
|
|
1738
|
+
U = ot([
|
|
1739
|
+
m("o-link")
|
|
1740
|
+
], U);
|
|
1741
|
+
var Ao = Object.defineProperty, Lo = Object.getOwnPropertyDescriptor, At = (o, t, e, r) => {
|
|
1742
|
+
for (var i = r > 1 ? void 0 : r ? Lo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
1743
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
1744
|
+
return r && i && Ao(t, e, i), i;
|
|
1723
1745
|
};
|
|
1724
|
-
let
|
|
1746
|
+
let st = class extends v {
|
|
1725
1747
|
constructor() {
|
|
1726
1748
|
super(...arguments), this.rating = 0;
|
|
1727
1749
|
}
|
|
@@ -1729,8 +1751,8 @@ let ot = class extends v {
|
|
|
1729
1751
|
const o = [];
|
|
1730
1752
|
for (let t = 0; t < 5; t++) {
|
|
1731
1753
|
const e = this.rating - t;
|
|
1732
|
-
let
|
|
1733
|
-
e >= 1 ?
|
|
1754
|
+
let r;
|
|
1755
|
+
e >= 1 ? r = 100 : e <= 0 ? r = 0 : r = Math.round(e * 100 / 25) * 25, o.push(`star-${r}`);
|
|
1734
1756
|
}
|
|
1735
1757
|
return o;
|
|
1736
1758
|
}
|
|
@@ -1740,7 +1762,7 @@ let ot = class extends v {
|
|
|
1740
1762
|
<div class="rating">
|
|
1741
1763
|
<div class="stars">
|
|
1742
1764
|
${o.map(
|
|
1743
|
-
(t) => l`<span class="star">${
|
|
1765
|
+
(t) => l`<span class="star">${$(N[t] ?? "")}</span>`
|
|
1744
1766
|
)}
|
|
1745
1767
|
</div>
|
|
1746
1768
|
${this.reviewCount != null && this.href != null ? l`<o-link template="review" href="${this.href}">${this.reviewCount}</o-link>` : null}
|
|
@@ -1748,7 +1770,7 @@ let ot = class extends v {
|
|
|
1748
1770
|
`;
|
|
1749
1771
|
}
|
|
1750
1772
|
};
|
|
1751
|
-
|
|
1773
|
+
st.styles = f`
|
|
1752
1774
|
svg {
|
|
1753
1775
|
width: 12px;
|
|
1754
1776
|
height: 12px;
|
|
@@ -1782,74 +1804,74 @@ ot.styles = g`
|
|
|
1782
1804
|
cursor: pointer;
|
|
1783
1805
|
}
|
|
1784
1806
|
`;
|
|
1785
|
-
|
|
1807
|
+
At([
|
|
1786
1808
|
a({ type: Number })
|
|
1787
|
-
],
|
|
1788
|
-
|
|
1809
|
+
], st.prototype, "rating", 2);
|
|
1810
|
+
At([
|
|
1789
1811
|
a({ type: String })
|
|
1790
|
-
],
|
|
1791
|
-
|
|
1812
|
+
], st.prototype, "reviewCount", 2);
|
|
1813
|
+
At([
|
|
1792
1814
|
a({ type: String })
|
|
1793
|
-
],
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
],
|
|
1815
|
+
], st.prototype, "href", 2);
|
|
1816
|
+
st = At([
|
|
1817
|
+
m("o-rating")
|
|
1818
|
+
], st);
|
|
1797
1819
|
/**
|
|
1798
1820
|
* @license
|
|
1799
1821
|
* Copyright 2020 Google LLC
|
|
1800
1822
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1801
1823
|
*/
|
|
1802
|
-
const
|
|
1824
|
+
const Io = (o) => o.strings === void 0;
|
|
1803
1825
|
/**
|
|
1804
1826
|
* @license
|
|
1805
1827
|
* Copyright 2017 Google LLC
|
|
1806
1828
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1807
1829
|
*/
|
|
1808
|
-
const
|
|
1809
|
-
var
|
|
1830
|
+
const ht = (o, t) => {
|
|
1831
|
+
var r;
|
|
1810
1832
|
const e = o._$AN;
|
|
1811
1833
|
if (e === void 0) return !1;
|
|
1812
|
-
for (const i of e) (
|
|
1834
|
+
for (const i of e) (r = i._$AO) == null || r.call(i, t, !1), ht(i, t);
|
|
1813
1835
|
return !0;
|
|
1814
|
-
},
|
|
1836
|
+
}, kt = (o) => {
|
|
1815
1837
|
let t, e;
|
|
1816
1838
|
do {
|
|
1817
1839
|
if ((t = o._$AM) === void 0) break;
|
|
1818
1840
|
e = t._$AN, e.delete(o), o = t;
|
|
1819
1841
|
} while ((e == null ? void 0 : e.size) === 0);
|
|
1820
|
-
},
|
|
1842
|
+
}, be = (o) => {
|
|
1821
1843
|
for (let t; t = o._$AM; o = t) {
|
|
1822
1844
|
let e = t._$AN;
|
|
1823
1845
|
if (e === void 0) t._$AN = e = /* @__PURE__ */ new Set();
|
|
1824
1846
|
else if (e.has(o)) break;
|
|
1825
|
-
e.add(o),
|
|
1847
|
+
e.add(o), zo(t);
|
|
1826
1848
|
}
|
|
1827
1849
|
};
|
|
1828
|
-
function
|
|
1829
|
-
this._$AN !== void 0 ? (
|
|
1850
|
+
function Po(o) {
|
|
1851
|
+
this._$AN !== void 0 ? (kt(this), this._$AM = o, be(this)) : this._$AM = o;
|
|
1830
1852
|
}
|
|
1831
|
-
function
|
|
1832
|
-
const
|
|
1833
|
-
if (i !== void 0 && i.size !== 0) if (t) if (Array.isArray(
|
|
1834
|
-
else
|
|
1835
|
-
else
|
|
1853
|
+
function Oo(o, t = !1, e = 0) {
|
|
1854
|
+
const r = this._$AH, i = this._$AN;
|
|
1855
|
+
if (i !== void 0 && i.size !== 0) if (t) if (Array.isArray(r)) for (let n = e; n < r.length; n++) ht(r[n], !1), kt(r[n]);
|
|
1856
|
+
else r != null && (ht(r, !1), kt(r));
|
|
1857
|
+
else ht(this, o);
|
|
1836
1858
|
}
|
|
1837
|
-
const
|
|
1838
|
-
o.type ==
|
|
1859
|
+
const zo = (o) => {
|
|
1860
|
+
o.type == Ut.CHILD && (o._$AP ?? (o._$AP = Oo), o._$AQ ?? (o._$AQ = Po));
|
|
1839
1861
|
};
|
|
1840
|
-
class
|
|
1862
|
+
class Bo extends Zt {
|
|
1841
1863
|
constructor() {
|
|
1842
1864
|
super(...arguments), this._$AN = void 0;
|
|
1843
1865
|
}
|
|
1844
|
-
_$AT(t, e,
|
|
1845
|
-
super._$AT(t, e,
|
|
1866
|
+
_$AT(t, e, r) {
|
|
1867
|
+
super._$AT(t, e, r), be(this), this.isConnected = t._$AU;
|
|
1846
1868
|
}
|
|
1847
1869
|
_$AO(t, e = !0) {
|
|
1848
|
-
var
|
|
1849
|
-
t !== this.isConnected && (this.isConnected = t, t ? (
|
|
1870
|
+
var r, i;
|
|
1871
|
+
t !== this.isConnected && (this.isConnected = t, t ? (r = this.reconnected) == null || r.call(this) : (i = this.disconnected) == null || i.call(this)), e && (ht(this, t), kt(this));
|
|
1850
1872
|
}
|
|
1851
1873
|
setValue(t) {
|
|
1852
|
-
if (
|
|
1874
|
+
if (Io(this._$Ct)) this._$Ct._$AI(t, this);
|
|
1853
1875
|
else {
|
|
1854
1876
|
const e = [...this._$Ct._$AH];
|
|
1855
1877
|
e[this._$Ci] = t, this._$Ct._$AI(e, this, 0);
|
|
@@ -1860,7 +1882,7 @@ class So extends Nt {
|
|
|
1860
1882
|
reconnected() {
|
|
1861
1883
|
}
|
|
1862
1884
|
}
|
|
1863
|
-
class
|
|
1885
|
+
class Do extends Bo {
|
|
1864
1886
|
constructor() {
|
|
1865
1887
|
super(...arguments), this.prevData = {};
|
|
1866
1888
|
}
|
|
@@ -1868,49 +1890,49 @@ class Lo extends So {
|
|
|
1868
1890
|
return d;
|
|
1869
1891
|
}
|
|
1870
1892
|
update(t, [e]) {
|
|
1871
|
-
var
|
|
1872
|
-
this.element !== t.element && (this.element = t.element), this.host = ((
|
|
1893
|
+
var r;
|
|
1894
|
+
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 };
|
|
1873
1895
|
}
|
|
1874
1896
|
apply(t) {
|
|
1875
1897
|
if (!t)
|
|
1876
1898
|
return;
|
|
1877
|
-
const { prevData: e, element:
|
|
1899
|
+
const { prevData: e, element: r } = this;
|
|
1878
1900
|
for (const i in t) {
|
|
1879
|
-
const
|
|
1880
|
-
|
|
1901
|
+
const n = t[i];
|
|
1902
|
+
n !== e[i] && (r[i] = n);
|
|
1881
1903
|
}
|
|
1882
1904
|
}
|
|
1883
1905
|
groom(t) {
|
|
1884
|
-
const { prevData: e, element:
|
|
1906
|
+
const { prevData: e, element: r } = this;
|
|
1885
1907
|
if (e)
|
|
1886
1908
|
for (const i in e)
|
|
1887
|
-
(!t || !(i in t) &&
|
|
1909
|
+
(!t || !(i in t) && r[i] === e[i]) && (r[i] = void 0);
|
|
1888
1910
|
}
|
|
1889
1911
|
}
|
|
1890
|
-
class
|
|
1912
|
+
class Ho extends Do {
|
|
1891
1913
|
constructor() {
|
|
1892
1914
|
super(...arguments), this.eventData = {};
|
|
1893
1915
|
}
|
|
1894
1916
|
apply(t) {
|
|
1895
1917
|
if (t)
|
|
1896
1918
|
for (const e in t) {
|
|
1897
|
-
const
|
|
1898
|
-
|
|
1919
|
+
const r = t[e];
|
|
1920
|
+
r !== this.eventData[e] && this.applyEvent(e, r);
|
|
1899
1921
|
}
|
|
1900
1922
|
}
|
|
1901
1923
|
applyEvent(t, e) {
|
|
1902
|
-
const { prevData:
|
|
1903
|
-
this.eventData[t] = e,
|
|
1924
|
+
const { prevData: r, element: i } = this;
|
|
1925
|
+
this.eventData[t] = e, r[t] && i.removeEventListener(t, this, e), i.addEventListener(t, this, e);
|
|
1904
1926
|
}
|
|
1905
1927
|
groom(t) {
|
|
1906
|
-
const { prevData: e, element:
|
|
1928
|
+
const { prevData: e, element: r } = this;
|
|
1907
1929
|
if (e)
|
|
1908
1930
|
for (const i in e)
|
|
1909
|
-
(!t || !(i in t) &&
|
|
1931
|
+
(!t || !(i in t) && r[i] === e[i]) && this.groomEvent(i, e[i]);
|
|
1910
1932
|
}
|
|
1911
1933
|
groomEvent(t, e) {
|
|
1912
|
-
const { element:
|
|
1913
|
-
delete this.eventData[t],
|
|
1934
|
+
const { element: r } = this;
|
|
1935
|
+
delete this.eventData[t], r.removeEventListener(t, this, e);
|
|
1914
1936
|
}
|
|
1915
1937
|
handleEvent(t) {
|
|
1916
1938
|
const e = this.eventData[t.type];
|
|
@@ -1918,73 +1940,73 @@ class Po extends Lo {
|
|
|
1918
1940
|
}
|
|
1919
1941
|
disconnected() {
|
|
1920
1942
|
const { eventData: t, element: e } = this;
|
|
1921
|
-
for (const
|
|
1922
|
-
const i =
|
|
1923
|
-
e.removeEventListener(i, this,
|
|
1943
|
+
for (const r in t) {
|
|
1944
|
+
const i = r.slice(1), n = t[r];
|
|
1945
|
+
e.removeEventListener(i, this, n);
|
|
1924
1946
|
}
|
|
1925
1947
|
}
|
|
1926
1948
|
reconnected() {
|
|
1927
1949
|
const { eventData: t, element: e } = this;
|
|
1928
|
-
for (const
|
|
1929
|
-
const i =
|
|
1930
|
-
e.addEventListener(i, this,
|
|
1950
|
+
for (const r in t) {
|
|
1951
|
+
const i = r.slice(1), n = t[r];
|
|
1952
|
+
e.addEventListener(i, this, n);
|
|
1931
1953
|
}
|
|
1932
1954
|
}
|
|
1933
1955
|
}
|
|
1934
|
-
class
|
|
1956
|
+
class Mo extends Ho {
|
|
1935
1957
|
apply(t) {
|
|
1936
1958
|
if (!t)
|
|
1937
1959
|
return;
|
|
1938
|
-
const { prevData: e, element:
|
|
1960
|
+
const { prevData: e, element: r } = this;
|
|
1939
1961
|
for (const i in t) {
|
|
1940
|
-
const
|
|
1941
|
-
if (
|
|
1962
|
+
const n = t[i];
|
|
1963
|
+
if (n === e[i])
|
|
1942
1964
|
continue;
|
|
1943
1965
|
const s = i.slice(1);
|
|
1944
1966
|
switch (i[0]) {
|
|
1945
1967
|
case "@":
|
|
1946
|
-
this.eventData[s] =
|
|
1968
|
+
this.eventData[s] = n, this.applyEvent(s, n);
|
|
1947
1969
|
break;
|
|
1948
1970
|
case ".":
|
|
1949
|
-
|
|
1971
|
+
r[s] = n;
|
|
1950
1972
|
break;
|
|
1951
1973
|
case "?":
|
|
1952
|
-
|
|
1974
|
+
n ? r.setAttribute(s, "") : r.removeAttribute(s);
|
|
1953
1975
|
break;
|
|
1954
1976
|
default:
|
|
1955
|
-
|
|
1977
|
+
n != null ? r.setAttribute(i, String(n)) : r.removeAttribute(i);
|
|
1956
1978
|
break;
|
|
1957
1979
|
}
|
|
1958
1980
|
}
|
|
1959
1981
|
}
|
|
1960
1982
|
groom(t) {
|
|
1961
|
-
const { prevData: e, element:
|
|
1983
|
+
const { prevData: e, element: r } = this;
|
|
1962
1984
|
if (e)
|
|
1963
1985
|
for (const i in e) {
|
|
1964
|
-
const
|
|
1965
|
-
if (!t || !(i in t) && n
|
|
1986
|
+
const n = i.slice(1);
|
|
1987
|
+
if (!t || !(i in t) && r[n] === e[i])
|
|
1966
1988
|
switch (i[0]) {
|
|
1967
1989
|
case "@":
|
|
1968
|
-
this.groomEvent(
|
|
1990
|
+
this.groomEvent(n, e[i]);
|
|
1969
1991
|
break;
|
|
1970
1992
|
case ".":
|
|
1971
|
-
n
|
|
1993
|
+
r[n] = void 0;
|
|
1972
1994
|
break;
|
|
1973
1995
|
case "?":
|
|
1974
|
-
|
|
1996
|
+
r.removeAttribute(n);
|
|
1975
1997
|
break;
|
|
1976
1998
|
default:
|
|
1977
|
-
|
|
1999
|
+
r.removeAttribute(i);
|
|
1978
2000
|
break;
|
|
1979
2001
|
}
|
|
1980
2002
|
}
|
|
1981
2003
|
}
|
|
1982
2004
|
}
|
|
1983
|
-
const
|
|
1984
|
-
var
|
|
1985
|
-
for (var i =
|
|
1986
|
-
(s = o[
|
|
1987
|
-
return
|
|
2005
|
+
const le = Vt(Mo);
|
|
2006
|
+
var To = Object.defineProperty, jo = Object.getOwnPropertyDescriptor, y = (o, t, e, r) => {
|
|
2007
|
+
for (var i = r > 1 ? void 0 : r ? jo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
2008
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
2009
|
+
return r && i && To(t, e, i), i;
|
|
1988
2010
|
};
|
|
1989
2011
|
let u = class extends v {
|
|
1990
2012
|
constructor() {
|
|
@@ -1999,13 +2021,13 @@ let u = class extends v {
|
|
|
1999
2021
|
const t = o.currentTarget, e = (t == null ? void 0 : t.getAttribute("data-role")) === "back";
|
|
2000
2022
|
if (this.showDetail && e) {
|
|
2001
2023
|
this.isHidingDetail = !0;
|
|
2002
|
-
const
|
|
2003
|
-
if (
|
|
2024
|
+
const r = this.renderRoot.querySelector(".content");
|
|
2025
|
+
if (r) {
|
|
2004
2026
|
this.showHeaderStartIcon = !1;
|
|
2005
2027
|
const i = () => {
|
|
2006
|
-
this.showDetail = !1, this.isHidingDetail = !1,
|
|
2028
|
+
this.showDetail = !1, this.isHidingDetail = !1, r.removeEventListener("animationend", i);
|
|
2007
2029
|
};
|
|
2008
|
-
|
|
2030
|
+
r.addEventListener("animationend", i);
|
|
2009
2031
|
} else
|
|
2010
2032
|
this.showDetail = !1, this.isHidingDetail = !1, this.showHeaderStartIcon = !1;
|
|
2011
2033
|
return;
|
|
@@ -2022,12 +2044,12 @@ let u = class extends v {
|
|
|
2022
2044
|
document.body.style.overflow = "", document.body.removeAttribute("data-side-panel"), this.removeEventListener("keydown", this.handleKeyDown), super.disconnectedCallback(), this.removeEventListener("open-detail", this._onOpenDetail);
|
|
2023
2045
|
}
|
|
2024
2046
|
trapFocus(o) {
|
|
2025
|
-
var i,
|
|
2026
|
-
this.innerFocusedElement = document.activeElement || null, this.innerFocusedElement = ((
|
|
2047
|
+
var i, n, s, h, c, b, x, p, k, z;
|
|
2048
|
+
this.innerFocusedElement = document.activeElement || null, this.innerFocusedElement = ((n = (i = this.innerFocusedElement) == null ? void 0 : i.shadowRoot) == null ? void 0 : n.activeElement) || this.innerFocusedElement;
|
|
2027
2049
|
const t = this.getFocusableElements();
|
|
2028
2050
|
if (t.length === 0) return;
|
|
2029
|
-
const e = t[0],
|
|
2030
|
-
o.shiftKey && this.innerFocusedElement === e ? (o.preventDefault(),
|
|
2051
|
+
const e = t[0], r = t[t.length - 1];
|
|
2052
|
+
o.shiftKey && this.innerFocusedElement === e ? (o.preventDefault(), r.shadowRoot ? (c = (h = (s = r.shadowRoot) == null ? void 0 : s.querySelector(u.focusablesSelector)) == null ? void 0 : h.focus) == null || c.call(h) : (b = r.focus) == null || b.call(r)) : !o.shiftKey && this.innerFocusedElement === r && (o.preventDefault(), e.shadowRoot ? (k = (p = (x = e.shadowRoot) == null ? void 0 : x.querySelector(u.focusablesSelector)) == null ? void 0 : p.focus) == null || k.call(p) : (z = e.focus) == null || z.call(e));
|
|
2031
2053
|
}
|
|
2032
2054
|
getFocusableElements() {
|
|
2033
2055
|
const o = this.renderRoot.querySelector(".panel");
|
|
@@ -2037,36 +2059,36 @@ let u = class extends v {
|
|
|
2037
2059
|
}
|
|
2038
2060
|
function e(i) {
|
|
2039
2061
|
var s;
|
|
2040
|
-
const
|
|
2062
|
+
const n = [i.matches(u.focusablesSelector) ? i : []];
|
|
2041
2063
|
if (!["o-icon-button", "o-button"].includes(i.tagName.toLowerCase())) {
|
|
2042
2064
|
const h = Array.from(
|
|
2043
2065
|
i instanceof HTMLSlotElement ? i.assignedElements({ flatten: !0 }) : []
|
|
2044
2066
|
).filter(t).flatMap(e), c = Array.from(
|
|
2045
2067
|
((s = i.shadowRoot) == null ? void 0 : s.querySelectorAll("*")) || []
|
|
2046
2068
|
).filter(t).flatMap(e);
|
|
2047
|
-
|
|
2069
|
+
n.push(...h, ...c);
|
|
2048
2070
|
}
|
|
2049
|
-
return
|
|
2071
|
+
return n.flat();
|
|
2050
2072
|
}
|
|
2051
2073
|
return Array.from(o.querySelectorAll("*")).filter(t).flatMap(e);
|
|
2052
2074
|
}
|
|
2053
2075
|
openPanel() {
|
|
2054
2076
|
this.previousFocusedElement = document.activeElement, this.open = !0, document.body.style.overflow = "hidden", document.body.setAttribute("data-side-panel", "open"), this.updateComplete.then(() => {
|
|
2055
|
-
var o, t, e,
|
|
2077
|
+
var o, t, e, r;
|
|
2056
2078
|
if (this.showHeader) {
|
|
2057
|
-
const i = ((o = this.shadowRoot) == null ? void 0 : o.querySelector(".panel .close-btn")) || null,
|
|
2058
|
-
|
|
2079
|
+
const i = ((o = this.shadowRoot) == null ? void 0 : o.querySelector(".panel .close-btn")) || null, n = ((t = i == null ? void 0 : i.shadowRoot) == null ? void 0 : t.querySelector("button")) || null;
|
|
2080
|
+
n && ((e = n.focus) == null || e.call(n));
|
|
2059
2081
|
} else {
|
|
2060
2082
|
const i = this.getFocusableElements()[0];
|
|
2061
|
-
(
|
|
2083
|
+
(r = i == null ? void 0 : i.focus) == null || r.call(i);
|
|
2062
2084
|
}
|
|
2063
2085
|
}), this.dispatchEvent(
|
|
2064
2086
|
new CustomEvent("open", { bubbles: !0, composed: !0 })
|
|
2065
2087
|
);
|
|
2066
2088
|
}
|
|
2067
2089
|
closePanel() {
|
|
2068
|
-
var o, t, e,
|
|
2069
|
-
this.open = !1, this.showDetail = !1, document.body.style.overflow = "", document.body.removeAttribute("data-side-panel"), ((o = this.previousFocusedElement) == null ? void 0 : o.tagName.toLowerCase()) === "o-button" ? (
|
|
2090
|
+
var o, t, e, r, i;
|
|
2091
|
+
this.open = !1, this.showDetail = !1, document.body.style.overflow = "", document.body.removeAttribute("data-side-panel"), ((o = this.previousFocusedElement) == null ? void 0 : o.tagName.toLowerCase()) === "o-button" ? (r = (e = (t = this.previousFocusedElement.shadowRoot) == null ? void 0 : t.querySelector(".button")) == null ? void 0 : e.focus) == null || r.call(e) : (i = this.previousFocusedElement) == null || i.focus(), this.dispatchEvent(
|
|
2070
2092
|
new CustomEvent("close", { bubbles: !0, composed: !0 })
|
|
2071
2093
|
);
|
|
2072
2094
|
}
|
|
@@ -2161,7 +2183,7 @@ let u = class extends v {
|
|
|
2161
2183
|
variant="${this.firstButtonVariant}"
|
|
2162
2184
|
@click=${this.handleFirstClick}
|
|
2163
2185
|
@keydown=${this.handleFirstClick}
|
|
2164
|
-
${
|
|
2186
|
+
${le(this.firstButtonProps)}
|
|
2165
2187
|
>
|
|
2166
2188
|
${this.firstButtonLabel}
|
|
2167
2189
|
</o-button>
|
|
@@ -2172,7 +2194,7 @@ let u = class extends v {
|
|
|
2172
2194
|
variant="${this.secondButtonVariant}"
|
|
2173
2195
|
@click=${this.handleSecondClick}
|
|
2174
2196
|
@keydown=${this.handleSecondClick}
|
|
2175
|
-
${
|
|
2197
|
+
${le(this.secondButtonProps)}
|
|
2176
2198
|
>
|
|
2177
2199
|
${this.secondButtonLabel}
|
|
2178
2200
|
</o-button>
|
|
@@ -2183,7 +2205,7 @@ let u = class extends v {
|
|
|
2183
2205
|
`;
|
|
2184
2206
|
}
|
|
2185
2207
|
};
|
|
2186
|
-
u.styles =
|
|
2208
|
+
u.styles = f`
|
|
2187
2209
|
:host {
|
|
2188
2210
|
--z-overlay: 99;
|
|
2189
2211
|
--z-panel: 100;
|
|
@@ -2287,7 +2309,7 @@ u.styles = g`
|
|
|
2287
2309
|
.panel:focus-visible,
|
|
2288
2310
|
.close-btn:focus,
|
|
2289
2311
|
.close-btn:focus-visible {
|
|
2290
|
-
${
|
|
2312
|
+
${xt}
|
|
2291
2313
|
}
|
|
2292
2314
|
|
|
2293
2315
|
.content {
|
|
@@ -2435,14 +2457,14 @@ y([
|
|
|
2435
2457
|
a({ type: Boolean })
|
|
2436
2458
|
], u.prototype, "isHidingDetail", 2);
|
|
2437
2459
|
u = y([
|
|
2438
|
-
|
|
2460
|
+
m("o-side-panel")
|
|
2439
2461
|
], u);
|
|
2440
|
-
var
|
|
2441
|
-
for (var i =
|
|
2442
|
-
(s = o[
|
|
2443
|
-
return
|
|
2462
|
+
var Ro = Object.defineProperty, Fo = Object.getOwnPropertyDescriptor, X = (o, t, e, r) => {
|
|
2463
|
+
for (var i = r > 1 ? void 0 : r ? Fo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
2464
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
2465
|
+
return r && i && Ro(t, e, i), i;
|
|
2444
2466
|
};
|
|
2445
|
-
let
|
|
2467
|
+
let M = class extends v {
|
|
2446
2468
|
constructor() {
|
|
2447
2469
|
super(...arguments), this.thumbnails = [], this.activeIndex = 0, this.disabledIndexes = [], this.maxWidth = "100%", this.altressource = "visual", this.focusedIndex = 0, this.playerIconTemplate = l`
|
|
2448
2470
|
<o-icon-button
|
|
@@ -2495,8 +2517,8 @@ let B = class extends v {
|
|
|
2495
2517
|
}), t.classList.add("a--tabfocus"), this.requestUpdate();
|
|
2496
2518
|
}
|
|
2497
2519
|
onFocusOut(o) {
|
|
2498
|
-
const t = o.currentTarget, e = Number(t.dataset.index),
|
|
2499
|
-
(!
|
|
2520
|
+
const t = o.currentTarget, e = Number(t.dataset.index), r = o.relatedTarget;
|
|
2521
|
+
(!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", {
|
|
2500
2522
|
detail: { from: "last", direction: "unspecified" },
|
|
2501
2523
|
bubbles: !0,
|
|
2502
2524
|
composed: !0
|
|
@@ -2510,20 +2532,20 @@ let B = class extends v {
|
|
|
2510
2532
|
return l`
|
|
2511
2533
|
<ul class="scroll-container" style="max-width: ${this.maxWidth};">
|
|
2512
2534
|
${this.thumbnails.map((o, t) => {
|
|
2513
|
-
const e = this.disabledIndexes.includes(t),
|
|
2535
|
+
const e = this.disabledIndexes.includes(t), r = this.activeIndex === t, i = o.type === "video", n = i ? `video ${t}` : `${this.altressource} ${t + 1}`;
|
|
2514
2536
|
return l`
|
|
2515
2537
|
<li class="thumb-wrapper">
|
|
2516
2538
|
<button
|
|
2517
2539
|
class="thumb"
|
|
2518
2540
|
data-index="${t}"
|
|
2519
2541
|
?disabled=${e}
|
|
2520
|
-
aria-current=${
|
|
2542
|
+
aria-current=${r ? "true" : "false"}
|
|
2521
2543
|
@click=${() => this.selectThumbnail(t)}
|
|
2522
2544
|
@keydown=${this.handleKeyDown}
|
|
2523
2545
|
@focus=${(s) => this.onFocus(s)}
|
|
2524
2546
|
@focusout=${(s) => this.onFocusOut(s)}
|
|
2525
2547
|
>
|
|
2526
|
-
<img alt="${
|
|
2548
|
+
<img alt="${n}" src="${o.src}" />
|
|
2527
2549
|
</button>
|
|
2528
2550
|
${i ? l`<div class="play-icon-wrapper">${this.playerIconTemplate}</div>` : null}
|
|
2529
2551
|
</li>
|
|
@@ -2533,7 +2555,7 @@ let B = class extends v {
|
|
|
2533
2555
|
`;
|
|
2534
2556
|
}
|
|
2535
2557
|
};
|
|
2536
|
-
|
|
2558
|
+
M.styles = f`
|
|
2537
2559
|
:host {
|
|
2538
2560
|
display: flex;
|
|
2539
2561
|
gap: 5px;
|
|
@@ -2639,36 +2661,36 @@ B.styles = g`
|
|
|
2639
2661
|
width: 0;
|
|
2640
2662
|
}
|
|
2641
2663
|
`;
|
|
2642
|
-
|
|
2664
|
+
X([
|
|
2643
2665
|
a({ type: Array })
|
|
2644
|
-
],
|
|
2645
|
-
|
|
2666
|
+
], M.prototype, "thumbnails", 2);
|
|
2667
|
+
X([
|
|
2646
2668
|
a({ type: Number })
|
|
2647
|
-
],
|
|
2648
|
-
|
|
2669
|
+
], M.prototype, "activeIndex", 2);
|
|
2670
|
+
X([
|
|
2649
2671
|
a({ type: Array })
|
|
2650
|
-
],
|
|
2651
|
-
|
|
2672
|
+
], M.prototype, "disabledIndexes", 2);
|
|
2673
|
+
X([
|
|
2652
2674
|
a({ type: String })
|
|
2653
|
-
],
|
|
2654
|
-
|
|
2675
|
+
], M.prototype, "maxWidth", 2);
|
|
2676
|
+
X([
|
|
2655
2677
|
a({ type: String })
|
|
2656
|
-
],
|
|
2657
|
-
|
|
2678
|
+
], M.prototype, "altressource", 2);
|
|
2679
|
+
X([
|
|
2658
2680
|
a({ type: Object })
|
|
2659
|
-
],
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
],
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
],
|
|
2666
|
-
var
|
|
2667
|
-
for (var i =
|
|
2668
|
-
(s = o[
|
|
2669
|
-
return
|
|
2681
|
+
], M.prototype, "swiperInstance", 2);
|
|
2682
|
+
X([
|
|
2683
|
+
et()
|
|
2684
|
+
], M.prototype, "focusedIndex", 2);
|
|
2685
|
+
M = X([
|
|
2686
|
+
m("thumbnail-navigation")
|
|
2687
|
+
], M);
|
|
2688
|
+
var No = Object.defineProperty, Uo = Object.getOwnPropertyDescriptor, qt = (o, t, e, r) => {
|
|
2689
|
+
for (var i = r > 1 ? void 0 : r ? Uo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
2690
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
2691
|
+
return r && i && No(t, e, i), i;
|
|
2670
2692
|
};
|
|
2671
|
-
let
|
|
2693
|
+
let vt = class extends v {
|
|
2672
2694
|
constructor() {
|
|
2673
2695
|
super(...arguments), this.type = "", this.bgstyle = "background-white";
|
|
2674
2696
|
}
|
|
@@ -2678,7 +2700,7 @@ let ht = class extends v {
|
|
|
2678
2700
|
`;
|
|
2679
2701
|
}
|
|
2680
2702
|
};
|
|
2681
|
-
|
|
2703
|
+
vt.styles = f`
|
|
2682
2704
|
.tag {
|
|
2683
2705
|
display: inline-block;
|
|
2684
2706
|
padding: var(--spacing-2-xs) var(--spacing-s);
|
|
@@ -2736,21 +2758,21 @@ ht.styles = g`
|
|
|
2736
2758
|
}
|
|
2737
2759
|
|
|
2738
2760
|
`;
|
|
2739
|
-
|
|
2761
|
+
qt([
|
|
2740
2762
|
a({ type: String, reflect: !0 })
|
|
2741
|
-
],
|
|
2742
|
-
|
|
2763
|
+
], vt.prototype, "type", 2);
|
|
2764
|
+
qt([
|
|
2743
2765
|
a({ type: String, reflect: !0 })
|
|
2744
|
-
],
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
],
|
|
2748
|
-
var
|
|
2749
|
-
for (var i =
|
|
2750
|
-
(s = o[
|
|
2751
|
-
return
|
|
2766
|
+
], vt.prototype, "bgstyle", 2);
|
|
2767
|
+
vt = qt([
|
|
2768
|
+
m("o-tag")
|
|
2769
|
+
], vt);
|
|
2770
|
+
var Vo = Object.defineProperty, Zo = Object.getOwnPropertyDescriptor, Kt = (o, t, e, r) => {
|
|
2771
|
+
for (var i = r > 1 ? void 0 : r ? Zo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
2772
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
2773
|
+
return r && i && Vo(t, e, i), i;
|
|
2752
2774
|
};
|
|
2753
|
-
let
|
|
2775
|
+
let ft = class extends v {
|
|
2754
2776
|
constructor() {
|
|
2755
2777
|
super(...arguments), this.type = "top", this.text = "";
|
|
2756
2778
|
}
|
|
@@ -2763,7 +2785,7 @@ let dt = class extends v {
|
|
|
2763
2785
|
`;
|
|
2764
2786
|
}
|
|
2765
2787
|
};
|
|
2766
|
-
|
|
2788
|
+
ft.styles = f`
|
|
2767
2789
|
.tooltip {
|
|
2768
2790
|
position: relative;
|
|
2769
2791
|
display: inline-block;
|
|
@@ -2856,21 +2878,21 @@ dt.styles = g`
|
|
|
2856
2878
|
}
|
|
2857
2879
|
|
|
2858
2880
|
`;
|
|
2859
|
-
|
|
2881
|
+
Kt([
|
|
2860
2882
|
a({ type: String, reflect: !0 })
|
|
2861
|
-
],
|
|
2862
|
-
|
|
2883
|
+
], ft.prototype, "type", 2);
|
|
2884
|
+
Kt([
|
|
2863
2885
|
a({ type: String, reflect: !0 })
|
|
2864
|
-
],
|
|
2865
|
-
|
|
2866
|
-
|
|
2867
|
-
],
|
|
2868
|
-
var
|
|
2869
|
-
for (var i =
|
|
2870
|
-
(s = o[
|
|
2871
|
-
return
|
|
2886
|
+
], ft.prototype, "text", 2);
|
|
2887
|
+
ft = Kt([
|
|
2888
|
+
m("o-tooltip")
|
|
2889
|
+
], ft);
|
|
2890
|
+
var qo = Object.defineProperty, Ko = Object.getOwnPropertyDescriptor, V = (o, t, e, r) => {
|
|
2891
|
+
for (var i = r > 1 ? void 0 : r ? Ko(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
2892
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
2893
|
+
return r && i && qo(t, e, i), i;
|
|
2872
2894
|
};
|
|
2873
|
-
let
|
|
2895
|
+
let B = class extends v {
|
|
2874
2896
|
constructor() {
|
|
2875
2897
|
super(...arguments), this.options = [], this.value = "", this.name = "", this.disabled = !1, this.width = "100%", this.open = !1, this.activeIndex = -1, this.menuWidth = "", this._handleOutsideClick = (o) => {
|
|
2876
2898
|
this.contains(o.target) || (this.open = !1, this.activeIndex = -1);
|
|
@@ -2936,7 +2958,7 @@ let I = class extends v {
|
|
|
2936
2958
|
this.options.length > 0 && (this.options.some((e) => e.value === this.value) || (this.value = this.options[0].value));
|
|
2937
2959
|
}
|
|
2938
2960
|
render() {
|
|
2939
|
-
const o =
|
|
2961
|
+
const o = N.checkstroke.replace(
|
|
2940
2962
|
"<svg",
|
|
2941
2963
|
'<svg aria-hidden="true" focusable="false" part="svg"'
|
|
2942
2964
|
), t = this.options.find((e) => e.value === this.value);
|
|
@@ -2969,22 +2991,22 @@ let I = class extends v {
|
|
|
2969
2991
|
style=${`width: ${this.width};`}
|
|
2970
2992
|
>
|
|
2971
2993
|
${this.options.map(
|
|
2972
|
-
(e,
|
|
2994
|
+
(e, r) => l`
|
|
2973
2995
|
<li
|
|
2974
|
-
id="option-${
|
|
2996
|
+
id="option-${r}"
|
|
2975
2997
|
role="option"
|
|
2976
2998
|
aria-selected="${e.value === this.value}"
|
|
2977
|
-
tabindex="${
|
|
2978
|
-
class="${
|
|
2999
|
+
tabindex="${r === this.activeIndex ? "0" : "-1"}"
|
|
3000
|
+
class="${r === this.activeIndex ? "active" : ""} ${e.disabled ? "disabled" : ""}"
|
|
2979
3001
|
@click=${() => this.selectOption(e)}
|
|
2980
3002
|
>
|
|
2981
3003
|
${e.url ? l`
|
|
2982
3004
|
<a href="${e.url}">
|
|
2983
3005
|
<span>${e.label}</span>
|
|
2984
|
-
${e.value === this.value ? l`<span class="check">${
|
|
3006
|
+
${e.value === this.value ? l`<span class="check">${$(o)}</span>` : null}
|
|
2985
3007
|
</a>` : l`
|
|
2986
3008
|
<span>${e.label}</span>
|
|
2987
|
-
${e.value === this.value ? l`<span class="check">${
|
|
3009
|
+
${e.value === this.value ? l`<span class="check">${$(o)}</span>` : null}`}
|
|
2988
3010
|
</li>`
|
|
2989
3011
|
)}
|
|
2990
3012
|
</ul>` : null}
|
|
@@ -2993,7 +3015,7 @@ let I = class extends v {
|
|
|
2993
3015
|
`;
|
|
2994
3016
|
}
|
|
2995
3017
|
};
|
|
2996
|
-
|
|
3018
|
+
B.styles = f`
|
|
2997
3019
|
:host {
|
|
2998
3020
|
display: inline-block;
|
|
2999
3021
|
position: relative;
|
|
@@ -3133,44 +3155,44 @@ I.styles = g`
|
|
|
3133
3155
|
display: none;
|
|
3134
3156
|
}
|
|
3135
3157
|
`;
|
|
3136
|
-
|
|
3158
|
+
V([
|
|
3137
3159
|
a({ type: Array, reflect: !0 })
|
|
3138
|
-
],
|
|
3139
|
-
|
|
3160
|
+
], B.prototype, "options", 2);
|
|
3161
|
+
V([
|
|
3140
3162
|
a({ type: String, reflect: !0 })
|
|
3141
|
-
],
|
|
3142
|
-
|
|
3163
|
+
], B.prototype, "value", 2);
|
|
3164
|
+
V([
|
|
3143
3165
|
a({ type: String, reflect: !0 })
|
|
3144
|
-
],
|
|
3145
|
-
|
|
3166
|
+
], B.prototype, "name", 2);
|
|
3167
|
+
V([
|
|
3146
3168
|
a({ type: Boolean, reflect: !0 })
|
|
3147
|
-
],
|
|
3148
|
-
|
|
3169
|
+
], B.prototype, "disabled", 2);
|
|
3170
|
+
V([
|
|
3149
3171
|
a({ type: String, reflect: !0 })
|
|
3150
|
-
],
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
],
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
],
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
],
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
],
|
|
3163
|
-
var
|
|
3164
|
-
for (var i =
|
|
3165
|
-
(s = o[
|
|
3172
|
+
], B.prototype, "width", 2);
|
|
3173
|
+
V([
|
|
3174
|
+
et()
|
|
3175
|
+
], B.prototype, "open", 2);
|
|
3176
|
+
V([
|
|
3177
|
+
et()
|
|
3178
|
+
], B.prototype, "activeIndex", 2);
|
|
3179
|
+
V([
|
|
3180
|
+
et()
|
|
3181
|
+
], B.prototype, "menuWidth", 2);
|
|
3182
|
+
B = V([
|
|
3183
|
+
m("o-dropdown")
|
|
3184
|
+
], B);
|
|
3185
|
+
var Wo = Object.getOwnPropertyDescriptor, Go = (o, t, e, r) => {
|
|
3186
|
+
for (var i = r > 1 ? void 0 : r ? Wo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
3187
|
+
(s = o[n]) && (i = s(i) || i);
|
|
3166
3188
|
return i;
|
|
3167
3189
|
};
|
|
3168
|
-
let
|
|
3190
|
+
let Ht = class extends v {
|
|
3169
3191
|
render() {
|
|
3170
3192
|
return l` <span class="dots"></span> `;
|
|
3171
3193
|
}
|
|
3172
3194
|
};
|
|
3173
|
-
|
|
3195
|
+
Ht.styles = f`
|
|
3174
3196
|
:host {
|
|
3175
3197
|
display: flex;
|
|
3176
3198
|
align-items: center;
|
|
@@ -3222,13 +3244,13 @@ It.styles = g`
|
|
|
3222
3244
|
}
|
|
3223
3245
|
}
|
|
3224
3246
|
`;
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
],
|
|
3228
|
-
var
|
|
3229
|
-
for (var i =
|
|
3230
|
-
(s = o[
|
|
3231
|
-
return
|
|
3247
|
+
Ht = Go([
|
|
3248
|
+
m("o-dots")
|
|
3249
|
+
], Ht);
|
|
3250
|
+
var Xo = Object.defineProperty, Jo = Object.getOwnPropertyDescriptor, j = (o, t, e, r) => {
|
|
3251
|
+
for (var i = r > 1 ? void 0 : r ? Jo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
3252
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
3253
|
+
return r && i && Xo(t, e, i), i;
|
|
3232
3254
|
};
|
|
3233
3255
|
let A = class extends v {
|
|
3234
3256
|
constructor() {
|
|
@@ -3296,7 +3318,7 @@ let A = class extends v {
|
|
|
3296
3318
|
this.options.length > 0 && (this.options.some((t) => t.value === this.value) || (this.value = this.options[0].value));
|
|
3297
3319
|
}
|
|
3298
3320
|
render() {
|
|
3299
|
-
const o =
|
|
3321
|
+
const o = N.checkstroke.replace(
|
|
3300
3322
|
"<svg",
|
|
3301
3323
|
'<svg aria-hidden="true" focusable="false" part="svg"'
|
|
3302
3324
|
), t = this.options.find((e) => e.value === this.value);
|
|
@@ -3314,7 +3336,7 @@ let A = class extends v {
|
|
|
3314
3336
|
?disabled=${this.disabled}
|
|
3315
3337
|
class="btn-dropdown"
|
|
3316
3338
|
>
|
|
3317
|
-
<img alt="${
|
|
3339
|
+
<img alt="${E(t == null ? void 0 : t.label)}" src="${E(t == null ? void 0 : t.imgurl)}" />
|
|
3318
3340
|
<span id="dropdown-label" class="label">
|
|
3319
3341
|
${t ? t.label : "Select an option"}
|
|
3320
3342
|
</span>
|
|
@@ -3339,23 +3361,23 @@ let A = class extends v {
|
|
|
3339
3361
|
style=${`width: ${this.width};`}
|
|
3340
3362
|
>
|
|
3341
3363
|
${this.options.map(
|
|
3342
|
-
(e,
|
|
3364
|
+
(e, r) => l`
|
|
3343
3365
|
<li
|
|
3344
|
-
id="option-${
|
|
3366
|
+
id="option-${r}"
|
|
3345
3367
|
role="option"
|
|
3346
3368
|
aria-selected="${e.value === this.value}"
|
|
3347
3369
|
aria-disabled="${e.disabled ? "true" : "false"}"
|
|
3348
|
-
tabindex="${
|
|
3349
|
-
class="${
|
|
3370
|
+
tabindex="${r === this.activeIndex ? "0" : "-1"}"
|
|
3371
|
+
class="${r === this.activeIndex ? "active" : ""} ${e.disabled ? "disabled" : ""}"
|
|
3350
3372
|
@click=${() => this.selectOption(e)}
|
|
3351
3373
|
>
|
|
3352
|
-
<a href="${
|
|
3353
|
-
<img alt="${
|
|
3374
|
+
<a href="${E(e.url)}">
|
|
3375
|
+
<img alt="${E(e.label)}" src="${E(e.imgurl)}" />
|
|
3354
3376
|
<span class="label">${e.label}</span>
|
|
3355
3377
|
<div class="right">
|
|
3356
|
-
<span class="additional-text">${
|
|
3378
|
+
<span class="additional-text">${E(e.additionaltext)}</span>
|
|
3357
3379
|
${e.value === this.value && !e.additionaltext ? l`
|
|
3358
|
-
<span class="check">${
|
|
3380
|
+
<span class="check">${$(o)}</span>` : null}
|
|
3359
3381
|
</div>
|
|
3360
3382
|
</a>
|
|
3361
3383
|
</li>
|
|
@@ -3367,7 +3389,7 @@ let A = class extends v {
|
|
|
3367
3389
|
`;
|
|
3368
3390
|
}
|
|
3369
3391
|
};
|
|
3370
|
-
A.styles =
|
|
3392
|
+
A.styles = f`
|
|
3371
3393
|
:host {
|
|
3372
3394
|
display: inline-block;
|
|
3373
3395
|
position: relative;
|
|
@@ -3543,73 +3565,73 @@ A.styles = g`
|
|
|
3543
3565
|
display: none;
|
|
3544
3566
|
}
|
|
3545
3567
|
`;
|
|
3546
|
-
|
|
3568
|
+
j([
|
|
3547
3569
|
a({ type: Array, reflect: !0 })
|
|
3548
3570
|
], A.prototype, "options", 2);
|
|
3549
|
-
|
|
3571
|
+
j([
|
|
3550
3572
|
a({ type: String, reflect: !0 })
|
|
3551
3573
|
], A.prototype, "value", 2);
|
|
3552
|
-
|
|
3574
|
+
j([
|
|
3553
3575
|
a({ type: String, reflect: !0 })
|
|
3554
3576
|
], A.prototype, "name", 2);
|
|
3555
|
-
|
|
3577
|
+
j([
|
|
3556
3578
|
a({ type: String, reflect: !0 })
|
|
3557
3579
|
], A.prototype, "additionaltext", 2);
|
|
3558
|
-
|
|
3580
|
+
j([
|
|
3559
3581
|
a({ type: Boolean, reflect: !0 })
|
|
3560
3582
|
], A.prototype, "disabled", 2);
|
|
3561
|
-
|
|
3583
|
+
j([
|
|
3562
3584
|
a({ type: String, reflect: !0 })
|
|
3563
3585
|
], A.prototype, "width", 2);
|
|
3564
|
-
|
|
3565
|
-
|
|
3586
|
+
j([
|
|
3587
|
+
et()
|
|
3566
3588
|
], A.prototype, "open", 2);
|
|
3567
|
-
|
|
3568
|
-
|
|
3589
|
+
j([
|
|
3590
|
+
et()
|
|
3569
3591
|
], A.prototype, "activeIndex", 2);
|
|
3570
|
-
|
|
3571
|
-
|
|
3592
|
+
j([
|
|
3593
|
+
et()
|
|
3572
3594
|
], A.prototype, "menuWidth", 2);
|
|
3573
|
-
A =
|
|
3574
|
-
|
|
3595
|
+
A = j([
|
|
3596
|
+
m("o-dropdown-variant")
|
|
3575
3597
|
], A);
|
|
3576
3598
|
/**
|
|
3577
3599
|
* @license
|
|
3578
3600
|
* Copyright 2018 Google LLC
|
|
3579
3601
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3580
3602
|
*/
|
|
3581
|
-
const
|
|
3603
|
+
const ge = "important", Qo = " !" + ge, Yo = Vt(class extends Zt {
|
|
3582
3604
|
constructor(o) {
|
|
3583
3605
|
var t;
|
|
3584
|
-
if (super(o), o.type !==
|
|
3606
|
+
if (super(o), o.type !== Ut.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.");
|
|
3585
3607
|
}
|
|
3586
3608
|
render(o) {
|
|
3587
3609
|
return Object.keys(o).reduce((t, e) => {
|
|
3588
|
-
const
|
|
3589
|
-
return
|
|
3610
|
+
const r = o[e];
|
|
3611
|
+
return r == null ? t : t + `${e = e.includes("-") ? e : e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g, "-$&").toLowerCase()}:${r};`;
|
|
3590
3612
|
}, "");
|
|
3591
3613
|
}
|
|
3592
3614
|
update(o, [t]) {
|
|
3593
3615
|
const { style: e } = o.element;
|
|
3594
3616
|
if (this.ft === void 0) return this.ft = new Set(Object.keys(t)), this.render(t);
|
|
3595
|
-
for (const
|
|
3596
|
-
for (const
|
|
3597
|
-
const i = t[
|
|
3617
|
+
for (const r of this.ft) t[r] == null && (this.ft.delete(r), r.includes("-") ? e.removeProperty(r) : e[r] = null);
|
|
3618
|
+
for (const r in t) {
|
|
3619
|
+
const i = t[r];
|
|
3598
3620
|
if (i != null) {
|
|
3599
|
-
this.ft.add(
|
|
3600
|
-
const
|
|
3601
|
-
|
|
3621
|
+
this.ft.add(r);
|
|
3622
|
+
const n = typeof i == "string" && i.endsWith(Qo);
|
|
3623
|
+
r.includes("-") || n ? e.setProperty(r, n ? i.slice(0, -11) : i, n ? ge : "") : e[r] = i;
|
|
3602
3624
|
}
|
|
3603
3625
|
}
|
|
3604
|
-
return
|
|
3626
|
+
return G;
|
|
3605
3627
|
}
|
|
3606
3628
|
});
|
|
3607
|
-
var
|
|
3608
|
-
for (var i =
|
|
3609
|
-
(s = o[
|
|
3610
|
-
return
|
|
3629
|
+
var ti = Object.defineProperty, ei = Object.getOwnPropertyDescriptor, Wt = (o, t, e, r) => {
|
|
3630
|
+
for (var i = r > 1 ? void 0 : r ? ei(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
3631
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
3632
|
+
return r && i && ti(t, e, i), i;
|
|
3611
3633
|
};
|
|
3612
|
-
let
|
|
3634
|
+
let bt = class extends v {
|
|
3613
3635
|
constructor() {
|
|
3614
3636
|
super(...arguments), this.option = {}, this.imageSize = 64;
|
|
3615
3637
|
}
|
|
@@ -3618,16 +3640,16 @@ let pt = class extends v {
|
|
|
3618
3640
|
width: `${this.imageSize}px`,
|
|
3619
3641
|
height: `${this.imageSize}px`
|
|
3620
3642
|
}, e = l`
|
|
3621
|
-
${this.option.imgurl ? l`<img src="${this.option.imgurl}" alt="${
|
|
3643
|
+
${this.option.imgurl ? l`<img src="${this.option.imgurl}" alt="${E(this.option.title)}" aria-hidden="true" style=${Yo(t)} />` : ""}
|
|
3622
3644
|
<div class="m-reassurance-content">
|
|
3623
|
-
<h3 class="a-reassurance-text">${
|
|
3624
|
-
<p class="a-reassurance-description">${
|
|
3645
|
+
<h3 class="a-reassurance-text">${E(this.option.title)}</h3>
|
|
3646
|
+
<p class="a-reassurance-description">${E(this.option.description)}</p>
|
|
3625
3647
|
</div>
|
|
3626
3648
|
`;
|
|
3627
|
-
return o ? l`<a href="${
|
|
3649
|
+
return o ? l`<a href="${E(this.option.url)}" class="reassurance-item clickable">${e}</a>` : l`<div class="reassurance-item">${e}</div>`;
|
|
3628
3650
|
}
|
|
3629
3651
|
};
|
|
3630
|
-
|
|
3652
|
+
bt.styles = f`
|
|
3631
3653
|
:host {
|
|
3632
3654
|
display: inline-block;
|
|
3633
3655
|
position: relative;
|
|
@@ -3709,22 +3731,22 @@ pt.styles = g`
|
|
|
3709
3731
|
}
|
|
3710
3732
|
}
|
|
3711
3733
|
`;
|
|
3712
|
-
|
|
3734
|
+
Wt([
|
|
3713
3735
|
a({ type: Object, reflect: !0 })
|
|
3714
|
-
],
|
|
3715
|
-
|
|
3736
|
+
], bt.prototype, "option", 2);
|
|
3737
|
+
Wt([
|
|
3716
3738
|
a({ type: Number, reflect: !0 })
|
|
3717
|
-
],
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
],
|
|
3721
|
-
var
|
|
3722
|
-
for (var i =
|
|
3723
|
-
(s = o[
|
|
3724
|
-
return
|
|
3739
|
+
], bt.prototype, "imageSize", 2);
|
|
3740
|
+
bt = Wt([
|
|
3741
|
+
m("o-reassurance")
|
|
3742
|
+
], bt);
|
|
3743
|
+
var oi = Object.defineProperty, ii = Object.getOwnPropertyDescriptor, Z = (o, t, e, r) => {
|
|
3744
|
+
for (var i = r > 1 ? void 0 : r ? ii(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
3745
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
3746
|
+
return r && i && oi(t, e, i), i;
|
|
3725
3747
|
};
|
|
3726
|
-
const
|
|
3727
|
-
let
|
|
3748
|
+
const ri = Nt(v);
|
|
3749
|
+
let L = class extends ri {
|
|
3728
3750
|
constructor() {
|
|
3729
3751
|
super(...arguments), this.link = "", this.name = "", this.value = "", this.text = "", this.size = "standard", this.selected = !1, this.fullwidth = !1, this.inactive = !1;
|
|
3730
3752
|
}
|
|
@@ -3747,7 +3769,7 @@ let E = class extends Qo {
|
|
|
3747
3769
|
`;
|
|
3748
3770
|
}
|
|
3749
3771
|
};
|
|
3750
|
-
|
|
3772
|
+
L.styles = f`
|
|
3751
3773
|
:host {
|
|
3752
3774
|
cursor: pointer;
|
|
3753
3775
|
display: inline-flex;
|
|
@@ -3823,7 +3845,7 @@ E.styles = g`
|
|
|
3823
3845
|
}
|
|
3824
3846
|
|
|
3825
3847
|
&:focus-visible {
|
|
3826
|
-
${
|
|
3848
|
+
${xt};
|
|
3827
3849
|
}
|
|
3828
3850
|
}
|
|
3829
3851
|
|
|
@@ -3837,44 +3859,44 @@ E.styles = g`
|
|
|
3837
3859
|
align-items: center;
|
|
3838
3860
|
}
|
|
3839
3861
|
`;
|
|
3840
|
-
|
|
3862
|
+
Z([
|
|
3841
3863
|
a({ type: String, reflect: !0 })
|
|
3842
|
-
],
|
|
3843
|
-
|
|
3864
|
+
], L.prototype, "link", 2);
|
|
3865
|
+
Z([
|
|
3844
3866
|
a({ reflect: !0 })
|
|
3845
|
-
],
|
|
3846
|
-
|
|
3867
|
+
], L.prototype, "name", 2);
|
|
3868
|
+
Z([
|
|
3847
3869
|
a({ reflect: !0 })
|
|
3848
|
-
],
|
|
3849
|
-
|
|
3870
|
+
], L.prototype, "value", 2);
|
|
3871
|
+
Z([
|
|
3850
3872
|
a({ type: String })
|
|
3851
|
-
],
|
|
3852
|
-
|
|
3873
|
+
], L.prototype, "text", 2);
|
|
3874
|
+
Z([
|
|
3853
3875
|
a({ type: String, reflect: !0 })
|
|
3854
|
-
],
|
|
3855
|
-
|
|
3876
|
+
], L.prototype, "size", 2);
|
|
3877
|
+
Z([
|
|
3856
3878
|
a({ type: Boolean, reflect: !0 })
|
|
3857
|
-
],
|
|
3858
|
-
|
|
3879
|
+
], L.prototype, "selected", 2);
|
|
3880
|
+
Z([
|
|
3859
3881
|
a({ type: Boolean, reflect: !0 })
|
|
3860
|
-
],
|
|
3861
|
-
|
|
3882
|
+
], L.prototype, "fullwidth", 2);
|
|
3883
|
+
Z([
|
|
3862
3884
|
a({ type: Boolean, reflect: !0 })
|
|
3863
|
-
],
|
|
3864
|
-
|
|
3865
|
-
|
|
3866
|
-
],
|
|
3867
|
-
var
|
|
3868
|
-
for (var i =
|
|
3869
|
-
(s = o[
|
|
3870
|
-
return
|
|
3885
|
+
], L.prototype, "inactive", 2);
|
|
3886
|
+
L = Z([
|
|
3887
|
+
m("o-chip")
|
|
3888
|
+
], L);
|
|
3889
|
+
var ni = Object.defineProperty, si = Object.getOwnPropertyDescriptor, Gt = (o, t, e, r) => {
|
|
3890
|
+
for (var i = r > 1 ? void 0 : r ? si(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
3891
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
3892
|
+
return r && i && ni(t, e, i), i;
|
|
3871
3893
|
};
|
|
3872
|
-
let
|
|
3894
|
+
let gt = class extends v {
|
|
3873
3895
|
constructor() {
|
|
3874
3896
|
super(), this.name = "", this.value = "", this.addEventListener("selected", this.onChipSelected);
|
|
3875
3897
|
}
|
|
3876
3898
|
onChipSelected(o) {
|
|
3877
|
-
const t = o.target instanceof
|
|
3899
|
+
const t = o.target instanceof L ? o.target : null;
|
|
3878
3900
|
t != null && t.link || (this.name = (t == null ? void 0 : t.name) || "", this.value = (t == null ? void 0 : t.value) || "", this.querySelectorAll("o-chip").forEach((e) => {
|
|
3879
3901
|
e !== t && (e.selected = !1);
|
|
3880
3902
|
}));
|
|
@@ -3885,7 +3907,7 @@ let ut = class extends v {
|
|
|
3885
3907
|
`;
|
|
3886
3908
|
}
|
|
3887
3909
|
};
|
|
3888
|
-
|
|
3910
|
+
gt.styles = f`
|
|
3889
3911
|
:host {
|
|
3890
3912
|
display: flex;
|
|
3891
3913
|
flex-direction: row;
|
|
@@ -3893,22 +3915,22 @@ ut.styles = g`
|
|
|
3893
3915
|
gap: var(--spacing-s);
|
|
3894
3916
|
}
|
|
3895
3917
|
`;
|
|
3896
|
-
|
|
3918
|
+
Gt([
|
|
3897
3919
|
a({ reflect: !0 })
|
|
3898
|
-
],
|
|
3899
|
-
|
|
3920
|
+
], gt.prototype, "name", 2);
|
|
3921
|
+
Gt([
|
|
3900
3922
|
a({ reflect: !0 })
|
|
3901
|
-
],
|
|
3902
|
-
|
|
3903
|
-
|
|
3904
|
-
],
|
|
3905
|
-
var
|
|
3906
|
-
for (var i =
|
|
3907
|
-
(s = o[
|
|
3908
|
-
return
|
|
3923
|
+
], gt.prototype, "value", 2);
|
|
3924
|
+
gt = Gt([
|
|
3925
|
+
m("o-chipset")
|
|
3926
|
+
], gt);
|
|
3927
|
+
var ai = Object.defineProperty, li = Object.getOwnPropertyDescriptor, R = (o, t, e, r) => {
|
|
3928
|
+
for (var i = r > 1 ? void 0 : r ? li(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
3929
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
3930
|
+
return r && i && ai(t, e, i), i;
|
|
3909
3931
|
};
|
|
3910
|
-
const
|
|
3911
|
-
let
|
|
3932
|
+
const ci = Nt(v);
|
|
3933
|
+
let I = class extends ci {
|
|
3912
3934
|
constructor() {
|
|
3913
3935
|
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";
|
|
3914
3936
|
}
|
|
@@ -3920,18 +3942,18 @@ let S = class extends ii {
|
|
|
3920
3942
|
this.dispatchEvent(e), e.defaultPrevented && o.preventDefault(), this.selected = t.selected;
|
|
3921
3943
|
}
|
|
3922
3944
|
crossIcon() {
|
|
3923
|
-
const o =
|
|
3945
|
+
const o = N[this.crossIconName].replace(
|
|
3924
3946
|
"<svg",
|
|
3925
3947
|
'<svg aria-hidden="true" focusable="false" part="svg"'
|
|
3926
3948
|
).replace(/stroke=[#"'a-z1-9]*/gi, "");
|
|
3927
|
-
return l`<span class="cross-icon">${
|
|
3949
|
+
return l`<span class="cross-icon">${$(o)}</span>`;
|
|
3928
3950
|
}
|
|
3929
3951
|
strikeThroughImg() {
|
|
3930
|
-
const o =
|
|
3952
|
+
const o = go[this.strikethroughImgName].replace(
|
|
3931
3953
|
"<svg",
|
|
3932
3954
|
'<svg aria-hidden="true" focusable="false" part="strikethrough"'
|
|
3933
3955
|
).replace(/stroke=[#"'a-z1-9]*/gi, "");
|
|
3934
|
-
return
|
|
3956
|
+
return $(o);
|
|
3935
3957
|
}
|
|
3936
3958
|
render() {
|
|
3937
3959
|
const o = this.text;
|
|
@@ -3958,7 +3980,7 @@ let S = class extends ii {
|
|
|
3958
3980
|
`;
|
|
3959
3981
|
}
|
|
3960
3982
|
};
|
|
3961
|
-
|
|
3983
|
+
I.styles = f`
|
|
3962
3984
|
:host {
|
|
3963
3985
|
cursor: pointer;
|
|
3964
3986
|
display: inline-flex;
|
|
@@ -4038,7 +4060,7 @@ S.styles = g`
|
|
|
4038
4060
|
}
|
|
4039
4061
|
|
|
4040
4062
|
.button:focus-visible {
|
|
4041
|
-
${
|
|
4063
|
+
${xt};
|
|
4042
4064
|
}
|
|
4043
4065
|
|
|
4044
4066
|
span.text + span.text::before {
|
|
@@ -4084,42 +4106,42 @@ S.styles = g`
|
|
|
4084
4106
|
}
|
|
4085
4107
|
}
|
|
4086
4108
|
`;
|
|
4087
|
-
|
|
4109
|
+
R([
|
|
4088
4110
|
a({ reflect: !0 })
|
|
4089
|
-
],
|
|
4090
|
-
|
|
4111
|
+
], I.prototype, "name", 2);
|
|
4112
|
+
R([
|
|
4091
4113
|
a({ reflect: !0 })
|
|
4092
|
-
],
|
|
4093
|
-
|
|
4114
|
+
], I.prototype, "value", 2);
|
|
4115
|
+
R([
|
|
4094
4116
|
a({ type: String, reflect: !0 })
|
|
4095
|
-
],
|
|
4096
|
-
|
|
4117
|
+
], I.prototype, "type", 2);
|
|
4118
|
+
R([
|
|
4097
4119
|
a({ type: String, reflect: !0 })
|
|
4098
|
-
],
|
|
4099
|
-
|
|
4120
|
+
], I.prototype, "href", 2);
|
|
4121
|
+
R([
|
|
4100
4122
|
a({ type: String, reflect: !0, attribute: "data-href" })
|
|
4101
|
-
],
|
|
4102
|
-
|
|
4123
|
+
], I.prototype, "dataHref", 2);
|
|
4124
|
+
R([
|
|
4103
4125
|
a({ type: String })
|
|
4104
|
-
],
|
|
4105
|
-
|
|
4126
|
+
], I.prototype, "text", 2);
|
|
4127
|
+
R([
|
|
4106
4128
|
a({ type: Boolean, reflect: !0 })
|
|
4107
|
-
],
|
|
4108
|
-
|
|
4129
|
+
], I.prototype, "selected", 2);
|
|
4130
|
+
R([
|
|
4109
4131
|
a({ type: Boolean, reflect: !0 })
|
|
4110
|
-
],
|
|
4111
|
-
|
|
4132
|
+
], I.prototype, "disabled", 2);
|
|
4133
|
+
R([
|
|
4112
4134
|
a({ type: Boolean, reflect: !0 })
|
|
4113
|
-
],
|
|
4114
|
-
|
|
4115
|
-
|
|
4116
|
-
],
|
|
4117
|
-
var
|
|
4118
|
-
for (var i = void 0,
|
|
4119
|
-
(s = o[
|
|
4120
|
-
return i &&
|
|
4135
|
+
], I.prototype, "fullwidth", 2);
|
|
4136
|
+
I = R([
|
|
4137
|
+
m("o-filter-chip")
|
|
4138
|
+
], I);
|
|
4139
|
+
var hi = Object.defineProperty, q = (o, t, e, r) => {
|
|
4140
|
+
for (var i = void 0, n = o.length - 1, s; n >= 0; n--)
|
|
4141
|
+
(s = o[n]) && (i = s(t, e, i) || i);
|
|
4142
|
+
return i && hi(t, e, i), i;
|
|
4121
4143
|
};
|
|
4122
|
-
const
|
|
4144
|
+
const Jt = class Jt extends v {
|
|
4123
4145
|
constructor() {
|
|
4124
4146
|
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;
|
|
4125
4147
|
}
|
|
@@ -4165,7 +4187,7 @@ const Kt = class Kt extends v {
|
|
|
4165
4187
|
`;
|
|
4166
4188
|
}
|
|
4167
4189
|
};
|
|
4168
|
-
|
|
4190
|
+
Jt.styles = f`
|
|
4169
4191
|
:host {
|
|
4170
4192
|
display: block;
|
|
4171
4193
|
max-width: 100%;
|
|
@@ -4253,41 +4275,41 @@ Kt.styles = g`
|
|
|
4253
4275
|
cursor: pointer;
|
|
4254
4276
|
}
|
|
4255
4277
|
`;
|
|
4256
|
-
let
|
|
4257
|
-
|
|
4278
|
+
let P = Jt;
|
|
4279
|
+
q([
|
|
4258
4280
|
a({ type: String })
|
|
4259
|
-
],
|
|
4260
|
-
|
|
4281
|
+
], P.prototype, "type");
|
|
4282
|
+
q([
|
|
4261
4283
|
a({ type: String })
|
|
4262
|
-
],
|
|
4263
|
-
|
|
4284
|
+
], P.prototype, "titleProduct");
|
|
4285
|
+
q([
|
|
4264
4286
|
a({ type: String })
|
|
4265
|
-
],
|
|
4266
|
-
|
|
4287
|
+
], P.prototype, "volume");
|
|
4288
|
+
q([
|
|
4267
4289
|
a({ type: String })
|
|
4268
|
-
],
|
|
4269
|
-
|
|
4290
|
+
], P.prototype, "perLiter");
|
|
4291
|
+
q([
|
|
4270
4292
|
a({ type: String })
|
|
4271
|
-
],
|
|
4272
|
-
|
|
4293
|
+
], P.prototype, "mainPrice");
|
|
4294
|
+
q([
|
|
4273
4295
|
a({ type: String })
|
|
4274
|
-
],
|
|
4275
|
-
|
|
4296
|
+
], P.prototype, "imageUrl");
|
|
4297
|
+
q([
|
|
4276
4298
|
a({ type: String })
|
|
4277
|
-
],
|
|
4278
|
-
|
|
4299
|
+
], P.prototype, "altImage");
|
|
4300
|
+
q([
|
|
4279
4301
|
a({ type: Boolean })
|
|
4280
|
-
],
|
|
4281
|
-
|
|
4302
|
+
], P.prototype, "fullwidth");
|
|
4303
|
+
q([
|
|
4282
4304
|
a({ type: Function })
|
|
4283
|
-
],
|
|
4284
|
-
customElements.define("mini-tile",
|
|
4285
|
-
var
|
|
4286
|
-
for (var i =
|
|
4287
|
-
(s = o[
|
|
4288
|
-
return
|
|
4305
|
+
], P.prototype, "onClickTile");
|
|
4306
|
+
customElements.define("mini-tile", P);
|
|
4307
|
+
var di = Object.defineProperty, pi = Object.getOwnPropertyDescriptor, Xt = (o, t, e, r) => {
|
|
4308
|
+
for (var i = r > 1 ? void 0 : r ? pi(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
4309
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
4310
|
+
return r && i && di(t, e, i), i;
|
|
4289
4311
|
};
|
|
4290
|
-
let
|
|
4312
|
+
let yt = class extends v {
|
|
4291
4313
|
constructor() {
|
|
4292
4314
|
super(...arguments), this.variant = "cart", this.text = "";
|
|
4293
4315
|
}
|
|
@@ -4299,7 +4321,7 @@ let vt = class extends v {
|
|
|
4299
4321
|
`;
|
|
4300
4322
|
}
|
|
4301
4323
|
};
|
|
4302
|
-
|
|
4324
|
+
yt.styles = f`
|
|
4303
4325
|
:host([variant]) {
|
|
4304
4326
|
--badge-width: 19px;
|
|
4305
4327
|
display: inline-block;
|
|
@@ -4334,21 +4356,21 @@ vt.styles = g`
|
|
|
4334
4356
|
}
|
|
4335
4357
|
|
|
4336
4358
|
`;
|
|
4337
|
-
|
|
4359
|
+
Xt([
|
|
4338
4360
|
a({ type: String, reflect: !0 })
|
|
4339
|
-
],
|
|
4340
|
-
|
|
4361
|
+
], yt.prototype, "variant", 2);
|
|
4362
|
+
Xt([
|
|
4341
4363
|
a({ type: String })
|
|
4342
|
-
],
|
|
4343
|
-
|
|
4344
|
-
|
|
4345
|
-
],
|
|
4346
|
-
var
|
|
4347
|
-
for (var i =
|
|
4348
|
-
(s = o[
|
|
4349
|
-
return
|
|
4364
|
+
], yt.prototype, "text", 2);
|
|
4365
|
+
yt = Xt([
|
|
4366
|
+
m("o-badge")
|
|
4367
|
+
], yt);
|
|
4368
|
+
var ui = Object.defineProperty, vi = Object.getOwnPropertyDescriptor, D = (o, t, e, r) => {
|
|
4369
|
+
for (var i = r > 1 ? void 0 : r ? vi(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
4370
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
4371
|
+
return r && i && ui(t, e, i), i;
|
|
4350
4372
|
};
|
|
4351
|
-
let
|
|
4373
|
+
let C = class extends v {
|
|
4352
4374
|
constructor() {
|
|
4353
4375
|
super(...arguments), this.icon = "info", this.text = "Sample text", this.verticalanchor = "top", this.horizontalanchor = "right", this.verticaloffset = 24, this.horizontaloffset = 24, this.animationduration = 500, this.animationaxis = "horizontal", this.animated = !0, this.lifeduration = 5e3;
|
|
4354
4376
|
}
|
|
@@ -4388,11 +4410,11 @@ let $ = class extends v {
|
|
|
4388
4410
|
});
|
|
4389
4411
|
}
|
|
4390
4412
|
render() {
|
|
4391
|
-
const t =
|
|
4413
|
+
const t = yo[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"');
|
|
4392
4414
|
return l`
|
|
4393
4415
|
<div class="o-toast">
|
|
4394
4416
|
<div class="o-toast-icon">
|
|
4395
|
-
${
|
|
4417
|
+
${$(t)}
|
|
4396
4418
|
</div>
|
|
4397
4419
|
<div class="o-toast-text">
|
|
4398
4420
|
${this.text}
|
|
@@ -4408,7 +4430,7 @@ let $ = class extends v {
|
|
|
4408
4430
|
`;
|
|
4409
4431
|
}
|
|
4410
4432
|
};
|
|
4411
|
-
|
|
4433
|
+
C.styles = f`
|
|
4412
4434
|
:host {
|
|
4413
4435
|
--vertical-offset: 24px;
|
|
4414
4436
|
--horizontal-offset: 24px;
|
|
@@ -4477,36 +4499,363 @@ $.styles = g`
|
|
|
4477
4499
|
height: 16px;
|
|
4478
4500
|
}
|
|
4479
4501
|
`;
|
|
4480
|
-
|
|
4502
|
+
D([
|
|
4481
4503
|
a({ type: String, reflect: !0 })
|
|
4482
|
-
],
|
|
4483
|
-
|
|
4504
|
+
], C.prototype, "icon", 2);
|
|
4505
|
+
D([
|
|
4484
4506
|
a({ type: String, reflect: !0 })
|
|
4485
|
-
],
|
|
4486
|
-
|
|
4507
|
+
], C.prototype, "text", 2);
|
|
4508
|
+
D([
|
|
4487
4509
|
a({ type: String, reflect: !0 })
|
|
4488
|
-
],
|
|
4489
|
-
|
|
4510
|
+
], C.prototype, "verticalanchor", 2);
|
|
4511
|
+
D([
|
|
4490
4512
|
a({ type: String, reflect: !0 })
|
|
4491
|
-
],
|
|
4492
|
-
|
|
4513
|
+
], C.prototype, "horizontalanchor", 2);
|
|
4514
|
+
D([
|
|
4493
4515
|
a({ type: Number, reflect: !0 })
|
|
4494
|
-
],
|
|
4495
|
-
|
|
4516
|
+
], C.prototype, "verticaloffset", 2);
|
|
4517
|
+
D([
|
|
4496
4518
|
a({ type: Number, reflect: !0 })
|
|
4497
|
-
],
|
|
4498
|
-
|
|
4519
|
+
], C.prototype, "horizontaloffset", 2);
|
|
4520
|
+
D([
|
|
4499
4521
|
a({ type: Number, reflect: !0 })
|
|
4500
|
-
],
|
|
4501
|
-
|
|
4522
|
+
], C.prototype, "animationduration", 2);
|
|
4523
|
+
D([
|
|
4502
4524
|
a({ type: String, reflect: !0 })
|
|
4503
|
-
],
|
|
4504
|
-
|
|
4525
|
+
], C.prototype, "animationaxis", 2);
|
|
4526
|
+
D([
|
|
4505
4527
|
a({ type: Boolean, reflect: !0 })
|
|
4506
|
-
],
|
|
4507
|
-
|
|
4528
|
+
], C.prototype, "animated", 2);
|
|
4529
|
+
D([
|
|
4508
4530
|
a({ type: Number, reflect: !0 })
|
|
4509
|
-
],
|
|
4510
|
-
|
|
4511
|
-
|
|
4512
|
-
],
|
|
4531
|
+
], C.prototype, "lifeduration", 2);
|
|
4532
|
+
C = D([
|
|
4533
|
+
m("o-toast")
|
|
4534
|
+
], C);
|
|
4535
|
+
var fi = Object.defineProperty, bi = Object.getOwnPropertyDescriptor, H = (o, t, e, r) => {
|
|
4536
|
+
for (var i = r > 1 ? void 0 : r ? bi(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
4537
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
4538
|
+
return r && i && fi(t, e, i), i;
|
|
4539
|
+
};
|
|
4540
|
+
let gi = 0, _ = class extends v {
|
|
4541
|
+
constructor() {
|
|
4542
|
+
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-${++gi}`);
|
|
4543
|
+
}
|
|
4544
|
+
toggle() {
|
|
4545
|
+
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 })));
|
|
4546
|
+
}
|
|
4547
|
+
syncInput() {
|
|
4548
|
+
this.inputEl && (this.inputEl.checked = this.checked, this.inputEl.indeterminate = this.indeterminate);
|
|
4549
|
+
}
|
|
4550
|
+
updated(o) {
|
|
4551
|
+
this.syncInput();
|
|
4552
|
+
}
|
|
4553
|
+
handleKeyDown(o) {
|
|
4554
|
+
this.disabled || (o.key === " " || o.key === "Enter") && (o.preventDefault(), this.toggle());
|
|
4555
|
+
}
|
|
4556
|
+
render() {
|
|
4557
|
+
const o = $(N.checkbox.replace("<svg", '<svg aria-hidden="true" focusable="false" part="svg"')), t = $(N.icoMinus.replace("<svg", '<svg class="indeterminate" aria-hidden="true" focusable="false" part="svg"'));
|
|
4558
|
+
return l`
|
|
4559
|
+
<input
|
|
4560
|
+
type="checkbox"
|
|
4561
|
+
id=${this.inputId}
|
|
4562
|
+
?checked=${this.checked}
|
|
4563
|
+
?disabled=${this.disabled}
|
|
4564
|
+
name=${this.name}
|
|
4565
|
+
value=${this.value}
|
|
4566
|
+
@change=${(e) => {
|
|
4567
|
+
const r = e.target;
|
|
4568
|
+
this.checked = r.checked, this.indeterminate = r.indeterminate, this.dispatchEvent(new Event("change", { bubbles: !0, composed: !0 }));
|
|
4569
|
+
}}
|
|
4570
|
+
/>
|
|
4571
|
+
|
|
4572
|
+
<div class="box" role="checkbox" tabindex=${this.disabled ? -1 : 0} aria-checked=${this.indeterminate ? "mixed" : String(this.checked)} aria-disabled=${String(this.disabled)} @click=${this.toggle} @keydown=${this.handleKeyDown}>
|
|
4573
|
+
<span class="icon"> ${this.indeterminate ? t : this.checked ? o : null} </span>
|
|
4574
|
+
</div>
|
|
4575
|
+
|
|
4576
|
+
${this.showLabel ? l`<label class="label" for=${this.inputId}>${this.label}</label>` : ""}
|
|
4577
|
+
`;
|
|
4578
|
+
}
|
|
4579
|
+
};
|
|
4580
|
+
_.styles = f`
|
|
4581
|
+
:host {
|
|
4582
|
+
display: inline-flex;
|
|
4583
|
+
align-items: center;
|
|
4584
|
+
gap: var(--spacing-s);
|
|
4585
|
+
cursor: pointer;
|
|
4586
|
+
user-select: none;
|
|
4587
|
+
outline: none;
|
|
4588
|
+
}
|
|
4589
|
+
|
|
4590
|
+
:host([disabled]) {
|
|
4591
|
+
opacity: 0.5;
|
|
4592
|
+
cursor: not-allowed;
|
|
4593
|
+
}
|
|
4594
|
+
|
|
4595
|
+
.box {
|
|
4596
|
+
position: relative;
|
|
4597
|
+
display: inline-flex;
|
|
4598
|
+
align-items: center;
|
|
4599
|
+
justify-content: center;
|
|
4600
|
+
border: 1px solid var(--color-border-secondary);
|
|
4601
|
+
background: var(--color-container-bg-default);
|
|
4602
|
+
border-radius: var(--radius-m);
|
|
4603
|
+
box-sizing: border-box;
|
|
4604
|
+
}
|
|
4605
|
+
|
|
4606
|
+
:host([size="S"]) .box {
|
|
4607
|
+
width: 16px;
|
|
4608
|
+
height: 16px;
|
|
4609
|
+
}
|
|
4610
|
+
:host([size="L"]) .box {
|
|
4611
|
+
width: 24px;
|
|
4612
|
+
height: 24px;
|
|
4613
|
+
border: 2px solid var(--color-border-secondary);
|
|
4614
|
+
}
|
|
4615
|
+
|
|
4616
|
+
:host([checked]) .box,
|
|
4617
|
+
:host([indeterminate]) .box {
|
|
4618
|
+
background: var(--color-container-action-primary-default);
|
|
4619
|
+
border-color: var(--color-border-primary);
|
|
4620
|
+
|
|
4621
|
+
svg {
|
|
4622
|
+
width: 80%;
|
|
4623
|
+
height: 100%;
|
|
4624
|
+
}
|
|
4625
|
+
}
|
|
4626
|
+
|
|
4627
|
+
:host(:focus-visible) .box {
|
|
4628
|
+
box-shadow: 0 0 0 3px var(--color-border-primary);
|
|
4629
|
+
}
|
|
4630
|
+
|
|
4631
|
+
.box:hover:not([aria-disabled="true"]) {
|
|
4632
|
+
box-shadow: 0 0 0 4px #e8dfe3;
|
|
4633
|
+
}
|
|
4634
|
+
.box:active:not([aria-disabled="true"]) {
|
|
4635
|
+
box-shadow: 0 0 0 4px #d6c6cc;
|
|
4636
|
+
}
|
|
4637
|
+
|
|
4638
|
+
.label {
|
|
4639
|
+
color: var(--color-content-action-secondary);
|
|
4640
|
+
font-family: var(--font-family-loccitane-sans);
|
|
4641
|
+
font-size: var(--font-size-100);
|
|
4642
|
+
font-weight: var(--font-weight-400);
|
|
4643
|
+
line-height: var(--line-height-160);
|
|
4644
|
+
letter-spacing: var(--letter-spacing-400);
|
|
4645
|
+
}
|
|
4646
|
+
|
|
4647
|
+
.icon {
|
|
4648
|
+
position: absolute;
|
|
4649
|
+
inset: 0;
|
|
4650
|
+
display: flex;
|
|
4651
|
+
align-items: center;
|
|
4652
|
+
justify-content: center;
|
|
4653
|
+
pointer-events: none;
|
|
4654
|
+
}
|
|
4655
|
+
|
|
4656
|
+
input {
|
|
4657
|
+
position: absolute;
|
|
4658
|
+
opacity: 0;
|
|
4659
|
+
pointer-events: none;
|
|
4660
|
+
width: 0;
|
|
4661
|
+
height: 0;
|
|
4662
|
+
}
|
|
4663
|
+
|
|
4664
|
+
.indeterminate {
|
|
4665
|
+
width: 10px;
|
|
4666
|
+
height: 10px;
|
|
4667
|
+
}
|
|
4668
|
+
|
|
4669
|
+
.indeterminate path {
|
|
4670
|
+
fill: var(--color-border-white);
|
|
4671
|
+
}
|
|
4672
|
+
|
|
4673
|
+
svg path {
|
|
4674
|
+
stroke: var(--color-border-white);
|
|
4675
|
+
}
|
|
4676
|
+
`;
|
|
4677
|
+
H([
|
|
4678
|
+
a({ type: Boolean, reflect: !0 })
|
|
4679
|
+
], _.prototype, "checked", 2);
|
|
4680
|
+
H([
|
|
4681
|
+
a({ type: Boolean, reflect: !0 })
|
|
4682
|
+
], _.prototype, "indeterminate", 2);
|
|
4683
|
+
H([
|
|
4684
|
+
a({ type: Boolean, reflect: !0 })
|
|
4685
|
+
], _.prototype, "disabled", 2);
|
|
4686
|
+
H([
|
|
4687
|
+
a({ type: String, reflect: !0 })
|
|
4688
|
+
], _.prototype, "size", 2);
|
|
4689
|
+
H([
|
|
4690
|
+
a({ type: Boolean })
|
|
4691
|
+
], _.prototype, "showLabel", 2);
|
|
4692
|
+
H([
|
|
4693
|
+
a({ type: String })
|
|
4694
|
+
], _.prototype, "label", 2);
|
|
4695
|
+
H([
|
|
4696
|
+
a({ type: String })
|
|
4697
|
+
], _.prototype, "name", 2);
|
|
4698
|
+
H([
|
|
4699
|
+
a({ type: String })
|
|
4700
|
+
], _.prototype, "value", 2);
|
|
4701
|
+
H([
|
|
4702
|
+
a({ type: String, reflect: !0 })
|
|
4703
|
+
], _.prototype, "inputId", 2);
|
|
4704
|
+
H([
|
|
4705
|
+
fe("input")
|
|
4706
|
+
], _.prototype, "inputEl", 2);
|
|
4707
|
+
_ = H([
|
|
4708
|
+
m("o-checkbox")
|
|
4709
|
+
], _);
|
|
4710
|
+
var yi = Object.defineProperty, mi = Object.getOwnPropertyDescriptor, F = (o, t, e, r) => {
|
|
4711
|
+
for (var i = r > 1 ? void 0 : r ? mi(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
4712
|
+
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
4713
|
+
return r && i && yi(t, e, i), i;
|
|
4714
|
+
};
|
|
4715
|
+
let xi = 0, O = class extends v {
|
|
4716
|
+
constructor() {
|
|
4717
|
+
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-${++xi}`);
|
|
4718
|
+
}
|
|
4719
|
+
handleClick() {
|
|
4720
|
+
this.disabled || this.checked || (this.checked = !0, this.syncInput(), this.dispatchEvent(new Event("change", { bubbles: !0, composed: !0 })));
|
|
4721
|
+
}
|
|
4722
|
+
syncInput() {
|
|
4723
|
+
this.inputEl && (this.inputEl.checked = this.checked);
|
|
4724
|
+
}
|
|
4725
|
+
updated(o) {
|
|
4726
|
+
if (o.has("checked") && this.checked) {
|
|
4727
|
+
const t = this.parentElement;
|
|
4728
|
+
t && Array.from(t.querySelectorAll(`o-radio[name="${this.name}"]`)).forEach((r) => {
|
|
4729
|
+
r !== this && (r.checked = !1);
|
|
4730
|
+
});
|
|
4731
|
+
}
|
|
4732
|
+
this.syncInput();
|
|
4733
|
+
}
|
|
4734
|
+
handleKeyDown(o) {
|
|
4735
|
+
this.disabled || (o.key === " " || o.key === "Enter") && (o.preventDefault(), this.handleClick());
|
|
4736
|
+
}
|
|
4737
|
+
render() {
|
|
4738
|
+
return l`
|
|
4739
|
+
<input type="radio" id=${this.inputId} ?checked=${this.checked} ?disabled=${this.disabled} name=${this.name} value=${this.value} />
|
|
4740
|
+
|
|
4741
|
+
<div class="box" role="radio" tabindex=${this.disabled ? -1 : 0} aria-checked=${String(this.checked)} aria-disabled=${String(this.disabled)} @click=${this.handleClick} @keydown=${this.handleKeyDown}>
|
|
4742
|
+
<span class="dot"></span>
|
|
4743
|
+
</div>
|
|
4744
|
+
|
|
4745
|
+
${this.showLabel ? l`<label class="label" for=${this.inputId}>${this.label}</label>` : ""}
|
|
4746
|
+
`;
|
|
4747
|
+
}
|
|
4748
|
+
};
|
|
4749
|
+
O.styles = f`
|
|
4750
|
+
:host {
|
|
4751
|
+
display: inline-flex;
|
|
4752
|
+
align-items: center;
|
|
4753
|
+
gap: var(--spacing-s);
|
|
4754
|
+
cursor: pointer;
|
|
4755
|
+
user-select: none;
|
|
4756
|
+
outline: none;
|
|
4757
|
+
}
|
|
4758
|
+
|
|
4759
|
+
:host([disabled]) {
|
|
4760
|
+
opacity: 0.5;
|
|
4761
|
+
cursor: not-allowed;
|
|
4762
|
+
}
|
|
4763
|
+
|
|
4764
|
+
.box {
|
|
4765
|
+
position: relative;
|
|
4766
|
+
display: inline-flex;
|
|
4767
|
+
align-items: center;
|
|
4768
|
+
justify-content: center;
|
|
4769
|
+
border: 1px solid #7e7173; /* contour du cercle */
|
|
4770
|
+
background: #fbf9f6; /* fond clair */
|
|
4771
|
+
border-radius: 50%;
|
|
4772
|
+
box-sizing: border-box;
|
|
4773
|
+
transition: box-shadow 0.2s;
|
|
4774
|
+
}
|
|
4775
|
+
|
|
4776
|
+
:host([size="S"]) .box {
|
|
4777
|
+
width: 16px;
|
|
4778
|
+
height: 16px;
|
|
4779
|
+
}
|
|
4780
|
+
:host([size="L"]) .box {
|
|
4781
|
+
width: 24px;
|
|
4782
|
+
height: 24px;
|
|
4783
|
+
border: 2px solid #7e7173;
|
|
4784
|
+
}
|
|
4785
|
+
|
|
4786
|
+
:host(:focus-visible) .box {
|
|
4787
|
+
box-shadow: 0 0 0 3px var(--color-border-primary);
|
|
4788
|
+
}
|
|
4789
|
+
|
|
4790
|
+
.box:hover:not([aria-disabled="true"]) {
|
|
4791
|
+
box-shadow: 0 0 0 4px #e8dfe3;
|
|
4792
|
+
}
|
|
4793
|
+
.box:active:not([aria-disabled="true"]) {
|
|
4794
|
+
box-shadow: 0 0 0 4px #d6c6cc;
|
|
4795
|
+
}
|
|
4796
|
+
|
|
4797
|
+
.label {
|
|
4798
|
+
color: var(--color-content-action-secondary);
|
|
4799
|
+
font-family: var(--font-family-loccitane-sans);
|
|
4800
|
+
font-size: var(--font-size-100);
|
|
4801
|
+
font-weight: var(--font-weight-400);
|
|
4802
|
+
line-height: var(--line-height-160);
|
|
4803
|
+
letter-spacing: var(--letter-spacing-400);
|
|
4804
|
+
}
|
|
4805
|
+
|
|
4806
|
+
.dot {
|
|
4807
|
+
opacity: 0;
|
|
4808
|
+
width: 8px;
|
|
4809
|
+
height: 8px;
|
|
4810
|
+
background-color: #3f2b2e; /* cercle plein foncé */
|
|
4811
|
+
border-radius: 50%;
|
|
4812
|
+
transition: opacity 0.2s;
|
|
4813
|
+
}
|
|
4814
|
+
|
|
4815
|
+
:host([size="L"]) .dot {
|
|
4816
|
+
width: 12px;
|
|
4817
|
+
height: 12px;
|
|
4818
|
+
}
|
|
4819
|
+
|
|
4820
|
+
:host([checked]) .dot {
|
|
4821
|
+
opacity: 1;
|
|
4822
|
+
}
|
|
4823
|
+
|
|
4824
|
+
input {
|
|
4825
|
+
position: absolute;
|
|
4826
|
+
opacity: 0;
|
|
4827
|
+
pointer-events: none;
|
|
4828
|
+
width: 0;
|
|
4829
|
+
height: 0;
|
|
4830
|
+
}
|
|
4831
|
+
`;
|
|
4832
|
+
F([
|
|
4833
|
+
a({ type: Boolean, reflect: !0 })
|
|
4834
|
+
], O.prototype, "checked", 2);
|
|
4835
|
+
F([
|
|
4836
|
+
a({ type: Boolean, reflect: !0 })
|
|
4837
|
+
], O.prototype, "disabled", 2);
|
|
4838
|
+
F([
|
|
4839
|
+
a({ type: String, reflect: !0 })
|
|
4840
|
+
], O.prototype, "size", 2);
|
|
4841
|
+
F([
|
|
4842
|
+
a({ type: Boolean })
|
|
4843
|
+
], O.prototype, "showLabel", 2);
|
|
4844
|
+
F([
|
|
4845
|
+
a({ type: String })
|
|
4846
|
+
], O.prototype, "label", 2);
|
|
4847
|
+
F([
|
|
4848
|
+
a({ type: String })
|
|
4849
|
+
], O.prototype, "name", 2);
|
|
4850
|
+
F([
|
|
4851
|
+
a({ type: String })
|
|
4852
|
+
], O.prototype, "value", 2);
|
|
4853
|
+
F([
|
|
4854
|
+
a({ type: String, reflect: !0 })
|
|
4855
|
+
], O.prototype, "inputId", 2);
|
|
4856
|
+
F([
|
|
4857
|
+
fe("input")
|
|
4858
|
+
], O.prototype, "inputEl", 2);
|
|
4859
|
+
O = F([
|
|
4860
|
+
m("o-radio")
|
|
4861
|
+
], O);
|