This one was surprisingly bad, even for an import job.
Mains AC comes in via the C14 connector from the wall lead, and into a mains common-mode filter block.
Mains neutral is white, and mains active is green/yellow striped (really) and the same colors are used for the wiring after the filter into the switch and power supplies.
The heatshrink is loose, and the soldering is very average.
Oh, and the earth wire? Well they must have run out of wire budget before getting to that one. There is a shiny, untouched, virgin earth terminal on the back of the C14 connector which is plugged into the wall. There is no mains earth connection at all, to the metal chassis or to anywhere else.