PageSourceSearch

https://jobscout-ai.vercel.app/_next/static/chunks/app/page-3c896261603678d1.js

js jobscout-ai.vercel.app collected 2026-10-03 07:09:15 UTC 15,741 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[974],{8782:(e,a,t)=>{Promise.resolve().then(t.bind(t,9013))},9013:(e,a,t)=>{"use strict";t.r(a),t.d(a,{default:()=>P});var s=t(5155),i=t(2115),r=t(1069),l=t(6046),n=t(6217),o=t(767),d=t(9602);let c=n.bL;n.l9;let m=n.ZL;n.bm;let x=i.forwardRef((e,a)=>{let{className:t,...i}=e;return(0,s.jsx)(n.hJ,{ref:a,className:(0,d.cn)("fixed inset-0 z-50 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",t),...i})});x.displayName=n.hJ.displayName;let h=i.forwardRef((e,a)=>{let{className:t,children:i,...r}=e;return(0,s.jsxs)(m,{children:[(0,s.jsx)(x,{}),(0,s.jsxs)(n.UC,{ref:a,className:(0,d.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background 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",t),...r,children:[i,(0,s.jsxs)(n.bm,{className:"absolute right-4 top-4 roun
1ded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,s.jsx)(o.A,{className:"h-4 w-4"}),(0,s.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});h.displayName=n.UC.displayName;let u=e=>{let{className:a,...t}=e;return(0,s.jsx)("div",{className:(0,d.cn)("flex flex-col space-y-1.5 text-center sm:text-left",a),...t})};u.displayName="DialogHeader";let g=i.forwardRef((e,a)=>{let{className:t,...i}=e;return(0,s.jsx)(n.hE,{ref:a,className:(0,d.cn)("text-lg font-semibold leading-none tracking-tight",t),...i})});g.displayName=n.hE.displayName,i.forwardRef((e,a)=>{let{className:t,...i}=e;return(0,s.jsx)(n.VY,{ref:a,className:(0,d.cn)("text-sm text-muted-foreground",t),...i})}).displayName=n.VY.displayName;var p=t(4085),f=t(2336),v=t(4505);function b(e){let{onSuccess:a,switchToRegister:t}=e,{login:l}=(0,r.A)(),[n,o]=(0,i.useState)(!1),[d,c]=(0,i.useState)(""),m=async e=>{e.preventDefault(),c(""),o(!0);let t=new FormData(e.currentTarget),s=t.get("email"),i=t.get("password");try{await l(s,i),a()}catch(e){c("Invalid email or password")}finally{o(!1)}};return(0,s.jsxs)("form",{onSubmit:m,className:"space-y-4",children:[(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(f.p,{id:"email",name:"email",type:"email",placeholder:"Email",required:!0,disabled:n}),(0,s.jsx)(f.p,{id:"password",name:"password",type:"password",placeholder:"Password",required:!0,disabled:n})]}),d&&(0,s.jsx)("p",{className:"text-sm text-red-500",children:d}),(0,s.jsx)(p.$,{type:"submit",className:"w-full",disabled:n,children:n?(0,s.jsx)(v.A,{className:"h-4 w-4 animate-spin"}):"Sign In"}),(0,s.jsxs)("p",{className:"text-center text-sm text-gray-600",children:["Don't have an account?"," ",(0,s.jsx)("button",{type:"button",onClick:t,className:"text-violet-600 hover:underline",children:"Sign up"})]})]})}function j(e){let{onSuccess:a,switchToLogin:t,defaultEmail:l=""}=e,{register:n}=(0,r.A)(),[o,d]=(0,i.useState)(!1),[c,m]=(0,i.useState)(""),x=async e=>{e.preventDefault(),m(""),d(!0);let t=new FormData(e.currentTarget),s=t.get("email"),i=t.get("password"),r=t.get("name");try{await n(s,i,r),a()}catch(e){m("Registration failed. Please try again.")}finally{d(!1)}};return(0,s.jsxs)("form",{onSubmit:x,className:"space-y-4",children:[(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(f.p,{id:"name",name:"name",type:"text",placeholder:"Full Name",required:!0,disabled:o}),(0,s.jsx)(f.p,{id:"email",name:"email",type:"email",placeholder:"Email",required:!0,disabled:o,defaultValue:l}),(0,s.jsx)(f.p,{id:"password",name:"password",type:"password",placeholder:"Password",required:!0,disabled:o})]}),c&&(0,s.jsx)("p",{className:"text-sm text-red-500",children:c}),(0,s.jsx)(p.$,{type:"submit",className:"w-full",disabled:o,children:o?(0,s.jsx)(v.A,{className:"h-4 w-4 animate-spin"}):"Sign Up"}),(0,s.jsxs)("p",{className:"text-center text-sm text-gray-600",children:["Already have an account?"," ",(0,s.jsx)("button",{type:"button",onClick:t,className:"text-violet-600 hover:underline",children:"Sign in"})]})]})}function y(e){let{isOpen:a,onClose:t,defaultView:r="login",defaultEmail:l=""}=e,[n,o]=(0,i.useState)(r);return(0,s.jsx)(c,{open:a,onOpenChange:t,children:(0,s.jsxs)(h,{className:"sm:max-w-[425px]",children:[(0,s.jsx)(u,{children:(0,s.jsx)(g,{children:"login"===n?"Welcome back":"Create an account"})}),"login"===n?(0,s.jsx)(b,{onSuccess:t,switchToRegister:()=>o("register")}):(0,s.jsx)(j,{onSuccess:t,switchToLogin:()=>o("login"),defaultEmail:l})]})})}var N=t(7065),w=t(3250),k=t(987),A=t(7410),S=t(2320),C=t(5920),I=t(9136),z=t(98);function E(e){let{icon:a,title:t,description:i}=e;return(0,s.jsxs)("div",{className:"group relative overflow-hidden rounded-xl bg-white/40 p-6 transition-all hover:bg-white/60 hover:shadow-lg dark:bg-gray-800/40 dark:hover:bg-gray-800/60",children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-gradient-to-r from-violet-600/10 to-fuchsia-600/10 opacity-0 transition-opacity group-hover:opacity-100"}),(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("div",{className:"mb-4 inline-flex h-12 w-12 items-center justify-center rounded-lg bg-gradient-to-r from-violet-600/20 to-fuchsia-600/20",children:(0,s.jsx)(a,{className:"h-6 w-6 text-violet-600 dar
1k:text-violet-400"})}),(0,s.jsx)("h3",{className:"mb-2 text-xl font-semibold",children:t}),(0,s.jsx)("p",{className:"text-gray-600 dark:text-gray-300",children:i})]})]})}function T(e){let{number:a,label:t,icon:i}=e;return(0,s.jsxs)("div",{className:"relative overflow-hidden rounded-xl bg-gradient-to-br from-violet-500/10 to-fuchsia-500/10 p-6 text-center backdrop-blur-sm transform transition-transform duration-300 hover:scale-105",children:[(0,s.jsx)("div",{className:"absolute -right-4 -top-4 h-24 w-24 rounded-full bg-gradient-to-br from-violet-500/20 to-fuchsia-500/20 blur-2xl animate-scale-in"}),(0,s.jsx)(i,{className:"mx-auto mb-4 h-8 w-8 text-violet-600 dark:text-violet-400"}),(0,s.jsx)("h3",{className:"bg-gradient-to-r from-violet-600 to-fuchsia-600 bg-clip-text text-3xl font-bold text-transparent",children:a}),(0,s.jsx)("p",{className:"text-gray-600 dark:text-gray-300",children:t})]})}var R=t(1466);function _(e){let{message:a,isBot:t}=e;return(0,s.jsxs)("div",{className:"flex items-start gap-3 ".concat(t?"":"flex-row-reverse"),children:[(0,s.jsx)("div",{className:"rounded-full p-2 ".concat(t?"bg-violet-600 text-white":"bg-gray-200 text-gray-700 dark:bg-gray-700 dark:text-gray-200"),children:t?(0,s.jsx)(A.A,{className:"h-4 w-4"}):(0,s.jsx)(R.A,{className:"h-4 w-4"})}),(0,s.jsx)("div",{className:"rounded-lg px-4 py-2 ".concat(t?"bg-violet-600 text-white":"bg-gray-200 text-gray-700 dark:bg-gray-700 dark:text-gray-200"),children:a})]})}var D=t(4905);function P(){let e=(0,l.useRouter)(),{user:a,logout:t,isLoading:n}=(0,r.A)(),[o,d]=(0,i.useState)(!1),[c,m]=(0,i.useState)("login"),[x,h]=(0,i.useState)(""),u=function(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";m(e),h(a),d(!0)};return(0,i.useEffect)(()=>{a&&(sessionStorage.setItem("profileSource","login"),e.push("/profile"))},[a,e]),(0,s.jsxs)("div",{className:"min-h-screen bg-[radial-gradient(ellipse_at_top_right,_var(--tw-gradient-stops))] from-violet-100 via-white to-fuchsia-100 dark:from-gray-900 dark:via-gray-900 dark:to-violet-900/20",children:[(0,s.jsx)("div",{className:"w-full bg-gradient-to-r from-amber-50 via-amber-100 to-amber-50 dark:from-amber-900/20 dark:via-amber-800/20 dark:to-amber-900/20 p-2",children:(0,s.jsx)("p",{className:"text-center text-sm text-amber-800 dark:text-amber-200 animate-fade-in",children:"⚠️ Demo Version: Limited API credits available. Some features may be restricted on this deployment."})}),(0,s.jsx)("header",{className:"sticky top-0 z-50 border-b bg-white/80 backdrop-blur-sm transition-colors dark:border-gray-800 dark:bg-gray-900/80",children:(0,s.jsxs)("div",{className:"container mx-auto flex h-16 items-center justify-between px-4",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 animate-slide-in",children:[(0,s.jsx)(N.A,{className:"h-8 w-8 text-violet-600 dark:text-violet-400"}),(0,s.jsx)("span",{className:"text-xl font-bold",children:"JobScout.ai"})]}),(0,s.jsx)("div",{className:"flex items-center gap-4 animate-slide-in [animation-delay:200ms]",children:n?(0,s.jsx)("div",{className:"h-10 w-20 animate-pulse rounded bg-gray-200"}):a?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("span",{className:"text-sm text-gray-600",children:["Welcome, ",a.name]}),(0,s.jsx)(p.$,{variant:"ghost",className:"hover:bg-violet-500/10 hover:text-violet-600",onClick:()=>t(),children:"Log out"}),(0,s.jsx)(p.$,{variant:"ghost",className:"p-2 hover:bg-violet-500/10 hover:text-violet-600",onClick:()=>{a&&(sessionStorage.setItem("profileSource","icon"),e.push("/profile"))},children:(0,s.jsx)(w.A,{className:"h-6 w-6"})})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(p.$,{variant:"ghost",className:"hover:bg-violet-500/10 hover:text-violet-600",onClick:()=>u("login"),children:"Log in"}),(0,s.jsx)(p.$,{className:"bg-gradient-to-r from-violet-600 to-fuchsia-600 hover:from-violet-700 hover:to-fuchsia-700",onClick:()=>u("register"),children:"Get Started"})]})})]})}),a?(0,s.jsx)(D.default,{}):(0,s.jsxs)("main",{children:[(0,s.jsxs)("section",{className:"relative overflow-hidden py-20 lg:py-32",children:[(0,s.jsx)("div",{className:"pointer-events-none absolute inset-0 flex items-center justify-center",children:(0,s.jsx)("div",{className:"h-[500px] w-[500px] animate-gradient rounded-full bg-gradient-to-r from-violet-600/20 to-fuchsia-600/20 blur-3xl"})}),(0,s.jsxs)("div",{className:"container relative mx-auto px-4",children:[(0,s.jsxs)("div",{className:"text-center",children:[(0,s.jsxs)("h1",{className:"animate-slide-in mb-6 text-4xl font-bold leading-tight tracking-tighter md:text-6xl lg:text-7xl",children:["Your AI-Powered",(0,s.jsxs)("span",{className:"relative",children:[(0,s.jsx)("span",{className:"relative z-10 bg-gradient-to-r from-violet-600 to-fuchsia-600 bg-clip-text px-2 text-transparent",children:"Career Navigator"}),(0,s.jsx)("span",{className:"absolute bottom-0 left-0 h-3 w-full animate-fade-in [animation-delay:500ms] bg-gradient-to-r from-violet-600/20 to-fuchsia-600/20 blur-sm"})]})]}),(0,s.jsx)("p",{className:"animate-slide-in [animation-delay:200ms] mx-auto mb-8 max-w-2xl text-xl text-gray-600 dark:text-gray-300",children:"Transform your job search with real-time insights, personalized recommendations, and AI-driven career guidance."}),(0,s.jsxs)("div",{className:"animate-slide-in [animation-delay:400ms] mx-auto mb-12 flex max-w-md flex-col items-center gap-4 sm:flex-row",children:[(0,s.jsx)(f.p,{placeholder:"Enter your email",type:"email",value:x,onChange:e=>h(e.target.value),className:"h-12 border-violet-200 bg-white/50 backdrop-blur-sm transition-all focus-visible:border-violet-500 focus-visible:ring-violet-500 dark:border-gray-700 dark:bg-gray-800/50"}),(0,s.jsx)(p.$,{size:"lg",className:"w-full bg-gradient-to-r from-violet-600 to-fuchsia-600 transition-all hover:from-violet-700 hover:to-fuchsia-700 sm:w-auto",onClick:()=>{u("register",x)},children:"Start Free Trial"})]})]}),(0,s.jsxs)("div",{className:"grid gap-8 md:grid-cols-3",children:[(0,s.jsx)("div",{className:"animate-slide-in [animation-delay:200ms]",children:(0,s.jsx)(E,{icon:k.A,title:"Real-Time Market Data",description:"Stay updated with the latest job market trends and opportunities."})}),(0,s.jsx)("div",{className:"animate-slide-in [animation-delay:400ms]",children:(0,s.jsx)(E,{icon:A.A,title:"AI Career Assistant",description:"Get instant answers to your career questions from our AI chatbot."})}),(0,s.jsx)("div",{className:"animate-slide-in [animation-delay:600ms]",children:(0,s.jsx)(E,{icon:S.A,title:"Smart Analytics",description:"Track your application progress and success metrics."})})]})]})]}),(0,s.jsx)("section",{className:"py-20",children:(0,s.jsx)("div",{className:"container mx-auto px-4",children:(0,s.jsx)("div",{className:"rounded-2xl bg-gradient-to-r from-violet-100 to-fuchsia-100 p-8 dark:from-violet-900/20 dark:to-fuchsia-900/20",children:(0,s.jsxs)("div",{className:"grid gap-8 md:grid-cols-2",children:[(0,s.jsxs)("div",{className:"animate-slide-in",children:[(0,s.jsx)("h2",{className:"mb-4 text-3xl font-bold",children:"AI-Powered Chat Support"}),(0,s.jsx)("p",{className:"mb-6 text-gray-600 dark:text-gray-300",children:"Get instant answers to your career questions, compare job opportunities, and receive personalized advice for your professional growth."}),(0,s.jsxs)(p.$,{className:"bg-gradient-to-r from-violet-600 to-fuchsia-600 transition-all hover:from-violet-700 hover:to-fuchsia-700",children:[(0,s.jsx)(C.A,{className:"mr-2 h-4 w-4"}),"Try Demo Chat"]})]}),(0,s.jsx)("div",{className:"animate-slide-in [animation-delay:200ms] rounded-xl bg-white/80 p-6 shadow-xl backdrop-blur-sm dark:bg-gray-800/80",children:(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsx)(_,{isBot:!0,message:"Hi! I'm your AI career assistant. How can I help you today?"}
1),(0,s.jsx)(_,{message:"I need help improving my resume for tech jobs."}),(0,s.jsx)(_,{isBot:!0,message:"I'll help you optimize your resume for tech positions. Let's start with these key areas: 1. Technical skills highlight 2. Project showcase 3. Industry keywords Would you like me to analyze your current resume?"})]})})]})})})}),(0,s.jsx)("section",{className:"py-20",children:(0,s.jsx)("div",{className:"container mx-auto px-4",children:(0,s.jsxs)("div",{className:"grid gap-8 md:grid-cols-3",children:[(0,s.jsx)("div",{className:"animate-slide-in",children:(0,s.jsx)(T,{number:"100K+",label:"Active Users",icon:I.A})}),(0,s.jsx)("div",{className:"animate-slide-in [animation-delay:200ms]",children:(0,s.jsx)(T,{number:"50+",label:"Job Platforms",icon:k.A})}),(0,s.jsx)("div",{className:"animate-slide-in [animation-delay:400ms]",children:(0,s.jsx)(T,{number:"95%",label:"Success Rate",icon:z.A})})]})})}),(0,s.jsx)("section",{className:"py-20",children:(0,s.jsxs)("div",{className:"container mx-auto px-4 text-center",children:[(0,s.jsx)("h2",{className:"animate-slide-in mb-6 text-3xl font-bold md:text-4xl",children:"Ready to Transform Your Job Search?"}),(0,s.jsx)("p",{className:"animate-slide-in [animation-delay:200ms] mx-auto mb-8 max-w-2xl text-gray-600 dark:text-gray-300",children:"Join thousands of professionals who have already discovered the power of AI-driven career guidance."}),(0,s.jsx)("div",{className:"animate-slide-in [animation-delay:400ms]",children:(0,s.jsxs)(p.$,{size:"lg",className:"bg-gradient-to-r from-violet-600 to-fuchsia-600 transition-all hover:from-violet-700 hover:to-fuchsia-700",onClick:()=>u("register"),children:[(0,s.jsx)(z.A,{className:"mr-2 h-4 w-4"}),"Get Started for Free"]})})]})})]}),(0,s.jsx)("footer",{className:"border-t bg-white/50 py-8 backdrop-blur-sm dark:border-gray-800 dark:bg-gray-900/50",children:(0,s.jsx)("div",{className:"container mx-auto px-4 text-center text-sm text-gray-600 dark:text-gray-300",children:(0,s.jsx)("p",{children:"\xa9 2024 JobScout.ai. All rights reserved."})})}),(0,s.jsx)(y,{isOpen:o,onClose:()=>d(!1),defaultView:c,defaultEmail:x})]})}}},e=>{var a=a=>e(e.s=a);e.O(0,[345,710,698,163,725,379,764,905,441,517,358],()=>a(8782)),_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.