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