@everlywell/consumer-ui 1.47.6 → 1.47.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +9 -9
- package/index.mjs +557 -533
- package/lib/components/Footer/Footer/Footer.d.ts.map +1 -1
- package/lib/components/Navbar/NavbarDrawerLink/NavbarDrawerLink.d.ts.map +1 -1
- package/lib/components/Navbar/SpotlightCard/SpotlightCard.d.ts.map +1 -1
- package/lib/components/Navbar/types.d.ts.map +1 -1
- package/lib/utils/sanitize.d.ts +20 -0
- package/lib/utils/sanitize.d.ts.map +1 -0
- package/lib/utils/testHelpers/setupTests.d.ts +0 -5
- package/lib/utils/testHelpers/setupTests.d.ts.map +1 -1
- package/package.json +4 -2
package/index.mjs
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { useSteps as
|
|
2
|
-
import se, { useEffect as ee, forwardRef as
|
|
3
|
-
import { Text as
|
|
4
|
-
import { CaretRight as
|
|
5
|
-
import
|
|
6
|
-
|
|
1
|
+
import { useSteps as en, Box as R, Stepper as tn, Icon as Ee, Flex as T, Text as z, Link as le, Button as Rt, Image as nn, IconButton as rn, theme as Y, useMediaQuery as tt, VStack as on, Skeleton as Je, HStack as xt, SkeletonCircle as Be, DrawerContent as _t, DrawerOverlay as Dt, Drawer as Tt, DrawerHeader as It, DrawerBody as Lt, Grid as an, GridItem as ln, Accordion as sn, AccordionItem as cn, AccordionButton as un, AccordionPanel as dn, InputGroup as fn, Input as pn, InputRightElement as hn, Container as gn, DrawerFooter as xn, DrawerCloseButton as vn, Modal as bn, ModalOverlay as mn, ModalContent as wn, ModalHeader as yn, ModalBody as jn, ModalFooter as Cn, ModalCloseButton as En } from "@everlywell/ui-kit";
|
|
2
|
+
import se, { useEffect as ee, forwardRef as Ot, useRef as Sn, useCallback as At, useState as X } from "react";
|
|
3
|
+
import { Text as kn, useBreakpointValue as Ce, Box as Rn, InputGroup as _n, Input as Dn, InputRightElement as Tn, Icon as In } from "@chakra-ui/react";
|
|
4
|
+
import { CaretRight as vt, Basket as Ln, CaretLeft as On, X as Pt, MagnifyingGlass as An, CaretDown as Pn, ArrowRight as Mn, InstagramLogo as $n, LinkedinLogo as Fn, FacebookLogo as Hn, TiktokLogo as Bn, XLogo as zn } from "@phosphor-icons/react";
|
|
5
|
+
import bt from "dompurify";
|
|
6
|
+
import { motion as lt, AnimatePresence as Wn } from "framer-motion";
|
|
7
|
+
var nt = { exports: {} }, Ie = {};
|
|
7
8
|
/**
|
|
8
9
|
* @license React
|
|
9
10
|
* react-jsx-runtime.production.min.js
|
|
@@ -13,21 +14,21 @@ var tt = { exports: {} }, Te = {};
|
|
|
13
14
|
* This source code is licensed under the MIT license found in the
|
|
14
15
|
* LICENSE file in the root directory of this source tree.
|
|
15
16
|
*/
|
|
16
|
-
var
|
|
17
|
-
function
|
|
18
|
-
if (
|
|
19
|
-
|
|
20
|
-
var n = se,
|
|
21
|
-
function f(d, g,
|
|
22
|
-
var
|
|
23
|
-
|
|
24
|
-
for (
|
|
25
|
-
if (d && d.defaultProps) for (
|
|
26
|
-
return { $$typeof:
|
|
17
|
+
var mt;
|
|
18
|
+
function Nn() {
|
|
19
|
+
if (mt) return Ie;
|
|
20
|
+
mt = 1;
|
|
21
|
+
var n = se, r = 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 };
|
|
22
|
+
function f(d, g, p) {
|
|
23
|
+
var h, C = {}, E = null, v = null;
|
|
24
|
+
p !== void 0 && (E = "" + p), g.key !== void 0 && (E = "" + g.key), g.ref !== void 0 && (v = g.ref);
|
|
25
|
+
for (h in g) i.call(g, h) && !u.hasOwnProperty(h) && (C[h] = g[h]);
|
|
26
|
+
if (d && d.defaultProps) for (h in g = d.defaultProps, g) C[h] === void 0 && (C[h] = g[h]);
|
|
27
|
+
return { $$typeof: r, type: d, key: E, ref: v, props: C, _owner: c.current };
|
|
27
28
|
}
|
|
28
|
-
return
|
|
29
|
+
return Ie.Fragment = s, Ie.jsx = f, Ie.jsxs = f, Ie;
|
|
29
30
|
}
|
|
30
|
-
var
|
|
31
|
+
var Le = {};
|
|
31
32
|
/**
|
|
32
33
|
* @license React
|
|
33
34
|
* react-jsx-runtime.development.js
|
|
@@ -37,48 +38,48 @@ var Ie = {};
|
|
|
37
38
|
* This source code is licensed under the MIT license found in the
|
|
38
39
|
* LICENSE file in the root directory of this source tree.
|
|
39
40
|
*/
|
|
40
|
-
var
|
|
41
|
-
function
|
|
42
|
-
return
|
|
43
|
-
var n = se,
|
|
41
|
+
var wt;
|
|
42
|
+
function Vn() {
|
|
43
|
+
return wt || (wt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
44
|
+
var n = se, r = 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"), p = Symbol.for("react.suspense"), h = 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
45
|
function b(e) {
|
|
45
46
|
if (e === null || typeof e != "object")
|
|
46
47
|
return null;
|
|
47
|
-
var
|
|
48
|
-
return typeof
|
|
48
|
+
var o = w && e[w] || e[O];
|
|
49
|
+
return typeof o == "function" ? o : null;
|
|
49
50
|
}
|
|
50
51
|
var $ = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
51
52
|
function S(e) {
|
|
52
53
|
{
|
|
53
|
-
for (var
|
|
54
|
+
for (var o = arguments.length, l = new Array(o > 1 ? o - 1 : 0), x = 1; x < o; x++)
|
|
54
55
|
l[x - 1] = arguments[x];
|
|
55
56
|
y("error", e, l);
|
|
56
57
|
}
|
|
57
58
|
}
|
|
58
|
-
function y(e,
|
|
59
|
+
function y(e, o, l) {
|
|
59
60
|
{
|
|
60
61
|
var x = $.ReactDebugCurrentFrame, k = x.getStackAddendum();
|
|
61
|
-
k !== "" && (
|
|
62
|
+
k !== "" && (o += "%s", l = l.concat([k]));
|
|
62
63
|
var D = l.map(function(j) {
|
|
63
64
|
return String(j);
|
|
64
65
|
});
|
|
65
|
-
D.unshift("Warning: " +
|
|
66
|
+
D.unshift("Warning: " + o), Function.prototype.apply.call(console[e], console, D);
|
|
66
67
|
}
|
|
67
68
|
}
|
|
68
69
|
var A = !1, H = !1, U = !1, te = !1, he = !1, ne;
|
|
69
70
|
ne = Symbol.for("react.module.reference");
|
|
70
71
|
function ge(e) {
|
|
71
|
-
return !!(typeof e == "string" || typeof e == "function" || e === i || e === u || he || e === c || e ===
|
|
72
|
+
return !!(typeof e == "string" || typeof e == "function" || e === i || e === u || he || e === c || e === p || e === h || 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
73
|
// types supported by any Flight configuration anywhere since
|
|
73
74
|
// we don't know which Flight build this will end up being used
|
|
74
75
|
// with.
|
|
75
76
|
e.$$typeof === ne || e.getModuleId !== void 0));
|
|
76
77
|
}
|
|
77
|
-
function xe(e,
|
|
78
|
+
function xe(e, o, l) {
|
|
78
79
|
var x = e.displayName;
|
|
79
80
|
if (x)
|
|
80
81
|
return x;
|
|
81
|
-
var k =
|
|
82
|
+
var k = o.displayName || o.name || "";
|
|
82
83
|
return k !== "" ? l + "(" + k + ")" : l;
|
|
83
84
|
}
|
|
84
85
|
function oe(e) {
|
|
@@ -100,16 +101,16 @@ function Wn() {
|
|
|
100
101
|
return "Profiler";
|
|
101
102
|
case c:
|
|
102
103
|
return "StrictMode";
|
|
103
|
-
case h:
|
|
104
|
-
return "Suspense";
|
|
105
104
|
case p:
|
|
105
|
+
return "Suspense";
|
|
106
|
+
case h:
|
|
106
107
|
return "SuspenseList";
|
|
107
108
|
}
|
|
108
109
|
if (typeof e == "object")
|
|
109
110
|
switch (e.$$typeof) {
|
|
110
111
|
case d:
|
|
111
|
-
var
|
|
112
|
-
return oe(
|
|
112
|
+
var o = e;
|
|
113
|
+
return oe(o) + ".Consumer";
|
|
113
114
|
case f:
|
|
114
115
|
var l = e;
|
|
115
116
|
return oe(l._context) + ".Provider";
|
|
@@ -129,18 +130,18 @@ function Wn() {
|
|
|
129
130
|
}
|
|
130
131
|
return null;
|
|
131
132
|
}
|
|
132
|
-
var I = Object.assign, J = 0, ae, ie,
|
|
133
|
-
function Se() {
|
|
134
|
-
}
|
|
135
|
-
Se.__reactDisabledLog = !0;
|
|
133
|
+
var I = Object.assign, J = 0, ae, ie, Oe, Ae, Pe, ve, Me;
|
|
136
134
|
function ke() {
|
|
135
|
+
}
|
|
136
|
+
ke.__reactDisabledLog = !0;
|
|
137
|
+
function Re() {
|
|
137
138
|
{
|
|
138
139
|
if (J === 0) {
|
|
139
|
-
ae = console.log, ie = console.info,
|
|
140
|
+
ae = console.log, ie = console.info, Oe = console.warn, Ae = console.error, Pe = console.group, ve = console.groupCollapsed, Me = console.groupEnd;
|
|
140
141
|
var e = {
|
|
141
142
|
configurable: !0,
|
|
142
143
|
enumerable: !0,
|
|
143
|
-
value:
|
|
144
|
+
value: ke,
|
|
144
145
|
writable: !0
|
|
145
146
|
};
|
|
146
147
|
Object.defineProperties(console, {
|
|
@@ -156,7 +157,7 @@ function Wn() {
|
|
|
156
157
|
J++;
|
|
157
158
|
}
|
|
158
159
|
}
|
|
159
|
-
function
|
|
160
|
+
function Ne() {
|
|
160
161
|
{
|
|
161
162
|
if (J--, J === 0) {
|
|
162
163
|
var e = {
|
|
@@ -172,27 +173,27 @@ function Wn() {
|
|
|
172
173
|
value: ie
|
|
173
174
|
}),
|
|
174
175
|
warn: I({}, e, {
|
|
175
|
-
value:
|
|
176
|
+
value: Oe
|
|
176
177
|
}),
|
|
177
178
|
error: I({}, e, {
|
|
178
|
-
value:
|
|
179
|
+
value: Ae
|
|
179
180
|
}),
|
|
180
181
|
group: I({}, e, {
|
|
181
|
-
value:
|
|
182
|
+
value: Pe
|
|
182
183
|
}),
|
|
183
184
|
groupCollapsed: I({}, e, {
|
|
184
185
|
value: ve
|
|
185
186
|
}),
|
|
186
187
|
groupEnd: I({}, e, {
|
|
187
|
-
value:
|
|
188
|
+
value: Me
|
|
188
189
|
})
|
|
189
190
|
});
|
|
190
191
|
}
|
|
191
192
|
J < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
192
193
|
}
|
|
193
194
|
}
|
|
194
|
-
var
|
|
195
|
-
function be(e,
|
|
195
|
+
var _e = $.ReactCurrentDispatcher, K;
|
|
196
|
+
function be(e, o, l) {
|
|
196
197
|
{
|
|
197
198
|
if (K === void 0)
|
|
198
199
|
try {
|
|
@@ -207,10 +208,10 @@ function Wn() {
|
|
|
207
208
|
}
|
|
208
209
|
var ce = !1, me;
|
|
209
210
|
{
|
|
210
|
-
var
|
|
211
|
-
me = new
|
|
211
|
+
var De = typeof WeakMap == "function" ? WeakMap : Map;
|
|
212
|
+
me = new De();
|
|
212
213
|
}
|
|
213
|
-
function
|
|
214
|
+
function $e(e, o) {
|
|
214
215
|
if (!e || ce)
|
|
215
216
|
return "";
|
|
216
217
|
{
|
|
@@ -223,9 +224,9 @@ function Wn() {
|
|
|
223
224
|
var k = Error.prepareStackTrace;
|
|
224
225
|
Error.prepareStackTrace = void 0;
|
|
225
226
|
var D;
|
|
226
|
-
D =
|
|
227
|
+
D = _e.current, _e.current = null, Re();
|
|
227
228
|
try {
|
|
228
|
-
if (
|
|
229
|
+
if (o) {
|
|
229
230
|
var j = function() {
|
|
230
231
|
throw Error();
|
|
231
232
|
};
|
|
@@ -276,56 +277,56 @@ function Wn() {
|
|
|
276
277
|
}
|
|
277
278
|
}
|
|
278
279
|
} finally {
|
|
279
|
-
ce = !1,
|
|
280
|
+
ce = !1, _e.current = D, Ne(), Error.prepareStackTrace = k;
|
|
280
281
|
}
|
|
281
282
|
var ye = e ? e.displayName || e.name : "", pe = ye ? be(ye) : "";
|
|
282
283
|
return typeof e == "function" && me.set(e, pe), pe;
|
|
283
284
|
}
|
|
284
|
-
function
|
|
285
|
-
return
|
|
285
|
+
function Ve(e, o, l) {
|
|
286
|
+
return $e(e, !1);
|
|
286
287
|
}
|
|
287
|
-
function
|
|
288
|
-
var
|
|
289
|
-
return !!(
|
|
288
|
+
function Ge(e) {
|
|
289
|
+
var o = e.prototype;
|
|
290
|
+
return !!(o && o.isReactComponent);
|
|
290
291
|
}
|
|
291
|
-
function
|
|
292
|
+
function G(e, o, l) {
|
|
292
293
|
if (e == null)
|
|
293
294
|
return "";
|
|
294
295
|
if (typeof e == "function")
|
|
295
|
-
return
|
|
296
|
+
return $e(e, Ge(e));
|
|
296
297
|
if (typeof e == "string")
|
|
297
298
|
return be(e);
|
|
298
299
|
switch (e) {
|
|
299
|
-
case h:
|
|
300
|
-
return be("Suspense");
|
|
301
300
|
case p:
|
|
301
|
+
return be("Suspense");
|
|
302
|
+
case h:
|
|
302
303
|
return be("SuspenseList");
|
|
303
304
|
}
|
|
304
305
|
if (typeof e == "object")
|
|
305
306
|
switch (e.$$typeof) {
|
|
306
307
|
case g:
|
|
307
|
-
return
|
|
308
|
+
return Ve(e.render);
|
|
308
309
|
case C:
|
|
309
|
-
return
|
|
310
|
+
return G(e.type, o, l);
|
|
310
311
|
case E: {
|
|
311
312
|
var x = e, k = x._payload, D = x._init;
|
|
312
313
|
try {
|
|
313
|
-
return
|
|
314
|
+
return G(D(k), o, l);
|
|
314
315
|
} catch {
|
|
315
316
|
}
|
|
316
317
|
}
|
|
317
318
|
}
|
|
318
319
|
return "";
|
|
319
320
|
}
|
|
320
|
-
var ue = Object.prototype.hasOwnProperty,
|
|
321
|
+
var ue = Object.prototype.hasOwnProperty, Fe = {}, Te = $.ReactDebugCurrentFrame;
|
|
321
322
|
function de(e) {
|
|
322
323
|
if (e) {
|
|
323
|
-
var
|
|
324
|
-
|
|
324
|
+
var o = e._owner, l = G(e.type, e._source, o ? o.type : null);
|
|
325
|
+
Te.setExtraStackFrame(l);
|
|
325
326
|
} else
|
|
326
|
-
|
|
327
|
+
Te.setExtraStackFrame(null);
|
|
327
328
|
}
|
|
328
|
-
function
|
|
329
|
+
function He(e, o, l, x, k) {
|
|
329
330
|
{
|
|
330
331
|
var D = Function.call.bind(ue);
|
|
331
332
|
for (var j in e)
|
|
@@ -336,11 +337,11 @@ function Wn() {
|
|
|
336
337
|
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
338
|
throw W.name = "Invariant Violation", W;
|
|
338
339
|
}
|
|
339
|
-
m = e[j](
|
|
340
|
+
m = e[j](o, j, x, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
340
341
|
} catch (P) {
|
|
341
342
|
m = P;
|
|
342
343
|
}
|
|
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
|
|
344
|
+
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 Fe) && (Fe[m.message] = !0, de(k), S("Failed %s type: %s", l, m.message), de(null));
|
|
344
345
|
}
|
|
345
346
|
}
|
|
346
347
|
}
|
|
@@ -350,7 +351,7 @@ function Wn() {
|
|
|
350
351
|
}
|
|
351
352
|
function L(e) {
|
|
352
353
|
{
|
|
353
|
-
var
|
|
354
|
+
var o = typeof Symbol == "function" && Symbol.toStringTag, l = o && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
354
355
|
return l;
|
|
355
356
|
}
|
|
356
357
|
}
|
|
@@ -373,34 +374,34 @@ function Wn() {
|
|
|
373
374
|
ref: !0,
|
|
374
375
|
__self: !0,
|
|
375
376
|
__source: !0
|
|
376
|
-
}, N,
|
|
377
|
+
}, N, st, Ye;
|
|
377
378
|
Ye = {};
|
|
378
|
-
function
|
|
379
|
+
function $t(e) {
|
|
379
380
|
if (ue.call(e, "ref")) {
|
|
380
|
-
var
|
|
381
|
-
if (
|
|
381
|
+
var o = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
382
|
+
if (o && o.isReactWarning)
|
|
382
383
|
return !1;
|
|
383
384
|
}
|
|
384
385
|
return e.ref !== void 0;
|
|
385
386
|
}
|
|
386
|
-
function
|
|
387
|
+
function Ft(e) {
|
|
387
388
|
if (ue.call(e, "key")) {
|
|
388
|
-
var
|
|
389
|
-
if (
|
|
389
|
+
var o = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
390
|
+
if (o && o.isReactWarning)
|
|
390
391
|
return !1;
|
|
391
392
|
}
|
|
392
393
|
return e.key !== void 0;
|
|
393
394
|
}
|
|
394
|
-
function
|
|
395
|
-
if (typeof e.ref == "string" && q.current &&
|
|
395
|
+
function Ht(e, o) {
|
|
396
|
+
if (typeof e.ref == "string" && q.current && o && q.current.stateNode !== o) {
|
|
396
397
|
var l = B(q.current.type);
|
|
397
398
|
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
399
|
}
|
|
399
400
|
}
|
|
400
|
-
function
|
|
401
|
+
function Bt(e, o) {
|
|
401
402
|
{
|
|
402
403
|
var l = function() {
|
|
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)",
|
|
404
|
+
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)", o));
|
|
404
405
|
};
|
|
405
406
|
l.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
406
407
|
get: l,
|
|
@@ -408,10 +409,10 @@ function Wn() {
|
|
|
408
409
|
});
|
|
409
410
|
}
|
|
410
411
|
}
|
|
411
|
-
function
|
|
412
|
+
function zt(e, o) {
|
|
412
413
|
{
|
|
413
414
|
var l = function() {
|
|
414
|
-
|
|
415
|
+
st || (st = !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)", o));
|
|
415
416
|
};
|
|
416
417
|
l.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
417
418
|
get: l,
|
|
@@ -419,13 +420,13 @@ function Wn() {
|
|
|
419
420
|
});
|
|
420
421
|
}
|
|
421
422
|
}
|
|
422
|
-
var
|
|
423
|
+
var Wt = function(e, o, l, x, k, D, j) {
|
|
423
424
|
var m = {
|
|
424
425
|
// This tag allows us to uniquely identify this as a React Element
|
|
425
|
-
$$typeof:
|
|
426
|
+
$$typeof: r,
|
|
426
427
|
// Built-in properties that belong on the element
|
|
427
428
|
type: e,
|
|
428
|
-
key:
|
|
429
|
+
key: o,
|
|
429
430
|
ref: l,
|
|
430
431
|
props: j,
|
|
431
432
|
// Record the component responsible for creating this element.
|
|
@@ -448,12 +449,12 @@ function Wn() {
|
|
|
448
449
|
value: k
|
|
449
450
|
}), Object.freeze && (Object.freeze(m.props), Object.freeze(m)), m;
|
|
450
451
|
};
|
|
451
|
-
function
|
|
452
|
+
function Nt(e, o, l, x, k) {
|
|
452
453
|
{
|
|
453
454
|
var D, j = {}, m = null, W = null;
|
|
454
|
-
l !== void 0 && (Q(l), m = "" + l),
|
|
455
|
-
for (D in
|
|
456
|
-
ue.call(
|
|
455
|
+
l !== void 0 && (Q(l), m = "" + l), Ft(o) && (Q(o.key), m = "" + o.key), $t(o) && (W = o.ref, Ht(o, k));
|
|
456
|
+
for (D in o)
|
|
457
|
+
ue.call(o, D) && !re.hasOwnProperty(D) && (j[D] = o[D]);
|
|
457
458
|
if (e && e.defaultProps) {
|
|
458
459
|
var P = e.defaultProps;
|
|
459
460
|
for (D in P)
|
|
@@ -461,28 +462,28 @@ function Wn() {
|
|
|
461
462
|
}
|
|
462
463
|
if (m || W) {
|
|
463
464
|
var M = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
464
|
-
m &&
|
|
465
|
+
m && Bt(j, M), W && zt(j, M);
|
|
465
466
|
}
|
|
466
|
-
return
|
|
467
|
+
return Wt(e, m, W, k, x, q.current, j);
|
|
467
468
|
}
|
|
468
469
|
}
|
|
469
|
-
var
|
|
470
|
+
var Ue = $.ReactCurrentOwner, ct = $.ReactDebugCurrentFrame;
|
|
470
471
|
function we(e) {
|
|
471
472
|
if (e) {
|
|
472
|
-
var
|
|
473
|
-
|
|
473
|
+
var o = e._owner, l = G(e.type, e._source, o ? o.type : null);
|
|
474
|
+
ct.setExtraStackFrame(l);
|
|
474
475
|
} else
|
|
475
|
-
|
|
476
|
+
ct.setExtraStackFrame(null);
|
|
476
477
|
}
|
|
477
|
-
var
|
|
478
|
-
|
|
479
|
-
function
|
|
480
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
478
|
+
var Ke;
|
|
479
|
+
Ke = !1;
|
|
480
|
+
function Ze(e) {
|
|
481
|
+
return typeof e == "object" && e !== null && e.$$typeof === r;
|
|
481
482
|
}
|
|
482
|
-
function
|
|
483
|
+
function ut() {
|
|
483
484
|
{
|
|
484
|
-
if (
|
|
485
|
-
var e = B(
|
|
485
|
+
if (Ue.current) {
|
|
486
|
+
var e = B(Ue.current.type);
|
|
486
487
|
if (e)
|
|
487
488
|
return `
|
|
488
489
|
|
|
@@ -491,83 +492,83 @@ Check the render method of \`` + e + "`.";
|
|
|
491
492
|
return "";
|
|
492
493
|
}
|
|
493
494
|
}
|
|
494
|
-
function
|
|
495
|
+
function Vt(e) {
|
|
495
496
|
return "";
|
|
496
497
|
}
|
|
497
|
-
var
|
|
498
|
-
function
|
|
498
|
+
var dt = {};
|
|
499
|
+
function Gt(e) {
|
|
499
500
|
{
|
|
500
|
-
var
|
|
501
|
-
if (!
|
|
501
|
+
var o = ut();
|
|
502
|
+
if (!o) {
|
|
502
503
|
var l = typeof e == "string" ? e : e.displayName || e.name;
|
|
503
|
-
l && (
|
|
504
|
+
l && (o = `
|
|
504
505
|
|
|
505
506
|
Check the top-level render call using <` + l + ">.");
|
|
506
507
|
}
|
|
507
|
-
return
|
|
508
|
+
return o;
|
|
508
509
|
}
|
|
509
510
|
}
|
|
510
|
-
function
|
|
511
|
+
function ft(e, o) {
|
|
511
512
|
{
|
|
512
513
|
if (!e._store || e._store.validated || e.key != null)
|
|
513
514
|
return;
|
|
514
515
|
e._store.validated = !0;
|
|
515
|
-
var l =
|
|
516
|
-
if (
|
|
516
|
+
var l = Gt(o);
|
|
517
|
+
if (dt[l])
|
|
517
518
|
return;
|
|
518
|
-
|
|
519
|
+
dt[l] = !0;
|
|
519
520
|
var x = "";
|
|
520
|
-
e && e._owner && e._owner !==
|
|
521
|
+
e && e._owner && e._owner !== Ue.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
522
|
}
|
|
522
523
|
}
|
|
523
|
-
function
|
|
524
|
+
function pt(e, o) {
|
|
524
525
|
{
|
|
525
526
|
if (typeof e != "object")
|
|
526
527
|
return;
|
|
527
528
|
if (_(e))
|
|
528
529
|
for (var l = 0; l < e.length; l++) {
|
|
529
530
|
var x = e[l];
|
|
530
|
-
|
|
531
|
+
Ze(x) && ft(x, o);
|
|
531
532
|
}
|
|
532
|
-
else if (
|
|
533
|
+
else if (Ze(e))
|
|
533
534
|
e._store && (e._store.validated = !0);
|
|
534
535
|
else if (e) {
|
|
535
536
|
var k = b(e);
|
|
536
537
|
if (typeof k == "function" && k !== e.entries)
|
|
537
538
|
for (var D = k.call(e), j; !(j = D.next()).done; )
|
|
538
|
-
|
|
539
|
+
Ze(j.value) && ft(j.value, o);
|
|
539
540
|
}
|
|
540
541
|
}
|
|
541
542
|
}
|
|
542
|
-
function
|
|
543
|
+
function Yt(e) {
|
|
543
544
|
{
|
|
544
|
-
var
|
|
545
|
-
if (
|
|
545
|
+
var o = e.type;
|
|
546
|
+
if (o == null || typeof o == "string")
|
|
546
547
|
return;
|
|
547
548
|
var l;
|
|
548
|
-
if (typeof
|
|
549
|
-
l =
|
|
550
|
-
else if (typeof
|
|
549
|
+
if (typeof o == "function")
|
|
550
|
+
l = o.propTypes;
|
|
551
|
+
else if (typeof o == "object" && (o.$$typeof === g || // Note: Memo only checks outer props here.
|
|
551
552
|
// Inner props are checked in the reconciler.
|
|
552
|
-
|
|
553
|
-
l =
|
|
553
|
+
o.$$typeof === C))
|
|
554
|
+
l = o.propTypes;
|
|
554
555
|
else
|
|
555
556
|
return;
|
|
556
557
|
if (l) {
|
|
557
|
-
var x = B(
|
|
558
|
-
|
|
559
|
-
} else if (
|
|
560
|
-
|
|
561
|
-
var k = B(
|
|
558
|
+
var x = B(o);
|
|
559
|
+
He(l, e.props, "prop", x, e);
|
|
560
|
+
} else if (o.PropTypes !== void 0 && !Ke) {
|
|
561
|
+
Ke = !0;
|
|
562
|
+
var k = B(o);
|
|
562
563
|
S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", k || "Unknown");
|
|
563
564
|
}
|
|
564
|
-
typeof
|
|
565
|
+
typeof o.getDefaultProps == "function" && !o.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
565
566
|
}
|
|
566
567
|
}
|
|
567
|
-
function
|
|
568
|
+
function Ut(e) {
|
|
568
569
|
{
|
|
569
|
-
for (var
|
|
570
|
-
var x =
|
|
570
|
+
for (var o = Object.keys(e.props), l = 0; l < o.length; l++) {
|
|
571
|
+
var x = o[l];
|
|
571
572
|
if (x !== "children" && x !== "key") {
|
|
572
573
|
we(e), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", x), we(null);
|
|
573
574
|
break;
|
|
@@ -576,82 +577,82 @@ Check the top-level render call using <` + l + ">.");
|
|
|
576
577
|
e.ref !== null && (we(e), S("Invalid attribute `ref` supplied to `React.Fragment`."), we(null));
|
|
577
578
|
}
|
|
578
579
|
}
|
|
579
|
-
var
|
|
580
|
-
function
|
|
580
|
+
var ht = {};
|
|
581
|
+
function gt(e, o, l, x, k, D) {
|
|
581
582
|
{
|
|
582
583
|
var j = ge(e);
|
|
583
584
|
if (!j) {
|
|
584
585
|
var m = "";
|
|
585
586
|
(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 W =
|
|
587
|
-
W ? m += W : m +=
|
|
587
|
+
var W = Vt();
|
|
588
|
+
W ? m += W : m += ut();
|
|
588
589
|
var P;
|
|
589
|
-
e === null ? P = "null" : _(e) ? P = "array" : e !== void 0 && e.$$typeof ===
|
|
590
|
+
e === null ? P = "null" : _(e) ? P = "array" : e !== void 0 && e.$$typeof === r ? (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
591
|
}
|
|
591
|
-
var M =
|
|
592
|
+
var M = Nt(e, o, l, k, D);
|
|
592
593
|
if (M == null)
|
|
593
594
|
return M;
|
|
594
595
|
if (j) {
|
|
595
|
-
var Z =
|
|
596
|
+
var Z = o.children;
|
|
596
597
|
if (Z !== void 0)
|
|
597
598
|
if (x)
|
|
598
599
|
if (_(Z)) {
|
|
599
600
|
for (var ye = 0; ye < Z.length; ye++)
|
|
600
|
-
|
|
601
|
+
pt(Z[ye], e);
|
|
601
602
|
Object.freeze && Object.freeze(Z);
|
|
602
603
|
} else
|
|
603
604
|
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
605
|
else
|
|
605
|
-
|
|
606
|
+
pt(Z, e);
|
|
606
607
|
}
|
|
607
|
-
if (ue.call(
|
|
608
|
-
var pe = B(e), V = Object.keys(
|
|
609
|
-
return
|
|
610
|
-
}),
|
|
611
|
-
if (!
|
|
612
|
-
var
|
|
608
|
+
if (ue.call(o, "key")) {
|
|
609
|
+
var pe = B(e), V = Object.keys(o).filter(function(qt) {
|
|
610
|
+
return qt !== "key";
|
|
611
|
+
}), Xe = V.length > 0 ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
612
|
+
if (!ht[pe + Xe]) {
|
|
613
|
+
var Qt = V.length > 0 ? "{" + V.join(": ..., ") + ": ...}" : "{}";
|
|
613
614
|
S(`A props object containing a "key" prop is being spread into JSX:
|
|
614
615
|
let props = %s;
|
|
615
616
|
<%s {...props} />
|
|
616
617
|
React keys must be passed directly to JSX without using spread:
|
|
617
618
|
let props = %s;
|
|
618
|
-
<%s key={someKey} {...props} />`,
|
|
619
|
+
<%s key={someKey} {...props} />`, Xe, pe, Qt, pe), ht[pe + Xe] = !0;
|
|
619
620
|
}
|
|
620
621
|
}
|
|
621
|
-
return e === i ?
|
|
622
|
+
return e === i ? Ut(M) : Yt(M), M;
|
|
622
623
|
}
|
|
623
624
|
}
|
|
624
|
-
function
|
|
625
|
-
return
|
|
625
|
+
function Kt(e, o, l) {
|
|
626
|
+
return gt(e, o, l, !0);
|
|
626
627
|
}
|
|
627
|
-
function
|
|
628
|
-
return
|
|
628
|
+
function Zt(e, o, l) {
|
|
629
|
+
return gt(e, o, l, !1);
|
|
629
630
|
}
|
|
630
|
-
var
|
|
631
|
-
|
|
632
|
-
}()),
|
|
631
|
+
var Xt = Zt, Jt = Kt;
|
|
632
|
+
Le.Fragment = i, Le.jsx = Xt, Le.jsxs = Jt;
|
|
633
|
+
}()), Le;
|
|
633
634
|
}
|
|
634
|
-
process.env.NODE_ENV === "production" ?
|
|
635
|
-
var t =
|
|
636
|
-
const
|
|
635
|
+
process.env.NODE_ENV === "production" ? nt.exports = Nn() : nt.exports = Vn();
|
|
636
|
+
var t = nt.exports;
|
|
637
|
+
const Qe = 60, yt = 6, Gn = (n) => {
|
|
637
638
|
const {
|
|
638
|
-
activeStepIndex:
|
|
639
|
+
activeStepIndex: r,
|
|
639
640
|
hideIndicators: s = !1,
|
|
640
641
|
steps: i,
|
|
641
642
|
stepperTheme: c = {
|
|
642
643
|
light: "eggplant.light",
|
|
643
644
|
base: "eggplant.base"
|
|
644
645
|
}
|
|
645
|
-
} = n, { activeStep: u, setActiveStep: f } =
|
|
646
|
-
index:
|
|
646
|
+
} = n, { activeStep: u, setActiveStep: f } = en({
|
|
647
|
+
index: r,
|
|
647
648
|
count: i.length
|
|
648
649
|
});
|
|
649
650
|
return ee(() => {
|
|
650
|
-
f(
|
|
651
|
-
}, [
|
|
651
|
+
f(r);
|
|
652
|
+
}, [r, f]), /* @__PURE__ */ t.jsx(
|
|
652
653
|
R,
|
|
653
654
|
{ position: "relative", width: "100%", "data-testid": "stepper", children: /* @__PURE__ */ t.jsx(
|
|
654
|
-
|
|
655
|
+
tn,
|
|
655
656
|
{
|
|
656
657
|
role: "progressbar",
|
|
657
658
|
index: u,
|
|
@@ -659,16 +660,16 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
659
660
|
display: "flex",
|
|
660
661
|
flexWrap: "nowrap",
|
|
661
662
|
children: i.map((d, g) => {
|
|
662
|
-
const
|
|
663
|
-
let v = `${
|
|
664
|
-
const w = `calc(100% - ((${
|
|
665
|
-
return
|
|
663
|
+
const p = u === g, h = g === 0, C = g === i.length - 1, E = u > g;
|
|
664
|
+
let v = `${Qe}px`;
|
|
665
|
+
const w = `calc(100% - ((${Qe * (i.length - 1)}px) - (${i.length - 1} * ${yt * 2}px)))`;
|
|
666
|
+
return p ? v = w : (h || C) && (v = `${Qe - yt}px`), /* @__PURE__ */ t.jsx(
|
|
666
667
|
R,
|
|
667
668
|
{
|
|
668
669
|
width: v,
|
|
669
|
-
opacity: E ||
|
|
670
|
+
opacity: E || p ? 1 : 0.2,
|
|
670
671
|
paddingRight: C ? "0" : "6px",
|
|
671
|
-
paddingLeft:
|
|
672
|
+
paddingLeft: h ? "0" : "6px",
|
|
672
673
|
transition: "width 0.4s ease-in-out, opacity 0.4s ease-in-out",
|
|
673
674
|
children: /* @__PURE__ */ t.jsx(
|
|
674
675
|
R,
|
|
@@ -697,21 +698,45 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
697
698
|
}
|
|
698
699
|
) }
|
|
699
700
|
);
|
|
700
|
-
},
|
|
701
|
+
}, yr = se.memo(Gn), jr = ({
|
|
701
702
|
children: n,
|
|
702
|
-
...
|
|
703
|
+
...r
|
|
703
704
|
}) => /* @__PURE__ */ t.jsx(
|
|
704
|
-
|
|
705
|
-
{ color: "tints.uiGrey", fontSize: ["md", null, null, "lg"], ...
|
|
706
|
-
),
|
|
705
|
+
kn,
|
|
706
|
+
{ color: "tints.uiGrey", fontSize: ["md", null, null, "lg"], ...r, children: n }
|
|
707
|
+
), Yn = {
|
|
708
|
+
ALLOWED_TAGS: ["a", "b", "i", "em", "strong", "u", "br", "p", "span", "ul", "ol", "li", "sub", "sup", "small"],
|
|
709
|
+
ALLOWED_ATTR: ["href", "target", "rel", "class", "style"]
|
|
710
|
+
};
|
|
711
|
+
let je;
|
|
712
|
+
const Un = () => {
|
|
713
|
+
if (je)
|
|
714
|
+
return je;
|
|
715
|
+
if (typeof window < "u")
|
|
716
|
+
return je = bt(window), je;
|
|
717
|
+
const {
|
|
718
|
+
JSDOM: n
|
|
719
|
+
} = require("jsdom");
|
|
720
|
+
return je = bt(new n("").window), je;
|
|
721
|
+
}, Kn = (n) => Un().sanitize(n, Yn), Zn = /* @__PURE__ */ new Set(["http", "https", "mailto", "tel"]), Xn = (n) => {
|
|
722
|
+
if (!n) return !1;
|
|
723
|
+
const r = n.replace(/[\u0000-\u0020\u007f\u0085\u00a0\u1680\u2000-\u200f\u2028\u2029\u202f\u205f\u2060\u3000\ufeff]/g, "");
|
|
724
|
+
if (!r) return !1;
|
|
725
|
+
const s = r.match(/^([a-z][a-z0-9+.-]*):/i);
|
|
726
|
+
return s ? !Zn.has(s[1].toLowerCase()) : !1;
|
|
727
|
+
}, Se = (n, r) => {
|
|
728
|
+
if (Xn(n))
|
|
729
|
+
return {
|
|
730
|
+
href: void 0
|
|
731
|
+
};
|
|
707
732
|
const s = (n == null ? void 0 : n.startsWith("http")) || (n == null ? void 0 : n.startsWith("mailto"));
|
|
708
|
-
return
|
|
733
|
+
return r && !s ? {
|
|
709
734
|
to: n
|
|
710
735
|
} : {
|
|
711
736
|
href: n
|
|
712
737
|
};
|
|
713
|
-
},
|
|
714
|
-
(n,
|
|
738
|
+
}, ze = Ot(
|
|
739
|
+
(n, r) => {
|
|
715
740
|
const {
|
|
716
741
|
label: s,
|
|
717
742
|
additionalContent: i,
|
|
@@ -720,12 +745,12 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
720
745
|
href: f,
|
|
721
746
|
forceMobileStyle: d = !1,
|
|
722
747
|
...g
|
|
723
|
-
} = n,
|
|
748
|
+
} = n, p = u || le, h = Se(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
749
|
return /* @__PURE__ */ t.jsxs(
|
|
725
750
|
R,
|
|
726
751
|
{
|
|
727
|
-
ref:
|
|
728
|
-
as:
|
|
752
|
+
ref: r,
|
|
753
|
+
as: p,
|
|
729
754
|
display: "flex",
|
|
730
755
|
alignItems: "center",
|
|
731
756
|
gap: v,
|
|
@@ -737,18 +762,17 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
737
762
|
borderColor: $,
|
|
738
763
|
width: S,
|
|
739
764
|
cursor: "pointer",
|
|
740
|
-
...
|
|
765
|
+
...h,
|
|
741
766
|
...g,
|
|
742
767
|
children: [
|
|
743
768
|
/* @__PURE__ */ t.jsx(
|
|
744
|
-
|
|
769
|
+
Ee,
|
|
745
770
|
{
|
|
746
771
|
display: y,
|
|
747
|
-
as:
|
|
772
|
+
as: vt,
|
|
748
773
|
fontSize: "lg",
|
|
749
774
|
color: "viridian.light",
|
|
750
|
-
|
|
751
|
-
"aria-label": "Caret right icon",
|
|
775
|
+
"aria-hidden": "true",
|
|
752
776
|
weight: "bold"
|
|
753
777
|
}
|
|
754
778
|
),
|
|
@@ -778,14 +802,13 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
778
802
|
}
|
|
779
803
|
) : i),
|
|
780
804
|
/* @__PURE__ */ t.jsx(
|
|
781
|
-
|
|
805
|
+
Ee,
|
|
782
806
|
{
|
|
783
807
|
display: H,
|
|
784
|
-
as:
|
|
808
|
+
as: vt,
|
|
785
809
|
fontSize: "2xl",
|
|
786
810
|
color: "tints.uiGrey",
|
|
787
|
-
|
|
788
|
-
"aria-label": "Caret right icon",
|
|
811
|
+
"aria-hidden": "true",
|
|
789
812
|
marginLeft: "auto"
|
|
790
813
|
}
|
|
791
814
|
)
|
|
@@ -795,13 +818,13 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
795
818
|
}
|
|
796
819
|
);
|
|
797
820
|
}
|
|
798
|
-
),
|
|
799
|
-
(n,
|
|
821
|
+
), Jn = Ot(
|
|
822
|
+
(n, r) => {
|
|
800
823
|
const { children: s, isSelected: i, ...c } = n, u = n.backgroundColor || (i ? "tints.lightCream" : "transparent");
|
|
801
824
|
return /* @__PURE__ */ t.jsx(
|
|
802
|
-
|
|
825
|
+
Rt,
|
|
803
826
|
{
|
|
804
|
-
ref:
|
|
827
|
+
ref: r,
|
|
805
828
|
borderRadius: "full",
|
|
806
829
|
backgroundColor: u,
|
|
807
830
|
fontSize: "lg !important",
|
|
@@ -837,9 +860,9 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
837
860
|
}
|
|
838
861
|
);
|
|
839
862
|
}
|
|
840
|
-
),
|
|
863
|
+
), Qn = ({
|
|
841
864
|
title: n,
|
|
842
|
-
description:
|
|
865
|
+
description: r,
|
|
843
866
|
imageSrc: s,
|
|
844
867
|
imageElement: i,
|
|
845
868
|
button: c,
|
|
@@ -847,22 +870,22 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
847
870
|
onClick: f,
|
|
848
871
|
href: d,
|
|
849
872
|
linkComponent: g,
|
|
850
|
-
forceMobileStyle:
|
|
873
|
+
forceMobileStyle: p = !1
|
|
851
874
|
}) => {
|
|
852
|
-
const v = g || le, w =
|
|
875
|
+
const v = g || le, w = Se(d, !!g), O = Ce({
|
|
853
876
|
base: !1,
|
|
854
877
|
tablet: !1,
|
|
855
878
|
largeTablet: !1,
|
|
856
879
|
desktop: !0
|
|
857
|
-
});
|
|
880
|
+
}), b = p || !O;
|
|
858
881
|
return /* @__PURE__ */ t.jsxs(
|
|
859
882
|
T,
|
|
860
883
|
{
|
|
861
|
-
direction:
|
|
884
|
+
direction: p ? "row" : ["row", null, null, "column"],
|
|
862
885
|
alignItems: "center",
|
|
863
886
|
borderRadius: "xl",
|
|
864
887
|
overflow: "hidden",
|
|
865
|
-
height:
|
|
888
|
+
height: p ? "80px" : ["80px", null, null, "272px"],
|
|
866
889
|
backgroundColor: u,
|
|
867
890
|
onClick: f,
|
|
868
891
|
"data-testid": "spotlight-card",
|
|
@@ -870,30 +893,31 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
870
893
|
transition: "box-shadow 0.2s ease-in-out",
|
|
871
894
|
border: "1px solid",
|
|
872
895
|
borderColor: "transparent",
|
|
873
|
-
minWidth:
|
|
874
|
-
maxWidth:
|
|
896
|
+
minWidth: p ? "100%" : ["100%", null, null, "320px"],
|
|
897
|
+
maxWidth: p ? "100%" : ["100%", null, null, "380px"],
|
|
875
898
|
_hover: {
|
|
876
899
|
boxShadow: "lg",
|
|
877
900
|
textDecoration: "none",
|
|
878
901
|
border: "1px solid",
|
|
879
902
|
borderColor: "tints.white"
|
|
880
903
|
},
|
|
881
|
-
as:
|
|
882
|
-
...
|
|
904
|
+
as: p ? v : O ? T : v,
|
|
905
|
+
...p ? w : O ? {} : w,
|
|
906
|
+
"aria-label": b ? n : void 0,
|
|
883
907
|
children: [
|
|
884
908
|
/* @__PURE__ */ t.jsx(
|
|
885
909
|
R,
|
|
886
910
|
{
|
|
887
|
-
width:
|
|
888
|
-
height:
|
|
911
|
+
width: p ? "72px" : ["72px", null, null, "100%"],
|
|
912
|
+
height: p ? "100%" : ["100%", null, null, "188px"],
|
|
889
913
|
sx: {
|
|
890
914
|
img: {
|
|
891
|
-
height:
|
|
892
|
-
objectFit:
|
|
915
|
+
height: p ? "100%" : O ? "188px" : "100%",
|
|
916
|
+
objectFit: p ? "cover" : "contain"
|
|
893
917
|
}
|
|
894
918
|
},
|
|
895
919
|
children: s ? /* @__PURE__ */ t.jsx(
|
|
896
|
-
|
|
920
|
+
nn,
|
|
897
921
|
{
|
|
898
922
|
src: s,
|
|
899
923
|
objectFit: "cover",
|
|
@@ -904,9 +928,9 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
904
928
|
) : /* @__PURE__ */ t.jsx(
|
|
905
929
|
R,
|
|
906
930
|
{
|
|
907
|
-
height:
|
|
931
|
+
height: p ? 80 : [80, null, null, 188],
|
|
908
932
|
overflow: "hidden",
|
|
909
|
-
...
|
|
933
|
+
...p ? { sx: { div: { height: "100%" } } } : {},
|
|
910
934
|
children: i
|
|
911
935
|
}
|
|
912
936
|
)
|
|
@@ -915,22 +939,22 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
915
939
|
/* @__PURE__ */ t.jsxs(
|
|
916
940
|
T,
|
|
917
941
|
{
|
|
918
|
-
direction:
|
|
919
|
-
justifyContent:
|
|
920
|
-
alignItems:
|
|
942
|
+
direction: p ? "column" : ["column", null, null, "row"],
|
|
943
|
+
justifyContent: p ? void 0 : [null, null, null, "space-between"],
|
|
944
|
+
alignItems: p ? "left" : ["left", null, null, "center"],
|
|
921
945
|
padding: "4",
|
|
922
|
-
height:
|
|
946
|
+
height: p ? "80px" : [
|
|
923
947
|
"80px",
|
|
924
948
|
null,
|
|
925
949
|
null,
|
|
926
950
|
"84px"
|
|
927
951
|
],
|
|
928
952
|
width: "100%",
|
|
929
|
-
bottom:
|
|
930
|
-
backgroundColor:
|
|
931
|
-
backdropFilter:
|
|
953
|
+
bottom: p ? void 0 : [null, null, null, "0"],
|
|
954
|
+
backgroundColor: p ? void 0 : [null, null, null, `${u}CC`],
|
|
955
|
+
backdropFilter: p ? void 0 : [null, null, null, "blur(8px)"],
|
|
932
956
|
flex: "1",
|
|
933
|
-
gap:
|
|
957
|
+
gap: p ? void 0 : [null, null, null, 3],
|
|
934
958
|
children: [
|
|
935
959
|
/* @__PURE__ */ t.jsxs(
|
|
936
960
|
T,
|
|
@@ -941,19 +965,19 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
941
965
|
),
|
|
942
966
|
/* @__PURE__ */ t.jsx(
|
|
943
967
|
z,
|
|
944
|
-
{ fontSize: "sm", color: "tints.darkGrey", children:
|
|
968
|
+
{ fontSize: "sm", color: "tints.darkGrey", children: r }
|
|
945
969
|
)
|
|
946
970
|
] }
|
|
947
971
|
),
|
|
948
|
-
|
|
972
|
+
p ? null : O ? /* @__PURE__ */ t.jsx(R, { children: c }) : null
|
|
949
973
|
]
|
|
950
974
|
}
|
|
951
975
|
)
|
|
952
976
|
]
|
|
953
977
|
}
|
|
954
978
|
);
|
|
955
|
-
},
|
|
956
|
-
|
|
979
|
+
}, rt = (n) => /* @__PURE__ */ t.jsx(
|
|
980
|
+
rn,
|
|
957
981
|
{
|
|
958
982
|
size: "sm",
|
|
959
983
|
width: ["40px", null, null, "46px"],
|
|
@@ -973,14 +997,14 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
973
997
|
},
|
|
974
998
|
...n
|
|
975
999
|
}
|
|
976
|
-
),
|
|
977
|
-
color: n =
|
|
978
|
-
width:
|
|
1000
|
+
), Mt = ({
|
|
1001
|
+
color: n = Y.colors.viridian.base,
|
|
1002
|
+
width: r
|
|
979
1003
|
}) => /* @__PURE__ */ t.jsx(
|
|
980
|
-
|
|
1004
|
+
Rn,
|
|
981
1005
|
{
|
|
982
1006
|
as: "svg",
|
|
983
|
-
width:
|
|
1007
|
+
width: r,
|
|
984
1008
|
height: "auto",
|
|
985
1009
|
viewBox: "0 0 116 24",
|
|
986
1010
|
fill: "none",
|
|
@@ -1001,23 +1025,23 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1001
1025
|
) }
|
|
1002
1026
|
)
|
|
1003
1027
|
}
|
|
1004
|
-
),
|
|
1028
|
+
), qn = ({
|
|
1005
1029
|
desktopTopButtons: n,
|
|
1006
|
-
logoLink:
|
|
1030
|
+
logoLink: r = "https://www.everlywell.com",
|
|
1007
1031
|
setTopOffset: s,
|
|
1008
1032
|
linkComponent: i,
|
|
1009
1033
|
onLogoClick: c,
|
|
1010
1034
|
rightSideButtons: u
|
|
1011
1035
|
}) => {
|
|
1012
|
-
const f =
|
|
1036
|
+
const f = Sn(null), [d] = tt(`(max-width: ${Y.breakpoints.mediumTablet})`), [g] = tt(`(max-width: ${Y.breakpoints.mediumDesktop})`), p = At(() => {
|
|
1013
1037
|
if (f.current) {
|
|
1014
|
-
const
|
|
1015
|
-
s(
|
|
1038
|
+
const h = f.current.getBoundingClientRect();
|
|
1039
|
+
s(h.bottom);
|
|
1016
1040
|
}
|
|
1017
1041
|
}, []);
|
|
1018
1042
|
return ee(() => {
|
|
1019
|
-
|
|
1020
|
-
}, [
|
|
1043
|
+
p();
|
|
1044
|
+
}, [p]), /* @__PURE__ */ t.jsx(
|
|
1021
1045
|
R,
|
|
1022
1046
|
{
|
|
1023
1047
|
ref: f,
|
|
@@ -1027,7 +1051,7 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1027
1051
|
borderColor: "tints.lightCream",
|
|
1028
1052
|
backgroundColor: "tints.white",
|
|
1029
1053
|
width: "100%",
|
|
1030
|
-
onMouseEnter:
|
|
1054
|
+
onMouseEnter: p,
|
|
1031
1055
|
children: /* @__PURE__ */ t.jsxs(
|
|
1032
1056
|
T,
|
|
1033
1057
|
{ justifyContent: "space-between", alignItems: "center", children: [
|
|
@@ -1040,8 +1064,8 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1040
1064
|
"aria-label": "Go to homepage",
|
|
1041
1065
|
onClick: c,
|
|
1042
1066
|
as: i || le,
|
|
1043
|
-
...
|
|
1044
|
-
children: /* @__PURE__ */ t.jsx(
|
|
1067
|
+
...Se(r, !!i),
|
|
1068
|
+
children: /* @__PURE__ */ t.jsx(Mt, { width: "116px" })
|
|
1045
1069
|
}
|
|
1046
1070
|
),
|
|
1047
1071
|
/* @__PURE__ */ t.jsx(
|
|
@@ -1058,13 +1082,13 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1058
1082
|
)
|
|
1059
1083
|
}
|
|
1060
1084
|
);
|
|
1061
|
-
},
|
|
1085
|
+
}, Cr = ({
|
|
1062
1086
|
count: n = 0,
|
|
1063
|
-
...
|
|
1087
|
+
...r
|
|
1064
1088
|
}) => /* @__PURE__ */ t.jsxs(
|
|
1065
1089
|
R,
|
|
1066
1090
|
{ position: "relative", display: "inline-block", children: [
|
|
1067
|
-
/* @__PURE__ */ t.jsx(
|
|
1091
|
+
/* @__PURE__ */ t.jsx(rt, { icon: /* @__PURE__ */ t.jsx(Ln, {}), ...r }),
|
|
1068
1092
|
n > 0 && /* @__PURE__ */ t.jsx(
|
|
1069
1093
|
R,
|
|
1070
1094
|
{
|
|
@@ -1087,11 +1111,11 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1087
1111
|
}
|
|
1088
1112
|
)
|
|
1089
1113
|
] }
|
|
1090
|
-
),
|
|
1114
|
+
), Er = ({
|
|
1091
1115
|
numDesktopLinks: n = 5,
|
|
1092
|
-
showPromoButton:
|
|
1116
|
+
showPromoButton: r = !1
|
|
1093
1117
|
}) => /* @__PURE__ */ t.jsx(
|
|
1094
|
-
|
|
1118
|
+
on,
|
|
1095
1119
|
{ spacing: 0, align: "stretch", children: /* @__PURE__ */ t.jsx(
|
|
1096
1120
|
R,
|
|
1097
1121
|
{
|
|
@@ -1102,9 +1126,9 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1102
1126
|
children: /* @__PURE__ */ t.jsxs(
|
|
1103
1127
|
T,
|
|
1104
1128
|
{ justify: "space-between", align: "center", children: [
|
|
1105
|
-
/* @__PURE__ */ t.jsx(
|
|
1129
|
+
/* @__PURE__ */ t.jsx(Je, { w: "120px", h: "48px" }),
|
|
1106
1130
|
/* @__PURE__ */ t.jsxs(
|
|
1107
|
-
|
|
1131
|
+
xt,
|
|
1108
1132
|
{
|
|
1109
1133
|
spacing: 8,
|
|
1110
1134
|
marginLeft: 12,
|
|
@@ -1112,17 +1136,17 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1112
1136
|
"data-testid": "desktop-nav",
|
|
1113
1137
|
children: [
|
|
1114
1138
|
Array.from({ length: n }).map(
|
|
1115
|
-
(s, i) => /* @__PURE__ */ t.jsx(
|
|
1139
|
+
(s, i) => /* @__PURE__ */ t.jsx(Je, { width: "90px", height: "48px" }, i)
|
|
1116
1140
|
),
|
|
1117
|
-
|
|
1141
|
+
r && /* @__PURE__ */ t.jsx(Je, { width: "110px", height: "48px", borderRadius: "full" })
|
|
1118
1142
|
]
|
|
1119
1143
|
}
|
|
1120
1144
|
),
|
|
1121
1145
|
/* @__PURE__ */ t.jsxs(
|
|
1122
|
-
|
|
1146
|
+
xt,
|
|
1123
1147
|
{ spacing: 4, ml: "auto", children: [
|
|
1124
1148
|
/* @__PURE__ */ t.jsx(
|
|
1125
|
-
|
|
1149
|
+
Be,
|
|
1126
1150
|
{
|
|
1127
1151
|
width: "120px",
|
|
1128
1152
|
height: "48px",
|
|
@@ -1131,11 +1155,11 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1131
1155
|
}
|
|
1132
1156
|
),
|
|
1133
1157
|
" ",
|
|
1134
|
-
/* @__PURE__ */ t.jsx(
|
|
1158
|
+
/* @__PURE__ */ t.jsx(Be, { width: "48px", height: "48px" }),
|
|
1135
1159
|
" ",
|
|
1136
|
-
/* @__PURE__ */ t.jsx(
|
|
1160
|
+
/* @__PURE__ */ t.jsx(Be, { width: "48px", height: "48px" }),
|
|
1137
1161
|
" ",
|
|
1138
|
-
/* @__PURE__ */ t.jsx(
|
|
1162
|
+
/* @__PURE__ */ t.jsx(Be, { width: "48px", height: "48px" }),
|
|
1139
1163
|
" "
|
|
1140
1164
|
] }
|
|
1141
1165
|
)
|
|
@@ -1143,22 +1167,22 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1143
1167
|
)
|
|
1144
1168
|
}
|
|
1145
1169
|
) }
|
|
1146
|
-
),
|
|
1170
|
+
), er = (n, r) => {
|
|
1147
1171
|
let s;
|
|
1148
1172
|
return (...i) => {
|
|
1149
1173
|
s && clearTimeout(s), s = setTimeout(() => {
|
|
1150
1174
|
n(...i);
|
|
1151
|
-
},
|
|
1175
|
+
}, r);
|
|
1152
1176
|
};
|
|
1153
|
-
},
|
|
1154
|
-
n.length <
|
|
1155
|
-
let s = Array(
|
|
1156
|
-
for (let c = 0; c <=
|
|
1177
|
+
}, qe = (n) => n.toLowerCase().replace(/['']/g, "").replace(/[^a-z0-9]/g, ""), tr = (n, r) => {
|
|
1178
|
+
n.length < r.length && ([n, r] = [r, n]);
|
|
1179
|
+
let s = Array(r.length + 1).fill(0), i = Array(r.length + 1).fill(0);
|
|
1180
|
+
for (let c = 0; c <= r.length; c++)
|
|
1157
1181
|
s[c] = c;
|
|
1158
1182
|
for (let c = 1; c <= n.length; c++) {
|
|
1159
1183
|
i[0] = c;
|
|
1160
|
-
for (let u = 1; u <=
|
|
1161
|
-
const f = n[c - 1] ===
|
|
1184
|
+
for (let u = 1; u <= r.length; u++) {
|
|
1185
|
+
const f = n[c - 1] === r[u - 1] ? 0 : 1;
|
|
1162
1186
|
i[u] = Math.min(
|
|
1163
1187
|
i[u - 1] + 1,
|
|
1164
1188
|
// Insertion
|
|
@@ -1170,43 +1194,43 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1170
1194
|
}
|
|
1171
1195
|
[s, i] = [i, s];
|
|
1172
1196
|
}
|
|
1173
|
-
return s[
|
|
1174
|
-
},
|
|
1175
|
-
if (n.length <= 3 ||
|
|
1176
|
-
return n.includes(
|
|
1177
|
-
const i =
|
|
1197
|
+
return s[r.length];
|
|
1198
|
+
}, We = (n, r, s = 0.6) => {
|
|
1199
|
+
if (n.length <= 3 || r.length <= 3)
|
|
1200
|
+
return n.includes(r) || r.includes(n);
|
|
1201
|
+
const i = tr(n, r), c = Math.max(n.length, r.length);
|
|
1178
1202
|
return 1 - i / c >= s;
|
|
1179
|
-
},
|
|
1203
|
+
}, jt = (n, r) => {
|
|
1180
1204
|
const s = n.split(/\s+/);
|
|
1181
|
-
return
|
|
1182
|
-
if (
|
|
1205
|
+
return r.length <= 4 ? s.some((i) => i.includes(r)) : s.some((i) => {
|
|
1206
|
+
if (We(i, r))
|
|
1183
1207
|
return !0;
|
|
1184
|
-
if (i.length >=
|
|
1185
|
-
for (let c = 0; c <= i.length -
|
|
1186
|
-
const u = i.slice(c, c +
|
|
1187
|
-
if (
|
|
1208
|
+
if (i.length >= r.length)
|
|
1209
|
+
for (let c = 0; c <= i.length - r.length; c++) {
|
|
1210
|
+
const u = i.slice(c, c + r.length + 1);
|
|
1211
|
+
if (We(r, u))
|
|
1188
1212
|
return !0;
|
|
1189
1213
|
}
|
|
1190
1214
|
return !1;
|
|
1191
1215
|
});
|
|
1192
|
-
},
|
|
1216
|
+
}, ot = "nav-drawer-hover", at = "nav-drawer-animation-start", it = "nav-drawer-animation-end", Ct = (n) => {
|
|
1193
1217
|
window.dispatchEvent(
|
|
1194
|
-
new CustomEvent(
|
|
1218
|
+
new CustomEvent(ot, {
|
|
1195
1219
|
detail: { isHovering: n },
|
|
1196
1220
|
bubbles: !0,
|
|
1197
1221
|
cancelable: !0
|
|
1198
1222
|
})
|
|
1199
1223
|
);
|
|
1200
|
-
},
|
|
1224
|
+
}, Et = (n) => {
|
|
1201
1225
|
window.dispatchEvent(
|
|
1202
1226
|
new CustomEvent(n, {
|
|
1203
1227
|
bubbles: !0,
|
|
1204
1228
|
cancelable: !0
|
|
1205
1229
|
})
|
|
1206
1230
|
);
|
|
1207
|
-
},
|
|
1231
|
+
}, nr = (n = !1, r = !1, s = !1) => n || !r ? "column" : "row", rr = lt(_t), or = lt(Dt), et = ({
|
|
1208
1232
|
isOpen: n = !1,
|
|
1209
|
-
onClose:
|
|
1233
|
+
onClose: r,
|
|
1210
1234
|
title: s,
|
|
1211
1235
|
navDrawerLinks: i,
|
|
1212
1236
|
bottomNavButtons: c,
|
|
@@ -1214,14 +1238,14 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1214
1238
|
bottomButton: f,
|
|
1215
1239
|
hasBackButton: d = !0,
|
|
1216
1240
|
onBackClick: g,
|
|
1217
|
-
hasOnlySpotlightCards:
|
|
1218
|
-
hasSearch:
|
|
1241
|
+
hasOnlySpotlightCards: p = !1,
|
|
1242
|
+
hasSearch: h = !1,
|
|
1219
1243
|
onSearch: C = () => ({}),
|
|
1220
1244
|
topOffset: E,
|
|
1221
1245
|
forceMobilePlacement: v = !1
|
|
1222
1246
|
}) => {
|
|
1223
1247
|
var he, ne, ge, xe, oe, B;
|
|
1224
|
-
const w =
|
|
1248
|
+
const w = Ce({
|
|
1225
1249
|
base: !1,
|
|
1226
1250
|
tablet: !1,
|
|
1227
1251
|
largeTablet: !1,
|
|
@@ -1230,25 +1254,25 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1230
1254
|
fullDesktop: !0
|
|
1231
1255
|
}) ?? !1, O = v ? "right" : w ? "top" : "right", b = O === "right", [$, S] = X(0), [y, A] = X(!1), H = () => {
|
|
1232
1256
|
S((I) => I + 1);
|
|
1233
|
-
}, U =
|
|
1234
|
-
|
|
1257
|
+
}, U = At(
|
|
1258
|
+
er((I) => {
|
|
1235
1259
|
C(I), H();
|
|
1236
1260
|
}, 100),
|
|
1237
1261
|
[]
|
|
1238
1262
|
);
|
|
1239
1263
|
ee(() => {
|
|
1240
|
-
n && (A(!0),
|
|
1264
|
+
n && (A(!0), Et(at));
|
|
1241
1265
|
}, [n]);
|
|
1242
1266
|
const te = () => {
|
|
1243
|
-
n || (A(!1),
|
|
1267
|
+
n || (A(!1), r()), Et(it);
|
|
1244
1268
|
};
|
|
1245
1269
|
return /* @__PURE__ */ t.jsx(
|
|
1246
|
-
|
|
1270
|
+
Tt,
|
|
1247
1271
|
{
|
|
1248
1272
|
isOpen: y || n,
|
|
1249
1273
|
closeOnOverlayClick: !0,
|
|
1250
1274
|
onClose: () => {
|
|
1251
|
-
y && !b ||
|
|
1275
|
+
y && !b || r();
|
|
1252
1276
|
},
|
|
1253
1277
|
placement: O,
|
|
1254
1278
|
blockScrollOnMount: !1,
|
|
@@ -1256,14 +1280,14 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1256
1280
|
...b ? {
|
|
1257
1281
|
styleConfig: {
|
|
1258
1282
|
baseStyle: {
|
|
1259
|
-
...
|
|
1283
|
+
...Y.components.Drawer.baseStyle,
|
|
1260
1284
|
dialogContainer: {
|
|
1261
|
-
...(ne = (he =
|
|
1285
|
+
...(ne = (he = Y.components.Drawer) == null ? void 0 : he.baseStyle) == null ? void 0 : ne.dialogContainer,
|
|
1262
1286
|
// Higher z-index for drawer content to be above overlay and navigation
|
|
1263
1287
|
zIndex: "popover"
|
|
1264
1288
|
},
|
|
1265
1289
|
dialog: {
|
|
1266
|
-
...(xe = (ge =
|
|
1290
|
+
...(xe = (ge = Y.components.Drawer) == null ? void 0 : ge.baseStyle) == null ? void 0 : xe.dialog,
|
|
1267
1291
|
// Ensure mobile drawer doesn't expand to full width
|
|
1268
1292
|
maxW: "560px",
|
|
1269
1293
|
width: "auto"
|
|
@@ -1273,9 +1297,9 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1273
1297
|
} : {
|
|
1274
1298
|
styleConfig: {
|
|
1275
1299
|
baseStyle: {
|
|
1276
|
-
...
|
|
1300
|
+
...Y.components.Drawer.baseStyle,
|
|
1277
1301
|
dialogContainer: {
|
|
1278
|
-
...(B = (oe =
|
|
1302
|
+
...(B = (oe = Y.components.Drawer) == null ? void 0 : oe.baseStyle) == null ? void 0 : B.dialogContainer,
|
|
1279
1303
|
// Push the drawer down by the top offset on desktop to not cover the top navigation
|
|
1280
1304
|
top: `${E}px`,
|
|
1281
1305
|
// Lower index on desktop to make sure the drawer is below the top navigation
|
|
@@ -1285,12 +1309,12 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1285
1309
|
}
|
|
1286
1310
|
},
|
|
1287
1311
|
children: /* @__PURE__ */ t.jsx(
|
|
1288
|
-
|
|
1312
|
+
Wn,
|
|
1289
1313
|
{ children: n ? /* @__PURE__ */ t.jsxs(
|
|
1290
1314
|
t.Fragment,
|
|
1291
1315
|
{ children: [
|
|
1292
1316
|
/* @__PURE__ */ t.jsx(
|
|
1293
|
-
|
|
1317
|
+
or,
|
|
1294
1318
|
{
|
|
1295
1319
|
backgroundColor: "tints.black",
|
|
1296
1320
|
top: b ? "0" : `${E}px`,
|
|
@@ -1309,17 +1333,17 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1309
1333
|
}
|
|
1310
1334
|
),
|
|
1311
1335
|
/* @__PURE__ */ t.jsxs(
|
|
1312
|
-
|
|
1336
|
+
rr,
|
|
1313
1337
|
{
|
|
1314
1338
|
onClick: (I) => {
|
|
1315
1339
|
const ae = I.target.closest("a");
|
|
1316
|
-
ae && ae.href === window.location.href &&
|
|
1340
|
+
ae && ae.href === window.location.href && r();
|
|
1317
1341
|
},
|
|
1318
1342
|
onMouseEnter: () => {
|
|
1319
|
-
b ||
|
|
1343
|
+
b || Ct(!0);
|
|
1320
1344
|
},
|
|
1321
1345
|
onMouseLeave: (I) => {
|
|
1322
|
-
b || (!
|
|
1346
|
+
b || (!h || h && (I.target === I.currentTarget || !I.currentTarget.contains(I.target) && !y)) && Ct(!1);
|
|
1323
1347
|
},
|
|
1324
1348
|
paddingTop: "4",
|
|
1325
1349
|
paddingX: b ? "4" : "12",
|
|
@@ -1342,12 +1366,12 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1342
1366
|
transition: { duration: 0.3 }
|
|
1343
1367
|
},
|
|
1344
1368
|
children: [
|
|
1345
|
-
!
|
|
1346
|
-
|
|
1369
|
+
!h && !b ? null : /* @__PURE__ */ t.jsxs(
|
|
1370
|
+
It,
|
|
1347
1371
|
{
|
|
1348
1372
|
padding: "0",
|
|
1349
|
-
flexDirection:
|
|
1350
|
-
gap:
|
|
1373
|
+
flexDirection: h ? "column" : "row",
|
|
1374
|
+
gap: h ? "4" : "0",
|
|
1351
1375
|
children: [
|
|
1352
1376
|
b ? /* @__PURE__ */ t.jsxs(
|
|
1353
1377
|
T,
|
|
@@ -1357,9 +1381,9 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1357
1381
|
alignItems: "center",
|
|
1358
1382
|
children: [
|
|
1359
1383
|
d ? /* @__PURE__ */ t.jsx(
|
|
1360
|
-
|
|
1384
|
+
rt,
|
|
1361
1385
|
{
|
|
1362
|
-
icon: /* @__PURE__ */ t.jsx(
|
|
1386
|
+
icon: /* @__PURE__ */ t.jsx(On, {}),
|
|
1363
1387
|
onClick: () => {
|
|
1364
1388
|
g && g();
|
|
1365
1389
|
},
|
|
@@ -1376,21 +1400,21 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1376
1400
|
}
|
|
1377
1401
|
),
|
|
1378
1402
|
/* @__PURE__ */ t.jsx(
|
|
1379
|
-
|
|
1403
|
+
rt,
|
|
1380
1404
|
{
|
|
1381
|
-
icon: /* @__PURE__ */ t.jsx(
|
|
1382
|
-
onClick:
|
|
1405
|
+
icon: /* @__PURE__ */ t.jsx(Pt, {}),
|
|
1406
|
+
onClick: r,
|
|
1383
1407
|
"aria-label": "Close"
|
|
1384
1408
|
}
|
|
1385
1409
|
)
|
|
1386
1410
|
]
|
|
1387
1411
|
}
|
|
1388
1412
|
) : null,
|
|
1389
|
-
|
|
1390
|
-
|
|
1413
|
+
h && /* @__PURE__ */ t.jsxs(
|
|
1414
|
+
_n,
|
|
1391
1415
|
{ width: "100%", children: [
|
|
1392
1416
|
/* @__PURE__ */ t.jsx(
|
|
1393
|
-
|
|
1417
|
+
Dn,
|
|
1394
1418
|
{
|
|
1395
1419
|
onChange: (I) => {
|
|
1396
1420
|
U(I.target.value);
|
|
@@ -1402,8 +1426,8 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1402
1426
|
}
|
|
1403
1427
|
),
|
|
1404
1428
|
/* @__PURE__ */ t.jsx(
|
|
1405
|
-
|
|
1406
|
-
{ pointerEvents: "none", children: /* @__PURE__ */ t.jsx(
|
|
1429
|
+
Tn,
|
|
1430
|
+
{ pointerEvents: "none", children: /* @__PURE__ */ t.jsx(In, { as: An, color: "gray.500" }) }
|
|
1407
1431
|
)
|
|
1408
1432
|
] }
|
|
1409
1433
|
)
|
|
@@ -1411,13 +1435,13 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1411
1435
|
}
|
|
1412
1436
|
),
|
|
1413
1437
|
/* @__PURE__ */ t.jsx(
|
|
1414
|
-
|
|
1438
|
+
Lt,
|
|
1415
1439
|
{
|
|
1416
1440
|
paddingX: "0",
|
|
1417
1441
|
paddingBottom: b ? "6" : "4",
|
|
1418
1442
|
"data-testid": `navbar-drawer-body-${s.toLowerCase()}`,
|
|
1419
1443
|
children: /* @__PURE__ */ t.jsxs(
|
|
1420
|
-
|
|
1444
|
+
lt.div,
|
|
1421
1445
|
{
|
|
1422
1446
|
...b ? {} : {
|
|
1423
1447
|
initial: { opacity: 0, y: -5 },
|
|
@@ -1436,10 +1460,10 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1436
1460
|
},
|
|
1437
1461
|
style: {
|
|
1438
1462
|
display: "flex",
|
|
1439
|
-
flexDirection:
|
|
1440
|
-
|
|
1463
|
+
flexDirection: nr(
|
|
1464
|
+
p,
|
|
1441
1465
|
!b,
|
|
1442
|
-
|
|
1466
|
+
h
|
|
1443
1467
|
),
|
|
1444
1468
|
gap: "24px",
|
|
1445
1469
|
justifyContent: "space-between"
|
|
@@ -1451,7 +1475,7 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1451
1475
|
position: b ? void 0 : "relative",
|
|
1452
1476
|
flexDirection: "column",
|
|
1453
1477
|
gap: "6",
|
|
1454
|
-
width: b ? "100%" :
|
|
1478
|
+
width: b ? "100%" : h ? void 0 : "auto",
|
|
1455
1479
|
children: [
|
|
1456
1480
|
i ? /* @__PURE__ */ t.jsx(R, { children: i }) : null,
|
|
1457
1481
|
c && b ? /* @__PURE__ */ t.jsx(R, { children: c }) : null,
|
|
@@ -1495,31 +1519,31 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1495
1519
|
)
|
|
1496
1520
|
}
|
|
1497
1521
|
);
|
|
1498
|
-
},
|
|
1522
|
+
}, ar = ({
|
|
1499
1523
|
source: n,
|
|
1500
|
-
onSearchCallback:
|
|
1524
|
+
onSearchCallback: r,
|
|
1501
1525
|
isActive: s
|
|
1502
1526
|
}) => {
|
|
1503
|
-
const [i, c] = X(""), [u, f] = X([]), d = (
|
|
1504
|
-
if (!
|
|
1505
|
-
const v =
|
|
1527
|
+
const [i, c] = X(""), [u, f] = X([]), d = (h, C) => {
|
|
1528
|
+
if (!h) return [];
|
|
1529
|
+
const v = qe(h).split(/\s+/);
|
|
1506
1530
|
return C.filter((w) => {
|
|
1507
|
-
const O =
|
|
1508
|
-
if (v.some((A) =>
|
|
1509
|
-
const $ = O.split(/\s+/), S = v.some((A) => $.some((H) => H.includes(A) ||
|
|
1510
|
-
const H =
|
|
1511
|
-
return
|
|
1531
|
+
const O = qe(w.label);
|
|
1532
|
+
if (v.some((A) => jt(O, A))) return !0;
|
|
1533
|
+
const $ = O.split(/\s+/), S = v.some((A) => $.some((H) => H.includes(A) || We(A, H))), y = typeof w.additionalContent == "string" && v.some((A) => {
|
|
1534
|
+
const H = qe(w.additionalContent);
|
|
1535
|
+
return jt(H, A) || H.split(/\s+/).some((U) => U.includes(A) || We(A, U));
|
|
1512
1536
|
});
|
|
1513
1537
|
return S || y;
|
|
1514
1538
|
}).sort((w, O) => w.label.localeCompare(O.label));
|
|
1515
|
-
}, g = (
|
|
1516
|
-
if (c(
|
|
1539
|
+
}, g = (h) => {
|
|
1540
|
+
if (c(h), !h) {
|
|
1517
1541
|
f([]);
|
|
1518
1542
|
return;
|
|
1519
1543
|
}
|
|
1520
|
-
const C = d(
|
|
1521
|
-
f(C),
|
|
1522
|
-
},
|
|
1544
|
+
const C = d(h, n);
|
|
1545
|
+
f(C), r && r(h, C);
|
|
1546
|
+
}, p = () => {
|
|
1523
1547
|
c(""), f([]);
|
|
1524
1548
|
};
|
|
1525
1549
|
return ee(() => {
|
|
@@ -1527,21 +1551,21 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1527
1551
|
}, [s]), {
|
|
1528
1552
|
query: i,
|
|
1529
1553
|
results: u,
|
|
1530
|
-
handleClose:
|
|
1554
|
+
handleClose: p,
|
|
1531
1555
|
handleSearch: g
|
|
1532
1556
|
};
|
|
1533
|
-
},
|
|
1534
|
-
const
|
|
1557
|
+
}, ir = (n) => {
|
|
1558
|
+
const r = /* @__PURE__ */ new Set();
|
|
1535
1559
|
return n.reduce((s, i) => {
|
|
1536
1560
|
var u;
|
|
1537
1561
|
const c = ((u = i.sections) == null ? void 0 : u.reduce((f, d) => {
|
|
1538
|
-
const g = d.links.filter((
|
|
1562
|
+
const g = d.links.filter((p) => r.has(p.label) || p.isSearchable !== !0 ? !1 : (r.add(p.label), !0));
|
|
1539
1563
|
return [...f, ...g];
|
|
1540
1564
|
}, [])) ?? [];
|
|
1541
1565
|
return [...s, ...c];
|
|
1542
1566
|
}, []);
|
|
1543
|
-
},
|
|
1544
|
-
const [n,
|
|
1567
|
+
}, lr = () => {
|
|
1568
|
+
const [n, r] = X(!1), [s, i] = X(!1), [c, u] = X(null);
|
|
1545
1569
|
return {
|
|
1546
1570
|
isMainMenuOpen: n,
|
|
1547
1571
|
isSearchOpen: s,
|
|
@@ -1549,16 +1573,16 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1549
1573
|
clearSelectedCategory: () => u(null),
|
|
1550
1574
|
handleSelectCategory: (v) => u(v),
|
|
1551
1575
|
closeMainMenu: () => {
|
|
1552
|
-
|
|
1576
|
+
r(!1), u(null);
|
|
1553
1577
|
},
|
|
1554
1578
|
closeSearch: () => i(!1),
|
|
1555
1579
|
toggleSearch: () => i((v) => !v),
|
|
1556
|
-
openMainMenu: () =>
|
|
1580
|
+
openMainMenu: () => r(!0),
|
|
1557
1581
|
openSearch: () => i(!0)
|
|
1558
1582
|
};
|
|
1559
|
-
},
|
|
1583
|
+
}, sr = "#28724F", Sr = ({
|
|
1560
1584
|
categories: n = [],
|
|
1561
|
-
mainCategoryLabel:
|
|
1585
|
+
mainCategoryLabel: r = "Menu",
|
|
1562
1586
|
logoLink: s = "https://www.everlywell.com",
|
|
1563
1587
|
mobileBottomButtons: i = [],
|
|
1564
1588
|
linkComponent: c,
|
|
@@ -1566,13 +1590,13 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1566
1590
|
onLinkClick: f,
|
|
1567
1591
|
onCategoryOpen: d,
|
|
1568
1592
|
onLogoClick: g,
|
|
1569
|
-
shopAllProductsUrl:
|
|
1570
|
-
onShopAllProductsClick:
|
|
1593
|
+
shopAllProductsUrl: p,
|
|
1594
|
+
onShopAllProductsClick: h,
|
|
1571
1595
|
hideableButtons: C,
|
|
1572
1596
|
children: E
|
|
1573
1597
|
}) => {
|
|
1574
|
-
var
|
|
1575
|
-
const v =
|
|
1598
|
+
var Te, de, He;
|
|
1599
|
+
const v = lr(), {
|
|
1576
1600
|
isMainMenuOpen: w,
|
|
1577
1601
|
isSearchOpen: O,
|
|
1578
1602
|
closeMainMenu: b,
|
|
@@ -1592,28 +1616,28 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1592
1616
|
};
|
|
1593
1617
|
}, []), ee(() => {
|
|
1594
1618
|
const a = () => oe(!0), _ = () => oe(!1);
|
|
1595
|
-
return window.addEventListener(
|
|
1619
|
+
return window.addEventListener(at, a), window.addEventListener(it, _), () => {
|
|
1596
1620
|
window.removeEventListener(
|
|
1597
|
-
|
|
1621
|
+
at,
|
|
1598
1622
|
a
|
|
1599
|
-
), window.removeEventListener(
|
|
1623
|
+
), window.removeEventListener(it, _);
|
|
1600
1624
|
};
|
|
1601
1625
|
}, []);
|
|
1602
|
-
const ae =
|
|
1626
|
+
const ae = Ce({
|
|
1603
1627
|
base: !1,
|
|
1604
1628
|
tablet: !1,
|
|
1605
1629
|
largeTablet: !1,
|
|
1606
1630
|
mediumDesktop: !0,
|
|
1607
1631
|
desktop: !0,
|
|
1608
1632
|
fullDesktop: !0
|
|
1609
|
-
}) ?? !1, ie =
|
|
1633
|
+
}) ?? !1, ie = Ce({
|
|
1610
1634
|
base: !1,
|
|
1611
1635
|
tablet: !1,
|
|
1612
1636
|
largeTablet: !1,
|
|
1613
1637
|
mediumDesktop: !1,
|
|
1614
1638
|
desktop: !1,
|
|
1615
1639
|
fullDesktop: !0
|
|
1616
|
-
}) ?? !1,
|
|
1640
|
+
}) ?? !1, Oe = !ie, Ae = Ce({
|
|
1617
1641
|
base: !0,
|
|
1618
1642
|
tablet: !0,
|
|
1619
1643
|
largeTablet: !0,
|
|
@@ -1625,17 +1649,17 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1625
1649
|
b(), S();
|
|
1626
1650
|
}, [ae]);
|
|
1627
1651
|
const {
|
|
1628
|
-
query:
|
|
1652
|
+
query: Pe,
|
|
1629
1653
|
results: ve,
|
|
1630
|
-
handleSearch:
|
|
1631
|
-
} =
|
|
1632
|
-
source:
|
|
1654
|
+
handleSearch: Me
|
|
1655
|
+
} = ar({
|
|
1656
|
+
source: ir(n),
|
|
1633
1657
|
onSearchCallback: u,
|
|
1634
1658
|
isActive: O
|
|
1635
|
-
}),
|
|
1659
|
+
}), ke = ve.length > 0, Re = c || le, Ne = Se(p, !!c), _e = Pe && /* @__PURE__ */ t.jsxs(
|
|
1636
1660
|
T,
|
|
1637
|
-
{ gap:
|
|
1638
|
-
|
|
1661
|
+
{ gap: ke ? "6" : 0, direction: "column", children: [
|
|
1662
|
+
ke ? /* @__PURE__ */ t.jsx(z, { color: "tints.uiGrey", children: `${ve.length} Results` }) : /* @__PURE__ */ t.jsxs(
|
|
1639
1663
|
T,
|
|
1640
1664
|
{ direction: "column", gap: "6", alignItems: "flex-start", children: [
|
|
1641
1665
|
/* @__PURE__ */ t.jsx(
|
|
@@ -1643,25 +1667,25 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1643
1667
|
{ color: "tints.uiGrey", children: "We didn't find what you were looking for." }
|
|
1644
1668
|
),
|
|
1645
1669
|
/* @__PURE__ */ t.jsx(
|
|
1646
|
-
|
|
1670
|
+
Rt,
|
|
1647
1671
|
{
|
|
1648
|
-
as:
|
|
1649
|
-
onClick:
|
|
1672
|
+
as: Re,
|
|
1673
|
+
onClick: h,
|
|
1650
1674
|
_hover: { textDecoration: "none" },
|
|
1651
1675
|
width: ["100%", null, null, "auto"],
|
|
1652
|
-
...
|
|
1676
|
+
...Ne,
|
|
1653
1677
|
children: "Shop all products"
|
|
1654
1678
|
}
|
|
1655
1679
|
)
|
|
1656
1680
|
] }
|
|
1657
1681
|
),
|
|
1658
1682
|
/* @__PURE__ */ t.jsx(
|
|
1659
|
-
|
|
1683
|
+
an,
|
|
1660
1684
|
{ columns: [1, 1, 1, 4], children: ve.map(
|
|
1661
1685
|
(a, _) => /* @__PURE__ */ t.jsx(
|
|
1662
|
-
|
|
1686
|
+
ln,
|
|
1663
1687
|
{ children: /* @__PURE__ */ t.jsx(
|
|
1664
|
-
|
|
1688
|
+
ze,
|
|
1665
1689
|
{
|
|
1666
1690
|
href: a.href,
|
|
1667
1691
|
label: a.label,
|
|
@@ -1687,11 +1711,11 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1687
1711
|
he(_.detail.isHovering);
|
|
1688
1712
|
};
|
|
1689
1713
|
return window.addEventListener(
|
|
1690
|
-
|
|
1714
|
+
ot,
|
|
1691
1715
|
a
|
|
1692
1716
|
), () => {
|
|
1693
1717
|
window.removeEventListener(
|
|
1694
|
-
|
|
1718
|
+
ot,
|
|
1695
1719
|
a
|
|
1696
1720
|
);
|
|
1697
1721
|
};
|
|
@@ -1707,11 +1731,11 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1707
1731
|
window.removeEventListener("popstate", _), clearInterval(L);
|
|
1708
1732
|
};
|
|
1709
1733
|
}, []);
|
|
1710
|
-
const
|
|
1734
|
+
const De = (a) => K(a) && (!a.buttonProps || Object.keys(a.buttonProps).length === 0 || a.buttonProps === void 0), $e = n == null ? void 0 : n.map((a, _) => {
|
|
1711
1735
|
var Q, q;
|
|
1712
1736
|
const L = C.includes(a.label), F = !K(a), fe = (y == null ? void 0 : y.label) === a.label;
|
|
1713
1737
|
return /* @__PURE__ */ t.jsx(
|
|
1714
|
-
|
|
1738
|
+
Jn,
|
|
1715
1739
|
{
|
|
1716
1740
|
height: "48px",
|
|
1717
1741
|
paddingInline: "16px !important",
|
|
@@ -1720,7 +1744,7 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1720
1744
|
},
|
|
1721
1745
|
onMouseLeave: me,
|
|
1722
1746
|
isSelected: fe,
|
|
1723
|
-
as: K(a) &&
|
|
1747
|
+
as: K(a) && Re ? Re : le,
|
|
1724
1748
|
href: K(a) ? a.href : void 0,
|
|
1725
1749
|
onClick: K(a) ? () => f == null ? void 0 : f(a.label) : () => {
|
|
1726
1750
|
ce(a), d == null || d(a.label);
|
|
@@ -1737,7 +1761,7 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1737
1761
|
// focus-visible polyfill entirely — nothing can override them.
|
|
1738
1762
|
onFocus: (re) => {
|
|
1739
1763
|
const N = re.currentTarget;
|
|
1740
|
-
J.current && (N.style.outline = `3px solid ${
|
|
1764
|
+
J.current && (N.style.outline = `3px solid ${sr}`, 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");
|
|
1741
1765
|
},
|
|
1742
1766
|
onBlur: (re) => {
|
|
1743
1767
|
const N = re.currentTarget;
|
|
@@ -1747,7 +1771,7 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1747
1771
|
...L && {
|
|
1748
1772
|
display: { base: "none", fullDesktop: "flex" }
|
|
1749
1773
|
},
|
|
1750
|
-
...((Q = a == null ? void 0 : a.context) == null ? void 0 : Q.desktop) === "link" ||
|
|
1774
|
+
...((Q = a == null ? void 0 : a.context) == null ? void 0 : Q.desktop) === "link" || De(a) ? {
|
|
1751
1775
|
_hover: {
|
|
1752
1776
|
backgroundColor: "tints.lightCream",
|
|
1753
1777
|
textDecoration: "none",
|
|
@@ -1759,18 +1783,18 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1759
1783
|
},
|
|
1760
1784
|
`${a.label}-${_}`
|
|
1761
1785
|
);
|
|
1762
|
-
}),
|
|
1786
|
+
}), Ve = (Te = n.filter(
|
|
1763
1787
|
(a) => {
|
|
1764
1788
|
var _;
|
|
1765
|
-
return ((_ = a == null ? void 0 : a.context) == null ? void 0 : _.mobile) === "link" || (!K(a) && a.isMobileTopLink !== !1 ||
|
|
1789
|
+
return ((_ = a == null ? void 0 : a.context) == null ? void 0 : _.mobile) === "link" || (!K(a) && a.isMobileTopLink !== !1 || De(a)) && (Oe && C.includes(a.label) || Ae);
|
|
1766
1790
|
}
|
|
1767
|
-
)) == null ? void 0 :
|
|
1791
|
+
)) == null ? void 0 : Te.map((a, _) => {
|
|
1768
1792
|
var F;
|
|
1769
1793
|
const L = a;
|
|
1770
|
-
return
|
|
1794
|
+
return De(L) || ((F = L == null ? void 0 : L.context) == null ? void 0 : F.mobile) === "link" ? /* @__PURE__ */ t.jsx(
|
|
1771
1795
|
R,
|
|
1772
1796
|
{ children: /* @__PURE__ */ t.jsx(
|
|
1773
|
-
|
|
1797
|
+
ze,
|
|
1774
1798
|
{
|
|
1775
1799
|
label: L.label,
|
|
1776
1800
|
role: "link",
|
|
@@ -1788,7 +1812,7 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1788
1812
|
be(L), d == null || d(L.label);
|
|
1789
1813
|
},
|
|
1790
1814
|
children: /* @__PURE__ */ t.jsx(
|
|
1791
|
-
|
|
1815
|
+
ze,
|
|
1792
1816
|
{
|
|
1793
1817
|
label: L.label,
|
|
1794
1818
|
role: "link",
|
|
@@ -1801,12 +1825,12 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1801
1825
|
},
|
|
1802
1826
|
`${L.label}-${_}`
|
|
1803
1827
|
);
|
|
1804
|
-
}),
|
|
1828
|
+
}), Ge = /* @__PURE__ */ t.jsx(
|
|
1805
1829
|
T,
|
|
1806
1830
|
{ gap: "2", flexDirection: "column", children: i }
|
|
1807
|
-
),
|
|
1831
|
+
), G = B || w, ue = y ? /* @__PURE__ */ t.jsx(
|
|
1808
1832
|
T,
|
|
1809
|
-
{ direction:
|
|
1833
|
+
{ direction: G ? "column" : ["column", null, null, "row"], gap: "8", children: (de = y == null ? void 0 : y.sections) == null ? void 0 : de.map((a, _) => {
|
|
1810
1834
|
const L = [];
|
|
1811
1835
|
for (let F = 0; F < a.links.length; F += 3)
|
|
1812
1836
|
L.push(a.links.slice(F, F + 3));
|
|
@@ -1819,31 +1843,31 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1819
1843
|
as: "h2",
|
|
1820
1844
|
fontSize: "md",
|
|
1821
1845
|
color: "tints.uiGrey",
|
|
1822
|
-
marginBottom:
|
|
1846
|
+
marginBottom: G ? 0 : [0, null, null, 6],
|
|
1823
1847
|
children: a.title
|
|
1824
1848
|
}
|
|
1825
1849
|
),
|
|
1826
1850
|
/* @__PURE__ */ t.jsx(
|
|
1827
1851
|
T,
|
|
1828
1852
|
{
|
|
1829
|
-
flexDirection:
|
|
1830
|
-
gap:
|
|
1853
|
+
flexDirection: G ? "column" : ["column", null, null, "row"],
|
|
1854
|
+
gap: G ? void 0 : [null, null, null, 8],
|
|
1831
1855
|
children: L == null ? void 0 : L.map(
|
|
1832
1856
|
(F, fe) => /* @__PURE__ */ t.jsx(
|
|
1833
1857
|
T,
|
|
1834
1858
|
{
|
|
1835
1859
|
flexDirection: "column",
|
|
1836
|
-
gap:
|
|
1837
|
-
marginLeft:
|
|
1860
|
+
gap: G ? void 0 : [null, null, null, 5],
|
|
1861
|
+
marginLeft: G ? void 0 : [null, null, null, -2],
|
|
1838
1862
|
children: F == null ? void 0 : F.map(
|
|
1839
1863
|
(Q, q) => /* @__PURE__ */ t.jsx(
|
|
1840
|
-
|
|
1864
|
+
ze,
|
|
1841
1865
|
{
|
|
1842
1866
|
label: Q.label,
|
|
1843
1867
|
href: Q.href,
|
|
1844
1868
|
additionalContent: Q.additionalContent,
|
|
1845
1869
|
linkComponent: c,
|
|
1846
|
-
forceMobileStyle:
|
|
1870
|
+
forceMobileStyle: G,
|
|
1847
1871
|
onClick: () => f == null ? void 0 : f(Q.label)
|
|
1848
1872
|
},
|
|
1849
1873
|
`${Q.label}-${q}`
|
|
@@ -1859,12 +1883,12 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1859
1883
|
`${a.title}-${_}`
|
|
1860
1884
|
);
|
|
1861
1885
|
}) }
|
|
1862
|
-
) : null,
|
|
1886
|
+
) : null, Fe = y != null && y.spotlightCards ? (He = y.spotlightCards) == null ? void 0 : He.map(
|
|
1863
1887
|
(a, _) => /* @__PURE__ */ t.jsx(
|
|
1864
|
-
|
|
1888
|
+
Qn,
|
|
1865
1889
|
{
|
|
1866
1890
|
...a,
|
|
1867
|
-
forceMobileStyle:
|
|
1891
|
+
forceMobileStyle: G
|
|
1868
1892
|
},
|
|
1869
1893
|
`${a.title}-${_}`
|
|
1870
1894
|
)
|
|
@@ -1880,9 +1904,9 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1880
1904
|
zIndex: ["sticky", null, null, xe ? "modal" : "sticky"],
|
|
1881
1905
|
children: [
|
|
1882
1906
|
/* @__PURE__ */ t.jsx(
|
|
1883
|
-
|
|
1907
|
+
qn,
|
|
1884
1908
|
{
|
|
1885
|
-
desktopTopButtons:
|
|
1909
|
+
desktopTopButtons: $e,
|
|
1886
1910
|
logoLink: s,
|
|
1887
1911
|
linkComponent: c,
|
|
1888
1912
|
onLogoClick: g,
|
|
@@ -1894,20 +1918,20 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1894
1918
|
R,
|
|
1895
1919
|
{ position: "relative", zIndex: "modal", children: [
|
|
1896
1920
|
/* @__PURE__ */ t.jsx(
|
|
1897
|
-
|
|
1921
|
+
et,
|
|
1898
1922
|
{
|
|
1899
1923
|
isOpen: w,
|
|
1900
1924
|
onClose: b,
|
|
1901
|
-
title:
|
|
1902
|
-
navDrawerLinks:
|
|
1903
|
-
bottomNavButtons:
|
|
1925
|
+
title: r,
|
|
1926
|
+
navDrawerLinks: Ve,
|
|
1927
|
+
bottomNavButtons: Ge,
|
|
1904
1928
|
hasBackButton: !1,
|
|
1905
1929
|
topOffset: ne,
|
|
1906
1930
|
forceMobilePlacement: !0
|
|
1907
1931
|
}
|
|
1908
1932
|
),
|
|
1909
1933
|
/* @__PURE__ */ t.jsx(
|
|
1910
|
-
|
|
1934
|
+
et,
|
|
1911
1935
|
{
|
|
1912
1936
|
isOpen: !!y,
|
|
1913
1937
|
onClose: () => {
|
|
@@ -1918,7 +1942,7 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1918
1942
|
onBackClick: () => {
|
|
1919
1943
|
S(), w || I(!1);
|
|
1920
1944
|
},
|
|
1921
|
-
spotlightCards:
|
|
1945
|
+
spotlightCards: Fe,
|
|
1922
1946
|
hasOnlySpotlightCards: y == null ? void 0 : y.hasOnlySpotlightCards,
|
|
1923
1947
|
bottomButton: y == null ? void 0 : y.bottomButton,
|
|
1924
1948
|
topOffset: ne,
|
|
@@ -1927,13 +1951,13 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1927
1951
|
}
|
|
1928
1952
|
),
|
|
1929
1953
|
/* @__PURE__ */ t.jsx(
|
|
1930
|
-
|
|
1954
|
+
et,
|
|
1931
1955
|
{
|
|
1932
1956
|
isOpen: O,
|
|
1933
1957
|
onClose: () => $(),
|
|
1934
1958
|
title: "Search",
|
|
1935
|
-
navDrawerLinks:
|
|
1936
|
-
onSearch:
|
|
1959
|
+
navDrawerLinks: _e,
|
|
1960
|
+
onSearch: Me,
|
|
1937
1961
|
hasSearch: !0,
|
|
1938
1962
|
hasBackButton: !1,
|
|
1939
1963
|
topOffset: ne
|
|
@@ -1944,13 +1968,13 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1944
1968
|
]
|
|
1945
1969
|
}
|
|
1946
1970
|
);
|
|
1947
|
-
},
|
|
1971
|
+
}, St = ({
|
|
1948
1972
|
links: n,
|
|
1949
|
-
linkComponent:
|
|
1973
|
+
linkComponent: r,
|
|
1950
1974
|
onLinkClick: s,
|
|
1951
1975
|
footerTheme: i
|
|
1952
1976
|
}) => {
|
|
1953
|
-
const c =
|
|
1977
|
+
const c = r || le, u = (f) => {
|
|
1954
1978
|
s && s(f);
|
|
1955
1979
|
};
|
|
1956
1980
|
return /* @__PURE__ */ t.jsx(
|
|
@@ -1964,31 +1988,31 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1964
1988
|
size: "lg",
|
|
1965
1989
|
_hover: { color: "viridian.lighter", textDecoration: "none" },
|
|
1966
1990
|
onClick: () => u(f.label),
|
|
1967
|
-
...
|
|
1991
|
+
...Se(f.href, !!r),
|
|
1968
1992
|
children: f.label
|
|
1969
1993
|
},
|
|
1970
1994
|
f.label
|
|
1971
1995
|
)
|
|
1972
1996
|
) }
|
|
1973
1997
|
);
|
|
1974
|
-
},
|
|
1975
|
-
const i = s ? "transparent" : `${
|
|
1976
|
-
return
|
|
1977
|
-
|
|
1998
|
+
}, cr = ({ title: n, links: r, isLast: s }) => {
|
|
1999
|
+
const i = s ? "transparent" : `${Y.colors.viridian.lighter}20`;
|
|
2000
|
+
return r ? /* @__PURE__ */ t.jsx(
|
|
2001
|
+
cn,
|
|
1978
2002
|
{ borderColor: i, children: ({ isExpanded: c }) => /* @__PURE__ */ t.jsxs(
|
|
1979
2003
|
t.Fragment,
|
|
1980
2004
|
{ children: [
|
|
1981
2005
|
/* @__PURE__ */ t.jsxs(
|
|
1982
|
-
|
|
2006
|
+
un,
|
|
1983
2007
|
{ paddingX: 0, paddingY: 4, _hover: { bg: "transparent" }, children: [
|
|
1984
2008
|
/* @__PURE__ */ t.jsx(
|
|
1985
2009
|
z,
|
|
1986
2010
|
{ color: "viridian.lighter", size: "lg", flex: "1", textAlign: "left", children: n }
|
|
1987
2011
|
),
|
|
1988
2012
|
/* @__PURE__ */ t.jsx(
|
|
1989
|
-
|
|
2013
|
+
Ee,
|
|
1990
2014
|
{
|
|
1991
|
-
as:
|
|
2015
|
+
as: Pn,
|
|
1992
2016
|
size: "sm",
|
|
1993
2017
|
color: "viridian.lighter",
|
|
1994
2018
|
transform: c ? "rotate(-180deg)" : "rotate(0deg)",
|
|
@@ -1998,17 +2022,17 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
1998
2022
|
] }
|
|
1999
2023
|
),
|
|
2000
2024
|
/* @__PURE__ */ t.jsx(
|
|
2001
|
-
|
|
2002
|
-
{ pb: 4, px: 0, children:
|
|
2025
|
+
dn,
|
|
2026
|
+
{ pb: 4, px: 0, children: r }
|
|
2003
2027
|
)
|
|
2004
2028
|
] }
|
|
2005
2029
|
) }
|
|
2006
2030
|
) : null;
|
|
2007
|
-
},
|
|
2031
|
+
}, ur = ({
|
|
2008
2032
|
title: n,
|
|
2009
|
-
links:
|
|
2033
|
+
links: r,
|
|
2010
2034
|
footerTheme: s
|
|
2011
|
-
}) =>
|
|
2035
|
+
}) => r ? /* @__PURE__ */ t.jsxs(
|
|
2012
2036
|
R,
|
|
2013
2037
|
{ children: [
|
|
2014
2038
|
/* @__PURE__ */ t.jsx(
|
|
@@ -2020,14 +2044,14 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
2020
2044
|
children: n
|
|
2021
2045
|
}
|
|
2022
2046
|
),
|
|
2023
|
-
|
|
2047
|
+
r
|
|
2024
2048
|
] }
|
|
2025
|
-
) : null,
|
|
2049
|
+
) : null, dr = ({
|
|
2026
2050
|
sections: n,
|
|
2027
|
-
linkComponent:
|
|
2051
|
+
linkComponent: r,
|
|
2028
2052
|
onLinkClick: s,
|
|
2029
2053
|
footerTheme: i
|
|
2030
|
-
}) =>
|
|
2054
|
+
}) => Ce({
|
|
2031
2055
|
base: !1,
|
|
2032
2056
|
tablet: !1,
|
|
2033
2057
|
largeTablet: !0,
|
|
@@ -2038,15 +2062,15 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
2038
2062
|
T,
|
|
2039
2063
|
{ gap: 120, children: n.map(
|
|
2040
2064
|
({ title: u, links: f }) => /* @__PURE__ */ t.jsx(
|
|
2041
|
-
|
|
2065
|
+
ur,
|
|
2042
2066
|
{
|
|
2043
2067
|
footerTheme: i,
|
|
2044
2068
|
title: u,
|
|
2045
2069
|
links: /* @__PURE__ */ t.jsx(
|
|
2046
|
-
|
|
2070
|
+
St,
|
|
2047
2071
|
{
|
|
2048
2072
|
links: f,
|
|
2049
|
-
linkComponent:
|
|
2073
|
+
linkComponent: r,
|
|
2050
2074
|
onLinkClick: s,
|
|
2051
2075
|
footerTheme: i
|
|
2052
2076
|
}
|
|
@@ -2057,7 +2081,7 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
2057
2081
|
) }
|
|
2058
2082
|
) }
|
|
2059
2083
|
) : /* @__PURE__ */ t.jsx(
|
|
2060
|
-
|
|
2084
|
+
sn,
|
|
2061
2085
|
{
|
|
2062
2086
|
allowMultiple: !0,
|
|
2063
2087
|
defaultIndex: [0],
|
|
@@ -2066,14 +2090,14 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
2066
2090
|
flexDirection: "column",
|
|
2067
2091
|
children: n.map(
|
|
2068
2092
|
({ title: u, links: f }, d) => /* @__PURE__ */ t.jsx(
|
|
2069
|
-
|
|
2093
|
+
cr,
|
|
2070
2094
|
{
|
|
2071
2095
|
title: u,
|
|
2072
2096
|
links: /* @__PURE__ */ t.jsx(
|
|
2073
|
-
|
|
2097
|
+
St,
|
|
2074
2098
|
{
|
|
2075
2099
|
links: f,
|
|
2076
|
-
linkComponent:
|
|
2100
|
+
linkComponent: r,
|
|
2077
2101
|
onLinkClick: s,
|
|
2078
2102
|
footerTheme: i
|
|
2079
2103
|
}
|
|
@@ -2084,25 +2108,25 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
2084
2108
|
)
|
|
2085
2109
|
)
|
|
2086
2110
|
}
|
|
2087
|
-
),
|
|
2088
|
-
instagram:
|
|
2089
|
-
linkedin:
|
|
2090
|
-
facebook:
|
|
2091
|
-
tiktok:
|
|
2092
|
-
x:
|
|
2093
|
-
},
|
|
2111
|
+
), kt = {
|
|
2112
|
+
instagram: $n,
|
|
2113
|
+
linkedin: Fn,
|
|
2114
|
+
facebook: Hn,
|
|
2115
|
+
tiktok: Bn,
|
|
2116
|
+
x: zn
|
|
2117
|
+
}, fr = ({
|
|
2094
2118
|
socialLinks: n,
|
|
2095
|
-
onEmailSubmit:
|
|
2119
|
+
onEmailSubmit: r,
|
|
2096
2120
|
socialMediaLabel: s,
|
|
2097
2121
|
newsletterLabel: i,
|
|
2098
2122
|
onLinkClick: c,
|
|
2099
2123
|
showNewsletter: u = !0,
|
|
2100
2124
|
footerTheme: f
|
|
2101
2125
|
}) => {
|
|
2102
|
-
const d = f === "dark", [g,
|
|
2103
|
-
g &&
|
|
2126
|
+
const d = f === "dark", [g, p] = se.useState(""), h = () => {
|
|
2127
|
+
g && r && (r(g), p(""));
|
|
2104
2128
|
}, C = (v) => {
|
|
2105
|
-
v.key === "Enter" &&
|
|
2129
|
+
v.key === "Enter" && h();
|
|
2106
2130
|
}, E = (v) => {
|
|
2107
2131
|
c && c(v);
|
|
2108
2132
|
};
|
|
@@ -2122,10 +2146,10 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
2122
2146
|
}
|
|
2123
2147
|
),
|
|
2124
2148
|
/* @__PURE__ */ t.jsxs(
|
|
2125
|
-
|
|
2149
|
+
fn,
|
|
2126
2150
|
{ children: [
|
|
2127
2151
|
/* @__PURE__ */ t.jsx(
|
|
2128
|
-
|
|
2152
|
+
pn,
|
|
2129
2153
|
{
|
|
2130
2154
|
"aria-label": "Email address",
|
|
2131
2155
|
type: "email",
|
|
@@ -2141,22 +2165,22 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
2141
2165
|
height: "52px",
|
|
2142
2166
|
pr: "48px",
|
|
2143
2167
|
value: g,
|
|
2144
|
-
onChange: (v) =>
|
|
2168
|
+
onChange: (v) => p(v.target.value),
|
|
2145
2169
|
onKeyPress: C
|
|
2146
2170
|
}
|
|
2147
2171
|
),
|
|
2148
2172
|
/* @__PURE__ */ t.jsx(
|
|
2149
|
-
|
|
2173
|
+
hn,
|
|
2150
2174
|
{ h: "52px", pr: 4, children: /* @__PURE__ */ t.jsx(
|
|
2151
|
-
|
|
2175
|
+
Ee,
|
|
2152
2176
|
{
|
|
2153
|
-
as:
|
|
2177
|
+
as: Mn,
|
|
2154
2178
|
color: d ? "viridian.lighter" : "viridian.base",
|
|
2155
2179
|
width: "24px",
|
|
2156
2180
|
height: "24px",
|
|
2157
2181
|
opacity: 0.66,
|
|
2158
2182
|
cursor: "pointer",
|
|
2159
|
-
onClick:
|
|
2183
|
+
onClick: h,
|
|
2160
2184
|
"data-testid": "arrow-right-icon",
|
|
2161
2185
|
role: "button",
|
|
2162
2186
|
"aria-label": "Submit"
|
|
@@ -2190,10 +2214,10 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
2190
2214
|
rel: "noopener noreferrer",
|
|
2191
2215
|
"aria-label": v.name,
|
|
2192
2216
|
onClick: () => E(v.name),
|
|
2193
|
-
children:
|
|
2194
|
-
|
|
2217
|
+
children: kt[v.name.toLowerCase()] && /* @__PURE__ */ t.jsx(
|
|
2218
|
+
Ee,
|
|
2195
2219
|
{
|
|
2196
|
-
as:
|
|
2220
|
+
as: kt[v.name.toLowerCase()],
|
|
2197
2221
|
color: d ? "white" : "viridian.base",
|
|
2198
2222
|
width: ["48px", null, "24px", null],
|
|
2199
2223
|
height: ["48px", null, "24px", null]
|
|
@@ -2208,31 +2232,31 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
2208
2232
|
)
|
|
2209
2233
|
] }
|
|
2210
2234
|
);
|
|
2211
|
-
},
|
|
2235
|
+
}, pr = ({
|
|
2212
2236
|
links: n,
|
|
2213
|
-
linkComponent:
|
|
2237
|
+
linkComponent: r,
|
|
2214
2238
|
onLinkClick: s,
|
|
2215
2239
|
footerTheme: i
|
|
2216
2240
|
}) => {
|
|
2217
|
-
const c =
|
|
2241
|
+
const c = r || le, u = i === "dark", [f, d] = se.useState(() => (/* @__PURE__ */ new Date()).getFullYear());
|
|
2218
2242
|
se.useEffect(() => {
|
|
2219
2243
|
d((/* @__PURE__ */ new Date()).getFullYear());
|
|
2220
2244
|
}, []);
|
|
2221
|
-
const g = (
|
|
2222
|
-
s && s(
|
|
2223
|
-
},
|
|
2224
|
-
(
|
|
2245
|
+
const g = (h) => {
|
|
2246
|
+
s && s(h);
|
|
2247
|
+
}, p = n == null ? void 0 : n.map(
|
|
2248
|
+
(h) => /* @__PURE__ */ t.jsx(
|
|
2225
2249
|
z,
|
|
2226
2250
|
{
|
|
2227
2251
|
as: c,
|
|
2228
2252
|
color: u ? "viridian.lighter" : "viridian.base",
|
|
2229
2253
|
size: "sm",
|
|
2230
2254
|
_hover: { color: u ? "white" : "viridian.lighter", textDecoration: "none" },
|
|
2231
|
-
onClick: () => g(
|
|
2232
|
-
...
|
|
2233
|
-
children:
|
|
2255
|
+
onClick: () => g(h.label),
|
|
2256
|
+
...Se(h.href, !!r),
|
|
2257
|
+
children: h.label
|
|
2234
2258
|
},
|
|
2235
|
-
|
|
2259
|
+
h.label
|
|
2236
2260
|
)
|
|
2237
2261
|
);
|
|
2238
2262
|
return /* @__PURE__ */ t.jsxs(
|
|
@@ -2250,7 +2274,7 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
2250
2274
|
flexWrap: "wrap",
|
|
2251
2275
|
gap: [4, 6, 10],
|
|
2252
2276
|
width: ["100%", "auto"],
|
|
2253
|
-
children:
|
|
2277
|
+
children: p
|
|
2254
2278
|
}
|
|
2255
2279
|
),
|
|
2256
2280
|
/* @__PURE__ */ t.jsxs(
|
|
@@ -2267,9 +2291,9 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
2267
2291
|
]
|
|
2268
2292
|
}
|
|
2269
2293
|
);
|
|
2270
|
-
},
|
|
2294
|
+
}, kr = se.forwardRef(({
|
|
2271
2295
|
navigationSections: n = [],
|
|
2272
|
-
disclaimer:
|
|
2296
|
+
disclaimer: r,
|
|
2273
2297
|
newsletterLabel: s,
|
|
2274
2298
|
socialMediaLabel: i,
|
|
2275
2299
|
socialLinks: c,
|
|
@@ -2277,8 +2301,8 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
2277
2301
|
linkComponent: f,
|
|
2278
2302
|
onEmailSubmit: d,
|
|
2279
2303
|
additionalContent: g,
|
|
2280
|
-
onLinkClick:
|
|
2281
|
-
onSocialMediaClick:
|
|
2304
|
+
onLinkClick: p,
|
|
2305
|
+
onSocialMediaClick: h,
|
|
2282
2306
|
showNewsletter: C = !0,
|
|
2283
2307
|
footerTheme: E = "dark"
|
|
2284
2308
|
}, v) => {
|
|
@@ -2292,7 +2316,7 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
2292
2316
|
px: [4, 6],
|
|
2293
2317
|
ref: v,
|
|
2294
2318
|
children: /* @__PURE__ */ t.jsxs(
|
|
2295
|
-
|
|
2319
|
+
gn,
|
|
2296
2320
|
{ size: "fluid", children: [
|
|
2297
2321
|
/* @__PURE__ */ t.jsxs(
|
|
2298
2322
|
T,
|
|
@@ -2300,10 +2324,10 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
2300
2324
|
/* @__PURE__ */ t.jsx(
|
|
2301
2325
|
R,
|
|
2302
2326
|
{ children: /* @__PURE__ */ t.jsx(
|
|
2303
|
-
|
|
2327
|
+
Mt,
|
|
2304
2328
|
{
|
|
2305
2329
|
width: ["150px", "202px"],
|
|
2306
|
-
color: w ? "white" :
|
|
2330
|
+
color: w ? "white" : Y.colors.viridian.base
|
|
2307
2331
|
}
|
|
2308
2332
|
) }
|
|
2309
2333
|
),
|
|
@@ -2316,22 +2340,22 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
2316
2340
|
gap: [8, 8, 8, 0],
|
|
2317
2341
|
children: [
|
|
2318
2342
|
/* @__PURE__ */ t.jsx(
|
|
2319
|
-
|
|
2343
|
+
dr,
|
|
2320
2344
|
{
|
|
2321
2345
|
sections: n,
|
|
2322
2346
|
linkComponent: f,
|
|
2323
|
-
onLinkClick:
|
|
2347
|
+
onLinkClick: p,
|
|
2324
2348
|
footerTheme: E
|
|
2325
2349
|
}
|
|
2326
2350
|
),
|
|
2327
2351
|
/* @__PURE__ */ t.jsx(
|
|
2328
|
-
|
|
2352
|
+
fr,
|
|
2329
2353
|
{
|
|
2330
2354
|
socialLinks: c,
|
|
2331
2355
|
newsletterLabel: s,
|
|
2332
2356
|
socialMediaLabel: i,
|
|
2333
2357
|
onEmailSubmit: d,
|
|
2334
|
-
onLinkClick:
|
|
2358
|
+
onLinkClick: h,
|
|
2335
2359
|
showNewsletter: C,
|
|
2336
2360
|
footerTheme: E
|
|
2337
2361
|
}
|
|
@@ -2348,13 +2372,13 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
2348
2372
|
align: ["flex-start", "flex-start", "center"],
|
|
2349
2373
|
gap: [6, 6, 0],
|
|
2350
2374
|
children: [
|
|
2351
|
-
typeof
|
|
2375
|
+
typeof r == "string" ? /* @__PURE__ */ t.jsx(
|
|
2352
2376
|
z,
|
|
2353
2377
|
{
|
|
2354
2378
|
color: w ? "viridian.lighter" : "tints.uiGrey",
|
|
2355
2379
|
fontSize: "sm",
|
|
2356
2380
|
maxWidth: ["100%", "100%", "1024px"],
|
|
2357
|
-
dangerouslySetInnerHTML: { __html:
|
|
2381
|
+
dangerouslySetInnerHTML: { __html: Kn(r) },
|
|
2358
2382
|
sx: {
|
|
2359
2383
|
"a:hover": {
|
|
2360
2384
|
color: w ? "viridian.light" : "viridian.base",
|
|
@@ -2362,7 +2386,7 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
2362
2386
|
}
|
|
2363
2387
|
}
|
|
2364
2388
|
}
|
|
2365
|
-
) :
|
|
2389
|
+
) : r,
|
|
2366
2390
|
g
|
|
2367
2391
|
]
|
|
2368
2392
|
}
|
|
@@ -2373,17 +2397,17 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
2373
2397
|
R,
|
|
2374
2398
|
{
|
|
2375
2399
|
borderTop: "1px solid",
|
|
2376
|
-
borderColor: w ? `${
|
|
2400
|
+
borderColor: w ? `${Y.colors.viridian.lighter}20` : "tints.darkCream",
|
|
2377
2401
|
marginTop: "10",
|
|
2378
2402
|
marginBottom: "8"
|
|
2379
2403
|
}
|
|
2380
2404
|
),
|
|
2381
2405
|
/* @__PURE__ */ t.jsx(
|
|
2382
|
-
|
|
2406
|
+
pr,
|
|
2383
2407
|
{
|
|
2384
2408
|
links: u,
|
|
2385
2409
|
linkComponent: f,
|
|
2386
|
-
onLinkClick:
|
|
2410
|
+
onLinkClick: p,
|
|
2387
2411
|
footerTheme: E
|
|
2388
2412
|
}
|
|
2389
2413
|
)
|
|
@@ -2391,25 +2415,25 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
2391
2415
|
)
|
|
2392
2416
|
}
|
|
2393
2417
|
);
|
|
2394
|
-
}),
|
|
2395
|
-
Container:
|
|
2396
|
-
Overlay:
|
|
2397
|
-
Content:
|
|
2398
|
-
Header:
|
|
2399
|
-
Body:
|
|
2400
|
-
Footer:
|
|
2401
|
-
CloseButton:
|
|
2418
|
+
}), hr = (n) => n ? {
|
|
2419
|
+
Container: Tt,
|
|
2420
|
+
Overlay: Dt,
|
|
2421
|
+
Content: _t,
|
|
2422
|
+
Header: It,
|
|
2423
|
+
Body: Lt,
|
|
2424
|
+
Footer: xn,
|
|
2425
|
+
CloseButton: vn
|
|
2402
2426
|
} : {
|
|
2403
|
-
Container:
|
|
2404
|
-
Overlay:
|
|
2405
|
-
Content:
|
|
2406
|
-
Header:
|
|
2407
|
-
Body:
|
|
2408
|
-
Footer:
|
|
2409
|
-
CloseButton:
|
|
2410
|
-
},
|
|
2427
|
+
Container: bn,
|
|
2428
|
+
Overlay: mn,
|
|
2429
|
+
Content: wn,
|
|
2430
|
+
Header: yn,
|
|
2431
|
+
Body: jn,
|
|
2432
|
+
Footer: Cn,
|
|
2433
|
+
CloseButton: En
|
|
2434
|
+
}, Rr = ({
|
|
2411
2435
|
isOpen: n,
|
|
2412
|
-
onClose:
|
|
2436
|
+
onClose: r,
|
|
2413
2437
|
children: s,
|
|
2414
2438
|
header: i,
|
|
2415
2439
|
footer: c,
|
|
@@ -2417,10 +2441,10 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
2417
2441
|
bodyProps: f,
|
|
2418
2442
|
footerProps: d,
|
|
2419
2443
|
contentProps: g,
|
|
2420
|
-
...
|
|
2444
|
+
...p
|
|
2421
2445
|
}) => {
|
|
2422
2446
|
var y, A, H, U, te;
|
|
2423
|
-
const [
|
|
2447
|
+
const [h] = tt(`(max-width: ${Y.breakpoints.tablet})`), C = (te = (U = (H = (A = (y = Y) == 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, {
|
|
2424
2448
|
Container: E,
|
|
2425
2449
|
Overlay: v,
|
|
2426
2450
|
Content: w,
|
|
@@ -2428,25 +2452,25 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
2428
2452
|
Body: b,
|
|
2429
2453
|
Footer: $,
|
|
2430
2454
|
CloseButton: S
|
|
2431
|
-
} =
|
|
2455
|
+
} = hr(h);
|
|
2432
2456
|
return /* @__PURE__ */ t.jsxs(
|
|
2433
2457
|
E,
|
|
2434
2458
|
{
|
|
2435
|
-
...
|
|
2459
|
+
...p,
|
|
2436
2460
|
isOpen: n,
|
|
2437
|
-
onClose:
|
|
2461
|
+
onClose: r,
|
|
2438
2462
|
size: "xl",
|
|
2439
|
-
...
|
|
2463
|
+
...h ? { placement: "bottom" } : {},
|
|
2440
2464
|
children: [
|
|
2441
2465
|
/* @__PURE__ */ t.jsx(v, { backdropFilter: "auto", backgroundColor: C }),
|
|
2442
2466
|
/* @__PURE__ */ t.jsxs(
|
|
2443
2467
|
w,
|
|
2444
2468
|
{
|
|
2445
2469
|
backgroundColor: "tints.white",
|
|
2446
|
-
borderRadius:
|
|
2470
|
+
borderRadius: h ? "20px 20px 0 0" : "20px",
|
|
2447
2471
|
overflowY: "auto",
|
|
2448
2472
|
gap: 0,
|
|
2449
|
-
...i &&
|
|
2473
|
+
...i && h && { paddingTop: 0 },
|
|
2450
2474
|
...g,
|
|
2451
2475
|
children: [
|
|
2452
2476
|
/* @__PURE__ */ t.jsxs(
|
|
@@ -2464,7 +2488,7 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
2464
2488
|
zIndex: "modal",
|
|
2465
2489
|
backgroundColor: "tints.white",
|
|
2466
2490
|
paddingInline: 4,
|
|
2467
|
-
...
|
|
2491
|
+
...h ? { paddingBlock: 4 } : { paddingTop: 6, paddingBlockEnd: 2 },
|
|
2468
2492
|
...u,
|
|
2469
2493
|
children: [
|
|
2470
2494
|
i,
|
|
@@ -2480,7 +2504,7 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
2480
2504
|
fontSize: "1rem"
|
|
2481
2505
|
}
|
|
2482
2506
|
},
|
|
2483
|
-
children: /* @__PURE__ */ t.jsx(
|
|
2507
|
+
children: /* @__PURE__ */ t.jsx(Ee, { as: Pt, weight: "light" })
|
|
2484
2508
|
}
|
|
2485
2509
|
)
|
|
2486
2510
|
]
|
|
@@ -2504,18 +2528,18 @@ const Je = 60, mt = 6, Nn = (n) => {
|
|
|
2504
2528
|
);
|
|
2505
2529
|
};
|
|
2506
2530
|
export {
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2531
|
+
Cr as BasketButton,
|
|
2532
|
+
jr as CategoryLabel,
|
|
2533
|
+
Rr as DrawerModal,
|
|
2534
|
+
kr as Footer,
|
|
2535
|
+
Jn as NavButton,
|
|
2536
|
+
Er as NavSkeleton,
|
|
2537
|
+
et as NavbarDrawer,
|
|
2538
|
+
ze as NavbarDrawerLink,
|
|
2539
|
+
Sr as NavigationBar,
|
|
2540
|
+
Qn as SpotlightCard,
|
|
2541
|
+
yr as Stepper,
|
|
2542
|
+
rt as TopNavIconButton,
|
|
2543
|
+
qn as TopNavigation,
|
|
2544
|
+
lr as useNavigationBar
|
|
2521
2545
|
};
|