PageSourceSearch

https://resumetailorplus.com/_next/static/chunks/2085.0ae6220f7f2a953f.js

js resumetailorplus.com collected 2026-10-02 01:41:21 UTC 43,661 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2085],{5070:function(e,t,s){e.exports=s.p+"static/media/pdf.worker.min.227170ae.js"},2085:function(e,t,s){s.r(t),s.d(t,{analyzeBullet:function(){return J},buildTailoringReport:function(){return X},default:function(){return er},extractJobKeywords:function(){return U},extractPdfText:function(){return Z},matchKeywords:function(){return H},parseResumeSectionsAndBullets:function(){return K}});var a=s(7437),r=s(7648),n=s(2265),i=s(1020),l=s(1077),o=s.n(l);let c="\\u2022\\u2023\\u2043\\u2219\\u25E6\\u204C\\u204D\\u25AA\\u25AB\\u25CF\\u25CB\\u25A0\\u25A1\\u25B8\\u25B9\\u25BA\\u2794\\u279C\\u27A4\\u27A2\\u2192\\u2013\\u2014\\u2212\\*\\-",d=RegExp("^\\s*(?:(?:[".concat(c,"])|(?:\\(?[A-Za-z0-9]{1,3}\\)?[.)]))\\s+"),"u"),u=RegExp("\\s+(?=(?:[".concat(c,"]|\\(?\\d{1,2}\\)?[.)])\\s+[A-Z])"),"gu"),h=/[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}/i,p=/(?:\+?1[\s.-]?)?(?:\(?\d{3}\)?[\s.-]?)\d{3}[\s.-]?\d{4}/,m=/(?:\b(?:jan|feb|mar|apr|may|jun|jul|aug|sep|sept|oct|nov|dec)[a-z.]*\s+)?\d{4}\s*(?:-|to|present|current|\u2013|\u2014)\s*(?:present|current|now|(?:\b(?:jan|feb|mar|apr|may|jun|jul|aug|sep|sept|oct|nov|dec)[a-z.]*\s+)?\d{4})/i,g=/(?:\b(?:jan|feb|mar|apr|may|jun|jul|aug|sep|sept|oct|nov|dec)[a-z.]*\s+)?\d{4}\s*(?:-|to|present|current|\u2013|\u2014)\s*(?:present|current|now|(?:\b(?:jan|feb|mar|apr|may|jun|jul|aug|sep|sept|oct|nov|dec)[a-z.]*\s+)?\d{4})/gi,b=/\b(?:19|20)\d{2}\b/,f=/\b(?:manager|director|engineer|developer|analyst|specialist|coordinator|assistant|associate|consultant|designer|nurse|teacher|administrator|technician|operator|supervisor|lead|intern|representative|executive|officer)\b/i,v=/\b(?:inc\.?|llc|ltd\.?|corp\.?|corporation|company|co\.?|group|systems|solutions|technologies|health|hospital|school|university|agency)\b/i,x=/(?:\$[\d,.]+|\d[\d,.]*\s?(?:%|x|k|m|b|hrs?|hours?|days?|weeks?|months?|years?|users?|customers?|clients?|accounts?|tickets?|cases?|calls?|reports?|projects?|stores?|sites?|employees?|members?|revenue|budget|sla|nps|csat)|(?:increased|reduced|decreased|saved|grew|cut|improved|accelerated|shortened|raised|lowered)\b[^.]*\d)/i,y=/\b(?:increased|reduced|decreased|saved|grew|cut|improved|accelerated|launched|delivered|generated|expanded|optimized|streamlined|resolved|enabled|raised|lowered|prevented|eliminated|shortened|strengthened)\b/i,w=/\b(?:responsible for|helped with|helped to|assisted with|worked on|participated in|was involved in|duties included|duties include|tasked with|handled|various|etc\.?)\b/i,j=/\b(?:i|me|my|we|our)\b/i,k=/^(?:achieved|administered|analyzed|architected|audited|automated|built|coached|collaborated|consolidated|coordinated|created|delivered|designed|developed|directed|drove|enabled|engineered|established|executed|expanded|facilitated|forecasted|generated|implemented|improved|increased|launched|led|managed|migrated|monitored|negotiated|optimized|owned|partnered|produced|reduced|resolved|revamped|shipped|standardized|streamlined|trained|transformed|upgraded|validated)\b/i,A=[{key:"summary",title:"Summary",aliases:["summary","professional summary","profile","professional profile","objective","career objective","about"]},{key:"experience",title:"Experience",aliases:["experience","professional experience","professional history","work experience","relevant experience","employment","employment history","work history","career history","leadership experience","work and leadership experience","clinical experience","clinical rotations","military experience","teaching experience","internship experience"]},{key:"skills",title:"Skills",aliases:["skills","technical skills","core skills","core competencies","competencies","technical competencies","technologies","tools","expertise","areas of expertise","professional skills","clinical skills","software","languages"]},{key:"education",title:"Education",aliases:["education","academic background","academics","degree","degrees","training","coursework"]},{key:"projects",title:"Projects",aliases:["projects","selected projects","project experience","portfolio","case studies"]},{key:"certifications",title:"Certifications",aliases:["certifications","licenses","licensure","credentials","certificates","professional development","licenses and certifications","certifications and licenses"]},{key:"awards",title:"Awards",aliases:["awards","honors","achievements","recognition","selected achievements","accomplishments"]},{key:"volunteering",title:"Volunteering",aliases:["volunteering","volunteer experience","community involvement","community service"]}],N=["A/B testing","account management","Agile","analytics","Ansible","API","APIs","AWS","Azure","B2B","BLS","C#","CI/CD","Cerner","CDL","CRM","CSS","customer success","data analysis","Docker","EHR","Epic","Excel","Figma","forklift","forecasting","GCP","Git","GraphQL","HTML","HubSpot","HIPAA","Java","JavaScript","Jira","KPI","Kubernetes","licensure","machine learning","Meditech","Next.js","Node.js","patient care","Power BI","PostgreSQL","project management","Python","React","REST APIs","Salesforce","Scrum","SQL","stakeholder management","Tableau","Terraform","TypeScript","WMS","UX"],S=[{pattern:/nurs|health|clinical|social worker/i,label:"Healthcare role signals",terms:["RN","BSN","LPN","BLS","ACLS","PALS","patient care","EHR","Epic","Cerner","HIPAA","case management"]},{pattern:/devops|software|engineer|developer|cyber|data|ux|product manager|tech/i,label:"Technical role signals",terms:["JavaScript","TypeScript","Python","React","SQL","AWS","Azure","GCP","Docker","Kubernetes","CI/CD","API","Git"]},{pattern:/sales|customer/i,label:"Customer and revenue signals",terms:["CRM","Salesforce","quota","pipeline","revenue","accounts","customer","retention","SLA","CSAT"]},{pattern:/warehouse|truck|logistics|operations|construction/i,label:"Operations role signals",terms:["WMS","forklift","CDL","inventory","safety","dispatch","routes","vendor","KPI","Lean","OSHA"]},{pattern:/teacher|education|new grad|entry/i,label:"Education and entry-level signals",terms:["curriculum","classroom","student","GPA","coursew
1ork","project","internship","training","assessment"]}],C=new Set(["about","across","also","and","any","are","based","business","candidate","company","description","duties","experience","for","from","have","including","job","knowledge","looking","more","must","new","our","preferred","preferred qualifications","required","requirements","responsibilities","role","skills","strong","team","that","the","this","will","with","work","years","you"]),P=["Improved [metric] by [action] using [tool/process] for [audience].","Led [team/process] to deliver [outcome], reducing [pain point] by [number].","Built [system/report/workflow] in [tool] that [business result] for [scope].","Partnered with [stakeholder/team] to [action], resulting in [measurable outcome].","Automated [manual process], saving [time/cost] and improving [quality metric].","Analyzed [data/customer/problem] to identify [insight] and drive [decision/result]."],T=null;function M(){for(var e=arguments.length,t=Array(e),s=0;s<e;s++)t[s]=arguments[s];return t.filter(Boolean).join(" ")}function B(e){return e.replace(/\u00a0/g," ").replace(/\s+/g," ").trim()}function D(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100;return Math.max(t,Math.min(s,e))}function E(e){return e.split(/\s+/).filter(Boolean).length}function L(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return 0===e.length?t:Math.round(e.reduce((e,t)=>e+t,0)/e.length)}function F(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=e.filter(e=>Number.isFinite(e)&&e>0).sort((e,t)=>e-t);if(0===s.length)return t;let a=Math.floor(s.length/2);return s.length%2==0?(s[a-1]+s[a])/2:s[a]}function R(){return new Promise(e=>{requestAnimationFrame(()=>e())})}function z(e){return"pass"===e?100:"warn"===e?65:35}async function I(e){var t;if(e.size>10485760)throw Error("This PDF is over 10MB. Try a smaller text-based resume PDF.");if("pdf"!==(null===(t=e.name.split(".").pop())||void 0===t?void 0:t.toLowerCase()))throw Error("Please upload a PDF resume.");let a=await (T||(T=Promise.all([s.e(9926),s.e(6295),s.e(5738)]).then(s.t.bind(s,2075,23)).then(e=>(e.GlobalWorkerOptions.workerSrc=new s.U(s(5070)).toString(),e))),T),r=await e.arrayBuffer(),n=await a.getDocument({data:r}).promise,i=Math.min(n.numPages,8),l=[];for(let e=1;e<=i;e+=1){let t=await n.getPage(e),s=await t.getTextContent();l.push(function(e,t){let s=e.map(e=>{var t,s,a,r,n,i,l,o,c,d,u,h;return{text:B(null!==(r=e.str)&&void 0!==r?r:""),x:Number(null!==(n=null===(t=e.transform)||void 0===t?void 0:t[4])&&void 0!==n?n:0),y:Number(null!==(i=null===(s=e.transform)||void 0===s?void 0:s[5])&&void 0!==i?i:0),width:Number(null!==(l=e.width)&&void 0!==l?l:0),height:Number(null!==(c=null!==(o=e.height)&&void 0!==o?o:null===(a=e.transform)||void 0===a?void 0:a[0])&&void 0!==c?c:0),fontName:null!==(d=e.fontName)&&void 0!==d?d:"",hasEOL:!!e.hasEOL,isBold:(h=null!==(u=e.fontName)&&void 0!==u?u:"",/\b(?:bold|black|heavy|semibold|demi|medium)\b/i.test(h))}}).filter(e=>e.text),a=F(s.filter(e=>!e.isBold&&!e.hasEOL).map(e=>e.width/Math.max(e.text.length,1)),5),r=F(s.map(e=>e.height),10),n=Math.max(3,.35*r);s.sort((e,t)=>Math.abs(t.y-e.y)>n?t.y-e.y:e.x-t.x);let i=[];s.forEach(e=>{let t=i[i.length-1];if(t&&Math.abs(t.y-e.y)<=n){t.items.push(e),t.y=(t.y+e.y)/2;return}i.push({y:e.y,items:[e]})});let l=i.flatMap(e=>(function(e,t){let s=[...e.items].sort((e,t)=>e.x-t.x),a=[],r=[];return s.forEach(e=>{let s=r[r.length-1],n=s?e.x-(s.x+s.width):0;if(s&&n>Math.max(64,12*t)&&B(r.map(e=>e.text).join(" ")).length>=3){a.push(r),r=[e];return}r.push(e)}),r.length>0&&a.push(r),a})(e,a).map(s=>{let n=B(function(e,t){let s=[...e].sort((e,t)=>e.x-t.x);return s.reduce((e,a,r)=>{let n=B(a.text);if(!n)return e;if(0===r)return n;let i=s[r-1],l=a.x-(i.x+i.width)>Math.max(.45*t,1.5)&&!/^[,.;:)]/.test(n);return"".concat(e).concat(l?" ":"").concat(n)},"")}(s,a)),i=Math.min(...s.map(e=>e.x)),l=Math.max(...s.map(e=>e.x+e.width)),o=s.map(e=>e.height);return{text:n,x:i,y:e.y,width:l-i,height:F(o,r),pageNumber:t,itemCount:s.length,isBold:s.some(e=>e.isBold),isUppercase:function(e){let t=e.replace(/[^A-Za-z]/g,"");return t.length>=3&&t===t.toUpperCase()}(n),hasExplicitEol:s.some(e=>e.hasEOL),probableColumn:0}}).filter(e=>e.text));return function(e){let t=Array.from(new Set(e.map(e=>32*Math.round(e.x/32)))).sort((e,t)=>
1e-t);return e.map(e=>{let s=t.findIndex(t=>40>=Math.abs(t-e.x));return{...e,probableColumn:Math.max(s,0)}})}(l.map((e,t)=>{let s=l[t+1];return s&&s.pageNumber===e.pageNumber?{...e,gapAfter:e.y-s.y}:e}))}(s.items,e))}let o=l.flat();return{text:l.map(e=>e.map(e=>e.text).join("\n")).join("\n\n"),lines:o,pageCount:n.numPages}}async function Z(e){let{text:t}=await I(e);return t}function q(e,t){var s,a,r,n,i,l,o,c;let d=B(e.replace(/[|:]+$/g,"").replace(/^[^A-Za-z0-9]+|[^A-Za-z0-9]+$/g,"").replace(/&/g," and ").replace(/[/]+/g," ").replace(/[^A-Za-z0-9+#. -]+/g," ")).toLowerCase();if(!d||d.length>72||E(d)>8||/[.!?]$/.test(e)||h.test(e)||p.test(e)||/\d/.test(d)&&/\b(?:years?|months?|gpa)\b/.test(d))return null;let u=A.find(e=>e.aliases.includes(d));if(u)return u;let m=!!((null==t?void 0:t.isBold)&&t.itemCount<=3)||!!((null==t?void 0:t.isUppercase)&&t.itemCount<=4)||e.length<=32&&e===e.toUpperCase()&&/[A-Z]/.test(e);return/\bexperience\b/.test(d)&&!/\b(?:years?|required|preferred|manager|specialist|representative)\b/.test(d)&&(m||/^(?:professional |work |relevant |clinical |leadership |military |teaching |internship )?experience$/.test(d))?null!==(s=A.find(e=>"experience"===e.key))&&void 0!==s?s:null:/\b(?:skills|competencies|technologies|tools)\b/.test(d)&&(m||4>=E(d))?null!==(a=A.find(e=>"skills"===e.key))&&void 0!==a?a:null:/\b(?:education|academic|academics|degrees?|training|coursework)\b/.test(d)&&(m||4>=E(d))?null!==(r=A.find(e=>"education"===e.key))&&void 0!==r?r:null:/\bprojects?\b/.test(d)&&(m||4>=E(d))?null!==(n=A.find(e=>"projects"===e.key))&&void 0!==n?n:null:/\b(?:certifications?|licenses?|licensure|credentials?)\b/.test(d)&&(m||5>=E(d))?null!==(i=A.find(e=>"certifications"===e.key))&&void 0!==i?i:null:m&&/\b(?:awards?|honou?rs?|recognition|achievements?|accomplishments?)\b/.test(d)?null!==(l=A.find(e=>"awards"===e.key))&&void 0!==l?l:null:m&&/\b(?:volunteer|community|service)\b/.test(d)?null!==(o=A.find(e=>"volunteering"===e.key))&&void 0!==o?o:null:m&&/\b(?:summary|profile|objective|about)\b/.test(d)&&null!==(c=A.find(e=>"summary"===e.key))&&void 0!==c?c:null}function G(e){return B(e.replace(d,""))}function W(e){let t=B(e);return!!(!t||h.test(t)||p.test(t)||/^https?:\/\//i.test(t)||/\blinkedin\.com\b/i.test(t)||m.test(t)&&12>=E(t)||/^[A-Z][A-Za-z .,&'-]+(?:\s+\|\s+|\s+-\s+).{2,70}$/.test(t)&&12>=E(t)||/^(?:jan|feb|mar|apr|may|jun|jul|aug|sep|sept|oct|nov|dec)\b/i.test(t)&&10>=E(t))}function K(e,t){let s=(t&&t.length>0?(new Set(t.map(e=>e.probableColumn)).size>1?[...t].sort((e,t)=>e.probableColumn!==t.probableColumn?e.probableColumn-t.probableColumn:t.y-e.y):t).map(e=>({text:e.text,layout:e})):e.split(/\r?\n/).map(e=>({text:e,layout:void 0}))).flatMap(e=>{let{text:t,layout:s}=e;return t.split(u).map(B).filter(Boolean).map(e=>({text:e.trim(),layout:s})).filter(e=>!!e.text)}),a=[{key:"other",title:"Other",startLine:0,lines:[],bullets:[]}],r=[],n=a[0],i=null;function l(){i&&(n.bullets.push(i),r.push(i),i=null)}return s.forEach((e,t)=>{var s,o;let{text:c,layout:u}=e,h=q(c,u);if(h){l(),n={key:h.key,title:h.title,startLine:t,lines:[],bullets:[]},a.push(n);return}if(n.lines.push(c),s=n.key,d.test(c)||!(!["experience","projects","certifications","awards","volunteering"].includes(s)||W(c)||q(c,u)||c.length<34||c.length>280||7>E(c)||/:$/.test(c)||(null==u?void 0:u.isBold)&&12>=E(c)&&!x.test(c))&&k.test(c)){l();let e=!d.test(c);i={id:"bullet-".concat(r.length+1),sectionKey:n.key,sectionTitle:n.title,lineIndex:t,text:B(c),originalText:c,sourceLines:[c],inferred:e};return}if(o=n.key,!(!i||!["experience","projects","certifications","awards","volunteering"].includes(o)||q(c,u)||d.test(c)||W(c)||c.length>190||k.test(c)&&E(c)>=7||(null==u?void 0:u.isBold)&&12>=E(c))&&(/^[a-z(,;]|\b(?:by|to|with|using|across|while|resulting|including|for)\b/i.test(c)||16>=E(c))){let e=i;if(!e)return;i={...e,text:B("".concat(e.text," ").concat(c)),originalText:"".concat(e.originalText,"\n").concat(c),sourceLines:[...e.sourceLines,c]};return}l()}),l(),{lines:s.map(e=>e.text),sections:a.filter(e=>e.lines.length>0||e.bullets.length>0),bullets:r}}function _(e,t){return(function(e){let t=e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/\\\s+/g,"\\s+");return RegExp("(^|[^A-Za-z0-9+#.])".concat(t,"(?=$|[^A-Za-z0-9+#.])"),"i")})(t).test(e)}function O(e,t,s){var a;let r=function(e){var t;let s=B(e).replace(/^[^A-Za-z0-9+#.]+|[^A-Za-z0-9+#.]+$/g,"").replace(/\bapis\b/i,"APIs").replace(/\bapi\b/i,"API");return null!==(t=({"amazon web services":"AWS","continuous integration":"CI/CD","continuous delivery":"CI/CD","continuous deployment":"CI/CD","customer relationship management":"CRM","electronic health record":"EHR","electronic health records":"EHR","google cloud":"GCP",javascript:"JavaScript",js:"JavaScript",kpis:"KPI",kubernetes:"Kubernetes","next js":"Next.js",node:"Node.js","node js":"Node.js",python:"Python",postgresql:"PostgreSQL","registered nurse":"RN","rest api":"REST APIs","rest apis":"REST APIs","structured query language":"SQL",typescript:"TypeScript",t
1s:"TypeScript","warehouse management system":"WMS"})[s.toLowerCase()])&&void 0!==t?t:s}(t),n=r.toLowerCase();if(!r||r.length<2||C.has(n)||E(r)>4||r.length>42||/^\d+$/.test(r)||/^(?:full|part|time|remote|hybrid|onsite)$/i.test(r))return;let i=e.get(n);e.set(n,{keyword:r,score:(null!==(a=null==i?void 0:i.score)&&void 0!==a?a:0)+s})}function $(e){return e.split(/,|\/|\band\b|\bor\b|[|;]|\u2022|\u2023|\u25E6|\u25AA|\u25CF|\n/iu).map(e=>B(e.replace(/^(?:must have|nice to have|required|preferred|plus:?)/i,""))).filter(Boolean)}function U(e){var t,s;let a=B(e);if(!a)return[];let r=new Map;N.forEach(e=>{_(a,e)&&O(r,e,4)}),Array.from(e.matchAll(/\b(?:experience with|proficient in|knowledge of|familiarity with|expertise in|required skills?|requirements include|responsibilities include|using|including|such as|must have|preferred qualifications?|you have)\b[:\s]+([^.;\n]+)/gi)).forEach(e=>{$(e[1]).forEach(e=>O(r,e,5))}),(null!==(t=e.match(/\b[A-Z][A-Za-z0-9+#.]+(?:\s+[A-Z][A-Za-z0-9+#.]+){0,2}\b/g))&&void 0!==t?t:[]).forEach(e=>O(r,e,3)),(function(e){let t=e.split(/\r?\n/).map(B).filter(Boolean),s=[],a=1;return t.forEach(e=>{if(/\b(?:requirements?|qualifications?|skills?|responsibilities|what you(?:'|’)ll do|preferred|must have|you have|we need)\b/i.test(e)){a=2.4,s.push({line:e,score:a});return}/^(?:about|benefits|salary|equal opportunity|location)\b/i.test(e)&&(a=.8),s.push({line:e,score:a}),a=Math.max(1,.92*a)}),s})(e).forEach(e=>{let{line:t,score:s}=e;$(t.replace(/^[-*•\s]+/,"")).forEach(e=>{4>=E(e)&&O(r,e,s)})});let n=new Map,i=null!==(s=e.toLowerCase().match(/[a-z][a-z+#.]{3,}/g))&&void 0!==s?s:[];i.forEach(e=>{var t;C.has(e)||n.set(e,(null!==(t=n.get(e))&&void 0!==t?t:0)+1)}),Array.from(n.entries()).sort((e,t)=>t[1]-e[1]).slice(0,18).forEach(e=>{let[t,s]=e;return O(r,t,Math.min(s,4))});let l=i.filter(e=>!C.has(e));for(let e=2;e<=3;e+=1)for(let t=0;t<=l.length-e;t+=1){let s=l.slice(t,t+e).join(" ");s.length>=8&&!/\b(?:looking for|years experience|job description)\b/i.test(s)&&O(r,s,2===e?1.5:1)}return Array.from(r.values()).sort((e,t)=>t.score-e.score||e.keyword.localeCompare(t.keyword)).map(e=>e.keyword).slice(0,42)}function H(e,t){return{matched:t.filter(t=>_(e,t)),missing:t.filter(t=>!_(e,t))}}function J(e,t){let s=G(e.text),a=E(s),r=t.length>0,n=t.filter(e=>_(s,e)).slice(0,8),i=[];/^(?:responsible for|duties include|duties included|tasked with)\b/i.test(s)&&i.push({label:"Starts with responsibility",severity:"fail",detail:"This reads like a job duty instead of an achievement."}),k.test(s)||/^(?:responsible for|duties include|duties included|tasked with)\b/i.test(s)||i.push({label:"Weak opener",severity:"warn",detail:"The first word is not a strong action verb."}),w.test(s)&&i.push({label:"Vague wording",severity:"warn",detail:"Phrases like helped, worked on, handled, or various weaken ownership."}),x.test(s)||i.push({label:"No measurable result",severity:"warn",detail:"No number, scale, percent, dollar amount, or time impact was detected."}),y.test(s)||x.test(s)||i.push({label:"No clear outcome",severity:"warn",detail:"The bullet does not clearly say what improved, shipped, changed, or resulted."}),a<10&&i.push({label:"Too short",severity:"warn",detail:"It may not provide enough context, scope, or result."}),a>36&&i.push({label:"Too long",severity:"warn",detail:"Dense bullets are harder to scan and can hide the achievement."}),j.test(s)&&i.push({label:"First person language",severity:"warn",detail:"Resume bullets usually read stronger without I, we, my, or our."}),e.inferred&&i.push({label:"Possible formatting issue",severity:"info",detail:"This was inferred as a bullet. Add a consistent bullet marker for ATS readability."}),r&&0===n.length&&i.push({label:"No job description match",severity:"info",detail:"This bullet does not clearly echo the pasted job description."});let l=i.reduce((e,t)=>"fail"===t.severity?e+24:"warn"===t.severity?e+10:e+4,0),o=(x.test(s)?6:0)+(k.test(s)?5:0)+Math.min(4*n.length,12);return{bullet:e,matchedKeywords:n,flags:i,tip:function(e,t,s){let a=G(t.text);return e.some(e=>"Starts with responsibility"===e.label)?'Start with the result or ownership instead of "Responsible for." Use a verb like Led, Built, Improved, Reduced, or Automated, then add the business outcome.':e.some(e=>"No measurable result"===e.label)?"Add one truthful number: volume handled, budget, customer count, time saved, revenue, error reduction, SLA, or percent improvement.":e.some(e=>"No clear outcome"===e.label)?"The action is present, but the result is fuzzy. Add what changed because of your work and who benefited.":e.some(e=>"Weak opener"===e.label)?'Open with a stronger action verb. A tighter pattern would be: "Improved [result] by '.concat(a.split(" ").slice(0,4).join(" ").toLowerCase(),'..."'):e.s
1ome(e=>"Too long"===e.label)?"Split this into one crisp achievement. Keep the action, scope, tool, and result; move extra context to a second bullet only if it adds evidence.":0===s.length?"If it is accurate, weave in one phrase from the job description so this bullet maps to the target role without keyword stuffing.":"Good foundation. Keep the evidence and make the matched language (".concat(s.slice(0,2).join(", "),") feel natural in the achievement.")}(i,e,n),templateExamples:i.some(e=>"No measurable result"===e.label)?["Improved [metric] by [action] using [tool/process] for [audience].","Led [team/process] to deliver [outcome], reducing [pain point] by [number].","Automated [manual process], saving [time/cost] and improving [quality metric].","Analyzed [data/customer/problem] to identify [insight] and drive [decision/result].","Built [system/report/workflow] in [tool] that [business result] for [scope].","Partnered with [stakeholder/team] to [action], resulting in [measurable outcome]."]:i.some(e=>"No job description match"===e.label)?["Built [system/report/workflow] in [tool] that [business result] for [scope].","Partnered with [stakeholder/team] to [action], resulting in [measurable outcome].","Analyzed [data/customer/problem] to identify [insight] and drive [decision/result].","Improved [metric] by [action] using [tool/process] for [audience].","Led [team/process] to deliver [outcome], reducing [pain point] by [number].","Automated [manual process], saving [time/cost] and improving [quality metric]."]:P,score:D(82-l+o,25,100),matchLevel:r?n.length>=3?"strong":n.length>=1?"medium":"low":"none"}}function Q(e){return e>=75?"pass":e>=55?"warn":"fail"}function V(e,t){return e.filter(Boolean).length>0?e.filter(Boolean):t}function X(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",r=arguments.length>4?arguments[4]:void 0,{sections:n,bullets:i}=K(e,r),l=U(s),o=H(e,l),c=i.map(e=>J(e,l)),u=function(e,t,s,a){var r,n,i;let l=e.split(/\r?\n/).map(B).filter(Boolean),o=new Set(t.map(e=>e.key)),c=l.filter(e=>e.length>155).length,u=(null!==(n=e.match(/[\uFFFD\u25A1]/g))&&void 0!==n?n:[]).length,x=E(e),y=function(e,t){var s,a,r,n,i,l,o,c,d,u,m,g;let b=e.split(/\r?\n/).map(B).filter(Boolean),f=t&&t.length>0?t.filter(e=>1===e.pageNumber).sort((e,t)=>t.y-e.y).slice(0,16).map(e=>e.text):b.slice(0,16),v=f.join(" "),x=null!==(c=null!==(o=null===(s=v.match(h))||void 0===s?void 0:s[0])&&void 0!==o?o:null===(a=e.match(h))||void 0===a?void 0:a[0])&&void 0!==c?c:"",y=null!==(u=null!==(d=null===(r=v.match(p))||void 0===r?void 0:r[0])&&void 0!==d?d:null===(n=e.match(p))||void 0===n?void 0:n[0])&&void 0!==u?u:"",w=null!==(m=null===(i=v.match(/\b(?:https?:\/\/)?(?:www\.)?(?:linkedin\.com|github\.com|[\w-]+\.(?:com|io|dev|net))\/?\S*/i))||void 0===i?void 0:i[0])&&void 0!==m?m:"",j=null!==(g=null===(l=v.match(/\b[A-Z][a-zA-Z .'-]+,\s?[A-Z]{2}\b/))||void 0===l?void 0:l[0])&&void 0!==g?g:"",k=f.slice(0,8).map((e,s)=>{let a=null==t?void 0:t.find(t=>t.text===e),r=0,n=B(e.replace(/[|•].*$/u,""));return/^[A-Z][A-Za-z.'-]+(?:\s+[A-Z][A-Za-z.'-]+){1,3}$/.test(n)&&(r+=5),(null==a?void 0:a.isBold)&&(r+=2),(null==a?void 0:a.isUppercase)&&4>=E(n)&&(r+=1),s<=2&&(r+=1),(h.test(n)||p.test(n)||/\d/.test(n))&&(r-=6),(/[/:@]/.test(n)||n.length>44||E(n)>5)&&(r-=4),{clean:n,score:r}}).sort((e,t)=>t.score-e.score)[0];return{name:k&&k.score>=4?k.clean:"",email:x,phone:y,url:w,location:j}}(e,a),w=function(e){if(!e||e.length<12)return 1;let t=[];return e.forEach(e=>{if(e.text.length<3)return;let s=t.find(t=>36>=Math.abs(t.x-e.x));if(s){s.x=(s.x*s.count+e.x)/(s.count+1),s.count+=1;return}t.push({x:e.x,count:1})}),t.filter(e=>e.count>=4).length||1}(a),j=null!==(i=null===(r=e.match(g))||void 0===r?void 0:r.length)&&void 0!==i?i:0,k=Math.max(function(e){var t;let s=e.find(e=>"experience"===e.key);return(null!==(t=null==s?void 0:s.lines)&&void 0!==t?t:[]).filter(e=>m.test(e)||b.test(e)).length}(t),j),A=function(e){let t=e.find(e=>"experience"===e.key);return t?t.lines.filter(e=>{if(d.test(e)||E(e)>14)return!1;let t=m.test(e)||b.test(e),s=f.test(e),a=v.test(e)||/[A-Z]/.test(e)&&!/[.!?]$/.test(e);return s&&t||a&&t||s&&a}).length:0}(t);return[{label:"Readable PDF text",status:x>=160&&l.length>=12?"pass":"fail",detail:x>=160&&l.length>=12?"PDF.js extracted enough selectable text for a meaningful scan.":"Very little selectable text was extracted. This may be a scanned image PDF."},{label:"Contact details",status:y.email&&y.phone?"pass":"warn",detail
1:y.email&&y.phone?"Email and phone number were detected near the resume text.":"Add both email and phone in selectable text near the top."},{label:"Profile parseability",status:y.name&&(y.location||y.url||y.email)?"pass":y.name||y.email?"warn":"fail",detail:y.name&&(y.location||y.url||y.email)?"Detected profile signals for ".concat(y.name,"."):"Keep name, email, phone, location, and links as simple selectable text."},{label:"Standard headings",status:o.has("experience")&&o.has("skills")&&o.has("education")?"pass":"warn",detail:o.has("experience")&&o.has("skills")&&o.has("education")?"Experience, Skills, and Education are labeled clearly.":"Use plain headings like Experience, Skills, and Education."},{label:"Experience dates",status:k>=2||A>=2?"pass":k>=1?"warn":"fail",detail:k>=2||A>=2?"Job/date structure appears parseable in the Experience section.":"Add clear company, title, and date lines for each recent role."},{label:"Bullet consistency",status:s.length>=5&&s.filter(e=>e.inferred).length<=2?"pass":s.length>=2?"warn":"fail",detail:s.length>=5?"".concat(s.length," bullets detected; ").concat(s.filter(e=>e.inferred).length," were inferred from action lines."):"Use consistent bullet markers under each role."},{label:"Line length",status:c<=3?"pass":"warn",detail:c<=3?"Most lines are short enough to scan cleanly.":"".concat(c," long lines may indicate columns, tables, or dense formatting.")},{label:"Layout complexity",status:w<=2?"pass":"warn",detail:w<=2?"The PDF text order looks manageable for a browser-side parser.":"".concat(w," text columns or alignment clusters were detected; ATS tools may read sections out of order.")},{label:"Special characters",status:0===u?"pass":"warn",detail:0===u?"No broken replacement glyphs were detected.":"Some symbols may not copy cleanly. Replace decorative icons with plain text."}]}(e,n,i,r),y=i.filter(e=>x.test(G(e.text))).length,w=c.filter(e=>e.flags.some(e=>"fail"===e.severity||["Weak opener","Vague wording","No clear outcome"].includes(e.label))).length,j=i.length>0?Math.round(y/i.length*100):30,k=i.length>0?Math.round((i.length-w)/i.length*100):45,A=["experience","skills","education"],N=new Set(n.map(e=>e.key)),C=Math.round(A.filter(e=>N.has(e)).length/A.length*100),P=L(u.map(e=>z(e.status)),50),T=l.length>0?Math.round(o.matched.length/l.length*100):62,M=s.trim().length>0,F=L(u.filter(e=>["Readable PDF text","Contact details","Profile parseability","Standard headings","Experience dates","Bullet consistency"].includes(e.label)).map(e=>z(e.status)),50),R=Math.round(M?.22*j+.27*T+.16*C+.15*P+.14*k+.06*F:.29*j+.22*C+.21*P+.2*k+.08*F),I=function(e,t,s){let a=S.find(t=>t.pattern.test(e));if(!a)return null;let r="".concat(t,"\n").concat(s),n=a.terms.filter(e=>_(r,e)),i=n.length>=4?"pass":n.length>=2?"warn":"fail";return{label:a.label,status:i,finding:n.length>0?"Detected ".concat(n.slice(0,4).join(", ")).concat(n.length>4?" and ".concat(n.length-4," more"):"","."):"No clear ".concat(a.label.toLowerCase()," were detected yet.")}}(a,e,s),Z=n.map(e=>{let t=c.filter(t=>t.bullet.sectionTitle===e.title);return{sectionKey:e.key,sectionTitle:e.title,analyses:t,averageScore:L(t.map(e=>e.score),0)}}).filter(e=>e.analyses.length>0);return{score:D(R),fileName:t,jdProvided:M,extractedKeywordCount:l.length,sections:n,bullets:i,sectionGroups:Z,categories:[{label:"Measurable Impact",status:Q(j),finding:i.length>0?"".concat(y," of ").concat(i.length," bullets include measurable evidence."):"No clear achievement bullets were detected."},{label:"Keyword Match",status:M?Q(T):"warn",finding:M?"".concat(o.matched.length," of ").concat(l.length," job description keywords matched."):"Paste a job description to find role-specific gaps."},{label:"Language Strength",status:Q(k),finding:0===w?"Bullet language looks action-oriented.":"".concat(w," bullets could use stronger ownership or outcomes.")},{label:"ATS Formatting",status:Q(P),finding:"".concat(u.filter(e=>"pass"===e.status).length," of ").concat(u.length," formatting checks passed.")},{label:"Parse Confidence",status:Q(F),finding:"".concat(u.filter(e=>["Readable PDF text","Contact details","Profile parseability","Standard headings","Experience dates","Bullet consistency"].includes(e.label)&&"pass"===e.status).length," core parsing signals passed.")},...I?[I]:[]],strengths:V([y>=Math.ceil(.35*Math.max(i.length,1))?"Several bullets already include numbers, scale, or business impact.":"",N.has("experience")&&N.has("skills")?"Core resume sections are easy to identify.":"",o.matched.length>=3?"Good overlap with ".concat(o.matched.slice(0,3).join(", "),"."):"",u.filter(e=>"pass"===e.status).length>=4?"The PDF text is mostly readable for browser-side parsing.":"",F>=75?"Core profile, section, and experience signals are parseable.":""],["The PDF was readable enough to produce a detailed local report."]),weaknesses:V([0===i.length?"Add achievement bullets under each recent role.":"",y<Math.ceil(.35*Math.max(i.length,1))?"More bullets need numbers, scope, or outcome evidence.":"",o.missing.length>0?"Missing keywords include: ".concat(o.missing.slice(0,4).join(", "),"."):"",N.has("skills")?"":"Add a clearly labeled Skills section.",u.some(e=>"fail"===e.status)?"At least one ATS readability issue needs attention.":"",F<65?"Name, dates, headings, or bullet structure may not parse cleanly.":""],["No major weakness jumped out, but tailoring to the specific job can still lift the match."]),matchedKeywords:o.matched,missingKeywords:o.missing,atsChecks:u,breakdown:[{label:"Impact",value:D(j),detail:"Quantified outcomes and scope."},{label:"Keyword Match",value:D(T),detail:M?"Overlap with the pasted job description.":"Paste a job description for a true match score."},{label:"Structure",value:D(C),detail:"Clear standard resume sections."},{label:"ATS",value:D(P),detail:"Readable PDF text and formatting signals."},{label:"Language",value:D(k),detail:"Action verbs, clarity, and concise wording."}]}}function Y(e){return e>=75?"#16a34a":e>=55?"#d97706":"#dc2626"}function ee(e){return"pass"===e?o().rusTonePass:"warn"===e?o().rusToneWarn:o().rusToneFail}function et(e){let{status:t}=e;return(0,a.jsx)("span",{className:M(o().rusStatusBadge,ee(t)),children:"pass"===t?"OK":"warn"===t?"!":"X"})}function es(e){let{className:t}=e;return(0,a.jsxs)("svg",{className:t,width:"16",height:"16",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M7.5 10V7.5a4.5 4.5 0 0 1 9 0V10",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),(0,a.jsx)("rect",{x:"5",y:"10",width:"14",height:"10",rx:"2.5",stroke:"currentColor",strokeWidth:"2"}),(0,a.jsx)("path",{d:"M12 14v2",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})]})}function ea(e){let{variant:t,source:s}=e,n="final"===t;return(0,a.jsxs)("aside",{className:M(o().rusReportCTA,n&&o().rusReportCTAFinal),children:[(0,a.jsxs)("div",{className:o().rusReportCTACopy,children:[(0,a.jsxs)("span",{className:o().rusLockEyebrow,children:[(0,a.jsx)(es,{}),n?"Complete application package":"Full tailored package"]}),(0,a.jsx)("h3",{children:n?"Get your complete tailored package before you apply.":"Turn this 
1scan into a job-specific application."}),(0,a.jsxs)("ul",{className:o().rusReportCTAList,children:[(0,a.jsx)("li",{children:"Tailored resume matched to the exact job description"}),(0,a.jsx)("li",{children:"Custom cover letter for the company and role"}),(0,a.jsx)("li",{children:"ATS match score with missing keyword gap analysis"}),(0,a.jsx)("li",{children:"Interview talking points and likely questions"}),n&&(0,a.jsx)("li",{children:"Branded PDF, DOCX, and ZIP export ready to submit"})]})]}),(0,a.jsxs)("div",{className:o().rusReportCTAActions,children:[(0,a.jsx)(r.default,{href:"/signup?from=".concat(s),className:o().rusReportCTAButton,children:n?"Generate My Full Package →":"Tailor This Resume →"}),(0,a.jsx)("span",{className:o().rusReportCTATrust,children:"3 complete tailorings free. No credit card required."})]})]})}function er(e){var t,s;let{pageSlug:r,categoryLabel:l}=e,c=function(e){let t=e.toLowerCase();return t.includes("cover letter")||t.includes("package")||t.includes("preparation")?"resume file":t.includes("resume")?e:"".concat(t," resume")}
1(l),[d,u]=(0,n.useState)("idle"),[h,p]=(0,n.useState)(null),[m,g]=(0,n.useState)(""),[b,f]=(0,n.useState)([]),[v,x]=(0,n.useState)(""),[y,w]=(0,n.useState)(!1),[j,k]=(0,n.useState)(0),[A,N]=(0,n.useState)(!1),[S,C]=(0,n.useState)("Waiting for a PDF..."),[P,T]=(0,n.useState)(""),[B,D]=(0,n.useState)(0),L=(0,n.useRef)(null),F=(0,n.useRef)(null),z=(0,n.useMemo)(()=>{if(h)return{background:"conic-gradient(".concat(Y(h.score)," ").concat(3.6*j,"deg, rgba(148, 163, 184, 0.22) 0deg)")}},[j,h]);function Z(e){null!==L.current&&cancelAnimationFrame(L.current),k(0);let t=performance.now();L.current=requestAnimationFrame(function s(a){let r=Math.min((a-t)/850,1);k(Math.round((1-Math.pow(1-r,3))*e)),r<1&&(L.current=requestAnimationFrame(s))})}async function q(e){u("scanning"),p(null),T(""),k(0);try{var t;if((null===(t=e.name.split(".").pop())||void 0===t?void 0:t.toLowerCase())!=="pdf")throw Error("Please upload a PDF resume.");C("Reading the PDF locally with PDF.js..."),await R();let{text:s,lines:a}=await I(e);if(80>E(s))throw Error("This PDF does not appear to contain enough selectable resume text. Try exporting the resume as a text-based PDF.");C("Detecting sections, job blocks, wrapped bullets, and achievements..."),await R();let n=X(s,e.name,y?v:"",l,a);C("Building your free tailoring report..."),await R(),g(s),f(a),p(n),u("done"),D(0),Z(n.score),(0,i.z)({event:"resume_scan_report_used",page_slug:r,file_type:"pdf",score:n.score,bullets_detected:n.bullets.length,jd_provided:n.jdProvided})}catch(e){u("error"),T(e instanceof Error?e.message:"Could not read that PDF. Try a text-based resume PDF.")}}async function G(){if(!m||!h)return;C("Refreshing keyword and bullet matches..."),u("scanning"),await R();let e=X(m,h.fileName,v,l,b);p(e),u("done"),w(!0),Z(e.score),(0,i.z)({event:"resume_scan_report_jd_updated",page_slug:r,score:e.score,jd_provided:e.jdProvided})}function W(){u("idle"),p(null),g(""),f([]),T(""),k(0),C("Waiting for a PDF..."),F.current&&(F.current.value="")}return(0,a.jsxs)("section",{className:M("section",o().rusSection),children:[(0,a.jsx)("div",{className:"kicker",children:"Free resume tailoring report"}),(0,a.jsxs)("h2",{className:"sectionTitle",children:["See how your ",c," matches the job"]}),(0,a.jsx)("p",{className:M("sectionLead",o().rusLead),children:"Upload a PDF resume and optionally paste a job description for a detailed, browser-only report. The scan shows useful gaps for free, then unlocks the full tailored and branded application package when you are ready."}),(0,a.jsxs)("div",{className:o().rusWrap,children:["idle"===d&&(0,a.jsxs)("div",{className:o().rusStarterGrid,children:[(0,a.jsxs)("div",{className:M(o().rusDropZone,A&&o().rusDropZoneOver),onDrop:function(e){var t;e.preventDefault(),N(!1);let s=null===(t=e.dataTransfer.files)||void 0===t?void 0:t[0];s&&q(s)},onDragOver:e=>{e.preventDefault(),N(!0)},onDragLeave:()=>N(!1),onClick:()=>{var e;return null===(e=F.current)||void 0===e?void 0:e.click()},role:"button",tabIndex:0,"aria-label":"Upload PDF resume",onKeyDown:e=>{var t;return"Enter"===e.key&&(null===(t=F.current)||void 0===t?void 0:t.click())},children:[(0,a.jsx)("input",{ref:F,type:"file",accept:".pdf",className:o().rusFileInput,onChange:function(e){var t;let s=null===(t=e.target.files)||void 0===t?void 0:t[0];s&&q(s)},tabIndex:-1,"aria-hidden":"true"}),(0,a.jsx)("span",{className:o().rusDropIconBox,children:(0,a.jsxs)("svg",{width:"30",height:"30",viewBox:"0 0 32 32",fill:"none","aria-hidden":"true",children:[(0,a.jsx)("rect",{x:"5",y:"3",width:"17",height:"23",rx:"2.5",stroke:"currentColor",strokeWidth:"1.8"}),(0,a.jsx)("path",{d:"M18 3v6h6",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M10 14h10M10 18h8M10 22h5",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round"})]})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:o().rusDropTitle,children:"Drop your resume PDF here"}),(0,a.jsxs)("p",{className:o().rusDropSub,children:["or click to browse - ","text-based PDF"]})]}),(0,a.jsx)("span",{className:o().rusPrivacyNote,children:"Processed locally in your browser. Never uploaded for this scan."})]}),(0,a.jsxs)("div",{className:o().rusSidePanel,children:[(0,a.jsxs)("button",{type:"button",className:o().rusToggleButton,onClick:()=>w(e=>!e),"aria-expanded":y,children:[(0,a.jsx)("span",{children:"Analyze with Job Description"}),(0,a.jsx)("span",{className:M(o().rusPill,y?o().rusPillSuccess:o().rusPillMuted),children:y?"On":"Optional"})]}),y&&(0,a.jsxs)("div",{className:o().rusFieldStack,children:[(0,a.jsx)("label",{htmlFor:"quick-scan-jd-".concat(r),children:"Paste target job description"}),(0,a.jsx)("textarea",{id:"quick-scan-jd-".concat(r),className:o().rusTextareaLarge,value:v,onCh
1ange:e=>x(e.target.value),placeholder:"Paste the target job description to get missing keywords and role-specific bullet matches."}),(0,a.jsx)("p",{className:o().rusHelpText,children:"Used locally for regex keyword matching only."})]})]})]}),"scanning"===d&&(0,a.jsxs)("div",{className:o().rusStateBox,children:[(0,a.jsx)("div",{className:o().rusSpinner}),(0,a.jsx)("p",{className:o().rusStateTitle,children:S}),(0,a.jsx)("p",{className:o().rusStateText,children:"Typical 1-2 page resumes finish in a few seconds. Everything is still running locally in the browser."}),(0,a.jsx)("div",{className:o().rusProgressGrid,children:["PDF text","Sections","Bullet scoring"].map(e=>(0,a.jsx)("div",{className:o().rusProgressTrack,children:(0,a.jsx)("span",{})},e))})]}),"error"===d&&(0,a.jsxs)("div",{className:M(o().rusStateBox,o().rusErrorBox),children:[(0,a.jsx)("div",{className:o().rusErrorIcon,children:"!"}),(0,a.jsx)("p",{className:o().rusStateTitle,children:"Could not scan that PDF"}),(0,a.jsx)("p",{className:o().rusStateText,children:P||"Try a text-based PDF. Scanned image PDFs may not contain selectable text."}),(0,a.jsx)("button",{type:"button",className:o().rusTryAgainBtn,onClick:W,children:"Try another file"})]}),"done"===d&&h&&(0,a.jsxs)("div",{className:o().rusResults,children:[(0,a.jsxs)("div",{className:o().rusSummaryCard,children:[(0,a.jsxs)("div",{className:o().rusSummaryText,children:[(0,a.jsx)("span",{className:o().rusFilePill,children:h.fileName}),(0,a.jsx)("h3",{children:"Your Resume Tailoring Report"}),(0,a.jsx)("p",{children:h.jdProvided?"Scanned against ".concat(h.extractedKeywordCount," extracted job keywords. Use the tabs below to explore your results."):"Browser-only resume scan. Add a job description in the Overview tab for keyword gap analysis."}),(0,a.jsx)("button",{type:"button",className:o().rusScanAnother,onClick:W,children:"Scan another PDF"})]}),(0,a.jsxs)("div",{className:o().rusGaugeWrap,children:[(0,a.jsx)("div",{className:o().rusGauge,style:z,children:(0,a.jsxs)("div",{className:o().rusGaugeInner,children:[(0,a.jsxs)("div",{className:o().rusGaugeScore,style:{color:Y(h.score)},children:[j,"%"]}),(0,a.jsx)("div",{className:o().rusGaugeLabel,children:"Overall Match"})]})}),(0,a.jsx)("strong",{style:{color:Y(h.score)},children:(t=h.score,s=h.jdProvided,t>=80?s?"Strong start, tailor deeper":"Strong foundation, add role targeting":t>=65?s?"Good start with job-specific gaps":"Good foundation, add job description":t>=50?"Useful gaps to tailor":"Tailoring can lift this quickly")})]})]}),(0,a.jsxs)("div",{className:o().rusTabWrap,children:[(0,a.jsx)("div",{className:o().rusTabBar,role:"tablist",children:["Overview","Analysis"].map((e,t)=>(0,a.jsx)("button",{role:"tab","aria-selected":B===t,type:"button",className:M(o().rusTab,B===t&&o().rusTabActive),onClick:()=>D(t),children:e},e))}),0===B&&(0,a.jsxs)("div",{className:o().rusTabContent,children:[(0,a.jsx)("div",{className:o().rusBreakdownGrid,children:h.breakdown.map(e=>(0,a.jsxs)("article",{className:o().rusBreakdownCard,children:[(0,a.jsxs)("div",{className:o().rusBreakdownTop,children:[(0,a.jsx)("span",{children:e.label}),(0,a.jsxs)("strong",{children:[e.value,"%"]})]}),(0,a.jsx)("div",{className:o().rusMiniBar,children:(0,a.jsx)("span",{style:{width:"".concat(e.value,"%"),background:Y(e.value)}})}),(0,a.jsx)("p",{children:e.detail})]},e.label))}),(0,a.jsxs)("div",{className:o().rusSidePanel,children:[(0,a.jsxs)("button",{type:"button",className:o().rusToggleButton,onClick:()=>w(e=>!e),"aria-expanded":y,children:[(0,a.jsx)("span",{children:"Analyze with Job Description"}),(0,a.jsx)("span",{className:M(o().rusPill,h.jdProvided?o().rusPillSuccess:o().rusPillWarn),children:h.jdProvided?"Active":"Recommended"})]}),y&&(0,a.jsxs)("div",{className:o().rusRefreshGrid,children:[(0,a.jsxs)("div",{className:o().rusFieldStack,children:[(0,a.jsx)("label",{htmlFor:"quick-scan-jd-refresh-".concat(r),children:"Paste or update job description"}),(0,a.jsx)("textarea",{id:"quick-scan-jd-refresh-".concat(r),className:o().rusTextarea,value:v,onChange:e=>x(e.target.value),placeholder:"Paste the job description to refresh keyword matching."})]}),(0,a.jsx)("button",{type:"button",className:o().rusPrimaryButton,onClick:G,disabled:!m,children:"Analyze Job Match"})]})]})]}),1===B&&(0,a.jsxs)("div",{className:o().rusTabContent,children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:o().rusPanelKicker,children:"Qu
1ick strengths and weaknesses"}),(0,a.jsx)("div",{className:M(o().rusCategoryGrid,o().rusTabSection),children:h.categories.map(e=>(0,a.jsxs)("article",{className:M(o().rusCategoryCard,ee(e.status)),children:[(0,a.jsxs)("div",{className:o().rusCategoryHead,children:[(0,a.jsx)(et,{status:e.status}),(0,a.jsx)("strong",{children:e.label})]}),(0,a.jsx)("p",{children:e.finding})]},e.label))}),(0,a.jsxs)("div",{className:M(o().rusTwoColumn,o().rusTabSection),children:[(0,a.jsxs)("div",{className:M(o().rusCallout,o().rusCalloutGood),children:[(0,a.jsx)("h4",{children:"Strong foundation"}),(0,a.jsx)("ul",{children:h.strengths.map(e=>(0,a.jsx)("li",{children:e},e))})]}),(0,a.jsxs)("div",{className:M(o().rusCallout,o().rusCalloutWarn),children:[(0,a.jsx)("h4",{children:"Tailor next"}),(0,a.jsx)("ul",{children:h.weaknesses.map(e=>(0,a.jsx)("li",{children:e},e))})]})]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:o().rusPanelKicker,children:"ATS formatting checklist"}),(0,a.jsx)("div",{className:M(o().rusAtsGrid,o().rusTabSection),children:h.atsChecks.map(e=>(0,a.jsxs)("article",{className:M(o().rusAtsCard,ee(e.status)),children:[(0,a.jsx)(et,{status:e.status}),(0,a.jsxs)("div",{children:[(0,a.jsx)("strong",{children:e.label}),(0,a.jsx)("p",{children:e.detail})]})]},e.label))})]})]})]}),(0,a.jsx)(ea,{variant:"final",source:"quick_scan_report_cta"})]})]})]})}}}]);

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.