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