It's not as bad as it looks. If you bag and tag the hardware and take a lot of pictures it goes back together pretty well. Toyota was smart in that they use a lot of different connectors so you cannot mis-wire the harness.
I had this happen to my 2008 with 150k on the clock. I recharged it and it took a month or so before it got hot again. I had a hell of a time trying to find the leak. There was UV dye in the system from a previous service, so I got a loaner UV light from autozone and looked for the dye around...