PageSourceSearch

https://trueresume.ai/_next/static/chunks/pages/login-df925236981b2371.js

js trueresume.ai collected 2026-10-02 01:13:25 UTC 56,220 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3459],{83236:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/login",function(){return a(88704)}])},40306:function(e,t,a){"use strict";a.d(t,{Z:function(){return n}});var s=a(85893),i=a(67694),r=a(49240);function n(e){let{message:t="Loading...",fullScreen:a=!1,children:n,showBrandIcon:l=!0,ariaLabel:c,size:o="md"}=e,{theme:d}=(0,i.F)(),x={sm:{wrapper:"w-12 h-12 sm:w-14 sm:h-14",icon:"w-6 h-6 sm:w-7 sm:h-7"},md:{wrapper:"w-16 h-16 sm:w-20 sm:h-20",icon:"w-8 h-8 sm:w-10 sm:h-10"},lg:{wrapper:"w-20 h-20 sm:w-24 sm:h-24",icon:"w-10 h-10 sm:w-12 sm:h-12"}}[o];return(0,s.jsxs)("div",{className:a?"fixed inset-0 z-[9999] flex items-center justify-center":"absolute inset-0 z-10 flex items-center justify-center",role:"status","aria-live":"polite","aria-label":null!=c?c:t,children:[(0,s.jsx)("div",{className:"absolute inset-0  ".concat("dark"===d?"bg-[#1A1A1B]":"bg-white")}),(0,s.jsxs)("div",{className:"relative z-10 flex flex-col items-center space-y-4",children:[l&&(0,s.jsx)("div",{className:"relative ".concat(x.wrapper," rounded-2xl flex items-center justify-center ").concat("dark"===d?"bg-gradient-to-br from-blue-600 to-[#E03D00]":"bg-gradient-to-br from-blue-500 to-[#FF4500]"," shadow-lg"),children:(0,s.jsx)(r.Z,{className:"".concat(x.icon," animate-pulse"),fill:"white"})}),n?(0,s.jsx)("div",{className:"w-full",children:n}):(0,s.jsxs)("div",{className:"text-center px-4",children:[(0,s.jsx)("p",{className:"text-sm sm:text-base font-medium ".concat("dark"===d?"text-white":"text-gray-900"),style:{fontFamily:"Rajdhani, sans-serif",fontWeight:700},children:t}),(0,s.jsxs)("div",{className:"flex items-center justify-center space-x-1 mt-2",children:[(0,s.jsx)("div",{className:"w-2 h-2 rounded-full animate-bounce ".concat("dark"===d?"bg-blue-400":"bg-blue-600"),style:{animationDelay:"0ms"}}),(0,s.jsx)("div",{className:"w-2 h-2 rounded-full animate-bounce ".concat("dark"===d?"bg-[#FF4500]/20":"bg-[#FF4500]"),style:{animationDelay:"150ms"}}),(0,s.jsx)("div",{className:"w-2 h-2 rounded-full animate-bounce ".concat("bg-[#FF4500]"),style:{animationDelay:"300ms"}})]})]})]})]})}a(67294)},42949:function(e,t,a){"use strict";a.d(t,{q:function(){return r}});var s=a(85893);a(67294);var i=a(54271);function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:26;return(0,s.jsx)(i.ZP,{variant:e,size:t,density:"full",animated:!0})}},43765:function(e,t,a){"use strict";a.d(t,{Z:function(){return s}});let s=(0,a(63759).Z)("AlertCircle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},83989:function(e,t,a){"use strict";a.d(t,{Z:function(){return s}});let s=(0,a(63759).Z)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])},60493:function(e,t,a){"use strict";a.d(t,{Z:function(){return s}});let s=(0,a(63759).Z)("CheckCircle",[["path",{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14",key:"g774vq"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]])},43832:function(e,t,a){"use strict";a.d(t,{Z:function(){return s}});let s=(0,a(63759).Z)("EyeOff",[["path",{d:"M9.88 9.88a3 3 0 1 0 4.24 4.24",key:"1jxqfv"}],["path",{d:"M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68",key:"9wicm4"}],["path",{d:"M6.61 6.61A13.526 13.526 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61",key:"1jreej"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]])},15928:function(e,t,a){"use strict";a.d(t,{Z:function(){return s}});let s=(0,a(63759).Z)("Eye",[["path",{d:"M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z",key:"rwhkz3"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},82126:function(e,t,a){"use strict";a.d(t,{Z:function(){return s}});let s=(0,a(63759).Z)("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"}]])},86691:function(e,t,a){"use strict";a.d(t,{Z:function(){return s}});let s=(0,a(63759).Z)("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]])},88704:function(e,t,a){"use strict";a.r(t),a.d(t,{__N_SSP:function(){return D},default:function(){return Z}});var s=a(85893),i=a(67294),r=a(9008),n=a.n(r),l=a(89508),c=a(87542),o=a(33299),d=a(11163),x=a(85412),m=a(40306),u=a(67694),h=a(54271),g=e=>{let{stage:t}=e,{theme:a}=(0,u.F)(),r="dark"===a,[n,o]=(0,i.useState)(0),[d,x]=(0,i.useState)(0);(0,i.useEffect)(()=>{let e=setInterval(()=>
1o(e=>(e+1)%3),4e3);return()=>clearInterval(e)},[]),(0,i.useEffect)(()=>{let e=setInterval(()=>x(e=>(e+1)%3),2500);return()=>clearInterval(e)},[]);let m=r?"bg-[#1A1A1B] border-[#343536]":"bg-white  border-[#EDEFF1]",g=r?"bg-[#272729] border-[#FF4500]/20 shadow-lg shadow-[#FF4500]/5":"bg-white  border-[#FF4500]/30 shadow-lg shadow-[#FF4500]/10",p=r?"text-white":"text-[#1C1C1C]",f=r?"text-[#818384]":"text-[#4F4F51]",y="text-[#818384]",b=r?"bg-[#272729] text-[#D7DADC] border-[#343536]":"bg-white text-[#576F76] border-[#EDEFF1]",j=r?"bg-[#272729] border-[#343536]":"bg-white  border-[#EDEFF1]",v=r?"text-[#818384] hover:text-[#D7DADC] hover:bg-[#272729]":"text-[#818384] hover:text-[#576F76] hover:bg-white",w=r?"bg-[#272729]":"bg-white ",N=r?"bg-[#272729]":"bg-white";return(0,s.jsxs)("div",{className:"relative w-full h-full overflow-hidden ".concat(r?"bg-[#030303]":""),children:[(0,s.jsx)("div",{className:"absolute inset-0",children:r?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(c.E.div,{className:"absolute rounded-full",style:{width:500,height:500,background:"radial-gradient(circle, rgba(244,63,94,0.07) 0%, transparent 70%)",top:"-10%",left:"-10%"},animate:{scale:[1,1.15,1],x:[0,25,0]},transition:{duration:18,repeat:1/0,ease:"easeInOut"}}),(0,s.jsx)(c.E.div,{className:"absolute rounded-full",style:{width:400,height:400,background:"radial-gradient(circle, rgba(244,63,94,0.05) 0%, transparent 70%)",bottom:"-5%",right:"-5%"},animate:{scale:[1.1,1,1.1]},transition:{duration:14,repeat:1/0,ease:"easeInOut"}}),(0,s.jsx)("div",{className:"absolute inset-0 opacity-[0.03]",style:{backgroundImage:"radial-gradient(circle, #fff 1px, transparent 1px)",backgroundSize:"28px 28px"}})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"absolute inset-0",style:{background:"linear-gradient(135deg, #ff9a9e 0%, #fecfef 25%, #fbc2eb 45%, #a1c4fd 70%, #c2e9fb 100%)"}}),(0,s.jsxs)("div",{className:"absolute inset-0",style:{filter:"blur(100px)"},children:[(0,s.jsx)("div",{className:"absolute",style:{width:"60%",height:"60%",top:"-15%",left:"-8%",borderRadius:"50%",background:"radial-gradient(circle at 40% 40%, rgba(255,154,158,0.85) 0%, rgba(250,177,160,0.5) 35%, transparent 65%)"}}),(0,s.jsx)("div",{className:"absolute",style:{width:"65%",height:"65%",bottom:"-20%",right:"-12%",borderRadius:"50%",background:"radial-gradient(circle at 60% 60%, rgba(161,196,253,0.85) 0%, rgba(194,233,251,0.5) 35%, transparent 65%)"}}),(0,s.jsx)("div",{className:"absolute",style:{width:"55%",height:"55%",top:"8%",right:"0%",borderRadius:"50%",background:"radial-gradient(circle at 50% 50%, rgba(251,194,235,0.8) 0%, rgba(254,207,239,0.45) 35%, transparent 65%)"}}),(0,s.jsx)("div",{className:"absolute",style:{width:"55%",height:"55%",bottom:"2%",left:"8%",borderRadius:"50%",background:"radial-gradient(circle at 45% 55%, rgba(250,177,160,0.75) 0%, rgba(255,154,158,0.4) 35%, transparent 65%)"}}),(0,s.jsx)("div",{className:"absolute",style:{width:"50%",height:"50%",top:"35%",left:"25%",borderRadius:"50%",background:"radial-gradient(circle at 50% 50%, rgba(194,233,251,0.7) 0%, rgba(161,196,253,0.35) 35%, transparent 65%)"}})]})]})}),(0,s.jsxs)("div",{className:"relative z-10 flex flex-col h-full p-6 lg:p-10",children:[(0,s.jsx)(c.E.div,{initial:{opacity:0,y:-20},animate:{opacity:1,y:0},className:"flex justify-end mb-4",children:(0,s.jsxs)(c.E.div,{className:"flex items-center gap-2 px-3 py-1.5 rounded-full ".concat(j),animate:{opacity:[1,.7,1]},transition:{duration:3,repeat:1/0},children:[(0,s.jsx)(c.E.div,{className:"w-2 h-2 rounded-full bg-[#FF4500]",animate:{scale:[1,1.2,1]},transition:{duration:1.5,repeat:1/0}}),(0,s.jsx)("span",{className:"text-xs font-medium ".concat(f),children:"AI Active"})]})}),(0,s.jsx)(c.E.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{delay:.1},className:"flex p-1.5 rounded-2xl mb-5 border ".concat(r?"bg-[#1A1A1B] border-[#343536]":"bg-white  border-[#EDEFF1]"),children:[{id:"resume",label:"AI Resume",crane:"profile"},{id:"jobs",label:"Smart Jobs",crane:"briefcase"},{id:"match",label:"AI Match",crane:"target"}].map((e,t)=>(0,s.jsxs)(c.E.button,{className:"flex-1 flex items-center justify-center gap-2 py-2.5 px-3 rounded-xl text-sm font-medium transition-all duration-300 ".concat(n===t?"bg-[#FF4500] text-white shadow-lg shadow-[#FF4500]/10":v),onClick:()=>o(t),whileHover:{scale:1.02},whileTap:{scale:.98},children:[(0,s.jsx)("span",{className:"inline-flex items-center shrink-0",children:(0,s.jsx)(h.ZP,{variant:e.crane,size:28,density:"full",animated:!0})}),(0,s.jsx)("span",{className:"hidden sm:inline",children:e.label})]},e.id))}),(0,s.jsx)("div",{className:"flex-1 overflow-hidden",children:(0,s.jsxs)(l.M,{mode:"wait",children:[0===n&&(0,s.jsxs)(c.E.div,{initial:{opacity:0,x:-20}
1,animate:{opacity:1,x:0},exit:{opacity:0,x:20},className:"h-full flex flex-col",children:[(0,s.jsxs)("div",{className:"flex-1 rounded-2xl p-5 border mb-4 ".concat(m),children:[(0,s.jsxs)("div",{className:"flex items-start gap-4 mb-5",children:[(0,s.jsx)(c.E.div,{className:"w-14 h-14 rounded-xl ".concat(w," flex items-center justify-center text-[#FF4500] text-xl font-bold"),animate:{rotate:[0,3,-3,0]},transition:{duration:6,repeat:1/0},children:"JD"}),(0,s.jsxs)("div",{className:"flex-1",children:[(0,s.jsx)("h3",{className:"font-bold text-lg ".concat(p),children:"John Developer"}),(0,s.jsx)("p",{className:"text-sm ".concat(f),children:"Senior Software Engineer"}),(0,s.jsxs)("div",{className:"flex items-center gap-3 mt-2",children:[(0,s.jsx)("span",{className:"text-xs ".concat(y),children:"San Francisco"}),(0,s.jsx)("span",{className:"text-xs ".concat(y),children:"5+ Years"})]})]}),(0,s.jsx)(c.E.div,{className:"px-3 py-1 bg-[#FF4500]/10 border border-[#FF4500]/15 rounded-full",animate:{scale:[1,1.03,1]},transition:{duration:3,repeat:1/0},children:(0,s.jsx)("span",{className:"text-[#FF4500] text-xs font-semibold",children:"AI Optimized ✓"})})]}),(0,s.jsx)("div",{className:"space-y-2 mb-5",children:[95,88,80,72].map((e,t)=>(0,s.jsx)(c.E.div,{className:"h-2 rounded ".concat(N),style:{width:"".concat(e,"%")},initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:.1*t},children:(0,s.jsx)(c.E.div,{className:"h-full rounded bg-[#FF4500]/50",initial:{width:0},animate:{width:"100%"},transition:{duration:1,delay:.2+.1*t}})},t))}),(0,s.jsx)("div",{className:"flex flex-wrap gap-2",children:["React","Node.js","Python","AWS","AI/ML"].map((e,t)=>(0,s.jsx)(c.E.span,{initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},transition:{delay:.4+.05*t},className:"px-2.5 py-1 text-xs rounded-lg border ".concat(b),children:e},e))})]}),(0,s.jsx)("div",{className:"grid grid-cols-3 gap-3",children:[{label:"ATS Score",value:94,crane:"target",suffix:"%"},{label:"Keywords",value:28,crane:"search",suffix:""},{label:"Impact",value:"A+",crane:"rocket",suffix:""}].map((e,t)=>(0,s.jsxs)(c.E.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.6+.1*t},className:"text-center p-3 rounded-xl border ".concat(m),children:[(0,s.jsx)("div",{className:"flex justify-center mb-1",children:(0,s.jsx)(h.ZP,{variant:e.crane,size:34,density:"full",animated:!0})}),(0,s.jsxs)(c.E.div,{className:"text-xl font-bold ".concat(p),initial:{scale:0},animate:{scale:1},transition:{delay:.8+.1*t,type:"spring"},children:[e.value,e.suffix]}),(0,s.jsx)("div",{className:"text-[10px] ".concat(y),children:e.label})]},e.label))})]},"resume"),1===n&&(0,s.jsxs)(c.E.div,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},exit:{opacity:0,x:20},className:"h-full flex flex-col",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"font-semibold ".concat(p),children:"Top Matches"}),(0,s.jsx)("p",{className:"text-xs ".concat(y),children:"Based on your profile"})]}),(0,s.jsx)("div",{className:"px-3 py-1.5 rounded-full border ".concat(j),children:(0,s.jsx)("span",{className:"text-xs font-semibold ".concat(r?"text-[#D7DADC]":"text-[#576F76]"),children:"152 New Jobs"})})]}),(0,s.jsx)("div",{className:"flex-1 space-y-3 overflow-hidden",children:[{company:"Google",role:"Senior Software Engineer",match:94,logo:"G",salary:"$180K - $250K",location:"Mountain Vie
1w, CA"},{company:"Microsoft",role:"Full Stack Developer",match:91,logo:"M",salary:"$160K - $220K",location:"Seattle, WA"},{company:"Amazon",role:"Cloud Solutions Architect",match:88,logo:"A",salary:"$170K - $240K",location:"Remote"}].map((e,t)=>(0,s.jsx)(c.E.div,{initial:{opacity:0,x:-30},animate:{opacity:1,x:0},transition:{delay:.1*t},className:"p-4 rounded-xl border transition-all duration-300 ".concat(d===t?g:m),children:(0,s.jsxs)("div",{className:"flex items-start gap-3",children:[(0,s.jsx)("div",{className:"w-12 h-12 rounded-xl ".concat(w," flex items-center justify-center text-[#FF4500] font-bold text-lg border ").concat(r?"border-[#343536]":"border-[#EDEFF1]"),children:e.logo}),(0,s.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsx)("h4",{className:"font-semibold text-sm ".concat(p),children:e.role}),(0,s.jsxs)("div",{className:"px-2 py-0.5 rounded-full text-xs font-bold ".concat(e.match>=90?"bg-[#FF4500]/10 text-[#FF4500]":r?"bg-[#272729] text-[#818384]":"bg-white text-[#4F4F51]"),children:[e.match,"%"]})]}),(0,s.jsx)("p",{className:"text-sm ".concat(y),children:e.company}),(0,s.jsxs)("div",{className:"flex items-center gap-3 mt-2",children:[(0,s.jsx)("span",{className:"text-xs ".concat(f),children:e.salary}),(0,s.jsx)("span",{className:"text-xs ".concat(r?"text-[#4F4F51]":"text-[#818384]"),children:"•"}),(0,s.jsx)("span",{className:"text-xs ".concat(y),children:e.location})]})]})]})},e.company))}),(0,s.jsxs)(c.E.div,{initial:{opacity:0}
1,animate:{opacity:1},transition:{delay:.5},className:"mt-4 flex gap-3",children:[(0,s.jsx)("div",{className:"flex-1 text-center p-3 rounded-xl border ".concat(m),children:(0,s.jsx)("span",{className:"text-sm font-medium ".concat(r?"text-[#D7DADC]":"text-[#576F76]"),children:"Job Alerts"})}),(0,s.jsx)("div",{className:"flex-1 text-center p-3 rounded-xl border ".concat(m),children:(0,s.jsx)("span",{className:"text-sm font-medium ".concat(f),children:"Analytics"})})]})]},"jobs"),2===n&&(0,s.jsxs)(c.E.div,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},exit:{opacity:0,x:20},className:"h-full flex flex-col",children:[(0,s.jsxs)("div",{className:"flex-1 rounded-2xl p-5 border flex flex-col items-center justify-center text-center ".concat(m),children:[(0,s.jsxs)(c.E.div,{className:"relative mb-6",initial:{scale:0},animate:{scale:1},transition:{type:"spring",damping:15},children:[(0,s.jsxs)("svg",{className:"w-32 h-32",viewBox:"0 0 100 100",children:[(0,s.jsx)("circle",{cx:"50",cy:"50",r:"42",fill:"none",stroke:r?"#1e293b":"#e2e8f0",strokeWidth:"8"}),(0,s.jsx)(c.E.circle,{cx:"50",cy:"50",r:"42",fill:"none",stroke:"url(#matchGrad)",strokeWidth:"8",strokeLinecap:"round",strokeDasharray:"264",initial:{strokeDashoffset:264},animate:{strokeDashoffset:21.12},transition:{duration:1.5,delay:.3},style:{transform:"rotate(-90deg)",transformOrigin:"center"}}),(0,s.jsx)("defs",{children:(0,s.jsxs)("linearGradient",{id:"matchGrad",x1:"0%",y1:"0%",x2:"100%",y2:"0%",children:[(0,s.jsx)("stop",{offset:"0%",stopColor:"#fb7185"}),(0,s.jsx)("stop",{offset:"100%",stopColor:"#f43f5e"})]})})]}),(0,s.jsxs)("div",{className:"absolute inset-0 flex flex-col items-center justify-center",children:[(0,s.jsx)(c.E.span,{className:"text-3xl font-bold ".concat(p),initial:{opacity:0}
1,animate:{opacity:1},transition:{delay:.5},children:"92%"}),(0,s.jsx)("span",{className:"text-xs ".concat(y),children:"AI Match"})]})]}),(0,s.jsx)("h3",{className:"text-lg font-bold mb-2 ".concat(p),children:"Excellent Profile Match!"}),(0,s.jsx)("p",{className:"text-sm mb-6 ".concat(y),children:"Your resume is highly optimized for target roles"}),(0,s.jsx)("div",{className:"w-full space-y-3",children:[{label:"Skills Match",value:95},{label:"Experience Fit",value:88},{label:"Keywords",value:92}].map((e,t)=>(0,s.jsxs)(c.E.div,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:.6+.1*t},children:[(0,s.jsxs)("div",{className:"flex items-center justify-between mb-1",children:[(0,s.jsx)("span",{className:"text-xs font-medium ".concat(f),children:e.label}),(0,s.jsxs)("span",{className:"text-xs font-bold ".concat(p),children:[e.value,"%"]})]}),(0,s.jsx)("div",{className:"h-2 rounded-full overflow-hidden ".concat(N),children:(0,s.jsx)(c.E.div,{className:"h-full rounded-full bg-[#FF4500]/50",initial:{width:0},animate:{width:"".concat(e.value,"%")},transition:{duration:1,delay:.8+.1*t}})})]},e.label))})]}),(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-3 mt-4",children:[(0,s.jsxs)(c.E.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:1},className:"p-4 rounded-xl border text-center ".concat(m),children:[(0,s.jsx)("div",{className:"flex justify-center mb-1",children:(0,s.jsx)(h.ZP,{variant:"rocket",size:38,density:"full",animated:!0})}),(0,s.jsx)("div",{className:"text-sm font-semibold ".concat(p),children:"Quick Apply"}),(0,s.jsx)("div",{className:"text-[10px] ".concat(y),children:"1-Click Apply"})]}),(0,s.jsxs)(c.E.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:1.1},className:"p-4 rounded-xl border text-center ".concat(m),children:[(0,s.jsx)("div",{className:"flex justify-center mb-1",children:(0,s.jsx)(h.ZP,{variant:"chart",size:32,density:"full",animated:!0})}),(0,s.jsx)("div",{className:"text-sm font-semibold ".concat(p),children:"Track Progress"}),(0,s.jsx)("div",{className:"text-[10px] ".concat(y),children:"Applications"})]})]})]},"match")]})}),(0,s.jsx)(c.E.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.8},className:"mt-5 pt-4 border-t ".concat(r?"border-[#343536]/60":"border-[#EDEFF1]"),children:(0,s.jsx)("div",{className:"flex items-center justify-between",children:[{crane:"team",value:"50K+",label:"Users"},{crane:"profile",value:"100K+",label:"Resumes"},{crane:"trophy",value:"85%",label:"Success"},{crane:"love",value:"4.9",label:"Rating"}].map(e=>(0,s.jsxs)("div",{className:"text-center",children:[(0,s.jsx)("div",{className:"flex justify-center",children:(0,s.jsx)(h.ZP,{variant:e.crane,size:30,density:"full",animated:!0})}),(0,s.jsx)("div",{className:"text-sm font-bold ".concat(p),children:e.value}),(0,s.jsx)("div",{className:"text-[9px] ".concat(y),children:e.label})]},e.label))})}),(0,s.jsx)(l.M,{children:"complete"===t&&(0,s.jsx)(c.E.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.5},className:"absolute inset-0 flex items-center justify-center  z-50 ".concat(r?"bg-[#030303]/80":"bg-white"),children:(0,s.jsxs)(c.E.div,{initial:{scale:0,rotate:-180},animate:{scale:1,rotate:0},transition:{type:"spring",damping:12,stiffness:100},className:"text-center",children:[(0,s.jsx)(c.E.div,{className:"w-24 h-24 mx-auto mb-4 rounded-full bg-[#FF4500] flex items-center justify-center shadow-2xl shadow-[#FF4500]/15",initial:{scale:0},animate:{scale:[0,1.2,1]},transition:{duration:.6,delay:.3},children:(0,s.jsx)(c.E.svg,{className:"w-12 h-12 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,s.jsx)(c.E.path,{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:3,d:"M5 13l4 4L19 7",initial:{pathLength:0},animate:{pathLength:1},transition:{duration:.4,delay:.7}})})}),(0,s.jsx)(c.E.h3,{className:"text-2xl font-bold mb-2 ".concat(p),initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.9},children:"Welcome Back!"}),(0,s.jsx)(c.E.p,{className:f,initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{delay:1.1},children:"Launching your dashboard..."}),(0,s.jsx)(c.E.div,{className:"mt-4 flex justify-center gap-1",initial:{opacity:0}
1,animate:{opacity:1},transition:{delay:1.3},children:[0,1,2].map(e=>(0,s.jsx)(c.E.div,{className:"w-2 h-2 rounded-full bg-[#FF4500]",animate:{scale:[1,1.5,1],opacity:[.4,1,.4]},transition:{duration:.8,delay:.15*e,repeat:1/0}},e))})]})})})]})]})};function p(e){let{disabled:t=!1,callbackUrl:a="/create-resume",mode:r="login"}=e,{theme:n}=(0,u.F)(),[l,d]=(0,i.useState)(!1),x=(0,i.useRef)(!1),m=async()=>{if(!x.current&&!l){x.current=!0;try{d(!0),await (0,o.signIn)("google",{callbackUrl:a,redirect:!0})}catch(e){d(!1),x.current=!1}}};return(0,s.jsx)(c.E.button,{onClick:m,disabled:t||l,whileHover:{scale:1.02},whileTap:{scale:.98},className:"w-full py-2.5 px-3 rounded-lg text-xs sm:text-sm font-medium transition-all duration-200 flex items-center justify-center gap-2 disabled:opacity-50 disabled:cursor-not-allowed ".concat("dark"===n?"bg-white hover:bg-gray-50 text-gray-900 border border-gray-700 shadow-sm hover:border-gray-600":"bg-white hover:bg-gray-50 text-gray-900 border border-gray-200 shadow-sm hover:border-gray-300"),children:l?(0,s.jsx)("div",{className:"w-4 h-4 border-2 border-gray-300 border-t-gray-900 rounded-full animate-spin"}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"flex-shrink-0",children:(0,s.jsxs)("g",{transform:"matrix(1, 0, 0, 1, 27.009001, -39.238998)",children:[(0,s.jsx)("path",{fill:"#4285F4",d:"M -3.264 51.509 C -3.264 50.719 -3.334 49.969 -3.454 49.239 L -14.754 49.239 L -14.754 53.749 L -8.284 53.749 C -8.574 55.229 -9.424 56.479 -10.684 57.329 L -10.684 60.329 L -6.824 60.329 C -4.564 58.239 -3.264 55.159 -3.264 51.509 Z"}),(0,s.jsx)("path",{fill:"#34A853",d:"M -14.754 63.239 C -11.514 63.239 -8.804 62.159 -6.824 60.329 L -10.684 57.329 C -11.764 58.049 -13.134 58.489 -14.754 58.489 C -17.884 58.489 -20.534 56.379 -21.484 53.529 L -25.464 53.529 L -25.464 56.619 C -23.494 60.539 -19.444 63.239 -14.754 63.239 Z"}),(0,s.jsx)("path",{fill:"#FBBC05",d:"M -21.484 53.529 C -21.734 52.809 -21.864 52.039 -21.864 51.239 C -21.864 50.439 -21.724 49.669 -21.484 48.949 L -21.484 45.859 L -25.464 45.859 C -26.284 47.479 -26.754 49.299 -26.754 51.239 C -26.754 53.179 -26.284 54.999 -25.464 56.619 L -21.484 53.529 Z"}),(0,s.jsx)("path",{fill:"#EA4335",d:"M -14.754 43.989 C -12.984 43.989 -11.404 44.599 -10.154 45.789 L -6.734 42.369 C -8.804 40.429 -11.514 39.239 -14.754 39.239 C -19.444 39.239 -23.494 41.939 -25.464 45.859 L -21.484 48.949 C -20.534 46.099 -17.884 43.989 -14.754 43.989 Z"})]})}),(0,s.jsxs)("span",{className:"font-medium text-xs sm:text-sm truncate",children:[(0,s.jsx)("span",{className:"hidden sm:inline",children:"signup"===r?"Sign up with Google":"Sign in with Google"}),(0,s.jsx)("span",{className:"sm:hidden",children:"Google"})]})]})})}function f(e){let{disabled:t=!1,callbackUrl:a="/create-resume",mode:r="login"}=e,{theme:n}=(0,u.F)(),[l,d]=(0,i.useState)(!1),x=(0,i.useRef)(!1),m=async()=>{if(!x.current&&!l){x.current=!0;try{d(!0),await (0,o.signIn)("linkedin",{callbackUrl:a,redirect:!0})}catch(e){d(!1),x.current=!1}}};return(0,s.jsx)(c.E.button,{onClick:m,disabled:t||l,whileHover:{scale:1.02},whileTap:{scale:.98},className:"w-full py-2.5 px-3 rounded-lg text-xs sm:text-sm font-medium transition-all duration-200 flex items-center justify-center gap-2 disabled:opacity-50 disabled:cursor-not-allowed ".concat("bg-[#0A66C2] hover:bg-[#004182] text-white shadow-sm"),children:l?(0,s.jsx)("div",{className:"w-4 h-4 border-2 border-[#EDEFF1] border-t-white rounded-full animate-spin"}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"flex-shrink-0 fill-white",children:(0,s.jsx)("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})}),(0,s.jsxs)("span",{className:"font-medium text-xs sm:text-sm truncate",children:[(0,s.jsx)("span",{className:"hidden sm:inline",children:"signup"===r?"Sign up with LinkedIn":"Sign in with LinkedIn"}),(0,s.jsx)("span",{className:"sm:hidden",children:"LinkedIn"})]})]})})}
1var y=a(39793),b=a(86501),j=a(42949),v=a(48722),w=a(43765),N=a(86691),k=a(60493),F=a(82126),E=a(43832),C=a(15928),S=a(73416),A=a(83989),D=!0;function Z(e){let{providers:t}=e,a=(0,d.useRouter)(),{data:r,status:D}=(0,o.useSession)(),{theme:Z}=(0,u.F)(),[z,L]=(0,i.useState)(!1),[M,T]=(0,i.useState)("login"),[B,q]=(0,i.useState)(null),[R,_]=(0,i.useState)(""),[O,U]=(0,i.useState)(""),[W,K]=(0,i.useState)(!1),[G,V]=(0,i.useState)(""),[J,H]=(0,i.useState)(!1),[Y,$]=(0,i.useState)(!1),[X,Q]=(0,i.useState)(!1),[ee,et]=(0,i.useState)(0),[ea,es]=(0,i.useState)(""),[ei,er]=(0,i.useState)(!1),[en,el]=(0,i.useState)(""),[ec,eo]=(0,i.useState)(!1),[ed,ex]=(0,i.useState)("USA"),[em,eu]=(0,i.useState)(""),[eh,eg]=(0,i.useState)(""),[ep,ef]=(0,i.useState)(""),[ey,eb]=(0,i.useState)(""),ej=(0,i.useId)().replace(/:/g,""),ev="login-email-".concat(ej),ew="".concat(ev,"-err"),eN="login-pw-".concat(ej),ek="".concat(eN,"-err"),eF="login-otp-".concat(ej),eE="".concat(eF,"-err"),eC=a.query.callbackUrl,eS=Array.isArray(eC)?eC[0]:eC||"/create-resume",eA=(0,i.useMemo)(()=>J&&(X||"login"===M)?"complete":O.length>=8||"login"===M&&O.length>0?"password":R.includes("@")&&R.includes(".")?"email":"idle",[R,O,J,X,M]),eD="signup"===M&&!Y&&!X,eZ=(0,i.useMemo)(()=>"dark"===Z?{heading:"text-white",muted:"text-[#D7DADC]/80",progressTrack:"bg-[#343536]",heroGlow:220}:{heading:"text-[#1C1C1C]",muted:"text-[#576F76]",progressTrack:"bg-[#EDEFF1]",heroGlow:220},[Z]);if((0,i.useEffect)(()=>{var e,t;let s=(null===(e=a.query)||void 0===e?void 0:e.ref)||(null===(t=a.query)||void 0===t?void 0:t.referral)||null;s&&q(s)},[a.query]),(0,i.useEffect)(()=>{L(!0);try{let e=Intl.DateTimeFormat().resolvedOptions().timeZone;eu(e),e.startsWith("Asia/Kolkata")||e.startsWith("Asia/Calcutta")?ex("India"):e.startsWith("Europe/London")||e.startsWith("Europe/Belfast")?ex("UK"):ex("USA")}catch(e){eu("UTC"),ex("USA")}},[]),(0,i.useEffect)(()=>{if("undefined"==typeof document||!eD)return;let e=document.documentElement,t=document.body,a=e.style.overflow,s=t.style.overflow;return e.style.overflow="hidden",t.style.overflow="hidden",()=>{e.style.overflow=a,t.style.overflow=s}},[eD]),(0,i.useEffect)(()=>{try{let e="device_id";if(!document.cookie.split(";").map(e=>e.trim()).find(t=>t.startsWith(e+"="))){let t=crypto.randomUUID?crypto.randomUUID():Math.random().toString(36).slice(2)+Date.now().toString(36),a=new Date;a.setFullYear(a.getFullYear()+5);let s=window.location.hostname,i="trueresume.ai"===s||s.endsWith(".trueresume.ai")?"; domain=.trueresume.ai":"";document.cookie="".concat(e,"=").concat(t,"; path=/; expires=").concat(a.toUTCString(),"; SameSite=Lax").concat(i)}}catch(e){console.warn("Failed to set device_id cookie",e)}},[z]),(0,i.useEffect)(()=>{if(z){if("authenticated"===D){a.replace(eS);return}if("unauthenticated"===D){if((0,v.vt)())return;(async()=>{!(0,v.vt)()&&await (0,o.getSession)()&&a.replace(eS)})()}}},[z,D,a,eS]),(0,i.useEffect)(()=>{ec&&"authenticated"===D&&a.replace(eS)},[ec,D,a,eS]),(0,i.useEffect)(()=>{if(!(null==a?void 0:a.query))return;let e=a.query.error,t=a.query.message;if(e)try{let s=()=>{let{error:e,message:t,...s}=a.query;a.replace({pathname:a.pathname,query:s},void 0,{shallow:!0})};if("OAuthCookieExpired"===e){b.default.error(t||"Your sign-in session expired. Please try again.",{duration:5e3,icon:(0,j.q)("wave")}),s();return}if("AccountLocked"===e){es(t||"Your account has been locked for security. Please contact [email protected] to unlock it."),s();return}if("SignInError"===e){b.default.error(t||"Sign-in failed. Please try again.",{duration:5e3,icon:(0,j.q)("warn")}),s();return}if("OAuthSignin"===e||"OAuthCallback"===e||"OAuthCreateAccount"===e){b.default.error("Sign-in failed. Please try again.",{duration:5e3,icon:(0,j.q)("warn")}),s();return}if("Callback"===e){b.default.error("Authentication callback failed. Please try again.",{duration:5e3,icon:(0,j.q)("warn")}),s();return}if(e.includes("::")){let t=e.split("::"),a=t[0]||"",s=t[1]||"",i=t.slice(2).join("::")||e;/lock/i.test(a)||/lock/i.test(s)||/lock/i.test(i)?es("Account locked due to suspicious activity. Please contact [email protected] to request an unlock."):"WARN"===a&&"confirm_add_device"===s?(el(i),er(!0)):es(i)}else/lock/i.test(e)?es("Account locked due to suspicious activity. Please contact [email protected] to request an unlock."):(b.default.error(t||"Something went wrong. Please try again.",{duration:5e3}),s())}catch(e){}},[null==a?void 0:a.query]),(0,i.useEffect)(()=>{let e;return ee>0&&(e=setTimeout(()=>et(ee-1),1e3)),()=>clearTimeout(e)},[ee]),!z)return(0,s.jsx)(m.Z,{message:"Loading...",fullScreen:!0});let eP=e=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e.trim()),eI=async()=>{eg(""),ef("");let e=R.trim();if(!e){eg("Please enter your email");return}if(!eP(e)){eg("Please enter a valid email address");return}if(!Y&&O.length<8){ef("Password must be at least 8 characters");return}H(!0),es("");try{let t=await fetch("/api/auth/send-otp",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:e})}),a=await t.json();if(!t.ok){503===t.status?b.default.error("Email service temporarily unavailable. Please try again later."):409===t.status?b.default.error("An account with this email already exists. Please sign in."):b.default.error(a.error||"Failed to send code");return}a.success?($(!0),et(60),b.default.success("Verification code sent! Check your email.",{icon:(0,j.q)("check")})):b.default.error(a.error||"Failed to send code")}catch(e){b.default.error("Connection failed. Please try again.")}finally{H(!1)}},ez=async()=>
1{if(eb(""),!G.trim()){eb("Enter the verification code from your email");return}if(6!==G.length){eb("Code must be 6 digits");return}H(!0),es("");try{let e=await fetch("/api/auth/verify-otp",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:R.trim(),otp:G})}),t=await e.json();t.success?"signup"===M?(b.default.success("Email verified! Creating account...",{icon:(0,j.q)("check")}),Q(!0),await eL()):(b.default.success("Email verified!",{icon:(0,j.q)("check")}),Q(!0)):eb(t.error||"Invalid code. Try again or resend.")}catch(e){eb("Verification failed. Please try again.")}finally{H(!1)}},eL=async()=>{if(ef(""),!O||O.length<8){ef("Password must be at least 8 characters");return}H(!0);try{let e=await fetch("/api/auth/signup",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:R,password:O,referralCode:B,country:ed,timeZone:em})}),t=await e.json();if(409===e.status){b.default.error(t.error||"Account already exists. Please sign in instead.");return}if(e.ok){b.default.success("Account created! Signing in...",{icon:(0,j.q)("trophy")});let e=await (0,o.signIn)("credentials",{email:R,password:O,redirect:!1,callbackUrl:eS});if(null==e?void 0:e.ok){B&&fetch("/api/referral/register-use",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({referralCode:B})}).catch(()=>{}),eo(!0);return}eT(null==e?void 0:e.error)}else b.default.error(t.error||"Signup failed")}catch(e){b.default.error("Something went wrong. Please try again.")}finally{ec||H(!1)}},eM=async()=>{eg(""),ef("");let e=R.trim();if(!e){eg("Please enter your email");return}if(!eP(e)){eg("Please enter a valid email address");return}if(!O){ef("Please enter your password");return}H(!0);try{let t=await (0,o.signIn)("credentials",{email:e,password:O,redirect:!1,callbackUrl:eS});if(null==t?void 0:t.ok){eo(!0),b.default.success("Welcome back!",{icon:(0,j.q)("wave")});return}eT(null==t?void 0:t.error)}catch(e){b.default.error("Something went wrong. Please try again.")}finally{ec||H(!1)}},eT=e=>{let t=e?String(e):"Invalid email or password";if(t.includes("::")){let e=t.split("::"),a=e[0]||"",s=e[1]||"",i=e.slice(2).join("::")||t;"WARN"===a&&"confirm_add_device"===s?(el(i),er(!0)):/lock/i.test(a)||/lock/i.test(s)||/lock/i.test(i)?es(i):b.default.error(i)}else/lock/i.test(t)?es(t):b.default.error(t);"signup"===M&&(T("login"),$(!1),Q(!1),U(""))},eB=async()=>{H(!0);try{let e=await (0,o.signIn)("credentials",{email:R,password:O,redirect:!1,callbackUrl:eS,confirmAddDevice:"true"});if(null==e?void 0:e.ok)a.replace(eS);else if(null==e?void 0:e.error){let t=String(e.error);/lock/i.test(t)?es("Account locked. Please contact [email protected]"):b.default.error(t)}}catch(e){b.default.error("Something went wrong.")}finally{er(!1),H(!1)}},eq=()=>{$(!1),Q(!1),V(""),es("")};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(n(),{children:[(0,s.jsx)("title",{children:"Login - TrueResume | AI-Powered Resume Builder"}),(0,s.jsx)("meta",{name:"description",content:"Login to TrueResume to create AI-powered professional resumes."}),(0,s.jsx)("meta",{name:"robots",content:"noindex, nofollow"})]}),(0,s.jsx)(x.Z,{}),(0,s.jsx)(l.M,{mode:"wait",children:ec&&(0,s.jsxs)(c.E.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.3},style:{position:"fixed",top:0,left:0,right:0,bottom:0,zIndex:99999,display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"auto",overflow:"hidden"},className:"dark"===Z?"bg-gradient-to-br from-[#1A1A1B]/90 via-[#1A1A1B]/85 to-[#0a0a0a]/95":"bg-gradient-to-br from-white/90 via-gray-50/85 to-white/95",children:[[...Array(12)].map((e,t)=>(0,s.jsx)(c.E.div,{className:"absolute w-1 h-1 rounded-full bg-[#FF4500]/40",style:{left:"".concat(10+7*t%80,"%"),top:"".concat(5+11*t%85,"%")},animate:{opacity:[0,1,0],scale:[0,1.5,0],y:[0,-20,-40]},transition:{duration:2+t%3,repeat:1/0,delay:.3*t}},"sparkle-".concat(t))),(0,s.jsxs)(c.E.div,{initial:{scale:.5,opacity:0},animate:{scale:1,opacity:1},transition:{type:"spring",damping:15,stiffness:80,delay:.2},className:"text-center relative z-[100000] px-4 max-w-lg",children:[(0,s.jsxs)(c.E.div,{initial:{scale:0,rotate:-30},animate:{scale:1,rotate:0},transition:{delay:.3,type:"spring",damping:14,stiffness:88},className:"relative mx-auto mb-6 flex min-h-[148px] flex-col items-center justify-center",children:[(0,s.jsx)(c.E.div,{className:"pointer-events-none absolute left-1/2 top-1/2 rounded-full -translate-x-1/2 -translate-y-1/2",style:{width:eZ.heroGlow,height:eZ.heroGlow,background:"radial-gradient(circle, rgba(255,69,0,0.28) 0%, transparent 70%)"},animate:{scale:[1,1.15,1],opacity:[.45,.75,.45]},transition:{duration:2.2,repeat:1/0,ease:"easeInOut"}}),(0,s.jsx)("div",{className:"relative z-[1] flex justify-center",children:(0,s.jsx)(y.zn,{size:120})})]}),(0,s.jsx)(c.E.h2,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.6,duration:.4},className:"text-3xl sm:text-5xl font-bold mb-2 ".concat(eZ.heading),style:{fontFamily:"Rajdhani, sans-serif"},children:"signup"===M?"Account Created!":"Welcome Back!"}),(0,s.jsx)(c.E.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.8,duration:.3},className:"text-[#FF4500] text-lg sm:text-xl font-semibold mb-1",style:{fontFamily:"Rajdhani, sans-serif"},children:"signup"===M?"Your career journey starts now!":"Great to see you again!"}),(0,s.jsx)(c.E.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:1,duration:.3},className:"text-sm sm:text-base ".concat(eZ.muted),children:"Landing to TrueResume Universe..."}),(0,s.jsx)(c.E.div,{initial:{opacity:0}
1,animate:{opacity:1},transition:{delay:1.2},className:"mt-6 mx-auto max-w-[200px]",children:(0,s.jsx)("div",{className:"h-1.5 rounded-full overflow-hidden ".concat(eZ.progressTrack),children:(0,s.jsx)(c.E.div,{className:"h-full rounded-full bg-gradient-to-r from-[#FF4500] via-[#FFD700] to-[#FF4500]",initial:{width:"0%"},animate:{width:"100%"},transition:{delay:1.3,duration:2.5,ease:"easeInOut"}})})}),(0,s.jsx)(c.E.div,{initial:{opacity:0},animate:{opacity:1},transition:{delay:1.4},className:"flex justify-center items-end gap-3 mt-4",children:[{variant:"briefcase"},{variant:"sparkle"},{variant:"rocket"}].map((e,t)=>{let{variant:a}=e;return(0,s.jsx)(c.E.span,{className:"inline-flex",animate:{y:[0,-8,0]},transition:{duration:.7,repeat:1/0,delay:.2*t},children:(0,s.jsx)(h.ZP,{variant:a,size:36,density:"full",animated:!0})},a)})})]}),(0,s.jsx)(c.E.div,{initial:{opacity:0,x:-50},animate:{opacity:1,x:0},transition:{delay:.8,duration:.5},className:"hidden sm:block absolute left-6 sm:left-12 top-1/2 -translate-y-1/2 z-[100000]",children:(0,s.jsx)(y.lZ,{size:84})}),(0,s.jsx)(c.E.div,{initial:{opacity:0,x:50},animate:{opacity:1,x:0},transition:{delay:1,duration:.5},className:"hidden sm:block absolute right-6 sm:right-12 top-1/2 -translate-y-1/2 z-[100000]",children:(0,s.jsx)(y.b_,{size:84})}),(0,s.jsx)(c.E.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{delay:1.2,duration:.8},className:"absolute bottom-8 sm:bottom-16 left-1/2 -translate-x-1/2 z-[100000]",children:(0,s.jsx)(y.Cn,{size:72})})]})}),(0,s.jsxs)("div",{className:"flex flex-col lg:flex-row pt-14 sm:pt-16 ".concat(eD?"h-dvh max-h-dvh overflow-hidden":"max-lg:h-dvh max-lg:overflow-hidden lg:min-h-screen"),children:[!ec&&(0,s.jsx)("div",{className:"hidden lg:block lg:w-1/2 xl:w-[55%] lg:fixed lg:left-0 lg:top-14 sm:lg:top-16 lg:h-[calc(100vh-3.5rem)] sm:lg:h-[calc(100vh-4rem)] overflow-hidden",children:(0,s.jsx)(g,{stage:eA})}),(0,s.jsx)("div",{className:"w-full lg:w-1/2 xl:w-[45%] lg:ml-[50%] xl:ml-[55%] flex min-h-0 items-center justify-center transition-colors duration-300 px-3 sm:px-6 md:px-8 ".concat(eD?"h-[calc(100dvh-3.5rem)] max-h-[calc(100dvh-3.5rem)] overflow-hidden py-1.5 sm:py-2":"max-lg:h-[calc(100dvh-3.5rem)] max-lg:max-h-[calc(100dvh-3.5rem)] max-lg:overflow-hidden max-lg:py-2 sm:max-lg:py-3 lg:min-h-[calc(100vh-4rem)] lg:py-6 xl:py-8"," ").concat("dark"===Z?"bg-[#030303]":"bg-white "),children:(0,s.jsx)("div",{className:"w-full max-w-[340px] sm:max-w-sm md:max-w-md lg:max-w-sm xl:max-w-md",children:(0,s.jsxs)(c.E.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},children:[(0,s.jsxs)("div",{className:"text-center ".concat(eD?"mb-2 max-lg:mb-1.5":"mb-3 sm:mb-4"),children:[(0,s.jsx)("div",{className:"flex justify-center ".concat(eD?"hidden":"mb-3"),children:(0,s.jsx)(y.ZJ,{size:48})}),(0,s.jsx)("h1",{className:"font-bold mb-0.5 ".concat(eD?"text-base sm:text-lg":"text-lg sm:text-xl"," ").concat("dark"===Z?"text-white":"text-[#FF4500]"),style:{fontFamily:"Rajdhani, sans-serif"},children:"signup"===M?"Create Account":"Welcome Back"}),(0,s.jsx)("p",{className:"text-xs sm:text-sm ".concat(eD?"hidden":""," ").concat("dark"===Z?"text-[#818384]":"text-gray-600"),children:"signup"===M?"Start your career journey today":"Continue building your perfect resume"})]}),(0,s.jsx)(l.M,{children:ea&&(0,s.jsxs)(c.E.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},className:"mb-3 sm:mb-4 p-2.5 sm:p-3 rounded-lg text-[11px] sm:text-xs flex items-start space-x-2 ".concat(ea.includes("successfully")?"dark"===Z?"bg-green-500/10 border border-green-500/20 text-green-400":"bg-green-50 border border-green-200 text-green-700":"dark"===Z?"bg-red-500/10 border border-red-500/20 text-red-400":"bg-red-50 border border-red-200 text-red-700"),children:[(0,s.jsx)(w.Z,{className:"w-4 h-4 flex-shrink-0 mt-0.5"}),(0,s.jsx)("span",{children:ea})]})}),(0,s.jsxs)("div",{className:"flex rounded-xl p-1 gap-1 ".concat(eD?"mb-2.5 max-lg:mb-2":"mb-4 sm:mb-5"," ").concat("dark"===Z?"bg-[#272729]":"bg-gray-100"),children:[(0,s.jsx)("button",{onClick:()=>{T("login"),eq()},className:"flex-1 py-2 px-3 rounded-lg font-semibold text-xs sm:text-sm transition-all duration-200 ".concat("login"===M?"bg-[#FF4500] text-white shadow-lg":"dark"===Z?"text-[#818384] hover:text-[#D7DADC]":"text-gray-600 hover:text-gray-800"),children:"Sign In"}),(0,s.jsx)("button",{onClick:()=>{T("signup"),eq()},className:"flex-1 py-2 px-3 rounded-lg font-semibold text-xs sm:text-sm transition-all duration-200 ".concat("signup"===M?"bg-[#FF4500] text-white shadow-lg":"dark"===Z?"text-[#818384] hover:text-[#D7DADC]":"text-gray-600 hover:text-gray-800"),children:"Sign Up"})]}),!Y&&!X&&(0,s.jsxs)(c.E.div,{initial:{opacity:0,y:10}
1,animate:{opacity:1,y:0},className:"space-y-2 ".concat(eD?"mb-2 space-y-1.5 [&_button]:!py-2":"mb-4 sm:mb-5"),children:[(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-2",children:[(0,s.jsx)(p,{callbackUrl:eS,mode:M,disabled:J}),(0,s.jsx)(f,{callbackUrl:eS,mode:M,disabled:J})]}),(0,s.jsxs)("div",{className:"relative flex items-center",children:[(0,s.jsx)("div",{className:"flex-grow border-t ".concat("dark"===Z?"border-[#343536]":"border-gray-200")}),(0,s.jsxs)("span",{className:"flex-shrink mx-3 text-xs font-medium ".concat("dark"===Z?"text-[#818384]":"text-gray-500"),children:[(0,s.jsx)("span",{className:"sm:hidden",children:"or email"}),(0,s.jsx)("span",{className:"hidden sm:inline",children:"or continue with email"})]}),(0,s.jsx)("div",{className:"flex-grow border-t ".concat("dark"===Z?"border-[#343536]":"border-gray-200")})]})]}),"signup"===M&&(0,s.jsxs)(s.Fragment,{children:[!Y&&!eD&&(0,s.jsx)("p",{className:"text-[10px] text-center mb-2 ".concat("dark"===Z?"text-[#818384]":"text-gray-500"),children:"Step 1 of 3 — Account details"}),Y&&(0,s.jsxs)("div",{className:"flex items-center justify-between mb-3 px-0.5 ".concat("dark"===Z?"text-[#818384]":"text-gray-600"),children:[(0,s.jsx)(P,{number:1,label:"Details",active:!1,completed:Y,theme:Z}),(0,s.jsx)(I,{active:Y,theme:Z}),(0,s.jsx)(P,{number:2,label:"Verify",active:Y&&!X,completed:X,theme:Z}),(0,s.jsx)(I,{active:X,theme:Z}),(0,s.jsx)(P,{number:3,label:"Done",active:X,completed:!1,theme:Z})]})]}),(0,s.jsxs)("div",{className:eD?"space-y-2 max-lg:space-y-1.5":"space-y-3",children:[(0,s.jsxs)("div",{className:eD?"space-y-1 max-lg:space-y-0.5":"space-y-1.5",children:[(0,s.jsx)("label",{htmlFor:ev,className:"text-xs font-medium ".concat("dark"===Z?"text-[#D7DADC]":"text-gray-700"),children:"Email Address"}),(0,s.jsxs)("div",{className:"relative group",children:[(0,s.jsx)("input",{id:ev,type:"email",autoComplete:"email","aria-invalid":!!eh||void 0,"aria-describedby":eh?ew:void 0,value:R,onChange:e=>{_(e.target.value),eh&&eg("")},placeholder:"[email protected]",disabled:Y||X,className:"w-full border rounded-lg px-3 pl-9 pr-9 text-sm transition-all duration-200 ".concat(eD?"py-2 max-lg:py-1.5":"py-2.5"," ").concat(eh?"dark"===Z?"bg-[#272729] border-red-500 focus:border-red-500 ring-2 ring-red-500/20 text-white placeholder-[#818384] disabled:opacity-50":"bg-white border-red-600 focus:border-red-600 ring-2 ring-red-600/15 text-gray-900 placeholder-gray-400 disabled:opacity-50":"dark"===Z?"bg-[#272729] border-[#343536] hover:border-[#343536] focus:border-[#FF4500] text-white placeholder-[#818384] disabled:opacity-50":"bg-white border-gray-200 hover:border-gray-300 focus:border-[#FF4500] text-gray-900 placeholder-gray-400 disabled:opacity-50"," focus:outline-none focus:ring-2 focus:ring-[#FF4500]/15"),onKeyPress:e=>{"Enter"!==e.key||(e.preventDefault(),"login"===M?eM():Y||eI())}}),(0,s.jsx)("div",{className:"absolute left-2.5 top-0 bottom-0 flex items-center",children:(0,s.jsx)(N.Z,{className:"w-3.5 h-3.5 transition-colors ".concat(R?"text-[#FF4500]":"dark"===Z?"text-[#818384]":"text-gray-400")})}),R.includes("@")&&R.includes(".")&&(0,s.jsx)(c.E.div,{initial:{scale:0},animate:{scale:1},className:"absolute right-2.5 top-0 bottom-0 flex items-center",children:(0,s.jsx)(k.Z,{className:"w-3.5 h-3.5 text-green-500"})})]}),eh&&(0,s.jsx)("p",{id:ew,role:"alert",className:"text-xs font-medium ".concat("dark"===Z?"text-red-400":"text-red-600"),children:eh})]}),"signup"===M&&!Y&&(0,s.jsxs)("div",{className:eD?"space-y-1 max-lg:space-y-0.5":"space-y-2",children:[(0,s.jsx)("label",{className:"text-xs font-medium ".concat("dark"===Z?"text-[#D7DADC]":"text-gray-700"),children:"Region"}),(0,s.jsx)("div",{className:"flex gap-1.5 sm:gap-2",children:[{id:"USA",label:"USA",flag:"us",activeBorder:"border-[#FF4500]",activeBg:"dark"===Z?"bg-[#FF4500]/10":"bg-[#FFF5F2]",activeText:"dark"===Z?"text-[#FFA366]":"text-[#FF4500]",checkBg:"bg-[#FF4500]"},{id:"India",label:"India",flag:"in",activeBorder:"border-emerald-500",activeBg:"dark"===Z?"bg-emerald-500/10":"bg-emerald-50",activeText:"dark"===Z?"text-emerald-300":"text-emerald-600",checkBg:"bg-emerald-500"},{id:"UK",label:"UK",flag:"gb",activeBorder:"border-blue-500",activeBg:"dark"===Z?"bg-blue-500/10":"bg-blue-50",activeText:"dark"===Z?"text-blue-300":"text-blue-600",checkBg:"bg-blue-500"}].map(e=>{let t=ed===e.id;return(0,s.jsxs)("button",{type:"button",onClick:()=>ex(e.id),className:"relative flex-1 flex items-center justify-center gap-1 sm:gap-1.5 rounded-lg border transition-all duration-200 ".concat(eD?"py-1.5 px-1.5":"py-2 px-2"," ").concat(t?"".concat(e.activeBorder," ").concat(e.activeBg," shadow-sm"):"dark"===Z?"border-[#343536] bg-[#272729] hover:border-[#4a4a4c]":"border-gray-200 bg-white hover:border-gray-300"),children:[(0,s.jsx)("img",{src:"https://flagcdn.com/w40/".concat(e.flag,".png"),alt:"".concat(e.label," flag"),className:"w-5 h-3.5 object-cover rounded-[3px] ring-1 ring-black/10 shrink-0"}),(0,s.jsx)("span",{className:"text-[11px] font-medium leading-none ".concat(t?e.activeText:"dark"===Z?"text-[#818384]":"text-gray-600"),children:e.label}),t&&(0,s.jsx)("span",{className:"absolute -top-1 -right-1 flex h-3.5 w-3.5 items-center justify-center rounded-full text-white shadow-sm ".concat(e.checkBg),children:(0,s.jsx)(k.Z,{className:"h-2 w-2",strokeWidth:3})})]},e.id)})}),(0,s.jsx)("p",{className:"text-[10px] text-center ".concat(eD?"hidden":"max-lg:hidden"," ").concat("dark"===Z?"text-[#818384]":"text-gray-500"),children:"We'll show you relevant jobs from your region"})]}),("login"===M||"signup"===M&&!Y)&&(0,s.jsxs)("div",{className:eD?"space-y-1 max-lg:space-y-0.5":"space-y-1.5",children:[(0,s.jsx)("label",{htmlFor:eN,className:"text-xs font-medium ".concat("dark"===Z?"text-[#D7DADC]":"text-gray-700"),children:"signup"===M?"Create Password":"Password"}),(0,s.jsxs)("div",{className:"relative group",children:[(0,s.jsx)("input",{id:eN,type:W?"text":"password",autoComplete:"signup"===M?"new-password":"current-password","aria-invalid":!!ep||void 0,"aria-describedby":ep?ek:void 0,value:O,onChange:e=>{U(e.target.value),ep&&ef("")},placeholder:"signup"===M?"Min. 8 characters":"Enter your password",className:"w-full border rounded-lg px-3 pl-9 pr-9 text-sm transition-all duration-200 ".concat(eD?"py-2 max-lg:py-1.5":"py-2.5"," ").concat(ep?"dark"===Z?"bg-[#272729] border-red-500 focus:border-red-500 ring-2 ring-red-500/20 text-white placeholder-[#818384]":"bg-white border-red-600 focus:border-red-600 ring-2 ring-red-600/15 text-gray-900 placeholder-gray-400":"dark"===Z?"bg-[#272729] border-[#343536] hover:border-[#343536] focus:border-[#FF4500] text-white placeholder-[#818384]":"bg-white border-gray-200 hover:border-gray-300 focus:border-[#FF4500] text-gray-900 placeholder-gray-400"," focus:outline-none focus:ring-2 focus:ring-[#FF4500]/15"),onKeyPress:e=>{"Enter"!==e.key||(e.preventDefault(),"login"===M?eM():Y||eI())}}),(0,s.jsx)("div",{className:"absolute left-2.5 top-0 bottom-0 flex items-center",children:(0,s.jsx)(F.Z,{className:"w-3.5 h-3.5 transition-colors ".concat(O?"text-[#FF4500]":"dark"===Z?"text-[#818384]":"text-gray-400")})}),(0,s.jsx)("button",{type:"button",onClick:()=>K(!W),className:"absolute right-2.5 top-0 bottom-0 flex items-center transition-colors ".concat("dark"===Z?"text-[#818384] hover:text-[#D7DADC]":"text-gray-400 hover:text-gray-600"),children:W?(0,s.jsx)(E.Z,{className:"w-3.5 h-3.5"}):(0,s.jsx)(C.Z,{className:"w-3.5 h-3.5"})})]}),"signup"===M&&O&&(0,s.jsxs)(c.E.div,{initial:{opacity:0,height:0}
1,animate:{opacity:1,height:"auto"},className:"hidden sm:flex items-center space-x-2 text-xs ".concat(O.length>=8?"text-green-500":"dark"===Z?"text-[#818384]":"text-gray-500"),children:[O.length>=8?(0,s.jsx)(k.Z,{className:"w-3 h-3"}):(0,s.jsx)(w.Z,{className:"w-3 h-3"}),(0,s.jsx)("span",{children:O.length>=8?"Strong password":"".concat(8-O.length," more characters needed")})]}),ep&&(0,s.jsx)("p",{id:ek,role:"alert",className:"text-xs font-medium ".concat("dark"===Z?"text-red-400":"text-red-600"),children:ep})]}),"signup"===M&&Y&&!X&&(0,s.jsxs)(c.E.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},className:"space-y-2",children:[(0,s.jsx)("label",{htmlFor:eF,className:"text-xs font-medium ".concat("dark"===Z?"text-[#D7DADC]":"text-gray-700"),children:"Verification Code"}),(0,s.jsx)("input",{id:eF,type:"text",inputMode:"numeric",autoComplete:"one-time-code","aria-invalid":!!ey||void 0,"aria-describedby":ey?eE:void 0,value:G,onChange:e=>{V(e.target.value.replace(/\D/g,"").slice(0,6)),ey&&eb("")},placeholder:"Enter 6-digit code",className:"w-full border rounded-lg px-3 py-2.5 text-center text-base sm:text-lg tracking-[0.35em] font-mono transition-all duration-200 ".concat(ey?"dark"===Z?"bg-[#272729] border-red-500 focus:border-red-500 ring-2 ring-red-500/20 text-white placeholder-[#818384]":"bg-white border-red-600 focus:border-red-600 ring-2 ring-red-600/15 text-gray-900 placeholder-gray-400":"dark"===Z?"bg-[#272729] border-[#343536] hover:border-[#343536] focus:border-green-500 text-white placeholder-[#818384]":"bg-white border-gray-200 hover:border-gray-300 focus:border-green-500 text-gray-900 placeholder-gray-400"," focus:outline-none focus:ring-2 focus:ring-green-500/20"),onKeyPress:e=>{"Enter"===e.key&&6===G.length&&(e.preventDefault(),ez())}}),(0,s.jsxs)("div",{className:"flex justify-between items-center text-sm",children:[(0,s.jsx)("button",{onClick:()=>{$(!1),V(""),eb(""),et(0)},className:"transition-colors ".concat("dark"===Z?"text-[#FF4500] hover:text-[#FFA366]":"text-[#FF4500] hover:text-[#CC3700]"),children:"Change Email"}),ee>0?(0,s.jsxs)("span",{className:"dark"===Z?"text-[#818384]":"text-gray-500",children:["Resend in ",ee,"s"]}):(0,s.jsx)("button",{onClick:eI,disabled:J,className:"transition-colors disabled:opacity-50 ".concat("dark"===Z?"text-[#FF4500] hover:text-[#FFA366]":"text-[#FF4500] hover:text-[#CC3700]"),children:"Resend Code"})]}),ey&&(0,s.jsx)("p",{id:eE,role:"alert",className:"text-xs font-medium text-center ".concat("dark"===Z?"text-red-400":"text-red-600"),children:ey})]}),(0,s.jsx)(c.E.button,{onClick:()=>{"login"===M?eM():Y?X?eL():ez():eI()},disabled:J,whileHover:{scale:1.02},whileTap:{scale:.98},className:"w-full py-2.5 px-4 rounded-lg text-sm font-semibold text-white shadow-md transition-all duration-200 flex items-center justify-center gap-2 disabled:opacity-50 disabled:cursor-not-allowed ".concat(eD?"!py-2":""," ").concat("signup"===M&&Y?"bg-emerald-600 hover:bg-emerald-700":"bg-[#FF4500] hover:bg-[#E03D00]"),children:J?(0,s.jsx)("div",{className:"w-4 h-4 border-2 border-[#EDEFF1] border-t-white rounded-full animate-spin"}):(0,s.jsx)(s.Fragment,{children:"login"===M?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(S.Z,{className:"w-4 h-4"}),(0,s.jsx)("span",{children:"Sign In"})]}):Y?X?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(k.Z,{className:"w-4 h-4"}),(0,s.jsx)("span",{children:"Create Account"})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(S.Z,{className:"w-4 h-4"}),(0,s.jsx)("span",{children:"Verify Code"})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(N.Z,{className:"w-4 h-4"}),(0,s.jsx)("span",{className:"sm:hidden",children:"Send code"}),(0,s.jsx)("span",{className:"hidden sm:inline",children:"Send Verification Code"}),(0,s.jsx)(A.Z,{className:"w-4 h-4 hidden sm:block"})]})})}),"login"===M&&(0,s.jsx)("div",{className:"text-center",children:(0,s.jsx)("button",{onClick:()=>a.push("/forgot-password"),className:"text-xs transition-colors ".concat("dark"===Z?"text-[#FF4500] hover:text-[#FF4500]/20":"text-[#FF4500] hover:text-[#FF4500]"),children:"Forgot password?"})}),(0,s.jsxs)("div",{className:"items-center justify-center space-x-2 ".concat(eD?"hidden":"flex pt-4 sm:pt-6"," ").concat("dark"===Z?"text-[#818384]":"text-gray-500"),children:[(0,s.jsx)(S.Z,{className:"w-3 h-3 sm:w-4 sm:h-4"}),(0,s.jsx)("span",{className:"text-[10px] sm:text-xs",children:"login"===M?"Secure password authentication":"Secure email verification"})]})]})]})})}),(0,s.jsx)(l.M,{children:ei&&(0,s.jsx)(c.E.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/60 ",children:(0,s.jsxs)(c.E.div,{initial:{scale:.95,opacity:0},animate:{scale:1,opacity:1},exit:{scale:.95,opacity:0},className:"w-full max-w-md rounded-2xl shadow-2xl overflow-hidden ".concat("dark"===Z?"bg-[#272729] border border-[#343536]":"bg-white border border-gray-200"),children:[(0,s.jsx)("div",{className:"px-6 py-5 border-b ".concat("dark"===Z?"border-[#343536]":"border-gray-200"),children:(0,s.jsxs)("div",{className:"flex items-center space-x-3",children:[(0,s.jsx)("div",{className:"w-12 h-12 rounded-full bg-[#FF4500]/20 flex items-center justify-center",children:(0,s.jsx)(w.Z,{className:"w-6 h-6 text-[#FF4500]"})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"text-lg font-semibold ".concat("dark"===Z?"text-white":"text-gray-900"),children:"New Device Detected"}),(0,s.jsx)("p",{className:"text-sm ".concat("dark"===Z?"text-[#818384]":"text-gray-600"),children:"Security verification required"})]})]})}),(0,s.jsx)("div",{className:"px-6 py-5",children:(0,s.jsx)("div",{className:"mb-4 p-4 rounded-xl ".concat("dark"===Z?"bg-[#FF4500]/10 border border-yellow-500/20":"bg-[#FFF1EE] border border-yellow-200"),children:(0,s.jsx)("p",{className:"text-sm ".concat("dark"===Z?"text-[#FFE5DB]":"text-[#CC3700]"),children:en})})}),(0,s.jsxs)("div",{className:"px-6 py-4 border-t flex gap-3 ".concat("dark"===Z?"border-[#343536] bg-[#272729]":"border-gray-200 bg-gray-50"),children:[(0,s.jsx)("button",{onClick:()=>er(!1),disabled:J,className:"flex-1 py-3 px-4 rounded-xl font-medium transition-colors ".concat("dark"===Z?"bg-[#343536] text-[#D7DADC] hover:bg-[#343536]":"bg-gray-200 text-gray-700 hover:bg-gray-300"),children:"Cancel"}),(0,s.jsx)("button",{onClick:eB,disabled:J,className:"flex-1 py-3 px-4 rounded-xl font-medium bg-[#FF4500] text-white hover:bg-[#E03D00] flex items-center justify-center space-x-2",children:J?(0,s.jsx)("div",{className:"w-5 h-5 border-2 border-[#EDEFF1] border-t-white rounded-full animate-spin"}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(k.Z,{className:"w-5 h-5"}),(0,s.jsx)("span",{children:"Proceed"})]})})]})]})})})]})]})}function P(e){let{number:t,label:a,active:i,completed:r,theme:n}=e;return(0,s.jsxs)("div",{className:"flex flex-col items-center",children:[(0,s.jsx)(c.E.div,{className:"w-7 h-7 rounded-full flex items-center justify-center font-semibold text-xs border transition-all duration-200 ".concat(r?"border-green-500 bg-green-500 text-white":i?"border-[#FF4500] bg-[#FF4500] text-white shadow-sm":"dark"===n?"border-[#343536] bg-[#272729] text-[#818384]":"border-gray-300 bg-white text-gray-400"),animate:{scale:i?1.05:1},children:r?"✓":t}),(0,s.jsx)("span",{className:"text-[10px] mt-1 font-medium ".concat(i?"dark"===n?"text-white":"text-gray-900":"dark"===n?"text-[#818384]":"text-gray-500"),children:a})]})}function I(e){let{active:t,theme:a}=e;return(0,s.jsx)("div",{className:"flex-1 h-px rounded-full mx-1.5 transition-colors duration-200 ".concat(t?"bg-gradient-to-r from-green-500 to-[#FF4500]":"dark"===a?"bg-[#343536]":"bg-gray-200")})}}},function(e){e.O(0,[4968,1296,5412,9793,2888,9774,179],function(){return e(e.s=83236)}),_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.