@everlywell/ui-kit 0.0.1-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/index.d.mts +15 -0
  2. package/index.d.ts +15 -0
  3. package/index.js +104 -0
  4. package/index.mjs +3055 -0
  5. package/lib/components/Fonts/Fonts.d.ts +2 -0
  6. package/lib/components/Fonts/index.d.ts +1 -0
  7. package/lib/components/ThemeProvider/ThemeProvider.d.ts +5 -0
  8. package/lib/components/ThemeProvider/index.d.ts +1 -0
  9. package/lib/theme/actions/Button/Button.config.d.ts +95 -0
  10. package/lib/theme/actions/Button/Button.d.ts +3 -0
  11. package/lib/theme/actions/IconButton/IconButton.d.ts +11 -0
  12. package/lib/theme/actions/Menu/Menu.config.d.ts +92 -0
  13. package/lib/theme/actions/Menu/Menu.d.ts +3 -0
  14. package/lib/theme/foundations/colors.d.ts +96 -0
  15. package/lib/theme/index.d.ts +659 -0
  16. package/lib/theme/layout/Box/Box.d.ts +3 -0
  17. package/lib/theme/layout/Grid/Grid.d.ts +48 -0
  18. package/lib/theme/layout/Grid/GridItem.d.ts +5 -0
  19. package/lib/theme/layout/Grid/index.d.ts +2 -0
  20. package/lib/theme/layout/Show-Hide/Show-Hide.d.ts +5 -0
  21. package/lib/theme/media/Icon/Icon.config.d.ts +21 -0
  22. package/lib/theme/media/Icon/Icon.d.ts +14 -0
  23. package/lib/theme/navigation/Link/Link.config.d.ts +31 -0
  24. package/lib/theme/navigation/Link/Link.d.ts +3 -0
  25. package/lib/theme/overlay/Drawer/Drawer.config.d.ts +72 -0
  26. package/lib/theme/overlay/Drawer/Drawer.d.ts +3 -0
  27. package/lib/theme/typography/Heading/Heading.config.d.ts +48 -0
  28. package/lib/theme/typography/Heading/Heading.d.ts +3 -0
  29. package/lib/theme/typography/Text/Text.config.d.ts +37 -0
  30. package/lib/theme/typography/Text/Text.d.ts +3 -0
  31. package/package.json +23 -0
package/index.mjs ADDED
@@ -0,0 +1,3055 @@
1
+ import { Icon as fa, IconButton as pa, useTheme as ga, Box as wt, Flex as ha, Show as ba, Hide as ma, ChakraBaseProvider as va, defineStyleConfig as Gr, baseTheme as Tt } from "@chakra-ui/react";
2
+ import { Box as Hn, Button as Yn, Drawer as Nn, DrawerBody as Un, DrawerCloseButton as Vn, DrawerContent as Xn, DrawerFooter as qn, DrawerHeader as Kn, DrawerOverlay as Jn, Heading as Zn, Link as Qn, Menu as ro, MenuButton as eo, MenuCommand as to, MenuDivider as ao, MenuGroup as no, MenuItem as oo, MenuItemOption as io, MenuList as so, MenuOptionGroup as lo, Text as co, extendBaseTheme as uo } from "@chakra-ui/react";
3
+ import Hr, { createContext as ya, useContext as Sa } from "react";
4
+ import * as xa from "@phosphor-icons/react";
5
+ import { Global as ka } from "@emotion/react";
6
+ import { default as po } from "@emotion/styled";
7
+ var be = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
8
+ function _a(e) {
9
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
10
+ }
11
+ var Ze = { exports: {} }, jr = {};
12
+ /**
13
+ * @license React
14
+ * react-jsx-runtime.development.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 bt;
22
+ function wa() {
23
+ return bt || (bt = 1, process.env.NODE_ENV !== "production" && function() {
24
+ var e = Hr, o = Symbol.for("react.element"), l = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), p = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), E = Symbol.for("react.provider"), w = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), z = Symbol.for("react.suspense"), T = Symbol.for("react.suspense_list"), B = Symbol.for("react.memo"), j = Symbol.for("react.lazy"), G = Symbol.for("react.offscreen"), cr = Symbol.iterator, ur = "@@iterator";
25
+ function fr(t) {
26
+ if (t === null || typeof t != "object")
27
+ return null;
28
+ var s = cr && t[cr] || t[ur];
29
+ return typeof s == "function" ? s : null;
30
+ }
31
+ var q = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
32
+ function A(t) {
33
+ {
34
+ for (var s = arguments.length, d = new Array(s > 1 ? s - 1 : 0), f = 1; f < s; f++)
35
+ d[f - 1] = arguments[f];
36
+ ke("error", t, d);
37
+ }
38
+ }
39
+ function ke(t, s, d) {
40
+ {
41
+ var f = q.ReactDebugCurrentFrame, x = f.getStackAddendum();
42
+ x !== "" && (s += "%s", d = d.concat([x]));
43
+ var v = d.map(function(b) {
44
+ return String(b);
45
+ });
46
+ v.unshift("Warning: " + s), Function.prototype.apply.call(console[t], console, v);
47
+ }
48
+ }
49
+ var _e = !1, we = !1, Te = !1, Re = !1, Ee = !1, Yr;
50
+ Yr = Symbol.for("react.module.reference");
51
+ function Ce(t) {
52
+ return !!(typeof t == "string" || typeof t == "function" || t === u || t === S || Ee || t === p || t === z || t === T || Re || t === G || _e || we || Te || typeof t == "object" && t !== null && (t.$$typeof === j || t.$$typeof === B || t.$$typeof === E || t.$$typeof === w || t.$$typeof === g || // This needs to include all possible module reference object
53
+ // types supported by any Flight configuration anywhere since
54
+ // we don't know which Flight build this will end up being used
55
+ // with.
56
+ t.$$typeof === Yr || t.getModuleId !== void 0));
57
+ }
58
+ function Fe(t, s, d) {
59
+ var f = t.displayName;
60
+ if (f)
61
+ return f;
62
+ var x = s.displayName || s.name || "";
63
+ return x !== "" ? d + "(" + x + ")" : d;
64
+ }
65
+ function Nr(t) {
66
+ return t.displayName || "Context";
67
+ }
68
+ function K(t) {
69
+ if (t == null)
70
+ return null;
71
+ if (typeof t.tag == "number" && A("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
72
+ return t.displayName || t.name || null;
73
+ if (typeof t == "string")
74
+ return t;
75
+ switch (t) {
76
+ case u:
77
+ return "Fragment";
78
+ case l:
79
+ return "Portal";
80
+ case S:
81
+ return "Profiler";
82
+ case p:
83
+ return "StrictMode";
84
+ case z:
85
+ return "Suspense";
86
+ case T:
87
+ return "SuspenseList";
88
+ }
89
+ if (typeof t == "object")
90
+ switch (t.$$typeof) {
91
+ case w:
92
+ var s = t;
93
+ return Nr(s) + ".Consumer";
94
+ case E:
95
+ var d = t;
96
+ return Nr(d._context) + ".Provider";
97
+ case g:
98
+ return Fe(t, t.render, "ForwardRef");
99
+ case B:
100
+ var f = t.displayName || null;
101
+ return f !== null ? f : K(t.type) || "Memo";
102
+ case j: {
103
+ var x = t, v = x._payload, b = x._init;
104
+ try {
105
+ return K(b(v));
106
+ } catch {
107
+ return null;
108
+ }
109
+ }
110
+ }
111
+ return null;
112
+ }
113
+ var nr = Object.assign, mr = 0, Ur, Vr, Xr, qr, Kr, Jr, Zr;
114
+ function F() {
115
+ }
116
+ F.__reactDisabledLog = !0;
117
+ function Qr() {
118
+ {
119
+ if (mr === 0) {
120
+ Ur = console.log, Vr = console.info, Xr = console.warn, qr = console.error, Kr = console.group, Jr = console.groupCollapsed, Zr = console.groupEnd;
121
+ var t = {
122
+ configurable: !0,
123
+ enumerable: !0,
124
+ value: F,
125
+ writable: !0
126
+ };
127
+ Object.defineProperties(console, {
128
+ info: t,
129
+ log: t,
130
+ warn: t,
131
+ error: t,
132
+ group: t,
133
+ groupCollapsed: t,
134
+ groupEnd: t
135
+ });
136
+ }
137
+ mr++;
138
+ }
139
+ }
140
+ function Ie() {
141
+ {
142
+ if (mr--, mr === 0) {
143
+ var t = {
144
+ configurable: !0,
145
+ enumerable: !0,
146
+ writable: !0
147
+ };
148
+ Object.defineProperties(console, {
149
+ log: nr({}, t, {
150
+ value: Ur
151
+ }),
152
+ info: nr({}, t, {
153
+ value: Vr
154
+ }),
155
+ warn: nr({}, t, {
156
+ value: Xr
157
+ }),
158
+ error: nr({}, t, {
159
+ value: qr
160
+ }),
161
+ group: nr({}, t, {
162
+ value: Kr
163
+ }),
164
+ groupCollapsed: nr({}, t, {
165
+ value: Jr
166
+ }),
167
+ groupEnd: nr({}, t, {
168
+ value: Zr
169
+ })
170
+ });
171
+ }
172
+ mr < 0 && A("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
173
+ }
174
+ }
175
+ var or = q.ReactCurrentDispatcher, Sr;
176
+ function Q(t, s, d) {
177
+ {
178
+ if (Sr === void 0)
179
+ try {
180
+ throw Error();
181
+ } catch (x) {
182
+ var f = x.stack.trim().match(/\n( *(at )?)/);
183
+ Sr = f && f[1] || "";
184
+ }
185
+ return `
186
+ ` + Sr + t;
187
+ }
188
+ }
189
+ var xr = !1, pr;
190
+ {
191
+ var re = typeof WeakMap == "function" ? WeakMap : Map;
192
+ pr = new re();
193
+ }
194
+ function Ir(t, s) {
195
+ if (!t || xr)
196
+ return "";
197
+ {
198
+ var d = pr.get(t);
199
+ if (d !== void 0)
200
+ return d;
201
+ }
202
+ var f;
203
+ xr = !0;
204
+ var x = Error.prepareStackTrace;
205
+ Error.prepareStackTrace = void 0;
206
+ var v;
207
+ v = or.current, or.current = null, Qr();
208
+ try {
209
+ if (s) {
210
+ var b = function() {
211
+ throw Error();
212
+ };
213
+ if (Object.defineProperty(b.prototype, "props", {
214
+ set: function() {
215
+ throw Error();
216
+ }
217
+ }), typeof Reflect == "object" && Reflect.construct) {
218
+ try {
219
+ Reflect.construct(b, []);
220
+ } catch (Y) {
221
+ f = Y;
222
+ }
223
+ Reflect.construct(t, [], b);
224
+ } else {
225
+ try {
226
+ b.call();
227
+ } catch (Y) {
228
+ f = Y;
229
+ }
230
+ t.call(b.prototype);
231
+ }
232
+ } else {
233
+ try {
234
+ throw Error();
235
+ } catch (Y) {
236
+ f = Y;
237
+ }
238
+ t();
239
+ }
240
+ } catch (Y) {
241
+ if (Y && f && typeof Y.stack == "string") {
242
+ for (var h = Y.stack.split(`
243
+ `), W = f.stack.split(`
244
+ `), D = h.length - 1, M = W.length - 1; D >= 1 && M >= 0 && h[D] !== W[M]; )
245
+ M--;
246
+ for (; D >= 1 && M >= 0; D--, M--)
247
+ if (h[D] !== W[M]) {
248
+ if (D !== 1 || M !== 1)
249
+ do
250
+ if (D--, M--, M < 0 || h[D] !== W[M]) {
251
+ var H = `
252
+ ` + h[D].replace(" at new ", " at ");
253
+ return t.displayName && H.includes("<anonymous>") && (H = H.replace("<anonymous>", t.displayName)), typeof t == "function" && pr.set(t, H), H;
254
+ }
255
+ while (D >= 1 && M >= 0);
256
+ break;
257
+ }
258
+ }
259
+ } finally {
260
+ xr = !1, or.current = v, Ie(), Error.prepareStackTrace = x;
261
+ }
262
+ var er = t ? t.displayName || t.name : "", fe = er ? Q(er) : "";
263
+ return typeof t == "function" && pr.set(t, fe), fe;
264
+ }
265
+ function Be(t, s, d) {
266
+ return Ir(t, !1);
267
+ }
268
+ function Oe(t) {
269
+ var s = t.prototype;
270
+ return !!(s && s.isReactComponent);
271
+ }
272
+ function kr(t, s, d) {
273
+ if (t == null)
274
+ return "";
275
+ if (typeof t == "function")
276
+ return Ir(t, Oe(t));
277
+ if (typeof t == "string")
278
+ return Q(t);
279
+ switch (t) {
280
+ case z:
281
+ return Q("Suspense");
282
+ case T:
283
+ return Q("SuspenseList");
284
+ }
285
+ if (typeof t == "object")
286
+ switch (t.$$typeof) {
287
+ case g:
288
+ return Be(t.render);
289
+ case B:
290
+ return kr(t.type, s, d);
291
+ case j: {
292
+ var f = t, x = f._payload, v = f._init;
293
+ try {
294
+ return kr(v(x), s, d);
295
+ } catch {
296
+ }
297
+ }
298
+ }
299
+ return "";
300
+ }
301
+ var _r = Object.prototype.hasOwnProperty, ee = {}, te = q.ReactDebugCurrentFrame;
302
+ function wr(t) {
303
+ if (t) {
304
+ var s = t._owner, d = kr(t.type, t._source, s ? s.type : null);
305
+ te.setExtraStackFrame(d);
306
+ } else
307
+ te.setExtraStackFrame(null);
308
+ }
309
+ function Tr(t, s, d, f, x) {
310
+ {
311
+ var v = Function.call.bind(_r);
312
+ for (var b in t)
313
+ if (v(t, b)) {
314
+ var h = void 0;
315
+ try {
316
+ if (typeof t[b] != "function") {
317
+ var W = Error((f || "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`.");
318
+ throw W.name = "Invariant Violation", W;
319
+ }
320
+ h = t[b](s, b, f, d, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
321
+ } catch (D) {
322
+ h = D;
323
+ }
324
+ h && !(h instanceof Error) && (wr(x), A("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", f || "React class", d, b, typeof h), wr(null)), h instanceof Error && !(h.message in ee) && (ee[h.message] = !0, wr(x), A("Failed %s type: %s", d, h.message), wr(null));
325
+ }
326
+ }
327
+ }
328
+ var Br = Array.isArray;
329
+ function gr(t) {
330
+ return Br(t);
331
+ }
332
+ function J(t) {
333
+ {
334
+ var s = typeof Symbol == "function" && Symbol.toStringTag, d = s && t[Symbol.toStringTag] || t.constructor.name || "Object";
335
+ return d;
336
+ }
337
+ }
338
+ function ae(t) {
339
+ try {
340
+ return Or(t), !1;
341
+ } catch {
342
+ return !0;
343
+ }
344
+ }
345
+ function Or(t) {
346
+ return "" + t;
347
+ }
348
+ function ne(t) {
349
+ if (ae(t))
350
+ return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", J(t)), Or(t);
351
+ }
352
+ var vr = q.ReactCurrentOwner, Rr = {
353
+ key: !0,
354
+ ref: !0,
355
+ __self: !0,
356
+ __source: !0
357
+ }, Pr, $r, Er;
358
+ Er = {};
359
+ function oe(t) {
360
+ if (_r.call(t, "ref")) {
361
+ var s = Object.getOwnPropertyDescriptor(t, "ref").get;
362
+ if (s && s.isReactWarning)
363
+ return !1;
364
+ }
365
+ return t.ref !== void 0;
366
+ }
367
+ function ie(t) {
368
+ if (_r.call(t, "key")) {
369
+ var s = Object.getOwnPropertyDescriptor(t, "key").get;
370
+ if (s && s.isReactWarning)
371
+ return !1;
372
+ }
373
+ return t.key !== void 0;
374
+ }
375
+ function Pe(t, s) {
376
+ if (typeof t.ref == "string" && vr.current && s && vr.current.stateNode !== s) {
377
+ var d = K(vr.current.type);
378
+ Er[d] || (A('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', K(vr.current.type), t.ref), Er[d] = !0);
379
+ }
380
+ }
381
+ function $e(t, s) {
382
+ {
383
+ var d = function() {
384
+ Pr || (Pr = !0, A("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", s));
385
+ };
386
+ d.isReactWarning = !0, Object.defineProperty(t, "key", {
387
+ get: d,
388
+ configurable: !0
389
+ });
390
+ }
391
+ }
392
+ function ir(t, s) {
393
+ {
394
+ var d = function() {
395
+ $r || ($r = !0, A("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", s));
396
+ };
397
+ d.isReactWarning = !0, Object.defineProperty(t, "ref", {
398
+ get: d,
399
+ configurable: !0
400
+ });
401
+ }
402
+ }
403
+ var Cr = function(t, s, d, f, x, v, b) {
404
+ var h = {
405
+ // This tag allows us to uniquely identify this as a React Element
406
+ $$typeof: o,
407
+ // Built-in properties that belong on the element
408
+ type: t,
409
+ key: s,
410
+ ref: d,
411
+ props: b,
412
+ // Record the component responsible for creating this element.
413
+ _owner: v
414
+ };
415
+ return h._store = {}, Object.defineProperty(h._store, "validated", {
416
+ configurable: !1,
417
+ enumerable: !1,
418
+ writable: !0,
419
+ value: !1
420
+ }), Object.defineProperty(h, "_self", {
421
+ configurable: !1,
422
+ enumerable: !1,
423
+ writable: !1,
424
+ value: f
425
+ }), Object.defineProperty(h, "_source", {
426
+ configurable: !1,
427
+ enumerable: !1,
428
+ writable: !1,
429
+ value: x
430
+ }), Object.freeze && (Object.freeze(h.props), Object.freeze(h)), h;
431
+ };
432
+ function De(t, s, d, f, x) {
433
+ {
434
+ var v, b = {}, h = null, W = null;
435
+ d !== void 0 && (ne(d), h = "" + d), ie(s) && (ne(s.key), h = "" + s.key), oe(s) && (W = s.ref, Pe(s, x));
436
+ for (v in s)
437
+ _r.call(s, v) && !Rr.hasOwnProperty(v) && (b[v] = s[v]);
438
+ if (t && t.defaultProps) {
439
+ var D = t.defaultProps;
440
+ for (v in D)
441
+ b[v] === void 0 && (b[v] = D[v]);
442
+ }
443
+ if (h || W) {
444
+ var M = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
445
+ h && $e(b, M), W && ir(b, M);
446
+ }
447
+ return Cr(t, h, W, x, f, vr.current, b);
448
+ }
449
+ }
450
+ var Fr = q.ReactCurrentOwner, se = q.ReactDebugCurrentFrame;
451
+ function sr(t) {
452
+ if (t) {
453
+ var s = t._owner, d = kr(t.type, t._source, s ? s.type : null);
454
+ se.setExtraStackFrame(d);
455
+ } else
456
+ se.setExtraStackFrame(null);
457
+ }
458
+ var lr;
459
+ lr = !1;
460
+ function Dr(t) {
461
+ return typeof t == "object" && t !== null && t.$$typeof === o;
462
+ }
463
+ function rr() {
464
+ {
465
+ if (Fr.current) {
466
+ var t = K(Fr.current.type);
467
+ if (t)
468
+ return `
469
+
470
+ Check the render method of \`` + t + "`.";
471
+ }
472
+ return "";
473
+ }
474
+ }
475
+ function ze(t) {
476
+ {
477
+ if (t !== void 0) {
478
+ var s = t.fileName.replace(/^.*[\\\/]/, ""), d = t.lineNumber;
479
+ return `
480
+
481
+ Check your code at ` + s + ":" + d + ".";
482
+ }
483
+ return "";
484
+ }
485
+ }
486
+ var le = {};
487
+ function Me(t) {
488
+ {
489
+ var s = rr();
490
+ if (!s) {
491
+ var d = typeof t == "string" ? t : t.displayName || t.name;
492
+ d && (s = `
493
+
494
+ Check the top-level render call using <` + d + ">.");
495
+ }
496
+ return s;
497
+ }
498
+ }
499
+ function de(t, s) {
500
+ {
501
+ if (!t._store || t._store.validated || t.key != null)
502
+ return;
503
+ t._store.validated = !0;
504
+ var d = Me(s);
505
+ if (le[d])
506
+ return;
507
+ le[d] = !0;
508
+ var f = "";
509
+ t && t._owner && t._owner !== Fr.current && (f = " It was passed a child from " + K(t._owner.type) + "."), sr(t), A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', d, f), sr(null);
510
+ }
511
+ }
512
+ function ce(t, s) {
513
+ {
514
+ if (typeof t != "object")
515
+ return;
516
+ if (gr(t))
517
+ for (var d = 0; d < t.length; d++) {
518
+ var f = t[d];
519
+ Dr(f) && de(f, s);
520
+ }
521
+ else if (Dr(t))
522
+ t._store && (t._store.validated = !0);
523
+ else if (t) {
524
+ var x = fr(t);
525
+ if (typeof x == "function" && x !== t.entries)
526
+ for (var v = x.call(t), b; !(b = v.next()).done; )
527
+ Dr(b.value) && de(b.value, s);
528
+ }
529
+ }
530
+ }
531
+ function Z(t) {
532
+ {
533
+ var s = t.type;
534
+ if (s == null || typeof s == "string")
535
+ return;
536
+ var d;
537
+ if (typeof s == "function")
538
+ d = s.propTypes;
539
+ else if (typeof s == "object" && (s.$$typeof === g || // Note: Memo only checks outer props here.
540
+ // Inner props are checked in the reconciler.
541
+ s.$$typeof === B))
542
+ d = s.propTypes;
543
+ else
544
+ return;
545
+ if (d) {
546
+ var f = K(s);
547
+ Tr(d, t.props, "prop", f, t);
548
+ } else if (s.PropTypes !== void 0 && !lr) {
549
+ lr = !0;
550
+ var x = K(s);
551
+ A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", x || "Unknown");
552
+ }
553
+ typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved && A("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
554
+ }
555
+ }
556
+ function je(t) {
557
+ {
558
+ for (var s = Object.keys(t.props), d = 0; d < s.length; d++) {
559
+ var f = s[d];
560
+ if (f !== "children" && f !== "key") {
561
+ sr(t), A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", f), sr(null);
562
+ break;
563
+ }
564
+ }
565
+ t.ref !== null && (sr(t), A("Invalid attribute `ref` supplied to `React.Fragment`."), sr(null));
566
+ }
567
+ }
568
+ function ue(t, s, d, f, x, v) {
569
+ {
570
+ var b = Ce(t);
571
+ if (!b) {
572
+ var h = "";
573
+ (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.");
574
+ var W = ze(x);
575
+ W ? h += W : h += rr();
576
+ var D;
577
+ t === null ? D = "null" : gr(t) ? D = "array" : t !== void 0 && t.$$typeof === o ? (D = "<" + (K(t.type) || "Unknown") + " />", h = " Did you accidentally export a JSX literal instead of a component?") : D = typeof t, A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", D, h);
578
+ }
579
+ var M = De(t, s, d, x, v);
580
+ if (M == null)
581
+ return M;
582
+ if (b) {
583
+ var H = s.children;
584
+ if (H !== void 0)
585
+ if (f)
586
+ if (gr(H)) {
587
+ for (var er = 0; er < H.length; er++)
588
+ ce(H[er], t);
589
+ Object.freeze && Object.freeze(H);
590
+ } else
591
+ A("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
592
+ else
593
+ ce(H, t);
594
+ }
595
+ return t === u ? je(M) : Z(M), M;
596
+ }
597
+ }
598
+ function Ae(t, s, d) {
599
+ return ue(t, s, d, !0);
600
+ }
601
+ function We(t, s, d) {
602
+ return ue(t, s, d, !1);
603
+ }
604
+ var Le = We, hr = Ae;
605
+ jr.Fragment = u, jr.jsx = Le, jr.jsxs = hr;
606
+ }()), jr;
607
+ }
608
+ var Ar = {};
609
+ /**
610
+ * @license React
611
+ * react-jsx-runtime.production.min.js
612
+ *
613
+ * Copyright (c) Facebook, Inc. and its affiliates.
614
+ *
615
+ * This source code is licensed under the MIT license found in the
616
+ * LICENSE file in the root directory of this source tree.
617
+ */
618
+ var mt;
619
+ function Ta() {
620
+ if (mt)
621
+ return Ar;
622
+ mt = 1;
623
+ var e = Hr, o = Symbol.for("react.element"), l = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, p = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, S = { key: !0, ref: !0, __self: !0, __source: !0 };
624
+ function E(w, g, z) {
625
+ var T, B = {}, j = null, G = null;
626
+ z !== void 0 && (j = "" + z), g.key !== void 0 && (j = "" + g.key), g.ref !== void 0 && (G = g.ref);
627
+ for (T in g)
628
+ u.call(g, T) && !S.hasOwnProperty(T) && (B[T] = g[T]);
629
+ if (w && w.defaultProps)
630
+ for (T in g = w.defaultProps, g)
631
+ B[T] === void 0 && (B[T] = g[T]);
632
+ return { $$typeof: o, type: w, key: j, ref: G, props: B, _owner: p.current };
633
+ }
634
+ return Ar.Fragment = l, Ar.jsx = E, Ar.jsxs = E, Ar;
635
+ }
636
+ process.env.NODE_ENV === "production" ? Ze.exports = Ta() : Ze.exports = wa();
637
+ var ar = Ze.exports;
638
+ const Ra = {}, Ea = [
639
+ "SSR",
640
+ "Icon",
641
+ "IconProps",
642
+ "IconContext",
643
+ "IconBase",
644
+ "IconWeight"
645
+ ], Ca = Object.entries(xa).reduce(
646
+ (e, [o, l]) => [...Ea].includes(o) ? e : {
647
+ ...e,
648
+ [o]: l
649
+ },
650
+ { ...Ra }
651
+ ), Fa = (e) => /* @__PURE__ */ ar.jsx(
652
+ fa,
653
+ {
654
+ ...e,
655
+ as: Ca[e.icon],
656
+ weight: e.isFilled ? "fill" : "regular"
657
+ }
658
+ ), Ia = Hr.forwardRef((e, o) => /* @__PURE__ */ ar.jsx(
659
+ pa,
660
+ {
661
+ ...e,
662
+ ref: o,
663
+ icon: /* @__PURE__ */ ar.jsx(Fa, { icon: e.icon })
664
+ }
665
+ ));
666
+ Ia.displayName = "IconButton";
667
+ const Rt = ya({ spacing: 0, columns: 1 }), Ba = Hr.forwardRef(
668
+ ({
669
+ children: e,
670
+ alignEdges: o = !0,
671
+ width: l,
672
+ columns: u = 1,
673
+ spacing: p,
674
+ ...S
675
+ }, E) => {
676
+ const w = ga(), g = p ?? w.space[4], z = Array.isArray(g) ? g.map((T) => -1 * T) : -1 * g;
677
+ return /* @__PURE__ */ ar.jsx(Rt.Provider, { value: { spacing: g, columns: u }, children: /* @__PURE__ */ ar.jsx(wt, { m: o ? z : void 0, children: /* @__PURE__ */ ar.jsx(
678
+ ha,
679
+ {
680
+ flexWrap: "wrap",
681
+ pl: g,
682
+ pt: g,
683
+ width: l ?? "100%",
684
+ ...S,
685
+ ref: E,
686
+ children: e
687
+ }
688
+ ) }) });
689
+ }
690
+ );
691
+ Ba.displayName = "Grid";
692
+ const Oa = Hr.forwardRef(
693
+ ({ children: e, width: o, ...l }, u) => {
694
+ const { columns: p, spacing: S } = Sa(Rt), E = Array.isArray(o) ? o.map((g) => g === "auto" ? 1 : 0) : o === "auto" ? 1 : 0, w = () => (Array.isArray(p) ? p : [p]).map((z) => `${100 / z}%`);
695
+ return /* @__PURE__ */ ar.jsx(
696
+ wt,
697
+ {
698
+ width: o ?? w() ?? "100%",
699
+ pr: S,
700
+ pb: S,
701
+ ...l,
702
+ sx: {
703
+ flexGrow: E,
704
+ ...l.sx
705
+ },
706
+ ref: u,
707
+ children: e
708
+ }
709
+ );
710
+ }
711
+ );
712
+ Oa.displayName = "GridItem";
713
+ const $n = ba, Dn = ma, Pa = () => /* @__PURE__ */ ar.jsx(
714
+ ka,
715
+ {
716
+ styles: `
717
+ /* PP Agrandir */
718
+ /* Agrandir is used for page headers, section titles, brand moments and quotations. */
719
+ @font-face {
720
+ font-family: 'PP Agrandir';
721
+ src: url('https://cdn.everlywell.com/fonts/PP Agrandir/PPAgrandir-Variable.woff2') format('woff2');
722
+ font-style: normal;
723
+ font-display: swap;
724
+ }
725
+
726
+ /* DM Sans */
727
+ /* Used for: Body copy, button copy and smaller sizes. */
728
+ @font-face {
729
+ font-family: 'DM Sans';
730
+ src: url('https://cdn.everlywell.com/fonts/DM Sans/DMSans-Italic-VariableFont_opsz,wght.woff2') format('woff2');
731
+ font-style: italic;
732
+ font-stretch: normal;
733
+ font-display: swap;
734
+ }
735
+ @font-face {
736
+ font-family: 'DM Sans';
737
+ src: url('https://cdn.everlywell.com/fonts/DM Sans/DMSans-VariableFont_opsz,wght.woff2') format('woff2');
738
+ font-style: normal;
739
+ font-stretch: normal;
740
+ font-display: swap;
741
+ }
742
+
743
+ /* DM Mono */
744
+ /* Used for: Body copy, button copy and smaller sizes. */
745
+ @font-face {
746
+ font-family: 'DM Mono';
747
+ src: url('https://cdn.everlywell.com/fonts/DM Mono/DMMono-Light.woff2') format('woff2');
748
+ font-style: normal;
749
+ font-weight: 300;
750
+ font-stretch: normal;
751
+ font-display: swap;
752
+ }
753
+ @font-face {
754
+ font-family: 'DM Mono';
755
+ src: url('https://cdn.everlywell.com/fonts/DM Mono/DMMono-LightItalic.woff2') format('woff2');
756
+ font-style: italic;
757
+ font-weight: 300;
758
+ font-stretch: normal;
759
+ font-display: swap;
760
+ }
761
+ @font-face {
762
+ font-family: 'DM Mono';
763
+ src: url('https://cdn.everlywell.com/fonts/DM Mono/DMMono-Regular.woff2') format('woff2');
764
+ font-style: normal;
765
+ font-weight: 400;
766
+ font-stretch: normal;
767
+ font-display: swap;
768
+ }
769
+ @font-face {
770
+ font-family: 'DM Mono';
771
+ src: url('https://cdn.everlywell.com/fonts/DM Mono/DMMono-Italic.woff2') format('woff2');
772
+ font-style: italic;
773
+ font-weight: 400;
774
+ font-stretch: normal;
775
+ font-display: swap;
776
+ }
777
+ @font-face {
778
+ font-family: 'DM Mono';
779
+ src: url('https://cdn.everlywell.com/fonts/DM Mono/DMMono-Medium.woff2') format('woff2');
780
+ font-style: normal;
781
+ font-weight: 500;
782
+ font-stretch: normal;
783
+ font-display: swap;
784
+ }
785
+ @font-face {
786
+ font-family: 'DM Mono';
787
+ src: url('https://cdn.everlywell.com/fonts/DM Mono/DMMono-MediumItalic.woff2') format('woff2');
788
+ font-style: italic;
789
+ font-weight: 500;
790
+ font-stretch: normal;
791
+ font-display: swap;
792
+ }
793
+ `
794
+ }
795
+ ), zn = ({
796
+ children: e,
797
+ ...o
798
+ }) => /* @__PURE__ */ ar.jsxs(va, { ...o, children: [
799
+ /* @__PURE__ */ ar.jsx(Pa, {}),
800
+ e
801
+ ] }), vt = ["viridian", "terracotta"], $a = Gr({
802
+ // The styles all button have in common
803
+ baseStyle: {
804
+ fontWeight: "medium",
805
+ lineHeight: "body",
806
+ letterSpacing: "normal",
807
+ borderRadius: "50px",
808
+ // <-- border radius is same for all variants and sizes
809
+ // This will keep the same height when the button has an icon while disabled
810
+ _disabled: {
811
+ span: {
812
+ display: "inline-flex"
813
+ }
814
+ }
815
+ },
816
+ // Two sizes: sm and md
817
+ sizes: {
818
+ sm: {
819
+ fontSize: ["md", "lg"],
820
+ px: [3, 4],
821
+ // <-- px is short for paddingLeft and paddingRight
822
+ py: [1, 2],
823
+ // <-- py is short for paddingTop and paddingBottom
824
+ // keep padding uniform for icon buttons that share this config
825
+ "&:has(> svg:only-child)": {
826
+ px: 3,
827
+ py: 3,
828
+ svg: {
829
+ fontSize: "1rem"
830
+ }
831
+ },
832
+ svg: {
833
+ fontSize: "1.5rem"
834
+ }
835
+ },
836
+ md: {
837
+ fontSize: ["lg", "xl"],
838
+ px: [4, 6],
839
+ // <-- px is short for paddingLeft and paddingRight
840
+ py: [3, 4],
841
+ // <-- py is short for paddingTop and paddingBottom
842
+ // keep padding uniform for icon buttons that share this config
843
+ "&:has(> svg:only-child)": {
844
+ px: [3, 4],
845
+ py: [3, 4]
846
+ },
847
+ svg: {
848
+ fontSize: ["1.25rem", "1.5rem"]
849
+ }
850
+ },
851
+ wide: {
852
+ fontSize: "xl",
853
+ px: 12,
854
+ // <-- these values are tokens from the design system
855
+ py: 4,
856
+ // <-- these values are tokens from the design system
857
+ width: "100%",
858
+ // keep padding uniform for icon buttons that share this config
859
+ "&:has(> svg:only-child)": {
860
+ px: 4,
861
+ py: 4
862
+ },
863
+ svg: {
864
+ fontSize: "1.5rem"
865
+ }
866
+ }
867
+ },
868
+ // Two variants: primary and secondary
869
+ variants: {
870
+ primary: (e) => {
871
+ const { colorScheme: o } = e;
872
+ return vt.includes(o) ? {
873
+ bg: `${o}.base`,
874
+ color: "tints.white",
875
+ ":hover, &.hover": {
876
+ bg: `${o}.dark`
877
+ },
878
+ ":active, &.active": {
879
+ bg: `${o}.dark`
880
+ },
881
+ ":disabled": {
882
+ bg: "tints.lightGrey",
883
+ color: "tints.medGrey"
884
+ }
885
+ } : {
886
+ bg: "tints.white",
887
+ color: "tints.black",
888
+ ":hover, &.hover": {
889
+ bg: "viridian.wash"
890
+ },
891
+ ":active, &.active": {
892
+ bg: "viridian.wash"
893
+ },
894
+ ":disabled": {
895
+ bg: "tints.lightGrey",
896
+ color: "tints.medGrey"
897
+ }
898
+ };
899
+ },
900
+ secondary: (e) => {
901
+ const { colorScheme: o } = e;
902
+ return vt.includes(o) ? {
903
+ color: `${o}.base`,
904
+ boxShadow: (l) => `inset 0 0 0 2px ${l.colors[o].base}`,
905
+ ":hover, &.hover": {
906
+ color: `${o}.dark`,
907
+ boxShadow: (l) => `inset 0 0 0 2px ${l.colors[o].dark}`
908
+ },
909
+ ":active, &.active": {
910
+ color: `${o}.dark`,
911
+ boxShadow: (l) => `inset 0 0 0 2px ${l.colors[o].dark}`
912
+ },
913
+ ":disabled": {
914
+ color: "tints.lightGrey",
915
+ boxShadow: (l) => `inset 0 0 0 2px ${l.colors.tints.lightGrey}`,
916
+ opacity: 0.7
917
+ }
918
+ } : {
919
+ color: "whit",
920
+ boxShadow: (l) => `inset 0 0 0 2px ${l.colors.tints.white}`,
921
+ ":hover, &.hover": {
922
+ color: "tints.white",
923
+ boxShadow: (l) => `inset 0 0 0 2px ${l.colors.viridian.wash}`
924
+ },
925
+ ":active, &.active": {
926
+ color: "tints.white",
927
+ boxShadow: (l) => `inset 0 0 0 2px ${l.colors.viridian.wash}`
928
+ },
929
+ ":disabled": {
930
+ color: "tints.lightGrey",
931
+ boxShadow: (l) => `inset 0 0 0 2px ${l.colors.tints.lightGrey}`,
932
+ opacity: 0.7
933
+ }
934
+ };
935
+ }
936
+ // tertiary = text/link button
937
+ },
938
+ // The default size and variant values
939
+ defaultProps: {
940
+ size: "md",
941
+ variant: "primary",
942
+ colorScheme: "viridian"
943
+ }
944
+ });
945
+ function Et(e) {
946
+ const o = typeof e;
947
+ return e != null && (o === "object" || o === "function") && !Array.isArray(e);
948
+ }
949
+ var ye = { exports: {} };
950
+ ye.exports;
951
+ (function(e, o) {
952
+ var l = 200, u = "__lodash_hash_undefined__", p = 800, S = 16, E = 9007199254740991, w = "[object Arguments]", g = "[object Array]", z = "[object AsyncFunction]", T = "[object Boolean]", B = "[object Date]", j = "[object Error]", G = "[object Function]", cr = "[object GeneratorFunction]", ur = "[object Map]", fr = "[object Number]", q = "[object Null]", A = "[object Object]", ke = "[object Proxy]", _e = "[object RegExp]", we = "[object Set]", Te = "[object String]", Re = "[object Undefined]", Ee = "[object WeakMap]", Yr = "[object ArrayBuffer]", Ce = "[object DataView]", Fe = "[object Float32Array]", Nr = "[object Float64Array]", K = "[object Int8Array]", nr = "[object Int16Array]", mr = "[object Int32Array]", Ur = "[object Uint8Array]", Vr = "[object Uint8ClampedArray]", Xr = "[object Uint16Array]", qr = "[object Uint32Array]", Kr = /[\\^$.*+?()[\]{}|]/g, Jr = /^\[object .+?Constructor\]$/, Zr = /^(?:0|[1-9]\d*)$/, F = {};
953
+ F[Fe] = F[Nr] = F[K] = F[nr] = F[mr] = F[Ur] = F[Vr] = F[Xr] = F[qr] = !0, F[w] = F[g] = F[Yr] = F[T] = F[Ce] = F[B] = F[j] = F[G] = F[ur] = F[fr] = F[A] = F[_e] = F[we] = F[Te] = F[Ee] = !1;
954
+ var Qr = typeof be == "object" && be && be.Object === Object && be, Ie = typeof self == "object" && self && self.Object === Object && self, or = Qr || Ie || Function("return this")(), Sr = o && !o.nodeType && o, Q = Sr && !0 && e && !e.nodeType && e, xr = Q && Q.exports === Sr, pr = xr && Qr.process, re = function() {
955
+ try {
956
+ var r = Q && Q.require && Q.require("util").types;
957
+ return r || pr && pr.binding && pr.binding("util");
958
+ } catch {
959
+ }
960
+ }(), Ir = re && re.isTypedArray;
961
+ function Be(r, a, i) {
962
+ switch (i.length) {
963
+ case 0:
964
+ return r.call(a);
965
+ case 1:
966
+ return r.call(a, i[0]);
967
+ case 2:
968
+ return r.call(a, i[0], i[1]);
969
+ case 3:
970
+ return r.call(a, i[0], i[1], i[2]);
971
+ }
972
+ return r.apply(a, i);
973
+ }
974
+ function Oe(r, a) {
975
+ for (var i = -1, c = Array(r); ++i < r; )
976
+ c[i] = a(i);
977
+ return c;
978
+ }
979
+ function kr(r) {
980
+ return function(a) {
981
+ return r(a);
982
+ };
983
+ }
984
+ function _r(r, a) {
985
+ return r == null ? void 0 : r[a];
986
+ }
987
+ function ee(r, a) {
988
+ return function(i) {
989
+ return r(a(i));
990
+ };
991
+ }
992
+ var te = Array.prototype, wr = Function.prototype, Tr = Object.prototype, Br = or["__core-js_shared__"], gr = wr.toString, J = Tr.hasOwnProperty, ae = function() {
993
+ var r = /[^.]+$/.exec(Br && Br.keys && Br.keys.IE_PROTO || "");
994
+ return r ? "Symbol(src)_1." + r : "";
995
+ }(), Or = Tr.toString, ne = gr.call(Object), vr = RegExp(
996
+ "^" + gr.call(J).replace(Kr, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
997
+ ), Rr = xr ? or.Buffer : void 0, Pr = or.Symbol, $r = or.Uint8Array, Er = Rr ? Rr.allocUnsafe : void 0, oe = ee(Object.getPrototypeOf, Object), ie = Object.create, Pe = Tr.propertyIsEnumerable, $e = te.splice, ir = Pr ? Pr.toStringTag : void 0, Cr = function() {
998
+ try {
999
+ var r = He(Object, "defineProperty");
1000
+ return r({}, "", {}), r;
1001
+ } catch {
1002
+ }
1003
+ }(), De = Rr ? Rr.isBuffer : void 0, Fr = Math.max, se = Date.now, sr = He(or, "Map"), lr = He(Object, "create"), Dr = /* @__PURE__ */ function() {
1004
+ function r() {
1005
+ }
1006
+ return function(a) {
1007
+ if (!yr(a))
1008
+ return {};
1009
+ if (ie)
1010
+ return ie(a);
1011
+ r.prototype = a;
1012
+ var i = new r();
1013
+ return r.prototype = void 0, i;
1014
+ };
1015
+ }();
1016
+ function rr(r) {
1017
+ var a = -1, i = r == null ? 0 : r.length;
1018
+ for (this.clear(); ++a < i; ) {
1019
+ var c = r[a];
1020
+ this.set(c[0], c[1]);
1021
+ }
1022
+ }
1023
+ function ze() {
1024
+ this.__data__ = lr ? lr(null) : {}, this.size = 0;
1025
+ }
1026
+ function le(r) {
1027
+ var a = this.has(r) && delete this.__data__[r];
1028
+ return this.size -= a ? 1 : 0, a;
1029
+ }
1030
+ function Me(r) {
1031
+ var a = this.__data__;
1032
+ if (lr) {
1033
+ var i = a[r];
1034
+ return i === u ? void 0 : i;
1035
+ }
1036
+ return J.call(a, r) ? a[r] : void 0;
1037
+ }
1038
+ function de(r) {
1039
+ var a = this.__data__;
1040
+ return lr ? a[r] !== void 0 : J.call(a, r);
1041
+ }
1042
+ function ce(r, a) {
1043
+ var i = this.__data__;
1044
+ return this.size += this.has(r) ? 0 : 1, i[r] = lr && a === void 0 ? u : a, this;
1045
+ }
1046
+ rr.prototype.clear = ze, rr.prototype.delete = le, rr.prototype.get = Me, rr.prototype.has = de, rr.prototype.set = ce;
1047
+ function Z(r) {
1048
+ var a = -1, i = r == null ? 0 : r.length;
1049
+ for (this.clear(); ++a < i; ) {
1050
+ var c = r[a];
1051
+ this.set(c[0], c[1]);
1052
+ }
1053
+ }
1054
+ function je() {
1055
+ this.__data__ = [], this.size = 0;
1056
+ }
1057
+ function ue(r) {
1058
+ var a = this.__data__, i = Y(a, r);
1059
+ if (i < 0)
1060
+ return !1;
1061
+ var c = a.length - 1;
1062
+ return i == c ? a.pop() : $e.call(a, i, 1), --this.size, !0;
1063
+ }
1064
+ function Ae(r) {
1065
+ var a = this.__data__, i = Y(a, r);
1066
+ return i < 0 ? void 0 : a[i][1];
1067
+ }
1068
+ function We(r) {
1069
+ return Y(this.__data__, r) > -1;
1070
+ }
1071
+ function Le(r, a) {
1072
+ var i = this.__data__, c = Y(i, r);
1073
+ return c < 0 ? (++this.size, i.push([r, a])) : i[c][1] = a, this;
1074
+ }
1075
+ Z.prototype.clear = je, Z.prototype.delete = ue, Z.prototype.get = Ae, Z.prototype.has = We, Z.prototype.set = Le;
1076
+ function hr(r) {
1077
+ var a = -1, i = r == null ? 0 : r.length;
1078
+ for (this.clear(); ++a < i; ) {
1079
+ var c = r[a];
1080
+ this.set(c[0], c[1]);
1081
+ }
1082
+ }
1083
+ function t() {
1084
+ this.size = 0, this.__data__ = {
1085
+ hash: new rr(),
1086
+ map: new (sr || Z)(),
1087
+ string: new rr()
1088
+ };
1089
+ }
1090
+ function s(r) {
1091
+ var a = ge(this, r).delete(r);
1092
+ return this.size -= a ? 1 : 0, a;
1093
+ }
1094
+ function d(r) {
1095
+ return ge(this, r).get(r);
1096
+ }
1097
+ function f(r) {
1098
+ return ge(this, r).has(r);
1099
+ }
1100
+ function x(r, a) {
1101
+ var i = ge(this, r), c = i.size;
1102
+ return i.set(r, a), this.size += i.size == c ? 0 : 1, this;
1103
+ }
1104
+ hr.prototype.clear = t, hr.prototype.delete = s, hr.prototype.get = d, hr.prototype.has = f, hr.prototype.set = x;
1105
+ function v(r) {
1106
+ var a = this.__data__ = new Z(r);
1107
+ this.size = a.size;
1108
+ }
1109
+ function b() {
1110
+ this.__data__ = new Z(), this.size = 0;
1111
+ }
1112
+ function h(r) {
1113
+ var a = this.__data__, i = a.delete(r);
1114
+ return this.size = a.size, i;
1115
+ }
1116
+ function W(r) {
1117
+ return this.__data__.get(r);
1118
+ }
1119
+ function D(r) {
1120
+ return this.__data__.has(r);
1121
+ }
1122
+ function M(r, a) {
1123
+ var i = this.__data__;
1124
+ if (i instanceof Z) {
1125
+ var c = i.__data__;
1126
+ if (!sr || c.length < l - 1)
1127
+ return c.push([r, a]), this.size = ++i.size, this;
1128
+ i = this.__data__ = new hr(c);
1129
+ }
1130
+ return i.set(r, a), this.size = i.size, this;
1131
+ }
1132
+ v.prototype.clear = b, v.prototype.delete = h, v.prototype.get = W, v.prototype.has = D, v.prototype.set = M;
1133
+ function H(r, a) {
1134
+ var i = Ue(r), c = !i && Ne(r), y = !i && !c && ct(r), I = !i && !c && !y && ft(r), P = i || c || y || I, m = P ? Oe(r.length, String) : [], $ = m.length;
1135
+ for (var U in r)
1136
+ (a || J.call(r, U)) && !(P && // Safari 9 has enumerable `arguments.length` in strict mode.
1137
+ (U == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
1138
+ y && (U == "offset" || U == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
1139
+ I && (U == "buffer" || U == "byteLength" || U == "byteOffset") || // Skip index properties.
1140
+ lt(U, $))) && m.push(U);
1141
+ return m;
1142
+ }
1143
+ function er(r, a, i) {
1144
+ (i !== void 0 && !he(r[a], i) || i === void 0 && !(a in r)) && Ge(r, a, i);
1145
+ }
1146
+ function fe(r, a, i) {
1147
+ var c = r[a];
1148
+ (!(J.call(r, a) && he(c, i)) || i === void 0 && !(a in r)) && Ge(r, a, i);
1149
+ }
1150
+ function Y(r, a) {
1151
+ for (var i = r.length; i--; )
1152
+ if (he(r[i][0], a))
1153
+ return i;
1154
+ return -1;
1155
+ }
1156
+ function Ge(r, a, i) {
1157
+ a == "__proto__" && Cr ? Cr(r, a, {
1158
+ configurable: !0,
1159
+ enumerable: !0,
1160
+ value: i,
1161
+ writable: !0
1162
+ }) : r[a] = i;
1163
+ }
1164
+ var Dt = Xt();
1165
+ function pe(r) {
1166
+ return r == null ? r === void 0 ? Re : q : ir && ir in Object(r) ? qt(r) : ea(r);
1167
+ }
1168
+ function it(r) {
1169
+ return zr(r) && pe(r) == w;
1170
+ }
1171
+ function zt(r) {
1172
+ if (!yr(r) || Qt(r))
1173
+ return !1;
1174
+ var a = Xe(r) ? vr : Jr;
1175
+ return a.test(oa(r));
1176
+ }
1177
+ function Mt(r) {
1178
+ return zr(r) && ut(r.length) && !!F[pe(r)];
1179
+ }
1180
+ function jt(r) {
1181
+ if (!yr(r))
1182
+ return ra(r);
1183
+ var a = dt(r), i = [];
1184
+ for (var c in r)
1185
+ c == "constructor" && (a || !J.call(r, c)) || i.push(c);
1186
+ return i;
1187
+ }
1188
+ function st(r, a, i, c, y) {
1189
+ r !== a && Dt(a, function(I, P) {
1190
+ if (y || (y = new v()), yr(I))
1191
+ At(r, a, P, i, st, c, y);
1192
+ else {
1193
+ var m = c ? c(Ye(r, P), I, P + "", r, a, y) : void 0;
1194
+ m === void 0 && (m = I), er(r, P, m);
1195
+ }
1196
+ }, pt);
1197
+ }
1198
+ function At(r, a, i, c, y, I, P) {
1199
+ var m = Ye(r, i), $ = Ye(a, i), U = P.get($);
1200
+ if (U) {
1201
+ er(r, i, U);
1202
+ return;
1203
+ }
1204
+ var N = I ? I(m, $, i + "", r, a, P) : void 0, Mr = N === void 0;
1205
+ if (Mr) {
1206
+ var qe = Ue($), Ke = !qe && ct($), ht = !qe && !Ke && ft($);
1207
+ N = $, qe || Ke || ht ? Ue(m) ? N = m : ia(m) ? N = Nt(m) : Ke ? (Mr = !1, N = Gt($, !0)) : ht ? (Mr = !1, N = Yt($, !0)) : N = [] : sa($) || Ne($) ? (N = m, Ne(m) ? N = la(m) : (!yr(m) || Xe(m)) && (N = Kt($))) : Mr = !1;
1208
+ }
1209
+ Mr && (P.set($, N), y(N, $, c, I, P), P.delete($)), er(r, i, N);
1210
+ }
1211
+ function Wt(r, a) {
1212
+ return aa(ta(r, a, gt), r + "");
1213
+ }
1214
+ var Lt = Cr ? function(r, a) {
1215
+ return Cr(r, "toString", {
1216
+ configurable: !0,
1217
+ enumerable: !1,
1218
+ value: ca(a),
1219
+ writable: !0
1220
+ });
1221
+ } : gt;
1222
+ function Gt(r, a) {
1223
+ if (a)
1224
+ return r.slice();
1225
+ var i = r.length, c = Er ? Er(i) : new r.constructor(i);
1226
+ return r.copy(c), c;
1227
+ }
1228
+ function Ht(r) {
1229
+ var a = new r.constructor(r.byteLength);
1230
+ return new $r(a).set(new $r(r)), a;
1231
+ }
1232
+ function Yt(r, a) {
1233
+ var i = a ? Ht(r.buffer) : r.buffer;
1234
+ return new r.constructor(i, r.byteOffset, r.length);
1235
+ }
1236
+ function Nt(r, a) {
1237
+ var i = -1, c = r.length;
1238
+ for (a || (a = Array(c)); ++i < c; )
1239
+ a[i] = r[i];
1240
+ return a;
1241
+ }
1242
+ function Ut(r, a, i, c) {
1243
+ var y = !i;
1244
+ i || (i = {});
1245
+ for (var I = -1, P = a.length; ++I < P; ) {
1246
+ var m = a[I], $ = c ? c(i[m], r[m], m, i, r) : void 0;
1247
+ $ === void 0 && ($ = r[m]), y ? Ge(i, m, $) : fe(i, m, $);
1248
+ }
1249
+ return i;
1250
+ }
1251
+ function Vt(r) {
1252
+ return Wt(function(a, i) {
1253
+ var c = -1, y = i.length, I = y > 1 ? i[y - 1] : void 0, P = y > 2 ? i[2] : void 0;
1254
+ for (I = r.length > 3 && typeof I == "function" ? (y--, I) : void 0, P && Jt(i[0], i[1], P) && (I = y < 3 ? void 0 : I, y = 1), a = Object(a); ++c < y; ) {
1255
+ var m = i[c];
1256
+ m && r(a, m, c, I);
1257
+ }
1258
+ return a;
1259
+ });
1260
+ }
1261
+ function Xt(r) {
1262
+ return function(a, i, c) {
1263
+ for (var y = -1, I = Object(a), P = c(a), m = P.length; m--; ) {
1264
+ var $ = P[r ? m : ++y];
1265
+ if (i(I[$], $, I) === !1)
1266
+ break;
1267
+ }
1268
+ return a;
1269
+ };
1270
+ }
1271
+ function ge(r, a) {
1272
+ var i = r.__data__;
1273
+ return Zt(a) ? i[typeof a == "string" ? "string" : "hash"] : i.map;
1274
+ }
1275
+ function He(r, a) {
1276
+ var i = _r(r, a);
1277
+ return zt(i) ? i : void 0;
1278
+ }
1279
+ function qt(r) {
1280
+ var a = J.call(r, ir), i = r[ir];
1281
+ try {
1282
+ r[ir] = void 0;
1283
+ var c = !0;
1284
+ } catch {
1285
+ }
1286
+ var y = Or.call(r);
1287
+ return c && (a ? r[ir] = i : delete r[ir]), y;
1288
+ }
1289
+ function Kt(r) {
1290
+ return typeof r.constructor == "function" && !dt(r) ? Dr(oe(r)) : {};
1291
+ }
1292
+ function lt(r, a) {
1293
+ var i = typeof r;
1294
+ return a = a ?? E, !!a && (i == "number" || i != "symbol" && Zr.test(r)) && r > -1 && r % 1 == 0 && r < a;
1295
+ }
1296
+ function Jt(r, a, i) {
1297
+ if (!yr(i))
1298
+ return !1;
1299
+ var c = typeof a;
1300
+ return (c == "number" ? Ve(i) && lt(a, i.length) : c == "string" && a in i) ? he(i[a], r) : !1;
1301
+ }
1302
+ function Zt(r) {
1303
+ var a = typeof r;
1304
+ return a == "string" || a == "number" || a == "symbol" || a == "boolean" ? r !== "__proto__" : r === null;
1305
+ }
1306
+ function Qt(r) {
1307
+ return !!ae && ae in r;
1308
+ }
1309
+ function dt(r) {
1310
+ var a = r && r.constructor, i = typeof a == "function" && a.prototype || Tr;
1311
+ return r === i;
1312
+ }
1313
+ function ra(r) {
1314
+ var a = [];
1315
+ if (r != null)
1316
+ for (var i in Object(r))
1317
+ a.push(i);
1318
+ return a;
1319
+ }
1320
+ function ea(r) {
1321
+ return Or.call(r);
1322
+ }
1323
+ function ta(r, a, i) {
1324
+ return a = Fr(a === void 0 ? r.length - 1 : a, 0), function() {
1325
+ for (var c = arguments, y = -1, I = Fr(c.length - a, 0), P = Array(I); ++y < I; )
1326
+ P[y] = c[a + y];
1327
+ y = -1;
1328
+ for (var m = Array(a + 1); ++y < a; )
1329
+ m[y] = c[y];
1330
+ return m[a] = i(P), Be(r, this, m);
1331
+ };
1332
+ }
1333
+ function Ye(r, a) {
1334
+ if (!(a === "constructor" && typeof r[a] == "function") && a != "__proto__")
1335
+ return r[a];
1336
+ }
1337
+ var aa = na(Lt);
1338
+ function na(r) {
1339
+ var a = 0, i = 0;
1340
+ return function() {
1341
+ var c = se(), y = S - (c - i);
1342
+ if (i = c, y > 0) {
1343
+ if (++a >= p)
1344
+ return arguments[0];
1345
+ } else
1346
+ a = 0;
1347
+ return r.apply(void 0, arguments);
1348
+ };
1349
+ }
1350
+ function oa(r) {
1351
+ if (r != null) {
1352
+ try {
1353
+ return gr.call(r);
1354
+ } catch {
1355
+ }
1356
+ try {
1357
+ return r + "";
1358
+ } catch {
1359
+ }
1360
+ }
1361
+ return "";
1362
+ }
1363
+ function he(r, a) {
1364
+ return r === a || r !== r && a !== a;
1365
+ }
1366
+ var Ne = it(/* @__PURE__ */ function() {
1367
+ return arguments;
1368
+ }()) ? it : function(r) {
1369
+ return zr(r) && J.call(r, "callee") && !Pe.call(r, "callee");
1370
+ }, Ue = Array.isArray;
1371
+ function Ve(r) {
1372
+ return r != null && ut(r.length) && !Xe(r);
1373
+ }
1374
+ function ia(r) {
1375
+ return zr(r) && Ve(r);
1376
+ }
1377
+ var ct = De || ua;
1378
+ function Xe(r) {
1379
+ if (!yr(r))
1380
+ return !1;
1381
+ var a = pe(r);
1382
+ return a == G || a == cr || a == z || a == ke;
1383
+ }
1384
+ function ut(r) {
1385
+ return typeof r == "number" && r > -1 && r % 1 == 0 && r <= E;
1386
+ }
1387
+ function yr(r) {
1388
+ var a = typeof r;
1389
+ return r != null && (a == "object" || a == "function");
1390
+ }
1391
+ function zr(r) {
1392
+ return r != null && typeof r == "object";
1393
+ }
1394
+ function sa(r) {
1395
+ if (!zr(r) || pe(r) != A)
1396
+ return !1;
1397
+ var a = oe(r);
1398
+ if (a === null)
1399
+ return !0;
1400
+ var i = J.call(a, "constructor") && a.constructor;
1401
+ return typeof i == "function" && i instanceof i && gr.call(i) == ne;
1402
+ }
1403
+ var ft = Ir ? kr(Ir) : Mt;
1404
+ function la(r) {
1405
+ return Ut(r, pt(r));
1406
+ }
1407
+ function pt(r) {
1408
+ return Ve(r) ? H(r, !0) : jt(r);
1409
+ }
1410
+ var da = Vt(function(r, a, i, c) {
1411
+ st(r, a, i, c);
1412
+ });
1413
+ function ca(r) {
1414
+ return function() {
1415
+ return r;
1416
+ };
1417
+ }
1418
+ function gt(r) {
1419
+ return r;
1420
+ }
1421
+ function ua() {
1422
+ return !1;
1423
+ }
1424
+ e.exports = da;
1425
+ })(ye, ye.exports);
1426
+ var Da = ye.exports;
1427
+ const za = /* @__PURE__ */ _a(Da);
1428
+ var Ma = (e) => /!(important)?$/.test(e), yt = (e) => typeof e == "string" ? e.replace(/!(important)?$/, "").trim() : e, ja = (e, o) => (l) => {
1429
+ const u = String(o), p = Ma(u), S = yt(u), E = e ? `${e}.${S}` : S;
1430
+ let w = Et(l.__cssMap) && E in l.__cssMap ? l.__cssMap[E].varRef : o;
1431
+ return w = yt(w), p ? `${w} !important` : w;
1432
+ };
1433
+ function ot(e) {
1434
+ const { scale: o, transform: l, compose: u } = e;
1435
+ return (S, E) => {
1436
+ var w;
1437
+ const g = ja(o, S)(E);
1438
+ let z = (w = l == null ? void 0 : l(g, E)) != null ? w : g;
1439
+ return u && (z = u(z, E)), z;
1440
+ };
1441
+ }
1442
+ var me = (...e) => (o) => e.reduce((l, u) => u(l), o);
1443
+ function V(e, o) {
1444
+ return (l) => {
1445
+ const u = { property: l, scale: e };
1446
+ return u.transform = ot({
1447
+ scale: e,
1448
+ transform: o
1449
+ }), u;
1450
+ };
1451
+ }
1452
+ var Aa = ({ rtl: e, ltr: o }) => (l) => l.direction === "rtl" ? e : o;
1453
+ function Wa(e) {
1454
+ const { property: o, scale: l, transform: u } = e;
1455
+ return {
1456
+ scale: l,
1457
+ property: Aa(o),
1458
+ transform: l ? ot({
1459
+ scale: l,
1460
+ compose: u
1461
+ }) : u
1462
+ };
1463
+ }
1464
+ var Ct = [
1465
+ "rotate(var(--chakra-rotate, 0))",
1466
+ "scaleX(var(--chakra-scale-x, 1))",
1467
+ "scaleY(var(--chakra-scale-y, 1))",
1468
+ "skewX(var(--chakra-skew-x, 0))",
1469
+ "skewY(var(--chakra-skew-y, 0))"
1470
+ ];
1471
+ function La() {
1472
+ return [
1473
+ "translateX(var(--chakra-translate-x, 0))",
1474
+ "translateY(var(--chakra-translate-y, 0))",
1475
+ ...Ct
1476
+ ].join(" ");
1477
+ }
1478
+ function Ga() {
1479
+ return [
1480
+ "translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",
1481
+ ...Ct
1482
+ ].join(" ");
1483
+ }
1484
+ var Ha = {
1485
+ "--chakra-blur": "var(--chakra-empty,/*!*/ /*!*/)",
1486
+ "--chakra-brightness": "var(--chakra-empty,/*!*/ /*!*/)",
1487
+ "--chakra-contrast": "var(--chakra-empty,/*!*/ /*!*/)",
1488
+ "--chakra-grayscale": "var(--chakra-empty,/*!*/ /*!*/)",
1489
+ "--chakra-hue-rotate": "var(--chakra-empty,/*!*/ /*!*/)",
1490
+ "--chakra-invert": "var(--chakra-empty,/*!*/ /*!*/)",
1491
+ "--chakra-saturate": "var(--chakra-empty,/*!*/ /*!*/)",
1492
+ "--chakra-sepia": "var(--chakra-empty,/*!*/ /*!*/)",
1493
+ "--chakra-drop-shadow": "var(--chakra-empty,/*!*/ /*!*/)",
1494
+ filter: [
1495
+ "var(--chakra-blur)",
1496
+ "var(--chakra-brightness)",
1497
+ "var(--chakra-contrast)",
1498
+ "var(--chakra-grayscale)",
1499
+ "var(--chakra-hue-rotate)",
1500
+ "var(--chakra-invert)",
1501
+ "var(--chakra-saturate)",
1502
+ "var(--chakra-sepia)",
1503
+ "var(--chakra-drop-shadow)"
1504
+ ].join(" ")
1505
+ }, Ya = {
1506
+ backdropFilter: [
1507
+ "var(--chakra-backdrop-blur)",
1508
+ "var(--chakra-backdrop-brightness)",
1509
+ "var(--chakra-backdrop-contrast)",
1510
+ "var(--chakra-backdrop-grayscale)",
1511
+ "var(--chakra-backdrop-hue-rotate)",
1512
+ "var(--chakra-backdrop-invert)",
1513
+ "var(--chakra-backdrop-opacity)",
1514
+ "var(--chakra-backdrop-saturate)",
1515
+ "var(--chakra-backdrop-sepia)"
1516
+ ].join(" "),
1517
+ "--chakra-backdrop-blur": "var(--chakra-empty,/*!*/ /*!*/)",
1518
+ "--chakra-backdrop-brightness": "var(--chakra-empty,/*!*/ /*!*/)",
1519
+ "--chakra-backdrop-contrast": "var(--chakra-empty,/*!*/ /*!*/)",
1520
+ "--chakra-backdrop-grayscale": "var(--chakra-empty,/*!*/ /*!*/)",
1521
+ "--chakra-backdrop-hue-rotate": "var(--chakra-empty,/*!*/ /*!*/)",
1522
+ "--chakra-backdrop-invert": "var(--chakra-empty,/*!*/ /*!*/)",
1523
+ "--chakra-backdrop-opacity": "var(--chakra-empty,/*!*/ /*!*/)",
1524
+ "--chakra-backdrop-saturate": "var(--chakra-empty,/*!*/ /*!*/)",
1525
+ "--chakra-backdrop-sepia": "var(--chakra-empty,/*!*/ /*!*/)"
1526
+ };
1527
+ function Na(e) {
1528
+ return {
1529
+ "--chakra-ring-offset-shadow": "var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)",
1530
+ "--chakra-ring-shadow": "var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)",
1531
+ "--chakra-ring-width": e,
1532
+ boxShadow: [
1533
+ "var(--chakra-ring-offset-shadow)",
1534
+ "var(--chakra-ring-shadow)",
1535
+ "var(--chakra-shadow, 0 0 #0000)"
1536
+ ].join(", ")
1537
+ };
1538
+ }
1539
+ var Ua = {
1540
+ "row-reverse": {
1541
+ space: "--chakra-space-x-reverse",
1542
+ divide: "--chakra-divide-x-reverse"
1543
+ },
1544
+ "column-reverse": {
1545
+ space: "--chakra-space-y-reverse",
1546
+ divide: "--chakra-divide-y-reverse"
1547
+ }
1548
+ }, Qe = {
1549
+ "to-t": "to top",
1550
+ "to-tr": "to top right",
1551
+ "to-r": "to right",
1552
+ "to-br": "to bottom right",
1553
+ "to-b": "to bottom",
1554
+ "to-bl": "to bottom left",
1555
+ "to-l": "to left",
1556
+ "to-tl": "to top left"
1557
+ }, Va = new Set(Object.values(Qe)), rt = /* @__PURE__ */ new Set([
1558
+ "none",
1559
+ "-moz-initial",
1560
+ "inherit",
1561
+ "initial",
1562
+ "revert",
1563
+ "unset"
1564
+ ]), Xa = (e) => e.trim();
1565
+ function qa(e, o) {
1566
+ if (e == null || rt.has(e))
1567
+ return e;
1568
+ if (!(et(e) || rt.has(e)))
1569
+ return `url('${e}')`;
1570
+ const p = /(^[a-z-A-Z]+)\((.*)\)/g.exec(e), S = p == null ? void 0 : p[1], E = p == null ? void 0 : p[2];
1571
+ if (!S || !E)
1572
+ return e;
1573
+ const w = S.includes("-gradient") ? S : `${S}-gradient`, [g, ...z] = E.split(",").map(Xa).filter(Boolean);
1574
+ if ((z == null ? void 0 : z.length) === 0)
1575
+ return e;
1576
+ const T = g in Qe ? Qe[g] : g;
1577
+ z.unshift(T);
1578
+ const B = z.map((j) => {
1579
+ if (Va.has(j))
1580
+ return j;
1581
+ const G = j.indexOf(" "), [cr, ur] = G !== -1 ? [j.substr(0, G), j.substr(G + 1)] : [j], fr = et(ur) ? ur : ur && ur.split(" "), q = `colors.${cr}`, A = q in o.__cssMap ? o.__cssMap[q].varRef : cr;
1582
+ return fr ? [
1583
+ A,
1584
+ ...Array.isArray(fr) ? fr : [fr]
1585
+ ].join(" ") : A;
1586
+ });
1587
+ return `${w}(${B.join(", ")})`;
1588
+ }
1589
+ var et = (e) => typeof e == "string" && e.includes("(") && e.includes(")"), Ka = (e, o) => qa(e, o ?? {});
1590
+ function Ja(e) {
1591
+ return /^var\(--.+\)$/.test(e);
1592
+ }
1593
+ var Za = (e) => {
1594
+ const o = parseFloat(e.toString()), l = e.toString().replace(String(o), "");
1595
+ return { unitless: !l, value: o, unit: l };
1596
+ }, tr = (e) => (o) => `${e}(${o})`, k = {
1597
+ filter(e) {
1598
+ return e !== "auto" ? e : Ha;
1599
+ },
1600
+ backdropFilter(e) {
1601
+ return e !== "auto" ? e : Ya;
1602
+ },
1603
+ ring(e) {
1604
+ return Na(k.px(e));
1605
+ },
1606
+ bgClip(e) {
1607
+ return e === "text" ? { color: "transparent", backgroundClip: "text" } : { backgroundClip: e };
1608
+ },
1609
+ transform(e) {
1610
+ return e === "auto" ? La() : e === "auto-gpu" ? Ga() : e;
1611
+ },
1612
+ vh(e) {
1613
+ return e === "$100vh" ? "var(--chakra-vh)" : e;
1614
+ },
1615
+ px(e) {
1616
+ if (e == null)
1617
+ return e;
1618
+ const { unitless: o } = Za(e);
1619
+ return o || typeof e == "number" ? `${e}px` : e;
1620
+ },
1621
+ fraction(e) {
1622
+ return typeof e != "number" || e > 1 ? e : `${e * 100}%`;
1623
+ },
1624
+ float(e, o) {
1625
+ const l = { left: "right", right: "left" };
1626
+ return o.direction === "rtl" ? l[e] : e;
1627
+ },
1628
+ degree(e) {
1629
+ if (Ja(e) || e == null)
1630
+ return e;
1631
+ const o = typeof e == "string" && !e.endsWith("deg");
1632
+ return typeof e == "number" || o ? `${e}deg` : e;
1633
+ },
1634
+ gradient: Ka,
1635
+ blur: tr("blur"),
1636
+ opacity: tr("opacity"),
1637
+ brightness: tr("brightness"),
1638
+ contrast: tr("contrast"),
1639
+ dropShadow: tr("drop-shadow"),
1640
+ grayscale: tr("grayscale"),
1641
+ hueRotate: tr("hue-rotate"),
1642
+ invert: tr("invert"),
1643
+ saturate: tr("saturate"),
1644
+ sepia: tr("sepia"),
1645
+ bgImage(e) {
1646
+ return e == null || et(e) || rt.has(e) ? e : `url(${e})`;
1647
+ },
1648
+ outline(e) {
1649
+ const o = String(e) === "0" || String(e) === "none";
1650
+ return e !== null && o ? { outline: "2px solid transparent", outlineOffset: "2px" } : { outline: e };
1651
+ },
1652
+ flexDirection(e) {
1653
+ var o;
1654
+ const { space: l, divide: u } = (o = Ua[e]) != null ? o : {}, p = { flexDirection: e };
1655
+ return l && (p[l] = 1), u && (p[u] = 1), p;
1656
+ }
1657
+ }, n = {
1658
+ borderWidths: V("borderWidths"),
1659
+ borderStyles: V("borderStyles"),
1660
+ colors: V("colors"),
1661
+ borders: V("borders"),
1662
+ gradients: V("gradients", k.gradient),
1663
+ radii: V("radii", k.px),
1664
+ space: V("space", me(k.vh, k.px)),
1665
+ spaceT: V("space", me(k.vh, k.px)),
1666
+ degreeT(e) {
1667
+ return { property: e, transform: k.degree };
1668
+ },
1669
+ prop(e, o, l) {
1670
+ return {
1671
+ property: e,
1672
+ scale: o,
1673
+ ...o && {
1674
+ transform: ot({ scale: o, transform: l })
1675
+ }
1676
+ };
1677
+ },
1678
+ propT(e, o) {
1679
+ return { property: e, transform: o };
1680
+ },
1681
+ sizes: V("sizes", me(k.vh, k.px)),
1682
+ sizesT: V("sizes", me(k.vh, k.fraction)),
1683
+ shadows: V("shadows"),
1684
+ logical: Wa,
1685
+ blur: V("blur", k.blur)
1686
+ }, ve = {
1687
+ background: n.colors("background"),
1688
+ backgroundColor: n.colors("backgroundColor"),
1689
+ backgroundImage: n.gradients("backgroundImage"),
1690
+ backgroundSize: !0,
1691
+ backgroundPosition: !0,
1692
+ backgroundRepeat: !0,
1693
+ backgroundAttachment: !0,
1694
+ backgroundClip: { transform: k.bgClip },
1695
+ bgSize: n.prop("backgroundSize"),
1696
+ bgPosition: n.prop("backgroundPosition"),
1697
+ bg: n.colors("background"),
1698
+ bgColor: n.colors("backgroundColor"),
1699
+ bgPos: n.prop("backgroundPosition"),
1700
+ bgRepeat: n.prop("backgroundRepeat"),
1701
+ bgAttachment: n.prop("backgroundAttachment"),
1702
+ bgGradient: n.gradients("backgroundImage"),
1703
+ bgClip: { transform: k.bgClip }
1704
+ };
1705
+ Object.assign(ve, {
1706
+ bgImage: ve.backgroundImage,
1707
+ bgImg: ve.backgroundImage
1708
+ });
1709
+ var _ = {
1710
+ border: n.borders("border"),
1711
+ borderWidth: n.borderWidths("borderWidth"),
1712
+ borderStyle: n.borderStyles("borderStyle"),
1713
+ borderColor: n.colors("borderColor"),
1714
+ borderRadius: n.radii("borderRadius"),
1715
+ borderTop: n.borders("borderTop"),
1716
+ borderBlockStart: n.borders("borderBlockStart"),
1717
+ borderTopLeftRadius: n.radii("borderTopLeftRadius"),
1718
+ borderStartStartRadius: n.logical({
1719
+ scale: "radii",
1720
+ property: {
1721
+ ltr: "borderTopLeftRadius",
1722
+ rtl: "borderTopRightRadius"
1723
+ }
1724
+ }),
1725
+ borderEndStartRadius: n.logical({
1726
+ scale: "radii",
1727
+ property: {
1728
+ ltr: "borderBottomLeftRadius",
1729
+ rtl: "borderBottomRightRadius"
1730
+ }
1731
+ }),
1732
+ borderTopRightRadius: n.radii("borderTopRightRadius"),
1733
+ borderStartEndRadius: n.logical({
1734
+ scale: "radii",
1735
+ property: {
1736
+ ltr: "borderTopRightRadius",
1737
+ rtl: "borderTopLeftRadius"
1738
+ }
1739
+ }),
1740
+ borderEndEndRadius: n.logical({
1741
+ scale: "radii",
1742
+ property: {
1743
+ ltr: "borderBottomRightRadius",
1744
+ rtl: "borderBottomLeftRadius"
1745
+ }
1746
+ }),
1747
+ borderRight: n.borders("borderRight"),
1748
+ borderInlineEnd: n.borders("borderInlineEnd"),
1749
+ borderBottom: n.borders("borderBottom"),
1750
+ borderBlockEnd: n.borders("borderBlockEnd"),
1751
+ borderBottomLeftRadius: n.radii("borderBottomLeftRadius"),
1752
+ borderBottomRightRadius: n.radii("borderBottomRightRadius"),
1753
+ borderLeft: n.borders("borderLeft"),
1754
+ borderInlineStart: {
1755
+ property: "borderInlineStart",
1756
+ scale: "borders"
1757
+ },
1758
+ borderInlineStartRadius: n.logical({
1759
+ scale: "radii",
1760
+ property: {
1761
+ ltr: ["borderTopLeftRadius", "borderBottomLeftRadius"],
1762
+ rtl: ["borderTopRightRadius", "borderBottomRightRadius"]
1763
+ }
1764
+ }),
1765
+ borderInlineEndRadius: n.logical({
1766
+ scale: "radii",
1767
+ property: {
1768
+ ltr: ["borderTopRightRadius", "borderBottomRightRadius"],
1769
+ rtl: ["borderTopLeftRadius", "borderBottomLeftRadius"]
1770
+ }
1771
+ }),
1772
+ borderX: n.borders(["borderLeft", "borderRight"]),
1773
+ borderInline: n.borders("borderInline"),
1774
+ borderY: n.borders(["borderTop", "borderBottom"]),
1775
+ borderBlock: n.borders("borderBlock"),
1776
+ borderTopWidth: n.borderWidths("borderTopWidth"),
1777
+ borderBlockStartWidth: n.borderWidths("borderBlockStartWidth"),
1778
+ borderTopColor: n.colors("borderTopColor"),
1779
+ borderBlockStartColor: n.colors("borderBlockStartColor"),
1780
+ borderTopStyle: n.borderStyles("borderTopStyle"),
1781
+ borderBlockStartStyle: n.borderStyles("borderBlockStartStyle"),
1782
+ borderBottomWidth: n.borderWidths("borderBottomWidth"),
1783
+ borderBlockEndWidth: n.borderWidths("borderBlockEndWidth"),
1784
+ borderBottomColor: n.colors("borderBottomColor"),
1785
+ borderBlockEndColor: n.colors("borderBlockEndColor"),
1786
+ borderBottomStyle: n.borderStyles("borderBottomStyle"),
1787
+ borderBlockEndStyle: n.borderStyles("borderBlockEndStyle"),
1788
+ borderLeftWidth: n.borderWidths("borderLeftWidth"),
1789
+ borderInlineStartWidth: n.borderWidths("borderInlineStartWidth"),
1790
+ borderLeftColor: n.colors("borderLeftColor"),
1791
+ borderInlineStartColor: n.colors("borderInlineStartColor"),
1792
+ borderLeftStyle: n.borderStyles("borderLeftStyle"),
1793
+ borderInlineStartStyle: n.borderStyles("borderInlineStartStyle"),
1794
+ borderRightWidth: n.borderWidths("borderRightWidth"),
1795
+ borderInlineEndWidth: n.borderWidths("borderInlineEndWidth"),
1796
+ borderRightColor: n.colors("borderRightColor"),
1797
+ borderInlineEndColor: n.colors("borderInlineEndColor"),
1798
+ borderRightStyle: n.borderStyles("borderRightStyle"),
1799
+ borderInlineEndStyle: n.borderStyles("borderInlineEndStyle"),
1800
+ borderTopRadius: n.radii(["borderTopLeftRadius", "borderTopRightRadius"]),
1801
+ borderBottomRadius: n.radii([
1802
+ "borderBottomLeftRadius",
1803
+ "borderBottomRightRadius"
1804
+ ]),
1805
+ borderLeftRadius: n.radii(["borderTopLeftRadius", "borderBottomLeftRadius"]),
1806
+ borderRightRadius: n.radii([
1807
+ "borderTopRightRadius",
1808
+ "borderBottomRightRadius"
1809
+ ])
1810
+ };
1811
+ Object.assign(_, {
1812
+ rounded: _.borderRadius,
1813
+ roundedTop: _.borderTopRadius,
1814
+ roundedTopLeft: _.borderTopLeftRadius,
1815
+ roundedTopRight: _.borderTopRightRadius,
1816
+ roundedTopStart: _.borderStartStartRadius,
1817
+ roundedTopEnd: _.borderStartEndRadius,
1818
+ roundedBottom: _.borderBottomRadius,
1819
+ roundedBottomLeft: _.borderBottomLeftRadius,
1820
+ roundedBottomRight: _.borderBottomRightRadius,
1821
+ roundedBottomStart: _.borderEndStartRadius,
1822
+ roundedBottomEnd: _.borderEndEndRadius,
1823
+ roundedLeft: _.borderLeftRadius,
1824
+ roundedRight: _.borderRightRadius,
1825
+ roundedStart: _.borderInlineStartRadius,
1826
+ roundedEnd: _.borderInlineEndRadius,
1827
+ borderStart: _.borderInlineStart,
1828
+ borderEnd: _.borderInlineEnd,
1829
+ borderTopStartRadius: _.borderStartStartRadius,
1830
+ borderTopEndRadius: _.borderStartEndRadius,
1831
+ borderBottomStartRadius: _.borderEndStartRadius,
1832
+ borderBottomEndRadius: _.borderEndEndRadius,
1833
+ borderStartRadius: _.borderInlineStartRadius,
1834
+ borderEndRadius: _.borderInlineEndRadius,
1835
+ borderStartWidth: _.borderInlineStartWidth,
1836
+ borderEndWidth: _.borderInlineEndWidth,
1837
+ borderStartColor: _.borderInlineStartColor,
1838
+ borderEndColor: _.borderInlineEndColor,
1839
+ borderStartStyle: _.borderInlineStartStyle,
1840
+ borderEndStyle: _.borderInlineEndStyle
1841
+ });
1842
+ var Qa = {
1843
+ color: n.colors("color"),
1844
+ textColor: n.colors("color"),
1845
+ fill: n.colors("fill"),
1846
+ stroke: n.colors("stroke")
1847
+ }, tt = {
1848
+ boxShadow: n.shadows("boxShadow"),
1849
+ mixBlendMode: !0,
1850
+ blendMode: n.prop("mixBlendMode"),
1851
+ backgroundBlendMode: !0,
1852
+ bgBlendMode: n.prop("backgroundBlendMode"),
1853
+ opacity: !0
1854
+ };
1855
+ Object.assign(tt, {
1856
+ shadow: tt.boxShadow
1857
+ });
1858
+ var rn = {
1859
+ filter: { transform: k.filter },
1860
+ blur: n.blur("--chakra-blur"),
1861
+ brightness: n.propT("--chakra-brightness", k.brightness),
1862
+ contrast: n.propT("--chakra-contrast", k.contrast),
1863
+ hueRotate: n.degreeT("--chakra-hue-rotate"),
1864
+ invert: n.propT("--chakra-invert", k.invert),
1865
+ saturate: n.propT("--chakra-saturate", k.saturate),
1866
+ dropShadow: n.propT("--chakra-drop-shadow", k.dropShadow),
1867
+ backdropFilter: { transform: k.backdropFilter },
1868
+ backdropBlur: n.blur("--chakra-backdrop-blur"),
1869
+ backdropBrightness: n.propT(
1870
+ "--chakra-backdrop-brightness",
1871
+ k.brightness
1872
+ ),
1873
+ backdropContrast: n.propT("--chakra-backdrop-contrast", k.contrast),
1874
+ backdropHueRotate: n.degreeT("--chakra-backdrop-hue-rotate"),
1875
+ backdropInvert: n.propT("--chakra-backdrop-invert", k.invert),
1876
+ backdropSaturate: n.propT("--chakra-backdrop-saturate", k.saturate)
1877
+ }, Se = {
1878
+ alignItems: !0,
1879
+ alignContent: !0,
1880
+ justifyItems: !0,
1881
+ justifyContent: !0,
1882
+ flexWrap: !0,
1883
+ flexDirection: { transform: k.flexDirection },
1884
+ flex: !0,
1885
+ flexFlow: !0,
1886
+ flexGrow: !0,
1887
+ flexShrink: !0,
1888
+ flexBasis: n.sizes("flexBasis"),
1889
+ justifySelf: !0,
1890
+ alignSelf: !0,
1891
+ order: !0,
1892
+ placeItems: !0,
1893
+ placeContent: !0,
1894
+ placeSelf: !0,
1895
+ gap: n.space("gap"),
1896
+ rowGap: n.space("rowGap"),
1897
+ columnGap: n.space("columnGap")
1898
+ };
1899
+ Object.assign(Se, {
1900
+ flexDir: Se.flexDirection
1901
+ });
1902
+ var Ft = {
1903
+ gridGap: n.space("gridGap"),
1904
+ gridColumnGap: n.space("gridColumnGap"),
1905
+ gridRowGap: n.space("gridRowGap"),
1906
+ gridColumn: !0,
1907
+ gridRow: !0,
1908
+ gridAutoFlow: !0,
1909
+ gridAutoColumns: !0,
1910
+ gridColumnStart: !0,
1911
+ gridColumnEnd: !0,
1912
+ gridRowStart: !0,
1913
+ gridRowEnd: !0,
1914
+ gridAutoRows: !0,
1915
+ gridTemplate: !0,
1916
+ gridTemplateColumns: !0,
1917
+ gridTemplateRows: !0,
1918
+ gridTemplateAreas: !0,
1919
+ gridArea: !0
1920
+ }, en = {
1921
+ appearance: !0,
1922
+ cursor: !0,
1923
+ resize: !0,
1924
+ userSelect: !0,
1925
+ pointerEvents: !0,
1926
+ outline: { transform: k.outline },
1927
+ outlineOffset: !0,
1928
+ outlineColor: n.colors("outlineColor")
1929
+ }, X = {
1930
+ width: n.sizesT("width"),
1931
+ inlineSize: n.sizesT("inlineSize"),
1932
+ height: n.sizes("height"),
1933
+ blockSize: n.sizes("blockSize"),
1934
+ boxSize: n.sizes(["width", "height"]),
1935
+ minWidth: n.sizes("minWidth"),
1936
+ minInlineSize: n.sizes("minInlineSize"),
1937
+ minHeight: n.sizes("minHeight"),
1938
+ minBlockSize: n.sizes("minBlockSize"),
1939
+ maxWidth: n.sizes("maxWidth"),
1940
+ maxInlineSize: n.sizes("maxInlineSize"),
1941
+ maxHeight: n.sizes("maxHeight"),
1942
+ maxBlockSize: n.sizes("maxBlockSize"),
1943
+ overflow: !0,
1944
+ overflowX: !0,
1945
+ overflowY: !0,
1946
+ overscrollBehavior: !0,
1947
+ overscrollBehaviorX: !0,
1948
+ overscrollBehaviorY: !0,
1949
+ display: !0,
1950
+ aspectRatio: !0,
1951
+ hideFrom: {
1952
+ scale: "breakpoints",
1953
+ transform: (e, o) => {
1954
+ var l, u, p;
1955
+ return { [`@media screen and (min-width: ${(p = (u = (l = o.__breakpoints) == null ? void 0 : l.get(e)) == null ? void 0 : u.minW) != null ? p : e})`]: { display: "none" } };
1956
+ }
1957
+ },
1958
+ hideBelow: {
1959
+ scale: "breakpoints",
1960
+ transform: (e, o) => {
1961
+ var l, u, p;
1962
+ return { [`@media screen and (max-width: ${(p = (u = (l = o.__breakpoints) == null ? void 0 : l.get(e)) == null ? void 0 : u._minW) != null ? p : e})`]: { display: "none" } };
1963
+ }
1964
+ },
1965
+ verticalAlign: !0,
1966
+ boxSizing: !0,
1967
+ boxDecorationBreak: !0,
1968
+ float: n.propT("float", k.float),
1969
+ objectFit: !0,
1970
+ objectPosition: !0,
1971
+ visibility: !0,
1972
+ isolation: !0
1973
+ };
1974
+ Object.assign(X, {
1975
+ w: X.width,
1976
+ h: X.height,
1977
+ minW: X.minWidth,
1978
+ maxW: X.maxWidth,
1979
+ minH: X.minHeight,
1980
+ maxH: X.maxHeight,
1981
+ overscroll: X.overscrollBehavior,
1982
+ overscrollX: X.overscrollBehaviorX,
1983
+ overscrollY: X.overscrollBehaviorY
1984
+ });
1985
+ var tn = {
1986
+ listStyleType: !0,
1987
+ listStylePosition: !0,
1988
+ listStylePos: n.prop("listStylePosition"),
1989
+ listStyleImage: !0,
1990
+ listStyleImg: n.prop("listStyleImage")
1991
+ };
1992
+ function an(e, o, l, u) {
1993
+ const p = typeof o == "string" ? o.split(".") : [o];
1994
+ for (u = 0; u < p.length && e; u += 1)
1995
+ e = e[p[u]];
1996
+ return e === void 0 ? l : e;
1997
+ }
1998
+ var nn = (e) => {
1999
+ const o = /* @__PURE__ */ new WeakMap();
2000
+ return (u, p, S, E) => {
2001
+ if (typeof u > "u")
2002
+ return e(u, p, S);
2003
+ o.has(u) || o.set(u, /* @__PURE__ */ new Map());
2004
+ const w = o.get(u);
2005
+ if (w.has(p))
2006
+ return w.get(p);
2007
+ const g = e(u, p, S, E);
2008
+ return w.set(p, g), g;
2009
+ };
2010
+ }, on = nn(an), sn = {
2011
+ border: "0px",
2012
+ clip: "rect(0, 0, 0, 0)",
2013
+ width: "1px",
2014
+ height: "1px",
2015
+ margin: "-1px",
2016
+ padding: "0px",
2017
+ overflow: "hidden",
2018
+ whiteSpace: "nowrap",
2019
+ position: "absolute"
2020
+ }, ln = {
2021
+ position: "static",
2022
+ width: "auto",
2023
+ height: "auto",
2024
+ clip: "auto",
2025
+ padding: "0",
2026
+ margin: "0",
2027
+ overflow: "visible",
2028
+ whiteSpace: "normal"
2029
+ }, Je = (e, o, l) => {
2030
+ const u = {}, p = on(e, o, {});
2031
+ for (const S in p)
2032
+ S in l && l[S] != null || (u[S] = p[S]);
2033
+ return u;
2034
+ }, dn = {
2035
+ srOnly: {
2036
+ transform(e) {
2037
+ return e === !0 ? sn : e === "focusable" ? ln : {};
2038
+ }
2039
+ },
2040
+ layerStyle: {
2041
+ processResult: !0,
2042
+ transform: (e, o, l) => Je(o, `layerStyles.${e}`, l)
2043
+ },
2044
+ textStyle: {
2045
+ processResult: !0,
2046
+ transform: (e, o, l) => Je(o, `textStyles.${e}`, l)
2047
+ },
2048
+ apply: {
2049
+ processResult: !0,
2050
+ transform: (e, o, l) => Je(o, e, l)
2051
+ }
2052
+ }, Lr = {
2053
+ position: !0,
2054
+ pos: n.prop("position"),
2055
+ zIndex: n.prop("zIndex", "zIndices"),
2056
+ inset: n.spaceT("inset"),
2057
+ insetX: n.spaceT(["left", "right"]),
2058
+ insetInline: n.spaceT("insetInline"),
2059
+ insetY: n.spaceT(["top", "bottom"]),
2060
+ insetBlock: n.spaceT("insetBlock"),
2061
+ top: n.spaceT("top"),
2062
+ insetBlockStart: n.spaceT("insetBlockStart"),
2063
+ bottom: n.spaceT("bottom"),
2064
+ insetBlockEnd: n.spaceT("insetBlockEnd"),
2065
+ left: n.spaceT("left"),
2066
+ insetInlineStart: n.logical({
2067
+ scale: "space",
2068
+ property: { ltr: "left", rtl: "right" }
2069
+ }),
2070
+ right: n.spaceT("right"),
2071
+ insetInlineEnd: n.logical({
2072
+ scale: "space",
2073
+ property: { ltr: "right", rtl: "left" }
2074
+ })
2075
+ };
2076
+ Object.assign(Lr, {
2077
+ insetStart: Lr.insetInlineStart,
2078
+ insetEnd: Lr.insetInlineEnd
2079
+ });
2080
+ var cn = {
2081
+ ring: { transform: k.ring },
2082
+ ringColor: n.colors("--chakra-ring-color"),
2083
+ ringOffset: n.prop("--chakra-ring-offset-width"),
2084
+ ringOffsetColor: n.colors("--chakra-ring-offset-color"),
2085
+ ringInset: n.prop("--chakra-ring-inset")
2086
+ }, O = {
2087
+ margin: n.spaceT("margin"),
2088
+ marginTop: n.spaceT("marginTop"),
2089
+ marginBlockStart: n.spaceT("marginBlockStart"),
2090
+ marginRight: n.spaceT("marginRight"),
2091
+ marginInlineEnd: n.spaceT("marginInlineEnd"),
2092
+ marginBottom: n.spaceT("marginBottom"),
2093
+ marginBlockEnd: n.spaceT("marginBlockEnd"),
2094
+ marginLeft: n.spaceT("marginLeft"),
2095
+ marginInlineStart: n.spaceT("marginInlineStart"),
2096
+ marginX: n.spaceT(["marginInlineStart", "marginInlineEnd"]),
2097
+ marginInline: n.spaceT("marginInline"),
2098
+ marginY: n.spaceT(["marginTop", "marginBottom"]),
2099
+ marginBlock: n.spaceT("marginBlock"),
2100
+ padding: n.space("padding"),
2101
+ paddingTop: n.space("paddingTop"),
2102
+ paddingBlockStart: n.space("paddingBlockStart"),
2103
+ paddingRight: n.space("paddingRight"),
2104
+ paddingBottom: n.space("paddingBottom"),
2105
+ paddingBlockEnd: n.space("paddingBlockEnd"),
2106
+ paddingLeft: n.space("paddingLeft"),
2107
+ paddingInlineStart: n.space("paddingInlineStart"),
2108
+ paddingInlineEnd: n.space("paddingInlineEnd"),
2109
+ paddingX: n.space(["paddingInlineStart", "paddingInlineEnd"]),
2110
+ paddingInline: n.space("paddingInline"),
2111
+ paddingY: n.space(["paddingTop", "paddingBottom"]),
2112
+ paddingBlock: n.space("paddingBlock")
2113
+ };
2114
+ Object.assign(O, {
2115
+ m: O.margin,
2116
+ mt: O.marginTop,
2117
+ mr: O.marginRight,
2118
+ me: O.marginInlineEnd,
2119
+ marginEnd: O.marginInlineEnd,
2120
+ mb: O.marginBottom,
2121
+ ml: O.marginLeft,
2122
+ ms: O.marginInlineStart,
2123
+ marginStart: O.marginInlineStart,
2124
+ mx: O.marginX,
2125
+ my: O.marginY,
2126
+ p: O.padding,
2127
+ pt: O.paddingTop,
2128
+ py: O.paddingY,
2129
+ px: O.paddingX,
2130
+ pb: O.paddingBottom,
2131
+ pl: O.paddingLeft,
2132
+ ps: O.paddingInlineStart,
2133
+ paddingStart: O.paddingInlineStart,
2134
+ pr: O.paddingRight,
2135
+ pe: O.paddingInlineEnd,
2136
+ paddingEnd: O.paddingInlineEnd
2137
+ });
2138
+ var un = {
2139
+ textDecorationColor: n.colors("textDecorationColor"),
2140
+ textDecoration: !0,
2141
+ textDecor: { property: "textDecoration" },
2142
+ textDecorationLine: !0,
2143
+ textDecorationStyle: !0,
2144
+ textDecorationThickness: !0,
2145
+ textUnderlineOffset: !0,
2146
+ textShadow: n.shadows("textShadow")
2147
+ }, fn = {
2148
+ clipPath: !0,
2149
+ transform: n.propT("transform", k.transform),
2150
+ transformOrigin: !0,
2151
+ translateX: n.spaceT("--chakra-translate-x"),
2152
+ translateY: n.spaceT("--chakra-translate-y"),
2153
+ skewX: n.degreeT("--chakra-skew-x"),
2154
+ skewY: n.degreeT("--chakra-skew-y"),
2155
+ scaleX: n.prop("--chakra-scale-x"),
2156
+ scaleY: n.prop("--chakra-scale-y"),
2157
+ scale: n.prop(["--chakra-scale-x", "--chakra-scale-y"]),
2158
+ rotate: n.degreeT("--chakra-rotate")
2159
+ }, pn = {
2160
+ transition: !0,
2161
+ transitionDelay: !0,
2162
+ animation: !0,
2163
+ willChange: !0,
2164
+ transitionDuration: n.prop("transitionDuration", "transition.duration"),
2165
+ transitionProperty: n.prop("transitionProperty", "transition.property"),
2166
+ transitionTimingFunction: n.prop(
2167
+ "transitionTimingFunction",
2168
+ "transition.easing"
2169
+ )
2170
+ }, gn = {
2171
+ fontFamily: n.prop("fontFamily", "fonts"),
2172
+ fontSize: n.prop("fontSize", "fontSizes", k.px),
2173
+ fontWeight: n.prop("fontWeight", "fontWeights"),
2174
+ lineHeight: n.prop("lineHeight", "lineHeights"),
2175
+ letterSpacing: n.prop("letterSpacing", "letterSpacings"),
2176
+ textAlign: !0,
2177
+ fontStyle: !0,
2178
+ textIndent: !0,
2179
+ wordBreak: !0,
2180
+ overflowWrap: !0,
2181
+ textOverflow: !0,
2182
+ textTransform: !0,
2183
+ whiteSpace: !0,
2184
+ isTruncated: {
2185
+ transform(e) {
2186
+ if (e === !0)
2187
+ return {
2188
+ overflow: "hidden",
2189
+ textOverflow: "ellipsis",
2190
+ whiteSpace: "nowrap"
2191
+ };
2192
+ }
2193
+ },
2194
+ noOfLines: {
2195
+ static: {
2196
+ overflow: "hidden",
2197
+ textOverflow: "ellipsis",
2198
+ display: "-webkit-box",
2199
+ WebkitBoxOrient: "vertical",
2200
+ WebkitLineClamp: "var(--chakra-line-clamp)"
2201
+ },
2202
+ property: "--chakra-line-clamp"
2203
+ }
2204
+ }, hn = {
2205
+ scrollBehavior: !0,
2206
+ scrollSnapAlign: !0,
2207
+ scrollSnapStop: !0,
2208
+ scrollSnapType: !0,
2209
+ scrollMargin: n.spaceT("scrollMargin"),
2210
+ scrollMarginTop: n.spaceT("scrollMarginTop"),
2211
+ scrollMarginBottom: n.spaceT("scrollMarginBottom"),
2212
+ scrollMarginLeft: n.spaceT("scrollMarginLeft"),
2213
+ scrollMarginRight: n.spaceT("scrollMarginRight"),
2214
+ scrollMarginX: n.spaceT(["scrollMarginLeft", "scrollMarginRight"]),
2215
+ scrollMarginY: n.spaceT(["scrollMarginTop", "scrollMarginBottom"]),
2216
+ scrollPadding: n.spaceT("scrollPadding"),
2217
+ scrollPaddingTop: n.spaceT("scrollPaddingTop"),
2218
+ scrollPaddingBottom: n.spaceT("scrollPaddingBottom"),
2219
+ scrollPaddingLeft: n.spaceT("scrollPaddingLeft"),
2220
+ scrollPaddingRight: n.spaceT("scrollPaddingRight"),
2221
+ scrollPaddingX: n.spaceT(["scrollPaddingLeft", "scrollPaddingRight"]),
2222
+ scrollPaddingY: n.spaceT(["scrollPaddingTop", "scrollPaddingBottom"])
2223
+ };
2224
+ function It(e) {
2225
+ return Et(e) && e.reference ? e.reference : String(e);
2226
+ }
2227
+ var xe = (e, ...o) => o.map(It).join(` ${e} `).replace(/calc/g, ""), St = (...e) => `calc(${xe("+", ...e)})`, xt = (...e) => `calc(${xe("-", ...e)})`, at = (...e) => `calc(${xe("*", ...e)})`, kt = (...e) => `calc(${xe("/", ...e)})`, _t = (e) => {
2228
+ const o = It(e);
2229
+ return o != null && !Number.isNaN(parseFloat(o)) ? String(o).startsWith("-") ? String(o).slice(1) : `-${o}` : at(o, -1);
2230
+ }, Wr = Object.assign(
2231
+ (e) => ({
2232
+ add: (...o) => Wr(St(e, ...o)),
2233
+ subtract: (...o) => Wr(xt(e, ...o)),
2234
+ multiply: (...o) => Wr(at(e, ...o)),
2235
+ divide: (...o) => Wr(kt(e, ...o)),
2236
+ negate: () => Wr(_t(e)),
2237
+ toString: () => e.toString()
2238
+ }),
2239
+ {
2240
+ add: St,
2241
+ subtract: xt,
2242
+ multiply: at,
2243
+ divide: kt,
2244
+ negate: _t
2245
+ }
2246
+ ), L = {
2247
+ hover: (e, o) => `${e}:hover ${o}, ${e}[data-hover] ${o}`,
2248
+ focus: (e, o) => `${e}:focus ${o}, ${e}[data-focus] ${o}`,
2249
+ focusVisible: (e, o) => `${e}:focus-visible ${o}`,
2250
+ focusWithin: (e, o) => `${e}:focus-within ${o}`,
2251
+ active: (e, o) => `${e}:active ${o}, ${e}[data-active] ${o}`,
2252
+ disabled: (e, o) => `${e}:disabled ${o}, ${e}[data-disabled] ${o}`,
2253
+ invalid: (e, o) => `${e}:invalid ${o}, ${e}[data-invalid] ${o}`,
2254
+ checked: (e, o) => `${e}:checked ${o}, ${e}[data-checked] ${o}`,
2255
+ indeterminate: (e, o) => `${e}:indeterminate ${o}, ${e}[aria-checked=mixed] ${o}, ${e}[data-indeterminate] ${o}`,
2256
+ readOnly: (e, o) => `${e}:read-only ${o}, ${e}[readonly] ${o}, ${e}[data-read-only] ${o}`,
2257
+ expanded: (e, o) => `${e}:read-only ${o}, ${e}[aria-expanded=true] ${o}, ${e}[data-expanded] ${o}`,
2258
+ placeholderShown: (e, o) => `${e}:placeholder-shown ${o}`
2259
+ }, br = (e) => Bt((o) => e(o, "&"), "[role=group]", "[data-group]", ".group"), dr = (e) => Bt((o) => e(o, "~ &"), "[data-peer]", ".peer"), Bt = (e, ...o) => o.map(e).join(", "), Ot = {
2260
+ _hover: "&:hover, &[data-hover]",
2261
+ _active: "&:active, &[data-active]",
2262
+ _focus: "&:focus, &[data-focus]",
2263
+ _highlighted: "&[data-highlighted]",
2264
+ _focusWithin: "&:focus-within",
2265
+ _focusVisible: "&:focus-visible, &[data-focus-visible]",
2266
+ _disabled: "&:disabled, &[disabled], &[aria-disabled=true], &[data-disabled]",
2267
+ _readOnly: "&[aria-readonly=true], &[readonly], &[data-readonly]",
2268
+ _before: "&::before",
2269
+ _after: "&::after",
2270
+ _empty: "&:empty",
2271
+ _expanded: "&[aria-expanded=true], &[data-expanded]",
2272
+ _checked: "&[aria-checked=true], &[data-checked]",
2273
+ _grabbed: "&[aria-grabbed=true], &[data-grabbed]",
2274
+ _pressed: "&[aria-pressed=true], &[data-pressed]",
2275
+ _invalid: "&[aria-invalid=true], &[data-invalid]",
2276
+ _valid: "&[data-valid], &[data-state=valid]",
2277
+ _loading: "&[data-loading], &[aria-busy=true]",
2278
+ _selected: "&[aria-selected=true], &[data-selected]",
2279
+ _hidden: "&[hidden], &[data-hidden]",
2280
+ _autofill: "&:-webkit-autofill",
2281
+ _even: "&:nth-of-type(even)",
2282
+ _odd: "&:nth-of-type(odd)",
2283
+ _first: "&:first-of-type",
2284
+ _firstLetter: "&::first-letter",
2285
+ _last: "&:last-of-type",
2286
+ _notFirst: "&:not(:first-of-type)",
2287
+ _notLast: "&:not(:last-of-type)",
2288
+ _visited: "&:visited",
2289
+ _activeLink: "&[aria-current=page]",
2290
+ _activeStep: "&[aria-current=step]",
2291
+ _indeterminate: "&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]",
2292
+ _groupHover: br(L.hover),
2293
+ _peerHover: dr(L.hover),
2294
+ _groupFocus: br(L.focus),
2295
+ _peerFocus: dr(L.focus),
2296
+ _groupFocusVisible: br(L.focusVisible),
2297
+ _peerFocusVisible: dr(L.focusVisible),
2298
+ _groupActive: br(L.active),
2299
+ _peerActive: dr(L.active),
2300
+ _groupDisabled: br(L.disabled),
2301
+ _peerDisabled: dr(L.disabled),
2302
+ _groupInvalid: br(L.invalid),
2303
+ _peerInvalid: dr(L.invalid),
2304
+ _groupChecked: br(L.checked),
2305
+ _peerChecked: dr(L.checked),
2306
+ _groupFocusWithin: br(L.focusWithin),
2307
+ _peerFocusWithin: dr(L.focusWithin),
2308
+ _peerPlaceholderShown: dr(L.placeholderShown),
2309
+ _placeholder: "&::placeholder",
2310
+ _placeholderShown: "&:placeholder-shown",
2311
+ _fullScreen: "&:fullscreen",
2312
+ _selection: "&::selection",
2313
+ _rtl: "[dir=rtl] &, &[dir=rtl]",
2314
+ _ltr: "[dir=ltr] &, &[dir=ltr]",
2315
+ _mediaDark: "@media (prefers-color-scheme: dark)",
2316
+ _mediaReduceMotion: "@media (prefers-reduced-motion: reduce)",
2317
+ _dark: ".chakra-ui-dark &:not([data-theme]),[data-theme=dark] &:not([data-theme]),&[data-theme=dark]",
2318
+ _light: ".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]",
2319
+ _horizontal: "&[data-orientation=horizontal]",
2320
+ _vertical: "&[data-orientation=vertical]"
2321
+ }, bn = Object.keys(
2322
+ Ot
2323
+ ), Pt = za(
2324
+ {},
2325
+ ve,
2326
+ _,
2327
+ Qa,
2328
+ Se,
2329
+ X,
2330
+ rn,
2331
+ cn,
2332
+ en,
2333
+ Ft,
2334
+ dn,
2335
+ Lr,
2336
+ tt,
2337
+ O,
2338
+ hn,
2339
+ gn,
2340
+ un,
2341
+ fn,
2342
+ tn,
2343
+ pn
2344
+ );
2345
+ Object.assign({}, O, X, Se, Ft, Lr);
2346
+ [...Object.keys(Pt), ...bn];
2347
+ ({ ...Pt, ...Ot });
2348
+ function $t(e) {
2349
+ return {
2350
+ definePartsStyle(o) {
2351
+ return o;
2352
+ },
2353
+ defineMultiStyleConfig(o) {
2354
+ return { parts: e, ...o };
2355
+ }
2356
+ };
2357
+ }
2358
+ const mn = $t([
2359
+ "button",
2360
+ "list",
2361
+ "item",
2362
+ "groupTitle",
2363
+ "command",
2364
+ "divider"
2365
+ ]), vn = mn.defineMultiStyleConfig({
2366
+ baseStyle: {
2367
+ button: {},
2368
+ list: {
2369
+ boxShadow: "lg",
2370
+ backgroundColor: "tints.white",
2371
+ border: "1.5px solid",
2372
+ borderColor: "viridian.base",
2373
+ borderRadius: "lg"
2374
+ },
2375
+ item: {
2376
+ fontWeight: "medium",
2377
+ lineHeight: "normal",
2378
+ color: "tints.darkGrey",
2379
+ _hover: {
2380
+ backgroundColor: "tints.darkCream"
2381
+ },
2382
+ _disabled: {
2383
+ backgroundColor: "tints.lightCream",
2384
+ color: "tints.medGrey",
2385
+ cursor: "not-allowed"
2386
+ },
2387
+ _first: {
2388
+ borderTopRadius: "lg"
2389
+ },
2390
+ _last: {
2391
+ borderBottomRadius: "lg"
2392
+ }
2393
+ },
2394
+ groupTitle: {
2395
+ color: "viridian.600",
2396
+ letterSpacing: "wider"
2397
+ },
2398
+ command: {
2399
+ color: "tints.uiGrey"
2400
+ },
2401
+ divider: {
2402
+ borderColor: "viridian.base",
2403
+ borderBottom: "xs solid"
2404
+ }
2405
+ },
2406
+ sizes: {
2407
+ sm: {
2408
+ button: {},
2409
+ item: {
2410
+ fontSize: ["2xs", "sm"],
2411
+ paddingY: "2",
2412
+ paddingX: "3"
2413
+ },
2414
+ groupTitle: {
2415
+ fontSize: ["md", "lg"],
2416
+ paddingY: "2",
2417
+ paddingX: "3"
2418
+ },
2419
+ divider: {
2420
+ marginY: "2"
2421
+ }
2422
+ },
2423
+ md: {
2424
+ item: {
2425
+ fontSize: ["3xs", "lg"],
2426
+ paddingY: "3",
2427
+ paddingX: "4"
2428
+ },
2429
+ groupTitle: {
2430
+ fontSize: ["lg", "xl"],
2431
+ paddingY: "2",
2432
+ paddingX: "3"
2433
+ }
2434
+ },
2435
+ lg: {
2436
+ item: {
2437
+ fontSize: ["xl", "2xl"],
2438
+ paddingX: "4",
2439
+ paddingY: "5"
2440
+ },
2441
+ groupTitle: {
2442
+ fontSize: ["3xl", "4xl"],
2443
+ paddingX: "4",
2444
+ paddingY: "5"
2445
+ }
2446
+ }
2447
+ },
2448
+ variants: {},
2449
+ defaultProps: {
2450
+ size: "md"
2451
+ }
2452
+ }), yn = Gr({
2453
+ baseStyle: {
2454
+ color: "viridian.base",
2455
+ fontWeight: "normal",
2456
+ _hover: {
2457
+ textDecoration: "underline",
2458
+ cursor: "pointer"
2459
+ }
2460
+ },
2461
+ variants: {},
2462
+ sizes: {
2463
+ sm: {
2464
+ fontSize: ["xs", "sm"],
2465
+ lineHeight: "150%"
2466
+ },
2467
+ md: {
2468
+ fontSize: ["sm", "md"],
2469
+ lineHeight: "150%"
2470
+ },
2471
+ lg: {
2472
+ fontSize: ["md", "lg"],
2473
+ lineHeight: "150%"
2474
+ }
2475
+ },
2476
+ // The default size and variant values
2477
+ defaultProps: {
2478
+ size: "md"
2479
+ }
2480
+ }), Sn = Gr({
2481
+ baseStyle: {
2482
+ fontFamily: "heading",
2483
+ fontWeight: "normal",
2484
+ color: "tints.black"
2485
+ },
2486
+ sizes: {
2487
+ "3xl": {
2488
+ // Home header
2489
+ fontSize: ["6xl", "11xl"],
2490
+ lineHeight: "shorter"
2491
+ },
2492
+ "2xl": {
2493
+ // Section header
2494
+ fontSize: ["6xl", "9xl"],
2495
+ lineHeight: "shorter"
2496
+ },
2497
+ xl: {
2498
+ // Product header
2499
+ fontSize: ["4xl", "7xl"],
2500
+ lineHeight: "shorter"
2501
+ },
2502
+ lg: {
2503
+ // Large title
2504
+ fontFamily: "body",
2505
+ fontWeight: "medium",
2506
+ fontSize: ["3xl", "6xl"],
2507
+ lineHeight: "short"
2508
+ },
2509
+ md: {
2510
+ // Medium title
2511
+ fontFamily: "body",
2512
+ fontWeight: "medium",
2513
+ fontSize: ["2xl", "4xl"],
2514
+ lineHeight: "short"
2515
+ },
2516
+ sm: {
2517
+ // Small title
2518
+ fontFamily: "body",
2519
+ fontWeight: "medium",
2520
+ fontSize: ["lg", "3xl"],
2521
+ lineHeight: "140%"
2522
+ }
2523
+ },
2524
+ defaultProps: {
2525
+ size: "md"
2526
+ }
2527
+ }), xn = Gr({
2528
+ baseStyle: {
2529
+ fontFamily: "body",
2530
+ fontWeight: "normal",
2531
+ lineHeight: "base",
2532
+ letterSpacing: "normal",
2533
+ fontSize: "md",
2534
+ p: 0
2535
+ },
2536
+ sizes: {
2537
+ xs: {
2538
+ fontSize: ["2xs", "xs"]
2539
+ },
2540
+ sm: {
2541
+ fontSize: ["xs", "sm"]
2542
+ },
2543
+ md: {
2544
+ fontSize: ["sm", "md"]
2545
+ },
2546
+ lg: {
2547
+ fontSize: ["md", "lg"]
2548
+ },
2549
+ xl: {
2550
+ fontSize: ["lg", "2xl"],
2551
+ lineHeight: ["short", "shorter"]
2552
+ }
2553
+ },
2554
+ defaultProps: {
2555
+ size: "lg"
2556
+ }
2557
+ }), kn = Gr({
2558
+ baseStyle: {},
2559
+ sizes: {
2560
+ sm: {
2561
+ fontSize: "1rem"
2562
+ },
2563
+ md: {
2564
+ fontSize: "1.5rem"
2565
+ },
2566
+ lg: {
2567
+ fontSize: "2rem"
2568
+ }
2569
+ },
2570
+ variants: {},
2571
+ defaultProps: {
2572
+ size: "md"
2573
+ }
2574
+ });
2575
+ function R(e, o = {}) {
2576
+ let l = !1;
2577
+ function u() {
2578
+ if (!l) {
2579
+ l = !0;
2580
+ return;
2581
+ }
2582
+ throw new Error(
2583
+ "[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?"
2584
+ );
2585
+ }
2586
+ function p(...T) {
2587
+ u();
2588
+ for (const B of T)
2589
+ o[B] = g(B);
2590
+ return R(e, o);
2591
+ }
2592
+ function S(...T) {
2593
+ for (const B of T)
2594
+ B in o || (o[B] = g(B));
2595
+ return R(e, o);
2596
+ }
2597
+ function E() {
2598
+ return Object.fromEntries(
2599
+ Object.entries(o).map(([B, j]) => [B, j.selector])
2600
+ );
2601
+ }
2602
+ function w() {
2603
+ return Object.fromEntries(
2604
+ Object.entries(o).map(([B, j]) => [B, j.className])
2605
+ );
2606
+ }
2607
+ function g(T) {
2608
+ const G = `chakra-${(["container", "root"].includes(T ?? "") ? [e] : [e, T]).filter(Boolean).join("__")}`;
2609
+ return {
2610
+ className: G,
2611
+ selector: `.${G}`,
2612
+ toString: () => T
2613
+ };
2614
+ }
2615
+ return {
2616
+ parts: p,
2617
+ toPart: g,
2618
+ extend: S,
2619
+ selectors: E,
2620
+ classnames: w,
2621
+ get keys() {
2622
+ return Object.keys(o);
2623
+ },
2624
+ __type: {}
2625
+ };
2626
+ }
2627
+ R("accordion").parts("root", "container", "button", "panel").extend("icon");
2628
+ R("alert").parts("title", "description", "container").extend("icon", "spinner");
2629
+ R("avatar").parts("label", "badge", "container").extend("excessLabel", "group");
2630
+ R("breadcrumb").parts("link", "item", "container").extend("separator");
2631
+ R("button").parts();
2632
+ R("checkbox").parts("control", "icon", "container").extend("label");
2633
+ R("progress").parts("track", "filledTrack").extend("label");
2634
+ var _n = R("drawer").parts("overlay", "dialogContainer", "dialog").extend("header", "closeButton", "body", "footer");
2635
+ R("editable").parts(
2636
+ "preview",
2637
+ "input",
2638
+ "textarea"
2639
+ );
2640
+ R("form").parts(
2641
+ "container",
2642
+ "requiredIndicator",
2643
+ "helperText"
2644
+ );
2645
+ R("formError").parts("text", "icon");
2646
+ R("input").parts(
2647
+ "addon",
2648
+ "field",
2649
+ "element",
2650
+ "group"
2651
+ );
2652
+ R("list").parts("container", "item", "icon");
2653
+ R("menu").parts("button", "list", "item").extend("groupTitle", "icon", "command", "divider");
2654
+ R("modal").parts("overlay", "dialogContainer", "dialog").extend("header", "closeButton", "body", "footer");
2655
+ R("numberinput").parts(
2656
+ "root",
2657
+ "field",
2658
+ "stepperGroup",
2659
+ "stepper"
2660
+ );
2661
+ R("pininput").parts("field");
2662
+ R("popover").parts("content", "header", "body", "footer").extend("popper", "arrow", "closeButton");
2663
+ R("progress").parts(
2664
+ "label",
2665
+ "filledTrack",
2666
+ "track"
2667
+ );
2668
+ R("radio").parts(
2669
+ "container",
2670
+ "control",
2671
+ "label"
2672
+ );
2673
+ R("select").parts("field", "icon");
2674
+ R("slider").parts(
2675
+ "container",
2676
+ "track",
2677
+ "thumb",
2678
+ "filledTrack",
2679
+ "mark"
2680
+ );
2681
+ R("stat").parts(
2682
+ "container",
2683
+ "label",
2684
+ "helpText",
2685
+ "number",
2686
+ "icon"
2687
+ );
2688
+ R("switch").parts(
2689
+ "container",
2690
+ "track",
2691
+ "thumb"
2692
+ );
2693
+ R("table").parts(
2694
+ "table",
2695
+ "thead",
2696
+ "tbody",
2697
+ "tr",
2698
+ "th",
2699
+ "td",
2700
+ "tfoot",
2701
+ "caption"
2702
+ );
2703
+ R("tabs").parts(
2704
+ "root",
2705
+ "tab",
2706
+ "tablist",
2707
+ "tabpanel",
2708
+ "tabpanels",
2709
+ "indicator"
2710
+ );
2711
+ R("tag").parts(
2712
+ "container",
2713
+ "label",
2714
+ "closeButton"
2715
+ );
2716
+ R("card").parts(
2717
+ "container",
2718
+ "header",
2719
+ "body",
2720
+ "footer"
2721
+ );
2722
+ const { defineMultiStyleConfig: wn, definePartsStyle: nt } = $t(_n.keys), Tn = {
2723
+ partial: nt({
2724
+ dialog: {
2725
+ maxW: 560
2726
+ }
2727
+ }),
2728
+ full: nt({
2729
+ dialog: {
2730
+ maxW: "100vw",
2731
+ minH: "100vh",
2732
+ borderRadius: 0
2733
+ }
2734
+ })
2735
+ }, Rn = nt({
2736
+ overlay: {
2737
+ zIndex: "overlay",
2738
+ bg: (e) => `${e.colors.tints.black}66`
2739
+ // tint black with 40% opacity
2740
+ },
2741
+ dialogContainer: {
2742
+ zIndex: "modal"
2743
+ },
2744
+ dialog: {
2745
+ bg: "white",
2746
+ pt: [6],
2747
+ display: "flex",
2748
+ flexDirection: "column",
2749
+ alignItems: "stretch",
2750
+ gap: 6,
2751
+ boxShadow: "dialog"
2752
+ },
2753
+ header: {
2754
+ px: 8,
2755
+ display: "flex",
2756
+ flexDirection: "row",
2757
+ justifyContent: "space-between",
2758
+ alignItems: "center"
2759
+ },
2760
+ closeButton: {
2761
+ bg: "tints.cream",
2762
+ borderRadius: "50%",
2763
+ p: 1,
2764
+ _hover: {
2765
+ bg: "tints.darkCream"
2766
+ },
2767
+ "& .chakra-icon": {
2768
+ p: 1
2769
+ }
2770
+ },
2771
+ body: {
2772
+ px: 8,
2773
+ flexGrow: 1
2774
+ },
2775
+ footer: {
2776
+ py: 6,
2777
+ px: 8
2778
+ }
2779
+ }), En = wn({
2780
+ baseStyle: Rn,
2781
+ sizes: Tn,
2782
+ defaultProps: { size: "partial" }
2783
+ }), Cn = {
2784
+ // this will enable us to use white as a colorScheme
2785
+ white: { ...Tt.colors.whiteAlpha, base: "#FFFFFF" },
2786
+ tints: {
2787
+ black: "#0F0F0F",
2788
+ darkGrey: "#545454",
2789
+ uiGrey: "#949494",
2790
+ medGrey: "#A9A9A9",
2791
+ lightGrey: "#EEEEEE",
2792
+ darkCream: "#EDEDE8",
2793
+ cream: "#F2F2ED",
2794
+ lightCream: "#F9F9F6",
2795
+ white: "#FFFFFF"
2796
+ },
2797
+ viridian: {
2798
+ 50: "#EFF9F5",
2799
+ // wash
2800
+ 100: "#A1DEC1",
2801
+ // lighter
2802
+ 200: "#68CA9C",
2803
+ // light
2804
+ 300: "#28724F",
2805
+ // base
2806
+ 400: "#28724F",
2807
+ // base
2808
+ 500: "#28724F",
2809
+ // base
2810
+ 600: "#28724F",
2811
+ // base
2812
+ 700: "#28724F",
2813
+ // base
2814
+ 800: "#28724F",
2815
+ // base
2816
+ 900: "#143927",
2817
+ // dark
2818
+ dark: "#143927",
2819
+ base: "#28724F",
2820
+ light: "#68CA9C",
2821
+ lighter: "#A1DEC1",
2822
+ wash: "#EFF9F5"
2823
+ },
2824
+ sunshine: {
2825
+ dark: "#5C5300",
2826
+ base: "#FFEC42",
2827
+ light: "#FFF386",
2828
+ lighter: "#FFF8BC",
2829
+ wash: "#FFFEF2"
2830
+ },
2831
+ terracotta: {
2832
+ 50: "#FFF4F4",
2833
+ // wash
2834
+ 100: "#FFC9C7",
2835
+ // lighter
2836
+ 200: "#FF9E99",
2837
+ // light
2838
+ 300: "#FF6B62",
2839
+ // base
2840
+ 400: "#FF6B62",
2841
+ // base
2842
+ 500: "#FF6B62",
2843
+ // base
2844
+ 600: "#FF6B62",
2845
+ // base
2846
+ 700: "#FF6B62",
2847
+ // base
2848
+ 800: "#FF6B62",
2849
+ // base
2850
+ 900: "#650500",
2851
+ // dark
2852
+ dark: "#650500",
2853
+ base: "#FF6B62",
2854
+ light: "#FF9E99",
2855
+ lighter: "#FFC9C7",
2856
+ wash: "#FFF4F4"
2857
+ },
2858
+ violet: {
2859
+ dark: "#380050",
2860
+ base: "#B917FF",
2861
+ light: "#D36BFF",
2862
+ lighter: "#E6ADFF",
2863
+ wash: "#FAEFFF"
2864
+ },
2865
+ eggplant: {
2866
+ dark: "#210C21",
2867
+ base: "#742974",
2868
+ light: "#C458C4",
2869
+ lighter: "#DEA2DE",
2870
+ wash: "#FBF4FB"
2871
+ },
2872
+ moonlight: {
2873
+ dark: "#000C11",
2874
+ base: "#012B3B",
2875
+ light: "#0387BB",
2876
+ lighter: "#61D1FD",
2877
+ wash: "#DFF6FF"
2878
+ },
2879
+ sky: {
2880
+ dark: "#073243",
2881
+ base: "#6BCAEF",
2882
+ light: "#A1DDF5",
2883
+ lighter: "#CBECF9",
2884
+ wash: "#F5FBFE"
2885
+ }
2886
+ }, { semanticTokens: Mn, sizes: jn, space: An, ...Fn } = Tt, C = (e) => `${e / 16}rem`, In = (e) => e, Wn = In({
2887
+ ...Fn,
2888
+ breakpoints: {
2889
+ mobile: "0em",
2890
+ // starts at 0px
2891
+ tablet: "37.5em",
2892
+ // 600px
2893
+ largeTablet: "56.25em",
2894
+ // 900px
2895
+ desktop: "75em",
2896
+ // 1200px
2897
+ largeDesktop: "112.5em"
2898
+ // 1800px
2899
+ },
2900
+ fonts: {
2901
+ body: "'DM Sans', sans-serif",
2902
+ heading: "PP Agrandir, sans-serif",
2903
+ mono: "DM Mono, monospace"
2904
+ },
2905
+ fontWeights: {
2906
+ thin: "100",
2907
+ xlight: "200",
2908
+ light: "300",
2909
+ normal: "400",
2910
+ medium: "500",
2911
+ semiBold: "600",
2912
+ bold: "700",
2913
+ xbold: "800",
2914
+ black: "900"
2915
+ },
2916
+ fontSizes: {
2917
+ "3xs": C(6),
2918
+ "2xs": C(8),
2919
+ xs: C(10),
2920
+ sm: C(12),
2921
+ md: C(14),
2922
+ lg: C(16),
2923
+ xl: C(18),
2924
+ "2xl": C(20),
2925
+ "3xl": C(24),
2926
+ "4xl": C(28),
2927
+ "5xl": C(32),
2928
+ "6xl": C(36),
2929
+ "7xl": C(40),
2930
+ "9xl": C(48),
2931
+ "10xl": C(56),
2932
+ "11xl": C(68)
2933
+ },
2934
+ letterSpacings: {
2935
+ // TODO: redefine letter spacings with design
2936
+ tighter: "-0.05em",
2937
+ tight: "-0.025em",
2938
+ normal: "0",
2939
+ wide: "0.025em",
2940
+ wider: "0.05em",
2941
+ widest: "0.1em"
2942
+ },
2943
+ lineHeights: {
2944
+ // TODO: redefine line heights with design
2945
+ body: 1.5,
2946
+ normal: "normal",
2947
+ none: 1,
2948
+ shorter: 1.1,
2949
+ short: 1.3,
2950
+ base: 1.5,
2951
+ tall: 1.5
2952
+ },
2953
+ sizes: {
2954
+ max: "max-content",
2955
+ min: "min-content",
2956
+ full: "100%"
2957
+ },
2958
+ space: {
2959
+ /**
2960
+ * Base unit: 4px
2961
+ * 1 rem = 16px
2962
+ *
2963
+ * Mental model:
2964
+ *
2965
+ * If you need a spacing of 40px, divide it by 4.
2966
+ * That'll give you 10. Then use it in your component.
2967
+ */
2968
+ 0: 0,
2969
+ 0.5: C(2),
2970
+ 1: C(4),
2971
+ 1.5: C(6),
2972
+ 2: C(8),
2973
+ 3: C(12),
2974
+ 4: C(16),
2975
+ 5: C(20),
2976
+ 6: C(24),
2977
+ 8: C(32),
2978
+ 10: C(40),
2979
+ 12: C(48),
2980
+ 16: C(64),
2981
+ 20: C(80)
2982
+ },
2983
+ shadows: {
2984
+ xs: "0 0 0 1px rgba(0, 0, 0, 0.05)",
2985
+ sm: "0 1px 2px 0 rgba(0, 0, 0, 0.05)",
2986
+ base: "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",
2987
+ md: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",
2988
+ lg: "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",
2989
+ xl: "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)",
2990
+ "2xl": "0 25px 50px -12px rgba(0, 0, 0, 0.25)",
2991
+ outline: "0 0 0 3px rgba(66, 153, 225, 0.6)",
2992
+ inner: "inset 0 2px 4px 0 rgba(0,0,0,0.06)",
2993
+ none: "none",
2994
+ "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",
2995
+ dialog: "15px 0px 75.2px 0px rgba(0, 0, 0, 0.35)"
2996
+ },
2997
+ zIndices: {
2998
+ hide: -1,
2999
+ auto: "auto",
3000
+ base: 0,
3001
+ docked: 10,
3002
+ dropdown: 1e3,
3003
+ sticky: 1100,
3004
+ banner: 1200,
3005
+ overlay: 1300,
3006
+ modal: 1400,
3007
+ popover: 1500,
3008
+ skipLink: 1600,
3009
+ toast: 1700,
3010
+ tooltip: 1800
3011
+ },
3012
+ colors: Cn,
3013
+ components: {
3014
+ Button: $a,
3015
+ Drawer: En,
3016
+ Heading: Sn,
3017
+ Icon: kn,
3018
+ Link: yn,
3019
+ Text: xn,
3020
+ Menu: vn
3021
+ }
3022
+ });
3023
+ export {
3024
+ Hn as Box,
3025
+ Yn as Button,
3026
+ Nn as Drawer,
3027
+ Un as DrawerBody,
3028
+ Vn as DrawerCloseButton,
3029
+ Xn as DrawerContent,
3030
+ qn as DrawerFooter,
3031
+ Kn as DrawerHeader,
3032
+ Jn as DrawerOverlay,
3033
+ Ba as Grid,
3034
+ Oa as GridItem,
3035
+ Zn as Heading,
3036
+ Dn as Hide,
3037
+ Fa as Icon,
3038
+ Ia as IconButton,
3039
+ Qn as Link,
3040
+ ro as Menu,
3041
+ eo as MenuButton,
3042
+ to as MenuCommand,
3043
+ ao as MenuDivider,
3044
+ no as MenuGroup,
3045
+ oo as MenuItem,
3046
+ io as MenuItemOption,
3047
+ so as MenuList,
3048
+ lo as MenuOptionGroup,
3049
+ $n as Show,
3050
+ co as Text,
3051
+ zn as ThemeProvider,
3052
+ uo as extendTheme,
3053
+ po as styled,
3054
+ Wn as theme
3055
+ };