package com.ss.android.ugc.aweme.image.progressbar;

import X.2HN;
import X.5Fs;
import X.5Ft;
import X.5LC;
import X.5PR;
import X.Cwu;
import X.M12;
import com.bytedance.covode.number.Covode;
import com.bytedance.ui_component.UiState;
import kotlin.h.b.n;

public final class ImagesProgressState extends UiState {
    public final 5PR pause;
    public final Cwu<Integer, Float> progress;
    public final 5LC resume;
    public final 5Ft ui;
    public final 5PR viewState;

    static {
        Covode.recordClassIndex(87580);
    }

    public ImagesProgressState() {
        this((5Ft) null, (Cwu) null, (5PR) null, (5LC) null, (5PR) null, 31, (2HN) null);
    }

    public static /* synthetic */ ImagesProgressState copy$default(ImagesProgressState imagesProgressState, 5Ft r2, Cwu<Integer, Float> cwu, 5PR r4, 5LC r5, 5PR r6, int i, Object obj) {
        if ((i & 1) != 0) {
            r2 = imagesProgressState.getUi();
        }
        if ((i & 2) != 0) {
            cwu = imagesProgressState.progress;
        }
        if ((i & 4) != 0) {
            r4 = imagesProgressState.pause;
        }
        if ((i & 8) != 0) {
            r5 = imagesProgressState.resume;
        }
        if ((i & 16) != 0) {
            r6 = imagesProgressState.viewState;
        }
        return imagesProgressState.copy(r2, cwu, r4, r5, r6);
    }

    public final 5Ft component1() {
        return getUi();
    }

    public final ImagesProgressState copy(5Ft r7, Cwu<Integer, Float> cwu, 5PR r9, 5LC r10, 5PR r11) {
        5Ft r1 = r7;
        M12.LIZ(r1);
        return new ImagesProgressState(r1, cwu, r9, r10, r11);
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof ImagesProgressState)) {
            return false;
        }
        ImagesProgressState imagesProgressState = (ImagesProgressState) obj;
        return n.LIZ(getUi(), imagesProgressState.getUi()) && n.LIZ(this.progress, imagesProgressState.progress) && n.LIZ(this.pause, imagesProgressState.pause) && n.LIZ(this.resume, imagesProgressState.resume) && n.LIZ(this.viewState, imagesProgressState.viewState);
    }

    public final int hashCode() {
        5Ft ui2 = getUi();
        int i = 0;
        int hashCode = (ui2 != null ? ui2.hashCode() : 0) * 31;
        Cwu<Integer, Float> cwu = this.progress;
        int hashCode2 = (hashCode + (cwu != null ? cwu.hashCode() : 0)) * 31;
        5PR r0 = this.pause;
        int hashCode3 = (hashCode2 + (r0 != null ? r0.hashCode() : 0)) * 31;
        5LC r02 = this.resume;
        int hashCode4 = (hashCode3 + (r02 != null ? r02.hashCode() : 0)) * 31;
        5PR r03 = this.viewState;
        if (r03 != null) {
            i = r03.hashCode();
        }
        return hashCode4 + i;
    }

    public final String toString() {
        return "ImagesProgressState(ui=" + getUi() + ", progress=" + this.progress + ", pause=" + this.pause + ", resume=" + this.resume + ", viewState=" + this.viewState + ")";
    }

    public final 5PR getPause() {
        return this.pause;
    }

    public final Cwu<Integer, Float> getProgress() {
        return this.progress;
    }

    public final 5LC getResume() {
        return this.resume;
    }

    public final 5Ft getUi() {
        return this.ui;
    }

    public final 5PR getViewState() {
        return this.viewState;
    }

    /* JADX INFO: super call moved to the top of the method (can break code semantics) */
    public ImagesProgressState(5Ft r1, Cwu<Integer, Float> cwu, 5PR r3, 5LC r4, 5PR r5) {
        super(r1);
        M12.LIZ(r1);
        this.ui = r1;
        this.progress = cwu;
        this.pause = r3;
        this.resume = r4;
        this.viewState = r5;
    }

    /* JADX INFO: this call moved to the top of the method (can break code semantics) */
    public /* synthetic */ ImagesProgressState(5Ft r7, Cwu cwu, 5PR r9, 5LC r10, 5PR r11, int i, 2HN r13) {
        this((i & 1) != 0 ? new 5Fs() : r7, (i & 2) != 0 ? null : cwu, (i & 4) != 0 ? null : r9, (i & 8) != 0 ? null : r10, (i & 16) == 0 ? r11 : null);
    }
}
