import jsesc from 'jsesc' export function ScriptOnce({ children, log, }: { children: string log?: boolean sync?: boolean }) { if (typeof document !== 'undefined') { return null } return (