A magnitude 7.7 earthquake has rocked Panama, prompting an urgent tsunami threat message. Panama City, about 122 miles from the epicenter, experienced major shaking.