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