<human>: I've had a crush for several years on one of my best friends Jane, lately we've been hanging out more and she recently broke it off with her fiancé and another guy she had been seeing. She's said that she's had feelings for me before, but not "right now". While this has been going on, her and my other best friends, John, ended up making out, possibly hooking up at a party. 
John, who is well aware of my crush and the drama around it, has sworn that he doesn't have any romantic interest in her and it was a mistake to make out with her and he hasn't done anything since. Jane, when drunk was very vocal about telling me that she'd hooked up with him and was in love with him. 
The problem is that I have a very hard time hanging out with them together because there is still a lot of flirting, and she is obviously attracted to him, and when I hang out with her, she uses me for emotional support and it's just a reminder of what I don't have. When I hang out with him, I'm also irrationally jealous and have a very hard time hanging out with him.
What can I do to avoid losing my two best friends?

Can you condense the text into three sentences or less?
<bot>: Crush on best friend, she hooked up with my other friend, something may or not be going on, how do I deal with it.