(a)
The declarant of a statement that is admitted as hearsay evidence may be called and examined by any adverse party as if under cross-examination concerning the statement.
(b)
This section is not applicable if the declarant is (1) a party, (2) a person identified with a party within the meaning of subdivision (d) of Section 776, or (3) a witness who has testified in the action concerning the subject matter of the statement.
(c)
This section is not applicable if the statement is one described in Article 1 (commencing with Section 1220), Article 3 (commencing with Section 1235), or Article 10 (commencing with Section 1300) of Chapter 2 of this division.
(d)
A statement that is otherwise admissible as hearsay evidence is not made inadmissible by this section because the declarant who made the statement is unavailable for examination pursuant to this section.