Looks like a quick automatic syntax formatting and find and replace would make it “far” more readable.