PageSourceSearch

https://avua.com/assets/UploadResumePage-ld0xhWHd.js

js avua.com collected 2026-09-24 12:53:56 UTC 3,619 bytes, 2 lines download raw bytes

1import{c as s,u as N,b as k,j as e,i as P,aq as R,a3 as S}from"./index-B9q78oLf.js";import{C as U}from"./CommonHeader-8Py0L8jL.js";import{D as E}from"./DragAndDropUploadResume-Dq82LJeh.js";import{A as F}from"./AdditionalfeildModal-FkOyrrpF.js";import"./dashboard-BaS_FCEE.js";import"./moment-BJba-qMG.js";import"./PhoneNumberInput-CP1XkZ61.js";import"./react-country-flag.esm-CBTvU6qH.js";import"./countryPhoneCodes-CKP6OwhM.js";const q=()=>{const[d,o]=s.useState(!1),[m,u]=s.useState(1),[l,t]=s.useState(!1),[p,r]=s.useState(""),[n,i]=s.useState(!1),[x,f]=s.useState(null),[h,g]=s.useState(null),j=N(),c=k(a=>a.auth.token),w=()=>{j("/create-resume")},b=a=>{console.log(a),u(a)},v=a=>{switch(console.log("*** ERROR ***"),a){case"uploading":t(!0),r("Error uploading resume");break;case"something":t(!0),r("Something went wrong");break;case"parsing":t(!0),r("Error parsing resume");break;case"backend":t(!0),r("Error uploading on backend");break;default:t(!0),r("Something went wrong");break}},y=()=>{t(!1),r(""),o(!1)};return e.jsxs("div",{className:"w-full min-h-screen  bg-white2 flex flex-col  items-center",children:[e.jsx(U,{}),d==!1?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:" md:w-[610px] h-full flex flex-col justify-center items-center mt-5 md:mt-16 px-4 md:px-0",children:[e.jsx("p",{className:"text-h3  text-[#2B1845] md:text-h3  font-[500] font-poppins",children:"Upload Resume"}),e.jsx("p",{className:" text-subtitle1 text-[#2B1845]  font-[500] md:text-body1 font-poppins  mt-[18px] text-center",children:"Upload your resume. Our intelligent AI resume parser will automatically extract the relevant information."})]}),e.jsxs("div",{className:" w-full md:w-[610px] h-[291px]  bg-[#FFFFFF] shadow-lg mt-10 justify-center items-center p-5",children:[e.jsx(E,{navigateToPage:"/dashboard",errorResume:v,handleLoadingProgress:b,setResumeUploading:o,componentType:"bordered-card",token:c,showModal:n,setShowModal:i,setUserProfile:g,setUserPref:f}),e.jsx("div",{className:" w-full flex justify-between mt-6",children:e.jsx("p",{className:" font-poppins text-overline text-btnDarkPurple  font-[500] cursor-pointer",onClick:()=>w(),children:"Build Profile Manually"})})]})]}):e.jsx("div",{className:" w-full h-full flex flex-grow justify-center items-center",children:e.jsxs("div",{className:"md:w-[700px] h-[170px] flex flex-col justify-center items-center",children:[e.jsx("img",{src:P.UploadResume.uploadingResume,alt:"uploading resume icon"}),e.jsx("div",{className:"w-[200px] md:w-[695px] h-2.5 justify-start items-start gap-0.5 inline-flex bg-lightPurple rounded-full mt-7 relative",children:e.jsx("div",{style:{width:`${m}%`},className:`h-2.5 ${l?"bg-red":"bg-purple"} rounded-[50px]`})}),e.jsxs("div",{className:"flex flex-col mt-5 justify-center items-center space-x-4",children:[e.jsx("img",{src:R.UploadResume.avua_logo,className:" w-[21px] h-[14px]",alt:"avua logo"}),l?e.jsx("p",{className:" text-red  font-[500] ",children:p}):e.jsxs("div",{className:"flex flex-col justify-center items-center text-center text-pureBlack  font-[500] px-4",children:[e.jsx("p",{children:"Please wait..."}),e.jsx(S,{color:"#6F3EB2",height:"30",width:"30"}),e.jsx("p",{children:"Parsing your resume. This can take upto 30 Seconds"})]}),l?e.jsx("button",{onClick:()=>y(),className:"w-[100px] h-fit py-1 bg-purple rounded-[50px] flex justify-center items-center hover:scale-105 transition-all duration-200 active:scale-100 mt-4 text-white",children:"Retry"}):null]})]})}),n&&e.jsx(F,{Token:c,userPref:x,userProfile:h,setShowModal:i})]})};export{q as default};
2//# sourceMappingURL=UploadResumePage-ld0xhWHd.js.map

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.