A magnitude-7.8 earthquake struck the South American country's coast, leaving behind massive destruction.