1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="01a113cc-3e1d-7a72-aec4-987fcb2a8049")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[74281],{74281:(e,t,r)=>{r.d(t,{downloadCvWorkspaceWorkbook:()=>c});var n=r(95742),s=r(22560),o=r(84981);let a={key:"authorsExport",label:"Authors",sortable:!1,visible:!0,accessor:e=>(0,s.zs)(e,"publicationAuthors")||(0,s.zs)(e,"authorsPresentations")};async function c(e){var t,c;let i=await r.e(10343).then(r.t.bind(r,39280,23)),l=new(null!=(t=i.Workbook)?t:i.default.Workbook);l.creator="Connectogen",l.created=new Date;let u=new Set,d=0,f=0;for(let t of Object.keys(e.rowsBySection).sort((e,t)=>(0,n.Ck)(e).localeCompare((0,n.Ck)(t)))){let r=null!=(c=e.rowsBySection[t])?c:[];if(0===r.length)continue;let i=function(e){let t=(0,n.zM)(e);return(()=>{switch(t){case"positions":return(0,o.ZV)();case"education":return(0,o.$X)();case"funding":return(0,o.Kf)();case"publications":return[...(0,o.R$)(),a];case"activities":return(0,o.a6)();case"other_cv_entries":return(0,o.W)();case"memberships":return(0,o.E8)();case"credentials":return(0,o.VO)();
1case"recognitions":return(0,o.Vm)();case"peer_review":return(0,o.hI)();case"teaching":return(0,o.sc)();case"mentorships":return(0,o.LY)();case"intellectual_property":return(0,o.y9)();case"professional_invitations":return(0,o.e3)();case"abstract_presentations":return[...(0,o.JM)(),a];case"narratives":return(0,o.ok)();case"skills":return(0,o.DU)();case"research_focus":return(0,o.Q5)();case"profile_identifiers":case"identifiers":return(0,o.V7)();default:return[]}})().filter(e=>!e.isActionColumn&&"sourceAttachment"!==e.key&&("isVerified"!==e.key||!e.renderCell))}(t);if(0===i.length)continue;let h=l.addWorksheet(function(e,t){let r=e.replace(/[:\\/?*[\]]/g," ").replace(/\s+/g," ").trim();r||(r="Sheet"),r.length>31&&(r=r.slice(0,31));let n=r,s=2;for(;t.has(n.toLowerCase());){let e=" (".concat(s,")");n="".concat(r.slice(0,Math.max(1,31-e.length))).concat(e),s+=1}return t.add(n.toLowerCase()),n}((0,n.Ck)((0,n.zM)(t)),u));for(let t of(h.addRow(i.map(e=>e.label)),h.getRow(1).font={bold:!0},r))h.addRow(function(e,t,r){let n="string"==typeof e.userId?e.userId:"",o={...e,userName:(0,s.b$)(r[n]),userId:n};return t.map(e=>{let t=e.accessor(o),r=e.formatter?e.formatter(t):t;return null==r?"":String(r)})}(t,i,e.users)),d+=1;f+=1}let h=new Blob([await l.xlsx.writeBuffer()],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}),p=URL.createObjectURL(h),k=document.createElement("a"),b=new Date().toISOString().slice(0,10);return k.href=p,k.download="cv-workspace-".concat(b,".xlsx"),k.style.visibility="hidden",document.body.appendChild(k),k.click(),document.body.removeChild(k),URL.revokeObjectURL(p),{sheetCount:f,rowCount:d}}}}]); 2//# chunkId=01a113cc-3e1d-7a72-aec4-987fcb2a8049
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.