@everlywell/consumer-ui 1.22.0 → 1.23.1

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 (28) hide show
  1. package/index.d.mts +1 -1
  2. package/index.d.ts +1 -1
  3. package/index.d.ts.map +1 -1
  4. package/index.js +10 -10
  5. package/index.mjs +427 -409
  6. package/lib/components/Navbar/NavButton/NavButton.d.ts +3 -8
  7. package/lib/components/Navbar/NavButton/NavButton.d.ts.map +1 -1
  8. package/lib/components/Navbar/NavSkeleton/NavSkeleton.d.ts +20 -0
  9. package/lib/components/Navbar/NavSkeleton/NavSkeleton.d.ts.map +1 -0
  10. package/lib/components/Navbar/NavSkeleton/NavSkeleton.stories.d.ts +10 -0
  11. package/lib/components/Navbar/NavSkeleton/NavSkeleton.stories.d.ts.map +1 -0
  12. package/lib/components/Navbar/NavSkeleton/index.d.ts +3 -0
  13. package/lib/components/Navbar/NavSkeleton/index.d.ts.map +1 -0
  14. package/lib/components/Navbar/NavbarDrawer/NavbarDrawer.d.ts +52 -0
  15. package/lib/components/Navbar/NavbarDrawer/NavbarDrawer.d.ts.map +1 -0
  16. package/lib/components/Navbar/NavbarDrawer/NavbarDrawer.stories.d.ts +9 -0
  17. package/lib/components/Navbar/NavbarDrawer/NavbarDrawer.stories.d.ts.map +1 -0
  18. package/lib/components/Navbar/NavbarDrawer/index.d.ts +3 -0
  19. package/lib/components/Navbar/NavbarDrawer/index.d.ts.map +1 -0
  20. package/lib/components/Navbar/NavbarDrawerLink/NavbarDrawerLink.d.ts.map +1 -1
  21. package/lib/components/Navbar/SpotlightCard/SpotlightCard.d.ts.map +1 -1
  22. package/package.json +1 -1
  23. package/lib/components/TemporaryCard/TemporaryCard.d.ts +0 -20
  24. package/lib/components/TemporaryCard/TemporaryCard.d.ts.map +0 -1
  25. package/lib/components/TemporaryCard/TemporaryCard.stories.d.ts +0 -8
  26. package/lib/components/TemporaryCard/TemporaryCard.stories.d.ts.map +0 -1
  27. package/lib/components/TemporaryCard/index.d.ts +0 -3
  28. package/lib/components/TemporaryCard/index.d.ts.map +0 -1
package/index.mjs CHANGED
@@ -1,8 +1,8 @@
1
- import { Flex as P, Heading as Le, useSteps as yr, Box as E, Stepper as Er, Link as He, Icon as ae, Text as Z, Button as _r, Image as Rr, IconButton as jr } from "@everlywell/ui-kit";
2
- import le, { useEffect as wr } from "react";
3
- import { Text as Sr } from "@chakra-ui/react";
4
- import { CaretRight as Ie, MagnifyingGlass as Tr, List as kr, Basket as Or } from "@phosphor-icons/react";
5
- var ie = { exports: {} }, V = {};
1
+ import { useSteps as Er, Box as C, Stepper as Rr, Link as ue, Icon as oe, Flex as P, Text as G, Button as _r, Image as wr, IconButton as Sr, VStack as Tr, Skeleton as ie, HStack as Fe, SkeletonCircle as Z } from "@everlywell/ui-kit";
2
+ import ce, { useEffect as kr, forwardRef as Or } from "react";
3
+ import { Text as Pr } from "@chakra-ui/react";
4
+ import { CaretRight as Ae, MagnifyingGlass as Lr, List as Ir, Basket as Dr } from "@phosphor-icons/react";
5
+ var le = { exports: {} }, V = {};
6
6
  /**
7
7
  * @license React
8
8
  * react-jsx-runtime.production.min.js
@@ -12,23 +12,23 @@ var ie = { exports: {} }, V = {};
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 De;
16
- function Pr() {
17
- if (De)
15
+ var He;
16
+ function Fr() {
17
+ if (He)
18
18
  return V;
19
- De = 1;
20
- var c = le, u = Symbol.for("react.element"), v = Symbol.for("react.fragment"), h = Object.prototype.hasOwnProperty, w = c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, x = { key: !0, ref: !0, __self: !0, __source: !0 };
21
- function _(y, f, S) {
22
- var g, R = {}, T = null, O = null;
19
+ He = 1;
20
+ var c = ce, s = Symbol.for("react.element"), v = Symbol.for("react.fragment"), h = Object.prototype.hasOwnProperty, E = c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
21
+ function R(y, f, S) {
22
+ var x, _ = {}, T = null, O = null;
23
23
  S !== void 0 && (T = "" + S), f.key !== void 0 && (T = "" + f.key), f.ref !== void 0 && (O = f.ref);
24
- for (g in f)
25
- h.call(f, g) && !x.hasOwnProperty(g) && (R[g] = f[g]);
24
+ for (x in f)
25
+ h.call(f, x) && !g.hasOwnProperty(x) && (_[x] = f[x]);
26
26
  if (y && y.defaultProps)
27
- for (g in f = y.defaultProps, f)
28
- R[g] === void 0 && (R[g] = f[g]);
29
- return { $$typeof: u, type: y, key: T, ref: O, props: R, _owner: w.current };
27
+ for (x in f = y.defaultProps, f)
28
+ _[x] === void 0 && (_[x] = f[x]);
29
+ return { $$typeof: s, type: y, key: T, ref: O, props: _, _owner: E.current };
30
30
  }
31
- return V.Fragment = v, V.jsx = _, V.jsxs = _, V;
31
+ return V.Fragment = v, V.jsx = R, V.jsxs = R, V;
32
32
  }
33
33
  var M = {};
34
34
  /**
@@ -40,57 +40,57 @@ var M = {};
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 Lr() {
45
- return Fe || (Fe = 1, process.env.NODE_ENV !== "production" && function() {
46
- var c = le, u = Symbol.for("react.element"), v = Symbol.for("react.portal"), h = Symbol.for("react.fragment"), w = Symbol.for("react.strict_mode"), x = Symbol.for("react.profiler"), _ = Symbol.for("react.provider"), y = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), R = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), O = Symbol.for("react.offscreen"), Y = Symbol.iterator, We = "@@iterator";
47
- function $e(e) {
43
+ var We;
44
+ function Ar() {
45
+ return We || (We = 1, process.env.NODE_ENV !== "production" && function() {
46
+ var c = ce, s = Symbol.for("react.element"), v = Symbol.for("react.portal"), h = Symbol.for("react.fragment"), E = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), R = Symbol.for("react.provider"), y = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), x = Symbol.for("react.suspense_list"), _ = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), O = Symbol.for("react.offscreen"), Y = Symbol.iterator, Ve = "@@iterator";
47
+ function Me(e) {
48
48
  if (e === null || typeof e != "object")
49
49
  return null;
50
- var r = Y && e[Y] || e[We];
50
+ var r = Y && e[Y] || e[Ve];
51
51
  return typeof r == "function" ? r : null;
52
52
  }
53
53
  var D = c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
54
- function m(e) {
54
+ function b(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
- Ve("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
+ Ye("error", e, t);
59
59
  }
60
60
  }
61
- function Ve(e, r, t) {
61
+ function Ye(e, r, t) {
62
62
  {
63
- var n = D.ReactDebugCurrentFrame, l = n.getStackAddendum();
63
+ var i = D.ReactDebugCurrentFrame, l = i.getStackAddendum();
64
64
  l !== "" && (r += "%s", t = t.concat([l]));
65
- var s = t.map(function(o) {
65
+ var u = t.map(function(o) {
66
66
  return String(o);
67
67
  });
68
- s.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, s);
68
+ u.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, u);
69
69
  }
70
70
  }
71
- var Me = !1, Ye = !1, Be = !1, Ne = !1, ze = !1, se;
72
- se = Symbol.for("react.module.reference");
73
- function Ue(e) {
74
- return !!(typeof e == "string" || typeof e == "function" || e === h || e === x || ze || e === w || e === S || e === g || Ne || e === O || Me || Ye || Be || typeof e == "object" && e !== null && (e.$$typeof === T || e.$$typeof === R || e.$$typeof === _ || e.$$typeof === y || e.$$typeof === f || // This needs to include all possible module reference object
71
+ var Be = !1, Ne = !1, Ue = !1, ze = !1, Ze = !1, fe;
72
+ fe = Symbol.for("react.module.reference");
73
+ function Ge(e) {
74
+ return !!(typeof e == "string" || typeof e == "function" || e === h || e === g || Ze || e === E || e === S || e === x || ze || e === O || Be || Ne || Ue || typeof e == "object" && e !== null && (e.$$typeof === T || e.$$typeof === _ || e.$$typeof === R || e.$$typeof === y || 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 === se || e.getModuleId !== void 0));
78
+ e.$$typeof === fe || e.getModuleId !== void 0));
79
79
  }
80
- function Ze(e, r, t) {
81
- var n = e.displayName;
82
- if (n)
83
- return n;
80
+ function Je(e, r, t) {
81
+ var i = e.displayName;
82
+ if (i)
83
+ return i;
84
84
  var l = r.displayName || r.name || "";
85
85
  return l !== "" ? t + "(" + l + ")" : t;
86
86
  }
87
- function ue(e) {
87
+ function de(e) {
88
88
  return e.displayName || "Context";
89
89
  }
90
90
  function k(e) {
91
91
  if (e == null)
92
92
  return null;
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")
93
+ if (typeof e.tag == "number" && b("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;
@@ -99,32 +99,32 @@ function Lr() {
99
99
  return "Fragment";
100
100
  case v:
101
101
  return "Portal";
102
- case x:
102
+ case g:
103
103
  return "Profiler";
104
- case w:
104
+ case E:
105
105
  return "StrictMode";
106
106
  case S:
107
107
  return "Suspense";
108
- case g:
108
+ case x:
109
109
  return "SuspenseList";
110
110
  }
111
111
  if (typeof e == "object")
112
112
  switch (e.$$typeof) {
113
113
  case y:
114
114
  var r = e;
115
- return ue(r) + ".Consumer";
116
- case _:
115
+ return de(r) + ".Consumer";
116
+ case R:
117
117
  var t = e;
118
- return ue(t._context) + ".Provider";
118
+ return de(t._context) + ".Provider";
119
119
  case f:
120
- return Ze(e, e.render, "ForwardRef");
121
- case R:
122
- var n = e.displayName || null;
123
- return n !== null ? n : k(e.type) || "Memo";
120
+ return Je(e, e.render, "ForwardRef");
121
+ case _:
122
+ var i = e.displayName || null;
123
+ return i !== null ? i : k(e.type) || "Memo";
124
124
  case T: {
125
- var l = e, s = l._payload, o = l._init;
125
+ var l = e, u = l._payload, o = l._init;
126
126
  try {
127
- return k(o(s));
127
+ return k(o(u));
128
128
  } catch {
129
129
  return null;
130
130
  }
@@ -132,18 +132,18 @@ function Lr() {
132
132
  }
133
133
  return null;
134
134
  }
135
- var L = Object.assign, H = 0, ce, fe, de, pe, ve, he, ge;
136
- function me() {
135
+ var L = Object.assign, H = 0, pe, he, ve, ge, xe, be, me;
136
+ function Ce() {
137
137
  }
138
- me.__reactDisabledLog = !0;
139
- function Ge() {
138
+ Ce.__reactDisabledLog = !0;
139
+ function qe() {
140
140
  {
141
141
  if (H === 0) {
142
- ce = console.log, fe = console.info, de = console.warn, pe = console.error, ve = console.group, he = console.groupCollapsed, ge = console.groupEnd;
142
+ pe = console.log, he = console.info, ve = console.warn, ge = console.error, xe = console.group, be = console.groupCollapsed, me = console.groupEnd;
143
143
  var e = {
144
144
  configurable: !0,
145
145
  enumerable: !0,
146
- value: me,
146
+ value: Ce,
147
147
  writable: !0
148
148
  };
149
149
  Object.defineProperties(console, {
@@ -159,7 +159,7 @@ function Lr() {
159
159
  H++;
160
160
  }
161
161
  }
162
- function Je() {
162
+ function Ke() {
163
163
  {
164
164
  if (H--, H === 0) {
165
165
  var e = {
@@ -169,64 +169,64 @@ function Lr() {
169
169
  };
170
170
  Object.defineProperties(console, {
171
171
  log: L({}, e, {
172
- value: ce
172
+ value: pe
173
173
  }),
174
174
  info: L({}, e, {
175
- value: fe
175
+ value: he
176
176
  }),
177
177
  warn: L({}, e, {
178
- value: de
178
+ value: ve
179
179
  }),
180
180
  error: L({}, e, {
181
- value: pe
181
+ value: ge
182
182
  }),
183
183
  group: L({}, e, {
184
- value: ve
184
+ value: xe
185
185
  }),
186
186
  groupCollapsed: L({}, e, {
187
- value: he
187
+ value: be
188
188
  }),
189
189
  groupEnd: L({}, e, {
190
- value: ge
190
+ value: me
191
191
  })
192
192
  });
193
193
  }
194
- H < 0 && m("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
194
+ H < 0 && b("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
195
195
  }
196
196
  }
197
- var G = D.ReactCurrentDispatcher, J;
197
+ var J = D.ReactCurrentDispatcher, q;
198
198
  function B(e, r, t) {
199
199
  {
200
- if (J === void 0)
200
+ if (q === void 0)
201
201
  try {
202
202
  throw Error();
203
203
  } catch (l) {
204
- var n = l.stack.trim().match(/\n( *(at )?)/);
205
- J = n && n[1] || "";
204
+ var i = l.stack.trim().match(/\n( *(at )?)/);
205
+ q = i && i[1] || "";
206
206
  }
207
207
  return `
208
- ` + J + e;
208
+ ` + q + e;
209
209
  }
210
210
  }
211
- var q = !1, N;
211
+ var K = !1, N;
212
212
  {
213
- var qe = typeof WeakMap == "function" ? WeakMap : Map;
214
- N = new qe();
213
+ var Xe = typeof WeakMap == "function" ? WeakMap : Map;
214
+ N = new Xe();
215
215
  }
216
- function be(e, r) {
217
- if (!e || q)
216
+ function ye(e, r) {
217
+ if (!e || K)
218
218
  return "";
219
219
  {
220
220
  var t = N.get(e);
221
221
  if (t !== void 0)
222
222
  return t;
223
223
  }
224
- var n;
225
- q = !0;
224
+ var i;
225
+ K = !0;
226
226
  var l = Error.prepareStackTrace;
227
227
  Error.prepareStackTrace = void 0;
228
- var s;
229
- s = G.current, G.current = null, Ge();
228
+ var u;
229
+ u = J.current, J.current = null, qe();
230
230
  try {
231
231
  if (r) {
232
232
  var o = function() {
@@ -239,146 +239,146 @@ function Lr() {
239
239
  }), typeof Reflect == "object" && Reflect.construct) {
240
240
  try {
241
241
  Reflect.construct(o, []);
242
- } catch (C) {
243
- n = C;
242
+ } catch (j) {
243
+ i = j;
244
244
  }
245
245
  Reflect.construct(e, [], o);
246
246
  } else {
247
247
  try {
248
248
  o.call();
249
- } catch (C) {
250
- n = C;
249
+ } catch (j) {
250
+ i = j;
251
251
  }
252
252
  e.call(o.prototype);
253
253
  }
254
254
  } else {
255
255
  try {
256
256
  throw Error();
257
- } catch (C) {
258
- n = C;
257
+ } catch (j) {
258
+ i = j;
259
259
  }
260
260
  e();
261
261
  }
262
- } catch (C) {
263
- if (C && n && typeof C.stack == "string") {
264
- for (var i = C.stack.split(`
265
- `), b = n.stack.split(`
266
- `), d = i.length - 1, p = b.length - 1; d >= 1 && p >= 0 && i[d] !== b[p]; )
262
+ } catch (j) {
263
+ if (j && i && typeof j.stack == "string") {
264
+ for (var a = j.stack.split(`
265
+ `), m = i.stack.split(`
266
+ `), d = a.length - 1, p = m.length - 1; d >= 1 && p >= 0 && a[d] !== m[p]; )
267
267
  p--;
268
268
  for (; d >= 1 && p >= 0; d--, p--)
269
- if (i[d] !== b[p]) {
269
+ if (a[d] !== m[p]) {
270
270
  if (d !== 1 || p !== 1)
271
271
  do
272
- if (d--, p--, p < 0 || i[d] !== b[p]) {
273
- var j = `
274
- ` + i[d].replace(" at new ", " at ");
275
- return e.displayName && j.includes("<anonymous>") && (j = j.replace("<anonymous>", e.displayName)), typeof e == "function" && N.set(e, j), j;
272
+ if (d--, p--, p < 0 || a[d] !== m[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
277
  while (d >= 1 && p >= 0);
278
278
  break;
279
279
  }
280
280
  }
281
281
  } finally {
282
- q = !1, G.current = s, Je(), Error.prepareStackTrace = l;
282
+ K = !1, J.current = u, Ke(), Error.prepareStackTrace = l;
283
283
  }
284
284
  var A = e ? e.displayName || e.name : "", I = A ? B(A) : "";
285
285
  return typeof e == "function" && N.set(e, I), I;
286
286
  }
287
- function Ke(e, r, t) {
288
- return be(e, !1);
287
+ function Qe(e, r, t) {
288
+ return ye(e, !1);
289
289
  }
290
- function Xe(e) {
290
+ function er(e) {
291
291
  var r = e.prototype;
292
292
  return !!(r && r.isReactComponent);
293
293
  }
294
- function z(e, r, t) {
294
+ function U(e, r, t) {
295
295
  if (e == null)
296
296
  return "";
297
297
  if (typeof e == "function")
298
- return be(e, Xe(e));
298
+ return ye(e, er(e));
299
299
  if (typeof e == "string")
300
300
  return B(e);
301
301
  switch (e) {
302
302
  case S:
303
303
  return B("Suspense");
304
- case g:
304
+ case x:
305
305
  return B("SuspenseList");
306
306
  }
307
307
  if (typeof e == "object")
308
308
  switch (e.$$typeof) {
309
309
  case f:
310
- return Ke(e.render);
311
- case R:
312
- return z(e.type, r, t);
310
+ return Qe(e.render);
311
+ case _:
312
+ return U(e.type, r, t);
313
313
  case T: {
314
- var n = e, l = n._payload, s = n._init;
314
+ var i = e, l = i._payload, u = i._init;
315
315
  try {
316
- return z(s(l), r, t);
316
+ return U(u(l), r, t);
317
317
  } catch {
318
318
  }
319
319
  }
320
320
  }
321
321
  return "";
322
322
  }
323
- var W = Object.prototype.hasOwnProperty, Ce = {}, xe = D.ReactDebugCurrentFrame;
324
- function U(e) {
323
+ var W = Object.prototype.hasOwnProperty, je = {}, Ee = D.ReactDebugCurrentFrame;
324
+ function z(e) {
325
325
  if (e) {
326
- var r = e._owner, t = z(e.type, e._source, r ? r.type : null);
327
- xe.setExtraStackFrame(t);
326
+ var r = e._owner, t = U(e.type, e._source, r ? r.type : null);
327
+ Ee.setExtraStackFrame(t);
328
328
  } else
329
- xe.setExtraStackFrame(null);
329
+ Ee.setExtraStackFrame(null);
330
330
  }
331
- function Qe(e, r, t, n, l) {
331
+ function rr(e, r, t, i, l) {
332
332
  {
333
- var s = Function.call.bind(W);
333
+ var u = Function.call.bind(W);
334
334
  for (var o in e)
335
- if (s(e, o)) {
336
- var i = void 0;
335
+ if (u(e, o)) {
336
+ var a = void 0;
337
337
  try {
338
338
  if (typeof e[o] != "function") {
339
- var b = Error((n || "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 b.name = "Invariant Violation", b;
339
+ var m = 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 m.name = "Invariant Violation", m;
341
341
  }
342
- i = e[o](r, o, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
342
+ a = e[o](r, o, i, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
343
343
  } catch (d) {
344
- i = d;
344
+ a = d;
345
345
  }
346
- i && !(i 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).", n || "React class", t, o, typeof i), U(null)), i instanceof Error && !(i.message in Ce) && (Ce[i.message] = !0, U(l), m("Failed %s type: %s", t, i.message), U(null));
346
+ a && !(a instanceof Error) && (z(l), b("%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), z(null)), a instanceof Error && !(a.message in je) && (je[a.message] = !0, z(l), b("Failed %s type: %s", t, a.message), z(null));
347
347
  }
348
348
  }
349
349
  }
350
- var er = Array.isArray;
351
- function K(e) {
352
- return er(e);
350
+ var tr = Array.isArray;
351
+ function X(e) {
352
+ return tr(e);
353
353
  }
354
- function rr(e) {
354
+ function nr(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 tr(e) {
360
+ function ir(e) {
361
361
  try {
362
- return ye(e), !1;
362
+ return Re(e), !1;
363
363
  } catch {
364
364
  return !0;
365
365
  }
366
366
  }
367
- function ye(e) {
367
+ function Re(e) {
368
368
  return "" + e;
369
369
  }
370
- function Ee(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)), ye(e);
370
+ function _e(e) {
371
+ if (ir(e))
372
+ return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", nr(e)), Re(e);
373
373
  }
374
- var $ = D.ReactCurrentOwner, nr = {
374
+ var $ = D.ReactCurrentOwner, ar = {
375
375
  key: !0,
376
376
  ref: !0,
377
377
  __self: !0,
378
378
  __source: !0
379
- }, _e, Re, X;
380
- X = {};
381
- function ar(e) {
379
+ }, we, Se, Q;
380
+ Q = {};
381
+ function or(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 Lr() {
386
386
  }
387
387
  return e.ref !== void 0;
388
388
  }
389
- function ir(e) {
389
+ function lr(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 Lr() {
394
394
  }
395
395
  return e.key !== void 0;
396
396
  }
397
- function or(e, r) {
397
+ function sr(e, r) {
398
398
  if (typeof e.ref == "string" && $.current && r && $.current.stateNode !== r) {
399
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);
400
+ Q[t] || (b('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), Q[t] = !0);
401
401
  }
402
402
  }
403
- function lr(e, r) {
403
+ function ur(e, r) {
404
404
  {
405
405
  var t = function() {
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));
406
+ we || (we = !0, b("%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 Lr() {
411
411
  });
412
412
  }
413
413
  }
414
- function sr(e, r) {
414
+ function cr(e, r) {
415
415
  {
416
416
  var t = function() {
417
- Re || (Re = !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));
417
+ Se || (Se = !0, b("%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,70 +422,70 @@ function Lr() {
422
422
  });
423
423
  }
424
424
  }
425
- var ur = function(e, r, t, n, l, s, o) {
426
- var i = {
425
+ var fr = function(e, r, t, i, l, u, o) {
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
433
  props: o,
434
434
  // Record the component responsible for creating this element.
435
- _owner: s
435
+ _owner: u
436
436
  };
437
- return i._store = {}, Object.defineProperty(i._store, "validated", {
437
+ return a._store = {}, Object.defineProperty(a._store, "validated", {
438
438
  configurable: !1,
439
439
  enumerable: !1,
440
440
  writable: !0,
441
441
  value: !1
442
- }), Object.defineProperty(i, "_self", {
442
+ }), Object.defineProperty(a, "_self", {
443
443
  configurable: !1,
444
444
  enumerable: !1,
445
445
  writable: !1,
446
- value: n
447
- }), Object.defineProperty(i, "_source", {
446
+ value: i
447
+ }), Object.defineProperty(a, "_source", {
448
448
  configurable: !1,
449
449
  enumerable: !1,
450
450
  writable: !1,
451
451
  value: l
452
- }), Object.freeze && (Object.freeze(i.props), Object.freeze(i)), i;
452
+ }), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
453
453
  };
454
- function cr(e, r, t, n, l) {
454
+ function dr(e, r, t, i, l) {
455
455
  {
456
- var s, o = {}, i = null, b = null;
457
- t !== void 0 && (Ee(t), i = "" + t), ir(r) && (Ee(r.key), i = "" + r.key), ar(r) && (b = r.ref, or(r, l));
458
- for (s in r)
459
- W.call(r, s) && !nr.hasOwnProperty(s) && (o[s] = r[s]);
456
+ var u, o = {}, a = null, m = null;
457
+ t !== void 0 && (_e(t), a = "" + t), lr(r) && (_e(r.key), a = "" + r.key), or(r) && (m = r.ref, sr(r, l));
458
+ for (u in r)
459
+ W.call(r, u) && !ar.hasOwnProperty(u) && (o[u] = r[u]);
460
460
  if (e && e.defaultProps) {
461
461
  var d = e.defaultProps;
462
- for (s in d)
463
- o[s] === void 0 && (o[s] = d[s]);
462
+ for (u in d)
463
+ o[u] === void 0 && (o[u] = d[u]);
464
464
  }
465
- if (i || b) {
465
+ if (a || m) {
466
466
  var p = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
467
- i && lr(o, p), b && sr(o, p);
467
+ a && ur(o, p), m && cr(o, p);
468
468
  }
469
- return ur(e, i, b, l, n, $.current, o);
469
+ return fr(e, a, m, l, i, $.current, o);
470
470
  }
471
471
  }
472
- var Q = D.ReactCurrentOwner, je = D.ReactDebugCurrentFrame;
472
+ var ee = D.ReactCurrentOwner, Te = D.ReactDebugCurrentFrame;
473
473
  function F(e) {
474
474
  if (e) {
475
- var r = e._owner, t = z(e.type, e._source, r ? r.type : null);
476
- je.setExtraStackFrame(t);
475
+ var r = e._owner, t = U(e.type, e._source, r ? r.type : null);
476
+ Te.setExtraStackFrame(t);
477
477
  } else
478
- je.setExtraStackFrame(null);
478
+ Te.setExtraStackFrame(null);
479
479
  }
480
- var ee;
481
- ee = !1;
482
- function re(e) {
483
- return typeof e == "object" && e !== null && e.$$typeof === u;
480
+ var re;
481
+ re = !1;
482
+ function te(e) {
483
+ return typeof e == "object" && e !== null && e.$$typeof === s;
484
484
  }
485
- function we() {
485
+ function ke() {
486
486
  {
487
- if (Q.current) {
488
- var e = k(Q.current.type);
487
+ if (ee.current) {
488
+ var e = k(ee.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 fr(e) {
497
+ function pr(e) {
498
498
  {
499
499
  if (e !== void 0) {
500
500
  var r = e.fileName.replace(/^.*[\\\/]/, ""), t = e.lineNumber;
@@ -505,10 +505,10 @@ Check your code at ` + r + ":" + t + ".";
505
505
  return "";
506
506
  }
507
507
  }
508
- var Se = {};
509
- function dr(e) {
508
+ var Oe = {};
509
+ function hr(e) {
510
510
  {
511
- var r = we();
511
+ var r = ke();
512
512
  if (!r) {
513
513
  var t = typeof e == "string" ? e : e.displayName || e.name;
514
514
  t && (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 Pe(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 = dr(r);
527
- if (Se[t])
526
+ var t = hr(r);
527
+ if (Oe[t])
528
528
  return;
529
- Se[t] = !0;
530
- var n = "";
531
- e && e._owner && e._owner !== Q.current && (n = " 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, n), F(null);
529
+ Oe[t] = !0;
530
+ var i = "";
531
+ e && e._owner && e._owner !== ee.current && (i = " It was passed a child from " + k(e._owner.type) + "."), F(e), b('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 ke(e, r) {
534
+ function Le(e, r) {
535
535
  {
536
536
  if (typeof e != "object")
537
537
  return;
538
- if (K(e))
538
+ if (X(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
+ te(i) && Pe(i, r);
542
542
  }
543
- else if (re(e))
543
+ else if (te(e))
544
544
  e._store && (e._store.validated = !0);
545
545
  else if (e) {
546
- var l = $e(e);
546
+ var l = Me(e);
547
547
  if (typeof l == "function" && l !== e.entries)
548
- for (var s = l.call(e), o; !(o = s.next()).done; )
549
- re(o.value) && Te(o.value, r);
548
+ for (var u = l.call(e), o; !(o = u.next()).done; )
549
+ te(o.value) && Pe(o.value, r);
550
550
  }
551
551
  }
552
552
  }
553
- function pr(e) {
553
+ function vr(e) {
554
554
  {
555
555
  var r = e.type;
556
556
  if (r == null || typeof r == "string")
@@ -560,167 +560,140 @@ Check the top-level render call using <` + t + ">.");
560
560
  t = r.propTypes;
561
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 === R))
563
+ r.$$typeof === _))
564
564
  t = r.propTypes;
565
565
  else
566
566
  return;
567
567
  if (t) {
568
- var n = k(r);
569
- Qe(t, e.props, "prop", n, e);
570
- } else if (r.PropTypes !== void 0 && !ee) {
571
- ee = !0;
568
+ var i = k(r);
569
+ rr(t, e.props, "prop", i, e);
570
+ } else if (r.PropTypes !== void 0 && !re) {
571
+ re = !0;
572
572
  var l = k(r);
573
- m("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", l || "Unknown");
573
+ b("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 && m("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
575
+ typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
576
576
  }
577
577
  }
578
- function vr(e) {
578
+ function gr(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), m("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), b("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), m("Invalid attribute `ref` supplied to `React.Fragment`."), F(null));
587
+ e.ref !== null && (F(e), b("Invalid attribute `ref` supplied to `React.Fragment`."), F(null));
588
588
  }
589
589
  }
590
- var Oe = {};
591
- function Pe(e, r, t, n, l, s) {
590
+ var Ie = {};
591
+ function De(e, r, t, i, l, u) {
592
592
  {
593
- var o = Ue(e);
593
+ var o = Ge(e);
594
594
  if (!o) {
595
- var i = "";
596
- (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (i += " 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 = fr(l);
598
- b ? i += b : i += we();
595
+ var a = "";
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 m = pr(l);
598
+ m ? a += m : a += ke();
599
599
  var d;
600
- e === null ? d = "null" : K(e) ? d = "array" : e !== void 0 && e.$$typeof === u ? (d = "<" + (k(e.type) || "Unknown") + " />", i = " 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, i);
600
+ e === null ? d = "null" : X(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, b("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 p = cr(e, r, t, l, s);
602
+ var p = dr(e, r, t, l, u);
603
603
  if (p == null)
604
604
  return p;
605
605
  if (o) {
606
- var j = r.children;
607
- if (j !== void 0)
608
- if (n)
609
- if (K(j)) {
610
- for (var A = 0; A < j.length; A++)
611
- ke(j[A], e);
612
- Object.freeze && Object.freeze(j);
606
+ var w = r.children;
607
+ if (w !== void 0)
608
+ if (i)
609
+ if (X(w)) {
610
+ for (var A = 0; A < w.length; A++)
611
+ Le(w[A], e);
612
+ Object.freeze && Object.freeze(w);
613
613
  } else
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.");
614
+ b("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
- ke(j, e);
616
+ Le(w, e);
617
617
  }
618
618
  if (W.call(r, "key")) {
619
- var I = k(e), C = Object.keys(r).filter(function(xr) {
620
- return xr !== "key";
621
- }), te = C.length > 0 ? "{key: someKey, " + C.join(": ..., ") + ": ...}" : "{key: someKey}";
622
- if (!Oe[I + te]) {
623
- var Cr = C.length > 0 ? "{" + C.join(": ..., ") + ": ...}" : "{}";
624
- m(`A props object containing a "key" prop is being spread into JSX:
619
+ var I = k(e), j = Object.keys(r).filter(function(jr) {
620
+ return jr !== "key";
621
+ }), ne = j.length > 0 ? "{key: someKey, " + j.join(": ..., ") + ": ...}" : "{key: someKey}";
622
+ if (!Ie[I + ne]) {
623
+ var yr = j.length > 0 ? "{" + j.join(": ..., ") + ": ...}" : "{}";
624
+ b(`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, I, Cr, I), Oe[I + te] = !0;
629
+ <%s key={someKey} {...props} />`, ne, I, yr, I), Ie[I + ne] = !0;
630
630
  }
631
631
  }
632
- return e === h ? vr(p) : pr(p), p;
632
+ return e === h ? gr(p) : vr(p), p;
633
633
  }
634
634
  }
635
- function hr(e, r, t) {
636
- return Pe(e, r, t, !0);
635
+ function xr(e, r, t) {
636
+ return De(e, r, t, !0);
637
637
  }
638
- function gr(e, r, t) {
639
- return Pe(e, r, t, !1);
638
+ function br(e, r, t) {
639
+ return De(e, r, t, !1);
640
640
  }
641
- var mr = gr, br = hr;
642
- M.Fragment = h, M.jsx = mr, M.jsxs = br;
641
+ var mr = br, Cr = xr;
642
+ M.Fragment = h, M.jsx = mr, M.jsxs = Cr;
643
643
  }()), M;
644
644
  }
645
- process.env.NODE_ENV === "production" ? ie.exports = Pr() : ie.exports = Lr();
646
- var a = ie.exports;
647
- function $r({
648
- title: c,
649
- subtitle: u,
650
- children: v
651
- }) {
652
- return /* @__PURE__ */ a.jsxs(
653
- P,
654
- {
655
- flexDirection: "column",
656
- border: "1px solid",
657
- borderColor: "tints.black",
658
- padding: "8",
659
- alignItems: "center",
660
- children: [
661
- /* @__PURE__ */ a.jsx(
662
- Le,
663
- { as: "h3", marginBottom: "10", children: c }
664
- ),
665
- /* @__PURE__ */ a.jsx(
666
- Le,
667
- { as: "h4", marginBottom: "4", fontSize: "xl", children: u }
668
- ),
669
- v
670
- ]
671
- }
672
- );
673
- }
674
- const ne = 60, Ae = 6, Ir = (c) => {
645
+ process.env.NODE_ENV === "production" ? le.exports = Fr() : le.exports = Ar();
646
+ var n = le.exports;
647
+ const ae = 60, $e = 6, Hr = (c) => {
675
648
  const {
676
- activeStepIndex: u,
649
+ activeStepIndex: s,
677
650
  hideIndicators: v = !1,
678
651
  steps: h,
679
- stepperTheme: w = {
652
+ stepperTheme: E = {
680
653
  light: "eggplant.light",
681
654
  base: "eggplant.base"
682
655
  }
683
- } = c, { activeStep: x, setActiveStep: _ } = yr({
684
- index: u,
656
+ } = c, { activeStep: g, setActiveStep: R } = Er({
657
+ index: s,
685
658
  count: h.length
686
659
  });
687
- return wr(() => {
688
- _(u);
689
- }, [u, _]), /* @__PURE__ */ a.jsx(
690
- E,
691
- { position: "relative", width: "100%", "data-testid": "stepper", children: /* @__PURE__ */ a.jsx(
692
- Er,
660
+ return kr(() => {
661
+ R(s);
662
+ }, [s, R]), /* @__PURE__ */ n.jsx(
663
+ C,
664
+ { position: "relative", width: "100%", "data-testid": "stepper", children: /* @__PURE__ */ n.jsx(
665
+ Rr,
693
666
  {
694
667
  role: "progressbar",
695
- index: x,
668
+ index: g,
696
669
  width: "100%",
697
670
  display: "flex",
698
671
  flexWrap: "nowrap",
699
672
  children: h.map((y, f) => {
700
- const S = x === f, g = f === 0, R = f === h.length - 1, T = x > f;
701
- let O = `${ne}px`;
702
- const Y = `calc(100% - ((${ne * (h.length - 1)}px) - (${h.length - 1} * ${Ae * 2}px)))`;
703
- return S ? O = Y : (g || R) && (O = `${ne - Ae}px`), /* @__PURE__ */ a.jsx(
704
- E,
673
+ const S = g === f, x = f === 0, _ = f === h.length - 1, T = g > f;
674
+ let O = `${ae}px`;
675
+ const Y = `calc(100% - ((${ae * (h.length - 1)}px) - (${h.length - 1} * ${$e * 2}px)))`;
676
+ return S ? O = Y : (x || _) && (O = `${ae - $e}px`), /* @__PURE__ */ n.jsx(
677
+ C,
705
678
  {
706
679
  width: O,
707
680
  opacity: T || S ? 1 : 0.2,
708
- paddingRight: R ? "0" : "6px",
709
- paddingLeft: g ? "0" : "6px",
681
+ paddingRight: _ ? "0" : "6px",
682
+ paddingLeft: x ? "0" : "6px",
710
683
  transition: "width 0.4s ease-in-out, opacity 0.4s ease-in-out",
711
- children: /* @__PURE__ */ a.jsx(
712
- E,
684
+ children: /* @__PURE__ */ n.jsx(
685
+ C,
713
686
  {
714
687
  paddingTop: v ? 2 : 5,
715
688
  position: "relative",
716
689
  width: "100%",
717
- children: /* @__PURE__ */ a.jsx(
718
- E,
690
+ children: /* @__PURE__ */ n.jsx(
691
+ C,
719
692
  {
720
693
  width: "100%",
721
694
  position: "absolute",
722
695
  top: "0",
723
- backgroundColor: T ? w.light : w.base,
696
+ backgroundColor: T ? E.light : E.base,
724
697
  height: v ? "4px" : "8px",
725
698
  borderRadius: "4",
726
699
  left: "0"
@@ -735,18 +708,18 @@ const ne = 60, Ae = 6, Ir = (c) => {
735
708
  }
736
709
  ) }
737
710
  );
738
- }, Vr = le.memo(Ir), Mr = ({
711
+ }, Nr = ce.memo(Hr), Ur = ({
739
712
  children: c,
740
- ...u
741
- }) => /* @__PURE__ */ a.jsx(
742
- Sr,
743
- { color: "tints.uiGrey", fontSize: ["md", null, "lg"], ...u, children: c }
744
- ), Yr = ({
713
+ ...s
714
+ }) => /* @__PURE__ */ n.jsx(
715
+ Pr,
716
+ { color: "tints.uiGrey", fontSize: ["md", null, "lg"], ...s, children: c }
717
+ ), zr = ({
745
718
  label: c,
746
- additionalContent: u,
719
+ additionalContent: s,
747
720
  ...v
748
- }) => /* @__PURE__ */ a.jsxs(
749
- He,
721
+ }) => /* @__PURE__ */ n.jsxs(
722
+ ue,
750
723
  {
751
724
  display: "flex",
752
725
  alignItems: "center",
@@ -757,13 +730,14 @@ const ne = 60, Ae = 6, Ir = (c) => {
757
730
  _hover: { color: "viridian.base", textDecoration: "none" },
758
731
  borderBottom: ["1px", null, "unset"],
759
732
  borderColor: ["tints.cream", null, "unset"],
733
+ width: ["100%", null, "fit-content"],
760
734
  ...v,
761
735
  children: [
762
- /* @__PURE__ */ a.jsx(
763
- ae,
736
+ /* @__PURE__ */ n.jsx(
737
+ oe,
764
738
  {
765
739
  display: ["none", null, "block"],
766
- as: Ie,
740
+ as: Ae,
767
741
  fontSize: "lg",
768
742
  color: "viridian.light",
769
743
  role: "img",
@@ -771,15 +745,15 @@ const ne = 60, Ae = 6, Ir = (c) => {
771
745
  weight: "bold"
772
746
  }
773
747
  ),
774
- /* @__PURE__ */ a.jsxs(
748
+ /* @__PURE__ */ n.jsxs(
775
749
  P,
776
750
  { alignItems: "center", gap: "1", width: ["100%", null, "auto"], children: [
777
- /* @__PURE__ */ a.jsx(
778
- Z,
751
+ /* @__PURE__ */ n.jsx(
752
+ G,
779
753
  { fontSize: ["xl", null, "lg"], fontWeight: "medium", children: c }
780
754
  ),
781
- u && (typeof u == "string" ? /* @__PURE__ */ a.jsx(
782
- Z,
755
+ s && (typeof s == "string" ? /* @__PURE__ */ n.jsx(
756
+ G,
783
757
  {
784
758
  fontSize: ["xl", null, "lg"],
785
759
  fontWeight: "medium",
@@ -789,14 +763,14 @@ const ne = 60, Ae = 6, Ir = (c) => {
789
763
  color: "viridian.base"
790
764
  }
791
765
  },
792
- children: u
766
+ children: s
793
767
  }
794
- ) : u),
795
- /* @__PURE__ */ a.jsx(
796
- ae,
768
+ ) : s),
769
+ /* @__PURE__ */ n.jsx(
770
+ oe,
797
771
  {
798
772
  display: ["block", null, "none"],
799
- as: Ie,
773
+ as: Ae,
800
774
  fontSize: "2xl",
801
775
  color: "tints.uiGrey",
802
776
  role: "img",
@@ -808,50 +782,51 @@ const ne = 60, Ae = 6, Ir = (c) => {
808
782
  )
809
783
  ]
810
784
  }
811
- ), Br = ({
812
- children: c,
813
- isSelected: u,
814
- ...v
815
- }) => /* @__PURE__ */ a.jsx(
816
- _r,
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
- paddingY: "3 !important",
827
- paddingX: "5 !important",
828
- _hover: {
829
- backgroundColor: "tints.lightCream",
830
- textDecoration: "none"
831
- },
832
- ...v,
833
- children: c
785
+ ), Wr = (c) => {
786
+ const { isSelected: s, as: v } = c;
787
+ return v === ue ? "tints.cream" : s ? "tints.lightCream" : "transparent";
788
+ }, Zr = Or(
789
+ (c, s) => {
790
+ const { children: v, isSelected: h, ...E } = c, g = c.backgroundColor || Wr(c);
791
+ return /* @__PURE__ */ n.jsx(
792
+ _r,
793
+ {
794
+ ref: s,
795
+ borderRadius: "full",
796
+ backgroundColor: g,
797
+ fontSize: "lg",
798
+ fontWeight: "normal",
799
+ color: "tints.black",
800
+ _hover: {
801
+ backgroundColor: g,
802
+ textDecoration: "none",
803
+ filter: "brightness(0.95)"
804
+ },
805
+ ...E,
806
+ children: v
807
+ }
808
+ );
834
809
  }
835
- ), Nr = ({
810
+ ), Gr = ({
836
811
  title: c,
837
- description: u,
812
+ description: s,
838
813
  imageSrc: v,
839
814
  imageElement: h,
840
- button: w,
841
- backgroundColor: x = "viridian.wash",
842
- onClick: _
815
+ button: E,
816
+ backgroundColor: g = "viridian.wash",
817
+ onClick: R
843
818
  }) => {
844
- const y = "80px";
845
- return /* @__PURE__ */ a.jsxs(
819
+ const y = "80px", f = "200px";
820
+ return /* @__PURE__ */ n.jsxs(
846
821
  P,
847
822
  {
848
823
  direction: ["row", null, "column"],
849
824
  alignItems: ["center"],
850
825
  borderRadius: "xl",
851
826
  overflow: "hidden",
852
- minHeight: [y, null, "272px"],
853
- backgroundColor: x,
854
- onClick: _,
827
+ height: [y, null, "272px"],
828
+ backgroundColor: g,
829
+ onClick: R,
855
830
  "data-testid": "spotlight-card",
856
831
  position: "relative",
857
832
  transition: "box-shadow 0.2s ease-in-out",
@@ -860,26 +835,33 @@ const ne = 60, Ae = 6, Ir = (c) => {
860
835
  cursor: "pointer"
861
836
  },
862
837
  children: [
863
- /* @__PURE__ */ a.jsx(
864
- E,
838
+ /* @__PURE__ */ n.jsx(
839
+ C,
865
840
  {
866
841
  width: ["72px", null, "100%"],
867
842
  height: ["100%"],
868
843
  flex: [null, null, "1"],
869
- children: v ? /* @__PURE__ */ a.jsx(
870
- Rr,
844
+ children: v ? /* @__PURE__ */ n.jsx(
845
+ wr,
871
846
  {
872
847
  src: v,
873
848
  objectFit: "cover",
874
- height: [y, null, "200px"],
849
+ height: [y, null, f],
875
850
  width: "100%",
876
851
  alt: "",
877
852
  "data-testid": "spotlight-card-image"
878
853
  }
879
- ) : h
854
+ ) : /* @__PURE__ */ n.jsx(
855
+ C,
856
+ {
857
+ height: [y, null, f],
858
+ overflow: "hidden",
859
+ children: h
860
+ }
861
+ )
880
862
  }
881
863
  ),
882
- /* @__PURE__ */ a.jsxs(
864
+ /* @__PURE__ */ n.jsxs(
883
865
  P,
884
866
  {
885
867
  direction: ["column", null, "row"],
@@ -890,28 +872,28 @@ const ne = 60, Ae = 6, Ir = (c) => {
890
872
  width: "100%",
891
873
  position: [null, null, "absolute"],
892
874
  bottom: [null, null, "0"],
893
- backgroundColor: [null, null, `${x}CC`],
875
+ backgroundColor: [null, null, `${g}CC`],
894
876
  backdropFilter: [null, null, "blur(8px)"],
895
877
  children: [
896
- /* @__PURE__ */ a.jsxs(
897
- E,
878
+ /* @__PURE__ */ n.jsxs(
879
+ C,
898
880
  { children: [
899
- /* @__PURE__ */ a.jsx(
900
- Z,
881
+ /* @__PURE__ */ n.jsx(
882
+ G,
901
883
  { fontSize: "lg", fontWeight: "medium", children: c }
902
884
  ),
903
- /* @__PURE__ */ a.jsx(Z, { fontSize: "sm", children: u })
885
+ /* @__PURE__ */ n.jsx(G, { fontSize: "sm", children: s })
904
886
  ] }
905
887
  ),
906
- /* @__PURE__ */ a.jsx(E, { display: ["none", null, "block"], children: w })
888
+ /* @__PURE__ */ n.jsx(C, { display: ["none", null, "block"], children: E })
907
889
  ]
908
890
  }
909
891
  )
910
892
  ]
911
893
  }
912
894
  );
913
- }, oe = (c) => /* @__PURE__ */ a.jsx(
914
- jr,
895
+ }, se = (c) => /* @__PURE__ */ n.jsx(
896
+ Sr,
915
897
  {
916
898
  size: "sm",
917
899
  width: ["40px", null, "46px"],
@@ -931,7 +913,7 @@ const ne = 60, Ae = 6, Ir = (c) => {
931
913
  },
932
914
  ...c
933
915
  }
934
- ), Dr = () => /* @__PURE__ */ a.jsx(
916
+ ), $r = () => /* @__PURE__ */ n.jsx(
935
917
  "svg",
936
918
  {
937
919
  width: "116",
@@ -941,9 +923,9 @@ const ne = 60, Ae = 6, Ir = (c) => {
941
923
  xmlns: "http://www.w3.org/2000/svg",
942
924
  role: "img",
943
925
  "aria-label": "Everlywell Logo",
944
- children: /* @__PURE__ */ a.jsx(
926
+ children: /* @__PURE__ */ n.jsx(
945
927
  "g",
946
- { id: "Everlywell Logo", children: /* @__PURE__ */ a.jsx(
928
+ { id: "Everlywell Logo", children: /* @__PURE__ */ n.jsx(
947
929
  "path",
948
930
  {
949
931
  id: "Everlywell Logo_2",
@@ -955,75 +937,75 @@ const ne = 60, Ae = 6, Ir = (c) => {
955
937
  ) }
956
938
  )
957
939
  }
958
- ), zr = ({
940
+ ), Jr = ({
959
941
  desktopTopButtons: c,
960
- kitRegistrationElement: u,
942
+ kitRegistrationElement: s,
961
943
  profileElement: v,
962
944
  cartElement: h,
963
- onSearchClick: w,
964
- onMenuClick: x,
965
- hasSearch: _ = !1,
945
+ onSearchClick: E,
946
+ onMenuClick: g,
947
+ hasSearch: R = !1,
966
948
  logoLink: y = "https://www.everlywell.com"
967
- }) => /* @__PURE__ */ a.jsx(
968
- E,
949
+ }) => /* @__PURE__ */ n.jsx(
950
+ C,
969
951
  {
970
952
  bg: "background.default",
971
953
  padding: "4",
972
954
  borderBottom: "1px solid",
973
955
  borderColor: "tints.lightCream",
974
- children: /* @__PURE__ */ a.jsxs(
956
+ children: /* @__PURE__ */ n.jsxs(
975
957
  P,
976
958
  { justifyContent: "space-between", alignItems: "center", children: [
977
- /* @__PURE__ */ a.jsxs(
959
+ /* @__PURE__ */ n.jsxs(
978
960
  P,
979
961
  { alignItems: "center", gap: "5", children: [
980
- /* @__PURE__ */ a.jsx(
981
- He,
982
- { href: y, "aria-label": "Go to homepage", children: /* @__PURE__ */ a.jsx(Dr, {}) }
962
+ /* @__PURE__ */ n.jsx(
963
+ ue,
964
+ { href: y, "aria-label": "Go to homepage", children: /* @__PURE__ */ n.jsx($r, {}) }
983
965
  ),
984
- /* @__PURE__ */ a.jsx(P, { display: ["none", null, "flex"], children: c })
966
+ /* @__PURE__ */ n.jsx(P, { display: ["none", null, "flex"], children: c })
985
967
  ] }
986
968
  ),
987
- /* @__PURE__ */ a.jsxs(
969
+ /* @__PURE__ */ n.jsxs(
988
970
  P,
989
971
  { alignItems: "center", gap: "2", children: [
990
- /* @__PURE__ */ a.jsx(E, { display: ["none", null, "block"], children: u }),
991
- _ ? /* @__PURE__ */ a.jsx(
992
- oe,
972
+ /* @__PURE__ */ n.jsx(C, { display: ["none", null, "block"], children: s }),
973
+ R ? /* @__PURE__ */ n.jsx(
974
+ se,
993
975
  {
994
976
  "aria-label": "Search",
995
- icon: /* @__PURE__ */ a.jsx(ae, { as: Tr }),
996
- onClick: w
977
+ icon: /* @__PURE__ */ n.jsx(oe, { as: Lr }),
978
+ onClick: E
997
979
  }
998
980
  ) : null,
999
981
  h,
1000
- /* @__PURE__ */ a.jsx(
1001
- E,
1002
- { display: ["flex", null, "none"], children: /* @__PURE__ */ a.jsx(
1003
- oe,
982
+ /* @__PURE__ */ n.jsx(
983
+ C,
984
+ { display: ["flex", null, "none"], children: /* @__PURE__ */ n.jsx(
985
+ se,
1004
986
  {
1005
- icon: /* @__PURE__ */ a.jsx(kr, {}),
987
+ icon: /* @__PURE__ */ n.jsx(Ir, {}),
1006
988
  "aria-label": "menu",
1007
989
  "data-testid": "menu-button",
1008
- onClick: x
990
+ onClick: g
1009
991
  }
1010
992
  ) }
1011
993
  ),
1012
- /* @__PURE__ */ a.jsx(E, { display: ["none", null, "block"], children: v })
994
+ /* @__PURE__ */ n.jsx(C, { display: ["none", null, "block"], children: v })
1013
995
  ] }
1014
996
  )
1015
997
  ] }
1016
998
  )
1017
999
  }
1018
- ), Ur = ({
1000
+ ), qr = ({
1019
1001
  count: c = 0,
1020
- ...u
1021
- }) => /* @__PURE__ */ a.jsxs(
1022
- E,
1002
+ ...s
1003
+ }) => /* @__PURE__ */ n.jsxs(
1004
+ C,
1023
1005
  { position: "relative", display: "inline-block", children: [
1024
- /* @__PURE__ */ a.jsx(oe, { icon: /* @__PURE__ */ a.jsx(Or, {}), ...u }),
1025
- c > 0 && /* @__PURE__ */ a.jsx(
1026
- E,
1006
+ /* @__PURE__ */ n.jsx(se, { icon: /* @__PURE__ */ n.jsx(Dr, {}), ...s }),
1007
+ c > 0 && /* @__PURE__ */ n.jsx(
1008
+ C,
1027
1009
  {
1028
1010
  display: "flex",
1029
1011
  minWidth: "20px",
@@ -1044,15 +1026,51 @@ const ne = 60, Ae = 6, Ir = (c) => {
1044
1026
  }
1045
1027
  )
1046
1028
  ] }
1029
+ ), Kr = ({
1030
+ numLinks: c = 5,
1031
+ showPromoButton: s = !0
1032
+ }) => /* @__PURE__ */ n.jsx(
1033
+ Tr,
1034
+ { spacing: 0, align: "stretch", children: /* @__PURE__ */ n.jsx(
1035
+ C,
1036
+ { paddingY: 4, paddingX: 6, borderBottomWidth: "1px", children: /* @__PURE__ */ n.jsxs(
1037
+ P,
1038
+ { justify: "space-between", align: "center", children: [
1039
+ /* @__PURE__ */ n.jsx(ie, { w: "120px", h: "48px" }),
1040
+ /* @__PURE__ */ n.jsxs(
1041
+ Fe,
1042
+ { spacing: 8, marginLeft: 12, children: [
1043
+ Array.from({ length: c }).map(
1044
+ (v, h) => /* @__PURE__ */ n.jsx(ie, { width: "90px", height: "48px" }, h)
1045
+ ),
1046
+ s && /* @__PURE__ */ n.jsx(ie, { width: "110px", height: "48px", borderRadius: "full" })
1047
+ ] }
1048
+ ),
1049
+ /* @__PURE__ */ n.jsxs(
1050
+ Fe,
1051
+ { spacing: 4, ml: "auto", children: [
1052
+ /* @__PURE__ */ n.jsx(Z, { width: "120px", height: "48px" }),
1053
+ " ",
1054
+ /* @__PURE__ */ n.jsx(Z, { width: "48px", height: "48px" }),
1055
+ " ",
1056
+ /* @__PURE__ */ n.jsx(Z, { width: "48px", height: "48px" }),
1057
+ " ",
1058
+ /* @__PURE__ */ n.jsx(Z, { width: "48px", height: "48px" }),
1059
+ " "
1060
+ ] }
1061
+ )
1062
+ ] }
1063
+ ) }
1064
+ ) }
1047
1065
  );
1048
1066
  export {
1049
- Ur as BasketButton,
1050
- Mr as CategoryLabel,
1051
- Br as NavButton,
1052
- Yr as NavbarDrawerLink,
1053
- Nr as SpotlightCard,
1054
- Vr as Stepper,
1055
- $r as TemporaryCard,
1056
- oe as TopNavIconButton,
1057
- zr as TopNavigation
1067
+ qr as BasketButton,
1068
+ Ur as CategoryLabel,
1069
+ Zr as NavButton,
1070
+ Kr as NavSkeleton,
1071
+ zr as NavbarDrawerLink,
1072
+ Gr as SpotlightCard,
1073
+ Nr as Stepper,
1074
+ se as TopNavIconButton,
1075
+ Jr as TopNavigation
1058
1076
  };