A powerful 7.7 magnitude earthquake struck southern Panama on Friday, prompting tsunami warnings across nine countries in the region.