package defpackage;

import android.content.Context;
import androidx.media3.container.NalUnitUtil;
import java.util.ArrayList;
import java.util.List;
import kotlin.Metadata;

/* JADX INFO: loaded from: classes3.dex */
@Metadata(d1 = {"\u0000\n\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\b\u0086\b\u0018\u00002\u00020\u0001¨\u0006\u0002"}, d2 = {"Laf1;", "", "app_sideloadRelease"}, k = 1, mv = {2, 0, 0}, xi = NalUnitUtil.H265_NAL_UNIT_TYPE_UNSPECIFIED)
public final /* data */ class af1 {
    public final String a;
    public final List b;
    public final x78 c;
    public final String d;
    public final String e;
    public final String f;
    public final String g;
    public final String h;
    public final String i;
    public final String j;

    public af1(String str, List list, x78 x78Var, String str2, String str3, String str4, String str5, String str6, String str7, String str8) {
        cr4.g(str, "title");
        cr4.g(x78Var, "presentation");
        cr4.g(str2, "rowType");
        this.a = str;
        this.b = list;
        this.c = x78Var;
        this.d = str2;
        this.e = str3;
        this.f = str4;
        this.g = str5;
        this.h = str6;
        this.i = str7;
        this.j = str8;
    }

    public final String a() {
        String str = this.a;
        String str2 = this.f;
        return str2 != null ? vw2.l(str, "|", str2) : str;
    }

    public final String b(Context context) {
        int identifier;
        String str = this.j;
        if (str == null || (identifier = context.getResources().getIdentifier(str, "string", context.getPackageName())) == 0) {
            return this.a;
        }
        String string = context.getString(identifier);
        cr4.f(string, "getString(...)");
        return string;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof af1)) {
            return false;
        }
        af1 af1Var = (af1) obj;
        return cr4.b(this.a, af1Var.a) && cr4.b(this.b, af1Var.b) && this.c == af1Var.c && cr4.b(this.d, af1Var.d) && cr4.b(this.e, af1Var.e) && cr4.b(this.f, af1Var.f) && cr4.b(this.g, af1Var.g) && cr4.b(this.h, af1Var.h) && cr4.b(this.i, af1Var.i) && cr4.b(this.j, af1Var.j);
    }

    public final int hashCode() {
        int iB = vw2.b((this.c.hashCode() + fi7.d(this.b, this.a.hashCode() * 31, 31)) * 31, 31, this.d);
        String str = this.e;
        int iHashCode = (iB + (str == null ? 0 : str.hashCode())) * 31;
        String str2 = this.f;
        int iHashCode2 = (iHashCode + (str2 == null ? 0 : str2.hashCode())) * 31;
        String str3 = this.g;
        int iHashCode3 = (iHashCode2 + (str3 == null ? 0 : str3.hashCode())) * 31;
        String str4 = this.h;
        int iHashCode4 = (iHashCode3 + (str4 == null ? 0 : str4.hashCode())) * 31;
        String str5 = this.i;
        int iHashCode5 = (iHashCode4 + (str5 == null ? 0 : str5.hashCode())) * 31;
        String str6 = this.j;
        return iHashCode5 + (str6 != null ? str6.hashCode() : 0);
    }

    public final String toString() {
        StringBuilder sb = new StringBuilder("ContentRow(title=");
        sb.append(this.a);
        sb.append(", items=");
        sb.append(this.b);
        sb.append(", presentation=");
        sb.append(this.c);
        sb.append(", rowType=");
        sb.append(this.d);
        sb.append(", contentType=");
        vw2.aa(sb, this.e, ", dataSourceUrl=", this.f, ", rowConfigId=");
        vw2.aa(sb, this.g, ", sortBy=", this.h, ", sortHow=");
        return n41.u(sb, this.i, ", titleResKey=", this.j, ")");
    }

    public /* synthetic */ af1(String str, ArrayList arrayList, x78 x78Var, String str2, String str3, String str4, String str5, int i) {
        this(str, arrayList, x78Var, (i & 8) != 0 ? "" : str2, null, null, (i & 64) != 0 ? null : str3, (i & 128) != 0 ? null : str4, (i & 256) != 0 ? null : str5, null);
    }
}
