var fileFormatMap={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"]}};var lookupFormat=function(a){var e;var t=a.toLowerCase();var l=(e=Object.values(fileFormatMap).find((function(a){return t===a.name||a.ext!==null&&t===a.ext||a.aliases.includes(t)})))!==null&&e!==void 0?e:fileFormatMap.PlainText;return l};var languageUtils=Object.freeze({__proto__:null,fileFormatMap:fileFormatMap,lookupFormat:lookupFormat});export{lookupFormat as a,fileFormatMap as f,languageUtils as l};
//# sourceMappingURL=languageUtils-d43f5d69.js.map