1!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="0b5b42d9-1db4-48a9-b828-9cf1d8d2b557",t._sentryDebugIdIdentifier="sentry-dbid-0b5b42d9-1db4-48a9-b828-9cf1d8d2b557")}catch(t){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9453],{31215:function(t,e,o){(window.__NEXT_P=window.__NEXT_P||[]).push(["/about-websurg/authors/[id]",function(){return o(44486)}])},86716:function(t,e,o){"use strict";var a=o(85893),r=o(28675),n=o(38436),l=o(67294),s=o(51895),u=o.n(s),i=o(60047),d=o(4785);e.Z=t=>{let{id:e,type:o,view:s="basic"}=t,{isMember:_,isLoading:c}=(0,n.Z)(),{getIsFollow:h,toggleFollow:m}=(0,r.O)(),[w,f]=l.useState(h({id:e,type:o})),[A,p]=l.useState(!1),g=[u().FollowButton];switch(s){case"authorCard":g.push(u().FollowButton__AuthorCard);break;case"authorHeader":g.push(u().FollowButton__AuthorHeader)}w?g.push(u().FollowButton__UnFollow):g.push(u().FollowButton__Follow);let{t:x}=(0,i.$G)();return(0,a.jsx)(l.Suspense,{"data-sentry-element":"Suspense","data-sentry-component":"FollowButton","data-sentry-source-file":"FollowButton.tsx",children:_&&A?(0,a.jsx)(d.Z,{className:u().FollowButton__Loading}):_&&!c?(0,a.jsxs)("button",{className:g.join(" "),onClick:t=>{t.preventDefault(),p(!0),m({id:e,type:o}).then(t=>{t&&f(!w),p(!1)})},children:[(0,a.jsx)("div",{className:u().FollowButton__Icon,children:w?"â":"+"}),(0,a.jsx)("div",{className:u().FollowButton__Label,children:w?x("unfollow",{defaultValue:"Unfollow",ns:"common"}):x("follow",{defaultValue:"Follow",ns:"common"})})]}):null})}},44486:function(t,e,o){"use strict";o.r(e),o.d(e,{__N_SSG:function(){return B},default:function(){return _id_}});var a=o(85893),r=o(6033),n=o(4785),l=o(67294),s=o(80798),u=o.n(s),i=o(40824),d=o(18007),_=o(86716),c=o(85481),h=o(64452),m=o(90764),w=o(18318),f=o(44137),A=o(5152),p=o.n(A),g=o(52),x=o(60047),H=o(8804);let y=p()(()=>o.e(9597).then(o.bind(o,89597)),{loadableGenerated:{webpack:()=>[89597]},ssr:!0});var HeroHeaderAuthor_HeroHeaderAuthor=t=>{var e;let{author:o}=t,{t:r}=(0,x.$G)();return(0,a.jsx)("div",{className:u().HeroHeaderAuthor,"data-sentry-component":"HeroHeaderAuthor","data-sentry-source-file":"HeroHeaderAuthor.tsx",children:(0,a.jsxs)("div",{className:u().Author__Card,children:[(0,a.jsx)("div",{className:u().Avatar__Container,children:(0,a.jsx)(c.Z,{big:!0,src:(null==o?void 0:null===(e=o.picture)||void 0===e?void 0:e.length)>0?"".concat(H.L4,"/v7/upload/authors/pics/").concat(o.picture):null,alt:"".concat(null==o?void 0:o.firstname," ").concat(null==o?void 0:o.lastname),addClass:u().Avatar__Component,fallback:(0,f.yG)(o),"data-sentry-element":"Avatar","data-sentry-source-file":"HeroHeaderAuthor.tsx"})}),(0,a.jsxs)(i.Z,{level:1,as:"h2","data-sentry-element":"Title","data-sentry-source-file":"HeroHeaderAuthor.tsx",children:[null==o?void 0:o.firstname," ",null==o?void 0:o.lastname]}),(0,a.jsx)(d.Z,{as:"p",className:u().Author__Job,"data-sentry-element":"Text","data-sentry-source-file":"HeroHeaderAuthor.tsx",children:null==o?void 0:o.job_function}),(0,a.jsxs)(d.Z,{as:"p",className:u().Author__Location,"data-sentry-element":"Text","data-sentry-source-file":"HeroHeaderAuthor.tsx",children:[null==o?void 0:o.institution,(0,a.jsx)("br",{}),null==o?void 0:o.city,", ",(0,g.d)(null==o?void 0:o.countryISO)]}),(0,a.jsx)(m.vS,{addClass:u().Author__Tag__List,specList:o.tags,"data-sentry-element":"SpecListIcon","data-sentry-source-file":"HeroHeaderAuthor.tsx"}),(0,a.jsxs)("div",{className:u().Author__Actions,children:[(0,a.jsx)(_.Z,{type:"author",id:o.id,view:"authorHeader","data-sentry-element":"FollowButton","data-sentry-source-file":"HeroHeaderAuthor.tsx"}),(0,a.jsxs)("div",{className:u().Author__Stats,children:[(0,a.jsxs)(d.Z,{as:"div",className:u().Author__Stats__Block,"data-sentry-element":"Text","data-sentry-source-file":"HeroHeaderAuthor.tsx",children:[(0,a.jsx)("p",{className:u().Author__Stats__Count,children:(0,h.aB)(o.nbMedias)}),(0,a.jsxs)("p",{children:[(0,a.jsx)(w.Z7H,{size:20,"data-sentry-element":"IoPlay","data-sentry-source-file":"HeroHeaderAuthor.tsx"}),(0,h.Qt)(r("videos",{count:o.nbMedias,defaultValue:"videos"}))]})]}),(0,a.jsxs)(d.Z,{as:"div",className:u().Author__Stats__Block,"data-sentry-element":"Text","data-sentry-source-file":"HeroHeaderAuthor.tsx",children:[(0,a.jsx)("p",{className:u().Author__Stats__Count,children:(0,h.aB)(o.nbViews)}),(0,a.jsxs)("p",{children:[(0,a.jsx)(w.U3C,{size:20,"data-sentry-element":"IoEyeSharp","data-sentry-source-file":"HeroHeaderAuthor.tsx"}),(0,h.Qt)(r("media.views",{defaultValue:"view"}))]})]})]}),o.resume&&(0,a.jsx)(y,{resume:o.resume})]})]})})},v=o(25058),b=o(9008),j=o.n(b),F=o(11163),B=!0,_id_=t=>{var e;let{author:o}=t,s=(0,F.useRouter)(),u="".concat(null==o?void 0:o.firstname," ").concat(null==o?void 0:o.lastname),i=(0,l.useMemo)(()=>(0,H.NR)(u),[u]),d="".concat(u," is an author at WebSurg.com. Find out more about ").concat(u," and is work on WebSurg."),_="https://websurg.com/about-websurg/authors/".concat(null==o?void 0:o.id),c="".concat(H.L4,"/v7/upload/authors/pics/").concat(null==o?void 0:o.picture),h="WebSurg, author, ".concat(null==o?void 0:o.firstname," ").concat(null==o?void 0:o.lastname,", ").concat((null==o?void 0:o.job_function)||"surgeon",", ").concat((null==o?void 0:o.institution)||"medical professional"),m=o?'{\n "@context": "https://schema.org/",\n "@type": "Person",\n "name": "'.concat(o.firstname+" "+o.lastname,'",\n "honorificSuffix": "').concat(o.job_function||"",'",\n "jobTitle": "').concat(o.job_function||"",'",\n "url":"https://websurg.com/about-websurg/authors/').concat(o.id,'",\n "description":').concat(JSON.stringify(null!==(e=o.resume)&&void 0!==e?e:""),',\n "image": "https://cdn2.websurg.com/v7/upload/authors/pics/').concat(o.picture,'",\n "worksFor":{\n "@type": "Organization",\n "name": "').concat(o.institution,'"\n }\n }'):null,w=(0,a.jsxs)(j(),{children:[(0,a.jsx)("title",{children:i}),(0,a.jsx)("meta",{name:"description",content:d}),(0,a.jsx)("link",{rel:"canonical",href:_},"canonical"),(0,a.jsx)("meta",{name:"keywords",content:h}),(0,a.jsx)("meta",{property:"og:site_name",content:"WebSurg.com"},"ogsite"),(0,a.jsx)("meta",{property:"og:url",content:_},"ogurl"),(0,a.jsx)("meta",{property:"og:type",content:"profile"},"ogtype"),(0,a.jsx)("meta",{property:"og:title",content:i}
1,"ogtitle"),(0,a.jsx)("meta",{property:"og:description",content:d}),(0,a.jsx)("meta",{property:"og:image",content:c},"ogimg"),(0,a.jsx)("meta",{property:"og:image:width",content:"295"}),(0,a.jsx)("meta",{property:"og:image:height",content:"166"}),(0,a.jsx)("meta",{property:"og:language",content:"en"},"oglng"),(0,a.jsx)("meta",{name:"twitter:card",content:"summary_large_image"},"twcard"),(0,a.jsx)("meta",{name:"twitter:site",content:"@websurg"},"twsite"),(0,a.jsx)("meta",{name:"twitter:author",content:"@websurg"},"twauthor"),(0,a.jsx)("meta",{name:"twitter:title",content:i},"twtitle"),(0,a.jsx)("meta",{name:"twitter:description",content:d},"twdesc"),(0,a.jsx)("meta",{name:"twitter:image",content:c}),m&&(0,a.jsx)("script",{type:"application/ld+json",children:m},"jsonld")]}),f=(0,l.useMemo)(()=>s.isFallback?[]:[{field_name:"author_ids",value:String(o.id)}],[o,s.isFallback]);return s.isFallback?(0,a.jsxs)(a.Fragment,{children:[w,(0,a.jsx)(n.Z,{})]}):(0,a.jsxs)(a.Fragment,{children:[w,(0,a.jsxs)(r.Z,{variant:"full",endingPadding:!0,"data-sentry-element":"ContentWrapper","data-sentry-source-file":"[id].tsx",children:[(0,a.jsx)(HeroHeaderAuthor_HeroHeaderAuthor,{author:o,"data-sentry-element":"HeroHeaderAuthor","data-sentry-source-file":"[id].tsx"}),(0,a.jsx)(l.Suspense,{fallback:(0,a.jsx)(n.Z,{}),"data-sentry-element":"Suspense","data-sentry-source-file":"[id].tsx",children:(0,a.jsx)(v.p,{hideQuery:!0,disableAuthorSearch:!0,disableMediaSearchArchived:!0,combineMediaAndArchivedMedia:!0,defaultFiltersBy:f,"data-sentry-element":"InstantSearch","data-sentry-source-file":"[id].tsx"})})]})]})}},85481:function(t,e,o){"use strict";var a=o(85893);o(67294);var r=o(77507),n=o.n(r),l=o(25675),s=o.n(l),u=o(90512);e.Z=t=>{let{big:e,size:o=100,addClass:r="",fallback:l=!1,src:i,alt:d,..._}=t;return(0,a.jsxs)("div",{className:(0,u.Z)(n().Avatar,{[n().AvatarBig]:e,[r]:""!=r}),"data-sentry-component":"Avatar","data-sentry-source-file":"Avatar.tsx",children:[i?(0,a.jsx)(s(),{src:i,alt:d,width:e?200:o,height:e?200:o,..._}):null,null!=l&&null==i?(0,a.jsx)("span",{className:n().fallback,children:l}):null]})}},28675:function(t,e,o){"use strict";o.d(e,{O:function(){return useFollow}});var a=o(43951),r=o(9552),n=o(41248),l=o(56919),s=o(60047),u=o(41298),i=o(9710);let useFollow=()=>{let t=(0,n.v9)(r.lf),{t:e}=(0,s.$G)(),[o,{isLoading:d}]=(0,a.$w)(),[_,{isLoading:c}]=(0,a.Wu)(),{toast:h}=(0,l.pm)(),handleFollow=async(t,e)=>await o({author:"author"===e?"/api/authors/".concat(t):null,specialties:"author"!==e?"/api/tags/".concat(t):null,date:new Date}).unwrap().then(()=>(h({title:m[e].follow,duration:3e3,type:"success"}),!0)).catch(t=>(h({title:m[e].error,duration:5e3,type:"error"}),!1)),handleUnFollow=async(e,o)=>{var a,r;let n=null===(r=t.list[o])||void 0===r?void 0:null===(a=r[e])||void 0===a?void 0:a.id;return null!=n&&await _(n).unwrap().then(()=>(h({title:m[o].unfollow,duration:3e3,type:"success"}),(0,u.AC)("user","unFollow",o,n,{dimension1:"author"!==o?i.$W[n]:n.toString()}),!0)).catch(t=>(h({title:m[o].error,duration:5e3,type:"error"}),!1))},getIsFollow=e=>{var o;let{id:a,type:r}=e;return(null===(o=t.list[r])||void 0===o?void 0:o[a])!=null},m={author:{follow:e("notification.author.follow",{defaultValue:"Author followed.",ns:"common"}),unfollow:e("notification.author.unfollow",{defaultValue:"Author unfollowed.",ns:"common"}),error:e("notification.author.error",{defaultValue:"unable to perform this action please try again.",ns:"common"})},tag:{follow:e("notification.tag.follow",{defaultValue:"Specialty followed.",ns:"common"}),unfollow:e("notification.tag.unfollow",{defaultValue:"Specialty unfollowed.",ns:"common"}),error:e("notification.tag.error",{defaultValue:"unable to perform this action please try again.",ns:"common"})}},toggleFollow=async o=>{let{id:a,type:r}=o,n=getIsFollow(o);if(!n)return await handleFollow(a,r);{let o="tag"===r&&Object.keys(t.list.tag).length<=1;if(o){h({title:e("notification.tag.must-follow-one",{defaultValue:"You must follow at least one specialty.",ns:"common"}),duration:5e3,type:"error"});return}return await handleUnFollow(a,r)}};
1return{isLoadingToggleFollow:d||c,getIsFollow,toggleFollow}}},51895:function(t){t.exports={FollowButton:"FollowButton_FollowButton__HaId1",FollowButton__Icon:"FollowButton_FollowButton__Icon__wuRwE",FollowButton__Label:"FollowButton_FollowButton__Label__O1s3m",FollowButton__AuthorHeader:"FollowButton_FollowButton__AuthorHeader__KD4Oq",FollowButton__UnFollow:"FollowButton_FollowButton__UnFollow__w41QL",FollowButton__Follow:"FollowButton_FollowButton__Follow__wVgfd",FollowButton__Loading:"FollowButton_FollowButton__Loading__vuRXs"}},80798:function(t){t.exports={HeroHeaderAuthor:"HeroHeaderAuthor_HeroHeaderAuthor__e4PDY",Author__Card:"HeroHeaderAuthor_Author__Card__f8nGI",Avatar__Container:"HeroHeaderAuthor_Avatar__Container__I9Ol1",Avatar__Component:"HeroHeaderAuthor_Avatar__Component__M7gx_",Author__Job:"HeroHeaderAuthor_Author__Job__hLXGc",Author__Location:"HeroHeaderAuthor_Author__Location__EcemL",Author__Actions:"HeroHeaderAuthor_Author__Actions__1vzbD",Author__Stats:"HeroHeaderAuthor_Author__Stats__5PMEo",Author__Stats__Block:"HeroHeaderAuthor_Author__Stats__Block__UDcAS",Author__Stats__Count:"HeroHeaderAuthor_Author__Stats__Count___oZrk",Author__Bio:"HeroHeaderAuthor_Author__Bio__xkJoF",Author__Bio__Header:"HeroHeaderAuthor_Author__Bio__Header__sAKrF",Author__Bio__Content:"HeroHeaderAuthor_Author__Bio__Content___Oudp",Author__Tag__List:"HeroHeaderAuthor_Author__Tag__List__GGQAX",ModalBioAuthor:"HeroHeaderAuthor_ModalBioAuthor__Pfy1u",ModalBioAuthor__close:"HeroHeaderAuthor_ModalBioAuthor__close__xv_Iz",ModalBioAuthor__content:"HeroHeaderAuthor_ModalBioAuthor__content__B70uw",ModalBioAuthor__trigger:"HeroHeaderAuthor_ModalBioAuthor__trigger__P_Xhc",ModalBioAuthor__Title:"HeroHeaderAuthor_ModalBioAuthor__Title__04ceD"}},77507:function(t){t.exports={Avatar:"Avatar_Avatar__33tmi",AvatarBig:"Avatar_AvatarBig__T6vkV"}}},function(t){t.O(0,[6660,8764,1139,6228,9846,2163,3373,4471,5058,9774,2888,179],function(){return t(t.s=31215)}),_N_E=t.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.