(a)
(1) directly or indirectly, corruptly gives, offers, or promises anything of value to any public or private person, with intent to commit international terrorism or domestic terrorism (as those terms are defined under section 2331), to—
(A) influence any action or any person to commit or aid in committing, or collude in, or allow, any fraud, or make opportunity for the commission of any fraud affecting any secure or restricted area or seaport; or
(B) induce any official or person to do or omit to do any act in violation of the lawful duty of such official or person that affects any secure or restricted area or seaport; or
(2) directly or indirectly, corruptly demands, seeks, receives, accepts, or agrees to receive or accept anything of value personally or for any other person or entity in return for—
(A) being influenced in the performance of any official act affecting any secure or restricted area or seaport; and
(B) knowing that such influence will be used to commit, or plan to commit, international or domestic terrorism,
shall be fined under this title or imprisoned not more than 15 years, or both.
(b)