The sort of thing you just described (only it did not last as long and I had it during the day) sent me to an neurologist. I was dx'd with severe complex sleep apnea, and TLE (two EEGs showed the TLE). Try to find a good neurologist, this can be very hard to do, but don't give up. You may need to be placed on anti-epilepsy meds. Once I was on mine for a while, I started to feel much better.
Good luck,
Sherry
profuse sweating and rapid heartbeat sound more like panic attacks
as someone who's had temporal lobe seizures for decades..it doesnt sound like it to me..but i'm far from an expert. When all else fails...research...or see a doc
good luck