package defpackage;

import android.os.Bundle;
import androidx.media3.container.NalUnitUtil;
import androidx.media3.exoplayer.upstream.CmcdData;
import com.strmr.ps.data.local.entity.PlaybackProgress;
import kotlin.Metadata;

/* JADX INFO: loaded from: classes3.dex */
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001:\u0001\u0002¨\u0006\u0003"}, d2 = {"Lj36;", "Luh6;", CmcdData.OBJECT_TYPE_AUDIO_ONLY, "app_sideloadRelease"}, k = 1, mv = {2, 0, 0}, xi = NalUnitUtil.H265_NAL_UNIT_TYPE_UNSPECIFIED)
public final /* data */ class j36 implements uh6 {
    public final String a;
    public final String b;
    public final String 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 final String k;
    public final String l;
    public final String m;
    public final String n;

    @Metadata(d1 = {"\u0000\n\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\b\u0086\u0003\u0018\u00002\u00020\u0001¨\u0006\u0002"}, d2 = {"Lj36$a;", "", "app_sideloadRelease"}, k = 1, mv = {2, 0, 0}, xi = NalUnitUtil.H265_NAL_UNIT_TYPE_UNSPECIFIED)
    public static final class a {
    }

    public j36(String str, String str2, String str3, String str4, String str5, String str6, String str7, String str8, String str9, String str10, String str11, String str12, String str13, String str14) {
        this.a = str;
        this.b = str2;
        this.c = str3;
        this.d = str4;
        this.e = str5;
        this.f = str6;
        this.g = str7;
        this.h = str8;
        this.i = str9;
        this.j = str10;
        this.k = str11;
        this.l = str12;
        this.m = str13;
        this.n = str14;
    }

    @x15
    @kp6
    public static final j36 fromBundle(@kp6 Bundle bundle) {
        String string;
        String str;
        String string2;
        String str2;
        String str3;
        String str4;
        String str5;
        String str6;
        String str7;
        String str8;
        cr4.g(bundle, "bundle");
        bundle.setClassLoader(j36.class.getClassLoader());
        if (!bundle.containsKey("title")) {
            throw new IllegalArgumentException("Required argument \"title\" is missing and does not have an android:defaultValue");
        }
        String string3 = bundle.getString("title");
        if (string3 == null) {
            throw new IllegalArgumentException("Argument \"title\" is marked as non-null but was passed a null value.");
        }
        if (bundle.containsKey("source_type")) {
            string = bundle.getString("source_type");
            if (string == null) {
                throw new IllegalArgumentException("Argument \"source_type\" is marked as non-null but was passed a null value.");
            }
        } else {
            string = "genre";
        }
        String str9 = string;
        String string4 = "";
        if (bundle.containsKey("genre_slug")) {
            String string5 = bundle.getString("genre_slug");
            if (string5 == null) {
                throw new IllegalArgumentException("Argument \"genre_slug\" is marked as non-null but was passed a null value.");
            }
            str = string5;
        } else {
            str = "";
        }
        if (bundle.containsKey("content_type")) {
            string2 = bundle.getString("content_type");
            if (string2 == null) {
                throw new IllegalArgumentException("Argument \"content_type\" is marked as non-null but was passed a null value.");
            }
        } else {
            string2 = PlaybackProgress.TYPE_MOVIE;
        }
        String str10 = string2;
        if (bundle.containsKey("row_type")) {
            String string6 = bundle.getString("row_type");
            if (string6 == null) {
                throw new IllegalArgumentException("Argument \"row_type\" is marked as non-null but was passed a null value.");
            }
            str2 = string6;
        } else {
            str2 = "";
        }
        if (bundle.containsKey("username")) {
            String string7 = bundle.getString("username");
            if (string7 == null) {
                throw new IllegalArgumentException("Argument \"username\" is marked as non-null but was passed a null value.");
            }
            str3 = string7;
        } else {
            str3 = "";
        }
        if (bundle.containsKey("list_id")) {
            String string8 = bundle.getString("list_id");
            if (string8 == null) {
                throw new IllegalArgumentException("Argument \"list_id\" is marked as non-null but was passed a null value.");
            }
            str4 = string8;
        } else {
            str4 = "";
        }
        if (bundle.containsKey("trakt_url")) {
            String string9 = bundle.getString("trakt_url");
            if (string9 == null) {
                throw new IllegalArgumentException("Argument \"trakt_url\" is marked as non-null but was passed a null value.");
            }
            str5 = string9;
        } else {
            str5 = "";
        }
        if (bundle.containsKey("network_id")) {
            String string10 = bundle.getString("network_id");
            if (string10 == null) {
                throw new IllegalArgumentException("Argument \"network_id\" is marked as non-null but was passed a null value.");
            }
            str6 = string10;
        } else {
            str6 = "";
        }
        if (bundle.containsKey("trakt_category")) {
            String string11 = bundle.getString("trakt_category");
            if (string11 == null) {
                throw new IllegalArgumentException("Argument \"trakt_category\" is marked as non-null but was passed a null value.");
            }
            str7 = string11;
        } else {
            str7 = "";
        }
        if (bundle.containsKey("data_source_url")) {
            String string12 = bundle.getString("data_source_url");
            if (string12 == null) {
                throw new IllegalArgumentException("Argument \"data_source_url\" is marked as non-null but was passed a null value.");
            }
            str8 = string12;
        } else {
            str8 = "";
        }
        if (bundle.containsKey("row_config_id") && (string4 = bundle.getString("row_config_id")) == null) {
            throw new IllegalArgumentException("Argument \"row_config_id\" is marked as non-null but was passed a null value.");
        }
        return new j36(string3, str9, str, str10, str2, str3, str4, str5, str6, str7, str8, string4, bundle.containsKey("sort_by") ? bundle.getString("sort_by") : null, bundle.containsKey("sort_how") ? bundle.getString("sort_how") : null);
    }

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

    public final int hashCode() {
        int iB = vw2.b(vw2.b(vw2.b(vw2.b(vw2.b(vw2.b(vw2.b(vw2.b(vw2.b(vw2.b(vw2.b(this.a.hashCode() * 31, 31, this.b), 31, this.c), 31, this.d), 31, this.e), 31, this.f), 31, this.g), 31, this.h), 31, this.i), 31, this.j), 31, this.k), 31, this.l);
        String str = this.m;
        int iHashCode = (iB + (str == null ? 0 : str.hashCode())) * 31;
        String str2 = this.n;
        return iHashCode + (str2 != null ? str2.hashCode() : 0);
    }

    public final String toString() {
        StringBuilder sbM = fi7.m("MobileGridFragmentArgs(title=", this.a, ", sourceType=", this.b, ", genreSlug=");
        vw2.aa(sbM, this.c, ", contentType=", this.d, ", rowType=");
        vw2.aa(sbM, this.e, ", username=", this.f, ", listId=");
        vw2.aa(sbM, this.g, ", traktUrl=", this.h, ", networkId=");
        vw2.aa(sbM, this.i, ", traktCategory=", this.j, ", dataSourceUrl=");
        vw2.aa(sbM, this.k, ", rowConfigId=", this.l, ", sortBy=");
        return n41.u(sbM, this.m, ", sortHow=", this.n, ")");
    }
}
