Sarah's mind was racing while thinking what the best solution is. In order to break the cycle of her thoughts, she divided parts that she needs to consider. First is how she feels about working with him vs not working with him. Second is how she feels about the work itself. Third thing was about their relationship and how it relates to this job offer he presented her.
She imagined how would she feel if she works with him. Sharing ideas while discovering secrets together, the thought alone feels really good.
Then she imagined how she would feel if she rejects. He will continue his work, and she will need to stay away since she is not involved. Assuming they don't split up as a couple because of this. Thought of not being together with him made her feel like her heart is constricting. Just thinking of being apart from him made her experience physical pain, as if something is being forcefully extracted from her chest.