@everlywell/consumer-ui 1.34.0 → 1.35.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 +8 -8
- package/index.mjs +559 -556
- package/lib/components/Navbar/NavbarDrawer/NavbarDrawer.d.ts.map +1 -1
- package/lib/components/Navbar/NavigationBar/NavigationBar.d.ts.map +1 -1
- package/lib/components/Navbar/NavigationBar/NavigationBar.stories.d.ts +23 -0
- package/lib/components/Navbar/NavigationBar/NavigationBar.stories.d.ts.map +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { useSteps as
|
|
2
|
-
import
|
|
3
|
-
import { Text as qt, useBreakpointValue as
|
|
4
|
-
import { CaretRight as ct, MagnifyingGlass as jt, List as
|
|
5
|
-
import { motion as
|
|
6
|
-
var
|
|
1
|
+
import { useSteps as $t, Box as y, Stepper as Bt, Icon as ue, Flex as D, Text as K, Link as z, Button as xt, Image as Wt, IconButton as Vt, VStack as Nt, Skeleton as Ne, HStack as ut, SkeletonCircle as De, 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 Z, forwardRef as bt, useRef as Jt, useCallback as mt, useState as W } from "react";
|
|
3
|
+
import { Text as qt, useBreakpointValue as Xe, InputGroup as Qt, Input as en, InputRightElement as tn, Icon as nn } from "@chakra-ui/react";
|
|
4
|
+
import { CaretRight as ct, MagnifyingGlass as jt, List as rn, Basket as ln, CaretLeft as an, X as on, User as dt, QrCode as sn } from "@phosphor-icons/react";
|
|
5
|
+
import { motion as Je, AnimatePresence as un } from "framer-motion";
|
|
6
|
+
var Ge = { exports: {} }, Ce = {};
|
|
7
7
|
/**
|
|
8
8
|
* @license React
|
|
9
9
|
* react-jsx-runtime.production.min.js
|
|
@@ -13,25 +13,25 @@ var Ze = { exports: {} }, we = {};
|
|
|
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 =
|
|
16
|
+
var ft;
|
|
17
|
+
function cn() {
|
|
18
|
+
if (ft)
|
|
19
|
+
return Ce;
|
|
20
|
+
ft = 1;
|
|
21
|
+
var l = Ke, s = 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
22
|
function m(R, c, b) {
|
|
23
|
-
var
|
|
23
|
+
var o, j = {}, v = null, u = null;
|
|
24
24
|
b !== void 0 && (v = "" + b), c.key !== void 0 && (v = "" + c.key), c.ref !== void 0 && (u = c.ref);
|
|
25
|
-
for (
|
|
26
|
-
|
|
25
|
+
for (o in c)
|
|
26
|
+
d.call(c, o) && !g.hasOwnProperty(o) && (j[o] = c[o]);
|
|
27
27
|
if (R && R.defaultProps)
|
|
28
|
-
for (
|
|
29
|
-
j[
|
|
30
|
-
return { $$typeof:
|
|
28
|
+
for (o in c = R.defaultProps, c)
|
|
29
|
+
j[o] === void 0 && (j[o] = c[o]);
|
|
30
|
+
return { $$typeof: s, type: R, key: v, ref: u, props: j, _owner: w.current };
|
|
31
31
|
}
|
|
32
|
-
return
|
|
32
|
+
return Ce.Fragment = p, Ce.jsx = m, Ce.jsxs = m, Ce;
|
|
33
33
|
}
|
|
34
|
-
var
|
|
34
|
+
var we = {};
|
|
35
35
|
/**
|
|
36
36
|
* @license React
|
|
37
37
|
* react-jsx-runtime.development.js
|
|
@@ -42,53 +42,53 @@ var ye = {};
|
|
|
42
42
|
* LICENSE file in the root directory of this source tree.
|
|
43
43
|
*/
|
|
44
44
|
var pt;
|
|
45
|
-
function
|
|
45
|
+
function dn() {
|
|
46
46
|
return pt || (pt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
47
|
-
var l =
|
|
48
|
-
function
|
|
47
|
+
var l = Ke, s = 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"), o = Symbol.for("react.suspense_list"), j = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), u = Symbol.for("react.offscreen"), O = Symbol.iterator, q = "@@iterator";
|
|
48
|
+
function Q(e) {
|
|
49
49
|
if (e === null || typeof e != "object")
|
|
50
50
|
return null;
|
|
51
|
-
var
|
|
52
|
-
return typeof
|
|
51
|
+
var n = O && e[O] || e[q];
|
|
52
|
+
return typeof n == "function" ? n : 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
|
-
de("error", e,
|
|
57
|
+
for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), i = 1; i < n; i++)
|
|
58
|
+
r[i - 1] = arguments[i];
|
|
59
|
+
de("error", e, r);
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
function de(e,
|
|
62
|
+
function de(e, n, r) {
|
|
63
63
|
{
|
|
64
64
|
var i = F.ReactDebugCurrentFrame, x = i.getStackAddendum();
|
|
65
|
-
x !== "" && (
|
|
66
|
-
var C =
|
|
65
|
+
x !== "" && (n += "%s", r = r.concat([x]));
|
|
66
|
+
var C = r.map(function(h) {
|
|
67
67
|
return String(h);
|
|
68
68
|
});
|
|
69
|
-
C.unshift("Warning: " +
|
|
69
|
+
C.unshift("Warning: " + n), Function.prototype.apply.call(console[e], console, C);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
var
|
|
72
|
+
var fe = !1, pe = !1, M = !1, ee = !1, V = !1, E;
|
|
73
73
|
E = Symbol.for("react.module.reference");
|
|
74
|
-
function
|
|
75
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
74
|
+
function $(e) {
|
|
75
|
+
return !!(typeof e == "string" || typeof e == "function" || e === d || e === g || V || e === w || e === b || e === o || ee || e === u || fe || pe || M || 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
79
|
e.$$typeof === E || e.getModuleId !== void 0));
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function ye(e, n, r) {
|
|
82
82
|
var i = e.displayName;
|
|
83
83
|
if (i)
|
|
84
84
|
return i;
|
|
85
|
-
var x =
|
|
86
|
-
return x !== "" ?
|
|
85
|
+
var x = n.displayName || n.name || "";
|
|
86
|
+
return x !== "" ? r + "(" + x + ")" : r;
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function he(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")
|
|
@@ -96,7 +96,7 @@ function cr() {
|
|
|
96
96
|
if (typeof e == "string")
|
|
97
97
|
return e;
|
|
98
98
|
switch (e) {
|
|
99
|
-
case
|
|
99
|
+
case d:
|
|
100
100
|
return "Fragment";
|
|
101
101
|
case p:
|
|
102
102
|
return "Portal";
|
|
@@ -106,26 +106,26 @@ function cr() {
|
|
|
106
106
|
return "StrictMode";
|
|
107
107
|
case b:
|
|
108
108
|
return "Suspense";
|
|
109
|
-
case
|
|
109
|
+
case o:
|
|
110
110
|
return "SuspenseList";
|
|
111
111
|
}
|
|
112
112
|
if (typeof e == "object")
|
|
113
113
|
switch (e.$$typeof) {
|
|
114
114
|
case R:
|
|
115
|
-
var r = e;
|
|
116
|
-
return ve(r) + ".Consumer";
|
|
117
|
-
case m:
|
|
118
115
|
var n = e;
|
|
119
|
-
return
|
|
116
|
+
return he(n) + ".Consumer";
|
|
117
|
+
case m:
|
|
118
|
+
var r = e;
|
|
119
|
+
return he(r._context) + ".Provider";
|
|
120
120
|
case c:
|
|
121
|
-
return
|
|
121
|
+
return ye(e, e.render, "ForwardRef");
|
|
122
122
|
case j:
|
|
123
123
|
var i = e.displayName || null;
|
|
124
|
-
return i !== null ? i :
|
|
124
|
+
return i !== null ? i : A(e.type) || "Memo";
|
|
125
125
|
case v: {
|
|
126
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,18 +133,18 @@ function cr() {
|
|
|
133
133
|
}
|
|
134
134
|
return null;
|
|
135
135
|
}
|
|
136
|
-
var
|
|
137
|
-
function
|
|
136
|
+
var N = Object.assign, Y = 0, Ee, Re, _e, te, Se, ve, ne;
|
|
137
|
+
function Te() {
|
|
138
138
|
}
|
|
139
|
-
|
|
139
|
+
Te.__reactDisabledLog = !0;
|
|
140
140
|
function Ie() {
|
|
141
141
|
{
|
|
142
|
-
if (
|
|
143
|
-
|
|
142
|
+
if (Y === 0) {
|
|
143
|
+
Ee = console.log, Re = console.info, _e = console.warn, te = console.error, Se = console.group, ve = console.groupCollapsed, ne = console.groupEnd;
|
|
144
144
|
var e = {
|
|
145
145
|
configurable: !0,
|
|
146
146
|
enumerable: !0,
|
|
147
|
-
value:
|
|
147
|
+
value: Te,
|
|
148
148
|
writable: !0
|
|
149
149
|
};
|
|
150
150
|
Object.defineProperties(console, {
|
|
@@ -157,79 +157,79 @@ function cr() {
|
|
|
157
157
|
groupEnd: e
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
|
-
|
|
160
|
+
Y++;
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
|
-
function
|
|
163
|
+
function re() {
|
|
164
164
|
{
|
|
165
|
-
if (
|
|
165
|
+
if (Y--, Y === 0) {
|
|
166
166
|
var e = {
|
|
167
167
|
configurable: !0,
|
|
168
168
|
enumerable: !0,
|
|
169
169
|
writable: !0
|
|
170
170
|
};
|
|
171
171
|
Object.defineProperties(console, {
|
|
172
|
-
log:
|
|
172
|
+
log: N({}, e, {
|
|
173
|
+
value: Ee
|
|
174
|
+
}),
|
|
175
|
+
info: N({}, e, {
|
|
173
176
|
value: Re
|
|
174
177
|
}),
|
|
175
|
-
|
|
178
|
+
warn: N({}, e, {
|
|
176
179
|
value: _e
|
|
177
180
|
}),
|
|
178
|
-
|
|
179
|
-
value:
|
|
180
|
-
}),
|
|
181
|
-
error: z({}, e, {
|
|
182
|
-
value: re
|
|
181
|
+
error: N({}, e, {
|
|
182
|
+
value: te
|
|
183
183
|
}),
|
|
184
|
-
group:
|
|
185
|
-
value:
|
|
184
|
+
group: N({}, e, {
|
|
185
|
+
value: Se
|
|
186
186
|
}),
|
|
187
|
-
groupCollapsed:
|
|
188
|
-
value:
|
|
187
|
+
groupCollapsed: N({}, e, {
|
|
188
|
+
value: ve
|
|
189
189
|
}),
|
|
190
|
-
groupEnd:
|
|
190
|
+
groupEnd: N({}, e, {
|
|
191
191
|
value: ne
|
|
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
|
|
198
|
+
var B = F.ReactCurrentDispatcher, ge;
|
|
199
|
+
function le(e, n, r) {
|
|
200
200
|
{
|
|
201
|
-
if (
|
|
201
|
+
if (ge === void 0)
|
|
202
202
|
try {
|
|
203
203
|
throw Error();
|
|
204
204
|
} catch (x) {
|
|
205
205
|
var i = x.stack.trim().match(/\n( *(at )?)/);
|
|
206
|
-
|
|
206
|
+
ge = i && i[1] || "";
|
|
207
207
|
}
|
|
208
208
|
return `
|
|
209
|
-
` +
|
|
209
|
+
` + ge + e;
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var xe = !1, ae;
|
|
213
213
|
{
|
|
214
|
-
var
|
|
215
|
-
|
|
214
|
+
var Le = typeof WeakMap == "function" ? WeakMap : Map;
|
|
215
|
+
ae = new Le();
|
|
216
216
|
}
|
|
217
|
-
function
|
|
218
|
-
if (!e ||
|
|
217
|
+
function ke(e, n) {
|
|
218
|
+
if (!e || xe)
|
|
219
219
|
return "";
|
|
220
220
|
{
|
|
221
|
-
var
|
|
222
|
-
if (
|
|
223
|
-
return
|
|
221
|
+
var r = ae.get(e);
|
|
222
|
+
if (r !== void 0)
|
|
223
|
+
return r;
|
|
224
224
|
}
|
|
225
225
|
var i;
|
|
226
|
-
|
|
226
|
+
xe = !0;
|
|
227
227
|
var x = Error.prepareStackTrace;
|
|
228
228
|
Error.prepareStackTrace = void 0;
|
|
229
229
|
var C;
|
|
230
|
-
C =
|
|
230
|
+
C = B.current, B.current = null, Ie();
|
|
231
231
|
try {
|
|
232
|
-
if (
|
|
232
|
+
if (n) {
|
|
233
233
|
var h = function() {
|
|
234
234
|
throw Error();
|
|
235
235
|
};
|
|
@@ -262,231 +262,231 @@ function cr() {
|
|
|
262
262
|
}
|
|
263
263
|
} catch (L) {
|
|
264
264
|
if (L && i && typeof L.stack == "string") {
|
|
265
|
-
for (var
|
|
266
|
-
`),
|
|
267
|
-
`), S =
|
|
265
|
+
for (var f = L.stack.split(`
|
|
266
|
+
`), I = i.stack.split(`
|
|
267
|
+
`), S = f.length - 1, T = I.length - 1; S >= 1 && T >= 0 && f[S] !== I[T]; )
|
|
268
268
|
T--;
|
|
269
269
|
for (; S >= 1 && T >= 0; S--, T--)
|
|
270
|
-
if (
|
|
270
|
+
if (f[S] !== I[T]) {
|
|
271
271
|
if (S !== 1 || T !== 1)
|
|
272
272
|
do
|
|
273
|
-
if (S--, T--, T < 0 ||
|
|
274
|
-
var
|
|
275
|
-
` +
|
|
276
|
-
return e.displayName &&
|
|
273
|
+
if (S--, T--, T < 0 || f[S] !== I[T]) {
|
|
274
|
+
var H = `
|
|
275
|
+
` + f[S].replace(" at new ", " at ");
|
|
276
|
+
return e.displayName && H.includes("<anonymous>") && (H = H.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, H), H;
|
|
277
277
|
}
|
|
278
278
|
while (S >= 1 && T >= 0);
|
|
279
279
|
break;
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
282
|
} finally {
|
|
283
|
-
|
|
283
|
+
xe = !1, B.current = C, re(), Error.prepareStackTrace = x;
|
|
284
284
|
}
|
|
285
|
-
var
|
|
286
|
-
return typeof e == "function" &&
|
|
285
|
+
var se = e ? e.displayName || e.name : "", J = se ? le(se) : "";
|
|
286
|
+
return typeof e == "function" && ae.set(e, J), J;
|
|
287
287
|
}
|
|
288
|
-
function
|
|
289
|
-
return
|
|
288
|
+
function Ae(e, n, r) {
|
|
289
|
+
return ke(e, !1);
|
|
290
290
|
}
|
|
291
|
-
function
|
|
292
|
-
var
|
|
293
|
-
return !!(
|
|
291
|
+
function Fe(e) {
|
|
292
|
+
var n = e.prototype;
|
|
293
|
+
return !!(n && n.isReactComponent);
|
|
294
294
|
}
|
|
295
|
-
function
|
|
295
|
+
function ie(e, n, r) {
|
|
296
296
|
if (e == null)
|
|
297
297
|
return "";
|
|
298
298
|
if (typeof e == "function")
|
|
299
|
-
return
|
|
299
|
+
return ke(e, Fe(e));
|
|
300
300
|
if (typeof e == "string")
|
|
301
|
-
return
|
|
301
|
+
return le(e);
|
|
302
302
|
switch (e) {
|
|
303
303
|
case b:
|
|
304
|
-
return
|
|
305
|
-
case
|
|
306
|
-
return
|
|
304
|
+
return le("Suspense");
|
|
305
|
+
case o:
|
|
306
|
+
return le("SuspenseList");
|
|
307
307
|
}
|
|
308
308
|
if (typeof e == "object")
|
|
309
309
|
switch (e.$$typeof) {
|
|
310
310
|
case c:
|
|
311
|
-
return
|
|
311
|
+
return Ae(e.render);
|
|
312
312
|
case j:
|
|
313
|
-
return
|
|
313
|
+
return ie(e.type, n, r);
|
|
314
314
|
case v: {
|
|
315
315
|
var i = e, x = i._payload, C = i._init;
|
|
316
316
|
try {
|
|
317
|
-
return
|
|
317
|
+
return ie(C(x), n, r);
|
|
318
318
|
} catch {
|
|
319
319
|
}
|
|
320
320
|
}
|
|
321
321
|
}
|
|
322
322
|
return "";
|
|
323
323
|
}
|
|
324
|
-
var
|
|
325
|
-
function
|
|
324
|
+
var U = Object.prototype.hasOwnProperty, be = {}, me = F.ReactDebugCurrentFrame;
|
|
325
|
+
function a(e) {
|
|
326
326
|
if (e) {
|
|
327
|
-
var
|
|
328
|
-
|
|
327
|
+
var n = e._owner, r = ie(e.type, e._source, n ? n.type : null);
|
|
328
|
+
me.setExtraStackFrame(r);
|
|
329
329
|
} else
|
|
330
|
-
|
|
330
|
+
me.setExtraStackFrame(null);
|
|
331
331
|
}
|
|
332
|
-
function
|
|
332
|
+
function k(e, n, r, i, x) {
|
|
333
333
|
{
|
|
334
|
-
var C = Function.call.bind(
|
|
334
|
+
var C = Function.call.bind(U);
|
|
335
335
|
for (var h in e)
|
|
336
336
|
if (C(e, h)) {
|
|
337
|
-
var
|
|
337
|
+
var f = void 0;
|
|
338
338
|
try {
|
|
339
339
|
if (typeof e[h] != "function") {
|
|
340
|
-
var
|
|
341
|
-
throw
|
|
340
|
+
var I = Error((i || "React class") + ": " + r + " 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 I.name = "Invariant Violation", I;
|
|
342
342
|
}
|
|
343
|
-
|
|
343
|
+
f = e[h](n, h, i, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
344
344
|
} catch (S) {
|
|
345
|
-
|
|
345
|
+
f = S;
|
|
346
346
|
}
|
|
347
|
-
|
|
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", r, h, typeof f), a(null)), f instanceof Error && !(f.message in be) && (be[f.message] = !0, a(x), _("Failed %s type: %s", r, f.message), a(null));
|
|
348
348
|
}
|
|
349
349
|
}
|
|
350
350
|
}
|
|
351
|
-
var
|
|
352
|
-
function
|
|
353
|
-
return
|
|
351
|
+
var G = Array.isArray;
|
|
352
|
+
function P(e) {
|
|
353
|
+
return G(e);
|
|
354
354
|
}
|
|
355
|
-
function
|
|
355
|
+
function Me(e) {
|
|
356
356
|
{
|
|
357
|
-
var
|
|
358
|
-
return
|
|
357
|
+
var n = typeof Symbol == "function" && Symbol.toStringTag, r = n && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
358
|
+
return r;
|
|
359
359
|
}
|
|
360
360
|
}
|
|
361
|
-
function
|
|
361
|
+
function X(e) {
|
|
362
362
|
try {
|
|
363
|
-
return
|
|
363
|
+
return qe(e), !1;
|
|
364
364
|
} catch {
|
|
365
365
|
return !0;
|
|
366
366
|
}
|
|
367
367
|
}
|
|
368
|
-
function
|
|
368
|
+
function qe(e) {
|
|
369
369
|
return "" + e;
|
|
370
370
|
}
|
|
371
371
|
function Qe(e) {
|
|
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.",
|
|
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.", Me(e)), qe(e);
|
|
374
374
|
}
|
|
375
|
-
var
|
|
375
|
+
var je = F.ReactCurrentOwner, Ct = {
|
|
376
376
|
key: !0,
|
|
377
377
|
ref: !0,
|
|
378
378
|
__self: !0,
|
|
379
379
|
__source: !0
|
|
380
|
-
}, et, tt,
|
|
381
|
-
|
|
380
|
+
}, et, tt, He;
|
|
381
|
+
He = {};
|
|
382
382
|
function wt(e) {
|
|
383
|
-
if (
|
|
384
|
-
var
|
|
385
|
-
if (
|
|
383
|
+
if (U.call(e, "ref")) {
|
|
384
|
+
var n = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
385
|
+
if (n && n.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 (U.call(e, "key")) {
|
|
392
|
+
var n = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
393
|
+
if (n && n.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, n) {
|
|
399
|
+
if (typeof e.ref == "string" && je.current && n && je.current.stateNode !== n) {
|
|
400
|
+
var r = A(je.current.type);
|
|
401
|
+
He[r] || (_('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(je.current.type), e.ref), He[r] = !0);
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
|
-
function Rt(e,
|
|
404
|
+
function Rt(e, n) {
|
|
405
405
|
{
|
|
406
|
-
var
|
|
407
|
-
et || (et = !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)",
|
|
406
|
+
var r = function() {
|
|
407
|
+
et || (et = !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)", n));
|
|
408
408
|
};
|
|
409
|
-
|
|
410
|
-
get:
|
|
409
|
+
r.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
410
|
+
get: r,
|
|
411
411
|
configurable: !0
|
|
412
412
|
});
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
|
-
function _t(e,
|
|
415
|
+
function _t(e, n) {
|
|
416
416
|
{
|
|
417
|
-
var
|
|
418
|
-
tt || (tt = !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)",
|
|
417
|
+
var r = function() {
|
|
418
|
+
tt || (tt = !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)", n));
|
|
419
419
|
};
|
|
420
|
-
|
|
421
|
-
get:
|
|
420
|
+
r.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
421
|
+
get: r,
|
|
422
422
|
configurable: !0
|
|
423
423
|
});
|
|
424
424
|
}
|
|
425
425
|
}
|
|
426
|
-
var St = function(e,
|
|
427
|
-
var
|
|
426
|
+
var St = function(e, n, r, i, x, C, h) {
|
|
427
|
+
var f = {
|
|
428
428
|
// This tag allows us to uniquely identify this as a React Element
|
|
429
|
-
$$typeof:
|
|
429
|
+
$$typeof: s,
|
|
430
430
|
// Built-in properties that belong on the element
|
|
431
431
|
type: e,
|
|
432
|
-
key:
|
|
433
|
-
ref:
|
|
432
|
+
key: n,
|
|
433
|
+
ref: r,
|
|
434
434
|
props: h,
|
|
435
435
|
// Record the component responsible for creating this element.
|
|
436
436
|
_owner: C
|
|
437
437
|
};
|
|
438
|
-
return
|
|
438
|
+
return f._store = {}, Object.defineProperty(f._store, "validated", {
|
|
439
439
|
configurable: !1,
|
|
440
440
|
enumerable: !1,
|
|
441
441
|
writable: !0,
|
|
442
442
|
value: !1
|
|
443
|
-
}), Object.defineProperty(
|
|
443
|
+
}), Object.defineProperty(f, "_self", {
|
|
444
444
|
configurable: !1,
|
|
445
445
|
enumerable: !1,
|
|
446
446
|
writable: !1,
|
|
447
447
|
value: i
|
|
448
|
-
}), Object.defineProperty(
|
|
448
|
+
}), Object.defineProperty(f, "_source", {
|
|
449
449
|
configurable: !1,
|
|
450
450
|
enumerable: !1,
|
|
451
451
|
writable: !1,
|
|
452
452
|
value: x
|
|
453
|
-
}), Object.freeze && (Object.freeze(
|
|
453
|
+
}), Object.freeze && (Object.freeze(f.props), Object.freeze(f)), f;
|
|
454
454
|
};
|
|
455
|
-
function Tt(e,
|
|
455
|
+
function Tt(e, n, r, i, x) {
|
|
456
456
|
{
|
|
457
|
-
var C, h = {},
|
|
458
|
-
|
|
459
|
-
for (C in
|
|
460
|
-
|
|
457
|
+
var C, h = {}, f = null, I = null;
|
|
458
|
+
r !== void 0 && (Qe(r), f = "" + r), yt(n) && (Qe(n.key), f = "" + n.key), wt(n) && (I = n.ref, Et(n, x));
|
|
459
|
+
for (C in n)
|
|
460
|
+
U.call(n, C) && !Ct.hasOwnProperty(C) && (h[C] = n[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 (
|
|
466
|
+
if (f || I) {
|
|
467
467
|
var T = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
468
|
-
|
|
468
|
+
f && Rt(h, T), I && _t(h, T);
|
|
469
469
|
}
|
|
470
|
-
return St(e,
|
|
470
|
+
return St(e, f, I, x, i, je.current, h);
|
|
471
471
|
}
|
|
472
472
|
}
|
|
473
|
-
var
|
|
474
|
-
function
|
|
473
|
+
var $e = F.ReactCurrentOwner, nt = F.ReactDebugCurrentFrame;
|
|
474
|
+
function oe(e) {
|
|
475
475
|
if (e) {
|
|
476
|
-
var
|
|
477
|
-
|
|
476
|
+
var n = e._owner, r = ie(e.type, e._source, n ? n.type : null);
|
|
477
|
+
nt.setExtraStackFrame(r);
|
|
478
478
|
} else
|
|
479
|
-
|
|
479
|
+
nt.setExtraStackFrame(null);
|
|
480
480
|
}
|
|
481
481
|
var Be;
|
|
482
482
|
Be = !1;
|
|
483
|
-
function
|
|
484
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
483
|
+
function We(e) {
|
|
484
|
+
return typeof e == "object" && e !== null && e.$$typeof === s;
|
|
485
485
|
}
|
|
486
|
-
function
|
|
486
|
+
function rt() {
|
|
487
487
|
{
|
|
488
|
-
if (
|
|
489
|
-
var e =
|
|
488
|
+
if ($e.current) {
|
|
489
|
+
var e = A($e.current.type);
|
|
490
490
|
if (e)
|
|
491
491
|
return `
|
|
492
492
|
|
|
@@ -498,10 +498,10 @@ Check the render method of \`` + e + "`.";
|
|
|
498
498
|
function kt(e) {
|
|
499
499
|
{
|
|
500
500
|
if (e !== void 0) {
|
|
501
|
-
var
|
|
501
|
+
var n = e.fileName.replace(/^.*[\\\/]/, ""), r = e.lineNumber;
|
|
502
502
|
return `
|
|
503
503
|
|
|
504
|
-
Check your code at ` +
|
|
504
|
+
Check your code at ` + n + ":" + r + ".";
|
|
505
505
|
}
|
|
506
506
|
return "";
|
|
507
507
|
}
|
|
@@ -509,178 +509,178 @@ Check your code at ` + r + ":" + n + ".";
|
|
|
509
509
|
var lt = {};
|
|
510
510
|
function Dt(e) {
|
|
511
511
|
{
|
|
512
|
-
var
|
|
513
|
-
if (!
|
|
514
|
-
var
|
|
515
|
-
|
|
512
|
+
var n = rt();
|
|
513
|
+
if (!n) {
|
|
514
|
+
var r = typeof e == "string" ? e : e.displayName || e.name;
|
|
515
|
+
r && (n = `
|
|
516
516
|
|
|
517
|
-
Check the top-level render call using <` +
|
|
517
|
+
Check the top-level render call using <` + r + ">.");
|
|
518
518
|
}
|
|
519
|
-
return
|
|
519
|
+
return n;
|
|
520
520
|
}
|
|
521
521
|
}
|
|
522
|
-
function at(e,
|
|
522
|
+
function at(e, n) {
|
|
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 (lt[
|
|
527
|
+
var r = Dt(n);
|
|
528
|
+
if (lt[r])
|
|
529
529
|
return;
|
|
530
|
-
lt[
|
|
530
|
+
lt[r] = !0;
|
|
531
531
|
var i = "";
|
|
532
|
-
e && e._owner && e._owner !==
|
|
532
|
+
e && e._owner && e._owner !== $e.current && (i = " It was passed a child from " + A(e._owner.type) + "."), oe(e), _('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, i), oe(null);
|
|
533
533
|
}
|
|
534
534
|
}
|
|
535
|
-
function it(e,
|
|
535
|
+
function it(e, n) {
|
|
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 r = 0; r < e.length; r++) {
|
|
541
|
+
var i = e[r];
|
|
542
|
+
We(i) && at(i, n);
|
|
543
543
|
}
|
|
544
|
-
else if (
|
|
544
|
+
else if (We(e))
|
|
545
545
|
e._store && (e._store.validated = !0);
|
|
546
546
|
else if (e) {
|
|
547
|
-
var x =
|
|
547
|
+
var x = Q(e);
|
|
548
548
|
if (typeof x == "function" && x !== e.entries)
|
|
549
549
|
for (var C = x.call(e), h; !(h = C.next()).done; )
|
|
550
|
-
|
|
550
|
+
We(h.value) && at(h.value, n);
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
553
|
}
|
|
554
554
|
function Ot(e) {
|
|
555
555
|
{
|
|
556
|
-
var
|
|
557
|
-
if (
|
|
556
|
+
var n = e.type;
|
|
557
|
+
if (n == null || typeof n == "string")
|
|
558
558
|
return;
|
|
559
|
-
var
|
|
560
|
-
if (typeof
|
|
561
|
-
|
|
562
|
-
else if (typeof
|
|
559
|
+
var r;
|
|
560
|
+
if (typeof n == "function")
|
|
561
|
+
r = n.propTypes;
|
|
562
|
+
else if (typeof n == "object" && (n.$$typeof === c || // Note: Memo only checks outer props here.
|
|
563
563
|
// Inner props are checked in the reconciler.
|
|
564
|
-
|
|
565
|
-
|
|
564
|
+
n.$$typeof === j))
|
|
565
|
+
r = n.propTypes;
|
|
566
566
|
else
|
|
567
567
|
return;
|
|
568
|
-
if (
|
|
569
|
-
var i =
|
|
570
|
-
|
|
571
|
-
} else if (
|
|
568
|
+
if (r) {
|
|
569
|
+
var i = A(n);
|
|
570
|
+
k(r, e.props, "prop", i, e);
|
|
571
|
+
} else if (n.PropTypes !== void 0 && !Be) {
|
|
572
572
|
Be = !0;
|
|
573
|
-
var x =
|
|
573
|
+
var x = A(n);
|
|
574
574
|
_("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", x || "Unknown");
|
|
575
575
|
}
|
|
576
|
-
typeof
|
|
576
|
+
typeof n.getDefaultProps == "function" && !n.getDefaultProps.isReactClassApproved && _("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
577
577
|
}
|
|
578
578
|
}
|
|
579
579
|
function Pt(e) {
|
|
580
580
|
{
|
|
581
|
-
for (var
|
|
582
|
-
var i = r
|
|
581
|
+
for (var n = Object.keys(e.props), r = 0; r < n.length; r++) {
|
|
582
|
+
var i = n[r];
|
|
583
583
|
if (i !== "children" && i !== "key") {
|
|
584
|
-
|
|
584
|
+
oe(e), _("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", i), oe(null);
|
|
585
585
|
break;
|
|
586
586
|
}
|
|
587
587
|
}
|
|
588
|
-
e.ref !== null && (
|
|
588
|
+
e.ref !== null && (oe(e), _("Invalid attribute `ref` supplied to `React.Fragment`."), oe(null));
|
|
589
589
|
}
|
|
590
590
|
}
|
|
591
591
|
var ot = {};
|
|
592
|
-
function st(e,
|
|
592
|
+
function st(e, n, r, i, x, C) {
|
|
593
593
|
{
|
|
594
|
-
var h =
|
|
594
|
+
var h = $(e);
|
|
595
595
|
if (!h) {
|
|
596
|
-
var
|
|
597
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
598
|
-
var
|
|
599
|
-
|
|
596
|
+
var f = "";
|
|
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 I = kt(x);
|
|
599
|
+
I ? f += I : 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 === s ? (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 T = Tt(e,
|
|
603
|
+
var T = Tt(e, n, r, x, C);
|
|
604
604
|
if (T == null)
|
|
605
605
|
return T;
|
|
606
606
|
if (h) {
|
|
607
|
-
var
|
|
608
|
-
if (
|
|
607
|
+
var H = n.children;
|
|
608
|
+
if (H !== void 0)
|
|
609
609
|
if (i)
|
|
610
|
-
if (
|
|
611
|
-
for (var
|
|
612
|
-
it(
|
|
613
|
-
Object.freeze && Object.freeze(
|
|
610
|
+
if (P(H)) {
|
|
611
|
+
for (var se = 0; se < H.length; se++)
|
|
612
|
+
it(H[se], e);
|
|
613
|
+
Object.freeze && Object.freeze(H);
|
|
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
|
-
it(
|
|
617
|
+
it(H, e);
|
|
618
618
|
}
|
|
619
|
-
if (
|
|
620
|
-
var
|
|
621
|
-
return
|
|
622
|
-
}),
|
|
623
|
-
if (!ot[
|
|
624
|
-
var
|
|
619
|
+
if (U.call(n, "key")) {
|
|
620
|
+
var J = A(e), L = Object.keys(n).filter(function(Ht) {
|
|
621
|
+
return Ht !== "key";
|
|
622
|
+
}), Ve = L.length > 0 ? "{key: someKey, " + L.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
623
|
+
if (!ot[J + Ve]) {
|
|
624
|
+
var Mt = L.length > 0 ? "{" + L.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, Mt, J), ot[J + Ve] = !0;
|
|
631
631
|
}
|
|
632
632
|
}
|
|
633
|
-
return e ===
|
|
633
|
+
return e === d ? Pt(T) : Ot(T), T;
|
|
634
634
|
}
|
|
635
635
|
}
|
|
636
|
-
function
|
|
637
|
-
return st(e,
|
|
636
|
+
function It(e, n, r) {
|
|
637
|
+
return st(e, n, r, !0);
|
|
638
638
|
}
|
|
639
|
-
function
|
|
640
|
-
return st(e,
|
|
639
|
+
function Lt(e, n, r) {
|
|
640
|
+
return st(e, n, r, !1);
|
|
641
641
|
}
|
|
642
|
-
var At =
|
|
643
|
-
|
|
644
|
-
}()),
|
|
642
|
+
var At = Lt, Ft = It;
|
|
643
|
+
we.Fragment = d, we.jsx = At, we.jsxs = Ft;
|
|
644
|
+
}()), we;
|
|
645
645
|
}
|
|
646
|
-
process.env.NODE_ENV === "production" ?
|
|
647
|
-
var t =
|
|
648
|
-
const
|
|
646
|
+
process.env.NODE_ENV === "production" ? Ge.exports = cn() : Ge.exports = dn();
|
|
647
|
+
var t = Ge.exports;
|
|
648
|
+
const Ye = 60, ht = 6, fn = (l) => {
|
|
649
649
|
const {
|
|
650
|
-
activeStepIndex:
|
|
650
|
+
activeStepIndex: s,
|
|
651
651
|
hideIndicators: p = !1,
|
|
652
|
-
steps:
|
|
652
|
+
steps: d,
|
|
653
653
|
stepperTheme: w = {
|
|
654
654
|
light: "eggplant.light",
|
|
655
655
|
base: "eggplant.base"
|
|
656
656
|
}
|
|
657
|
-
} = l, { activeStep: g, setActiveStep: m } =
|
|
658
|
-
index:
|
|
659
|
-
count:
|
|
657
|
+
} = l, { activeStep: g, setActiveStep: m } = $t({
|
|
658
|
+
index: s,
|
|
659
|
+
count: d.length
|
|
660
660
|
});
|
|
661
|
-
return
|
|
662
|
-
m(
|
|
663
|
-
}, [
|
|
661
|
+
return Z(() => {
|
|
662
|
+
m(s);
|
|
663
|
+
}, [s, m]), /* @__PURE__ */ t.jsx(
|
|
664
664
|
y,
|
|
665
665
|
{ position: "relative", width: "100%", "data-testid": "stepper", children: /* @__PURE__ */ t.jsx(
|
|
666
|
-
|
|
666
|
+
Bt,
|
|
667
667
|
{
|
|
668
668
|
role: "progressbar",
|
|
669
669
|
index: g,
|
|
670
670
|
width: "100%",
|
|
671
671
|
display: "flex",
|
|
672
672
|
flexWrap: "nowrap",
|
|
673
|
-
children:
|
|
674
|
-
const b = g === c,
|
|
675
|
-
let u = `${
|
|
676
|
-
const O = `calc(100% - ((${
|
|
677
|
-
return b ? u = O : (
|
|
673
|
+
children: d.map((R, c) => {
|
|
674
|
+
const b = g === c, o = 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} * ${ht * 2}px)))`;
|
|
677
|
+
return b ? u = O : (o || j) && (u = `${Ye - ht}px`), /* @__PURE__ */ t.jsx(
|
|
678
678
|
y,
|
|
679
679
|
{
|
|
680
680
|
width: u,
|
|
681
681
|
opacity: v || b ? 1 : 0.2,
|
|
682
682
|
paddingRight: j ? "0" : "6px",
|
|
683
|
-
paddingLeft:
|
|
683
|
+
paddingLeft: o ? "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,
|
|
@@ -709,33 +709,33 @@ const ze = 60, ht = 6, fr = (l) => {
|
|
|
709
709
|
}
|
|
710
710
|
) }
|
|
711
711
|
);
|
|
712
|
-
},
|
|
712
|
+
}, Sn = Ke.memo(fn), Tn = ({
|
|
713
713
|
children: l,
|
|
714
|
-
...
|
|
714
|
+
...s
|
|
715
715
|
}) => /* @__PURE__ */ t.jsx(
|
|
716
716
|
qt,
|
|
717
|
-
{ color: "tints.uiGrey", fontSize: ["md", null, null, "lg"], ...
|
|
718
|
-
),
|
|
717
|
+
{ color: "tints.uiGrey", fontSize: ["md", null, null, "lg"], ...s, children: l }
|
|
718
|
+
), Pe = (l, s) => {
|
|
719
719
|
const p = (l == null ? void 0 : l.startsWith("http")) || (l == null ? void 0 : l.startsWith("mailto"));
|
|
720
|
-
return
|
|
720
|
+
return s && !p ? {
|
|
721
721
|
to: l
|
|
722
722
|
} : {
|
|
723
723
|
href: l
|
|
724
724
|
};
|
|
725
|
-
},
|
|
726
|
-
(l,
|
|
725
|
+
}, ze = bt(
|
|
726
|
+
(l, s) => {
|
|
727
727
|
const {
|
|
728
728
|
label: p,
|
|
729
|
-
additionalContent:
|
|
729
|
+
additionalContent: d,
|
|
730
730
|
mainTextFontSize: w,
|
|
731
731
|
linkComponent: g,
|
|
732
732
|
href: m,
|
|
733
733
|
...R
|
|
734
|
-
} = l, c = g ||
|
|
734
|
+
} = l, c = g || z, b = Pe(m, !!g);
|
|
735
735
|
return /* @__PURE__ */ t.jsxs(
|
|
736
736
|
y,
|
|
737
737
|
{
|
|
738
|
-
ref:
|
|
738
|
+
ref: s,
|
|
739
739
|
as: c,
|
|
740
740
|
display: "flex",
|
|
741
741
|
alignItems: "center",
|
|
@@ -752,7 +752,7 @@ const ze = 60, ht = 6, fr = (l) => {
|
|
|
752
752
|
...R,
|
|
753
753
|
children: [
|
|
754
754
|
/* @__PURE__ */ t.jsx(
|
|
755
|
-
|
|
755
|
+
ue,
|
|
756
756
|
{
|
|
757
757
|
display: ["none", null, null, "block"],
|
|
758
758
|
as: ct,
|
|
@@ -767,15 +767,15 @@ const ze = 60, ht = 6, fr = (l) => {
|
|
|
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
772
|
fontSize: [w || "xl", null, null, "lg"],
|
|
773
773
|
fontWeight: "medium",
|
|
774
774
|
children: p
|
|
775
775
|
}
|
|
776
776
|
),
|
|
777
|
-
|
|
778
|
-
|
|
777
|
+
d && (typeof d == "string" ? /* @__PURE__ */ t.jsx(
|
|
778
|
+
K,
|
|
779
779
|
{
|
|
780
780
|
fontSize: ["xl", null, null, "lg"],
|
|
781
781
|
fontWeight: "medium",
|
|
@@ -785,11 +785,11 @@ const ze = 60, ht = 6, fr = (l) => {
|
|
|
785
785
|
color: "viridian.base"
|
|
786
786
|
}
|
|
787
787
|
},
|
|
788
|
-
children:
|
|
788
|
+
children: d
|
|
789
789
|
}
|
|
790
|
-
) :
|
|
790
|
+
) : d),
|
|
791
791
|
/* @__PURE__ */ t.jsx(
|
|
792
|
-
|
|
792
|
+
ue,
|
|
793
793
|
{
|
|
794
794
|
display: ["block", null, null, "none"],
|
|
795
795
|
as: ct,
|
|
@@ -806,13 +806,13 @@ const ze = 60, ht = 6, fr = (l) => {
|
|
|
806
806
|
}
|
|
807
807
|
);
|
|
808
808
|
}
|
|
809
|
-
),
|
|
810
|
-
(l,
|
|
811
|
-
const { children: p, isSelected:
|
|
809
|
+
), Oe = bt(
|
|
810
|
+
(l, s) => {
|
|
811
|
+
const { children: p, isSelected: d, ...w } = l, g = l.backgroundColor || (d ? "tints.lightCream" : "transparent");
|
|
812
812
|
return /* @__PURE__ */ t.jsx(
|
|
813
813
|
xt,
|
|
814
814
|
{
|
|
815
|
-
ref:
|
|
815
|
+
ref: s,
|
|
816
816
|
borderRadius: "full",
|
|
817
817
|
backgroundColor: g,
|
|
818
818
|
fontSize: "lg !important",
|
|
@@ -841,18 +841,18 @@ const ze = 60, ht = 6, fr = (l) => {
|
|
|
841
841
|
}
|
|
842
842
|
);
|
|
843
843
|
}
|
|
844
|
-
),
|
|
844
|
+
), pn = ({
|
|
845
845
|
title: l,
|
|
846
|
-
description:
|
|
846
|
+
description: s,
|
|
847
847
|
imageSrc: p,
|
|
848
|
-
imageElement:
|
|
848
|
+
imageElement: d,
|
|
849
849
|
button: w,
|
|
850
850
|
backgroundColor: g = "viridian.wash",
|
|
851
851
|
onClick: m,
|
|
852
852
|
href: R,
|
|
853
853
|
linkComponent: c
|
|
854
854
|
}) => {
|
|
855
|
-
const b = "80px",
|
|
855
|
+
const b = "80px", o = "200px", j = "272px", v = c || z, u = Pe(R, !!c), O = Xe({
|
|
856
856
|
base: !1,
|
|
857
857
|
tablet: !1,
|
|
858
858
|
largeTablet: !1,
|
|
@@ -890,11 +890,11 @@ const ze = 60, ht = 6, fr = (l) => {
|
|
|
890
890
|
height: ["100%"],
|
|
891
891
|
flex: [null, null, null, "1"],
|
|
892
892
|
children: p ? /* @__PURE__ */ t.jsx(
|
|
893
|
-
|
|
893
|
+
Wt,
|
|
894
894
|
{
|
|
895
895
|
src: p,
|
|
896
896
|
objectFit: "cover",
|
|
897
|
-
height: [b, null, null,
|
|
897
|
+
height: [b, null, null, o],
|
|
898
898
|
width: "100%",
|
|
899
899
|
alt: "",
|
|
900
900
|
"data-testid": "spotlight-card-image"
|
|
@@ -902,9 +902,9 @@ const ze = 60, ht = 6, fr = (l) => {
|
|
|
902
902
|
) : /* @__PURE__ */ t.jsx(
|
|
903
903
|
y,
|
|
904
904
|
{
|
|
905
|
-
height: [b, null, null,
|
|
905
|
+
height: [b, null, null, o],
|
|
906
906
|
overflow: "hidden",
|
|
907
|
-
children:
|
|
907
|
+
children: d
|
|
908
908
|
}
|
|
909
909
|
)
|
|
910
910
|
}
|
|
@@ -927,12 +927,12 @@ const ze = 60, ht = 6, fr = (l) => {
|
|
|
927
927
|
y,
|
|
928
928
|
{ children: [
|
|
929
929
|
/* @__PURE__ */ t.jsx(
|
|
930
|
-
|
|
930
|
+
K,
|
|
931
931
|
{ fontSize: "lg", fontWeight: "medium", color: "tints.black", children: l }
|
|
932
932
|
),
|
|
933
933
|
/* @__PURE__ */ t.jsx(
|
|
934
|
-
|
|
935
|
-
{ fontSize: "sm", color: "tints.black", children:
|
|
934
|
+
K,
|
|
935
|
+
{ fontSize: "sm", color: "tints.black", children: s }
|
|
936
936
|
)
|
|
937
937
|
] }
|
|
938
938
|
),
|
|
@@ -943,7 +943,7 @@ const ze = 60, ht = 6, fr = (l) => {
|
|
|
943
943
|
]
|
|
944
944
|
}
|
|
945
945
|
);
|
|
946
|
-
},
|
|
946
|
+
}, ce = (l) => /* @__PURE__ */ t.jsx(
|
|
947
947
|
Vt,
|
|
948
948
|
{
|
|
949
949
|
size: "sm",
|
|
@@ -964,7 +964,7 @@ const ze = 60, ht = 6, fr = (l) => {
|
|
|
964
964
|
},
|
|
965
965
|
...l
|
|
966
966
|
}
|
|
967
|
-
),
|
|
967
|
+
), hn = () => /* @__PURE__ */ t.jsx(
|
|
968
968
|
"svg",
|
|
969
969
|
{
|
|
970
970
|
width: "116",
|
|
@@ -988,18 +988,18 @@ const ze = 60, ht = 6, fr = (l) => {
|
|
|
988
988
|
) }
|
|
989
989
|
)
|
|
990
990
|
}
|
|
991
|
-
),
|
|
991
|
+
), vn = ({
|
|
992
992
|
desktopTopButtons: l,
|
|
993
|
-
kitRegistrationElement:
|
|
993
|
+
kitRegistrationElement: s,
|
|
994
994
|
profileElement: p,
|
|
995
|
-
cartElement:
|
|
995
|
+
cartElement: d,
|
|
996
996
|
onSearchClick: w,
|
|
997
997
|
onMenuClick: g,
|
|
998
998
|
hasSearch: m = !1,
|
|
999
999
|
logoLink: R = "https://www.everlywell.com",
|
|
1000
1000
|
setTopOffset: c,
|
|
1001
1001
|
linkComponent: b,
|
|
1002
|
-
onLogoClick:
|
|
1002
|
+
onLogoClick: o
|
|
1003
1003
|
}) => {
|
|
1004
1004
|
const j = Jt(null), v = mt(() => {
|
|
1005
1005
|
if (j.current) {
|
|
@@ -1007,7 +1007,7 @@ const ze = 60, ht = 6, fr = (l) => {
|
|
|
1007
1007
|
c(u.bottom);
|
|
1008
1008
|
}
|
|
1009
1009
|
}, []);
|
|
1010
|
-
return
|
|
1010
|
+
return Z(() => {
|
|
1011
1011
|
v();
|
|
1012
1012
|
}, [v]), /* @__PURE__ */ t.jsx(
|
|
1013
1013
|
y,
|
|
@@ -1033,10 +1033,10 @@ const ze = 60, ht = 6, fr = (l) => {
|
|
|
1033
1033
|
y,
|
|
1034
1034
|
{
|
|
1035
1035
|
"aria-label": "Go to homepage",
|
|
1036
|
-
onClick:
|
|
1037
|
-
as: b ||
|
|
1038
|
-
...
|
|
1039
|
-
children: /* @__PURE__ */ t.jsx(
|
|
1036
|
+
onClick: o,
|
|
1037
|
+
as: b || z,
|
|
1038
|
+
...Pe(R, !!b),
|
|
1039
|
+
children: /* @__PURE__ */ t.jsx(hn, {})
|
|
1040
1040
|
}
|
|
1041
1041
|
),
|
|
1042
1042
|
/* @__PURE__ */ t.jsx(
|
|
@@ -1050,23 +1050,23 @@ const ze = 60, ht = 6, fr = (l) => {
|
|
|
1050
1050
|
{ alignItems: "center", gap: "2", children: [
|
|
1051
1051
|
/* @__PURE__ */ t.jsx(
|
|
1052
1052
|
y,
|
|
1053
|
-
{ display: ["none", null, null, "block"], children:
|
|
1053
|
+
{ display: ["none", null, null, "block"], children: s }
|
|
1054
1054
|
),
|
|
1055
1055
|
m ? /* @__PURE__ */ t.jsx(
|
|
1056
|
-
|
|
1056
|
+
ce,
|
|
1057
1057
|
{
|
|
1058
1058
|
"aria-label": "Search",
|
|
1059
|
-
icon: /* @__PURE__ */ t.jsx(
|
|
1059
|
+
icon: /* @__PURE__ */ t.jsx(ue, { as: jt }),
|
|
1060
1060
|
onClick: w
|
|
1061
1061
|
}
|
|
1062
1062
|
) : null,
|
|
1063
|
-
|
|
1063
|
+
d,
|
|
1064
1064
|
/* @__PURE__ */ t.jsx(
|
|
1065
1065
|
y,
|
|
1066
1066
|
{ display: ["flex", null, null, "none"], children: /* @__PURE__ */ t.jsx(
|
|
1067
|
-
|
|
1067
|
+
ce,
|
|
1068
1068
|
{
|
|
1069
|
-
icon: /* @__PURE__ */ t.jsx(
|
|
1069
|
+
icon: /* @__PURE__ */ t.jsx(rn, {}),
|
|
1070
1070
|
"aria-label": "menu",
|
|
1071
1071
|
"data-testid": "menu-button",
|
|
1072
1072
|
onClick: g
|
|
@@ -1080,13 +1080,13 @@ const ze = 60, ht = 6, fr = (l) => {
|
|
|
1080
1080
|
)
|
|
1081
1081
|
}
|
|
1082
1082
|
);
|
|
1083
|
-
},
|
|
1083
|
+
}, gn = ({
|
|
1084
1084
|
count: l = 0,
|
|
1085
|
-
...
|
|
1085
|
+
...s
|
|
1086
1086
|
}) => /* @__PURE__ */ t.jsxs(
|
|
1087
1087
|
y,
|
|
1088
1088
|
{ position: "relative", display: "inline-block", children: [
|
|
1089
|
-
/* @__PURE__ */ t.jsx(
|
|
1089
|
+
/* @__PURE__ */ t.jsx(ce, { icon: /* @__PURE__ */ t.jsx(ln, {}), ...s }),
|
|
1090
1090
|
l > 0 && /* @__PURE__ */ t.jsx(
|
|
1091
1091
|
y,
|
|
1092
1092
|
{
|
|
@@ -1109,9 +1109,9 @@ const ze = 60, ht = 6, fr = (l) => {
|
|
|
1109
1109
|
}
|
|
1110
1110
|
)
|
|
1111
1111
|
] }
|
|
1112
|
-
),
|
|
1112
|
+
), kn = ({
|
|
1113
1113
|
numDesktopLinks: l = 5,
|
|
1114
|
-
showPromoButton:
|
|
1114
|
+
showPromoButton: s = !1
|
|
1115
1115
|
}) => /* @__PURE__ */ t.jsx(
|
|
1116
1116
|
Nt,
|
|
1117
1117
|
{ spacing: 0, align: "stretch", children: /* @__PURE__ */ t.jsx(
|
|
@@ -1124,7 +1124,7 @@ const ze = 60, ht = 6, fr = (l) => {
|
|
|
1124
1124
|
children: /* @__PURE__ */ t.jsxs(
|
|
1125
1125
|
D,
|
|
1126
1126
|
{ justify: "space-between", align: "center", children: [
|
|
1127
|
-
/* @__PURE__ */ t.jsx(
|
|
1127
|
+
/* @__PURE__ */ t.jsx(Ne, { w: "120px", h: "48px" }),
|
|
1128
1128
|
/* @__PURE__ */ t.jsxs(
|
|
1129
1129
|
ut,
|
|
1130
1130
|
{
|
|
@@ -1134,9 +1134,9 @@ const ze = 60, ht = 6, fr = (l) => {
|
|
|
1134
1134
|
"data-testid": "desktop-nav",
|
|
1135
1135
|
children: [
|
|
1136
1136
|
Array.from({ length: l }).map(
|
|
1137
|
-
(p,
|
|
1137
|
+
(p, d) => /* @__PURE__ */ t.jsx(Ne, { width: "90px", height: "48px" }, d)
|
|
1138
1138
|
),
|
|
1139
|
-
|
|
1139
|
+
s && /* @__PURE__ */ t.jsx(Ne, { width: "110px", height: "48px", borderRadius: "full" })
|
|
1140
1140
|
]
|
|
1141
1141
|
}
|
|
1142
1142
|
),
|
|
@@ -1144,7 +1144,7 @@ const ze = 60, ht = 6, fr = (l) => {
|
|
|
1144
1144
|
ut,
|
|
1145
1145
|
{ spacing: 4, ml: "auto", children: [
|
|
1146
1146
|
/* @__PURE__ */ t.jsx(
|
|
1147
|
-
|
|
1147
|
+
De,
|
|
1148
1148
|
{
|
|
1149
1149
|
width: "120px",
|
|
1150
1150
|
height: "48px",
|
|
@@ -1153,11 +1153,11 @@ const ze = 60, ht = 6, fr = (l) => {
|
|
|
1153
1153
|
}
|
|
1154
1154
|
),
|
|
1155
1155
|
" ",
|
|
1156
|
-
/* @__PURE__ */ t.jsx(
|
|
1156
|
+
/* @__PURE__ */ t.jsx(De, { width: "48px", height: "48px" }),
|
|
1157
1157
|
" ",
|
|
1158
|
-
/* @__PURE__ */ t.jsx(
|
|
1158
|
+
/* @__PURE__ */ t.jsx(De, { width: "48px", height: "48px" }),
|
|
1159
1159
|
" ",
|
|
1160
|
-
/* @__PURE__ */ t.jsx(
|
|
1160
|
+
/* @__PURE__ */ t.jsx(De, { width: "48px", height: "48px" }),
|
|
1161
1161
|
" "
|
|
1162
1162
|
] }
|
|
1163
1163
|
)
|
|
@@ -1165,72 +1165,72 @@ const ze = 60, ht = 6, fr = (l) => {
|
|
|
1165
1165
|
)
|
|
1166
1166
|
}
|
|
1167
1167
|
) }
|
|
1168
|
-
),
|
|
1168
|
+
), xn = (l, s) => {
|
|
1169
1169
|
let p;
|
|
1170
|
-
return (...
|
|
1170
|
+
return (...d) => {
|
|
1171
1171
|
p && clearTimeout(p), p = setTimeout(() => {
|
|
1172
|
-
l(...
|
|
1173
|
-
},
|
|
1172
|
+
l(...d);
|
|
1173
|
+
}, s);
|
|
1174
1174
|
};
|
|
1175
|
-
},
|
|
1175
|
+
}, Ze = "nav-drawer-hover", vt = (l) => {
|
|
1176
1176
|
window.dispatchEvent(
|
|
1177
|
-
new CustomEvent(
|
|
1177
|
+
new CustomEvent(Ze, {
|
|
1178
1178
|
detail: { isHovering: l },
|
|
1179
1179
|
bubbles: !0,
|
|
1180
1180
|
cancelable: !0
|
|
1181
1181
|
})
|
|
1182
1182
|
);
|
|
1183
|
-
},
|
|
1183
|
+
}, bn = (l = !1, s = !1, p = !1) => l || !s ? "column" : p ? "row" : "row-reverse", mn = Je(Yt), jn = Je(zt), Ue = ({
|
|
1184
1184
|
isOpen: l = !1,
|
|
1185
|
-
onClose:
|
|
1185
|
+
onClose: s,
|
|
1186
1186
|
title: p,
|
|
1187
|
-
navDrawerLinks:
|
|
1187
|
+
navDrawerLinks: d,
|
|
1188
1188
|
bottomNavButtons: w,
|
|
1189
1189
|
spotlightCards: g,
|
|
1190
1190
|
bottomButton: m,
|
|
1191
1191
|
hasBackButton: R = !0,
|
|
1192
1192
|
onBackClick: c,
|
|
1193
1193
|
hasOnlySpotlightCards: b = !1,
|
|
1194
|
-
hasSearch:
|
|
1194
|
+
hasSearch: o = !1,
|
|
1195
1195
|
onSearch: j = () => ({}),
|
|
1196
1196
|
topOffset: v
|
|
1197
1197
|
}) => {
|
|
1198
|
-
const u =
|
|
1198
|
+
const u = Xe({
|
|
1199
1199
|
base: !1,
|
|
1200
1200
|
tablet: !1,
|
|
1201
1201
|
largeTablet: !1,
|
|
1202
1202
|
desktop: !0
|
|
1203
|
-
}), O = u ? "top" : "left", [
|
|
1204
|
-
|
|
1205
|
-
},
|
|
1206
|
-
|
|
1207
|
-
j(
|
|
1203
|
+
}), O = u ? "top" : "left", [q, Q] = W(0), [F, _] = W(!1), de = () => {
|
|
1204
|
+
Q((M) => M + 1);
|
|
1205
|
+
}, fe = mt(
|
|
1206
|
+
xn((M) => {
|
|
1207
|
+
j(M), de();
|
|
1208
1208
|
}, 100),
|
|
1209
1209
|
[]
|
|
1210
1210
|
);
|
|
1211
|
-
|
|
1211
|
+
Z(() => {
|
|
1212
1212
|
l && _(!0);
|
|
1213
1213
|
}, [l]);
|
|
1214
|
-
const
|
|
1215
|
-
l || (_(!1),
|
|
1214
|
+
const pe = () => {
|
|
1215
|
+
l || (_(!1), s());
|
|
1216
1216
|
};
|
|
1217
1217
|
return /* @__PURE__ */ t.jsx(
|
|
1218
1218
|
Ut,
|
|
1219
1219
|
{
|
|
1220
1220
|
isOpen: F || l,
|
|
1221
1221
|
onClose: () => {
|
|
1222
|
-
F && u ||
|
|
1222
|
+
F && u || s();
|
|
1223
1223
|
},
|
|
1224
1224
|
placement: O,
|
|
1225
1225
|
blockScrollOnMount: !1,
|
|
1226
1226
|
autoFocus: !1,
|
|
1227
1227
|
children: /* @__PURE__ */ t.jsx(
|
|
1228
|
-
|
|
1228
|
+
un,
|
|
1229
1229
|
{ children: l ? /* @__PURE__ */ t.jsxs(
|
|
1230
1230
|
t.Fragment,
|
|
1231
1231
|
{ children: [
|
|
1232
1232
|
/* @__PURE__ */ t.jsx(
|
|
1233
|
-
|
|
1233
|
+
jn,
|
|
1234
1234
|
{
|
|
1235
1235
|
backgroundColor: "tints.black",
|
|
1236
1236
|
top: ["0", null, null, `${v}px`],
|
|
@@ -1248,11 +1248,11 @@ const ze = 60, ht = 6, fr = (l) => {
|
|
|
1248
1248
|
}
|
|
1249
1249
|
),
|
|
1250
1250
|
/* @__PURE__ */ t.jsxs(
|
|
1251
|
-
|
|
1251
|
+
mn,
|
|
1252
1252
|
{
|
|
1253
|
-
onClick: (
|
|
1254
|
-
const
|
|
1255
|
-
|
|
1253
|
+
onClick: (M) => {
|
|
1254
|
+
const V = M.target.closest("a");
|
|
1255
|
+
V && V.href === window.location.href && s();
|
|
1256
1256
|
},
|
|
1257
1257
|
onMouseEnter: () => {
|
|
1258
1258
|
u && vt(!0);
|
|
@@ -1267,7 +1267,7 @@ const ze = 60, ht = 6, fr = (l) => {
|
|
|
1267
1267
|
maxHeight: "100vh",
|
|
1268
1268
|
position: "relative",
|
|
1269
1269
|
top: u ? `${v}px !important` : void 0,
|
|
1270
|
-
onAnimationComplete:
|
|
1270
|
+
onAnimationComplete: pe,
|
|
1271
1271
|
...u ? {
|
|
1272
1272
|
initial: { height: 0, opacity: 0 },
|
|
1273
1273
|
animate: { height: "auto", opacity: 1 },
|
|
@@ -1275,12 +1275,12 @@ const ze = 60, ht = 6, fr = (l) => {
|
|
|
1275
1275
|
transition: { duration: 0.3 }
|
|
1276
1276
|
} : {},
|
|
1277
1277
|
children: [
|
|
1278
|
-
!
|
|
1278
|
+
!o && u ? null : /* @__PURE__ */ t.jsxs(
|
|
1279
1279
|
Gt,
|
|
1280
1280
|
{
|
|
1281
1281
|
padding: "0",
|
|
1282
|
-
flexDirection:
|
|
1283
|
-
gap:
|
|
1282
|
+
flexDirection: o ? "column" : "row",
|
|
1283
|
+
gap: o ? "4" : "0",
|
|
1284
1284
|
children: [
|
|
1285
1285
|
u ? null : /* @__PURE__ */ t.jsxs(
|
|
1286
1286
|
D,
|
|
@@ -1290,17 +1290,17 @@ const ze = 60, ht = 6, fr = (l) => {
|
|
|
1290
1290
|
alignItems: "center",
|
|
1291
1291
|
children: [
|
|
1292
1292
|
R ? /* @__PURE__ */ t.jsx(
|
|
1293
|
-
|
|
1293
|
+
ce,
|
|
1294
1294
|
{
|
|
1295
|
-
icon: /* @__PURE__ */ t.jsx(
|
|
1295
|
+
icon: /* @__PURE__ */ t.jsx(an, {}),
|
|
1296
1296
|
onClick: () => {
|
|
1297
|
-
c && c()
|
|
1297
|
+
c && c();
|
|
1298
1298
|
},
|
|
1299
1299
|
"aria-label": "Back"
|
|
1300
1300
|
}
|
|
1301
1301
|
) : null,
|
|
1302
1302
|
/* @__PURE__ */ t.jsx(
|
|
1303
|
-
|
|
1303
|
+
K,
|
|
1304
1304
|
{
|
|
1305
1305
|
color: "tints.uiGrey",
|
|
1306
1306
|
fontSize: ["xl", null, null, "lg"],
|
|
@@ -1308,24 +1308,24 @@ const ze = 60, ht = 6, fr = (l) => {
|
|
|
1308
1308
|
}
|
|
1309
1309
|
),
|
|
1310
1310
|
/* @__PURE__ */ t.jsx(
|
|
1311
|
-
|
|
1311
|
+
ce,
|
|
1312
1312
|
{
|
|
1313
|
-
icon: /* @__PURE__ */ t.jsx(
|
|
1314
|
-
onClick:
|
|
1313
|
+
icon: /* @__PURE__ */ t.jsx(on, {}),
|
|
1314
|
+
onClick: s,
|
|
1315
1315
|
"aria-label": "Close"
|
|
1316
1316
|
}
|
|
1317
1317
|
)
|
|
1318
1318
|
]
|
|
1319
1319
|
}
|
|
1320
1320
|
),
|
|
1321
|
-
|
|
1321
|
+
o && /* @__PURE__ */ t.jsxs(
|
|
1322
1322
|
Qt,
|
|
1323
1323
|
{ width: "100%", children: [
|
|
1324
1324
|
/* @__PURE__ */ t.jsx(
|
|
1325
|
-
|
|
1325
|
+
en,
|
|
1326
1326
|
{
|
|
1327
|
-
onChange: (
|
|
1328
|
-
|
|
1327
|
+
onChange: (M) => {
|
|
1328
|
+
fe(M.target.value);
|
|
1329
1329
|
},
|
|
1330
1330
|
placeholder: "Search",
|
|
1331
1331
|
autoFocus: !0,
|
|
@@ -1334,8 +1334,8 @@ const ze = 60, ht = 6, fr = (l) => {
|
|
|
1334
1334
|
}
|
|
1335
1335
|
),
|
|
1336
1336
|
/* @__PURE__ */ t.jsx(
|
|
1337
|
-
|
|
1338
|
-
{ pointerEvents: "none", children: /* @__PURE__ */ t.jsx(
|
|
1337
|
+
tn,
|
|
1338
|
+
{ pointerEvents: "none", children: /* @__PURE__ */ t.jsx(nn, { as: jt, color: "gray.500" }) }
|
|
1339
1339
|
)
|
|
1340
1340
|
] }
|
|
1341
1341
|
)
|
|
@@ -1349,7 +1349,7 @@ const ze = 60, ht = 6, fr = (l) => {
|
|
|
1349
1349
|
paddingBottom: [6, null, null, 4],
|
|
1350
1350
|
"data-testid": `navbar-drawer-body-${p.toLowerCase()}`,
|
|
1351
1351
|
children: /* @__PURE__ */ t.jsxs(
|
|
1352
|
-
|
|
1352
|
+
Je.div,
|
|
1353
1353
|
{
|
|
1354
1354
|
...u ? {
|
|
1355
1355
|
initial: { opacity: 0, y: -5 },
|
|
@@ -1368,10 +1368,10 @@ const ze = 60, ht = 6, fr = (l) => {
|
|
|
1368
1368
|
} : {},
|
|
1369
1369
|
style: {
|
|
1370
1370
|
display: "flex",
|
|
1371
|
-
flexDirection:
|
|
1371
|
+
flexDirection: bn(
|
|
1372
1372
|
b,
|
|
1373
1373
|
u,
|
|
1374
|
-
|
|
1374
|
+
o
|
|
1375
1375
|
),
|
|
1376
1376
|
gap: "24px",
|
|
1377
1377
|
justifyContent: "space-between"
|
|
@@ -1399,9 +1399,9 @@ const ze = 60, ht = 6, fr = (l) => {
|
|
|
1399
1399
|
position: [null, null, null, "relative"],
|
|
1400
1400
|
flexDirection: "column",
|
|
1401
1401
|
gap: "6",
|
|
1402
|
-
width: ["100%", null, null,
|
|
1402
|
+
width: ["100%", null, null, o ? null : "auto"],
|
|
1403
1403
|
children: [
|
|
1404
|
-
|
|
1404
|
+
d ? /* @__PURE__ */ t.jsx(y, { children: d }) : null,
|
|
1405
1405
|
w && !u ? /* @__PURE__ */ t.jsx(y, { children: w }) : null,
|
|
1406
1406
|
m ? /* @__PURE__ */ t.jsx(
|
|
1407
1407
|
y,
|
|
@@ -1417,7 +1417,7 @@ const ze = 60, ht = 6, fr = (l) => {
|
|
|
1417
1417
|
)
|
|
1418
1418
|
]
|
|
1419
1419
|
},
|
|
1420
|
-
|
|
1420
|
+
q
|
|
1421
1421
|
)
|
|
1422
1422
|
}
|
|
1423
1423
|
)
|
|
@@ -1430,105 +1430,105 @@ const ze = 60, ht = 6, fr = (l) => {
|
|
|
1430
1430
|
}
|
|
1431
1431
|
);
|
|
1432
1432
|
}, gt = (l) => {
|
|
1433
|
-
const
|
|
1434
|
-
return l.reduce((p,
|
|
1433
|
+
const s = /* @__PURE__ */ new Set();
|
|
1434
|
+
return l.reduce((p, d) => {
|
|
1435
1435
|
var g;
|
|
1436
|
-
const w = ((g =
|
|
1437
|
-
const c = R.links.filter((b) =>
|
|
1436
|
+
const w = ((g = d.sections) == null ? void 0 : g.reduce((m, R) => {
|
|
1437
|
+
const c = R.links.filter((b) => s.has(b.label) || b.isSearchable !== !0 ? !1 : (s.add(b.label), !0));
|
|
1438
1438
|
return [...m, ...c];
|
|
1439
1439
|
}, [])) ?? [];
|
|
1440
1440
|
return [...p, ...w];
|
|
1441
1441
|
}, []);
|
|
1442
|
-
},
|
|
1442
|
+
}, Cn = ({
|
|
1443
1443
|
source: l,
|
|
1444
|
-
onSearchCallback:
|
|
1444
|
+
onSearchCallback: s,
|
|
1445
1445
|
isActive: p
|
|
1446
1446
|
}) => {
|
|
1447
|
-
const [
|
|
1448
|
-
if (!
|
|
1447
|
+
const [d, w] = W(""), [g, m] = W([]), R = (o, j) => {
|
|
1448
|
+
if (!o)
|
|
1449
1449
|
return [];
|
|
1450
|
-
const v =
|
|
1450
|
+
const v = o.toLowerCase();
|
|
1451
1451
|
return j.filter((u) => {
|
|
1452
|
-
const O = u.label.toLowerCase().includes(v),
|
|
1453
|
-
return O ||
|
|
1452
|
+
const O = u.label.toLowerCase().includes(v), q = typeof u.additionalContent == "string" && u.additionalContent.toLowerCase().includes(v);
|
|
1453
|
+
return O || q;
|
|
1454
1454
|
}).sort((u, O) => u.label.localeCompare(O.label));
|
|
1455
|
-
}, c = (
|
|
1456
|
-
if (w(
|
|
1455
|
+
}, c = (o) => {
|
|
1456
|
+
if (w(o), !o) {
|
|
1457
1457
|
m([]);
|
|
1458
1458
|
return;
|
|
1459
1459
|
}
|
|
1460
|
-
const j = R(
|
|
1461
|
-
m(j),
|
|
1460
|
+
const j = R(o, l);
|
|
1461
|
+
m(j), s && s(o, j);
|
|
1462
1462
|
}, b = () => {
|
|
1463
1463
|
w(""), m([]);
|
|
1464
1464
|
};
|
|
1465
|
-
return
|
|
1465
|
+
return Z(() => {
|
|
1466
1466
|
p || (w(""), m([]));
|
|
1467
1467
|
}, [p]), {
|
|
1468
|
-
query:
|
|
1468
|
+
query: d,
|
|
1469
1469
|
results: g,
|
|
1470
1470
|
handleClose: b,
|
|
1471
1471
|
handleSearch: c
|
|
1472
1472
|
};
|
|
1473
|
-
},
|
|
1473
|
+
}, Dn = ({
|
|
1474
1474
|
categories: l = [],
|
|
1475
|
-
onCartClick:
|
|
1475
|
+
onCartClick: s,
|
|
1476
1476
|
mainCategoryLabel: p = "Menu",
|
|
1477
|
-
logoLink:
|
|
1477
|
+
logoLink: d = "https://www.everlywell.com",
|
|
1478
1478
|
hasSearch: w = !0,
|
|
1479
1479
|
onSearchClick: g,
|
|
1480
1480
|
registrationUrl: m,
|
|
1481
1481
|
profileUrl: R = "https://secure.everlywell.com/login",
|
|
1482
1482
|
mobileBottomButtons: c = [],
|
|
1483
1483
|
numberOfCartItems: b = 0,
|
|
1484
|
-
linkComponent:
|
|
1484
|
+
linkComponent: o,
|
|
1485
1485
|
onSearchCallback: j,
|
|
1486
1486
|
onLinkClick: v,
|
|
1487
1487
|
onCategoryOpen: u,
|
|
1488
1488
|
onMobileMenuOpen: O,
|
|
1489
|
-
onBackToMainMenu:
|
|
1490
|
-
onRegisterKitClick:
|
|
1489
|
+
onBackToMainMenu: q,
|
|
1490
|
+
onRegisterKitClick: Q,
|
|
1491
1491
|
onProfileClick: F,
|
|
1492
1492
|
onLogoClick: _,
|
|
1493
1493
|
shopAllProductsUrl: de,
|
|
1494
|
-
onShopAllProductsClick:
|
|
1494
|
+
onShopAllProductsClick: fe
|
|
1495
1495
|
}) => {
|
|
1496
|
-
var
|
|
1497
|
-
const [
|
|
1496
|
+
var U, be, me;
|
|
1497
|
+
const [pe, M] = W(!1), [ee, V] = W(!1), [E, $] = W(null), [ye, he] = W(!1), [A, N] = W(!1), [Y, Ee] = W(0), Re = Xe({
|
|
1498
1498
|
base: !1,
|
|
1499
1499
|
tablet: !1,
|
|
1500
1500
|
largeTablet: !1,
|
|
1501
1501
|
desktop: !0
|
|
1502
1502
|
}) ?? !1;
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
}, [
|
|
1503
|
+
Z(() => {
|
|
1504
|
+
re(), $(null);
|
|
1505
|
+
}, [Re]);
|
|
1506
1506
|
const {
|
|
1507
|
-
query:
|
|
1508
|
-
results:
|
|
1509
|
-
handleSearch:
|
|
1510
|
-
} =
|
|
1507
|
+
query: _e,
|
|
1508
|
+
results: te,
|
|
1509
|
+
handleSearch: Se
|
|
1510
|
+
} = Cn({
|
|
1511
1511
|
source: gt(l),
|
|
1512
1512
|
onSearchCallback: j,
|
|
1513
|
-
isActive:
|
|
1514
|
-
}),
|
|
1513
|
+
isActive: ee
|
|
1514
|
+
}), ve = te.length > 0, ne = o || z, Te = Pe(de, !!o), Ie = _e && /* @__PURE__ */ t.jsxs(
|
|
1515
1515
|
D,
|
|
1516
|
-
{ gap:
|
|
1517
|
-
|
|
1516
|
+
{ gap: ve ? "6" : 0, direction: "column", children: [
|
|
1517
|
+
ve ? /* @__PURE__ */ t.jsx(K, { color: "tints.uiGrey", children: `${te.length} Results` }) : /* @__PURE__ */ t.jsxs(
|
|
1518
1518
|
D,
|
|
1519
1519
|
{ direction: "column", gap: "6", alignItems: "flex-start", children: [
|
|
1520
1520
|
/* @__PURE__ */ t.jsx(
|
|
1521
|
-
|
|
1521
|
+
K,
|
|
1522
1522
|
{ color: "tints.uiGrey", children: "We didn't find what you were looking for." }
|
|
1523
1523
|
),
|
|
1524
1524
|
/* @__PURE__ */ t.jsx(
|
|
1525
1525
|
xt,
|
|
1526
1526
|
{
|
|
1527
1527
|
as: ne,
|
|
1528
|
-
onClick:
|
|
1528
|
+
onClick: fe,
|
|
1529
1529
|
_hover: { textDecoration: "none" },
|
|
1530
1530
|
width: ["100%", null, null, "auto"],
|
|
1531
|
-
...
|
|
1531
|
+
...Te,
|
|
1532
1532
|
children: "Shop all products"
|
|
1533
1533
|
}
|
|
1534
1534
|
)
|
|
@@ -1536,16 +1536,16 @@ const ze = 60, ht = 6, fr = (l) => {
|
|
|
1536
1536
|
),
|
|
1537
1537
|
/* @__PURE__ */ t.jsx(
|
|
1538
1538
|
Kt,
|
|
1539
|
-
{ columns: [1, 1, 1, 4], children:
|
|
1539
|
+
{ columns: [1, 1, 1, 4], children: te.map(
|
|
1540
1540
|
(a, k) => /* @__PURE__ */ t.jsx(
|
|
1541
1541
|
Xt,
|
|
1542
1542
|
{ children: /* @__PURE__ */ t.jsx(
|
|
1543
|
-
|
|
1543
|
+
ze,
|
|
1544
1544
|
{
|
|
1545
1545
|
href: a.href,
|
|
1546
1546
|
label: a.label,
|
|
1547
1547
|
additionalContent: a == null ? void 0 : a.additionalContent,
|
|
1548
|
-
linkComponent:
|
|
1548
|
+
linkComponent: o
|
|
1549
1549
|
}
|
|
1550
1550
|
) },
|
|
1551
1551
|
`${a.label}-${k}`
|
|
@@ -1553,80 +1553,78 @@ const ze = 60, ht = 6, fr = (l) => {
|
|
|
1553
1553
|
) }
|
|
1554
1554
|
)
|
|
1555
1555
|
] }
|
|
1556
|
-
),
|
|
1557
|
-
|
|
1558
|
-
},
|
|
1559
|
-
|
|
1560
|
-
},
|
|
1561
|
-
|
|
1562
|
-
},
|
|
1563
|
-
|
|
1556
|
+
), re = () => {
|
|
1557
|
+
M(!1), $(null);
|
|
1558
|
+
}, B = (a) => "href" in a, ge = (a) => {
|
|
1559
|
+
B(a) ? v == null || v(a.label) : $(a);
|
|
1560
|
+
}, le = (a) => {
|
|
1561
|
+
he(!0), V(!1), $(null), !B(a) && (a.sections || a.spotlightCards) && $(a);
|
|
1562
|
+
}, xe = () => {
|
|
1563
|
+
he(!1);
|
|
1564
1564
|
};
|
|
1565
|
-
|
|
1565
|
+
Z(() => {
|
|
1566
1566
|
const a = (k) => {
|
|
1567
|
-
|
|
1567
|
+
N(k.detail.isHovering);
|
|
1568
1568
|
};
|
|
1569
1569
|
return window.addEventListener(
|
|
1570
|
-
|
|
1570
|
+
Ze,
|
|
1571
1571
|
a
|
|
1572
1572
|
), () => {
|
|
1573
1573
|
window.removeEventListener(
|
|
1574
|
-
|
|
1574
|
+
Ze,
|
|
1575
1575
|
a
|
|
1576
1576
|
);
|
|
1577
1577
|
};
|
|
1578
|
-
}, []),
|
|
1579
|
-
!
|
|
1580
|
-
}, [
|
|
1578
|
+
}, []), Z(() => {
|
|
1579
|
+
!ye && !A && ($(null), V(!1));
|
|
1580
|
+
}, [ye, A]), Z(() => {
|
|
1581
1581
|
let a = window.location.href;
|
|
1582
1582
|
const k = () => {
|
|
1583
|
-
const
|
|
1584
|
-
|
|
1585
|
-
},
|
|
1583
|
+
const P = window.location.href;
|
|
1584
|
+
P !== a && (a = P, re(), $(null));
|
|
1585
|
+
}, G = setInterval(k, 100);
|
|
1586
1586
|
return window.addEventListener("popstate", k), () => {
|
|
1587
|
-
window.removeEventListener("popstate", k), clearInterval(
|
|
1587
|
+
window.removeEventListener("popstate", k), clearInterval(G);
|
|
1588
1588
|
};
|
|
1589
1589
|
}, []);
|
|
1590
|
-
const
|
|
1591
|
-
W(null), N == null || N();
|
|
1592
|
-
}, Ae = /* @__PURE__ */ t.jsx(
|
|
1590
|
+
const ae = /* @__PURE__ */ t.jsx(
|
|
1593
1591
|
t.Fragment,
|
|
1594
1592
|
{ children: l == null ? void 0 : l.map(
|
|
1595
1593
|
(a, k) => /* @__PURE__ */ t.jsx(
|
|
1596
|
-
|
|
1594
|
+
Oe,
|
|
1597
1595
|
{
|
|
1598
1596
|
onMouseEnter: () => {
|
|
1599
|
-
|
|
1597
|
+
le(a), u == null || u(a.label);
|
|
1600
1598
|
},
|
|
1601
|
-
onMouseLeave:
|
|
1599
|
+
onMouseLeave: xe,
|
|
1602
1600
|
isSelected: (E == null ? void 0 : E.label) === a.label,
|
|
1603
|
-
as:
|
|
1604
|
-
href:
|
|
1605
|
-
onClick:
|
|
1601
|
+
as: B(a) && ne ? ne : z,
|
|
1602
|
+
href: B(a) ? a.href : void 0,
|
|
1603
|
+
onClick: B(a) ? () => v == null ? void 0 : v(a.label) : void 0,
|
|
1606
1604
|
...a.buttonProps,
|
|
1607
1605
|
children: a.label
|
|
1608
1606
|
},
|
|
1609
1607
|
`${a.label}-${k}`
|
|
1610
1608
|
)
|
|
1611
1609
|
) }
|
|
1612
|
-
),
|
|
1613
|
-
(a) => !
|
|
1614
|
-
)) == null ? void 0 :
|
|
1610
|
+
), Le = (U = l.filter(
|
|
1611
|
+
(a) => !B(a) && a.isMobileTopLink !== !1
|
|
1612
|
+
)) == null ? void 0 : U.map((a) => {
|
|
1615
1613
|
const k = a;
|
|
1616
1614
|
return /* @__PURE__ */ t.jsx(
|
|
1617
1615
|
y,
|
|
1618
1616
|
{
|
|
1619
1617
|
onClick: () => {
|
|
1620
|
-
|
|
1618
|
+
ge(k), u == null || u(k.label);
|
|
1621
1619
|
},
|
|
1622
1620
|
children: /* @__PURE__ */ t.jsx(
|
|
1623
|
-
|
|
1621
|
+
ze,
|
|
1624
1622
|
{
|
|
1625
1623
|
label: k.label,
|
|
1626
1624
|
role: "link",
|
|
1627
1625
|
additionalContent: k.additionalContent,
|
|
1628
1626
|
mainTextFontSize: "3xl",
|
|
1629
|
-
linkComponent:
|
|
1627
|
+
linkComponent: o
|
|
1630
1628
|
}
|
|
1631
1629
|
)
|
|
1632
1630
|
},
|
|
@@ -1634,13 +1632,13 @@ const ze = 60, ht = 6, fr = (l) => {
|
|
|
1634
1632
|
);
|
|
1635
1633
|
});
|
|
1636
1634
|
gt(l);
|
|
1637
|
-
const
|
|
1635
|
+
const ke = /* @__PURE__ */ t.jsxs(
|
|
1638
1636
|
t.Fragment,
|
|
1639
1637
|
{ children: [
|
|
1640
1638
|
/* @__PURE__ */ t.jsx(
|
|
1641
|
-
|
|
1639
|
+
Oe,
|
|
1642
1640
|
{
|
|
1643
|
-
as:
|
|
1641
|
+
as: z,
|
|
1644
1642
|
href: R,
|
|
1645
1643
|
width: "100%",
|
|
1646
1644
|
backgroundColor: "tints.cream",
|
|
@@ -1649,48 +1647,48 @@ const ze = 60, ht = 6, fr = (l) => {
|
|
|
1649
1647
|
D,
|
|
1650
1648
|
{ gap: "2", children: [
|
|
1651
1649
|
"My Everly",
|
|
1652
|
-
/* @__PURE__ */ t.jsx(
|
|
1650
|
+
/* @__PURE__ */ t.jsx(ue, { as: dt, size: 24 })
|
|
1653
1651
|
] }
|
|
1654
1652
|
)
|
|
1655
1653
|
},
|
|
1656
1654
|
"my-everly"
|
|
1657
1655
|
),
|
|
1658
1656
|
/* @__PURE__ */ t.jsx(
|
|
1659
|
-
|
|
1657
|
+
Oe,
|
|
1660
1658
|
{
|
|
1661
|
-
as:
|
|
1659
|
+
as: z,
|
|
1662
1660
|
width: "100%",
|
|
1663
1661
|
href: m,
|
|
1664
1662
|
backgroundColor: "tints.cream",
|
|
1665
|
-
onClick:
|
|
1663
|
+
onClick: Q,
|
|
1666
1664
|
children: /* @__PURE__ */ t.jsxs(
|
|
1667
1665
|
D,
|
|
1668
1666
|
{ gap: "2", children: [
|
|
1669
1667
|
"Register kit",
|
|
1670
|
-
/* @__PURE__ */ t.jsx(
|
|
1668
|
+
/* @__PURE__ */ t.jsx(ue, { as: sn, size: 24 })
|
|
1671
1669
|
] }
|
|
1672
1670
|
)
|
|
1673
1671
|
},
|
|
1674
1672
|
"register-kit"
|
|
1675
1673
|
)
|
|
1676
1674
|
] }
|
|
1677
|
-
),
|
|
1675
|
+
), Ae = /* @__PURE__ */ t.jsxs(
|
|
1678
1676
|
D,
|
|
1679
1677
|
{ gap: "2", flexDirection: "column", children: [
|
|
1680
1678
|
c,
|
|
1681
|
-
|
|
1679
|
+
ke
|
|
1682
1680
|
] }
|
|
1683
|
-
),
|
|
1681
|
+
), Fe = E ? /* @__PURE__ */ t.jsx(
|
|
1684
1682
|
D,
|
|
1685
|
-
{ direction: ["column", null, null, "row"], gap: "8", children: (
|
|
1686
|
-
const
|
|
1687
|
-
for (let
|
|
1688
|
-
|
|
1683
|
+
{ direction: ["column", null, null, "row"], gap: "8", children: (be = E == null ? void 0 : E.sections) == null ? void 0 : be.map((a, k) => {
|
|
1684
|
+
const G = [];
|
|
1685
|
+
for (let P = 0; P < a.links.length; P += 3)
|
|
1686
|
+
G.push(a.links.slice(P, P + 3));
|
|
1689
1687
|
return /* @__PURE__ */ t.jsxs(
|
|
1690
1688
|
y,
|
|
1691
1689
|
{ children: [
|
|
1692
1690
|
/* @__PURE__ */ t.jsx(
|
|
1693
|
-
|
|
1691
|
+
K,
|
|
1694
1692
|
{
|
|
1695
1693
|
fontSize: "md",
|
|
1696
1694
|
color: "tints.uiGrey",
|
|
@@ -1703,28 +1701,28 @@ const ze = 60, ht = 6, fr = (l) => {
|
|
|
1703
1701
|
{
|
|
1704
1702
|
flexDirection: ["column", null, null, "row"],
|
|
1705
1703
|
gap: [null, null, null, 8],
|
|
1706
|
-
children:
|
|
1707
|
-
(
|
|
1704
|
+
children: G == null ? void 0 : G.map(
|
|
1705
|
+
(P, Me) => /* @__PURE__ */ t.jsx(
|
|
1708
1706
|
D,
|
|
1709
1707
|
{
|
|
1710
1708
|
flexDirection: ["column"],
|
|
1711
1709
|
gap: [null, null, null, 5],
|
|
1712
1710
|
marginLeft: [null, null, null, -2],
|
|
1713
|
-
children:
|
|
1714
|
-
(
|
|
1715
|
-
|
|
1711
|
+
children: P == null ? void 0 : P.map(
|
|
1712
|
+
(X) => /* @__PURE__ */ t.jsx(
|
|
1713
|
+
ze,
|
|
1716
1714
|
{
|
|
1717
|
-
label:
|
|
1718
|
-
href:
|
|
1719
|
-
additionalContent:
|
|
1720
|
-
linkComponent:
|
|
1721
|
-
onClick: () => v == null ? void 0 : v(
|
|
1715
|
+
label: X.label,
|
|
1716
|
+
href: X.href,
|
|
1717
|
+
additionalContent: X.additionalContent,
|
|
1718
|
+
linkComponent: o,
|
|
1719
|
+
onClick: () => v == null ? void 0 : v(X.label)
|
|
1722
1720
|
},
|
|
1723
|
-
|
|
1721
|
+
X.label
|
|
1724
1722
|
)
|
|
1725
1723
|
)
|
|
1726
1724
|
},
|
|
1727
|
-
|
|
1725
|
+
Me
|
|
1728
1726
|
)
|
|
1729
1727
|
)
|
|
1730
1728
|
}
|
|
@@ -1733,105 +1731,110 @@ const ze = 60, ht = 6, fr = (l) => {
|
|
|
1733
1731
|
`${a.title}-${k}`
|
|
1734
1732
|
);
|
|
1735
1733
|
}) }
|
|
1736
|
-
) : null,
|
|
1737
|
-
(a) => /* @__PURE__ */ t.jsx(
|
|
1734
|
+
) : null, ie = E != null && E.spotlightCards ? (me = E.spotlightCards) == null ? void 0 : me.map(
|
|
1735
|
+
(a) => /* @__PURE__ */ t.jsx(pn, { ...a }, a.title)
|
|
1738
1736
|
) : /* @__PURE__ */ t.jsx(y, {});
|
|
1739
1737
|
return /* @__PURE__ */ t.jsxs(
|
|
1740
|
-
|
|
1738
|
+
t.Fragment,
|
|
1741
1739
|
{ children: [
|
|
1742
1740
|
/* @__PURE__ */ t.jsx(
|
|
1743
|
-
|
|
1741
|
+
vn,
|
|
1744
1742
|
{
|
|
1745
|
-
desktopTopButtons:
|
|
1743
|
+
desktopTopButtons: ae,
|
|
1746
1744
|
kitRegistrationElement: /* @__PURE__ */ t.jsx(
|
|
1747
|
-
|
|
1745
|
+
Oe,
|
|
1748
1746
|
{
|
|
1749
|
-
as:
|
|
1747
|
+
as: z,
|
|
1750
1748
|
href: m,
|
|
1751
|
-
onClick:
|
|
1749
|
+
onClick: Q,
|
|
1752
1750
|
backgroundColor: "tints.cream",
|
|
1753
1751
|
children: "Register Kit"
|
|
1754
1752
|
}
|
|
1755
1753
|
),
|
|
1756
1754
|
profileElement: /* @__PURE__ */ t.jsx(
|
|
1757
|
-
|
|
1758
|
-
{ href: R, "aria-label": "login", onClick: F, children: /* @__PURE__ */ t.jsx(
|
|
1755
|
+
z,
|
|
1756
|
+
{ href: R, "aria-label": "login", onClick: F, children: /* @__PURE__ */ t.jsx(ce, { icon: /* @__PURE__ */ t.jsx(ue, { as: dt }), "aria-label": "Profile" }) }
|
|
1759
1757
|
),
|
|
1760
1758
|
cartElement: /* @__PURE__ */ t.jsx(
|
|
1761
|
-
|
|
1759
|
+
gn,
|
|
1762
1760
|
{
|
|
1763
1761
|
"aria-label": "Cart",
|
|
1764
1762
|
count: b,
|
|
1765
|
-
onClick:
|
|
1763
|
+
onClick: s
|
|
1766
1764
|
}
|
|
1767
1765
|
),
|
|
1768
1766
|
onSearchClick: () => {
|
|
1769
|
-
|
|
1767
|
+
V(!ee), g == null || g();
|
|
1770
1768
|
},
|
|
1771
1769
|
onMenuClick: () => {
|
|
1772
|
-
|
|
1770
|
+
M(!0), O == null || O();
|
|
1773
1771
|
},
|
|
1774
1772
|
hasSearch: w,
|
|
1775
|
-
logoLink:
|
|
1776
|
-
linkComponent:
|
|
1773
|
+
logoLink: d,
|
|
1774
|
+
linkComponent: o,
|
|
1777
1775
|
onLogoClick: _,
|
|
1778
|
-
setTopOffset:
|
|
1779
|
-
}
|
|
1780
|
-
),
|
|
1781
|
-
/* @__PURE__ */ t.jsx(
|
|
1782
|
-
Ge,
|
|
1783
|
-
{
|
|
1784
|
-
isOpen: he,
|
|
1785
|
-
onClose: le,
|
|
1786
|
-
title: p,
|
|
1787
|
-
navDrawerLinks: De,
|
|
1788
|
-
bottomNavButtons: He,
|
|
1789
|
-
hasBackButton: !1,
|
|
1790
|
-
topOffset: U
|
|
1791
|
-
}
|
|
1792
|
-
),
|
|
1793
|
-
/* @__PURE__ */ t.jsx(
|
|
1794
|
-
Ge,
|
|
1795
|
-
{
|
|
1796
|
-
isOpen: !!E,
|
|
1797
|
-
onClose: () => {
|
|
1798
|
-
le(), W(null);
|
|
1799
|
-
},
|
|
1800
|
-
title: (E == null ? void 0 : E.label) || "",
|
|
1801
|
-
navDrawerLinks: oe,
|
|
1802
|
-
onBackClick: ie,
|
|
1803
|
-
spotlightCards: J,
|
|
1804
|
-
hasOnlySpotlightCards: E == null ? void 0 : E.hasOnlySpotlightCards,
|
|
1805
|
-
bottomButton: E == null ? void 0 : E.bottomButton,
|
|
1806
|
-
topOffset: U
|
|
1776
|
+
setTopOffset: Ee
|
|
1807
1777
|
}
|
|
1808
1778
|
),
|
|
1809
|
-
/* @__PURE__ */ t.
|
|
1810
|
-
|
|
1811
|
-
{
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1779
|
+
/* @__PURE__ */ t.jsxs(
|
|
1780
|
+
y,
|
|
1781
|
+
{ position: "relative", zIndex: "modal", children: [
|
|
1782
|
+
/* @__PURE__ */ t.jsx(
|
|
1783
|
+
Ue,
|
|
1784
|
+
{
|
|
1785
|
+
isOpen: pe,
|
|
1786
|
+
onClose: re,
|
|
1787
|
+
title: p,
|
|
1788
|
+
navDrawerLinks: Le,
|
|
1789
|
+
bottomNavButtons: Ae,
|
|
1790
|
+
hasBackButton: !1,
|
|
1791
|
+
topOffset: Y
|
|
1792
|
+
}
|
|
1793
|
+
),
|
|
1794
|
+
/* @__PURE__ */ t.jsx(
|
|
1795
|
+
Ue,
|
|
1796
|
+
{
|
|
1797
|
+
isOpen: !!E,
|
|
1798
|
+
onClose: () => {
|
|
1799
|
+
re(), $(null);
|
|
1800
|
+
},
|
|
1801
|
+
title: (E == null ? void 0 : E.label) || "",
|
|
1802
|
+
navDrawerLinks: Fe,
|
|
1803
|
+
onBackClick: () => $(null),
|
|
1804
|
+
spotlightCards: ie,
|
|
1805
|
+
hasOnlySpotlightCards: E == null ? void 0 : E.hasOnlySpotlightCards,
|
|
1806
|
+
bottomButton: E == null ? void 0 : E.bottomButton,
|
|
1807
|
+
topOffset: Y
|
|
1808
|
+
}
|
|
1809
|
+
),
|
|
1810
|
+
/* @__PURE__ */ t.jsx(
|
|
1811
|
+
Ue,
|
|
1812
|
+
{
|
|
1813
|
+
isOpen: ee,
|
|
1814
|
+
onClose: () => V(!1),
|
|
1815
|
+
title: "Search",
|
|
1816
|
+
navDrawerLinks: Ie,
|
|
1817
|
+
onSearch: Se,
|
|
1818
|
+
hasSearch: !0,
|
|
1819
|
+
hasBackButton: !1,
|
|
1820
|
+
topOffset: Y
|
|
1821
|
+
}
|
|
1822
|
+
)
|
|
1823
|
+
] }
|
|
1821
1824
|
)
|
|
1822
1825
|
] }
|
|
1823
1826
|
);
|
|
1824
1827
|
};
|
|
1825
1828
|
export {
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1829
|
+
gn as BasketButton,
|
|
1830
|
+
Tn as CategoryLabel,
|
|
1831
|
+
Oe as NavButton,
|
|
1832
|
+
kn as NavSkeleton,
|
|
1833
|
+
Ue as NavbarDrawer,
|
|
1834
|
+
ze as NavbarDrawerLink,
|
|
1835
|
+
Dn as NavigationBar,
|
|
1836
|
+
pn as SpotlightCard,
|
|
1837
|
+
Sn as Stepper,
|
|
1838
|
+
ce as TopNavIconButton,
|
|
1839
|
+
vn as TopNavigation
|
|
1837
1840
|
};
|