package com.strmr.ps.ui.mobile.home;

import android.os.Bundle;
import android.os.Parcelable;
import androidx.media3.container.NalUnitUtil;
import androidx.media3.exoplayer.upstream.CmcdData;
import com.strmr.ps.R;
import com.strmr.ps.data.local.entity.PlaybackProgress;
import com.strmr.ps.data.model.ContentItem;
import defpackage.cr4;
import defpackage.fi7;
import defpackage.ji6;
import defpackage.n41;
import defpackage.vw2;
import java.io.Serializable;
import kotlin.Metadata;

/* JADX INFO: loaded from: classes3.dex */
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0006\u0018\u00002\u00020\u0001:\u0005\u0002\u0003\u0004\u0005\u0006¨\u0006\u0007"}, d2 = {"Lcom/strmr/ps/ui/mobile/home/d;", "", CmcdData.OBJECT_TYPE_AUDIO_ONLY, "b", "c", "d", "e", "app_sideloadRelease"}, k = 1, mv = {2, 0, 0}, xi = NalUnitUtil.H265_NAL_UNIT_TYPE_UNSPECIFIED)
public final class d {

    @Metadata(d1 = {"\u0000\n\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\b\u0082\b\u0018\u00002\u00020\u0001¨\u0006\u0002"}, d2 = {"Lcom/strmr/ps/ui/mobile/home/d$a;", "Lji6;", "app_sideloadRelease"}, k = 1, mv = {2, 0, 0}, xi = NalUnitUtil.H265_NAL_UNIT_TYPE_UNSPECIFIED)
    public static final /* data */ class a implements ji6 {
        public final int a;
        public final String b;
        public final ContentItem c;

        public a(ContentItem contentItem, String str, int i) {
            this.a = i;
            this.b = str;
            this.c = contentItem;
        }

        @Override // defpackage.ji6
        public final int a() {
            return R.id.action_mobileHome_to_details;
        }

        public final boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            if (!(obj instanceof a)) {
                return false;
            }
            a aVar = (a) obj;
            return this.a == aVar.a && cr4.b(this.b, aVar.b) && cr4.b(this.c, aVar.c);
        }

        @Override // defpackage.ji6
        public final Bundle getArguments() {
            Bundle bundle = new Bundle();
            bundle.putInt("tmdb_id", this.a);
            bundle.putString("content_type", this.b);
            boolean zIsAssignableFrom = Parcelable.class.isAssignableFrom(ContentItem.class);
            Parcelable parcelable = this.c;
            if (zIsAssignableFrom) {
                bundle.putParcelable("content_item", parcelable);
                return bundle;
            }
            if (Serializable.class.isAssignableFrom(ContentItem.class)) {
                bundle.putSerializable("content_item", (Serializable) parcelable);
            }
            return bundle;
        }

        public final int hashCode() {
            int iB = vw2.b(Integer.hashCode(this.a) * 31, 31, this.b);
            ContentItem contentItem = this.c;
            return iB + (contentItem == null ? 0 : contentItem.hashCode());
        }

        public final String toString() {
            StringBuilder sbK = fi7.k("ActionMobileHomeToDetails(tmdbId=", this.a, ", contentType=", this.b, ", contentItem=");
            sbK.append(this.c);
            sbK.append(")");
            return sbK.toString();
        }
    }

    @Metadata(d1 = {"\u0000\n\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\b\u0082\b\u0018\u00002\u00020\u0001¨\u0006\u0002"}, d2 = {"Lcom/strmr/ps/ui/mobile/home/d$b;", "Lji6;", "app_sideloadRelease"}, k = 1, mv = {2, 0, 0}, xi = NalUnitUtil.H265_NAL_UNIT_TYPE_UNSPECIFIED)
    public static final /* data */ class b implements ji6 {
        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;

        public b(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) {
            cr4.g(str, "title");
            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;
        }

        @Override // defpackage.ji6
        public final int a() {
            return R.id.action_mobileHome_to_grid;
        }

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

        @Override // defpackage.ji6
        public final Bundle getArguments() {
            Bundle bundle = new Bundle();
            bundle.putString("title", this.a);
            bundle.putString("source_type", this.b);
            bundle.putString("genre_slug", this.c);
            bundle.putString("content_type", this.d);
            bundle.putString("row_type", this.e);
            bundle.putString("username", this.f);
            bundle.putString("list_id", this.g);
            bundle.putString("trakt_url", this.h);
            bundle.putString("network_id", this.i);
            bundle.putString("trakt_category", this.j);
            bundle.putString("data_source_url", this.k);
            bundle.putString("row_config_id", this.l);
            bundle.putString("sort_by", this.m);
            bundle.putString("sort_how", this.n);
            return bundle;
        }

        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("ActionMobileHomeToGrid(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, ")");
        }
    }

    @Metadata(d1 = {"\u0000\n\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\b\u0082\b\u0018\u00002\u00020\u0001¨\u0006\u0002"}, d2 = {"Lcom/strmr/ps/ui/mobile/home/d$c;", "Lji6;", "app_sideloadRelease"}, k = 1, mv = {2, 0, 0}, xi = NalUnitUtil.H265_NAL_UNIT_TYPE_UNSPECIFIED)
    public static final /* data */ class c implements ji6 {
        @Override // defpackage.ji6
        public final int a() {
            return 0;
        }

        public final boolean equals(Object obj) {
            return this == obj || (obj instanceof c);
        }

        @Override // defpackage.ji6
        public final Bundle getArguments() {
            Bundle bundle = new Bundle();
            bundle.putString("trakt_list_username", null);
            bundle.putString("trakt_list_id", null);
            bundle.putString("trakt_list_title", null);
            bundle.putString("trakt_list_url", null);
            return bundle;
        }

        public final int hashCode() {
            throw null;
        }

        public final String toString() {
            return "ActionMobileHomeToTraktList(traktListUsername=null, traktListId=null, traktListTitle=null, traktListUrl=null)";
        }
    }

    /* JADX INFO: renamed from: com.strmr.ps.ui.mobile.home.d$d, reason: collision with other inner class name */
    @Metadata(d1 = {"\u0000\n\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\b\u0082\b\u0018\u00002\u00020\u0001¨\u0006\u0002"}, d2 = {"Lcom/strmr/ps/ui/mobile/home/d$d;", "Lji6;", "app_sideloadRelease"}, k = 1, mv = {2, 0, 0}, xi = NalUnitUtil.H265_NAL_UNIT_TYPE_UNSPECIFIED)
    public static final /* data */ class C0114d implements ji6 {
        @Override // defpackage.ji6
        public final int a() {
            return 0;
        }

        public final boolean equals(Object obj) {
            return this == obj || (obj instanceof C0114d);
        }

        @Override // defpackage.ji6
        public final Bundle getArguments() {
            Bundle bundle = new Bundle();
            bundle.putString("trakt_media_category", null);
            return bundle;
        }

        public final int hashCode() {
            throw null;
        }

        public final String toString() {
            return "ActionMobileHomeToTraktMedia(traktMediaCategory=null)";
        }
    }

    @Metadata(d1 = {"\u0000\n\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\b\u0086\u0003\u0018\u00002\u00020\u0001¨\u0006\u0002"}, d2 = {"Lcom/strmr/ps/ui/mobile/home/d$e;", "", "app_sideloadRelease"}, k = 1, mv = {2, 0, 0}, xi = NalUnitUtil.H265_NAL_UNIT_TYPE_UNSPECIFIED)
    public static final class e {
        public static ji6 a(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, int i) {
            String str15 = (i & 4) != 0 ? "" : str3;
            String str16 = (i & 8) != 0 ? PlaybackProgress.TYPE_MOVIE : str4;
            String str17 = (i & 16) != 0 ? "" : str5;
            String str18 = (i & 32) != 0 ? "" : str6;
            String str19 = (i & 64) != 0 ? "" : str7;
            String str20 = (i & 128) != 0 ? "" : str8;
            String str21 = (i & 256) != 0 ? "" : str9;
            String str22 = (i & 512) != 0 ? "" : str10;
            String str23 = (i & 1024) != 0 ? "" : str11;
            String str24 = (i & 2048) != 0 ? "" : str12;
            String str25 = (i & 4096) != 0 ? null : str13;
            String str26 = (i & 8192) != 0 ? null : str14;
            cr4.g(str, "title");
            cr4.g(str15, "genreSlug");
            cr4.g(str17, "rowType");
            cr4.g(str18, "username");
            cr4.g(str19, "listId");
            cr4.g(str20, "traktUrl");
            cr4.g(str21, "networkId");
            cr4.g(str22, "traktCategory");
            return new b(str, str2, str15, str16, str17, str18, str19, str20, str21, str22, str23, str24, str25, str26);
        }
    }
}
