How does the sentence end?

To prepare for her trip, the woman applied for the passport before the visa because the
passport would take a longer time to receive.