1function C(l,a=[]){if(!l)return"";const r=String(l).trim();if(!r)return"";if(Array.isArray(a)&&a.length>0){const e=a.find(t=>t?.id===r||t?.empCode&&String(t.empCode).toLowerCase()===r.toLowerCase());if(e){const t=`${e.firstName||""} ${e.lastName||""}`.trim();if(t)return t}const i=a.find(t=>{const o=`${t?.firstName||""} ${t?.lastName||""}`.trim().toLowerCase();return o&&o===r.toLowerCase()});if(i)return`${i.firstName||""} ${i.lastName||""}`.trim();const u=r.toLowerCase().split(/\s+/).map(t=>t.replace(/[^a-zA-Z0-9]/g,"")).filter(Boolean),w=Array.from(new Set(u)),m=a.find(t=>{const o=(t?.firstName||"").toLowerCase().trim(),c=(t?.lastName||"").toLowerCase().trim();if(!o&&!c)return!1;const p=`${o} ${c}`.split(/\s+/).map(n=>n.replace(/[^a-zA-Z0-9]/g,"")).filter(Boolean);return p.length===0?!1:p.every(n=>w.some(f=>f===n||f.startsWith(n)||n.startsWith(f)))});if(m)return`${m.firstName||""} ${m.lastName||""}`.trim()}const d=r.split(/\s+/),s=[];for(const e of d)(s.length===0||s[s.length-1].toLowerCase()!==e.toLowerCase())&&s.push(e);return s.join(" ")}export{C as r};
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.