@everlywell/ui-kit 0.0.2 → 0.0.4-menu-next
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.yarn/install-state.gz +0 -0
- package/index.d.mts +14 -2
- package/index.d.ts +14 -2
- package/index.js +104 -1
- package/index.mjs +3172 -181
- package/lib/components/Fonts/Fonts.d.ts +2 -0
- package/lib/components/Fonts/index.d.ts +1 -0
- package/lib/components/ThemeProvider/ThemeProvider.d.ts +5 -0
- package/lib/components/ThemeProvider/index.d.ts +1 -0
- package/lib/theme/accessibility/VisuallyHidden/VisuallyHidden.d.ts +2 -0
- package/lib/theme/{forms/Button/config.d.ts → actions/Button/Button.config.d.ts} +25 -13
- package/lib/theme/actions/IconButton/IconButton.d.ts +11 -0
- package/lib/theme/actions/Menu/Menu.config.d.ts +92 -0
- package/lib/theme/actions/Menu/Menu.d.ts +3 -0
- package/lib/theme/foundations/colors.d.ts +39 -50
- package/lib/theme/index.d.ts +428 -111
- package/lib/theme/layout/Box/Box.d.ts +3 -0
- package/lib/theme/layout/Grid/Grid.d.ts +48 -0
- package/lib/theme/layout/Grid/GridItem.d.ts +5 -0
- package/lib/theme/layout/Grid/index.d.ts +2 -0
- package/lib/theme/layout/Show-Hide/Show-Hide.d.ts +5 -0
- package/lib/theme/media/Icon/Icon.config.d.ts +21 -0
- package/lib/theme/media/Icon/Icon.d.ts +14 -0
- package/lib/theme/navigation/Link/Link.config.d.ts +31 -0
- package/lib/theme/navigation/Link/Link.d.ts +3 -0
- package/lib/theme/overlay/Drawer/Drawer.config.d.ts +72 -0
- package/lib/theme/overlay/Drawer/Drawer.d.ts +3 -0
- package/lib/theme/typography/Heading/Heading.config.d.ts +48 -0
- package/lib/theme/typography/Heading/Heading.d.ts +3 -0
- package/lib/theme/typography/Text/Text.config.d.ts +37 -0
- package/lib/theme/typography/Text/Text.d.ts +3 -0
- package/package.json +1 -1
- /package/lib/theme/{forms → actions}/Button/Button.d.ts +0 -0
|
Binary file
|
package/index.d.mts
CHANGED
|
@@ -1,4 +1,16 @@
|
|
|
1
|
-
export { default as Button, type ButtonProps, } from './lib/theme/
|
|
2
|
-
export {
|
|
1
|
+
export { default as Button, type ButtonProps, } from './lib/theme/actions/Button/Button';
|
|
2
|
+
export { default as Box, type BoxProps } from './lib/theme/layout/Box/Box';
|
|
3
|
+
export { default as IconButton, type IconButtonProps, } from './lib/theme/actions/IconButton/IconButton';
|
|
4
|
+
export { Grid, GridItem, type GridProps, type GridItemProps, } from './lib/theme/layout/Grid';
|
|
5
|
+
export { default as Heading, type HeadingProps, } from './lib/theme/typography/Heading/Heading';
|
|
6
|
+
export { default as Text, type TextProps, } from './lib/theme/typography/Text/Text';
|
|
7
|
+
export { default as Link, type LinkProps, } from './lib/theme/navigation/Link/Link';
|
|
8
|
+
export { default as Drawer, DrawerBody, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerContent, DrawerCloseButton, type DrawerProps, } from './lib/theme/overlay/Drawer/Drawer';
|
|
9
|
+
export { default as Menu, MenuButton, MenuList, MenuItem, MenuGroup, MenuCommand, MenuDivider, MenuOptionGroup, MenuItemOption, type MenuProps, type MenuButtonProps, type MenuListProps, type MenuItemProps, type MenuGroupProps, type MenuCommandProps, type MenuDividerProps, } from './lib/theme/actions/Menu/Menu';
|
|
10
|
+
export { Show, Hide, type ShowProps, type HideProps, } from './lib/theme/layout/Show-Hide/Show-Hide';
|
|
11
|
+
export { default as VisuallyHidden } from './lib/theme/accessibility/VisuallyHidden/VisuallyHidden';
|
|
12
|
+
export { default as Icon, type IconProps } from './lib/theme/media/Icon/Icon';
|
|
13
|
+
export { default as ThemeProvider } from './lib/components/ThemeProvider';
|
|
14
|
+
export { extendBaseTheme as extendTheme } from '@chakra-ui/react';
|
|
3
15
|
export { default as styled } from '@emotion/styled';
|
|
4
16
|
export { theme } from './lib/theme';
|
package/index.d.ts
CHANGED
|
@@ -1,4 +1,16 @@
|
|
|
1
|
-
export { default as Button, type ButtonProps, } from './lib/theme/
|
|
2
|
-
export {
|
|
1
|
+
export { default as Button, type ButtonProps, } from './lib/theme/actions/Button/Button';
|
|
2
|
+
export { default as Box, type BoxProps } from './lib/theme/layout/Box/Box';
|
|
3
|
+
export { default as IconButton, type IconButtonProps, } from './lib/theme/actions/IconButton/IconButton';
|
|
4
|
+
export { Grid, GridItem, type GridProps, type GridItemProps, } from './lib/theme/layout/Grid';
|
|
5
|
+
export { default as Heading, type HeadingProps, } from './lib/theme/typography/Heading/Heading';
|
|
6
|
+
export { default as Text, type TextProps, } from './lib/theme/typography/Text/Text';
|
|
7
|
+
export { default as Link, type LinkProps, } from './lib/theme/navigation/Link/Link';
|
|
8
|
+
export { default as Drawer, DrawerBody, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerContent, DrawerCloseButton, type DrawerProps, } from './lib/theme/overlay/Drawer/Drawer';
|
|
9
|
+
export { default as Menu, MenuButton, MenuList, MenuItem, MenuGroup, MenuCommand, MenuDivider, MenuOptionGroup, MenuItemOption, type MenuProps, type MenuButtonProps, type MenuListProps, type MenuItemProps, type MenuGroupProps, type MenuCommandProps, type MenuDividerProps, } from './lib/theme/actions/Menu/Menu';
|
|
10
|
+
export { Show, Hide, type ShowProps, type HideProps, } from './lib/theme/layout/Show-Hide/Show-Hide';
|
|
11
|
+
export { default as VisuallyHidden } from './lib/theme/accessibility/VisuallyHidden/VisuallyHidden';
|
|
12
|
+
export { default as Icon, type IconProps } from './lib/theme/media/Icon/Icon';
|
|
13
|
+
export { default as ThemeProvider } from './lib/components/ThemeProvider';
|
|
14
|
+
export { extendBaseTheme as extendTheme } from '@chakra-ui/react';
|
|
3
15
|
export { default as styled } from '@emotion/styled';
|
|
4
16
|
export { theme } from './lib/theme';
|
package/index.js
CHANGED
|
@@ -1 +1,104 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("@chakra-ui/react"),xe=require("react"),hn=require("@phosphor-icons/react"),bn=require("@emotion/react"),mn=require("@emotion/styled");function vn(r){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const l in r)if(l!=="default"){const u=Object.getOwnPropertyDescriptor(r,l);Object.defineProperty(o,l,u.get?u:{enumerable:!0,get:()=>r[l]})}}return o.default=r,Object.freeze(o)}const yn=vn(hn);var br=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Sn(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var Zr={exports:{}},We={};/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react-jsx-runtime.development.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/var bt;function xn(){return bt||(bt=1,process.env.NODE_ENV!=="production"&&function(){var r=xe,o=Symbol.for("react.element"),l=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),p=Symbol.for("react.strict_mode"),k=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),R=Symbol.for("react.context"),g=Symbol.for("react.forward_ref"),z=Symbol.for("react.suspense"),E=Symbol.for("react.suspense_list"),B=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),H=Symbol.for("react.offscreen"),ue=Symbol.iterator,fe="@@iterator";function pe(t){if(t===null||typeof t!="object")return null;var s=ue&&t[ue]||t[fe];return typeof s=="function"?s:null}var K=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function W(t){{for(var s=arguments.length,d=new Array(s>1?s-1:0),f=1;f<s;f++)d[f-1]=arguments[f];kr("error",t,d)}}function kr(t,s,d){{var f=K.ReactDebugCurrentFrame,_=f.getStackAddendum();_!==""&&(s+="%s",d=d.concat([_]));var S=d.map(function(m){return String(m)});S.unshift("Warning: "+s),Function.prototype.apply.call(console[t],console,S)}}var _r=!1,wr=!1,Tr=!1,Rr=!1,Er=!1,Ye;Ye=Symbol.for("react.module.reference");function Cr(t){return!!(typeof t=="string"||typeof t=="function"||t===u||t===k||Er||t===p||t===z||t===E||Rr||t===H||_r||wr||Tr||typeof t=="object"&&t!==null&&(t.$$typeof===A||t.$$typeof===B||t.$$typeof===C||t.$$typeof===R||t.$$typeof===g||t.$$typeof===Ye||t.getModuleId!==void 0))}function Fr(t,s,d){var f=t.displayName;if(f)return f;var _=s.displayName||s.name||"";return _!==""?d+"("+_+")":d}function Ne(t){return t.displayName||"Context"}function J(t){if(t==null)return null;if(typeof t.tag=="number"&&W("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case u:return"Fragment";case l:return"Portal";case k:return"Profiler";case p:return"StrictMode";case z:return"Suspense";case E:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case R:var s=t;return Ne(s)+".Consumer";case C:var d=t;return Ne(d._context)+".Provider";case g:return Fr(t,t.render,"ForwardRef");case B:var f=t.displayName||null;return f!==null?f:J(t.type)||"Memo";case A:{var _=t,S=_._payload,m=_._init;try{return J(m(S))}catch{return null}}}return null}var oe=Object.assign,ve=0,Ve,Ue,Xe,qe,Ke,Je,Ze;function O(){}O.__reactDisabledLog=!0;function Qe(){{if(ve===0){Ve=console.log,Ue=console.info,Xe=console.warn,qe=console.error,Ke=console.group,Je=console.groupCollapsed,Ze=console.groupEnd;var t={configurable:!0,enumerable:!0,value:O,writable:!0};Object.defineProperties(console,{info:t,log:t,warn:t,error:t,group:t,groupCollapsed:t,groupEnd:t})}ve++}}function Or(){{if(ve--,ve===0){var t={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:oe({},t,{value:Ve}),info:oe({},t,{value:Ue}),warn:oe({},t,{value:Xe}),error:oe({},t,{value:qe}),group:oe({},t,{value:Ke}),groupCollapsed:oe({},t,{value:Je}),groupEnd:oe({},t,{value:Ze})})}ve<0&&W("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ie=K.ReactCurrentDispatcher,ke;function ee(t,s,d){{if(ke===void 0)try{throw Error()}catch(_){var f=_.stack.trim().match(/\n( *(at )?)/);ke=f&&f[1]||""}return`
|
|
10
|
+
`+ke+t}}var _e=!1,ge;{var er=typeof WeakMap=="function"?WeakMap:Map;ge=new er}function Be(t,s){if(!t||_e)return"";{var d=ge.get(t);if(d!==void 0)return d}var f;_e=!0;var _=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var S;S=ie.current,ie.current=null,Qe();try{if(s){var m=function(){throw Error()};if(Object.defineProperty(m.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(m,[])}catch(N){f=N}Reflect.construct(t,[],m)}else{try{m.call()}catch(N){f=N}t.call(m.prototype)}}else{try{throw Error()}catch(N){f=N}t()}}catch(N){if(N&&f&&typeof N.stack=="string"){for(var b=N.stack.split(`
|
|
11
|
+
`),L=f.stack.split(`
|
|
12
|
+
`),M=b.length-1,$=L.length-1;M>=1&&$>=0&&b[M]!==L[$];)$--;for(;M>=1&&$>=0;M--,$--)if(b[M]!==L[$]){if(M!==1||$!==1)do if(M--,$--,$<0||b[M]!==L[$]){var Y=`
|
|
13
|
+
`+b[M].replace(" at new "," at ");return t.displayName&&Y.includes("<anonymous>")&&(Y=Y.replace("<anonymous>",t.displayName)),typeof t=="function"&&ge.set(t,Y),Y}while(M>=1&&$>=0);break}}}finally{_e=!1,ie.current=S,Or(),Error.prepareStackTrace=_}var te=t?t.displayName||t.name:"",fr=te?ee(te):"";return typeof t=="function"&&ge.set(t,fr),fr}function Ir(t,s,d){return Be(t,!1)}function Br(t){var s=t.prototype;return!!(s&&s.isReactComponent)}function we(t,s,d){if(t==null)return"";if(typeof t=="function")return Be(t,Br(t));if(typeof t=="string")return ee(t);switch(t){case z:return ee("Suspense");case E:return ee("SuspenseList")}if(typeof t=="object")switch(t.$$typeof){case g:return Ir(t.render);case B:return we(t.type,s,d);case A:{var f=t,_=f._payload,S=f._init;try{return we(S(_),s,d)}catch{}}}return""}var Te=Object.prototype.hasOwnProperty,rr={},tr=K.ReactDebugCurrentFrame;function Re(t){if(t){var s=t._owner,d=we(t.type,t._source,s?s.type:null);tr.setExtraStackFrame(d)}else tr.setExtraStackFrame(null)}function Ee(t,s,d,f,_){{var S=Function.call.bind(Te);for(var m in t)if(S(t,m)){var b=void 0;try{if(typeof t[m]!="function"){var L=Error((f||"React class")+": "+d+" type `"+m+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof t[m]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw L.name="Invariant Violation",L}b=t[m](s,m,f,d,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(M){b=M}b&&!(b instanceof Error)&&(Re(_),W("%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,m,typeof b),Re(null)),b instanceof Error&&!(b.message in rr)&&(rr[b.message]=!0,Re(_),W("Failed %s type: %s",d,b.message),Re(null))}}}var Pe=Array.isArray;function he(t){return Pe(t)}function Z(t){{var s=typeof Symbol=="function"&&Symbol.toStringTag,d=s&&t[Symbol.toStringTag]||t.constructor.name||"Object";return d}}function nr(t){try{return je(t),!1}catch{return!0}}function je(t){return""+t}function ar(t){if(nr(t))return W("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Z(t)),je(t)}var ye=K.ReactCurrentOwner,Ce={key:!0,ref:!0,__self:!0,__source:!0},De,Me,Fe;Fe={};function or(t){if(Te.call(t,"ref")){var s=Object.getOwnPropertyDescriptor(t,"ref").get;if(s&&s.isReactWarning)return!1}return t.ref!==void 0}function ir(t){if(Te.call(t,"key")){var s=Object.getOwnPropertyDescriptor(t,"key").get;if(s&&s.isReactWarning)return!1}return t.key!==void 0}function Pr(t,s){if(typeof t.ref=="string"&&ye.current&&s&&ye.current.stateNode!==s){var d=J(ye.current.type);Fe[d]||(W('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',J(ye.current.type),t.ref),Fe[d]=!0)}}function jr(t,s){{var d=function(){De||(De=!0,W("%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))};d.isReactWarning=!0,Object.defineProperty(t,"key",{get:d,configurable:!0})}}function se(t,s){{var d=function(){Me||(Me=!0,W("%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))};d.isReactWarning=!0,Object.defineProperty(t,"ref",{get:d,configurable:!0})}}var Oe=function(t,s,d,f,_,S,m){var b={$$typeof:o,type:t,key:s,ref:d,props:m,_owner:S};return b._store={},Object.defineProperty(b._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(b,"_self",{configurable:!1,enumerable:!1,writable:!1,value:f}),Object.defineProperty(b,"_source",{configurable:!1,enumerable:!1,writable:!1,value:_}),Object.freeze&&(Object.freeze(b.props),Object.freeze(b)),b};function Dr(t,s,d,f,_){{var S,m={},b=null,L=null;d!==void 0&&(ar(d),b=""+d),ir(s)&&(ar(s.key),b=""+s.key),or(s)&&(L=s.ref,Pr(s,_));for(S in s)Te.call(s,S)&&!Ce.hasOwnProperty(S)&&(m[S]=s[S]);if(t&&t.defaultProps){var M=t.defaultProps;for(S in M)m[S]===void 0&&(m[S]=M[S])}if(b||L){var $=typeof t=="function"?t.displayName||t.name||"Unknown":t;b&&jr(m,$),L&&se(m,$)}return Oe(t,b,L,_,f,ye.current,m)}}var Ie=K.ReactCurrentOwner,sr=K.ReactDebugCurrentFrame;function le(t){if(t){var s=t._owner,d=we(t.type,t._source,s?s.type:null);sr.setExtraStackFrame(d)}else sr.setExtraStackFrame(null)}var de;de=!1;function ze(t){return typeof t=="object"&&t!==null&&t.$$typeof===o}function re(){{if(Ie.current){var t=J(Ie.current.type);if(t)return`
|
|
14
|
+
|
|
15
|
+
Check the render method of \``+t+"`."}return""}}function Mr(t){{if(t!==void 0){var s=t.fileName.replace(/^.*[\\\/]/,""),d=t.lineNumber;return`
|
|
16
|
+
|
|
17
|
+
Check your code at `+s+":"+d+"."}return""}}var lr={};function zr(t){{var s=re();if(!s){var d=typeof t=="string"?t:t.displayName||t.name;d&&(s=`
|
|
18
|
+
|
|
19
|
+
Check the top-level render call using <`+d+">.")}return s}}function dr(t,s){{if(!t._store||t._store.validated||t.key!=null)return;t._store.validated=!0;var d=zr(s);if(lr[d])return;lr[d]=!0;var f="";t&&t._owner&&t._owner!==Ie.current&&(f=" It was passed a child from "+J(t._owner.type)+"."),le(t),W('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),le(null)}}function cr(t,s){{if(typeof t!="object")return;if(he(t))for(var d=0;d<t.length;d++){var f=t[d];ze(f)&&dr(f,s)}else if(ze(t))t._store&&(t._store.validated=!0);else if(t){var _=pe(t);if(typeof _=="function"&&_!==t.entries)for(var S=_.call(t),m;!(m=S.next()).done;)ze(m.value)&&dr(m.value,s)}}}function Q(t){{var s=t.type;if(s==null||typeof s=="string")return;var d;if(typeof s=="function")d=s.propTypes;else if(typeof s=="object"&&(s.$$typeof===g||s.$$typeof===B))d=s.propTypes;else return;if(d){var f=J(s);Ee(d,t.props,"prop",f,t)}else if(s.PropTypes!==void 0&&!de){de=!0;var _=J(s);W("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",_||"Unknown")}typeof s.getDefaultProps=="function"&&!s.getDefaultProps.isReactClassApproved&&W("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function $r(t){{for(var s=Object.keys(t.props),d=0;d<s.length;d++){var f=s[d];if(f!=="children"&&f!=="key"){le(t),W("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",f),le(null);break}}t.ref!==null&&(le(t),W("Invalid attribute `ref` supplied to `React.Fragment`."),le(null))}}function ur(t,s,d,f,_,S){{var m=Cr(t);if(!m){var b="";(t===void 0||typeof t=="object"&&t!==null&&Object.keys(t).length===0)&&(b+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var L=Mr(_);L?b+=L:b+=re();var M;t===null?M="null":he(t)?M="array":t!==void 0&&t.$$typeof===o?(M="<"+(J(t.type)||"Unknown")+" />",b=" Did you accidentally export a JSX literal instead of a component?"):M=typeof t,W("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",M,b)}var $=Dr(t,s,d,_,S);if($==null)return $;if(m){var Y=s.children;if(Y!==void 0)if(f)if(he(Y)){for(var te=0;te<Y.length;te++)cr(Y[te],t);Object.freeze&&Object.freeze(Y)}else W("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else cr(Y,t)}return t===u?$r($):Q($),$}}function Ar(t,s,d){return ur(t,s,d,!0)}function Wr(t,s,d){return ur(t,s,d,!1)}var Lr=Wr,be=Ar;We.Fragment=u,We.jsx=Lr,We.jsxs=be}()),We}var Le={};/**
|
|
20
|
+
* @license React
|
|
21
|
+
* react-jsx-runtime.production.min.js
|
|
22
|
+
*
|
|
23
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
24
|
+
*
|
|
25
|
+
* This source code is licensed under the MIT license found in the
|
|
26
|
+
* LICENSE file in the root directory of this source tree.
|
|
27
|
+
*/var mt;function kn(){if(mt)return Le;mt=1;var r=xe,o=Symbol.for("react.element"),l=Symbol.for("react.fragment"),u=Object.prototype.hasOwnProperty,p=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,k={key:!0,ref:!0,__self:!0,__source:!0};function C(R,g,z){var E,B={},A=null,H=null;z!==void 0&&(A=""+z),g.key!==void 0&&(A=""+g.key),g.ref!==void 0&&(H=g.ref);for(E in g)u.call(g,E)&&!k.hasOwnProperty(E)&&(B[E]=g[E]);if(R&&R.defaultProps)for(E in g=R.defaultProps,g)B[E]===void 0&&(B[E]=g[E]);return{$$typeof:o,type:R,key:A,ref:H,props:B,_owner:p.current}}return Le.Fragment=l,Le.jsx=C,Le.jsxs=C,Le}process.env.NODE_ENV==="production"?Zr.exports=kn():Zr.exports=xn();var ae=Zr.exports;const _n={},wn=["SSR","Icon","IconProps","IconContext","IconBase","IconWeight"],Tn=Object.entries(yn).reduce((r,[o,l])=>[...wn].includes(o)?r:{...r,[o]:l},{..._n}),wt=r=>ae.jsx(h.Icon,{...r,as:Tn[r.icon],weight:r.isFilled?"fill":"regular"}),Tt=xe.forwardRef((r,o)=>ae.jsx(h.IconButton,{...r,ref:o,icon:ae.jsx(wt,{icon:r.icon})}));Tt.displayName="IconButton";const Rt=xe.createContext({spacing:0,columns:1}),Et=xe.forwardRef(({children:r,alignEdges:o=!0,width:l,columns:u=1,spacing:p,...k},C)=>{const R=h.useTheme(),g=p??R.space[4],z=Array.isArray(g)?g.map(E=>-1*E):-1*g;return ae.jsx(Rt.Provider,{value:{spacing:g,columns:u},children:ae.jsx(h.Box,{m:o?z:void 0,children:ae.jsx(h.Flex,{flexWrap:"wrap",pl:g,pt:g,width:l??"100%",...k,ref:C,children:r})})})});Et.displayName="Grid";const Ct=xe.forwardRef(({children:r,width:o,...l},u)=>{const{columns:p,spacing:k}=xe.useContext(Rt),C=Array.isArray(o)?o.map(g=>g==="auto"?1:0):o==="auto"?1:0,R=()=>(Array.isArray(p)?p:[p]).map(z=>`${100/z}%`);return ae.jsx(h.Box,{width:o??R()??"100%",pr:k,pb:k,...l,sx:{flexGrow:C,...l.sx},ref:u,children:r})});Ct.displayName="GridItem";const Rn=h.Show,En=h.Hide,Cn=()=>ae.jsx(bn.Global,{styles:`
|
|
28
|
+
/* PP Agrandir */
|
|
29
|
+
/* Agrandir is used for page headers, section titles, brand moments and quotations. */
|
|
30
|
+
@font-face {
|
|
31
|
+
font-family: 'PP Agrandir';
|
|
32
|
+
src: url('https://cdn.everlywell.com/fonts/PP Agrandir/PPAgrandir-Variable.woff2') format('woff2');
|
|
33
|
+
font-style: normal;
|
|
34
|
+
font-display: swap;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/* DM Sans */
|
|
38
|
+
/* Used for: Body copy, button copy and smaller sizes. */
|
|
39
|
+
@font-face {
|
|
40
|
+
font-family: 'DM Sans';
|
|
41
|
+
src: url('https://cdn.everlywell.com/fonts/DM Sans/DMSans-Italic-VariableFont_opsz,wght.woff2') format('woff2');
|
|
42
|
+
font-style: italic;
|
|
43
|
+
font-stretch: normal;
|
|
44
|
+
font-display: swap;
|
|
45
|
+
}
|
|
46
|
+
@font-face {
|
|
47
|
+
font-family: 'DM Sans';
|
|
48
|
+
src: url('https://cdn.everlywell.com/fonts/DM Sans/DMSans-VariableFont_opsz,wght.woff2') format('woff2');
|
|
49
|
+
font-style: normal;
|
|
50
|
+
font-stretch: normal;
|
|
51
|
+
font-display: swap;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/* DM Mono */
|
|
55
|
+
/* Used for: Body copy, button copy and smaller sizes. */
|
|
56
|
+
@font-face {
|
|
57
|
+
font-family: 'DM Mono';
|
|
58
|
+
src: url('https://cdn.everlywell.com/fonts/DM Mono/DMMono-Light.woff2') format('woff2');
|
|
59
|
+
font-style: normal;
|
|
60
|
+
font-weight: 300;
|
|
61
|
+
font-stretch: normal;
|
|
62
|
+
font-display: swap;
|
|
63
|
+
}
|
|
64
|
+
@font-face {
|
|
65
|
+
font-family: 'DM Mono';
|
|
66
|
+
src: url('https://cdn.everlywell.com/fonts/DM Mono/DMMono-LightItalic.woff2') format('woff2');
|
|
67
|
+
font-style: italic;
|
|
68
|
+
font-weight: 300;
|
|
69
|
+
font-stretch: normal;
|
|
70
|
+
font-display: swap;
|
|
71
|
+
}
|
|
72
|
+
@font-face {
|
|
73
|
+
font-family: 'DM Mono';
|
|
74
|
+
src: url('https://cdn.everlywell.com/fonts/DM Mono/DMMono-Regular.woff2') format('woff2');
|
|
75
|
+
font-style: normal;
|
|
76
|
+
font-weight: 400;
|
|
77
|
+
font-stretch: normal;
|
|
78
|
+
font-display: swap;
|
|
79
|
+
}
|
|
80
|
+
@font-face {
|
|
81
|
+
font-family: 'DM Mono';
|
|
82
|
+
src: url('https://cdn.everlywell.com/fonts/DM Mono/DMMono-Italic.woff2') format('woff2');
|
|
83
|
+
font-style: italic;
|
|
84
|
+
font-weight: 400;
|
|
85
|
+
font-stretch: normal;
|
|
86
|
+
font-display: swap;
|
|
87
|
+
}
|
|
88
|
+
@font-face {
|
|
89
|
+
font-family: 'DM Mono';
|
|
90
|
+
src: url('https://cdn.everlywell.com/fonts/DM Mono/DMMono-Medium.woff2') format('woff2');
|
|
91
|
+
font-style: normal;
|
|
92
|
+
font-weight: 500;
|
|
93
|
+
font-stretch: normal;
|
|
94
|
+
font-display: swap;
|
|
95
|
+
}
|
|
96
|
+
@font-face {
|
|
97
|
+
font-family: 'DM Mono';
|
|
98
|
+
src: url('https://cdn.everlywell.com/fonts/DM Mono/DMMono-MediumItalic.woff2') format('woff2');
|
|
99
|
+
font-style: italic;
|
|
100
|
+
font-weight: 500;
|
|
101
|
+
font-stretch: normal;
|
|
102
|
+
font-display: swap;
|
|
103
|
+
}
|
|
104
|
+
`}),Fn=({children:r,...o})=>ae.jsxs(h.ChakraBaseProvider,{...o,children:[ae.jsx(Cn,{}),r]}),vt=["viridian","terracotta"],On=h.defineStyleConfig({baseStyle:{fontWeight:"medium",lineHeight:"body",letterSpacing:"normal",borderRadius:"50px",_disabled:{span:{display:"inline-flex"}}},sizes:{sm:{fontSize:["md","lg"],px:[3,4],py:[1,2],"&:has(> svg:only-child)":{px:3,py:3,svg:{fontSize:"1rem"}},svg:{fontSize:"1.5rem"}},md:{fontSize:["lg","xl"],px:[4,6],py:[3,4],"&:has(> svg:only-child)":{px:[3,4],py:[3,4]},svg:{fontSize:["1.25rem","1.5rem"]}},wide:{fontSize:"xl",px:12,py:4,width:"100%","&:has(> svg:only-child)":{px:4,py:4},svg:{fontSize:"1.5rem"}}},variants:{primary:r=>{const{colorScheme:o}=r;return vt.includes(o)?{bg:`${o}.base`,color:"tints.white",":hover, &.hover":{bg:`${o}.dark`},":active, &.active":{bg:`${o}.dark`},":disabled":{bg:"tints.lightGrey",color:"tints.medGrey"}}:{bg:"tints.white",color:"tints.black",":hover, &.hover":{bg:"viridian.wash"},":active, &.active":{bg:"viridian.wash"},":disabled":{bg:"tints.lightGrey",color:"tints.medGrey"}}},secondary:r=>{const{colorScheme:o}=r;return vt.includes(o)?{color:`${o}.base`,boxShadow:l=>`inset 0 0 0 2px ${l.colors[o].base}`,":hover, &.hover":{color:`${o}.dark`,boxShadow:l=>`inset 0 0 0 2px ${l.colors[o].dark}`},":active, &.active":{color:`${o}.dark`,boxShadow:l=>`inset 0 0 0 2px ${l.colors[o].dark}`},":disabled":{color:"tints.lightGrey",boxShadow:l=>`inset 0 0 0 2px ${l.colors.tints.lightGrey}`,opacity:.7}}:{color:"whit",boxShadow:l=>`inset 0 0 0 2px ${l.colors.tints.white}`,":hover, &.hover":{color:"tints.white",boxShadow:l=>`inset 0 0 0 2px ${l.colors.viridian.wash}`},":active, &.active":{color:"tints.white",boxShadow:l=>`inset 0 0 0 2px ${l.colors.viridian.wash}`},":disabled":{color:"tints.lightGrey",boxShadow:l=>`inset 0 0 0 2px ${l.colors.tints.lightGrey}`,opacity:.7}}}},defaultProps:{size:"md",variant:"primary",colorScheme:"viridian"}});function Ft(r){const o=typeof r;return r!=null&&(o==="object"||o==="function")&&!Array.isArray(r)}var yr={exports:{}};yr.exports;(function(r,o){var l=200,u="__lodash_hash_undefined__",p=800,k=16,C=9007199254740991,R="[object Arguments]",g="[object Array]",z="[object AsyncFunction]",E="[object Boolean]",B="[object Date]",A="[object Error]",H="[object Function]",ue="[object GeneratorFunction]",fe="[object Map]",pe="[object Number]",K="[object Null]",W="[object Object]",kr="[object Proxy]",_r="[object RegExp]",wr="[object Set]",Tr="[object String]",Rr="[object Undefined]",Er="[object WeakMap]",Ye="[object ArrayBuffer]",Cr="[object DataView]",Fr="[object Float32Array]",Ne="[object Float64Array]",J="[object Int8Array]",oe="[object Int16Array]",ve="[object Int32Array]",Ve="[object Uint8Array]",Ue="[object Uint8ClampedArray]",Xe="[object Uint16Array]",qe="[object Uint32Array]",Ke=/[\\^$.*+?()[\]{}|]/g,Je=/^\[object .+?Constructor\]$/,Ze=/^(?:0|[1-9]\d*)$/,O={};O[Fr]=O[Ne]=O[J]=O[oe]=O[ve]=O[Ve]=O[Ue]=O[Xe]=O[qe]=!0,O[R]=O[g]=O[Ye]=O[E]=O[Cr]=O[B]=O[A]=O[H]=O[fe]=O[pe]=O[W]=O[_r]=O[wr]=O[Tr]=O[Er]=!1;var Qe=typeof br=="object"&&br&&br.Object===Object&&br,Or=typeof self=="object"&&self&&self.Object===Object&&self,ie=Qe||Or||Function("return this")(),ke=o&&!o.nodeType&&o,ee=ke&&!0&&r&&!r.nodeType&&r,_e=ee&&ee.exports===ke,ge=_e&&Qe.process,er=function(){try{var e=ee&&ee.require&&ee.require("util").types;return e||ge&&ge.binding&&ge.binding("util")}catch{}}(),Be=er&&er.isTypedArray;function Ir(e,n,i){switch(i.length){case 0:return e.call(n);case 1:return e.call(n,i[0]);case 2:return e.call(n,i[0],i[1]);case 3:return e.call(n,i[0],i[1],i[2])}return e.apply(n,i)}function Br(e,n){for(var i=-1,c=Array(e);++i<e;)c[i]=n(i);return c}function we(e){return function(n){return e(n)}}function Te(e,n){return e==null?void 0:e[n]}function rr(e,n){return function(i){return e(n(i))}}var tr=Array.prototype,Re=Function.prototype,Ee=Object.prototype,Pe=ie["__core-js_shared__"],he=Re.toString,Z=Ee.hasOwnProperty,nr=function(){var e=/[^.]+$/.exec(Pe&&Pe.keys&&Pe.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),je=Ee.toString,ar=he.call(Object),ye=RegExp("^"+he.call(Z).replace(Ke,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ce=_e?ie.Buffer:void 0,De=ie.Symbol,Me=ie.Uint8Array,Fe=Ce?Ce.allocUnsafe:void 0,or=rr(Object.getPrototypeOf,Object),ir=Object.create,Pr=Ee.propertyIsEnumerable,jr=tr.splice,se=De?De.toStringTag:void 0,Oe=function(){try{var e=Hr(Object,"defineProperty");return e({},"",{}),e}catch{}}(),Dr=Ce?Ce.isBuffer:void 0,Ie=Math.max,sr=Date.now,le=Hr(ie,"Map"),de=Hr(Object,"create"),ze=function(){function e(){}return function(n){if(!Se(n))return{};if(ir)return ir(n);e.prototype=n;var i=new e;return e.prototype=void 0,i}}();function re(e){var n=-1,i=e==null?0:e.length;for(this.clear();++n<i;){var c=e[n];this.set(c[0],c[1])}}function Mr(){this.__data__=de?de(null):{},this.size=0}function lr(e){var n=this.has(e)&&delete this.__data__[e];return this.size-=n?1:0,n}function zr(e){var n=this.__data__;if(de){var i=n[e];return i===u?void 0:i}return Z.call(n,e)?n[e]:void 0}function dr(e){var n=this.__data__;return de?n[e]!==void 0:Z.call(n,e)}function cr(e,n){var i=this.__data__;return this.size+=this.has(e)?0:1,i[e]=de&&n===void 0?u:n,this}re.prototype.clear=Mr,re.prototype.delete=lr,re.prototype.get=zr,re.prototype.has=dr,re.prototype.set=cr;function Q(e){var n=-1,i=e==null?0:e.length;for(this.clear();++n<i;){var c=e[n];this.set(c[0],c[1])}}function $r(){this.__data__=[],this.size=0}function ur(e){var n=this.__data__,i=N(n,e);if(i<0)return!1;var c=n.length-1;return i==c?n.pop():jr.call(n,i,1),--this.size,!0}function Ar(e){var n=this.__data__,i=N(n,e);return i<0?void 0:n[i][1]}function Wr(e){return N(this.__data__,e)>-1}function Lr(e,n){var i=this.__data__,c=N(i,e);return c<0?(++this.size,i.push([e,n])):i[c][1]=n,this}Q.prototype.clear=$r,Q.prototype.delete=ur,Q.prototype.get=Ar,Q.prototype.has=Wr,Q.prototype.set=Lr;function be(e){var n=-1,i=e==null?0:e.length;for(this.clear();++n<i;){var c=e[n];this.set(c[0],c[1])}}function t(){this.size=0,this.__data__={hash:new re,map:new(le||Q),string:new re}}function s(e){var n=gr(this,e).delete(e);return this.size-=n?1:0,n}function d(e){return gr(this,e).get(e)}function f(e){return gr(this,e).has(e)}function _(e,n){var i=gr(this,e),c=i.size;return i.set(e,n),this.size+=i.size==c?0:1,this}be.prototype.clear=t,be.prototype.delete=s,be.prototype.get=d,be.prototype.has=f,be.prototype.set=_;function S(e){var n=this.__data__=new Q(e);this.size=n.size}function m(){this.__data__=new Q,this.size=0}function b(e){var n=this.__data__,i=n.delete(e);return this.size=n.size,i}function L(e){return this.__data__.get(e)}function M(e){return this.__data__.has(e)}function $(e,n){var i=this.__data__;if(i instanceof Q){var c=i.__data__;if(!le||c.length<l-1)return c.push([e,n]),this.size=++i.size,this;i=this.__data__=new be(c)}return i.set(e,n),this.size=i.size,this}S.prototype.clear=m,S.prototype.delete=b,S.prototype.get=L,S.prototype.has=M,S.prototype.set=$;function Y(e,n){var i=Vr(e),c=!i&&Nr(e),x=!i&&!c&&ct(e),I=!i&&!c&&!x&&ft(e),j=i||c||x||I,v=j?Br(e.length,String):[],D=v.length;for(var U in e)(n||Z.call(e,U))&&!(j&&(U=="length"||x&&(U=="offset"||U=="parent")||I&&(U=="buffer"||U=="byteLength"||U=="byteOffset")||lt(U,D)))&&v.push(U);return v}function te(e,n,i){(i!==void 0&&!hr(e[n],i)||i===void 0&&!(n in e))&&Gr(e,n,i)}function fr(e,n,i){var c=e[n];(!(Z.call(e,n)&&hr(c,i))||i===void 0&&!(n in e))&&Gr(e,n,i)}function N(e,n){for(var i=e.length;i--;)if(hr(e[i][0],n))return i;return-1}function Gr(e,n,i){n=="__proto__"&&Oe?Oe(e,n,{configurable:!0,enumerable:!0,value:i,writable:!0}):e[n]=i}var zt=Kt();function pr(e){return e==null?e===void 0?Rr:K:se&&se in Object(e)?Jt(e):nn(e)}function it(e){return $e(e)&&pr(e)==R}function $t(e){if(!Se(e)||rn(e))return!1;var n=Xr(e)?ye:Je;return n.test(ln(e))}function At(e){return $e(e)&&ut(e.length)&&!!O[pr(e)]}function Wt(e){if(!Se(e))return tn(e);var n=dt(e),i=[];for(var c in e)c=="constructor"&&(n||!Z.call(e,c))||i.push(c);return i}function st(e,n,i,c,x){e!==n&&zt(n,function(I,j){if(x||(x=new S),Se(I))Lt(e,n,j,i,st,c,x);else{var v=c?c(Yr(e,j),I,j+"",e,n,x):void 0;v===void 0&&(v=I),te(e,j,v)}},pt)}function Lt(e,n,i,c,x,I,j){var v=Yr(e,i),D=Yr(n,i),U=j.get(D);if(U){te(e,i,U);return}var V=I?I(v,D,i+"",e,n,j):void 0,Ae=V===void 0;if(Ae){var qr=Vr(D),Kr=!qr&&ct(D),ht=!qr&&!Kr&&ft(D);V=D,qr||Kr||ht?Vr(v)?V=v:dn(v)?V=Ut(v):Kr?(Ae=!1,V=Yt(D,!0)):ht?(Ae=!1,V=Vt(D,!0)):V=[]:cn(D)||Nr(D)?(V=v,Nr(v)?V=un(v):(!Se(v)||Xr(v))&&(V=Zt(D))):Ae=!1}Ae&&(j.set(D,V),x(V,D,c,I,j),j.delete(D)),te(e,i,V)}function Gt(e,n){return on(an(e,n,gt),e+"")}var Ht=Oe?function(e,n){return Oe(e,"toString",{configurable:!0,enumerable:!1,value:pn(n),writable:!0})}:gt;function Yt(e,n){if(n)return e.slice();var i=e.length,c=Fe?Fe(i):new e.constructor(i);return e.copy(c),c}function Nt(e){var n=new e.constructor(e.byteLength);return new Me(n).set(new Me(e)),n}function Vt(e,n){var i=n?Nt(e.buffer):e.buffer;return new e.constructor(i,e.byteOffset,e.length)}function Ut(e,n){var i=-1,c=e.length;for(n||(n=Array(c));++i<c;)n[i]=e[i];return n}function Xt(e,n,i,c){var x=!i;i||(i={});for(var I=-1,j=n.length;++I<j;){var v=n[I],D=c?c(i[v],e[v],v,i,e):void 0;D===void 0&&(D=e[v]),x?Gr(i,v,D):fr(i,v,D)}return i}function qt(e){return Gt(function(n,i){var c=-1,x=i.length,I=x>1?i[x-1]:void 0,j=x>2?i[2]:void 0;for(I=e.length>3&&typeof I=="function"?(x--,I):void 0,j&&Qt(i[0],i[1],j)&&(I=x<3?void 0:I,x=1),n=Object(n);++c<x;){var v=i[c];v&&e(n,v,c,I)}return n})}function Kt(e){return function(n,i,c){for(var x=-1,I=Object(n),j=c(n),v=j.length;v--;){var D=j[e?v:++x];if(i(I[D],D,I)===!1)break}return n}}function gr(e,n){var i=e.__data__;return en(n)?i[typeof n=="string"?"string":"hash"]:i.map}function Hr(e,n){var i=Te(e,n);return $t(i)?i:void 0}function Jt(e){var n=Z.call(e,se),i=e[se];try{e[se]=void 0;var c=!0}catch{}var x=je.call(e);return c&&(n?e[se]=i:delete e[se]),x}function Zt(e){return typeof e.constructor=="function"&&!dt(e)?ze(or(e)):{}}function lt(e,n){var i=typeof e;return n=n??C,!!n&&(i=="number"||i!="symbol"&&Ze.test(e))&&e>-1&&e%1==0&&e<n}function Qt(e,n,i){if(!Se(i))return!1;var c=typeof n;return(c=="number"?Ur(i)&<(n,i.length):c=="string"&&n in i)?hr(i[n],e):!1}function en(e){var n=typeof e;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?e!=="__proto__":e===null}function rn(e){return!!nr&&nr in e}function dt(e){var n=e&&e.constructor,i=typeof n=="function"&&n.prototype||Ee;return e===i}function tn(e){var n=[];if(e!=null)for(var i in Object(e))n.push(i);return n}function nn(e){return je.call(e)}function an(e,n,i){return n=Ie(n===void 0?e.length-1:n,0),function(){for(var c=arguments,x=-1,I=Ie(c.length-n,0),j=Array(I);++x<I;)j[x]=c[n+x];x=-1;for(var v=Array(n+1);++x<n;)v[x]=c[x];return v[n]=i(j),Ir(e,this,v)}}function Yr(e,n){if(!(n==="constructor"&&typeof e[n]=="function")&&n!="__proto__")return e[n]}var on=sn(Ht);function sn(e){var n=0,i=0;return function(){var c=sr(),x=k-(c-i);if(i=c,x>0){if(++n>=p)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}function ln(e){if(e!=null){try{return he.call(e)}catch{}try{return e+""}catch{}}return""}function hr(e,n){return e===n||e!==e&&n!==n}var Nr=it(function(){return arguments}())?it:function(e){return $e(e)&&Z.call(e,"callee")&&!Pr.call(e,"callee")},Vr=Array.isArray;function Ur(e){return e!=null&&ut(e.length)&&!Xr(e)}function dn(e){return $e(e)&&Ur(e)}var ct=Dr||gn;function Xr(e){if(!Se(e))return!1;var n=pr(e);return n==H||n==ue||n==z||n==kr}function ut(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=C}function Se(e){var n=typeof e;return e!=null&&(n=="object"||n=="function")}function $e(e){return e!=null&&typeof e=="object"}function cn(e){if(!$e(e)||pr(e)!=W)return!1;var n=or(e);if(n===null)return!0;var i=Z.call(n,"constructor")&&n.constructor;return typeof i=="function"&&i instanceof i&&he.call(i)==ar}var ft=Be?we(Be):At;function un(e){return Xt(e,pt(e))}function pt(e){return Ur(e)?Y(e,!0):Wt(e)}var fn=qt(function(e,n,i,c){st(e,n,i,c)});function pn(e){return function(){return e}}function gt(e){return e}function gn(){return!1}r.exports=fn})(yr,yr.exports);var In=yr.exports;const Bn=Sn(In);var Pn=r=>/!(important)?$/.test(r),yt=r=>typeof r=="string"?r.replace(/!(important)?$/,"").trim():r,jn=(r,o)=>l=>{const u=String(o),p=Pn(u),k=yt(u),C=r?`${r}.${k}`:k;let R=Ft(l.__cssMap)&&C in l.__cssMap?l.__cssMap[C].varRef:o;return R=yt(R),p?`${R} !important`:R};function ot(r){const{scale:o,transform:l,compose:u}=r;return(k,C)=>{var R;const g=jn(o,k)(C);let z=(R=l==null?void 0:l(g,C))!=null?R:g;return u&&(z=u(z,C)),z}}var mr=(...r)=>o=>r.reduce((l,u)=>u(l),o);function X(r,o){return l=>{const u={property:l,scale:r};return u.transform=ot({scale:r,transform:o}),u}}var Dn=({rtl:r,ltr:o})=>l=>l.direction==="rtl"?r:o;function Mn(r){const{property:o,scale:l,transform:u}=r;return{scale:l,property:Dn(o),transform:l?ot({scale:l,compose:u}):u}}var Ot=["rotate(var(--chakra-rotate, 0))","scaleX(var(--chakra-scale-x, 1))","scaleY(var(--chakra-scale-y, 1))","skewX(var(--chakra-skew-x, 0))","skewY(var(--chakra-skew-y, 0))"];function zn(){return["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...Ot].join(" ")}function $n(){return["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...Ot].join(" ")}var An={"--chakra-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-sepia":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-drop-shadow":"var(--chakra-empty,/*!*/ /*!*/)",filter:["var(--chakra-blur)","var(--chakra-brightness)","var(--chakra-contrast)","var(--chakra-grayscale)","var(--chakra-hue-rotate)","var(--chakra-invert)","var(--chakra-saturate)","var(--chakra-sepia)","var(--chakra-drop-shadow)"].join(" ")},Wn={backdropFilter:["var(--chakra-backdrop-blur)","var(--chakra-backdrop-brightness)","var(--chakra-backdrop-contrast)","var(--chakra-backdrop-grayscale)","var(--chakra-backdrop-hue-rotate)","var(--chakra-backdrop-invert)","var(--chakra-backdrop-opacity)","var(--chakra-backdrop-saturate)","var(--chakra-backdrop-sepia)"].join(" "),"--chakra-backdrop-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-opacity":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-sepia":"var(--chakra-empty,/*!*/ /*!*/)"};function Ln(r){return{"--chakra-ring-offset-shadow":"var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)","--chakra-ring-shadow":"var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)","--chakra-ring-width":r,boxShadow:["var(--chakra-ring-offset-shadow)","var(--chakra-ring-shadow)","var(--chakra-shadow, 0 0 #0000)"].join(", ")}}var Gn={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},Qr={"to-t":"to top","to-tr":"to top right","to-r":"to right","to-br":"to bottom right","to-b":"to bottom","to-bl":"to bottom left","to-l":"to left","to-tl":"to top left"},Hn=new Set(Object.values(Qr)),et=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),Yn=r=>r.trim();function Nn(r,o){if(r==null||et.has(r))return r;if(!(rt(r)||et.has(r)))return`url('${r}')`;const p=/(^[a-z-A-Z]+)\((.*)\)/g.exec(r),k=p==null?void 0:p[1],C=p==null?void 0:p[2];if(!k||!C)return r;const R=k.includes("-gradient")?k:`${k}-gradient`,[g,...z]=C.split(",").map(Yn).filter(Boolean);if((z==null?void 0:z.length)===0)return r;const E=g in Qr?Qr[g]:g;z.unshift(E);const B=z.map(A=>{if(Hn.has(A))return A;const H=A.indexOf(" "),[ue,fe]=H!==-1?[A.substr(0,H),A.substr(H+1)]:[A],pe=rt(fe)?fe:fe&&fe.split(" "),K=`colors.${ue}`,W=K in o.__cssMap?o.__cssMap[K].varRef:ue;return pe?[W,...Array.isArray(pe)?pe:[pe]].join(" "):W});return`${R}(${B.join(", ")})`}var rt=r=>typeof r=="string"&&r.includes("(")&&r.includes(")"),Vn=(r,o)=>Nn(r,o??{});function Un(r){return/^var\(--.+\)$/.test(r)}var Xn=r=>{const o=parseFloat(r.toString()),l=r.toString().replace(String(o),"");return{unitless:!l,value:o,unit:l}},ne=r=>o=>`${r}(${o})`,y={filter(r){return r!=="auto"?r:An},backdropFilter(r){return r!=="auto"?r:Wn},ring(r){return Ln(y.px(r))},bgClip(r){return r==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:r}},transform(r){return r==="auto"?zn():r==="auto-gpu"?$n():r},vh(r){return r==="$100vh"?"var(--chakra-vh)":r},px(r){if(r==null)return r;const{unitless:o}=Xn(r);return o||typeof r=="number"?`${r}px`:r},fraction(r){return typeof r!="number"||r>1?r:`${r*100}%`},float(r,o){const l={left:"right",right:"left"};return o.direction==="rtl"?l[r]:r},degree(r){if(Un(r)||r==null)return r;const o=typeof r=="string"&&!r.endsWith("deg");return typeof r=="number"||o?`${r}deg`:r},gradient:Vn,blur:ne("blur"),opacity:ne("opacity"),brightness:ne("brightness"),contrast:ne("contrast"),dropShadow:ne("drop-shadow"),grayscale:ne("grayscale"),hueRotate:r=>ne("hue-rotate")(y.degree(r)),invert:ne("invert"),saturate:ne("saturate"),sepia:ne("sepia"),bgImage(r){return r==null||rt(r)||et.has(r)?r:`url(${r})`},outline(r){const o=String(r)==="0"||String(r)==="none";return r!==null&&o?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:r}},flexDirection(r){var o;const{space:l,divide:u}=(o=Gn[r])!=null?o:{},p={flexDirection:r};return l&&(p[l]=1),u&&(p[u]=1),p}},a={borderWidths:X("borderWidths"),borderStyles:X("borderStyles"),colors:X("colors"),borders:X("borders"),gradients:X("gradients",y.gradient),radii:X("radii",y.px),space:X("space",mr(y.vh,y.px)),spaceT:X("space",mr(y.vh,y.px)),degreeT(r){return{property:r,transform:y.degree}},prop(r,o,l){return{property:r,scale:o,...o&&{transform:ot({scale:o,transform:l})}}},propT(r,o){return{property:r,transform:o}},sizes:X("sizes",mr(y.vh,y.px)),sizesT:X("sizes",mr(y.vh,y.fraction)),shadows:X("shadows"),logical:Mn,blur:X("blur",y.blur)},vr={background:a.colors("background"),backgroundColor:a.colors("backgroundColor"),backgroundImage:a.gradients("backgroundImage"),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:y.bgClip},bgSize:a.prop("backgroundSize"),bgPosition:a.prop("backgroundPosition"),bg:a.colors("background"),bgColor:a.colors("backgroundColor"),bgPos:a.prop("backgroundPosition"),bgRepeat:a.prop("backgroundRepeat"),bgAttachment:a.prop("backgroundAttachment"),bgGradient:a.gradients("backgroundImage"),bgClip:{transform:y.bgClip}};Object.assign(vr,{bgImage:vr.backgroundImage,bgImg:vr.backgroundImage});var w={border:a.borders("border"),borderWidth:a.borderWidths("borderWidth"),borderStyle:a.borderStyles("borderStyle"),borderColor:a.colors("borderColor"),borderRadius:a.radii("borderRadius"),borderTop:a.borders("borderTop"),borderBlockStart:a.borders("borderBlockStart"),borderTopLeftRadius:a.radii("borderTopLeftRadius"),borderStartStartRadius:a.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:a.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:a.radii("borderTopRightRadius"),borderStartEndRadius:a.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:a.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:a.borders("borderRight"),borderInlineEnd:a.borders("borderInlineEnd"),borderBottom:a.borders("borderBottom"),borderBlockEnd:a.borders("borderBlockEnd"),borderBottomLeftRadius:a.radii("borderBottomLeftRadius"),borderBottomRightRadius:a.radii("borderBottomRightRadius"),borderLeft:a.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:a.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:a.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:a.borders(["borderLeft","borderRight"]),borderInline:a.borders("borderInline"),borderY:a.borders(["borderTop","borderBottom"]),borderBlock:a.borders("borderBlock"),borderTopWidth:a.borderWidths("borderTopWidth"),borderBlockStartWidth:a.borderWidths("borderBlockStartWidth"),borderTopColor:a.colors("borderTopColor"),borderBlockStartColor:a.colors("borderBlockStartColor"),borderTopStyle:a.borderStyles("borderTopStyle"),borderBlockStartStyle:a.borderStyles("borderBlockStartStyle"),borderBottomWidth:a.borderWidths("borderBottomWidth"),borderBlockEndWidth:a.borderWidths("borderBlockEndWidth"),borderBottomColor:a.colors("borderBottomColor"),borderBlockEndColor:a.colors("borderBlockEndColor"),borderBottomStyle:a.borderStyles("borderBottomStyle"),borderBlockEndStyle:a.borderStyles("borderBlockEndStyle"),borderLeftWidth:a.borderWidths("borderLeftWidth"),borderInlineStartWidth:a.borderWidths("borderInlineStartWidth"),borderLeftColor:a.colors("borderLeftColor"),borderInlineStartColor:a.colors("borderInlineStartColor"),borderLeftStyle:a.borderStyles("borderLeftStyle"),borderInlineStartStyle:a.borderStyles("borderInlineStartStyle"),borderRightWidth:a.borderWidths("borderRightWidth"),borderInlineEndWidth:a.borderWidths("borderInlineEndWidth"),borderRightColor:a.colors("borderRightColor"),borderInlineEndColor:a.colors("borderInlineEndColor"),borderRightStyle:a.borderStyles("borderRightStyle"),borderInlineEndStyle:a.borderStyles("borderInlineEndStyle"),borderTopRadius:a.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:a.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:a.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:a.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(w,{rounded:w.borderRadius,roundedTop:w.borderTopRadius,roundedTopLeft:w.borderTopLeftRadius,roundedTopRight:w.borderTopRightRadius,roundedTopStart:w.borderStartStartRadius,roundedTopEnd:w.borderStartEndRadius,roundedBottom:w.borderBottomRadius,roundedBottomLeft:w.borderBottomLeftRadius,roundedBottomRight:w.borderBottomRightRadius,roundedBottomStart:w.borderEndStartRadius,roundedBottomEnd:w.borderEndEndRadius,roundedLeft:w.borderLeftRadius,roundedRight:w.borderRightRadius,roundedStart:w.borderInlineStartRadius,roundedEnd:w.borderInlineEndRadius,borderStart:w.borderInlineStart,borderEnd:w.borderInlineEnd,borderTopStartRadius:w.borderStartStartRadius,borderTopEndRadius:w.borderStartEndRadius,borderBottomStartRadius:w.borderEndStartRadius,borderBottomEndRadius:w.borderEndEndRadius,borderStartRadius:w.borderInlineStartRadius,borderEndRadius:w.borderInlineEndRadius,borderStartWidth:w.borderInlineStartWidth,borderEndWidth:w.borderInlineEndWidth,borderStartColor:w.borderInlineStartColor,borderEndColor:w.borderInlineEndColor,borderStartStyle:w.borderInlineStartStyle,borderEndStyle:w.borderInlineEndStyle});var qn={color:a.colors("color"),textColor:a.colors("color"),fill:a.colors("fill"),stroke:a.colors("stroke")},tt={boxShadow:a.shadows("boxShadow"),mixBlendMode:!0,blendMode:a.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:a.prop("backgroundBlendMode"),opacity:!0};Object.assign(tt,{shadow:tt.boxShadow});var Kn={filter:{transform:y.filter},blur:a.blur("--chakra-blur"),brightness:a.propT("--chakra-brightness",y.brightness),contrast:a.propT("--chakra-contrast",y.contrast),hueRotate:a.propT("--chakra-hue-rotate",y.hueRotate),invert:a.propT("--chakra-invert",y.invert),saturate:a.propT("--chakra-saturate",y.saturate),dropShadow:a.propT("--chakra-drop-shadow",y.dropShadow),backdropFilter:{transform:y.backdropFilter},backdropBlur:a.blur("--chakra-backdrop-blur"),backdropBrightness:a.propT("--chakra-backdrop-brightness",y.brightness),backdropContrast:a.propT("--chakra-backdrop-contrast",y.contrast),backdropHueRotate:a.propT("--chakra-backdrop-hue-rotate",y.hueRotate),backdropInvert:a.propT("--chakra-backdrop-invert",y.invert),backdropSaturate:a.propT("--chakra-backdrop-saturate",y.saturate)},Sr={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:y.flexDirection},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:a.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:a.space("gap"),rowGap:a.space("rowGap"),columnGap:a.space("columnGap")};Object.assign(Sr,{flexDir:Sr.flexDirection});var It={gridGap:a.space("gridGap"),gridColumnGap:a.space("gridColumnGap"),gridRowGap:a.space("gridRowGap"),gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridColumnStart:!0,gridColumnEnd:!0,gridRowStart:!0,gridRowEnd:!0,gridAutoRows:!0,gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0},Jn={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:y.outline},outlineOffset:!0,outlineColor:a.colors("outlineColor")},q={width:a.sizesT("width"),inlineSize:a.sizesT("inlineSize"),height:a.sizes("height"),blockSize:a.sizes("blockSize"),boxSize:a.sizes(["width","height"]),minWidth:a.sizes("minWidth"),minInlineSize:a.sizes("minInlineSize"),minHeight:a.sizes("minHeight"),minBlockSize:a.sizes("minBlockSize"),maxWidth:a.sizes("maxWidth"),maxInlineSize:a.sizes("maxInlineSize"),maxHeight:a.sizes("maxHeight"),maxBlockSize:a.sizes("maxBlockSize"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,aspectRatio:!0,hideFrom:{scale:"breakpoints",transform:(r,o)=>{var l,u,p;return{[`@media screen and (min-width: ${(p=(u=(l=o.__breakpoints)==null?void 0:l.get(r))==null?void 0:u.minW)!=null?p:r})`]:{display:"none"}}}},hideBelow:{scale:"breakpoints",transform:(r,o)=>{var l,u,p;return{[`@media screen and (max-width: ${(p=(u=(l=o.__breakpoints)==null?void 0:l.get(r))==null?void 0:u._minW)!=null?p:r})`]:{display:"none"}}}},verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:a.propT("float",y.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(q,{w:q.width,h:q.height,minW:q.minWidth,maxW:q.maxWidth,minH:q.minHeight,maxH:q.maxHeight,overscroll:q.overscrollBehavior,overscrollX:q.overscrollBehaviorX,overscrollY:q.overscrollBehaviorY});var Zn={listStyleType:!0,listStylePosition:!0,listStylePos:a.prop("listStylePosition"),listStyleImage:!0,listStyleImg:a.prop("listStyleImage")};function Qn(r,o,l,u){const p=typeof o=="string"?o.split("."):[o];for(u=0;u<p.length&&r;u+=1)r=r[p[u]];return r===void 0?l:r}var ea=r=>{const o=new WeakMap;return(u,p,k,C)=>{if(typeof u>"u")return r(u,p,k);o.has(u)||o.set(u,new Map);const R=o.get(u);if(R.has(p))return R.get(p);const g=r(u,p,k,C);return R.set(p,g),g}},ra=ea(Qn),ta={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},na={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},Jr=(r,o,l)=>{const u={},p=ra(r,o,{});for(const k in p)k in l&&l[k]!=null||(u[k]=p[k]);return u},aa={srOnly:{transform(r){return r===!0?ta:r==="focusable"?na:{}}},layerStyle:{processResult:!0,transform:(r,o,l)=>Jr(o,`layerStyles.${r}`,l)},textStyle:{processResult:!0,transform:(r,o,l)=>Jr(o,`textStyles.${r}`,l)},apply:{processResult:!0,transform:(r,o,l)=>Jr(o,r,l)}},He={position:!0,pos:a.prop("position"),zIndex:a.prop("zIndex","zIndices"),inset:a.spaceT("inset"),insetX:a.spaceT(["left","right"]),insetInline:a.spaceT("insetInline"),insetY:a.spaceT(["top","bottom"]),insetBlock:a.spaceT("insetBlock"),top:a.spaceT("top"),insetBlockStart:a.spaceT("insetBlockStart"),bottom:a.spaceT("bottom"),insetBlockEnd:a.spaceT("insetBlockEnd"),left:a.spaceT("left"),insetInlineStart:a.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:a.spaceT("right"),insetInlineEnd:a.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(He,{insetStart:He.insetInlineStart,insetEnd:He.insetInlineEnd});var oa={ring:{transform:y.ring},ringColor:a.colors("--chakra-ring-color"),ringOffset:a.prop("--chakra-ring-offset-width"),ringOffsetColor:a.colors("--chakra-ring-offset-color"),ringInset:a.prop("--chakra-ring-inset")},P={margin:a.spaceT("margin"),marginTop:a.spaceT("marginTop"),marginBlockStart:a.spaceT("marginBlockStart"),marginRight:a.spaceT("marginRight"),marginInlineEnd:a.spaceT("marginInlineEnd"),marginBottom:a.spaceT("marginBottom"),marginBlockEnd:a.spaceT("marginBlockEnd"),marginLeft:a.spaceT("marginLeft"),marginInlineStart:a.spaceT("marginInlineStart"),marginX:a.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:a.spaceT("marginInline"),marginY:a.spaceT(["marginTop","marginBottom"]),marginBlock:a.spaceT("marginBlock"),padding:a.space("padding"),paddingTop:a.space("paddingTop"),paddingBlockStart:a.space("paddingBlockStart"),paddingRight:a.space("paddingRight"),paddingBottom:a.space("paddingBottom"),paddingBlockEnd:a.space("paddingBlockEnd"),paddingLeft:a.space("paddingLeft"),paddingInlineStart:a.space("paddingInlineStart"),paddingInlineEnd:a.space("paddingInlineEnd"),paddingX:a.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:a.space("paddingInline"),paddingY:a.space(["paddingTop","paddingBottom"]),paddingBlock:a.space("paddingBlock")};Object.assign(P,{m:P.margin,mt:P.marginTop,mr:P.marginRight,me:P.marginInlineEnd,marginEnd:P.marginInlineEnd,mb:P.marginBottom,ml:P.marginLeft,ms:P.marginInlineStart,marginStart:P.marginInlineStart,mx:P.marginX,my:P.marginY,p:P.padding,pt:P.paddingTop,py:P.paddingY,px:P.paddingX,pb:P.paddingBottom,pl:P.paddingLeft,ps:P.paddingInlineStart,paddingStart:P.paddingInlineStart,pr:P.paddingRight,pe:P.paddingInlineEnd,paddingEnd:P.paddingInlineEnd});var ia={textDecorationColor:a.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:a.shadows("textShadow")},sa={clipPath:!0,transform:a.propT("transform",y.transform),transformOrigin:!0,translateX:a.spaceT("--chakra-translate-x"),translateY:a.spaceT("--chakra-translate-y"),skewX:a.degreeT("--chakra-skew-x"),skewY:a.degreeT("--chakra-skew-y"),scaleX:a.prop("--chakra-scale-x"),scaleY:a.prop("--chakra-scale-y"),scale:a.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:a.degreeT("--chakra-rotate")},la={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:a.prop("transitionDuration","transition.duration"),transitionProperty:a.prop("transitionProperty","transition.property"),transitionTimingFunction:a.prop("transitionTimingFunction","transition.easing")},da={fontFamily:a.prop("fontFamily","fonts"),fontSize:a.prop("fontSize","fontSizes",y.px),fontWeight:a.prop("fontWeight","fontWeights"),lineHeight:a.prop("lineHeight","lineHeights"),letterSpacing:a.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,textIndent:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,isTruncated:{transform(r){if(r===!0)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}},noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"}},ca={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:a.spaceT("scrollMargin"),scrollMarginTop:a.spaceT("scrollMarginTop"),scrollMarginBottom:a.spaceT("scrollMarginBottom"),scrollMarginLeft:a.spaceT("scrollMarginLeft"),scrollMarginRight:a.spaceT("scrollMarginRight"),scrollMarginX:a.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:a.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:a.spaceT("scrollPadding"),scrollPaddingTop:a.spaceT("scrollPaddingTop"),scrollPaddingBottom:a.spaceT("scrollPaddingBottom"),scrollPaddingLeft:a.spaceT("scrollPaddingLeft"),scrollPaddingRight:a.spaceT("scrollPaddingRight"),scrollPaddingX:a.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:a.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function Bt(r){return Ft(r)&&r.reference?r.reference:String(r)}var xr=(r,...o)=>o.map(Bt).join(` ${r} `).replace(/calc/g,""),St=(...r)=>`calc(${xr("+",...r)})`,xt=(...r)=>`calc(${xr("-",...r)})`,nt=(...r)=>`calc(${xr("*",...r)})`,kt=(...r)=>`calc(${xr("/",...r)})`,_t=r=>{const o=Bt(r);return o!=null&&!Number.isNaN(parseFloat(o))?String(o).startsWith("-")?String(o).slice(1):`-${o}`:nt(o,-1)},Ge=Object.assign(r=>({add:(...o)=>Ge(St(r,...o)),subtract:(...o)=>Ge(xt(r,...o)),multiply:(...o)=>Ge(nt(r,...o)),divide:(...o)=>Ge(kt(r,...o)),negate:()=>Ge(_t(r)),toString:()=>r.toString()}),{add:St,subtract:xt,multiply:nt,divide:kt,negate:_t}),G={hover:(r,o)=>`${r}:hover ${o}, ${r}[data-hover] ${o}`,focus:(r,o)=>`${r}:focus ${o}, ${r}[data-focus] ${o}`,focusVisible:(r,o)=>`${r}:focus-visible ${o}`,focusWithin:(r,o)=>`${r}:focus-within ${o}`,active:(r,o)=>`${r}:active ${o}, ${r}[data-active] ${o}`,disabled:(r,o)=>`${r}:disabled ${o}, ${r}[data-disabled] ${o}`,invalid:(r,o)=>`${r}:invalid ${o}, ${r}[data-invalid] ${o}`,checked:(r,o)=>`${r}:checked ${o}, ${r}[data-checked] ${o}`,indeterminate:(r,o)=>`${r}:indeterminate ${o}, ${r}[aria-checked=mixed] ${o}, ${r}[data-indeterminate] ${o}`,readOnly:(r,o)=>`${r}:read-only ${o}, ${r}[readonly] ${o}, ${r}[data-read-only] ${o}`,expanded:(r,o)=>`${r}:read-only ${o}, ${r}[aria-expanded=true] ${o}, ${r}[data-expanded] ${o}`,placeholderShown:(r,o)=>`${r}:placeholder-shown ${o}`},me=r=>Pt(o=>r(o,"&"),"[role=group]","[data-group]",".group"),ce=r=>Pt(o=>r(o,"~ &"),"[data-peer]",".peer"),Pt=(r,...o)=>o.map(r).join(", "),jt={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within",_focusVisible:"&:focus-visible, &[data-focus-visible]",_disabled:"&:disabled, &[disabled], &[aria-disabled=true], &[data-disabled]",_readOnly:"&[aria-readonly=true], &[readonly], &[data-readonly]",_before:"&::before",_after:"&::after",_empty:"&:empty",_expanded:"&[aria-expanded=true], &[data-expanded]",_checked:"&[aria-checked=true], &[data-checked]",_grabbed:"&[aria-grabbed=true], &[data-grabbed]",_pressed:"&[aria-pressed=true], &[data-pressed]",_invalid:"&[aria-invalid=true], &[data-invalid]",_valid:"&[data-valid], &[data-state=valid]",_loading:"&[data-loading], &[aria-busy=true]",_selected:"&[aria-selected=true], &[data-selected]",_hidden:"&[hidden], &[data-hidden]",_autofill:"&:-webkit-autofill",_even:"&:nth-of-type(even)",_odd:"&:nth-of-type(odd)",_first:"&:first-of-type",_firstLetter:"&::first-letter",_last:"&:last-of-type",_notFirst:"&:not(:first-of-type)",_notLast:"&:not(:last-of-type)",_visited:"&:visited",_activeLink:"&[aria-current=page]",_activeStep:"&[aria-current=step]",_indeterminate:"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]",_groupHover:me(G.hover),_peerHover:ce(G.hover),_groupFocus:me(G.focus),_peerFocus:ce(G.focus),_groupFocusVisible:me(G.focusVisible),_peerFocusVisible:ce(G.focusVisible),_groupActive:me(G.active),_peerActive:ce(G.active),_groupDisabled:me(G.disabled),_peerDisabled:ce(G.disabled),_groupInvalid:me(G.invalid),_peerInvalid:ce(G.invalid),_groupChecked:me(G.checked),_peerChecked:ce(G.checked),_groupFocusWithin:me(G.focusWithin),_peerFocusWithin:ce(G.focusWithin),_peerPlaceholderShown:ce(G.placeholderShown),_placeholder:"&::placeholder",_placeholderShown:"&:placeholder-shown",_fullScreen:"&:fullscreen",_selection:"&::selection",_rtl:"[dir=rtl] &, &[dir=rtl]",_ltr:"[dir=ltr] &, &[dir=ltr]",_mediaDark:"@media (prefers-color-scheme: dark)",_mediaReduceMotion:"@media (prefers-reduced-motion: reduce)",_dark:".chakra-ui-dark &:not([data-theme]),[data-theme=dark] &:not([data-theme]),&[data-theme=dark]",_light:".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]",_horizontal:"&[data-orientation=horizontal]",_vertical:"&[data-orientation=vertical]"},ua=Object.keys(jt),Dt=Bn({},vr,w,qn,Sr,q,Kn,oa,Jn,It,aa,He,tt,P,ca,da,ia,sa,Zn,la);Object.assign({},P,q,Sr,It,He);[...Object.keys(Dt),...ua];({...Dt,...jt});function Mt(r){return{definePartsStyle(o){return o},defineMultiStyleConfig(o){return{parts:r,...o}}}}const fa=Mt(["button","list","item","groupTitle","command","divider"]),pa=fa.defineMultiStyleConfig({baseStyle:{button:{},list:{boxShadow:"lg",backgroundColor:"tints.white",border:"1.5px solid",borderColor:"viridian.base",borderRadius:"lg"},item:{fontWeight:"medium",lineHeight:"normal",color:"tints.darkGrey",_hover:{backgroundColor:"viridian.wash"},_disabled:{backgroundColor:"tints.lightCream",color:"tints.medGrey",cursor:"not-allowed"},_first:{borderTopRadius:"lg"},_last:{borderBottomRadius:"lg"}},groupTitle:{color:"viridian.600",letterSpacing:"wider"},command:{color:"tints.uiGrey"},divider:{borderColor:"viridian.base",borderBottom:"xs solid"}},sizes:{sm:{button:{},item:{fontSize:["2xs","sm"],paddingX:"3",paddingY:"3"},groupTitle:{fontSize:["md","lg"],paddingX:"2",paddingY:"3"},divider:{marginY:"2"}},md:{item:{fontSize:["3xs","lg"],paddingX:"4",paddingY:"3"},groupTitle:{fontSize:["lg","xl"],paddingX:"2",paddingY:"3"}},lg:{item:{fontSize:["xl","2xl"],paddingX:"3",paddingY:"4"},groupTitle:{fontSize:["3xl","4xl"],paddingX:"5",paddingY:"4"}}},variants:{},defaultProps:{size:"md"}}),ga=h.defineStyleConfig({baseStyle:{color:"viridian.base",fontWeight:"normal",_hover:{textDecoration:"underline",cursor:"pointer"}},variants:{},sizes:{sm:{fontSize:["xs","sm"],lineHeight:"150%"},md:{fontSize:["sm","md"],lineHeight:"150%"},lg:{fontSize:["md","lg"],lineHeight:"150%"}},defaultProps:{size:"md"}}),ha=h.defineStyleConfig({baseStyle:{fontFamily:"heading",fontWeight:"normal",color:"tints.black"},sizes:{"3xl":{fontSize:["6xl","11xl"],lineHeight:"shorter"},"2xl":{fontSize:["6xl","9xl"],lineHeight:"shorter"},xl:{fontSize:["4xl","7xl"],lineHeight:"shorter"},lg:{fontFamily:"body",fontWeight:"medium",fontSize:["3xl","6xl"],lineHeight:"short"},md:{fontFamily:"body",fontWeight:"medium",fontSize:["2xl","4xl"],lineHeight:"short"},sm:{fontFamily:"body",fontWeight:"medium",fontSize:["lg","3xl"],lineHeight:"140%"}},defaultProps:{size:"md"}}),ba=h.defineStyleConfig({baseStyle:{fontFamily:"body",fontWeight:"normal",lineHeight:"base",letterSpacing:"normal",fontSize:"md",p:0},sizes:{xs:{fontSize:["2xs","xs"]},sm:{fontSize:["xs","sm"]},md:{fontSize:["sm","md"]},lg:{fontSize:["md","lg"]},xl:{fontSize:["lg","2xl"],lineHeight:["short","shorter"]}},defaultProps:{size:"lg"}}),ma=h.defineStyleConfig({baseStyle:{},sizes:{sm:{fontSize:"1rem"},md:{fontSize:"1.5rem"},lg:{fontSize:"2rem"}},variants:{},defaultProps:{size:"md"}});function T(r,o={}){let l=!1;function u(){if(!l){l=!0;return}throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?")}function p(...E){u();for(const B of E)o[B]=g(B);return T(r,o)}function k(...E){for(const B of E)B in o||(o[B]=g(B));return T(r,o)}function C(){return Object.fromEntries(Object.entries(o).map(([B,A])=>[B,A.selector]))}function R(){return Object.fromEntries(Object.entries(o).map(([B,A])=>[B,A.className]))}function g(E){const H=`chakra-${(["container","root"].includes(E??"")?[r]:[r,E]).filter(Boolean).join("__")}`;return{className:H,selector:`.${H}`,toString:()=>E}}return{parts:p,toPart:g,extend:k,selectors:C,classnames:R,get keys(){return Object.keys(o)},__type:{}}}T("accordion").parts("root","container","button","panel").extend("icon");T("alert").parts("title","description","container").extend("icon","spinner");T("avatar").parts("label","badge","container").extend("excessLabel","group");T("breadcrumb").parts("link","item","container").extend("separator");T("button").parts();T("checkbox").parts("control","icon","container").extend("label");T("progress").parts("track","filledTrack").extend("label");var va=T("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer");T("editable").parts("preview","input","textarea");T("form").parts("container","requiredIndicator","helperText");T("formError").parts("text","icon");T("input").parts("addon","field","element","group");T("list").parts("container","item","icon");T("menu").parts("button","list","item").extend("groupTitle","icon","command","divider");T("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer");T("numberinput").parts("root","field","stepperGroup","stepper");T("pininput").parts("field");T("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton");T("progress").parts("label","filledTrack","track");T("radio").parts("container","control","label");T("select").parts("field","icon");T("slider").parts("container","track","thumb","filledTrack","mark");T("stat").parts("container","label","helpText","number","icon");T("switch").parts("container","track","thumb","label");T("table").parts("table","thead","tbody","tr","th","td","tfoot","caption");T("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator");T("tag").parts("container","label","closeButton");T("card").parts("container","header","body","footer");T("stepper").parts("stepper","step","title","description","indicator","separator","icon","number");const{defineMultiStyleConfig:ya,definePartsStyle:at}=Mt(va.keys),Sa={partial:at({dialog:{maxW:560}}),full:at({dialog:{maxW:"100vw",minH:"100vh",borderRadius:0}})},xa=at({overlay:{zIndex:"overlay",bg:r=>`${r.colors.tints.black}66`},dialogContainer:{zIndex:"modal"},dialog:{bg:"white",pt:[6],display:"flex",flexDirection:"column",alignItems:"stretch",gap:6,boxShadow:"dialog"},header:{px:8,display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center"},closeButton:{bg:"tints.cream",borderRadius:"50%",p:1,_hover:{bg:"tints.darkCream"},"& .chakra-icon":{p:1}},body:{px:8,flexGrow:1},footer:{py:6,px:8}}),ka=ya({baseStyle:xa,sizes:Sa,defaultProps:{size:"partial"}}),_a={white:{...h.baseTheme.colors.whiteAlpha,base:"#FFFFFF"},tints:{black:"#0F0F0F",darkGrey:"#545454",uiGrey:"#949494",medGrey:"#A9A9A9",lightGrey:"#EEEEEE",darkCream:"#EDEDE8",cream:"#F2F2ED",lightCream:"#F9F9F6",white:"#FFFFFF"},viridian:{50:"#EFF9F5",100:"#A1DEC1",200:"#68CA9C",300:"#28724F",400:"#28724F",500:"#28724F",600:"#28724F",700:"#28724F",800:"#28724F",900:"#143927",dark:"#143927",base:"#28724F",light:"#68CA9C",lighter:"#A1DEC1",wash:"#EFF9F5"},sunshine:{dark:"#5C5300",base:"#FFEC42",light:"#FFF386",lighter:"#FFF8BC",wash:"#FFFEF2"},terracotta:{50:"#FFF4F4",100:"#FFC9C7",200:"#FF9E99",300:"#FF6B62",400:"#FF6B62",500:"#FF6B62",600:"#FF6B62",700:"#FF6B62",800:"#FF6B62",900:"#650500",dark:"#650500",base:"#FF6B62",light:"#FF9E99",lighter:"#FFC9C7",wash:"#FFF4F4"},violet:{dark:"#380050",base:"#B917FF",light:"#D36BFF",lighter:"#E6ADFF",wash:"#FAEFFF"},eggplant:{dark:"#210C21",base:"#742974",light:"#C458C4",lighter:"#DEA2DE",wash:"#FBF4FB"},moonlight:{dark:"#000C11",base:"#012B3B",light:"#0387BB",lighter:"#61D1FD",wash:"#DFF6FF"},sky:{dark:"#073243",base:"#6BCAEF",light:"#A1DDF5",lighter:"#CBECF9",wash:"#F5FBFE"}},{semanticTokens:Ea,sizes:Ca,space:Fa,...wa}=h.baseTheme,F=r=>`${r/16}rem`,Ta=r=>r,Ra=Ta({...wa,breakpoints:{base:"0em",tablet:"37.5em",largeTablet:"56.25em",desktop:"75em",largeDesktop:"112.5em"},fonts:{body:"'DM Sans', sans-serif",heading:"PP Agrandir, sans-serif",mono:"DM Mono, monospace"},fontWeights:{thin:"100",xlight:"200",light:"300",normal:"400",medium:"500",semiBold:"600",bold:"700",xbold:"800",black:"900"},fontSizes:{"3xs":F(6),"2xs":F(8),xs:F(10),sm:F(12),md:F(14),lg:F(16),xl:F(18),"2xl":F(20),"3xl":F(24),"4xl":F(28),"5xl":F(32),"6xl":F(36),"7xl":F(40),"9xl":F(48),"10xl":F(56),"11xl":F(68)},letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{body:1.5,normal:"normal",none:1,shorter:1.1,short:1.3,base:1.5,tall:1.5},sizes:{max:"max-content",min:"min-content",full:"100%"},space:{0:0,.5:F(2),1:F(4),1.5:F(6),2:F(8),3:F(12),4:F(16),5:F(20),6:F(24),8:F(32),10:F(40),12:F(48),16:F(64),20:F(80)},shadows:{xs:"0 0 0 1px rgba(0, 0, 0, 0.05)",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",outline:"0 0 0 3px rgba(66, 153, 225, 0.6)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.06)",none:"none","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",dialog:"15px 0px 75.2px 0px rgba(0, 0, 0, 0.35)"},zIndices:{hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},colors:_a,components:{Button:On,Drawer:ka,Heading:ha,Icon:ma,Link:ga,Text:ba,Menu:pa}});Object.defineProperty(exports,"Box",{enumerable:!0,get:()=>h.Box});Object.defineProperty(exports,"Button",{enumerable:!0,get:()=>h.Button});Object.defineProperty(exports,"Drawer",{enumerable:!0,get:()=>h.Drawer});Object.defineProperty(exports,"DrawerBody",{enumerable:!0,get:()=>h.DrawerBody});Object.defineProperty(exports,"DrawerCloseButton",{enumerable:!0,get:()=>h.DrawerCloseButton});Object.defineProperty(exports,"DrawerContent",{enumerable:!0,get:()=>h.DrawerContent});Object.defineProperty(exports,"DrawerFooter",{enumerable:!0,get:()=>h.DrawerFooter});Object.defineProperty(exports,"DrawerHeader",{enumerable:!0,get:()=>h.DrawerHeader});Object.defineProperty(exports,"DrawerOverlay",{enumerable:!0,get:()=>h.DrawerOverlay});Object.defineProperty(exports,"Heading",{enumerable:!0,get:()=>h.Heading});Object.defineProperty(exports,"Link",{enumerable:!0,get:()=>h.Link});Object.defineProperty(exports,"Menu",{enumerable:!0,get:()=>h.Menu});Object.defineProperty(exports,"MenuButton",{enumerable:!0,get:()=>h.MenuButton});Object.defineProperty(exports,"MenuCommand",{enumerable:!0,get:()=>h.MenuCommand});Object.defineProperty(exports,"MenuDivider",{enumerable:!0,get:()=>h.MenuDivider});Object.defineProperty(exports,"MenuGroup",{enumerable:!0,get:()=>h.MenuGroup});Object.defineProperty(exports,"MenuItem",{enumerable:!0,get:()=>h.MenuItem});Object.defineProperty(exports,"MenuItemOption",{enumerable:!0,get:()=>h.MenuItemOption});Object.defineProperty(exports,"MenuList",{enumerable:!0,get:()=>h.MenuList});Object.defineProperty(exports,"MenuOptionGroup",{enumerable:!0,get:()=>h.MenuOptionGroup});Object.defineProperty(exports,"Text",{enumerable:!0,get:()=>h.Text});Object.defineProperty(exports,"VisuallyHidden",{enumerable:!0,get:()=>h.VisuallyHidden});Object.defineProperty(exports,"extendTheme",{enumerable:!0,get:()=>h.extendBaseTheme});exports.styled=mn;exports.Grid=Et;exports.GridItem=Ct;exports.Hide=En;exports.Icon=wt;exports.IconButton=Tt;exports.Show=Rn;exports.ThemeProvider=Fn;exports.theme=Ra;
|