try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f4db5849-2b2f-4189-9455-64f467129221",e._sentryDebugIdIdentifier="sentry-dbid-f4db5849-2b2f-4189-9455-64f467129221")}()}catch(e){}!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"bbf0f036d26e8d5cdf711f08d224a9283a4dee0b"}}catch(e){}}(),(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[8399],{8399:(e,n,a)=>{a.r(n),a.d(n,{MagicLinkSent:()=>p,default:()=>m});var t=a(96540),i=a(33185),l=a(88934),d=a(63766),o=a(42660),s=a(64391),c=a(87875),r=a(3575),f=a(26363),u=a(10444),h=a(60908),b=a(94404),g=a(74848);const k=(0,i.default)(d.Text).attrs({role:"button"}).withConfig({displayName:"magicLinkSent__ButtonText",componentId:"sc-ua6kmo-0"})(["cursor:pointer;"]),y=(0,b.A)(k),p=()=>{const{searchParams:e}=new URL(window.location.href),n=e?.get("email"),{search:a,state:i={}}=(0,l.zy)(),{email:o}=i||{},b=n||o,k=window.location.hash,p=(0,f.Js)(),m=(0,u.J)(),w=(0,t.useCallback)((()=>{const e=encodeURIComponent((0,r.V)(`/sign-in${a}`,k)),n=encodeURIComponent((0,r.V)(`/sign-up/verify${a}`,k));p({email:b,redirectURI:e,registerURI:n,resend:!0})}),[b]);return(0,g.jsx)(h.Ay,{feature:"MagicLinkSent",email:b,children:(0,g.jsx)(s.A,{"data-testid":"magicLinkSent",isScreenSmall:m,children:(0,g.jsxs)(d.Flex,{column:!0,gap:4,children:[(0,g.jsx)(c.D7,{children:"Check your email!"}),(0,g.jsxs)(d.Flex,{column:!0,padding:[0,0,8,0],gap:8,justifyContent:"between",alignItems:"center",children:[(0,g.jsxs)(d.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:!!b&&b}),"."]}),(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)(d.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,o.g)(p,"dark")},80590:(e,n,a)=>{a.d(n,{A:()=>d});var t=a(96540),i=a(3319),l=a(74848);const d=e=>n=>{let{callback:a,feature:d,isStart:o,isSuccess:s,isFailure:c,eventReason:r,payload:f={},...u}=n;const{sendLog:h,isReady:b}=(0,i.A)(),g=(0,t.useCallback)((e=>{const n=u[a],t={feature:d,isStart:o,isSuccess:s,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 n&&n(e),h(t,!0)}),[a,h,b,f,u]),k=(0,t.useMemo)((()=>({...u,[a]:g})),[u,a,g]);return(0,l.jsx)(e,{...k})}},94404:(e,n,a)=>{a.d(n,{A:()=>d});var t=a(80590),i=a(81691),l=a(74848);const d=e=>n=>{let{payload:a={},...d}=n;const o=(0,t.A)(e);return(0,l.jsx)(o,{...d,callback:"onClick",payload:{...a,action:i.o1.buttonClicked}})}}}]);