PageSourceSearch

https://www.telegenix.com/_next/static/chunks/pages/verify-73b90369410046e0.js

js telegenix.com collected 2026-10-04 05:50:19 UTC 4,862 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1687],{20385:(e,i,n)=>{"use strict";n.r(i),n.d(i,{default:()=>m});var r=n(37876),t=n(14232),o=n(48230),s=n.n(o),l=n(89099),a=n(33935),d=n(81365),c=n(33280),g=n(57145),u=n(47256),h=n(10603),f=n(9618),p=n(17482);let x={title:"Verifying your email — Telegenix",metaRobotsNoindex:"noindex"},y={idle:"idle",verifying:"verifying",success:"success",error:"error"},m=()=>{let e=(0,l.useRouter)(),i=(0,h.Um)(),n=(0,t.useRef)(!1),[o,m]=(0,t.useState)(y.idle),[F,j]=(0,t.useState)(null);return(0,t.useEffect)(()=>{if(!e.isReady||n.current)return;let r=e.query.token;if(!r||"string"!=typeof r){m(y.error),j("This sign-in link is missing its token. Try opening the link from your welcome email again.");return}n.current=!0,m(y.verifying),(async()=>{var n,t,o,s,l;try{let s=await (0,f.A$)({token:r}),l=null==s?void 0:s.token,a=null!=(o=null!=(t=null==s||null==(n=s.data)?void 0:n.user)?t:null==s?void 0:s.data)?o:null;if(!l||!a)throw Error("Verification response was missing token or user");window.localStorage.setItem(p.oI,l),a._id&&window.localStorage.setItem(p.ir,a._id),(null==i?void 0:i.refreshUser)&&await i.refreshUser(),m(y.success);let d=(e=>"string"!=typeof e||!e.startsWith("/")||e.startsWith("//")?"/portal/dashboard":e)(e.query.next);setTimeout(()=>{e.replace(d)},1200)}catch(e){m(y.error),j((null==e||null==(l=e.response)||null==(s=l.data)?void 0:s.message)||"This sign-in link is invalid or has expired. Request a new one from the login page.")}})()},[e.isReady,e.query.token]),(0,r.jsx)(u.A,{seo:x,transparentHeader:!1,children:(0,r.jsx)("section",{style:{minHeight:"100vh",display:"flex",alignItems:"center",padding:"120px 16px 80px",background:"linear-gradient(180deg, #ECF8F3 0%, #FFFFFF 60%)"},children:(0,r.jsx)(g.A,{maxWidth:"sm",children:(0,r.jsxs)("div",{style:{background:"#FFFFFF",border:"1px solid rgba(0,0,0,0.06)",borderRadius:24,padding:"48px 32px",textAlign:"center",boxShadow:"0 32px 64px rgba(0,0,0,0.06)"},children:[o===y.idle||o===y.verifying?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{style:{display:"inline-flex",width:64,height:64,borderRadius:"50%",background:"#ECF8F3",color:"#43B889",alignItems:"center",justifyContent:"center",marginBottom:20},children:(0,r.jsx)(c.A,{style:{fontSize:32}})}),(0,r.jsx)("h1",{style:{fontFamily:"var(--display-font, Manrope), sans-serif",fontWeight:700,fontSize:26,color:"#2D2D37",margin:"0 0 8px"},children:"Signing you in…"}),(0,r.jsx)("p",{style:{fontSize:15,color:"#4A5660",margin:0,lineHeight:1.5},children:"Verifying your sign-in link. You’ll land on your patient portal in a moment."})]}):null,o===y.success&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{style:{display:"inline-flex",width:64,height:64,borderRadius:"50%",background:"#D1FADF",color:"#0F5132",alignItems:"center",justifyContent:"center",marginBottom:20},children:(0,r.jsx)(a.A,{style:{fontSize:36}})}),(0,r.jsx)("h1",{style:{fontFamily:"var(--display-font, Manrope), sans-serif",fontWeight:700,fontSize:26,color:"#2D2D37",margin:"0 0 8px"},children:"Welcome back to Telegenix"}),(0,r.jsx)("p",{style:{fontSize:15,color:"#4A5660",margin:0,lineHeight:1.5},children:"Signed in. Taking you to the next step…"})]}),o===y.error&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{style:{display:"inline-flex",width:64,height:64,borderRadius:"50%",background:"#FEE2E2",color:"#991B1B",alignItems:"center",justifyContent:"center",marginBottom:20},children:(0,r.jsx)(d.A,{style:{fontSize:36}})}),(0,r.jsx)("h1",{style:{fontFamily:"var(--display-font, Manrope), sans-serif",fontWeight:700,fontSize:24,color:"#2D2D37",margin:"0 0 12px"},children:"We couldn’t sign you in"}),(0,r.jsx)("p",{style:{fontSize:15,color:"#4A5660",margin:"0 0 24px",lineHeight:1.55},children:F}),(0,r.jsx)(s(),{href:"/login",style:{display:"inline-block",padding:"12px 24px",borderRadius:999,background:"linear-gradient(90deg, #2D2D37 0%, #43B889 100%)",color:"#FFFFFF",fontWeight:700,fontSize:15,textDecoration:"none"},children:"Go to sign in"})]})]})})})})}},47256:(e,i,n)=>{"use strict";n.d(i,{A:()=>u});var r=n(37876),t=n(95062),o=n.n(t),s=n(58305),l=n(96796),a=n(80599),d=n(71994),c=n(62578);let g=e=>{let{seo:i,children:n,transparentHeader:t=!0,hideHeader:o=!1,hideFooter:g=!1,headerOffset:u=!1,darkChrome:h=!1}=e;return(0,r.jsxs)(r.Fragment,{children:[i&&(0,r.jsx)(c.A,{data:i}),!o&&(0,r.jsx)(d.A,{transparent:t,dark:h}),!o&&(0,r.jsx)(l.A,{}),(0,r.jsx)(s.R,{style:u?{paddingTop:110}:void 0,children:n}),!g&&(0,r.jsx)(a.A,{dark:h})]})};g.propTypes={children:o().node.isRequired,seo:o().object,transparentHeader:o().bool,hideHeader:o().bool,hideFooter:o().bool,headerOffset:o().bool,darkChrome:o().bool};let u=g},53440:(e,i,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/verify",function(){return n(20385)}])}},e=>{e.O(0,[8096,1659,4216,636,8792],()=>e(e.s=53440)),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.