package com.ss.android.ugc.aweme.discover.jedi.viewmodel;

import X.2HN;
import X.5Am;
import X.AVG;
import X.B8T;
import X.C2382Dow;
import X.C5401EwX;
import X.M12;
import X.SSK;
import X.STZ;
import com.bytedance.covode.number.Covode;
import com.bytedance.jedi.arch.ext.list.ListState;
import java.util.List;
import java.util.Objects;

public final class SearchState implements 5Am {
    public final ListState<STZ, C5401EwX> listState;
    public final SSK searchParam;

    static {
        Covode.recordClassIndex(64776);
    }

    public SearchState() {
        this((ListState) null, (SSK) null, 3, (2HN) null);
    }

    public static /* synthetic */ SearchState copy$default(SearchState searchState, ListState<STZ, C5401EwX> listState2, SSK ssk, int i, Object obj) {
        if ((i & 1) != 0) {
            listState2 = searchState.listState;
        }
        if ((i & 2) != 0) {
            ssk = searchState.searchParam;
        }
        return searchState.copy(listState2, ssk);
    }

    private Object[] getObjects() {
        return new Object[]{this.listState, this.searchParam};
    }

    public final SearchState copy(ListState<STZ, C5401EwX> listState2, SSK ssk) {
        M12.LIZ(listState2, ssk);
        return new SearchState(listState2, ssk);
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof SearchState)) {
            return false;
        }
        return M12.LIZ(((SearchState) obj).getObjects(), getObjects());
    }

    public final int hashCode() {
        return Objects.hash(getObjects());
    }

    public final String toString() {
        return M12.LIZ("SearchState:%s,%s", getObjects());
    }

    public final ListState<STZ, C5401EwX> getListState() {
        return this.listState;
    }

    public final SSK getSearchParam() {
        return this.searchParam;
    }

    public SearchState(ListState<STZ, C5401EwX> listState2, SSK ssk) {
        M12.LIZ(listState2, ssk);
        this.listState = listState2;
        this.searchParam = ssk;
    }

    public /* synthetic */ SearchState(ListState listState2, SSK ssk, int i, 2HN r28) {
        SearchState searchState;
        SSK ssk2 = ssk;
        ListState listState3 = (i & 1) != 0 ? new ListState(new C5401EwX(), (List) null, (B8T) null, (B8T) null, (C2382Dow) null, 30, (2HN) null) : listState2;
        if ((i & 2) != 0) {
            ssk2 = new SSK("", 0, (String) null, (String) null, 0, 0, (String) null, (String) null, 0, 0, (String) null, (AVG) null, (String) null, (String) null, (String) null, (String) null, 0, (String) null, (String) null, 1048574);
            searchState = this;
        } else {
            searchState = this;
        }
        new SearchState(listState3, ssk2);
    }
}
