Woman who left friend for dead gets max sentence