Resistant biomacromolecules as major contributors to kerogen