try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="967bab4f-59e3-465e-8244-98ee1fa191fd",e._sentryDebugIdIdentifier="sentry-dbid-967bab4f-59e3-465e-8244-98ee1fa191fd")}()}catch(e){}!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"dd305b9a707fe1fc2ae01eb09726abafb220e121"}}catch(e){}}(),(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[8399],{3203:(e,a,n)=>{n.d(a,{A:()=>d});var t=n(96540),i=n(3319),l=n(74848);const o=e=>a=>{let{callback:n,feature:o,isStart:s,isSuccess:d,isFailure:c,eventReason:r,payload:f={},...u}=a;const{sendLog:b,isReady:h}=(0,i.A)(),g=(0,t.useCallback)((e=>{const a=u[n],t={feature:o,isStart:s,isSuccess:d,isFailure:c,eventReason:r,...f,...u["data-ga"]?{dataGa:u["data-ga"]}:{},...u.dataGa?{dataGa:u.dataGa}:{},...u["data-track"]?{dataTrack:u["data-track"]}:{},...u.label?{label:u.label}:{}};"function"===typeof a&&a(e),b(t,!0)}),[n,b,h,f,u]),k=(0,t.useMemo)((()=>({...u,[n]:g})),[u,n,g]);return(0,l.jsx)(e,{...k})};var s=n(81691);const d=e=>a=>{let{payload:n={},...t}=a;const i=o(e);return(0,l.jsx)(i,{...t,callback:"onClick",payload:{...n,action:s.o1.buttonClicked}})}},8399:(e,a,n)=>{n.r(a),n.d(a,{MagicLinkSent:()=>p,default:()=>m});var t=n(96540),i=n(33185),l=n(3322),o=n(83937),s=n(42660),d=n(64391),c=n(87875),r=n(3575),f=n(26363),u=n(10444),b=n(60908),h=n(3203),g=n(74848);const k=(0,i.default)(o.Text).attrs({role:"button"}).withConfig({displayName:"magicLinkSent__ButtonText",componentId:"sc-ua6kmo-0"})(["cursor:pointer;"]),y=(0,h.A)(k),p=()=>{const{searchParams:e}=new URL(window.location.href),a=e?.get("email"),{search:n,state:i={}}=(0,l.zy)(),{email:s}=i||{},h=a||s,k=window.location.hash,p=(0,f.Js)(),m=(0,u.J)(),w=(0,t.useCallback)((()=>{const e=encodeURIComponent((0,r.V)(`/sign-in${n}`,k)),a=encodeURIComponent((0,r.V)(`/sign-up/verify${n}`,k));p({email:h,redirectURI:e,registerURI:a,resend:!0})}),[h]);return(0,g.jsx)(b.Ay,{feature:"MagicLinkSent",email:h,children:(0,g.jsx)(d.A,{"data-testid":"magicLinkSent",isScreenSmall:m,children:(0,g.jsxs)(o.Flex,{column:!0,gap:4,children:[(0,g.jsx)(c.D7,{children:"Check your email!"}),(0,g.jsxs)(o.Flex,{column:!0,padding:[0,0,8,0],gap:8,justifyContent:"between",alignItems:"center",children:[(0,g.jsxs)(o.Flex,{column:!0,gap:1,alignItems:"center",children:[(0,g.jsxs)(c.D7,{children:["We have sent an email to ",(0,g.jsx)(c.D7,{children:!!h&&h}),"."]}),(0,g.jsx)(c.D7,{children:"Please find this email (check your spam folder too) and click the button there to continue."})]}),(0,g.jsxs)(o.Text,{color:"bright",children:["Didn't receive it?"," ",(0,g.jsx)(y,{onClick:w,color:"primary","data-ga":"magicLikSent::click-resent::check-email-view",children:"Click here to resend it."})]})]})]})})})},m=(0,s.g)(p,"dark")}}]);