@everlywell/consumer-ui 1.37.0 → 1.37.2

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