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