package com.strmr.ps.data.local.entity;

import androidx.media3.container.NalUnitUtil;
import androidx.media3.exoplayer.rtsp.SessionDescription;
import defpackage.cr4;
import defpackage.fi7;
import defpackage.ih7;
import defpackage.kp6;
import defpackage.n41;
import defpackage.pq6;
import defpackage.uz1;
import defpackage.vm2;
import defpackage.vw2;
import kotlin.Metadata;

/* JADX INFO: loaded from: classes3.dex */
@Metadata(d1 = {"\u00000\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\u0006\n\u0000\n\u0002\u0010\t\n\u0002\b)\n\u0002\u0010\u000b\n\u0002\b\u0005\b\u0087\b\u0018\u0000 92\u00020\u0001:\u00019Bu\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0006\u0012\u0006\u0010\u0007\u001a\u00020\u0003\u0012\b\u0010\b\u001a\u0004\u0018\u00010\t\u0012\u0006\u0010\n\u001a\u00020\u000b\u0012\n\b\u0002\u0010\f\u001a\u0004\u0018\u00010\u000b\u0012\n\b\u0002\u0010\r\u001a\u0004\u0018\u00010\u0003\u0012\n\b\u0002\u0010\u000e\u001a\u0004\u0018\u00010\u0006\u0012\n\b\u0002\u0010\u000f\u001a\u0004\u0018\u00010\u0006\u0012\n\b\u0002\u0010\u0010\u001a\u0004\u0018\u00010\u0006¢\u0006\u0004\b\u0011\u0010\u0012J\t\u0010'\u001a\u00020\u0003HÆ\u0003J\t\u0010(\u001a\u00020\u0003HÆ\u0003J\t\u0010)\u001a\u00020\u0006HÆ\u0003J\t\u0010*\u001a\u00020\u0003HÆ\u0003J\u0010\u0010+\u001a\u0004\u0018\u00010\tHÆ\u0003¢\u0006\u0002\u0010\u001aJ\t\u0010,\u001a\u00020\u000bHÆ\u0003J\u0010\u0010-\u001a\u0004\u0018\u00010\u000bHÆ\u0003¢\u0006\u0002\u0010\u001fJ\u000b\u0010.\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u0010\u0010/\u001a\u0004\u0018\u00010\u0006HÆ\u0003¢\u0006\u0002\u0010#J\u0010\u00100\u001a\u0004\u0018\u00010\u0006HÆ\u0003¢\u0006\u0002\u0010#J\u0010\u00101\u001a\u0004\u0018\u00010\u0006HÆ\u0003¢\u0006\u0002\u0010#J\u0088\u0001\u00102\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00032\b\b\u0002\u0010\u0005\u001a\u00020\u00062\b\b\u0002\u0010\u0007\u001a\u00020\u00032\n\b\u0002\u0010\b\u001a\u0004\u0018\u00010\t2\b\b\u0002\u0010\n\u001a\u00020\u000b2\n\b\u0002\u0010\f\u001a\u0004\u0018\u00010\u000b2\n\b\u0002\u0010\r\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\u000e\u001a\u0004\u0018\u00010\u00062\n\b\u0002\u0010\u000f\u001a\u0004\u0018\u00010\u00062\n\b\u0002\u0010\u0010\u001a\u0004\u0018\u00010\u0006HÆ\u0001¢\u0006\u0002\u00103J\u0013\u00104\u001a\u0002052\b\u00106\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u00107\u001a\u00020\u0006HÖ\u0001J\t\u00108\u001a\u00020\u0003HÖ\u0001R\u0016\u0010\u0002\u001a\u00020\u00038\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0013\u0010\u0014R\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0015\u0010\u0014R\u0011\u0010\u0005\u001a\u00020\u0006¢\u0006\b\n\u0000\u001a\u0004\b\u0016\u0010\u0017R\u0011\u0010\u0007\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0018\u0010\u0014R\u0015\u0010\b\u001a\u0004\u0018\u00010\t¢\u0006\n\n\u0002\u0010\u001b\u001a\u0004\b\u0019\u0010\u001aR\u0011\u0010\n\u001a\u00020\u000b¢\u0006\b\n\u0000\u001a\u0004\b\u001c\u0010\u001dR\u0015\u0010\f\u001a\u0004\u0018\u00010\u000b¢\u0006\n\n\u0002\u0010 \u001a\u0004\b\u001e\u0010\u001fR\u0013\u0010\r\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b!\u0010\u0014R\u0015\u0010\u000e\u001a\u0004\u0018\u00010\u0006¢\u0006\n\n\u0002\u0010$\u001a\u0004\b\"\u0010#R\u0015\u0010\u000f\u001a\u0004\u0018\u00010\u0006¢\u0006\n\n\u0002\u0010$\u001a\u0004\b%\u0010#R\u0015\u0010\u0010\u001a\u0004\u0018\u00010\u0006¢\u0006\n\n\u0002\u0010$\u001a\u0004\b&\u0010#¨\u0006:"}, d2 = {"Lcom/strmr/ps/data/local/entity/WatchStatusEntity;", "", "key", "", "userSlug", "tmdbId", "", SessionDescription.ATTR_TYPE, "progress", "", "updatedAt", "", "lastWatched", "nextEpisodeTitle", "nextEpisodeSeason", "nextEpisodeNumber", "nextEpisodeTmdbId", "<init>", "(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/Double;JLjava/lang/Long;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;)V", "getKey", "()Ljava/lang/String;", "getUserSlug", "getTmdbId", "()I", "getType", "getProgress", "()Ljava/lang/Double;", "Ljava/lang/Double;", "getUpdatedAt", "()J", "getLastWatched", "()Ljava/lang/Long;", "Ljava/lang/Long;", "getNextEpisodeTitle", "getNextEpisodeSeason", "()Ljava/lang/Integer;", "Ljava/lang/Integer;", "getNextEpisodeNumber", "getNextEpisodeTmdbId", "component1", "component2", "component3", "component4", "component5", "component6", "component7", "component8", "component9", "component10", "component11", "copy", "(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/Double;JLjava/lang/Long;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;)Lcom/strmr/ps/data/local/entity/WatchStatusEntity;", "equals", "", "other", "hashCode", "toString", "Companion", "app_sideloadRelease"}, k = 1, mv = {2, 0, 0}, xi = NalUnitUtil.H265_NAL_UNIT_TYPE_UNSPECIFIED)
@vm2
public final /* data */ class WatchStatusEntity {

    /* JADX INFO: renamed from: Companion, reason: from kotlin metadata */
    @kp6
    public static final Companion INSTANCE = new Companion(null);

    @ih7
    @kp6
    private final String key;

    @pq6
    private final Long lastWatched;

    @pq6
    private final Integer nextEpisodeNumber;

    @pq6
    private final Integer nextEpisodeSeason;

    @pq6
    private final String nextEpisodeTitle;

    @pq6
    private final Integer nextEpisodeTmdbId;

    @pq6
    private final Double progress;
    private final int tmdbId;

    @kp6
    private final String type;
    private final long updatedAt;

    @kp6
    private final String userSlug;

    @Metadata(d1 = {"\u0000\u001a\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0003\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0010\b\n\u0000\b\u0086\u0003\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u0002\u0010\u0003J\u001e\u0010\u0004\u001a\u00020\u00052\u0006\u0010\u0006\u001a\u00020\u00052\u0006\u0010\u0007\u001a\u00020\u00052\u0006\u0010\b\u001a\u00020\t¨\u0006\n"}, d2 = {"Lcom/strmr/ps/data/local/entity/WatchStatusEntity$Companion;", "", "<init>", "()V", "generateKey", "", "userSlug", SessionDescription.ATTR_TYPE, "tmdbId", "", "app_sideloadRelease"}, k = 1, mv = {2, 0, 0}, xi = NalUnitUtil.H265_NAL_UNIT_TYPE_UNSPECIFIED)
    public static final class Companion {
        public /* synthetic */ Companion(uz1 uz1Var) {
            this();
        }

        @kp6
        public final String generateKey(@kp6 String userSlug, @kp6 String type, int tmdbId) {
            cr4.g(userSlug, "userSlug");
            cr4.g(type, SessionDescription.ATTR_TYPE);
            return userSlug + "_" + type + "_" + tmdbId;
        }

        private Companion() {
        }
    }

    public WatchStatusEntity(@kp6 String str, @kp6 String str2, int i, @kp6 String str3, @pq6 Double d, long j, @pq6 Long l, @pq6 String str4, @pq6 Integer num, @pq6 Integer num2, @pq6 Integer num3) {
        cr4.g(str, "key");
        cr4.g(str2, "userSlug");
        cr4.g(str3, SessionDescription.ATTR_TYPE);
        this.key = str;
        this.userSlug = str2;
        this.tmdbId = i;
        this.type = str3;
        this.progress = d;
        this.updatedAt = j;
        this.lastWatched = l;
        this.nextEpisodeTitle = str4;
        this.nextEpisodeSeason = num;
        this.nextEpisodeNumber = num2;
        this.nextEpisodeTmdbId = num3;
    }

    public static /* synthetic */ WatchStatusEntity copy$default(WatchStatusEntity watchStatusEntity, String str, String str2, int i, String str3, Double d, long j, Long l, String str4, Integer num, Integer num2, Integer num3, int i2, Object obj) {
        if ((i2 & 1) != 0) {
            str = watchStatusEntity.key;
        }
        if ((i2 & 2) != 0) {
            str2 = watchStatusEntity.userSlug;
        }
        if ((i2 & 4) != 0) {
            i = watchStatusEntity.tmdbId;
        }
        if ((i2 & 8) != 0) {
            str3 = watchStatusEntity.type;
        }
        if ((i2 & 16) != 0) {
            d = watchStatusEntity.progress;
        }
        if ((i2 & 32) != 0) {
            j = watchStatusEntity.updatedAt;
        }
        if ((i2 & 64) != 0) {
            l = watchStatusEntity.lastWatched;
        }
        if ((i2 & 128) != 0) {
            str4 = watchStatusEntity.nextEpisodeTitle;
        }
        if ((i2 & 256) != 0) {
            num = watchStatusEntity.nextEpisodeSeason;
        }
        if ((i2 & 512) != 0) {
            num2 = watchStatusEntity.nextEpisodeNumber;
        }
        if ((i2 & 1024) != 0) {
            num3 = watchStatusEntity.nextEpisodeTmdbId;
        }
        Integer num4 = num3;
        Integer num5 = num;
        Long l2 = l;
        long j2 = j;
        String str5 = str3;
        Double d2 = d;
        int i3 = i;
        return watchStatusEntity.copy(str, str2, i3, str5, d2, j2, l2, str4, num5, num2, num4);
    }

    @kp6
    /* JADX INFO: renamed from: component1, reason: from getter */
    public final String getKey() {
        return this.key;
    }

    @pq6
    /* JADX INFO: renamed from: component10, reason: from getter */
    public final Integer getNextEpisodeNumber() {
        return this.nextEpisodeNumber;
    }

    @pq6
    /* JADX INFO: renamed from: component11, reason: from getter */
    public final Integer getNextEpisodeTmdbId() {
        return this.nextEpisodeTmdbId;
    }

    @kp6
    /* JADX INFO: renamed from: component2, reason: from getter */
    public final String getUserSlug() {
        return this.userSlug;
    }

    /* JADX INFO: renamed from: component3, reason: from getter */
    public final int getTmdbId() {
        return this.tmdbId;
    }

    @kp6
    /* JADX INFO: renamed from: component4, reason: from getter */
    public final String getType() {
        return this.type;
    }

    @pq6
    /* JADX INFO: renamed from: component5, reason: from getter */
    public final Double getProgress() {
        return this.progress;
    }

    /* JADX INFO: renamed from: component6, reason: from getter */
    public final long getUpdatedAt() {
        return this.updatedAt;
    }

    @pq6
    /* JADX INFO: renamed from: component7, reason: from getter */
    public final Long getLastWatched() {
        return this.lastWatched;
    }

    @pq6
    /* JADX INFO: renamed from: component8, reason: from getter */
    public final String getNextEpisodeTitle() {
        return this.nextEpisodeTitle;
    }

    @pq6
    /* JADX INFO: renamed from: component9, reason: from getter */
    public final Integer getNextEpisodeSeason() {
        return this.nextEpisodeSeason;
    }

    @kp6
    public final WatchStatusEntity copy(@kp6 String key, @kp6 String userSlug, int tmdbId, @kp6 String type, @pq6 Double progress, long updatedAt, @pq6 Long lastWatched, @pq6 String nextEpisodeTitle, @pq6 Integer nextEpisodeSeason, @pq6 Integer nextEpisodeNumber, @pq6 Integer nextEpisodeTmdbId) {
        cr4.g(key, "key");
        cr4.g(userSlug, "userSlug");
        cr4.g(type, SessionDescription.ATTR_TYPE);
        return new WatchStatusEntity(key, userSlug, tmdbId, type, progress, updatedAt, lastWatched, nextEpisodeTitle, nextEpisodeSeason, nextEpisodeNumber, nextEpisodeTmdbId);
    }

    public boolean equals(@pq6 Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof WatchStatusEntity)) {
            return false;
        }
        WatchStatusEntity watchStatusEntity = (WatchStatusEntity) other;
        return cr4.b(this.key, watchStatusEntity.key) && cr4.b(this.userSlug, watchStatusEntity.userSlug) && this.tmdbId == watchStatusEntity.tmdbId && cr4.b(this.type, watchStatusEntity.type) && cr4.b(this.progress, watchStatusEntity.progress) && this.updatedAt == watchStatusEntity.updatedAt && cr4.b(this.lastWatched, watchStatusEntity.lastWatched) && cr4.b(this.nextEpisodeTitle, watchStatusEntity.nextEpisodeTitle) && cr4.b(this.nextEpisodeSeason, watchStatusEntity.nextEpisodeSeason) && cr4.b(this.nextEpisodeNumber, watchStatusEntity.nextEpisodeNumber) && cr4.b(this.nextEpisodeTmdbId, watchStatusEntity.nextEpisodeTmdbId);
    }

    @kp6
    public final String getKey() {
        return this.key;
    }

    @pq6
    public final Long getLastWatched() {
        return this.lastWatched;
    }

    @pq6
    public final Integer getNextEpisodeNumber() {
        return this.nextEpisodeNumber;
    }

    @pq6
    public final Integer getNextEpisodeSeason() {
        return this.nextEpisodeSeason;
    }

    @pq6
    public final String getNextEpisodeTitle() {
        return this.nextEpisodeTitle;
    }

    @pq6
    public final Integer getNextEpisodeTmdbId() {
        return this.nextEpisodeTmdbId;
    }

    @pq6
    public final Double getProgress() {
        return this.progress;
    }

    public final int getTmdbId() {
        return this.tmdbId;
    }

    @kp6
    public final String getType() {
        return this.type;
    }

    public final long getUpdatedAt() {
        return this.updatedAt;
    }

    @kp6
    public final String getUserSlug() {
        return this.userSlug;
    }

    public int hashCode() {
        int iB = vw2.b(fi7.a(this.tmdbId, vw2.b(this.key.hashCode() * 31, 31, this.userSlug), 31), 31, this.type);
        Double d = this.progress;
        int iB2 = fi7.b((iB + (d == null ? 0 : d.hashCode())) * 31, 31, this.updatedAt);
        Long l = this.lastWatched;
        int iHashCode = (iB2 + (l == null ? 0 : l.hashCode())) * 31;
        String str = this.nextEpisodeTitle;
        int iHashCode2 = (iHashCode + (str == null ? 0 : str.hashCode())) * 31;
        Integer num = this.nextEpisodeSeason;
        int iHashCode3 = (iHashCode2 + (num == null ? 0 : num.hashCode())) * 31;
        Integer num2 = this.nextEpisodeNumber;
        int iHashCode4 = (iHashCode3 + (num2 == null ? 0 : num2.hashCode())) * 31;
        Integer num3 = this.nextEpisodeTmdbId;
        return iHashCode4 + (num3 != null ? num3.hashCode() : 0);
    }

    @kp6
    public String toString() {
        String str = this.key;
        String str2 = this.userSlug;
        int i = this.tmdbId;
        String str3 = this.type;
        Double d = this.progress;
        long j = this.updatedAt;
        Long l = this.lastWatched;
        String str4 = this.nextEpisodeTitle;
        Integer num = this.nextEpisodeSeason;
        Integer num2 = this.nextEpisodeNumber;
        Integer num3 = this.nextEpisodeTmdbId;
        StringBuilder sbM = fi7.m("WatchStatusEntity(key=", str, ", userSlug=", str2, ", tmdbId=");
        n41.ac(sbM, i, ", type=", str3, ", progress=");
        sbM.append(d);
        sbM.append(", updatedAt=");
        sbM.append(j);
        sbM.append(", lastWatched=");
        sbM.append(l);
        sbM.append(", nextEpisodeTitle=");
        sbM.append(str4);
        sbM.append(", nextEpisodeSeason=");
        sbM.append(num);
        sbM.append(", nextEpisodeNumber=");
        sbM.append(num2);
        sbM.append(", nextEpisodeTmdbId=");
        sbM.append(num3);
        sbM.append(")");
        return sbM.toString();
    }

    public /* synthetic */ WatchStatusEntity(String str, String str2, int i, String str3, Double d, long j, Long l, String str4, Integer num, Integer num2, Integer num3, int i2, uz1 uz1Var) {
        this(str, str2, i, str3, d, j, (i2 & 64) != 0 ? null : l, (i2 & 128) != 0 ? null : str4, (i2 & 256) != 0 ? null : num, (i2 & 512) != 0 ? null : num2, (i2 & 1024) != 0 ? null : num3);
    }
}
