1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7133],{4370:(e,t,r)=>{"use strict";r.d(t,{DatePicker:()=>h});var a=r(95155),n=r(12115),s=r(30482),l=r(10091),o=r(56222),i=r(67256),d=r(35321),c=r(16485),u=r(25016),m=r(97450);function x(e){let{value:t,onChange:r,placeholder:i="dd/mm/yyyy",className:x,disabled:h=!1,dataTestId:p,error:g=!1,helperText:b,label:v,maxDate:f,minDate:y}=e,[j,N]=n.useState(!1),w=!!t,C=n.useCallback(e=>{null==r||r(e),N(!1)},[r]);return(0,a.jsx)(l.$J,{dateAdapter:o.h,children:(0,a.jsxs)("div",{className:"relative w-full",children:[(0,a.jsxs)(m.AM,{open:j,onOpenChange:e=>{h||N(e)},children:[(0,a.jsx)(m.Wv,{asChild:!0,children:(0,a.jsxs)("button",{type:"button",disabled:h,"data-testid":p,className:(0,u.cn)("relative flex h-[46px] w-full items-center rounded-lg border bg-white px-3 text-left cursor-pointer",g?"border-[var(--color-error-solid)]":"border-[#E5E7EB]",h&&"cursor-not-allowed opacity-60",x),children:[v?(0,a.jsx)("span",{className:(0,u.cn)("pointer-events-none absolute left-3 bg-white px-1 text-[12px] font-medium text-gray-600 transition-all",w?"-top-2":"top-1/2 -translate-y-1/2 text-[14px] text-gray-400"),children:v}):null,(0,a.jsx)("span",{className:(0,u.cn)("flex-1 truncate text-[14px] font-medium",w?"pt-1 text-gray-900":"text-transparent"),children:w&&t?(0,s.GP)(t,"dd/MM/yyyy"):i}),(0,a.jsx)(c.A,{className:"ml-2 h-4 w-4 shrink-0 text-gray-500","aria-hidden":!0})]})}),(0,a.jsx)(m.hl,{className:"w-auto p-0",align:"start",children:(0,a.jsx)(d.x,{value:null!=t?t:null,onChange:C,...y?{minDate:y}:{},...f?{maxDate:f}:{}})})]}),b?(0,a.jsx)("p",{className:(0,u.cn)("mt-1 text-[12px] leading-snug",g?"text-[var(--color-error-solid)]":"text-gray-500"),children:b}):null]})})}function h(e){let{value:t,onChange:r,placeholder:n="dd/mm/yyyy",className:s,disabled:d=!1,dataTestId:m,error:h=!1,helperText:p,label:g,maxDate:b,minDate:v,calendarOnly:f=!1}=e;return f?(0,a.jsx)(x,{...void 0!==t?{value:t}:{},...r?{onChange:r}:{},placeholder:n,...s?{className:s}:{},disabled:d,...m?{dataTestId:m}:{},error:h,...p?{helperText:p}:{},...g?{label:g}:{},...b?{maxDate:b}:{},...v?{minDate:v}:{}}):(0,a.jsx)(l.$J,{dateAdapter:o.h,children:(0,a.jsx)("div",{className:"relative w-full",children:(0,a.jsx)(i.l,{value:t||null,onChange:r||(()=>{}),format:"dd/MM/yyyy",disabled:d,...b&&{maxDate:b},...v&&{minDate:v},slotProps:{textField:{label:g,className:(0,u.cn)("w-full",s),size:"small",error:h,helperText:p,fullWidth:!0,inputProps:{placeholder:n},InputProps:{style:{fontSize:"14px",padding:"8px 12px",height:"40px",borderRadius:"6px",border:h?"1px solid var(--color-error-solid)":"1px solid var(--color-text-stroke)",backgroundColor:"white",minWidth:"120px"},endAdornment:null},FormHelperTextProps:{style:{whiteSpace:"normal",wordWrap:"break-word",maxWidth:"100%",margin:"4px 0 0 0",fontSize:"12px",lineHeight:"1.4"}}},popper:{style:{zIndex:9999}}},slots:{openPickerIcon:c.A},"data-testid":m})})})}},4416:(e,t,r)=>{"use strict";r.d(t,{default:()=>o});var a=r(95155);r(12115);var n=r(28990),s=r(87133),l=r(41180);function o(e){let{documents:t=[],onAdd:r}=e,o=t.length>0?t:[{id:"1",name:"Document1.Pdf",fileType:"pdf",url:"",uploadedAt:""},{id:"2",name:"Document2.Doc",fileType:"doc",url:"",uploadedAt:""},{id:"3",name:"Document3.Pdf",fileType:"pdf",url:"",uploadedAt:""},{id:"4",name:"Document4.Doc",fileType:"doc",url:"",uploadedAt:""}],i=o.slice(0,2),d=Math.max(o.length-2,0),c=()=>{if(r)return void r();l.Lx.openDrawer("add-documents",{width:400,data:{variant:"candidate",documents:o.map(e=>({id:e.id,name:e.name,uploadedAt:new Date().toISOString()}))},title:"Upload Documents",anchor:"right",size:"full"})};return(0,a.jsx)(s.K_,{title:"My docs",showPlusIcon:!0,isExpanded:!0,onAdd:c,children:(0,a.jsx)("div",{children:(0,a.jsx)("div",{className:"pb-3",children:(0,a.jsxs)("ul",{className:" space-y-2",children:[(0,a.jsx)("div",{className:"text-sm text-text-placeholder",children:"Recently Added"}),i.map(e=>(0,a.jsxs)("li",{className:"flex items-center gap-1 ",children:[(0,a.jsx)("div",{className:"w-5 h-5 rounded-md flex items-center justify-center",children:(0,a.jsx)(n.A,{icon:"/DocumentIcon2.svg",width:20,height:20,style:{color:"#141B34"}})}),(0,a.jsx)("span",{className:"text-sm text-text-placeholder",children:e.name})]},e.id)),d>0?(0,a.jsxs)("li",{className:"flex items-center gap-1 cursor-pointer",children:[(0,a.jsx)("div",{className:"w-5 h-5 rounded-md flex items-center justify-center",children:(0,a.jsx)(n.A,{icon:"/DocumentIcon2.svg",width:20,height:20})}),(0,a.jsxs)("span",{className:"text-sm text-text-placeholder cursor-pointer",onClick:c,children:["+",d," Documents"]})]}):null]})})})})}},4509:(e,t,r)=>{"use strict";r.d(t,{Form:()=>i,FormDescription:()=>p,FormField:()=>c,FormItem:()=>x,FormLabel:()=>h,FormMessage:()=>g});var a=r(95155),n=r(12115),s=r(22544),l=r(25016),o=r(90235);let i=s.Op,d=n.createContext({}),c=e=>{let{...t}=e;return(0,a.jsx)(d.Provider,{value:{name:t.name},children:(0,a.jsx)(s.xI,{...t})})},u=()=>{let e=n.useContext(d),t=n.useContext(m),{getFieldState:r}=(0,s.xW)(),a=(0,s.lN)({name:e.name}),l=r(e.name,a);if(!e)throw Error("useFormField should be used within <FormField>");let{id:o}=t;return{id:o,name:e.name,formItemId:"".concat(o,"-form-item"),formDescriptionId:"".concat(o,"-form-item-description"),formMessageId:"".concat(o,"-form-item-message"),...l}},m=n.createContext({});function x(e){let{className:t,...r}=e,s=n.useId();return(0,a.jsx)(m.Provider,{value:{id:s},children:(0,a.jsx)("div",{"data-slot":"form-item",className:(0,l.cn)("grid gap-2",t),...r})})}function h(e){let{className:t,...r}=e,{error:n,formItemId:s}=u();return(0,a.jsx)(o.Label,{"data-slot":"form-label","data-error":!!n,className:(0,l.cn)("data-[error=true]:text-error-solid",t),htmlFor:s,...r})}function p(e){let{className:t,...r}=e,{formDescriptionId:n}=u();return(0,a.jsx)("p",{"data-slot":"form-description",id:n,className:(0,l.cn)("text-s text-text-secondary",t),...r})}function g(e){var t;let{className:r,...n}=e,{error:s,formMessageId:o}=u(),i=s?String(null!=(t=null==s?void 0:s.message)?t:""):n.children;return i?(0,a.jsx)("p",{"data-slot":"form-message",id:o,className:(0,l.cn)("text-s text-error-solid",r),...n,children:i}):null}},7235:(e,t,r)=>{"use strict";r.d(t,{Switch:()=>l});var a=r(95155);r(12115);var n=r(27599),s=r(25016);function l(e){let{className:t,...r}=e;return(0,a.jsx)(n.bL,{"data-slot":"switch",className:(0,s.cn)("peer data-[state=checked]:bg-brand-primary data-[state=unchecked]:bg-text-placeholder focus-visible:border-ring focus-visible:ring-ring/50 dark:data-[state=unchecked]:bg-input/80 inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",t),...r,children:(0,a.jsx)(n.zi,{"data-slot":"switch-thumb",className:(0,s.cn)("bg-text-bg pointer-events-none block size-4 rounded-full ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0")})})}},13120:(e,t,r)=>{"use strict";r.d(t,{MultiSelectInput:()=>d});var a=r(95155),n=r(12115),s=r(90235),l=r(24033),o=r(65229),i=r(25016);let d=e=>{let{label:t,required:r=!1,placeholder:d="Select",options:c,value:u,onChange:m,className:x,disabled:h=!1,error:p}
1=e,[g,b]=(0,n.useState)(!1),[v,f]=(0,n.useState)(""),y=(0,n.useRef)(null),j=c.filter(e=>u.includes(e.value)),N=c.filter(e=>!u.includes(e.value)&&e.label.toLowerCase().includes(v.toLowerCase())),w=e=>{u.includes(e)||m([...u,e]),f(""),b(!1)};return(0,n.useEffect)(()=>{let e=e=>{y.current&&!y.current.contains(e.target)&&(b(!1),f(""))};return g&&document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[g]),(0,a.jsxs)("div",{className:(0,i.cn)("space-y-2",x),children:[(0,a.jsxs)(s.Label,{className:"text-sm font-medium text-gray-700",children:[t,r&&(0,a.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,a.jsxs)("div",{className:"relative",ref:y,children:[(0,a.jsx)("div",{className:(0,i.cn)("min-h-[40px] bg-white border border-gray-200 rounded-md px-3 py-2 cursor-pointer","hover:border-gray-300 focus-within:ring-1",h&&"bg-gray-50 cursor-not-allowed opacity-50",p&&"border-red-500"),onClick:()=>{h||b(!g)},children:(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{className:"flex-1",children:[0===j.length&&!g&&(0,a.jsx)("span",{className:"text-black text-sm",children:d}),g&&(0,a.jsx)("input",{type:"text",value:v,onChange:e=>f(e.target.value),onKeyDown:e=>{"Enter"===e.key&&N.length>0&&N[0]&&w(N[0].value)},placeholder:"Search...",className:"flex-1 min-w-0 bg-transparent outline-none text-sm",autoFocus:!0}),!g&&j.length>0&&(0,a.jsxs)("span",{className:"text-gray-500 text-sm",children:[j.length," selected"]})]}),(0,a.jsx)(l.A,{className:"h-4 w-4 text-gray-400 shrink-0"})]})}),j.length>0&&(0,a.jsx)("div",{className:"flex flex-wrap gap-1 mt-2",children:j.map(e=>(0,a.jsxs)("div",{className:"inline-flex items-center gap-1 bg-gray-100 text-gray-700 px-2 py-1 rounded-md text-sm",children:[(0,a.jsx)("span",{children:e.label}),(0,a.jsx)("button",{type:"button",onClick:t=>{var r;t.stopPropagation(),r=e.value,m(u.filter(e=>e!==r))},className:"hover:bg-gray-200 rounded-full p-0.5",children:(0,a.jsx)(o.A,{className:"h-3 w-3"})})]},e.value))}),g&&(0,a.jsx)("div",{className:"absolute top-full left-0 right-0 mt-1 bg-white border border-gray-200 rounded-md shadow-lg z-10 max-h-48 overflow-y-auto",children:0===N.length?(0,a.jsx)("div",{className:"px-3 py-2 text-sm text-gray-500",children:"No options available"}):N.map(e=>(0,a.jsx)("button",{type:"button",onClick:()=>w(e.value),className:"w-full text-left px-3 py-2 text-sm hover:bg-gray-100 focus:bg-gray-100",children:e.label},e.value))})]}),p&&(0,a.jsx)("p",{className:"text-sm text-red-500",children:p})]})}},16419:(e,t,r)=>{"use strict";r.d(t,{Gg:()=>a,Q9:()=>d,Qc:()=>l,U1:()=>o,UH:()=>s,hv:()=>n,mt:()=>i});var a=function(e){return e.All="all",e.Invited="Invited",e.NotInvited="Not Invited",e}({});let n={ALL:"all",ACTIVE:"active",DEACTIVATED:"deactivated"},s={all:"All",active:"Active",deactivated:"Deactivated"},l={all:"All",Invited:"Invited","Not Invited":"Not Invited"};var o=function(e){return e.All="all",e.Active="active",e.Inactive="inactive",e.Pending="pending",e.Suspended="suspended",e}({});let i={all:"All",active:"Active",inactive:"Inactive",pending:"Pending",suspended:"Suspended"},d={all:"bg-gray-100 text-gray-800",active:"bg-green-100 text-green-800",inactive:"bg-red-100 text-red-800",pending:"bg-yellow-100 text-yellow-800",suspended:"bg-gray-100 text-gray-800"}},23955:(e,t,r)=>{"use strict";r.r(t),r.d(t,{THEMES:()=>c,THEME_ICONS:()=>m,THEME_LABELS:()=>u,THEME_SCRIPT:()=>g,ThemeProvider:()=>d,getNextTheme:()=>x,isDarkTheme:()=>h,resolveTheme:()=>p,useThemeContext:()=>l});var a=r(95155),n=r(12115);let s=(0,n.createContext)(void 0);function l(){let e=(0,n.useContext)(s);if(!e)throw Error("useThemeContext must be used within a ThemeProvider");return e}var o=r(33016),i=r(49203);function d(e){let{children:t,defaultTheme:r="light",storageKey:l=i.vQ.STORAGE.THEME_STORAGE_KEY,attribute:d="class",disableTransitionOnChange:c=!1}=e,[u,m]=(0,n.useState)(r),[h,p]=(0,n.useState)(!1);(0,n.useEffect)(()=>{p(!0);let e=o.a.getCookie(l);e&&["light","dark"].includes(e)?m(e):m(r)},[r,l]),(0,n.useEffect)(()=>{if(!h)return;let e=document.documentElement;c&&e.classList.add("theme-transition-disabled"),"class"===d?(e.classList.remove("light","dark"),e.classList.add(u)):e.setAttribute("data-theme",u),e.style.setProperty("color-scheme",u),c&&requestAnimationFrame(()=>{e.classList.remove("theme-transition-disabled")})},[u,d,c,h]);let g=(0,n.useCallback)(e=>{m(e),o.a.setCookie(l,e,{expires:365,path:"/",secure:!0,sameSite:"strict"})},[l]),b=(0,n.useCallback)(()=>{g(x(u))},[u,g]),v=(0,n.useMemo)(()=>u,[u]),f=(0,n.useMemo)(()=>"dark"===v,[v]),y=(0,n.useMemo)(()=>({theme:u,resolvedTheme:v,setTheme:g,toggleTheme:b,isDark:f}),[u,v,g,b,f]);return(0,a.jsx)(s.Provider,{value:y,children:t})}let c=["light","dark"],u={light:"Light",dark:"Dark"},m={light:"âï¸",dark:"\uD83C\uDF19"};function x(e){let t=c.indexOf(e);return -1===t?"light":c[(t+1)%c.length]}function h(e){return"dark"===e}function p(e){return e}
1let g="\n(function() {\n try {\n var storageKey = 'xqtiv_theme';\n var theme = document.cookie\n .split(';')\n .find(row => row.trim().startsWith(storageKey + '='));\n \n if (theme) {\n theme = theme.split('=')[1];\n } else {\n theme = 'light';\n }\n \n // Ensure theme is valid\n if (theme !== 'light' && theme !== 'dark') {\n theme = 'light';\n }\n \n document.documentElement.classList.remove('light', 'dark');\n document.documentElement.classList.add(theme);\n document.documentElement.setAttribute('data-theme', theme);\n } catch (e) {\n console.warn('Theme detection failed:', e);\n document.documentElement.classList.add('light');\n document.documentElement.setAttribute('data-theme', 'light');\n }\n})();\n"},27992:(e,t,r)=>{"use strict";r.d(t,{default:()=>c});var a=r(95155),n=r(12115),s=r(87133),l=r(5917),o=r(6191),i=r(25016),d=r(71761);function c(e){let{title:t,isExpanded:r=!1,isAIGenerated:c=!1,showPlusIcon:u=!1,showCheckbox:m=!1,isChecked:x=!1,onCheckboxChange:h,onAdd:p,children:g,className:b,dataTestId:v,showIcon:f=!0,onToggle:y,triggerClassName:j,customPlusIcon:N,iconsSlot:w}=e,[C,k]=(0,n.useState)(r),A=y?r:C;return(0,a.jsx)(s.Zp,{className:(0,i.cn)("bg-white border-none shadow-none mb-3 py-0",b),"data-testid":v,children:(0,a.jsx)(s.Wu,{className:"p-0",children:(0,a.jsx)(s.Mj,{type:"single",collapsible:!0,value:A?"content":"",children:(0,a.jsxs)(s.As,{value:"content",className:"border-none",children:[(0,a.jsx)(s.$m,{className:(0,i.cn)("px-6 py-4 text-left font-medium text-card-foreground w-full",j),showIcon:f,showPlusIcon:!1,isExpanded:A,onToggle:()=>{y?y():k(!C)},"data-testid":"".concat(v,"-trigger"),children:(0,a.jsxs)("div",{className:"flex items-center gap-2 justify-between w-full",children:[(0,a.jsxs)("div",{className:"heading-left-content flex items-center gap-1",children:[m&&(0,a.jsx)("div",{onClick:e=>{e.stopPropagation(),h&&h()},className:"flex items-center justify-center w-4 h-4 border rounded cursor-pointer transition-colors ".concat(x?"bg-brand-primary border-brand-primary":"border-brand-primary"),"data-testid":"".concat(v,"-checkbox"),children:x&&(0,a.jsx)(l.A,{className:"w-3 h-3 text-white"})}),c&&(0,a.jsx)(d.A,{text:"AI Generated"}),"string"==typeof t?(0,a.jsx)("span",{children:t}):t]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[w&&(0,a.jsx)("div",{className:"flex items-center gap-2",children:w}),u&&(0,a.jsx)("div",{onClick:e=>{e.stopPropagation(),p&&p()},className:"p-1 mx-2 rounded-full hover:bg-text-stroke cursor-pointer","data-testid":"".concat(v,"-add-button"),children:N||(0,a.jsx)(o.A,{className:"h-4 w-4 text-text-primary"})})]})]})}),(0,a.jsx)(s.ub,{isExpanded:A,"data-testid":"".concat(v,"-content"),children:g})]})})})})}},40829:(e,t,r)=>{"use strict";r.d(t,{Accordion:()=>o});var a=r(95155),n=r(12115),s=r(24033),l=r(25016);function o(e){let{title:t,description:r,icon:o,defaultOpen:i=!1,children:d,className:c,onToggle:u,onHide:m,collapsedContent:x,rightIcon:h}=e,[p,g]=n.useState(i);return(0,a.jsxs)("div",{className:(0,l.cn)("bg-white rounded-lg border border-[#EDF2F5] shadow-sm",c),children:[(0,a.jsxs)("button",{onClick:()=>{let e=!p;g(e),null==u||u(e)},className:"w-full px-6 py-4 flex items-center justify-between text-left transition-colors rounded-t-lg","aria-expanded":p,"aria-controls":"accordion-content-".concat(t.toLowerCase().replace(/\s+/g,"-")),children:[(0,a.jsx)("div",{className:"flex items-center gap-3",children:(0,a.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[o&&(0,a.jsx)("div",{className:"flex-shrink-0",children:o}),(0,a.jsx)("div",{children:(0,a.jsx)("h3",{className:"text-2xl font-bold text-black",children:t})})]}),(0,a.jsx)("div",{children:r&&(0,a.jsx)("p",{className:"text-sm text-[#5C5C5E] mt-1 max-w-[630px]",children:r})})]})}),(0,a.jsxs)("div",{className:"flex-shrink-0 flex items-center gap-2",children:[h&&(0,a.jsx)("div",{className:(0,l.cn)("flex-shrink-0 transition-all duration-300 ease-in-out",p?"transform rotate-90 opacity-100":"transform rotate-0 opacity-100"),children:h}),(0,a.jsx)("div",{className:(0,l.cn)("transition-all duration-300 ease-in-out",p?"transform rotate-180":"transform rotate-0"),children:(0,a.jsx)(s.A,{className:"w-5 h-5 text-[#5C5C5E]"})})]})]}),(0,a.jsx)("div",{id:"accordion-content-".concat(t.toLowerCase().replace(/\s+/g,"-")),className:(0,l.cn)("overflow-hidden transition-all duration-300 ease-in-out",p?"max-h-[1000px] opacity-100":"max-h-0 opacity-0"),children:(0,a.jsx)("div",{className:(0,l.cn)("px-6 pb-8 transition-all duration-300 ease-in-out",p?"transform translate-y-0 opacity-100":"transform -translate-y-4 opacity-0"),children:"function"==typeof d?d(()=>{g(!1),null==u||u(!1),null==m||m()}):d})}),!p&&x&&(0,a.jsx)("div",{className:(0,l.cn)("px-6 py-4 border-t border-[#
1EDF2F5] transition-all duration-300 ease-in-out","transform translate-y-0 opacity-100"),children:x})]})}},40905:e=>{e.exports={racingBorderAnimation:"SmartSearchAccordion_racingBorderAnimation__NVE6l",racingBorder:"SmartSearchAccordion_racingBorder__1S2xP"}},41921:(e,t,r)=>{"use strict";r.d(t,{DP:()=>n});var a=r(23955);function n(){let e=(0,a.useThemeContext)();return{theme:e.theme,setTheme:e.setTheme,resolvedTheme:e.resolvedTheme,toggleTheme:e.toggleTheme,isDark:e.isDark,forcedTheme:void 0,themes:["light","dark"]}}},50060:(e,t,r)=>{"use strict";r.d(t,{SingleSelect:()=>i});var a=r(95155),n=r(12115),s=r(90235),l=r(24033),o=r(25016);let i=e=>{let{label:t,noOptionsMessage:r="No options available",required:i=!1,placeholder:d="Select",options:c,value:u,onChange:m,className:x,disabled:h=!1,error:p}=e,[g,b]=(0,n.useState)(!1),v=(0,n.useRef)(null),f=c.find(e=>e.value===u);return(0,n.useEffect)(()=>{let e=e=>{v.current&&!v.current.contains(e.target)&&b(!1)};return g&&document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[g]),(0,a.jsxs)("div",{className:(0,o.cn)("space-y-2",x),children:[t&&(0,a.jsxs)(s.Label,{className:"text-sm font-medium text-gray-700",children:[t,i&&(0,a.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,a.jsxs)("div",{className:"relative",ref:v,children:[(0,a.jsx)("div",{className:(0,o.cn)("min-h-[40px] bg-white border border-gray-200 rounded-md px-3 py-2 cursor-pointer","hover:border-gray-300 focus-within:ring-1",h&&"bg-gray-50 cursor-not-allowed opacity-50",p&&"border-red-500",g&&"border-gray-300"),onClick:()=>{h||b(!g)},children:(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)("div",{className:"flex-1",children:f?(0,a.jsx)("span",{className:"text-gray-900",children:f.label}):(0,a.jsx)("span",{className:"text-black text-sm",children:d})}),(0,a.jsx)(l.A,{className:(0,o.cn)("h-4 w-4 text-gray-400 shrink-0 transition-transform",g&&"rotate-180")})]})}),g&&(0,a.jsx)("div",{className:"absolute top-full left-0 right-0 mt-1 bg-white border border-gray-200 rounded-md shadow-lg z-[9999] max-h-48 overflow-y-auto",children:0===c.length?(0,a.jsx)("div",{className:"px-3 py-2 text-sm text-gray-500",children:r}):c.map(e=>(0,a.jsx)("button",{type:"button",onClick:()=>{var t;return t=e.value,void(null==m||m(t),b(!1))},disabled:e.disabled,className:(0,o.cn)("w-full text-left px-3 py-2 text-sm hover:bg-gray-100 focus:bg-gray-100",u===e.value&&"bg-gray-100 text-gray-900",e.disabled&&"text-gray-400 cursor-not-allowed hover:bg-transparent"),children:e.label},e.value))})]}),p&&(0,a.jsx)("p",{className:"text-sm text-red-500",children:p})]})}},50618:(e,t,r)=>{"use strict";r.d(t,{Combobox:()=>p});var a=r(95155),n=r(12115),s=r(65229),l=r(24033),o=r(86651),i=r(35299),d=r(5917),c=r(25016),u=r(83098),m=r(97450),x=r(82180),h=r(33789);function p(e){let{options:t,value:r,onValueChange:p,placeholder:g="Select option...",searchPlaceholder:b="Search...",emptyText:v="No option found.",className:f,disabled:y=!1,allowCustomValues:j=!0,onOpenChange:N,isLoading:w=!1,onSearchChange:C,hasMore:k=!1,onLoadMore:A,totalCount:T=0,displayPrefix:S,selectedTooltip:E,selectedLabel:D,onClear:F}=e,[I,M]=n.useState(!1),[P,L]=n.useState(""),[B,_]=n.useState(!1),V=!!(w&&P&&P.trim().length>0),z=t.find(e=>e.value===r),R=null!=D?D:null==z?void 0:z.label,W=!!(E&&E.trim().length>0),H=n.useCallback(()=>{_(!1)},[]),G=n.useMemo(()=>C?(0,u.s)(C,400):void 0,[C]),O=(0,a.jsxs)("div",{role:"combobox","aria-expanded":I,tabIndex:y?-1:0,className:(0,c.cn)("bg-white flex h-9 w-full min-w-0 rounded-md border px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none md:text-sm focus-visible:border-brand-primary focus-visible:ring-brand-primary/50 focus-visible:ring-[3px] border-text-stroke items-center gap-1 cursor-pointer",y&&"pointer-events-none opacity-50",f),onPointerEnter:()=>{W&&_(!0)},onPointerLeave:()=>{_(!1)},children:[(0,a.jsx)("span",{className:"flex-1 min-w-0 text-left truncate text-text-secondary text-sm",children:R?"".concat(S?S+" : ":"").concat(R):g}),F&&r?(0,a.jsx)("button",{type:"button",onClick:e=>{e.preventDefault(),e.stopPropagation(),F()},className:"shrink-0 text-gray-400 hover:text-gray-600 cursor-pointer","aria-label":"Clear selection","data-testid":"combobox-clear-button",children:(0,a.jsx)(s.A,{className:"h-4 w-4"})}):null,(0,a.jsx)(l.A,{className:"h-4 w-4 opacity-50 shrink-0"})]}),Z=W?(0,a.jsxs)(x.Tooltip,{open:W&&B&&!I,children:[(0,a.jsx)(x.TooltipTrigger,{asChild:!0,children:(0,a.jsx)(m.Wv,{asChild:!0,disabled:y,children:O})}),(0,a.jsx)(x.TooltipContent,{side:"top",className:"max-w-xs",children:(0,a.jsx)("p",{children:E})})]}):(0,a.jsx)(m.Wv,{asChild:!0,disabled:y,children:O});return(0,a.jsxs)(m.AM,{open:!y&&I,onOpenChange:e=>
1{y||(M(e),e||H(),null==N||N(e))},children:[Z,(0,a.jsx)(m.hl,{className:"p-0 bg-white z-10000",align:"start",sideOffset:4,style:{width:"var(--radix-popover-trigger-width)"},children:(0,a.jsxs)("div",{className:"max-h-80 flex flex-col",children:[(0,a.jsx)("div",{className:"p-3 border-b border-text-stroke",children:(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)(o.A,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-text-placeholder"}),(0,a.jsx)(h.Input,{type:"text",placeholder:b,value:P,onChange:e=>{var r;L(r=e.target.value),G&&G(r),j&&r&&!t.some(e=>e.label.toLowerCase()===r.toLowerCase())&&setTimeout(()=>{null==p||p(r)},500)},className:"pl-10 h-8 text-sm"})]})}),V&&(0,a.jsxs)("div",{className:"px-3 py-2 text-xs text-text-placeholder flex items-center gap-2 border-b border-text-stroke",children:[(0,a.jsx)(i.A,{className:"h-3.5 w-3.5 animate-spin text-text-placeholder"}),(0,a.jsx)("span",{children:"Searching..."})]}),(0,a.jsx)("div",{className:"flex-1 overflow-y-auto max-h-60",onScroll:e=>{if(!A||!k||w)return;let t=e.currentTarget;t.scrollHeight-t.scrollTop-t.clientHeight<=50&&A()},children:w&&0===t.length?(0,a.jsxs)("div",{className:"flex items-center justify-center py-4",children:[(0,a.jsx)(i.A,{className:"h-4 w-4 animate-spin text-text-placeholder"}),(0,a.jsx)("span",{className:"ml-2 text-sm text-text-placeholder",children:"Loading..."})]}):t.length>0?(0,a.jsxs)(a.Fragment,{children:[t.map((e,n)=>{let s=r===e.value;return(0,a.jsx)("div",{className:"px-3 py-2 border-b border-text-stroke/50 last:border-b-0 flex items-center justify-between hover:bg-text-stroke cursor-pointer",onClick:()=>(e=>{let r=t.find(t=>t.value===e),a=r?r.value:e;null==p||p(a),M(!1),H()})(e.value),children:(0,a.jsxs)("div",{className:"flex items-center gap-3 flex-1",children:[(0,a.jsx)("div",{className:(0,c.cn)("flex items-center justify-center w-4 h-4 border rounded transition-colors cursor-pointer",s?"bg-brand-primary border-brand-primary":"border-brand-primary"),children:s&&(0,a.jsx)(d.A,{className:"w-3 h-3 text-white"})}),(0,a.jsx)("div",{className:"flex flex-col flex-1",children:(0,a.jsx)("div",{className:"flex items-center gap-2",children:(0,a.jsx)("span",{className:"text-sm font-medium truncate text-text-primary",children:e.label})})})]})},"".concat(e.value,"-").concat(n))}),k&&(0,a.jsx)("div",{className:" flex items-center justify-center gap-2 px-3 py-2 text-xs text-text-placeholder text-center border-t border-text-stroke/50",children:V?"":w?"Loading more...":"Scroll to load more..."}),!k&&t.length>0&&(0,a.jsx)("div",{className:"px-3 py-2 text-xs text-text-placeholder text-center border-t border-text-stroke/50",children:T>t.length?"Showing ".concat(t.length," of ").concat(T," options"):T>0?"Showing all ".concat(t.length," options"):"No more options"})]}):(0,a.jsx)("div",{className:"px-3 py-4 text-center",children:(0,a.jsx)("span",{className:"text-sm text-text-placeholder",children:v})})})]})})]})}},51539:(e,t,r)=>{"use strict";r.d(t,{AccordionComponent:()=>x,AccordionContent:()=>g,AccordionItem:()=>h,AccordionTrigger:()=>p});var a=r(95155),n=r(12115),s=r(6191),l=r(24033),o=r(25016),i=r(83101);let d=(0,i.F)("w-full",{variants:{variant:{default:"border border-text-stroke rounded-lg",ghost:"border-none"}},defaultVariants:{variant:"default"}}),c=(0,i.F)("border-b border-text-stroke last:border-b-0",{variants:{variant:{default:"",ghost:"border-none"}},defaultVariants:{variant:"default"}}),u=(0,i.F)("flex w-full items-center justify-between py-4 px-6 text-left font-medium transition-all hover:bg-text-stroke/50 [&[data-state=open]>svg]:rotate-180",{variants:{variant:{default:"text-card-foreground",ghost:"text-text-primary"}},defaultVariants:{variant:"default"}}),m=(0,i.F)("overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",{variants:{variant:{default:"bg-transparent",ghost:"bg-transparent"}},defaultVariants:{variant:"default"}}),x=n.forwardRef((e,t)=>{let{className:r,variant:s,type:l="single",collapsible:i=!1,defaultValue:c,value:u,onValueChange:m,...x}=e,[h,p]=n.useState(c||("single"===l?"":[])),g=void 0!==u?u:h,b=m||p,v=e=>{"single"===l&&i&&g===e?b(""):b(e)};return(0,a.jsx)("div",{ref:t,className:(0,o.cn)(d({variant:s}),r),"data-testid":"accordion",...x,children:n.Children.map(x.children,e=>n.isValidElement(e)?n.cloneElement(e,{variant:s,type:l,value:g,onValueChange:v}):e)})});x.displayName="AccordionComponent";let h=n.forwardRef((e,t)=>
1{let{className:r,variant:n,value:s,disabled:l=!1,onValueChange:i,type:d,...u}=e;return(0,a.jsx)("div",{ref:t,className:(0,o.cn)(c({variant:n}),r),"data-testid":"accordion-item-".concat(s),"data-disabled":l,...u})});h.displayName="AccordionItem";let p=n.forwardRef((e,t)=>{let{className:r,variant:n,showIcon:i=!0,showPlusIcon:d=!1,isExpanded:c=!1,onToggle:m,children:x,...h}=e;return(0,a.jsxs)("button",{ref:t,className:(0,o.cn)(u({variant:n}),r),onClick:e=>{m&&m(),h.onClick&&h.onClick(e)},"data-testid":"accordion-trigger-default",...h,children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 w-full",children:[d&&(0,a.jsx)(s.A,{className:(0,o.cn)("h-4 w-4 transition-transform duration-200",c?"rotate-45":"rotate-0")}),x]}),i&&(0,a.jsx)(l.A,{className:(0,o.cn)("h-4 w-4 transition-transform duration-200 cursor-pointer",c?"rotate-180":"rotate-0")})]})});p.displayName="AccordionTrigger";let g=n.forwardRef((e,t)=>{let{className:r,variant:n,isExpanded:s=!1,children:l,...i}=e;return(0,a.jsx)("div",{ref:t,className:(0,o.cn)(m({variant:n}),r),"data-testid":"accordion-content-default",style:{maxHeight:s?"none":"0",overflow:s?"visible":"hidden"},...i,children:(0,a.jsx)("div",{className:"pb-4 pt-0 px-6",children:l})})});g.displayName="AccordionContent"},60588:(e,t,r)=>{"use strict";r.d(t,{$k:()=>i,BO:()=>d,jn:()=>o,n4:()=>l});var a=r(65950),n=r(73977),s=r(34530);let l=(e,t)=>{if(!e||!t)return"";let r=e.replace(/^\+/,""),a=t.replace(/[\s\-\(\)]/g,"");return a.startsWith(r)?"+".concat(a):"+".concat(r).concat(a)},o=(e,t)=>{if(!e||""===e.trim())return"";try{let r=(0,a.l)(e,t);if(r&&r.isValid())return r.formatInternational()}catch(t){(0,n.yG)("debug","Failed to format phone number",{phoneNumber:e,error:t})}return e},i=(e,t)=>{let r=l(e,t);return r?"tel:".concat(r):""},d=(e,t)=>{if(!e||""===e.trim())return{countryCode:t?"+".concat(t):"+91",nationalNumber:"",isValid:!1};try{let r=(0,a.l)(e,t);if(r){let e={countryCode:"+".concat(r.countryCallingCode),nationalNumber:r.nationalNumber,isValid:r.isValid()};return r.country&&(e.iso2=String(r.country)),e}}catch(r){(0,n.yG)("debug","Failed to parse phone number",{phoneNumber:e,defaultCountry:t,error:r})}let r=e.replace(/[\s\-\(\)]/g,""),l=r.startsWith("+")?r:"+".concat(r);for(let e of(0,s.YA)())if(l.startsWith(e))return{countryCode:e,nationalNumber:l.substring(e.length),isValid:!1};return{countryCode:t?"+".concat(t):"+91",nationalNumber:r,isValid:!1}}},64412:(e,t,r)=>{"use strict";r.d(t,{AILoader:()=>l});var a=r(95155);r(12115);var n=r(25016),s=r(28990);function l(e){let{className:t,message:r="xyrus is searching for candidates..."}=e;return(0,a.jsxs)("div",{className:(0,n.cn)("flex flex-col items-center justify-center py-16 bg-white",t),children:[(0,a.jsxs)("div",{className:"relative mb-6",children:[(0,a.jsx)("div",{className:"absolute inset-0 bg-linear-to-r from-blue-400/20 via-purple-400/20 to-pink-400/20 rounded-full blur-xl animate-pulse"}),(0,a.jsx)("div",{className:"relative w-20 h-20 bg-linear-to-br from-brand-4th to-brand-4th/60 rounded-full flex items-center justify-center shadow-2xl",children:(0,a.jsx)(s.A,{icon:"smart-search-icon-white.svg",color:"white",width:40,height:40,className:"animate-bounce"})})]}),(0,a.jsx)("div",{className:"text-center space-y-3",children:(0,a.jsx)("h3",{className:"text-xl font-semibold bg-linear-to-r from-brand-4th to-brand-4th/60 bg-clip-text text-transparent",children:r})})]})}if("undefined"!=typeof document){let e=document.createElement("style");e.textContent="\n @keyframes float {\n 0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.3; }\n 50% { transform: translateY(-20px) rotate(180deg); opacity: 1; }\n }\n \n .animate-float {\n animation: float 3s ease-in-out infinite;\n }\n",document.head.appendChild(e)}},67001:(e,t,r)=>{"use strict";r.d(t,{T:()=>l});var a=r(95155),n=r(12115),s=r(25016);let l=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("textarea",{className:(0,s.cn)("flex min-h-[80px] w-full rounded-md border border-text-stroke px-3 py-2 text-body placeholder:text-text-secondary focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50","focus-visible:border-brand-primary focus-visible:ring-brand-primary/50 focus-visible:ring-[1px]","aria-invalid:ring-error-solid/20 dark:aria-invalid:ring-error-solid/40 aria-invalid:border-error-solid",r),ref:t,...n})});l.displayName="Textarea"},68390:(e,t,r)=>{"use strict";r.d(t,{SmartSearchAccordion:()=>g});var a=r(95155);r(12115);var n=r(65229),s=r(78435),l=r(66955),o=r(12108),i=r(25016),d=r(28990),c=r(97003),u=r(50618),m=r(40905),x=r.n(m),h=r(16419),p=r(7220);function g(e){let{className:t,rstTemplateOptions:r=[],rstLoading:m=!1,onLoadRstTemplates:g,onSearchRstTemplates:b,hasMore:v,totalCount:f,onLoadMore:y,engagementOptions:j=[],engagementLoading:N=!1,onLoadEngagements:w,onSearchEngagements:C,engagementHasMore:k,engagementTotalCount:A,onLoadMoreEngagements:T,selectedEngagementLabel:S,isAccordionContentOpen:E=!1,isAccordionAnimating:D=!1,shouldRenderAccordionContent:F=!1,accordionFormData:I={name:"",rst_template:"",project_id:"",current_company:"",current_role:"",smart_search:""},isAccordionSearchEnabled:M=!1,onAccordionToggle:P,onAccordionInputChange:L,onAccordionSearch:B,onAccordionClear:_,onAccordionClearField:V,onAccordionHide:z,handleLocalAccordionToggle:R,handleLocalAccordionInputChange:W,handleLocalAccordionSearch:H,handleLocalAccordionClear:G,handleLocalAccordionClearField:O,handleLocalAccordionHide:Z,handleFilter:K,filterValue:Q,filterLabel:$,verifiedFilterLabel:U,verifiedFilterValue:q,handleVerifiedFilter:Y}=e,J=L||W||(()=>{}),X=B||H||(()=>{}),ee=_||G||(()=>{}),et=V||O||(()=>{}),er=[{value:h.hv.ALL,label:"All"},{value:h.hv.ACTIVE,label:"Active"},{value:h.hv.DEACTIVATED,label:"Deactivated"}],ea=[{value:h.Gg.All,label:h.Qc[h.Gg.All]},{value:h.Gg.Invited,label:h.Qc[h.Gg.Invited]},{value:h.Gg.NotInvited,label:h.Qc[h.Gg.NotInvited]}];return(0,a.jsxs)("div",{className:(0,i.cn)("bg-white rounded-lg border border-[#
1EDF2F5] relative",E?"border-t-2 py-4":"py-4",t),style:E?{borderTopColor:"var(--color-primary-20)"}:{},children:[D&&(0,a.jsx)("div",{className:x().racingBorderAnimation}),E?(0,a.jsx)(a.Fragment,{children:F&&(0,a.jsx)("div",{className:"px-6 pb-6 space-y-4",children:(0,a.jsxs)("div",{onKeyDown:e=>{"Enter"===e.key&&M&&(e.preventDefault(),X())},className:"space-y-4",children:[(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsx)("label",{className:"block text-sm font-medium text-[#020617] mb-2",children:"Name"}),(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("input",{type:"text",className:"w-full px-3 py-2.5 pr-10 bg-white border border-[#EDF2F5] rounded-md text-sm focus:border-[#081B4F] focus:ring-1 focus:ring-[#081B4F] focus:outline-none transition-colors",placeholder:"Enter name...",value:I.name,onChange:e=>J("name",e.target.value)}),I.name&&(0,a.jsx)("button",{type:"button",onClick:()=>et("name"),className:"absolute right-3 top-1/2 transform -translate-y-1/2 text-gray-400 hover:text-gray-600 transition-colors",children:(0,a.jsx)(n.A,{className:"w-4 h-4"})})]})]}),(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsx)("label",{className:"block text-sm font-medium text-[#020617] mb-2",children:"Competency Matrix"}),(0,a.jsx)("div",{className:"relative z-0",children:(0,a.jsx)(u.Combobox,{className:"h-10.5 shadow-none",options:r,value:I.rst_template,onValueChange:e=>J("rst_template",e),onClear:()=>et("rst_template"),placeholder:"Select template...",searchPlaceholder:"Search templates...",emptyText:"No template found.",allowCustomValues:!1,isLoading:m,onSearchChange:b,hasMore:v||!1,totalCount:f||0,...y?{onLoadMore:y}:{},onOpenChange:e=>{e&&g&&g()}})})]}),(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsx)("label",{className:"block text-sm font-medium text-[#020617] mb-2",children:"Current Company"}),(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("input",{type:"text",className:"w-full px-3 py-2.5 pr-10 bg-white border border-[#EDF2F5] rounded-md text-sm focus:border-[#081B4F] focus:ring-1 focus:ring-[#081B4F] focus:outline-none transition-colors",placeholder:"Enter company...",value:I.current_company,onChange:e=>J("current_company",e.target.value)}),I.current_company&&(0,a.jsx)("button",{type:"button",onClick:()=>et("current_company"),className:"cursor-pointer absolute right-3 top-1/2 transform -translate-y-1/2 text-gray-400 hover:text-gray-600 transition-colors",children:(0,a.jsx)(n.A,{className:"w-4 h-4"})})]})]}),(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsx)("label",{className:"block text-sm font-medium text-[#020617] mb-2",children:"Engagements"}),(0,a.jsx)("div",{className:"relative z-0",children:(0,a.jsx)(u.Combobox,{className:"h-10.5 shadow-none",options:j,value:
1I.project_id,onValueChange:e=>J("project_id",e),onClear:()=>et("project_id"),placeholder:"Select engagement...",searchPlaceholder:"Search engagements...",emptyText:"No engagement found.",allowCustomValues:!1,isLoading:N,...S?{selectedLabel:S,selectedTooltip:S}:{},onSearchChange:C,hasMore:k||!1,totalCount:A||0,...T?{onLoadMore:T}:{},onOpenChange:e=>{e&&w&&w()}})})]}),(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsx)("label",{className:"block text-sm font-medium text-[#020617] mb-2",children:"Current Role"}),(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("input",{type:"text",className:"w-full px-3 py-2.5 pr-10 bg-white border border-[#EDF2F5] rounded-md text-sm focus:border-[#081B4F] focus:ring-1 focus:ring-[#081B4F] focus:outline-none transition-colors",placeholder:"Enter role...",value:I.current_role,onChange:e=>J("current_role",e.target.value)}),I.current_role&&(0,a.jsx)("button",{type:"button",onClick:()=>et("current_role"),className:"cursor-pointer absolute right-3 top-1/2 transform -translate-y-1/2 text-gray-400 hover:text-gray-600 transition-colors",children:(0,a.jsx)(n.A,{className:"w-4 h-4"})})]})]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{className:"block text-sm font-medium text-[#020617] mb-2",children:"Smart Search"}),(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("textarea",{rows:1,className:"w-full min-h-10 px-3 py-2.5 pr-10 bg-white border border-[#EDF2F5] rounded-md text-sm focus:border-[#081B4F] focus:ring-1 focus:ring-[#081B4F] focus:outline-none transition-colors resize-y",placeholder:"Enter criteria...",value:I.smart_search,onChange:e=>J("smart_search",e.target.value)}),I.smart_search&&(0,a.jsx)("button",{type:"button",onClick:()=>et("smart_search"),className:"absolute right-3 top-3 text-gray-400 hover:text-gray-600 transition-colors",children:(0,a.jsx)(n.A,{className:"w-4 h-4 cursor-pointer"})})]})]}),(0,a.jsxs)("div",{className:"flex justify-between items-center pt-2",children:[(0,a.jsxs)("div",{className:"flex items-center gap-4",children:[(0,a.jsxs)(c.Button,{type:"button",onClick:X,disabled:!M,className:"px-3 py-2 h-10 rounded-md font-medium text-sm flex items-center gap-2 transition-all duration-200 ".concat(M?"bg-linear-to-br from-brand-4th to-white/30 text-white hover:from-[#0E1A3F] cursor-pointer":"bg-gray-300 text-gray-500 cursor-not-allowed opacity-50"),children:[(0,a.jsx)(d.A,{icon:"smart-search-icon-white.svg",color:M?"white":"#9CA3AF",width:20,height:20}),"Search Results"]}),(0,a.jsxs)(p.DropdownMenu,{children:[(0,a.jsx)(p.DropdownMenuTrigger,{asChild:!0,children:(0,a.jsxs)(c.Button,{variant:"outline",size:"lg",className:"flex items-center gap-2 cursor-pointer text-sm",children:[" ",(0,a.jsx)(s.A,{className:"w-4 h-4"})," Status : ",U||"All"]})}),(0,a.jsx)(p.DropdownMenuContent,{align:"end",className:"space-y-1",children:null==ea?void 0:ea.map(e=>(0,a.jsx)(p.DropdownMenuItem,{onClick:()=>null==Y?void 0:Y(null==e?void 0:e.value),className:"cursor-pointer ".concat(q===(null==e?void 0:e.value)?"bg-text-stroke text-black":""),children:null==e?void 0:e.label},null==e?void 0:e.value))})]}),(0,a.jsxs)(p.DropdownMenu,{children:[(0,a.jsx)(p.DropdownMenuTrigger,{asChild:!0,children:(0,a.jsxs)(c.Button,{variant:"outline",size:"lg",className:"flex items-center gap-2 cursor-pointer text-sm",children:[" ",(0,a.jsx)(s.A,{className:"w-4 h-4"})," Filter : ",$]})}),(0,a.jsx)(p.DropdownMenuContent,{align:"end",className:"space-y-1",children:null==er?void 0:er.map(e=>(0,a.jsx)(p.DropdownMenuItem,{onClick:()=>null==K?void 0:K(null==e?void 0:e.value),className:"cursor-pointer ".concat(Q===(null==e?void 0:e.value)?"bg-text-stroke text-black":""),children:null==e?void 0:e.label},null==e?void 0:e.value))})]}),(0,a.jsx)(c.Button,{type:"button",onClick:ee,className:"px-3 py-2 h-10 text-[#5C5C5E] bg-white border border-[#EDF2F5] hover:bg-gray-50 rounded-md font-medium text-sm transition-all duration-200",children:"Clear all"})]}),(0,a.jsxs)("button",{type:"button",onClick:z||Z||(()=>{}),className:"cursor-pointer px-3 py-2 h-10 text-[#5C5C5E] rounded-md font-medium text-sm flex items-center gap-2 transition-all duration-200 hover:text-[#020617]",children:["Hide all",(0,a.jsx)(o.A,{className:"w-4 h-4 text-[#5C5C5E]"})]})]})]})})}):(0,a.jsx)("div",{className:"px-4",children:(0,a.jsxs)("div",{className:"space-y-3",children:[(0,a.jsxs)("div",{className:"flex gap-7",children:[(0,a.jsxs)("div",{className:"relative flex-1",children:[(0,a.jsx)("input",{type:"text",className:"w-full px-3 py-2.5 pr-10 bg-white border border-[#
1EDF2F5] rounded-md text-sm focus:border-[#081B4F] focus:ring-1 focus:ring-[#081B4F] focus:outline-none transition-colors",placeholder:"Search by name",value:I.name,onChange:e=>J("name",e.target.value),onKeyDown:e=>{"Enter"===e.key&&I.name&&(e.preventDefault(),X())}}),I.name?(0,a.jsx)("button",{type:"button",onClick:()=>et("name"),className:"absolute right-3 top-1/2 -translate-y-1/2 cursor-pointer text-gray-400 hover:text-gray-600 transition-colors",children:(0,a.jsx)(n.A,{className:"w-4 h-4"})}):null]}),(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsxs)(c.Button,{type:"button",onClick:X,disabled:!I.name,className:"px-3 py-2 h-10 rounded-md font-medium text-sm flex items-center gap-2 transition-all duration-200 ".concat(I.name?"bg-linear-to-br from-brand-4th to-white/30 text-white hover:from-[#0E1A3F] cursor-pointer":"bg-gray-300 text-gray-500 cursor-not-allowed opacity-50"),children:[(0,a.jsx)(d.A,{icon:"smart-search-icon-white.svg",color:I.name?"white":"#9CA3AF",width:20,height:20}),"Search Results"]}),(0,a.jsxs)(p.DropdownMenu,{children:[(0,a.jsx)(p.DropdownMenuTrigger,{asChild:!0,children:(0,a.jsxs)(c.Button,{variant:"outline",size:"lg",className:"flex items-center gap-2 cursor-pointer text-sm",children:[" ",(0,a.jsx)(s.A,{className:"w-4 h-4"})," Status : ",U||"All"]})}),(0,a.jsx)(p.DropdownMenuContent,{align:"end",className:"space-y-1",children:null==ea?void 0:ea.map(e=>(0,a.jsx)(p.DropdownMenuItem,{onClick:()=>null==Y?void 0:Y(null==e?void 0:e.value),className:"cursor-pointer ".concat(q===(null==e?void 0:e.value)?"bg-text-stroke text-black":""),children:null==e?void 0:e.label},null==e?void 0:e.value))})]}),(0,a.jsxs)(p.DropdownMenu,{children:[(0,a.jsx)(p.DropdownMenuTrigger,{asChild:!0,children:(0,a.jsxs)(c.Button,{variant:"outline",size:"lg",className:"flex items-center gap-2 cursor-pointer text-sm",children:[" ",(0,a.jsx)(l.A,{className:"w-4 h-4"})," Filter : ",$]})}),(0,a.jsx)(p.DropdownMenuContent,{align:"end",className:"space-y-1",children:null==er?void 0:er.map(e=>(0,a.jsx)(p.DropdownMenuItem,{onClick:()=>null==K?void 0:K(null==e?void 0:e.value),className:"cursor-pointer ".concat(Q===(null==e?void 0:e.value)?"bg-text-stroke text-black":""),children:null==e?void 0:e.label},null==e?void 0:e.value))})]}),(0,a.jsx)(c.Button,{type:"button",onClick:ee,className:"px-3 py-2 h-10 text-[#5C5C5E] bg-white border border-[#EDF2F5] hover:bg-gray-50 rounded-md font-medium text-sm transition-all duration-200",children:"Clear all"})]})]}),(0,a.jsx)("div",{className:"flex items-center justify-between",children:(0,a.jsx)("button",{type:"button",onClick:P||R||(()=>{}),className:"text-sm text-[#081B4F] hover:text-[#0A1F5A] font-medium cursor-pointer hover:underline transition-colors",children:"Advance Search"})})]})})]})}},70240:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Toaster:()=>o});var a=r(95155),n=r(41921),s=r(18720),l=r(49203);let o=e=>{let{...t}=e,{resolvedTheme:r}=(0,n.DP)();return(0,a.jsx)(s.l$,{theme:r,className:"toaster group",position:"top-right",style:{"--normal-bg":"var(--color-text-bg)","--normal-text":"var(--color-text-primary)","--normal-border":"var(--color-text-stroke)","--dark-bg":"var(--color-brand-primary)","--dark-text":"var(--color-text-primary)","--dark-border":"var(--color-brand-secondary)",zIndex:l.vQ.UI.Z_INDEX.TOAST},...t})}},71761:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var a=r(95155),n=r(95740);r(12115);var s=r(82180);let l=function(e){let{text:t="AI Generated",title:r,showTooltip:l=!0,showBackground:o=!0}=e,i=r||t,d=o?(0,a.jsx)("div",{className:"inline-flex items-center justify-center rounded-full w-5 h-5 shrink-0",style:{background:"linear-gradient(91.19deg, #0241bd -5%, #001b50 100%)"},"data-testid":"ai-generated-badge",children:(0,a.jsx)(n.A,{className:"h-3 w-3 text-white"})}):(0,a.jsxs)("div",{className:"inline-flex items-center gap-1 shrink-0 mt-0.5","data-testid":"ai-generated-badge",children:[(0,a.jsx)(n.A,{className:"h-3 w-3 text-white ml-2",style:{color:"#0241bd"}}),(0,a.jsx)("span",{className:"text-xs font-medium",style:{background:"linear-gradient(91.19deg, #0241bd -5%, #001b50 100%)",WebkitBackgroun
1dClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:t})]});return l?(0,a.jsxs)(s.Tooltip,{children:[(0,a.jsx)(s.TooltipTrigger,{asChild:!0,children:d}),(0,a.jsx)(s.TooltipContent,{className:"z-9999",children:(0,a.jsx)("p",{children:i})})]}):d}},76126:(e,t,r)=>{"use strict";r.d(t,{PhoneInput:()=>d});var a=r(95155),n=r(12115),s=r(11124),l=r.n(s);r(63195);var o=r(25016),i=r(60588);function d(e){let{value:t="",onChange:r,onChangeWithParts:s,country:d,placeholder:c="Enter phone number",disabled:u=!1,required:m=!1,className:x,inputStyle:h,containerStyle:p,buttonStyle:g,dropdownStyle:b,inputProps:v,showError:f=!0,errorMessage:y,validateOnChange:j=!0,validateOnBlur:N=!0,allowEmpty:w=!1,customValidator:C,onValidationChange:k,preferredCountries:A=["in","us","ca","gb","au"],countryCodeEditable:T=!1,enableSearch:S=!0,searchPlaceholder:E="Search country",autoFormat:D=!0,disableDropdown:F=!1,requireCountrySelection:I=!0,onCountrySelectionRequired:M}=e,P=d||void 0,[L,B]=(0,n.useState)(!1),[_,V]=(0,n.useState)(),[z,R]=(0,n.useState)(""),W=y||_,H=!!W&&(L||!w),G=(0,n.useCallback)((e,t)=>{if(C)return C(e,t);let r=e.replace(/\D/g,""),a=(null==t?void 0:t.replace(/\D/g,""))||"";if(!e||""===e.trim()||!r||r===a)return m&&!w?{isValid:!1,errorMessage:"Phone number is required"}:{isValid:!0};let n=(0,i.BO)(e,t);return n.isValid?{isValid:!0}:{isValid:!1,errorMessage:t||n.iso2?"Please enter a valid phone number for the selected country":"Please enter a valid phone number"}},[C,m,w]),O=(0,n.useCallback)((e,t)=>{let r=G(e,t);return V(r.isValid?void 0:r.errorMessage),null==k||k(r.isValid,r.errorMessage),r},[G,k]),Z=(0,n.useCallback)((e,t,a,n)=>{let l=t&&"object"==typeof t&&"dialCode"in t?t:void 0,o=l?"+".concat(l.dialCode):"",i=o||z;o&&R(o);let c=e.replace(/\D/g,""),u=(null==l?void 0:l.dialCode)||"",x=!c||c===u;if(I&&e&&e.trim()&&!x&&!i&&!d){let e="Please select a country code before entering phone number";V(e),null==k||k(!1,e),M&&M(e),setTimeout(()=>{let e=document.querySelector(".react-tel-input .selected-flag");e&&(e.focus(),e.click())},50)}else(i||d)&&"Please select a country code before entering phone number"===_&&V(void 0);if(null==r||r(e,l),s){let e=c;u&&c.startsWith(u)&&(e=c.substring(u.length)),s(e,i)}!m&&x?(V(void 0),null==k||k(!0,void 0)):j&&(e||m)&&O(e,i)},[r,s,j,O,z,m,k,I,d,M,_]),K=(0,n.useCallback)(e=>{var r;if(B(!0),null==v||null==(r=v.onBlur)||r.call(v,e),N){let e=t.replace(/\D/g,""),r=z.replace(/\D/g,""),a=!e||e===r;a?m&&a?O(t,z):(V(void 0),null==k||k(!0,void 0)):O(t,z)}},[N,t,O,z,v,m,k]);(0,n.useEffect)(()=>{if(t){let e=(0,i.BO)(t);e.countryCode&&R(e.countryCode)}},[t]),(0,n.useEffect)(()=>{t&&j&&O(t,z)},[]);let Q={width:"100%",padding:"10px 17px",border:H?"1px solid #ef4444":"1px solid var(--color-stroke-light)",borderRadius:"6px",fontSize:"14px",paddingLeft:"52px",outline:"none",fontFamily:"inherit",transition:"border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out",backgroundColor:u?"#f9fafb":"white",color:u?"#9ca3af":"inherit",cursor:u?"not-allowed":"text",opacity:u?.7:1,...h},$={borderTop:H?"1px solid #ef4444":"1px solid var(--color-stroke-light)",borderBottom:H?"1px solid #ef4444":"1px solid var(--color-stroke-light)",borderLeft:H?"1px solid #ef4444":"1px solid var(--color-stroke-light)",borderRight:"none",borderRadius:"6px 0 0 6px",backgroundColor:u?"#f9fafb":"white",padding:"0 8px",height:"100%",cursor:u?"not-allowed":"pointer",opacity:u?.7:1,...g},U={backgroundColor:"white",border:"1px solid #d1d5db",borderRadius:"6px",boxShadow:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",zIndex:9999,maxHeight:"200px",overflowY:"auto",...b},q={width:"100%",...p},Y=(0,n.useCallback)(()=>{if(!z&&!d){let e="Please select a country code before entering phone number";V(e),null==k||k(!1,e),M&&M(e),setTimeout(()=>{let e=document.querySelector(".react-tel-input .selected-flag");e&&(e.focus(),e.click())},50)}},[z,d,k,M]);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("style",{children:"\n .react-tel-input-dropdown-custom .search-emoji {\n display: none !important;\n }\n "}),(0,a.jsxs)("div",{className:(0,o.cn)("w-full",x),children:[(0,a.jsx)(l(),{...P?{country:P}:{country:""},value:t,onChange:Z,placeholder:c,disabled:u,inputStyle:Q,containerStyle:q,buttonStyle:$,dropdownStyle:U,inputProps:{...v,onClick:Y,onBlur:K,className:(0,o.cn)("focus-visible:border-brand-primary focus-visible:ring-brand-primary focus-visible:ring-[1px]",H&&"focu
1s:ring-error",null==v?void 0:v.className)},preferredCountries:A,countryCodeEditable:T,enableSearch:S,searchPlaceholder:E,autoFormat:D,disableDropdown:F,dropdownClass:"react-tel-input-dropdown-custom"}),f&&H&&(0,a.jsx)("p",{className:"text-xs text-error-solid","data-testid":"phone-input-error",children:W})]})]})}},83098:(e,t,r)=>{"use strict";function a(e,t){let r=null;return function(){for(var a=arguments.length,n=Array(a),s=0;s<a;s++)n[s]=arguments[s];r&&clearTimeout(r),r=setTimeout(()=>{e(...n)},t)}}r.d(t,{s:()=>a})},83209:(e,t,r)=>{"use strict";r.d(t,{BT:()=>d,Wu:()=>c,ZB:()=>i,Zp:()=>l,aR:()=>o});var a=r(95155),n=r(12115),s=r(25016);let l=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,"data-slot":"card",className:(0,s.cn)("bg-text-bg text-text-primary flex flex-col gap-6 rounded-xl border py-6 shadow-sm",r),...n})});l.displayName="Card";let o=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,"data-slot":"card-header",className:(0,s.cn)("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6",r),...n})});o.displayName="CardHeader";let i=e=>{let{className:t,...r}=e;return(0,a.jsx)("div",{"data-slot":"card-title",className:(0,s.cn)("text-xl font-semibold",t),...r})};i.displayName="CardTitle";let d=e=>{let{className:t,...r}=e;return(0,a.jsx)("p",{"data-slot":"card-description",className:(0,s.cn)("text-sm font-normal text-text-secondary",t),...r})};d.displayName="CardDescription";let c=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,"data-slot":"card-content",className:(0,s.cn)("px-6",r),...n})});c.displayName="CardContent",n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("div",{ref:t,"data-slot":"card-footer",className:(0,s.cn)("flex items-center px-6 [.border-t]:pt-6",r),...n})}).displayName="CardFooter"},87133:(e,t,r)=>{"use strict";r.d(t,{$m:()=>c.AccordionTrigger,$n:()=>a.Button,AG:()=>p.TimePicker,As:()=>c.AccordionItem,JU:()=>l.Label,K_:()=>m.default,LR:()=>b.PhoneInput,Mj:()=>c.AccordionComponent,TD:()=>d.BreadcrumbHeader,TM:()=>o.T,Wu:()=>n.Wu,Xi:()=>g.TabsTrigger,ZB:()=>n.ZB,Zp:()=>n.Zp,aR:()=>n.aR,bQ:()=>x.DataTable,bq:()=>i.SelectTrigger,eb:()=>i.SelectItem,gC:()=>i.SelectContent,iG:()=>u.SmartSearchAccordion,iY:()=>v.AILoader,j7:()=>g.TabsList,l6:()=>i.Select,lr:()=>h.DatePicker,pd:()=>s.Input,tU:()=>g.Tabs,ub:()=>c.AccordionContent,yv:()=>i.SelectValue});var a=r(97003),n=r(83209);r(50618),r(7220),r(4509);var s=r(33789),l=r(90235),o=r(67001);r(7235);var i=r(47507),d=r(37010),c=r(51539);r(40829);var u=r(68390);r(4416);var m=r(27992),x=r(32368),h=r(4370),p=r(95735);r(13120),r(50060);var g=r(90923),b=r(76126);r(93727),r(70240),r(99115);var v=r(64412)},90235:(e,t,r)=>{"use strict";r.d(t,{Label:()=>l});var a=r(95155);r(12115);var n=r(85408),s=r(25016);function l(e){let{className:t,...r}=e;return(0,a.jsx)(n.b,{"data-slot":"label",className:(0,s.cn)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",t),...r})}},93727:(e,t,r)=>{"use strict";r.d(t,{ThemeToggle:()=>d});var a=r(95155);r(12115);var n=r(59427),s=r(37494),l=r(41921),o=r(97003),i=r(7220);function d(){let{setTheme:e,theme:t}=(0,l.DP)();return(0,a.jsxs)(i.DropdownMenu,{"data-testid":"theme-toggle-dropdown",children:[(0,a.jsx)(i.DropdownMenuTrigger,{asChild:!0,children:(0,a.jsxs)(o.Button,{variant:"ghost",size:"icon","aria-label":"Toggle theme","data-testid":"theme-toggle-button",children:[(0,a.jsx)(n.A,{className:"h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0"}),(0,a.jsx)(s.A,{className:"absolute h-[1.2rem] w-[1.2rem] rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100"}),(0,a.jsx)("span",{className:"sr-only",children:"Toggle theme"})]})}),(0,a.jsxs)(i.DropdownMenuContent,{align:"end","data-testid":"theme-menu-content",children:[(0,a.jsxs)(i.DropdownMenuItem,{onClick:()=>e("light"),className:"light"===t?"bg-accent":"","data-testid":"light-theme-option",children:[(0,a.jsx)(n.A,{className:"mr-2 h-4 w-4"}),"Light"]}),(0,a.jsxs)(i.DropdownMenuItem,{onClick:()=>e("dark"),className:"dark"===t?"bg-accent":"","data-testid":"dark-theme-option",children:[(0,a.jsx)(s.A,{className:"mr-2 h-4 w-4"}),"Dark"]}
1)]})]})}},95735:(e,t,r)=>{"use strict";r.d(t,{TimePicker:()=>d});var a=r(95155);r(12115);var n=r(10091),s=r(56222),l=r(91051),o=r(26983),i=r(25016);function d(e){let{value:t,onChange:r,placeholder:d="HH:mm",className:c,disabled:u=!1,dataTestId:m,error:x=!1,helperText:h,label:p,maxTime:g,minTime:b}=e;return(0,a.jsx)(n.$J,{dateAdapter:s.h,children:(0,a.jsx)("div",{className:"relative w-full",children:(0,a.jsx)(l.A,{value:null!=t?t:null,onChange:null!=r?r:()=>{},format:"HH:mm",ampm:!1,disabled:u,...g?{maxTime:g}:{},...b?{minTime:b}:{},slotProps:{textField:{placeholder:d,label:p,className:(0,i.cn)("w-full",c),size:"small",error:x,helperText:h,fullWidth:!0,InputProps:{style:{fontSize:"14px",padding:"8px 12px",height:"40px",borderRadius:"6px",border:x?"1px solid var(--color-error-solid)":"1px solid var(--color-text-stroke)",backgroundColor:"white",minWidth:"120px"},endAdornment:null},FormHelperTextProps:{style:{whiteSpace:"normal",wordWrap:"break-word",maxWidth:"100%",margin:"4px 0 0 0",fontSize:"12px",lineHeight:"1.4"}}},popper:{style:{zIndex:9999}}},slots:{openPickerIcon:o.A},"data-testid":m})})})}},97450:(e,t,r)=>{"use strict";r.d(t,{AM:()=>l,Wv:()=>o,hl:()=>i});var a=r(95155);r(12115);var n=r(82286),s=r(25016);function l(e){let{...t}=e;return(0,a.jsx)(n.bL,{"data-slot":"popover",...t})}function o(e){let{...t}=e;return(0,a.jsx)(n.l9,{"data-slot":"popover-trigger",...t})}function i(e){let{className:t,align:r="center",sideOffset:l=4,...o}=e;return(0,a.jsx)(n.ZL,{children:(0,a.jsx)(n.UC,{"data-slot":"popover-content",align:r,sideOffset:l,className:(0,s.cn)("bg-white text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-[9999] w-72 origin-(--radix-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden",t),...o})})}},99115:(e,t,r)=>{"use strict";r.d(t,{ProfileIntimacyBar:()=>l});var a=r(95155);r(12115);var n=r(25016),s=r(82180);function l(e){var t,r,l,o,i,d,c,u;let{candidate:m,score:x,className:h,showTooltips:p=!0,gap:g=3}=e,b=Math.max(1,Math.min(5,x));return(0,a.jsxs)(s.Tooltip,{children:[(0,a.jsx)(s.TooltipTrigger,{asChild:!0,children:(0,a.jsx)("div",{className:(0,n.cn)("relative w-[76px] h-[76px] cursor-pointer",h),children:Array.from({length:6},(e,t)=>{let r,n=t+1;r=1!==n&&(6===n?5===b:n>1&&n<=b+1);let s=g/2*Math.PI/180,l=(g/2+(60-g))*Math.PI/180,o=38+32*Math.cos(s),i=38+32*Math.sin(s),d=38+32*Math.cos(l),c=38+32*Math.sin(l),u="M ".concat(o," ").concat(i," A ").concat(32," ").concat(32," 0 ").concat(0," ").concat(1," ").concat(d," ").concat(c);return(0,a.jsx)("div",{className:"absolute transition-all duration-200",style:{zIndex:10,width:"76px",height:"76px",pointerEvents:"auto",transform:"rotate(".concat(60*t+60,"deg)")},"data-testid":"intimacy-bar-".concat(n),children:(0,a.jsx)("svg",{width:"76",height:"76",viewBox:"0 0 76 76",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"transition-all duration-200",style:{pointerEvents:"auto"},children:(0,a.jsx)("path",{d:u,stroke:0===t?"transparent":r?"var(--color-brand-4th)":"var(--color-text-placeholder)",strokeWidth:"4",strokeOpacity:0===t?"0":r?"1":"0.2",fill:"transparent",style:{pointerEvents:"auto"}})})},n)})})}),p&&(0,a.jsxs)(s.TooltipContent,{children:[(0,a.jsx)("p",{children:(()=>{if(0===b)return"No intimacy data";let e=b+1-1;return e<=2?"Profile incomplete - Limited data":e<=4?"Profile incomplete - Good interaction data":"Profile completed - Validated through multiple sources"})()}),(null!=(u=null==m||null==(r=m.profileCompletionScore)||null==(t=r.missingFieldsList)?void 0:t.length)?u:0)>0&&(0,a.jsxs)("p",{children:["Missing Fields:"," ",(0,a.jsx)("span",{className:"text-brand-4th",children:null==m||null==(o=m.profileCompletionScore)||null==(l=o.missingFieldsList)?void 0:l.join(", ")})]}),(null==m||null==(i=m.profileCompletionScore)?void 0:i.score)&&(null==m||null==(d=m.profileCompletionScore)?void 0:d.score)>0&&(0,a.jsxs)("p",{children:["Score:"," ",(0,a.jsxs)("span",{className:"text-brand-4th",children:[Math.round(null==m||null==(c=m.profileCompletionScore)?void 0:c.score),"%"]})]})]})]})}}}]);
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.