PageSourceSearch

https://elevatestaffing.ai/static/js/1754.14272d40.chunk.js

js elevatestaffing.ai collected 2026-10-05 13:38:16 UTC 10,954 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkrecruitment=self.webpackChunkrecruitment||[]).push([[1754],{51754:(e,s,l)=>{l.r(s),l.d(s,{default:()=>g});var i=l(89379),a=l(9950),t=l(41509),o=l(97352),n=l(42935),d=l(47738),r=l(45462),c=l(89284),m=l(31855),p=l(19201),h=l(96479),j=l(73899),u=l(64967),x=l(44414);let b="https://rp-api.elevatestaffing.ai/check-apply-reapply-buttons-employee-v3";function v(e){let{job:s,onBack:l}=e;const[i,n]=(0,a.useState)(!1),[d,h]=(0,a.useState)({}),[j,v]=(0,a.useState)(window.innerWidth<=990),{user:g}=(0,o.A)();let f=null===g||void 0===g?void 0:g.email,y=s||{};const _=null===d||void 0===d?void 0:d.has_applied;(0,a.useEffect)((()=>{N()}),[null===s||void 0===s?void 0:s.job_id]);const N=()=>{if(null===s||void 0===s||!s.job_id)return;n(!0);let e={job_id:null===s||void 0===s?void 0:s.job_id,action:"check_status",employee_email:f};t.ZH.post(b,e).then((e=>{h(e.data)})).catch((e=>{console.log(e,"error")})).finally((()=>{n(!1)}))};if(!s)return null;const w=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return(0,x.jsx)("ul",{children:e.map(((e,s)=>(0,x.jsx)("li",{className:"mb-2",children:e},s)))})},C=()=>{var e,a,o,d,h,j;return(0,x.jsxs)("div",{children:[(0,x.jsxs)("div",{className:"d-flex align-items-center gap-2 mb-3 cursor-pointer hidemodalclosebtn hoverActionBTNSML",style:{width:"max-content"},onClick:l,children:[(0,x.jsx)(r.A,{size:18}),(0,x.jsx)("span",{className:"fw-bold",children:"Back to Jobs"})]}),(0,x.jsx)("h3",{className:"fw-bold mb-1",children:y.job_title}),(0,x.jsxs)("div",{className:"themeColor fw-medium mb-3 d-flex gap-2 align-items-center",children:[(0,x.jsxs)("span",{children:[" ",y.employer_name," "]})," ",(0,x.jsx)("span",{children:" |"}),(0,x.jsxs)("span",{className:"py-1 px-3 bg-secondary bg-opacity-10 themeColor fw-medium rounded",children:[" ",y.job_is_remote?"Remote":"Onsite"," "]})," ",(0,x.jsxs)("span",{className:"py-1 px-3 bg-secondary bg-opacity-10 themeColor fw-medium rounded",children:[" ",y.job_employment_type," "]})]}),(0,x.jsxs)("div",{className:"d-flex gap-3 flex-wrap mb-3 font14",children:[y.job_publisher&&(0,x.jsxs)("div",{className:"d-flex gap-1 align-items-center",children:[(0,x.jsx)(c.A,{size:16}),y.job_publisher]}),(y.job_city||y.job_state||y.job_country)&&(0,x.jsxs)("div",{className:"d-flex gap-1 align-items-center",children:[(0,x.jsx)(m.A,{size:16}),[y.job_city,y.job_state,y.job_country].filter(Boolean).join(", ")]}),y.job_posted_at_datetime_utc&&(0,x.jsxs)("div",{className:"d-flex gap-1 align-items-center",children:[(0,x.jsx)(p.A,{size:16}),(0,u.M0)(y.job_posted_at_datetime_utc)]})]}),(0,x.jsx)("div",{onClick:()=>{(()=>{if(null===s||void 0===s||!s.job_id)return;n(!0);let e={job_id:null===s||void 0===s?void 0:s.job_id,action:"apply",employee_email:f};t.ZH.post(b,e).then((e=>{N()})).catch((e=>{console.log(e,"error")})).finally((()=>{n(!1)}))})(),null!==y&&void 0!==y&&y.job_apply_link&&window.open(y.job_apply_link,"_blank")},className:"themeButton themeButtonHover py-2 mb-3 mt-2 fw-semibold",children:_?"Reapply":"Apply Now"}),null!==y&&void 0!==y&&null!==(e=y.job_highlights)&&void 0!==e&&e.Qualifications?(0,x.jsxs)("div",{className:"mb-3",children:[(0,x.jsx)("div",{className:"mb-2 fw-bold h6 themeColor",children:"Qualifications"}),(0,x.jsx)("div",{children:w(null===y||void 0===y||null===(a=y.job_highlights)||void 0===a?void 0:a.Qualifications)})]}):(0,x.jsx)(x.Fragment,{}),null!==y&&void 0!==y&&null!==(o=y.job_highlights)&&void 0!==o&&o.Responsibilities?(0,x.jsxs)("div",{className:"mb-3",children:[(0,x.jsx)("div",{className:"mb-2 fw-bold h6 themeColor",children:"Responsibilities"}),(0,x.jsx)("div",{children:w(null===y||void 0===y||null===(d=y.job_highlights)||void 0===d?void 0:d.Responsibilities)})]}):(0,x.jsx)(x.Fragment,{}),null!==y&&void 0!==y&&null!==(h=y.job_highlights)&&void 0!==h&&h.Benefits?(0,x.jsxs)("div",{className:"mb-2",children:[(0,x.jsx)("div",{className:"mb-2 fw-bold h6 themeColor",children:"Benefits"}),(0,x.jsx)("div",{children:w(null===y||void 0===y||null===(j=y.job_highlights)||void 0===j?void 0:j.Benefits)})]}):(0,x.jsx)(x.Fragment,{}),(0,x.jsx)(t.vZ,{show:i})]})};return j?(0,x.jsx)(t.of,{modalStyle:{background:"#fff"},style:{maxWidth:"750px"},isActive:!0,onClose:l,children:C()}
1):(0,x.jsx)("div",{className:"bg-white p-4 pt-2 rounded shadow-sm shadow",children:C()})}const g=function(){const[e,s]=(0,a.useState)(!1),[l,r]=(0,a.useState)({}),[b,g]=(0,a.useState)([]),[f,y]=(0,a.useState)({}),[_,N]=(0,a.useState)(null);let w=null===f||void 0===f?void 0:f.pagination;const[C,A]=(0,a.useState)({currentPage:1,rowsPerPage:10}),{user:k}=(0,o.A)();let S=null===k||void 0===k?void 0:k.email;(0,a.useEffect)((()=>{P(),N(null)}),[S,JSON.stringify(C),JSON.stringify(l)]);const P=()=>{if(!S)return;s(!0);let e={employee_email:S,page:C.currentPage,page_size:C.rowsPerPage,search:l.search||null};"Job Type"!==l.jobType&&(e.remote_only=!1),"Remote"==l.jobType&&(e.remote_only=!0),l.jobDays&&(e.days=l.jobDays),t.ZH.post("https://rp-api.elevatestaffing.ai/get-jobs-from-db-comparing-resume-employee-v3",e).then((e=>{var s;g(null===(s=e.data)||void 0===s?void 0:s.matches),y(e.data)})).catch((e=>{console.log(e,"error")})).finally((()=>{s(!1)}))},B=(e,s)=>{r((0,i.A)((0,i.A)({},l),{},{[e]:s})),A((e=>(0,i.A)((0,i.A)({},e),{},{currentPage:1})))};return(0,x.jsxs)("div",{className:"d-flex backgroundImage",children:[(0,x.jsxs)("div",{className:"w-100 py-4 px-2 px-sm-3 px-md-4 rightcontent",children:[(0,x.jsx)("div",{className:"headerBackground text-white p-3 rounded-top",children:(0,x.jsx)("div",{className:"d-flex align-items-center justify-content-between",children:(0,x.jsxs)("div",{style:{paddingTop:"10px",paddingLeft:"10px"},children:[(0,x.jsx)("h2",{className:"mb-0 fw-bold h2",children:"Active Jobs"}),(0,x.jsx)("p",{className:"my-0",children:"Discover your next career move\u2014opportunities updated daily."})]})})}),(0,x.jsx)("div",{className:"px-0 px-md-3 pt-3",children:(0,x.jsx)("div",{className:"headerboxglass topbox",children:(0,x.jsxs)("div",{className:"headerboxoverflow d-flex justify-content-between align-items-center mb-3 topHead",style:{overflowX:"auto"},children:[(0,x.jsxs)("div",{className:"d-flex align-items-center",style:{gap:"12px"},children:[(0,x.jsxs)("div",{className:"input-group searchInputGroup border-0 mx-0 ".concat((l.search,"bg-white")),style:{minWidth:"150px",boxShadow:"0px 0px 7px 2px #00000012",borderRadius:"12px",paddingTop:"7px",paddingBottom:"7px"},children:[(0,x.jsx)("span",{className:"input-group-text bg-white border-end-0 icon rounded",children:(0,x.jsx)(n.uBk,{})}),(0,x.jsx)("input",{type:"text",className:"form-control border-start-0 searchInput px-0",placeholder:"Search Jobs",value:l.search||"",onChange:e=>B("search",e.target.value)})]}),(0,x.jsxs)("div",{className:"select-wrapper filter-select d-flex align-items-center ".concat(l.jobType&&"Job Type"!=l.jobType?"activeSelect":"inactiveSelect"),children:[(0,x.jsx)(d.zTR,{className:"icon"}),(0,x.jsx)("select",{className:"dropSelect form-select",value:l.jobType,onChange:e=>B("jobType",e.target.value),children:["Job Type","Remote","Contractor"].map((e=>(0,x.jsx)("option",{value:e,children:e},e)))})]}),(0,x.jsxs)("div",{className:"select-wrapper filter-select d-flex align-items-center ".concat(l.jobDays?"activeSelect":"inactiveSelect"),children:[(0,x.jsx)(p.A,{className:"icon"}),(0,x.jsx)("select",{className:"dropSelect form-select",value:l.jobDays||"",onChange:e=>B("jobDays",e.target.value),children:[{label:"Filter by days",value:""},{label:"Last 24 hours",value:"1"},{label:"Last 7 days",value:"7"},{label:"Last 14 days",value:"14"},{label:"Last 30 days",value:"30"},{label:"Last 60 days",value:"60"},{label:"Last 90 days",value:"90"}].map((e=>(0,x.jsx)("option",{value:e.value,children:e.label},e.label)))})]}),(0,x.jsx)("div",{className:"clear-filters",children:(0,x.jsxs)("div",{className:"cursor-pointer nowrap font14 d-flex gap-2 mx-2 align-items-center",onClick:()=>r({jobDays:"",jobType:"Job Type"}),children:[(0,x.jsx)(h.A,{size:20}),(0,x.jsx)("span",{children:"Clear filters"})]})})]}),(0,x.jsx)("div",{className:"d-flex align-items-center",children:(0,x.jsxs)("div",{className:"fw-normal d-flex justify-content-center gap-2 navButtons bg-white theme
1Color nowrap",style:{borderRadius:"12px"},children:[(0,x.jsx)(d.zTR,{}),(0,x.jsxs)("div",{className:"font14",children:[(0,x.jsx)("span",{children:" Jobs Found: "}),(0,x.jsx)("span",{className:"fw-bold",children:(null===w||void 0===w?void 0:w.total_items)||b.length})]})]})})]})})}),null!==b&&void 0!==b&&b.length?(0,x.jsx)("div",{className:"bg-white px-3 py-4",children:(0,x.jsxs)("div",{className:_?"row g-3":"",children:[(0,x.jsx)("div",{className:_?"col-lg-7":"",children:b.map(((e,s)=>{let l=e.job_is_remote;return(0,x.jsxs)("div",{className:"p-3 mb-3 border rounded hover-shadow pointer",onClick:()=>N(e),children:[(0,x.jsxs)("div",{className:"d-flex align-items-start gap-2 justify-content-between",children:[(0,x.jsxs)("div",{children:[(0,x.jsx)("div",{className:"h5 fw-semibold mb-1",children:e.job_title}),(0,x.jsxs)("div",{className:"themeColor fw-medium mb-2",children:[e.employer_name," | ",l?"Remote":"Onsite"," | ",e.job_employment_type]})]}),(0,x.jsx)("div",{className:"p-2 bg-primary rounded-2 themeColor bg-opacity-10",children:(0,x.jsx)(j.LHf,{size:22,className:"m-1"})})]}),(0,x.jsxs)("div",{className:"d-flex gap-2 align-items-center flex-wrap mb-2 font14 fw-medium",children:[e.job_publisher&&(0,x.jsxs)("div",{className:"d-flex gap-1 align-items-center pe-2 border-end",children:[(0,x.jsx)(c.A,{size:16,className:"themeColor"}),e.job_publisher]}),(e.job_city||e.job_state||e.job_country)&&(0,x.jsxs)("div",{className:"d-flex gap-1 align-items-center pe-2 border-end",children:[(0,x.jsx)(m.A,{size:16,className:"themeColor"}),[e.job_city,e.job_state,e.job_country].filter(Boolean).join(", ")]}),e.job_posted_at_datetime_utc&&(0,x.jsxs)("div",{className:"d-flex gap-1 align-items-center",children:[(0,x.jsx)(p.A,{size:16,className:"themeColor"}),(0,u.M0)(e.job_posted_at_datetime_utc)]})]}),(0,x.jsx)("div",{className:"text-truncate ",style:{maxWidth:"90%"},title:null===e||void 0===e?void 0:e.job_description,children:null===e||void 0===e?void 0:e.job_description}),e.job_posted_at_datetime_utc&&(0,x.jsx)("div",{className:"py-1 px-2 bg-primary bg-opacity-10 mt-2 themeColor fw-medium",style:{width:"max-content",borderRadius:"1000px"},children:(0,u.fF)(e.job_posted_at_datetime_utc)})]},s)}))}),(0,x.jsx)("div",{className:_?"col-lg-5":"",children:(0,x.jsx)(v,{job:_,onBack:()=>N(null)})})]})}):(0,x.jsx)(t.rk,{hide:e,title:"No Jobs Found"}),(0,x.jsx)("div",{className:"px-3",children:(0,x.jsx)(t.WB,{alltotalrecords:(null===w||void 0===w?void 0:w.total_items)||0,currentPage:C.currentPage,setCurrentPage:e=>A((0,i.A)((0,i.A)({},C),{},{currentPage:e})),rowsPerPage:C.rowsPerPage,setRowsPerPage:e=>A((0,i.A)((0,i.A)({},C),{},{rowsPerPage:e,currentPage:1}))})})]}),(0,x.jsx)(t.vZ,{show:e})]})}}}]);

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.