!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="381ff500-5514-4d52-8333-3043aa993d4b",e._sentryDebugIdIdentifier="sentry-dbid-381ff500-5514-4d52-8333-3043aa993d4b")}catch(e){}}();var _global="undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{};_global.SENTRY_RELEASE={id:"79d3cd5525e22d657dc079bdf45a12ff56a6fdb3"},(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[1418],{92155:(e,t,a)=>{a.d(t,{A:()=>i});var n=a(58168),l=a(96540),o=a(50876);const r=e=>(0,l.forwardRef)(((t,a)=>{let{callback:r,feature:c,isStart:i,isSuccess:d,isFailure:s,eventReason:u,payload:f={},...m}=t;const{sendLog:g,isReady:b}=(0,o.A)(),k=(0,l.useCallback)((e=>{const t=m[r],a={feature:c,isStart:i,isSuccess:d,isFailure:s,eventReason:u,...f,...m["data-ga"]?{dataGa:m["data-ga"]}:{},...m.dataGa?{dataGa:m.dataGa}:{},...m["data-track"]?{dataTrack:m["data-track"]}:{},...m.label?{label:m.label}:{}};"function"===typeof t&&t(e),g(a,!0)}),[r,g,b,f,m]),p=(0,l.useMemo)((()=>({...m,[r]:k})),[m,r,k]);return l.createElement(e,(0,n.A)({ref:a},p))}));var c=a(67276);const i=e=>(0,l.forwardRef)(((t,a)=>{let{payload:o={},...i}=t;const d=r(e);return l.createElement(d,(0,n.A)({},i,{ref:a,callback:"onClick",payload:{...o,action:c.o1.buttonClicked}}))}))},11418:(e,t,a)=>{a.r(t),a.d(t,{MagicLinkSent:()=>p,default:()=>y});var n=a(96540),l=a(8711),o=a(47767),r=a(8573),c=a(55337),i=a(73681),d=a(74664),s=a(17182),u=a(14096),f=a(47731),m=a(92155),g=a(63314);const b=(0,l.default)(r.Text).attrs({role:"button"}).withConfig({displayName:"magicLinkSent__ButtonText",componentId:"sc-ua6kmo-0"})(["cursor:pointer;"]),k=(0,m.A)(b),p=()=>{const{searchParams:e}=new URL(window.location.href),t=e?.get("email"),{search:a,state:l={}}=(0,o.zy)(),{email:c}=l||{},m=t||c,b=window.location.hash,p=(0,u.Js)(),y=(0,f.J)(),w=(0,n.useCallback)((()=>{const e=encodeURIComponent((0,s.V)(`/sign-in${a}`,b)),t=encodeURIComponent((0,s.V)(`/sign-up/verify${a}`,b));p({email:m,redirectURI:e,registerURI:t,resend:!0})}),[m]);return n.createElement(g.Ay,{feature:"MagicLinkSent",email:m},n.createElement(i.A,{"data-testid":"magicLinkSent",isScreenSmall:y},n.createElement(r.Flex,{column:!0,gap:4},n.createElement(d.D7,null,"Check your email!"),n.createElement(r.Flex,{column:!0,padding:[0,0,8,0],gap:8,justifyContent:"between",alignItems:"center"},n.createElement(r.Flex,{column:!0,gap:1,alignItems:"center"},n.createElement(d.D7,null,"We have sent an email to ",n.createElement(d.D7,null,!!m&&m),"."),n.createElement(d.D7,null,"Please find this email (check your spam folder too) and click the button there to continue.")),n.createElement(r.Text,{color:"bright"},"Didn't receive it?"," ",n.createElement(k,{onClick:w,color:"primary","data-ga":"magicLikSent::click-resent::check-email-view"},"Click here to resend it."))))))},y=(0,c.g)(p,"dark")}}]);