How the Gripen E/F won the Thai contract despite diplomatic pressure and financial offers from the US.