@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.
- package/index.d.mts +7 -1
- package/index.d.ts +7 -1
- package/index.d.ts.map +1 -0
- package/index.js +11 -11
- package/index.mjs +532 -318
- package/lib/components/Navbar/BasketButton/BasketButton.d.ts +21 -0
- package/lib/components/Navbar/BasketButton/BasketButton.d.ts.map +1 -0
- package/lib/components/Navbar/BasketButton/BasketButton.stories.d.ts +9 -0
- package/lib/components/Navbar/BasketButton/BasketButton.stories.d.ts.map +1 -0
- package/lib/components/Navbar/BasketButton/index.d.ts +3 -0
- package/lib/components/Navbar/BasketButton/index.d.ts.map +1 -0
- package/lib/components/{CategoryLabel → Navbar/CategoryLabel}/CategoryLabel.d.ts +3 -2
- package/lib/components/Navbar/CategoryLabel/CategoryLabel.d.ts.map +1 -0
- package/lib/components/{CategoryLabel → Navbar/CategoryLabel}/CategoryLabel.stories.d.ts +1 -0
- package/lib/components/Navbar/CategoryLabel/CategoryLabel.stories.d.ts.map +1 -0
- package/lib/components/Navbar/CategoryLabel/index.d.ts +3 -0
- package/lib/components/Navbar/CategoryLabel/index.d.ts.map +1 -0
- package/lib/components/Navbar/DesktopNavLink/DesktopNavLink.d.ts +3 -2
- package/lib/components/Navbar/DesktopNavLink/DesktopNavLink.d.ts.map +1 -0
- package/lib/components/Navbar/DesktopNavLink/DesktopNavLink.stories.d.ts +1 -0
- package/lib/components/Navbar/DesktopNavLink/DesktopNavLink.stories.d.ts.map +1 -0
- package/lib/components/Navbar/DesktopNavLink/index.d.ts +1 -0
- package/lib/components/Navbar/DesktopNavLink/index.d.ts.map +1 -0
- package/lib/components/Navbar/MobileNavItems/MobileNavItems.d.ts +1 -0
- package/lib/components/Navbar/MobileNavItems/MobileNavItems.d.ts.map +1 -0
- package/lib/components/Navbar/MobileNavItems/MobileNavItems.stories.d.ts +1 -0
- package/lib/components/Navbar/MobileNavItems/MobileNavItems.stories.d.ts.map +1 -0
- package/lib/components/Navbar/MobileNavItems/index.d.ts +1 -0
- package/lib/components/Navbar/MobileNavItems/index.d.ts.map +1 -0
- package/lib/components/Navbar/MobileNavLink/MobileNavLink.d.ts +3 -2
- package/lib/components/Navbar/MobileNavLink/MobileNavLink.d.ts.map +1 -0
- package/lib/components/Navbar/MobileNavLink/MobileNavLink.stories.d.ts +1 -0
- package/lib/components/Navbar/MobileNavLink/MobileNavLink.stories.d.ts.map +1 -0
- package/lib/components/Navbar/MobileNavLink/index.d.ts +1 -0
- package/lib/components/Navbar/MobileNavLink/index.d.ts.map +1 -0
- package/lib/components/Navbar/NavButton/NavButton.d.ts +1 -0
- package/lib/components/Navbar/NavButton/NavButton.d.ts.map +1 -0
- package/lib/components/Navbar/NavButton/NavButton.stories.d.ts +1 -0
- package/lib/components/Navbar/NavButton/NavButton.stories.d.ts.map +1 -0
- package/lib/components/Navbar/NavButton/index.d.ts +1 -0
- package/lib/components/Navbar/NavButton/index.d.ts.map +1 -0
- package/lib/components/Navbar/SpotlightCard/SpotlightCard.d.ts +71 -0
- package/lib/components/Navbar/SpotlightCard/SpotlightCard.d.ts.map +1 -0
- package/lib/components/Navbar/SpotlightCard/SpotlightCard.stories.d.ts +8 -0
- package/lib/components/Navbar/SpotlightCard/SpotlightCard.stories.d.ts.map +1 -0
- package/lib/components/Navbar/SpotlightCard/index.d.ts +3 -0
- package/lib/components/Navbar/SpotlightCard/index.d.ts.map +1 -0
- package/lib/components/Stepper/Stepper.builder.d.ts +1 -0
- package/lib/components/Stepper/Stepper.builder.d.ts.map +1 -0
- package/lib/components/Stepper/Stepper.d.ts +1 -0
- package/lib/components/Stepper/Stepper.d.ts.map +1 -0
- package/lib/components/Stepper/Stepper.stories.d.ts +1 -0
- package/lib/components/Stepper/Stepper.stories.d.ts.map +1 -0
- package/lib/components/Stepper/index.d.ts +1 -0
- package/lib/components/Stepper/index.d.ts.map +1 -0
- package/lib/components/TemporaryCard/TemporaryCard.d.ts +1 -0
- package/lib/components/TemporaryCard/TemporaryCard.d.ts.map +1 -0
- package/lib/components/TemporaryCard/TemporaryCard.stories.d.ts +1 -0
- package/lib/components/TemporaryCard/TemporaryCard.stories.d.ts.map +1 -0
- package/lib/components/TemporaryCard/index.d.ts +1 -0
- package/lib/components/TemporaryCard/index.d.ts.map +1 -0
- package/lib/consumer-ui.d.ts +1 -0
- package/lib/consumer-ui.d.ts.map +1 -0
- package/lib/utils/utils.storybook.d.ts +1 -0
- package/lib/utils/utils.storybook.d.ts.map +1 -0
- package/package.json +1 -1
- package/lib/components/CategoryLabel/index.d.ts +0 -1
package/index.mjs
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { Flex as
|
|
2
|
-
import
|
|
3
|
-
import { Text as
|
|
4
|
-
|
|
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
|
|
15
|
-
function
|
|
16
|
-
if (
|
|
17
|
-
return
|
|
18
|
-
|
|
19
|
-
var
|
|
20
|
-
function
|
|
21
|
-
var
|
|
22
|
-
|
|
23
|
-
for (
|
|
24
|
-
|
|
25
|
-
if (
|
|
26
|
-
for (
|
|
27
|
-
|
|
28
|
-
return { $$typeof:
|
|
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
|
|
31
|
+
return N.Fragment = v, N.jsx = S, N.jsxs = S, N;
|
|
31
32
|
}
|
|
32
|
-
var
|
|
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
|
|
43
|
-
function
|
|
44
|
-
return
|
|
45
|
-
var
|
|
46
|
-
function
|
|
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 =
|
|
50
|
+
var r = z && e[z] || e[$e];
|
|
50
51
|
return typeof r == "function" ? r : null;
|
|
51
52
|
}
|
|
52
|
-
var D =
|
|
53
|
-
function
|
|
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
|
-
|
|
58
|
+
Ye("error", e, t);
|
|
58
59
|
}
|
|
59
60
|
}
|
|
60
|
-
function
|
|
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
|
|
65
|
+
var u = t.map(function(i) {
|
|
65
66
|
return String(i);
|
|
66
67
|
});
|
|
67
|
-
|
|
68
|
+
u.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, u);
|
|
68
69
|
}
|
|
69
70
|
}
|
|
70
|
-
var
|
|
71
|
-
|
|
72
|
-
function
|
|
73
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
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 ===
|
|
78
|
+
e.$$typeof === oe || e.getModuleId !== void 0));
|
|
78
79
|
}
|
|
79
|
-
function
|
|
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
|
|
87
|
+
function se(e) {
|
|
87
88
|
return e.displayName || "Context";
|
|
88
89
|
}
|
|
89
|
-
function
|
|
90
|
+
function w(e) {
|
|
90
91
|
if (e == null)
|
|
91
92
|
return null;
|
|
92
|
-
if (typeof e.tag == "number" &&
|
|
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
|
|
98
|
+
case b:
|
|
98
99
|
return "Fragment";
|
|
99
|
-
case
|
|
100
|
+
case v:
|
|
100
101
|
return "Portal";
|
|
101
|
-
case
|
|
102
|
+
case E:
|
|
102
103
|
return "Profiler";
|
|
103
|
-
case
|
|
104
|
+
case C:
|
|
104
105
|
return "StrictMode";
|
|
105
|
-
case
|
|
106
|
+
case j:
|
|
106
107
|
return "Suspense";
|
|
107
|
-
case
|
|
108
|
+
case h:
|
|
108
109
|
return "SuspenseList";
|
|
109
110
|
}
|
|
110
111
|
if (typeof e == "object")
|
|
111
112
|
switch (e.$$typeof) {
|
|
112
|
-
case
|
|
113
|
+
case R:
|
|
113
114
|
var r = e;
|
|
114
|
-
return
|
|
115
|
-
case
|
|
115
|
+
return se(r) + ".Consumer";
|
|
116
|
+
case S:
|
|
116
117
|
var t = e;
|
|
117
|
-
return
|
|
118
|
-
case
|
|
119
|
-
return
|
|
120
|
-
case
|
|
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 :
|
|
123
|
-
case
|
|
124
|
-
var o = e,
|
|
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
|
|
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
|
|
135
|
-
function
|
|
135
|
+
var O = Object.assign, $ = 0, le, ue, ce, fe, de, pe, ve;
|
|
136
|
+
function he() {
|
|
136
137
|
}
|
|
137
|
-
|
|
138
|
-
function
|
|
138
|
+
he.__reactDisabledLog = !0;
|
|
139
|
+
function He() {
|
|
139
140
|
{
|
|
140
|
-
if (
|
|
141
|
-
|
|
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:
|
|
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
|
-
|
|
159
|
+
$++;
|
|
159
160
|
}
|
|
160
161
|
}
|
|
161
|
-
function
|
|
162
|
+
function Je() {
|
|
162
163
|
{
|
|
163
|
-
if (
|
|
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:
|
|
171
|
-
value:
|
|
172
|
-
}),
|
|
173
|
-
info: P({}, e, {
|
|
174
|
-
value: se
|
|
171
|
+
log: O({}, e, {
|
|
172
|
+
value: le
|
|
175
173
|
}),
|
|
176
|
-
|
|
174
|
+
info: O({}, e, {
|
|
177
175
|
value: ue
|
|
178
176
|
}),
|
|
179
|
-
|
|
180
|
-
value:
|
|
177
|
+
warn: O({}, e, {
|
|
178
|
+
value: ce
|
|
181
179
|
}),
|
|
182
|
-
|
|
180
|
+
error: O({}, e, {
|
|
183
181
|
value: fe
|
|
184
182
|
}),
|
|
185
|
-
|
|
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
|
-
|
|
194
|
+
$ < 0 && g("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
194
195
|
}
|
|
195
196
|
}
|
|
196
|
-
var
|
|
197
|
-
function
|
|
197
|
+
var J = D.ReactCurrentDispatcher, q;
|
|
198
|
+
function U(e, r, t) {
|
|
198
199
|
{
|
|
199
|
-
if (
|
|
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
|
-
|
|
205
|
+
q = n && n[1] || "";
|
|
205
206
|
}
|
|
206
207
|
return `
|
|
207
|
-
` +
|
|
208
|
+
` + q + e;
|
|
208
209
|
}
|
|
209
210
|
}
|
|
210
|
-
var K = !1,
|
|
211
|
+
var K = !1, B;
|
|
211
212
|
{
|
|
212
|
-
var
|
|
213
|
-
|
|
213
|
+
var qe = typeof WeakMap == "function" ? WeakMap : Map;
|
|
214
|
+
B = new qe();
|
|
214
215
|
}
|
|
215
|
-
function
|
|
216
|
+
function ge(e, r) {
|
|
216
217
|
if (!e || K)
|
|
217
218
|
return "";
|
|
218
219
|
{
|
|
219
|
-
var t =
|
|
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
|
|
228
|
-
|
|
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 (
|
|
242
|
-
n =
|
|
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 (
|
|
249
|
-
n =
|
|
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 (
|
|
257
|
-
n =
|
|
257
|
+
} catch (y) {
|
|
258
|
+
n = y;
|
|
258
259
|
}
|
|
259
260
|
e();
|
|
260
261
|
}
|
|
261
|
-
} catch (
|
|
262
|
-
if (
|
|
263
|
-
for (var a =
|
|
264
|
-
`),
|
|
265
|
-
`),
|
|
266
|
-
|
|
267
|
-
for (;
|
|
268
|
-
if (a[
|
|
269
|
-
if (
|
|
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 (
|
|
272
|
-
var
|
|
273
|
-
` + a[
|
|
274
|
-
return e.displayName &&
|
|
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 (
|
|
277
|
+
while (f >= 1 && d >= 0);
|
|
277
278
|
break;
|
|
278
279
|
}
|
|
279
280
|
}
|
|
280
281
|
} finally {
|
|
281
|
-
K = !1,
|
|
282
|
+
K = !1, J.current = u, Je(), Error.prepareStackTrace = o;
|
|
282
283
|
}
|
|
283
|
-
var
|
|
284
|
-
return typeof e == "function" &&
|
|
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
|
|
287
|
-
return
|
|
287
|
+
function Ke(e, r, t) {
|
|
288
|
+
return ge(e, !1);
|
|
288
289
|
}
|
|
289
|
-
function
|
|
290
|
+
function Xe(e) {
|
|
290
291
|
var r = e.prototype;
|
|
291
292
|
return !!(r && r.isReactComponent);
|
|
292
293
|
}
|
|
293
|
-
function
|
|
294
|
+
function G(e, r, t) {
|
|
294
295
|
if (e == null)
|
|
295
296
|
return "";
|
|
296
297
|
if (typeof e == "function")
|
|
297
|
-
return
|
|
298
|
+
return ge(e, Xe(e));
|
|
298
299
|
if (typeof e == "string")
|
|
299
|
-
return
|
|
300
|
+
return U(e);
|
|
300
301
|
switch (e) {
|
|
301
|
-
case
|
|
302
|
-
return
|
|
303
|
-
case
|
|
304
|
-
return
|
|
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
|
|
309
|
-
return
|
|
310
|
-
case
|
|
311
|
-
return
|
|
312
|
-
case
|
|
313
|
-
var n = e, o = n._payload,
|
|
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
|
|
316
|
+
return G(u(o), r, t);
|
|
316
317
|
} catch {
|
|
317
318
|
}
|
|
318
319
|
}
|
|
319
320
|
}
|
|
320
321
|
return "";
|
|
321
322
|
}
|
|
322
|
-
var
|
|
323
|
-
function
|
|
323
|
+
var L = Object.prototype.hasOwnProperty, me = {}, be = D.ReactDebugCurrentFrame;
|
|
324
|
+
function H(e) {
|
|
324
325
|
if (e) {
|
|
325
|
-
var r = e._owner, t =
|
|
326
|
-
|
|
326
|
+
var r = e._owner, t = G(e.type, e._source, r ? r.type : null);
|
|
327
|
+
be.setExtraStackFrame(t);
|
|
327
328
|
} else
|
|
328
|
-
|
|
329
|
+
be.setExtraStackFrame(null);
|
|
329
330
|
}
|
|
330
|
-
function
|
|
331
|
+
function Ze(e, r, t, n, o) {
|
|
331
332
|
{
|
|
332
|
-
var
|
|
333
|
+
var u = Function.call.bind(L);
|
|
333
334
|
for (var i in e)
|
|
334
|
-
if (
|
|
335
|
+
if (u(e, i)) {
|
|
335
336
|
var a = void 0;
|
|
336
337
|
try {
|
|
337
338
|
if (typeof e[i] != "function") {
|
|
338
|
-
var
|
|
339
|
-
throw
|
|
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 (
|
|
343
|
-
a =
|
|
343
|
+
} catch (f) {
|
|
344
|
+
a = f;
|
|
344
345
|
}
|
|
345
|
-
a && !(a instanceof Error) && (
|
|
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
|
|
350
|
-
function
|
|
351
|
-
return
|
|
350
|
+
var Qe = Array.isArray;
|
|
351
|
+
function X(e) {
|
|
352
|
+
return Qe(e);
|
|
352
353
|
}
|
|
353
|
-
function
|
|
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
|
|
360
|
+
function rr(e) {
|
|
360
361
|
try {
|
|
361
|
-
return
|
|
362
|
+
return ye(e), !1;
|
|
362
363
|
} catch {
|
|
363
364
|
return !0;
|
|
364
365
|
}
|
|
365
366
|
}
|
|
366
|
-
function
|
|
367
|
+
function ye(e) {
|
|
367
368
|
return "" + e;
|
|
368
369
|
}
|
|
369
|
-
function
|
|
370
|
-
if (
|
|
371
|
-
return
|
|
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
|
|
374
|
+
var Y = D.ReactCurrentOwner, tr = {
|
|
374
375
|
key: !0,
|
|
375
376
|
ref: !0,
|
|
376
377
|
__self: !0,
|
|
377
378
|
__source: !0
|
|
378
|
-
},
|
|
379
|
-
|
|
380
|
-
function
|
|
381
|
-
if (
|
|
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
|
|
389
|
-
if (
|
|
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
|
|
397
|
-
if (typeof e.ref == "string" &&
|
|
398
|
-
var t =
|
|
399
|
-
|
|
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
|
|
403
|
+
function or(e, r) {
|
|
403
404
|
{
|
|
404
405
|
var t = function() {
|
|
405
|
-
|
|
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
|
|
414
|
+
function sr(e, r) {
|
|
414
415
|
{
|
|
415
416
|
var t = function() {
|
|
416
|
-
Ee || (Ee = !0,
|
|
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
|
|
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:
|
|
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:
|
|
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
|
|
454
|
+
function ur(e, r, t, n, o) {
|
|
454
455
|
{
|
|
455
|
-
var
|
|
456
|
-
t !== void 0 && (
|
|
457
|
-
for (
|
|
458
|
-
|
|
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
|
|
461
|
-
for (
|
|
462
|
-
i[
|
|
461
|
+
var f = e.defaultProps;
|
|
462
|
+
for (u in f)
|
|
463
|
+
i[u] === void 0 && (i[u] = f[u]);
|
|
463
464
|
}
|
|
464
|
-
if (a ||
|
|
465
|
-
var
|
|
466
|
-
a &&
|
|
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
|
|
469
|
+
return lr(e, a, m, o, n, Y.current, i);
|
|
469
470
|
}
|
|
470
471
|
}
|
|
471
|
-
var
|
|
472
|
-
function
|
|
472
|
+
var Q = D.ReactCurrentOwner, Re = D.ReactDebugCurrentFrame;
|
|
473
|
+
function F(e) {
|
|
473
474
|
if (e) {
|
|
474
|
-
var r = e._owner, t =
|
|
475
|
-
|
|
475
|
+
var r = e._owner, t = G(e.type, e._source, r ? r.type : null);
|
|
476
|
+
Re.setExtraStackFrame(t);
|
|
476
477
|
} else
|
|
477
|
-
|
|
478
|
+
Re.setExtraStackFrame(null);
|
|
478
479
|
}
|
|
479
|
-
var
|
|
480
|
-
|
|
481
|
-
function
|
|
482
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
480
|
+
var ee;
|
|
481
|
+
ee = !1;
|
|
482
|
+
function re(e) {
|
|
483
|
+
return typeof e == "object" && e !== null && e.$$typeof === s;
|
|
483
484
|
}
|
|
484
|
-
function
|
|
485
|
+
function Se() {
|
|
485
486
|
{
|
|
486
|
-
if (
|
|
487
|
-
var e =
|
|
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
|
|
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
|
|
508
|
-
function
|
|
508
|
+
var je = {};
|
|
509
|
+
function fr(e) {
|
|
509
510
|
{
|
|
510
|
-
var r =
|
|
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 =
|
|
526
|
-
if (
|
|
526
|
+
var t = fr(r);
|
|
527
|
+
if (je[t])
|
|
527
528
|
return;
|
|
528
|
-
|
|
529
|
+
je[t] = !0;
|
|
529
530
|
var n = "";
|
|
530
|
-
e && e._owner && e._owner !==
|
|
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
|
|
534
|
+
function we(e, r) {
|
|
534
535
|
{
|
|
535
536
|
if (typeof e != "object")
|
|
536
537
|
return;
|
|
537
|
-
if (
|
|
538
|
+
if (X(e))
|
|
538
539
|
for (var t = 0; t < e.length; t++) {
|
|
539
540
|
var n = e[t];
|
|
540
|
-
|
|
541
|
+
re(n) && Te(n, r);
|
|
541
542
|
}
|
|
542
|
-
else if (
|
|
543
|
+
else if (re(e))
|
|
543
544
|
e._store && (e._store.validated = !0);
|
|
544
545
|
else if (e) {
|
|
545
|
-
var o =
|
|
546
|
+
var o = Le(e);
|
|
546
547
|
if (typeof o == "function" && o !== e.entries)
|
|
547
|
-
for (var
|
|
548
|
-
|
|
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
|
|
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 ===
|
|
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 ===
|
|
563
|
+
r.$$typeof === x))
|
|
563
564
|
t = r.propTypes;
|
|
564
565
|
else
|
|
565
566
|
return;
|
|
566
567
|
if (t) {
|
|
567
|
-
var n =
|
|
568
|
-
|
|
569
|
-
} else if (r.PropTypes !== void 0 && !
|
|
570
|
-
|
|
571
|
-
var o =
|
|
572
|
-
|
|
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 &&
|
|
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
|
|
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
|
-
|
|
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 && (
|
|
587
|
+
e.ref !== null && (F(e), g("Invalid attribute `ref` supplied to `React.Fragment`."), F(null));
|
|
587
588
|
}
|
|
588
589
|
}
|
|
589
|
-
var
|
|
590
|
-
function
|
|
590
|
+
var Ce = {};
|
|
591
|
+
function ke(e, r, t, n, o, u) {
|
|
591
592
|
{
|
|
592
|
-
var i =
|
|
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
|
|
597
|
-
|
|
598
|
-
var
|
|
599
|
-
e === null ?
|
|
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
|
|
602
|
-
if (
|
|
603
|
-
return
|
|
602
|
+
var d = ur(e, r, t, o, u);
|
|
603
|
+
if (d == null)
|
|
604
|
+
return d;
|
|
604
605
|
if (i) {
|
|
605
|
-
var
|
|
606
|
-
if (
|
|
606
|
+
var _ = r.children;
|
|
607
|
+
if (_ !== void 0)
|
|
607
608
|
if (n)
|
|
608
|
-
if (
|
|
609
|
-
for (var
|
|
610
|
-
|
|
611
|
-
Object.freeze && Object.freeze(
|
|
609
|
+
if (X(_)) {
|
|
610
|
+
for (var A = 0; A < _.length; A++)
|
|
611
|
+
we(_[A], e);
|
|
612
|
+
Object.freeze && Object.freeze(_);
|
|
612
613
|
} else
|
|
613
|
-
|
|
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
|
-
|
|
616
|
+
we(_, e);
|
|
616
617
|
}
|
|
617
|
-
if (
|
|
618
|
-
var
|
|
619
|
-
return
|
|
620
|
-
}),
|
|
621
|
-
if (!
|
|
622
|
-
var
|
|
623
|
-
|
|
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} />`,
|
|
629
|
+
<%s key={someKey} {...props} />`, te, P, br, P), Ce[P + te] = !0;
|
|
629
630
|
}
|
|
630
631
|
}
|
|
631
|
-
return e ===
|
|
632
|
+
return e === b ? pr(d) : dr(d), d;
|
|
632
633
|
}
|
|
633
634
|
}
|
|
634
|
-
function
|
|
635
|
-
return
|
|
635
|
+
function vr(e, r, t) {
|
|
636
|
+
return ke(e, r, t, !0);
|
|
636
637
|
}
|
|
637
|
-
function
|
|
638
|
-
return
|
|
638
|
+
function hr(e, r, t) {
|
|
639
|
+
return ke(e, r, t, !1);
|
|
639
640
|
}
|
|
640
|
-
var
|
|
641
|
-
|
|
642
|
-
}()),
|
|
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" ?
|
|
645
|
-
var
|
|
646
|
-
function
|
|
647
|
-
title:
|
|
648
|
-
subtitle:
|
|
649
|
-
children:
|
|
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__ */
|
|
652
|
-
|
|
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__ */
|
|
661
|
+
/* @__PURE__ */ l.jsx(
|
|
661
662
|
Oe,
|
|
662
|
-
{ as: "h3", marginBottom: "10", children:
|
|
663
|
+
{ as: "h3", marginBottom: "10", children: p }
|
|
663
664
|
),
|
|
664
|
-
/* @__PURE__ */
|
|
665
|
+
/* @__PURE__ */ l.jsx(
|
|
665
666
|
Oe,
|
|
666
|
-
{ as: "h4", marginBottom: "4", fontSize: "xl", children:
|
|
667
|
+
{ as: "h4", marginBottom: "4", fontSize: "xl", children: s }
|
|
667
668
|
),
|
|
668
|
-
|
|
669
|
+
v
|
|
669
670
|
]
|
|
670
671
|
}
|
|
671
672
|
);
|
|
672
673
|
}
|
|
673
|
-
const
|
|
674
|
+
const ne = 60, De = 6, kr = (p) => {
|
|
674
675
|
const {
|
|
675
|
-
activeStepIndex:
|
|
676
|
-
hideIndicators:
|
|
677
|
-
steps:
|
|
678
|
-
stepperTheme:
|
|
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
|
-
} =
|
|
683
|
-
index:
|
|
684
|
-
count:
|
|
683
|
+
} = p, { activeStep: E, setActiveStep: S } = xr({
|
|
684
|
+
index: s,
|
|
685
|
+
count: b.length
|
|
685
686
|
});
|
|
686
|
-
return
|
|
687
|
-
|
|
688
|
-
}, [
|
|
689
|
-
|
|
690
|
-
{ position: "relative", width: "100%", "data-testid": "stepper", children: /* @__PURE__ */
|
|
691
|
-
|
|
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:
|
|
695
|
+
index: E,
|
|
695
696
|
width: "100%",
|
|
696
697
|
display: "flex",
|
|
697
698
|
flexWrap: "nowrap",
|
|
698
|
-
children:
|
|
699
|
-
const
|
|
700
|
-
let
|
|
701
|
-
const
|
|
702
|
-
return
|
|
703
|
-
|
|
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:
|
|
706
|
-
opacity:
|
|
707
|
-
paddingRight:
|
|
708
|
-
paddingLeft:
|
|
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__ */
|
|
711
|
-
|
|
711
|
+
children: /* @__PURE__ */ l.jsx(
|
|
712
|
+
I,
|
|
712
713
|
{
|
|
713
|
-
paddingTop:
|
|
714
|
+
paddingTop: v ? 2 : 5,
|
|
714
715
|
position: "relative",
|
|
715
716
|
width: "100%",
|
|
716
|
-
children: /* @__PURE__ */
|
|
717
|
-
|
|
717
|
+
children: /* @__PURE__ */ l.jsx(
|
|
718
|
+
I,
|
|
718
719
|
{
|
|
719
720
|
width: "100%",
|
|
720
721
|
position: "absolute",
|
|
721
722
|
top: "0",
|
|
722
|
-
backgroundColor:
|
|
723
|
-
height:
|
|
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-${
|
|
732
|
+
`step-${c}`
|
|
732
733
|
);
|
|
733
734
|
})
|
|
734
735
|
}
|
|
735
736
|
) }
|
|
736
737
|
);
|
|
737
|
-
},
|
|
738
|
-
children:
|
|
739
|
-
...
|
|
740
|
-
}) => /* @__PURE__ */
|
|
741
|
-
|
|
742
|
-
{ color: "tints.uiGrey", fontSize: ["md", null, "lg"], ...
|
|
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
|
-
|
|
746
|
-
|
|
747
|
-
|
|
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
|
};
|