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