package com.ss.android.ugc.aweme.im.sdk.chatlist.ui.fragment;

import X.070;
import X.0AA;
import X.0CH;
import X.0E3;
import X.0EK;
import X.0HH;
import X.1Cn;
import X.1hK;
import X.2GO;
import X.2HN;
import X.2HZ;
import X.2K7;
import X.2Pr;
import X.2cN;
import X.2fU;
import X.2om;
import X.2or;
import X.34O;
import X.3Mp;
import X.3Q4;
import X.3VT;
import X.3yG;
import X.4Mf;
import X.4QP;
import X.4QQ;
import X.4aM;
import X.4qJ;
import X.4r1;
import X.5Am;
import X.5An;
import X.5vY;
import X.5wO;
import X.7he;
import X.8dd;
import X.9EH;
import X.9Y3;
import X.B7i;
import X.B8T;
import X.C0647IOw;
import X.C0686IQj;
import X.C0741ISm;
import X.C0954IaH;
import X.C0986Ian;
import X.C0994Iav;
import X.C1103Icg;
import X.C1112Icp;
import X.C1366Igv;
import X.C1426Iht;
import X.C1492Iix;
import X.C1528IjX;
import X.C1611Iks;
import X.C1616Ikx;
import X.C1623Il4;
import X.C1631IlC;
import X.C1635IlG;
import X.C1649IlU;
import X.C1652IlX;
import X.C1654IlZ;
import X.C1656Ilb;
import X.C1667Ilm;
import X.C1751In8;
import X.C1752In9;
import X.C1819IoE;
import X.C1826IoL;
import X.C1829IoO;
import X.C1920Ipr;
import X.C1925Ipw;
import X.C2362Iwz;
import X.C2363Ix0;
import X.C2366Ix3;
import X.C2367Ix4;
import X.C2374IxB;
import X.C2376IxD;
import X.C2385IxM;
import X.CWi;
import X.CZv;
import X.CqM;
import X.Crj;
import X.Cwt;
import X.D4t;
import X.D8s;
import X.DAe;
import X.DAj;
import X.DB2;
import X.DRZ;
import X.DUT;
import X.DUy;
import X.DUz;
import X.DV9;
import X.DVU;
import X.Dc0;
import X.DzW;
import X.E3l;
import X.E3m;
import X.E3n;
import X.E4G;
import X.E4U;
import X.EQD;
import X.EQE;
import X.EQK;
import X.EQL;
import X.EV1;
import X.EXK;
import X.EZz;
import X.Ec7;
import X.EcN;
import X.Ei0;
import X.Erw;
import X.Eud;
import X.Euf;
import X.IC0;
import X.IXR;
import X.IZE;
import X.J73;
import X.JAY;
import X.Leb;
import X.LsC;
import X.LsD;
import X.LsE;
import X.LsF;
import X.Lsh;
import X.M12;
import X.OQg;
import X.PHD;
import X.Ql4;
import X.Rc9;
import android.app.Activity;
import android.app.Dialog;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.text.SpannableString;
import android.text.TextUtils;
import android.text.method.LinkMovementMethod;
import android.text.style.StyleSpan;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import com.bytedance.covode.number.Covode;
import com.bytedance.frameworks.apm.trace.MethodCollector;
import com.bytedance.ies.foundation.fragment.BaseFragment;
import com.bytedance.jedi.arch.JediViewModel;
import com.bytedance.keva.Keva;
import com.bytedance.router.SmartRoute;
import com.bytedance.router.SmartRouter;
import com.bytedance.router.arg.RouteArgExtension;
import com.bytedance.router.arg.RouteArgInjector;
import com.ss.android.ugc.aweme.im.sdk.chat.ui.helper.ChatRoomViewPool;
import com.ss.android.ugc.aweme.im.sdk.chatlist.controller.helper.SessionListNavArg;
import com.ss.android.ugc.aweme.im.sdk.chatlist.feature.recommend.viewmodel.RecommendFriendInDMViewModel;
import com.ss.android.ugc.aweme.im.sdk.chatlist.feature.topnotice.viewmodel.SessionListTopNoticeViewModel;
import com.ss.android.ugc.aweme.im.sdk.chatlist.ui.fragment.SessionListFragment$;
import com.ss.android.ugc.aweme.im.sdk.common.controller.providedservices.IMService;
import com.ss.android.ugc.aweme.im.sdk.common.data.api.TikTokImApi;
import com.ss.android.ugc.aweme.im.service.IIMService;
import com.ss.android.ugc.aweme.profile.model.MatchedFriendStruct;
import com.ss.android.ugc.aweme.profile.model.User;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.CancellationException;
import kotlin.h.b.n;
import kotlin.o.z;
import org.greenrobot.eventbus.EventBus;
import org.greenrobot.eventbus.ThreadMode;

@CZv(LIZ = SessionListFragment$.Activity.class)
public final class SessionListFragment extends BaseFragment implements 4QQ, 5vY, DzW<User>, EQK, 2HZ, 2GO {
    public static final C2374IxB LJIIIIZZ = new C2374IxB((byte) 0);
    public C1667Ilm LJ;
    public String LJFF = "";
    public final SessionListTopNoticeViewModel LJI = new SessionListTopNoticeViewModel((String) null, (TikTokImApi) null, (LsD) null, (C0686IQj) null, (DB2) null, (DB2) null, 63);
    public final RecommendFriendInDMViewModel LJII = new RecommendFriendInDMViewModel();
    public final C1819IoE LJIIIZ = new C1819IoE();
    public final C0986Ian LJIIJ = new C0986Ian();
    public final Crj LJIIJJI = RouteArgExtension.INSTANCE.navArg(this);
    public final Crj LJIIL = 7he.LIZ(C1649IlU.LIZ);
    public final Crj LJIILIIL = 7he.LIZ(new C1656Ilb(this));
    public final Crj LJIILJJIL = 7he.LIZ(new C1623Il4(this));
    public final Crj LJIILL = 7he.LIZ(new C1635IlG(this));
    public final Crj LJIILLIIL = 7he.LIZ(new C1752In9(this));
    public final Crj LJIIZILJ = 7he.LIZ(new C1751In8(this));
    public 2cN LJIJ;
    public final 0EK LJIJI = new C2366Ix3(this);
    public HashMap LJIJJ;

    static {
        Covode.recordClassIndex(85821);
    }

    private final SessionListNavArg LJIIJ() {
        return (SessionListNavArg) this.LJIIJJI.getValue();
    }

    private final B7i LJIIJJI() {
        return (B7i) this.LJIILIIL.getValue();
    }

    public final View LIZ(int i) {
        if (this.LJIJJ == null) {
            this.LJIJJ = new HashMap();
        }
        View view = (View) this.LJIJJ.get(Integer.valueOf(i));
        if (view != null) {
            return view;
        }
        View view2 = getView();
        if (view2 == null) {
            return null;
        }
        View findViewById = view2.findViewById(i);
        this.LJIJJ.put(Integer.valueOf(i), findViewById);
        return findViewById;
    }

    public final Keva LIZ() {
        return (Keva) this.LJIIL.getValue();
    }

    public final C1616Ikx LIZJ() {
        return (C1616Ikx) this.LJIILJJIL.getValue();
    }

    public final C1631IlC LIZLLL() {
        return (C1631IlC) this.LJIILL.getValue();
    }

    public final void LJI() {
        HashMap hashMap = this.LJIJJ;
        if (hashMap != null) {
            hashMap.clear();
        }
    }

    public final EQD LJII() {
        return (EQD) this.LJIILLIIL.getValue();
    }

    public final Map<Integer, Object> getSubscriberEventTypes() {
        HashMap hashMap = new HashMap();
        hashMap.put(87, new Rc9(SessionListFragment.class, "onRefreshMessageButton", E4G.class, ThreadMode.MAIN, 0, false));
        return hashMap;
    }

    public final boolean getUniqueOnlyGlobal() {
        return true;
    }

    public final void onBackPressed_Activity() {
        4QP.LIZ(this);
    }

    public final void onBeforeActivityCreated(Activity activity) {
    }

    public final /* bridge */ /* synthetic */ 5An getReceiver() {
        return this;
    }

    public final 0CH getLifecycleOwner() {
        5wO.LIZJ(this);
        return this;
    }

    public final DUz getLifecycleOwnerHolder() {
        5wO.LIZ(this);
        return this;
    }

    public final DUy<DVU> getReceiverHolder() {
        5wO.LIZIZ(this);
        return this;
    }

    public static boolean LJIIL() {
        try {
            return 2K7.LIZ.LIZJ();
        } catch (Exception unused) {
            return false;
        }
    }

    public final void onResume() {
        SessionListFragment.super.onResume();
        C1925Ipw.LIZ.LIZ();
    }

    public final void onStop() {
        SessionListFragment.super.onStop();
        2cN r0 = this.LJIJ;
        if (r0 != null) {
            r0.dispose();
        }
    }

    public final void LJIIIIZZ() {
        ((C2376IxD) LIZ(2131371262)).post(new J73(this));
    }

    public final void onStart() {
        SessionListFragment.super.onStart();
        2cN LIZLLL = EZz.LIZ.LIZ(Dc0.CONTACT).LIZIZ().LIZLLL(new EQL(this));
        n.LIZIZ(LIZLLL, "");
        this.LJIJ = LIZLLL;
    }

    public final void onDestroyView() {
        SessionListFragment.super.onDestroyView();
        this.LJIIIZ.LIZIZ();
        long LIZLLL = this.LJIIIZ.LIZLLL();
        CharSequence LIZIZ = 3Mp.LIZIZ();
        n.LIZIZ(LIZIZ, "");
        C0994Iav.LIZ.LIZ(LIZIZ.toString(), LIZLLL);
        LJI();
    }

    private final void LJIILIIL() {
        String str;
        int i;
        String str2;
        String str3;
        Integer messageCount;
        SessionListNavArg LJIIJ2 = LJIIJ();
        if (LJIIJ2 == null || (str = LJIIJ2.getEnterFrom()) == null) {
            str = "";
        }
        SessionListNavArg LJIIJ3 = LJIIJ();
        if (LJIIJ3 == null || (messageCount = LJIIJ3.getMessageCount()) == null) {
            i = 0;
        } else {
            i = messageCount.intValue();
        }
        SessionListNavArg LJIIJ4 = LJIIJ();
        if (LJIIJ4 == null || (str2 = LJIIJ4.getEnterMethod()) == null) {
            str2 = "";
        }
        SessionListNavArg LJIIJ5 = LJIIJ();
        if (LJIIJ5 == null || (str3 = LJIIJ5.getNoticeType()) == null) {
            str3 = "";
        }
        3VT.LIZ(str, i, str2, str3);
        if (LJIIJ() != null) {
            C0986Ian ian = this.LJIIJ;
            1hK requireActivity = requireActivity();
            n.LIZIZ(requireActivity, "");
            ian.LIZ(requireActivity, LJIIJ());
        }
    }

    public final void LJIIIZ() {
        getActivity();
        if (LJIIL()) {
            if (LIZLLL().LIZ()) {
                OQg LIZ = LIZ(2131370625);
                n.LIZIZ(LIZ, "");
                LIZ.setVisibility(0);
                LIZ(2131370625).LIZ();
            }
            C1925Ipw.LIZ.LIZ();
            CqM.LIZ(new C1611Iks());
        } else if (LIZLLL().LIZ()) {
            DAe.LIZ(DAj.LIZ(8dd.LIZ), (D8s) null, new C2367Ix4(this, (4r1) null), 3);
        }
    }

    public final void onDestroy() {
        SessionListFragment.super.onDestroy();
        EventBus.LIZ().LIZIZ(this);
        IXR.LIZIZ();
        C1426Iht.LIZ();
        C1667Ilm ilm = this.LJ;
        if (ilm == null) {
            n.LIZ("");
        }
        if (EventBus.LIZ().LIZ(ilm)) {
            EventBus.LIZ().LIZIZ(ilm);
        }
        C1631IlC ilC = ilm.LIZJ;
        for (C1492Iix LIZIZ : ilC.LIZIZ) {
            LIZIZ.LIZIZ();
        }
        Leb.LIZIZ(ilC.LIZIZ, C1654IlZ.LIZ);
        DAj.LIZ(ilm.LIZ, (CancellationException) null);
        C0954IaH LIZ = C0954IaH.LJIIL.LIZ();
        if (LIZ != null) {
            C1667Ilm ilm2 = this.LJ;
            if (ilm2 == null) {
                n.LIZ("");
            }
            LIZ.LIZIZ((IC0<C1112Icp>) ilm2);
        }
        RecyclerView LIZ2 = LIZ(2131370130);
        if (LIZ2 != null) {
            LIZ2.setAdapter((0E3) null);
        }
    }

    public final void LIZIZ() {
        this.LJII.LIZIZ();
        if (getActivity() != null) {
            View LIZ = LIZ(LayoutInflater.from(getActivity()));
            n.LIZIZ(LIZ, "");
            View findViewById = LIZ.findViewById(2131372374);
            n.LIZIZ(findViewById, "");
            TextView textView = (TextView) findViewById;
            textView.setMovementMethod(LinkMovementMethod.getInstance());
            textView.setHighlightColor(070.LIZJ(textView.getContext(), 2131099762));
            1hK activity = getActivity();
            if (activity == null) {
                n.LIZIZ();
            }
            n.LIZIZ(activity, "");
            Dialog LIZ2 = 4qJ.LIZ(activity, LIZ, 2131887074);
            String string = getResources().getString(2131826625);
            n.LIZIZ(string, "");
            String string2 = getResources().getString(2131825689, new Object[]{string});
            n.LIZIZ(string2, "");
            int LIZ3 = z.LIZ(string2, string, 0, false, 6);
            int length = string.length() + LIZ3;
            SpannableString spannableString = new SpannableString(string2);
            if (!TextUtils.isEmpty(string2) && !TextUtils.isEmpty(string) && LIZ3 >= 0) {
                spannableString.setSpan(new 34O(LIZ2, textView, this), LIZ3, length, 34);
                spannableString.setSpan(new StyleSpan(1), LIZ3, length, 34);
            }
            textView.setText(spannableString);
            LIZ2.show();
            2fU.LIZ.LIZ(LIZ2);
        }
    }

    public static final /* synthetic */ C1667Ilm LIZ(SessionListFragment sessionListFragment) {
        C1667Ilm ilm = sessionListFragment.LJ;
        if (ilm == null) {
            n.LIZ("");
        }
        return ilm;
    }

    public final void onAttach(Context context) {
        M12.LIZ(context);
        SessionListFragment.super.onAttach(context);
        C1826IoL.LIZ.LIZ("chat_list");
    }

    @C0741ISm(LIZ = ThreadMode.MAIN)
    public final void onRefreshMessageButton(E4G e4g) {
        M12.LIZ(e4g);
        LJII().notifyDataSetChanged();
    }

    public static View LIZ(LayoutInflater layoutInflater) {
        MethodCollector.i(125);
        if (9Y3.LIZ(9Y3.LIZ(), true, "tiktok_tux_text_view_opt", false) && layoutInflater != null && layoutInflater.getFactory() == null && layoutInflater.getFactory2() == null) {
            try {
                layoutInflater.setFactory(new Ql4());
            } catch (Exception unused) {
                View inflate = layoutInflater.inflate(2131559893, (ViewGroup) null);
                MethodCollector.o(125);
                return inflate;
            }
        }
        View inflate2 = layoutInflater.inflate(2131559893, (ViewGroup) null);
        MethodCollector.o(125);
        return inflate2;
    }

    public final void onActivityCreated(Bundle bundle) {
        String str;
        SessionListFragment.super.onActivityCreated(bundle);
        LIZIZ(C2362Iwz.LIZ);
        C1103Icg.LIZJ().setupStatusBar(getActivity());
        B7i LJIIJJI2 = LJIIJJI();
        SessionListNavArg LJIIJ2 = LJIIJ();
        if (LJIIJ2 != null) {
            str = LJIIJ2.getJumpedFromInviteId();
        } else {
            str = null;
        }
        LJIIJJI2.LIZ(str);
    }

    public final void onCreate(Bundle bundle) {
        2or.LIZ("im_chat_list");
        SessionListFragment.super.onCreate(bundle);
        LIZ(C2363Ix0.LIZ);
        JAY.LIZ().LIZ(C2385IxM.ENTER_SESSION_LIST);
        IXR.LIZ();
        LJIILIIL();
        EventBus.LIZ(EventBus.LIZ(), this);
        if (C1366Igv.LIZ.LIZ()) {
            getLifecycle().LIZ(ChatRoomViewPool.LIZIZ);
        }
    }

    public final void onNewIntent(Intent intent) {
        String str;
        1hK requireActivity = requireActivity();
        n.LIZIZ(requireActivity, "");
        requireActivity.setIntent(intent);
        RouteArgInjector.INSTANCE.inject(this);
        LJIILIIL();
        B7i LJIIJJI2 = LJIIJJI();
        SessionListNavArg LJIIJ2 = LJIIJ();
        if (LJIIJ2 != null) {
            str = LJIIJ2.getJumpedFromInviteId();
        } else {
            str = null;
        }
        LJIIJJI2.LIZ(str);
    }

    public final void LIZ(RecyclerView recyclerView) {
        int i;
        boolean canScrollVertically = recyclerView.canScrollVertically(-1);
        View LIZ = LIZ(2131367616);
        n.LIZIZ(LIZ, "");
        if (canScrollVertically) {
            i = 0;
        } else {
            i = 8;
        }
        LIZ.setVisibility(i);
    }

    public final <VM1 extends JediViewModel<S1>, S1 extends 5Am, R> R withState(VM1 vm1, LsC<? super S1, ? extends R> lsC) {
        M12.LIZ(vm1, lsC);
        return 5wO.LIZ(vm1, lsC);
    }

    public final void onViewCreated(View view, Bundle bundle) {
        M12.LIZ(view);
        SessionListFragment.super.onViewCreated(view, bundle);
        C1826IoL.LIZ.LIZ(view, "chat_list", (C1829IoO) null);
        ((C2376IxD) LIZ(2131371262)).setOnTitlebarClickListener(new Eud(this));
        boolean LIZ = IZE.LIZ.LIZ();
        3Q4.LIZIZ("SessionListFragment", "Group chat entry ".concat(String.valueOf(LIZ)));
        if (LIZ) {
            ((C2376IxD) LIZ(2131371262)).setRightIcon(2131755362);
            if (!Euf.LIZ.LIZ(3).LIZ) {
                LJIIIIZZ();
            }
        } else {
            ((C2376IxD) LIZ(2131371262)).setRightIcon(2131755594);
        }
        RecyclerView LIZ2 = LIZ(2131370130);
        n.LIZIZ(LIZ2, "");
        getActivity();
        LIZ2.setLayoutManager(new LinearLayoutManager());
        LIZ(2131370130).setItemViewCacheSize(4);
        LIZ(2131370130).LIZ(new CWi(getActivity()));
        LIZ(2131370130).LIZ(this.LJIJI);
        LJII().LIZIZ = this;
        LJII().LIZJ = this;
        RecyclerView LIZ3 = LIZ(2131370130);
        n.LIZIZ(LIZ3, "");
        LIZ3.setAdapter((1Cn) this.LJIIZILJ.getValue());
        LIZ(2131367616).setBackgroundColor(9EH.LJJIFFI.LIZ().getResources().getColor(2131099720));
        2om.LIZIZ.LIZ("conversation_list").LIZ(LIZ(2131370130));
        LIZ(2131370130).LIZ(new C1920Ipr());
        RecyclerView LIZ4 = LIZ(2131370130);
        n.LIZIZ(LIZ4, "");
        new EV1(LIZ4, new EXK(this));
        RecyclerView LIZ5 = LIZ(2131370130);
        n.LIZIZ(LIZ5, "");
        new EV1(LIZ5, new EQE(this));
        EQD LJII2 = LJII();
        C1631IlC LIZLLL = LIZLLL();
        OQg LIZ6 = LIZ(2131370625);
        n.LIZIZ(LIZ6, "");
        C1667Ilm ilm = new C1667Ilm(LJII2, LIZLLL, LIZ6, LJIIJ());
        this.LJ = ilm;
        String str = this.LJFF;
        M12.LIZ(str);
        ilm.LIZIZ = str;
        3Q4.LIZIZ("SessionListFragment", "initData()");
        C0954IaH LIZ7 = C0954IaH.LJIIL.LIZ();
        C1667Ilm ilm2 = this.LJ;
        if (ilm2 == null) {
            n.LIZ("");
        }
        LIZ7.LIZ(ilm2);
        LJIIIZ();
        this.LJII.LIZJ.observe(this, new Ec7(this));
        this.LJII.LIZLLL.observe(this, new EcN(this));
        this.LJI.LJ.observe(this, new 4Mf(this));
        this.LJI.LJI.observe(this, new 3yG(this));
        this.LJI.LJIIIIZZ.observe(this, new C1652IlX(this));
        this.LJII.LIZ();
        this.LJI.LIZ(Erw.LIZ(new int[]{99}), 4aM.LIZ(requireContext()));
        0AA fragmentManager = getFragmentManager();
        if (fragmentManager != null) {
            IIMService createIIMServicebyMonsterPlugin = IMService.createIIMServicebyMonsterPlugin(false);
            n.LIZIZ(fragmentManager, "");
            createIIMServicebyMonsterPlugin.tryShowingChatPrivacyPanel("chat_list", fragmentManager, (C1528IjX) null);
        }
        C1103Icg.LJ.LJFF();
        Context context = getContext();
        if (context != null) {
            Euf euf = Euf.LIZ;
            n.LIZIZ(context, "");
            Ei0.LIZ(euf, 3, "chat_list", "auto", context);
        }
    }

    public final <S extends 5Am> 2cN subscribe(JediViewModel<S> jediViewModel, DUT<S> dut, LsD<? super DVU, ? super S, 2Pr> lsD) {
        M12.LIZ(jediViewModel, dut, lsD);
        return 5wO.LIZ(this, jediViewModel, dut, lsD);
    }

    public final void onActivityResult_Activity(int i, int i2, Intent intent) {
        if (i == 1101 && i2 == 11) {
            3VT.LIZ(LIZLLL().LIZ.LJFF.size(), (String) null, (String) null, -1);
        }
        4QP.LIZ(this, i, i2, intent);
    }

    public final View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
        M12.LIZ(layoutInflater);
        this.LJIIIZ.LIZJ();
        this.LJIIIZ.LIZ();
        return 0HH.LIZ(layoutInflater, 2131559901, viewGroup, false);
    }

    public final /* synthetic */ void LIZ(int i, Object obj, int i2) {
        E3n e3n;
        User user = (User) obj;
        this.LJII.LIZIZ();
        if (user != null) {
            switch (i) {
                case 100:
                    C0647IOw.LIZ();
                    E3l e3l = new E3l();
                    e3l.LJIIZILJ("notification_page");
                    e3l.LIZ("message_rec");
                    e3l.LIZ = E4U.CARD;
                    if (user.getFollowStatus() == 0) {
                        e3n = E3n.FOLLOW;
                    } else {
                        e3n = E3n.FOLLOW_CANCEL;
                    }
                    e3l.LIZIZ = e3n;
                    e3l.LIZ(user);
                    e3l.LJIJJ(user.getRequestId());
                    e3l.LJFF();
                    return;
                case 101:
                    E3l e3l2 = new E3l();
                    e3l2.LJIIZILJ("notification_page");
                    e3l2.LIZ("message_rec");
                    e3l2.LIZ = E4U.CARD;
                    e3l2.LIZIZ = E3n.ENTER_PROFILE;
                    e3l2.LIZ(user);
                    e3l2.LJIJJ(user.getRequestId());
                    e3l2.LJFF();
                    C0994Iav.LIZ.LIZ(user);
                    Context context = getContext();
                    SmartRoute buildRoute = SmartRouter.buildRoute(context, "aweme://user/profile/" + user.getUid());
                    buildRoute.withParam("sec_user_id", user.getSecUid());
                    buildRoute.withParam("from_recommend_card", 1);
                    buildRoute.withParam("enter_from", "message_rec");
                    buildRoute.withParam("recommend_from_type", "list");
                    buildRoute.withParam("extra_mutual_relation", user.getMutualStruct());
                    buildRoute.withParam("extra_from_mutual", true);
                    buildRoute.withParam("recommend_enter_profile_params", new E3m("message_rec", "notification_page", E4U.CARD, user.getRecType(), E3m.Companion.LIZ(user), user.getUid(), (String) null, (String) null, user.getRequestId(), (String) null, user.getFriendTypeStr(), user.getSocialInfo(), (MatchedFriendStruct) null, 4096, (2HN) null));
                    buildRoute.open();
                    return;
                case 102:
                    E3l e3l3 = new E3l();
                    e3l3.LJIIZILJ("notification_page");
                    e3l3.LIZ("message_rec");
                    e3l3.LIZ = E4U.CARD;
                    e3l3.LIZIZ = E3n.CLOSE;
                    e3l3.LIZ(user);
                    e3l3.LJIJJ(user.getRequestId());
                    e3l3.LJFF();
                    this.LJII.LIZ(user);
                    return;
                default:
                    return;
            }
        }
    }

    public final <S extends 5Am, A> 2cN selectSubscribe(JediViewModel<S> jediViewModel, PHD<S, ? extends A> phd, DUT<DRZ<A>> dut, LsD<? super DVU, ? super A, 2Pr> lsD) {
        M12.LIZ(jediViewModel, phd, dut, lsD);
        return 5wO.LIZ(this, jediViewModel, phd, dut, lsD);
    }

    public final <S extends 5Am, A, B> 2cN selectSubscribe(JediViewModel<S> jediViewModel, PHD<S, ? extends A> phd, PHD<S, ? extends B> phd2, DUT<Cwt<A, B>> dut, LsE<? super DVU, ? super A, ? super B, 2Pr> lsE) {
        M12.LIZ(jediViewModel, phd, phd2, dut, lsE);
        return 5wO.LIZ(this, jediViewModel, phd, phd2, dut, lsE);
    }

    public final <S extends 5Am, T> 2cN asyncSubscribe(JediViewModel<S> jediViewModel, PHD<S, ? extends B8T<? extends T>> phd, DUT<DRZ<B8T<T>>> dut, LsD<? super DVU, ? super Throwable, 2Pr> lsD, LsC<? super DVU, 2Pr> lsC, LsD<? super DVU, ? super T, 2Pr> lsD2) {
        M12.LIZ(jediViewModel, phd, dut);
        return 5wO.LIZ(this, jediViewModel, phd, dut, lsD, lsC, lsD2);
    }

    public final <S extends 5Am, A, B, C> 2cN selectSubscribe(JediViewModel<S> jediViewModel, PHD<S, ? extends A> phd, PHD<S, ? extends B> phd2, PHD<S, ? extends C> phd3, DUT<DV9<A, B, C>> dut, LsF<? super DVU, ? super A, ? super B, ? super C, 2Pr> lsF) {
        M12.LIZ(jediViewModel, phd, phd2, phd3, dut, lsF);
        return 5wO.LIZ(this, jediViewModel, phd, phd2, phd3, dut, lsF);
    }

    public final <S extends 5Am, A, B, C, D> 2cN selectSubscribe(JediViewModel<S> jediViewModel, PHD<S, ? extends A> phd, PHD<S, ? extends B> phd2, PHD<S, ? extends C> phd3, PHD<S, ? extends D> phd4, DUT<D4t<A, B, C, D>> dut, Lsh<? super DVU, ? super A, ? super B, ? super C, ? super D, 2Pr> lsh) {
        M12.LIZ(jediViewModel, phd, phd2, phd3, phd4, dut, lsh);
        return 5wO.LIZ(this, jediViewModel, phd, phd2, phd3, phd4, dut, lsh);
    }
}
