"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2835],{tEVo:function(e,t,l){l.d(t,{En:function(){return d},GM:function(){return u},MZ:function(){return y},M_:function(){return v},NA:function(){return g},P_:function(){return f},S1:function(){return Z},SG:function(){return w},g4:function(){return x},hZ:function(){return s},l6:function(){return m},mH:function(){return p},pI:function(){return c},pJ:function(){return b},sO:function(){return h}});var i=l("rBCA"),o=l("DEkF"),r=l("uuQu"),n=l("iBNF"),a=l("rIrU");let d=(0,i.Z)("a",{target:"e28vqjz0"})("display:flex;align-items:center;.social-icons{border-radius:4px;",r.M.mbDown,"{width:24px;height:24px;}",r.M.mbUp,"{width:32px;height:32px;}}"),s=(0,i.Z)("div",{target:"e28vqjz1"})("display:flex;flex-direction:column;justify-content:space-between;padding-bottom:64px;",r.M.mbUp,"{margin-top:5px;}",r.M.mbDown,"{margin-top:8px;align-items:center;}.profile-image{width:168px;border-radius:50%;object-fit:cover;}.divider{width:100vw;border-width:4px;border-color:",n.r.colors.neutral50,";margin-left:-16px;}.list-divider{width:100%;border:none;border-bottom:1px solid #e4e8ec;}"),c=(0,i.Z)("div",{target:"e28vqjz2"})(r.M.mbUp,"{position:relative;height:112px;display:flex;justify-content:center;background:url('",a.Nr,"/expert-background.svg') no-repeat center\n top;background-size:contain;background-size:cover;.avatar-title{display:flex;position:absolute;top:26px;}.border-banner{margin-top:76px;background:white;width:100%;border-radius:40px 40px 0px 0px;}}",r.M.mbDown,"{background:url('",a.Nr,"/expert-background.svg') no-repeat center\n top;background-size:contain;background-size:cover;padding-bottom:8px;height:78px;}"),u=(0,i.Z)("div",{target:"e28vqjz3"})("display:flex;justify-content:center;text-align:center;",r.M.mbUp,"{margin-right:32px;.image-container{.profile-image{width:168px;height:168px;}.badge-avatar{position:absolute;width:40px;height:40px;bottom:0;right:0;}}}",r.M.mbDown,"{position:relative;width:100vw;height:76px;.image-container{position:absolute;top:26px;.profile-image{width:100px;height:100px;}.badge-avatar{position:absolute;width:24px;height:24px;bottom:0;right:0;}}}"),p=(0,i.Z)("div",{target:"e28vqjz4"})(r.M.mbUp,"{display:flex;max-width:568px;flex-direction:column;justify-content:flex-end;}",r.M.mbDown,"{text-align:center;background:white;width:100vw;border-radius:20px 20px 0px 0px;padding:66px 16px 26px 16px;}.position-container{display:inline;p{display:inline;}",r.M.mbDown,"{justify-content:center;margin-top:6px;}",r.M.mbUp,"{margin-top:8px;}}"),h=(0,i.Z)("div",{target:"e28vqjz5"})("white-space:pre-wrap;a{color:",n.r.colors.primary600,";}ul{padding-left:1rem;margin-block:1em;list-style:inside;white-space:normal;li{position:relative;padding-left:2em;margin-bottom:0.4em;list-style-type:none;&::before{position:absolute;top:0px;left:0px;margin-left:0.5em;color:#2d87f3;content:'•';font-size:1em;}}}"),g=(0,i.Z)("div",{target:"e28vqjz6"})("width:calc(100% - 190px);margin-bottom:24px;line-height:28px;aside.social{margin-top:0.5rem;}aside.social > *:not(:last-child){margin-right:0.75rem;}",r.M.mbDown,"{padding-top:120px;width:100%;margin-top:16px;h3{margin-bottom:8px;}}",r.M.mbUp,"{width:100%;margin-top:80px;padding:0 16px;padding-top:44px;h3{margin-bottom:16px;}.highlight-wrapper,.social-row{display:flex;flex-wrap:wrap;margin-bottom:33px;}.highlight-item{width:calc(33% - 32px);margin-right:32px;}}.see-more{display:inline-block;color:",n.r.colors.primaryActive,";font-size:12px;font-weight:600;line-height:18px;img{width:16px;height:16px;vertical-align:top;}}.expert-description{a{color:",n.r.colors.primary600,";}ul{padding-left:1rem;margin-block:1em;list-style:inside;white-space:normal;li{position:relative;padding-left:2em;margin-bottom:0.4em;list-style-type:none;&::before{position:absolute;top:0px;left:0px;margin-left:0.5em;color:#2d87f3;content:'•';font-size:1em;}}}}"),m=(0,i.Z)("div",{target:"e28vqjz7"})(r.M.mbDown,"{padding:16px 10px;}",r.M.mbUp,"{padding:16px 0;}"),v=(0,i.Z)("div",{target:"e28vqjz8"})("padding:0;transition:height 2s ease-in;&[data-is-open='false']{overflow:hidden;height:0;}&[data-is-open='true']{margin:16px 0;}.link-container{padding:16px 16px 0 16px;background:",n.r.colors.neutral50,";overflow-wrap:break-word;.paper-link{padding-bottom:16px;a{color:",n.r.colors.primaryActive,";cursor:pointer;text-decoration:none;}&[data-is-url-disabled='true']{a{color:",n.r.colors.gray600,";pointer-events:none;}}}}"),y=(0,i.Z)("div",{target:"e28vqjz9"})("display:flex;margin-top:8px;.bullet-point{width:24px;height:24px;}"),f=(0,i.Z)("div",{target:"e28vqjz10"})(".heading-icons{width:16px;height:16px;margin-right:8px;vertical-align:top;}"),x=(0,i.Z)("div",{target:"e28vqjz11"})("display:inline-block;width:3px;height:3px;margin-bottom:calc(0.5em - 3px);background-color:",n.r.colors.gray400,";border-radius:50%;"),b=(0,i.Z)("a",{target:"e28vqjz12"})("display:flex;align-items:center;margin-top:16px;cursor:pointer;text-decoration:none;img{width:18px;height:18px;}"),Z=(0,i.Z)("div",{target:"e28vqjz13"})("display:flex;",r.M.mbDown,"{justify-content:center;}",r.M.mbUp,"{justify-content:flex-start;min-height:32px;}margin-top:16px;",r.M.mbDown,"{gap:8px;}",r.M.mbUp,"{gap:12px;}"),w=(0,i.Z)(o.H,{target:"e28vqjz14"})("padding-left:8px;border-left:5px solid ",n.r.colors.primaryBase,";")},AVYD:function(e,t,l){var i=l("BGKE"),o=l("q1tI"),r=l("DEkF"),n=l("MmHG"),a=l("NMBh"),d=l("iBNF"),s=l("dDsW"),c=l("gHFm"),u=l("w/Id"),p=l("2kea"),h=l("1dAL"),g=l("FxIt"),m=l("2su4"),v=l("hXNO"),y=l("rIrU"),f=l("tEVo");t.Z=e=>{var t,l,x,b,Z,w,_,T,N,E,B,M,z,C,A,X,k,S,I,P,H,D,F,j,L,q,U,Y,R,G,V,O,W,Q,J,K,$,ee,et,el,ei,eo,er,en,ea,ed,es,ec,eu,ep,eh,eg,em,ev,ey,ef,ex,eb,eZ,ew,e_;let{type:eT,expert:eN,footerInfo:eE,dataNavMenuContent:eB}=e,[eM,ez]=(0,o.useState)(!1),eC=(0,v.d)(),{formatMessage:eA}=(0,s.Z)(),[eX,ek]=(0,o.useState)(!1),[eS,eI]=(0,o.useState)(!1),[eP,eH]=(0,o.useState)(!1);return(0,i.tZ)(m.x,{SEOData:{apiMetaData:eN.metaTag,isIndexable:!0},type:"profile",footerInfo:eE,dataNavMenuContent:eB,children:eC?(0,i.BX)(c.W,{children:[(0,i.tZ)(p.d,{pageItem:[..."expert"===eT?[{label:eA({id:"experts.allExperts",defaultMessage:"Experts"}),value:"/expert"}]:[],{label:eN.displayName,value:eN.profileUrl}]}),(0,i.BX)(f.hZ,{children:[(0,i.BX)(f.pI,{children:[(0,i.tZ)(f.GM,{children:(0,i.tZ)("div",{className:"image-container",children:(0,i.BX)("div",{style:{position:"relative"},children:[(0,i.tZ)("img",{src:eN.avatarThumbnail||eN.avatar||y.DP,className:"profile-image",alt:"avatar",onError:e=>e.currentTarget.src=y.DP,loading:"lazy"}),(null==eN?void 0:eN.role)&&(0,i.tZ)("img",{className:"badge-avatar",src:"".concat(y.Nr,"/reviewer-").concat(eN.role||"",".svg"),alt:"badge",loading:"lazy"})]})})}),(0,i.BX)(f.mH,{children:[(0,i.tZ)(r.H,{tag:"h3",as:"h1",children:eN.displayName}),(0,i.tZ)(h.T,{size:"md",contents:[...(null==eN?void 0:eN.fields.specialty)?[(0,i.tZ)(n.T,{size:"p3",color:d.r.colors.gray800,children:null==eN?void 0:eN.fields.specialty},"1")]:[],...(null==eN?void 0:eN.fields.organisation)?[(0,i.tZ)(n.T,{size:"p3",className:"organisation",color:d.r.colors.gray500,children:(0,i.tZ)("a",{href:(null==eN?void 0:eN.organisation_url)||void 0,className:"organisation",target:"_blank",children:(0,i.tZ)("span",{dangerouslySetInnerHTML:{__html:null==eN?void 0:eN.fields.organisation}})})},"2")]:[]],separator:(0,i.tZ)(f.g4,{}),className:"position-container"}),(0,i.tZ)(f.S1,{children:Object.keys(null==eN?void 0:null===(t=eN.fields)||void 0===t?void 0:t.contact).map((e,t)=>{var l,o,r,n;return(null==eN?void 0:null===(o=eN.fields)||void 0===o?void 0:null===(l=o.contact)||void 0===l?void 0:l[e])?(0,i.tZ)(f.En,{href:(null==eN?void 0:null===(n=eN.fields)||void 0===n?void 0:null===(r=n.contact)||void 0===r?void 0:r[e])||"",className:"no-replace-click",target:"_blank",children:(0,i.tZ)("img",{src:"".concat(y.uQ,"/").concat(e,".svg"),className:"social-icons",alt:"",loading:"lazy"})},t):null})})]})]}),!!eN.description&&(0,i.BX)(i.HY,{children:[(0,i.BX)(f.NA,{children:["author"===eT?(0,i.tZ)(r.H,{tag:"h3",children:eA({id:"author.content.about",defaultMessage:"About"})}):(0,i.tZ)(r.H,{tag:"h3",children:eA({id:"expert.content.about",defaultMessage:"About"})}),(0,i.tZ)(n.T,{size:"p1",children:(0,i.tZ)("div",{className:"expert-description",dangerouslySetInnerHTML:{__html:eN.description}})})]}),(0,i.tZ)(a.D,{type:"solid",className:"divider"})]}),(0,i.BX)(f.NA,{children:[(null==eN?void 0:null===(l=eN.fields)||void 0===l?void 0:l.educations)||(null==eN?void 0:null===(x=eN.fields)||void 0===x?void 0:x.experiences)||(null==eN?void 0:null===(b=eN.fields)||void 0===b?void 0:b.awards_accreditations)?(0,i.tZ)(r.H,{tag:"h3",children:eA({id:"expert.content.highlight",defaultMessage:"Credentials & Highlights"})}):null,(null==eN?void 0:null===(Z=eN.fields)||void 0===Z?void 0:Z.educations)&&Array.isArray(null==eN?void 0:null===(w=eN.fields)||void 0===w?void 0:w.educations)&&(null==eN?void 0:null===(_=eN.fields)||void 0===_?void 0:_.educations.length)>0&&(0,i.BX)(i.HY,{children:[(0,i.tZ)(n.T,{type:"bold",size:"c2",color:d.r.colors.gray400,style:{marginTop:16},children:eA({id:"expert.content.education",defaultMessage:"Education"}).toUpperCase()}),(0,i.tZ)(f.l6,{children:(eX?null==eN?void 0:null===(T=eN.fields)||void 0===T?void 0:T.educations:null==eN?void 0:null===(N=eN.fields)||void 0===N?void 0:N.educations.slice(0,3)).map((e,t)=>(0,i.BX)(f.MZ,{children:[(0,i.tZ)("img",{className:"bullet-point",src:"".concat(y.Nr,"/bullet-point.svg"),alt:"point",loading:"lazy"}),(0,i.BX)("div",{className:"text-contain",children:[(0,i.tZ)(r.H,{tag:"h6",color:d.r.colors.gray800,children:(0,i.tZ)("span",{dangerouslySetInnerHTML:{__html:e.study}})}),(0,i.tZ)(n.T,{size:"p3",color:d.r.colors.gray500,dangerouslySetInnerHTML:{__html:(null==e?void 0:e.school_name)||""}})]})]},"item-".concat(t)))}),(null==eN?void 0:null===(E=eN.fields)||void 0===E?void 0:E.educations.length)>3&&!eX?(0,i.BX)("div",{className:"see-more",onClick:()=>ek(!0),children:[eA({id:"expert.content.seeMore",defaultMessage:"See more"}),(0,i.tZ)("img",{src:"".concat(y.Nr,"/chevronDownBlue.svg"),alt:"see-more",loading:"lazy"})]}):null,(0,i.tZ)(a.D,{type:"solid",className:"list-divider"})]}),"expert"===eT&&(null==eN?void 0:null===(B=eN.fields)||void 0===B?void 0:B.experiences)&&Array.isArray(null==eN?void 0:null===(M=eN.fields)||void 0===M?void 0:M.experiences)&&(null==eN?void 0:null===(z=eN.fields)||void 0===z?void 0:z.experiences.length)>0&&(0,i.BX)(i.HY,{children:[(0,i.tZ)(n.T,{type:"bold",size:"c2",color:d.r.colors.gray400,style:{marginTop:16},children:eA({id:"expert.content.experiences",defaultMessage:"Experiences"}).toUpperCase()}),(0,i.tZ)(f.l6,{children:(eS?null==eN?void 0:null===(C=eN.fields)||void 0===C?void 0:C.experiences:null==eN?void 0:null===(A=eN.fields)||void 0===A?void 0:A.experiences.slice(0,3)).map((e,t)=>(0,i.BX)(f.MZ,{children:[(0,i.tZ)("img",{className:"bullet-point",src:"".concat(y.Nr,"/bullet-point.svg"),alt:"point",loading:"lazy"}),(0,i.BX)("div",{className:"text-contain",children:[(0,i.tZ)(r.H,{tag:"h6",color:d.r.colors.gray800,children:(0,i.tZ)("span",{dangerouslySetInnerHTML:{__html:(null==e?void 0:e.title)||""}})}),(0,i.tZ)(n.T,{size:"p3",color:d.r.colors.gray500,dangerouslySetInnerHTML:{__html:(null==e?void 0:e.organization)||""}})]})]},"item-".concat(t)))}),(null==eN?void 0:null===(X=eN.fields)||void 0===X?void 0:X.experiences.length)>3&&!eS?(0,i.BX)("div",{className:"see-more",onClick:()=>eI(!0),children:[eA({id:"expert.content.seeMore",defaultMessage:"See more"}),(0,i.tZ)("img",{src:"".concat(y.Nr,"/chevronDownBlue.svg"),alt:"see-more",loading:"lazy"})]}):null,(0,i.tZ)(a.D,{type:"solid",className:"list-divider"})]}),"expert"===eT&&(null==eN?void 0:null===(k=eN.fields)||void 0===k?void 0:k.awards_accreditations)&&Array.isArray(null==eN?void 0:null===(S=eN.fields)||void 0===S?void 0:S.awards_accreditations)&&(null==eN?void 0:null===(I=eN.fields)||void 0===I?void 0:I.awards_accreditations.length)>0&&(0,i.BX)(i.HY,{children:[(0,i.tZ)(n.T,{type:"bold",size:"c2",color:d.r.colors.gray400,style:{marginTop:16},children:eA({id:"expert.content.awards",defaultMessage:"Awards & Accreditations"}).toUpperCase()}),(0,i.tZ)(f.l6,{children:(eP?null==eN?void 0:null===(P=eN.fields)||void 0===P?void 0:P.awards_accreditations:null==eN?void 0:null===(H=eN.fields)||void 0===H?void 0:H.awards_accreditations.slice(0,3)).map((e,t)=>(0,i.BX)(f.MZ,{children:[(0,i.tZ)("img",{className:"bullet-point",src:"".concat(y.Nr,"/bullet-point.svg"),alt:"point",loading:"lazy"}),(0,i.tZ)("div",{className:"text-contain",children:(0,i.tZ)(n.T,{size:"p3",color:d.r.colors.gray800,children:(0,i.tZ)("span",{dangerouslySetInnerHTML:{__html:e.title}})})})]},"item-".concat(t)))}),(null==eN?void 0:null===(D=eN.fields)||void 0===D?void 0:D.awards_accreditations.length)>3&&!eP?(0,i.BX)("div",{className:"see-more",onClick:()=>eH(!0),children:[eA({id:"expert.content.seeMore",defaultMessage:"See more"}),(0,i.tZ)("img",{src:"".concat(y.Nr,"/chevronDownBlue.svg"),alt:"see-more",loading:"lazy"})]}):null,(0,i.tZ)(a.D,{type:"solid",className:"list-divider"})]}),(null==eN?void 0:null===(F=eN.fields)||void 0===F?void 0:F.sources)&&Array.isArray(null==eN?void 0:null===(j=eN.fields)||void 0===j?void 0:j.sources)&&(null==eN?void 0:null===(L=eN.fields)||void 0===L?void 0:L.sources.length)>0&&(0,i.BX)(i.HY,{children:[(0,i.tZ)(f.P_,{onClick:()=>ez(e=>!e),children:(0,i.BX)(n.T,{type:"bold",size:"c2",color:d.r.colors.gray500,style:{marginTop:16},children:[(0,i.tZ)("img",{className:"heading-icons",src:"".concat(y.uQ,"/").concat(eM?"minus":"plus",".svg"),alt:"plus-icon",loading:"lazy"}),eA({id:"expert.content.publishedPapers",defaultMessage:"{number} Published papers"},{number:null==eN?void 0:null===(q=eN.fields)||void 0===q?void 0:q.sources.length}).toUpperCase()]})}),(0,i.tZ)(f.M_,{"data-is-open":eM,children:(0,i.tZ)("div",{className:"link-container",children:null==eN?void 0:null===(U=eN.fields)||void 0===U?void 0:U.sources.map((e,t)=>(0,i.tZ)("div",{className:"paper-link","data-is-url-disabled":!e.url,children:(0,i.tZ)("a",{href:e.url,target:"_blank",children:e.title||e.url})},t))})})]}),(null==eN?void 0:eN.relatedPost)&&Array.isArray(null==eN?void 0:eN.relatedPost)&&(null==eN?void 0:eN.relatedPost.length)>0?(0,i.BX)(i.HY,{children:[(0,i.tZ)(a.D,{type:"solid",className:"divider"}),(0,i.BX)(f.NA,{children:[(0,i.tZ)(r.H,{tag:"h3",children:eA({id:"expert.content.latestArticles",defaultMessage:"Latest Expert Articles"})}),(0,i.tZ)(u.T,{isMobile:eC,trendingPosts:eN.relatedPost})]})]}):null,eN.fields.policies?(0,i.BX)(i.HY,{children:[(0,i.tZ)(a.D,{type:"solid",className:"divider"}),(0,i.BX)(f.NA,{children:[(0,i.tZ)(r.H,{tag:"h3",style:{marginBottom:20},children:null===(Y=eN.fields.policies)||void 0===Y?void 0:Y.title}),(0,i.tZ)(n.T,{size:"p1",children:(0,i.tZ)("div",{dangerouslySetInnerHTML:{__html:eN.fields.policies.content}})}),(null===(R=eN.fields.policies)||void 0===R?void 0:R.readmore)?(0,i.BX)(f.pJ,{href:eN.fields.policies.readmore_url||"",children:[(0,i.tZ)(r.H,{fontWeight:"bold",tag:"h6",color:d.r.colors.primaryActive,children:eN.fields.policies.readmore}),(0,i.tZ)("img",{src:"".concat(y.Nr,"/chevronRightBlue.svg"),alt:"right-chevron",loading:"lazy"})]}):null]})]}):null]}),(0,i.tZ)(g.default,{})]})]}):(0,i.BX)(i.HY,{children:[(0,i.tZ)(c.W,{children:(0,i.tZ)(p.d,{pageItem:[..."expert"===eT?[{label:eA({id:"experts.allExperts",defaultMessage:"Experts"}),value:"/expert"}]:[],{label:eN.displayName,value:eN.profileUrl}]})}),(0,i.BX)(f.hZ,{children:[(0,i.BX)(f.pI,{children:[(0,i.BX)("div",{className:"avatar-title",children:[(0,i.tZ)(f.GM,{children:(0,i.tZ)("div",{className:"image-container",children:(0,i.BX)("div",{style:{position:"relative"},children:[(0,i.tZ)("img",{src:eN.avatar||eN.avatarThumbnail||y.DP,style:{width:"168px",height:"168px"},className:"profile-image",loading:"lazy",alt:"avatar",onError:e=>e.currentTarget.src=y.DP}),(null==eN?void 0:eN.role)&&(0,i.tZ)("img",{className:"badge-avatar",src:"".concat(y.Nr,"/reviewer-").concat(eN.role||"",".svg"),alt:"badge",loading:"lazy"})]})})}),(0,i.BX)(f.mH,{children:[(0,i.tZ)(r.H,{tag:"h3",as:"h1",children:eN.displayName}),(0,i.tZ)(h.T,{size:"md",contents:[...(null==eN?void 0:eN.fields.specialty)?[(0,i.tZ)(n.T,{size:"p3",color:d.r.colors.gray800,children:null==eN?void 0:eN.fields.specialty},"1")]:[],...(null==eN?void 0:eN.fields.organisation)?[(0,i.tZ)(n.T,{size:"p3",color:d.r.colors.gray500,children:(0,i.tZ)("a",{href:(null==eN?void 0:eN.organisation_url)||void 0,className:"organisation",target:"_blank",children:(0,i.tZ)("span",{dangerouslySetInnerHTML:{__html:null==eN?void 0:eN.fields.organisation}})})},"2")]:[]],separator:(0,i.tZ)(f.g4,{}),className:"position-container"}),(0,i.tZ)(f.S1,{children:Object.keys(null==eN?void 0:null===(G=eN.fields)||void 0===G?void 0:G.contact).map((e,t)=>{var l,o,r,n;return(null==eN?void 0:null===(o=eN.fields)||void 0===o?void 0:null===(l=o.contact)||void 0===l?void 0:l[e])?(0,i.tZ)(f.En,{href:(null==eN?void 0:null===(n=eN.fields)||void 0===n?void 0:null===(r=n.contact)||void 0===r?void 0:r[e])||"",className:"no-replace-click",target:"_blank",children:(0,i.tZ)("img",{src:"".concat(y.uQ,"/").concat(e,".svg"),className:"social-icons",alt:"",loading:"lazy"})},t):null})})]})]}),(0,i.tZ)("div",{className:"border-banner"})]}),(0,i.BX)(c.W,{children:[eN.description?(0,i.tZ)(i.HY,{children:(0,i.BX)(f.NA,{children:["author"===eT?(0,i.tZ)(r.H,{tag:"h3",children:eA({id:"author.content.about",defaultMessage:"About"})}):(0,i.tZ)(r.H,{tag:"h3",children:eA({id:"expert.content.about",defaultMessage:"About"})}),(0,i.tZ)(n.T,{size:"p1",children:(0,i.tZ)("div",{className:"expert-description",dangerouslySetInnerHTML:{__html:eN.description}})})]})}):null,(0,i.BX)(f.NA,{children:[(null==eN?void 0:null===(V=eN.fields)||void 0===V?void 0:V.educations)||(null==eN?void 0:null===(O=eN.fields)||void 0===O?void 0:O.experiences)||(null==eN?void 0:null===(W=eN.fields)||void 0===W?void 0:W.awards_accreditations)?(0,i.tZ)(r.H,{tag:"h3",children:eA({id:"expert.content.highlight",defaultMessage:"Credentials & Highlights"})}):null,(null==eN?void 0:null===(Q=eN.fields)||void 0===Q?void 0:Q.educations)||(null==eN?void 0:null===(J=eN.fields)||void 0===J?void 0:J.experiences)||(null==eN?void 0:null===(K=eN.fields)||void 0===K?void 0:K.awards_accreditations)?(0,i.BX)(i.HY,{children:[(0,i.BX)("div",{className:"highlight-wrapper",children:[(null==eN?void 0:null===($=eN.fields)||void 0===$?void 0:$.educations)&&Array.isArray(null==eN?void 0:null===(ee=eN.fields)||void 0===ee?void 0:ee.educations)&&(null==eN?void 0:null===(et=eN.fields)||void 0===et?void 0:et.educations.length)>0&&(0,i.BX)("div",{className:"highlight-item",children:[(0,i.tZ)(n.T,{type:"bold",size:"c2",color:d.r.colors.gray400,style:{marginTop:16},children:eA({id:"expert.content.education",defaultMessage:"Education"}).toUpperCase()}),(0,i.tZ)(f.l6,{children:(eX?null==eN?void 0:null===(el=eN.fields)||void 0===el?void 0:el.educations:null==eN?void 0:null===(ei=eN.fields)||void 0===ei?void 0:ei.educations.slice(0,3)).map((e,t)=>(0,i.BX)(f.MZ,{children:[(0,i.tZ)("img",{className:"bullet-point",src:"".concat(y.Nr,"/bullet-point.svg"),alt:"point",loading:"lazy"}),(0,i.BX)("div",{className:"text-contain",children:[(0,i.tZ)(r.H,{tag:"h6",color:d.r.colors.gray800,children:(0,i.tZ)("span",{dangerouslySetInnerHTML:{__html:e.study}})}),(0,i.tZ)(n.T,{size:"p3",color:d.r.colors.gray500,dangerouslySetInnerHTML:{__html:(null==e?void 0:e.school_name)||""}})]})]},"item-".concat(t)))}),(null==eN?void 0:null===(eo=eN.fields)||void 0===eo?void 0:eo.educations.length)>3&&!eX?(0,i.BX)("div",{className:"see-more",onClick:()=>ek(!0),children:[eA({id:"expert.content.seeMore",defaultMessage:"See more"}),(0,i.tZ)("img",{src:"".concat(y.Nr,"/chevronDownBlue.svg"),alt:"see-more",loading:"lazy"})]}):null]}),"expert"===eT&&(null==eN?void 0:null===(er=eN.fields)||void 0===er?void 0:er.experiences)&&Array.isArray(null==eN?void 0:null===(en=eN.fields)||void 0===en?void 0:en.experiences)&&(null==eN?void 0:null===(ea=eN.fields)||void 0===ea?void 0:ea.experiences.length)>0&&(0,i.BX)("div",{className:"highlight-item",children:[(0,i.tZ)(n.T,{type:"bold",size:"c2",color:d.r.colors.gray400,style:{marginTop:16},children:eA({id:"expert.content.experiences",defaultMessage:"Experiences"}).toUpperCase()}),(0,i.tZ)(f.l6,{children:(eS?null==eN?void 0:null===(ed=eN.fields)||void 0===ed?void 0:ed.experiences:null==eN?void 0:null===(es=eN.fields)||void 0===es?void 0:es.experiences.slice(0,3)).map((e,t)=>(0,i.BX)(f.MZ,{children:[(0,i.tZ)("img",{className:"bullet-point",src:"".concat(y.Nr,"/bullet-point.svg"),alt:"point",loading:"lazy"}),(0,i.BX)("div",{className:"text-contain",children:[(0,i.tZ)(r.H,{tag:"h6",color:d.r.colors.gray800,children:(0,i.tZ)("span",{dangerouslySetInnerHTML:{__html:e.title}})}),(0,i.tZ)(n.T,{size:"p3",color:d.r.colors.gray500,dangerouslySetInnerHTML:{__html:(null==e?void 0:e.organization)||""}})]})]},"item-".concat(t)))}),(null==eN?void 0:null===(ec=eN.fields)||void 0===ec?void 0:ec.experiences.length)>3&&!eS?(0,i.BX)("div",{className:"see-more",onClick:()=>eI(!0),children:[eA({id:"expert.content.seeMore",defaultMessage:"See more"}),(0,i.tZ)("img",{src:"".concat(y.Nr,"/chevronDownBlue.svg"),alt:"see-more",loading:"lazy"})]}):null]}),"expert"===eT&&(null==eN?void 0:null===(eu=eN.fields)||void 0===eu?void 0:eu.awards_accreditations)&&Array.isArray(null==eN?void 0:null===(ep=eN.fields)||void 0===ep?void 0:ep.awards_accreditations)&&(null==eN?void 0:null===(eh=eN.fields)||void 0===eh?void 0:eh.awards_accreditations.length)>0&&(0,i.BX)("div",{className:"highlight-item",children:[(0,i.tZ)(n.T,{type:"bold",size:"c2",color:d.r.colors.gray400,style:{marginTop:16},children:eA({id:"expert.content.awards",defaultMessage:"Awards & Accreditations"}).toUpperCase()}),(0,i.tZ)(f.l6,{children:(eP?null==eN?void 0:null===(eg=eN.fields)||void 0===eg?void 0:eg.awards_accreditations:null==eN?void 0:null===(em=eN.fields)||void 0===em?void 0:em.awards_accreditations.slice(0,3)).map((e,t)=>(0,i.BX)(f.MZ,{children:[(0,i.tZ)("img",{className:"bullet-point",src:"".concat(y.Nr,"/bullet-point.svg"),alt:"point",loading:"lazy"}),(0,i.tZ)("div",{className:"text-contain",children:(0,i.tZ)(n.T,{size:"p3",color:d.r.colors.gray800,dangerouslySetInnerHTML:{__html:null==e?void 0:e.title}})})]},"item-".concat(t)))}),(null==eN?void 0:null===(ev=eN.fields)||void 0===ev?void 0:ev.awards_accreditations.length)>3&&!eP?(0,i.BX)("div",{className:"see-more",onClick:()=>eH(!0),children:[eA({id:"expert.content.seeMore",defaultMessage:"See more"}),(0,i.tZ)("img",{src:"".concat(y.Nr,"/chevronDownBlue.svg"),alt:"see-more",loading:"lazy"})]}):null]})]}),(0,i.tZ)(a.D,{type:"solid",className:"list-divider"})]}):null,(null==eN?void 0:null===(ey=eN.fields)||void 0===ey?void 0:ey.sources)&&Array.isArray(null==eN?void 0:null===(ef=eN.fields)||void 0===ef?void 0:ef.sources)&&(null==eN?void 0:null===(ex=eN.fields)||void 0===ex?void 0:ex.sources.length)>0&&(0,i.BX)(i.HY,{children:[(0,i.tZ)(f.P_,{onClick:()=>ez(e=>!e),children:(0,i.BX)(n.T,{type:"bold",size:"c2",color:d.r.colors.gray500,style:{marginTop:16,marginBottom:8,cursor:"pointer"},children:[(0,i.tZ)("img",{className:"heading-icons",src:"".concat(y.uQ,"/").concat(eM?"minus":"plus",".svg"),alt:"plus-icon",loading:"lazy"}),eA({id:"expert.content.publishedPapers",defaultMessage:"{number} Published papers"},{number:null==eN?void 0:null===(eb=eN.fields)||void 0===eb?void 0:eb.sources.length}).toUpperCase()]})}),(0,i.tZ)(f.M_,{"data-is-open":eM,children:(0,i.tZ)("div",{className:"link-container",children:null==eN?void 0:null===(eZ=eN.fields)||void 0===eZ?void 0:eZ.sources.map((e,t)=>(0,i.tZ)("div",{className:"paper-link","data-is-url-disabled":!e.url,children:(0,i.tZ)("a",{href:e.url,target:"_blank",children:e.title||e.url})},t))})}),(0,i.tZ)(a.D,{type:"solid",className:"list-divider"})]}),(null==eN?void 0:eN.relatedPost)&&Array.isArray(null==eN?void 0:eN.relatedPost)&&(null==eN?void 0:eN.relatedPost.length)>0?(0,i.BX)(i.HY,{children:[(0,i.tZ)(r.H,{tag:"h3",style:{marginTop:80},children:eA({id:"expert.content.latestArticles",defaultMessage:"Latest Expert Articles"})}),(0,i.tZ)(u.T,{isMobile:eC,trendingPosts:eN.relatedPost})]}):null,eN.fields.policies?(0,i.BX)(i.HY,{children:[(0,i.tZ)(r.H,{tag:"h3",style:{marginBottom:20,marginTop:80},children:null===(ew=eN.fields.policies)||void 0===ew?void 0:ew.title}),(0,i.tZ)(n.T,{size:"p1",children:(0,i.tZ)("div",{dangerouslySetInnerHTML:{__html:eN.fields.policies.content}})}),(null===(e_=eN.fields.policies)||void 0===e_?void 0:e_.readmore)?(0,i.BX)(f.pJ,{href:eN.fields.policies.readmore_url||"",children:[(0,i.tZ)(r.H,{fontWeight:"bold",tag:"h6",as:"h6",color:d.r.colors.primaryActive,children:eN.fields.policies.readmore}),(0,i.tZ)("img",{src:"".concat(y.Nr,"/chevronRightBlue.svg"),alt:"right-chevron",loading:"lazy"})]}):null]}):null]})]})]})]})})}},"6F6o":function(e,t,l){var i=l("q1tI"),o=l("xweI"),r=l.n(o),n=l("09QT"),a=l("/tR3"),d=l("oQBk"),s=l("CJtR"),c=l("P5LW"),u=l("jZMZ");let p={specialtyData:[],expertData:[],selectedSpecialty:null,selectedExpert:null},reducer=(e,t)=>{switch(t.type){case"SET_DATA":return{...e,...t.payload};case"SET_SPECIALTY_DATA":return{...e,specialtyData:t.payload};case"SET_EXPERT_DATA":return{...e,expertData:t.payload};case"SELECT_SPECIALTY":return{...e,selectedSpecialty:t.payload,selectedExpert:null};case"SELECT_EXPERT":return{...e,selectedExpert:t.payload};default:return e}};t.Z=()=>{let[e,t]=(0,i.useReducer)(reducer,p),{specialtyData:l,expertData:o,selectedSpecialty:h,selectedExpert:g}=e,m=(0,i.useRef)(),{locale:v,router:y}=(0,c.h)();(0,i.useEffect)(()=>{let fetchData=async()=>{try{var e;let l=(0,n.d)(d.y.EXPERT.GET_LIST_OF_SPECIALTIES),i=(0,n.d)(d.y.EXPERT.GET_EXPERT_BY_NAME_AND_SPECIALTY),[o,s]=await Promise.all([l,i]),c=(0,u.x)(r()(null==o?void 0:o.data.specialty.map(a._B).filter(e=>e.countExperts>0),["slug"]),"name","name"),p=(0,u.x)(null==s?void 0:null===(e=s.data)||void 0===e?void 0:e.experts.map(a.TM),"displayName","displayName");m.current=p,t({type:"SET_DATA",payload:{specialtyData:c,expertData:p}})}catch(e){console.error("Error fetching address data:",e)}};fetchData()},[]);let handleSpecialtyChange=async e=>{var l;if(t({type:"SELECT_SPECIALTY",payload:e}),!e){t({type:"SET_EXPERT_DATA",payload:m.current});return}let i=await (0,n.d)(d.y.EXPERT.GET_EXPERT_BY_NAME_AND_SPECIALTY,{params:{specialty:e.termId||""}}),o=(0,u.x)(null==i?void 0:null===(l=i.data)||void 0===l?void 0:l.experts.map(a.TM),"displayName","displayName");t({type:"SET_EXPERT_DATA",payload:o})},handleExpertChange=async e=>{t({type:"SELECT_EXPERT",payload:e}),y.push("".concat((0,s.UC)(v)).concat(e.profileUrl))};return{specialtyData:l,expertData:o,selectedSpecialty:h,selectedExpert:g,handleSpecialtyChange,handleExpertChange}}},yOiL:function(e,t,l){l.d(t,{Ub:function(){return s}});var i=l("BGKE"),o=l("q1tI"),r=l("2su4"),n=l("Y7A1"),a=l("Vx7o"),d=l("wvZN");function withExpertTemplate(e){let t=e.displayName||e.name||"Component",ComponentWithExpertTemplate=t=>{let{footerInfo:l,dataNavMenuContent:o,...a}=t,{currentExpert:d}=(0,n.ek)(e=>({currentExpert:e.currentExpert}));return(0,i.tZ)(r.x,{SEOData:{apiMetaData:null==d?void 0:d.metaTag,isIndexable:!0},type:"profile",footerInfo:l,dataNavMenuContent:o,children:(0,i.tZ)(e,{...a})})};return ComponentWithExpertTemplate.displayName="withExpertTemplate(".concat(t,")"),ComponentWithExpertTemplate}let s=o.memo(withExpertTemplate(d.Z));withExpertTemplate(a.Z)},H9bp:function(e,t,l){l.d(t,{Is:function(){return PhoneInputWithCode},sb:function(){return PhoneInput},tz:function(){return FlagComponent}});var i=l("BGKE"),o=l("rBCA"),r=l("iBNF"),n=l("TSYQ"),a=l.n(n),d=l("RB7Y"),s=l("SSaT"),c=l.n(s);let u=(0,o.Z)("div",{target:"egdqp8n0"})("display:flex;align-items:center;> svg,> img{width:24px;height:24px;margin-right:5px;border-radius:2px;}> div{color:",r.r.colors.gray800||"",";white-space:nowrap;}"),p=(0,o.Z)(d.ZP,{target:"egdqp8n1"})("display:flex;border:1px solid ",r.r.colors.gray200||"",";border-radius:",r.r.borderRadius,";.PhoneInputCountry{position:relative;padding:12px 8px 12px 16px;border-right:1px solid ",r.r.colors.gray200||"",";background-color:",r.r.colors.gray100||"",";border-radius:6px 0 0 6px;color:",r.r.colors.gray800||"",";.PhoneInputCountrySelect{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;pointer-events:none;}.PhoneInputCountryIconImg{width:24px;height:16px;border-radius:2px;object-fit:cover;object-position:center;}}.PhoneInputInput{padding:0 16px;}&.has--error{border-color:",r.r.colors.red700||"",";}&.PhoneInput--focus{border-color:",r.r.colors.primaryBase||"",";box-shadow:0px 0px 2px 2px #91caff;}"),h=(0,o.Z)(d.ZP,{target:"egdqp8n2"})("&.PhoneInput{.PhoneInputCountry{padding:10px;border:solid 1px ",r.r.colors.gray200,";border-right:none;margin:0;background-color:#f2f2f2;border-bottom-left-radius:6px;border-top-left-radius:6px;padding:0 15px;.PhoneInputCountrySelectArrow{transform:rotate(0deg);display:flex;align-items:center;border:none;margin-left:10px;width:auto;}}.PhoneInputInput{padding-left:10px;border:solid 1px ",r.r.colors.gray200,";margin:0;width:100%;padding:12px 16px;background:#fff;border-bottom-left-radius:0 !important;border-bottom-right-radius:6px !important;border-top-left-radius:0 !important;border-top-right-radius:6px !important;}.PhoneInputCountrySelect{+ .PhoneInputCountryIcon--border{border:none;box-shadow:none;}}&.PhoneInput--readOnly{.PhoneInputCountrySelect{pointer-events:none;}}}.PhoneInputCountryIcon{width:auto;height:auto;box-shadow:none;background-color:transparent;.PhoneInputCountryIconImg{width:24px;height:24px;}}"),FlagComponentPHOnly=e=>{let t="+("+(0,d.Gg)(e.country)+")";return(0,i.BX)(u,{children:[(0,i.tZ)(c(),{}),(0,i.tZ)("div",{children:t})]})},FlagComponent=e=>{var t;let l="+("+(0,d.Gg)(e.country)+")",o=null===(t=e.flagUrl)||void 0===t?void 0:t.replace("{XX}",e.country);return(0,i.BX)(u,{children:[(0,i.tZ)("img",{className:"PhoneInputCountryIconImg",alt:e.countryName,src:o,loading:"lazy"}),(0,i.tZ)("div",{children:l})]})},PhoneInput=e=>{let{className:t,error:l,...o}=e;return(0,i.tZ)(p,{className:a()(t,{"has--error":!!l}),flagComponent:FlagComponentPHOnly,...o})},PhoneInputWithCode=e=>(0,i.tZ)(h,{...e,flagComponent:FlagComponent})},"/Xsf":function(e,t,l){l.d(t,{Z:function(){return galderma_signup}});var i,o,r=l("BGKE"),n=l("q1tI"),a=l("MmHG"),d=l("UG+c"),s=l("93jb"),c=l("TSYQ"),u=l.n(c),p=l("YFqc"),h=l.n(p),g=l("20a2"),m=l("oQBk"),v=l("xIXX"),y=l("CJtR"),f=l("0VOb"),x=l("rBCA"),b=l("LgdP"),Z=l("l9Yf"),w=l("iBNF"),_=l("uuQu");let T=(0,x.Z)(b.B,{target:"e1qfclyc0"})("margin-top:24px;"),N=(0,x.Z)("div",{target:"e1qfclyc1"})("display:flex;flex-wrap:wrap;margin:-5px -17px;.schedule_time--radio{margin:5px 17px;font-size:14px;}"),E=(0,x.Z)(Z.I,{target:"e1qfclyc2"})(),B=(0,x.Z)("div",{target:"e1qfclyc3"})("label[data-size='label2']{display:inline-block;margin-bottom:6px;color:",w.r.colors.gray600||"",";font-size:12px;font-weight:700;line-height:1.5;}.schedule--dropdown{z-index:1;> div{padding:12px 16px;color:",w.r.colors.gray400||"",";line-height:1.1;}&.has--value{> div{color:",w.r.colors.gray800||"",";}}&.has--error{border-color:",w.r.colors.red700||"",";}}.errorLabel{display:none;}"),M=(0,x.Z)("div",{target:"e1qfclyc4"})("width:",e=>{let{width:t}=e;return t||"100%"},";padding:8px;",B,"{+ ",B,"{margin-top:16px;}}@media (max-width:768px){width:100%;}"),z=(0,x.Z)("div",{target:"e1qfclyc5"})("display:flex;flex-wrap:wrap;margin:-8px;"),C=(0,x.Z)("div",{target:"e1qfclyc6"})("margin-bottom:34px;"),A=(0,x.Z)("form",{target:"e1qfclyc7"})(),X=(0,x.Z)("div",{target:"e1qfclyc8"})("display:flex;align-items:center;justify-content:space-between;.sponsor--logo{width:280px;height:69px;object-fit:contain;object-position:left center;}.hello--logo{width:210px;height:40px;object-fit:contain;object-position:right center;}",_.M.mbDown,"{.sponsor--logo{width:138px;}.hello--logo{width:126px;}}"),k=(0,x.Z)("div",{target:"e1qfclyc9"})(".image{display:block;width:295px;max-width:100%;height:auto;margin:32px auto;}p{margin-bottom:1em;&.terms{margin-top:2em;}}a{color:",w.r.colors.gray800||"",";}",_.M.mbDown,"{.image{width:260px;margin:24px auto;}}"),S=(0,x.Z)("div",{target:"e1qfclyc10"})("max-width:800px;padding:0 16px;margin:90px auto 120px;",_.M.mbDown,"{margin:65px auto 65px;}");var I=l("RB7Y"),P=l("rIrU");(i=o||(o={})).name="name",i.address="address",i.schedule="schedule",i.phone="phone",i.schedule_time="schedule_time",i.schedule_custom="schedule_custom";let H=[{label:"Mondays to Fridays",value:"mondays_to_fridays"},{label:"Mondays to Saturdays",value:"mondays_to_saturdays"},{label:"By appointment",value:"by_appointment"},{label:"Custom option",value:"custom"}],D={name:{value:"",error:"",touched:!1},address:{value:"",error:"",touched:!1},schedule:{value:"",error:"",touched:!1},phone:{value:"",error:"",touched:!1},schedule_time:{value:"morning",error:"",touched:!0},schedule_custom:{value:"",error:"",touched:!1}},validate=(e,t)=>t&&("phone"!==e||"+63"!==t)?"phone"!==e||(0,I.yf)(t)?"":"Phone invalid":"This field is required",reValidate=e=>{let t=Object.keys(e);return t.reduce((e,t)=>({...e,[t]:{value:e[t].value,error:validate(t,e[t].value),touched:!0}}),e)},isTouchedAll=e=>!Object.values(e).find(e=>!e.touched),isFormValid=e=>!Object.values(e).find(e=>e.error),generateBody=e=>({data:{url:window.location.href,title_article:document.title||window.location.href,meta:[{key:"name",value:e.name.value,control:"text"},{key:"address",value:e.address.value,control:"address"},{key:"schedule",value:"custom"===e.schedule.value?e.schedule_custom.value:e.schedule.value,control:"text"},{key:"schedule_time",value:e.schedule_time.value,control:"text"},{key:"phone",value:e.phone.value,control:"tel"}]}});var F=l("H9bp");let emptyFn=()=>{};var galderma_signup=()=>{var e;let{locale:t}=(0,g.useRouter)(),l=(null==t?void 0:t.split("-")[1])||"PH",i=(0,n.useRef)(null),c=(0,n.useRef)(null),[p,x]=(0,n.useState)(D),[b,Z]=(0,n.useState)(!1),getFieldValue=e=>{var t;return(null===(t=p[e])||void 0===t?void 0:t.value)||""},getFieldError=e=>{var t;return(null===(t=p[e])||void 0===t?void 0:t.error)||""},onChange=(e,t)=>{b||x(l=>{let i={...l};return e===o.schedule&&(i[o.schedule_custom]={...D[o.schedule_custom],touched:"custom"!==t}),{...i,[e]:{value:t,error:validate(e,t),touched:!0}}})},scrollToFirstError=()=>{if(!i.current)return;let e=i.current.querySelector('[data-has-error="true"]');e&&e.scrollIntoView({behavior:"smooth",block:"center"})};return(0,r.BX)(S,{ref:i,children:[(0,r.BX)(X,{children:[(0,r.tZ)("img",{src:"/images/galderma-signup/galdema.png",className:"sponsor--logo",alt:"Galderma",loading:"lazy"}),(0,r.tZ)("img",{src:"/images/galderma-signup/hellodoctor.com.ph.svg",alt:"Hello Doctor",className:"hello--logo",loading:"lazy"})]}),(0,r.BX)(k,{children:[(0,r.tZ)("img",{src:"/images/galderma-signup/image.png",alt:"Hello Doctor - Gelderma",className:"image",loading:"lazy"}),(0,r.BX)(a.T,{size:"base",children:["Good day, ",(0,r.tZ)("strong",{children:"Doctor"}),"!"]}),(0,r.BX)(a.T,{size:"base",children:["We would like to invite you to take part in"," ",(0,r.tZ)("strong",{children:"Galderma’s Acne Screener Program"})," at"," ",(0,r.tZ)("strong",{children:(0,r.tZ)(h(),{prefetch:!1,href:"/",children:"Hello Doctor Philippines"})}),"."]}),(0,r.tZ)(a.T,{size:"base",children:"The objective of this program is to help connect patients to dermatologists by answering the Acne Screener."}),(0,r.tZ)(a.T,{size:"base",children:"Patients who take the screener will go through a visual self-assessment to gauge the severity of their acne and risk of scarring. All users will have the option to book a meeting with a dermatologist near their location."}),(0,r.BX)(a.T,{size:"base",children:["Here’s a link to the Acne Screener:",(0,r.tZ)("strong",{children:(0,r.tZ)(h(),{prefetch:!1,href:"https://hellodoctor.com.ph/bot/acne-prescreener/",children:"https://hellodoctor.com.ph/bot/acne-prescreener/"})})]}),(0,r.tZ)(a.T,{size:"base",children:"If you would like to be part of the list of dermatologists we suggest to our users, please share the following details:"}),(0,r.BX)(A,{ref:c,onSubmit:e=>e.preventDefault(),onChange:e=>{e.target.name in p&&"phone"!==e.target.name&&"string"==typeof e.target.value&&onChange(e.target.name,e.target.value)},children:[(0,r.tZ)(C,{children:(0,r.BX)(z,{children:[(0,r.tZ)(M,{children:(0,r.tZ)(B,{children:(0,r.tZ)(E,{label:"Clinic Name",size:"md",name:o.name,value:getFieldValue(o.name),placeholder:"Clinic name",errorMessage:getFieldError(o.name)})})}),(0,r.tZ)(M,{children:(0,r.tZ)(B,{children:(0,r.tZ)(E,{label:"Clinic Address",size:"md",name:o.address,value:getFieldValue(o.address),placeholder:"Clinic Address",errorMessage:getFieldError(o.address)})})}),(0,r.BX)(M,{width:"50%",children:[(0,r.BX)(B,{"data-has-error":!!getFieldError(o.schedule),children:[(0,r.tZ)("label",{"data-size":"label2",htmlFor:"schedule--dropdown",children:"Clinic Schedule"}),(0,r.tZ)(d.D,{id:"schedule--dropdown",options:H,placeholder:(null===(e=H.find(e=>{let{value:t}=e;return getFieldValue(o.schedule)===t}))||void 0===e?void 0:e.label)||"Clinic schedule",onChange:e=>{onChange(o.schedule,e.value)},className:u()("schedule--dropdown",{"has--value":!!getFieldValue(o.schedule),"has--error":!!getFieldError(o.schedule)})})]}),"custom"===getFieldValue(o.schedule)&&(0,r.tZ)(B,{children:(0,r.tZ)(E,{label:"Custom Schedule",size:"md",name:o.schedule_custom,value:getFieldValue(o.schedule_custom),placeholder:"Custom schedule",errorMessage:getFieldError(o.schedule_custom)})}),(0,r.BX)(B,{"data-has-error":!!getFieldError(o.schedule_time),children:[(0,r.tZ)("label",{"data-size":"label2",htmlFor:"schedule",children:"Preferred Patient Booking Schedule"}),(0,r.BX)(N,{id:"schedule",children:[(0,r.tZ)(s.R,{label:"Morning",value:"morning",name:o.schedule_time,type:"circle",checked:"morning"===getFieldValue(o.schedule_time),onChange:emptyFn,className:"schedule_time--radio"}),(0,r.tZ)(s.R,{label:"Afternoon",value:"afternoon",name:o.schedule_time,type:"circle",checked:"afternoon"===getFieldValue(o.schedule_time),onChange:emptyFn,className:"schedule_time--radio"}),(0,r.tZ)(s.R,{label:"All day",value:"all_day",name:o.schedule_time,type:"circle",checked:"all_day"===getFieldValue(o.schedule_time),onChange:emptyFn,className:"schedule_time--radio"})]})]})]}),(0,r.tZ)(M,{width:"50%",children:(0,r.BX)(B,{children:[(0,r.tZ)("label",{"data-size":"label2",htmlFor:"phone",children:"Contact Number"}),(0,r.BX)("div",{"data-has-error":!!getFieldError(o.phone),children:[(0,r.tZ)(F.sb,{id:"phone",name:o.phone,placeholder:"Phone number",value:getFieldValue(o.phone),onChange:e=>{"string"==typeof e&&onChange(o.phone,e)},defaultCountry:l,initialValueFormat:"national",className:"phone-input",addInternationalOption:!1,countries:[l],countryCallingCodeEditable:!1,error:!!getFieldError(o.phone),withCountryCallingCode:!0}),!!getFieldError(o.phone)&&(0,r.tZ)("label",{className:"errorLabel",children:getFieldError(o.phone)})]})]})})]})}),(0,r.tZ)(a.T,{size:"base",children:"Please note that these details will be visible to users of the Acne Screener. Our representatives will get in touch with the patient within the week to confirm a booking with you."}),(0,r.tZ)(a.T,{size:"base",children:"Please see the Hello Health Group Privacy Policy below."}),(0,r.tZ)(a.T,{size:"base",children:"Thank you!"}),(0,r.tZ)(T,{isBlock:!0,size:"md",onClick:()=>{if(b)return;let e={...p};"custom"!==e[o.schedule].value&&(e[o.schedule_custom]={value:"",error:"",touched:!0});let t=isTouchedAll(e),l=isFormValid(e);if(t||x(reValidate(e)),!t||!l){setTimeout(()=>scrollToFirstError(),300);return}let i=(0,y.DS)(m.y.LEADGEN.POST_LEAD_LEAD,{campaignCode:P.Mw?"wltcklmrsac7anb":"dscyapohwxjmnl5"}),r=generateBody(e);Z(!0),(0,v.uu)(i,"POST",r).then(e=>{(null==e?void 0:e._status)===1?((0,f.c)({message:"Thank you for participating!",title:"Success",type:"success"}),x(D)):setTimeout(()=>scrollToFirstError(),300),Z(!1)})},isLoading:b,children:"Submit"}),(0,r.BX)(a.T,{size:"c2",className:"terms",children:["This ",(0,r.tZ)("strong",{children:"Privacy Policy"})," applies to websites owned and operated by Hello Doctor that are intended for use by consumers (non-professionals) for non-commercial personal, family or household purposes, including the mobile optimized versions of these along with the information and services made available to you through the Hello Doctor Sites, as the “Services.” Read more"," ",(0,r.tZ)("strong",{children:(0,r.tZ)(h(),{prefetch:!1,href:"https://hellodoctor.com.ph/static/privacy-policy/",children:"here"})}),"."]})]})]})]})}}}]);