The results of the Opium War (1839-1842) indicate that China was