PageSourceSearch

https://app.xcareer.ai/_next/static/chunks/pages/job-boards-ad7b54f5b96b0ee2.js

js xcareer.ai collected 2026-09-24 13:56:19 UTC 16,655 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1380],{64344:function(e,r,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/job-boards",function(){return t(53477)}])},84266:function(e,r,t){"use strict";t.d(r,{G6:function(){return a},RZ:function(){return i},tX:function(){return o}});var n=t(41796);let i={backgroundColor:"common.white",color:"primary.dark",fontWeight:700,textTransform:"none",whiteSpace:"nowrap",boxShadow:"0 2px 10px rgba(0, 0, 0, 0.18)","&:hover":{backgroundColor:(0,n.Fq)("#fff",.9),boxShadow:"0 4px 14px rgba(0, 0, 0, 0.24)"},"&.Mui-disabled":{backgroundColor:(0,n.Fq)("#fff",.55),color:(0,n.Fq)("#0C4D3F",.6)}},o={backgroundColor:(0,n.Fq)("#fff",.14),color:"common.white",fontWeight:600,textTransform:"none",whiteSpace:"nowrap",border:"1px solid ".concat((0,n.Fq)("#fff",.7)),boxShadow:"none","&:hover":{backgroundColor:(0,n.Fq)("#fff",.26),borderColor:"common.white",boxShadow:"none"},"&.Mui-disabled":{color:(0,n.Fq)("#fff",.6),border:"1px solid ".concat((0,n.Fq)("#fff",.3))}},a={color:"common.white",backgroundColor:(0,n.Fq)("#fff",.2),border:"1px solid ".concat((0,n.Fq)("#fff",.4)),"&:hover":{backgroundColor:(0,n.Fq)("#fff",.34)}}},53477:function(e,r,t){"use strict";t.r(r),t.d(r,{Board:function(){return N}});var n=t(85893),i=t(67294),o=t(36192),a=t(22120),s=t(2734),l=t(98396),c=t(99226),d=t(15861),u=t(34386),h=t(83321),x=t(93946),m=t(65582),p=t(77651),f=t(46901),g=t(64666),b=t(37645),y=t(6514),j=t(61903),w=t(31425),v=t(98456),Z=t(86886),C=t(66242),S=t(44267),k=t(87918),z=t(62023),F=t(10633),I=t(41796),B=t(84266),E=t(63730),q=t(72428),P=t(11163),_=t.n(P),D=t(32673),R=t(30966),W=t(23918),X=t(44821);function N(){var e;let r=(0,s.Z)(),{t}=(0,a.$G)("common"),{settings:P}=(0,W.r)();(0,l.Z)(r.breakpoints.down("md"));let[N,A]=(0,i.useState)([]),[U,T]=(0,i.useState)(!1),[V,O]=(0,i.useState)(!1),[J,L]=(0,i.useState)(!1),[M,G]=(0,i.useState)(""),[H,Y]=(0,i.useState)(null),[$,Q]=(0,i.useState)(null),[K,ee]=(0,i.useState)(!0),[er,et]=(0,i.useState)(!1),[en,ei]=(0,i.useState)(!1),[eo,ea]=(0,i.useState)(!1),[es,el]=(0,i.useState)(null),[ec,ed]=(0,i.useState)(null),[eu,eh]=(0,i.useState)(null),[ex,em]=(0,i.useState)(null),ep=null===(e=JSON.parse(localStorage.getItem("userData")||"{}"))||void 0===e?void 0:e.id,[ef,eg]=(0,i.useState)(null),[eb,ey]=(0,i.useState)(!1),[ej,ew]=(0,i.useState)(""),[ev,eZ]=(0,i.useState)({page:0,pageSize:10}),[eC,eS]=(0,i.useState)(0),[ek,ez]=(0,i.useState)(!1);(0,i.useEffect)(()=>{eI()},[ev]),(0,i.useEffect)(()=>{ee(!0),(0,R.Of)(ep).then(e=>{eg(e.plan.number_of_job_boards),ee(!1)}).catch(e=>{ee(!1),console.error(e)})},[]);let eF=(0,X.VO)(eC,ef),eI=async()=>{try{el(null);let e=await (0,o.DC)({page:ev.page+1,page_size:ev.pageSize});A(e.results),eS(e.count)}catch(e){console.error("Error fetching boards:",e),el("Failed to load boards. Please try again.")}},eB=async e=>{if(e&&eC%10==1&&ev.page>0)eZ(e=>({...e,page:e.page-1}));else try{el(null);let e=await (0,o.DC)({page:ev.page+1,page_size:ev.pageSize});A(e.results),eS(e.count)}catch(e){console.error("Error fetching boards:",e),el("Failed to load boards. Please try again.")}};t("Board Name"),t("Stages"),t("Created at"),t("Actions"),e=>{let{row:r}=e,t=null==r?void 0:r.id;return(0,n.jsxs)(c.Z,{sx:{display:"flex",alignItems:"center",gap:1},children:[(0,n.jsx)(u.Z,{title:"View Job Board",children:(0,n.jsx)(h.Z,{size:"small",variant:"contained",startIcon:(0,n.jsx)(E.Z,{icon:"mdi:eye-outline"}),onClick:()=>eR(t),children:"View"})}),(0,n.jsx)(x.Z,{size:"small",onClick:e=>{e.stopPropagation(),eX(r)},sx:{bgcolor:"",color:"dark"==P.mode?"#189a7c":"primary.main",boxShadow:1},children:(0,n.jsx)(E.Z,{icon:"edit:lined",fontSize:"20"})}),(0,n.jsx)(x.Z,{size:"small",onClick:e=>{e.stopPropagation(),eN(r)},sx:{bgcolor:"",color:"dark"==P.mode?"#189a7c":"primary.main",boxShadow:1},children:(0,n.jsx)(E.Z,{icon:"ep:delete",fontSize:"20"})})]})};let eE=()=>{ey(!1)},eq=()=>{_().push("/company/billing/"),ey(!1)},eP=async()=>{if(M.trim()){if(eF){ew("Upgrade your subscription to create more boards."),ey(!0),T(!1);return}try{et(!0),ed(null),await (0,o.aX)({user:ep,name:M}),await eB(!1),G(""),T(!1)}catch(e){console.error("Error creating board:",e),ed("Failed to create board. Please try again.")}finally{et(!1)}}},e_=async()=>
1{if(H&&H.name.trim())try{ei(!0),eh(null),await (0,o.wN)(H.id,{user:ep,name:H.name}),A(N.map(e=>e.id===H.id?{...e,name:H.name}:e)),O(!1),Y(null)}catch(e){console.error("Error updating board:",e),eh("Failed to update board. Please try again.")}finally{ei(!1)}},eD=async()=>{if($)try{ea(!0),em(null),await (0,o.L1)($.id),await eB(!0),L(!1),ea(!1),Q(null)}catch(e){ea(!1),console.error("Error deleting board:",e),em("Failed to delete board. Please try again.")}},eR=e=>{_().push("/job-boards/".concat(e))},eW=()=>{T(!1),G(""),ed(null)},eX=e=>{Y(e),O(!0)},eN=e=>{Q(e),L(!0)},eA=()=>{O(!1),Y(null),eh(null)},eU=()=>{L(!1),Q(null),em(null)};return(0,n.jsxs)(n.Fragment,{children:[(0,D.eV)(),(0,n.jsxs)(m.Z,{maxWidth:!1,sx:{py:4,maxWidth:"1360px"},children:[(0,n.jsx)(p.Z,{open:eb,autoHideDuration:6e3,onClose:eE,anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,n.jsx)(f.Z,{elevation:4,variant:"filled",onClose:eE,sx:{width:"100%"},severity:"error",action:(0,n.jsx)(h.Z,{color:"inherit",size:"small",onClick:eq,sx:{ml:1},children:"UPGRADE PLAN"}),children:ej})},"topCenter"),es&&(0,n.jsx)(f.Z,{severity:"error",sx:{mb:3},onClose:()=>el(null),children:es}),(0,n.jsxs)(g.Z,{open:U,onClose:eW,maxWidth:"sm",fullWidth:!0,children:[(0,n.jsx)(b.Z,{children:"Create New Board"}),(0,n.jsxs)(y.Z,{children:[ec&&(0,n.jsx)(f.Z,{severity:"error",sx:{mb:2},children:ec}),(0,n.jsxs)(c.Z,{sx:{pt:1},children:[(0,n.jsx)(j.Z,{fullWidth:!0,label:"Board Name",value:M,onChange:e=>G(e.target.value),margin:"normal",required:!0,variant:"outlined",inputProps:{maxLength:30},disabled:er||eF}),(0,n.jsxs)(d.Z,{sx:{mt:2,fontSize:"13px",textAlign:"right"},children:[M.length,"/30 characters"]}),eF&&(0,n.jsx)(d.Z,{color:"error",variant:"body2",children:"Plan limit reached."})]})]}),(0,n.jsxs)(w.Z,{sx:{p:3},children:[(0,n.jsx)(h.Z,{onClick:eW,color:"inherit",disabled:er,children:"Cancel"}),(0,n.jsx)(h.Z,{onClick:eP,variant:"contained",disabled:!M.trim()||er||eF,startIcon:er?(0,n.jsx)(v.Z,{size:20}):null,children:eF?"Plan Limit Reached":er?"Creating...":"Create Board"})]})]}),(0,n.jsxs)(g.Z,{open:V,onClose:eA,maxWidth:"sm",fullWidth:!0,children:[(0,n.jsx)(b.Z,{children:"Edit Board"}),(0,n.jsxs)(y.Z,{children:[eu&&(0,n.jsx)(f.Z,{severity:"error",sx:{mb:2},children:eu}),(0,n.jsx)(c.Z,{sx:{pt:1},children:(0,n.jsx)(j.Z,{fullWidth:!0,label:"Board Name",value:(null==H?void 0:H.name)||"",onChange:e=>Y(r=>r?{...r,name:e.target.value}:null),margin:"normal",required:!0,variant:"outlined",disabled:en})})]}),(0,n.jsxs)(w.Z,{sx:{p:3},children:[(0,n.jsx)(h.Z,{onClick:eA,color:"inherit",disabled:en,children:"Cancel"}),(0,n.jsx)(h.Z,{onClick:e_,variant:"contained",disabled:!(null==H?void 0:H.name.trim())||en,startIcon:en?(0,n.jsx)(v.Z,{size:20}):null,children:en?"Updating...":"Update Board"})]})]}),(0,n.jsxs)(g.Z,{open:J,onClose:eU,maxWidth:"sm",fullWidth:!0,children:[(0,n.jsx)(b.Z,{children:"Delete Board"}),(0,n.jsxs)(y.Z,{children:[ex&&(0,n.jsx)(f.Z,{severity:"error",sx:{mb:2},children:ex}),(0,n.jsxs)(d.Z,{children:['Are you sure you want to delete "',null==$?void 0:$.name,'"? This action cannot be undone and will delete all jobs in this board.']})]}),(0,n.jsxs)(w.Z,{sx:{p:3},children:[(0,n.jsx)(h.Z,{onClick:eU,color:"inherit",disabled:eo,children:"Cancel"}),(0,n.jsx)(h.Z,{onClick:eD,variant:"contained",color:"error",disabled:eo,startIcon:eo?(0,n.jsx)(v.Z,{size:20}):null,children:eo?"Deleting...":"Delete Board"})]})]}),(0,n.jsxs)(c.Z,{sx:{position:"relative",overflow:"hidden",borderRadius:3,p:{xs:4,md:5},mb:4,color:"common.white",background:"linear-gradient(135deg, ".concat(r.palette.primary.dark," 0%, ").concat(r.palette.primary.main," 60%, ").concat(r.palette.primary.light," 100%)")},children:[(0,n.jsx)(c.Z,{sx:{position:"absolute",top:-60,right:-40,width:200,height:200,borderRadius:"50%",backgroundColor:(0,I.Fq)("#fff",.08)}}),(0,n.jsx)(c.Z,{sx:{position:"absolute",bottom:-80,right:100,width:150,height:150,borderRadius:"50%",backgroundColor:(0,I.Fq)("#fff",.06)}}),(0,n.jsxs)(c.Z,{sx:{position:"relative",display:"flex",flexDirection:{xs:"column",sm:"row"},justifyContent:"space-between",alignItems:{sm:"center"},gap:3},children:[(0,n.jsxs)(c.Z,{children:[(0,n.jsx)(d.Z,{variant:"h4",sx:{fontWeight:700,color:"common.white"},children:"Job Boards"}),(0,n.jsx)(d.Z,{variant:"body1",sx:{color:(0,I.Fq)("#fff",.9),mt:1},children:"Track your job applications across every stage."})]}),!K&&(0,n.jsx)(h.Z,{variant:"contained",startIcon:(0,n.jsx)(q.Z,{}),onClick:()=>{eF?(ew("Upgrade your subscription to create more boards."),ey(!0)):T(!0)},size:"large",sx:B.RZ,children:"Create New Board"})]})]}),K?(0,n.jsx)(c.Z,{display:"flex",justifyContent:"center",alignItems:"center",py:12,children:(0,n.jsx)(v.Z,{})}):0===N.length?(0,n.jsxs)(c.Z,{sx:{display:"flex",flexDirection:"column",alignItems:"center",textAlign:"center",py:10,px:3},children:[(0,n.jsx)(c.Z,{sx:{width:80,height:80,mb:3,borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:(0,I.Fq)(r.palette.primary.main,.1)},children:(0,n.jsx)(E.Z,{icon:"mdi:view-column-outline",fontSize:38,color:r.palette.primary.main})}),(0,n.jsx)(d.Z,{variant:"h6",sx:{fontWeight:600,mb:1},children:"No job boards yet"}),(0,n.jsx)(d.Z,{variant:"body2",color:"text.secondary",sx:{mb:3,maxWidth:360},children:"Create your first board to start tracking applications across stages."}),(0,n.jsx)(h.Z,{variant:"contained",startIcon:(0,n.jsx)(q.Z,{}),onClick:()=>{eF?(ew("Upgrade your subscription to create more boards."),ey(!0)):T(!0)},children:"Create New Board"})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(Z.ZP,{container:!0,spacing:4,children:N.map(e=>{var t;let i=(null==e?void 0:null===(t=e.stages)||void 0===t?void 0:t.length)||0,o=(null==e?void 0:e.created_at)?new Date(e.created_at).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric"}):"Unknown";return(0,n.jsx)(Z.ZP,{item:!0,xs:12,sm:6,md:4,children:(0,n.jsxs)(C.Z,{sx:{height:"100%",display:"flex",flexDirection:"column",borderRadius:3,overflow:"hidden",transition:"transform 0.25s ease, box-shadow 0.25s ease","&:hover":{transform:"translateY(-4px)",boxShadow:6}},children:[(0,n.jsx)(c.Z,{sx:{height:6,bgcolor:"primary.main"}}),(0,n.jsxs)(S.Z,{sx:{flexGrow:1,p:3},children:[(0,n.jsxs)(c.Z,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",mb:2},children:[(0,n.jsx)(c.Z,{sx:{width:46,height:46,borderRadius:2,display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:(0,I.Fq)(r.palette.primary.main,.12)},children:(0,n.jsx)(E.Z,{icon:"mdi:view-column-outline",fontSize:24,color:r.palette.primary.main})}),(0,n.jsx)(k.Z,{label:"".concat(i," stage").concat(1!==i?"s":""),size:"small",sx:{fontWeight:600,color:"primary.main",backgroundColor:(0,I.Fq)(r.palette.primary.main,.12)}})]}),(0,n.jsx)(d.Z,{variant:"h6",sx:{fontWeight:600,mb:1,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},title:(null==e?void 0:e.name)||"Untitled Board",children:(null==e?void 0:e.name)||"Untitled Board"}),(0,n.jsxs)(c.Z,{sx:{display:"flex",alignItems:"center",gap:.75,color:"text.secondary"},children:[(0,n.jsx)(E.Z,{icon:"mdi:calendar-blank-outline",fontSize:16}),(0,n.jsxs)(d.Z,{variant:"body2",children:["Created ",o]})]})]}),(0,n.jsxs)(z.Z,{sx:{px:3,pb:3,pt:0,gap:1},children:[(0,n.jsx)(h.Z,{fullWidth:!0,variant:"contained",startIcon:(0,n.jsx)(E.Z,{icon:"mdi:eye-outline"}),onClick:()=>eR(e.id),children:"View Board"}),(0,n.jsx)(u.Z,{title:"Edit board",children:(0,n.jsx)(x.Z,{onClick:()=>eX(e),sx:{border:"1px solid",borderColor:"divider",borderRadius:2},children:(0,n.jsx)(E.Z,{icon:"mdi:pencil-outline",fontSize:20})})}),(0,n.jsx)(u.Z,{title:"Delete board",children:(0,n.jsx)(x.Z,{onClick:()=>eN(e),sx:{border:"1px solid",borderColor:"divider",borderRadius:2,color:"error.main"},children:(0,n.jsx)(E.Z,{icon:"mdi:trash-can-outline",fontSize:20})})})]})]})},e.id)})}),eC>ev.pageSize&&(0,n.jsx)(c.Z,{display:"flex",justifyContent:"center",mt:5,children:(0,n.jsx)(F.Z,{color:"primary",count:Math.ceil(eC/ev.pageSize),page:ev.page+1,onChange:(e,r)=>eZ(e=>({...e,page:r-1}))})})]})]})]})}r.default=N},32673:function(e,r,t){"use strict";t.d(r,{Bu:function(){return j},CA:function(){return F},Cm:function(){return d},EE:function(){return l},ER:function(){return y},HN:function(){return Z},J0:function(){return m},Mx:function(){return b},NP:function(){return h},O$:function(){return p},Pl:function(){return w},Re:function(){return S},Sv:function(){return u},TZ:function(){return v},Wl:function(){return g},_b:function(){return C},bz:function(){return f},dB:function(){return z},eV:function(){return B},gA:function(){return c},lE:function(){return k},s$:function(){return I},tZ:function(){return x}});var n=t(85893),i=t(9008),o=t.n(i);t(67294);let a=(e,r)=>(0,n.jsxs)(o(),{children:[(0,n.jsx)("title",{children:"XCareer - ".concat(e)}),(0,n.jsx)("meta",{name:"description",content:r})]}),s=(e,r)=>(0,n.jsxs)(o(),{children:[(0,n.jsx)("title",{children:"".concat(e)}),(0,n.jsx)("meta",{name:"description",content:r})]}),l=()=>a("Login","Log in to your XCareer account to access powerful interview management tools."),c=()=>a("Forgot Password","Forgot your XCareer password? Recover it here to regain access to your account."),d=()=>a("Register","Join XCareer to streamline your interview processes and find the best candidates effortlessly."),u=()=>a("Email Verification","Verify your email address to activate your XCareer account and start optimizing your interviews."),h=()=>
1a("Dashboard","View comprehensive insights and analytics on your interview activities with XCareer dashboards."),x=()=>a("AI Video Resume","Create and showcase your professional video resumes to stand out to recruiters on XCareer."),m=()=>a("AI Resume Builder","Create professional resumes with AI assistance. Build standout resumes that get you noticed by employers."),p=()=>a("AI Mock Interview","Practice and improve your interview skills with realistic AI-powered mock interviews on XCareer."),f=()=>a("Profile","Manage your XCareer profile to personalize your experience and streamline your hiring workflow."),g=()=>a("Settings","Customize your XCareer settings to tailor the platform to your specific needs."),b=()=>a("Create Job","Effortlessly create job listings and attract top talent with XCareer's intuitive job creation tool."),y=()=>a("Set Interview Questions - Stage 2","Customize interview questionnaires to assess candidate suitability in XCareer's job creation process."),j=()=>a("Customize the interview page - Stage 4","Tailor the visual design and interactive elements of a digital interview interface to match specific branding, user experience goals, or accessibility requirements."),w=()=>a("Mock Interview - Stage 3","Practice real interview scenarios with mock interviews to build confidence and improve your performance."),v=()=>a("AI Video Resume - Stage 3","Showcase your personality, communication skills, and experience effectively through a professional video CV."),Z=()=>a("Mock Interview Report","Access detailed insights and performance feedback from your mock interview to identify strengths and areas for improvement."),C=()=>s("Join Our Team of Experts","Discover exciting career opportunities. Submit your application now and take the first step toward a rewarding future with a talented team."),S=()=>s("Join Our Team of Experts","Discover exciting career opportunities. Submit your application now and take the first step toward a rewarding future with a talented team."),k=()=>s("Interview Complete","Congratulations! Your interview is complete. Stay tuned for further updates from the hiring team."),z=()=>a("Billing"," Access and manage your XCareer billing details and subscriptions conveniently."),F=()=>a("Question Templates","Create and customize interview question templates in XCareer settings for consistent interviewing."),I=()=>(0,n.jsxs)(o(),{children:[(0,n.jsx)("title",{children:"Your Career Starts Here | Build a Better Future"}),(0,n.jsx)("meta",{name:"description",content:"Looking for a meaningful career? Find roles that inspire growth, collaboration, and success. Take the next step toward achieving your professional goals."})]}),B=()=>a("Job Boards","Explore a wide range of job opportunities and connect with top employers on our job board. Find your dream job today!")}},function(e){e.O(0,[6886,3911,6161,9645,6673,9774,2888,179],function(){return e(e.s=64344)}),_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.