1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6908],{96908:(e,i,r)=>{r.r(i),r.d(i,{default:()=>x});var t=r(95155),l=r(12115);let s=(0,r(71847).A)("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);var n=r(97003),o=r(28990),a=r(9515),c=r(60588),d=r(82180);function x(e){var i;let{data:r}=e,x=r||{},h=x.isLoading||!1,u=x.error,[m,f]=(0,l.useState)(!1);console.log(x,"therec");let g=(e=>{if(!e)return"??";let i=e.trim().split(" ").filter(Boolean);if(0===i.length)return"??";if(1===i.length){let e=i[0];return e?e.substring(0,2).toUpperCase():"??"}let r=i[0],t=i[i.length-1];return r&&t&&r[0]&&t[0]?(r[0]+t[0]).toUpperCase():"??"})(x.recruiterName||"");return h?(0,t.jsx)("div",{className:"flex h-full flex-col",children:(0,t.jsx)("div",{className:"flex-1 flex items-center justify-center",children:(0,t.jsx)(a.Ay,{size:"lg"})})}):u?(0,t.jsx)("div",{className:"flex h-full flex-col",children:(0,t.jsx)("div",{className:"flex-1 flex items-center justify-center",children:(0,t.jsx)("p",{className:"text-text-secondary",children:u})})}):(0,t.jsx)("div",{className:"flex h-full flex-col",children:(0,t.jsxs)("div",{className:"flex-1 overflow-y-auto",children:[(0,t.jsxs)("div",{className:"rounded-lg bg-brand-4th p-6 text-white relative",children:[(0,t.jsxs)("div",{className:"absolute top-4 right-4 flex gap-2 z-10",children:[x.recruiterTimezone?(0,t.jsxs)(d.Tooltip,{children:[(0,t.jsx)(d.TooltipTrigger,{asChild:!0,children:(0,t.jsx)("button",{type:"button",className:"rounded-full transition-colors cursor-pointer hover:opacity-80 focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2 focus:ring-offset-brand-4th","aria-label":"Timezone information",children:(0,t.jsx)(o.A,{icon:"/someglobe.svg",width:20,height:20})})}),(0,t.jsx)(d.TooltipContent,{side:"bottom",sideOffset:0,avoidCollisions:!0,className:"z-[9999] bg-white !text-text-primary shadow-md border border-text-stroke [&>svg]:!bg-white [&>svg]:!fill-white [&>svg]:border [&>svg]:border-text-stroke",children:(null==x?void 0:x.recruiterTimezone)||"Timezone not available"})]}):null,x.recruiterLinkedin?(0,t.jsxs)(d.Tooltip,{children:[(0,t.jsx)(d.TooltipTrigger,{asChild:!0,children:(0,t.jsx)("a",{href:x.recruiterLinkedin,target:"_blank",rel:"noopener noreferrer",className:"rounded-full transition-colors cursor-pointer hover:opacity-80 focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2 focus:ring-offset-brand-4th","aria-label":"LinkedIn profile",children:(0,t.jsx)(o.A,{icon:"/linkedin.svg",width:20,height:20})})}),(0,t.jsx)(d.TooltipContent,{side:"bottom",sideOffset:-5,avoidCollisions:!0,className:"z-[9999] bg-white !text-text-primary shadow-md border border-text-stroke [&>svg]:!bg-white [&>svg]:!fill-white [&>svg]:border [&>svg]:border-text-stroke",children:(null==x?void 0:x.recruiterLinkedin)||"LinkedIn Profile"})]}):null]}),(0,t.jsxs)("div",{className:"flex flex-col items-center mb-6",children:[(0,t.jsx)("div",{className:"mb-4 h-24 w-24 rounded-full bg-white flex items-center justify-center text-brand-4th text-3xl font-bold overflow-hidden",children:(null==x?void 0:x.profile_picture)&&!m?(0,t.jsx)("img",{src:null==x?void 0:x.profile_picture,alt:(null==x?void 0:x.recruiterName)||"Recruiter",className:"w-full h-full object-cover",onError:()=>f(!0),onLoad:()=>f(!1)}):(0,t.jsx)("span",{children:g})}),(0,t.jsx)("h3",{className:"text-xl font-semibold mb-1",children:x.recruiterName||"Unknown Recruiter"}),(0,t.jsx)("p",{className:"text-sm text-gray-300 mb-3",children:x.recruiterTitle||"Recruiter"}),(null==x?void 0:x.recruiterLocation)?(0,t.jsxs)("div",{className:"flex items-center gap-1 text-sm capitalize text-gray-300",children:[(0,t.jsx)(s,{className:"h-4 w-4"}),(0,t.jsx)("span",{children:x.recruiterLocation})]}):null]}),(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-4 text-sm",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-xs mb-1",children:"Contact No:"}),(0,t.jsx)("p",{className:"font-medium text-xs cursor-pointer hover:underline",onClick:()=>window.open("tel:".concat(x.recruiterPhone),"_blank"),children:x.recruiterPhone?(0,c.jn)(x.recruiterPhone,"IN"):"N/A"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-xs mb-1",children:"Email Id:"}),(0,t.jsx)("p",{className:"font-medium break-all text-xs cursor-pointer hover:underline",onClick:()=>window.open("mailto:".concat(x.recruiterEmail),"_blank"),children:x.recruiterEmail||"N/A"})]})]})]}),(0,t.jsxs)("div",{className:"mt-6",children:[(0,t.jsxs)("h4",{className:"text-base font-semibold text-text-primary mb-3",children:["About ",(null==(i=x.recruiterName)?void 0:i.split(" ")[0])||"About Recruiter"]}),(0,t.jsx)("p",{className:"text-sm text-text-secondary leading-relaxed",children:x.recruiterBio||"No bio available"})]}),(0,t.jsx)(n.Button,{disabled:!x.meeting_link,className:"mt-6 text-sm w-full bg-[#1a2847] hover:bg-[#152038] text-white",size:"lg",onClick:()=>window.open(x.meeting_link,"_blank"),children:x.meeting_link?"Book a meeting":"No meeting link available"}),(0,t.jsx)("div",{className:"mt-1 flex justify-start",children:(0,t.jsx)(o.A,{icon:"/xqtivalt.svg",width:100,height:100})})]})})}}}]);
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.