@everlywell/consumer-ui 1.42.1 → 1.43.0
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 +6 -6
- package/index.mjs +429 -400
- package/lib/components/Navbar/TopNavigation/TopNavigation.d.ts.map +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { useSteps as
|
|
2
|
-
import Pe, { useEffect as oe, forwardRef as
|
|
3
|
-
import { Text as
|
|
4
|
-
import { CaretRight as Et, MagnifyingGlass as
|
|
5
|
-
import { motion as gt, AnimatePresence as
|
|
1
|
+
import { useSteps as rn, Box as w, Stepper as on, Icon as ee, Flex as k, Text as z, Link as X, Button as ht, Image as ln, IconButton as an, theme as K, useMediaQuery as ct, VStack as sn, Skeleton as it, HStack as yt, SkeletonCircle as Ye, DrawerContent as $t, DrawerOverlay as Mt, Drawer as Ht, DrawerHeader as Ft, DrawerBody as Bt, Grid as cn, GridItem as un, Accordion as dn, AccordionItem as fn, AccordionButton as pn, AccordionPanel as hn, InputGroup as gn, Input as xn, InputRightElement as vn, Container as mn, DrawerFooter as bn, DrawerCloseButton as Cn, Modal as wn, ModalOverlay as jn, ModalContent as yn, ModalHeader as En, ModalBody as kn, ModalFooter as Rn, ModalCloseButton as _n } from "@everlywell/ui-kit";
|
|
2
|
+
import Pe, { useEffect as oe, forwardRef as zt, useRef as Sn, useCallback as Wt, useState as Z } from "react";
|
|
3
|
+
import { Text as Tn, useBreakpointValue as ye, Box as Dn, InputGroup as In, Input as Ln, InputRightElement as On, Icon as An } from "@chakra-ui/react";
|
|
4
|
+
import { CaretRight as Et, MagnifyingGlass as Nt, List as Pn, Basket as $n, CaretLeft as Mn, X as Vt, User as kt, QrCode as Hn, CaretDown as Fn, ArrowRight as Bn, InstagramLogo as zn, LinkedinLogo as Wn, FacebookLogo as Nn, TiktokLogo as Vn, XLogo as Yn } from "@phosphor-icons/react";
|
|
5
|
+
import { motion as gt, AnimatePresence as Gn } from "framer-motion";
|
|
6
6
|
var ut = { exports: {} }, Oe = {};
|
|
7
7
|
/**
|
|
8
8
|
* @license React
|
|
@@ -14,14 +14,14 @@ var ut = { exports: {} }, Oe = {};
|
|
|
14
14
|
* LICENSE file in the root directory of this source tree.
|
|
15
15
|
*/
|
|
16
16
|
var Rt;
|
|
17
|
-
function
|
|
17
|
+
function Un() {
|
|
18
18
|
if (Rt) return Oe;
|
|
19
19
|
Rt = 1;
|
|
20
|
-
var n = Pe, o = Symbol.for("react.element"), s = Symbol.for("react.fragment"),
|
|
20
|
+
var n = Pe, o = Symbol.for("react.element"), s = Symbol.for("react.fragment"), a = Object.prototype.hasOwnProperty, c = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, u = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
21
21
|
function p(v, g, d) {
|
|
22
22
|
var f, x = {}, j = null, R = null;
|
|
23
23
|
d !== void 0 && (j = "" + d), g.key !== void 0 && (j = "" + g.key), g.ref !== void 0 && (R = g.ref);
|
|
24
|
-
for (f in g)
|
|
24
|
+
for (f in g) a.call(g, f) && !u.hasOwnProperty(f) && (x[f] = g[f]);
|
|
25
25
|
if (v && v.defaultProps) for (f in g = v.defaultProps, g) x[f] === void 0 && (x[f] = g[f]);
|
|
26
26
|
return { $$typeof: o, type: v, key: j, ref: R, props: x, _owner: c.current };
|
|
27
27
|
}
|
|
@@ -38,10 +38,10 @@ var Ae = {};
|
|
|
38
38
|
* LICENSE file in the root directory of this source tree.
|
|
39
39
|
*/
|
|
40
40
|
var _t;
|
|
41
|
-
function
|
|
41
|
+
function Zn() {
|
|
42
42
|
return _t || (_t = 1, process.env.NODE_ENV !== "production" && function() {
|
|
43
|
-
var n = Pe, o = Symbol.for("react.element"), s = Symbol.for("react.portal"),
|
|
44
|
-
function
|
|
43
|
+
var n = Pe, o = Symbol.for("react.element"), s = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), u = Symbol.for("react.profiler"), p = Symbol.for("react.provider"), v = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), j = Symbol.for("react.lazy"), R = Symbol.for("react.offscreen"), y = Symbol.iterator, _ = "@@iterator";
|
|
44
|
+
function m(e) {
|
|
45
45
|
if (e === null || typeof e != "object")
|
|
46
46
|
return null;
|
|
47
47
|
var r = y && e[y] || e[_];
|
|
@@ -50,36 +50,36 @@ function Un() {
|
|
|
50
50
|
var F = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
51
51
|
function S(e) {
|
|
52
52
|
{
|
|
53
|
-
for (var r = arguments.length,
|
|
54
|
-
|
|
55
|
-
W("error", e,
|
|
53
|
+
for (var r = arguments.length, l = new Array(r > 1 ? r - 1 : 0), h = 1; h < r; h++)
|
|
54
|
+
l[h - 1] = arguments[h];
|
|
55
|
+
W("error", e, l);
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
function W(e, r,
|
|
58
|
+
function W(e, r, l) {
|
|
59
59
|
{
|
|
60
60
|
var h = F.ReactDebugCurrentFrame, E = h.getStackAddendum();
|
|
61
|
-
E !== "" && (r += "%s",
|
|
62
|
-
var D =
|
|
61
|
+
E !== "" && (r += "%s", l = l.concat([E]));
|
|
62
|
+
var D = l.map(function(C) {
|
|
63
63
|
return String(C);
|
|
64
64
|
});
|
|
65
65
|
D.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, D);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
var $ = !1, B = !1, J = !1, te = !1, V = !1,
|
|
69
|
-
|
|
70
|
-
function
|
|
71
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
68
|
+
var $ = !1, B = !1, J = !1, te = !1, V = !1, ie;
|
|
69
|
+
ie = Symbol.for("react.module.reference");
|
|
70
|
+
function le(e) {
|
|
71
|
+
return !!(typeof e == "string" || typeof e == "function" || e === a || e === u || V || e === c || e === d || e === f || te || e === R || $ || B || J || typeof e == "object" && e !== null && (e.$$typeof === j || e.$$typeof === x || e.$$typeof === p || e.$$typeof === v || e.$$typeof === g || // This needs to include all possible module reference object
|
|
72
72
|
// types supported by any Flight configuration anywhere since
|
|
73
73
|
// we don't know which Flight build this will end up being used
|
|
74
74
|
// with.
|
|
75
|
-
e.$$typeof ===
|
|
75
|
+
e.$$typeof === ie || e.getModuleId !== void 0));
|
|
76
76
|
}
|
|
77
|
-
function ne(e, r,
|
|
77
|
+
function ne(e, r, l) {
|
|
78
78
|
var h = e.displayName;
|
|
79
79
|
if (h)
|
|
80
80
|
return h;
|
|
81
81
|
var E = r.displayName || r.name || "";
|
|
82
|
-
return E !== "" ?
|
|
82
|
+
return E !== "" ? l + "(" + E + ")" : l;
|
|
83
83
|
}
|
|
84
84
|
function T(e) {
|
|
85
85
|
return e.displayName || "Context";
|
|
@@ -92,7 +92,7 @@ function Un() {
|
|
|
92
92
|
if (typeof e == "string")
|
|
93
93
|
return e;
|
|
94
94
|
switch (e) {
|
|
95
|
-
case
|
|
95
|
+
case a:
|
|
96
96
|
return "Fragment";
|
|
97
97
|
case s:
|
|
98
98
|
return "Portal";
|
|
@@ -111,8 +111,8 @@ function Un() {
|
|
|
111
111
|
var r = e;
|
|
112
112
|
return T(r) + ".Consumer";
|
|
113
113
|
case p:
|
|
114
|
-
var
|
|
115
|
-
return T(
|
|
114
|
+
var l = e;
|
|
115
|
+
return T(l._context) + ".Provider";
|
|
116
116
|
case g:
|
|
117
117
|
return ne(e, e.render, "ForwardRef");
|
|
118
118
|
case x:
|
|
@@ -129,14 +129,14 @@ function Un() {
|
|
|
129
129
|
}
|
|
130
130
|
return null;
|
|
131
131
|
}
|
|
132
|
-
var O = Object.assign, q = 0,
|
|
132
|
+
var O = Object.assign, q = 0, ae, $e, ge, Me, He, ke, Re;
|
|
133
133
|
function se() {
|
|
134
134
|
}
|
|
135
135
|
se.__reactDisabledLog = !0;
|
|
136
136
|
function Fe() {
|
|
137
137
|
{
|
|
138
138
|
if (q === 0) {
|
|
139
|
-
|
|
139
|
+
ae = console.log, $e = console.info, ge = console.warn, Me = console.error, He = console.group, ke = console.groupCollapsed, Re = console.groupEnd;
|
|
140
140
|
var e = {
|
|
141
141
|
configurable: !0,
|
|
142
142
|
enumerable: !0,
|
|
@@ -166,7 +166,7 @@ function Un() {
|
|
|
166
166
|
};
|
|
167
167
|
Object.defineProperties(console, {
|
|
168
168
|
log: O({}, e, {
|
|
169
|
-
value:
|
|
169
|
+
value: ae
|
|
170
170
|
}),
|
|
171
171
|
info: O({}, e, {
|
|
172
172
|
value: $e
|
|
@@ -192,7 +192,7 @@ function Un() {
|
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
194
|
var _e = F.ReactCurrentDispatcher, Se;
|
|
195
|
-
function xe(e, r,
|
|
195
|
+
function xe(e, r, l) {
|
|
196
196
|
{
|
|
197
197
|
if (Se === void 0)
|
|
198
198
|
try {
|
|
@@ -210,13 +210,13 @@ function Un() {
|
|
|
210
210
|
var Be = typeof WeakMap == "function" ? WeakMap : Map;
|
|
211
211
|
ve = new Be();
|
|
212
212
|
}
|
|
213
|
-
function
|
|
213
|
+
function me(e, r) {
|
|
214
214
|
if (!e || ue)
|
|
215
215
|
return "";
|
|
216
216
|
{
|
|
217
|
-
var
|
|
218
|
-
if (
|
|
219
|
-
return
|
|
217
|
+
var l = ve.get(e);
|
|
218
|
+
if (l !== void 0)
|
|
219
|
+
return l;
|
|
220
220
|
}
|
|
221
221
|
var h;
|
|
222
222
|
ue = !0;
|
|
@@ -258,17 +258,17 @@ function Un() {
|
|
|
258
258
|
}
|
|
259
259
|
} catch (Y) {
|
|
260
260
|
if (Y && h && typeof Y.stack == "string") {
|
|
261
|
-
for (var
|
|
261
|
+
for (var b = Y.stack.split(`
|
|
262
262
|
`), N = h.stack.split(`
|
|
263
|
-
`), P =
|
|
263
|
+
`), P = b.length - 1, M = N.length - 1; P >= 1 && M >= 0 && b[P] !== N[M]; )
|
|
264
264
|
M--;
|
|
265
265
|
for (; P >= 1 && M >= 0; P--, M--)
|
|
266
|
-
if (
|
|
266
|
+
if (b[P] !== N[M]) {
|
|
267
267
|
if (P !== 1 || M !== 1)
|
|
268
268
|
do
|
|
269
|
-
if (P--, M--, M < 0 ||
|
|
269
|
+
if (P--, M--, M < 0 || b[P] !== N[M]) {
|
|
270
270
|
var U = `
|
|
271
|
-
` +
|
|
271
|
+
` + b[P].replace(" at new ", " at ");
|
|
272
272
|
return e.displayName && U.includes("<anonymous>") && (U = U.replace("<anonymous>", e.displayName)), typeof e == "function" && ve.set(e, U), U;
|
|
273
273
|
}
|
|
274
274
|
while (P >= 1 && M >= 0);
|
|
@@ -281,18 +281,18 @@ function Un() {
|
|
|
281
281
|
var je = e ? e.displayName || e.name : "", pe = je ? xe(je) : "";
|
|
282
282
|
return typeof e == "function" && ve.set(e, pe), pe;
|
|
283
283
|
}
|
|
284
|
-
function
|
|
285
|
-
return
|
|
284
|
+
function Xe(e, r, l) {
|
|
285
|
+
return me(e, !1);
|
|
286
286
|
}
|
|
287
|
-
function
|
|
287
|
+
function Ke(e) {
|
|
288
288
|
var r = e.prototype;
|
|
289
289
|
return !!(r && r.isReactComponent);
|
|
290
290
|
}
|
|
291
|
-
function re(e, r,
|
|
291
|
+
function re(e, r, l) {
|
|
292
292
|
if (e == null)
|
|
293
293
|
return "";
|
|
294
294
|
if (typeof e == "function")
|
|
295
|
-
return
|
|
295
|
+
return me(e, Ke(e));
|
|
296
296
|
if (typeof e == "string")
|
|
297
297
|
return xe(e);
|
|
298
298
|
switch (e) {
|
|
@@ -304,13 +304,13 @@ function Un() {
|
|
|
304
304
|
if (typeof e == "object")
|
|
305
305
|
switch (e.$$typeof) {
|
|
306
306
|
case g:
|
|
307
|
-
return
|
|
307
|
+
return Xe(e.render);
|
|
308
308
|
case x:
|
|
309
|
-
return re(e.type, r,
|
|
309
|
+
return re(e.type, r, l);
|
|
310
310
|
case j: {
|
|
311
311
|
var h = e, E = h._payload, D = h._init;
|
|
312
312
|
try {
|
|
313
|
-
return re(D(E), r,
|
|
313
|
+
return re(D(E), r, l);
|
|
314
314
|
} catch {
|
|
315
315
|
}
|
|
316
316
|
}
|
|
@@ -318,29 +318,29 @@ function Un() {
|
|
|
318
318
|
return "";
|
|
319
319
|
}
|
|
320
320
|
var G = Object.prototype.hasOwnProperty, ze = {}, We = F.ReactDebugCurrentFrame;
|
|
321
|
-
function
|
|
321
|
+
function be(e) {
|
|
322
322
|
if (e) {
|
|
323
|
-
var r = e._owner,
|
|
324
|
-
We.setExtraStackFrame(
|
|
323
|
+
var r = e._owner, l = re(e.type, e._source, r ? r.type : null);
|
|
324
|
+
We.setExtraStackFrame(l);
|
|
325
325
|
} else
|
|
326
326
|
We.setExtraStackFrame(null);
|
|
327
327
|
}
|
|
328
|
-
function Te(e, r,
|
|
328
|
+
function Te(e, r, l, h, E) {
|
|
329
329
|
{
|
|
330
330
|
var D = Function.call.bind(G);
|
|
331
331
|
for (var C in e)
|
|
332
332
|
if (D(e, C)) {
|
|
333
|
-
var
|
|
333
|
+
var b = void 0;
|
|
334
334
|
try {
|
|
335
335
|
if (typeof e[C] != "function") {
|
|
336
|
-
var N = Error((h || "React class") + ": " +
|
|
336
|
+
var N = Error((h || "React class") + ": " + l + " type `" + C + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[C] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
337
337
|
throw N.name = "Invariant Violation", N;
|
|
338
338
|
}
|
|
339
|
-
|
|
339
|
+
b = e[C](r, C, h, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
340
340
|
} catch (P) {
|
|
341
|
-
|
|
341
|
+
b = P;
|
|
342
342
|
}
|
|
343
|
-
|
|
343
|
+
b && !(b instanceof Error) && (be(E), S("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", h || "React class", l, C, typeof b), be(null)), b instanceof Error && !(b.message in ze) && (ze[b.message] = !0, be(E), S("Failed %s type: %s", l, b.message), be(null));
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
346
|
}
|
|
@@ -350,8 +350,8 @@ function Un() {
|
|
|
350
350
|
}
|
|
351
351
|
function Qe(e) {
|
|
352
352
|
{
|
|
353
|
-
var r = typeof Symbol == "function" && Symbol.toStringTag,
|
|
354
|
-
return
|
|
353
|
+
var r = typeof Symbol == "function" && Symbol.toStringTag, l = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
354
|
+
return l;
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
357
|
function qe(e) {
|
|
@@ -373,8 +373,8 @@ function Un() {
|
|
|
373
373
|
ref: !0,
|
|
374
374
|
__self: !0,
|
|
375
375
|
__source: !0
|
|
376
|
-
}, Ie, Le,
|
|
377
|
-
|
|
376
|
+
}, Ie, Le, i;
|
|
377
|
+
i = {};
|
|
378
378
|
function I(e) {
|
|
379
379
|
if (G.call(e, "ref")) {
|
|
380
380
|
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
@@ -393,65 +393,65 @@ function Un() {
|
|
|
393
393
|
}
|
|
394
394
|
function H(e, r) {
|
|
395
395
|
if (typeof e.ref == "string" && de.current && r && de.current.stateNode !== r) {
|
|
396
|
-
var
|
|
397
|
-
l
|
|
396
|
+
var l = L(de.current.type);
|
|
397
|
+
i[l] || (S('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', L(de.current.type), e.ref), i[l] = !0);
|
|
398
398
|
}
|
|
399
399
|
}
|
|
400
400
|
function Ce(e, r) {
|
|
401
401
|
{
|
|
402
|
-
var
|
|
402
|
+
var l = function() {
|
|
403
403
|
Ie || (Ie = !0, S("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
|
404
404
|
};
|
|
405
|
-
|
|
406
|
-
get:
|
|
405
|
+
l.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
406
|
+
get: l,
|
|
407
407
|
configurable: !0
|
|
408
408
|
});
|
|
409
409
|
}
|
|
410
410
|
}
|
|
411
411
|
function fe(e, r) {
|
|
412
412
|
{
|
|
413
|
-
var
|
|
413
|
+
var l = function() {
|
|
414
414
|
Le || (Le = !0, S("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
|
415
415
|
};
|
|
416
|
-
|
|
417
|
-
get:
|
|
416
|
+
l.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
417
|
+
get: l,
|
|
418
418
|
configurable: !0
|
|
419
419
|
});
|
|
420
420
|
}
|
|
421
421
|
}
|
|
422
|
-
var et = function(e, r,
|
|
423
|
-
var
|
|
422
|
+
var et = function(e, r, l, h, E, D, C) {
|
|
423
|
+
var b = {
|
|
424
424
|
// This tag allows us to uniquely identify this as a React Element
|
|
425
425
|
$$typeof: o,
|
|
426
426
|
// Built-in properties that belong on the element
|
|
427
427
|
type: e,
|
|
428
428
|
key: r,
|
|
429
|
-
ref:
|
|
429
|
+
ref: l,
|
|
430
430
|
props: C,
|
|
431
431
|
// Record the component responsible for creating this element.
|
|
432
432
|
_owner: D
|
|
433
433
|
};
|
|
434
|
-
return
|
|
434
|
+
return b._store = {}, Object.defineProperty(b._store, "validated", {
|
|
435
435
|
configurable: !1,
|
|
436
436
|
enumerable: !1,
|
|
437
437
|
writable: !0,
|
|
438
438
|
value: !1
|
|
439
|
-
}), Object.defineProperty(
|
|
439
|
+
}), Object.defineProperty(b, "_self", {
|
|
440
440
|
configurable: !1,
|
|
441
441
|
enumerable: !1,
|
|
442
442
|
writable: !1,
|
|
443
443
|
value: h
|
|
444
|
-
}), Object.defineProperty(
|
|
444
|
+
}), Object.defineProperty(b, "_source", {
|
|
445
445
|
configurable: !1,
|
|
446
446
|
enumerable: !1,
|
|
447
447
|
writable: !1,
|
|
448
448
|
value: E
|
|
449
|
-
}), Object.freeze && (Object.freeze(
|
|
449
|
+
}), Object.freeze && (Object.freeze(b.props), Object.freeze(b)), b;
|
|
450
450
|
};
|
|
451
|
-
function
|
|
451
|
+
function Gt(e, r, l, h, E) {
|
|
452
452
|
{
|
|
453
|
-
var D, C = {},
|
|
454
|
-
|
|
453
|
+
var D, C = {}, b = null, N = null;
|
|
454
|
+
l !== void 0 && (Ne(l), b = "" + l), A(r) && (Ne(r.key), b = "" + r.key), I(r) && (N = r.ref, H(r, E));
|
|
455
455
|
for (D in r)
|
|
456
456
|
G.call(r, D) && !Ve.hasOwnProperty(D) && (C[D] = r[D]);
|
|
457
457
|
if (e && e.defaultProps) {
|
|
@@ -459,18 +459,18 @@ function Un() {
|
|
|
459
459
|
for (D in P)
|
|
460
460
|
C[D] === void 0 && (C[D] = P[D]);
|
|
461
461
|
}
|
|
462
|
-
if (
|
|
462
|
+
if (b || N) {
|
|
463
463
|
var M = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
464
|
-
|
|
464
|
+
b && Ce(C, M), N && fe(C, M);
|
|
465
465
|
}
|
|
466
|
-
return et(e,
|
|
466
|
+
return et(e, b, N, E, h, de.current, C);
|
|
467
467
|
}
|
|
468
468
|
}
|
|
469
469
|
var tt = F.ReactCurrentOwner, xt = F.ReactDebugCurrentFrame;
|
|
470
470
|
function we(e) {
|
|
471
471
|
if (e) {
|
|
472
|
-
var r = e._owner,
|
|
473
|
-
xt.setExtraStackFrame(
|
|
472
|
+
var r = e._owner, l = re(e.type, e._source, r ? r.type : null);
|
|
473
|
+
xt.setExtraStackFrame(l);
|
|
474
474
|
} else
|
|
475
475
|
xt.setExtraStackFrame(null);
|
|
476
476
|
}
|
|
@@ -491,33 +491,33 @@ Check the render method of \`` + e + "`.";
|
|
|
491
491
|
return "";
|
|
492
492
|
}
|
|
493
493
|
}
|
|
494
|
-
function
|
|
494
|
+
function Ut(e) {
|
|
495
495
|
return "";
|
|
496
496
|
}
|
|
497
|
-
var
|
|
498
|
-
function
|
|
497
|
+
var mt = {};
|
|
498
|
+
function Zt(e) {
|
|
499
499
|
{
|
|
500
500
|
var r = vt();
|
|
501
501
|
if (!r) {
|
|
502
|
-
var
|
|
503
|
-
|
|
502
|
+
var l = typeof e == "string" ? e : e.displayName || e.name;
|
|
503
|
+
l && (r = `
|
|
504
504
|
|
|
505
|
-
Check the top-level render call using <` +
|
|
505
|
+
Check the top-level render call using <` + l + ">.");
|
|
506
506
|
}
|
|
507
507
|
return r;
|
|
508
508
|
}
|
|
509
509
|
}
|
|
510
|
-
function
|
|
510
|
+
function bt(e, r) {
|
|
511
511
|
{
|
|
512
512
|
if (!e._store || e._store.validated || e.key != null)
|
|
513
513
|
return;
|
|
514
514
|
e._store.validated = !0;
|
|
515
|
-
var
|
|
516
|
-
if (
|
|
515
|
+
var l = Zt(r);
|
|
516
|
+
if (mt[l])
|
|
517
517
|
return;
|
|
518
|
-
|
|
518
|
+
mt[l] = !0;
|
|
519
519
|
var h = "";
|
|
520
|
-
e && e._owner && e._owner !== tt.current && (h = " It was passed a child from " + L(e._owner.type) + "."), we(e), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',
|
|
520
|
+
e && e._owner && e._owner !== tt.current && (h = " It was passed a child from " + L(e._owner.type) + "."), we(e), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', l, h), we(null);
|
|
521
521
|
}
|
|
522
522
|
}
|
|
523
523
|
function Ct(e, r) {
|
|
@@ -525,37 +525,37 @@ Check the top-level render call using <` + a + ">.");
|
|
|
525
525
|
if (typeof e != "object")
|
|
526
526
|
return;
|
|
527
527
|
if (De(e))
|
|
528
|
-
for (var
|
|
529
|
-
var h = e[
|
|
530
|
-
rt(h) &&
|
|
528
|
+
for (var l = 0; l < e.length; l++) {
|
|
529
|
+
var h = e[l];
|
|
530
|
+
rt(h) && bt(h, r);
|
|
531
531
|
}
|
|
532
532
|
else if (rt(e))
|
|
533
533
|
e._store && (e._store.validated = !0);
|
|
534
534
|
else if (e) {
|
|
535
|
-
var E =
|
|
535
|
+
var E = m(e);
|
|
536
536
|
if (typeof E == "function" && E !== e.entries)
|
|
537
537
|
for (var D = E.call(e), C; !(C = D.next()).done; )
|
|
538
|
-
rt(C.value) &&
|
|
538
|
+
rt(C.value) && bt(C.value, r);
|
|
539
539
|
}
|
|
540
540
|
}
|
|
541
541
|
}
|
|
542
|
-
function
|
|
542
|
+
function Xt(e) {
|
|
543
543
|
{
|
|
544
544
|
var r = e.type;
|
|
545
545
|
if (r == null || typeof r == "string")
|
|
546
546
|
return;
|
|
547
|
-
var
|
|
547
|
+
var l;
|
|
548
548
|
if (typeof r == "function")
|
|
549
|
-
|
|
549
|
+
l = r.propTypes;
|
|
550
550
|
else if (typeof r == "object" && (r.$$typeof === g || // Note: Memo only checks outer props here.
|
|
551
551
|
// Inner props are checked in the reconciler.
|
|
552
552
|
r.$$typeof === x))
|
|
553
|
-
|
|
553
|
+
l = r.propTypes;
|
|
554
554
|
else
|
|
555
555
|
return;
|
|
556
|
-
if (
|
|
556
|
+
if (l) {
|
|
557
557
|
var h = L(r);
|
|
558
|
-
Te(
|
|
558
|
+
Te(l, e.props, "prop", h, e);
|
|
559
559
|
} else if (r.PropTypes !== void 0 && !nt) {
|
|
560
560
|
nt = !0;
|
|
561
561
|
var E = L(r);
|
|
@@ -566,8 +566,8 @@ Check the top-level render call using <` + a + ">.");
|
|
|
566
566
|
}
|
|
567
567
|
function Kt(e) {
|
|
568
568
|
{
|
|
569
|
-
for (var r = Object.keys(e.props),
|
|
570
|
-
var h = r[
|
|
569
|
+
for (var r = Object.keys(e.props), l = 0; l < r.length; l++) {
|
|
570
|
+
var h = r[l];
|
|
571
571
|
if (h !== "children" && h !== "key") {
|
|
572
572
|
we(e), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", h), we(null);
|
|
573
573
|
break;
|
|
@@ -577,18 +577,18 @@ Check the top-level render call using <` + a + ">.");
|
|
|
577
577
|
}
|
|
578
578
|
}
|
|
579
579
|
var wt = {};
|
|
580
|
-
function jt(e, r,
|
|
580
|
+
function jt(e, r, l, h, E, D) {
|
|
581
581
|
{
|
|
582
|
-
var C =
|
|
582
|
+
var C = le(e);
|
|
583
583
|
if (!C) {
|
|
584
|
-
var
|
|
585
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
586
|
-
var N =
|
|
587
|
-
N ?
|
|
584
|
+
var b = "";
|
|
585
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (b += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
586
|
+
var N = Ut();
|
|
587
|
+
N ? b += N : b += vt();
|
|
588
588
|
var P;
|
|
589
|
-
e === null ? P = "null" : De(e) ? P = "array" : e !== void 0 && e.$$typeof === o ? (P = "<" + (L(e.type) || "Unknown") + " />",
|
|
589
|
+
e === null ? P = "null" : De(e) ? P = "array" : e !== void 0 && e.$$typeof === o ? (P = "<" + (L(e.type) || "Unknown") + " />", b = " Did you accidentally export a JSX literal instead of a component?") : P = typeof e, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", P, b);
|
|
590
590
|
}
|
|
591
|
-
var M =
|
|
591
|
+
var M = Gt(e, r, l, E, D);
|
|
592
592
|
if (M == null)
|
|
593
593
|
return M;
|
|
594
594
|
if (C) {
|
|
@@ -605,64 +605,64 @@ Check the top-level render call using <` + a + ">.");
|
|
|
605
605
|
Ct(U, e);
|
|
606
606
|
}
|
|
607
607
|
if (G.call(r, "key")) {
|
|
608
|
-
var pe = L(e), Y = Object.keys(r).filter(function(
|
|
609
|
-
return
|
|
608
|
+
var pe = L(e), Y = Object.keys(r).filter(function(nn) {
|
|
609
|
+
return nn !== "key";
|
|
610
610
|
}), ot = Y.length > 0 ? "{key: someKey, " + Y.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
611
611
|
if (!wt[pe + ot]) {
|
|
612
|
-
var
|
|
612
|
+
var tn = Y.length > 0 ? "{" + Y.join(": ..., ") + ": ...}" : "{}";
|
|
613
613
|
S(`A props object containing a "key" prop is being spread into JSX:
|
|
614
614
|
let props = %s;
|
|
615
615
|
<%s {...props} />
|
|
616
616
|
React keys must be passed directly to JSX without using spread:
|
|
617
617
|
let props = %s;
|
|
618
|
-
<%s key={someKey} {...props} />`, ot, pe,
|
|
618
|
+
<%s key={someKey} {...props} />`, ot, pe, tn, pe), wt[pe + ot] = !0;
|
|
619
619
|
}
|
|
620
620
|
}
|
|
621
|
-
return e ===
|
|
621
|
+
return e === a ? Kt(M) : Xt(M), M;
|
|
622
622
|
}
|
|
623
623
|
}
|
|
624
|
-
function
|
|
625
|
-
return jt(e, r,
|
|
624
|
+
function Jt(e, r, l) {
|
|
625
|
+
return jt(e, r, l, !0);
|
|
626
626
|
}
|
|
627
|
-
function
|
|
628
|
-
return jt(e, r,
|
|
627
|
+
function Qt(e, r, l) {
|
|
628
|
+
return jt(e, r, l, !1);
|
|
629
629
|
}
|
|
630
|
-
var
|
|
631
|
-
Ae.Fragment =
|
|
630
|
+
var qt = Qt, en = Jt;
|
|
631
|
+
Ae.Fragment = a, Ae.jsx = qt, Ae.jsxs = en;
|
|
632
632
|
}()), Ae;
|
|
633
633
|
}
|
|
634
|
-
process.env.NODE_ENV === "production" ? ut.exports =
|
|
634
|
+
process.env.NODE_ENV === "production" ? ut.exports = Un() : ut.exports = Zn();
|
|
635
635
|
var t = ut.exports;
|
|
636
|
-
const
|
|
636
|
+
const lt = 60, St = 6, Xn = (n) => {
|
|
637
637
|
const {
|
|
638
638
|
activeStepIndex: o,
|
|
639
639
|
hideIndicators: s = !1,
|
|
640
|
-
steps:
|
|
640
|
+
steps: a,
|
|
641
641
|
stepperTheme: c = {
|
|
642
642
|
light: "eggplant.light",
|
|
643
643
|
base: "eggplant.base"
|
|
644
644
|
}
|
|
645
|
-
} = n, { activeStep: u, setActiveStep: p } =
|
|
645
|
+
} = n, { activeStep: u, setActiveStep: p } = rn({
|
|
646
646
|
index: o,
|
|
647
|
-
count:
|
|
647
|
+
count: a.length
|
|
648
648
|
});
|
|
649
649
|
return oe(() => {
|
|
650
650
|
p(o);
|
|
651
651
|
}, [o, p]), /* @__PURE__ */ t.jsx(
|
|
652
652
|
w,
|
|
653
653
|
{ position: "relative", width: "100%", "data-testid": "stepper", children: /* @__PURE__ */ t.jsx(
|
|
654
|
-
|
|
654
|
+
on,
|
|
655
655
|
{
|
|
656
656
|
role: "progressbar",
|
|
657
657
|
index: u,
|
|
658
658
|
width: "100%",
|
|
659
659
|
display: "flex",
|
|
660
660
|
flexWrap: "nowrap",
|
|
661
|
-
children:
|
|
662
|
-
const d = u === g, f = g === 0, x = g ===
|
|
663
|
-
let R = `${
|
|
664
|
-
const y = `calc(100% - ((${
|
|
665
|
-
return d ? R = y : (f || x) && (R = `${
|
|
661
|
+
children: a.map((v, g) => {
|
|
662
|
+
const d = u === g, f = g === 0, x = g === a.length - 1, j = u > g;
|
|
663
|
+
let R = `${lt}px`;
|
|
664
|
+
const y = `calc(100% - ((${lt * (a.length - 1)}px) - (${a.length - 1} * ${St * 2}px)))`;
|
|
665
|
+
return d ? R = y : (f || x) && (R = `${lt - St}px`), /* @__PURE__ */ t.jsx(
|
|
666
666
|
w,
|
|
667
667
|
{
|
|
668
668
|
width: R,
|
|
@@ -697,11 +697,11 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
697
697
|
}
|
|
698
698
|
) }
|
|
699
699
|
);
|
|
700
|
-
},
|
|
700
|
+
}, vr = Pe.memo(Xn), mr = ({
|
|
701
701
|
children: n,
|
|
702
702
|
...o
|
|
703
703
|
}) => /* @__PURE__ */ t.jsx(
|
|
704
|
-
|
|
704
|
+
Tn,
|
|
705
705
|
{ color: "tints.uiGrey", fontSize: ["md", null, null, "lg"], ...o, children: n }
|
|
706
706
|
), Ee = (n, o) => {
|
|
707
707
|
const s = (n == null ? void 0 : n.startsWith("http")) || (n == null ? void 0 : n.startsWith("mailto"));
|
|
@@ -710,17 +710,17 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
710
710
|
} : {
|
|
711
711
|
href: n
|
|
712
712
|
};
|
|
713
|
-
}, Ge =
|
|
713
|
+
}, Ge = zt(
|
|
714
714
|
(n, o) => {
|
|
715
715
|
const {
|
|
716
716
|
label: s,
|
|
717
|
-
additionalContent:
|
|
717
|
+
additionalContent: a,
|
|
718
718
|
mainTextFontSize: c,
|
|
719
719
|
linkComponent: u,
|
|
720
720
|
href: p,
|
|
721
721
|
forceMobileStyle: v = !1,
|
|
722
722
|
...g
|
|
723
|
-
} = n, d = u ||
|
|
723
|
+
} = n, d = u || X, f = Ee(p, !!u), x = v ? c || "xl" : [c || "xl", null, null, "lg"], j = v ? "xl" : ["xl", null, null, "lg"], R = v ? void 0 : [null, null, null, 1], y = v ? void 0 : [null, null, null, "space-between"], _ = v ? "3" : [3, null, null, 0], m = v ? "1px" : ["1px", null, null, "unset"], F = v ? "tints.cream" : ["tints.cream", null, null, "unset"], S = v ? "100%" : ["100%", null, null, "fit-content"], W = v ? "none" : ["none", null, null, "block"], $ = v ? "100%" : ["100%", null, null, "auto"], B = v ? "block" : ["block", null, null, "none"];
|
|
724
724
|
return /* @__PURE__ */ t.jsxs(
|
|
725
725
|
w,
|
|
726
726
|
{
|
|
@@ -733,7 +733,7 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
733
733
|
paddingY: _,
|
|
734
734
|
color: "tints.black",
|
|
735
735
|
_hover: { color: "viridian.base", textDecoration: "none" },
|
|
736
|
-
borderBottom:
|
|
736
|
+
borderBottom: m,
|
|
737
737
|
borderColor: F,
|
|
738
738
|
width: S,
|
|
739
739
|
cursor: "pointer",
|
|
@@ -763,7 +763,7 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
763
763
|
children: s
|
|
764
764
|
}
|
|
765
765
|
),
|
|
766
|
-
|
|
766
|
+
a && (typeof a == "string" ? /* @__PURE__ */ t.jsx(
|
|
767
767
|
z,
|
|
768
768
|
{
|
|
769
769
|
fontSize: j,
|
|
@@ -774,9 +774,9 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
774
774
|
color: "viridian.base"
|
|
775
775
|
}
|
|
776
776
|
},
|
|
777
|
-
children:
|
|
777
|
+
children: a
|
|
778
778
|
}
|
|
779
|
-
) :
|
|
779
|
+
) : a),
|
|
780
780
|
/* @__PURE__ */ t.jsx(
|
|
781
781
|
ee,
|
|
782
782
|
{
|
|
@@ -795,9 +795,9 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
795
795
|
}
|
|
796
796
|
);
|
|
797
797
|
}
|
|
798
|
-
), Ue =
|
|
798
|
+
), Ue = zt(
|
|
799
799
|
(n, o) => {
|
|
800
|
-
const { children: s, isSelected:
|
|
800
|
+
const { children: s, isSelected: a, ...c } = n, u = n.backgroundColor || (a ? "tints.lightCream" : "transparent");
|
|
801
801
|
return /* @__PURE__ */ t.jsx(
|
|
802
802
|
ht,
|
|
803
803
|
{
|
|
@@ -834,7 +834,7 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
834
834
|
title: n,
|
|
835
835
|
description: o,
|
|
836
836
|
imageSrc: s,
|
|
837
|
-
imageElement:
|
|
837
|
+
imageElement: a,
|
|
838
838
|
button: c,
|
|
839
839
|
backgroundColor: u = "viridian.wash",
|
|
840
840
|
onClick: p,
|
|
@@ -842,7 +842,7 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
842
842
|
linkComponent: g,
|
|
843
843
|
forceMobileStyle: d = !1
|
|
844
844
|
}) => {
|
|
845
|
-
const R = g ||
|
|
845
|
+
const R = g || X, y = Ee(v, !!g), _ = ye({
|
|
846
846
|
base: !1,
|
|
847
847
|
tablet: !1,
|
|
848
848
|
largeTablet: !1,
|
|
@@ -886,7 +886,7 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
886
886
|
}
|
|
887
887
|
},
|
|
888
888
|
children: s ? /* @__PURE__ */ t.jsx(
|
|
889
|
-
|
|
889
|
+
ln,
|
|
890
890
|
{
|
|
891
891
|
src: s,
|
|
892
892
|
objectFit: "cover",
|
|
@@ -900,7 +900,7 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
900
900
|
height: d ? 80 : [80, null, null, 188],
|
|
901
901
|
overflow: "hidden",
|
|
902
902
|
...d ? { sx: { div: { height: "100%" } } } : {},
|
|
903
|
-
children:
|
|
903
|
+
children: a
|
|
904
904
|
}
|
|
905
905
|
)
|
|
906
906
|
}
|
|
@@ -946,7 +946,7 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
946
946
|
}
|
|
947
947
|
);
|
|
948
948
|
}, he = (n) => /* @__PURE__ */ t.jsx(
|
|
949
|
-
|
|
949
|
+
an,
|
|
950
950
|
{
|
|
951
951
|
size: "sm",
|
|
952
952
|
width: ["40px", null, null, "46px"],
|
|
@@ -966,11 +966,11 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
966
966
|
},
|
|
967
967
|
...n
|
|
968
968
|
}
|
|
969
|
-
),
|
|
970
|
-
color: n =
|
|
969
|
+
), Yt = ({
|
|
970
|
+
color: n = K.colors.viridian.base,
|
|
971
971
|
width: o
|
|
972
972
|
}) => /* @__PURE__ */ t.jsx(
|
|
973
|
-
|
|
973
|
+
Dn,
|
|
974
974
|
{
|
|
975
975
|
as: "svg",
|
|
976
976
|
width: o,
|
|
@@ -1030,11 +1030,33 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
1030
1030
|
)
|
|
1031
1031
|
]
|
|
1032
1032
|
}
|
|
1033
|
-
),
|
|
1033
|
+
), Dt = {
|
|
1034
|
+
"&::before": {
|
|
1035
|
+
content: '""',
|
|
1036
|
+
position: "absolute",
|
|
1037
|
+
top: 0,
|
|
1038
|
+
left: "-100%",
|
|
1039
|
+
width: "100%",
|
|
1040
|
+
height: "100%",
|
|
1041
|
+
background: "linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent)",
|
|
1042
|
+
animation: "shimmer 5s infinite"
|
|
1043
|
+
},
|
|
1044
|
+
"@keyframes shimmer": {
|
|
1045
|
+
"0%": {
|
|
1046
|
+
left: "-100%"
|
|
1047
|
+
},
|
|
1048
|
+
"100%": {
|
|
1049
|
+
left: "100%"
|
|
1050
|
+
}
|
|
1051
|
+
},
|
|
1052
|
+
"&:hover::before": {
|
|
1053
|
+
animation: "shimmer 5s infinite"
|
|
1054
|
+
}
|
|
1055
|
+
}, Jn = ({
|
|
1034
1056
|
desktopTopButtons: n,
|
|
1035
1057
|
kitRegistrationElement: o,
|
|
1036
1058
|
profileElement: s,
|
|
1037
|
-
cartElement:
|
|
1059
|
+
cartElement: a,
|
|
1038
1060
|
onSearchClick: c,
|
|
1039
1061
|
onMenuClick: u,
|
|
1040
1062
|
hasSearch: p = !1,
|
|
@@ -1045,15 +1067,15 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
1045
1067
|
linkComponent: x,
|
|
1046
1068
|
onLogoClick: j
|
|
1047
1069
|
}) => {
|
|
1048
|
-
const R =
|
|
1070
|
+
const R = Sn(null), [y] = ct(`(max-width: ${K.breakpoints.mediumTablet})`), [_] = ct(`(max-width: ${K.breakpoints.mediumDesktop})`), m = Wt(() => {
|
|
1049
1071
|
if (R.current) {
|
|
1050
1072
|
const F = R.current.getBoundingClientRect();
|
|
1051
1073
|
f(F.bottom);
|
|
1052
1074
|
}
|
|
1053
1075
|
}, []);
|
|
1054
1076
|
return oe(() => {
|
|
1055
|
-
|
|
1056
|
-
}, [
|
|
1077
|
+
m();
|
|
1078
|
+
}, [m]), /* @__PURE__ */ t.jsx(
|
|
1057
1079
|
w,
|
|
1058
1080
|
{
|
|
1059
1081
|
ref: R,
|
|
@@ -1063,7 +1085,7 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
1063
1085
|
borderColor: "tints.lightCream",
|
|
1064
1086
|
backgroundColor: "tints.white",
|
|
1065
1087
|
width: "100%",
|
|
1066
|
-
onMouseEnter:
|
|
1088
|
+
onMouseEnter: m,
|
|
1067
1089
|
children: /* @__PURE__ */ t.jsxs(
|
|
1068
1090
|
k,
|
|
1069
1091
|
{ justifyContent: "space-between", alignItems: "center", children: [
|
|
@@ -1075,9 +1097,9 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
1075
1097
|
{
|
|
1076
1098
|
"aria-label": "Go to homepage",
|
|
1077
1099
|
onClick: j,
|
|
1078
|
-
as: x ||
|
|
1100
|
+
as: x || X,
|
|
1079
1101
|
...Ee(d, !!x),
|
|
1080
|
-
children: /* @__PURE__ */ t.jsx(
|
|
1102
|
+
children: /* @__PURE__ */ t.jsx(Yt, { width: "116px" })
|
|
1081
1103
|
}
|
|
1082
1104
|
),
|
|
1083
1105
|
/* @__PURE__ */ t.jsx(
|
|
@@ -1104,12 +1126,16 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
1104
1126
|
_hover: {
|
|
1105
1127
|
backgroundColor: "eggplant.wash",
|
|
1106
1128
|
filter: "brightness(0.95)"
|
|
1107
|
-
}
|
|
1129
|
+
},
|
|
1130
|
+
position: "relative",
|
|
1131
|
+
overflow: "hidden",
|
|
1132
|
+
sx: Dt
|
|
1108
1133
|
}
|
|
1109
1134
|
) : /* @__PURE__ */ t.jsxs(
|
|
1110
1135
|
ht,
|
|
1111
1136
|
{
|
|
1112
1137
|
height: "48px",
|
|
1138
|
+
paddingX: "16px !important",
|
|
1113
1139
|
fontSize: "lg",
|
|
1114
1140
|
color: "eggplant.base",
|
|
1115
1141
|
backgroundColor: "eggplant.wash",
|
|
@@ -1120,6 +1146,9 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
1120
1146
|
fill: "eggplant.base",
|
|
1121
1147
|
gap: 2,
|
|
1122
1148
|
onClick: v,
|
|
1149
|
+
position: "relative",
|
|
1150
|
+
overflow: "hidden",
|
|
1151
|
+
sx: Dt,
|
|
1123
1152
|
children: [
|
|
1124
1153
|
/* @__PURE__ */ t.jsx(Tt, {}),
|
|
1125
1154
|
/* @__PURE__ */ t.jsx("span", { children: "Ask or Search" })
|
|
@@ -1129,7 +1158,7 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
1129
1158
|
he,
|
|
1130
1159
|
{
|
|
1131
1160
|
"aria-label": "Search",
|
|
1132
|
-
icon: /* @__PURE__ */ t.jsx(ee, { as:
|
|
1161
|
+
icon: /* @__PURE__ */ t.jsx(ee, { as: Nt }),
|
|
1133
1162
|
onClick: c,
|
|
1134
1163
|
backgroundColor: "tints.cream",
|
|
1135
1164
|
color: "tints.black",
|
|
@@ -1139,13 +1168,13 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
1139
1168
|
}
|
|
1140
1169
|
}
|
|
1141
1170
|
) : null,
|
|
1142
|
-
|
|
1171
|
+
a,
|
|
1143
1172
|
/* @__PURE__ */ t.jsx(
|
|
1144
1173
|
w,
|
|
1145
1174
|
{ display: ["flex", null, null, "flex", "flex", "flex", "none"], children: /* @__PURE__ */ t.jsx(
|
|
1146
1175
|
he,
|
|
1147
1176
|
{
|
|
1148
|
-
icon: /* @__PURE__ */ t.jsx(
|
|
1177
|
+
icon: /* @__PURE__ */ t.jsx(Pn, {}),
|
|
1149
1178
|
"aria-label": "menu",
|
|
1150
1179
|
"data-testid": "menu-button",
|
|
1151
1180
|
onClick: u
|
|
@@ -1162,13 +1191,13 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
1162
1191
|
)
|
|
1163
1192
|
}
|
|
1164
1193
|
);
|
|
1165
|
-
},
|
|
1194
|
+
}, Qn = ({
|
|
1166
1195
|
count: n = 0,
|
|
1167
1196
|
...o
|
|
1168
1197
|
}) => /* @__PURE__ */ t.jsxs(
|
|
1169
1198
|
w,
|
|
1170
1199
|
{ position: "relative", display: "inline-block", children: [
|
|
1171
|
-
/* @__PURE__ */ t.jsx(he, { icon: /* @__PURE__ */ t.jsx(
|
|
1200
|
+
/* @__PURE__ */ t.jsx(he, { icon: /* @__PURE__ */ t.jsx($n, {}), ...o }),
|
|
1172
1201
|
n > 0 && /* @__PURE__ */ t.jsx(
|
|
1173
1202
|
w,
|
|
1174
1203
|
{
|
|
@@ -1195,7 +1224,7 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
1195
1224
|
numDesktopLinks: n = 5,
|
|
1196
1225
|
showPromoButton: o = !1
|
|
1197
1226
|
}) => /* @__PURE__ */ t.jsx(
|
|
1198
|
-
|
|
1227
|
+
sn,
|
|
1199
1228
|
{ spacing: 0, align: "stretch", children: /* @__PURE__ */ t.jsx(
|
|
1200
1229
|
w,
|
|
1201
1230
|
{
|
|
@@ -1206,7 +1235,7 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
1206
1235
|
children: /* @__PURE__ */ t.jsxs(
|
|
1207
1236
|
k,
|
|
1208
1237
|
{ justify: "space-between", align: "center", children: [
|
|
1209
|
-
/* @__PURE__ */ t.jsx(
|
|
1238
|
+
/* @__PURE__ */ t.jsx(it, { w: "120px", h: "48px" }),
|
|
1210
1239
|
/* @__PURE__ */ t.jsxs(
|
|
1211
1240
|
yt,
|
|
1212
1241
|
{
|
|
@@ -1216,9 +1245,9 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
1216
1245
|
"data-testid": "desktop-nav",
|
|
1217
1246
|
children: [
|
|
1218
1247
|
Array.from({ length: n }).map(
|
|
1219
|
-
(s,
|
|
1248
|
+
(s, a) => /* @__PURE__ */ t.jsx(it, { width: "90px", height: "48px" }, a)
|
|
1220
1249
|
),
|
|
1221
|
-
o && /* @__PURE__ */ t.jsx(
|
|
1250
|
+
o && /* @__PURE__ */ t.jsx(it, { width: "110px", height: "48px", borderRadius: "full" })
|
|
1222
1251
|
]
|
|
1223
1252
|
}
|
|
1224
1253
|
),
|
|
@@ -1247,24 +1276,24 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
1247
1276
|
)
|
|
1248
1277
|
}
|
|
1249
1278
|
) }
|
|
1250
|
-
),
|
|
1279
|
+
), qn = (n, o) => {
|
|
1251
1280
|
let s;
|
|
1252
|
-
return (...
|
|
1281
|
+
return (...a) => {
|
|
1253
1282
|
s && clearTimeout(s), s = setTimeout(() => {
|
|
1254
|
-
n(...
|
|
1283
|
+
n(...a);
|
|
1255
1284
|
}, o);
|
|
1256
1285
|
};
|
|
1257
|
-
},
|
|
1286
|
+
}, at = (n) => n.toLowerCase().replace(/['']/g, "").replace(/[^a-z0-9]/g, ""), er = (n, o) => {
|
|
1258
1287
|
n.length < o.length && ([n, o] = [o, n]);
|
|
1259
|
-
let s = Array(o.length + 1).fill(0),
|
|
1288
|
+
let s = Array(o.length + 1).fill(0), a = Array(o.length + 1).fill(0);
|
|
1260
1289
|
for (let c = 0; c <= o.length; c++)
|
|
1261
1290
|
s[c] = c;
|
|
1262
1291
|
for (let c = 1; c <= n.length; c++) {
|
|
1263
|
-
|
|
1292
|
+
a[0] = c;
|
|
1264
1293
|
for (let u = 1; u <= o.length; u++) {
|
|
1265
1294
|
const p = n[c - 1] === o[u - 1] ? 0 : 1;
|
|
1266
|
-
|
|
1267
|
-
|
|
1295
|
+
a[u] = Math.min(
|
|
1296
|
+
a[u - 1] + 1,
|
|
1268
1297
|
// Insertion
|
|
1269
1298
|
s[u] + 1,
|
|
1270
1299
|
// Deletion
|
|
@@ -1272,28 +1301,28 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
1272
1301
|
// Substitution
|
|
1273
1302
|
);
|
|
1274
1303
|
}
|
|
1275
|
-
[s,
|
|
1304
|
+
[s, a] = [a, s];
|
|
1276
1305
|
}
|
|
1277
1306
|
return s[o.length];
|
|
1278
1307
|
}, Ze = (n, o, s = 0.6) => {
|
|
1279
1308
|
if (n.length <= 3 || o.length <= 3)
|
|
1280
1309
|
return n.includes(o) || o.includes(n);
|
|
1281
|
-
const
|
|
1282
|
-
return 1 -
|
|
1283
|
-
},
|
|
1310
|
+
const a = er(n, o), c = Math.max(n.length, o.length);
|
|
1311
|
+
return 1 - a / c >= s;
|
|
1312
|
+
}, It = (n, o) => {
|
|
1284
1313
|
const s = n.split(/\s+/);
|
|
1285
|
-
return o.length <= 4 ? s.some((
|
|
1286
|
-
if (Ze(
|
|
1314
|
+
return o.length <= 4 ? s.some((a) => a.includes(o)) : s.some((a) => {
|
|
1315
|
+
if (Ze(a, o))
|
|
1287
1316
|
return !0;
|
|
1288
|
-
if (
|
|
1289
|
-
for (let c = 0; c <=
|
|
1290
|
-
const u =
|
|
1317
|
+
if (a.length >= o.length)
|
|
1318
|
+
for (let c = 0; c <= a.length - o.length; c++) {
|
|
1319
|
+
const u = a.slice(c, c + o.length + 1);
|
|
1291
1320
|
if (Ze(o, u))
|
|
1292
1321
|
return !0;
|
|
1293
1322
|
}
|
|
1294
1323
|
return !1;
|
|
1295
1324
|
});
|
|
1296
|
-
}, dt = "nav-drawer-hover", ft = "nav-drawer-animation-start", pt = "nav-drawer-animation-end",
|
|
1325
|
+
}, dt = "nav-drawer-hover", ft = "nav-drawer-animation-start", pt = "nav-drawer-animation-end", Lt = (n) => {
|
|
1297
1326
|
window.dispatchEvent(
|
|
1298
1327
|
new CustomEvent(dt, {
|
|
1299
1328
|
detail: { isHovering: n },
|
|
@@ -1301,18 +1330,18 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
1301
1330
|
cancelable: !0
|
|
1302
1331
|
})
|
|
1303
1332
|
);
|
|
1304
|
-
},
|
|
1333
|
+
}, Ot = (n) => {
|
|
1305
1334
|
window.dispatchEvent(
|
|
1306
1335
|
new CustomEvent(n, {
|
|
1307
1336
|
bubbles: !0,
|
|
1308
1337
|
cancelable: !0
|
|
1309
1338
|
})
|
|
1310
1339
|
);
|
|
1311
|
-
},
|
|
1340
|
+
}, tr = (n = !1, o = !1, s = !1) => n || !o ? "column" : s ? "row" : "row-reverse", nr = gt($t), rr = gt(Mt), st = ({
|
|
1312
1341
|
isOpen: n = !1,
|
|
1313
1342
|
onClose: o,
|
|
1314
1343
|
title: s,
|
|
1315
|
-
navDrawerLinks:
|
|
1344
|
+
navDrawerLinks: a,
|
|
1316
1345
|
bottomNavButtons: c,
|
|
1317
1346
|
spotlightCards: u,
|
|
1318
1347
|
bottomButton: p,
|
|
@@ -1324,7 +1353,7 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
1324
1353
|
topOffset: j,
|
|
1325
1354
|
forceMobilePlacement: R = !1
|
|
1326
1355
|
}) => {
|
|
1327
|
-
var V,
|
|
1356
|
+
var V, ie, le, ne, T, L;
|
|
1328
1357
|
const y = ye({
|
|
1329
1358
|
base: !1,
|
|
1330
1359
|
tablet: !1,
|
|
@@ -1332,42 +1361,42 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
1332
1361
|
mediumDesktop: !0,
|
|
1333
1362
|
desktop: !0,
|
|
1334
1363
|
fullDesktop: !0
|
|
1335
|
-
}) ?? !1, _ = R ? "right" : y ? "top" : "right",
|
|
1364
|
+
}) ?? !1, _ = R ? "right" : y ? "top" : "right", m = _ === "right", [F, S] = Z(0), [W, $] = Z(!1), B = () => {
|
|
1336
1365
|
S((O) => O + 1);
|
|
1337
|
-
}, J =
|
|
1338
|
-
|
|
1366
|
+
}, J = Wt(
|
|
1367
|
+
qn((O) => {
|
|
1339
1368
|
x(O), B();
|
|
1340
1369
|
}, 100),
|
|
1341
1370
|
[]
|
|
1342
1371
|
);
|
|
1343
1372
|
oe(() => {
|
|
1344
|
-
n && ($(!0),
|
|
1373
|
+
n && ($(!0), Ot(ft));
|
|
1345
1374
|
}, [n]);
|
|
1346
1375
|
const te = () => {
|
|
1347
|
-
n || ($(!1), o()),
|
|
1376
|
+
n || ($(!1), o()), Ot(pt);
|
|
1348
1377
|
};
|
|
1349
1378
|
return /* @__PURE__ */ t.jsx(
|
|
1350
|
-
|
|
1379
|
+
Ht,
|
|
1351
1380
|
{
|
|
1352
1381
|
isOpen: W || n,
|
|
1353
1382
|
closeOnOverlayClick: !0,
|
|
1354
1383
|
onClose: () => {
|
|
1355
|
-
W && !
|
|
1384
|
+
W && !m || o();
|
|
1356
1385
|
},
|
|
1357
1386
|
placement: _,
|
|
1358
1387
|
blockScrollOnMount: !1,
|
|
1359
1388
|
autoFocus: !1,
|
|
1360
|
-
...
|
|
1389
|
+
...m ? {
|
|
1361
1390
|
styleConfig: {
|
|
1362
1391
|
baseStyle: {
|
|
1363
|
-
...
|
|
1392
|
+
...K.components.Drawer.baseStyle,
|
|
1364
1393
|
dialogContainer: {
|
|
1365
|
-
...(
|
|
1394
|
+
...(ie = (V = K.components.Drawer) == null ? void 0 : V.baseStyle) == null ? void 0 : ie.dialogContainer,
|
|
1366
1395
|
// Higher z-index for drawer content to be above overlay and navigation
|
|
1367
1396
|
zIndex: "popover"
|
|
1368
1397
|
},
|
|
1369
1398
|
dialog: {
|
|
1370
|
-
...(ne = (
|
|
1399
|
+
...(ne = (le = K.components.Drawer) == null ? void 0 : le.baseStyle) == null ? void 0 : ne.dialog,
|
|
1371
1400
|
// Ensure mobile drawer doesn't expand to full width
|
|
1372
1401
|
maxW: "560px",
|
|
1373
1402
|
width: "auto"
|
|
@@ -1377,9 +1406,9 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
1377
1406
|
} : {
|
|
1378
1407
|
styleConfig: {
|
|
1379
1408
|
baseStyle: {
|
|
1380
|
-
...
|
|
1409
|
+
...K.components.Drawer.baseStyle,
|
|
1381
1410
|
dialogContainer: {
|
|
1382
|
-
...(L = (T =
|
|
1411
|
+
...(L = (T = K.components.Drawer) == null ? void 0 : T.baseStyle) == null ? void 0 : L.dialogContainer,
|
|
1383
1412
|
// Push the drawer down by the top offset on desktop to not cover the top navigation
|
|
1384
1413
|
top: `${j}px`,
|
|
1385
1414
|
// Lower index on desktop to make sure the drawer is below the top navigation
|
|
@@ -1389,18 +1418,18 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
1389
1418
|
}
|
|
1390
1419
|
},
|
|
1391
1420
|
children: /* @__PURE__ */ t.jsx(
|
|
1392
|
-
|
|
1421
|
+
Gn,
|
|
1393
1422
|
{ children: n ? /* @__PURE__ */ t.jsxs(
|
|
1394
1423
|
t.Fragment,
|
|
1395
1424
|
{ children: [
|
|
1396
1425
|
/* @__PURE__ */ t.jsx(
|
|
1397
|
-
|
|
1426
|
+
rr,
|
|
1398
1427
|
{
|
|
1399
1428
|
backgroundColor: "tints.black",
|
|
1400
|
-
top:
|
|
1401
|
-
opacity:
|
|
1402
|
-
zIndex:
|
|
1403
|
-
...
|
|
1429
|
+
top: m ? "0" : `${j}px`,
|
|
1430
|
+
opacity: m ? "0.4 !important" : void 0,
|
|
1431
|
+
zIndex: m ? "modal" : "overlay",
|
|
1432
|
+
...m ? {} : {
|
|
1404
1433
|
initial: { opacity: 0 },
|
|
1405
1434
|
animate: { opacity: 0.4 },
|
|
1406
1435
|
exit: { opacity: 0 },
|
|
@@ -1413,28 +1442,28 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
1413
1442
|
}
|
|
1414
1443
|
),
|
|
1415
1444
|
/* @__PURE__ */ t.jsxs(
|
|
1416
|
-
|
|
1445
|
+
nr,
|
|
1417
1446
|
{
|
|
1418
1447
|
onClick: (O) => {
|
|
1419
|
-
const
|
|
1420
|
-
|
|
1448
|
+
const ae = O.target.closest("a");
|
|
1449
|
+
ae && ae.href === window.location.href && o();
|
|
1421
1450
|
},
|
|
1422
1451
|
onMouseEnter: () => {
|
|
1423
|
-
|
|
1452
|
+
m || Lt(!0);
|
|
1424
1453
|
},
|
|
1425
1454
|
onMouseLeave: (O) => {
|
|
1426
|
-
|
|
1455
|
+
m || (!f || f && (O.target === O.currentTarget || !O.currentTarget.contains(O.target) && !W)) && Lt(!1);
|
|
1427
1456
|
},
|
|
1428
1457
|
paddingTop: "4",
|
|
1429
|
-
paddingX:
|
|
1458
|
+
paddingX: m ? "4" : "12",
|
|
1430
1459
|
paddingBottom: "24",
|
|
1431
|
-
overflow:
|
|
1460
|
+
overflow: m ? "auto" : "hidden",
|
|
1432
1461
|
maxHeight: "100vh",
|
|
1433
1462
|
position: "relative",
|
|
1434
|
-
top:
|
|
1463
|
+
top: m ? void 0 : `${j}px !important`,
|
|
1435
1464
|
onAnimationComplete: te,
|
|
1436
1465
|
boxShadow: "none",
|
|
1437
|
-
...
|
|
1466
|
+
...m ? {
|
|
1438
1467
|
// Mobile drawers should use slide animation, not height expansion
|
|
1439
1468
|
initial: !1,
|
|
1440
1469
|
animate: !1,
|
|
@@ -1446,14 +1475,14 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
1446
1475
|
transition: { duration: 0.3 }
|
|
1447
1476
|
},
|
|
1448
1477
|
children: [
|
|
1449
|
-
!f && !
|
|
1450
|
-
|
|
1478
|
+
!f && !m ? null : /* @__PURE__ */ t.jsxs(
|
|
1479
|
+
Ft,
|
|
1451
1480
|
{
|
|
1452
1481
|
padding: "0",
|
|
1453
1482
|
flexDirection: f ? "column" : "row",
|
|
1454
1483
|
gap: f ? "4" : "0",
|
|
1455
1484
|
children: [
|
|
1456
|
-
|
|
1485
|
+
m ? /* @__PURE__ */ t.jsxs(
|
|
1457
1486
|
k,
|
|
1458
1487
|
{
|
|
1459
1488
|
width: "100%",
|
|
@@ -1463,7 +1492,7 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
1463
1492
|
v ? /* @__PURE__ */ t.jsx(
|
|
1464
1493
|
he,
|
|
1465
1494
|
{
|
|
1466
|
-
icon: /* @__PURE__ */ t.jsx(
|
|
1495
|
+
icon: /* @__PURE__ */ t.jsx(Mn, {}),
|
|
1467
1496
|
onClick: () => {
|
|
1468
1497
|
g && g();
|
|
1469
1498
|
},
|
|
@@ -1481,7 +1510,7 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
1481
1510
|
/* @__PURE__ */ t.jsx(
|
|
1482
1511
|
he,
|
|
1483
1512
|
{
|
|
1484
|
-
icon: /* @__PURE__ */ t.jsx(
|
|
1513
|
+
icon: /* @__PURE__ */ t.jsx(Vt, {}),
|
|
1485
1514
|
onClick: o,
|
|
1486
1515
|
"aria-label": "Close"
|
|
1487
1516
|
}
|
|
@@ -1490,10 +1519,10 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
1490
1519
|
}
|
|
1491
1520
|
) : null,
|
|
1492
1521
|
f && /* @__PURE__ */ t.jsxs(
|
|
1493
|
-
|
|
1522
|
+
In,
|
|
1494
1523
|
{ width: "100%", children: [
|
|
1495
1524
|
/* @__PURE__ */ t.jsx(
|
|
1496
|
-
|
|
1525
|
+
Ln,
|
|
1497
1526
|
{
|
|
1498
1527
|
onChange: (O) => {
|
|
1499
1528
|
J(O.target.value);
|
|
@@ -1505,8 +1534,8 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
1505
1534
|
}
|
|
1506
1535
|
),
|
|
1507
1536
|
/* @__PURE__ */ t.jsx(
|
|
1508
|
-
|
|
1509
|
-
{ pointerEvents: "none", children: /* @__PURE__ */ t.jsx(
|
|
1537
|
+
On,
|
|
1538
|
+
{ pointerEvents: "none", children: /* @__PURE__ */ t.jsx(An, { as: Nt, color: "gray.500" }) }
|
|
1510
1539
|
)
|
|
1511
1540
|
] }
|
|
1512
1541
|
)
|
|
@@ -1514,15 +1543,15 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
1514
1543
|
}
|
|
1515
1544
|
),
|
|
1516
1545
|
/* @__PURE__ */ t.jsx(
|
|
1517
|
-
|
|
1546
|
+
Bt,
|
|
1518
1547
|
{
|
|
1519
1548
|
paddingX: "0",
|
|
1520
|
-
paddingBottom:
|
|
1549
|
+
paddingBottom: m ? "6" : "4",
|
|
1521
1550
|
"data-testid": `navbar-drawer-body-${s.toLowerCase()}`,
|
|
1522
1551
|
children: /* @__PURE__ */ t.jsxs(
|
|
1523
1552
|
gt.div,
|
|
1524
1553
|
{
|
|
1525
|
-
...
|
|
1554
|
+
...m ? {} : {
|
|
1526
1555
|
initial: { opacity: 0, y: -5 },
|
|
1527
1556
|
animate: { opacity: 1, y: 0 },
|
|
1528
1557
|
exit: { opacity: 0, y: -5 },
|
|
@@ -1539,9 +1568,9 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
1539
1568
|
},
|
|
1540
1569
|
style: {
|
|
1541
1570
|
display: "flex",
|
|
1542
|
-
flexDirection:
|
|
1571
|
+
flexDirection: tr(
|
|
1543
1572
|
d,
|
|
1544
|
-
!
|
|
1573
|
+
!m,
|
|
1545
1574
|
f
|
|
1546
1575
|
),
|
|
1547
1576
|
gap: "24px",
|
|
@@ -1551,12 +1580,12 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
1551
1580
|
u ? /* @__PURE__ */ t.jsx(
|
|
1552
1581
|
w,
|
|
1553
1582
|
{
|
|
1554
|
-
gap:
|
|
1583
|
+
gap: m ? "3" : "6",
|
|
1555
1584
|
display: "flex",
|
|
1556
|
-
justifyContent:
|
|
1585
|
+
justifyContent: m ? void 0 : "center",
|
|
1557
1586
|
sx: {
|
|
1558
1587
|
flexWrap: "wrap",
|
|
1559
|
-
flexDirection:
|
|
1588
|
+
flexDirection: m ? "column" : "row"
|
|
1560
1589
|
},
|
|
1561
1590
|
children: u
|
|
1562
1591
|
}
|
|
@@ -1564,20 +1593,20 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
1564
1593
|
/* @__PURE__ */ t.jsxs(
|
|
1565
1594
|
k,
|
|
1566
1595
|
{
|
|
1567
|
-
position:
|
|
1596
|
+
position: m ? void 0 : "relative",
|
|
1568
1597
|
flexDirection: "column",
|
|
1569
1598
|
gap: "6",
|
|
1570
|
-
width:
|
|
1599
|
+
width: m ? "100%" : f ? void 0 : "auto",
|
|
1571
1600
|
children: [
|
|
1572
|
-
|
|
1573
|
-
c &&
|
|
1601
|
+
a ? /* @__PURE__ */ t.jsx(w, { children: a }) : null,
|
|
1602
|
+
c && m ? /* @__PURE__ */ t.jsx(w, { children: c }) : null,
|
|
1574
1603
|
p ? /* @__PURE__ */ t.jsx(
|
|
1575
1604
|
w,
|
|
1576
1605
|
{
|
|
1577
1606
|
width: "100%",
|
|
1578
|
-
position:
|
|
1579
|
-
bottom:
|
|
1580
|
-
...
|
|
1607
|
+
position: m ? void 0 : "absolute",
|
|
1608
|
+
bottom: m ? void 0 : 0,
|
|
1609
|
+
...m ? { sx: { a: { width: "100%" } } } : {},
|
|
1581
1610
|
children: p
|
|
1582
1611
|
}
|
|
1583
1612
|
) : null
|
|
@@ -1598,20 +1627,20 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
1598
1627
|
)
|
|
1599
1628
|
}
|
|
1600
1629
|
);
|
|
1601
|
-
},
|
|
1630
|
+
}, or = ({
|
|
1602
1631
|
source: n,
|
|
1603
1632
|
onSearchCallback: o,
|
|
1604
1633
|
isActive: s
|
|
1605
1634
|
}) => {
|
|
1606
|
-
const [
|
|
1635
|
+
const [a, c] = Z(""), [u, p] = Z([]), v = (f, x) => {
|
|
1607
1636
|
if (!f) return [];
|
|
1608
|
-
const R =
|
|
1637
|
+
const R = at(f).split(/\s+/);
|
|
1609
1638
|
return x.filter((y) => {
|
|
1610
|
-
const _ =
|
|
1611
|
-
if (R.some(($) =>
|
|
1639
|
+
const _ = at(y.label);
|
|
1640
|
+
if (R.some(($) => It(_, $))) return !0;
|
|
1612
1641
|
const F = _.split(/\s+/), S = R.some(($) => F.some((B) => B.includes($) || Ze($, B))), W = typeof y.additionalContent == "string" && R.some(($) => {
|
|
1613
|
-
const B =
|
|
1614
|
-
return
|
|
1642
|
+
const B = at(y.additionalContent);
|
|
1643
|
+
return It(B, $) || B.split(/\s+/).some((J) => J.includes($) || Ze($, J));
|
|
1615
1644
|
});
|
|
1616
1645
|
return S || W;
|
|
1617
1646
|
}).sort((y, _) => y.label.localeCompare(_.label));
|
|
@@ -1628,26 +1657,26 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
1628
1657
|
return oe(() => {
|
|
1629
1658
|
s || (c(""), p([]));
|
|
1630
1659
|
}, [s]), {
|
|
1631
|
-
query:
|
|
1660
|
+
query: a,
|
|
1632
1661
|
results: u,
|
|
1633
1662
|
handleClose: d,
|
|
1634
1663
|
handleSearch: g
|
|
1635
1664
|
};
|
|
1636
|
-
},
|
|
1665
|
+
}, ir = (n) => {
|
|
1637
1666
|
const o = /* @__PURE__ */ new Set();
|
|
1638
|
-
return n.reduce((s,
|
|
1667
|
+
return n.reduce((s, a) => {
|
|
1639
1668
|
var u;
|
|
1640
|
-
const c = ((u =
|
|
1669
|
+
const c = ((u = a.sections) == null ? void 0 : u.reduce((p, v) => {
|
|
1641
1670
|
const g = v.links.filter((d) => o.has(d.label) || d.isSearchable !== !0 ? !1 : (o.add(d.label), !0));
|
|
1642
1671
|
return [...p, ...g];
|
|
1643
1672
|
}, [])) ?? [];
|
|
1644
1673
|
return [...s, ...c];
|
|
1645
1674
|
}, []);
|
|
1646
|
-
},
|
|
1675
|
+
}, Cr = ({
|
|
1647
1676
|
categories: n = [],
|
|
1648
1677
|
onCartClick: o,
|
|
1649
1678
|
mainCategoryLabel: s = "Menu",
|
|
1650
|
-
logoLink:
|
|
1679
|
+
logoLink: a = "https://www.everlywell.com",
|
|
1651
1680
|
hasSearch: c = !0,
|
|
1652
1681
|
hasEvaEnabled: u = !1,
|
|
1653
1682
|
onEvaClick: p,
|
|
@@ -1660,7 +1689,7 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
1660
1689
|
onSearchCallback: R,
|
|
1661
1690
|
onLinkClick: y,
|
|
1662
1691
|
onCategoryOpen: _,
|
|
1663
|
-
onMobileMenuOpen:
|
|
1692
|
+
onMobileMenuOpen: m,
|
|
1664
1693
|
onBackToMainMenu: F,
|
|
1665
1694
|
onRegisterKitClick: S,
|
|
1666
1695
|
onProfileClick: W,
|
|
@@ -1670,13 +1699,13 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
1670
1699
|
hideableButtons: te
|
|
1671
1700
|
}) => {
|
|
1672
1701
|
var Ve, Ie, Le;
|
|
1673
|
-
const [V,
|
|
1702
|
+
const [V, ie] = Z(!1), [le, ne] = Z(!1), [T, L] = Z(null), [O, q] = Z(!1), [ae, $e] = Z(!1), [ge, Me] = Z(0), [He, ke] = Z(!1), [Re, se] = Z(!1);
|
|
1674
1703
|
oe(() => {
|
|
1675
|
-
const
|
|
1676
|
-
return window.addEventListener(ft,
|
|
1704
|
+
const i = () => ke(!0), I = () => ke(!1);
|
|
1705
|
+
return window.addEventListener(ft, i), window.addEventListener(pt, I), () => {
|
|
1677
1706
|
window.removeEventListener(
|
|
1678
1707
|
ft,
|
|
1679
|
-
|
|
1708
|
+
i
|
|
1680
1709
|
), window.removeEventListener(pt, I);
|
|
1681
1710
|
};
|
|
1682
1711
|
}, []);
|
|
@@ -1709,11 +1738,11 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
1709
1738
|
query: xe,
|
|
1710
1739
|
results: ue,
|
|
1711
1740
|
handleSearch: ve
|
|
1712
|
-
} =
|
|
1713
|
-
source:
|
|
1741
|
+
} = or({
|
|
1742
|
+
source: ir(n),
|
|
1714
1743
|
onSearchCallback: R,
|
|
1715
|
-
isActive:
|
|
1716
|
-
}), Be = ue.length > 0,
|
|
1744
|
+
isActive: le
|
|
1745
|
+
}), Be = ue.length > 0, me = j || X, Xe = Ee(B, !!j), Ke = xe && /* @__PURE__ */ t.jsxs(
|
|
1717
1746
|
k,
|
|
1718
1747
|
{ gap: Be ? "6" : 0, direction: "column", children: [
|
|
1719
1748
|
Be ? /* @__PURE__ */ t.jsx(z, { color: "tints.uiGrey", children: `${ue.length} Results` }) : /* @__PURE__ */ t.jsxs(
|
|
@@ -1726,109 +1755,109 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
1726
1755
|
/* @__PURE__ */ t.jsx(
|
|
1727
1756
|
ht,
|
|
1728
1757
|
{
|
|
1729
|
-
as:
|
|
1758
|
+
as: me,
|
|
1730
1759
|
onClick: J,
|
|
1731
1760
|
_hover: { textDecoration: "none" },
|
|
1732
1761
|
width: ["100%", null, null, "auto"],
|
|
1733
|
-
...
|
|
1762
|
+
...Xe,
|
|
1734
1763
|
children: "Shop all products"
|
|
1735
1764
|
}
|
|
1736
1765
|
)
|
|
1737
1766
|
] }
|
|
1738
1767
|
),
|
|
1739
1768
|
/* @__PURE__ */ t.jsx(
|
|
1740
|
-
|
|
1769
|
+
cn,
|
|
1741
1770
|
{ columns: [1, 1, 1, 4], children: ue.map(
|
|
1742
|
-
(
|
|
1743
|
-
|
|
1771
|
+
(i, I) => /* @__PURE__ */ t.jsx(
|
|
1772
|
+
un,
|
|
1744
1773
|
{ children: /* @__PURE__ */ t.jsx(
|
|
1745
1774
|
Ge,
|
|
1746
1775
|
{
|
|
1747
|
-
href:
|
|
1748
|
-
label:
|
|
1749
|
-
additionalContent:
|
|
1776
|
+
href: i.href,
|
|
1777
|
+
label: i.label,
|
|
1778
|
+
additionalContent: i == null ? void 0 : i.additionalContent,
|
|
1750
1779
|
linkComponent: j,
|
|
1751
1780
|
forceMobileStyle: !Fe
|
|
1752
1781
|
}
|
|
1753
1782
|
) },
|
|
1754
|
-
`${
|
|
1783
|
+
`${i.label}-${I}`
|
|
1755
1784
|
)
|
|
1756
1785
|
) }
|
|
1757
1786
|
)
|
|
1758
1787
|
] }
|
|
1759
1788
|
), re = () => {
|
|
1760
|
-
|
|
1761
|
-
}, G = (
|
|
1762
|
-
G(
|
|
1763
|
-
}, We = (
|
|
1764
|
-
q(!0), ne(!1), L(null), !G(
|
|
1765
|
-
},
|
|
1789
|
+
ie(!1), L(null);
|
|
1790
|
+
}, G = (i) => "href" in i, ze = (i) => {
|
|
1791
|
+
G(i) ? y == null || y(i.label) : (se(V || !ce), L(i));
|
|
1792
|
+
}, We = (i) => {
|
|
1793
|
+
q(!0), ne(!1), L(null), !G(i) && (i.sections || i.spotlightCards) && (se(!1), L(i));
|
|
1794
|
+
}, be = () => {
|
|
1766
1795
|
q(!1);
|
|
1767
1796
|
};
|
|
1768
1797
|
oe(() => {
|
|
1769
|
-
const
|
|
1798
|
+
const i = (I) => {
|
|
1770
1799
|
$e(I.detail.isHovering);
|
|
1771
1800
|
};
|
|
1772
1801
|
return window.addEventListener(
|
|
1773
1802
|
dt,
|
|
1774
|
-
|
|
1803
|
+
i
|
|
1775
1804
|
), () => {
|
|
1776
1805
|
window.removeEventListener(
|
|
1777
1806
|
dt,
|
|
1778
|
-
|
|
1807
|
+
i
|
|
1779
1808
|
);
|
|
1780
1809
|
};
|
|
1781
1810
|
}, []), oe(() => {
|
|
1782
|
-
!O && !
|
|
1783
|
-
}, [O,
|
|
1784
|
-
let
|
|
1811
|
+
!O && !ae && (L(null), ne(!1), !V && ce && se(!1));
|
|
1812
|
+
}, [O, ae, V, ce]), oe(() => {
|
|
1813
|
+
let i = window.location.href;
|
|
1785
1814
|
const I = () => {
|
|
1786
1815
|
const H = window.location.href;
|
|
1787
|
-
H !==
|
|
1816
|
+
H !== i && (i = H, re(), L(null));
|
|
1788
1817
|
}, A = setInterval(I, 100);
|
|
1789
1818
|
return window.addEventListener("popstate", I), () => {
|
|
1790
1819
|
window.removeEventListener("popstate", I), clearInterval(A);
|
|
1791
1820
|
};
|
|
1792
1821
|
}, []);
|
|
1793
|
-
const Te = (
|
|
1822
|
+
const Te = (i) => G(i) && (!i.buttonProps || Object.keys(i.buttonProps).length === 0 || i.buttonProps === void 0), Je = n == null ? void 0 : n.map((i, I) => {
|
|
1794
1823
|
var H, Ce;
|
|
1795
|
-
const A = te.includes(
|
|
1824
|
+
const A = te.includes(i.label);
|
|
1796
1825
|
return /* @__PURE__ */ t.jsx(
|
|
1797
1826
|
Ue,
|
|
1798
1827
|
{
|
|
1799
1828
|
height: "48px",
|
|
1800
1829
|
paddingInline: "16px !important",
|
|
1801
1830
|
onMouseEnter: () => {
|
|
1802
|
-
We(
|
|
1831
|
+
We(i), _ == null || _(i.label);
|
|
1803
1832
|
},
|
|
1804
|
-
onMouseLeave:
|
|
1805
|
-
isSelected: (T == null ? void 0 : T.label) ===
|
|
1806
|
-
as: G(
|
|
1807
|
-
href: G(
|
|
1808
|
-
onClick: G(
|
|
1833
|
+
onMouseLeave: be,
|
|
1834
|
+
isSelected: (T == null ? void 0 : T.label) === i.label,
|
|
1835
|
+
as: G(i) && me ? me : X,
|
|
1836
|
+
href: G(i) ? i.href : void 0,
|
|
1837
|
+
onClick: G(i) ? () => y == null ? void 0 : y(i.label) : void 0,
|
|
1809
1838
|
...A && {
|
|
1810
1839
|
display: { base: "none", fullDesktop: "flex" }
|
|
1811
1840
|
},
|
|
1812
|
-
...((H =
|
|
1841
|
+
...((H = i == null ? void 0 : i.context) == null ? void 0 : H.desktop) === "link" || Te(i) ? {
|
|
1813
1842
|
_hover: {
|
|
1814
1843
|
backgroundColor: "tints.lightCream",
|
|
1815
1844
|
textDecoration: "none",
|
|
1816
1845
|
filter: "brightness(0.95)"
|
|
1817
1846
|
}
|
|
1818
1847
|
} : {},
|
|
1819
|
-
...((Ce =
|
|
1820
|
-
children:
|
|
1848
|
+
...((Ce = i == null ? void 0 : i.context) == null ? void 0 : Ce.desktop) !== "link" && i.buttonProps,
|
|
1849
|
+
children: i.label
|
|
1821
1850
|
},
|
|
1822
|
-
`${
|
|
1851
|
+
`${i.label}-${I}`
|
|
1823
1852
|
);
|
|
1824
1853
|
}), De = (Ve = n.filter(
|
|
1825
|
-
(
|
|
1854
|
+
(i) => {
|
|
1826
1855
|
var I;
|
|
1827
|
-
return ((I =
|
|
1856
|
+
return ((I = i == null ? void 0 : i.context) == null ? void 0 : I.mobile) === "link" || (!G(i) && i.isMobileTopLink !== !1 || Te(i)) && (_e && te.includes(i.label) || Se);
|
|
1828
1857
|
}
|
|
1829
|
-
)) == null ? void 0 : Ve.map((
|
|
1858
|
+
)) == null ? void 0 : Ve.map((i, I) => {
|
|
1830
1859
|
var H;
|
|
1831
|
-
const A =
|
|
1860
|
+
const A = i;
|
|
1832
1861
|
return Te(A) || ((H = A == null ? void 0 : A.context) == null ? void 0 : H.mobile) === "link" ? /* @__PURE__ */ t.jsx(
|
|
1833
1862
|
w,
|
|
1834
1863
|
{ children: /* @__PURE__ */ t.jsx(
|
|
@@ -1869,7 +1898,7 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
1869
1898
|
/* @__PURE__ */ t.jsx(
|
|
1870
1899
|
Ue,
|
|
1871
1900
|
{
|
|
1872
|
-
as:
|
|
1901
|
+
as: X,
|
|
1873
1902
|
href: d,
|
|
1874
1903
|
width: "100%",
|
|
1875
1904
|
backgroundColor: "tints.cream",
|
|
@@ -1887,7 +1916,7 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
1887
1916
|
/* @__PURE__ */ t.jsx(
|
|
1888
1917
|
Ue,
|
|
1889
1918
|
{
|
|
1890
|
-
as:
|
|
1919
|
+
as: X,
|
|
1891
1920
|
width: "100%",
|
|
1892
1921
|
href: g,
|
|
1893
1922
|
backgroundColor: "tints.cream",
|
|
@@ -1896,7 +1925,7 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
1896
1925
|
k,
|
|
1897
1926
|
{ gap: "2", children: [
|
|
1898
1927
|
"Register kit",
|
|
1899
|
-
/* @__PURE__ */ t.jsx(ee, { as:
|
|
1928
|
+
/* @__PURE__ */ t.jsx(ee, { as: Hn, size: 24 })
|
|
1900
1929
|
] }
|
|
1901
1930
|
)
|
|
1902
1931
|
},
|
|
@@ -1911,10 +1940,10 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
1911
1940
|
] }
|
|
1912
1941
|
), Q = Re || V, Ne = T ? /* @__PURE__ */ t.jsx(
|
|
1913
1942
|
k,
|
|
1914
|
-
{ direction: Q ? "column" : ["column", null, null, "row"], gap: "8", children: (Ie = T == null ? void 0 : T.sections) == null ? void 0 : Ie.map((
|
|
1943
|
+
{ direction: Q ? "column" : ["column", null, null, "row"], gap: "8", children: (Ie = T == null ? void 0 : T.sections) == null ? void 0 : Ie.map((i, I) => {
|
|
1915
1944
|
const A = [];
|
|
1916
|
-
for (let H = 0; H <
|
|
1917
|
-
A.push(
|
|
1945
|
+
for (let H = 0; H < i.links.length; H += 3)
|
|
1946
|
+
A.push(i.links.slice(H, H + 3));
|
|
1918
1947
|
return /* @__PURE__ */ t.jsxs(
|
|
1919
1948
|
w,
|
|
1920
1949
|
{ children: [
|
|
@@ -1924,7 +1953,7 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
1924
1953
|
fontSize: "md",
|
|
1925
1954
|
color: "tints.uiGrey",
|
|
1926
1955
|
marginBottom: Q ? 0 : [0, null, null, 6],
|
|
1927
|
-
children:
|
|
1956
|
+
children: i.title
|
|
1928
1957
|
}
|
|
1929
1958
|
),
|
|
1930
1959
|
/* @__PURE__ */ t.jsx(
|
|
@@ -1960,17 +1989,17 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
1960
1989
|
}
|
|
1961
1990
|
)
|
|
1962
1991
|
] },
|
|
1963
|
-
`${
|
|
1992
|
+
`${i.title}-${I}`
|
|
1964
1993
|
);
|
|
1965
1994
|
}) }
|
|
1966
1995
|
) : null, de = T != null && T.spotlightCards ? (Le = T.spotlightCards) == null ? void 0 : Le.map(
|
|
1967
|
-
(
|
|
1996
|
+
(i, I) => /* @__PURE__ */ t.jsx(
|
|
1968
1997
|
Kn,
|
|
1969
1998
|
{
|
|
1970
|
-
...
|
|
1999
|
+
...i,
|
|
1971
2000
|
forceMobileStyle: Q
|
|
1972
2001
|
},
|
|
1973
|
-
`${
|
|
2002
|
+
`${i.title}-${I}`
|
|
1974
2003
|
)
|
|
1975
2004
|
) : /* @__PURE__ */ t.jsx(w, {});
|
|
1976
2005
|
return /* @__PURE__ */ t.jsxs(
|
|
@@ -1984,13 +2013,13 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
1984
2013
|
zIndex: ["sticky", null, null, He ? "modal" : "sticky"],
|
|
1985
2014
|
children: [
|
|
1986
2015
|
/* @__PURE__ */ t.jsx(
|
|
1987
|
-
|
|
2016
|
+
Jn,
|
|
1988
2017
|
{
|
|
1989
2018
|
desktopTopButtons: Je,
|
|
1990
2019
|
kitRegistrationElement: /* @__PURE__ */ t.jsx(
|
|
1991
2020
|
Ue,
|
|
1992
2021
|
{
|
|
1993
|
-
as:
|
|
2022
|
+
as: X,
|
|
1994
2023
|
height: "48px",
|
|
1995
2024
|
paddingInline: "16px !important",
|
|
1996
2025
|
href: g,
|
|
@@ -2000,11 +2029,11 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
2000
2029
|
}
|
|
2001
2030
|
),
|
|
2002
2031
|
profileElement: /* @__PURE__ */ t.jsx(
|
|
2003
|
-
|
|
2032
|
+
X,
|
|
2004
2033
|
{ href: d, "aria-label": "login", onClick: W, children: /* @__PURE__ */ t.jsx(he, { icon: /* @__PURE__ */ t.jsx(ee, { as: kt }), "aria-label": "Profile" }) }
|
|
2005
2034
|
),
|
|
2006
2035
|
cartElement: /* @__PURE__ */ t.jsx(
|
|
2007
|
-
|
|
2036
|
+
Qn,
|
|
2008
2037
|
{
|
|
2009
2038
|
"aria-label": "Cart",
|
|
2010
2039
|
count: x,
|
|
@@ -2012,15 +2041,15 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
2012
2041
|
}
|
|
2013
2042
|
),
|
|
2014
2043
|
onSearchClick: () => {
|
|
2015
|
-
ne(!
|
|
2044
|
+
ne(!le), v == null || v();
|
|
2016
2045
|
},
|
|
2017
2046
|
onMenuClick: () => {
|
|
2018
|
-
|
|
2047
|
+
ie(!0), m == null || m();
|
|
2019
2048
|
},
|
|
2020
2049
|
hasSearch: c,
|
|
2021
2050
|
hasEvaEnabled: u,
|
|
2022
2051
|
onEvaClick: p,
|
|
2023
|
-
logoLink:
|
|
2052
|
+
logoLink: a,
|
|
2024
2053
|
linkComponent: j,
|
|
2025
2054
|
onLogoClick: $,
|
|
2026
2055
|
setTopOffset: Me
|
|
@@ -2065,10 +2094,10 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
2065
2094
|
/* @__PURE__ */ t.jsx(
|
|
2066
2095
|
st,
|
|
2067
2096
|
{
|
|
2068
|
-
isOpen:
|
|
2097
|
+
isOpen: le,
|
|
2069
2098
|
onClose: () => ne(!1),
|
|
2070
2099
|
title: "Search",
|
|
2071
|
-
navDrawerLinks:
|
|
2100
|
+
navDrawerLinks: Ke,
|
|
2072
2101
|
onSearch: ve,
|
|
2073
2102
|
hasSearch: !0,
|
|
2074
2103
|
hasBackButton: !1,
|
|
@@ -2080,8 +2109,8 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
2080
2109
|
]
|
|
2081
2110
|
}
|
|
2082
2111
|
);
|
|
2083
|
-
},
|
|
2084
|
-
const
|
|
2112
|
+
}, At = ({ links: n, linkComponent: o, onLinkClick: s }) => {
|
|
2113
|
+
const a = o || X, c = (u) => {
|
|
2085
2114
|
s && s(u);
|
|
2086
2115
|
};
|
|
2087
2116
|
return /* @__PURE__ */ t.jsx(
|
|
@@ -2090,7 +2119,7 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
2090
2119
|
(u) => /* @__PURE__ */ t.jsx(
|
|
2091
2120
|
z,
|
|
2092
2121
|
{
|
|
2093
|
-
as:
|
|
2122
|
+
as: a,
|
|
2094
2123
|
color: "white",
|
|
2095
2124
|
size: "lg",
|
|
2096
2125
|
_hover: { color: "viridian.lighter", textDecoration: "none" },
|
|
@@ -2103,14 +2132,14 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
2103
2132
|
) }
|
|
2104
2133
|
);
|
|
2105
2134
|
}, lr = ({ title: n, links: o, isLast: s }) => {
|
|
2106
|
-
const
|
|
2135
|
+
const a = s ? "transparent" : `${K.colors.viridian.lighter}20`;
|
|
2107
2136
|
return o ? /* @__PURE__ */ t.jsx(
|
|
2108
|
-
|
|
2109
|
-
{ borderColor:
|
|
2137
|
+
fn,
|
|
2138
|
+
{ borderColor: a, children: ({ isExpanded: c }) => /* @__PURE__ */ t.jsxs(
|
|
2110
2139
|
t.Fragment,
|
|
2111
2140
|
{ children: [
|
|
2112
2141
|
/* @__PURE__ */ t.jsxs(
|
|
2113
|
-
|
|
2142
|
+
pn,
|
|
2114
2143
|
{ paddingX: 0, paddingY: 4, _hover: { bg: "transparent" }, children: [
|
|
2115
2144
|
/* @__PURE__ */ t.jsx(
|
|
2116
2145
|
z,
|
|
@@ -2119,7 +2148,7 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
2119
2148
|
/* @__PURE__ */ t.jsx(
|
|
2120
2149
|
ee,
|
|
2121
2150
|
{
|
|
2122
|
-
as:
|
|
2151
|
+
as: Fn,
|
|
2123
2152
|
size: "sm",
|
|
2124
2153
|
color: "viridian.lighter",
|
|
2125
2154
|
transform: c ? "rotate(-180deg)" : "rotate(0deg)",
|
|
@@ -2129,7 +2158,7 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
2129
2158
|
] }
|
|
2130
2159
|
),
|
|
2131
2160
|
/* @__PURE__ */ t.jsx(
|
|
2132
|
-
|
|
2161
|
+
hn,
|
|
2133
2162
|
{ pb: 4, px: 0, children: o }
|
|
2134
2163
|
)
|
|
2135
2164
|
] }
|
|
@@ -2144,7 +2173,7 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
2144
2173
|
),
|
|
2145
2174
|
o
|
|
2146
2175
|
] }
|
|
2147
|
-
) : null,
|
|
2176
|
+
) : null, sr = ({
|
|
2148
2177
|
sections: n,
|
|
2149
2178
|
linkComponent: o,
|
|
2150
2179
|
onLinkClick: s
|
|
@@ -2166,7 +2195,7 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
2166
2195
|
{
|
|
2167
2196
|
title: c,
|
|
2168
2197
|
links: /* @__PURE__ */ t.jsx(
|
|
2169
|
-
|
|
2198
|
+
At,
|
|
2170
2199
|
{
|
|
2171
2200
|
links: u,
|
|
2172
2201
|
linkComponent: o,
|
|
@@ -2180,7 +2209,7 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
2180
2209
|
)
|
|
2181
2210
|
}
|
|
2182
2211
|
) : /* @__PURE__ */ t.jsx(
|
|
2183
|
-
|
|
2212
|
+
dn,
|
|
2184
2213
|
{
|
|
2185
2214
|
allowMultiple: !0,
|
|
2186
2215
|
defaultIndex: [0],
|
|
@@ -2193,7 +2222,7 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
2193
2222
|
{
|
|
2194
2223
|
title: c,
|
|
2195
2224
|
links: /* @__PURE__ */ t.jsx(
|
|
2196
|
-
|
|
2225
|
+
At,
|
|
2197
2226
|
{
|
|
2198
2227
|
links: u,
|
|
2199
2228
|
linkComponent: o,
|
|
@@ -2206,17 +2235,17 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
2206
2235
|
)
|
|
2207
2236
|
)
|
|
2208
2237
|
}
|
|
2209
|
-
),
|
|
2210
|
-
instagram:
|
|
2211
|
-
linkedin:
|
|
2212
|
-
facebook:
|
|
2213
|
-
tiktok:
|
|
2214
|
-
x:
|
|
2215
|
-
},
|
|
2238
|
+
), Pt = {
|
|
2239
|
+
instagram: zn,
|
|
2240
|
+
linkedin: Wn,
|
|
2241
|
+
facebook: Nn,
|
|
2242
|
+
tiktok: Vn,
|
|
2243
|
+
x: Yn
|
|
2244
|
+
}, cr = ({
|
|
2216
2245
|
socialLinks: n,
|
|
2217
2246
|
onEmailSubmit: o,
|
|
2218
2247
|
socialMediaLabel: s,
|
|
2219
|
-
newsletterLabel:
|
|
2248
|
+
newsletterLabel: a,
|
|
2220
2249
|
onLinkClick: c,
|
|
2221
2250
|
showNewsletter: u = !0
|
|
2222
2251
|
}) => {
|
|
@@ -2235,13 +2264,13 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
2235
2264
|
{ mb: [8, 10], children: [
|
|
2236
2265
|
/* @__PURE__ */ t.jsx(
|
|
2237
2266
|
z,
|
|
2238
|
-
{ color: "viridian.lighter", mb: 6, size: "lg", children:
|
|
2267
|
+
{ color: "viridian.lighter", mb: 6, size: "lg", children: a }
|
|
2239
2268
|
),
|
|
2240
2269
|
/* @__PURE__ */ t.jsxs(
|
|
2241
|
-
|
|
2270
|
+
gn,
|
|
2242
2271
|
{ children: [
|
|
2243
2272
|
/* @__PURE__ */ t.jsx(
|
|
2244
|
-
|
|
2273
|
+
xn,
|
|
2245
2274
|
{
|
|
2246
2275
|
placeholder: "Enter your email",
|
|
2247
2276
|
bg: "transparent",
|
|
@@ -2258,11 +2287,11 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
2258
2287
|
}
|
|
2259
2288
|
),
|
|
2260
2289
|
/* @__PURE__ */ t.jsx(
|
|
2261
|
-
|
|
2290
|
+
vn,
|
|
2262
2291
|
{ h: "52px", pr: 4, children: /* @__PURE__ */ t.jsx(
|
|
2263
2292
|
ee,
|
|
2264
2293
|
{
|
|
2265
|
-
as:
|
|
2294
|
+
as: Bn,
|
|
2266
2295
|
color: "viridian.lighter",
|
|
2267
2296
|
width: "24px",
|
|
2268
2297
|
height: "24px",
|
|
@@ -2290,17 +2319,17 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
2290
2319
|
k,
|
|
2291
2320
|
{ gap: 3, children: n == null ? void 0 : n.map(
|
|
2292
2321
|
(x) => /* @__PURE__ */ t.jsx(
|
|
2293
|
-
|
|
2322
|
+
X,
|
|
2294
2323
|
{
|
|
2295
2324
|
href: x.href,
|
|
2296
2325
|
target: "_blank",
|
|
2297
2326
|
rel: "noopener noreferrer",
|
|
2298
2327
|
"aria-label": x.name,
|
|
2299
2328
|
onClick: () => f(x.name),
|
|
2300
|
-
children:
|
|
2329
|
+
children: Pt[x.name.toLowerCase()] && /* @__PURE__ */ t.jsx(
|
|
2301
2330
|
ee,
|
|
2302
2331
|
{
|
|
2303
|
-
as:
|
|
2332
|
+
as: Pt[x.name.toLowerCase()],
|
|
2304
2333
|
color: "white",
|
|
2305
2334
|
width: ["48px", null, "24px", null],
|
|
2306
2335
|
height: ["48px", null, "24px", null]
|
|
@@ -2315,18 +2344,18 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
2315
2344
|
)
|
|
2316
2345
|
] }
|
|
2317
2346
|
);
|
|
2318
|
-
},
|
|
2347
|
+
}, ur = ({
|
|
2319
2348
|
links: n,
|
|
2320
2349
|
linkComponent: o,
|
|
2321
2350
|
onLinkClick: s
|
|
2322
2351
|
}) => {
|
|
2323
|
-
const
|
|
2352
|
+
const a = o || X, c = (p) => {
|
|
2324
2353
|
s && s(p);
|
|
2325
2354
|
}, u = n == null ? void 0 : n.map(
|
|
2326
2355
|
(p) => /* @__PURE__ */ t.jsx(
|
|
2327
2356
|
z,
|
|
2328
2357
|
{
|
|
2329
|
-
as:
|
|
2358
|
+
as: a,
|
|
2330
2359
|
color: "viridian.lighter",
|
|
2331
2360
|
size: "sm",
|
|
2332
2361
|
_hover: { color: "white", textDecoration: "none" },
|
|
@@ -2365,11 +2394,11 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
2365
2394
|
]
|
|
2366
2395
|
}
|
|
2367
2396
|
);
|
|
2368
|
-
},
|
|
2397
|
+
}, wr = Pe.forwardRef(({
|
|
2369
2398
|
navigationSections: n = [],
|
|
2370
2399
|
disclaimer: o,
|
|
2371
2400
|
newsletterLabel: s,
|
|
2372
|
-
socialMediaLabel:
|
|
2401
|
+
socialMediaLabel: a,
|
|
2373
2402
|
socialLinks: c,
|
|
2374
2403
|
complianceLinks: u,
|
|
2375
2404
|
linkComponent: p,
|
|
@@ -2381,14 +2410,14 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
2381
2410
|
}, j) => /* @__PURE__ */ t.jsx(
|
|
2382
2411
|
w,
|
|
2383
2412
|
{ as: "footer", bg: "viridian.dark", py: [6, 8], px: [4, 6], ref: j, children: /* @__PURE__ */ t.jsxs(
|
|
2384
|
-
|
|
2413
|
+
mn,
|
|
2385
2414
|
{ size: "fluid", children: [
|
|
2386
2415
|
/* @__PURE__ */ t.jsxs(
|
|
2387
2416
|
k,
|
|
2388
2417
|
{ direction: "column", gap: [8, 12], children: [
|
|
2389
2418
|
/* @__PURE__ */ t.jsx(
|
|
2390
2419
|
w,
|
|
2391
|
-
{ children: /* @__PURE__ */ t.jsx(
|
|
2420
|
+
{ children: /* @__PURE__ */ t.jsx(Yt, { width: ["150px", "202px"], color: "white" }) }
|
|
2392
2421
|
),
|
|
2393
2422
|
/* @__PURE__ */ t.jsxs(
|
|
2394
2423
|
k,
|
|
@@ -2399,7 +2428,7 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
2399
2428
|
gap: [8, 8, 8, 0],
|
|
2400
2429
|
children: [
|
|
2401
2430
|
/* @__PURE__ */ t.jsx(
|
|
2402
|
-
|
|
2431
|
+
sr,
|
|
2403
2432
|
{
|
|
2404
2433
|
sections: n,
|
|
2405
2434
|
linkComponent: p,
|
|
@@ -2407,11 +2436,11 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
2407
2436
|
}
|
|
2408
2437
|
),
|
|
2409
2438
|
/* @__PURE__ */ t.jsx(
|
|
2410
|
-
|
|
2439
|
+
cr,
|
|
2411
2440
|
{
|
|
2412
2441
|
socialLinks: c,
|
|
2413
2442
|
newsletterLabel: s,
|
|
2414
|
-
socialMediaLabel:
|
|
2443
|
+
socialMediaLabel: a,
|
|
2415
2444
|
onEmailSubmit: v,
|
|
2416
2445
|
onLinkClick: f,
|
|
2417
2446
|
showNewsletter: x
|
|
@@ -2451,13 +2480,13 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
2451
2480
|
w,
|
|
2452
2481
|
{
|
|
2453
2482
|
borderTop: "1px solid",
|
|
2454
|
-
borderColor: `${
|
|
2483
|
+
borderColor: `${K.colors.viridian.lighter}20`,
|
|
2455
2484
|
marginTop: "10",
|
|
2456
2485
|
marginBottom: "8"
|
|
2457
2486
|
}
|
|
2458
2487
|
),
|
|
2459
2488
|
/* @__PURE__ */ t.jsx(
|
|
2460
|
-
|
|
2489
|
+
ur,
|
|
2461
2490
|
{
|
|
2462
2491
|
disclaimer: o,
|
|
2463
2492
|
links: u,
|
|
@@ -2467,27 +2496,27 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
2467
2496
|
)
|
|
2468
2497
|
] }
|
|
2469
2498
|
) }
|
|
2470
|
-
)),
|
|
2471
|
-
Container:
|
|
2472
|
-
Overlay:
|
|
2473
|
-
Content:
|
|
2474
|
-
Header:
|
|
2475
|
-
Body:
|
|
2499
|
+
)), dr = (n) => n ? {
|
|
2500
|
+
Container: Ht,
|
|
2501
|
+
Overlay: Mt,
|
|
2502
|
+
Content: $t,
|
|
2503
|
+
Header: Ft,
|
|
2504
|
+
Body: Bt,
|
|
2476
2505
|
Footer: bn,
|
|
2477
|
-
CloseButton:
|
|
2506
|
+
CloseButton: Cn
|
|
2478
2507
|
} : {
|
|
2479
|
-
Container:
|
|
2480
|
-
Overlay:
|
|
2481
|
-
Content:
|
|
2482
|
-
Header:
|
|
2483
|
-
Body:
|
|
2484
|
-
Footer:
|
|
2485
|
-
CloseButton:
|
|
2486
|
-
},
|
|
2508
|
+
Container: wn,
|
|
2509
|
+
Overlay: jn,
|
|
2510
|
+
Content: yn,
|
|
2511
|
+
Header: En,
|
|
2512
|
+
Body: kn,
|
|
2513
|
+
Footer: Rn,
|
|
2514
|
+
CloseButton: _n
|
|
2515
|
+
}, jr = ({
|
|
2487
2516
|
isOpen: n,
|
|
2488
2517
|
onClose: o,
|
|
2489
2518
|
children: s,
|
|
2490
|
-
header:
|
|
2519
|
+
header: a,
|
|
2491
2520
|
footer: c,
|
|
2492
2521
|
headerProps: u,
|
|
2493
2522
|
bodyProps: p,
|
|
@@ -2496,15 +2525,15 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
2496
2525
|
...d
|
|
2497
2526
|
}) => {
|
|
2498
2527
|
var W, $, B, J, te;
|
|
2499
|
-
const [f] = ct(`(max-width: ${
|
|
2528
|
+
const [f] = ct(`(max-width: ${K.breakpoints.tablet})`), x = (te = (J = (B = ($ = (W = K) == null ? void 0 : W.components) == null ? void 0 : $.Modal) == null ? void 0 : B.baseStyle) == null ? void 0 : J.overlay) == null ? void 0 : te.background, {
|
|
2500
2529
|
Container: j,
|
|
2501
2530
|
Overlay: R,
|
|
2502
2531
|
Content: y,
|
|
2503
2532
|
Header: _,
|
|
2504
|
-
Body:
|
|
2533
|
+
Body: m,
|
|
2505
2534
|
Footer: F,
|
|
2506
2535
|
CloseButton: S
|
|
2507
|
-
} =
|
|
2536
|
+
} = dr(f);
|
|
2508
2537
|
return /* @__PURE__ */ t.jsxs(
|
|
2509
2538
|
j,
|
|
2510
2539
|
{
|
|
@@ -2522,7 +2551,7 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
2522
2551
|
borderRadius: f ? "20px 20px 0 0" : "20px",
|
|
2523
2552
|
overflowY: "auto",
|
|
2524
2553
|
gap: 0,
|
|
2525
|
-
...
|
|
2554
|
+
...a && f && { paddingTop: 0 },
|
|
2526
2555
|
...g,
|
|
2527
2556
|
children: [
|
|
2528
2557
|
/* @__PURE__ */ t.jsxs(
|
|
@@ -2543,7 +2572,7 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
2543
2572
|
...f ? { paddingBlock: 4 } : { paddingTop: 6, paddingBlockEnd: 2 },
|
|
2544
2573
|
...u,
|
|
2545
2574
|
children: [
|
|
2546
|
-
|
|
2575
|
+
a,
|
|
2547
2576
|
/* @__PURE__ */ t.jsx(
|
|
2548
2577
|
S,
|
|
2549
2578
|
{
|
|
@@ -2556,14 +2585,14 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
2556
2585
|
fontSize: "1rem"
|
|
2557
2586
|
}
|
|
2558
2587
|
},
|
|
2559
|
-
children: /* @__PURE__ */ t.jsx(ee, { as:
|
|
2588
|
+
children: /* @__PURE__ */ t.jsx(ee, { as: Vt, weight: "light" })
|
|
2560
2589
|
}
|
|
2561
2590
|
)
|
|
2562
2591
|
]
|
|
2563
2592
|
}
|
|
2564
2593
|
),
|
|
2565
2594
|
/* @__PURE__ */ t.jsx(
|
|
2566
|
-
|
|
2595
|
+
m,
|
|
2567
2596
|
{
|
|
2568
2597
|
color: "tints.darkGrey",
|
|
2569
2598
|
paddingInline: 4,
|
|
@@ -2580,17 +2609,17 @@ const at = 60, St = 6, Zn = (n) => {
|
|
|
2580
2609
|
);
|
|
2581
2610
|
};
|
|
2582
2611
|
export {
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2612
|
+
Qn as BasketButton,
|
|
2613
|
+
mr as CategoryLabel,
|
|
2614
|
+
jr as DrawerModal,
|
|
2615
|
+
wr as Footer,
|
|
2587
2616
|
Ue as NavButton,
|
|
2588
2617
|
br as NavSkeleton,
|
|
2589
2618
|
st as NavbarDrawer,
|
|
2590
2619
|
Ge as NavbarDrawerLink,
|
|
2591
|
-
|
|
2620
|
+
Cr as NavigationBar,
|
|
2592
2621
|
Kn as SpotlightCard,
|
|
2593
|
-
|
|
2622
|
+
vr as Stepper,
|
|
2594
2623
|
he as TopNavIconButton,
|
|
2595
|
-
|
|
2624
|
+
Jn as TopNavigation
|
|
2596
2625
|
};
|