<human>: Could you distill the essence of the text into 1-3 sentences?

Due to a dream job opportunity, I've got my heart set making a major move cross-country at the end of next month (rental lease also expires).  I love my current job and it pays well, but it's for a small engineering firm.  I've got an opportunity to break into a major silicon valley player at 2-3x what I'm making now and this is a chance I have to take and may never get again.

Normally I would have no issue just giving two weeks' notice and leaving it at that, but I'm being asked to train new employees and get cracking on what will be a major project.  I think they are going to be in a big bind when I leave, but I'm hesitant to give notice for the following reasons:

* They give a very generous salary bonus, but stagger it randomly throughout the year.  I know as soon as I give notice, my chance at any of that bonus is gone.  They usually give some right around this time of year.

* I'm in a minor lull right now because it's right between two major projects and if I give notice, I'm worried that they may opt to just let me go immediately.

Should I give notice now (5 weeks), or at 2 weeks out, or somewhere in between?
<bot>: How much notice should I give my employer? For my employer's sake, I should give notice immediately, but for my sake I should probably wait until 2 weeks and it will really leave them in a jam.