PageSourceSearch

https://theashishmaurya.me/_next/static/chunks/pages/company/job-b…/post-a-job/apply-form-245a72f39ee1d6e0.js

js theashishmaurya.me collected 2026-10-08 06:52:51 UTC 3,513 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7837],{56002:(e,l,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/company/job-board/post-a-job/apply-form",function(){return a(84555)}])},84555:(e,l,a)=>{"use strict";a.r(l),a.d(l,{default:()=>j});var t=a(37876),o=a(14232),r=a(2171),i=a(21379),n=a(20901),s=a(888),d=a(89559),c=a(68580),u=a(47553),p=a(83872),x=a(34217),v=a(86425),h=a(95726),y=a(63414),b=a(89311),g=a(12717),A=a(61974),f=a(16495),E=a(20129);let _=f.JOB_PREFERENCES_CONST.APPLY_LINK,S=f.JOB_PREFERENCES_CONST.APPLY_W_PEERLIST,j=(0,u.A)((0,c.A)(()=>{let e=(0,r.useDispatch)(),{primaryUserData:l}=(0,r.useSelector)(e=>e.PrimaryUserData),{jobPostDetailState:a}=(0,r.useSelector)(e=>e.JobDetails),[c,u]=(0,o.useState)({}),{theme:j}=(0,i.D)(),{handlePostAJob:N,loading:P}=(0,E.A)({error:c,setError:u}),m=e=>{c[e]&&(delete c[e],u(c))},w=(0,g.A)(f.PERMISSIONS_LIST.CUSTOM_JOB_APPLY_URL),T=(l,t)=>{(null==c?void 0:c.API_ERROR)&&m("API_ERROR");let o={...a,[l]:t};e(A.IX.updateJobPostDetail(o)),N(null,{autoSave:!0},{[l]:t})},R=async e=>{(null==c?void 0:c[_])&&m(_),T(_,e.target.value)},O=j===f.THEMES.DARK;return(null==l?void 0:l.firstName)&&!(null==l?void 0:l.isCompanyAdmin)?(0,t.jsx)(x.A.NonAuthorisedPageErr,{}):(0,t.jsx)(d.A,{error:c,setError:u,draftLoading:P,children:(0,t.jsxs)("div",{className:"flex flex-col gap-10",children:[(0,t.jsx)(v.A.Section,{title:"APPLY",icon:(0,t.jsx)(p.SettingsIcon,{size:16}),children:(null==a?void 0:a.atsType)?(0,t.jsx)(b.default.MutedText,{children:"This job post is synced with your ATS. We will send the candidate data directly to your ATS once they apply."}):(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsxs)("div",{className:"border group relative transition-all overflow-hidden duration-200 rounded-2xl round ".concat(w?" cursor-pointer":"cursor-not-allowed"," ").concat((null==a?void 0:a[S])?"".concat(O?"border-green-800":"border-green-300"):"border-gray-300"),children:[(0,t.jsx)("div",{className:"w-full h-full ".concat((null==a?void 0:a[S])?"opacity-70 group-hover:opacity-100":"opacity-0 group-hover:opacity-40"," transition-opacity duration-200 absolute bg-gray-00"),style:{background:"linear-gradient(185deg, rgba(0, 170, 69, 0.30) 0%, rgba(255, 255, 255, 0.00) 50%)"}}),(0,t.jsx)(y.A,{enabled:null==a?void 0:a[S],setEnabled:()=>{if(w){let e=null==a?void 0:a[S];T(S,!e)}},label:"“Apply w/ Peerlist” (Recommended)",subText:"Accept & manage applications with & within Peerlist.",className:"select-none flex gap-2 w-full relative justify-between py-2 px-4 items-center z-5",disabled:!w})]}),(null==a?void 0:a[S])?null:(0,t.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,t.jsx)(h.Ay,{id:_,required:!0,label:"External apply link",helpText:"Accept applicants via Google form or other applicant tracking software.",error:null==c?void 0:c[_],type:"url",placeholder:"https://apply.link",value:(null==a?void 0:a[_])||"",onChange:e=>{R(e)},disabled:!w}),w?null:(0,t.jsx)("div",{className:"mt-2",children:(0,t.jsx)(s.A.UpgradeText,{})})]})]})}),(0,t.jsxs)("div",{className:"flex flex-col gap-10 transition-opacity duration-200 ".concat((null==a?void 0:a[S])?"":"opacity-20 cursor-not-allowed pointer-events-none"),children:[(0,t.jsx)(n.A.CandidateInfo,{updateJobDetailState:T}),(0,t.jsx)(n.A.ScreeningQuestions,{updateJobDetailState:T,error:c,setError:u}),(0,t.jsx)(n.A.AddSocialLinks,{updateJobDetailState:T,error:c,setError:u})]})]})})}))}},e=>{e.O(0,[1515,9111,901,5098,636,6593,8792],()=>e(e.s=56002)),_N_E=e.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.