@verifiedinc-public/shared-ui-elements 2.1.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/animation/index.mjs +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/hooks/index.d.ts +8 -0
- package/dist/hooks/index.mjs +1 -1
- package/dist/hooks/useCounter.d.ts +13 -0
- package/dist/hooks/useDebounceValue.d.ts +8 -0
- package/dist/hooks/useIntersectionObserver.d.ts +16 -0
- package/dist/hooks/useScript.d.ts +9 -0
- package/dist/hooks/useThrottle.d.ts +7 -0
- package/dist/hooks/useToggle.d.ts +6 -0
- package/dist/hooks/useWindowScroll.d.ts +11 -0
- package/dist/hooks/useWindowSize.d.ts +10 -0
- package/dist/index.mjs +1 -1
- package/dist/shared/{index-C9nSeFPi.mjs → index-w5CoDyk5.mjs} +2 -2
- package/dist/shared/useCounter-BV32zXDQ.mjs +1 -0
- package/dist/shared/useIntersectionObserver-BX_TdOtC.mjs +1 -0
- package/package.json +1 -10
- package/dist/shared/useSearchParams-CW9y02Ym.mjs +0 -1
@@ -1 +1 @@
|
|
1
|
-
"use strict";import{j as
|
1
|
+
"use strict";import{j as i}from"../../shared/jsx-runtime-jmtevAuS.mjs";import{Box as r,Stack as p,TableBody as c,TableRow as f,TableCell as m,Typography as M,Button as l}from"@mui/material";import{u as d}from"../../shared/useCounter-BV32zXDQ.mjs";import{motion as o}from"framer-motion";function T({children:a,from:t,to:e,map:s}){const{ref:n}=d({from:t,to:e,map:s});return i.jsx(r,{ref:n,component:"span",children:a})}const w=o.create(r),y=o.create(p),b=o.create(c,{forwardMotionProps:!1}),u=o.create(f,{forwardMotionProps:!1}),B=o.create(m,{forwardMotionProps:!1}),P=o.create(M,{forwardMotionProps:!1}),x=o.create(l,{forwardMotionProps:!1});export{T as Counter,w as MotionBox,x as MotionButton,y as MotionStack,B as MotionTableCell,u as MotionTableRow,b as MotionTbody,P as MotionTypography};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";import{A as a,a as s,g as e,e as r,B as n,C as t,d as o,D as i,E as p,F as d,I as u,O as c,P as m,Q as l,R as B,S as I,b as h,f as P,T as S,V as b,c as g,W as A,u as C}from"../shared/index-
|
1
|
+
"use strict";import{A as a,a as s,g as e,e as r,B as n,C as t,d as o,D as i,E as p,F as d,I as u,O as c,P as m,Q as l,R as B,S as I,b as h,f as P,T as S,V as b,c as g,W as A,u as C}from"../shared/index-w5CoDyk5.mjs";import{SnackbarProvider as T}from"notistack";export{a as AcceptTermsNotice,s as Alert,e as Backdrop,r as Banner,n as Button,t as CredentialRequestsEditor,o as CustomAlertComponent,i as DateInput,p as ExactBirthdayBanner,d as FullWidthAlert,u as Image,c as OTPInput,m as PhoneInput,l as QRCodeDisplay,B as ResendPhoneBanner,I as SSNInput,h as SelectInput,T as SnackbarProvider,P as TestPhoneNumbersBanner,S as Typography,b as VerifiedImage,g as VerifiedIncLogo,A as When,C as useSnackbar};
|
package/dist/hooks/index.d.ts
CHANGED
@@ -4,3 +4,11 @@ export * from './useDisclosure';
|
|
4
4
|
export * from './useCallbackRef';
|
5
5
|
export * from './useQRCode';
|
6
6
|
export * from './useSearchParams';
|
7
|
+
export * from './useDebounceValue';
|
8
|
+
export * from './useScript';
|
9
|
+
export * from './useThrottle';
|
10
|
+
export * from './useToggle';
|
11
|
+
export * from './useWindowScroll';
|
12
|
+
export * from './useWindowSize';
|
13
|
+
export * from './useIntersectionObserver';
|
14
|
+
export * from './useCounter';
|
package/dist/hooks/index.mjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";import{c as a,
|
1
|
+
"use strict";import{c as s,a,e,b as o,k as u,u as r,f as i,d as t,g as l,h as c,i as p,j as m}from"../shared/useIntersectionObserver-BX_TdOtC.mjs";import{u as n}from"../shared/useQRCode-DXiPIj-D.mjs";import{u as b}from"../shared/useCounter-BV32zXDQ.mjs";export{s as useCallbackRef,a as useCopyToClipboard,b as useCounter,e as useDebounceValue,o as useDisclosure,u as useIntersectionObserver,r as useLocalStorage,n as useQRCode,i as useScript,t as useSearchParams,l as useThrottle,c as useToggle,p as useWindowScroll,m as useWindowSize};
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { AnimationPlaybackControls } from 'framer-motion';
|
2
|
+
interface UseCounterProps {
|
3
|
+
from: number;
|
4
|
+
to: number;
|
5
|
+
map?: (value: number) => string;
|
6
|
+
duration?: number;
|
7
|
+
}
|
8
|
+
interface UseCounterReturn {
|
9
|
+
ref: React.RefObject<HTMLElement>;
|
10
|
+
controls: React.MutableRefObject<AnimationPlaybackControls | null>;
|
11
|
+
}
|
12
|
+
export declare function useCounter({ from, to, duration, map, }: UseCounterProps): UseCounterReturn;
|
13
|
+
export {};
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { RefObject } from 'react';
|
2
|
+
interface IntersectionResult {
|
3
|
+
isIntersecting: boolean;
|
4
|
+
entry: IntersectionObserverEntry | null;
|
5
|
+
}
|
6
|
+
interface UseIntersectionObserverOptions extends IntersectionObserverInit {
|
7
|
+
freezeOnceVisible?: boolean;
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Hook that tracks the intersection of a DOM element with its containing element or viewport
|
11
|
+
* @param elementRef - React ref object for the target element
|
12
|
+
* @param options - IntersectionObserver options with additional hook-specific options
|
13
|
+
* @returns Object containing intersection state and the latest IntersectionObserverEntry
|
14
|
+
*/
|
15
|
+
export declare function useIntersectionObserver(elementRef: RefObject<Element>, { threshold, root, rootMargin, freezeOnceVisible, }?: UseIntersectionObserverOptions): IntersectionResult;
|
16
|
+
export {};
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/**
|
2
|
+
* A hook that throttles a value by delaying its update for a specified time.
|
3
|
+
* @param value The value to be throttled.
|
4
|
+
* @param interval The interval in milliseconds.
|
5
|
+
* @returns The throttled value.
|
6
|
+
*/
|
7
|
+
export declare function useThrottle<T>(value: T, interval?: number): T;
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/**
|
2
|
+
* Hook that returns a toggle state and a function to toggle it.
|
3
|
+
* @param initialValue The initial value of the toggle state.
|
4
|
+
* @returns A tuple containing the current state and a function to toggle it.
|
5
|
+
*/
|
6
|
+
export declare function useToggle<T>(initialValue: T): [boolean, (value: T) => void];
|
@@ -0,0 +1,11 @@
|
|
1
|
+
type ScrollToArgs = [ScrollToOptions] | [number, number];
|
2
|
+
/**
|
3
|
+
* Hook to manage window scroll position and scrolling behavior
|
4
|
+
* @returns Object containing current scroll position and scrollTo function
|
5
|
+
*/
|
6
|
+
export declare function useWindowScroll(): {
|
7
|
+
x: number;
|
8
|
+
y: number;
|
9
|
+
scrollTo: (...args: ScrollToArgs) => void;
|
10
|
+
};
|
11
|
+
export {};
|
package/dist/index.mjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";import{A as n,a as i,g as
|
1
|
+
"use strict";import{A as n,a as i,g as l,e as m,B as u,C as c,d,D as h,E as p,F as g,I as S,O as f,P as D,Q as k,R as y,S as C,b,f as w,T as P,V as B,c as T,W as I,h as N,i as R,j as Y,o as v,p as F,s as M,u as W,v as x}from"./shared/index-w5CoDyk5.mjs";import{c as A,a as G,e as U,b as V,k as j,u as E,f as Q,d as z,g as O,h as q,i as H,j as L}from"./shared/useIntersectionObserver-BX_TdOtC.mjs";import{u as $}from"./shared/useQRCode-DXiPIj-D.mjs";import{u as J}from"./shared/useCounter-BV32zXDQ.mjs";import{b as K,a as X,v as Z,e as _,d as aa,p as sa,u as ea,h as ta,j as ra,g as oa,o as na,s as ia,m as la,c as ma,l as ua,n as ca,q as da,f as ha,i as pa,r as ga,z as Sa,t as fa,x as Da,k as ka,w as ya,y as Ca}from"./shared/shadows-fgmuXym6.mjs";import{masks as ba}from"./utils/masks/index.mjs";import{M as wa,S as Pa,U as Ba,d as Ta,e as Ia,f as Na,g as Ra,a as Ya,s as va}from"./shared/unix.schema-CMYTtXco.mjs";import{p as Fa}from"./shared/phone.schema-XBbyizhq.mjs";import{SnackbarProvider as Ma}from"notistack";async function Wa(s){try{return[await s,null]}catch(a){return[null,a]}}const xa=s=>{let a=new Date(Number(s));if(!s){const e=new Date;a=new Date(e.getFullYear(),e.getMonth(),e.getDate())}const t=String(a.getDate()).padStart(2,"0"),r=String(a.getMonth()+1).padStart(2,"0"),o=a.getFullYear();return[r,t,o].join("/")},Aa=s=>{const a=new Date(s);return a.setUTCHours(12),String(+a)},Ga=s=>s.replace(/(\d{3})-?(\d{2})-?(\d{4})/,"\u2022\u2022\u2022-\u2022\u2022-$3");export{n as AcceptTermsNotice,i as Alert,l as Backdrop,m as Banner,u as Button,c as CredentialRequestsEditor,d as CustomAlertComponent,h as DateInput,p as ExactBirthdayBanner,g as FullWidthAlert,S as Image,wa as MaskedAndUnmaskedSSNSchema,f as OTPInput,D as PhoneInput,k as QRCodeDisplay,y as ResendPhoneBanner,C as SSNInput,Pa as SSNSchema,b as SelectInput,Ma as SnackbarProvider,w as TestPhoneNumbersBanner,P as Typography,Ba as USDateSchema,B as VerifiedImage,T as VerifiedIncLogo,I as When,K as black,X as blue,Z as colors,N as countries,_ as darkBlue,aa as darkGreen,sa as darkGrey,ea as darkGreyContrast,ta as darkRed,ra as darkYellow,Ta as descriptionSchema,Ia as emailSchema,Na as fieldSchema,xa as formatDateMMDDYYYY,Aa as formatDateToTimestamp,Ra as getDateSchemaWithPastValidation,R as getPhoneData,Y as getPhoneDataByFieldName,Ya as getUnixSchema,oa as green,na as grey,ia as greyContrast,la as infoContrast,ma as lightBlue,ua as lightGreen,ca as lightGrey,da as lightGreyContrast,ha as lightRed,pa as lightYellow,ba as masks,v as omitProperties,F as parseToPhoneNational,Fa as phoneSchema,ga as red,Sa as shadows,M as sortByCountryName,Ga as ssnFormatter,va as stateSchema,fa as textDisabled,Da as theme,A as useCallbackRef,G as useCopyToClipboard,J as useCounter,U as useDebounceValue,V as useDisclosure,j as useIntersectionObserver,E as useLocalStorage,$ as useQRCode,Q as useScript,z as useSearchParams,W as useSnackbar,O as useThrottle,q as useToggle,H as useWindowScroll,L as useWindowSize,x as validatePhone,ka as warningContrast,ya as white,Wa as wrapPromise,Ca as yellow};
|
@@ -1,5 +1,5 @@
|
|
1
|
-
"use strict";import{j as d}from"./jsx-runtime-jmtevAuS.mjs";import*as k from"react";import gt,{Children as vv,isValidElement as Gi,cloneElement as Xi,createContext as t0,useEffect as Ji,useContext as r0,useMemo as Ao,useState as bt,useRef as Lr,useCallback as Vr,forwardRef as No,useImperativeHandle as yv}from"react";import{useForm as gv,FormProvider as bv,useController as Wr,useFormContext as o0,useFieldArray as xv}from"react-hook-form";import{Box as Sn,Tooltip as _v,IconButton as qr,Stack as xn,Typography as Wt,Autocomplete as i0,TextField as Zr,Radio as wv,Chip as Ov,RadioGroup as ul,Dialog as Sv,DialogTitle as jv,DialogContent as Ev,DialogActions as Tv,useTheme as Fo,Paper as Cv,Accordion as Rv,AccordionSummary as $v,AccordionDetails as Pv,Link as kv,Alert as a0,InputAdornment as s0,Button as Mv,Menu as Iv,MenuItem as Av,FormControl as Nv,InputBase as Fv,AlertTitle as zv,Backdrop as Dv,CircularProgress as Lv}from"@mui/material";import{Code as Vv,Delete as Wv,ChevronLeft as qv,Menu as Zv,CheckCircle as Bv,Close as cl,Add as Hv,KeyboardArrowDown as Uv}from"@mui/icons-material";import{useDrag as Kv,useDrop as Yv,DndProvider as Gv}from"react-dnd";import{HTML5Backend as Xv}from"react-dnd-html5-backend";import{masks as l0}from"../utils/masks/index.mjs";import Jv from"@mona-health/react-input-mask";import{p as Qv}from"./phone.schema-XBbyizhq.mjs";import{IMaskInput as e6}from"react-imask";import*as n6 from"react-dom";import Qi from"react-dom";import{u as t6}from"./useQRCode-DXiPIj-D.mjs";import{SnackbarContent as r6,closeSnackbar as u0,enqueueSnackbar as o6}from"notistack";import{CacheProvider as i6,Global as a6,ThemeContext as c0,css as s6,keyframes as ea}from"@emotion/react";import pl,{isValidPhoneNumber as l6}from"libphonenumber-js";import u6 from"@emotion/styled";var qt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function na(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function er(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var o=function i(){return this instanceof i?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};o.prototype=t.prototype}else o={};return Object.defineProperty(o,"__esModule",{value:!0}),Object.keys(e).forEach(function(i){var s=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(o,i,s.get?s:{enumerable:!0,get:function(){return e[i]}})}),o}function _e(e,t){if(e==null)return{};var o={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(t.indexOf(i)>=0)continue;o[i]=e[i]}return o}function C(){return C=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var i in o)({}).hasOwnProperty.call(o,i)&&(e[i]=o[i])}return e},C.apply(null,arguments)}var p0={exports:{}},f0={exports:{}},We={},d0;function c6(){if(d0)return We;d0=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,o=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,s=e?Symbol.for("react.strict_mode"):60108,u=e?Symbol.for("react.profiler"):60114,c=e?Symbol.for("react.provider"):60109,f=e?Symbol.for("react.context"):60110,m=e?Symbol.for("react.async_mode"):60111,y=e?Symbol.for("react.concurrent_mode"):60111,g=e?Symbol.for("react.forward_ref"):60112,O=e?Symbol.for("react.suspense"):60113,w=e?Symbol.for("react.suspense_list"):60120,R=e?Symbol.for("react.memo"):60115,_=e?Symbol.for("react.lazy"):60116,S=e?Symbol.for("react.block"):60121,x=e?Symbol.for("react.fundamental"):60117,M=e?Symbol.for("react.responder"):60118,I=e?Symbol.for("react.scope"):60119;function T(j){if(typeof j=="object"&&j!==null){var A=j.$$typeof;switch(A){case t:switch(j=j.type,j){case m:case y:case i:case u:case s:case O:return j;default:switch(j=j&&j.$$typeof,j){case f:case g:case _:case R:case c:return j;default:return A}}case o:return A}}}function F(j){return T(j)===y}return We.AsyncMode=m,We.ConcurrentMode=y,We.ContextConsumer=f,We.ContextProvider=c,We.Element=t,We.ForwardRef=g,We.Fragment=i,We.Lazy=_,We.Memo=R,We.Portal=o,We.Profiler=u,We.StrictMode=s,We.Suspense=O,We.isAsyncMode=function(j){return F(j)||T(j)===m},We.isConcurrentMode=F,We.isContextConsumer=function(j){return T(j)===f},We.isContextProvider=function(j){return T(j)===c},We.isElement=function(j){return typeof j=="object"&&j!==null&&j.$$typeof===t},We.isForwardRef=function(j){return T(j)===g},We.isFragment=function(j){return T(j)===i},We.isLazy=function(j){return T(j)===_},We.isMemo=function(j){return T(j)===R},We.isPortal=function(j){return T(j)===o},We.isProfiler=function(j){return T(j)===u},We.isStrictMode=function(j){return T(j)===s},We.isSuspense=function(j){return T(j)===O},We.isValidElementType=function(j){return typeof j=="string"||typeof j=="function"||j===i||j===y||j===u||j===s||j===O||j===w||typeof j=="object"&&j!==null&&(j.$$typeof===_||j.$$typeof===R||j.$$typeof===c||j.$$typeof===f||j.$$typeof===g||j.$$typeof===x||j.$$typeof===M||j.$$typeof===I||j.$$typeof===S)},We.typeOf=T,We}var p6={},h0;function tk(){return h0||(h0=1),p6}var m0;function f6(){return m0||(m0=1,f0.exports=c6()),f0.exports}var fl,v0;function d6(){if(v0)return fl;v0=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function i(u){if(u==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(u)}function s(){try{if(!Object.assign)return!1;var u=new String("abc");if(u[5]="de",Object.getOwnPropertyNames(u)[0]==="5")return!1;for(var c={},f=0;f<10;f++)c["_"+String.fromCharCode(f)]=f;var m=Object.getOwnPropertyNames(c).map(function(g){return c[g]});if(m.join("")!=="0123456789")return!1;var y={};return"abcdefghijklmnopqrst".split("").forEach(function(g){y[g]=g}),Object.keys(Object.assign({},y)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return fl=s()?Object.assign:function(u,c){for(var f,m=i(u),y,g=1;g<arguments.length;g++){f=Object(arguments[g]);for(var O in f)t.call(f,O)&&(m[O]=f[O]);if(e){y=e(f);for(var w=0;w<y.length;w++)o.call(f,y[w])&&(m[y[w]]=f[y[w]])}}return m},fl}var dl,y0;function g0(){if(y0)return dl;y0=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return dl=e,dl}var b0,x0;function h6(){return x0||(x0=1,b0=Function.call.bind(Object.prototype.hasOwnProperty)),b0}var hl,_0;function m6(){if(_0)return hl;_0=1;var e=function(){};if(0)var t,o,i;function s(u,c,f,m,y){if(0){for(var g in u)if(i(u,g)){var O;try{if(typeof u[g]!="function")var w}catch(_){}if(O&&!(O instanceof Error)&&e((m||"React class")+": type specification of "+f+" `"+g+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof O+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),O instanceof Error&&!(O.message in o))var R}}}return s.resetWarningCache=function(){},hl=s,hl}var ml,w0;function rk(){if(w0)return ml;w0=1;var e=f6(),t=d6(),o=g0(),i=h6(),s=m6(),u=function(){};function c(){return null}return ml=function(f,m){var y=typeof Symbol=="function"&&Symbol.iterator,g="@@iterator";function O(W){var H=W&&(y&&W[y]||W[g]);if(typeof H=="function")return H}var w="<<anonymous>>",R={array:M("array"),bigint:M("bigint"),bool:M("boolean"),func:M("function"),number:M("number"),object:M("object"),string:M("string"),symbol:M("symbol"),any:I(),arrayOf:T,element:F(),elementType:j(),instanceOf:A,node:ae(),objectOf:K,oneOf:z,oneOfType:U,shape:G,exact:B};function _(W,H){return W===H?W!==0||1/W===1/H:W!==W&&H!==H}function S(W,H){this.message=W,this.data=H&&typeof H=="object"?H:{},this.stack=""}S.prototype=Error.prototype;function x(W){if(0)var H,le;function J(re,ce,pe,ue,ye,oe,Oe){if(ue=ue||w,oe=oe||pe,Oe!==o){if(m){var Q=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw Q.name="Invariant Violation",Q}else if(0)var $e}return ce[pe]==null?re?ce[pe]===null?new S("The "+ye+" `"+oe+"` is marked as required "+("in `"+ue+"`, but its value is `null`.")):new S("The "+ye+" `"+oe+"` is marked as required in "+("`"+ue+"`, but its value is `undefined`.")):null:W(ce,pe,ue,ye,oe)}var ne=J.bind(null,!1);return ne.isRequired=J.bind(null,!0),ne}function M(W){function H(le,J,ne,re,ce,pe){var ue=le[J],ye=me(ue);if(ye!==W){var oe=X(ue);return new S("Invalid "+re+" `"+ce+"` of type "+("`"+oe+"` supplied to `"+ne+"`, expected ")+("`"+W+"`."),{expectedType:W})}return null}return x(H)}function I(){return x(c)}function T(W){function H(le,J,ne,re,ce){if(typeof W!="function")return new S("Property `"+ce+"` of component `"+ne+"` has invalid PropType notation inside arrayOf.");var pe=le[J];if(!Array.isArray(pe)){var ue=me(pe);return new S("Invalid "+re+" `"+ce+"` of type "+("`"+ue+"` supplied to `"+ne+"`, expected an array."))}for(var ye=0;ye<pe.length;ye++){var oe=W(pe,ye,ne,re,ce+"["+ye+"]",o);if(oe instanceof Error)return oe}return null}return x(H)}function F(){function W(H,le,J,ne,re){var ce=H[le];if(!f(ce)){var pe=me(ce);return new S("Invalid "+ne+" `"+re+"` of type "+("`"+pe+"` supplied to `"+J+"`, expected a single ReactElement."))}return null}return x(W)}function j(){function W(H,le,J,ne,re){var ce=H[le];if(!e.isValidElementType(ce)){var pe=me(ce);return new S("Invalid "+ne+" `"+re+"` of type "+("`"+pe+"` supplied to `"+J+"`, expected a single ReactElement type."))}return null}return x(W)}function A(W){function H(le,J,ne,re,ce){if(!(le[J]instanceof W)){var pe=W.name||w,ue=Ne(le[J]);return new S("Invalid "+re+" `"+ce+"` of type "+("`"+ue+"` supplied to `"+ne+"`, expected ")+("instance of `"+pe+"`."))}return null}return x(H)}function z(W){if(!Array.isArray(W))return c;function H(le,J,ne,re,ce){for(var pe=le[J],ue=0;ue<W.length;ue++)if(_(pe,W[ue]))return null;var ye=JSON.stringify(W,function(oe,Oe){var Q=X(Oe);return Q==="symbol"?String(Oe):Oe});return new S("Invalid "+re+" `"+ce+"` of value `"+String(pe)+"` "+("supplied to `"+ne+"`, expected one of "+ye+"."))}return x(H)}function K(W){function H(le,J,ne,re,ce){if(typeof W!="function")return new S("Property `"+ce+"` of component `"+ne+"` has invalid PropType notation inside objectOf.");var pe=le[J],ue=me(pe);if(ue!=="object")return new S("Invalid "+re+" `"+ce+"` of type "+("`"+ue+"` supplied to `"+ne+"`, expected an object."));for(var ye in pe)if(i(pe,ye)){var oe=W(pe,ye,ne,re,ce+"."+ye,o);if(oe instanceof Error)return oe}return null}return x(H)}function U(W){if(!Array.isArray(W))return c;for(var H=0;H<W.length;H++){var le=W[H];if(typeof le!="function")return u("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+we(le)+" at index "+H+"."),c}function J(ne,re,ce,pe,ue){for(var ye=[],oe=0;oe<W.length;oe++){var Oe=W[oe],Q=Oe(ne,re,ce,pe,ue,o);if(Q==null)return null;Q.data&&i(Q.data,"expectedType")&&ye.push(Q.data.expectedType)}var $e=ye.length>0?", expected one of type ["+ye.join(", ")+"]":"";return new S("Invalid "+pe+" `"+ue+"` supplied to "+("`"+ce+"`"+$e+"."))}return x(J)}function ae(){function W(H,le,J,ne,re){return Z(H[le])?null:new S("Invalid "+ne+" `"+re+"` supplied to "+("`"+J+"`, expected a ReactNode."))}return x(W)}function ee(W,H,le,J,ne){return new S((W||"React class")+": "+H+" type `"+le+"."+J+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+ne+"`.")}function G(W){function H(le,J,ne,re,ce){var pe=le[J],ue=me(pe);if(ue!=="object")return new S("Invalid "+re+" `"+ce+"` of type `"+ue+"` "+("supplied to `"+ne+"`, expected `object`."));for(var ye in W){var oe=W[ye];if(typeof oe!="function")return ee(ne,re,ce,ye,X(oe));var Oe=oe(pe,ye,ne,re,ce+"."+ye,o);if(Oe)return Oe}return null}return x(H)}function B(W){function H(le,J,ne,re,ce){var pe=le[J],ue=me(pe);if(ue!=="object")return new S("Invalid "+re+" `"+ce+"` of type `"+ue+"` "+("supplied to `"+ne+"`, expected `object`."));var ye=t({},le[J],W);for(var oe in ye){var Oe=W[oe];if(i(W,oe)&&typeof Oe!="function")return ee(ne,re,ce,oe,X(Oe));if(!Oe)return new S("Invalid "+re+" `"+ce+"` key `"+oe+"` supplied to `"+ne+"`.\nBad object: "+JSON.stringify(le[J],null," ")+`
|
2
|
-
Valid keys: `+JSON.stringify(Object.keys(W),null," "));var Q=Oe(pe,oe,ne,re,ce+"."+oe,o);if(Q)return Q}return null}return x(H)}function Z(W){switch(typeof W){case"number":case"string":case"undefined":return!0;case"boolean":return!W;case"object":if(Array.isArray(W))return W.every(Z);if(W===null||f(W))return!0;var H=O(W);if(H){var le=H.call(W),J;if(H!==W.entries){for(;!(J=le.next()).done;)if(!Z(J.value))return!1}else for(;!(J=le.next()).done;){var ne=J.value;if(ne&&!Z(ne[1]))return!1}}else return!1;return!0;default:return!1}}function ie(W,H){return W==="symbol"?!0:H?H["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&H instanceof Symbol:!1}function me(W){var H=typeof W;return Array.isArray(W)?"array":W instanceof RegExp?"object":ie(H,W)?"symbol":H}function X(W){if(typeof W>"u"||W===null)return""+W;var H=me(W);if(H==="object"){if(W instanceof Date)return"date";if(W instanceof RegExp)return"regexp"}return H}function we(W){var H=X(W);switch(H){case"array":case"object":return"an "+H;case"boolean":case"date":case"regexp":return"a "+H;default:return H}}function Ne(W){return!W.constructor||!W.constructor.name?w:W.constructor.name}return R.checkPropTypes=s,R.resetWarningCache=s.resetWarningCache,R.PropTypes=R,R},ml}var vl,O0;function v6(){if(O0)return vl;O0=1;var e=g0();function t(){}function o(){}return o.resetWarningCache=t,vl=function(){function i(c,f,m,y,g,O){if(O!==e){var w=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw w.name="Invariant Violation",w}}i.isRequired=i;function s(){return i}var u={array:i,bigint:i,bool:i,func:i,number:i,object:i,string:i,symbol:i,any:i,arrayOf:s,element:i,elementType:i,instanceOf:s,node:i,objectOf:s,oneOf:s,oneOfType:s,shape:s,exact:s,checkPropTypes:o,resetWarningCache:t};return u.PropTypes=u,u},vl}if(0)var ok,ik;else p0.exports=v6()();var y6=p0.exports;const Br=na(y6);function S0(e){var t,o,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(o=S0(e[t]))&&(i&&(i+=" "),i+=o)}else for(o in e)e[o]&&(i&&(i+=" "),i+=o);return i}function Me(){for(var e,t,o=0,i="",s=arguments.length;o<s;o++)(e=arguments[o])&&(t=S0(e))&&(i&&(i+=" "),i+=t);return i}function yl(e,t){const o=C({},t);return Object.keys(e).forEach(i=>{if(i.toString().match(/^(components|slots)$/))o[i]=C({},e[i],o[i]);else if(i.toString().match(/^(componentsProps|slotProps)$/)){const s=e[i]||{},u=t[i];o[i]={},!u||!Object.keys(u)?o[i]=s:!s||!Object.keys(s)?o[i]=u:(o[i]=C({},u),Object.keys(s).forEach(c=>{o[i][c]=yl(s[c],u[c])}))}else o[i]===void 0&&(o[i]=e[i])}),o}function rn(e,t,o=void 0){const i={};return Object.keys(e).forEach(s=>{i[s]=e[s].reduce((u,c)=>{if(c){const f=t(c);f!==""&&u.push(f),o&&o[c]&&u.push(o[c])}return u},[]).join(" ")}),i}var dn={},j0={exports:{}};(function(e){function t(o){return o&&o.__esModule?o:{default:o}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(j0);var E0=j0.exports;function hr(e){let t="https://mui.com/production-error/?code="+e;for(let o=1;o<arguments.length;o+=1)t+="&args[]="+encodeURIComponent(arguments[o]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}const g6=Object.freeze(Object.defineProperty({__proto__:null,default:hr},Symbol.toStringTag,{value:"Module"})),b6=er(g6);function x6(e,t=Number.MIN_SAFE_INTEGER,o=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,o))}const _6=Object.freeze(Object.defineProperty({__proto__:null,default:x6},Symbol.toStringTag,{value:"Module"})),w6=er(_6);var T0=E0;Object.defineProperty(dn,"__esModule",{value:!0});var nr=dn.alpha=k0;dn.blend=M6,dn.colorChannel=void 0;var gl=dn.darken=_l;dn.decomposeColor=ut,dn.emphasize=M0;var O6=dn.getContrastRatio=C6;dn.getLuminance=ta,dn.hexToRgb=R0,dn.hslToRgb=P0;var bl=dn.lighten=wl;dn.private_safeAlpha=R6,dn.private_safeColorChannel=void 0,dn.private_safeDarken=$6,dn.private_safeEmphasize=k6,dn.private_safeLighten=P6,dn.recomposeColor=Hr,dn.rgbToHex=T6;var C0=T0(b6),S6=T0(w6);function xl(e,t=0,o=1){return(0,S6.default)(e,t,o)}function R0(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let o=e.match(t);return o&&o[0].length===1&&(o=o.map(i=>i+i)),o?`rgb${o.length===4?"a":""}(${o.map((i,s)=>s<3?parseInt(i,16):Math.round(parseInt(i,16)/255*1e3)/1e3).join(", ")})`:""}function j6(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function ut(e){if(e.type)return e;if(e.charAt(0)==="#")return ut(R0(e));const t=e.indexOf("("),o=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(o)===-1)throw new Error((0,C0.default)(9,e));let i=e.substring(t+1,e.length-1),s;if(o==="color"){if(i=i.split(" "),s=i.shift(),i.length===4&&i[3].charAt(0)==="/"&&(i[3]=i[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(s)===-1)throw new Error((0,C0.default)(10,s))}else i=i.split(",");return i=i.map(u=>parseFloat(u)),{type:o,values:i,colorSpace:s}}const $0=e=>{const t=ut(e);return t.values.slice(0,3).map((o,i)=>t.type.indexOf("hsl")!==-1&&i!==0?`${o}%`:o).join(" ")};dn.colorChannel=$0;const E6=(e,t)=>{try{return $0(e)}catch{return e}};dn.private_safeColorChannel=E6;function Hr(e){const{type:t,colorSpace:o}=e;let{values:i}=e;return t.indexOf("rgb")!==-1?i=i.map((s,u)=>u<3?parseInt(s,10):s):t.indexOf("hsl")!==-1&&(i[1]=`${i[1]}%`,i[2]=`${i[2]}%`),t.indexOf("color")!==-1?i=`${o} ${i.join(" ")}`:i=`${i.join(", ")}`,`${t}(${i})`}function T6(e){if(e.indexOf("#")===0)return e;const{values:t}=ut(e);return`#${t.map((o,i)=>j6(i===3?Math.round(255*o):o)).join("")}`}function P0(e){e=ut(e);const{values:t}=e,o=t[0],i=t[1]/100,s=t[2]/100,u=i*Math.min(s,1-s),c=(y,g=(y+o/30)%12)=>s-u*Math.max(Math.min(g-3,9-g,1),-1);let f="rgb";const m=[Math.round(c(0)*255),Math.round(c(8)*255),Math.round(c(4)*255)];return e.type==="hsla"&&(f+="a",m.push(t[3])),Hr({type:f,values:m})}function ta(e){e=ut(e);let t=e.type==="hsl"||e.type==="hsla"?ut(P0(e)).values:e.values;return t=t.map(o=>(e.type!=="color"&&(o/=255),o<=.03928?o/12.92:((o+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function C6(e,t){const o=ta(e),i=ta(t);return(Math.max(o,i)+.05)/(Math.min(o,i)+.05)}function k0(e,t){return e=ut(e),t=xl(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Hr(e)}function R6(e,t,o){try{return k0(e,t)}catch{return e}}function _l(e,t){if(e=ut(e),t=xl(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let o=0;o<3;o+=1)e.values[o]*=1-t;return Hr(e)}function $6(e,t,o){try{return _l(e,t)}catch{return e}}function wl(e,t){if(e=ut(e),t=xl(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let o=0;o<3;o+=1)e.values[o]+=(255-e.values[o])*t;else if(e.type.indexOf("color")!==-1)for(let o=0;o<3;o+=1)e.values[o]+=(1-e.values[o])*t;return Hr(e)}function P6(e,t,o){try{return wl(e,t)}catch{return e}}function M0(e,t=.15){return ta(e)>.5?_l(e,t):wl(e,t)}function k6(e,t,o){try{return M0(e,t)}catch{return e}}function M6(e,t,o,i=1){const s=(m,y)=>Math.round((m**(1/i)*(1-o)+y**(1/i)*o)**i),u=ut(e),c=ut(t),f=[s(u.values[0],c.values[0]),s(u.values[1],c.values[1]),s(u.values[2],c.values[2])];return Hr({type:"rgb",values:f})}var zo={},I0={exports:{}},A0;function I6(){return A0||(A0=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(o){for(var i=1;i<arguments.length;i++){var s=arguments[i];for(var u in s)({}).hasOwnProperty.call(s,u)&&(o[u]=s[u])}return o},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(I0)),I0.exports}var N0={exports:{}},F0;function A6(){return F0||(F0=1,function(e){function t(o,i){if(o==null)return{};var s={};for(var u in o)if({}.hasOwnProperty.call(o,u)){if(i.indexOf(u)>=0)continue;s[u]=o[u]}return s}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(N0)),N0.exports}function N6(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function F6(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var z6=function(){function e(o){var i=this;this._insertTag=function(s){var u;i.tags.length===0?i.insertionPoint?u=i.insertionPoint.nextSibling:i.prepend?u=i.container.firstChild:u=i.before:u=i.tags[i.tags.length-1].nextSibling,i.container.insertBefore(s,u),i.tags.push(s)},this.isSpeedy=o.speedy===void 0?!0:o.speedy,this.tags=[],this.ctr=0,this.nonce=o.nonce,this.key=o.key,this.container=o.container,this.prepend=o.prepend,this.insertionPoint=o.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(o){o.forEach(this._insertTag)},t.insert=function(o){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(F6(this));var i=this.tags[this.tags.length-1];if(0)var s;if(this.isSpeedy){var u=N6(i);try{u.insertRule(o,u.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(o));this.ctr++},t.flush=function(){this.tags.forEach(function(o){return o.parentNode&&o.parentNode.removeChild(o)}),this.tags=[],this.ctr=0},e}(),Rn="-ms-",ra="-moz-",De="-webkit-",z0="comm",Ol="rule",Sl="decl",D6="@import",D0="@keyframes",L6="@layer",V6=Math.abs,oa=String.fromCharCode,W6=Object.assign;function q6(e,t){return jn(e,0)^45?(((t<<2^jn(e,0))<<2^jn(e,1))<<2^jn(e,2))<<2^jn(e,3):0}function L0(e){return e.trim()}function Z6(e,t){return(e=t.exec(e))?e[0]:e}function Le(e,t,o){return e.replace(t,o)}function jl(e,t){return e.indexOf(t)}function jn(e,t){return e.charCodeAt(t)|0}function Do(e,t,o){return e.slice(t,o)}function Tt(e){return e.length}function El(e){return e.length}function ia(e,t){return t.push(e),e}function B6(e,t){return e.map(t).join("")}var aa=1,Ur=1,V0=0,Wn=0,vn=0,Kr="";function sa(e,t,o,i,s,u,c){return{value:e,root:t,parent:o,type:i,props:s,children:u,line:aa,column:Ur,length:c,return:""}}function Lo(e,t){return W6(sa("",null,null,"",null,null,0),e,{length:-e.length},t)}function H6(){return vn}function U6(){return vn=Wn>0?jn(Kr,--Wn):0,Ur--,vn===10&&(Ur=1,aa--),vn}function Gn(){return vn=Wn<V0?jn(Kr,Wn++):0,Ur++,vn===10&&(Ur=1,aa++),vn}function Ct(){return jn(Kr,Wn)}function la(){return Wn}function Vo(e,t){return Do(Kr,e,t)}function Wo(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function W0(e){return aa=Ur=1,V0=Tt(Kr=e),Wn=0,[]}function q0(e){return Kr="",e}function ua(e){return L0(Vo(Wn-1,Tl(e===91?e+2:e===40?e+1:e)))}function K6(e){for(;(vn=Ct())&&vn<33;)Gn();return Wo(e)>2||Wo(vn)>3?"":" "}function Y6(e,t){for(;--t&&Gn()&&!(vn<48||vn>102||vn>57&&vn<65||vn>70&&vn<97););return Vo(e,la()+(t<6&&Ct()==32&&Gn()==32))}function Tl(e){for(;Gn();)switch(vn){case e:return Wn;case 34:case 39:e!==34&&e!==39&&Tl(vn);break;case 40:e===41&&Tl(e);break;case 92:Gn();break}return Wn}function G6(e,t){for(;Gn()&&e+vn!==57&&!(e+vn===84&&Ct()===47););return"/*"+Vo(t,Wn-1)+"*"+oa(e===47?e:Gn())}function X6(e){for(;!Wo(Ct());)Gn();return Vo(e,Wn)}function J6(e){return q0(ca("",null,null,null,[""],e=W0(e),0,[0],e))}function ca(e,t,o,i,s,u,c,f,m){for(var y=0,g=0,O=c,w=0,R=0,_=0,S=1,x=1,M=1,I=0,T="",F=s,j=u,A=i,z=T;x;)switch(_=I,I=Gn()){case 40:if(_!=108&&jn(z,O-1)==58){jl(z+=Le(ua(I),"&","&\f"),"&\f")!=-1&&(M=-1);break}case 34:case 39:case 91:z+=ua(I);break;case 9:case 10:case 13:case 32:z+=K6(_);break;case 92:z+=Y6(la()-1,7);continue;case 47:switch(Ct()){case 42:case 47:ia(Q6(G6(Gn(),la()),t,o),m);break;default:z+="/"}break;case 123*S:f[y++]=Tt(z)*M;case 125*S:case 59:case 0:switch(I){case 0:case 125:x=0;case 59+g:M==-1&&(z=Le(z,/\f/g,"")),R>0&&Tt(z)-O&&ia(R>32?B0(z+";",i,o,O-1):B0(Le(z," ","")+";",i,o,O-2),m);break;case 59:z+=";";default:if(ia(A=Z0(z,t,o,y,g,s,f,T,F=[],j=[],O),u),I===123)if(g===0)ca(z,t,A,A,F,u,O,f,j);else switch(w===99&&jn(z,3)===110?100:w){case 100:case 108:case 109:case 115:ca(e,A,A,i&&ia(Z0(e,A,A,0,0,s,f,T,s,F=[],O),j),s,j,O,f,i?F:j);break;default:ca(z,A,A,A,[""],j,0,f,j)}}y=g=R=0,S=M=1,T=z="",O=c;break;case 58:O=1+Tt(z),R=_;default:if(S<1){if(I==123)--S;else if(I==125&&S++==0&&U6()==125)continue}switch(z+=oa(I),I*S){case 38:M=g>0?1:(z+="\f",-1);break;case 44:f[y++]=(Tt(z)-1)*M,M=1;break;case 64:Ct()===45&&(z+=ua(Gn())),w=Ct(),g=O=Tt(T=z+=X6(la())),I++;break;case 45:_===45&&Tt(z)==2&&(S=0)}}return u}function Z0(e,t,o,i,s,u,c,f,m,y,g){for(var O=s-1,w=s===0?u:[""],R=El(w),_=0,S=0,x=0;_<i;++_)for(var M=0,I=Do(e,O+1,O=V6(S=c[_])),T=e;M<R;++M)(T=L0(S>0?w[M]+" "+I:Le(I,/&\f/g,w[M])))&&(m[x++]=T);return sa(e,t,o,s===0?Ol:f,m,y,g)}function Q6(e,t,o){return sa(e,t,o,z0,oa(H6()),Do(e,2,-2),0)}function B0(e,t,o,i){return sa(e,t,o,Sl,Do(e,0,i),Do(e,i+1,-1),i)}function Yr(e,t){for(var o="",i=El(e),s=0;s<i;s++)o+=t(e[s],s,e,t)||"";return o}function ey(e,t,o,i){switch(e.type){case L6:if(e.children.length)break;case D6:case Sl:return e.return=e.return||e.value;case z0:return"";case D0:return e.return=e.value+"{"+Yr(e.children,i)+"}";case Ol:e.value=e.props.join(",")}return Tt(o=Yr(e.children,i))?e.return=e.value+"{"+o+"}":""}function ny(e){var t=El(e);return function(o,i,s,u){for(var c="",f=0;f<t;f++)c+=e[f](o,i,s,u)||"";return c}}function ty(e){return function(t){t.root||(t=t.return)&&e(t)}}var ry=function(e,t,o){for(var i=0,s=0;i=s,s=Ct(),i===38&&s===12&&(t[o]=1),!Wo(s);)Gn();return Vo(e,Wn)},oy=function(e,t){var o=-1,i=44;do switch(Wo(i)){case 0:i===38&&Ct()===12&&(t[o]=1),e[o]+=ry(Wn-1,t,o);break;case 2:e[o]+=ua(i);break;case 4:if(i===44){e[++o]=Ct()===58?"&\f":"",t[o]=e[o].length;break}default:e[o]+=oa(i)}while(i=Gn());return e},iy=function(e,t){return q0(oy(W0(e),t))},H0=new WeakMap,ay=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var t=e.value,o=e.parent,i=e.column===o.column&&e.line===o.line;o.type!=="rule";)if(o=o.parent,!o)return;if(!(e.props.length===1&&t.charCodeAt(0)!==58&&!H0.get(o))&&!i){H0.set(e,!0);for(var s=[],u=iy(t,s),c=o.props,f=0,m=0;f<u.length;f++)for(var y=0;y<c.length;y++,m++)e.props[m]=s[f]?u[f].replace(/&\f/g,c[y]):c[y]+" "+u[f]}}},sy=function(e){if(e.type==="decl"){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return="",e.value="")}},ly="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",uy=function(e){return e.type==="comm"&&e.children.indexOf(ly)>-1},ak=function(e){return function(t,o,i){if(!(t.type!=="rule"||e.compat)){var s=t.value.match(/(:first|:nth|:nth-last)-child/g);if(s){for(var u=!!t.parent,c=u?t.parent.children:i,f=c.length-1;f>=0;f--){var m=c[f];if(m.line<t.line)break;if(m.column<t.column){if(uy(m))return;break}}s.forEach(function(y){console.error('The pseudo class "'+y+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+y.split("-child")[0]+'-of-type".')})}}}},U0=function(e){return e.type.charCodeAt(1)===105&&e.type.charCodeAt(0)===64},cy=function(e,t){for(var o=e-1;o>=0;o--)if(!U0(t[o]))return!0;return!1},K0=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},sk=function(e,t,o){U0(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),K0(e)):cy(t,o)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),K0(e)))};function Y0(e,t){switch(q6(e,t)){case 5103:return De+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return De+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return De+e+ra+e+Rn+e+e;case 6828:case 4268:return De+e+Rn+e+e;case 6165:return De+e+Rn+"flex-"+e+e;case 5187:return De+e+Le(e,/(\w+).+(:[^]+)/,De+"box-$1$2"+Rn+"flex-$1$2")+e;case 5443:return De+e+Rn+"flex-item-"+Le(e,/flex-|-self/,"")+e;case 4675:return De+e+Rn+"flex-line-pack"+Le(e,/align-content|flex-|-self/,"")+e;case 5548:return De+e+Rn+Le(e,"shrink","negative")+e;case 5292:return De+e+Rn+Le(e,"basis","preferred-size")+e;case 6060:return De+"box-"+Le(e,"-grow","")+De+e+Rn+Le(e,"grow","positive")+e;case 4554:return De+Le(e,/([^-])(transform)/g,"$1"+De+"$2")+e;case 6187:return Le(Le(Le(e,/(zoom-|grab)/,De+"$1"),/(image-set)/,De+"$1"),e,"")+e;case 5495:case 3959:return Le(e,/(image-set\([^]*)/,De+"$1$`$1");case 4968:return Le(Le(e,/(.+:)(flex-)?(.*)/,De+"box-pack:$3"+Rn+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+De+e+e;case 4095:case 3583:case 4068:case 2532:return Le(e,/(.+)-inline(.+)/,De+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Tt(e)-1-t>6)switch(jn(e,t+1)){case 109:if(jn(e,t+4)!==45)break;case 102:return Le(e,/(.+:)(.+)-([^]+)/,"$1"+De+"$2-$3$1"+ra+(jn(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~jl(e,"stretch")?Y0(Le(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(jn(e,t+1)!==115)break;case 6444:switch(jn(e,Tt(e)-3-(~jl(e,"!important")&&10))){case 107:return Le(e,":",":"+De)+e;case 101:return Le(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+De+(jn(e,14)===45?"inline-":"")+"box$3$1"+De+"$2$3$1"+Rn+"$2box$3")+e}break;case 5936:switch(jn(e,t+11)){case 114:return De+e+Rn+Le(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return De+e+Rn+Le(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return De+e+Rn+Le(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return De+e+Rn+e+e}return e}var py=function(e,t,o,i){if(e.length>-1&&!e.return)switch(e.type){case Sl:e.return=Y0(e.value,e.length);break;case D0:return Yr([Lo(e,{value:Le(e.value,"@","@"+De)})],i);case Ol:if(e.length)return B6(e.props,function(s){switch(Z6(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Yr([Lo(e,{props:[Le(s,/:(read-\w+)/,":"+ra+"$1")]})],i);case"::placeholder":return Yr([Lo(e,{props:[Le(s,/:(plac\w+)/,":"+De+"input-$1")]}),Lo(e,{props:[Le(s,/:(plac\w+)/,":"+ra+"$1")]}),Lo(e,{props:[Le(s,/:(plac\w+)/,Rn+"input-$1")]})],i)}return""})}},fy=[py],dy=function(e){var t=e.key;if(t==="css"){var o=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(o,function(_){var S=_.getAttribute("data-emotion");S.indexOf(" ")!==-1&&(document.head.appendChild(_),_.setAttribute("data-s",""))})}var i=e.stylisPlugins||fy,s={},u,c=[];u=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(_){for(var S=_.getAttribute("data-emotion").split(" "),x=1;x<S.length;x++)s[S[x]]=!0;c.push(_)});var f,m=[ay,sy];{var y,g=[ey,ty(function(_){y.insert(_)})],O=ny(m.concat(i,g)),w=function(_){return Yr(J6(_),O)};f=function(_,S,x,M){y=x,w(_?_+"{"+S.styles+"}":S.styles),M&&(R.inserted[S.name]=!0)}}var R={key:t,sheet:new z6({key:t,container:u,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:f};return R.sheet.hydrate(c),R};let Cl;typeof document=="object"&&(Cl=dy({key:"css",prepend:!0}));function hy(e){const{injectFirst:t,children:o}=e;return t&&Cl?d.jsx(i6,{value:Cl,children:o}):o}function my(e){return e==null||Object.keys(e).length===0}function G0(e){const{styles:t,defaultTheme:o={}}=e,i=typeof t=="function"?s=>t(my(s)?o:s):t;return d.jsx(a6,{styles:i})}function vy(e,t){return u6(e,t)}const yy=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},gy=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:G0,StyledEngineProvider:hy,ThemeContext:c0,css:s6,default:vy,internal_processStyles:yy,keyframes:ea},Symbol.toStringTag,{value:"Module"})),by=er(gy);function tr(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function X0(e){if(!tr(e))return e;const t={};return Object.keys(e).forEach(o=>{t[o]=X0(e[o])}),t}function Xn(e,t,o={clone:!0}){const i=o.clone?C({},e):e;return tr(e)&&tr(t)&&Object.keys(t).forEach(s=>{tr(t[s])&&Object.prototype.hasOwnProperty.call(e,s)&&tr(e[s])?i[s]=Xn(e[s],t[s],o):o.clone?i[s]=tr(t[s])?X0(t[s]):t[s]:i[s]=t[s]}),i}const xy=Object.freeze(Object.defineProperty({__proto__:null,default:Xn,isPlainObject:tr},Symbol.toStringTag,{value:"Module"})),_y=er(xy);function Ee(e){if(typeof e!="string")throw new Error(hr(7));return e.charAt(0).toUpperCase()+e.slice(1)}const wy=Object.freeze(Object.defineProperty({__proto__:null,default:Ee},Symbol.toStringTag,{value:"Module"})),Oy=er(wy);var J0={exports:{}},qe={},Q0;function Sy(){if(Q0)return qe;Q0=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),c=Symbol.for("react.context"),f=Symbol.for("react.server_context"),m=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),O=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),R=Symbol.for("react.offscreen"),_;_=Symbol.for("react.module.reference");function S(x){if(typeof x=="object"&&x!==null){var M=x.$$typeof;switch(M){case e:switch(x=x.type,x){case o:case s:case i:case y:case g:return x;default:switch(x=x&&x.$$typeof,x){case f:case c:case m:case w:case O:case u:return x;default:return M}}case t:return M}}}return qe.ContextConsumer=c,qe.ContextProvider=u,qe.Element=e,qe.ForwardRef=m,qe.Fragment=o,qe.Lazy=w,qe.Memo=O,qe.Portal=t,qe.Profiler=s,qe.StrictMode=i,qe.Suspense=y,qe.SuspenseList=g,qe.isAsyncMode=function(){return!1},qe.isConcurrentMode=function(){return!1},qe.isContextConsumer=function(x){return S(x)===c},qe.isContextProvider=function(x){return S(x)===u},qe.isElement=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===e},qe.isForwardRef=function(x){return S(x)===m},qe.isFragment=function(x){return S(x)===o},qe.isLazy=function(x){return S(x)===w},qe.isMemo=function(x){return S(x)===O},qe.isPortal=function(x){return S(x)===t},qe.isProfiler=function(x){return S(x)===s},qe.isStrictMode=function(x){return S(x)===i},qe.isSuspense=function(x){return S(x)===y},qe.isSuspenseList=function(x){return S(x)===g},qe.isValidElementType=function(x){return typeof x=="string"||typeof x=="function"||x===o||x===s||x===i||x===y||x===g||x===R||typeof x=="object"&&x!==null&&(x.$$typeof===w||x.$$typeof===O||x.$$typeof===u||x.$$typeof===c||x.$$typeof===m||x.$$typeof===_||x.getModuleId!==void 0)},qe.typeOf=S,qe}var jy={},e1;function lk(){return e1||(e1=1),jy}J0.exports=Sy();var n1=J0.exports;const Ey=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function t1(e){const t=`${e}`.match(Ey);return t&&t[1]||""}function r1(e,t=""){return e.displayName||e.name||t1(e)||t}function o1(e,t,o){const i=r1(t);return e.displayName||(i!==""?`${o}(${i})`:o)}function Ty(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return r1(e,"Component");if(typeof e=="object")switch(e.$$typeof){case n1.ForwardRef:return o1(e,e.render,"ForwardRef");case n1.Memo:return o1(e,e.type,"memo");default:return}}}const Cy=Object.freeze(Object.defineProperty({__proto__:null,default:Ty,getFunctionName:t1},Symbol.toStringTag,{value:"Module"})),Ry=er(Cy),$y=["values","unit","step"],Py=e=>{const t=Object.keys(e).map(o=>({key:o,val:e[o]}))||[];return t.sort((o,i)=>o.val-i.val),t.reduce((o,i)=>C({},o,{[i.key]:i.val}),{})};function i1(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:o="px",step:i=5}=e,s=_e(e,$y),u=Py(t),c=Object.keys(u);function f(w){return`@media (min-width:${typeof t[w]=="number"?t[w]:w}${o})`}function m(w){return`@media (max-width:${(typeof t[w]=="number"?t[w]:w)-i/100}${o})`}function y(w,R){const _=c.indexOf(R);return`@media (min-width:${typeof t[w]=="number"?t[w]:w}${o}) and (max-width:${(_!==-1&&typeof t[c[_]]=="number"?t[c[_]]:R)-i/100}${o})`}function g(w){return c.indexOf(w)+1<c.length?y(w,c[c.indexOf(w)+1]):f(w)}function O(w){const R=c.indexOf(w);return R===0?f(c[1]):R===c.length-1?m(c[R]):y(w,c[c.indexOf(w)+1]).replace("@media","@media not all and")}return C({keys:c,values:u,up:f,down:m,between:y,only:g,not:O,unit:o},s)}const ky={borderRadius:4},uk={};function qo(e,t){return t?Xn(e,t,{clone:!1}):e}const Rl={xs:0,sm:600,md:900,lg:1200,xl:1536},a1={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Rl[e]}px)`};function Zt(e,t,o){const i=e.theme||{};if(Array.isArray(t)){const s=i.breakpoints||a1;return t.reduce((u,c,f)=>(u[s.up(s.keys[f])]=o(t[f]),u),{})}if(typeof t=="object"){const s=i.breakpoints||a1;return Object.keys(t).reduce((u,c)=>{if(Object.keys(s.values||Rl).indexOf(c)!==-1){const f=s.up(c);u[f]=o(t[c],c)}else{const f=c;u[f]=t[f]}return u},{})}return o(t)}function My(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((o,i)=>{const s=e.up(i);return o[s]={},o},{}))||{}}function Iy(e,t){return e.reduce((o,i)=>{const s=o[i];return(!s||Object.keys(s).length===0)&&delete o[i],o},t)}function pa(e,t,o=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&o){const i=`vars.${t}`.split(".").reduce((s,u)=>s&&s[u]?s[u]:null,e);if(i!=null)return i}return t.split(".").reduce((i,s)=>i&&i[s]!=null?i[s]:null,e)}function fa(e,t,o,i=o){let s;return typeof e=="function"?s=e(o):Array.isArray(e)?s=e[o]||i:s=pa(e,o)||i,t&&(s=t(s,i,e)),s}function hn(e){const{prop:t,cssProperty:o=e.prop,themeKey:i,transform:s}=e,u=c=>{if(c[t]==null)return null;const f=c[t],m=c.theme,y=pa(m,i)||{};return Zt(c,f,g=>{let O=fa(y,s,g);return g===O&&typeof g=="string"&&(O=fa(y,s,`${t}${g==="default"?"":Ee(g)}`,g)),o===!1?O:{[o]:O}})};return u.propTypes={},u.filterProps=[t],u}function Ay(e){const t={};return o=>(t[o]===void 0&&(t[o]=e(o)),t[o])}const Ny={m:"margin",p:"padding"},Fy={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},s1={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},zy=Ay(e=>{if(e.length>2)if(s1[e])e=s1[e];else return[e];const[t,o]=e.split(""),i=Ny[t],s=Fy[o]||"";return Array.isArray(s)?s.map(u=>i+u):[i+s]}),$l=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Pl=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],ck=[...$l,...Pl];function Zo(e,t,o,i){var s;const u=(s=pa(e,t,!1))!=null?s:o;return typeof u=="number"?c=>typeof c=="string"?c:u*c:Array.isArray(u)?c=>typeof c=="string"?c:u[c]:typeof u=="function"?u:()=>{}}function l1(e){return Zo(e,"spacing",8,"spacing")}function Bo(e,t){if(typeof t=="string"||t==null)return t;const o=Math.abs(t),i=e(o);return t>=0?i:typeof i=="number"?-i:`-${i}`}function Dy(e,t){return o=>e.reduce((i,s)=>(i[s]=Bo(t,o),i),{})}function Ly(e,t,o,i){if(t.indexOf(o)===-1)return null;const s=zy(o),u=Dy(s,i),c=e[o];return Zt(e,c,u)}function u1(e,t){const o=l1(e.theme);return Object.keys(e).map(i=>Ly(e,t,i,o)).reduce(qo,{})}function sn(e){return u1(e,$l)}sn.propTypes={},sn.filterProps=$l;function ln(e){return u1(e,Pl)}ln.propTypes={},ln.filterProps=Pl;function Vy(e=8){if(e.mui)return e;const t=l1({spacing:e}),o=(...i)=>(i.length===0?[1]:i).map(s=>{const u=t(s);return typeof u=="number"?`${u}px`:u}).join(" ");return o.mui=!0,o}function da(...e){const t=e.reduce((i,s)=>(s.filterProps.forEach(u=>{i[u]=s}),i),{}),o=i=>Object.keys(i).reduce((s,u)=>t[u]?qo(s,t[u](i)):s,{});return o.propTypes={},o.filterProps=e.reduce((i,s)=>i.concat(s.filterProps),[]),o}function ct(e){return typeof e!="number"?e:`${e}px solid`}function pt(e,t){return hn({prop:e,themeKey:"borders",transform:t})}const Wy=pt("border",ct),qy=pt("borderTop",ct),Zy=pt("borderRight",ct),By=pt("borderBottom",ct),Hy=pt("borderLeft",ct),Uy=pt("borderColor"),Ky=pt("borderTopColor"),Yy=pt("borderRightColor"),Gy=pt("borderBottomColor"),Xy=pt("borderLeftColor"),Jy=pt("outline",ct),Qy=pt("outlineColor"),ha=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Zo(e.theme,"shape.borderRadius",4,"borderRadius"),o=i=>({borderRadius:Bo(t,i)});return Zt(e,e.borderRadius,o)}return null};ha.propTypes={},ha.filterProps=["borderRadius"],da(Wy,qy,Zy,By,Hy,Uy,Ky,Yy,Gy,Xy,ha,Jy,Qy);const ma=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Zo(e.theme,"spacing",8,"gap"),o=i=>({gap:Bo(t,i)});return Zt(e,e.gap,o)}return null};ma.propTypes={},ma.filterProps=["gap"];const va=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Zo(e.theme,"spacing",8,"columnGap"),o=i=>({columnGap:Bo(t,i)});return Zt(e,e.columnGap,o)}return null};va.propTypes={},va.filterProps=["columnGap"];const ya=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Zo(e.theme,"spacing",8,"rowGap"),o=i=>({rowGap:Bo(t,i)});return Zt(e,e.rowGap,o)}return null};ya.propTypes={},ya.filterProps=["rowGap"];const e7=hn({prop:"gridColumn"}),n7=hn({prop:"gridRow"}),t7=hn({prop:"gridAutoFlow"}),r7=hn({prop:"gridAutoColumns"}),o7=hn({prop:"gridAutoRows"}),i7=hn({prop:"gridTemplateColumns"}),a7=hn({prop:"gridTemplateRows"}),s7=hn({prop:"gridTemplateAreas"}),l7=hn({prop:"gridArea"});da(ma,va,ya,e7,n7,t7,r7,o7,i7,a7,s7,l7);function Gr(e,t){return t==="grey"?t:e}const u7=hn({prop:"color",themeKey:"palette",transform:Gr}),c7=hn({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Gr}),p7=hn({prop:"backgroundColor",themeKey:"palette",transform:Gr});da(u7,c7,p7);function Jn(e){return e<=1&&e!==0?`${e*100}%`:e}const f7=hn({prop:"width",transform:Jn}),kl=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=o=>{var i,s;const u=((i=e.theme)==null||(i=i.breakpoints)==null||(i=i.values)==null?void 0:i[o])||Rl[o];return u?((s=e.theme)==null||(s=s.breakpoints)==null?void 0:s.unit)!=="px"?{maxWidth:`${u}${e.theme.breakpoints.unit}`}:{maxWidth:u}:{maxWidth:Jn(o)}};return Zt(e,e.maxWidth,t)}return null};kl.filterProps=["maxWidth"];const d7=hn({prop:"minWidth",transform:Jn}),h7=hn({prop:"height",transform:Jn}),m7=hn({prop:"maxHeight",transform:Jn}),v7=hn({prop:"minHeight",transform:Jn});hn({prop:"size",cssProperty:"width",transform:Jn}),hn({prop:"size",cssProperty:"height",transform:Jn});const y7=hn({prop:"boxSizing"});da(f7,kl,d7,h7,m7,v7,y7);const Ho={border:{themeKey:"borders",transform:ct},borderTop:{themeKey:"borders",transform:ct},borderRight:{themeKey:"borders",transform:ct},borderBottom:{themeKey:"borders",transform:ct},borderLeft:{themeKey:"borders",transform:ct},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:ct},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:ha},color:{themeKey:"palette",transform:Gr},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Gr},backgroundColor:{themeKey:"palette",transform:Gr},p:{style:ln},pt:{style:ln},pr:{style:ln},pb:{style:ln},pl:{style:ln},px:{style:ln},py:{style:ln},padding:{style:ln},paddingTop:{style:ln},paddingRight:{style:ln},paddingBottom:{style:ln},paddingLeft:{style:ln},paddingX:{style:ln},paddingY:{style:ln},paddingInline:{style:ln},paddingInlineStart:{style:ln},paddingInlineEnd:{style:ln},paddingBlock:{style:ln},paddingBlockStart:{style:ln},paddingBlockEnd:{style:ln},m:{style:sn},mt:{style:sn},mr:{style:sn},mb:{style:sn},ml:{style:sn},mx:{style:sn},my:{style:sn},margin:{style:sn},marginTop:{style:sn},marginRight:{style:sn},marginBottom:{style:sn},marginLeft:{style:sn},marginX:{style:sn},marginY:{style:sn},marginInline:{style:sn},marginInlineStart:{style:sn},marginInlineEnd:{style:sn},marginBlock:{style:sn},marginBlockStart:{style:sn},marginBlockEnd:{style:sn},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:ma},rowGap:{style:ya},columnGap:{style:va},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Jn},maxWidth:{style:kl},minWidth:{transform:Jn},height:{transform:Jn},maxHeight:{transform:Jn},minHeight:{transform:Jn},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function g7(...e){const t=e.reduce((i,s)=>i.concat(Object.keys(s)),[]),o=new Set(t);return e.every(i=>o.size===Object.keys(i).length)}function b7(e,t){return typeof e=="function"?e(t):e}function c1(){function e(o,i,s,u){const c={[o]:i,theme:s},f=u[o];if(!f)return{[o]:i};const{cssProperty:m=o,themeKey:y,transform:g,style:O}=f;if(i==null)return null;if(y==="typography"&&i==="inherit")return{[o]:i};const w=pa(s,y)||{};return O?O(c):Zt(c,i,R=>{let _=fa(w,g,R);return R===_&&typeof R=="string"&&(_=fa(w,g,`${o}${R==="default"?"":Ee(R)}`,R)),m===!1?_:{[m]:_}})}function t(o){var i;const{sx:s,theme:u={}}=o||{};if(!s)return null;const c=(i=u.unstable_sxConfig)!=null?i:Ho;function f(m){let y=m;if(typeof m=="function")y=m(u);else if(typeof m!="object")return m;if(!y)return null;const g=My(u.breakpoints),O=Object.keys(g);let w=g;return Object.keys(y).forEach(R=>{const _=b7(y[R],u);if(_!=null)if(typeof _=="object")if(c[R])w=qo(w,e(R,_,u,c));else{const S=Zt({theme:u},_,x=>({[R]:x}));g7(S,_)?w[R]=t({sx:_,theme:u}):w=qo(w,S)}else w=qo(w,e(R,_,u,c))}),Iy(O,w)}return Array.isArray(s)?s.map(f):f(s)}return t}const ga=c1();ga.filterProps=["sx"];function p1(e,t){const o=this;return o.vars&&typeof o.getColorSchemeSelector=="function"?{[o.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:o.palette.mode===e?t:{}}const x7=["breakpoints","palette","spacing","shape"];function Ml(e={},...t){const{breakpoints:o={},palette:i={},spacing:s,shape:u={}}=e,c=_e(e,x7),f=i1(o),m=Vy(s);let y=Xn({breakpoints:f,direction:"ltr",components:{},palette:C({mode:"light"},i),spacing:m,shape:C({},ky,u)},c);return y.applyStyles=p1,y=t.reduce((g,O)=>Xn(g,O),y),y.unstable_sxConfig=C({},Ho,c?.unstable_sxConfig),y.unstable_sx=function(g){return ga({sx:g,theme:this})},y}const _7=Object.freeze(Object.defineProperty({__proto__:null,default:Ml,private_createBreakpoints:i1,unstable_applyStyles:p1},Symbol.toStringTag,{value:"Module"})),w7=er(_7),O7=["sx"],S7=e=>{var t,o;const i={systemProps:{},otherProps:{}},s=(t=e==null||(o=e.theme)==null?void 0:o.unstable_sxConfig)!=null?t:Ho;return Object.keys(e).forEach(u=>{s[u]?i.systemProps[u]=e[u]:i.otherProps[u]=e[u]}),i};function f1(e){const{sx:t}=e,o=_e(e,O7),{systemProps:i,otherProps:s}=S7(o);let u;return Array.isArray(t)?u=[i,...t]:typeof t=="function"?u=(...c)=>{const f=t(...c);return tr(f)?C({},i,f):i}:u=C({},i,t),C({},s,{sx:u})}const j7=Object.freeze(Object.defineProperty({__proto__:null,default:ga,extendSxProp:f1,unstable_createStyleFunctionSx:c1,unstable_defaultSxConfig:Ho},Symbol.toStringTag,{value:"Module"})),E7=er(j7);var Xr=E0;Object.defineProperty(zo,"__esModule",{value:!0});var T7=zo.default=L7;zo.shouldForwardProp=ba,zo.systemDefaultTheme=void 0;var ft=Xr(I6()),Il=Xr(A6()),d1=I7(by),C7=_y,pk=Xr(Oy),fk=Xr(Ry),R7=Xr(w7),$7=Xr(E7);const P7=["ownerState"],k7=["variants"],M7=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function h1(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,o=new WeakMap;return(h1=function(i){return i?o:t})(e)}function I7(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var o=h1(t);if(o&&o.has(e))return o.get(e);var i={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(u!=="default"&&Object.prototype.hasOwnProperty.call(e,u)){var c=s?Object.getOwnPropertyDescriptor(e,u):null;c&&(c.get||c.set)?Object.defineProperty(i,u,c):i[u]=e[u]}return i.default=e,o&&o.set(e,i),i}function A7(e){return Object.keys(e).length===0}function N7(e){return typeof e=="string"&&e.charCodeAt(0)>96}function ba(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const F7=zo.systemDefaultTheme=(0,R7.default)(),z7=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function xa({defaultTheme:e,theme:t,themeId:o}){return A7(t)?e:t[o]||t}function D7(e){return e?(t,o)=>o[e]:null}function _a(e,t){let{ownerState:o}=t,i=(0,Il.default)(t,P7);const s=typeof e=="function"?e((0,ft.default)({ownerState:o},i)):e;if(Array.isArray(s))return s.flatMap(u=>_a(u,(0,ft.default)({ownerState:o},i)));if(s&&typeof s=="object"&&Array.isArray(s.variants)){const{variants:u=[]}=s;let c=(0,Il.default)(s,k7);return u.forEach(f=>{let m=!0;typeof f.props=="function"?m=f.props((0,ft.default)({ownerState:o},i,o)):Object.keys(f.props).forEach(y=>{o?.[y]!==f.props[y]&&i[y]!==f.props[y]&&(m=!1)}),m&&(Array.isArray(c)||(c=[c]),c.push(typeof f.style=="function"?f.style((0,ft.default)({ownerState:o},i,o)):f.style))}),c}return s}function L7(e={}){const{themeId:t,defaultTheme:o=F7,rootShouldForwardProp:i=ba,slotShouldForwardProp:s=ba}=e,u=c=>(0,$7.default)((0,ft.default)({},c,{theme:xa((0,ft.default)({},c,{defaultTheme:o,themeId:t}))}));return u.__mui_systemSx=!0,(c,f={})=>{(0,d1.internal_processStyles)(c,j=>j.filter(A=>!(A!=null&&A.__mui_systemSx)));const{name:m,slot:y,skipVariantsResolver:g,skipSx:O,overridesResolver:w=D7(z7(y))}=f,R=(0,Il.default)(f,M7),_=g!==void 0?g:y&&y!=="Root"&&y!=="root"||!1,S=O||!1;let x,M=ba;y==="Root"||y==="root"?M=i:y?M=s:N7(c)&&(M=void 0);const I=(0,d1.default)(c,(0,ft.default)({shouldForwardProp:M,label:x},R)),T=j=>typeof j=="function"&&j.__emotion_real!==j||(0,C7.isPlainObject)(j)?A=>_a(j,(0,ft.default)({},A,{theme:xa({theme:A.theme,defaultTheme:o,themeId:t})})):j,F=(j,...A)=>{let z=T(j);const K=A?A.map(T):[];m&&w&&K.push(ee=>{const G=xa((0,ft.default)({},ee,{defaultTheme:o,themeId:t}));if(!G.components||!G.components[m]||!G.components[m].styleOverrides)return null;const B=G.components[m].styleOverrides,Z={};return Object.entries(B).forEach(([ie,me])=>{Z[ie]=_a(me,(0,ft.default)({},ee,{theme:G}))}),w(ee,Z)}),m&&!_&&K.push(ee=>{var G;const B=xa((0,ft.default)({},ee,{defaultTheme:o,themeId:t})),Z=B==null||(G=B.components)==null||(G=G[m])==null?void 0:G.variants;return _a({variants:Z},(0,ft.default)({},ee,{theme:B}))}),S||K.push(u);const U=K.length-A.length;if(Array.isArray(j)&&U>0){const ee=new Array(U).fill("");z=[...j,...ee],z.raw=[...j.raw,...ee]}const ae=I(z,...K);return c.muiName&&(ae.muiName=c.muiName),ae};return I.withConfig&&(F.withConfig=I.withConfig),F}}const m1=e=>e,V7=()=>{let e=m1;return{configure(t){e=t},generate(t){return e(t)},reset(){e=m1}}},W7=V7(),q7={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Je(e,t,o="Mui"){const i=q7[t];return i?`${o}-${i}`:`${W7.generate(e)}-${t}`}function Z7(e,t){return C({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const Uo={black:"#000",white:"#fff"},B7={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},Jr={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Qr={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Ko={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},eo={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},no={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},to={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},H7=["mode","contrastThreshold","tonalOffset"],v1={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Uo.white,default:Uo.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Al={text:{primary:Uo.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Uo.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function y1(e,t,o,i){const s=i.light||i,u=i.dark||i*1.5;e[t]||(e.hasOwnProperty(o)?e[t]=e[o]:t==="light"?e.light=bl(e.main,s):t==="dark"&&(e.dark=gl(e.main,u)))}function U7(e="light"){return e==="dark"?{main:eo[200],light:eo[50],dark:eo[400]}:{main:eo[700],light:eo[400],dark:eo[800]}}function K7(e="light"){return e==="dark"?{main:Jr[200],light:Jr[50],dark:Jr[400]}:{main:Jr[500],light:Jr[300],dark:Jr[700]}}function Y7(e="light"){return e==="dark"?{main:Qr[500],light:Qr[300],dark:Qr[700]}:{main:Qr[700],light:Qr[400],dark:Qr[800]}}function G7(e="light"){return e==="dark"?{main:no[400],light:no[300],dark:no[700]}:{main:no[700],light:no[500],dark:no[900]}}function X7(e="light"){return e==="dark"?{main:to[400],light:to[300],dark:to[700]}:{main:to[800],light:to[500],dark:to[900]}}function J7(e="light"){return e==="dark"?{main:Ko[400],light:Ko[300],dark:Ko[700]}:{main:"#ed6c02",light:Ko[500],dark:Ko[900]}}function Q7(e){const{mode:t="light",contrastThreshold:o=3,tonalOffset:i=.2}=e,s=_e(e,H7),u=e.primary||U7(t),c=e.secondary||K7(t),f=e.error||Y7(t),m=e.info||G7(t),y=e.success||X7(t),g=e.warning||J7(t);function O(_){return O6(_,Al.text.primary)>=o?Al.text.primary:v1.text.primary}const w=({color:_,name:S,mainShade:x=500,lightShade:M=300,darkShade:I=700})=>{if(_=C({},_),!_.main&&_[x]&&(_.main=_[x]),!_.hasOwnProperty("main"))throw new Error(hr(11,S?` (${S})`:"",x));if(typeof _.main!="string")throw new Error(hr(12,S?` (${S})`:"",JSON.stringify(_.main)));return y1(_,"light",M,i),y1(_,"dark",I,i),_.contrastText||(_.contrastText=O(_.main)),_},R={dark:Al,light:v1};return Xn(C({common:C({},Uo),mode:t,primary:w({color:u,name:"primary"}),secondary:w({color:c,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:w({color:f,name:"error"}),warning:w({color:g,name:"warning"}),info:w({color:m,name:"info"}),success:w({color:y,name:"success"}),grey:B7,contrastThreshold:o,getContrastText:O,augmentColor:w,tonalOffset:i},R[t]),s)}const eg=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function ng(e){return Math.round(e*1e5)/1e5}const g1={textTransform:"uppercase"},b1='"Roboto", "Helvetica", "Arial", sans-serif';function tg(e,t){const o=typeof t=="function"?t(e):t,{fontFamily:i=b1,fontSize:s=14,fontWeightLight:u=300,fontWeightRegular:c=400,fontWeightMedium:f=500,fontWeightBold:m=700,htmlFontSize:y=16,allVariants:g,pxToRem:O}=o,w=_e(o,eg),R=s/14,_=O||(M=>`${M/y*R}rem`),S=(M,I,T,F,j)=>C({fontFamily:i,fontWeight:M,fontSize:_(I),lineHeight:T},i===b1?{letterSpacing:`${ng(F/I)}em`}:{},j,g),x={h1:S(u,96,1.167,-1.5),h2:S(u,60,1.2,-.5),h3:S(c,48,1.167,0),h4:S(c,34,1.235,.25),h5:S(c,24,1.334,0),h6:S(f,20,1.6,.15),subtitle1:S(c,16,1.75,.15),subtitle2:S(f,14,1.57,.1),body1:S(c,16,1.5,.15),body2:S(c,14,1.43,.15),button:S(f,14,1.75,.4,g1),caption:S(c,12,1.66,.4),overline:S(c,12,2.66,1,g1),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Xn(C({htmlFontSize:y,pxToRem:_,fontFamily:i,fontSize:s,fontWeightLight:u,fontWeightRegular:c,fontWeightMedium:f,fontWeightBold:m},x),w,{clone:!1})}const rg=.2,og=.14,ig=.12;function Qe(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${rg})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${og})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${ig})`].join(",")}const ag=["none",Qe(0,2,1,-1,0,1,1,0,0,1,3,0),Qe(0,3,1,-2,0,2,2,0,0,1,5,0),Qe(0,3,3,-2,0,3,4,0,0,1,8,0),Qe(0,2,4,-1,0,4,5,0,0,1,10,0),Qe(0,3,5,-1,0,5,8,0,0,1,14,0),Qe(0,3,5,-1,0,6,10,0,0,1,18,0),Qe(0,4,5,-2,0,7,10,1,0,2,16,1),Qe(0,5,5,-3,0,8,10,1,0,3,14,2),Qe(0,5,6,-3,0,9,12,1,0,3,16,2),Qe(0,6,6,-3,0,10,14,1,0,4,18,3),Qe(0,6,7,-4,0,11,15,1,0,4,20,3),Qe(0,7,8,-4,0,12,17,2,0,5,22,4),Qe(0,7,8,-4,0,13,19,2,0,5,24,4),Qe(0,7,9,-4,0,14,21,2,0,5,26,4),Qe(0,8,9,-5,0,15,22,2,0,6,28,5),Qe(0,8,10,-5,0,16,24,2,0,6,30,5),Qe(0,8,11,-5,0,17,26,2,0,6,32,5),Qe(0,9,11,-5,0,18,28,2,0,7,34,6),Qe(0,9,12,-6,0,19,29,2,0,7,36,6),Qe(0,10,13,-6,0,20,31,3,0,8,38,7),Qe(0,10,13,-6,0,21,33,3,0,8,40,7),Qe(0,10,14,-6,0,22,35,3,0,8,42,7),Qe(0,11,14,-7,0,23,36,3,0,9,44,8),Qe(0,11,15,-7,0,24,38,3,0,9,46,8)],sg=["duration","easing","delay"],lg={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},ug={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function x1(e){return`${Math.round(e)}ms`}function cg(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function pg(e){const t=C({},lg,e.easing),o=C({},ug,e.duration);return C({getAutoHeightDuration:cg,create:(i=["all"],s={})=>{const{duration:u=o.standard,easing:c=t.easeInOut,delay:f=0}=s,m=_e(s,sg);return(Array.isArray(i)?i:[i]).map(y=>`${y} ${typeof u=="string"?u:x1(u)} ${c} ${typeof f=="string"?f:x1(f)}`).join(",")}},e,{easing:t,duration:o})}const fg={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},dg=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function hg(e={},...t){const{mixins:o={},palette:i={},transitions:s={},typography:u={}}=e,c=_e(e,dg);if(e.vars)throw new Error(hr(18));const f=Q7(i),m=Ml(e);let y=Xn(m,{mixins:Z7(m.breakpoints,o),palette:f,shadows:ag.slice(),typography:tg(f,u),transitions:pg(s),zIndex:C({},fg)});return y=Xn(y,c),y=t.reduce((g,O)=>Xn(g,O),y),y.unstable_sxConfig=C({},Ho,c?.unstable_sxConfig),y.unstable_sx=function(g){return ga({sx:g,theme:this})},y}const wa=hg(),Oa="$$material";function _1(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const xt=e=>_1(e)&&e!=="classes",xe=T7({themeId:Oa,defaultTheme:wa,rootShouldForwardProp:xt});function mg(e){const{theme:t,name:o,props:i}=e;return!t||!t.components||!t.components[o]||!t.components[o].defaultProps?i:yl(t.components[o].defaultProps,i)}function vg(e){return Object.keys(e).length===0}function yg(e=null){const t=k.useContext(c0);return!t||vg(t)?e:t}const gg=Ml();function Nl(e=gg){return yg(e)}function bg({props:e,name:t,defaultTheme:o,themeId:i}){let s=Nl(o);return i&&(s=s[i]||s),mg({theme:s,name:t,props:e})}function on({props:e,name:t}){return bg({props:e,name:t,defaultTheme:wa,themeId:Oa})}const dk=Br.oneOfType([Br.func,Br.object]);function Fl(e,t){return()=>null}function xg(e){const{prototype:t={}}=e;return!!t.isReactComponent}function _g(e,t,o,i,s){const u=e[t],c=s||t;if(u==null||typeof window>"u")return null;let f;return typeof u=="function"&&!xg(u)&&(f="Did you accidentally provide a plain function component instead?"),f!==void 0?new Error(`Invalid ${i} \`${c}\` supplied to \`${o}\`. Expected an element type that can hold a ref. ${f} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const hk=Fl(Br.elementType,_g);function zl(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function In(...e){return k.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(o=>{zl(o,t)})},e)}const mr=typeof window<"u"?k.useLayoutEffect:k.useEffect;function ro(e){const t=k.useRef(e);return mr(()=>{t.current=e}),k.useRef((...o)=>(0,t.current)(...o)).current}const w1={};function wg(e,t){const o=k.useRef(w1);return o.current===w1&&(o.current=e(t)),o}const Og=[];function Sg(e){k.useEffect(e,Og)}class Ga{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Ga}start(t,o){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,o()},t)}}function O1(){const e=wg(Ga.create).current;return Sg(e.disposeEffect),e}let Sa=!0,Dl=!1;const jg=new Ga,Eg={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function Tg(e){const{type:t,tagName:o}=e;return!!(o==="INPUT"&&Eg[t]&&!e.readOnly||o==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function Cg(e){e.metaKey||e.altKey||e.ctrlKey||(Sa=!0)}function Ll(){Sa=!1}function Rg(){this.visibilityState==="hidden"&&Dl&&(Sa=!0)}function $g(e){e.addEventListener("keydown",Cg,!0),e.addEventListener("mousedown",Ll,!0),e.addEventListener("pointerdown",Ll,!0),e.addEventListener("touchstart",Ll,!0),e.addEventListener("visibilitychange",Rg,!0)}function Pg(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Sa||Tg(t)}function kg(){const e=k.useCallback(s=>{s!=null&&$g(s.ownerDocument)},[]),t=k.useRef(!1);function o(){return t.current?(Dl=!0,jg.start(100,()=>{Dl=!1}),t.current=!1,!0):!1}function i(s){return Pg(s)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:i,onBlur:o,ref:e}}function Vl(e,t){return Vl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,i){return o.__proto__=i,o},Vl(e,t)}function S1(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Vl(e,t)}const j1={disabled:!1};var mk=null;const ja=gt.createContext(null);var Mg=function(e){return e.scrollTop},Yo="unmounted",vr="exited",yr="entering",oo="entered",Wl="exiting",Rt=function(e){S1(t,e);function t(i,s){var u;u=e.call(this,i,s)||this;var c=s,f=c&&!c.isMounting?i.enter:i.appear,m;return u.appearStatus=null,i.in?f?(m=vr,u.appearStatus=yr):m=oo:i.unmountOnExit||i.mountOnEnter?m=Yo:m=vr,u.state={status:m},u.nextCallback=null,u}t.getDerivedStateFromProps=function(i,s){var u=i.in;return u&&s.status===Yo?{status:vr}:null};var o=t.prototype;return o.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},o.componentDidUpdate=function(i){var s=null;if(i!==this.props){var u=this.state.status;this.props.in?u!==yr&&u!==oo&&(s=yr):(u===yr||u===oo)&&(s=Wl)}this.updateStatus(!1,s)},o.componentWillUnmount=function(){this.cancelNextCallback()},o.getTimeouts=function(){var i=this.props.timeout,s,u,c;return s=u=c=i,i!=null&&typeof i!="number"&&(s=i.exit,u=i.enter,c=i.appear!==void 0?i.appear:u),{exit:s,enter:u,appear:c}},o.updateStatus=function(i,s){if(i===void 0&&(i=!1),s!==null)if(this.cancelNextCallback(),s===yr){if(this.props.unmountOnExit||this.props.mountOnEnter){var u=this.props.nodeRef?this.props.nodeRef.current:Qi.findDOMNode(this);u&&Mg(u)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===vr&&this.setState({status:Yo})},o.performEnter=function(i){var s=this,u=this.props.enter,c=this.context?this.context.isMounting:i,f=this.props.nodeRef?[c]:[Qi.findDOMNode(this),c],m=f[0],y=f[1],g=this.getTimeouts(),O=c?g.appear:g.enter;if(!i&&!u||j1.disabled){this.safeSetState({status:oo},function(){s.props.onEntered(m)});return}this.props.onEnter(m,y),this.safeSetState({status:yr},function(){s.props.onEntering(m,y),s.onTransitionEnd(O,function(){s.safeSetState({status:oo},function(){s.props.onEntered(m,y)})})})},o.performExit=function(){var i=this,s=this.props.exit,u=this.getTimeouts(),c=this.props.nodeRef?void 0:Qi.findDOMNode(this);if(!s||j1.disabled){this.safeSetState({status:vr},function(){i.props.onExited(c)});return}this.props.onExit(c),this.safeSetState({status:Wl},function(){i.props.onExiting(c),i.onTransitionEnd(u.exit,function(){i.safeSetState({status:vr},function(){i.props.onExited(c)})})})},o.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},o.safeSetState=function(i,s){s=this.setNextCallback(s),this.setState(i,s)},o.setNextCallback=function(i){var s=this,u=!0;return this.nextCallback=function(c){u&&(u=!1,s.nextCallback=null,i(c))},this.nextCallback.cancel=function(){u=!1},this.nextCallback},o.onTransitionEnd=function(i,s){this.setNextCallback(s);var u=this.props.nodeRef?this.props.nodeRef.current:Qi.findDOMNode(this),c=i==null&&!this.props.addEndListener;if(!u||c){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var f=this.props.nodeRef?[this.nextCallback]:[u,this.nextCallback],m=f[0],y=f[1];this.props.addEndListener(m,y)}i!=null&&setTimeout(this.nextCallback,i)},o.render=function(){var i=this.state.status;if(i===Yo)return null;var s=this.props,u=s.children;s.in,s.mountOnEnter,s.unmountOnExit,s.appear,s.enter,s.exit,s.timeout,s.addEndListener,s.onEnter,s.onEntering,s.onEntered,s.onExit,s.onExiting,s.onExited,s.nodeRef;var c=_e(s,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return gt.createElement(ja.Provider,{value:null},typeof u=="function"?u(i,c):gt.cloneElement(gt.Children.only(u),c))},t}(gt.Component);Rt.contextType=ja,Rt.propTypes={};function io(){}Rt.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:io,onEntering:io,onEntered:io,onExit:io,onExiting:io,onExited:io},Rt.UNMOUNTED=Yo,Rt.EXITED=vr,Rt.ENTERING=yr,Rt.ENTERED=oo,Rt.EXITING=Wl;function Ig(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ql(e,t){var o=function(s){return t&&Gi(s)?t(s):s},i=Object.create(null);return e&&vv.map(e,function(s){return s}).forEach(function(s){i[s.key]=o(s)}),i}function Ag(e,t){e=e||{},t=t||{};function o(g){return g in t?t[g]:e[g]}var i=Object.create(null),s=[];for(var u in e)u in t?s.length&&(i[u]=s,s=[]):s.push(u);var c,f={};for(var m in t){if(i[m])for(c=0;c<i[m].length;c++){var y=i[m][c];f[i[m][c]]=o(y)}f[m]=o(m)}for(c=0;c<s.length;c++)f[s[c]]=o(s[c]);return f}function gr(e,t,o){return o[t]!=null?o[t]:e.props[t]}function Ng(e,t){return ql(e.children,function(o){return Xi(o,{onExited:t.bind(null,o),in:!0,appear:gr(o,"appear",e),enter:gr(o,"enter",e),exit:gr(o,"exit",e)})})}function Fg(e,t,o){var i=ql(e.children),s=Ag(t,i);return Object.keys(s).forEach(function(u){var c=s[u];if(Gi(c)){var f=u in t,m=u in i,y=t[u],g=Gi(y)&&!y.props.in;m&&(!f||g)?s[u]=Xi(c,{onExited:o.bind(null,c),in:!0,exit:gr(c,"exit",e),enter:gr(c,"enter",e)}):!m&&f&&!g?s[u]=Xi(c,{in:!1}):m&&f&&Gi(y)&&(s[u]=Xi(c,{onExited:o.bind(null,c),in:y.props.in,exit:gr(c,"exit",e),enter:gr(c,"enter",e)}))}}),s}var zg=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},Dg={component:"div",childFactory:function(e){return e}},Zl=function(e){S1(t,e);function t(i,s){var u;u=e.call(this,i,s)||this;var c=u.handleExited.bind(Ig(u));return u.state={contextValue:{isMounting:!0},handleExited:c,firstRender:!0},u}var o=t.prototype;return o.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},o.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(i,s){var u=s.children,c=s.handleExited,f=s.firstRender;return{children:f?Ng(i,c):Fg(i,u,c),firstRender:!1}},o.handleExited=function(i,s){var u=ql(this.props.children);i.key in u||(i.props.onExited&&i.props.onExited(s),this.mounted&&this.setState(function(c){var f=C({},c.children);return delete f[i.key],{children:f}}))},o.render=function(){var i=this.props,s=i.component,u=i.childFactory,c=_e(i,["component","childFactory"]),f=this.state.contextValue,m=zg(this.state.children).map(u);return delete c.appear,delete c.enter,delete c.exit,s===null?gt.createElement(ja.Provider,{value:f},m):gt.createElement(ja.Provider,{value:f},gt.createElement(s,c,m))},t}(gt.Component);Zl.propTypes={},Zl.defaultProps=Dg;function Lg({styles:e,themeId:t,defaultTheme:o={}}){const i=Nl(o),s=typeof e=="function"?e(t&&i[t]||i):e;return d.jsx(G0,{styles:s})}function en(e,t,o="Mui"){const i={};return t.forEach(s=>{i[s]=Je(e,s,o)}),i}function Vg(e){const{prototype:t={}}=e;return!!t.isReactComponent}function E1(e,t,o,i,s){const u=e[t],c=s||t;if(u==null||typeof window>"u")return null;let f;const m=u.type;return typeof m=="function"&&!Vg(m)&&(f="Did you accidentally use a plain function component for an element instead?"),f!==void 0?new Error(`Invalid ${i} \`${c}\` supplied to \`${o}\`. Expected an element that can hold a ref. ${f} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const Wg=Fl(Br.element,E1);Wg.isRequired=Fl(Br.element.isRequired,E1);const vk="exact-prop: \u200B";function yk(e){return e}function gk(e,t,o,i,s){return null}function T1(...e){return e.reduce((t,o)=>o==null?t:function(...i){t.apply(this,i),o.apply(this,i)},()=>{})}function C1(e,t=166){let o;function i(...s){const u=()=>{e.apply(this,s)};clearTimeout(o),o=setTimeout(u,t)}return i.clear=()=>{clearTimeout(o)},i}function Bl(e,t){var o,i;return k.isValidElement(e)&&t.indexOf((o=e.type.muiName)!=null?o:(i=e.type)==null||(i=i._payload)==null||(i=i.value)==null?void 0:i.muiName)!==-1}function Qn(e){return e&&e.ownerDocument||document}function br(e){return Qn(e).defaultView||window}let R1=0;function qg(e){const[t,o]=k.useState(e),i=e||t;return k.useEffect(()=>{t==null&&(R1+=1,o(`mui-${R1}`))},[t]),i}const $1=k.useId;function P1(e){if($1!==void 0){const t=$1();return e??t}return qg(e)}function k1({controlled:e,default:t,name:o,state:i="value"}){const{current:s}=k.useRef(e!==void 0),[u,c]=k.useState(t),f=s?e:u,m=k.useCallback(y=>{s||c(y)},[]);return[f,m]}function M1(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function Zg(e){const t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":Number.isFinite(e)?e!==Math.floor(e)?"float":"number":"Infinity";case"object":return e===null?"null":e.constructor.name;default:return t}}function Bg(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e}const Hg=Number.isInteger||Bg;function I1(e,t,o,i){const s=e[t];if(s==null||!Hg(s)){const u=Zg(s);return new RangeError(`Invalid ${i} \`${t}\` of type \`${u}\` supplied to \`${o}\`, expected \`integer\`.`)}return null}function Ug(e,t,...o){return e[t]===void 0?null:I1(e,t,...o)}function Hl(){return null}Ug.isRequired=I1,Hl.isRequired=Hl;const bk=Hl,Kg=k.createContext(),Yg=()=>k.useContext(Kg)??!1;function Gg(e){const{className:t,classes:o,pulsate:i=!1,rippleX:s,rippleY:u,rippleSize:c,in:f,onExited:m,timeout:y}=e,[g,O]=k.useState(!1),w=Me(t,o.ripple,o.rippleVisible,i&&o.ripplePulsate),R={width:c,height:c,top:-(c/2)+u,left:-(c/2)+s},_=Me(o.child,g&&o.childLeaving,i&&o.childPulsate);return!f&&!g&&O(!0),k.useEffect(()=>{if(!f&&m!=null){const S=setTimeout(m,y);return()=>{clearTimeout(S)}}},[m,f,y]),d.jsx("span",{className:w,style:R,children:d.jsx("span",{className:_})})}const dt=en("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Xg=["center","classes","className"];let Ea=e=>e,A1,N1,F1,z1;const Ul=550,Jg=80,Qg=ea(A1||(A1=Ea`
|
1
|
+
"use strict";import{j as d}from"./jsx-runtime-jmtevAuS.mjs";import*as k from"react";import gt,{Children as vv,isValidElement as Gi,cloneElement as Xi,createContext as t0,useEffect as Ji,useContext as r0,useMemo as Ao,useState as bt,useRef as Lr,useCallback as Vr,forwardRef as No,useImperativeHandle as yv}from"react";import{useForm as gv,FormProvider as bv,useController as Wr,useFormContext as o0,useFieldArray as xv}from"react-hook-form";import{Box as Sn,Tooltip as _v,IconButton as qr,Stack as xn,Typography as Wt,Autocomplete as i0,TextField as Zr,Radio as wv,Chip as Ov,RadioGroup as ul,Dialog as Sv,DialogTitle as jv,DialogContent as Ev,DialogActions as Tv,useTheme as Fo,Paper as Cv,Accordion as Rv,AccordionSummary as $v,AccordionDetails as Pv,Link as kv,Alert as a0,InputAdornment as s0,Button as Mv,Menu as Iv,MenuItem as Av,FormControl as Nv,InputBase as Fv,AlertTitle as zv,Backdrop as Dv,CircularProgress as Lv}from"@mui/material";import{Code as Vv,Delete as Wv,ChevronLeft as qv,Menu as Zv,CheckCircle as Bv,Close as cl,Add as Hv,KeyboardArrowDown as Uv}from"@mui/icons-material";import{useDrag as Kv,useDrop as Yv,DndProvider as Gv}from"react-dnd";import{HTML5Backend as Xv}from"react-dnd-html5-backend";import{masks as l0}from"../utils/masks/index.mjs";import Jv from"@mona-health/react-input-mask";import{p as Qv}from"./phone.schema-XBbyizhq.mjs";import{IMaskInput as e6}from"react-imask";import*as n6 from"react-dom";import Qi from"react-dom";import{u as t6}from"./useQRCode-DXiPIj-D.mjs";import"framer-motion";import{SnackbarContent as r6,closeSnackbar as u0,enqueueSnackbar as o6}from"notistack";import{CacheProvider as i6,Global as a6,ThemeContext as c0,css as s6,keyframes as ea}from"@emotion/react";import pl,{isValidPhoneNumber as l6}from"libphonenumber-js";import u6 from"@emotion/styled";var qt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function na(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function er(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var o=function i(){return this instanceof i?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};o.prototype=t.prototype}else o={};return Object.defineProperty(o,"__esModule",{value:!0}),Object.keys(e).forEach(function(i){var s=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(o,i,s.get?s:{enumerable:!0,get:function(){return e[i]}})}),o}function _e(e,t){if(e==null)return{};var o={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(t.indexOf(i)>=0)continue;o[i]=e[i]}return o}function C(){return C=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var i in o)({}).hasOwnProperty.call(o,i)&&(e[i]=o[i])}return e},C.apply(null,arguments)}var p0={exports:{}},f0={exports:{}},We={},d0;function c6(){if(d0)return We;d0=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,o=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,s=e?Symbol.for("react.strict_mode"):60108,u=e?Symbol.for("react.profiler"):60114,c=e?Symbol.for("react.provider"):60109,f=e?Symbol.for("react.context"):60110,m=e?Symbol.for("react.async_mode"):60111,y=e?Symbol.for("react.concurrent_mode"):60111,g=e?Symbol.for("react.forward_ref"):60112,O=e?Symbol.for("react.suspense"):60113,w=e?Symbol.for("react.suspense_list"):60120,R=e?Symbol.for("react.memo"):60115,_=e?Symbol.for("react.lazy"):60116,S=e?Symbol.for("react.block"):60121,x=e?Symbol.for("react.fundamental"):60117,M=e?Symbol.for("react.responder"):60118,I=e?Symbol.for("react.scope"):60119;function T(j){if(typeof j=="object"&&j!==null){var A=j.$$typeof;switch(A){case t:switch(j=j.type,j){case m:case y:case i:case u:case s:case O:return j;default:switch(j=j&&j.$$typeof,j){case f:case g:case _:case R:case c:return j;default:return A}}case o:return A}}}function F(j){return T(j)===y}return We.AsyncMode=m,We.ConcurrentMode=y,We.ContextConsumer=f,We.ContextProvider=c,We.Element=t,We.ForwardRef=g,We.Fragment=i,We.Lazy=_,We.Memo=R,We.Portal=o,We.Profiler=u,We.StrictMode=s,We.Suspense=O,We.isAsyncMode=function(j){return F(j)||T(j)===m},We.isConcurrentMode=F,We.isContextConsumer=function(j){return T(j)===f},We.isContextProvider=function(j){return T(j)===c},We.isElement=function(j){return typeof j=="object"&&j!==null&&j.$$typeof===t},We.isForwardRef=function(j){return T(j)===g},We.isFragment=function(j){return T(j)===i},We.isLazy=function(j){return T(j)===_},We.isMemo=function(j){return T(j)===R},We.isPortal=function(j){return T(j)===o},We.isProfiler=function(j){return T(j)===u},We.isStrictMode=function(j){return T(j)===s},We.isSuspense=function(j){return T(j)===O},We.isValidElementType=function(j){return typeof j=="string"||typeof j=="function"||j===i||j===y||j===u||j===s||j===O||j===w||typeof j=="object"&&j!==null&&(j.$$typeof===_||j.$$typeof===R||j.$$typeof===c||j.$$typeof===f||j.$$typeof===g||j.$$typeof===x||j.$$typeof===M||j.$$typeof===I||j.$$typeof===S)},We.typeOf=T,We}var p6={},h0;function rk(){return h0||(h0=1),p6}var m0;function f6(){return m0||(m0=1,f0.exports=c6()),f0.exports}var fl,v0;function d6(){if(v0)return fl;v0=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function i(u){if(u==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(u)}function s(){try{if(!Object.assign)return!1;var u=new String("abc");if(u[5]="de",Object.getOwnPropertyNames(u)[0]==="5")return!1;for(var c={},f=0;f<10;f++)c["_"+String.fromCharCode(f)]=f;var m=Object.getOwnPropertyNames(c).map(function(g){return c[g]});if(m.join("")!=="0123456789")return!1;var y={};return"abcdefghijklmnopqrst".split("").forEach(function(g){y[g]=g}),Object.keys(Object.assign({},y)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return fl=s()?Object.assign:function(u,c){for(var f,m=i(u),y,g=1;g<arguments.length;g++){f=Object(arguments[g]);for(var O in f)t.call(f,O)&&(m[O]=f[O]);if(e){y=e(f);for(var w=0;w<y.length;w++)o.call(f,y[w])&&(m[y[w]]=f[y[w]])}}return m},fl}var dl,y0;function g0(){if(y0)return dl;y0=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return dl=e,dl}var b0,x0;function h6(){return x0||(x0=1,b0=Function.call.bind(Object.prototype.hasOwnProperty)),b0}var hl,_0;function m6(){if(_0)return hl;_0=1;var e=function(){};if(0)var t,o,i;function s(u,c,f,m,y){if(0){for(var g in u)if(i(u,g)){var O;try{if(typeof u[g]!="function")var w}catch(_){}if(O&&!(O instanceof Error)&&e((m||"React class")+": type specification of "+f+" `"+g+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof O+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),O instanceof Error&&!(O.message in o))var R}}}return s.resetWarningCache=function(){},hl=s,hl}var ml,w0;function ok(){if(w0)return ml;w0=1;var e=f6(),t=d6(),o=g0(),i=h6(),s=m6(),u=function(){};function c(){return null}return ml=function(f,m){var y=typeof Symbol=="function"&&Symbol.iterator,g="@@iterator";function O(W){var H=W&&(y&&W[y]||W[g]);if(typeof H=="function")return H}var w="<<anonymous>>",R={array:M("array"),bigint:M("bigint"),bool:M("boolean"),func:M("function"),number:M("number"),object:M("object"),string:M("string"),symbol:M("symbol"),any:I(),arrayOf:T,element:F(),elementType:j(),instanceOf:A,node:ae(),objectOf:K,oneOf:z,oneOfType:U,shape:G,exact:B};function _(W,H){return W===H?W!==0||1/W===1/H:W!==W&&H!==H}function S(W,H){this.message=W,this.data=H&&typeof H=="object"?H:{},this.stack=""}S.prototype=Error.prototype;function x(W){if(0)var H,le;function J(re,ce,pe,ue,ye,oe,Oe){if(ue=ue||w,oe=oe||pe,Oe!==o){if(m){var Q=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw Q.name="Invariant Violation",Q}else if(0)var $e}return ce[pe]==null?re?ce[pe]===null?new S("The "+ye+" `"+oe+"` is marked as required "+("in `"+ue+"`, but its value is `null`.")):new S("The "+ye+" `"+oe+"` is marked as required in "+("`"+ue+"`, but its value is `undefined`.")):null:W(ce,pe,ue,ye,oe)}var ne=J.bind(null,!1);return ne.isRequired=J.bind(null,!0),ne}function M(W){function H(le,J,ne,re,ce,pe){var ue=le[J],ye=me(ue);if(ye!==W){var oe=X(ue);return new S("Invalid "+re+" `"+ce+"` of type "+("`"+oe+"` supplied to `"+ne+"`, expected ")+("`"+W+"`."),{expectedType:W})}return null}return x(H)}function I(){return x(c)}function T(W){function H(le,J,ne,re,ce){if(typeof W!="function")return new S("Property `"+ce+"` of component `"+ne+"` has invalid PropType notation inside arrayOf.");var pe=le[J];if(!Array.isArray(pe)){var ue=me(pe);return new S("Invalid "+re+" `"+ce+"` of type "+("`"+ue+"` supplied to `"+ne+"`, expected an array."))}for(var ye=0;ye<pe.length;ye++){var oe=W(pe,ye,ne,re,ce+"["+ye+"]",o);if(oe instanceof Error)return oe}return null}return x(H)}function F(){function W(H,le,J,ne,re){var ce=H[le];if(!f(ce)){var pe=me(ce);return new S("Invalid "+ne+" `"+re+"` of type "+("`"+pe+"` supplied to `"+J+"`, expected a single ReactElement."))}return null}return x(W)}function j(){function W(H,le,J,ne,re){var ce=H[le];if(!e.isValidElementType(ce)){var pe=me(ce);return new S("Invalid "+ne+" `"+re+"` of type "+("`"+pe+"` supplied to `"+J+"`, expected a single ReactElement type."))}return null}return x(W)}function A(W){function H(le,J,ne,re,ce){if(!(le[J]instanceof W)){var pe=W.name||w,ue=Ne(le[J]);return new S("Invalid "+re+" `"+ce+"` of type "+("`"+ue+"` supplied to `"+ne+"`, expected ")+("instance of `"+pe+"`."))}return null}return x(H)}function z(W){if(!Array.isArray(W))return c;function H(le,J,ne,re,ce){for(var pe=le[J],ue=0;ue<W.length;ue++)if(_(pe,W[ue]))return null;var ye=JSON.stringify(W,function(oe,Oe){var Q=X(Oe);return Q==="symbol"?String(Oe):Oe});return new S("Invalid "+re+" `"+ce+"` of value `"+String(pe)+"` "+("supplied to `"+ne+"`, expected one of "+ye+"."))}return x(H)}function K(W){function H(le,J,ne,re,ce){if(typeof W!="function")return new S("Property `"+ce+"` of component `"+ne+"` has invalid PropType notation inside objectOf.");var pe=le[J],ue=me(pe);if(ue!=="object")return new S("Invalid "+re+" `"+ce+"` of type "+("`"+ue+"` supplied to `"+ne+"`, expected an object."));for(var ye in pe)if(i(pe,ye)){var oe=W(pe,ye,ne,re,ce+"."+ye,o);if(oe instanceof Error)return oe}return null}return x(H)}function U(W){if(!Array.isArray(W))return c;for(var H=0;H<W.length;H++){var le=W[H];if(typeof le!="function")return u("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+we(le)+" at index "+H+"."),c}function J(ne,re,ce,pe,ue){for(var ye=[],oe=0;oe<W.length;oe++){var Oe=W[oe],Q=Oe(ne,re,ce,pe,ue,o);if(Q==null)return null;Q.data&&i(Q.data,"expectedType")&&ye.push(Q.data.expectedType)}var $e=ye.length>0?", expected one of type ["+ye.join(", ")+"]":"";return new S("Invalid "+pe+" `"+ue+"` supplied to "+("`"+ce+"`"+$e+"."))}return x(J)}function ae(){function W(H,le,J,ne,re){return Z(H[le])?null:new S("Invalid "+ne+" `"+re+"` supplied to "+("`"+J+"`, expected a ReactNode."))}return x(W)}function ee(W,H,le,J,ne){return new S((W||"React class")+": "+H+" type `"+le+"."+J+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+ne+"`.")}function G(W){function H(le,J,ne,re,ce){var pe=le[J],ue=me(pe);if(ue!=="object")return new S("Invalid "+re+" `"+ce+"` of type `"+ue+"` "+("supplied to `"+ne+"`, expected `object`."));for(var ye in W){var oe=W[ye];if(typeof oe!="function")return ee(ne,re,ce,ye,X(oe));var Oe=oe(pe,ye,ne,re,ce+"."+ye,o);if(Oe)return Oe}return null}return x(H)}function B(W){function H(le,J,ne,re,ce){var pe=le[J],ue=me(pe);if(ue!=="object")return new S("Invalid "+re+" `"+ce+"` of type `"+ue+"` "+("supplied to `"+ne+"`, expected `object`."));var ye=t({},le[J],W);for(var oe in ye){var Oe=W[oe];if(i(W,oe)&&typeof Oe!="function")return ee(ne,re,ce,oe,X(Oe));if(!Oe)return new S("Invalid "+re+" `"+ce+"` key `"+oe+"` supplied to `"+ne+"`.\nBad object: "+JSON.stringify(le[J],null," ")+`
|
2
|
+
Valid keys: `+JSON.stringify(Object.keys(W),null," "));var Q=Oe(pe,oe,ne,re,ce+"."+oe,o);if(Q)return Q}return null}return x(H)}function Z(W){switch(typeof W){case"number":case"string":case"undefined":return!0;case"boolean":return!W;case"object":if(Array.isArray(W))return W.every(Z);if(W===null||f(W))return!0;var H=O(W);if(H){var le=H.call(W),J;if(H!==W.entries){for(;!(J=le.next()).done;)if(!Z(J.value))return!1}else for(;!(J=le.next()).done;){var ne=J.value;if(ne&&!Z(ne[1]))return!1}}else return!1;return!0;default:return!1}}function ie(W,H){return W==="symbol"?!0:H?H["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&H instanceof Symbol:!1}function me(W){var H=typeof W;return Array.isArray(W)?"array":W instanceof RegExp?"object":ie(H,W)?"symbol":H}function X(W){if(typeof W>"u"||W===null)return""+W;var H=me(W);if(H==="object"){if(W instanceof Date)return"date";if(W instanceof RegExp)return"regexp"}return H}function we(W){var H=X(W);switch(H){case"array":case"object":return"an "+H;case"boolean":case"date":case"regexp":return"a "+H;default:return H}}function Ne(W){return!W.constructor||!W.constructor.name?w:W.constructor.name}return R.checkPropTypes=s,R.resetWarningCache=s.resetWarningCache,R.PropTypes=R,R},ml}var vl,O0;function v6(){if(O0)return vl;O0=1;var e=g0();function t(){}function o(){}return o.resetWarningCache=t,vl=function(){function i(c,f,m,y,g,O){if(O!==e){var w=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw w.name="Invariant Violation",w}}i.isRequired=i;function s(){return i}var u={array:i,bigint:i,bool:i,func:i,number:i,object:i,string:i,symbol:i,any:i,arrayOf:s,element:i,elementType:i,instanceOf:s,node:i,objectOf:s,oneOf:s,oneOfType:s,shape:s,exact:s,checkPropTypes:o,resetWarningCache:t};return u.PropTypes=u,u},vl}if(0)var ik,ak;else p0.exports=v6()();var y6=p0.exports;const Br=na(y6);function S0(e){var t,o,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(o=S0(e[t]))&&(i&&(i+=" "),i+=o)}else for(o in e)e[o]&&(i&&(i+=" "),i+=o);return i}function Me(){for(var e,t,o=0,i="",s=arguments.length;o<s;o++)(e=arguments[o])&&(t=S0(e))&&(i&&(i+=" "),i+=t);return i}function yl(e,t){const o=C({},t);return Object.keys(e).forEach(i=>{if(i.toString().match(/^(components|slots)$/))o[i]=C({},e[i],o[i]);else if(i.toString().match(/^(componentsProps|slotProps)$/)){const s=e[i]||{},u=t[i];o[i]={},!u||!Object.keys(u)?o[i]=s:!s||!Object.keys(s)?o[i]=u:(o[i]=C({},u),Object.keys(s).forEach(c=>{o[i][c]=yl(s[c],u[c])}))}else o[i]===void 0&&(o[i]=e[i])}),o}function rn(e,t,o=void 0){const i={};return Object.keys(e).forEach(s=>{i[s]=e[s].reduce((u,c)=>{if(c){const f=t(c);f!==""&&u.push(f),o&&o[c]&&u.push(o[c])}return u},[]).join(" ")}),i}var dn={},j0={exports:{}};(function(e){function t(o){return o&&o.__esModule?o:{default:o}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(j0);var E0=j0.exports;function hr(e){let t="https://mui.com/production-error/?code="+e;for(let o=1;o<arguments.length;o+=1)t+="&args[]="+encodeURIComponent(arguments[o]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}const g6=Object.freeze(Object.defineProperty({__proto__:null,default:hr},Symbol.toStringTag,{value:"Module"})),b6=er(g6);function x6(e,t=Number.MIN_SAFE_INTEGER,o=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,o))}const _6=Object.freeze(Object.defineProperty({__proto__:null,default:x6},Symbol.toStringTag,{value:"Module"})),w6=er(_6);var T0=E0;Object.defineProperty(dn,"__esModule",{value:!0});var nr=dn.alpha=k0;dn.blend=M6,dn.colorChannel=void 0;var gl=dn.darken=_l;dn.decomposeColor=ut,dn.emphasize=M0;var O6=dn.getContrastRatio=C6;dn.getLuminance=ta,dn.hexToRgb=R0,dn.hslToRgb=P0;var bl=dn.lighten=wl;dn.private_safeAlpha=R6,dn.private_safeColorChannel=void 0,dn.private_safeDarken=$6,dn.private_safeEmphasize=k6,dn.private_safeLighten=P6,dn.recomposeColor=Hr,dn.rgbToHex=T6;var C0=T0(b6),S6=T0(w6);function xl(e,t=0,o=1){return(0,S6.default)(e,t,o)}function R0(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let o=e.match(t);return o&&o[0].length===1&&(o=o.map(i=>i+i)),o?`rgb${o.length===4?"a":""}(${o.map((i,s)=>s<3?parseInt(i,16):Math.round(parseInt(i,16)/255*1e3)/1e3).join(", ")})`:""}function j6(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function ut(e){if(e.type)return e;if(e.charAt(0)==="#")return ut(R0(e));const t=e.indexOf("("),o=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(o)===-1)throw new Error((0,C0.default)(9,e));let i=e.substring(t+1,e.length-1),s;if(o==="color"){if(i=i.split(" "),s=i.shift(),i.length===4&&i[3].charAt(0)==="/"&&(i[3]=i[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(s)===-1)throw new Error((0,C0.default)(10,s))}else i=i.split(",");return i=i.map(u=>parseFloat(u)),{type:o,values:i,colorSpace:s}}const $0=e=>{const t=ut(e);return t.values.slice(0,3).map((o,i)=>t.type.indexOf("hsl")!==-1&&i!==0?`${o}%`:o).join(" ")};dn.colorChannel=$0;const E6=(e,t)=>{try{return $0(e)}catch{return e}};dn.private_safeColorChannel=E6;function Hr(e){const{type:t,colorSpace:o}=e;let{values:i}=e;return t.indexOf("rgb")!==-1?i=i.map((s,u)=>u<3?parseInt(s,10):s):t.indexOf("hsl")!==-1&&(i[1]=`${i[1]}%`,i[2]=`${i[2]}%`),t.indexOf("color")!==-1?i=`${o} ${i.join(" ")}`:i=`${i.join(", ")}`,`${t}(${i})`}function T6(e){if(e.indexOf("#")===0)return e;const{values:t}=ut(e);return`#${t.map((o,i)=>j6(i===3?Math.round(255*o):o)).join("")}`}function P0(e){e=ut(e);const{values:t}=e,o=t[0],i=t[1]/100,s=t[2]/100,u=i*Math.min(s,1-s),c=(y,g=(y+o/30)%12)=>s-u*Math.max(Math.min(g-3,9-g,1),-1);let f="rgb";const m=[Math.round(c(0)*255),Math.round(c(8)*255),Math.round(c(4)*255)];return e.type==="hsla"&&(f+="a",m.push(t[3])),Hr({type:f,values:m})}function ta(e){e=ut(e);let t=e.type==="hsl"||e.type==="hsla"?ut(P0(e)).values:e.values;return t=t.map(o=>(e.type!=="color"&&(o/=255),o<=.03928?o/12.92:((o+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function C6(e,t){const o=ta(e),i=ta(t);return(Math.max(o,i)+.05)/(Math.min(o,i)+.05)}function k0(e,t){return e=ut(e),t=xl(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Hr(e)}function R6(e,t,o){try{return k0(e,t)}catch{return e}}function _l(e,t){if(e=ut(e),t=xl(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let o=0;o<3;o+=1)e.values[o]*=1-t;return Hr(e)}function $6(e,t,o){try{return _l(e,t)}catch{return e}}function wl(e,t){if(e=ut(e),t=xl(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let o=0;o<3;o+=1)e.values[o]+=(255-e.values[o])*t;else if(e.type.indexOf("color")!==-1)for(let o=0;o<3;o+=1)e.values[o]+=(1-e.values[o])*t;return Hr(e)}function P6(e,t,o){try{return wl(e,t)}catch{return e}}function M0(e,t=.15){return ta(e)>.5?_l(e,t):wl(e,t)}function k6(e,t,o){try{return M0(e,t)}catch{return e}}function M6(e,t,o,i=1){const s=(m,y)=>Math.round((m**(1/i)*(1-o)+y**(1/i)*o)**i),u=ut(e),c=ut(t),f=[s(u.values[0],c.values[0]),s(u.values[1],c.values[1]),s(u.values[2],c.values[2])];return Hr({type:"rgb",values:f})}var zo={},I0={exports:{}},A0;function I6(){return A0||(A0=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(o){for(var i=1;i<arguments.length;i++){var s=arguments[i];for(var u in s)({}).hasOwnProperty.call(s,u)&&(o[u]=s[u])}return o},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(I0)),I0.exports}var N0={exports:{}},F0;function A6(){return F0||(F0=1,function(e){function t(o,i){if(o==null)return{};var s={};for(var u in o)if({}.hasOwnProperty.call(o,u)){if(i.indexOf(u)>=0)continue;s[u]=o[u]}return s}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(N0)),N0.exports}function N6(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function F6(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var z6=function(){function e(o){var i=this;this._insertTag=function(s){var u;i.tags.length===0?i.insertionPoint?u=i.insertionPoint.nextSibling:i.prepend?u=i.container.firstChild:u=i.before:u=i.tags[i.tags.length-1].nextSibling,i.container.insertBefore(s,u),i.tags.push(s)},this.isSpeedy=o.speedy===void 0?!0:o.speedy,this.tags=[],this.ctr=0,this.nonce=o.nonce,this.key=o.key,this.container=o.container,this.prepend=o.prepend,this.insertionPoint=o.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(o){o.forEach(this._insertTag)},t.insert=function(o){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(F6(this));var i=this.tags[this.tags.length-1];if(0)var s;if(this.isSpeedy){var u=N6(i);try{u.insertRule(o,u.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(o));this.ctr++},t.flush=function(){this.tags.forEach(function(o){return o.parentNode&&o.parentNode.removeChild(o)}),this.tags=[],this.ctr=0},e}(),Rn="-ms-",ra="-moz-",De="-webkit-",z0="comm",Ol="rule",Sl="decl",D6="@import",D0="@keyframes",L6="@layer",V6=Math.abs,oa=String.fromCharCode,W6=Object.assign;function q6(e,t){return jn(e,0)^45?(((t<<2^jn(e,0))<<2^jn(e,1))<<2^jn(e,2))<<2^jn(e,3):0}function L0(e){return e.trim()}function Z6(e,t){return(e=t.exec(e))?e[0]:e}function Le(e,t,o){return e.replace(t,o)}function jl(e,t){return e.indexOf(t)}function jn(e,t){return e.charCodeAt(t)|0}function Do(e,t,o){return e.slice(t,o)}function Tt(e){return e.length}function El(e){return e.length}function ia(e,t){return t.push(e),e}function B6(e,t){return e.map(t).join("")}var aa=1,Ur=1,V0=0,Wn=0,vn=0,Kr="";function sa(e,t,o,i,s,u,c){return{value:e,root:t,parent:o,type:i,props:s,children:u,line:aa,column:Ur,length:c,return:""}}function Lo(e,t){return W6(sa("",null,null,"",null,null,0),e,{length:-e.length},t)}function H6(){return vn}function U6(){return vn=Wn>0?jn(Kr,--Wn):0,Ur--,vn===10&&(Ur=1,aa--),vn}function Gn(){return vn=Wn<V0?jn(Kr,Wn++):0,Ur++,vn===10&&(Ur=1,aa++),vn}function Ct(){return jn(Kr,Wn)}function la(){return Wn}function Vo(e,t){return Do(Kr,e,t)}function Wo(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function W0(e){return aa=Ur=1,V0=Tt(Kr=e),Wn=0,[]}function q0(e){return Kr="",e}function ua(e){return L0(Vo(Wn-1,Tl(e===91?e+2:e===40?e+1:e)))}function K6(e){for(;(vn=Ct())&&vn<33;)Gn();return Wo(e)>2||Wo(vn)>3?"":" "}function Y6(e,t){for(;--t&&Gn()&&!(vn<48||vn>102||vn>57&&vn<65||vn>70&&vn<97););return Vo(e,la()+(t<6&&Ct()==32&&Gn()==32))}function Tl(e){for(;Gn();)switch(vn){case e:return Wn;case 34:case 39:e!==34&&e!==39&&Tl(vn);break;case 40:e===41&&Tl(e);break;case 92:Gn();break}return Wn}function G6(e,t){for(;Gn()&&e+vn!==57&&!(e+vn===84&&Ct()===47););return"/*"+Vo(t,Wn-1)+"*"+oa(e===47?e:Gn())}function X6(e){for(;!Wo(Ct());)Gn();return Vo(e,Wn)}function J6(e){return q0(ca("",null,null,null,[""],e=W0(e),0,[0],e))}function ca(e,t,o,i,s,u,c,f,m){for(var y=0,g=0,O=c,w=0,R=0,_=0,S=1,x=1,M=1,I=0,T="",F=s,j=u,A=i,z=T;x;)switch(_=I,I=Gn()){case 40:if(_!=108&&jn(z,O-1)==58){jl(z+=Le(ua(I),"&","&\f"),"&\f")!=-1&&(M=-1);break}case 34:case 39:case 91:z+=ua(I);break;case 9:case 10:case 13:case 32:z+=K6(_);break;case 92:z+=Y6(la()-1,7);continue;case 47:switch(Ct()){case 42:case 47:ia(Q6(G6(Gn(),la()),t,o),m);break;default:z+="/"}break;case 123*S:f[y++]=Tt(z)*M;case 125*S:case 59:case 0:switch(I){case 0:case 125:x=0;case 59+g:M==-1&&(z=Le(z,/\f/g,"")),R>0&&Tt(z)-O&&ia(R>32?B0(z+";",i,o,O-1):B0(Le(z," ","")+";",i,o,O-2),m);break;case 59:z+=";";default:if(ia(A=Z0(z,t,o,y,g,s,f,T,F=[],j=[],O),u),I===123)if(g===0)ca(z,t,A,A,F,u,O,f,j);else switch(w===99&&jn(z,3)===110?100:w){case 100:case 108:case 109:case 115:ca(e,A,A,i&&ia(Z0(e,A,A,0,0,s,f,T,s,F=[],O),j),s,j,O,f,i?F:j);break;default:ca(z,A,A,A,[""],j,0,f,j)}}y=g=R=0,S=M=1,T=z="",O=c;break;case 58:O=1+Tt(z),R=_;default:if(S<1){if(I==123)--S;else if(I==125&&S++==0&&U6()==125)continue}switch(z+=oa(I),I*S){case 38:M=g>0?1:(z+="\f",-1);break;case 44:f[y++]=(Tt(z)-1)*M,M=1;break;case 64:Ct()===45&&(z+=ua(Gn())),w=Ct(),g=O=Tt(T=z+=X6(la())),I++;break;case 45:_===45&&Tt(z)==2&&(S=0)}}return u}function Z0(e,t,o,i,s,u,c,f,m,y,g){for(var O=s-1,w=s===0?u:[""],R=El(w),_=0,S=0,x=0;_<i;++_)for(var M=0,I=Do(e,O+1,O=V6(S=c[_])),T=e;M<R;++M)(T=L0(S>0?w[M]+" "+I:Le(I,/&\f/g,w[M])))&&(m[x++]=T);return sa(e,t,o,s===0?Ol:f,m,y,g)}function Q6(e,t,o){return sa(e,t,o,z0,oa(H6()),Do(e,2,-2),0)}function B0(e,t,o,i){return sa(e,t,o,Sl,Do(e,0,i),Do(e,i+1,-1),i)}function Yr(e,t){for(var o="",i=El(e),s=0;s<i;s++)o+=t(e[s],s,e,t)||"";return o}function ey(e,t,o,i){switch(e.type){case L6:if(e.children.length)break;case D6:case Sl:return e.return=e.return||e.value;case z0:return"";case D0:return e.return=e.value+"{"+Yr(e.children,i)+"}";case Ol:e.value=e.props.join(",")}return Tt(o=Yr(e.children,i))?e.return=e.value+"{"+o+"}":""}function ny(e){var t=El(e);return function(o,i,s,u){for(var c="",f=0;f<t;f++)c+=e[f](o,i,s,u)||"";return c}}function ty(e){return function(t){t.root||(t=t.return)&&e(t)}}var ry=function(e,t,o){for(var i=0,s=0;i=s,s=Ct(),i===38&&s===12&&(t[o]=1),!Wo(s);)Gn();return Vo(e,Wn)},oy=function(e,t){var o=-1,i=44;do switch(Wo(i)){case 0:i===38&&Ct()===12&&(t[o]=1),e[o]+=ry(Wn-1,t,o);break;case 2:e[o]+=ua(i);break;case 4:if(i===44){e[++o]=Ct()===58?"&\f":"",t[o]=e[o].length;break}default:e[o]+=oa(i)}while(i=Gn());return e},iy=function(e,t){return q0(oy(W0(e),t))},H0=new WeakMap,ay=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var t=e.value,o=e.parent,i=e.column===o.column&&e.line===o.line;o.type!=="rule";)if(o=o.parent,!o)return;if(!(e.props.length===1&&t.charCodeAt(0)!==58&&!H0.get(o))&&!i){H0.set(e,!0);for(var s=[],u=iy(t,s),c=o.props,f=0,m=0;f<u.length;f++)for(var y=0;y<c.length;y++,m++)e.props[m]=s[f]?u[f].replace(/&\f/g,c[y]):c[y]+" "+u[f]}}},sy=function(e){if(e.type==="decl"){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return="",e.value="")}},ly="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",uy=function(e){return e.type==="comm"&&e.children.indexOf(ly)>-1},sk=function(e){return function(t,o,i){if(!(t.type!=="rule"||e.compat)){var s=t.value.match(/(:first|:nth|:nth-last)-child/g);if(s){for(var u=!!t.parent,c=u?t.parent.children:i,f=c.length-1;f>=0;f--){var m=c[f];if(m.line<t.line)break;if(m.column<t.column){if(uy(m))return;break}}s.forEach(function(y){console.error('The pseudo class "'+y+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+y.split("-child")[0]+'-of-type".')})}}}},U0=function(e){return e.type.charCodeAt(1)===105&&e.type.charCodeAt(0)===64},cy=function(e,t){for(var o=e-1;o>=0;o--)if(!U0(t[o]))return!0;return!1},K0=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},lk=function(e,t,o){U0(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),K0(e)):cy(t,o)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),K0(e)))};function Y0(e,t){switch(q6(e,t)){case 5103:return De+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return De+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return De+e+ra+e+Rn+e+e;case 6828:case 4268:return De+e+Rn+e+e;case 6165:return De+e+Rn+"flex-"+e+e;case 5187:return De+e+Le(e,/(\w+).+(:[^]+)/,De+"box-$1$2"+Rn+"flex-$1$2")+e;case 5443:return De+e+Rn+"flex-item-"+Le(e,/flex-|-self/,"")+e;case 4675:return De+e+Rn+"flex-line-pack"+Le(e,/align-content|flex-|-self/,"")+e;case 5548:return De+e+Rn+Le(e,"shrink","negative")+e;case 5292:return De+e+Rn+Le(e,"basis","preferred-size")+e;case 6060:return De+"box-"+Le(e,"-grow","")+De+e+Rn+Le(e,"grow","positive")+e;case 4554:return De+Le(e,/([^-])(transform)/g,"$1"+De+"$2")+e;case 6187:return Le(Le(Le(e,/(zoom-|grab)/,De+"$1"),/(image-set)/,De+"$1"),e,"")+e;case 5495:case 3959:return Le(e,/(image-set\([^]*)/,De+"$1$`$1");case 4968:return Le(Le(e,/(.+:)(flex-)?(.*)/,De+"box-pack:$3"+Rn+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+De+e+e;case 4095:case 3583:case 4068:case 2532:return Le(e,/(.+)-inline(.+)/,De+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Tt(e)-1-t>6)switch(jn(e,t+1)){case 109:if(jn(e,t+4)!==45)break;case 102:return Le(e,/(.+:)(.+)-([^]+)/,"$1"+De+"$2-$3$1"+ra+(jn(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~jl(e,"stretch")?Y0(Le(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(jn(e,t+1)!==115)break;case 6444:switch(jn(e,Tt(e)-3-(~jl(e,"!important")&&10))){case 107:return Le(e,":",":"+De)+e;case 101:return Le(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+De+(jn(e,14)===45?"inline-":"")+"box$3$1"+De+"$2$3$1"+Rn+"$2box$3")+e}break;case 5936:switch(jn(e,t+11)){case 114:return De+e+Rn+Le(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return De+e+Rn+Le(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return De+e+Rn+Le(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return De+e+Rn+e+e}return e}var py=function(e,t,o,i){if(e.length>-1&&!e.return)switch(e.type){case Sl:e.return=Y0(e.value,e.length);break;case D0:return Yr([Lo(e,{value:Le(e.value,"@","@"+De)})],i);case Ol:if(e.length)return B6(e.props,function(s){switch(Z6(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Yr([Lo(e,{props:[Le(s,/:(read-\w+)/,":"+ra+"$1")]})],i);case"::placeholder":return Yr([Lo(e,{props:[Le(s,/:(plac\w+)/,":"+De+"input-$1")]}),Lo(e,{props:[Le(s,/:(plac\w+)/,":"+ra+"$1")]}),Lo(e,{props:[Le(s,/:(plac\w+)/,Rn+"input-$1")]})],i)}return""})}},fy=[py],dy=function(e){var t=e.key;if(t==="css"){var o=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(o,function(_){var S=_.getAttribute("data-emotion");S.indexOf(" ")!==-1&&(document.head.appendChild(_),_.setAttribute("data-s",""))})}var i=e.stylisPlugins||fy,s={},u,c=[];u=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(_){for(var S=_.getAttribute("data-emotion").split(" "),x=1;x<S.length;x++)s[S[x]]=!0;c.push(_)});var f,m=[ay,sy];{var y,g=[ey,ty(function(_){y.insert(_)})],O=ny(m.concat(i,g)),w=function(_){return Yr(J6(_),O)};f=function(_,S,x,M){y=x,w(_?_+"{"+S.styles+"}":S.styles),M&&(R.inserted[S.name]=!0)}}var R={key:t,sheet:new z6({key:t,container:u,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:f};return R.sheet.hydrate(c),R};let Cl;typeof document=="object"&&(Cl=dy({key:"css",prepend:!0}));function hy(e){const{injectFirst:t,children:o}=e;return t&&Cl?d.jsx(i6,{value:Cl,children:o}):o}function my(e){return e==null||Object.keys(e).length===0}function G0(e){const{styles:t,defaultTheme:o={}}=e,i=typeof t=="function"?s=>t(my(s)?o:s):t;return d.jsx(a6,{styles:i})}function vy(e,t){return u6(e,t)}const yy=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},gy=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:G0,StyledEngineProvider:hy,ThemeContext:c0,css:s6,default:vy,internal_processStyles:yy,keyframes:ea},Symbol.toStringTag,{value:"Module"})),by=er(gy);function tr(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function X0(e){if(!tr(e))return e;const t={};return Object.keys(e).forEach(o=>{t[o]=X0(e[o])}),t}function Xn(e,t,o={clone:!0}){const i=o.clone?C({},e):e;return tr(e)&&tr(t)&&Object.keys(t).forEach(s=>{tr(t[s])&&Object.prototype.hasOwnProperty.call(e,s)&&tr(e[s])?i[s]=Xn(e[s],t[s],o):o.clone?i[s]=tr(t[s])?X0(t[s]):t[s]:i[s]=t[s]}),i}const xy=Object.freeze(Object.defineProperty({__proto__:null,default:Xn,isPlainObject:tr},Symbol.toStringTag,{value:"Module"})),_y=er(xy);function Ee(e){if(typeof e!="string")throw new Error(hr(7));return e.charAt(0).toUpperCase()+e.slice(1)}const wy=Object.freeze(Object.defineProperty({__proto__:null,default:Ee},Symbol.toStringTag,{value:"Module"})),Oy=er(wy);var J0={exports:{}},qe={},Q0;function Sy(){if(Q0)return qe;Q0=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),c=Symbol.for("react.context"),f=Symbol.for("react.server_context"),m=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),O=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),R=Symbol.for("react.offscreen"),_;_=Symbol.for("react.module.reference");function S(x){if(typeof x=="object"&&x!==null){var M=x.$$typeof;switch(M){case e:switch(x=x.type,x){case o:case s:case i:case y:case g:return x;default:switch(x=x&&x.$$typeof,x){case f:case c:case m:case w:case O:case u:return x;default:return M}}case t:return M}}}return qe.ContextConsumer=c,qe.ContextProvider=u,qe.Element=e,qe.ForwardRef=m,qe.Fragment=o,qe.Lazy=w,qe.Memo=O,qe.Portal=t,qe.Profiler=s,qe.StrictMode=i,qe.Suspense=y,qe.SuspenseList=g,qe.isAsyncMode=function(){return!1},qe.isConcurrentMode=function(){return!1},qe.isContextConsumer=function(x){return S(x)===c},qe.isContextProvider=function(x){return S(x)===u},qe.isElement=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===e},qe.isForwardRef=function(x){return S(x)===m},qe.isFragment=function(x){return S(x)===o},qe.isLazy=function(x){return S(x)===w},qe.isMemo=function(x){return S(x)===O},qe.isPortal=function(x){return S(x)===t},qe.isProfiler=function(x){return S(x)===s},qe.isStrictMode=function(x){return S(x)===i},qe.isSuspense=function(x){return S(x)===y},qe.isSuspenseList=function(x){return S(x)===g},qe.isValidElementType=function(x){return typeof x=="string"||typeof x=="function"||x===o||x===s||x===i||x===y||x===g||x===R||typeof x=="object"&&x!==null&&(x.$$typeof===w||x.$$typeof===O||x.$$typeof===u||x.$$typeof===c||x.$$typeof===m||x.$$typeof===_||x.getModuleId!==void 0)},qe.typeOf=S,qe}var jy={},e1;function uk(){return e1||(e1=1),jy}J0.exports=Sy();var n1=J0.exports;const Ey=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function t1(e){const t=`${e}`.match(Ey);return t&&t[1]||""}function r1(e,t=""){return e.displayName||e.name||t1(e)||t}function o1(e,t,o){const i=r1(t);return e.displayName||(i!==""?`${o}(${i})`:o)}function Ty(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return r1(e,"Component");if(typeof e=="object")switch(e.$$typeof){case n1.ForwardRef:return o1(e,e.render,"ForwardRef");case n1.Memo:return o1(e,e.type,"memo");default:return}}}const Cy=Object.freeze(Object.defineProperty({__proto__:null,default:Ty,getFunctionName:t1},Symbol.toStringTag,{value:"Module"})),Ry=er(Cy),$y=["values","unit","step"],Py=e=>{const t=Object.keys(e).map(o=>({key:o,val:e[o]}))||[];return t.sort((o,i)=>o.val-i.val),t.reduce((o,i)=>C({},o,{[i.key]:i.val}),{})};function i1(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:o="px",step:i=5}=e,s=_e(e,$y),u=Py(t),c=Object.keys(u);function f(w){return`@media (min-width:${typeof t[w]=="number"?t[w]:w}${o})`}function m(w){return`@media (max-width:${(typeof t[w]=="number"?t[w]:w)-i/100}${o})`}function y(w,R){const _=c.indexOf(R);return`@media (min-width:${typeof t[w]=="number"?t[w]:w}${o}) and (max-width:${(_!==-1&&typeof t[c[_]]=="number"?t[c[_]]:R)-i/100}${o})`}function g(w){return c.indexOf(w)+1<c.length?y(w,c[c.indexOf(w)+1]):f(w)}function O(w){const R=c.indexOf(w);return R===0?f(c[1]):R===c.length-1?m(c[R]):y(w,c[c.indexOf(w)+1]).replace("@media","@media not all and")}return C({keys:c,values:u,up:f,down:m,between:y,only:g,not:O,unit:o},s)}const ky={borderRadius:4},ck={};function qo(e,t){return t?Xn(e,t,{clone:!1}):e}const Rl={xs:0,sm:600,md:900,lg:1200,xl:1536},a1={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Rl[e]}px)`};function Zt(e,t,o){const i=e.theme||{};if(Array.isArray(t)){const s=i.breakpoints||a1;return t.reduce((u,c,f)=>(u[s.up(s.keys[f])]=o(t[f]),u),{})}if(typeof t=="object"){const s=i.breakpoints||a1;return Object.keys(t).reduce((u,c)=>{if(Object.keys(s.values||Rl).indexOf(c)!==-1){const f=s.up(c);u[f]=o(t[c],c)}else{const f=c;u[f]=t[f]}return u},{})}return o(t)}function My(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((o,i)=>{const s=e.up(i);return o[s]={},o},{}))||{}}function Iy(e,t){return e.reduce((o,i)=>{const s=o[i];return(!s||Object.keys(s).length===0)&&delete o[i],o},t)}function pa(e,t,o=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&o){const i=`vars.${t}`.split(".").reduce((s,u)=>s&&s[u]?s[u]:null,e);if(i!=null)return i}return t.split(".").reduce((i,s)=>i&&i[s]!=null?i[s]:null,e)}function fa(e,t,o,i=o){let s;return typeof e=="function"?s=e(o):Array.isArray(e)?s=e[o]||i:s=pa(e,o)||i,t&&(s=t(s,i,e)),s}function hn(e){const{prop:t,cssProperty:o=e.prop,themeKey:i,transform:s}=e,u=c=>{if(c[t]==null)return null;const f=c[t],m=c.theme,y=pa(m,i)||{};return Zt(c,f,g=>{let O=fa(y,s,g);return g===O&&typeof g=="string"&&(O=fa(y,s,`${t}${g==="default"?"":Ee(g)}`,g)),o===!1?O:{[o]:O}})};return u.propTypes={},u.filterProps=[t],u}function Ay(e){const t={};return o=>(t[o]===void 0&&(t[o]=e(o)),t[o])}const Ny={m:"margin",p:"padding"},Fy={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},s1={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},zy=Ay(e=>{if(e.length>2)if(s1[e])e=s1[e];else return[e];const[t,o]=e.split(""),i=Ny[t],s=Fy[o]||"";return Array.isArray(s)?s.map(u=>i+u):[i+s]}),$l=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Pl=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],pk=[...$l,...Pl];function Zo(e,t,o,i){var s;const u=(s=pa(e,t,!1))!=null?s:o;return typeof u=="number"?c=>typeof c=="string"?c:u*c:Array.isArray(u)?c=>typeof c=="string"?c:u[c]:typeof u=="function"?u:()=>{}}function l1(e){return Zo(e,"spacing",8,"spacing")}function Bo(e,t){if(typeof t=="string"||t==null)return t;const o=Math.abs(t),i=e(o);return t>=0?i:typeof i=="number"?-i:`-${i}`}function Dy(e,t){return o=>e.reduce((i,s)=>(i[s]=Bo(t,o),i),{})}function Ly(e,t,o,i){if(t.indexOf(o)===-1)return null;const s=zy(o),u=Dy(s,i),c=e[o];return Zt(e,c,u)}function u1(e,t){const o=l1(e.theme);return Object.keys(e).map(i=>Ly(e,t,i,o)).reduce(qo,{})}function sn(e){return u1(e,$l)}sn.propTypes={},sn.filterProps=$l;function ln(e){return u1(e,Pl)}ln.propTypes={},ln.filterProps=Pl;function Vy(e=8){if(e.mui)return e;const t=l1({spacing:e}),o=(...i)=>(i.length===0?[1]:i).map(s=>{const u=t(s);return typeof u=="number"?`${u}px`:u}).join(" ");return o.mui=!0,o}function da(...e){const t=e.reduce((i,s)=>(s.filterProps.forEach(u=>{i[u]=s}),i),{}),o=i=>Object.keys(i).reduce((s,u)=>t[u]?qo(s,t[u](i)):s,{});return o.propTypes={},o.filterProps=e.reduce((i,s)=>i.concat(s.filterProps),[]),o}function ct(e){return typeof e!="number"?e:`${e}px solid`}function pt(e,t){return hn({prop:e,themeKey:"borders",transform:t})}const Wy=pt("border",ct),qy=pt("borderTop",ct),Zy=pt("borderRight",ct),By=pt("borderBottom",ct),Hy=pt("borderLeft",ct),Uy=pt("borderColor"),Ky=pt("borderTopColor"),Yy=pt("borderRightColor"),Gy=pt("borderBottomColor"),Xy=pt("borderLeftColor"),Jy=pt("outline",ct),Qy=pt("outlineColor"),ha=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Zo(e.theme,"shape.borderRadius",4,"borderRadius"),o=i=>({borderRadius:Bo(t,i)});return Zt(e,e.borderRadius,o)}return null};ha.propTypes={},ha.filterProps=["borderRadius"],da(Wy,qy,Zy,By,Hy,Uy,Ky,Yy,Gy,Xy,ha,Jy,Qy);const ma=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Zo(e.theme,"spacing",8,"gap"),o=i=>({gap:Bo(t,i)});return Zt(e,e.gap,o)}return null};ma.propTypes={},ma.filterProps=["gap"];const va=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Zo(e.theme,"spacing",8,"columnGap"),o=i=>({columnGap:Bo(t,i)});return Zt(e,e.columnGap,o)}return null};va.propTypes={},va.filterProps=["columnGap"];const ya=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Zo(e.theme,"spacing",8,"rowGap"),o=i=>({rowGap:Bo(t,i)});return Zt(e,e.rowGap,o)}return null};ya.propTypes={},ya.filterProps=["rowGap"];const e7=hn({prop:"gridColumn"}),n7=hn({prop:"gridRow"}),t7=hn({prop:"gridAutoFlow"}),r7=hn({prop:"gridAutoColumns"}),o7=hn({prop:"gridAutoRows"}),i7=hn({prop:"gridTemplateColumns"}),a7=hn({prop:"gridTemplateRows"}),s7=hn({prop:"gridTemplateAreas"}),l7=hn({prop:"gridArea"});da(ma,va,ya,e7,n7,t7,r7,o7,i7,a7,s7,l7);function Gr(e,t){return t==="grey"?t:e}const u7=hn({prop:"color",themeKey:"palette",transform:Gr}),c7=hn({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Gr}),p7=hn({prop:"backgroundColor",themeKey:"palette",transform:Gr});da(u7,c7,p7);function Jn(e){return e<=1&&e!==0?`${e*100}%`:e}const f7=hn({prop:"width",transform:Jn}),kl=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=o=>{var i,s;const u=((i=e.theme)==null||(i=i.breakpoints)==null||(i=i.values)==null?void 0:i[o])||Rl[o];return u?((s=e.theme)==null||(s=s.breakpoints)==null?void 0:s.unit)!=="px"?{maxWidth:`${u}${e.theme.breakpoints.unit}`}:{maxWidth:u}:{maxWidth:Jn(o)}};return Zt(e,e.maxWidth,t)}return null};kl.filterProps=["maxWidth"];const d7=hn({prop:"minWidth",transform:Jn}),h7=hn({prop:"height",transform:Jn}),m7=hn({prop:"maxHeight",transform:Jn}),v7=hn({prop:"minHeight",transform:Jn});hn({prop:"size",cssProperty:"width",transform:Jn}),hn({prop:"size",cssProperty:"height",transform:Jn});const y7=hn({prop:"boxSizing"});da(f7,kl,d7,h7,m7,v7,y7);const Ho={border:{themeKey:"borders",transform:ct},borderTop:{themeKey:"borders",transform:ct},borderRight:{themeKey:"borders",transform:ct},borderBottom:{themeKey:"borders",transform:ct},borderLeft:{themeKey:"borders",transform:ct},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:ct},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:ha},color:{themeKey:"palette",transform:Gr},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Gr},backgroundColor:{themeKey:"palette",transform:Gr},p:{style:ln},pt:{style:ln},pr:{style:ln},pb:{style:ln},pl:{style:ln},px:{style:ln},py:{style:ln},padding:{style:ln},paddingTop:{style:ln},paddingRight:{style:ln},paddingBottom:{style:ln},paddingLeft:{style:ln},paddingX:{style:ln},paddingY:{style:ln},paddingInline:{style:ln},paddingInlineStart:{style:ln},paddingInlineEnd:{style:ln},paddingBlock:{style:ln},paddingBlockStart:{style:ln},paddingBlockEnd:{style:ln},m:{style:sn},mt:{style:sn},mr:{style:sn},mb:{style:sn},ml:{style:sn},mx:{style:sn},my:{style:sn},margin:{style:sn},marginTop:{style:sn},marginRight:{style:sn},marginBottom:{style:sn},marginLeft:{style:sn},marginX:{style:sn},marginY:{style:sn},marginInline:{style:sn},marginInlineStart:{style:sn},marginInlineEnd:{style:sn},marginBlock:{style:sn},marginBlockStart:{style:sn},marginBlockEnd:{style:sn},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:ma},rowGap:{style:ya},columnGap:{style:va},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Jn},maxWidth:{style:kl},minWidth:{transform:Jn},height:{transform:Jn},maxHeight:{transform:Jn},minHeight:{transform:Jn},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function g7(...e){const t=e.reduce((i,s)=>i.concat(Object.keys(s)),[]),o=new Set(t);return e.every(i=>o.size===Object.keys(i).length)}function b7(e,t){return typeof e=="function"?e(t):e}function c1(){function e(o,i,s,u){const c={[o]:i,theme:s},f=u[o];if(!f)return{[o]:i};const{cssProperty:m=o,themeKey:y,transform:g,style:O}=f;if(i==null)return null;if(y==="typography"&&i==="inherit")return{[o]:i};const w=pa(s,y)||{};return O?O(c):Zt(c,i,R=>{let _=fa(w,g,R);return R===_&&typeof R=="string"&&(_=fa(w,g,`${o}${R==="default"?"":Ee(R)}`,R)),m===!1?_:{[m]:_}})}function t(o){var i;const{sx:s,theme:u={}}=o||{};if(!s)return null;const c=(i=u.unstable_sxConfig)!=null?i:Ho;function f(m){let y=m;if(typeof m=="function")y=m(u);else if(typeof m!="object")return m;if(!y)return null;const g=My(u.breakpoints),O=Object.keys(g);let w=g;return Object.keys(y).forEach(R=>{const _=b7(y[R],u);if(_!=null)if(typeof _=="object")if(c[R])w=qo(w,e(R,_,u,c));else{const S=Zt({theme:u},_,x=>({[R]:x}));g7(S,_)?w[R]=t({sx:_,theme:u}):w=qo(w,S)}else w=qo(w,e(R,_,u,c))}),Iy(O,w)}return Array.isArray(s)?s.map(f):f(s)}return t}const ga=c1();ga.filterProps=["sx"];function p1(e,t){const o=this;return o.vars&&typeof o.getColorSchemeSelector=="function"?{[o.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:o.palette.mode===e?t:{}}const x7=["breakpoints","palette","spacing","shape"];function Ml(e={},...t){const{breakpoints:o={},palette:i={},spacing:s,shape:u={}}=e,c=_e(e,x7),f=i1(o),m=Vy(s);let y=Xn({breakpoints:f,direction:"ltr",components:{},palette:C({mode:"light"},i),spacing:m,shape:C({},ky,u)},c);return y.applyStyles=p1,y=t.reduce((g,O)=>Xn(g,O),y),y.unstable_sxConfig=C({},Ho,c?.unstable_sxConfig),y.unstable_sx=function(g){return ga({sx:g,theme:this})},y}const _7=Object.freeze(Object.defineProperty({__proto__:null,default:Ml,private_createBreakpoints:i1,unstable_applyStyles:p1},Symbol.toStringTag,{value:"Module"})),w7=er(_7),O7=["sx"],S7=e=>{var t,o;const i={systemProps:{},otherProps:{}},s=(t=e==null||(o=e.theme)==null?void 0:o.unstable_sxConfig)!=null?t:Ho;return Object.keys(e).forEach(u=>{s[u]?i.systemProps[u]=e[u]:i.otherProps[u]=e[u]}),i};function f1(e){const{sx:t}=e,o=_e(e,O7),{systemProps:i,otherProps:s}=S7(o);let u;return Array.isArray(t)?u=[i,...t]:typeof t=="function"?u=(...c)=>{const f=t(...c);return tr(f)?C({},i,f):i}:u=C({},i,t),C({},s,{sx:u})}const j7=Object.freeze(Object.defineProperty({__proto__:null,default:ga,extendSxProp:f1,unstable_createStyleFunctionSx:c1,unstable_defaultSxConfig:Ho},Symbol.toStringTag,{value:"Module"})),E7=er(j7);var Xr=E0;Object.defineProperty(zo,"__esModule",{value:!0});var T7=zo.default=L7;zo.shouldForwardProp=ba,zo.systemDefaultTheme=void 0;var ft=Xr(I6()),Il=Xr(A6()),d1=I7(by),C7=_y,fk=Xr(Oy),dk=Xr(Ry),R7=Xr(w7),$7=Xr(E7);const P7=["ownerState"],k7=["variants"],M7=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function h1(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,o=new WeakMap;return(h1=function(i){return i?o:t})(e)}function I7(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var o=h1(t);if(o&&o.has(e))return o.get(e);var i={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(u!=="default"&&Object.prototype.hasOwnProperty.call(e,u)){var c=s?Object.getOwnPropertyDescriptor(e,u):null;c&&(c.get||c.set)?Object.defineProperty(i,u,c):i[u]=e[u]}return i.default=e,o&&o.set(e,i),i}function A7(e){return Object.keys(e).length===0}function N7(e){return typeof e=="string"&&e.charCodeAt(0)>96}function ba(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const F7=zo.systemDefaultTheme=(0,R7.default)(),z7=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function xa({defaultTheme:e,theme:t,themeId:o}){return A7(t)?e:t[o]||t}function D7(e){return e?(t,o)=>o[e]:null}function _a(e,t){let{ownerState:o}=t,i=(0,Il.default)(t,P7);const s=typeof e=="function"?e((0,ft.default)({ownerState:o},i)):e;if(Array.isArray(s))return s.flatMap(u=>_a(u,(0,ft.default)({ownerState:o},i)));if(s&&typeof s=="object"&&Array.isArray(s.variants)){const{variants:u=[]}=s;let c=(0,Il.default)(s,k7);return u.forEach(f=>{let m=!0;typeof f.props=="function"?m=f.props((0,ft.default)({ownerState:o},i,o)):Object.keys(f.props).forEach(y=>{o?.[y]!==f.props[y]&&i[y]!==f.props[y]&&(m=!1)}),m&&(Array.isArray(c)||(c=[c]),c.push(typeof f.style=="function"?f.style((0,ft.default)({ownerState:o},i,o)):f.style))}),c}return s}function L7(e={}){const{themeId:t,defaultTheme:o=F7,rootShouldForwardProp:i=ba,slotShouldForwardProp:s=ba}=e,u=c=>(0,$7.default)((0,ft.default)({},c,{theme:xa((0,ft.default)({},c,{defaultTheme:o,themeId:t}))}));return u.__mui_systemSx=!0,(c,f={})=>{(0,d1.internal_processStyles)(c,j=>j.filter(A=>!(A!=null&&A.__mui_systemSx)));const{name:m,slot:y,skipVariantsResolver:g,skipSx:O,overridesResolver:w=D7(z7(y))}=f,R=(0,Il.default)(f,M7),_=g!==void 0?g:y&&y!=="Root"&&y!=="root"||!1,S=O||!1;let x,M=ba;y==="Root"||y==="root"?M=i:y?M=s:N7(c)&&(M=void 0);const I=(0,d1.default)(c,(0,ft.default)({shouldForwardProp:M,label:x},R)),T=j=>typeof j=="function"&&j.__emotion_real!==j||(0,C7.isPlainObject)(j)?A=>_a(j,(0,ft.default)({},A,{theme:xa({theme:A.theme,defaultTheme:o,themeId:t})})):j,F=(j,...A)=>{let z=T(j);const K=A?A.map(T):[];m&&w&&K.push(ee=>{const G=xa((0,ft.default)({},ee,{defaultTheme:o,themeId:t}));if(!G.components||!G.components[m]||!G.components[m].styleOverrides)return null;const B=G.components[m].styleOverrides,Z={};return Object.entries(B).forEach(([ie,me])=>{Z[ie]=_a(me,(0,ft.default)({},ee,{theme:G}))}),w(ee,Z)}),m&&!_&&K.push(ee=>{var G;const B=xa((0,ft.default)({},ee,{defaultTheme:o,themeId:t})),Z=B==null||(G=B.components)==null||(G=G[m])==null?void 0:G.variants;return _a({variants:Z},(0,ft.default)({},ee,{theme:B}))}),S||K.push(u);const U=K.length-A.length;if(Array.isArray(j)&&U>0){const ee=new Array(U).fill("");z=[...j,...ee],z.raw=[...j.raw,...ee]}const ae=I(z,...K);return c.muiName&&(ae.muiName=c.muiName),ae};return I.withConfig&&(F.withConfig=I.withConfig),F}}const m1=e=>e,V7=()=>{let e=m1;return{configure(t){e=t},generate(t){return e(t)},reset(){e=m1}}},W7=V7(),q7={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Je(e,t,o="Mui"){const i=q7[t];return i?`${o}-${i}`:`${W7.generate(e)}-${t}`}function Z7(e,t){return C({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const Uo={black:"#000",white:"#fff"},B7={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},Jr={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Qr={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Ko={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},eo={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},no={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},to={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},H7=["mode","contrastThreshold","tonalOffset"],v1={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Uo.white,default:Uo.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Al={text:{primary:Uo.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Uo.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function y1(e,t,o,i){const s=i.light||i,u=i.dark||i*1.5;e[t]||(e.hasOwnProperty(o)?e[t]=e[o]:t==="light"?e.light=bl(e.main,s):t==="dark"&&(e.dark=gl(e.main,u)))}function U7(e="light"){return e==="dark"?{main:eo[200],light:eo[50],dark:eo[400]}:{main:eo[700],light:eo[400],dark:eo[800]}}function K7(e="light"){return e==="dark"?{main:Jr[200],light:Jr[50],dark:Jr[400]}:{main:Jr[500],light:Jr[300],dark:Jr[700]}}function Y7(e="light"){return e==="dark"?{main:Qr[500],light:Qr[300],dark:Qr[700]}:{main:Qr[700],light:Qr[400],dark:Qr[800]}}function G7(e="light"){return e==="dark"?{main:no[400],light:no[300],dark:no[700]}:{main:no[700],light:no[500],dark:no[900]}}function X7(e="light"){return e==="dark"?{main:to[400],light:to[300],dark:to[700]}:{main:to[800],light:to[500],dark:to[900]}}function J7(e="light"){return e==="dark"?{main:Ko[400],light:Ko[300],dark:Ko[700]}:{main:"#ed6c02",light:Ko[500],dark:Ko[900]}}function Q7(e){const{mode:t="light",contrastThreshold:o=3,tonalOffset:i=.2}=e,s=_e(e,H7),u=e.primary||U7(t),c=e.secondary||K7(t),f=e.error||Y7(t),m=e.info||G7(t),y=e.success||X7(t),g=e.warning||J7(t);function O(_){return O6(_,Al.text.primary)>=o?Al.text.primary:v1.text.primary}const w=({color:_,name:S,mainShade:x=500,lightShade:M=300,darkShade:I=700})=>{if(_=C({},_),!_.main&&_[x]&&(_.main=_[x]),!_.hasOwnProperty("main"))throw new Error(hr(11,S?` (${S})`:"",x));if(typeof _.main!="string")throw new Error(hr(12,S?` (${S})`:"",JSON.stringify(_.main)));return y1(_,"light",M,i),y1(_,"dark",I,i),_.contrastText||(_.contrastText=O(_.main)),_},R={dark:Al,light:v1};return Xn(C({common:C({},Uo),mode:t,primary:w({color:u,name:"primary"}),secondary:w({color:c,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:w({color:f,name:"error"}),warning:w({color:g,name:"warning"}),info:w({color:m,name:"info"}),success:w({color:y,name:"success"}),grey:B7,contrastThreshold:o,getContrastText:O,augmentColor:w,tonalOffset:i},R[t]),s)}const eg=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function ng(e){return Math.round(e*1e5)/1e5}const g1={textTransform:"uppercase"},b1='"Roboto", "Helvetica", "Arial", sans-serif';function tg(e,t){const o=typeof t=="function"?t(e):t,{fontFamily:i=b1,fontSize:s=14,fontWeightLight:u=300,fontWeightRegular:c=400,fontWeightMedium:f=500,fontWeightBold:m=700,htmlFontSize:y=16,allVariants:g,pxToRem:O}=o,w=_e(o,eg),R=s/14,_=O||(M=>`${M/y*R}rem`),S=(M,I,T,F,j)=>C({fontFamily:i,fontWeight:M,fontSize:_(I),lineHeight:T},i===b1?{letterSpacing:`${ng(F/I)}em`}:{},j,g),x={h1:S(u,96,1.167,-1.5),h2:S(u,60,1.2,-.5),h3:S(c,48,1.167,0),h4:S(c,34,1.235,.25),h5:S(c,24,1.334,0),h6:S(f,20,1.6,.15),subtitle1:S(c,16,1.75,.15),subtitle2:S(f,14,1.57,.1),body1:S(c,16,1.5,.15),body2:S(c,14,1.43,.15),button:S(f,14,1.75,.4,g1),caption:S(c,12,1.66,.4),overline:S(c,12,2.66,1,g1),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Xn(C({htmlFontSize:y,pxToRem:_,fontFamily:i,fontSize:s,fontWeightLight:u,fontWeightRegular:c,fontWeightMedium:f,fontWeightBold:m},x),w,{clone:!1})}const rg=.2,og=.14,ig=.12;function Qe(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${rg})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${og})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${ig})`].join(",")}const ag=["none",Qe(0,2,1,-1,0,1,1,0,0,1,3,0),Qe(0,3,1,-2,0,2,2,0,0,1,5,0),Qe(0,3,3,-2,0,3,4,0,0,1,8,0),Qe(0,2,4,-1,0,4,5,0,0,1,10,0),Qe(0,3,5,-1,0,5,8,0,0,1,14,0),Qe(0,3,5,-1,0,6,10,0,0,1,18,0),Qe(0,4,5,-2,0,7,10,1,0,2,16,1),Qe(0,5,5,-3,0,8,10,1,0,3,14,2),Qe(0,5,6,-3,0,9,12,1,0,3,16,2),Qe(0,6,6,-3,0,10,14,1,0,4,18,3),Qe(0,6,7,-4,0,11,15,1,0,4,20,3),Qe(0,7,8,-4,0,12,17,2,0,5,22,4),Qe(0,7,8,-4,0,13,19,2,0,5,24,4),Qe(0,7,9,-4,0,14,21,2,0,5,26,4),Qe(0,8,9,-5,0,15,22,2,0,6,28,5),Qe(0,8,10,-5,0,16,24,2,0,6,30,5),Qe(0,8,11,-5,0,17,26,2,0,6,32,5),Qe(0,9,11,-5,0,18,28,2,0,7,34,6),Qe(0,9,12,-6,0,19,29,2,0,7,36,6),Qe(0,10,13,-6,0,20,31,3,0,8,38,7),Qe(0,10,13,-6,0,21,33,3,0,8,40,7),Qe(0,10,14,-6,0,22,35,3,0,8,42,7),Qe(0,11,14,-7,0,23,36,3,0,9,44,8),Qe(0,11,15,-7,0,24,38,3,0,9,46,8)],sg=["duration","easing","delay"],lg={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},ug={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function x1(e){return`${Math.round(e)}ms`}function cg(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function pg(e){const t=C({},lg,e.easing),o=C({},ug,e.duration);return C({getAutoHeightDuration:cg,create:(i=["all"],s={})=>{const{duration:u=o.standard,easing:c=t.easeInOut,delay:f=0}=s,m=_e(s,sg);return(Array.isArray(i)?i:[i]).map(y=>`${y} ${typeof u=="string"?u:x1(u)} ${c} ${typeof f=="string"?f:x1(f)}`).join(",")}},e,{easing:t,duration:o})}const fg={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},dg=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function hg(e={},...t){const{mixins:o={},palette:i={},transitions:s={},typography:u={}}=e,c=_e(e,dg);if(e.vars)throw new Error(hr(18));const f=Q7(i),m=Ml(e);let y=Xn(m,{mixins:Z7(m.breakpoints,o),palette:f,shadows:ag.slice(),typography:tg(f,u),transitions:pg(s),zIndex:C({},fg)});return y=Xn(y,c),y=t.reduce((g,O)=>Xn(g,O),y),y.unstable_sxConfig=C({},Ho,c?.unstable_sxConfig),y.unstable_sx=function(g){return ga({sx:g,theme:this})},y}const wa=hg(),Oa="$$material";function _1(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const xt=e=>_1(e)&&e!=="classes",xe=T7({themeId:Oa,defaultTheme:wa,rootShouldForwardProp:xt});function mg(e){const{theme:t,name:o,props:i}=e;return!t||!t.components||!t.components[o]||!t.components[o].defaultProps?i:yl(t.components[o].defaultProps,i)}function vg(e){return Object.keys(e).length===0}function yg(e=null){const t=k.useContext(c0);return!t||vg(t)?e:t}const gg=Ml();function Nl(e=gg){return yg(e)}function bg({props:e,name:t,defaultTheme:o,themeId:i}){let s=Nl(o);return i&&(s=s[i]||s),mg({theme:s,name:t,props:e})}function on({props:e,name:t}){return bg({props:e,name:t,defaultTheme:wa,themeId:Oa})}const hk=Br.oneOfType([Br.func,Br.object]);function Fl(e,t){return()=>null}function xg(e){const{prototype:t={}}=e;return!!t.isReactComponent}function _g(e,t,o,i,s){const u=e[t],c=s||t;if(u==null||typeof window>"u")return null;let f;return typeof u=="function"&&!xg(u)&&(f="Did you accidentally provide a plain function component instead?"),f!==void 0?new Error(`Invalid ${i} \`${c}\` supplied to \`${o}\`. Expected an element type that can hold a ref. ${f} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const mk=Fl(Br.elementType,_g);function zl(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function In(...e){return k.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(o=>{zl(o,t)})},e)}const mr=typeof window<"u"?k.useLayoutEffect:k.useEffect;function ro(e){const t=k.useRef(e);return mr(()=>{t.current=e}),k.useRef((...o)=>(0,t.current)(...o)).current}const w1={};function wg(e,t){const o=k.useRef(w1);return o.current===w1&&(o.current=e(t)),o}const Og=[];function Sg(e){k.useEffect(e,Og)}class Ga{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Ga}start(t,o){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,o()},t)}}function O1(){const e=wg(Ga.create).current;return Sg(e.disposeEffect),e}let Sa=!0,Dl=!1;const jg=new Ga,Eg={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function Tg(e){const{type:t,tagName:o}=e;return!!(o==="INPUT"&&Eg[t]&&!e.readOnly||o==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function Cg(e){e.metaKey||e.altKey||e.ctrlKey||(Sa=!0)}function Ll(){Sa=!1}function Rg(){this.visibilityState==="hidden"&&Dl&&(Sa=!0)}function $g(e){e.addEventListener("keydown",Cg,!0),e.addEventListener("mousedown",Ll,!0),e.addEventListener("pointerdown",Ll,!0),e.addEventListener("touchstart",Ll,!0),e.addEventListener("visibilitychange",Rg,!0)}function Pg(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Sa||Tg(t)}function kg(){const e=k.useCallback(s=>{s!=null&&$g(s.ownerDocument)},[]),t=k.useRef(!1);function o(){return t.current?(Dl=!0,jg.start(100,()=>{Dl=!1}),t.current=!1,!0):!1}function i(s){return Pg(s)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:i,onBlur:o,ref:e}}function Vl(e,t){return Vl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,i){return o.__proto__=i,o},Vl(e,t)}function S1(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Vl(e,t)}const j1={disabled:!1};var vk=null;const ja=gt.createContext(null);var Mg=function(e){return e.scrollTop},Yo="unmounted",vr="exited",yr="entering",oo="entered",Wl="exiting",Rt=function(e){S1(t,e);function t(i,s){var u;u=e.call(this,i,s)||this;var c=s,f=c&&!c.isMounting?i.enter:i.appear,m;return u.appearStatus=null,i.in?f?(m=vr,u.appearStatus=yr):m=oo:i.unmountOnExit||i.mountOnEnter?m=Yo:m=vr,u.state={status:m},u.nextCallback=null,u}t.getDerivedStateFromProps=function(i,s){var u=i.in;return u&&s.status===Yo?{status:vr}:null};var o=t.prototype;return o.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},o.componentDidUpdate=function(i){var s=null;if(i!==this.props){var u=this.state.status;this.props.in?u!==yr&&u!==oo&&(s=yr):(u===yr||u===oo)&&(s=Wl)}this.updateStatus(!1,s)},o.componentWillUnmount=function(){this.cancelNextCallback()},o.getTimeouts=function(){var i=this.props.timeout,s,u,c;return s=u=c=i,i!=null&&typeof i!="number"&&(s=i.exit,u=i.enter,c=i.appear!==void 0?i.appear:u),{exit:s,enter:u,appear:c}},o.updateStatus=function(i,s){if(i===void 0&&(i=!1),s!==null)if(this.cancelNextCallback(),s===yr){if(this.props.unmountOnExit||this.props.mountOnEnter){var u=this.props.nodeRef?this.props.nodeRef.current:Qi.findDOMNode(this);u&&Mg(u)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===vr&&this.setState({status:Yo})},o.performEnter=function(i){var s=this,u=this.props.enter,c=this.context?this.context.isMounting:i,f=this.props.nodeRef?[c]:[Qi.findDOMNode(this),c],m=f[0],y=f[1],g=this.getTimeouts(),O=c?g.appear:g.enter;if(!i&&!u||j1.disabled){this.safeSetState({status:oo},function(){s.props.onEntered(m)});return}this.props.onEnter(m,y),this.safeSetState({status:yr},function(){s.props.onEntering(m,y),s.onTransitionEnd(O,function(){s.safeSetState({status:oo},function(){s.props.onEntered(m,y)})})})},o.performExit=function(){var i=this,s=this.props.exit,u=this.getTimeouts(),c=this.props.nodeRef?void 0:Qi.findDOMNode(this);if(!s||j1.disabled){this.safeSetState({status:vr},function(){i.props.onExited(c)});return}this.props.onExit(c),this.safeSetState({status:Wl},function(){i.props.onExiting(c),i.onTransitionEnd(u.exit,function(){i.safeSetState({status:vr},function(){i.props.onExited(c)})})})},o.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},o.safeSetState=function(i,s){s=this.setNextCallback(s),this.setState(i,s)},o.setNextCallback=function(i){var s=this,u=!0;return this.nextCallback=function(c){u&&(u=!1,s.nextCallback=null,i(c))},this.nextCallback.cancel=function(){u=!1},this.nextCallback},o.onTransitionEnd=function(i,s){this.setNextCallback(s);var u=this.props.nodeRef?this.props.nodeRef.current:Qi.findDOMNode(this),c=i==null&&!this.props.addEndListener;if(!u||c){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var f=this.props.nodeRef?[this.nextCallback]:[u,this.nextCallback],m=f[0],y=f[1];this.props.addEndListener(m,y)}i!=null&&setTimeout(this.nextCallback,i)},o.render=function(){var i=this.state.status;if(i===Yo)return null;var s=this.props,u=s.children;s.in,s.mountOnEnter,s.unmountOnExit,s.appear,s.enter,s.exit,s.timeout,s.addEndListener,s.onEnter,s.onEntering,s.onEntered,s.onExit,s.onExiting,s.onExited,s.nodeRef;var c=_e(s,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return gt.createElement(ja.Provider,{value:null},typeof u=="function"?u(i,c):gt.cloneElement(gt.Children.only(u),c))},t}(gt.Component);Rt.contextType=ja,Rt.propTypes={};function io(){}Rt.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:io,onEntering:io,onEntered:io,onExit:io,onExiting:io,onExited:io},Rt.UNMOUNTED=Yo,Rt.EXITED=vr,Rt.ENTERING=yr,Rt.ENTERED=oo,Rt.EXITING=Wl;function Ig(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ql(e,t){var o=function(s){return t&&Gi(s)?t(s):s},i=Object.create(null);return e&&vv.map(e,function(s){return s}).forEach(function(s){i[s.key]=o(s)}),i}function Ag(e,t){e=e||{},t=t||{};function o(g){return g in t?t[g]:e[g]}var i=Object.create(null),s=[];for(var u in e)u in t?s.length&&(i[u]=s,s=[]):s.push(u);var c,f={};for(var m in t){if(i[m])for(c=0;c<i[m].length;c++){var y=i[m][c];f[i[m][c]]=o(y)}f[m]=o(m)}for(c=0;c<s.length;c++)f[s[c]]=o(s[c]);return f}function gr(e,t,o){return o[t]!=null?o[t]:e.props[t]}function Ng(e,t){return ql(e.children,function(o){return Xi(o,{onExited:t.bind(null,o),in:!0,appear:gr(o,"appear",e),enter:gr(o,"enter",e),exit:gr(o,"exit",e)})})}function Fg(e,t,o){var i=ql(e.children),s=Ag(t,i);return Object.keys(s).forEach(function(u){var c=s[u];if(Gi(c)){var f=u in t,m=u in i,y=t[u],g=Gi(y)&&!y.props.in;m&&(!f||g)?s[u]=Xi(c,{onExited:o.bind(null,c),in:!0,exit:gr(c,"exit",e),enter:gr(c,"enter",e)}):!m&&f&&!g?s[u]=Xi(c,{in:!1}):m&&f&&Gi(y)&&(s[u]=Xi(c,{onExited:o.bind(null,c),in:y.props.in,exit:gr(c,"exit",e),enter:gr(c,"enter",e)}))}}),s}var zg=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},Dg={component:"div",childFactory:function(e){return e}},Zl=function(e){S1(t,e);function t(i,s){var u;u=e.call(this,i,s)||this;var c=u.handleExited.bind(Ig(u));return u.state={contextValue:{isMounting:!0},handleExited:c,firstRender:!0},u}var o=t.prototype;return o.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},o.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(i,s){var u=s.children,c=s.handleExited,f=s.firstRender;return{children:f?Ng(i,c):Fg(i,u,c),firstRender:!1}},o.handleExited=function(i,s){var u=ql(this.props.children);i.key in u||(i.props.onExited&&i.props.onExited(s),this.mounted&&this.setState(function(c){var f=C({},c.children);return delete f[i.key],{children:f}}))},o.render=function(){var i=this.props,s=i.component,u=i.childFactory,c=_e(i,["component","childFactory"]),f=this.state.contextValue,m=zg(this.state.children).map(u);return delete c.appear,delete c.enter,delete c.exit,s===null?gt.createElement(ja.Provider,{value:f},m):gt.createElement(ja.Provider,{value:f},gt.createElement(s,c,m))},t}(gt.Component);Zl.propTypes={},Zl.defaultProps=Dg;function Lg({styles:e,themeId:t,defaultTheme:o={}}){const i=Nl(o),s=typeof e=="function"?e(t&&i[t]||i):e;return d.jsx(G0,{styles:s})}function en(e,t,o="Mui"){const i={};return t.forEach(s=>{i[s]=Je(e,s,o)}),i}function Vg(e){const{prototype:t={}}=e;return!!t.isReactComponent}function E1(e,t,o,i,s){const u=e[t],c=s||t;if(u==null||typeof window>"u")return null;let f;const m=u.type;return typeof m=="function"&&!Vg(m)&&(f="Did you accidentally use a plain function component for an element instead?"),f!==void 0?new Error(`Invalid ${i} \`${c}\` supplied to \`${o}\`. Expected an element that can hold a ref. ${f} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const Wg=Fl(Br.element,E1);Wg.isRequired=Fl(Br.element.isRequired,E1);const yk="exact-prop: \u200B";function gk(e){return e}function bk(e,t,o,i,s){return null}function T1(...e){return e.reduce((t,o)=>o==null?t:function(...i){t.apply(this,i),o.apply(this,i)},()=>{})}function C1(e,t=166){let o;function i(...s){const u=()=>{e.apply(this,s)};clearTimeout(o),o=setTimeout(u,t)}return i.clear=()=>{clearTimeout(o)},i}function Bl(e,t){var o,i;return k.isValidElement(e)&&t.indexOf((o=e.type.muiName)!=null?o:(i=e.type)==null||(i=i._payload)==null||(i=i.value)==null?void 0:i.muiName)!==-1}function Qn(e){return e&&e.ownerDocument||document}function br(e){return Qn(e).defaultView||window}let R1=0;function qg(e){const[t,o]=k.useState(e),i=e||t;return k.useEffect(()=>{t==null&&(R1+=1,o(`mui-${R1}`))},[t]),i}const $1=k.useId;function P1(e){if($1!==void 0){const t=$1();return e??t}return qg(e)}function k1({controlled:e,default:t,name:o,state:i="value"}){const{current:s}=k.useRef(e!==void 0),[u,c]=k.useState(t),f=s?e:u,m=k.useCallback(y=>{s||c(y)},[]);return[f,m]}function M1(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function Zg(e){const t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":Number.isFinite(e)?e!==Math.floor(e)?"float":"number":"Infinity";case"object":return e===null?"null":e.constructor.name;default:return t}}function Bg(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e}const Hg=Number.isInteger||Bg;function I1(e,t,o,i){const s=e[t];if(s==null||!Hg(s)){const u=Zg(s);return new RangeError(`Invalid ${i} \`${t}\` of type \`${u}\` supplied to \`${o}\`, expected \`integer\`.`)}return null}function Ug(e,t,...o){return e[t]===void 0?null:I1(e,t,...o)}function Hl(){return null}Ug.isRequired=I1,Hl.isRequired=Hl;const xk=Hl,Kg=k.createContext(),Yg=()=>k.useContext(Kg)??!1;function Gg(e){const{className:t,classes:o,pulsate:i=!1,rippleX:s,rippleY:u,rippleSize:c,in:f,onExited:m,timeout:y}=e,[g,O]=k.useState(!1),w=Me(t,o.ripple,o.rippleVisible,i&&o.ripplePulsate),R={width:c,height:c,top:-(c/2)+u,left:-(c/2)+s},_=Me(o.child,g&&o.childLeaving,i&&o.childPulsate);return!f&&!g&&O(!0),k.useEffect(()=>{if(!f&&m!=null){const S=setTimeout(m,y);return()=>{clearTimeout(S)}}},[m,f,y]),d.jsx("span",{className:w,style:R,children:d.jsx("span",{className:_})})}const dt=en("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Xg=["center","classes","className"];let Ea=e=>e,A1,N1,F1,z1;const Ul=550,Jg=80,Qg=ea(A1||(A1=Ea`
|
3
3
|
0% {
|
4
4
|
transform: scale(0);
|
5
5
|
opacity: 0.1;
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";import{useRef as i,useEffect as f}from"react";import{animate as m}from"framer-motion";function p({from:r,to:n,duration:o=1,map:t}){const e=i(null),u=i(null);return f(()=>{const s=e.current;if(!s)return;const a=m(r,n,{duration:o,onUpdate(c){s.textContent=String(t?t(c):c)}});return u.current=a,()=>{a.stop()}},[r,n,t,o]),{ref:e,controls:u}}export{p as u};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";import{useRef as y,useInsertionEffect as O,useCallback as w,useState as d,useId as C,useEffect as m,useLayoutEffect as x}from"react";function k(e){return{set:t=>{const o=typeof t=="string"?t:JSON.stringify(t);localStorage.setItem(e,o)},get:()=>{const t=localStorage.getItem(e);if(t)try{return JSON.parse(t)}catch{return t}return null},remove:()=>{localStorage.removeItem(e)}}}function A({type:e="text/plain"}){return{copy:async t=>{var o;if((o=navigator.clipboard)!=null&&o.write){const n={};switch(e){case"text/html":n["text/plain"]=new Blob([t],{type:"text/plain"}),n[e]=new Blob([t],{type:e});break;default:n[e]=new Blob([t],{type:e})}const s=[new ClipboardItem(n)];await navigator.clipboard.write(s)}else{const n=document.createElement("textarea");t instanceof Blob?n.value=await t.text():n.value=t.toString(),n.select(),document.execCommand("copy")}}}}function b(e,t=[]){const o=y(()=>{throw new Error("Cannot call an event handler while rendering.")});return O(()=>{o.current=e}),w((...n)=>{var s;return(s=o.current)==null?void 0:s.call(o,...n)},t)}function B(e={}){const{onClose:t,onOpen:o,open:n,id:s}=e,r=b(o),i=b(t),[u,l]=d(e.defaultOpen??!1),c=n??u,a=n!==void 0,g=C(),f=s??`disclosure-${g}`,v=w(()=>{a||l(!1),i?.()},[a,i]),h=w(()=>{a||l(!0),r?.()},[a,r]),E=w(()=>{c?v():h()},[c,h,v]);function S(p={}){return{...p,"aria-expanded":c,"aria-controls":f,onClick(L){var I;(I=p.onClick)==null||I.call(p,L),E()}}}function T(p={}){return{...p,hidden:!c,id:f}}return{open:c,onOpen:h,onClose:v,onToggle:E,isControlled:a,getButtonProps:S,getDisclosureProps:T}}function z(e){return new URLSearchParams(e??window.location.search)}function D(e,t=250){const[o,n]=d(e);return m(()=>{const s=setTimeout(()=>{n(e)},t);return()=>{clearTimeout(s)}},[e,t]),o}function U(e,t={removeOnUnmount:!1}){const[o,n]=d("loading"),s=y(t);return m(()=>{let r=document.querySelector(`script[src="${e}"]`);const i=r?.getAttribute("data-status");if(i){n(i);return}if(r===null){r=document.createElement("script"),r.src=e,r.async=!0,r.setAttribute("data-status","loading"),document.body.appendChild(r);const u=()=>{r?.setAttribute("data-status","ready"),n("ready"),c()},l=()=>{r?.setAttribute("data-status","error"),n("error"),c()},c=()=>{r?.removeEventListener("load",u),r?.removeEventListener("error",l)};r.addEventListener("load",u),r.addEventListener("error",l);const a=s.current.removeOnUnmount;return()=>{a&&(r?.remove(),c())}}else n("unknown")},[e]),o}function W(e,t=500){const[o,n]=d(e),s=y(Date.now());return m(()=>{const r=Date.now(),i=r-s.current;if(i>=t)s.current=r,n(e);else{const u=t-i,l=window.setTimeout(()=>{s.current=Date.now(),n(e)},u);return()=>{window.clearTimeout(l)}}},[e,t]),o}function j(e){const[t,o]=d(()=>typeof e=="boolean"?e:!!e),n=w(s=>{if(typeof s=="boolean"){o(s);return}o(r=>!r)},[]);return[t,n]}function P(){const[e,t]=d({x:0,y:0}),o=w((...n)=>{if(n.length===1&&typeof n[0]=="object")window.scrollTo(n[0]);else if(n.length===2)window.scrollTo(n[0],n[1]);else throw new Error("Invalid arguments passed to scrollTo. Expected either ScrollToOptions object or x,y coordinates. See https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollTo")},[]);return x(()=>{const n=()=>{t({x:window.scrollX,y:window.scrollY})};return n(),window.addEventListener("scroll",n),()=>{window.removeEventListener("scroll",n)}},[]),{...e,scrollTo:o}}function H(){const[e,t]=d({width:window.innerWidth,height:window.innerHeight});return x(()=>{const o=()=>{t({width:window.innerWidth,height:window.innerHeight})};return window.addEventListener("resize",o),()=>{window.removeEventListener("resize",o)}},[]),e}function J(e,{threshold:t=0,root:o=null,rootMargin:n="0%",freezeOnceVisible:s=!1}={}){const[r,i]=d({isIntersecting:!1,entry:null});return m(()=>{const u=e?.current;let l;if(u){if(s&&r.isIntersecting)return;const c=g=>{const[f]=g;i({isIntersecting:f.isIntersecting,entry:f})},a=new IntersectionObserver(c,{threshold:t,root:o,rootMargin:n});a.observe(u),l=()=>{a.disconnect()}}return()=>{l&&l()}},[e,t,o,n,s,r.isIntersecting]),r}export{A as a,B as b,b as c,z as d,D as e,U as f,W as g,j as h,P as i,H as j,J as k,k as u};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@verifiedinc-public/shared-ui-elements",
|
3
|
-
"version": "2.
|
3
|
+
"version": "2.2.0",
|
4
4
|
"description": "A set of UI components, utilities that is shareable with the core apps.",
|
5
5
|
"private": false,
|
6
6
|
"keywords": [],
|
@@ -64,13 +64,6 @@
|
|
64
64
|
},
|
65
65
|
"devDependencies": {
|
66
66
|
"@chromatic-com/storybook": "^2.0.2",
|
67
|
-
"@emotion/react": "^11.11.4",
|
68
|
-
"@emotion/styled": "^11.11.5",
|
69
|
-
"@fontsource/lato": "^5.0.21",
|
70
|
-
"@fontsource/material-icons": "^5.0.18",
|
71
|
-
"@mona-health/react-input-mask": "^3.0.3",
|
72
|
-
"@mui/icons-material": "^5",
|
73
|
-
"@mui/material": "^5",
|
74
67
|
"@storybook/addon-essentials": "^8.3.1",
|
75
68
|
"@storybook/addon-interactions": "^8.3.1",
|
76
69
|
"@storybook/addon-links": "^8.3.1",
|
@@ -99,9 +92,7 @@
|
|
99
92
|
"eslint-plugin-storybook": "^0.8.0",
|
100
93
|
"eslint-plugin-vitest": "^0.0.53",
|
101
94
|
"jsdom": "^24.1.0",
|
102
|
-
"libphonenumber-js": "^1.11.11",
|
103
95
|
"prettier": "^3.1.0",
|
104
|
-
"qrcode": "^1.5.4",
|
105
96
|
"react": "^18",
|
106
97
|
"react-dnd": "^16.0.1",
|
107
98
|
"react-dnd-html5-backend": "^16.0.1",
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";import{useRef as S,useInsertionEffect as I,useCallback as s,useState as B,useId as O}from"react";function k(n){return{set:e=>{const r=typeof e=="string"?e:JSON.stringify(e);localStorage.setItem(n,r)},get:()=>{const e=localStorage.getItem(n);if(e)try{return JSON.parse(e)}catch{return e}return null},remove:()=>{localStorage.removeItem(n)}}}function P({type:n="text/plain"}){return{copy:async e=>{var r;if((r=navigator.clipboard)!=null&&r.write){const t={};switch(n){case"text/html":t["text/plain"]=new Blob([e],{type:"text/plain"}),t[n]=new Blob([e],{type:n});break;default:t[n]=new Blob([e],{type:n})}const o=[new ClipboardItem(t)];await navigator.clipboard.write(o)}else{const t=document.createElement("textarea");e instanceof Blob?t.value=await e.text():t.value=e.toString(),t.select(),document.execCommand("copy")}}}}function f(n,e=[]){const r=S(()=>{throw new Error("Cannot call an event handler while rendering.")});return I(()=>{r.current=n}),s((...t)=>{var o;return(o=r.current)==null?void 0:o.call(r,...t)},e)}function E(n={}){const{onClose:e,onOpen:r,open:t,id:o}=n,i=f(r),u=f(e),[b,g]=B(n.defaultOpen??!1),a=t??b,l=t!==void 0,y=O(),m=o??`disclosure-${y}`,p=s(()=>{l||g(!1),u?.()},[l,u]),d=s(()=>{l||g(!0),i?.()},[l,i]),w=s(()=>{a?p():d()},[a,d,p]);function x(c={}){return{...c,"aria-expanded":a,"aria-controls":m,onClick(h){var v;(v=c.onClick)==null||v.call(c,h),w()}}}function C(c={}){return{...c,hidden:!a,id:m}}return{open:a,onOpen:d,onClose:p,onToggle:w,isControlled:l,getButtonProps:x,getDisclosureProps:C}}function J(n){return new URLSearchParams(n??window.location.search)}export{P as a,E as b,f as c,J as d,k as u};
|