@everlywell/ui-kit 1.11.4 → 1.11.6
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 +42 -0
- package/index.d.ts +42 -0
- package/index.js +111 -0
- package/index.mjs +4203 -0
- package/lib/components/Fonts/Fonts.d.ts +2 -0
- package/lib/components/Fonts/index.d.ts +1 -0
- package/lib/components/ThemeProvider/ThemeProvider.d.ts +5 -0
- package/lib/components/ThemeProvider/index.d.ts +1 -0
- package/lib/theme/accessibility/VisuallyHidden/VisuallyHidden.d.ts +2 -0
- package/lib/theme/actions/Button/Button.config.d.ts +106 -0
- package/lib/theme/actions/Button/Button.d.ts +3 -0
- package/lib/theme/actions/Checkbox/Checkbox.config.d.ts +74 -0
- package/lib/theme/actions/Checkbox/Checkbox.d.ts +6 -0
- package/lib/theme/actions/FormControl/FormControl.config.d.ts +91 -0
- package/lib/theme/actions/FormControl/FormControl.d.ts +4 -0
- package/lib/theme/actions/FormControl/FormError.config.d.ts +31 -0
- package/lib/theme/actions/FormControl/FormLabel.config.d.ts +24 -0
- package/lib/theme/actions/IconButton/IconButton.config.d.ts +0 -0
- package/lib/theme/actions/IconButton/IconButton.d.ts +3 -0
- package/lib/theme/actions/Input/Input.config.d.ts +49 -0
- package/lib/theme/actions/Input/Input.d.ts +4 -0
- package/lib/theme/actions/Menu/Menu.config.d.ts +98 -0
- package/lib/theme/actions/Menu/Menu.d.ts +3 -0
- package/lib/theme/actions/Radio/Radio.d.ts +10 -0
- package/lib/theme/actions/Select/Select.config.d.ts +61 -0
- package/lib/theme/actions/Select/Select.d.ts +3 -0
- package/lib/theme/actions/Slider/Slider.config.d.ts +19 -0
- package/lib/theme/actions/Slider/Slider.d.ts +3 -0
- package/lib/theme/data-display/Accordion/Accordion.config.d.ts +57 -0
- package/lib/theme/data-display/Accordion/Accordion.d.ts +3 -0
- package/lib/theme/data-display/List/List.d.ts +4 -0
- package/lib/theme/data-display/Table/Table.config.d.ts +57 -0
- package/lib/theme/data-display/Table/Table.d.ts +3 -0
- package/lib/theme/data-display/Tabs/Tabs.config.d.ts +68 -0
- package/lib/theme/data-display/Tabs/Tabs.d.ts +3 -0
- package/lib/theme/data-display/Tag/Tag.config.d.ts +491 -0
- package/lib/theme/data-display/Tag/Tag.d.ts +3 -0
- package/lib/theme/data-display/index.d.ts +2 -0
- package/lib/theme/feedback/Progress/Progress.config.d.ts +51 -0
- package/lib/theme/feedback/Progress/Progress.d.ts +11 -0
- package/lib/theme/feedback/Progress/Progress.utils.d.ts +8 -0
- package/lib/theme/feedback/Skeleton/Skeleton.config.d.ts +15 -0
- package/lib/theme/feedback/Skeleton/Skeleton.d.ts +4 -0
- package/lib/theme/feedback/Spinner/Spinner.config.d.ts +27 -0
- package/lib/theme/feedback/Spinner/Spinner.d.ts +3 -0
- package/lib/theme/foundations/colors.d.ts +213 -0
- package/lib/theme/hooks/UseMediaQuery/UseMediaQuery.d.ts +3 -0
- package/lib/theme/hooks/UseRadioGroup/UseRadioGroup.d.ts +3 -0
- package/lib/theme/index.d.ts +3946 -0
- package/lib/theme/layout/Box/Box.d.ts +3 -0
- package/lib/theme/layout/Container/Container.config.d.ts +33 -0
- package/lib/theme/layout/Container/Container.d.ts +3 -0
- package/lib/theme/layout/Flex/Flex.d.ts +1 -0
- package/lib/theme/layout/Grid/Grid.d.ts +49 -0
- package/lib/theme/layout/Grid/GridItem.d.ts +5 -0
- package/lib/theme/layout/Grid/index.d.ts +2 -0
- package/lib/theme/layout/Show-Hide/Show-Hide.config.d.ts +11 -0
- package/lib/theme/layout/Show-Hide/Show-Hide.d.ts +5 -0
- package/lib/theme/layout/Stack/Stack.d.ts +1 -0
- package/lib/theme/media/Icon/Icon.config.d.ts +21 -0
- package/lib/theme/media/Icon/Icon.d.ts +3 -0
- package/lib/theme/media/Image/Image.d.ts +3 -0
- package/lib/theme/navigation/Breadcrumb/Breadcrumb.d.ts +4 -0
- package/lib/theme/navigation/Link/Link.config.d.ts +31 -0
- package/lib/theme/navigation/Link/Link.d.ts +3 -0
- package/lib/theme/navigation/Stepper/Stepper.config.d.ts +26 -0
- package/lib/theme/navigation/Stepper/Stepper.d.ts +4 -0
- package/lib/theme/overlay/Drawer/Drawer.config.d.ts +72 -0
- package/lib/theme/overlay/Drawer/Drawer.d.ts +3 -0
- package/lib/theme/overlay/Drawer/index.d.ts +2 -0
- package/lib/theme/overlay/Modal/Modal.config.d.ts +106 -0
- package/lib/theme/overlay/Modal/Modal.d.ts +3 -0
- package/lib/theme/overlay/Tooltip/Tooltip.config.d.ts +17 -0
- package/lib/theme/overlay/Tooltip/Tooltip.d.ts +3 -0
- package/lib/theme/typography/Heading/Heading.config.d.ts +48 -0
- package/lib/theme/typography/Heading/Heading.d.ts +3 -0
- package/lib/theme/typography/Text/Text.config.d.ts +37 -0
- package/lib/theme/typography/Text/Text.d.ts +3 -0
- package/lib/utils/utils.storybook.d.ts +24 -0
- package/package.json +1 -1
package/index.mjs
ADDED
|
@@ -0,0 +1,4203 @@
|
|
|
1
|
+
import { defineStyleConfig as re, createMultiStyleConfigHelpers as Oe, cssVar as Je, baseTheme as Ot, useTheme as Eo, Box as qe, Flex as Fo, Show as Bo, Hide as Io, Checkbox as zo, Icon as At, Progress as Po, forwardRef as Do, useRadioGroupContext as Mo, useRadio as $o, chakra as Oo, ChakraBaseProvider as Ao } from "@chakra-ui/react";
|
|
2
|
+
import { Accordion as li, AccordionButton as di, AccordionIcon as ci, AccordionItem as ui, AccordionPanel as fi, Box as pi, Breadcrumb as gi, BreadcrumbItem as hi, BreadcrumbLink as bi, BreadcrumbSeparator as mi, Button as vi, CheckboxGroup as yi, Container as xi, Drawer as Si, DrawerBody as ki, DrawerCloseButton as wi, DrawerContent as _i, DrawerFooter as Ci, DrawerHeader as Ti, DrawerOverlay as Ri, Flex as Ei, FormControl as Fi, FormErrorMessage as Bi, FormHelperText as Ii, FormLabel as zi, HStack as Pi, Heading as Di, Icon as Mi, IconButton as $i, Image as Oi, Input as Ai, InputGroup as Wi, InputLeftElement as ji, InputRightElement as Gi, Link as Li, List as Ni, ListIcon as Yi, ListItem as Hi, Menu as Vi, MenuButton as Xi, MenuCommand as Ui, MenuDivider as qi, MenuGroup as Ki, MenuItem as Ji, MenuItemOption as Zi, MenuList as Qi, MenuOptionGroup as es, Modal as rs, ModalBody as ts, ModalCloseButton as os, ModalContent as ns, ModalFooter as as, ModalHeader as is, ModalOverlay as ss, OrderedList as ls, RadioGroup as ds, Select as cs, Skeleton as us, SkeletonCircle as fs, SkeletonText as ps, Slider as gs, SliderFilledTrack as hs, SliderMark as bs, SliderThumb as ms, SliderTrack as vs, Spacer as ys, Spinner as xs, Stack as Ss, Step as ks, StepDescription as ws, StepIcon as _s, StepIndicator as Cs, StepNumber as Ts, StepSeparator as Rs, StepStatus as Es, StepTitle as Fs, Stepper as Bs, Tab as Is, TabList as zs, TabPanel as Ps, TabPanels as Ds, Table as Ms, TableCaption as $s, TableContainer as Os, Tabs as As, Tag as Ws, TagCloseButton as js, TagLabel as Gs, TagLeftIcon as Ls, TagRightIcon as Ns, Tbody as Ys, Td as Hs, Text as Vs, Tfoot as Xs, Th as Us, Thead as qs, Tooltip as Ks, Tr as Js, UnorderedList as Zs, VStack as Qs, VisuallyHidden as el, extendBaseTheme as rl, useDisclosure as tl, useMediaQuery as ol, useRadioGroup as nl, useSteps as al, useTab as il, useToken as sl } from "@chakra-ui/react";
|
|
3
|
+
import ft, { createContext as Wo, useContext as jo, forwardRef as Go } from "react";
|
|
4
|
+
import { Check as Wt } from "@phosphor-icons/react";
|
|
5
|
+
import { Global as Lo } from "@emotion/react";
|
|
6
|
+
import { default as dl } from "@emotion/styled";
|
|
7
|
+
var wr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
8
|
+
function No(e) {
|
|
9
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
10
|
+
}
|
|
11
|
+
var at = { exports: {} }, _r = {};
|
|
12
|
+
/**
|
|
13
|
+
* @license React
|
|
14
|
+
* react-jsx-dev-runtime.production.min.js
|
|
15
|
+
*
|
|
16
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
17
|
+
*
|
|
18
|
+
* This source code is licensed under the MIT license found in the
|
|
19
|
+
* LICENSE file in the root directory of this source tree.
|
|
20
|
+
*/
|
|
21
|
+
var _t;
|
|
22
|
+
function Yo() {
|
|
23
|
+
if (_t)
|
|
24
|
+
return _r;
|
|
25
|
+
_t = 1;
|
|
26
|
+
var e = Symbol.for("react.fragment");
|
|
27
|
+
return _r.Fragment = e, _r.jsxDEV = void 0, _r;
|
|
28
|
+
}
|
|
29
|
+
var Cr = {};
|
|
30
|
+
/**
|
|
31
|
+
* @license React
|
|
32
|
+
* react-jsx-dev-runtime.development.js
|
|
33
|
+
*
|
|
34
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
35
|
+
*
|
|
36
|
+
* This source code is licensed under the MIT license found in the
|
|
37
|
+
* LICENSE file in the root directory of this source tree.
|
|
38
|
+
*/
|
|
39
|
+
var Ct;
|
|
40
|
+
function Ho() {
|
|
41
|
+
return Ct || (Ct = 1, process.env.NODE_ENV !== "production" && function() {
|
|
42
|
+
var e = ft, a = Symbol.for("react.element"), l = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), p = Symbol.for("react.strict_mode"), v = Symbol.for("react.profiler"), R = Symbol.for("react.provider"), F = Symbol.for("react.context"), y = Symbol.for("react.forward_ref"), $ = Symbol.for("react.suspense"), O = Symbol.for("react.suspense_list"), C = Symbol.for("react.memo"), W = Symbol.for("react.lazy"), H = Symbol.for("react.offscreen"), V = Symbol.iterator, te = "@@iterator";
|
|
43
|
+
function oe(t) {
|
|
44
|
+
if (t === null || typeof t != "object")
|
|
45
|
+
return null;
|
|
46
|
+
var s = V && t[V] || t[te];
|
|
47
|
+
return typeof s == "function" ? s : null;
|
|
48
|
+
}
|
|
49
|
+
var X = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
50
|
+
function I(t) {
|
|
51
|
+
{
|
|
52
|
+
for (var s = arguments.length, d = new Array(s > 1 ? s - 1 : 0), f = 1; f < s; f++)
|
|
53
|
+
d[f - 1] = arguments[f];
|
|
54
|
+
_e("error", t, d);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
function _e(t, s, d) {
|
|
58
|
+
{
|
|
59
|
+
var f = X.ReactDebugCurrentFrame, x = f.getStackAddendum();
|
|
60
|
+
x !== "" && (s += "%s", d = d.concat([x]));
|
|
61
|
+
var T = d.map(function(h) {
|
|
62
|
+
return String(h);
|
|
63
|
+
});
|
|
64
|
+
T.unshift("Warning: " + s), Function.prototype.apply.call(console[t], console, T);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
var Ce = !1, zr = !1, Pr = !1, Dr = !1, Mr = !1, Ze;
|
|
68
|
+
Ze = Symbol.for("react.module.reference");
|
|
69
|
+
function $r(t) {
|
|
70
|
+
return !!(typeof t == "string" || typeof t == "function" || t === u || t === v || Mr || t === p || t === $ || t === O || Dr || t === H || Ce || zr || Pr || typeof t == "object" && t !== null && (t.$$typeof === W || t.$$typeof === C || t.$$typeof === R || t.$$typeof === F || t.$$typeof === y || // This needs to include all possible module reference object
|
|
71
|
+
// types supported by any Flight configuration anywhere since
|
|
72
|
+
// we don't know which Flight build this will end up being used
|
|
73
|
+
// with.
|
|
74
|
+
t.$$typeof === Ze || t.getModuleId !== void 0));
|
|
75
|
+
}
|
|
76
|
+
function Or(t, s, d) {
|
|
77
|
+
var f = t.displayName;
|
|
78
|
+
if (f)
|
|
79
|
+
return f;
|
|
80
|
+
var x = s.displayName || s.name || "";
|
|
81
|
+
return x !== "" ? d + "(" + x + ")" : d;
|
|
82
|
+
}
|
|
83
|
+
function Qe(t) {
|
|
84
|
+
return t.displayName || "Context";
|
|
85
|
+
}
|
|
86
|
+
function q(t) {
|
|
87
|
+
if (t == null)
|
|
88
|
+
return null;
|
|
89
|
+
if (typeof t.tag == "number" && I("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
|
|
90
|
+
return t.displayName || t.name || null;
|
|
91
|
+
if (typeof t == "string")
|
|
92
|
+
return t;
|
|
93
|
+
switch (t) {
|
|
94
|
+
case u:
|
|
95
|
+
return "Fragment";
|
|
96
|
+
case l:
|
|
97
|
+
return "Portal";
|
|
98
|
+
case v:
|
|
99
|
+
return "Profiler";
|
|
100
|
+
case p:
|
|
101
|
+
return "StrictMode";
|
|
102
|
+
case $:
|
|
103
|
+
return "Suspense";
|
|
104
|
+
case O:
|
|
105
|
+
return "SuspenseList";
|
|
106
|
+
}
|
|
107
|
+
if (typeof t == "object")
|
|
108
|
+
switch (t.$$typeof) {
|
|
109
|
+
case F:
|
|
110
|
+
var s = t;
|
|
111
|
+
return Qe(s) + ".Consumer";
|
|
112
|
+
case R:
|
|
113
|
+
var d = t;
|
|
114
|
+
return Qe(d._context) + ".Provider";
|
|
115
|
+
case y:
|
|
116
|
+
return Or(t, t.render, "ForwardRef");
|
|
117
|
+
case C:
|
|
118
|
+
var f = t.displayName || null;
|
|
119
|
+
return f !== null ? f : q(t.type) || "Memo";
|
|
120
|
+
case W: {
|
|
121
|
+
var x = t, T = x._payload, h = x._init;
|
|
122
|
+
try {
|
|
123
|
+
return q(h(T));
|
|
124
|
+
} catch {
|
|
125
|
+
return null;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
return null;
|
|
130
|
+
}
|
|
131
|
+
var se = Object.assign, ve = 0, er, rr, tr, or, nr, ar, ir;
|
|
132
|
+
function E() {
|
|
133
|
+
}
|
|
134
|
+
E.__reactDisabledLog = !0;
|
|
135
|
+
function sr() {
|
|
136
|
+
{
|
|
137
|
+
if (ve === 0) {
|
|
138
|
+
er = console.log, rr = console.info, tr = console.warn, or = console.error, nr = console.group, ar = console.groupCollapsed, ir = console.groupEnd;
|
|
139
|
+
var t = {
|
|
140
|
+
configurable: !0,
|
|
141
|
+
enumerable: !0,
|
|
142
|
+
value: E,
|
|
143
|
+
writable: !0
|
|
144
|
+
};
|
|
145
|
+
Object.defineProperties(console, {
|
|
146
|
+
info: t,
|
|
147
|
+
log: t,
|
|
148
|
+
warn: t,
|
|
149
|
+
error: t,
|
|
150
|
+
group: t,
|
|
151
|
+
groupCollapsed: t,
|
|
152
|
+
groupEnd: t
|
|
153
|
+
});
|
|
154
|
+
}
|
|
155
|
+
ve++;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
function Ar() {
|
|
159
|
+
{
|
|
160
|
+
if (ve--, ve === 0) {
|
|
161
|
+
var t = {
|
|
162
|
+
configurable: !0,
|
|
163
|
+
enumerable: !0,
|
|
164
|
+
writable: !0
|
|
165
|
+
};
|
|
166
|
+
Object.defineProperties(console, {
|
|
167
|
+
log: se({}, t, {
|
|
168
|
+
value: er
|
|
169
|
+
}),
|
|
170
|
+
info: se({}, t, {
|
|
171
|
+
value: rr
|
|
172
|
+
}),
|
|
173
|
+
warn: se({}, t, {
|
|
174
|
+
value: tr
|
|
175
|
+
}),
|
|
176
|
+
error: se({}, t, {
|
|
177
|
+
value: or
|
|
178
|
+
}),
|
|
179
|
+
group: se({}, t, {
|
|
180
|
+
value: nr
|
|
181
|
+
}),
|
|
182
|
+
groupCollapsed: se({}, t, {
|
|
183
|
+
value: ar
|
|
184
|
+
}),
|
|
185
|
+
groupEnd: se({}, t, {
|
|
186
|
+
value: ir
|
|
187
|
+
})
|
|
188
|
+
});
|
|
189
|
+
}
|
|
190
|
+
ve < 0 && I("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
var le = X.ReactCurrentDispatcher, Te;
|
|
194
|
+
function ne(t, s, d) {
|
|
195
|
+
{
|
|
196
|
+
if (Te === void 0)
|
|
197
|
+
try {
|
|
198
|
+
throw Error();
|
|
199
|
+
} catch (x) {
|
|
200
|
+
var f = x.stack.trim().match(/\n( *(at )?)/);
|
|
201
|
+
Te = f && f[1] || "";
|
|
202
|
+
}
|
|
203
|
+
return `
|
|
204
|
+
` + Te + t;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
var Re = !1, ge;
|
|
208
|
+
{
|
|
209
|
+
var lr = typeof WeakMap == "function" ? WeakMap : Map;
|
|
210
|
+
ge = new lr();
|
|
211
|
+
}
|
|
212
|
+
function Ae(t, s) {
|
|
213
|
+
if (!t || Re)
|
|
214
|
+
return "";
|
|
215
|
+
{
|
|
216
|
+
var d = ge.get(t);
|
|
217
|
+
if (d !== void 0)
|
|
218
|
+
return d;
|
|
219
|
+
}
|
|
220
|
+
var f;
|
|
221
|
+
Re = !0;
|
|
222
|
+
var x = Error.prepareStackTrace;
|
|
223
|
+
Error.prepareStackTrace = void 0;
|
|
224
|
+
var T;
|
|
225
|
+
T = le.current, le.current = null, sr();
|
|
226
|
+
try {
|
|
227
|
+
if (s) {
|
|
228
|
+
var h = function() {
|
|
229
|
+
throw Error();
|
|
230
|
+
};
|
|
231
|
+
if (Object.defineProperty(h.prototype, "props", {
|
|
232
|
+
set: function() {
|
|
233
|
+
throw Error();
|
|
234
|
+
}
|
|
235
|
+
}), typeof Reflect == "object" && Reflect.construct) {
|
|
236
|
+
try {
|
|
237
|
+
Reflect.construct(h, []);
|
|
238
|
+
} catch (j) {
|
|
239
|
+
f = j;
|
|
240
|
+
}
|
|
241
|
+
Reflect.construct(t, [], h);
|
|
242
|
+
} else {
|
|
243
|
+
try {
|
|
244
|
+
h.call();
|
|
245
|
+
} catch (j) {
|
|
246
|
+
f = j;
|
|
247
|
+
}
|
|
248
|
+
t.call(h.prototype);
|
|
249
|
+
}
|
|
250
|
+
} else {
|
|
251
|
+
try {
|
|
252
|
+
throw Error();
|
|
253
|
+
} catch (j) {
|
|
254
|
+
f = j;
|
|
255
|
+
}
|
|
256
|
+
t();
|
|
257
|
+
}
|
|
258
|
+
} catch (j) {
|
|
259
|
+
if (j && f && typeof j.stack == "string") {
|
|
260
|
+
for (var g = j.stack.split(`
|
|
261
|
+
`), G = f.stack.split(`
|
|
262
|
+
`), M = g.length - 1, A = G.length - 1; M >= 1 && A >= 0 && g[M] !== G[A]; )
|
|
263
|
+
A--;
|
|
264
|
+
for (; M >= 1 && A >= 0; M--, A--)
|
|
265
|
+
if (g[M] !== G[A]) {
|
|
266
|
+
if (M !== 1 || A !== 1)
|
|
267
|
+
do
|
|
268
|
+
if (M--, A--, A < 0 || g[M] !== G[A]) {
|
|
269
|
+
var Y = `
|
|
270
|
+
` + g[M].replace(" at new ", " at ");
|
|
271
|
+
return t.displayName && Y.includes("<anonymous>") && (Y = Y.replace("<anonymous>", t.displayName)), typeof t == "function" && ge.set(t, Y), Y;
|
|
272
|
+
}
|
|
273
|
+
while (M >= 1 && A >= 0);
|
|
274
|
+
break;
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
} finally {
|
|
278
|
+
Re = !1, le.current = T, Ar(), Error.prepareStackTrace = x;
|
|
279
|
+
}
|
|
280
|
+
var be = t ? t.displayName || t.name : "", fe = be ? ne(be) : "";
|
|
281
|
+
return typeof t == "function" && ge.set(t, fe), fe;
|
|
282
|
+
}
|
|
283
|
+
function Wr(t, s, d) {
|
|
284
|
+
return Ae(t, !1);
|
|
285
|
+
}
|
|
286
|
+
function jr(t) {
|
|
287
|
+
var s = t.prototype;
|
|
288
|
+
return !!(s && s.isReactComponent);
|
|
289
|
+
}
|
|
290
|
+
function Ee(t, s, d) {
|
|
291
|
+
if (t == null)
|
|
292
|
+
return "";
|
|
293
|
+
if (typeof t == "function")
|
|
294
|
+
return Ae(t, jr(t));
|
|
295
|
+
if (typeof t == "string")
|
|
296
|
+
return ne(t);
|
|
297
|
+
switch (t) {
|
|
298
|
+
case $:
|
|
299
|
+
return ne("Suspense");
|
|
300
|
+
case O:
|
|
301
|
+
return ne("SuspenseList");
|
|
302
|
+
}
|
|
303
|
+
if (typeof t == "object")
|
|
304
|
+
switch (t.$$typeof) {
|
|
305
|
+
case y:
|
|
306
|
+
return Wr(t.render);
|
|
307
|
+
case C:
|
|
308
|
+
return Ee(t.type, s, d);
|
|
309
|
+
case W: {
|
|
310
|
+
var f = t, x = f._payload, T = f._init;
|
|
311
|
+
try {
|
|
312
|
+
return Ee(T(x), s, d);
|
|
313
|
+
} catch {
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
return "";
|
|
318
|
+
}
|
|
319
|
+
var ye = Object.prototype.hasOwnProperty, dr = {}, cr = X.ReactDebugCurrentFrame;
|
|
320
|
+
function Fe(t) {
|
|
321
|
+
if (t) {
|
|
322
|
+
var s = t._owner, d = Ee(t.type, t._source, s ? s.type : null);
|
|
323
|
+
cr.setExtraStackFrame(d);
|
|
324
|
+
} else
|
|
325
|
+
cr.setExtraStackFrame(null);
|
|
326
|
+
}
|
|
327
|
+
function Be(t, s, d, f, x) {
|
|
328
|
+
{
|
|
329
|
+
var T = Function.call.bind(ye);
|
|
330
|
+
for (var h in t)
|
|
331
|
+
if (T(t, h)) {
|
|
332
|
+
var g = void 0;
|
|
333
|
+
try {
|
|
334
|
+
if (typeof t[h] != "function") {
|
|
335
|
+
var G = Error((f || "React class") + ": " + d + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
336
|
+
throw G.name = "Invariant Violation", G;
|
|
337
|
+
}
|
|
338
|
+
g = t[h](s, h, f, d, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
339
|
+
} catch (M) {
|
|
340
|
+
g = M;
|
|
341
|
+
}
|
|
342
|
+
g && !(g instanceof Error) && (Fe(x), I("%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).", f || "React class", d, h, typeof g), Fe(null)), g instanceof Error && !(g.message in dr) && (dr[g.message] = !0, Fe(x), I("Failed %s type: %s", d, g.message), Fe(null));
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
var We = Array.isArray;
|
|
347
|
+
function he(t) {
|
|
348
|
+
return We(t);
|
|
349
|
+
}
|
|
350
|
+
function Q(t) {
|
|
351
|
+
{
|
|
352
|
+
var s = typeof Symbol == "function" && Symbol.toStringTag, d = s && t[Symbol.toStringTag] || t.constructor.name || "Object";
|
|
353
|
+
return d;
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
function ur(t) {
|
|
357
|
+
try {
|
|
358
|
+
return je(t), !1;
|
|
359
|
+
} catch {
|
|
360
|
+
return !0;
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
function je(t) {
|
|
364
|
+
return "" + t;
|
|
365
|
+
}
|
|
366
|
+
function fr(t) {
|
|
367
|
+
if (ur(t))
|
|
368
|
+
return I("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Q(t)), je(t);
|
|
369
|
+
}
|
|
370
|
+
var xe = X.ReactCurrentOwner, Ie = {
|
|
371
|
+
key: !0,
|
|
372
|
+
ref: !0,
|
|
373
|
+
__self: !0,
|
|
374
|
+
__source: !0
|
|
375
|
+
}, Ge, Le, ze;
|
|
376
|
+
ze = {};
|
|
377
|
+
function pr(t) {
|
|
378
|
+
if (ye.call(t, "ref")) {
|
|
379
|
+
var s = Object.getOwnPropertyDescriptor(t, "ref").get;
|
|
380
|
+
if (s && s.isReactWarning)
|
|
381
|
+
return !1;
|
|
382
|
+
}
|
|
383
|
+
return t.ref !== void 0;
|
|
384
|
+
}
|
|
385
|
+
function gr(t) {
|
|
386
|
+
if (ye.call(t, "key")) {
|
|
387
|
+
var s = Object.getOwnPropertyDescriptor(t, "key").get;
|
|
388
|
+
if (s && s.isReactWarning)
|
|
389
|
+
return !1;
|
|
390
|
+
}
|
|
391
|
+
return t.key !== void 0;
|
|
392
|
+
}
|
|
393
|
+
function Gr(t, s) {
|
|
394
|
+
if (typeof t.ref == "string" && xe.current && s && xe.current.stateNode !== s) {
|
|
395
|
+
var d = q(xe.current.type);
|
|
396
|
+
ze[d] || (I('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', q(xe.current.type), t.ref), ze[d] = !0);
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
function Lr(t, s) {
|
|
400
|
+
{
|
|
401
|
+
var d = function() {
|
|
402
|
+
Ge || (Ge = !0, I("%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)", s));
|
|
403
|
+
};
|
|
404
|
+
d.isReactWarning = !0, Object.defineProperty(t, "key", {
|
|
405
|
+
get: d,
|
|
406
|
+
configurable: !0
|
|
407
|
+
});
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
function de(t, s) {
|
|
411
|
+
{
|
|
412
|
+
var d = function() {
|
|
413
|
+
Le || (Le = !0, I("%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)", s));
|
|
414
|
+
};
|
|
415
|
+
d.isReactWarning = !0, Object.defineProperty(t, "ref", {
|
|
416
|
+
get: d,
|
|
417
|
+
configurable: !0
|
|
418
|
+
});
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
var Pe = function(t, s, d, f, x, T, h) {
|
|
422
|
+
var g = {
|
|
423
|
+
// This tag allows us to uniquely identify this as a React Element
|
|
424
|
+
$$typeof: a,
|
|
425
|
+
// Built-in properties that belong on the element
|
|
426
|
+
type: t,
|
|
427
|
+
key: s,
|
|
428
|
+
ref: d,
|
|
429
|
+
props: h,
|
|
430
|
+
// Record the component responsible for creating this element.
|
|
431
|
+
_owner: T
|
|
432
|
+
};
|
|
433
|
+
return g._store = {}, Object.defineProperty(g._store, "validated", {
|
|
434
|
+
configurable: !1,
|
|
435
|
+
enumerable: !1,
|
|
436
|
+
writable: !0,
|
|
437
|
+
value: !1
|
|
438
|
+
}), Object.defineProperty(g, "_self", {
|
|
439
|
+
configurable: !1,
|
|
440
|
+
enumerable: !1,
|
|
441
|
+
writable: !1,
|
|
442
|
+
value: f
|
|
443
|
+
}), Object.defineProperty(g, "_source", {
|
|
444
|
+
configurable: !1,
|
|
445
|
+
enumerable: !1,
|
|
446
|
+
writable: !1,
|
|
447
|
+
value: x
|
|
448
|
+
}), Object.freeze && (Object.freeze(g.props), Object.freeze(g)), g;
|
|
449
|
+
};
|
|
450
|
+
function Nr(t, s, d, f, x) {
|
|
451
|
+
{
|
|
452
|
+
var T, h = {}, g = null, G = null;
|
|
453
|
+
d !== void 0 && (fr(d), g = "" + d), gr(s) && (fr(s.key), g = "" + s.key), pr(s) && (G = s.ref, Gr(s, x));
|
|
454
|
+
for (T in s)
|
|
455
|
+
ye.call(s, T) && !Ie.hasOwnProperty(T) && (h[T] = s[T]);
|
|
456
|
+
if (t && t.defaultProps) {
|
|
457
|
+
var M = t.defaultProps;
|
|
458
|
+
for (T in M)
|
|
459
|
+
h[T] === void 0 && (h[T] = M[T]);
|
|
460
|
+
}
|
|
461
|
+
if (g || G) {
|
|
462
|
+
var A = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
463
|
+
g && Lr(h, A), G && de(h, A);
|
|
464
|
+
}
|
|
465
|
+
return Pe(t, g, G, x, f, xe.current, h);
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
var De = X.ReactCurrentOwner, hr = X.ReactDebugCurrentFrame;
|
|
469
|
+
function ce(t) {
|
|
470
|
+
if (t) {
|
|
471
|
+
var s = t._owner, d = Ee(t.type, t._source, s ? s.type : null);
|
|
472
|
+
hr.setExtraStackFrame(d);
|
|
473
|
+
} else
|
|
474
|
+
hr.setExtraStackFrame(null);
|
|
475
|
+
}
|
|
476
|
+
var ue;
|
|
477
|
+
ue = !1;
|
|
478
|
+
function Ne(t) {
|
|
479
|
+
return typeof t == "object" && t !== null && t.$$typeof === a;
|
|
480
|
+
}
|
|
481
|
+
function ae() {
|
|
482
|
+
{
|
|
483
|
+
if (De.current) {
|
|
484
|
+
var t = q(De.current.type);
|
|
485
|
+
if (t)
|
|
486
|
+
return `
|
|
487
|
+
|
|
488
|
+
Check the render method of \`` + t + "`.";
|
|
489
|
+
}
|
|
490
|
+
return "";
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
function Yr(t) {
|
|
494
|
+
{
|
|
495
|
+
if (t !== void 0) {
|
|
496
|
+
var s = t.fileName.replace(/^.*[\\\/]/, ""), d = t.lineNumber;
|
|
497
|
+
return `
|
|
498
|
+
|
|
499
|
+
Check your code at ` + s + ":" + d + ".";
|
|
500
|
+
}
|
|
501
|
+
return "";
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
var br = {};
|
|
505
|
+
function Hr(t) {
|
|
506
|
+
{
|
|
507
|
+
var s = ae();
|
|
508
|
+
if (!s) {
|
|
509
|
+
var d = typeof t == "string" ? t : t.displayName || t.name;
|
|
510
|
+
d && (s = `
|
|
511
|
+
|
|
512
|
+
Check the top-level render call using <` + d + ">.");
|
|
513
|
+
}
|
|
514
|
+
return s;
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
function mr(t, s) {
|
|
518
|
+
{
|
|
519
|
+
if (!t._store || t._store.validated || t.key != null)
|
|
520
|
+
return;
|
|
521
|
+
t._store.validated = !0;
|
|
522
|
+
var d = Hr(s);
|
|
523
|
+
if (br[d])
|
|
524
|
+
return;
|
|
525
|
+
br[d] = !0;
|
|
526
|
+
var f = "";
|
|
527
|
+
t && t._owner && t._owner !== De.current && (f = " It was passed a child from " + q(t._owner.type) + "."), ce(t), I('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', d, f), ce(null);
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
function vr(t, s) {
|
|
531
|
+
{
|
|
532
|
+
if (typeof t != "object")
|
|
533
|
+
return;
|
|
534
|
+
if (he(t))
|
|
535
|
+
for (var d = 0; d < t.length; d++) {
|
|
536
|
+
var f = t[d];
|
|
537
|
+
Ne(f) && mr(f, s);
|
|
538
|
+
}
|
|
539
|
+
else if (Ne(t))
|
|
540
|
+
t._store && (t._store.validated = !0);
|
|
541
|
+
else if (t) {
|
|
542
|
+
var x = oe(t);
|
|
543
|
+
if (typeof x == "function" && x !== t.entries)
|
|
544
|
+
for (var T = x.call(t), h; !(h = T.next()).done; )
|
|
545
|
+
Ne(h.value) && mr(h.value, s);
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
function ee(t) {
|
|
550
|
+
{
|
|
551
|
+
var s = t.type;
|
|
552
|
+
if (s == null || typeof s == "string")
|
|
553
|
+
return;
|
|
554
|
+
var d;
|
|
555
|
+
if (typeof s == "function")
|
|
556
|
+
d = s.propTypes;
|
|
557
|
+
else if (typeof s == "object" && (s.$$typeof === y || // Note: Memo only checks outer props here.
|
|
558
|
+
// Inner props are checked in the reconciler.
|
|
559
|
+
s.$$typeof === C))
|
|
560
|
+
d = s.propTypes;
|
|
561
|
+
else
|
|
562
|
+
return;
|
|
563
|
+
if (d) {
|
|
564
|
+
var f = q(s);
|
|
565
|
+
Be(d, t.props, "prop", f, t);
|
|
566
|
+
} else if (s.PropTypes !== void 0 && !ue) {
|
|
567
|
+
ue = !0;
|
|
568
|
+
var x = q(s);
|
|
569
|
+
I("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", x || "Unknown");
|
|
570
|
+
}
|
|
571
|
+
typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved && I("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
function Vr(t) {
|
|
575
|
+
{
|
|
576
|
+
for (var s = Object.keys(t.props), d = 0; d < s.length; d++) {
|
|
577
|
+
var f = s[d];
|
|
578
|
+
if (f !== "children" && f !== "key") {
|
|
579
|
+
ce(t), I("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", f), ce(null);
|
|
580
|
+
break;
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
t.ref !== null && (ce(t), I("Invalid attribute `ref` supplied to `React.Fragment`."), ce(null));
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
var yr = {};
|
|
587
|
+
function Xr(t, s, d, f, x, T) {
|
|
588
|
+
{
|
|
589
|
+
var h = $r(t);
|
|
590
|
+
if (!h) {
|
|
591
|
+
var g = "";
|
|
592
|
+
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (g += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
593
|
+
var G = Yr(x);
|
|
594
|
+
G ? g += G : g += ae();
|
|
595
|
+
var M;
|
|
596
|
+
t === null ? M = "null" : he(t) ? M = "array" : t !== void 0 && t.$$typeof === a ? (M = "<" + (q(t.type) || "Unknown") + " />", g = " Did you accidentally export a JSX literal instead of a component?") : M = typeof t, I("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", M, g);
|
|
597
|
+
}
|
|
598
|
+
var A = Nr(t, s, d, x, T);
|
|
599
|
+
if (A == null)
|
|
600
|
+
return A;
|
|
601
|
+
if (h) {
|
|
602
|
+
var Y = s.children;
|
|
603
|
+
if (Y !== void 0)
|
|
604
|
+
if (f)
|
|
605
|
+
if (he(Y)) {
|
|
606
|
+
for (var be = 0; be < Y.length; be++)
|
|
607
|
+
vr(Y[be], t);
|
|
608
|
+
Object.freeze && Object.freeze(Y);
|
|
609
|
+
} else
|
|
610
|
+
I("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
611
|
+
else
|
|
612
|
+
vr(Y, t);
|
|
613
|
+
}
|
|
614
|
+
if (ye.call(s, "key")) {
|
|
615
|
+
var fe = q(t), j = Object.keys(s).filter(function(He) {
|
|
616
|
+
return He !== "key";
|
|
617
|
+
}), Ye = j.length > 0 ? "{key: someKey, " + j.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
618
|
+
if (!yr[fe + Ye]) {
|
|
619
|
+
var Me = j.length > 0 ? "{" + j.join(": ..., ") + ": ...}" : "{}";
|
|
620
|
+
I(`A props object containing a "key" prop is being spread into JSX:
|
|
621
|
+
let props = %s;
|
|
622
|
+
<%s {...props} />
|
|
623
|
+
React keys must be passed directly to JSX without using spread:
|
|
624
|
+
let props = %s;
|
|
625
|
+
<%s key={someKey} {...props} />`, Ye, fe, Me, fe), yr[fe + Ye] = !0;
|
|
626
|
+
}
|
|
627
|
+
}
|
|
628
|
+
return t === u ? Vr(A) : ee(A), A;
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
var Ur = Xr;
|
|
632
|
+
Cr.Fragment = u, Cr.jsxDEV = Ur;
|
|
633
|
+
}()), Cr;
|
|
634
|
+
}
|
|
635
|
+
process.env.NODE_ENV === "production" ? at.exports = Yo() : at.exports = Ho();
|
|
636
|
+
var N = at.exports;
|
|
637
|
+
const Tt = ["redCS", "greenCS"], Vo = re({
|
|
638
|
+
// The styles all button have in common
|
|
639
|
+
baseStyle: {
|
|
640
|
+
fontFamily: "body",
|
|
641
|
+
fontWeight: "medium",
|
|
642
|
+
lineHeight: "body",
|
|
643
|
+
letterSpacing: "normal",
|
|
644
|
+
borderRadius: "50px",
|
|
645
|
+
// <-- border radius is same for all variants and sizes
|
|
646
|
+
border: "none",
|
|
647
|
+
_disabled: {
|
|
648
|
+
_hover: { cursor: "not-allowed" },
|
|
649
|
+
// This will keep the same height when the button has an icon while disabled
|
|
650
|
+
span: {
|
|
651
|
+
display: "inline-flex"
|
|
652
|
+
}
|
|
653
|
+
},
|
|
654
|
+
_focusVisible: {
|
|
655
|
+
outlineColor: "moonlight.light",
|
|
656
|
+
outlineWidth: "2px",
|
|
657
|
+
outlineStyle: "solid",
|
|
658
|
+
outlineOffset: "1px"
|
|
659
|
+
}
|
|
660
|
+
},
|
|
661
|
+
// Two sizes: sm and md
|
|
662
|
+
sizes: {
|
|
663
|
+
sm: {
|
|
664
|
+
fontSize: ["md", "lg"],
|
|
665
|
+
px: [3, 4],
|
|
666
|
+
// <-- px is short for paddingLeft and paddingRight
|
|
667
|
+
py: [1, 2],
|
|
668
|
+
// <-- py is short for paddingTop and paddingBottom
|
|
669
|
+
// keep padding uniform for icon buttons that share this config
|
|
670
|
+
"&:has(> svg:only-child)": {
|
|
671
|
+
px: 3,
|
|
672
|
+
py: 3,
|
|
673
|
+
svg: {
|
|
674
|
+
fontSize: "1rem"
|
|
675
|
+
}
|
|
676
|
+
},
|
|
677
|
+
svg: {
|
|
678
|
+
fontSize: "1.5rem"
|
|
679
|
+
}
|
|
680
|
+
},
|
|
681
|
+
md: {
|
|
682
|
+
fontSize: ["lg", "xl"],
|
|
683
|
+
px: [4, 6],
|
|
684
|
+
// <-- px is short for paddingLeft and paddingRight
|
|
685
|
+
py: [3, 4],
|
|
686
|
+
// <-- py is short for paddingTop and paddingBottom
|
|
687
|
+
// keep padding uniform for icon buttons that share this config
|
|
688
|
+
"&:has(> svg:only-child)": {
|
|
689
|
+
px: [3, 4],
|
|
690
|
+
py: [3, 4]
|
|
691
|
+
},
|
|
692
|
+
svg: {
|
|
693
|
+
fontSize: ["1.25rem", "1.5rem"]
|
|
694
|
+
}
|
|
695
|
+
},
|
|
696
|
+
wide: {
|
|
697
|
+
fontSize: "xl",
|
|
698
|
+
px: 12,
|
|
699
|
+
// <-- these values are tokens from the design system
|
|
700
|
+
py: 4,
|
|
701
|
+
// <-- these values are tokens from the design system
|
|
702
|
+
width: "100%",
|
|
703
|
+
// keep padding uniform for icon buttons that share this config
|
|
704
|
+
"&:has(> svg:only-child)": {
|
|
705
|
+
px: 4,
|
|
706
|
+
py: 4
|
|
707
|
+
},
|
|
708
|
+
svg: {
|
|
709
|
+
fontSize: "1.5rem"
|
|
710
|
+
}
|
|
711
|
+
}
|
|
712
|
+
},
|
|
713
|
+
// Two variants: primary and secondary
|
|
714
|
+
variants: {
|
|
715
|
+
// solid
|
|
716
|
+
primary: (e) => {
|
|
717
|
+
const { colorScheme: a } = e;
|
|
718
|
+
return Tt.includes(a) ? {
|
|
719
|
+
bg: `${a}.500`,
|
|
720
|
+
color: "tints.white",
|
|
721
|
+
":hover, &.hover": {
|
|
722
|
+
bg: `${a}.900`
|
|
723
|
+
},
|
|
724
|
+
":active, &.active": {
|
|
725
|
+
bg: `${a}.900`
|
|
726
|
+
},
|
|
727
|
+
":disabled": {
|
|
728
|
+
bg: "tints.lightGrey",
|
|
729
|
+
color: "tints.medGrey"
|
|
730
|
+
}
|
|
731
|
+
} : {
|
|
732
|
+
bg: "tints.white",
|
|
733
|
+
color: "tints.black",
|
|
734
|
+
":hover, &.hover": {
|
|
735
|
+
bg: "greenCS.50"
|
|
736
|
+
},
|
|
737
|
+
":active, &.active": {
|
|
738
|
+
bg: "greenCS.50"
|
|
739
|
+
},
|
|
740
|
+
":disabled": {
|
|
741
|
+
bg: "tints.lightGrey",
|
|
742
|
+
color: "tints.medGrey"
|
|
743
|
+
}
|
|
744
|
+
};
|
|
745
|
+
},
|
|
746
|
+
//outline
|
|
747
|
+
secondary: (e) => {
|
|
748
|
+
const { colorScheme: a } = e;
|
|
749
|
+
return Tt.includes(a) ? {
|
|
750
|
+
color: `${a}.500`,
|
|
751
|
+
boxShadow: (l) => `inset 0 0 0 2px ${l.colors[a][500]}`,
|
|
752
|
+
":hover, &.hover": {
|
|
753
|
+
color: `${a}.900`,
|
|
754
|
+
boxShadow: (l) => `inset 0 0 0 2px ${l.colors[a][900]}`
|
|
755
|
+
},
|
|
756
|
+
":active, &.active": {
|
|
757
|
+
color: `${a}.900`,
|
|
758
|
+
boxShadow: (l) => `inset 0 0 0 2px ${l.colors[a][900]}`
|
|
759
|
+
},
|
|
760
|
+
":disabled": {
|
|
761
|
+
color: "tints.lightGrey",
|
|
762
|
+
boxShadow: (l) => `inset 0 0 0 2px ${l.colors.tints.lightGrey}`,
|
|
763
|
+
opacity: 0.7
|
|
764
|
+
}
|
|
765
|
+
} : {
|
|
766
|
+
color: "tints.white",
|
|
767
|
+
boxShadow: (l) => `inset 0 0 0 2px ${l.colors.tints.white}`,
|
|
768
|
+
":hover, &.hover": {
|
|
769
|
+
color: "tints.white",
|
|
770
|
+
boxShadow: (l) => `inset 0 0 0 2px ${l.colors.greenCS[50]}`
|
|
771
|
+
},
|
|
772
|
+
":active, &.active": {
|
|
773
|
+
color: "tints.white",
|
|
774
|
+
boxShadow: (l) => `inset 0 0 0 2px ${l.colors.greenCS[50]}`
|
|
775
|
+
},
|
|
776
|
+
":disabled": {
|
|
777
|
+
color: "tints.lightGrey",
|
|
778
|
+
boxShadow: (l) => `inset 0 0 0 2px ${l.colors.tints.lightGrey}`,
|
|
779
|
+
opacity: 0.7
|
|
780
|
+
}
|
|
781
|
+
};
|
|
782
|
+
}
|
|
783
|
+
// tertiary = text/link button
|
|
784
|
+
},
|
|
785
|
+
// The default size and variant values
|
|
786
|
+
defaultProps: {
|
|
787
|
+
size: "md",
|
|
788
|
+
variant: "primary",
|
|
789
|
+
colorScheme: "greenCS"
|
|
790
|
+
}
|
|
791
|
+
});
|
|
792
|
+
function _(e, a = {}) {
|
|
793
|
+
let l = !1;
|
|
794
|
+
function u() {
|
|
795
|
+
if (!l) {
|
|
796
|
+
l = !0;
|
|
797
|
+
return;
|
|
798
|
+
}
|
|
799
|
+
throw new Error(
|
|
800
|
+
"[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?"
|
|
801
|
+
);
|
|
802
|
+
}
|
|
803
|
+
function p(...O) {
|
|
804
|
+
u();
|
|
805
|
+
for (const C of O)
|
|
806
|
+
a[C] = y(C);
|
|
807
|
+
return _(e, a);
|
|
808
|
+
}
|
|
809
|
+
function v(...O) {
|
|
810
|
+
for (const C of O)
|
|
811
|
+
C in a || (a[C] = y(C));
|
|
812
|
+
return _(e, a);
|
|
813
|
+
}
|
|
814
|
+
function R() {
|
|
815
|
+
return Object.fromEntries(
|
|
816
|
+
Object.entries(a).map(([C, W]) => [C, W.selector])
|
|
817
|
+
);
|
|
818
|
+
}
|
|
819
|
+
function F() {
|
|
820
|
+
return Object.fromEntries(
|
|
821
|
+
Object.entries(a).map(([C, W]) => [C, W.className])
|
|
822
|
+
);
|
|
823
|
+
}
|
|
824
|
+
function y(O) {
|
|
825
|
+
const H = `chakra-${(["container", "root"].includes(O ?? "") ? [e] : [e, O]).filter(Boolean).join("__")}`;
|
|
826
|
+
return {
|
|
827
|
+
className: H,
|
|
828
|
+
selector: `.${H}`,
|
|
829
|
+
toString: () => O
|
|
830
|
+
};
|
|
831
|
+
}
|
|
832
|
+
return {
|
|
833
|
+
parts: p,
|
|
834
|
+
toPart: y,
|
|
835
|
+
extend: v,
|
|
836
|
+
selectors: R,
|
|
837
|
+
classnames: F,
|
|
838
|
+
get keys() {
|
|
839
|
+
return Object.keys(a);
|
|
840
|
+
},
|
|
841
|
+
__type: {}
|
|
842
|
+
};
|
|
843
|
+
}
|
|
844
|
+
var Xo = _("accordion").parts("root", "container", "button", "panel").extend("icon");
|
|
845
|
+
_("alert").parts("title", "description", "container").extend("icon", "spinner");
|
|
846
|
+
_("avatar").parts("label", "badge", "container").extend("excessLabel", "group");
|
|
847
|
+
_("breadcrumb").parts("link", "item", "container").extend("separator");
|
|
848
|
+
_("button").parts();
|
|
849
|
+
var Uo = _("checkbox").parts("control", "icon", "container").extend("label");
|
|
850
|
+
_("progress").parts("track", "filledTrack").extend("label");
|
|
851
|
+
var qo = _("drawer").parts("overlay", "dialogContainer", "dialog").extend("header", "closeButton", "body", "footer");
|
|
852
|
+
_("editable").parts(
|
|
853
|
+
"preview",
|
|
854
|
+
"input",
|
|
855
|
+
"textarea"
|
|
856
|
+
);
|
|
857
|
+
var Ko = _("form").parts(
|
|
858
|
+
"container",
|
|
859
|
+
"requiredIndicator",
|
|
860
|
+
"helperText"
|
|
861
|
+
), Jo = _("formError").parts("text", "icon");
|
|
862
|
+
_("input").parts(
|
|
863
|
+
"addon",
|
|
864
|
+
"field",
|
|
865
|
+
"element",
|
|
866
|
+
"group"
|
|
867
|
+
);
|
|
868
|
+
_("list").parts("container", "item", "icon");
|
|
869
|
+
_("menu").parts("button", "list", "item").extend("groupTitle", "icon", "command", "divider");
|
|
870
|
+
var Zo = _("modal").parts("overlay", "dialogContainer", "dialog").extend("header", "closeButton", "body", "footer");
|
|
871
|
+
_("numberinput").parts(
|
|
872
|
+
"root",
|
|
873
|
+
"field",
|
|
874
|
+
"stepperGroup",
|
|
875
|
+
"stepper"
|
|
876
|
+
);
|
|
877
|
+
_("pininput").parts("field");
|
|
878
|
+
_("popover").parts("content", "header", "body", "footer").extend("popper", "arrow", "closeButton");
|
|
879
|
+
var Qo = _("progress").parts(
|
|
880
|
+
"label",
|
|
881
|
+
"filledTrack",
|
|
882
|
+
"track"
|
|
883
|
+
);
|
|
884
|
+
_("radio").parts(
|
|
885
|
+
"container",
|
|
886
|
+
"control",
|
|
887
|
+
"label"
|
|
888
|
+
);
|
|
889
|
+
var en = _("select").parts("field", "icon");
|
|
890
|
+
_("slider").parts(
|
|
891
|
+
"container",
|
|
892
|
+
"track",
|
|
893
|
+
"thumb",
|
|
894
|
+
"filledTrack",
|
|
895
|
+
"mark"
|
|
896
|
+
);
|
|
897
|
+
_("stat").parts(
|
|
898
|
+
"container",
|
|
899
|
+
"label",
|
|
900
|
+
"helpText",
|
|
901
|
+
"number",
|
|
902
|
+
"icon"
|
|
903
|
+
);
|
|
904
|
+
_("switch").parts(
|
|
905
|
+
"container",
|
|
906
|
+
"track",
|
|
907
|
+
"thumb"
|
|
908
|
+
);
|
|
909
|
+
var rn = _("table").parts(
|
|
910
|
+
"table",
|
|
911
|
+
"thead",
|
|
912
|
+
"tbody",
|
|
913
|
+
"tr",
|
|
914
|
+
"th",
|
|
915
|
+
"td",
|
|
916
|
+
"tfoot",
|
|
917
|
+
"caption"
|
|
918
|
+
), tn = _("tabs").parts(
|
|
919
|
+
"root",
|
|
920
|
+
"tab",
|
|
921
|
+
"tablist",
|
|
922
|
+
"tabpanel",
|
|
923
|
+
"tabpanels",
|
|
924
|
+
"indicator"
|
|
925
|
+
), on = _("tag").parts(
|
|
926
|
+
"container",
|
|
927
|
+
"label",
|
|
928
|
+
"closeButton"
|
|
929
|
+
);
|
|
930
|
+
_("card").parts(
|
|
931
|
+
"container",
|
|
932
|
+
"header",
|
|
933
|
+
"body",
|
|
934
|
+
"footer"
|
|
935
|
+
);
|
|
936
|
+
const { definePartsStyle: nn, defineMultiStyleConfig: an } = Oe(Uo.keys), sn = an({
|
|
937
|
+
baseStyle: nn({
|
|
938
|
+
container: {},
|
|
939
|
+
control: {
|
|
940
|
+
boxSize: 24,
|
|
941
|
+
padding: 0.5,
|
|
942
|
+
borderRadius: "6px",
|
|
943
|
+
borderStyle: "solid",
|
|
944
|
+
borderWidth: 1,
|
|
945
|
+
borderColor: "tints.uiGrey",
|
|
946
|
+
color: "transparent",
|
|
947
|
+
fontSize: "sm",
|
|
948
|
+
bg: "tints.white",
|
|
949
|
+
_focusVisible: {
|
|
950
|
+
outlineColor: "moonlight.light",
|
|
951
|
+
outlineWidth: "2px",
|
|
952
|
+
outlineStyle: "solid",
|
|
953
|
+
outlineOffset: "0"
|
|
954
|
+
},
|
|
955
|
+
_checked: {
|
|
956
|
+
borderColor: "viridian.base",
|
|
957
|
+
bg: "viridian.base",
|
|
958
|
+
color: "tints.white",
|
|
959
|
+
_hover: {
|
|
960
|
+
borderColor: "viridian.base",
|
|
961
|
+
bg: "viridian.base"
|
|
962
|
+
},
|
|
963
|
+
_disabled: {
|
|
964
|
+
borderColor: "viridian.base",
|
|
965
|
+
bg: "viridian.base"
|
|
966
|
+
}
|
|
967
|
+
},
|
|
968
|
+
_hover: {
|
|
969
|
+
borderColor: "tints.medGrey",
|
|
970
|
+
bg: "viridian.wash"
|
|
971
|
+
},
|
|
972
|
+
_disabled: {
|
|
973
|
+
borderColor: "tints.medGrey",
|
|
974
|
+
bg: "tints.lightGrey",
|
|
975
|
+
cursor: "not-allowed"
|
|
976
|
+
},
|
|
977
|
+
_invalid: {
|
|
978
|
+
borderColor: "utility.warning"
|
|
979
|
+
}
|
|
980
|
+
},
|
|
981
|
+
icon: {
|
|
982
|
+
boxSize: "100%"
|
|
983
|
+
},
|
|
984
|
+
// define the part you're going to style
|
|
985
|
+
label: {
|
|
986
|
+
fontSize: ["sm", "md"],
|
|
987
|
+
color: "tints.darkGrey"
|
|
988
|
+
}
|
|
989
|
+
}),
|
|
990
|
+
sizes: {
|
|
991
|
+
sm: {
|
|
992
|
+
control: {
|
|
993
|
+
boxSize: 24
|
|
994
|
+
}
|
|
995
|
+
},
|
|
996
|
+
md: {
|
|
997
|
+
control: {
|
|
998
|
+
boxSize: 32
|
|
999
|
+
}
|
|
1000
|
+
}
|
|
1001
|
+
},
|
|
1002
|
+
variants: {},
|
|
1003
|
+
defaultProps: {
|
|
1004
|
+
size: "sm"
|
|
1005
|
+
}
|
|
1006
|
+
});
|
|
1007
|
+
function jt(e) {
|
|
1008
|
+
const a = typeof e;
|
|
1009
|
+
return e != null && (a === "object" || a === "function") && !Array.isArray(e);
|
|
1010
|
+
}
|
|
1011
|
+
var Fr = { exports: {} };
|
|
1012
|
+
Fr.exports;
|
|
1013
|
+
(function(e, a) {
|
|
1014
|
+
var l = 200, u = "__lodash_hash_undefined__", p = 800, v = 16, R = 9007199254740991, F = "[object Arguments]", y = "[object Array]", $ = "[object AsyncFunction]", O = "[object Boolean]", C = "[object Date]", W = "[object Error]", H = "[object Function]", V = "[object GeneratorFunction]", te = "[object Map]", oe = "[object Number]", X = "[object Null]", I = "[object Object]", _e = "[object Proxy]", Ce = "[object RegExp]", zr = "[object Set]", Pr = "[object String]", Dr = "[object Undefined]", Mr = "[object WeakMap]", Ze = "[object ArrayBuffer]", $r = "[object DataView]", Or = "[object Float32Array]", Qe = "[object Float64Array]", q = "[object Int8Array]", se = "[object Int16Array]", ve = "[object Int32Array]", er = "[object Uint8Array]", rr = "[object Uint8ClampedArray]", tr = "[object Uint16Array]", or = "[object Uint32Array]", nr = /[\\^$.*+?()[\]{}|]/g, ar = /^\[object .+?Constructor\]$/, ir = /^(?:0|[1-9]\d*)$/, E = {};
|
|
1015
|
+
E[Or] = E[Qe] = E[q] = E[se] = E[ve] = E[er] = E[rr] = E[tr] = E[or] = !0, E[F] = E[y] = E[Ze] = E[O] = E[$r] = E[C] = E[W] = E[H] = E[te] = E[oe] = E[I] = E[Ce] = E[zr] = E[Pr] = E[Mr] = !1;
|
|
1016
|
+
var sr = typeof wr == "object" && wr && wr.Object === Object && wr, Ar = typeof self == "object" && self && self.Object === Object && self, le = sr || Ar || Function("return this")(), Te = a && !a.nodeType && a, ne = Te && !0 && e && !e.nodeType && e, Re = ne && ne.exports === Te, ge = Re && sr.process, lr = function() {
|
|
1017
|
+
try {
|
|
1018
|
+
var r = ne && ne.require && ne.require("util").types;
|
|
1019
|
+
return r || ge && ge.binding && ge.binding("util");
|
|
1020
|
+
} catch {
|
|
1021
|
+
}
|
|
1022
|
+
}(), Ae = lr && lr.isTypedArray;
|
|
1023
|
+
function Wr(r, o, i) {
|
|
1024
|
+
switch (i.length) {
|
|
1025
|
+
case 0:
|
|
1026
|
+
return r.call(o);
|
|
1027
|
+
case 1:
|
|
1028
|
+
return r.call(o, i[0]);
|
|
1029
|
+
case 2:
|
|
1030
|
+
return r.call(o, i[0], i[1]);
|
|
1031
|
+
case 3:
|
|
1032
|
+
return r.call(o, i[0], i[1], i[2]);
|
|
1033
|
+
}
|
|
1034
|
+
return r.apply(o, i);
|
|
1035
|
+
}
|
|
1036
|
+
function jr(r, o) {
|
|
1037
|
+
for (var i = -1, c = Array(r); ++i < r; )
|
|
1038
|
+
c[i] = o(i);
|
|
1039
|
+
return c;
|
|
1040
|
+
}
|
|
1041
|
+
function Ee(r) {
|
|
1042
|
+
return function(o) {
|
|
1043
|
+
return r(o);
|
|
1044
|
+
};
|
|
1045
|
+
}
|
|
1046
|
+
function ye(r, o) {
|
|
1047
|
+
return r == null ? void 0 : r[o];
|
|
1048
|
+
}
|
|
1049
|
+
function dr(r, o) {
|
|
1050
|
+
return function(i) {
|
|
1051
|
+
return r(o(i));
|
|
1052
|
+
};
|
|
1053
|
+
}
|
|
1054
|
+
var cr = Array.prototype, Fe = Function.prototype, Be = Object.prototype, We = le["__core-js_shared__"], he = Fe.toString, Q = Be.hasOwnProperty, ur = function() {
|
|
1055
|
+
var r = /[^.]+$/.exec(We && We.keys && We.keys.IE_PROTO || "");
|
|
1056
|
+
return r ? "Symbol(src)_1." + r : "";
|
|
1057
|
+
}(), je = Be.toString, fr = he.call(Object), xe = RegExp(
|
|
1058
|
+
"^" + he.call(Q).replace(nr, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
1059
|
+
), Ie = Re ? le.Buffer : void 0, Ge = le.Symbol, Le = le.Uint8Array, ze = Ie ? Ie.allocUnsafe : void 0, pr = dr(Object.getPrototypeOf, Object), gr = Object.create, Gr = Be.propertyIsEnumerable, Lr = cr.splice, de = Ge ? Ge.toStringTag : void 0, Pe = function() {
|
|
1060
|
+
try {
|
|
1061
|
+
var r = qr(Object, "defineProperty");
|
|
1062
|
+
return r({}, "", {}), r;
|
|
1063
|
+
} catch {
|
|
1064
|
+
}
|
|
1065
|
+
}(), Nr = Ie ? Ie.isBuffer : void 0, De = Math.max, hr = Date.now, ce = qr(le, "Map"), ue = qr(Object, "create"), Ne = /* @__PURE__ */ function() {
|
|
1066
|
+
function r() {
|
|
1067
|
+
}
|
|
1068
|
+
return function(o) {
|
|
1069
|
+
if (!Se(o))
|
|
1070
|
+
return {};
|
|
1071
|
+
if (gr)
|
|
1072
|
+
return gr(o);
|
|
1073
|
+
r.prototype = o;
|
|
1074
|
+
var i = new r();
|
|
1075
|
+
return r.prototype = void 0, i;
|
|
1076
|
+
};
|
|
1077
|
+
}();
|
|
1078
|
+
function ae(r) {
|
|
1079
|
+
var o = -1, i = r == null ? 0 : r.length;
|
|
1080
|
+
for (this.clear(); ++o < i; ) {
|
|
1081
|
+
var c = r[o];
|
|
1082
|
+
this.set(c[0], c[1]);
|
|
1083
|
+
}
|
|
1084
|
+
}
|
|
1085
|
+
function Yr() {
|
|
1086
|
+
this.__data__ = ue ? ue(null) : {}, this.size = 0;
|
|
1087
|
+
}
|
|
1088
|
+
function br(r) {
|
|
1089
|
+
var o = this.has(r) && delete this.__data__[r];
|
|
1090
|
+
return this.size -= o ? 1 : 0, o;
|
|
1091
|
+
}
|
|
1092
|
+
function Hr(r) {
|
|
1093
|
+
var o = this.__data__;
|
|
1094
|
+
if (ue) {
|
|
1095
|
+
var i = o[r];
|
|
1096
|
+
return i === u ? void 0 : i;
|
|
1097
|
+
}
|
|
1098
|
+
return Q.call(o, r) ? o[r] : void 0;
|
|
1099
|
+
}
|
|
1100
|
+
function mr(r) {
|
|
1101
|
+
var o = this.__data__;
|
|
1102
|
+
return ue ? o[r] !== void 0 : Q.call(o, r);
|
|
1103
|
+
}
|
|
1104
|
+
function vr(r, o) {
|
|
1105
|
+
var i = this.__data__;
|
|
1106
|
+
return this.size += this.has(r) ? 0 : 1, i[r] = ue && o === void 0 ? u : o, this;
|
|
1107
|
+
}
|
|
1108
|
+
ae.prototype.clear = Yr, ae.prototype.delete = br, ae.prototype.get = Hr, ae.prototype.has = mr, ae.prototype.set = vr;
|
|
1109
|
+
function ee(r) {
|
|
1110
|
+
var o = -1, i = r == null ? 0 : r.length;
|
|
1111
|
+
for (this.clear(); ++o < i; ) {
|
|
1112
|
+
var c = r[o];
|
|
1113
|
+
this.set(c[0], c[1]);
|
|
1114
|
+
}
|
|
1115
|
+
}
|
|
1116
|
+
function Vr() {
|
|
1117
|
+
this.__data__ = [], this.size = 0;
|
|
1118
|
+
}
|
|
1119
|
+
function yr(r) {
|
|
1120
|
+
var o = this.__data__, i = Me(o, r);
|
|
1121
|
+
if (i < 0)
|
|
1122
|
+
return !1;
|
|
1123
|
+
var c = o.length - 1;
|
|
1124
|
+
return i == c ? o.pop() : Lr.call(o, i, 1), --this.size, !0;
|
|
1125
|
+
}
|
|
1126
|
+
function Xr(r) {
|
|
1127
|
+
var o = this.__data__, i = Me(o, r);
|
|
1128
|
+
return i < 0 ? void 0 : o[i][1];
|
|
1129
|
+
}
|
|
1130
|
+
function Ur(r) {
|
|
1131
|
+
return Me(this.__data__, r) > -1;
|
|
1132
|
+
}
|
|
1133
|
+
function t(r, o) {
|
|
1134
|
+
var i = this.__data__, c = Me(i, r);
|
|
1135
|
+
return c < 0 ? (++this.size, i.push([r, o])) : i[c][1] = o, this;
|
|
1136
|
+
}
|
|
1137
|
+
ee.prototype.clear = Vr, ee.prototype.delete = yr, ee.prototype.get = Xr, ee.prototype.has = Ur, ee.prototype.set = t;
|
|
1138
|
+
function s(r) {
|
|
1139
|
+
var o = -1, i = r == null ? 0 : r.length;
|
|
1140
|
+
for (this.clear(); ++o < i; ) {
|
|
1141
|
+
var c = r[o];
|
|
1142
|
+
this.set(c[0], c[1]);
|
|
1143
|
+
}
|
|
1144
|
+
}
|
|
1145
|
+
function d() {
|
|
1146
|
+
this.size = 0, this.__data__ = {
|
|
1147
|
+
hash: new ae(),
|
|
1148
|
+
map: new (ce || ee)(),
|
|
1149
|
+
string: new ae()
|
|
1150
|
+
};
|
|
1151
|
+
}
|
|
1152
|
+
function f(r) {
|
|
1153
|
+
var o = Sr(this, r).delete(r);
|
|
1154
|
+
return this.size -= o ? 1 : 0, o;
|
|
1155
|
+
}
|
|
1156
|
+
function x(r) {
|
|
1157
|
+
return Sr(this, r).get(r);
|
|
1158
|
+
}
|
|
1159
|
+
function T(r) {
|
|
1160
|
+
return Sr(this, r).has(r);
|
|
1161
|
+
}
|
|
1162
|
+
function h(r, o) {
|
|
1163
|
+
var i = Sr(this, r), c = i.size;
|
|
1164
|
+
return i.set(r, o), this.size += i.size == c ? 0 : 1, this;
|
|
1165
|
+
}
|
|
1166
|
+
s.prototype.clear = d, s.prototype.delete = f, s.prototype.get = x, s.prototype.has = T, s.prototype.set = h;
|
|
1167
|
+
function g(r) {
|
|
1168
|
+
var o = this.__data__ = new ee(r);
|
|
1169
|
+
this.size = o.size;
|
|
1170
|
+
}
|
|
1171
|
+
function G() {
|
|
1172
|
+
this.__data__ = new ee(), this.size = 0;
|
|
1173
|
+
}
|
|
1174
|
+
function M(r) {
|
|
1175
|
+
var o = this.__data__, i = o.delete(r);
|
|
1176
|
+
return this.size = o.size, i;
|
|
1177
|
+
}
|
|
1178
|
+
function A(r) {
|
|
1179
|
+
return this.__data__.get(r);
|
|
1180
|
+
}
|
|
1181
|
+
function Y(r) {
|
|
1182
|
+
return this.__data__.has(r);
|
|
1183
|
+
}
|
|
1184
|
+
function be(r, o) {
|
|
1185
|
+
var i = this.__data__;
|
|
1186
|
+
if (i instanceof ee) {
|
|
1187
|
+
var c = i.__data__;
|
|
1188
|
+
if (!ce || c.length < l - 1)
|
|
1189
|
+
return c.push([r, o]), this.size = ++i.size, this;
|
|
1190
|
+
i = this.__data__ = new s(c);
|
|
1191
|
+
}
|
|
1192
|
+
return i.set(r, o), this.size = i.size, this;
|
|
1193
|
+
}
|
|
1194
|
+
g.prototype.clear = G, g.prototype.delete = M, g.prototype.get = A, g.prototype.has = Y, g.prototype.set = be;
|
|
1195
|
+
function fe(r, o) {
|
|
1196
|
+
var i = Zr(r), c = !i && Jr(r), m = !i && !c && vt(r), B = !i && !c && !m && xt(r), P = i || c || m || B, b = P ? jr(r.length, String) : [], D = b.length;
|
|
1197
|
+
for (var K in r)
|
|
1198
|
+
(o || Q.call(r, K)) && !(P && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
1199
|
+
(K == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
1200
|
+
m && (K == "offset" || K == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
1201
|
+
B && (K == "buffer" || K == "byteLength" || K == "byteOffset") || // Skip index properties.
|
|
1202
|
+
bt(K, D))) && b.push(K);
|
|
1203
|
+
return b;
|
|
1204
|
+
}
|
|
1205
|
+
function j(r, o, i) {
|
|
1206
|
+
(i !== void 0 && !kr(r[o], i) || i === void 0 && !(o in r)) && He(r, o, i);
|
|
1207
|
+
}
|
|
1208
|
+
function Ye(r, o, i) {
|
|
1209
|
+
var c = r[o];
|
|
1210
|
+
(!(Q.call(r, o) && kr(c, i)) || i === void 0 && !(o in r)) && He(r, o, i);
|
|
1211
|
+
}
|
|
1212
|
+
function Me(r, o) {
|
|
1213
|
+
for (var i = r.length; i--; )
|
|
1214
|
+
if (kr(r[i][0], o))
|
|
1215
|
+
return i;
|
|
1216
|
+
return -1;
|
|
1217
|
+
}
|
|
1218
|
+
function He(r, o, i) {
|
|
1219
|
+
o == "__proto__" && Pe ? Pe(r, o, {
|
|
1220
|
+
configurable: !0,
|
|
1221
|
+
enumerable: !0,
|
|
1222
|
+
value: i,
|
|
1223
|
+
writable: !0
|
|
1224
|
+
}) : r[o] = i;
|
|
1225
|
+
}
|
|
1226
|
+
var Kt = co();
|
|
1227
|
+
function xr(r) {
|
|
1228
|
+
return r == null ? r === void 0 ? Dr : X : de && de in Object(r) ? uo(r) : mo(r);
|
|
1229
|
+
}
|
|
1230
|
+
function gt(r) {
|
|
1231
|
+
return Ve(r) && xr(r) == F;
|
|
1232
|
+
}
|
|
1233
|
+
function Jt(r) {
|
|
1234
|
+
if (!Se(r) || ho(r))
|
|
1235
|
+
return !1;
|
|
1236
|
+
var o = et(r) ? xe : ar;
|
|
1237
|
+
return o.test(So(r));
|
|
1238
|
+
}
|
|
1239
|
+
function Zt(r) {
|
|
1240
|
+
return Ve(r) && yt(r.length) && !!E[xr(r)];
|
|
1241
|
+
}
|
|
1242
|
+
function Qt(r) {
|
|
1243
|
+
if (!Se(r))
|
|
1244
|
+
return bo(r);
|
|
1245
|
+
var o = mt(r), i = [];
|
|
1246
|
+
for (var c in r)
|
|
1247
|
+
c == "constructor" && (o || !Q.call(r, c)) || i.push(c);
|
|
1248
|
+
return i;
|
|
1249
|
+
}
|
|
1250
|
+
function ht(r, o, i, c, m) {
|
|
1251
|
+
r !== o && Kt(o, function(B, P) {
|
|
1252
|
+
if (m || (m = new g()), Se(B))
|
|
1253
|
+
eo(r, o, P, i, ht, c, m);
|
|
1254
|
+
else {
|
|
1255
|
+
var b = c ? c(Kr(r, P), B, P + "", r, o, m) : void 0;
|
|
1256
|
+
b === void 0 && (b = B), j(r, P, b);
|
|
1257
|
+
}
|
|
1258
|
+
}, St);
|
|
1259
|
+
}
|
|
1260
|
+
function eo(r, o, i, c, m, B, P) {
|
|
1261
|
+
var b = Kr(r, i), D = Kr(o, i), K = P.get(D);
|
|
1262
|
+
if (K) {
|
|
1263
|
+
j(r, i, K);
|
|
1264
|
+
return;
|
|
1265
|
+
}
|
|
1266
|
+
var U = B ? B(b, D, i + "", r, o, P) : void 0, Xe = U === void 0;
|
|
1267
|
+
if (Xe) {
|
|
1268
|
+
var rt = Zr(D), tt = !rt && vt(D), wt = !rt && !tt && xt(D);
|
|
1269
|
+
U = D, rt || tt || wt ? Zr(b) ? U = b : ko(b) ? U = io(b) : tt ? (Xe = !1, U = oo(D, !0)) : wt ? (Xe = !1, U = ao(D, !0)) : U = [] : wo(D) || Jr(D) ? (U = b, Jr(b) ? U = _o(b) : (!Se(b) || et(b)) && (U = fo(D))) : Xe = !1;
|
|
1270
|
+
}
|
|
1271
|
+
Xe && (P.set(D, U), m(U, D, c, B, P), P.delete(D)), j(r, i, U);
|
|
1272
|
+
}
|
|
1273
|
+
function ro(r, o) {
|
|
1274
|
+
return yo(vo(r, o, kt), r + "");
|
|
1275
|
+
}
|
|
1276
|
+
var to = Pe ? function(r, o) {
|
|
1277
|
+
return Pe(r, "toString", {
|
|
1278
|
+
configurable: !0,
|
|
1279
|
+
enumerable: !1,
|
|
1280
|
+
value: To(o),
|
|
1281
|
+
writable: !0
|
|
1282
|
+
});
|
|
1283
|
+
} : kt;
|
|
1284
|
+
function oo(r, o) {
|
|
1285
|
+
if (o)
|
|
1286
|
+
return r.slice();
|
|
1287
|
+
var i = r.length, c = ze ? ze(i) : new r.constructor(i);
|
|
1288
|
+
return r.copy(c), c;
|
|
1289
|
+
}
|
|
1290
|
+
function no(r) {
|
|
1291
|
+
var o = new r.constructor(r.byteLength);
|
|
1292
|
+
return new Le(o).set(new Le(r)), o;
|
|
1293
|
+
}
|
|
1294
|
+
function ao(r, o) {
|
|
1295
|
+
var i = o ? no(r.buffer) : r.buffer;
|
|
1296
|
+
return new r.constructor(i, r.byteOffset, r.length);
|
|
1297
|
+
}
|
|
1298
|
+
function io(r, o) {
|
|
1299
|
+
var i = -1, c = r.length;
|
|
1300
|
+
for (o || (o = Array(c)); ++i < c; )
|
|
1301
|
+
o[i] = r[i];
|
|
1302
|
+
return o;
|
|
1303
|
+
}
|
|
1304
|
+
function so(r, o, i, c) {
|
|
1305
|
+
var m = !i;
|
|
1306
|
+
i || (i = {});
|
|
1307
|
+
for (var B = -1, P = o.length; ++B < P; ) {
|
|
1308
|
+
var b = o[B], D = c ? c(i[b], r[b], b, i, r) : void 0;
|
|
1309
|
+
D === void 0 && (D = r[b]), m ? He(i, b, D) : Ye(i, b, D);
|
|
1310
|
+
}
|
|
1311
|
+
return i;
|
|
1312
|
+
}
|
|
1313
|
+
function lo(r) {
|
|
1314
|
+
return ro(function(o, i) {
|
|
1315
|
+
var c = -1, m = i.length, B = m > 1 ? i[m - 1] : void 0, P = m > 2 ? i[2] : void 0;
|
|
1316
|
+
for (B = r.length > 3 && typeof B == "function" ? (m--, B) : void 0, P && po(i[0], i[1], P) && (B = m < 3 ? void 0 : B, m = 1), o = Object(o); ++c < m; ) {
|
|
1317
|
+
var b = i[c];
|
|
1318
|
+
b && r(o, b, c, B);
|
|
1319
|
+
}
|
|
1320
|
+
return o;
|
|
1321
|
+
});
|
|
1322
|
+
}
|
|
1323
|
+
function co(r) {
|
|
1324
|
+
return function(o, i, c) {
|
|
1325
|
+
for (var m = -1, B = Object(o), P = c(o), b = P.length; b--; ) {
|
|
1326
|
+
var D = P[r ? b : ++m];
|
|
1327
|
+
if (i(B[D], D, B) === !1)
|
|
1328
|
+
break;
|
|
1329
|
+
}
|
|
1330
|
+
return o;
|
|
1331
|
+
};
|
|
1332
|
+
}
|
|
1333
|
+
function Sr(r, o) {
|
|
1334
|
+
var i = r.__data__;
|
|
1335
|
+
return go(o) ? i[typeof o == "string" ? "string" : "hash"] : i.map;
|
|
1336
|
+
}
|
|
1337
|
+
function qr(r, o) {
|
|
1338
|
+
var i = ye(r, o);
|
|
1339
|
+
return Jt(i) ? i : void 0;
|
|
1340
|
+
}
|
|
1341
|
+
function uo(r) {
|
|
1342
|
+
var o = Q.call(r, de), i = r[de];
|
|
1343
|
+
try {
|
|
1344
|
+
r[de] = void 0;
|
|
1345
|
+
var c = !0;
|
|
1346
|
+
} catch {
|
|
1347
|
+
}
|
|
1348
|
+
var m = je.call(r);
|
|
1349
|
+
return c && (o ? r[de] = i : delete r[de]), m;
|
|
1350
|
+
}
|
|
1351
|
+
function fo(r) {
|
|
1352
|
+
return typeof r.constructor == "function" && !mt(r) ? Ne(pr(r)) : {};
|
|
1353
|
+
}
|
|
1354
|
+
function bt(r, o) {
|
|
1355
|
+
var i = typeof r;
|
|
1356
|
+
return o = o ?? R, !!o && (i == "number" || i != "symbol" && ir.test(r)) && r > -1 && r % 1 == 0 && r < o;
|
|
1357
|
+
}
|
|
1358
|
+
function po(r, o, i) {
|
|
1359
|
+
if (!Se(i))
|
|
1360
|
+
return !1;
|
|
1361
|
+
var c = typeof o;
|
|
1362
|
+
return (c == "number" ? Qr(i) && bt(o, i.length) : c == "string" && o in i) ? kr(i[o], r) : !1;
|
|
1363
|
+
}
|
|
1364
|
+
function go(r) {
|
|
1365
|
+
var o = typeof r;
|
|
1366
|
+
return o == "string" || o == "number" || o == "symbol" || o == "boolean" ? r !== "__proto__" : r === null;
|
|
1367
|
+
}
|
|
1368
|
+
function ho(r) {
|
|
1369
|
+
return !!ur && ur in r;
|
|
1370
|
+
}
|
|
1371
|
+
function mt(r) {
|
|
1372
|
+
var o = r && r.constructor, i = typeof o == "function" && o.prototype || Be;
|
|
1373
|
+
return r === i;
|
|
1374
|
+
}
|
|
1375
|
+
function bo(r) {
|
|
1376
|
+
var o = [];
|
|
1377
|
+
if (r != null)
|
|
1378
|
+
for (var i in Object(r))
|
|
1379
|
+
o.push(i);
|
|
1380
|
+
return o;
|
|
1381
|
+
}
|
|
1382
|
+
function mo(r) {
|
|
1383
|
+
return je.call(r);
|
|
1384
|
+
}
|
|
1385
|
+
function vo(r, o, i) {
|
|
1386
|
+
return o = De(o === void 0 ? r.length - 1 : o, 0), function() {
|
|
1387
|
+
for (var c = arguments, m = -1, B = De(c.length - o, 0), P = Array(B); ++m < B; )
|
|
1388
|
+
P[m] = c[o + m];
|
|
1389
|
+
m = -1;
|
|
1390
|
+
for (var b = Array(o + 1); ++m < o; )
|
|
1391
|
+
b[m] = c[m];
|
|
1392
|
+
return b[o] = i(P), Wr(r, this, b);
|
|
1393
|
+
};
|
|
1394
|
+
}
|
|
1395
|
+
function Kr(r, o) {
|
|
1396
|
+
if (!(o === "constructor" && typeof r[o] == "function") && o != "__proto__")
|
|
1397
|
+
return r[o];
|
|
1398
|
+
}
|
|
1399
|
+
var yo = xo(to);
|
|
1400
|
+
function xo(r) {
|
|
1401
|
+
var o = 0, i = 0;
|
|
1402
|
+
return function() {
|
|
1403
|
+
var c = hr(), m = v - (c - i);
|
|
1404
|
+
if (i = c, m > 0) {
|
|
1405
|
+
if (++o >= p)
|
|
1406
|
+
return arguments[0];
|
|
1407
|
+
} else
|
|
1408
|
+
o = 0;
|
|
1409
|
+
return r.apply(void 0, arguments);
|
|
1410
|
+
};
|
|
1411
|
+
}
|
|
1412
|
+
function So(r) {
|
|
1413
|
+
if (r != null) {
|
|
1414
|
+
try {
|
|
1415
|
+
return he.call(r);
|
|
1416
|
+
} catch {
|
|
1417
|
+
}
|
|
1418
|
+
try {
|
|
1419
|
+
return r + "";
|
|
1420
|
+
} catch {
|
|
1421
|
+
}
|
|
1422
|
+
}
|
|
1423
|
+
return "";
|
|
1424
|
+
}
|
|
1425
|
+
function kr(r, o) {
|
|
1426
|
+
return r === o || r !== r && o !== o;
|
|
1427
|
+
}
|
|
1428
|
+
var Jr = gt(/* @__PURE__ */ function() {
|
|
1429
|
+
return arguments;
|
|
1430
|
+
}()) ? gt : function(r) {
|
|
1431
|
+
return Ve(r) && Q.call(r, "callee") && !Gr.call(r, "callee");
|
|
1432
|
+
}, Zr = Array.isArray;
|
|
1433
|
+
function Qr(r) {
|
|
1434
|
+
return r != null && yt(r.length) && !et(r);
|
|
1435
|
+
}
|
|
1436
|
+
function ko(r) {
|
|
1437
|
+
return Ve(r) && Qr(r);
|
|
1438
|
+
}
|
|
1439
|
+
var vt = Nr || Ro;
|
|
1440
|
+
function et(r) {
|
|
1441
|
+
if (!Se(r))
|
|
1442
|
+
return !1;
|
|
1443
|
+
var o = xr(r);
|
|
1444
|
+
return o == H || o == V || o == $ || o == _e;
|
|
1445
|
+
}
|
|
1446
|
+
function yt(r) {
|
|
1447
|
+
return typeof r == "number" && r > -1 && r % 1 == 0 && r <= R;
|
|
1448
|
+
}
|
|
1449
|
+
function Se(r) {
|
|
1450
|
+
var o = typeof r;
|
|
1451
|
+
return r != null && (o == "object" || o == "function");
|
|
1452
|
+
}
|
|
1453
|
+
function Ve(r) {
|
|
1454
|
+
return r != null && typeof r == "object";
|
|
1455
|
+
}
|
|
1456
|
+
function wo(r) {
|
|
1457
|
+
if (!Ve(r) || xr(r) != I)
|
|
1458
|
+
return !1;
|
|
1459
|
+
var o = pr(r);
|
|
1460
|
+
if (o === null)
|
|
1461
|
+
return !0;
|
|
1462
|
+
var i = Q.call(o, "constructor") && o.constructor;
|
|
1463
|
+
return typeof i == "function" && i instanceof i && he.call(i) == fr;
|
|
1464
|
+
}
|
|
1465
|
+
var xt = Ae ? Ee(Ae) : Zt;
|
|
1466
|
+
function _o(r) {
|
|
1467
|
+
return so(r, St(r));
|
|
1468
|
+
}
|
|
1469
|
+
function St(r) {
|
|
1470
|
+
return Qr(r) ? fe(r, !0) : Qt(r);
|
|
1471
|
+
}
|
|
1472
|
+
var Co = lo(function(r, o, i, c) {
|
|
1473
|
+
ht(r, o, i, c);
|
|
1474
|
+
});
|
|
1475
|
+
function To(r) {
|
|
1476
|
+
return function() {
|
|
1477
|
+
return r;
|
|
1478
|
+
};
|
|
1479
|
+
}
|
|
1480
|
+
function kt(r) {
|
|
1481
|
+
return r;
|
|
1482
|
+
}
|
|
1483
|
+
function Ro() {
|
|
1484
|
+
return !1;
|
|
1485
|
+
}
|
|
1486
|
+
e.exports = Co;
|
|
1487
|
+
})(Fr, Fr.exports);
|
|
1488
|
+
var ln = Fr.exports;
|
|
1489
|
+
const dn = /* @__PURE__ */ No(ln);
|
|
1490
|
+
var cn = (e) => /!(important)?$/.test(e), Rt = (e) => typeof e == "string" ? e.replace(/!(important)?$/, "").trim() : e, un = (e, a) => (l) => {
|
|
1491
|
+
const u = String(a), p = cn(u), v = Rt(u), R = e ? `${e}.${v}` : v;
|
|
1492
|
+
let F = jt(l.__cssMap) && R in l.__cssMap ? l.__cssMap[R].varRef : a;
|
|
1493
|
+
return F = Rt(F), p ? `${F} !important` : F;
|
|
1494
|
+
};
|
|
1495
|
+
function pt(e) {
|
|
1496
|
+
const { scale: a, transform: l, compose: u } = e;
|
|
1497
|
+
return (v, R) => {
|
|
1498
|
+
var F;
|
|
1499
|
+
const y = un(a, v)(R);
|
|
1500
|
+
let $ = (F = l == null ? void 0 : l(y, R)) != null ? F : y;
|
|
1501
|
+
return u && ($ = u($, R)), $;
|
|
1502
|
+
};
|
|
1503
|
+
}
|
|
1504
|
+
var Tr = (...e) => (a) => e.reduce((l, u) => u(l), a);
|
|
1505
|
+
function J(e, a) {
|
|
1506
|
+
return (l) => {
|
|
1507
|
+
const u = { property: l, scale: e };
|
|
1508
|
+
return u.transform = pt({
|
|
1509
|
+
scale: e,
|
|
1510
|
+
transform: a
|
|
1511
|
+
}), u;
|
|
1512
|
+
};
|
|
1513
|
+
}
|
|
1514
|
+
var fn = ({ rtl: e, ltr: a }) => (l) => l.direction === "rtl" ? e : a;
|
|
1515
|
+
function pn(e) {
|
|
1516
|
+
const { property: a, scale: l, transform: u } = e;
|
|
1517
|
+
return {
|
|
1518
|
+
scale: l,
|
|
1519
|
+
property: fn(a),
|
|
1520
|
+
transform: l ? pt({
|
|
1521
|
+
scale: l,
|
|
1522
|
+
compose: u
|
|
1523
|
+
}) : u
|
|
1524
|
+
};
|
|
1525
|
+
}
|
|
1526
|
+
var Gt = [
|
|
1527
|
+
"rotate(var(--chakra-rotate, 0))",
|
|
1528
|
+
"scaleX(var(--chakra-scale-x, 1))",
|
|
1529
|
+
"scaleY(var(--chakra-scale-y, 1))",
|
|
1530
|
+
"skewX(var(--chakra-skew-x, 0))",
|
|
1531
|
+
"skewY(var(--chakra-skew-y, 0))"
|
|
1532
|
+
];
|
|
1533
|
+
function gn() {
|
|
1534
|
+
return [
|
|
1535
|
+
"translateX(var(--chakra-translate-x, 0))",
|
|
1536
|
+
"translateY(var(--chakra-translate-y, 0))",
|
|
1537
|
+
...Gt
|
|
1538
|
+
].join(" ");
|
|
1539
|
+
}
|
|
1540
|
+
function hn() {
|
|
1541
|
+
return [
|
|
1542
|
+
"translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",
|
|
1543
|
+
...Gt
|
|
1544
|
+
].join(" ");
|
|
1545
|
+
}
|
|
1546
|
+
var bn = {
|
|
1547
|
+
"--chakra-blur": "var(--chakra-empty,/*!*/ /*!*/)",
|
|
1548
|
+
"--chakra-brightness": "var(--chakra-empty,/*!*/ /*!*/)",
|
|
1549
|
+
"--chakra-contrast": "var(--chakra-empty,/*!*/ /*!*/)",
|
|
1550
|
+
"--chakra-grayscale": "var(--chakra-empty,/*!*/ /*!*/)",
|
|
1551
|
+
"--chakra-hue-rotate": "var(--chakra-empty,/*!*/ /*!*/)",
|
|
1552
|
+
"--chakra-invert": "var(--chakra-empty,/*!*/ /*!*/)",
|
|
1553
|
+
"--chakra-saturate": "var(--chakra-empty,/*!*/ /*!*/)",
|
|
1554
|
+
"--chakra-sepia": "var(--chakra-empty,/*!*/ /*!*/)",
|
|
1555
|
+
"--chakra-drop-shadow": "var(--chakra-empty,/*!*/ /*!*/)",
|
|
1556
|
+
filter: [
|
|
1557
|
+
"var(--chakra-blur)",
|
|
1558
|
+
"var(--chakra-brightness)",
|
|
1559
|
+
"var(--chakra-contrast)",
|
|
1560
|
+
"var(--chakra-grayscale)",
|
|
1561
|
+
"var(--chakra-hue-rotate)",
|
|
1562
|
+
"var(--chakra-invert)",
|
|
1563
|
+
"var(--chakra-saturate)",
|
|
1564
|
+
"var(--chakra-sepia)",
|
|
1565
|
+
"var(--chakra-drop-shadow)"
|
|
1566
|
+
].join(" ")
|
|
1567
|
+
}, mn = {
|
|
1568
|
+
backdropFilter: [
|
|
1569
|
+
"var(--chakra-backdrop-blur)",
|
|
1570
|
+
"var(--chakra-backdrop-brightness)",
|
|
1571
|
+
"var(--chakra-backdrop-contrast)",
|
|
1572
|
+
"var(--chakra-backdrop-grayscale)",
|
|
1573
|
+
"var(--chakra-backdrop-hue-rotate)",
|
|
1574
|
+
"var(--chakra-backdrop-invert)",
|
|
1575
|
+
"var(--chakra-backdrop-opacity)",
|
|
1576
|
+
"var(--chakra-backdrop-saturate)",
|
|
1577
|
+
"var(--chakra-backdrop-sepia)"
|
|
1578
|
+
].join(" "),
|
|
1579
|
+
"--chakra-backdrop-blur": "var(--chakra-empty,/*!*/ /*!*/)",
|
|
1580
|
+
"--chakra-backdrop-brightness": "var(--chakra-empty,/*!*/ /*!*/)",
|
|
1581
|
+
"--chakra-backdrop-contrast": "var(--chakra-empty,/*!*/ /*!*/)",
|
|
1582
|
+
"--chakra-backdrop-grayscale": "var(--chakra-empty,/*!*/ /*!*/)",
|
|
1583
|
+
"--chakra-backdrop-hue-rotate": "var(--chakra-empty,/*!*/ /*!*/)",
|
|
1584
|
+
"--chakra-backdrop-invert": "var(--chakra-empty,/*!*/ /*!*/)",
|
|
1585
|
+
"--chakra-backdrop-opacity": "var(--chakra-empty,/*!*/ /*!*/)",
|
|
1586
|
+
"--chakra-backdrop-saturate": "var(--chakra-empty,/*!*/ /*!*/)",
|
|
1587
|
+
"--chakra-backdrop-sepia": "var(--chakra-empty,/*!*/ /*!*/)"
|
|
1588
|
+
};
|
|
1589
|
+
function vn(e) {
|
|
1590
|
+
return {
|
|
1591
|
+
"--chakra-ring-offset-shadow": "var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)",
|
|
1592
|
+
"--chakra-ring-shadow": "var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)",
|
|
1593
|
+
"--chakra-ring-width": e,
|
|
1594
|
+
boxShadow: [
|
|
1595
|
+
"var(--chakra-ring-offset-shadow)",
|
|
1596
|
+
"var(--chakra-ring-shadow)",
|
|
1597
|
+
"var(--chakra-shadow, 0 0 #0000)"
|
|
1598
|
+
].join(", ")
|
|
1599
|
+
};
|
|
1600
|
+
}
|
|
1601
|
+
var yn = {
|
|
1602
|
+
"row-reverse": {
|
|
1603
|
+
space: "--chakra-space-x-reverse",
|
|
1604
|
+
divide: "--chakra-divide-x-reverse"
|
|
1605
|
+
},
|
|
1606
|
+
"column-reverse": {
|
|
1607
|
+
space: "--chakra-space-y-reverse",
|
|
1608
|
+
divide: "--chakra-divide-y-reverse"
|
|
1609
|
+
}
|
|
1610
|
+
}, it = {
|
|
1611
|
+
"to-t": "to top",
|
|
1612
|
+
"to-tr": "to top right",
|
|
1613
|
+
"to-r": "to right",
|
|
1614
|
+
"to-br": "to bottom right",
|
|
1615
|
+
"to-b": "to bottom",
|
|
1616
|
+
"to-bl": "to bottom left",
|
|
1617
|
+
"to-l": "to left",
|
|
1618
|
+
"to-tl": "to top left"
|
|
1619
|
+
}, xn = new Set(Object.values(it)), st = /* @__PURE__ */ new Set([
|
|
1620
|
+
"none",
|
|
1621
|
+
"-moz-initial",
|
|
1622
|
+
"inherit",
|
|
1623
|
+
"initial",
|
|
1624
|
+
"revert",
|
|
1625
|
+
"unset"
|
|
1626
|
+
]), Sn = (e) => e.trim();
|
|
1627
|
+
function kn(e, a) {
|
|
1628
|
+
if (e == null || st.has(e))
|
|
1629
|
+
return e;
|
|
1630
|
+
if (!(lt(e) || st.has(e)))
|
|
1631
|
+
return `url('${e}')`;
|
|
1632
|
+
const p = /(^[a-z-A-Z]+)\((.*)\)/g.exec(e), v = p == null ? void 0 : p[1], R = p == null ? void 0 : p[2];
|
|
1633
|
+
if (!v || !R)
|
|
1634
|
+
return e;
|
|
1635
|
+
const F = v.includes("-gradient") ? v : `${v}-gradient`, [y, ...$] = R.split(",").map(Sn).filter(Boolean);
|
|
1636
|
+
if (($ == null ? void 0 : $.length) === 0)
|
|
1637
|
+
return e;
|
|
1638
|
+
const O = y in it ? it[y] : y;
|
|
1639
|
+
$.unshift(O);
|
|
1640
|
+
const C = $.map((W) => {
|
|
1641
|
+
if (xn.has(W))
|
|
1642
|
+
return W;
|
|
1643
|
+
const H = W.indexOf(" "), [V, te] = H !== -1 ? [W.substr(0, H), W.substr(H + 1)] : [W], oe = lt(te) ? te : te && te.split(" "), X = `colors.${V}`, I = X in a.__cssMap ? a.__cssMap[X].varRef : V;
|
|
1644
|
+
return oe ? [
|
|
1645
|
+
I,
|
|
1646
|
+
...Array.isArray(oe) ? oe : [oe]
|
|
1647
|
+
].join(" ") : I;
|
|
1648
|
+
});
|
|
1649
|
+
return `${F}(${C.join(", ")})`;
|
|
1650
|
+
}
|
|
1651
|
+
var lt = (e) => typeof e == "string" && e.includes("(") && e.includes(")"), wn = (e, a) => kn(e, a ?? {});
|
|
1652
|
+
function _n(e) {
|
|
1653
|
+
return /^var\(--.+\)$/.test(e);
|
|
1654
|
+
}
|
|
1655
|
+
var Cn = (e) => {
|
|
1656
|
+
const a = parseFloat(e.toString()), l = e.toString().replace(String(a), "");
|
|
1657
|
+
return { unitless: !l, value: a, unit: l };
|
|
1658
|
+
}, ie = (e) => (a) => `${e}(${a})`, S = {
|
|
1659
|
+
filter(e) {
|
|
1660
|
+
return e !== "auto" ? e : bn;
|
|
1661
|
+
},
|
|
1662
|
+
backdropFilter(e) {
|
|
1663
|
+
return e !== "auto" ? e : mn;
|
|
1664
|
+
},
|
|
1665
|
+
ring(e) {
|
|
1666
|
+
return vn(S.px(e));
|
|
1667
|
+
},
|
|
1668
|
+
bgClip(e) {
|
|
1669
|
+
return e === "text" ? { color: "transparent", backgroundClip: "text" } : { backgroundClip: e };
|
|
1670
|
+
},
|
|
1671
|
+
transform(e) {
|
|
1672
|
+
return e === "auto" ? gn() : e === "auto-gpu" ? hn() : e;
|
|
1673
|
+
},
|
|
1674
|
+
vh(e) {
|
|
1675
|
+
return e === "$100vh" ? "var(--chakra-vh)" : e;
|
|
1676
|
+
},
|
|
1677
|
+
px(e) {
|
|
1678
|
+
if (e == null)
|
|
1679
|
+
return e;
|
|
1680
|
+
const { unitless: a } = Cn(e);
|
|
1681
|
+
return a || typeof e == "number" ? `${e}px` : e;
|
|
1682
|
+
},
|
|
1683
|
+
fraction(e) {
|
|
1684
|
+
return typeof e != "number" || e > 1 ? e : `${e * 100}%`;
|
|
1685
|
+
},
|
|
1686
|
+
float(e, a) {
|
|
1687
|
+
const l = { left: "right", right: "left" };
|
|
1688
|
+
return a.direction === "rtl" ? l[e] : e;
|
|
1689
|
+
},
|
|
1690
|
+
degree(e) {
|
|
1691
|
+
if (_n(e) || e == null)
|
|
1692
|
+
return e;
|
|
1693
|
+
const a = typeof e == "string" && !e.endsWith("deg");
|
|
1694
|
+
return typeof e == "number" || a ? `${e}deg` : e;
|
|
1695
|
+
},
|
|
1696
|
+
gradient: wn,
|
|
1697
|
+
blur: ie("blur"),
|
|
1698
|
+
opacity: ie("opacity"),
|
|
1699
|
+
brightness: ie("brightness"),
|
|
1700
|
+
contrast: ie("contrast"),
|
|
1701
|
+
dropShadow: ie("drop-shadow"),
|
|
1702
|
+
grayscale: ie("grayscale"),
|
|
1703
|
+
hueRotate: ie("hue-rotate"),
|
|
1704
|
+
invert: ie("invert"),
|
|
1705
|
+
saturate: ie("saturate"),
|
|
1706
|
+
sepia: ie("sepia"),
|
|
1707
|
+
bgImage(e) {
|
|
1708
|
+
return e == null || lt(e) || st.has(e) ? e : `url(${e})`;
|
|
1709
|
+
},
|
|
1710
|
+
outline(e) {
|
|
1711
|
+
const a = String(e) === "0" || String(e) === "none";
|
|
1712
|
+
return e !== null && a ? { outline: "2px solid transparent", outlineOffset: "2px" } : { outline: e };
|
|
1713
|
+
},
|
|
1714
|
+
flexDirection(e) {
|
|
1715
|
+
var a;
|
|
1716
|
+
const { space: l, divide: u } = (a = yn[e]) != null ? a : {}, p = { flexDirection: e };
|
|
1717
|
+
return l && (p[l] = 1), u && (p[u] = 1), p;
|
|
1718
|
+
}
|
|
1719
|
+
}, n = {
|
|
1720
|
+
borderWidths: J("borderWidths"),
|
|
1721
|
+
borderStyles: J("borderStyles"),
|
|
1722
|
+
colors: J("colors"),
|
|
1723
|
+
borders: J("borders"),
|
|
1724
|
+
gradients: J("gradients", S.gradient),
|
|
1725
|
+
radii: J("radii", S.px),
|
|
1726
|
+
space: J("space", Tr(S.vh, S.px)),
|
|
1727
|
+
spaceT: J("space", Tr(S.vh, S.px)),
|
|
1728
|
+
degreeT(e) {
|
|
1729
|
+
return { property: e, transform: S.degree };
|
|
1730
|
+
},
|
|
1731
|
+
prop(e, a, l) {
|
|
1732
|
+
return {
|
|
1733
|
+
property: e,
|
|
1734
|
+
scale: a,
|
|
1735
|
+
...a && {
|
|
1736
|
+
transform: pt({ scale: a, transform: l })
|
|
1737
|
+
}
|
|
1738
|
+
};
|
|
1739
|
+
},
|
|
1740
|
+
propT(e, a) {
|
|
1741
|
+
return { property: e, transform: a };
|
|
1742
|
+
},
|
|
1743
|
+
sizes: J("sizes", Tr(S.vh, S.px)),
|
|
1744
|
+
sizesT: J("sizes", Tr(S.vh, S.fraction)),
|
|
1745
|
+
shadows: J("shadows"),
|
|
1746
|
+
logical: pn,
|
|
1747
|
+
blur: J("blur", S.blur)
|
|
1748
|
+
}, Er = {
|
|
1749
|
+
background: n.colors("background"),
|
|
1750
|
+
backgroundColor: n.colors("backgroundColor"),
|
|
1751
|
+
backgroundImage: n.gradients("backgroundImage"),
|
|
1752
|
+
backgroundSize: !0,
|
|
1753
|
+
backgroundPosition: !0,
|
|
1754
|
+
backgroundRepeat: !0,
|
|
1755
|
+
backgroundAttachment: !0,
|
|
1756
|
+
backgroundClip: { transform: S.bgClip },
|
|
1757
|
+
bgSize: n.prop("backgroundSize"),
|
|
1758
|
+
bgPosition: n.prop("backgroundPosition"),
|
|
1759
|
+
bg: n.colors("background"),
|
|
1760
|
+
bgColor: n.colors("backgroundColor"),
|
|
1761
|
+
bgPos: n.prop("backgroundPosition"),
|
|
1762
|
+
bgRepeat: n.prop("backgroundRepeat"),
|
|
1763
|
+
bgAttachment: n.prop("backgroundAttachment"),
|
|
1764
|
+
bgGradient: n.gradients("backgroundImage"),
|
|
1765
|
+
bgClip: { transform: S.bgClip }
|
|
1766
|
+
};
|
|
1767
|
+
Object.assign(Er, {
|
|
1768
|
+
bgImage: Er.backgroundImage,
|
|
1769
|
+
bgImg: Er.backgroundImage
|
|
1770
|
+
});
|
|
1771
|
+
var k = {
|
|
1772
|
+
border: n.borders("border"),
|
|
1773
|
+
borderWidth: n.borderWidths("borderWidth"),
|
|
1774
|
+
borderStyle: n.borderStyles("borderStyle"),
|
|
1775
|
+
borderColor: n.colors("borderColor"),
|
|
1776
|
+
borderRadius: n.radii("borderRadius"),
|
|
1777
|
+
borderTop: n.borders("borderTop"),
|
|
1778
|
+
borderBlockStart: n.borders("borderBlockStart"),
|
|
1779
|
+
borderTopLeftRadius: n.radii("borderTopLeftRadius"),
|
|
1780
|
+
borderStartStartRadius: n.logical({
|
|
1781
|
+
scale: "radii",
|
|
1782
|
+
property: {
|
|
1783
|
+
ltr: "borderTopLeftRadius",
|
|
1784
|
+
rtl: "borderTopRightRadius"
|
|
1785
|
+
}
|
|
1786
|
+
}),
|
|
1787
|
+
borderEndStartRadius: n.logical({
|
|
1788
|
+
scale: "radii",
|
|
1789
|
+
property: {
|
|
1790
|
+
ltr: "borderBottomLeftRadius",
|
|
1791
|
+
rtl: "borderBottomRightRadius"
|
|
1792
|
+
}
|
|
1793
|
+
}),
|
|
1794
|
+
borderTopRightRadius: n.radii("borderTopRightRadius"),
|
|
1795
|
+
borderStartEndRadius: n.logical({
|
|
1796
|
+
scale: "radii",
|
|
1797
|
+
property: {
|
|
1798
|
+
ltr: "borderTopRightRadius",
|
|
1799
|
+
rtl: "borderTopLeftRadius"
|
|
1800
|
+
}
|
|
1801
|
+
}),
|
|
1802
|
+
borderEndEndRadius: n.logical({
|
|
1803
|
+
scale: "radii",
|
|
1804
|
+
property: {
|
|
1805
|
+
ltr: "borderBottomRightRadius",
|
|
1806
|
+
rtl: "borderBottomLeftRadius"
|
|
1807
|
+
}
|
|
1808
|
+
}),
|
|
1809
|
+
borderRight: n.borders("borderRight"),
|
|
1810
|
+
borderInlineEnd: n.borders("borderInlineEnd"),
|
|
1811
|
+
borderBottom: n.borders("borderBottom"),
|
|
1812
|
+
borderBlockEnd: n.borders("borderBlockEnd"),
|
|
1813
|
+
borderBottomLeftRadius: n.radii("borderBottomLeftRadius"),
|
|
1814
|
+
borderBottomRightRadius: n.radii("borderBottomRightRadius"),
|
|
1815
|
+
borderLeft: n.borders("borderLeft"),
|
|
1816
|
+
borderInlineStart: {
|
|
1817
|
+
property: "borderInlineStart",
|
|
1818
|
+
scale: "borders"
|
|
1819
|
+
},
|
|
1820
|
+
borderInlineStartRadius: n.logical({
|
|
1821
|
+
scale: "radii",
|
|
1822
|
+
property: {
|
|
1823
|
+
ltr: ["borderTopLeftRadius", "borderBottomLeftRadius"],
|
|
1824
|
+
rtl: ["borderTopRightRadius", "borderBottomRightRadius"]
|
|
1825
|
+
}
|
|
1826
|
+
}),
|
|
1827
|
+
borderInlineEndRadius: n.logical({
|
|
1828
|
+
scale: "radii",
|
|
1829
|
+
property: {
|
|
1830
|
+
ltr: ["borderTopRightRadius", "borderBottomRightRadius"],
|
|
1831
|
+
rtl: ["borderTopLeftRadius", "borderBottomLeftRadius"]
|
|
1832
|
+
}
|
|
1833
|
+
}),
|
|
1834
|
+
borderX: n.borders(["borderLeft", "borderRight"]),
|
|
1835
|
+
borderInline: n.borders("borderInline"),
|
|
1836
|
+
borderY: n.borders(["borderTop", "borderBottom"]),
|
|
1837
|
+
borderBlock: n.borders("borderBlock"),
|
|
1838
|
+
borderTopWidth: n.borderWidths("borderTopWidth"),
|
|
1839
|
+
borderBlockStartWidth: n.borderWidths("borderBlockStartWidth"),
|
|
1840
|
+
borderTopColor: n.colors("borderTopColor"),
|
|
1841
|
+
borderBlockStartColor: n.colors("borderBlockStartColor"),
|
|
1842
|
+
borderTopStyle: n.borderStyles("borderTopStyle"),
|
|
1843
|
+
borderBlockStartStyle: n.borderStyles("borderBlockStartStyle"),
|
|
1844
|
+
borderBottomWidth: n.borderWidths("borderBottomWidth"),
|
|
1845
|
+
borderBlockEndWidth: n.borderWidths("borderBlockEndWidth"),
|
|
1846
|
+
borderBottomColor: n.colors("borderBottomColor"),
|
|
1847
|
+
borderBlockEndColor: n.colors("borderBlockEndColor"),
|
|
1848
|
+
borderBottomStyle: n.borderStyles("borderBottomStyle"),
|
|
1849
|
+
borderBlockEndStyle: n.borderStyles("borderBlockEndStyle"),
|
|
1850
|
+
borderLeftWidth: n.borderWidths("borderLeftWidth"),
|
|
1851
|
+
borderInlineStartWidth: n.borderWidths("borderInlineStartWidth"),
|
|
1852
|
+
borderLeftColor: n.colors("borderLeftColor"),
|
|
1853
|
+
borderInlineStartColor: n.colors("borderInlineStartColor"),
|
|
1854
|
+
borderLeftStyle: n.borderStyles("borderLeftStyle"),
|
|
1855
|
+
borderInlineStartStyle: n.borderStyles("borderInlineStartStyle"),
|
|
1856
|
+
borderRightWidth: n.borderWidths("borderRightWidth"),
|
|
1857
|
+
borderInlineEndWidth: n.borderWidths("borderInlineEndWidth"),
|
|
1858
|
+
borderRightColor: n.colors("borderRightColor"),
|
|
1859
|
+
borderInlineEndColor: n.colors("borderInlineEndColor"),
|
|
1860
|
+
borderRightStyle: n.borderStyles("borderRightStyle"),
|
|
1861
|
+
borderInlineEndStyle: n.borderStyles("borderInlineEndStyle"),
|
|
1862
|
+
borderTopRadius: n.radii(["borderTopLeftRadius", "borderTopRightRadius"]),
|
|
1863
|
+
borderBottomRadius: n.radii([
|
|
1864
|
+
"borderBottomLeftRadius",
|
|
1865
|
+
"borderBottomRightRadius"
|
|
1866
|
+
]),
|
|
1867
|
+
borderLeftRadius: n.radii(["borderTopLeftRadius", "borderBottomLeftRadius"]),
|
|
1868
|
+
borderRightRadius: n.radii([
|
|
1869
|
+
"borderTopRightRadius",
|
|
1870
|
+
"borderBottomRightRadius"
|
|
1871
|
+
])
|
|
1872
|
+
};
|
|
1873
|
+
Object.assign(k, {
|
|
1874
|
+
rounded: k.borderRadius,
|
|
1875
|
+
roundedTop: k.borderTopRadius,
|
|
1876
|
+
roundedTopLeft: k.borderTopLeftRadius,
|
|
1877
|
+
roundedTopRight: k.borderTopRightRadius,
|
|
1878
|
+
roundedTopStart: k.borderStartStartRadius,
|
|
1879
|
+
roundedTopEnd: k.borderStartEndRadius,
|
|
1880
|
+
roundedBottom: k.borderBottomRadius,
|
|
1881
|
+
roundedBottomLeft: k.borderBottomLeftRadius,
|
|
1882
|
+
roundedBottomRight: k.borderBottomRightRadius,
|
|
1883
|
+
roundedBottomStart: k.borderEndStartRadius,
|
|
1884
|
+
roundedBottomEnd: k.borderEndEndRadius,
|
|
1885
|
+
roundedLeft: k.borderLeftRadius,
|
|
1886
|
+
roundedRight: k.borderRightRadius,
|
|
1887
|
+
roundedStart: k.borderInlineStartRadius,
|
|
1888
|
+
roundedEnd: k.borderInlineEndRadius,
|
|
1889
|
+
borderStart: k.borderInlineStart,
|
|
1890
|
+
borderEnd: k.borderInlineEnd,
|
|
1891
|
+
borderTopStartRadius: k.borderStartStartRadius,
|
|
1892
|
+
borderTopEndRadius: k.borderStartEndRadius,
|
|
1893
|
+
borderBottomStartRadius: k.borderEndStartRadius,
|
|
1894
|
+
borderBottomEndRadius: k.borderEndEndRadius,
|
|
1895
|
+
borderStartRadius: k.borderInlineStartRadius,
|
|
1896
|
+
borderEndRadius: k.borderInlineEndRadius,
|
|
1897
|
+
borderStartWidth: k.borderInlineStartWidth,
|
|
1898
|
+
borderEndWidth: k.borderInlineEndWidth,
|
|
1899
|
+
borderStartColor: k.borderInlineStartColor,
|
|
1900
|
+
borderEndColor: k.borderInlineEndColor,
|
|
1901
|
+
borderStartStyle: k.borderInlineStartStyle,
|
|
1902
|
+
borderEndStyle: k.borderInlineEndStyle
|
|
1903
|
+
});
|
|
1904
|
+
var Tn = {
|
|
1905
|
+
color: n.colors("color"),
|
|
1906
|
+
textColor: n.colors("color"),
|
|
1907
|
+
fill: n.colors("fill"),
|
|
1908
|
+
stroke: n.colors("stroke")
|
|
1909
|
+
}, dt = {
|
|
1910
|
+
boxShadow: n.shadows("boxShadow"),
|
|
1911
|
+
mixBlendMode: !0,
|
|
1912
|
+
blendMode: n.prop("mixBlendMode"),
|
|
1913
|
+
backgroundBlendMode: !0,
|
|
1914
|
+
bgBlendMode: n.prop("backgroundBlendMode"),
|
|
1915
|
+
opacity: !0
|
|
1916
|
+
};
|
|
1917
|
+
Object.assign(dt, {
|
|
1918
|
+
shadow: dt.boxShadow
|
|
1919
|
+
});
|
|
1920
|
+
var Rn = {
|
|
1921
|
+
filter: { transform: S.filter },
|
|
1922
|
+
blur: n.blur("--chakra-blur"),
|
|
1923
|
+
brightness: n.propT("--chakra-brightness", S.brightness),
|
|
1924
|
+
contrast: n.propT("--chakra-contrast", S.contrast),
|
|
1925
|
+
hueRotate: n.degreeT("--chakra-hue-rotate"),
|
|
1926
|
+
invert: n.propT("--chakra-invert", S.invert),
|
|
1927
|
+
saturate: n.propT("--chakra-saturate", S.saturate),
|
|
1928
|
+
dropShadow: n.propT("--chakra-drop-shadow", S.dropShadow),
|
|
1929
|
+
backdropFilter: { transform: S.backdropFilter },
|
|
1930
|
+
backdropBlur: n.blur("--chakra-backdrop-blur"),
|
|
1931
|
+
backdropBrightness: n.propT(
|
|
1932
|
+
"--chakra-backdrop-brightness",
|
|
1933
|
+
S.brightness
|
|
1934
|
+
),
|
|
1935
|
+
backdropContrast: n.propT("--chakra-backdrop-contrast", S.contrast),
|
|
1936
|
+
backdropHueRotate: n.degreeT("--chakra-backdrop-hue-rotate"),
|
|
1937
|
+
backdropInvert: n.propT("--chakra-backdrop-invert", S.invert),
|
|
1938
|
+
backdropSaturate: n.propT("--chakra-backdrop-saturate", S.saturate)
|
|
1939
|
+
}, Br = {
|
|
1940
|
+
alignItems: !0,
|
|
1941
|
+
alignContent: !0,
|
|
1942
|
+
justifyItems: !0,
|
|
1943
|
+
justifyContent: !0,
|
|
1944
|
+
flexWrap: !0,
|
|
1945
|
+
flexDirection: { transform: S.flexDirection },
|
|
1946
|
+
flex: !0,
|
|
1947
|
+
flexFlow: !0,
|
|
1948
|
+
flexGrow: !0,
|
|
1949
|
+
flexShrink: !0,
|
|
1950
|
+
flexBasis: n.sizes("flexBasis"),
|
|
1951
|
+
justifySelf: !0,
|
|
1952
|
+
alignSelf: !0,
|
|
1953
|
+
order: !0,
|
|
1954
|
+
placeItems: !0,
|
|
1955
|
+
placeContent: !0,
|
|
1956
|
+
placeSelf: !0,
|
|
1957
|
+
gap: n.space("gap"),
|
|
1958
|
+
rowGap: n.space("rowGap"),
|
|
1959
|
+
columnGap: n.space("columnGap")
|
|
1960
|
+
};
|
|
1961
|
+
Object.assign(Br, {
|
|
1962
|
+
flexDir: Br.flexDirection
|
|
1963
|
+
});
|
|
1964
|
+
var Lt = {
|
|
1965
|
+
gridGap: n.space("gridGap"),
|
|
1966
|
+
gridColumnGap: n.space("gridColumnGap"),
|
|
1967
|
+
gridRowGap: n.space("gridRowGap"),
|
|
1968
|
+
gridColumn: !0,
|
|
1969
|
+
gridRow: !0,
|
|
1970
|
+
gridAutoFlow: !0,
|
|
1971
|
+
gridAutoColumns: !0,
|
|
1972
|
+
gridColumnStart: !0,
|
|
1973
|
+
gridColumnEnd: !0,
|
|
1974
|
+
gridRowStart: !0,
|
|
1975
|
+
gridRowEnd: !0,
|
|
1976
|
+
gridAutoRows: !0,
|
|
1977
|
+
gridTemplate: !0,
|
|
1978
|
+
gridTemplateColumns: !0,
|
|
1979
|
+
gridTemplateRows: !0,
|
|
1980
|
+
gridTemplateAreas: !0,
|
|
1981
|
+
gridArea: !0
|
|
1982
|
+
}, En = {
|
|
1983
|
+
appearance: !0,
|
|
1984
|
+
cursor: !0,
|
|
1985
|
+
resize: !0,
|
|
1986
|
+
userSelect: !0,
|
|
1987
|
+
pointerEvents: !0,
|
|
1988
|
+
outline: { transform: S.outline },
|
|
1989
|
+
outlineOffset: !0,
|
|
1990
|
+
outlineColor: n.colors("outlineColor")
|
|
1991
|
+
}, Z = {
|
|
1992
|
+
width: n.sizesT("width"),
|
|
1993
|
+
inlineSize: n.sizesT("inlineSize"),
|
|
1994
|
+
height: n.sizes("height"),
|
|
1995
|
+
blockSize: n.sizes("blockSize"),
|
|
1996
|
+
boxSize: n.sizes(["width", "height"]),
|
|
1997
|
+
minWidth: n.sizes("minWidth"),
|
|
1998
|
+
minInlineSize: n.sizes("minInlineSize"),
|
|
1999
|
+
minHeight: n.sizes("minHeight"),
|
|
2000
|
+
minBlockSize: n.sizes("minBlockSize"),
|
|
2001
|
+
maxWidth: n.sizes("maxWidth"),
|
|
2002
|
+
maxInlineSize: n.sizes("maxInlineSize"),
|
|
2003
|
+
maxHeight: n.sizes("maxHeight"),
|
|
2004
|
+
maxBlockSize: n.sizes("maxBlockSize"),
|
|
2005
|
+
overflow: !0,
|
|
2006
|
+
overflowX: !0,
|
|
2007
|
+
overflowY: !0,
|
|
2008
|
+
overscrollBehavior: !0,
|
|
2009
|
+
overscrollBehaviorX: !0,
|
|
2010
|
+
overscrollBehaviorY: !0,
|
|
2011
|
+
display: !0,
|
|
2012
|
+
aspectRatio: !0,
|
|
2013
|
+
hideFrom: {
|
|
2014
|
+
scale: "breakpoints",
|
|
2015
|
+
transform: (e, a) => {
|
|
2016
|
+
var l, u, p;
|
|
2017
|
+
return { [`@media screen and (min-width: ${(p = (u = (l = a.__breakpoints) == null ? void 0 : l.get(e)) == null ? void 0 : u.minW) != null ? p : e})`]: { display: "none" } };
|
|
2018
|
+
}
|
|
2019
|
+
},
|
|
2020
|
+
hideBelow: {
|
|
2021
|
+
scale: "breakpoints",
|
|
2022
|
+
transform: (e, a) => {
|
|
2023
|
+
var l, u, p;
|
|
2024
|
+
return { [`@media screen and (max-width: ${(p = (u = (l = a.__breakpoints) == null ? void 0 : l.get(e)) == null ? void 0 : u._minW) != null ? p : e})`]: { display: "none" } };
|
|
2025
|
+
}
|
|
2026
|
+
},
|
|
2027
|
+
verticalAlign: !0,
|
|
2028
|
+
boxSizing: !0,
|
|
2029
|
+
boxDecorationBreak: !0,
|
|
2030
|
+
float: n.propT("float", S.float),
|
|
2031
|
+
objectFit: !0,
|
|
2032
|
+
objectPosition: !0,
|
|
2033
|
+
visibility: !0,
|
|
2034
|
+
isolation: !0
|
|
2035
|
+
};
|
|
2036
|
+
Object.assign(Z, {
|
|
2037
|
+
w: Z.width,
|
|
2038
|
+
h: Z.height,
|
|
2039
|
+
minW: Z.minWidth,
|
|
2040
|
+
maxW: Z.maxWidth,
|
|
2041
|
+
minH: Z.minHeight,
|
|
2042
|
+
maxH: Z.maxHeight,
|
|
2043
|
+
overscroll: Z.overscrollBehavior,
|
|
2044
|
+
overscrollX: Z.overscrollBehaviorX,
|
|
2045
|
+
overscrollY: Z.overscrollBehaviorY
|
|
2046
|
+
});
|
|
2047
|
+
var Fn = {
|
|
2048
|
+
listStyleType: !0,
|
|
2049
|
+
listStylePosition: !0,
|
|
2050
|
+
listStylePos: n.prop("listStylePosition"),
|
|
2051
|
+
listStyleImage: !0,
|
|
2052
|
+
listStyleImg: n.prop("listStyleImage")
|
|
2053
|
+
};
|
|
2054
|
+
function Bn(e, a, l, u) {
|
|
2055
|
+
const p = typeof a == "string" ? a.split(".") : [a];
|
|
2056
|
+
for (u = 0; u < p.length && e; u += 1)
|
|
2057
|
+
e = e[p[u]];
|
|
2058
|
+
return e === void 0 ? l : e;
|
|
2059
|
+
}
|
|
2060
|
+
var In = (e) => {
|
|
2061
|
+
const a = /* @__PURE__ */ new WeakMap();
|
|
2062
|
+
return (u, p, v, R) => {
|
|
2063
|
+
if (typeof u > "u")
|
|
2064
|
+
return e(u, p, v);
|
|
2065
|
+
a.has(u) || a.set(u, /* @__PURE__ */ new Map());
|
|
2066
|
+
const F = a.get(u);
|
|
2067
|
+
if (F.has(p))
|
|
2068
|
+
return F.get(p);
|
|
2069
|
+
const y = e(u, p, v, R);
|
|
2070
|
+
return F.set(p, y), y;
|
|
2071
|
+
};
|
|
2072
|
+
}, zn = In(Bn), Pn = {
|
|
2073
|
+
border: "0px",
|
|
2074
|
+
clip: "rect(0, 0, 0, 0)",
|
|
2075
|
+
width: "1px",
|
|
2076
|
+
height: "1px",
|
|
2077
|
+
margin: "-1px",
|
|
2078
|
+
padding: "0px",
|
|
2079
|
+
overflow: "hidden",
|
|
2080
|
+
whiteSpace: "nowrap",
|
|
2081
|
+
position: "absolute"
|
|
2082
|
+
}, Dn = {
|
|
2083
|
+
position: "static",
|
|
2084
|
+
width: "auto",
|
|
2085
|
+
height: "auto",
|
|
2086
|
+
clip: "auto",
|
|
2087
|
+
padding: "0",
|
|
2088
|
+
margin: "0",
|
|
2089
|
+
overflow: "visible",
|
|
2090
|
+
whiteSpace: "normal"
|
|
2091
|
+
}, ot = (e, a, l) => {
|
|
2092
|
+
const u = {}, p = zn(e, a, {});
|
|
2093
|
+
for (const v in p)
|
|
2094
|
+
v in l && l[v] != null || (u[v] = p[v]);
|
|
2095
|
+
return u;
|
|
2096
|
+
}, Mn = {
|
|
2097
|
+
srOnly: {
|
|
2098
|
+
transform(e) {
|
|
2099
|
+
return e === !0 ? Pn : e === "focusable" ? Dn : {};
|
|
2100
|
+
}
|
|
2101
|
+
},
|
|
2102
|
+
layerStyle: {
|
|
2103
|
+
processResult: !0,
|
|
2104
|
+
transform: (e, a, l) => ot(a, `layerStyles.${e}`, l)
|
|
2105
|
+
},
|
|
2106
|
+
textStyle: {
|
|
2107
|
+
processResult: !0,
|
|
2108
|
+
transform: (e, a, l) => ot(a, `textStyles.${e}`, l)
|
|
2109
|
+
},
|
|
2110
|
+
apply: {
|
|
2111
|
+
processResult: !0,
|
|
2112
|
+
transform: (e, a, l) => ot(a, e, l)
|
|
2113
|
+
}
|
|
2114
|
+
}, Ke = {
|
|
2115
|
+
position: !0,
|
|
2116
|
+
pos: n.prop("position"),
|
|
2117
|
+
zIndex: n.prop("zIndex", "zIndices"),
|
|
2118
|
+
inset: n.spaceT("inset"),
|
|
2119
|
+
insetX: n.spaceT(["left", "right"]),
|
|
2120
|
+
insetInline: n.spaceT("insetInline"),
|
|
2121
|
+
insetY: n.spaceT(["top", "bottom"]),
|
|
2122
|
+
insetBlock: n.spaceT("insetBlock"),
|
|
2123
|
+
top: n.spaceT("top"),
|
|
2124
|
+
insetBlockStart: n.spaceT("insetBlockStart"),
|
|
2125
|
+
bottom: n.spaceT("bottom"),
|
|
2126
|
+
insetBlockEnd: n.spaceT("insetBlockEnd"),
|
|
2127
|
+
left: n.spaceT("left"),
|
|
2128
|
+
insetInlineStart: n.logical({
|
|
2129
|
+
scale: "space",
|
|
2130
|
+
property: { ltr: "left", rtl: "right" }
|
|
2131
|
+
}),
|
|
2132
|
+
right: n.spaceT("right"),
|
|
2133
|
+
insetInlineEnd: n.logical({
|
|
2134
|
+
scale: "space",
|
|
2135
|
+
property: { ltr: "right", rtl: "left" }
|
|
2136
|
+
})
|
|
2137
|
+
};
|
|
2138
|
+
Object.assign(Ke, {
|
|
2139
|
+
insetStart: Ke.insetInlineStart,
|
|
2140
|
+
insetEnd: Ke.insetInlineEnd
|
|
2141
|
+
});
|
|
2142
|
+
var $n = {
|
|
2143
|
+
ring: { transform: S.ring },
|
|
2144
|
+
ringColor: n.colors("--chakra-ring-color"),
|
|
2145
|
+
ringOffset: n.prop("--chakra-ring-offset-width"),
|
|
2146
|
+
ringOffsetColor: n.colors("--chakra-ring-offset-color"),
|
|
2147
|
+
ringInset: n.prop("--chakra-ring-inset")
|
|
2148
|
+
}, z = {
|
|
2149
|
+
margin: n.spaceT("margin"),
|
|
2150
|
+
marginTop: n.spaceT("marginTop"),
|
|
2151
|
+
marginBlockStart: n.spaceT("marginBlockStart"),
|
|
2152
|
+
marginRight: n.spaceT("marginRight"),
|
|
2153
|
+
marginInlineEnd: n.spaceT("marginInlineEnd"),
|
|
2154
|
+
marginBottom: n.spaceT("marginBottom"),
|
|
2155
|
+
marginBlockEnd: n.spaceT("marginBlockEnd"),
|
|
2156
|
+
marginLeft: n.spaceT("marginLeft"),
|
|
2157
|
+
marginInlineStart: n.spaceT("marginInlineStart"),
|
|
2158
|
+
marginX: n.spaceT(["marginInlineStart", "marginInlineEnd"]),
|
|
2159
|
+
marginInline: n.spaceT("marginInline"),
|
|
2160
|
+
marginY: n.spaceT(["marginTop", "marginBottom"]),
|
|
2161
|
+
marginBlock: n.spaceT("marginBlock"),
|
|
2162
|
+
padding: n.space("padding"),
|
|
2163
|
+
paddingTop: n.space("paddingTop"),
|
|
2164
|
+
paddingBlockStart: n.space("paddingBlockStart"),
|
|
2165
|
+
paddingRight: n.space("paddingRight"),
|
|
2166
|
+
paddingBottom: n.space("paddingBottom"),
|
|
2167
|
+
paddingBlockEnd: n.space("paddingBlockEnd"),
|
|
2168
|
+
paddingLeft: n.space("paddingLeft"),
|
|
2169
|
+
paddingInlineStart: n.space("paddingInlineStart"),
|
|
2170
|
+
paddingInlineEnd: n.space("paddingInlineEnd"),
|
|
2171
|
+
paddingX: n.space(["paddingInlineStart", "paddingInlineEnd"]),
|
|
2172
|
+
paddingInline: n.space("paddingInline"),
|
|
2173
|
+
paddingY: n.space(["paddingTop", "paddingBottom"]),
|
|
2174
|
+
paddingBlock: n.space("paddingBlock")
|
|
2175
|
+
};
|
|
2176
|
+
Object.assign(z, {
|
|
2177
|
+
m: z.margin,
|
|
2178
|
+
mt: z.marginTop,
|
|
2179
|
+
mr: z.marginRight,
|
|
2180
|
+
me: z.marginInlineEnd,
|
|
2181
|
+
marginEnd: z.marginInlineEnd,
|
|
2182
|
+
mb: z.marginBottom,
|
|
2183
|
+
ml: z.marginLeft,
|
|
2184
|
+
ms: z.marginInlineStart,
|
|
2185
|
+
marginStart: z.marginInlineStart,
|
|
2186
|
+
mx: z.marginX,
|
|
2187
|
+
my: z.marginY,
|
|
2188
|
+
p: z.padding,
|
|
2189
|
+
pt: z.paddingTop,
|
|
2190
|
+
py: z.paddingY,
|
|
2191
|
+
px: z.paddingX,
|
|
2192
|
+
pb: z.paddingBottom,
|
|
2193
|
+
pl: z.paddingLeft,
|
|
2194
|
+
ps: z.paddingInlineStart,
|
|
2195
|
+
paddingStart: z.paddingInlineStart,
|
|
2196
|
+
pr: z.paddingRight,
|
|
2197
|
+
pe: z.paddingInlineEnd,
|
|
2198
|
+
paddingEnd: z.paddingInlineEnd
|
|
2199
|
+
});
|
|
2200
|
+
var On = {
|
|
2201
|
+
textDecorationColor: n.colors("textDecorationColor"),
|
|
2202
|
+
textDecoration: !0,
|
|
2203
|
+
textDecor: { property: "textDecoration" },
|
|
2204
|
+
textDecorationLine: !0,
|
|
2205
|
+
textDecorationStyle: !0,
|
|
2206
|
+
textDecorationThickness: !0,
|
|
2207
|
+
textUnderlineOffset: !0,
|
|
2208
|
+
textShadow: n.shadows("textShadow")
|
|
2209
|
+
}, An = {
|
|
2210
|
+
clipPath: !0,
|
|
2211
|
+
transform: n.propT("transform", S.transform),
|
|
2212
|
+
transformOrigin: !0,
|
|
2213
|
+
translateX: n.spaceT("--chakra-translate-x"),
|
|
2214
|
+
translateY: n.spaceT("--chakra-translate-y"),
|
|
2215
|
+
skewX: n.degreeT("--chakra-skew-x"),
|
|
2216
|
+
skewY: n.degreeT("--chakra-skew-y"),
|
|
2217
|
+
scaleX: n.prop("--chakra-scale-x"),
|
|
2218
|
+
scaleY: n.prop("--chakra-scale-y"),
|
|
2219
|
+
scale: n.prop(["--chakra-scale-x", "--chakra-scale-y"]),
|
|
2220
|
+
rotate: n.degreeT("--chakra-rotate")
|
|
2221
|
+
}, Wn = {
|
|
2222
|
+
transition: !0,
|
|
2223
|
+
transitionDelay: !0,
|
|
2224
|
+
animation: !0,
|
|
2225
|
+
willChange: !0,
|
|
2226
|
+
transitionDuration: n.prop("transitionDuration", "transition.duration"),
|
|
2227
|
+
transitionProperty: n.prop("transitionProperty", "transition.property"),
|
|
2228
|
+
transitionTimingFunction: n.prop(
|
|
2229
|
+
"transitionTimingFunction",
|
|
2230
|
+
"transition.easing"
|
|
2231
|
+
)
|
|
2232
|
+
}, jn = {
|
|
2233
|
+
fontFamily: n.prop("fontFamily", "fonts"),
|
|
2234
|
+
fontSize: n.prop("fontSize", "fontSizes", S.px),
|
|
2235
|
+
fontWeight: n.prop("fontWeight", "fontWeights"),
|
|
2236
|
+
lineHeight: n.prop("lineHeight", "lineHeights"),
|
|
2237
|
+
letterSpacing: n.prop("letterSpacing", "letterSpacings"),
|
|
2238
|
+
textAlign: !0,
|
|
2239
|
+
fontStyle: !0,
|
|
2240
|
+
textIndent: !0,
|
|
2241
|
+
wordBreak: !0,
|
|
2242
|
+
overflowWrap: !0,
|
|
2243
|
+
textOverflow: !0,
|
|
2244
|
+
textTransform: !0,
|
|
2245
|
+
whiteSpace: !0,
|
|
2246
|
+
isTruncated: {
|
|
2247
|
+
transform(e) {
|
|
2248
|
+
if (e === !0)
|
|
2249
|
+
return {
|
|
2250
|
+
overflow: "hidden",
|
|
2251
|
+
textOverflow: "ellipsis",
|
|
2252
|
+
whiteSpace: "nowrap"
|
|
2253
|
+
};
|
|
2254
|
+
}
|
|
2255
|
+
},
|
|
2256
|
+
noOfLines: {
|
|
2257
|
+
static: {
|
|
2258
|
+
overflow: "hidden",
|
|
2259
|
+
textOverflow: "ellipsis",
|
|
2260
|
+
display: "-webkit-box",
|
|
2261
|
+
WebkitBoxOrient: "vertical",
|
|
2262
|
+
WebkitLineClamp: "var(--chakra-line-clamp)"
|
|
2263
|
+
},
|
|
2264
|
+
property: "--chakra-line-clamp"
|
|
2265
|
+
}
|
|
2266
|
+
}, Gn = {
|
|
2267
|
+
scrollBehavior: !0,
|
|
2268
|
+
scrollSnapAlign: !0,
|
|
2269
|
+
scrollSnapStop: !0,
|
|
2270
|
+
scrollSnapType: !0,
|
|
2271
|
+
scrollMargin: n.spaceT("scrollMargin"),
|
|
2272
|
+
scrollMarginTop: n.spaceT("scrollMarginTop"),
|
|
2273
|
+
scrollMarginBottom: n.spaceT("scrollMarginBottom"),
|
|
2274
|
+
scrollMarginLeft: n.spaceT("scrollMarginLeft"),
|
|
2275
|
+
scrollMarginRight: n.spaceT("scrollMarginRight"),
|
|
2276
|
+
scrollMarginX: n.spaceT(["scrollMarginLeft", "scrollMarginRight"]),
|
|
2277
|
+
scrollMarginY: n.spaceT(["scrollMarginTop", "scrollMarginBottom"]),
|
|
2278
|
+
scrollPadding: n.spaceT("scrollPadding"),
|
|
2279
|
+
scrollPaddingTop: n.spaceT("scrollPaddingTop"),
|
|
2280
|
+
scrollPaddingBottom: n.spaceT("scrollPaddingBottom"),
|
|
2281
|
+
scrollPaddingLeft: n.spaceT("scrollPaddingLeft"),
|
|
2282
|
+
scrollPaddingRight: n.spaceT("scrollPaddingRight"),
|
|
2283
|
+
scrollPaddingX: n.spaceT(["scrollPaddingLeft", "scrollPaddingRight"]),
|
|
2284
|
+
scrollPaddingY: n.spaceT(["scrollPaddingTop", "scrollPaddingBottom"])
|
|
2285
|
+
};
|
|
2286
|
+
function Nt(e) {
|
|
2287
|
+
return jt(e) && e.reference ? e.reference : String(e);
|
|
2288
|
+
}
|
|
2289
|
+
var Ir = (e, ...a) => a.map(Nt).join(` ${e} `).replace(/calc/g, ""), Et = (...e) => `calc(${Ir("+", ...e)})`, Ft = (...e) => `calc(${Ir("-", ...e)})`, ct = (...e) => `calc(${Ir("*", ...e)})`, Bt = (...e) => `calc(${Ir("/", ...e)})`, It = (e) => {
|
|
2290
|
+
const a = Nt(e);
|
|
2291
|
+
return a != null && !Number.isNaN(parseFloat(a)) ? String(a).startsWith("-") ? String(a).slice(1) : `-${a}` : ct(a, -1);
|
|
2292
|
+
}, Ue = Object.assign(
|
|
2293
|
+
(e) => ({
|
|
2294
|
+
add: (...a) => Ue(Et(e, ...a)),
|
|
2295
|
+
subtract: (...a) => Ue(Ft(e, ...a)),
|
|
2296
|
+
multiply: (...a) => Ue(ct(e, ...a)),
|
|
2297
|
+
divide: (...a) => Ue(Bt(e, ...a)),
|
|
2298
|
+
negate: () => Ue(It(e)),
|
|
2299
|
+
toString: () => e.toString()
|
|
2300
|
+
}),
|
|
2301
|
+
{
|
|
2302
|
+
add: Et,
|
|
2303
|
+
subtract: Ft,
|
|
2304
|
+
multiply: ct,
|
|
2305
|
+
divide: Bt,
|
|
2306
|
+
negate: It
|
|
2307
|
+
}
|
|
2308
|
+
), L = {
|
|
2309
|
+
hover: (e, a) => `${e}:hover ${a}, ${e}[data-hover] ${a}`,
|
|
2310
|
+
focus: (e, a) => `${e}:focus ${a}, ${e}[data-focus] ${a}`,
|
|
2311
|
+
focusVisible: (e, a) => `${e}:focus-visible ${a}`,
|
|
2312
|
+
focusWithin: (e, a) => `${e}:focus-within ${a}`,
|
|
2313
|
+
active: (e, a) => `${e}:active ${a}, ${e}[data-active] ${a}`,
|
|
2314
|
+
disabled: (e, a) => `${e}:disabled ${a}, ${e}[data-disabled] ${a}`,
|
|
2315
|
+
invalid: (e, a) => `${e}:invalid ${a}, ${e}[data-invalid] ${a}`,
|
|
2316
|
+
checked: (e, a) => `${e}:checked ${a}, ${e}[data-checked] ${a}`,
|
|
2317
|
+
indeterminate: (e, a) => `${e}:indeterminate ${a}, ${e}[aria-checked=mixed] ${a}, ${e}[data-indeterminate] ${a}`,
|
|
2318
|
+
readOnly: (e, a) => `${e}:read-only ${a}, ${e}[readonly] ${a}, ${e}[data-read-only] ${a}`,
|
|
2319
|
+
expanded: (e, a) => `${e}:read-only ${a}, ${e}[aria-expanded=true] ${a}, ${e}[data-expanded] ${a}`,
|
|
2320
|
+
placeholderShown: (e, a) => `${e}:placeholder-shown ${a}`
|
|
2321
|
+
}, me = (e) => Yt((a) => e(a, "&"), "[role=group]", "[data-group]", ".group"), pe = (e) => Yt((a) => e(a, "~ &"), "[data-peer]", ".peer"), Yt = (e, ...a) => a.map(e).join(", "), Ht = {
|
|
2322
|
+
_hover: "&:hover, &[data-hover]",
|
|
2323
|
+
_active: "&:active, &[data-active]",
|
|
2324
|
+
_focus: "&:focus, &[data-focus]",
|
|
2325
|
+
_highlighted: "&[data-highlighted]",
|
|
2326
|
+
_focusWithin: "&:focus-within",
|
|
2327
|
+
_focusVisible: "&:focus-visible, &[data-focus-visible]",
|
|
2328
|
+
_disabled: "&:disabled, &[disabled], &[aria-disabled=true], &[data-disabled]",
|
|
2329
|
+
_readOnly: "&[aria-readonly=true], &[readonly], &[data-readonly]",
|
|
2330
|
+
_before: "&::before",
|
|
2331
|
+
_after: "&::after",
|
|
2332
|
+
_empty: "&:empty",
|
|
2333
|
+
_expanded: "&[aria-expanded=true], &[data-expanded]",
|
|
2334
|
+
_checked: "&[aria-checked=true], &[data-checked]",
|
|
2335
|
+
_grabbed: "&[aria-grabbed=true], &[data-grabbed]",
|
|
2336
|
+
_pressed: "&[aria-pressed=true], &[data-pressed]",
|
|
2337
|
+
_invalid: "&[aria-invalid=true], &[data-invalid]",
|
|
2338
|
+
_valid: "&[data-valid], &[data-state=valid]",
|
|
2339
|
+
_loading: "&[data-loading], &[aria-busy=true]",
|
|
2340
|
+
_selected: "&[aria-selected=true], &[data-selected]",
|
|
2341
|
+
_hidden: "&[hidden], &[data-hidden]",
|
|
2342
|
+
_autofill: "&:-webkit-autofill",
|
|
2343
|
+
_even: "&:nth-of-type(even)",
|
|
2344
|
+
_odd: "&:nth-of-type(odd)",
|
|
2345
|
+
_first: "&:first-of-type",
|
|
2346
|
+
_firstLetter: "&::first-letter",
|
|
2347
|
+
_last: "&:last-of-type",
|
|
2348
|
+
_notFirst: "&:not(:first-of-type)",
|
|
2349
|
+
_notLast: "&:not(:last-of-type)",
|
|
2350
|
+
_visited: "&:visited",
|
|
2351
|
+
_activeLink: "&[aria-current=page]",
|
|
2352
|
+
_activeStep: "&[aria-current=step]",
|
|
2353
|
+
_indeterminate: "&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]",
|
|
2354
|
+
_groupHover: me(L.hover),
|
|
2355
|
+
_peerHover: pe(L.hover),
|
|
2356
|
+
_groupFocus: me(L.focus),
|
|
2357
|
+
_peerFocus: pe(L.focus),
|
|
2358
|
+
_groupFocusVisible: me(L.focusVisible),
|
|
2359
|
+
_peerFocusVisible: pe(L.focusVisible),
|
|
2360
|
+
_groupActive: me(L.active),
|
|
2361
|
+
_peerActive: pe(L.active),
|
|
2362
|
+
_groupDisabled: me(L.disabled),
|
|
2363
|
+
_peerDisabled: pe(L.disabled),
|
|
2364
|
+
_groupInvalid: me(L.invalid),
|
|
2365
|
+
_peerInvalid: pe(L.invalid),
|
|
2366
|
+
_groupChecked: me(L.checked),
|
|
2367
|
+
_peerChecked: pe(L.checked),
|
|
2368
|
+
_groupFocusWithin: me(L.focusWithin),
|
|
2369
|
+
_peerFocusWithin: pe(L.focusWithin),
|
|
2370
|
+
_peerPlaceholderShown: pe(L.placeholderShown),
|
|
2371
|
+
_placeholder: "&::placeholder",
|
|
2372
|
+
_placeholderShown: "&:placeholder-shown",
|
|
2373
|
+
_fullScreen: "&:fullscreen",
|
|
2374
|
+
_selection: "&::selection",
|
|
2375
|
+
_rtl: "[dir=rtl] &, &[dir=rtl]",
|
|
2376
|
+
_ltr: "[dir=ltr] &, &[dir=ltr]",
|
|
2377
|
+
_mediaDark: "@media (prefers-color-scheme: dark)",
|
|
2378
|
+
_mediaReduceMotion: "@media (prefers-reduced-motion: reduce)",
|
|
2379
|
+
_dark: ".chakra-ui-dark &:not([data-theme]),[data-theme=dark] &:not([data-theme]),&[data-theme=dark]",
|
|
2380
|
+
_light: ".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]",
|
|
2381
|
+
_horizontal: "&[data-orientation=horizontal]",
|
|
2382
|
+
_vertical: "&[data-orientation=vertical]"
|
|
2383
|
+
}, Ln = Object.keys(
|
|
2384
|
+
Ht
|
|
2385
|
+
), Vt = dn(
|
|
2386
|
+
{},
|
|
2387
|
+
Er,
|
|
2388
|
+
k,
|
|
2389
|
+
Tn,
|
|
2390
|
+
Br,
|
|
2391
|
+
Z,
|
|
2392
|
+
Rn,
|
|
2393
|
+
$n,
|
|
2394
|
+
En,
|
|
2395
|
+
Lt,
|
|
2396
|
+
Mn,
|
|
2397
|
+
Ke,
|
|
2398
|
+
dt,
|
|
2399
|
+
z,
|
|
2400
|
+
Gn,
|
|
2401
|
+
jn,
|
|
2402
|
+
On,
|
|
2403
|
+
An,
|
|
2404
|
+
Fn,
|
|
2405
|
+
Wn
|
|
2406
|
+
);
|
|
2407
|
+
Object.assign({}, z, Z, Br, Lt, Ke);
|
|
2408
|
+
[...Object.keys(Vt), ...Ln];
|
|
2409
|
+
({ ...Vt, ...Ht });
|
|
2410
|
+
function we(e) {
|
|
2411
|
+
return {
|
|
2412
|
+
definePartsStyle(a) {
|
|
2413
|
+
return a;
|
|
2414
|
+
},
|
|
2415
|
+
defineMultiStyleConfig(a) {
|
|
2416
|
+
return { parts: e, ...a };
|
|
2417
|
+
}
|
|
2418
|
+
};
|
|
2419
|
+
}
|
|
2420
|
+
const { defineMultiStyleConfig: Nn, definePartsStyle: Yn } = we(Ko.keys), $e = ["52px", "56px"], zt = {
|
|
2421
|
+
transform: [
|
|
2422
|
+
"translateY(0%) translateX(1px)",
|
|
2423
|
+
"translateY(0%) translateX(1px)"
|
|
2424
|
+
],
|
|
2425
|
+
fontSize: "xs",
|
|
2426
|
+
top: ["8px"],
|
|
2427
|
+
color: "viridian.base",
|
|
2428
|
+
_invalid: {
|
|
2429
|
+
color: "utility.warning"
|
|
2430
|
+
}
|
|
2431
|
+
}, Hn = Nn({
|
|
2432
|
+
baseStyle: Yn({
|
|
2433
|
+
container: {
|
|
2434
|
+
width: "100%",
|
|
2435
|
+
position: "relative",
|
|
2436
|
+
display: "flex",
|
|
2437
|
+
flexDirection: "column",
|
|
2438
|
+
gap: 2
|
|
2439
|
+
},
|
|
2440
|
+
requiredIndicator: {
|
|
2441
|
+
color: "utility.warning"
|
|
2442
|
+
},
|
|
2443
|
+
helperText: {
|
|
2444
|
+
_dark: {},
|
|
2445
|
+
color: "tints.darkGrey",
|
|
2446
|
+
fontSize: ["sm", "md"]
|
|
2447
|
+
}
|
|
2448
|
+
}),
|
|
2449
|
+
sizes: {},
|
|
2450
|
+
variants: {
|
|
2451
|
+
floating: {
|
|
2452
|
+
container: {
|
|
2453
|
+
_focusWithin: {
|
|
2454
|
+
// label styles when input is focused (not select fields)
|
|
2455
|
+
"*:not(.chakra-select__wrapper) + label": {
|
|
2456
|
+
...zt
|
|
2457
|
+
}
|
|
2458
|
+
},
|
|
2459
|
+
// label styles when input is not empty or focused
|
|
2460
|
+
'input:not(:placeholder-shown) + label, .chakra-input__group:has(input:not(:placeholder-shown)) + label, .chakra-select__wrapper:not(:has(option[value=""]:checked)) + label, textarea:not(:placeholder-shown) ~ label': {
|
|
2461
|
+
...zt
|
|
2462
|
+
},
|
|
2463
|
+
// hide select "placeholder" value text when no option is selected
|
|
2464
|
+
'.chakra-select__wrapper:has(option[value=""]:checked) select': {
|
|
2465
|
+
color: "transparent !important"
|
|
2466
|
+
},
|
|
2467
|
+
label: {
|
|
2468
|
+
transition: "0.2s ease-in-out",
|
|
2469
|
+
transformOrigin: "top left",
|
|
2470
|
+
position: "absolute",
|
|
2471
|
+
pointerEvents: "none",
|
|
2472
|
+
zIndex: 2,
|
|
2473
|
+
ml: 4,
|
|
2474
|
+
mr: 4,
|
|
2475
|
+
top: [4, "16px"],
|
|
2476
|
+
fontSize: ["md", "lg"],
|
|
2477
|
+
color: "tints.uiGrey",
|
|
2478
|
+
fontWeight: "medium"
|
|
2479
|
+
},
|
|
2480
|
+
// give label left spacing when input has left icon
|
|
2481
|
+
":has(.chakra-input__left-element) label": {
|
|
2482
|
+
ml: $e
|
|
2483
|
+
},
|
|
2484
|
+
input: {
|
|
2485
|
+
pt: 3,
|
|
2486
|
+
h: $e,
|
|
2487
|
+
// <-- the height is necessary in Chakra to calculate the spacing for left and right icons
|
|
2488
|
+
// placeholder is needed to work on Safari
|
|
2489
|
+
// hiding placeholder to not clash with floating label
|
|
2490
|
+
_placeholder: {
|
|
2491
|
+
color: "transparent",
|
|
2492
|
+
visibility: "hidden"
|
|
2493
|
+
}
|
|
2494
|
+
},
|
|
2495
|
+
select: {
|
|
2496
|
+
pt: 3,
|
|
2497
|
+
h: $e
|
|
2498
|
+
// <-- the height is necessary in Chakra to calculate the spacing for left and right icons
|
|
2499
|
+
},
|
|
2500
|
+
// override chakra internal spacing calculation for left and right icon inputs
|
|
2501
|
+
":has(.chakra-input__left-element) input, :has(.chakra-input__left-element) select": {
|
|
2502
|
+
pl: $e
|
|
2503
|
+
},
|
|
2504
|
+
".chakra-input__right-element, .chakra-input__left-element": {
|
|
2505
|
+
w: $e,
|
|
2506
|
+
h: $e
|
|
2507
|
+
}
|
|
2508
|
+
}
|
|
2509
|
+
}
|
|
2510
|
+
},
|
|
2511
|
+
defaultProps: {}
|
|
2512
|
+
}), { defineMultiStyleConfig: Vn, definePartsStyle: Xn } = we(Jo.keys), Un = Vn({
|
|
2513
|
+
baseStyle: Xn({
|
|
2514
|
+
text: {
|
|
2515
|
+
color: "utility.warning",
|
|
2516
|
+
fontSize: ["sm", "md"]
|
|
2517
|
+
},
|
|
2518
|
+
icon: {
|
|
2519
|
+
color: "utility.warning",
|
|
2520
|
+
height: "0.5em",
|
|
2521
|
+
width: "0.5em",
|
|
2522
|
+
mr: 1
|
|
2523
|
+
}
|
|
2524
|
+
})
|
|
2525
|
+
}), qn = {
|
|
2526
|
+
fontSize: ["sm", "md"],
|
|
2527
|
+
color: "tints.black",
|
|
2528
|
+
transitionProperty: "common",
|
|
2529
|
+
transitionDuration: "normal",
|
|
2530
|
+
opacity: 1,
|
|
2531
|
+
_disabled: {
|
|
2532
|
+
opacity: 0.4
|
|
2533
|
+
}
|
|
2534
|
+
}, Kn = {
|
|
2535
|
+
baseStyle: qn
|
|
2536
|
+
}, Jn = we(["addon", "field", "element"]), Pt = {
|
|
2537
|
+
borderColor: "tints.lightGrey",
|
|
2538
|
+
color: "tints.medGrey"
|
|
2539
|
+
}, ke = Jn.defineMultiStyleConfig({
|
|
2540
|
+
baseStyle: {
|
|
2541
|
+
field: {
|
|
2542
|
+
fontWeight: "medium",
|
|
2543
|
+
fontSize: ["md", "lg"],
|
|
2544
|
+
bg: "tints.white",
|
|
2545
|
+
color: "tints.black",
|
|
2546
|
+
px: 4,
|
|
2547
|
+
borderStyle: "solid ",
|
|
2548
|
+
borderWidth: "1.5px",
|
|
2549
|
+
borderColor: "tints.uiGrey",
|
|
2550
|
+
borderRadius: "8px",
|
|
2551
|
+
w: "100%",
|
|
2552
|
+
h: ["44px", "52px"],
|
|
2553
|
+
// <-- the height is necessary in Chakra to calculate the spacing for left and right icons
|
|
2554
|
+
":focus, &.focus": {
|
|
2555
|
+
borderColor: "viridian.base",
|
|
2556
|
+
outline: "none"
|
|
2557
|
+
},
|
|
2558
|
+
":disabled": {
|
|
2559
|
+
...Pt
|
|
2560
|
+
},
|
|
2561
|
+
// same styles as disabled, keep it separated for Select config to override
|
|
2562
|
+
":read-only": {
|
|
2563
|
+
...Pt
|
|
2564
|
+
},
|
|
2565
|
+
_placeholder: {
|
|
2566
|
+
color: "tints.uiGrey"
|
|
2567
|
+
},
|
|
2568
|
+
_invalid: {
|
|
2569
|
+
borderColor: "utility.warning"
|
|
2570
|
+
}
|
|
2571
|
+
},
|
|
2572
|
+
element: {
|
|
2573
|
+
px: 4,
|
|
2574
|
+
py: 2,
|
|
2575
|
+
color: "tints.uiGrey"
|
|
2576
|
+
}
|
|
2577
|
+
},
|
|
2578
|
+
sizes: {},
|
|
2579
|
+
variants: {},
|
|
2580
|
+
defaultProps: {}
|
|
2581
|
+
}), Zn = we([
|
|
2582
|
+
"button",
|
|
2583
|
+
"list",
|
|
2584
|
+
"item",
|
|
2585
|
+
"groupTitle",
|
|
2586
|
+
"command",
|
|
2587
|
+
"divider"
|
|
2588
|
+
]), Qn = Zn.defineMultiStyleConfig({
|
|
2589
|
+
baseStyle: {
|
|
2590
|
+
button: {},
|
|
2591
|
+
list: {
|
|
2592
|
+
boxShadow: "lg",
|
|
2593
|
+
backgroundColor: "tints.white",
|
|
2594
|
+
border: "1.5px solid",
|
|
2595
|
+
borderColor: "viridian.base",
|
|
2596
|
+
borderRadius: "lg"
|
|
2597
|
+
},
|
|
2598
|
+
item: {
|
|
2599
|
+
fontWeight: "medium",
|
|
2600
|
+
lineHeight: "normal",
|
|
2601
|
+
color: "tints.darkGrey",
|
|
2602
|
+
_hover: {
|
|
2603
|
+
backgroundColor: "viridian.wash"
|
|
2604
|
+
},
|
|
2605
|
+
_active: {
|
|
2606
|
+
backgroundColor: "viridian.wash"
|
|
2607
|
+
},
|
|
2608
|
+
_focus: {
|
|
2609
|
+
backgroundColor: "viridian.wash"
|
|
2610
|
+
},
|
|
2611
|
+
_disabled: {
|
|
2612
|
+
backgroundColor: "tints.lightCream",
|
|
2613
|
+
color: "tints.medGrey",
|
|
2614
|
+
cursor: "not-allowed"
|
|
2615
|
+
},
|
|
2616
|
+
_first: {
|
|
2617
|
+
borderTopRadius: "lg"
|
|
2618
|
+
},
|
|
2619
|
+
_last: {
|
|
2620
|
+
borderBottomRadius: "lg"
|
|
2621
|
+
}
|
|
2622
|
+
},
|
|
2623
|
+
groupTitle: {
|
|
2624
|
+
color: "viridian.600",
|
|
2625
|
+
letterSpacing: "wider"
|
|
2626
|
+
},
|
|
2627
|
+
command: {
|
|
2628
|
+
color: "tints.uiGrey"
|
|
2629
|
+
},
|
|
2630
|
+
divider: {
|
|
2631
|
+
borderColor: "viridian.base",
|
|
2632
|
+
borderBottom: "xs solid"
|
|
2633
|
+
}
|
|
2634
|
+
},
|
|
2635
|
+
sizes: {
|
|
2636
|
+
sm: {
|
|
2637
|
+
button: {},
|
|
2638
|
+
item: {
|
|
2639
|
+
fontSize: ["2xs", "sm"],
|
|
2640
|
+
paddingX: "3",
|
|
2641
|
+
paddingY: "3"
|
|
2642
|
+
},
|
|
2643
|
+
groupTitle: {
|
|
2644
|
+
fontSize: ["md", "lg"],
|
|
2645
|
+
paddingX: "2",
|
|
2646
|
+
paddingY: "3"
|
|
2647
|
+
},
|
|
2648
|
+
divider: {
|
|
2649
|
+
marginY: "2"
|
|
2650
|
+
}
|
|
2651
|
+
},
|
|
2652
|
+
md: {
|
|
2653
|
+
item: {
|
|
2654
|
+
fontSize: ["3xs", "lg"],
|
|
2655
|
+
paddingX: "4",
|
|
2656
|
+
paddingY: "3"
|
|
2657
|
+
},
|
|
2658
|
+
groupTitle: {
|
|
2659
|
+
fontSize: ["lg", "xl"],
|
|
2660
|
+
paddingX: "2",
|
|
2661
|
+
paddingY: "3"
|
|
2662
|
+
}
|
|
2663
|
+
},
|
|
2664
|
+
lg: {
|
|
2665
|
+
item: {
|
|
2666
|
+
fontSize: ["xl", "2xl"],
|
|
2667
|
+
paddingX: "3",
|
|
2668
|
+
paddingY: "4"
|
|
2669
|
+
},
|
|
2670
|
+
groupTitle: {
|
|
2671
|
+
fontSize: ["3xl", "4xl"],
|
|
2672
|
+
paddingX: "5",
|
|
2673
|
+
paddingY: "4"
|
|
2674
|
+
}
|
|
2675
|
+
}
|
|
2676
|
+
},
|
|
2677
|
+
variants: {},
|
|
2678
|
+
defaultProps: {
|
|
2679
|
+
size: "md"
|
|
2680
|
+
}
|
|
2681
|
+
}), { definePartsStyle: ea, defineMultiStyleConfig: ra } = Oe(en.keys);
|
|
2682
|
+
var Dt, Mt, $t;
|
|
2683
|
+
const ta = ea({
|
|
2684
|
+
field: {
|
|
2685
|
+
...(Dt = ke == null ? void 0 : ke.baseStyle) == null ? void 0 : Dt.field,
|
|
2686
|
+
// Apply grey color to the placeholder when the value is empty
|
|
2687
|
+
':has(option[value=""]:checked)': {
|
|
2688
|
+
...($t = (Mt = ke == null ? void 0 : ke.baseStyle) == null ? void 0 : Mt.field) == null ? void 0 : $t._placeholder
|
|
2689
|
+
},
|
|
2690
|
+
":read-only": void 0,
|
|
2691
|
+
// Remove the default caret from the browser styles
|
|
2692
|
+
WebkitAppearance: "none",
|
|
2693
|
+
MozAppearance: "none"
|
|
2694
|
+
},
|
|
2695
|
+
icon: {
|
|
2696
|
+
color: "viridian.base",
|
|
2697
|
+
right: 4,
|
|
2698
|
+
_disabled: {
|
|
2699
|
+
color: "tints.medGrey"
|
|
2700
|
+
}
|
|
2701
|
+
}
|
|
2702
|
+
}), oa = ra({ baseStyle: ta }), na = re({
|
|
2703
|
+
baseStyle: {
|
|
2704
|
+
thumb: {
|
|
2705
|
+
cursor: "grab",
|
|
2706
|
+
boxShadow: "md"
|
|
2707
|
+
},
|
|
2708
|
+
track: {
|
|
2709
|
+
h: "4px"
|
|
2710
|
+
}
|
|
2711
|
+
},
|
|
2712
|
+
sizes: {},
|
|
2713
|
+
variants: {},
|
|
2714
|
+
defaultProps: {}
|
|
2715
|
+
}), aa = re({
|
|
2716
|
+
baseStyle: {
|
|
2717
|
+
color: "viridian.base",
|
|
2718
|
+
fontWeight: "normal",
|
|
2719
|
+
_hover: {
|
|
2720
|
+
textDecoration: "underline",
|
|
2721
|
+
cursor: "pointer"
|
|
2722
|
+
}
|
|
2723
|
+
},
|
|
2724
|
+
variants: {},
|
|
2725
|
+
sizes: {
|
|
2726
|
+
sm: {
|
|
2727
|
+
fontSize: ["xs", "sm"],
|
|
2728
|
+
lineHeight: "150%"
|
|
2729
|
+
},
|
|
2730
|
+
md: {
|
|
2731
|
+
fontSize: ["sm", "md"],
|
|
2732
|
+
lineHeight: "150%"
|
|
2733
|
+
},
|
|
2734
|
+
lg: {
|
|
2735
|
+
fontSize: ["md", "lg"],
|
|
2736
|
+
lineHeight: "150%"
|
|
2737
|
+
}
|
|
2738
|
+
},
|
|
2739
|
+
// The default size and variant values
|
|
2740
|
+
defaultProps: {
|
|
2741
|
+
size: "md"
|
|
2742
|
+
}
|
|
2743
|
+
}), ia = re({
|
|
2744
|
+
baseStyle: {
|
|
2745
|
+
stepper: {
|
|
2746
|
+
width: "100%",
|
|
2747
|
+
backgroundColor: ""
|
|
2748
|
+
},
|
|
2749
|
+
step: {},
|
|
2750
|
+
title: {},
|
|
2751
|
+
description: {},
|
|
2752
|
+
indicator: {},
|
|
2753
|
+
separator: {
|
|
2754
|
+
backgroundColor: "eggplant.base",
|
|
2755
|
+
height: "4px"
|
|
2756
|
+
},
|
|
2757
|
+
icon: {},
|
|
2758
|
+
number: {}
|
|
2759
|
+
},
|
|
2760
|
+
sizes: {},
|
|
2761
|
+
variants: {},
|
|
2762
|
+
defaultProps: {}
|
|
2763
|
+
}), sa = re({
|
|
2764
|
+
baseStyle: {
|
|
2765
|
+
fontFamily: "heading",
|
|
2766
|
+
fontWeight: "normal",
|
|
2767
|
+
color: "tints.black"
|
|
2768
|
+
},
|
|
2769
|
+
sizes: {
|
|
2770
|
+
"3xl": {
|
|
2771
|
+
// Home header
|
|
2772
|
+
fontSize: ["6xl", "10xl"],
|
|
2773
|
+
// 40px / 56px
|
|
2774
|
+
lineHeight: "shorter"
|
|
2775
|
+
},
|
|
2776
|
+
"2xl": {
|
|
2777
|
+
// Section header
|
|
2778
|
+
fontSize: ["5xl", "8xl"],
|
|
2779
|
+
// 32px / 40px
|
|
2780
|
+
lineHeight: "shorter"
|
|
2781
|
+
},
|
|
2782
|
+
xl: {
|
|
2783
|
+
// Product header
|
|
2784
|
+
fontSize: ["4xl", "6xl"],
|
|
2785
|
+
// 28px / 36px
|
|
2786
|
+
lineHeight: "shorter"
|
|
2787
|
+
},
|
|
2788
|
+
lg: {
|
|
2789
|
+
// Large title
|
|
2790
|
+
fontFamily: "body",
|
|
2791
|
+
fontWeight: "medium",
|
|
2792
|
+
fontSize: ["3xl", "5xl"],
|
|
2793
|
+
// 24px / 32px
|
|
2794
|
+
lineHeight: "short"
|
|
2795
|
+
},
|
|
2796
|
+
md: {
|
|
2797
|
+
// Medium title
|
|
2798
|
+
fontFamily: "body",
|
|
2799
|
+
fontWeight: "medium",
|
|
2800
|
+
fontSize: ["2xl", "3xl"],
|
|
2801
|
+
// 20px / 24px
|
|
2802
|
+
lineHeight: "short"
|
|
2803
|
+
},
|
|
2804
|
+
sm: {
|
|
2805
|
+
// Small title
|
|
2806
|
+
fontFamily: "body",
|
|
2807
|
+
fontWeight: "medium",
|
|
2808
|
+
fontSize: ["lg", "2xl"],
|
|
2809
|
+
// 16px / 20px
|
|
2810
|
+
lineHeight: "140%"
|
|
2811
|
+
}
|
|
2812
|
+
},
|
|
2813
|
+
defaultProps: {
|
|
2814
|
+
size: "md"
|
|
2815
|
+
}
|
|
2816
|
+
}), la = re({
|
|
2817
|
+
baseStyle: {
|
|
2818
|
+
fontFamily: "body",
|
|
2819
|
+
fontWeight: "normal",
|
|
2820
|
+
lineHeight: "base",
|
|
2821
|
+
letterSpacing: "normal",
|
|
2822
|
+
fontSize: "md",
|
|
2823
|
+
p: 0
|
|
2824
|
+
},
|
|
2825
|
+
sizes: {
|
|
2826
|
+
xs: {
|
|
2827
|
+
fontSize: ["2xs", "xs"]
|
|
2828
|
+
},
|
|
2829
|
+
sm: {
|
|
2830
|
+
fontSize: ["xs", "sm"]
|
|
2831
|
+
},
|
|
2832
|
+
md: {
|
|
2833
|
+
fontSize: ["sm", "md"]
|
|
2834
|
+
},
|
|
2835
|
+
lg: {
|
|
2836
|
+
fontSize: ["md", "lg"]
|
|
2837
|
+
},
|
|
2838
|
+
xl: {
|
|
2839
|
+
fontSize: ["lg", "2xl"],
|
|
2840
|
+
lineHeight: ["short", "shorter"]
|
|
2841
|
+
}
|
|
2842
|
+
},
|
|
2843
|
+
defaultProps: {
|
|
2844
|
+
size: "lg"
|
|
2845
|
+
}
|
|
2846
|
+
}), da = re({
|
|
2847
|
+
baseStyle: {},
|
|
2848
|
+
sizes: {
|
|
2849
|
+
sm: {
|
|
2850
|
+
fontSize: "1rem"
|
|
2851
|
+
},
|
|
2852
|
+
md: {
|
|
2853
|
+
fontSize: "1.5rem"
|
|
2854
|
+
},
|
|
2855
|
+
lg: {
|
|
2856
|
+
fontSize: "2rem"
|
|
2857
|
+
}
|
|
2858
|
+
},
|
|
2859
|
+
variants: {},
|
|
2860
|
+
defaultProps: {
|
|
2861
|
+
size: "md"
|
|
2862
|
+
}
|
|
2863
|
+
}), { defineMultiStyleConfig: ca, definePartsStyle: ut } = we(qo.keys), ua = {
|
|
2864
|
+
partial: ut({
|
|
2865
|
+
dialog: {
|
|
2866
|
+
maxW: 560
|
|
2867
|
+
}
|
|
2868
|
+
}),
|
|
2869
|
+
full: ut({
|
|
2870
|
+
dialog: {
|
|
2871
|
+
maxW: "100vw",
|
|
2872
|
+
minH: "100vh",
|
|
2873
|
+
borderRadius: 0
|
|
2874
|
+
}
|
|
2875
|
+
})
|
|
2876
|
+
}, fa = ut({
|
|
2877
|
+
overlay: {
|
|
2878
|
+
zIndex: "overlay",
|
|
2879
|
+
bg: (e) => `${e.colors.tints.black}66`
|
|
2880
|
+
// tint black with 40% opacity
|
|
2881
|
+
},
|
|
2882
|
+
dialogContainer: {
|
|
2883
|
+
zIndex: "modal"
|
|
2884
|
+
},
|
|
2885
|
+
dialog: {
|
|
2886
|
+
bg: "white",
|
|
2887
|
+
pt: [6],
|
|
2888
|
+
display: "flex",
|
|
2889
|
+
flexDirection: "column",
|
|
2890
|
+
alignItems: "stretch",
|
|
2891
|
+
gap: 6,
|
|
2892
|
+
boxShadow: "dialog"
|
|
2893
|
+
},
|
|
2894
|
+
header: {
|
|
2895
|
+
px: 8,
|
|
2896
|
+
display: "flex",
|
|
2897
|
+
flexDirection: "row",
|
|
2898
|
+
justifyContent: "space-between",
|
|
2899
|
+
alignItems: "center"
|
|
2900
|
+
},
|
|
2901
|
+
closeButton: {
|
|
2902
|
+
bg: "tints.cream",
|
|
2903
|
+
borderRadius: "50%",
|
|
2904
|
+
p: 3,
|
|
2905
|
+
_hover: {
|
|
2906
|
+
bg: "tints.darkCream"
|
|
2907
|
+
},
|
|
2908
|
+
"& .chakra-icon": {
|
|
2909
|
+
fontSize: "0.75rem"
|
|
2910
|
+
}
|
|
2911
|
+
},
|
|
2912
|
+
body: {
|
|
2913
|
+
px: 8,
|
|
2914
|
+
flexGrow: 1
|
|
2915
|
+
},
|
|
2916
|
+
footer: {
|
|
2917
|
+
py: 6,
|
|
2918
|
+
px: 8
|
|
2919
|
+
}
|
|
2920
|
+
}), pa = ca({
|
|
2921
|
+
baseStyle: fa,
|
|
2922
|
+
sizes: ua,
|
|
2923
|
+
defaultProps: { size: "partial" }
|
|
2924
|
+
}), ga = re({
|
|
2925
|
+
baseStyle: {
|
|
2926
|
+
// adding a background color and/or font color to the tooltip causes the arrow to disappear
|
|
2927
|
+
// not including these properties for now
|
|
2928
|
+
padding: 4,
|
|
2929
|
+
borderRadius: 12,
|
|
2930
|
+
zIndex: "tooltip"
|
|
2931
|
+
},
|
|
2932
|
+
sizes: {},
|
|
2933
|
+
defaultProps: {}
|
|
2934
|
+
}), { defineMultiStyleConfig: ha } = Oe(
|
|
2935
|
+
Zo.keys
|
|
2936
|
+
), ba = ha({
|
|
2937
|
+
baseStyle: {
|
|
2938
|
+
overlay: {
|
|
2939
|
+
background: "rgba(0, 0, 0, 0.8)",
|
|
2940
|
+
zIndex: "overlay"
|
|
2941
|
+
},
|
|
2942
|
+
dialogContainer: {
|
|
2943
|
+
display: "flex",
|
|
2944
|
+
zIndex: "modal",
|
|
2945
|
+
justifyContent: "center",
|
|
2946
|
+
alignItems: "center",
|
|
2947
|
+
overflow: "hidden"
|
|
2948
|
+
},
|
|
2949
|
+
dialog: {
|
|
2950
|
+
borderRadius: "md",
|
|
2951
|
+
backgroundColor: "tints.cream",
|
|
2952
|
+
color: "inherit",
|
|
2953
|
+
marginY: "12",
|
|
2954
|
+
zIndex: "modal",
|
|
2955
|
+
maxHeight: "100vh",
|
|
2956
|
+
boxShadow: "lg"
|
|
2957
|
+
},
|
|
2958
|
+
header: {
|
|
2959
|
+
paddingX: "6",
|
|
2960
|
+
paddingY: "4",
|
|
2961
|
+
fontSize: "xl",
|
|
2962
|
+
fontWeight: "bold"
|
|
2963
|
+
},
|
|
2964
|
+
closeButton: {
|
|
2965
|
+
position: "absolute",
|
|
2966
|
+
top: "2",
|
|
2967
|
+
insetEnd: "4",
|
|
2968
|
+
width: "44px",
|
|
2969
|
+
height: "44px",
|
|
2970
|
+
backgroundColor: "white",
|
|
2971
|
+
borderRadius: "full",
|
|
2972
|
+
"&:has(> svg:only-child)": {
|
|
2973
|
+
svg: {
|
|
2974
|
+
fontSize: "lg"
|
|
2975
|
+
}
|
|
2976
|
+
},
|
|
2977
|
+
":hover, &.hover": {
|
|
2978
|
+
backgroundColor: "tints.darkCream"
|
|
2979
|
+
},
|
|
2980
|
+
":active, &.active": {
|
|
2981
|
+
backgroundColor: "tints.darkCream"
|
|
2982
|
+
},
|
|
2983
|
+
":disabled, &.disabled": {
|
|
2984
|
+
backgroundColor: "tints.lightGrey",
|
|
2985
|
+
color: "tints.medGrey",
|
|
2986
|
+
cursor: "not-allowed"
|
|
2987
|
+
}
|
|
2988
|
+
},
|
|
2989
|
+
body: {
|
|
2990
|
+
paddingX: "6",
|
|
2991
|
+
paddingY: "2",
|
|
2992
|
+
flex: 1,
|
|
2993
|
+
overflow: "auto"
|
|
2994
|
+
},
|
|
2995
|
+
footer: {
|
|
2996
|
+
paddingX: "6",
|
|
2997
|
+
paddingY: "4"
|
|
2998
|
+
}
|
|
2999
|
+
},
|
|
3000
|
+
sizes: {
|
|
3001
|
+
xs: {
|
|
3002
|
+
dialog: {
|
|
3003
|
+
maxWidth: "20rem"
|
|
3004
|
+
}
|
|
3005
|
+
},
|
|
3006
|
+
sm: {
|
|
3007
|
+
dialog: {
|
|
3008
|
+
maxWidth: "24rem"
|
|
3009
|
+
}
|
|
3010
|
+
},
|
|
3011
|
+
md: {
|
|
3012
|
+
dialog: {
|
|
3013
|
+
maxWidth: "28rem"
|
|
3014
|
+
}
|
|
3015
|
+
},
|
|
3016
|
+
lg: {
|
|
3017
|
+
dialog: {
|
|
3018
|
+
maxWidth: "32rem"
|
|
3019
|
+
}
|
|
3020
|
+
},
|
|
3021
|
+
xl: {
|
|
3022
|
+
dialog: {
|
|
3023
|
+
maxWidth: "36rem"
|
|
3024
|
+
}
|
|
3025
|
+
},
|
|
3026
|
+
full: {
|
|
3027
|
+
dialog: {
|
|
3028
|
+
maxWidth: "100vw",
|
|
3029
|
+
height: "100dvh"
|
|
3030
|
+
}
|
|
3031
|
+
}
|
|
3032
|
+
},
|
|
3033
|
+
variants: {},
|
|
3034
|
+
defaultProps: {
|
|
3035
|
+
size: "md"
|
|
3036
|
+
}
|
|
3037
|
+
}), Xt = Je("progress-background"), Ut = Je("progress-filled-background"), { defineMultiStyleConfig: ma, definePartsStyle: va } = we(Qo.keys), ya = ma({
|
|
3038
|
+
baseStyle: va({
|
|
3039
|
+
label: {
|
|
3040
|
+
lineHeight: "1",
|
|
3041
|
+
fontSize: "0.25em",
|
|
3042
|
+
fontWeight: "bold",
|
|
3043
|
+
color: "white"
|
|
3044
|
+
},
|
|
3045
|
+
track: {
|
|
3046
|
+
background: Xt.reference
|
|
3047
|
+
},
|
|
3048
|
+
filledTrack: {
|
|
3049
|
+
transition: "300ms",
|
|
3050
|
+
background: Ut.reference
|
|
3051
|
+
}
|
|
3052
|
+
}),
|
|
3053
|
+
sizes: {
|
|
3054
|
+
xs: {
|
|
3055
|
+
track: {
|
|
3056
|
+
height: "2px",
|
|
3057
|
+
borderRadius: "2px"
|
|
3058
|
+
}
|
|
3059
|
+
},
|
|
3060
|
+
sm: {
|
|
3061
|
+
track: {
|
|
3062
|
+
height: "4px",
|
|
3063
|
+
borderRadius: "4px"
|
|
3064
|
+
}
|
|
3065
|
+
},
|
|
3066
|
+
md: {
|
|
3067
|
+
track: {
|
|
3068
|
+
height: "8px",
|
|
3069
|
+
borderRadius: "8px"
|
|
3070
|
+
}
|
|
3071
|
+
},
|
|
3072
|
+
lg: {
|
|
3073
|
+
track: {
|
|
3074
|
+
height: "12px",
|
|
3075
|
+
borderRadius: "12px"
|
|
3076
|
+
}
|
|
3077
|
+
}
|
|
3078
|
+
},
|
|
3079
|
+
variants: {},
|
|
3080
|
+
defaultProps: {
|
|
3081
|
+
size: "xs"
|
|
3082
|
+
}
|
|
3083
|
+
}), xa = re({
|
|
3084
|
+
baseStyle: {},
|
|
3085
|
+
sizes: {
|
|
3086
|
+
sm: {
|
|
3087
|
+
width: "1.25rem",
|
|
3088
|
+
height: "1.25rem",
|
|
3089
|
+
borderWidth: "2px "
|
|
3090
|
+
},
|
|
3091
|
+
md: {
|
|
3092
|
+
width: "2rem",
|
|
3093
|
+
height: "2rem",
|
|
3094
|
+
borderWidth: "3px "
|
|
3095
|
+
},
|
|
3096
|
+
lg: {
|
|
3097
|
+
width: "3rem",
|
|
3098
|
+
height: "3rem",
|
|
3099
|
+
borderWidth: "4px "
|
|
3100
|
+
}
|
|
3101
|
+
},
|
|
3102
|
+
variants: {},
|
|
3103
|
+
defaultProps: {
|
|
3104
|
+
size: "md"
|
|
3105
|
+
}
|
|
3106
|
+
}), Sa = Je("skeleton-start-color"), ka = Je("skeleton-end-color"), wa = Je("skeleton-speed"), _a = re({
|
|
3107
|
+
baseStyle: {
|
|
3108
|
+
[Sa.variable]: "colors.tints.lightGrey",
|
|
3109
|
+
[ka.variable]: "colors.tints.medGrey",
|
|
3110
|
+
[wa.variable]: "0.8",
|
|
3111
|
+
borderRadius: "sm",
|
|
3112
|
+
p: "4"
|
|
3113
|
+
},
|
|
3114
|
+
sizes: {},
|
|
3115
|
+
variants: {},
|
|
3116
|
+
defaultProps: {}
|
|
3117
|
+
}), { defineMultiStyleConfig: Ca } = Oe(
|
|
3118
|
+
tn.keys
|
|
3119
|
+
), Ta = Ca({
|
|
3120
|
+
baseStyle: {
|
|
3121
|
+
tab: {
|
|
3122
|
+
color: "tints.darkGrey",
|
|
3123
|
+
border: "1px solid",
|
|
3124
|
+
borderColor: "tints.lightGrey",
|
|
3125
|
+
_selected: {
|
|
3126
|
+
backgroundColor: "viridian.dark",
|
|
3127
|
+
color: "tints.white",
|
|
3128
|
+
borderColor: "inherit"
|
|
3129
|
+
},
|
|
3130
|
+
_disabled: {
|
|
3131
|
+
color: "tints.medGrey",
|
|
3132
|
+
backgroundColor: "tints.lightGrey",
|
|
3133
|
+
cursor: "not-allowed"
|
|
3134
|
+
},
|
|
3135
|
+
_focusVisible: {
|
|
3136
|
+
outline: "1px solid auto"
|
|
3137
|
+
}
|
|
3138
|
+
}
|
|
3139
|
+
},
|
|
3140
|
+
sizes: {
|
|
3141
|
+
md: {
|
|
3142
|
+
tab: {
|
|
3143
|
+
fontSize: "md",
|
|
3144
|
+
fontWeight: "normal",
|
|
3145
|
+
lineHeight: "xl",
|
|
3146
|
+
paddingY: 3,
|
|
3147
|
+
paddingX: 4,
|
|
3148
|
+
_first: {
|
|
3149
|
+
borderLeftRadius: "xl"
|
|
3150
|
+
},
|
|
3151
|
+
_last: {
|
|
3152
|
+
borderRightRadius: "xl"
|
|
3153
|
+
}
|
|
3154
|
+
},
|
|
3155
|
+
tablist: {
|
|
3156
|
+
marginBottom: 4
|
|
3157
|
+
}
|
|
3158
|
+
},
|
|
3159
|
+
lg: {
|
|
3160
|
+
tab: {
|
|
3161
|
+
fontSize: "lg",
|
|
3162
|
+
fontWeight: "medium",
|
|
3163
|
+
lineHeight: "3xl",
|
|
3164
|
+
paddingY: 4,
|
|
3165
|
+
paddingX: 5,
|
|
3166
|
+
_first: {
|
|
3167
|
+
borderLeftRadius: "xl"
|
|
3168
|
+
},
|
|
3169
|
+
_last: {
|
|
3170
|
+
borderRightRadius: "xl"
|
|
3171
|
+
}
|
|
3172
|
+
},
|
|
3173
|
+
tablist: {
|
|
3174
|
+
marginBottom: 6
|
|
3175
|
+
}
|
|
3176
|
+
}
|
|
3177
|
+
},
|
|
3178
|
+
variants: {},
|
|
3179
|
+
defaultProps: {
|
|
3180
|
+
size: "lg"
|
|
3181
|
+
}
|
|
3182
|
+
}), { defineMultiStyleConfig: Ra } = Oe(
|
|
3183
|
+
on.keys
|
|
3184
|
+
), Ea = {
|
|
3185
|
+
sm: {
|
|
3186
|
+
paddingX: ["2", "2"],
|
|
3187
|
+
paddingY: ["0.5", "2"]
|
|
3188
|
+
},
|
|
3189
|
+
md: {
|
|
3190
|
+
paddingX: ["2", "3"],
|
|
3191
|
+
paddingY: ["0.5", "3"]
|
|
3192
|
+
}
|
|
3193
|
+
}, Fa = Ra({
|
|
3194
|
+
baseStyle: {
|
|
3195
|
+
container: {
|
|
3196
|
+
fontWeight: "medium",
|
|
3197
|
+
borderRadius: "20px"
|
|
3198
|
+
},
|
|
3199
|
+
label: {},
|
|
3200
|
+
closeButton: {}
|
|
3201
|
+
},
|
|
3202
|
+
sizes: {
|
|
3203
|
+
sm: {
|
|
3204
|
+
container: {
|
|
3205
|
+
paddingX: ["2", "3"],
|
|
3206
|
+
paddingY: ["1", "5px"],
|
|
3207
|
+
fontSize: ["xs", "sm"]
|
|
3208
|
+
},
|
|
3209
|
+
label: {
|
|
3210
|
+
fontSize: ["xs", "sm"]
|
|
3211
|
+
},
|
|
3212
|
+
closeButton: {}
|
|
3213
|
+
},
|
|
3214
|
+
md: {
|
|
3215
|
+
container: {
|
|
3216
|
+
paddingX: ["3", "4"],
|
|
3217
|
+
paddingY: ["5px", "6px"],
|
|
3218
|
+
fontSize: ["sm", "md"]
|
|
3219
|
+
},
|
|
3220
|
+
label: {
|
|
3221
|
+
fontSize: ["sm", "md"]
|
|
3222
|
+
},
|
|
3223
|
+
closeButton: {}
|
|
3224
|
+
}
|
|
3225
|
+
// We don't have a large size for tags
|
|
3226
|
+
},
|
|
3227
|
+
variants: {
|
|
3228
|
+
primary: {
|
|
3229
|
+
container: {
|
|
3230
|
+
backgroundColor: "viridian.dark",
|
|
3231
|
+
color: "tints.white"
|
|
3232
|
+
},
|
|
3233
|
+
label: {
|
|
3234
|
+
backgroundColor: "viridian.dark",
|
|
3235
|
+
color: "tints.white"
|
|
3236
|
+
},
|
|
3237
|
+
closeButton: {
|
|
3238
|
+
color: "viridian.lighter",
|
|
3239
|
+
_hover: {
|
|
3240
|
+
color: "tints.white"
|
|
3241
|
+
}
|
|
3242
|
+
}
|
|
3243
|
+
},
|
|
3244
|
+
secondary: {
|
|
3245
|
+
container: {
|
|
3246
|
+
backgroundColor: "viridian.wash",
|
|
3247
|
+
color: "viridian.dark"
|
|
3248
|
+
},
|
|
3249
|
+
label: {
|
|
3250
|
+
backgroundColor: "viridian.wash",
|
|
3251
|
+
color: "viridian.dark"
|
|
3252
|
+
},
|
|
3253
|
+
closeButton: {
|
|
3254
|
+
color: "viridian.lighter",
|
|
3255
|
+
_hover: {
|
|
3256
|
+
color: "viridian.light"
|
|
3257
|
+
}
|
|
3258
|
+
}
|
|
3259
|
+
},
|
|
3260
|
+
tertiary: {
|
|
3261
|
+
container: {
|
|
3262
|
+
backgroundColor: "utility.sale",
|
|
3263
|
+
color: "tints.white"
|
|
3264
|
+
},
|
|
3265
|
+
label: {
|
|
3266
|
+
backgroundColor: "utility.sale",
|
|
3267
|
+
color: "tints.white"
|
|
3268
|
+
},
|
|
3269
|
+
closeButton: {
|
|
3270
|
+
color: "tints.medGrey",
|
|
3271
|
+
_hover: {
|
|
3272
|
+
color: "tints.white"
|
|
3273
|
+
}
|
|
3274
|
+
}
|
|
3275
|
+
},
|
|
3276
|
+
callout: {
|
|
3277
|
+
container: {
|
|
3278
|
+
backgroundColor: "eggplant.base",
|
|
3279
|
+
color: "tints.white"
|
|
3280
|
+
},
|
|
3281
|
+
label: {
|
|
3282
|
+
backgroundColor: "eggplant.base",
|
|
3283
|
+
color: "tints.white"
|
|
3284
|
+
},
|
|
3285
|
+
closeButton: {
|
|
3286
|
+
color: "tints.medGrey",
|
|
3287
|
+
_hover: {
|
|
3288
|
+
color: "tints.white"
|
|
3289
|
+
}
|
|
3290
|
+
}
|
|
3291
|
+
},
|
|
3292
|
+
disabled: {
|
|
3293
|
+
container: {
|
|
3294
|
+
backgroundColor: "tints.darkGrey",
|
|
3295
|
+
color: "tints.white"
|
|
3296
|
+
},
|
|
3297
|
+
label: {
|
|
3298
|
+
backgroundColor: "tints.darkGrey",
|
|
3299
|
+
color: "tints.white"
|
|
3300
|
+
},
|
|
3301
|
+
closeButton: {
|
|
3302
|
+
color: "tints.medGrey",
|
|
3303
|
+
_hover: {
|
|
3304
|
+
color: "tints.white"
|
|
3305
|
+
}
|
|
3306
|
+
}
|
|
3307
|
+
},
|
|
3308
|
+
/* This is a special variant, that has a different style
|
|
3309
|
+
for the container (a different shape, border and padding) */
|
|
3310
|
+
cluster: ({ size: e }) => ({
|
|
3311
|
+
container: {
|
|
3312
|
+
backgroundColor: "tints.white",
|
|
3313
|
+
color: "tints.black",
|
|
3314
|
+
borderRadius: "8px",
|
|
3315
|
+
...Ea[e]
|
|
3316
|
+
},
|
|
3317
|
+
label: {
|
|
3318
|
+
backgroundColor: "tints.white",
|
|
3319
|
+
color: "tints.black"
|
|
3320
|
+
},
|
|
3321
|
+
closeButton: {
|
|
3322
|
+
color: "viridian.lighter",
|
|
3323
|
+
_hover: {
|
|
3324
|
+
color: "viridian.light"
|
|
3325
|
+
}
|
|
3326
|
+
}
|
|
3327
|
+
})
|
|
3328
|
+
},
|
|
3329
|
+
defaultProps: {
|
|
3330
|
+
size: "md",
|
|
3331
|
+
variant: "primary"
|
|
3332
|
+
}
|
|
3333
|
+
}), { defineMultiStyleConfig: Ba } = we(
|
|
3334
|
+
Xo.keys
|
|
3335
|
+
), Ia = Ba({
|
|
3336
|
+
baseStyle: {
|
|
3337
|
+
container: {
|
|
3338
|
+
width: "100%"
|
|
3339
|
+
},
|
|
3340
|
+
panel: {
|
|
3341
|
+
paddingBottom: "6",
|
|
3342
|
+
fontSize: "lg",
|
|
3343
|
+
fontWeight: "normal"
|
|
3344
|
+
},
|
|
3345
|
+
button: {
|
|
3346
|
+
width: "100%",
|
|
3347
|
+
display: "flex",
|
|
3348
|
+
justifyContent: "space-between",
|
|
3349
|
+
textAlign: "left"
|
|
3350
|
+
},
|
|
3351
|
+
icon: {
|
|
3352
|
+
color: "viridian.base"
|
|
3353
|
+
}
|
|
3354
|
+
},
|
|
3355
|
+
sizes: {
|
|
3356
|
+
md: {
|
|
3357
|
+
button: {
|
|
3358
|
+
paddingY: "3"
|
|
3359
|
+
}
|
|
3360
|
+
},
|
|
3361
|
+
lg: {
|
|
3362
|
+
button: {
|
|
3363
|
+
paddingY: "6"
|
|
3364
|
+
}
|
|
3365
|
+
}
|
|
3366
|
+
},
|
|
3367
|
+
variants: {
|
|
3368
|
+
primary: {
|
|
3369
|
+
container: {
|
|
3370
|
+
borderBottom: "1px solid",
|
|
3371
|
+
borderColor: "tints.lightGrey"
|
|
3372
|
+
}
|
|
3373
|
+
},
|
|
3374
|
+
secondary: {
|
|
3375
|
+
button: {
|
|
3376
|
+
border: "1px solid",
|
|
3377
|
+
borderColor: "tints.lightGrey",
|
|
3378
|
+
marginBottom: "3",
|
|
3379
|
+
borderRadius: "xl",
|
|
3380
|
+
paddingX: "3"
|
|
3381
|
+
}
|
|
3382
|
+
}
|
|
3383
|
+
},
|
|
3384
|
+
defaultProps: {
|
|
3385
|
+
size: "lg",
|
|
3386
|
+
variant: "primary"
|
|
3387
|
+
}
|
|
3388
|
+
}), { defineMultiStyleConfig: za } = Oe(
|
|
3389
|
+
rn.keys
|
|
3390
|
+
), Pa = za({
|
|
3391
|
+
baseStyle: {
|
|
3392
|
+
table: {
|
|
3393
|
+
width: "full",
|
|
3394
|
+
borderCollapse: "collapse",
|
|
3395
|
+
color: "tints.black",
|
|
3396
|
+
textAlign: "left"
|
|
3397
|
+
},
|
|
3398
|
+
thead: {},
|
|
3399
|
+
tbody: {},
|
|
3400
|
+
tfoot: {},
|
|
3401
|
+
tr: {
|
|
3402
|
+
borderBottomWidth: "2px",
|
|
3403
|
+
borderColor: "tints.white",
|
|
3404
|
+
fontSize: "lg",
|
|
3405
|
+
backgroundColor: "tints.lightCream"
|
|
3406
|
+
},
|
|
3407
|
+
th: {
|
|
3408
|
+
padding: 4,
|
|
3409
|
+
borderBottomWidth: "2px",
|
|
3410
|
+
borderColor: "tints.white",
|
|
3411
|
+
backgroundColor: "tints.darkCream",
|
|
3412
|
+
fontWeight: "medium",
|
|
3413
|
+
fontSize: "2xl"
|
|
3414
|
+
},
|
|
3415
|
+
td: {
|
|
3416
|
+
padding: 4,
|
|
3417
|
+
fontWeight: "medium"
|
|
3418
|
+
},
|
|
3419
|
+
caption: {},
|
|
3420
|
+
sizes: {}
|
|
3421
|
+
},
|
|
3422
|
+
variants: {
|
|
3423
|
+
simple: {},
|
|
3424
|
+
striped: {
|
|
3425
|
+
tbody: {
|
|
3426
|
+
tr: {
|
|
3427
|
+
_even: {
|
|
3428
|
+
backgroundColor: "tints.cream"
|
|
3429
|
+
}
|
|
3430
|
+
}
|
|
3431
|
+
}
|
|
3432
|
+
}
|
|
3433
|
+
},
|
|
3434
|
+
defaultProps: {
|
|
3435
|
+
variant: "simple"
|
|
3436
|
+
}
|
|
3437
|
+
}), Da = re({
|
|
3438
|
+
baseStyle: {
|
|
3439
|
+
w: "100%",
|
|
3440
|
+
paddingX: "48px"
|
|
3441
|
+
},
|
|
3442
|
+
sizes: {
|
|
3443
|
+
sm: {
|
|
3444
|
+
paddingX: "24px"
|
|
3445
|
+
},
|
|
3446
|
+
md: {
|
|
3447
|
+
maxW: "768px"
|
|
3448
|
+
},
|
|
3449
|
+
lg: {
|
|
3450
|
+
maxW: "1024px"
|
|
3451
|
+
},
|
|
3452
|
+
xl: {
|
|
3453
|
+
maxW: "1440px"
|
|
3454
|
+
},
|
|
3455
|
+
ultra: {
|
|
3456
|
+
maxW: "1920px"
|
|
3457
|
+
},
|
|
3458
|
+
fluid: {
|
|
3459
|
+
paddingX: "0"
|
|
3460
|
+
}
|
|
3461
|
+
},
|
|
3462
|
+
variants: {},
|
|
3463
|
+
defaultProps: {
|
|
3464
|
+
size: "lg"
|
|
3465
|
+
}
|
|
3466
|
+
}), Ma = {
|
|
3467
|
+
tints: {
|
|
3468
|
+
black: "#0F0F0F",
|
|
3469
|
+
darkGrey: "#545454",
|
|
3470
|
+
uiGrey: "#949494",
|
|
3471
|
+
medGrey: "#A9A9A9",
|
|
3472
|
+
lightGrey: "#EEEEEE",
|
|
3473
|
+
darkCream: "#E8E8E2",
|
|
3474
|
+
cream: "#F2F2ED",
|
|
3475
|
+
lightCream: "#F9F9F6",
|
|
3476
|
+
white: "#FFFFFF"
|
|
3477
|
+
},
|
|
3478
|
+
viridian: {
|
|
3479
|
+
dark: "#143927",
|
|
3480
|
+
base: "#28724F",
|
|
3481
|
+
light: "#68CA9C",
|
|
3482
|
+
lighter: "#A1DEC1",
|
|
3483
|
+
wash: "#EFF9F5"
|
|
3484
|
+
},
|
|
3485
|
+
sunshine: {
|
|
3486
|
+
dark: "#5C5300",
|
|
3487
|
+
base: "#FFEC42",
|
|
3488
|
+
light: "#FFF386",
|
|
3489
|
+
lighter: "#FFF8BC",
|
|
3490
|
+
wash: "#FFFEF2"
|
|
3491
|
+
},
|
|
3492
|
+
terracotta: {
|
|
3493
|
+
dark: "#650500",
|
|
3494
|
+
base: "#FF6B62",
|
|
3495
|
+
light: "#FF9E99",
|
|
3496
|
+
lighter: "#FFC9C7",
|
|
3497
|
+
wash: "#FFF4F4"
|
|
3498
|
+
},
|
|
3499
|
+
violet: {
|
|
3500
|
+
dark: "#380050",
|
|
3501
|
+
base: "#B917FF",
|
|
3502
|
+
light: "#D36BFF",
|
|
3503
|
+
lighter: "#E6ADFF",
|
|
3504
|
+
wash: "#FAEFFF"
|
|
3505
|
+
},
|
|
3506
|
+
eggplant: {
|
|
3507
|
+
dark: "#210C21",
|
|
3508
|
+
base: "#742974",
|
|
3509
|
+
light: "#C458C4",
|
|
3510
|
+
lighter: "#DEA2DE",
|
|
3511
|
+
wash: "#FBF4FB"
|
|
3512
|
+
},
|
|
3513
|
+
moonlight: {
|
|
3514
|
+
dark: "#000C11",
|
|
3515
|
+
base: "#012B3B",
|
|
3516
|
+
light: "#0387BB",
|
|
3517
|
+
lighter: "#61D1FD",
|
|
3518
|
+
wash: "#DFF6FF"
|
|
3519
|
+
},
|
|
3520
|
+
sky: {
|
|
3521
|
+
dark: "#073243",
|
|
3522
|
+
base: "#6BCAEF",
|
|
3523
|
+
light: "#A1DDF5",
|
|
3524
|
+
lighter: "#CBECF9",
|
|
3525
|
+
wash: "#F5FBFE"
|
|
3526
|
+
}
|
|
3527
|
+
}, $a = {
|
|
3528
|
+
redCS: {
|
|
3529
|
+
50: "#CC0F05",
|
|
3530
|
+
// wash
|
|
3531
|
+
100: "#CC0F05",
|
|
3532
|
+
// lighter
|
|
3533
|
+
200: "#CC0F05",
|
|
3534
|
+
// light
|
|
3535
|
+
300: "#CC0F05",
|
|
3536
|
+
// base
|
|
3537
|
+
400: "#CC0F05",
|
|
3538
|
+
// base
|
|
3539
|
+
500: "#CC0F05",
|
|
3540
|
+
// base
|
|
3541
|
+
600: "#CC0F05",
|
|
3542
|
+
// base
|
|
3543
|
+
700: "#CC0F05",
|
|
3544
|
+
// base
|
|
3545
|
+
800: "#CC0F05",
|
|
3546
|
+
// base
|
|
3547
|
+
900: "#650500"
|
|
3548
|
+
// dark
|
|
3549
|
+
},
|
|
3550
|
+
greenCS: {
|
|
3551
|
+
50: "#EFF9F5",
|
|
3552
|
+
// wash
|
|
3553
|
+
100: "#A1DEC1",
|
|
3554
|
+
// lighter
|
|
3555
|
+
200: "#68CA9C",
|
|
3556
|
+
// light
|
|
3557
|
+
300: "#28724F",
|
|
3558
|
+
// base
|
|
3559
|
+
400: "#28724F",
|
|
3560
|
+
// base
|
|
3561
|
+
500: "#28724F",
|
|
3562
|
+
// base
|
|
3563
|
+
600: "#28724F",
|
|
3564
|
+
// base
|
|
3565
|
+
700: "#28724F",
|
|
3566
|
+
// base
|
|
3567
|
+
800: "#28724F",
|
|
3568
|
+
// base
|
|
3569
|
+
900: "#143927"
|
|
3570
|
+
// dark
|
|
3571
|
+
},
|
|
3572
|
+
whiteCS: { ...Ot.colors.whiteAlpha, base: "#FFFFFF" }
|
|
3573
|
+
}, Oa = {
|
|
3574
|
+
warning: "#CC0F05",
|
|
3575
|
+
sale: "#DF2B17",
|
|
3576
|
+
success: "#28724F",
|
|
3577
|
+
rating: "#F5A623"
|
|
3578
|
+
}, Aa = {
|
|
3579
|
+
...Ma,
|
|
3580
|
+
// color schemes
|
|
3581
|
+
...$a,
|
|
3582
|
+
// contextual colors
|
|
3583
|
+
utility: {
|
|
3584
|
+
...Oa
|
|
3585
|
+
}
|
|
3586
|
+
}, { semanticTokens: Za, sizes: Qa, space: ei, ...Wa } = Ot, w = (e) => `${e / 16}rem`, ja = (e) => e, ri = ja({
|
|
3587
|
+
...Wa,
|
|
3588
|
+
//To fix: https://github.com/chakra-ui/chakra-ui/issues/8671
|
|
3589
|
+
styles: {
|
|
3590
|
+
global: {
|
|
3591
|
+
"html:has(body[data-scroll-locked])": {
|
|
3592
|
+
overflow: "hidden"
|
|
3593
|
+
}
|
|
3594
|
+
}
|
|
3595
|
+
},
|
|
3596
|
+
breakpoints: {
|
|
3597
|
+
// Chakra relies on the initial breakpoint being `base`
|
|
3598
|
+
base: "0em",
|
|
3599
|
+
// starts at 0px - mobile
|
|
3600
|
+
tablet: "37.5em",
|
|
3601
|
+
// 600px
|
|
3602
|
+
largeTablet: "56.25em",
|
|
3603
|
+
// 900px
|
|
3604
|
+
desktop: "75em",
|
|
3605
|
+
// 1200px
|
|
3606
|
+
largeDesktop: "112.5em"
|
|
3607
|
+
// 1800px
|
|
3608
|
+
},
|
|
3609
|
+
fonts: {
|
|
3610
|
+
body: "'DM Sans', sans-serif",
|
|
3611
|
+
heading: "PP Agrandir, sans-serif",
|
|
3612
|
+
mono: "DM Mono, monospace"
|
|
3613
|
+
},
|
|
3614
|
+
fontWeights: {
|
|
3615
|
+
thin: "100",
|
|
3616
|
+
xlight: "200",
|
|
3617
|
+
light: "300",
|
|
3618
|
+
normal: "400",
|
|
3619
|
+
medium: "500",
|
|
3620
|
+
semiBold: "600",
|
|
3621
|
+
bold: "700",
|
|
3622
|
+
xbold: "800",
|
|
3623
|
+
black: "900"
|
|
3624
|
+
},
|
|
3625
|
+
fontSizes: {
|
|
3626
|
+
"3xs": w(6),
|
|
3627
|
+
"2xs": w(8),
|
|
3628
|
+
xs: w(10),
|
|
3629
|
+
sm: w(12),
|
|
3630
|
+
md: w(14),
|
|
3631
|
+
lg: w(16),
|
|
3632
|
+
xl: w(18),
|
|
3633
|
+
"2xl": w(20),
|
|
3634
|
+
"3xl": w(24),
|
|
3635
|
+
"4xl": w(28),
|
|
3636
|
+
"5xl": w(32),
|
|
3637
|
+
"6xl": w(36),
|
|
3638
|
+
"7xl": w(40),
|
|
3639
|
+
"8xl": w(44),
|
|
3640
|
+
"9xl": w(48),
|
|
3641
|
+
"10xl": w(56),
|
|
3642
|
+
"11xl": w(68)
|
|
3643
|
+
},
|
|
3644
|
+
letterSpacings: {
|
|
3645
|
+
// TODO: redefine letter spacings with design
|
|
3646
|
+
tighter: "-0.05em",
|
|
3647
|
+
tight: "-0.025em",
|
|
3648
|
+
normal: "0",
|
|
3649
|
+
wide: "0.025em",
|
|
3650
|
+
wider: "0.05em",
|
|
3651
|
+
widest: "0.1em"
|
|
3652
|
+
},
|
|
3653
|
+
lineHeights: {
|
|
3654
|
+
// TODO: redefine line heights with design
|
|
3655
|
+
body: 1.5,
|
|
3656
|
+
normal: "normal",
|
|
3657
|
+
none: 1,
|
|
3658
|
+
shorter: 1.1,
|
|
3659
|
+
short: 1.3,
|
|
3660
|
+
base: 1.5,
|
|
3661
|
+
tall: 1.5
|
|
3662
|
+
},
|
|
3663
|
+
sizes: {
|
|
3664
|
+
max: "max-content",
|
|
3665
|
+
min: "min-content",
|
|
3666
|
+
full: "100%"
|
|
3667
|
+
},
|
|
3668
|
+
space: {
|
|
3669
|
+
/**
|
|
3670
|
+
* Base unit: 4px
|
|
3671
|
+
* 1 rem = 16px
|
|
3672
|
+
*
|
|
3673
|
+
* Mental model:
|
|
3674
|
+
*
|
|
3675
|
+
* If you need a spacing of 40px, divide it by 4.
|
|
3676
|
+
* That'll give you 10. Then use it in your component.
|
|
3677
|
+
*/
|
|
3678
|
+
0: 0,
|
|
3679
|
+
0.5: w(2),
|
|
3680
|
+
1: w(4),
|
|
3681
|
+
1.5: w(6),
|
|
3682
|
+
2: w(8),
|
|
3683
|
+
3: w(12),
|
|
3684
|
+
4: w(16),
|
|
3685
|
+
5: w(20),
|
|
3686
|
+
6: w(24),
|
|
3687
|
+
8: w(32),
|
|
3688
|
+
10: w(40),
|
|
3689
|
+
12: w(48),
|
|
3690
|
+
16: w(64),
|
|
3691
|
+
20: w(80)
|
|
3692
|
+
},
|
|
3693
|
+
shadows: {
|
|
3694
|
+
xs: "0 0 0 1px rgba(0, 0, 0, 0.05)",
|
|
3695
|
+
sm: "0 1px 2px 0 rgba(0, 0, 0, 0.05)",
|
|
3696
|
+
base: "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",
|
|
3697
|
+
md: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",
|
|
3698
|
+
lg: "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",
|
|
3699
|
+
xl: "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)",
|
|
3700
|
+
"2xl": "0 25px 50px -12px rgba(0, 0, 0, 0.25)",
|
|
3701
|
+
outline: "0 0 0 3px rgba(66, 153, 225, 0.6)",
|
|
3702
|
+
inner: "inset 0 2px 4px 0 rgba(0,0,0,0.06)",
|
|
3703
|
+
none: "none",
|
|
3704
|
+
"dark-lg": "rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px",
|
|
3705
|
+
dialog: "15px 0px 75.2px 0px rgba(0, 0, 0, 0.35)",
|
|
3706
|
+
tooltip: "0px 4px 35px 0px rgba(0, 0, 0, 0.08)"
|
|
3707
|
+
},
|
|
3708
|
+
zIndices: {
|
|
3709
|
+
hide: -1,
|
|
3710
|
+
auto: "auto",
|
|
3711
|
+
base: 0,
|
|
3712
|
+
docked: 10,
|
|
3713
|
+
dropdown: 1e3,
|
|
3714
|
+
sticky: 1100,
|
|
3715
|
+
banner: 1200,
|
|
3716
|
+
overlay: 1300,
|
|
3717
|
+
modal: 1400,
|
|
3718
|
+
popover: 1500,
|
|
3719
|
+
skipLink: 1600,
|
|
3720
|
+
toast: 1700,
|
|
3721
|
+
tooltip: 1800
|
|
3722
|
+
},
|
|
3723
|
+
colors: Aa,
|
|
3724
|
+
components: {
|
|
3725
|
+
Accordion: Ia,
|
|
3726
|
+
Button: Vo,
|
|
3727
|
+
Checkbox: sn,
|
|
3728
|
+
Container: Da,
|
|
3729
|
+
Drawer: pa,
|
|
3730
|
+
Form: Hn,
|
|
3731
|
+
// Not sure why chakra does not follow their naming convention for this theme, but this is the way that it works
|
|
3732
|
+
FormError: Un,
|
|
3733
|
+
FormLabel: Kn,
|
|
3734
|
+
Select: oa,
|
|
3735
|
+
Heading: sa,
|
|
3736
|
+
Icon: da,
|
|
3737
|
+
Input: ke,
|
|
3738
|
+
Link: aa,
|
|
3739
|
+
Stepper: ia,
|
|
3740
|
+
Menu: Qn,
|
|
3741
|
+
Progress: ya,
|
|
3742
|
+
Slider: na,
|
|
3743
|
+
Spinner: xa,
|
|
3744
|
+
Skeleton: _a,
|
|
3745
|
+
Tabs: Ta,
|
|
3746
|
+
Table: Pa,
|
|
3747
|
+
Tag: Fa,
|
|
3748
|
+
Text: la,
|
|
3749
|
+
Tooltip: ga,
|
|
3750
|
+
Modal: ba
|
|
3751
|
+
}
|
|
3752
|
+
}), Ga = () => Eo(), qt = Wo({
|
|
3753
|
+
spacing: 0,
|
|
3754
|
+
columns: 1
|
|
3755
|
+
}), La = ft.forwardRef(
|
|
3756
|
+
({
|
|
3757
|
+
children: e,
|
|
3758
|
+
alignEdges: a = !0,
|
|
3759
|
+
width: l,
|
|
3760
|
+
columns: u = 1,
|
|
3761
|
+
spacing: p,
|
|
3762
|
+
...v
|
|
3763
|
+
}, R) => {
|
|
3764
|
+
const F = Ga(), y = p ?? F.space[4], $ = (C) => typeof C == "number" ? -1 * C : `-${C}`, O = Array.isArray(y) ? y.map((C) => C && $(C)) : y && $(y);
|
|
3765
|
+
return /* @__PURE__ */ N.jsxDEV(qt.Provider, { value: { spacing: y, columns: u }, children: /* @__PURE__ */ N.jsxDEV(qe, { m: a ? O : void 0, children: /* @__PURE__ */ N.jsxDEV(
|
|
3766
|
+
Fo,
|
|
3767
|
+
{
|
|
3768
|
+
flexWrap: "wrap",
|
|
3769
|
+
pl: y,
|
|
3770
|
+
pt: y,
|
|
3771
|
+
width: l ?? "100%",
|
|
3772
|
+
...v,
|
|
3773
|
+
ref: R,
|
|
3774
|
+
children: e
|
|
3775
|
+
},
|
|
3776
|
+
void 0,
|
|
3777
|
+
!1,
|
|
3778
|
+
{
|
|
3779
|
+
fileName: "/builds/everlywell/forest/libs/ui-kit/src/lib/theme/layout/Grid/Grid.tsx",
|
|
3780
|
+
lineNumber: 70,
|
|
3781
|
+
columnNumber: 11
|
|
3782
|
+
},
|
|
3783
|
+
void 0
|
|
3784
|
+
) }, void 0, !1, {
|
|
3785
|
+
fileName: "/builds/everlywell/forest/libs/ui-kit/src/lib/theme/layout/Grid/Grid.tsx",
|
|
3786
|
+
lineNumber: 69,
|
|
3787
|
+
columnNumber: 9
|
|
3788
|
+
}, void 0) }, void 0, !1, {
|
|
3789
|
+
fileName: "/builds/everlywell/forest/libs/ui-kit/src/lib/theme/layout/Grid/Grid.tsx",
|
|
3790
|
+
lineNumber: 68,
|
|
3791
|
+
columnNumber: 7
|
|
3792
|
+
}, void 0);
|
|
3793
|
+
}
|
|
3794
|
+
);
|
|
3795
|
+
La.displayName = "Grid";
|
|
3796
|
+
const Na = ft.forwardRef(
|
|
3797
|
+
({ children: e, width: a, ...l }, u) => {
|
|
3798
|
+
const { columns: p, spacing: v } = jo(qt), R = Array.isArray(a) ? a.map((y) => y === "auto" ? 1 : 0) : a === "auto" ? 1 : 0, F = () => (Array.isArray(p) ? p : [p]).map(
|
|
3799
|
+
($) => `${100 / $}%`
|
|
3800
|
+
);
|
|
3801
|
+
return /* @__PURE__ */ N.jsxDEV(
|
|
3802
|
+
qe,
|
|
3803
|
+
{
|
|
3804
|
+
width: a ?? F() ?? "100%",
|
|
3805
|
+
pr: v,
|
|
3806
|
+
pb: v,
|
|
3807
|
+
...l,
|
|
3808
|
+
sx: {
|
|
3809
|
+
flexGrow: R,
|
|
3810
|
+
...l.sx
|
|
3811
|
+
},
|
|
3812
|
+
ref: u,
|
|
3813
|
+
children: e
|
|
3814
|
+
},
|
|
3815
|
+
void 0,
|
|
3816
|
+
!1,
|
|
3817
|
+
{
|
|
3818
|
+
fileName: "/builds/everlywell/forest/libs/ui-kit/src/lib/theme/layout/Grid/GridItem.tsx",
|
|
3819
|
+
lineNumber: 31,
|
|
3820
|
+
columnNumber: 7
|
|
3821
|
+
},
|
|
3822
|
+
void 0
|
|
3823
|
+
);
|
|
3824
|
+
}
|
|
3825
|
+
);
|
|
3826
|
+
Na.displayName = "GridItem";
|
|
3827
|
+
const ti = Bo, oi = Io, Ya = (e) => /* @__PURE__ */ N.jsxDEV(zo, { icon: /* @__PURE__ */ N.jsxDEV(At, { as: Wt }, void 0, !1, {
|
|
3828
|
+
fileName: "/builds/everlywell/forest/libs/ui-kit/src/lib/theme/actions/Checkbox/Checkbox.tsx",
|
|
3829
|
+
lineNumber: 13,
|
|
3830
|
+
columnNumber: 32
|
|
3831
|
+
}, void 0), ...e }, void 0, !1, {
|
|
3832
|
+
fileName: "/builds/everlywell/forest/libs/ui-kit/src/lib/theme/actions/Checkbox/Checkbox.tsx",
|
|
3833
|
+
lineNumber: 13,
|
|
3834
|
+
columnNumber: 10
|
|
3835
|
+
}, void 0);
|
|
3836
|
+
Ya.displayName = "Checkbox";
|
|
3837
|
+
function Ha(e, a) {
|
|
3838
|
+
const { background: l, filledBackground: u, ...p } = e;
|
|
3839
|
+
return /* @__PURE__ */ N.jsxDEV(
|
|
3840
|
+
Po,
|
|
3841
|
+
{
|
|
3842
|
+
...p,
|
|
3843
|
+
ref: a,
|
|
3844
|
+
sx: {
|
|
3845
|
+
[Xt.variable]: l ?? "colors.tints.lightGrey",
|
|
3846
|
+
[Ut.variable]: u ?? "colors.utility.rating"
|
|
3847
|
+
}
|
|
3848
|
+
},
|
|
3849
|
+
void 0,
|
|
3850
|
+
!1,
|
|
3851
|
+
{
|
|
3852
|
+
fileName: "/builds/everlywell/forest/libs/ui-kit/src/lib/theme/feedback/Progress/Progress.tsx",
|
|
3853
|
+
lineNumber: 29,
|
|
3854
|
+
columnNumber: 5
|
|
3855
|
+
},
|
|
3856
|
+
this
|
|
3857
|
+
);
|
|
3858
|
+
}
|
|
3859
|
+
const ni = Go(Ha), nt = "32px", Rr = (e) => e == null, Va = Do((e, a) => {
|
|
3860
|
+
const l = Mo(), u = {
|
|
3861
|
+
isDisabled: l == null ? void 0 : l.isDisabled,
|
|
3862
|
+
isFocusable: l == null ? void 0 : l.isFocusable,
|
|
3863
|
+
isChecked: !Rr(l == null ? void 0 : l.value) && !Rr(e.value) ? l.value === e.value : e.isChecked,
|
|
3864
|
+
onChange: !Rr(l == null ? void 0 : l.value) && !Rr(e.value) ? (I) => {
|
|
3865
|
+
var _e, Ce;
|
|
3866
|
+
(_e = e.onChange) == null || _e.call(e, I), (Ce = l == null ? void 0 : l.onChange) == null || Ce.call(l, I);
|
|
3867
|
+
} : e.onChange,
|
|
3868
|
+
name: (e == null ? void 0 : e.name) ?? (l == null ? void 0 : l.name)
|
|
3869
|
+
}, {
|
|
3870
|
+
getInputProps: p,
|
|
3871
|
+
getRadioProps: v,
|
|
3872
|
+
htmlProps: R,
|
|
3873
|
+
getLabelProps: F,
|
|
3874
|
+
state: y,
|
|
3875
|
+
getRootProps: $
|
|
3876
|
+
} = $o({
|
|
3877
|
+
...e,
|
|
3878
|
+
...u
|
|
3879
|
+
}), O = p({}, a), C = v(), W = F(), H = $(), V = y.isChecked, te = () => e.isDisabled ? "tints.lightGrey" : V ? "viridian.base" : "tints.white", oe = () => e.isDisabled ? "tints.lightGrey" : V ? "viridian.base" : "tints.uiGrey", X = () => e.isDisabled ? "not-allowed" : "pointer";
|
|
3880
|
+
return /* @__PURE__ */ N.jsxDEV(
|
|
3881
|
+
Oo.label,
|
|
3882
|
+
{
|
|
3883
|
+
...R,
|
|
3884
|
+
...H,
|
|
3885
|
+
cursor: "pointer",
|
|
3886
|
+
display: "flex",
|
|
3887
|
+
flexDirection: "row",
|
|
3888
|
+
alignItems: "flex-start",
|
|
3889
|
+
width: "100%",
|
|
3890
|
+
gap: 3,
|
|
3891
|
+
children: [
|
|
3892
|
+
/* @__PURE__ */ N.jsxDEV("input", { ...O, ref: a }, void 0, !1, {
|
|
3893
|
+
fileName: "/builds/everlywell/forest/libs/ui-kit/src/lib/theme/actions/Radio/Radio.tsx",
|
|
3894
|
+
lineNumber: 103,
|
|
3895
|
+
columnNumber: 7
|
|
3896
|
+
}, void 0),
|
|
3897
|
+
e.removeCircle ? (
|
|
3898
|
+
// Icon size is 32px, so we need to add a box to keep the layout consistent
|
|
3899
|
+
/* @__PURE__ */ N.jsxDEV(qe, { width: "32px" }, void 0, !1, {
|
|
3900
|
+
fileName: "/builds/everlywell/forest/libs/ui-kit/src/lib/theme/actions/Radio/Radio.tsx",
|
|
3901
|
+
lineNumber: 106,
|
|
3902
|
+
columnNumber: 9
|
|
3903
|
+
}, void 0)
|
|
3904
|
+
) : /* @__PURE__ */ N.jsxDEV(
|
|
3905
|
+
qe,
|
|
3906
|
+
{
|
|
3907
|
+
...C,
|
|
3908
|
+
display: "flex",
|
|
3909
|
+
alignItems: "center",
|
|
3910
|
+
justifyContent: "center",
|
|
3911
|
+
backgroundColor: te(),
|
|
3912
|
+
color: V ? "tints.white" : "transparent",
|
|
3913
|
+
borderColor: oe(),
|
|
3914
|
+
borderStyle: "solid",
|
|
3915
|
+
flexShrink: 0,
|
|
3916
|
+
borderWidth: "1.5px",
|
|
3917
|
+
height: nt,
|
|
3918
|
+
width: nt,
|
|
3919
|
+
rounded: "full",
|
|
3920
|
+
cursor: X(),
|
|
3921
|
+
sx: {
|
|
3922
|
+
_focusVisible: {
|
|
3923
|
+
outlineColor: "moonlight.light",
|
|
3924
|
+
outlineWidth: "2px",
|
|
3925
|
+
outlineStyle: "solid",
|
|
3926
|
+
outlineOffset: "1px"
|
|
3927
|
+
}
|
|
3928
|
+
},
|
|
3929
|
+
children: V && /* @__PURE__ */ N.jsxDEV(At, { as: Wt }, void 0, !1, {
|
|
3930
|
+
fileName: "/builds/everlywell/forest/libs/ui-kit/src/lib/theme/actions/Radio/Radio.tsx",
|
|
3931
|
+
lineNumber: 132,
|
|
3932
|
+
columnNumber: 24
|
|
3933
|
+
}, void 0)
|
|
3934
|
+
},
|
|
3935
|
+
void 0,
|
|
3936
|
+
!1,
|
|
3937
|
+
{
|
|
3938
|
+
fileName: "/builds/everlywell/forest/libs/ui-kit/src/lib/theme/actions/Radio/Radio.tsx",
|
|
3939
|
+
lineNumber: 108,
|
|
3940
|
+
columnNumber: 9
|
|
3941
|
+
},
|
|
3942
|
+
void 0
|
|
3943
|
+
),
|
|
3944
|
+
/* @__PURE__ */ N.jsxDEV(
|
|
3945
|
+
qe,
|
|
3946
|
+
{
|
|
3947
|
+
...W,
|
|
3948
|
+
flex: 1,
|
|
3949
|
+
display: "flex",
|
|
3950
|
+
alignItems: "center",
|
|
3951
|
+
minHeight: nt,
|
|
3952
|
+
children: e.children
|
|
3953
|
+
},
|
|
3954
|
+
void 0,
|
|
3955
|
+
!1,
|
|
3956
|
+
{
|
|
3957
|
+
fileName: "/builds/everlywell/forest/libs/ui-kit/src/lib/theme/actions/Radio/Radio.tsx",
|
|
3958
|
+
lineNumber: 135,
|
|
3959
|
+
columnNumber: 7
|
|
3960
|
+
},
|
|
3961
|
+
void 0
|
|
3962
|
+
)
|
|
3963
|
+
]
|
|
3964
|
+
},
|
|
3965
|
+
void 0,
|
|
3966
|
+
!0,
|
|
3967
|
+
{
|
|
3968
|
+
fileName: "/builds/everlywell/forest/libs/ui-kit/src/lib/theme/actions/Radio/Radio.tsx",
|
|
3969
|
+
lineNumber: 93,
|
|
3970
|
+
columnNumber: 5
|
|
3971
|
+
},
|
|
3972
|
+
void 0
|
|
3973
|
+
);
|
|
3974
|
+
});
|
|
3975
|
+
Va.displayName = "Radio";
|
|
3976
|
+
const Xa = () => /* @__PURE__ */ N.jsxDEV(
|
|
3977
|
+
Lo,
|
|
3978
|
+
{
|
|
3979
|
+
styles: `
|
|
3980
|
+
/* PP Agrandir */
|
|
3981
|
+
/* Agrandir is used for page headers, section titles, brand moments and quotations. */
|
|
3982
|
+
@font-face {
|
|
3983
|
+
font-family: 'PP Agrandir';
|
|
3984
|
+
/* We need to keep the "+" in the font path for the font to load correctly. */
|
|
3985
|
+
src: url('https://cdn.everlywell.com/fonts/PP+Agrandir/PPAgrandir-Variable.woff2') format('woff2');
|
|
3986
|
+
font-style: normal;
|
|
3987
|
+
font-display: swap;
|
|
3988
|
+
}
|
|
3989
|
+
|
|
3990
|
+
/* DM Sans */
|
|
3991
|
+
/* Used for: Body copy, button copy and smaller sizes. */
|
|
3992
|
+
@font-face {
|
|
3993
|
+
font-family: 'DM Sans';
|
|
3994
|
+
/* We need to keep the "<space>" in the font path for the font to load correctly. */
|
|
3995
|
+
src: url('https://cdn.everlywell.com/fonts/DM Sans/DMSans-Italic-VariableFont_opsz,wght.woff2') format('woff2');
|
|
3996
|
+
font-style: italic;
|
|
3997
|
+
font-stretch: normal;
|
|
3998
|
+
font-display: swap;
|
|
3999
|
+
}
|
|
4000
|
+
@font-face {
|
|
4001
|
+
font-family: 'DM Sans';
|
|
4002
|
+
src: url('https://cdn.everlywell.com/fonts/DM Sans/DMSans-VariableFont_opsz,wght.woff2') format('woff2');
|
|
4003
|
+
font-style: normal;
|
|
4004
|
+
font-stretch: normal;
|
|
4005
|
+
font-display: swap;
|
|
4006
|
+
}
|
|
4007
|
+
|
|
4008
|
+
/* DM Mono */
|
|
4009
|
+
/* Used for: Body copy, button copy and smaller sizes. */
|
|
4010
|
+
@font-face {
|
|
4011
|
+
font-family: 'DM Mono';
|
|
4012
|
+
src: url('https://cdn.everlywell.com/fonts/DM Mono/DMMono-Light.woff2') format('woff2');
|
|
4013
|
+
font-style: normal;
|
|
4014
|
+
font-weight: 300;
|
|
4015
|
+
font-stretch: normal;
|
|
4016
|
+
font-display: swap;
|
|
4017
|
+
}
|
|
4018
|
+
@font-face {
|
|
4019
|
+
font-family: 'DM Mono';
|
|
4020
|
+
src: url('https://cdn.everlywell.com/fonts/DM Mono/DMMono-LightItalic.woff2') format('woff2');
|
|
4021
|
+
font-style: italic;
|
|
4022
|
+
font-weight: 300;
|
|
4023
|
+
font-stretch: normal;
|
|
4024
|
+
font-display: swap;
|
|
4025
|
+
}
|
|
4026
|
+
@font-face {
|
|
4027
|
+
font-family: 'DM Mono';
|
|
4028
|
+
src: url('https://cdn.everlywell.com/fonts/DM Mono/DMMono-Regular.woff2') format('woff2');
|
|
4029
|
+
font-style: normal;
|
|
4030
|
+
font-weight: 400;
|
|
4031
|
+
font-stretch: normal;
|
|
4032
|
+
font-display: swap;
|
|
4033
|
+
}
|
|
4034
|
+
@font-face {
|
|
4035
|
+
font-family: 'DM Mono';
|
|
4036
|
+
src: url('https://cdn.everlywell.com/fonts/DM Mono/DMMono-Italic.woff2') format('woff2');
|
|
4037
|
+
font-style: italic;
|
|
4038
|
+
font-weight: 400;
|
|
4039
|
+
font-stretch: normal;
|
|
4040
|
+
font-display: swap;
|
|
4041
|
+
}
|
|
4042
|
+
@font-face {
|
|
4043
|
+
font-family: 'DM Mono';
|
|
4044
|
+
src: url('https://cdn.everlywell.com/fonts/DM Mono/DMMono-Medium.woff2') format('woff2');
|
|
4045
|
+
font-style: normal;
|
|
4046
|
+
font-weight: 500;
|
|
4047
|
+
font-stretch: normal;
|
|
4048
|
+
font-display: swap;
|
|
4049
|
+
}
|
|
4050
|
+
@font-face {
|
|
4051
|
+
font-family: 'DM Mono';
|
|
4052
|
+
src: url('https://cdn.everlywell.com/fonts/DM Mono/DMMono-MediumItalic.woff2') format('woff2');
|
|
4053
|
+
font-style: italic;
|
|
4054
|
+
font-weight: 500;
|
|
4055
|
+
font-stretch: normal;
|
|
4056
|
+
font-display: swap;
|
|
4057
|
+
}
|
|
4058
|
+
`
|
|
4059
|
+
},
|
|
4060
|
+
void 0,
|
|
4061
|
+
!1,
|
|
4062
|
+
{
|
|
4063
|
+
fileName: "/builds/everlywell/forest/libs/ui-kit/src/lib/components/Fonts/Fonts.tsx",
|
|
4064
|
+
lineNumber: 4,
|
|
4065
|
+
columnNumber: 3
|
|
4066
|
+
},
|
|
4067
|
+
void 0
|
|
4068
|
+
), ai = ({
|
|
4069
|
+
children: e,
|
|
4070
|
+
...a
|
|
4071
|
+
}) => /* @__PURE__ */ N.jsxDEV(Ao, { ...a, children: [
|
|
4072
|
+
/* @__PURE__ */ N.jsxDEV(Xa, {}, void 0, !1, {
|
|
4073
|
+
fileName: "/builds/everlywell/forest/libs/ui-kit/src/lib/components/ThemeProvider/ThemeProvider.tsx",
|
|
4074
|
+
lineNumber: 14,
|
|
4075
|
+
columnNumber: 7
|
|
4076
|
+
}, void 0),
|
|
4077
|
+
e
|
|
4078
|
+
] }, void 0, !0, {
|
|
4079
|
+
fileName: "/builds/everlywell/forest/libs/ui-kit/src/lib/components/ThemeProvider/ThemeProvider.tsx",
|
|
4080
|
+
lineNumber: 13,
|
|
4081
|
+
columnNumber: 5
|
|
4082
|
+
}, void 0);
|
|
4083
|
+
export {
|
|
4084
|
+
li as Accordion,
|
|
4085
|
+
di as AccordionButton,
|
|
4086
|
+
ci as AccordionIcon,
|
|
4087
|
+
ui as AccordionItem,
|
|
4088
|
+
fi as AccordionPanel,
|
|
4089
|
+
pi as Box,
|
|
4090
|
+
gi as Breadcrumb,
|
|
4091
|
+
hi as BreadcrumbItem,
|
|
4092
|
+
bi as BreadcrumbLink,
|
|
4093
|
+
mi as BreadcrumbSeparator,
|
|
4094
|
+
vi as Button,
|
|
4095
|
+
Ya as Checkbox,
|
|
4096
|
+
yi as CheckboxGroup,
|
|
4097
|
+
xi as Container,
|
|
4098
|
+
Si as Drawer,
|
|
4099
|
+
ki as DrawerBody,
|
|
4100
|
+
wi as DrawerCloseButton,
|
|
4101
|
+
_i as DrawerContent,
|
|
4102
|
+
Ci as DrawerFooter,
|
|
4103
|
+
Ti as DrawerHeader,
|
|
4104
|
+
Ri as DrawerOverlay,
|
|
4105
|
+
Ei as Flex,
|
|
4106
|
+
Fi as FormControl,
|
|
4107
|
+
Bi as FormErrorMessage,
|
|
4108
|
+
Ii as FormHelperText,
|
|
4109
|
+
zi as FormLabel,
|
|
4110
|
+
La as Grid,
|
|
4111
|
+
Na as GridItem,
|
|
4112
|
+
Pi as HStack,
|
|
4113
|
+
Di as Heading,
|
|
4114
|
+
oi as Hide,
|
|
4115
|
+
Mi as Icon,
|
|
4116
|
+
$i as IconButton,
|
|
4117
|
+
Oi as Image,
|
|
4118
|
+
Ai as Input,
|
|
4119
|
+
Wi as InputGroup,
|
|
4120
|
+
ji as InputLeftElement,
|
|
4121
|
+
Gi as InputRightElement,
|
|
4122
|
+
Li as Link,
|
|
4123
|
+
Ni as List,
|
|
4124
|
+
Yi as ListIcon,
|
|
4125
|
+
Hi as ListItem,
|
|
4126
|
+
Vi as Menu,
|
|
4127
|
+
Xi as MenuButton,
|
|
4128
|
+
Ui as MenuCommand,
|
|
4129
|
+
qi as MenuDivider,
|
|
4130
|
+
Ki as MenuGroup,
|
|
4131
|
+
Ji as MenuItem,
|
|
4132
|
+
Zi as MenuItemOption,
|
|
4133
|
+
Qi as MenuList,
|
|
4134
|
+
es as MenuOptionGroup,
|
|
4135
|
+
rs as Modal,
|
|
4136
|
+
ts as ModalBody,
|
|
4137
|
+
os as ModalCloseButton,
|
|
4138
|
+
ns as ModalContent,
|
|
4139
|
+
as as ModalFooter,
|
|
4140
|
+
is as ModalHeader,
|
|
4141
|
+
ss as ModalOverlay,
|
|
4142
|
+
ls as OrderedList,
|
|
4143
|
+
ni as Progress,
|
|
4144
|
+
Va as Radio,
|
|
4145
|
+
ds as RadioGroup,
|
|
4146
|
+
cs as Select,
|
|
4147
|
+
ti as Show,
|
|
4148
|
+
us as Skeleton,
|
|
4149
|
+
fs as SkeletonCircle,
|
|
4150
|
+
ps as SkeletonText,
|
|
4151
|
+
gs as Slider,
|
|
4152
|
+
hs as SliderFilledTrack,
|
|
4153
|
+
bs as SliderMark,
|
|
4154
|
+
ms as SliderThumb,
|
|
4155
|
+
vs as SliderTrack,
|
|
4156
|
+
ys as Spacer,
|
|
4157
|
+
xs as Spinner,
|
|
4158
|
+
Ss as Stack,
|
|
4159
|
+
ks as Step,
|
|
4160
|
+
ws as StepDescription,
|
|
4161
|
+
_s as StepIcon,
|
|
4162
|
+
Cs as StepIndicator,
|
|
4163
|
+
Ts as StepNumber,
|
|
4164
|
+
Rs as StepSeparator,
|
|
4165
|
+
Es as StepStatus,
|
|
4166
|
+
Fs as StepTitle,
|
|
4167
|
+
Bs as Stepper,
|
|
4168
|
+
Is as Tab,
|
|
4169
|
+
zs as TabList,
|
|
4170
|
+
Ps as TabPanel,
|
|
4171
|
+
Ds as TabPanels,
|
|
4172
|
+
Ms as Table,
|
|
4173
|
+
$s as TableCaption,
|
|
4174
|
+
Os as TableContainer,
|
|
4175
|
+
As as Tabs,
|
|
4176
|
+
Ws as Tag,
|
|
4177
|
+
js as TagCloseButton,
|
|
4178
|
+
Gs as TagLabel,
|
|
4179
|
+
Ls as TagLeftIcon,
|
|
4180
|
+
Ns as TagRightIcon,
|
|
4181
|
+
Ys as Tbody,
|
|
4182
|
+
Hs as Td,
|
|
4183
|
+
Vs as Text,
|
|
4184
|
+
Xs as Tfoot,
|
|
4185
|
+
Us as Th,
|
|
4186
|
+
qs as Thead,
|
|
4187
|
+
ai as ThemeProvider,
|
|
4188
|
+
Ks as Tooltip,
|
|
4189
|
+
Js as Tr,
|
|
4190
|
+
Zs as UnorderedList,
|
|
4191
|
+
Qs as VStack,
|
|
4192
|
+
el as VisuallyHidden,
|
|
4193
|
+
rl as extendTheme,
|
|
4194
|
+
dl as styled,
|
|
4195
|
+
ri as theme,
|
|
4196
|
+
tl as useDisclosure,
|
|
4197
|
+
ol as useMediaQuery,
|
|
4198
|
+
nl as useRadioGroup,
|
|
4199
|
+
al as useSteps,
|
|
4200
|
+
il as useTab,
|
|
4201
|
+
Ga as useTheme,
|
|
4202
|
+
sl as useToken
|
|
4203
|
+
};
|