Text this: Transition from the topological to the chaotic in the nonlinear Su–Schrieffer–Heeger model