<human>: Condense the text into a few key points

Ok so I've known this girl for over nine years now (since I was 14; I'm 22 now). We consider each other best friends. Over the years, we've done a lot of shopping together, with about tens of thousands of dollars of my money going to her as clothes, gifts, electronics, etc. I started talking to her online, and I didn't actually meet her until 2 years ago when we hung out for 3 days. I haven't actually physically been with her since.

She's planning on getting married to this guy she met a few months ago. She told me that he talked to her dad and he's okay with it so in a few months they're getting married.

We still like each other very much but she says she's not interested in me romantically. When I confronted her she told me it's because I'm far away (opposite sides of the United States). My plan is to move near her to be able to hang out with her more... but she'll be married by then.

Anyone here have experience in this? I've never been with any other girl so I don't really know what to expect. She gave me a hug when we did hang out, which is the most a non-relative girl has ever done to me.

I don't mind that she's getting married as long as I still get to hang out with her. But basically, my biggest questions are: what do I need to do at this point to maintain our relationship? Should I continue making advances or should I just leave it where it is? Because I would very much like to marry her. Also, should this stay a secret from her husband or should I tell him?
<bot>: How would you feel if your wife told you that there's this guy she's known for over nine years and has spent tens of thousands of dollars on her is interested in hanging out with her?