1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},r=Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="0ce4fb3c-3589-41c3-9e23-e99ce38fdd5b",e._sentryDebugIdIdentifier="sentry-dbid-0ce4fb3c-3589-41c3-9e23-e99ce38fdd5b")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6392],{9589:function(e,r,n){"use strict";n.d(r,{Z:function(){return i}});var t=n(91373);let i=(0,t.Z)("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]])},67402:function(e,r,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/dashboard/verify-email",function(){return n(24001)}])},86022:function(e,r,n){"use strict";var t=n(52322),i=n(24919),o=n(85074),a=n(76954),s=n(42133),l=n(2784),c=n(4318);r.Z=e=>{let{children:r,className:n,title:u,preamble:d,buttonText:f,loading:p,disableSubmit:m,extraActions:b,...h}=e,x=(0,l.useMemo)(()=>"string"==typeof d?(0,t.jsx)(i.Z,{variant:"body2",align:"center",sx:{mt:-1.5,px:{xs:3,sm:4},mb:{xs:3,sm:4},color:"text.secondary",flexShrink:1},children:d}):d,[d]);return(0,t.jsxs)(o.Z,{component:"form",className:n,...h,sx:{display:"flex",flexDirection:"column",mx:"auto",my:6,maxWidth:{xs:400,sm:440},...c.UG,"& .MuiOutlinedInput-root":{backgroundColor:"grey.50"},"& .MuiOutlinedInput-notchedOutline":{borderColor:"grey.300"}},children:[(0,t.jsx)(i.Z,{variant:"h6",align:"center",sx:{fontWeight:600,mb:{xs:2,sm:2.5},px:{xs:3,sm:4},pt:{xs:3,sm:4}},children:u}),x,(0,t.jsx)(o.Z,{sx:{flexGrow:1,flexShrink:0,px:{xs:3,sm:4},pb:2},children:(0,t.jsx)(a.Z,{columnSpacing:1,rowSpacing:2.5,container:!0,children:r})}),(0,t.jsxs)(o.Z,{sx:{px:{xs:3,sm:4},pb:4,pt:2},children:[(0,t.jsx)(s.Z,{variant:"contained",disabled:m,loading:p,fullWidth:!0,type:"submit",sx:{mb:{xs:2,sm:4},height:c.pS},children:f}),b]})]})}},24001:function(e,r,n){"use strict";n.r(r),n.d(r,{default:function(){return y}});var t=n(52322),i=n(86022),o=n(2784),a=n(63147),s=n(41653),l=n(24919),c=n(85074),u=n(42133),d=n(76954),f=n(61813),p=n(39097),m=n.n(p),b=n(70668),h=n(38783),x=n(9589);function y(){let e=(0,a.Z)(),{firebaseUser:r}=(0,f.aC)(),{handleApiError:n}=(0,h.Z)(),[p,y]=(0,o.useState)(!1),[g,v]=(0,o.useState)(!1),k=(0,o.useCallback)(e=>{e.preventDefault(),v(!0),b.Z.post("/api/auth/resend-verification",{email:r.email}).then(()=>{y(!0)}).catch(e=>{n(e,"Failed to send verification email."),v(!1)})},[null==r?void 0:r.email,n]);return p?(0,t.jsxs)(s.Z,{sx:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",mx:"auto",my:6,p:8,maxWidth:{xs:448,sm:512}},children:[(0,t.jsx)(x.Z,{size:48,color:e.palette.success.main}),(0,t.jsx)(l.Z,{variant:"subtitle1",sx:{mb:4},children:"Done!"}),(0,t.jsxs)(l.Z,{variant:"body2",children:["Your verification instructions have been sent to"," ",(0,t.jsx)(c.Z,{component:"span",sx:{fontWeight:500},children:r.email}),". If your email does not arrive within 15 minutes, please double-check the spelling and your spam folder."]}),(0,t.jsx)(u.Z,{variant:"text",size:"medium",component:m(),href:"/dashboard",sx:{mt:8,mb:-4},children:"Home"})]}):(0,t.jsxs)(i.Z,{title:"Resend Email Verification",buttonText:"Send Email",loading:g,onSubmit:k,children:[(0,t.jsx)(d.Z,{size:12,children:(0,t.jsx)(l.Z,{variant:"body2",children:"Click the button below to request a verification email. Once it arrives, simply click the link in the email to complete the verification process."})}),(0,t.jsx)(d.Z,{size:12,children:(0,t.jsxs)(l.Z,{variant:"caption",sx:{color:"text.secondary"},children:["The email will be sent to ",r.email,". Click"," ",(0,t.jsx)(l.Z,{component:m(),href:"/dashboard/account/account",variant:"caption",sx:{color:"primary.main"},children:"here"})," ","if that is incorrect."]})})]})}},4318:function(e,r,n){"use strict";n.d(r,{UG:function(){return s},eW:function(){return o},hN:function(){return i},pS:function(){return a}});let t={accentBlue:"#2857E5",ink:"#111827",inkDisabled:"#9ca3af",inkPlaceholder:"#9ca3af",surface:"#fafafa",hairline:"#d1d5db",hairlineHover:"#9ca3af"},i={"& .MuiOutlinedInput-root":{color:t.ink,backgroundColor:t.surface,borderColor:t.hairline,"& fieldset":{borderColor:t.hairline},"&:hover fieldset":{borderColor:t.hairlineHover},"&.Mui-focused fieldset":{borderColor:t.accentBlue},"&.Mui-disabled":{backgroundColor:t.surface,"& fieldset":{borderColor:t.hairline}}},"& .MuiOutlinedInput-input":{"&.Mui-disabled":{color:t.inkDisabled,WebkitTextFillColor:t.inkDisabled}},"& .MuiOutlinedInput-input::placeholder":{color:t.inkPlaceholder,opacity:1},"& .MuiFormHelperText-root":{fontSize:"0.75rem"}},o="0 1px 2px rgba(16,24,40,0.06), 0 12px 28px rgba(16,24,40,0.08)",a=48,s={bgcolor:"background.paper",border:"1px solid",borderColor:"grey.200",borderRadius:2,boxShadow:o}},76954:function(e,r,n){"use strict";n.d(r,{Z:function(){return W}});var t=n(2784),i=n(20440),o=n(30169),a=n(11859),s=n(97985),l=n(33010),c=n(97135),u=n(12648),d=n(21429);let f=(e,r)=>e.filter(e=>r.includes(e)),p=(e,r,n)=>{let t=e.keys[0];if(Array.isArray(r))r.forEach((r,t)=>{n((r,n)=>
1{t<=e.keys.length-1&&(0===t?Object.assign(r,n):r[e.up(e.keys[t])]=n)},r)});else if(r&&"object"==typeof r){let i=Object.keys(r).length>e.keys.length?e.keys:f(e.keys,Object.keys(r));i.forEach(i=>{if(e.keys.includes(i)){let o=r[i];void 0!==o&&n((r,n)=>{t===i?Object.assign(r,n):r[e.up(i)]=n},o)}})}else("number"==typeof r||"string"==typeof r)&&n((e,r)=>{Object.assign(e,r)},r)};function m(e){return`--Grid-${e}Spacing`}function b(e){return`--Grid-parent-${e}Spacing`}let h="--Grid-columns",x="--Grid-parent-columns",y=({theme:e,ownerState:r})=>{let n={};return p(e.breakpoints,r.size,(e,r)=>{let t={};"grow"===r&&(t={flexBasis:0,flexGrow:1,maxWidth:"100%"}),"auto"===r&&(t={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),"number"==typeof r&&(t={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${r} / var(${x}) - (var(${x}) - ${r}) * (var(${b("column")}) / var(${x})))`}),e(n,t)}),n},g=({theme:e,ownerState:r})=>{let n={};return p(e.breakpoints,r.offset,(e,r)=>{let t={};"auto"===r&&(t={marginLeft:"auto"}),"number"==typeof r&&(t={marginLeft:0===r?"0px":`calc(100% * ${r} / var(${x}) + var(${b("column")}) * ${r} / var(${x}))`}),e(n,t)}),n},v=({theme:e,ownerState:r})=>{if(!r.container)return{};let n={[h]:12};return p(e.breakpoints,r.columns,(e,r)=>{let t=r??12;e(n,{[h]:t,"> *":{[x]:t}})}),n},k=({theme:e,ownerState:r})=>{if(!r.container)return{};let n={};return p(e.breakpoints,r.rowSpacing,(r,t)=>{let i="string"==typeof t?t:e.spacing?.(t);r(n,{[m("row")]:i,"> *":{[b("row")]:i}})}),n},w=({theme:e,ownerState:r})=>{if(!r.container)return{};let n={};return p(e.breakpoints,r.columnSpacing,(r,t)=>{let i="string"==typeof t?t:e.spacing?.(t);r(n,{[m("column")]:i,"> *":{[b("column")]:i}})}),n},Z=({theme:e,ownerState:r})=>{if(!r.container)return{};let n={};return p(e.breakpoints,r.direction,(e,r)=>{e(n,{flexDirection:r})}),n},j=({ownerState:e})=>({minWidth:0,boxSizing:"border-box",...e.container&&{display:"flex",flexWrap:"wrap",...e.wrap&&"wrap"!==e.wrap&&{flexWrap:e.wrap},gap:`var(${m("row")}) var(${m("column")})`}}),S=e=>{let r=[];return Object.entries(e).forEach(([e,n])=>{!1!==n&&void 0!==n&&r.push(`grid-${e}-${String(n)}`)}),r},$=(e,r="xs")=>{function n(e){return void 0!==e&&("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e&&e>0)}if(n(e))return[`spacing-${r}-${String(e)}`];if("object"==typeof e&&!Array.isArray(e)){let r=[];return Object.entries(e).forEach(([e,t])=>{n(t)&&r.push(`spacing-${e}-${String(t)}`)}),r}return[]},C=e=>void 0===e?[]:"object"==typeof e?Object.entries(e).map(([e,r])=>`direction-${e}-${r}`):[`direction-xs-${String(e)}`];var _=n(52322);let G=(0,d.Z)(),O=(0,l.Z)("div",{name:"MuiGrid",slot:"Root"});function E(e){return(0,c.Z)({props:e,name:"MuiGrid",defaultTheme:G})}var M=n(44086),N=n(88161),D=n(63147);let I=function(e={}){let{createStyledComponent:r=O,useThemeProps:n=E,useTheme:l=u.Z,componentName:c="MuiGrid"}=e,d=(e,r)=>{let{container:n,direction:t,spacing:i,wrap:o,size:l}=e,u={root:["root",n&&"container","wrap"!==o&&`wrap-xs-${String(o)}`,...C(t),...S(l),...n?$(i,r.breakpoints.keys[0]):[]]};return(0,s.Z)(u,e=>(0,a.ZP)(c,e),{})};function f(e,r,n=()=>!0){let t={};return null===e||(Array.isArray(e)?e.forEach((e,i)=>{null!==e&&n(e)&&r.keys[i]&&(t[r.keys[i]]=e)}):"object"==typeof e?Object.keys(e).forEach(r=>{let i=e[r];null!=i&&n(i)&&(t[r]=i)}):t[r.keys[0]]=e),t}let p=r(v,w,k,y,Z,j,g),m=t.forwardRef(function(e,r){let a=l(),s=n(e),{className:c,children:u,columns:m=12,container:b=!1,component:h="div",direction:x="row",wrap:y="wrap",size:g={},offset:v={},spacing:k=0,rowSpacing:w=k,columnSpacing:Z=k,unstable_level:j=0,...S}=s,$=f(g,a.breakpoints,e=>!1!==e),C=f(v,a.breakpoints),G=e.columns??(j?void 0:m),O=e.spacing??(j?void 0:k),E=e.rowSpacing??e.spacing??(j?void 0:w),M=e.columnSpacing??e.spacing??(j?void 0:Z),N={...s,level:j,columns:G,container:b,direction:x,wrap:y,spacing:O,rowSpacing:E,columnSpacing:M,size:$,offset:C},D=d(N,a);return(0,_.jsx)(p,{ref:r,as:h,ownerState:N,className:(0,i.Z)(D.root,c),...S,children:t.Children.map(u,e=>t.isValidElement(e)&&(0,o.Z)(e,["Grid"])&&b&&e.props.container?t.cloneElement(e,{unstable_level:e.props?.unstable_level??j+1}):e)})});return m.muiName="Grid",m}({createStyledComponent:(0,M.ZP)("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,r)=>{let{ownerState:n}=e;return[r.root,n.container&&r.container]}}
1),componentName:"MuiGrid",useThemeProps:e=>(0,N.i)({props:e,name:"MuiGrid"}),useTheme:D.Z});var W=I}},function(e){e.O(0,[9774,2888,179],function(){return e(e.s=67402)}),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.