@everlywell/consumer-ui 1.33.0 → 1.34.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 +372 -363
- 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 y, Stepper as Mt, Icon as
|
|
2
|
-
import
|
|
3
|
-
import { Text as qt, useBreakpointValue as
|
|
4
|
-
import { CaretRight as
|
|
5
|
-
import { motion as
|
|
6
|
-
var
|
|
1
|
+
import { useSteps as Wt, Box as y, Stepper as Mt, Icon as ce, Flex as D, Text as X, Link as G, Button as xt, Image as Bt, IconButton as Vt, VStack as Nt, Skeleton as Ye, HStack as ut, 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 Xe, { useEffect as K, forwardRef as bt, useRef as Jt, useCallback as mt, useState as V } from "react";
|
|
3
|
+
import { Text as qt, useBreakpointValue as Je, InputGroup as Qt, Input as er, InputRightElement as tr, Icon as rr } from "@chakra-ui/react";
|
|
4
|
+
import { CaretRight as ct, MagnifyingGlass as jt, List as nr, Basket as lr, CaretLeft as ar, X as ir, User as ft, QrCode as or } from "@phosphor-icons/react";
|
|
5
|
+
import { motion as qe, AnimatePresence as sr } from "framer-motion";
|
|
6
|
+
var Ze = { exports: {} }, we = {};
|
|
7
7
|
/**
|
|
8
8
|
* @license React
|
|
9
9
|
* react-jsx-runtime.production.min.js
|
|
@@ -18,12 +18,12 @@ function ur() {
|
|
|
18
18
|
if (dt)
|
|
19
19
|
return we;
|
|
20
20
|
dt = 1;
|
|
21
|
-
var l =
|
|
21
|
+
var l = Xe, o = Symbol.for("react.element"), p = Symbol.for("react.fragment"), f = 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
23
|
var s, 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
25
|
for (s in c)
|
|
26
|
-
|
|
26
|
+
f.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
29
|
j[s] === void 0 && (j[s] = c[s]);
|
|
@@ -41,14 +41,14 @@ var ye = {};
|
|
|
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
|
|
44
|
+
var pt;
|
|
45
45
|
function cr() {
|
|
46
|
-
return
|
|
47
|
-
var l =
|
|
48
|
-
function
|
|
46
|
+
return pt || (pt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
47
|
+
var l = Xe, o = Symbol.for("react.element"), p = Symbol.for("react.portal"), f = 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, N = "@@iterator";
|
|
48
|
+
function ee(e) {
|
|
49
49
|
if (e === null || typeof e != "object")
|
|
50
50
|
return null;
|
|
51
|
-
var r = O && e[O] || e[
|
|
51
|
+
var r = O && e[O] || e[N];
|
|
52
52
|
return typeof r == "function" ? r : null;
|
|
53
53
|
}
|
|
54
54
|
var F = l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -56,10 +56,10 @@ function cr() {
|
|
|
56
56
|
{
|
|
57
57
|
for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++)
|
|
58
58
|
n[i - 1] = arguments[i];
|
|
59
|
-
|
|
59
|
+
de("error", e, n);
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function de(e, r, n) {
|
|
63
63
|
{
|
|
64
64
|
var i = F.ReactDebugCurrentFrame, x = i.getStackAddendum();
|
|
65
65
|
x !== "" && (r += "%s", n = n.concat([x]));
|
|
@@ -69,10 +69,10 @@ function cr() {
|
|
|
69
69
|
C.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, C);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
var
|
|
72
|
+
var pe = !1, he = !1, H = !1, te = !1, Y = !1, E;
|
|
73
73
|
E = Symbol.for("react.module.reference");
|
|
74
|
-
function
|
|
75
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
74
|
+
function W(e) {
|
|
75
|
+
return !!(typeof e == "string" || typeof e == "function" || e === f || e === g || Y || e === w || e === b || e === s || te || e === u || pe || he || 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.
|
|
@@ -85,10 +85,10 @@ function cr() {
|
|
|
85
85
|
var x = r.displayName || r.name || "";
|
|
86
86
|
return x !== "" ? n + "(" + x + ")" : n;
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function ve(e) {
|
|
89
89
|
return e.displayName || "Context";
|
|
90
90
|
}
|
|
91
|
-
function
|
|
91
|
+
function I(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 f:
|
|
100
100
|
return "Fragment";
|
|
101
101
|
case p:
|
|
102
102
|
return "Portal";
|
|
@@ -113,19 +113,19 @@ function cr() {
|
|
|
113
113
|
switch (e.$$typeof) {
|
|
114
114
|
case R:
|
|
115
115
|
var r = e;
|
|
116
|
-
return
|
|
116
|
+
return ve(r) + ".Consumer";
|
|
117
117
|
case m:
|
|
118
118
|
var n = e;
|
|
119
|
-
return
|
|
119
|
+
return ve(n._context) + ".Provider";
|
|
120
120
|
case c:
|
|
121
121
|
return Ee(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 : I(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 I(h(C));
|
|
129
129
|
} catch {
|
|
130
130
|
return null;
|
|
131
131
|
}
|
|
@@ -133,14 +133,14 @@ function cr() {
|
|
|
133
133
|
}
|
|
134
134
|
return null;
|
|
135
135
|
}
|
|
136
|
-
var
|
|
136
|
+
var z = Object.assign, U = 0, Re, _e, Se, re, Te, ge, ne;
|
|
137
137
|
function ke() {
|
|
138
138
|
}
|
|
139
139
|
ke.__reactDisabledLog = !0;
|
|
140
|
-
function
|
|
140
|
+
function Ie() {
|
|
141
141
|
{
|
|
142
|
-
if (
|
|
143
|
-
Re = console.log, _e = console.info,
|
|
142
|
+
if (U === 0) {
|
|
143
|
+
Re = console.log, _e = console.info, Se = console.warn, re = console.error, Te = console.group, ge = console.groupCollapsed, ne = console.groupEnd;
|
|
144
144
|
var e = {
|
|
145
145
|
configurable: !0,
|
|
146
146
|
enumerable: !0,
|
|
@@ -157,46 +157,46 @@ function cr() {
|
|
|
157
157
|
groupEnd: e
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
|
-
|
|
160
|
+
U++;
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
|
-
function
|
|
163
|
+
function le() {
|
|
164
164
|
{
|
|
165
|
-
if (
|
|
165
|
+
if (U--, U === 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: z({}, e, {
|
|
173
173
|
value: Re
|
|
174
174
|
}),
|
|
175
|
-
info:
|
|
175
|
+
info: z({}, e, {
|
|
176
176
|
value: _e
|
|
177
177
|
}),
|
|
178
|
-
warn:
|
|
179
|
-
value: te
|
|
180
|
-
}),
|
|
181
|
-
error: N({}, e, {
|
|
178
|
+
warn: z({}, e, {
|
|
182
179
|
value: Se
|
|
183
180
|
}),
|
|
184
|
-
|
|
185
|
-
value: he
|
|
186
|
-
}),
|
|
187
|
-
groupCollapsed: N({}, e, {
|
|
181
|
+
error: z({}, e, {
|
|
188
182
|
value: re
|
|
189
183
|
}),
|
|
190
|
-
|
|
184
|
+
group: z({}, e, {
|
|
191
185
|
value: Te
|
|
186
|
+
}),
|
|
187
|
+
groupCollapsed: z({}, e, {
|
|
188
|
+
value: ge
|
|
189
|
+
}),
|
|
190
|
+
groupEnd: z({}, e, {
|
|
191
|
+
value: ne
|
|
192
192
|
})
|
|
193
193
|
});
|
|
194
194
|
}
|
|
195
|
-
|
|
195
|
+
U < 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 M = F.ReactCurrentDispatcher, xe;
|
|
199
|
+
function ae(e, r, n) {
|
|
200
200
|
{
|
|
201
201
|
if (xe === void 0)
|
|
202
202
|
try {
|
|
@@ -209,16 +209,16 @@ function cr() {
|
|
|
209
209
|
` + xe + e;
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
|
-
var be = !1,
|
|
212
|
+
var be = !1, ie;
|
|
213
213
|
{
|
|
214
|
-
var
|
|
215
|
-
|
|
214
|
+
var Ae = typeof WeakMap == "function" ? WeakMap : Map;
|
|
215
|
+
ie = new Ae();
|
|
216
216
|
}
|
|
217
217
|
function De(e, r) {
|
|
218
218
|
if (!e || be)
|
|
219
219
|
return "";
|
|
220
220
|
{
|
|
221
|
-
var n =
|
|
221
|
+
var n = ie.get(e);
|
|
222
222
|
if (n !== void 0)
|
|
223
223
|
return n;
|
|
224
224
|
}
|
|
@@ -227,7 +227,7 @@ function cr() {
|
|
|
227
227
|
var x = Error.prepareStackTrace;
|
|
228
228
|
Error.prepareStackTrace = void 0;
|
|
229
229
|
var C;
|
|
230
|
-
C =
|
|
230
|
+
C = M.current, M.current = null, Ie();
|
|
231
231
|
try {
|
|
232
232
|
if (r) {
|
|
233
233
|
var h = function() {
|
|
@@ -240,147 +240,147 @@ function cr() {
|
|
|
240
240
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
241
241
|
try {
|
|
242
242
|
Reflect.construct(h, []);
|
|
243
|
-
} catch (
|
|
244
|
-
i =
|
|
243
|
+
} catch (L) {
|
|
244
|
+
i = L;
|
|
245
245
|
}
|
|
246
246
|
Reflect.construct(e, [], h);
|
|
247
247
|
} else {
|
|
248
248
|
try {
|
|
249
249
|
h.call();
|
|
250
|
-
} catch (
|
|
251
|
-
i =
|
|
250
|
+
} catch (L) {
|
|
251
|
+
i = L;
|
|
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 (L) {
|
|
259
|
+
i = L;
|
|
260
260
|
}
|
|
261
261
|
e();
|
|
262
262
|
}
|
|
263
|
-
} catch (
|
|
264
|
-
if (
|
|
265
|
-
for (var
|
|
266
|
-
`),
|
|
267
|
-
`), S =
|
|
263
|
+
} catch (L) {
|
|
264
|
+
if (L && i && typeof L.stack == "string") {
|
|
265
|
+
for (var d = L.stack.split(`
|
|
266
|
+
`), P = i.stack.split(`
|
|
267
|
+
`), S = d.length - 1, T = P.length - 1; S >= 1 && T >= 0 && d[S] !== P[T]; )
|
|
268
268
|
T--;
|
|
269
269
|
for (; S >= 1 && T >= 0; S--, T--)
|
|
270
|
-
if (
|
|
270
|
+
if (d[S] !== P[T]) {
|
|
271
271
|
if (S !== 1 || T !== 1)
|
|
272
272
|
do
|
|
273
|
-
if (S--, T--, T < 0 ||
|
|
273
|
+
if (S--, T--, T < 0 || d[S] !== P[T]) {
|
|
274
274
|
var $ = `
|
|
275
|
-
` +
|
|
276
|
-
return e.displayName && $.includes("<anonymous>") && ($ = $.replace("<anonymous>", e.displayName)), typeof e == "function" &&
|
|
275
|
+
` + d[S].replace(" at new ", " at ");
|
|
276
|
+
return e.displayName && $.includes("<anonymous>") && ($ = $.replace("<anonymous>", e.displayName)), typeof e == "function" && ie.set(e, $), $;
|
|
277
277
|
}
|
|
278
278
|
while (S >= 1 && T >= 0);
|
|
279
279
|
break;
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
282
|
} finally {
|
|
283
|
-
be = !1,
|
|
283
|
+
be = !1, M.current = C, le(), Error.prepareStackTrace = x;
|
|
284
284
|
}
|
|
285
|
-
var
|
|
286
|
-
return typeof e == "function" &&
|
|
285
|
+
var ue = e ? e.displayName || e.name : "", Q = ue ? ae(ue) : "";
|
|
286
|
+
return typeof e == "function" && ie.set(e, Q), Q;
|
|
287
287
|
}
|
|
288
|
-
function
|
|
288
|
+
function Fe(e, r, n) {
|
|
289
289
|
return De(e, !1);
|
|
290
290
|
}
|
|
291
|
-
function
|
|
291
|
+
function He(e) {
|
|
292
292
|
var r = e.prototype;
|
|
293
293
|
return !!(r && r.isReactComponent);
|
|
294
294
|
}
|
|
295
|
-
function
|
|
295
|
+
function oe(e, r, n) {
|
|
296
296
|
if (e == null)
|
|
297
297
|
return "";
|
|
298
298
|
if (typeof e == "function")
|
|
299
|
-
return De(e,
|
|
299
|
+
return De(e, He(e));
|
|
300
300
|
if (typeof e == "string")
|
|
301
|
-
return
|
|
301
|
+
return ae(e);
|
|
302
302
|
switch (e) {
|
|
303
303
|
case b:
|
|
304
|
-
return
|
|
304
|
+
return ae("Suspense");
|
|
305
305
|
case s:
|
|
306
|
-
return
|
|
306
|
+
return ae("SuspenseList");
|
|
307
307
|
}
|
|
308
308
|
if (typeof e == "object")
|
|
309
309
|
switch (e.$$typeof) {
|
|
310
310
|
case c:
|
|
311
|
-
return
|
|
311
|
+
return Fe(e.render);
|
|
312
312
|
case j:
|
|
313
|
-
return
|
|
313
|
+
return oe(e.type, r, n);
|
|
314
314
|
case v: {
|
|
315
315
|
var i = e, x = i._payload, C = i._init;
|
|
316
316
|
try {
|
|
317
|
-
return
|
|
317
|
+
return oe(C(x), r, n);
|
|
318
318
|
} catch {
|
|
319
319
|
}
|
|
320
320
|
}
|
|
321
321
|
}
|
|
322
322
|
return "";
|
|
323
323
|
}
|
|
324
|
-
var
|
|
325
|
-
function
|
|
324
|
+
var J = Object.prototype.hasOwnProperty, me = {}, je = F.ReactDebugCurrentFrame;
|
|
325
|
+
function q(e) {
|
|
326
326
|
if (e) {
|
|
327
|
-
var r = e._owner, n =
|
|
327
|
+
var r = e._owner, n = oe(e.type, e._source, r ? r.type : null);
|
|
328
328
|
je.setExtraStackFrame(n);
|
|
329
329
|
} else
|
|
330
330
|
je.setExtraStackFrame(null);
|
|
331
331
|
}
|
|
332
|
-
function
|
|
332
|
+
function a(e, r, n, i, x) {
|
|
333
333
|
{
|
|
334
|
-
var C = Function.call.bind(
|
|
334
|
+
var C = Function.call.bind(J);
|
|
335
335
|
for (var h in e)
|
|
336
336
|
if (C(e, h)) {
|
|
337
|
-
var
|
|
337
|
+
var d = void 0;
|
|
338
338
|
try {
|
|
339
339
|
if (typeof e[h] != "function") {
|
|
340
|
-
var
|
|
341
|
-
throw
|
|
340
|
+
var P = 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 P.name = "Invariant Violation", P;
|
|
342
342
|
}
|
|
343
|
-
|
|
343
|
+
d = e[h](r, h, i, n, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
344
344
|
} catch (S) {
|
|
345
|
-
|
|
345
|
+
d = S;
|
|
346
346
|
}
|
|
347
|
-
|
|
347
|
+
d && !(d instanceof Error) && (q(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 d), q(null)), d instanceof Error && !(d.message in me) && (me[d.message] = !0, q(x), _("Failed %s type: %s", n, d.message), q(null));
|
|
348
348
|
}
|
|
349
349
|
}
|
|
350
350
|
}
|
|
351
|
-
var
|
|
352
|
-
function
|
|
353
|
-
return
|
|
351
|
+
var k = Array.isArray;
|
|
352
|
+
function B(e) {
|
|
353
|
+
return k(e);
|
|
354
354
|
}
|
|
355
|
-
function
|
|
355
|
+
function A(e) {
|
|
356
356
|
{
|
|
357
357
|
var r = typeof Symbol == "function" && Symbol.toStringTag, n = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
358
358
|
return n;
|
|
359
359
|
}
|
|
360
360
|
}
|
|
361
|
-
function
|
|
361
|
+
function $e(e) {
|
|
362
362
|
try {
|
|
363
|
-
return
|
|
363
|
+
return Z(e), !1;
|
|
364
364
|
} catch {
|
|
365
365
|
return !0;
|
|
366
366
|
}
|
|
367
367
|
}
|
|
368
|
-
function
|
|
368
|
+
function Z(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 ($e(e))
|
|
373
|
+
return _("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", A(e)), Z(e);
|
|
374
374
|
}
|
|
375
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
|
+
}, et, tt, We;
|
|
381
|
+
We = {};
|
|
382
382
|
function wt(e) {
|
|
383
|
-
if (
|
|
383
|
+
if (J.call(e, "ref")) {
|
|
384
384
|
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
385
385
|
if (r && r.isReactWarning)
|
|
386
386
|
return !1;
|
|
@@ -388,7 +388,7 @@ function cr() {
|
|
|
388
388
|
return e.ref !== void 0;
|
|
389
389
|
}
|
|
390
390
|
function yt(e) {
|
|
391
|
-
if (
|
|
391
|
+
if (J.call(e, "key")) {
|
|
392
392
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
393
393
|
if (r && r.isReactWarning)
|
|
394
394
|
return !1;
|
|
@@ -397,14 +397,14 @@ function cr() {
|
|
|
397
397
|
}
|
|
398
398
|
function Et(e, r) {
|
|
399
399
|
if (typeof e.ref == "string" && Ce.current && r && Ce.current.stateNode !== r) {
|
|
400
|
-
var n =
|
|
401
|
-
|
|
400
|
+
var n = I(Ce.current.type);
|
|
401
|
+
We[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', I(Ce.current.type), e.ref), We[n] = !0);
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
404
|
function Rt(e, r) {
|
|
405
405
|
{
|
|
406
406
|
var n = function() {
|
|
407
|
-
|
|
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)", r));
|
|
408
408
|
};
|
|
409
409
|
n.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
410
410
|
get: n,
|
|
@@ -415,7 +415,7 @@ function cr() {
|
|
|
415
415
|
function _t(e, r) {
|
|
416
416
|
{
|
|
417
417
|
var n = function() {
|
|
418
|
-
|
|
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)", r));
|
|
419
419
|
};
|
|
420
420
|
n.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
421
421
|
get: n,
|
|
@@ -424,7 +424,7 @@ function cr() {
|
|
|
424
424
|
}
|
|
425
425
|
}
|
|
426
426
|
var St = function(e, r, n, i, x, C, h) {
|
|
427
|
-
var
|
|
427
|
+
var d = {
|
|
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
|
|
@@ -435,58 +435,58 @@ function cr() {
|
|
|
435
435
|
// Record the component responsible for creating this element.
|
|
436
436
|
_owner: C
|
|
437
437
|
};
|
|
438
|
-
return
|
|
438
|
+
return d._store = {}, Object.defineProperty(d._store, "validated", {
|
|
439
439
|
configurable: !1,
|
|
440
440
|
enumerable: !1,
|
|
441
441
|
writable: !0,
|
|
442
442
|
value: !1
|
|
443
|
-
}), Object.defineProperty(
|
|
443
|
+
}), Object.defineProperty(d, "_self", {
|
|
444
444
|
configurable: !1,
|
|
445
445
|
enumerable: !1,
|
|
446
446
|
writable: !1,
|
|
447
447
|
value: i
|
|
448
|
-
}), Object.defineProperty(
|
|
448
|
+
}), Object.defineProperty(d, "_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(d.props), Object.freeze(d)), d;
|
|
454
454
|
};
|
|
455
455
|
function Tt(e, r, n, i, x) {
|
|
456
456
|
{
|
|
457
|
-
var C, h = {},
|
|
458
|
-
n !== void 0 && (
|
|
457
|
+
var C, h = {}, d = null, P = null;
|
|
458
|
+
n !== void 0 && (Qe(n), d = "" + n), yt(r) && (Qe(r.key), d = "" + r.key), wt(r) && (P = r.ref, Et(r, x));
|
|
459
459
|
for (C in r)
|
|
460
|
-
|
|
460
|
+
J.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 (
|
|
466
|
+
if (d || P) {
|
|
467
467
|
var T = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
468
|
-
|
|
468
|
+
d && Rt(h, T), P && _t(h, T);
|
|
469
469
|
}
|
|
470
|
-
return St(e,
|
|
470
|
+
return St(e, d, P, x, i, Ce.current, h);
|
|
471
471
|
}
|
|
472
472
|
}
|
|
473
|
-
var
|
|
474
|
-
function
|
|
473
|
+
var Me = F.ReactCurrentOwner, rt = F.ReactDebugCurrentFrame;
|
|
474
|
+
function se(e) {
|
|
475
475
|
if (e) {
|
|
476
|
-
var r = e._owner, n =
|
|
477
|
-
|
|
476
|
+
var r = e._owner, n = oe(e.type, e._source, r ? r.type : null);
|
|
477
|
+
rt.setExtraStackFrame(n);
|
|
478
478
|
} else
|
|
479
|
-
|
|
479
|
+
rt.setExtraStackFrame(null);
|
|
480
480
|
}
|
|
481
|
-
var
|
|
482
|
-
|
|
483
|
-
function
|
|
481
|
+
var Be;
|
|
482
|
+
Be = !1;
|
|
483
|
+
function Ve(e) {
|
|
484
484
|
return typeof e == "object" && e !== null && e.$$typeof === o;
|
|
485
485
|
}
|
|
486
|
-
function
|
|
486
|
+
function nt() {
|
|
487
487
|
{
|
|
488
|
-
if (
|
|
489
|
-
var e =
|
|
488
|
+
if (Me.current) {
|
|
489
|
+
var e = I(Me.current.type);
|
|
490
490
|
if (e)
|
|
491
491
|
return `
|
|
492
492
|
|
|
@@ -506,10 +506,10 @@ Check your code at ` + r + ":" + n + ".";
|
|
|
506
506
|
return "";
|
|
507
507
|
}
|
|
508
508
|
}
|
|
509
|
-
var
|
|
509
|
+
var lt = {};
|
|
510
510
|
function Dt(e) {
|
|
511
511
|
{
|
|
512
|
-
var r =
|
|
512
|
+
var r = nt();
|
|
513
513
|
if (!r) {
|
|
514
514
|
var n = typeof e == "string" ? e : e.displayName || e.name;
|
|
515
515
|
n && (r = `
|
|
@@ -519,35 +519,35 @@ Check the top-level render call using <` + n + ">.");
|
|
|
519
519
|
return r;
|
|
520
520
|
}
|
|
521
521
|
}
|
|
522
|
-
function
|
|
522
|
+
function at(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
527
|
var n = Dt(r);
|
|
528
|
-
if (
|
|
528
|
+
if (lt[n])
|
|
529
529
|
return;
|
|
530
|
-
|
|
530
|
+
lt[n] = !0;
|
|
531
531
|
var i = "";
|
|
532
|
-
e && e._owner && e._owner !==
|
|
532
|
+
e && e._owner && e._owner !== Me.current && (i = " It was passed a child from " + I(e._owner.type) + "."), se(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), se(null);
|
|
533
533
|
}
|
|
534
534
|
}
|
|
535
|
-
function
|
|
535
|
+
function it(e, r) {
|
|
536
536
|
{
|
|
537
537
|
if (typeof e != "object")
|
|
538
538
|
return;
|
|
539
|
-
if (
|
|
539
|
+
if (B(e))
|
|
540
540
|
for (var n = 0; n < e.length; n++) {
|
|
541
541
|
var i = e[n];
|
|
542
|
-
|
|
542
|
+
Ve(i) && at(i, r);
|
|
543
543
|
}
|
|
544
|
-
else if (
|
|
544
|
+
else if (Ve(e))
|
|
545
545
|
e._store && (e._store.validated = !0);
|
|
546
546
|
else if (e) {
|
|
547
|
-
var x =
|
|
547
|
+
var x = ee(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
|
+
Ve(h.value) && at(h.value, r);
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
553
|
}
|
|
@@ -566,11 +566,11 @@ Check the top-level render call using <` + n + ">.");
|
|
|
566
566
|
else
|
|
567
567
|
return;
|
|
568
568
|
if (n) {
|
|
569
|
-
var i =
|
|
570
|
-
|
|
571
|
-
} else if (r.PropTypes !== void 0 && !
|
|
572
|
-
|
|
573
|
-
var x =
|
|
569
|
+
var i = I(r);
|
|
570
|
+
a(n, e.props, "prop", i, e);
|
|
571
|
+
} else if (r.PropTypes !== void 0 && !Be) {
|
|
572
|
+
Be = !0;
|
|
573
|
+
var x = I(r);
|
|
574
574
|
_("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", x || "Unknown");
|
|
575
575
|
}
|
|
576
576
|
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && _("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
@@ -581,24 +581,24 @@ Check the top-level render call using <` + n + ">.");
|
|
|
581
581
|
for (var r = Object.keys(e.props), n = 0; n < r.length; n++) {
|
|
582
582
|
var i = r[n];
|
|
583
583
|
if (i !== "children" && i !== "key") {
|
|
584
|
-
|
|
584
|
+
se(e), _("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", i), se(null);
|
|
585
585
|
break;
|
|
586
586
|
}
|
|
587
587
|
}
|
|
588
|
-
e.ref !== null && (
|
|
588
|
+
e.ref !== null && (se(e), _("Invalid attribute `ref` supplied to `React.Fragment`."), se(null));
|
|
589
589
|
}
|
|
590
590
|
}
|
|
591
|
-
var
|
|
592
|
-
function
|
|
591
|
+
var ot = {};
|
|
592
|
+
function st(e, r, n, i, x, C) {
|
|
593
593
|
{
|
|
594
|
-
var h =
|
|
594
|
+
var h = W(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 d = "";
|
|
597
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (d += " 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 P = kt(x);
|
|
599
|
+
P ? d += P : d += nt();
|
|
600
600
|
var S;
|
|
601
|
-
e === null ? S = "null" :
|
|
601
|
+
e === null ? S = "null" : B(e) ? S = "array" : e !== void 0 && e.$$typeof === o ? (S = "<" + (I(e.type) || "Unknown") + " />", d = " 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, d);
|
|
602
602
|
}
|
|
603
603
|
var T = Tt(e, r, n, x, C);
|
|
604
604
|
if (T == null)
|
|
@@ -607,58 +607,58 @@ Check the top-level render call using <` + n + ">.");
|
|
|
607
607
|
var $ = r.children;
|
|
608
608
|
if ($ !== void 0)
|
|
609
609
|
if (i)
|
|
610
|
-
if (
|
|
611
|
-
for (var
|
|
612
|
-
|
|
610
|
+
if (B($)) {
|
|
611
|
+
for (var ue = 0; ue < $.length; ue++)
|
|
612
|
+
it($[ue], 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
|
+
it($, e);
|
|
618
618
|
}
|
|
619
|
-
if (
|
|
620
|
-
var
|
|
619
|
+
if (J.call(r, "key")) {
|
|
620
|
+
var Q = I(e), L = Object.keys(r).filter(function($t) {
|
|
621
621
|
return $t !== "key";
|
|
622
|
-
}),
|
|
623
|
-
if (!
|
|
624
|
-
var Ht =
|
|
622
|
+
}), Ne = L.length > 0 ? "{key: someKey, " + L.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
623
|
+
if (!ot[Q + Ne]) {
|
|
624
|
+
var Ht = 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} />`, Ne, Q, Ht, Q), ot[Q + Ne] = !0;
|
|
631
631
|
}
|
|
632
632
|
}
|
|
633
|
-
return e ===
|
|
633
|
+
return e === f ? Pt(T) : Ot(T), T;
|
|
634
634
|
}
|
|
635
635
|
}
|
|
636
636
|
function Lt(e, r, n) {
|
|
637
|
-
return
|
|
637
|
+
return st(e, r, n, !0);
|
|
638
638
|
}
|
|
639
639
|
function It(e, r, n) {
|
|
640
|
-
return
|
|
640
|
+
return st(e, r, n, !1);
|
|
641
641
|
}
|
|
642
642
|
var At = It, Ft = Lt;
|
|
643
|
-
ye.Fragment =
|
|
643
|
+
ye.Fragment = f, ye.jsx = At, ye.jsxs = Ft;
|
|
644
644
|
}()), ye;
|
|
645
645
|
}
|
|
646
|
-
process.env.NODE_ENV === "production" ?
|
|
647
|
-
var t =
|
|
648
|
-
const
|
|
646
|
+
process.env.NODE_ENV === "production" ? Ze.exports = ur() : Ze.exports = cr();
|
|
647
|
+
var t = Ze.exports;
|
|
648
|
+
const ze = 60, ht = 6, fr = (l) => {
|
|
649
649
|
const {
|
|
650
650
|
activeStepIndex: o,
|
|
651
651
|
hideIndicators: p = !1,
|
|
652
|
-
steps:
|
|
652
|
+
steps: f,
|
|
653
653
|
stepperTheme: w = {
|
|
654
654
|
light: "eggplant.light",
|
|
655
655
|
base: "eggplant.base"
|
|
656
656
|
}
|
|
657
657
|
} = l, { activeStep: g, setActiveStep: m } = Wt({
|
|
658
658
|
index: o,
|
|
659
|
-
count:
|
|
659
|
+
count: f.length
|
|
660
660
|
});
|
|
661
|
-
return
|
|
661
|
+
return K(() => {
|
|
662
662
|
m(o);
|
|
663
663
|
}, [o, m]), /* @__PURE__ */ t.jsx(
|
|
664
664
|
y,
|
|
@@ -670,11 +670,11 @@ const Ye = 60, pt = 6, dr = (l) => {
|
|
|
670
670
|
width: "100%",
|
|
671
671
|
display: "flex",
|
|
672
672
|
flexWrap: "nowrap",
|
|
673
|
-
children:
|
|
674
|
-
const b = g === c, s = c === 0, j = c ===
|
|
675
|
-
let u = `${
|
|
676
|
-
const O = `calc(100% - ((${
|
|
677
|
-
return b ? u = O : (s || j) && (u = `${
|
|
673
|
+
children: f.map((R, c) => {
|
|
674
|
+
const b = g === c, s = c === 0, j = c === f.length - 1, v = g > c;
|
|
675
|
+
let u = `${ze}px`;
|
|
676
|
+
const O = `calc(100% - ((${ze * (f.length - 1)}px) - (${f.length - 1} * ${ht * 2}px)))`;
|
|
677
|
+
return b ? u = O : (s || j) && (u = `${ze - ht}px`), /* @__PURE__ */ t.jsx(
|
|
678
678
|
y,
|
|
679
679
|
{
|
|
680
680
|
width: u,
|
|
@@ -709,7 +709,7 @@ const Ye = 60, pt = 6, dr = (l) => {
|
|
|
709
709
|
}
|
|
710
710
|
) }
|
|
711
711
|
);
|
|
712
|
-
}, _r =
|
|
712
|
+
}, _r = Xe.memo(fr), Sr = ({
|
|
713
713
|
children: l,
|
|
714
714
|
...o
|
|
715
715
|
}) => /* @__PURE__ */ t.jsx(
|
|
@@ -722,16 +722,16 @@ const Ye = 60, pt = 6, dr = (l) => {
|
|
|
722
722
|
} : {
|
|
723
723
|
href: l
|
|
724
724
|
};
|
|
725
|
-
},
|
|
725
|
+
}, Ue = bt(
|
|
726
726
|
(l, o) => {
|
|
727
727
|
const {
|
|
728
728
|
label: p,
|
|
729
|
-
additionalContent:
|
|
729
|
+
additionalContent: f,
|
|
730
730
|
mainTextFontSize: w,
|
|
731
731
|
linkComponent: g,
|
|
732
732
|
href: m,
|
|
733
733
|
...R
|
|
734
|
-
} = l, c = g ||
|
|
734
|
+
} = l, c = g || G, b = Le(m, !!g);
|
|
735
735
|
return /* @__PURE__ */ t.jsxs(
|
|
736
736
|
y,
|
|
737
737
|
{
|
|
@@ -752,10 +752,10 @@ const Ye = 60, pt = 6, dr = (l) => {
|
|
|
752
752
|
...R,
|
|
753
753
|
children: [
|
|
754
754
|
/* @__PURE__ */ t.jsx(
|
|
755
|
-
|
|
755
|
+
ce,
|
|
756
756
|
{
|
|
757
757
|
display: ["none", null, null, "block"],
|
|
758
|
-
as:
|
|
758
|
+
as: ct,
|
|
759
759
|
fontSize: "lg",
|
|
760
760
|
color: "viridian.light",
|
|
761
761
|
role: "img",
|
|
@@ -767,15 +767,15 @@ const Ye = 60, pt = 6, dr = (l) => {
|
|
|
767
767
|
D,
|
|
768
768
|
{ alignItems: "center", gap: "1", width: ["100%", null, null, "auto"], children: [
|
|
769
769
|
/* @__PURE__ */ t.jsx(
|
|
770
|
-
|
|
770
|
+
X,
|
|
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
|
+
f && (typeof f == "string" ? /* @__PURE__ */ t.jsx(
|
|
778
|
+
X,
|
|
779
779
|
{
|
|
780
780
|
fontSize: ["xl", null, null, "lg"],
|
|
781
781
|
fontWeight: "medium",
|
|
@@ -785,14 +785,14 @@ const Ye = 60, pt = 6, dr = (l) => {
|
|
|
785
785
|
color: "viridian.base"
|
|
786
786
|
}
|
|
787
787
|
},
|
|
788
|
-
children:
|
|
788
|
+
children: f
|
|
789
789
|
}
|
|
790
|
-
) :
|
|
790
|
+
) : f),
|
|
791
791
|
/* @__PURE__ */ t.jsx(
|
|
792
|
-
|
|
792
|
+
ce,
|
|
793
793
|
{
|
|
794
794
|
display: ["block", null, null, "none"],
|
|
795
|
-
as:
|
|
795
|
+
as: ct,
|
|
796
796
|
fontSize: "2xl",
|
|
797
797
|
color: "tints.uiGrey",
|
|
798
798
|
role: "img",
|
|
@@ -806,11 +806,11 @@ const Ye = 60, pt = 6, dr = (l) => {
|
|
|
806
806
|
}
|
|
807
807
|
);
|
|
808
808
|
}
|
|
809
|
-
), Pe =
|
|
809
|
+
), Pe = bt(
|
|
810
810
|
(l, o) => {
|
|
811
|
-
const { children: p, isSelected:
|
|
811
|
+
const { children: p, isSelected: f, ...w } = l, g = l.backgroundColor || (f ? "tints.lightCream" : "transparent");
|
|
812
812
|
return /* @__PURE__ */ t.jsx(
|
|
813
|
-
|
|
813
|
+
xt,
|
|
814
814
|
{
|
|
815
815
|
ref: o,
|
|
816
816
|
borderRadius: "full",
|
|
@@ -841,18 +841,18 @@ const Ye = 60, pt = 6, dr = (l) => {
|
|
|
841
841
|
}
|
|
842
842
|
);
|
|
843
843
|
}
|
|
844
|
-
),
|
|
844
|
+
), dr = ({
|
|
845
845
|
title: l,
|
|
846
846
|
description: o,
|
|
847
847
|
imageSrc: p,
|
|
848
|
-
imageElement:
|
|
848
|
+
imageElement: f,
|
|
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", s = "200px", j = "272px", v = c ||
|
|
855
|
+
const b = "80px", s = "200px", j = "272px", v = c || G, u = Le(R, !!c), O = Je({
|
|
856
856
|
base: !1,
|
|
857
857
|
tablet: !1,
|
|
858
858
|
largeTablet: !1,
|
|
@@ -904,7 +904,7 @@ const Ye = 60, pt = 6, dr = (l) => {
|
|
|
904
904
|
{
|
|
905
905
|
height: [b, null, null, s],
|
|
906
906
|
overflow: "hidden",
|
|
907
|
-
children:
|
|
907
|
+
children: f
|
|
908
908
|
}
|
|
909
909
|
)
|
|
910
910
|
}
|
|
@@ -927,11 +927,11 @@ const Ye = 60, pt = 6, dr = (l) => {
|
|
|
927
927
|
y,
|
|
928
928
|
{ children: [
|
|
929
929
|
/* @__PURE__ */ t.jsx(
|
|
930
|
-
|
|
930
|
+
X,
|
|
931
931
|
{ fontSize: "lg", fontWeight: "medium", color: "tints.black", children: l }
|
|
932
932
|
),
|
|
933
933
|
/* @__PURE__ */ t.jsx(
|
|
934
|
-
|
|
934
|
+
X,
|
|
935
935
|
{ fontSize: "sm", color: "tints.black", children: o }
|
|
936
936
|
)
|
|
937
937
|
] }
|
|
@@ -943,7 +943,7 @@ const Ye = 60, pt = 6, dr = (l) => {
|
|
|
943
943
|
]
|
|
944
944
|
}
|
|
945
945
|
);
|
|
946
|
-
},
|
|
946
|
+
}, fe = (l) => /* @__PURE__ */ t.jsx(
|
|
947
947
|
Vt,
|
|
948
948
|
{
|
|
949
949
|
size: "sm",
|
|
@@ -992,7 +992,7 @@ const Ye = 60, pt = 6, dr = (l) => {
|
|
|
992
992
|
desktopTopButtons: l,
|
|
993
993
|
kitRegistrationElement: o,
|
|
994
994
|
profileElement: p,
|
|
995
|
-
cartElement:
|
|
995
|
+
cartElement: f,
|
|
996
996
|
onSearchClick: w,
|
|
997
997
|
onMenuClick: g,
|
|
998
998
|
hasSearch: m = !1,
|
|
@@ -1001,13 +1001,13 @@ const Ye = 60, pt = 6, dr = (l) => {
|
|
|
1001
1001
|
linkComponent: b,
|
|
1002
1002
|
onLogoClick: s
|
|
1003
1003
|
}) => {
|
|
1004
|
-
const j = Jt(null), v =
|
|
1004
|
+
const j = Jt(null), v = mt(() => {
|
|
1005
1005
|
if (j.current) {
|
|
1006
1006
|
const u = j.current.getBoundingClientRect();
|
|
1007
1007
|
c(u.bottom);
|
|
1008
1008
|
}
|
|
1009
1009
|
}, []);
|
|
1010
|
-
return
|
|
1010
|
+
return K(() => {
|
|
1011
1011
|
v();
|
|
1012
1012
|
}, [v]), /* @__PURE__ */ t.jsx(
|
|
1013
1013
|
y,
|
|
@@ -1034,7 +1034,7 @@ const Ye = 60, pt = 6, dr = (l) => {
|
|
|
1034
1034
|
{
|
|
1035
1035
|
"aria-label": "Go to homepage",
|
|
1036
1036
|
onClick: s,
|
|
1037
|
-
as: b ||
|
|
1037
|
+
as: b || G,
|
|
1038
1038
|
...Le(R, !!b),
|
|
1039
1039
|
children: /* @__PURE__ */ t.jsx(pr, {})
|
|
1040
1040
|
}
|
|
@@ -1053,18 +1053,18 @@ const Ye = 60, pt = 6, dr = (l) => {
|
|
|
1053
1053
|
{ display: ["none", null, null, "block"], children: o }
|
|
1054
1054
|
),
|
|
1055
1055
|
m ? /* @__PURE__ */ t.jsx(
|
|
1056
|
-
|
|
1056
|
+
fe,
|
|
1057
1057
|
{
|
|
1058
1058
|
"aria-label": "Search",
|
|
1059
|
-
icon: /* @__PURE__ */ t.jsx(
|
|
1059
|
+
icon: /* @__PURE__ */ t.jsx(ce, { as: jt }),
|
|
1060
1060
|
onClick: w
|
|
1061
1061
|
}
|
|
1062
1062
|
) : null,
|
|
1063
|
-
|
|
1063
|
+
f,
|
|
1064
1064
|
/* @__PURE__ */ t.jsx(
|
|
1065
1065
|
y,
|
|
1066
1066
|
{ display: ["flex", null, null, "none"], children: /* @__PURE__ */ t.jsx(
|
|
1067
|
-
|
|
1067
|
+
fe,
|
|
1068
1068
|
{
|
|
1069
1069
|
icon: /* @__PURE__ */ t.jsx(nr, {}),
|
|
1070
1070
|
"aria-label": "menu",
|
|
@@ -1086,7 +1086,7 @@ const Ye = 60, pt = 6, dr = (l) => {
|
|
|
1086
1086
|
}) => /* @__PURE__ */ t.jsxs(
|
|
1087
1087
|
y,
|
|
1088
1088
|
{ position: "relative", display: "inline-block", children: [
|
|
1089
|
-
/* @__PURE__ */ t.jsx(
|
|
1089
|
+
/* @__PURE__ */ t.jsx(fe, { icon: /* @__PURE__ */ t.jsx(lr, {}), ...o }),
|
|
1090
1090
|
l > 0 && /* @__PURE__ */ t.jsx(
|
|
1091
1091
|
y,
|
|
1092
1092
|
{
|
|
@@ -1124,9 +1124,9 @@ const Ye = 60, pt = 6, dr = (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(Ye, { w: "120px", h: "48px" }),
|
|
1128
1128
|
/* @__PURE__ */ t.jsxs(
|
|
1129
|
-
|
|
1129
|
+
ut,
|
|
1130
1130
|
{
|
|
1131
1131
|
spacing: 8,
|
|
1132
1132
|
marginLeft: 12,
|
|
@@ -1134,14 +1134,14 @@ const Ye = 60, pt = 6, dr = (l) => {
|
|
|
1134
1134
|
"data-testid": "desktop-nav",
|
|
1135
1135
|
children: [
|
|
1136
1136
|
Array.from({ length: l }).map(
|
|
1137
|
-
(p,
|
|
1137
|
+
(p, f) => /* @__PURE__ */ t.jsx(Ye, { width: "90px", height: "48px" }, f)
|
|
1138
1138
|
),
|
|
1139
|
-
o && /* @__PURE__ */ t.jsx(
|
|
1139
|
+
o && /* @__PURE__ */ t.jsx(Ye, { width: "110px", height: "48px", borderRadius: "full" })
|
|
1140
1140
|
]
|
|
1141
1141
|
}
|
|
1142
1142
|
),
|
|
1143
1143
|
/* @__PURE__ */ t.jsxs(
|
|
1144
|
-
|
|
1144
|
+
ut,
|
|
1145
1145
|
{ spacing: 4, ml: "auto", children: [
|
|
1146
1146
|
/* @__PURE__ */ t.jsx(
|
|
1147
1147
|
Oe,
|
|
@@ -1167,24 +1167,24 @@ const Ye = 60, pt = 6, dr = (l) => {
|
|
|
1167
1167
|
) }
|
|
1168
1168
|
), gr = (l, o) => {
|
|
1169
1169
|
let p;
|
|
1170
|
-
return (...
|
|
1170
|
+
return (...f) => {
|
|
1171
1171
|
p && clearTimeout(p), p = setTimeout(() => {
|
|
1172
|
-
l(...
|
|
1172
|
+
l(...f);
|
|
1173
1173
|
}, o);
|
|
1174
1174
|
};
|
|
1175
|
-
},
|
|
1175
|
+
}, Ke = "nav-drawer-hover", vt = (l) => {
|
|
1176
1176
|
window.dispatchEvent(
|
|
1177
|
-
new CustomEvent(
|
|
1177
|
+
new CustomEvent(Ke, {
|
|
1178
1178
|
detail: { isHovering: l },
|
|
1179
1179
|
bubbles: !0,
|
|
1180
1180
|
cancelable: !0
|
|
1181
1181
|
})
|
|
1182
1182
|
);
|
|
1183
|
-
}, xr = (l = !1, o = !1, p = !1) => l || !o ? "column" : p ? "row" : "row-reverse", br =
|
|
1183
|
+
}, xr = (l = !1, o = !1, p = !1) => l || !o ? "column" : p ? "row" : "row-reverse", br = qe(Yt), mr = qe(zt), Ge = ({
|
|
1184
1184
|
isOpen: l = !1,
|
|
1185
1185
|
onClose: o,
|
|
1186
1186
|
title: p,
|
|
1187
|
-
navDrawerLinks:
|
|
1187
|
+
navDrawerLinks: f,
|
|
1188
1188
|
bottomNavButtons: w,
|
|
1189
1189
|
spotlightCards: g,
|
|
1190
1190
|
bottomButton: m,
|
|
@@ -1195,23 +1195,23 @@ const Ye = 60, pt = 6, dr = (l) => {
|
|
|
1195
1195
|
onSearch: j = () => ({}),
|
|
1196
1196
|
topOffset: v
|
|
1197
1197
|
}) => {
|
|
1198
|
-
const u =
|
|
1198
|
+
const u = Je({
|
|
1199
1199
|
base: !1,
|
|
1200
1200
|
tablet: !1,
|
|
1201
1201
|
largeTablet: !1,
|
|
1202
1202
|
desktop: !0
|
|
1203
|
-
}), O = u ? "top" : "left", [
|
|
1204
|
-
|
|
1205
|
-
},
|
|
1203
|
+
}), O = u ? "top" : "left", [N, ee] = V(0), [F, _] = V(!1), de = () => {
|
|
1204
|
+
ee((H) => H + 1);
|
|
1205
|
+
}, pe = mt(
|
|
1206
1206
|
gr((H) => {
|
|
1207
|
-
j(H),
|
|
1207
|
+
j(H), de();
|
|
1208
1208
|
}, 100),
|
|
1209
1209
|
[]
|
|
1210
1210
|
);
|
|
1211
|
-
|
|
1211
|
+
K(() => {
|
|
1212
1212
|
l && _(!0);
|
|
1213
1213
|
}, [l]);
|
|
1214
|
-
const
|
|
1214
|
+
const he = () => {
|
|
1215
1215
|
l || (_(!1), o());
|
|
1216
1216
|
};
|
|
1217
1217
|
return /* @__PURE__ */ t.jsx(
|
|
@@ -1251,14 +1251,14 @@ const Ye = 60, pt = 6, dr = (l) => {
|
|
|
1251
1251
|
br,
|
|
1252
1252
|
{
|
|
1253
1253
|
onClick: (H) => {
|
|
1254
|
-
const
|
|
1255
|
-
|
|
1254
|
+
const Y = H.target.closest("a");
|
|
1255
|
+
Y && Y.href === window.location.href && o();
|
|
1256
1256
|
},
|
|
1257
1257
|
onMouseEnter: () => {
|
|
1258
|
-
u &&
|
|
1258
|
+
u && vt(!0);
|
|
1259
1259
|
},
|
|
1260
1260
|
onMouseLeave: () => {
|
|
1261
|
-
u &&
|
|
1261
|
+
u && vt(!1);
|
|
1262
1262
|
},
|
|
1263
1263
|
paddingTop: "4",
|
|
1264
1264
|
paddingX: [4, null, null, 12],
|
|
@@ -1267,7 +1267,7 @@ const Ye = 60, pt = 6, dr = (l) => {
|
|
|
1267
1267
|
maxHeight: "100vh",
|
|
1268
1268
|
position: "relative",
|
|
1269
1269
|
top: u ? `${v}px !important` : void 0,
|
|
1270
|
-
onAnimationComplete:
|
|
1270
|
+
onAnimationComplete: he,
|
|
1271
1271
|
...u ? {
|
|
1272
1272
|
initial: { height: 0, opacity: 0 },
|
|
1273
1273
|
animate: { height: "auto", opacity: 1 },
|
|
@@ -1290,7 +1290,7 @@ const Ye = 60, pt = 6, dr = (l) => {
|
|
|
1290
1290
|
alignItems: "center",
|
|
1291
1291
|
children: [
|
|
1292
1292
|
R ? /* @__PURE__ */ t.jsx(
|
|
1293
|
-
|
|
1293
|
+
fe,
|
|
1294
1294
|
{
|
|
1295
1295
|
icon: /* @__PURE__ */ t.jsx(ar, {}),
|
|
1296
1296
|
onClick: () => {
|
|
@@ -1300,7 +1300,7 @@ const Ye = 60, pt = 6, dr = (l) => {
|
|
|
1300
1300
|
}
|
|
1301
1301
|
) : null,
|
|
1302
1302
|
/* @__PURE__ */ t.jsx(
|
|
1303
|
-
|
|
1303
|
+
X,
|
|
1304
1304
|
{
|
|
1305
1305
|
color: "tints.uiGrey",
|
|
1306
1306
|
fontSize: ["xl", null, null, "lg"],
|
|
@@ -1308,7 +1308,7 @@ const Ye = 60, pt = 6, dr = (l) => {
|
|
|
1308
1308
|
}
|
|
1309
1309
|
),
|
|
1310
1310
|
/* @__PURE__ */ t.jsx(
|
|
1311
|
-
|
|
1311
|
+
fe,
|
|
1312
1312
|
{
|
|
1313
1313
|
icon: /* @__PURE__ */ t.jsx(ir, {}),
|
|
1314
1314
|
onClick: o,
|
|
@@ -1325,7 +1325,7 @@ const Ye = 60, pt = 6, dr = (l) => {
|
|
|
1325
1325
|
er,
|
|
1326
1326
|
{
|
|
1327
1327
|
onChange: (H) => {
|
|
1328
|
-
|
|
1328
|
+
pe(H.target.value);
|
|
1329
1329
|
},
|
|
1330
1330
|
placeholder: "Search",
|
|
1331
1331
|
autoFocus: !0,
|
|
@@ -1349,7 +1349,7 @@ const Ye = 60, pt = 6, dr = (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
|
+
qe.div,
|
|
1353
1353
|
{
|
|
1354
1354
|
...u ? {
|
|
1355
1355
|
initial: { opacity: 0, y: -5 },
|
|
@@ -1401,7 +1401,7 @@ const Ye = 60, pt = 6, dr = (l) => {
|
|
|
1401
1401
|
gap: "6",
|
|
1402
1402
|
width: ["100%", null, null, s ? null : "auto"],
|
|
1403
1403
|
children: [
|
|
1404
|
-
|
|
1404
|
+
f ? /* @__PURE__ */ t.jsx(y, { children: f }) : 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 Ye = 60, pt = 6, dr = (l) => {
|
|
|
1417
1417
|
)
|
|
1418
1418
|
]
|
|
1419
1419
|
},
|
|
1420
|
-
|
|
1420
|
+
N
|
|
1421
1421
|
)
|
|
1422
1422
|
}
|
|
1423
1423
|
)
|
|
@@ -1429,11 +1429,11 @@ const Ye = 60, pt = 6, dr = (l) => {
|
|
|
1429
1429
|
)
|
|
1430
1430
|
}
|
|
1431
1431
|
);
|
|
1432
|
-
},
|
|
1432
|
+
}, gt = (l) => {
|
|
1433
1433
|
const o = /* @__PURE__ */ new Set();
|
|
1434
|
-
return l.reduce((p,
|
|
1434
|
+
return l.reduce((p, f) => {
|
|
1435
1435
|
var g;
|
|
1436
|
-
const w = ((g =
|
|
1436
|
+
const w = ((g = f.sections) == null ? void 0 : g.reduce((m, R) => {
|
|
1437
1437
|
const c = R.links.filter((b) => o.has(b.label) || b.isSearchable !== !0 ? !1 : (o.add(b.label), !0));
|
|
1438
1438
|
return [...m, ...c];
|
|
1439
1439
|
}, [])) ?? [];
|
|
@@ -1444,13 +1444,13 @@ const Ye = 60, pt = 6, dr = (l) => {
|
|
|
1444
1444
|
onSearchCallback: o,
|
|
1445
1445
|
isActive: p
|
|
1446
1446
|
}) => {
|
|
1447
|
-
const [
|
|
1447
|
+
const [f, w] = V(""), [g, m] = V([]), R = (s, j) => {
|
|
1448
1448
|
if (!s)
|
|
1449
1449
|
return [];
|
|
1450
1450
|
const v = s.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), N = typeof u.additionalContent == "string" && u.additionalContent.toLowerCase().includes(v);
|
|
1453
|
+
return O || N;
|
|
1454
1454
|
}).sort((u, O) => u.label.localeCompare(O.label));
|
|
1455
1455
|
}, c = (s) => {
|
|
1456
1456
|
if (w(s), !s) {
|
|
@@ -1462,10 +1462,10 @@ const Ye = 60, pt = 6, dr = (l) => {
|
|
|
1462
1462
|
}, b = () => {
|
|
1463
1463
|
w(""), m([]);
|
|
1464
1464
|
};
|
|
1465
|
-
return
|
|
1465
|
+
return K(() => {
|
|
1466
1466
|
p || (w(""), m([]));
|
|
1467
1467
|
}, [p]), {
|
|
1468
|
-
query:
|
|
1468
|
+
query: f,
|
|
1469
1469
|
results: g,
|
|
1470
1470
|
handleClose: b,
|
|
1471
1471
|
handleSearch: c
|
|
@@ -1474,7 +1474,7 @@ const Ye = 60, pt = 6, dr = (l) => {
|
|
|
1474
1474
|
categories: l = [],
|
|
1475
1475
|
onCartClick: o,
|
|
1476
1476
|
mainCategoryLabel: p = "Menu",
|
|
1477
|
-
logoLink:
|
|
1477
|
+
logoLink: f = "https://www.everlywell.com",
|
|
1478
1478
|
hasSearch: w = !0,
|
|
1479
1479
|
onSearchClick: g,
|
|
1480
1480
|
registrationUrl: m,
|
|
@@ -1486,40 +1486,49 @@ const Ye = 60, pt = 6, dr = (l) => {
|
|
|
1486
1486
|
onLinkClick: v,
|
|
1487
1487
|
onCategoryOpen: u,
|
|
1488
1488
|
onMobileMenuOpen: O,
|
|
1489
|
-
onBackToMainMenu:
|
|
1490
|
-
onRegisterKitClick:
|
|
1489
|
+
onBackToMainMenu: N,
|
|
1490
|
+
onRegisterKitClick: ee,
|
|
1491
1491
|
onProfileClick: F,
|
|
1492
1492
|
onLogoClick: _,
|
|
1493
|
-
shopAllProductsUrl:
|
|
1494
|
-
onShopAllProductsClick:
|
|
1493
|
+
shopAllProductsUrl: de,
|
|
1494
|
+
onShopAllProductsClick: pe
|
|
1495
1495
|
}) => {
|
|
1496
|
-
var
|
|
1497
|
-
const [
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1496
|
+
var me, je, q;
|
|
1497
|
+
const [he, H] = V(!1), [te, Y] = V(!1), [E, W] = V(null), [Ee, ve] = V(!1), [I, z] = V(!1), [U, Re] = V(0), _e = Je({
|
|
1498
|
+
base: !1,
|
|
1499
|
+
tablet: !1,
|
|
1500
|
+
largeTablet: !1,
|
|
1501
|
+
desktop: !0
|
|
1502
|
+
}) ?? !1;
|
|
1503
|
+
K(() => {
|
|
1504
|
+
le(), W(null);
|
|
1505
|
+
}, [_e]);
|
|
1506
|
+
const {
|
|
1507
|
+
query: Se,
|
|
1508
|
+
results: re,
|
|
1509
|
+
handleSearch: Te
|
|
1501
1510
|
} = jr({
|
|
1502
|
-
source:
|
|
1511
|
+
source: gt(l),
|
|
1503
1512
|
onSearchCallback: j,
|
|
1504
|
-
isActive:
|
|
1505
|
-
}),
|
|
1513
|
+
isActive: te
|
|
1514
|
+
}), ge = re.length > 0, ne = s || G, ke = Le(de, !!s), Ie = Se && /* @__PURE__ */ t.jsxs(
|
|
1506
1515
|
D,
|
|
1507
|
-
{ gap:
|
|
1508
|
-
|
|
1516
|
+
{ gap: ge ? "6" : 0, direction: "column", children: [
|
|
1517
|
+
ge ? /* @__PURE__ */ t.jsx(X, { color: "tints.uiGrey", children: `${re.length} Results` }) : /* @__PURE__ */ t.jsxs(
|
|
1509
1518
|
D,
|
|
1510
1519
|
{ direction: "column", gap: "6", alignItems: "flex-start", children: [
|
|
1511
1520
|
/* @__PURE__ */ t.jsx(
|
|
1512
|
-
|
|
1521
|
+
X,
|
|
1513
1522
|
{ color: "tints.uiGrey", children: "We didn't find what you were looking for." }
|
|
1514
1523
|
),
|
|
1515
1524
|
/* @__PURE__ */ t.jsx(
|
|
1516
|
-
|
|
1525
|
+
xt,
|
|
1517
1526
|
{
|
|
1518
|
-
as:
|
|
1519
|
-
onClick:
|
|
1527
|
+
as: ne,
|
|
1528
|
+
onClick: pe,
|
|
1520
1529
|
_hover: { textDecoration: "none" },
|
|
1521
1530
|
width: ["100%", null, null, "auto"],
|
|
1522
|
-
...
|
|
1531
|
+
...ke,
|
|
1523
1532
|
children: "Shop all products"
|
|
1524
1533
|
}
|
|
1525
1534
|
)
|
|
@@ -1527,11 +1536,11 @@ const Ye = 60, pt = 6, dr = (l) => {
|
|
|
1527
1536
|
),
|
|
1528
1537
|
/* @__PURE__ */ t.jsx(
|
|
1529
1538
|
Kt,
|
|
1530
|
-
{ columns: [1, 1, 1, 4], children:
|
|
1539
|
+
{ columns: [1, 1, 1, 4], children: re.map(
|
|
1531
1540
|
(a, k) => /* @__PURE__ */ t.jsx(
|
|
1532
1541
|
Xt,
|
|
1533
1542
|
{ children: /* @__PURE__ */ t.jsx(
|
|
1534
|
-
|
|
1543
|
+
Ue,
|
|
1535
1544
|
{
|
|
1536
1545
|
href: a.href,
|
|
1537
1546
|
label: a.label,
|
|
@@ -1544,74 +1553,74 @@ const Ye = 60, pt = 6, dr = (l) => {
|
|
|
1544
1553
|
) }
|
|
1545
1554
|
)
|
|
1546
1555
|
] }
|
|
1547
|
-
),
|
|
1548
|
-
H(!1),
|
|
1549
|
-
},
|
|
1550
|
-
|
|
1551
|
-
},
|
|
1552
|
-
|
|
1553
|
-
},
|
|
1554
|
-
|
|
1556
|
+
), le = () => {
|
|
1557
|
+
H(!1), W(null);
|
|
1558
|
+
}, M = (a) => "href" in a, xe = (a) => {
|
|
1559
|
+
M(a) ? v == null || v(a.label) : W(a);
|
|
1560
|
+
}, ae = (a) => {
|
|
1561
|
+
ve(!0), Y(!1), W(null), !M(a) && (a.sections || a.spotlightCards) && W(a);
|
|
1562
|
+
}, be = () => {
|
|
1563
|
+
ve(!1);
|
|
1555
1564
|
};
|
|
1556
|
-
|
|
1565
|
+
K(() => {
|
|
1557
1566
|
const a = (k) => {
|
|
1558
|
-
|
|
1567
|
+
z(k.detail.isHovering);
|
|
1559
1568
|
};
|
|
1560
1569
|
return window.addEventListener(
|
|
1561
|
-
|
|
1570
|
+
Ke,
|
|
1562
1571
|
a
|
|
1563
1572
|
), () => {
|
|
1564
1573
|
window.removeEventListener(
|
|
1565
|
-
|
|
1574
|
+
Ke,
|
|
1566
1575
|
a
|
|
1567
1576
|
);
|
|
1568
1577
|
};
|
|
1569
|
-
}, []),
|
|
1570
|
-
!Ee && !
|
|
1571
|
-
}, [Ee,
|
|
1578
|
+
}, []), K(() => {
|
|
1579
|
+
!Ee && !I && (W(null), Y(!1));
|
|
1580
|
+
}, [Ee, I]), K(() => {
|
|
1572
1581
|
let a = window.location.href;
|
|
1573
1582
|
const k = () => {
|
|
1574
|
-
const
|
|
1575
|
-
|
|
1576
|
-
},
|
|
1583
|
+
const A = window.location.href;
|
|
1584
|
+
A !== a && (a = A, le(), W(null));
|
|
1585
|
+
}, B = setInterval(k, 100);
|
|
1577
1586
|
return window.addEventListener("popstate", k), () => {
|
|
1578
|
-
window.removeEventListener("popstate", k), clearInterval(
|
|
1587
|
+
window.removeEventListener("popstate", k), clearInterval(B);
|
|
1579
1588
|
};
|
|
1580
1589
|
}, []);
|
|
1581
|
-
const
|
|
1582
|
-
|
|
1583
|
-
},
|
|
1590
|
+
const ie = () => {
|
|
1591
|
+
W(null), N == null || N();
|
|
1592
|
+
}, Ae = /* @__PURE__ */ t.jsx(
|
|
1584
1593
|
t.Fragment,
|
|
1585
1594
|
{ children: l == null ? void 0 : l.map(
|
|
1586
1595
|
(a, k) => /* @__PURE__ */ t.jsx(
|
|
1587
1596
|
Pe,
|
|
1588
1597
|
{
|
|
1589
1598
|
onMouseEnter: () => {
|
|
1590
|
-
|
|
1599
|
+
ae(a), u == null || u(a.label);
|
|
1591
1600
|
},
|
|
1592
|
-
onMouseLeave:
|
|
1601
|
+
onMouseLeave: be,
|
|
1593
1602
|
isSelected: (E == null ? void 0 : E.label) === a.label,
|
|
1594
|
-
as:
|
|
1595
|
-
href:
|
|
1596
|
-
onClick:
|
|
1603
|
+
as: M(a) && ne ? ne : G,
|
|
1604
|
+
href: M(a) ? a.href : void 0,
|
|
1605
|
+
onClick: M(a) ? () => v == null ? void 0 : v(a.label) : void 0,
|
|
1597
1606
|
...a.buttonProps,
|
|
1598
1607
|
children: a.label
|
|
1599
1608
|
},
|
|
1600
1609
|
`${a.label}-${k}`
|
|
1601
1610
|
)
|
|
1602
1611
|
) }
|
|
1603
|
-
),
|
|
1604
|
-
(a) => !
|
|
1605
|
-
)) == null ? void 0 :
|
|
1612
|
+
), De = (me = l.filter(
|
|
1613
|
+
(a) => !M(a) && a.isMobileTopLink !== !1
|
|
1614
|
+
)) == null ? void 0 : me.map((a) => {
|
|
1606
1615
|
const k = a;
|
|
1607
1616
|
return /* @__PURE__ */ t.jsx(
|
|
1608
1617
|
y,
|
|
1609
1618
|
{
|
|
1610
1619
|
onClick: () => {
|
|
1611
|
-
|
|
1620
|
+
xe(k), u == null || u(k.label);
|
|
1612
1621
|
},
|
|
1613
1622
|
children: /* @__PURE__ */ t.jsx(
|
|
1614
|
-
|
|
1623
|
+
Ue,
|
|
1615
1624
|
{
|
|
1616
1625
|
label: k.label,
|
|
1617
1626
|
role: "link",
|
|
@@ -1624,14 +1633,14 @@ const Ye = 60, pt = 6, dr = (l) => {
|
|
|
1624
1633
|
k.label
|
|
1625
1634
|
);
|
|
1626
1635
|
});
|
|
1627
|
-
|
|
1628
|
-
const
|
|
1636
|
+
gt(l);
|
|
1637
|
+
const Fe = /* @__PURE__ */ t.jsxs(
|
|
1629
1638
|
t.Fragment,
|
|
1630
1639
|
{ children: [
|
|
1631
1640
|
/* @__PURE__ */ t.jsx(
|
|
1632
1641
|
Pe,
|
|
1633
1642
|
{
|
|
1634
|
-
as:
|
|
1643
|
+
as: G,
|
|
1635
1644
|
href: R,
|
|
1636
1645
|
width: "100%",
|
|
1637
1646
|
backgroundColor: "tints.cream",
|
|
@@ -1640,7 +1649,7 @@ const Ye = 60, pt = 6, dr = (l) => {
|
|
|
1640
1649
|
D,
|
|
1641
1650
|
{ gap: "2", children: [
|
|
1642
1651
|
"My Everly",
|
|
1643
|
-
/* @__PURE__ */ t.jsx(
|
|
1652
|
+
/* @__PURE__ */ t.jsx(ce, { as: ft, size: 24 })
|
|
1644
1653
|
] }
|
|
1645
1654
|
)
|
|
1646
1655
|
},
|
|
@@ -1649,39 +1658,39 @@ const Ye = 60, pt = 6, dr = (l) => {
|
|
|
1649
1658
|
/* @__PURE__ */ t.jsx(
|
|
1650
1659
|
Pe,
|
|
1651
1660
|
{
|
|
1652
|
-
as:
|
|
1661
|
+
as: G,
|
|
1653
1662
|
width: "100%",
|
|
1654
1663
|
href: m,
|
|
1655
1664
|
backgroundColor: "tints.cream",
|
|
1656
|
-
onClick:
|
|
1665
|
+
onClick: ee,
|
|
1657
1666
|
children: /* @__PURE__ */ t.jsxs(
|
|
1658
1667
|
D,
|
|
1659
1668
|
{ gap: "2", children: [
|
|
1660
1669
|
"Register kit",
|
|
1661
|
-
/* @__PURE__ */ t.jsx(
|
|
1670
|
+
/* @__PURE__ */ t.jsx(ce, { as: or, size: 24 })
|
|
1662
1671
|
] }
|
|
1663
1672
|
)
|
|
1664
1673
|
},
|
|
1665
1674
|
"register-kit"
|
|
1666
1675
|
)
|
|
1667
1676
|
] }
|
|
1668
|
-
),
|
|
1677
|
+
), He = /* @__PURE__ */ t.jsxs(
|
|
1669
1678
|
D,
|
|
1670
1679
|
{ gap: "2", flexDirection: "column", children: [
|
|
1671
1680
|
c,
|
|
1672
|
-
|
|
1681
|
+
Fe
|
|
1673
1682
|
] }
|
|
1674
|
-
),
|
|
1683
|
+
), oe = E ? /* @__PURE__ */ t.jsx(
|
|
1675
1684
|
D,
|
|
1676
|
-
{ direction: ["column", null, null, "row"], gap: "8", children: (
|
|
1677
|
-
const
|
|
1678
|
-
for (let
|
|
1679
|
-
|
|
1685
|
+
{ direction: ["column", null, null, "row"], gap: "8", children: (je = E == null ? void 0 : E.sections) == null ? void 0 : je.map((a, k) => {
|
|
1686
|
+
const B = [];
|
|
1687
|
+
for (let A = 0; A < a.links.length; A += 3)
|
|
1688
|
+
B.push(a.links.slice(A, A + 3));
|
|
1680
1689
|
return /* @__PURE__ */ t.jsxs(
|
|
1681
1690
|
y,
|
|
1682
1691
|
{ children: [
|
|
1683
1692
|
/* @__PURE__ */ t.jsx(
|
|
1684
|
-
|
|
1693
|
+
X,
|
|
1685
1694
|
{
|
|
1686
1695
|
fontSize: "md",
|
|
1687
1696
|
color: "tints.uiGrey",
|
|
@@ -1694,28 +1703,28 @@ const Ye = 60, pt = 6, dr = (l) => {
|
|
|
1694
1703
|
{
|
|
1695
1704
|
flexDirection: ["column", null, null, "row"],
|
|
1696
1705
|
gap: [null, null, null, 8],
|
|
1697
|
-
children:
|
|
1698
|
-
(
|
|
1706
|
+
children: B == null ? void 0 : B.map(
|
|
1707
|
+
(A, $e) => /* @__PURE__ */ t.jsx(
|
|
1699
1708
|
D,
|
|
1700
1709
|
{
|
|
1701
1710
|
flexDirection: ["column"],
|
|
1702
1711
|
gap: [null, null, null, 5],
|
|
1703
1712
|
marginLeft: [null, null, null, -2],
|
|
1704
|
-
children:
|
|
1705
|
-
(
|
|
1706
|
-
|
|
1713
|
+
children: A == null ? void 0 : A.map(
|
|
1714
|
+
(Z) => /* @__PURE__ */ t.jsx(
|
|
1715
|
+
Ue,
|
|
1707
1716
|
{
|
|
1708
|
-
label:
|
|
1709
|
-
href:
|
|
1710
|
-
additionalContent:
|
|
1717
|
+
label: Z.label,
|
|
1718
|
+
href: Z.href,
|
|
1719
|
+
additionalContent: Z.additionalContent,
|
|
1711
1720
|
linkComponent: s,
|
|
1712
|
-
onClick: () => v == null ? void 0 : v(
|
|
1721
|
+
onClick: () => v == null ? void 0 : v(Z.label)
|
|
1713
1722
|
},
|
|
1714
|
-
|
|
1723
|
+
Z.label
|
|
1715
1724
|
)
|
|
1716
1725
|
)
|
|
1717
1726
|
},
|
|
1718
|
-
|
|
1727
|
+
$e
|
|
1719
1728
|
)
|
|
1720
1729
|
)
|
|
1721
1730
|
}
|
|
@@ -1724,8 +1733,8 @@ const Ye = 60, pt = 6, dr = (l) => {
|
|
|
1724
1733
|
`${a.title}-${k}`
|
|
1725
1734
|
);
|
|
1726
1735
|
}) }
|
|
1727
|
-
) : null,
|
|
1728
|
-
(a) => /* @__PURE__ */ t.jsx(
|
|
1736
|
+
) : null, J = E != null && E.spotlightCards ? (q = E.spotlightCards) == null ? void 0 : q.map(
|
|
1737
|
+
(a) => /* @__PURE__ */ t.jsx(dr, { ...a }, a.title)
|
|
1729
1738
|
) : /* @__PURE__ */ t.jsx(y, {});
|
|
1730
1739
|
return /* @__PURE__ */ t.jsxs(
|
|
1731
1740
|
y,
|
|
@@ -1733,20 +1742,20 @@ const Ye = 60, pt = 6, dr = (l) => {
|
|
|
1733
1742
|
/* @__PURE__ */ t.jsx(
|
|
1734
1743
|
hr,
|
|
1735
1744
|
{
|
|
1736
|
-
desktopTopButtons:
|
|
1745
|
+
desktopTopButtons: Ae,
|
|
1737
1746
|
kitRegistrationElement: /* @__PURE__ */ t.jsx(
|
|
1738
1747
|
Pe,
|
|
1739
1748
|
{
|
|
1740
|
-
as:
|
|
1749
|
+
as: G,
|
|
1741
1750
|
href: m,
|
|
1742
|
-
onClick:
|
|
1751
|
+
onClick: ee,
|
|
1743
1752
|
backgroundColor: "tints.cream",
|
|
1744
1753
|
children: "Register Kit"
|
|
1745
1754
|
}
|
|
1746
1755
|
),
|
|
1747
1756
|
profileElement: /* @__PURE__ */ t.jsx(
|
|
1748
|
-
|
|
1749
|
-
{ href: R, "aria-label": "login", onClick: F, children: /* @__PURE__ */ t.jsx(
|
|
1757
|
+
G,
|
|
1758
|
+
{ href: R, "aria-label": "login", onClick: F, children: /* @__PURE__ */ t.jsx(fe, { icon: /* @__PURE__ */ t.jsx(ce, { as: ft }), "aria-label": "Profile" }) }
|
|
1750
1759
|
),
|
|
1751
1760
|
cartElement: /* @__PURE__ */ t.jsx(
|
|
1752
1761
|
vr,
|
|
@@ -1757,57 +1766,57 @@ const Ye = 60, pt = 6, dr = (l) => {
|
|
|
1757
1766
|
}
|
|
1758
1767
|
),
|
|
1759
1768
|
onSearchClick: () => {
|
|
1760
|
-
|
|
1769
|
+
Y(!te), g == null || g();
|
|
1761
1770
|
},
|
|
1762
1771
|
onMenuClick: () => {
|
|
1763
1772
|
H(!0), O == null || O();
|
|
1764
1773
|
},
|
|
1765
1774
|
hasSearch: w,
|
|
1766
|
-
logoLink:
|
|
1775
|
+
logoLink: f,
|
|
1767
1776
|
linkComponent: s,
|
|
1768
1777
|
onLogoClick: _,
|
|
1769
1778
|
setTopOffset: Re
|
|
1770
1779
|
}
|
|
1771
1780
|
),
|
|
1772
1781
|
/* @__PURE__ */ t.jsx(
|
|
1773
|
-
|
|
1782
|
+
Ge,
|
|
1774
1783
|
{
|
|
1775
|
-
isOpen:
|
|
1776
|
-
onClose:
|
|
1784
|
+
isOpen: he,
|
|
1785
|
+
onClose: le,
|
|
1777
1786
|
title: p,
|
|
1778
|
-
navDrawerLinks:
|
|
1779
|
-
bottomNavButtons:
|
|
1787
|
+
navDrawerLinks: De,
|
|
1788
|
+
bottomNavButtons: He,
|
|
1780
1789
|
hasBackButton: !1,
|
|
1781
|
-
topOffset:
|
|
1790
|
+
topOffset: U
|
|
1782
1791
|
}
|
|
1783
1792
|
),
|
|
1784
1793
|
/* @__PURE__ */ t.jsx(
|
|
1785
|
-
|
|
1794
|
+
Ge,
|
|
1786
1795
|
{
|
|
1787
1796
|
isOpen: !!E,
|
|
1788
1797
|
onClose: () => {
|
|
1789
|
-
|
|
1798
|
+
le(), W(null);
|
|
1790
1799
|
},
|
|
1791
1800
|
title: (E == null ? void 0 : E.label) || "",
|
|
1792
|
-
navDrawerLinks:
|
|
1793
|
-
onBackClick:
|
|
1794
|
-
spotlightCards:
|
|
1801
|
+
navDrawerLinks: oe,
|
|
1802
|
+
onBackClick: ie,
|
|
1803
|
+
spotlightCards: J,
|
|
1795
1804
|
hasOnlySpotlightCards: E == null ? void 0 : E.hasOnlySpotlightCards,
|
|
1796
1805
|
bottomButton: E == null ? void 0 : E.bottomButton,
|
|
1797
|
-
topOffset:
|
|
1806
|
+
topOffset: U
|
|
1798
1807
|
}
|
|
1799
1808
|
),
|
|
1800
1809
|
/* @__PURE__ */ t.jsx(
|
|
1801
|
-
|
|
1810
|
+
Ge,
|
|
1802
1811
|
{
|
|
1803
|
-
isOpen:
|
|
1804
|
-
onClose: () =>
|
|
1812
|
+
isOpen: te,
|
|
1813
|
+
onClose: () => Y(!1),
|
|
1805
1814
|
title: "Search",
|
|
1806
|
-
navDrawerLinks:
|
|
1807
|
-
onSearch:
|
|
1815
|
+
navDrawerLinks: Ie,
|
|
1816
|
+
onSearch: Te,
|
|
1808
1817
|
hasSearch: !0,
|
|
1809
1818
|
hasBackButton: !1,
|
|
1810
|
-
topOffset:
|
|
1819
|
+
topOffset: U
|
|
1811
1820
|
}
|
|
1812
1821
|
)
|
|
1813
1822
|
] }
|
|
@@ -1818,11 +1827,11 @@ export {
|
|
|
1818
1827
|
Sr as CategoryLabel,
|
|
1819
1828
|
Pe as NavButton,
|
|
1820
1829
|
Tr as NavSkeleton,
|
|
1821
|
-
|
|
1822
|
-
|
|
1830
|
+
Ge as NavbarDrawer,
|
|
1831
|
+
Ue as NavbarDrawerLink,
|
|
1823
1832
|
kr as NavigationBar,
|
|
1824
|
-
|
|
1833
|
+
dr as SpotlightCard,
|
|
1825
1834
|
_r as Stepper,
|
|
1826
|
-
|
|
1835
|
+
fe as TopNavIconButton,
|
|
1827
1836
|
hr as TopNavigation
|
|
1828
1837
|
};
|