I estimate about 95% of that text was written by ChatGPT. However, I did prompt it many times to re-write certain sections. I also moved paragraphs around and did some fairly minor editing (like replacing proper nouns with pronouns).