package com.ss.android.ugc.aweme.profile.effect;

import X.2HN;
import X.2Pr;
import X.2ef;
import X.46i;
import X.5Am;
import X.BPA;
import X.C6499Cbf;
import X.C6536CcG;
import X.C6537CcH;
import X.C6539CcJ;
import X.C6540CcK;
import X.C6541CcL;
import X.Cwu;
import X.Dov;
import X.LsC;
import X.LsD;
import X.M12;
import X.PgU;
import com.bytedance.covode.number.Covode;
import com.bytedance.jedi.arch.ext.list.CommonListViewModel;
import com.bytedance.jedi.arch.ext.list.ListState;
import com.ss.android.ugc.aweme.IAccountUserService;
import com.ss.android.ugc.aweme.feed.model.Aweme;
import java.util.List;
import kotlin.h.b.n;

public final class EffectProfileListViewModel extends CommonListViewModel<BPA, EffectProfileState> implements 2ef {
    public static final C6541CcL LIZ = new C6541CcL((byte) 0);
    public boolean LIZIZ;
    public String LIZJ;
    public String LIZLLL;
    public final LsC<EffectProfileState, PgU<Cwu<List<BPA>, Dov>>> LJ = new C6537CcH(this);
    public final LsC<EffectProfileState, PgU<Cwu<List<BPA>, Dov>>> LJFF = new C6536CcG(this);
    public final LsD<List<? extends BPA>, List<? extends BPA>, List<BPA>> LJI = C6540CcK.LIZ;
    public final LsD<List<? extends BPA>, List<? extends BPA>, List<BPA>> LJII = C6539CcJ.LIZ;

    static {
        Covode.recordClassIndex(98584);
    }

    public final LsC<EffectProfileState, PgU<Cwu<List<BPA>, Dov>>> LIZIZ() {
        return this.LJ;
    }

    public final LsC<EffectProfileState, PgU<Cwu<List<BPA>, Dov>>> LIZJ() {
        return this.LJFF;
    }

    public final LsD<List<? extends BPA>, List<? extends BPA>, List<BPA>> LJIIIIZZ() {
        return this.LJI;
    }

    public final LsD<List<? extends BPA>, List<? extends BPA>, List<BPA>> LJIIIZ() {
        return this.LJII;
    }

    public final /* synthetic */ 5Am dU_() {
        return new EffectProfileState((String) null, (ListState) null, 3, (2HN) null);
    }

    public final String LJIIL() {
        if (this.LIZIZ) {
            IAccountUserService LJFF2 = 46i.LJFF();
            n.LIZIZ(LJFF2, "");
            String curUserId = LJFF2.getCurUserId();
            n.LIZIZ(curUserId, "");
            return curUserId;
        }
        String str = this.LIZJ;
        if (str == null) {
            return "";
        }
        return str;
    }

    public final void LIZ(Aweme aweme, LsC<? super BPA, 2Pr> lsC) {
        M12.LIZ(lsC);
        b_(new C6499Cbf(aweme, lsC));
    }

    public final void LIZ(boolean z, String str, String str2) {
        this.LIZIZ = z;
        this.LIZJ = str;
        this.LIZLLL = str2;
    }
}
