Very much this. I'm sure some people forget that this is self inflicted.
* She was part of a government that held a referendum after being spooked by a chancer.
* She held a GE in order to strengthen her hand, but then didn't bother campaigning - the result of which was that it weakened her...