'use client'; import { Info, ShieldCheck } from 'lucide-react'; import { useMemo } from 'react'; interface PreviewViewProps { html: string; } /** Heuristic: does ``html`` look like a JS-only single-page app shell? * * SPAs (Vite, CRA, Next-app dev index) ship a near-empty ```` * with a mount div + a ``