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

import androidx.media3.container.NalUnitUtil;
import androidx.media3.exoplayer.source.ProgressiveMediaSource;
import androidx.media3.extractor.text.ttml.TtmlNode;
import androidx.media3.session.MediaUtils;
import com.strmr.ps.data.model.ContentItem;
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 = {"\u00008\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\b\n\u0002\b\b\n\u0002\u0010\u0006\n\u0002\b\f\n\u0002\u0010\t\n\u0002\b \n\u0002\u0018\u0002\n\u0002\b\u0019\n\u0002\u0010\u000b\n\u0002\b\u0005\b\u0087\b\u0018\u0000 Z2\u00020\u0001:\u0001ZBÕ\u0001\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\b\u0010\u0006\u001a\u0004\u0018\u00010\u0003\u0012\u0006\u0010\u0007\u001a\u00020\u0003\u0012\b\u0010\b\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\t\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\n\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\u000b\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\f\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\r\u001a\u0004\u0018\u00010\u000e\u0012\b\u0010\u000f\u001a\u0004\u0018\u00010\u0005\u0012\b\u0010\u0010\u001a\u0004\u0018\u00010\u0003\u0012\u0006\u0010\u0011\u001a\u00020\u0003\u0012\u0006\u0010\u0012\u001a\u00020\u0003\u0012\b\u0010\u0013\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\u0014\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\u0015\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\u0016\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\u0017\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\u0018\u001a\u0004\u0018\u00010\u000e\u0012\u0006\u0010\u0019\u001a\u00020\u0005\u0012\u0006\u0010\u001a\u001a\u00020\u001b¢\u0006\u0004\b\u001c\u0010\u001dJ\u0006\u0010;\u001a\u00020<J\t\u0010=\u001a\u00020\u0003HÆ\u0003J\t\u0010>\u001a\u00020\u0005HÆ\u0003J\u000b\u0010?\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\t\u0010@\u001a\u00020\u0003HÆ\u0003J\u000b\u0010A\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010B\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010C\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010D\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010E\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u0010\u0010F\u001a\u0004\u0018\u00010\u000eHÆ\u0003¢\u0006\u0002\u0010*J\u0010\u0010G\u001a\u0004\u0018\u00010\u0005HÆ\u0003¢\u0006\u0002\u0010-J\u000b\u0010H\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\t\u0010I\u001a\u00020\u0003HÆ\u0003J\t\u0010J\u001a\u00020\u0003HÆ\u0003J\u000b\u0010K\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010L\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010M\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010N\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010O\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u0010\u0010P\u001a\u0004\u0018\u00010\u000eHÆ\u0003¢\u0006\u0002\u0010*J\t\u0010Q\u001a\u00020\u0005HÆ\u0003J\t\u0010R\u001a\u00020\u001bHÆ\u0003J\u0088\u0002\u0010S\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00052\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u00032\b\b\u0002\u0010\u0007\u001a\u00020\u00032\n\b\u0002\u0010\b\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\t\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\n\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\u000b\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\f\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\r\u001a\u0004\u0018\u00010\u000e2\n\b\u0002\u0010\u000f\u001a\u0004\u0018\u00010\u00052\n\b\u0002\u0010\u0010\u001a\u0004\u0018\u00010\u00032\b\b\u0002\u0010\u0011\u001a\u00020\u00032\b\b\u0002\u0010\u0012\u001a\u00020\u00032\n\b\u0002\u0010\u0013\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\u0014\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\u0015\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\u0016\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\u0017\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\u0018\u001a\u0004\u0018\u00010\u000e2\b\b\u0002\u0010\u0019\u001a\u00020\u00052\b\b\u0002\u0010\u001a\u001a\u00020\u001bHÆ\u0001¢\u0006\u0002\u0010TJ\u0013\u0010U\u001a\u00020V2\b\u0010W\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010X\u001a\u00020\u0005HÖ\u0001J\t\u0010Y\u001a\u00020\u0003HÖ\u0001R\u0016\u0010\u0002\u001a\u00020\u00038\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u001e\u0010\u001fR\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b \u0010!R\u0013\u0010\u0006\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\"\u0010\u001fR\u0011\u0010\u0007\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b#\u0010\u001fR\u0013\u0010\b\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b$\u0010\u001fR\u0013\u0010\t\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b%\u0010\u001fR\u0013\u0010\n\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b&\u0010\u001fR\u0013\u0010\u000b\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b'\u0010\u001fR\u0013\u0010\f\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b(\u0010\u001fR\u0015\u0010\r\u001a\u0004\u0018\u00010\u000e¢\u0006\n\n\u0002\u0010+\u001a\u0004\b)\u0010*R\u0015\u0010\u000f\u001a\u0004\u0018\u00010\u0005¢\u0006\n\n\u0002\u0010.\u001a\u0004\b,\u0010-R\u0013\u0010\u0010\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b/\u0010\u001fR\u0011\u0010\u0011\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b0\u0010\u001fR\u0011\u0010\u0012\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b1\u0010\u001fR\u0013\u0010\u0013\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b2\u0010\u001fR\u0013\u0010\u0014\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b3\u0010\u001fR\u0013\u0010\u0015\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b4\u0010\u001fR\u0013\u0010\u0016\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b5\u0010\u001fR\u0013\u0010\u0017\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b6\u0010\u001fR\u0015\u0010\u0018\u001a\u0004\u0018\u00010\u000e¢\u0006\n\n\u0002\u0010+\u001a\u0004\b7\u0010*R\u0011\u0010\u0019\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b8\u0010!R\u0011\u0010\u001a\u001a\u00020\u001b¢\u0006\b\n\u0000\u001a\u0004\b9\u0010:¨\u0006["}, d2 = {"Lcom/strmr/ps/data/local/entity/CachedContent;", "", TtmlNode.ATTR_ID, "", "tmdbId", "", "imdbId", "title", "overview", "posterUrl", "backdropUrl", "logoUrl", "year", "rating", "", "ratingPercentage", "genres", "contentType", "category", "runtime", "cast", "certification", "imdbRating", "rottenTomatoesRating", "traktRating", "position", "cachedAt", "", "<init>", "(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Double;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Double;IJ)V", "getId", "()Ljava/lang/String;", "getTmdbId", "()I", "getImdbId", "getTitle", "getOverview", "getPosterUrl", "getBackdropUrl", "getLogoUrl", "getYear", "getRating", "()Ljava/lang/Double;", "Ljava/lang/Double;", "getRatingPercentage", "()Ljava/lang/Integer;", "Ljava/lang/Integer;", "getGenres", "getContentType", "getCategory", "getRuntime", "getCast", "getCertification", "getImdbRating", "getRottenTomatoesRating", "getTraktRating", "getPosition", "getCachedAt", "()J", "toContentItem", "Lcom/strmr/ps/data/model/ContentItem;", "component1", "component2", "component3", "component4", "component5", "component6", "component7", "component8", "component9", "component10", "component11", "component12", "component13", "component14", "component15", "component16", "component17", "component18", "component19", "component20", "component21", "component22", "copy", "(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Double;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Double;IJ)Lcom/strmr/ps/data/local/entity/CachedContent;", "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 CachedContent {

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

    @pq6
    private final String backdropUrl;
    private final long cachedAt;

    @pq6
    private final String cast;

    @kp6
    private final String category;

    @pq6
    private final String certification;

    @kp6
    private final String contentType;

    @pq6
    private final String genres;

    @ih7
    @kp6
    private final String id;

    @pq6
    private final String imdbId;

    @pq6
    private final String imdbRating;

    @pq6
    private final String logoUrl;

    @pq6
    private final String overview;
    private final int position;

    @pq6
    private final String posterUrl;

    @pq6
    private final Double rating;

    @pq6
    private final Integer ratingPercentage;

    @pq6
    private final String rottenTomatoesRating;

    @pq6
    private final String runtime;

    @kp6
    private final String title;
    private final int tmdbId;

    @pq6
    private final Double traktRating;

    @pq6
    private final String year;

    @Metadata(d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\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\u00072\u0006\u0010\b\u001a\u00020\t2\u0006\u0010\n\u001a\u00020\u000b¨\u0006\f"}, d2 = {"Lcom/strmr/ps/data/local/entity/CachedContent$Companion;", "", "<init>", "()V", "fromContentItem", "Lcom/strmr/ps/data/local/entity/CachedContent;", "item", "Lcom/strmr/ps/data/model/ContentItem;", "category", "", "position", "", "app_sideloadRelease"}, k = 1, mv = {2, 0, 0}, xi = NalUnitUtil.H265_NAL_UNIT_TYPE_UNSPECIFIED)
    public static final class Companion {

        @Metadata(k = 3, mv = {2, 0, 0}, xi = NalUnitUtil.H265_NAL_UNIT_TYPE_UNSPECIFIED)
        public /* synthetic */ class WhenMappings {
            public static final /* synthetic */ int[] $EnumSwitchMapping$0;

            static {
                int[] iArr = new int[ContentItem.ItemType.values().length];
                try {
                    iArr[ContentItem.ItemType.MOVIE.ordinal()] = 1;
                } catch (NoSuchFieldError unused) {
                }
                try {
                    iArr[ContentItem.ItemType.TV_SHOW.ordinal()] = 2;
                } catch (NoSuchFieldError unused2) {
                }
                $EnumSwitchMapping$0 = iArr;
            }
        }

        public /* synthetic */ Companion(uz1 uz1Var) {
            this();
        }

        @kp6
        public final CachedContent fromContentItem(@kp6 ContentItem item, @kp6 String category, int position) {
            cr4.g(item, "item");
            cr4.g(category, "category");
            int i = WhenMappings.$EnumSwitchMapping$0[item.getItemType().ordinal()];
            String str = "MOVIE";
            if (i != 1 && i == 2) {
                str = "TV_SHOW";
            }
            String str2 = str;
            return new CachedContent(str2 + "_" + category + "_" + item.getTmdbId(), item.getTmdbId(), item.getImdbId(), item.getTitle(), item.getOverview(), item.getPosterUrl(), item.getBackdropUrl(), item.getLogoUrl(), item.getYear(), item.getRating(), item.getRatingPercentage(), item.getGenres(), str2, category, item.getRuntime(), item.getCast(), item.getCertification(), item.getImdbRating(), item.getRottenTomatoesRating(), item.getTraktRating(), position, System.currentTimeMillis());
        }

        private Companion() {
        }
    }

    public CachedContent(@kp6 String str, int i, @pq6 String str2, @kp6 String str3, @pq6 String str4, @pq6 String str5, @pq6 String str6, @pq6 String str7, @pq6 String str8, @pq6 Double d, @pq6 Integer num, @pq6 String str9, @kp6 String str10, @kp6 String str11, @pq6 String str12, @pq6 String str13, @pq6 String str14, @pq6 String str15, @pq6 String str16, @pq6 Double d2, int i2, long j) {
        cr4.g(str, TtmlNode.ATTR_ID);
        cr4.g(str3, "title");
        cr4.g(str10, "contentType");
        cr4.g(str11, "category");
        this.id = str;
        this.tmdbId = i;
        this.imdbId = str2;
        this.title = str3;
        this.overview = str4;
        this.posterUrl = str5;
        this.backdropUrl = str6;
        this.logoUrl = str7;
        this.year = str8;
        this.rating = d;
        this.ratingPercentage = num;
        this.genres = str9;
        this.contentType = str10;
        this.category = str11;
        this.runtime = str12;
        this.cast = str13;
        this.certification = str14;
        this.imdbRating = str15;
        this.rottenTomatoesRating = str16;
        this.traktRating = d2;
        this.position = i2;
        this.cachedAt = j;
    }

    public static /* synthetic */ CachedContent copy$default(CachedContent cachedContent, String str, int i, String str2, String str3, String str4, String str5, String str6, String str7, String str8, Double d, Integer num, String str9, String str10, String str11, String str12, String str13, String str14, String str15, String str16, Double d2, int i2, long j, int i3, Object obj) {
        long j2;
        int i4;
        String str17;
        String str18 = (i3 & 1) != 0 ? cachedContent.id : str;
        int i5 = (i3 & 2) != 0 ? cachedContent.tmdbId : i;
        String str19 = (i3 & 4) != 0 ? cachedContent.imdbId : str2;
        String str20 = (i3 & 8) != 0 ? cachedContent.title : str3;
        String str21 = (i3 & 16) != 0 ? cachedContent.overview : str4;
        String str22 = (i3 & 32) != 0 ? cachedContent.posterUrl : str5;
        String str23 = (i3 & 64) != 0 ? cachedContent.backdropUrl : str6;
        String str24 = (i3 & 128) != 0 ? cachedContent.logoUrl : str7;
        String str25 = (i3 & 256) != 0 ? cachedContent.year : str8;
        Double d3 = (i3 & 512) != 0 ? cachedContent.rating : d;
        Integer num2 = (i3 & 1024) != 0 ? cachedContent.ratingPercentage : num;
        String str26 = (i3 & 2048) != 0 ? cachedContent.genres : str9;
        String str27 = (i3 & 4096) != 0 ? cachedContent.contentType : str10;
        String str28 = (i3 & 8192) != 0 ? cachedContent.category : str11;
        String str29 = str18;
        String str30 = (i3 & 16384) != 0 ? cachedContent.runtime : str12;
        String str31 = (i3 & 32768) != 0 ? cachedContent.cast : str13;
        String str32 = (i3 & 65536) != 0 ? cachedContent.certification : str14;
        String str33 = (i3 & 131072) != 0 ? cachedContent.imdbRating : str15;
        String str34 = (i3 & MediaUtils.TRANSACTION_SIZE_LIMIT_IN_BYTES) != 0 ? cachedContent.rottenTomatoesRating : str16;
        Double d4 = (i3 & 524288) != 0 ? cachedContent.traktRating : d2;
        int i6 = (i3 & ProgressiveMediaSource.DEFAULT_LOADING_CHECK_INTERVAL_BYTES) != 0 ? cachedContent.position : i2;
        if ((i3 & 2097152) != 0) {
            str17 = str30;
            i4 = i6;
            j2 = cachedContent.cachedAt;
        } else {
            j2 = j;
            i4 = i6;
            str17 = str30;
        }
        return cachedContent.copy(str29, i5, str19, str20, str21, str22, str23, str24, str25, d3, num2, str26, str27, str28, str17, str31, str32, str33, str34, d4, i4, j2);
    }

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

    @pq6
    /* JADX INFO: renamed from: component10, reason: from getter */
    public final Double getRating() {
        return this.rating;
    }

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

    @pq6
    /* JADX INFO: renamed from: component12, reason: from getter */
    public final String getGenres() {
        return this.genres;
    }

    @kp6
    /* JADX INFO: renamed from: component13, reason: from getter */
    public final String getContentType() {
        return this.contentType;
    }

    @kp6
    /* JADX INFO: renamed from: component14, reason: from getter */
    public final String getCategory() {
        return this.category;
    }

    @pq6
    /* JADX INFO: renamed from: component15, reason: from getter */
    public final String getRuntime() {
        return this.runtime;
    }

    @pq6
    /* JADX INFO: renamed from: component16, reason: from getter */
    public final String getCast() {
        return this.cast;
    }

    @pq6
    /* JADX INFO: renamed from: component17, reason: from getter */
    public final String getCertification() {
        return this.certification;
    }

    @pq6
    /* JADX INFO: renamed from: component18, reason: from getter */
    public final String getImdbRating() {
        return this.imdbRating;
    }

    @pq6
    /* JADX INFO: renamed from: component19, reason: from getter */
    public final String getRottenTomatoesRating() {
        return this.rottenTomatoesRating;
    }

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

    @pq6
    /* JADX INFO: renamed from: component20, reason: from getter */
    public final Double getTraktRating() {
        return this.traktRating;
    }

    /* JADX INFO: renamed from: component21, reason: from getter */
    public final int getPosition() {
        return this.position;
    }

    /* JADX INFO: renamed from: component22, reason: from getter */
    public final long getCachedAt() {
        return this.cachedAt;
    }

    @pq6
    /* JADX INFO: renamed from: component3, reason: from getter */
    public final String getImdbId() {
        return this.imdbId;
    }

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

    @pq6
    /* JADX INFO: renamed from: component5, reason: from getter */
    public final String getOverview() {
        return this.overview;
    }

    @pq6
    /* JADX INFO: renamed from: component6, reason: from getter */
    public final String getPosterUrl() {
        return this.posterUrl;
    }

    @pq6
    /* JADX INFO: renamed from: component7, reason: from getter */
    public final String getBackdropUrl() {
        return this.backdropUrl;
    }

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

    @pq6
    /* JADX INFO: renamed from: component9, reason: from getter */
    public final String getYear() {
        return this.year;
    }

    @kp6
    public final CachedContent copy(@kp6 String id, int tmdbId, @pq6 String imdbId, @kp6 String title, @pq6 String overview, @pq6 String posterUrl, @pq6 String backdropUrl, @pq6 String logoUrl, @pq6 String year, @pq6 Double rating, @pq6 Integer ratingPercentage, @pq6 String genres, @kp6 String contentType, @kp6 String category, @pq6 String runtime, @pq6 String cast, @pq6 String certification, @pq6 String imdbRating, @pq6 String rottenTomatoesRating, @pq6 Double traktRating, int position, long cachedAt) {
        cr4.g(id, TtmlNode.ATTR_ID);
        cr4.g(title, "title");
        cr4.g(contentType, "contentType");
        cr4.g(category, "category");
        return new CachedContent(id, tmdbId, imdbId, title, overview, posterUrl, backdropUrl, logoUrl, year, rating, ratingPercentage, genres, contentType, category, runtime, cast, certification, imdbRating, rottenTomatoesRating, traktRating, position, cachedAt);
    }

    public boolean equals(@pq6 Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof CachedContent)) {
            return false;
        }
        CachedContent cachedContent = (CachedContent) other;
        return cr4.b(this.id, cachedContent.id) && this.tmdbId == cachedContent.tmdbId && cr4.b(this.imdbId, cachedContent.imdbId) && cr4.b(this.title, cachedContent.title) && cr4.b(this.overview, cachedContent.overview) && cr4.b(this.posterUrl, cachedContent.posterUrl) && cr4.b(this.backdropUrl, cachedContent.backdropUrl) && cr4.b(this.logoUrl, cachedContent.logoUrl) && cr4.b(this.year, cachedContent.year) && cr4.b(this.rating, cachedContent.rating) && cr4.b(this.ratingPercentage, cachedContent.ratingPercentage) && cr4.b(this.genres, cachedContent.genres) && cr4.b(this.contentType, cachedContent.contentType) && cr4.b(this.category, cachedContent.category) && cr4.b(this.runtime, cachedContent.runtime) && cr4.b(this.cast, cachedContent.cast) && cr4.b(this.certification, cachedContent.certification) && cr4.b(this.imdbRating, cachedContent.imdbRating) && cr4.b(this.rottenTomatoesRating, cachedContent.rottenTomatoesRating) && cr4.b(this.traktRating, cachedContent.traktRating) && this.position == cachedContent.position && this.cachedAt == cachedContent.cachedAt;
    }

    @pq6
    public final String getBackdropUrl() {
        return this.backdropUrl;
    }

    public final long getCachedAt() {
        return this.cachedAt;
    }

    @pq6
    public final String getCast() {
        return this.cast;
    }

    @kp6
    public final String getCategory() {
        return this.category;
    }

    @pq6
    public final String getCertification() {
        return this.certification;
    }

    @kp6
    public final String getContentType() {
        return this.contentType;
    }

    @pq6
    public final String getGenres() {
        return this.genres;
    }

    @kp6
    public final String getId() {
        return this.id;
    }

    @pq6
    public final String getImdbId() {
        return this.imdbId;
    }

    @pq6
    public final String getImdbRating() {
        return this.imdbRating;
    }

    @pq6
    public final String getLogoUrl() {
        return this.logoUrl;
    }

    @pq6
    public final String getOverview() {
        return this.overview;
    }

    public final int getPosition() {
        return this.position;
    }

    @pq6
    public final String getPosterUrl() {
        return this.posterUrl;
    }

    @pq6
    public final Double getRating() {
        return this.rating;
    }

    @pq6
    public final Integer getRatingPercentage() {
        return this.ratingPercentage;
    }

    @pq6
    public final String getRottenTomatoesRating() {
        return this.rottenTomatoesRating;
    }

    @pq6
    public final String getRuntime() {
        return this.runtime;
    }

    @kp6
    public final String getTitle() {
        return this.title;
    }

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

    @pq6
    public final Double getTraktRating() {
        return this.traktRating;
    }

    @pq6
    public final String getYear() {
        return this.year;
    }

    public int hashCode() {
        int iA = fi7.a(this.tmdbId, this.id.hashCode() * 31, 31);
        String str = this.imdbId;
        int iB = vw2.b((iA + (str == null ? 0 : str.hashCode())) * 31, 31, this.title);
        String str2 = this.overview;
        int iHashCode = (iB + (str2 == null ? 0 : str2.hashCode())) * 31;
        String str3 = this.posterUrl;
        int iHashCode2 = (iHashCode + (str3 == null ? 0 : str3.hashCode())) * 31;
        String str4 = this.backdropUrl;
        int iHashCode3 = (iHashCode2 + (str4 == null ? 0 : str4.hashCode())) * 31;
        String str5 = this.logoUrl;
        int iHashCode4 = (iHashCode3 + (str5 == null ? 0 : str5.hashCode())) * 31;
        String str6 = this.year;
        int iHashCode5 = (iHashCode4 + (str6 == null ? 0 : str6.hashCode())) * 31;
        Double d = this.rating;
        int iHashCode6 = (iHashCode5 + (d == null ? 0 : d.hashCode())) * 31;
        Integer num = this.ratingPercentage;
        int iHashCode7 = (iHashCode6 + (num == null ? 0 : num.hashCode())) * 31;
        String str7 = this.genres;
        int iB2 = vw2.b(vw2.b((iHashCode7 + (str7 == null ? 0 : str7.hashCode())) * 31, 31, this.contentType), 31, this.category);
        String str8 = this.runtime;
        int iHashCode8 = (iB2 + (str8 == null ? 0 : str8.hashCode())) * 31;
        String str9 = this.cast;
        int iHashCode9 = (iHashCode8 + (str9 == null ? 0 : str9.hashCode())) * 31;
        String str10 = this.certification;
        int iHashCode10 = (iHashCode9 + (str10 == null ? 0 : str10.hashCode())) * 31;
        String str11 = this.imdbRating;
        int iHashCode11 = (iHashCode10 + (str11 == null ? 0 : str11.hashCode())) * 31;
        String str12 = this.rottenTomatoesRating;
        int iHashCode12 = (iHashCode11 + (str12 == null ? 0 : str12.hashCode())) * 31;
        Double d2 = this.traktRating;
        return Long.hashCode(this.cachedAt) + fi7.a(this.position, (iHashCode12 + (d2 != null ? d2.hashCode() : 0)) * 31, 31);
    }

    @kp6
    public final ContentItem toContentItem() {
        return new ContentItem(this.tmdbId, cr4.b(this.contentType, "MOVIE") ? ContentItem.ItemType.MOVIE : ContentItem.ItemType.TV_SHOW, this.tmdbId, this.imdbId, this.title, this.overview, this.posterUrl, this.backdropUrl, this.logoUrl, null, this.year, this.rating, this.ratingPercentage, this.genres, this.runtime, this.cast, this.certification, this.imdbRating, this.rottenTomatoesRating, this.traktRating, null, null, null, null, false, null, null, null, null, null, 0, null, null, null, null, null, null, null, null, null, null, null, null, -1048064, 2047, null);
    }

    @kp6
    public String toString() {
        String str = this.id;
        int i = this.tmdbId;
        String str2 = this.imdbId;
        String str3 = this.title;
        String str4 = this.overview;
        String str5 = this.posterUrl;
        String str6 = this.backdropUrl;
        String str7 = this.logoUrl;
        String str8 = this.year;
        Double d = this.rating;
        Integer num = this.ratingPercentage;
        String str9 = this.genres;
        String str10 = this.contentType;
        String str11 = this.category;
        String str12 = this.runtime;
        String str13 = this.cast;
        String str14 = this.certification;
        String str15 = this.imdbRating;
        String str16 = this.rottenTomatoesRating;
        Double d2 = this.traktRating;
        int i2 = this.position;
        long j = this.cachedAt;
        StringBuilder sbV = n41.v("CachedContent(id=", i, str, ", tmdbId=", ", imdbId=");
        vw2.aa(sbV, str2, ", title=", str3, ", overview=");
        vw2.aa(sbV, str4, ", posterUrl=", str5, ", backdropUrl=");
        vw2.aa(sbV, str6, ", logoUrl=", str7, ", year=");
        sbV.append(str8);
        sbV.append(", rating=");
        sbV.append(d);
        sbV.append(", ratingPercentage=");
        sbV.append(num);
        sbV.append(", genres=");
        sbV.append(str9);
        sbV.append(", contentType=");
        vw2.aa(sbV, str10, ", category=", str11, ", runtime=");
        vw2.aa(sbV, str12, ", cast=", str13, ", certification=");
        vw2.aa(sbV, str14, ", imdbRating=", str15, ", rottenTomatoesRating=");
        sbV.append(str16);
        sbV.append(", traktRating=");
        sbV.append(d2);
        sbV.append(", position=");
        sbV.append(i2);
        sbV.append(", cachedAt=");
        sbV.append(j);
        sbV.append(")");
        return sbV.toString();
    }
}
