PageSourceSearch

https://xyrus.ai/_next/static/chunks/6936.9eb1d07132887aaf.js

js xyrus.ai collected 2026-10-05 15:10:41 UTC 10,877 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6936],{6936:(e,t,n)=>{n.r(t),n.d(t,{default:()=>p});var l=n(95155),o=n(12115),i=n(41180),s=n(18720);let a={example:()=>n.e(9470).then(n.bind(n,9470)),confirmation:()=>n.e(9779).then(n.bind(n,99779)),form:()=>Promise.all([n.e(7596),n.e(586),n.e(8117),n.e(7253)]).then(n.bind(n,84395)),"create-rst-template":()=>n.e(907).then(n.bind(n,10907)),"ban-countdown":()=>n.e(7934).then(n.bind(n,47934)),"add-candidate":()=>Promise.all([n.e(1410),n.e(8770)]).then(n.bind(n,78770)),"ai-match-scores":()=>n.e(6806).then(n.bind(n,46806)),"self-assessment":()=>Promise.all([n.e(7638),n.e(820)]).then(n.bind(n,64762)),engagements:()=>n.e(2328).then(n.bind(n,62328)),"assessment-note":()=>n.e(1848).then(n.bind(n,31848)),"how-to-complete-assessment":()=>n.e(1054).then(n.bind(n,51054)),"xqtiv-summary":()=>Promise.all([n.e(9891),n.e(477),n.e(3255),n.e(7638),n.e(9040),n.e(1093)]).then(n.bind(n,4262)),"client-summary":()=>Promise.all([n.e(9891),n.e(477),n.e(3255),n.e(7638),n.e(9040),n.e(699)]).then(n.bind(n,94489)),"ai-executive-summary":()=>Promise.all([n.e(9891),n.e(477),n.e(3255),n.e(5506)]).then(n.bind(n,25506)),"work-history":()=>Promise.all([n.e(9891),n.e(477),n.e(3255),n.e(7638),n.e(8376)]).then(n.bind(n,41438)),"sector-expertise":()=>n.e(4051).then(n.bind(n,94051)),skills:()=>n.e(6778).then(n.bind(n,36778)),"share-rst":()=>n.e(2467).then(n.bind(n,62467)),awards:()=>Promise.all([n.e(9891),n.e(477),n.e(3255),n.e(7638),n.e(8972)]).then(n.bind(n,9074)),documents:()=>Promise.all([n.e(7638),n.e(7729)]).then(n.bind(n,87419)),"project-documents":()=>Promise.all([n.e(7638),n.e(7729)]).then(n.bind(n,87419)),compensation:()=>Promise.all([n.e(9891),n.e(477),n.e(3255),n.e(7638),n.e(5062)]).then(n.bind(n,33820)),"motivating-factors":()=>Promise.all([n.e(9891),n.e(477),n.e(3255),n.e(7638),n.e(5468)]).then(n.bind(n,42546)),"edit-profile":()=>n.e(3449).then(n.bind(n,33449)),"create-project":()=>Promise.all([n.e(8364),n.e(18)]).then(n.bind(n,20018)),"edit-project":()=>Promise.all([n.e(8364),n.e(18)]).then(n.bind(n,20018)),"update-status":()=>Promise.all([n.e(7573),n.e(1971)]).then(n.bind(n,81971)),"critical-requirements":()=>n.e(6567).then(n.bind(n,96567)),"add-recommendations":()=>Promise.all([n.e(7596),n.e(586),n.e(8651),n.e(8923)]).then(n.bind(n,28651)),"edit-recommendation":()=>Promise.all([n.e(7596),n.e(586),n.e(1953)]).then(n.bind(n,91953)),"client-contacts":()=>Promise.all([n.e(7596),n.e(586),n.e(9891),n.e(477),n.e(3255),n.e(1796),n.e(8359),n.e(8651),n.e(3341),n.e(5974)]).then(n.bind(n,75974)),"share-project-invite":()=>n.e(6707).then(n.bind(n,76707)),"recommended-profile":()=>Promise.all([n.e(7596),n.e(586),n.e(9891),n.e(477),n.e(3255),n.e(1796),n.e(8359),n.e(8651),n.e(3341),n.e(1768)]).then(n.bind(n,51768)),"calendar-day-events":()=>n.e(8309).then(n.bind(n,88309)),"create-client":()=>Promise.all([n.e(3602),n.e(5064)]).then(n.bind(n,85064)),"client-contact":()=>Promise.all([n.e(7596),n.e(586),n.e(9891),n.e(477),n.e(3255),n.e(1796),n.e(8359),n.e(8651),n.e(3341),n.e(4168)]).then(n.bind(n,24168)),"xqtiv-contacts":()=>Promise.all([n.e(866),n.e(3407)]).then(n.bind(n,78553)),"assign-weightage":()=>n.e(5514).then(n.bind(n,45514)),loading:()=>n.e(2956).then(n.bind(n,42956)),congratulations:()=>n.e(4875).then(n.bind(n,64875)),"view-all-similar-profiles":()=>n.e(9481).then(n.bind(n,9481)),"recent-activities":()=>n.e(5849).then(n.bind(n,35849)),"contact-us":()=>n.e(1504).then(n.bind(n,11504)),"impersonate-login-confirm":()=>n.e(5136).then(n.bind(n,5136)),"recruiter-profile":()=>n.e(6908).then(n.bind(n,96908)),"competency-maps":()=>n.e(6891).then(n.bind(n,56891))},r=async e=>{let t=a[e];if(!t)throw Error('Modal component "'.concat(e,'" not found in registry'));try{return(await t()).default}catch(t){throw s.oR.error('Failed to load modal component "'.concat(e,'"'),{description:t}),Error('Failed to load modal component "'.concat(e,'"'))}};var d=n(72247);function c(){return(0,l.jsxs)("div",{className:"flex items-center justify-center p-8",children:[(0,l.jsx)("div",{className:"animate-spin rounded-full h-8 w-8 border-b-2 border-brand-primary"}),(0,l.jsx)("span",{className:"ml-2 text-sm text-text-placeholder",children:"Loading..."})]})}function m(e){let{error:t}=e;return(0,l.jsx)("div",{className:"p-4 text-center",children:(0,l.jsxs)("p",{className:"text-error-solid text-sm",children:["Failed to load modal: ",t]})})}function p(){let[e,t]=(0,o.useState)([]),[n,s]=(0,o.useState)({}),[p,h]=(0,o.useState)({}),[u,x]=(0,o.useState)({}),b=(0,o.useRef)(""),f=(0,o.useCallback)(e=>{t(t=>t.filter(t=>t.id!==e))},[]),g=(0,o.useCallback)(e=>{t(t=>t.filter(t=>t.type!==e))},[]),y=(0,o.useCallback)(()=>{t([])},[]),w=(0,o.useCallback)((e,n,l)=>{t(t=>t.map(t=>
1t.id===e?{...t,isLoading:n,loadingText:l||"Loading...",props:{...t.props,isLoading:n,loadingText:l||"Loading..."}}:t))},[]);(0,o.useEffect)(()=>{e.length>0?(b.current||(b.current=document.body.style.overflow),document.body.style.overflowY="hidden"):(document.body.style.overflowY=b.current||"",b.current="")},[e.length]),(0,o.useEffect)(()=>{let t=()=>{e.length>0&&y()};return window.addEventListener("popstate",t),()=>{window.removeEventListener("popstate",t)}},[e.length,y]);let v=(0,o.useCallback)(async e=>{if(!n[e]&&!p[e]){if(!(e in a))return void x(t=>({...t,[e]:'Modal type "'.concat(e,'" not found in registry')}));h(t=>({...t,[e]:!0}));try{let t=await r(e);s(n=>({...n,[e]:t})),h(t=>({...t,[e]:!1}))}catch(t){x(n=>({...n,[e]:t instanceof Error?t.message:"Unknown error"})),h(t=>({...t,[e]:!1}))}}},[n,p]);return(0,o.useEffect)(()=>{let e=i.bP.subscribe(e=>{if("open-dialog"===e.type){let n=e.props.id||e.modalType;t(t=>{if(t.find(e=>e.id===n)){let n="".concat(e.modalType,"-").concat(Date.now(),"-").concat(Math.random());return[...t,{id:n,type:e.modalType,props:{...e.props,id:n,isOpen:!0,onClose:()=>f(n),isDialog:!0},isDialog:!0,zIndex:2e3+t.length}]}return[...t,{id:n,type:e.modalType,props:{...e.props,id:n,isOpen:!0,onClose:()=>f(n),isDialog:!0},isDialog:!0,zIndex:2e3+t.length}]}),v(e.modalType)}else if("open-modal"===e.type){let n=e.props.id||e.modalType;t(t=>{if(t.find(e=>e.id===n)){let n="".concat(e.modalType,"-").concat(Date.now(),"-").concat(Math.random());return[...t,{id:n,type:e.modalType,props:{...e.props,id:n,isOpen:!0,onClose:()=>f(n),isDialog:!0},isDialog:!0,zIndex:2e3+t.length}]}return[...t,{id:n,type:e.modalType,props:{...e.props,id:n,isOpen:!0,onClose:()=>f(n),isDialog:!0},isDialog:!0,zIndex:2e3+t.length}]}),v(e.modalType)}else if("open-drawer"===e.type){let n=e.props.id||e.modalType;t(t=>{if(t.find(e=>e.id===n)){let n="".concat(e.modalType,"-").concat(Date.now(),"-").concat(Math.random());return[...t,{id:n,type:e.modalType,props:{...e.props,id:n,isOpen:!0,onClose:()=>f(n),isDialog:!1},isDialog:!1,zIndex:2e3+t.length}]}return[...t,{id:n,type:e.modalType,props:{...e.props,id:n,isOpen:!0,onClose:()=>f(n),isDialog:!1},isDialog:!1,zIndex:2e3+t.length}]}),v(e.modalType)}else"close-modal"===e.type?t(t=>t.filter(t=>t.id!==e.id)):"close-modals-by-type"===e.type?t(t=>t.filter(t=>t.type!==e.modalType)):"close-all-modals"===e.type?t([]):"get-modal-state"===e.type||("set-modal-loading"===e.type?w(e.id,e.isLoading,e.loadingText):"update-modal-props"===e.type&&t(t=>t.map(t=>t.id===e.id?{...t,props:{...t.props,...e.props}}:t)))});return()=>e.unsubscribe()},[f,v,w]),(0,l.jsx)(l.Fragment,{children:e.map(e=>(0,l.jsx)(d.A,{...e.props,zIndex:e.zIndex,children:(e=>{let{type:t,id:o}=e;if(u[t])return(0,l.jsx)(m,{error:u[t]||"Unknown error"});if(p[t])return(0,l.jsx)(c,{});let i=n[t];if(i){let t={...e.props.data,closeModal:()=>f(o),closeModalsByType:e=>g(e),closeAllModals:()=>y(),showLoading:(e,t)=>
1w(o,e,t)};return(0,l.jsx)(i,{data:t})}return(0,l.jsx)("div",{className:"p-4 text-center text-text-placeholder",children:"Modal content not found"})})(e)},e.id))})}},72247:(e,t,n)=>{n.d(t,{A:()=>r});var l=n(95155),o=n(12115),i=n(35299);let s={sm:"max-w-sm",md:"max-w-md",lg:"max-w-lg",xl:"max-w-xl",full:"max-w-full mx-4"},a={left:"left-0 top-0 bottom-0 w-80 h-full rounded-tr-lg rounded-br-lg",right:"right-0 top-0 bottom-0 w-80 h-full rounded-tl-lg rounded-bl-lg",top:"top-0 left-0 right-0 h-64 w-full rounded-bl-lg rounded-br-lg",bottom:"bottom-0 left-0 right-0 h-64 w-full rounded-tl-lg rounded-tr-lg"},r=e=>{let{isOpen:t,onClose:n,title:r,description:d,children:c,isDialog:m=!0,size:p="md",width:h,minWidth:u,customContentStyle:x,fixWidth:b=!1,anchor:f="right",closeOnOverlayClick:g=!0,closeOnEscape:y=!0,showCloseButton:w=!0,zIndex:v=2e3,isLoading:j=!1,loadingText:N="Loading..."}=e;if(o.useEffect(()=>{if(!y)return;let e=e=>{"Escape"===e.key&&n()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[y,n]),!t)return null;let k=e=>{g&&e.target===e.currentTarget&&n()},P=r||d||w,T={...h&&{width:"number"==typeof h?"".concat(h,"px"):h},...u&&{minWidth:"number"==typeof u?"".concat(u,"px"):u},...b&&h&&{maxWidth:"number"==typeof h?"".concat(h,"px"):h},...x},C=()=>(0,l.jsx)("div",{className:"absolute inset-0 bg-black/50 z-50 flex items-center justify-center rounded-lg",children:(0,l.jsxs)("div",{className:"bg-white dark:bg-gray-800 p-6 rounded-lg shadow-xl flex flex-col items-center",children:[(0,l.jsx)(i.A,{className:"h-8 w-8 animate-spin text-brand-primary"}),(0,l.jsx)("p",{className:"mt-4 text-text-secondary text-sm",children:N})]})});return m?(0,l.jsx)("div",{className:"fixed inset-0 flex items-center justify-center bg-black/40",style:{zIndex:v},onClick:k,children:(0,l.jsxs)("div",{className:"bg-text-bg dark:bg-text-bg rounded-lg shadow-xl p-6 min-w-[500px] ".concat(s[p]," ").concat(b?"overflow-hidden":""," relative"),style:T,children:[P&&(0,l.jsxs)("div",{className:"flex justify-between items-center mb-4",children:[(0,l.jsxs)("div",{className:"flex-1",children:[r&&(0,l.jsx)("h2",{className:"text-lg font-bold",children:r}),d&&(0,l.jsx)("div",{className:"mt-1 text-sm text-muted-foreground ",children:d})]}),w&&(0,l.jsx)("button",{onClick:n,"aria-label":"Close",className:"text-xl font-bold hover:text-text-placeholder ml-4 cursor-pointer",children:"\xd7"})]}),c,j&&(0,l.jsx)(C,{})]})}):(0,l.jsxs)("div",{className:"fixed inset-0 flex",style:{zIndex:v},children:[(0,l.jsx)("div",{className:"fixed inset-0 bg-text-primary/40",onClick:k}),(0,l.jsxs)("div",{className:"absolute bg-text-bg dark:bg-text-bg shadow-xl p-6 ".concat(a[f]," ").concat(b?"overflow-hidden":""),style:T,children:[P&&(0,l.jsxs)("div",{className:"flex justify-between items-center mb-4",children:[(0,l.jsxs)("div",{className:"flex-1",children:[r&&(0,l.jsx)("h2",{className:"text-lg font-bold",children:r}),d&&(0,l.jsx)("div",{className:"mt-1 text-sm text-muted-foreground",children:d})]}),w&&(0,l.jsx)("button",{onClick:n,"aria-label":"Close",className:"text-xl font-bold hover:text-text-placeholder ml-4",children:"\xd7"})]}),c,j&&(0,l.jsx)(C,{})]})]})}}}]);

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.