PageSourceSearch

https://www.jobfunders.com/app/_next/static/chunks/pages/2.0/company/insights-report-9ce6275987b4979a.js

js jobfunders.com collected 2026-09-24 13:31:05 UTC 17,307 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4687],{1935:(n,e,t)=>{"use strict";t.r(e),t.d(e,{default:()=>V});var s=t(37876),a=t(14232),i=t(19094),r=t.n(i),l=t(37626),o=t(71799),c=t(43221),_=t(33974),d=t(49773),h=t(73894),u=t(50533),p=t(42182),f=t(89099),g=t(98835),v=t.n(g),x=t(51529);t(78300);var m=t(54587),w=t.n(m),y=t(67327),j=t(12398);let b=function(n){let{date:e,setDate:t,handleChangeDate:i,type:r,disabledDate:o}=n,{t:c}=(0,l.B)("twoPointZero"),[_,d]=(0,a.useState)(null),h=(0,a.useRef)(null);return(0,a.useEffect)(()=>{if(_){let n=_.calendarContainer;n&&n.classList.add("custom-calendar-insight")}},[_,o]),(0,s.jsxs)("div",{className:v().main_calender_box,children:[(0,s.jsx)("p",{children:c("from"===r?"company.insightsReport.from":"company.insightsReport.untill")}),(0,s.jsx)("div",{className:v().calender_box,children:(0,s.jsx)(j.A,{options:{locale:{weekdays:{shorthand:["S","M","T","W","T","F","S"],longhand:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},day:{shorthand:["S","M","T","W","T","F","S"],longhand:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]}},disableMonthNav:!0,onReady:(n,e,t)=>{var s,a,i,r;d(t);let l=null==t||null==(s=t.calendarContainer)?void 0:s.querySelector(".flatpickr-prev-month"),o=null==t||null==(a=t.calendarContainer)?void 0:a.querySelector(".selected"),c=null==t||null==(i=t.calendarContainer)?void 0:i.querySelector(".flatpickr-next-month");null==t||null==(r=t.calendarContainer)||r.querySelector(".flatpickr-monthDropdown-months"),l&&(l.innerHTML='<svg width="10" height="15" viewBox="0 0 10 15" fill="none" xmlns="http://www.w3.org/2000/svg">\n      <path d="M8.08312 1.47559L1.97461 7.5841L8.08312 13.6926" stroke="#264A6C" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\n      </svg> '),c&&(c.innerHTML='\n      <svg width="10" height="15" viewBox="0 0 10 15" fill="none" xmlns="http://www.w3.org/2000/svg">\n      <path d="M1.97499 13.6924L8.0835 7.58387L1.97499 1.47536" stroke="#264A6C" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\n      </svg>   \n    '),o&&(o.style.backgroundColor="var(--jobfunders-accent)")},monthSelectorType:"static",minDate:o[0],maxDate:o[1]},className:v().calender_input,ref:h,value:e,onChange:n=>{let[e]=n;(n=>{let[e]=n,t=new Date(e);"from"===r?t.setHours(0,0,0,0):"until"===r&&t.setHours(23,59,59,999),i(t.getTime(),r)})([e])}})}),(0,s.jsxs)("button",{className:"btn-or-bg",onClick:()=>{var n,e,t;(null==h?void 0:h.current)&&(null==h||null==(n=h.current)?void 0:n.flatpickr)&&(null==h||null==(t=h.current)||null==(e=t.flatpickr)||e.open())},children:[" ",(0,s.jsx)(x.A,{}),c("company.insightsReport.selectRange")]})]})};var R=t(76058),I=t(95855),N=t(10841),C=t.n(N);let A=n=>{let{getInsightsReport:e,fromDate:t,setFromDate:i,untilDate:r,setUntilDate:o}=n,c=(0,f.useRouter)(),{t:_}=(0,l.B)("twoPointZero"),[d,h]=(0,a.useState)({}),[u,p]=(0,a.useState)({from:[(null==d?void 0:d.createdAt)||"",r],until:[t,new Date().fp_incr(1)]}),g=(0,a.useCallback)((0,y.sg)(e,0),[]),x=async(n,e)=>{var s,a;"from"===e?(g({startDate:(s=n,a=null==d?void 0:d.createdAt,C()(s).format("YYYY-MM-DD")===C()(a).format("YYYY-MM-DD"))?null==d?void 0:d.createdAt:n,endDate:r}),p(e=>({...e,until:[n,new Date().fp_incr(1)]}))):(g({startDate:t,endDate:n}),p(e=>({...e,from:[null==d?void 0:d.createdAt,n]})))},m=async n=>{if(n)try{let t=await (0,I.FH)("v2/job/".concat(n),{},"get",!0);if(200===t.status){let n=t.data;h(n);let s=C()().valueOf();p({from:[(null==n?void 0:n.createdAt)||"",r],until:[(null==n?void 0:n.createdAt)||"",s]}),i(null==n?void 0:n.createdAt),o(s),e({startDate:null==n?void 0:n.createdAt,endDate:s})}}catch(n){400===n.status?R.A.error(_("apiResponses.vacancyNotFound")):R.A.error("Internal server error")}};return(0,a.useEffect)(()=>{var n,e;c.isReady&&(null==c||null==(n=c.query)?void 0:n.vacancyId)&&m(null==c||null==(e=c.query)?void 0:e.vacancyId)},[c.isReady]),(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:v().range_content,children:[(0,s.jsx)("h3",{children:_("company.insightsReport.rangeOfData")}),(0,s.jsx)(b,{setDate:i,date:t,getInsightsReport:e,handleChangeDate:x,type:"from",disabledDate:u.from}),(0,s.jsx)(b,{setDate:o,date:r,getInsightsReport:e,handleChangeDate:x,type:"until",disabledDate:u.until})]})})};var M=t(49610),D=t(62996);let k=n=>{let{insightData:e,isInsightLoading:t,redirectToInsightCandidate:i}=n,{t:r}=(0,l.B)("twoPointZero"),[o,c]=(0,a.useState)(null),{vacancyId:_}=(0,f.useRouter)().query,d=(0,a.useRef)(!1);return(0,a.useEffect)(()=>{(async()=>
1{if(_&&!d.current){d.current=!0;try{let e=await (0,I.FH)("v2/job/".concat(_),{},"get",!0);if(200===e.status){var n;c(null==(n=e.data)?void 0:n.externalApplicationUrl)}}catch(n){}}})()},[_,r]),(0,s.jsx)(s.Fragment,{children:t?(0,s.jsx)("div",{className:v().spinner_height,children:(0,s.jsx)(D.A,{size:"3rem"})}):(0,s.jsxs)("div",{className:v().funnel_main_box,children:[(0,s.jsx)("div",{className:"".concat(v().funnel_box," ").concat(v().funnel_box_2),children:(0,s.jsxs)("div",{className:v().funnel_chart_box,children:[(0,s.jsxs)("div",{style:{width:(0,M.hG)(null==e?void 0:e.privateViewCount,null==e?void 0:e.publicViewCount)},className:"".concat(v().funnel_chart," ").concat(v().funnel_chart_1),onClick:()=>i("report-job",1),children:[(0,s.jsx)("h2",{children:null==e?void 0:e.privateViewCount}),(0,s.jsx)("p",{children:r("company.insightsReport.registeredViews")})]}),(0,s.jsxs)("div",{style:{width:(0,M.hG)(null==e?void 0:e.publicViewCount,null==e?void 0:e.privateViewCount)},className:"".concat(v().funnel_chart," ").concat(v().funnel_chart_2),children:[(0,s.jsx)("h2",{children:null==e?void 0:e.publicViewCount}),(0,s.jsx)("p",{children:r("company.insightsReport.publicViews")})]})]})}),(0,s.jsx)("div",{className:"".concat(v().funnel_box," ").concat(v().funnel_box_3),children:(0,s.jsxs)("div",{className:v().funnel_chart_box,children:[(0,s.jsxs)("div",{style:{width:(0,M.hG)(null==e?void 0:e.favouriteCount,null==e?void 0:e.testMyMatchCount)},className:"".concat(v().funnel_chart," ").concat(v().funnel_chart_1),onClick:()=>i("report-job",2),children:[(0,s.jsx)("h2",{children:null==e?void 0:e.favouriteCount}),(0,s.jsx)("p",{children:r("company.insightsReport.favoritedTheVacancy")})]}),(0,s.jsxs)("div",{style:{width:(0,M.hG)(null==e?void 0:e.testMyMatchCount,null==e?void 0:e.favouriteCount)},className:"".concat(v().funnel_chart," ").concat(v().funnel_chart_2),onClick:()=>i("report-job",3),children:[(0,s.jsx)("h2",{children:null==e?void 0:e.testMyMatchCount}),(0,s.jsx)("p",{children:r("company.insightsReport.testedTheirMatch")})]}),(0,s.jsxs)("div",{style:{width:(0,M.hG)(null==e?void 0:e.testMyMatchCount,null==e?void 0:e.favouriteCount)},className:"".concat(v().funnel_chart," ").concat(v().funnel_chart_3),onClick:()=>i("report-job",4),children:[(0,s.jsx)("h2",{children:null==e?void 0:e.startedJobApplicationCount}),(0,s.jsx)("p",{children:r("company.insightsReport.startedJobApplication")})]}),(0,s.jsxs)("div",{className:"".concat(v().funnel_chart," ").concat(v().funnel_chart_1),onClick:()=>i("report-application",1),children:[(0,s.jsx)("h2",{children:null==e?void 0:e.jobApplicationFailedCount}),(0,s.jsx)("p",{children:r("company.insightsReport.couldntApply")})]})]})}),o?(0,s.jsx)("div",{className:"".concat(v().funnel_box," ").concat(v().funnel_box_4),children:(0,s.jsx)("div",{className:v().funnel_chart_box,children:(0,s.jsxs)("div",{className:"".concat(v().funnel_chart," ").concat(v().funnel_chart_2),children:[(0,s.jsx)("h2",{children:null==e?void 0:e.externalRedirectedCandidates}),(0,s.jsx)("p",{children:r("company.insightsReport.were_redirected_to_the_company_website")})]})})}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"".concat(v().funnel_box," ").concat(v().funnel_box_4),onClick:()=>i("report-application",2),children:(0,s.jsx)("div",{className:v().funnel_chart_box,children:(0,s.jsxs)("div",{className:"".concat(v().funnel_chart," ").concat(v().funnel_chart_2),children:[(0,s.jsx)("h2",{children:null==e?void 0:e.jobApplicationCount}),(0,s.jsx)("p",{children:r("company.insightsReport.succesfullyApplied")})]})})}),(0,s.jsx)("div",{className:"".concat(v().funnel_box," ").concat(v().funnel_box_5),onClick:()=>i("report-application",3),children:(0,s.jsx)("div",{className:v().funnel_chart_box,children:(0,s.jsxs)("div",{className:"".concat(v().funnel_chart),children:[(0,s.jsx)("h2",{children:null==e?void 0:e.matchedCount}),(0,s.jsx)("p",{children:r("company.insightsReport.matched")})]})})})]})]})})};y.o2;var S=t(31719);let O="".concat(y.o2,"/assets/2.0/images/insights-reports.svg"),E=n=>{let{getInsightsReport:e,insightData:t,isInsightLoading:i}=n,{t:r}=(0,l.B)("twoPointZero"),o=(0,f.useRouter)(),[c,_]=(0,a.useState)(""),[d,h]=(0,a.useState)(new Date),[u,p]=(0,a.useState)(new Date);return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:v().main_insights_tab,children:[(0,s.jsxs)("div",{className:"".concat(v().welcome_card," ").concat(v().insight_card," card-effect"),children:[(0,s.jsxs)("div",{className:v().welcome_content,children:[(0,s.jsxs)("h2",{children:[r("company.insightsReport.welcome")," ",(0,s.jsx)("span",{children:r("company.insightsReport.toYourInsightsReport")})]}),(0,s.jsx)("p",{children:r("company.insightsReport.welcomeMessage1")}),(0,s.jsxs)("p",{children:[r("company.insightsReport.anyQuestions")," ",r("
1company.insightsReport.contactOurHelp")]})]}),(0,s.jsx)("div",{className:v().welcome_image,children:(0,s.jsx)(w(),{src:O,alt:"Image",width:732,height:314,className:"img-fluid"})})]}),(0,s.jsx)("div",{className:"".concat(v().range_card," ").concat(v().insight_card," card-effect"),children:(0,s.jsx)(A,{getInsightsReport:e,fromDate:d,setFromDate:h,untilDate:u,setUntilDate:p})}),(0,s.jsxs)("div",{className:"".concat(v().funnel_card," ").concat(v().insight_card," card-effect"),children:[(0,s.jsx)("h3",{children:r("company.insightsReport.yourVacancyFunnelOverview")}),(0,s.jsx)(k,{insightData:t,isInsightLoading:i,redirectToInsightCandidate:(n,e)=>{var t;(0,S.A)("/2.0/company/insights-candidates/".concat(n,"/").concat(null==o||null==(t=o.query)?void 0:t.vacancyId,"/").concat(e),o,{startDate:d,endDate:u})}})]})]})})};var T=t(26790);let F=()=>{var n;let{t:e}=(0,l.B)("twoPointZero"),t=(0,f.useRouter)(),i=(0,a.useRef)(null);i.current=null==t||null==(n=t.query)?void 0:n.vacancyId;let[g,v]=(0,a.useState)("2"),[x,m]=(0,a.useState)({}),[w,y]=(0,a.useState)(!1),j=n=>{v(n)},b=async n=>{if(null==i?void 0:i.current){y(!0);try{let e=await (0,I.FH)("v2/vacancy/report?startDate=".concat(n.startDate,"&endDate=").concat(n.endDate,"&job=").concat(null==i?void 0:i.current),n,"get",!0);200===e.status&&m(null==e?void 0:e.data),y(!1)}catch(n){y(!1),(0,M.Q9)(n,e)}}};return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(o.A,{role:c.i.COMPANY,childrenClassName:"my_job_wrapper",hidebottomPadding:!0,children:(0,s.jsxs)("div",{className:r().main_my_insights,children:[(0,s.jsxs)(_.A,{tabs:!0,className:r().tab_navs,children:[(0,s.jsx)(d.A,{children:(0,s.jsx)(h.A,{className:"".concat("1"===g?r().active:""),onClick:()=>{j("1")},children:e("company.insightsReport.editVacancy")})}),(0,s.jsx)(d.A,{children:(0,s.jsx)(h.A,{className:"".concat("2"===g?r().active:""),onClick:()=>{j("2")},children:e("company.insightsReport.insightsReport")})})]}),(0,s.jsx)("div",{className:r().insights_content,children:(0,s.jsxs)(u.A,{activeTab:g,className:r().tab_content,children:["1"===g&&(0,s.jsx)(p.A,{tabId:"1",className:r().tab_pane,children:(0,s.jsx)("div",{className:r().content_box,children:(0,s.jsx)(T.A,{edit:!0})})}),"2"===g&&(0,s.jsx)(p.A,{tabId:"2",children:(0,s.jsx)("div",{className:r().content_box,children:(0,s.jsx)(E,{getInsightsReport:b,insightData:x,isInsightLoading:w})})})]})})]})})})};var P=t(52824);let V=()=>(0,s.jsx)(P.Ay,{children:(0,s.jsx)(F,{})})},19094:n=>{n.exports={fw200:"MainInsightsReports_fw200__bQsFD",fw300:"MainInsightsReports_fw300__RuR_Q",fw400:"MainInsightsReports_fw400__WFp7W",fw500:"MainInsightsReports_fw500__x7lKs",fw600:"MainInsightsReports_fw600__zQzdR",fw700:"MainInsightsReports_fw700__xBZCs",fw800:"MainInsightsReports_fw800__ibybA",main_my_insights:"MainInsightsReports_main_my_insights__CfxJY",tab_navs:"MainInsightsReports_tab_navs__sxl03",active:"MainInsightsReports_active__M2tDg",insights_content:"MainInsightsReports_insights_content__lAnRn"}},23281:(n,e,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/2.0/company/insights-report",function(){return t(1935)}])},51529:(n,e,t)=>{"use strict";t.d(e,{A:()=>l});var s,a=t(14232),i=["title","titleId"];function r(){return(r=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var s in t)({}).hasOwnProperty.call(t,s)&&(n[s]=t[s])}return n}).apply(null,arguments)}let l=function(n){var e=n.title,t=n.titleId,l=function(n,e){if(null==n)return{};var t,s,a=function(n,e){if(null==n)return{};var t={};for(var s in n)if(({}).hasOwnProperty.call(n,s)){if(-1!==e.indexOf(s))continue;t[s]=n[s]}return t}(n,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);for(s=0;s<i.length;s++)t=i[s],-1===e.indexOf(t)&&({}).propertyIsEnumerable.call(n,t)&&(a[t]=n[t])}return a}(n,i);return a.createElement("svg",r({width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t},l),e?a.createElement("title",{id:t},e):null,s||(s=a.createElement("path",{d:"M5.714 11.429a1.429 1.429 0 100-2.858 1.429 1.429 0 000 2.858zm1.429 2.857a1.429 1.429 0 11-2.857 0 1.429 1.429 0 012.857 0zM10 11.429a1.429 1.429 0 100-2.858 1.429 1.429 0 000 2.858zm1.429 2.857a1.429 1.429 0 11-2.858 0 1.429 1.429 0 012.858 0zm2.857-2.857a1.429 1.429 0 100-2.858 1.429 1.429 0 000 2.858zM20 3.57A3.572 3.572 0 0016.429 0H3.57A3.571 3.571 0 000 3.571V16.43A3.572 3.572 0 003.571 20H16.43A3.572 3.572 0 0020 16.429V3.57zM1.429 5.714H18.57V16.43a2.143 2.143 0 01-2.142 2.142H3.57A2.143 2.143 0 011.43 16.43V5.714zM3.57 1.43H16.43A2.143 2.143 0 0118.57 3.57v.715H1.43V3.57A2.143 2.143 0 013.57 1.43z",fill:"#95969D"})))}},62996:(n,e,t)=>{"use strict";t.d(e,{A:()=>i});var s=t(37876);t(14232);var a=t(59506);let i=function(n){let{size:e}=n;return(0,s.jsxs)("div",{className:"custome-spinner",children:[" ",(0,s.jsx)(a.A,{style:{color:"var(--jobfunders-accent)",height:e,width:e}})]})}},78300:(n,e,t)=>{"use strict";t.d(e,{A:()=>l});var s,a=t(14232),i=["title","titleId"];function r(){return(r=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var s in t)({}).hasOwnProperty.call(t,s)&&(n[s]=t[s])}return n}).apply(null,arguments)}let l=function(n){var e=n.title,t=n.titleId,l=function(n,e){if(null==n)return{};var t,s,a=function(n,e){if(null==n)return{};var t={};for(var s in n)if(({}).hasOwnProperty.call(n,s)){if(-1!==e.indexOf(s))continue;t[s]=n[s]}return t}(n,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);for(s=0;s<i.length;s++)t=i[s],-1===e.indexOf(t)&&({}).propertyIsEnumerable.call(n,t)&&(a[t]=n[t])}return a}(n,i);
1return a.createElement("svg",r({width:12,height:7,viewBox:"0 0 12 7",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t},l),e?a.createElement("title",{id:t},e):null,s||(s=a.createElement("path",{d:"M1 1l5 5 5-5",stroke:"#264A6C",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))}},98835:n=>{n.exports={fw200:"InsightReports_fw200__xfQ7f",fw300:"InsightReports_fw300__wp_uu",fw400:"InsightReports_fw400__Qsq1M",fw500:"InsightReports_fw500__SV_Sg",fw600:"InsightReports_fw600__Y40AD",fw700:"InsightReports_fw700__PtxEC",fw800:"InsightReports_fw800__gXww_",main_insights_tab:"InsightReports_main_insights_tab__Dy_J4",insight_card:"InsightReports_insight_card__xrIuK",welcome_card:"InsightReports_welcome_card__QKj37",welcome_content:"InsightReports_welcome_content__69BlX",welcome_image:"InsightReports_welcome_image__E8_CZ",range_card:"InsightReports_range_card__D_xNZ",main_calender_box:"InsightReports_main_calender_box__fbxtK",calender_box:"InsightReports_calender_box__jdmua",calender_input:"InsightReports_calender_input__C7J2f",vacancy_dropdown:"InsightReports_vacancy_dropdown__BxLud",vacancy_version_dropdown:"InsightReports_vacancy_version_dropdown__bMtFE",input_field:"InsightReports_input_field__qf3XW",status_list:"InsightReports_status_list__4tT_p",divider:"InsightReports_divider__zuo_g",funnel_card:"InsightReports_funnel_card__DH6TS",spinner_height:"InsightReports_spinner_height__QLuom",funnel_main_box:"InsightReports_funnel_main_box__tSfPG",funnel_box:"InsightReports_funnel_box__LLYFa",funnel_box_2:"InsightReports_funnel_box_2__lgwHM",funnel_chart_box:"InsightReports_funnel_chart_box__H9Adh",funnel_chart:"InsightReports_funnel_chart__AcaGj",funnel_chart_1:"InsightReports_funnel_chart_1__yEval",funnel_chart_2:"InsightReports_funnel_chart_2__eCab8",funnel_box_3:"InsightReports_funnel_box_3__aVyKj",funnel_box_4:"InsightReports_funnel_box_4__07vZi",funnel_box_5:"InsightReports_funnel_box_5__58eOg",funnel_box_6:"InsightReports_funnel_box_6__OmDTk",funnel_box_7:"InsightReports_funnel_box_7__pNINx",funnel_content:"InsightReports_funnel_content__kRyEC",funnel_content_box:"InsightReports_funnel_content_box__kM2nq"}}},n=>{n.O(0,[9918,2827,319,51,9091,9917,2373,7101,8587,1215,6371,8533,8814,817,636,6593,8792],()=>n(n.s=23281)),_N_E=n.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.