@everlywell/consumer-ui 1.23.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.
- package/index.d.mts +1 -1
- package/index.d.ts +1 -1
- package/index.d.ts.map +1 -1
- package/index.js +10 -10
- package/index.mjs +312 -303
- package/lib/components/Navbar/NavSkeleton/NavSkeleton.d.ts +20 -0
- package/lib/components/Navbar/NavSkeleton/NavSkeleton.d.ts.map +1 -0
- package/lib/components/Navbar/NavSkeleton/NavSkeleton.stories.d.ts +10 -0
- package/lib/components/Navbar/NavSkeleton/NavSkeleton.stories.d.ts.map +1 -0
- package/lib/components/Navbar/NavSkeleton/index.d.ts +3 -0
- package/lib/components/Navbar/NavSkeleton/index.d.ts.map +1 -0
- package/package.json +1 -1
- package/lib/components/TemporaryCard/TemporaryCard.d.ts +0 -20
- package/lib/components/TemporaryCard/TemporaryCard.d.ts.map +0 -1
- package/lib/components/TemporaryCard/TemporaryCard.stories.d.ts +0 -8
- package/lib/components/TemporaryCard/TemporaryCard.stories.d.ts.map +0 -1
- package/lib/components/TemporaryCard/index.d.ts +0 -3
- package/lib/components/TemporaryCard/index.d.ts.map +0 -1
package/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import { Text as
|
|
4
|
-
import { CaretRight as
|
|
5
|
-
var
|
|
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 ae = { 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
|
|
16
|
-
function
|
|
17
|
-
if (
|
|
15
|
+
var He;
|
|
16
|
+
function Fr() {
|
|
17
|
+
if (He)
|
|
18
18
|
return V;
|
|
19
|
-
|
|
20
|
-
var c =
|
|
21
|
-
function
|
|
22
|
-
var
|
|
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 (
|
|
25
|
-
h.call(f,
|
|
26
|
-
if (
|
|
27
|
-
for (
|
|
28
|
-
|
|
29
|
-
return { $$typeof: s, type:
|
|
24
|
+
for (x in f)
|
|
25
|
+
h.call(f, x) && !g.hasOwnProperty(x) && (_[x] = f[x]);
|
|
26
|
+
if (y && y.defaultProps)
|
|
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 =
|
|
31
|
+
return V.Fragment = v, V.jsx = R, V.jsxs = R, V;
|
|
32
32
|
}
|
|
33
33
|
var M = {};
|
|
34
34
|
/**
|
|
@@ -40,25 +40,25 @@ 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
|
|
44
|
-
function
|
|
45
|
-
return
|
|
46
|
-
var c =
|
|
47
|
-
function
|
|
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[
|
|
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
|
|
54
|
+
function b(e) {
|
|
55
55
|
{
|
|
56
56
|
for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++)
|
|
57
57
|
t[i - 1] = arguments[i];
|
|
58
|
-
|
|
58
|
+
Ye("error", e, t);
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
|
-
function
|
|
61
|
+
function Ye(e, r, t) {
|
|
62
62
|
{
|
|
63
63
|
var i = D.ReactDebugCurrentFrame, l = i.getStackAddendum();
|
|
64
64
|
l !== "" && (r += "%s", t = t.concat([l]));
|
|
@@ -68,29 +68,29 @@ function Ir() {
|
|
|
68
68
|
u.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, u);
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
|
-
var
|
|
72
|
-
|
|
73
|
-
function
|
|
74
|
-
return !!(typeof e == "string" || typeof e == "function" || e === h || e === g ||
|
|
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 ===
|
|
78
|
+
e.$$typeof === fe || e.getModuleId !== void 0));
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function Je(e, r, t) {
|
|
81
81
|
var i = e.displayName;
|
|
82
82
|
if (i)
|
|
83
83
|
return i;
|
|
84
84
|
var l = r.displayName || r.name || "";
|
|
85
85
|
return l !== "" ? t + "(" + l + ")" : t;
|
|
86
86
|
}
|
|
87
|
-
function
|
|
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" &&
|
|
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;
|
|
@@ -101,24 +101,24 @@ function Ir() {
|
|
|
101
101
|
return "Portal";
|
|
102
102
|
case g:
|
|
103
103
|
return "Profiler";
|
|
104
|
-
case
|
|
104
|
+
case E:
|
|
105
105
|
return "StrictMode";
|
|
106
106
|
case S:
|
|
107
107
|
return "Suspense";
|
|
108
|
-
case
|
|
108
|
+
case x:
|
|
109
109
|
return "SuspenseList";
|
|
110
110
|
}
|
|
111
111
|
if (typeof e == "object")
|
|
112
112
|
switch (e.$$typeof) {
|
|
113
|
-
case
|
|
113
|
+
case y:
|
|
114
114
|
var r = e;
|
|
115
|
-
return
|
|
116
|
-
case
|
|
115
|
+
return de(r) + ".Consumer";
|
|
116
|
+
case R:
|
|
117
117
|
var t = e;
|
|
118
|
-
return
|
|
118
|
+
return de(t._context) + ".Provider";
|
|
119
119
|
case f:
|
|
120
|
-
return
|
|
121
|
-
case
|
|
120
|
+
return Je(e, e.render, "ForwardRef");
|
|
121
|
+
case _:
|
|
122
122
|
var i = e.displayName || null;
|
|
123
123
|
return i !== null ? i : k(e.type) || "Memo";
|
|
124
124
|
case T: {
|
|
@@ -132,18 +132,18 @@ function Ir() {
|
|
|
132
132
|
}
|
|
133
133
|
return null;
|
|
134
134
|
}
|
|
135
|
-
var L = Object.assign, H = 0,
|
|
136
|
-
function
|
|
135
|
+
var L = Object.assign, H = 0, pe, he, ve, ge, xe, be, me;
|
|
136
|
+
function Ce() {
|
|
137
137
|
}
|
|
138
|
-
|
|
139
|
-
function
|
|
138
|
+
Ce.__reactDisabledLog = !0;
|
|
139
|
+
function qe() {
|
|
140
140
|
{
|
|
141
141
|
if (H === 0) {
|
|
142
|
-
|
|
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:
|
|
146
|
+
value: Ce,
|
|
147
147
|
writable: !0
|
|
148
148
|
};
|
|
149
149
|
Object.defineProperties(console, {
|
|
@@ -159,7 +159,7 @@ function Ir() {
|
|
|
159
159
|
H++;
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
|
-
function
|
|
162
|
+
function Ke() {
|
|
163
163
|
{
|
|
164
164
|
if (H--, H === 0) {
|
|
165
165
|
var e = {
|
|
@@ -169,52 +169,52 @@ function Ir() {
|
|
|
169
169
|
};
|
|
170
170
|
Object.defineProperties(console, {
|
|
171
171
|
log: L({}, e, {
|
|
172
|
-
value:
|
|
172
|
+
value: pe
|
|
173
173
|
}),
|
|
174
174
|
info: L({}, e, {
|
|
175
|
-
value:
|
|
175
|
+
value: he
|
|
176
176
|
}),
|
|
177
177
|
warn: L({}, e, {
|
|
178
|
-
value:
|
|
178
|
+
value: ve
|
|
179
179
|
}),
|
|
180
180
|
error: L({}, e, {
|
|
181
|
-
value:
|
|
181
|
+
value: ge
|
|
182
182
|
}),
|
|
183
183
|
group: L({}, e, {
|
|
184
|
-
value:
|
|
184
|
+
value: xe
|
|
185
185
|
}),
|
|
186
186
|
groupCollapsed: L({}, e, {
|
|
187
|
-
value:
|
|
187
|
+
value: be
|
|
188
188
|
}),
|
|
189
189
|
groupEnd: L({}, e, {
|
|
190
|
-
value:
|
|
190
|
+
value: me
|
|
191
191
|
})
|
|
192
192
|
});
|
|
193
193
|
}
|
|
194
|
-
H < 0 &&
|
|
194
|
+
H < 0 && b("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
|
-
var
|
|
197
|
+
var J = D.ReactCurrentDispatcher, q;
|
|
198
198
|
function B(e, r, t) {
|
|
199
199
|
{
|
|
200
|
-
if (
|
|
200
|
+
if (q === void 0)
|
|
201
201
|
try {
|
|
202
202
|
throw Error();
|
|
203
203
|
} catch (l) {
|
|
204
204
|
var i = l.stack.trim().match(/\n( *(at )?)/);
|
|
205
|
-
|
|
205
|
+
q = i && i[1] || "";
|
|
206
206
|
}
|
|
207
207
|
return `
|
|
208
|
-
` +
|
|
208
|
+
` + q + e;
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
|
-
var
|
|
211
|
+
var K = !1, N;
|
|
212
212
|
{
|
|
213
|
-
var
|
|
214
|
-
N = new
|
|
213
|
+
var Xe = typeof WeakMap == "function" ? WeakMap : Map;
|
|
214
|
+
N = new Xe();
|
|
215
215
|
}
|
|
216
|
-
function
|
|
217
|
-
if (!e ||
|
|
216
|
+
function ye(e, r) {
|
|
217
|
+
if (!e || K)
|
|
218
218
|
return "";
|
|
219
219
|
{
|
|
220
220
|
var t = N.get(e);
|
|
@@ -222,11 +222,11 @@ function Ir() {
|
|
|
222
222
|
return t;
|
|
223
223
|
}
|
|
224
224
|
var i;
|
|
225
|
-
|
|
225
|
+
K = !0;
|
|
226
226
|
var l = Error.prepareStackTrace;
|
|
227
227
|
Error.prepareStackTrace = void 0;
|
|
228
228
|
var u;
|
|
229
|
-
u =
|
|
229
|
+
u = J.current, J.current = null, qe();
|
|
230
230
|
try {
|
|
231
231
|
if (r) {
|
|
232
232
|
var o = function() {
|
|
@@ -239,37 +239,37 @@ function Ir() {
|
|
|
239
239
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
240
240
|
try {
|
|
241
241
|
Reflect.construct(o, []);
|
|
242
|
-
} catch (
|
|
243
|
-
i =
|
|
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 (
|
|
250
|
-
i =
|
|
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 (
|
|
258
|
-
i =
|
|
257
|
+
} catch (j) {
|
|
258
|
+
i = j;
|
|
259
259
|
}
|
|
260
260
|
e();
|
|
261
261
|
}
|
|
262
|
-
} catch (
|
|
263
|
-
if (
|
|
264
|
-
for (var a =
|
|
265
|
-
`),
|
|
266
|
-
`), d = a.length - 1, 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 (a[d] !==
|
|
269
|
+
if (a[d] !== m[p]) {
|
|
270
270
|
if (d !== 1 || p !== 1)
|
|
271
271
|
do
|
|
272
|
-
if (d--, p--, p < 0 || a[d] !==
|
|
272
|
+
if (d--, p--, p < 0 || a[d] !== m[p]) {
|
|
273
273
|
var w = `
|
|
274
274
|
` + a[d].replace(" at new ", " at ");
|
|
275
275
|
return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" && N.set(e, w), w;
|
|
@@ -279,56 +279,56 @@ function Ir() {
|
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
281
|
} finally {
|
|
282
|
-
|
|
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
|
|
288
|
-
return
|
|
287
|
+
function Qe(e, r, t) {
|
|
288
|
+
return ye(e, !1);
|
|
289
289
|
}
|
|
290
|
-
function
|
|
290
|
+
function er(e) {
|
|
291
291
|
var r = e.prototype;
|
|
292
292
|
return !!(r && r.isReactComponent);
|
|
293
293
|
}
|
|
294
|
-
function
|
|
294
|
+
function U(e, r, t) {
|
|
295
295
|
if (e == null)
|
|
296
296
|
return "";
|
|
297
297
|
if (typeof e == "function")
|
|
298
|
-
return
|
|
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
|
|
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
|
|
311
|
-
case
|
|
312
|
-
return
|
|
310
|
+
return Qe(e.render);
|
|
311
|
+
case _:
|
|
312
|
+
return U(e.type, r, t);
|
|
313
313
|
case T: {
|
|
314
314
|
var i = e, l = i._payload, u = i._init;
|
|
315
315
|
try {
|
|
316
|
-
return
|
|
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,
|
|
324
|
-
function
|
|
323
|
+
var W = Object.prototype.hasOwnProperty, je = {}, Ee = D.ReactDebugCurrentFrame;
|
|
324
|
+
function z(e) {
|
|
325
325
|
if (e) {
|
|
326
|
-
var r = e._owner, t =
|
|
327
|
-
|
|
326
|
+
var r = e._owner, t = U(e.type, e._source, r ? r.type : null);
|
|
327
|
+
Ee.setExtraStackFrame(t);
|
|
328
328
|
} else
|
|
329
|
-
|
|
329
|
+
Ee.setExtraStackFrame(null);
|
|
330
330
|
}
|
|
331
|
-
function
|
|
331
|
+
function rr(e, r, t, i, l) {
|
|
332
332
|
{
|
|
333
333
|
var u = Function.call.bind(W);
|
|
334
334
|
for (var o in e)
|
|
@@ -336,49 +336,49 @@ function Ir() {
|
|
|
336
336
|
var a = void 0;
|
|
337
337
|
try {
|
|
338
338
|
if (typeof e[o] != "function") {
|
|
339
|
-
var
|
|
340
|
-
throw
|
|
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
342
|
a = e[o](r, o, i, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
343
343
|
} catch (d) {
|
|
344
344
|
a = d;
|
|
345
345
|
}
|
|
346
|
-
a && !(a instanceof Error) && (
|
|
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
|
|
351
|
-
function
|
|
352
|
-
return
|
|
350
|
+
var tr = Array.isArray;
|
|
351
|
+
function X(e) {
|
|
352
|
+
return tr(e);
|
|
353
353
|
}
|
|
354
|
-
function
|
|
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
|
|
360
|
+
function ir(e) {
|
|
361
361
|
try {
|
|
362
|
-
return
|
|
362
|
+
return Re(e), !1;
|
|
363
363
|
} catch {
|
|
364
364
|
return !0;
|
|
365
365
|
}
|
|
366
366
|
}
|
|
367
|
-
function
|
|
367
|
+
function Re(e) {
|
|
368
368
|
return "" + e;
|
|
369
369
|
}
|
|
370
|
-
function
|
|
371
|
-
if (
|
|
372
|
-
return
|
|
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,
|
|
374
|
+
var $ = D.ReactCurrentOwner, ar = {
|
|
375
375
|
key: !0,
|
|
376
376
|
ref: !0,
|
|
377
377
|
__self: !0,
|
|
378
378
|
__source: !0
|
|
379
|
-
},
|
|
380
|
-
|
|
381
|
-
function
|
|
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 Ir() {
|
|
|
386
386
|
}
|
|
387
387
|
return e.ref !== void 0;
|
|
388
388
|
}
|
|
389
|
-
function
|
|
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 Ir() {
|
|
|
394
394
|
}
|
|
395
395
|
return e.key !== void 0;
|
|
396
396
|
}
|
|
397
|
-
function
|
|
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
|
-
|
|
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
|
|
403
|
+
function ur(e, r) {
|
|
404
404
|
{
|
|
405
405
|
var t = function() {
|
|
406
|
-
|
|
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 Ir() {
|
|
|
411
411
|
});
|
|
412
412
|
}
|
|
413
413
|
}
|
|
414
|
-
function
|
|
414
|
+
function cr(e, r) {
|
|
415
415
|
{
|
|
416
416
|
var t = function() {
|
|
417
|
-
|
|
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,7 +422,7 @@ function Ir() {
|
|
|
422
422
|
});
|
|
423
423
|
}
|
|
424
424
|
}
|
|
425
|
-
var
|
|
425
|
+
var fr = function(e, r, t, i, l, u, o) {
|
|
426
426
|
var a = {
|
|
427
427
|
// This tag allows us to uniquely identify this as a React Element
|
|
428
428
|
$$typeof: s,
|
|
@@ -451,41 +451,41 @@ function Ir() {
|
|
|
451
451
|
value: l
|
|
452
452
|
}), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
|
|
453
453
|
};
|
|
454
|
-
function
|
|
454
|
+
function dr(e, r, t, i, l) {
|
|
455
455
|
{
|
|
456
|
-
var u, o = {}, a = null,
|
|
457
|
-
t !== void 0 && (
|
|
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
458
|
for (u in r)
|
|
459
|
-
W.call(r, u) && !
|
|
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
462
|
for (u in d)
|
|
463
463
|
o[u] === void 0 && (o[u] = d[u]);
|
|
464
464
|
}
|
|
465
|
-
if (a ||
|
|
465
|
+
if (a || m) {
|
|
466
466
|
var p = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
467
|
-
a &&
|
|
467
|
+
a && ur(o, p), m && cr(o, p);
|
|
468
468
|
}
|
|
469
|
-
return
|
|
469
|
+
return fr(e, a, m, l, i, $.current, o);
|
|
470
470
|
}
|
|
471
471
|
}
|
|
472
|
-
var
|
|
472
|
+
var ee = D.ReactCurrentOwner, Te = D.ReactDebugCurrentFrame;
|
|
473
473
|
function F(e) {
|
|
474
474
|
if (e) {
|
|
475
|
-
var r = e._owner, t =
|
|
476
|
-
|
|
475
|
+
var r = e._owner, t = U(e.type, e._source, r ? r.type : null);
|
|
476
|
+
Te.setExtraStackFrame(t);
|
|
477
477
|
} else
|
|
478
|
-
|
|
478
|
+
Te.setExtraStackFrame(null);
|
|
479
479
|
}
|
|
480
|
-
var
|
|
481
|
-
|
|
482
|
-
function
|
|
480
|
+
var re;
|
|
481
|
+
re = !1;
|
|
482
|
+
function te(e) {
|
|
483
483
|
return typeof e == "object" && e !== null && e.$$typeof === s;
|
|
484
484
|
}
|
|
485
|
-
function
|
|
485
|
+
function ke() {
|
|
486
486
|
{
|
|
487
|
-
if (
|
|
488
|
-
var e = k(
|
|
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
|
|
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
|
|
509
|
-
function
|
|
508
|
+
var Oe = {};
|
|
509
|
+
function hr(e) {
|
|
510
510
|
{
|
|
511
|
-
var r =
|
|
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
|
|
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 =
|
|
527
|
-
if (
|
|
526
|
+
var t = hr(r);
|
|
527
|
+
if (Oe[t])
|
|
528
528
|
return;
|
|
529
|
-
|
|
529
|
+
Oe[t] = !0;
|
|
530
530
|
var i = "";
|
|
531
|
-
e && e._owner && e._owner !==
|
|
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
|
|
534
|
+
function Le(e, r) {
|
|
535
535
|
{
|
|
536
536
|
if (typeof e != "object")
|
|
537
537
|
return;
|
|
538
|
-
if (
|
|
538
|
+
if (X(e))
|
|
539
539
|
for (var t = 0; t < e.length; t++) {
|
|
540
540
|
var i = e[t];
|
|
541
|
-
|
|
541
|
+
te(i) && Pe(i, r);
|
|
542
542
|
}
|
|
543
|
-
else if (
|
|
543
|
+
else if (te(e))
|
|
544
544
|
e._store && (e._store.validated = !0);
|
|
545
545
|
else if (e) {
|
|
546
|
-
var l =
|
|
546
|
+
var l = Me(e);
|
|
547
547
|
if (typeof l == "function" && l !== e.entries)
|
|
548
548
|
for (var u = l.call(e), o; !(o = u.next()).done; )
|
|
549
|
-
|
|
549
|
+
te(o.value) && Pe(o.value, r);
|
|
550
550
|
}
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
|
-
function
|
|
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 ===
|
|
563
|
+
r.$$typeof === _))
|
|
564
564
|
t = r.propTypes;
|
|
565
565
|
else
|
|
566
566
|
return;
|
|
567
567
|
if (t) {
|
|
568
568
|
var i = k(r);
|
|
569
|
-
|
|
570
|
-
} else if (r.PropTypes !== void 0 && !
|
|
571
|
-
|
|
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
|
-
|
|
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 &&
|
|
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
|
|
578
|
+
function gr(e) {
|
|
579
579
|
{
|
|
580
580
|
for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
|
|
581
581
|
var i = r[t];
|
|
582
582
|
if (i !== "children" && i !== "key") {
|
|
583
|
-
F(e),
|
|
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),
|
|
587
|
+
e.ref !== null && (F(e), b("Invalid attribute `ref` supplied to `React.Fragment`."), F(null));
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
|
-
var
|
|
591
|
-
function
|
|
590
|
+
var Ie = {};
|
|
591
|
+
function De(e, r, t, i, l, u) {
|
|
592
592
|
{
|
|
593
|
-
var o =
|
|
593
|
+
var o = Ge(e);
|
|
594
594
|
if (!o) {
|
|
595
595
|
var a = "";
|
|
596
596
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (a += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
597
|
-
var
|
|
598
|
-
|
|
597
|
+
var m = pr(l);
|
|
598
|
+
m ? a += m : a += ke();
|
|
599
599
|
var d;
|
|
600
|
-
e === null ? d = "null" :
|
|
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 =
|
|
602
|
+
var p = dr(e, r, t, l, u);
|
|
603
603
|
if (p == null)
|
|
604
604
|
return p;
|
|
605
605
|
if (o) {
|
|
606
606
|
var w = r.children;
|
|
607
607
|
if (w !== void 0)
|
|
608
608
|
if (i)
|
|
609
|
-
if (
|
|
609
|
+
if (X(w)) {
|
|
610
610
|
for (var A = 0; A < w.length; A++)
|
|
611
|
-
|
|
611
|
+
Le(w[A], e);
|
|
612
612
|
Object.freeze && Object.freeze(w);
|
|
613
613
|
} else
|
|
614
|
-
|
|
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
|
-
|
|
616
|
+
Le(w, e);
|
|
617
617
|
}
|
|
618
618
|
if (W.call(r, "key")) {
|
|
619
|
-
var I = k(e),
|
|
620
|
-
return
|
|
621
|
-
}),
|
|
622
|
-
if (!
|
|
623
|
-
var
|
|
624
|
-
|
|
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} />`,
|
|
629
|
+
<%s key={someKey} {...props} />`, ne, I, yr, I), Ie[I + ne] = !0;
|
|
630
630
|
}
|
|
631
631
|
}
|
|
632
|
-
return e === h ?
|
|
632
|
+
return e === h ? gr(p) : vr(p), p;
|
|
633
633
|
}
|
|
634
634
|
}
|
|
635
|
-
function
|
|
636
|
-
return
|
|
635
|
+
function xr(e, r, t) {
|
|
636
|
+
return De(e, r, t, !0);
|
|
637
637
|
}
|
|
638
|
-
function
|
|
639
|
-
return
|
|
638
|
+
function br(e, r, t) {
|
|
639
|
+
return De(e, r, t, !1);
|
|
640
640
|
}
|
|
641
|
-
var
|
|
642
|
-
M.Fragment = h, M.jsx =
|
|
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" ?
|
|
646
|
-
var n =
|
|
647
|
-
|
|
648
|
-
title: c,
|
|
649
|
-
subtitle: s,
|
|
650
|
-
children: v
|
|
651
|
-
}) {
|
|
652
|
-
return /* @__PURE__ */ n.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__ */ n.jsx(
|
|
662
|
-
Ie,
|
|
663
|
-
{ as: "h3", marginBottom: "10", children: c }
|
|
664
|
-
),
|
|
665
|
-
/* @__PURE__ */ n.jsx(
|
|
666
|
-
Ie,
|
|
667
|
-
{ as: "h4", marginBottom: "4", fontSize: "xl", children: s }
|
|
668
|
-
),
|
|
669
|
-
v
|
|
670
|
-
]
|
|
671
|
-
}
|
|
672
|
-
);
|
|
673
|
-
}
|
|
674
|
-
const ne = 60, He = 6, Dr = (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
649
|
activeStepIndex: s,
|
|
677
650
|
hideIndicators: v = !1,
|
|
678
651
|
steps: h,
|
|
679
|
-
stepperTheme:
|
|
652
|
+
stepperTheme: E = {
|
|
680
653
|
light: "eggplant.light",
|
|
681
654
|
base: "eggplant.base"
|
|
682
655
|
}
|
|
683
|
-
} = c, { activeStep: g, setActiveStep:
|
|
656
|
+
} = c, { activeStep: g, setActiveStep: R } = Er({
|
|
684
657
|
index: s,
|
|
685
658
|
count: h.length
|
|
686
659
|
});
|
|
687
|
-
return
|
|
688
|
-
|
|
689
|
-
}, [s,
|
|
690
|
-
|
|
660
|
+
return kr(() => {
|
|
661
|
+
R(s);
|
|
662
|
+
}, [s, R]), /* @__PURE__ */ n.jsx(
|
|
663
|
+
C,
|
|
691
664
|
{ position: "relative", width: "100%", "data-testid": "stepper", children: /* @__PURE__ */ n.jsx(
|
|
692
|
-
|
|
665
|
+
Rr,
|
|
693
666
|
{
|
|
694
667
|
role: "progressbar",
|
|
695
668
|
index: g,
|
|
696
669
|
width: "100%",
|
|
697
670
|
display: "flex",
|
|
698
671
|
flexWrap: "nowrap",
|
|
699
|
-
children: h.map((
|
|
700
|
-
const S = g === f,
|
|
701
|
-
let O = `${
|
|
702
|
-
const Y = `calc(100% - ((${
|
|
703
|
-
return S ? O = Y : (
|
|
704
|
-
|
|
672
|
+
children: h.map((y, f) => {
|
|
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:
|
|
709
|
-
paddingLeft:
|
|
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
684
|
children: /* @__PURE__ */ n.jsx(
|
|
712
|
-
|
|
685
|
+
C,
|
|
713
686
|
{
|
|
714
687
|
paddingTop: v ? 2 : 5,
|
|
715
688
|
position: "relative",
|
|
716
689
|
width: "100%",
|
|
717
690
|
children: /* @__PURE__ */ n.jsx(
|
|
718
|
-
|
|
691
|
+
C,
|
|
719
692
|
{
|
|
720
693
|
width: "100%",
|
|
721
694
|
position: "absolute",
|
|
722
695
|
top: "0",
|
|
723
|
-
backgroundColor: T ?
|
|
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, He = 6, Dr = (c) => {
|
|
|
735
708
|
}
|
|
736
709
|
) }
|
|
737
710
|
);
|
|
738
|
-
},
|
|
711
|
+
}, Nr = ce.memo(Hr), Ur = ({
|
|
739
712
|
children: c,
|
|
740
713
|
...s
|
|
741
714
|
}) => /* @__PURE__ */ n.jsx(
|
|
742
|
-
|
|
715
|
+
Pr,
|
|
743
716
|
{ color: "tints.uiGrey", fontSize: ["md", null, "lg"], ...s, children: c }
|
|
744
|
-
),
|
|
717
|
+
), zr = ({
|
|
745
718
|
label: c,
|
|
746
719
|
additionalContent: s,
|
|
747
720
|
...v
|
|
748
721
|
}) => /* @__PURE__ */ n.jsxs(
|
|
749
|
-
|
|
722
|
+
ue,
|
|
750
723
|
{
|
|
751
724
|
display: "flex",
|
|
752
725
|
alignItems: "center",
|
|
@@ -761,10 +734,10 @@ const ne = 60, He = 6, Dr = (c) => {
|
|
|
761
734
|
...v,
|
|
762
735
|
children: [
|
|
763
736
|
/* @__PURE__ */ n.jsx(
|
|
764
|
-
|
|
737
|
+
oe,
|
|
765
738
|
{
|
|
766
739
|
display: ["none", null, "block"],
|
|
767
|
-
as:
|
|
740
|
+
as: Ae,
|
|
768
741
|
fontSize: "lg",
|
|
769
742
|
color: "viridian.light",
|
|
770
743
|
role: "img",
|
|
@@ -776,11 +749,11 @@ const ne = 60, He = 6, Dr = (c) => {
|
|
|
776
749
|
P,
|
|
777
750
|
{ alignItems: "center", gap: "1", width: ["100%", null, "auto"], children: [
|
|
778
751
|
/* @__PURE__ */ n.jsx(
|
|
779
|
-
|
|
752
|
+
G,
|
|
780
753
|
{ fontSize: ["xl", null, "lg"], fontWeight: "medium", children: c }
|
|
781
754
|
),
|
|
782
755
|
s && (typeof s == "string" ? /* @__PURE__ */ n.jsx(
|
|
783
|
-
|
|
756
|
+
G,
|
|
784
757
|
{
|
|
785
758
|
fontSize: ["xl", null, "lg"],
|
|
786
759
|
fontWeight: "medium",
|
|
@@ -794,10 +767,10 @@ const ne = 60, He = 6, Dr = (c) => {
|
|
|
794
767
|
}
|
|
795
768
|
) : s),
|
|
796
769
|
/* @__PURE__ */ n.jsx(
|
|
797
|
-
|
|
770
|
+
oe,
|
|
798
771
|
{
|
|
799
772
|
display: ["block", null, "none"],
|
|
800
|
-
as:
|
|
773
|
+
as: Ae,
|
|
801
774
|
fontSize: "2xl",
|
|
802
775
|
color: "tints.uiGrey",
|
|
803
776
|
role: "img",
|
|
@@ -809,14 +782,14 @@ const ne = 60, He = 6, Dr = (c) => {
|
|
|
809
782
|
)
|
|
810
783
|
]
|
|
811
784
|
}
|
|
812
|
-
),
|
|
785
|
+
), Wr = (c) => {
|
|
813
786
|
const { isSelected: s, as: v } = c;
|
|
814
|
-
return v ===
|
|
815
|
-
},
|
|
787
|
+
return v === ue ? "tints.cream" : s ? "tints.lightCream" : "transparent";
|
|
788
|
+
}, Zr = Or(
|
|
816
789
|
(c, s) => {
|
|
817
|
-
const { children: v, isSelected: h, ...
|
|
790
|
+
const { children: v, isSelected: h, ...E } = c, g = c.backgroundColor || Wr(c);
|
|
818
791
|
return /* @__PURE__ */ n.jsx(
|
|
819
|
-
|
|
792
|
+
_r,
|
|
820
793
|
{
|
|
821
794
|
ref: s,
|
|
822
795
|
borderRadius: "full",
|
|
@@ -829,21 +802,21 @@ const ne = 60, He = 6, Dr = (c) => {
|
|
|
829
802
|
textDecoration: "none",
|
|
830
803
|
filter: "brightness(0.95)"
|
|
831
804
|
},
|
|
832
|
-
...
|
|
805
|
+
...E,
|
|
833
806
|
children: v
|
|
834
807
|
}
|
|
835
808
|
);
|
|
836
809
|
}
|
|
837
|
-
),
|
|
810
|
+
), Gr = ({
|
|
838
811
|
title: c,
|
|
839
812
|
description: s,
|
|
840
813
|
imageSrc: v,
|
|
841
814
|
imageElement: h,
|
|
842
|
-
button:
|
|
815
|
+
button: E,
|
|
843
816
|
backgroundColor: g = "viridian.wash",
|
|
844
|
-
onClick:
|
|
817
|
+
onClick: R
|
|
845
818
|
}) => {
|
|
846
|
-
const
|
|
819
|
+
const y = "80px", f = "200px";
|
|
847
820
|
return /* @__PURE__ */ n.jsxs(
|
|
848
821
|
P,
|
|
849
822
|
{
|
|
@@ -851,9 +824,9 @@ const ne = 60, He = 6, Dr = (c) => {
|
|
|
851
824
|
alignItems: ["center"],
|
|
852
825
|
borderRadius: "xl",
|
|
853
826
|
overflow: "hidden",
|
|
854
|
-
height: [
|
|
827
|
+
height: [y, null, "272px"],
|
|
855
828
|
backgroundColor: g,
|
|
856
|
-
onClick:
|
|
829
|
+
onClick: R,
|
|
857
830
|
"data-testid": "spotlight-card",
|
|
858
831
|
position: "relative",
|
|
859
832
|
transition: "box-shadow 0.2s ease-in-out",
|
|
@@ -863,25 +836,25 @@ const ne = 60, He = 6, Dr = (c) => {
|
|
|
863
836
|
},
|
|
864
837
|
children: [
|
|
865
838
|
/* @__PURE__ */ n.jsx(
|
|
866
|
-
|
|
839
|
+
C,
|
|
867
840
|
{
|
|
868
841
|
width: ["72px", null, "100%"],
|
|
869
842
|
height: ["100%"],
|
|
870
843
|
flex: [null, null, "1"],
|
|
871
844
|
children: v ? /* @__PURE__ */ n.jsx(
|
|
872
|
-
|
|
845
|
+
wr,
|
|
873
846
|
{
|
|
874
847
|
src: v,
|
|
875
848
|
objectFit: "cover",
|
|
876
|
-
height: [
|
|
849
|
+
height: [y, null, f],
|
|
877
850
|
width: "100%",
|
|
878
851
|
alt: "",
|
|
879
852
|
"data-testid": "spotlight-card-image"
|
|
880
853
|
}
|
|
881
854
|
) : /* @__PURE__ */ n.jsx(
|
|
882
|
-
|
|
855
|
+
C,
|
|
883
856
|
{
|
|
884
|
-
height: [
|
|
857
|
+
height: [y, null, f],
|
|
885
858
|
overflow: "hidden",
|
|
886
859
|
children: h
|
|
887
860
|
}
|
|
@@ -903,24 +876,24 @@ const ne = 60, He = 6, Dr = (c) => {
|
|
|
903
876
|
backdropFilter: [null, null, "blur(8px)"],
|
|
904
877
|
children: [
|
|
905
878
|
/* @__PURE__ */ n.jsxs(
|
|
906
|
-
|
|
879
|
+
C,
|
|
907
880
|
{ children: [
|
|
908
881
|
/* @__PURE__ */ n.jsx(
|
|
909
|
-
|
|
882
|
+
G,
|
|
910
883
|
{ fontSize: "lg", fontWeight: "medium", children: c }
|
|
911
884
|
),
|
|
912
|
-
/* @__PURE__ */ n.jsx(
|
|
885
|
+
/* @__PURE__ */ n.jsx(G, { fontSize: "sm", children: s })
|
|
913
886
|
] }
|
|
914
887
|
),
|
|
915
|
-
/* @__PURE__ */ n.jsx(
|
|
888
|
+
/* @__PURE__ */ n.jsx(C, { display: ["none", null, "block"], children: E })
|
|
916
889
|
]
|
|
917
890
|
}
|
|
918
891
|
)
|
|
919
892
|
]
|
|
920
893
|
}
|
|
921
894
|
);
|
|
922
|
-
},
|
|
923
|
-
|
|
895
|
+
}, se = (c) => /* @__PURE__ */ n.jsx(
|
|
896
|
+
Sr,
|
|
924
897
|
{
|
|
925
898
|
size: "sm",
|
|
926
899
|
width: ["40px", null, "46px"],
|
|
@@ -940,7 +913,7 @@ const ne = 60, He = 6, Dr = (c) => {
|
|
|
940
913
|
},
|
|
941
914
|
...c
|
|
942
915
|
}
|
|
943
|
-
),
|
|
916
|
+
), $r = () => /* @__PURE__ */ n.jsx(
|
|
944
917
|
"svg",
|
|
945
918
|
{
|
|
946
919
|
width: "116",
|
|
@@ -964,17 +937,17 @@ const ne = 60, He = 6, Dr = (c) => {
|
|
|
964
937
|
) }
|
|
965
938
|
)
|
|
966
939
|
}
|
|
967
|
-
),
|
|
940
|
+
), Jr = ({
|
|
968
941
|
desktopTopButtons: c,
|
|
969
942
|
kitRegistrationElement: s,
|
|
970
943
|
profileElement: v,
|
|
971
944
|
cartElement: h,
|
|
972
|
-
onSearchClick:
|
|
945
|
+
onSearchClick: E,
|
|
973
946
|
onMenuClick: g,
|
|
974
|
-
hasSearch:
|
|
975
|
-
logoLink:
|
|
947
|
+
hasSearch: R = !1,
|
|
948
|
+
logoLink: y = "https://www.everlywell.com"
|
|
976
949
|
}) => /* @__PURE__ */ n.jsx(
|
|
977
|
-
|
|
950
|
+
C,
|
|
978
951
|
{
|
|
979
952
|
bg: "background.default",
|
|
980
953
|
padding: "4",
|
|
@@ -987,8 +960,8 @@ const ne = 60, He = 6, Dr = (c) => {
|
|
|
987
960
|
P,
|
|
988
961
|
{ alignItems: "center", gap: "5", children: [
|
|
989
962
|
/* @__PURE__ */ n.jsx(
|
|
990
|
-
|
|
991
|
-
{ href:
|
|
963
|
+
ue,
|
|
964
|
+
{ href: y, "aria-label": "Go to homepage", children: /* @__PURE__ */ n.jsx($r, {}) }
|
|
992
965
|
),
|
|
993
966
|
/* @__PURE__ */ n.jsx(P, { display: ["none", null, "flex"], children: c })
|
|
994
967
|
] }
|
|
@@ -996,43 +969,43 @@ const ne = 60, He = 6, Dr = (c) => {
|
|
|
996
969
|
/* @__PURE__ */ n.jsxs(
|
|
997
970
|
P,
|
|
998
971
|
{ alignItems: "center", gap: "2", children: [
|
|
999
|
-
/* @__PURE__ */ n.jsx(
|
|
1000
|
-
|
|
1001
|
-
|
|
972
|
+
/* @__PURE__ */ n.jsx(C, { display: ["none", null, "block"], children: s }),
|
|
973
|
+
R ? /* @__PURE__ */ n.jsx(
|
|
974
|
+
se,
|
|
1002
975
|
{
|
|
1003
976
|
"aria-label": "Search",
|
|
1004
|
-
icon: /* @__PURE__ */ n.jsx(
|
|
1005
|
-
onClick:
|
|
977
|
+
icon: /* @__PURE__ */ n.jsx(oe, { as: Lr }),
|
|
978
|
+
onClick: E
|
|
1006
979
|
}
|
|
1007
980
|
) : null,
|
|
1008
981
|
h,
|
|
1009
982
|
/* @__PURE__ */ n.jsx(
|
|
1010
|
-
|
|
983
|
+
C,
|
|
1011
984
|
{ display: ["flex", null, "none"], children: /* @__PURE__ */ n.jsx(
|
|
1012
|
-
|
|
985
|
+
se,
|
|
1013
986
|
{
|
|
1014
|
-
icon: /* @__PURE__ */ n.jsx(
|
|
987
|
+
icon: /* @__PURE__ */ n.jsx(Ir, {}),
|
|
1015
988
|
"aria-label": "menu",
|
|
1016
989
|
"data-testid": "menu-button",
|
|
1017
990
|
onClick: g
|
|
1018
991
|
}
|
|
1019
992
|
) }
|
|
1020
993
|
),
|
|
1021
|
-
/* @__PURE__ */ n.jsx(
|
|
994
|
+
/* @__PURE__ */ n.jsx(C, { display: ["none", null, "block"], children: v })
|
|
1022
995
|
] }
|
|
1023
996
|
)
|
|
1024
997
|
] }
|
|
1025
998
|
)
|
|
1026
999
|
}
|
|
1027
|
-
),
|
|
1000
|
+
), qr = ({
|
|
1028
1001
|
count: c = 0,
|
|
1029
1002
|
...s
|
|
1030
1003
|
}) => /* @__PURE__ */ n.jsxs(
|
|
1031
|
-
|
|
1004
|
+
C,
|
|
1032
1005
|
{ position: "relative", display: "inline-block", children: [
|
|
1033
|
-
/* @__PURE__ */ n.jsx(
|
|
1006
|
+
/* @__PURE__ */ n.jsx(se, { icon: /* @__PURE__ */ n.jsx(Dr, {}), ...s }),
|
|
1034
1007
|
c > 0 && /* @__PURE__ */ n.jsx(
|
|
1035
|
-
|
|
1008
|
+
C,
|
|
1036
1009
|
{
|
|
1037
1010
|
display: "flex",
|
|
1038
1011
|
minWidth: "20px",
|
|
@@ -1053,15 +1026,51 @@ const ne = 60, He = 6, Dr = (c) => {
|
|
|
1053
1026
|
}
|
|
1054
1027
|
)
|
|
1055
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
|
+
) }
|
|
1056
1065
|
);
|
|
1057
1066
|
export {
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
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
|
|
1067
1076
|
};
|