Find the right variant of the verb: By the time I got to the library, she …

1 has already left.
2 had already left.
3 had been leaving.
4 have already left.
5 is leaving.