package com.ironsource; import kotlin.jvm.internal.Intrinsics; import org.json.JSONObject; /* loaded from: classes2.dex */ public final class fu { private final boolean a; private final boolean b; private final boolean c; public fu(boolean z, boolean z2, boolean z3) { this.a = z; this.b = z2; this.c = z3; } public static /* synthetic */ fu a(fu fuVar, boolean z, boolean z2, boolean z3, int i, Object obj) { if ((i & 1) != 0) { z = fuVar.a; } if ((i & 2) != 0) { z2 = fuVar.b; } if ((i & 4) != 0) { z3 = fuVar.c; } return fuVar.a(z, z2, z3); } public final fu a(boolean z, boolean z2, boolean z3) { return new fu(z, z2, z3); } public final boolean a() { return this.a; } public final boolean b() { return this.b; } public final boolean c() { return this.c; } public final boolean d() { return this.c; } public final boolean e() { return this.a; } public boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof fu)) { return false; } fu fuVar = (fu) obj; return this.a == fuVar.a && this.b == fuVar.b && this.c == fuVar.c; } public final boolean f() { return this.b; } public final JSONObject g() { JSONObject put = new JSONObject().put(Cif.k, this.a).put(Cif.l, this.b).put(Cif.m, this.c); Intrinsics.checkNotNullExpressionValue(put, "JSONObject()\n .pu…ts.IS_SHOWN_KEY, isShown)"); return put; } /* JADX WARN: Multi-variable type inference failed */ /* JADX WARN: Type inference failed for: r0v1, types: [int] */ /* JADX WARN: Type inference failed for: r0v6 */ /* JADX WARN: Type inference failed for: r0v7 */ /* JADX WARN: Type inference failed for: r2v0, types: [boolean] */ public int hashCode() { boolean z = this.a; ?? r0 = z; if (z) { r0 = 1; } int i = r0 * 31; ?? r2 = this.b; int i2 = r2; if (r2 != 0) { i2 = 1; } int i3 = (i + i2) * 31; boolean z2 = this.c; return i3 + (z2 ? 1 : z2 ? 1 : 0); } public String toString() { return "ViewVisibilityParams(isVisible=" + this.a + ", isWindowVisible=" + this.b + ", isShown=" + this.c + ')'; } }