package com.ss.android.ugc.aweme.favorites.viewmodel;

import X.2HN;
import X.2b0;
import X.5Am;
import X.C5538OZh;
import X.C5539OZi;
import X.C5540OZj;
import X.C5541OZk;
import X.C5542OZl;
import X.MXO;
import X.MXP;
import X.MXX;
import com.bytedance.covode.number.Covode;
import com.bytedance.jedi.arch.ext.list.ListMiddleware;
import com.bytedance.jedi.arch.ext.list.ListState;
import com.ss.android.ugc.aweme.app.api.Api;
import com.ss.android.ugc.aweme.base.arch.JediBaseViewModel;
import com.ss.android.ugc.aweme.favorites.api.MixCollectionApi;
import com.ss.android.ugc.aweme.feed.model.MixStruct;
import java.util.ArrayList;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;
import kotlin.h.b.n;

public final class MediaMixListViewModel extends JediBaseViewModel<MediaMixState> {
    public static final MXX LJIIL = new MXX((byte) 0);
    public ArrayList<Long> LIZ;
    public ArrayList<String> LIZIZ;
    public int LIZJ;
    public String LIZLLL;
    public String LJ;
    public final MixCollectionApi LJFF;
    public final Set<String> LJI = new LinkedHashSet();
    public final List<String> LJII = new ArrayList();
    public final ListMiddleware<MediaMixState, MixStruct, C5540OZj> LJIIJJI = new ListMiddleware<>(new C5542OZl(this), new C5541OZk(this), MXP.LIZ, MXO.LIZ);

    static {
        Covode.recordClassIndex(75962);
    }

    public final void onCleared() {
        MediaMixListViewModel.super.onCleared();
    }

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

    public final void cl_() {
        MediaMixListViewModel.super.cl_();
        this.LJIIJJI.LIZ(C5539OZi.LIZ, C5538OZh.LIZ);
        LIZ(this.LJIIJJI);
    }

    public MediaMixListViewModel() {
        String str = Api.LIZLLL;
        n.LIZIZ(str, "");
        this.LJFF = (MixCollectionApi) 2b0.LIZ().LIZ(str).LIZ(MixCollectionApi.class);
    }
}
