import { File as e, FileCode as t, FileJson as n, FileText as r, Folder as i, FolderOpen as a } from "lucide-react";
//#region src/features/code-explorer/utils/fileIcons.ts
var o = {
	".ts": t,
	".tsx": t,
	".mts": t,
	".cts": t,
	".js": t,
	".jsx": t,
	".mjs": t,
	".cjs": t,
	".json": n,
	".jsonc": n,
	".md": r,
	".mdx": r,
	".markdown": r,
	".yaml": t,
	".yml": t,
	".toml": t,
	".ini": t,
	".conf": t,
	".config": t,
	".css": t,
	".scss": t,
	".sass": t,
	".less": t,
	".html": t,
	".htm": t,
	".sh": t,
	".bash": t,
	".zsh": t,
	".fish": t,
	".txt": r,
	".log": r,
	".env": r
};
function s(t) {
	return o[t.includes(".") ? t.slice(t.lastIndexOf(".")).toLowerCase() : ""] ?? e;
}
function c(e) {
	return e ? a : i;
}
//#endregion
export { s as getFileIcon, c as getFolderIcon };
