[TASK] Migrate ToggleSearchToolbox to TypeScript