package h3;

import java.util.List;
import q.AbstractC2761L;

/* JADX INFO: loaded from: classes.dex */
public final class U2 {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final String f17476a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final boolean f17477b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final String f17478c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final String f17479d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final List f17480e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final String f17481f;

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    public final List f17482g;

    /* JADX INFO: renamed from: h, reason: collision with root package name */
    public final boolean f17483h;

    /* JADX INFO: renamed from: i, reason: collision with root package name */
    public final List f17484i;

    public U2(String str, boolean z6, String str2, String str3, List firstRowItems, String str4, List secondRowItems, boolean z7, List searchHistoryTitles) {
        kotlin.jvm.internal.o.h(firstRowItems, "firstRowItems");
        kotlin.jvm.internal.o.h(secondRowItems, "secondRowItems");
        kotlin.jvm.internal.o.h(searchHistoryTitles, "searchHistoryTitles");
        this.f17476a = str;
        this.f17477b = z6;
        this.f17478c = str2;
        this.f17479d = str3;
        this.f17480e = firstRowItems;
        this.f17481f = str4;
        this.f17482g = secondRowItems;
        this.f17483h = z7;
        this.f17484i = searchHistoryTitles;
    }

    public static U2 a(U2 u22, String str, boolean z6, String str2, String str3, List list, String str4, List list2, boolean z7, List list3, int i6) {
        if ((i6 & 1) != 0) {
            str = u22.f17476a;
        }
        String str5 = str;
        if ((i6 & 2) != 0) {
            z6 = u22.f17477b;
        }
        boolean z8 = z6;
        if ((i6 & 4) != 0) {
            str2 = u22.f17478c;
        }
        String str6 = str2;
        if ((i6 & 8) != 0) {
            str3 = u22.f17479d;
        }
        String str7 = str3;
        if ((i6 & 16) != 0) {
            list = u22.f17480e;
        }
        List firstRowItems = list;
        String str8 = (i6 & 32) != 0 ? u22.f17481f : str4;
        List secondRowItems = (i6 & 64) != 0 ? u22.f17482g : list2;
        boolean z9 = (i6 & 128) != 0 ? u22.f17483h : z7;
        List searchHistoryTitles = (i6 & 256) != 0 ? u22.f17484i : list3;
        u22.getClass();
        kotlin.jvm.internal.o.h(firstRowItems, "firstRowItems");
        kotlin.jvm.internal.o.h(secondRowItems, "secondRowItems");
        kotlin.jvm.internal.o.h(searchHistoryTitles, "searchHistoryTitles");
        return new U2(str5, z8, str6, str7, firstRowItems, str8, secondRowItems, z9, searchHistoryTitles);
    }

    public final String b() {
        return this.f17478c;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof U2)) {
            return false;
        }
        U2 u22 = (U2) obj;
        return kotlin.jvm.internal.o.c(this.f17476a, u22.f17476a) && this.f17477b == u22.f17477b && kotlin.jvm.internal.o.c(this.f17478c, u22.f17478c) && kotlin.jvm.internal.o.c(this.f17479d, u22.f17479d) && kotlin.jvm.internal.o.c(this.f17480e, u22.f17480e) && kotlin.jvm.internal.o.c(this.f17481f, u22.f17481f) && kotlin.jvm.internal.o.c(this.f17482g, u22.f17482g) && this.f17483h == u22.f17483h && kotlin.jvm.internal.o.c(this.f17484i, u22.f17484i);
    }

    public final int hashCode() {
        int iF = com.google.android.recaptcha.internal.a.f(this.f17476a.hashCode() * 31, 31, this.f17477b);
        String str = this.f17478c;
        return this.f17484i.hashCode() + com.google.android.recaptcha.internal.a.f(AbstractC2761L.c(this.f17482g, AbstractC2761L.b(AbstractC2761L.c(this.f17480e, AbstractC2761L.b((iF + (str == null ? 0 : str.hashCode())) * 31, 31, this.f17479d), 31), 31, this.f17481f), 31), 31, this.f17483h);
    }

    public final String toString() {
        return "SearchUiState(query=" + this.f17476a + ", loading=" + this.f17477b + ", error=" + this.f17478c + ", firstRowTitle=" + this.f17479d + ", firstRowItems=" + this.f17480e + ", secondRowTitle=" + this.f17481f + ", secondRowItems=" + this.f17482g + ", hasSearchedWithResults=" + this.f17483h + ", searchHistoryTitles=" + this.f17484i + ")";
    }
}
