package t0; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.animation.TimeInterpolator; import android.graphics.Path; import android.util.SparseArray; import android.util.SparseIntArray; import android.view.View; import android.view.ViewGroup; import android.widget.ListView; import com.google.android.gms.ads.RequestConfiguration; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.Map; /* loaded from: classes.dex */ public abstract class l implements Cloneable { private static final int[] G = {2, 1, 3, 4}; private static final g H = new a(); private static ThreadLocal I = new ThreadLocal(); private e D; private androidx.collection.a E; /* renamed from: t, reason: collision with root package name */ private ArrayList f14210t; /* renamed from: u, reason: collision with root package name */ private ArrayList f14211u; /* renamed from: a, reason: collision with root package name */ private String f14191a = getClass().getName(); /* renamed from: b, reason: collision with root package name */ private long f14192b = -1; /* renamed from: c, reason: collision with root package name */ long f14193c = -1; /* renamed from: d, reason: collision with root package name */ private TimeInterpolator f14194d = null; /* renamed from: e, reason: collision with root package name */ ArrayList f14195e = new ArrayList(); /* renamed from: f, reason: collision with root package name */ ArrayList f14196f = new ArrayList(); /* renamed from: g, reason: collision with root package name */ private ArrayList f14197g = null; /* renamed from: h, reason: collision with root package name */ private ArrayList f14198h = null; /* renamed from: i, reason: collision with root package name */ private ArrayList f14199i = null; /* renamed from: j, reason: collision with root package name */ private ArrayList f14200j = null; /* renamed from: k, reason: collision with root package name */ private ArrayList f14201k = null; /* renamed from: l, reason: collision with root package name */ private ArrayList f14202l = null; /* renamed from: m, reason: collision with root package name */ private ArrayList f14203m = null; /* renamed from: n, reason: collision with root package name */ private ArrayList f14204n = null; /* renamed from: o, reason: collision with root package name */ private ArrayList f14205o = null; /* renamed from: p, reason: collision with root package name */ private t f14206p = new t(); /* renamed from: q, reason: collision with root package name */ private t f14207q = new t(); /* renamed from: r, reason: collision with root package name */ p f14208r = null; /* renamed from: s, reason: collision with root package name */ private int[] f14209s = G; /* renamed from: v, reason: collision with root package name */ private ViewGroup f14212v = null; /* renamed from: w, reason: collision with root package name */ boolean f14213w = false; /* renamed from: x, reason: collision with root package name */ ArrayList f14214x = new ArrayList(); /* renamed from: y, reason: collision with root package name */ private int f14215y = 0; /* renamed from: z, reason: collision with root package name */ private boolean f14216z = false; private boolean A = false; private ArrayList B = null; private ArrayList C = new ArrayList(); private g F = H; static class a extends g { a() { } @Override // t0.g public Path a(float f10, float f11, float f12, float f13) { Path path = new Path(); path.moveTo(f10, f11); path.lineTo(f12, f13); return path; } } class b extends AnimatorListenerAdapter { /* renamed from: a, reason: collision with root package name */ final /* synthetic */ androidx.collection.a f14217a; b(androidx.collection.a aVar) { this.f14217a = aVar; } @Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener public void onAnimationEnd(Animator animator) { this.f14217a.remove(animator); l.this.f14214x.remove(animator); } @Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener public void onAnimationStart(Animator animator) { l.this.f14214x.add(animator); } } class c extends AnimatorListenerAdapter { c() { } @Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener public void onAnimationEnd(Animator animator) { l.this.p(); animator.removeListener(this); } } private static class d { /* renamed from: a, reason: collision with root package name */ View f14220a; /* renamed from: b, reason: collision with root package name */ String f14221b; /* renamed from: c, reason: collision with root package name */ s f14222c; /* renamed from: d, reason: collision with root package name */ p0 f14223d; /* renamed from: e, reason: collision with root package name */ l f14224e; d(View view, String str, l lVar, p0 p0Var, s sVar) { this.f14220a = view; this.f14221b = str; this.f14222c = sVar; this.f14223d = p0Var; this.f14224e = lVar; } } public static abstract class e { } public interface f { void a(l lVar); void b(l lVar); void c(l lVar); void d(l lVar); void e(l lVar); } private static boolean J(s sVar, s sVar2, String str) { Object obj = sVar.f14259a.get(str); Object obj2 = sVar2.f14259a.get(str); if (obj == null && obj2 == null) { return false; } if (obj == null || obj2 == null) { return true; } return !obj.equals(obj2); } private void K(androidx.collection.a aVar, androidx.collection.a aVar2, SparseArray sparseArray, SparseArray sparseArray2) { View view; int size = sparseArray.size(); for (int i10 = 0; i10 < size; i10++) { View view2 = (View) sparseArray.valueAt(i10); if (view2 != null && I(view2) && (view = (View) sparseArray2.get(sparseArray.keyAt(i10))) != null && I(view)) { s sVar = (s) aVar.get(view2); s sVar2 = (s) aVar2.get(view); if (sVar != null && sVar2 != null) { this.f14210t.add(sVar); this.f14211u.add(sVar2); aVar.remove(view2); aVar2.remove(view); } } } } private void L(androidx.collection.a aVar, androidx.collection.a aVar2) { s sVar; for (int size = aVar.size() - 1; size >= 0; size--) { View view = (View) aVar.i(size); if (view != null && I(view) && (sVar = (s) aVar2.remove(view)) != null && I(sVar.f14260b)) { this.f14210t.add((s) aVar.k(size)); this.f14211u.add(sVar); } } } private void M(androidx.collection.a aVar, androidx.collection.a aVar2, androidx.collection.d dVar, androidx.collection.d dVar2) { View view; int m10 = dVar.m(); for (int i10 = 0; i10 < m10; i10++) { View view2 = (View) dVar.n(i10); if (view2 != null && I(view2) && (view = (View) dVar2.f(dVar.i(i10))) != null && I(view)) { s sVar = (s) aVar.get(view2); s sVar2 = (s) aVar2.get(view); if (sVar != null && sVar2 != null) { this.f14210t.add(sVar); this.f14211u.add(sVar2); aVar.remove(view2); aVar2.remove(view); } } } } private void N(androidx.collection.a aVar, androidx.collection.a aVar2, androidx.collection.a aVar3, androidx.collection.a aVar4) { View view; int size = aVar3.size(); for (int i10 = 0; i10 < size; i10++) { View view2 = (View) aVar3.m(i10); if (view2 != null && I(view2) && (view = (View) aVar4.get(aVar3.i(i10))) != null && I(view)) { s sVar = (s) aVar.get(view2); s sVar2 = (s) aVar2.get(view); if (sVar != null && sVar2 != null) { this.f14210t.add(sVar); this.f14211u.add(sVar2); aVar.remove(view2); aVar2.remove(view); } } } } private void O(t tVar, t tVar2) { androidx.collection.a aVar = new androidx.collection.a(tVar.f14262a); androidx.collection.a aVar2 = new androidx.collection.a(tVar2.f14262a); int i10 = 0; while (true) { int[] iArr = this.f14209s; if (i10 >= iArr.length) { d(aVar, aVar2); return; } int i11 = iArr[i10]; if (i11 == 1) { L(aVar, aVar2); } else if (i11 == 2) { N(aVar, aVar2, tVar.f14265d, tVar2.f14265d); } else if (i11 == 3) { K(aVar, aVar2, tVar.f14263b, tVar2.f14263b); } else if (i11 == 4) { M(aVar, aVar2, tVar.f14264c, tVar2.f14264c); } i10++; } } private void U(Animator animator, androidx.collection.a aVar) { if (animator != null) { animator.addListener(new b(aVar)); f(animator); } } private void d(androidx.collection.a aVar, androidx.collection.a aVar2) { for (int i10 = 0; i10 < aVar.size(); i10++) { s sVar = (s) aVar.m(i10); if (I(sVar.f14260b)) { this.f14210t.add(sVar); this.f14211u.add(null); } } for (int i11 = 0; i11 < aVar2.size(); i11++) { s sVar2 = (s) aVar2.m(i11); if (I(sVar2.f14260b)) { this.f14211u.add(sVar2); this.f14210t.add(null); } } } private static void e(t tVar, View view, s sVar) { tVar.f14262a.put(view, sVar); int id = view.getId(); if (id >= 0) { if (tVar.f14263b.indexOfKey(id) >= 0) { tVar.f14263b.put(id, null); } else { tVar.f14263b.put(id, view); } } String J = androidx.core.view.n0.J(view); if (J != null) { if (tVar.f14265d.containsKey(J)) { tVar.f14265d.put(J, null); } else { tVar.f14265d.put(J, view); } } if (view.getParent() instanceof ListView) { ListView listView = (ListView) view.getParent(); if (listView.getAdapter().hasStableIds()) { long itemIdAtPosition = listView.getItemIdAtPosition(listView.getPositionForView(view)); if (tVar.f14264c.h(itemIdAtPosition) < 0) { androidx.core.view.n0.v0(view, true); tVar.f14264c.j(itemIdAtPosition, view); return; } View view2 = (View) tVar.f14264c.f(itemIdAtPosition); if (view2 != null) { androidx.core.view.n0.v0(view2, false); tVar.f14264c.j(itemIdAtPosition, null); } } } } private void h(View view, boolean z10) { if (view == null) { return; } int id = view.getId(); ArrayList arrayList = this.f14199i; if (arrayList == null || !arrayList.contains(Integer.valueOf(id))) { ArrayList arrayList2 = this.f14200j; if (arrayList2 == null || !arrayList2.contains(view)) { ArrayList arrayList3 = this.f14201k; if (arrayList3 != null) { int size = arrayList3.size(); for (int i10 = 0; i10 < size; i10++) { if (((Class) this.f14201k.get(i10)).isInstance(view)) { return; } } } if (view.getParent() instanceof ViewGroup) { s sVar = new s(view); if (z10) { j(sVar); } else { g(sVar); } sVar.f14261c.add(this); i(sVar); if (z10) { e(this.f14206p, view, sVar); } else { e(this.f14207q, view, sVar); } } if (view instanceof ViewGroup) { ArrayList arrayList4 = this.f14203m; if (arrayList4 == null || !arrayList4.contains(Integer.valueOf(id))) { ArrayList arrayList5 = this.f14204n; if (arrayList5 == null || !arrayList5.contains(view)) { ArrayList arrayList6 = this.f14205o; if (arrayList6 != null) { int size2 = arrayList6.size(); for (int i11 = 0; i11 < size2; i11++) { if (((Class) this.f14205o.get(i11)).isInstance(view)) { return; } } } ViewGroup viewGroup = (ViewGroup) view; for (int i12 = 0; i12 < viewGroup.getChildCount(); i12++) { h(viewGroup.getChildAt(i12), z10); } } } } } } } private static androidx.collection.a x() { androidx.collection.a aVar = (androidx.collection.a) I.get(); if (aVar != null) { return aVar; } androidx.collection.a aVar2 = new androidx.collection.a(); I.set(aVar2); return aVar2; } public List A() { return this.f14195e; } public List B() { return this.f14197g; } public List C() { return this.f14198h; } public List D() { return this.f14196f; } public String[] E() { return null; } public s F(View view, boolean z10) { p pVar = this.f14208r; if (pVar != null) { return pVar.F(view, z10); } return (s) (z10 ? this.f14206p : this.f14207q).f14262a.get(view); } public boolean H(s sVar, s sVar2) { if (sVar == null || sVar2 == null) { return false; } String[] E = E(); if (E == null) { Iterator it = sVar.f14259a.keySet().iterator(); while (it.hasNext()) { if (J(sVar, sVar2, (String) it.next())) { } } return false; } for (String str : E) { if (!J(sVar, sVar2, str)) { } } return false; return true; } boolean I(View view) { ArrayList arrayList; ArrayList arrayList2; int id = view.getId(); ArrayList arrayList3 = this.f14199i; if (arrayList3 != null && arrayList3.contains(Integer.valueOf(id))) { return false; } ArrayList arrayList4 = this.f14200j; if (arrayList4 != null && arrayList4.contains(view)) { return false; } ArrayList arrayList5 = this.f14201k; if (arrayList5 != null) { int size = arrayList5.size(); for (int i10 = 0; i10 < size; i10++) { if (((Class) this.f14201k.get(i10)).isInstance(view)) { return false; } } } if (this.f14202l != null && androidx.core.view.n0.J(view) != null && this.f14202l.contains(androidx.core.view.n0.J(view))) { return false; } if ((this.f14195e.size() == 0 && this.f14196f.size() == 0 && (((arrayList = this.f14198h) == null || arrayList.isEmpty()) && ((arrayList2 = this.f14197g) == null || arrayList2.isEmpty()))) || this.f14195e.contains(Integer.valueOf(id)) || this.f14196f.contains(view)) { return true; } ArrayList arrayList6 = this.f14197g; if (arrayList6 != null && arrayList6.contains(androidx.core.view.n0.J(view))) { return true; } if (this.f14198h != null) { for (int i11 = 0; i11 < this.f14198h.size(); i11++) { if (((Class) this.f14198h.get(i11)).isInstance(view)) { return true; } } } return false; } public void P(View view) { if (this.A) { return; } androidx.collection.a x10 = x(); int size = x10.size(); p0 d10 = a0.d(view); for (int i10 = size - 1; i10 >= 0; i10--) { d dVar = (d) x10.m(i10); if (dVar.f14220a != null && d10.equals(dVar.f14223d)) { t0.a.b((Animator) x10.i(i10)); } } ArrayList arrayList = this.B; if (arrayList != null && arrayList.size() > 0) { ArrayList arrayList2 = (ArrayList) this.B.clone(); int size2 = arrayList2.size(); for (int i11 = 0; i11 < size2; i11++) { ((f) arrayList2.get(i11)).a(this); } } this.f14216z = true; } void Q(ViewGroup viewGroup) { d dVar; this.f14210t = new ArrayList(); this.f14211u = new ArrayList(); O(this.f14206p, this.f14207q); androidx.collection.a x10 = x(); int size = x10.size(); p0 d10 = a0.d(viewGroup); for (int i10 = size - 1; i10 >= 0; i10--) { Animator animator = (Animator) x10.i(i10); if (animator != null && (dVar = (d) x10.get(animator)) != null && dVar.f14220a != null && d10.equals(dVar.f14223d)) { s sVar = dVar.f14222c; View view = dVar.f14220a; s F = F(view, true); s t10 = t(view, true); if (F == null && t10 == null) { t10 = (s) this.f14207q.f14262a.get(view); } if (!(F == null && t10 == null) && dVar.f14224e.H(sVar, t10)) { if (animator.isRunning() || animator.isStarted()) { animator.cancel(); } else { x10.remove(animator); } } } } o(viewGroup, this.f14206p, this.f14207q, this.f14210t, this.f14211u); V(); } public l R(f fVar) { ArrayList arrayList = this.B; if (arrayList == null) { return this; } arrayList.remove(fVar); if (this.B.size() == 0) { this.B = null; } return this; } public l S(View view) { this.f14196f.remove(view); return this; } public void T(View view) { if (this.f14216z) { if (!this.A) { androidx.collection.a x10 = x(); int size = x10.size(); p0 d10 = a0.d(view); for (int i10 = size - 1; i10 >= 0; i10--) { d dVar = (d) x10.m(i10); if (dVar.f14220a != null && d10.equals(dVar.f14223d)) { t0.a.c((Animator) x10.i(i10)); } } ArrayList arrayList = this.B; if (arrayList != null && arrayList.size() > 0) { ArrayList arrayList2 = (ArrayList) this.B.clone(); int size2 = arrayList2.size(); for (int i11 = 0; i11 < size2; i11++) { ((f) arrayList2.get(i11)).c(this); } } } this.f14216z = false; } } protected void V() { c0(); androidx.collection.a x10 = x(); Iterator it = this.C.iterator(); while (it.hasNext()) { Animator animator = (Animator) it.next(); if (x10.containsKey(animator)) { c0(); U(animator, x10); } } this.C.clear(); p(); } public l W(long j10) { this.f14193c = j10; return this; } public void X(e eVar) { this.D = eVar; } public l Y(TimeInterpolator timeInterpolator) { this.f14194d = timeInterpolator; return this; } public void Z(g gVar) { if (gVar == null) { this.F = H; } else { this.F = gVar; } } public l a(f fVar) { if (this.B == null) { this.B = new ArrayList(); } this.B.add(fVar); return this; } public void a0(o oVar) { } public l b(View view) { this.f14196f.add(view); return this; } public l b0(long j10) { this.f14192b = j10; return this; } protected void c0() { if (this.f14215y == 0) { ArrayList arrayList = this.B; if (arrayList != null && arrayList.size() > 0) { ArrayList arrayList2 = (ArrayList) this.B.clone(); int size = arrayList2.size(); for (int i10 = 0; i10 < size; i10++) { ((f) arrayList2.get(i10)).e(this); } } this.A = false; } this.f14215y++; } protected void cancel() { for (int size = this.f14214x.size() - 1; size >= 0; size--) { ((Animator) this.f14214x.get(size)).cancel(); } ArrayList arrayList = this.B; if (arrayList == null || arrayList.size() <= 0) { return; } ArrayList arrayList2 = (ArrayList) this.B.clone(); int size2 = arrayList2.size(); for (int i10 = 0; i10 < size2; i10++) { ((f) arrayList2.get(i10)).d(this); } } String d0(String str) { String str2 = str + getClass().getSimpleName() + "@" + Integer.toHexString(hashCode()) + ": "; if (this.f14193c != -1) { str2 = str2 + "dur(" + this.f14193c + ") "; } if (this.f14192b != -1) { str2 = str2 + "dly(" + this.f14192b + ") "; } if (this.f14194d != null) { str2 = str2 + "interp(" + this.f14194d + ") "; } if (this.f14195e.size() <= 0 && this.f14196f.size() <= 0) { return str2; } String str3 = str2 + "tgts("; if (this.f14195e.size() > 0) { for (int i10 = 0; i10 < this.f14195e.size(); i10++) { if (i10 > 0) { str3 = str3 + ", "; } str3 = str3 + this.f14195e.get(i10); } } if (this.f14196f.size() > 0) { for (int i11 = 0; i11 < this.f14196f.size(); i11++) { if (i11 > 0) { str3 = str3 + ", "; } str3 = str3 + this.f14196f.get(i11); } } return str3 + ")"; } protected void f(Animator animator) { if (animator == null) { p(); return; } if (q() >= 0) { animator.setDuration(q()); } if (y() >= 0) { animator.setStartDelay(y() + animator.getStartDelay()); } if (s() != null) { animator.setInterpolator(s()); } animator.addListener(new c()); animator.start(); } public abstract void g(s sVar); void i(s sVar) { } public abstract void j(s sVar); void k(ViewGroup viewGroup, boolean z10) { ArrayList arrayList; ArrayList arrayList2; androidx.collection.a aVar; l(z10); if ((this.f14195e.size() > 0 || this.f14196f.size() > 0) && (((arrayList = this.f14197g) == null || arrayList.isEmpty()) && ((arrayList2 = this.f14198h) == null || arrayList2.isEmpty()))) { for (int i10 = 0; i10 < this.f14195e.size(); i10++) { View findViewById = viewGroup.findViewById(((Integer) this.f14195e.get(i10)).intValue()); if (findViewById != null) { s sVar = new s(findViewById); if (z10) { j(sVar); } else { g(sVar); } sVar.f14261c.add(this); i(sVar); if (z10) { e(this.f14206p, findViewById, sVar); } else { e(this.f14207q, findViewById, sVar); } } } for (int i11 = 0; i11 < this.f14196f.size(); i11++) { View view = (View) this.f14196f.get(i11); s sVar2 = new s(view); if (z10) { j(sVar2); } else { g(sVar2); } sVar2.f14261c.add(this); i(sVar2); if (z10) { e(this.f14206p, view, sVar2); } else { e(this.f14207q, view, sVar2); } } } else { h(viewGroup, z10); } if (z10 || (aVar = this.E) == null) { return; } int size = aVar.size(); ArrayList arrayList3 = new ArrayList(size); for (int i12 = 0; i12 < size; i12++) { arrayList3.add(this.f14206p.f14265d.remove((String) this.E.i(i12))); } for (int i13 = 0; i13 < size; i13++) { View view2 = (View) arrayList3.get(i13); if (view2 != null) { this.f14206p.f14265d.put((String) this.E.m(i13), view2); } } } void l(boolean z10) { if (z10) { this.f14206p.f14262a.clear(); this.f14206p.f14263b.clear(); this.f14206p.f14264c.b(); } else { this.f14207q.f14262a.clear(); this.f14207q.f14263b.clear(); this.f14207q.f14264c.b(); } } @Override // /* renamed from: m */ public l clone() { try { l lVar = (l) super.clone(); lVar.C = new ArrayList(); lVar.f14206p = new t(); lVar.f14207q = new t(); lVar.f14210t = null; lVar.f14211u = null; return lVar; } catch (CloneNotSupportedException unused) { return null; } } public Animator n(ViewGroup viewGroup, s sVar, s sVar2) { return null; } protected void o(ViewGroup viewGroup, t tVar, t tVar2, ArrayList arrayList, ArrayList arrayList2) { View view; Animator animator; s sVar; int i10; Animator animator2; s sVar2; androidx.collection.a x10 = x(); SparseIntArray sparseIntArray = new SparseIntArray(); int size = arrayList.size(); int i11 = 0; while (i11 < size) { s sVar3 = (s) arrayList.get(i11); s sVar4 = (s) arrayList2.get(i11); if (sVar3 != null && !sVar3.f14261c.contains(this)) { sVar3 = null; } if (sVar4 != null && !sVar4.f14261c.contains(this)) { sVar4 = null; } if (sVar3 != null || sVar4 != null) { if (sVar3 == null || sVar4 == null || H(sVar3, sVar4)) { Animator n10 = n(viewGroup, sVar3, sVar4); if (n10 != null) { if (sVar4 != null) { View view2 = sVar4.f14260b; String[] E = E(); if (E != null && E.length > 0) { sVar2 = new s(view2); s sVar5 = (s) tVar2.f14262a.get(view2); if (sVar5 != null) { int i12 = 0; while (i12 < E.length) { Map map = sVar2.f14259a; Animator animator3 = n10; String str = E[i12]; map.put(str, sVar5.f14259a.get(str)); i12++; n10 = animator3; E = E; } } Animator animator4 = n10; int size2 = x10.size(); int i13 = 0; while (true) { if (i13 >= size2) { animator2 = animator4; break; } d dVar = (d) x10.get((Animator) x10.i(i13)); if (dVar.f14222c != null && dVar.f14220a == view2 && dVar.f14221b.equals(u()) && dVar.f14222c.equals(sVar2)) { animator2 = null; break; } i13++; } } else { animator2 = n10; sVar2 = null; } view = view2; animator = animator2; sVar = sVar2; } else { view = sVar3.f14260b; animator = n10; sVar = null; } if (animator != null) { i10 = size; x10.put(animator, new d(view, u(), this, a0.d(viewGroup), sVar)); this.C.add(animator); i11++; size = i10; } i10 = size; i11++; size = i10; } i10 = size; i11++; size = i10; } } i10 = size; i11++; size = i10; } if (sparseIntArray.size() != 0) { for (int i14 = 0; i14 < sparseIntArray.size(); i14++) { Animator animator5 = (Animator) this.C.get(sparseIntArray.keyAt(i14)); animator5.setStartDelay((sparseIntArray.valueAt(i14) - Long.MAX_VALUE) + animator5.getStartDelay()); } } } protected void p() { int i10 = this.f14215y - 1; this.f14215y = i10; if (i10 == 0) { ArrayList arrayList = this.B; if (arrayList != null && arrayList.size() > 0) { ArrayList arrayList2 = (ArrayList) this.B.clone(); int size = arrayList2.size(); for (int i11 = 0; i11 < size; i11++) { ((f) arrayList2.get(i11)).b(this); } } for (int i12 = 0; i12 < this.f14206p.f14264c.m(); i12++) { View view = (View) this.f14206p.f14264c.n(i12); if (view != null) { androidx.core.view.n0.v0(view, false); } } for (int i13 = 0; i13 < this.f14207q.f14264c.m(); i13++) { View view2 = (View) this.f14207q.f14264c.n(i13); if (view2 != null) { androidx.core.view.n0.v0(view2, false); } } this.A = true; } } public long q() { return this.f14193c; } public e r() { return this.D; } public TimeInterpolator s() { return this.f14194d; } s t(View view, boolean z10) { p pVar = this.f14208r; if (pVar != null) { return pVar.t(view, z10); } ArrayList arrayList = z10 ? this.f14210t : this.f14211u; if (arrayList == null) { return null; } int size = arrayList.size(); int i10 = 0; while (true) { if (i10 >= size) { i10 = -1; break; } s sVar = (s) arrayList.get(i10); if (sVar == null) { return null; } if (sVar.f14260b == view) { break; } i10++; } if (i10 >= 0) { return (s) (z10 ? this.f14211u : this.f14210t).get(i10); } return null; } public String toString() { return d0(RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED); } public String u() { return this.f14191a; } public g v() { return this.F; } public o w() { return null; } public long y() { return this.f14192b; } }