PageSourceSearch

https://trueresume.ai/_next/static/chunks/5666.06073cad29ce6fa3.js

js trueresume.ai collected 2026-10-02 01:14:17 UTC 25,225 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5666],{25666:function(e,t,s){s.r(t),s.d(t,{default:function(){return Z}});var a=s(85893),r=s(67294),l=s(87542),i=s(89508),c=s(9475),n=s(22954),d=s(20113),o=s(36127);let x=(0,s(63759).Z)("Lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]);var m=s(70088),h=s(74598),b=s(28562),g=s(15432),u=s(42171),p=s(80893),y=s(90437),j=s(2553),k=s(23488),f=s(60641),v=s(46611),N=s(39200);let w=(e,t)=>e>=80?"dark"===t?"from-emerald-500 to-green-400":"from-emerald-500 to-green-500":e>=60?"from-[#FF4500] to-[#FF4500]":e>=40?"from-orange-500 to-[#FF4500]":"dark"===t?"from-red-500 to-[#FF4500]":"from-red-500 to-[#FFF5F2]0",F=e=>e>=90?{label:"Excellent",emoji:"\uD83C\uDFC6",description:"Your resume is highly optimized for ATS systems"}:e>=80?{label:"Great",emoji:"⭐",description:"Strong match - minor improvements possible"}:e>=70?{label:"Good",emoji:"\uD83D\uDC4D",description:"Solid foundation - add more keywords"}:e>=60?{label:"Fair",emoji:"\uD83D\uDCCA",description:"Needs improvement - follow recommendations"}:e>=40?{label:"Low",emoji:"⚠️",description:"Missing many key requirements"}:{label:"Critical",emoji:"\uD83D\uDEA8",description:"Major optimization needed"},D=(e,t)=>{switch(e){case"exact":return"dark"===t?"bg-emerald-500/20 text-emerald-400 border-emerald-500/30":"bg-emerald-50 text-emerald-700 border-emerald-200";case"synonym":return"dark"===t?"bg-blue-500/20 text-blue-400 border-blue-500/30":"bg-blue-50 text-blue-700 border-blue-200";case"partial":return"dark"===t?"bg-[#FF4500]/20 text-yellow-400 border-yellow-500/30":"bg-[#FFF1EE] text-[#CC3700] border-yellow-200";default:return"dark"===t?"bg-[#343536] text-[#D7DADC] border-[#343536]":"bg-gray-100 text-gray-600 border-gray-200"}},C=e=>{let{score:t,size:s="lg",theme:r}=e,i="number"==typeof t&&isFinite(t)?Math.max(0,Math.min(100,t)):0,{container:c,stroke:n,text:d}={sm:{container:"w-16 h-16",stroke:4,text:"text-lg"},md:{container:"w-24 h-24",stroke:5,text:"text-2xl"},lg:{container:"w-32 h-32",stroke:6,text:"text-4xl"}}[s],o=2*Math.PI*45,x=o-i/100*o,m=F(i);return(0,a.jsxs)("div",{className:"relative ".concat(c),children:[(0,a.jsxs)("svg",{className:"w-full h-full transform -rotate-90",viewBox:"0 0 100 100",children:[(0,a.jsx)("circle",{cx:"50",cy:"50",r:45,fill:"none",strokeWidth:n,className:"dark"===r?"stroke-[#343536]":"stroke-gray-200"}),(0,a.jsx)(l.E.circle,{cx:"50",cy:"50",r:45,fill:"none",strokeWidth:n,strokeLinecap:"round",className:"stroke-current ".concat(i>=80?"text-emerald-500":i>=60?"text-[#FF4500]":i>=40?"text-orange-500":"text-red-500"),strokeDasharray:o,initial:{strokeDashoffset:o},animate:{strokeDashoffset:x},transition:{duration:1.5,ease:"easeOut"}})]}),(0,a.jsxs)("div",{className:"absolute inset-0 flex flex-col items-center justify-center",children:[(0,a.jsx)("span",{className:"".concat(d," font-bold ").concat("dark"===r?"text-white":"text-gray-900"),children:i}),(0,a.jsxs)("span",{className:"text-xs font-medium ".concat("dark"===r?"text-[#818384]":"text-gray-500"),children:[m.emoji," ",m.label]})]})]})},M=e=>{let{label:t,score:s,maxScore:r,icon:i,theme:c}=e,n="number"==typeof s&&isFinite(s)?s:0,d="number"==typeof r&&r>0?r:1,o=Math.min(100,Math.max(0,n/d*100));return(0,a.jsxs)("div",{className:"space-y-1.5",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("span",{className:"dark"===c?"text-[#818384]":"text-gray-500",children:i}),(0,a.jsx)("span",{className:"text-sm font-medium ".concat("dark"===c?"text-[#D7DADC]":"text-gray-700"),children:t})]}),(0,a.jsxs)("span",{className:"text-sm font-bold ".concat(o>=80?"text-emerald-500":o>=60?"text-[#FF4500]":o>=40?"text-orange-500":"text-red-500"),children:[Math.round(n),"/",d]})]}),(0,a.jsx)("div",{className:"h-2 rounded-full overflow-hidden ".concat("dark"===c?"bg-[#343536]":"bg-gray-200"),children:(0,a.jsx)(l.E.div,{className:"h-full rounded-full bg-gradient-to-r ".concat(w(o,c)),initial:{width:0},animate:{width:"".concat(o,"%")},transition:{duration:.8,ease:"easeOut",delay:.2}})})]})},S=e=>{let{skill:t,matchType:s,location:r,frequency:l,theme:i,onClick:d}=e,o="missing"===s?"dark"===i?"bg-red-500/20 text-red-400 border-red-500/30":"bg-red-50 text-red-700 border-red-200":D(s,i),x="missing"===s?(0,a.jsx)(c.Z,{className:"w-3 h-3"}):(0,a.jsx)(n.Z,{className:"w-3 h-3"});return(0,a.jsxs)("button",{onClick:d,className:"inline-flex items-center gap-1 px-2 py-1 text-xs font-medium rounded-full border transition-all hover:scale-105 ".concat(o),children:[x,(0,a.jsx)("span",{children:t}),l&&l>1&&(0,a.jsxs)("span",{className:"opacity-60",children:["\xd7",l]})]})};var Z=r.memo(e=>{let{totalScore:t,matchRate:s,breakdown:w,penalties:D,details:Z,recommendations:E,actionableTips:A=[],aiGeneratedBannerText:T=null,theme:z,onKeywordClick:R,onRefresh:q,isRefreshEnabled:K=!1,hasIncompleteResult:L=!1,onForceApply:P,isRefreshing:B=!1,usedCachedJD:O=!1}=e,[_,J]=(0,r.useState)("overview"),[W,G]=(0,r.useState)(new Set(["breakdown"])),[I,U]=(0,r.useState)(!1);(0,r.useMemo)(()=>{var e,t,s,a,r,l;let i=null!==(a=null===(e=Z.sectionScores)||void 0===e?void 0:e.summary)&&void 0!==a?a:0;return Math.round((i+(null!==(r=null===(t=Z.sectionScores)||void 0===t?void 0:t.experience)&&void 0!==r?r:0)+(null!==(l=null===(s=Z.sectionScores)||void 0===s?void 0:s.skills)&&void 0!==l?l:0))/3)},[Z.sectionScores]);let V=(0,r.useMemo)(()=>F(t),[t]),Y=(0,r.useMemo)(()=>Object.values(D).reduce((e,t)=>
1e+t,0),[D]),H=(0,r.useCallback)(e=>{G(t=>{let s=new Set(t);return s.has(e)?s.delete(e):s.add(e),s})},[]),Q=(0,r.useMemo)(()=>{let e=new Set((Z.skillsFound||[]).map(e=>((null==e?void 0:e.skill)||"").toLowerCase().trim()).filter(e=>e.length>0));return(Z.skillsMissing||[]).filter(e=>e&&"string"==typeof e).filter(t=>!e.has(t.toLowerCase().trim()))},[Z.skillsFound,Z.skillsMissing]),X=[{id:"overview",label:"TrueResume Score",icon:d.Z},{id:"keywords",label:"Keywords",icon:o.Z},{id:"tips",label:"Tips",icon:x}],$=(0,r.useMemo)(()=>(E||[]).filter(e=>e&&"string"==typeof e).filter(e=>{let t=!e.startsWith("⚠️")&&e.includes("appears")&&e.includes("times")&&e.includes("reduce"),s=!!T&&e.includes(T.replace(/\uFE0F/g,"")),a=A&&A.length>0&&A.some(t=>e.trim()===t.trim());return!t&&!s&&!a}),[E,A,T]);return(0,a.jsxs)("div",{className:"relative rounded-xl border-2 overflow-hidden ".concat("dark"===z?"bg-[#1A1A1B] border-[#343536]":"bg-white  border-[#EDEFF1]"),children:[(0,a.jsxs)("div",{className:"border-b ".concat("dark"===z?"border-[#343536]":"border-gray-200"),children:[T&&(0,a.jsxs)("div",{className:"p-3 text-xs font-semibold flex items-center gap-2 justify-center ".concat("dark"===z?"bg-[#FF4500]/20 text-[#FF4500] border-b border-[#FF4500]/30":"bg-[#FFF1EE] text-[#FF4500] border-b border-[#EDEFF1]"),children:[(0,a.jsx)(m.Z,{className:"w-4 h-4 text-[#0079D3]"}),(0,a.jsx)("span",{className:"font-semibold",children:T})]}),O&&(0,a.jsx)("div",{className:"p-2 text-xs text-center ".concat("dark"===z?"text-[#D7DADC]":"text-gray-600"),children:(0,a.jsxs)("span",{className:"inline-flex items-center gap-2 px-2 py-1 rounded-md bg-opacity-5",children:[(0,a.jsx)(h.Z,{className:"w-3.5 h-3.5 text-[#0079D3]"}),(0,a.jsx)("span",{children:"Using saved job description for last rescore"})]})}),(0,a.jsx)("div",{className:"flex",children:X.map(e=>{let t="overview"===e.id?"dark"===z?"text-[#FF4500]":"text-[#0079D3]":"keywords"===e.id?"dark"===z?"text-emerald-300":"text-emerald-600":"text-[#FF4500]",s="dark"===z?"bg-[#272729] text-white border-b-2 border-blue-500":"bg-gray-50 text-gray-900 border-b-2 border-blue-500",r="dark"===z?"text-[#818384] hover:text-white hover:bg-[#272729]":"text-gray-500 hover:text-gray-900 hover:bg-gray-50";return(0,a.jsxs)("button",{onClick:()=>J(e.id),className:"flex-1 flex items-center justify-center gap-1.5 px-3 py-2.5 text-xs transition-all ".concat(_===e.id?s:r),children:["overview"!==e.id&&(0,a.jsx)(e.icon,{className:"w-3.5 h-3.5 ".concat(_===e.id?t:"")}),(0,a.jsx)("span",{className:"".concat(t," ").concat(_===e.id?"font-semibold":"font-medium"),children:e.label})]},e.id)})})]}),(0,a.jsx)(i.M,{mode:"wait",children:(0,a.jsxs)(l.E.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.15},className:"p-4",children:["overview"===_&&(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsxs)("div",{className:"flex flex-col items-center py-2",children:[(0,a.jsx)(C,{score:t,size:"lg",theme:z}),(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("p",{className:"mt-1 text-center text-xs font-medium ".concat("overview"===_?"dark"===z?"text-[#FF4500]":"text-[#0079D3]":"dark"===z?"text-[#D7DADC]":"text-gray-700"),children:"ATS Match Score"}),(0,a.jsx)("p",{className:"mt-1 text-center text-xs ".concat("dark"===z?"text-[#818384]":"text-gray-500"),children:V.description})]})]}),s&&(0,a.jsxs)("div",{className:"rounded-lg border p-3 ".concat("dark"===z?"bg-[#272729] border-[#343536]":"bg-gray-50 border-gray-200"),children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,a.jsx)(d.Z,{className:"w-4 h-4 ".concat("dark"===z?"text-emerald-400":"text-emerald-600")}),(0,a.jsx)("span",{className:"text-sm font-semibold ".concat("dark"===z?"text-white":"text-gray-900"),children:"Skill Match Rate"})]}),(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-2",children:[(0,a.jsxs)("div",{className:"p-2 rounded ".concat("dark"===z?"bg-[#343536]/50":"bg-white"),children:[(0,a.jsxs)("div",{className:"text-lg font-bold ".concat(s.overall>=80?"dark"===z?"text-emerald-400":"text-emerald-600":s.overall>=60?"dark"===z?"text-yellow-400":"text-yellow-600":"dark"===z?"text-red-400":"text-red-600"),children:[s.overall,"%"]}),(0,a.jsx)("div",{className:"text-xs ".concat("dark"===z?"text-[#818384]":"text-gray-500"),children:"Overall"})]}),(0,a.jsxs)("div",{className:"p-2 rounded ".concat("dark"===z?"bg-[#343536]/50":"bg-white"),children:[(0,a.jsxs)("div",{className:"text-lg font-bold ".concat(s.critical>=80?"dark"===z?"text-emerald-400":"text-emerald-600":s.critical>=60?"dark"===z?"text-yellow-400":"text-yellow-600":"dark"===z?"text-red-400":"text-red-600"),children:[s.critical,"%"]}),(0,a.jsx)("div",{className:"text-xs ".concat("dark"===z?"text-[#818384]":"text-gray-500"),children:"Critical Skills"})]})]}
1),Z.criticalSkillsMissing&&Z.criticalSkillsMissing.length>0&&(0,a.jsxs)("div",{className:"mt-2 p-2 rounded text-xs ".concat("dark"===z?"bg-red-900/30 text-red-300 border border-red-800":"bg-red-50 text-red-700 border border-red-200"),children:[(0,a.jsx)("span",{className:"font-semibold",children:"⚠️ Missing critical:"})," ",Z.criticalSkillsMissing.slice(0,3).join(", "),Z.criticalSkillsMissing.length>3&&" +".concat(Z.criticalSkillsMissing.length-3," more")]})]}),(0,a.jsxs)("div",{className:"space-y-3",children:[(0,a.jsxs)("button",{onClick:()=>H("breakdown"),className:"w-full flex items-center justify-between py-1 ".concat("dark"===z?"text-white":"text-gray-900"),children:[(0,a.jsxs)("span",{className:"text-sm font-semibold flex items-center gap-2",children:[(0,a.jsx)(b.Z,{className:"w-4 h-4"}),"Score Breakdown"]}),W.has("breakdown")?(0,a.jsx)(g.Z,{className:"w-4 h-4"}):(0,a.jsx)(u.Z,{className:"w-4 h-4"})]}),(0,a.jsx)(i.M,{children:W.has("breakdown")&&(0,a.jsxs)(l.E.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.2},className:"space-y-3 overflow-hidden",children:[(0,a.jsx)(M,{label:"Hard Skills",score:w.hardSkillMatch,maxScore:40,icon:(0,a.jsx)(p.Z,{className:"w-3.5 h-3.5"}),theme:z}),(0,a.jsx)(M,{label:"Job Title",score:w.jobTitleMatch,maxScore:15,icon:(0,a.jsx)(d.Z,{className:"w-3.5 h-3.5"}),theme:z}),(0,a.jsx)(M,{label:"Measurable Results",score:w.measurableResults,maxScore:15,icon:(0,a.jsx)(y.Z,{className:"w-3.5 h-3.5"}),theme:z}),(0,a.jsx)(M,{label:"Keyword Placement",score:w.keywordPlacement,maxScore:15,icon:(0,a.jsx)(o.Z,{className:"w-3.5 h-3.5"}),theme:z}),(0,a.jsx)(M,{label:"Searchability",score:w.searchability,maxScore:10,icon:(0,a.jsx)(j.Z,{className:"w-3.5 h-3.5"}),theme:z}),(0,a.jsx)(M,{label:"Skill Diversity",score:w.skillDiversity,maxScore:5,icon:(0,a.jsx)(m.Z,{className:"w-3.5 h-3.5"}),theme:z})]})})]}),Y>0&&(0,a.jsxs)("div",{className:"rounded-lg p-3 ".concat("dark"===z?"bg-[#FF4500]/10 border border-[#FF4500]/30":"bg-[#FFF1EE] border border-[#EDEFF1]"),children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,a.jsx)(h.Z,{className:"w-4 h-4 ".concat("text-[#FF4500]")}),(0,a.jsx)("span",{className:"text-sm font-medium ".concat("dark"===z?"text-[#FF4500]":"text-[#CC3700]"),children:"Areas for Improvement"})]}),(0,a.jsxs)("ul",{className:"text-xs space-y-1 ".concat("text-[#FF4500]"),children:[D.missingCriticalSkills>0&&(0,a.jsx)("li",{children:"• Add more critical skills from job description"}),D.keywordStuffing>0&&(0,a.jsx)("li",{children:"• Reduce keyword repetition for natural flow"}),D.genericContent>0&&(0,a.jsx)("li",{children:"• Make content more specific to the role"}),D.missingMetrics>0&&(0,a.jsx)("li",{children:"• Add more quantifiable achievements"})]})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("span",{className:"text-sm font-semibold flex items-center gap-2 ".concat("overview"===_?"dark"===z?"text-[#FF4500]":"text-[#0079D3]":"dark"===z?"text-white":"text-gray-900"),children:[(0,a.jsx)(k.Z,{className:"w-4 h-4"}),"Keyword Coverage by Section"]}),q&&(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsxs)("button",{title:K?"Refresh (runs strict v3 re-score; uses saved JD if needed)":"Refresh disabled until you edit the resume or job description","aria-label":"Refresh",onClick:q,disabled:!K||B,className:"inline-flex items-center gap-2 px-3 py-1.5 rounded-md text-sm font-medium ".concat(K?B?"opacity-60 cursor-not-allowed bg-gradient-to-r from-orange-500 via-[#FF4500] to-[#FF4500] text-white":"bg-gradient-to-r from-orange-500 via-[#FF4500] to-[#FF4500] text-white hover:from-[#CC3700] hover:to-[#CC3700] shadow-lg":"dark"===z?"bg-[#343536] text-[#818384] border border-[#343536] opacity-50 cursor-not-allowed":"bg-gray-100 text-gray-400 border border-gray-200 opacity-50 cursor-not-allowed"),children:[B?(0,a.jsx)(f.Z,{className:"w-4 h-4 animate-spin"}):(0,a.jsx)(v.Z,{className:"w-4 h-4"}),(0,a.jsx)("span",{children:"Refresh"}),(0,a.jsx)("span",{className:"ml-0.5 px-1 py-0.5 text-[9px] font-bold uppercase tracking-wide rounded ".concat("dark"===z?"bg-white/20 text-white":"bg-white/30 text-white"),children:"beta"})]}),L&&P&&(0,a.jsx)("button",{onClick:()=>{confirm("Partial rescore result appears incomplete. Force apply partial results?")&&P()},className:"text-xs px-2 py-1 rounded-md border ".concat("dark"===z?"text-[#FF4500] border-[#FF4500]/20 hover:bg-[#FF4500]/5":"text-[#FF4500] border-[#
1EDEFF1] hover:bg-[#FFF1EE]"),title:"Force apply incomplete rescore",children:"Force Apply"})]})]}),(0,a.jsx)("div",{className:"grid grid-cols-3 gap-2",children:["summary","experience","skills"].map(e=>{var t,s;let r=null!==(s=null===(t=Z.sectionScores)||void 0===t?void 0:t[e])&&void 0!==s?s:0;return(0,a.jsxs)("div",{className:"text-center p-2 rounded-lg ".concat("dark"===z?"bg-[#272729]":"bg-gray-50"),children:[(0,a.jsxs)("div",{className:"text-lg font-bold ".concat(r>=70?"text-emerald-500":r>=40?"text-[#FF4500]":"text-red-500"),children:[Math.round(r),"%"]}),(0,a.jsx)("div",{className:"text-xs capitalize ".concat("dark"===z?"text-[#818384]":"text-gray-500"),children:e})]},e)})})]})]}),"keywords"===_&&(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("span",{className:"text-sm font-semibold flex items-center gap-2 ".concat("keywords"===_?"dark"===z?"text-emerald-300":"text-emerald-600":"dark"===z?"text-white":"text-gray-900"),children:[(0,a.jsx)(n.Z,{className:"w-4 h-4 text-emerald-500"}),"Keywords Found"]}),(0,a.jsxs)("span",{className:"text-xs ".concat("dark"===z?"text-[#818384]":"text-gray-500"),children:[Z.skillsFound.length," matches"]})]}),(0,a.jsxs)("div",{className:"flex flex-wrap gap-1.5",children:[Z.skillsFound.length>0?Z.skillsFound.filter(e=>(null==e?void 0:e.skill)&&"string"==typeof e.skill).slice(0,I?void 0:15).map((e,t)=>(0,a.jsx)(S,{skill:e.skill,matchType:e.matchType||"partial",location:e.location,frequency:e.frequency,theme:z,onClick:()=>null==R?void 0:R(e.skill)},"".concat(e.skill,"-").concat(t))):(0,a.jsx)("p",{className:"text-xs ".concat("dark"===z?"text-[#818384]":"text-gray-500"),children:"No keywords found - check the job description"}),Z.skillsFound.length>15&&!I&&(0,a.jsxs)("button",{onClick:()=>U(!0),className:"text-xs px-2 py-1 rounded-full border transition-all hover:scale-105 ".concat("dark"===z?"bg-[#343536] text-[#D7DADC] border-[#343536] hover:bg-[#343536]":"bg-gray-100 text-gray-600 border-gray-200 hover:bg-gray-200"),children:["+",Z.skillsFound.length-15," more"]}),I&&Z.skillsFound.length>15&&(0,a.jsx)("button",{onClick:()=>U(!1),className:"text-xs px-2 py-1 rounded-full border transition-all hover:scale-105 ".concat("dark"===z?"bg-[#343536] text-[#D7DADC] border-[#343536] hover:bg-[#343536]":"bg-gray-100 text-gray-600 border-gray-200 hover:bg-gray-200"),children:"Show less"})]})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("span",{className:"text-sm font-semibold flex items-center gap-2 ".concat("dark"===z?"text-white":"text-gray-900"),children:[(0,a.jsx)(c.Z,{className:"w-4 h-4 text-red-500"}),"Missing Keywords"]}),(0,a.jsxs)("span",{className:"text-xs ".concat("dark"===z?"text-[#818384]":"text-gray-500"),children:[Q.length," missing"]})]}),(0,a.jsxs)("div",{className:"flex flex-wrap gap-1.5",children:[Q.length>0?Q.slice(0,12).map((e,t)=>(0,a.jsx)(S,{skill:e,matchType:"missing",theme:z,onClick:()=>null==R?void 0:R(e)},"".concat(e,"-").concat(t))):(0,a.jsx)("p",{className:"text-xs ".concat("dark"===z?"text-emerald-400":"text-emerald-600"),children:"✓ All required keywords are present!"}),Q.length>12&&(0,a.jsxs)("span",{className:"text-xs px-2 py-1 ".concat("dark"===z?"text-[#818384]":"text-gray-500"),children:["+",Q.length-12," more"]})]})]}),(0,a.jsxs)("div",{className:"p-3 rounded-lg ".concat("dark"===z?"bg-[#272729]":"bg-gray-50"),children:[(0,a.jsx)("span",{className:"text-xs font-medium block mb-2 ".concat("dark"===z?"text-[#D7DADC]":"text-gray-700"),children:"Match Types:"}),(0,a.jsxs)("div",{className:"flex flex-wrap gap-2 text-xs",children:[(0,a.jsxs)("span",{className:"flex items-center gap-1",children:[(0,a.jsx)("span",{className:"w-2 h-2 rounded-full bg-emerald-500"}),(0,a.jsx)("span",{className:"dark"===z?"text-[#818384]":"text-gray-600",children:"Exact"})]}),(0,a.jsxs)("span",{className:"flex items-center gap-1",children:[(0,a.jsx)("span",{className:"w-2 h-2 rounded-full bg-blue-500"}),(0,a.jsx)("span",{className:"dark"===z?"text-[#818384]":"text-gray-600",children:"Synonym"})]}),(0,a.jsxs)("span",{className:"flex items-center gap-1",children:[(0,a.jsx)("span",{className:"w-2 h-2 rounded-full bg-[#FF4500]"}),(0,a.jsx)("span",{className:"dark"===z?"text-[#818384]":"text-gray-600",children:"Partial"})]}),(0,a.jsxs)("span",{className:"flex items-center gap-1",children:[(0,a.jsx)("span",{className:"w-2 h-2 rounded-full bg-red-500"}),(0,a.jsx)("span",{className:"dark"===z?"text-[#818384]":"text-gray-600",children:"Missing"})]})]})]}),(0,a.jsxs)("div",{className:"flex items-center justify-between p-2 rounded-lg ".concat("dark"===z?"bg-[#272729]":"bg-gray-50"),children:[(0,a.jsx)("span",{className:"text-xs ".concat("dark"===z?"text-[#818384]":"text-gray-600"),children:"Keyword Density"}),(0,a.jsxs)("span",{className:"text-sm font-medium ".concat((Z.keywordDensity||0)>=2&&4>=(Z.keywordDensity||0)?"text-emerald-500":2>(Z.keywordDensity||0)?"text-[#FF4500]":"text-red-500"),children:[(Z.keywordDensity||0).toFixed(1),"%",(Z.keywordDensity||0)>=2&&4>=(Z.keywordDensity||0)&&" ✓"]})]})]}),"tips"===_&&(0,a.jsxs)("div",{className:"space-y-3",children:[A&&A.length>0&&(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"text-sm font-semibold mb-2 flex items-center gap-2 ".concat("tips"===_?"text-[#FF4500]":"dark"===z?"text-[#D7DADC]":"text-gray-900"),children:[(0,a.jsx)(x,{className:"w-4 h-4"}),(0,a.jsx)("span",{children:"Top Actionable Tips"})]}),A.map((e,t)=>(0,a.jsxs)(l.E.div,{initial:{opacity:0,x:-6}
1,animate:{opacity:1,x:0},transition:{delay:.03*t},className:"flex items-start gap-2 p-3 rounded-lg mb-2 ".concat("dark"===z?"bg-[#272729] border border-[#343536]":"bg-white  border border-[#EDEFF1]"),children:[(0,a.jsx)("div",{className:"flex-shrink-0 w-6 h-6 rounded-full flex items-center justify-center text-xs font-bold ".concat("dark"===z?"bg-[#0079D3]/20 text-[#0079D3]":"bg-[#FFF1EE] text-[#FF4500]"),children:t+1}),(0,a.jsx)("p",{className:"text-sm ".concat("dark"===z?"text-[#D7DADC]":"text-gray-700"),children:e})]},"action-".concat(t)))]}),$.length>0?$.map((e,t)=>(0,a.jsxs)(l.E.div,{initial:{opacity:0,x:-10},animate:{opacity:1,x:0},transition:{delay:.05*t},className:"flex items-start gap-2 p-3 rounded-lg ".concat("dark"===z?"bg-[#272729] border border-[#343536]":"bg-gray-50 border border-gray-200"),children:[(0,a.jsx)("div",{className:"flex-shrink-0 w-5 h-5 rounded-full flex items-center justify-center text-xs font-bold ".concat("dark"===z?"bg-blue-500/20 text-blue-400":"bg-blue-100 text-blue-600"),children:t+1}),(0,a.jsx)("p",{className:"text-sm ".concat("dark"===z?"text-[#D7DADC]":"text-gray-700"),children:e})]},t)):(0,a.jsxs)("div",{className:"text-center py-8 ".concat("dark"===z?"text-[#818384]":"text-gray-500"),children:[(0,a.jsx)(n.Z,{className:"w-12 h-12 mx-auto mb-2 text-emerald-500"}),(0,a.jsx)("p",{className:"text-sm font-medium",children:"Your resume is well optimized!"}),(0,a.jsx)("p",{className:"text-xs mt-1",children:"No major improvements needed."})]}),(0,a.jsx)("div",{className:"p-3 rounded-lg ".concat(Z.jobTitleMatch.found?"dark"===z?"bg-emerald-500/10 border border-emerald-500/30":"bg-emerald-50 border border-emerald-200":"dark"===z?"bg-[#FF4500]/10 border border-yellow-500/30":"bg-[#FFF1EE] border border-yellow-200"),children:(0,a.jsx)("div",{className:"flex items-center gap-2",children:Z.jobTitleMatch.found?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.Z,{className:"w-4 h-4 ".concat("dark"===z?"text-emerald-400":"text-emerald-600")}),(0,a.jsxs)("span",{className:"text-sm font-medium ".concat("dark"===z?"text-emerald-400":"text-emerald-700"),children:['Job title "',Z.jobTitleMatch.variant,'" found in ',Z.jobTitleMatch.location]})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(N.Z,{className:"w-4 h-4 ".concat("dark"===z?"text-yellow-400":"text-yellow-600")}),(0,a.jsx)("span",{className:"text-sm font-medium ".concat("dark"===z?"text-yellow-400":"text-[#CC3700]"),children:"Consider adding the exact job title to your resume"})]})})}),(0,a.jsxs)("div",{className:"flex items-center justify-between p-3 rounded-lg ".concat("dark"===z?"bg-[#272729]":"bg-gray-50"),children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(y.Z,{className:"w-4 h-4 ".concat("dark"===z?"text-[#818384]":"text-gray-500")}),(0,a.jsx)("span",{className:"text-sm ".concat("dark"===z?"text-[#D7DADC]":"text-gray-700"),children:"Quantifiable Achievements"})]}),(0,a.jsxs)("span",{className:"text-sm font-bold ".concat(Z.metricsCount>=5?"text-emerald-500":Z.metricsCount>=3?"text-[#FF4500]":"text-red-500"),children:[Z.metricsCount," found"]})]})]})]},_)})]})})},39200:function(e,t,s){s.d(t,{Z:function(){return a}});let a=(0,s(63759).Z)("AlertTriangle",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z",key:"c3ski4"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},23488:function(e,t,s){s.d(t,{Z:function(){return a}});let a=(0,s(63759).Z)("Award",[["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}],["path",{d:"M15.477 12.89 17 22l-5-3-5 3 1.523-9.11",key:"em7aur"}]])},28562:function(e,t,s){s.d(t,{Z:function(){return a}});let a=(0,s(63759).Z)("BarChart3",[["path",{d:"M3 3v18h18",key:"1s2lah"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]])},36127:function(e,t,s){s.d(t,{Z:function(){return a}});let a=(0,s(63759).Z)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]])},90437:function(e,t,s){s.d(t,{Z:function(){return a}});let a=(0,s(63759).Z)("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]])},9475:function(e,t,s){s.d(t,{Z:function(){return a}});let a=(0,s(63759).Z)("XCircle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]])}}]);

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.