@everlywell/consumer-ui 1.35.1 → 1.37.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 +9 -9
- package/index.mjs +506 -494
- package/lib/components/Footer/ComplianceLinks/ComplianceLinks.d.ts +14 -0
- package/lib/components/Footer/ComplianceLinks/ComplianceLinks.d.ts.map +1 -0
- package/lib/components/Footer/ComplianceLinks/ComplianceLinks.stories.d.ts +26 -0
- package/lib/components/Footer/ComplianceLinks/ComplianceLinks.stories.d.ts.map +1 -0
- package/lib/components/Footer/Footer/Footer.builder.d.ts +4 -0
- package/lib/components/Footer/Footer/Footer.builder.d.ts.map +1 -0
- package/lib/components/Footer/Footer/Footer.d.ts +35 -0
- package/lib/components/Footer/Footer/Footer.d.ts.map +1 -0
- package/lib/components/Footer/Footer/Footer.stories.d.ts +8 -0
- package/lib/components/Footer/Footer/Footer.stories.d.ts.map +1 -0
- package/lib/components/Footer/NavigationLinks/NavigationLinks.d.ts +16 -0
- package/lib/components/Footer/NavigationLinks/NavigationLinks.d.ts.map +1 -0
- package/lib/components/Footer/NavigationLinks/NavigationLinks.stories.d.ts +28 -0
- package/lib/components/Footer/NavigationLinks/NavigationLinks.stories.d.ts.map +1 -0
- package/lib/components/Footer/UpdatesAndSocial/UpdatesAndSocial.d.ts +14 -0
- package/lib/components/Footer/UpdatesAndSocial/UpdatesAndSocial.d.ts.map +1 -0
- package/lib/components/Footer/UpdatesAndSocial/UpdatesAndSocial.stories.d.ts +40 -0
- package/lib/components/Footer/UpdatesAndSocial/UpdatesAndSocial.stories.d.ts.map +1 -0
- package/lib/components/Footer/index.d.ts +2 -0
- package/lib/components/Footer/index.d.ts.map +1 -0
- package/lib/components/Logo/Logo.d.ts +8 -0
- package/lib/components/Logo/Logo.d.ts.map +1 -0
- package/lib/components/Navbar/NavbarDrawer/NavbarDrawer.d.ts.map +1 -1
- package/lib/components/Navbar/NavigationBar/NavigationBar.builder.d.ts.map +1 -1
- package/lib/components/Navbar/SpotlightCard/SpotlightCard.d.ts.map +1 -1
- package/package.json +2 -2
- package/lib/components/Navbar/TopNavigation/Logo.d.ts +0 -2
- package/lib/components/Navbar/TopNavigation/Logo.d.ts.map +0 -1
package/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { useSteps as
|
|
2
|
-
import Ke, { useEffect as Z, forwardRef as bt, useRef as
|
|
3
|
-
import { Text as
|
|
4
|
-
import { CaretRight as ct, MagnifyingGlass as jt, List as
|
|
5
|
-
import { motion as Je, AnimatePresence as
|
|
6
|
-
var
|
|
1
|
+
import { useSteps as Mt, Box as E, Stepper as Bt, Icon as ue, Flex as k, Text as K, Link as z, Button as xt, Image as Wt, IconButton as Vt, theme as Nt, VStack as Yt, Skeleton as Ne, HStack as ut, SkeletonCircle as De, DrawerContent as zt, DrawerOverlay as Gt, Drawer as Ut, DrawerHeader as Zt, DrawerBody as Kt, Grid as Xt, GridItem as Jt } from "@everlywell/ui-kit";
|
|
2
|
+
import Ke, { useEffect as Z, forwardRef as bt, useRef as qt, useCallback as mt, useState as W } from "react";
|
|
3
|
+
import { Text as Qt, useBreakpointValue as Xe, Box as er, InputGroup as tr, Input as rr, InputRightElement as nr, Icon as lr } from "@chakra-ui/react";
|
|
4
|
+
import { CaretRight as ct, MagnifyingGlass as jt, List as ar, Basket as ir, CaretLeft as or, X as sr, User as dt, QrCode as ur } from "@phosphor-icons/react";
|
|
5
|
+
import { motion as Je, AnimatePresence as cr } from "framer-motion";
|
|
6
|
+
var Ue = { exports: {} }, Ce = {};
|
|
7
7
|
/**
|
|
8
8
|
* @license React
|
|
9
9
|
* react-jsx-runtime.production.min.js
|
|
@@ -14,20 +14,20 @@ var Ge = { exports: {} }, Ce = {};
|
|
|
14
14
|
* LICENSE file in the root directory of this source tree.
|
|
15
15
|
*/
|
|
16
16
|
var ft;
|
|
17
|
-
function
|
|
17
|
+
function dr() {
|
|
18
18
|
if (ft) return Ce;
|
|
19
19
|
ft = 1;
|
|
20
|
-
var l = Ke,
|
|
21
|
-
function
|
|
22
|
-
var
|
|
23
|
-
|
|
24
|
-
for (
|
|
25
|
-
if (R && R.defaultProps) for (
|
|
26
|
-
return { $$typeof:
|
|
20
|
+
var l = Ke, o = Symbol.for("react.element"), p = Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, j = l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, v = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
21
|
+
function b(R, c, y) {
|
|
22
|
+
var s, C = {}, g = null, u = null;
|
|
23
|
+
y !== void 0 && (g = "" + y), c.key !== void 0 && (g = "" + c.key), c.ref !== void 0 && (u = c.ref);
|
|
24
|
+
for (s in c) d.call(c, s) && !v.hasOwnProperty(s) && (C[s] = c[s]);
|
|
25
|
+
if (R && R.defaultProps) for (s in c = R.defaultProps, c) C[s] === void 0 && (C[s] = c[s]);
|
|
26
|
+
return { $$typeof: o, type: R, key: g, ref: u, props: C, _owner: j.current };
|
|
27
27
|
}
|
|
28
|
-
return Ce.Fragment = p, Ce.jsx =
|
|
28
|
+
return Ce.Fragment = p, Ce.jsx = b, Ce.jsxs = b, Ce;
|
|
29
29
|
}
|
|
30
|
-
var
|
|
30
|
+
var ye = {};
|
|
31
31
|
/**
|
|
32
32
|
* @license React
|
|
33
33
|
* react-jsx-runtime.development.js
|
|
@@ -38,53 +38,53 @@ var we = {};
|
|
|
38
38
|
* LICENSE file in the root directory of this source tree.
|
|
39
39
|
*/
|
|
40
40
|
var pt;
|
|
41
|
-
function
|
|
41
|
+
function fr() {
|
|
42
42
|
return pt || (pt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
43
|
-
var l = Ke,
|
|
43
|
+
var l = Ke, o = Symbol.for("react.element"), p = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), j = Symbol.for("react.strict_mode"), v = Symbol.for("react.profiler"), b = Symbol.for("react.provider"), R = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), s = Symbol.for("react.suspense_list"), C = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), u = Symbol.for("react.offscreen"), D = Symbol.iterator, q = "@@iterator";
|
|
44
44
|
function Q(e) {
|
|
45
45
|
if (e === null || typeof e != "object")
|
|
46
46
|
return null;
|
|
47
|
-
var r =
|
|
47
|
+
var r = D && e[D] || e[q];
|
|
48
48
|
return typeof r == "function" ? r : null;
|
|
49
49
|
}
|
|
50
|
-
var
|
|
50
|
+
var $ = l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
51
51
|
function _(e) {
|
|
52
52
|
{
|
|
53
|
-
for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0),
|
|
54
|
-
n[
|
|
53
|
+
for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++)
|
|
54
|
+
n[i - 1] = arguments[i];
|
|
55
55
|
de("error", e, n);
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
function de(e, r, n) {
|
|
59
59
|
{
|
|
60
|
-
var
|
|
60
|
+
var i = $.ReactDebugCurrentFrame, x = i.getStackAddendum();
|
|
61
61
|
x !== "" && (r += "%s", n = n.concat([x]));
|
|
62
|
-
var
|
|
62
|
+
var m = n.map(function(h) {
|
|
63
63
|
return String(h);
|
|
64
64
|
});
|
|
65
|
-
|
|
65
|
+
m.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, m);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
var fe = !1, pe = !1,
|
|
69
|
-
|
|
70
|
-
function
|
|
71
|
-
return !!(typeof e == "string" || typeof e == "function" || e === d || e ===
|
|
68
|
+
var fe = !1, pe = !1, A = !1, ee = !1, V = !1, w;
|
|
69
|
+
w = Symbol.for("react.module.reference");
|
|
70
|
+
function M(e) {
|
|
71
|
+
return !!(typeof e == "string" || typeof e == "function" || e === d || e === v || V || e === j || e === y || e === s || ee || e === u || fe || pe || A || typeof e == "object" && e !== null && (e.$$typeof === g || e.$$typeof === C || e.$$typeof === b || e.$$typeof === R || e.$$typeof === c || // 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 === w || e.getModuleId !== void 0));
|
|
76
76
|
}
|
|
77
|
-
function
|
|
78
|
-
var
|
|
79
|
-
if (
|
|
80
|
-
return
|
|
77
|
+
function we(e, r, n) {
|
|
78
|
+
var i = e.displayName;
|
|
79
|
+
if (i)
|
|
80
|
+
return i;
|
|
81
81
|
var x = r.displayName || r.name || "";
|
|
82
82
|
return x !== "" ? n + "(" + x + ")" : n;
|
|
83
83
|
}
|
|
84
84
|
function he(e) {
|
|
85
85
|
return e.displayName || "Context";
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function H(e) {
|
|
88
88
|
if (e == null)
|
|
89
89
|
return null;
|
|
90
90
|
if (typeof e.tag == "number" && _("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -96,13 +96,13 @@ function cr() {
|
|
|
96
96
|
return "Fragment";
|
|
97
97
|
case p:
|
|
98
98
|
return "Portal";
|
|
99
|
-
case
|
|
99
|
+
case v:
|
|
100
100
|
return "Profiler";
|
|
101
|
-
case
|
|
101
|
+
case j:
|
|
102
102
|
return "StrictMode";
|
|
103
|
-
case
|
|
103
|
+
case y:
|
|
104
104
|
return "Suspense";
|
|
105
|
-
case
|
|
105
|
+
case s:
|
|
106
106
|
return "SuspenseList";
|
|
107
107
|
}
|
|
108
108
|
if (typeof e == "object")
|
|
@@ -110,18 +110,18 @@ function cr() {
|
|
|
110
110
|
case R:
|
|
111
111
|
var r = e;
|
|
112
112
|
return he(r) + ".Consumer";
|
|
113
|
-
case
|
|
113
|
+
case b:
|
|
114
114
|
var n = e;
|
|
115
115
|
return he(n._context) + ".Provider";
|
|
116
116
|
case c:
|
|
117
|
-
return
|
|
118
|
-
case
|
|
119
|
-
var
|
|
120
|
-
return
|
|
121
|
-
case
|
|
122
|
-
var x = e,
|
|
117
|
+
return we(e, e.render, "ForwardRef");
|
|
118
|
+
case C:
|
|
119
|
+
var i = e.displayName || null;
|
|
120
|
+
return i !== null ? i : H(e.type) || "Memo";
|
|
121
|
+
case g: {
|
|
122
|
+
var x = e, m = x._payload, h = x._init;
|
|
123
123
|
try {
|
|
124
|
-
return
|
|
124
|
+
return H(h(m));
|
|
125
125
|
} catch {
|
|
126
126
|
return null;
|
|
127
127
|
}
|
|
@@ -129,14 +129,14 @@ function cr() {
|
|
|
129
129
|
}
|
|
130
130
|
return null;
|
|
131
131
|
}
|
|
132
|
-
var N = Object.assign, Y = 0, Ee, Re, _e, te, Se,
|
|
132
|
+
var N = Object.assign, Y = 0, Ee, Re, _e, te, Se, ge, re;
|
|
133
133
|
function Te() {
|
|
134
134
|
}
|
|
135
135
|
Te.__reactDisabledLog = !0;
|
|
136
|
-
function
|
|
136
|
+
function Pe() {
|
|
137
137
|
{
|
|
138
138
|
if (Y === 0) {
|
|
139
|
-
Ee = console.log, Re = console.info, _e = console.warn, te = console.error, Se = console.group,
|
|
139
|
+
Ee = console.log, Re = console.info, _e = console.warn, te = console.error, Se = console.group, ge = console.groupCollapsed, re = console.groupEnd;
|
|
140
140
|
var e = {
|
|
141
141
|
configurable: !0,
|
|
142
142
|
enumerable: !0,
|
|
@@ -181,7 +181,7 @@ function cr() {
|
|
|
181
181
|
value: Se
|
|
182
182
|
}),
|
|
183
183
|
groupCollapsed: N({}, e, {
|
|
184
|
-
value:
|
|
184
|
+
value: ge
|
|
185
185
|
}),
|
|
186
186
|
groupEnd: N({}, e, {
|
|
187
187
|
value: re
|
|
@@ -191,18 +191,18 @@ function cr() {
|
|
|
191
191
|
Y < 0 && _("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
|
-
var B =
|
|
194
|
+
var B = $.ReactCurrentDispatcher, ve;
|
|
195
195
|
function le(e, r, n) {
|
|
196
196
|
{
|
|
197
|
-
if (
|
|
197
|
+
if (ve === void 0)
|
|
198
198
|
try {
|
|
199
199
|
throw Error();
|
|
200
200
|
} catch (x) {
|
|
201
|
-
var
|
|
202
|
-
|
|
201
|
+
var i = x.stack.trim().match(/\n( *(at )?)/);
|
|
202
|
+
ve = i && i[1] || "";
|
|
203
203
|
}
|
|
204
204
|
return `
|
|
205
|
-
` +
|
|
205
|
+
` + ve + e;
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
208
|
var xe = !1, ae;
|
|
@@ -218,12 +218,12 @@ function cr() {
|
|
|
218
218
|
if (n !== void 0)
|
|
219
219
|
return n;
|
|
220
220
|
}
|
|
221
|
-
var
|
|
221
|
+
var i;
|
|
222
222
|
xe = !0;
|
|
223
223
|
var x = Error.prepareStackTrace;
|
|
224
224
|
Error.prepareStackTrace = void 0;
|
|
225
|
-
var
|
|
226
|
-
|
|
225
|
+
var m;
|
|
226
|
+
m = B.current, B.current = null, Pe();
|
|
227
227
|
try {
|
|
228
228
|
if (r) {
|
|
229
229
|
var h = function() {
|
|
@@ -237,14 +237,14 @@ function cr() {
|
|
|
237
237
|
try {
|
|
238
238
|
Reflect.construct(h, []);
|
|
239
239
|
} catch (L) {
|
|
240
|
-
|
|
240
|
+
i = L;
|
|
241
241
|
}
|
|
242
242
|
Reflect.construct(e, [], h);
|
|
243
243
|
} else {
|
|
244
244
|
try {
|
|
245
245
|
h.call();
|
|
246
246
|
} catch (L) {
|
|
247
|
-
|
|
247
|
+
i = L;
|
|
248
248
|
}
|
|
249
249
|
e.call(h.prototype);
|
|
250
250
|
}
|
|
@@ -252,103 +252,103 @@ function cr() {
|
|
|
252
252
|
try {
|
|
253
253
|
throw Error();
|
|
254
254
|
} catch (L) {
|
|
255
|
-
|
|
255
|
+
i = L;
|
|
256
256
|
}
|
|
257
257
|
e();
|
|
258
258
|
}
|
|
259
259
|
} catch (L) {
|
|
260
|
-
if (L &&
|
|
260
|
+
if (L && i && typeof L.stack == "string") {
|
|
261
261
|
for (var f = L.stack.split(`
|
|
262
|
-
`),
|
|
263
|
-
`), S = f.length - 1, T =
|
|
262
|
+
`), P = i.stack.split(`
|
|
263
|
+
`), S = f.length - 1, T = P.length - 1; S >= 1 && T >= 0 && f[S] !== P[T]; )
|
|
264
264
|
T--;
|
|
265
265
|
for (; S >= 1 && T >= 0; S--, T--)
|
|
266
|
-
if (f[S] !==
|
|
266
|
+
if (f[S] !== P[T]) {
|
|
267
267
|
if (S !== 1 || T !== 1)
|
|
268
268
|
do
|
|
269
|
-
if (S--, T--, T < 0 || f[S] !==
|
|
270
|
-
var
|
|
269
|
+
if (S--, T--, T < 0 || f[S] !== P[T]) {
|
|
270
|
+
var F = `
|
|
271
271
|
` + f[S].replace(" at new ", " at ");
|
|
272
|
-
return e.displayName &&
|
|
272
|
+
return e.displayName && F.includes("<anonymous>") && (F = F.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, F), F;
|
|
273
273
|
}
|
|
274
274
|
while (S >= 1 && T >= 0);
|
|
275
275
|
break;
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
278
|
} finally {
|
|
279
|
-
xe = !1, B.current =
|
|
279
|
+
xe = !1, B.current = m, ne(), Error.prepareStackTrace = x;
|
|
280
280
|
}
|
|
281
281
|
var se = e ? e.displayName || e.name : "", J = se ? le(se) : "";
|
|
282
282
|
return typeof e == "function" && ae.set(e, J), J;
|
|
283
283
|
}
|
|
284
|
-
function
|
|
284
|
+
function He(e, r, n) {
|
|
285
285
|
return ke(e, !1);
|
|
286
286
|
}
|
|
287
|
-
function
|
|
287
|
+
function $e(e) {
|
|
288
288
|
var r = e.prototype;
|
|
289
289
|
return !!(r && r.isReactComponent);
|
|
290
290
|
}
|
|
291
|
-
function
|
|
291
|
+
function ie(e, r, n) {
|
|
292
292
|
if (e == null)
|
|
293
293
|
return "";
|
|
294
294
|
if (typeof e == "function")
|
|
295
|
-
return ke(e,
|
|
295
|
+
return ke(e, $e(e));
|
|
296
296
|
if (typeof e == "string")
|
|
297
297
|
return le(e);
|
|
298
298
|
switch (e) {
|
|
299
|
-
case
|
|
299
|
+
case y:
|
|
300
300
|
return le("Suspense");
|
|
301
|
-
case
|
|
301
|
+
case s:
|
|
302
302
|
return le("SuspenseList");
|
|
303
303
|
}
|
|
304
304
|
if (typeof e == "object")
|
|
305
305
|
switch (e.$$typeof) {
|
|
306
306
|
case c:
|
|
307
|
-
return
|
|
308
|
-
case
|
|
309
|
-
return
|
|
310
|
-
case
|
|
311
|
-
var
|
|
307
|
+
return He(e.render);
|
|
308
|
+
case C:
|
|
309
|
+
return ie(e.type, r, n);
|
|
310
|
+
case g: {
|
|
311
|
+
var i = e, x = i._payload, m = i._init;
|
|
312
312
|
try {
|
|
313
|
-
return
|
|
313
|
+
return ie(m(x), r, n);
|
|
314
314
|
} catch {
|
|
315
315
|
}
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
318
|
return "";
|
|
319
319
|
}
|
|
320
|
-
var
|
|
320
|
+
var G = Object.prototype.hasOwnProperty, be = {}, me = $.ReactDebugCurrentFrame;
|
|
321
321
|
function a(e) {
|
|
322
322
|
if (e) {
|
|
323
|
-
var r = e._owner, n =
|
|
323
|
+
var r = e._owner, n = ie(e.type, e._source, r ? r.type : null);
|
|
324
324
|
me.setExtraStackFrame(n);
|
|
325
325
|
} else
|
|
326
326
|
me.setExtraStackFrame(null);
|
|
327
327
|
}
|
|
328
|
-
function
|
|
328
|
+
function I(e, r, n, i, x) {
|
|
329
329
|
{
|
|
330
|
-
var
|
|
330
|
+
var m = Function.call.bind(G);
|
|
331
331
|
for (var h in e)
|
|
332
|
-
if (
|
|
332
|
+
if (m(e, h)) {
|
|
333
333
|
var f = void 0;
|
|
334
334
|
try {
|
|
335
335
|
if (typeof e[h] != "function") {
|
|
336
|
-
var
|
|
337
|
-
throw
|
|
336
|
+
var P = Error((i || "React class") + ": " + n + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
337
|
+
throw P.name = "Invariant Violation", P;
|
|
338
338
|
}
|
|
339
|
-
f = e[h](r, h,
|
|
339
|
+
f = e[h](r, h, i, n, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
340
340
|
} catch (S) {
|
|
341
341
|
f = S;
|
|
342
342
|
}
|
|
343
|
-
f && !(f instanceof Error) && (a(x), _("%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).",
|
|
343
|
+
f && !(f instanceof Error) && (a(x), _("%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).", i || "React class", n, h, typeof f), a(null)), f instanceof Error && !(f.message in be) && (be[f.message] = !0, a(x), _("Failed %s type: %s", n, f.message), a(null));
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
|
-
var
|
|
348
|
-
function
|
|
349
|
-
return
|
|
347
|
+
var U = Array.isArray;
|
|
348
|
+
function O(e) {
|
|
349
|
+
return U(e);
|
|
350
350
|
}
|
|
351
|
-
function
|
|
351
|
+
function Ae(e) {
|
|
352
352
|
{
|
|
353
353
|
var r = typeof Symbol == "function" && Symbol.toStringTag, n = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
354
354
|
return n;
|
|
@@ -366,25 +366,25 @@ function cr() {
|
|
|
366
366
|
}
|
|
367
367
|
function Qe(e) {
|
|
368
368
|
if (X(e))
|
|
369
|
-
return _("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
369
|
+
return _("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ae(e)), qe(e);
|
|
370
370
|
}
|
|
371
|
-
var je =
|
|
371
|
+
var je = $.ReactCurrentOwner, Ct = {
|
|
372
372
|
key: !0,
|
|
373
373
|
ref: !0,
|
|
374
374
|
__self: !0,
|
|
375
375
|
__source: !0
|
|
376
|
-
}, et, tt,
|
|
377
|
-
|
|
378
|
-
function
|
|
379
|
-
if (
|
|
376
|
+
}, et, tt, Fe;
|
|
377
|
+
Fe = {};
|
|
378
|
+
function yt(e) {
|
|
379
|
+
if (G.call(e, "ref")) {
|
|
380
380
|
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
381
381
|
if (r && r.isReactWarning)
|
|
382
382
|
return !1;
|
|
383
383
|
}
|
|
384
384
|
return e.ref !== void 0;
|
|
385
385
|
}
|
|
386
|
-
function
|
|
387
|
-
if (
|
|
386
|
+
function wt(e) {
|
|
387
|
+
if (G.call(e, "key")) {
|
|
388
388
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
389
389
|
if (r && r.isReactWarning)
|
|
390
390
|
return !1;
|
|
@@ -393,8 +393,8 @@ function cr() {
|
|
|
393
393
|
}
|
|
394
394
|
function Et(e, r) {
|
|
395
395
|
if (typeof e.ref == "string" && je.current && r && je.current.stateNode !== r) {
|
|
396
|
-
var n =
|
|
397
|
-
|
|
396
|
+
var n = H(je.current.type);
|
|
397
|
+
Fe[n] || (_('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', H(je.current.type), e.ref), Fe[n] = !0);
|
|
398
398
|
}
|
|
399
399
|
}
|
|
400
400
|
function Rt(e, r) {
|
|
@@ -419,17 +419,17 @@ function cr() {
|
|
|
419
419
|
});
|
|
420
420
|
}
|
|
421
421
|
}
|
|
422
|
-
var St = function(e, r, n,
|
|
422
|
+
var St = function(e, r, n, i, x, m, h) {
|
|
423
423
|
var f = {
|
|
424
424
|
// This tag allows us to uniquely identify this as a React Element
|
|
425
|
-
$$typeof:
|
|
425
|
+
$$typeof: o,
|
|
426
426
|
// Built-in properties that belong on the element
|
|
427
427
|
type: e,
|
|
428
428
|
key: r,
|
|
429
429
|
ref: n,
|
|
430
430
|
props: h,
|
|
431
431
|
// Record the component responsible for creating this element.
|
|
432
|
-
_owner:
|
|
432
|
+
_owner: m
|
|
433
433
|
};
|
|
434
434
|
return f._store = {}, Object.defineProperty(f._store, "validated", {
|
|
435
435
|
configurable: !1,
|
|
@@ -440,7 +440,7 @@ function cr() {
|
|
|
440
440
|
configurable: !1,
|
|
441
441
|
enumerable: !1,
|
|
442
442
|
writable: !1,
|
|
443
|
-
value:
|
|
443
|
+
value: i
|
|
444
444
|
}), Object.defineProperty(f, "_source", {
|
|
445
445
|
configurable: !1,
|
|
446
446
|
enumerable: !1,
|
|
@@ -448,28 +448,28 @@ function cr() {
|
|
|
448
448
|
value: x
|
|
449
449
|
}), Object.freeze && (Object.freeze(f.props), Object.freeze(f)), f;
|
|
450
450
|
};
|
|
451
|
-
function Tt(e, r, n,
|
|
451
|
+
function Tt(e, r, n, i, x) {
|
|
452
452
|
{
|
|
453
|
-
var
|
|
454
|
-
n !== void 0 && (Qe(n), f = "" + n),
|
|
455
|
-
for (
|
|
456
|
-
|
|
453
|
+
var m, h = {}, f = null, P = null;
|
|
454
|
+
n !== void 0 && (Qe(n), f = "" + n), wt(r) && (Qe(r.key), f = "" + r.key), yt(r) && (P = r.ref, Et(r, x));
|
|
455
|
+
for (m in r)
|
|
456
|
+
G.call(r, m) && !Ct.hasOwnProperty(m) && (h[m] = r[m]);
|
|
457
457
|
if (e && e.defaultProps) {
|
|
458
458
|
var S = e.defaultProps;
|
|
459
|
-
for (
|
|
460
|
-
h[
|
|
459
|
+
for (m in S)
|
|
460
|
+
h[m] === void 0 && (h[m] = S[m]);
|
|
461
461
|
}
|
|
462
|
-
if (f ||
|
|
462
|
+
if (f || P) {
|
|
463
463
|
var T = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
464
|
-
f && Rt(h, T),
|
|
464
|
+
f && Rt(h, T), P && _t(h, T);
|
|
465
465
|
}
|
|
466
|
-
return St(e, f,
|
|
466
|
+
return St(e, f, P, x, i, je.current, h);
|
|
467
467
|
}
|
|
468
468
|
}
|
|
469
|
-
var
|
|
470
|
-
function
|
|
469
|
+
var Me = $.ReactCurrentOwner, rt = $.ReactDebugCurrentFrame;
|
|
470
|
+
function oe(e) {
|
|
471
471
|
if (e) {
|
|
472
|
-
var r = e._owner, n =
|
|
472
|
+
var r = e._owner, n = ie(e.type, e._source, r ? r.type : null);
|
|
473
473
|
rt.setExtraStackFrame(n);
|
|
474
474
|
} else
|
|
475
475
|
rt.setExtraStackFrame(null);
|
|
@@ -477,12 +477,12 @@ function cr() {
|
|
|
477
477
|
var Be;
|
|
478
478
|
Be = !1;
|
|
479
479
|
function We(e) {
|
|
480
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
480
|
+
return typeof e == "object" && e !== null && e.$$typeof === o;
|
|
481
481
|
}
|
|
482
482
|
function nt() {
|
|
483
483
|
{
|
|
484
|
-
if (
|
|
485
|
-
var e =
|
|
484
|
+
if (Me.current) {
|
|
485
|
+
var e = H(Me.current.type);
|
|
486
486
|
if (e)
|
|
487
487
|
return `
|
|
488
488
|
|
|
@@ -516,30 +516,30 @@ Check the top-level render call using <` + n + ">.");
|
|
|
516
516
|
if (lt[n])
|
|
517
517
|
return;
|
|
518
518
|
lt[n] = !0;
|
|
519
|
-
var
|
|
520
|
-
e && e._owner && e._owner !==
|
|
519
|
+
var i = "";
|
|
520
|
+
e && e._owner && e._owner !== Me.current && (i = " It was passed a child from " + H(e._owner.type) + "."), oe(e), _('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', n, i), oe(null);
|
|
521
521
|
}
|
|
522
522
|
}
|
|
523
|
-
function
|
|
523
|
+
function it(e, r) {
|
|
524
524
|
{
|
|
525
525
|
if (typeof e != "object")
|
|
526
526
|
return;
|
|
527
|
-
if (
|
|
527
|
+
if (O(e))
|
|
528
528
|
for (var n = 0; n < e.length; n++) {
|
|
529
|
-
var
|
|
530
|
-
We(
|
|
529
|
+
var i = e[n];
|
|
530
|
+
We(i) && at(i, r);
|
|
531
531
|
}
|
|
532
532
|
else if (We(e))
|
|
533
533
|
e._store && (e._store.validated = !0);
|
|
534
534
|
else if (e) {
|
|
535
535
|
var x = Q(e);
|
|
536
536
|
if (typeof x == "function" && x !== e.entries)
|
|
537
|
-
for (var
|
|
537
|
+
for (var m = x.call(e), h; !(h = m.next()).done; )
|
|
538
538
|
We(h.value) && at(h.value, r);
|
|
539
539
|
}
|
|
540
540
|
}
|
|
541
541
|
}
|
|
542
|
-
function
|
|
542
|
+
function It(e) {
|
|
543
543
|
{
|
|
544
544
|
var r = e.type;
|
|
545
545
|
if (r == null || typeof r == "string")
|
|
@@ -549,140 +549,140 @@ Check the top-level render call using <` + n + ">.");
|
|
|
549
549
|
n = r.propTypes;
|
|
550
550
|
else if (typeof r == "object" && (r.$$typeof === c || // Note: Memo only checks outer props here.
|
|
551
551
|
// Inner props are checked in the reconciler.
|
|
552
|
-
r.$$typeof ===
|
|
552
|
+
r.$$typeof === C))
|
|
553
553
|
n = r.propTypes;
|
|
554
554
|
else
|
|
555
555
|
return;
|
|
556
556
|
if (n) {
|
|
557
|
-
var
|
|
558
|
-
|
|
557
|
+
var i = H(r);
|
|
558
|
+
I(n, e.props, "prop", i, e);
|
|
559
559
|
} else if (r.PropTypes !== void 0 && !Be) {
|
|
560
560
|
Be = !0;
|
|
561
|
-
var x =
|
|
561
|
+
var x = H(r);
|
|
562
562
|
_("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", x || "Unknown");
|
|
563
563
|
}
|
|
564
564
|
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && _("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
565
565
|
}
|
|
566
566
|
}
|
|
567
|
-
function
|
|
567
|
+
function Ot(e) {
|
|
568
568
|
{
|
|
569
569
|
for (var r = Object.keys(e.props), n = 0; n < r.length; n++) {
|
|
570
|
-
var
|
|
571
|
-
if (
|
|
572
|
-
|
|
570
|
+
var i = r[n];
|
|
571
|
+
if (i !== "children" && i !== "key") {
|
|
572
|
+
oe(e), _("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", i), oe(null);
|
|
573
573
|
break;
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
|
-
e.ref !== null && (
|
|
576
|
+
e.ref !== null && (oe(e), _("Invalid attribute `ref` supplied to `React.Fragment`."), oe(null));
|
|
577
577
|
}
|
|
578
578
|
}
|
|
579
|
-
var
|
|
580
|
-
function st(e, r, n,
|
|
579
|
+
var ot = {};
|
|
580
|
+
function st(e, r, n, i, x, m) {
|
|
581
581
|
{
|
|
582
|
-
var h =
|
|
582
|
+
var h = M(e);
|
|
583
583
|
if (!h) {
|
|
584
584
|
var f = "";
|
|
585
585
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (f += " 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
|
|
587
|
-
|
|
586
|
+
var P = kt();
|
|
587
|
+
P ? f += P : f += nt();
|
|
588
588
|
var S;
|
|
589
|
-
e === null ? S = "null" :
|
|
589
|
+
e === null ? S = "null" : O(e) ? S = "array" : e !== void 0 && e.$$typeof === o ? (S = "<" + (H(e.type) || "Unknown") + " />", f = " Did you accidentally export a JSX literal instead of a component?") : S = typeof e, _("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, f);
|
|
590
590
|
}
|
|
591
|
-
var T = Tt(e, r, n, x,
|
|
591
|
+
var T = Tt(e, r, n, x, m);
|
|
592
592
|
if (T == null)
|
|
593
593
|
return T;
|
|
594
594
|
if (h) {
|
|
595
|
-
var
|
|
596
|
-
if (
|
|
597
|
-
if (
|
|
598
|
-
if (
|
|
599
|
-
for (var se = 0; se <
|
|
600
|
-
|
|
601
|
-
Object.freeze && Object.freeze(
|
|
595
|
+
var F = r.children;
|
|
596
|
+
if (F !== void 0)
|
|
597
|
+
if (i)
|
|
598
|
+
if (O(F)) {
|
|
599
|
+
for (var se = 0; se < F.length; se++)
|
|
600
|
+
it(F[se], e);
|
|
601
|
+
Object.freeze && Object.freeze(F);
|
|
602
602
|
} else
|
|
603
603
|
_("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
604
604
|
else
|
|
605
|
-
|
|
605
|
+
it(F, e);
|
|
606
606
|
}
|
|
607
|
-
if (
|
|
608
|
-
var J =
|
|
609
|
-
return
|
|
607
|
+
if (G.call(r, "key")) {
|
|
608
|
+
var J = H(e), L = Object.keys(r).filter(function(Ft) {
|
|
609
|
+
return Ft !== "key";
|
|
610
610
|
}), Ve = L.length > 0 ? "{key: someKey, " + L.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
611
|
-
if (!
|
|
612
|
-
var
|
|
611
|
+
if (!ot[J + Ve]) {
|
|
612
|
+
var At = L.length > 0 ? "{" + L.join(": ..., ") + ": ...}" : "{}";
|
|
613
613
|
_(`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} />`, Ve, J,
|
|
618
|
+
<%s key={someKey} {...props} />`, Ve, J, At, J), ot[J + Ve] = !0;
|
|
619
619
|
}
|
|
620
620
|
}
|
|
621
|
-
return e === d ?
|
|
621
|
+
return e === d ? Ot(T) : It(T), T;
|
|
622
622
|
}
|
|
623
623
|
}
|
|
624
|
-
function
|
|
624
|
+
function Pt(e, r, n) {
|
|
625
625
|
return st(e, r, n, !0);
|
|
626
626
|
}
|
|
627
627
|
function Lt(e, r, n) {
|
|
628
628
|
return st(e, r, n, !1);
|
|
629
629
|
}
|
|
630
|
-
var
|
|
631
|
-
|
|
632
|
-
}()),
|
|
630
|
+
var Ht = Lt, $t = Pt;
|
|
631
|
+
ye.Fragment = d, ye.jsx = Ht, ye.jsxs = $t;
|
|
632
|
+
}()), ye;
|
|
633
633
|
}
|
|
634
|
-
process.env.NODE_ENV === "production" ?
|
|
635
|
-
var t =
|
|
636
|
-
const Ye = 60, ht = 6,
|
|
634
|
+
process.env.NODE_ENV === "production" ? Ue.exports = dr() : Ue.exports = fr();
|
|
635
|
+
var t = Ue.exports;
|
|
636
|
+
const Ye = 60, ht = 6, pr = (l) => {
|
|
637
637
|
const {
|
|
638
|
-
activeStepIndex:
|
|
638
|
+
activeStepIndex: o,
|
|
639
639
|
hideIndicators: p = !1,
|
|
640
640
|
steps: d,
|
|
641
|
-
stepperTheme:
|
|
641
|
+
stepperTheme: j = {
|
|
642
642
|
light: "eggplant.light",
|
|
643
643
|
base: "eggplant.base"
|
|
644
644
|
}
|
|
645
|
-
} = l, { activeStep:
|
|
646
|
-
index:
|
|
645
|
+
} = l, { activeStep: v, setActiveStep: b } = Mt({
|
|
646
|
+
index: o,
|
|
647
647
|
count: d.length
|
|
648
648
|
});
|
|
649
649
|
return Z(() => {
|
|
650
|
-
|
|
651
|
-
}, [
|
|
652
|
-
|
|
650
|
+
b(o);
|
|
651
|
+
}, [o, b]), /* @__PURE__ */ t.jsx(
|
|
652
|
+
E,
|
|
653
653
|
{ position: "relative", width: "100%", "data-testid": "stepper", children: /* @__PURE__ */ t.jsx(
|
|
654
654
|
Bt,
|
|
655
655
|
{
|
|
656
656
|
role: "progressbar",
|
|
657
|
-
index:
|
|
657
|
+
index: v,
|
|
658
658
|
width: "100%",
|
|
659
659
|
display: "flex",
|
|
660
660
|
flexWrap: "nowrap",
|
|
661
661
|
children: d.map((R, c) => {
|
|
662
|
-
const
|
|
662
|
+
const y = v === c, s = c === 0, C = c === d.length - 1, g = v > c;
|
|
663
663
|
let u = `${Ye}px`;
|
|
664
|
-
const
|
|
665
|
-
return
|
|
666
|
-
|
|
664
|
+
const D = `calc(100% - ((${Ye * (d.length - 1)}px) - (${d.length - 1} * ${ht * 2}px)))`;
|
|
665
|
+
return y ? u = D : (s || C) && (u = `${Ye - ht}px`), /* @__PURE__ */ t.jsx(
|
|
666
|
+
E,
|
|
667
667
|
{
|
|
668
668
|
width: u,
|
|
669
|
-
opacity:
|
|
670
|
-
paddingRight:
|
|
671
|
-
paddingLeft:
|
|
669
|
+
opacity: g || y ? 1 : 0.2,
|
|
670
|
+
paddingRight: C ? "0" : "6px",
|
|
671
|
+
paddingLeft: s ? "0" : "6px",
|
|
672
672
|
transition: "width 0.4s ease-in-out, opacity 0.4s ease-in-out",
|
|
673
673
|
children: /* @__PURE__ */ t.jsx(
|
|
674
|
-
|
|
674
|
+
E,
|
|
675
675
|
{
|
|
676
676
|
paddingTop: p ? 2 : 5,
|
|
677
677
|
position: "relative",
|
|
678
678
|
width: "100%",
|
|
679
679
|
children: /* @__PURE__ */ t.jsx(
|
|
680
|
-
|
|
680
|
+
E,
|
|
681
681
|
{
|
|
682
682
|
width: "100%",
|
|
683
683
|
position: "absolute",
|
|
684
684
|
top: "0",
|
|
685
|
-
backgroundColor:
|
|
685
|
+
backgroundColor: g ? j.light : j.base,
|
|
686
686
|
height: p ? "4px" : "8px",
|
|
687
687
|
borderRadius: "4",
|
|
688
688
|
left: "0"
|
|
@@ -697,33 +697,33 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
697
697
|
}
|
|
698
698
|
) }
|
|
699
699
|
);
|
|
700
|
-
},
|
|
700
|
+
}, Tr = Ke.memo(pr), kr = ({
|
|
701
701
|
children: l,
|
|
702
|
-
...
|
|
702
|
+
...o
|
|
703
703
|
}) => /* @__PURE__ */ t.jsx(
|
|
704
|
-
|
|
705
|
-
{ color: "tints.uiGrey", fontSize: ["md", null, null, "lg"], ...
|
|
706
|
-
),
|
|
704
|
+
Qt,
|
|
705
|
+
{ color: "tints.uiGrey", fontSize: ["md", null, null, "lg"], ...o, children: l }
|
|
706
|
+
), Oe = (l, o) => {
|
|
707
707
|
const p = (l == null ? void 0 : l.startsWith("http")) || (l == null ? void 0 : l.startsWith("mailto"));
|
|
708
|
-
return
|
|
708
|
+
return o && !p ? {
|
|
709
709
|
to: l
|
|
710
710
|
} : {
|
|
711
711
|
href: l
|
|
712
712
|
};
|
|
713
713
|
}, ze = bt(
|
|
714
|
-
(l,
|
|
714
|
+
(l, o) => {
|
|
715
715
|
const {
|
|
716
716
|
label: p,
|
|
717
717
|
additionalContent: d,
|
|
718
|
-
mainTextFontSize:
|
|
719
|
-
linkComponent:
|
|
720
|
-
href:
|
|
718
|
+
mainTextFontSize: j,
|
|
719
|
+
linkComponent: v,
|
|
720
|
+
href: b,
|
|
721
721
|
...R
|
|
722
|
-
} = l, c =
|
|
722
|
+
} = l, c = v || z, y = Oe(b, !!v);
|
|
723
723
|
return /* @__PURE__ */ t.jsxs(
|
|
724
|
-
|
|
724
|
+
E,
|
|
725
725
|
{
|
|
726
|
-
ref:
|
|
726
|
+
ref: o,
|
|
727
727
|
as: c,
|
|
728
728
|
display: "flex",
|
|
729
729
|
alignItems: "center",
|
|
@@ -736,7 +736,7 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
736
736
|
borderColor: ["tints.cream", null, null, "unset"],
|
|
737
737
|
width: ["100%", null, null, "fit-content"],
|
|
738
738
|
cursor: "pointer",
|
|
739
|
-
...
|
|
739
|
+
...y,
|
|
740
740
|
...R,
|
|
741
741
|
children: [
|
|
742
742
|
/* @__PURE__ */ t.jsx(
|
|
@@ -752,12 +752,12 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
752
752
|
}
|
|
753
753
|
),
|
|
754
754
|
/* @__PURE__ */ t.jsxs(
|
|
755
|
-
|
|
755
|
+
k,
|
|
756
756
|
{ alignItems: "center", gap: "1", width: ["100%", null, null, "auto"], children: [
|
|
757
757
|
/* @__PURE__ */ t.jsx(
|
|
758
758
|
K,
|
|
759
759
|
{
|
|
760
|
-
fontSize: [
|
|
760
|
+
fontSize: [j || "xl", null, null, "lg"],
|
|
761
761
|
fontWeight: "medium",
|
|
762
762
|
children: p
|
|
763
763
|
}
|
|
@@ -794,15 +794,15 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
794
794
|
}
|
|
795
795
|
);
|
|
796
796
|
}
|
|
797
|
-
),
|
|
798
|
-
(l,
|
|
799
|
-
const { children: p, isSelected: d, ...
|
|
797
|
+
), Ie = bt(
|
|
798
|
+
(l, o) => {
|
|
799
|
+
const { children: p, isSelected: d, ...j } = l, v = l.backgroundColor || (d ? "tints.lightCream" : "transparent");
|
|
800
800
|
return /* @__PURE__ */ t.jsx(
|
|
801
801
|
xt,
|
|
802
802
|
{
|
|
803
|
-
ref:
|
|
803
|
+
ref: o,
|
|
804
804
|
borderRadius: "full",
|
|
805
|
-
backgroundColor:
|
|
805
|
+
backgroundColor: v,
|
|
806
806
|
fontSize: "lg !important",
|
|
807
807
|
fontWeight: "normal",
|
|
808
808
|
color: "tints.black",
|
|
@@ -820,47 +820,49 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
820
820
|
left: [null, null, null, -2]
|
|
821
821
|
},
|
|
822
822
|
_hover: {
|
|
823
|
-
backgroundColor:
|
|
823
|
+
backgroundColor: v,
|
|
824
824
|
textDecoration: "none",
|
|
825
825
|
filter: "brightness(0.95)"
|
|
826
826
|
},
|
|
827
|
-
...
|
|
827
|
+
...j,
|
|
828
828
|
children: p
|
|
829
829
|
}
|
|
830
830
|
);
|
|
831
831
|
}
|
|
832
|
-
),
|
|
832
|
+
), hr = ({
|
|
833
833
|
title: l,
|
|
834
|
-
description:
|
|
834
|
+
description: o,
|
|
835
835
|
imageSrc: p,
|
|
836
836
|
imageElement: d,
|
|
837
|
-
button:
|
|
838
|
-
backgroundColor:
|
|
839
|
-
onClick:
|
|
837
|
+
button: j,
|
|
838
|
+
backgroundColor: v = "viridian.wash",
|
|
839
|
+
onClick: b,
|
|
840
840
|
href: R,
|
|
841
841
|
linkComponent: c
|
|
842
842
|
}) => {
|
|
843
|
-
const
|
|
843
|
+
const g = c || z, u = Oe(R, !!c), D = Xe({
|
|
844
844
|
base: !1,
|
|
845
845
|
tablet: !1,
|
|
846
846
|
largeTablet: !1,
|
|
847
847
|
desktop: !0
|
|
848
848
|
});
|
|
849
849
|
return /* @__PURE__ */ t.jsxs(
|
|
850
|
-
|
|
850
|
+
k,
|
|
851
851
|
{
|
|
852
852
|
direction: ["row", null, null, "column"],
|
|
853
853
|
alignItems: ["center"],
|
|
854
854
|
borderRadius: "xl",
|
|
855
855
|
overflow: "hidden",
|
|
856
|
-
height: [
|
|
857
|
-
backgroundColor:
|
|
858
|
-
onClick:
|
|
856
|
+
height: ["80px", null, null, "272px"],
|
|
857
|
+
backgroundColor: v,
|
|
858
|
+
onClick: b,
|
|
859
859
|
"data-testid": "spotlight-card",
|
|
860
860
|
position: "relative",
|
|
861
861
|
transition: "box-shadow 0.2s ease-in-out",
|
|
862
862
|
border: "1px solid",
|
|
863
863
|
borderColor: "transparent",
|
|
864
|
+
minWidth: ["100%", null, null, "320px"],
|
|
865
|
+
maxWidth: ["100%", null, null, "380px"],
|
|
864
866
|
_hover: {
|
|
865
867
|
boxShadow: "lg",
|
|
866
868
|
cursor: "pointer",
|
|
@@ -868,29 +870,32 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
868
870
|
border: "1px solid",
|
|
869
871
|
borderColor: "tints.white"
|
|
870
872
|
},
|
|
871
|
-
as:
|
|
872
|
-
...
|
|
873
|
+
as: D ? k : g,
|
|
874
|
+
...D ? {} : u,
|
|
873
875
|
children: [
|
|
874
876
|
/* @__PURE__ */ t.jsx(
|
|
875
|
-
|
|
877
|
+
E,
|
|
876
878
|
{
|
|
877
879
|
width: ["72px", null, null, "100%"],
|
|
878
|
-
height: ["100%"],
|
|
879
|
-
|
|
880
|
+
height: ["100%", null, null, "188px"],
|
|
881
|
+
sx: {
|
|
882
|
+
img: {
|
|
883
|
+
height: D ? "188px" : "100%"
|
|
884
|
+
}
|
|
885
|
+
},
|
|
880
886
|
children: p ? /* @__PURE__ */ t.jsx(
|
|
881
887
|
Wt,
|
|
882
888
|
{
|
|
883
889
|
src: p,
|
|
884
890
|
objectFit: "cover",
|
|
885
|
-
height: [b, null, null, i],
|
|
886
891
|
width: "100%",
|
|
887
892
|
alt: "",
|
|
888
893
|
"data-testid": "spotlight-card-image"
|
|
889
894
|
}
|
|
890
895
|
) : /* @__PURE__ */ t.jsx(
|
|
891
|
-
|
|
896
|
+
E,
|
|
892
897
|
{
|
|
893
|
-
height: [
|
|
898
|
+
height: [80, null, null, 188],
|
|
894
899
|
overflow: "hidden",
|
|
895
900
|
children: d
|
|
896
901
|
}
|
|
@@ -898,33 +903,39 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
898
903
|
}
|
|
899
904
|
),
|
|
900
905
|
/* @__PURE__ */ t.jsxs(
|
|
901
|
-
|
|
906
|
+
k,
|
|
902
907
|
{
|
|
903
908
|
direction: ["column", null, null, "row"],
|
|
904
909
|
justifyContent: [null, null, null, "space-between"],
|
|
905
910
|
alignItems: ["left", null, null, "center"],
|
|
906
911
|
padding: "4",
|
|
907
|
-
height: [
|
|
912
|
+
height: [
|
|
913
|
+
"80px",
|
|
914
|
+
null,
|
|
915
|
+
null,
|
|
916
|
+
"84px"
|
|
917
|
+
],
|
|
908
918
|
width: "100%",
|
|
909
|
-
position: [null, null, null, "absolute"],
|
|
910
919
|
bottom: [null, null, null, "0"],
|
|
911
|
-
backgroundColor: [null, null, null, `${
|
|
920
|
+
backgroundColor: [null, null, null, `${v}CC`],
|
|
912
921
|
backdropFilter: [null, null, null, "blur(8px)"],
|
|
922
|
+
flex: "1",
|
|
923
|
+
gap: [null, null, null, 3],
|
|
913
924
|
children: [
|
|
914
925
|
/* @__PURE__ */ t.jsxs(
|
|
915
|
-
|
|
916
|
-
{ children: [
|
|
926
|
+
k,
|
|
927
|
+
{ direction: "column", justifyContent: "center", height: "100%", children: [
|
|
917
928
|
/* @__PURE__ */ t.jsx(
|
|
918
929
|
K,
|
|
919
930
|
{ fontSize: "lg", fontWeight: "medium", color: "tints.black", children: l }
|
|
920
931
|
),
|
|
921
932
|
/* @__PURE__ */ t.jsx(
|
|
922
933
|
K,
|
|
923
|
-
{ fontSize: "sm", color: "tints.
|
|
934
|
+
{ fontSize: "sm", color: "tints.darkGrey", children: o }
|
|
924
935
|
)
|
|
925
936
|
] }
|
|
926
937
|
),
|
|
927
|
-
|
|
938
|
+
D ? /* @__PURE__ */ t.jsx(E, { children: j }) : null
|
|
928
939
|
]
|
|
929
940
|
}
|
|
930
941
|
)
|
|
@@ -952,11 +963,15 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
952
963
|
},
|
|
953
964
|
...l
|
|
954
965
|
}
|
|
955
|
-
),
|
|
956
|
-
|
|
966
|
+
), gr = ({
|
|
967
|
+
color: l = Nt.colors.viridian.base,
|
|
968
|
+
width: o
|
|
969
|
+
}) => /* @__PURE__ */ t.jsx(
|
|
970
|
+
er,
|
|
957
971
|
{
|
|
958
|
-
|
|
959
|
-
|
|
972
|
+
as: "svg",
|
|
973
|
+
width: o,
|
|
974
|
+
height: "auto",
|
|
960
975
|
viewBox: "0 0 116 24",
|
|
961
976
|
fill: "none",
|
|
962
977
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -967,40 +982,40 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
967
982
|
{ id: "Everlywell Logo", children: /* @__PURE__ */ t.jsx(
|
|
968
983
|
"path",
|
|
969
984
|
{
|
|
985
|
+
fill: l,
|
|
970
986
|
id: "Everlywell Logo_2",
|
|
971
987
|
fillRule: "evenodd",
|
|
972
988
|
clipRule: "evenodd",
|
|
973
|
-
d: "M54.8224 1V17.8352H52.4272V1H54.8224ZM5.65731 14.992C4.9835 14.4474 4.59261 13.726 4.48231 12.8278H13.7822C13.9984 10.4829 13.5723 8.70006 12.5039 7.47915C11.4322 6.25824 9.93769 5.64945 8.01698 5.64945C6.23518 5.64945 4.78896 6.22479 3.67214 7.38216C2.55841 8.5395 2 9.92767 2 11.8377C2 13.7476 2.56171 15.273 3.68501 16.4136C4.80831 17.5542 6.30612 18.1229 8.18163 18.1229C9.11125 18.1229 10.0216 17.9489 10.9125 17.5944C11.8034 17.2431 12.533 16.7447 13.1075 16.1025L11.5517 14.5371C11.2095 14.9217 10.7253 15.2294 10.099 15.4636C9.46959 15.6944 8.84662 15.8115 8.22684 15.8115C7.18735 15.8115 6.33197 15.5372 5.65731 14.992ZM10.4671 8.60977C11.0772 9.10817 11.416 9.81395 11.4774 10.7305H4.52751C4.71152 9.81395 5.12475 9.10817 5.77027 8.60977C6.41589 8.11136 7.18735 7.86384 8.08473 7.86384C9.05966 7.86384 9.85696 8.11136 10.4671 8.60977ZM22.1465 17.8819L27.0047 5.93699H24.3771L22.6565 10.2486L20.8424 15.2828L18.8217 9.76697L17.2884 5.93699H14.6382L19.5189 17.8819H22.1465ZM30.3737 12.8244C30.4835 13.7242 30.8741 14.4467 31.5487 14.992C32.2234 15.5372 33.0788 15.8115 34.1181 15.8115C34.7379 15.8115 35.361 15.6944 35.9905 15.4636C36.6166 15.2294 37.1009 14.9217 37.4431 14.5371L38.999 16.1025C38.4244 16.7447 37.6948 17.2431 36.8039 17.5944C35.9129 17.9489 35.0027 18.1229 34.0729 18.1229C32.1975 18.1229 30.6997 17.5542 29.5764 16.4136C28.453 15.273 27.8914 13.7476 27.8914 11.8377C27.8914 9.92767 28.4498 8.5395 29.5635 7.38216C30.6804 6.22479 32.1265 5.64945 33.9084 5.64945C35.829 5.64945 37.3236 6.25824 38.3952 7.47915C39.4638 8.70006 39.8899 10.4829 39.6736 12.8278H30.3769L30.3737 12.8244ZM37.3688 10.7305C37.3075 9.81395 36.9685 9.10817 36.3584 8.60977C35.7483 8.11136 34.951 7.86384 33.9762 7.86384C33.0788 7.86384 32.3073 8.11136 31.6617 8.60977C31.0161 9.10817 30.6029 9.81395 30.4189 10.7305H37.3688ZM44.5032 7.5263L44.3418 5.96085H44.3385H42.108V17.8355H44.5032V11.4031C44.5032 10.3595 44.8001 9.5567 45.3877 8.99473C45.9751 8.43278 46.7112 8.15181 47.5956 8.15181C48.3703 8.15181 49.0417 8.39264 49.6163 8.87432L50.7073 6.70677C49.9811 6.03445 49.0353 5.6966 47.8732 5.6966C46.2914 5.6966 45.1681 6.30539 44.5032 7.5263ZM60.3782 12.3193V5.96054H57.983V12.3428C57.983 14.1089 58.4286 15.5004 59.3195 16.5106C60.2104 17.5241 61.3789 18.0292 62.8186 18.0292C64.552 18.0292 65.8787 17.387 66.7923 16.1025V18.1262C66.7923 19.2669 66.4824 20.1499 65.8626 20.7754C65.2429 21.401 64.494 21.7154 63.6094 21.7154C61.8889 21.7154 60.8754 20.9661 60.5654 19.4742H58.2187C58.3252 20.9326 58.8644 22.0532 59.8327 22.8326C60.8011 23.612 62.1214 24 63.6546 24C65.188 24 66.4727 23.5049 67.5121 22.5081C68.5515 21.5147 69.0712 20.0697 69.0712 18.1731V5.96054H66.6761V12.1521C66.6761 13.1623 66.3791 14.0153 65.7819 14.7043C65.188 15.3967 64.4681 15.7412 63.4933 15.7412C62.5184 15.7412 61.7566 15.4268 61.2047 14.8013C60.6526 14.1725 60.3782 13.3463 60.3782 12.3193ZM81.5989 5.93699L84.3427 15.2828L87.1768 5.93699H89.8496L85.8275 17.8819H83.0385L81.6892 13.9315L80.5724 9.79039L79.4328 13.9315L78.0836 17.8819H75.2945L71.2498 5.93699H73.9453L76.7795 15.2828L79.5232 5.93699H81.5924H81.5989ZM94.65 14.992C93.9754 14.4467 93.5848 13.7242 93.475 12.8244L93.4847 12.8278H102.781C102.998 10.4829 102.572 8.70006 101.503 7.47915C100.431 6.25824 98.9368 5.64945 97.0162 5.64945C95.2343 5.64945 93.785 6.22479 92.668 7.38216C91.5544 8.5395 90.9959 9.92767 90.9959 11.8377C90.9959 13.7476 91.5576 15.273 92.6809 16.4136C93.8043 17.5542 95.3021 18.1229 97.1775 18.1229C98.1073 18.1229 99.0175 17.9489 99.9084 17.5944C100.799 17.2431 101.529 16.7447 102.103 16.1025L100.544 14.5371C100.202 14.9217 99.7212 15.2328 99.0918 15.4636C98.4623 15.6944 97.8393 15.8115 97.2196 15.8115C96.1802 15.8115 95.3247 15.5372 94.65 14.992ZM99.4598 8.60977C100.07 9.10817 100.409 9.81395 100.47 10.7305H93.5202C93.7042 9.81395 94.1175 9.10817 94.763 8.60977C95.4086 8.11136 96.1802 7.86384 97.0774 7.86384C98.0524 7.86384 98.8465 8.11136 99.4598 8.60977ZM107.698 1V17.8352H105.303V1H107.698ZM113.53 17.8352V1H111.135V17.8352H113.53Z"
|
|
974
|
-
fill: "#28724F"
|
|
989
|
+
d: "M54.8224 1V17.8352H52.4272V1H54.8224ZM5.65731 14.992C4.9835 14.4474 4.59261 13.726 4.48231 12.8278H13.7822C13.9984 10.4829 13.5723 8.70006 12.5039 7.47915C11.4322 6.25824 9.93769 5.64945 8.01698 5.64945C6.23518 5.64945 4.78896 6.22479 3.67214 7.38216C2.55841 8.5395 2 9.92767 2 11.8377C2 13.7476 2.56171 15.273 3.68501 16.4136C4.80831 17.5542 6.30612 18.1229 8.18163 18.1229C9.11125 18.1229 10.0216 17.9489 10.9125 17.5944C11.8034 17.2431 12.533 16.7447 13.1075 16.1025L11.5517 14.5371C11.2095 14.9217 10.7253 15.2294 10.099 15.4636C9.46959 15.6944 8.84662 15.8115 8.22684 15.8115C7.18735 15.8115 6.33197 15.5372 5.65731 14.992ZM10.4671 8.60977C11.0772 9.10817 11.416 9.81395 11.4774 10.7305H4.52751C4.71152 9.81395 5.12475 9.10817 5.77027 8.60977C6.41589 8.11136 7.18735 7.86384 8.08473 7.86384C9.05966 7.86384 9.85696 8.11136 10.4671 8.60977ZM22.1465 17.8819L27.0047 5.93699H24.3771L22.6565 10.2486L20.8424 15.2828L18.8217 9.76697L17.2884 5.93699H14.6382L19.5189 17.8819H22.1465ZM30.3737 12.8244C30.4835 13.7242 30.8741 14.4467 31.5487 14.992C32.2234 15.5372 33.0788 15.8115 34.1181 15.8115C34.7379 15.8115 35.361 15.6944 35.9905 15.4636C36.6166 15.2294 37.1009 14.9217 37.4431 14.5371L38.999 16.1025C38.4244 16.7447 37.6948 17.2431 36.8039 17.5944C35.9129 17.9489 35.0027 18.1229 34.0729 18.1229C32.1975 18.1229 30.6997 17.5542 29.5764 16.4136C28.453 15.273 27.8914 13.7476 27.8914 11.8377C27.8914 9.92767 28.4498 8.5395 29.5635 7.38216C30.6804 6.22479 32.1265 5.64945 33.9084 5.64945C35.829 5.64945 37.3236 6.25824 38.3952 7.47915C39.4638 8.70006 39.8899 10.4829 39.6736 12.8278H30.3769L30.3737 12.8244ZM37.3688 10.7305C37.3075 9.81395 36.9685 9.10817 36.3584 8.60977C35.7483 8.11136 34.951 7.86384 33.9762 7.86384C33.0788 7.86384 32.3073 8.11136 31.6617 8.60977C31.0161 9.10817 30.6029 9.81395 30.4189 10.7305H37.3688ZM44.5032 7.5263L44.3418 5.96085H44.3385H42.108V17.8355H44.5032V11.4031C44.5032 10.3595 44.8001 9.5567 45.3877 8.99473C45.9751 8.43278 46.7112 8.15181 47.5956 8.15181C48.3703 8.15181 49.0417 8.39264 49.6163 8.87432L50.7073 6.70677C49.9811 6.03445 49.0353 5.6966 47.8732 5.6966C46.2914 5.6966 45.1681 6.30539 44.5032 7.5263ZM60.3782 12.3193V5.96054H57.983V12.3428C57.983 14.1089 58.4286 15.5004 59.3195 16.5106C60.2104 17.5241 61.3789 18.0292 62.8186 18.0292C64.552 18.0292 65.8787 17.387 66.7923 16.1025V18.1262C66.7923 19.2669 66.4824 20.1499 65.8626 20.7754C65.2429 21.401 64.494 21.7154 63.6094 21.7154C61.8889 21.7154 60.8754 20.9661 60.5654 19.4742H58.2187C58.3252 20.9326 58.8644 22.0532 59.8327 22.8326C60.8011 23.612 62.1214 24 63.6546 24C65.188 24 66.4727 23.5049 67.5121 22.5081C68.5515 21.5147 69.0712 20.0697 69.0712 18.1731V5.96054H66.6761V12.1521C66.6761 13.1623 66.3791 14.0153 65.7819 14.7043C65.188 15.3967 64.4681 15.7412 63.4933 15.7412C62.5184 15.7412 61.7566 15.4268 61.2047 14.8013C60.6526 14.1725 60.3782 13.3463 60.3782 12.3193ZM81.5989 5.93699L84.3427 15.2828L87.1768 5.93699H89.8496L85.8275 17.8819H83.0385L81.6892 13.9315L80.5724 9.79039L79.4328 13.9315L78.0836 17.8819H75.2945L71.2498 5.93699H73.9453L76.7795 15.2828L79.5232 5.93699H81.5924H81.5989ZM94.65 14.992C93.9754 14.4467 93.5848 13.7242 93.475 12.8244L93.4847 12.8278H102.781C102.998 10.4829 102.572 8.70006 101.503 7.47915C100.431 6.25824 98.9368 5.64945 97.0162 5.64945C95.2343 5.64945 93.785 6.22479 92.668 7.38216C91.5544 8.5395 90.9959 9.92767 90.9959 11.8377C90.9959 13.7476 91.5576 15.273 92.6809 16.4136C93.8043 17.5542 95.3021 18.1229 97.1775 18.1229C98.1073 18.1229 99.0175 17.9489 99.9084 17.5944C100.799 17.2431 101.529 16.7447 102.103 16.1025L100.544 14.5371C100.202 14.9217 99.7212 15.2328 99.0918 15.4636C98.4623 15.6944 97.8393 15.8115 97.2196 15.8115C96.1802 15.8115 95.3247 15.5372 94.65 14.992ZM99.4598 8.60977C100.07 9.10817 100.409 9.81395 100.47 10.7305H93.5202C93.7042 9.81395 94.1175 9.10817 94.763 8.60977C95.4086 8.11136 96.1802 7.86384 97.0774 7.86384C98.0524 7.86384 98.8465 8.11136 99.4598 8.60977ZM107.698 1V17.8352H105.303V1H107.698ZM113.53 17.8352V1H111.135V17.8352H113.53Z"
|
|
975
990
|
}
|
|
976
991
|
) }
|
|
977
992
|
)
|
|
978
993
|
}
|
|
979
|
-
),
|
|
994
|
+
), vr = ({
|
|
980
995
|
desktopTopButtons: l,
|
|
981
|
-
kitRegistrationElement:
|
|
996
|
+
kitRegistrationElement: o,
|
|
982
997
|
profileElement: p,
|
|
983
998
|
cartElement: d,
|
|
984
|
-
onSearchClick:
|
|
985
|
-
onMenuClick:
|
|
986
|
-
hasSearch:
|
|
999
|
+
onSearchClick: j,
|
|
1000
|
+
onMenuClick: v,
|
|
1001
|
+
hasSearch: b = !1,
|
|
987
1002
|
logoLink: R = "https://www.everlywell.com",
|
|
988
1003
|
setTopOffset: c,
|
|
989
|
-
linkComponent:
|
|
990
|
-
onLogoClick:
|
|
1004
|
+
linkComponent: y,
|
|
1005
|
+
onLogoClick: s
|
|
991
1006
|
}) => {
|
|
992
|
-
const
|
|
993
|
-
if (
|
|
994
|
-
const u =
|
|
1007
|
+
const C = qt(null), g = mt(() => {
|
|
1008
|
+
if (C.current) {
|
|
1009
|
+
const u = C.current.getBoundingClientRect();
|
|
995
1010
|
c(u.bottom);
|
|
996
1011
|
}
|
|
997
1012
|
}, []);
|
|
998
1013
|
return Z(() => {
|
|
999
|
-
|
|
1000
|
-
}, [
|
|
1001
|
-
|
|
1014
|
+
g();
|
|
1015
|
+
}, [g]), /* @__PURE__ */ t.jsx(
|
|
1016
|
+
E,
|
|
1002
1017
|
{
|
|
1003
|
-
ref:
|
|
1018
|
+
ref: C,
|
|
1004
1019
|
paddingY: "4",
|
|
1005
1020
|
paddingX: [4, null, null, 12],
|
|
1006
1021
|
borderBottom: "1px solid",
|
|
@@ -1010,73 +1025,73 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1010
1025
|
top: "0",
|
|
1011
1026
|
width: "100%",
|
|
1012
1027
|
zIndex: ["sticky", null, null, "tooltip"],
|
|
1013
|
-
onMouseEnter:
|
|
1028
|
+
onMouseEnter: g,
|
|
1014
1029
|
children: /* @__PURE__ */ t.jsxs(
|
|
1015
|
-
|
|
1030
|
+
k,
|
|
1016
1031
|
{ justifyContent: "space-between", alignItems: "center", children: [
|
|
1017
1032
|
/* @__PURE__ */ t.jsxs(
|
|
1018
|
-
|
|
1033
|
+
k,
|
|
1019
1034
|
{ alignItems: "center", gap: "5", children: [
|
|
1020
1035
|
/* @__PURE__ */ t.jsx(
|
|
1021
|
-
|
|
1036
|
+
E,
|
|
1022
1037
|
{
|
|
1023
1038
|
"aria-label": "Go to homepage",
|
|
1024
|
-
onClick:
|
|
1025
|
-
as:
|
|
1026
|
-
...
|
|
1027
|
-
children: /* @__PURE__ */ t.jsx(
|
|
1039
|
+
onClick: s,
|
|
1040
|
+
as: y || z,
|
|
1041
|
+
...Oe(R, !!y),
|
|
1042
|
+
children: /* @__PURE__ */ t.jsx(gr, { width: "116px" })
|
|
1028
1043
|
}
|
|
1029
1044
|
),
|
|
1030
1045
|
/* @__PURE__ */ t.jsx(
|
|
1031
|
-
|
|
1046
|
+
k,
|
|
1032
1047
|
{ display: ["none", null, null, "flex"], children: l }
|
|
1033
1048
|
)
|
|
1034
1049
|
] }
|
|
1035
1050
|
),
|
|
1036
1051
|
/* @__PURE__ */ t.jsxs(
|
|
1037
|
-
|
|
1052
|
+
k,
|
|
1038
1053
|
{ alignItems: "center", gap: "2", children: [
|
|
1039
1054
|
/* @__PURE__ */ t.jsx(
|
|
1040
|
-
|
|
1041
|
-
{ display: ["none", null, null, "block"], children:
|
|
1055
|
+
E,
|
|
1056
|
+
{ display: ["none", null, null, "block"], children: o }
|
|
1042
1057
|
),
|
|
1043
|
-
|
|
1058
|
+
b ? /* @__PURE__ */ t.jsx(
|
|
1044
1059
|
ce,
|
|
1045
1060
|
{
|
|
1046
1061
|
"aria-label": "Search",
|
|
1047
1062
|
icon: /* @__PURE__ */ t.jsx(ue, { as: jt }),
|
|
1048
|
-
onClick:
|
|
1063
|
+
onClick: j
|
|
1049
1064
|
}
|
|
1050
1065
|
) : null,
|
|
1051
1066
|
d,
|
|
1052
1067
|
/* @__PURE__ */ t.jsx(
|
|
1053
|
-
|
|
1068
|
+
E,
|
|
1054
1069
|
{ display: ["flex", null, null, "none"], children: /* @__PURE__ */ t.jsx(
|
|
1055
1070
|
ce,
|
|
1056
1071
|
{
|
|
1057
|
-
icon: /* @__PURE__ */ t.jsx(
|
|
1072
|
+
icon: /* @__PURE__ */ t.jsx(ar, {}),
|
|
1058
1073
|
"aria-label": "menu",
|
|
1059
1074
|
"data-testid": "menu-button",
|
|
1060
|
-
onClick:
|
|
1075
|
+
onClick: v
|
|
1061
1076
|
}
|
|
1062
1077
|
) }
|
|
1063
1078
|
),
|
|
1064
|
-
/* @__PURE__ */ t.jsx(
|
|
1079
|
+
/* @__PURE__ */ t.jsx(E, { display: ["none", null, null, "block"], children: p })
|
|
1065
1080
|
] }
|
|
1066
1081
|
)
|
|
1067
1082
|
] }
|
|
1068
1083
|
)
|
|
1069
1084
|
}
|
|
1070
1085
|
);
|
|
1071
|
-
},
|
|
1086
|
+
}, xr = ({
|
|
1072
1087
|
count: l = 0,
|
|
1073
|
-
...
|
|
1088
|
+
...o
|
|
1074
1089
|
}) => /* @__PURE__ */ t.jsxs(
|
|
1075
|
-
|
|
1090
|
+
E,
|
|
1076
1091
|
{ position: "relative", display: "inline-block", children: [
|
|
1077
|
-
/* @__PURE__ */ t.jsx(ce, { icon: /* @__PURE__ */ t.jsx(
|
|
1092
|
+
/* @__PURE__ */ t.jsx(ce, { icon: /* @__PURE__ */ t.jsx(ir, {}), ...o }),
|
|
1078
1093
|
l > 0 && /* @__PURE__ */ t.jsx(
|
|
1079
|
-
|
|
1094
|
+
E,
|
|
1080
1095
|
{
|
|
1081
1096
|
display: "flex",
|
|
1082
1097
|
minWidth: "20px",
|
|
@@ -1097,20 +1112,20 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1097
1112
|
}
|
|
1098
1113
|
)
|
|
1099
1114
|
] }
|
|
1100
|
-
),
|
|
1115
|
+
), Dr = ({
|
|
1101
1116
|
numDesktopLinks: l = 5,
|
|
1102
|
-
showPromoButton:
|
|
1117
|
+
showPromoButton: o = !1
|
|
1103
1118
|
}) => /* @__PURE__ */ t.jsx(
|
|
1104
|
-
|
|
1119
|
+
Yt,
|
|
1105
1120
|
{ spacing: 0, align: "stretch", children: /* @__PURE__ */ t.jsx(
|
|
1106
|
-
|
|
1121
|
+
E,
|
|
1107
1122
|
{
|
|
1108
1123
|
paddingY: 4,
|
|
1109
1124
|
paddingX: 6,
|
|
1110
1125
|
borderBottomWidth: "1px",
|
|
1111
1126
|
borderColor: "tints.lightCream",
|
|
1112
1127
|
children: /* @__PURE__ */ t.jsxs(
|
|
1113
|
-
|
|
1128
|
+
k,
|
|
1114
1129
|
{ justify: "space-between", align: "center", children: [
|
|
1115
1130
|
/* @__PURE__ */ t.jsx(Ne, { w: "120px", h: "48px" }),
|
|
1116
1131
|
/* @__PURE__ */ t.jsxs(
|
|
@@ -1124,7 +1139,7 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1124
1139
|
Array.from({ length: l }).map(
|
|
1125
1140
|
(p, d) => /* @__PURE__ */ t.jsx(Ne, { width: "90px", height: "48px" }, d)
|
|
1126
1141
|
),
|
|
1127
|
-
|
|
1142
|
+
o && /* @__PURE__ */ t.jsx(Ne, { width: "110px", height: "48px", borderRadius: "full" })
|
|
1128
1143
|
]
|
|
1129
1144
|
}
|
|
1130
1145
|
),
|
|
@@ -1153,14 +1168,14 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1153
1168
|
)
|
|
1154
1169
|
}
|
|
1155
1170
|
) }
|
|
1156
|
-
),
|
|
1171
|
+
), br = (l, o) => {
|
|
1157
1172
|
let p;
|
|
1158
1173
|
return (...d) => {
|
|
1159
1174
|
p && clearTimeout(p), p = setTimeout(() => {
|
|
1160
1175
|
l(...d);
|
|
1161
|
-
},
|
|
1176
|
+
}, o);
|
|
1162
1177
|
};
|
|
1163
|
-
}, Ze = "nav-drawer-hover",
|
|
1178
|
+
}, Ze = "nav-drawer-hover", gt = (l) => {
|
|
1164
1179
|
window.dispatchEvent(
|
|
1165
1180
|
new CustomEvent(Ze, {
|
|
1166
1181
|
detail: { isHovering: l },
|
|
@@ -1168,31 +1183,31 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1168
1183
|
cancelable: !0
|
|
1169
1184
|
})
|
|
1170
1185
|
);
|
|
1171
|
-
},
|
|
1186
|
+
}, mr = (l = !1, o = !1, p = !1) => l || !o ? "column" : p ? "row" : "row-reverse", jr = Je(zt), Cr = Je(Gt), Ge = ({
|
|
1172
1187
|
isOpen: l = !1,
|
|
1173
|
-
onClose:
|
|
1188
|
+
onClose: o,
|
|
1174
1189
|
title: p,
|
|
1175
1190
|
navDrawerLinks: d,
|
|
1176
|
-
bottomNavButtons:
|
|
1177
|
-
spotlightCards:
|
|
1178
|
-
bottomButton:
|
|
1191
|
+
bottomNavButtons: j,
|
|
1192
|
+
spotlightCards: v,
|
|
1193
|
+
bottomButton: b,
|
|
1179
1194
|
hasBackButton: R = !0,
|
|
1180
1195
|
onBackClick: c,
|
|
1181
|
-
hasOnlySpotlightCards:
|
|
1182
|
-
hasSearch:
|
|
1183
|
-
onSearch:
|
|
1184
|
-
topOffset:
|
|
1196
|
+
hasOnlySpotlightCards: y = !1,
|
|
1197
|
+
hasSearch: s = !1,
|
|
1198
|
+
onSearch: C = () => ({}),
|
|
1199
|
+
topOffset: g
|
|
1185
1200
|
}) => {
|
|
1186
1201
|
const u = Xe({
|
|
1187
1202
|
base: !1,
|
|
1188
1203
|
tablet: !1,
|
|
1189
1204
|
largeTablet: !1,
|
|
1190
1205
|
desktop: !0
|
|
1191
|
-
}),
|
|
1192
|
-
Q((
|
|
1206
|
+
}), D = u ? "top" : "right", [q, Q] = W(0), [$, _] = W(!1), de = () => {
|
|
1207
|
+
Q((A) => A + 1);
|
|
1193
1208
|
}, fe = mt(
|
|
1194
|
-
|
|
1195
|
-
|
|
1209
|
+
br((A) => {
|
|
1210
|
+
C(A), de();
|
|
1196
1211
|
}, 100),
|
|
1197
1212
|
[]
|
|
1198
1213
|
);
|
|
@@ -1200,28 +1215,28 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1200
1215
|
l && _(!0);
|
|
1201
1216
|
}, [l]);
|
|
1202
1217
|
const pe = () => {
|
|
1203
|
-
l || (_(!1),
|
|
1218
|
+
l || (_(!1), o());
|
|
1204
1219
|
};
|
|
1205
1220
|
return /* @__PURE__ */ t.jsx(
|
|
1206
1221
|
Ut,
|
|
1207
1222
|
{
|
|
1208
|
-
isOpen:
|
|
1223
|
+
isOpen: $ || l,
|
|
1209
1224
|
onClose: () => {
|
|
1210
|
-
|
|
1225
|
+
$ && u || o();
|
|
1211
1226
|
},
|
|
1212
|
-
placement:
|
|
1227
|
+
placement: D,
|
|
1213
1228
|
blockScrollOnMount: !1,
|
|
1214
1229
|
autoFocus: !1,
|
|
1215
1230
|
children: /* @__PURE__ */ t.jsx(
|
|
1216
|
-
|
|
1231
|
+
cr,
|
|
1217
1232
|
{ children: l ? /* @__PURE__ */ t.jsxs(
|
|
1218
1233
|
t.Fragment,
|
|
1219
1234
|
{ children: [
|
|
1220
1235
|
/* @__PURE__ */ t.jsx(
|
|
1221
|
-
|
|
1236
|
+
Cr,
|
|
1222
1237
|
{
|
|
1223
1238
|
backgroundColor: "tints.black",
|
|
1224
|
-
top: ["0", null, null, `${
|
|
1239
|
+
top: ["0", null, null, `${g}px`],
|
|
1225
1240
|
opacity: u ? void 0 : "0.4 !important",
|
|
1226
1241
|
...u ? {
|
|
1227
1242
|
initial: { opacity: 0 },
|
|
@@ -1236,17 +1251,17 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1236
1251
|
}
|
|
1237
1252
|
),
|
|
1238
1253
|
/* @__PURE__ */ t.jsxs(
|
|
1239
|
-
|
|
1254
|
+
jr,
|
|
1240
1255
|
{
|
|
1241
|
-
onClick: (
|
|
1242
|
-
const V =
|
|
1243
|
-
V && V.href === window.location.href &&
|
|
1256
|
+
onClick: (A) => {
|
|
1257
|
+
const V = A.target.closest("a");
|
|
1258
|
+
V && V.href === window.location.href && o();
|
|
1244
1259
|
},
|
|
1245
1260
|
onMouseEnter: () => {
|
|
1246
|
-
u &&
|
|
1261
|
+
u && gt(!0);
|
|
1247
1262
|
},
|
|
1248
1263
|
onMouseLeave: () => {
|
|
1249
|
-
u &&
|
|
1264
|
+
u && gt(!1);
|
|
1250
1265
|
},
|
|
1251
1266
|
paddingTop: "4",
|
|
1252
1267
|
paddingX: [4, null, null, 12],
|
|
@@ -1254,7 +1269,7 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1254
1269
|
overflow: ["auto", null, null, "hidden"],
|
|
1255
1270
|
maxHeight: "100vh",
|
|
1256
1271
|
position: "relative",
|
|
1257
|
-
top: u ? `${
|
|
1272
|
+
top: u ? `${g}px !important` : void 0,
|
|
1258
1273
|
onAnimationComplete: pe,
|
|
1259
1274
|
...u ? {
|
|
1260
1275
|
initial: { height: 0, opacity: 0 },
|
|
@@ -1263,15 +1278,15 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1263
1278
|
transition: { duration: 0.3 }
|
|
1264
1279
|
} : {},
|
|
1265
1280
|
children: [
|
|
1266
|
-
!
|
|
1267
|
-
|
|
1281
|
+
!s && u ? null : /* @__PURE__ */ t.jsxs(
|
|
1282
|
+
Zt,
|
|
1268
1283
|
{
|
|
1269
1284
|
padding: "0",
|
|
1270
|
-
flexDirection:
|
|
1271
|
-
gap:
|
|
1285
|
+
flexDirection: s ? "column" : "row",
|
|
1286
|
+
gap: s ? "4" : "0",
|
|
1272
1287
|
children: [
|
|
1273
1288
|
u ? null : /* @__PURE__ */ t.jsxs(
|
|
1274
|
-
|
|
1289
|
+
k,
|
|
1275
1290
|
{
|
|
1276
1291
|
width: "100%",
|
|
1277
1292
|
justifyContent: "space-between",
|
|
@@ -1280,7 +1295,7 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1280
1295
|
R ? /* @__PURE__ */ t.jsx(
|
|
1281
1296
|
ce,
|
|
1282
1297
|
{
|
|
1283
|
-
icon: /* @__PURE__ */ t.jsx(
|
|
1298
|
+
icon: /* @__PURE__ */ t.jsx(or, {}),
|
|
1284
1299
|
onClick: () => {
|
|
1285
1300
|
c && c();
|
|
1286
1301
|
},
|
|
@@ -1298,22 +1313,22 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1298
1313
|
/* @__PURE__ */ t.jsx(
|
|
1299
1314
|
ce,
|
|
1300
1315
|
{
|
|
1301
|
-
icon: /* @__PURE__ */ t.jsx(
|
|
1302
|
-
onClick:
|
|
1316
|
+
icon: /* @__PURE__ */ t.jsx(sr, {}),
|
|
1317
|
+
onClick: o,
|
|
1303
1318
|
"aria-label": "Close"
|
|
1304
1319
|
}
|
|
1305
1320
|
)
|
|
1306
1321
|
]
|
|
1307
1322
|
}
|
|
1308
1323
|
),
|
|
1309
|
-
|
|
1310
|
-
|
|
1324
|
+
s && /* @__PURE__ */ t.jsxs(
|
|
1325
|
+
tr,
|
|
1311
1326
|
{ width: "100%", children: [
|
|
1312
1327
|
/* @__PURE__ */ t.jsx(
|
|
1313
|
-
|
|
1328
|
+
rr,
|
|
1314
1329
|
{
|
|
1315
|
-
onChange: (
|
|
1316
|
-
fe(
|
|
1330
|
+
onChange: (A) => {
|
|
1331
|
+
fe(A.target.value);
|
|
1317
1332
|
},
|
|
1318
1333
|
placeholder: "Search",
|
|
1319
1334
|
autoFocus: !0,
|
|
@@ -1322,8 +1337,8 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1322
1337
|
}
|
|
1323
1338
|
),
|
|
1324
1339
|
/* @__PURE__ */ t.jsx(
|
|
1325
|
-
|
|
1326
|
-
{ pointerEvents: "none", children: /* @__PURE__ */ t.jsx(
|
|
1340
|
+
nr,
|
|
1341
|
+
{ pointerEvents: "none", children: /* @__PURE__ */ t.jsx(lr, { as: jt, color: "gray.500" }) }
|
|
1327
1342
|
)
|
|
1328
1343
|
] }
|
|
1329
1344
|
)
|
|
@@ -1331,7 +1346,7 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1331
1346
|
}
|
|
1332
1347
|
),
|
|
1333
1348
|
/* @__PURE__ */ t.jsx(
|
|
1334
|
-
|
|
1349
|
+
Kt,
|
|
1335
1350
|
{
|
|
1336
1351
|
paddingX: "0",
|
|
1337
1352
|
paddingBottom: [6, null, null, 4],
|
|
@@ -1356,48 +1371,45 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1356
1371
|
} : {},
|
|
1357
1372
|
style: {
|
|
1358
1373
|
display: "flex",
|
|
1359
|
-
flexDirection:
|
|
1360
|
-
|
|
1374
|
+
flexDirection: mr(
|
|
1375
|
+
y,
|
|
1361
1376
|
u,
|
|
1362
|
-
|
|
1377
|
+
s
|
|
1363
1378
|
),
|
|
1364
1379
|
gap: "24px",
|
|
1365
1380
|
justifyContent: "space-between"
|
|
1366
1381
|
},
|
|
1367
1382
|
children: [
|
|
1368
|
-
|
|
1369
|
-
|
|
1383
|
+
v ? /* @__PURE__ */ t.jsx(
|
|
1384
|
+
E,
|
|
1370
1385
|
{
|
|
1371
|
-
gap:
|
|
1386
|
+
gap: [3, null, null, 6],
|
|
1372
1387
|
display: "flex",
|
|
1373
1388
|
justifyContent: [null, null, null, "center"],
|
|
1374
1389
|
sx: {
|
|
1375
|
-
"& > *": {
|
|
1376
|
-
width: ["100%", null, null, "365px", "432px"]
|
|
1377
|
-
},
|
|
1378
1390
|
flexWrap: "wrap",
|
|
1379
1391
|
flexDirection: ["column", null, null, "row"]
|
|
1380
1392
|
},
|
|
1381
|
-
children:
|
|
1393
|
+
children: v
|
|
1382
1394
|
}
|
|
1383
1395
|
) : null,
|
|
1384
1396
|
/* @__PURE__ */ t.jsxs(
|
|
1385
|
-
|
|
1397
|
+
k,
|
|
1386
1398
|
{
|
|
1387
1399
|
position: [null, null, null, "relative"],
|
|
1388
1400
|
flexDirection: "column",
|
|
1389
1401
|
gap: "6",
|
|
1390
|
-
width: ["100%", null, null,
|
|
1402
|
+
width: ["100%", null, null, s ? null : "auto"],
|
|
1391
1403
|
children: [
|
|
1392
|
-
d ? /* @__PURE__ */ t.jsx(
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1404
|
+
d ? /* @__PURE__ */ t.jsx(E, { children: d }) : null,
|
|
1405
|
+
j && !u ? /* @__PURE__ */ t.jsx(E, { children: j }) : null,
|
|
1406
|
+
b ? /* @__PURE__ */ t.jsx(
|
|
1407
|
+
E,
|
|
1396
1408
|
{
|
|
1397
1409
|
width: ["100%"],
|
|
1398
1410
|
position: [null, null, null, "absolute"],
|
|
1399
1411
|
bottom: [null, null, null, 0],
|
|
1400
|
-
children:
|
|
1412
|
+
children: b
|
|
1401
1413
|
}
|
|
1402
1414
|
) : null
|
|
1403
1415
|
]
|
|
@@ -1417,92 +1429,92 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1417
1429
|
)
|
|
1418
1430
|
}
|
|
1419
1431
|
);
|
|
1420
|
-
},
|
|
1421
|
-
const
|
|
1432
|
+
}, vt = (l) => {
|
|
1433
|
+
const o = /* @__PURE__ */ new Set();
|
|
1422
1434
|
return l.reduce((p, d) => {
|
|
1423
|
-
var
|
|
1424
|
-
const
|
|
1425
|
-
const c = R.links.filter((
|
|
1426
|
-
return [...
|
|
1435
|
+
var v;
|
|
1436
|
+
const j = ((v = d.sections) == null ? void 0 : v.reduce((b, R) => {
|
|
1437
|
+
const c = R.links.filter((y) => o.has(y.label) || y.isSearchable !== !0 ? !1 : (o.add(y.label), !0));
|
|
1438
|
+
return [...b, ...c];
|
|
1427
1439
|
}, [])) ?? [];
|
|
1428
|
-
return [...p, ...
|
|
1440
|
+
return [...p, ...j];
|
|
1429
1441
|
}, []);
|
|
1430
|
-
},
|
|
1442
|
+
}, yr = ({
|
|
1431
1443
|
source: l,
|
|
1432
|
-
onSearchCallback:
|
|
1444
|
+
onSearchCallback: o,
|
|
1433
1445
|
isActive: p
|
|
1434
1446
|
}) => {
|
|
1435
|
-
const [d,
|
|
1436
|
-
if (!
|
|
1437
|
-
const
|
|
1438
|
-
return
|
|
1439
|
-
const
|
|
1440
|
-
return
|
|
1441
|
-
}).sort((u,
|
|
1442
|
-
}, c = (
|
|
1443
|
-
if (
|
|
1444
|
-
|
|
1447
|
+
const [d, j] = W(""), [v, b] = W([]), R = (s, C) => {
|
|
1448
|
+
if (!s) return [];
|
|
1449
|
+
const g = s.toLowerCase();
|
|
1450
|
+
return C.filter((u) => {
|
|
1451
|
+
const D = u.label.toLowerCase().includes(g), q = typeof u.additionalContent == "string" && u.additionalContent.toLowerCase().includes(g);
|
|
1452
|
+
return D || q;
|
|
1453
|
+
}).sort((u, D) => u.label.localeCompare(D.label));
|
|
1454
|
+
}, c = (s) => {
|
|
1455
|
+
if (j(s), !s) {
|
|
1456
|
+
b([]);
|
|
1445
1457
|
return;
|
|
1446
1458
|
}
|
|
1447
|
-
const
|
|
1448
|
-
|
|
1449
|
-
},
|
|
1450
|
-
|
|
1459
|
+
const C = R(s, l);
|
|
1460
|
+
b(C), o && o(s, C);
|
|
1461
|
+
}, y = () => {
|
|
1462
|
+
j(""), b([]);
|
|
1451
1463
|
};
|
|
1452
1464
|
return Z(() => {
|
|
1453
|
-
p || (
|
|
1465
|
+
p || (j(""), b([]));
|
|
1454
1466
|
}, [p]), {
|
|
1455
1467
|
query: d,
|
|
1456
|
-
results:
|
|
1457
|
-
handleClose:
|
|
1468
|
+
results: v,
|
|
1469
|
+
handleClose: y,
|
|
1458
1470
|
handleSearch: c
|
|
1459
1471
|
};
|
|
1460
|
-
},
|
|
1472
|
+
}, Ir = ({
|
|
1461
1473
|
categories: l = [],
|
|
1462
|
-
onCartClick:
|
|
1474
|
+
onCartClick: o,
|
|
1463
1475
|
mainCategoryLabel: p = "Menu",
|
|
1464
1476
|
logoLink: d = "https://www.everlywell.com",
|
|
1465
|
-
hasSearch:
|
|
1466
|
-
onSearchClick:
|
|
1467
|
-
registrationUrl:
|
|
1477
|
+
hasSearch: j = !0,
|
|
1478
|
+
onSearchClick: v,
|
|
1479
|
+
registrationUrl: b,
|
|
1468
1480
|
profileUrl: R = "https://secure.everlywell.com/login",
|
|
1469
1481
|
mobileBottomButtons: c = [],
|
|
1470
|
-
numberOfCartItems:
|
|
1471
|
-
linkComponent:
|
|
1472
|
-
onSearchCallback:
|
|
1473
|
-
onLinkClick:
|
|
1482
|
+
numberOfCartItems: y = 0,
|
|
1483
|
+
linkComponent: s,
|
|
1484
|
+
onSearchCallback: C,
|
|
1485
|
+
onLinkClick: g,
|
|
1474
1486
|
onCategoryOpen: u,
|
|
1475
|
-
onMobileMenuOpen:
|
|
1487
|
+
onMobileMenuOpen: D,
|
|
1476
1488
|
onBackToMainMenu: q,
|
|
1477
1489
|
onRegisterKitClick: Q,
|
|
1478
|
-
onProfileClick:
|
|
1490
|
+
onProfileClick: $,
|
|
1479
1491
|
onLogoClick: _,
|
|
1480
1492
|
shopAllProductsUrl: de,
|
|
1481
1493
|
onShopAllProductsClick: fe
|
|
1482
1494
|
}) => {
|
|
1483
|
-
var
|
|
1484
|
-
const [pe,
|
|
1495
|
+
var G, be, me;
|
|
1496
|
+
const [pe, A] = W(!1), [ee, V] = W(!1), [w, M] = W(null), [we, he] = W(!1), [H, N] = W(!1), [Y, Ee] = W(0), Re = Xe({
|
|
1485
1497
|
base: !1,
|
|
1486
1498
|
tablet: !1,
|
|
1487
1499
|
largeTablet: !1,
|
|
1488
1500
|
desktop: !0
|
|
1489
1501
|
}) ?? !1;
|
|
1490
1502
|
Z(() => {
|
|
1491
|
-
ne(),
|
|
1503
|
+
ne(), M(null);
|
|
1492
1504
|
}, [Re]);
|
|
1493
1505
|
const {
|
|
1494
1506
|
query: _e,
|
|
1495
1507
|
results: te,
|
|
1496
1508
|
handleSearch: Se
|
|
1497
|
-
} =
|
|
1498
|
-
source:
|
|
1499
|
-
onSearchCallback:
|
|
1509
|
+
} = yr({
|
|
1510
|
+
source: vt(l),
|
|
1511
|
+
onSearchCallback: C,
|
|
1500
1512
|
isActive: ee
|
|
1501
|
-
}),
|
|
1502
|
-
|
|
1503
|
-
{ gap:
|
|
1504
|
-
|
|
1505
|
-
|
|
1513
|
+
}), ge = te.length > 0, re = s || z, Te = Oe(de, !!s), Pe = _e && /* @__PURE__ */ t.jsxs(
|
|
1514
|
+
k,
|
|
1515
|
+
{ gap: ge ? "6" : 0, direction: "column", children: [
|
|
1516
|
+
ge ? /* @__PURE__ */ t.jsx(K, { color: "tints.uiGrey", children: `${te.length} Results` }) : /* @__PURE__ */ t.jsxs(
|
|
1517
|
+
k,
|
|
1506
1518
|
{ direction: "column", gap: "6", alignItems: "flex-start", children: [
|
|
1507
1519
|
/* @__PURE__ */ t.jsx(
|
|
1508
1520
|
K,
|
|
@@ -1522,36 +1534,36 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1522
1534
|
] }
|
|
1523
1535
|
),
|
|
1524
1536
|
/* @__PURE__ */ t.jsx(
|
|
1525
|
-
|
|
1537
|
+
Xt,
|
|
1526
1538
|
{ columns: [1, 1, 1, 4], children: te.map(
|
|
1527
|
-
(a,
|
|
1528
|
-
|
|
1539
|
+
(a, I) => /* @__PURE__ */ t.jsx(
|
|
1540
|
+
Jt,
|
|
1529
1541
|
{ children: /* @__PURE__ */ t.jsx(
|
|
1530
1542
|
ze,
|
|
1531
1543
|
{
|
|
1532
1544
|
href: a.href,
|
|
1533
1545
|
label: a.label,
|
|
1534
1546
|
additionalContent: a == null ? void 0 : a.additionalContent,
|
|
1535
|
-
linkComponent:
|
|
1547
|
+
linkComponent: s
|
|
1536
1548
|
}
|
|
1537
1549
|
) },
|
|
1538
|
-
`${a.label}-${
|
|
1550
|
+
`${a.label}-${I}`
|
|
1539
1551
|
)
|
|
1540
1552
|
) }
|
|
1541
1553
|
)
|
|
1542
1554
|
] }
|
|
1543
1555
|
), ne = () => {
|
|
1544
|
-
|
|
1545
|
-
}, B = (a) => "href" in a,
|
|
1546
|
-
B(a) ?
|
|
1556
|
+
A(!1), M(null);
|
|
1557
|
+
}, B = (a) => "href" in a, ve = (a) => {
|
|
1558
|
+
B(a) ? g == null || g(a.label) : M(a);
|
|
1547
1559
|
}, le = (a) => {
|
|
1548
|
-
he(!0), V(!1),
|
|
1560
|
+
he(!0), V(!1), M(null), !B(a) && (a.sections || a.spotlightCards) && M(a);
|
|
1549
1561
|
}, xe = () => {
|
|
1550
1562
|
he(!1);
|
|
1551
1563
|
};
|
|
1552
1564
|
Z(() => {
|
|
1553
|
-
const a = (
|
|
1554
|
-
N(
|
|
1565
|
+
const a = (I) => {
|
|
1566
|
+
N(I.detail.isHovering);
|
|
1555
1567
|
};
|
|
1556
1568
|
return window.addEventListener(
|
|
1557
1569
|
Ze,
|
|
@@ -1563,75 +1575,75 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1563
1575
|
);
|
|
1564
1576
|
};
|
|
1565
1577
|
}, []), Z(() => {
|
|
1566
|
-
!
|
|
1567
|
-
}, [
|
|
1578
|
+
!we && !H && (M(null), V(!1));
|
|
1579
|
+
}, [we, H]), Z(() => {
|
|
1568
1580
|
let a = window.location.href;
|
|
1569
|
-
const
|
|
1570
|
-
const
|
|
1571
|
-
|
|
1572
|
-
},
|
|
1573
|
-
return window.addEventListener("popstate",
|
|
1574
|
-
window.removeEventListener("popstate",
|
|
1581
|
+
const I = () => {
|
|
1582
|
+
const O = window.location.href;
|
|
1583
|
+
O !== a && (a = O, ne(), M(null));
|
|
1584
|
+
}, U = setInterval(I, 100);
|
|
1585
|
+
return window.addEventListener("popstate", I), () => {
|
|
1586
|
+
window.removeEventListener("popstate", I), clearInterval(U);
|
|
1575
1587
|
};
|
|
1576
1588
|
}, []);
|
|
1577
1589
|
const ae = /* @__PURE__ */ t.jsx(
|
|
1578
1590
|
t.Fragment,
|
|
1579
1591
|
{ children: l == null ? void 0 : l.map(
|
|
1580
|
-
(a,
|
|
1581
|
-
|
|
1592
|
+
(a, I) => /* @__PURE__ */ t.jsx(
|
|
1593
|
+
Ie,
|
|
1582
1594
|
{
|
|
1583
1595
|
onMouseEnter: () => {
|
|
1584
1596
|
le(a), u == null || u(a.label);
|
|
1585
1597
|
},
|
|
1586
1598
|
onMouseLeave: xe,
|
|
1587
|
-
isSelected: (
|
|
1599
|
+
isSelected: (w == null ? void 0 : w.label) === a.label,
|
|
1588
1600
|
as: B(a) && re ? re : z,
|
|
1589
1601
|
href: B(a) ? a.href : void 0,
|
|
1590
|
-
onClick: B(a) ? () =>
|
|
1602
|
+
onClick: B(a) ? () => g == null ? void 0 : g(a.label) : void 0,
|
|
1591
1603
|
...a.buttonProps,
|
|
1592
1604
|
children: a.label
|
|
1593
1605
|
},
|
|
1594
|
-
`${a.label}-${
|
|
1606
|
+
`${a.label}-${I}`
|
|
1595
1607
|
)
|
|
1596
1608
|
) }
|
|
1597
|
-
), Le = (
|
|
1609
|
+
), Le = (G = l.filter(
|
|
1598
1610
|
(a) => !B(a) && a.isMobileTopLink !== !1
|
|
1599
|
-
)) == null ? void 0 :
|
|
1600
|
-
const
|
|
1611
|
+
)) == null ? void 0 : G.map((a) => {
|
|
1612
|
+
const I = a;
|
|
1601
1613
|
return /* @__PURE__ */ t.jsx(
|
|
1602
|
-
|
|
1614
|
+
E,
|
|
1603
1615
|
{
|
|
1604
1616
|
onClick: () => {
|
|
1605
|
-
|
|
1617
|
+
ve(I), u == null || u(I.label);
|
|
1606
1618
|
},
|
|
1607
1619
|
children: /* @__PURE__ */ t.jsx(
|
|
1608
1620
|
ze,
|
|
1609
1621
|
{
|
|
1610
|
-
label:
|
|
1622
|
+
label: I.label,
|
|
1611
1623
|
role: "link",
|
|
1612
|
-
additionalContent:
|
|
1624
|
+
additionalContent: I.additionalContent,
|
|
1613
1625
|
mainTextFontSize: "3xl",
|
|
1614
|
-
linkComponent:
|
|
1626
|
+
linkComponent: s
|
|
1615
1627
|
}
|
|
1616
1628
|
)
|
|
1617
1629
|
},
|
|
1618
|
-
|
|
1630
|
+
I.label
|
|
1619
1631
|
);
|
|
1620
1632
|
});
|
|
1621
|
-
|
|
1633
|
+
vt(l);
|
|
1622
1634
|
const ke = /* @__PURE__ */ t.jsxs(
|
|
1623
1635
|
t.Fragment,
|
|
1624
1636
|
{ children: [
|
|
1625
1637
|
/* @__PURE__ */ t.jsx(
|
|
1626
|
-
|
|
1638
|
+
Ie,
|
|
1627
1639
|
{
|
|
1628
1640
|
as: z,
|
|
1629
1641
|
href: R,
|
|
1630
1642
|
width: "100%",
|
|
1631
1643
|
backgroundColor: "tints.cream",
|
|
1632
|
-
onClick:
|
|
1644
|
+
onClick: $,
|
|
1633
1645
|
children: /* @__PURE__ */ t.jsxs(
|
|
1634
|
-
|
|
1646
|
+
k,
|
|
1635
1647
|
{ gap: "2", children: [
|
|
1636
1648
|
"My Everly",
|
|
1637
1649
|
/* @__PURE__ */ t.jsx(ue, { as: dt, size: 24 })
|
|
@@ -1641,38 +1653,38 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1641
1653
|
"my-everly"
|
|
1642
1654
|
),
|
|
1643
1655
|
/* @__PURE__ */ t.jsx(
|
|
1644
|
-
|
|
1656
|
+
Ie,
|
|
1645
1657
|
{
|
|
1646
1658
|
as: z,
|
|
1647
1659
|
width: "100%",
|
|
1648
|
-
href:
|
|
1660
|
+
href: b,
|
|
1649
1661
|
backgroundColor: "tints.cream",
|
|
1650
1662
|
onClick: Q,
|
|
1651
1663
|
children: /* @__PURE__ */ t.jsxs(
|
|
1652
|
-
|
|
1664
|
+
k,
|
|
1653
1665
|
{ gap: "2", children: [
|
|
1654
1666
|
"Register kit",
|
|
1655
|
-
/* @__PURE__ */ t.jsx(ue, { as:
|
|
1667
|
+
/* @__PURE__ */ t.jsx(ue, { as: ur, size: 24 })
|
|
1656
1668
|
] }
|
|
1657
1669
|
)
|
|
1658
1670
|
},
|
|
1659
1671
|
"register-kit"
|
|
1660
1672
|
)
|
|
1661
1673
|
] }
|
|
1662
|
-
),
|
|
1663
|
-
|
|
1674
|
+
), He = /* @__PURE__ */ t.jsxs(
|
|
1675
|
+
k,
|
|
1664
1676
|
{ gap: "2", flexDirection: "column", children: [
|
|
1665
1677
|
c,
|
|
1666
1678
|
ke
|
|
1667
1679
|
] }
|
|
1668
|
-
),
|
|
1669
|
-
|
|
1670
|
-
{ direction: ["column", null, null, "row"], gap: "8", children: (be =
|
|
1671
|
-
const
|
|
1672
|
-
for (let
|
|
1673
|
-
|
|
1680
|
+
), $e = w ? /* @__PURE__ */ t.jsx(
|
|
1681
|
+
k,
|
|
1682
|
+
{ direction: ["column", null, null, "row"], gap: "8", children: (be = w == null ? void 0 : w.sections) == null ? void 0 : be.map((a, I) => {
|
|
1683
|
+
const U = [];
|
|
1684
|
+
for (let O = 0; O < a.links.length; O += 3)
|
|
1685
|
+
U.push(a.links.slice(O, O + 3));
|
|
1674
1686
|
return /* @__PURE__ */ t.jsxs(
|
|
1675
|
-
|
|
1687
|
+
E,
|
|
1676
1688
|
{ children: [
|
|
1677
1689
|
/* @__PURE__ */ t.jsx(
|
|
1678
1690
|
K,
|
|
@@ -1684,55 +1696,55 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1684
1696
|
}
|
|
1685
1697
|
),
|
|
1686
1698
|
/* @__PURE__ */ t.jsx(
|
|
1687
|
-
|
|
1699
|
+
k,
|
|
1688
1700
|
{
|
|
1689
1701
|
flexDirection: ["column", null, null, "row"],
|
|
1690
1702
|
gap: [null, null, null, 8],
|
|
1691
|
-
children:
|
|
1692
|
-
(
|
|
1693
|
-
|
|
1703
|
+
children: U == null ? void 0 : U.map(
|
|
1704
|
+
(O, Ae) => /* @__PURE__ */ t.jsx(
|
|
1705
|
+
k,
|
|
1694
1706
|
{
|
|
1695
1707
|
flexDirection: ["column"],
|
|
1696
1708
|
gap: [null, null, null, 5],
|
|
1697
1709
|
marginLeft: [null, null, null, -2],
|
|
1698
|
-
children:
|
|
1710
|
+
children: O == null ? void 0 : O.map(
|
|
1699
1711
|
(X) => /* @__PURE__ */ t.jsx(
|
|
1700
1712
|
ze,
|
|
1701
1713
|
{
|
|
1702
1714
|
label: X.label,
|
|
1703
1715
|
href: X.href,
|
|
1704
1716
|
additionalContent: X.additionalContent,
|
|
1705
|
-
linkComponent:
|
|
1706
|
-
onClick: () =>
|
|
1717
|
+
linkComponent: s,
|
|
1718
|
+
onClick: () => g == null ? void 0 : g(X.label)
|
|
1707
1719
|
},
|
|
1708
1720
|
X.label
|
|
1709
1721
|
)
|
|
1710
1722
|
)
|
|
1711
1723
|
},
|
|
1712
|
-
|
|
1724
|
+
Ae
|
|
1713
1725
|
)
|
|
1714
1726
|
)
|
|
1715
1727
|
}
|
|
1716
1728
|
)
|
|
1717
1729
|
] },
|
|
1718
|
-
`${a.title}-${
|
|
1730
|
+
`${a.title}-${I}`
|
|
1719
1731
|
);
|
|
1720
1732
|
}) }
|
|
1721
|
-
) : null,
|
|
1722
|
-
(a) => /* @__PURE__ */ t.jsx(
|
|
1723
|
-
) : /* @__PURE__ */ t.jsx(
|
|
1733
|
+
) : null, ie = w != null && w.spotlightCards ? (me = w.spotlightCards) == null ? void 0 : me.map(
|
|
1734
|
+
(a) => /* @__PURE__ */ t.jsx(hr, { ...a }, a.title)
|
|
1735
|
+
) : /* @__PURE__ */ t.jsx(E, {});
|
|
1724
1736
|
return /* @__PURE__ */ t.jsxs(
|
|
1725
1737
|
t.Fragment,
|
|
1726
1738
|
{ children: [
|
|
1727
1739
|
/* @__PURE__ */ t.jsx(
|
|
1728
|
-
|
|
1740
|
+
vr,
|
|
1729
1741
|
{
|
|
1730
1742
|
desktopTopButtons: ae,
|
|
1731
1743
|
kitRegistrationElement: /* @__PURE__ */ t.jsx(
|
|
1732
|
-
|
|
1744
|
+
Ie,
|
|
1733
1745
|
{
|
|
1734
1746
|
as: z,
|
|
1735
|
-
href:
|
|
1747
|
+
href: b,
|
|
1736
1748
|
onClick: Q,
|
|
1737
1749
|
backgroundColor: "tints.cream",
|
|
1738
1750
|
children: "Register Kit"
|
|
@@ -1740,67 +1752,67 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1740
1752
|
),
|
|
1741
1753
|
profileElement: /* @__PURE__ */ t.jsx(
|
|
1742
1754
|
z,
|
|
1743
|
-
{ href: R, "aria-label": "login", onClick:
|
|
1755
|
+
{ href: R, "aria-label": "login", onClick: $, children: /* @__PURE__ */ t.jsx(ce, { icon: /* @__PURE__ */ t.jsx(ue, { as: dt }), "aria-label": "Profile" }) }
|
|
1744
1756
|
),
|
|
1745
1757
|
cartElement: /* @__PURE__ */ t.jsx(
|
|
1746
|
-
|
|
1758
|
+
xr,
|
|
1747
1759
|
{
|
|
1748
1760
|
"aria-label": "Cart",
|
|
1749
|
-
count:
|
|
1750
|
-
onClick:
|
|
1761
|
+
count: y,
|
|
1762
|
+
onClick: o
|
|
1751
1763
|
}
|
|
1752
1764
|
),
|
|
1753
1765
|
onSearchClick: () => {
|
|
1754
|
-
V(!ee),
|
|
1766
|
+
V(!ee), v == null || v();
|
|
1755
1767
|
},
|
|
1756
1768
|
onMenuClick: () => {
|
|
1757
|
-
|
|
1769
|
+
A(!0), D == null || D();
|
|
1758
1770
|
},
|
|
1759
|
-
hasSearch:
|
|
1771
|
+
hasSearch: j,
|
|
1760
1772
|
logoLink: d,
|
|
1761
|
-
linkComponent:
|
|
1773
|
+
linkComponent: s,
|
|
1762
1774
|
onLogoClick: _,
|
|
1763
1775
|
setTopOffset: Ee
|
|
1764
1776
|
}
|
|
1765
1777
|
),
|
|
1766
1778
|
/* @__PURE__ */ t.jsxs(
|
|
1767
|
-
|
|
1779
|
+
E,
|
|
1768
1780
|
{ position: "relative", zIndex: "modal", children: [
|
|
1769
1781
|
/* @__PURE__ */ t.jsx(
|
|
1770
|
-
|
|
1782
|
+
Ge,
|
|
1771
1783
|
{
|
|
1772
1784
|
isOpen: pe,
|
|
1773
1785
|
onClose: ne,
|
|
1774
1786
|
title: p,
|
|
1775
1787
|
navDrawerLinks: Le,
|
|
1776
|
-
bottomNavButtons:
|
|
1788
|
+
bottomNavButtons: He,
|
|
1777
1789
|
hasBackButton: !1,
|
|
1778
1790
|
topOffset: Y
|
|
1779
1791
|
}
|
|
1780
1792
|
),
|
|
1781
1793
|
/* @__PURE__ */ t.jsx(
|
|
1782
|
-
|
|
1794
|
+
Ge,
|
|
1783
1795
|
{
|
|
1784
|
-
isOpen: !!
|
|
1796
|
+
isOpen: !!w,
|
|
1785
1797
|
onClose: () => {
|
|
1786
|
-
ne(),
|
|
1798
|
+
ne(), M(null);
|
|
1787
1799
|
},
|
|
1788
|
-
title: (
|
|
1789
|
-
navDrawerLinks:
|
|
1790
|
-
onBackClick: () =>
|
|
1791
|
-
spotlightCards:
|
|
1792
|
-
hasOnlySpotlightCards:
|
|
1793
|
-
bottomButton:
|
|
1800
|
+
title: (w == null ? void 0 : w.label) || "",
|
|
1801
|
+
navDrawerLinks: $e,
|
|
1802
|
+
onBackClick: () => M(null),
|
|
1803
|
+
spotlightCards: ie,
|
|
1804
|
+
hasOnlySpotlightCards: w == null ? void 0 : w.hasOnlySpotlightCards,
|
|
1805
|
+
bottomButton: w == null ? void 0 : w.bottomButton,
|
|
1794
1806
|
topOffset: Y
|
|
1795
1807
|
}
|
|
1796
1808
|
),
|
|
1797
1809
|
/* @__PURE__ */ t.jsx(
|
|
1798
|
-
|
|
1810
|
+
Ge,
|
|
1799
1811
|
{
|
|
1800
1812
|
isOpen: ee,
|
|
1801
1813
|
onClose: () => V(!1),
|
|
1802
1814
|
title: "Search",
|
|
1803
|
-
navDrawerLinks:
|
|
1815
|
+
navDrawerLinks: Pe,
|
|
1804
1816
|
onSearch: Se,
|
|
1805
1817
|
hasSearch: !0,
|
|
1806
1818
|
hasBackButton: !1,
|
|
@@ -1813,15 +1825,15 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1813
1825
|
);
|
|
1814
1826
|
};
|
|
1815
1827
|
export {
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1828
|
+
xr as BasketButton,
|
|
1829
|
+
kr as CategoryLabel,
|
|
1830
|
+
Ie as NavButton,
|
|
1831
|
+
Dr as NavSkeleton,
|
|
1832
|
+
Ge as NavbarDrawer,
|
|
1821
1833
|
ze as NavbarDrawerLink,
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1834
|
+
Ir as NavigationBar,
|
|
1835
|
+
hr as SpotlightCard,
|
|
1836
|
+
Tr as Stepper,
|
|
1825
1837
|
ce as TopNavIconButton,
|
|
1826
|
-
|
|
1838
|
+
vr as TopNavigation
|
|
1827
1839
|
};
|