@everlywell/consumer-ui 1.21.2 → 1.23.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.
Files changed (34) hide show
  1. package/index.d.mts +3 -0
  2. package/index.d.ts +3 -0
  3. package/index.d.ts.map +1 -1
  4. package/index.js +11 -11
  5. package/index.mjs +561 -412
  6. package/lib/components/Navbar/BasketButton/BasketButton.d.ts +2 -2
  7. package/lib/components/Navbar/BasketButton/BasketButton.d.ts.map +1 -1
  8. package/lib/components/Navbar/NavButton/NavButton.d.ts +3 -8
  9. package/lib/components/Navbar/NavButton/NavButton.d.ts.map +1 -1
  10. package/lib/components/Navbar/NavbarDrawer/NavbarDrawer.d.ts +52 -0
  11. package/lib/components/Navbar/NavbarDrawer/NavbarDrawer.d.ts.map +1 -0
  12. package/lib/components/Navbar/NavbarDrawer/NavbarDrawer.stories.d.ts +9 -0
  13. package/lib/components/Navbar/NavbarDrawer/NavbarDrawer.stories.d.ts.map +1 -0
  14. package/lib/components/Navbar/NavbarDrawer/index.d.ts +3 -0
  15. package/lib/components/Navbar/NavbarDrawer/index.d.ts.map +1 -0
  16. package/lib/components/Navbar/NavbarDrawerLink/NavbarDrawerLink.d.ts.map +1 -1
  17. package/lib/components/Navbar/SpotlightCard/SpotlightCard.d.ts.map +1 -1
  18. package/lib/components/Navbar/TopNavIconButton/TopNavIconButton.d.ts +5 -0
  19. package/lib/components/Navbar/TopNavIconButton/TopNavIconButton.d.ts.map +1 -0
  20. package/lib/components/Navbar/TopNavIconButton/TopNavIconButton.stories.d.ts +8 -0
  21. package/lib/components/Navbar/TopNavIconButton/TopNavIconButton.stories.d.ts.map +1 -0
  22. package/lib/components/Navbar/TopNavIconButton/index.d.ts +3 -0
  23. package/lib/components/Navbar/TopNavIconButton/index.d.ts.map +1 -0
  24. package/lib/components/Navbar/TopNavigation/Logo.d.ts +2 -0
  25. package/lib/components/Navbar/TopNavigation/Logo.d.ts.map +1 -0
  26. package/lib/components/Navbar/TopNavigation/TopNavigation.d.ts +44 -0
  27. package/lib/components/Navbar/TopNavigation/TopNavigation.d.ts.map +1 -0
  28. package/lib/components/Navbar/TopNavigation/TopNavigation.stories.d.ts +20 -0
  29. package/lib/components/Navbar/TopNavigation/TopNavigation.stories.d.ts.map +1 -0
  30. package/lib/components/Navbar/TopNavigation/index.d.ts +3 -0
  31. package/lib/components/Navbar/TopNavigation/index.d.ts.map +1 -0
  32. package/lib/utils/testHelpers/rtl.d.ts +16 -0
  33. package/lib/utils/testHelpers/rtl.d.ts.map +1 -0
  34. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1,8 +1,8 @@
1
- import { Flex as H, Heading as ke, useSteps as yr, Box as D, Stepper as _r, Link as Er, Icon as Pe, Text as G, Button as xr, Image as Rr } from "@everlywell/ui-kit";
2
- import ie, { useEffect as Sr } from "react";
3
- import { Text as jr } from "@chakra-ui/react";
4
- import { CaretRight as De } from "@phosphor-icons/react";
5
- var ae = { exports: {} }, Y = {};
1
+ import { Flex as P, Heading as Ie, useSteps as yr, Box as E, Stepper as Er, Link as le, Icon as ie, Text as Z, Button as Rr, Image as _r, IconButton as jr } from "@everlywell/ui-kit";
2
+ import se, { useEffect as wr, forwardRef as Sr } from "react";
3
+ import { Text as Tr } from "@chakra-ui/react";
4
+ import { CaretRight as De, MagnifyingGlass as kr, List as Or, Basket as Pr } from "@phosphor-icons/react";
5
+ var ae = { exports: {} }, V = {};
6
6
  /**
7
7
  * @license React
8
8
  * react-jsx-runtime.production.min.js
@@ -12,25 +12,25 @@ var ae = { exports: {} }, Y = {};
12
12
  * This source code is licensed under the MIT license found in the
13
13
  * LICENSE file in the root directory of this source tree.
14
14
  */
15
- var Ie;
16
- function Tr() {
17
- if (Ie)
18
- return Y;
19
- Ie = 1;
20
- var h = ie, u = Symbol.for("react.element"), g = Symbol.for("react.fragment"), m = Object.prototype.hasOwnProperty, C = h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, x = { key: !0, ref: !0, __self: !0, __source: !0 };
21
- function S(R, c, j) {
22
- var p, _ = {}, T = null, O = null;
23
- j !== void 0 && (T = "" + j), c.key !== void 0 && (T = "" + c.key), c.ref !== void 0 && (O = c.ref);
24
- for (p in c)
25
- m.call(c, p) && !x.hasOwnProperty(p) && (_[p] = c[p]);
26
- if (R && R.defaultProps)
27
- for (p in c = R.defaultProps, c)
28
- _[p] === void 0 && (_[p] = c[p]);
29
- return { $$typeof: u, type: R, key: T, ref: O, props: _, _owner: C.current };
15
+ var Fe;
16
+ function Lr() {
17
+ if (Fe)
18
+ return V;
19
+ Fe = 1;
20
+ var c = se, s = Symbol.for("react.element"), v = Symbol.for("react.fragment"), h = Object.prototype.hasOwnProperty, R = c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
21
+ function _(C, f, S) {
22
+ var b, j = {}, T = null, O = null;
23
+ S !== void 0 && (T = "" + S), f.key !== void 0 && (T = "" + f.key), f.ref !== void 0 && (O = f.ref);
24
+ for (b in f)
25
+ h.call(f, b) && !g.hasOwnProperty(b) && (j[b] = f[b]);
26
+ if (C && C.defaultProps)
27
+ for (b in f = C.defaultProps, f)
28
+ j[b] === void 0 && (j[b] = f[b]);
29
+ return { $$typeof: s, type: C, key: T, ref: O, props: j, _owner: R.current };
30
30
  }
31
- return Y.Fragment = g, Y.jsx = S, Y.jsxs = S, Y;
31
+ return V.Fragment = v, V.jsx = _, V.jsxs = _, V;
32
32
  }
33
- var N = {};
33
+ var M = {};
34
34
  /**
35
35
  * @license React
36
36
  * react-jsx-runtime.development.js
@@ -40,91 +40,91 @@ var N = {};
40
40
  * This source code is licensed under the MIT license found in the
41
41
  * LICENSE file in the root directory of this source tree.
42
42
  */
43
- var Fe;
44
- function wr() {
45
- return Fe || (Fe = 1, process.env.NODE_ENV !== "production" && function() {
46
- var h = ie, u = Symbol.for("react.element"), g = Symbol.for("react.portal"), m = Symbol.for("react.fragment"), C = Symbol.for("react.strict_mode"), x = Symbol.for("react.profiler"), S = Symbol.for("react.provider"), R = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), j = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), _ = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), O = Symbol.for("react.offscreen"), V = Symbol.iterator, $e = "@@iterator";
47
- function We(e) {
43
+ var Ae;
44
+ function Ir() {
45
+ return Ae || (Ae = 1, process.env.NODE_ENV !== "production" && function() {
46
+ var c = se, s = Symbol.for("react.element"), v = Symbol.for("react.portal"), h = Symbol.for("react.fragment"), R = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), _ = Symbol.for("react.provider"), C = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"), j = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), O = Symbol.for("react.offscreen"), Y = Symbol.iterator, We = "@@iterator";
47
+ function $e(e) {
48
48
  if (e === null || typeof e != "object")
49
49
  return null;
50
- var r = V && e[V] || e[$e];
50
+ var r = Y && e[Y] || e[We];
51
51
  return typeof r == "function" ? r : null;
52
52
  }
53
- var I = h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
54
- function v(e) {
53
+ var D = c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
54
+ function m(e) {
55
55
  {
56
- for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
57
- t[n - 1] = arguments[n];
58
- Le("error", e, t);
56
+ for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++)
57
+ t[i - 1] = arguments[i];
58
+ Ve("error", e, t);
59
59
  }
60
60
  }
61
- function Le(e, r, t) {
61
+ function Ve(e, r, t) {
62
62
  {
63
- var n = I.ReactDebugCurrentFrame, o = n.getStackAddendum();
64
- o !== "" && (r += "%s", t = t.concat([o]));
65
- var l = t.map(function(i) {
66
- return String(i);
63
+ var i = D.ReactDebugCurrentFrame, l = i.getStackAddendum();
64
+ l !== "" && (r += "%s", t = t.concat([l]));
65
+ var u = t.map(function(o) {
66
+ return String(o);
67
67
  });
68
- l.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, l);
68
+ u.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, u);
69
69
  }
70
70
  }
71
- var Ye = !1, Ne = !1, Ve = !1, Me = !1, Ue = !1, oe;
72
- oe = Symbol.for("react.module.reference");
73
- function Be(e) {
74
- return !!(typeof e == "string" || typeof e == "function" || e === m || e === x || Ue || e === C || e === j || e === p || Me || e === O || Ye || Ne || Ve || typeof e == "object" && e !== null && (e.$$typeof === T || e.$$typeof === _ || e.$$typeof === S || e.$$typeof === R || e.$$typeof === c || // This needs to include all possible module reference object
71
+ var Me = !1, Ye = !1, Be = !1, Ne = !1, ze = !1, ue;
72
+ ue = Symbol.for("react.module.reference");
73
+ function Ue(e) {
74
+ return !!(typeof e == "string" || typeof e == "function" || e === h || e === g || ze || e === R || e === S || e === b || Ne || e === O || Me || Ye || Be || typeof e == "object" && e !== null && (e.$$typeof === T || e.$$typeof === j || e.$$typeof === _ || e.$$typeof === C || e.$$typeof === f || // This needs to include all possible module reference object
75
75
  // types supported by any Flight configuration anywhere since
76
76
  // we don't know which Flight build this will end up being used
77
77
  // with.
78
- e.$$typeof === oe || e.getModuleId !== void 0));
78
+ e.$$typeof === ue || e.getModuleId !== void 0));
79
79
  }
80
- function ze(e, r, t) {
81
- var n = e.displayName;
82
- if (n)
83
- return n;
84
- var o = r.displayName || r.name || "";
85
- return o !== "" ? t + "(" + o + ")" : t;
80
+ function Ze(e, r, t) {
81
+ var i = e.displayName;
82
+ if (i)
83
+ return i;
84
+ var l = r.displayName || r.name || "";
85
+ return l !== "" ? t + "(" + l + ")" : t;
86
86
  }
87
- function le(e) {
87
+ function ce(e) {
88
88
  return e.displayName || "Context";
89
89
  }
90
- function w(e) {
90
+ function k(e) {
91
91
  if (e == null)
92
92
  return null;
93
- if (typeof e.tag == "number" && v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
93
+ if (typeof e.tag == "number" && m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
94
94
  return e.displayName || e.name || null;
95
95
  if (typeof e == "string")
96
96
  return e;
97
97
  switch (e) {
98
- case m:
98
+ case h:
99
99
  return "Fragment";
100
- case g:
100
+ case v:
101
101
  return "Portal";
102
- case x:
102
+ case g:
103
103
  return "Profiler";
104
- case C:
104
+ case R:
105
105
  return "StrictMode";
106
- case j:
106
+ case S:
107
107
  return "Suspense";
108
- case p:
108
+ case b:
109
109
  return "SuspenseList";
110
110
  }
111
111
  if (typeof e == "object")
112
112
  switch (e.$$typeof) {
113
- case R:
113
+ case C:
114
114
  var r = e;
115
- return le(r) + ".Consumer";
116
- case S:
117
- var t = e;
118
- return le(t._context) + ".Provider";
119
- case c:
120
- return ze(e, e.render, "ForwardRef");
115
+ return ce(r) + ".Consumer";
121
116
  case _:
122
- var n = e.displayName || null;
123
- return n !== null ? n : w(e.type) || "Memo";
117
+ var t = e;
118
+ return ce(t._context) + ".Provider";
119
+ case f:
120
+ return Ze(e, e.render, "ForwardRef");
121
+ case j:
122
+ var i = e.displayName || null;
123
+ return i !== null ? i : k(e.type) || "Memo";
124
124
  case T: {
125
- var o = e, l = o._payload, i = o._init;
125
+ var l = e, u = l._payload, o = l._init;
126
126
  try {
127
- return w(i(l));
127
+ return k(o(u));
128
128
  } catch {
129
129
  return null;
130
130
  }
@@ -132,18 +132,18 @@ function wr() {
132
132
  }
133
133
  return null;
134
134
  }
135
- var k = Object.assign, $ = 0, se, ue, ce, fe, de, pe, ve;
136
- function he() {
135
+ var L = Object.assign, H = 0, fe, de, pe, ve, he, ge, be;
136
+ function me() {
137
137
  }
138
- he.__reactDisabledLog = !0;
139
- function He() {
138
+ me.__reactDisabledLog = !0;
139
+ function Ge() {
140
140
  {
141
- if ($ === 0) {
142
- se = console.log, ue = console.info, ce = console.warn, fe = console.error, de = console.group, pe = console.groupCollapsed, ve = console.groupEnd;
141
+ if (H === 0) {
142
+ fe = console.log, de = console.info, pe = console.warn, ve = console.error, he = console.group, ge = console.groupCollapsed, be = console.groupEnd;
143
143
  var e = {
144
144
  configurable: !0,
145
145
  enumerable: !0,
146
- value: he,
146
+ value: me,
147
147
  writable: !0
148
148
  };
149
149
  Object.defineProperties(console, {
@@ -156,229 +156,229 @@ function wr() {
156
156
  groupEnd: e
157
157
  });
158
158
  }
159
- $++;
159
+ H++;
160
160
  }
161
161
  }
162
- function Ge() {
162
+ function Je() {
163
163
  {
164
- if ($--, $ === 0) {
164
+ if (H--, H === 0) {
165
165
  var e = {
166
166
  configurable: !0,
167
167
  enumerable: !0,
168
168
  writable: !0
169
169
  };
170
170
  Object.defineProperties(console, {
171
- log: k({}, e, {
172
- value: se
173
- }),
174
- info: k({}, e, {
175
- value: ue
176
- }),
177
- warn: k({}, e, {
178
- value: ce
179
- }),
180
- error: k({}, e, {
171
+ log: L({}, e, {
181
172
  value: fe
182
173
  }),
183
- group: k({}, e, {
174
+ info: L({}, e, {
184
175
  value: de
185
176
  }),
186
- groupCollapsed: k({}, e, {
177
+ warn: L({}, e, {
187
178
  value: pe
188
179
  }),
189
- groupEnd: k({}, e, {
180
+ error: L({}, e, {
190
181
  value: ve
182
+ }),
183
+ group: L({}, e, {
184
+ value: he
185
+ }),
186
+ groupCollapsed: L({}, e, {
187
+ value: ge
188
+ }),
189
+ groupEnd: L({}, e, {
190
+ value: be
191
191
  })
192
192
  });
193
193
  }
194
- $ < 0 && v("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
194
+ H < 0 && m("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
195
195
  }
196
196
  }
197
- var J = I.ReactCurrentDispatcher, q;
198
- function M(e, r, t) {
197
+ var G = D.ReactCurrentDispatcher, J;
198
+ function B(e, r, t) {
199
199
  {
200
- if (q === void 0)
200
+ if (J === void 0)
201
201
  try {
202
202
  throw Error();
203
- } catch (o) {
204
- var n = o.stack.trim().match(/\n( *(at )?)/);
205
- q = n && n[1] || "";
203
+ } catch (l) {
204
+ var i = l.stack.trim().match(/\n( *(at )?)/);
205
+ J = i && i[1] || "";
206
206
  }
207
207
  return `
208
- ` + q + e;
208
+ ` + J + e;
209
209
  }
210
210
  }
211
- var K = !1, U;
211
+ var q = !1, N;
212
212
  {
213
- var Je = typeof WeakMap == "function" ? WeakMap : Map;
214
- U = new Je();
213
+ var qe = typeof WeakMap == "function" ? WeakMap : Map;
214
+ N = new qe();
215
215
  }
216
- function ge(e, r) {
217
- if (!e || K)
216
+ function xe(e, r) {
217
+ if (!e || q)
218
218
  return "";
219
219
  {
220
- var t = U.get(e);
220
+ var t = N.get(e);
221
221
  if (t !== void 0)
222
222
  return t;
223
223
  }
224
- var n;
225
- K = !0;
226
- var o = Error.prepareStackTrace;
224
+ var i;
225
+ q = !0;
226
+ var l = Error.prepareStackTrace;
227
227
  Error.prepareStackTrace = void 0;
228
- var l;
229
- l = J.current, J.current = null, He();
228
+ var u;
229
+ u = G.current, G.current = null, Ge();
230
230
  try {
231
231
  if (r) {
232
- var i = function() {
232
+ var o = function() {
233
233
  throw Error();
234
234
  };
235
- if (Object.defineProperty(i.prototype, "props", {
235
+ if (Object.defineProperty(o.prototype, "props", {
236
236
  set: function() {
237
237
  throw Error();
238
238
  }
239
239
  }), typeof Reflect == "object" && Reflect.construct) {
240
240
  try {
241
- Reflect.construct(i, []);
241
+ Reflect.construct(o, []);
242
242
  } catch (y) {
243
- n = y;
243
+ i = y;
244
244
  }
245
- Reflect.construct(e, [], i);
245
+ Reflect.construct(e, [], o);
246
246
  } else {
247
247
  try {
248
- i.call();
248
+ o.call();
249
249
  } catch (y) {
250
- n = y;
250
+ i = y;
251
251
  }
252
- e.call(i.prototype);
252
+ e.call(o.prototype);
253
253
  }
254
254
  } else {
255
255
  try {
256
256
  throw Error();
257
257
  } catch (y) {
258
- n = y;
258
+ i = y;
259
259
  }
260
260
  e();
261
261
  }
262
262
  } catch (y) {
263
- if (y && n && typeof y.stack == "string") {
263
+ if (y && i && typeof y.stack == "string") {
264
264
  for (var a = y.stack.split(`
265
- `), b = n.stack.split(`
266
- `), f = a.length - 1, d = b.length - 1; f >= 1 && d >= 0 && a[f] !== b[d]; )
267
- d--;
268
- for (; f >= 1 && d >= 0; f--, d--)
269
- if (a[f] !== b[d]) {
270
- if (f !== 1 || d !== 1)
265
+ `), x = i.stack.split(`
266
+ `), d = a.length - 1, p = x.length - 1; d >= 1 && p >= 0 && a[d] !== x[p]; )
267
+ p--;
268
+ for (; d >= 1 && p >= 0; d--, p--)
269
+ if (a[d] !== x[p]) {
270
+ if (d !== 1 || p !== 1)
271
271
  do
272
- if (f--, d--, d < 0 || a[f] !== b[d]) {
273
- var E = `
274
- ` + a[f].replace(" at new ", " at ");
275
- return e.displayName && E.includes("<anonymous>") && (E = E.replace("<anonymous>", e.displayName)), typeof e == "function" && U.set(e, E), E;
272
+ if (d--, p--, p < 0 || a[d] !== x[p]) {
273
+ var w = `
274
+ ` + a[d].replace(" at new ", " at ");
275
+ return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" && N.set(e, w), w;
276
276
  }
277
- while (f >= 1 && d >= 0);
277
+ while (d >= 1 && p >= 0);
278
278
  break;
279
279
  }
280
280
  }
281
281
  } finally {
282
- K = !1, J.current = l, Ge(), Error.prepareStackTrace = o;
282
+ q = !1, G.current = u, Je(), Error.prepareStackTrace = l;
283
283
  }
284
- var A = e ? e.displayName || e.name : "", P = A ? M(A) : "";
285
- return typeof e == "function" && U.set(e, P), P;
284
+ var A = e ? e.displayName || e.name : "", I = A ? B(A) : "";
285
+ return typeof e == "function" && N.set(e, I), I;
286
286
  }
287
- function qe(e, r, t) {
288
- return ge(e, !1);
287
+ function Ke(e, r, t) {
288
+ return xe(e, !1);
289
289
  }
290
- function Ke(e) {
290
+ function Xe(e) {
291
291
  var r = e.prototype;
292
292
  return !!(r && r.isReactComponent);
293
293
  }
294
- function B(e, r, t) {
294
+ function z(e, r, t) {
295
295
  if (e == null)
296
296
  return "";
297
297
  if (typeof e == "function")
298
- return ge(e, Ke(e));
298
+ return xe(e, Xe(e));
299
299
  if (typeof e == "string")
300
- return M(e);
300
+ return B(e);
301
301
  switch (e) {
302
- case j:
303
- return M("Suspense");
304
- case p:
305
- return M("SuspenseList");
302
+ case S:
303
+ return B("Suspense");
304
+ case b:
305
+ return B("SuspenseList");
306
306
  }
307
307
  if (typeof e == "object")
308
308
  switch (e.$$typeof) {
309
- case c:
310
- return qe(e.render);
311
- case _:
312
- return B(e.type, r, t);
309
+ case f:
310
+ return Ke(e.render);
311
+ case j:
312
+ return z(e.type, r, t);
313
313
  case T: {
314
- var n = e, o = n._payload, l = n._init;
314
+ var i = e, l = i._payload, u = i._init;
315
315
  try {
316
- return B(l(o), r, t);
316
+ return z(u(l), r, t);
317
317
  } catch {
318
318
  }
319
319
  }
320
320
  }
321
321
  return "";
322
322
  }
323
- var W = Object.prototype.hasOwnProperty, be = {}, me = I.ReactDebugCurrentFrame;
324
- function z(e) {
323
+ var W = Object.prototype.hasOwnProperty, Ce = {}, ye = D.ReactDebugCurrentFrame;
324
+ function U(e) {
325
325
  if (e) {
326
- var r = e._owner, t = B(e.type, e._source, r ? r.type : null);
327
- me.setExtraStackFrame(t);
326
+ var r = e._owner, t = z(e.type, e._source, r ? r.type : null);
327
+ ye.setExtraStackFrame(t);
328
328
  } else
329
- me.setExtraStackFrame(null);
329
+ ye.setExtraStackFrame(null);
330
330
  }
331
- function Xe(e, r, t, n, o) {
331
+ function Qe(e, r, t, i, l) {
332
332
  {
333
- var l = Function.call.bind(W);
334
- for (var i in e)
335
- if (l(e, i)) {
333
+ var u = Function.call.bind(W);
334
+ for (var o in e)
335
+ if (u(e, o)) {
336
336
  var a = void 0;
337
337
  try {
338
- if (typeof e[i] != "function") {
339
- var b = Error((n || "React class") + ": " + t + " type `" + i + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[i] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
340
- throw b.name = "Invariant Violation", b;
338
+ if (typeof e[o] != "function") {
339
+ var x = Error((i || "React class") + ": " + t + " type `" + o + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[o] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
340
+ throw x.name = "Invariant Violation", x;
341
341
  }
342
- a = e[i](r, i, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
343
- } catch (f) {
344
- a = f;
342
+ a = e[o](r, o, i, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
343
+ } catch (d) {
344
+ a = d;
345
345
  }
346
- a && !(a instanceof Error) && (z(o), v("%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).", n || "React class", t, i, typeof a), z(null)), a instanceof Error && !(a.message in be) && (be[a.message] = !0, z(o), v("Failed %s type: %s", t, a.message), z(null));
346
+ a && !(a instanceof Error) && (U(l), m("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", i || "React class", t, o, typeof a), U(null)), a instanceof Error && !(a.message in Ce) && (Ce[a.message] = !0, U(l), m("Failed %s type: %s", t, a.message), U(null));
347
347
  }
348
348
  }
349
349
  }
350
- var Ze = Array.isArray;
351
- function X(e) {
352
- return Ze(e);
350
+ var er = Array.isArray;
351
+ function K(e) {
352
+ return er(e);
353
353
  }
354
- function Qe(e) {
354
+ function rr(e) {
355
355
  {
356
356
  var r = typeof Symbol == "function" && Symbol.toStringTag, t = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
357
357
  return t;
358
358
  }
359
359
  }
360
- function er(e) {
360
+ function tr(e) {
361
361
  try {
362
- return ye(e), !1;
362
+ return Ee(e), !1;
363
363
  } catch {
364
364
  return !0;
365
365
  }
366
366
  }
367
- function ye(e) {
367
+ function Ee(e) {
368
368
  return "" + e;
369
369
  }
370
- function _e(e) {
371
- if (er(e))
372
- return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Qe(e)), ye(e);
370
+ function Re(e) {
371
+ if (tr(e))
372
+ return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", rr(e)), Ee(e);
373
373
  }
374
- var L = I.ReactCurrentOwner, rr = {
374
+ var $ = D.ReactCurrentOwner, nr = {
375
375
  key: !0,
376
376
  ref: !0,
377
377
  __self: !0,
378
378
  __source: !0
379
- }, Ee, xe, Z;
380
- Z = {};
381
- function tr(e) {
379
+ }, _e, je, X;
380
+ X = {};
381
+ function ir(e) {
382
382
  if (W.call(e, "ref")) {
383
383
  var r = Object.getOwnPropertyDescriptor(e, "ref").get;
384
384
  if (r && r.isReactWarning)
@@ -386,7 +386,7 @@ function wr() {
386
386
  }
387
387
  return e.ref !== void 0;
388
388
  }
389
- function nr(e) {
389
+ function ar(e) {
390
390
  if (W.call(e, "key")) {
391
391
  var r = Object.getOwnPropertyDescriptor(e, "key").get;
392
392
  if (r && r.isReactWarning)
@@ -394,16 +394,16 @@ function wr() {
394
394
  }
395
395
  return e.key !== void 0;
396
396
  }
397
- function ar(e, r) {
398
- if (typeof e.ref == "string" && L.current && r && L.current.stateNode !== r) {
399
- var t = w(L.current.type);
400
- Z[t] || (v('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', w(L.current.type), e.ref), Z[t] = !0);
397
+ function or(e, r) {
398
+ if (typeof e.ref == "string" && $.current && r && $.current.stateNode !== r) {
399
+ var t = k($.current.type);
400
+ X[t] || (m('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', k($.current.type), e.ref), X[t] = !0);
401
401
  }
402
402
  }
403
- function ir(e, r) {
403
+ function lr(e, r) {
404
404
  {
405
405
  var t = function() {
406
- Ee || (Ee = !0, v("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
406
+ _e || (_e = !0, m("%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));
407
407
  };
408
408
  t.isReactWarning = !0, Object.defineProperty(e, "key", {
409
409
  get: t,
@@ -411,10 +411,10 @@ function wr() {
411
411
  });
412
412
  }
413
413
  }
414
- function or(e, r) {
414
+ function sr(e, r) {
415
415
  {
416
416
  var t = function() {
417
- xe || (xe = !0, v("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
417
+ je || (je = !0, m("%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));
418
418
  };
419
419
  t.isReactWarning = !0, Object.defineProperty(e, "ref", {
420
420
  get: t,
@@ -422,17 +422,17 @@ function wr() {
422
422
  });
423
423
  }
424
424
  }
425
- var lr = function(e, r, t, n, o, l, i) {
425
+ var ur = function(e, r, t, i, l, u, o) {
426
426
  var a = {
427
427
  // This tag allows us to uniquely identify this as a React Element
428
- $$typeof: u,
428
+ $$typeof: s,
429
429
  // Built-in properties that belong on the element
430
430
  type: e,
431
431
  key: r,
432
432
  ref: t,
433
- props: i,
433
+ props: o,
434
434
  // Record the component responsible for creating this element.
435
- _owner: l
435
+ _owner: u
436
436
  };
437
437
  return a._store = {}, Object.defineProperty(a._store, "validated", {
438
438
  configurable: !1,
@@ -443,49 +443,49 @@ function wr() {
443
443
  configurable: !1,
444
444
  enumerable: !1,
445
445
  writable: !1,
446
- value: n
446
+ value: i
447
447
  }), Object.defineProperty(a, "_source", {
448
448
  configurable: !1,
449
449
  enumerable: !1,
450
450
  writable: !1,
451
- value: o
451
+ value: l
452
452
  }), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
453
453
  };
454
- function sr(e, r, t, n, o) {
454
+ function cr(e, r, t, i, l) {
455
455
  {
456
- var l, i = {}, a = null, b = null;
457
- t !== void 0 && (_e(t), a = "" + t), nr(r) && (_e(r.key), a = "" + r.key), tr(r) && (b = r.ref, ar(r, o));
458
- for (l in r)
459
- W.call(r, l) && !rr.hasOwnProperty(l) && (i[l] = r[l]);
456
+ var u, o = {}, a = null, x = null;
457
+ t !== void 0 && (Re(t), a = "" + t), ar(r) && (Re(r.key), a = "" + r.key), ir(r) && (x = r.ref, or(r, l));
458
+ for (u in r)
459
+ W.call(r, u) && !nr.hasOwnProperty(u) && (o[u] = r[u]);
460
460
  if (e && e.defaultProps) {
461
- var f = e.defaultProps;
462
- for (l in f)
463
- i[l] === void 0 && (i[l] = f[l]);
461
+ var d = e.defaultProps;
462
+ for (u in d)
463
+ o[u] === void 0 && (o[u] = d[u]);
464
464
  }
465
- if (a || b) {
466
- var d = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
467
- a && ir(i, d), b && or(i, d);
465
+ if (a || x) {
466
+ var p = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
467
+ a && lr(o, p), x && sr(o, p);
468
468
  }
469
- return lr(e, a, b, o, n, L.current, i);
469
+ return ur(e, a, x, l, i, $.current, o);
470
470
  }
471
471
  }
472
- var Q = I.ReactCurrentOwner, Re = I.ReactDebugCurrentFrame;
472
+ var Q = D.ReactCurrentOwner, we = D.ReactDebugCurrentFrame;
473
473
  function F(e) {
474
474
  if (e) {
475
- var r = e._owner, t = B(e.type, e._source, r ? r.type : null);
476
- Re.setExtraStackFrame(t);
475
+ var r = e._owner, t = z(e.type, e._source, r ? r.type : null);
476
+ we.setExtraStackFrame(t);
477
477
  } else
478
- Re.setExtraStackFrame(null);
478
+ we.setExtraStackFrame(null);
479
479
  }
480
480
  var ee;
481
481
  ee = !1;
482
482
  function re(e) {
483
- return typeof e == "object" && e !== null && e.$$typeof === u;
483
+ return typeof e == "object" && e !== null && e.$$typeof === s;
484
484
  }
485
485
  function Se() {
486
486
  {
487
487
  if (Q.current) {
488
- var e = w(Q.current.type);
488
+ var e = k(Q.current.type);
489
489
  if (e)
490
490
  return `
491
491
 
@@ -494,7 +494,7 @@ Check the render method of \`` + e + "`.";
494
494
  return "";
495
495
  }
496
496
  }
497
- function ur(e) {
497
+ function fr(e) {
498
498
  {
499
499
  if (e !== void 0) {
500
500
  var r = e.fileName.replace(/^.*[\\\/]/, ""), t = e.lineNumber;
@@ -505,8 +505,8 @@ Check your code at ` + r + ":" + t + ".";
505
505
  return "";
506
506
  }
507
507
  }
508
- var je = {};
509
- function cr(e) {
508
+ var Te = {};
509
+ function dr(e) {
510
510
  {
511
511
  var r = Se();
512
512
  if (!r) {
@@ -518,39 +518,39 @@ Check the top-level render call using <` + t + ">.");
518
518
  return r;
519
519
  }
520
520
  }
521
- function Te(e, r) {
521
+ function ke(e, r) {
522
522
  {
523
523
  if (!e._store || e._store.validated || e.key != null)
524
524
  return;
525
525
  e._store.validated = !0;
526
- var t = cr(r);
527
- if (je[t])
526
+ var t = dr(r);
527
+ if (Te[t])
528
528
  return;
529
- je[t] = !0;
530
- var n = "";
531
- e && e._owner && e._owner !== Q.current && (n = " It was passed a child from " + w(e._owner.type) + "."), F(e), v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, n), F(null);
529
+ Te[t] = !0;
530
+ var i = "";
531
+ e && e._owner && e._owner !== Q.current && (i = " It was passed a child from " + k(e._owner.type) + "."), F(e), m('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, i), F(null);
532
532
  }
533
533
  }
534
- function we(e, r) {
534
+ function Oe(e, r) {
535
535
  {
536
536
  if (typeof e != "object")
537
537
  return;
538
- if (X(e))
538
+ if (K(e))
539
539
  for (var t = 0; t < e.length; t++) {
540
- var n = e[t];
541
- re(n) && Te(n, r);
540
+ var i = e[t];
541
+ re(i) && ke(i, r);
542
542
  }
543
543
  else if (re(e))
544
544
  e._store && (e._store.validated = !0);
545
545
  else if (e) {
546
- var o = We(e);
547
- if (typeof o == "function" && o !== e.entries)
548
- for (var l = o.call(e), i; !(i = l.next()).done; )
549
- re(i.value) && Te(i.value, r);
546
+ var l = $e(e);
547
+ if (typeof l == "function" && l !== e.entries)
548
+ for (var u = l.call(e), o; !(o = u.next()).done; )
549
+ re(o.value) && ke(o.value, r);
550
550
  }
551
551
  }
552
552
  }
553
- function fr(e) {
553
+ function pr(e) {
554
554
  {
555
555
  var r = e.type;
556
556
  if (r == null || typeof r == "string")
@@ -558,99 +558,99 @@ Check the top-level render call using <` + t + ">.");
558
558
  var t;
559
559
  if (typeof r == "function")
560
560
  t = r.propTypes;
561
- else if (typeof r == "object" && (r.$$typeof === c || // Note: Memo only checks outer props here.
561
+ else if (typeof r == "object" && (r.$$typeof === f || // Note: Memo only checks outer props here.
562
562
  // Inner props are checked in the reconciler.
563
- r.$$typeof === _))
563
+ r.$$typeof === j))
564
564
  t = r.propTypes;
565
565
  else
566
566
  return;
567
567
  if (t) {
568
- var n = w(r);
569
- Xe(t, e.props, "prop", n, e);
568
+ var i = k(r);
569
+ Qe(t, e.props, "prop", i, e);
570
570
  } else if (r.PropTypes !== void 0 && !ee) {
571
571
  ee = !0;
572
- var o = w(r);
573
- v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", o || "Unknown");
572
+ var l = k(r);
573
+ m("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", l || "Unknown");
574
574
  }
575
- typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
575
+ typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && m("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
576
576
  }
577
577
  }
578
- function dr(e) {
578
+ function vr(e) {
579
579
  {
580
580
  for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
581
- var n = r[t];
582
- if (n !== "children" && n !== "key") {
583
- F(e), v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), F(null);
581
+ var i = r[t];
582
+ if (i !== "children" && i !== "key") {
583
+ F(e), m("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", i), F(null);
584
584
  break;
585
585
  }
586
586
  }
587
- e.ref !== null && (F(e), v("Invalid attribute `ref` supplied to `React.Fragment`."), F(null));
587
+ e.ref !== null && (F(e), m("Invalid attribute `ref` supplied to `React.Fragment`."), F(null));
588
588
  }
589
589
  }
590
- var Ce = {};
591
- function Oe(e, r, t, n, o, l) {
590
+ var Pe = {};
591
+ function Le(e, r, t, i, l, u) {
592
592
  {
593
- var i = Be(e);
594
- if (!i) {
593
+ var o = Ue(e);
594
+ if (!o) {
595
595
  var a = "";
596
596
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (a += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
597
- var b = ur(o);
598
- b ? a += b : a += Se();
599
- var f;
600
- e === null ? f = "null" : X(e) ? f = "array" : e !== void 0 && e.$$typeof === u ? (f = "<" + (w(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : f = typeof e, v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", f, a);
597
+ var x = fr(l);
598
+ x ? a += x : a += Se();
599
+ var d;
600
+ e === null ? d = "null" : K(e) ? d = "array" : e !== void 0 && e.$$typeof === s ? (d = "<" + (k(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : d = typeof e, m("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", d, a);
601
601
  }
602
- var d = sr(e, r, t, o, l);
603
- if (d == null)
604
- return d;
605
- if (i) {
606
- var E = r.children;
607
- if (E !== void 0)
608
- if (n)
609
- if (X(E)) {
610
- for (var A = 0; A < E.length; A++)
611
- we(E[A], e);
612
- Object.freeze && Object.freeze(E);
602
+ var p = cr(e, r, t, l, u);
603
+ if (p == null)
604
+ return p;
605
+ if (o) {
606
+ var w = r.children;
607
+ if (w !== void 0)
608
+ if (i)
609
+ if (K(w)) {
610
+ for (var A = 0; A < w.length; A++)
611
+ Oe(w[A], e);
612
+ Object.freeze && Object.freeze(w);
613
613
  } else
614
- v("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
614
+ m("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
615
615
  else
616
- we(E, e);
616
+ Oe(w, e);
617
617
  }
618
618
  if (W.call(r, "key")) {
619
- var P = w(e), y = Object.keys(r).filter(function(mr) {
620
- return mr !== "key";
619
+ var I = k(e), y = Object.keys(r).filter(function(Cr) {
620
+ return Cr !== "key";
621
621
  }), te = y.length > 0 ? "{key: someKey, " + y.join(": ..., ") + ": ...}" : "{key: someKey}";
622
- if (!Ce[P + te]) {
623
- var br = y.length > 0 ? "{" + y.join(": ..., ") + ": ...}" : "{}";
624
- v(`A props object containing a "key" prop is being spread into JSX:
622
+ if (!Pe[I + te]) {
623
+ var xr = y.length > 0 ? "{" + y.join(": ..., ") + ": ...}" : "{}";
624
+ m(`A props object containing a "key" prop is being spread into JSX:
625
625
  let props = %s;
626
626
  <%s {...props} />
627
627
  React keys must be passed directly to JSX without using spread:
628
628
  let props = %s;
629
- <%s key={someKey} {...props} />`, te, P, br, P), Ce[P + te] = !0;
629
+ <%s key={someKey} {...props} />`, te, I, xr, I), Pe[I + te] = !0;
630
630
  }
631
631
  }
632
- return e === m ? dr(d) : fr(d), d;
632
+ return e === h ? vr(p) : pr(p), p;
633
633
  }
634
634
  }
635
- function pr(e, r, t) {
636
- return Oe(e, r, t, !0);
635
+ function hr(e, r, t) {
636
+ return Le(e, r, t, !0);
637
637
  }
638
- function vr(e, r, t) {
639
- return Oe(e, r, t, !1);
638
+ function gr(e, r, t) {
639
+ return Le(e, r, t, !1);
640
640
  }
641
- var hr = vr, gr = pr;
642
- N.Fragment = m, N.jsx = hr, N.jsxs = gr;
643
- }()), N;
641
+ var br = gr, mr = hr;
642
+ M.Fragment = h, M.jsx = br, M.jsxs = mr;
643
+ }()), M;
644
644
  }
645
- process.env.NODE_ENV === "production" ? ae.exports = Tr() : ae.exports = wr();
646
- var s = ae.exports;
647
- function Ir({
648
- title: h,
649
- subtitle: u,
650
- children: g
645
+ process.env.NODE_ENV === "production" ? ae.exports = Lr() : ae.exports = Ir();
646
+ var n = ae.exports;
647
+ function Mr({
648
+ title: c,
649
+ subtitle: s,
650
+ children: v
651
651
  }) {
652
- return /* @__PURE__ */ s.jsxs(
653
- H,
652
+ return /* @__PURE__ */ n.jsxs(
653
+ P,
654
654
  {
655
655
  flexDirection: "column",
656
656
  border: "1px solid",
@@ -658,70 +658,70 @@ function Ir({
658
658
  padding: "8",
659
659
  alignItems: "center",
660
660
  children: [
661
- /* @__PURE__ */ s.jsx(
662
- ke,
663
- { as: "h3", marginBottom: "10", children: h }
661
+ /* @__PURE__ */ n.jsx(
662
+ Ie,
663
+ { as: "h3", marginBottom: "10", children: c }
664
664
  ),
665
- /* @__PURE__ */ s.jsx(
666
- ke,
667
- { as: "h4", marginBottom: "4", fontSize: "xl", children: u }
665
+ /* @__PURE__ */ n.jsx(
666
+ Ie,
667
+ { as: "h4", marginBottom: "4", fontSize: "xl", children: s }
668
668
  ),
669
- g
669
+ v
670
670
  ]
671
671
  }
672
672
  );
673
673
  }
674
- const ne = 60, Ae = 6, Cr = (h) => {
674
+ const ne = 60, He = 6, Dr = (c) => {
675
675
  const {
676
- activeStepIndex: u,
677
- hideIndicators: g = !1,
678
- steps: m,
679
- stepperTheme: C = {
676
+ activeStepIndex: s,
677
+ hideIndicators: v = !1,
678
+ steps: h,
679
+ stepperTheme: R = {
680
680
  light: "eggplant.light",
681
681
  base: "eggplant.base"
682
682
  }
683
- } = h, { activeStep: x, setActiveStep: S } = yr({
684
- index: u,
685
- count: m.length
683
+ } = c, { activeStep: g, setActiveStep: _ } = yr({
684
+ index: s,
685
+ count: h.length
686
686
  });
687
- return Sr(() => {
688
- S(u);
689
- }, [u, S]), /* @__PURE__ */ s.jsx(
690
- D,
691
- { position: "relative", width: "100%", "data-testid": "stepper", children: /* @__PURE__ */ s.jsx(
692
- _r,
687
+ return wr(() => {
688
+ _(s);
689
+ }, [s, _]), /* @__PURE__ */ n.jsx(
690
+ E,
691
+ { position: "relative", width: "100%", "data-testid": "stepper", children: /* @__PURE__ */ n.jsx(
692
+ Er,
693
693
  {
694
694
  role: "progressbar",
695
- index: x,
695
+ index: g,
696
696
  width: "100%",
697
697
  display: "flex",
698
698
  flexWrap: "nowrap",
699
- children: m.map((R, c) => {
700
- const j = x === c, p = c === 0, _ = c === m.length - 1, T = x > c;
699
+ children: h.map((C, f) => {
700
+ const S = g === f, b = f === 0, j = f === h.length - 1, T = g > f;
701
701
  let O = `${ne}px`;
702
- const V = `calc(100% - ((${ne * (m.length - 1)}px) - (${m.length - 1} * ${Ae * 2}px)))`;
703
- return j ? O = V : (p || _) && (O = `${ne - Ae}px`), /* @__PURE__ */ s.jsx(
704
- D,
702
+ const Y = `calc(100% - ((${ne * (h.length - 1)}px) - (${h.length - 1} * ${He * 2}px)))`;
703
+ return S ? O = Y : (b || j) && (O = `${ne - He}px`), /* @__PURE__ */ n.jsx(
704
+ E,
705
705
  {
706
706
  width: O,
707
- opacity: T || j ? 1 : 0.2,
708
- paddingRight: _ ? "0" : "6px",
709
- paddingLeft: p ? "0" : "6px",
707
+ opacity: T || S ? 1 : 0.2,
708
+ paddingRight: j ? "0" : "6px",
709
+ paddingLeft: b ? "0" : "6px",
710
710
  transition: "width 0.4s ease-in-out, opacity 0.4s ease-in-out",
711
- children: /* @__PURE__ */ s.jsx(
712
- D,
711
+ children: /* @__PURE__ */ n.jsx(
712
+ E,
713
713
  {
714
- paddingTop: g ? 2 : 5,
714
+ paddingTop: v ? 2 : 5,
715
715
  position: "relative",
716
716
  width: "100%",
717
- children: /* @__PURE__ */ s.jsx(
718
- D,
717
+ children: /* @__PURE__ */ n.jsx(
718
+ E,
719
719
  {
720
720
  width: "100%",
721
721
  position: "absolute",
722
722
  top: "0",
723
- backgroundColor: T ? C.light : C.base,
724
- height: g ? "4px" : "8px",
723
+ backgroundColor: T ? R.light : R.base,
724
+ height: v ? "4px" : "8px",
725
725
  borderRadius: "4",
726
726
  left: "0"
727
727
  }
@@ -729,24 +729,24 @@ const ne = 60, Ae = 6, Cr = (h) => {
729
729
  }
730
730
  )
731
731
  },
732
- `step-${c}`
732
+ `step-${f}`
733
733
  );
734
734
  })
735
735
  }
736
736
  ) }
737
737
  );
738
- }, Fr = ie.memo(Cr), Ar = ({
739
- children: h,
740
- ...u
741
- }) => /* @__PURE__ */ s.jsx(
742
- jr,
743
- { color: "tints.uiGrey", fontSize: ["md", null, "lg"], ...u, children: h }
744
- ), $r = ({
745
- label: h,
746
- additionalContent: u,
747
- ...g
748
- }) => /* @__PURE__ */ s.jsxs(
749
- Er,
738
+ }, Yr = se.memo(Dr), Br = ({
739
+ children: c,
740
+ ...s
741
+ }) => /* @__PURE__ */ n.jsx(
742
+ Tr,
743
+ { color: "tints.uiGrey", fontSize: ["md", null, "lg"], ...s, children: c }
744
+ ), Nr = ({
745
+ label: c,
746
+ additionalContent: s,
747
+ ...v
748
+ }) => /* @__PURE__ */ n.jsxs(
749
+ le,
750
750
  {
751
751
  display: "flex",
752
752
  alignItems: "center",
@@ -757,10 +757,11 @@ const ne = 60, Ae = 6, Cr = (h) => {
757
757
  _hover: { color: "viridian.base", textDecoration: "none" },
758
758
  borderBottom: ["1px", null, "unset"],
759
759
  borderColor: ["tints.cream", null, "unset"],
760
- ...g,
760
+ width: ["100%", null, "fit-content"],
761
+ ...v,
761
762
  children: [
762
- /* @__PURE__ */ s.jsx(
763
- Pe,
763
+ /* @__PURE__ */ n.jsx(
764
+ ie,
764
765
  {
765
766
  display: ["none", null, "block"],
766
767
  as: De,
@@ -771,15 +772,15 @@ const ne = 60, Ae = 6, Cr = (h) => {
771
772
  weight: "bold"
772
773
  }
773
774
  ),
774
- /* @__PURE__ */ s.jsxs(
775
- H,
775
+ /* @__PURE__ */ n.jsxs(
776
+ P,
776
777
  { alignItems: "center", gap: "1", width: ["100%", null, "auto"], children: [
777
- /* @__PURE__ */ s.jsx(
778
- G,
779
- { fontSize: ["xl", null, "lg"], fontWeight: "medium", children: h }
778
+ /* @__PURE__ */ n.jsx(
779
+ Z,
780
+ { fontSize: ["xl", null, "lg"], fontWeight: "medium", children: c }
780
781
  ),
781
- u && (typeof u == "string" ? /* @__PURE__ */ s.jsx(
782
- G,
782
+ s && (typeof s == "string" ? /* @__PURE__ */ n.jsx(
783
+ Z,
783
784
  {
784
785
  fontSize: ["xl", null, "lg"],
785
786
  fontWeight: "medium",
@@ -789,11 +790,11 @@ const ne = 60, Ae = 6, Cr = (h) => {
789
790
  color: "viridian.base"
790
791
  }
791
792
  },
792
- children: u
793
+ children: s
793
794
  }
794
- ) : u),
795
- /* @__PURE__ */ s.jsx(
796
- Pe,
795
+ ) : s),
796
+ /* @__PURE__ */ n.jsx(
797
+ ie,
797
798
  {
798
799
  display: ["block", null, "none"],
799
800
  as: De,
@@ -808,48 +809,51 @@ const ne = 60, Ae = 6, Cr = (h) => {
808
809
  )
809
810
  ]
810
811
  }
811
- ), Wr = ({
812
- children: h,
813
- isSelected: u,
814
- ...g
815
- }) => /* @__PURE__ */ s.jsx(
816
- xr,
817
- {
818
- display: "flex",
819
- alignItems: "center",
820
- justifyContent: "center",
821
- borderRadius: "full",
822
- backgroundColor: u ? "tints.lightCream" : "transparent",
823
- fontSize: "lg",
824
- fontWeight: "normal",
825
- color: "tints.black",
826
- _hover: {
827
- backgroundColor: "tints.lightCream",
828
- textDecoration: "none"
829
- },
830
- ...g,
831
- children: h
812
+ ), Fr = (c) => {
813
+ const { isSelected: s, as: v } = c;
814
+ return v === le ? "tints.cream" : s ? "tints.lightCream" : "transparent";
815
+ }, zr = Sr(
816
+ (c, s) => {
817
+ const { children: v, isSelected: h, ...R } = c, g = c.backgroundColor || Fr(c);
818
+ return /* @__PURE__ */ n.jsx(
819
+ Rr,
820
+ {
821
+ ref: s,
822
+ borderRadius: "full",
823
+ backgroundColor: g,
824
+ fontSize: "lg",
825
+ fontWeight: "normal",
826
+ color: "tints.black",
827
+ _hover: {
828
+ backgroundColor: g,
829
+ textDecoration: "none",
830
+ filter: "brightness(0.95)"
831
+ },
832
+ ...R,
833
+ children: v
834
+ }
835
+ );
832
836
  }
833
- ), Lr = ({
834
- title: h,
835
- description: u,
836
- imageSrc: g,
837
- imageElement: m,
838
- button: C,
839
- backgroundColor: x = "viridian.wash",
840
- onClick: S
837
+ ), Ur = ({
838
+ title: c,
839
+ description: s,
840
+ imageSrc: v,
841
+ imageElement: h,
842
+ button: R,
843
+ backgroundColor: g = "viridian.wash",
844
+ onClick: _
841
845
  }) => {
842
- const R = "80px";
843
- return /* @__PURE__ */ s.jsxs(
844
- H,
846
+ const C = "80px", f = "200px";
847
+ return /* @__PURE__ */ n.jsxs(
848
+ P,
845
849
  {
846
850
  direction: ["row", null, "column"],
847
851
  alignItems: ["center"],
848
852
  borderRadius: "xl",
849
853
  overflow: "hidden",
850
- minHeight: [R, null, "272px"],
851
- backgroundColor: x,
852
- onClick: S,
854
+ height: [C, null, "272px"],
855
+ backgroundColor: g,
856
+ onClick: _,
853
857
  "data-testid": "spotlight-card",
854
858
  position: "relative",
855
859
  transition: "box-shadow 0.2s ease-in-out",
@@ -858,26 +862,34 @@ const ne = 60, Ae = 6, Cr = (h) => {
858
862
  cursor: "pointer"
859
863
  },
860
864
  children: [
861
- /* @__PURE__ */ s.jsx(
862
- D,
865
+ /* @__PURE__ */ n.jsx(
866
+ E,
863
867
  {
864
868
  width: ["72px", null, "100%"],
865
869
  height: ["100%"],
866
870
  flex: [null, null, "1"],
867
- children: g ? /* @__PURE__ */ s.jsx(
868
- Rr,
871
+ children: v ? /* @__PURE__ */ n.jsx(
872
+ _r,
869
873
  {
870
- src: g,
874
+ src: v,
871
875
  objectFit: "cover",
872
- height: [R, null, "200px"],
876
+ height: [C, null, f],
873
877
  width: "100%",
874
- alt: ""
878
+ alt: "",
879
+ "data-testid": "spotlight-card-image"
875
880
  }
876
- ) : m
881
+ ) : /* @__PURE__ */ n.jsx(
882
+ E,
883
+ {
884
+ height: [C, null, f],
885
+ overflow: "hidden",
886
+ children: h
887
+ }
888
+ )
877
889
  }
878
890
  ),
879
- /* @__PURE__ */ s.jsxs(
880
- H,
891
+ /* @__PURE__ */ n.jsxs(
892
+ P,
881
893
  {
882
894
  direction: ["column", null, "row"],
883
895
  justifyContent: [null, null, "space-between"],
@@ -887,32 +899,169 @@ const ne = 60, Ae = 6, Cr = (h) => {
887
899
  width: "100%",
888
900
  position: [null, null, "absolute"],
889
901
  bottom: [null, null, "0"],
890
- backgroundColor: [null, null, `${x}CC`],
902
+ backgroundColor: [null, null, `${g}CC`],
891
903
  backdropFilter: [null, null, "blur(8px)"],
892
904
  children: [
893
- /* @__PURE__ */ s.jsxs(
894
- D,
905
+ /* @__PURE__ */ n.jsxs(
906
+ E,
895
907
  { children: [
896
- /* @__PURE__ */ s.jsx(
897
- G,
898
- { fontSize: "lg", fontWeight: "medium", children: h }
908
+ /* @__PURE__ */ n.jsx(
909
+ Z,
910
+ { fontSize: "lg", fontWeight: "medium", children: c }
899
911
  ),
900
- /* @__PURE__ */ s.jsx(G, { fontSize: "sm", children: u })
912
+ /* @__PURE__ */ n.jsx(Z, { fontSize: "sm", children: s })
901
913
  ] }
902
914
  ),
903
- /* @__PURE__ */ s.jsx(D, { display: ["none", null, "block"], children: C })
915
+ /* @__PURE__ */ n.jsx(E, { display: ["none", null, "block"], children: R })
904
916
  ]
905
917
  }
906
918
  )
907
919
  ]
908
920
  }
909
921
  );
910
- };
922
+ }, oe = (c) => /* @__PURE__ */ n.jsx(
923
+ jr,
924
+ {
925
+ size: "sm",
926
+ width: ["40px", null, "46px"],
927
+ height: ["40px", null, "46px"],
928
+ padding: ["2 !important", null, "3 !important"],
929
+ colorScheme: "whiteCS",
930
+ backgroundColor: "tints.cream",
931
+ sx: {
932
+ svg: {
933
+ width: "24px",
934
+ height: "24px"
935
+ }
936
+ },
937
+ _hover: {
938
+ backgroundColor: "tints.cream",
939
+ filter: "brightness(0.95)"
940
+ },
941
+ ...c
942
+ }
943
+ ), Ar = () => /* @__PURE__ */ n.jsx(
944
+ "svg",
945
+ {
946
+ width: "116",
947
+ height: "24",
948
+ viewBox: "0 0 116 24",
949
+ fill: "none",
950
+ xmlns: "http://www.w3.org/2000/svg",
951
+ role: "img",
952
+ "aria-label": "Everlywell Logo",
953
+ children: /* @__PURE__ */ n.jsx(
954
+ "g",
955
+ { id: "Everlywell Logo", children: /* @__PURE__ */ n.jsx(
956
+ "path",
957
+ {
958
+ id: "Everlywell Logo_2",
959
+ fillRule: "evenodd",
960
+ clipRule: "evenodd",
961
+ d: "M54.8224 1V17.8352H52.4272V1H54.8224ZM5.65731 14.992C4.9835 14.4474 4.59261 13.726 4.48231 12.8278H13.7822C13.9984 10.4829 13.5723 8.70006 12.5039 7.47915C11.4322 6.25824 9.93769 5.64945 8.01698 5.64945C6.23518 5.64945 4.78896 6.22479 3.67214 7.38216C2.55841 8.5395 2 9.92767 2 11.8377C2 13.7476 2.56171 15.273 3.68501 16.4136C4.80831 17.5542 6.30612 18.1229 8.18163 18.1229C9.11125 18.1229 10.0216 17.9489 10.9125 17.5944C11.8034 17.2431 12.533 16.7447 13.1075 16.1025L11.5517 14.5371C11.2095 14.9217 10.7253 15.2294 10.099 15.4636C9.46959 15.6944 8.84662 15.8115 8.22684 15.8115C7.18735 15.8115 6.33197 15.5372 5.65731 14.992ZM10.4671 8.60977C11.0772 9.10817 11.416 9.81395 11.4774 10.7305H4.52751C4.71152 9.81395 5.12475 9.10817 5.77027 8.60977C6.41589 8.11136 7.18735 7.86384 8.08473 7.86384C9.05966 7.86384 9.85696 8.11136 10.4671 8.60977ZM22.1465 17.8819L27.0047 5.93699H24.3771L22.6565 10.2486L20.8424 15.2828L18.8217 9.76697L17.2884 5.93699H14.6382L19.5189 17.8819H22.1465ZM30.3737 12.8244C30.4835 13.7242 30.8741 14.4467 31.5487 14.992C32.2234 15.5372 33.0788 15.8115 34.1181 15.8115C34.7379 15.8115 35.361 15.6944 35.9905 15.4636C36.6166 15.2294 37.1009 14.9217 37.4431 14.5371L38.999 16.1025C38.4244 16.7447 37.6948 17.2431 36.8039 17.5944C35.9129 17.9489 35.0027 18.1229 34.0729 18.1229C32.1975 18.1229 30.6997 17.5542 29.5764 16.4136C28.453 15.273 27.8914 13.7476 27.8914 11.8377C27.8914 9.92767 28.4498 8.5395 29.5635 7.38216C30.6804 6.22479 32.1265 5.64945 33.9084 5.64945C35.829 5.64945 37.3236 6.25824 38.3952 7.47915C39.4638 8.70006 39.8899 10.4829 39.6736 12.8278H30.3769L30.3737 12.8244ZM37.3688 10.7305C37.3075 9.81395 36.9685 9.10817 36.3584 8.60977C35.7483 8.11136 34.951 7.86384 33.9762 7.86384C33.0788 7.86384 32.3073 8.11136 31.6617 8.60977C31.0161 9.10817 30.6029 9.81395 30.4189 10.7305H37.3688ZM44.5032 7.5263L44.3418 5.96085H44.3385H42.108V17.8355H44.5032V11.4031C44.5032 10.3595 44.8001 9.5567 45.3877 8.99473C45.9751 8.43278 46.7112 8.15181 47.5956 8.15181C48.3703 8.15181 49.0417 8.39264 49.6163 8.87432L50.7073 6.70677C49.9811 6.03445 49.0353 5.6966 47.8732 5.6966C46.2914 5.6966 45.1681 6.30539 44.5032 7.5263ZM60.3782 12.3193V5.96054H57.983V12.3428C57.983 14.1089 58.4286 15.5004 59.3195 16.5106C60.2104 17.5241 61.3789 18.0292 62.8186 18.0292C64.552 18.0292 65.8787 17.387 66.7923 16.1025V18.1262C66.7923 19.2669 66.4824 20.1499 65.8626 20.7754C65.2429 21.401 64.494 21.7154 63.6094 21.7154C61.8889 21.7154 60.8754 20.9661 60.5654 19.4742H58.2187C58.3252 20.9326 58.8644 22.0532 59.8327 22.8326C60.8011 23.612 62.1214 24 63.6546 24C65.188 24 66.4727 23.5049 67.5121 22.5081C68.5515 21.5147 69.0712 20.0697 69.0712 18.1731V5.96054H66.6761V12.1521C66.6761 13.1623 66.3791 14.0153 65.7819 14.7043C65.188 15.3967 64.4681 15.7412 63.4933 15.7412C62.5184 15.7412 61.7566 15.4268 61.2047 14.8013C60.6526 14.1725 60.3782 13.3463 60.3782 12.3193ZM81.5989 5.93699L84.3427 15.2828L87.1768 5.93699H89.8496L85.8275 17.8819H83.0385L81.6892 13.9315L80.5724 9.79039L79.4328 13.9315L78.0836 17.8819H75.2945L71.2498 5.93699H73.9453L76.7795 15.2828L79.5232 5.93699H81.5924H81.5989ZM94.65 14.992C93.9754 14.4467 93.5848 13.7242 93.475 12.8244L93.4847 12.8278H102.781C102.998 10.4829 102.572 8.70006 101.503 7.47915C100.431 6.25824 98.9368 5.64945 97.0162 5.64945C95.2343 5.64945 93.785 6.22479 92.668 7.38216C91.5544 8.5395 90.9959 9.92767 90.9959 11.8377C90.9959 13.7476 91.5576 15.273 92.6809 16.4136C93.8043 17.5542 95.3021 18.1229 97.1775 18.1229C98.1073 18.1229 99.0175 17.9489 99.9084 17.5944C100.799 17.2431 101.529 16.7447 102.103 16.1025L100.544 14.5371C100.202 14.9217 99.7212 15.2328 99.0918 15.4636C98.4623 15.6944 97.8393 15.8115 97.2196 15.8115C96.1802 15.8115 95.3247 15.5372 94.65 14.992ZM99.4598 8.60977C100.07 9.10817 100.409 9.81395 100.47 10.7305H93.5202C93.7042 9.81395 94.1175 9.10817 94.763 8.60977C95.4086 8.11136 96.1802 7.86384 97.0774 7.86384C98.0524 7.86384 98.8465 8.11136 99.4598 8.60977ZM107.698 1V17.8352H105.303V1H107.698ZM113.53 17.8352V1H111.135V17.8352H113.53Z",
962
+ fill: "#28724F"
963
+ }
964
+ ) }
965
+ )
966
+ }
967
+ ), Zr = ({
968
+ desktopTopButtons: c,
969
+ kitRegistrationElement: s,
970
+ profileElement: v,
971
+ cartElement: h,
972
+ onSearchClick: R,
973
+ onMenuClick: g,
974
+ hasSearch: _ = !1,
975
+ logoLink: C = "https://www.everlywell.com"
976
+ }) => /* @__PURE__ */ n.jsx(
977
+ E,
978
+ {
979
+ bg: "background.default",
980
+ padding: "4",
981
+ borderBottom: "1px solid",
982
+ borderColor: "tints.lightCream",
983
+ children: /* @__PURE__ */ n.jsxs(
984
+ P,
985
+ { justifyContent: "space-between", alignItems: "center", children: [
986
+ /* @__PURE__ */ n.jsxs(
987
+ P,
988
+ { alignItems: "center", gap: "5", children: [
989
+ /* @__PURE__ */ n.jsx(
990
+ le,
991
+ { href: C, "aria-label": "Go to homepage", children: /* @__PURE__ */ n.jsx(Ar, {}) }
992
+ ),
993
+ /* @__PURE__ */ n.jsx(P, { display: ["none", null, "flex"], children: c })
994
+ ] }
995
+ ),
996
+ /* @__PURE__ */ n.jsxs(
997
+ P,
998
+ { alignItems: "center", gap: "2", children: [
999
+ /* @__PURE__ */ n.jsx(E, { display: ["none", null, "block"], children: s }),
1000
+ _ ? /* @__PURE__ */ n.jsx(
1001
+ oe,
1002
+ {
1003
+ "aria-label": "Search",
1004
+ icon: /* @__PURE__ */ n.jsx(ie, { as: kr }),
1005
+ onClick: R
1006
+ }
1007
+ ) : null,
1008
+ h,
1009
+ /* @__PURE__ */ n.jsx(
1010
+ E,
1011
+ { display: ["flex", null, "none"], children: /* @__PURE__ */ n.jsx(
1012
+ oe,
1013
+ {
1014
+ icon: /* @__PURE__ */ n.jsx(Or, {}),
1015
+ "aria-label": "menu",
1016
+ "data-testid": "menu-button",
1017
+ onClick: g
1018
+ }
1019
+ ) }
1020
+ ),
1021
+ /* @__PURE__ */ n.jsx(E, { display: ["none", null, "block"], children: v })
1022
+ ] }
1023
+ )
1024
+ ] }
1025
+ )
1026
+ }
1027
+ ), Gr = ({
1028
+ count: c = 0,
1029
+ ...s
1030
+ }) => /* @__PURE__ */ n.jsxs(
1031
+ E,
1032
+ { position: "relative", display: "inline-block", children: [
1033
+ /* @__PURE__ */ n.jsx(oe, { icon: /* @__PURE__ */ n.jsx(Pr, {}), ...s }),
1034
+ c > 0 && /* @__PURE__ */ n.jsx(
1035
+ E,
1036
+ {
1037
+ display: "flex",
1038
+ minWidth: "20px",
1039
+ height: "20px",
1040
+ py: "4px",
1041
+ px: "6px",
1042
+ justifyContent: "center",
1043
+ alignItems: "center",
1044
+ position: "absolute",
1045
+ right: "-4px",
1046
+ top: "-4px",
1047
+ borderRadius: "32px",
1048
+ background: "viridian.base",
1049
+ color: "white",
1050
+ fontSize: "xs",
1051
+ fontWeight: "normal",
1052
+ children: c
1053
+ }
1054
+ )
1055
+ ] }
1056
+ );
911
1057
  export {
912
- Ar as CategoryLabel,
913
- Wr as NavButton,
914
- $r as NavbarDrawerLink,
915
- Lr as SpotlightCard,
916
- Fr as Stepper,
917
- Ir as TemporaryCard
1058
+ Gr as BasketButton,
1059
+ Br as CategoryLabel,
1060
+ zr as NavButton,
1061
+ Nr as NavbarDrawerLink,
1062
+ Ur as SpotlightCard,
1063
+ Yr as Stepper,
1064
+ Mr as TemporaryCard,
1065
+ oe as TopNavIconButton,
1066
+ Zr as TopNavigation
918
1067
  };