package com.applovin.impl; import java.util.ArrayList; import java.util.Iterator; import java.util.List; /* loaded from: classes.dex */ public class cq { private final List a; public List a() { return this.a; } public String toString() { return "VastAdVerification{verifications='" + this.a + "'}"; } private cq(List list) { this.a = list; } public static cq a(es esVar, cq cqVar, eq eqVar, com.applovin.impl.sdk.j jVar) { List arrayList; try { if (cqVar != null) { arrayList = cqVar.a(); } else { arrayList = new ArrayList(); } Iterator it = esVar.a("Verification").iterator(); while (it.hasNext()) { bq a = bq.a((es) it.next(), eqVar, jVar); if (a != null) { arrayList.add(a); } } return new cq(arrayList); } catch (Throwable th) { jVar.J(); if (com.applovin.impl.sdk.n.a()) { jVar.J().a("VastAdVerifications", "Error occurred while initializing", th); } jVar.E().a("VastAdVerifications", th); return null; } } public boolean equals(Object obj) { if (this == obj) { return true; } if (obj instanceof cq) { return this.a.equals(((cq) obj).a); } return false; } public int hashCode() { return this.a.hashCode(); } }