1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[437,2275,7636],{790:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var a=r(95155);r(12115);let s={width:"1114px",height:"auto",borderRadius:"20px",background:"conic-gradient(from 0deg, #0A0C1066 0%, #00000055 19%, #AA77FC57 51%, #18457C62 54%, #0152B657 75%)",filter:"blur(50px)",animation:"rotateGradient 6s linear infinite"},i=` 2@keyframes rotateGradient { 3 0% { transform: rotate(0deg);} 4 100% { transform: rotate(360deg);} 5} 6`,n=({componentClass:e="w-full flex justify-start"})=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("style",{children:i}),(0,a.jsx)("div",{className:e,children:(0,a.jsx)("div",{style:s})})]})},6781:(e,t,r)=>{"use strict";r.d(t,{ReferralProvider:()=>m,T:()=>p});var a=r(95155),s=r(86787),i=r(26904),n=r(66170),l=r(79198);let o=(0,n.vt)((0,l.Zr)(e=>({isReferral:!1,referralCode:"",setReferralCode:t=>e({referralCode:t}),referredUser:{},user:{},setIsReferral:t=>e({isReferral:t}),setReferredUser:t=>e({referredUser:t}),isReferredUser:!1,setIsReferredUser:t=>e({isReferredUser:t}),setUser:t=>e({user:t})}),{name:"referral-storage"}));var c=r(59547),d=r(83109),u=r(73321),x=r(12115);let f=(0,x.createContext)({isReferral:!1,referredUser:null});function m({children:e}){let t=(0,u.useSearchParams)(),r=(0,d.getCookie)("token"),{setReferralCode:n,setReferredUser:l,setIsReferral:p,setIsReferredUser:h,isReferral:C,referredUser:g,referralCode:y,setUser:b}=o(),[w,v]=(0,x.useState)(!1),[j,k]=(0,x.useState)("registration"),N=(0,u.useRouter)(),S=async e=>{try{let t=await (0,c.CJ)(`/job-seeker/referral/lookup?referralCode=${e}`);if(t?.status===200){let r=t.data.data;n(e),l({name:r.referrerName,code:r.referralCode}),p(!0)}}catch(e){p(!1),l(null),s.A.error(e)}},I=()=>{p(!1),l(null),n("")};(0,x.useEffect)(()=>{let e=t.get("referralCode");if(e){if(y===e)return;localStorage.setItem("referral_code",e),(0,d.setCookie)("route","cvBuilder"),S(e)}},[t]);let E=async e=>{try{if(!e||!(0,d.getCookie)("jobSeekerUser"))return;let t=await (0,c.CJ)("/job-seeker/isReferred",e);if(t?.status===200){let e=t.data.data;if(!e?.referredBy)return;h(!0);let r={name:e?.referredBy?.name,email:e?.referredBy?.email,id:e?.referredBy?._id,code:e?.referredBy?.referralCode};l(r),b({registeredOn:e.registeredOn?new Date(e.registeredOn).toLocaleString("en-US",{timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,hour12:!1}):null,status:e.status}),n(r.code),localStorage.getItem("referral_signup")&&(localStorage.removeItem("referral_signup"),v(!0),k("registration")),localStorage.getItem("premium_referral")&&(localStorage.removeItem("premium_referral"),k("premium"),v(!0))}}catch(e){s.A.error({err:e},"Error fetching referral info"),I()}};return(0,x.useEffect)(()=>{E(r)},[]),(0,a.jsxs)(f.Provider,{value:{referredUser:g,isReferral:C,referralCode:y,resetReferral:I,getReferralInfo:E},children:[e,(0,a.jsx)(i.A,{open:!1,variant:j,onClose:()=>v(!1),onSkip:()=>v(!1),onPrimary:()=>{"registration"===j?(v(!1),N.push("/cv/cvpricing?payment=cvpremium&paymentType=home")):(N.push("/cv/account-setting"),v(!1))}})]})}let p=()=>(0,x.useContext)(f)||{isReferral:!1,referredUser:null}},10171:(e,t,r)=>{"use strict";r.d(t,{H:()=>c,j:()=>d});var a=r(95155),s=r(12115),i=r(64439);let n=({isOpen:e=!0,onClose:t=()=>{},title:r,message:n,buttonText:l,onButtonClick:o=()=>{window.location.href="/ats/pricing"},showConfetti:c=!0})=>{let[d,u]=(0,s.useState)(c),[x,f]=(0,s.useState)({width:0,height:0});return((0,s.useEffect)(()=>{let e=()=>{f({width:window.innerWidth,height:window.innerHeight})};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),(0,s.useEffect)(()=>{if(e){u(c);let e=setTimeout(()=>{u(!1)},3e3);return()=>clearTimeout(e)}},[e,c]),e)?(0,a.jsx)(i.A,{open:e,onClose:()=>t(!1),width:"400px",height:"300px",footer:(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("button",{type:"button",className:"px-3 py-1 bg-white rounded-full text-black regular-text",onClick:o,children:l})}),children:(0,a.jsx)("div",{className:"py-2 px-5 mt-2 leading-6",children:(0,a.jsxs)("div",{className:"flex flex-col items-center text-center pt-2 justify-center",children:[(0,a.jsx)("div",{className:"w-16 h-16 rounded-full flex items-center justify-center mb-6",children:(0,a.jsxs)("svg",{width:"90",height:"90",viewBox:"0 0 90 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M71.5308 56.2087C72.2351 56.4575 73.0164 56.0864 73.2714 55.3726C74.4171 52.1135 75 48.6995 75 45.2284C75 28.562 61.5446 15 45 15C28.4595 15 15 28.5578 15 45.2284C15 59.916 25.3993 72.4265 39.7293 74.9796C39.8103 74.9959 39.8872 75 39.9682 75C40.6199 75 41.1948 74.5309 41.3081 73.8661C41.4417 73.1197 40.9438 72.4059 40.203 72.2754C27.6295 70.0361 18.4126 59.3493 17.7888 46.6028H21.8206C22.5736 46.6028 23.1848 45.9869 23.1848 45.2282C23.1848 44.4696 22.5736 43.8536 21.8206 43.8536H17.8009C18.4972 29.7977 29.6904 18.5194 43.6401 17.8177V21.868C43.6401 22.6267 44.2514 23.2426 45.0043 23.2426C45.7573 23.2426 46.3685 22.6267 46.3685 21.868V17.8177C60.3182 18.5193 71.5114 29.7977 72.2077 43.8536H68.188C67.4351 43.8536 66.8238 44.4696 66.8238 45.2282C66.8238 45.9869 67.4351 46.6028 68.188 46.6028H72.2199C72.0903 49.2867 71.5965 51.9258 70.7059 54.4546C70.4549 55.1684 70.8274 55.9557 71.5358 56.2086L71.5308 56.2087Z",fill:"#407BFF"}),(0,a.jsx)("path",{d:"M31.5998 23.1419C31.0258 23.4308 30.8297 24.0708 31.1613 24.571L31.7602 25.4781C31.9848 25.8136 32.3877 26 32.8013 26C33.0045 26 33.2113 25.9565 33.4002 25.8602C33.9742 25.5713 34.1703 24.9313 33.8388 24.4311L33.2398 23.524C32.9082 23.0238 32.1702 22.8499 31.5998 23.1419Z",fill:"#407BFF"}),(0,a.jsx)("path",{d:"M25.4773 31.7604L24.57 31.1613C24.0697 30.8296 23.4295 31.0258 23.1405 31.5999C22.8516 32.1741 23.0225 32.9087 23.5227 33.2404L24.4301 33.8395C24.5948 33.9501 24.775 34 24.9521 34C25.3126 34 25.6668 33.7825 25.8595 33.4009C26.1484 32.8267 25.9776 32.0921 25.4773 31.7604Z",fill:"#407BFF"}),(0,a.jsx)("path",{d:"M24.4301 56.1613L23.5227 56.7604C23.0225 57.0921 22.8516 57.8267 23.1405 58.4009C23.3363 58.786 23.6874 59 24.0479 59C24.225 59 24.4052 58.9501 24.5699 58.8395L25.4773 58.2404C25.9775 57.9087 26.1484 57.1741 25.8595 56.5999C25.5
6705 56.0258 24.9273 55.8296 24.4301 56.1613Z",fill:"#407BFF"}),(0,a.jsx)("path",{d:"M32.1988 67C32.6123 67 33.0188 66.8104 33.2398 66.4778L33.8388 65.5703C34.1703 65.0699 33.9742 64.4296 33.4002 64.1406C32.8262 63.8515 32.0918 64.0225 31.7602 64.5229L31.1612 65.4304C30.8297 65.9308 31.0258 66.5711 31.5998 66.8601C31.7887 66.9565 31.9956 67 32.1988 67Z",fill:"#407BFF"}),(0,a.jsx)("path",{d:"M46 69.3333V67.6667C46 66.7468 45.5519 66 45 66C44.4481 66 44 66.7468 44 67.6667V69.3333C44 70.2532 44.4481 71 45 71C45.5519 71 46 70.2532 46 69.3333Z",fill:"#407BFF"}),(0,a.jsx)("path",{d:"M58.2398 64.5229C57.9083 64.0225 57.1702 63.8515 56.5998 64.1406C56.0258 64.4296 55.8297 65.0699 56.1612 65.5703L56.7602 66.4778C56.9848 66.8135 57.3877 67 57.8013 67C58.0045 67 58.2113 66.9565 58.4002 66.8601C58.9742 66.5711 59.1703 65.9308 58.8388 65.4304L58.2398 64.5229Z",fill:"#407BFF"}),(0,a.jsx)("path",{d:"M66.8595 31.5999C66.5705 31.0258 65.9273 30.8296 65.4301 31.1613L64.5227 31.7604C64.0225 32.0921 63.8516 32.8267 64.1405 33.4009C64.3363 33.786 64.6874 34 65.0479 34C65.225 34 65.4052 33.9501 65.5699 33.8395L66.4773 33.2404C66.9775 32.9088 67.1485 32.1741 66.8595 31.5999Z",fill:"#407BFF"}),(0,a.jsx)("path",{d:"M58.4003 23.1406C57.8263 22.8515 57.0918 23.0225 56.7602 23.5229L56.1612 24.4304C55.8297 24.9308 56.0258 25.5711 56.5998 25.8601C56.7887 25.9565 56.9955 26 57.1987 26C57.6123 26 58.0188 25.8104 58.2398 25.4778L58.8388 24.5703C59.1703 24.0699 58.9743 23.4296 58.4003 23.1406Z",fill:"#407BFF"}),(0,a.jsx)("path",{d:"M46.2336 41.1284V27.3534C46.2336 26.6064 45.6129 26 44.8484 26C44.0838 26 43.4631 26.6064 43.4631 27.3534V41.1284C42.2916 41.538 41.3667 42.4376 40.9475 43.5862H32.3852C31.6207 43.5862 31 44.1927 31 44.9397C31 45.6867 31.6207 46.2931 32.3852 46.2931H40.9475C41.5189 47.8634 43.0439 49 44.8443 49C47.1339 49 49 47.1807 49 44.9397C49 43.1766 47.8408 41.6906 46.2295 41.1324L46.2336 41.1284ZM44.8484 46.2891C44.0838 46.2891 43.4631 45.6827 43.4631 44.9357C43.4631 44.1887 44.0838 43.5822 44.8484 43.5822C45.6129 43.5822 46.2336 44.1887 46.2336 44.9357C46.2336 45.6827 45.6129 46.2891 44.8484 46.2891Z",fill:"#407BFF"}),(0,a.jsx)("path",{d:"M44.6083 74.2081C44.0754 73.673 43.2153 73.673 42.6864 74.2081C42.1535 74.7431 42.1535 75.6065 42.6864 76.1375L43.0135 76.4659C26.69 75.4282 13.7256 61.7766 13.7256 45.1335C13.7256 27.8168 27.7556 13.7315 45.0042 13.7315C62.2527 13.7315 76.2827 27.8168 76.2827 45.1335C76.2827 48.7693 75.669 52.3242 74.4578 55.7052C74.2035 56.4146 74.5709 57.1969 75.2774 57.4522C75.988 57.7076 76.7632 57.3387 77.0176 56.6294C78.3337 52.9529 79 49.0861 79 45.1341C79 26.3139 63.7463 11 45 11C26.2538 11 11 26.3139 11 45.1341C11 63.3255 25.2481 78.2337 43.1302 79.2153L42.678 79.6693C42.1451 80.2043 42.1451 81.0677 42.678 81.5987C42.9445 81.8662 43.2917 82 43.639 82C43.9862 82 44.3334 81.8662 44.5999 81.5987L47.3211 78.8667C47.8541 78.3317 47.8541 77.4683 47.3211 76.9373L44.5999 74.2053L44.6083 74.2081Z",fill:"#407BFF"}),(0,a.jsx)("path",{d:"M89.186 81.3785L76.2924 60.0045C75.1763 58.1512 73.1495 57 71.0019 57C68.8584 57 66.8316 58.1512 65.7115 60.0045L52.822 81.3785C52.2821 82.2684 52 83.2889 52 84.3339C52 87.4568 54.5102 90 57.5927 90H84.4073C87.4898 90 90 87.4568 90 84.3339C90 83.2889 89.7179 82.2683 89.178 81.3785H89.186ZM84.4113 87.2486H57.5967C56.0091 87.2486 54.7157 85.9383 54.7157 84.3299C54.7157 83.791 54.8607 83.2685 55.1388 82.8113L68.0324 61.4373C68.661 60.3964 69.7972 59.7473 71.002 59.7473C72.2068 59.7473 73.347 60.3963 73.9716 61.4373L86.8652 82.8113C87.1392 83.2685 87.2883 83.7911 87.2883 84.3299C87.2883 85.9383 85.9949 87.2486 84.4073 87.2486H84.4113Z",fill:"#FFC700"}),(0,a.jsx)("path",{d:"M71.5 64C70.6721 64 70 64.6112 70 65.364V77.636C70 78.3888 70.6721 79 71.5 79C72.3279 79 73 78.3888 73 77.636V65.364C73 64.6112 72.3279 64 71.5 64Z",fill:"#FFC700"}),(0,a.jsx)("path",{d:"M71.5 81C70.6721 81 70 81.5974 70 82.3333V83.6667C70 84.4026 70.6721 85 71.5 85C72.3279 85 73 84.4026 73 83.6667V82.3333C73 81.5974 72.3279 81 71.5 81Z",fill:"#FFC700"}),(0,a.jsx)("path",{d:"M9.73774 32.3064H4.05562C3.3103 32.3064 2.70523 31.7031 2.70523 30.96V29.6135C2.70523 23.6764 7.54987 18.8463 13.504 18.8463C15.147 18.8463 16.7297 19.2139 18.2165 19.9331C18.8896 20.2647 19.6951 19.981 20.0196 19.3138C20.3482 18.6466 20.0677 17.8395 19.3985 17.5159C19.3825 17.5079 19.3665 17.5039 19.3545 17.4959C23.8704 15.3184 27 10.7158 27 5.38575V4.03931C27 1.81386 25.1848 0 22.9488 0H4.05117C1.81919 0 0 1.80988 0 4.03931V5.38575C0 10.7155 3.13357 15.3222 7.65354 17.5C3.13357 19.6775 0 24.2802 0 29.6143V30.9607C0 33.1861 1.81519 35 4.05117 35H9.73329C10.4786 35 11.0837 34.3967 11.0837 33.6536C11.0837 32.9104 10.4786 32.3071 9.73329 32.3071L9.73774 32.3064ZM2.70523 5.39403V4.0476C2.70523 3.30446 3.3103 2.70116 4.05562 2.70116H22.9533C23.6986 2.70116 24.3037 3.30446 24.3037 4.0476V5.39403C24.3037 11.3312 19.459 16.1612 13.5049 16.1612C7.55028 16.1612 2.70523 11.3308 2.70523 5.39403Z",fill:"#407BFF"})]})}),(0,a.jsx)("h2",{className:"text-xl font-semibold text-gray-800 mb
6-2 subheading-text",children:r}),(0,a.jsx)("p",{className:"text-gray-600 mb-8 regular-text",children:n})]})})}):null};var l=r(12214);let o=(0,s.createContext)(null);function c({children:e}){let t=(0,l.Vr)(l.dK.PRICING),[r,i]=(0,s.useState)(!1),[d,u]=(0,s.useState)({title:t("popups.limitExceed.title"),message:t("popups.limitExceed.message"),buttonText:t("popups.limitExceed.buttonText"),onButtonClick:()=>{},showConfetti:!0}),x=()=>{i(!1)};return(0,a.jsxs)(o.Provider,{value:{openPopup:(e={})=>{u(t=>({...t,...e})),i(!0)},closePopup:x},children:[e,r&&(0,a.jsx)(n,{isOpen:r,onClose:x,title:d.title,message:d.message,buttonText:d.buttonText,onButtonClick:d.onButtonClick,showConfetti:d.showConfetti})]})}let d=()=>{let e=(0,s.useContext)(o),t=(0,l.Vr)(l.dK.PRICING);if(!e)throw Error(t("errors.contextError"));return e}},12275:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});var a=r(12115),s=r(3147),i=r(73321);let n=()=>{let e=(0,i.usePathname)();return(0,a.useEffect)(()=>{s.oR.dismiss()},[e]),null}},15423:(e,t,r)=>{"use strict";r.d(t,{F:()=>c});var a=r(66170),s=r(59547),i=r(3147),n=r(83109),l=r(79198),o=r(42620);let c=(0,a.vt)((0,l.lt)(e=>({year_of_experience:"",skills:[],filters:{experience:0,dateRange:{from:void 0,to:void 0},jobTitle:"",candidateName:"",skills:[],jdScore:0,jobDescription:"",priority:"",status:"",isUserWantsJobDescriptionFilter:!1,isUserWantsPriorityFilter:!1,isUserWantsStatusFilter:!1,isUserWantsExperienceFilter:!1,isUserWantsSkillsFilter:!1,isUserWantsSKillScoreFilter:!1,isUserWantsJDScoreFilter:!1,isUserWantsDateFilter:!1,skillScore:0},initialFilter:{experience:0,dateRange:{from:void 0,to:void 0},jobTitle:"",candidateName:"",skills:[],jdScore:0,jobDescription:"",priority:"",status:"",isUserWantsJobDescriptionFilter:!1,isUserWantsPriorityFilter:!1,isUserWantsStatusFilter:!1,isUserWantsExperienceFilter:!1,isUserWantsSkillsFilter:!1,isUserWantsSKillScoreFilter:!1,isUserWantsJDScoreFilter:!1,isUserWantsDateFilter:!1,skillScore:0,isChanged:!1},searchQuery:"",setSearchQuery:t=>{e({searchQuery:t})},updateFilters:(t,r)=>{e(e=>{let a={...e.filters,[t]:r};return"skills"===t&&Array.isArray(r)&&(a={...e.filters,skills:r.map(e=>`skills=${e}`).join("&")}),{filters:a}})},queryParams:null,setQueryParams:t=>{e({queryParams:t})},resetToInitialFilter:()=>{e(e=>({initialFilter:e.initialFilter}))},history:[],setHistory:t=>{e({history:t})},candidates:[],setCandidates:t=>{e({candidates:t})},setFilters:(t,r)=>{e(e=>{let a={...e.filters,[t]:r};return"skills"===t&&Array.isArray(r)&&(a={...e.filters,skills:r.map(e=>`skills=${e}`).join("&")}),{filters:a}})},totalData:0,setTotalData:t=>{e({totalData:t})},resetFilter:()=>{e({filter:{experience:0,dateRange:{from:void 0,to:void 0},jobTitle:"",candidateName:"",isUserWantsExperienceFilter:!1,isUserWantsSkillsFilter:!1,isUserWantsSKillScoreFilter:!1,isUserWantsJDScoreFilter:!1,isUserWantsDateFilter:!1,skills:[],jdScore:0,skillScore:0}})},setExperienceLevel:t=>{e({year_of_experience:t})},setSkills:t=>{e(e=>({skills:t,filters:{...e.filters,skills:t}}))},removeAnyFilter:t=>{e(e=>{let r={...e.filters,[t]:"skills"===t?[]:"experience"===t||"jdScore"===t||"skillScore"===t?0:"dateRange"===t?{from:void 0,to:void 0}:""};return"experience"===t&&(r.isUserWantsExperienceFilter=!1),{filters:r}})},handleFilterApplySubmit:async(t,r,a,l)=>{try{let i=new URLSearchParams;a&&i.append("year_of_experience",t),l&&r.forEach(e=>i.append("skills",e));let o=await (0,s.CJ)(`/candidate/getcandidates?${i.toString()}`,(0,n.getCookie)("token"));e({candidates:o.data.data.data}),e({totalData:o.data.data.total})}catch(e){i.oR.dismiss(),i.oR.error(e.response.data.message),(0,o.X)(e)}},handleMatchHistoryFilterApplySubmit:async(t,r,a,l,c,d,u,x,f,m,p)=>{try{let i=new URLSearchParams;m&&i.append("year_of_experience",l),p&&(i.append("from",c.toISOString()),i.append("to",d.toISOString())),x&&i.append("jd_match_score",r),f&&i.append("skillset_match_score",a),u&&t.forEach(e=>i.append("skills",e));let o=await (0,s.CJ)(`/resumes/searchFilter?${i.toString()}`,(0,n.getCookie)("token")),h=o.data.data.data;e({totalData:o.data.data.total}),e({history:h})}catch(e){i.oR.dismiss(),i.oR.error(e.response.data.message),(0,o.X)(e)}}})))},18125:(e,t,r)=>{"use strict";async function a(){if(!window.Razorpay)return new Promise((e,t)=>
6{let r=document.createElement("script");r.src="https://checkout.razorpay.com/v1/checkout.js",r.onload=e,r.onerror=()=>t(Error("Failed to load Razorpay SDK")),document.body.appendChild(r)})}async function s({subscriptionId:e,orderId:t,name:r="Skillioz",description:i="",prefillEmail:n="",prefillContact:l="",onSuccess:o,onDismiss:c}={}){await a();let d="rzp_live_Sx1CwMTXXQ6m6W";if(!d)throw Error("Razorpay authentication key is missing. Add NEXT_PUBLIC_RAZORPAY_KEY_ID to .env.local");let u={key:d,name:r,description:i,prefill:{email:n,contact:l},handler:o||function(e){},modal:{ondismiss:c||function(){}}};if(e)u.subscription_id=e;else if(t)u.order_id=t;else throw Error("Razorpay: either subscriptionId or orderId must be provided.");new window.Razorpay(u).open()}r.d(t,{Vf:()=>s})},20437:(e,t,r)=>{"use strict";r.d(t,{A:()=>C});var a=r(95155),s=r(12115),i=r(33210),n=r(12651),l=r(13545),o=r(52530),c=r(86787),d=r(83109),u=r(73321),x=r(66865),f=r(64272),m=r(59547),p=r(18125),h=r(12214);let C=()=>{let e=(0,h.Vr)(h.dK.CANDIDATE_GAMIFIED_FLOW),{isOpen:t,handleModalClose:r,handleCheckout:C,loading:g,countdown:y,offerData:b,isReactivatedOffer:w}=(()=>{let e="cv:pricing-back-attempt",t=(0,h.Vr)(h.dK.CANDIDATE_GAMIFIED_FLOW);(0,u.usePathname)();let r=(0,d.getCookie)("token"),a=!!r,i=(0,u.useSearchParams)().get("payment"),{activePlan:n,planActive:l,userData:o,getUser:C,razorPriceId:g}=(0,x.L)(),y=(0,f.d4)(e=>e.subscription),[b,w]=(0,s.useState)(!1),[v,j]=(0,s.useState)(!1),[k,N]=(0,s.useState)(null),[S,I]=(0,s.useState)(!1),[E,F]=(0,s.use
6State)(!1),[R,A]=(0,s.useState)(600),[D,_]=(0,s.useState)(!1),L=(0,s.useRef)(null),U=(0,s.useRef)(!1),P=(0,s.useRef)(!1),V=(0,s.useRef)(!1),T=(0,s.useRef)(!1),B=(0,s.useRef)(0),O=e=>"number"!=typeof e?.remainingSeconds?null:Math.max(0,Math.floor(e.remainingSeconds)),M=e=>{let t=Number(e?.occurrence??e?.occurence??e?.occurance);return!Number.isFinite(t)||t<0?0:Math.floor(t)},W=({navigateBackAfterClose:e=!1}={})=>!T.current&&!b&&(T.current=!0,B.current=M(k),_(e),w(!0),!0),z="cvpremium"===i,H=l||n&&("active"===n.subscriptionStatus||"grace"===n.subscriptionStatus)||y&&y.plan_type&&"free"!==y.plan_type,J=o?.claimedOffer===!0,Z=e=>e?.data?.data||e?.data||e||null;(0,s.useEffect)(()=>{if(!a||H||!z||J){j(!1),N(null),I(!1);return}(async()=>{try{let e=await (0,m.CJ)("/job-seeker/cv-subscription/exit-intent-offer",r),t=Z(e),a=t?.eligible===!0;N(t),j(a)}catch(e){c.A.error(t("exitIntent.logs.eligibilityError"),e),N(null),j(!1)}})()},[a,H,z,J,r]),(0,s.useEffect)(()=>{if(!v||b)return;let e=e=>{e.clientY<=10&&W()};return document.addEventListener("mouseleave",e),()=>{document.removeEventListener("mouseleave",e)}},[v,b]),(0,s.useEffect)(()=>{if(!z){P.current=!1;return}v&&!P.current&&(window.history.pushState({exitIntentGuard:!0},""),P.current=!0);let t=()=>{if(!v){U.current=!0,window.history.back();return}b||W({navigateBackAfterClose:!0})||((e=1)=>{_(!1),U.current=!0,window.history.go(-e)})(2)},r=()=>{t()},a=()=>{if(U.current){U.current=!1;return}v&&(window.history.pushState({exitIntentGuard:!0},""),t())};return window.addEventListener(e,r),window.addEventListener("popstate",a),()=>{window.removeEventListener(e,r),window.removeEventListener("popstate",a)}},[z,v,b]),(0,s.useEffect)(()=>{if(!b){B.current=0,I(!1);return}I(B.current>=1)},[b]),(0,s.useEffect)(()=>{if(!b){V.current=!1,I(!1),L.current&&clearInterval(L.current);return}if(!V.current){V.current=!0;let e=O(k),a=M(k),s="number"==typeof e&&e>0,i=async()=>{try{let e=await (0,m.AX)("/job-seeker/cv-subscription/exit-intent-offer/open",{},r),t=Z(e);if(t){N(t);let e=O(t);A(e??600)}}catch(e){c.A.error(t("exitIntent.logs.openError"),e)}};0!==a&&s?s&&A(e):i()}let e=O(k),a=null!==e&&e>0?e:600;if(A(a),a<=0){L.current&&clearInterval(L.current);return}return L.current=setInterval(()=>{A(e=>e<=1?(clearInterval(L.current),0):e-1)},1e3),()=>{L.current&&clearInterval(L.current)}},[b,k?.remainingSeconds,k?.active,r]),(0,s.useEffect)(()=>{b&&!(R>0)&&(w(!1),I(!1),_(!1),L.current&&(clearInterval(L.current),L.current=null))},[b,R]);let K=async e=>{if(!g)return;let a="week"===e?g?.CV_BUILDER_WEEKLY?.INR?.id:g?.CV_BUILDER_MONTHLY?.INR?.id;if(a){F(!0);try{let s=await (0,m.AX)("/job-seeker/cv-subscription/razorpay-checkout",{planId:a,product:"premium"},r);if(s?.status===201){_(!1),w(!1);let{subscriptionId:r}=s.data.data;await (0,p.Vf)({subscriptionId:r,name:t("exitIntent.checkout.builderName"),description:"week"===e?t("exitIntent.checkout.weekDescription"):t("exitIntent.checkout.monthDescription"),prefillEmail:o?.email||"",prefillContact:o?.phone||"",onSuccess:async e=>{try{await C()}catch(e){c.A.error(t("exitIntent.logs.checkoutError"),e)}window.location.replace("/cv/payment-success?product=premium-home")},onDismiss:()=>{}})}else throw Error("Checkout session creation failed")}catch(e){c.A.error(t("exitIntent.logs.checkoutError"),e)}finally{F(!1)}}};return{isOpen:b,setIsOpen:w,handleModalClose:(e=!1)=>{w(!1),I(!1);let t=D?2:+!!e;0!==t&&(_(!1),U.current=!0,window.history.go(-t))},isEligible:v,offerData:k,isReactivatedOffer:S,countdown:R,formatTime:()=>{let e=Math.floor(R/60),t=R%60;return`${String(e).padStart(2,"0")}:${String(t).padStart(2,"0")}`},handleCheckout:K,loading:E}})(),[v,j]=(0,s.useState)("monthly"),k=(0,s.useRef)(null);if((0,s.useEffect)(()=>(t?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[t]),(0,s.useEffect)(()=>{let e=e=>{"Escape"===e.key&&t&&r()};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[t,r]),(0,s.useEffect)(()=>{if(!t)return;let e=k.current?.querySelectorAll('button, [href], input, select, textarea, [tabindex="0"]');if(!e||0===e.length)return;let r=e[0],a=e[e.length-1],s=e=>{"Tab"===e.key&&(e.shiftKey?document.activeElement===r&&(a.focus(),e.preventDefault()):document.activeElement===a&&(r.focus(),e.preventDefault()))};return window.addEventListener("keydown",s),r.focus(),()=>{window.removeEventListener("keydown",s)}},[t]),!t)return null;let N=String(Math.floor(y/60)).padStart(2,"0"),S=String(y%60).padStart(2,"0"),I=b?.pricing?.CV_BUILDER_WEEKLY,E=b?.pricing?.CV_BUILDER_MONTHLY,F=b?.discountPct||20,R=I?.currency||E?.currency||"INR",A=(e,t)=>
6{if("number"!=typeof e)return null;let r=e/100,a=Number.isInteger(r)?r.toString():r.toFixed(2);return`${"INR"===t?"â¹":"USD"===t?"$":"EUR"===t?"â¬":t}${a}`},D=A(I?.standardAmount,R)||e("exitIntent.plans.weeklyStandardFallback"),_=A(I?.firstPaymentAmount,R)||e("exitIntent.plans.weeklyFirstPaymentFallback"),L=A(E?.standardAmount,R)||e("exitIntent.plans.monthlyStandardFallback"),U=A(E?.firstPaymentAmount,R)||e("exitIntent.plans.monthlyFirstPaymentFallback"),P=e(w?"exitIntent.header.introTitle.reactivated":"exitIntent.header.introTitle.default");return(0,a.jsxs)("div",{className:"fixed inset-0 z-[9999] bg-black/75 backdrop-blur-[3px] overflow-y-auto overscroll-contain",style:{WebkitOverflowScrolling:"touch"},children:[(0,a.jsx)("div",{className:"absolute inset-0 cursor-default",onClick:r}),(0,a.jsx)("div",{className:"relative min-h-full flex items-start sm:items-center justify-center px-2 py-2 sm:p-4",children:(0,a.jsxs)("div",{ref:k,className:"relative w-[95vw] sm:w-[500px] max-w-[500px] max-h-none sm:max-h-[calc(100vh-32px)] bg-[#191b2b] rounded-[18px] overflow-hidden sm:overflow-y-auto sm:overscroll-contain shadow-[0_24px_50px_rgba(0,0,0,0.45)] transform transition-all duration-300 scale-100 flex flex-col z-[10000] sm:[scrollbar-width:none] sm:[&::-webkit-scrollbar]:hidden",role:"dialog","aria-modal":"true","aria-labelledby":"modal-title",children:[(0,a.jsxs)("div",{className:"relative bg-[#eb4025] w-full pt-5 pb-5 px-5 text-center flex flex-col items-center justify-center",children:[(0,a.jsx)("div",{className:"absolute top-6 left-10 w-3 h-3 bg-yellow-400 rotate-12 rounded-sm opacity-90"}),(0,a.jsx)("div",{className:"absolute top-16 left-6 w-2.5 h-2.5 bg-[#00e5ff] rotate-45 opacity-80"}),(0,a.jsx)("div",{className:"absolute top-26 left-14 w-2 h-2 bg-pink-500 rounded-full opacity-90"}),(0,a.jsx)("div",{className:"absolute top-8 right-12 w-3.5 h-3.5 bg-emerald-400 rotate-12 rounded-sm opacity-95"}),(0,a.jsx)("div",{className:"absolute top-20 right-6 w-2.5 h-2.5 bg-purple-500 -rotate-12 opacity-85"}),(0,a.jsx)("div",{className:"absolute top-28 right-16 w-2 h-2 bg-orange-300 rotate-45 rounded-sm opacity-90"}),(0,a.jsx)("button",{onClick:()=>r(),className:"absolute right-3.5 top-3.5 text-white/80 hover:text-white transition-colors","aria-label":e("exitIntent.header.closeAriaLabel"),children:(0,a.jsx)(i.A,{size:21,strokeWidth:2.2})}),(0,a.jsx)("span",{className:"text-white/85 text-[0.625rem] sm:text-xs font-extrabold tracking-[0.2em] uppercase mb-1.5",children:e("exitIntent.header.preTitle")}),(0,a.jsxs)("h2",{id:"modal-title",className:"text-5xl sm:text-6xl font-extrabold text-white tracking-tight leading-[0.9] my-1",children:[F,"% ",e("exitIntent.header.discountSuffix")]}),(0,a.jsx)("p",{className:"text-white text-base sm:text-lg font-semibold tracking-normal mb-4 leading-none",children:e("exitIntent.header.firstSubscription")}),(0,a.jsx)("div",{className:"border border-white/25 bg-white/12 text-white rounded-full px-6 py-1.5 text-sm sm:text-base font-semibold tracking-normal leading-none",children:P})]}),(0,a.jsxs)("div",{className:"p-5 flex flex-col items-center",children:[(0,a.jsxs)("div",{className:"bg-[#242637] border border-[#35384a] p-4 rounded-[12px] text-left flex items-start gap-2.5 w-full mb-3.5",children:[w?(0,a.jsx)(n.A,{className:"flex-shrink-0 mt-0.5",size:15,style:{color:"#09DE22"}}):(0,a.jsx)(l.A,{className:"text-amber-500 flex-shrink-0 mt-0.5",size:15}),(0,a.jsx)("p",{className:"text-[#d9dcee] text-xs md:text-[13px] leading-[1.5]",children:w?e("exitIntent.urgency.reactivated"):(0,a.jsxs)(a.Fragment,{children:[e("exitIntent.urgency.defaultPrefix")," ",(0,a.jsx)("strong",{className:"text-white font-bold",children:e("exitIntent.urgency.defaultHighlight")}),". ",e("exitIntent.urgency.defaultSuffix")]})})]}),w&&(0,a.jsxs)("div",{className:"bg-[#173828] border border-[#2f7c5c] p-3 rounded-[12px] text-left flex items-center gap-2.5 w-full mb-5",children:[(0,a.jsx)(o.A,{className:"flex-shrink-0 -scale-x-100",size:15,style:{color:"#09DE22"}}),(0,a.jsx)("p",{className:"text-sm md:text-[15px] font-semibold",style:{color:"#09DE22"},children:e("exitIntent.urgency.badge")})]}),(0,a.jsxs)("div",{className:"flex items-center gap-4 mb-5",children:[(0,a.jsxs)("div",{className:"flex flex-col items-center",children:[(0,a.jsx)("div",{className:"bg-[#2a2d42] border border-[#3a3e58] rounded-[12px] w-[64px] h-[52px] flex items-center justify-center text-[32px] font-extrabold text-white shadow-inner",children:N}),(0,a.jsx)("span",{className:"text-[10px] text-[#7f839b] font-semibold tracking-[0.18em] uppercase mt-1.5",children:e("exitIntent.countdown.minutes")})]}),(0,a.jsx)("span",{className:"text-[32px] font-bold text-[#aeb3c8] -mt-4",children:":"}),(0,a.jsxs)("div",{className:"flex flex-col items-center",children:[(0,a.jsx)("div",{className:"bg-[#2a2d42] border border-[#3a3e58] rounded-[12px] w-[64px] h-[52px] flex items-center justify-center text-[32px] font-extrabold text-white shadow-inner",children:S}),(0,a.jsx)("span",{className:"text-[10px] text-[#7f839b] font-semibold tracking-[0.18em] uppercase mt-1.5",children:e("exitIntent.countdown.seconds")})]})]}),(0,a.jsx)("div",{className:"flex items-center justify-center gap-3 text-sm font-medium mb-5 leading-none",children:"weekly"===v?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("span",{className:"line-through text-[#6f748a]",children:[D,e("exitIntent.plans.weeklySuffix")]}),(0,a.jsx)("span",{className:"text-[#7a7f96]",children:"â"}),(0,a.jsxs)("span",{className:"text-4xl font-black text-white cursor-default",children:[_,e("exitIntent.plans.weeklySuffix")]}),(0,a.jsx)("span",{className:"text-[#71758c] px-1",children:e("exitIntent.plans.connector")}
6),(0,a.jsxs)("button",{onClick:()=>j("monthly"),className:"text-[#7f859e] hover:text-white transition-colors focus:outline-none underline decoration-blue-500 underline-offset-4",children:[U,e("exitIntent.plans.monthlySuffix")]})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("span",{className:"line-through text-[#6f748a]",children:[L,e("exitIntent.plans.monthlySuffix")]}),(0,a.jsx)("span",{className:"text-[#7a7f96]",children:"â"}),(0,a.jsxs)("span",{className:"text-4xl font-black text-white cursor-default",children:[U,e("exitIntent.plans.monthlySuffix")]}),(0,a.jsx)("span",{className:"text-[#71758c] px-1",children:e("exitIntent.plans.connector")}),(0,a.jsxs)("button",{onClick:()=>j("weekly"),className:"text-[#7f859e] hover:text-white transition-colors focus:outline-none underline decoration-dotted decoration-blue-500 underline-offset-4",children:[_,e("exitIntent.plans.weeklySuffix")]})]})}),(0,a.jsx)("button",{onClick:()=>{C("weekly"===v?"week":"month")},disabled:g,className:"w-full h-[52px] px-6 rounded-[16px] bg-white hover:bg-slate-100 text-black font-extrabold text-base tracking-[-0.01em] shadow-[0_8px_20px_rgba(255,255,255,0.18)] active:scale-[0.98] transition-all disabled:opacity-50 disabled:cursor-not-allowed mb-4",children:e(g?"exitIntent.actions.ctaLoading":"exitIntent.actions.ctaDefault")}),(0,a.jsx)("button",{onClick:r,className:"text-[#a2a6bb] hover:text-slate-200 text-xs font-medium tracking-normal transition-colors hover:underline mb-4 cursor-pointer",children:e("exitIntent.actions.closeLater")}),(0,a.jsxs)("p",{className:"text-[10px] md:text-xs text-[#8d91a5] leading-[1.35] text-center w-[80%]",children:[e("exitIntent.disclaimer.prefix")," ",(0,a.jsx)("span",{className:"font-semibold",style:{color:"#09DE22"},children:e("exitIntent.disclaimer.upiHighlight")}),". ",e("exitIntent.disclaimer.suffix")]})]})]})})]})}},54118:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var a=r(95155),s=r(3147);r(93560);let i=()=>(0,a.jsx)(s.N9,{position:"top-center",style:{zIndex:0x7fffffff},toastStyle:{zIndex:0x7fffffff},toastClassName:"!text-[12px] !max-w-[100vw] !w-auto !shadow-md !z-[2147483647]",autoClose:6e3,closeButton:!1,hideProgressBar:!1,newestOnTop:!1,rtl:!1,pauseOnFocusLoss:!0,draggable:!0,pauseOnHover:!0,progressClassName:"toast-progress-bar",limit:1,enableMultiContainer:!1})},59179:()=>{},64439:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var a=r(95155);r(12115);var s=r(47650),i=r(33210);let n=({open:e,onClose:t,width:r="40vw",height:n="40vh",header:l=null,headerFontSize:o="regular-text",children:c,footer:d,onConfirm:u,disableConfirm:x=!1,confirmText:f="Confirm",cancelText:m="Cancel",disableCrossIcon:p=!1,zIndex:h=100})=>e?(0,s.createPortal)((0,a.jsx)("div",{className:"fixed inset-0 flex items-center justify-center !bg-gray-700/50 p-4",style:{zIndex:h,pointerEvents:"auto"},onClick:t,children:(0,a.jsxs)("div",{onClick:e=>e.stopPropagation(),className:"bg-gradient-to-r from-[#073772] to-[#8560c7] rounded-3xl relative",style:{width:r,maxWidth:"90vw",maxHeight:"90vh",height:n,minWidth:"360px"},children:[!p&&(0,a.jsx)("button",{type:"button",onClick:t,className:"absolute right-4 top-4 text-gray-500 hover:text-gray-700 cursor-pointer","aria-label":"Close",children:(0,a.jsx)(i.A,{size:16})}),(0,a.jsxs)("div",{className:"w-full h-[calc(100%-60px)] bg-white rounded-3xl flex flex-col",children:[(0,a.jsx)("div",{className:"shrink-0",children:"string"==typeof l?(0,a.jsx)("div",{className:`w-full text-center px-3 py-4 ${o}`,children:l}):l}),(0,a.jsx)("div",{className:"flex-1 overflow-y-auto",children:c})]}),(0,a.jsx)("div",{className:"w-full h-[60px] bg-gradient-to-r from-[#073772] to-[#8560c7] rounded-b-3xl hover:bg-blue-500 text-white font-medium py-4 px-4 rounded-b-[20px] flex items-center justify-center transition-colors group gap-4",children:d||(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("button",{type:"button",className:"regular-text",onClick:t,children:m}),(0,a.jsx)("button",{type:"button",className:"px-3 py-1 bg-white rounded-full text-black regular-text disabled:opacity-50 disabled:cursor-not-allowed",onClick:u,disabled:x,children:f})]})})]})}),document.body):null},69332:(e,t,r)=>{"use strict";r.d(t,{J:()=>f,m:()=>m});var a=r(95155),s=r(83109),i=r(12115),n=r(87090),l=r(82380);let o=(0,r(66170).vt)(e=>({currentCountry:"en",setCurrentCountry:t=>e({currentCountry:t})}));var c=r(93308),d=r(59547);let u="NEXT_LOCALE",x=(0,i.createContext)();function f({children:e}){let[t,r]=(0,i.useState)(null),[m,p]=(0,i.useState)(!1),[h,C]=(0,i.useState)(null),g=o(e=>e.setCurrentCountry),y=(0,s.getCookie)("token"),b=e=>{o.getState().currentCountry!==e&&g(e)};async function w(){let{data:e}=await (0,d.CJ)("/user/priceID",(0,s.getCookie)("token"));v(e.data)}(0,i.useEffect)(()=>{!async function(){(0,s.getCookie)(u)||(0,s.setCookie)(u,c.q,{path:"/"});let e=(0,s.getCookie)("country"),t="";e?(b(e),t=e):t=await (0,n.dw)();let r=(0,s.getCookie)("user"),a="";if(r)try{let e=JSON.parse(r);a=e?.country||""}catch(e){}let i=l.Xr[t],o=t&&("IN"===t.toUpperCase()||"INDIA"===t.toUpperCase())||a&&("IN"===a.toUpperCase()||"INDIA"===a.toUpperCase());i?((0,s.setCookie)("country",t,{maxAge:2592e6,path:"/"}),(0,s.setCookie)("currency",i.currency,{maxAge:2592e6,path:"/"}),b(i.language)):(o?((0,s.setCookie)("country",t||a||"IN",{maxAge:2592e6,path:"/"}),(0,s.setCookie)("currency","INR",{maxAge:2592e6,path:"/"})):((0,s.setCookie)("country",t,{maxAge:2592e6,path:"/"}),(0,s.setCookie)("currency","USD",{maxAge:2592e6,path:"/"})),b("en"))}()},[g]);let v=e=>{let t=((0,s.getCookie)("currency")||"USD").toUpperCase(),a=((0,s.getCookie)("country")||"").toUpperCase(),i=(0,s.getCookie)("user"),n="";if(i)try{let e=JSON.parse(i);n=(e?.country||"").toUpperCase()}catch(e){}let l="INR"===t||"IN"===a||"INDIA"===a||"IN"===n||"INDIA"===n,o=l?e?.razorPayPRICE:e?.stripePRICE,c=l?"INR":t;r({basic:{id:o?.basic?.[c]?.id||"",amount:o?.basic?.[c]?.amount||0},advance:{id:o?.advance?.[c]?.id||"",amount:o?.advance?.[c]?.amount||0},advance_plus:{id:o?.advance_plus?.[c]?.id||"",amount:o?.advance_plus?.[c]?.amount||0},enterprise:{id:o?.enterprice?.[c]?.id||"",amount:o?.enterprice?.[c]?.amount||0},free:{id:"free",amount:0}})};return(0,i.useEffect)(()=>{y&&w()},[y]),(0,a.jsx)(x.Provider,{value:{priceData:t,loading:m,error:h,updatePriceData:v,loadPriceData:w,setLoading:p,setError:C},children:e})}function m(){return(0,i.useContext)(x)}},70620:(e,t,r)=>{"use strict";r.d(t,{b:()=>a});let a=(0,r(66170).vt)(e=>({userRole:null,setUserRole:t=>e({userRole:t}),clearUserRole:()=>e({userRole:null}),checkPermission:e=>{let t=a.getState();if(!t.userRole?.permissions)return!1;let[r,s]=e.split(".");return t.userRole.permissions[r]?.[s]===!0},checkPermissions:(e,t=!1)=>{let r=a.getState();if(!e||0===e.length)return!0;
6if(!r.userRole?.permissions)return!1;let s=Array.isArray(e)?e:[e];return t?s.every(r.checkPermission):s.some(r.checkPermission)}}))},71435:(e,t,r)=>{"use strict";r.d(t,{CX:()=>u,bv:()=>d});var a=r(59547),s=r(83109),i=r(82406),n=r(42620),l=r(73870),o=r(70620),c=r(84702);let d=async()=>{try{let e=await (0,a.CJ)(`/user/banner?_=${Date.now()}`,(0,s.getCookie)("token")),t={...e.data.data,noOfRequestProcessed:e.data.data.matchHistory.result.total};return(0,i.A.getState().setBannerData)(t),(0,s.setCookie)("bannerData",JSON.stringify(e.data.data),{maxAge:2592e6,path:"/"}),t}catch(e){(0,n.X)(e)}},u=async()=>{try{let e=await (0,a.CJ)("/auth",(0,s.getCookie)("token")),t=e.data.data.user,r=t.config,i=t.roleId;(0,s.setCookie)("userConfig",JSON.stringify(r),{maxAge:2592e6,path:"/"}),delete t.config,(0,s.setCookie)("roleCookie",JSON.stringify(i),{maxAge:2592e6,path:"/"}),delete t.roleId;let n={authType:e.data.data.authType,email:e.data.data.email,name:e.data.data.name,profilePic:e.data.data.profilePic,authId:e.data.data.authId,...t};(0,s.setCookie)("user",JSON.stringify(n),{maxAge:2592e6,path:"/"}),c.c.getState().setUserData(n);let d=l.n.getState().setEmail,u=l.n.getState().setName,x=l.n.getState().setUser,f=o.b.getState().setUserRole;if(d(e.data.data.email),u(e.data.data.name),x(e.data.data),i)try{let e=await (0,a.CJ)(`/role?id=${encodeURIComponent(i._id)}&_=${Date.now()}`,(0,s.getCookie)("token"));f(e?.data?.data?e.data.data:i)}catch(e){f(i)}return e.data.data}catch(e){(0,n.X)(e)}}},73774:(e,t,r)=>{"use strict";r.d(t,{$v:()=>p,EO:()=>u,Lt:()=>o,ck:()=>f,r7:()=>m,wd:()=>x});var a=r(95155),s=r(12115),i=r(17533),n=r(86190),l=r(77341);let o=i.bL;i.l9;let c=i.ZL,d=s.forwardRef(({className:e,...t},r)=>(0,a.jsx)(i.hJ,{className:(0,n.cn)("fixed inset-0 !z-[1001] bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:r}));d.displayName=i.hJ.displayName;let u=s.forwardRef(({className:e,...t},r)=>(0,a.jsxs)(c,{children:[(0,a.jsx)(d,{}),(0,a.jsx)(i.UC,{ref:r,className:(0,n.cn)("fixed left-[50%] top-[50%] z-[1001] grid w-full h-full xl:max-w-fit translate-x-[-50%] translate-y-[-50%] gap-4 border border-gray-200 bg-white p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg dark:border-slate-800 dark:bg-card",e),...t})]}));u.displayName=i.UC.displayName;let x=({className:e,...t})=>(0,a.jsx)("div",{className:(0,n.cn)("flex flex-col space-y-2 text-center sm:text-left",e),...t});x.displayName="AlertDialogHeader";let f=({className:e,...t})=>(0,a.jsx)("div",{className:(0,n.cn)("flex flex-col-reverse sm:flex-row sm:justify-center sm:space-x-2",e),...t});f.displayName="AlertDialogFooter";let m=s.forwardRef(({className:e,...t},r)=>(0,a.jsx)(i.hE,{ref:r,className:(0,n.cn)("heading-text font-semibold",e),...t}));m.displayName=i.hE.displayName;let p=s.forwardRef(({className:e,...t},r)=>(0,a.jsx)(i.VY,{ref:r,className:(0,n.cn)("text-sm text-slate-500 dark:text-slate-400",e),...t}));p.displayName=i.VY.displayName,s.forwardRef(({className:e,...t},r)=>(0,a.jsx)(i.rc,{ref:r,className:(0,n.cn)((0,l.r)({variant:"regular-text"}),"regular-text text-blue-500",e),...t})).displayName=i.rc.displayName,s.forwardRef(({className:e,...t},r)=>(0,a.jsx)(i.ZD,{ref:r,className:(0,n.cn)((0,l.r)({variant:"regular-text"}),"regular-text text-blue-500",e),...t})).displayName=i.ZD.displayName},73870:(e,t,r)=>{"use strict";r.d(t,{n:()=>a});let a=(0,r(66170).vt)(e=>{let t=t=>e(e=>({user:{...e.user,...t}}));return{user:{email:"",name:"",password:"",country:"",authType:"normal",session:{},token:"",type:"",isAdmin:!1,isOnBoarded:!1,isNewUser:!1,isPaymentPopupSeen:!1},setUser:t=>e({user:t}),resetUser:()=>e({user:{email:"",password:"",country:"",authType:""}}),setAuthType:e=>t({authType:e}),setEmail:e=>t({email:e}),setName:e=>t({name:e}),setPassword:e=>t({password:e}),setCountry:e=>t({country:e}),setSession:e=>t({session:e}),setToken:e=>t({token:e})}})},77079:(e,t,r)=>{"use strict";r.d(t,{CP:()=>u,wV:()=>x});var a=r(95155),s=r(12115),i=r(73321),n=r(73774),l=r(77341),o=r(83109),c=r(12214);let d=(0,s.createContext)(),u=({children:e})=>{let t=(0,c.Vr)(c.dK.BUTTON),r=(0,c.Vr)(c.dK.CONCENT),[u,x]=(0,s.use
6State)(!1),f=(0,i.useRouter)();return(0,a.jsxs)(d.Provider,{value:x,children:[e,(0,a.jsx)(n.Lt,{open:u,children:(0,a.jsxs)(n.EO,{className:"h-fit w-[300px] ",children:[(0,a.jsxs)("div",{className:"regular-text font-semibold flex justify-center items-center",children:[(0,a.jsx)("img",{className:"h-5 w-5",src:"/Images/sessionLogout.png",alt:"logo"})," ",r("sessionExpired.title")]}),(0,a.jsx)("div",{className:"regular-text text-center",children:r("sessionExpired.description")}),(0,a.jsx)(n.ck,{children:(0,a.jsx)("div",{className:"flex justify-center w-full",children:(0,a.jsx)(l.$,{onClick:()=>{x(!1),(0,o.deleteCookie)("token"),f.push("/login")},className:"w-fit h-fit regular-text p-1 px-3",children:t("login")})})})]})})]})},x=()=>{let e=(0,s.useContext)(d);if(void 0===e)throw Error("useSession must be used within a SessionProvider");return e}},82406:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(66170).vt)(e=>({bannerData:{noOfCandidates:0,noOfJobs:0,noOfRequestProcessed:5,totalResumeCount:10,resumeCountused:0,organization:"",totalJobApplications:0,isResumeCountExceed:!1,jobs:{published:0,unpublished:0,totalCount:0},matchHistory:{result:{"0-49":63,"50-74":8,"75-89":6,"90+":0,total:77}},applicationProgress:{applied:0,active:0,closed:0,shortlisted:0,shortlistedPercentage:0},weeklyComparisons:0,matchMap:[],bestMatches:[]},setBannerData:t=>e(e=>({bannerData:{...e.bannerData,...t}}))}))},84702:(e,t,r)=>{"use strict";r.d(t,{c:()=>a});let a=(0,r(66170).vt)(e=>({countryValue:"",setCountryValue:t=>{e({countryValue:t})},openCountryDropdown:!1,setOpenCountryDropdown:t=>{e({openCountryDropdown:t})},stateValue:"",setStateValue:t=>{e({stateValue:t})},openStateDropdown:!1,setOpenStateDropdown:t=>{e({openStateDropdown:t})},userData:{},setUserData:t=>{e({userData:t})}}))},97636:(e,t,r)=>{"use strict";r.d(t,{default:()=>I});var a=r(95155);r(42017);
6var s=r(64272),i=r(39369),n=r(53986),l=r(33983),o=r(12115),c=r(15423),d=r(69332),u=r(77079),x=r(52044),f=r(10171),m=r(66353),p=r(790);r(59179);var h=r(99e3),C=r(71435),g=r(12214);let y=()=>{let e=(0,g.Vr)(g.dK.LANDINGPAGE_EXTRAS);return(0,o.useEffect)(()=>{(0,C.CX)()},[]),(0,a.jsxs)("div",{children:[(0,a.jsx)(h.default,{}),(0,a.jsxs)("div",{className:"relative w-[100%] mx-auto h-screen bg-[#080D13] flex justify-center items-center flex-col overflow-hidden ",children:[(0,a.jsx)("div",{className:"absolute top-[20px] right-0 md:right-[-380px] flex justify-end w-full h-full ",children:(0,a.jsx)(p.A,{componentClass:"w-full flex justify-end"})}),(0,a.jsx)("div",{className:"h-[180px] w-[180px] flex justify-center items-center bg-white/20 rounded-full relative z-10",children:(0,a.jsx)("img",{src:"/Images/logoLanding.svg",alt:"Skillioz Logo"})}),(0,a.jsxs)("div",{className:"relative z-10 text-white text-center mt-6 mb-4 flex flex-col items-center gap-4 px-4",children:[(0,a.jsxs)("div",{className:"text-white text-center mt-6 mb-4 text-[24px] font-semibold",children:[(0,a.jsx)("h1",{children:e("need_help.skillioz_is_best")}),(0,a.jsx)("h1",{children:e("need_help.experienced_on_desktop")})]}),(0,a.jsx)("div",{className:"text-white text-center text-[16px]",children:e("need_help.for_best_experience")}),(0,a.jsx)("div",{className:"h-[60px] flex justify-center md:justify-start items-center gap-4",children:(0,a.jsx)("button",{className:"compare-btn mt-1 md:mt-3 relative",onClick:()=>window.open("./contact-us","_blank"),children:e("need_help.need_help")})})]})]})]})};var b=r(73321),w=r(12275),v=r(54118),j=r(66865),k=r(6781),N=r(20437);let S=new n.E;function I({children:e}){let{resetFilter:t}=(0,c.F)(),r=(0,m.A)(),n=(0,b.usePathname)();return((0,o.useEffect)(()=>{t()},[]),r&&("/dashboard"===n||"/resumeselector"===n))?(0,a.jsx)("div",{className:"mobile-view",children:(0,a.jsx)(y,{})}):(0,a.jsx)(l.Ht,{client:S,children:(0,a.jsx)(s.Kq,{store:i.M,children:(0,a.jsx)(j.CvPricingProvider,{children:(0,a.jsx)(k.ReferralProvider,{children:(0,a.jsx)(d.J,{children:(0,a.jsx)(u.CP,{children:(0,a.jsx)(x.DropdownProvider,{children:(0,a.jsxs)(f.H,{children:[e,(0,a.jsx)(w.default,{}),(0,a.jsx)(v.default,{}),(0,a.jsx)(N.A,{}),!1]})})})})})})})})}}}]);
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.