it is a panic attack so dont panic - if that makes sense. Go with it.
Do this, imagine a window, like on the playschool house, breath in, following the line from the top lefthand corner to the right, now out, folliwing line to botom righthand corner, keep doing this around the window until you start to feel better.
The fact that you can still type means you are in control, this WILL pass.
when you have a panic attack you start breathing too deeply and/or too quickly.
The oxygen level in your blood gets too high - you start to fee ldizzy, get something that feels like a tight band round your chest and pins and needles or odd feelings in your limbs.
Frustratingly your immediate response is to try and breath more/deeper which makes it worse.
But that's all it is, too much oxygen. Keep telling yourself that it is annoying but innocent.
Brightlight gave a really good suggestion of how to focus your mind away from it and distract your mind. i use some mindfulness techniques: Focus in absurd detail on my surrounding, feel the cold floor under my feet, smooth steering wheel in my hand, red car behind me, green leaves on the tree, indicator goes tictoctictoc etc.
You have a lot going on in your life judging from other threads and especially when you are trying not to sh the stress needs to go somewhere.