Yes, I struggled with panic and anxiety at work. It's really horrible as I did not want anyone else to know what was happening. I am just like everyone else in wanting to hide what I thought would be unacceptable. Fortunately for me I had a colleague who was very supportive. I remember telling her one day that I wanted to go home because I felt so bad. She told me there was only a couple of hours before we finished for the day and could I hang on a bit longer. Yes I did. No huge intervention but I was grateful.
If you have someone you trust at work perhaps you can talk a little and enlist their aid when the feelings get too much. Staying at work is good for your self esteem, to know you can get past these difficult times. I know it's not easy, concentration waivers and it seems as though you are not getting anywhere with yourself or with the job you are supposed to be doing.
I know it's not easy but if you can focus your attention on the particular task it can help. In gardening it's said a weed cannot grow where there is a flower. I found this a good analogy. Call it distraction therapy or substitution. It can work once you get the hang of it.Not fighting the feelings but putting them aside while you focus on work. It's not a magic bullet, it's using our brains in a narrow beam of concentration. Fighting uses up too much energy.
I was diagnosed with breast cancer at that time, a double whammy. Yes, all gone now. Years later my daughter commented that I seemed not to care. My family worried more about me than I did. Which illness was the most hard to handle. I told my daughter it was just another day in hell. I think we do become oblivious to external matters because our internal focus is so strong. I believe if we can shift our attention, even if only for a short time it can help.
Yes I went through "What will people think about me". It is hard and was hard 20 years ago when the depression first hit me. You can get through this. Keep a journal and periodically, not too soon, go back and read about your journey. I think you will be surprised.
Without personal experience others find it difficult to understand how you feel and how these things come in waves. If you have downloaded some of the BB fact sheets it may be useful to give a selected few a copy to help their understanding.
I am making a scrapbook for each of my eight grandchildren, detailing their lives up to the present. Lots of photos and some stories. I am enjoying this.