1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="3ecaf17f-4277-4c0b-b631-48f827808f27",e._sentryDebugIdIdentifier="sentry-dbid-3ecaf17f-4277-4c0b-b631-48f827808f27")}()}catch(e){}!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];if(null!=s)for(var n in s)s.hasOwnProperty(n)&&(e[n]=s[n])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:sentry-js-hh-filter-key":!0})}catch(e){}}(),function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"e7bb213545ef449888513ee1cfe59dc92c5bf90b"}}catch(e){}}(),(globalThis.__xhh_LOADABLE_LOADED_CHUNKS__=globalThis.__xhh_LOADABLE_LOADED_CHUNKS__||[]).push([["6105"],{607750:function(e,t,s){s.d(t,{Z:()=>a});var n=s(255717);const a=(e,t)=>n._i.get("/shards/ai_neuro_response/task/status",{params:{vacancyId:e},signal:t})},641931:function(e,t,s){s.d(t,{$:()=>_,C:()=>N});var n=s(758162),a=s(181829),i=s(829818),r=s(322815),o=s(328702),c=s(829257),u=s(924135),l=s(353383),d=s(886128),b=s.n(d),p=s(800948),v=s.n(p),y=s(712795),f=s.n(y);const S={[l.S2.DisableAutoAction]:"ai_assistant_autoparse_disable_alert",[l.S2.DisableAutoSurvey]:"ai_assistant_sorting_enable_autopoll_disable_alert",[l.S2.DisableBothAutomation]:"ai_assistant_enable_autopoll_autoparse_disable_alert"};var A=s(662191);const h={[l.S2.DisableAutoAction]:{title:"AIAssistant.Neuroresponse.DisableAutomation.AutoResponse.title",submitButton:"AIAssistant.Neuroresponse.DisableAutomation.AutoResponse.submit"},[l.S2.DisableAutoSurvey]:{title:"AIAssistant.Neuroresponse.DisableAutomation.AutoSurvey.title",submitButton:"AIAssistant.Neuroresponse.DisableAutomation.AutoSurvey.submit"},[l.S2.DisableBothAutomation]:{title:"AIAssistant.Neuroresponse.DisableAutomation.BothAutomation.title",submitButton:"AIAssistant.Neuroresponse.DisableAutomation.BothAutomation.submit"},description:"AIAssistant.Neuroresponse.DisableAutomation.description",cancelButton:"AIAssistant.Neuroresponse.DisableAutomation.cancel"},m=(0,n.createContext)(void 0),C=({children:e,trls:t})=>{const[s,c,d]=(0,u.m)(!1),[p,y]=(0,n.useState)(!1),[C,N]=(0,n.useState)(l.S2.DisableAutoAction),[_,g]=(0,n.useState)(null),{sendOnCancelAnalytics:R,sendOnSubmitAnalytics:k}=(({visible:e,name:t})=>{const s=(0,n.useCallback)(e=>{b()({buttonText:e,hhtmSource:S[t]})},[t]),a=(0,n.useCallback)(e=>{f()({buttonText:e,hhtmSource:S[t]})},[t]);return(0,n.useEffect)(()=>{e&&v()({hhtmSource:S[t]})},[e,t]),{sendOnSubmitAnalytics:s,sendOnCancelAnalytics:a}})({visible:s,name:C}),E=()=>{R(t[h.cancelButton]),d()};return(0,A.jsxs)(m.Provider,{value:{showAlert:(e,t)=>{N(e),g(t),c()},hideAlert:d},children:[e,(0,A.jsx)(a.bZ,{title:t[h[C].title],description:t[h.description],visible:s,buttons:(0,A.jsxs)(i.N,{layout:"vertical",children:[(0,A.jsx)(r.z,{stretched:!0,mode:"primary",style:"accent",size:"medium",loading:p,onClick:async()=>{k(t[h.disableAutoAction.submitButton]),y(!0);try{await(null==_?void 0:_.onSubmit()),d()}finally{y(!1)}},children:t[h[C].submitButton]}),(0,A.jsx)(r.z,{stretched:!0,mode:"secondary",style:"accent",disabled:p,onClick:E,children:t[h.cancelButton]})]}),onClose:E,children:(0,A.jsx)(o.l5_,{initialColor:"warning",backgroundStyle:"warning-secondary",padding:12,borderRadius:"halfHeight"})})]})};C.displayName="components/ConfirmationAlert/context/AlertProvider";const N=()=>{const e=(0,n.useContext)(m);if(!e)throw new Error("useAlert must be used within AlertProvider");return e},_=e=>t=>{const s=(0,c.p)(e);return(0,A.jsx)(C,{trls:t.trls,children:(0,A.jsx)(s,{...t})})}},353383:function(e,t,s){s.d(t,{HP:()=>r,S2:()=>n,dd:()=>a});let n=function(e){return e.DisableAutoAction="disableAutoAction",e.DisableAutoSurvey="disableAutoSurvey",e.DisableBothAutomation="disableAutoSurveyAndResponseAutomation",e}({}),a=function(e){return e.AutoAction="TOPIC_AUTO_ACTION_CONFLICT",e.AutoSurvey="AUTO_SURVEY_CONFLICT",e.BothAutomation="MULTIPLE_AUTOMATIONS_CONFLICT",e}({});const i=[a.AutoAction,a.AutoSurvey,a.BothAutomation],r=e=>i.includes(e)},316679:function(e,t,s){s.d(t,{Q:()=>l,Y:()=>o});var n=s(977403),a=s(328702),i=s(8131),r=s(662191);let o=function(e){return e.CreateSuccess="createSuccess",e.EnableSuccess="enableSuccess",e.EnableFailure="enableFailure",e.EnableFailureLimitExceeded="enableFailureLimitExceeded",e.EnableFailureForbidden="enableFailureForbidden",e.DisableSuccess="disableSuccess",e.DisableFailure="disableFailure",e.SaveSuccess="saveSuccess",e.SaveFailure="saveFailure",e.SaveFailureDuplicateValues="saveFailureDuplicateValues",e.SaveFailureNraSorting="saveFailureNraSorting",e.TaskCompleted="taskCompleted",e.TaskStopped="taskStopped",e.EnableNeuroresponseSuccess="enableNeuroresponseSuccess",e.DisableNeuroresponseSuccess="disableNeuroresponseSuccess",e.EnableSurveySuccess="enableSurveySuccess",e.DisableSurveySuccess="disableSurveySuccess",e}({});const c={[o.CreateSuccess]:"aiNeuroResponseHr.notification.create.success.v1",[o.EnableSuccess]:"aiNeuroResponseHr.notification.enable.success",[o.EnableFailure]:"aiNeuroResponseHr.notification.enable.failure",[o.EnableFailureLimitExceeded]:"aiNeuroResponseHr.notification.enable.failure.limitExceeded",[o.EnableFailureForbidden]:"aiNeuroResponseHr.notification.enable.failure.forbidden",[o.DisableSuccess]:"aiNeuroResponseHr.notification.disable.success",[o.DisableFailure]:"aiNeuroResponseHr.notification.disable.failure",[o.SaveSuccess]:"aiNeuroResponseHr.notification.save.success.v1",[o.SaveFailure]:"aiNeuroResponseHr.notification.save.failure.v1",[o.SaveFailureDuplicateValues]:"aiNeuroResponseHr.notification.save.failure.duplicateValues",[o.SaveFailureNraSorting]:"aiNeuroResponseHr.notification.save.failure.nraSorting",[o.TaskCompleted]:"aiNeuroResponseHr.notification.task.completed",[o.TaskStopped]:"aiNeuroResponseHr.notification.task.stopped",[o.EnableNeuroresponseSuccess]:"aiAssistant.new.notification.neuroresponse.enable.success",[o.DisableNeuroresponseSuccess]:"aiAssistant.new.notification.neuroresponse.disable.success",[o.EnableSurveySuccess]:"aiAssistant.survey.enable.success",[o.DisableSurveySuccess]:"aiAssistant.survey.disable.success"},u=({trls:e,isSuccess:t,trlKey:s,removeNotification:n})=>{const o=t?(0,r.jsx)(a.lot,{initialColor:"positive"}):(0,r.jsx)(a.L1_,{initialColor:"negative"});return(null==e?void 0:e[c[s]])&&(0,r.jsx)(i.P,{removeNotification:n,addon:o,autohideTime:3e3,"data-qa":"ai-assistant-notification-"+(t?"success":"failure"),children:null==e?void 0:e[c[s]]})};
1u.displayName="components/Notification/index/AINeuroResponseNotificationComponent";const l=(0,n.x)(u)},829257:function(e,t,s){s.d(t,{B:()=>m,p:()=>C});var n=s(758162),a=s(271747),i=s(925395),r=s(607750),o=s(316679),c=s(1299),u=s(166122),l=s(357250),d=s(594948),b=s(809916),p=s(184772),v=s(81500),y=s(255717),f=s(473502);var S=s(662191);const A=(0,n.createContext)(null),h=({children:e})=>{const t=(0,a.useDispatch)(),s=(0,n.useRef)(null),h=(0,n.useRef)(null),m=(0,n.useRef)(),C=(0,n.useRef)(p.ik.Finished),N=(0,d.v)(e=>Number(e.router.location.query.vacancyId)),{addNotification:_}=(0,u.lm)(),{getAiAssistantResponseAnalyzerSkillStatistics:g}=(e=>{const t=(0,n.useRef)(null),s=(0,a.useDispatch)();(0,n.useEffect)(()=>()=>{t.current&&t.current.abort()},[]);const{fetchRequest:i}=(0,l.i)(t=>y._i.get("/shards/ai_neuro_response/statistics",{params:{vacancyId:e},signal:t}),{onSuccess:t=>{s((0,f._)({vacancyId:e,statistics:t}))}});return{getAiAssistantResponseAnalyzerSkillStatistics:(0,n.useCallback)(async()=>(t.current=new AbortController,i(t.current.signal)),[i])}})(N),R=(0,d.v)(({contactCenterCandidates:e})=>e.counts.collectionCounts.totalCandidatesFound??0),{getAiAssistantCriteria:k}=(0,c.h)({vacancyId:N}),E=(0,n.useCallback)(()=>{k(),g()},[k,g]);(0,n.useEffect)(()=>()=>{var e;null===(e=s.current)||void 0===e||e.abort(),h.current&&h.current(),m.current&&(clearInterval(m.current),m.current=null)},[]);const{fetchRequest:D}=(0,l.i)(e=>(0,r.Z)(N,e),{onSuccess:e=>{t((0,b.PF)(e.task)),t((0,v.WK)({counts:e.contactCenterCandidates.counts,funnel:e.contactCenterCandidates.funnel}))}}),T=(0,n.useCallback)(async()=>{var e;return null===(e=s.current)||void 0===e||e.abort(),s.current=new AbortController,await D(s.current.signal)},[D]),I=(0,n.useCallback)(async({isWsEvent:e,noFetch:t=!1})=>{if(e&&m.current&&(clearInterval(m.current),m.current=null),e||m.current||(m.current=setInterval(()=>{I({isWsEvent:!1})},5e3)),!t)try{const e=await T(),t=e.task.status,s=e.task.totalCount,n=e.task.analyzedCount,a=C.current===p.ik.Running,i=[p.ik.Finished,p.ik.Interrupted].includes(t);i&&(a||R<=s&&s===n)&&(h.current&&h.current(),m.current&&(clearInterval(m.current),m.current=null),E(),_(o.Q,{props:{trlKey:o.Y.TaskCompleted,isSuccess:!0}})),C.current=t}catch{}},[_,T,R,E]),x=(0,n.useCallback)(e=>{[p.Zu.Started,p.Zu.StatusUpdate,p.Zu.Finished].includes(e.event)&&I({isWsEvent:!0})},[I]),w=(0,n.useCallback)(()=>(h.current&&h.current(),m.current&&(clearInterval(m.current),m.current=null),h.current=i.I.on("nra_task_event",x),I({isWsEvent:!1,noFetch:!0}),h.current),[x,I]),F=(0,n.useCallback)(async(e=!0)=>{try{var t,s;const n=await T(),a=(null==n||null===(t=n.task)||void 0===t?void 0:t.status)===p.ik.Running,i=R>(null==n||null===(s=n.task)||void 0===s?void 0:s.totalCount);n&&e&&(a||i)&&w()}catch{}},[T,R,w]),{fetchRequest:O}=(0,l.i)(async()=>y._i.post("/shards/ai_neuro_response/task/start",{vacancyId:N}),{onSuccess:()=>F(),onError:e=>{throw _(o.Q,{props:{trlKey:o.Y.EnableFailure,isSuccess:!1}}),e}}),{fetchRequest:j}=(0,l.i)(async()=>y._i.post("/shards/ai_neuro_response/task/stop",{vacancyId:N}),{onSuccess:async()=>{try{h.current&&h.current(),m.current&&(clearInterval(m.current),m.current=null),await T(),E(),_(o.Q,{props:{trlKey:o.Y.TaskStopped,isSuccess:!0}})}catch{}}});return(0,S.jsx)(A.Provider,{value:{startTask:O,stopTask:j,checkTaskStatus:F},children:e})};h.displayName="Neuroresponse/hooks/ResponseAnalyzerSkillTaskContext/ResponseAnalyzerSkillTaskProvider";const m=()=>{const e=(0,n.useContext)(A);if(!e)throw new Error("useResponseAnalyzerSkillTask must be used within ResponseAnalyzerSkillTaskProvider");return e},C=e=>t=>(0,S.jsx)(h,{children:(0,S.jsx)(e,{...t})})},1299:function(e,t,s){s.d(t,{h:()=>c});var n=s(758162),a=s(271747),i=s(357250),r=s(78280),o=s(255717);const c=({vacancyId:e,useCriteriaBuilderDraft:t,options:s})=>{const c=(0,n.useRef)(null),u=(0,a.useDispatch)();(0,n.useEffect)(()=>()=>{c.current&&c.current.abort()},[]);const{fetchRequest:l}=(0,i.i)(s=>o._i.get("/shards/ai_assistant/criteria",{params:{vacancyId:e,useCriteriaBuilderDraft:t},signal:s}),{onSuccess:(null==s?void 0:s.onSuccess)||(e=>{e&&u((0,r.bt)(e))}),onError:null==s?void 0:s.onError});return{getAiAssistantCriteria:(0,n.useCallback)(async()=>
1(c.current=new AbortController,l(c.current.signal)),[l])}}},422565:function(e,t,s){s.d(t,{S:()=>n});let n=function(e){return e.AgeFrom="age_from",e.AgeTo="age_to",e.Area="area",e.DriverLicenseType="driverLicenseType",e.Gender="gender",e.EducationLevels="education_levels",e.Experience="experience",e.Language="language",e.Citizenship="citizenship",e.SalaryFrom="salary_from",e.SalaryTo="salary_to",e.CurrencyCode="currency_code",e.University="university",e.OnlyWithVehicle="showOnlyWithVehicle",e.OnlyWithSelfEmployment="showOnlyWithSelfEmployment",e.OnlyWithMedicalBook="showOnlyWithMedicalBook",e.OnlyNew="showOnlyNew",e.OnlyNewResponses="showOnlyNewResponses",e.SearchText="searchText",e.Relocation="relocation",e.Distance="distance",e.Order="order",e.InvitedByAiAssistant="invitedByAiAssistant",e.AiCriterionSuitable="aiCriterionSuitable",e.AiCriterionPartiallySuitable="aiCriterionPartiallySuitable",e.AiCriterionNotSuitable="aiCriterionNotSuitable",e.ContactType="contactType",e}({})},794706:function(e,t,s){s.d(t,{h:()=>i,t:()=>r});var n=s(374678),a=s(594948);const i=e=>{const t=(0,a.v)(e=>e.isPfpVacancy),s=(0,a.v)(t=>{var s;return!!e&&((null===(s=(0,n.MH)(t))||void 0===s||null===(s=s[e])||void 0===s?void 0:s.pfp)??!1)});return null!==t?t:s},r=()=>{const e=(0,a.v)(n.MH)||{};return Object.values(e).some(e=>e.pfp)}},184772:function(e,t,s){s.d(t,{Zu:()=>i,ik:()=>a,yu:()=>n});let n=function(e){return e.Accept="ACCEPT",e.Hold="HOLD",e.Reject="REJECT",e}({}),a=function(e){return e.Running="RUNNING",e.Interrupted="INTERRUPTED",e.Finished="FINISHED",e.Never="NEVER",e}({}),i=function(e){return e.StatusUpdate="STATUS_UPDATE",e.Finished="FINISHED",e.Started="STARTED",e.Interrupted="INTERRUPTED",e}({})},27809:function(e,t,s){s.r(t),s.d(t,{default:()=>h});var n=s(206001),a=s(977403),i=s(312585),r=s(694847),o=s(678305),c=s(390308),u=s(822320),l=s(63738),d=s(535733),b=s(570450),p=s(50164),v=s(594948),y=s(78280),f=s(662191);const S="employer.vacancyresponses.aiNeuroResponseHr.title",A=({trls:e})=>{const t=(0,v.v)(y.Sh),s=(0,v.v)(e=>Number(e.router.location.query.vacancyId)),a=(0,n.Y)(e=>{var t;return null===(t=e.vacanciesViewShort.vacanciesList[0])||void 0===t?void 0:t.name});return(0,f.jsx)(c.Xg,{title:e[S],layout:c.Tp,breadcrumbsContent:(0,f.jsx)(b.m,{vacancyName:a,vacancyId:s}),children:(0,f.jsx)("div",{className:"vacancy-responses-container",children:(0,f.jsx)(i.M,{children:(0,f.jsxs)(d.rt,{isGridContent:!0,children:[(0,f.jsx)(d.ZP,{disabledScreens:d.ZS,children:(0,f.jsx)(p.f,{})}),(0,f.jsxs)(r.C,{xs:4,s:8,m:8,l:9,children:[(0,f.jsx)(o.X,{default:0,s:20,xs:20}),(0,f.jsx)(r.C,{xs:4,s:8,m:8,l:9,children:t?(0,f.jsx)(l.H,{vacancyId:s,mode:"view"}):(0,f.jsx)(u.Y,{})})]})]})})})})};A.displayName="pages/VacancyResponsesNeuroResponseStatistics/VacancyResponsesNeuroResponseStatistics.route/VacancyResponsesNeuroResponseStatisticsRoute";const h=(0,a.x)(A)},941914:function(e,t,s){s.d(t,{m:()=>a});var n=s(349268);const a=(e={})=>{const{vacancyId:t,callDirection:s,successful:a,startDate:i,endDate:r}=e,o={};return void 0!==t&&(o.vacancyId=String(t)),s&&(o.callDirection=s),void 0!==a&&(o.successful=String(a)),i&&(o.startDate=i),r&&(o.endDate=r),(0,n.updateUrl)("/calls-history",o)}}}]); 2//# sourceMappingURL=VacancyResponsesNeuroResponseStatistics-route.6ec05f1091a5ae63.js.map 3//# debugId=3ecaf17f-4277-4c0b-b631-48f827808f27
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.