1try{!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]="0f299882-a4fd-4dad-97a7-db2eb0d20a40",e._sentryDebugIdIdentifier="sentry-dbid-0f299882-a4fd-4dad-97a7-db2eb0d20a40")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1730],{73413:function(e,a,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/doctor/profile",function(){return t(57474)}])},57474:function(e,a,t){"use strict";t.r(a),t.d(a,{__N_SSP:function(){return w},default:function(){return _}});var r=t(52676),s=t(35258),i=t(73794),n=t(46125),l=t(75271),o=t(88111),d=t(83757),c=t(97391),f=t(88238),u=t(44801);function p(){var e,a;let t=(0,d.b_)(),{t:s}=(0,n.$G)(["dr-dashboard-revamp"]),{status:c}=(0,i.useSession)(),{data:f,isLoading:p,isError:h}=(0,o.Nn0)(t,void 0,{enabled:"authenticated"===c,staleTime:0,refetchOnWindowFocus:!1}),y=(0,l.useRef)(!1);return(0,l.useEffect)(()=>{y.current||(y.current=!0,(0,u.Jv)())},[]),(0,r.jsx)("main",{"data-testid":"dr-dashboard-profile",style:{minHeight:"calc(100vh - 60px)",background:"var(--canvas)",padding:"32px 24px",display:"flex",justifyContent:"center"},"data-sentry-component":"ProfilePage","data-sentry-source-file":"ProfilePage.tsx",children:(0,r.jsxs)("div",{style:{width:"100%",maxWidth:960,display:"flex",flexDirection:"column",gap:16},children:[p?(0,r.jsx)(v,{}):!h&&(null==f?void 0:null===(e=f.viewer.user)||void 0===e?void 0:e.doctor)?(0,r.jsx)(m,{doctor:f.viewer.user.doctor,email:null!==(a=f.viewer.user.email)&&void 0!==a?a:""}):(0,r.jsx)(x,{}),(0,r.jsx)("p",{"data-testid":"dr-dashboard-profile-read-only-notice",className:"mute",style:{fontSize:12,textAlign:"center",margin:0,fontStyle:"italic"},children:s("dr-dashboard-revamp:profile.read_only_notice")})]})})}function m(e){var a,t,s,i,l,o;let{doctor:d,email:u}=e,{t:p}=(0,n.$G)(["dr-dashboard-revamp"]),m=p("dr-dashboard-revamp:profile.name_fallback"),v=p("dr-dashboard-revamp:profile.designation_fallback"),x=null!==(t=null!==(a=d.fullName)&&void 0!==a?a:[d.firstName,d.lastName].filter(Boolean).join(" "))&&void 0!==t?t:m,g=null!==(s=d.designation)&&void 0!==s?s:v;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("section",{className:"card","data-testid":"dr-dashboard-profile-hero",style:{padding:24,display:"flex",alignItems:"center",gap:20},children:[(0,r.jsx)(f.qE,{name:x,size:"lg","data-sentry-element":"Avatar","data-sentry-source-file":"ProfilePage.tsx"}),(0,r.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:4},children:[(0,r.jsx)("span",{className:"mute",style:{fontSize:11,letterSpacing:"0.08em",textTransform:"uppercase"},children:p("dr-dashboard-revamp:profile.eyebrow_practicing_physician")}),(0,r.jsx)("h1",{className:"serif","data-testid":"dr-dashboard-profile-name",style:{margin:0,fontSize:28,fontWeight:500,letterSpacing:"-0.01em"},children:x}),(0,r.jsx)("span",{"data-testid":"dr-dashboard-profile-designation",className:"mute",style:{fontSize:13},children:g}),u?(0,r.jsx)("span",{"data-testid":"dr-dashboard-profile-email",style:{fontSize:12,color:"var(--ink-3)",marginTop:2},children:u}):null]})]}),(0,r.jsxs)("section",{className:"card","data-testid":"dr-dashboard-profile-kv",style:{padding:20,display:"flex",flexDirection:"column",gap:10},children:[(0,r.jsx)(h,{label:p("dr-dashboard-revamp:profile.kv_license"),value:c.sd.license,testId:"profile-kv-license","data-sentry-element":"KvRow","data-sentry-source-file":"ProfilePage.tsx"}),(0,r.jsx)(h,{label:p("dr-dashboard-revamp:profile.kv_joined"),value:c.sd.joinedAt,testId:"profile-kv-joined","data-sentry-element":"KvRow","data-sentry-source-file":"ProfilePage.tsx"}),(0,r.jsx)(h,{label:p("dr-dashboard-revamp:profile.kv_specialties"),testId:"profile-kv-specialties",valueNode:(0,r.jsx)("div",{"data-testid":"dr-dashboard-profile-specialties",style:{display:"flex",flexWrap:"wrap",gap:6},children:c.sd.specialties.map(e=>(0,r.jsx)("span",{style:{padding:"2px 8px",borderRadius:999,background:"var(--shell)",fontSize:11,color:"var(--ink-2)"},children:e},e))}),"data-sentry-element":"KvRow","data-sentry-source-file":"ProfilePage.tsx"})]}),(0,r.jsxs)("section",{className:"card","data-testid":"dr-dashboard-profile-stats",style:{padding:20,display:"grid",gridTemplateColumns:"repeat(3, minmax(0, 1fr))",gap:16},children:[(0,r.jsx)(y,{label:p("dr-dashboard-revamp:profile.stats_this_week"),value:null!==(i=d.consultationCountThisWeek)&&void 0!==i?i:0,testId:"profile-stats-this-week","data-sentry-element":"StatBlock","data-sentry-source-file":"ProfilePage.tsx"}),(0,r.jsx)(y,{label:p("dr-dashboard-revamp:profile.stats_lifetime"),value:null!==(l=d.consultationCountLifetime)&&void 0!==l?l:0,testId:"profile-stats-lifetime","data-sentry-element":"StatBlock","data-sentry-source-file":"ProfilePage.tsx"}),(0,r.jsx)(y,{label:p("dr-dashboard-revamp:profile.stats_prev_week"),value:null!==(o=d.consultationCountPrevWeek)&&void 0!==o?o:0,testId:"profile-stats-prev-week","data-sentry-element":"StatBlock","data-sentry-source-file":"ProfilePage.tsx"})]})]})}function h(e){let{label:a,value:t,valueNode:s,testId:i}=e;return(0,r.jsxs)("div",{"data-testid":"dr-dashboard-".concat(i),style:{display:"grid",gridTemplateColumns:"140px 1fr",alignItems:"center",gap:12},"data-sentry-component":"KvRow","data-sentry-source-file":"ProfilePage.tsx",children:[(0,r.jsx)("span",{className:"mute",style:{fontSize:12},children:a}),null!=s?s:(0,r.jsx)("span",{style:{fontSize:13,color:"var(--ink)"},children:t})]})}function y(e){let{label:a,value:t,testId:s}=e;return(0,r.jsxs)("div",{"data-testid":"dr-dashboard-".concat(s),style:{display:"flex",flexDirection:"column",gap:4},"data-sentry-component":"StatBlock","data-sentry-source-file":"ProfilePage.tsx",children:[(0,r.jsx)("span",{className:"mute",style:{fontSize:11},children:a}),(0,r.jsx)("span",{className:"serif",style:{fontSize:28,fontWeight:500,letterSpacing:"-0.02em",color:"var(--ink)",fontVariantNumeric:"tabular-nums"},children:t})]})}function v(){return(0,r.jsxs)("div",{"data-testid":"dr-dashboard-profile-skeleton",className:"card",style:{padding:40,display:"flex",flexDirection:"column",gap:10},"data-sentry-component":"ProfileSkeleton","data-sentry-source-file":"ProfilePage.tsx",children:[(0,r.jsx)("div",{style:{width:200,height:24,borderRadius:4,background:"var(--shell)"}}),(0,r.jsx)("div",{style:{width:140,height:14,borderRadius:4,background:"var(--shell)"}}),(0,r.jsx)("div",{style:{width:"60%",height:14,borderRadius:4,background:"var(--shell)"}})]})}function x(){let{t:e}=(0,n.$G)(["dr-dashboard-revamp"]);return(0,r.jsx)("div",{"data-testid":"dr-dashboard-profile-error",role:"alert",className:"card",style:{padding:40,textAlign:"center",color:"var(--bad)"},"data-sentry-component":"ProfileError","data-sentry-source-file":"ProfilePage.tsx",children:(0,r.jsx)("p",{style:{margin:0,fontSize:14},children:e("dr-dashboard-revamp:profile.error_message")})})}var g=t(56890),b=t(95265),j=t(62099),w=!0;function _(){return(0,r.jsx)(b.C,{className:"".concat(s.Nk.variable," ").concat(s.F6.variable," ").concat(s.Zv.variable),"data-sentry-element":"FontSizeRoot","data-sentry-component":"DoctorProfileRoute","data-sentry-source-file":"profile.tsx",children:(0,r.jsxs)(g.s,{"data-sentry-element":"DesktopOnlyGate","data-sentry-source-file":"profile.tsx",children:[(0,r.jsx)(j.w,{"data-sentry-element":"Navbar","data-sentry-source-file":"profile.tsx"}),(0,r.jsx)(p,{"data-sentry-element":"ProfilePage","data-sentry-source-file":"profile.tsx"})]})})}},97391:function(e,a,t){"use strict";t.d(a,{G4:function(){return i},Lp:function(){return r},sd:function(){return s}});let r={__typename:"DoctorDto",sysId:"doc-mh-001",firstName:"Maren",lastName:"Holloway",fullName:"Dr. Maren Holloway",email:"[email protected]",designation:"Officer",active:!0,consultationCountLifetime:1842,consultationCountThisWeek:23,consultationCountPrevWeek:19,b
1io:{__typename:"TranslationDto",sysId:"trn-doc-mh-001-bio",valueEn:"Internist with a decade of practice in primary care, with a focus on long-term hormonal and metabolic health. Trained at Mount Sinai; spent four years at the Cleveland Clinic before moving fully to telehealth. I treat the whole person, not the symptom â slowly, with consent, and with as little medication as the situation allows.",valueJa:"",valueZh:"",createdAt:new Date("2024-03-01T00:00:00Z").toISOString(),createdBy:"system",updatedAt:new Date("2024-03-01T00:00:00Z").toISOString(),updatedBy:"system",remark:"",translationKey:"doctor.bio.doc-mh-001"}},s={initials:"MH",license:"NY-MD-44219",joinedAt:"March 2024",specialties:["General practice","Hormonal health","Sleep medicine"],avatarHue:155,workingHours:"MonâFri, 09:00â17:00 ET",languages:["English"],platforms:["Noah","Zoey"],timezone:"America/New_York"},i={__typename:"Query",viewer:{__typename:"ViewerDto",user:{__typename:"UserDto",sysId:"usr-doc-mh-001",email:r.email,firstName:r.firstName,lastName:r.lastName,fullName:r.fullName,doctor:r}}}}},function(e){e.O(0,[2706,6712,5872,6338,828,2888,9774,179],function(){return e(e.s=73413)}),_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.