From Ottoman Turkish طوپدن (topdan), by surface analysis, top + -tan, literally “in whole”.
Practice speaking and memorizing "toptan" and many other words and sentences in Turkish.