@everlywell/consumer-ui 1.41.6 → 1.42.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 +10 -10
- package/index.mjs +964 -885
- package/lib/components/Navbar/NavigationBar/NavigationBar.builder.d.ts.map +1 -1
- package/lib/components/Navbar/NavigationBar/NavigationBar.d.ts +9 -0
- package/lib/components/Navbar/NavigationBar/NavigationBar.d.ts.map +1 -1
- package/lib/components/Navbar/NavigationBar/NavigationBar.stories.d.ts +2 -0
- package/lib/components/Navbar/NavigationBar/NavigationBar.stories.d.ts.map +1 -1
- package/lib/components/Navbar/TopNavigation/TopNavigation.d.ts +9 -0
- package/lib/components/Navbar/TopNavigation/TopNavigation.d.ts.map +1 -1
- package/lib/components/Navbar/TopNavigation/TopNavigation.stories.d.ts +2 -0
- package/lib/components/Navbar/TopNavigation/TopNavigation.stories.d.ts.map +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { useSteps as
|
|
2
|
-
import Pe, { useEffect as
|
|
3
|
-
import { Text as
|
|
4
|
-
import { CaretRight as
|
|
5
|
-
import { motion as
|
|
6
|
-
var
|
|
1
|
+
import { useSteps as nn, Box as w, Stepper as rn, Icon as ee, Flex as k, Text as z, Link as K, Button as ht, Image as on, IconButton as ln, theme as X, useMediaQuery as ct, VStack as an, Skeleton as lt, HStack as yt, SkeletonCircle as Ye, DrawerContent as Pt, DrawerOverlay as $t, Drawer as Mt, DrawerHeader as Ht, DrawerBody as Ft, Grid as sn, GridItem as cn, Accordion as un, AccordionItem as dn, AccordionButton as fn, AccordionPanel as pn, InputGroup as hn, Input as gn, InputRightElement as xn, Container as vn, DrawerFooter as bn, DrawerCloseButton as mn, Modal as Cn, ModalOverlay as wn, ModalContent as jn, ModalHeader as yn, ModalBody as En, ModalFooter as kn, ModalCloseButton as Rn } from "@everlywell/ui-kit";
|
|
2
|
+
import Pe, { useEffect as oe, forwardRef as Bt, useRef as _n, useCallback as zt, useState as Z } from "react";
|
|
3
|
+
import { Text as Sn, useBreakpointValue as ye, Box as Tn, InputGroup as Dn, Input as In, InputRightElement as Ln, Icon as On } from "@chakra-ui/react";
|
|
4
|
+
import { CaretRight as Et, MagnifyingGlass as Wt, List as An, Basket as Pn, CaretLeft as $n, X as Nt, User as kt, QrCode as Mn, CaretDown as Hn, ArrowRight as Fn, InstagramLogo as Bn, LinkedinLogo as zn, FacebookLogo as Wn, TiktokLogo as Nn, XLogo as Vn } from "@phosphor-icons/react";
|
|
5
|
+
import { motion as gt, AnimatePresence as Yn } from "framer-motion";
|
|
6
|
+
var ut = { exports: {} }, Oe = {};
|
|
7
7
|
/**
|
|
8
8
|
* @license React
|
|
9
9
|
* react-jsx-runtime.production.min.js
|
|
@@ -13,21 +13,21 @@ var ct = { exports: {} }, Le = {};
|
|
|
13
13
|
* This source code is licensed under the MIT license found in the
|
|
14
14
|
* LICENSE file in the root directory of this source tree.
|
|
15
15
|
*/
|
|
16
|
-
var
|
|
17
|
-
function
|
|
18
|
-
if (
|
|
19
|
-
|
|
20
|
-
var n = Pe, o = Symbol.for("react.element"), s = Symbol.for("react.fragment"),
|
|
21
|
-
function p(v,
|
|
22
|
-
var
|
|
23
|
-
|
|
24
|
-
for (
|
|
25
|
-
if (v && v.defaultProps) for (
|
|
26
|
-
return { $$typeof: o, type: v, key: j, ref:
|
|
16
|
+
var Rt;
|
|
17
|
+
function Gn() {
|
|
18
|
+
if (Rt) return Oe;
|
|
19
|
+
Rt = 1;
|
|
20
|
+
var n = Pe, o = Symbol.for("react.element"), s = Symbol.for("react.fragment"), i = 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
|
+
function p(v, g, d) {
|
|
22
|
+
var f, x = {}, j = null, R = null;
|
|
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) i.call(g, f) && !u.hasOwnProperty(f) && (x[f] = g[f]);
|
|
25
|
+
if (v && v.defaultProps) for (f in g = v.defaultProps, g) x[f] === void 0 && (x[f] = g[f]);
|
|
26
|
+
return { $$typeof: o, type: v, key: j, ref: R, props: x, _owner: c.current };
|
|
27
27
|
}
|
|
28
|
-
return
|
|
28
|
+
return Oe.Fragment = s, Oe.jsx = p, Oe.jsxs = p, Oe;
|
|
29
29
|
}
|
|
30
|
-
var
|
|
30
|
+
var Ae = {};
|
|
31
31
|
/**
|
|
32
32
|
* @license React
|
|
33
33
|
* react-jsx-runtime.development.js
|
|
@@ -37,54 +37,54 @@ var Oe = {};
|
|
|
37
37
|
* This source code is licensed under the MIT license found in the
|
|
38
38
|
* LICENSE file in the root directory of this source tree.
|
|
39
39
|
*/
|
|
40
|
-
var
|
|
41
|
-
function
|
|
42
|
-
return
|
|
43
|
-
var n = Pe, o = Symbol.for("react.element"), s = Symbol.for("react.portal"),
|
|
44
|
-
function
|
|
40
|
+
var _t;
|
|
41
|
+
function Un() {
|
|
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"), i = 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 b(e) {
|
|
45
45
|
if (e === null || typeof e != "object")
|
|
46
46
|
return null;
|
|
47
|
-
var r =
|
|
47
|
+
var r = y && e[y] || e[_];
|
|
48
48
|
return typeof r == "function" ? r : null;
|
|
49
49
|
}
|
|
50
|
-
var
|
|
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
|
-
|
|
53
|
+
for (var r = arguments.length, a = new Array(r > 1 ? r - 1 : 0), h = 1; h < r; h++)
|
|
54
|
+
a[h - 1] = arguments[h];
|
|
55
|
+
W("error", e, a);
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function W(e, r, a) {
|
|
59
59
|
{
|
|
60
|
-
var h =
|
|
61
|
-
E !== "" && (r += "%s",
|
|
62
|
-
var
|
|
63
|
-
return String(
|
|
60
|
+
var h = F.ReactDebugCurrentFrame, E = h.getStackAddendum();
|
|
61
|
+
E !== "" && (r += "%s", a = a.concat([E]));
|
|
62
|
+
var D = a.map(function(C) {
|
|
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
|
|
69
|
-
|
|
70
|
-
function
|
|
71
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
68
|
+
var $ = !1, B = !1, J = !1, te = !1, V = !1, le;
|
|
69
|
+
le = Symbol.for("react.module.reference");
|
|
70
|
+
function ae(e) {
|
|
71
|
+
return !!(typeof e == "string" || typeof e == "function" || e === i || 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 === le || e.getModuleId !== void 0));
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function ne(e, r, a) {
|
|
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 !== "" ? a + "(" + E + ")" : a;
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function T(e) {
|
|
85
85
|
return e.displayName || "Context";
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function L(e) {
|
|
88
88
|
if (e == null)
|
|
89
89
|
return null;
|
|
90
90
|
if (typeof e.tag == "number" && S("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -92,7 +92,7 @@ function Gn() {
|
|
|
92
92
|
if (typeof e == "string")
|
|
93
93
|
return e;
|
|
94
94
|
switch (e) {
|
|
95
|
-
case
|
|
95
|
+
case i:
|
|
96
96
|
return "Fragment";
|
|
97
97
|
case s:
|
|
98
98
|
return "Portal";
|
|
@@ -100,28 +100,28 @@ function Gn() {
|
|
|
100
100
|
return "Profiler";
|
|
101
101
|
case c:
|
|
102
102
|
return "StrictMode";
|
|
103
|
-
case f:
|
|
104
|
-
return "Suspense";
|
|
105
103
|
case d:
|
|
104
|
+
return "Suspense";
|
|
105
|
+
case f:
|
|
106
106
|
return "SuspenseList";
|
|
107
107
|
}
|
|
108
108
|
if (typeof e == "object")
|
|
109
109
|
switch (e.$$typeof) {
|
|
110
110
|
case v:
|
|
111
111
|
var r = e;
|
|
112
|
-
return
|
|
112
|
+
return T(r) + ".Consumer";
|
|
113
113
|
case p:
|
|
114
|
-
var
|
|
115
|
-
return
|
|
116
|
-
case x:
|
|
117
|
-
return Y(e, e.render, "ForwardRef");
|
|
114
|
+
var a = e;
|
|
115
|
+
return T(a._context) + ".Provider";
|
|
118
116
|
case g:
|
|
117
|
+
return ne(e, e.render, "ForwardRef");
|
|
118
|
+
case x:
|
|
119
119
|
var h = e.displayName || null;
|
|
120
|
-
return h !== null ? h :
|
|
120
|
+
return h !== null ? h : L(e.type) || "Memo";
|
|
121
121
|
case j: {
|
|
122
|
-
var E = e,
|
|
122
|
+
var E = e, D = E._payload, C = E._init;
|
|
123
123
|
try {
|
|
124
|
-
return
|
|
124
|
+
return L(C(D));
|
|
125
125
|
} catch {
|
|
126
126
|
return null;
|
|
127
127
|
}
|
|
@@ -129,18 +129,18 @@ function Gn() {
|
|
|
129
129
|
}
|
|
130
130
|
return null;
|
|
131
131
|
}
|
|
132
|
-
var
|
|
133
|
-
function
|
|
132
|
+
var O = Object.assign, q = 0, ie, $e, ge, Me, He, ke, Re;
|
|
133
|
+
function se() {
|
|
134
134
|
}
|
|
135
|
-
|
|
136
|
-
function
|
|
135
|
+
se.__reactDisabledLog = !0;
|
|
136
|
+
function Fe() {
|
|
137
137
|
{
|
|
138
|
-
if (
|
|
139
|
-
|
|
138
|
+
if (q === 0) {
|
|
139
|
+
ie = 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,
|
|
143
|
-
value:
|
|
143
|
+
value: se,
|
|
144
144
|
writable: !0
|
|
145
145
|
};
|
|
146
146
|
Object.defineProperties(console, {
|
|
@@ -153,336 +153,336 @@ function Gn() {
|
|
|
153
153
|
groupEnd: e
|
|
154
154
|
});
|
|
155
155
|
}
|
|
156
|
-
|
|
156
|
+
q++;
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function ce() {
|
|
160
160
|
{
|
|
161
|
-
if (
|
|
161
|
+
if (q--, q === 0) {
|
|
162
162
|
var e = {
|
|
163
163
|
configurable: !0,
|
|
164
164
|
enumerable: !0,
|
|
165
165
|
writable: !0
|
|
166
166
|
};
|
|
167
167
|
Object.defineProperties(console, {
|
|
168
|
-
log:
|
|
169
|
-
value:
|
|
170
|
-
}),
|
|
171
|
-
info: L({}, e, {
|
|
172
|
-
value: Ae
|
|
168
|
+
log: O({}, e, {
|
|
169
|
+
value: ie
|
|
173
170
|
}),
|
|
174
|
-
|
|
171
|
+
info: O({}, e, {
|
|
175
172
|
value: $e
|
|
176
173
|
}),
|
|
177
|
-
|
|
178
|
-
value:
|
|
174
|
+
warn: O({}, e, {
|
|
175
|
+
value: ge
|
|
176
|
+
}),
|
|
177
|
+
error: O({}, e, {
|
|
178
|
+
value: Me
|
|
179
179
|
}),
|
|
180
|
-
group:
|
|
181
|
-
value:
|
|
180
|
+
group: O({}, e, {
|
|
181
|
+
value: He
|
|
182
182
|
}),
|
|
183
|
-
groupCollapsed:
|
|
184
|
-
value:
|
|
183
|
+
groupCollapsed: O({}, e, {
|
|
184
|
+
value: ke
|
|
185
185
|
}),
|
|
186
|
-
groupEnd:
|
|
187
|
-
value:
|
|
186
|
+
groupEnd: O({}, e, {
|
|
187
|
+
value: Re
|
|
188
188
|
})
|
|
189
189
|
});
|
|
190
190
|
}
|
|
191
|
-
|
|
191
|
+
q < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
|
-
var
|
|
195
|
-
function xe(e, r,
|
|
194
|
+
var _e = F.ReactCurrentDispatcher, Se;
|
|
195
|
+
function xe(e, r, a) {
|
|
196
196
|
{
|
|
197
|
-
if (
|
|
197
|
+
if (Se === void 0)
|
|
198
198
|
try {
|
|
199
199
|
throw Error();
|
|
200
200
|
} catch (E) {
|
|
201
201
|
var h = E.stack.trim().match(/\n( *(at )?)/);
|
|
202
|
-
|
|
202
|
+
Se = h && h[1] || "";
|
|
203
203
|
}
|
|
204
204
|
return `
|
|
205
|
-
` +
|
|
205
|
+
` + Se + e;
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
|
-
var
|
|
208
|
+
var ue = !1, ve;
|
|
209
209
|
{
|
|
210
|
-
var
|
|
211
|
-
|
|
210
|
+
var Be = typeof WeakMap == "function" ? WeakMap : Map;
|
|
211
|
+
ve = new Be();
|
|
212
212
|
}
|
|
213
|
-
function
|
|
214
|
-
if (!e ||
|
|
213
|
+
function be(e, r) {
|
|
214
|
+
if (!e || ue)
|
|
215
215
|
return "";
|
|
216
216
|
{
|
|
217
|
-
var
|
|
218
|
-
if (
|
|
219
|
-
return
|
|
217
|
+
var a = ve.get(e);
|
|
218
|
+
if (a !== void 0)
|
|
219
|
+
return a;
|
|
220
220
|
}
|
|
221
221
|
var h;
|
|
222
|
-
|
|
222
|
+
ue = !0;
|
|
223
223
|
var E = Error.prepareStackTrace;
|
|
224
224
|
Error.prepareStackTrace = void 0;
|
|
225
|
-
var
|
|
226
|
-
|
|
225
|
+
var D;
|
|
226
|
+
D = _e.current, _e.current = null, Fe();
|
|
227
227
|
try {
|
|
228
228
|
if (r) {
|
|
229
|
-
var
|
|
229
|
+
var C = function() {
|
|
230
230
|
throw Error();
|
|
231
231
|
};
|
|
232
|
-
if (Object.defineProperty(
|
|
232
|
+
if (Object.defineProperty(C.prototype, "props", {
|
|
233
233
|
set: function() {
|
|
234
234
|
throw Error();
|
|
235
235
|
}
|
|
236
236
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
237
237
|
try {
|
|
238
|
-
Reflect.construct(
|
|
239
|
-
} catch (
|
|
240
|
-
h =
|
|
238
|
+
Reflect.construct(C, []);
|
|
239
|
+
} catch (Y) {
|
|
240
|
+
h = Y;
|
|
241
241
|
}
|
|
242
|
-
Reflect.construct(e, [],
|
|
242
|
+
Reflect.construct(e, [], C);
|
|
243
243
|
} else {
|
|
244
244
|
try {
|
|
245
|
-
|
|
246
|
-
} catch (
|
|
247
|
-
h =
|
|
245
|
+
C.call();
|
|
246
|
+
} catch (Y) {
|
|
247
|
+
h = Y;
|
|
248
248
|
}
|
|
249
|
-
e.call(
|
|
249
|
+
e.call(C.prototype);
|
|
250
250
|
}
|
|
251
251
|
} else {
|
|
252
252
|
try {
|
|
253
253
|
throw Error();
|
|
254
|
-
} catch (
|
|
255
|
-
h =
|
|
254
|
+
} catch (Y) {
|
|
255
|
+
h = Y;
|
|
256
256
|
}
|
|
257
257
|
e();
|
|
258
258
|
}
|
|
259
|
-
} catch (
|
|
260
|
-
if (
|
|
261
|
-
for (var
|
|
259
|
+
} catch (Y) {
|
|
260
|
+
if (Y && h && typeof Y.stack == "string") {
|
|
261
|
+
for (var m = Y.stack.split(`
|
|
262
262
|
`), N = h.stack.split(`
|
|
263
|
-
`), P =
|
|
264
|
-
|
|
265
|
-
for (; P >= 1 &&
|
|
266
|
-
if (
|
|
267
|
-
if (P !== 1 ||
|
|
263
|
+
`), P = m.length - 1, M = N.length - 1; P >= 1 && M >= 0 && m[P] !== N[M]; )
|
|
264
|
+
M--;
|
|
265
|
+
for (; P >= 1 && M >= 0; P--, M--)
|
|
266
|
+
if (m[P] !== N[M]) {
|
|
267
|
+
if (P !== 1 || M !== 1)
|
|
268
268
|
do
|
|
269
|
-
if (P--,
|
|
269
|
+
if (P--, M--, M < 0 || m[P] !== N[M]) {
|
|
270
270
|
var U = `
|
|
271
|
-
` +
|
|
272
|
-
return e.displayName && U.includes("<anonymous>") && (U = U.replace("<anonymous>", e.displayName)), typeof e == "function" &&
|
|
271
|
+
` + m[P].replace(" at new ", " at ");
|
|
272
|
+
return e.displayName && U.includes("<anonymous>") && (U = U.replace("<anonymous>", e.displayName)), typeof e == "function" && ve.set(e, U), U;
|
|
273
273
|
}
|
|
274
|
-
while (P >= 1 &&
|
|
274
|
+
while (P >= 1 && M >= 0);
|
|
275
275
|
break;
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
278
|
} finally {
|
|
279
|
-
|
|
279
|
+
ue = !1, _e.current = D, ce(), Error.prepareStackTrace = E;
|
|
280
280
|
}
|
|
281
|
-
var
|
|
282
|
-
return typeof e == "function" &&
|
|
281
|
+
var je = e ? e.displayName || e.name : "", pe = je ? xe(je) : "";
|
|
282
|
+
return typeof e == "function" && ve.set(e, pe), pe;
|
|
283
283
|
}
|
|
284
|
-
function
|
|
285
|
-
return
|
|
284
|
+
function Ke(e, r, a) {
|
|
285
|
+
return be(e, !1);
|
|
286
286
|
}
|
|
287
|
-
function
|
|
287
|
+
function Xe(e) {
|
|
288
288
|
var r = e.prototype;
|
|
289
289
|
return !!(r && r.isReactComponent);
|
|
290
290
|
}
|
|
291
|
-
function
|
|
291
|
+
function re(e, r, a) {
|
|
292
292
|
if (e == null)
|
|
293
293
|
return "";
|
|
294
294
|
if (typeof e == "function")
|
|
295
|
-
return
|
|
295
|
+
return be(e, Xe(e));
|
|
296
296
|
if (typeof e == "string")
|
|
297
297
|
return xe(e);
|
|
298
298
|
switch (e) {
|
|
299
|
-
case f:
|
|
300
|
-
return xe("Suspense");
|
|
301
299
|
case d:
|
|
300
|
+
return xe("Suspense");
|
|
301
|
+
case f:
|
|
302
302
|
return xe("SuspenseList");
|
|
303
303
|
}
|
|
304
304
|
if (typeof e == "object")
|
|
305
305
|
switch (e.$$typeof) {
|
|
306
|
-
case x:
|
|
307
|
-
return me(e.render);
|
|
308
306
|
case g:
|
|
309
|
-
return
|
|
307
|
+
return Ke(e.render);
|
|
308
|
+
case x:
|
|
309
|
+
return re(e.type, r, a);
|
|
310
310
|
case j: {
|
|
311
|
-
var h = e, E = h._payload,
|
|
311
|
+
var h = e, E = h._payload, D = h._init;
|
|
312
312
|
try {
|
|
313
|
-
return
|
|
313
|
+
return re(D(E), r, a);
|
|
314
314
|
} catch {
|
|
315
315
|
}
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
318
|
return "";
|
|
319
319
|
}
|
|
320
|
-
var
|
|
321
|
-
function
|
|
320
|
+
var G = Object.prototype.hasOwnProperty, ze = {}, We = F.ReactDebugCurrentFrame;
|
|
321
|
+
function me(e) {
|
|
322
322
|
if (e) {
|
|
323
|
-
var r = e._owner,
|
|
324
|
-
|
|
323
|
+
var r = e._owner, a = re(e.type, e._source, r ? r.type : null);
|
|
324
|
+
We.setExtraStackFrame(a);
|
|
325
325
|
} else
|
|
326
|
-
|
|
326
|
+
We.setExtraStackFrame(null);
|
|
327
327
|
}
|
|
328
|
-
function
|
|
328
|
+
function Te(e, r, a, h, E) {
|
|
329
329
|
{
|
|
330
|
-
var
|
|
331
|
-
for (var
|
|
332
|
-
if (
|
|
333
|
-
var
|
|
330
|
+
var D = Function.call.bind(G);
|
|
331
|
+
for (var C in e)
|
|
332
|
+
if (D(e, C)) {
|
|
333
|
+
var m = void 0;
|
|
334
334
|
try {
|
|
335
|
-
if (typeof e[
|
|
336
|
-
var N = Error((h || "React class") + ": " +
|
|
335
|
+
if (typeof e[C] != "function") {
|
|
336
|
+
var N = Error((h || "React class") + ": " + a + " 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
|
+
m = e[C](r, C, h, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
340
340
|
} catch (P) {
|
|
341
|
-
|
|
341
|
+
m = P;
|
|
342
342
|
}
|
|
343
|
-
|
|
343
|
+
m && !(m instanceof Error) && (me(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", a, C, typeof m), me(null)), m instanceof Error && !(m.message in ze) && (ze[m.message] = !0, me(E), S("Failed %s type: %s", a, m.message), me(null));
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
|
-
var
|
|
347
|
+
var Je = Array.isArray;
|
|
348
348
|
function De(e) {
|
|
349
|
-
return
|
|
349
|
+
return Je(e);
|
|
350
350
|
}
|
|
351
|
-
function
|
|
351
|
+
function Qe(e) {
|
|
352
352
|
{
|
|
353
|
-
var r = typeof Symbol == "function" && Symbol.toStringTag,
|
|
354
|
-
return
|
|
353
|
+
var r = typeof Symbol == "function" && Symbol.toStringTag, a = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
354
|
+
return a;
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
|
-
function
|
|
357
|
+
function qe(e) {
|
|
358
358
|
try {
|
|
359
|
-
return
|
|
359
|
+
return Q(e), !1;
|
|
360
360
|
} catch {
|
|
361
361
|
return !0;
|
|
362
362
|
}
|
|
363
363
|
}
|
|
364
|
-
function
|
|
364
|
+
function Q(e) {
|
|
365
365
|
return "" + e;
|
|
366
366
|
}
|
|
367
|
-
function
|
|
368
|
-
if (
|
|
369
|
-
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
367
|
+
function Ne(e) {
|
|
368
|
+
if (qe(e))
|
|
369
|
+
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Qe(e)), Q(e);
|
|
370
370
|
}
|
|
371
|
-
var de =
|
|
371
|
+
var de = F.ReactCurrentOwner, Ve = {
|
|
372
372
|
key: !0,
|
|
373
373
|
ref: !0,
|
|
374
374
|
__self: !0,
|
|
375
375
|
__source: !0
|
|
376
|
-
}, Ie,
|
|
377
|
-
|
|
376
|
+
}, Ie, Le, l;
|
|
377
|
+
l = {};
|
|
378
378
|
function I(e) {
|
|
379
|
-
if (
|
|
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 A(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;
|
|
391
391
|
}
|
|
392
392
|
return e.key !== void 0;
|
|
393
393
|
}
|
|
394
|
-
function
|
|
394
|
+
function H(e, r) {
|
|
395
395
|
if (typeof e.ref == "string" && de.current && r && de.current.stateNode !== r) {
|
|
396
|
-
var
|
|
397
|
-
|
|
396
|
+
var a = L(de.current.type);
|
|
397
|
+
l[a] || (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), l[a] = !0);
|
|
398
398
|
}
|
|
399
399
|
}
|
|
400
|
-
function
|
|
400
|
+
function Ce(e, r) {
|
|
401
401
|
{
|
|
402
|
-
var
|
|
402
|
+
var a = 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
|
+
a.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
406
|
+
get: a,
|
|
407
407
|
configurable: !0
|
|
408
408
|
});
|
|
409
409
|
}
|
|
410
410
|
}
|
|
411
|
-
function
|
|
411
|
+
function fe(e, r) {
|
|
412
412
|
{
|
|
413
|
-
var
|
|
414
|
-
|
|
413
|
+
var a = function() {
|
|
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
|
+
a.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
417
|
+
get: a,
|
|
418
418
|
configurable: !0
|
|
419
419
|
});
|
|
420
420
|
}
|
|
421
421
|
}
|
|
422
|
-
var
|
|
423
|
-
var
|
|
422
|
+
var et = function(e, r, a, h, E, D, C) {
|
|
423
|
+
var m = {
|
|
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:
|
|
430
|
-
props:
|
|
429
|
+
ref: a,
|
|
430
|
+
props: C,
|
|
431
431
|
// Record the component responsible for creating this element.
|
|
432
|
-
_owner:
|
|
432
|
+
_owner: D
|
|
433
433
|
};
|
|
434
|
-
return
|
|
434
|
+
return m._store = {}, Object.defineProperty(m._store, "validated", {
|
|
435
435
|
configurable: !1,
|
|
436
436
|
enumerable: !1,
|
|
437
437
|
writable: !0,
|
|
438
438
|
value: !1
|
|
439
|
-
}), Object.defineProperty(
|
|
439
|
+
}), Object.defineProperty(m, "_self", {
|
|
440
440
|
configurable: !1,
|
|
441
441
|
enumerable: !1,
|
|
442
442
|
writable: !1,
|
|
443
443
|
value: h
|
|
444
|
-
}), Object.defineProperty(
|
|
444
|
+
}), Object.defineProperty(m, "_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(m.props), Object.freeze(m)), m;
|
|
450
450
|
};
|
|
451
|
-
function
|
|
451
|
+
function Yt(e, r, a, h, E) {
|
|
452
452
|
{
|
|
453
|
-
var
|
|
454
|
-
|
|
455
|
-
for (
|
|
456
|
-
|
|
453
|
+
var D, C = {}, m = null, N = null;
|
|
454
|
+
a !== void 0 && (Ne(a), m = "" + a), A(r) && (Ne(r.key), m = "" + r.key), I(r) && (N = r.ref, H(r, E));
|
|
455
|
+
for (D in r)
|
|
456
|
+
G.call(r, D) && !Ve.hasOwnProperty(D) && (C[D] = r[D]);
|
|
457
457
|
if (e && e.defaultProps) {
|
|
458
458
|
var P = e.defaultProps;
|
|
459
|
-
for (
|
|
460
|
-
|
|
459
|
+
for (D in P)
|
|
460
|
+
C[D] === void 0 && (C[D] = P[D]);
|
|
461
461
|
}
|
|
462
|
-
if (
|
|
463
|
-
var
|
|
464
|
-
|
|
462
|
+
if (m || N) {
|
|
463
|
+
var M = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
464
|
+
m && Ce(C, M), N && fe(C, M);
|
|
465
465
|
}
|
|
466
|
-
return
|
|
466
|
+
return et(e, m, N, E, h, de.current, C);
|
|
467
467
|
}
|
|
468
468
|
}
|
|
469
|
-
var
|
|
469
|
+
var tt = F.ReactCurrentOwner, xt = F.ReactDebugCurrentFrame;
|
|
470
470
|
function we(e) {
|
|
471
471
|
if (e) {
|
|
472
|
-
var r = e._owner,
|
|
473
|
-
|
|
472
|
+
var r = e._owner, a = re(e.type, e._source, r ? r.type : null);
|
|
473
|
+
xt.setExtraStackFrame(a);
|
|
474
474
|
} else
|
|
475
|
-
|
|
475
|
+
xt.setExtraStackFrame(null);
|
|
476
476
|
}
|
|
477
|
-
var
|
|
478
|
-
|
|
479
|
-
function
|
|
477
|
+
var nt;
|
|
478
|
+
nt = !1;
|
|
479
|
+
function rt(e) {
|
|
480
480
|
return typeof e == "object" && e !== null && e.$$typeof === o;
|
|
481
481
|
}
|
|
482
|
-
function
|
|
482
|
+
function vt() {
|
|
483
483
|
{
|
|
484
|
-
if (
|
|
485
|
-
var e =
|
|
484
|
+
if (tt.current) {
|
|
485
|
+
var e = L(tt.current.type);
|
|
486
486
|
if (e)
|
|
487
487
|
return `
|
|
488
488
|
|
|
@@ -491,83 +491,83 @@ Check the render method of \`` + e + "`.";
|
|
|
491
491
|
return "";
|
|
492
492
|
}
|
|
493
493
|
}
|
|
494
|
-
function
|
|
494
|
+
function Gt(e) {
|
|
495
495
|
return "";
|
|
496
496
|
}
|
|
497
|
-
var
|
|
498
|
-
function
|
|
497
|
+
var bt = {};
|
|
498
|
+
function Ut(e) {
|
|
499
499
|
{
|
|
500
|
-
var r =
|
|
500
|
+
var r = vt();
|
|
501
501
|
if (!r) {
|
|
502
|
-
var
|
|
503
|
-
|
|
502
|
+
var a = typeof e == "string" ? e : e.displayName || e.name;
|
|
503
|
+
a && (r = `
|
|
504
504
|
|
|
505
|
-
Check the top-level render call using <` +
|
|
505
|
+
Check the top-level render call using <` + a + ">.");
|
|
506
506
|
}
|
|
507
507
|
return r;
|
|
508
508
|
}
|
|
509
509
|
}
|
|
510
|
-
function
|
|
510
|
+
function mt(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 a = Ut(r);
|
|
516
|
+
if (bt[a])
|
|
517
517
|
return;
|
|
518
|
-
|
|
518
|
+
bt[a] = !0;
|
|
519
519
|
var h = "";
|
|
520
|
-
e && e._owner && e._owner !==
|
|
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.', a, h), we(null);
|
|
521
521
|
}
|
|
522
522
|
}
|
|
523
|
-
function
|
|
523
|
+
function Ct(e, r) {
|
|
524
524
|
{
|
|
525
525
|
if (typeof e != "object")
|
|
526
526
|
return;
|
|
527
527
|
if (De(e))
|
|
528
|
-
for (var
|
|
529
|
-
var h = e[
|
|
530
|
-
|
|
528
|
+
for (var a = 0; a < e.length; a++) {
|
|
529
|
+
var h = e[a];
|
|
530
|
+
rt(h) && mt(h, r);
|
|
531
531
|
}
|
|
532
|
-
else if (
|
|
532
|
+
else if (rt(e))
|
|
533
533
|
e._store && (e._store.validated = !0);
|
|
534
534
|
else if (e) {
|
|
535
|
-
var E =
|
|
535
|
+
var E = b(e);
|
|
536
536
|
if (typeof E == "function" && E !== e.entries)
|
|
537
|
-
for (var
|
|
538
|
-
|
|
537
|
+
for (var D = E.call(e), C; !(C = D.next()).done; )
|
|
538
|
+
rt(C.value) && mt(C.value, r);
|
|
539
539
|
}
|
|
540
540
|
}
|
|
541
541
|
}
|
|
542
|
-
function
|
|
542
|
+
function Zt(e) {
|
|
543
543
|
{
|
|
544
544
|
var r = e.type;
|
|
545
545
|
if (r == null || typeof r == "string")
|
|
546
546
|
return;
|
|
547
|
-
var
|
|
547
|
+
var a;
|
|
548
548
|
if (typeof r == "function")
|
|
549
|
-
|
|
550
|
-
else if (typeof r == "object" && (r.$$typeof ===
|
|
549
|
+
a = r.propTypes;
|
|
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
|
-
r.$$typeof ===
|
|
553
|
-
|
|
552
|
+
r.$$typeof === x))
|
|
553
|
+
a = r.propTypes;
|
|
554
554
|
else
|
|
555
555
|
return;
|
|
556
|
-
if (
|
|
557
|
-
var h =
|
|
558
|
-
|
|
559
|
-
} else if (r.PropTypes !== void 0 && !
|
|
560
|
-
|
|
561
|
-
var E =
|
|
556
|
+
if (a) {
|
|
557
|
+
var h = L(r);
|
|
558
|
+
Te(a, e.props, "prop", h, e);
|
|
559
|
+
} else if (r.PropTypes !== void 0 && !nt) {
|
|
560
|
+
nt = !0;
|
|
561
|
+
var E = L(r);
|
|
562
562
|
S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", E || "Unknown");
|
|
563
563
|
}
|
|
564
564
|
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
565
565
|
}
|
|
566
566
|
}
|
|
567
|
-
function
|
|
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), a = 0; a < r.length; a++) {
|
|
570
|
+
var h = r[a];
|
|
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;
|
|
@@ -576,108 +576,108 @@ Check the top-level render call using <` + l + ">.");
|
|
|
576
576
|
e.ref !== null && (we(e), S("Invalid attribute `ref` supplied to `React.Fragment`."), we(null));
|
|
577
577
|
}
|
|
578
578
|
}
|
|
579
|
-
var
|
|
580
|
-
function jt(e, r,
|
|
579
|
+
var wt = {};
|
|
580
|
+
function jt(e, r, a, h, E, D) {
|
|
581
581
|
{
|
|
582
|
-
var
|
|
583
|
-
if (!
|
|
584
|
-
var
|
|
585
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
586
|
-
var N =
|
|
587
|
-
N ?
|
|
582
|
+
var C = ae(e);
|
|
583
|
+
if (!C) {
|
|
584
|
+
var m = "";
|
|
585
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (m += " 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 = Gt();
|
|
587
|
+
N ? m += N : m += vt();
|
|
588
588
|
var P;
|
|
589
|
-
e === null ? P = "null" : De(e) ? P = "array" : e !== void 0 && e.$$typeof === o ? (P = "<" + (
|
|
589
|
+
e === null ? P = "null" : De(e) ? P = "array" : e !== void 0 && e.$$typeof === o ? (P = "<" + (L(e.type) || "Unknown") + " />", m = " 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, m);
|
|
590
590
|
}
|
|
591
|
-
var
|
|
592
|
-
if (
|
|
593
|
-
return
|
|
594
|
-
if (
|
|
591
|
+
var M = Yt(e, r, a, E, D);
|
|
592
|
+
if (M == null)
|
|
593
|
+
return M;
|
|
594
|
+
if (C) {
|
|
595
595
|
var U = r.children;
|
|
596
596
|
if (U !== void 0)
|
|
597
597
|
if (h)
|
|
598
598
|
if (De(U)) {
|
|
599
|
-
for (var
|
|
600
|
-
|
|
599
|
+
for (var je = 0; je < U.length; je++)
|
|
600
|
+
Ct(U[je], e);
|
|
601
601
|
Object.freeze && Object.freeze(U);
|
|
602
602
|
} else
|
|
603
603
|
S("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
|
+
Ct(U, e);
|
|
606
606
|
}
|
|
607
|
-
if (
|
|
608
|
-
var
|
|
609
|
-
return
|
|
610
|
-
}),
|
|
611
|
-
if (!
|
|
612
|
-
var
|
|
607
|
+
if (G.call(r, "key")) {
|
|
608
|
+
var pe = L(e), Y = Object.keys(r).filter(function(tn) {
|
|
609
|
+
return tn !== "key";
|
|
610
|
+
}), ot = Y.length > 0 ? "{key: someKey, " + Y.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
611
|
+
if (!wt[pe + ot]) {
|
|
612
|
+
var en = 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} />`,
|
|
618
|
+
<%s key={someKey} {...props} />`, ot, pe, en, pe), wt[pe + ot] = !0;
|
|
619
619
|
}
|
|
620
620
|
}
|
|
621
|
-
return e ===
|
|
621
|
+
return e === i ? Kt(M) : Zt(M), M;
|
|
622
622
|
}
|
|
623
623
|
}
|
|
624
|
-
function
|
|
625
|
-
return jt(e, r,
|
|
624
|
+
function Xt(e, r, a) {
|
|
625
|
+
return jt(e, r, a, !0);
|
|
626
626
|
}
|
|
627
|
-
function
|
|
628
|
-
return jt(e, r,
|
|
627
|
+
function Jt(e, r, a) {
|
|
628
|
+
return jt(e, r, a, !1);
|
|
629
629
|
}
|
|
630
|
-
var
|
|
631
|
-
|
|
632
|
-
}()),
|
|
630
|
+
var Qt = Jt, qt = Xt;
|
|
631
|
+
Ae.Fragment = i, Ae.jsx = Qt, Ae.jsxs = qt;
|
|
632
|
+
}()), Ae;
|
|
633
633
|
}
|
|
634
|
-
process.env.NODE_ENV === "production" ?
|
|
635
|
-
var t =
|
|
636
|
-
const
|
|
634
|
+
process.env.NODE_ENV === "production" ? ut.exports = Gn() : ut.exports = Un();
|
|
635
|
+
var t = ut.exports;
|
|
636
|
+
const at = 60, St = 6, Zn = (n) => {
|
|
637
637
|
const {
|
|
638
638
|
activeStepIndex: o,
|
|
639
639
|
hideIndicators: s = !1,
|
|
640
|
-
steps:
|
|
640
|
+
steps: i,
|
|
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 } = nn({
|
|
646
646
|
index: o,
|
|
647
|
-
count:
|
|
647
|
+
count: i.length
|
|
648
648
|
});
|
|
649
|
-
return
|
|
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
|
+
rn,
|
|
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
|
|
663
|
-
let
|
|
664
|
-
const
|
|
665
|
-
return
|
|
666
|
-
|
|
661
|
+
children: i.map((v, g) => {
|
|
662
|
+
const d = u === g, f = g === 0, x = g === i.length - 1, j = u > g;
|
|
663
|
+
let R = `${at}px`;
|
|
664
|
+
const y = `calc(100% - ((${at * (i.length - 1)}px) - (${i.length - 1} * ${St * 2}px)))`;
|
|
665
|
+
return d ? R = y : (f || x) && (R = `${at - St}px`), /* @__PURE__ */ t.jsx(
|
|
666
|
+
w,
|
|
667
667
|
{
|
|
668
|
-
width:
|
|
669
|
-
opacity: j ||
|
|
670
|
-
paddingRight:
|
|
671
|
-
paddingLeft:
|
|
668
|
+
width: R,
|
|
669
|
+
opacity: j || d ? 1 : 0.2,
|
|
670
|
+
paddingRight: x ? "0" : "6px",
|
|
671
|
+
paddingLeft: f ? "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
|
+
w,
|
|
675
675
|
{
|
|
676
676
|
paddingTop: s ? 2 : 5,
|
|
677
677
|
position: "relative",
|
|
678
678
|
width: "100%",
|
|
679
679
|
children: /* @__PURE__ */ t.jsx(
|
|
680
|
-
|
|
680
|
+
w,
|
|
681
681
|
{
|
|
682
682
|
width: "100%",
|
|
683
683
|
position: "absolute",
|
|
@@ -691,60 +691,60 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
691
691
|
}
|
|
692
692
|
)
|
|
693
693
|
},
|
|
694
|
-
`step-${
|
|
694
|
+
`step-${g}`
|
|
695
695
|
);
|
|
696
696
|
})
|
|
697
697
|
}
|
|
698
698
|
) }
|
|
699
699
|
);
|
|
700
|
-
},
|
|
700
|
+
}, xr = Pe.memo(Zn), vr = ({
|
|
701
701
|
children: n,
|
|
702
702
|
...o
|
|
703
703
|
}) => /* @__PURE__ */ t.jsx(
|
|
704
|
-
|
|
704
|
+
Sn,
|
|
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"));
|
|
708
708
|
return o && !s ? {
|
|
709
709
|
to: n
|
|
710
710
|
} : {
|
|
711
711
|
href: n
|
|
712
712
|
};
|
|
713
|
-
},
|
|
713
|
+
}, Ge = Bt(
|
|
714
714
|
(n, o) => {
|
|
715
715
|
const {
|
|
716
716
|
label: s,
|
|
717
|
-
additionalContent:
|
|
717
|
+
additionalContent: i,
|
|
718
718
|
mainTextFontSize: c,
|
|
719
719
|
linkComponent: u,
|
|
720
720
|
href: p,
|
|
721
721
|
forceMobileStyle: v = !1,
|
|
722
|
-
...
|
|
723
|
-
} = n,
|
|
722
|
+
...g
|
|
723
|
+
} = n, d = u || K, 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], b = 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
|
{
|
|
727
727
|
ref: o,
|
|
728
|
-
as:
|
|
728
|
+
as: d,
|
|
729
729
|
display: "flex",
|
|
730
730
|
alignItems: "center",
|
|
731
|
-
gap:
|
|
732
|
-
justifyContent:
|
|
733
|
-
paddingY:
|
|
731
|
+
gap: R,
|
|
732
|
+
justifyContent: y,
|
|
733
|
+
paddingY: _,
|
|
734
734
|
color: "tints.black",
|
|
735
735
|
_hover: { color: "viridian.base", textDecoration: "none" },
|
|
736
|
-
borderBottom:
|
|
737
|
-
borderColor:
|
|
736
|
+
borderBottom: b,
|
|
737
|
+
borderColor: F,
|
|
738
738
|
width: S,
|
|
739
739
|
cursor: "pointer",
|
|
740
|
-
...
|
|
741
|
-
...
|
|
740
|
+
...f,
|
|
741
|
+
...g,
|
|
742
742
|
children: [
|
|
743
743
|
/* @__PURE__ */ t.jsx(
|
|
744
|
-
|
|
744
|
+
ee,
|
|
745
745
|
{
|
|
746
|
-
display:
|
|
747
|
-
as:
|
|
746
|
+
display: W,
|
|
747
|
+
as: Et,
|
|
748
748
|
fontSize: "lg",
|
|
749
749
|
color: "viridian.light",
|
|
750
750
|
role: "img",
|
|
@@ -754,17 +754,17 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
754
754
|
),
|
|
755
755
|
/* @__PURE__ */ t.jsxs(
|
|
756
756
|
k,
|
|
757
|
-
{ alignItems: "center", gap: "1", width:
|
|
757
|
+
{ alignItems: "center", gap: "1", width: $, children: [
|
|
758
758
|
/* @__PURE__ */ t.jsx(
|
|
759
|
-
|
|
759
|
+
z,
|
|
760
760
|
{
|
|
761
|
-
fontSize:
|
|
761
|
+
fontSize: x,
|
|
762
762
|
fontWeight: "medium",
|
|
763
763
|
children: s
|
|
764
764
|
}
|
|
765
765
|
),
|
|
766
|
-
|
|
767
|
-
|
|
766
|
+
i && (typeof i == "string" ? /* @__PURE__ */ t.jsx(
|
|
767
|
+
z,
|
|
768
768
|
{
|
|
769
769
|
fontSize: j,
|
|
770
770
|
fontWeight: "medium",
|
|
@@ -774,14 +774,14 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
774
774
|
color: "viridian.base"
|
|
775
775
|
}
|
|
776
776
|
},
|
|
777
|
-
children:
|
|
777
|
+
children: i
|
|
778
778
|
}
|
|
779
|
-
) :
|
|
779
|
+
) : i),
|
|
780
780
|
/* @__PURE__ */ t.jsx(
|
|
781
|
-
|
|
781
|
+
ee,
|
|
782
782
|
{
|
|
783
783
|
display: B,
|
|
784
|
-
as:
|
|
784
|
+
as: Et,
|
|
785
785
|
fontSize: "2xl",
|
|
786
786
|
color: "tints.uiGrey",
|
|
787
787
|
role: "img",
|
|
@@ -795,11 +795,11 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
795
795
|
}
|
|
796
796
|
);
|
|
797
797
|
}
|
|
798
|
-
),
|
|
798
|
+
), Ue = Bt(
|
|
799
799
|
(n, o) => {
|
|
800
|
-
const { children: s, isSelected:
|
|
800
|
+
const { children: s, isSelected: i, ...c } = n, u = n.backgroundColor || (i ? "tints.lightCream" : "transparent");
|
|
801
801
|
return /* @__PURE__ */ t.jsx(
|
|
802
|
-
|
|
802
|
+
ht,
|
|
803
803
|
{
|
|
804
804
|
ref: o,
|
|
805
805
|
borderRadius: "full",
|
|
@@ -830,19 +830,19 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
830
830
|
}
|
|
831
831
|
);
|
|
832
832
|
}
|
|
833
|
-
),
|
|
833
|
+
), Kn = ({
|
|
834
834
|
title: n,
|
|
835
835
|
description: o,
|
|
836
836
|
imageSrc: s,
|
|
837
|
-
imageElement:
|
|
837
|
+
imageElement: i,
|
|
838
838
|
button: c,
|
|
839
839
|
backgroundColor: u = "viridian.wash",
|
|
840
840
|
onClick: p,
|
|
841
841
|
href: v,
|
|
842
|
-
linkComponent:
|
|
843
|
-
forceMobileStyle:
|
|
842
|
+
linkComponent: g,
|
|
843
|
+
forceMobileStyle: d = !1
|
|
844
844
|
}) => {
|
|
845
|
-
const
|
|
845
|
+
const R = g || K, y = Ee(v, !!g), _ = ye({
|
|
846
846
|
base: !1,
|
|
847
847
|
tablet: !1,
|
|
848
848
|
largeTablet: !1,
|
|
@@ -851,11 +851,11 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
851
851
|
return /* @__PURE__ */ t.jsxs(
|
|
852
852
|
k,
|
|
853
853
|
{
|
|
854
|
-
direction:
|
|
854
|
+
direction: d ? "row" : ["row", null, null, "column"],
|
|
855
855
|
alignItems: "center",
|
|
856
856
|
borderRadius: "xl",
|
|
857
857
|
overflow: "hidden",
|
|
858
|
-
height:
|
|
858
|
+
height: d ? "80px" : ["80px", null, null, "272px"],
|
|
859
859
|
backgroundColor: u,
|
|
860
860
|
onClick: p,
|
|
861
861
|
"data-testid": "spotlight-card",
|
|
@@ -863,30 +863,30 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
863
863
|
transition: "box-shadow 0.2s ease-in-out",
|
|
864
864
|
border: "1px solid",
|
|
865
865
|
borderColor: "transparent",
|
|
866
|
-
minWidth:
|
|
867
|
-
maxWidth:
|
|
866
|
+
minWidth: d ? "100%" : ["100%", null, null, "320px"],
|
|
867
|
+
maxWidth: d ? "100%" : ["100%", null, null, "380px"],
|
|
868
868
|
_hover: {
|
|
869
869
|
boxShadow: "lg",
|
|
870
870
|
textDecoration: "none",
|
|
871
871
|
border: "1px solid",
|
|
872
872
|
borderColor: "tints.white"
|
|
873
873
|
},
|
|
874
|
-
as:
|
|
875
|
-
...
|
|
874
|
+
as: d ? R : _ ? k : R,
|
|
875
|
+
...d ? y : _ ? {} : y,
|
|
876
876
|
children: [
|
|
877
877
|
/* @__PURE__ */ t.jsx(
|
|
878
|
-
|
|
878
|
+
w,
|
|
879
879
|
{
|
|
880
|
-
width:
|
|
881
|
-
height:
|
|
880
|
+
width: d ? "72px" : ["72px", null, null, "100%"],
|
|
881
|
+
height: d ? "100%" : ["100%", null, null, "188px"],
|
|
882
882
|
sx: {
|
|
883
883
|
img: {
|
|
884
|
-
height:
|
|
885
|
-
objectFit:
|
|
884
|
+
height: d ? "100%" : _ ? "188px" : "100%",
|
|
885
|
+
objectFit: d ? "cover" : "contain"
|
|
886
886
|
}
|
|
887
887
|
},
|
|
888
888
|
children: s ? /* @__PURE__ */ t.jsx(
|
|
889
|
-
|
|
889
|
+
on,
|
|
890
890
|
{
|
|
891
891
|
src: s,
|
|
892
892
|
objectFit: "cover",
|
|
@@ -895,12 +895,12 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
895
895
|
"data-testid": "spotlight-card-image"
|
|
896
896
|
}
|
|
897
897
|
) : /* @__PURE__ */ t.jsx(
|
|
898
|
-
|
|
898
|
+
w,
|
|
899
899
|
{
|
|
900
|
-
height:
|
|
900
|
+
height: d ? 80 : [80, null, null, 188],
|
|
901
901
|
overflow: "hidden",
|
|
902
|
-
...
|
|
903
|
-
children:
|
|
902
|
+
...d ? { sx: { div: { height: "100%" } } } : {},
|
|
903
|
+
children: i
|
|
904
904
|
}
|
|
905
905
|
)
|
|
906
906
|
}
|
|
@@ -908,45 +908,45 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
908
908
|
/* @__PURE__ */ t.jsxs(
|
|
909
909
|
k,
|
|
910
910
|
{
|
|
911
|
-
direction:
|
|
912
|
-
justifyContent:
|
|
913
|
-
alignItems:
|
|
911
|
+
direction: d ? "column" : ["column", null, null, "row"],
|
|
912
|
+
justifyContent: d ? void 0 : [null, null, null, "space-between"],
|
|
913
|
+
alignItems: d ? "left" : ["left", null, null, "center"],
|
|
914
914
|
padding: "4",
|
|
915
|
-
height:
|
|
915
|
+
height: d ? "80px" : [
|
|
916
916
|
"80px",
|
|
917
917
|
null,
|
|
918
918
|
null,
|
|
919
919
|
"84px"
|
|
920
920
|
],
|
|
921
921
|
width: "100%",
|
|
922
|
-
bottom:
|
|
923
|
-
backgroundColor:
|
|
924
|
-
backdropFilter:
|
|
922
|
+
bottom: d ? void 0 : [null, null, null, "0"],
|
|
923
|
+
backgroundColor: d ? void 0 : [null, null, null, `${u}CC`],
|
|
924
|
+
backdropFilter: d ? void 0 : [null, null, null, "blur(8px)"],
|
|
925
925
|
flex: "1",
|
|
926
|
-
gap:
|
|
926
|
+
gap: d ? void 0 : [null, null, null, 3],
|
|
927
927
|
children: [
|
|
928
928
|
/* @__PURE__ */ t.jsxs(
|
|
929
929
|
k,
|
|
930
930
|
{ direction: "column", justifyContent: "center", height: "100%", children: [
|
|
931
931
|
/* @__PURE__ */ t.jsx(
|
|
932
|
-
|
|
932
|
+
z,
|
|
933
933
|
{ fontSize: "lg", fontWeight: "medium", color: "tints.black", children: n }
|
|
934
934
|
),
|
|
935
935
|
/* @__PURE__ */ t.jsx(
|
|
936
|
-
|
|
936
|
+
z,
|
|
937
937
|
{ fontSize: "sm", color: "tints.darkGrey", children: o }
|
|
938
938
|
)
|
|
939
939
|
] }
|
|
940
940
|
),
|
|
941
|
-
|
|
941
|
+
d ? null : _ ? /* @__PURE__ */ t.jsx(w, { children: c }) : null
|
|
942
942
|
]
|
|
943
943
|
}
|
|
944
944
|
)
|
|
945
945
|
]
|
|
946
946
|
}
|
|
947
947
|
);
|
|
948
|
-
},
|
|
949
|
-
|
|
948
|
+
}, he = (n) => /* @__PURE__ */ t.jsx(
|
|
949
|
+
ln,
|
|
950
950
|
{
|
|
951
951
|
size: "sm",
|
|
952
952
|
width: ["40px", null, null, "46px"],
|
|
@@ -966,11 +966,11 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
966
966
|
},
|
|
967
967
|
...n
|
|
968
968
|
}
|
|
969
|
-
),
|
|
969
|
+
), Vt = ({
|
|
970
970
|
color: n = X.colors.viridian.base,
|
|
971
971
|
width: o
|
|
972
972
|
}) => /* @__PURE__ */ t.jsx(
|
|
973
|
-
|
|
973
|
+
Tn,
|
|
974
974
|
{
|
|
975
975
|
as: "svg",
|
|
976
976
|
width: o,
|
|
@@ -994,38 +994,76 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
994
994
|
) }
|
|
995
995
|
)
|
|
996
996
|
}
|
|
997
|
-
),
|
|
997
|
+
), Tt = () => /* @__PURE__ */ t.jsxs(
|
|
998
|
+
"svg",
|
|
999
|
+
{
|
|
1000
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1001
|
+
width: "24",
|
|
1002
|
+
height: "24",
|
|
1003
|
+
viewBox: "0 0 24 24",
|
|
1004
|
+
fill: "eggplant.base",
|
|
1005
|
+
children: [
|
|
1006
|
+
/* @__PURE__ */ t.jsx(
|
|
1007
|
+
"path",
|
|
1008
|
+
{
|
|
1009
|
+
d: "M21.5308 20.4694L16.8368 15.7763C18.1973 14.1429 18.8757 12.0478 18.7309 9.92697C18.5861 7.8061 17.6293 5.82271 16.0593 4.38938C14.4894 2.95605 12.4274 2.18314 10.3021 2.23144C8.17687 2.27974 6.15205 3.14553 4.64888 4.6487C3.14571 6.15187 2.27993 8.17669 2.23163 10.3019C2.18333 12.4272 2.95623 14.4893 4.38956 16.0592C5.82289 17.6291 7.80629 18.586 9.92715 18.7308C12.048 18.8756 14.1431 18.1971 15.7765 16.8366L20.4696 21.5307C20.5393 21.6003 20.622 21.6556 20.713 21.6933C20.8041 21.731 20.9017 21.7505 21.0002 21.7505C21.0988 21.7505 21.1963 21.731 21.2874 21.6933C21.3784 21.6556 21.4612 21.6003 21.5308 21.5307C21.6005 21.461 21.6558 21.3783 21.6935 21.2872C21.7312 21.1962 21.7506 21.0986 21.7506 21C21.7506 20.9015 21.7312 20.8039 21.6935 20.7129C21.6558 20.6218 21.6005 20.5391 21.5308 20.4694ZM3.75021 10.5C3.75021 9.16501 4.14609 7.85996 4.88779 6.74993C5.62949 5.6399 6.6837 4.77474 7.9171 4.26384C9.1505 3.75295 10.5077 3.61928 11.8171 3.87973C13.1264 4.14018 14.3292 4.78306 15.2732 5.72706C16.2172 6.67106 16.8601 7.8738 17.1205 9.18317C17.381 10.4925 17.2473 11.8497 16.7364 13.0831C16.2255 14.3165 15.3603 15.3708 14.2503 16.1125C13.1403 16.8542 11.8352 17.25 10.5002 17.25C8.71061 17.248 6.99488 16.5363 5.72944 15.2708C4.464 14.0054 3.7522 12.2896 3.75021 10.5Z",
|
|
1010
|
+
fill: "eggplant.base"
|
|
1011
|
+
}
|
|
1012
|
+
),
|
|
1013
|
+
/* @__PURE__ */ t.jsx(
|
|
1014
|
+
"path",
|
|
1015
|
+
{
|
|
1016
|
+
"fill-rule": "evenodd",
|
|
1017
|
+
"clip-rule": "evenodd",
|
|
1018
|
+
d: "M9.93432 8.99032C9.86202 8.81476 9.55628 8.81476 9.48398 8.99032C8.95816 10.2671 7.93748 11.2877 6.66073 11.8136C6.48517 11.8859 6.48517 12.1916 6.66073 12.2639C7.93745 12.7897 8.95815 13.8103 9.484 15.087C9.55631 15.2626 9.86199 15.2626 9.9343 15.087C10.4601 13.8104 11.4808 12.7897 12.7574 12.2639C12.933 12.1916 12.933 11.8859 12.7574 11.8136C11.4807 11.2877 10.4601 10.267 9.93432 8.99032Z",
|
|
1019
|
+
fill: "eggplant.base"
|
|
1020
|
+
}
|
|
1021
|
+
),
|
|
1022
|
+
/* @__PURE__ */ t.jsx(
|
|
1023
|
+
"path",
|
|
1024
|
+
{
|
|
1025
|
+
"fill-rule": "evenodd",
|
|
1026
|
+
"clip-rule": "evenodd",
|
|
1027
|
+
d: "M12.4348 6.02138C12.3946 5.92618 12.2266 5.92618 12.1864 6.02138C11.9181 6.65674 11.4092 7.16564 10.7738 7.43399C10.6786 7.4742 10.6786 7.64219 10.7738 7.68239C11.4092 7.95073 11.9181 8.45961 12.1864 9.09493C12.2267 9.19012 12.3946 9.19012 12.4348 9.09493C12.7032 8.45962 13.2121 7.95073 13.8474 7.68238C13.9426 7.64217 13.9426 7.47421 13.8474 7.434C13.212 7.16564 12.7032 6.65672 12.4348 6.02138Z",
|
|
1028
|
+
fill: "eggplant.base"
|
|
1029
|
+
}
|
|
1030
|
+
)
|
|
1031
|
+
]
|
|
1032
|
+
}
|
|
1033
|
+
), Xn = ({
|
|
998
1034
|
desktopTopButtons: n,
|
|
999
1035
|
kitRegistrationElement: o,
|
|
1000
1036
|
profileElement: s,
|
|
1001
|
-
cartElement:
|
|
1037
|
+
cartElement: i,
|
|
1002
1038
|
onSearchClick: c,
|
|
1003
1039
|
onMenuClick: u,
|
|
1004
1040
|
hasSearch: p = !1,
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1041
|
+
onEvaClick: v,
|
|
1042
|
+
hasEvaEnabled: g = !1,
|
|
1043
|
+
logoLink: d = "https://www.everlywell.com",
|
|
1044
|
+
setTopOffset: f,
|
|
1045
|
+
linkComponent: x,
|
|
1046
|
+
onLogoClick: j
|
|
1009
1047
|
}) => {
|
|
1010
|
-
const
|
|
1011
|
-
if (
|
|
1012
|
-
const
|
|
1013
|
-
|
|
1048
|
+
const R = _n(null), [y] = ct(`(max-width: ${X.breakpoints.mediumTablet})`), [_] = ct(`(max-width: ${X.breakpoints.mediumDesktop})`), b = zt(() => {
|
|
1049
|
+
if (R.current) {
|
|
1050
|
+
const F = R.current.getBoundingClientRect();
|
|
1051
|
+
f(F.bottom);
|
|
1014
1052
|
}
|
|
1015
1053
|
}, []);
|
|
1016
|
-
return
|
|
1017
|
-
|
|
1018
|
-
}, [
|
|
1019
|
-
|
|
1054
|
+
return oe(() => {
|
|
1055
|
+
b();
|
|
1056
|
+
}, [b]), /* @__PURE__ */ t.jsx(
|
|
1057
|
+
w,
|
|
1020
1058
|
{
|
|
1021
|
-
ref:
|
|
1059
|
+
ref: R,
|
|
1022
1060
|
paddingY: "4",
|
|
1023
|
-
paddingX:
|
|
1061
|
+
paddingX: y ? 4 : _ ? 6 : 8,
|
|
1024
1062
|
borderBottom: "1px solid",
|
|
1025
1063
|
borderColor: "tints.lightCream",
|
|
1026
1064
|
backgroundColor: "tints.white",
|
|
1027
1065
|
width: "100%",
|
|
1028
|
-
onMouseEnter:
|
|
1066
|
+
onMouseEnter: b,
|
|
1029
1067
|
children: /* @__PURE__ */ t.jsxs(
|
|
1030
1068
|
k,
|
|
1031
1069
|
{ justifyContent: "space-between", alignItems: "center", children: [
|
|
@@ -1033,13 +1071,13 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
1033
1071
|
k,
|
|
1034
1072
|
{ alignItems: "center", gap: "5", children: [
|
|
1035
1073
|
/* @__PURE__ */ t.jsx(
|
|
1036
|
-
|
|
1074
|
+
w,
|
|
1037
1075
|
{
|
|
1038
1076
|
"aria-label": "Go to homepage",
|
|
1039
|
-
onClick:
|
|
1040
|
-
as:
|
|
1041
|
-
...
|
|
1042
|
-
children: /* @__PURE__ */ t.jsx(
|
|
1077
|
+
onClick: j,
|
|
1078
|
+
as: x || K,
|
|
1079
|
+
...Ee(d, !!x),
|
|
1080
|
+
children: /* @__PURE__ */ t.jsx(Vt, { width: "116px" })
|
|
1043
1081
|
}
|
|
1044
1082
|
),
|
|
1045
1083
|
/* @__PURE__ */ t.jsx(
|
|
@@ -1052,14 +1090,46 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
1052
1090
|
k,
|
|
1053
1091
|
{ alignItems: "center", gap: "2", children: [
|
|
1054
1092
|
/* @__PURE__ */ t.jsx(
|
|
1055
|
-
|
|
1093
|
+
w,
|
|
1056
1094
|
{ display: ["none", null, "none", "none", "none", "block"], children: o }
|
|
1057
1095
|
),
|
|
1058
|
-
p ? /* @__PURE__ */ t.jsx(
|
|
1059
|
-
|
|
1096
|
+
p ? g ? y ? /* @__PURE__ */ t.jsx(
|
|
1097
|
+
he,
|
|
1098
|
+
{
|
|
1099
|
+
"aria-label": "Search",
|
|
1100
|
+
icon: /* @__PURE__ */ t.jsx(Tt, {}),
|
|
1101
|
+
onClick: v,
|
|
1102
|
+
backgroundColor: "eggplant.wash",
|
|
1103
|
+
fill: "eggplant.base",
|
|
1104
|
+
_hover: {
|
|
1105
|
+
backgroundColor: "eggplant.wash",
|
|
1106
|
+
filter: "brightness(0.95)"
|
|
1107
|
+
}
|
|
1108
|
+
}
|
|
1109
|
+
) : /* @__PURE__ */ t.jsxs(
|
|
1110
|
+
ht,
|
|
1111
|
+
{
|
|
1112
|
+
height: "48px",
|
|
1113
|
+
fontSize: "lg",
|
|
1114
|
+
color: "eggplant.base",
|
|
1115
|
+
backgroundColor: "eggplant.wash",
|
|
1116
|
+
_hover: {
|
|
1117
|
+
backgroundColor: "eggplant.wash",
|
|
1118
|
+
filter: "brightness(0.95)"
|
|
1119
|
+
},
|
|
1120
|
+
fill: "eggplant.base",
|
|
1121
|
+
gap: 2,
|
|
1122
|
+
onClick: v,
|
|
1123
|
+
children: [
|
|
1124
|
+
/* @__PURE__ */ t.jsx(Tt, {}),
|
|
1125
|
+
/* @__PURE__ */ t.jsx("span", { children: "Search or Ask" })
|
|
1126
|
+
]
|
|
1127
|
+
}
|
|
1128
|
+
) : /* @__PURE__ */ t.jsx(
|
|
1129
|
+
he,
|
|
1060
1130
|
{
|
|
1061
1131
|
"aria-label": "Search",
|
|
1062
|
-
icon: /* @__PURE__ */ t.jsx(
|
|
1132
|
+
icon: /* @__PURE__ */ t.jsx(ee, { as: Wt }),
|
|
1063
1133
|
onClick: c,
|
|
1064
1134
|
backgroundColor: "tints.cream",
|
|
1065
1135
|
color: "tints.black",
|
|
@@ -1069,35 +1139,38 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
1069
1139
|
}
|
|
1070
1140
|
}
|
|
1071
1141
|
) : null,
|
|
1072
|
-
|
|
1142
|
+
i,
|
|
1073
1143
|
/* @__PURE__ */ t.jsx(
|
|
1074
|
-
|
|
1144
|
+
w,
|
|
1075
1145
|
{ display: ["flex", null, null, "flex", "flex", "flex", "none"], children: /* @__PURE__ */ t.jsx(
|
|
1076
|
-
|
|
1146
|
+
he,
|
|
1077
1147
|
{
|
|
1078
|
-
icon: /* @__PURE__ */ t.jsx(
|
|
1148
|
+
icon: /* @__PURE__ */ t.jsx(An, {}),
|
|
1079
1149
|
"aria-label": "menu",
|
|
1080
1150
|
"data-testid": "menu-button",
|
|
1081
1151
|
onClick: u
|
|
1082
1152
|
}
|
|
1083
1153
|
) }
|
|
1084
1154
|
),
|
|
1085
|
-
/* @__PURE__ */ t.jsx(
|
|
1155
|
+
/* @__PURE__ */ t.jsx(
|
|
1156
|
+
w,
|
|
1157
|
+
{ display: ["none", null, null, "none", "none", "none", "block"], children: s }
|
|
1158
|
+
)
|
|
1086
1159
|
] }
|
|
1087
1160
|
)
|
|
1088
1161
|
] }
|
|
1089
1162
|
)
|
|
1090
1163
|
}
|
|
1091
1164
|
);
|
|
1092
|
-
},
|
|
1165
|
+
}, Jn = ({
|
|
1093
1166
|
count: n = 0,
|
|
1094
1167
|
...o
|
|
1095
1168
|
}) => /* @__PURE__ */ t.jsxs(
|
|
1096
|
-
|
|
1169
|
+
w,
|
|
1097
1170
|
{ position: "relative", display: "inline-block", children: [
|
|
1098
|
-
/* @__PURE__ */ t.jsx(
|
|
1171
|
+
/* @__PURE__ */ t.jsx(he, { icon: /* @__PURE__ */ t.jsx(Pn, {}), ...o }),
|
|
1099
1172
|
n > 0 && /* @__PURE__ */ t.jsx(
|
|
1100
|
-
|
|
1173
|
+
w,
|
|
1101
1174
|
{
|
|
1102
1175
|
display: "flex",
|
|
1103
1176
|
minWidth: "20px",
|
|
@@ -1118,13 +1191,13 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
1118
1191
|
}
|
|
1119
1192
|
)
|
|
1120
1193
|
] }
|
|
1121
|
-
),
|
|
1194
|
+
), br = ({
|
|
1122
1195
|
numDesktopLinks: n = 5,
|
|
1123
1196
|
showPromoButton: o = !1
|
|
1124
1197
|
}) => /* @__PURE__ */ t.jsx(
|
|
1125
|
-
|
|
1198
|
+
an,
|
|
1126
1199
|
{ spacing: 0, align: "stretch", children: /* @__PURE__ */ t.jsx(
|
|
1127
|
-
|
|
1200
|
+
w,
|
|
1128
1201
|
{
|
|
1129
1202
|
paddingY: 4,
|
|
1130
1203
|
paddingX: 6,
|
|
@@ -1133,9 +1206,9 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
1133
1206
|
children: /* @__PURE__ */ t.jsxs(
|
|
1134
1207
|
k,
|
|
1135
1208
|
{ justify: "space-between", align: "center", children: [
|
|
1136
|
-
/* @__PURE__ */ t.jsx(
|
|
1209
|
+
/* @__PURE__ */ t.jsx(lt, { w: "120px", h: "48px" }),
|
|
1137
1210
|
/* @__PURE__ */ t.jsxs(
|
|
1138
|
-
|
|
1211
|
+
yt,
|
|
1139
1212
|
{
|
|
1140
1213
|
spacing: 8,
|
|
1141
1214
|
marginLeft: 12,
|
|
@@ -1143,17 +1216,17 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
1143
1216
|
"data-testid": "desktop-nav",
|
|
1144
1217
|
children: [
|
|
1145
1218
|
Array.from({ length: n }).map(
|
|
1146
|
-
(s,
|
|
1219
|
+
(s, i) => /* @__PURE__ */ t.jsx(lt, { width: "90px", height: "48px" }, i)
|
|
1147
1220
|
),
|
|
1148
|
-
o && /* @__PURE__ */ t.jsx(
|
|
1221
|
+
o && /* @__PURE__ */ t.jsx(lt, { width: "110px", height: "48px", borderRadius: "full" })
|
|
1149
1222
|
]
|
|
1150
1223
|
}
|
|
1151
1224
|
),
|
|
1152
1225
|
/* @__PURE__ */ t.jsxs(
|
|
1153
|
-
|
|
1226
|
+
yt,
|
|
1154
1227
|
{ spacing: 4, ml: "auto", children: [
|
|
1155
1228
|
/* @__PURE__ */ t.jsx(
|
|
1156
|
-
|
|
1229
|
+
Ye,
|
|
1157
1230
|
{
|
|
1158
1231
|
width: "120px",
|
|
1159
1232
|
height: "48px",
|
|
@@ -1162,11 +1235,11 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
1162
1235
|
}
|
|
1163
1236
|
),
|
|
1164
1237
|
" ",
|
|
1165
|
-
/* @__PURE__ */ t.jsx(
|
|
1238
|
+
/* @__PURE__ */ t.jsx(Ye, { width: "48px", height: "48px" }),
|
|
1166
1239
|
" ",
|
|
1167
|
-
/* @__PURE__ */ t.jsx(
|
|
1240
|
+
/* @__PURE__ */ t.jsx(Ye, { width: "48px", height: "48px" }),
|
|
1168
1241
|
" ",
|
|
1169
|
-
/* @__PURE__ */ t.jsx(
|
|
1242
|
+
/* @__PURE__ */ t.jsx(Ye, { width: "48px", height: "48px" }),
|
|
1170
1243
|
" "
|
|
1171
1244
|
] }
|
|
1172
1245
|
)
|
|
@@ -1174,24 +1247,24 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
1174
1247
|
)
|
|
1175
1248
|
}
|
|
1176
1249
|
) }
|
|
1177
|
-
),
|
|
1250
|
+
), Qn = (n, o) => {
|
|
1178
1251
|
let s;
|
|
1179
|
-
return (...
|
|
1252
|
+
return (...i) => {
|
|
1180
1253
|
s && clearTimeout(s), s = setTimeout(() => {
|
|
1181
|
-
n(...
|
|
1254
|
+
n(...i);
|
|
1182
1255
|
}, o);
|
|
1183
1256
|
};
|
|
1184
|
-
},
|
|
1257
|
+
}, it = (n) => n.toLowerCase().replace(/['']/g, "").replace(/[^a-z0-9]/g, ""), qn = (n, o) => {
|
|
1185
1258
|
n.length < o.length && ([n, o] = [o, n]);
|
|
1186
|
-
let s = Array(o.length + 1).fill(0),
|
|
1259
|
+
let s = Array(o.length + 1).fill(0), i = Array(o.length + 1).fill(0);
|
|
1187
1260
|
for (let c = 0; c <= o.length; c++)
|
|
1188
1261
|
s[c] = c;
|
|
1189
1262
|
for (let c = 1; c <= n.length; c++) {
|
|
1190
|
-
|
|
1263
|
+
i[0] = c;
|
|
1191
1264
|
for (let u = 1; u <= o.length; u++) {
|
|
1192
1265
|
const p = n[c - 1] === o[u - 1] ? 0 : 1;
|
|
1193
|
-
|
|
1194
|
-
|
|
1266
|
+
i[u] = Math.min(
|
|
1267
|
+
i[u - 1] + 1,
|
|
1195
1268
|
// Insertion
|
|
1196
1269
|
s[u] + 1,
|
|
1197
1270
|
// Deletion
|
|
@@ -1199,102 +1272,102 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
1199
1272
|
// Substitution
|
|
1200
1273
|
);
|
|
1201
1274
|
}
|
|
1202
|
-
[s,
|
|
1275
|
+
[s, i] = [i, s];
|
|
1203
1276
|
}
|
|
1204
1277
|
return s[o.length];
|
|
1205
|
-
},
|
|
1278
|
+
}, Ze = (n, o, s = 0.6) => {
|
|
1206
1279
|
if (n.length <= 3 || o.length <= 3)
|
|
1207
1280
|
return n.includes(o) || o.includes(n);
|
|
1208
|
-
const
|
|
1209
|
-
return 1 -
|
|
1210
|
-
},
|
|
1281
|
+
const i = qn(n, o), c = Math.max(n.length, o.length);
|
|
1282
|
+
return 1 - i / c >= s;
|
|
1283
|
+
}, Dt = (n, o) => {
|
|
1211
1284
|
const s = n.split(/\s+/);
|
|
1212
|
-
return o.length <= 4 ? s.some((
|
|
1213
|
-
if (
|
|
1285
|
+
return o.length <= 4 ? s.some((i) => i.includes(o)) : s.some((i) => {
|
|
1286
|
+
if (Ze(i, o))
|
|
1214
1287
|
return !0;
|
|
1215
|
-
if (
|
|
1216
|
-
for (let c = 0; c <=
|
|
1217
|
-
const u =
|
|
1218
|
-
if (
|
|
1288
|
+
if (i.length >= o.length)
|
|
1289
|
+
for (let c = 0; c <= i.length - o.length; c++) {
|
|
1290
|
+
const u = i.slice(c, c + o.length + 1);
|
|
1291
|
+
if (Ze(o, u))
|
|
1219
1292
|
return !0;
|
|
1220
1293
|
}
|
|
1221
1294
|
return !1;
|
|
1222
1295
|
});
|
|
1223
|
-
},
|
|
1296
|
+
}, dt = "nav-drawer-hover", ft = "nav-drawer-animation-start", pt = "nav-drawer-animation-end", It = (n) => {
|
|
1224
1297
|
window.dispatchEvent(
|
|
1225
|
-
new CustomEvent(
|
|
1298
|
+
new CustomEvent(dt, {
|
|
1226
1299
|
detail: { isHovering: n },
|
|
1227
1300
|
bubbles: !0,
|
|
1228
1301
|
cancelable: !0
|
|
1229
1302
|
})
|
|
1230
1303
|
);
|
|
1231
|
-
},
|
|
1304
|
+
}, Lt = (n) => {
|
|
1232
1305
|
window.dispatchEvent(
|
|
1233
1306
|
new CustomEvent(n, {
|
|
1234
1307
|
bubbles: !0,
|
|
1235
1308
|
cancelable: !0
|
|
1236
1309
|
})
|
|
1237
1310
|
);
|
|
1238
|
-
},
|
|
1311
|
+
}, er = (n = !1, o = !1, s = !1) => n || !o ? "column" : s ? "row" : "row-reverse", tr = gt(Pt), nr = gt($t), st = ({
|
|
1239
1312
|
isOpen: n = !1,
|
|
1240
1313
|
onClose: o,
|
|
1241
1314
|
title: s,
|
|
1242
|
-
navDrawerLinks:
|
|
1315
|
+
navDrawerLinks: i,
|
|
1243
1316
|
bottomNavButtons: c,
|
|
1244
1317
|
spotlightCards: u,
|
|
1245
1318
|
bottomButton: p,
|
|
1246
1319
|
hasBackButton: v = !0,
|
|
1247
|
-
onBackClick:
|
|
1248
|
-
hasOnlySpotlightCards:
|
|
1249
|
-
hasSearch:
|
|
1250
|
-
onSearch:
|
|
1320
|
+
onBackClick: g,
|
|
1321
|
+
hasOnlySpotlightCards: d = !1,
|
|
1322
|
+
hasSearch: f = !1,
|
|
1323
|
+
onSearch: x = () => ({}),
|
|
1251
1324
|
topOffset: j,
|
|
1252
|
-
forceMobilePlacement:
|
|
1325
|
+
forceMobilePlacement: R = !1
|
|
1253
1326
|
}) => {
|
|
1254
|
-
var
|
|
1255
|
-
const
|
|
1327
|
+
var V, le, ae, ne, T, L;
|
|
1328
|
+
const y = ye({
|
|
1256
1329
|
base: !1,
|
|
1257
1330
|
tablet: !1,
|
|
1258
1331
|
largeTablet: !1,
|
|
1259
1332
|
mediumDesktop: !0,
|
|
1260
1333
|
desktop: !0,
|
|
1261
1334
|
fullDesktop: !0
|
|
1262
|
-
}) ?? !1,
|
|
1263
|
-
S((
|
|
1264
|
-
},
|
|
1265
|
-
|
|
1266
|
-
|
|
1335
|
+
}) ?? !1, _ = R ? "right" : y ? "top" : "right", b = _ === "right", [F, S] = Z(0), [W, $] = Z(!1), B = () => {
|
|
1336
|
+
S((O) => O + 1);
|
|
1337
|
+
}, J = zt(
|
|
1338
|
+
Qn((O) => {
|
|
1339
|
+
x(O), B();
|
|
1267
1340
|
}, 100),
|
|
1268
1341
|
[]
|
|
1269
1342
|
);
|
|
1270
|
-
|
|
1271
|
-
n && (
|
|
1343
|
+
oe(() => {
|
|
1344
|
+
n && ($(!0), Lt(ft));
|
|
1272
1345
|
}, [n]);
|
|
1273
|
-
const
|
|
1274
|
-
n || (
|
|
1346
|
+
const te = () => {
|
|
1347
|
+
n || ($(!1), o()), Lt(pt);
|
|
1275
1348
|
};
|
|
1276
1349
|
return /* @__PURE__ */ t.jsx(
|
|
1277
|
-
|
|
1350
|
+
Mt,
|
|
1278
1351
|
{
|
|
1279
|
-
isOpen:
|
|
1352
|
+
isOpen: W || n,
|
|
1280
1353
|
closeOnOverlayClick: !0,
|
|
1281
1354
|
onClose: () => {
|
|
1282
|
-
|
|
1355
|
+
W && !b || o();
|
|
1283
1356
|
},
|
|
1284
|
-
placement:
|
|
1357
|
+
placement: _,
|
|
1285
1358
|
blockScrollOnMount: !1,
|
|
1286
1359
|
autoFocus: !1,
|
|
1287
|
-
...
|
|
1360
|
+
...b ? {
|
|
1288
1361
|
styleConfig: {
|
|
1289
1362
|
baseStyle: {
|
|
1290
1363
|
...X.components.Drawer.baseStyle,
|
|
1291
1364
|
dialogContainer: {
|
|
1292
|
-
...(
|
|
1365
|
+
...(le = (V = X.components.Drawer) == null ? void 0 : V.baseStyle) == null ? void 0 : le.dialogContainer,
|
|
1293
1366
|
// Higher z-index for drawer content to be above overlay and navigation
|
|
1294
1367
|
zIndex: "popover"
|
|
1295
1368
|
},
|
|
1296
1369
|
dialog: {
|
|
1297
|
-
...(
|
|
1370
|
+
...(ne = (ae = X.components.Drawer) == null ? void 0 : ae.baseStyle) == null ? void 0 : ne.dialog,
|
|
1298
1371
|
// Ensure mobile drawer doesn't expand to full width
|
|
1299
1372
|
maxW: "560px",
|
|
1300
1373
|
width: "auto"
|
|
@@ -1306,7 +1379,7 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
1306
1379
|
baseStyle: {
|
|
1307
1380
|
...X.components.Drawer.baseStyle,
|
|
1308
1381
|
dialogContainer: {
|
|
1309
|
-
...(
|
|
1382
|
+
...(L = (T = X.components.Drawer) == null ? void 0 : T.baseStyle) == null ? void 0 : L.dialogContainer,
|
|
1310
1383
|
// Push the drawer down by the top offset on desktop to not cover the top navigation
|
|
1311
1384
|
top: `${j}px`,
|
|
1312
1385
|
// Lower index on desktop to make sure the drawer is below the top navigation
|
|
@@ -1316,18 +1389,18 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
1316
1389
|
}
|
|
1317
1390
|
},
|
|
1318
1391
|
children: /* @__PURE__ */ t.jsx(
|
|
1319
|
-
|
|
1392
|
+
Yn,
|
|
1320
1393
|
{ children: n ? /* @__PURE__ */ t.jsxs(
|
|
1321
1394
|
t.Fragment,
|
|
1322
1395
|
{ children: [
|
|
1323
1396
|
/* @__PURE__ */ t.jsx(
|
|
1324
|
-
|
|
1397
|
+
nr,
|
|
1325
1398
|
{
|
|
1326
1399
|
backgroundColor: "tints.black",
|
|
1327
|
-
top:
|
|
1328
|
-
opacity:
|
|
1329
|
-
zIndex:
|
|
1330
|
-
...
|
|
1400
|
+
top: b ? "0" : `${j}px`,
|
|
1401
|
+
opacity: b ? "0.4 !important" : void 0,
|
|
1402
|
+
zIndex: b ? "modal" : "overlay",
|
|
1403
|
+
...b ? {} : {
|
|
1331
1404
|
initial: { opacity: 0 },
|
|
1332
1405
|
animate: { opacity: 0.4 },
|
|
1333
1406
|
exit: { opacity: 0 },
|
|
@@ -1340,28 +1413,28 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
1340
1413
|
}
|
|
1341
1414
|
),
|
|
1342
1415
|
/* @__PURE__ */ t.jsxs(
|
|
1343
|
-
|
|
1416
|
+
tr,
|
|
1344
1417
|
{
|
|
1345
|
-
onClick: (
|
|
1346
|
-
const
|
|
1347
|
-
|
|
1418
|
+
onClick: (O) => {
|
|
1419
|
+
const ie = O.target.closest("a");
|
|
1420
|
+
ie && ie.href === window.location.href && o();
|
|
1348
1421
|
},
|
|
1349
1422
|
onMouseEnter: () => {
|
|
1350
|
-
|
|
1423
|
+
b || It(!0);
|
|
1351
1424
|
},
|
|
1352
|
-
onMouseLeave: (
|
|
1353
|
-
|
|
1425
|
+
onMouseLeave: (O) => {
|
|
1426
|
+
b || (!f || f && (O.target === O.currentTarget || !O.currentTarget.contains(O.target) && !W)) && It(!1);
|
|
1354
1427
|
},
|
|
1355
1428
|
paddingTop: "4",
|
|
1356
|
-
paddingX:
|
|
1429
|
+
paddingX: b ? "4" : "12",
|
|
1357
1430
|
paddingBottom: "24",
|
|
1358
|
-
overflow:
|
|
1431
|
+
overflow: b ? "auto" : "hidden",
|
|
1359
1432
|
maxHeight: "100vh",
|
|
1360
1433
|
position: "relative",
|
|
1361
|
-
top:
|
|
1362
|
-
onAnimationComplete:
|
|
1434
|
+
top: b ? void 0 : `${j}px !important`,
|
|
1435
|
+
onAnimationComplete: te,
|
|
1363
1436
|
boxShadow: "none",
|
|
1364
|
-
...
|
|
1437
|
+
...b ? {
|
|
1365
1438
|
// Mobile drawers should use slide animation, not height expansion
|
|
1366
1439
|
initial: !1,
|
|
1367
1440
|
animate: !1,
|
|
@@ -1373,14 +1446,14 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
1373
1446
|
transition: { duration: 0.3 }
|
|
1374
1447
|
},
|
|
1375
1448
|
children: [
|
|
1376
|
-
!
|
|
1377
|
-
|
|
1449
|
+
!f && !b ? null : /* @__PURE__ */ t.jsxs(
|
|
1450
|
+
Ht,
|
|
1378
1451
|
{
|
|
1379
1452
|
padding: "0",
|
|
1380
|
-
flexDirection:
|
|
1381
|
-
gap:
|
|
1453
|
+
flexDirection: f ? "column" : "row",
|
|
1454
|
+
gap: f ? "4" : "0",
|
|
1382
1455
|
children: [
|
|
1383
|
-
|
|
1456
|
+
b ? /* @__PURE__ */ t.jsxs(
|
|
1384
1457
|
k,
|
|
1385
1458
|
{
|
|
1386
1459
|
width: "100%",
|
|
@@ -1388,17 +1461,17 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
1388
1461
|
alignItems: "center",
|
|
1389
1462
|
children: [
|
|
1390
1463
|
v ? /* @__PURE__ */ t.jsx(
|
|
1391
|
-
|
|
1464
|
+
he,
|
|
1392
1465
|
{
|
|
1393
|
-
icon: /* @__PURE__ */ t.jsx(
|
|
1466
|
+
icon: /* @__PURE__ */ t.jsx($n, {}),
|
|
1394
1467
|
onClick: () => {
|
|
1395
|
-
|
|
1468
|
+
g && g();
|
|
1396
1469
|
},
|
|
1397
1470
|
"aria-label": "Back"
|
|
1398
1471
|
}
|
|
1399
1472
|
) : null,
|
|
1400
1473
|
/* @__PURE__ */ t.jsx(
|
|
1401
|
-
|
|
1474
|
+
z,
|
|
1402
1475
|
{
|
|
1403
1476
|
color: "tints.uiGrey",
|
|
1404
1477
|
fontSize: "xl",
|
|
@@ -1406,9 +1479,9 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
1406
1479
|
}
|
|
1407
1480
|
),
|
|
1408
1481
|
/* @__PURE__ */ t.jsx(
|
|
1409
|
-
|
|
1482
|
+
he,
|
|
1410
1483
|
{
|
|
1411
|
-
icon: /* @__PURE__ */ t.jsx(
|
|
1484
|
+
icon: /* @__PURE__ */ t.jsx(Nt, {}),
|
|
1412
1485
|
onClick: o,
|
|
1413
1486
|
"aria-label": "Close"
|
|
1414
1487
|
}
|
|
@@ -1416,14 +1489,14 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
1416
1489
|
]
|
|
1417
1490
|
}
|
|
1418
1491
|
) : null,
|
|
1419
|
-
|
|
1420
|
-
|
|
1492
|
+
f && /* @__PURE__ */ t.jsxs(
|
|
1493
|
+
Dn,
|
|
1421
1494
|
{ width: "100%", children: [
|
|
1422
1495
|
/* @__PURE__ */ t.jsx(
|
|
1423
|
-
|
|
1496
|
+
In,
|
|
1424
1497
|
{
|
|
1425
|
-
onChange: (
|
|
1426
|
-
|
|
1498
|
+
onChange: (O) => {
|
|
1499
|
+
J(O.target.value);
|
|
1427
1500
|
},
|
|
1428
1501
|
placeholder: "Search",
|
|
1429
1502
|
autoFocus: !0,
|
|
@@ -1432,8 +1505,8 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
1432
1505
|
}
|
|
1433
1506
|
),
|
|
1434
1507
|
/* @__PURE__ */ t.jsx(
|
|
1435
|
-
|
|
1436
|
-
{ pointerEvents: "none", children: /* @__PURE__ */ t.jsx(
|
|
1508
|
+
Ln,
|
|
1509
|
+
{ pointerEvents: "none", children: /* @__PURE__ */ t.jsx(On, { as: Wt, color: "gray.500" }) }
|
|
1437
1510
|
)
|
|
1438
1511
|
] }
|
|
1439
1512
|
)
|
|
@@ -1441,15 +1514,15 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
1441
1514
|
}
|
|
1442
1515
|
),
|
|
1443
1516
|
/* @__PURE__ */ t.jsx(
|
|
1444
|
-
|
|
1517
|
+
Ft,
|
|
1445
1518
|
{
|
|
1446
1519
|
paddingX: "0",
|
|
1447
|
-
paddingBottom:
|
|
1520
|
+
paddingBottom: b ? "6" : "4",
|
|
1448
1521
|
"data-testid": `navbar-drawer-body-${s.toLowerCase()}`,
|
|
1449
1522
|
children: /* @__PURE__ */ t.jsxs(
|
|
1450
|
-
|
|
1523
|
+
gt.div,
|
|
1451
1524
|
{
|
|
1452
|
-
...
|
|
1525
|
+
...b ? {} : {
|
|
1453
1526
|
initial: { opacity: 0, y: -5 },
|
|
1454
1527
|
animate: { opacity: 1, y: 0 },
|
|
1455
1528
|
exit: { opacity: 0, y: -5 },
|
|
@@ -1466,24 +1539,24 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
1466
1539
|
},
|
|
1467
1540
|
style: {
|
|
1468
1541
|
display: "flex",
|
|
1469
|
-
flexDirection:
|
|
1470
|
-
|
|
1471
|
-
!
|
|
1472
|
-
|
|
1542
|
+
flexDirection: er(
|
|
1543
|
+
d,
|
|
1544
|
+
!b,
|
|
1545
|
+
f
|
|
1473
1546
|
),
|
|
1474
1547
|
gap: "24px",
|
|
1475
1548
|
justifyContent: "space-between"
|
|
1476
1549
|
},
|
|
1477
1550
|
children: [
|
|
1478
1551
|
u ? /* @__PURE__ */ t.jsx(
|
|
1479
|
-
|
|
1552
|
+
w,
|
|
1480
1553
|
{
|
|
1481
|
-
gap:
|
|
1554
|
+
gap: b ? "3" : "6",
|
|
1482
1555
|
display: "flex",
|
|
1483
|
-
justifyContent:
|
|
1556
|
+
justifyContent: b ? void 0 : "center",
|
|
1484
1557
|
sx: {
|
|
1485
1558
|
flexWrap: "wrap",
|
|
1486
|
-
flexDirection:
|
|
1559
|
+
flexDirection: b ? "column" : "row"
|
|
1487
1560
|
},
|
|
1488
1561
|
children: u
|
|
1489
1562
|
}
|
|
@@ -1491,20 +1564,20 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
1491
1564
|
/* @__PURE__ */ t.jsxs(
|
|
1492
1565
|
k,
|
|
1493
1566
|
{
|
|
1494
|
-
position:
|
|
1567
|
+
position: b ? void 0 : "relative",
|
|
1495
1568
|
flexDirection: "column",
|
|
1496
1569
|
gap: "6",
|
|
1497
|
-
width:
|
|
1570
|
+
width: b ? "100%" : f ? void 0 : "auto",
|
|
1498
1571
|
children: [
|
|
1499
|
-
|
|
1500
|
-
c &&
|
|
1572
|
+
i ? /* @__PURE__ */ t.jsx(w, { children: i }) : null,
|
|
1573
|
+
c && b ? /* @__PURE__ */ t.jsx(w, { children: c }) : null,
|
|
1501
1574
|
p ? /* @__PURE__ */ t.jsx(
|
|
1502
|
-
|
|
1575
|
+
w,
|
|
1503
1576
|
{
|
|
1504
1577
|
width: "100%",
|
|
1505
|
-
position:
|
|
1506
|
-
bottom:
|
|
1507
|
-
...
|
|
1578
|
+
position: b ? void 0 : "absolute",
|
|
1579
|
+
bottom: b ? void 0 : 0,
|
|
1580
|
+
...b ? { sx: { a: { width: "100%" } } } : {},
|
|
1508
1581
|
children: p
|
|
1509
1582
|
}
|
|
1510
1583
|
) : null
|
|
@@ -1513,7 +1586,7 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
1513
1586
|
)
|
|
1514
1587
|
]
|
|
1515
1588
|
},
|
|
1516
|
-
|
|
1589
|
+
F
|
|
1517
1590
|
)
|
|
1518
1591
|
}
|
|
1519
1592
|
)
|
|
@@ -1525,48 +1598,48 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
1525
1598
|
)
|
|
1526
1599
|
}
|
|
1527
1600
|
);
|
|
1528
|
-
},
|
|
1601
|
+
}, rr = ({
|
|
1529
1602
|
source: n,
|
|
1530
1603
|
onSearchCallback: o,
|
|
1531
1604
|
isActive: s
|
|
1532
1605
|
}) => {
|
|
1533
|
-
const [
|
|
1534
|
-
if (!
|
|
1535
|
-
const
|
|
1536
|
-
return
|
|
1537
|
-
const
|
|
1538
|
-
if (
|
|
1539
|
-
const
|
|
1540
|
-
const B =
|
|
1541
|
-
return
|
|
1606
|
+
const [i, c] = Z(""), [u, p] = Z([]), v = (f, x) => {
|
|
1607
|
+
if (!f) return [];
|
|
1608
|
+
const R = it(f).split(/\s+/);
|
|
1609
|
+
return x.filter((y) => {
|
|
1610
|
+
const _ = it(y.label);
|
|
1611
|
+
if (R.some(($) => Dt(_, $))) return !0;
|
|
1612
|
+
const F = _.split(/\s+/), S = R.some(($) => F.some((B) => B.includes($) || Ze($, B))), W = typeof y.additionalContent == "string" && R.some(($) => {
|
|
1613
|
+
const B = it(y.additionalContent);
|
|
1614
|
+
return Dt(B, $) || B.split(/\s+/).some((J) => J.includes($) || Ze($, J));
|
|
1542
1615
|
});
|
|
1543
|
-
return S ||
|
|
1544
|
-
}).sort((
|
|
1545
|
-
},
|
|
1546
|
-
if (c(
|
|
1616
|
+
return S || W;
|
|
1617
|
+
}).sort((y, _) => y.label.localeCompare(_.label));
|
|
1618
|
+
}, g = (f) => {
|
|
1619
|
+
if (c(f), !f) {
|
|
1547
1620
|
p([]);
|
|
1548
1621
|
return;
|
|
1549
1622
|
}
|
|
1550
|
-
const
|
|
1551
|
-
p(
|
|
1552
|
-
},
|
|
1623
|
+
const x = v(f, n);
|
|
1624
|
+
p(x), o && o(f, x);
|
|
1625
|
+
}, d = () => {
|
|
1553
1626
|
c(""), p([]);
|
|
1554
1627
|
};
|
|
1555
|
-
return
|
|
1628
|
+
return oe(() => {
|
|
1556
1629
|
s || (c(""), p([]));
|
|
1557
1630
|
}, [s]), {
|
|
1558
|
-
query:
|
|
1631
|
+
query: i,
|
|
1559
1632
|
results: u,
|
|
1560
|
-
handleClose:
|
|
1561
|
-
handleSearch:
|
|
1633
|
+
handleClose: d,
|
|
1634
|
+
handleSearch: g
|
|
1562
1635
|
};
|
|
1563
|
-
},
|
|
1636
|
+
}, or = (n) => {
|
|
1564
1637
|
const o = /* @__PURE__ */ new Set();
|
|
1565
|
-
return n.reduce((s,
|
|
1638
|
+
return n.reduce((s, i) => {
|
|
1566
1639
|
var u;
|
|
1567
|
-
const c = ((u =
|
|
1568
|
-
const
|
|
1569
|
-
return [...p, ...
|
|
1640
|
+
const c = ((u = i.sections) == null ? void 0 : u.reduce((p, v) => {
|
|
1641
|
+
const g = v.links.filter((d) => o.has(d.label) || d.isSearchable !== !0 ? !1 : (o.add(d.label), !0));
|
|
1642
|
+
return [...p, ...g];
|
|
1570
1643
|
}, [])) ?? [];
|
|
1571
1644
|
return [...s, ...c];
|
|
1572
1645
|
}, []);
|
|
@@ -1574,52 +1647,54 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
1574
1647
|
categories: n = [],
|
|
1575
1648
|
onCartClick: o,
|
|
1576
1649
|
mainCategoryLabel: s = "Menu",
|
|
1577
|
-
logoLink:
|
|
1650
|
+
logoLink: i = "https://www.everlywell.com",
|
|
1578
1651
|
hasSearch: c = !0,
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1652
|
+
hasEvaEnabled: u = !1,
|
|
1653
|
+
onEvaClick: p,
|
|
1654
|
+
onSearchClick: v,
|
|
1655
|
+
registrationUrl: g,
|
|
1656
|
+
profileUrl: d = "https://secure.everlywell.com/login",
|
|
1657
|
+
mobileBottomButtons: f = [],
|
|
1658
|
+
numberOfCartItems: x = 0,
|
|
1659
|
+
linkComponent: j,
|
|
1660
|
+
onSearchCallback: R,
|
|
1661
|
+
onLinkClick: y,
|
|
1662
|
+
onCategoryOpen: _,
|
|
1663
|
+
onMobileMenuOpen: b,
|
|
1664
|
+
onBackToMainMenu: F,
|
|
1665
|
+
onRegisterKitClick: S,
|
|
1666
|
+
onProfileClick: W,
|
|
1667
|
+
onLogoClick: $,
|
|
1668
|
+
shopAllProductsUrl: B,
|
|
1669
|
+
onShopAllProductsClick: J,
|
|
1670
|
+
hideableButtons: te
|
|
1596
1671
|
}) => {
|
|
1597
|
-
var
|
|
1598
|
-
const [
|
|
1599
|
-
|
|
1600
|
-
const
|
|
1601
|
-
return window.addEventListener(
|
|
1672
|
+
var Ve, Ie, Le;
|
|
1673
|
+
const [V, le] = Z(!1), [ae, ne] = Z(!1), [T, L] = Z(null), [O, q] = Z(!1), [ie, $e] = Z(!1), [ge, Me] = Z(0), [He, ke] = Z(!1), [Re, se] = Z(!1);
|
|
1674
|
+
oe(() => {
|
|
1675
|
+
const l = () => ke(!0), I = () => ke(!1);
|
|
1676
|
+
return window.addEventListener(ft, l), window.addEventListener(pt, I), () => {
|
|
1602
1677
|
window.removeEventListener(
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
), window.removeEventListener(
|
|
1678
|
+
ft,
|
|
1679
|
+
l
|
|
1680
|
+
), window.removeEventListener(pt, I);
|
|
1606
1681
|
};
|
|
1607
1682
|
}, []);
|
|
1608
|
-
const
|
|
1683
|
+
const Fe = ye({
|
|
1609
1684
|
base: !1,
|
|
1610
1685
|
tablet: !1,
|
|
1611
1686
|
largeTablet: !1,
|
|
1612
1687
|
mediumDesktop: !0,
|
|
1613
1688
|
desktop: !0,
|
|
1614
1689
|
fullDesktop: !0
|
|
1615
|
-
}) ?? !1,
|
|
1690
|
+
}) ?? !1, ce = ye({
|
|
1616
1691
|
base: !1,
|
|
1617
1692
|
tablet: !1,
|
|
1618
1693
|
largeTablet: !1,
|
|
1619
1694
|
mediumDesktop: !1,
|
|
1620
1695
|
desktop: !1,
|
|
1621
1696
|
fullDesktop: !0
|
|
1622
|
-
}) ?? !1,
|
|
1697
|
+
}) ?? !1, _e = !ce, Se = ye({
|
|
1623
1698
|
base: !0,
|
|
1624
1699
|
tablet: !0,
|
|
1625
1700
|
largeTablet: !0,
|
|
@@ -1627,227 +1702,229 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
1627
1702
|
desktop: !1,
|
|
1628
1703
|
fullDesktop: !1
|
|
1629
1704
|
}) ?? !0;
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
}, [
|
|
1705
|
+
oe(() => {
|
|
1706
|
+
re(), L(null);
|
|
1707
|
+
}, [Fe]);
|
|
1633
1708
|
const {
|
|
1634
|
-
query:
|
|
1635
|
-
results:
|
|
1636
|
-
handleSearch:
|
|
1637
|
-
} =
|
|
1638
|
-
source:
|
|
1639
|
-
onSearchCallback:
|
|
1640
|
-
isActive:
|
|
1641
|
-
}),
|
|
1709
|
+
query: xe,
|
|
1710
|
+
results: ue,
|
|
1711
|
+
handleSearch: ve
|
|
1712
|
+
} = rr({
|
|
1713
|
+
source: or(n),
|
|
1714
|
+
onSearchCallback: R,
|
|
1715
|
+
isActive: ae
|
|
1716
|
+
}), Be = ue.length > 0, be = j || K, Ke = Ee(B, !!j), Xe = xe && /* @__PURE__ */ t.jsxs(
|
|
1642
1717
|
k,
|
|
1643
|
-
{ gap:
|
|
1644
|
-
|
|
1718
|
+
{ gap: Be ? "6" : 0, direction: "column", children: [
|
|
1719
|
+
Be ? /* @__PURE__ */ t.jsx(z, { color: "tints.uiGrey", children: `${ue.length} Results` }) : /* @__PURE__ */ t.jsxs(
|
|
1645
1720
|
k,
|
|
1646
1721
|
{ direction: "column", gap: "6", alignItems: "flex-start", children: [
|
|
1647
1722
|
/* @__PURE__ */ t.jsx(
|
|
1648
|
-
|
|
1723
|
+
z,
|
|
1649
1724
|
{ color: "tints.uiGrey", children: "We didn't find what you were looking for." }
|
|
1650
1725
|
),
|
|
1651
1726
|
/* @__PURE__ */ t.jsx(
|
|
1652
|
-
|
|
1727
|
+
ht,
|
|
1653
1728
|
{
|
|
1654
|
-
as:
|
|
1655
|
-
onClick:
|
|
1729
|
+
as: be,
|
|
1730
|
+
onClick: J,
|
|
1656
1731
|
_hover: { textDecoration: "none" },
|
|
1657
1732
|
width: ["100%", null, null, "auto"],
|
|
1658
|
-
...
|
|
1733
|
+
...Ke,
|
|
1659
1734
|
children: "Shop all products"
|
|
1660
1735
|
}
|
|
1661
1736
|
)
|
|
1662
1737
|
] }
|
|
1663
1738
|
),
|
|
1664
1739
|
/* @__PURE__ */ t.jsx(
|
|
1665
|
-
|
|
1666
|
-
{ columns: [1, 1, 1, 4], children:
|
|
1667
|
-
(
|
|
1668
|
-
|
|
1740
|
+
sn,
|
|
1741
|
+
{ columns: [1, 1, 1, 4], children: ue.map(
|
|
1742
|
+
(l, I) => /* @__PURE__ */ t.jsx(
|
|
1743
|
+
cn,
|
|
1669
1744
|
{ children: /* @__PURE__ */ t.jsx(
|
|
1670
|
-
|
|
1745
|
+
Ge,
|
|
1671
1746
|
{
|
|
1672
|
-
href:
|
|
1673
|
-
label:
|
|
1674
|
-
additionalContent:
|
|
1675
|
-
linkComponent:
|
|
1676
|
-
forceMobileStyle: !
|
|
1747
|
+
href: l.href,
|
|
1748
|
+
label: l.label,
|
|
1749
|
+
additionalContent: l == null ? void 0 : l.additionalContent,
|
|
1750
|
+
linkComponent: j,
|
|
1751
|
+
forceMobileStyle: !Fe
|
|
1677
1752
|
}
|
|
1678
1753
|
) },
|
|
1679
|
-
`${
|
|
1754
|
+
`${l.label}-${I}`
|
|
1680
1755
|
)
|
|
1681
1756
|
) }
|
|
1682
1757
|
)
|
|
1683
1758
|
] }
|
|
1684
|
-
),
|
|
1685
|
-
|
|
1686
|
-
},
|
|
1687
|
-
|
|
1688
|
-
},
|
|
1689
|
-
|
|
1690
|
-
},
|
|
1691
|
-
|
|
1759
|
+
), re = () => {
|
|
1760
|
+
le(!1), L(null);
|
|
1761
|
+
}, G = (l) => "href" in l, ze = (l) => {
|
|
1762
|
+
G(l) ? y == null || y(l.label) : (se(V || !ce), L(l));
|
|
1763
|
+
}, We = (l) => {
|
|
1764
|
+
q(!0), ne(!1), L(null), !G(l) && (l.sections || l.spotlightCards) && (se(!1), L(l));
|
|
1765
|
+
}, me = () => {
|
|
1766
|
+
q(!1);
|
|
1692
1767
|
};
|
|
1693
|
-
|
|
1694
|
-
const
|
|
1695
|
-
|
|
1768
|
+
oe(() => {
|
|
1769
|
+
const l = (I) => {
|
|
1770
|
+
$e(I.detail.isHovering);
|
|
1696
1771
|
};
|
|
1697
1772
|
return window.addEventListener(
|
|
1698
|
-
|
|
1699
|
-
|
|
1773
|
+
dt,
|
|
1774
|
+
l
|
|
1700
1775
|
), () => {
|
|
1701
1776
|
window.removeEventListener(
|
|
1702
|
-
|
|
1703
|
-
|
|
1777
|
+
dt,
|
|
1778
|
+
l
|
|
1704
1779
|
);
|
|
1705
1780
|
};
|
|
1706
|
-
}, []),
|
|
1707
|
-
!
|
|
1708
|
-
}, [
|
|
1709
|
-
let
|
|
1710
|
-
const
|
|
1711
|
-
const
|
|
1712
|
-
|
|
1713
|
-
},
|
|
1714
|
-
return window.addEventListener("popstate",
|
|
1715
|
-
window.removeEventListener("popstate",
|
|
1781
|
+
}, []), oe(() => {
|
|
1782
|
+
!O && !ie && (L(null), ne(!1), !V && ce && se(!1));
|
|
1783
|
+
}, [O, ie, V, ce]), oe(() => {
|
|
1784
|
+
let l = window.location.href;
|
|
1785
|
+
const I = () => {
|
|
1786
|
+
const H = window.location.href;
|
|
1787
|
+
H !== l && (l = H, re(), L(null));
|
|
1788
|
+
}, A = setInterval(I, 100);
|
|
1789
|
+
return window.addEventListener("popstate", I), () => {
|
|
1790
|
+
window.removeEventListener("popstate", I), clearInterval(A);
|
|
1716
1791
|
};
|
|
1717
1792
|
}, []);
|
|
1718
|
-
const
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
},
|
|
1729
|
-
onMouseLeave: Fe,
|
|
1730
|
-
isSelected: (T == null ? void 0 : T.label) === i.label,
|
|
1731
|
-
as: oe(i) && ce ? ce : K,
|
|
1732
|
-
href: oe(i) ? i.href : void 0,
|
|
1733
|
-
onClick: oe(i) ? () => j == null ? void 0 : j(i.label) : void 0,
|
|
1734
|
-
...((I = i == null ? void 0 : i.context) == null ? void 0 : I.desktop) === "link" || je(i) ? {
|
|
1735
|
-
_hover: {
|
|
1736
|
-
backgroundColor: "tints.lightCream",
|
|
1737
|
-
textDecoration: "none",
|
|
1738
|
-
filter: "brightness(0.95)"
|
|
1739
|
-
}
|
|
1740
|
-
} : {},
|
|
1741
|
-
...((F = i == null ? void 0 : i.context) == null ? void 0 : F.desktop) !== "link" && i.buttonProps,
|
|
1742
|
-
children: i.label
|
|
1793
|
+
const Te = (l) => G(l) && (!l.buttonProps || Object.keys(l.buttonProps).length === 0 || l.buttonProps === void 0), Je = n == null ? void 0 : n.map((l, I) => {
|
|
1794
|
+
var H, Ce;
|
|
1795
|
+
const A = te.includes(l.label);
|
|
1796
|
+
return /* @__PURE__ */ t.jsx(
|
|
1797
|
+
Ue,
|
|
1798
|
+
{
|
|
1799
|
+
height: "48px",
|
|
1800
|
+
paddingInline: "16px !important",
|
|
1801
|
+
onMouseEnter: () => {
|
|
1802
|
+
We(l), _ == null || _(l.label);
|
|
1743
1803
|
},
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1804
|
+
onMouseLeave: me,
|
|
1805
|
+
isSelected: (T == null ? void 0 : T.label) === l.label,
|
|
1806
|
+
as: G(l) && be ? be : K,
|
|
1807
|
+
href: G(l) ? l.href : void 0,
|
|
1808
|
+
onClick: G(l) ? () => y == null ? void 0 : y(l.label) : void 0,
|
|
1809
|
+
...A && {
|
|
1810
|
+
display: { base: "none", fullDesktop: "flex" }
|
|
1811
|
+
},
|
|
1812
|
+
...((H = l == null ? void 0 : l.context) == null ? void 0 : H.desktop) === "link" || Te(l) ? {
|
|
1813
|
+
_hover: {
|
|
1814
|
+
backgroundColor: "tints.lightCream",
|
|
1815
|
+
textDecoration: "none",
|
|
1816
|
+
filter: "brightness(0.95)"
|
|
1817
|
+
}
|
|
1818
|
+
} : {},
|
|
1819
|
+
...((Ce = l == null ? void 0 : l.context) == null ? void 0 : Ce.desktop) !== "link" && l.buttonProps,
|
|
1820
|
+
children: l.label
|
|
1821
|
+
},
|
|
1822
|
+
`${l.label}-${I}`
|
|
1823
|
+
);
|
|
1824
|
+
}), De = (Ve = n.filter(
|
|
1825
|
+
(l) => {
|
|
1826
|
+
var I;
|
|
1827
|
+
return ((I = l == null ? void 0 : l.context) == null ? void 0 : I.mobile) === "link" || (!G(l) && l.isMobileTopLink !== !1 || Te(l)) && (_e && te.includes(l.label) || Se);
|
|
1751
1828
|
}
|
|
1752
|
-
)) == null ? void 0 :
|
|
1753
|
-
var
|
|
1754
|
-
const
|
|
1755
|
-
return
|
|
1756
|
-
|
|
1829
|
+
)) == null ? void 0 : Ve.map((l, I) => {
|
|
1830
|
+
var H;
|
|
1831
|
+
const A = l;
|
|
1832
|
+
return Te(A) || ((H = A == null ? void 0 : A.context) == null ? void 0 : H.mobile) === "link" ? /* @__PURE__ */ t.jsx(
|
|
1833
|
+
w,
|
|
1757
1834
|
{ children: /* @__PURE__ */ t.jsx(
|
|
1758
|
-
|
|
1835
|
+
Ge,
|
|
1759
1836
|
{
|
|
1760
|
-
label:
|
|
1837
|
+
label: A.label,
|
|
1761
1838
|
role: "link",
|
|
1762
|
-
href:
|
|
1839
|
+
href: A.href,
|
|
1763
1840
|
mainTextFontSize: "3xl",
|
|
1764
|
-
linkComponent:
|
|
1841
|
+
linkComponent: j,
|
|
1765
1842
|
forceMobileStyle: !0
|
|
1766
1843
|
}
|
|
1767
1844
|
) },
|
|
1768
|
-
`${
|
|
1845
|
+
`${A.label}-${I}`
|
|
1769
1846
|
) : /* @__PURE__ */ t.jsx(
|
|
1770
|
-
|
|
1847
|
+
w,
|
|
1771
1848
|
{
|
|
1772
1849
|
onClick: () => {
|
|
1773
|
-
|
|
1850
|
+
ze(A), _ == null || _(A.label);
|
|
1774
1851
|
},
|
|
1775
1852
|
children: /* @__PURE__ */ t.jsx(
|
|
1776
|
-
|
|
1853
|
+
Ge,
|
|
1777
1854
|
{
|
|
1778
|
-
label:
|
|
1855
|
+
label: A.label,
|
|
1779
1856
|
role: "link",
|
|
1780
|
-
additionalContent:
|
|
1857
|
+
additionalContent: A.additionalContent,
|
|
1781
1858
|
mainTextFontSize: "3xl",
|
|
1782
|
-
linkComponent:
|
|
1859
|
+
linkComponent: j,
|
|
1783
1860
|
forceMobileStyle: !0
|
|
1784
1861
|
}
|
|
1785
1862
|
)
|
|
1786
1863
|
},
|
|
1787
|
-
`${
|
|
1864
|
+
`${A.label}-${I}`
|
|
1788
1865
|
);
|
|
1789
|
-
}),
|
|
1866
|
+
}), Qe = /* @__PURE__ */ t.jsxs(
|
|
1790
1867
|
t.Fragment,
|
|
1791
1868
|
{ children: [
|
|
1792
1869
|
/* @__PURE__ */ t.jsx(
|
|
1793
|
-
|
|
1870
|
+
Ue,
|
|
1794
1871
|
{
|
|
1795
1872
|
as: K,
|
|
1796
|
-
href:
|
|
1873
|
+
href: d,
|
|
1797
1874
|
width: "100%",
|
|
1798
1875
|
backgroundColor: "tints.cream",
|
|
1799
|
-
onClick:
|
|
1876
|
+
onClick: W,
|
|
1800
1877
|
children: /* @__PURE__ */ t.jsxs(
|
|
1801
1878
|
k,
|
|
1802
1879
|
{ gap: "2", children: [
|
|
1803
1880
|
"Log in to My Everly",
|
|
1804
|
-
/* @__PURE__ */ t.jsx(
|
|
1881
|
+
/* @__PURE__ */ t.jsx(ee, { as: kt, size: 24 })
|
|
1805
1882
|
] }
|
|
1806
1883
|
)
|
|
1807
1884
|
},
|
|
1808
1885
|
"my-everly"
|
|
1809
1886
|
),
|
|
1810
1887
|
/* @__PURE__ */ t.jsx(
|
|
1811
|
-
|
|
1888
|
+
Ue,
|
|
1812
1889
|
{
|
|
1813
1890
|
as: K,
|
|
1814
1891
|
width: "100%",
|
|
1815
|
-
href:
|
|
1892
|
+
href: g,
|
|
1816
1893
|
backgroundColor: "tints.cream",
|
|
1817
|
-
onClick:
|
|
1894
|
+
onClick: S,
|
|
1818
1895
|
children: /* @__PURE__ */ t.jsxs(
|
|
1819
1896
|
k,
|
|
1820
1897
|
{ gap: "2", children: [
|
|
1821
1898
|
"Register kit",
|
|
1822
|
-
/* @__PURE__ */ t.jsx(
|
|
1899
|
+
/* @__PURE__ */ t.jsx(ee, { as: Mn, size: 24 })
|
|
1823
1900
|
] }
|
|
1824
1901
|
)
|
|
1825
1902
|
},
|
|
1826
1903
|
"register-kit"
|
|
1827
1904
|
)
|
|
1828
1905
|
] }
|
|
1829
|
-
),
|
|
1906
|
+
), qe = /* @__PURE__ */ t.jsxs(
|
|
1830
1907
|
k,
|
|
1831
1908
|
{ gap: "2", flexDirection: "column", children: [
|
|
1832
|
-
|
|
1833
|
-
|
|
1909
|
+
f,
|
|
1910
|
+
Qe
|
|
1834
1911
|
] }
|
|
1835
|
-
), Q =
|
|
1912
|
+
), Q = Re || V, Ne = T ? /* @__PURE__ */ t.jsx(
|
|
1836
1913
|
k,
|
|
1837
|
-
{ direction: Q ? "column" : ["column", null, null, "row"], gap: "8", children: (
|
|
1838
|
-
const
|
|
1839
|
-
for (let
|
|
1840
|
-
|
|
1914
|
+
{ direction: Q ? "column" : ["column", null, null, "row"], gap: "8", children: (Ie = T == null ? void 0 : T.sections) == null ? void 0 : Ie.map((l, I) => {
|
|
1915
|
+
const A = [];
|
|
1916
|
+
for (let H = 0; H < l.links.length; H += 3)
|
|
1917
|
+
A.push(l.links.slice(H, H + 3));
|
|
1841
1918
|
return /* @__PURE__ */ t.jsxs(
|
|
1842
|
-
|
|
1919
|
+
w,
|
|
1843
1920
|
{ children: [
|
|
1844
1921
|
/* @__PURE__ */ t.jsx(
|
|
1845
|
-
|
|
1922
|
+
z,
|
|
1846
1923
|
{
|
|
1847
1924
|
fontSize: "md",
|
|
1848
1925
|
color: "tints.uiGrey",
|
|
1849
1926
|
marginBottom: Q ? 0 : [0, null, null, 6],
|
|
1850
|
-
children:
|
|
1927
|
+
children: l.title
|
|
1851
1928
|
}
|
|
1852
1929
|
),
|
|
1853
1930
|
/* @__PURE__ */ t.jsx(
|
|
@@ -1855,145 +1932,147 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
1855
1932
|
{
|
|
1856
1933
|
flexDirection: Q ? "column" : ["column", null, null, "row"],
|
|
1857
1934
|
gap: Q ? void 0 : [null, null, null, 8],
|
|
1858
|
-
children:
|
|
1859
|
-
(
|
|
1935
|
+
children: A == null ? void 0 : A.map(
|
|
1936
|
+
(H, Ce) => /* @__PURE__ */ t.jsx(
|
|
1860
1937
|
k,
|
|
1861
1938
|
{
|
|
1862
1939
|
flexDirection: "column",
|
|
1863
1940
|
gap: Q ? void 0 : [null, null, null, 5],
|
|
1864
1941
|
marginLeft: Q ? void 0 : [null, null, null, -2],
|
|
1865
|
-
children:
|
|
1866
|
-
(
|
|
1867
|
-
|
|
1942
|
+
children: H == null ? void 0 : H.map(
|
|
1943
|
+
(fe, et) => /* @__PURE__ */ t.jsx(
|
|
1944
|
+
Ge,
|
|
1868
1945
|
{
|
|
1869
|
-
label:
|
|
1870
|
-
href:
|
|
1871
|
-
additionalContent:
|
|
1872
|
-
linkComponent:
|
|
1946
|
+
label: fe.label,
|
|
1947
|
+
href: fe.href,
|
|
1948
|
+
additionalContent: fe.additionalContent,
|
|
1949
|
+
linkComponent: j,
|
|
1873
1950
|
forceMobileStyle: Q,
|
|
1874
|
-
onClick: () =>
|
|
1951
|
+
onClick: () => y == null ? void 0 : y(fe.label)
|
|
1875
1952
|
},
|
|
1876
|
-
`${
|
|
1953
|
+
`${fe.label}-${et}`
|
|
1877
1954
|
)
|
|
1878
1955
|
)
|
|
1879
1956
|
},
|
|
1880
|
-
|
|
1957
|
+
Ce
|
|
1881
1958
|
)
|
|
1882
1959
|
)
|
|
1883
1960
|
}
|
|
1884
1961
|
)
|
|
1885
1962
|
] },
|
|
1886
|
-
`${
|
|
1963
|
+
`${l.title}-${I}`
|
|
1887
1964
|
);
|
|
1888
1965
|
}) }
|
|
1889
|
-
) : null,
|
|
1890
|
-
(
|
|
1891
|
-
|
|
1966
|
+
) : null, de = T != null && T.spotlightCards ? (Le = T.spotlightCards) == null ? void 0 : Le.map(
|
|
1967
|
+
(l, I) => /* @__PURE__ */ t.jsx(
|
|
1968
|
+
Kn,
|
|
1892
1969
|
{
|
|
1893
|
-
...
|
|
1970
|
+
...l,
|
|
1894
1971
|
forceMobileStyle: Q
|
|
1895
1972
|
},
|
|
1896
|
-
`${
|
|
1973
|
+
`${l.title}-${I}`
|
|
1897
1974
|
)
|
|
1898
|
-
) : /* @__PURE__ */ t.jsx(
|
|
1975
|
+
) : /* @__PURE__ */ t.jsx(w, {});
|
|
1899
1976
|
return /* @__PURE__ */ t.jsxs(
|
|
1900
|
-
|
|
1977
|
+
w,
|
|
1901
1978
|
{
|
|
1902
1979
|
as: "nav",
|
|
1903
1980
|
"aria-label": "Main navigation",
|
|
1904
1981
|
position: "sticky",
|
|
1905
1982
|
top: "0",
|
|
1906
1983
|
width: "100%",
|
|
1907
|
-
zIndex: ["sticky", null, null,
|
|
1984
|
+
zIndex: ["sticky", null, null, He ? "modal" : "sticky"],
|
|
1908
1985
|
children: [
|
|
1909
1986
|
/* @__PURE__ */ t.jsx(
|
|
1910
|
-
|
|
1987
|
+
Xn,
|
|
1911
1988
|
{
|
|
1912
|
-
desktopTopButtons:
|
|
1989
|
+
desktopTopButtons: Je,
|
|
1913
1990
|
kitRegistrationElement: /* @__PURE__ */ t.jsx(
|
|
1914
|
-
|
|
1991
|
+
Ue,
|
|
1915
1992
|
{
|
|
1916
1993
|
as: K,
|
|
1917
1994
|
height: "48px",
|
|
1918
1995
|
paddingInline: "16px !important",
|
|
1919
|
-
href:
|
|
1920
|
-
onClick:
|
|
1996
|
+
href: g,
|
|
1997
|
+
onClick: S,
|
|
1921
1998
|
backgroundColor: "tints.cream",
|
|
1922
1999
|
children: "Register Kit"
|
|
1923
2000
|
}
|
|
1924
2001
|
),
|
|
1925
2002
|
profileElement: /* @__PURE__ */ t.jsx(
|
|
1926
2003
|
K,
|
|
1927
|
-
{ href:
|
|
2004
|
+
{ href: d, "aria-label": "login", onClick: W, children: /* @__PURE__ */ t.jsx(he, { icon: /* @__PURE__ */ t.jsx(ee, { as: kt }), "aria-label": "Profile" }) }
|
|
1928
2005
|
),
|
|
1929
2006
|
cartElement: /* @__PURE__ */ t.jsx(
|
|
1930
|
-
|
|
2007
|
+
Jn,
|
|
1931
2008
|
{
|
|
1932
2009
|
"aria-label": "Cart",
|
|
1933
|
-
count:
|
|
2010
|
+
count: x,
|
|
1934
2011
|
onClick: o
|
|
1935
2012
|
}
|
|
1936
2013
|
),
|
|
1937
2014
|
onSearchClick: () => {
|
|
1938
|
-
|
|
2015
|
+
ne(!ae), v == null || v();
|
|
1939
2016
|
},
|
|
1940
2017
|
onMenuClick: () => {
|
|
1941
|
-
|
|
2018
|
+
le(!0), b == null || b();
|
|
1942
2019
|
},
|
|
1943
2020
|
hasSearch: c,
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
2021
|
+
hasEvaEnabled: u,
|
|
2022
|
+
onEvaClick: p,
|
|
2023
|
+
logoLink: i,
|
|
2024
|
+
linkComponent: j,
|
|
2025
|
+
onLogoClick: $,
|
|
2026
|
+
setTopOffset: Me
|
|
1948
2027
|
}
|
|
1949
2028
|
),
|
|
1950
2029
|
/* @__PURE__ */ t.jsxs(
|
|
1951
|
-
|
|
2030
|
+
w,
|
|
1952
2031
|
{ position: "relative", zIndex: "modal", children: [
|
|
1953
2032
|
/* @__PURE__ */ t.jsx(
|
|
1954
|
-
|
|
2033
|
+
st,
|
|
1955
2034
|
{
|
|
1956
|
-
isOpen:
|
|
1957
|
-
onClose:
|
|
2035
|
+
isOpen: V,
|
|
2036
|
+
onClose: re,
|
|
1958
2037
|
title: s,
|
|
1959
|
-
navDrawerLinks:
|
|
1960
|
-
bottomNavButtons:
|
|
2038
|
+
navDrawerLinks: De,
|
|
2039
|
+
bottomNavButtons: qe,
|
|
1961
2040
|
hasBackButton: !1,
|
|
1962
|
-
topOffset:
|
|
2041
|
+
topOffset: ge,
|
|
1963
2042
|
forceMobilePlacement: !0
|
|
1964
2043
|
}
|
|
1965
2044
|
),
|
|
1966
2045
|
/* @__PURE__ */ t.jsx(
|
|
1967
|
-
|
|
2046
|
+
st,
|
|
1968
2047
|
{
|
|
1969
2048
|
isOpen: !!T,
|
|
1970
2049
|
onClose: () => {
|
|
1971
|
-
|
|
2050
|
+
re(), L(null), V || se(!1);
|
|
1972
2051
|
},
|
|
1973
2052
|
title: (T == null ? void 0 : T.label) || "",
|
|
1974
|
-
navDrawerLinks:
|
|
2053
|
+
navDrawerLinks: Ne,
|
|
1975
2054
|
onBackClick: () => {
|
|
1976
|
-
|
|
2055
|
+
L(null), V || se(!1);
|
|
1977
2056
|
},
|
|
1978
|
-
spotlightCards:
|
|
2057
|
+
spotlightCards: de,
|
|
1979
2058
|
hasOnlySpotlightCards: T == null ? void 0 : T.hasOnlySpotlightCards,
|
|
1980
2059
|
bottomButton: T == null ? void 0 : T.bottomButton,
|
|
1981
|
-
topOffset:
|
|
1982
|
-
forceMobilePlacement:
|
|
1983
|
-
|
|
2060
|
+
topOffset: ge,
|
|
2061
|
+
forceMobilePlacement: Re || V || // Below 1400px, if main menu is open, always use mobile closing
|
|
2062
|
+
V && !ce
|
|
1984
2063
|
}
|
|
1985
2064
|
),
|
|
1986
2065
|
/* @__PURE__ */ t.jsx(
|
|
1987
|
-
|
|
2066
|
+
st,
|
|
1988
2067
|
{
|
|
1989
|
-
isOpen:
|
|
1990
|
-
onClose: () =>
|
|
2068
|
+
isOpen: ae,
|
|
2069
|
+
onClose: () => ne(!1),
|
|
1991
2070
|
title: "Search",
|
|
1992
|
-
navDrawerLinks:
|
|
1993
|
-
onSearch:
|
|
2071
|
+
navDrawerLinks: Xe,
|
|
2072
|
+
onSearch: ve,
|
|
1994
2073
|
hasSearch: !0,
|
|
1995
2074
|
hasBackButton: !1,
|
|
1996
|
-
topOffset:
|
|
2075
|
+
topOffset: ge
|
|
1997
2076
|
}
|
|
1998
2077
|
)
|
|
1999
2078
|
] }
|
|
@@ -2001,46 +2080,46 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
2001
2080
|
]
|
|
2002
2081
|
}
|
|
2003
2082
|
);
|
|
2004
|
-
},
|
|
2005
|
-
const
|
|
2083
|
+
}, Ot = ({ links: n, linkComponent: o, onLinkClick: s }) => {
|
|
2084
|
+
const i = o || K, c = (u) => {
|
|
2006
2085
|
s && s(u);
|
|
2007
2086
|
};
|
|
2008
2087
|
return /* @__PURE__ */ t.jsx(
|
|
2009
2088
|
k,
|
|
2010
2089
|
{ direction: "column", gap: 6, children: n.map(
|
|
2011
2090
|
(u) => /* @__PURE__ */ t.jsx(
|
|
2012
|
-
|
|
2091
|
+
z,
|
|
2013
2092
|
{
|
|
2014
|
-
as:
|
|
2093
|
+
as: i,
|
|
2015
2094
|
color: "white",
|
|
2016
2095
|
size: "lg",
|
|
2017
2096
|
_hover: { color: "viridian.lighter", textDecoration: "none" },
|
|
2018
2097
|
onClick: () => c(u.label),
|
|
2019
|
-
...
|
|
2098
|
+
...Ee(u.href, !!o),
|
|
2020
2099
|
children: u.label
|
|
2021
2100
|
},
|
|
2022
2101
|
u.label
|
|
2023
2102
|
)
|
|
2024
2103
|
) }
|
|
2025
2104
|
);
|
|
2026
|
-
},
|
|
2027
|
-
const
|
|
2105
|
+
}, lr = ({ title: n, links: o, isLast: s }) => {
|
|
2106
|
+
const i = s ? "transparent" : `${X.colors.viridian.lighter}20`;
|
|
2028
2107
|
return o ? /* @__PURE__ */ t.jsx(
|
|
2029
|
-
|
|
2030
|
-
{ borderColor:
|
|
2108
|
+
dn,
|
|
2109
|
+
{ borderColor: i, children: ({ isExpanded: c }) => /* @__PURE__ */ t.jsxs(
|
|
2031
2110
|
t.Fragment,
|
|
2032
2111
|
{ children: [
|
|
2033
2112
|
/* @__PURE__ */ t.jsxs(
|
|
2034
|
-
|
|
2113
|
+
fn,
|
|
2035
2114
|
{ paddingX: 0, paddingY: 4, _hover: { bg: "transparent" }, children: [
|
|
2036
2115
|
/* @__PURE__ */ t.jsx(
|
|
2037
|
-
|
|
2116
|
+
z,
|
|
2038
2117
|
{ color: "viridian.lighter", size: "lg", flex: "1", textAlign: "left", children: n }
|
|
2039
2118
|
),
|
|
2040
2119
|
/* @__PURE__ */ t.jsx(
|
|
2041
|
-
|
|
2120
|
+
ee,
|
|
2042
2121
|
{
|
|
2043
|
-
as:
|
|
2122
|
+
as: Hn,
|
|
2044
2123
|
size: "sm",
|
|
2045
2124
|
color: "viridian.lighter",
|
|
2046
2125
|
transform: c ? "rotate(-180deg)" : "rotate(0deg)",
|
|
@@ -2050,22 +2129,22 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
2050
2129
|
] }
|
|
2051
2130
|
),
|
|
2052
2131
|
/* @__PURE__ */ t.jsx(
|
|
2053
|
-
|
|
2132
|
+
pn,
|
|
2054
2133
|
{ pb: 4, px: 0, children: o }
|
|
2055
2134
|
)
|
|
2056
2135
|
] }
|
|
2057
2136
|
) }
|
|
2058
2137
|
) : null;
|
|
2059
|
-
},
|
|
2060
|
-
|
|
2138
|
+
}, ar = ({ title: n, links: o }) => o ? /* @__PURE__ */ t.jsxs(
|
|
2139
|
+
w,
|
|
2061
2140
|
{ children: [
|
|
2062
2141
|
/* @__PURE__ */ t.jsx(
|
|
2063
|
-
|
|
2142
|
+
z,
|
|
2064
2143
|
{ color: "viridian.lighter", mb: 6, fontSize: "lg", children: n }
|
|
2065
2144
|
),
|
|
2066
2145
|
o
|
|
2067
2146
|
] }
|
|
2068
|
-
) : null,
|
|
2147
|
+
) : null, ir = ({
|
|
2069
2148
|
sections: n,
|
|
2070
2149
|
linkComponent: o,
|
|
2071
2150
|
onLinkClick: s
|
|
@@ -2083,11 +2162,11 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
2083
2162
|
k,
|
|
2084
2163
|
{ gap: 120, children: n.map(
|
|
2085
2164
|
({ title: c, links: u }) => /* @__PURE__ */ t.jsx(
|
|
2086
|
-
|
|
2165
|
+
ar,
|
|
2087
2166
|
{
|
|
2088
2167
|
title: c,
|
|
2089
2168
|
links: /* @__PURE__ */ t.jsx(
|
|
2090
|
-
|
|
2169
|
+
Ot,
|
|
2091
2170
|
{
|
|
2092
2171
|
links: u,
|
|
2093
2172
|
linkComponent: o,
|
|
@@ -2101,7 +2180,7 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
2101
2180
|
)
|
|
2102
2181
|
}
|
|
2103
2182
|
) : /* @__PURE__ */ t.jsx(
|
|
2104
|
-
|
|
2183
|
+
un,
|
|
2105
2184
|
{
|
|
2106
2185
|
allowMultiple: !0,
|
|
2107
2186
|
defaultIndex: [0],
|
|
@@ -2110,11 +2189,11 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
2110
2189
|
flexDirection: "column",
|
|
2111
2190
|
children: n.map(
|
|
2112
2191
|
({ title: c, links: u }, p) => /* @__PURE__ */ t.jsx(
|
|
2113
|
-
|
|
2192
|
+
lr,
|
|
2114
2193
|
{
|
|
2115
2194
|
title: c,
|
|
2116
2195
|
links: /* @__PURE__ */ t.jsx(
|
|
2117
|
-
|
|
2196
|
+
Ot,
|
|
2118
2197
|
{
|
|
2119
2198
|
links: u,
|
|
2120
2199
|
linkComponent: o,
|
|
@@ -2127,42 +2206,42 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
2127
2206
|
)
|
|
2128
2207
|
)
|
|
2129
2208
|
}
|
|
2130
|
-
),
|
|
2131
|
-
instagram:
|
|
2132
|
-
linkedin:
|
|
2133
|
-
facebook:
|
|
2134
|
-
tiktok:
|
|
2135
|
-
x:
|
|
2136
|
-
},
|
|
2209
|
+
), At = {
|
|
2210
|
+
instagram: Bn,
|
|
2211
|
+
linkedin: zn,
|
|
2212
|
+
facebook: Wn,
|
|
2213
|
+
tiktok: Nn,
|
|
2214
|
+
x: Vn
|
|
2215
|
+
}, sr = ({
|
|
2137
2216
|
socialLinks: n,
|
|
2138
2217
|
onEmailSubmit: o,
|
|
2139
2218
|
socialMediaLabel: s,
|
|
2140
|
-
newsletterLabel:
|
|
2219
|
+
newsletterLabel: i,
|
|
2141
2220
|
onLinkClick: c,
|
|
2142
2221
|
showNewsletter: u = !0
|
|
2143
2222
|
}) => {
|
|
2144
|
-
const [p, v] = Pe.useState(""),
|
|
2223
|
+
const [p, v] = Pe.useState(""), g = () => {
|
|
2145
2224
|
p && o && (o(p), v(""));
|
|
2146
|
-
},
|
|
2147
|
-
|
|
2148
|
-
},
|
|
2149
|
-
c && c(
|
|
2225
|
+
}, d = (x) => {
|
|
2226
|
+
x.key === "Enter" && g();
|
|
2227
|
+
}, f = (x) => {
|
|
2228
|
+
c && c(x);
|
|
2150
2229
|
};
|
|
2151
2230
|
return /* @__PURE__ */ t.jsxs(
|
|
2152
|
-
|
|
2231
|
+
w,
|
|
2153
2232
|
{ width: ["100%", null, null, "440px"], children: [
|
|
2154
2233
|
u && /* @__PURE__ */ t.jsxs(
|
|
2155
|
-
|
|
2234
|
+
w,
|
|
2156
2235
|
{ mb: [8, 10], children: [
|
|
2157
2236
|
/* @__PURE__ */ t.jsx(
|
|
2158
|
-
|
|
2159
|
-
{ color: "viridian.lighter", mb: 6, size: "lg", children:
|
|
2237
|
+
z,
|
|
2238
|
+
{ color: "viridian.lighter", mb: 6, size: "lg", children: i }
|
|
2160
2239
|
),
|
|
2161
2240
|
/* @__PURE__ */ t.jsxs(
|
|
2162
|
-
|
|
2241
|
+
hn,
|
|
2163
2242
|
{ children: [
|
|
2164
2243
|
/* @__PURE__ */ t.jsx(
|
|
2165
|
-
|
|
2244
|
+
gn,
|
|
2166
2245
|
{
|
|
2167
2246
|
placeholder: "Enter your email",
|
|
2168
2247
|
bg: "transparent",
|
|
@@ -2174,14 +2253,14 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
2174
2253
|
height: "52px",
|
|
2175
2254
|
pr: "48px",
|
|
2176
2255
|
value: p,
|
|
2177
|
-
onChange: (
|
|
2178
|
-
onKeyPress:
|
|
2256
|
+
onChange: (x) => v(x.target.value),
|
|
2257
|
+
onKeyPress: d
|
|
2179
2258
|
}
|
|
2180
2259
|
),
|
|
2181
2260
|
/* @__PURE__ */ t.jsx(
|
|
2182
|
-
|
|
2261
|
+
xn,
|
|
2183
2262
|
{ h: "52px", pr: 4, children: /* @__PURE__ */ t.jsx(
|
|
2184
|
-
|
|
2263
|
+
ee,
|
|
2185
2264
|
{
|
|
2186
2265
|
as: Fn,
|
|
2187
2266
|
color: "viridian.lighter",
|
|
@@ -2189,7 +2268,7 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
2189
2268
|
height: "24px",
|
|
2190
2269
|
opacity: 0.66,
|
|
2191
2270
|
cursor: "pointer",
|
|
2192
|
-
onClick:
|
|
2271
|
+
onClick: g,
|
|
2193
2272
|
"data-testid": "arrow-right-icon",
|
|
2194
2273
|
role: "button",
|
|
2195
2274
|
"aria-label": "Submit"
|
|
@@ -2201,34 +2280,34 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
2201
2280
|
] }
|
|
2202
2281
|
),
|
|
2203
2282
|
/* @__PURE__ */ t.jsxs(
|
|
2204
|
-
|
|
2283
|
+
w,
|
|
2205
2284
|
{ children: [
|
|
2206
2285
|
/* @__PURE__ */ t.jsx(
|
|
2207
|
-
|
|
2286
|
+
z,
|
|
2208
2287
|
{ color: "viridian.lighter", marginBottom: 4, size: "lg", children: s }
|
|
2209
2288
|
),
|
|
2210
2289
|
/* @__PURE__ */ t.jsx(
|
|
2211
2290
|
k,
|
|
2212
2291
|
{ gap: 3, children: n == null ? void 0 : n.map(
|
|
2213
|
-
(
|
|
2292
|
+
(x) => /* @__PURE__ */ t.jsx(
|
|
2214
2293
|
K,
|
|
2215
2294
|
{
|
|
2216
|
-
href:
|
|
2295
|
+
href: x.href,
|
|
2217
2296
|
target: "_blank",
|
|
2218
2297
|
rel: "noopener noreferrer",
|
|
2219
|
-
"aria-label":
|
|
2220
|
-
onClick: () =>
|
|
2221
|
-
children:
|
|
2222
|
-
|
|
2298
|
+
"aria-label": x.name,
|
|
2299
|
+
onClick: () => f(x.name),
|
|
2300
|
+
children: At[x.name.toLowerCase()] && /* @__PURE__ */ t.jsx(
|
|
2301
|
+
ee,
|
|
2223
2302
|
{
|
|
2224
|
-
as:
|
|
2303
|
+
as: At[x.name.toLowerCase()],
|
|
2225
2304
|
color: "white",
|
|
2226
2305
|
width: ["48px", null, "24px", null],
|
|
2227
2306
|
height: ["48px", null, "24px", null]
|
|
2228
2307
|
}
|
|
2229
2308
|
)
|
|
2230
2309
|
},
|
|
2231
|
-
|
|
2310
|
+
x.name
|
|
2232
2311
|
)
|
|
2233
2312
|
) }
|
|
2234
2313
|
)
|
|
@@ -2236,23 +2315,23 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
2236
2315
|
)
|
|
2237
2316
|
] }
|
|
2238
2317
|
);
|
|
2239
|
-
},
|
|
2318
|
+
}, cr = ({
|
|
2240
2319
|
links: n,
|
|
2241
2320
|
linkComponent: o,
|
|
2242
2321
|
onLinkClick: s
|
|
2243
2322
|
}) => {
|
|
2244
|
-
const
|
|
2323
|
+
const i = o || K, c = (p) => {
|
|
2245
2324
|
s && s(p);
|
|
2246
2325
|
}, u = n == null ? void 0 : n.map(
|
|
2247
2326
|
(p) => /* @__PURE__ */ t.jsx(
|
|
2248
|
-
|
|
2327
|
+
z,
|
|
2249
2328
|
{
|
|
2250
|
-
as:
|
|
2329
|
+
as: i,
|
|
2251
2330
|
color: "viridian.lighter",
|
|
2252
2331
|
size: "sm",
|
|
2253
2332
|
_hover: { color: "white", textDecoration: "none" },
|
|
2254
2333
|
onClick: () => c(p.label),
|
|
2255
|
-
...
|
|
2334
|
+
...Ee(p.href, !!o),
|
|
2256
2335
|
children: p.label
|
|
2257
2336
|
},
|
|
2258
2337
|
p.label
|
|
@@ -2277,7 +2356,7 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
2277
2356
|
}
|
|
2278
2357
|
),
|
|
2279
2358
|
/* @__PURE__ */ t.jsxs(
|
|
2280
|
-
|
|
2359
|
+
z,
|
|
2281
2360
|
{ color: "viridian.lighter", fontSize: "sm", children: [
|
|
2282
2361
|
"© Everlywell ",
|
|
2283
2362
|
(/* @__PURE__ */ new Date()).getFullYear()
|
|
@@ -2286,30 +2365,30 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
2286
2365
|
]
|
|
2287
2366
|
}
|
|
2288
2367
|
);
|
|
2289
|
-
},
|
|
2368
|
+
}, Cr = Pe.forwardRef(({
|
|
2290
2369
|
navigationSections: n = [],
|
|
2291
2370
|
disclaimer: o,
|
|
2292
2371
|
newsletterLabel: s,
|
|
2293
|
-
socialMediaLabel:
|
|
2372
|
+
socialMediaLabel: i,
|
|
2294
2373
|
socialLinks: c,
|
|
2295
2374
|
complianceLinks: u,
|
|
2296
2375
|
linkComponent: p,
|
|
2297
2376
|
onEmailSubmit: v,
|
|
2298
|
-
additionalContent:
|
|
2299
|
-
onLinkClick:
|
|
2300
|
-
onSocialMediaClick:
|
|
2301
|
-
showNewsletter:
|
|
2377
|
+
additionalContent: g,
|
|
2378
|
+
onLinkClick: d,
|
|
2379
|
+
onSocialMediaClick: f,
|
|
2380
|
+
showNewsletter: x = !0
|
|
2302
2381
|
}, j) => /* @__PURE__ */ t.jsx(
|
|
2303
|
-
|
|
2382
|
+
w,
|
|
2304
2383
|
{ as: "footer", bg: "viridian.dark", py: [6, 8], px: [4, 6], ref: j, children: /* @__PURE__ */ t.jsxs(
|
|
2305
|
-
|
|
2384
|
+
vn,
|
|
2306
2385
|
{ size: "fluid", children: [
|
|
2307
2386
|
/* @__PURE__ */ t.jsxs(
|
|
2308
2387
|
k,
|
|
2309
2388
|
{ direction: "column", gap: [8, 12], children: [
|
|
2310
2389
|
/* @__PURE__ */ t.jsx(
|
|
2311
|
-
|
|
2312
|
-
{ children: /* @__PURE__ */ t.jsx(
|
|
2390
|
+
w,
|
|
2391
|
+
{ children: /* @__PURE__ */ t.jsx(Vt, { width: ["150px", "202px"], color: "white" }) }
|
|
2313
2392
|
),
|
|
2314
2393
|
/* @__PURE__ */ t.jsxs(
|
|
2315
2394
|
k,
|
|
@@ -2320,22 +2399,22 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
2320
2399
|
gap: [8, 8, 8, 0],
|
|
2321
2400
|
children: [
|
|
2322
2401
|
/* @__PURE__ */ t.jsx(
|
|
2323
|
-
|
|
2402
|
+
ir,
|
|
2324
2403
|
{
|
|
2325
2404
|
sections: n,
|
|
2326
2405
|
linkComponent: p,
|
|
2327
|
-
onLinkClick:
|
|
2406
|
+
onLinkClick: d
|
|
2328
2407
|
}
|
|
2329
2408
|
),
|
|
2330
2409
|
/* @__PURE__ */ t.jsx(
|
|
2331
|
-
|
|
2410
|
+
sr,
|
|
2332
2411
|
{
|
|
2333
2412
|
socialLinks: c,
|
|
2334
2413
|
newsletterLabel: s,
|
|
2335
|
-
socialMediaLabel:
|
|
2414
|
+
socialMediaLabel: i,
|
|
2336
2415
|
onEmailSubmit: v,
|
|
2337
|
-
onLinkClick:
|
|
2338
|
-
showNewsletter:
|
|
2416
|
+
onLinkClick: f,
|
|
2417
|
+
showNewsletter: x
|
|
2339
2418
|
}
|
|
2340
2419
|
)
|
|
2341
2420
|
]
|
|
@@ -2351,7 +2430,7 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
2351
2430
|
gap: [6, 6, 0],
|
|
2352
2431
|
children: [
|
|
2353
2432
|
o && /* @__PURE__ */ t.jsx(
|
|
2354
|
-
|
|
2433
|
+
z,
|
|
2355
2434
|
{
|
|
2356
2435
|
color: "viridian.lighter",
|
|
2357
2436
|
fontSize: "sm",
|
|
@@ -2362,14 +2441,14 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
2362
2441
|
}
|
|
2363
2442
|
}
|
|
2364
2443
|
),
|
|
2365
|
-
|
|
2444
|
+
g
|
|
2366
2445
|
]
|
|
2367
2446
|
}
|
|
2368
2447
|
)
|
|
2369
2448
|
] }
|
|
2370
2449
|
),
|
|
2371
2450
|
/* @__PURE__ */ t.jsx(
|
|
2372
|
-
|
|
2451
|
+
w,
|
|
2373
2452
|
{
|
|
2374
2453
|
borderTop: "1px solid",
|
|
2375
2454
|
borderColor: `${X.colors.viridian.lighter}20`,
|
|
@@ -2378,76 +2457,76 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
2378
2457
|
}
|
|
2379
2458
|
),
|
|
2380
2459
|
/* @__PURE__ */ t.jsx(
|
|
2381
|
-
|
|
2460
|
+
cr,
|
|
2382
2461
|
{
|
|
2383
2462
|
disclaimer: o,
|
|
2384
2463
|
links: u,
|
|
2385
2464
|
linkComponent: p,
|
|
2386
|
-
onLinkClick:
|
|
2465
|
+
onLinkClick: d
|
|
2387
2466
|
}
|
|
2388
2467
|
)
|
|
2389
2468
|
] }
|
|
2390
2469
|
) }
|
|
2391
|
-
)),
|
|
2392
|
-
Container:
|
|
2393
|
-
Overlay:
|
|
2394
|
-
Content:
|
|
2395
|
-
Header:
|
|
2396
|
-
Body:
|
|
2397
|
-
Footer:
|
|
2470
|
+
)), ur = (n) => n ? {
|
|
2471
|
+
Container: Mt,
|
|
2472
|
+
Overlay: $t,
|
|
2473
|
+
Content: Pt,
|
|
2474
|
+
Header: Ht,
|
|
2475
|
+
Body: Ft,
|
|
2476
|
+
Footer: bn,
|
|
2398
2477
|
CloseButton: mn
|
|
2399
2478
|
} : {
|
|
2400
|
-
Container:
|
|
2401
|
-
Overlay:
|
|
2402
|
-
Content:
|
|
2403
|
-
Header:
|
|
2404
|
-
Body:
|
|
2405
|
-
Footer:
|
|
2406
|
-
CloseButton:
|
|
2407
|
-
},
|
|
2479
|
+
Container: Cn,
|
|
2480
|
+
Overlay: wn,
|
|
2481
|
+
Content: jn,
|
|
2482
|
+
Header: yn,
|
|
2483
|
+
Body: En,
|
|
2484
|
+
Footer: kn,
|
|
2485
|
+
CloseButton: Rn
|
|
2486
|
+
}, wr = ({
|
|
2408
2487
|
isOpen: n,
|
|
2409
2488
|
onClose: o,
|
|
2410
2489
|
children: s,
|
|
2411
|
-
header:
|
|
2490
|
+
header: i,
|
|
2412
2491
|
footer: c,
|
|
2413
2492
|
headerProps: u,
|
|
2414
2493
|
bodyProps: p,
|
|
2415
2494
|
footerProps: v,
|
|
2416
|
-
contentProps:
|
|
2417
|
-
...
|
|
2495
|
+
contentProps: g,
|
|
2496
|
+
...d
|
|
2418
2497
|
}) => {
|
|
2419
|
-
var
|
|
2420
|
-
const [
|
|
2498
|
+
var W, $, B, J, te;
|
|
2499
|
+
const [f] = ct(`(max-width: ${X.breakpoints.tablet})`), x = (te = (J = (B = ($ = (W = X) == null ? void 0 : W.components) == null ? void 0 : $.Modal) == null ? void 0 : B.baseStyle) == null ? void 0 : J.overlay) == null ? void 0 : te.background, {
|
|
2421
2500
|
Container: j,
|
|
2422
|
-
Overlay:
|
|
2423
|
-
Content:
|
|
2424
|
-
Header:
|
|
2425
|
-
Body:
|
|
2426
|
-
Footer:
|
|
2501
|
+
Overlay: R,
|
|
2502
|
+
Content: y,
|
|
2503
|
+
Header: _,
|
|
2504
|
+
Body: b,
|
|
2505
|
+
Footer: F,
|
|
2427
2506
|
CloseButton: S
|
|
2428
|
-
} =
|
|
2507
|
+
} = ur(f);
|
|
2429
2508
|
return /* @__PURE__ */ t.jsxs(
|
|
2430
2509
|
j,
|
|
2431
2510
|
{
|
|
2432
|
-
...
|
|
2511
|
+
...d,
|
|
2433
2512
|
isOpen: n,
|
|
2434
2513
|
onClose: o,
|
|
2435
2514
|
size: "xl",
|
|
2436
|
-
...
|
|
2515
|
+
...f ? { placement: "bottom" } : {},
|
|
2437
2516
|
children: [
|
|
2438
|
-
/* @__PURE__ */ t.jsx(
|
|
2517
|
+
/* @__PURE__ */ t.jsx(R, { backdropFilter: "auto", backgroundColor: x }),
|
|
2439
2518
|
/* @__PURE__ */ t.jsxs(
|
|
2440
|
-
|
|
2519
|
+
y,
|
|
2441
2520
|
{
|
|
2442
2521
|
backgroundColor: "tints.white",
|
|
2443
|
-
borderRadius:
|
|
2522
|
+
borderRadius: f ? "20px 20px 0 0" : "20px",
|
|
2444
2523
|
overflowY: "auto",
|
|
2445
2524
|
gap: 0,
|
|
2446
|
-
...
|
|
2447
|
-
...
|
|
2525
|
+
...i && f && { paddingTop: 0 },
|
|
2526
|
+
...g,
|
|
2448
2527
|
children: [
|
|
2449
2528
|
/* @__PURE__ */ t.jsxs(
|
|
2450
|
-
|
|
2529
|
+
_,
|
|
2451
2530
|
{
|
|
2452
2531
|
display: "flex",
|
|
2453
2532
|
width: "100%",
|
|
@@ -2461,10 +2540,10 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
2461
2540
|
zIndex: "modal",
|
|
2462
2541
|
backgroundColor: "tints.white",
|
|
2463
2542
|
paddingInline: 4,
|
|
2464
|
-
...
|
|
2543
|
+
...f ? { paddingBlock: 4 } : { paddingTop: 6, paddingBlockEnd: 2 },
|
|
2465
2544
|
...u,
|
|
2466
2545
|
children: [
|
|
2467
|
-
|
|
2546
|
+
i,
|
|
2468
2547
|
/* @__PURE__ */ t.jsx(
|
|
2469
2548
|
S,
|
|
2470
2549
|
{
|
|
@@ -2477,14 +2556,14 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
2477
2556
|
fontSize: "1rem"
|
|
2478
2557
|
}
|
|
2479
2558
|
},
|
|
2480
|
-
children: /* @__PURE__ */ t.jsx(
|
|
2559
|
+
children: /* @__PURE__ */ t.jsx(ee, { as: Nt, weight: "light" })
|
|
2481
2560
|
}
|
|
2482
2561
|
)
|
|
2483
2562
|
]
|
|
2484
2563
|
}
|
|
2485
2564
|
),
|
|
2486
2565
|
/* @__PURE__ */ t.jsx(
|
|
2487
|
-
|
|
2566
|
+
b,
|
|
2488
2567
|
{
|
|
2489
2568
|
color: "tints.darkGrey",
|
|
2490
2569
|
paddingInline: 4,
|
|
@@ -2492,7 +2571,7 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
2492
2571
|
children: s
|
|
2493
2572
|
}
|
|
2494
2573
|
),
|
|
2495
|
-
/* @__PURE__ */ t.jsx(
|
|
2574
|
+
/* @__PURE__ */ t.jsx(F, { paddingInline: 4, ...v, children: c })
|
|
2496
2575
|
]
|
|
2497
2576
|
}
|
|
2498
2577
|
)
|
|
@@ -2501,17 +2580,17 @@ const it = 60, Rt = 6, Un = (n) => {
|
|
|
2501
2580
|
);
|
|
2502
2581
|
};
|
|
2503
2582
|
export {
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2583
|
+
Jn as BasketButton,
|
|
2584
|
+
vr as CategoryLabel,
|
|
2585
|
+
wr as DrawerModal,
|
|
2586
|
+
Cr as Footer,
|
|
2587
|
+
Ue as NavButton,
|
|
2588
|
+
br as NavSkeleton,
|
|
2589
|
+
st as NavbarDrawer,
|
|
2590
|
+
Ge as NavbarDrawerLink,
|
|
2512
2591
|
mr as NavigationBar,
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2592
|
+
Kn as SpotlightCard,
|
|
2593
|
+
xr as Stepper,
|
|
2594
|
+
he as TopNavIconButton,
|
|
2595
|
+
Xn as TopNavigation
|
|
2517
2596
|
};
|