Prosus, a global technology company, has signed a conditional agreement to acquire Just Eat Takeaway.com for €4.1bn ($4.2bn).