Panama recorded more than 300 aftershocks following Friday's magnitude 7.7 earthquake that damaged hundreds of homes and infrastructure across the country's central provinces.