// biome-ignore lint/correctness/noUnusedImports: Html is the JSX factory (tsconfig jsxFactory: Html.createElement) import { Html } from "@elysiajs/html"; import type { PropsWithChildren } from "@kitajs/html"; import { escapeHTML } from "bun"; import { fileTypeFromBuffer } from "file-type"; import hljs from "highlight.js"; import { humanFileSize, isValidUTF8 } from "./shared"; export const filetypes = ["none", "blob"].concat(hljs.listLanguages().sort()); function Template(props: PropsWithChildren<{ css: string }>) { return ( <> {""} ⚡ZBin⚡ {props.children} ); } export function NotFound() { return ( ); } export function Index(hostname: string) { return (