I'm very sorry you're going through this.
This is a good time to tap into your spiritual/religious beliefs, whatever they may be. A lot of beliefs hold that when you pass you go onto a better place. Called heaven in many belief systems. Call in her angels, ask Jesus (or other Higher Being of her belief) to hold her, or ask for blessings, or whatever else brings her (and you) peace.
Know that her passing will be a relief for her from a body that no longer serves her. The ones who suffer are those left behind.
May I also suggest that to give her your best at this sacred time, you need some sleep. She deserves the best you're able to be at the time of her crossing. You will both benefit from you getting whatever sleep you're able to get.
This is a very sacred but trying time. My heart goes out to you.