File: //opt/netdata/usr/local/local/share/netdata/web/v3/8399.157f9a68710cec22c785.chunk.js
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]="94ad9123-08ac-4066-9da3-f490183198c8",e._sentryDebugIdIdentifier="sentry-dbid-94ad9123-08ac-4066-9da3-f490183198c8")}()}catch(e){}!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"d29fe0107f7247ab49a8017c886bc1ba13e7faa8"}}catch(e){}}(),(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[8399],{8399:(e,a,n)=>{n.r(a),n.d(a,{MagicLinkSent:()=>p,default:()=>m});var t=n(96540),i=n(33185),o=n(88934),d=n(86177),l=n(42660),c=n(64391),s=n(87875),r=n(3575),u=n(26363),f=n(10444),h=n(60908),g=n(94404),b=n(74848);const k=(0,i.default)(d.Text).attrs({role:"button"}).withConfig({displayName:"magicLinkSent__ButtonText",componentId:"sc-ua6kmo-0"})(["cursor:pointer;"]),y=(0,g.A)(k),p=()=>{const{searchParams:e}=new URL(window.location.href),a=e?.get("email"),{search:n,state:i={}}=(0,o.zy)(),{email:l}=i||{},g=a||l,k=window.location.hash,p=(0,u.Js)(),m=(0,f.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:g,redirectURI:e,registerURI:a,resend:!0})}),[g]);return(0,b.jsx)(h.Ay,{feature:"MagicLinkSent",email:g,children:(0,b.jsx)(c.A,{"data-testid":"magicLinkSent",isScreenSmall:m,children:(0,b.jsxs)(d.Flex,{column:!0,gap:4,children:[(0,b.jsx)(s.D7,{children:"Check your email!"}),(0,b.jsxs)(d.Flex,{column:!0,padding:[0,0,8,0],gap:8,justifyContent:"between",alignItems:"center",children:[(0,b.jsxs)(d.Flex,{column:!0,gap:1,alignItems:"center",children:[(0,b.jsxs)(s.D7,{children:["We have sent an email to ",(0,b.jsx)(s.D7,{children:!!g&&g}),"."]}),(0,b.jsx)(s.D7,{children:"Please find this email (check your spam folder too) and click the button there to continue."})]}),(0,b.jsxs)(d.Text,{color:"bright",children:["Didn't receive it?"," ",(0,b.jsx)(y,{onClick:w,color:"primary","data-ga":"magicLikSent::click-resent::check-email-view",children:"Click here to resend it."})]})]})]})})})},m=(0,l.g)(p,"dark")},80590:(e,a,n)=>{n.d(a,{A:()=>d});var t=n(96540),i=n(3319),o=n(74848);const d=e=>a=>{let{callback:n,feature:d,isStart:l,isSuccess:c,isFailure:s,eventReason:r,payload:u={},...f}=a;const{sendLog:h,isReady:g}=(0,i.A)(),b=(0,t.useCallback)((e=>{const a=f[n],t={...d?{feature:d}:{},...void 0!==l?{isStart:l}:{},...void 0!==c?{isSuccess:c}:{},...void 0!==s?{isFailure:s}:{},...r?{eventReason:r}:{},...u,...f["data-ga"]?{dataGa:f["data-ga"]}:{},...f.dataGa?{dataGa:f.dataGa}:{},...f["data-track"]?{dataTrack:f["data-track"]}:{},...f.label?{label:f.label}:{}};"function"===typeof a&&a(e),h(t,!0)}),[n,h,g,u,f]),k=(0,t.useMemo)((()=>({...f,[n]:b})),[f,n,b]);return(0,o.jsx)(e,{...k})}},94404:(e,a,n)=>{n.d(a,{A:()=>d});var t=n(80590),i=n(81691),o=n(74848);const d=e=>a=>{let{payload:n={},...d}=a;const l=(0,t.A)(e);return(0,o.jsx)(l,{...d,callback:"onClick",payload:{...n,action:i.o1.buttonClicked}})}}}]);