Edit: oops. This is old. Hope you're OK and things improved.
You're grieving for what you built. It's good to take pride and push for better. However, you don't own it. They pay for your time and your expertise. Love your skills and the learning. If the environment stops being right for you, plot your escape at a time that suits. Companies make shit decisions, they have and always will. They sometimes lead you to believe you have influence while it benefits then with your commitment/engagement. When that no longer suits, its the end.
What you feel is valid, it's good you have standards and care. It's now time to understand work is generally an exploitative relationship. Protect yourself and understand you're being used. Find a situation where being used feels good for now and good for your bank balance.






China? Silk Road dude was distracted by 2 enforcement offices while several arrested and grabbed the laptop. If you're doing things that draw that level of resourcing, that's on you. I don't think any civilian had a 9 person heist for a laptop in China... Unless you have a reference... But I doubt it...