(1) A person commits theft if he or she obtains property, money, or other thing of value of another by threatening to:
(a) Inflict bodily injury on anyone or commit any other criminal offense;
(b) Accuse anyone of a criminal offense;
(c) Expose any secret tending to subject any person to hatred, contempt or ridicule, or to impair his or her credit or business repute;
(d) Take or withhold action as an official, or cause an official to take or withhold action;
(e) Bring about or continue a strike, boycott, or other collective unofficial action, if the property, money, or other thing of value is not demanded or received for the benefit of the group in whose interest the actor purports to act;
(f) Testify or provide information or withhold testimony or information with respect to another's legal claim or defense; or
(g) Distribute or otherwise make public an image or video of a person's intimate area or of a person engaged in sexually explicit conduct without that person's consent.
(2) It is an affirmative defense to prosecution based on subdivision (1)(b), (1)(c), or (1)(d) of this section that the property, money, or other thing of value obtained by threat of accusation, exposure, lawsuit, or other invocation of official action was honestly claimed as restitution or indemnification for harm done in the circumstances to which such accusation, exposure, lawsuit, or other official action relates, or as compensation for property or lawful services.