1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5923,506],{69842:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/my-jobs/resume/[id]",function(){return r(41472)}])},42949:function(e,t,r){"use strict";r.d(t,{q:function(){return s}});var a=r(85893);r(67294);var n=r(54271);function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:26;return(0,a.jsx)(n.ZP,{variant:e,size:t,density:"full",animated:!0})}},70506:function(e,t,r){"use strict";r.r(t),r.d(t,{ColoredResume:function(){return N}});var a=r(85893);r(67294);var n=r(68479),s=r(7218),i=r(99617),c=r(88202),o=r(35598),l=r(98461),d=r(61848),m=r(2623),f=r(92961),u=r(79695),h=r(86156),p=r(28159),x=r(66462),g=r(58197),b=r(45189),y=r(83894),v=r(14040),w=r(89362);let j={small:.9,medium:1,large:1.1},N=e=>{let t,{resume:r,template:N,colorSchemeId:k,fontSchemeId:S="calibri",fontSizeScheme:I="medium",className:F="",highlightKeywords:D}=e,C=(0,n.Jm)(k),E=(0,s.A)(S),A=j[I]||1;switch(N){case"ats-professional":default:t=c.t;break;case"ats-modern":t=o.$;break;case"ats-executive":t=l.q;break;case"ats-minimalist":t=d.A;break;case"ats-creative":t=m.K;break;case"ats-technical":t=f.i;break;case"ats-compact":t=u.x;break;case"ats-timeline":t=h.F;break;case"ats-sidebar":t=p.O;break;case"ats-classic-traditional":t=x.x;break;case"ats-executive-bold":t=g.J;break;case"ats-modern-accent":t=b.l;break;case"ats-elegant-simple":t=y.W;break;case"ats-principal-architect":t=v.a;break;case"ats-staff-engineer":t=w.v}let T="".concat(N,"-").concat(k,"-").concat(S,"-").concat(I),R=(0,i.sortGeneratedResume)(r),L=e=>{if(null==e)return;let t=String(e).trim();if(!t||/present|current/i.test(t))return;let r=t.match(/^(\d{1,2})\/(\d{4})$/);if(r)return parseInt(r[2],10);let a=t.match(/^(\d{4})-(\d{1,2})$/);if(a)return parseInt(a[1],10);let n=t.match(/(19|20)\d{2}/);if(n)return parseInt(n[0],10)},M={...R,education:(R.education||[]).map(e=>{var t,r;return{...e,startYear:null!==(t=e.startYear)&&void 0!==t?t:L(e.startDate||e.start||e.year),endYear:null!==(r=e.endYear)&&void 0!==r?r:L(e.endDate||e.graduationDate||e.end||e.year)}})};return(0,a.jsx)("div",{className:"resume-container ".concat(F),children:(0,a.jsx)(t,{resume:M,colorScheme:C,fontScheme:E,fontSizeMultiplier:A,highlightKeywords:D})},T)}},26709:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var a=r(85893);r(67294);var n=r(92761),s=r(79298),i=r(11163),c=r(67694);function o(e){let{title:t,subtitle:r,onPrimary:o,primaryLabel:l,showBack:d=!0}=e,m=(0,i.useRouter)(),{theme:f}=(0,c.F)();return(0,a.jsx)("div",{className:"md:hidden sticky top-12 z-40 px-3 py-2.5 transition-colors ".concat("dark"===f?"bg-[#1A1A1B] border-b border-[#343536]":"bg-white border-b border-[#EDEFF1]"),children:(0,a.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[d?(0,a.jsx)(s.hU,{onClick:()=>m.back(),icon:n.Z,"aria-label":"Back",variant:"ghost",size:"sm"}):(0,a.jsx)("div",{className:"w-9 h-9","aria-hidden":!0}),(0,a.jsxs)("div",{className:"flex-1 text-center min-w-0",children:[t&&(0,a.jsx)("div",{className:"font-semibold text-sm truncate ".concat("dark"===f?"text-white":"text-gray-900"),children:t}),r&&(0,a.jsx)("div",{className:"text-xs truncate ".concat("dark"===f?"text-[#818384]":"text-gray-500"),children:r})]}),(0,a.jsx)("div",{className:"flex-shrink-0 flex items-center justify-end",children:o?(0,a.jsx)(s.zx,{onClick:o,size:"sm",variant:"primary",className:"text-xs px-2.5 py-1.5 whitespace-nowrap",children:l||"Done"}):(0,a.jsx)("div",{className:"w-9 h-9","aria-hidden":!0})})]})})}},68479:function(e,t,r){"use strict";r.d(t,{Jm:function(){return n},R:function(){return a}});let a=[{id:"professional-blue",name:"Professional Blue",description:"Classic corporate blue - trusted by Fortune 500",colors:{primary:"#0066CC",secondary:"#0052A3",text:"#1a1a1a",textLight:"#666666",background:"#ffffff",surface:"#f8f9fa",border:"#e0e0e0"},preview:{gradient:"linear-gradient(135deg, #0066CC 0%, #0052A3 100%)"}},{id:"executive-green",name:"Executive Green",description:"Sophisticated green - perfect for finance & consulting",colors:{primary:"#2C5F2D",secondary:"#1E4620",text:"#1a1a1a",textLight:"#5a5a5a",background:"#ffffff",surface:"#f7f9f7",border:"#d8e2d8"},preview:{gradient:"linear-gradient(135deg, #2C5F2D 0%, #1E4620 100%)"}},{id:"modern-purple",name:"Modern Purple",description:"Creative purple - ideal for tech & creative industries",colors:{primary:"#6B46C1",secondary:"#553C9A",text:"#2d3748",textLight:"#718096",background:"#ffffff",surface:"#faf5ff",border:"#e9d8fd"},preview:{gradient:"linear-gradient(135deg, #6B46C1 0%, #553C9A 100%)"}},{id:"creative-orange",name:"Creative Orange",description:"Bold orange - stand out in marketing & design roles",colors:{primary:"#E67E22",secondary:"#CA6510",text:"#2c3e50",textLight:"#7f8c8d",background:"#ffffff",surface:"#fef5e7",border:"#f0b27a"},preview:{gradient:"linear-gradient(135deg, #E67E22 0%, #CA6510 100%)"}}
1,{id:"tech-teal",name:"Tech Teal",description:"Modern teal - preferred by software engineers",colors:{primary:"#008080",secondary:"#006666",text:"#1a202c",textLight:"#4a5568",background:"#ffffff",surface:"#f0fdfa",border:"#99f6e4"},preview:{gradient:"linear-gradient(135deg, #008080 0%, #006666 100%)"}},{id:"minimal-black",name:"Minimal Black",description:"Timeless monochrome - maximum professionalism",colors:{primary:"#000000",secondary:"#2d3748",text:"#1a1a1a",textLight:"#666666",background:"#ffffff",surface:"#f7fafc",border:"#e2e8f0"},preview:{gradient:"linear-gradient(135deg, #000000 0%, #2d3748 100%)"}}],n=e=>{if(e&&"none"!==e&&"default"!==e)return a.find(t=>t.id===e)}},99617:function(e,t,r){"use strict";function a(e){if(!e)return;let t=String(e).trim(),r=t.match(/^(\d{4})-(\d{2})$/);if(r){let e=parseInt(r[1],10),t=parseInt(r[2],10);if(t>=1&&t<=12)return new Date(e,t-1,1)}let a=t.match(/^(\d{1,2})\/(\d{4})$/);if(a){let e=parseInt(a[1],10),t=parseInt(a[2],10);if(e>=1&&e<=12)return new Date(t,e-1,1)}let n=t.match(/^([A-Za-z]+)\s+(\d{4})$/);if(n){let e=n[1].toLowerCase(),t=parseInt(n[2],10),r={jan:1,january:1,feb:2,february:2,mar:3,march:3,apr:4,april:4,may:5,jun:6,june:6,jul:7,july:7,aug:8,august:8,sep:9,sept:9,september:9,oct:10,october:10,nov:11,november:11,dec:12,december:12}[e];if(r)return new Date(t,r-1,1)}let s=t.match(/(19|20)\d{2}/);if(s)return new Date(parseInt(s[0],10),0,1)}function n(e){return e?e.toLocaleDateString("en-US",{month:"short",year:"numeric"}):""}function s(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e||"string"!=typeof e||""===e.trim())return t?"Present":"â";let r=e.trim(),a=r.toLowerCase();if("present"===a||"current"===a||a.includes("present")||a.includes("current"))return"Present";let n=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];if(r.includes("/")){let e=r.split("/");if(2===e.length){let t=parseInt(e[0],10),r=e[1];if(!Number.isNaN(t)&&t>=1&&t<=12)return"".concat(n[t-1]," ").concat(r)}}if(r.includes("-")){let e=r.split("-");if(e.length>=2&&4===e[0].length){let t=e[0],r=parseInt(e[1],10);if(!Number.isNaN(r)&&r>=1&&r<=12)return"".concat(n[r-1]," ").concat(t)}}return r}function i(e){if(!e||"string"!=typeof e)return -864e13;let t=e.trim().toLowerCase();if("present"===t||"current"===t)return Number.POSITIVE_INFINITY;let r=t.match(/^(\d{1,2})\/(\d{4})$/);if(r){let e=parseInt(r[1],10)-1;return new Date(parseInt(r[2],10),Math.max(0,e),1).getTime()}let a=t.match(/^(\d{4})-(\d{1,2})$/);if(a)return new Date(parseInt(a[1],10),Math.max(0,parseInt(a[2],10)-1),1).getTime();let n=t.match(/^(\d{4})$/);if(n)return new Date(parseInt(n[1],10),0,1).getTime();let s=Date.parse(t);return Number.isNaN(s)?-864e13:s}function c(e){return[...e].sort((e,t)=>{let r="string"==typeof e.endDate&&""!==e.endDate.trim()?i(e.endDate):Number.POSITIVE_INFINITY,a="string"==typeof t.endDate&&""!==t.endDate.trim()?i(t.endDate):Number.POSITIVE_INFINITY;if(r===a){let r=i(e.startDate);return i(t.startDate)-r}return a-r})}function o(e){return e&&Array.isArray(e.experiences)?{...e,experiences:c(e.experiences)}:e}r.r(t),r.d(t,{formatMonthYearLocal:function(){return n},formatResumeDate:function(){return s},parseDateForSort:function(){return i},parseYearMonthToLocalDate:function(){return a},sortExperiencesDesc:function(){return c},sortGeneratedResume:function(){return o}}),t.default={parseYearMonthToLocalDate:a,formatMonthYearLocal:n}},7218:function(e,t,r){"use strict";r.d(t,{A:function(){return n},R:function(){return a}});let a=[{id:"calibri",name:"Calibri",description:"Modern, clean, and professional - Default Windows font",fontFamily:"'Calibri', 'Arial', sans-serif",category:"modern"},{id:"inter",name:"Inter (local)",description:"Modern variable typeface â preferred for PDF rendering when bundled in /public/fonts",fontFamily:"'InterLocal', 'Inter', 'Arial', sans-serif",category:"modern"},{id:"arial",name:"Arial",description:"Universal, highly readable, maximum ATS compatibility",fontFamily:"'Arial', 'Helvetica Neue', 'Helvetica', sans-serif",category:"professional"},{id:"georgia",name:"Georgia",description:"Serif font, traditional and elegant",fontFamily:"'Georgia', 'Times New Roman', serif",category:"classic"},{id:"times",name:"Times New Roman",description:"Classic serif, academic and formal",fontFamily:"'Times New Roman', 'Times', serif",category:"classic"}],n=e=>a.find(t=>
1t.id===e)||a[0]},12779:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});let a=(0,r(63759).Z)("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]])},41472:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return I}});var a=r(85893),n=r(67294),s=r(9008),i=r.n(s),c=r(41664),o=r.n(c),l=r(11163),d=r(92761),m=r(33058),f=r(80893),u=r(60641),h=r(12779),p=r(2553),x=r(15432),g=r(42171),b=r(86501),y=r(85412),v=r(26709),w=r(70506),j=function(e){let{children:t,className:r="",previewId:s="resume-preview"}=e,i=(0,n.useRef)(null),c=(0,n.useRef)(null),[o,l]=(0,n.useState)(1),[d,m]=(0,n.useState)(0);return(0,n.useEffect)(()=>{let e=i.current,t=c.current;if(!e||!t)return;let r=()=>{l(Math.min(1,Math.max(.32,e.clientWidth/816))),m(t.scrollHeight)};r();let a=new ResizeObserver(r);return a.observe(e),a.observe(t),window.addEventListener("resize",r),window.addEventListener("orientationchange",r),()=>{a.disconnect(),window.removeEventListener("resize",r),window.removeEventListener("orientationchange",r)}},[t]),(0,a.jsx)("div",{ref:i,className:"w-full overflow-hidden ".concat(r),children:(0,a.jsx)("div",{className:"mx-auto",style:{width:816*o,height:d>0?d*o:void 0},children:(0,a.jsx)("div",{ref:c,id:s,className:"bg-white shadow-2xl rounded-sm",style:{width:816,transform:"scale(".concat(o,")"),transformOrigin:"top left"},children:t})})})},N=r(67694),k=r(42949),S=r(7218),I=function(){let{id:e}=(0,l.useRouter)().query,{theme:t}=(0,N.F)(),r="dark"===t,[s,c]=(0,n.useState)(!0),[I,F]=(0,n.useState)(null),[D,C]=(0,n.useState)(null),[E,A]=(0,n.use
1State)(!1),[T,R]=(0,n.useState)(!1);(0,n.useEffect)(()=>{let e=window.matchMedia("(min-width: 1024px)");A(e.matches);let t=e=>A(e.matches);return e.addEventListener("change",t),()=>e.removeEventListener("change",t)},[]),(0,n.useEffect)(()=>{if(!e||"string"!=typeof e)return;let t=!1;return c(!0),F(null),fetch("/api/jobs/resumes/".concat(encodeURIComponent(e)),{credentials:"include"}).then(async e=>{let r=await e.json().catch(()=>({}));if(!e.ok)throw Error(r.message||"Resume not found");t||C(r.resume)}).catch(e=>{t||F(e.message||"Failed to load resume")}).finally(()=>{t||c(!1)}),()=>{t=!0}},[e]);let L=(0,n.useCallback)(async()=>{var e,t,r;if(!(null==D?void 0:D.content))return;R(!0);let a="".concat(((null===(e=D.content.personalInfo)||void 0===e?void 0:e.fullName)||D.jobTitle).replace(/[^a-zA-Z0-9]/g,"_"),".pdf");try{let e=null===(t=(0,S.A)(D.styling.fontSchemeId))||void 0===t?void 0:t.fontFamily,n=await fetch("/api/export/server-pdf",{method:"POST",headers:{"Content-Type":"application/json"},credentials:"include",body:JSON.stringify({resume:D.content,templateId:D.styling.template||D.template,fileName:a,fontSchemeId:D.styling.fontSchemeId,fontFamily:e,colorSchemeId:D.styling.colorSchemeId,fontSizeScheme:D.styling.fontSizeScheme,highlightKeywords:D.highlightKeywords})});if(n.ok&&(null===(r=n.headers.get("content-type"))||void 0===r?void 0:r.includes("application/pdf"))){let e=await n.arrayBuffer(),t=new Blob([e],{type:"application/pdf"}),r=window.URL.createObjectURL(t),s=document.createElement("a");s.href=r,s.download=a,document.body.appendChild(s),s.click(),s.remove(),window.URL.revokeObjectURL(r),b.default.success("PDF downloaded",{icon:(0,k.q)("profile")});return}throw Error("PDF generation failed")}catch(e){b.default.error("Download failed. Please try again.",{icon:(0,k.q)("warn")})}finally{R(!1)}},[D]),M=r?"bg-[#18181b] border border-[#343536] shadow-xl shadow-black/20":"bg-white border border-gray-200/80 shadow-lg shadow-gray-200/50",Z=r?"text-[#9ca3af]":"text-gray-500";return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i(),{children:(0,a.jsxs)("title",{children:[D?"".concat(D.jobTitle," â Resume"):"Resume"," | My Jobs | TrueResume"]})}),(0,a.jsx)(y.Z,{}),(0,a.jsx)(v.Z,{title:"Resume preview",subtitle:(null==D?void 0:D.jobTitle)||"My jobs"}),(0,a.jsx)("div",{className:"min-h-screen pt-12 sm:pt-16 pb-[calc(5.5rem+env(safe-area-inset-bottom,0px))] md:pb-10 ".concat(r?"bg-[#030303] text-white":"bg-[#f8fafc] text-gray-900"),children:(0,a.jsxs)("div",{className:"max-w-7xl mx-auto px-3 sm:px-6 lg:px-8 py-4 sm:py-8",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-3 sm:gap-4 sm:flex-row sm:items-center sm:justify-between mb-4 sm:mb-6",children:[(0,a.jsxs)("div",{className:"flex items-start gap-3 min-w-0",children:[(0,a.jsx)(o(),{href:"/my-jobs",className:"shrink-0 mt-0.5 inline-flex items-center justify-center w-9 h-9 rounded-lg border transition-colors ".concat(r?"border-[#343536] hover:bg-[#272729] text-[#D7DADC]":"border-gray-200 hover:bg-gray-50 text-gray-600"),"aria-label":"Back to My Jobs",children:(0,a.jsx)(d.Z,{className:"w-4 h-4"})}),(0,a.jsx)("div",{className:"min-w-0",children:s?(0,a.jsx)("div",{className:"h-7 w-48 rounded animate-pulse ".concat(r?"bg-[#272729]":"bg-gray-200")}):D?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("h1",{className:"text-lg sm:text-2xl font-bold truncate",children:D.jobTitle}),(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-x-2 gap-y-1 mt-1 text-xs sm:text-sm ".concat(Z),children:["number"==typeof D.matchScore&&D.matchScore>0&&(0,a.jsxs)("span",{className:"sm:hidden inline-flex items-center gap-1 font-bold text-emerald-600",children:[(0,a.jsx)(m.Z,{className:"w-3.5 h-3.5"}),Math.round(D.matchScore),"% match"]}),D.companyName&&(0,a.jsxs)("span",{className:"inline-flex items-center gap-1",children:[(0,a.jsx)(f.Z,{className:"w-3.5 h-3.5"}),D.companyName]}),(0,a.jsx)("span",{children:function(e){try{return new Date(e).toLocaleDateString(void 0,{month:"short",day:"numeric",year:"numeric"})}catch(e){return""}}(D.createdAt)}),(0,a.jsx)("span",{className:"capitalize",children:D.styling.template||D.template}),D.linkedApplications>0&&(0,a.jsxs)("span",{children:[D.linkedApplications," linked app",1===D.linkedApplications?""
1:"s"]})]})]}):(0,a.jsx)("h1",{className:"text-xl font-bold",children:"Resume not found"})})]}),D&&(0,a.jsxs)("div",{className:"hidden sm:flex flex-wrap items-center gap-2 sm:shrink-0",children:["number"==typeof D.matchScore&&D.matchScore>0&&(0,a.jsxs)("span",{className:"inline-flex items-center gap-1.5 px-3 py-1.5 rounded-full text-sm font-bold bg-emerald-500/15 text-emerald-600 border border-emerald-500/20",children:[(0,a.jsx)(m.Z,{className:"w-4 h-4"}),Math.round(D.matchScore),"% match"]}),(0,a.jsxs)("button",{type:"button",onClick:()=>void L(),disabled:T,className:"inline-flex items-center gap-2 px-4 py-2.5 rounded-xl text-sm font-semibold bg-[#FF4500] text-white hover:bg-[#e03e00] disabled:opacity-60 transition-colors",children:[T?(0,a.jsx)(u.Z,{className:"w-4 h-4 animate-spin"}):(0,a.jsx)(h.Z,{className:"w-4 h-4"}),"Download PDF"]})]})]}),s&&(0,a.jsxs)("div",{className:"grid lg:grid-cols-12 gap-6",children:[(0,a.jsx)("div",{className:"lg:col-span-4 h-64 rounded-2xl animate-pulse ".concat(r?"bg-[#272729]":"bg-gray-200")}),(0,a.jsx)("div",{className:"lg:col-span-8 h-[70vh] rounded-2xl animate-pulse ".concat(r?"bg-[#272729]":"bg-gray-200")})]}),I&&!s&&(0,a.jsxs)("div",{className:"rounded-2xl p-8 text-center ".concat(M),children:[(0,a.jsx)(p.Z,{className:"w-12 h-12 mx-auto mb-3 ".concat(Z)}),(0,a.jsx)("p",{className:"mb-4",children:I}),(0,a.jsx)(o(),{href:"/my-jobs",className:"text-[#FF4500] font-semibold hover:underline",children:"Back to My Jobs"})]}),D&&!s&&(0,a.jsxs)("div",{className:"grid lg:grid-cols-12 gap-4 sm:gap-6 items-start",children:[(0,a.jsx)("div",{className:"lg:col-span-4 lg:sticky lg:top-20 order-1",children:(0,a.jsxs)("div",{className:"rounded-2xl overflow-hidden ".concat(M),children:[(0,a.jsx)("div",{className:"h-1 ".concat("bg-gradient-to-r from-[#FF4500] via-[#ff6b35] to-[#ff8c42]")}),(0,a.jsxs)("button",{type:"button",onClick:()=>A(e=>!e),className:"w-full flex items-center justify-between gap-3 px-4 py-3.5 text-left border-b ".concat(r?"border-[#343536] hover:bg-[#272729]/50":"border-gray-100 hover:bg-gray-50"),children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-xs font-bold uppercase tracking-wider text-[#FF4500]",children:"Job description"}),(0,a.jsx)("p",{className:"text-sm font-medium mt-0.5 ".concat(r?"text-white":"text-gray-900"),children:"Tailored for this resume"})]}),E?(0,a.jsx)(x.Z,{className:"w-5 h-5 shrink-0 ".concat(Z)}):(0,a.jsx)(g.Z,{className:"w-5 h-5 shrink-0 ".concat(Z)})]}),E&&(0,a.jsx)("div",{className:"p-3 sm:p-4 max-h-[min(45vh,420px)] sm:max-h-[min(60vh,520px)] overflow-y-auto overscroll-contain",children:(0,a.jsx)("p",{className:"text-sm leading-relaxed whitespace-pre-wrap ".concat(Z),children:D.jobDescription||"No job description saved for this resume."})}),!E&&(0,a.jsx)("p",{className:"px-4 py-3 text-xs ".concat(Z),children:"Click to expand the full job description"}),(0,a.jsxs)("div",{className:"px-4 py-3 border-t text-xs space-y-1.5 ".concat(r?"border-[#343536] bg-[#0f0f10]/50":"border-gray-100 bg-gray-50/80"),children:[(0,a.jsxs)("p",{className:Z,children:[(0,a.jsx)("span",{className:"font-semibold text-[#FF4500]",children:"Font:"})," ",D.styling.fontSchemeId]}),(0,a.jsxs)("p",{className:Z,children:[(0,a.jsx)("span",{className:"font-semibold text-[#FF4500]",children:"Color:"})," ",D.styling.colorSchemeId]}),(0,a.jsxs)("p",{className:Z,children:[(0,a.jsx)("span",{className:"font-semibold text-[#FF4500]",children:"Size:"})," ",D.styling.fontSizeScheme]})]})]})}),(0,a.jsx)("div",{className:"lg:col-span-8 order-2",children:(0,a.jsxs)("div",{className:"rounded-2xl overflow-hidden ".concat(M),children:[(0,a.jsxs)("div",{className:"flex items-center justify-between px-3 sm:px-4 py-2.5 sm:py-3 border-b ".concat(r?"border-[#343536]":"border-gray-100"),children:[(0,a.jsxs)("p",{className:"text-sm font-semibold inline-flex items-center gap-2",children:[(0,a.jsx)(p.Z,{className:"w-4 h-4 text-[#FF4500]"}),"Resume preview"]}),(0,a.jsx)("span",{className:"hidden sm:inline text-xs ".concat(Z),children:"Same template & styling as generated"})]}),(0,a.jsx)("div",{className:"p-2 sm:p-6 bg-[#e5e7eb]/40",children:(0,a.jsx)(j,{children:(0,a.jsx)(w.ColoredResume,{resume:D.content,template:D.styling.template||D.template,colorSchemeId:D.styling.colorSchemeId,fontSchemeId:D.styling.fontSchemeId,fontSizeScheme:D.styling.fontSizeScheme,highlightKeywords:D.highlightKeywords})})})]})})]})]})}),D&&!s&&(0,a.jsxs)("div",{className:"md:hidden fixed bottom-0 inset-x-0 z-40 border-t px-3 py-3 flex gap-2 safe-area-pb ".concat(r?"bg-[#18181b]/95 border-[#343536] backdrop-blur-md":"bg-white/95 border-gray-200 backdrop-blur-md"),style:{paddingBottom:"max(0.75rem, env(safe-area-inset-bottom))"},children:["number"==typeof D.matchScore&&D.matchScore>0&&(0,a.jsxs)("span",{className:"inline-flex items-center shrink-0 px-2.5 py-2 rounded-xl text-xs font-bold bg-emerald-500/15 text-emerald-600 border border-emerald-500/20",children:[Math.round(D.matchScore),"%"]}),(0,a.jsx)(o(),{href:"/my-jobs",className:"flex-1 py-2.5 rounded-xl text-center text-sm font-medium border min-h-[44px] flex items-center justify-center ".concat(r?"border-[#343536] text-white":"border-gray-200 text-gray-700"),children:"My Jobs"}),(0,a.jsxs)("button",{type:"button",onClick:()=>void L(),disabled:T,className:"flex-[2] py-2.5 rounded-xl text-sm font-semibold bg-[#FF4500] text-white disabled:opacity-60 inline-flex items-center justify-center gap-2 min-h-[44px]",children:[T?(0,a.jsx)(u.Z,{className:"w-4 h-4 animate-spin"}):(0,a.jsx)(h.Z,{className:"w-4 h-4"}),"Download"]})]})]})}}},function(e){e.O(0,[4968,1296,5412,4948,3755,2888,9774,179],function(){return e(e.s=69842)}),_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.