import{R as e}from"./TranslationHelpers.U8cFbeMe.js";const r=i=>{const n=i.toLowerCase();return"eml,msg".indexOf(n)>-1?e.mail:"doc,docx,docm,docb,dot,dotm".indexOf(n)>-1?e.wordDocument:"xls,xlsx,xlst,xlt,xlsm,xltx,xltm,xslb,xla,xlam,xll,xlw,ods,xlr".indexOf(n)>-1?e.excelDocument:"ppt,pptx,pptm,potx,potm,ppam,ppsx,ppsm,sldx,sldm".indexOf(n)>-1?e.powerPointDocument:"pub".indexOf(n)>-1?e.publisherDocument:n.indexOf("pdf")>-1?e.pdfDocument:"one,notebooks".indexOf(n)>-1?e.oneNoteDocument:"png,jpg,jpeg,tif,psd,ps,ai,gif,bmp,svg,ico".indexOf(n)>-1?e.image:"avi,flv,h264,m4v,mov,mp4,mpg,mpeg,swf,vob,wmv,3gp,3g2".indexOf(n)>-1?e.video:"aif,cda,mid,mp3,mpa,ogg,wav,wma,wpl".indexOf(n)>-1?e.audio:"odt,rtf,txt,tex,wpd,log,cfg,".indexOf(n)>-1?e.unkownDocumentType:"zip,7z,arj,deb,pkg,rar,rpm,tar,bin,iso,dmg,vcd,toast,bak,cab,jar".indexOf(n)>-1?e.archive:"csv,sql".indexOf(n)>-1?e.database:"exe,com,lib,bat,ps1,cgi,pl,msi,dll".indexOf(n)>-1?e.script:"lnk".indexOf(n)>-1?e.link:e.unknown},o=i=>{const n=i.toLowerCase();return"powerpoint".indexOf(n)>-1?e.powerPointDocument:"word".indexOf(n)>-1?e.wordDocument:"excel".indexOf(n)>-1?e.excelDocument:"onenote,onenotepage".indexOf(n)>-1?e.oneNoteDocument:"publisher".indexOf(n)>-1?e.publisherDocument:"archive".indexOf(n)>-1?e.archive:"csv,access".indexOf(n)>-1?e.database:"pdf".indexOf(n)>-1?e.pdfDocument:"mail".indexOf(n)>-1?e.pdfDocument:"image".indexOf(n)>-1?e.image:"video".indexOf(n)>-1?e.video:"audio".indexOf(n)>-1?e.audio:"text".indexOf(n)>-1?e.unkownDocumentType:"folder".indexOf(n)>-1?e.folder:e.unknown};export{o as a,r as g};
//# sourceMappingURL=ResultTypeHelpers.DYCa7pcz.js.map
