Javanese Court Society and Politics in the Late Eighteenth Century: The Record of a Lady Soldier. Part I: The Religious, Social, and Economic Life of the Court