PageSourceSearch

https://careerplatform.io/assets/resume-docx-DxYvd0Ei.js

js careerplatform.io collected 2026-10-02 02:00:51 UTC 1,634 bytes, 1 lines download raw bytes

1import{ay as P}from"./index-P6gp-aZt.js";import{n as E,o as k,p as L,F as N,G as R,H as S,S as v,b as u,a as z}from"./resume-tailor-version-arJFjEhY.js";import"./resume-source-hygiene-BnELtta6.js";const t=n=>Math.round(n*1440),b=n=>Math.round(n*2),l=n=>Math.round(n*20),F=.3;async function A(n,g){const{Document:T,Packer:f,Paragraph:x,TextRun:i,Tab:m,TabStopType:w}=await P(async()=>{const{Document:e,Packer:o,Paragraph:c,TextRun:p,Tab:r,TabStopType:h}=await import("./index-C3jBQdhY.js");return{Document:e,Packer:o,Paragraph:c,TextRun:p,Tab:r,TabStopType:h}},[]);function _(e){const o=b(e.size),c=e.text.slice(e.marker.length),p=Math.max(0,e.boldPrefix-e.marker.length),r=c.slice(0,p),h=c.slice(p);if(!e.marker&&!r)return[new i({text:e.text,bold:e.bold,size:o,characterSpacing:e.tracked?l(F):void 0})];const d=[];return e.marker&&d.push(new i({text:e.marker.trimEnd(),bold:e.bold,size:o})),r?(d.push(new i({children:e.marker?[new m,r]:[r],bold:!0,size:o})),h&&d.push(new i({text:h,bold:e.bold,size:o}))):d.push(new i({children:[new m,c],bold:e.bold,size:o})),d}const s=E(g??void 0),y=k(n,s),a=L(s),I=new T({styles:{default:{document:{run:{font:N[s.font].docx,size:b(S(s.bodyPt).body)}}}},sections:[{properties:{page:{size:{width:t(a.widthIn),height:t(a.heightIn)},margin:{top:t(a.marginYIn),bottom:t(a.marginYIn),left:t(a.marginXIn),right:t(a.marginXIn)}}},children:y.map(e=>new x({indent:e.indent?{left:t(u),hanging:t(z)}:void 0,tabStops:e.marker?[{type:w.LEFT,position:t(u)}]:void 0,spacing:{line:R(e.size,s),lineRule:"exact",...e.spaceBefore?{before:l(v)}:{}},children:_(e)}))}]});return f.toBlob(I)}export{A as buildResumeDocx};

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.