Help!

So I’ve had a crush on this girl for a long time now. For a few years; almost 7. I don’t know what to do. She likes someone else, and it’s a boy, she says that she’s pan, but I don’t know. I think she flirts with me sometimes, but also gives me hints that she doesn’t like me. Help??