@everlywell/consumer-ui 1.19.0 → 1.21.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 (67) hide show
  1. package/index.d.mts +7 -1
  2. package/index.d.ts +7 -1
  3. package/index.d.ts.map +1 -0
  4. package/index.js +11 -11
  5. package/index.mjs +532 -318
  6. package/lib/components/Navbar/BasketButton/BasketButton.d.ts +21 -0
  7. package/lib/components/Navbar/BasketButton/BasketButton.d.ts.map +1 -0
  8. package/lib/components/Navbar/BasketButton/BasketButton.stories.d.ts +9 -0
  9. package/lib/components/Navbar/BasketButton/BasketButton.stories.d.ts.map +1 -0
  10. package/lib/components/Navbar/BasketButton/index.d.ts +3 -0
  11. package/lib/components/Navbar/BasketButton/index.d.ts.map +1 -0
  12. package/lib/components/{CategoryLabel → Navbar/CategoryLabel}/CategoryLabel.d.ts +3 -2
  13. package/lib/components/Navbar/CategoryLabel/CategoryLabel.d.ts.map +1 -0
  14. package/lib/components/{CategoryLabel → Navbar/CategoryLabel}/CategoryLabel.stories.d.ts +1 -0
  15. package/lib/components/Navbar/CategoryLabel/CategoryLabel.stories.d.ts.map +1 -0
  16. package/lib/components/Navbar/CategoryLabel/index.d.ts +3 -0
  17. package/lib/components/Navbar/CategoryLabel/index.d.ts.map +1 -0
  18. package/lib/components/Navbar/DesktopNavLink/DesktopNavLink.d.ts +3 -2
  19. package/lib/components/Navbar/DesktopNavLink/DesktopNavLink.d.ts.map +1 -0
  20. package/lib/components/Navbar/DesktopNavLink/DesktopNavLink.stories.d.ts +1 -0
  21. package/lib/components/Navbar/DesktopNavLink/DesktopNavLink.stories.d.ts.map +1 -0
  22. package/lib/components/Navbar/DesktopNavLink/index.d.ts +1 -0
  23. package/lib/components/Navbar/DesktopNavLink/index.d.ts.map +1 -0
  24. package/lib/components/Navbar/MobileNavItems/MobileNavItems.d.ts +1 -0
  25. package/lib/components/Navbar/MobileNavItems/MobileNavItems.d.ts.map +1 -0
  26. package/lib/components/Navbar/MobileNavItems/MobileNavItems.stories.d.ts +1 -0
  27. package/lib/components/Navbar/MobileNavItems/MobileNavItems.stories.d.ts.map +1 -0
  28. package/lib/components/Navbar/MobileNavItems/index.d.ts +1 -0
  29. package/lib/components/Navbar/MobileNavItems/index.d.ts.map +1 -0
  30. package/lib/components/Navbar/MobileNavLink/MobileNavLink.d.ts +3 -2
  31. package/lib/components/Navbar/MobileNavLink/MobileNavLink.d.ts.map +1 -0
  32. package/lib/components/Navbar/MobileNavLink/MobileNavLink.stories.d.ts +1 -0
  33. package/lib/components/Navbar/MobileNavLink/MobileNavLink.stories.d.ts.map +1 -0
  34. package/lib/components/Navbar/MobileNavLink/index.d.ts +1 -0
  35. package/lib/components/Navbar/MobileNavLink/index.d.ts.map +1 -0
  36. package/lib/components/Navbar/NavButton/NavButton.d.ts +1 -0
  37. package/lib/components/Navbar/NavButton/NavButton.d.ts.map +1 -0
  38. package/lib/components/Navbar/NavButton/NavButton.stories.d.ts +1 -0
  39. package/lib/components/Navbar/NavButton/NavButton.stories.d.ts.map +1 -0
  40. package/lib/components/Navbar/NavButton/index.d.ts +1 -0
  41. package/lib/components/Navbar/NavButton/index.d.ts.map +1 -0
  42. package/lib/components/Navbar/SpotlightCard/SpotlightCard.d.ts +71 -0
  43. package/lib/components/Navbar/SpotlightCard/SpotlightCard.d.ts.map +1 -0
  44. package/lib/components/Navbar/SpotlightCard/SpotlightCard.stories.d.ts +8 -0
  45. package/lib/components/Navbar/SpotlightCard/SpotlightCard.stories.d.ts.map +1 -0
  46. package/lib/components/Navbar/SpotlightCard/index.d.ts +3 -0
  47. package/lib/components/Navbar/SpotlightCard/index.d.ts.map +1 -0
  48. package/lib/components/Stepper/Stepper.builder.d.ts +1 -0
  49. package/lib/components/Stepper/Stepper.builder.d.ts.map +1 -0
  50. package/lib/components/Stepper/Stepper.d.ts +1 -0
  51. package/lib/components/Stepper/Stepper.d.ts.map +1 -0
  52. package/lib/components/Stepper/Stepper.stories.d.ts +1 -0
  53. package/lib/components/Stepper/Stepper.stories.d.ts.map +1 -0
  54. package/lib/components/Stepper/index.d.ts +1 -0
  55. package/lib/components/Stepper/index.d.ts.map +1 -0
  56. package/lib/components/TemporaryCard/TemporaryCard.d.ts +1 -0
  57. package/lib/components/TemporaryCard/TemporaryCard.d.ts.map +1 -0
  58. package/lib/components/TemporaryCard/TemporaryCard.stories.d.ts +1 -0
  59. package/lib/components/TemporaryCard/TemporaryCard.stories.d.ts.map +1 -0
  60. package/lib/components/TemporaryCard/index.d.ts +1 -0
  61. package/lib/components/TemporaryCard/index.d.ts.map +1 -0
  62. package/lib/consumer-ui.d.ts +1 -0
  63. package/lib/consumer-ui.d.ts.map +1 -0
  64. package/lib/utils/utils.storybook.d.ts +1 -0
  65. package/lib/utils/utils.storybook.d.ts.map +1 -0
  66. package/package.json +1 -1
  67. package/lib/components/CategoryLabel/index.d.ts +0 -1
package/index.mjs CHANGED
@@ -1,7 +1,8 @@
1
- import { Flex as gr, Heading as Oe, useSteps as hr, Box as J, Stepper as br } from "@everlywell/ui-kit";
2
- import ne, { useEffect as yr } from "react";
3
- import { Text as mr } from "@chakra-ui/react";
4
- var te = { exports: {} }, Y = {};
1
+ import { Flex as V, Heading as Oe, useSteps as xr, Box as I, Stepper as _r, Link as Fe, Icon as Ae, Text as W, Stack as Er, Button as Rr, Image as Sr } from "@everlywell/ui-kit";
2
+ import ie, { useEffect as jr } from "react";
3
+ import { Text as Tr } from "@chakra-ui/react";
4
+ import { CaretRight as We } from "@phosphor-icons/react";
5
+ var ae = { exports: {} }, N = {};
5
6
  /**
6
7
  * @license React
7
8
  * react-jsx-runtime.production.min.js
@@ -11,25 +12,25 @@ var te = { exports: {} }, Y = {};
11
12
  * This source code is licensed under the MIT license found in the
12
13
  * LICENSE file in the root directory of this source tree.
13
14
  */
14
- var je;
15
- function Er() {
16
- if (je)
17
- return Y;
18
- je = 1;
19
- var _ = ne, g = Symbol.for("react.element"), T = Symbol.for("react.fragment"), h = Object.prototype.hasOwnProperty, j = _.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, x = { key: !0, ref: !0, __self: !0, __source: !0 };
20
- function w(C, u, R) {
21
- var c, b = {}, m = null, O = null;
22
- R !== void 0 && (m = "" + R), u.key !== void 0 && (m = "" + u.key), u.ref !== void 0 && (O = u.ref);
23
- for (c in u)
24
- h.call(u, c) && !x.hasOwnProperty(c) && (b[c] = u[c]);
25
- if (C && C.defaultProps)
26
- for (c in u = C.defaultProps, u)
27
- b[c] === void 0 && (b[c] = u[c]);
28
- return { $$typeof: g, type: C, key: m, ref: O, props: b, _owner: j.current };
15
+ var Pe;
16
+ function wr() {
17
+ if (Pe)
18
+ return N;
19
+ Pe = 1;
20
+ var p = ie, s = Symbol.for("react.element"), v = Symbol.for("react.fragment"), b = Object.prototype.hasOwnProperty, C = p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, E = { key: !0, ref: !0, __self: !0, __source: !0 };
21
+ function S(R, c, j) {
22
+ var h, x = {}, T = null, k = null;
23
+ j !== void 0 && (T = "" + j), c.key !== void 0 && (T = "" + c.key), c.ref !== void 0 && (k = c.ref);
24
+ for (h in c)
25
+ b.call(c, h) && !E.hasOwnProperty(h) && (x[h] = c[h]);
26
+ if (R && R.defaultProps)
27
+ for (h in c = R.defaultProps, c)
28
+ x[h] === void 0 && (x[h] = c[h]);
29
+ return { $$typeof: s, type: R, key: T, ref: k, props: x, _owner: C.current };
29
30
  }
30
- return Y.Fragment = T, Y.jsx = w, Y.jsxs = w, Y;
31
+ return N.Fragment = v, N.jsx = S, N.jsxs = S, N;
31
32
  }
32
- var L = {};
33
+ var M = {};
33
34
  /**
34
35
  * @license React
35
36
  * react-jsx-runtime.development.js
@@ -39,91 +40,91 @@ var L = {};
39
40
  * This source code is licensed under the MIT license found in the
40
41
  * LICENSE file in the root directory of this source tree.
41
42
  */
42
- var Pe;
43
- function _r() {
44
- return Pe || (Pe = 1, process.env.NODE_ENV !== "production" && function() {
45
- var _ = ne, g = Symbol.for("react.element"), T = Symbol.for("react.portal"), h = Symbol.for("react.fragment"), j = Symbol.for("react.strict_mode"), x = Symbol.for("react.profiler"), w = Symbol.for("react.provider"), C = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), R = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), O = Symbol.for("react.offscreen"), V = Symbol.iterator, De = "@@iterator";
46
- function Ae(e) {
43
+ var Ie;
44
+ function Cr() {
45
+ return Ie || (Ie = 1, process.env.NODE_ENV !== "production" && function() {
46
+ var p = ie, s = Symbol.for("react.element"), v = Symbol.for("react.portal"), b = Symbol.for("react.fragment"), C = Symbol.for("react.strict_mode"), E = 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"), h = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), k = Symbol.for("react.offscreen"), z = Symbol.iterator, $e = "@@iterator";
47
+ function Le(e) {
47
48
  if (e === null || typeof e != "object")
48
49
  return null;
49
- var r = V && e[V] || e[De];
50
+ var r = z && e[z] || e[$e];
50
51
  return typeof r == "function" ? r : null;
51
52
  }
52
- var D = _.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
53
- function d(e) {
53
+ var D = p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
54
+ function g(e) {
54
55
  {
55
56
  for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
56
57
  t[n - 1] = arguments[n];
57
- Fe("error", e, t);
58
+ Ye("error", e, t);
58
59
  }
59
60
  }
60
- function Fe(e, r, t) {
61
+ function Ye(e, r, t) {
61
62
  {
62
63
  var n = D.ReactDebugCurrentFrame, o = n.getStackAddendum();
63
64
  o !== "" && (r += "%s", t = t.concat([o]));
64
- var s = t.map(function(i) {
65
+ var u = t.map(function(i) {
65
66
  return String(i);
66
67
  });
67
- 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);
68
69
  }
69
70
  }
70
- var Ie = !1, $e = !1, We = !1, Ye = !1, Le = !1, ae;
71
- ae = Symbol.for("react.module.reference");
72
- function Ve(e) {
73
- return !!(typeof e == "string" || typeof e == "function" || e === h || e === x || Le || e === j || e === R || e === c || Ye || e === O || Ie || $e || We || typeof e == "object" && e !== null && (e.$$typeof === m || e.$$typeof === b || e.$$typeof === w || e.$$typeof === C || e.$$typeof === u || // This needs to include all possible module reference object
71
+ var Ne = !1, Me = !1, Ve = !1, ze = !1, Ue = !1, oe;
72
+ oe = Symbol.for("react.module.reference");
73
+ function Be(e) {
74
+ return !!(typeof e == "string" || typeof e == "function" || e === b || e === E || Ue || e === C || e === j || e === h || ze || e === k || Ne || Me || Ve || typeof e == "object" && e !== null && (e.$$typeof === T || e.$$typeof === x || e.$$typeof === S || e.$$typeof === R || e.$$typeof === c || // This needs to include all possible module reference object
74
75
  // types supported by any Flight configuration anywhere since
75
76
  // we don't know which Flight build this will end up being used
76
77
  // with.
77
- e.$$typeof === ae || e.getModuleId !== void 0));
78
+ e.$$typeof === oe || e.getModuleId !== void 0));
78
79
  }
79
- function Ne(e, r, t) {
80
+ function Ge(e, r, t) {
80
81
  var n = e.displayName;
81
82
  if (n)
82
83
  return n;
83
84
  var o = r.displayName || r.name || "";
84
85
  return o !== "" ? t + "(" + o + ")" : t;
85
86
  }
86
- function ie(e) {
87
+ function se(e) {
87
88
  return e.displayName || "Context";
88
89
  }
89
- function E(e) {
90
+ function w(e) {
90
91
  if (e == null)
91
92
  return null;
92
- if (typeof e.tag == "number" && d("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" && g("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
93
94
  return e.displayName || e.name || null;
94
95
  if (typeof e == "string")
95
96
  return e;
96
97
  switch (e) {
97
- case h:
98
+ case b:
98
99
  return "Fragment";
99
- case T:
100
+ case v:
100
101
  return "Portal";
101
- case x:
102
+ case E:
102
103
  return "Profiler";
103
- case j:
104
+ case C:
104
105
  return "StrictMode";
105
- case R:
106
+ case j:
106
107
  return "Suspense";
107
- case c:
108
+ case h:
108
109
  return "SuspenseList";
109
110
  }
110
111
  if (typeof e == "object")
111
112
  switch (e.$$typeof) {
112
- case C:
113
+ case R:
113
114
  var r = e;
114
- return ie(r) + ".Consumer";
115
- case w:
115
+ return se(r) + ".Consumer";
116
+ case S:
116
117
  var t = e;
117
- return ie(t._context) + ".Provider";
118
- case u:
119
- return Ne(e, e.render, "ForwardRef");
120
- case b:
118
+ return se(t._context) + ".Provider";
119
+ case c:
120
+ return Ge(e, e.render, "ForwardRef");
121
+ case x:
121
122
  var n = e.displayName || null;
122
- return n !== null ? n : E(e.type) || "Memo";
123
- case m: {
124
- var o = e, s = o._payload, i = o._init;
123
+ return n !== null ? n : w(e.type) || "Memo";
124
+ case T: {
125
+ var o = e, u = o._payload, i = o._init;
125
126
  try {
126
- return E(i(s));
127
+ return w(i(u));
127
128
  } catch {
128
129
  return null;
129
130
  }
@@ -131,18 +132,18 @@ function _r() {
131
132
  }
132
133
  return null;
133
134
  }
134
- var P = Object.assign, I = 0, oe, se, ue, le, fe, ce, de;
135
- function ve() {
135
+ var O = Object.assign, $ = 0, le, ue, ce, fe, de, pe, ve;
136
+ function he() {
136
137
  }
137
- ve.__reactDisabledLog = !0;
138
- function Me() {
138
+ he.__reactDisabledLog = !0;
139
+ function He() {
139
140
  {
140
- if (I === 0) {
141
- oe = console.log, se = console.info, ue = console.warn, le = console.error, fe = console.group, ce = console.groupCollapsed, de = console.groupEnd;
141
+ if ($ === 0) {
142
+ le = console.log, ue = console.info, ce = console.warn, fe = console.error, de = console.group, pe = console.groupCollapsed, ve = console.groupEnd;
142
143
  var e = {
143
144
  configurable: !0,
144
145
  enumerable: !0,
145
- value: ve,
146
+ value: he,
146
147
  writable: !0
147
148
  };
148
149
  Object.defineProperties(console, {
@@ -155,68 +156,68 @@ function _r() {
155
156
  groupEnd: e
156
157
  });
157
158
  }
158
- I++;
159
+ $++;
159
160
  }
160
161
  }
161
- function Ue() {
162
+ function Je() {
162
163
  {
163
- if (I--, I === 0) {
164
+ if ($--, $ === 0) {
164
165
  var e = {
165
166
  configurable: !0,
166
167
  enumerable: !0,
167
168
  writable: !0
168
169
  };
169
170
  Object.defineProperties(console, {
170
- log: P({}, e, {
171
- value: oe
172
- }),
173
- info: P({}, e, {
174
- value: se
171
+ log: O({}, e, {
172
+ value: le
175
173
  }),
176
- warn: P({}, e, {
174
+ info: O({}, e, {
177
175
  value: ue
178
176
  }),
179
- error: P({}, e, {
180
- value: le
177
+ warn: O({}, e, {
178
+ value: ce
181
179
  }),
182
- group: P({}, e, {
180
+ error: O({}, e, {
183
181
  value: fe
184
182
  }),
185
- groupCollapsed: P({}, e, {
186
- value: ce
187
- }),
188
- groupEnd: P({}, e, {
183
+ group: O({}, e, {
189
184
  value: de
185
+ }),
186
+ groupCollapsed: O({}, e, {
187
+ value: pe
188
+ }),
189
+ groupEnd: O({}, e, {
190
+ value: ve
190
191
  })
191
192
  });
192
193
  }
193
- I < 0 && d("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
194
+ $ < 0 && g("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
194
195
  }
195
196
  }
196
- var q = D.ReactCurrentDispatcher, G;
197
- function N(e, r, t) {
197
+ var J = D.ReactCurrentDispatcher, q;
198
+ function U(e, r, t) {
198
199
  {
199
- if (G === void 0)
200
+ if (q === void 0)
200
201
  try {
201
202
  throw Error();
202
203
  } catch (o) {
203
204
  var n = o.stack.trim().match(/\n( *(at )?)/);
204
- G = n && n[1] || "";
205
+ q = n && n[1] || "";
205
206
  }
206
207
  return `
207
- ` + G + e;
208
+ ` + q + e;
208
209
  }
209
210
  }
210
- var K = !1, M;
211
+ var K = !1, B;
211
212
  {
212
- var Be = typeof WeakMap == "function" ? WeakMap : Map;
213
- M = new Be();
213
+ var qe = typeof WeakMap == "function" ? WeakMap : Map;
214
+ B = new qe();
214
215
  }
215
- function pe(e, r) {
216
+ function ge(e, r) {
216
217
  if (!e || K)
217
218
  return "";
218
219
  {
219
- var t = M.get(e);
220
+ var t = B.get(e);
220
221
  if (t !== void 0)
221
222
  return t;
222
223
  }
@@ -224,8 +225,8 @@ function _r() {
224
225
  K = !0;
225
226
  var o = Error.prepareStackTrace;
226
227
  Error.prepareStackTrace = void 0;
227
- var s;
228
- s = q.current, q.current = null, Me();
228
+ var u;
229
+ u = J.current, J.current = null, He();
229
230
  try {
230
231
  if (r) {
231
232
  var i = function() {
@@ -238,171 +239,171 @@ function _r() {
238
239
  }), typeof Reflect == "object" && Reflect.construct) {
239
240
  try {
240
241
  Reflect.construct(i, []);
241
- } catch (p) {
242
- n = p;
242
+ } catch (y) {
243
+ n = y;
243
244
  }
244
245
  Reflect.construct(e, [], i);
245
246
  } else {
246
247
  try {
247
248
  i.call();
248
- } catch (p) {
249
- n = p;
249
+ } catch (y) {
250
+ n = y;
250
251
  }
251
252
  e.call(i.prototype);
252
253
  }
253
254
  } else {
254
255
  try {
255
256
  throw Error();
256
- } catch (p) {
257
- n = p;
257
+ } catch (y) {
258
+ n = y;
258
259
  }
259
260
  e();
260
261
  }
261
- } catch (p) {
262
- if (p && n && typeof p.stack == "string") {
263
- for (var a = p.stack.split(`
264
- `), v = n.stack.split(`
265
- `), l = a.length - 1, f = v.length - 1; l >= 1 && f >= 0 && a[l] !== v[f]; )
266
- f--;
267
- for (; l >= 1 && f >= 0; l--, f--)
268
- if (a[l] !== v[f]) {
269
- if (l !== 1 || f !== 1)
262
+ } catch (y) {
263
+ if (y && n && typeof y.stack == "string") {
264
+ for (var a = y.stack.split(`
265
+ `), m = n.stack.split(`
266
+ `), f = a.length - 1, d = m.length - 1; f >= 1 && d >= 0 && a[f] !== m[d]; )
267
+ d--;
268
+ for (; f >= 1 && d >= 0; f--, d--)
269
+ if (a[f] !== m[d]) {
270
+ if (f !== 1 || d !== 1)
270
271
  do
271
- if (l--, f--, f < 0 || a[l] !== v[f]) {
272
- var y = `
273
- ` + a[l].replace(" at new ", " at ");
274
- return e.displayName && y.includes("<anonymous>") && (y = y.replace("<anonymous>", e.displayName)), typeof e == "function" && M.set(e, y), y;
272
+ if (f--, d--, d < 0 || a[f] !== m[d]) {
273
+ var _ = `
274
+ ` + a[f].replace(" at new ", " at ");
275
+ return e.displayName && _.includes("<anonymous>") && (_ = _.replace("<anonymous>", e.displayName)), typeof e == "function" && B.set(e, _), _;
275
276
  }
276
- while (l >= 1 && f >= 0);
277
+ while (f >= 1 && d >= 0);
277
278
  break;
278
279
  }
279
280
  }
280
281
  } finally {
281
- K = !1, q.current = s, Ue(), Error.prepareStackTrace = o;
282
+ K = !1, J.current = u, Je(), Error.prepareStackTrace = o;
282
283
  }
283
- var F = e ? e.displayName || e.name : "", k = F ? N(F) : "";
284
- return typeof e == "function" && M.set(e, k), k;
284
+ var A = e ? e.displayName || e.name : "", P = A ? U(A) : "";
285
+ return typeof e == "function" && B.set(e, P), P;
285
286
  }
286
- function Je(e, r, t) {
287
- return pe(e, !1);
287
+ function Ke(e, r, t) {
288
+ return ge(e, !1);
288
289
  }
289
- function qe(e) {
290
+ function Xe(e) {
290
291
  var r = e.prototype;
291
292
  return !!(r && r.isReactComponent);
292
293
  }
293
- function U(e, r, t) {
294
+ function G(e, r, t) {
294
295
  if (e == null)
295
296
  return "";
296
297
  if (typeof e == "function")
297
- return pe(e, qe(e));
298
+ return ge(e, Xe(e));
298
299
  if (typeof e == "string")
299
- return N(e);
300
+ return U(e);
300
301
  switch (e) {
301
- case R:
302
- return N("Suspense");
303
- case c:
304
- return N("SuspenseList");
302
+ case j:
303
+ return U("Suspense");
304
+ case h:
305
+ return U("SuspenseList");
305
306
  }
306
307
  if (typeof e == "object")
307
308
  switch (e.$$typeof) {
308
- case u:
309
- return Je(e.render);
310
- case b:
311
- return U(e.type, r, t);
312
- case m: {
313
- var n = e, o = n._payload, s = n._init;
309
+ case c:
310
+ return Ke(e.render);
311
+ case x:
312
+ return G(e.type, r, t);
313
+ case T: {
314
+ var n = e, o = n._payload, u = n._init;
314
315
  try {
315
- return U(s(o), r, t);
316
+ return G(u(o), r, t);
316
317
  } catch {
317
318
  }
318
319
  }
319
320
  }
320
321
  return "";
321
322
  }
322
- var $ = Object.prototype.hasOwnProperty, ge = {}, he = D.ReactDebugCurrentFrame;
323
- function B(e) {
323
+ var L = Object.prototype.hasOwnProperty, me = {}, be = D.ReactDebugCurrentFrame;
324
+ function H(e) {
324
325
  if (e) {
325
- var r = e._owner, t = U(e.type, e._source, r ? r.type : null);
326
- he.setExtraStackFrame(t);
326
+ var r = e._owner, t = G(e.type, e._source, r ? r.type : null);
327
+ be.setExtraStackFrame(t);
327
328
  } else
328
- he.setExtraStackFrame(null);
329
+ be.setExtraStackFrame(null);
329
330
  }
330
- function Ge(e, r, t, n, o) {
331
+ function Ze(e, r, t, n, o) {
331
332
  {
332
- var s = Function.call.bind($);
333
+ var u = Function.call.bind(L);
333
334
  for (var i in e)
334
- if (s(e, i)) {
335
+ if (u(e, i)) {
335
336
  var a = void 0;
336
337
  try {
337
338
  if (typeof e[i] != "function") {
338
- var v = 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`.");
339
- throw v.name = "Invariant Violation", v;
339
+ var m = 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 m.name = "Invariant Violation", m;
340
341
  }
341
342
  a = e[i](r, i, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
342
- } catch (l) {
343
- a = l;
343
+ } catch (f) {
344
+ a = f;
344
345
  }
345
- a && !(a instanceof Error) && (B(o), d("%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), B(null)), a instanceof Error && !(a.message in ge) && (ge[a.message] = !0, B(o), d("Failed %s type: %s", t, a.message), B(null));
346
+ a && !(a instanceof Error) && (H(o), g("%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), H(null)), a instanceof Error && !(a.message in me) && (me[a.message] = !0, H(o), g("Failed %s type: %s", t, a.message), H(null));
346
347
  }
347
348
  }
348
349
  }
349
- var Ke = Array.isArray;
350
- function z(e) {
351
- return Ke(e);
350
+ var Qe = Array.isArray;
351
+ function X(e) {
352
+ return Qe(e);
352
353
  }
353
- function ze(e) {
354
+ function er(e) {
354
355
  {
355
356
  var r = typeof Symbol == "function" && Symbol.toStringTag, t = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
356
357
  return t;
357
358
  }
358
359
  }
359
- function He(e) {
360
+ function rr(e) {
360
361
  try {
361
- return be(e), !1;
362
+ return ye(e), !1;
362
363
  } catch {
363
364
  return !0;
364
365
  }
365
366
  }
366
- function be(e) {
367
+ function ye(e) {
367
368
  return "" + e;
368
369
  }
369
- function ye(e) {
370
- if (He(e))
371
- return d("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ze(e)), be(e);
370
+ function xe(e) {
371
+ if (rr(e))
372
+ return g("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", er(e)), ye(e);
372
373
  }
373
- var W = D.ReactCurrentOwner, Xe = {
374
+ var Y = D.ReactCurrentOwner, tr = {
374
375
  key: !0,
375
376
  ref: !0,
376
377
  __self: !0,
377
378
  __source: !0
378
- }, me, Ee, H;
379
- H = {};
380
- function Ze(e) {
381
- if ($.call(e, "ref")) {
379
+ }, _e, Ee, Z;
380
+ Z = {};
381
+ function nr(e) {
382
+ if (L.call(e, "ref")) {
382
383
  var r = Object.getOwnPropertyDescriptor(e, "ref").get;
383
384
  if (r && r.isReactWarning)
384
385
  return !1;
385
386
  }
386
387
  return e.ref !== void 0;
387
388
  }
388
- function Qe(e) {
389
- if ($.call(e, "key")) {
389
+ function ar(e) {
390
+ if (L.call(e, "key")) {
390
391
  var r = Object.getOwnPropertyDescriptor(e, "key").get;
391
392
  if (r && r.isReactWarning)
392
393
  return !1;
393
394
  }
394
395
  return e.key !== void 0;
395
396
  }
396
- function er(e, r) {
397
- if (typeof e.ref == "string" && W.current && r && W.current.stateNode !== r) {
398
- var t = E(W.current.type);
399
- H[t] || (d('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', E(W.current.type), e.ref), H[t] = !0);
397
+ function ir(e, r) {
398
+ if (typeof e.ref == "string" && Y.current && r && Y.current.stateNode !== r) {
399
+ var t = w(Y.current.type);
400
+ Z[t] || (g('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(Y.current.type), e.ref), Z[t] = !0);
400
401
  }
401
402
  }
402
- function rr(e, r) {
403
+ function or(e, r) {
403
404
  {
404
405
  var t = function() {
405
- me || (me = !0, d("%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, g("%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
407
  };
407
408
  t.isReactWarning = !0, Object.defineProperty(e, "key", {
408
409
  get: t,
@@ -410,10 +411,10 @@ function _r() {
410
411
  });
411
412
  }
412
413
  }
413
- function tr(e, r) {
414
+ function sr(e, r) {
414
415
  {
415
416
  var t = function() {
416
- Ee || (Ee = !0, d("%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
+ Ee || (Ee = !0, g("%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
418
  };
418
419
  t.isReactWarning = !0, Object.defineProperty(e, "ref", {
419
420
  get: t,
@@ -421,17 +422,17 @@ function _r() {
421
422
  });
422
423
  }
423
424
  }
424
- var nr = function(e, r, t, n, o, s, i) {
425
+ var lr = function(e, r, t, n, o, u, i) {
425
426
  var a = {
426
427
  // This tag allows us to uniquely identify this as a React Element
427
- $$typeof: g,
428
+ $$typeof: s,
428
429
  // Built-in properties that belong on the element
429
430
  type: e,
430
431
  key: r,
431
432
  ref: t,
432
433
  props: i,
433
434
  // Record the component responsible for creating this element.
434
- _owner: s
435
+ _owner: u
435
436
  };
436
437
  return a._store = {}, Object.defineProperty(a._store, "validated", {
437
438
  configurable: !1,
@@ -450,41 +451,41 @@ function _r() {
450
451
  value: o
451
452
  }), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
452
453
  };
453
- function ar(e, r, t, n, o) {
454
+ function ur(e, r, t, n, o) {
454
455
  {
455
- var s, i = {}, a = null, v = null;
456
- t !== void 0 && (ye(t), a = "" + t), Qe(r) && (ye(r.key), a = "" + r.key), Ze(r) && (v = r.ref, er(r, o));
457
- for (s in r)
458
- $.call(r, s) && !Xe.hasOwnProperty(s) && (i[s] = r[s]);
456
+ var u, i = {}, a = null, m = null;
457
+ t !== void 0 && (xe(t), a = "" + t), ar(r) && (xe(r.key), a = "" + r.key), nr(r) && (m = r.ref, ir(r, o));
458
+ for (u in r)
459
+ L.call(r, u) && !tr.hasOwnProperty(u) && (i[u] = r[u]);
459
460
  if (e && e.defaultProps) {
460
- var l = e.defaultProps;
461
- for (s in l)
462
- i[s] === void 0 && (i[s] = l[s]);
461
+ var f = e.defaultProps;
462
+ for (u in f)
463
+ i[u] === void 0 && (i[u] = f[u]);
463
464
  }
464
- if (a || v) {
465
- var f = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
466
- a && rr(i, f), v && tr(i, f);
465
+ if (a || m) {
466
+ var d = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
467
+ a && or(i, d), m && sr(i, d);
467
468
  }
468
- return nr(e, a, v, o, n, W.current, i);
469
+ return lr(e, a, m, o, n, Y.current, i);
469
470
  }
470
471
  }
471
- var X = D.ReactCurrentOwner, _e = D.ReactDebugCurrentFrame;
472
- function A(e) {
472
+ var Q = D.ReactCurrentOwner, Re = D.ReactDebugCurrentFrame;
473
+ function F(e) {
473
474
  if (e) {
474
- var r = e._owner, t = U(e.type, e._source, r ? r.type : null);
475
- _e.setExtraStackFrame(t);
475
+ var r = e._owner, t = G(e.type, e._source, r ? r.type : null);
476
+ Re.setExtraStackFrame(t);
476
477
  } else
477
- _e.setExtraStackFrame(null);
478
+ Re.setExtraStackFrame(null);
478
479
  }
479
- var Z;
480
- Z = !1;
481
- function Q(e) {
482
- return typeof e == "object" && e !== null && e.$$typeof === g;
480
+ var ee;
481
+ ee = !1;
482
+ function re(e) {
483
+ return typeof e == "object" && e !== null && e.$$typeof === s;
483
484
  }
484
- function Re() {
485
+ function Se() {
485
486
  {
486
- if (X.current) {
487
- var e = E(X.current.type);
487
+ if (Q.current) {
488
+ var e = w(Q.current.type);
488
489
  if (e)
489
490
  return `
490
491
 
@@ -493,7 +494,7 @@ Check the render method of \`` + e + "`.";
493
494
  return "";
494
495
  }
495
496
  }
496
- function ir(e) {
497
+ function cr(e) {
497
498
  {
498
499
  if (e !== void 0) {
499
500
  var r = e.fileName.replace(/^.*[\\\/]/, ""), t = e.lineNumber;
@@ -504,10 +505,10 @@ Check your code at ` + r + ":" + t + ".";
504
505
  return "";
505
506
  }
506
507
  }
507
- var Se = {};
508
- function or(e) {
508
+ var je = {};
509
+ function fr(e) {
509
510
  {
510
- var r = Re();
511
+ var r = Se();
511
512
  if (!r) {
512
513
  var t = typeof e == "string" ? e : e.displayName || e.name;
513
514
  t && (r = `
@@ -522,34 +523,34 @@ Check the top-level render call using <` + t + ">.");
522
523
  if (!e._store || e._store.validated || e.key != null)
523
524
  return;
524
525
  e._store.validated = !0;
525
- var t = or(r);
526
- if (Se[t])
526
+ var t = fr(r);
527
+ if (je[t])
527
528
  return;
528
- Se[t] = !0;
529
+ je[t] = !0;
529
530
  var n = "";
530
- e && e._owner && e._owner !== X.current && (n = " It was passed a child from " + E(e._owner.type) + "."), A(e), d('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), A(null);
531
+ e && e._owner && e._owner !== Q.current && (n = " It was passed a child from " + w(e._owner.type) + "."), F(e), g('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);
531
532
  }
532
533
  }
533
- function xe(e, r) {
534
+ function we(e, r) {
534
535
  {
535
536
  if (typeof e != "object")
536
537
  return;
537
- if (z(e))
538
+ if (X(e))
538
539
  for (var t = 0; t < e.length; t++) {
539
540
  var n = e[t];
540
- Q(n) && Te(n, r);
541
+ re(n) && Te(n, r);
541
542
  }
542
- else if (Q(e))
543
+ else if (re(e))
543
544
  e._store && (e._store.validated = !0);
544
545
  else if (e) {
545
- var o = Ae(e);
546
+ var o = Le(e);
546
547
  if (typeof o == "function" && o !== e.entries)
547
- for (var s = o.call(e), i; !(i = s.next()).done; )
548
- Q(i.value) && Te(i.value, r);
548
+ for (var u = o.call(e), i; !(i = u.next()).done; )
549
+ re(i.value) && Te(i.value, r);
549
550
  }
550
551
  }
551
552
  }
552
- function sr(e) {
553
+ function dr(e) {
553
554
  {
554
555
  var r = e.type;
555
556
  if (r == null || typeof r == "string")
@@ -557,99 +558,99 @@ Check the top-level render call using <` + t + ">.");
557
558
  var t;
558
559
  if (typeof r == "function")
559
560
  t = r.propTypes;
560
- else if (typeof r == "object" && (r.$$typeof === u || // Note: Memo only checks outer props here.
561
+ else if (typeof r == "object" && (r.$$typeof === c || // Note: Memo only checks outer props here.
561
562
  // Inner props are checked in the reconciler.
562
- r.$$typeof === b))
563
+ r.$$typeof === x))
563
564
  t = r.propTypes;
564
565
  else
565
566
  return;
566
567
  if (t) {
567
- var n = E(r);
568
- Ge(t, e.props, "prop", n, e);
569
- } else if (r.PropTypes !== void 0 && !Z) {
570
- Z = !0;
571
- var o = E(r);
572
- d("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", o || "Unknown");
568
+ var n = w(r);
569
+ Ze(t, e.props, "prop", n, e);
570
+ } else if (r.PropTypes !== void 0 && !ee) {
571
+ ee = !0;
572
+ var o = w(r);
573
+ g("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", o || "Unknown");
573
574
  }
574
- typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && d("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
575
+ typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && g("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
575
576
  }
576
577
  }
577
- function ur(e) {
578
+ function pr(e) {
578
579
  {
579
580
  for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
580
581
  var n = r[t];
581
582
  if (n !== "children" && n !== "key") {
582
- A(e), d("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), A(null);
583
+ F(e), g("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), F(null);
583
584
  break;
584
585
  }
585
586
  }
586
- e.ref !== null && (A(e), d("Invalid attribute `ref` supplied to `React.Fragment`."), A(null));
587
+ e.ref !== null && (F(e), g("Invalid attribute `ref` supplied to `React.Fragment`."), F(null));
587
588
  }
588
589
  }
589
- var we = {};
590
- function Ce(e, r, t, n, o, s) {
590
+ var Ce = {};
591
+ function ke(e, r, t, n, o, u) {
591
592
  {
592
- var i = Ve(e);
593
+ var i = Be(e);
593
594
  if (!i) {
594
595
  var a = "";
595
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.");
596
- var v = ir(o);
597
- v ? a += v : a += Re();
598
- var l;
599
- e === null ? l = "null" : z(e) ? l = "array" : e !== void 0 && e.$$typeof === g ? (l = "<" + (E(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : l = typeof e, d("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", l, a);
597
+ var m = cr(o);
598
+ m ? a += m : a += Se();
599
+ var f;
600
+ e === null ? f = "null" : X(e) ? f = "array" : e !== void 0 && e.$$typeof === s ? (f = "<" + (w(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : f = typeof e, g("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);
600
601
  }
601
- var f = ar(e, r, t, o, s);
602
- if (f == null)
603
- return f;
602
+ var d = ur(e, r, t, o, u);
603
+ if (d == null)
604
+ return d;
604
605
  if (i) {
605
- var y = r.children;
606
- if (y !== void 0)
606
+ var _ = r.children;
607
+ if (_ !== void 0)
607
608
  if (n)
608
- if (z(y)) {
609
- for (var F = 0; F < y.length; F++)
610
- xe(y[F], e);
611
- Object.freeze && Object.freeze(y);
609
+ if (X(_)) {
610
+ for (var A = 0; A < _.length; A++)
611
+ we(_[A], e);
612
+ Object.freeze && Object.freeze(_);
612
613
  } else
613
- d("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
+ g("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
615
  else
615
- xe(y, e);
616
+ we(_, e);
616
617
  }
617
- if ($.call(r, "key")) {
618
- var k = E(e), p = Object.keys(r).filter(function(pr) {
619
- return pr !== "key";
620
- }), ee = p.length > 0 ? "{key: someKey, " + p.join(": ..., ") + ": ...}" : "{key: someKey}";
621
- if (!we[k + ee]) {
622
- var vr = p.length > 0 ? "{" + p.join(": ..., ") + ": ...}" : "{}";
623
- d(`A props object containing a "key" prop is being spread into JSX:
618
+ if (L.call(r, "key")) {
619
+ var P = w(e), y = Object.keys(r).filter(function(yr) {
620
+ return yr !== "key";
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
+ g(`A props object containing a "key" prop is being spread into JSX:
624
625
  let props = %s;
625
626
  <%s {...props} />
626
627
  React keys must be passed directly to JSX without using spread:
627
628
  let props = %s;
628
- <%s key={someKey} {...props} />`, ee, k, vr, k), we[k + ee] = !0;
629
+ <%s key={someKey} {...props} />`, te, P, br, P), Ce[P + te] = !0;
629
630
  }
630
631
  }
631
- return e === h ? ur(f) : sr(f), f;
632
+ return e === b ? pr(d) : dr(d), d;
632
633
  }
633
634
  }
634
- function lr(e, r, t) {
635
- return Ce(e, r, t, !0);
635
+ function vr(e, r, t) {
636
+ return ke(e, r, t, !0);
636
637
  }
637
- function fr(e, r, t) {
638
- return Ce(e, r, t, !1);
638
+ function hr(e, r, t) {
639
+ return ke(e, r, t, !1);
639
640
  }
640
- var cr = fr, dr = lr;
641
- L.Fragment = h, L.jsx = cr, L.jsxs = dr;
642
- }()), L;
641
+ var gr = hr, mr = vr;
642
+ M.Fragment = b, M.jsx = gr, M.jsxs = mr;
643
+ }()), M;
643
644
  }
644
- process.env.NODE_ENV === "production" ? te.exports = Er() : te.exports = _r();
645
- var S = te.exports;
646
- function wr({
647
- title: _,
648
- subtitle: g,
649
- children: T
645
+ process.env.NODE_ENV === "production" ? ae.exports = wr() : ae.exports = Cr();
646
+ var l = ae.exports;
647
+ function Fr({
648
+ title: p,
649
+ subtitle: s,
650
+ children: v
650
651
  }) {
651
- return /* @__PURE__ */ S.jsxs(
652
- gr,
652
+ return /* @__PURE__ */ l.jsxs(
653
+ V,
653
654
  {
654
655
  flexDirection: "column",
655
656
  border: "1px solid",
@@ -657,70 +658,70 @@ function wr({
657
658
  padding: "8",
658
659
  alignItems: "center",
659
660
  children: [
660
- /* @__PURE__ */ S.jsx(
661
+ /* @__PURE__ */ l.jsx(
661
662
  Oe,
662
- { as: "h3", marginBottom: "10", children: _ }
663
+ { as: "h3", marginBottom: "10", children: p }
663
664
  ),
664
- /* @__PURE__ */ S.jsx(
665
+ /* @__PURE__ */ l.jsx(
665
666
  Oe,
666
- { as: "h4", marginBottom: "4", fontSize: "xl", children: g }
667
+ { as: "h4", marginBottom: "4", fontSize: "xl", children: s }
667
668
  ),
668
- T
669
+ v
669
670
  ]
670
671
  }
671
672
  );
672
673
  }
673
- const re = 60, ke = 6, Rr = (_) => {
674
+ const ne = 60, De = 6, kr = (p) => {
674
675
  const {
675
- activeStepIndex: g,
676
- hideIndicators: T = !1,
677
- steps: h,
678
- stepperTheme: j = {
676
+ activeStepIndex: s,
677
+ hideIndicators: v = !1,
678
+ steps: b,
679
+ stepperTheme: C = {
679
680
  light: "eggplant.light",
680
681
  base: "eggplant.base"
681
682
  }
682
- } = _, { activeStep: x, setActiveStep: w } = hr({
683
- index: g,
684
- count: h.length
683
+ } = p, { activeStep: E, setActiveStep: S } = xr({
684
+ index: s,
685
+ count: b.length
685
686
  });
686
- return yr(() => {
687
- w(g);
688
- }, [g, w]), /* @__PURE__ */ S.jsx(
689
- J,
690
- { position: "relative", width: "100%", "data-testid": "stepper", children: /* @__PURE__ */ S.jsx(
691
- br,
687
+ return jr(() => {
688
+ S(s);
689
+ }, [s, S]), /* @__PURE__ */ l.jsx(
690
+ I,
691
+ { position: "relative", width: "100%", "data-testid": "stepper", children: /* @__PURE__ */ l.jsx(
692
+ _r,
692
693
  {
693
694
  role: "progressbar",
694
- index: x,
695
+ index: E,
695
696
  width: "100%",
696
697
  display: "flex",
697
698
  flexWrap: "nowrap",
698
- children: h.map((C, u) => {
699
- const R = x === u, c = u === 0, b = u === h.length - 1, m = x > u;
700
- let O = `${re}px`;
701
- const V = `calc(100% - ((${re * (h.length - 1)}px) - (${h.length - 1} * ${ke * 2}px)))`;
702
- return R ? O = V : (c || b) && (O = `${re - ke}px`), /* @__PURE__ */ S.jsx(
703
- J,
699
+ children: b.map((R, c) => {
700
+ const j = E === c, h = c === 0, x = c === b.length - 1, T = E > c;
701
+ let k = `${ne}px`;
702
+ const z = `calc(100% - ((${ne * (b.length - 1)}px) - (${b.length - 1} * ${De * 2}px)))`;
703
+ return j ? k = z : (h || x) && (k = `${ne - De}px`), /* @__PURE__ */ l.jsx(
704
+ I,
704
705
  {
705
- width: O,
706
- opacity: m || R ? 1 : 0.2,
707
- paddingRight: b ? "0" : "6px",
708
- paddingLeft: c ? "0" : "6px",
706
+ width: k,
707
+ opacity: T || j ? 1 : 0.2,
708
+ paddingRight: x ? "0" : "6px",
709
+ paddingLeft: h ? "0" : "6px",
709
710
  transition: "width 0.4s ease-in-out, opacity 0.4s ease-in-out",
710
- children: /* @__PURE__ */ S.jsx(
711
- J,
711
+ children: /* @__PURE__ */ l.jsx(
712
+ I,
712
713
  {
713
- paddingTop: T ? 2 : 5,
714
+ paddingTop: v ? 2 : 5,
714
715
  position: "relative",
715
716
  width: "100%",
716
- children: /* @__PURE__ */ S.jsx(
717
- J,
717
+ children: /* @__PURE__ */ l.jsx(
718
+ I,
718
719
  {
719
720
  width: "100%",
720
721
  position: "absolute",
721
722
  top: "0",
722
- backgroundColor: m ? j.light : j.base,
723
- height: T ? "4px" : "8px",
723
+ backgroundColor: T ? C.light : C.base,
724
+ height: v ? "4px" : "8px",
724
725
  borderRadius: "4",
725
726
  left: "0"
726
727
  }
@@ -728,21 +729,234 @@ const re = 60, ke = 6, Rr = (_) => {
728
729
  }
729
730
  )
730
731
  },
731
- `step-${u}`
732
+ `step-${c}`
732
733
  );
733
734
  })
734
735
  }
735
736
  ) }
736
737
  );
737
- }, Cr = ne.memo(Rr), Or = ({
738
- children: _,
739
- ...g
740
- }) => /* @__PURE__ */ S.jsx(
741
- mr,
742
- { color: "tints.uiGrey", fontSize: ["md", null, "lg"], ...g, children: _ }
743
- );
738
+ }, Ar = ie.memo(kr), Wr = ({
739
+ children: p,
740
+ ...s
741
+ }) => /* @__PURE__ */ l.jsx(
742
+ Tr,
743
+ { color: "tints.uiGrey", fontSize: ["md", null, "lg"], ...s, children: p }
744
+ ), $r = ({
745
+ label: p,
746
+ additionalContent: s,
747
+ ...v
748
+ }) => /* @__PURE__ */ l.jsxs(
749
+ Fe,
750
+ {
751
+ display: "flex",
752
+ alignItems: "center",
753
+ gap: 2,
754
+ color: "tints.black",
755
+ _hover: { color: "viridian.base", textDecoration: "none" },
756
+ ...v,
757
+ children: [
758
+ /* @__PURE__ */ l.jsx(
759
+ Ae,
760
+ {
761
+ as: We,
762
+ fontSize: "lg",
763
+ color: "viridian.light",
764
+ role: "img",
765
+ "aria-label": "Caret right icon",
766
+ weight: "bold"
767
+ }
768
+ ),
769
+ /* @__PURE__ */ l.jsxs(
770
+ V,
771
+ { alignItems: "center", gap: 1, children: [
772
+ /* @__PURE__ */ l.jsx(
773
+ W,
774
+ { fontSize: "lg", fontWeight: "medium", children: p }
775
+ ),
776
+ s && (typeof s == "string" ? /* @__PURE__ */ l.jsx(
777
+ W,
778
+ {
779
+ fontSize: "lg",
780
+ fontWeight: "medium",
781
+ color: "tints.uiGrey",
782
+ sx: {
783
+ "a:hover &": {
784
+ color: "viridian.base"
785
+ }
786
+ },
787
+ children: s
788
+ }
789
+ ) : s)
790
+ ] }
791
+ )
792
+ ]
793
+ }
794
+ ), Lr = ({ children: p, ...s }) => /* @__PURE__ */ l.jsx(
795
+ Er,
796
+ {
797
+ as: "nav",
798
+ width: "100%",
799
+ ...s,
800
+ children: p
801
+ }
802
+ ), Yr = ({
803
+ label: p,
804
+ additionalContent: s,
805
+ ...v
806
+ }) => /* @__PURE__ */ l.jsx(
807
+ Fe,
808
+ {
809
+ display: "flex",
810
+ alignItems: "center",
811
+ justifyContent: "space-between",
812
+ paddingY: 3,
813
+ color: "tints.black",
814
+ _hover: { color: "viridian.base", textDecoration: "none" },
815
+ borderBottom: "1px",
816
+ borderColor: "tints.cream",
817
+ ...v,
818
+ children: /* @__PURE__ */ l.jsxs(
819
+ V,
820
+ { alignItems: "center", gap: 1, width: "100%", children: [
821
+ /* @__PURE__ */ l.jsx(
822
+ W,
823
+ { fontWeight: "medium", fontSize: "xl", children: p }
824
+ ),
825
+ s && (typeof s == "string" ? /* @__PURE__ */ l.jsx(
826
+ W,
827
+ {
828
+ fontSize: "xl",
829
+ fontWeight: "medium",
830
+ color: "tints.uiGrey",
831
+ sx: {
832
+ "a:hover &": {
833
+ color: "viridian.base"
834
+ }
835
+ },
836
+ children: s
837
+ }
838
+ ) : s),
839
+ /* @__PURE__ */ l.jsx(
840
+ Ae,
841
+ {
842
+ as: We,
843
+ fontSize: "2xl",
844
+ color: "tints.uiGrey",
845
+ role: "img",
846
+ "aria-label": "Caret right icon",
847
+ marginLeft: "auto"
848
+ }
849
+ )
850
+ ] }
851
+ )
852
+ }
853
+ ), Nr = ({
854
+ children: p,
855
+ isSelected: s,
856
+ ...v
857
+ }) => /* @__PURE__ */ l.jsx(
858
+ Rr,
859
+ {
860
+ display: "flex",
861
+ alignItems: "center",
862
+ justifyContent: "center",
863
+ borderRadius: "full",
864
+ backgroundColor: s ? "tints.lightCream" : "transparent",
865
+ fontSize: "lg",
866
+ fontWeight: "normal",
867
+ color: "tints.black",
868
+ _hover: {
869
+ backgroundColor: "tints.lightCream",
870
+ textDecoration: "none"
871
+ },
872
+ ...v,
873
+ children: p
874
+ }
875
+ ), Mr = ({
876
+ title: p,
877
+ description: s,
878
+ imageSrc: v,
879
+ imageElement: b,
880
+ button: C,
881
+ backgroundColor: E = "viridian.wash",
882
+ onClick: S
883
+ }) => {
884
+ const R = "80px";
885
+ return /* @__PURE__ */ l.jsxs(
886
+ V,
887
+ {
888
+ direction: ["row", null, "column"],
889
+ alignItems: ["center"],
890
+ borderRadius: "xl",
891
+ overflow: "hidden",
892
+ minHeight: [R, null, "272px"],
893
+ backgroundColor: E,
894
+ onClick: S,
895
+ "data-testid": "spotlight-card",
896
+ position: "relative",
897
+ transition: "box-shadow 0.2s ease-in-out",
898
+ _hover: {
899
+ boxShadow: "lg",
900
+ cursor: "pointer"
901
+ },
902
+ children: [
903
+ /* @__PURE__ */ l.jsx(
904
+ I,
905
+ {
906
+ width: ["72px", null, "100%"],
907
+ height: ["100%"],
908
+ flex: [null, null, "1"],
909
+ children: v ? /* @__PURE__ */ l.jsx(
910
+ Sr,
911
+ {
912
+ src: v,
913
+ objectFit: "cover",
914
+ height: [R, null, "200px"],
915
+ width: "100%",
916
+ alt: ""
917
+ }
918
+ ) : b
919
+ }
920
+ ),
921
+ /* @__PURE__ */ l.jsxs(
922
+ V,
923
+ {
924
+ direction: ["column", null, "row"],
925
+ justifyContent: [null, null, "space-between"],
926
+ alignItems: ["left", null, "center"],
927
+ padding: "4",
928
+ height: ["100%", null, "auto"],
929
+ width: "100%",
930
+ position: [null, null, "absolute"],
931
+ bottom: [null, null, "0"],
932
+ backgroundColor: [null, null, `${E}CC`],
933
+ backdropFilter: [null, null, "blur(8px)"],
934
+ children: [
935
+ /* @__PURE__ */ l.jsxs(
936
+ I,
937
+ { children: [
938
+ /* @__PURE__ */ l.jsx(
939
+ W,
940
+ { fontSize: "lg", fontWeight: "medium", children: p }
941
+ ),
942
+ /* @__PURE__ */ l.jsx(W, { fontSize: "sm", children: s })
943
+ ] }
944
+ ),
945
+ /* @__PURE__ */ l.jsx(I, { display: ["none", null, "block"], children: C })
946
+ ]
947
+ }
948
+ )
949
+ ]
950
+ }
951
+ );
952
+ };
744
953
  export {
745
- Or as CategoryLabel,
746
- Cr as Stepper,
747
- wr as TemporaryCard
954
+ Wr as CategoryLabel,
955
+ $r as DesktopNavLink,
956
+ Lr as MobileNavItems,
957
+ Yr as MobileNavLink,
958
+ Nr as NavButton,
959
+ Mr as SpotlightCard,
960
+ Ar as Stepper,
961
+ Fr as TemporaryCard
748
962
  };