1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6525],{717:(e,t,n)=>{n.d(t,{A:()=>a});let a=(0,n(99782).A)("FileCheck",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m9 15 2 2 4-4",key:"1grp1n"}]])},4067:(e,t,n)=>{n.d(t,{Ex:()=>f,IY:()=>u,PC:()=>r,Y1:()=>d,Yq:()=>o,cR:()=>p,f9:()=>s,gP:()=>l,gf:()=>y,gg:()=>a,tm:()=>i});let a={candidate:{access:"onJobCandidateAccessToken",refresh:"onJobCandidateRefreshToken",accountType:"candidate",accepts:["candidate"],authType:"candidate",base:"/app/candidates",home:"/app/candidates"},recruiter:{access:"onJobRecruiterAccessToken",refresh:"onJobRecruiterRefreshToken",accountType:"recruiter",accepts:["recruiter"],authType:"recruiter",base:"/app/recruiters",home:"/app/recruiters/"},client:{access:"onJobClientAccessToken",refresh:"onJobClientRefreshToken",accountType:"client",accepts:["client","client_company"],authType:"client",base:"/app/clients",home:"/app/clients/"},admin:{access:"oj_access_token",refresh:"oj_refresh_token",accountType:"super_admin",accepts:["super_admin"],authType:"super_admin",base:"/app/admins",home:"/app/admins/companies"}},r="oj_permissions";function i(e){return"string"==typeof e&&Object.prototype.hasOwnProperty.call(a,e)}function l(e){return e?"super_admin"===e||"super-admin"===e?"admin":i(e)?e:null:null}function o(e){if(!e)return null;try{let t=e.split(".")[1];if(!t)return null;let n=JSON.parse(atob(t.replace(/-/g,"+").replace(/_/g,"/")));return n&&"object"==typeof n?n:null}catch(e){return null}}function s(e,t){let n=null==t?void 0:t.account_type;return n?a[e].accepts.includes(n):"admin"===e}let c="https://redirect.invalid";function d(e){if(!e)return null;try{let t=new URL(e,c);if(t.origin!==c)return null;return"".concat(t.pathname).concat(t.search).concat(t.hash)}catch(e){return null}}function u(e,t){var n;return null!=(n=d(t))?n:a[e].home}function p(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"signin",r=d(t),i="".concat("signup"===n?"/app/auth/sign-up":"/app/auth/","?type=").concat(a[e].authType);return r?"".concat(i,"&redirect_to=").concat(encodeURIComponent(r)):i}let h=()=>{try{return window.localStorage}catch(e){return null}};function f(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:h();i&&(i.setItem(a[e].access,t.access_token),t.refresh_token&&i.setItem(a[e].refresh,t.refresh_token),"admin"===e&&n&&i.setItem(r,JSON.stringify(n)))}function y(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h();t&&(t.removeItem(a[e].access),t.removeItem(a[e].refresh),"admin"===e&&t.removeItem(r))}},12098:(e,t,n)=>{n.d(t,{_:()=>l});var a=n(13774);let r=e=>e.replace(/\/+$/,""),i=r("https://core.onjob.io"),l={apiUrl:i,serverApiUrl:r(a.env.INTERNAL_API_URL||"")||i,siteUrl:r("https://onjob.io"),isProd:!0,afflioWorkspaceId:"10402784-0aa2-43fc-9393-538839189c55",afflioHost:r("https://afflio.autocloz.com")}},14869:(e,t,n)=>{n.d(t,{A:()=>a});let a=(0,n(99782).A)("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]])},16525:(e,t,n)=>{n.r(t),n.d(t,{MoreScreen:()=>y});var a=n(62665),r=n(51005),i=n(31577),l=n.n(i),o=n(56689),s=n(91324),c=n(16171),d=n(12098),u=n(82002),p=n(83973),h=n(63790),f=n(25492);function y(){let{unlocked:e}=(0,f.o)(),[t,n]=(0,r.useState)(null);return(0,a.jsxs)(c.k5,{titleSize:"page",title:"More",description:"Career tools, community and account settings.",children:[(0,a.jsx)(c.BJc,{gap:"2xl",children:u.Sm.map(t=>{let r=t.items.filter(e=>!(e.hiddenOnProd&&d._.isProd));return 0===r.length?null:(0,a.jsxs)(c.BJc,{gap:"lg",children:[(0,a.jsx)(c.DZT,{level:2,size:"sm",children:t.label}),(0,a.jsx)(c.xA9,{cols:"auto",gap:"md",children:r.map(t=>{let r=p.bo[t.key],i=!!r&&!e(r);return(0,a.jsx)(m,{item:t,locked:i,onLocked:()=>r&&n(r)},t.key)})})]},t.key)})}),(0,a.jsx)(h.k,{feature:t,onClose:()=>n(null)})]})}function m(e){let{item:t,locked:n,onLocked:r}=e,i=(0,a.jsxs)(c.BJc,{gap:"sm",className:"h-full",children:[(0,a.jsxs)(c.fI1,{justify:"between",align:"center",children:[(0,a.jsx)(c.Int,{as:t.icon,size:"lg",tone:"accent"}),n?(0,a.jsxs)(c.Exy,{variant:"neutral",children:[(0,a.jsx)(o.A,{"aria-hidden":!0,
1className:"size-3"}),"Paid"]}):(0,a.jsx)(c.Int,{as:s.A,size:"sm",tone:"faint",className:"oj-card-link-arrow"})]}),(0,a.jsx)(c.DZT,{level:3,size:"xs",children:t.label}),(0,a.jsx)(c.EYj,{size:"sm",leading:"snug",children:t.description})]});return n?(0,a.jsx)("button",{type:"button",onClick:r,"aria-haspopup":"dialog",className:"card oj-card-link oj-focus-ring block h-full w-full cursor-pointer p-5 text-left outline-none",children:i}):(0,a.jsx)(l(),{href:t.href,className:"card oj-card-link oj-focus-ring block h-full p-5 outline-none",children:i})}},17256:(e,t,n)=>{n.d(t,{hD:()=>c,W3:()=>h,O7:()=>k,CI:()=>p});var a=n(12098),r=n(58507),i=n(4067),l=n(77526),o=n(51756),s=n(42734);class c extends Error{constructor(e,t,n){super(t),this.status=e,this.data=n}}let d=new Map;function u(){try{r.w.getState().hydrate()}catch(e){}}function p(e,t){(0,i.gf)(e),u(),window.location.replace((0,i.cR)(e,null!=t?t:null))}let h="oj:session-expired";function f(e){(0,i.gf)(e),u(),window.dispatchEvent(new CustomEvent(h,{detail:{role:e}}))}async function y(e){let{refresh:t,loggedIn:n}=(0,l.lx)(e);if(!t)return!1;if(!n)return f(e),!1;let r=await fetch("".concat(a._.apiUrl,"/auth/local/refresh-token"),{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({token:t})}).catch(()=>null);if(!r||r.status>=500||429===r.status)return!1;let o=await r.json().catch(()=>null);return r.ok&&(null==o?void 0:o.access_token)&&!o.logout_required?((0,i.Ex)(e,o),u(),!0):(f(e),!1)}async function m(e,t,n,r){var u,p,h,k,g,v,b,A;let{access:x,refresh:w,loggedIn:j}=(0,l.lx)(e);if(w&&!j)throw f(e),new c(401,"Session expired. Please sign in again.",{code:"SESSION_EXPIRED",role:e});let _=await fetch("".concat(a._.apiUrl).concat(t),{...n,headers:{"content-type":"application/json",...x&&{Authorization:"Bearer ".concat(x)},...n.headers}}),S=await _.json().catch(()=>null);if(401===_.status&&r){let a;if(await (!(a=d.get(e))&&(a=y(e).finally(()=>d.delete(e)),d.set(e,a)),a))return m(e,t,n,!1);(0,l.lx)(e).loggedIn||(g=e,window.location.replace((0,i.cR)(g,window.location.pathname+window.location.search)))}if(403===_.status&&((null==(v=S)?void 0:v.code)==="SESSION_SUPERSEDED"||(null==v||null==(b=v.data)?void 0:b.code)==="SESSION_SUPERSEDED"||(null==v||null==(A=v.message)?void 0:A.code)==="SESSION_SUPERSEDED"||"string"==typeof(null==v?void 0:v.message)&&v.message.toLowerCase().includes("another device")))throw window.dispatchEvent(new CustomEvent("oj:session-superseded")),new c(403,"Your account is now active on another device.",{code:"SESSION_SUPERSEDED"});if(403===_.status&&(0,o._)(S))throw window.dispatchEvent(new CustomEvent(o.UF)),new c(403,"Your company account has been blocked.",{code:o.pG});if(403===_.status&&((null==S?void 0:S.code)===s.fI||(null==S||null==(u=S.data)?void 0:u.code)===s.fI||"object"==typeof(null==S?void 0:S.message)&&(null==(p=S.message)?void 0:p.code)===s.fI))throw new c(403,s.Js,{code:s.fI});if(!_.ok){let e=null!=(k=null!=(h=null==S?void 0:S.message)?h:null==S?void 0:S.error)?k:_.statusText;throw new c(_.status,Array.isArray(e)?e.join(", "):String(e),S)}return S}function k(e,t,n){var a;let r=(0,i.tm)(e)&&"string"==typeof t;return m(r?e:"candidate",r?t:e,null!=(a=r?n:t)?a:{},!0)}},20731:(e,t,n)=>{n.d(t,{A:()=>a});let a=(0,n(99782).A)("LayoutGrid",[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]])},21648:(e,t,n)=>{n.d(t,{A:()=>a});let a=(0,n(99782).A)("Trophy",[["path",{d:"M6 9H4.5a2.5 2.5 0 0 1 0-5H6",key:"17hqa7"}],["path",{d:"M18 9h1.5a2.5 2.5 0 0 0 0-5H18",key:"lmptdp"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22",key:"1nw9bq"}],["path",{d:"M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22",key:"1np0yb"}],["path",{d:"M18 2H6v7a6 6 0 0 0 12 0V2Z",key:"u46fv3"}]])},25492:(e,t,n)=>{n.d(t,{o:()=>o});var a=n(51005),r=n(79013),i=n(83973);let l=null;function o(){let[e,t]=(0,a.useState)({ready:!1,entitlements:null});(0,a.useEffect)(()=>{let e=!0;return(!l&&(l=(0,r.E$)().then(e=>(0,i.W8)(e)).catch(()=>(l=null,null))),l).then(n=>{e&&t({ready:!0,entitlements:n})}),()=>{e=!1}},[]);let n=(0,a.useCallback)(t=>(0,i.st)(e.entitlements,t),[e.entitlements]);return{ready:e.ready,unlocked:n}}},27177:(e,t,n)=>{n.d(t,{A:()=>a});let a=(0,n(99782).A)("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]])}
1,28693:(e,t,n)=>{n.d(t,{A:()=>a});let a=(0,n(99782).A)("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]])},29362:(e,t,n)=>{n.d(t,{A:()=>a});let a=(0,n(99782).A)("PenLine",[["path",{d:"M12 20h9",key:"t2du7b"}],["path",{d:"M16.376 3.622a1 1 0 0 1 3.002 3.002L7.368 18.635a2 2 0 0 1-.855.506l-2.872.838a.5.5 0 0 1-.62-.62l.838-2.872a2 2 0 0 1 .506-.854z",key:"1ykcvy"}]])},34819:(e,t,n)=>{n.d(t,{A:()=>a});let a=(0,n(99782).A)("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]])},35404:(e,t,n)=>{n.d(t,{A:()=>a});let a=(0,n(99782).A)("CreditCard",[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]])},36787:(e,t,n)=>{n.d(t,{A:()=>a});let a=(0,n(99782).A)("Bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]])},42734:(e,t,n)=>{n.d(t,{BE:()=>g,ES:()=>y,HK:()=>f,JC:()=>v,Js:()=>r,Og:()=>c,Rn:()=>i,T7:()=>s,fI:()=>a,fK:()=>u,gO:()=>b,j$:()=>p,jn:()=>k,nN:()=>l,rA:()=>A,sj:()=>m,xf:()=>o});let a="FREELANCE_NO_JOBS",r="Job posting is not available on freelance accounts.",i="Freelance recruiter",l="Work independently without a company domain. Our team reviews every request, usually within one business day.",o=30,s=1e3,c=3,d=["application/pdf","image/jpeg","image/png"],u=".pdf,.jpg,.jpeg,.png";function p(e){return(null==e?void 0:e.account_kind)==="freelance"}let h=/^https?:\/\/([a-z]{2,3}\.)?linkedin\.com\/in\/[^\s/?#]+/i;function f(e,t){let n=e.replace(/\D/g,"")||"+91".replace(/\D/g,""),a=t.replace(/\D/g,""),r=a.length>10&&a.startsWith(n)?a.slice(n.length):a;return"+".concat(n).concat(r)}function y(){return{phone_code:"+91",phone_number:"",phone_verified:!1,linkedin_url:"",note:"",documents:[]}}function m(e){let t=e.replace(/\D/g,"");return t?t.length<7||t.length>15?"Enter a valid phone number.":"":"Enter your phone number."}function k(e){let t={},n=m(e.phone_number);n?t.phone=n:e.phone_verified||(t.phone="Verify your phone number with the code we send by SMS.");let a=e.linkedin_url.trim();if(a)h.test(a.trim())||(t.linkedin_url="Use a LinkedIn profile URL, such as https://www.linkedin.com/in/your-name.");else t.linkedin_url="Enter your LinkedIn profile URL.";let r=e.note.trim();return r?r.length<o?t.note="Write at least ".concat(o," characters."):r.length>s&&(t.note="Keep this under ".concat(s," characters.")):t.note="Tell us about your recruiting work.",0===e.documents.length&&(t.documents="Upload an ID or supporting document."),t}function g(e){return{linkedin_url:e.linkedin_url.trim(),phone:f(e.phone_code,e.phone_number),note:e.note.trim(),documents:e.documents}}function v(e){return d.includes(e.type)?e.size>5242880?"Files must be 5 MB or smaller.":"":"Upload a PDF, JPG or PNG file."}function b(e){var t;let n=null==e||null==(t=e.freelance_request)?void 0:t.status;return"pending"===n||"rejected"===n||"approved"===n?n:"choice"}function A(e){if(!e)return"";let t=new Date(e);return Number.isNaN(t.getTime())?"":t.toLocaleDateString("en-GB",{day:"numeric",month:"short",year:"numeric",timeZone:"Asia/Kolkata"})}},51756:(e,t,n)=>{n.d(t,{Te:()=>i,UF:()=>r,_:()=>l,pG:()=>a});let a="COMPANY_BLOCKED",r="oj:company-blocked",i="[email protected]";function l(e){var t,n;return(null==e?void 0:e.code)===a||(null==e||null==(t=e.data)?void 0:t.code)===a||"object"==typeof(null==e?void 0:e.message)&&(null==(n=e.message)?void 0:n.code)===a}},53185:(e,t,n)=>{function a(e){if(null==e||"object"!=typeof e)return null;let t="data"in e?e.data:e;return null!=t?t:null}function r(e){let t=a(e);if(Array.isArray(t))return t;if(t&&"object"==typeof t){if(Array.isArray(t.data))return t.data;if(Array.isArray(t.items))return t.items}return[]}function i(e){return"string"==typeof e?e:null==e?"":String(e)}function l(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];if(!e)return"";for(let t of n){let n=e[t];if(null!=n&&""!==n)return i(n)}return""}n.d(t,{Up:()=>l,gx:()=>i,ij:()=>r,oA:()=>a})},54134:(e,t,n)=>{n.d(t,{A:()=>a});let a=(0,n(99782).A)("Briefcase",[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]])}
1,56689:(e,t,n)=>{n.d(t,{A:()=>a});let a=(0,n(99782).A)("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]])},58420:(e,t,n)=>{n.d(t,{A:()=>a});let a=(0,n(99782).A)("Gift",[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]])},58507:(e,t,n)=>{n.d(t,{w:()=>i});var a=n(86661),r=n(77526);let i=(0,a.v)(e=>({loggedIn:!1,role:null,hydrated:!1,hydrate:()=>e({loggedIn:(0,r.lx)().loggedIn,role:(0,r.Wd)(),hydrated:!0})}))},60381:(e,t,n)=>{n.d(t,{A:()=>a});let a=(0,n(99782).A)("Headphones",[["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3",key:"1xhozi"}]])},61638:(e,t,n)=>{n.d(t,{CI:()=>i.CI,Ex:()=>a.Ex,O7:()=>i.O7,PC:()=>a.PC,W3:()=>i.W3,cR:()=>a.cR,gg:()=>a.gg,hD:()=>i.hD,lx:()=>r.lx,wR:()=>r.wR});var a=n(4067),r=n(77526),i=n(17256)},63790:(e,t,n)=>{n.d(t,{k:()=>c,z:()=>d});var a=n(62665),r=n(31577),i=n.n(r),l=n(56689),o=n(16171),s=n(83973);function c(e){var t,n;let{feature:r,onClose:c}=e,d=r?s.Sb[r]:null;return(0,a.jsx)(o.aFV,{open:null!==r,onOpenChange:e=>!e&&c(),children:(0,a.jsxs)(o.$mQ,{className:"sm:max-w-md",children:[(0,a.jsxs)(o.rQ0,{children:[(0,a.jsxs)(o.fI1,{gap:"sm",className:"justify-center sm:justify-start",children:[(0,a.jsx)(o.Int,{as:l.A,size:"md",tone:"accent"}),(0,a.jsx)(o.EYj,{as:"span",size:"sm",tone:"muted",weight:"semibold",children:"Available on paid plans"})]}),(0,a.jsx)(o.wto,{children:null!=(t=null==d?void 0:d.name)?t:""}),(0,a.jsx)(o.mwd,{children:null!=(n=null==d?void 0:d.summary)?n:""})]}),(0,a.jsxs)(o.jlY,{children:[(0,a.jsx)(o.$nd,{variant:"outline",size:"md",onClick:c,children:"Not now"}),(0,a.jsx)(o.$nd,{asChild:!0,size:"md",children:(0,a.jsx)(i(),{href:"/app/candidates/subscription",onClick:c,children:"Upgrade to unlock"})})]})]})})}function d(e){let{feature:t,onUpgrade:n}=e,r=s.Sb[t];return(0,a.jsx)(o.ZpM,{pad:"lg",children:(0,a.jsxs)(o.BJc,{gap:"sm",align:"center",className:"text-center",children:[(0,a.jsx)(o.Int,{as:l.A,size:"lg",tone:"accent"}),(0,a.jsx)(o.DZT,{level:2,size:"sm",children:"".concat(r.name," is available on paid plans")}),(0,a.jsx)(o.EYj,{size:"sm",tone:"muted",children:r.summary}),(0,a.jsx)(o.$nd,{size:"md",onClick:n,children:"Upgrade to unlock"})]})})}},64007:(e,t,n)=>{n.d(t,{A:()=>a});let a=(0,n(99782).A)("GraduationCap",[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]])},65358:(e,t,n)=>{n.d(t,{A:()=>a});let a=(0,n(99782).A)("MessagesSquare",[["path",{d:"M14 9a2 2 0 0 1-2 2H6l-4 4V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2z",key:"p1xzt8"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v11l-4-4h-6a2 2 0 0 1-2-2v-1",key:"1cx29u"}]])},69314:(e,t,n)=>{n.d(t,{A:()=>a});let a=(0,n(99782).A)("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]])},77526:(e,t,n)=>{n.d(t,{Ib:()=>i,Wd:()=>u,lb:()=>r,lx:()=>s,wR:()=>c});var a=n(4067);let r=a.gg.candidate.access,i=a.gg.candidate.refresh,l=()=>{try{return window.localStorage}catch(e){return null}};function o(e,t){if(!e)return null;try{return e.getItem(t)}catch(e){return null}}function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"candidate",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l(),n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Date.now(),r=a.gg[e],i=o(t,r.access),s=o(t,r.refresh),c=(0,a.Yq)(s),d=(null==c?void 0:c.account_type)?c:(0,a.Yq)(i),u=!!(null==d?void 0:d.account_type)&&(0,a.f9)(e,d),p="number"==typeof(null==c?void 0:c.exp)&&1e3*c.exp>n;return{role:e,access:i,refresh:s,loggedIn:!!(s&&u&&p),expired:!!(s&&(!u||!p))}}
1function c(e,t,n){return s(e,void 0===t?l():t,n).loggedIn}let d=["candidate","recruiter","client","admin"];function u(e,t){var n;let a=void 0===e?l():e;return null!=(n=d.find(e=>s(e,a,t).loggedIn))?n:null}},79013:(e,t,n)=>{n.d(t,{E$:()=>i,T6:()=>o,pQ:()=>l});var a=n(61638),r=n(53185);async function i(){return(0,r.oA)(await (0,a.O7)("candidate","/candidate-profile"))}async function l(){return(0,r.oA)(await (0,a.O7)("candidate","/candidate-profile/completion"))}async function o(){return(0,r.oA)(await (0,a.O7)("candidate","/candidate-profile/public-link"))}},82002:(e,t,n)=>{n.d(t,{Sm:()=>E,XK:()=>M});var a=n(54134),r=n(89872),i=n(21648),l=n(34819),o=n(14869),s=n(20731),c=n(717),d=n(29362),u=n(64007),p=n(27177),h=n(28693),f=n(36787),y=n(69314),m=n(96306),k=n(65358),g=n(93831),v=n(58420),b=n(35404),A=n(98419),x=n(60381);let w="/app/candidates",j=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e?"".concat(w,"/").concat(e):w},_=[{key:"jobs",label:"Jobs",href:j(),icon:a.A,exact:!0,activeFor:[j("company")]},{key:"applications",label:"Applications",href:j("applications"),icon:r.A},{key:"quiz",label:"Quiz",href:j("quiz"),icon:i.A},{key:"messages",label:"Messages",href:j("messages"),icon:l.A,activeFor:[j("requests")]},{key:"profile",label:"Profile",href:j("profile"),icon:o.A},{key:"more",label:"More",href:j("more"),icon:s.A}],S=_.filter(e=>"profile"!==e.key),M={home:j(),groups:[{key:"primary",items:_}],tabs:S},E=[{key:"career",label:"Career tools",items:[{key:"profiles",label:"Role profiles",description:"Separate profiles for different kinds of roles.",href:j("profiles"),icon:o.A},{key:"resume",label:"Resume builder",description:"Build and export a formatted resume.",href:j("resume"),icon:r.A},{key:"ats-checker",label:"ATS checker",description:"Score a resume against applicant tracking systems.",href:j("ats-checker"),icon:c.A},{key:"cover-letter",label:"Cover letter",description:"Draft a cover letter for a role.",href:j("cover-letter"),icon:d.A},{key:"mock-test",label:"Mock test",description:"Practise timed assessments.",href:j("mock-test"),icon:u.A},{key:"auto-apply",label:"Auto apply",description:"Let OnJob apply to matching roles for you.",href:j("auto-apply"),icon:p.A},{key:"discover",label:"Swipe to discover",description:"Review recommended roles one at a time.",href:j("discover"),icon:h.A},{key:"assistant",label:"AI assistant",description:"Ask about your resume and job search.",href:j("assistant"),icon:f.A,hiddenOnProd:!0}]},{key:"community",label:"Community",items:[{key:"community",label:"Community",description:"Discussions with other candidates.",href:j("community"),icon:y.A},{key:"blogs",label:"Blogs",description:"Career articles from the OnJob team.",href:j("blogs"),icon:m.A},{key:"qa",label:"Questions and answers",description:"Ask a question or answer one.",href:j("qa"),icon:k.A}]},{key:"account",label:"Account",items:[{key:"notifications",label:"Notifications",description:"Everything OnJob has sent you.",href:j("notifications"),icon:g.A},{key:"refer",label:"Refer and earn",description:"Invite people and track rewards.",href:j("refer"),icon:v.A},{key:"subscription",label:"Subscription and billing",description:"Your plan, invoices and upgrades.",href:j("subscription"),icon:b.A},{key:"settings",label:"Settings",description:"Preferences, theme and account controls.",href:j("settings"),icon:A.A},{key:"support",label:"Support",description:"Get help from the assistant or the OnJob team.",href:j("support"),icon:x.A}]}],I={[j("dashboard")]:j(),[j("requests")]:"".concat(j("messages"),"?tab=requests")};[j(),j("applications"),j("messages"),j("profile"),j("profile/edit"),j("profiles"),j("profiles/[id]"),j("more"),j("onboarding"),j("notifications"),j("settings"),j("subscription"),j("auto-apply"),j("resume"),j("ats-checker"),j("cover-letter"),j("mock-test"),j("quiz"),j("community"),j("blogs"),j("qa"),j("refer"),j("assistant"),j("discover"),j("support"),j("company/[domain]"),j("sign-in"),j("sign-up"),...Object.keys(I)];let z=_.find(e=>"more"===e.key);z&&(z.activeFor=E.flatMap(e=>e.items).map(e=>e.href))},83973:(e,t,n)=>{n.d(t,{Li:()=>c,Sb:()=>l,W8:()=>o,bo:()=>i,st:()=>s});var a=n(61638);let r=["ats_resume_checker","mock_tests","ai_assistant","resume_import","profile_ai"],i={"ats-checker":"ats_resume_checker","mock-test":"mock_tests",assistant:"ai_assistant"},l={ats_resume_checker:{name:"ATS checker",summary:"Scores your resume the way applicant tracking systems read it and lists what to fix."}
1,mock_tests:{name:"Mock test",summary:"Generates timed practice tests for a skill and gives you a report after each one."},ai_assistant:{name:"AI assistant",summary:"Answers questions about your resume, interviews and job search."},resume_import:{name:"Import from resume",summary:"Reads an existing resume file and fills in the resume builder sections for you."},profile_ai:{name:"Profile insights",summary:"Reviews your profile and suggests changes and job filters that fit it."}};function o(e){if(!e||"object"!=typeof e)return null;let t=e.paid_features;return!t||"object"!=typeof t||Array.isArray(t)?null:r.reduce((e,n)=>({...e,[n]:!0===t[n]}),{})}function s(e,t){return null===e||!0===e[t]}function c(e){var t;if(!(e instanceof a.hD)||403!==e.status)return null;let n=e.data&&"object"==typeof e.data?e.data:null,i=(null==n?void 0:n.details)&&"object"==typeof n.details?n.details:null;return(null==i?void 0:i.code)!=="PAID_FEATURE"?null:"string"==typeof(t=i.feature)&&r.includes(t)?i.feature:null}},86661:(e,t,n)=>{n.d(t,{v:()=>l});var a=n(51005);let r=e=>{let t,n=new Set,a=(e,a)=>{let r="function"==typeof e?e(t):e;if(!Object.is(r,t)){let e=t;t=(null!=a?a:"object"!=typeof r||null===r)?r:Object.assign({},t,r),n.forEach(n=>n(t,e))}},r=()=>t,i={setState:a,getState:r,getInitialState:()=>l,subscribe:e=>(n.add(e),()=>n.delete(e))},l=t=e(a,r,i);return i},i=e=>{let t=(e=>e?r(e):r)(e),n=e=>(function(e,t=e=>e){let n=a.useSyncExternalStore(e.subscribe,a.useCallback(()=>t(e.getState()),[e,t]),a.useCallback(()=>t(e.getInitialState()),[e,t]));return a.useDebugValue(n),n})(t,e);return Object.assign(n,t),n},l=e=>e?i(e):i},89872:(e,t,n)=>{n.d(t,{A:()=>a});let a=(0,n(99782).A)("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]])},91324:(e,t,n)=>{n.d(t,{A:()=>a});let a=(0,n(99782).A)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])},96306:(e,t,n)=>{n.d(t,{A:()=>a});let a=(0,n(99782).A)("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]])},98419:(e,t,n)=>{n.d(t,{A:()=>a});let a=(0,n(99782).A)("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])}}]);
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.