; (2) deny entry into or exit from the United States by a United States person based on a refusal by the United States person to— (A) disclose an access credential that would enable access to the digital contents of electronic equipment or the digital contents of an online account; (B) provide access to the digital contents of electronic equipment or the digital contents of an online account; or (C) provide online account information; or (3) delay entry into or exit from the United States by a United States person for longer than the period of time, which may not exceed 4 hours, necessary to determine whether the United States person will, in a manner in accordance with subsection (c), consensually provide an access credential, access, or online account information, as described in subparagraphs (A), (B), and (C) of paragraph (2). (b) Emergency exceptions (1) Emergency situations generally (A) In general An investigative or law enforcement officer of a Governmental entity who is designated by the Secretary of Homeland Security for purposes of this paragraph may access the digital contents of electronic equipment belonging to or in possession of a United States person at the border without a warrant described in subsection (a)(1) if the investigative or law enforcement officer— (i) reasonably determines that— (I) an emergency situation exists that involves— (aa) immediate danger of death or serious physical injury to any person; (bb) conspiratorial activities threatening the national security interest of the United States; or (cc) conspiratorial activities characteristic of organized crime; (II) the emergency situation described in subclause (I) requires access to the digital contents of the electronic equipment before a warrant described in subsection (a)(1) authorizing such access can, with due diligence, be obtained; and (III) there are grounds upon which a warrant described in subsection (a)(1) could be issued authorizing such access