@everlywell/consumer-ui 1.32.0 → 1.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +10 -10
- package/index.mjs +578 -567
- package/lib/components/Navbar/NavButton/NavButton.d.ts.map +1 -1
- package/lib/components/Navbar/NavigationBar/NavigationBar.builder.d.ts +2 -2
- package/lib/components/Navbar/NavigationBar/NavigationBar.builder.d.ts.map +1 -1
- package/lib/components/Navbar/NavigationBar/NavigationBar.d.ts +6 -4
- package/lib/components/Navbar/NavigationBar/NavigationBar.d.ts.map +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { useSteps as Wt, Box as
|
|
2
|
-
import
|
|
3
|
-
import { Text as qt, useBreakpointValue as mt, InputGroup as Qt, Input as
|
|
4
|
-
import { CaretRight as
|
|
5
|
-
import { motion as
|
|
6
|
-
var
|
|
1
|
+
import { useSteps as Wt, Box as y, Stepper as Mt, Icon as se, Flex as D, Text as K, Link as z, Button as gt, Image as Bt, IconButton as Vt, VStack as Nt, Skeleton as Ne, HStack as st, SkeletonCircle as Oe, DrawerContent as Yt, DrawerOverlay as zt, Drawer as Ut, DrawerHeader as Gt, DrawerBody as Zt, Grid as Kt, GridItem as Xt } from "@everlywell/ui-kit";
|
|
2
|
+
import Ke, { useEffect as q, forwardRef as xt, useRef as Jt, useCallback as bt, useState as W } from "react";
|
|
3
|
+
import { Text as qt, useBreakpointValue as mt, InputGroup as Qt, Input as er, InputRightElement as tr, Icon as rr } from "@chakra-ui/react";
|
|
4
|
+
import { CaretRight as ut, MagnifyingGlass as jt, List as nr, Basket as lr, CaretLeft as ar, X as ir, User as ct, QrCode as or } from "@phosphor-icons/react";
|
|
5
|
+
import { motion as Xe, AnimatePresence as sr } from "framer-motion";
|
|
6
|
+
var Ge = { exports: {} }, we = {};
|
|
7
7
|
/**
|
|
8
8
|
* @license React
|
|
9
9
|
* react-jsx-runtime.production.min.js
|
|
@@ -13,25 +13,25 @@ var Ue = { exports: {} }, Ce = {};
|
|
|
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
|
-
return
|
|
20
|
-
|
|
21
|
-
var l =
|
|
22
|
-
function m(R, c,
|
|
23
|
-
var s,
|
|
24
|
-
|
|
16
|
+
var dt;
|
|
17
|
+
function ur() {
|
|
18
|
+
if (dt)
|
|
19
|
+
return we;
|
|
20
|
+
dt = 1;
|
|
21
|
+
var l = Ke, o = Symbol.for("react.element"), p = Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, w = l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
22
|
+
function m(R, c, b) {
|
|
23
|
+
var s, j = {}, v = null, u = null;
|
|
24
|
+
b !== void 0 && (v = "" + b), c.key !== void 0 && (v = "" + c.key), c.ref !== void 0 && (u = c.ref);
|
|
25
25
|
for (s in c)
|
|
26
|
-
d.call(c, s) && !
|
|
26
|
+
d.call(c, s) && !g.hasOwnProperty(s) && (j[s] = c[s]);
|
|
27
27
|
if (R && R.defaultProps)
|
|
28
28
|
for (s in c = R.defaultProps, c)
|
|
29
|
-
|
|
30
|
-
return { $$typeof: o, type: R, key:
|
|
29
|
+
j[s] === void 0 && (j[s] = c[s]);
|
|
30
|
+
return { $$typeof: o, type: R, key: v, ref: u, props: j, _owner: w.current };
|
|
31
31
|
}
|
|
32
|
-
return
|
|
32
|
+
return we.Fragment = p, we.jsx = m, we.jsxs = m, we;
|
|
33
33
|
}
|
|
34
|
-
var
|
|
34
|
+
var ye = {};
|
|
35
35
|
/**
|
|
36
36
|
* @license React
|
|
37
37
|
* react-jsx-runtime.development.js
|
|
@@ -41,54 +41,54 @@ var je = {};
|
|
|
41
41
|
* This source code is licensed under the MIT license found in the
|
|
42
42
|
* LICENSE file in the root directory of this source tree.
|
|
43
43
|
*/
|
|
44
|
-
var
|
|
45
|
-
function
|
|
46
|
-
return
|
|
47
|
-
var l =
|
|
44
|
+
var ft;
|
|
45
|
+
function cr() {
|
|
46
|
+
return ft || (ft = 1, process.env.NODE_ENV !== "production" && function() {
|
|
47
|
+
var l = Ke, o = Symbol.for("react.element"), p = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), w = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), m = Symbol.for("react.provider"), R = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), s = Symbol.for("react.suspense_list"), j = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), u = Symbol.for("react.offscreen"), O = Symbol.iterator, M = "@@iterator";
|
|
48
48
|
function Q(e) {
|
|
49
49
|
if (e === null || typeof e != "object")
|
|
50
50
|
return null;
|
|
51
|
-
var
|
|
52
|
-
return typeof
|
|
51
|
+
var r = O && e[O] || e[M];
|
|
52
|
+
return typeof r == "function" ? r : null;
|
|
53
53
|
}
|
|
54
54
|
var F = l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
55
55
|
function _(e) {
|
|
56
56
|
{
|
|
57
|
-
for (var
|
|
58
|
-
|
|
59
|
-
|
|
57
|
+
for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++)
|
|
58
|
+
n[i - 1] = arguments[i];
|
|
59
|
+
ce("error", e, n);
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function ce(e, r, n) {
|
|
63
63
|
{
|
|
64
|
-
var i = F.ReactDebugCurrentFrame,
|
|
65
|
-
|
|
66
|
-
var C =
|
|
64
|
+
var i = F.ReactDebugCurrentFrame, x = i.getStackAddendum();
|
|
65
|
+
x !== "" && (r += "%s", n = n.concat([x]));
|
|
66
|
+
var C = n.map(function(h) {
|
|
67
67
|
return String(h);
|
|
68
68
|
});
|
|
69
|
-
C.unshift("Warning: " +
|
|
69
|
+
C.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, C);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
var
|
|
73
|
-
|
|
72
|
+
var de = !1, fe = !1, H = !1, ee = !1, B = !1, E;
|
|
73
|
+
E = Symbol.for("react.module.reference");
|
|
74
74
|
function V(e) {
|
|
75
|
-
return !!(typeof e == "string" || typeof e == "function" || e === d || e ===
|
|
75
|
+
return !!(typeof e == "string" || typeof e == "function" || e === d || e === g || B || e === w || e === b || e === s || ee || e === u || de || fe || H || typeof e == "object" && e !== null && (e.$$typeof === v || e.$$typeof === j || e.$$typeof === m || e.$$typeof === R || e.$$typeof === c || // This needs to include all possible module reference object
|
|
76
76
|
// types supported by any Flight configuration anywhere since
|
|
77
77
|
// we don't know which Flight build this will end up being used
|
|
78
78
|
// with.
|
|
79
|
-
e.$$typeof ===
|
|
79
|
+
e.$$typeof === E || e.getModuleId !== void 0));
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function Ee(e, r, n) {
|
|
82
82
|
var i = e.displayName;
|
|
83
83
|
if (i)
|
|
84
84
|
return i;
|
|
85
|
-
var
|
|
86
|
-
return
|
|
85
|
+
var x = r.displayName || r.name || "";
|
|
86
|
+
return x !== "" ? n + "(" + x + ")" : n;
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function pe(e) {
|
|
89
89
|
return e.displayName || "Context";
|
|
90
90
|
}
|
|
91
|
-
function
|
|
91
|
+
function A(e) {
|
|
92
92
|
if (e == null)
|
|
93
93
|
return null;
|
|
94
94
|
if (typeof e.tag == "number" && _("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -100,11 +100,11 @@ function dn() {
|
|
|
100
100
|
return "Fragment";
|
|
101
101
|
case p:
|
|
102
102
|
return "Portal";
|
|
103
|
-
case
|
|
103
|
+
case g:
|
|
104
104
|
return "Profiler";
|
|
105
|
-
case
|
|
105
|
+
case w:
|
|
106
106
|
return "StrictMode";
|
|
107
|
-
case
|
|
107
|
+
case b:
|
|
108
108
|
return "Suspense";
|
|
109
109
|
case s:
|
|
110
110
|
return "SuspenseList";
|
|
@@ -112,20 +112,20 @@ function dn() {
|
|
|
112
112
|
if (typeof e == "object")
|
|
113
113
|
switch (e.$$typeof) {
|
|
114
114
|
case R:
|
|
115
|
-
var n = e;
|
|
116
|
-
return de(n) + ".Consumer";
|
|
117
|
-
case m:
|
|
118
115
|
var r = e;
|
|
119
|
-
return
|
|
116
|
+
return pe(r) + ".Consumer";
|
|
117
|
+
case m:
|
|
118
|
+
var n = e;
|
|
119
|
+
return pe(n._context) + ".Provider";
|
|
120
120
|
case c:
|
|
121
|
-
return
|
|
122
|
-
case
|
|
121
|
+
return Ee(e, e.render, "ForwardRef");
|
|
122
|
+
case j:
|
|
123
123
|
var i = e.displayName || null;
|
|
124
|
-
return i !== null ? i :
|
|
125
|
-
case
|
|
126
|
-
var
|
|
124
|
+
return i !== null ? i : A(e.type) || "Memo";
|
|
125
|
+
case v: {
|
|
126
|
+
var x = e, C = x._payload, h = x._init;
|
|
127
127
|
try {
|
|
128
|
-
return
|
|
128
|
+
return A(h(C));
|
|
129
129
|
} catch {
|
|
130
130
|
return null;
|
|
131
131
|
}
|
|
@@ -133,14 +133,14 @@ function dn() {
|
|
|
133
133
|
}
|
|
134
134
|
return null;
|
|
135
135
|
}
|
|
136
|
-
var N = Object.assign, Y = 0,
|
|
136
|
+
var N = Object.assign, Y = 0, Re, _e, te, Se, he, re, Te;
|
|
137
137
|
function ke() {
|
|
138
138
|
}
|
|
139
139
|
ke.__reactDisabledLog = !0;
|
|
140
|
-
function
|
|
140
|
+
function ve() {
|
|
141
141
|
{
|
|
142
142
|
if (Y === 0) {
|
|
143
|
-
|
|
143
|
+
Re = console.log, _e = console.info, te = console.warn, Se = console.error, he = console.group, re = console.groupCollapsed, Te = console.groupEnd;
|
|
144
144
|
var e = {
|
|
145
145
|
configurable: !0,
|
|
146
146
|
enumerable: !0,
|
|
@@ -160,7 +160,7 @@ function dn() {
|
|
|
160
160
|
Y++;
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
|
-
function
|
|
163
|
+
function U() {
|
|
164
164
|
{
|
|
165
165
|
if (Y--, Y === 0) {
|
|
166
166
|
var e = {
|
|
@@ -170,66 +170,66 @@ function dn() {
|
|
|
170
170
|
};
|
|
171
171
|
Object.defineProperties(console, {
|
|
172
172
|
log: N({}, e, {
|
|
173
|
-
value:
|
|
173
|
+
value: Re
|
|
174
174
|
}),
|
|
175
175
|
info: N({}, e, {
|
|
176
|
-
value:
|
|
176
|
+
value: _e
|
|
177
177
|
}),
|
|
178
178
|
warn: N({}, e, {
|
|
179
179
|
value: te
|
|
180
180
|
}),
|
|
181
181
|
error: N({}, e, {
|
|
182
|
-
value:
|
|
182
|
+
value: Se
|
|
183
183
|
}),
|
|
184
184
|
group: N({}, e, {
|
|
185
|
-
value:
|
|
185
|
+
value: he
|
|
186
186
|
}),
|
|
187
187
|
groupCollapsed: N({}, e, {
|
|
188
|
-
value:
|
|
188
|
+
value: re
|
|
189
189
|
}),
|
|
190
190
|
groupEnd: N({}, e, {
|
|
191
|
-
value:
|
|
191
|
+
value: Te
|
|
192
192
|
})
|
|
193
193
|
});
|
|
194
194
|
}
|
|
195
195
|
Y < 0 && _("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
196
196
|
}
|
|
197
197
|
}
|
|
198
|
-
var
|
|
199
|
-
function ne(e,
|
|
198
|
+
var ge = F.ReactCurrentDispatcher, xe;
|
|
199
|
+
function ne(e, r, n) {
|
|
200
200
|
{
|
|
201
|
-
if (
|
|
201
|
+
if (xe === void 0)
|
|
202
202
|
try {
|
|
203
203
|
throw Error();
|
|
204
|
-
} catch (
|
|
205
|
-
var i =
|
|
206
|
-
|
|
204
|
+
} catch (x) {
|
|
205
|
+
var i = x.stack.trim().match(/\n( *(at )?)/);
|
|
206
|
+
xe = i && i[1] || "";
|
|
207
207
|
}
|
|
208
208
|
return `
|
|
209
|
-
` +
|
|
209
|
+
` + xe + e;
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var be = !1, le;
|
|
213
213
|
{
|
|
214
214
|
var Ie = typeof WeakMap == "function" ? WeakMap : Map;
|
|
215
|
-
|
|
215
|
+
le = new Ie();
|
|
216
216
|
}
|
|
217
|
-
function
|
|
218
|
-
if (!e ||
|
|
217
|
+
function De(e, r) {
|
|
218
|
+
if (!e || be)
|
|
219
219
|
return "";
|
|
220
220
|
{
|
|
221
|
-
var
|
|
222
|
-
if (
|
|
223
|
-
return
|
|
221
|
+
var n = le.get(e);
|
|
222
|
+
if (n !== void 0)
|
|
223
|
+
return n;
|
|
224
224
|
}
|
|
225
225
|
var i;
|
|
226
|
-
|
|
227
|
-
var
|
|
226
|
+
be = !0;
|
|
227
|
+
var x = Error.prepareStackTrace;
|
|
228
228
|
Error.prepareStackTrace = void 0;
|
|
229
229
|
var C;
|
|
230
|
-
C =
|
|
230
|
+
C = ge.current, ge.current = null, ve();
|
|
231
231
|
try {
|
|
232
|
-
if (
|
|
232
|
+
if (r) {
|
|
233
233
|
var h = function() {
|
|
234
234
|
throw Error();
|
|
235
235
|
};
|
|
@@ -240,67 +240,67 @@ function dn() {
|
|
|
240
240
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
241
241
|
try {
|
|
242
242
|
Reflect.construct(h, []);
|
|
243
|
-
} catch (
|
|
244
|
-
i =
|
|
243
|
+
} catch (I) {
|
|
244
|
+
i = I;
|
|
245
245
|
}
|
|
246
246
|
Reflect.construct(e, [], h);
|
|
247
247
|
} else {
|
|
248
248
|
try {
|
|
249
249
|
h.call();
|
|
250
|
-
} catch (
|
|
251
|
-
i =
|
|
250
|
+
} catch (I) {
|
|
251
|
+
i = I;
|
|
252
252
|
}
|
|
253
253
|
e.call(h.prototype);
|
|
254
254
|
}
|
|
255
255
|
} else {
|
|
256
256
|
try {
|
|
257
257
|
throw Error();
|
|
258
|
-
} catch (
|
|
259
|
-
i =
|
|
258
|
+
} catch (I) {
|
|
259
|
+
i = I;
|
|
260
260
|
}
|
|
261
261
|
e();
|
|
262
262
|
}
|
|
263
|
-
} catch (
|
|
264
|
-
if (
|
|
265
|
-
for (var f =
|
|
266
|
-
`),
|
|
267
|
-
`), S = f.length - 1,
|
|
268
|
-
|
|
269
|
-
for (; S >= 1 &&
|
|
270
|
-
if (f[S] !==
|
|
271
|
-
if (S !== 1 ||
|
|
263
|
+
} catch (I) {
|
|
264
|
+
if (I && i && typeof I.stack == "string") {
|
|
265
|
+
for (var f = I.stack.split(`
|
|
266
|
+
`), L = i.stack.split(`
|
|
267
|
+
`), S = f.length - 1, T = L.length - 1; S >= 1 && T >= 0 && f[S] !== L[T]; )
|
|
268
|
+
T--;
|
|
269
|
+
for (; S >= 1 && T >= 0; S--, T--)
|
|
270
|
+
if (f[S] !== L[T]) {
|
|
271
|
+
if (S !== 1 || T !== 1)
|
|
272
272
|
do
|
|
273
|
-
if (S--,
|
|
273
|
+
if (S--, T--, T < 0 || f[S] !== L[T]) {
|
|
274
274
|
var $ = `
|
|
275
275
|
` + f[S].replace(" at new ", " at ");
|
|
276
|
-
return e.displayName && $.includes("<anonymous>") && ($ = $.replace("<anonymous>", e.displayName)), typeof e == "function" &&
|
|
276
|
+
return e.displayName && $.includes("<anonymous>") && ($ = $.replace("<anonymous>", e.displayName)), typeof e == "function" && le.set(e, $), $;
|
|
277
277
|
}
|
|
278
|
-
while (S >= 1 &&
|
|
278
|
+
while (S >= 1 && T >= 0);
|
|
279
279
|
break;
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
282
|
} finally {
|
|
283
|
-
|
|
283
|
+
be = !1, ge.current = C, U(), Error.prepareStackTrace = x;
|
|
284
284
|
}
|
|
285
|
-
var
|
|
286
|
-
return typeof e == "function" &&
|
|
285
|
+
var oe = e ? e.displayName || e.name : "", J = oe ? ne(oe) : "";
|
|
286
|
+
return typeof e == "function" && le.set(e, J), J;
|
|
287
287
|
}
|
|
288
|
-
function Ae(e,
|
|
289
|
-
return
|
|
288
|
+
function Ae(e, r, n) {
|
|
289
|
+
return De(e, !1);
|
|
290
290
|
}
|
|
291
291
|
function Fe(e) {
|
|
292
|
-
var
|
|
293
|
-
return !!(
|
|
292
|
+
var r = e.prototype;
|
|
293
|
+
return !!(r && r.isReactComponent);
|
|
294
294
|
}
|
|
295
|
-
function
|
|
295
|
+
function ae(e, r, n) {
|
|
296
296
|
if (e == null)
|
|
297
297
|
return "";
|
|
298
298
|
if (typeof e == "function")
|
|
299
|
-
return
|
|
299
|
+
return De(e, Fe(e));
|
|
300
300
|
if (typeof e == "string")
|
|
301
301
|
return ne(e);
|
|
302
302
|
switch (e) {
|
|
303
|
-
case
|
|
303
|
+
case b:
|
|
304
304
|
return ne("Suspense");
|
|
305
305
|
case s:
|
|
306
306
|
return ne("SuspenseList");
|
|
@@ -309,128 +309,128 @@ function dn() {
|
|
|
309
309
|
switch (e.$$typeof) {
|
|
310
310
|
case c:
|
|
311
311
|
return Ae(e.render);
|
|
312
|
-
case
|
|
313
|
-
return
|
|
314
|
-
case
|
|
315
|
-
var i = e,
|
|
312
|
+
case j:
|
|
313
|
+
return ae(e.type, r, n);
|
|
314
|
+
case v: {
|
|
315
|
+
var i = e, x = i._payload, C = i._init;
|
|
316
316
|
try {
|
|
317
|
-
return
|
|
317
|
+
return ae(C(x), r, n);
|
|
318
318
|
} catch {
|
|
319
319
|
}
|
|
320
320
|
}
|
|
321
321
|
}
|
|
322
322
|
return "";
|
|
323
323
|
}
|
|
324
|
-
var
|
|
325
|
-
function
|
|
324
|
+
var G = Object.prototype.hasOwnProperty, me = {}, je = F.ReactDebugCurrentFrame;
|
|
325
|
+
function a(e) {
|
|
326
326
|
if (e) {
|
|
327
|
-
var
|
|
328
|
-
|
|
327
|
+
var r = e._owner, n = ae(e.type, e._source, r ? r.type : null);
|
|
328
|
+
je.setExtraStackFrame(n);
|
|
329
329
|
} else
|
|
330
|
-
|
|
330
|
+
je.setExtraStackFrame(null);
|
|
331
331
|
}
|
|
332
|
-
function
|
|
332
|
+
function k(e, r, n, i, x) {
|
|
333
333
|
{
|
|
334
|
-
var C = Function.call.bind(
|
|
334
|
+
var C = Function.call.bind(G);
|
|
335
335
|
for (var h in e)
|
|
336
336
|
if (C(e, h)) {
|
|
337
337
|
var f = void 0;
|
|
338
338
|
try {
|
|
339
339
|
if (typeof e[h] != "function") {
|
|
340
|
-
var
|
|
341
|
-
throw
|
|
340
|
+
var L = Error((i || "React class") + ": " + n + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
341
|
+
throw L.name = "Invariant Violation", L;
|
|
342
342
|
}
|
|
343
|
-
f = e[h](
|
|
343
|
+
f = e[h](r, h, i, n, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
344
344
|
} catch (S) {
|
|
345
345
|
f = S;
|
|
346
346
|
}
|
|
347
|
-
f && !(f instanceof Error) && (
|
|
347
|
+
f && !(f instanceof Error) && (a(x), _("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", i || "React class", n, h, typeof f), a(null)), f instanceof Error && !(f.message in me) && (me[f.message] = !0, a(x), _("Failed %s type: %s", n, f.message), a(null));
|
|
348
348
|
}
|
|
349
349
|
}
|
|
350
350
|
}
|
|
351
|
-
var
|
|
352
|
-
function
|
|
353
|
-
return
|
|
351
|
+
var Z = Array.isArray;
|
|
352
|
+
function P(e) {
|
|
353
|
+
return Z(e);
|
|
354
354
|
}
|
|
355
|
-
function
|
|
355
|
+
function He(e) {
|
|
356
356
|
{
|
|
357
|
-
var
|
|
358
|
-
return
|
|
357
|
+
var r = typeof Symbol == "function" && Symbol.toStringTag, n = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
358
|
+
return n;
|
|
359
359
|
}
|
|
360
360
|
}
|
|
361
|
-
function
|
|
361
|
+
function X(e) {
|
|
362
362
|
try {
|
|
363
|
-
return
|
|
363
|
+
return Je(e), !1;
|
|
364
364
|
} catch {
|
|
365
365
|
return !0;
|
|
366
366
|
}
|
|
367
367
|
}
|
|
368
|
-
function
|
|
368
|
+
function Je(e) {
|
|
369
369
|
return "" + e;
|
|
370
370
|
}
|
|
371
|
-
function
|
|
372
|
-
if (
|
|
373
|
-
return _("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
371
|
+
function qe(e) {
|
|
372
|
+
if (X(e))
|
|
373
|
+
return _("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", He(e)), Je(e);
|
|
374
374
|
}
|
|
375
|
-
var
|
|
375
|
+
var Ce = F.ReactCurrentOwner, Ct = {
|
|
376
376
|
key: !0,
|
|
377
377
|
ref: !0,
|
|
378
378
|
__self: !0,
|
|
379
379
|
__source: !0
|
|
380
|
-
},
|
|
381
|
-
|
|
380
|
+
}, Qe, et, $e;
|
|
381
|
+
$e = {};
|
|
382
382
|
function wt(e) {
|
|
383
|
-
if (
|
|
384
|
-
var
|
|
385
|
-
if (
|
|
383
|
+
if (G.call(e, "ref")) {
|
|
384
|
+
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
385
|
+
if (r && r.isReactWarning)
|
|
386
386
|
return !1;
|
|
387
387
|
}
|
|
388
388
|
return e.ref !== void 0;
|
|
389
389
|
}
|
|
390
390
|
function yt(e) {
|
|
391
|
-
if (
|
|
392
|
-
var
|
|
393
|
-
if (
|
|
391
|
+
if (G.call(e, "key")) {
|
|
392
|
+
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
393
|
+
if (r && r.isReactWarning)
|
|
394
394
|
return !1;
|
|
395
395
|
}
|
|
396
396
|
return e.key !== void 0;
|
|
397
397
|
}
|
|
398
|
-
function Et(e,
|
|
399
|
-
if (typeof e.ref == "string" &&
|
|
400
|
-
var
|
|
401
|
-
|
|
398
|
+
function Et(e, r) {
|
|
399
|
+
if (typeof e.ref == "string" && Ce.current && r && Ce.current.stateNode !== r) {
|
|
400
|
+
var n = A(Ce.current.type);
|
|
401
|
+
$e[n] || (_('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', A(Ce.current.type), e.ref), $e[n] = !0);
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
|
-
function Rt(e,
|
|
404
|
+
function Rt(e, r) {
|
|
405
405
|
{
|
|
406
|
-
var
|
|
407
|
-
|
|
406
|
+
var n = function() {
|
|
407
|
+
Qe || (Qe = !0, _("%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));
|
|
408
408
|
};
|
|
409
|
-
|
|
410
|
-
get:
|
|
409
|
+
n.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
410
|
+
get: n,
|
|
411
411
|
configurable: !0
|
|
412
412
|
});
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
|
-
function _t(e,
|
|
415
|
+
function _t(e, r) {
|
|
416
416
|
{
|
|
417
|
-
var
|
|
418
|
-
|
|
417
|
+
var n = function() {
|
|
418
|
+
et || (et = !0, _("%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));
|
|
419
419
|
};
|
|
420
|
-
|
|
421
|
-
get:
|
|
420
|
+
n.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
421
|
+
get: n,
|
|
422
422
|
configurable: !0
|
|
423
423
|
});
|
|
424
424
|
}
|
|
425
425
|
}
|
|
426
|
-
var St = function(e,
|
|
426
|
+
var St = function(e, r, n, i, x, C, h) {
|
|
427
427
|
var f = {
|
|
428
428
|
// This tag allows us to uniquely identify this as a React Element
|
|
429
429
|
$$typeof: o,
|
|
430
430
|
// Built-in properties that belong on the element
|
|
431
431
|
type: e,
|
|
432
|
-
key:
|
|
433
|
-
ref:
|
|
432
|
+
key: r,
|
|
433
|
+
ref: n,
|
|
434
434
|
props: h,
|
|
435
435
|
// Record the component responsible for creating this element.
|
|
436
436
|
_owner: C
|
|
@@ -449,44 +449,44 @@ function dn() {
|
|
|
449
449
|
configurable: !1,
|
|
450
450
|
enumerable: !1,
|
|
451
451
|
writable: !1,
|
|
452
|
-
value:
|
|
452
|
+
value: x
|
|
453
453
|
}), Object.freeze && (Object.freeze(f.props), Object.freeze(f)), f;
|
|
454
454
|
};
|
|
455
|
-
function
|
|
455
|
+
function Tt(e, r, n, i, x) {
|
|
456
456
|
{
|
|
457
|
-
var C, h = {}, f = null,
|
|
458
|
-
|
|
459
|
-
for (C in
|
|
460
|
-
|
|
457
|
+
var C, h = {}, f = null, L = null;
|
|
458
|
+
n !== void 0 && (qe(n), f = "" + n), yt(r) && (qe(r.key), f = "" + r.key), wt(r) && (L = r.ref, Et(r, x));
|
|
459
|
+
for (C in r)
|
|
460
|
+
G.call(r, C) && !Ct.hasOwnProperty(C) && (h[C] = r[C]);
|
|
461
461
|
if (e && e.defaultProps) {
|
|
462
462
|
var S = e.defaultProps;
|
|
463
463
|
for (C in S)
|
|
464
464
|
h[C] === void 0 && (h[C] = S[C]);
|
|
465
465
|
}
|
|
466
|
-
if (f ||
|
|
467
|
-
var
|
|
468
|
-
f && Rt(h,
|
|
466
|
+
if (f || L) {
|
|
467
|
+
var T = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
468
|
+
f && Rt(h, T), L && _t(h, T);
|
|
469
469
|
}
|
|
470
|
-
return St(e, f,
|
|
470
|
+
return St(e, f, L, x, i, Ce.current, h);
|
|
471
471
|
}
|
|
472
472
|
}
|
|
473
|
-
var
|
|
474
|
-
function
|
|
473
|
+
var We = F.ReactCurrentOwner, tt = F.ReactDebugCurrentFrame;
|
|
474
|
+
function ie(e) {
|
|
475
475
|
if (e) {
|
|
476
|
-
var
|
|
477
|
-
|
|
476
|
+
var r = e._owner, n = ae(e.type, e._source, r ? r.type : null);
|
|
477
|
+
tt.setExtraStackFrame(n);
|
|
478
478
|
} else
|
|
479
|
-
|
|
479
|
+
tt.setExtraStackFrame(null);
|
|
480
480
|
}
|
|
481
|
-
var
|
|
482
|
-
|
|
483
|
-
function
|
|
481
|
+
var Me;
|
|
482
|
+
Me = !1;
|
|
483
|
+
function Be(e) {
|
|
484
484
|
return typeof e == "object" && e !== null && e.$$typeof === o;
|
|
485
485
|
}
|
|
486
|
-
function
|
|
486
|
+
function rt() {
|
|
487
487
|
{
|
|
488
|
-
if (
|
|
489
|
-
var e =
|
|
488
|
+
if (We.current) {
|
|
489
|
+
var e = A(We.current.type);
|
|
490
490
|
if (e)
|
|
491
491
|
return `
|
|
492
492
|
|
|
@@ -495,206 +495,206 @@ Check the render method of \`` + e + "`.";
|
|
|
495
495
|
return "";
|
|
496
496
|
}
|
|
497
497
|
}
|
|
498
|
-
function
|
|
498
|
+
function kt(e) {
|
|
499
499
|
{
|
|
500
500
|
if (e !== void 0) {
|
|
501
|
-
var
|
|
501
|
+
var r = e.fileName.replace(/^.*[\\\/]/, ""), n = e.lineNumber;
|
|
502
502
|
return `
|
|
503
503
|
|
|
504
|
-
Check your code at ` +
|
|
504
|
+
Check your code at ` + r + ":" + n + ".";
|
|
505
505
|
}
|
|
506
506
|
return "";
|
|
507
507
|
}
|
|
508
508
|
}
|
|
509
509
|
var nt = {};
|
|
510
|
-
function
|
|
510
|
+
function Dt(e) {
|
|
511
511
|
{
|
|
512
|
-
var
|
|
513
|
-
if (!
|
|
514
|
-
var
|
|
515
|
-
|
|
512
|
+
var r = rt();
|
|
513
|
+
if (!r) {
|
|
514
|
+
var n = typeof e == "string" ? e : e.displayName || e.name;
|
|
515
|
+
n && (r = `
|
|
516
516
|
|
|
517
|
-
Check the top-level render call using <` +
|
|
517
|
+
Check the top-level render call using <` + n + ">.");
|
|
518
518
|
}
|
|
519
|
-
return
|
|
519
|
+
return r;
|
|
520
520
|
}
|
|
521
521
|
}
|
|
522
|
-
function
|
|
522
|
+
function lt(e, r) {
|
|
523
523
|
{
|
|
524
524
|
if (!e._store || e._store.validated || e.key != null)
|
|
525
525
|
return;
|
|
526
526
|
e._store.validated = !0;
|
|
527
|
-
var
|
|
528
|
-
if (nt[
|
|
527
|
+
var n = Dt(r);
|
|
528
|
+
if (nt[n])
|
|
529
529
|
return;
|
|
530
|
-
nt[
|
|
530
|
+
nt[n] = !0;
|
|
531
531
|
var i = "";
|
|
532
|
-
e && e._owner && e._owner !==
|
|
532
|
+
e && e._owner && e._owner !== We.current && (i = " It was passed a child from " + A(e._owner.type) + "."), ie(e), _('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', n, i), ie(null);
|
|
533
533
|
}
|
|
534
534
|
}
|
|
535
|
-
function
|
|
535
|
+
function at(e, r) {
|
|
536
536
|
{
|
|
537
537
|
if (typeof e != "object")
|
|
538
538
|
return;
|
|
539
|
-
if (
|
|
540
|
-
for (var
|
|
541
|
-
var i = e[
|
|
542
|
-
|
|
539
|
+
if (P(e))
|
|
540
|
+
for (var n = 0; n < e.length; n++) {
|
|
541
|
+
var i = e[n];
|
|
542
|
+
Be(i) && lt(i, r);
|
|
543
543
|
}
|
|
544
|
-
else if (
|
|
544
|
+
else if (Be(e))
|
|
545
545
|
e._store && (e._store.validated = !0);
|
|
546
546
|
else if (e) {
|
|
547
|
-
var
|
|
548
|
-
if (typeof
|
|
549
|
-
for (var C =
|
|
550
|
-
|
|
547
|
+
var x = Q(e);
|
|
548
|
+
if (typeof x == "function" && x !== e.entries)
|
|
549
|
+
for (var C = x.call(e), h; !(h = C.next()).done; )
|
|
550
|
+
Be(h.value) && lt(h.value, r);
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
553
|
}
|
|
554
|
-
function
|
|
554
|
+
function Ot(e) {
|
|
555
555
|
{
|
|
556
|
-
var
|
|
557
|
-
if (
|
|
556
|
+
var r = e.type;
|
|
557
|
+
if (r == null || typeof r == "string")
|
|
558
558
|
return;
|
|
559
|
-
var
|
|
560
|
-
if (typeof
|
|
561
|
-
|
|
562
|
-
else if (typeof
|
|
559
|
+
var n;
|
|
560
|
+
if (typeof r == "function")
|
|
561
|
+
n = r.propTypes;
|
|
562
|
+
else if (typeof r == "object" && (r.$$typeof === c || // Note: Memo only checks outer props here.
|
|
563
563
|
// Inner props are checked in the reconciler.
|
|
564
|
-
|
|
565
|
-
|
|
564
|
+
r.$$typeof === j))
|
|
565
|
+
n = r.propTypes;
|
|
566
566
|
else
|
|
567
567
|
return;
|
|
568
|
-
if (
|
|
569
|
-
var i =
|
|
570
|
-
|
|
571
|
-
} else if (
|
|
572
|
-
|
|
573
|
-
var
|
|
574
|
-
_("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
568
|
+
if (n) {
|
|
569
|
+
var i = A(r);
|
|
570
|
+
k(n, e.props, "prop", i, e);
|
|
571
|
+
} else if (r.PropTypes !== void 0 && !Me) {
|
|
572
|
+
Me = !0;
|
|
573
|
+
var x = A(r);
|
|
574
|
+
_("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", x || "Unknown");
|
|
575
575
|
}
|
|
576
|
-
typeof
|
|
576
|
+
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && _("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
577
577
|
}
|
|
578
578
|
}
|
|
579
|
-
function
|
|
579
|
+
function Pt(e) {
|
|
580
580
|
{
|
|
581
|
-
for (var
|
|
582
|
-
var i = n
|
|
581
|
+
for (var r = Object.keys(e.props), n = 0; n < r.length; n++) {
|
|
582
|
+
var i = r[n];
|
|
583
583
|
if (i !== "children" && i !== "key") {
|
|
584
|
-
|
|
584
|
+
ie(e), _("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", i), ie(null);
|
|
585
585
|
break;
|
|
586
586
|
}
|
|
587
587
|
}
|
|
588
|
-
e.ref !== null && (
|
|
588
|
+
e.ref !== null && (ie(e), _("Invalid attribute `ref` supplied to `React.Fragment`."), ie(null));
|
|
589
589
|
}
|
|
590
590
|
}
|
|
591
591
|
var it = {};
|
|
592
|
-
function
|
|
592
|
+
function ot(e, r, n, i, x, C) {
|
|
593
593
|
{
|
|
594
594
|
var h = V(e);
|
|
595
595
|
if (!h) {
|
|
596
596
|
var f = "";
|
|
597
597
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (f += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
598
|
-
var
|
|
599
|
-
|
|
598
|
+
var L = kt(x);
|
|
599
|
+
L ? f += L : f += rt();
|
|
600
600
|
var S;
|
|
601
|
-
e === null ? S = "null" :
|
|
601
|
+
e === null ? S = "null" : P(e) ? S = "array" : e !== void 0 && e.$$typeof === o ? (S = "<" + (A(e.type) || "Unknown") + " />", f = " Did you accidentally export a JSX literal instead of a component?") : S = typeof e, _("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, f);
|
|
602
602
|
}
|
|
603
|
-
var
|
|
604
|
-
if (
|
|
605
|
-
return
|
|
603
|
+
var T = Tt(e, r, n, x, C);
|
|
604
|
+
if (T == null)
|
|
605
|
+
return T;
|
|
606
606
|
if (h) {
|
|
607
|
-
var $ =
|
|
607
|
+
var $ = r.children;
|
|
608
608
|
if ($ !== void 0)
|
|
609
609
|
if (i)
|
|
610
|
-
if (
|
|
611
|
-
for (var
|
|
612
|
-
|
|
610
|
+
if (P($)) {
|
|
611
|
+
for (var oe = 0; oe < $.length; oe++)
|
|
612
|
+
at($[oe], e);
|
|
613
613
|
Object.freeze && Object.freeze($);
|
|
614
614
|
} else
|
|
615
615
|
_("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
616
616
|
else
|
|
617
|
-
|
|
617
|
+
at($, e);
|
|
618
618
|
}
|
|
619
|
-
if (
|
|
620
|
-
var J =
|
|
619
|
+
if (G.call(r, "key")) {
|
|
620
|
+
var J = A(e), I = Object.keys(r).filter(function($t) {
|
|
621
621
|
return $t !== "key";
|
|
622
|
-
}),
|
|
623
|
-
if (!it[J +
|
|
624
|
-
var Ht =
|
|
622
|
+
}), Ve = I.length > 0 ? "{key: someKey, " + I.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
623
|
+
if (!it[J + Ve]) {
|
|
624
|
+
var Ht = I.length > 0 ? "{" + I.join(": ..., ") + ": ...}" : "{}";
|
|
625
625
|
_(`A props object containing a "key" prop is being spread into JSX:
|
|
626
626
|
let props = %s;
|
|
627
627
|
<%s {...props} />
|
|
628
628
|
React keys must be passed directly to JSX without using spread:
|
|
629
629
|
let props = %s;
|
|
630
|
-
<%s key={someKey} {...props} />`,
|
|
630
|
+
<%s key={someKey} {...props} />`, Ve, J, Ht, J), it[J + Ve] = !0;
|
|
631
631
|
}
|
|
632
632
|
}
|
|
633
|
-
return e === d ?
|
|
633
|
+
return e === d ? Pt(T) : Ot(T), T;
|
|
634
634
|
}
|
|
635
635
|
}
|
|
636
|
-
function
|
|
637
|
-
return
|
|
636
|
+
function Lt(e, r, n) {
|
|
637
|
+
return ot(e, r, n, !0);
|
|
638
638
|
}
|
|
639
|
-
function It(e,
|
|
640
|
-
return
|
|
639
|
+
function It(e, r, n) {
|
|
640
|
+
return ot(e, r, n, !1);
|
|
641
641
|
}
|
|
642
|
-
var At = It, Ft =
|
|
643
|
-
|
|
644
|
-
}()),
|
|
642
|
+
var At = It, Ft = Lt;
|
|
643
|
+
ye.Fragment = d, ye.jsx = At, ye.jsxs = Ft;
|
|
644
|
+
}()), ye;
|
|
645
645
|
}
|
|
646
|
-
process.env.NODE_ENV === "production" ?
|
|
647
|
-
var t =
|
|
648
|
-
const
|
|
646
|
+
process.env.NODE_ENV === "production" ? Ge.exports = ur() : Ge.exports = cr();
|
|
647
|
+
var t = Ge.exports;
|
|
648
|
+
const Ye = 60, pt = 6, dr = (l) => {
|
|
649
649
|
const {
|
|
650
650
|
activeStepIndex: o,
|
|
651
651
|
hideIndicators: p = !1,
|
|
652
652
|
steps: d,
|
|
653
|
-
stepperTheme:
|
|
653
|
+
stepperTheme: w = {
|
|
654
654
|
light: "eggplant.light",
|
|
655
655
|
base: "eggplant.base"
|
|
656
656
|
}
|
|
657
|
-
} = l, { activeStep:
|
|
657
|
+
} = l, { activeStep: g, setActiveStep: m } = Wt({
|
|
658
658
|
index: o,
|
|
659
659
|
count: d.length
|
|
660
660
|
});
|
|
661
661
|
return q(() => {
|
|
662
662
|
m(o);
|
|
663
663
|
}, [o, m]), /* @__PURE__ */ t.jsx(
|
|
664
|
-
|
|
664
|
+
y,
|
|
665
665
|
{ position: "relative", width: "100%", "data-testid": "stepper", children: /* @__PURE__ */ t.jsx(
|
|
666
666
|
Mt,
|
|
667
667
|
{
|
|
668
668
|
role: "progressbar",
|
|
669
|
-
index:
|
|
669
|
+
index: g,
|
|
670
670
|
width: "100%",
|
|
671
671
|
display: "flex",
|
|
672
672
|
flexWrap: "nowrap",
|
|
673
673
|
children: d.map((R, c) => {
|
|
674
|
-
const
|
|
675
|
-
let u = `${
|
|
676
|
-
const
|
|
677
|
-
return
|
|
678
|
-
|
|
674
|
+
const b = g === c, s = c === 0, j = c === d.length - 1, v = g > c;
|
|
675
|
+
let u = `${Ye}px`;
|
|
676
|
+
const O = `calc(100% - ((${Ye * (d.length - 1)}px) - (${d.length - 1} * ${pt * 2}px)))`;
|
|
677
|
+
return b ? u = O : (s || j) && (u = `${Ye - pt}px`), /* @__PURE__ */ t.jsx(
|
|
678
|
+
y,
|
|
679
679
|
{
|
|
680
680
|
width: u,
|
|
681
|
-
opacity:
|
|
682
|
-
paddingRight:
|
|
681
|
+
opacity: v || b ? 1 : 0.2,
|
|
682
|
+
paddingRight: j ? "0" : "6px",
|
|
683
683
|
paddingLeft: s ? "0" : "6px",
|
|
684
684
|
transition: "width 0.4s ease-in-out, opacity 0.4s ease-in-out",
|
|
685
685
|
children: /* @__PURE__ */ t.jsx(
|
|
686
|
-
|
|
686
|
+
y,
|
|
687
687
|
{
|
|
688
688
|
paddingTop: p ? 2 : 5,
|
|
689
689
|
position: "relative",
|
|
690
690
|
width: "100%",
|
|
691
691
|
children: /* @__PURE__ */ t.jsx(
|
|
692
|
-
|
|
692
|
+
y,
|
|
693
693
|
{
|
|
694
694
|
width: "100%",
|
|
695
695
|
position: "absolute",
|
|
696
696
|
top: "0",
|
|
697
|
-
backgroundColor:
|
|
697
|
+
backgroundColor: v ? w.light : w.base,
|
|
698
698
|
height: p ? "4px" : "8px",
|
|
699
699
|
borderRadius: "4",
|
|
700
700
|
left: "0"
|
|
@@ -709,31 +709,31 @@ const Ne = 60, ft = 6, fn = (l) => {
|
|
|
709
709
|
}
|
|
710
710
|
) }
|
|
711
711
|
);
|
|
712
|
-
},
|
|
712
|
+
}, _r = Ke.memo(dr), Sr = ({
|
|
713
713
|
children: l,
|
|
714
714
|
...o
|
|
715
715
|
}) => /* @__PURE__ */ t.jsx(
|
|
716
716
|
qt,
|
|
717
717
|
{ color: "tints.uiGrey", fontSize: ["md", null, null, "lg"], ...o, children: l }
|
|
718
|
-
),
|
|
718
|
+
), Le = (l, o) => {
|
|
719
719
|
const p = (l == null ? void 0 : l.startsWith("http")) || (l == null ? void 0 : l.startsWith("mailto"));
|
|
720
720
|
return o && !p ? {
|
|
721
721
|
to: l
|
|
722
722
|
} : {
|
|
723
723
|
href: l
|
|
724
724
|
};
|
|
725
|
-
},
|
|
725
|
+
}, ze = xt(
|
|
726
726
|
(l, o) => {
|
|
727
727
|
const {
|
|
728
728
|
label: p,
|
|
729
729
|
additionalContent: d,
|
|
730
|
-
mainTextFontSize:
|
|
731
|
-
linkComponent:
|
|
730
|
+
mainTextFontSize: w,
|
|
731
|
+
linkComponent: g,
|
|
732
732
|
href: m,
|
|
733
733
|
...R
|
|
734
|
-
} = l, c =
|
|
734
|
+
} = l, c = g || z, b = Le(m, !!g);
|
|
735
735
|
return /* @__PURE__ */ t.jsxs(
|
|
736
|
-
|
|
736
|
+
y,
|
|
737
737
|
{
|
|
738
738
|
ref: o,
|
|
739
739
|
as: c,
|
|
@@ -748,14 +748,14 @@ const Ne = 60, ft = 6, fn = (l) => {
|
|
|
748
748
|
borderColor: ["tints.cream", null, null, "unset"],
|
|
749
749
|
width: ["100%", null, null, "fit-content"],
|
|
750
750
|
cursor: "pointer",
|
|
751
|
-
...
|
|
751
|
+
...b,
|
|
752
752
|
...R,
|
|
753
753
|
children: [
|
|
754
754
|
/* @__PURE__ */ t.jsx(
|
|
755
|
-
|
|
755
|
+
se,
|
|
756
756
|
{
|
|
757
757
|
display: ["none", null, null, "block"],
|
|
758
|
-
as:
|
|
758
|
+
as: ut,
|
|
759
759
|
fontSize: "lg",
|
|
760
760
|
color: "viridian.light",
|
|
761
761
|
role: "img",
|
|
@@ -764,18 +764,18 @@ const Ne = 60, ft = 6, fn = (l) => {
|
|
|
764
764
|
}
|
|
765
765
|
),
|
|
766
766
|
/* @__PURE__ */ t.jsxs(
|
|
767
|
-
|
|
767
|
+
D,
|
|
768
768
|
{ alignItems: "center", gap: "1", width: ["100%", null, null, "auto"], children: [
|
|
769
769
|
/* @__PURE__ */ t.jsx(
|
|
770
|
-
|
|
770
|
+
K,
|
|
771
771
|
{
|
|
772
|
-
fontSize: [
|
|
772
|
+
fontSize: [w || "xl", null, null, "lg"],
|
|
773
773
|
fontWeight: "medium",
|
|
774
774
|
children: p
|
|
775
775
|
}
|
|
776
776
|
),
|
|
777
777
|
d && (typeof d == "string" ? /* @__PURE__ */ t.jsx(
|
|
778
|
-
|
|
778
|
+
K,
|
|
779
779
|
{
|
|
780
780
|
fontSize: ["xl", null, null, "lg"],
|
|
781
781
|
fontWeight: "medium",
|
|
@@ -789,10 +789,10 @@ const Ne = 60, ft = 6, fn = (l) => {
|
|
|
789
789
|
}
|
|
790
790
|
) : d),
|
|
791
791
|
/* @__PURE__ */ t.jsx(
|
|
792
|
-
|
|
792
|
+
se,
|
|
793
793
|
{
|
|
794
794
|
display: ["block", null, null, "none"],
|
|
795
|
-
as:
|
|
795
|
+
as: ut,
|
|
796
796
|
fontSize: "2xl",
|
|
797
797
|
color: "tints.uiGrey",
|
|
798
798
|
role: "img",
|
|
@@ -806,18 +806,23 @@ const Ne = 60, ft = 6, fn = (l) => {
|
|
|
806
806
|
}
|
|
807
807
|
);
|
|
808
808
|
}
|
|
809
|
-
),
|
|
809
|
+
), Pe = xt(
|
|
810
810
|
(l, o) => {
|
|
811
|
-
const { children: p, isSelected: d, ...
|
|
811
|
+
const { children: p, isSelected: d, ...w } = l, g = l.backgroundColor || (d ? "tints.lightCream" : "transparent");
|
|
812
812
|
return /* @__PURE__ */ t.jsx(
|
|
813
|
-
|
|
813
|
+
gt,
|
|
814
814
|
{
|
|
815
815
|
ref: o,
|
|
816
816
|
borderRadius: "full",
|
|
817
|
-
backgroundColor:
|
|
817
|
+
backgroundColor: g,
|
|
818
818
|
fontSize: "lg !important",
|
|
819
819
|
fontWeight: "normal",
|
|
820
820
|
color: "tints.black",
|
|
821
|
+
sx: {
|
|
822
|
+
"&[href]": {
|
|
823
|
+
textDecoration: "none"
|
|
824
|
+
}
|
|
825
|
+
},
|
|
821
826
|
_before: {
|
|
822
827
|
content: '""',
|
|
823
828
|
position: "absolute",
|
|
@@ -827,41 +832,41 @@ const Ne = 60, ft = 6, fn = (l) => {
|
|
|
827
832
|
left: [null, null, null, -2]
|
|
828
833
|
},
|
|
829
834
|
_hover: {
|
|
830
|
-
backgroundColor:
|
|
835
|
+
backgroundColor: g,
|
|
831
836
|
textDecoration: "none",
|
|
832
837
|
filter: "brightness(0.95)"
|
|
833
838
|
},
|
|
834
|
-
...
|
|
839
|
+
...w,
|
|
835
840
|
children: p
|
|
836
841
|
}
|
|
837
842
|
);
|
|
838
843
|
}
|
|
839
|
-
),
|
|
844
|
+
), fr = ({
|
|
840
845
|
title: l,
|
|
841
846
|
description: o,
|
|
842
847
|
imageSrc: p,
|
|
843
848
|
imageElement: d,
|
|
844
|
-
button:
|
|
845
|
-
backgroundColor:
|
|
849
|
+
button: w,
|
|
850
|
+
backgroundColor: g = "viridian.wash",
|
|
846
851
|
onClick: m,
|
|
847
852
|
href: R,
|
|
848
853
|
linkComponent: c
|
|
849
854
|
}) => {
|
|
850
|
-
const
|
|
855
|
+
const b = "80px", s = "200px", j = "272px", v = c || z, u = Le(R, !!c), O = mt({
|
|
851
856
|
base: !1,
|
|
852
857
|
tablet: !1,
|
|
853
858
|
largeTablet: !1,
|
|
854
859
|
desktop: !0
|
|
855
860
|
});
|
|
856
861
|
return /* @__PURE__ */ t.jsxs(
|
|
857
|
-
|
|
862
|
+
D,
|
|
858
863
|
{
|
|
859
864
|
direction: ["row", null, null, "column"],
|
|
860
865
|
alignItems: ["center"],
|
|
861
866
|
borderRadius: "xl",
|
|
862
867
|
overflow: "hidden",
|
|
863
|
-
height: [
|
|
864
|
-
backgroundColor:
|
|
868
|
+
height: [b, null, null, j],
|
|
869
|
+
backgroundColor: g,
|
|
865
870
|
onClick: m,
|
|
866
871
|
"data-testid": "spotlight-card",
|
|
867
872
|
position: "relative",
|
|
@@ -875,11 +880,11 @@ const Ne = 60, ft = 6, fn = (l) => {
|
|
|
875
880
|
border: "1px solid",
|
|
876
881
|
borderColor: "tints.white"
|
|
877
882
|
},
|
|
878
|
-
as:
|
|
879
|
-
...
|
|
883
|
+
as: O ? D : v,
|
|
884
|
+
...O ? {} : u,
|
|
880
885
|
children: [
|
|
881
886
|
/* @__PURE__ */ t.jsx(
|
|
882
|
-
|
|
887
|
+
y,
|
|
883
888
|
{
|
|
884
889
|
width: ["72px", null, null, "100%"],
|
|
885
890
|
height: ["100%"],
|
|
@@ -889,15 +894,15 @@ const Ne = 60, ft = 6, fn = (l) => {
|
|
|
889
894
|
{
|
|
890
895
|
src: p,
|
|
891
896
|
objectFit: "cover",
|
|
892
|
-
height: [
|
|
897
|
+
height: [b, null, null, s],
|
|
893
898
|
width: "100%",
|
|
894
899
|
alt: "",
|
|
895
900
|
"data-testid": "spotlight-card-image"
|
|
896
901
|
}
|
|
897
902
|
) : /* @__PURE__ */ t.jsx(
|
|
898
|
-
|
|
903
|
+
y,
|
|
899
904
|
{
|
|
900
|
-
height: [
|
|
905
|
+
height: [b, null, null, s],
|
|
901
906
|
overflow: "hidden",
|
|
902
907
|
children: d
|
|
903
908
|
}
|
|
@@ -905,7 +910,7 @@ const Ne = 60, ft = 6, fn = (l) => {
|
|
|
905
910
|
}
|
|
906
911
|
),
|
|
907
912
|
/* @__PURE__ */ t.jsxs(
|
|
908
|
-
|
|
913
|
+
D,
|
|
909
914
|
{
|
|
910
915
|
direction: ["column", null, null, "row"],
|
|
911
916
|
justifyContent: [null, null, null, "space-between"],
|
|
@@ -915,30 +920,30 @@ const Ne = 60, ft = 6, fn = (l) => {
|
|
|
915
920
|
width: "100%",
|
|
916
921
|
position: [null, null, null, "absolute"],
|
|
917
922
|
bottom: [null, null, null, "0"],
|
|
918
|
-
backgroundColor: [null, null, null, `${
|
|
923
|
+
backgroundColor: [null, null, null, `${g}CC`],
|
|
919
924
|
backdropFilter: [null, null, null, "blur(8px)"],
|
|
920
925
|
children: [
|
|
921
926
|
/* @__PURE__ */ t.jsxs(
|
|
922
|
-
|
|
927
|
+
y,
|
|
923
928
|
{ children: [
|
|
924
929
|
/* @__PURE__ */ t.jsx(
|
|
925
|
-
|
|
930
|
+
K,
|
|
926
931
|
{ fontSize: "lg", fontWeight: "medium", color: "tints.black", children: l }
|
|
927
932
|
),
|
|
928
933
|
/* @__PURE__ */ t.jsx(
|
|
929
|
-
|
|
934
|
+
K,
|
|
930
935
|
{ fontSize: "sm", color: "tints.black", children: o }
|
|
931
936
|
)
|
|
932
937
|
] }
|
|
933
938
|
),
|
|
934
|
-
|
|
939
|
+
O ? /* @__PURE__ */ t.jsx(y, { children: w }) : null
|
|
935
940
|
]
|
|
936
941
|
}
|
|
937
942
|
)
|
|
938
943
|
]
|
|
939
944
|
}
|
|
940
945
|
);
|
|
941
|
-
},
|
|
946
|
+
}, ue = (l) => /* @__PURE__ */ t.jsx(
|
|
942
947
|
Vt,
|
|
943
948
|
{
|
|
944
949
|
size: "sm",
|
|
@@ -959,7 +964,7 @@ const Ne = 60, ft = 6, fn = (l) => {
|
|
|
959
964
|
},
|
|
960
965
|
...l
|
|
961
966
|
}
|
|
962
|
-
),
|
|
967
|
+
), pr = () => /* @__PURE__ */ t.jsx(
|
|
963
968
|
"svg",
|
|
964
969
|
{
|
|
965
970
|
width: "116",
|
|
@@ -983,31 +988,31 @@ const Ne = 60, ft = 6, fn = (l) => {
|
|
|
983
988
|
) }
|
|
984
989
|
)
|
|
985
990
|
}
|
|
986
|
-
),
|
|
991
|
+
), hr = ({
|
|
987
992
|
desktopTopButtons: l,
|
|
988
993
|
kitRegistrationElement: o,
|
|
989
994
|
profileElement: p,
|
|
990
995
|
cartElement: d,
|
|
991
|
-
onSearchClick:
|
|
992
|
-
onMenuClick:
|
|
996
|
+
onSearchClick: w,
|
|
997
|
+
onMenuClick: g,
|
|
993
998
|
hasSearch: m = !1,
|
|
994
999
|
logoLink: R = "https://www.everlywell.com",
|
|
995
1000
|
setTopOffset: c,
|
|
996
|
-
linkComponent:
|
|
1001
|
+
linkComponent: b,
|
|
997
1002
|
onLogoClick: s
|
|
998
1003
|
}) => {
|
|
999
|
-
const
|
|
1000
|
-
if (
|
|
1001
|
-
const u =
|
|
1004
|
+
const j = Jt(null), v = bt(() => {
|
|
1005
|
+
if (j.current) {
|
|
1006
|
+
const u = j.current.getBoundingClientRect();
|
|
1002
1007
|
c(u.bottom);
|
|
1003
1008
|
}
|
|
1004
1009
|
}, []);
|
|
1005
1010
|
return q(() => {
|
|
1006
|
-
|
|
1007
|
-
}, [
|
|
1008
|
-
|
|
1011
|
+
v();
|
|
1012
|
+
}, [v]), /* @__PURE__ */ t.jsx(
|
|
1013
|
+
y,
|
|
1009
1014
|
{
|
|
1010
|
-
ref:
|
|
1015
|
+
ref: j,
|
|
1011
1016
|
paddingY: "4",
|
|
1012
1017
|
paddingX: [4, null, null, 12],
|
|
1013
1018
|
borderBottom: "1px solid",
|
|
@@ -1017,73 +1022,73 @@ const Ne = 60, ft = 6, fn = (l) => {
|
|
|
1017
1022
|
top: "0",
|
|
1018
1023
|
width: "100%",
|
|
1019
1024
|
zIndex: ["sticky", null, null, "tooltip"],
|
|
1020
|
-
onMouseEnter:
|
|
1025
|
+
onMouseEnter: v,
|
|
1021
1026
|
children: /* @__PURE__ */ t.jsxs(
|
|
1022
|
-
|
|
1027
|
+
D,
|
|
1023
1028
|
{ justifyContent: "space-between", alignItems: "center", children: [
|
|
1024
1029
|
/* @__PURE__ */ t.jsxs(
|
|
1025
|
-
|
|
1030
|
+
D,
|
|
1026
1031
|
{ alignItems: "center", gap: "5", children: [
|
|
1027
1032
|
/* @__PURE__ */ t.jsx(
|
|
1028
|
-
|
|
1033
|
+
y,
|
|
1029
1034
|
{
|
|
1030
1035
|
"aria-label": "Go to homepage",
|
|
1031
1036
|
onClick: s,
|
|
1032
|
-
as:
|
|
1033
|
-
...
|
|
1034
|
-
children: /* @__PURE__ */ t.jsx(
|
|
1037
|
+
as: b || z,
|
|
1038
|
+
...Le(R, !!b),
|
|
1039
|
+
children: /* @__PURE__ */ t.jsx(pr, {})
|
|
1035
1040
|
}
|
|
1036
1041
|
),
|
|
1037
1042
|
/* @__PURE__ */ t.jsx(
|
|
1038
|
-
|
|
1043
|
+
D,
|
|
1039
1044
|
{ display: ["none", null, null, "flex"], children: l }
|
|
1040
1045
|
)
|
|
1041
1046
|
] }
|
|
1042
1047
|
),
|
|
1043
1048
|
/* @__PURE__ */ t.jsxs(
|
|
1044
|
-
|
|
1049
|
+
D,
|
|
1045
1050
|
{ alignItems: "center", gap: "2", children: [
|
|
1046
1051
|
/* @__PURE__ */ t.jsx(
|
|
1047
|
-
|
|
1052
|
+
y,
|
|
1048
1053
|
{ display: ["none", null, null, "block"], children: o }
|
|
1049
1054
|
),
|
|
1050
1055
|
m ? /* @__PURE__ */ t.jsx(
|
|
1051
|
-
|
|
1056
|
+
ue,
|
|
1052
1057
|
{
|
|
1053
1058
|
"aria-label": "Search",
|
|
1054
|
-
icon: /* @__PURE__ */ t.jsx(
|
|
1055
|
-
onClick:
|
|
1059
|
+
icon: /* @__PURE__ */ t.jsx(se, { as: jt }),
|
|
1060
|
+
onClick: w
|
|
1056
1061
|
}
|
|
1057
1062
|
) : null,
|
|
1058
1063
|
d,
|
|
1059
1064
|
/* @__PURE__ */ t.jsx(
|
|
1060
|
-
|
|
1065
|
+
y,
|
|
1061
1066
|
{ display: ["flex", null, null, "none"], children: /* @__PURE__ */ t.jsx(
|
|
1062
|
-
|
|
1067
|
+
ue,
|
|
1063
1068
|
{
|
|
1064
|
-
icon: /* @__PURE__ */ t.jsx(
|
|
1069
|
+
icon: /* @__PURE__ */ t.jsx(nr, {}),
|
|
1065
1070
|
"aria-label": "menu",
|
|
1066
1071
|
"data-testid": "menu-button",
|
|
1067
|
-
onClick:
|
|
1072
|
+
onClick: g
|
|
1068
1073
|
}
|
|
1069
1074
|
) }
|
|
1070
1075
|
),
|
|
1071
|
-
/* @__PURE__ */ t.jsx(
|
|
1076
|
+
/* @__PURE__ */ t.jsx(y, { display: ["none", null, null, "block"], children: p })
|
|
1072
1077
|
] }
|
|
1073
1078
|
)
|
|
1074
1079
|
] }
|
|
1075
1080
|
)
|
|
1076
1081
|
}
|
|
1077
1082
|
);
|
|
1078
|
-
},
|
|
1083
|
+
}, vr = ({
|
|
1079
1084
|
count: l = 0,
|
|
1080
1085
|
...o
|
|
1081
1086
|
}) => /* @__PURE__ */ t.jsxs(
|
|
1082
|
-
|
|
1087
|
+
y,
|
|
1083
1088
|
{ position: "relative", display: "inline-block", children: [
|
|
1084
|
-
/* @__PURE__ */ t.jsx(
|
|
1089
|
+
/* @__PURE__ */ t.jsx(ue, { icon: /* @__PURE__ */ t.jsx(lr, {}), ...o }),
|
|
1085
1090
|
l > 0 && /* @__PURE__ */ t.jsx(
|
|
1086
|
-
|
|
1091
|
+
y,
|
|
1087
1092
|
{
|
|
1088
1093
|
display: "flex",
|
|
1089
1094
|
minWidth: "20px",
|
|
@@ -1104,24 +1109,24 @@ const Ne = 60, ft = 6, fn = (l) => {
|
|
|
1104
1109
|
}
|
|
1105
1110
|
)
|
|
1106
1111
|
] }
|
|
1107
|
-
),
|
|
1112
|
+
), Tr = ({
|
|
1108
1113
|
numDesktopLinks: l = 5,
|
|
1109
1114
|
showPromoButton: o = !1
|
|
1110
1115
|
}) => /* @__PURE__ */ t.jsx(
|
|
1111
1116
|
Nt,
|
|
1112
1117
|
{ spacing: 0, align: "stretch", children: /* @__PURE__ */ t.jsx(
|
|
1113
|
-
|
|
1118
|
+
y,
|
|
1114
1119
|
{
|
|
1115
1120
|
paddingY: 4,
|
|
1116
1121
|
paddingX: 6,
|
|
1117
1122
|
borderBottomWidth: "1px",
|
|
1118
1123
|
borderColor: "tints.lightCream",
|
|
1119
1124
|
children: /* @__PURE__ */ t.jsxs(
|
|
1120
|
-
|
|
1125
|
+
D,
|
|
1121
1126
|
{ justify: "space-between", align: "center", children: [
|
|
1122
|
-
/* @__PURE__ */ t.jsx(
|
|
1127
|
+
/* @__PURE__ */ t.jsx(Ne, { w: "120px", h: "48px" }),
|
|
1123
1128
|
/* @__PURE__ */ t.jsxs(
|
|
1124
|
-
|
|
1129
|
+
st,
|
|
1125
1130
|
{
|
|
1126
1131
|
spacing: 8,
|
|
1127
1132
|
marginLeft: 12,
|
|
@@ -1129,17 +1134,17 @@ const Ne = 60, ft = 6, fn = (l) => {
|
|
|
1129
1134
|
"data-testid": "desktop-nav",
|
|
1130
1135
|
children: [
|
|
1131
1136
|
Array.from({ length: l }).map(
|
|
1132
|
-
(p, d) => /* @__PURE__ */ t.jsx(
|
|
1137
|
+
(p, d) => /* @__PURE__ */ t.jsx(Ne, { width: "90px", height: "48px" }, d)
|
|
1133
1138
|
),
|
|
1134
|
-
o && /* @__PURE__ */ t.jsx(
|
|
1139
|
+
o && /* @__PURE__ */ t.jsx(Ne, { width: "110px", height: "48px", borderRadius: "full" })
|
|
1135
1140
|
]
|
|
1136
1141
|
}
|
|
1137
1142
|
),
|
|
1138
1143
|
/* @__PURE__ */ t.jsxs(
|
|
1139
|
-
|
|
1144
|
+
st,
|
|
1140
1145
|
{ spacing: 4, ml: "auto", children: [
|
|
1141
1146
|
/* @__PURE__ */ t.jsx(
|
|
1142
|
-
|
|
1147
|
+
Oe,
|
|
1143
1148
|
{
|
|
1144
1149
|
width: "120px",
|
|
1145
1150
|
height: "48px",
|
|
@@ -1148,11 +1153,11 @@ const Ne = 60, ft = 6, fn = (l) => {
|
|
|
1148
1153
|
}
|
|
1149
1154
|
),
|
|
1150
1155
|
" ",
|
|
1151
|
-
/* @__PURE__ */ t.jsx(
|
|
1156
|
+
/* @__PURE__ */ t.jsx(Oe, { width: "48px", height: "48px" }),
|
|
1152
1157
|
" ",
|
|
1153
|
-
/* @__PURE__ */ t.jsx(
|
|
1158
|
+
/* @__PURE__ */ t.jsx(Oe, { width: "48px", height: "48px" }),
|
|
1154
1159
|
" ",
|
|
1155
|
-
/* @__PURE__ */ t.jsx(
|
|
1160
|
+
/* @__PURE__ */ t.jsx(Oe, { width: "48px", height: "48px" }),
|
|
1156
1161
|
" "
|
|
1157
1162
|
] }
|
|
1158
1163
|
)
|
|
@@ -1160,53 +1165,53 @@ const Ne = 60, ft = 6, fn = (l) => {
|
|
|
1160
1165
|
)
|
|
1161
1166
|
}
|
|
1162
1167
|
) }
|
|
1163
|
-
),
|
|
1168
|
+
), gr = (l, o) => {
|
|
1164
1169
|
let p;
|
|
1165
1170
|
return (...d) => {
|
|
1166
1171
|
p && clearTimeout(p), p = setTimeout(() => {
|
|
1167
1172
|
l(...d);
|
|
1168
1173
|
}, o);
|
|
1169
1174
|
};
|
|
1170
|
-
},
|
|
1175
|
+
}, Ze = "nav-drawer-hover", ht = (l) => {
|
|
1171
1176
|
window.dispatchEvent(
|
|
1172
|
-
new CustomEvent(
|
|
1177
|
+
new CustomEvent(Ze, {
|
|
1173
1178
|
detail: { isHovering: l },
|
|
1174
1179
|
bubbles: !0,
|
|
1175
1180
|
cancelable: !0
|
|
1176
1181
|
})
|
|
1177
1182
|
);
|
|
1178
|
-
},
|
|
1183
|
+
}, xr = (l = !1, o = !1, p = !1) => l || !o ? "column" : p ? "row" : "row-reverse", br = Xe(Yt), mr = Xe(zt), Ue = ({
|
|
1179
1184
|
isOpen: l = !1,
|
|
1180
1185
|
onClose: o,
|
|
1181
1186
|
title: p,
|
|
1182
1187
|
navDrawerLinks: d,
|
|
1183
|
-
bottomNavButtons:
|
|
1184
|
-
spotlightCards:
|
|
1188
|
+
bottomNavButtons: w,
|
|
1189
|
+
spotlightCards: g,
|
|
1185
1190
|
bottomButton: m,
|
|
1186
1191
|
hasBackButton: R = !0,
|
|
1187
1192
|
onBackClick: c,
|
|
1188
|
-
hasOnlySpotlightCards:
|
|
1193
|
+
hasOnlySpotlightCards: b = !1,
|
|
1189
1194
|
hasSearch: s = !1,
|
|
1190
|
-
onSearch:
|
|
1191
|
-
topOffset:
|
|
1195
|
+
onSearch: j = () => ({}),
|
|
1196
|
+
topOffset: v
|
|
1192
1197
|
}) => {
|
|
1193
1198
|
const u = mt({
|
|
1194
1199
|
base: !1,
|
|
1195
1200
|
tablet: !1,
|
|
1196
1201
|
largeTablet: !1,
|
|
1197
1202
|
desktop: !0
|
|
1198
|
-
}),
|
|
1203
|
+
}), O = u ? "top" : "left", [M, Q] = W(0), [F, _] = W(!1), ce = () => {
|
|
1199
1204
|
Q((H) => H + 1);
|
|
1200
|
-
},
|
|
1201
|
-
|
|
1202
|
-
|
|
1205
|
+
}, de = bt(
|
|
1206
|
+
gr((H) => {
|
|
1207
|
+
j(H), ce();
|
|
1203
1208
|
}, 100),
|
|
1204
1209
|
[]
|
|
1205
1210
|
);
|
|
1206
1211
|
q(() => {
|
|
1207
1212
|
l && _(!0);
|
|
1208
1213
|
}, [l]);
|
|
1209
|
-
const
|
|
1214
|
+
const fe = () => {
|
|
1210
1215
|
l || (_(!1), o());
|
|
1211
1216
|
};
|
|
1212
1217
|
return /* @__PURE__ */ t.jsx(
|
|
@@ -1216,19 +1221,19 @@ const Ne = 60, ft = 6, fn = (l) => {
|
|
|
1216
1221
|
onClose: () => {
|
|
1217
1222
|
F && u || o();
|
|
1218
1223
|
},
|
|
1219
|
-
placement:
|
|
1224
|
+
placement: O,
|
|
1220
1225
|
blockScrollOnMount: !1,
|
|
1221
1226
|
autoFocus: !1,
|
|
1222
1227
|
children: /* @__PURE__ */ t.jsx(
|
|
1223
|
-
|
|
1228
|
+
sr,
|
|
1224
1229
|
{ children: l ? /* @__PURE__ */ t.jsxs(
|
|
1225
1230
|
t.Fragment,
|
|
1226
1231
|
{ children: [
|
|
1227
1232
|
/* @__PURE__ */ t.jsx(
|
|
1228
|
-
|
|
1233
|
+
mr,
|
|
1229
1234
|
{
|
|
1230
1235
|
backgroundColor: "tints.black",
|
|
1231
|
-
top: ["0", null, null, `${
|
|
1236
|
+
top: ["0", null, null, `${v}px`],
|
|
1232
1237
|
opacity: u ? void 0 : "0.4 !important",
|
|
1233
1238
|
...u ? {
|
|
1234
1239
|
initial: { opacity: 0 },
|
|
@@ -1243,17 +1248,17 @@ const Ne = 60, ft = 6, fn = (l) => {
|
|
|
1243
1248
|
}
|
|
1244
1249
|
),
|
|
1245
1250
|
/* @__PURE__ */ t.jsxs(
|
|
1246
|
-
|
|
1251
|
+
br,
|
|
1247
1252
|
{
|
|
1248
1253
|
onClick: (H) => {
|
|
1249
1254
|
const B = H.target.closest("a");
|
|
1250
1255
|
B && B.href === window.location.href && o();
|
|
1251
1256
|
},
|
|
1252
1257
|
onMouseEnter: () => {
|
|
1253
|
-
u &&
|
|
1258
|
+
u && ht(!0);
|
|
1254
1259
|
},
|
|
1255
1260
|
onMouseLeave: () => {
|
|
1256
|
-
u &&
|
|
1261
|
+
u && ht(!1);
|
|
1257
1262
|
},
|
|
1258
1263
|
paddingTop: "4",
|
|
1259
1264
|
paddingX: [4, null, null, 12],
|
|
@@ -1261,8 +1266,8 @@ const Ne = 60, ft = 6, fn = (l) => {
|
|
|
1261
1266
|
overflow: ["auto", null, null, "hidden"],
|
|
1262
1267
|
maxHeight: "100vh",
|
|
1263
1268
|
position: "relative",
|
|
1264
|
-
top: u ? `${
|
|
1265
|
-
onAnimationComplete:
|
|
1269
|
+
top: u ? `${v}px !important` : void 0,
|
|
1270
|
+
onAnimationComplete: fe,
|
|
1266
1271
|
...u ? {
|
|
1267
1272
|
initial: { height: 0, opacity: 0 },
|
|
1268
1273
|
animate: { height: "auto", opacity: 1 },
|
|
@@ -1278,16 +1283,16 @@ const Ne = 60, ft = 6, fn = (l) => {
|
|
|
1278
1283
|
gap: s ? "4" : "0",
|
|
1279
1284
|
children: [
|
|
1280
1285
|
u ? null : /* @__PURE__ */ t.jsxs(
|
|
1281
|
-
|
|
1286
|
+
D,
|
|
1282
1287
|
{
|
|
1283
1288
|
width: "100%",
|
|
1284
1289
|
justifyContent: "space-between",
|
|
1285
1290
|
alignItems: "center",
|
|
1286
1291
|
children: [
|
|
1287
1292
|
R ? /* @__PURE__ */ t.jsx(
|
|
1288
|
-
|
|
1293
|
+
ue,
|
|
1289
1294
|
{
|
|
1290
|
-
icon: /* @__PURE__ */ t.jsx(
|
|
1295
|
+
icon: /* @__PURE__ */ t.jsx(ar, {}),
|
|
1291
1296
|
onClick: () => {
|
|
1292
1297
|
c && c(), o();
|
|
1293
1298
|
},
|
|
@@ -1295,7 +1300,7 @@ const Ne = 60, ft = 6, fn = (l) => {
|
|
|
1295
1300
|
}
|
|
1296
1301
|
) : null,
|
|
1297
1302
|
/* @__PURE__ */ t.jsx(
|
|
1298
|
-
|
|
1303
|
+
K,
|
|
1299
1304
|
{
|
|
1300
1305
|
color: "tints.uiGrey",
|
|
1301
1306
|
fontSize: ["xl", null, null, "lg"],
|
|
@@ -1303,9 +1308,9 @@ const Ne = 60, ft = 6, fn = (l) => {
|
|
|
1303
1308
|
}
|
|
1304
1309
|
),
|
|
1305
1310
|
/* @__PURE__ */ t.jsx(
|
|
1306
|
-
|
|
1311
|
+
ue,
|
|
1307
1312
|
{
|
|
1308
|
-
icon: /* @__PURE__ */ t.jsx(
|
|
1313
|
+
icon: /* @__PURE__ */ t.jsx(ir, {}),
|
|
1309
1314
|
onClick: o,
|
|
1310
1315
|
"aria-label": "Close"
|
|
1311
1316
|
}
|
|
@@ -1317,10 +1322,10 @@ const Ne = 60, ft = 6, fn = (l) => {
|
|
|
1317
1322
|
Qt,
|
|
1318
1323
|
{ width: "100%", children: [
|
|
1319
1324
|
/* @__PURE__ */ t.jsx(
|
|
1320
|
-
|
|
1325
|
+
er,
|
|
1321
1326
|
{
|
|
1322
1327
|
onChange: (H) => {
|
|
1323
|
-
|
|
1328
|
+
de(H.target.value);
|
|
1324
1329
|
},
|
|
1325
1330
|
placeholder: "Search",
|
|
1326
1331
|
autoFocus: !0,
|
|
@@ -1329,8 +1334,8 @@ const Ne = 60, ft = 6, fn = (l) => {
|
|
|
1329
1334
|
}
|
|
1330
1335
|
),
|
|
1331
1336
|
/* @__PURE__ */ t.jsx(
|
|
1332
|
-
|
|
1333
|
-
{ pointerEvents: "none", children: /* @__PURE__ */ t.jsx(
|
|
1337
|
+
tr,
|
|
1338
|
+
{ pointerEvents: "none", children: /* @__PURE__ */ t.jsx(rr, { as: jt, color: "gray.500" }) }
|
|
1334
1339
|
)
|
|
1335
1340
|
] }
|
|
1336
1341
|
)
|
|
@@ -1344,7 +1349,7 @@ const Ne = 60, ft = 6, fn = (l) => {
|
|
|
1344
1349
|
paddingBottom: [6, null, null, 4],
|
|
1345
1350
|
"data-testid": `navbar-drawer-body-${p.toLowerCase()}`,
|
|
1346
1351
|
children: /* @__PURE__ */ t.jsxs(
|
|
1347
|
-
|
|
1352
|
+
Xe.div,
|
|
1348
1353
|
{
|
|
1349
1354
|
...u ? {
|
|
1350
1355
|
initial: { opacity: 0, y: -5 },
|
|
@@ -1363,8 +1368,8 @@ const Ne = 60, ft = 6, fn = (l) => {
|
|
|
1363
1368
|
} : {},
|
|
1364
1369
|
style: {
|
|
1365
1370
|
display: "flex",
|
|
1366
|
-
flexDirection:
|
|
1367
|
-
|
|
1371
|
+
flexDirection: xr(
|
|
1372
|
+
b,
|
|
1368
1373
|
u,
|
|
1369
1374
|
s
|
|
1370
1375
|
),
|
|
@@ -1372,8 +1377,8 @@ const Ne = 60, ft = 6, fn = (l) => {
|
|
|
1372
1377
|
justifyContent: "space-between"
|
|
1373
1378
|
},
|
|
1374
1379
|
children: [
|
|
1375
|
-
|
|
1376
|
-
|
|
1380
|
+
g ? /* @__PURE__ */ t.jsx(
|
|
1381
|
+
y,
|
|
1377
1382
|
{
|
|
1378
1383
|
gap: "6",
|
|
1379
1384
|
display: "flex",
|
|
@@ -1385,21 +1390,21 @@ const Ne = 60, ft = 6, fn = (l) => {
|
|
|
1385
1390
|
flexWrap: "wrap",
|
|
1386
1391
|
flexDirection: ["column", null, null, "row"]
|
|
1387
1392
|
},
|
|
1388
|
-
children:
|
|
1393
|
+
children: g
|
|
1389
1394
|
}
|
|
1390
1395
|
) : null,
|
|
1391
1396
|
/* @__PURE__ */ t.jsxs(
|
|
1392
|
-
|
|
1397
|
+
D,
|
|
1393
1398
|
{
|
|
1394
1399
|
position: [null, null, null, "relative"],
|
|
1395
1400
|
flexDirection: "column",
|
|
1396
1401
|
gap: "6",
|
|
1397
1402
|
width: ["100%", null, null, s ? null : "auto"],
|
|
1398
1403
|
children: [
|
|
1399
|
-
d ? /* @__PURE__ */ t.jsx(
|
|
1400
|
-
|
|
1404
|
+
d ? /* @__PURE__ */ t.jsx(y, { children: d }) : null,
|
|
1405
|
+
w && !u ? /* @__PURE__ */ t.jsx(y, { children: w }) : null,
|
|
1401
1406
|
m ? /* @__PURE__ */ t.jsx(
|
|
1402
|
-
|
|
1407
|
+
y,
|
|
1403
1408
|
{
|
|
1404
1409
|
width: ["100%"],
|
|
1405
1410
|
position: [null, null, null, "absolute"],
|
|
@@ -1424,97 +1429,97 @@ const Ne = 60, ft = 6, fn = (l) => {
|
|
|
1424
1429
|
)
|
|
1425
1430
|
}
|
|
1426
1431
|
);
|
|
1427
|
-
},
|
|
1432
|
+
}, vt = (l) => {
|
|
1428
1433
|
const o = /* @__PURE__ */ new Set();
|
|
1429
1434
|
return l.reduce((p, d) => {
|
|
1430
|
-
var
|
|
1431
|
-
const
|
|
1432
|
-
const c = R.links.filter((
|
|
1435
|
+
var g;
|
|
1436
|
+
const w = ((g = d.sections) == null ? void 0 : g.reduce((m, R) => {
|
|
1437
|
+
const c = R.links.filter((b) => o.has(b.label) || b.isSearchable !== !0 ? !1 : (o.add(b.label), !0));
|
|
1433
1438
|
return [...m, ...c];
|
|
1434
1439
|
}, [])) ?? [];
|
|
1435
|
-
return [...p, ...
|
|
1440
|
+
return [...p, ...w];
|
|
1436
1441
|
}, []);
|
|
1437
|
-
},
|
|
1442
|
+
}, jr = ({
|
|
1438
1443
|
source: l,
|
|
1439
1444
|
onSearchCallback: o,
|
|
1440
1445
|
isActive: p
|
|
1441
1446
|
}) => {
|
|
1442
|
-
const [d,
|
|
1447
|
+
const [d, w] = W(""), [g, m] = W([]), R = (s, j) => {
|
|
1443
1448
|
if (!s)
|
|
1444
1449
|
return [];
|
|
1445
|
-
const
|
|
1446
|
-
return
|
|
1447
|
-
const
|
|
1448
|
-
return
|
|
1449
|
-
}).sort((u,
|
|
1450
|
+
const v = s.toLowerCase();
|
|
1451
|
+
return j.filter((u) => {
|
|
1452
|
+
const O = u.label.toLowerCase().includes(v), M = typeof u.additionalContent == "string" && u.additionalContent.toLowerCase().includes(v);
|
|
1453
|
+
return O || M;
|
|
1454
|
+
}).sort((u, O) => u.label.localeCompare(O.label));
|
|
1450
1455
|
}, c = (s) => {
|
|
1451
|
-
if (
|
|
1456
|
+
if (w(s), !s) {
|
|
1452
1457
|
m([]);
|
|
1453
1458
|
return;
|
|
1454
1459
|
}
|
|
1455
|
-
const
|
|
1456
|
-
m(
|
|
1457
|
-
},
|
|
1458
|
-
|
|
1460
|
+
const j = R(s, l);
|
|
1461
|
+
m(j), o && o(s, j);
|
|
1462
|
+
}, b = () => {
|
|
1463
|
+
w(""), m([]);
|
|
1459
1464
|
};
|
|
1460
1465
|
return q(() => {
|
|
1461
|
-
p || (
|
|
1466
|
+
p || (w(""), m([]));
|
|
1462
1467
|
}, [p]), {
|
|
1463
1468
|
query: d,
|
|
1464
|
-
results:
|
|
1465
|
-
handleClose:
|
|
1469
|
+
results: g,
|
|
1470
|
+
handleClose: b,
|
|
1466
1471
|
handleSearch: c
|
|
1467
1472
|
};
|
|
1468
|
-
},
|
|
1473
|
+
}, kr = ({
|
|
1469
1474
|
categories: l = [],
|
|
1470
1475
|
onCartClick: o,
|
|
1471
1476
|
mainCategoryLabel: p = "Menu",
|
|
1472
1477
|
logoLink: d = "https://www.everlywell.com",
|
|
1473
|
-
hasSearch:
|
|
1474
|
-
onSearchClick:
|
|
1478
|
+
hasSearch: w = !0,
|
|
1479
|
+
onSearchClick: g,
|
|
1475
1480
|
registrationUrl: m,
|
|
1476
1481
|
profileUrl: R = "https://secure.everlywell.com/login",
|
|
1477
1482
|
mobileBottomButtons: c = [],
|
|
1478
|
-
numberOfCartItems:
|
|
1483
|
+
numberOfCartItems: b = 0,
|
|
1479
1484
|
linkComponent: s,
|
|
1480
|
-
onSearchCallback:
|
|
1481
|
-
onLinkClick:
|
|
1485
|
+
onSearchCallback: j,
|
|
1486
|
+
onLinkClick: v,
|
|
1482
1487
|
onCategoryOpen: u,
|
|
1483
|
-
onMobileMenuOpen:
|
|
1488
|
+
onMobileMenuOpen: O,
|
|
1484
1489
|
onBackToMainMenu: M,
|
|
1485
1490
|
onRegisterKitClick: Q,
|
|
1486
1491
|
onProfileClick: F,
|
|
1487
1492
|
onLogoClick: _,
|
|
1488
|
-
shopAllProductsUrl:
|
|
1489
|
-
onShopAllProductsClick:
|
|
1493
|
+
shopAllProductsUrl: ce,
|
|
1494
|
+
onShopAllProductsClick: de
|
|
1490
1495
|
}) => {
|
|
1491
|
-
var
|
|
1492
|
-
const [
|
|
1493
|
-
query:
|
|
1496
|
+
var G, me, je;
|
|
1497
|
+
const [fe, H] = W(!1), [ee, B] = W(!1), [E, V] = W(null), [Ee, pe] = W(!1), [A, N] = W(!1), [Y, Re] = W(0), {
|
|
1498
|
+
query: _e,
|
|
1494
1499
|
results: te,
|
|
1495
|
-
handleSearch:
|
|
1496
|
-
} =
|
|
1497
|
-
source:
|
|
1498
|
-
onSearchCallback:
|
|
1500
|
+
handleSearch: Se
|
|
1501
|
+
} = jr({
|
|
1502
|
+
source: vt(l),
|
|
1503
|
+
onSearchCallback: j,
|
|
1499
1504
|
isActive: ee
|
|
1500
|
-
}),
|
|
1501
|
-
|
|
1502
|
-
{ gap:
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
+
}), he = te.length > 0, re = s || z, Te = Le(ce, !!s), ke = _e && /* @__PURE__ */ t.jsxs(
|
|
1506
|
+
D,
|
|
1507
|
+
{ gap: he ? "6" : 0, direction: "column", children: [
|
|
1508
|
+
he ? /* @__PURE__ */ t.jsx(K, { color: "tints.uiGrey", children: `${te.length} Results` }) : /* @__PURE__ */ t.jsxs(
|
|
1509
|
+
D,
|
|
1505
1510
|
{ direction: "column", gap: "6", alignItems: "flex-start", children: [
|
|
1506
1511
|
/* @__PURE__ */ t.jsx(
|
|
1507
|
-
|
|
1512
|
+
K,
|
|
1508
1513
|
{ color: "tints.uiGrey", children: "We didn't find what you were looking for." }
|
|
1509
1514
|
),
|
|
1510
1515
|
/* @__PURE__ */ t.jsx(
|
|
1511
|
-
|
|
1516
|
+
gt,
|
|
1512
1517
|
{
|
|
1513
|
-
as:
|
|
1514
|
-
onClick:
|
|
1518
|
+
as: re,
|
|
1519
|
+
onClick: de,
|
|
1515
1520
|
_hover: { textDecoration: "none" },
|
|
1516
1521
|
width: ["100%", null, null, "auto"],
|
|
1517
|
-
...
|
|
1522
|
+
...Te,
|
|
1518
1523
|
children: "Shop all products"
|
|
1519
1524
|
}
|
|
1520
1525
|
)
|
|
@@ -1523,10 +1528,10 @@ const Ne = 60, ft = 6, fn = (l) => {
|
|
|
1523
1528
|
/* @__PURE__ */ t.jsx(
|
|
1524
1529
|
Kt,
|
|
1525
1530
|
{ columns: [1, 1, 1, 4], children: te.map(
|
|
1526
|
-
(a,
|
|
1531
|
+
(a, k) => /* @__PURE__ */ t.jsx(
|
|
1527
1532
|
Xt,
|
|
1528
1533
|
{ children: /* @__PURE__ */ t.jsx(
|
|
1529
|
-
|
|
1534
|
+
ze,
|
|
1530
1535
|
{
|
|
1531
1536
|
href: a.href,
|
|
1532
1537
|
label: a.label,
|
|
@@ -1534,143 +1539,149 @@ const Ne = 60, ft = 6, fn = (l) => {
|
|
|
1534
1539
|
linkComponent: s
|
|
1535
1540
|
}
|
|
1536
1541
|
) },
|
|
1537
|
-
`${a.label}-${
|
|
1542
|
+
`${a.label}-${k}`
|
|
1538
1543
|
)
|
|
1539
1544
|
) }
|
|
1540
1545
|
)
|
|
1541
1546
|
] }
|
|
1542
|
-
),
|
|
1547
|
+
), ve = () => {
|
|
1543
1548
|
H(!1), V(null);
|
|
1544
|
-
},
|
|
1545
|
-
V(a);
|
|
1546
|
-
},
|
|
1547
|
-
|
|
1548
|
-
},
|
|
1549
|
-
|
|
1549
|
+
}, U = (a) => "href" in a, ge = (a) => {
|
|
1550
|
+
U(a) ? v == null || v(a.label) : V(a);
|
|
1551
|
+
}, xe = (a) => {
|
|
1552
|
+
pe(!0), B(!1), !U(a) && (a.sections || a.spotlightCards) && V(a);
|
|
1553
|
+
}, ne = () => {
|
|
1554
|
+
pe(!1);
|
|
1550
1555
|
};
|
|
1551
1556
|
q(() => {
|
|
1552
|
-
const a = (
|
|
1553
|
-
N(
|
|
1557
|
+
const a = (k) => {
|
|
1558
|
+
N(k.detail.isHovering);
|
|
1554
1559
|
};
|
|
1555
1560
|
return window.addEventListener(
|
|
1556
|
-
|
|
1561
|
+
Ze,
|
|
1557
1562
|
a
|
|
1558
1563
|
), () => {
|
|
1559
1564
|
window.removeEventListener(
|
|
1560
|
-
|
|
1565
|
+
Ze,
|
|
1561
1566
|
a
|
|
1562
1567
|
);
|
|
1563
1568
|
};
|
|
1564
1569
|
}, []), q(() => {
|
|
1565
|
-
!
|
|
1566
|
-
}, [
|
|
1570
|
+
!Ee && !A && (V(null), B(!1));
|
|
1571
|
+
}, [Ee, A]), q(() => {
|
|
1567
1572
|
let a = window.location.href;
|
|
1568
|
-
const
|
|
1569
|
-
const
|
|
1570
|
-
|
|
1571
|
-
},
|
|
1572
|
-
return window.addEventListener("popstate",
|
|
1573
|
-
window.removeEventListener("popstate",
|
|
1573
|
+
const k = () => {
|
|
1574
|
+
const P = window.location.href;
|
|
1575
|
+
P !== a && (a = P, ve(), V(null));
|
|
1576
|
+
}, Z = setInterval(k, 100);
|
|
1577
|
+
return window.addEventListener("popstate", k), () => {
|
|
1578
|
+
window.removeEventListener("popstate", k), clearInterval(Z);
|
|
1574
1579
|
};
|
|
1575
1580
|
}, []);
|
|
1576
|
-
const
|
|
1581
|
+
const be = () => {
|
|
1577
1582
|
V(null), M == null || M();
|
|
1578
|
-
},
|
|
1583
|
+
}, le = /* @__PURE__ */ t.jsx(
|
|
1579
1584
|
t.Fragment,
|
|
1580
1585
|
{ children: l == null ? void 0 : l.map(
|
|
1581
|
-
(a,
|
|
1582
|
-
|
|
1586
|
+
(a, k) => /* @__PURE__ */ t.jsx(
|
|
1587
|
+
Pe,
|
|
1583
1588
|
{
|
|
1584
1589
|
onMouseEnter: () => {
|
|
1585
|
-
|
|
1590
|
+
xe(a), u == null || u(a.label);
|
|
1586
1591
|
},
|
|
1587
|
-
onMouseLeave:
|
|
1588
|
-
isSelected: (
|
|
1592
|
+
onMouseLeave: ne,
|
|
1593
|
+
isSelected: (E == null ? void 0 : E.label) === a.label,
|
|
1594
|
+
as: U(a) && re ? re : z,
|
|
1595
|
+
href: U(a) ? a.href : void 0,
|
|
1596
|
+
onClick: U(a) ? () => v == null ? void 0 : v(a.label) : void 0,
|
|
1589
1597
|
...a.buttonProps,
|
|
1590
1598
|
children: a.label
|
|
1591
1599
|
},
|
|
1592
|
-
`${a.label}-${
|
|
1600
|
+
`${a.label}-${k}`
|
|
1593
1601
|
)
|
|
1594
1602
|
) }
|
|
1595
|
-
),
|
|
1596
|
-
(a) =>
|
|
1597
|
-
|
|
1603
|
+
), Ie = (G = l.filter(
|
|
1604
|
+
(a) => !U(a) && a.isMobileTopLink !== !1
|
|
1605
|
+
)) == null ? void 0 : G.map((a) => {
|
|
1606
|
+
const k = a;
|
|
1607
|
+
return /* @__PURE__ */ t.jsx(
|
|
1608
|
+
y,
|
|
1598
1609
|
{
|
|
1599
1610
|
onClick: () => {
|
|
1600
|
-
|
|
1611
|
+
ge(k), u == null || u(k.label);
|
|
1601
1612
|
},
|
|
1602
1613
|
children: /* @__PURE__ */ t.jsx(
|
|
1603
|
-
|
|
1614
|
+
ze,
|
|
1604
1615
|
{
|
|
1605
|
-
label:
|
|
1616
|
+
label: k.label,
|
|
1606
1617
|
role: "link",
|
|
1607
|
-
additionalContent:
|
|
1618
|
+
additionalContent: k.additionalContent,
|
|
1608
1619
|
mainTextFontSize: "3xl",
|
|
1609
1620
|
linkComponent: s
|
|
1610
1621
|
}
|
|
1611
1622
|
)
|
|
1612
1623
|
},
|
|
1613
|
-
|
|
1614
|
-
)
|
|
1615
|
-
);
|
|
1616
|
-
|
|
1617
|
-
const
|
|
1624
|
+
k.label
|
|
1625
|
+
);
|
|
1626
|
+
});
|
|
1627
|
+
vt(l);
|
|
1628
|
+
const De = /* @__PURE__ */ t.jsxs(
|
|
1618
1629
|
t.Fragment,
|
|
1619
1630
|
{ children: [
|
|
1620
1631
|
/* @__PURE__ */ t.jsx(
|
|
1621
|
-
|
|
1632
|
+
Pe,
|
|
1622
1633
|
{
|
|
1623
|
-
as:
|
|
1634
|
+
as: z,
|
|
1624
1635
|
href: R,
|
|
1625
1636
|
width: "100%",
|
|
1626
1637
|
backgroundColor: "tints.cream",
|
|
1627
1638
|
onClick: F,
|
|
1628
1639
|
children: /* @__PURE__ */ t.jsxs(
|
|
1629
|
-
|
|
1640
|
+
D,
|
|
1630
1641
|
{ gap: "2", children: [
|
|
1631
1642
|
"My Everly",
|
|
1632
|
-
/* @__PURE__ */ t.jsx(
|
|
1643
|
+
/* @__PURE__ */ t.jsx(se, { as: ct, size: 24 })
|
|
1633
1644
|
] }
|
|
1634
1645
|
)
|
|
1635
1646
|
},
|
|
1636
1647
|
"my-everly"
|
|
1637
1648
|
),
|
|
1638
1649
|
/* @__PURE__ */ t.jsx(
|
|
1639
|
-
|
|
1650
|
+
Pe,
|
|
1640
1651
|
{
|
|
1641
|
-
as:
|
|
1652
|
+
as: z,
|
|
1642
1653
|
width: "100%",
|
|
1643
1654
|
href: m,
|
|
1644
1655
|
backgroundColor: "tints.cream",
|
|
1645
1656
|
onClick: Q,
|
|
1646
1657
|
children: /* @__PURE__ */ t.jsxs(
|
|
1647
|
-
|
|
1658
|
+
D,
|
|
1648
1659
|
{ gap: "2", children: [
|
|
1649
1660
|
"Register kit",
|
|
1650
|
-
/* @__PURE__ */ t.jsx(
|
|
1661
|
+
/* @__PURE__ */ t.jsx(se, { as: or, size: 24 })
|
|
1651
1662
|
] }
|
|
1652
1663
|
)
|
|
1653
1664
|
},
|
|
1654
1665
|
"register-kit"
|
|
1655
1666
|
)
|
|
1656
1667
|
] }
|
|
1657
|
-
),
|
|
1658
|
-
|
|
1668
|
+
), Ae = /* @__PURE__ */ t.jsxs(
|
|
1669
|
+
D,
|
|
1659
1670
|
{ gap: "2", flexDirection: "column", children: [
|
|
1660
1671
|
c,
|
|
1661
|
-
|
|
1672
|
+
De
|
|
1662
1673
|
] }
|
|
1663
|
-
),
|
|
1664
|
-
|
|
1665
|
-
{ direction: ["column", null, null, "row"], gap: "8", children: (
|
|
1666
|
-
const
|
|
1667
|
-
for (let
|
|
1668
|
-
|
|
1674
|
+
), Fe = E ? /* @__PURE__ */ t.jsx(
|
|
1675
|
+
D,
|
|
1676
|
+
{ direction: ["column", null, null, "row"], gap: "8", children: (me = E == null ? void 0 : E.sections) == null ? void 0 : me.map((a, k) => {
|
|
1677
|
+
const Z = [];
|
|
1678
|
+
for (let P = 0; P < a.links.length; P += 3)
|
|
1679
|
+
Z.push(a.links.slice(P, P + 3));
|
|
1669
1680
|
return /* @__PURE__ */ t.jsxs(
|
|
1670
|
-
|
|
1681
|
+
y,
|
|
1671
1682
|
{ children: [
|
|
1672
1683
|
/* @__PURE__ */ t.jsx(
|
|
1673
|
-
|
|
1684
|
+
K,
|
|
1674
1685
|
{
|
|
1675
1686
|
fontSize: "md",
|
|
1676
1687
|
color: "tints.uiGrey",
|
|
@@ -1679,54 +1690,54 @@ const Ne = 60, ft = 6, fn = (l) => {
|
|
|
1679
1690
|
}
|
|
1680
1691
|
),
|
|
1681
1692
|
/* @__PURE__ */ t.jsx(
|
|
1682
|
-
|
|
1693
|
+
D,
|
|
1683
1694
|
{
|
|
1684
1695
|
flexDirection: ["column", null, null, "row"],
|
|
1685
1696
|
gap: [null, null, null, 8],
|
|
1686
|
-
children:
|
|
1687
|
-
(
|
|
1688
|
-
|
|
1697
|
+
children: Z == null ? void 0 : Z.map(
|
|
1698
|
+
(P, He) => /* @__PURE__ */ t.jsx(
|
|
1699
|
+
D,
|
|
1689
1700
|
{
|
|
1690
1701
|
flexDirection: ["column"],
|
|
1691
1702
|
gap: [null, null, null, 5],
|
|
1692
1703
|
marginLeft: [null, null, null, -2],
|
|
1693
|
-
children:
|
|
1704
|
+
children: P == null ? void 0 : P.map(
|
|
1694
1705
|
(X) => /* @__PURE__ */ t.jsx(
|
|
1695
|
-
|
|
1706
|
+
ze,
|
|
1696
1707
|
{
|
|
1697
1708
|
label: X.label,
|
|
1698
1709
|
href: X.href,
|
|
1699
1710
|
additionalContent: X.additionalContent,
|
|
1700
1711
|
linkComponent: s,
|
|
1701
|
-
onClick: () =>
|
|
1712
|
+
onClick: () => v == null ? void 0 : v(X.label)
|
|
1702
1713
|
},
|
|
1703
1714
|
X.label
|
|
1704
1715
|
)
|
|
1705
1716
|
)
|
|
1706
1717
|
},
|
|
1707
|
-
|
|
1718
|
+
He
|
|
1708
1719
|
)
|
|
1709
1720
|
)
|
|
1710
1721
|
}
|
|
1711
1722
|
)
|
|
1712
1723
|
] },
|
|
1713
|
-
`${a.title}-${
|
|
1724
|
+
`${a.title}-${k}`
|
|
1714
1725
|
);
|
|
1715
1726
|
}) }
|
|
1716
|
-
) : null,
|
|
1717
|
-
(a) => /* @__PURE__ */ t.jsx(
|
|
1718
|
-
) : /* @__PURE__ */ t.jsx(
|
|
1727
|
+
) : null, ae = E != null && E.spotlightCards ? (je = E.spotlightCards) == null ? void 0 : je.map(
|
|
1728
|
+
(a) => /* @__PURE__ */ t.jsx(fr, { ...a }, a.title)
|
|
1729
|
+
) : /* @__PURE__ */ t.jsx(y, {});
|
|
1719
1730
|
return /* @__PURE__ */ t.jsxs(
|
|
1720
|
-
|
|
1731
|
+
y,
|
|
1721
1732
|
{ children: [
|
|
1722
1733
|
/* @__PURE__ */ t.jsx(
|
|
1723
|
-
|
|
1734
|
+
hr,
|
|
1724
1735
|
{
|
|
1725
|
-
desktopTopButtons:
|
|
1736
|
+
desktopTopButtons: le,
|
|
1726
1737
|
kitRegistrationElement: /* @__PURE__ */ t.jsx(
|
|
1727
|
-
|
|
1738
|
+
Pe,
|
|
1728
1739
|
{
|
|
1729
|
-
as:
|
|
1740
|
+
as: z,
|
|
1730
1741
|
href: m,
|
|
1731
1742
|
onClick: Q,
|
|
1732
1743
|
backgroundColor: "tints.cream",
|
|
@@ -1734,66 +1745,66 @@ const Ne = 60, ft = 6, fn = (l) => {
|
|
|
1734
1745
|
}
|
|
1735
1746
|
),
|
|
1736
1747
|
profileElement: /* @__PURE__ */ t.jsx(
|
|
1737
|
-
|
|
1738
|
-
{ href: R, "aria-label": "login", onClick: F, children: /* @__PURE__ */ t.jsx(
|
|
1748
|
+
z,
|
|
1749
|
+
{ href: R, "aria-label": "login", onClick: F, children: /* @__PURE__ */ t.jsx(ue, { icon: /* @__PURE__ */ t.jsx(se, { as: ct }), "aria-label": "Profile" }) }
|
|
1739
1750
|
),
|
|
1740
1751
|
cartElement: /* @__PURE__ */ t.jsx(
|
|
1741
|
-
|
|
1752
|
+
vr,
|
|
1742
1753
|
{
|
|
1743
1754
|
"aria-label": "Cart",
|
|
1744
|
-
count:
|
|
1755
|
+
count: b,
|
|
1745
1756
|
onClick: o
|
|
1746
1757
|
}
|
|
1747
1758
|
),
|
|
1748
1759
|
onSearchClick: () => {
|
|
1749
|
-
B(!ee),
|
|
1760
|
+
B(!ee), g == null || g();
|
|
1750
1761
|
},
|
|
1751
1762
|
onMenuClick: () => {
|
|
1752
|
-
H(!0),
|
|
1763
|
+
H(!0), O == null || O();
|
|
1753
1764
|
},
|
|
1754
|
-
hasSearch:
|
|
1765
|
+
hasSearch: w,
|
|
1755
1766
|
logoLink: d,
|
|
1756
1767
|
linkComponent: s,
|
|
1757
1768
|
onLogoClick: _,
|
|
1758
|
-
setTopOffset:
|
|
1769
|
+
setTopOffset: Re
|
|
1759
1770
|
}
|
|
1760
1771
|
),
|
|
1761
1772
|
/* @__PURE__ */ t.jsx(
|
|
1762
|
-
|
|
1773
|
+
Ue,
|
|
1763
1774
|
{
|
|
1764
|
-
isOpen:
|
|
1765
|
-
onClose:
|
|
1775
|
+
isOpen: fe,
|
|
1776
|
+
onClose: ve,
|
|
1766
1777
|
title: p,
|
|
1767
|
-
navDrawerLinks:
|
|
1768
|
-
bottomNavButtons:
|
|
1778
|
+
navDrawerLinks: Ie,
|
|
1779
|
+
bottomNavButtons: Ae,
|
|
1769
1780
|
hasBackButton: !1,
|
|
1770
1781
|
topOffset: Y
|
|
1771
1782
|
}
|
|
1772
1783
|
),
|
|
1773
1784
|
/* @__PURE__ */ t.jsx(
|
|
1774
|
-
|
|
1785
|
+
Ue,
|
|
1775
1786
|
{
|
|
1776
|
-
isOpen: !!
|
|
1787
|
+
isOpen: !!E,
|
|
1777
1788
|
onClose: () => {
|
|
1778
|
-
|
|
1789
|
+
ve(), V(null);
|
|
1779
1790
|
},
|
|
1780
|
-
title: (
|
|
1781
|
-
navDrawerLinks:
|
|
1782
|
-
onBackClick:
|
|
1783
|
-
spotlightCards:
|
|
1784
|
-
hasOnlySpotlightCards:
|
|
1785
|
-
bottomButton:
|
|
1791
|
+
title: (E == null ? void 0 : E.label) || "",
|
|
1792
|
+
navDrawerLinks: Fe,
|
|
1793
|
+
onBackClick: be,
|
|
1794
|
+
spotlightCards: ae,
|
|
1795
|
+
hasOnlySpotlightCards: E == null ? void 0 : E.hasOnlySpotlightCards,
|
|
1796
|
+
bottomButton: E == null ? void 0 : E.bottomButton,
|
|
1786
1797
|
topOffset: Y
|
|
1787
1798
|
}
|
|
1788
1799
|
),
|
|
1789
1800
|
/* @__PURE__ */ t.jsx(
|
|
1790
|
-
|
|
1801
|
+
Ue,
|
|
1791
1802
|
{
|
|
1792
1803
|
isOpen: ee,
|
|
1793
1804
|
onClose: () => B(!1),
|
|
1794
1805
|
title: "Search",
|
|
1795
1806
|
navDrawerLinks: ke,
|
|
1796
|
-
onSearch:
|
|
1807
|
+
onSearch: Se,
|
|
1797
1808
|
hasSearch: !0,
|
|
1798
1809
|
hasBackButton: !1,
|
|
1799
1810
|
topOffset: Y
|
|
@@ -1803,15 +1814,15 @@ const Ne = 60, ft = 6, fn = (l) => {
|
|
|
1803
1814
|
);
|
|
1804
1815
|
};
|
|
1805
1816
|
export {
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
+
vr as BasketButton,
|
|
1818
|
+
Sr as CategoryLabel,
|
|
1819
|
+
Pe as NavButton,
|
|
1820
|
+
Tr as NavSkeleton,
|
|
1821
|
+
Ue as NavbarDrawer,
|
|
1822
|
+
ze as NavbarDrawerLink,
|
|
1823
|
+
kr as NavigationBar,
|
|
1824
|
+
fr as SpotlightCard,
|
|
1825
|
+
_r as Stepper,
|
|
1826
|
+
ue as TopNavIconButton,
|
|
1827
|
+
hr as TopNavigation
|
|
1817
1828
|
};
|