@everlywell/consumer-ui 1.46.2 → 1.47.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 Qt, Box as R, Stepper as qt, Icon as we, Flex as D, Text as W, Link as oe, Button as Et, Image as en, IconButton as tn, theme as V, useMediaQuery as Qe, VStack as nn, Skeleton as Ze, HStack as ht, SkeletonCircle as Me, DrawerContent as St, DrawerOverlay as kt, Drawer as Rt, DrawerHeader as _t, DrawerBody as Dt, Grid as rn, GridItem as on, Accordion as an, AccordionItem as ln, AccordionButton as sn, AccordionPanel as cn, InputGroup as un, Input as dn, InputRightElement as fn, Container as pn, DrawerFooter as hn, DrawerCloseButton as gn, Modal as xn, ModalOverlay as vn, ModalContent as bn, ModalHeader as mn, ModalBody as wn, ModalFooter as jn, ModalCloseButton as yn } from "@everlywell/ui-kit";
2
- import se, { useEffect as ee, forwardRef as Tt, useRef as Cn, useCallback as It, useState as U } from "react";
3
- import { Text as En, useBreakpointValue as me, Box as Sn, InputGroup as kn, Input as Rn, InputRightElement as _n, Icon as Dn } from "@chakra-ui/react";
4
- import { CaretRight as gt, Basket as Tn, CaretLeft as In, X as Ot, MagnifyingGlass as On, CaretDown as Ln, ArrowRight as Pn, InstagramLogo as An, LinkedinLogo as Mn, FacebookLogo as $n, TiktokLogo as Hn, XLogo as Fn } from "@phosphor-icons/react";
5
- import { motion as ot, AnimatePresence as Bn } from "framer-motion";
6
- var qe = { exports: {} }, _e = {};
1
+ import { useSteps as Qt, Box as R, Stepper as qt, Icon as Ce, Flex as T, Text as z, Link as le, Button as St, Image as en, IconButton as tn, theme as G, useMediaQuery as et, VStack as nn, Skeleton as Xe, HStack as gt, SkeletonCircle as He, DrawerContent as kt, DrawerOverlay as Rt, Drawer as _t, DrawerHeader as Dt, DrawerBody as Tt, Grid as rn, GridItem as on, Accordion as an, AccordionItem as ln, AccordionButton as sn, AccordionPanel as cn, InputGroup as un, Input as dn, InputRightElement as fn, Container as pn, DrawerFooter as hn, DrawerCloseButton as gn, Modal as xn, ModalOverlay as vn, ModalContent as bn, ModalHeader as mn, ModalBody as wn, ModalFooter as yn, ModalCloseButton as jn } from "@everlywell/ui-kit";
2
+ import se, { useEffect as ee, forwardRef as It, useRef as Cn, useCallback as Lt, useState as X } from "react";
3
+ import { Text as En, useBreakpointValue as je, Box as Sn, InputGroup as kn, Input as Rn, InputRightElement as _n, Icon as Dn } from "@chakra-ui/react";
4
+ import { CaretRight as xt, Basket as Tn, CaretLeft as In, X as Ot, MagnifyingGlass as Ln, CaretDown as On, ArrowRight as An, InstagramLogo as Pn, LinkedinLogo as Mn, FacebookLogo as $n, TiktokLogo as Fn, XLogo as Hn } from "@phosphor-icons/react";
5
+ import { motion as it, AnimatePresence as Bn } from "framer-motion";
6
+ var tt = { exports: {} }, Te = {};
7
7
  /**
8
8
  * @license React
9
9
  * react-jsx-runtime.production.min.js
@@ -13,21 +13,21 @@ var qe = { exports: {} }, _e = {};
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 xt;
17
- function Wn() {
18
- if (xt) return _e;
19
- xt = 1;
20
- var n = se, o = Symbol.for("react.element"), s = Symbol.for("react.fragment"), a = Object.prototype.hasOwnProperty, c = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, u = { key: !0, ref: !0, __self: !0, __source: !0 };
21
- function d(h, g, p) {
22
- var f, C = {}, E = null, v = null;
23
- p !== void 0 && (E = "" + p), g.key !== void 0 && (E = "" + g.key), g.ref !== void 0 && (v = g.ref);
24
- for (f in g) a.call(g, f) && !u.hasOwnProperty(f) && (C[f] = g[f]);
25
- if (h && h.defaultProps) for (f in g = h.defaultProps, g) C[f] === void 0 && (C[f] = g[f]);
26
- return { $$typeof: o, type: h, key: E, ref: v, props: C, _owner: c.current };
16
+ var vt;
17
+ function zn() {
18
+ if (vt) return Te;
19
+ vt = 1;
20
+ var n = se, o = Symbol.for("react.element"), s = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, c = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, u = { key: !0, ref: !0, __self: !0, __source: !0 };
21
+ function f(d, g, h) {
22
+ var p, C = {}, E = null, v = null;
23
+ h !== void 0 && (E = "" + h), g.key !== void 0 && (E = "" + g.key), g.ref !== void 0 && (v = g.ref);
24
+ for (p in g) i.call(g, p) && !u.hasOwnProperty(p) && (C[p] = g[p]);
25
+ if (d && d.defaultProps) for (p in g = d.defaultProps, g) C[p] === void 0 && (C[p] = g[p]);
26
+ return { $$typeof: o, type: d, key: E, ref: v, props: C, _owner: c.current };
27
27
  }
28
- return _e.Fragment = s, _e.jsx = d, _e.jsxs = d, _e;
28
+ return Te.Fragment = s, Te.jsx = f, Te.jsxs = f, Te;
29
29
  }
30
- var De = {};
30
+ var Ie = {};
31
31
  /**
32
32
  * @license React
33
33
  * react-jsx-runtime.development.js
@@ -37,51 +37,51 @@ var De = {};
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 vt;
41
- function zn() {
42
- return vt || (vt = 1, process.env.NODE_ENV !== "production" && function() {
43
- var n = se, o = Symbol.for("react.element"), s = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), u = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), h = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), C = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), v = Symbol.for("react.offscreen"), w = Symbol.iterator, L = "@@iterator";
40
+ var bt;
41
+ function Wn() {
42
+ return bt || (bt = 1, process.env.NODE_ENV !== "production" && function() {
43
+ var n = se, o = Symbol.for("react.element"), s = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), u = Symbol.for("react.profiler"), f = Symbol.for("react.provider"), d = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), C = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), v = Symbol.for("react.offscreen"), w = Symbol.iterator, O = "@@iterator";
44
44
  function b(e) {
45
45
  if (e === null || typeof e != "object")
46
46
  return null;
47
- var r = w && e[w] || e[L];
47
+ var r = w && e[w] || e[O];
48
48
  return typeof r == "function" ? r : null;
49
49
  }
50
- var H = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
50
+ var $ = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
51
51
  function S(e) {
52
52
  {
53
53
  for (var r = arguments.length, l = new Array(r > 1 ? r - 1 : 0), x = 1; x < r; x++)
54
54
  l[x - 1] = arguments[x];
55
- j("error", e, l);
55
+ y("error", e, l);
56
56
  }
57
57
  }
58
- function j(e, r, l) {
58
+ function y(e, r, l) {
59
59
  {
60
- var x = H.ReactDebugCurrentFrame, k = x.getStackAddendum();
60
+ var x = $.ReactDebugCurrentFrame, k = x.getStackAddendum();
61
61
  k !== "" && (r += "%s", l = l.concat([k]));
62
- var _ = l.map(function(y) {
63
- return String(y);
62
+ var D = l.map(function(j) {
63
+ return String(j);
64
64
  });
65
- _.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, _);
65
+ D.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, D);
66
66
  }
67
67
  }
68
- var P = !1, F = !1, Y = !1, Q = !1, ce = !1, q;
69
- q = Symbol.for("react.module.reference");
70
- function ue(e) {
71
- return !!(typeof e == "string" || typeof e == "function" || e === a || e === u || ce || e === c || e === p || e === f || Q || e === v || P || F || Y || typeof e == "object" && e !== null && (e.$$typeof === E || e.$$typeof === C || e.$$typeof === d || e.$$typeof === h || e.$$typeof === g || // This needs to include all possible module reference object
68
+ var A = !1, H = !1, U = !1, te = !1, he = !1, ne;
69
+ ne = Symbol.for("react.module.reference");
70
+ function ge(e) {
71
+ return !!(typeof e == "string" || typeof e == "function" || e === i || e === u || he || e === c || e === h || e === p || te || e === v || A || H || U || typeof e == "object" && e !== null && (e.$$typeof === E || e.$$typeof === C || e.$$typeof === f || e.$$typeof === d || e.$$typeof === g || // This needs to include all possible module reference object
72
72
  // types supported by any Flight configuration anywhere since
73
73
  // we don't know which Flight build this will end up being used
74
74
  // with.
75
- e.$$typeof === q || e.getModuleId !== void 0));
75
+ e.$$typeof === ne || e.getModuleId !== void 0));
76
76
  }
77
- function de(e, r, l) {
77
+ function xe(e, r, l) {
78
78
  var x = e.displayName;
79
79
  if (x)
80
80
  return x;
81
81
  var k = r.displayName || r.name || "";
82
82
  return k !== "" ? l + "(" + k + ")" : l;
83
83
  }
84
- function te(e) {
84
+ function oe(e) {
85
85
  return e.displayName || "Context";
86
86
  }
87
87
  function B(e) {
@@ -92,7 +92,7 @@ function zn() {
92
92
  if (typeof e == "string")
93
93
  return e;
94
94
  switch (e) {
95
- case a:
95
+ case i:
96
96
  return "Fragment";
97
97
  case s:
98
98
  return "Portal";
@@ -100,28 +100,28 @@ function zn() {
100
100
  return "Profiler";
101
101
  case c:
102
102
  return "StrictMode";
103
- case p:
103
+ case h:
104
104
  return "Suspense";
105
- case f:
105
+ case p:
106
106
  return "SuspenseList";
107
107
  }
108
108
  if (typeof e == "object")
109
109
  switch (e.$$typeof) {
110
- case h:
111
- var r = e;
112
- return te(r) + ".Consumer";
113
110
  case d:
111
+ var r = e;
112
+ return oe(r) + ".Consumer";
113
+ case f:
114
114
  var l = e;
115
- return te(l._context) + ".Provider";
115
+ return oe(l._context) + ".Provider";
116
116
  case g:
117
- return de(e, e.render, "ForwardRef");
117
+ return xe(e, e.render, "ForwardRef");
118
118
  case C:
119
119
  var x = e.displayName || null;
120
120
  return x !== null ? x : B(e.type) || "Memo";
121
121
  case E: {
122
- var k = e, _ = k._payload, y = k._init;
122
+ var k = e, D = k._payload, j = k._init;
123
123
  try {
124
- return B(y(_));
124
+ return B(j(D));
125
125
  } catch {
126
126
  return null;
127
127
  }
@@ -129,18 +129,18 @@ function zn() {
129
129
  }
130
130
  return null;
131
131
  }
132
- var T = Object.assign, X = 0, Z, Te, Ie, Oe, fe, Le, ye;
133
- function pe() {
132
+ var I = Object.assign, J = 0, ae, ie, Le, Oe, Ae, ve, Pe;
133
+ function Se() {
134
134
  }
135
- pe.__reactDisabledLog = !0;
136
- function Fe() {
135
+ Se.__reactDisabledLog = !0;
136
+ function ke() {
137
137
  {
138
- if (X === 0) {
139
- Z = console.log, Te = console.info, Ie = console.warn, Oe = console.error, fe = console.group, Le = console.groupCollapsed, ye = console.groupEnd;
138
+ if (J === 0) {
139
+ ae = console.log, ie = console.info, Le = console.warn, Oe = console.error, Ae = console.group, ve = console.groupCollapsed, Pe = console.groupEnd;
140
140
  var e = {
141
141
  configurable: !0,
142
142
  enumerable: !0,
143
- value: pe,
143
+ value: Se,
144
144
  writable: !0
145
145
  };
146
146
  Object.defineProperties(console, {
@@ -153,230 +153,230 @@ function zn() {
153
153
  groupEnd: e
154
154
  });
155
155
  }
156
- X++;
156
+ J++;
157
157
  }
158
158
  }
159
- function Be() {
159
+ function We() {
160
160
  {
161
- if (X--, X === 0) {
161
+ if (J--, J === 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: T({}, e, {
169
- value: Z
168
+ log: I({}, e, {
169
+ value: ae
170
170
  }),
171
- info: T({}, e, {
172
- value: Te
171
+ info: I({}, e, {
172
+ value: ie
173
173
  }),
174
- warn: T({}, e, {
175
- value: Ie
174
+ warn: I({}, e, {
175
+ value: Le
176
176
  }),
177
- error: T({}, e, {
177
+ error: I({}, e, {
178
178
  value: Oe
179
179
  }),
180
- group: T({}, e, {
181
- value: fe
180
+ group: I({}, e, {
181
+ value: Ae
182
182
  }),
183
- groupCollapsed: T({}, e, {
184
- value: Le
183
+ groupCollapsed: I({}, e, {
184
+ value: ve
185
185
  }),
186
- groupEnd: T({}, e, {
187
- value: ye
186
+ groupEnd: I({}, e, {
187
+ value: Pe
188
188
  })
189
189
  });
190
190
  }
191
- X < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
191
+ J < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
192
192
  }
193
193
  }
194
- var K = H.ReactCurrentDispatcher, Ce;
195
- function he(e, r, l) {
194
+ var Re = $.ReactCurrentDispatcher, K;
195
+ function be(e, r, l) {
196
196
  {
197
- if (Ce === void 0)
197
+ if (K === void 0)
198
198
  try {
199
199
  throw Error();
200
200
  } catch (k) {
201
201
  var x = k.stack.trim().match(/\n( *(at )?)/);
202
- Ce = x && x[1] || "";
202
+ K = x && x[1] || "";
203
203
  }
204
204
  return `
205
- ` + Ce + e;
205
+ ` + K + e;
206
206
  }
207
207
  }
208
- var Ee = !1, ne;
208
+ var ce = !1, me;
209
209
  {
210
- var We = typeof WeakMap == "function" ? WeakMap : Map;
211
- ne = new We();
210
+ var _e = typeof WeakMap == "function" ? WeakMap : Map;
211
+ me = new _e();
212
212
  }
213
- function Pe(e, r) {
214
- if (!e || Ee)
213
+ function Me(e, r) {
214
+ if (!e || ce)
215
215
  return "";
216
216
  {
217
- var l = ne.get(e);
217
+ var l = me.get(e);
218
218
  if (l !== void 0)
219
219
  return l;
220
220
  }
221
221
  var x;
222
- Ee = !0;
222
+ ce = !0;
223
223
  var k = Error.prepareStackTrace;
224
224
  Error.prepareStackTrace = void 0;
225
- var _;
226
- _ = K.current, K.current = null, Fe();
225
+ var D;
226
+ D = Re.current, Re.current = null, ke();
227
227
  try {
228
228
  if (r) {
229
- var y = function() {
229
+ var j = function() {
230
230
  throw Error();
231
231
  };
232
- if (Object.defineProperty(y.prototype, "props", {
232
+ if (Object.defineProperty(j.prototype, "props", {
233
233
  set: function() {
234
234
  throw Error();
235
235
  }
236
236
  }), typeof Reflect == "object" && Reflect.construct) {
237
237
  try {
238
- Reflect.construct(y, []);
239
- } catch (N) {
240
- x = N;
238
+ Reflect.construct(j, []);
239
+ } catch (V) {
240
+ x = V;
241
241
  }
242
- Reflect.construct(e, [], y);
242
+ Reflect.construct(e, [], j);
243
243
  } else {
244
244
  try {
245
- y.call();
246
- } catch (N) {
247
- x = N;
245
+ j.call();
246
+ } catch (V) {
247
+ x = V;
248
248
  }
249
- e.call(y.prototype);
249
+ e.call(j.prototype);
250
250
  }
251
251
  } else {
252
252
  try {
253
253
  throw Error();
254
- } catch (N) {
255
- x = N;
254
+ } catch (V) {
255
+ x = V;
256
256
  }
257
257
  e();
258
258
  }
259
- } catch (N) {
260
- if (N && x && typeof N.stack == "string") {
261
- for (var m = N.stack.split(`
262
- `), z = x.stack.split(`
263
- `), A = m.length - 1, M = z.length - 1; A >= 1 && M >= 0 && m[A] !== z[M]; )
259
+ } catch (V) {
260
+ if (V && x && typeof V.stack == "string") {
261
+ for (var m = V.stack.split(`
262
+ `), W = x.stack.split(`
263
+ `), P = m.length - 1, M = W.length - 1; P >= 1 && M >= 0 && m[P] !== W[M]; )
264
264
  M--;
265
- for (; A >= 1 && M >= 0; A--, M--)
266
- if (m[A] !== z[M]) {
267
- if (A !== 1 || M !== 1)
265
+ for (; P >= 1 && M >= 0; P--, M--)
266
+ if (m[P] !== W[M]) {
267
+ if (P !== 1 || M !== 1)
268
268
  do
269
- if (A--, M--, M < 0 || m[A] !== z[M]) {
270
- var G = `
271
- ` + m[A].replace(" at new ", " at ");
272
- return e.displayName && G.includes("<anonymous>") && (G = G.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, G), G;
269
+ if (P--, M--, M < 0 || m[P] !== W[M]) {
270
+ var Z = `
271
+ ` + m[P].replace(" at new ", " at ");
272
+ return e.displayName && Z.includes("<anonymous>") && (Z = Z.replace("<anonymous>", e.displayName)), typeof e == "function" && me.set(e, Z), Z;
273
273
  }
274
- while (A >= 1 && M >= 0);
274
+ while (P >= 1 && M >= 0);
275
275
  break;
276
276
  }
277
277
  }
278
278
  } finally {
279
- Ee = !1, K.current = _, Be(), Error.prepareStackTrace = k;
279
+ ce = !1, Re.current = D, We(), Error.prepareStackTrace = k;
280
280
  }
281
- var be = e ? e.displayName || e.name : "", le = be ? he(be) : "";
282
- return typeof e == "function" && ne.set(e, le), le;
281
+ var ye = e ? e.displayName || e.name : "", pe = ye ? be(ye) : "";
282
+ return typeof e == "function" && me.set(e, pe), pe;
283
283
  }
284
- function ze(e, r, l) {
285
- return Pe(e, !1);
284
+ function Ne(e, r, l) {
285
+ return Me(e, !1);
286
286
  }
287
- function J(e) {
287
+ function Ve(e) {
288
288
  var r = e.prototype;
289
289
  return !!(r && r.isReactComponent);
290
290
  }
291
- function ge(e, r, l) {
291
+ function Y(e, r, l) {
292
292
  if (e == null)
293
293
  return "";
294
294
  if (typeof e == "function")
295
- return Pe(e, J(e));
295
+ return Me(e, Ve(e));
296
296
  if (typeof e == "string")
297
- return he(e);
297
+ return be(e);
298
298
  switch (e) {
299
+ case h:
300
+ return be("Suspense");
299
301
  case p:
300
- return he("Suspense");
301
- case f:
302
- return he("SuspenseList");
302
+ return be("SuspenseList");
303
303
  }
304
304
  if (typeof e == "object")
305
305
  switch (e.$$typeof) {
306
306
  case g:
307
- return ze(e.render);
307
+ return Ne(e.render);
308
308
  case C:
309
- return ge(e.type, r, l);
309
+ return Y(e.type, r, l);
310
310
  case E: {
311
- var x = e, k = x._payload, _ = x._init;
311
+ var x = e, k = x._payload, D = x._init;
312
312
  try {
313
- return ge(_(k), r, l);
313
+ return Y(D(k), r, l);
314
314
  } catch {
315
315
  }
316
316
  }
317
317
  }
318
318
  return "";
319
319
  }
320
- var ae = Object.prototype.hasOwnProperty, Se = {}, ke = H.ReactDebugCurrentFrame;
321
- function ie(e) {
320
+ var ue = Object.prototype.hasOwnProperty, $e = {}, De = $.ReactDebugCurrentFrame;
321
+ function de(e) {
322
322
  if (e) {
323
- var r = e._owner, l = ge(e.type, e._source, r ? r.type : null);
324
- ke.setExtraStackFrame(l);
323
+ var r = e._owner, l = Y(e.type, e._source, r ? r.type : null);
324
+ De.setExtraStackFrame(l);
325
325
  } else
326
- ke.setExtraStackFrame(null);
326
+ De.setExtraStackFrame(null);
327
327
  }
328
- function i(e, r, l, x, k) {
328
+ function Fe(e, r, l, x, k) {
329
329
  {
330
- var _ = Function.call.bind(ae);
331
- for (var y in e)
332
- if (_(e, y)) {
330
+ var D = Function.call.bind(ue);
331
+ for (var j in e)
332
+ if (D(e, j)) {
333
333
  var m = void 0;
334
334
  try {
335
- if (typeof e[y] != "function") {
336
- var z = Error((x || "React class") + ": " + l + " type `" + y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[y] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
337
- throw z.name = "Invariant Violation", z;
335
+ if (typeof e[j] != "function") {
336
+ var W = Error((x || "React class") + ": " + l + " type `" + j + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[j] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
337
+ throw W.name = "Invariant Violation", W;
338
338
  }
339
- m = e[y](r, y, x, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
340
- } catch (A) {
341
- m = A;
339
+ m = e[j](r, j, x, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
340
+ } catch (P) {
341
+ m = P;
342
342
  }
343
- m && !(m instanceof Error) && (ie(k), S("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", x || "React class", l, y, typeof m), ie(null)), m instanceof Error && !(m.message in Se) && (Se[m.message] = !0, ie(k), S("Failed %s type: %s", l, m.message), ie(null));
343
+ m && !(m instanceof Error) && (de(k), S("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", x || "React class", l, j, typeof m), de(null)), m instanceof Error && !(m.message in $e) && ($e[m.message] = !0, de(k), S("Failed %s type: %s", l, m.message), de(null));
344
344
  }
345
345
  }
346
346
  }
347
- var O = Array.isArray;
348
- function I(e) {
349
- return O(e);
347
+ var a = Array.isArray;
348
+ function _(e) {
349
+ return a(e);
350
350
  }
351
- function $(e) {
351
+ function L(e) {
352
352
  {
353
353
  var r = typeof Symbol == "function" && Symbol.toStringTag, l = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
354
354
  return l;
355
355
  }
356
356
  }
357
- function xe(e) {
357
+ function F(e) {
358
358
  try {
359
- return re(e), !1;
359
+ return fe(e), !1;
360
360
  } catch {
361
361
  return !0;
362
362
  }
363
363
  }
364
- function re(e) {
364
+ function fe(e) {
365
365
  return "" + e;
366
366
  }
367
- function Ae(e) {
368
- if (xe(e))
369
- return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", $(e)), re(e);
367
+ function Q(e) {
368
+ if (F(e))
369
+ return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", L(e)), fe(e);
370
370
  }
371
- var Re = H.ReactCurrentOwner, Pt = {
371
+ var q = $.ReactCurrentOwner, re = {
372
372
  key: !0,
373
373
  ref: !0,
374
374
  __self: !0,
375
375
  __source: !0
376
- }, at, it, Ne;
377
- Ne = {};
378
- function At(e) {
379
- if (ae.call(e, "ref")) {
376
+ }, N, lt, Ye;
377
+ Ye = {};
378
+ function Pt(e) {
379
+ if (ue.call(e, "ref")) {
380
380
  var r = Object.getOwnPropertyDescriptor(e, "ref").get;
381
381
  if (r && r.isReactWarning)
382
382
  return !1;
@@ -384,7 +384,7 @@ function zn() {
384
384
  return e.ref !== void 0;
385
385
  }
386
386
  function Mt(e) {
387
- if (ae.call(e, "key")) {
387
+ if (ue.call(e, "key")) {
388
388
  var r = Object.getOwnPropertyDescriptor(e, "key").get;
389
389
  if (r && r.isReactWarning)
390
390
  return !1;
@@ -392,15 +392,15 @@ function zn() {
392
392
  return e.key !== void 0;
393
393
  }
394
394
  function $t(e, r) {
395
- if (typeof e.ref == "string" && Re.current && r && Re.current.stateNode !== r) {
396
- var l = B(Re.current.type);
397
- Ne[l] || (S('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', B(Re.current.type), e.ref), Ne[l] = !0);
395
+ if (typeof e.ref == "string" && q.current && r && q.current.stateNode !== r) {
396
+ var l = B(q.current.type);
397
+ Ye[l] || (S('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', B(q.current.type), e.ref), Ye[l] = !0);
398
398
  }
399
399
  }
400
- function Ht(e, r) {
400
+ function Ft(e, r) {
401
401
  {
402
402
  var l = function() {
403
- at || (at = !0, S("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
403
+ N || (N = !0, S("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
404
404
  };
405
405
  l.isReactWarning = !0, Object.defineProperty(e, "key", {
406
406
  get: l,
@@ -408,10 +408,10 @@ function zn() {
408
408
  });
409
409
  }
410
410
  }
411
- function Ft(e, r) {
411
+ function Ht(e, r) {
412
412
  {
413
413
  var l = function() {
414
- it || (it = !0, S("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
414
+ lt || (lt = !0, S("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
415
415
  };
416
416
  l.isReactWarning = !0, Object.defineProperty(e, "ref", {
417
417
  get: l,
@@ -419,7 +419,7 @@ function zn() {
419
419
  });
420
420
  }
421
421
  }
422
- var Bt = function(e, r, l, x, k, _, y) {
422
+ var Bt = function(e, r, l, x, k, D, j) {
423
423
  var m = {
424
424
  // This tag allows us to uniquely identify this as a React Element
425
425
  $$typeof: o,
@@ -427,9 +427,9 @@ function zn() {
427
427
  type: e,
428
428
  key: r,
429
429
  ref: l,
430
- props: y,
430
+ props: j,
431
431
  // Record the component responsible for creating this element.
432
- _owner: _
432
+ _owner: D
433
433
  };
434
434
  return m._store = {}, Object.defineProperty(m._store, "validated", {
435
435
  configurable: !1,
@@ -448,41 +448,41 @@ function zn() {
448
448
  value: k
449
449
  }), Object.freeze && (Object.freeze(m.props), Object.freeze(m)), m;
450
450
  };
451
- function Wt(e, r, l, x, k) {
451
+ function zt(e, r, l, x, k) {
452
452
  {
453
- var _, y = {}, m = null, z = null;
454
- l !== void 0 && (Ae(l), m = "" + l), Mt(r) && (Ae(r.key), m = "" + r.key), At(r) && (z = r.ref, $t(r, k));
455
- for (_ in r)
456
- ae.call(r, _) && !Pt.hasOwnProperty(_) && (y[_] = r[_]);
453
+ var D, j = {}, m = null, W = null;
454
+ l !== void 0 && (Q(l), m = "" + l), Mt(r) && (Q(r.key), m = "" + r.key), Pt(r) && (W = r.ref, $t(r, k));
455
+ for (D in r)
456
+ ue.call(r, D) && !re.hasOwnProperty(D) && (j[D] = r[D]);
457
457
  if (e && e.defaultProps) {
458
- var A = e.defaultProps;
459
- for (_ in A)
460
- y[_] === void 0 && (y[_] = A[_]);
458
+ var P = e.defaultProps;
459
+ for (D in P)
460
+ j[D] === void 0 && (j[D] = P[D]);
461
461
  }
462
- if (m || z) {
462
+ if (m || W) {
463
463
  var M = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
464
- m && Ht(y, M), z && Ft(y, M);
464
+ m && Ft(j, M), W && Ht(j, M);
465
465
  }
466
- return Bt(e, m, z, k, x, Re.current, y);
466
+ return Bt(e, m, W, k, x, q.current, j);
467
467
  }
468
468
  }
469
- var Ve = H.ReactCurrentOwner, lt = H.ReactDebugCurrentFrame;
470
- function ve(e) {
469
+ var Ge = $.ReactCurrentOwner, st = $.ReactDebugCurrentFrame;
470
+ function we(e) {
471
471
  if (e) {
472
- var r = e._owner, l = ge(e.type, e._source, r ? r.type : null);
473
- lt.setExtraStackFrame(l);
472
+ var r = e._owner, l = Y(e.type, e._source, r ? r.type : null);
473
+ st.setExtraStackFrame(l);
474
474
  } else
475
- lt.setExtraStackFrame(null);
475
+ st.setExtraStackFrame(null);
476
476
  }
477
- var Ye;
478
- Ye = !1;
479
- function Ge(e) {
477
+ var Ue;
478
+ Ue = !1;
479
+ function Ke(e) {
480
480
  return typeof e == "object" && e !== null && e.$$typeof === o;
481
481
  }
482
- function st() {
482
+ function ct() {
483
483
  {
484
- if (Ve.current) {
485
- var e = B(Ve.current.type);
484
+ if (Ge.current) {
485
+ var e = B(Ge.current.type);
486
486
  if (e)
487
487
  return `
488
488
 
@@ -491,13 +491,13 @@ Check the render method of \`` + e + "`.";
491
491
  return "";
492
492
  }
493
493
  }
494
- function zt(e) {
494
+ function Wt(e) {
495
495
  return "";
496
496
  }
497
- var ct = {};
497
+ var ut = {};
498
498
  function Nt(e) {
499
499
  {
500
- var r = st();
500
+ var r = ct();
501
501
  if (!r) {
502
502
  var l = typeof e == "string" ? e : e.displayName || e.name;
503
503
  l && (r = `
@@ -507,35 +507,35 @@ Check the top-level render call using <` + l + ">.");
507
507
  return r;
508
508
  }
509
509
  }
510
- function ut(e, r) {
510
+ function dt(e, r) {
511
511
  {
512
512
  if (!e._store || e._store.validated || e.key != null)
513
513
  return;
514
514
  e._store.validated = !0;
515
515
  var l = Nt(r);
516
- if (ct[l])
516
+ if (ut[l])
517
517
  return;
518
- ct[l] = !0;
518
+ ut[l] = !0;
519
519
  var x = "";
520
- e && e._owner && e._owner !== Ve.current && (x = " It was passed a child from " + B(e._owner.type) + "."), ve(e), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', l, x), ve(null);
520
+ e && e._owner && e._owner !== Ge.current && (x = " It was passed a child from " + B(e._owner.type) + "."), we(e), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', l, x), we(null);
521
521
  }
522
522
  }
523
- function dt(e, r) {
523
+ function ft(e, r) {
524
524
  {
525
525
  if (typeof e != "object")
526
526
  return;
527
- if (I(e))
527
+ if (_(e))
528
528
  for (var l = 0; l < e.length; l++) {
529
529
  var x = e[l];
530
- Ge(x) && ut(x, r);
530
+ Ke(x) && dt(x, r);
531
531
  }
532
- else if (Ge(e))
532
+ else if (Ke(e))
533
533
  e._store && (e._store.validated = !0);
534
534
  else if (e) {
535
535
  var k = b(e);
536
536
  if (typeof k == "function" && k !== e.entries)
537
- for (var _ = k.call(e), y; !(y = _.next()).done; )
538
- Ge(y.value) && ut(y.value, r);
537
+ for (var D = k.call(e), j; !(j = D.next()).done; )
538
+ Ke(j.value) && dt(j.value, r);
539
539
  }
540
540
  }
541
541
  }
@@ -555,9 +555,9 @@ Check the top-level render call using <` + l + ">.");
555
555
  return;
556
556
  if (l) {
557
557
  var x = B(r);
558
- i(l, e.props, "prop", x, e);
559
- } else if (r.PropTypes !== void 0 && !Ye) {
560
- Ye = !0;
558
+ Fe(l, e.props, "prop", x, e);
559
+ } else if (r.PropTypes !== void 0 && !Ue) {
560
+ Ue = !0;
561
561
  var k = B(r);
562
562
  S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", k || "Unknown");
563
563
  }
@@ -569,86 +569,86 @@ Check the top-level render call using <` + l + ">.");
569
569
  for (var r = Object.keys(e.props), l = 0; l < r.length; l++) {
570
570
  var x = r[l];
571
571
  if (x !== "children" && x !== "key") {
572
- ve(e), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", x), ve(null);
572
+ we(e), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", x), we(null);
573
573
  break;
574
574
  }
575
575
  }
576
- e.ref !== null && (ve(e), S("Invalid attribute `ref` supplied to `React.Fragment`."), ve(null));
576
+ e.ref !== null && (we(e), S("Invalid attribute `ref` supplied to `React.Fragment`."), we(null));
577
577
  }
578
578
  }
579
- var ft = {};
580
- function pt(e, r, l, x, k, _) {
579
+ var pt = {};
580
+ function ht(e, r, l, x, k, D) {
581
581
  {
582
- var y = ue(e);
583
- if (!y) {
582
+ var j = ge(e);
583
+ if (!j) {
584
584
  var m = "";
585
585
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (m += " 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 z = zt();
587
- z ? m += z : m += st();
588
- var A;
589
- e === null ? A = "null" : I(e) ? A = "array" : e !== void 0 && e.$$typeof === o ? (A = "<" + (B(e.type) || "Unknown") + " />", m = " Did you accidentally export a JSX literal instead of a component?") : A = typeof e, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", A, m);
586
+ var W = Wt();
587
+ W ? m += W : m += ct();
588
+ var P;
589
+ e === null ? P = "null" : _(e) ? P = "array" : e !== void 0 && e.$$typeof === o ? (P = "<" + (B(e.type) || "Unknown") + " />", m = " Did you accidentally export a JSX literal instead of a component?") : P = typeof e, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", P, m);
590
590
  }
591
- var M = Wt(e, r, l, k, _);
591
+ var M = zt(e, r, l, k, D);
592
592
  if (M == null)
593
593
  return M;
594
- if (y) {
595
- var G = r.children;
596
- if (G !== void 0)
594
+ if (j) {
595
+ var Z = r.children;
596
+ if (Z !== void 0)
597
597
  if (x)
598
- if (I(G)) {
599
- for (var be = 0; be < G.length; be++)
600
- dt(G[be], e);
601
- Object.freeze && Object.freeze(G);
598
+ if (_(Z)) {
599
+ for (var ye = 0; ye < Z.length; ye++)
600
+ ft(Z[ye], e);
601
+ Object.freeze && Object.freeze(Z);
602
602
  } else
603
603
  S("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
604
604
  else
605
- dt(G, e);
605
+ ft(Z, e);
606
606
  }
607
- if (ae.call(r, "key")) {
608
- var le = B(e), N = Object.keys(r).filter(function(Jt) {
607
+ if (ue.call(r, "key")) {
608
+ var pe = B(e), V = Object.keys(r).filter(function(Jt) {
609
609
  return Jt !== "key";
610
- }), Ue = N.length > 0 ? "{key: someKey, " + N.join(": ..., ") + ": ...}" : "{key: someKey}";
611
- if (!ft[le + Ue]) {
612
- var Xt = N.length > 0 ? "{" + N.join(": ..., ") + ": ...}" : "{}";
610
+ }), Ze = V.length > 0 ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}";
611
+ if (!pt[pe + Ze]) {
612
+ var Xt = V.length > 0 ? "{" + V.join(": ..., ") + ": ...}" : "{}";
613
613
  S(`A props object containing a "key" prop is being spread into JSX:
614
614
  let props = %s;
615
615
  <%s {...props} />
616
616
  React keys must be passed directly to JSX without using spread:
617
617
  let props = %s;
618
- <%s key={someKey} {...props} />`, Ue, le, Xt, le), ft[le + Ue] = !0;
618
+ <%s key={someKey} {...props} />`, Ze, pe, Xt, pe), pt[pe + Ze] = !0;
619
619
  }
620
620
  }
621
- return e === a ? Yt(M) : Vt(M), M;
621
+ return e === i ? Yt(M) : Vt(M), M;
622
622
  }
623
623
  }
624
624
  function Gt(e, r, l) {
625
- return pt(e, r, l, !0);
625
+ return ht(e, r, l, !0);
626
626
  }
627
627
  function Ut(e, r, l) {
628
- return pt(e, r, l, !1);
628
+ return ht(e, r, l, !1);
629
629
  }
630
- var Zt = Ut, Kt = Gt;
631
- De.Fragment = a, De.jsx = Zt, De.jsxs = Kt;
632
- }()), De;
630
+ var Kt = Ut, Zt = Gt;
631
+ Ie.Fragment = i, Ie.jsx = Kt, Ie.jsxs = Zt;
632
+ }()), Ie;
633
633
  }
634
- process.env.NODE_ENV === "production" ? qe.exports = Wn() : qe.exports = zn();
635
- var t = qe.exports;
636
- const Ke = 60, bt = 6, Nn = (n) => {
634
+ process.env.NODE_ENV === "production" ? tt.exports = zn() : tt.exports = Wn();
635
+ var t = tt.exports;
636
+ const Je = 60, mt = 6, Nn = (n) => {
637
637
  const {
638
638
  activeStepIndex: o,
639
639
  hideIndicators: s = !1,
640
- steps: a,
640
+ steps: i,
641
641
  stepperTheme: c = {
642
642
  light: "eggplant.light",
643
643
  base: "eggplant.base"
644
644
  }
645
- } = n, { activeStep: u, setActiveStep: d } = Qt({
645
+ } = n, { activeStep: u, setActiveStep: f } = Qt({
646
646
  index: o,
647
- count: a.length
647
+ count: i.length
648
648
  });
649
649
  return ee(() => {
650
- d(o);
651
- }, [o, d]), /* @__PURE__ */ t.jsx(
650
+ f(o);
651
+ }, [o, f]), /* @__PURE__ */ t.jsx(
652
652
  R,
653
653
  { position: "relative", width: "100%", "data-testid": "stepper", children: /* @__PURE__ */ t.jsx(
654
654
  qt,
@@ -658,17 +658,17 @@ const Ke = 60, bt = 6, Nn = (n) => {
658
658
  width: "100%",
659
659
  display: "flex",
660
660
  flexWrap: "nowrap",
661
- children: a.map((h, g) => {
662
- const p = u === g, f = g === 0, C = g === a.length - 1, E = u > g;
663
- let v = `${Ke}px`;
664
- const w = `calc(100% - ((${Ke * (a.length - 1)}px) - (${a.length - 1} * ${bt * 2}px)))`;
665
- return p ? v = w : (f || C) && (v = `${Ke - bt}px`), /* @__PURE__ */ t.jsx(
661
+ children: i.map((d, g) => {
662
+ const h = u === g, p = g === 0, C = g === i.length - 1, E = u > g;
663
+ let v = `${Je}px`;
664
+ const w = `calc(100% - ((${Je * (i.length - 1)}px) - (${i.length - 1} * ${mt * 2}px)))`;
665
+ return h ? v = w : (p || C) && (v = `${Je - mt}px`), /* @__PURE__ */ t.jsx(
666
666
  R,
667
667
  {
668
668
  width: v,
669
- opacity: E || p ? 1 : 0.2,
669
+ opacity: E || h ? 1 : 0.2,
670
670
  paddingRight: C ? "0" : "6px",
671
- paddingLeft: f ? "0" : "6px",
671
+ paddingLeft: p ? "0" : "6px",
672
672
  transition: "width 0.4s ease-in-out, opacity 0.4s ease-in-out",
673
673
  children: /* @__PURE__ */ t.jsx(
674
674
  R,
@@ -697,54 +697,54 @@ const Ke = 60, bt = 6, Nn = (n) => {
697
697
  }
698
698
  ) }
699
699
  );
700
- }, fr = se.memo(Nn), pr = ({
700
+ }, pr = se.memo(Nn), hr = ({
701
701
  children: n,
702
702
  ...o
703
703
  }) => /* @__PURE__ */ t.jsx(
704
704
  En,
705
705
  { color: "tints.uiGrey", fontSize: ["md", null, null, "lg"], ...o, children: n }
706
- ), je = (n, o) => {
706
+ ), Ee = (n, o) => {
707
707
  const s = (n == null ? void 0 : n.startsWith("http")) || (n == null ? void 0 : n.startsWith("mailto"));
708
708
  return o && !s ? {
709
709
  to: n
710
710
  } : {
711
711
  href: n
712
712
  };
713
- }, $e = Tt(
713
+ }, Be = It(
714
714
  (n, o) => {
715
715
  const {
716
716
  label: s,
717
- additionalContent: a,
717
+ additionalContent: i,
718
718
  mainTextFontSize: c,
719
719
  linkComponent: u,
720
- href: d,
721
- forceMobileStyle: h = !1,
720
+ href: f,
721
+ forceMobileStyle: d = !1,
722
722
  ...g
723
- } = n, p = u || oe, f = je(d, !!u), C = h ? c || "xl" : [c || "xl", null, null, "lg"], E = h ? "xl" : ["xl", null, null, "lg"], v = h ? void 0 : [null, null, null, 1], w = h ? void 0 : [null, null, null, "space-between"], L = h ? "3" : [3, null, null, 0], b = h ? "1px" : ["1px", null, null, "unset"], H = h ? "tints.cream" : ["tints.cream", null, null, "unset"], S = h ? "100%" : ["100%", null, null, "fit-content"], j = h ? "none" : ["none", null, null, "block"], P = h ? "100%" : ["100%", null, null, "auto"], F = h ? "block" : ["block", null, null, "none"];
723
+ } = n, h = u || le, p = Ee(f, !!u), C = d ? c || "xl" : [c || "xl", null, null, "lg"], E = d ? "xl" : ["xl", null, null, "lg"], v = d ? void 0 : [null, null, null, 1], w = d ? void 0 : [null, null, null, "space-between"], O = d ? "3" : [3, null, null, 0], b = d ? "1px" : ["1px", null, null, "unset"], $ = d ? "tints.cream" : ["tints.cream", null, null, "unset"], S = d ? "100%" : ["100%", null, null, "fit-content"], y = d ? "none" : ["none", null, null, "block"], A = d ? "100%" : ["100%", null, null, "auto"], H = d ? "block" : ["block", null, null, "none"];
724
724
  return /* @__PURE__ */ t.jsxs(
725
725
  R,
726
726
  {
727
727
  ref: o,
728
- as: p,
728
+ as: h,
729
729
  display: "flex",
730
730
  alignItems: "center",
731
731
  gap: v,
732
732
  justifyContent: w,
733
- paddingY: L,
733
+ paddingY: O,
734
734
  color: "tints.black",
735
735
  _hover: { color: "viridian.base", textDecoration: "none" },
736
736
  borderBottom: b,
737
- borderColor: H,
737
+ borderColor: $,
738
738
  width: S,
739
739
  cursor: "pointer",
740
- ...f,
740
+ ...p,
741
741
  ...g,
742
742
  children: [
743
743
  /* @__PURE__ */ t.jsx(
744
- we,
744
+ Ce,
745
745
  {
746
- display: j,
747
- as: gt,
746
+ display: y,
747
+ as: xt,
748
748
  fontSize: "lg",
749
749
  color: "viridian.light",
750
750
  role: "img",
@@ -753,18 +753,18 @@ const Ke = 60, bt = 6, Nn = (n) => {
753
753
  }
754
754
  ),
755
755
  /* @__PURE__ */ t.jsxs(
756
- D,
757
- { alignItems: "center", gap: "1", width: P, children: [
756
+ T,
757
+ { alignItems: "center", gap: "1", width: A, children: [
758
758
  /* @__PURE__ */ t.jsx(
759
- W,
759
+ z,
760
760
  {
761
761
  fontSize: C,
762
762
  fontWeight: "medium",
763
763
  children: s
764
764
  }
765
765
  ),
766
- a && (typeof a == "string" ? /* @__PURE__ */ t.jsx(
767
- W,
766
+ i && (typeof i == "string" ? /* @__PURE__ */ t.jsx(
767
+ z,
768
768
  {
769
769
  fontSize: E,
770
770
  fontWeight: "medium",
@@ -774,14 +774,14 @@ const Ke = 60, bt = 6, Nn = (n) => {
774
774
  color: "viridian.base"
775
775
  }
776
776
  },
777
- children: a
777
+ children: i
778
778
  }
779
- ) : a),
779
+ ) : i),
780
780
  /* @__PURE__ */ t.jsx(
781
- we,
781
+ Ce,
782
782
  {
783
- display: F,
784
- as: gt,
783
+ display: H,
784
+ as: xt,
785
785
  fontSize: "2xl",
786
786
  color: "tints.uiGrey",
787
787
  role: "img",
@@ -795,11 +795,11 @@ const Ke = 60, bt = 6, Nn = (n) => {
795
795
  }
796
796
  );
797
797
  }
798
- ), Vn = Tt(
798
+ ), Vn = It(
799
799
  (n, o) => {
800
- const { children: s, isSelected: a, ...c } = n, u = n.backgroundColor || (a ? "tints.lightCream" : "transparent");
800
+ const { children: s, isSelected: i, ...c } = n, u = n.backgroundColor || (i ? "tints.lightCream" : "transparent");
801
801
  return /* @__PURE__ */ t.jsx(
802
- Et,
802
+ St,
803
803
  {
804
804
  ref: o,
805
805
  borderRadius: "full",
@@ -825,6 +825,13 @@ const Ke = 60, bt = 6, Nn = (n) => {
825
825
  textDecoration: "none",
826
826
  filter: "brightness(0.95)"
827
827
  },
828
+ _focusVisible: {
829
+ outline: "3px solid",
830
+ outlineColor: "viridian.base",
831
+ outlineOffset: "2px",
832
+ boxShadow: "0 0 0 5px rgba(255, 255, 255, 0.9)",
833
+ zIndex: 1
834
+ },
828
835
  ...c,
829
836
  children: s
830
837
  }
@@ -834,55 +841,55 @@ const Ke = 60, bt = 6, Nn = (n) => {
834
841
  title: n,
835
842
  description: o,
836
843
  imageSrc: s,
837
- imageElement: a,
844
+ imageElement: i,
838
845
  button: c,
839
846
  backgroundColor: u = "viridian.wash",
840
- onClick: d,
841
- href: h,
847
+ onClick: f,
848
+ href: d,
842
849
  linkComponent: g,
843
- forceMobileStyle: p = !1
850
+ forceMobileStyle: h = !1
844
851
  }) => {
845
- const v = g || oe, w = je(h, !!g), L = me({
852
+ const v = g || le, w = Ee(d, !!g), O = je({
846
853
  base: !1,
847
854
  tablet: !1,
848
855
  largeTablet: !1,
849
856
  desktop: !0
850
857
  });
851
858
  return /* @__PURE__ */ t.jsxs(
852
- D,
859
+ T,
853
860
  {
854
- direction: p ? "row" : ["row", null, null, "column"],
861
+ direction: h ? "row" : ["row", null, null, "column"],
855
862
  alignItems: "center",
856
863
  borderRadius: "xl",
857
864
  overflow: "hidden",
858
- height: p ? "80px" : ["80px", null, null, "272px"],
865
+ height: h ? "80px" : ["80px", null, null, "272px"],
859
866
  backgroundColor: u,
860
- onClick: d,
867
+ onClick: f,
861
868
  "data-testid": "spotlight-card",
862
869
  position: "relative",
863
870
  transition: "box-shadow 0.2s ease-in-out",
864
871
  border: "1px solid",
865
872
  borderColor: "transparent",
866
- minWidth: p ? "100%" : ["100%", null, null, "320px"],
867
- maxWidth: p ? "100%" : ["100%", null, null, "380px"],
873
+ minWidth: h ? "100%" : ["100%", null, null, "320px"],
874
+ maxWidth: h ? "100%" : ["100%", null, null, "380px"],
868
875
  _hover: {
869
876
  boxShadow: "lg",
870
877
  textDecoration: "none",
871
878
  border: "1px solid",
872
879
  borderColor: "tints.white"
873
880
  },
874
- as: p ? v : L ? D : v,
875
- ...p ? w : L ? {} : w,
881
+ as: h ? v : O ? T : v,
882
+ ...h ? w : O ? {} : w,
876
883
  children: [
877
884
  /* @__PURE__ */ t.jsx(
878
885
  R,
879
886
  {
880
- width: p ? "72px" : ["72px", null, null, "100%"],
881
- height: p ? "100%" : ["100%", null, null, "188px"],
887
+ width: h ? "72px" : ["72px", null, null, "100%"],
888
+ height: h ? "100%" : ["100%", null, null, "188px"],
882
889
  sx: {
883
890
  img: {
884
- height: p ? "100%" : L ? "188px" : "100%",
885
- objectFit: p ? "cover" : "contain"
891
+ height: h ? "100%" : O ? "188px" : "100%",
892
+ objectFit: h ? "cover" : "contain"
886
893
  }
887
894
  },
888
895
  children: s ? /* @__PURE__ */ t.jsx(
@@ -897,55 +904,55 @@ const Ke = 60, bt = 6, Nn = (n) => {
897
904
  ) : /* @__PURE__ */ t.jsx(
898
905
  R,
899
906
  {
900
- height: p ? 80 : [80, null, null, 188],
907
+ height: h ? 80 : [80, null, null, 188],
901
908
  overflow: "hidden",
902
- ...p ? { sx: { div: { height: "100%" } } } : {},
903
- children: a
909
+ ...h ? { sx: { div: { height: "100%" } } } : {},
910
+ children: i
904
911
  }
905
912
  )
906
913
  }
907
914
  ),
908
915
  /* @__PURE__ */ t.jsxs(
909
- D,
916
+ T,
910
917
  {
911
- direction: p ? "column" : ["column", null, null, "row"],
912
- justifyContent: p ? void 0 : [null, null, null, "space-between"],
913
- alignItems: p ? "left" : ["left", null, null, "center"],
918
+ direction: h ? "column" : ["column", null, null, "row"],
919
+ justifyContent: h ? void 0 : [null, null, null, "space-between"],
920
+ alignItems: h ? "left" : ["left", null, null, "center"],
914
921
  padding: "4",
915
- height: p ? "80px" : [
922
+ height: h ? "80px" : [
916
923
  "80px",
917
924
  null,
918
925
  null,
919
926
  "84px"
920
927
  ],
921
928
  width: "100%",
922
- bottom: p ? void 0 : [null, null, null, "0"],
923
- backgroundColor: p ? void 0 : [null, null, null, `${u}CC`],
924
- backdropFilter: p ? void 0 : [null, null, null, "blur(8px)"],
929
+ bottom: h ? void 0 : [null, null, null, "0"],
930
+ backgroundColor: h ? void 0 : [null, null, null, `${u}CC`],
931
+ backdropFilter: h ? void 0 : [null, null, null, "blur(8px)"],
925
932
  flex: "1",
926
- gap: p ? void 0 : [null, null, null, 3],
933
+ gap: h ? void 0 : [null, null, null, 3],
927
934
  children: [
928
935
  /* @__PURE__ */ t.jsxs(
929
- D,
936
+ T,
930
937
  { direction: "column", justifyContent: "center", height: "100%", children: [
931
938
  /* @__PURE__ */ t.jsx(
932
- W,
939
+ z,
933
940
  { fontSize: "lg", fontWeight: "medium", color: "tints.black", children: n }
934
941
  ),
935
942
  /* @__PURE__ */ t.jsx(
936
- W,
943
+ z,
937
944
  { fontSize: "sm", color: "tints.darkGrey", children: o }
938
945
  )
939
946
  ] }
940
947
  ),
941
- p ? null : L ? /* @__PURE__ */ t.jsx(R, { children: c }) : null
948
+ h ? null : O ? /* @__PURE__ */ t.jsx(R, { children: c }) : null
942
949
  ]
943
950
  }
944
951
  )
945
952
  ]
946
953
  }
947
954
  );
948
- }, et = (n) => /* @__PURE__ */ t.jsx(
955
+ }, nt = (n) => /* @__PURE__ */ t.jsx(
949
956
  tn,
950
957
  {
951
958
  size: "sm",
@@ -966,8 +973,8 @@ const Ke = 60, bt = 6, Nn = (n) => {
966
973
  },
967
974
  ...n
968
975
  }
969
- ), Lt = ({
970
- color: n = V.colors.viridian.base,
976
+ ), At = ({
977
+ color: n = G.colors.viridian.base,
971
978
  width: o
972
979
  }) => /* @__PURE__ */ t.jsx(
973
980
  Sn,
@@ -998,66 +1005,66 @@ const Ke = 60, bt = 6, Nn = (n) => {
998
1005
  desktopTopButtons: n,
999
1006
  logoLink: o = "https://www.everlywell.com",
1000
1007
  setTopOffset: s,
1001
- linkComponent: a,
1008
+ linkComponent: i,
1002
1009
  onLogoClick: c,
1003
1010
  rightSideButtons: u
1004
1011
  }) => {
1005
- const d = Cn(null), [h] = Qe(`(max-width: ${V.breakpoints.mediumTablet})`), [g] = Qe(`(max-width: ${V.breakpoints.mediumDesktop})`), p = It(() => {
1006
- if (d.current) {
1007
- const f = d.current.getBoundingClientRect();
1008
- s(f.bottom);
1012
+ const f = Cn(null), [d] = et(`(max-width: ${G.breakpoints.mediumTablet})`), [g] = et(`(max-width: ${G.breakpoints.mediumDesktop})`), h = Lt(() => {
1013
+ if (f.current) {
1014
+ const p = f.current.getBoundingClientRect();
1015
+ s(p.bottom);
1009
1016
  }
1010
1017
  }, []);
1011
1018
  return ee(() => {
1012
- p();
1013
- }, [p]), /* @__PURE__ */ t.jsx(
1019
+ h();
1020
+ }, [h]), /* @__PURE__ */ t.jsx(
1014
1021
  R,
1015
1022
  {
1016
- ref: d,
1023
+ ref: f,
1017
1024
  paddingY: "4",
1018
- paddingX: h ? 4 : g ? 6 : 8,
1025
+ paddingX: d ? 4 : g ? 6 : 8,
1019
1026
  borderBottom: "1px solid",
1020
1027
  borderColor: "tints.lightCream",
1021
1028
  backgroundColor: "tints.white",
1022
1029
  width: "100%",
1023
- onMouseEnter: p,
1030
+ onMouseEnter: h,
1024
1031
  children: /* @__PURE__ */ t.jsxs(
1025
- D,
1032
+ T,
1026
1033
  { justifyContent: "space-between", alignItems: "center", children: [
1027
1034
  /* @__PURE__ */ t.jsxs(
1028
- D,
1035
+ T,
1029
1036
  { alignItems: "center", gap: "5", children: [
1030
1037
  /* @__PURE__ */ t.jsx(
1031
1038
  R,
1032
1039
  {
1033
1040
  "aria-label": "Go to homepage",
1034
1041
  onClick: c,
1035
- as: a || oe,
1036
- ...je(o, !!a),
1037
- children: /* @__PURE__ */ t.jsx(Lt, { width: "116px" })
1042
+ as: i || le,
1043
+ ...Ee(o, !!i),
1044
+ children: /* @__PURE__ */ t.jsx(At, { width: "116px" })
1038
1045
  }
1039
1046
  ),
1040
1047
  /* @__PURE__ */ t.jsx(
1041
- D,
1048
+ T,
1042
1049
  { display: ["none", null, "none", "none", "flex", "flex"], children: n }
1043
1050
  )
1044
1051
  ] }
1045
1052
  ),
1046
1053
  /* @__PURE__ */ t.jsx(
1047
- D,
1054
+ T,
1048
1055
  { alignItems: "center", gap: "2", children: u }
1049
1056
  )
1050
1057
  ] }
1051
1058
  )
1052
1059
  }
1053
1060
  );
1054
- }, hr = ({
1061
+ }, gr = ({
1055
1062
  count: n = 0,
1056
1063
  ...o
1057
1064
  }) => /* @__PURE__ */ t.jsxs(
1058
1065
  R,
1059
1066
  { position: "relative", display: "inline-block", children: [
1060
- /* @__PURE__ */ t.jsx(et, { icon: /* @__PURE__ */ t.jsx(Tn, {}), ...o }),
1067
+ /* @__PURE__ */ t.jsx(nt, { icon: /* @__PURE__ */ t.jsx(Tn, {}), ...o }),
1061
1068
  n > 0 && /* @__PURE__ */ t.jsx(
1062
1069
  R,
1063
1070
  {
@@ -1080,7 +1087,7 @@ const Ke = 60, bt = 6, Nn = (n) => {
1080
1087
  }
1081
1088
  )
1082
1089
  ] }
1083
- ), gr = ({
1090
+ ), xr = ({
1084
1091
  numDesktopLinks: n = 5,
1085
1092
  showPromoButton: o = !1
1086
1093
  }) => /* @__PURE__ */ t.jsx(
@@ -1093,11 +1100,11 @@ const Ke = 60, bt = 6, Nn = (n) => {
1093
1100
  borderBottomWidth: "1px",
1094
1101
  borderColor: "tints.lightCream",
1095
1102
  children: /* @__PURE__ */ t.jsxs(
1096
- D,
1103
+ T,
1097
1104
  { justify: "space-between", align: "center", children: [
1098
- /* @__PURE__ */ t.jsx(Ze, { w: "120px", h: "48px" }),
1105
+ /* @__PURE__ */ t.jsx(Xe, { w: "120px", h: "48px" }),
1099
1106
  /* @__PURE__ */ t.jsxs(
1100
- ht,
1107
+ gt,
1101
1108
  {
1102
1109
  spacing: 8,
1103
1110
  marginLeft: 12,
@@ -1105,17 +1112,17 @@ const Ke = 60, bt = 6, Nn = (n) => {
1105
1112
  "data-testid": "desktop-nav",
1106
1113
  children: [
1107
1114
  Array.from({ length: n }).map(
1108
- (s, a) => /* @__PURE__ */ t.jsx(Ze, { width: "90px", height: "48px" }, a)
1115
+ (s, i) => /* @__PURE__ */ t.jsx(Xe, { width: "90px", height: "48px" }, i)
1109
1116
  ),
1110
- o && /* @__PURE__ */ t.jsx(Ze, { width: "110px", height: "48px", borderRadius: "full" })
1117
+ o && /* @__PURE__ */ t.jsx(Xe, { width: "110px", height: "48px", borderRadius: "full" })
1111
1118
  ]
1112
1119
  }
1113
1120
  ),
1114
1121
  /* @__PURE__ */ t.jsxs(
1115
- ht,
1122
+ gt,
1116
1123
  { spacing: 4, ml: "auto", children: [
1117
1124
  /* @__PURE__ */ t.jsx(
1118
- Me,
1125
+ He,
1119
1126
  {
1120
1127
  width: "120px",
1121
1128
  height: "48px",
@@ -1124,11 +1131,11 @@ const Ke = 60, bt = 6, Nn = (n) => {
1124
1131
  }
1125
1132
  ),
1126
1133
  " ",
1127
- /* @__PURE__ */ t.jsx(Me, { width: "48px", height: "48px" }),
1134
+ /* @__PURE__ */ t.jsx(He, { width: "48px", height: "48px" }),
1128
1135
  " ",
1129
- /* @__PURE__ */ t.jsx(Me, { width: "48px", height: "48px" }),
1136
+ /* @__PURE__ */ t.jsx(He, { width: "48px", height: "48px" }),
1130
1137
  " ",
1131
- /* @__PURE__ */ t.jsx(Me, { width: "48px", height: "48px" }),
1138
+ /* @__PURE__ */ t.jsx(He, { width: "48px", height: "48px" }),
1132
1139
  " "
1133
1140
  ] }
1134
1141
  )
@@ -1138,53 +1145,53 @@ const Ke = 60, bt = 6, Nn = (n) => {
1138
1145
  ) }
1139
1146
  ), Un = (n, o) => {
1140
1147
  let s;
1141
- return (...a) => {
1148
+ return (...i) => {
1142
1149
  s && clearTimeout(s), s = setTimeout(() => {
1143
- n(...a);
1150
+ n(...i);
1144
1151
  }, o);
1145
1152
  };
1146
- }, Xe = (n) => n.toLowerCase().replace(/['']/g, "").replace(/[^a-z0-9]/g, ""), Zn = (n, o) => {
1153
+ }, Qe = (n) => n.toLowerCase().replace(/['']/g, "").replace(/[^a-z0-9]/g, ""), Kn = (n, o) => {
1147
1154
  n.length < o.length && ([n, o] = [o, n]);
1148
- let s = Array(o.length + 1).fill(0), a = Array(o.length + 1).fill(0);
1155
+ let s = Array(o.length + 1).fill(0), i = Array(o.length + 1).fill(0);
1149
1156
  for (let c = 0; c <= o.length; c++)
1150
1157
  s[c] = c;
1151
1158
  for (let c = 1; c <= n.length; c++) {
1152
- a[0] = c;
1159
+ i[0] = c;
1153
1160
  for (let u = 1; u <= o.length; u++) {
1154
- const d = n[c - 1] === o[u - 1] ? 0 : 1;
1155
- a[u] = Math.min(
1156
- a[u - 1] + 1,
1161
+ const f = n[c - 1] === o[u - 1] ? 0 : 1;
1162
+ i[u] = Math.min(
1163
+ i[u - 1] + 1,
1157
1164
  // Insertion
1158
1165
  s[u] + 1,
1159
1166
  // Deletion
1160
- s[u - 1] + d
1167
+ s[u - 1] + f
1161
1168
  // Substitution
1162
1169
  );
1163
1170
  }
1164
- [s, a] = [a, s];
1171
+ [s, i] = [i, s];
1165
1172
  }
1166
1173
  return s[o.length];
1167
- }, He = (n, o, s = 0.6) => {
1174
+ }, ze = (n, o, s = 0.6) => {
1168
1175
  if (n.length <= 3 || o.length <= 3)
1169
1176
  return n.includes(o) || o.includes(n);
1170
- const a = Zn(n, o), c = Math.max(n.length, o.length);
1171
- return 1 - a / c >= s;
1172
- }, mt = (n, o) => {
1177
+ const i = Kn(n, o), c = Math.max(n.length, o.length);
1178
+ return 1 - i / c >= s;
1179
+ }, wt = (n, o) => {
1173
1180
  const s = n.split(/\s+/);
1174
- return o.length <= 4 ? s.some((a) => a.includes(o)) : s.some((a) => {
1175
- if (He(a, o))
1181
+ return o.length <= 4 ? s.some((i) => i.includes(o)) : s.some((i) => {
1182
+ if (ze(i, o))
1176
1183
  return !0;
1177
- if (a.length >= o.length)
1178
- for (let c = 0; c <= a.length - o.length; c++) {
1179
- const u = a.slice(c, c + o.length + 1);
1180
- if (He(o, u))
1184
+ if (i.length >= o.length)
1185
+ for (let c = 0; c <= i.length - o.length; c++) {
1186
+ const u = i.slice(c, c + o.length + 1);
1187
+ if (ze(o, u))
1181
1188
  return !0;
1182
1189
  }
1183
1190
  return !1;
1184
1191
  });
1185
- }, tt = "nav-drawer-hover", nt = "nav-drawer-animation-start", rt = "nav-drawer-animation-end", wt = (n) => {
1192
+ }, rt = "nav-drawer-hover", ot = "nav-drawer-animation-start", at = "nav-drawer-animation-end", yt = (n) => {
1186
1193
  window.dispatchEvent(
1187
- new CustomEvent(tt, {
1194
+ new CustomEvent(rt, {
1188
1195
  detail: { isHovering: n },
1189
1196
  bubbles: !0,
1190
1197
  cancelable: !0
@@ -1197,66 +1204,66 @@ const Ke = 60, bt = 6, Nn = (n) => {
1197
1204
  cancelable: !0
1198
1205
  })
1199
1206
  );
1200
- }, Kn = (n = !1, o = !1, s = !1) => n || !o ? "column" : s ? "row" : "row-reverse", Xn = ot(St), Jn = ot(kt), Je = ({
1207
+ }, Zn = (n = !1, o = !1, s = !1) => n || !o ? "column" : s ? "row" : "row-reverse", Xn = it(kt), Jn = it(Rt), qe = ({
1201
1208
  isOpen: n = !1,
1202
1209
  onClose: o,
1203
1210
  title: s,
1204
- navDrawerLinks: a,
1211
+ navDrawerLinks: i,
1205
1212
  bottomNavButtons: c,
1206
1213
  spotlightCards: u,
1207
- bottomButton: d,
1208
- hasBackButton: h = !0,
1214
+ bottomButton: f,
1215
+ hasBackButton: d = !0,
1209
1216
  onBackClick: g,
1210
- hasOnlySpotlightCards: p = !1,
1211
- hasSearch: f = !1,
1217
+ hasOnlySpotlightCards: h = !1,
1218
+ hasSearch: p = !1,
1212
1219
  onSearch: C = () => ({}),
1213
1220
  topOffset: E,
1214
1221
  forceMobilePlacement: v = !1
1215
1222
  }) => {
1216
- var ce, q, ue, de, te, B;
1217
- const w = me({
1223
+ var he, ne, ge, xe, oe, B;
1224
+ const w = je({
1218
1225
  base: !1,
1219
1226
  tablet: !1,
1220
1227
  largeTablet: !1,
1221
1228
  mediumDesktop: !0,
1222
1229
  desktop: !0,
1223
1230
  fullDesktop: !0
1224
- }) ?? !1, L = v ? "right" : w ? "top" : "right", b = L === "right", [H, S] = U(0), [j, P] = U(!1), F = () => {
1225
- S((T) => T + 1);
1226
- }, Y = It(
1227
- Un((T) => {
1228
- C(T), F();
1231
+ }) ?? !1, O = v ? "right" : w ? "top" : "right", b = O === "right", [$, S] = X(0), [y, A] = X(!1), H = () => {
1232
+ S((I) => I + 1);
1233
+ }, U = Lt(
1234
+ Un((I) => {
1235
+ C(I), H();
1229
1236
  }, 100),
1230
1237
  []
1231
1238
  );
1232
1239
  ee(() => {
1233
- n && (P(!0), jt(nt));
1240
+ n && (A(!0), jt(ot));
1234
1241
  }, [n]);
1235
- const Q = () => {
1236
- n || (P(!1), o()), jt(rt);
1242
+ const te = () => {
1243
+ n || (A(!1), o()), jt(at);
1237
1244
  };
1238
1245
  return /* @__PURE__ */ t.jsx(
1239
- Rt,
1246
+ _t,
1240
1247
  {
1241
- isOpen: j || n,
1248
+ isOpen: y || n,
1242
1249
  closeOnOverlayClick: !0,
1243
1250
  onClose: () => {
1244
- j && !b || o();
1251
+ y && !b || o();
1245
1252
  },
1246
- placement: L,
1253
+ placement: O,
1247
1254
  blockScrollOnMount: !1,
1248
1255
  autoFocus: !1,
1249
1256
  ...b ? {
1250
1257
  styleConfig: {
1251
1258
  baseStyle: {
1252
- ...V.components.Drawer.baseStyle,
1259
+ ...G.components.Drawer.baseStyle,
1253
1260
  dialogContainer: {
1254
- ...(q = (ce = V.components.Drawer) == null ? void 0 : ce.baseStyle) == null ? void 0 : q.dialogContainer,
1261
+ ...(ne = (he = G.components.Drawer) == null ? void 0 : he.baseStyle) == null ? void 0 : ne.dialogContainer,
1255
1262
  // Higher z-index for drawer content to be above overlay and navigation
1256
1263
  zIndex: "popover"
1257
1264
  },
1258
1265
  dialog: {
1259
- ...(de = (ue = V.components.Drawer) == null ? void 0 : ue.baseStyle) == null ? void 0 : de.dialog,
1266
+ ...(xe = (ge = G.components.Drawer) == null ? void 0 : ge.baseStyle) == null ? void 0 : xe.dialog,
1260
1267
  // Ensure mobile drawer doesn't expand to full width
1261
1268
  maxW: "560px",
1262
1269
  width: "auto"
@@ -1266,9 +1273,9 @@ const Ke = 60, bt = 6, Nn = (n) => {
1266
1273
  } : {
1267
1274
  styleConfig: {
1268
1275
  baseStyle: {
1269
- ...V.components.Drawer.baseStyle,
1276
+ ...G.components.Drawer.baseStyle,
1270
1277
  dialogContainer: {
1271
- ...(B = (te = V.components.Drawer) == null ? void 0 : te.baseStyle) == null ? void 0 : B.dialogContainer,
1278
+ ...(B = (oe = G.components.Drawer) == null ? void 0 : oe.baseStyle) == null ? void 0 : B.dialogContainer,
1272
1279
  // Push the drawer down by the top offset on desktop to not cover the top navigation
1273
1280
  top: `${E}px`,
1274
1281
  // Lower index on desktop to make sure the drawer is below the top navigation
@@ -1304,15 +1311,15 @@ const Ke = 60, bt = 6, Nn = (n) => {
1304
1311
  /* @__PURE__ */ t.jsxs(
1305
1312
  Xn,
1306
1313
  {
1307
- onClick: (T) => {
1308
- const Z = T.target.closest("a");
1309
- Z && Z.href === window.location.href && o();
1314
+ onClick: (I) => {
1315
+ const ae = I.target.closest("a");
1316
+ ae && ae.href === window.location.href && o();
1310
1317
  },
1311
1318
  onMouseEnter: () => {
1312
- b || wt(!0);
1319
+ b || yt(!0);
1313
1320
  },
1314
- onMouseLeave: (T) => {
1315
- b || (!f || f && (T.target === T.currentTarget || !T.currentTarget.contains(T.target) && !j)) && wt(!1);
1321
+ onMouseLeave: (I) => {
1322
+ b || (!p || p && (I.target === I.currentTarget || !I.currentTarget.contains(I.target) && !y)) && yt(!1);
1316
1323
  },
1317
1324
  paddingTop: "4",
1318
1325
  paddingX: b ? "4" : "12",
@@ -1321,7 +1328,7 @@ const Ke = 60, bt = 6, Nn = (n) => {
1321
1328
  maxHeight: "100vh",
1322
1329
  position: "relative",
1323
1330
  top: b ? void 0 : `${E}px !important`,
1324
- onAnimationComplete: Q,
1331
+ onAnimationComplete: te,
1325
1332
  boxShadow: "none",
1326
1333
  ...b ? {
1327
1334
  // Mobile drawers should use slide animation, not height expansion
@@ -1335,22 +1342,22 @@ const Ke = 60, bt = 6, Nn = (n) => {
1335
1342
  transition: { duration: 0.3 }
1336
1343
  },
1337
1344
  children: [
1338
- !f && !b ? null : /* @__PURE__ */ t.jsxs(
1339
- _t,
1345
+ !p && !b ? null : /* @__PURE__ */ t.jsxs(
1346
+ Dt,
1340
1347
  {
1341
1348
  padding: "0",
1342
- flexDirection: f ? "column" : "row",
1343
- gap: f ? "4" : "0",
1349
+ flexDirection: p ? "column" : "row",
1350
+ gap: p ? "4" : "0",
1344
1351
  children: [
1345
1352
  b ? /* @__PURE__ */ t.jsxs(
1346
- D,
1353
+ T,
1347
1354
  {
1348
1355
  width: "100%",
1349
1356
  justifyContent: "space-between",
1350
1357
  alignItems: "center",
1351
1358
  children: [
1352
- h ? /* @__PURE__ */ t.jsx(
1353
- et,
1359
+ d ? /* @__PURE__ */ t.jsx(
1360
+ nt,
1354
1361
  {
1355
1362
  icon: /* @__PURE__ */ t.jsx(In, {}),
1356
1363
  onClick: () => {
@@ -1360,7 +1367,7 @@ const Ke = 60, bt = 6, Nn = (n) => {
1360
1367
  }
1361
1368
  ) : null,
1362
1369
  /* @__PURE__ */ t.jsx(
1363
- W,
1370
+ z,
1364
1371
  {
1365
1372
  color: "tints.uiGrey",
1366
1373
  fontSize: "xl",
@@ -1368,7 +1375,7 @@ const Ke = 60, bt = 6, Nn = (n) => {
1368
1375
  }
1369
1376
  ),
1370
1377
  /* @__PURE__ */ t.jsx(
1371
- et,
1378
+ nt,
1372
1379
  {
1373
1380
  icon: /* @__PURE__ */ t.jsx(Ot, {}),
1374
1381
  onClick: o,
@@ -1378,14 +1385,14 @@ const Ke = 60, bt = 6, Nn = (n) => {
1378
1385
  ]
1379
1386
  }
1380
1387
  ) : null,
1381
- f && /* @__PURE__ */ t.jsxs(
1388
+ p && /* @__PURE__ */ t.jsxs(
1382
1389
  kn,
1383
1390
  { width: "100%", children: [
1384
1391
  /* @__PURE__ */ t.jsx(
1385
1392
  Rn,
1386
1393
  {
1387
- onChange: (T) => {
1388
- Y(T.target.value);
1394
+ onChange: (I) => {
1395
+ U(I.target.value);
1389
1396
  },
1390
1397
  placeholder: "Search",
1391
1398
  autoFocus: !0,
@@ -1395,7 +1402,7 @@ const Ke = 60, bt = 6, Nn = (n) => {
1395
1402
  ),
1396
1403
  /* @__PURE__ */ t.jsx(
1397
1404
  _n,
1398
- { pointerEvents: "none", children: /* @__PURE__ */ t.jsx(Dn, { as: On, color: "gray.500" }) }
1405
+ { pointerEvents: "none", children: /* @__PURE__ */ t.jsx(Dn, { as: Ln, color: "gray.500" }) }
1399
1406
  )
1400
1407
  ] }
1401
1408
  )
@@ -1403,13 +1410,13 @@ const Ke = 60, bt = 6, Nn = (n) => {
1403
1410
  }
1404
1411
  ),
1405
1412
  /* @__PURE__ */ t.jsx(
1406
- Dt,
1413
+ Tt,
1407
1414
  {
1408
1415
  paddingX: "0",
1409
1416
  paddingBottom: b ? "6" : "4",
1410
1417
  "data-testid": `navbar-drawer-body-${s.toLowerCase()}`,
1411
1418
  children: /* @__PURE__ */ t.jsxs(
1412
- ot.div,
1419
+ it.div,
1413
1420
  {
1414
1421
  ...b ? {} : {
1415
1422
  initial: { opacity: 0, y: -5 },
@@ -1428,10 +1435,10 @@ const Ke = 60, bt = 6, Nn = (n) => {
1428
1435
  },
1429
1436
  style: {
1430
1437
  display: "flex",
1431
- flexDirection: Kn(
1432
- p,
1438
+ flexDirection: Zn(
1439
+ h,
1433
1440
  !b,
1434
- f
1441
+ p
1435
1442
  ),
1436
1443
  gap: "24px",
1437
1444
  justifyContent: "space-between"
@@ -1451,23 +1458,23 @@ const Ke = 60, bt = 6, Nn = (n) => {
1451
1458
  }
1452
1459
  ) : null,
1453
1460
  /* @__PURE__ */ t.jsxs(
1454
- D,
1461
+ T,
1455
1462
  {
1456
1463
  position: b ? void 0 : "relative",
1457
1464
  flexDirection: "column",
1458
1465
  gap: "6",
1459
- width: b ? "100%" : f ? void 0 : "auto",
1466
+ width: b ? "100%" : p ? void 0 : "auto",
1460
1467
  children: [
1461
- a ? /* @__PURE__ */ t.jsx(R, { children: a }) : null,
1468
+ i ? /* @__PURE__ */ t.jsx(R, { children: i }) : null,
1462
1469
  c && b ? /* @__PURE__ */ t.jsx(R, { children: c }) : null,
1463
- d ? /* @__PURE__ */ t.jsx(
1470
+ f ? /* @__PURE__ */ t.jsx(
1464
1471
  R,
1465
1472
  {
1466
1473
  width: "100%",
1467
1474
  position: b ? void 0 : "absolute",
1468
1475
  bottom: b ? void 0 : 0,
1469
1476
  ...b ? { sx: { a: { width: "100%" } } } : {},
1470
- children: d
1477
+ children: f
1471
1478
  }
1472
1479
  ) : null
1473
1480
  ]
@@ -1475,7 +1482,7 @@ const Ke = 60, bt = 6, Nn = (n) => {
1475
1482
  )
1476
1483
  ]
1477
1484
  },
1478
- H
1485
+ $
1479
1486
  )
1480
1487
  }
1481
1488
  )
@@ -1492,48 +1499,48 @@ const Ke = 60, bt = 6, Nn = (n) => {
1492
1499
  onSearchCallback: o,
1493
1500
  isActive: s
1494
1501
  }) => {
1495
- const [a, c] = U(""), [u, d] = U([]), h = (f, C) => {
1496
- if (!f) return [];
1497
- const v = Xe(f).split(/\s+/);
1502
+ const [i, c] = X(""), [u, f] = X([]), d = (p, C) => {
1503
+ if (!p) return [];
1504
+ const v = Qe(p).split(/\s+/);
1498
1505
  return C.filter((w) => {
1499
- const L = Xe(w.label);
1500
- if (v.some((P) => mt(L, P))) return !0;
1501
- const H = L.split(/\s+/), S = v.some((P) => H.some((F) => F.includes(P) || He(P, F))), j = typeof w.additionalContent == "string" && v.some((P) => {
1502
- const F = Xe(w.additionalContent);
1503
- return mt(F, P) || F.split(/\s+/).some((Y) => Y.includes(P) || He(P, Y));
1506
+ const O = Qe(w.label);
1507
+ if (v.some((A) => wt(O, A))) return !0;
1508
+ const $ = O.split(/\s+/), S = v.some((A) => $.some((H) => H.includes(A) || ze(A, H))), y = typeof w.additionalContent == "string" && v.some((A) => {
1509
+ const H = Qe(w.additionalContent);
1510
+ return wt(H, A) || H.split(/\s+/).some((U) => U.includes(A) || ze(A, U));
1504
1511
  });
1505
- return S || j;
1506
- }).sort((w, L) => w.label.localeCompare(L.label));
1507
- }, g = (f) => {
1508
- if (c(f), !f) {
1509
- d([]);
1512
+ return S || y;
1513
+ }).sort((w, O) => w.label.localeCompare(O.label));
1514
+ }, g = (p) => {
1515
+ if (c(p), !p) {
1516
+ f([]);
1510
1517
  return;
1511
1518
  }
1512
- const C = h(f, n);
1513
- d(C), o && o(f, C);
1514
- }, p = () => {
1515
- c(""), d([]);
1519
+ const C = d(p, n);
1520
+ f(C), o && o(p, C);
1521
+ }, h = () => {
1522
+ c(""), f([]);
1516
1523
  };
1517
1524
  return ee(() => {
1518
- s || (c(""), d([]));
1525
+ s || (c(""), f([]));
1519
1526
  }, [s]), {
1520
- query: a,
1527
+ query: i,
1521
1528
  results: u,
1522
- handleClose: p,
1529
+ handleClose: h,
1523
1530
  handleSearch: g
1524
1531
  };
1525
1532
  }, qn = (n) => {
1526
1533
  const o = /* @__PURE__ */ new Set();
1527
- return n.reduce((s, a) => {
1534
+ return n.reduce((s, i) => {
1528
1535
  var u;
1529
- const c = ((u = a.sections) == null ? void 0 : u.reduce((d, h) => {
1530
- const g = h.links.filter((p) => o.has(p.label) || p.isSearchable !== !0 ? !1 : (o.add(p.label), !0));
1531
- return [...d, ...g];
1536
+ const c = ((u = i.sections) == null ? void 0 : u.reduce((f, d) => {
1537
+ const g = d.links.filter((h) => o.has(h.label) || h.isSearchable !== !0 ? !1 : (o.add(h.label), !0));
1538
+ return [...f, ...g];
1532
1539
  }, [])) ?? [];
1533
1540
  return [...s, ...c];
1534
1541
  }, []);
1535
1542
  }, er = () => {
1536
- const [n, o] = U(!1), [s, a] = U(!1), [c, u] = U(null);
1543
+ const [n, o] = X(!1), [s, i] = X(!1), [c, u] = X(null);
1537
1544
  return {
1538
1545
  isMainMenuOpen: n,
1539
1546
  isSearchOpen: s,
@@ -1543,60 +1550,69 @@ const Ke = 60, bt = 6, Nn = (n) => {
1543
1550
  closeMainMenu: () => {
1544
1551
  o(!1), u(null);
1545
1552
  },
1546
- closeSearch: () => a(!1),
1547
- toggleSearch: () => a((v) => !v),
1553
+ closeSearch: () => i(!1),
1554
+ toggleSearch: () => i((v) => !v),
1548
1555
  openMainMenu: () => o(!0),
1549
- openSearch: () => a(!0)
1556
+ openSearch: () => i(!0)
1550
1557
  };
1551
- }, xr = ({
1558
+ }, tr = "#28724F", vr = ({
1552
1559
  categories: n = [],
1553
1560
  mainCategoryLabel: o = "Menu",
1554
1561
  logoLink: s = "https://www.everlywell.com",
1555
- mobileBottomButtons: a = [],
1562
+ mobileBottomButtons: i = [],
1556
1563
  linkComponent: c,
1557
1564
  onSearchCallback: u,
1558
- onLinkClick: d,
1559
- onCategoryOpen: h,
1565
+ onLinkClick: f,
1566
+ onCategoryOpen: d,
1560
1567
  onLogoClick: g,
1561
- shopAllProductsUrl: p,
1562
- onShopAllProductsClick: f,
1568
+ shopAllProductsUrl: h,
1569
+ onShopAllProductsClick: p,
1563
1570
  hideableButtons: C,
1564
1571
  children: E
1565
1572
  }) => {
1566
- var Se, ke, ie;
1573
+ var De, de, Fe;
1567
1574
  const v = er(), {
1568
1575
  isMainMenuOpen: w,
1569
- isSearchOpen: L,
1576
+ isSearchOpen: O,
1570
1577
  closeMainMenu: b,
1571
- closeSearch: H,
1578
+ closeSearch: $,
1572
1579
  clearSelectedCategory: S,
1573
- selectedCategory: j,
1574
- handleSelectCategory: P
1575
- } = v, [F, Y] = U(!1), [Q, ce] = U(!1), [q, ue] = U(0), [de, te] = U(!1), [B, T] = U(!1);
1580
+ selectedCategory: y,
1581
+ handleSelectCategory: A
1582
+ } = v, [H, U] = X(!1), [te, he] = X(!1), [ne, ge] = X(0), [xe, oe] = X(!1), [B, I] = X(!1), J = se.useRef(!1);
1576
1583
  ee(() => {
1577
- const i = () => te(!0), O = () => te(!1);
1578
- return window.addEventListener(nt, i), window.addEventListener(rt, O), () => {
1584
+ const a = () => {
1585
+ J.current = !0;
1586
+ }, _ = () => {
1587
+ J.current = !1;
1588
+ };
1589
+ return document.addEventListener("keydown", a, !0), document.addEventListener("mousedown", _, !0), () => {
1590
+ document.removeEventListener("keydown", a, !0), document.removeEventListener("mousedown", _, !0);
1591
+ };
1592
+ }, []), ee(() => {
1593
+ const a = () => oe(!0), _ = () => oe(!1);
1594
+ return window.addEventListener(ot, a), window.addEventListener(at, _), () => {
1579
1595
  window.removeEventListener(
1580
- nt,
1581
- i
1582
- ), window.removeEventListener(rt, O);
1596
+ ot,
1597
+ a
1598
+ ), window.removeEventListener(at, _);
1583
1599
  };
1584
1600
  }, []);
1585
- const X = me({
1601
+ const ae = je({
1586
1602
  base: !1,
1587
1603
  tablet: !1,
1588
1604
  largeTablet: !1,
1589
1605
  mediumDesktop: !0,
1590
1606
  desktop: !0,
1591
1607
  fullDesktop: !0
1592
- }) ?? !1, Z = me({
1608
+ }) ?? !1, ie = je({
1593
1609
  base: !1,
1594
1610
  tablet: !1,
1595
1611
  largeTablet: !1,
1596
1612
  mediumDesktop: !1,
1597
1613
  desktop: !1,
1598
1614
  fullDesktop: !0
1599
- }) ?? !1, Te = !Z, Ie = me({
1615
+ }) ?? !1, Le = !ie, Oe = je({
1600
1616
  base: !0,
1601
1617
  tablet: !0,
1602
1618
  largeTablet: !0,
@@ -1606,33 +1622,33 @@ const Ke = 60, bt = 6, Nn = (n) => {
1606
1622
  }) ?? !0;
1607
1623
  ee(() => {
1608
1624
  b(), S();
1609
- }, [X]);
1625
+ }, [ae]);
1610
1626
  const {
1611
- query: Oe,
1612
- results: fe,
1613
- handleSearch: Le
1627
+ query: Ae,
1628
+ results: ve,
1629
+ handleSearch: Pe
1614
1630
  } = Qn({
1615
1631
  source: qn(n),
1616
1632
  onSearchCallback: u,
1617
- isActive: L
1618
- }), ye = fe.length > 0, pe = c || oe, Fe = je(p, !!c), Be = Oe && /* @__PURE__ */ t.jsxs(
1619
- D,
1620
- { gap: ye ? "6" : 0, direction: "column", children: [
1621
- ye ? /* @__PURE__ */ t.jsx(W, { color: "tints.uiGrey", children: `${fe.length} Results` }) : /* @__PURE__ */ t.jsxs(
1622
- D,
1633
+ isActive: O
1634
+ }), Se = ve.length > 0, ke = c || le, We = Ee(h, !!c), Re = Ae && /* @__PURE__ */ t.jsxs(
1635
+ T,
1636
+ { gap: Se ? "6" : 0, direction: "column", children: [
1637
+ Se ? /* @__PURE__ */ t.jsx(z, { color: "tints.uiGrey", children: `${ve.length} Results` }) : /* @__PURE__ */ t.jsxs(
1638
+ T,
1623
1639
  { direction: "column", gap: "6", alignItems: "flex-start", children: [
1624
1640
  /* @__PURE__ */ t.jsx(
1625
- W,
1641
+ z,
1626
1642
  { color: "tints.uiGrey", children: "We didn't find what you were looking for." }
1627
1643
  ),
1628
1644
  /* @__PURE__ */ t.jsx(
1629
- Et,
1645
+ St,
1630
1646
  {
1631
- as: pe,
1632
- onClick: f,
1647
+ as: ke,
1648
+ onClick: p,
1633
1649
  _hover: { textDecoration: "none" },
1634
1650
  width: ["100%", null, null, "auto"],
1635
- ...Fe,
1651
+ ...We,
1636
1652
  children: "Shop all products"
1637
1653
  }
1638
1654
  )
@@ -1640,194 +1656,215 @@ const Ke = 60, bt = 6, Nn = (n) => {
1640
1656
  ),
1641
1657
  /* @__PURE__ */ t.jsx(
1642
1658
  rn,
1643
- { columns: [1, 1, 1, 4], children: fe.map(
1644
- (i, O) => /* @__PURE__ */ t.jsx(
1659
+ { columns: [1, 1, 1, 4], children: ve.map(
1660
+ (a, _) => /* @__PURE__ */ t.jsx(
1645
1661
  on,
1646
1662
  { children: /* @__PURE__ */ t.jsx(
1647
- $e,
1663
+ Be,
1648
1664
  {
1649
- href: i.href,
1650
- label: i.label,
1651
- additionalContent: i == null ? void 0 : i.additionalContent,
1665
+ href: a.href,
1666
+ label: a.label,
1667
+ additionalContent: a == null ? void 0 : a.additionalContent,
1652
1668
  linkComponent: c,
1653
- forceMobileStyle: !X
1669
+ forceMobileStyle: !ae
1654
1670
  }
1655
1671
  ) },
1656
- `${i.label}-${O}`
1672
+ `${a.label}-${_}`
1657
1673
  )
1658
1674
  ) }
1659
1675
  )
1660
1676
  ] }
1661
- ), K = (i) => "href" in i, Ce = (i) => {
1662
- K(i) ? d == null || d(i.label) : (T(w || !Z), P(i));
1663
- }, he = (i) => {
1664
- Y(!0), H(), S(), !K(i) && (i.sections || i.spotlightCards) && (T(!1), P(i));
1665
- }, Ee = () => {
1666
- Y(!1);
1677
+ ), K = (a) => "href" in a, be = (a) => {
1678
+ K(a) ? f == null || f(a.label) : (I(w || !ie), A(a));
1679
+ }, ce = (a) => {
1680
+ U(!0), $(), S(), !K(a) && (a.sections || a.spotlightCards) && (I(!1), A(a));
1681
+ }, me = () => {
1682
+ U(!1);
1667
1683
  };
1668
1684
  ee(() => {
1669
- const i = (O) => {
1670
- ce(O.detail.isHovering);
1685
+ const a = (_) => {
1686
+ he(_.detail.isHovering);
1671
1687
  };
1672
1688
  return window.addEventListener(
1673
- tt,
1674
- i
1689
+ rt,
1690
+ a
1675
1691
  ), () => {
1676
1692
  window.removeEventListener(
1677
- tt,
1678
- i
1693
+ rt,
1694
+ a
1679
1695
  );
1680
1696
  };
1681
1697
  }, []), ee(() => {
1682
- !F && !Q && (S(), H(), !w && Z && T(!1));
1683
- }, [F, Q, w, Z]), ee(() => {
1684
- let i = window.location.href;
1685
- const O = () => {
1686
- const $ = window.location.href;
1687
- $ !== i && (i = $, b(), S());
1688
- }, I = setInterval(O, 100);
1689
- return window.addEventListener("popstate", O), () => {
1690
- window.removeEventListener("popstate", O), clearInterval(I);
1698
+ !H && !te && (S(), $(), !w && ie && I(!1));
1699
+ }, [H, te, w, ie]), ee(() => {
1700
+ let a = window.location.href;
1701
+ const _ = () => {
1702
+ const F = window.location.href;
1703
+ F !== a && (a = F, b(), S());
1704
+ }, L = setInterval(_, 100);
1705
+ return window.addEventListener("popstate", _), () => {
1706
+ window.removeEventListener("popstate", _), clearInterval(L);
1691
1707
  };
1692
1708
  }, []);
1693
- const ne = (i) => K(i) && (!i.buttonProps || Object.keys(i.buttonProps).length === 0 || i.buttonProps === void 0), We = n == null ? void 0 : n.map((i, O) => {
1694
- var $, xe;
1695
- const I = C.includes(i.label);
1709
+ const _e = (a) => K(a) && (!a.buttonProps || Object.keys(a.buttonProps).length === 0 || a.buttonProps === void 0), Me = n == null ? void 0 : n.map((a, _) => {
1710
+ var Q, q;
1711
+ const L = C.includes(a.label), F = !K(a), fe = (y == null ? void 0 : y.label) === a.label;
1696
1712
  return /* @__PURE__ */ t.jsx(
1697
1713
  Vn,
1698
1714
  {
1699
1715
  height: "48px",
1700
1716
  paddingInline: "16px !important",
1701
1717
  onMouseEnter: () => {
1702
- he(i), h == null || h(i.label);
1718
+ ce(a), d == null || d(a.label);
1703
1719
  },
1704
- onMouseLeave: Ee,
1705
- isSelected: (j == null ? void 0 : j.label) === i.label,
1706
- as: K(i) && pe ? pe : oe,
1707
- href: K(i) ? i.href : void 0,
1708
- onClick: K(i) ? () => d == null ? void 0 : d(i.label) : void 0,
1709
- ...I && {
1720
+ onMouseLeave: me,
1721
+ isSelected: fe,
1722
+ as: K(a) && ke ? ke : le,
1723
+ href: K(a) ? a.href : void 0,
1724
+ onClick: K(a) ? () => f == null ? void 0 : f(a.label) : () => {
1725
+ ce(a), d == null || d(a.label);
1726
+ },
1727
+ ...F && {
1728
+ tabIndex: 0,
1729
+ role: "button",
1730
+ "aria-haspopup": "true",
1731
+ "aria-expanded": fe,
1732
+ onKeyDown: (re) => {
1733
+ (re.key === "Enter" || re.key === " ") && (re.preventDefault(), ce(a), d == null || d(a.label));
1734
+ },
1735
+ // Inline styles bypass Chakra's emotion cascade and the
1736
+ // focus-visible polyfill entirely — nothing can override them.
1737
+ onFocus: (re) => {
1738
+ const N = re.currentTarget;
1739
+ J.current && (N.style.outline = `3px solid ${tr}`, N.style.outlineOffset = "2px", N.style.boxShadow = "0 0 0 5px rgba(255,255,255,0.9)", N.style.borderRadius = "9999px", N.style.zIndex = "1");
1740
+ },
1741
+ onBlur: (re) => {
1742
+ const N = re.currentTarget;
1743
+ N.style.outline = "", N.style.outlineOffset = "", N.style.boxShadow = "", N.style.borderRadius = "", N.style.zIndex = "";
1744
+ }
1745
+ },
1746
+ ...L && {
1710
1747
  display: { base: "none", fullDesktop: "flex" }
1711
1748
  },
1712
- ...(($ = i == null ? void 0 : i.context) == null ? void 0 : $.desktop) === "link" || ne(i) ? {
1749
+ ...((Q = a == null ? void 0 : a.context) == null ? void 0 : Q.desktop) === "link" || _e(a) ? {
1713
1750
  _hover: {
1714
1751
  backgroundColor: "tints.lightCream",
1715
1752
  textDecoration: "none",
1716
1753
  filter: "brightness(0.95)"
1717
1754
  }
1718
1755
  } : {},
1719
- ...((xe = i == null ? void 0 : i.context) == null ? void 0 : xe.desktop) !== "link" && i.buttonProps,
1720
- children: i.label
1756
+ ...((q = a == null ? void 0 : a.context) == null ? void 0 : q.desktop) !== "link" && a.buttonProps,
1757
+ children: a.label
1721
1758
  },
1722
- `${i.label}-${O}`
1759
+ `${a.label}-${_}`
1723
1760
  );
1724
- }), Pe = (Se = n.filter(
1725
- (i) => {
1726
- var O;
1727
- return ((O = i == null ? void 0 : i.context) == null ? void 0 : O.mobile) === "link" || (!K(i) && i.isMobileTopLink !== !1 || ne(i)) && (Te && C.includes(i.label) || Ie);
1761
+ }), Ne = (De = n.filter(
1762
+ (a) => {
1763
+ var _;
1764
+ return ((_ = a == null ? void 0 : a.context) == null ? void 0 : _.mobile) === "link" || (!K(a) && a.isMobileTopLink !== !1 || _e(a)) && (Le && C.includes(a.label) || Oe);
1728
1765
  }
1729
- )) == null ? void 0 : Se.map((i, O) => {
1730
- var $;
1731
- const I = i;
1732
- return ne(I) || (($ = I == null ? void 0 : I.context) == null ? void 0 : $.mobile) === "link" ? /* @__PURE__ */ t.jsx(
1766
+ )) == null ? void 0 : De.map((a, _) => {
1767
+ var F;
1768
+ const L = a;
1769
+ return _e(L) || ((F = L == null ? void 0 : L.context) == null ? void 0 : F.mobile) === "link" ? /* @__PURE__ */ t.jsx(
1733
1770
  R,
1734
1771
  { children: /* @__PURE__ */ t.jsx(
1735
- $e,
1772
+ Be,
1736
1773
  {
1737
- label: I.label,
1774
+ label: L.label,
1738
1775
  role: "link",
1739
- href: I.href,
1776
+ href: L.href,
1740
1777
  mainTextFontSize: "3xl",
1741
1778
  linkComponent: c,
1742
1779
  forceMobileStyle: !0
1743
1780
  }
1744
1781
  ) },
1745
- `${I.label}-${O}`
1782
+ `${L.label}-${_}`
1746
1783
  ) : /* @__PURE__ */ t.jsx(
1747
1784
  R,
1748
1785
  {
1749
1786
  onClick: () => {
1750
- Ce(I), h == null || h(I.label);
1787
+ be(L), d == null || d(L.label);
1751
1788
  },
1752
1789
  children: /* @__PURE__ */ t.jsx(
1753
- $e,
1790
+ Be,
1754
1791
  {
1755
- label: I.label,
1792
+ label: L.label,
1756
1793
  role: "link",
1757
- additionalContent: I.additionalContent,
1794
+ additionalContent: L.additionalContent,
1758
1795
  mainTextFontSize: "3xl",
1759
1796
  linkComponent: c,
1760
1797
  forceMobileStyle: !0
1761
1798
  }
1762
1799
  )
1763
1800
  },
1764
- `${I.label}-${O}`
1801
+ `${L.label}-${_}`
1765
1802
  );
1766
- }), ze = /* @__PURE__ */ t.jsx(
1767
- D,
1768
- { gap: "2", flexDirection: "column", children: a }
1769
- ), J = B || w, ge = j ? /* @__PURE__ */ t.jsx(
1770
- D,
1771
- { direction: J ? "column" : ["column", null, null, "row"], gap: "8", children: (ke = j == null ? void 0 : j.sections) == null ? void 0 : ke.map((i, O) => {
1772
- const I = [];
1773
- for (let $ = 0; $ < i.links.length; $ += 3)
1774
- I.push(i.links.slice($, $ + 3));
1803
+ }), Ve = /* @__PURE__ */ t.jsx(
1804
+ T,
1805
+ { gap: "2", flexDirection: "column", children: i }
1806
+ ), Y = B || w, ue = y ? /* @__PURE__ */ t.jsx(
1807
+ T,
1808
+ { direction: Y ? "column" : ["column", null, null, "row"], gap: "8", children: (de = y == null ? void 0 : y.sections) == null ? void 0 : de.map((a, _) => {
1809
+ const L = [];
1810
+ for (let F = 0; F < a.links.length; F += 3)
1811
+ L.push(a.links.slice(F, F + 3));
1775
1812
  return /* @__PURE__ */ t.jsxs(
1776
1813
  R,
1777
1814
  { children: [
1778
1815
  /* @__PURE__ */ t.jsx(
1779
- W,
1816
+ z,
1780
1817
  {
1781
1818
  fontSize: "md",
1782
1819
  color: "tints.uiGrey",
1783
- marginBottom: J ? 0 : [0, null, null, 6],
1784
- children: i.title
1820
+ marginBottom: Y ? 0 : [0, null, null, 6],
1821
+ children: a.title
1785
1822
  }
1786
1823
  ),
1787
1824
  /* @__PURE__ */ t.jsx(
1788
- D,
1825
+ T,
1789
1826
  {
1790
- flexDirection: J ? "column" : ["column", null, null, "row"],
1791
- gap: J ? void 0 : [null, null, null, 8],
1792
- children: I == null ? void 0 : I.map(
1793
- ($, xe) => /* @__PURE__ */ t.jsx(
1794
- D,
1827
+ flexDirection: Y ? "column" : ["column", null, null, "row"],
1828
+ gap: Y ? void 0 : [null, null, null, 8],
1829
+ children: L == null ? void 0 : L.map(
1830
+ (F, fe) => /* @__PURE__ */ t.jsx(
1831
+ T,
1795
1832
  {
1796
1833
  flexDirection: "column",
1797
- gap: J ? void 0 : [null, null, null, 5],
1798
- marginLeft: J ? void 0 : [null, null, null, -2],
1799
- children: $ == null ? void 0 : $.map(
1800
- (re, Ae) => /* @__PURE__ */ t.jsx(
1801
- $e,
1834
+ gap: Y ? void 0 : [null, null, null, 5],
1835
+ marginLeft: Y ? void 0 : [null, null, null, -2],
1836
+ children: F == null ? void 0 : F.map(
1837
+ (Q, q) => /* @__PURE__ */ t.jsx(
1838
+ Be,
1802
1839
  {
1803
- label: re.label,
1804
- href: re.href,
1805
- additionalContent: re.additionalContent,
1840
+ label: Q.label,
1841
+ href: Q.href,
1842
+ additionalContent: Q.additionalContent,
1806
1843
  linkComponent: c,
1807
- forceMobileStyle: J,
1808
- onClick: () => d == null ? void 0 : d(re.label)
1844
+ forceMobileStyle: Y,
1845
+ onClick: () => f == null ? void 0 : f(Q.label)
1809
1846
  },
1810
- `${re.label}-${Ae}`
1847
+ `${Q.label}-${q}`
1811
1848
  )
1812
1849
  )
1813
1850
  },
1814
- xe
1851
+ fe
1815
1852
  )
1816
1853
  )
1817
1854
  }
1818
1855
  )
1819
1856
  ] },
1820
- `${i.title}-${O}`
1857
+ `${a.title}-${_}`
1821
1858
  );
1822
1859
  }) }
1823
- ) : null, ae = j != null && j.spotlightCards ? (ie = j.spotlightCards) == null ? void 0 : ie.map(
1824
- (i, O) => /* @__PURE__ */ t.jsx(
1860
+ ) : null, $e = y != null && y.spotlightCards ? (Fe = y.spotlightCards) == null ? void 0 : Fe.map(
1861
+ (a, _) => /* @__PURE__ */ t.jsx(
1825
1862
  Yn,
1826
1863
  {
1827
- ...i,
1828
- forceMobileStyle: J
1864
+ ...a,
1865
+ forceMobileStyle: Y
1829
1866
  },
1830
- `${i.title}-${O}`
1867
+ `${a.title}-${_}`
1831
1868
  )
1832
1869
  ) : /* @__PURE__ */ t.jsx(R, {});
1833
1870
  return /* @__PURE__ */ t.jsxs(
@@ -1838,16 +1875,16 @@ const Ke = 60, bt = 6, Nn = (n) => {
1838
1875
  position: "sticky",
1839
1876
  top: "0",
1840
1877
  width: "100%",
1841
- zIndex: ["sticky", null, null, de ? "modal" : "sticky"],
1878
+ zIndex: ["sticky", null, null, xe ? "modal" : "sticky"],
1842
1879
  children: [
1843
1880
  /* @__PURE__ */ t.jsx(
1844
1881
  Gn,
1845
1882
  {
1846
- desktopTopButtons: We,
1883
+ desktopTopButtons: Me,
1847
1884
  logoLink: s,
1848
1885
  linkComponent: c,
1849
1886
  onLogoClick: g,
1850
- setTopOffset: ue,
1887
+ setTopOffset: ge,
1851
1888
  rightSideButtons: typeof E == "function" ? E(v) : E
1852
1889
  }
1853
1890
  ),
@@ -1855,49 +1892,49 @@ const Ke = 60, bt = 6, Nn = (n) => {
1855
1892
  R,
1856
1893
  { position: "relative", zIndex: "modal", children: [
1857
1894
  /* @__PURE__ */ t.jsx(
1858
- Je,
1895
+ qe,
1859
1896
  {
1860
1897
  isOpen: w,
1861
1898
  onClose: b,
1862
1899
  title: o,
1863
- navDrawerLinks: Pe,
1864
- bottomNavButtons: ze,
1900
+ navDrawerLinks: Ne,
1901
+ bottomNavButtons: Ve,
1865
1902
  hasBackButton: !1,
1866
- topOffset: q,
1903
+ topOffset: ne,
1867
1904
  forceMobilePlacement: !0
1868
1905
  }
1869
1906
  ),
1870
1907
  /* @__PURE__ */ t.jsx(
1871
- Je,
1908
+ qe,
1872
1909
  {
1873
- isOpen: !!j,
1910
+ isOpen: !!y,
1874
1911
  onClose: () => {
1875
- b(), S(), w || T(!1);
1912
+ b(), S(), w || I(!1);
1876
1913
  },
1877
- title: (j == null ? void 0 : j.label) || "",
1878
- navDrawerLinks: ge,
1914
+ title: (y == null ? void 0 : y.label) || "",
1915
+ navDrawerLinks: ue,
1879
1916
  onBackClick: () => {
1880
- S(), w || T(!1);
1917
+ S(), w || I(!1);
1881
1918
  },
1882
- spotlightCards: ae,
1883
- hasOnlySpotlightCards: j == null ? void 0 : j.hasOnlySpotlightCards,
1884
- bottomButton: j == null ? void 0 : j.bottomButton,
1885
- topOffset: q,
1919
+ spotlightCards: $e,
1920
+ hasOnlySpotlightCards: y == null ? void 0 : y.hasOnlySpotlightCards,
1921
+ bottomButton: y == null ? void 0 : y.bottomButton,
1922
+ topOffset: ne,
1886
1923
  forceMobilePlacement: B || w || // Below 1400px, if main menu is open, always use mobile closing
1887
- w && !Z
1924
+ w && !ie
1888
1925
  }
1889
1926
  ),
1890
1927
  /* @__PURE__ */ t.jsx(
1891
- Je,
1928
+ qe,
1892
1929
  {
1893
- isOpen: L,
1894
- onClose: () => H(),
1930
+ isOpen: O,
1931
+ onClose: () => $(),
1895
1932
  title: "Search",
1896
- navDrawerLinks: Be,
1897
- onSearch: Le,
1933
+ navDrawerLinks: Re,
1934
+ onSearch: Pe,
1898
1935
  hasSearch: !0,
1899
1936
  hasBackButton: !1,
1900
- topOffset: q
1937
+ topOffset: ne
1901
1938
  }
1902
1939
  )
1903
1940
  ] }
@@ -1905,51 +1942,51 @@ const Ke = 60, bt = 6, Nn = (n) => {
1905
1942
  ]
1906
1943
  }
1907
1944
  );
1908
- }, yt = ({
1945
+ }, Ct = ({
1909
1946
  links: n,
1910
1947
  linkComponent: o,
1911
1948
  onLinkClick: s,
1912
- footerTheme: a
1949
+ footerTheme: i
1913
1950
  }) => {
1914
- const c = o || oe, u = (d) => {
1915
- s && s(d);
1951
+ const c = o || le, u = (f) => {
1952
+ s && s(f);
1916
1953
  };
1917
1954
  return /* @__PURE__ */ t.jsx(
1918
- D,
1955
+ T,
1919
1956
  { direction: "column", gap: 6, children: n.map(
1920
- (d) => /* @__PURE__ */ t.jsx(
1921
- W,
1957
+ (f) => /* @__PURE__ */ t.jsx(
1958
+ z,
1922
1959
  {
1923
1960
  as: c,
1924
- color: a === "dark" ? "white" : "viridian.base",
1961
+ color: i === "dark" ? "white" : "viridian.base",
1925
1962
  size: "lg",
1926
1963
  _hover: { color: "viridian.lighter", textDecoration: "none" },
1927
- onClick: () => u(d.label),
1928
- ...je(d.href, !!o),
1929
- children: d.label
1964
+ onClick: () => u(f.label),
1965
+ ...Ee(f.href, !!o),
1966
+ children: f.label
1930
1967
  },
1931
- d.label
1968
+ f.label
1932
1969
  )
1933
1970
  ) }
1934
1971
  );
1935
- }, tr = ({ title: n, links: o, isLast: s }) => {
1936
- const a = s ? "transparent" : `${V.colors.viridian.lighter}20`;
1972
+ }, nr = ({ title: n, links: o, isLast: s }) => {
1973
+ const i = s ? "transparent" : `${G.colors.viridian.lighter}20`;
1937
1974
  return o ? /* @__PURE__ */ t.jsx(
1938
1975
  ln,
1939
- { borderColor: a, children: ({ isExpanded: c }) => /* @__PURE__ */ t.jsxs(
1976
+ { borderColor: i, children: ({ isExpanded: c }) => /* @__PURE__ */ t.jsxs(
1940
1977
  t.Fragment,
1941
1978
  { children: [
1942
1979
  /* @__PURE__ */ t.jsxs(
1943
1980
  sn,
1944
1981
  { paddingX: 0, paddingY: 4, _hover: { bg: "transparent" }, children: [
1945
1982
  /* @__PURE__ */ t.jsx(
1946
- W,
1983
+ z,
1947
1984
  { color: "viridian.lighter", size: "lg", flex: "1", textAlign: "left", children: n }
1948
1985
  ),
1949
1986
  /* @__PURE__ */ t.jsx(
1950
- we,
1987
+ Ce,
1951
1988
  {
1952
- as: Ln,
1989
+ as: On,
1953
1990
  size: "sm",
1954
1991
  color: "viridian.lighter",
1955
1992
  transform: c ? "rotate(-180deg)" : "rotate(0deg)",
@@ -1965,7 +2002,7 @@ const Ke = 60, bt = 6, Nn = (n) => {
1965
2002
  ] }
1966
2003
  ) }
1967
2004
  ) : null;
1968
- }, nr = ({
2005
+ }, rr = ({
1969
2006
  title: n,
1970
2007
  links: o,
1971
2008
  footerTheme: s
@@ -1973,7 +2010,7 @@ const Ke = 60, bt = 6, Nn = (n) => {
1973
2010
  R,
1974
2011
  { children: [
1975
2012
  /* @__PURE__ */ t.jsx(
1976
- W,
2013
+ z,
1977
2014
  {
1978
2015
  color: s === "dark" ? "viridian.lighter" : "tints.darkGrey",
1979
2016
  mb: 6,
@@ -1983,33 +2020,33 @@ const Ke = 60, bt = 6, Nn = (n) => {
1983
2020
  ),
1984
2021
  o
1985
2022
  ] }
1986
- ) : null, rr = ({
2023
+ ) : null, or = ({
1987
2024
  sections: n,
1988
2025
  linkComponent: o,
1989
2026
  onLinkClick: s,
1990
- footerTheme: a
1991
- }) => me({
2027
+ footerTheme: i
2028
+ }) => je({
1992
2029
  base: !1,
1993
2030
  tablet: !1,
1994
2031
  largeTablet: !0,
1995
2032
  desktop: !0
1996
2033
  }) ? /* @__PURE__ */ t.jsx(
1997
- D,
2034
+ T,
1998
2035
  { justify: "space-between", align: "flex-start", children: /* @__PURE__ */ t.jsx(
1999
- D,
2036
+ T,
2000
2037
  { gap: 120, children: n.map(
2001
- ({ title: u, links: d }) => /* @__PURE__ */ t.jsx(
2002
- nr,
2038
+ ({ title: u, links: f }) => /* @__PURE__ */ t.jsx(
2039
+ rr,
2003
2040
  {
2004
- footerTheme: a,
2041
+ footerTheme: i,
2005
2042
  title: u,
2006
2043
  links: /* @__PURE__ */ t.jsx(
2007
- yt,
2044
+ Ct,
2008
2045
  {
2009
- links: d,
2046
+ links: f,
2010
2047
  linkComponent: o,
2011
2048
  onLinkClick: s,
2012
- footerTheme: a
2049
+ footerTheme: i
2013
2050
  }
2014
2051
  )
2015
2052
  },
@@ -2026,44 +2063,44 @@ const Ke = 60, bt = 6, Nn = (n) => {
2026
2063
  display: "flex",
2027
2064
  flexDirection: "column",
2028
2065
  children: n.map(
2029
- ({ title: u, links: d }, h) => /* @__PURE__ */ t.jsx(
2030
- tr,
2066
+ ({ title: u, links: f }, d) => /* @__PURE__ */ t.jsx(
2067
+ nr,
2031
2068
  {
2032
2069
  title: u,
2033
2070
  links: /* @__PURE__ */ t.jsx(
2034
- yt,
2071
+ Ct,
2035
2072
  {
2036
- links: d,
2073
+ links: f,
2037
2074
  linkComponent: o,
2038
2075
  onLinkClick: s,
2039
- footerTheme: a
2076
+ footerTheme: i
2040
2077
  }
2041
2078
  ),
2042
- isLast: h === n.length - 1
2079
+ isLast: d === n.length - 1
2043
2080
  },
2044
2081
  u
2045
2082
  )
2046
2083
  )
2047
2084
  }
2048
- ), Ct = {
2049
- instagram: An,
2085
+ ), Et = {
2086
+ instagram: Pn,
2050
2087
  linkedin: Mn,
2051
2088
  facebook: $n,
2052
- tiktok: Hn,
2053
- x: Fn
2054
- }, or = ({
2089
+ tiktok: Fn,
2090
+ x: Hn
2091
+ }, ar = ({
2055
2092
  socialLinks: n,
2056
2093
  onEmailSubmit: o,
2057
2094
  socialMediaLabel: s,
2058
- newsletterLabel: a,
2095
+ newsletterLabel: i,
2059
2096
  onLinkClick: c,
2060
2097
  showNewsletter: u = !0,
2061
- footerTheme: d
2098
+ footerTheme: f
2062
2099
  }) => {
2063
- const h = d === "dark", [g, p] = se.useState(""), f = () => {
2064
- g && o && (o(g), p(""));
2100
+ const d = f === "dark", [g, h] = se.useState(""), p = () => {
2101
+ g && o && (o(g), h(""));
2065
2102
  }, C = (v) => {
2066
- v.key === "Enter" && f();
2103
+ v.key === "Enter" && p();
2067
2104
  }, E = (v) => {
2068
2105
  c && c(v);
2069
2106
  };
@@ -2074,12 +2111,12 @@ const Ke = 60, bt = 6, Nn = (n) => {
2074
2111
  R,
2075
2112
  { mb: [8, 10], children: [
2076
2113
  /* @__PURE__ */ t.jsx(
2077
- W,
2114
+ z,
2078
2115
  {
2079
- color: h ? "viridian.lighter" : "tints.darkGrey",
2116
+ color: d ? "viridian.lighter" : "tints.darkGrey",
2080
2117
  mb: 6,
2081
2118
  size: "lg",
2082
- children: a
2119
+ children: i
2083
2120
  }
2084
2121
  ),
2085
2122
  /* @__PURE__ */ t.jsxs(
@@ -2091,33 +2128,33 @@ const Ke = 60, bt = 6, Nn = (n) => {
2091
2128
  "aria-label": "Email address",
2092
2129
  type: "email",
2093
2130
  placeholder: "Enter your email",
2094
- bg: h ? "transparent" : "tints.white",
2131
+ bg: d ? "transparent" : "tints.white",
2095
2132
  border: "1px solid",
2096
- borderColor: h ? "viridian.lighter" : "tints.darkCream",
2097
- color: h ? "viridian.lighter" : "tints.darkGrey",
2133
+ borderColor: d ? "viridian.lighter" : "tints.darkCream",
2134
+ color: d ? "viridian.lighter" : "tints.darkGrey",
2098
2135
  _placeholder: {
2099
- color: h ? "viridian.lighter" : "tints.darkGrey"
2136
+ color: d ? "viridian.lighter" : "tints.darkGrey"
2100
2137
  },
2101
2138
  opacity: 0.66,
2102
2139
  height: "52px",
2103
2140
  pr: "48px",
2104
2141
  value: g,
2105
- onChange: (v) => p(v.target.value),
2142
+ onChange: (v) => h(v.target.value),
2106
2143
  onKeyPress: C
2107
2144
  }
2108
2145
  ),
2109
2146
  /* @__PURE__ */ t.jsx(
2110
2147
  fn,
2111
2148
  { h: "52px", pr: 4, children: /* @__PURE__ */ t.jsx(
2112
- we,
2149
+ Ce,
2113
2150
  {
2114
- as: Pn,
2115
- color: h ? "viridian.lighter" : "viridian.base",
2151
+ as: An,
2152
+ color: d ? "viridian.lighter" : "viridian.base",
2116
2153
  width: "24px",
2117
2154
  height: "24px",
2118
2155
  opacity: 0.66,
2119
2156
  cursor: "pointer",
2120
- onClick: f,
2157
+ onClick: p,
2121
2158
  "data-testid": "arrow-right-icon",
2122
2159
  role: "button",
2123
2160
  "aria-label": "Submit"
@@ -2132,30 +2169,30 @@ const Ke = 60, bt = 6, Nn = (n) => {
2132
2169
  R,
2133
2170
  { children: [
2134
2171
  /* @__PURE__ */ t.jsx(
2135
- W,
2172
+ z,
2136
2173
  {
2137
- color: h ? "viridian.lighter" : "tints.darkGrey",
2174
+ color: d ? "viridian.lighter" : "tints.darkGrey",
2138
2175
  marginBottom: 4,
2139
2176
  size: "lg",
2140
2177
  children: s
2141
2178
  }
2142
2179
  ),
2143
2180
  /* @__PURE__ */ t.jsx(
2144
- D,
2181
+ T,
2145
2182
  { gap: 3, children: n == null ? void 0 : n.map(
2146
2183
  (v) => /* @__PURE__ */ t.jsx(
2147
- oe,
2184
+ le,
2148
2185
  {
2149
2186
  href: v.href,
2150
2187
  target: "_blank",
2151
2188
  rel: "noopener noreferrer",
2152
2189
  "aria-label": v.name,
2153
2190
  onClick: () => E(v.name),
2154
- children: Ct[v.name.toLowerCase()] && /* @__PURE__ */ t.jsx(
2155
- we,
2191
+ children: Et[v.name.toLowerCase()] && /* @__PURE__ */ t.jsx(
2192
+ Ce,
2156
2193
  {
2157
- as: Ct[v.name.toLowerCase()],
2158
- color: h ? "white" : "viridian.base",
2194
+ as: Et[v.name.toLowerCase()],
2195
+ color: d ? "white" : "viridian.base",
2159
2196
  width: ["48px", null, "24px", null],
2160
2197
  height: ["48px", null, "24px", null]
2161
2198
  }
@@ -2169,35 +2206,35 @@ const Ke = 60, bt = 6, Nn = (n) => {
2169
2206
  )
2170
2207
  ] }
2171
2208
  );
2172
- }, ar = ({
2209
+ }, ir = ({
2173
2210
  links: n,
2174
2211
  linkComponent: o,
2175
2212
  onLinkClick: s,
2176
- footerTheme: a
2213
+ footerTheme: i
2177
2214
  }) => {
2178
- const c = o || oe, u = a === "dark", [d, h] = se.useState(() => (/* @__PURE__ */ new Date()).getFullYear());
2215
+ const c = o || le, u = i === "dark", [f, d] = se.useState(() => (/* @__PURE__ */ new Date()).getFullYear());
2179
2216
  se.useEffect(() => {
2180
- h((/* @__PURE__ */ new Date()).getFullYear());
2217
+ d((/* @__PURE__ */ new Date()).getFullYear());
2181
2218
  }, []);
2182
- const g = (f) => {
2183
- s && s(f);
2184
- }, p = n == null ? void 0 : n.map(
2185
- (f) => /* @__PURE__ */ t.jsx(
2186
- W,
2219
+ const g = (p) => {
2220
+ s && s(p);
2221
+ }, h = n == null ? void 0 : n.map(
2222
+ (p) => /* @__PURE__ */ t.jsx(
2223
+ z,
2187
2224
  {
2188
2225
  as: c,
2189
2226
  color: u ? "viridian.lighter" : "viridian.base",
2190
2227
  size: "sm",
2191
2228
  _hover: { color: u ? "white" : "viridian.lighter", textDecoration: "none" },
2192
- onClick: () => g(f.label),
2193
- ...je(f.href, !!o),
2194
- children: f.label
2229
+ onClick: () => g(p.label),
2230
+ ...Ee(p.href, !!o),
2231
+ children: p.label
2195
2232
  },
2196
- f.label
2233
+ p.label
2197
2234
  )
2198
2235
  );
2199
2236
  return /* @__PURE__ */ t.jsxs(
2200
- D,
2237
+ T,
2201
2238
  {
2202
2239
  direction: ["column", "column", "row"],
2203
2240
  justify: "space-between",
@@ -2205,41 +2242,41 @@ const Ke = 60, bt = 6, Nn = (n) => {
2205
2242
  gap: [6, 6, 0],
2206
2243
  children: [
2207
2244
  /* @__PURE__ */ t.jsx(
2208
- D,
2245
+ T,
2209
2246
  {
2210
2247
  direction: "row",
2211
2248
  flexWrap: "wrap",
2212
2249
  gap: [4, 6, 10],
2213
2250
  width: ["100%", "auto"],
2214
- children: p
2251
+ children: h
2215
2252
  }
2216
2253
  ),
2217
2254
  /* @__PURE__ */ t.jsxs(
2218
- W,
2255
+ z,
2219
2256
  {
2220
2257
  color: u ? "viridian.lighter" : "tints.darkGrey",
2221
2258
  fontSize: "sm",
2222
2259
  children: [
2223
2260
  "© Everlywell ",
2224
- d
2261
+ f
2225
2262
  ]
2226
2263
  }
2227
2264
  )
2228
2265
  ]
2229
2266
  }
2230
2267
  );
2231
- }, vr = se.forwardRef(({
2268
+ }, br = se.forwardRef(({
2232
2269
  navigationSections: n = [],
2233
2270
  disclaimer: o,
2234
2271
  newsletterLabel: s,
2235
- socialMediaLabel: a,
2272
+ socialMediaLabel: i,
2236
2273
  socialLinks: c,
2237
2274
  complianceLinks: u,
2238
- linkComponent: d,
2239
- onEmailSubmit: h,
2275
+ linkComponent: f,
2276
+ onEmailSubmit: d,
2240
2277
  additionalContent: g,
2241
- onLinkClick: p,
2242
- onSocialMediaClick: f,
2278
+ onLinkClick: h,
2279
+ onSocialMediaClick: p,
2243
2280
  showNewsletter: C = !0,
2244
2281
  footerTheme: E = "dark"
2245
2282
  }, v) => {
@@ -2256,20 +2293,20 @@ const Ke = 60, bt = 6, Nn = (n) => {
2256
2293
  pn,
2257
2294
  { size: "fluid", children: [
2258
2295
  /* @__PURE__ */ t.jsxs(
2259
- D,
2296
+ T,
2260
2297
  { direction: "column", gap: [8, 12], children: [
2261
2298
  /* @__PURE__ */ t.jsx(
2262
2299
  R,
2263
2300
  { children: /* @__PURE__ */ t.jsx(
2264
- Lt,
2301
+ At,
2265
2302
  {
2266
2303
  width: ["150px", "202px"],
2267
- color: w ? "white" : V.colors.viridian.base
2304
+ color: w ? "white" : G.colors.viridian.base
2268
2305
  }
2269
2306
  ) }
2270
2307
  ),
2271
2308
  /* @__PURE__ */ t.jsxs(
2272
- D,
2309
+ T,
2273
2310
  {
2274
2311
  direction: ["column", null, null, "row"],
2275
2312
  justify: "space-between",
@@ -2277,22 +2314,22 @@ const Ke = 60, bt = 6, Nn = (n) => {
2277
2314
  gap: [8, 8, 8, 0],
2278
2315
  children: [
2279
2316
  /* @__PURE__ */ t.jsx(
2280
- rr,
2317
+ or,
2281
2318
  {
2282
2319
  sections: n,
2283
- linkComponent: d,
2284
- onLinkClick: p,
2320
+ linkComponent: f,
2321
+ onLinkClick: h,
2285
2322
  footerTheme: E
2286
2323
  }
2287
2324
  ),
2288
2325
  /* @__PURE__ */ t.jsx(
2289
- or,
2326
+ ar,
2290
2327
  {
2291
2328
  socialLinks: c,
2292
2329
  newsletterLabel: s,
2293
- socialMediaLabel: a,
2294
- onEmailSubmit: h,
2295
- onLinkClick: f,
2330
+ socialMediaLabel: i,
2331
+ onEmailSubmit: d,
2332
+ onLinkClick: p,
2296
2333
  showNewsletter: C,
2297
2334
  footerTheme: E
2298
2335
  }
@@ -2301,7 +2338,7 @@ const Ke = 60, bt = 6, Nn = (n) => {
2301
2338
  }
2302
2339
  ),
2303
2340
  /* @__PURE__ */ t.jsxs(
2304
- D,
2341
+ T,
2305
2342
  {
2306
2343
  direction: ["column", "column", "row"],
2307
2344
  justify: "space-between",
@@ -2310,7 +2347,7 @@ const Ke = 60, bt = 6, Nn = (n) => {
2310
2347
  gap: [6, 6, 0],
2311
2348
  children: [
2312
2349
  typeof o == "string" ? /* @__PURE__ */ t.jsx(
2313
- W,
2350
+ z,
2314
2351
  {
2315
2352
  color: w ? "viridian.lighter" : "tints.uiGrey",
2316
2353
  fontSize: "sm",
@@ -2334,17 +2371,17 @@ const Ke = 60, bt = 6, Nn = (n) => {
2334
2371
  R,
2335
2372
  {
2336
2373
  borderTop: "1px solid",
2337
- borderColor: w ? `${V.colors.viridian.lighter}20` : "tints.darkCream",
2374
+ borderColor: w ? `${G.colors.viridian.lighter}20` : "tints.darkCream",
2338
2375
  marginTop: "10",
2339
2376
  marginBottom: "8"
2340
2377
  }
2341
2378
  ),
2342
2379
  /* @__PURE__ */ t.jsx(
2343
- ar,
2380
+ ir,
2344
2381
  {
2345
2382
  links: u,
2346
- linkComponent: d,
2347
- onLinkClick: p,
2383
+ linkComponent: f,
2384
+ onLinkClick: h,
2348
2385
  footerTheme: E
2349
2386
  }
2350
2387
  )
@@ -2352,12 +2389,12 @@ const Ke = 60, bt = 6, Nn = (n) => {
2352
2389
  )
2353
2390
  }
2354
2391
  );
2355
- }), ir = (n) => n ? {
2356
- Container: Rt,
2357
- Overlay: kt,
2358
- Content: St,
2359
- Header: _t,
2360
- Body: Dt,
2392
+ }), lr = (n) => n ? {
2393
+ Container: _t,
2394
+ Overlay: Rt,
2395
+ Content: kt,
2396
+ Header: Dt,
2397
+ Body: Tt,
2361
2398
  Footer: hn,
2362
2399
  CloseButton: gn
2363
2400
  } : {
@@ -2366,52 +2403,52 @@ const Ke = 60, bt = 6, Nn = (n) => {
2366
2403
  Content: bn,
2367
2404
  Header: mn,
2368
2405
  Body: wn,
2369
- Footer: jn,
2370
- CloseButton: yn
2371
- }, br = ({
2406
+ Footer: yn,
2407
+ CloseButton: jn
2408
+ }, mr = ({
2372
2409
  isOpen: n,
2373
2410
  onClose: o,
2374
2411
  children: s,
2375
- header: a,
2412
+ header: i,
2376
2413
  footer: c,
2377
2414
  headerProps: u,
2378
- bodyProps: d,
2379
- footerProps: h,
2415
+ bodyProps: f,
2416
+ footerProps: d,
2380
2417
  contentProps: g,
2381
- ...p
2418
+ ...h
2382
2419
  }) => {
2383
- var j, P, F, Y, Q;
2384
- const [f] = Qe(`(max-width: ${V.breakpoints.tablet})`), C = (Q = (Y = (F = (P = (j = V) == null ? void 0 : j.components) == null ? void 0 : P.Modal) == null ? void 0 : F.baseStyle) == null ? void 0 : Y.overlay) == null ? void 0 : Q.background, {
2420
+ var y, A, H, U, te;
2421
+ const [p] = et(`(max-width: ${G.breakpoints.tablet})`), C = (te = (U = (H = (A = (y = G) == null ? void 0 : y.components) == null ? void 0 : A.Modal) == null ? void 0 : H.baseStyle) == null ? void 0 : U.overlay) == null ? void 0 : te.background, {
2385
2422
  Container: E,
2386
2423
  Overlay: v,
2387
2424
  Content: w,
2388
- Header: L,
2425
+ Header: O,
2389
2426
  Body: b,
2390
- Footer: H,
2427
+ Footer: $,
2391
2428
  CloseButton: S
2392
- } = ir(f);
2429
+ } = lr(p);
2393
2430
  return /* @__PURE__ */ t.jsxs(
2394
2431
  E,
2395
2432
  {
2396
- ...p,
2433
+ ...h,
2397
2434
  isOpen: n,
2398
2435
  onClose: o,
2399
2436
  size: "xl",
2400
- ...f ? { placement: "bottom" } : {},
2437
+ ...p ? { placement: "bottom" } : {},
2401
2438
  children: [
2402
2439
  /* @__PURE__ */ t.jsx(v, { backdropFilter: "auto", backgroundColor: C }),
2403
2440
  /* @__PURE__ */ t.jsxs(
2404
2441
  w,
2405
2442
  {
2406
2443
  backgroundColor: "tints.white",
2407
- borderRadius: f ? "20px 20px 0 0" : "20px",
2444
+ borderRadius: p ? "20px 20px 0 0" : "20px",
2408
2445
  overflowY: "auto",
2409
2446
  gap: 0,
2410
- ...a && f && { paddingTop: 0 },
2447
+ ...i && p && { paddingTop: 0 },
2411
2448
  ...g,
2412
2449
  children: [
2413
2450
  /* @__PURE__ */ t.jsxs(
2414
- L,
2451
+ O,
2415
2452
  {
2416
2453
  display: "flex",
2417
2454
  width: "100%",
@@ -2425,10 +2462,10 @@ const Ke = 60, bt = 6, Nn = (n) => {
2425
2462
  zIndex: "modal",
2426
2463
  backgroundColor: "tints.white",
2427
2464
  paddingInline: 4,
2428
- ...f ? { paddingBlock: 4 } : { paddingTop: 6, paddingBlockEnd: 2 },
2465
+ ...p ? { paddingBlock: 4 } : { paddingTop: 6, paddingBlockEnd: 2 },
2429
2466
  ...u,
2430
2467
  children: [
2431
- a,
2468
+ i,
2432
2469
  /* @__PURE__ */ t.jsx(
2433
2470
  S,
2434
2471
  {
@@ -2441,7 +2478,7 @@ const Ke = 60, bt = 6, Nn = (n) => {
2441
2478
  fontSize: "1rem"
2442
2479
  }
2443
2480
  },
2444
- children: /* @__PURE__ */ t.jsx(we, { as: Ot, weight: "light" })
2481
+ children: /* @__PURE__ */ t.jsx(Ce, { as: Ot, weight: "light" })
2445
2482
  }
2446
2483
  )
2447
2484
  ]
@@ -2452,11 +2489,11 @@ const Ke = 60, bt = 6, Nn = (n) => {
2452
2489
  {
2453
2490
  color: "tints.darkGrey",
2454
2491
  paddingInline: 4,
2455
- ...d,
2492
+ ...f,
2456
2493
  children: s
2457
2494
  }
2458
2495
  ),
2459
- /* @__PURE__ */ t.jsx(H, { paddingInline: 4, ...h, children: c })
2496
+ /* @__PURE__ */ t.jsx($, { paddingInline: 4, ...d, children: c })
2460
2497
  ]
2461
2498
  }
2462
2499
  )
@@ -2465,18 +2502,18 @@ const Ke = 60, bt = 6, Nn = (n) => {
2465
2502
  );
2466
2503
  };
2467
2504
  export {
2468
- hr as BasketButton,
2469
- pr as CategoryLabel,
2470
- br as DrawerModal,
2471
- vr as Footer,
2505
+ gr as BasketButton,
2506
+ hr as CategoryLabel,
2507
+ mr as DrawerModal,
2508
+ br as Footer,
2472
2509
  Vn as NavButton,
2473
- gr as NavSkeleton,
2474
- Je as NavbarDrawer,
2475
- $e as NavbarDrawerLink,
2476
- xr as NavigationBar,
2510
+ xr as NavSkeleton,
2511
+ qe as NavbarDrawer,
2512
+ Be as NavbarDrawerLink,
2513
+ vr as NavigationBar,
2477
2514
  Yn as SpotlightCard,
2478
- fr as Stepper,
2479
- et as TopNavIconButton,
2515
+ pr as Stepper,
2516
+ nt as TopNavIconButton,
2480
2517
  Gn as TopNavigation,
2481
2518
  er as useNavigationBar
2482
2519
  };