Auto-collapses code blocks in Google AI Studio by interacting natively with Angular Material components.