@verifiedinc-public/shared-ui-elements 3.4.2 → 3.4.3
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/chart/index.mjs +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/shared/index-CDq4CkLc.mjs +2 -0
- package/dist/shared/index-DiQVZ8e9.mjs +104 -0
- package/package.json +1 -1
- package/dist/shared/index-D9z1h2Xm.mjs +0 -105
- package/dist/shared/index-DXnwpTEF.mjs +0 -1
@@ -1 +1 @@
|
|
1
|
-
"use strict";import{j as e}from"../../shared/jsx-runtime-jmtevAuS.mjs";import{useCallback as m,useMemo as j,createElement as S}from"react";import{Stack as c,Box as g,Typography as u,useTheme as M}from"@mui/material";import{ResponsiveContainer as A,LineChart as F,CartesianGrid as R,XAxis as z,YAxis as K,Label as T,Tooltip as U,Legend as W,Line as I}from"recharts";import{b as O,c as Z}from"../../shared/date-Cq0LS2Mr.mjs";import{Decimal as p}from"decimal.js";import{AnimatePresence as q}from"framer-motion";import{u as B}from"../../shared/useCopyToClipboard-BALOSYVW.mjs";import"qrcode";import{u as v}from"../../shared/usePrevious-A8he0cAZ.mjs";import{a as E,C as b}from"../../shared/motions-CpxgbzKX.mjs";import{u as P}from"../../shared/index-DXnwpTEF.mjs";function Y({entry:a,payload:i}){const t=m(r=>{var s,o,l;return console.log(r),(l=(o=(s=r.payload)==null?void 0:s.data)==null?void 0:o.reduce)==null?void 0:l.call(o,(n,d)=>n+d.value,0)},[]),x=m(r=>{const s=new p(t(r)||0),o=i?.reduce((d,N)=>d+t(N),0)||0,l=new p(o),n=Number(s.div(l).times(100).toFixed(2,p.ROUND_DOWN));return isNaN(n)||!isFinite(n)?0:n},[t,i]),h=j(()=>t(a),[a,t]),C=v(h),y=j(()=>Number(x(a)),[a,x]),w=v(y),f=m(r=>Math.floor(r).toLocaleString(),[]),L=B({type:"text/plain"}),D=P();return e.jsxs(E,{component:"li",direction:"row",spacing:1,sx:{marginRight:"10px",color:a.color},layout:"position",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},children:[e.jsx(g,{sx:{width:"3px",height:"100%",backgroundColor:a.color,borderRadius:3}}),e.jsxs(c,{children:[e.jsxs(u,{component:"p",variant:"caption",children:[e.jsx(c,{component:"span",display:"inline-flex",mr:.5,children:e.jsx(b,{from:C??0,to:h,map:f,children:"0"})}),e.jsxs(c,{component:"span",direction:"row",display:"inline-flex",children:["(",e.jsx(b,{from:w??0,to:y,map:f,children:"0"}),"%)"]})]}),e.jsx(u,{variant:"body1",children:a.value}),a.payload.uuid&&e.jsxs(u,{variant:"body2",sx:{cursor:"pointer","&:hover":{textDecoration:"underline"}},onClick:()=>{L.copy(a.payload.uuid).catch(()=>{}),D.enqueueSnackbar("UUID copied to clipboard","success")},children:[a.payload.uuid.slice(0,5),"..."]})]})]})}function k(a){const{payload:i}=a;return e.jsx(c,{direction:"row",component:"ul",spacing:2,sx:{mt:2,justifyContent:"flex-start",alignItem:"center"},children:e.jsx(q,{children:i?.map(t=>e.jsx(Y,{entry:t,payload:i},`item-${t.value}`))})})}function G(a){const i=M();return e.jsx(g,{sx:{width:"100%",height:"100%",...a.sx},children:e.jsx(A,{children:e.jsxs(F,{width:500,height:300,margin:{top:5,right:60,left:20,bottom:5},children:[e.jsx(R,{vertical:!1}),e.jsx(z,{dataKey:"date",type:"number",domain:["dataMin","dataMax"],tickFormatter:t=>O(t,{timeZone:a.filter.timezone,hour12:!1,hour:"numeric"}),allowDuplicatedCategory:!1,tickLine:!1,fontSize:12,tickMargin:12}),e.jsx(K,{textAnchor:"end",dataKey:"value",tickLine:!1,tickFormatter:t=>Number(t).toLocaleString(),allowDecimals:!1,domain:[1,"dataMax"],children:a.label&&e.jsx(T,{value:a.label,angle:-90,position:"insideLeft",style:{textAnchor:"middle"}})}),e.jsx(U,{cursor:{stroke:i.palette.neutral.main,strokeWidth:1},formatter:t=>Number(t).toLocaleString(),labelFormatter:t=>Z(t,{timeZone:a.filter.timezone,hour12:!1})}),e.jsx(W,{content:e.jsx(k,{})}),a.data.map(t=>S(I,{uuid:t.uuid,key:t.uuid,name:t.name,dataKey:"value",data:t.chartData,type:"monotone",stroke:t.color,strokeWidth:2}))]})})})}export{G as SeriesChart,k as SeriesChartLegend};
|
1
|
+
"use strict";import{j as s}from"../../shared/jsx-runtime-jmtevAuS.mjs";import*as C from"react";import{useCallback as U,useMemo as te,createElement as be}from"react";import{Box as ae,Stack as Z,Typography as Q,useTheme as ge}from"@mui/material";import{ResponsiveContainer as xe,LineChart as Oe,CartesianGrid as we,XAxis as Se,YAxis as je,Label as $e,Tooltip as ke,Legend as Te,Line as Ne}from"recharts";import{b as _e,c as Ee}from"../../shared/date-Cq0LS2Mr.mjs";import{Decimal as X}from"decimal.js";import{AnimatePresence as Ge}from"framer-motion";import{u as Ae}from"../../shared/useCopyToClipboard-BALOSYVW.mjs";import"qrcode";import{u as ie}from"../../shared/usePrevious-A8he0cAZ.mjs";import{a as Ce,C as se}from"../../shared/motions-CpxgbzKX.mjs";import{i as De,_ as I,s as Le,a as m,c as le,d as Me,e as Re,f as qe,h as Fe,j as Ve,k as We,l as Ie,m as ze,n as Be,o as Pe,p as Ke,u as Ue}from"../../shared/index-CDq4CkLc.mjs";const Ze=["ownerState"],Qe=["variants"],Xe=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Ye(e){return Object.keys(e).length===0}function He(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Y(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Je=le(),en=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function z({defaultTheme:e,theme:n,themeId:o}){return Ye(n)?e:n[o]||n}function nn(e){return e?(n,o)=>o[e]:null}function B(e,n){let{ownerState:o}=n,r=I(n,Ze);const t=typeof e=="function"?e(m({ownerState:o},r)):e;if(Array.isArray(t))return t.flatMap(a=>B(a,m({ownerState:o},r)));if(t&&typeof t=="object"&&Array.isArray(t.variants)){const{variants:a=[]}=t;let i=I(t,Qe);return a.forEach(c=>{let l=!0;typeof c.props=="function"?l=c.props(m({ownerState:o},r,o)):Object.keys(c.props).forEach(u=>{o?.[u]!==c.props[u]&&r[u]!==c.props[u]&&(l=!1)}),l&&(Array.isArray(i)||(i=[i]),i.push(typeof c.style=="function"?c.style(m({ownerState:o},r,o)):c.style))}),i}return t}function on(e={}){const{themeId:n,defaultTheme:o=Je,rootShouldForwardProp:r=Y,slotShouldForwardProp:t=Y}=e,a=i=>Me(m({},i,{theme:z(m({},i,{defaultTheme:o,themeId:n}))}));return a.__mui_systemSx=!0,(i,c={})=>{De(i,p=>p.filter(x=>!(x!=null&&x.__mui_systemSx)));const{name:l,slot:u,skipVariantsResolver:w,skipSx:d,overridesResolver:y=nn(en(u))}=c,f=I(c,Xe),g=w!==void 0?w:u&&u!=="Root"&&u!=="root"||!1,h=d||!1;let S,j=Y;u==="Root"||u==="root"?j=r:u?j=t:He(i)&&(j=void 0);const T=Le(i,m({shouldForwardProp:j,label:S},f)),q=p=>typeof p=="function"&&p.__emotion_real!==p||Re(p)?x=>B(p,m({},x,{theme:z({theme:x.theme,defaultTheme:o,themeId:n})})):p,E=(p,...x)=>{let L=q(p);const N=x?x.map(q):[];l&&y&&N.push(v=>{const b=z(m({},v,{defaultTheme:o,themeId:n}));if(!b.components||!b.components[l]||!b.components[l].styleOverrides)return null;const $=b.components[l].styleOverrides,G={};return Object.entries($).forEach(([P,W])=>{G[P]=B(W,m({},v,{theme:b}))}),y(v,G)}),l&&!g&&N.push(v=>{var b;const $=z(m({},v,{defaultTheme:o,themeId:n})),G=$==null||(b=$.components)==null||(b=b[l])==null?void 0:b.variants;return B({variants:G},m({},v,{theme:$}))}),h||N.push(a);const F=N.length-x.length;if(Array.isArray(p)&&F>0){const v=new Array(F).fill("");L=[...p,...v],L.raw=[...p.raw,...v]}const V=T(L,...N);return i.muiName&&(V.muiName=i.muiName),V};return T.withConfig&&(E.withConfig=T.withConfig),E}}const rn=on(),tn=(e,n)=>e.filter(o=>n.includes(o)),D=(e,n,o)=>{const r=e.keys[0];Array.isArray(n)?n.forEach((t,a)=>{o((i,c)=>{a<=e.keys.length-1&&(a===0?Object.assign(i,c):i[e.up(e.keys[a])]=c)},t)}):n&&typeof n=="object"?(Object.keys(n).length>e.keys.length?e.keys:tn(e.keys,Object.keys(n))).forEach(t=>{if(e.keys.indexOf(t)!==-1){const a=n[t];a!==void 0&&o((i,c)=>{r===t?Object.assign(i,c):i[e.up(t)]=c},a)}}):(typeof n=="number"||typeof n=="string")&&o((t,a)=>{Object.assign(t,a)},n)};function k(e){return e?`Level${e}`:""}function R(e){return e.unstable_level>0&&e.container}function ce(e){return function(n){return`var(--Grid-${n}Spacing${k(e.unstable_level)})`}}function H(e){return function(n){return e.unstable_level===0?`var(--Grid-${n}Spacing)`:`var(--Grid-${n}Spacing${k(e.unstable_level-1)})`}}function J(e){return e.unstable_level===0?"var(--Grid-columns)":`var(--Grid-columns${k(e.unstable_level-1)})`}const an=({theme:e,ownerState:n})=>{const o=ce(n),r={};return D(e.breakpoints,n.gridSize,(t,a)=>{let i={};a===!0&&(i={flexBasis:0,flexGrow:1,maxWidth:"100%"}),a==="auto"&&(i={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),typeof a=="number"&&(i={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${a} / ${J(n)}${R(n)?` + ${o("column")}`:""})`}),t(r,i)}),r},sn=({theme:e,ownerState:n})=>{const o={};return D(e.breakpoints,n.gridOffset,(r,t)=>{let a={};t==="auto"&&(a={marginLeft:"auto"}),typeof t=="number"&&(a={marginLeft:t===0?"0px":`calc(100% * ${t} / ${J(n)})`}),r(o,a)}),o},ln=({theme:e,ownerState:n})=>{if(!n.container)return{};const o=R(n)?{[`--Grid-columns${k(n.unstable_level)}`]:J(n)}:{"--Grid-columns":12};return D(e.breakpoints,n.columns,(r,t)=>{r(o,{[`--Grid-columns${k(n.unstable_level)}`]:t})}),o},cn=({theme:e,ownerState:n})=>{if(!n.container)return{};const o=H(n),r=R(n)?{[`--Grid-rowSpacing${k(n.unstable_level)}`]:o("row")}:{};return D(e.breakpoints,n.rowSpacing,(t,a)=>{var i;t(r,{[`--Grid-rowSpacing${k(n.unstable_level)}`]:typeof a=="string"?a:(i=e.spacing)==null?void 0:i.call(e,a)})}),r},un=({theme:e,ownerState:n})=>{if(!n.container)return{};const o=H(n),r=R(n)?{[`--Grid-columnSpacing${k(n.unstable_level)}`]:o("column")}:{};return D(e.breakpoints,n.columnSpacing,(t,a)=>{var i;t(r,{[`--Grid-columnSpacing${k(n.unstable_level)}`]:typeof a=="string"?a:(i=e.spacing)==null?void 0:i.call(e,a)})}),r},pn=({theme:e,ownerState:n})=>{if(!n.container)return{};const o={};return D(e.breakpoints,n.direction,(r,t)=>{r(o,{flexDirection:t})}),o},mn=({ownerState:e})=>{const n=ce(e),o=H(e);return m({minWidth:0,boxSizing:"border-box"},e.container&&m({display:"flex",flexWrap:"wrap"},e.wrap&&e.wrap!=="wrap"&&{flexWrap:e.wrap},{margin:`calc(${n("row")} / -2) calc(${n("column")} / -2)`},e.disableEqualOverflow&&{margin:`calc(${n("row")} * -1) 0px 0px calc(${n("column")} * -1)`}),(!e.container||R(e))&&m({padding:`calc(${o("row")} / 2) calc(${o("column")} / 2)`},(e.disableEqualOverflow||e.parentDisableEqualOverflow)&&{padding:`${o("row")} 0px 0px ${o("column")}`}))},dn=e=>{const n=[];return Object.entries(e).forEach(([o,r])=>{r!==!1&&r!==void 0&&n.push(`grid-${o}-${String(r)}`)}),n},fn=(e,n="xs")=>{function o(r){return r===void 0?!1:typeof r=="string"&&!Number.isNaN(Number(r))||typeof r=="number"&&r>0}if(o(e))return[`spacing-${n}-${String(e)}`];if(typeof e=="object"&&!Array.isArray(e)){const r=[];return Object.entries(e).forEach(([t,a])=>{o(a)&&r.push(`spacing-${t}-${String(a)}`)}),r}return[]},yn=e=>e===void 0?[]:typeof e=="object"?Object.entries(e).map(([n,o])=>`direction-${n}-${o}`):[`direction-xs-${String(e)}`],hn=["className","children","columns","container","component","direction","wrap","spacing","rowSpacing","columnSpacing","disableEqualOverflow","unstable_level"],vn=le(),bn=rn("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,n)=>n.root});function gn(e){return Ie({props:e,name:"MuiGrid",defaultTheme:vn})}function xn(e={}){const{createStyledComponent:n=bn,useThemeProps:o=gn,componentName:r="MuiGrid"}=e,t=C.createContext(void 0),a=(l,u)=>{const{container:w,direction:d,spacing:y,wrap:f,gridSize:g}=l,h={root:["root",w&&"container",f!=="wrap"&&`wrap-xs-${String(f)}`,...yn(d),...dn(g),...w?fn(y,u.breakpoints.keys[0]):[]]};return ze(h,S=>Be(r,S),{})},i=n(ln,un,cn,an,pn,mn,sn),c=C.forwardRef(function(l,u){var w,d,y,f,g,h,S,j;const T=qe(),q=o(l),E=Fe(q),p=C.useContext(t),{className:x,children:L,columns:N=12,container:F=!1,component:V="div",direction:v="row",wrap:b="wrap",spacing:$=0,rowSpacing:G=$,columnSpacing:P=$,disableEqualOverflow:W,unstable_level:_=0}=E,me=I(E,hn);let M=W;_&&W!==void 0&&(M=l.disableEqualOverflow);const ee={},ne={},oe={};Object.entries(me).forEach(([O,A])=>{T.breakpoints.values[O]!==void 0?ee[O]=A:T.breakpoints.values[O.replace("Offset","")]!==void 0?ne[O.replace("Offset","")]=A:oe[O]=A});const de=(w=l.columns)!=null?w:_?void 0:N,fe=(d=l.spacing)!=null?d:_?void 0:$,ye=(y=(f=l.rowSpacing)!=null?f:l.spacing)!=null?y:_?void 0:G,he=(g=(h=l.columnSpacing)!=null?h:l.spacing)!=null?g:_?void 0:P,re=m({},E,{level:_,columns:de,container:F,direction:v,wrap:b,spacing:fe,rowSpacing:ye,columnSpacing:he,gridSize:ee,gridOffset:ne,disableEqualOverflow:(S=(j=M)!=null?j:p)!=null?S:!1,parentDisableEqualOverflow:p}),ve=a(re,T);let K=s.jsx(i,m({ref:u,as:V,ownerState:re,className:Ve(ve.root,x)},oe,{children:C.Children.map(L,O=>{if(C.isValidElement(O)&&We(O,["Grid"])){var A;return C.cloneElement(O,{unstable_level:(A=O.props.unstable_level)!=null?A:_+1})}return O})}));return M!==void 0&&M!==(p??!1)&&(K=s.jsx(t.Provider,{value:M,children:K})),K});return c.muiName="Grid",c}const ue=xn({createStyledComponent:Pe("div",{name:"MuiGrid2",slot:"Root",overridesResolver:(e,n)=>n.root}),componentName:"MuiGrid2",useThemeProps:e=>Ke({props:e,name:"MuiGrid2"})});function On({entry:e,payload:n}){const o=U(d=>{var y,f,g;return console.log(d),(g=(f=(y=d.payload)==null?void 0:y.data)==null?void 0:f.reduce)==null?void 0:g.call(f,(h,S)=>h+S.value,0)},[]),r=U(d=>{const y=new X(o(d)||0),f=n?.reduce((S,j)=>S+o(j),0)||0,g=new X(f),h=Number(y.div(g).times(100).toFixed(2,X.ROUND_DOWN));return isNaN(h)||!isFinite(h)?0:h},[o,n]),t=te(()=>o(e),[e,o]),a=ie(t),i=te(()=>Number(r(e)),[e,r]),c=ie(i),l=U(d=>Math.floor(d).toLocaleString(),[]),u=Ae({type:"text/plain"}),w=Ue();return s.jsxs(Ce,{component:"li",direction:"row",spacing:1,sx:{color:e.color},layout:"position",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},children:[s.jsx(ae,{sx:{width:"3px",height:"100%",backgroundColor:e.color,borderRadius:3}}),s.jsxs(Z,{children:[s.jsxs(Q,{component:"p",variant:"caption",children:[s.jsx(Z,{component:"span",display:"inline-flex",mr:.5,children:s.jsx(se,{from:a??0,to:t,map:l,children:"0"})}),s.jsxs(Z,{component:"span",direction:"row",display:"inline-flex",children:["(",s.jsx(se,{from:c??0,to:i,map:l,children:"0"}),"%)"]})]}),s.jsx(Q,{variant:"body1",children:e.value}),e.payload.uuid&&s.jsxs(Q,{variant:"body2",sx:{cursor:"pointer","&:hover":{textDecoration:"underline"}},onClick:()=>{u.copy(e.payload.uuid).catch(()=>{}),w.enqueueSnackbar("UUID copied to clipboard","success")},children:[e.payload.uuid.slice(0,5),"..."]})]})]})}function pe(e){const{payload:n}=e;return s.jsx(ue,{container:!0,direction:"row",component:"ul",gap:2,sx:{mt:2,justifyContent:"flex-start",alignItem:"center",flexWrap:"wrap"},children:s.jsx(Ge,{children:n?.map(o=>s.jsx(ue,{children:s.jsx(On,{entry:o,payload:n},`item-${o.value}`)}))})})}function wn(e){const n=ge();return s.jsx(ae,{sx:{width:"100%",height:"100%",...e.sx},children:s.jsx(xe,{children:s.jsxs(Oe,{width:500,height:300,margin:{top:5,right:60,left:20,bottom:5},children:[s.jsx(we,{vertical:!1}),s.jsx(Se,{dataKey:"date",type:"number",domain:["dataMin","dataMax"],tickFormatter:o=>_e(o,{timeZone:e.filter.timezone,hour12:!1,hour:"numeric"}),allowDuplicatedCategory:!1,tickLine:!1,fontSize:12,tickMargin:12}),s.jsx(je,{textAnchor:"end",dataKey:"value",tickLine:!1,tickFormatter:o=>Number(o).toLocaleString(),allowDecimals:!1,domain:[1,"dataMax"],children:e.label&&s.jsx($e,{value:e.label,angle:-90,position:"insideLeft",style:{textAnchor:"middle"}})}),s.jsx(ke,{cursor:{stroke:n.palette.neutral.main,strokeWidth:1},formatter:o=>Number(o).toLocaleString(),labelFormatter:o=>Ee(o,{timeZone:e.filter.timezone,hour12:!1})}),s.jsx(Te,{content:s.jsx(pe,{})}),e.data.map(o=>be(Ne,{uuid:o.uuid,key:o.uuid,name:o.name,dataKey:"value",data:o.chartData,type:"monotone",stroke:o.color,strokeWidth:2}))]})})})}export{wn as SeriesChart,pe as SeriesChartLegend};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";import{A as a,f as s,o as e,B as t,p as n,C as r,D as o,j as i,E as p,m as u,F as c,I as d,e as m,L as l,O as I,a as P,b as g,P as B,i as h,d as S,Q as k,R as T,g as f,S as y,h as C,n as b,T as A,k as L,c as R,V as D,l as E}from"../shared/index-
|
1
|
+
"use strict";import{A as a,f as s,o as e,B as t,p as n,C as r,D as o,j as i,E as p,m as u,F as c,I as d,e as m,L as l,O as I,a as P,b as g,P as B,i as h,d as S,Q as k,R as T,g as f,S as y,h as C,n as b,T as A,k as L,c as R,V as D,l as E}from"../shared/index-DiQVZ8e9.mjs";import{C as N,W as v,u as x}from"../shared/index-CDq4CkLc.mjs";import{SnackbarProvider as V}from"notistack";export{a as AcceptTermsNotice,s as Alert,e as Backdrop,t as Banner,n as Button,r as CredentialRequestsEditor,N as CustomAlertComponent,o as DateInput,i as DateRangeInput,p as EmailInput,u as ExactBirthdayBanner,c as FullWidthAlert,d as Image,m as LegalLink,l as LinkButton,I as OTPInput,P as PageHeader,g as PageSectionHeader,B as Paragraph,h as PhoneInput,S as PrivacyPolicyNotice,k as QRCodeDisplay,T as ResendPhoneBanner,f as SSNInput,y as SectionHeader,C as SelectInput,V as SnackbarProvider,b as TestPhoneNumbersBanner,A as TextButton,L as TimezoneInput,R as Typography,D as VerifiedImage,E as VerifiedIncLogo,v as When,x as useSnackbar};
|
package/dist/index.mjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";import{A as e,f as t,o as r,B as o,p as n,C as i,D as m,j as u,E as l,m as c,F as d,I as p,e as h,L as S,O as g,a as f,b as k,P,i as y,d as C,Q as D,R as b,g as B,S as I,h as T,n as w,T as N,k as R,c as v,V as Y,l as x,q as A,s as G,t as L,w as M,r as W,u as E,v as O}from"./shared/index-
|
1
|
+
"use strict";import{A as e,f as t,o as r,B as o,p as n,C as i,D as m,j as u,E as l,m as c,F as d,I as p,e as h,L as S,O as g,a as f,b as k,P,i as y,d as C,Q as D,R as b,g as B,S as I,h as T,n as w,T as N,k as R,c as v,V as Y,l as x,q as A,s as G,t as L,w as M,r as W,u as E,v as O}from"./shared/index-DiQVZ8e9.mjs";import{C as V,W as F,u as j}from"./shared/index-CDq4CkLc.mjs";import{b as z,d as H,a as U,j as q,u as Q,e as K,c as X,f as Z,g as _,h as $,i as J}from"./shared/useIntersectionObserver-CbpWuEs0.mjs";import{u as aa}from"./shared/useCopyToClipboard-BALOSYVW.mjs";import{a as sa,u as ea}from"./shared/useOnClickOutside-P5GTcgh8.mjs";import{u as ta}from"./shared/useCounter-BV32zXDQ.mjs";import{u as ra}from"./shared/usePrevious-A8he0cAZ.mjs";import{b as oa,a as na,v as ia,e as ma,d as ua,p as la,u as ca,h as da,j as pa,g as ha,o as Sa,s as ga,m as fa,c as ka,l as Pa,n as ya,q as Ca,f as Da,i as ba,r as Ba,z as Ia,t as Ta,x as wa,k as Na,w as Ra,y as va}from"./shared/shadows-Dhd7FrwF.mjs";import{f as Ya,b as xa,a as Aa,c as Ga}from"./shared/date-Cq0LS2Mr.mjs";import{masks as La}from"./utils/masks/index.mjs";import{M as Ma,S as Wa,U as Ea,d as Oa,e as Va,f as Fa,g as ja,a as za,s as Ha}from"./shared/unix.schema-CMYTtXco.mjs";import{p as Ua}from"./shared/phone.schema-XBbyizhq.mjs";import{SnackbarProvider as qa}from"notistack";async function Qa(a){try{return[await a,null]}catch(s){return[null,s]}}const Ka=a=>a.replace(/(\d{3})-?(\d{2})-?(\d{4})/,"\u2022\u2022\u2022-\u2022\u2022-$3");export{e as AcceptTermsNotice,t as Alert,r as Backdrop,o as Banner,n as Button,i as CredentialRequestsEditor,V as CustomAlertComponent,m as DateInput,u as DateRangeInput,l as EmailInput,c as ExactBirthdayBanner,d as FullWidthAlert,p as Image,h as LegalLink,S as LinkButton,Ma as MaskedAndUnmaskedSSNSchema,g as OTPInput,f as PageHeader,k as PageSectionHeader,P as Paragraph,y as PhoneInput,C as PrivacyPolicyNotice,D as QRCodeDisplay,b as ResendPhoneBanner,B as SSNInput,Wa as SSNSchema,I as SectionHeader,T as SelectInput,qa as SnackbarProvider,w as TestPhoneNumbersBanner,N as TextButton,R as TimezoneInput,v as Typography,Ea as USDateSchema,Y as VerifiedImage,x as VerifiedIncLogo,F as When,oa as black,na as blue,ia as colors,A as countries,ma as darkBlue,ua as darkGreen,la as darkGrey,ca as darkGreyContrast,da as darkRed,pa as darkYellow,Oa as descriptionSchema,Va as emailSchema,Fa as fieldSchema,Ya as formatDateMMDDYYYY,xa as formatDateMMYY,Aa as formatDateToTimestamp,Ga as formatExtendedDate,ja as getDateSchemaWithPastValidation,G as getPhoneData,L as getPhoneDataByFieldName,za as getUnixSchema,ha as green,Sa as grey,ga as greyContrast,fa as infoContrast,ka as lightBlue,Pa as lightGreen,ya as lightGrey,Ca as lightGreyContrast,Da as lightRed,ba as lightYellow,La as masks,M as omitProperties,W as parseToPhoneNational,Ua as phoneSchema,Ba as red,Ia as shadows,E as sortByCountryName,Ka as ssnFormatter,Ha as stateSchema,Ta as textDisabled,wa as theme,z as useCallbackRef,aa as useCopyToClipboard,ta as useCounter,H as useDebounceValue,U as useDisclosure,q as useIntersectionObserver,Q as useLocalStorage,sa as useOnClickOutside,ra as usePrevious,ea as useQRCode,K as useScript,X as useSearchParams,j as useSnackbar,Z as useThrottle,_ as useToggle,$ as useWindowScroll,J as useWindowSize,O as validatePhone,Na as warningContrast,Ra as white,Qa as wrapPromise,va as yellow};
|
@@ -0,0 +1,2 @@
|
|
1
|
+
"use strict";import pn from"@emotion/styled";import{CacheProvider as dn,Global as yn,ThemeContext as qt,css as mn,keyframes as hn}from"@emotion/react";import*as Ft from"react";import{forwardRef as gn}from"react";import{j as Q}from"./jsx-runtime-jmtevAuS.mjs";import{Close as bn}from"@mui/icons-material";import{Alert as vn,Box as xn,IconButton as Kt}from"@mui/material";import{SnackbarContent as On,closeSnackbar as Bt,enqueueSnackbar as wn}from"notistack";var $n=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ut(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function he(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),r}function ge(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function W(){return W=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},W.apply(null,arguments)}var Lt={exports:{}},Gt={exports:{}},C={},Ht;function Sn(){if(Ht)return C;Ht=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,i=e?Symbol.for("react.context"):60110,m=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,g=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,d=e?Symbol.for("react.block"):60121,u=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,A=e?Symbol.for("react.scope"):60119;function j(l){if(typeof l=="object"&&l!==null){var V=l.$$typeof;switch(V){case t:switch(l=l.type,l){case m:case c:case n:case a:case o:case g:return l;default:switch(l=l&&l.$$typeof,l){case i:case h:case y:case v:case s:return l;default:return V}}case r:return V}}}function H(l){return j(l)===c}return C.AsyncMode=m,C.ConcurrentMode=c,C.ContextConsumer=i,C.ContextProvider=s,C.Element=t,C.ForwardRef=h,C.Fragment=n,C.Lazy=y,C.Memo=v,C.Portal=r,C.Profiler=a,C.StrictMode=o,C.Suspense=g,C.isAsyncMode=function(l){return H(l)||j(l)===m},C.isConcurrentMode=H,C.isContextConsumer=function(l){return j(l)===i},C.isContextProvider=function(l){return j(l)===s},C.isElement=function(l){return typeof l=="object"&&l!==null&&l.$$typeof===t},C.isForwardRef=function(l){return j(l)===h},C.isFragment=function(l){return j(l)===n},C.isLazy=function(l){return j(l)===y},C.isMemo=function(l){return j(l)===v},C.isPortal=function(l){return j(l)===r},C.isProfiler=function(l){return j(l)===a},C.isStrictMode=function(l){return j(l)===o},C.isSuspense=function(l){return j(l)===g},C.isValidElementType=function(l){return typeof l=="string"||typeof l=="function"||l===n||l===c||l===a||l===o||l===g||l===p||typeof l=="object"&&l!==null&&(l.$$typeof===y||l.$$typeof===v||l.$$typeof===s||l.$$typeof===i||l.$$typeof===h||l.$$typeof===u||l.$$typeof===x||l.$$typeof===A||l.$$typeof===d)},C.typeOf=j,C}var En={},Yt;function Xs(){return Yt||(Yt=1),En}var Xt;function _n(){return Xt||(Xt=1,Gt.exports=Sn()),Gt.exports}var ht,Jt;function kn(){if(Jt)return ht;Jt=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function n(a){if(a==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(a)}function o(){try{if(!Object.assign)return!1;var a=new String("abc");if(a[5]="de",Object.getOwnPropertyNames(a)[0]==="5")return!1;for(var s={},i=0;i<10;i++)s["_"+String.fromCharCode(i)]=i;var m=Object.getOwnPropertyNames(s).map(function(h){return s[h]});if(m.join("")!=="0123456789")return!1;var c={};return"abcdefghijklmnopqrst".split("").forEach(function(h){c[h]=h}),Object.keys(Object.assign({},c)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return ht=o()?Object.assign:function(a,s){for(var i,m=n(a),c,h=1;h<arguments.length;h++){i=Object(arguments[h]);for(var g in i)t.call(i,g)&&(m[g]=i[g]);if(e){c=e(i);for(var p=0;p<c.length;p++)r.call(i,c[p])&&(m[c[p]]=i[c[p]])}}return m},ht}var gt,Zt;function Qt(){if(Zt)return gt;Zt=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return gt=e,gt}var er,tr;function jn(){return tr||(tr=1,er=Function.call.bind(Object.prototype.hasOwnProperty)),er}var bt,rr;function Nn(){if(rr)return bt;rr=1;var e=function(){};if(0)var t,r,n;function o(a,s,i,m,c){if(0){for(var h in a)if(n(a,h)){var g;try{if(typeof a[h]!="function")var p}catch(y){}if(g&&!(g instanceof Error)&&e((m||"React class")+": type specification of "+i+" `"+h+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof g+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),g instanceof Error&&!(g.message in r))var v}}}return o.resetWarningCache=function(){},bt=o,bt}var vt,nr;function Js(){if(nr)return vt;nr=1;var e=_n(),t=kn(),r=Qt(),n=jn(),o=Nn(),a=function(){};function s(){return null}return vt=function(i,m){var c=typeof Symbol=="function"&&Symbol.iterator,h="@@iterator";function g(f){var b=f&&(c&&f[c]||f[h]);if(typeof b=="function")return b}var p="<<anonymous>>",v={array:x("array"),bigint:x("bigint"),bool:x("boolean"),func:x("function"),number:x("number"),object:x("object"),string:x("string"),symbol:x("symbol"),any:A(),arrayOf:j,element:H(),elementType:l(),instanceOf:V,node:xe(),objectOf:pe,oneOf:E,oneOfType:ve,shape:Z,exact:de};function y(f,b){return f===b?f!==0||1/f===1/b:f!==f&&b!==b}function d(f,b){this.message=f,this.data=b&&typeof b=="object"?b:{},this.stack=""}d.prototype=Error.prototype;function u(f){if(0)var b,_;function $(k,w,S,M,R,N,L){if(M=M||p,N=N||S,L!==r){if(m){var D=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 D.name="Invariant Violation",D}else if(0)var Le}return w[S]==null?k?w[S]===null?new d("The "+R+" `"+N+"` is marked as required "+("in `"+M+"`, but its value is `null`.")):new d("The "+R+" `"+N+"` is marked as required in "+("`"+M+"`, but its value is `undefined`.")):null:f(w,S,M,R,N)}var O=$.bind(null,!1);return O.isRequired=$.bind(null,!0),O}function x(f){function b(_,$,O,k,w,S){var M=_[$],R=ne(M);if(R!==f){var N=be(M);return new d("Invalid "+k+" `"+w+"` of type "+("`"+N+"` supplied to `"+O+"`, expected ")+("`"+f+"`."),{expectedType:f})}return null}return u(b)}function A(){return u(s)}function j(f){function b(_,$,O,k,w){if(typeof f!="function")return new d("Property `"+w+"` of component `"+O+"` has invalid PropType notation inside arrayOf.");var S=_[$];if(!Array.isArray(S)){var M=ne(S);return new d("Invalid "+k+" `"+w+"` of type "+("`"+M+"` supplied to `"+O+"`, expected an array."))}for(var R=0;R<S.length;R++){var N=f(S,R,O,k,w+"["+R+"]",r);if(N instanceof Error)return N}return null}return u(b)}function H(){function f(b,_,$,O,k){var w=b[_];if(!i(w)){var S=ne(w);return new d("Invalid "+O+" `"+k+"` of type "+("`"+S+"` supplied to `"+$+"`, expected a single ReactElement."))}return null}return u(f)}function l(){function f(b,_,$,O,k){var w=b[_];if(!e.isValidElementType(w)){var S=ne(w);return new d("Invalid "+O+" `"+k+"` of type "+("`"+S+"` supplied to `"+$+"`, expected a single ReactElement type."))}return null}return u(f)}function V(f){function b(_,$,O,k,w){if(!(_[$]instanceof f)){var S=f.name||p,M=mt(_[$]);return new d("Invalid "+k+" `"+w+"` of type "+("`"+M+"` supplied to `"+O+"`, expected ")+("instance of `"+S+"`."))}return null}return u(b)}function E(f){if(!Array.isArray(f))return s;function b(_,$,O,k,w){for(var S=_[$],M=0;M<f.length;M++)if(y(S,f[M]))return null;var R=JSON.stringify(f,function(N,L){var D=be(L);return D==="symbol"?String(L):L});return new d("Invalid "+k+" `"+w+"` of value `"+String(S)+"` "+("supplied to `"+O+"`, expected one of "+R+"."))}return u(b)}function pe(f){function b(_,$,O,k,w){if(typeof f!="function")return new d("Property `"+w+"` of component `"+O+"` has invalid PropType notation inside objectOf.");var S=_[$],M=ne(S);if(M!=="object")return new d("Invalid "+k+" `"+w+"` of type "+("`"+M+"` supplied to `"+O+"`, expected an object."));for(var R in S)if(n(S,R)){var N=f(S,R,O,k,w+"."+R,r);if(N instanceof Error)return N}return null}return u(b)}function ve(f){if(!Array.isArray(f))return s;for(var b=0;b<f.length;b++){var _=f[b];if(typeof _!="function")return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+yt(_)+" at index "+b+"."),s}function $(O,k,w,S,M){for(var R=[],N=0;N<f.length;N++){var L=f[N],D=L(O,k,w,S,M,r);if(D==null)return null;D.data&&n(D.data,"expectedType")&&R.push(D.data.expectedType)}var Le=R.length>0?", expected one of type ["+R.join(", ")+"]":"";return new d("Invalid "+S+" `"+M+"` supplied to "+("`"+w+"`"+Le+"."))}return u($)}function xe(){function f(b,_,$,O,k){return ce(b[_])?null:new d("Invalid "+O+" `"+k+"` supplied to "+("`"+$+"`, expected a ReactNode."))}return u(f)}function J(f,b,_,$,O){return new d((f||"React class")+": "+b+" type `"+_+"."+$+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+O+"`.")}function Z(f){function b(_,$,O,k,w){var S=_[$],M=ne(S);if(M!=="object")return new d("Invalid "+k+" `"+w+"` of type `"+M+"` "+("supplied to `"+O+"`, expected `object`."));for(var R in f){var N=f[R];if(typeof N!="function")return J(O,k,w,R,be(N));var L=N(S,R,O,k,w+"."+R,r);if(L)return L}return null}return u(b)}function de(f){function b(_,$,O,k,w){var S=_[$],M=ne(S);if(M!=="object")return new d("Invalid "+k+" `"+w+"` of type `"+M+"` "+("supplied to `"+O+"`, expected `object`."));var R=t({},_[$],f);for(var N in R){var L=f[N];if(n(f,N)&&typeof L!="function")return J(O,k,w,N,be(L));if(!L)return new d("Invalid "+k+" `"+w+"` key `"+N+"` supplied to `"+O+"`.\nBad object: "+JSON.stringify(_[$],null," ")+`
|
2
|
+
Valid keys: `+JSON.stringify(Object.keys(f),null," "));var D=L(S,N,O,k,w+"."+N,r);if(D)return D}return null}return u(b)}function ce(f){switch(typeof f){case"number":case"string":case"undefined":return!0;case"boolean":return!f;case"object":if(Array.isArray(f))return f.every(ce);if(f===null||i(f))return!0;var b=g(f);if(b){var _=b.call(f),$;if(b!==f.entries){for(;!($=_.next()).done;)if(!ce($.value))return!1}else for(;!($=_.next()).done;){var O=$.value;if(O&&!ce(O[1]))return!1}}else return!1;return!0;default:return!1}}function Me(f,b){return f==="symbol"?!0:b?b["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&b instanceof Symbol:!1}function ne(f){var b=typeof f;return Array.isArray(f)?"array":f instanceof RegExp?"object":Me(b,f)?"symbol":b}function be(f){if(typeof f>"u"||f===null)return""+f;var b=ne(f);if(b==="object"){if(f instanceof Date)return"date";if(f instanceof RegExp)return"regexp"}return b}function yt(f){var b=be(f);switch(b){case"array":case"object":return"an "+b;case"boolean":case"date":case"regexp":return"a "+b;default:return b}}function mt(f){return!f.constructor||!f.constructor.name?p:f.constructor.name}return v.checkPropTypes=o,v.resetWarningCache=o.resetWarningCache,v.PropTypes=v,v},vt}var xt,or;function Tn(){if(or)return xt;or=1;var e=Qt();function t(){}function r(){}return r.resetWarningCache=t,xt=function(){function n(s,i,m,c,h,g){if(g!==e){var p=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 p.name="Invariant Violation",p}}n.isRequired=n;function o(){return n}var a={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:t};return a.PropTypes=a,a},xt}if(0)var Zs,Qs;else Lt.exports=Tn()();var Pn=Lt.exports;const An=Ut(Pn);function ar(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=ar(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Mn(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=ar(e))&&(n&&(n+=" "),n+=t);return n}function Ot(e,t){const r=W({},t);return Object.keys(e).forEach(n=>{if(n.toString().match(/^(components|slots)$/))r[n]=W({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const o=e[n]||{},a=t[n];r[n]={},!a||!Object.keys(a)?r[n]=o:!o||!Object.keys(o)?r[n]=a:(r[n]=W({},a),Object.keys(o).forEach(s=>{r[n][s]=Ot(o[s],a[s])}))}else r[n]===void 0&&(r[n]=e[n])}),r}function Cn(e,t,r=void 0){const n={};return Object.keys(e).forEach(o=>{n[o]=e[o].reduce((a,s)=>{if(s){const i=t(s);i!==""&&a.push(i),r&&r[s]&&a.push(r[s])}return a},[]).join(" ")}),n}var K={},sr={exports:{}};(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(sr);var ir=sr.exports;function Oe(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}const In=Object.freeze(Object.defineProperty({__proto__:null,default:Oe},Symbol.toStringTag,{value:"Module"})),Rn=he(In);function Vn(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}const Dn=Object.freeze(Object.defineProperty({__proto__:null,default:Vn},Symbol.toStringTag,{value:"Module"})),Wn=he(Dn);var cr=ir;Object.defineProperty(K,"__esModule",{value:!0});var zn=K.alpha=mr;K.blend=Jn,K.colorChannel=void 0;var ur=K.darken=$t;K.decomposeColor=oe,K.emphasize=hr;var qn=K.getContrastRatio=Ln;K.getLuminance=Ge,K.hexToRgb=pr,K.hslToRgb=yr;var lr=K.lighten=St;K.private_safeAlpha=Gn,K.private_safeColorChannel=void 0,K.private_safeDarken=Hn,K.private_safeEmphasize=Xn,K.private_safeLighten=Yn,K.recomposeColor=we,K.rgbToHex=Un;var fr=cr(Rn),Fn=cr(Wn);function wt(e,t=0,r=1){return(0,Fn.default)(e,t,r)}function pr(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function Kn(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function oe(e){if(e.type)return e;if(e.charAt(0)==="#")return oe(pr(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error((0,fr.default)(9,e));let n=e.substring(t+1,e.length-1),o;if(r==="color"){if(n=n.split(" "),o=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error((0,fr.default)(10,o))}else n=n.split(",");return n=n.map(a=>parseFloat(a)),{type:r,values:n,colorSpace:o}}const dr=e=>{const t=oe(e);return t.values.slice(0,3).map((r,n)=>t.type.indexOf("hsl")!==-1&&n!==0?`${r}%`:r).join(" ")};K.colorChannel=dr;const Bn=(e,t)=>{try{return dr(e)}catch{return e}};K.private_safeColorChannel=Bn;function we(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.indexOf("rgb")!==-1?n=n.map((o,a)=>a<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.indexOf("color")!==-1?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function Un(e){if(e.indexOf("#")===0)return e;const{values:t}=oe(e);return`#${t.map((r,n)=>Kn(n===3?Math.round(255*r):r)).join("")}`}function yr(e){e=oe(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,a=n*Math.min(o,1-o),s=(c,h=(c+r/30)%12)=>o-a*Math.max(Math.min(h-3,9-h,1),-1);let i="rgb";const m=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(i+="a",m.push(t[3])),we({type:i,values:m})}function Ge(e){e=oe(e);let t=e.type==="hsl"||e.type==="hsla"?oe(yr(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Ln(e,t){const r=Ge(e),n=Ge(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function mr(e,t){return e=oe(e),t=wt(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,we(e)}function Gn(e,t,r){try{return mr(e,t)}catch{return e}}function $t(e,t){if(e=oe(e),t=wt(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 r=0;r<3;r+=1)e.values[r]*=1-t;return we(e)}function Hn(e,t,r){try{return $t(e,t)}catch{return e}}function St(e,t){if(e=oe(e),t=wt(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return we(e)}function Yn(e,t,r){try{return St(e,t)}catch{return e}}function hr(e,t=.15){return Ge(e)>.5?$t(e,t):St(e,t)}function Xn(e,t,r){try{return hr(e,t)}catch{return e}}function Jn(e,t,r,n=1){const o=(m,c)=>Math.round((m**(1/n)*(1-r)+c**(1/n)*r)**n),a=oe(e),s=oe(t),i=[o(a.values[0],s.values[0]),o(a.values[1],s.values[1]),o(a.values[2],s.values[2])];return we({type:"rgb",values:i})}var Ce={},gr={exports:{}},br;function Zn(){return br||(br=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(r){for(var n=1;n<arguments.length;n++){var o=arguments[n];for(var a in o)({}).hasOwnProperty.call(o,a)&&(r[a]=o[a])}return r},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}(gr)),gr.exports}var vr={exports:{}},xr;function Qn(){return xr||(xr=1,function(e){function t(r,n){if(r==null)return{};var o={};for(var a in r)if({}.hasOwnProperty.call(r,a)){if(n.indexOf(a)>=0)continue;o[a]=r[a]}return o}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(vr)),vr.exports}function eo(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 to(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 ro=function(){function e(r){var n=this;this._insertTag=function(o){var a;n.tags.length===0?n.insertionPoint?a=n.insertionPoint.nextSibling:n.prepend?a=n.container.firstChild:a=n.before:a=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(o,a),n.tags.push(o)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(to(this));var n=this.tags[this.tags.length-1];if(0)var o;if(this.isSpeedy){var a=eo(n);try{a.insertRule(r,a.cssRules.length)}catch{}}else n.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){return r.parentNode&&r.parentNode.removeChild(r)}),this.tags=[],this.ctr=0},e}(),X="-ms-",He="-moz-",T="-webkit-",Or="comm",Et="rule",_t="decl",no="@import",wr="@keyframes",oo="@layer",ao=Math.abs,Ye=String.fromCharCode,so=Object.assign;function io(e,t){return G(e,0)^45?(((t<<2^G(e,0))<<2^G(e,1))<<2^G(e,2))<<2^G(e,3):0}function $r(e){return e.trim()}function co(e,t){return(e=t.exec(e))?e[0]:e}function P(e,t,r){return e.replace(t,r)}function kt(e,t){return e.indexOf(t)}function G(e,t){return e.charCodeAt(t)|0}function Ie(e,t,r){return e.slice(t,r)}function le(e){return e.length}function jt(e){return e.length}function Xe(e,t){return t.push(e),e}function uo(e,t){return e.map(t).join("")}var Je=1,$e=1,Sr=0,ee=0,U=0,Se="";function Ze(e,t,r,n,o,a,s){return{value:e,root:t,parent:r,type:n,props:o,children:a,line:Je,column:$e,length:s,return:""}}function Re(e,t){return so(Ze("",null,null,"",null,null,0),e,{length:-e.length},t)}function lo(){return U}function fo(){return U=ee>0?G(Se,--ee):0,$e--,U===10&&($e=1,Je--),U}function te(){return U=ee<Sr?G(Se,ee++):0,$e++,U===10&&($e=1,Je++),U}function fe(){return G(Se,ee)}function Qe(){return ee}function Ve(e,t){return Ie(Se,e,t)}function De(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 Er(e){return Je=$e=1,Sr=le(Se=e),ee=0,[]}function _r(e){return Se="",e}function et(e){return $r(Ve(ee-1,Nt(e===91?e+2:e===40?e+1:e)))}function po(e){for(;(U=fe())&&U<33;)te();return De(e)>2||De(U)>3?"":" "}function yo(e,t){for(;--t&&te()&&!(U<48||U>102||U>57&&U<65||U>70&&U<97););return Ve(e,Qe()+(t<6&&fe()==32&&te()==32))}function Nt(e){for(;te();)switch(U){case e:return ee;case 34:case 39:e!==34&&e!==39&&Nt(U);break;case 40:e===41&&Nt(e);break;case 92:te();break}return ee}function mo(e,t){for(;te()&&e+U!==57&&!(e+U===84&&fe()===47););return"/*"+Ve(t,ee-1)+"*"+Ye(e===47?e:te())}function ho(e){for(;!De(fe());)te();return Ve(e,ee)}function go(e){return _r(tt("",null,null,null,[""],e=Er(e),0,[0],e))}function tt(e,t,r,n,o,a,s,i,m){for(var c=0,h=0,g=s,p=0,v=0,y=0,d=1,u=1,x=1,A=0,j="",H=o,l=a,V=n,E=j;u;)switch(y=A,A=te()){case 40:if(y!=108&&G(E,g-1)==58){kt(E+=P(et(A),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:E+=et(A);break;case 9:case 10:case 13:case 32:E+=po(y);break;case 92:E+=yo(Qe()-1,7);continue;case 47:switch(fe()){case 42:case 47:Xe(bo(mo(te(),Qe()),t,r),m);break;default:E+="/"}break;case 123*d:i[c++]=le(E)*x;case 125*d:case 59:case 0:switch(A){case 0:case 125:u=0;case 59+h:x==-1&&(E=P(E,/\f/g,"")),v>0&&le(E)-g&&Xe(v>32?jr(E+";",n,r,g-1):jr(P(E," ","")+";",n,r,g-2),m);break;case 59:E+=";";default:if(Xe(V=kr(E,t,r,c,h,o,i,j,H=[],l=[],g),a),A===123)if(h===0)tt(E,t,V,V,H,a,g,i,l);else switch(p===99&&G(E,3)===110?100:p){case 100:case 108:case 109:case 115:tt(e,V,V,n&&Xe(kr(e,V,V,0,0,o,i,j,o,H=[],g),l),o,l,g,i,n?H:l);break;default:tt(E,V,V,V,[""],l,0,i,l)}}c=h=v=0,d=x=1,j=E="",g=s;break;case 58:g=1+le(E),v=y;default:if(d<1){if(A==123)--d;else if(A==125&&d++==0&&fo()==125)continue}switch(E+=Ye(A),A*d){case 38:x=h>0?1:(E+="\f",-1);break;case 44:i[c++]=(le(E)-1)*x,x=1;break;case 64:fe()===45&&(E+=et(te())),p=fe(),h=g=le(j=E+=ho(Qe())),A++;break;case 45:y===45&&le(E)==2&&(d=0)}}return a}function kr(e,t,r,n,o,a,s,i,m,c,h){for(var g=o-1,p=o===0?a:[""],v=jt(p),y=0,d=0,u=0;y<n;++y)for(var x=0,A=Ie(e,g+1,g=ao(d=s[y])),j=e;x<v;++x)(j=$r(d>0?p[x]+" "+A:P(A,/&\f/g,p[x])))&&(m[u++]=j);return Ze(e,t,r,o===0?Et:i,m,c,h)}function bo(e,t,r){return Ze(e,t,r,Or,Ye(lo()),Ie(e,2,-2),0)}function jr(e,t,r,n){return Ze(e,t,r,_t,Ie(e,0,n),Ie(e,n+1,-1),n)}function Ee(e,t){for(var r="",n=jt(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function vo(e,t,r,n){switch(e.type){case oo:if(e.children.length)break;case no:case _t:return e.return=e.return||e.value;case Or:return"";case wr:return e.return=e.value+"{"+Ee(e.children,n)+"}";case Et:e.value=e.props.join(",")}return le(r=Ee(e.children,n))?e.return=e.value+"{"+r+"}":""}function xo(e){var t=jt(e);return function(r,n,o,a){for(var s="",i=0;i<t;i++)s+=e[i](r,n,o,a)||"";return s}}function Oo(e){return function(t){t.root||(t=t.return)&&e(t)}}var wo=function(e,t,r){for(var n=0,o=0;n=o,o=fe(),n===38&&o===12&&(t[r]=1),!De(o);)te();return Ve(e,ee)},$o=function(e,t){var r=-1,n=44;do switch(De(n)){case 0:n===38&&fe()===12&&(t[r]=1),e[r]+=wo(ee-1,t,r);break;case 2:e[r]+=et(n);break;case 4:if(n===44){e[++r]=fe()===58?"&\f":"",t[r]=e[r].length;break}default:e[r]+=Ye(n)}while(n=te());return e},So=function(e,t){return _r($o(Er(e),t))},Nr=new WeakMap,Eo=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(e.props.length===1&&t.charCodeAt(0)!==58&&!Nr.get(r))&&!n){Nr.set(e,!0);for(var o=[],a=So(t,o),s=r.props,i=0,m=0;i<a.length;i++)for(var c=0;c<s.length;c++,m++)e.props[m]=o[i]?a[i].replace(/&\f/g,s[c]):s[c]+" "+a[i]}}},_o=function(e){if(e.type==="decl"){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return="",e.value="")}},ko="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",jo=function(e){return e.type==="comm"&&e.children.indexOf(ko)>-1},ei=function(e){return function(t,r,n){if(!(t.type!=="rule"||e.compat)){var o=t.value.match(/(:first|:nth|:nth-last)-child/g);if(o){for(var a=!!t.parent,s=a?t.parent.children:n,i=s.length-1;i>=0;i--){var m=s[i];if(m.line<t.line)break;if(m.column<t.column){if(jo(m))return;break}}o.forEach(function(c){console.error('The pseudo class "'+c+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+c.split("-child")[0]+'-of-type".')})}}}},Tr=function(e){return e.type.charCodeAt(1)===105&&e.type.charCodeAt(0)===64},No=function(e,t){for(var r=e-1;r>=0;r--)if(!Tr(t[r]))return!0;return!1},Pr=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},ti=function(e,t,r){Tr(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."),Pr(e)):No(t,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Pr(e)))};function Ar(e,t){switch(io(e,t)){case 5103:return T+"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 T+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return T+e+He+e+X+e+e;case 6828:case 4268:return T+e+X+e+e;case 6165:return T+e+X+"flex-"+e+e;case 5187:return T+e+P(e,/(\w+).+(:[^]+)/,T+"box-$1$2"+X+"flex-$1$2")+e;case 5443:return T+e+X+"flex-item-"+P(e,/flex-|-self/,"")+e;case 4675:return T+e+X+"flex-line-pack"+P(e,/align-content|flex-|-self/,"")+e;case 5548:return T+e+X+P(e,"shrink","negative")+e;case 5292:return T+e+X+P(e,"basis","preferred-size")+e;case 6060:return T+"box-"+P(e,"-grow","")+T+e+X+P(e,"grow","positive")+e;case 4554:return T+P(e,/([^-])(transform)/g,"$1"+T+"$2")+e;case 6187:return P(P(P(e,/(zoom-|grab)/,T+"$1"),/(image-set)/,T+"$1"),e,"")+e;case 5495:case 3959:return P(e,/(image-set\([^]*)/,T+"$1$`$1");case 4968:return P(P(e,/(.+:)(flex-)?(.*)/,T+"box-pack:$3"+X+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+T+e+e;case 4095:case 3583:case 4068:case 2532:return P(e,/(.+)-inline(.+)/,T+"$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(le(e)-1-t>6)switch(G(e,t+1)){case 109:if(G(e,t+4)!==45)break;case 102:return P(e,/(.+:)(.+)-([^]+)/,"$1"+T+"$2-$3$1"+He+(G(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~kt(e,"stretch")?Ar(P(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(G(e,t+1)!==115)break;case 6444:switch(G(e,le(e)-3-(~kt(e,"!important")&&10))){case 107:return P(e,":",":"+T)+e;case 101:return P(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+T+(G(e,14)===45?"inline-":"")+"box$3$1"+T+"$2$3$1"+X+"$2box$3")+e}break;case 5936:switch(G(e,t+11)){case 114:return T+e+X+P(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return T+e+X+P(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return T+e+X+P(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return T+e+X+e+e}return e}var To=function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case _t:e.return=Ar(e.value,e.length);break;case wr:return Ee([Re(e,{value:P(e.value,"@","@"+T)})],n);case Et:if(e.length)return uo(e.props,function(o){switch(co(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ee([Re(e,{props:[P(o,/:(read-\w+)/,":"+He+"$1")]})],n);case"::placeholder":return Ee([Re(e,{props:[P(o,/:(plac\w+)/,":"+T+"input-$1")]}),Re(e,{props:[P(o,/:(plac\w+)/,":"+He+"$1")]}),Re(e,{props:[P(o,/:(plac\w+)/,X+"input-$1")]})],n)}return""})}},Po=[To],Ao=function(e){var t=e.key;if(t==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(y){var d=y.getAttribute("data-emotion");d.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var n=e.stylisPlugins||Po,o={},a,s=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(y){for(var d=y.getAttribute("data-emotion").split(" "),u=1;u<d.length;u++)o[d[u]]=!0;s.push(y)});var i,m=[Eo,_o];{var c,h=[vo,Oo(function(y){c.insert(y)})],g=xo(m.concat(n,h)),p=function(y){return Ee(go(y),g)};i=function(y,d,u,x){c=u,p(y?y+"{"+d.styles+"}":d.styles),x&&(v.inserted[d.name]=!0)}}var v={key:t,sheet:new ro({key:t,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:o,registered:{},insert:i};return v.sheet.hydrate(s),v};let Tt;typeof document=="object"&&(Tt=Ao({key:"css",prepend:!0}));function Mo(e){const{injectFirst:t,children:r}=e;return t&&Tt?Q.jsx(dn,{value:Tt,children:r}):r}function Co(e){return e==null||Object.keys(e).length===0}function Mr(e){const{styles:t,defaultTheme:r={}}=e,n=typeof t=="function"?o=>t(Co(o)?r:o):t;return Q.jsx(yn,{styles:n})}function Cr(e,t){return pn(e,t)}const Ir=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},Io=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:Mr,StyledEngineProvider:Mo,ThemeContext:qt,css:mn,default:Cr,internal_processStyles:Ir,keyframes:hn},Symbol.toStringTag,{value:"Module"})),Ro=he(Io);function ye(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 Rr(e){if(!ye(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=Rr(e[r])}),t}function ue(e,t,r={clone:!0}){const n=r.clone?W({},e):e;return ye(e)&&ye(t)&&Object.keys(t).forEach(o=>{ye(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&ye(e[o])?n[o]=ue(e[o],t[o],r):r.clone?n[o]=ye(t[o])?Rr(t[o]):t[o]:n[o]=t[o]}),n}const Vo=Object.freeze(Object.defineProperty({__proto__:null,default:ue,isPlainObject:ye},Symbol.toStringTag,{value:"Module"})),Do=he(Vo);function rt(e){if(typeof e!="string")throw new Error(Oe(7));return e.charAt(0).toUpperCase()+e.slice(1)}const Wo=Object.freeze(Object.defineProperty({__proto__:null,default:rt},Symbol.toStringTag,{value:"Module"})),zo=he(Wo);var Vr={exports:{}},I={},Dr;function qo(){if(Dr)return I;Dr=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),i=Symbol.for("react.server_context"),m=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),y;y=Symbol.for("react.module.reference");function d(u){if(typeof u=="object"&&u!==null){var x=u.$$typeof;switch(x){case e:switch(u=u.type,u){case r:case o:case n:case c:case h:return u;default:switch(u=u&&u.$$typeof,u){case i:case s:case m:case p:case g:case a:return u;default:return x}}case t:return x}}}return I.ContextConsumer=s,I.ContextProvider=a,I.Element=e,I.ForwardRef=m,I.Fragment=r,I.Lazy=p,I.Memo=g,I.Portal=t,I.Profiler=o,I.StrictMode=n,I.Suspense=c,I.SuspenseList=h,I.isAsyncMode=function(){return!1},I.isConcurrentMode=function(){return!1},I.isContextConsumer=function(u){return d(u)===s},I.isContextProvider=function(u){return d(u)===a},I.isElement=function(u){return typeof u=="object"&&u!==null&&u.$$typeof===e},I.isForwardRef=function(u){return d(u)===m},I.isFragment=function(u){return d(u)===r},I.isLazy=function(u){return d(u)===p},I.isMemo=function(u){return d(u)===g},I.isPortal=function(u){return d(u)===t},I.isProfiler=function(u){return d(u)===o},I.isStrictMode=function(u){return d(u)===n},I.isSuspense=function(u){return d(u)===c},I.isSuspenseList=function(u){return d(u)===h},I.isValidElementType=function(u){return typeof u=="string"||typeof u=="function"||u===r||u===o||u===n||u===c||u===h||u===v||typeof u=="object"&&u!==null&&(u.$$typeof===p||u.$$typeof===g||u.$$typeof===a||u.$$typeof===s||u.$$typeof===m||u.$$typeof===y||u.getModuleId!==void 0)},I.typeOf=d,I}var Fo={},Wr;function ri(){return Wr||(Wr=1),Fo}Vr.exports=qo();var Pt=Vr.exports;const Ko=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function zr(e){const t=`${e}`.match(Ko);return t&&t[1]||""}function qr(e,t=""){return e.displayName||e.name||zr(e)||t}function Fr(e,t,r){const n=qr(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function Kr(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return qr(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Pt.ForwardRef:return Fr(e,e.render,"ForwardRef");case Pt.Memo:return Fr(e,e.type,"memo");default:return}}}const Bo=Object.freeze(Object.defineProperty({__proto__:null,default:Kr,getFunctionName:zr},Symbol.toStringTag,{value:"Module"})),Uo=he(Bo),Lo=["values","unit","step"],Go=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>W({},r,{[n.key]:n.val}),{})};function Br(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,o=ge(e,Lo),a=Go(t),s=Object.keys(a);function i(p){return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${r})`}function m(p){return`@media (max-width:${(typeof t[p]=="number"?t[p]:p)-n/100}${r})`}function c(p,v){const y=s.indexOf(v);return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${r}) and (max-width:${(y!==-1&&typeof t[s[y]]=="number"?t[s[y]]:v)-n/100}${r})`}function h(p){return s.indexOf(p)+1<s.length?c(p,s[s.indexOf(p)+1]):i(p)}function g(p){const v=s.indexOf(p);return v===0?i(s[1]):v===s.length-1?m(s[v]):c(p,s[s.indexOf(p)+1]).replace("@media","@media not all and")}return W({keys:s,values:a,up:i,down:m,between:c,only:h,not:g,unit:r},o)}const Ho={borderRadius:4},ni={};function We(e,t){return t?ue(e,t,{clone:!1}):e}const At={xs:0,sm:600,md:900,lg:1200,xl:1536},Ur={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${At[e]}px)`};function me(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const o=n.breakpoints||Ur;return t.reduce((a,s,i)=>(a[o.up(o.keys[i])]=r(t[i]),a),{})}if(typeof t=="object"){const o=n.breakpoints||Ur;return Object.keys(t).reduce((a,s)=>{if(Object.keys(o.values||At).indexOf(s)!==-1){const i=o.up(s);a[i]=r(t[s],s)}else{const i=s;a[i]=t[i]}return a},{})}return r(t)}function Yo(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,n)=>{const o=e.up(n);return r[o]={},r},{}))||{}}function Xo(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function nt(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((o,a)=>o&&o[a]?o[a]:null,e);if(n!=null)return n}return t.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,e)}function ot(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=nt(e,r)||n,t&&(o=t(o,n,e)),o}function B(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,a=s=>{if(s[t]==null)return null;const i=s[t],m=s.theme,c=nt(m,n)||{};return me(s,i,h=>{let g=ot(c,o,h);return h===g&&typeof h=="string"&&(g=ot(c,o,`${t}${h==="default"?"":rt(h)}`,h)),r===!1?g:{[r]:g}})};return a.propTypes={},a.filterProps=[t],a}function Jo(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const Zo={m:"margin",p:"padding"},Qo={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Lr={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},ea=Jo(e=>{if(e.length>2)if(Lr[e])e=Lr[e];else return[e];const[t,r]=e.split(""),n=Zo[t],o=Qo[r]||"";return Array.isArray(o)?o.map(a=>n+a):[n+o]}),Mt=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Ct=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],oi=[...Mt,...Ct];function ze(e,t,r,n){var o;const a=(o=nt(e,t,!1))!=null?o:r;return typeof a=="number"?s=>typeof s=="string"?s:a*s:Array.isArray(a)?s=>typeof s=="string"?s:a[s]:typeof a=="function"?a:()=>{}}function Gr(e){return ze(e,"spacing",8,"spacing")}function qe(e,t){if(typeof t=="string"||t==null)return t;const r=Math.abs(t),n=e(r);return t>=0?n:typeof n=="number"?-n:`-${n}`}function ta(e,t){return r=>e.reduce((n,o)=>(n[o]=qe(t,r),n),{})}function ra(e,t,r,n){if(t.indexOf(r)===-1)return null;const o=ea(r),a=ta(o,n),s=e[r];return me(e,s,a)}function Hr(e,t){const r=Gr(e.theme);return Object.keys(e).map(n=>ra(e,t,n,r)).reduce(We,{})}function q(e){return Hr(e,Mt)}q.propTypes={},q.filterProps=Mt;function F(e){return Hr(e,Ct)}F.propTypes={},F.filterProps=Ct;function na(e=8){if(e.mui)return e;const t=Gr({spacing:e}),r=(...n)=>(n.length===0?[1]:n).map(o=>{const a=t(o);return typeof a=="number"?`${a}px`:a}).join(" ");return r.mui=!0,r}function at(...e){const t=e.reduce((n,o)=>(o.filterProps.forEach(a=>{n[a]=o}),n),{}),r=n=>Object.keys(n).reduce((o,a)=>t[a]?We(o,t[a](n)):o,{});return r.propTypes={},r.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),r}function ae(e){return typeof e!="number"?e:`${e}px solid`}function se(e,t){return B({prop:e,themeKey:"borders",transform:t})}const oa=se("border",ae),aa=se("borderTop",ae),sa=se("borderRight",ae),ia=se("borderBottom",ae),ca=se("borderLeft",ae),ua=se("borderColor"),la=se("borderTopColor"),fa=se("borderRightColor"),pa=se("borderBottomColor"),da=se("borderLeftColor"),ya=se("outline",ae),ma=se("outlineColor"),st=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=ze(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:qe(t,n)});return me(e,e.borderRadius,r)}return null};st.propTypes={},st.filterProps=["borderRadius"],at(oa,aa,sa,ia,ca,ua,la,fa,pa,da,st,ya,ma);const it=e=>{if(e.gap!==void 0&&e.gap!==null){const t=ze(e.theme,"spacing",8,"gap"),r=n=>({gap:qe(t,n)});return me(e,e.gap,r)}return null};it.propTypes={},it.filterProps=["gap"];const ct=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=ze(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:qe(t,n)});return me(e,e.columnGap,r)}return null};ct.propTypes={},ct.filterProps=["columnGap"];const ut=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=ze(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:qe(t,n)});return me(e,e.rowGap,r)}return null};ut.propTypes={},ut.filterProps=["rowGap"];const ha=B({prop:"gridColumn"}),ga=B({prop:"gridRow"}),ba=B({prop:"gridAutoFlow"}),va=B({prop:"gridAutoColumns"}),xa=B({prop:"gridAutoRows"}),Oa=B({prop:"gridTemplateColumns"}),wa=B({prop:"gridTemplateRows"}),$a=B({prop:"gridTemplateAreas"}),Sa=B({prop:"gridArea"});at(it,ct,ut,ha,ga,ba,va,xa,Oa,wa,$a,Sa);function _e(e,t){return t==="grey"?t:e}const Ea=B({prop:"color",themeKey:"palette",transform:_e}),_a=B({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:_e}),ka=B({prop:"backgroundColor",themeKey:"palette",transform:_e});at(Ea,_a,ka);function re(e){return e<=1&&e!==0?`${e*100}%`:e}const ja=B({prop:"width",transform:re}),It=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var n,o;const a=((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[r])||At[r];return a?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${a}${e.theme.breakpoints.unit}`}:{maxWidth:a}:{maxWidth:re(r)}};return me(e,e.maxWidth,t)}return null};It.filterProps=["maxWidth"];const Na=B({prop:"minWidth",transform:re}),Ta=B({prop:"height",transform:re}),Pa=B({prop:"maxHeight",transform:re}),Aa=B({prop:"minHeight",transform:re});B({prop:"size",cssProperty:"width",transform:re}),B({prop:"size",cssProperty:"height",transform:re});const Ma=B({prop:"boxSizing"});at(ja,It,Na,Ta,Pa,Aa,Ma);const Fe={border:{themeKey:"borders",transform:ae},borderTop:{themeKey:"borders",transform:ae},borderRight:{themeKey:"borders",transform:ae},borderBottom:{themeKey:"borders",transform:ae},borderLeft:{themeKey:"borders",transform:ae},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:ae},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:st},color:{themeKey:"palette",transform:_e},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:_e},backgroundColor:{themeKey:"palette",transform:_e},p:{style:F},pt:{style:F},pr:{style:F},pb:{style:F},pl:{style:F},px:{style:F},py:{style:F},padding:{style:F},paddingTop:{style:F},paddingRight:{style:F},paddingBottom:{style:F},paddingLeft:{style:F},paddingX:{style:F},paddingY:{style:F},paddingInline:{style:F},paddingInlineStart:{style:F},paddingInlineEnd:{style:F},paddingBlock:{style:F},paddingBlockStart:{style:F},paddingBlockEnd:{style:F},m:{style:q},mt:{style:q},mr:{style:q},mb:{style:q},ml:{style:q},mx:{style:q},my:{style:q},margin:{style:q},marginTop:{style:q},marginRight:{style:q},marginBottom:{style:q},marginLeft:{style:q},marginX:{style:q},marginY:{style:q},marginInline:{style:q},marginInlineStart:{style:q},marginInlineEnd:{style:q},marginBlock:{style:q},marginBlockStart:{style:q},marginBlockEnd:{style:q},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:it},rowGap:{style:ut},columnGap:{style:ct},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:re},maxWidth:{style:It},minWidth:{transform:re},height:{transform:re},maxHeight:{transform:re},minHeight:{transform:re},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Ca(...e){const t=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function Ia(e,t){return typeof e=="function"?e(t):e}function Yr(){function e(r,n,o,a){const s={[r]:n,theme:o},i=a[r];if(!i)return{[r]:n};const{cssProperty:m=r,themeKey:c,transform:h,style:g}=i;if(n==null)return null;if(c==="typography"&&n==="inherit")return{[r]:n};const p=nt(o,c)||{};return g?g(s):me(s,n,v=>{let y=ot(p,h,v);return v===y&&typeof v=="string"&&(y=ot(p,h,`${r}${v==="default"?"":rt(v)}`,v)),m===!1?y:{[m]:y}})}function t(r){var n;const{sx:o,theme:a={}}=r||{};if(!o)return null;const s=(n=a.unstable_sxConfig)!=null?n:Fe;function i(m){let c=m;if(typeof m=="function")c=m(a);else if(typeof m!="object")return m;if(!c)return null;const h=Yo(a.breakpoints),g=Object.keys(h);let p=h;return Object.keys(c).forEach(v=>{const y=Ia(c[v],a);if(y!=null)if(typeof y=="object")if(s[v])p=We(p,e(v,y,a,s));else{const d=me({theme:a},y,u=>({[v]:u}));Ca(d,y)?p[v]=t({sx:y,theme:a}):p=We(p,d)}else p=We(p,e(v,y,a,s))}),Xo(g,p)}return Array.isArray(o)?o.map(i):i(o)}return t}const Ke=Yr();Ke.filterProps=["sx"];function Xr(e,t){const r=this;return r.vars&&typeof r.getColorSchemeSelector=="function"?{[r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:r.palette.mode===e?t:{}}const Ra=["breakpoints","palette","spacing","shape"];function lt(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:a={}}=e,s=ge(e,Ra),i=Br(r),m=na(o);let c=ue({breakpoints:i,direction:"ltr",components:{},palette:W({mode:"light"},n),spacing:m,shape:W({},Ho,a)},s);return c.applyStyles=Xr,c=t.reduce((h,g)=>ue(h,g),c),c.unstable_sxConfig=W({},Fe,s?.unstable_sxConfig),c.unstable_sx=function(h){return Ke({sx:h,theme:this})},c}const Va=Object.freeze(Object.defineProperty({__proto__:null,default:lt,private_createBreakpoints:Br,unstable_applyStyles:Xr},Symbol.toStringTag,{value:"Module"})),Da=he(Va),Wa=["sx"],za=e=>{var t,r;const n={systemProps:{},otherProps:{}},o=(t=e==null||(r=e.theme)==null?void 0:r.unstable_sxConfig)!=null?t:Fe;return Object.keys(e).forEach(a=>{o[a]?n.systemProps[a]=e[a]:n.otherProps[a]=e[a]}),n};function Jr(e){const{sx:t}=e,r=ge(e,Wa),{systemProps:n,otherProps:o}=za(r);let a;return Array.isArray(t)?a=[n,...t]:typeof t=="function"?a=(...s)=>{const i=t(...s);return ye(i)?W({},n,i):n}:a=W({},n,t),W({},o,{sx:a})}const qa=Object.freeze(Object.defineProperty({__proto__:null,default:Ke,extendSxProp:Jr,unstable_createStyleFunctionSx:Yr,unstable_defaultSxConfig:Fe},Symbol.toStringTag,{value:"Module"})),Fa=he(qa);var ke=ir;Object.defineProperty(Ce,"__esModule",{value:!0});var Ka=Ce.default=rs;Ce.shouldForwardProp=ft,Ce.systemDefaultTheme=void 0;var ie=ke(Zn()),Rt=ke(Qn()),Zr=Xa(Ro),Ba=Do,ai=ke(zo),si=ke(Uo),Ua=ke(Da),La=ke(Fa);const Ga=["ownerState"],Ha=["variants"],Ya=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Qr(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(Qr=function(n){return n?r:t})(e)}function Xa(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=Qr(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(a!=="default"&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}function Ja(e){return Object.keys(e).length===0}function Za(e){return typeof e=="string"&&e.charCodeAt(0)>96}function ft(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Qa=Ce.systemDefaultTheme=(0,Ua.default)(),es=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function pt({defaultTheme:e,theme:t,themeId:r}){return Ja(t)?e:t[r]||t}function ts(e){return e?(t,r)=>r[e]:null}function dt(e,t){let{ownerState:r}=t,n=(0,Rt.default)(t,Ga);const o=typeof e=="function"?e((0,ie.default)({ownerState:r},n)):e;if(Array.isArray(o))return o.flatMap(a=>dt(a,(0,ie.default)({ownerState:r},n)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:a=[]}=o;let s=(0,Rt.default)(o,Ha);return a.forEach(i=>{let m=!0;typeof i.props=="function"?m=i.props((0,ie.default)({ownerState:r},n,r)):Object.keys(i.props).forEach(c=>{r?.[c]!==i.props[c]&&n[c]!==i.props[c]&&(m=!1)}),m&&(Array.isArray(s)||(s=[s]),s.push(typeof i.style=="function"?i.style((0,ie.default)({ownerState:r},n,r)):i.style))}),s}return o}function rs(e={}){const{themeId:t,defaultTheme:r=Qa,rootShouldForwardProp:n=ft,slotShouldForwardProp:o=ft}=e,a=s=>(0,La.default)((0,ie.default)({},s,{theme:pt((0,ie.default)({},s,{defaultTheme:r,themeId:t}))}));return a.__mui_systemSx=!0,(s,i={})=>{(0,Zr.internal_processStyles)(s,l=>l.filter(V=>!(V!=null&&V.__mui_systemSx)));const{name:m,slot:c,skipVariantsResolver:h,skipSx:g,overridesResolver:p=ts(es(c))}=i,v=(0,Rt.default)(i,Ya),y=h!==void 0?h:c&&c!=="Root"&&c!=="root"||!1,d=g||!1;let u,x=ft;c==="Root"||c==="root"?x=n:c?x=o:Za(s)&&(x=void 0);const A=(0,Zr.default)(s,(0,ie.default)({shouldForwardProp:x,label:u},v)),j=l=>typeof l=="function"&&l.__emotion_real!==l||(0,Ba.isPlainObject)(l)?V=>dt(l,(0,ie.default)({},V,{theme:pt({theme:V.theme,defaultTheme:r,themeId:t})})):l,H=(l,...V)=>{let E=j(l);const pe=V?V.map(j):[];m&&p&&pe.push(J=>{const Z=pt((0,ie.default)({},J,{defaultTheme:r,themeId:t}));if(!Z.components||!Z.components[m]||!Z.components[m].styleOverrides)return null;const de=Z.components[m].styleOverrides,ce={};return Object.entries(de).forEach(([Me,ne])=>{ce[Me]=dt(ne,(0,ie.default)({},J,{theme:Z}))}),p(J,ce)}),m&&!y&&pe.push(J=>{var Z;const de=pt((0,ie.default)({},J,{defaultTheme:r,themeId:t})),ce=de==null||(Z=de.components)==null||(Z=Z[m])==null?void 0:Z.variants;return dt({variants:ce},(0,ie.default)({},J,{theme:de}))}),d||pe.push(a);const ve=pe.length-V.length;if(Array.isArray(l)&&ve>0){const J=new Array(ve).fill("");E=[...l,...J],E.raw=[...l.raw,...J]}const xe=A(E,...pe);return s.muiName&&(xe.muiName=s.muiName),xe};return A.withConfig&&(H.withConfig=A.withConfig),H}}const en=e=>e,ns=()=>{let e=en;return{configure(t){e=t},generate(t){return e(t)},reset(){e=en}}},os=ns(),as={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 ss(e,t,r="Mui"){const n=as[t];return n?`${r}-${n}`:`${os.generate(e)}-${t}`}function is(e,t){return W({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const Be={black:"#000",white:"#fff"},cs={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"},je={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"},Ne={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"},Ue={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"},Te={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"},Pe={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"},Ae={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"},us=["mode","contrastThreshold","tonalOffset"],tn={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:Be.white,default:Be.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}},Vt={text:{primary:Be.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:Be.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 rn(e,t,r,n){const o=n.light||n,a=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=lr(e.main,o):t==="dark"&&(e.dark=ur(e.main,a)))}function ls(e="light"){return e==="dark"?{main:Te[200],light:Te[50],dark:Te[400]}:{main:Te[700],light:Te[400],dark:Te[800]}}function fs(e="light"){return e==="dark"?{main:je[200],light:je[50],dark:je[400]}:{main:je[500],light:je[300],dark:je[700]}}function ps(e="light"){return e==="dark"?{main:Ne[500],light:Ne[300],dark:Ne[700]}:{main:Ne[700],light:Ne[400],dark:Ne[800]}}function ds(e="light"){return e==="dark"?{main:Pe[400],light:Pe[300],dark:Pe[700]}:{main:Pe[700],light:Pe[500],dark:Pe[900]}}function ys(e="light"){return e==="dark"?{main:Ae[400],light:Ae[300],dark:Ae[700]}:{main:Ae[800],light:Ae[500],dark:Ae[900]}}function ms(e="light"){return e==="dark"?{main:Ue[400],light:Ue[300],dark:Ue[700]}:{main:"#ed6c02",light:Ue[500],dark:Ue[900]}}function hs(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=ge(e,us),a=e.primary||ls(t),s=e.secondary||fs(t),i=e.error||ps(t),m=e.info||ds(t),c=e.success||ys(t),h=e.warning||ms(t);function g(y){return qn(y,Vt.text.primary)>=r?Vt.text.primary:tn.text.primary}const p=({color:y,name:d,mainShade:u=500,lightShade:x=300,darkShade:A=700})=>{if(y=W({},y),!y.main&&y[u]&&(y.main=y[u]),!y.hasOwnProperty("main"))throw new Error(Oe(11,d?` (${d})`:"",u));if(typeof y.main!="string")throw new Error(Oe(12,d?` (${d})`:"",JSON.stringify(y.main)));return rn(y,"light",x,n),rn(y,"dark",A,n),y.contrastText||(y.contrastText=g(y.main)),y},v={dark:Vt,light:tn};return ue(W({common:W({},Be),mode:t,primary:p({color:a,name:"primary"}),secondary:p({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:i,name:"error"}),warning:p({color:h,name:"warning"}),info:p({color:m,name:"info"}),success:p({color:c,name:"success"}),grey:cs,contrastThreshold:r,getContrastText:g,augmentColor:p,tonalOffset:n},v[t]),o)}const gs=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function bs(e){return Math.round(e*1e5)/1e5}const nn={textTransform:"uppercase"},on='"Roboto", "Helvetica", "Arial", sans-serif';function vs(e,t){const r=typeof t=="function"?t(e):t,{fontFamily:n=on,fontSize:o=14,fontWeightLight:a=300,fontWeightRegular:s=400,fontWeightMedium:i=500,fontWeightBold:m=700,htmlFontSize:c=16,allVariants:h,pxToRem:g}=r,p=ge(r,gs),v=o/14,y=g||(x=>`${x/c*v}rem`),d=(x,A,j,H,l)=>W({fontFamily:n,fontWeight:x,fontSize:y(A),lineHeight:j},n===on?{letterSpacing:`${bs(H/A)}em`}:{},l,h),u={h1:d(a,96,1.167,-1.5),h2:d(a,60,1.2,-.5),h3:d(s,48,1.167,0),h4:d(s,34,1.235,.25),h5:d(s,24,1.334,0),h6:d(i,20,1.6,.15),subtitle1:d(s,16,1.75,.15),subtitle2:d(i,14,1.57,.1),body1:d(s,16,1.5,.15),body2:d(s,14,1.43,.15),button:d(i,14,1.75,.4,nn),caption:d(s,12,1.66,.4),overline:d(s,12,2.66,1,nn),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return ue(W({htmlFontSize:c,pxToRem:y,fontFamily:n,fontSize:o,fontWeightLight:a,fontWeightRegular:s,fontWeightMedium:i,fontWeightBold:m},u),p,{clone:!1})}const xs=.2,Os=.14,ws=.12;function z(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${xs})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Os})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${ws})`].join(",")}const $s=["none",z(0,2,1,-1,0,1,1,0,0,1,3,0),z(0,3,1,-2,0,2,2,0,0,1,5,0),z(0,3,3,-2,0,3,4,0,0,1,8,0),z(0,2,4,-1,0,4,5,0,0,1,10,0),z(0,3,5,-1,0,5,8,0,0,1,14,0),z(0,3,5,-1,0,6,10,0,0,1,18,0),z(0,4,5,-2,0,7,10,1,0,2,16,1),z(0,5,5,-3,0,8,10,1,0,3,14,2),z(0,5,6,-3,0,9,12,1,0,3,16,2),z(0,6,6,-3,0,10,14,1,0,4,18,3),z(0,6,7,-4,0,11,15,1,0,4,20,3),z(0,7,8,-4,0,12,17,2,0,5,22,4),z(0,7,8,-4,0,13,19,2,0,5,24,4),z(0,7,9,-4,0,14,21,2,0,5,26,4),z(0,8,9,-5,0,15,22,2,0,6,28,5),z(0,8,10,-5,0,16,24,2,0,6,30,5),z(0,8,11,-5,0,17,26,2,0,6,32,5),z(0,9,11,-5,0,18,28,2,0,7,34,6),z(0,9,12,-6,0,19,29,2,0,7,36,6),z(0,10,13,-6,0,20,31,3,0,8,38,7),z(0,10,13,-6,0,21,33,3,0,8,40,7),z(0,10,14,-6,0,22,35,3,0,8,42,7),z(0,11,14,-7,0,23,36,3,0,9,44,8),z(0,11,15,-7,0,24,38,3,0,9,46,8)],Ss=["duration","easing","delay"],Es={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)"},_s={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function an(e){return`${Math.round(e)}ms`}function ks(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function js(e){const t=W({},Es,e.easing),r=W({},_s,e.duration);return W({getAutoHeightDuration:ks,create:(n=["all"],o={})=>{const{duration:a=r.standard,easing:s=t.easeInOut,delay:i=0}=o,m=ge(o,Ss);return(Array.isArray(n)?n:[n]).map(c=>`${c} ${typeof a=="string"?a:an(a)} ${s} ${typeof i=="string"?i:an(i)}`).join(",")}},e,{easing:t,duration:r})}const Ns={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Ts=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Ps(e={},...t){const{mixins:r={},palette:n={},transitions:o={},typography:a={}}=e,s=ge(e,Ts);if(e.vars)throw new Error(Oe(18));const i=hs(n),m=lt(e);let c=ue(m,{mixins:is(m.breakpoints,r),palette:i,shadows:$s.slice(),typography:vs(i,a),transitions:js(o),zIndex:W({},Ns)});return c=ue(c,s),c=t.reduce((h,g)=>ue(h,g),c),c.unstable_sxConfig=W({},Fe,s?.unstable_sxConfig),c.unstable_sx=function(h){return Ke({sx:h,theme:this})},c}const Dt=Ps(),Wt="$$material";function sn(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const cn=e=>sn(e)&&e!=="classes",As=Ka({themeId:Wt,defaultTheme:Dt,rootShouldForwardProp:cn});function Ms(e){const{theme:t,name:r,props:n}=e;return!t||!t.components||!t.components[r]||!t.components[r].defaultProps?n:Ot(t.components[r].defaultProps,n)}function Cs(e){return Object.keys(e).length===0}function Is(e=null){const t=Ft.useContext(qt);return!t||Cs(t)?e:t}const Rs=lt();function un(e=Rs){return Is(e)}function ln({props:e,name:t,defaultTheme:r,themeId:n}){let o=un(r);return n&&(o=o[n]||o),Ms({theme:o,name:t,props:e})}function Vs({props:e,name:t}){return ln({props:e,name:t,defaultTheme:Dt,themeId:Wt})}function Ds(e,t){var r,n;return Ft.isValidElement(e)&&t.indexOf((r=e.type.muiName)!=null?r:(n=e.type)==null||(n=n._payload)==null||(n=n.value)==null?void 0:n.muiName)!==-1}function zt({value:e,children:t}){return e?typeof t=="function"?Q.jsx(Q.Fragment,{children:t(e)}):Q.jsx(Q.Fragment,{children:t}):null}function Ws(){return{enqueueSnackbar:(e,t="success",r)=>{wn(e,{severity:t,variant:"customAlertComponent",persist:!0,...r})},closeSnackbar:Bt}}const zs=gn(({id:e,message:t,severity:r,alertAction:n,sx:o,showCloseIcon:a=!0,persist:s,hideIconVariant:i,autoHideDuration:m,anchorOrigin:c,iconVariant:h,...g},p)=>Q.jsx(On,{ref:p,...g,children:Q.jsx(vn,{severity:r,action:Q.jsxs(xn,{ml:1,children:[Q.jsx(zt,{value:n,children:Q.jsx(Kt,{size:"small",onClick:()=>{var v;return e&&((v=n?.onAction)==null?void 0:v.call(n,e))},color:"inherit",children:n?.icon})}),Q.jsx(zt,{value:!n&&a,children:Q.jsx(Kt,{size:"small",onClick:()=>{Bt(e)},color:"inherit",children:Q.jsx(bn,{})})})]}),sx:{alignItems:"center",width:"320px",...o},children:t})}));export{Oe as A,ue as B,zs as C,Pt as D,sn as E,Mr as G,An as P,Wt as T,zt as W,ge as _,W as a,rt as b,lt as c,Ke as d,ye as e,un as f,Kr as g,Jr as h,Ir as i,Mn as j,Ds as k,ln as l,Cn as m,ss as n,As as o,Vs as p,zn as q,cn as r,Cr as s,Ot as t,Ws as u,$n as v,Ut as w,Dt as x,ur as y,lr as z};
|