const a={Bash:{name:"Bash",ext:"sh",aliases:["bash","shell","sh"]},Calc:{name:"Calc",ext:"calc",aliases:["calc"]},Dockerfile:{name:"Dockerfile",ext:null,aliases:["dockerfile"]},HTML:{name:"HTML",ext:"html",aliases:["html"]},JavaScript:{name:"JavaScript",ext:"js",aliases:["javascript","js"]},JSON:{name:"JSON",ext:"json",aliases:["json"]},LaTeX:{name:"LaTeX",ext:"tex",aliases:["latex","stex","tex"]},Markdown:{name:"Markdown",ext:"md",aliases:["markdown","md"]},PlainText:{name:"Plain Text",ext:"txt",aliases:["txt"]},Python:{name:"Python",ext:"py",aliases:["python","py","ipynb"]},R:{name:"R",ext:"r",aliases:["r"]},"R Markdown":{name:"R Markdown",ext:"rmd",aliases:["rmd","r markdown","rmarkdown"]},TOML:{name:"TOML",ext:"toml",aliases:["toml"]},TypeScript:{name:"TypeScript",ext:"ts",aliases:["typescript","ts"]},XML:{name:"XML",ext:"xml",aliases:["xml"]},YAML:{name:"YAML",ext:"yaml",aliases:["yaml"]},ZSH:{name:"ZSH",ext:"zsh",aliases:["zsh"]}};const e=e=>{var s;const t=e.toLowerCase();const l=(s=Object.values(a).find((a=>t===a.name||a.ext!==null&&t===a.ext||a.aliases.includes(t))))!==null&&s!==void 0?s:a.PlainText;return l};const s=Object.freeze({__proto__:null,fileFormatMap:a,lookupFormat:e});export{e as a,a as f,s as l};
//# sourceMappingURL=p-c24ee974.js.map