@everlywell/consumer-ui 1.37.2 → 1.37.4

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