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