@everlywell/consumer-ui 1.46.2 → 1.46.3
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.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { useSteps as Qt, Box as R, Stepper as qt, Icon as
|
|
2
|
-
import se, { useEffect as ee, forwardRef as
|
|
3
|
-
import { Text as En, useBreakpointValue as
|
|
4
|
-
import { CaretRight as
|
|
5
|
-
import { motion as
|
|
6
|
-
var
|
|
1
|
+
import { useSteps as Qt, Box as R, Stepper as qt, Icon as Ce, Flex as T, Text as z, Link as le, Button as St, Image as en, IconButton as tn, theme as G, useMediaQuery as et, VStack as nn, Skeleton as Xe, HStack as gt, SkeletonCircle as He, DrawerContent as kt, DrawerOverlay as Rt, Drawer as _t, DrawerHeader as Dt, DrawerBody as Tt, Grid as rn, GridItem as on, Accordion as an, AccordionItem as ln, AccordionButton as sn, AccordionPanel as cn, InputGroup as un, Input as dn, InputRightElement as fn, Container as pn, DrawerFooter as hn, DrawerCloseButton as gn, Modal as xn, ModalOverlay as vn, ModalContent as bn, ModalHeader as mn, ModalBody as wn, ModalFooter as yn, ModalCloseButton as jn } from "@everlywell/ui-kit";
|
|
2
|
+
import se, { useEffect as ee, forwardRef as It, useRef as Cn, useCallback as Lt, useState as X } from "react";
|
|
3
|
+
import { Text as En, useBreakpointValue as je, Box as Sn, InputGroup as kn, Input as Rn, InputRightElement as _n, Icon as Dn } from "@chakra-ui/react";
|
|
4
|
+
import { CaretRight as xt, Basket as Tn, CaretLeft as In, X as Ot, MagnifyingGlass as Ln, CaretDown as On, ArrowRight as An, InstagramLogo as Pn, LinkedinLogo as Mn, FacebookLogo as $n, TiktokLogo as Fn, XLogo as Hn } from "@phosphor-icons/react";
|
|
5
|
+
import { motion as it, AnimatePresence as Bn } from "framer-motion";
|
|
6
|
+
var tt = { exports: {} }, Te = {};
|
|
7
7
|
/**
|
|
8
8
|
* @license React
|
|
9
9
|
* react-jsx-runtime.production.min.js
|
|
@@ -13,21 +13,21 @@ var qe = { exports: {} }, _e = {};
|
|
|
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 = se, o = Symbol.for("react.element"), s = Symbol.for("react.fragment"),
|
|
21
|
-
function d
|
|
22
|
-
var
|
|
23
|
-
|
|
24
|
-
for (
|
|
25
|
-
if (
|
|
26
|
-
return { $$typeof: o, type:
|
|
16
|
+
var vt;
|
|
17
|
+
function zn() {
|
|
18
|
+
if (vt) return Te;
|
|
19
|
+
vt = 1;
|
|
20
|
+
var n = se, 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 f(d, g, h) {
|
|
22
|
+
var p, C = {}, E = null, v = null;
|
|
23
|
+
h !== void 0 && (E = "" + h), g.key !== void 0 && (E = "" + g.key), g.ref !== void 0 && (v = g.ref);
|
|
24
|
+
for (p in g) i.call(g, p) && !u.hasOwnProperty(p) && (C[p] = g[p]);
|
|
25
|
+
if (d && d.defaultProps) for (p in g = d.defaultProps, g) C[p] === void 0 && (C[p] = g[p]);
|
|
26
|
+
return { $$typeof: o, type: d, key: E, ref: v, props: C, _owner: c.current };
|
|
27
27
|
}
|
|
28
|
-
return
|
|
28
|
+
return Te.Fragment = s, Te.jsx = f, Te.jsxs = f, Te;
|
|
29
29
|
}
|
|
30
|
-
var
|
|
30
|
+
var Ie = {};
|
|
31
31
|
/**
|
|
32
32
|
* @license React
|
|
33
33
|
* react-jsx-runtime.development.js
|
|
@@ -37,51 +37,51 @@ var De = {};
|
|
|
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 = se, o = Symbol.for("react.element"), s = Symbol.for("react.portal"),
|
|
40
|
+
var bt;
|
|
41
|
+
function Wn() {
|
|
42
|
+
return bt || (bt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
43
|
+
var n = se, 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"), f = Symbol.for("react.provider"), d = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), C = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), v = Symbol.for("react.offscreen"), w = Symbol.iterator, O = "@@iterator";
|
|
44
44
|
function b(e) {
|
|
45
45
|
if (e === null || typeof e != "object")
|
|
46
46
|
return null;
|
|
47
|
-
var r = w && e[w] || e[
|
|
47
|
+
var r = w && e[w] || e[O];
|
|
48
48
|
return typeof r == "function" ? r : null;
|
|
49
49
|
}
|
|
50
|
-
var
|
|
50
|
+
var $ = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
51
51
|
function S(e) {
|
|
52
52
|
{
|
|
53
53
|
for (var r = arguments.length, l = new Array(r > 1 ? r - 1 : 0), x = 1; x < r; x++)
|
|
54
54
|
l[x - 1] = arguments[x];
|
|
55
|
-
|
|
55
|
+
y("error", e, l);
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function y(e, r, l) {
|
|
59
59
|
{
|
|
60
|
-
var x =
|
|
60
|
+
var x = $.ReactDebugCurrentFrame, k = x.getStackAddendum();
|
|
61
61
|
k !== "" && (r += "%s", l = l.concat([k]));
|
|
62
|
-
var
|
|
63
|
-
return String(
|
|
62
|
+
var D = l.map(function(j) {
|
|
63
|
+
return String(j);
|
|
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 A = !1, H = !1, U = !1, te = !1, he = !1, ne;
|
|
69
|
+
ne = Symbol.for("react.module.reference");
|
|
70
|
+
function ge(e) {
|
|
71
|
+
return !!(typeof e == "string" || typeof e == "function" || e === i || e === u || he || e === c || e === h || e === p || te || e === v || A || H || U || typeof e == "object" && e !== null && (e.$$typeof === E || e.$$typeof === C || e.$$typeof === f || e.$$typeof === d || 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 === ne || e.getModuleId !== void 0));
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function xe(e, r, l) {
|
|
78
78
|
var x = e.displayName;
|
|
79
79
|
if (x)
|
|
80
80
|
return x;
|
|
81
81
|
var k = r.displayName || r.name || "";
|
|
82
82
|
return k !== "" ? l + "(" + k + ")" : l;
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function oe(e) {
|
|
85
85
|
return e.displayName || "Context";
|
|
86
86
|
}
|
|
87
87
|
function B(e) {
|
|
@@ -92,7 +92,7 @@ function zn() {
|
|
|
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 zn() {
|
|
|
100
100
|
return "Profiler";
|
|
101
101
|
case c:
|
|
102
102
|
return "StrictMode";
|
|
103
|
-
case
|
|
103
|
+
case h:
|
|
104
104
|
return "Suspense";
|
|
105
|
-
case
|
|
105
|
+
case p:
|
|
106
106
|
return "SuspenseList";
|
|
107
107
|
}
|
|
108
108
|
if (typeof e == "object")
|
|
109
109
|
switch (e.$$typeof) {
|
|
110
|
-
case h:
|
|
111
|
-
var r = e;
|
|
112
|
-
return te(r) + ".Consumer";
|
|
113
110
|
case d:
|
|
111
|
+
var r = e;
|
|
112
|
+
return oe(r) + ".Consumer";
|
|
113
|
+
case f:
|
|
114
114
|
var l = e;
|
|
115
|
-
return
|
|
115
|
+
return oe(l._context) + ".Provider";
|
|
116
116
|
case g:
|
|
117
|
-
return
|
|
117
|
+
return xe(e, e.render, "ForwardRef");
|
|
118
118
|
case C:
|
|
119
119
|
var x = e.displayName || null;
|
|
120
120
|
return x !== null ? x : B(e.type) || "Memo";
|
|
121
121
|
case E: {
|
|
122
|
-
var k = e,
|
|
122
|
+
var k = e, D = k._payload, j = k._init;
|
|
123
123
|
try {
|
|
124
|
-
return B(
|
|
124
|
+
return B(j(D));
|
|
125
125
|
} catch {
|
|
126
126
|
return null;
|
|
127
127
|
}
|
|
@@ -129,18 +129,18 @@ function zn() {
|
|
|
129
129
|
}
|
|
130
130
|
return null;
|
|
131
131
|
}
|
|
132
|
-
var
|
|
133
|
-
function
|
|
132
|
+
var I = Object.assign, J = 0, ae, ie, Le, Oe, Ae, ve, Pe;
|
|
133
|
+
function Se() {
|
|
134
134
|
}
|
|
135
|
-
|
|
136
|
-
function
|
|
135
|
+
Se.__reactDisabledLog = !0;
|
|
136
|
+
function ke() {
|
|
137
137
|
{
|
|
138
|
-
if (
|
|
139
|
-
|
|
138
|
+
if (J === 0) {
|
|
139
|
+
ae = console.log, ie = console.info, Le = console.warn, Oe = console.error, Ae = console.group, ve = console.groupCollapsed, Pe = 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,230 +153,230 @@ function zn() {
|
|
|
153
153
|
groupEnd: e
|
|
154
154
|
});
|
|
155
155
|
}
|
|
156
|
-
|
|
156
|
+
J++;
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function We() {
|
|
160
160
|
{
|
|
161
|
-
if (
|
|
161
|
+
if (J--, J === 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:
|
|
168
|
+
log: I({}, e, {
|
|
169
|
+
value: ae
|
|
170
170
|
}),
|
|
171
|
-
info:
|
|
172
|
-
value:
|
|
171
|
+
info: I({}, e, {
|
|
172
|
+
value: ie
|
|
173
173
|
}),
|
|
174
|
-
warn:
|
|
175
|
-
value:
|
|
174
|
+
warn: I({}, e, {
|
|
175
|
+
value: Le
|
|
176
176
|
}),
|
|
177
|
-
error:
|
|
177
|
+
error: I({}, e, {
|
|
178
178
|
value: Oe
|
|
179
179
|
}),
|
|
180
|
-
group:
|
|
181
|
-
value:
|
|
180
|
+
group: I({}, e, {
|
|
181
|
+
value: Ae
|
|
182
182
|
}),
|
|
183
|
-
groupCollapsed:
|
|
184
|
-
value:
|
|
183
|
+
groupCollapsed: I({}, e, {
|
|
184
|
+
value: ve
|
|
185
185
|
}),
|
|
186
|
-
groupEnd:
|
|
187
|
-
value:
|
|
186
|
+
groupEnd: I({}, e, {
|
|
187
|
+
value: Pe
|
|
188
188
|
})
|
|
189
189
|
});
|
|
190
190
|
}
|
|
191
|
-
|
|
191
|
+
J < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
|
-
var
|
|
195
|
-
function
|
|
194
|
+
var Re = $.ReactCurrentDispatcher, K;
|
|
195
|
+
function be(e, r, l) {
|
|
196
196
|
{
|
|
197
|
-
if (
|
|
197
|
+
if (K === void 0)
|
|
198
198
|
try {
|
|
199
199
|
throw Error();
|
|
200
200
|
} catch (k) {
|
|
201
201
|
var x = k.stack.trim().match(/\n( *(at )?)/);
|
|
202
|
-
|
|
202
|
+
K = x && x[1] || "";
|
|
203
203
|
}
|
|
204
204
|
return `
|
|
205
|
-
` +
|
|
205
|
+
` + K + e;
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
|
-
var
|
|
208
|
+
var ce = !1, me;
|
|
209
209
|
{
|
|
210
|
-
var
|
|
211
|
-
|
|
210
|
+
var _e = typeof WeakMap == "function" ? WeakMap : Map;
|
|
211
|
+
me = new _e();
|
|
212
212
|
}
|
|
213
|
-
function
|
|
214
|
-
if (!e ||
|
|
213
|
+
function Me(e, r) {
|
|
214
|
+
if (!e || ce)
|
|
215
215
|
return "";
|
|
216
216
|
{
|
|
217
|
-
var l =
|
|
217
|
+
var l = me.get(e);
|
|
218
218
|
if (l !== void 0)
|
|
219
219
|
return l;
|
|
220
220
|
}
|
|
221
221
|
var x;
|
|
222
|
-
|
|
222
|
+
ce = !0;
|
|
223
223
|
var k = Error.prepareStackTrace;
|
|
224
224
|
Error.prepareStackTrace = void 0;
|
|
225
|
-
var
|
|
226
|
-
|
|
225
|
+
var D;
|
|
226
|
+
D = Re.current, Re.current = null, ke();
|
|
227
227
|
try {
|
|
228
228
|
if (r) {
|
|
229
|
-
var
|
|
229
|
+
var j = function() {
|
|
230
230
|
throw Error();
|
|
231
231
|
};
|
|
232
|
-
if (Object.defineProperty(
|
|
232
|
+
if (Object.defineProperty(j.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
|
-
x =
|
|
238
|
+
Reflect.construct(j, []);
|
|
239
|
+
} catch (V) {
|
|
240
|
+
x = V;
|
|
241
241
|
}
|
|
242
|
-
Reflect.construct(e, [],
|
|
242
|
+
Reflect.construct(e, [], j);
|
|
243
243
|
} else {
|
|
244
244
|
try {
|
|
245
|
-
|
|
246
|
-
} catch (
|
|
247
|
-
x =
|
|
245
|
+
j.call();
|
|
246
|
+
} catch (V) {
|
|
247
|
+
x = V;
|
|
248
248
|
}
|
|
249
|
-
e.call(
|
|
249
|
+
e.call(j.prototype);
|
|
250
250
|
}
|
|
251
251
|
} else {
|
|
252
252
|
try {
|
|
253
253
|
throw Error();
|
|
254
|
-
} catch (
|
|
255
|
-
x =
|
|
254
|
+
} catch (V) {
|
|
255
|
+
x = V;
|
|
256
256
|
}
|
|
257
257
|
e();
|
|
258
258
|
}
|
|
259
|
-
} catch (
|
|
260
|
-
if (
|
|
261
|
-
for (var m =
|
|
262
|
-
`),
|
|
263
|
-
`),
|
|
259
|
+
} catch (V) {
|
|
260
|
+
if (V && x && typeof V.stack == "string") {
|
|
261
|
+
for (var m = V.stack.split(`
|
|
262
|
+
`), W = x.stack.split(`
|
|
263
|
+
`), P = m.length - 1, M = W.length - 1; P >= 1 && M >= 0 && m[P] !== W[M]; )
|
|
264
264
|
M--;
|
|
265
|
-
for (;
|
|
266
|
-
if (m[
|
|
267
|
-
if (
|
|
265
|
+
for (; P >= 1 && M >= 0; P--, M--)
|
|
266
|
+
if (m[P] !== W[M]) {
|
|
267
|
+
if (P !== 1 || M !== 1)
|
|
268
268
|
do
|
|
269
|
-
if (
|
|
270
|
-
var
|
|
271
|
-
` + m[
|
|
272
|
-
return e.displayName &&
|
|
269
|
+
if (P--, M--, M < 0 || m[P] !== W[M]) {
|
|
270
|
+
var Z = `
|
|
271
|
+
` + m[P].replace(" at new ", " at ");
|
|
272
|
+
return e.displayName && Z.includes("<anonymous>") && (Z = Z.replace("<anonymous>", e.displayName)), typeof e == "function" && me.set(e, Z), Z;
|
|
273
273
|
}
|
|
274
|
-
while (
|
|
274
|
+
while (P >= 1 && M >= 0);
|
|
275
275
|
break;
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
278
|
} finally {
|
|
279
|
-
|
|
279
|
+
ce = !1, Re.current = D, We(), Error.prepareStackTrace = k;
|
|
280
280
|
}
|
|
281
|
-
var
|
|
282
|
-
return typeof e == "function" &&
|
|
281
|
+
var ye = e ? e.displayName || e.name : "", pe = ye ? be(ye) : "";
|
|
282
|
+
return typeof e == "function" && me.set(e, pe), pe;
|
|
283
283
|
}
|
|
284
|
-
function
|
|
285
|
-
return
|
|
284
|
+
function Ne(e, r, l) {
|
|
285
|
+
return Me(e, !1);
|
|
286
286
|
}
|
|
287
|
-
function
|
|
287
|
+
function Ve(e) {
|
|
288
288
|
var r = e.prototype;
|
|
289
289
|
return !!(r && r.isReactComponent);
|
|
290
290
|
}
|
|
291
|
-
function
|
|
291
|
+
function Y(e, r, l) {
|
|
292
292
|
if (e == null)
|
|
293
293
|
return "";
|
|
294
294
|
if (typeof e == "function")
|
|
295
|
-
return
|
|
295
|
+
return Me(e, Ve(e));
|
|
296
296
|
if (typeof e == "string")
|
|
297
|
-
return
|
|
297
|
+
return be(e);
|
|
298
298
|
switch (e) {
|
|
299
|
+
case h:
|
|
300
|
+
return be("Suspense");
|
|
299
301
|
case p:
|
|
300
|
-
return
|
|
301
|
-
case f:
|
|
302
|
-
return he("SuspenseList");
|
|
302
|
+
return be("SuspenseList");
|
|
303
303
|
}
|
|
304
304
|
if (typeof e == "object")
|
|
305
305
|
switch (e.$$typeof) {
|
|
306
306
|
case g:
|
|
307
|
-
return
|
|
307
|
+
return Ne(e.render);
|
|
308
308
|
case C:
|
|
309
|
-
return
|
|
309
|
+
return Y(e.type, r, l);
|
|
310
310
|
case E: {
|
|
311
|
-
var x = e, k = x._payload,
|
|
311
|
+
var x = e, k = x._payload, D = x._init;
|
|
312
312
|
try {
|
|
313
|
-
return
|
|
313
|
+
return Y(D(k), r, l);
|
|
314
314
|
} catch {
|
|
315
315
|
}
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
318
|
return "";
|
|
319
319
|
}
|
|
320
|
-
var
|
|
321
|
-
function
|
|
320
|
+
var ue = Object.prototype.hasOwnProperty, $e = {}, De = $.ReactDebugCurrentFrame;
|
|
321
|
+
function de(e) {
|
|
322
322
|
if (e) {
|
|
323
|
-
var r = e._owner, l =
|
|
324
|
-
|
|
323
|
+
var r = e._owner, l = Y(e.type, e._source, r ? r.type : null);
|
|
324
|
+
De.setExtraStackFrame(l);
|
|
325
325
|
} else
|
|
326
|
-
|
|
326
|
+
De.setExtraStackFrame(null);
|
|
327
327
|
}
|
|
328
|
-
function
|
|
328
|
+
function Fe(e, r, l, x, k) {
|
|
329
329
|
{
|
|
330
|
-
var
|
|
331
|
-
for (var
|
|
332
|
-
if (
|
|
330
|
+
var D = Function.call.bind(ue);
|
|
331
|
+
for (var j in e)
|
|
332
|
+
if (D(e, j)) {
|
|
333
333
|
var m = void 0;
|
|
334
334
|
try {
|
|
335
|
-
if (typeof e[
|
|
336
|
-
var
|
|
337
|
-
throw
|
|
335
|
+
if (typeof e[j] != "function") {
|
|
336
|
+
var W = Error((x || "React class") + ": " + l + " type `" + j + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[j] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
337
|
+
throw W.name = "Invariant Violation", W;
|
|
338
338
|
}
|
|
339
|
-
m = e[
|
|
340
|
-
} catch (
|
|
341
|
-
m =
|
|
339
|
+
m = e[j](r, j, x, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
340
|
+
} catch (P) {
|
|
341
|
+
m = P;
|
|
342
342
|
}
|
|
343
|
-
m && !(m instanceof Error) && (
|
|
343
|
+
m && !(m instanceof Error) && (de(k), 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).", x || "React class", l, j, typeof m), de(null)), m instanceof Error && !(m.message in $e) && ($e[m.message] = !0, de(k), S("Failed %s type: %s", l, m.message), de(null));
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
|
-
var
|
|
348
|
-
function
|
|
349
|
-
return
|
|
347
|
+
var a = Array.isArray;
|
|
348
|
+
function _(e) {
|
|
349
|
+
return a(e);
|
|
350
350
|
}
|
|
351
|
-
function
|
|
351
|
+
function L(e) {
|
|
352
352
|
{
|
|
353
353
|
var r = typeof Symbol == "function" && Symbol.toStringTag, l = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
354
354
|
return l;
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
|
-
function
|
|
357
|
+
function F(e) {
|
|
358
358
|
try {
|
|
359
|
-
return
|
|
359
|
+
return fe(e), !1;
|
|
360
360
|
} catch {
|
|
361
361
|
return !0;
|
|
362
362
|
}
|
|
363
363
|
}
|
|
364
|
-
function
|
|
364
|
+
function fe(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 Q(e) {
|
|
368
|
+
if (F(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.", L(e)), fe(e);
|
|
370
370
|
}
|
|
371
|
-
var
|
|
371
|
+
var q = $.ReactCurrentOwner, re = {
|
|
372
372
|
key: !0,
|
|
373
373
|
ref: !0,
|
|
374
374
|
__self: !0,
|
|
375
375
|
__source: !0
|
|
376
|
-
},
|
|
377
|
-
|
|
378
|
-
function
|
|
379
|
-
if (
|
|
376
|
+
}, N, lt, Ye;
|
|
377
|
+
Ye = {};
|
|
378
|
+
function Pt(e) {
|
|
379
|
+
if (ue.call(e, "ref")) {
|
|
380
380
|
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
381
381
|
if (r && r.isReactWarning)
|
|
382
382
|
return !1;
|
|
@@ -384,7 +384,7 @@ function zn() {
|
|
|
384
384
|
return e.ref !== void 0;
|
|
385
385
|
}
|
|
386
386
|
function Mt(e) {
|
|
387
|
-
if (
|
|
387
|
+
if (ue.call(e, "key")) {
|
|
388
388
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
389
389
|
if (r && r.isReactWarning)
|
|
390
390
|
return !1;
|
|
@@ -392,15 +392,15 @@ function zn() {
|
|
|
392
392
|
return e.key !== void 0;
|
|
393
393
|
}
|
|
394
394
|
function $t(e, r) {
|
|
395
|
-
if (typeof e.ref == "string" &&
|
|
396
|
-
var l = B(
|
|
397
|
-
|
|
395
|
+
if (typeof e.ref == "string" && q.current && r && q.current.stateNode !== r) {
|
|
396
|
+
var l = B(q.current.type);
|
|
397
|
+
Ye[l] || (S('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', B(q.current.type), e.ref), Ye[l] = !0);
|
|
398
398
|
}
|
|
399
399
|
}
|
|
400
|
-
function
|
|
400
|
+
function Ft(e, r) {
|
|
401
401
|
{
|
|
402
402
|
var l = function() {
|
|
403
|
-
|
|
403
|
+
N || (N = !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
405
|
l.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
406
406
|
get: l,
|
|
@@ -408,10 +408,10 @@ function zn() {
|
|
|
408
408
|
});
|
|
409
409
|
}
|
|
410
410
|
}
|
|
411
|
-
function
|
|
411
|
+
function Ht(e, r) {
|
|
412
412
|
{
|
|
413
413
|
var l = function() {
|
|
414
|
-
|
|
414
|
+
lt || (lt = !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
416
|
l.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
417
417
|
get: l,
|
|
@@ -419,7 +419,7 @@ function zn() {
|
|
|
419
419
|
});
|
|
420
420
|
}
|
|
421
421
|
}
|
|
422
|
-
var Bt = function(e, r, l, x, k,
|
|
422
|
+
var Bt = function(e, r, l, x, k, D, j) {
|
|
423
423
|
var m = {
|
|
424
424
|
// This tag allows us to uniquely identify this as a React Element
|
|
425
425
|
$$typeof: o,
|
|
@@ -427,9 +427,9 @@ function zn() {
|
|
|
427
427
|
type: e,
|
|
428
428
|
key: r,
|
|
429
429
|
ref: l,
|
|
430
|
-
props:
|
|
430
|
+
props: j,
|
|
431
431
|
// Record the component responsible for creating this element.
|
|
432
|
-
_owner:
|
|
432
|
+
_owner: D
|
|
433
433
|
};
|
|
434
434
|
return m._store = {}, Object.defineProperty(m._store, "validated", {
|
|
435
435
|
configurable: !1,
|
|
@@ -448,41 +448,41 @@ function zn() {
|
|
|
448
448
|
value: k
|
|
449
449
|
}), Object.freeze && (Object.freeze(m.props), Object.freeze(m)), m;
|
|
450
450
|
};
|
|
451
|
-
function
|
|
451
|
+
function zt(e, r, l, x, k) {
|
|
452
452
|
{
|
|
453
|
-
var
|
|
454
|
-
l !== void 0 && (
|
|
455
|
-
for (
|
|
456
|
-
|
|
453
|
+
var D, j = {}, m = null, W = null;
|
|
454
|
+
l !== void 0 && (Q(l), m = "" + l), Mt(r) && (Q(r.key), m = "" + r.key), Pt(r) && (W = r.ref, $t(r, k));
|
|
455
|
+
for (D in r)
|
|
456
|
+
ue.call(r, D) && !re.hasOwnProperty(D) && (j[D] = r[D]);
|
|
457
457
|
if (e && e.defaultProps) {
|
|
458
|
-
var
|
|
459
|
-
for (
|
|
460
|
-
|
|
458
|
+
var P = e.defaultProps;
|
|
459
|
+
for (D in P)
|
|
460
|
+
j[D] === void 0 && (j[D] = P[D]);
|
|
461
461
|
}
|
|
462
|
-
if (m ||
|
|
462
|
+
if (m || W) {
|
|
463
463
|
var M = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
464
|
-
m &&
|
|
464
|
+
m && Ft(j, M), W && Ht(j, M);
|
|
465
465
|
}
|
|
466
|
-
return Bt(e, m,
|
|
466
|
+
return Bt(e, m, W, k, x, q.current, j);
|
|
467
467
|
}
|
|
468
468
|
}
|
|
469
|
-
var
|
|
470
|
-
function
|
|
469
|
+
var Ge = $.ReactCurrentOwner, st = $.ReactDebugCurrentFrame;
|
|
470
|
+
function we(e) {
|
|
471
471
|
if (e) {
|
|
472
|
-
var r = e._owner, l =
|
|
473
|
-
|
|
472
|
+
var r = e._owner, l = Y(e.type, e._source, r ? r.type : null);
|
|
473
|
+
st.setExtraStackFrame(l);
|
|
474
474
|
} else
|
|
475
|
-
|
|
475
|
+
st.setExtraStackFrame(null);
|
|
476
476
|
}
|
|
477
|
-
var
|
|
478
|
-
|
|
479
|
-
function
|
|
477
|
+
var Ue;
|
|
478
|
+
Ue = !1;
|
|
479
|
+
function Ke(e) {
|
|
480
480
|
return typeof e == "object" && e !== null && e.$$typeof === o;
|
|
481
481
|
}
|
|
482
|
-
function
|
|
482
|
+
function ct() {
|
|
483
483
|
{
|
|
484
|
-
if (
|
|
485
|
-
var e = B(
|
|
484
|
+
if (Ge.current) {
|
|
485
|
+
var e = B(Ge.current.type);
|
|
486
486
|
if (e)
|
|
487
487
|
return `
|
|
488
488
|
|
|
@@ -491,13 +491,13 @@ Check the render method of \`` + e + "`.";
|
|
|
491
491
|
return "";
|
|
492
492
|
}
|
|
493
493
|
}
|
|
494
|
-
function
|
|
494
|
+
function Wt(e) {
|
|
495
495
|
return "";
|
|
496
496
|
}
|
|
497
|
-
var
|
|
497
|
+
var ut = {};
|
|
498
498
|
function Nt(e) {
|
|
499
499
|
{
|
|
500
|
-
var r =
|
|
500
|
+
var r = ct();
|
|
501
501
|
if (!r) {
|
|
502
502
|
var l = typeof e == "string" ? e : e.displayName || e.name;
|
|
503
503
|
l && (r = `
|
|
@@ -507,35 +507,35 @@ Check the top-level render call using <` + l + ">.");
|
|
|
507
507
|
return r;
|
|
508
508
|
}
|
|
509
509
|
}
|
|
510
|
-
function
|
|
510
|
+
function dt(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
515
|
var l = Nt(r);
|
|
516
|
-
if (
|
|
516
|
+
if (ut[l])
|
|
517
517
|
return;
|
|
518
|
-
|
|
518
|
+
ut[l] = !0;
|
|
519
519
|
var x = "";
|
|
520
|
-
e && e._owner && e._owner !==
|
|
520
|
+
e && e._owner && e._owner !== Ge.current && (x = " It was passed a child from " + B(e._owner.type) + "."), we(e), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', l, x), we(null);
|
|
521
521
|
}
|
|
522
522
|
}
|
|
523
|
-
function
|
|
523
|
+
function ft(e, r) {
|
|
524
524
|
{
|
|
525
525
|
if (typeof e != "object")
|
|
526
526
|
return;
|
|
527
|
-
if (
|
|
527
|
+
if (_(e))
|
|
528
528
|
for (var l = 0; l < e.length; l++) {
|
|
529
529
|
var x = e[l];
|
|
530
|
-
|
|
530
|
+
Ke(x) && dt(x, r);
|
|
531
531
|
}
|
|
532
|
-
else if (
|
|
532
|
+
else if (Ke(e))
|
|
533
533
|
e._store && (e._store.validated = !0);
|
|
534
534
|
else if (e) {
|
|
535
535
|
var k = b(e);
|
|
536
536
|
if (typeof k == "function" && k !== e.entries)
|
|
537
|
-
for (var
|
|
538
|
-
|
|
537
|
+
for (var D = k.call(e), j; !(j = D.next()).done; )
|
|
538
|
+
Ke(j.value) && dt(j.value, r);
|
|
539
539
|
}
|
|
540
540
|
}
|
|
541
541
|
}
|
|
@@ -555,9 +555,9 @@ Check the top-level render call using <` + l + ">.");
|
|
|
555
555
|
return;
|
|
556
556
|
if (l) {
|
|
557
557
|
var x = B(r);
|
|
558
|
-
|
|
559
|
-
} else if (r.PropTypes !== void 0 && !
|
|
560
|
-
|
|
558
|
+
Fe(l, e.props, "prop", x, e);
|
|
559
|
+
} else if (r.PropTypes !== void 0 && !Ue) {
|
|
560
|
+
Ue = !0;
|
|
561
561
|
var k = B(r);
|
|
562
562
|
S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", k || "Unknown");
|
|
563
563
|
}
|
|
@@ -569,86 +569,86 @@ Check the top-level render call using <` + l + ">.");
|
|
|
569
569
|
for (var r = Object.keys(e.props), l = 0; l < r.length; l++) {
|
|
570
570
|
var x = r[l];
|
|
571
571
|
if (x !== "children" && x !== "key") {
|
|
572
|
-
|
|
572
|
+
we(e), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", x), we(null);
|
|
573
573
|
break;
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
|
-
e.ref !== null && (
|
|
576
|
+
e.ref !== null && (we(e), S("Invalid attribute `ref` supplied to `React.Fragment`."), we(null));
|
|
577
577
|
}
|
|
578
578
|
}
|
|
579
|
-
var
|
|
580
|
-
function
|
|
579
|
+
var pt = {};
|
|
580
|
+
function ht(e, r, l, x, k, D) {
|
|
581
581
|
{
|
|
582
|
-
var
|
|
583
|
-
if (!
|
|
582
|
+
var j = ge(e);
|
|
583
|
+
if (!j) {
|
|
584
584
|
var m = "";
|
|
585
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
|
|
587
|
-
|
|
588
|
-
var
|
|
589
|
-
e === null ?
|
|
586
|
+
var W = Wt();
|
|
587
|
+
W ? m += W : m += ct();
|
|
588
|
+
var P;
|
|
589
|
+
e === null ? P = "null" : _(e) ? P = "array" : e !== void 0 && e.$$typeof === o ? (P = "<" + (B(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 M =
|
|
591
|
+
var M = zt(e, r, l, k, D);
|
|
592
592
|
if (M == null)
|
|
593
593
|
return M;
|
|
594
|
-
if (
|
|
595
|
-
var
|
|
596
|
-
if (
|
|
594
|
+
if (j) {
|
|
595
|
+
var Z = r.children;
|
|
596
|
+
if (Z !== void 0)
|
|
597
597
|
if (x)
|
|
598
|
-
if (
|
|
599
|
-
for (var
|
|
600
|
-
|
|
601
|
-
Object.freeze && Object.freeze(
|
|
598
|
+
if (_(Z)) {
|
|
599
|
+
for (var ye = 0; ye < Z.length; ye++)
|
|
600
|
+
ft(Z[ye], e);
|
|
601
|
+
Object.freeze && Object.freeze(Z);
|
|
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
|
+
ft(Z, e);
|
|
606
606
|
}
|
|
607
|
-
if (
|
|
608
|
-
var
|
|
607
|
+
if (ue.call(r, "key")) {
|
|
608
|
+
var pe = B(e), V = Object.keys(r).filter(function(Jt) {
|
|
609
609
|
return Jt !== "key";
|
|
610
|
-
}),
|
|
611
|
-
if (!
|
|
612
|
-
var Xt =
|
|
610
|
+
}), Ze = V.length > 0 ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
611
|
+
if (!pt[pe + Ze]) {
|
|
612
|
+
var Xt = V.length > 0 ? "{" + V.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} />`, Ze, pe, Xt, pe), pt[pe + Ze] = !0;
|
|
619
619
|
}
|
|
620
620
|
}
|
|
621
|
-
return e ===
|
|
621
|
+
return e === i ? Yt(M) : Vt(M), M;
|
|
622
622
|
}
|
|
623
623
|
}
|
|
624
624
|
function Gt(e, r, l) {
|
|
625
|
-
return
|
|
625
|
+
return ht(e, r, l, !0);
|
|
626
626
|
}
|
|
627
627
|
function Ut(e, r, l) {
|
|
628
|
-
return
|
|
628
|
+
return ht(e, r, l, !1);
|
|
629
629
|
}
|
|
630
|
-
var
|
|
631
|
-
|
|
632
|
-
}()),
|
|
630
|
+
var Kt = Ut, Zt = Gt;
|
|
631
|
+
Ie.Fragment = i, Ie.jsx = Kt, Ie.jsxs = Zt;
|
|
632
|
+
}()), Ie;
|
|
633
633
|
}
|
|
634
|
-
process.env.NODE_ENV === "production" ?
|
|
635
|
-
var t =
|
|
636
|
-
const
|
|
634
|
+
process.env.NODE_ENV === "production" ? tt.exports = zn() : tt.exports = Wn();
|
|
635
|
+
var t = tt.exports;
|
|
636
|
+
const Je = 60, mt = 6, Nn = (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:
|
|
645
|
+
} = n, { activeStep: u, setActiveStep: f } = Qt({
|
|
646
646
|
index: o,
|
|
647
|
-
count:
|
|
647
|
+
count: i.length
|
|
648
648
|
});
|
|
649
649
|
return ee(() => {
|
|
650
|
-
|
|
651
|
-
}, [o,
|
|
650
|
+
f(o);
|
|
651
|
+
}, [o, f]), /* @__PURE__ */ t.jsx(
|
|
652
652
|
R,
|
|
653
653
|
{ position: "relative", width: "100%", "data-testid": "stepper", children: /* @__PURE__ */ t.jsx(
|
|
654
654
|
qt,
|
|
@@ -658,17 +658,17 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
658
658
|
width: "100%",
|
|
659
659
|
display: "flex",
|
|
660
660
|
flexWrap: "nowrap",
|
|
661
|
-
children:
|
|
662
|
-
const
|
|
663
|
-
let v = `${
|
|
664
|
-
const w = `calc(100% - ((${
|
|
665
|
-
return
|
|
661
|
+
children: i.map((d, g) => {
|
|
662
|
+
const h = u === g, p = g === 0, C = g === i.length - 1, E = u > g;
|
|
663
|
+
let v = `${Je}px`;
|
|
664
|
+
const w = `calc(100% - ((${Je * (i.length - 1)}px) - (${i.length - 1} * ${mt * 2}px)))`;
|
|
665
|
+
return h ? v = w : (p || C) && (v = `${Je - mt}px`), /* @__PURE__ */ t.jsx(
|
|
666
666
|
R,
|
|
667
667
|
{
|
|
668
668
|
width: v,
|
|
669
|
-
opacity: E ||
|
|
669
|
+
opacity: E || h ? 1 : 0.2,
|
|
670
670
|
paddingRight: C ? "0" : "6px",
|
|
671
|
-
paddingLeft:
|
|
671
|
+
paddingLeft: p ? "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
|
R,
|
|
@@ -697,54 +697,54 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
697
697
|
}
|
|
698
698
|
) }
|
|
699
699
|
);
|
|
700
|
-
},
|
|
700
|
+
}, pr = se.memo(Nn), hr = ({
|
|
701
701
|
children: n,
|
|
702
702
|
...o
|
|
703
703
|
}) => /* @__PURE__ */ t.jsx(
|
|
704
704
|
En,
|
|
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
|
+
}, Be = It(
|
|
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
|
-
href:
|
|
721
|
-
forceMobileStyle:
|
|
720
|
+
href: f,
|
|
721
|
+
forceMobileStyle: d = !1,
|
|
722
722
|
...g
|
|
723
|
-
} = n,
|
|
723
|
+
} = n, h = u || le, p = Ee(f, !!u), C = d ? c || "xl" : [c || "xl", null, null, "lg"], E = d ? "xl" : ["xl", null, null, "lg"], v = d ? void 0 : [null, null, null, 1], w = d ? void 0 : [null, null, null, "space-between"], O = d ? "3" : [3, null, null, 0], b = d ? "1px" : ["1px", null, null, "unset"], $ = d ? "tints.cream" : ["tints.cream", null, null, "unset"], S = d ? "100%" : ["100%", null, null, "fit-content"], y = d ? "none" : ["none", null, null, "block"], A = d ? "100%" : ["100%", null, null, "auto"], H = d ? "block" : ["block", null, null, "none"];
|
|
724
724
|
return /* @__PURE__ */ t.jsxs(
|
|
725
725
|
R,
|
|
726
726
|
{
|
|
727
727
|
ref: o,
|
|
728
|
-
as:
|
|
728
|
+
as: h,
|
|
729
729
|
display: "flex",
|
|
730
730
|
alignItems: "center",
|
|
731
731
|
gap: v,
|
|
732
732
|
justifyContent: w,
|
|
733
|
-
paddingY:
|
|
733
|
+
paddingY: O,
|
|
734
734
|
color: "tints.black",
|
|
735
735
|
_hover: { color: "viridian.base", textDecoration: "none" },
|
|
736
736
|
borderBottom: b,
|
|
737
|
-
borderColor:
|
|
737
|
+
borderColor: $,
|
|
738
738
|
width: S,
|
|
739
739
|
cursor: "pointer",
|
|
740
|
-
...
|
|
740
|
+
...p,
|
|
741
741
|
...g,
|
|
742
742
|
children: [
|
|
743
743
|
/* @__PURE__ */ t.jsx(
|
|
744
|
-
|
|
744
|
+
Ce,
|
|
745
745
|
{
|
|
746
|
-
display:
|
|
747
|
-
as:
|
|
746
|
+
display: y,
|
|
747
|
+
as: xt,
|
|
748
748
|
fontSize: "lg",
|
|
749
749
|
color: "viridian.light",
|
|
750
750
|
role: "img",
|
|
@@ -753,18 +753,18 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
753
753
|
}
|
|
754
754
|
),
|
|
755
755
|
/* @__PURE__ */ t.jsxs(
|
|
756
|
-
|
|
757
|
-
{ alignItems: "center", gap: "1", width:
|
|
756
|
+
T,
|
|
757
|
+
{ alignItems: "center", gap: "1", width: A, children: [
|
|
758
758
|
/* @__PURE__ */ t.jsx(
|
|
759
|
-
|
|
759
|
+
z,
|
|
760
760
|
{
|
|
761
761
|
fontSize: C,
|
|
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: E,
|
|
770
770
|
fontWeight: "medium",
|
|
@@ -774,14 +774,14 @@ const Ke = 60, bt = 6, Nn = (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
|
+
Ce,
|
|
782
782
|
{
|
|
783
|
-
display:
|
|
784
|
-
as:
|
|
783
|
+
display: H,
|
|
784
|
+
as: xt,
|
|
785
785
|
fontSize: "2xl",
|
|
786
786
|
color: "tints.uiGrey",
|
|
787
787
|
role: "img",
|
|
@@ -795,11 +795,11 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
795
795
|
}
|
|
796
796
|
);
|
|
797
797
|
}
|
|
798
|
-
), Vn =
|
|
798
|
+
), Vn = It(
|
|
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
|
+
St,
|
|
803
803
|
{
|
|
804
804
|
ref: o,
|
|
805
805
|
borderRadius: "full",
|
|
@@ -825,6 +825,13 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
825
825
|
textDecoration: "none",
|
|
826
826
|
filter: "brightness(0.95)"
|
|
827
827
|
},
|
|
828
|
+
_focusVisible: {
|
|
829
|
+
outline: "3px solid",
|
|
830
|
+
outlineColor: "viridian.base",
|
|
831
|
+
outlineOffset: "2px",
|
|
832
|
+
boxShadow: "0 0 0 5px rgba(255, 255, 255, 0.9)",
|
|
833
|
+
zIndex: 1
|
|
834
|
+
},
|
|
828
835
|
...c,
|
|
829
836
|
children: s
|
|
830
837
|
}
|
|
@@ -834,55 +841,55 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
834
841
|
title: n,
|
|
835
842
|
description: o,
|
|
836
843
|
imageSrc: s,
|
|
837
|
-
imageElement:
|
|
844
|
+
imageElement: i,
|
|
838
845
|
button: c,
|
|
839
846
|
backgroundColor: u = "viridian.wash",
|
|
840
|
-
onClick:
|
|
841
|
-
href:
|
|
847
|
+
onClick: f,
|
|
848
|
+
href: d,
|
|
842
849
|
linkComponent: g,
|
|
843
|
-
forceMobileStyle:
|
|
850
|
+
forceMobileStyle: h = !1
|
|
844
851
|
}) => {
|
|
845
|
-
const v = g ||
|
|
852
|
+
const v = g || le, w = Ee(d, !!g), O = je({
|
|
846
853
|
base: !1,
|
|
847
854
|
tablet: !1,
|
|
848
855
|
largeTablet: !1,
|
|
849
856
|
desktop: !0
|
|
850
857
|
});
|
|
851
858
|
return /* @__PURE__ */ t.jsxs(
|
|
852
|
-
|
|
859
|
+
T,
|
|
853
860
|
{
|
|
854
|
-
direction:
|
|
861
|
+
direction: h ? "row" : ["row", null, null, "column"],
|
|
855
862
|
alignItems: "center",
|
|
856
863
|
borderRadius: "xl",
|
|
857
864
|
overflow: "hidden",
|
|
858
|
-
height:
|
|
865
|
+
height: h ? "80px" : ["80px", null, null, "272px"],
|
|
859
866
|
backgroundColor: u,
|
|
860
|
-
onClick:
|
|
867
|
+
onClick: f,
|
|
861
868
|
"data-testid": "spotlight-card",
|
|
862
869
|
position: "relative",
|
|
863
870
|
transition: "box-shadow 0.2s ease-in-out",
|
|
864
871
|
border: "1px solid",
|
|
865
872
|
borderColor: "transparent",
|
|
866
|
-
minWidth:
|
|
867
|
-
maxWidth:
|
|
873
|
+
minWidth: h ? "100%" : ["100%", null, null, "320px"],
|
|
874
|
+
maxWidth: h ? "100%" : ["100%", null, null, "380px"],
|
|
868
875
|
_hover: {
|
|
869
876
|
boxShadow: "lg",
|
|
870
877
|
textDecoration: "none",
|
|
871
878
|
border: "1px solid",
|
|
872
879
|
borderColor: "tints.white"
|
|
873
880
|
},
|
|
874
|
-
as:
|
|
875
|
-
...
|
|
881
|
+
as: h ? v : O ? T : v,
|
|
882
|
+
...h ? w : O ? {} : w,
|
|
876
883
|
children: [
|
|
877
884
|
/* @__PURE__ */ t.jsx(
|
|
878
885
|
R,
|
|
879
886
|
{
|
|
880
|
-
width:
|
|
881
|
-
height:
|
|
887
|
+
width: h ? "72px" : ["72px", null, null, "100%"],
|
|
888
|
+
height: h ? "100%" : ["100%", null, null, "188px"],
|
|
882
889
|
sx: {
|
|
883
890
|
img: {
|
|
884
|
-
height:
|
|
885
|
-
objectFit:
|
|
891
|
+
height: h ? "100%" : O ? "188px" : "100%",
|
|
892
|
+
objectFit: h ? "cover" : "contain"
|
|
886
893
|
}
|
|
887
894
|
},
|
|
888
895
|
children: s ? /* @__PURE__ */ t.jsx(
|
|
@@ -897,55 +904,55 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
897
904
|
) : /* @__PURE__ */ t.jsx(
|
|
898
905
|
R,
|
|
899
906
|
{
|
|
900
|
-
height:
|
|
907
|
+
height: h ? 80 : [80, null, null, 188],
|
|
901
908
|
overflow: "hidden",
|
|
902
|
-
...
|
|
903
|
-
children:
|
|
909
|
+
...h ? { sx: { div: { height: "100%" } } } : {},
|
|
910
|
+
children: i
|
|
904
911
|
}
|
|
905
912
|
)
|
|
906
913
|
}
|
|
907
914
|
),
|
|
908
915
|
/* @__PURE__ */ t.jsxs(
|
|
909
|
-
|
|
916
|
+
T,
|
|
910
917
|
{
|
|
911
|
-
direction:
|
|
912
|
-
justifyContent:
|
|
913
|
-
alignItems:
|
|
918
|
+
direction: h ? "column" : ["column", null, null, "row"],
|
|
919
|
+
justifyContent: h ? void 0 : [null, null, null, "space-between"],
|
|
920
|
+
alignItems: h ? "left" : ["left", null, null, "center"],
|
|
914
921
|
padding: "4",
|
|
915
|
-
height:
|
|
922
|
+
height: h ? "80px" : [
|
|
916
923
|
"80px",
|
|
917
924
|
null,
|
|
918
925
|
null,
|
|
919
926
|
"84px"
|
|
920
927
|
],
|
|
921
928
|
width: "100%",
|
|
922
|
-
bottom:
|
|
923
|
-
backgroundColor:
|
|
924
|
-
backdropFilter:
|
|
929
|
+
bottom: h ? void 0 : [null, null, null, "0"],
|
|
930
|
+
backgroundColor: h ? void 0 : [null, null, null, `${u}CC`],
|
|
931
|
+
backdropFilter: h ? void 0 : [null, null, null, "blur(8px)"],
|
|
925
932
|
flex: "1",
|
|
926
|
-
gap:
|
|
933
|
+
gap: h ? void 0 : [null, null, null, 3],
|
|
927
934
|
children: [
|
|
928
935
|
/* @__PURE__ */ t.jsxs(
|
|
929
|
-
|
|
936
|
+
T,
|
|
930
937
|
{ direction: "column", justifyContent: "center", height: "100%", children: [
|
|
931
938
|
/* @__PURE__ */ t.jsx(
|
|
932
|
-
|
|
939
|
+
z,
|
|
933
940
|
{ fontSize: "lg", fontWeight: "medium", color: "tints.black", children: n }
|
|
934
941
|
),
|
|
935
942
|
/* @__PURE__ */ t.jsx(
|
|
936
|
-
|
|
943
|
+
z,
|
|
937
944
|
{ fontSize: "sm", color: "tints.darkGrey", children: o }
|
|
938
945
|
)
|
|
939
946
|
] }
|
|
940
947
|
),
|
|
941
|
-
|
|
948
|
+
h ? null : O ? /* @__PURE__ */ t.jsx(R, { children: c }) : null
|
|
942
949
|
]
|
|
943
950
|
}
|
|
944
951
|
)
|
|
945
952
|
]
|
|
946
953
|
}
|
|
947
954
|
);
|
|
948
|
-
},
|
|
955
|
+
}, nt = (n) => /* @__PURE__ */ t.jsx(
|
|
949
956
|
tn,
|
|
950
957
|
{
|
|
951
958
|
size: "sm",
|
|
@@ -966,8 +973,8 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
966
973
|
},
|
|
967
974
|
...n
|
|
968
975
|
}
|
|
969
|
-
),
|
|
970
|
-
color: n =
|
|
976
|
+
), At = ({
|
|
977
|
+
color: n = G.colors.viridian.base,
|
|
971
978
|
width: o
|
|
972
979
|
}) => /* @__PURE__ */ t.jsx(
|
|
973
980
|
Sn,
|
|
@@ -998,66 +1005,66 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
998
1005
|
desktopTopButtons: n,
|
|
999
1006
|
logoLink: o = "https://www.everlywell.com",
|
|
1000
1007
|
setTopOffset: s,
|
|
1001
|
-
linkComponent:
|
|
1008
|
+
linkComponent: i,
|
|
1002
1009
|
onLogoClick: c,
|
|
1003
1010
|
rightSideButtons: u
|
|
1004
1011
|
}) => {
|
|
1005
|
-
const
|
|
1006
|
-
if (
|
|
1007
|
-
const
|
|
1008
|
-
s(
|
|
1012
|
+
const f = Cn(null), [d] = et(`(max-width: ${G.breakpoints.mediumTablet})`), [g] = et(`(max-width: ${G.breakpoints.mediumDesktop})`), h = Lt(() => {
|
|
1013
|
+
if (f.current) {
|
|
1014
|
+
const p = f.current.getBoundingClientRect();
|
|
1015
|
+
s(p.bottom);
|
|
1009
1016
|
}
|
|
1010
1017
|
}, []);
|
|
1011
1018
|
return ee(() => {
|
|
1012
|
-
|
|
1013
|
-
}, [
|
|
1019
|
+
h();
|
|
1020
|
+
}, [h]), /* @__PURE__ */ t.jsx(
|
|
1014
1021
|
R,
|
|
1015
1022
|
{
|
|
1016
|
-
ref:
|
|
1023
|
+
ref: f,
|
|
1017
1024
|
paddingY: "4",
|
|
1018
|
-
paddingX:
|
|
1025
|
+
paddingX: d ? 4 : g ? 6 : 8,
|
|
1019
1026
|
borderBottom: "1px solid",
|
|
1020
1027
|
borderColor: "tints.lightCream",
|
|
1021
1028
|
backgroundColor: "tints.white",
|
|
1022
1029
|
width: "100%",
|
|
1023
|
-
onMouseEnter:
|
|
1030
|
+
onMouseEnter: h,
|
|
1024
1031
|
children: /* @__PURE__ */ t.jsxs(
|
|
1025
|
-
|
|
1032
|
+
T,
|
|
1026
1033
|
{ justifyContent: "space-between", alignItems: "center", children: [
|
|
1027
1034
|
/* @__PURE__ */ t.jsxs(
|
|
1028
|
-
|
|
1035
|
+
T,
|
|
1029
1036
|
{ alignItems: "center", gap: "5", children: [
|
|
1030
1037
|
/* @__PURE__ */ t.jsx(
|
|
1031
1038
|
R,
|
|
1032
1039
|
{
|
|
1033
1040
|
"aria-label": "Go to homepage",
|
|
1034
1041
|
onClick: c,
|
|
1035
|
-
as:
|
|
1036
|
-
...
|
|
1037
|
-
children: /* @__PURE__ */ t.jsx(
|
|
1042
|
+
as: i || le,
|
|
1043
|
+
...Ee(o, !!i),
|
|
1044
|
+
children: /* @__PURE__ */ t.jsx(At, { width: "116px" })
|
|
1038
1045
|
}
|
|
1039
1046
|
),
|
|
1040
1047
|
/* @__PURE__ */ t.jsx(
|
|
1041
|
-
|
|
1048
|
+
T,
|
|
1042
1049
|
{ display: ["none", null, "none", "none", "flex", "flex"], children: n }
|
|
1043
1050
|
)
|
|
1044
1051
|
] }
|
|
1045
1052
|
),
|
|
1046
1053
|
/* @__PURE__ */ t.jsx(
|
|
1047
|
-
|
|
1054
|
+
T,
|
|
1048
1055
|
{ alignItems: "center", gap: "2", children: u }
|
|
1049
1056
|
)
|
|
1050
1057
|
] }
|
|
1051
1058
|
)
|
|
1052
1059
|
}
|
|
1053
1060
|
);
|
|
1054
|
-
},
|
|
1061
|
+
}, gr = ({
|
|
1055
1062
|
count: n = 0,
|
|
1056
1063
|
...o
|
|
1057
1064
|
}) => /* @__PURE__ */ t.jsxs(
|
|
1058
1065
|
R,
|
|
1059
1066
|
{ position: "relative", display: "inline-block", children: [
|
|
1060
|
-
/* @__PURE__ */ t.jsx(
|
|
1067
|
+
/* @__PURE__ */ t.jsx(nt, { icon: /* @__PURE__ */ t.jsx(Tn, {}), ...o }),
|
|
1061
1068
|
n > 0 && /* @__PURE__ */ t.jsx(
|
|
1062
1069
|
R,
|
|
1063
1070
|
{
|
|
@@ -1080,7 +1087,7 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
1080
1087
|
}
|
|
1081
1088
|
)
|
|
1082
1089
|
] }
|
|
1083
|
-
),
|
|
1090
|
+
), xr = ({
|
|
1084
1091
|
numDesktopLinks: n = 5,
|
|
1085
1092
|
showPromoButton: o = !1
|
|
1086
1093
|
}) => /* @__PURE__ */ t.jsx(
|
|
@@ -1093,11 +1100,11 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
1093
1100
|
borderBottomWidth: "1px",
|
|
1094
1101
|
borderColor: "tints.lightCream",
|
|
1095
1102
|
children: /* @__PURE__ */ t.jsxs(
|
|
1096
|
-
|
|
1103
|
+
T,
|
|
1097
1104
|
{ justify: "space-between", align: "center", children: [
|
|
1098
|
-
/* @__PURE__ */ t.jsx(
|
|
1105
|
+
/* @__PURE__ */ t.jsx(Xe, { w: "120px", h: "48px" }),
|
|
1099
1106
|
/* @__PURE__ */ t.jsxs(
|
|
1100
|
-
|
|
1107
|
+
gt,
|
|
1101
1108
|
{
|
|
1102
1109
|
spacing: 8,
|
|
1103
1110
|
marginLeft: 12,
|
|
@@ -1105,17 +1112,17 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
1105
1112
|
"data-testid": "desktop-nav",
|
|
1106
1113
|
children: [
|
|
1107
1114
|
Array.from({ length: n }).map(
|
|
1108
|
-
(s,
|
|
1115
|
+
(s, i) => /* @__PURE__ */ t.jsx(Xe, { width: "90px", height: "48px" }, i)
|
|
1109
1116
|
),
|
|
1110
|
-
o && /* @__PURE__ */ t.jsx(
|
|
1117
|
+
o && /* @__PURE__ */ t.jsx(Xe, { width: "110px", height: "48px", borderRadius: "full" })
|
|
1111
1118
|
]
|
|
1112
1119
|
}
|
|
1113
1120
|
),
|
|
1114
1121
|
/* @__PURE__ */ t.jsxs(
|
|
1115
|
-
|
|
1122
|
+
gt,
|
|
1116
1123
|
{ spacing: 4, ml: "auto", children: [
|
|
1117
1124
|
/* @__PURE__ */ t.jsx(
|
|
1118
|
-
|
|
1125
|
+
He,
|
|
1119
1126
|
{
|
|
1120
1127
|
width: "120px",
|
|
1121
1128
|
height: "48px",
|
|
@@ -1124,11 +1131,11 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
1124
1131
|
}
|
|
1125
1132
|
),
|
|
1126
1133
|
" ",
|
|
1127
|
-
/* @__PURE__ */ t.jsx(
|
|
1134
|
+
/* @__PURE__ */ t.jsx(He, { width: "48px", height: "48px" }),
|
|
1128
1135
|
" ",
|
|
1129
|
-
/* @__PURE__ */ t.jsx(
|
|
1136
|
+
/* @__PURE__ */ t.jsx(He, { width: "48px", height: "48px" }),
|
|
1130
1137
|
" ",
|
|
1131
|
-
/* @__PURE__ */ t.jsx(
|
|
1138
|
+
/* @__PURE__ */ t.jsx(He, { width: "48px", height: "48px" }),
|
|
1132
1139
|
" "
|
|
1133
1140
|
] }
|
|
1134
1141
|
)
|
|
@@ -1138,53 +1145,53 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
1138
1145
|
) }
|
|
1139
1146
|
), Un = (n, o) => {
|
|
1140
1147
|
let s;
|
|
1141
|
-
return (...
|
|
1148
|
+
return (...i) => {
|
|
1142
1149
|
s && clearTimeout(s), s = setTimeout(() => {
|
|
1143
|
-
n(...
|
|
1150
|
+
n(...i);
|
|
1144
1151
|
}, o);
|
|
1145
1152
|
};
|
|
1146
|
-
},
|
|
1153
|
+
}, Qe = (n) => n.toLowerCase().replace(/['']/g, "").replace(/[^a-z0-9]/g, ""), Kn = (n, o) => {
|
|
1147
1154
|
n.length < o.length && ([n, o] = [o, n]);
|
|
1148
|
-
let s = Array(o.length + 1).fill(0),
|
|
1155
|
+
let s = Array(o.length + 1).fill(0), i = Array(o.length + 1).fill(0);
|
|
1149
1156
|
for (let c = 0; c <= o.length; c++)
|
|
1150
1157
|
s[c] = c;
|
|
1151
1158
|
for (let c = 1; c <= n.length; c++) {
|
|
1152
|
-
|
|
1159
|
+
i[0] = c;
|
|
1153
1160
|
for (let u = 1; u <= o.length; u++) {
|
|
1154
|
-
const
|
|
1155
|
-
|
|
1156
|
-
|
|
1161
|
+
const f = n[c - 1] === o[u - 1] ? 0 : 1;
|
|
1162
|
+
i[u] = Math.min(
|
|
1163
|
+
i[u - 1] + 1,
|
|
1157
1164
|
// Insertion
|
|
1158
1165
|
s[u] + 1,
|
|
1159
1166
|
// Deletion
|
|
1160
|
-
s[u - 1] +
|
|
1167
|
+
s[u - 1] + f
|
|
1161
1168
|
// Substitution
|
|
1162
1169
|
);
|
|
1163
1170
|
}
|
|
1164
|
-
[s,
|
|
1171
|
+
[s, i] = [i, s];
|
|
1165
1172
|
}
|
|
1166
1173
|
return s[o.length];
|
|
1167
|
-
},
|
|
1174
|
+
}, ze = (n, o, s = 0.6) => {
|
|
1168
1175
|
if (n.length <= 3 || o.length <= 3)
|
|
1169
1176
|
return n.includes(o) || o.includes(n);
|
|
1170
|
-
const
|
|
1171
|
-
return 1 -
|
|
1172
|
-
},
|
|
1177
|
+
const i = Kn(n, o), c = Math.max(n.length, o.length);
|
|
1178
|
+
return 1 - i / c >= s;
|
|
1179
|
+
}, wt = (n, o) => {
|
|
1173
1180
|
const s = n.split(/\s+/);
|
|
1174
|
-
return o.length <= 4 ? s.some((
|
|
1175
|
-
if (
|
|
1181
|
+
return o.length <= 4 ? s.some((i) => i.includes(o)) : s.some((i) => {
|
|
1182
|
+
if (ze(i, o))
|
|
1176
1183
|
return !0;
|
|
1177
|
-
if (
|
|
1178
|
-
for (let c = 0; c <=
|
|
1179
|
-
const u =
|
|
1180
|
-
if (
|
|
1184
|
+
if (i.length >= o.length)
|
|
1185
|
+
for (let c = 0; c <= i.length - o.length; c++) {
|
|
1186
|
+
const u = i.slice(c, c + o.length + 1);
|
|
1187
|
+
if (ze(o, u))
|
|
1181
1188
|
return !0;
|
|
1182
1189
|
}
|
|
1183
1190
|
return !1;
|
|
1184
1191
|
});
|
|
1185
|
-
},
|
|
1192
|
+
}, rt = "nav-drawer-hover", ot = "nav-drawer-animation-start", at = "nav-drawer-animation-end", yt = (n) => {
|
|
1186
1193
|
window.dispatchEvent(
|
|
1187
|
-
new CustomEvent(
|
|
1194
|
+
new CustomEvent(rt, {
|
|
1188
1195
|
detail: { isHovering: n },
|
|
1189
1196
|
bubbles: !0,
|
|
1190
1197
|
cancelable: !0
|
|
@@ -1197,66 +1204,66 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
1197
1204
|
cancelable: !0
|
|
1198
1205
|
})
|
|
1199
1206
|
);
|
|
1200
|
-
},
|
|
1207
|
+
}, Zn = (n = !1, o = !1, s = !1) => n || !o ? "column" : s ? "row" : "row-reverse", Xn = it(kt), Jn = it(Rt), qe = ({
|
|
1201
1208
|
isOpen: n = !1,
|
|
1202
1209
|
onClose: o,
|
|
1203
1210
|
title: s,
|
|
1204
|
-
navDrawerLinks:
|
|
1211
|
+
navDrawerLinks: i,
|
|
1205
1212
|
bottomNavButtons: c,
|
|
1206
1213
|
spotlightCards: u,
|
|
1207
|
-
bottomButton:
|
|
1208
|
-
hasBackButton:
|
|
1214
|
+
bottomButton: f,
|
|
1215
|
+
hasBackButton: d = !0,
|
|
1209
1216
|
onBackClick: g,
|
|
1210
|
-
hasOnlySpotlightCards:
|
|
1211
|
-
hasSearch:
|
|
1217
|
+
hasOnlySpotlightCards: h = !1,
|
|
1218
|
+
hasSearch: p = !1,
|
|
1212
1219
|
onSearch: C = () => ({}),
|
|
1213
1220
|
topOffset: E,
|
|
1214
1221
|
forceMobilePlacement: v = !1
|
|
1215
1222
|
}) => {
|
|
1216
|
-
var
|
|
1217
|
-
const w =
|
|
1223
|
+
var he, ne, ge, xe, oe, B;
|
|
1224
|
+
const w = je({
|
|
1218
1225
|
base: !1,
|
|
1219
1226
|
tablet: !1,
|
|
1220
1227
|
largeTablet: !1,
|
|
1221
1228
|
mediumDesktop: !0,
|
|
1222
1229
|
desktop: !0,
|
|
1223
1230
|
fullDesktop: !0
|
|
1224
|
-
}) ?? !1,
|
|
1225
|
-
S((
|
|
1226
|
-
},
|
|
1227
|
-
Un((
|
|
1228
|
-
C(
|
|
1231
|
+
}) ?? !1, O = v ? "right" : w ? "top" : "right", b = O === "right", [$, S] = X(0), [y, A] = X(!1), H = () => {
|
|
1232
|
+
S((I) => I + 1);
|
|
1233
|
+
}, U = Lt(
|
|
1234
|
+
Un((I) => {
|
|
1235
|
+
C(I), H();
|
|
1229
1236
|
}, 100),
|
|
1230
1237
|
[]
|
|
1231
1238
|
);
|
|
1232
1239
|
ee(() => {
|
|
1233
|
-
n && (
|
|
1240
|
+
n && (A(!0), jt(ot));
|
|
1234
1241
|
}, [n]);
|
|
1235
|
-
const
|
|
1236
|
-
n || (
|
|
1242
|
+
const te = () => {
|
|
1243
|
+
n || (A(!1), o()), jt(at);
|
|
1237
1244
|
};
|
|
1238
1245
|
return /* @__PURE__ */ t.jsx(
|
|
1239
|
-
|
|
1246
|
+
_t,
|
|
1240
1247
|
{
|
|
1241
|
-
isOpen:
|
|
1248
|
+
isOpen: y || n,
|
|
1242
1249
|
closeOnOverlayClick: !0,
|
|
1243
1250
|
onClose: () => {
|
|
1244
|
-
|
|
1251
|
+
y && !b || o();
|
|
1245
1252
|
},
|
|
1246
|
-
placement:
|
|
1253
|
+
placement: O,
|
|
1247
1254
|
blockScrollOnMount: !1,
|
|
1248
1255
|
autoFocus: !1,
|
|
1249
1256
|
...b ? {
|
|
1250
1257
|
styleConfig: {
|
|
1251
1258
|
baseStyle: {
|
|
1252
|
-
...
|
|
1259
|
+
...G.components.Drawer.baseStyle,
|
|
1253
1260
|
dialogContainer: {
|
|
1254
|
-
...(
|
|
1261
|
+
...(ne = (he = G.components.Drawer) == null ? void 0 : he.baseStyle) == null ? void 0 : ne.dialogContainer,
|
|
1255
1262
|
// Higher z-index for drawer content to be above overlay and navigation
|
|
1256
1263
|
zIndex: "popover"
|
|
1257
1264
|
},
|
|
1258
1265
|
dialog: {
|
|
1259
|
-
...(
|
|
1266
|
+
...(xe = (ge = G.components.Drawer) == null ? void 0 : ge.baseStyle) == null ? void 0 : xe.dialog,
|
|
1260
1267
|
// Ensure mobile drawer doesn't expand to full width
|
|
1261
1268
|
maxW: "560px",
|
|
1262
1269
|
width: "auto"
|
|
@@ -1266,9 +1273,9 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
1266
1273
|
} : {
|
|
1267
1274
|
styleConfig: {
|
|
1268
1275
|
baseStyle: {
|
|
1269
|
-
...
|
|
1276
|
+
...G.components.Drawer.baseStyle,
|
|
1270
1277
|
dialogContainer: {
|
|
1271
|
-
...(B = (
|
|
1278
|
+
...(B = (oe = G.components.Drawer) == null ? void 0 : oe.baseStyle) == null ? void 0 : B.dialogContainer,
|
|
1272
1279
|
// Push the drawer down by the top offset on desktop to not cover the top navigation
|
|
1273
1280
|
top: `${E}px`,
|
|
1274
1281
|
// Lower index on desktop to make sure the drawer is below the top navigation
|
|
@@ -1304,15 +1311,15 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
1304
1311
|
/* @__PURE__ */ t.jsxs(
|
|
1305
1312
|
Xn,
|
|
1306
1313
|
{
|
|
1307
|
-
onClick: (
|
|
1308
|
-
const
|
|
1309
|
-
|
|
1314
|
+
onClick: (I) => {
|
|
1315
|
+
const ae = I.target.closest("a");
|
|
1316
|
+
ae && ae.href === window.location.href && o();
|
|
1310
1317
|
},
|
|
1311
1318
|
onMouseEnter: () => {
|
|
1312
|
-
b ||
|
|
1319
|
+
b || yt(!0);
|
|
1313
1320
|
},
|
|
1314
|
-
onMouseLeave: (
|
|
1315
|
-
b || (!
|
|
1321
|
+
onMouseLeave: (I) => {
|
|
1322
|
+
b || (!p || p && (I.target === I.currentTarget || !I.currentTarget.contains(I.target) && !y)) && yt(!1);
|
|
1316
1323
|
},
|
|
1317
1324
|
paddingTop: "4",
|
|
1318
1325
|
paddingX: b ? "4" : "12",
|
|
@@ -1321,7 +1328,7 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
1321
1328
|
maxHeight: "100vh",
|
|
1322
1329
|
position: "relative",
|
|
1323
1330
|
top: b ? void 0 : `${E}px !important`,
|
|
1324
|
-
onAnimationComplete:
|
|
1331
|
+
onAnimationComplete: te,
|
|
1325
1332
|
boxShadow: "none",
|
|
1326
1333
|
...b ? {
|
|
1327
1334
|
// Mobile drawers should use slide animation, not height expansion
|
|
@@ -1335,22 +1342,22 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
1335
1342
|
transition: { duration: 0.3 }
|
|
1336
1343
|
},
|
|
1337
1344
|
children: [
|
|
1338
|
-
!
|
|
1339
|
-
|
|
1345
|
+
!p && !b ? null : /* @__PURE__ */ t.jsxs(
|
|
1346
|
+
Dt,
|
|
1340
1347
|
{
|
|
1341
1348
|
padding: "0",
|
|
1342
|
-
flexDirection:
|
|
1343
|
-
gap:
|
|
1349
|
+
flexDirection: p ? "column" : "row",
|
|
1350
|
+
gap: p ? "4" : "0",
|
|
1344
1351
|
children: [
|
|
1345
1352
|
b ? /* @__PURE__ */ t.jsxs(
|
|
1346
|
-
|
|
1353
|
+
T,
|
|
1347
1354
|
{
|
|
1348
1355
|
width: "100%",
|
|
1349
1356
|
justifyContent: "space-between",
|
|
1350
1357
|
alignItems: "center",
|
|
1351
1358
|
children: [
|
|
1352
|
-
|
|
1353
|
-
|
|
1359
|
+
d ? /* @__PURE__ */ t.jsx(
|
|
1360
|
+
nt,
|
|
1354
1361
|
{
|
|
1355
1362
|
icon: /* @__PURE__ */ t.jsx(In, {}),
|
|
1356
1363
|
onClick: () => {
|
|
@@ -1360,7 +1367,7 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
1360
1367
|
}
|
|
1361
1368
|
) : null,
|
|
1362
1369
|
/* @__PURE__ */ t.jsx(
|
|
1363
|
-
|
|
1370
|
+
z,
|
|
1364
1371
|
{
|
|
1365
1372
|
color: "tints.uiGrey",
|
|
1366
1373
|
fontSize: "xl",
|
|
@@ -1368,7 +1375,7 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
1368
1375
|
}
|
|
1369
1376
|
),
|
|
1370
1377
|
/* @__PURE__ */ t.jsx(
|
|
1371
|
-
|
|
1378
|
+
nt,
|
|
1372
1379
|
{
|
|
1373
1380
|
icon: /* @__PURE__ */ t.jsx(Ot, {}),
|
|
1374
1381
|
onClick: o,
|
|
@@ -1378,14 +1385,14 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
1378
1385
|
]
|
|
1379
1386
|
}
|
|
1380
1387
|
) : null,
|
|
1381
|
-
|
|
1388
|
+
p && /* @__PURE__ */ t.jsxs(
|
|
1382
1389
|
kn,
|
|
1383
1390
|
{ width: "100%", children: [
|
|
1384
1391
|
/* @__PURE__ */ t.jsx(
|
|
1385
1392
|
Rn,
|
|
1386
1393
|
{
|
|
1387
|
-
onChange: (
|
|
1388
|
-
|
|
1394
|
+
onChange: (I) => {
|
|
1395
|
+
U(I.target.value);
|
|
1389
1396
|
},
|
|
1390
1397
|
placeholder: "Search",
|
|
1391
1398
|
autoFocus: !0,
|
|
@@ -1395,7 +1402,7 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
1395
1402
|
),
|
|
1396
1403
|
/* @__PURE__ */ t.jsx(
|
|
1397
1404
|
_n,
|
|
1398
|
-
{ pointerEvents: "none", children: /* @__PURE__ */ t.jsx(Dn, { as:
|
|
1405
|
+
{ pointerEvents: "none", children: /* @__PURE__ */ t.jsx(Dn, { as: Ln, color: "gray.500" }) }
|
|
1399
1406
|
)
|
|
1400
1407
|
] }
|
|
1401
1408
|
)
|
|
@@ -1403,13 +1410,13 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
1403
1410
|
}
|
|
1404
1411
|
),
|
|
1405
1412
|
/* @__PURE__ */ t.jsx(
|
|
1406
|
-
|
|
1413
|
+
Tt,
|
|
1407
1414
|
{
|
|
1408
1415
|
paddingX: "0",
|
|
1409
1416
|
paddingBottom: b ? "6" : "4",
|
|
1410
1417
|
"data-testid": `navbar-drawer-body-${s.toLowerCase()}`,
|
|
1411
1418
|
children: /* @__PURE__ */ t.jsxs(
|
|
1412
|
-
|
|
1419
|
+
it.div,
|
|
1413
1420
|
{
|
|
1414
1421
|
...b ? {} : {
|
|
1415
1422
|
initial: { opacity: 0, y: -5 },
|
|
@@ -1428,10 +1435,10 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
1428
1435
|
},
|
|
1429
1436
|
style: {
|
|
1430
1437
|
display: "flex",
|
|
1431
|
-
flexDirection:
|
|
1432
|
-
|
|
1438
|
+
flexDirection: Zn(
|
|
1439
|
+
h,
|
|
1433
1440
|
!b,
|
|
1434
|
-
|
|
1441
|
+
p
|
|
1435
1442
|
),
|
|
1436
1443
|
gap: "24px",
|
|
1437
1444
|
justifyContent: "space-between"
|
|
@@ -1451,23 +1458,23 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
1451
1458
|
}
|
|
1452
1459
|
) : null,
|
|
1453
1460
|
/* @__PURE__ */ t.jsxs(
|
|
1454
|
-
|
|
1461
|
+
T,
|
|
1455
1462
|
{
|
|
1456
1463
|
position: b ? void 0 : "relative",
|
|
1457
1464
|
flexDirection: "column",
|
|
1458
1465
|
gap: "6",
|
|
1459
|
-
width: b ? "100%" :
|
|
1466
|
+
width: b ? "100%" : p ? void 0 : "auto",
|
|
1460
1467
|
children: [
|
|
1461
|
-
|
|
1468
|
+
i ? /* @__PURE__ */ t.jsx(R, { children: i }) : null,
|
|
1462
1469
|
c && b ? /* @__PURE__ */ t.jsx(R, { children: c }) : null,
|
|
1463
|
-
|
|
1470
|
+
f ? /* @__PURE__ */ t.jsx(
|
|
1464
1471
|
R,
|
|
1465
1472
|
{
|
|
1466
1473
|
width: "100%",
|
|
1467
1474
|
position: b ? void 0 : "absolute",
|
|
1468
1475
|
bottom: b ? void 0 : 0,
|
|
1469
1476
|
...b ? { sx: { a: { width: "100%" } } } : {},
|
|
1470
|
-
children:
|
|
1477
|
+
children: f
|
|
1471
1478
|
}
|
|
1472
1479
|
) : null
|
|
1473
1480
|
]
|
|
@@ -1475,7 +1482,7 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
1475
1482
|
)
|
|
1476
1483
|
]
|
|
1477
1484
|
},
|
|
1478
|
-
|
|
1485
|
+
$
|
|
1479
1486
|
)
|
|
1480
1487
|
}
|
|
1481
1488
|
)
|
|
@@ -1492,48 +1499,48 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
1492
1499
|
onSearchCallback: o,
|
|
1493
1500
|
isActive: s
|
|
1494
1501
|
}) => {
|
|
1495
|
-
const [
|
|
1496
|
-
if (!
|
|
1497
|
-
const v =
|
|
1502
|
+
const [i, c] = X(""), [u, f] = X([]), d = (p, C) => {
|
|
1503
|
+
if (!p) return [];
|
|
1504
|
+
const v = Qe(p).split(/\s+/);
|
|
1498
1505
|
return C.filter((w) => {
|
|
1499
|
-
const
|
|
1500
|
-
if (v.some((
|
|
1501
|
-
const
|
|
1502
|
-
const
|
|
1503
|
-
return
|
|
1506
|
+
const O = Qe(w.label);
|
|
1507
|
+
if (v.some((A) => wt(O, A))) return !0;
|
|
1508
|
+
const $ = O.split(/\s+/), S = v.some((A) => $.some((H) => H.includes(A) || ze(A, H))), y = typeof w.additionalContent == "string" && v.some((A) => {
|
|
1509
|
+
const H = Qe(w.additionalContent);
|
|
1510
|
+
return wt(H, A) || H.split(/\s+/).some((U) => U.includes(A) || ze(A, U));
|
|
1504
1511
|
});
|
|
1505
|
-
return S ||
|
|
1506
|
-
}).sort((w,
|
|
1507
|
-
}, g = (
|
|
1508
|
-
if (c(
|
|
1509
|
-
|
|
1512
|
+
return S || y;
|
|
1513
|
+
}).sort((w, O) => w.label.localeCompare(O.label));
|
|
1514
|
+
}, g = (p) => {
|
|
1515
|
+
if (c(p), !p) {
|
|
1516
|
+
f([]);
|
|
1510
1517
|
return;
|
|
1511
1518
|
}
|
|
1512
|
-
const C =
|
|
1513
|
-
|
|
1514
|
-
},
|
|
1515
|
-
c(""),
|
|
1519
|
+
const C = d(p, n);
|
|
1520
|
+
f(C), o && o(p, C);
|
|
1521
|
+
}, h = () => {
|
|
1522
|
+
c(""), f([]);
|
|
1516
1523
|
};
|
|
1517
1524
|
return ee(() => {
|
|
1518
|
-
s || (c(""),
|
|
1525
|
+
s || (c(""), f([]));
|
|
1519
1526
|
}, [s]), {
|
|
1520
|
-
query:
|
|
1527
|
+
query: i,
|
|
1521
1528
|
results: u,
|
|
1522
|
-
handleClose:
|
|
1529
|
+
handleClose: h,
|
|
1523
1530
|
handleSearch: g
|
|
1524
1531
|
};
|
|
1525
1532
|
}, qn = (n) => {
|
|
1526
1533
|
const o = /* @__PURE__ */ new Set();
|
|
1527
|
-
return n.reduce((s,
|
|
1534
|
+
return n.reduce((s, i) => {
|
|
1528
1535
|
var u;
|
|
1529
|
-
const c = ((u =
|
|
1530
|
-
const g =
|
|
1531
|
-
return [...
|
|
1536
|
+
const c = ((u = i.sections) == null ? void 0 : u.reduce((f, d) => {
|
|
1537
|
+
const g = d.links.filter((h) => o.has(h.label) || h.isSearchable !== !0 ? !1 : (o.add(h.label), !0));
|
|
1538
|
+
return [...f, ...g];
|
|
1532
1539
|
}, [])) ?? [];
|
|
1533
1540
|
return [...s, ...c];
|
|
1534
1541
|
}, []);
|
|
1535
1542
|
}, er = () => {
|
|
1536
|
-
const [n, o] =
|
|
1543
|
+
const [n, o] = X(!1), [s, i] = X(!1), [c, u] = X(null);
|
|
1537
1544
|
return {
|
|
1538
1545
|
isMainMenuOpen: n,
|
|
1539
1546
|
isSearchOpen: s,
|
|
@@ -1543,60 +1550,69 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
1543
1550
|
closeMainMenu: () => {
|
|
1544
1551
|
o(!1), u(null);
|
|
1545
1552
|
},
|
|
1546
|
-
closeSearch: () =>
|
|
1547
|
-
toggleSearch: () =>
|
|
1553
|
+
closeSearch: () => i(!1),
|
|
1554
|
+
toggleSearch: () => i((v) => !v),
|
|
1548
1555
|
openMainMenu: () => o(!0),
|
|
1549
|
-
openSearch: () =>
|
|
1556
|
+
openSearch: () => i(!0)
|
|
1550
1557
|
};
|
|
1551
|
-
},
|
|
1558
|
+
}, tr = "#28724F", vr = ({
|
|
1552
1559
|
categories: n = [],
|
|
1553
1560
|
mainCategoryLabel: o = "Menu",
|
|
1554
1561
|
logoLink: s = "https://www.everlywell.com",
|
|
1555
|
-
mobileBottomButtons:
|
|
1562
|
+
mobileBottomButtons: i = [],
|
|
1556
1563
|
linkComponent: c,
|
|
1557
1564
|
onSearchCallback: u,
|
|
1558
|
-
onLinkClick:
|
|
1559
|
-
onCategoryOpen:
|
|
1565
|
+
onLinkClick: f,
|
|
1566
|
+
onCategoryOpen: d,
|
|
1560
1567
|
onLogoClick: g,
|
|
1561
|
-
shopAllProductsUrl:
|
|
1562
|
-
onShopAllProductsClick:
|
|
1568
|
+
shopAllProductsUrl: h,
|
|
1569
|
+
onShopAllProductsClick: p,
|
|
1563
1570
|
hideableButtons: C,
|
|
1564
1571
|
children: E
|
|
1565
1572
|
}) => {
|
|
1566
|
-
var
|
|
1573
|
+
var De, de, Fe;
|
|
1567
1574
|
const v = er(), {
|
|
1568
1575
|
isMainMenuOpen: w,
|
|
1569
|
-
isSearchOpen:
|
|
1576
|
+
isSearchOpen: O,
|
|
1570
1577
|
closeMainMenu: b,
|
|
1571
|
-
closeSearch:
|
|
1578
|
+
closeSearch: $,
|
|
1572
1579
|
clearSelectedCategory: S,
|
|
1573
|
-
selectedCategory:
|
|
1574
|
-
handleSelectCategory:
|
|
1575
|
-
} = v, [
|
|
1580
|
+
selectedCategory: y,
|
|
1581
|
+
handleSelectCategory: A
|
|
1582
|
+
} = v, [H, U] = X(!1), [te, he] = X(!1), [ne, ge] = X(0), [xe, oe] = X(!1), [B, I] = X(!1), J = se.useRef(!1);
|
|
1576
1583
|
ee(() => {
|
|
1577
|
-
const
|
|
1578
|
-
|
|
1584
|
+
const a = () => {
|
|
1585
|
+
J.current = !0;
|
|
1586
|
+
}, _ = () => {
|
|
1587
|
+
J.current = !1;
|
|
1588
|
+
};
|
|
1589
|
+
return document.addEventListener("keydown", a, !0), document.addEventListener("mousedown", _, !0), () => {
|
|
1590
|
+
document.removeEventListener("keydown", a, !0), document.removeEventListener("mousedown", _, !0);
|
|
1591
|
+
};
|
|
1592
|
+
}, []), ee(() => {
|
|
1593
|
+
const a = () => oe(!0), _ = () => oe(!1);
|
|
1594
|
+
return window.addEventListener(ot, a), window.addEventListener(at, _), () => {
|
|
1579
1595
|
window.removeEventListener(
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
), window.removeEventListener(
|
|
1596
|
+
ot,
|
|
1597
|
+
a
|
|
1598
|
+
), window.removeEventListener(at, _);
|
|
1583
1599
|
};
|
|
1584
1600
|
}, []);
|
|
1585
|
-
const
|
|
1601
|
+
const ae = je({
|
|
1586
1602
|
base: !1,
|
|
1587
1603
|
tablet: !1,
|
|
1588
1604
|
largeTablet: !1,
|
|
1589
1605
|
mediumDesktop: !0,
|
|
1590
1606
|
desktop: !0,
|
|
1591
1607
|
fullDesktop: !0
|
|
1592
|
-
}) ?? !1,
|
|
1608
|
+
}) ?? !1, ie = je({
|
|
1593
1609
|
base: !1,
|
|
1594
1610
|
tablet: !1,
|
|
1595
1611
|
largeTablet: !1,
|
|
1596
1612
|
mediumDesktop: !1,
|
|
1597
1613
|
desktop: !1,
|
|
1598
1614
|
fullDesktop: !0
|
|
1599
|
-
}) ?? !1,
|
|
1615
|
+
}) ?? !1, Le = !ie, Oe = je({
|
|
1600
1616
|
base: !0,
|
|
1601
1617
|
tablet: !0,
|
|
1602
1618
|
largeTablet: !0,
|
|
@@ -1606,33 +1622,33 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
1606
1622
|
}) ?? !0;
|
|
1607
1623
|
ee(() => {
|
|
1608
1624
|
b(), S();
|
|
1609
|
-
}, [
|
|
1625
|
+
}, [ae]);
|
|
1610
1626
|
const {
|
|
1611
|
-
query:
|
|
1612
|
-
results:
|
|
1613
|
-
handleSearch:
|
|
1627
|
+
query: Ae,
|
|
1628
|
+
results: ve,
|
|
1629
|
+
handleSearch: Pe
|
|
1614
1630
|
} = Qn({
|
|
1615
1631
|
source: qn(n),
|
|
1616
1632
|
onSearchCallback: u,
|
|
1617
|
-
isActive:
|
|
1618
|
-
}),
|
|
1619
|
-
|
|
1620
|
-
{ gap:
|
|
1621
|
-
|
|
1622
|
-
|
|
1633
|
+
isActive: O
|
|
1634
|
+
}), Se = ve.length > 0, ke = c || le, We = Ee(h, !!c), Re = Ae && /* @__PURE__ */ t.jsxs(
|
|
1635
|
+
T,
|
|
1636
|
+
{ gap: Se ? "6" : 0, direction: "column", children: [
|
|
1637
|
+
Se ? /* @__PURE__ */ t.jsx(z, { color: "tints.uiGrey", children: `${ve.length} Results` }) : /* @__PURE__ */ t.jsxs(
|
|
1638
|
+
T,
|
|
1623
1639
|
{ direction: "column", gap: "6", alignItems: "flex-start", children: [
|
|
1624
1640
|
/* @__PURE__ */ t.jsx(
|
|
1625
|
-
|
|
1641
|
+
z,
|
|
1626
1642
|
{ color: "tints.uiGrey", children: "We didn't find what you were looking for." }
|
|
1627
1643
|
),
|
|
1628
1644
|
/* @__PURE__ */ t.jsx(
|
|
1629
|
-
|
|
1645
|
+
St,
|
|
1630
1646
|
{
|
|
1631
|
-
as:
|
|
1632
|
-
onClick:
|
|
1647
|
+
as: ke,
|
|
1648
|
+
onClick: p,
|
|
1633
1649
|
_hover: { textDecoration: "none" },
|
|
1634
1650
|
width: ["100%", null, null, "auto"],
|
|
1635
|
-
...
|
|
1651
|
+
...We,
|
|
1636
1652
|
children: "Shop all products"
|
|
1637
1653
|
}
|
|
1638
1654
|
)
|
|
@@ -1640,194 +1656,215 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
1640
1656
|
),
|
|
1641
1657
|
/* @__PURE__ */ t.jsx(
|
|
1642
1658
|
rn,
|
|
1643
|
-
{ columns: [1, 1, 1, 4], children:
|
|
1644
|
-
(
|
|
1659
|
+
{ columns: [1, 1, 1, 4], children: ve.map(
|
|
1660
|
+
(a, _) => /* @__PURE__ */ t.jsx(
|
|
1645
1661
|
on,
|
|
1646
1662
|
{ children: /* @__PURE__ */ t.jsx(
|
|
1647
|
-
|
|
1663
|
+
Be,
|
|
1648
1664
|
{
|
|
1649
|
-
href:
|
|
1650
|
-
label:
|
|
1651
|
-
additionalContent:
|
|
1665
|
+
href: a.href,
|
|
1666
|
+
label: a.label,
|
|
1667
|
+
additionalContent: a == null ? void 0 : a.additionalContent,
|
|
1652
1668
|
linkComponent: c,
|
|
1653
|
-
forceMobileStyle: !
|
|
1669
|
+
forceMobileStyle: !ae
|
|
1654
1670
|
}
|
|
1655
1671
|
) },
|
|
1656
|
-
`${
|
|
1672
|
+
`${a.label}-${_}`
|
|
1657
1673
|
)
|
|
1658
1674
|
) }
|
|
1659
1675
|
)
|
|
1660
1676
|
] }
|
|
1661
|
-
), K = (
|
|
1662
|
-
K(
|
|
1663
|
-
},
|
|
1664
|
-
|
|
1665
|
-
},
|
|
1666
|
-
|
|
1677
|
+
), K = (a) => "href" in a, be = (a) => {
|
|
1678
|
+
K(a) ? f == null || f(a.label) : (I(w || !ie), A(a));
|
|
1679
|
+
}, ce = (a) => {
|
|
1680
|
+
U(!0), $(), S(), !K(a) && (a.sections || a.spotlightCards) && (I(!1), A(a));
|
|
1681
|
+
}, me = () => {
|
|
1682
|
+
U(!1);
|
|
1667
1683
|
};
|
|
1668
1684
|
ee(() => {
|
|
1669
|
-
const
|
|
1670
|
-
|
|
1685
|
+
const a = (_) => {
|
|
1686
|
+
he(_.detail.isHovering);
|
|
1671
1687
|
};
|
|
1672
1688
|
return window.addEventListener(
|
|
1673
|
-
|
|
1674
|
-
|
|
1689
|
+
rt,
|
|
1690
|
+
a
|
|
1675
1691
|
), () => {
|
|
1676
1692
|
window.removeEventListener(
|
|
1677
|
-
|
|
1678
|
-
|
|
1693
|
+
rt,
|
|
1694
|
+
a
|
|
1679
1695
|
);
|
|
1680
1696
|
};
|
|
1681
1697
|
}, []), ee(() => {
|
|
1682
|
-
!
|
|
1683
|
-
}, [
|
|
1684
|
-
let
|
|
1685
|
-
const
|
|
1686
|
-
const
|
|
1687
|
-
|
|
1688
|
-
},
|
|
1689
|
-
return window.addEventListener("popstate",
|
|
1690
|
-
window.removeEventListener("popstate",
|
|
1698
|
+
!H && !te && (S(), $(), !w && ie && I(!1));
|
|
1699
|
+
}, [H, te, w, ie]), ee(() => {
|
|
1700
|
+
let a = window.location.href;
|
|
1701
|
+
const _ = () => {
|
|
1702
|
+
const F = window.location.href;
|
|
1703
|
+
F !== a && (a = F, b(), S());
|
|
1704
|
+
}, L = setInterval(_, 100);
|
|
1705
|
+
return window.addEventListener("popstate", _), () => {
|
|
1706
|
+
window.removeEventListener("popstate", _), clearInterval(L);
|
|
1691
1707
|
};
|
|
1692
1708
|
}, []);
|
|
1693
|
-
const
|
|
1694
|
-
var
|
|
1695
|
-
const
|
|
1709
|
+
const _e = (a) => K(a) && (!a.buttonProps || Object.keys(a.buttonProps).length === 0 || a.buttonProps === void 0), Me = n == null ? void 0 : n.map((a, _) => {
|
|
1710
|
+
var Q, q;
|
|
1711
|
+
const L = C.includes(a.label), F = !K(a), fe = (y == null ? void 0 : y.label) === a.label;
|
|
1696
1712
|
return /* @__PURE__ */ t.jsx(
|
|
1697
1713
|
Vn,
|
|
1698
1714
|
{
|
|
1699
1715
|
height: "48px",
|
|
1700
1716
|
paddingInline: "16px !important",
|
|
1701
1717
|
onMouseEnter: () => {
|
|
1702
|
-
|
|
1718
|
+
ce(a), d == null || d(a.label);
|
|
1703
1719
|
},
|
|
1704
|
-
onMouseLeave:
|
|
1705
|
-
isSelected:
|
|
1706
|
-
as: K(
|
|
1707
|
-
href: K(
|
|
1708
|
-
onClick: K(
|
|
1709
|
-
|
|
1720
|
+
onMouseLeave: me,
|
|
1721
|
+
isSelected: fe,
|
|
1722
|
+
as: K(a) && ke ? ke : le,
|
|
1723
|
+
href: K(a) ? a.href : void 0,
|
|
1724
|
+
onClick: K(a) ? () => f == null ? void 0 : f(a.label) : () => {
|
|
1725
|
+
ce(a), d == null || d(a.label);
|
|
1726
|
+
},
|
|
1727
|
+
...F && {
|
|
1728
|
+
tabIndex: 0,
|
|
1729
|
+
role: "button",
|
|
1730
|
+
"aria-haspopup": "true",
|
|
1731
|
+
"aria-expanded": fe,
|
|
1732
|
+
onKeyDown: (re) => {
|
|
1733
|
+
(re.key === "Enter" || re.key === " ") && (re.preventDefault(), ce(a), d == null || d(a.label));
|
|
1734
|
+
},
|
|
1735
|
+
// Inline styles bypass Chakra's emotion cascade and the
|
|
1736
|
+
// focus-visible polyfill entirely — nothing can override them.
|
|
1737
|
+
onFocus: (re) => {
|
|
1738
|
+
const N = re.currentTarget;
|
|
1739
|
+
J.current && (N.style.outline = `3px solid ${tr}`, N.style.outlineOffset = "2px", N.style.boxShadow = "0 0 0 5px rgba(255,255,255,0.9)", N.style.borderRadius = "9999px", N.style.zIndex = "1");
|
|
1740
|
+
},
|
|
1741
|
+
onBlur: (re) => {
|
|
1742
|
+
const N = re.currentTarget;
|
|
1743
|
+
N.style.outline = "", N.style.outlineOffset = "", N.style.boxShadow = "", N.style.borderRadius = "", N.style.zIndex = "";
|
|
1744
|
+
}
|
|
1745
|
+
},
|
|
1746
|
+
...L && {
|
|
1710
1747
|
display: { base: "none", fullDesktop: "flex" }
|
|
1711
1748
|
},
|
|
1712
|
-
...((
|
|
1749
|
+
...((Q = a == null ? void 0 : a.context) == null ? void 0 : Q.desktop) === "link" || _e(a) ? {
|
|
1713
1750
|
_hover: {
|
|
1714
1751
|
backgroundColor: "tints.lightCream",
|
|
1715
1752
|
textDecoration: "none",
|
|
1716
1753
|
filter: "brightness(0.95)"
|
|
1717
1754
|
}
|
|
1718
1755
|
} : {},
|
|
1719
|
-
...((
|
|
1720
|
-
children:
|
|
1756
|
+
...((q = a == null ? void 0 : a.context) == null ? void 0 : q.desktop) !== "link" && a.buttonProps,
|
|
1757
|
+
children: a.label
|
|
1721
1758
|
},
|
|
1722
|
-
`${
|
|
1759
|
+
`${a.label}-${_}`
|
|
1723
1760
|
);
|
|
1724
|
-
}),
|
|
1725
|
-
(
|
|
1726
|
-
var
|
|
1727
|
-
return ((
|
|
1761
|
+
}), Ne = (De = n.filter(
|
|
1762
|
+
(a) => {
|
|
1763
|
+
var _;
|
|
1764
|
+
return ((_ = a == null ? void 0 : a.context) == null ? void 0 : _.mobile) === "link" || (!K(a) && a.isMobileTopLink !== !1 || _e(a)) && (Le && C.includes(a.label) || Oe);
|
|
1728
1765
|
}
|
|
1729
|
-
)) == null ? void 0 :
|
|
1730
|
-
var
|
|
1731
|
-
const
|
|
1732
|
-
return
|
|
1766
|
+
)) == null ? void 0 : De.map((a, _) => {
|
|
1767
|
+
var F;
|
|
1768
|
+
const L = a;
|
|
1769
|
+
return _e(L) || ((F = L == null ? void 0 : L.context) == null ? void 0 : F.mobile) === "link" ? /* @__PURE__ */ t.jsx(
|
|
1733
1770
|
R,
|
|
1734
1771
|
{ children: /* @__PURE__ */ t.jsx(
|
|
1735
|
-
|
|
1772
|
+
Be,
|
|
1736
1773
|
{
|
|
1737
|
-
label:
|
|
1774
|
+
label: L.label,
|
|
1738
1775
|
role: "link",
|
|
1739
|
-
href:
|
|
1776
|
+
href: L.href,
|
|
1740
1777
|
mainTextFontSize: "3xl",
|
|
1741
1778
|
linkComponent: c,
|
|
1742
1779
|
forceMobileStyle: !0
|
|
1743
1780
|
}
|
|
1744
1781
|
) },
|
|
1745
|
-
`${
|
|
1782
|
+
`${L.label}-${_}`
|
|
1746
1783
|
) : /* @__PURE__ */ t.jsx(
|
|
1747
1784
|
R,
|
|
1748
1785
|
{
|
|
1749
1786
|
onClick: () => {
|
|
1750
|
-
|
|
1787
|
+
be(L), d == null || d(L.label);
|
|
1751
1788
|
},
|
|
1752
1789
|
children: /* @__PURE__ */ t.jsx(
|
|
1753
|
-
|
|
1790
|
+
Be,
|
|
1754
1791
|
{
|
|
1755
|
-
label:
|
|
1792
|
+
label: L.label,
|
|
1756
1793
|
role: "link",
|
|
1757
|
-
additionalContent:
|
|
1794
|
+
additionalContent: L.additionalContent,
|
|
1758
1795
|
mainTextFontSize: "3xl",
|
|
1759
1796
|
linkComponent: c,
|
|
1760
1797
|
forceMobileStyle: !0
|
|
1761
1798
|
}
|
|
1762
1799
|
)
|
|
1763
1800
|
},
|
|
1764
|
-
`${
|
|
1801
|
+
`${L.label}-${_}`
|
|
1765
1802
|
);
|
|
1766
|
-
}),
|
|
1767
|
-
|
|
1768
|
-
{ gap: "2", flexDirection: "column", children:
|
|
1769
|
-
),
|
|
1770
|
-
|
|
1771
|
-
{ direction:
|
|
1772
|
-
const
|
|
1773
|
-
for (let
|
|
1774
|
-
|
|
1803
|
+
}), Ve = /* @__PURE__ */ t.jsx(
|
|
1804
|
+
T,
|
|
1805
|
+
{ gap: "2", flexDirection: "column", children: i }
|
|
1806
|
+
), Y = B || w, ue = y ? /* @__PURE__ */ t.jsx(
|
|
1807
|
+
T,
|
|
1808
|
+
{ direction: Y ? "column" : ["column", null, null, "row"], gap: "8", children: (de = y == null ? void 0 : y.sections) == null ? void 0 : de.map((a, _) => {
|
|
1809
|
+
const L = [];
|
|
1810
|
+
for (let F = 0; F < a.links.length; F += 3)
|
|
1811
|
+
L.push(a.links.slice(F, F + 3));
|
|
1775
1812
|
return /* @__PURE__ */ t.jsxs(
|
|
1776
1813
|
R,
|
|
1777
1814
|
{ children: [
|
|
1778
1815
|
/* @__PURE__ */ t.jsx(
|
|
1779
|
-
|
|
1816
|
+
z,
|
|
1780
1817
|
{
|
|
1781
1818
|
fontSize: "md",
|
|
1782
1819
|
color: "tints.uiGrey",
|
|
1783
|
-
marginBottom:
|
|
1784
|
-
children:
|
|
1820
|
+
marginBottom: Y ? 0 : [0, null, null, 6],
|
|
1821
|
+
children: a.title
|
|
1785
1822
|
}
|
|
1786
1823
|
),
|
|
1787
1824
|
/* @__PURE__ */ t.jsx(
|
|
1788
|
-
|
|
1825
|
+
T,
|
|
1789
1826
|
{
|
|
1790
|
-
flexDirection:
|
|
1791
|
-
gap:
|
|
1792
|
-
children:
|
|
1793
|
-
(
|
|
1794
|
-
|
|
1827
|
+
flexDirection: Y ? "column" : ["column", null, null, "row"],
|
|
1828
|
+
gap: Y ? void 0 : [null, null, null, 8],
|
|
1829
|
+
children: L == null ? void 0 : L.map(
|
|
1830
|
+
(F, fe) => /* @__PURE__ */ t.jsx(
|
|
1831
|
+
T,
|
|
1795
1832
|
{
|
|
1796
1833
|
flexDirection: "column",
|
|
1797
|
-
gap:
|
|
1798
|
-
marginLeft:
|
|
1799
|
-
children:
|
|
1800
|
-
(
|
|
1801
|
-
|
|
1834
|
+
gap: Y ? void 0 : [null, null, null, 5],
|
|
1835
|
+
marginLeft: Y ? void 0 : [null, null, null, -2],
|
|
1836
|
+
children: F == null ? void 0 : F.map(
|
|
1837
|
+
(Q, q) => /* @__PURE__ */ t.jsx(
|
|
1838
|
+
Be,
|
|
1802
1839
|
{
|
|
1803
|
-
label:
|
|
1804
|
-
href:
|
|
1805
|
-
additionalContent:
|
|
1840
|
+
label: Q.label,
|
|
1841
|
+
href: Q.href,
|
|
1842
|
+
additionalContent: Q.additionalContent,
|
|
1806
1843
|
linkComponent: c,
|
|
1807
|
-
forceMobileStyle:
|
|
1808
|
-
onClick: () =>
|
|
1844
|
+
forceMobileStyle: Y,
|
|
1845
|
+
onClick: () => f == null ? void 0 : f(Q.label)
|
|
1809
1846
|
},
|
|
1810
|
-
`${
|
|
1847
|
+
`${Q.label}-${q}`
|
|
1811
1848
|
)
|
|
1812
1849
|
)
|
|
1813
1850
|
},
|
|
1814
|
-
|
|
1851
|
+
fe
|
|
1815
1852
|
)
|
|
1816
1853
|
)
|
|
1817
1854
|
}
|
|
1818
1855
|
)
|
|
1819
1856
|
] },
|
|
1820
|
-
`${
|
|
1857
|
+
`${a.title}-${_}`
|
|
1821
1858
|
);
|
|
1822
1859
|
}) }
|
|
1823
|
-
) : null,
|
|
1824
|
-
(
|
|
1860
|
+
) : null, $e = y != null && y.spotlightCards ? (Fe = y.spotlightCards) == null ? void 0 : Fe.map(
|
|
1861
|
+
(a, _) => /* @__PURE__ */ t.jsx(
|
|
1825
1862
|
Yn,
|
|
1826
1863
|
{
|
|
1827
|
-
...
|
|
1828
|
-
forceMobileStyle:
|
|
1864
|
+
...a,
|
|
1865
|
+
forceMobileStyle: Y
|
|
1829
1866
|
},
|
|
1830
|
-
`${
|
|
1867
|
+
`${a.title}-${_}`
|
|
1831
1868
|
)
|
|
1832
1869
|
) : /* @__PURE__ */ t.jsx(R, {});
|
|
1833
1870
|
return /* @__PURE__ */ t.jsxs(
|
|
@@ -1838,16 +1875,16 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
1838
1875
|
position: "sticky",
|
|
1839
1876
|
top: "0",
|
|
1840
1877
|
width: "100%",
|
|
1841
|
-
zIndex: ["sticky", null, null,
|
|
1878
|
+
zIndex: ["sticky", null, null, xe ? "modal" : "sticky"],
|
|
1842
1879
|
children: [
|
|
1843
1880
|
/* @__PURE__ */ t.jsx(
|
|
1844
1881
|
Gn,
|
|
1845
1882
|
{
|
|
1846
|
-
desktopTopButtons:
|
|
1883
|
+
desktopTopButtons: Me,
|
|
1847
1884
|
logoLink: s,
|
|
1848
1885
|
linkComponent: c,
|
|
1849
1886
|
onLogoClick: g,
|
|
1850
|
-
setTopOffset:
|
|
1887
|
+
setTopOffset: ge,
|
|
1851
1888
|
rightSideButtons: typeof E == "function" ? E(v) : E
|
|
1852
1889
|
}
|
|
1853
1890
|
),
|
|
@@ -1855,49 +1892,49 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
1855
1892
|
R,
|
|
1856
1893
|
{ position: "relative", zIndex: "modal", children: [
|
|
1857
1894
|
/* @__PURE__ */ t.jsx(
|
|
1858
|
-
|
|
1895
|
+
qe,
|
|
1859
1896
|
{
|
|
1860
1897
|
isOpen: w,
|
|
1861
1898
|
onClose: b,
|
|
1862
1899
|
title: o,
|
|
1863
|
-
navDrawerLinks:
|
|
1864
|
-
bottomNavButtons:
|
|
1900
|
+
navDrawerLinks: Ne,
|
|
1901
|
+
bottomNavButtons: Ve,
|
|
1865
1902
|
hasBackButton: !1,
|
|
1866
|
-
topOffset:
|
|
1903
|
+
topOffset: ne,
|
|
1867
1904
|
forceMobilePlacement: !0
|
|
1868
1905
|
}
|
|
1869
1906
|
),
|
|
1870
1907
|
/* @__PURE__ */ t.jsx(
|
|
1871
|
-
|
|
1908
|
+
qe,
|
|
1872
1909
|
{
|
|
1873
|
-
isOpen: !!
|
|
1910
|
+
isOpen: !!y,
|
|
1874
1911
|
onClose: () => {
|
|
1875
|
-
b(), S(), w ||
|
|
1912
|
+
b(), S(), w || I(!1);
|
|
1876
1913
|
},
|
|
1877
|
-
title: (
|
|
1878
|
-
navDrawerLinks:
|
|
1914
|
+
title: (y == null ? void 0 : y.label) || "",
|
|
1915
|
+
navDrawerLinks: ue,
|
|
1879
1916
|
onBackClick: () => {
|
|
1880
|
-
S(), w ||
|
|
1917
|
+
S(), w || I(!1);
|
|
1881
1918
|
},
|
|
1882
|
-
spotlightCards:
|
|
1883
|
-
hasOnlySpotlightCards:
|
|
1884
|
-
bottomButton:
|
|
1885
|
-
topOffset:
|
|
1919
|
+
spotlightCards: $e,
|
|
1920
|
+
hasOnlySpotlightCards: y == null ? void 0 : y.hasOnlySpotlightCards,
|
|
1921
|
+
bottomButton: y == null ? void 0 : y.bottomButton,
|
|
1922
|
+
topOffset: ne,
|
|
1886
1923
|
forceMobilePlacement: B || w || // Below 1400px, if main menu is open, always use mobile closing
|
|
1887
|
-
w && !
|
|
1924
|
+
w && !ie
|
|
1888
1925
|
}
|
|
1889
1926
|
),
|
|
1890
1927
|
/* @__PURE__ */ t.jsx(
|
|
1891
|
-
|
|
1928
|
+
qe,
|
|
1892
1929
|
{
|
|
1893
|
-
isOpen:
|
|
1894
|
-
onClose: () =>
|
|
1930
|
+
isOpen: O,
|
|
1931
|
+
onClose: () => $(),
|
|
1895
1932
|
title: "Search",
|
|
1896
|
-
navDrawerLinks:
|
|
1897
|
-
onSearch:
|
|
1933
|
+
navDrawerLinks: Re,
|
|
1934
|
+
onSearch: Pe,
|
|
1898
1935
|
hasSearch: !0,
|
|
1899
1936
|
hasBackButton: !1,
|
|
1900
|
-
topOffset:
|
|
1937
|
+
topOffset: ne
|
|
1901
1938
|
}
|
|
1902
1939
|
)
|
|
1903
1940
|
] }
|
|
@@ -1905,51 +1942,51 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
1905
1942
|
]
|
|
1906
1943
|
}
|
|
1907
1944
|
);
|
|
1908
|
-
},
|
|
1945
|
+
}, Ct = ({
|
|
1909
1946
|
links: n,
|
|
1910
1947
|
linkComponent: o,
|
|
1911
1948
|
onLinkClick: s,
|
|
1912
|
-
footerTheme:
|
|
1949
|
+
footerTheme: i
|
|
1913
1950
|
}) => {
|
|
1914
|
-
const c = o ||
|
|
1915
|
-
s && s(
|
|
1951
|
+
const c = o || le, u = (f) => {
|
|
1952
|
+
s && s(f);
|
|
1916
1953
|
};
|
|
1917
1954
|
return /* @__PURE__ */ t.jsx(
|
|
1918
|
-
|
|
1955
|
+
T,
|
|
1919
1956
|
{ direction: "column", gap: 6, children: n.map(
|
|
1920
|
-
(
|
|
1921
|
-
|
|
1957
|
+
(f) => /* @__PURE__ */ t.jsx(
|
|
1958
|
+
z,
|
|
1922
1959
|
{
|
|
1923
1960
|
as: c,
|
|
1924
|
-
color:
|
|
1961
|
+
color: i === "dark" ? "white" : "viridian.base",
|
|
1925
1962
|
size: "lg",
|
|
1926
1963
|
_hover: { color: "viridian.lighter", textDecoration: "none" },
|
|
1927
|
-
onClick: () => u(
|
|
1928
|
-
...
|
|
1929
|
-
children:
|
|
1964
|
+
onClick: () => u(f.label),
|
|
1965
|
+
...Ee(f.href, !!o),
|
|
1966
|
+
children: f.label
|
|
1930
1967
|
},
|
|
1931
|
-
|
|
1968
|
+
f.label
|
|
1932
1969
|
)
|
|
1933
1970
|
) }
|
|
1934
1971
|
);
|
|
1935
|
-
},
|
|
1936
|
-
const
|
|
1972
|
+
}, nr = ({ title: n, links: o, isLast: s }) => {
|
|
1973
|
+
const i = s ? "transparent" : `${G.colors.viridian.lighter}20`;
|
|
1937
1974
|
return o ? /* @__PURE__ */ t.jsx(
|
|
1938
1975
|
ln,
|
|
1939
|
-
{ borderColor:
|
|
1976
|
+
{ borderColor: i, children: ({ isExpanded: c }) => /* @__PURE__ */ t.jsxs(
|
|
1940
1977
|
t.Fragment,
|
|
1941
1978
|
{ children: [
|
|
1942
1979
|
/* @__PURE__ */ t.jsxs(
|
|
1943
1980
|
sn,
|
|
1944
1981
|
{ paddingX: 0, paddingY: 4, _hover: { bg: "transparent" }, children: [
|
|
1945
1982
|
/* @__PURE__ */ t.jsx(
|
|
1946
|
-
|
|
1983
|
+
z,
|
|
1947
1984
|
{ color: "viridian.lighter", size: "lg", flex: "1", textAlign: "left", children: n }
|
|
1948
1985
|
),
|
|
1949
1986
|
/* @__PURE__ */ t.jsx(
|
|
1950
|
-
|
|
1987
|
+
Ce,
|
|
1951
1988
|
{
|
|
1952
|
-
as:
|
|
1989
|
+
as: On,
|
|
1953
1990
|
size: "sm",
|
|
1954
1991
|
color: "viridian.lighter",
|
|
1955
1992
|
transform: c ? "rotate(-180deg)" : "rotate(0deg)",
|
|
@@ -1965,7 +2002,7 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
1965
2002
|
] }
|
|
1966
2003
|
) }
|
|
1967
2004
|
) : null;
|
|
1968
|
-
},
|
|
2005
|
+
}, rr = ({
|
|
1969
2006
|
title: n,
|
|
1970
2007
|
links: o,
|
|
1971
2008
|
footerTheme: s
|
|
@@ -1973,7 +2010,7 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
1973
2010
|
R,
|
|
1974
2011
|
{ children: [
|
|
1975
2012
|
/* @__PURE__ */ t.jsx(
|
|
1976
|
-
|
|
2013
|
+
z,
|
|
1977
2014
|
{
|
|
1978
2015
|
color: s === "dark" ? "viridian.lighter" : "tints.darkGrey",
|
|
1979
2016
|
mb: 6,
|
|
@@ -1983,33 +2020,33 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
1983
2020
|
),
|
|
1984
2021
|
o
|
|
1985
2022
|
] }
|
|
1986
|
-
) : null,
|
|
2023
|
+
) : null, or = ({
|
|
1987
2024
|
sections: n,
|
|
1988
2025
|
linkComponent: o,
|
|
1989
2026
|
onLinkClick: s,
|
|
1990
|
-
footerTheme:
|
|
1991
|
-
}) =>
|
|
2027
|
+
footerTheme: i
|
|
2028
|
+
}) => je({
|
|
1992
2029
|
base: !1,
|
|
1993
2030
|
tablet: !1,
|
|
1994
2031
|
largeTablet: !0,
|
|
1995
2032
|
desktop: !0
|
|
1996
2033
|
}) ? /* @__PURE__ */ t.jsx(
|
|
1997
|
-
|
|
2034
|
+
T,
|
|
1998
2035
|
{ justify: "space-between", align: "flex-start", children: /* @__PURE__ */ t.jsx(
|
|
1999
|
-
|
|
2036
|
+
T,
|
|
2000
2037
|
{ gap: 120, children: n.map(
|
|
2001
|
-
({ title: u, links:
|
|
2002
|
-
|
|
2038
|
+
({ title: u, links: f }) => /* @__PURE__ */ t.jsx(
|
|
2039
|
+
rr,
|
|
2003
2040
|
{
|
|
2004
|
-
footerTheme:
|
|
2041
|
+
footerTheme: i,
|
|
2005
2042
|
title: u,
|
|
2006
2043
|
links: /* @__PURE__ */ t.jsx(
|
|
2007
|
-
|
|
2044
|
+
Ct,
|
|
2008
2045
|
{
|
|
2009
|
-
links:
|
|
2046
|
+
links: f,
|
|
2010
2047
|
linkComponent: o,
|
|
2011
2048
|
onLinkClick: s,
|
|
2012
|
-
footerTheme:
|
|
2049
|
+
footerTheme: i
|
|
2013
2050
|
}
|
|
2014
2051
|
)
|
|
2015
2052
|
},
|
|
@@ -2026,44 +2063,44 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
2026
2063
|
display: "flex",
|
|
2027
2064
|
flexDirection: "column",
|
|
2028
2065
|
children: n.map(
|
|
2029
|
-
({ title: u, links:
|
|
2030
|
-
|
|
2066
|
+
({ title: u, links: f }, d) => /* @__PURE__ */ t.jsx(
|
|
2067
|
+
nr,
|
|
2031
2068
|
{
|
|
2032
2069
|
title: u,
|
|
2033
2070
|
links: /* @__PURE__ */ t.jsx(
|
|
2034
|
-
|
|
2071
|
+
Ct,
|
|
2035
2072
|
{
|
|
2036
|
-
links:
|
|
2073
|
+
links: f,
|
|
2037
2074
|
linkComponent: o,
|
|
2038
2075
|
onLinkClick: s,
|
|
2039
|
-
footerTheme:
|
|
2076
|
+
footerTheme: i
|
|
2040
2077
|
}
|
|
2041
2078
|
),
|
|
2042
|
-
isLast:
|
|
2079
|
+
isLast: d === n.length - 1
|
|
2043
2080
|
},
|
|
2044
2081
|
u
|
|
2045
2082
|
)
|
|
2046
2083
|
)
|
|
2047
2084
|
}
|
|
2048
|
-
),
|
|
2049
|
-
instagram:
|
|
2085
|
+
), Et = {
|
|
2086
|
+
instagram: Pn,
|
|
2050
2087
|
linkedin: Mn,
|
|
2051
2088
|
facebook: $n,
|
|
2052
|
-
tiktok:
|
|
2053
|
-
x:
|
|
2054
|
-
},
|
|
2089
|
+
tiktok: Fn,
|
|
2090
|
+
x: Hn
|
|
2091
|
+
}, ar = ({
|
|
2055
2092
|
socialLinks: n,
|
|
2056
2093
|
onEmailSubmit: o,
|
|
2057
2094
|
socialMediaLabel: s,
|
|
2058
|
-
newsletterLabel:
|
|
2095
|
+
newsletterLabel: i,
|
|
2059
2096
|
onLinkClick: c,
|
|
2060
2097
|
showNewsletter: u = !0,
|
|
2061
|
-
footerTheme:
|
|
2098
|
+
footerTheme: f
|
|
2062
2099
|
}) => {
|
|
2063
|
-
const
|
|
2064
|
-
g && o && (o(g),
|
|
2100
|
+
const d = f === "dark", [g, h] = se.useState(""), p = () => {
|
|
2101
|
+
g && o && (o(g), h(""));
|
|
2065
2102
|
}, C = (v) => {
|
|
2066
|
-
v.key === "Enter" &&
|
|
2103
|
+
v.key === "Enter" && p();
|
|
2067
2104
|
}, E = (v) => {
|
|
2068
2105
|
c && c(v);
|
|
2069
2106
|
};
|
|
@@ -2074,12 +2111,12 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
2074
2111
|
R,
|
|
2075
2112
|
{ mb: [8, 10], children: [
|
|
2076
2113
|
/* @__PURE__ */ t.jsx(
|
|
2077
|
-
|
|
2114
|
+
z,
|
|
2078
2115
|
{
|
|
2079
|
-
color:
|
|
2116
|
+
color: d ? "viridian.lighter" : "tints.darkGrey",
|
|
2080
2117
|
mb: 6,
|
|
2081
2118
|
size: "lg",
|
|
2082
|
-
children:
|
|
2119
|
+
children: i
|
|
2083
2120
|
}
|
|
2084
2121
|
),
|
|
2085
2122
|
/* @__PURE__ */ t.jsxs(
|
|
@@ -2091,33 +2128,33 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
2091
2128
|
"aria-label": "Email address",
|
|
2092
2129
|
type: "email",
|
|
2093
2130
|
placeholder: "Enter your email",
|
|
2094
|
-
bg:
|
|
2131
|
+
bg: d ? "transparent" : "tints.white",
|
|
2095
2132
|
border: "1px solid",
|
|
2096
|
-
borderColor:
|
|
2097
|
-
color:
|
|
2133
|
+
borderColor: d ? "viridian.lighter" : "tints.darkCream",
|
|
2134
|
+
color: d ? "viridian.lighter" : "tints.darkGrey",
|
|
2098
2135
|
_placeholder: {
|
|
2099
|
-
color:
|
|
2136
|
+
color: d ? "viridian.lighter" : "tints.darkGrey"
|
|
2100
2137
|
},
|
|
2101
2138
|
opacity: 0.66,
|
|
2102
2139
|
height: "52px",
|
|
2103
2140
|
pr: "48px",
|
|
2104
2141
|
value: g,
|
|
2105
|
-
onChange: (v) =>
|
|
2142
|
+
onChange: (v) => h(v.target.value),
|
|
2106
2143
|
onKeyPress: C
|
|
2107
2144
|
}
|
|
2108
2145
|
),
|
|
2109
2146
|
/* @__PURE__ */ t.jsx(
|
|
2110
2147
|
fn,
|
|
2111
2148
|
{ h: "52px", pr: 4, children: /* @__PURE__ */ t.jsx(
|
|
2112
|
-
|
|
2149
|
+
Ce,
|
|
2113
2150
|
{
|
|
2114
|
-
as:
|
|
2115
|
-
color:
|
|
2151
|
+
as: An,
|
|
2152
|
+
color: d ? "viridian.lighter" : "viridian.base",
|
|
2116
2153
|
width: "24px",
|
|
2117
2154
|
height: "24px",
|
|
2118
2155
|
opacity: 0.66,
|
|
2119
2156
|
cursor: "pointer",
|
|
2120
|
-
onClick:
|
|
2157
|
+
onClick: p,
|
|
2121
2158
|
"data-testid": "arrow-right-icon",
|
|
2122
2159
|
role: "button",
|
|
2123
2160
|
"aria-label": "Submit"
|
|
@@ -2132,30 +2169,30 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
2132
2169
|
R,
|
|
2133
2170
|
{ children: [
|
|
2134
2171
|
/* @__PURE__ */ t.jsx(
|
|
2135
|
-
|
|
2172
|
+
z,
|
|
2136
2173
|
{
|
|
2137
|
-
color:
|
|
2174
|
+
color: d ? "viridian.lighter" : "tints.darkGrey",
|
|
2138
2175
|
marginBottom: 4,
|
|
2139
2176
|
size: "lg",
|
|
2140
2177
|
children: s
|
|
2141
2178
|
}
|
|
2142
2179
|
),
|
|
2143
2180
|
/* @__PURE__ */ t.jsx(
|
|
2144
|
-
|
|
2181
|
+
T,
|
|
2145
2182
|
{ gap: 3, children: n == null ? void 0 : n.map(
|
|
2146
2183
|
(v) => /* @__PURE__ */ t.jsx(
|
|
2147
|
-
|
|
2184
|
+
le,
|
|
2148
2185
|
{
|
|
2149
2186
|
href: v.href,
|
|
2150
2187
|
target: "_blank",
|
|
2151
2188
|
rel: "noopener noreferrer",
|
|
2152
2189
|
"aria-label": v.name,
|
|
2153
2190
|
onClick: () => E(v.name),
|
|
2154
|
-
children:
|
|
2155
|
-
|
|
2191
|
+
children: Et[v.name.toLowerCase()] && /* @__PURE__ */ t.jsx(
|
|
2192
|
+
Ce,
|
|
2156
2193
|
{
|
|
2157
|
-
as:
|
|
2158
|
-
color:
|
|
2194
|
+
as: Et[v.name.toLowerCase()],
|
|
2195
|
+
color: d ? "white" : "viridian.base",
|
|
2159
2196
|
width: ["48px", null, "24px", null],
|
|
2160
2197
|
height: ["48px", null, "24px", null]
|
|
2161
2198
|
}
|
|
@@ -2169,35 +2206,35 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
2169
2206
|
)
|
|
2170
2207
|
] }
|
|
2171
2208
|
);
|
|
2172
|
-
},
|
|
2209
|
+
}, ir = ({
|
|
2173
2210
|
links: n,
|
|
2174
2211
|
linkComponent: o,
|
|
2175
2212
|
onLinkClick: s,
|
|
2176
|
-
footerTheme:
|
|
2213
|
+
footerTheme: i
|
|
2177
2214
|
}) => {
|
|
2178
|
-
const c = o ||
|
|
2215
|
+
const c = o || le, u = i === "dark", [f, d] = se.useState(() => (/* @__PURE__ */ new Date()).getFullYear());
|
|
2179
2216
|
se.useEffect(() => {
|
|
2180
|
-
|
|
2217
|
+
d((/* @__PURE__ */ new Date()).getFullYear());
|
|
2181
2218
|
}, []);
|
|
2182
|
-
const g = (
|
|
2183
|
-
s && s(
|
|
2184
|
-
},
|
|
2185
|
-
(
|
|
2186
|
-
|
|
2219
|
+
const g = (p) => {
|
|
2220
|
+
s && s(p);
|
|
2221
|
+
}, h = n == null ? void 0 : n.map(
|
|
2222
|
+
(p) => /* @__PURE__ */ t.jsx(
|
|
2223
|
+
z,
|
|
2187
2224
|
{
|
|
2188
2225
|
as: c,
|
|
2189
2226
|
color: u ? "viridian.lighter" : "viridian.base",
|
|
2190
2227
|
size: "sm",
|
|
2191
2228
|
_hover: { color: u ? "white" : "viridian.lighter", textDecoration: "none" },
|
|
2192
|
-
onClick: () => g(
|
|
2193
|
-
...
|
|
2194
|
-
children:
|
|
2229
|
+
onClick: () => g(p.label),
|
|
2230
|
+
...Ee(p.href, !!o),
|
|
2231
|
+
children: p.label
|
|
2195
2232
|
},
|
|
2196
|
-
|
|
2233
|
+
p.label
|
|
2197
2234
|
)
|
|
2198
2235
|
);
|
|
2199
2236
|
return /* @__PURE__ */ t.jsxs(
|
|
2200
|
-
|
|
2237
|
+
T,
|
|
2201
2238
|
{
|
|
2202
2239
|
direction: ["column", "column", "row"],
|
|
2203
2240
|
justify: "space-between",
|
|
@@ -2205,41 +2242,41 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
2205
2242
|
gap: [6, 6, 0],
|
|
2206
2243
|
children: [
|
|
2207
2244
|
/* @__PURE__ */ t.jsx(
|
|
2208
|
-
|
|
2245
|
+
T,
|
|
2209
2246
|
{
|
|
2210
2247
|
direction: "row",
|
|
2211
2248
|
flexWrap: "wrap",
|
|
2212
2249
|
gap: [4, 6, 10],
|
|
2213
2250
|
width: ["100%", "auto"],
|
|
2214
|
-
children:
|
|
2251
|
+
children: h
|
|
2215
2252
|
}
|
|
2216
2253
|
),
|
|
2217
2254
|
/* @__PURE__ */ t.jsxs(
|
|
2218
|
-
|
|
2255
|
+
z,
|
|
2219
2256
|
{
|
|
2220
2257
|
color: u ? "viridian.lighter" : "tints.darkGrey",
|
|
2221
2258
|
fontSize: "sm",
|
|
2222
2259
|
children: [
|
|
2223
2260
|
"© Everlywell ",
|
|
2224
|
-
|
|
2261
|
+
f
|
|
2225
2262
|
]
|
|
2226
2263
|
}
|
|
2227
2264
|
)
|
|
2228
2265
|
]
|
|
2229
2266
|
}
|
|
2230
2267
|
);
|
|
2231
|
-
},
|
|
2268
|
+
}, br = se.forwardRef(({
|
|
2232
2269
|
navigationSections: n = [],
|
|
2233
2270
|
disclaimer: o,
|
|
2234
2271
|
newsletterLabel: s,
|
|
2235
|
-
socialMediaLabel:
|
|
2272
|
+
socialMediaLabel: i,
|
|
2236
2273
|
socialLinks: c,
|
|
2237
2274
|
complianceLinks: u,
|
|
2238
|
-
linkComponent:
|
|
2239
|
-
onEmailSubmit:
|
|
2275
|
+
linkComponent: f,
|
|
2276
|
+
onEmailSubmit: d,
|
|
2240
2277
|
additionalContent: g,
|
|
2241
|
-
onLinkClick:
|
|
2242
|
-
onSocialMediaClick:
|
|
2278
|
+
onLinkClick: h,
|
|
2279
|
+
onSocialMediaClick: p,
|
|
2243
2280
|
showNewsletter: C = !0,
|
|
2244
2281
|
footerTheme: E = "dark"
|
|
2245
2282
|
}, v) => {
|
|
@@ -2256,20 +2293,20 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
2256
2293
|
pn,
|
|
2257
2294
|
{ size: "fluid", children: [
|
|
2258
2295
|
/* @__PURE__ */ t.jsxs(
|
|
2259
|
-
|
|
2296
|
+
T,
|
|
2260
2297
|
{ direction: "column", gap: [8, 12], children: [
|
|
2261
2298
|
/* @__PURE__ */ t.jsx(
|
|
2262
2299
|
R,
|
|
2263
2300
|
{ children: /* @__PURE__ */ t.jsx(
|
|
2264
|
-
|
|
2301
|
+
At,
|
|
2265
2302
|
{
|
|
2266
2303
|
width: ["150px", "202px"],
|
|
2267
|
-
color: w ? "white" :
|
|
2304
|
+
color: w ? "white" : G.colors.viridian.base
|
|
2268
2305
|
}
|
|
2269
2306
|
) }
|
|
2270
2307
|
),
|
|
2271
2308
|
/* @__PURE__ */ t.jsxs(
|
|
2272
|
-
|
|
2309
|
+
T,
|
|
2273
2310
|
{
|
|
2274
2311
|
direction: ["column", null, null, "row"],
|
|
2275
2312
|
justify: "space-between",
|
|
@@ -2277,22 +2314,22 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
2277
2314
|
gap: [8, 8, 8, 0],
|
|
2278
2315
|
children: [
|
|
2279
2316
|
/* @__PURE__ */ t.jsx(
|
|
2280
|
-
|
|
2317
|
+
or,
|
|
2281
2318
|
{
|
|
2282
2319
|
sections: n,
|
|
2283
|
-
linkComponent:
|
|
2284
|
-
onLinkClick:
|
|
2320
|
+
linkComponent: f,
|
|
2321
|
+
onLinkClick: h,
|
|
2285
2322
|
footerTheme: E
|
|
2286
2323
|
}
|
|
2287
2324
|
),
|
|
2288
2325
|
/* @__PURE__ */ t.jsx(
|
|
2289
|
-
|
|
2326
|
+
ar,
|
|
2290
2327
|
{
|
|
2291
2328
|
socialLinks: c,
|
|
2292
2329
|
newsletterLabel: s,
|
|
2293
|
-
socialMediaLabel:
|
|
2294
|
-
onEmailSubmit:
|
|
2295
|
-
onLinkClick:
|
|
2330
|
+
socialMediaLabel: i,
|
|
2331
|
+
onEmailSubmit: d,
|
|
2332
|
+
onLinkClick: p,
|
|
2296
2333
|
showNewsletter: C,
|
|
2297
2334
|
footerTheme: E
|
|
2298
2335
|
}
|
|
@@ -2301,7 +2338,7 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
2301
2338
|
}
|
|
2302
2339
|
),
|
|
2303
2340
|
/* @__PURE__ */ t.jsxs(
|
|
2304
|
-
|
|
2341
|
+
T,
|
|
2305
2342
|
{
|
|
2306
2343
|
direction: ["column", "column", "row"],
|
|
2307
2344
|
justify: "space-between",
|
|
@@ -2310,7 +2347,7 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
2310
2347
|
gap: [6, 6, 0],
|
|
2311
2348
|
children: [
|
|
2312
2349
|
typeof o == "string" ? /* @__PURE__ */ t.jsx(
|
|
2313
|
-
|
|
2350
|
+
z,
|
|
2314
2351
|
{
|
|
2315
2352
|
color: w ? "viridian.lighter" : "tints.uiGrey",
|
|
2316
2353
|
fontSize: "sm",
|
|
@@ -2334,17 +2371,17 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
2334
2371
|
R,
|
|
2335
2372
|
{
|
|
2336
2373
|
borderTop: "1px solid",
|
|
2337
|
-
borderColor: w ? `${
|
|
2374
|
+
borderColor: w ? `${G.colors.viridian.lighter}20` : "tints.darkCream",
|
|
2338
2375
|
marginTop: "10",
|
|
2339
2376
|
marginBottom: "8"
|
|
2340
2377
|
}
|
|
2341
2378
|
),
|
|
2342
2379
|
/* @__PURE__ */ t.jsx(
|
|
2343
|
-
|
|
2380
|
+
ir,
|
|
2344
2381
|
{
|
|
2345
2382
|
links: u,
|
|
2346
|
-
linkComponent:
|
|
2347
|
-
onLinkClick:
|
|
2383
|
+
linkComponent: f,
|
|
2384
|
+
onLinkClick: h,
|
|
2348
2385
|
footerTheme: E
|
|
2349
2386
|
}
|
|
2350
2387
|
)
|
|
@@ -2352,12 +2389,12 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
2352
2389
|
)
|
|
2353
2390
|
}
|
|
2354
2391
|
);
|
|
2355
|
-
}),
|
|
2356
|
-
Container:
|
|
2357
|
-
Overlay:
|
|
2358
|
-
Content:
|
|
2359
|
-
Header:
|
|
2360
|
-
Body:
|
|
2392
|
+
}), lr = (n) => n ? {
|
|
2393
|
+
Container: _t,
|
|
2394
|
+
Overlay: Rt,
|
|
2395
|
+
Content: kt,
|
|
2396
|
+
Header: Dt,
|
|
2397
|
+
Body: Tt,
|
|
2361
2398
|
Footer: hn,
|
|
2362
2399
|
CloseButton: gn
|
|
2363
2400
|
} : {
|
|
@@ -2366,52 +2403,52 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
2366
2403
|
Content: bn,
|
|
2367
2404
|
Header: mn,
|
|
2368
2405
|
Body: wn,
|
|
2369
|
-
Footer:
|
|
2370
|
-
CloseButton:
|
|
2371
|
-
},
|
|
2406
|
+
Footer: yn,
|
|
2407
|
+
CloseButton: jn
|
|
2408
|
+
}, mr = ({
|
|
2372
2409
|
isOpen: n,
|
|
2373
2410
|
onClose: o,
|
|
2374
2411
|
children: s,
|
|
2375
|
-
header:
|
|
2412
|
+
header: i,
|
|
2376
2413
|
footer: c,
|
|
2377
2414
|
headerProps: u,
|
|
2378
|
-
bodyProps:
|
|
2379
|
-
footerProps:
|
|
2415
|
+
bodyProps: f,
|
|
2416
|
+
footerProps: d,
|
|
2380
2417
|
contentProps: g,
|
|
2381
|
-
...
|
|
2418
|
+
...h
|
|
2382
2419
|
}) => {
|
|
2383
|
-
var
|
|
2384
|
-
const [
|
|
2420
|
+
var y, A, H, U, te;
|
|
2421
|
+
const [p] = et(`(max-width: ${G.breakpoints.tablet})`), C = (te = (U = (H = (A = (y = G) == null ? void 0 : y.components) == null ? void 0 : A.Modal) == null ? void 0 : H.baseStyle) == null ? void 0 : U.overlay) == null ? void 0 : te.background, {
|
|
2385
2422
|
Container: E,
|
|
2386
2423
|
Overlay: v,
|
|
2387
2424
|
Content: w,
|
|
2388
|
-
Header:
|
|
2425
|
+
Header: O,
|
|
2389
2426
|
Body: b,
|
|
2390
|
-
Footer:
|
|
2427
|
+
Footer: $,
|
|
2391
2428
|
CloseButton: S
|
|
2392
|
-
} =
|
|
2429
|
+
} = lr(p);
|
|
2393
2430
|
return /* @__PURE__ */ t.jsxs(
|
|
2394
2431
|
E,
|
|
2395
2432
|
{
|
|
2396
|
-
...
|
|
2433
|
+
...h,
|
|
2397
2434
|
isOpen: n,
|
|
2398
2435
|
onClose: o,
|
|
2399
2436
|
size: "xl",
|
|
2400
|
-
...
|
|
2437
|
+
...p ? { placement: "bottom" } : {},
|
|
2401
2438
|
children: [
|
|
2402
2439
|
/* @__PURE__ */ t.jsx(v, { backdropFilter: "auto", backgroundColor: C }),
|
|
2403
2440
|
/* @__PURE__ */ t.jsxs(
|
|
2404
2441
|
w,
|
|
2405
2442
|
{
|
|
2406
2443
|
backgroundColor: "tints.white",
|
|
2407
|
-
borderRadius:
|
|
2444
|
+
borderRadius: p ? "20px 20px 0 0" : "20px",
|
|
2408
2445
|
overflowY: "auto",
|
|
2409
2446
|
gap: 0,
|
|
2410
|
-
...
|
|
2447
|
+
...i && p && { paddingTop: 0 },
|
|
2411
2448
|
...g,
|
|
2412
2449
|
children: [
|
|
2413
2450
|
/* @__PURE__ */ t.jsxs(
|
|
2414
|
-
|
|
2451
|
+
O,
|
|
2415
2452
|
{
|
|
2416
2453
|
display: "flex",
|
|
2417
2454
|
width: "100%",
|
|
@@ -2425,10 +2462,10 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
2425
2462
|
zIndex: "modal",
|
|
2426
2463
|
backgroundColor: "tints.white",
|
|
2427
2464
|
paddingInline: 4,
|
|
2428
|
-
...
|
|
2465
|
+
...p ? { paddingBlock: 4 } : { paddingTop: 6, paddingBlockEnd: 2 },
|
|
2429
2466
|
...u,
|
|
2430
2467
|
children: [
|
|
2431
|
-
|
|
2468
|
+
i,
|
|
2432
2469
|
/* @__PURE__ */ t.jsx(
|
|
2433
2470
|
S,
|
|
2434
2471
|
{
|
|
@@ -2441,7 +2478,7 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
2441
2478
|
fontSize: "1rem"
|
|
2442
2479
|
}
|
|
2443
2480
|
},
|
|
2444
|
-
children: /* @__PURE__ */ t.jsx(
|
|
2481
|
+
children: /* @__PURE__ */ t.jsx(Ce, { as: Ot, weight: "light" })
|
|
2445
2482
|
}
|
|
2446
2483
|
)
|
|
2447
2484
|
]
|
|
@@ -2452,11 +2489,11 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
2452
2489
|
{
|
|
2453
2490
|
color: "tints.darkGrey",
|
|
2454
2491
|
paddingInline: 4,
|
|
2455
|
-
...
|
|
2492
|
+
...f,
|
|
2456
2493
|
children: s
|
|
2457
2494
|
}
|
|
2458
2495
|
),
|
|
2459
|
-
/* @__PURE__ */ t.jsx(
|
|
2496
|
+
/* @__PURE__ */ t.jsx($, { paddingInline: 4, ...d, children: c })
|
|
2460
2497
|
]
|
|
2461
2498
|
}
|
|
2462
2499
|
)
|
|
@@ -2465,18 +2502,18 @@ const Ke = 60, bt = 6, Nn = (n) => {
|
|
|
2465
2502
|
);
|
|
2466
2503
|
};
|
|
2467
2504
|
export {
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2505
|
+
gr as BasketButton,
|
|
2506
|
+
hr as CategoryLabel,
|
|
2507
|
+
mr as DrawerModal,
|
|
2508
|
+
br as Footer,
|
|
2472
2509
|
Vn as NavButton,
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2510
|
+
xr as NavSkeleton,
|
|
2511
|
+
qe as NavbarDrawer,
|
|
2512
|
+
Be as NavbarDrawerLink,
|
|
2513
|
+
vr as NavigationBar,
|
|
2477
2514
|
Yn as SpotlightCard,
|
|
2478
|
-
|
|
2479
|
-
|
|
2515
|
+
pr as Stepper,
|
|
2516
|
+
nt as TopNavIconButton,
|
|
2480
2517
|
Gn as TopNavigation,
|
|
2481
2518
|
er as useNavigationBar
|
|
2482
2519
|
};
|