package com.ss.android.ugc.aweme.notificationlive.ui;

import X.0AA;
import X.0AP;
import X.0Bv;
import X.0CH;
import X.0HH;
import X.1hK;
import X.2Pr;
import X.2UX;
import X.2cN;
import X.2fU;
import X.2nK;
import X.3BB;
import X.3KQ;
import X.4D6;
import X.4D7;
import X.4DN;
import X.4HR;
import X.4aM;
import X.4hP;
import X.5Am;
import X.5An;
import X.5vY;
import X.5wO;
import X.A7H;
import X.ARD;
import X.ARE;
import X.Aid;
import X.AoK;
import X.B1N;
import X.B8T;
import X.C0312Csa;
import X.C0330Css;
import X.C0368Cue;
import X.C0382Cus;
import X.C0397Cvh;
import X.C0418Cwc;
import X.C0421Cwf;
import X.C0435Cwt;
import X.C0643D4t;
import X.C2110DkY;
import X.C3565EJd;
import X.C3611EKx;
import X.C3613EKz;
import X.C3614ELa;
import X.C3615ELb;
import X.C3616ELc;
import X.C3617ELd;
import X.C3618ELe;
import X.C3619ELf;
import X.CwK;
import X.CwU;
import X.D1G;
import X.DRZ;
import X.DT7;
import X.DUS;
import X.DUT;
import X.DV9;
import X.DVU;
import X.EL1;
import X.EL6;
import X.EL7;
import X.EL8;
import X.EL9;
import X.ELL;
import X.ELN;
import X.ELO;
import X.ELP;
import X.ELQ;
import X.ELR;
import X.ELS;
import X.ELT;
import X.ELV;
import X.ELW;
import X.ELX;
import X.K0c;
import X.KEM;
import X.KGj;
import X.LsC;
import X.LsD;
import X.LsE;
import X.LsF;
import X.Lsh;
import X.M12;
import X.OIZ;
import X.PHD;
import android.app.Dialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.res.Resources;
import android.graphics.drawable.ColorDrawable;
import android.os.Bundle;
import android.util.DisplayMetrics;
import android.util.SparseArray;
import android.view.Display;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.Window;
import android.view.WindowManager;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.ScrollView;
import android.widget.TextView;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.fragment.app.DialogFragment;
import com.bytedance.assem.arch.viewModel.AssemViewModel;
import com.bytedance.covode.number.Covode;
import com.bytedance.jedi.arch.JediViewModel;
import com.bytedance.jedi.arch.lifecycleAwareLazy;
import com.ss.android.ugc.aweme.feed.model.AwemeRawAd;
import com.ss.android.ugc.aweme.notificationlive.NotificationGameViewModel;
import com.ss.android.ugc.aweme.notificationlive.NotificationLiveViewModel;
import com.ss.android.ugc.aweme.profile.model.CommerceUserInfo;
import com.ss.android.ugc.aweme.profile.model.User;
import com.ss.android.ugc.aweme.user.repository.UserViewModel;
import java.util.Objects;
import kotlin.h.b.n;

public final class HorizontalNotificationDialog extends DialogFragment implements ARE, B1N<Aid>, 5vY {
    public static final String LJIILLIIL = "data_user_key";
    public static final String LJIIZILJ = "data_enter_from_key";
    public static final String LJIJ = "data_previous_page_key";
    public static final String LJIJI = "data_click_from_key";
    public static final String LJIJJ = "data_aweme_raw_ad_key";
    public static final C3619ELf LJIJJLI = new C3619ELf((byte) 0);
    public final Aid LIZ = new Aid();
    public final 3KQ LIZIZ;
    public LinearLayout LIZJ;
    public OIZ LIZLLL;
    public User LJ;
    public DT7 LJFF;
    public String LJI;
    public String LJII;
    public String LJIIIIZZ;
    public AwemeRawAd LJIIIZ;
    public 4DN LJIIJ;
    public DialogInterface.OnCancelListener LJIIJJI;
    public boolean LJIIL;
    public DialogInterface.OnDismissListener LJIILIIL;
    public final DialogInterface.OnDismissListener LJIILJJIL;
    public final DialogInterface.OnCancelListener LJIILL;
    public ScrollView LJIL;
    public TextView LJJ;
    public ConstraintLayout LJJI;
    public TextView LJJIFFI;
    public ConstraintLayout LJJII;
    public ConstraintLayout LJJIII;
    public ImageView LJJIIJ;
    public ImageView LJJIIJZLJL;
    public ImageView LJJIIZ;
    public ImageView LJJIIZI;
    public final lifecycleAwareLazy LJJIJ;
    public final C0312Csa LJJIJIIJI;
    public final lifecycleAwareLazy LJJIJIIJIL;
    public SparseArray LJJIJIL;

    private final NotificationLiveViewModel LJ() {
        return (NotificationLiveViewModel) this.LJJIJ.getValue();
    }

    public final NotificationGameViewModel LIZIZ() {
        return (NotificationGameViewModel) this.LJJIJIIJI.getValue();
    }

    public final boolean getUniqueOnlyGlobal() {
        return true;
    }

    public final /* bridge */ /* synthetic */ 0Bv be_() {
        return this.LIZ;
    }

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

    public final 0CH getActualLifecycleOwner() {
        ARD.LIZIZ(this);
        return this;
    }

    /* JADX WARNING: type inference failed for: r0v0, types: [X.Cv8] */
    /* JADX WARNING: Multi-variable type inference failed */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public final X.Cv8 getActualLifecycleOwnerHolder() {
        /*
            r1 = this;
            X.ARD.LIZ(r1)
            r0 = r1
            return r0
        */
        throw new UnsupportedOperationException("Method not decompiled: com.ss.android.ugc.aweme.notificationlive.ui.HorizontalNotificationDialog.getActualLifecycleOwnerHolder():X.Cv8");
    }

    public final 4hP getActualReceiver() {
        ARD.LIZLLL(this);
        return this;
    }

    /* JADX WARNING: type inference failed for: r0v0, types: [X.Cuh<X.4hP>] */
    /* JADX WARNING: Multi-variable type inference failed */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public final X.C0371Cuh<X.4hP> getActualReceiverHolder() {
        /*
            r1 = this;
            X.ARD.LIZJ(r1)
            r0 = r1
            return r0
        */
        throw new UnsupportedOperationException("Method not decompiled: com.ss.android.ugc.aweme.notificationlive.ui.HorizontalNotificationDialog.getActualReceiverHolder():X.Cuh");
    }

    public final 0CH getHostLifecycleOwner() {
        M12.LIZ(this);
        return null;
    }

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

    /* JADX WARNING: type inference failed for: r0v0, types: [X.DUz] */
    /* JADX WARNING: Multi-variable type inference failed */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public final X.C1325DUz getLifecycleOwnerHolder() {
        /*
            r1 = this;
            X.5wO.LIZ(r1)
            r0 = r1
            return r0
        */
        throw new UnsupportedOperationException("Method not decompiled: com.ss.android.ugc.aweme.notificationlive.ui.HorizontalNotificationDialog.getLifecycleOwnerHolder():X.DUz");
    }

    public final 0CH getOwnLifecycleOwner() {
        ARD.LJ(this);
        return this;
    }

    public final 4hP getReceiverForHostVM() {
        M12.LIZ(this);
        return null;
    }

    /* JADX WARNING: type inference failed for: r0v0, types: [X.DUy<X.DVU>] */
    /* JADX WARNING: Multi-variable type inference failed */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public final X.C1324DUy<X.DVU> getReceiverHolder() {
        /*
            r1 = this;
            X.5wO.LIZIZ(r1)
            r0 = r1
            return r0
        */
        throw new UnsupportedOperationException("Method not decompiled: com.ss.android.ugc.aweme.notificationlive.ui.HorizontalNotificationDialog.getReceiverHolder():X.DUy");
    }

    public final boolean getUniqueOnlyDefault() {
        return ARD.LJFF(this);
    }

    public final void dismiss() {
        if (getFragmentManager() != null) {
            HorizontalNotificationDialog.super.dismissAllowingStateLoss();
        }
    }

    public final void dismissAllowingStateLoss() {
        if (getFragmentManager() != null) {
            HorizontalNotificationDialog.super.dismissAllowingStateLoss();
        }
    }

    public final void onDestroyView() {
        this.LJIIL = false;
        HorizontalNotificationDialog.super.onDestroyView();
        SparseArray sparseArray = this.LJJIJIL;
        if (sparseArray != null) {
            sparseArray.clear();
        }
    }

    public final void LIZJ() {
        3BB r1 = new 3BB(getContext());
        r1.LIZIZ(2131827746);
        r1.LIZIZ();
    }

    public final void onResume() {
        HorizontalNotificationDialog.super.onResume();
        if (!4aM.LIZ(getContext()) || !4D7.LIZJ.LIZJ()) {
            dismiss();
        }
    }

    static {
        Covode.recordClassIndex(96393);
    }

    public final void LIZLLL() {
        KGj LIZ2 = K0c.LIZ("homepage_ad", "save", this.LJIIIZ);
        LIZ2.LIZIZ("refer", "manage_page");
        LIZ2.LIZ("enter_from", this.LJIIIIZZ);
        LIZ2.LIZ("success", 1);
        LIZ2.LIZIZ();
        3BB r1 = new 3BB(getContext());
        r1.LIZIZ(2131825383);
        r1.LIZIZ();
    }

    public final void onStart() {
        WindowManager windowManager;
        Display defaultDisplay;
        HorizontalNotificationDialog.super.onStart();
        Dialog dialog = getDialog();
        if (dialog != null) {
            dialog.setCanceledOnTouchOutside(true);
            Window window = dialog.getWindow();
            if (window != null) {
                window.setBackgroundDrawable(new ColorDrawable(0));
                WindowManager.LayoutParams attributes = window.getAttributes();
                attributes.dimAmount = 0.5f;
                Resources system = Resources.getSystem();
                n.LIZIZ(system, "");
                attributes.width = (int) ((system.getDisplayMetrics().density * 375.0f) + 0.5f);
                1hK activity = getActivity();
                DisplayMetrics displayMetrics = new DisplayMetrics();
                if (!(activity == null || (windowManager = activity.getWindowManager()) == null || (defaultDisplay = windowManager.getDefaultDisplay()) == null)) {
                    defaultDisplay.getRealMetrics(displayMetrics);
                }
                attributes.height = displayMetrics.heightPixels;
                attributes.gravity = 8388613;
                attributes.softInputMode = 0;
                window.setAttributes(attributes);
            }
        }
    }

    public HorizontalNotificationDialog() {
        3KQ r0;
        Context context = getContext();
        if (context != null) {
            n.LIZIZ(context, "");
            r0 = new 3KQ(context);
        } else {
            r0 = null;
        }
        this.LIZIZ = r0;
        this.LJI = "";
        this.LJII = "";
        this.LJIIIIZZ = "";
        EL8 el8 = EL8.LIZ;
        D1G LIZ2 = KEM.LIZ.LIZ(NotificationLiveViewModel.class);
        C3615ELb eLb = new C3615ELb(LIZ2);
        this.LJJIJ = new lifecycleAwareLazy(this, eLb, new ELO(this, eLb, LIZ2, el8));
        D1G LIZ3 = KEM.LIZ.LIZ(NotificationGameViewModel.class);
        this.LJJIJIIJI = new C0312Csa(LIZ3, new C3614ELa(LIZ3), C0330Css.LIZ, AoK.LIZ(this, false), AoK.LIZ(this, false), A7H.LIZ, ELL.INSTANCE);
        EL9 el9 = new EL9(this);
        D1G LIZ4 = KEM.LIZ.LIZ(UserViewModel.class);
        C3616ELc eLc = new C3616ELc(LIZ4);
        this.LJJIJIIJIL = new lifecycleAwareLazy(this, eLc, new ELP(this, eLc, LIZ4, el9));
        this.LJIILJJIL = new ELT(this);
        this.LJIILL = new ELS(this);
    }

    public static void LIZ(3KQ r1) {
        r1.show();
        2fU.LIZ.LIZ(r1);
    }

    public final void onCreate(Bundle bundle) {
        HorizontalNotificationDialog.super.onCreate(bundle);
        this.LJIIL = false;
        setStyle(1, 2131887149);
    }

    public final Dialog onCreateDialog(Bundle bundle) {
        Dialog onCreateDialog = HorizontalNotificationDialog.super.onCreateDialog(bundle);
        n.LIZIZ(onCreateDialog, "");
        onCreateDialog.requestWindowFeature(1);
        return onCreateDialog;
    }

    public final void onDismiss(DialogInterface dialogInterface) {
        HorizontalNotificationDialog.super.onDismiss(dialogInterface);
        DialogInterface.OnDismissListener onDismissListener = this.LJIILIIL;
        if (onDismissListener != null) {
            onDismissListener.onDismiss(dialogInterface);
        }
    }

    public final void onCancel(DialogInterface dialogInterface) {
        HorizontalNotificationDialog.super.onCancel(dialogInterface);
        if (this.LJIIL) {
            dismissAllowingStateLoss();
        }
        DialogInterface.OnCancelListener onCancelListener = this.LJIIJJI;
        if (onCancelListener != null) {
            onCancelListener.onCancel(dialogInterface);
        }
    }

    public final void LIZ(int i) {
        String str;
        3KQ r0 = this.LIZIZ;
        if (r0 != null) {
            LIZ(r0);
        }
        NotificationLiveViewModel LJ2 = LJ();
        User user = this.LJ;
        String str2 = "";
        if (user == null || (str = user.getSecUid()) == null) {
            str = str2;
        }
        LJ2.LIZ(new C3565EJd(i, str));
        4DN r02 = this.LJIIJ;
        if (r02 != null) {
            4D6 LIZ2 = r02.LIZ();
            if (i == 1) {
                str2 = "all";
            } else if (i == 2) {
                str2 = "personalized";
            } else if (i == 3) {
                str2 = "off";
            }
            2UX r2 = new 2UX();
            r2.LIZ("enter_from_merge", LIZ2.LIZJ);
            r2.LIZ("enter_method", LIZ2.LIZLLL);
            r2.LIZ("room_id", LIZ2.LIZ);
            r2.LIZ("anchor_id", LIZ2.LIZIZ);
            r2.LIZ("setting_type", str2);
            r2.LIZ(LIZ2.LJ);
            2nK.LIZ("livesdk_live_notification_choose", r2.LIZ);
        }
    }

    public final void LIZIZ(int i) {
        if (i == 1) {
            ImageView imageView = this.LJJIIJZLJL;
            if (imageView == null) {
                n.LIZ("");
            }
            imageView.setImageResource(2131233583);
            ImageView imageView2 = this.LJJIIZ;
            if (imageView2 == null) {
                n.LIZ("");
            }
            imageView2.setImageResource(2131233584);
            ImageView imageView3 = this.LJJIIZI;
            if (imageView3 == null) {
                n.LIZ("");
            }
            imageView3.setImageResource(2131233584);
        } else if (i == 2) {
            ImageView imageView4 = this.LJJIIJZLJL;
            if (imageView4 == null) {
                n.LIZ("");
            }
            imageView4.setImageResource(2131233584);
            ImageView imageView5 = this.LJJIIZ;
            if (imageView5 == null) {
                n.LIZ("");
            }
            imageView5.setImageResource(2131233583);
            ImageView imageView6 = this.LJJIIZI;
            if (imageView6 == null) {
                n.LIZ("");
            }
            imageView6.setImageResource(2131233584);
        } else if (i == 3) {
            ImageView imageView7 = this.LJJIIJZLJL;
            if (imageView7 == null) {
                n.LIZ("");
            }
            imageView7.setImageResource(2131233584);
            ImageView imageView8 = this.LJJIIZ;
            if (imageView8 == null) {
                n.LIZ("");
            }
            imageView8.setImageResource(2131233584);
            ImageView imageView9 = this.LJJIIZI;
            if (imageView9 == null) {
                n.LIZ("");
            }
            imageView9.setImageResource(2131233583);
        }
    }

    public static Object LIZ(Bundle bundle, String str) {
        try {
            return bundle.get(str);
        } catch (Exception | OutOfMemoryError unused) {
            return null;
        }
    }

    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 show(0AA r3, String str) {
        M12.LIZ(r3, str);
        0AP LIZ2 = r3.LIZ();
        LIZ2.LIZ(this);
        LIZ2.LIZ(this, str);
        LIZ2.LIZJ();
    }

    /* JADX WARNING: type inference failed for: r0v46, types: [X.Cue, X.DV1] */
    public final void onViewCreated(View view, Bundle bundle) {
        CommerceUserInfo commerceUserInfo;
        String LIZJ2;
        M12.LIZ(view);
        HorizontalNotificationDialog.super.onViewCreated(view, bundle);
        int i = 1;
        this.LJIIL = true;
        Dialog dialog = getDialog();
        if (dialog != null) {
            dialog.setOnKeyListener(C3617ELd.LIZ);
        }
        Bundle arguments = getArguments();
        if (arguments != null) {
            this.LJ = arguments.getSerializable(LJIILLIIL);
            Object LIZ2 = LIZ(arguments, LJIIZILJ);
            Objects.requireNonNull(LIZ2, "null cannot be cast to non-null type kotlin.String");
            this.LJI = (String) LIZ2;
            Object LIZ3 = LIZ(arguments, LJIJ);
            Objects.requireNonNull(LIZ3, "null cannot be cast to non-null type kotlin.String");
            this.LJII = (String) LIZ3;
            Object LIZ4 = LIZ(arguments, LJIJI);
            Objects.requireNonNull(LIZ4, "null cannot be cast to non-null type kotlin.String");
            this.LJIIIIZZ = (String) LIZ4;
            this.LJIIIZ = (AwemeRawAd) LIZ(arguments, LJIJJ);
        }
        M12.LIZ(view);
        view.findViewById(2131369724).setBackgroundResource(2131234379);
        View findViewById = view.findViewById(2131365104);
        n.LIZIZ(findViewById, "");
        findViewById.setVisibility(8);
        View findViewById2 = view.findViewById(2131369091);
        n.LIZIZ(findViewById2, "");
        ScrollView scrollView = (ScrollView) findViewById2;
        this.LJIL = scrollView;
        if (scrollView == null) {
            n.LIZ("");
        }
        boolean z = false;
        scrollView.setVisibility(0);
        View findViewById3 = view.findViewById(2131369096);
        n.LIZIZ(findViewById3, "");
        this.LJJ = (TextView) findViewById3;
        ConstraintLayout findViewById4 = view.findViewById(2131369086);
        n.LIZIZ(findViewById4, "");
        this.LJJI = findViewById4;
        View findViewById5 = view.findViewById(2131369098);
        n.LIZIZ(findViewById5, "");
        this.LJJIFFI = (TextView) findViewById5;
        ConstraintLayout findViewById6 = view.findViewById(2131369095);
        n.LIZIZ(findViewById6, "");
        this.LJJII = findViewById6;
        ConstraintLayout findViewById7 = view.findViewById(2131369094);
        n.LIZIZ(findViewById7, "");
        this.LJJIII = findViewById7;
        View findViewById8 = view.findViewById(2131369088);
        n.LIZIZ(findViewById8, "");
        this.LJJIIJ = (ImageView) findViewById8;
        View findViewById9 = view.findViewById(2131362250);
        n.LIZIZ(findViewById9, "");
        this.LJJIIJZLJL = (ImageView) findViewById9;
        View findViewById10 = view.findViewById(2131369356);
        n.LIZIZ(findViewById10, "");
        this.LJJIIZ = (ImageView) findViewById10;
        View findViewById11 = view.findViewById(2131368175);
        n.LIZIZ(findViewById11, "");
        this.LJJIIZI = (ImageView) findViewById11;
        this.LIZJ = (LinearLayout) view.findViewById(2131369085);
        this.LIZLLL = view.findViewById(2131369090);
        4DN r5 = this.LJIIJ;
        if (!(r5 == null || (LIZJ2 = r5.LIZJ()) == null || LIZJ2.length() == 0)) {
            TextView textView = this.LJJIFFI;
            if (textView == null) {
                n.LIZ("");
            }
            textView.setVisibility(0);
            TextView textView2 = this.LJJIFFI;
            if (textView2 == null) {
                n.LIZ("");
            }
            textView2.setText(r5.LIZJ());
        }
        ConstraintLayout constraintLayout = this.LJJI;
        if (constraintLayout == null) {
            n.LIZ("");
        }
        constraintLayout.setOnClickListener(new ELV(this));
        ConstraintLayout constraintLayout2 = this.LJJII;
        if (constraintLayout2 == null) {
            n.LIZ("");
        }
        constraintLayout2.setOnClickListener(new ELW(this));
        ConstraintLayout constraintLayout3 = this.LJJIII;
        if (constraintLayout3 == null) {
            n.LIZ("");
        }
        constraintLayout3.setOnClickListener(new ELX(this));
        OIZ oiz = this.LIZLLL;
        if (oiz != null) {
            oiz.setOnClickListener(new ELQ(this));
        }
        OIZ oiz2 = this.LIZLLL;
        if (oiz2 != null) {
            User user = this.LJ;
            if (!(user == null || (commerceUserInfo = user.getCommerceUserInfo()) == null || commerceUserInfo.getNotificationConfig() != 1)) {
                z = true;
            }
            oiz2.setChecked(z);
        }
        ImageView imageView = this.LJJIIJ;
        if (imageView == null) {
            n.LIZ("");
        }
        imageView.setOnClickListener(new C3618ELe(this));
        User user2 = this.LJ;
        if (user2 != null) {
            i = user2.getLivePushNotificationStatus();
        }
        LIZIZ(i);
        4DN r0 = this.LJIIJ;
        if (r0 != null) {
            4D6 LIZ5 = r0.LIZ();
            2UX r2 = new 2UX();
            r2.LIZ("enter_from_merge", LIZ5.LIZJ);
            r2.LIZ("enter_method", LIZ5.LIZLLL);
            r2.LIZ("room_id", LIZ5.LIZ);
            r2.LIZ("anchor_id", LIZ5.LIZIZ);
            r2.LIZ(LIZ5.LJ);
            2nK.LIZ("livesdk_live_notification_show", r2.LIZ);
        }
        2cN unused = selectSubscribe(LJ(), EL1.LIZ, C2110DkY.LIZ, C3611EKx.LIZ, DUS.LIZ(), new ELR(this));
        C0382Cus.LIZ((C0368Cue) this, (AssemViewModel) LIZIZ(), EL6.LIZ, EL7.LIZ, C3613EKz.LIZ, (C0397Cvh) null, (LsF) new ELN(this), 24);
    }

    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 View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
        M12.LIZ(layoutInflater);
        return 0HH.LIZ(layoutInflater, 2131560768, viewGroup, false);
    }

    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 4HR> void subscribe(AssemViewModel<S> assemViewModel, C0397Cvh<S> cvh, LsC<? super Throwable, 2Pr> lsC, LsD<? super 4hP, ? super S, 2Pr> lsD) {
        M12.LIZ(assemViewModel, cvh, lsD);
        ARD.LIZ(this, assemViewModel, cvh, lsC, lsD);
    }

    public final <S extends 4HR, A> void selectSubscribeOnAsync(AssemViewModel<S> assemViewModel, PHD<S, ? extends A> phd, C0397Cvh<CwK<A>> cvh, LsC<? super Throwable, 2Pr> lsC, LsD<? super 4hP, ? super A, 2Pr> lsD) {
        M12.LIZ(assemViewModel, phd, cvh, lsD);
        ARD.LIZIZ(this, assemViewModel, phd, cvh, lsC, lsD);
    }

    public final <S extends 5Am, A, B> 2cN selectSubscribe(JediViewModel<S> jediViewModel, PHD<S, ? extends A> phd, PHD<S, ? extends B> phd2, DUT<C0435Cwt<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 4HR, A> void selectSubscribe(AssemViewModel<S> assemViewModel, PHD<S, ? extends A> phd, C0397Cvh<CwK<A>> cvh, LsC<? super Throwable, 2Pr> lsC, LsD<? super 4hP, ? super A, 2Pr> lsD) {
        M12.LIZ(assemViewModel, phd, cvh, lsD);
        ARD.LIZ(this, assemViewModel, phd, cvh, lsC, lsD);
    }

    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 4HR, A, B> void selectSubscribe(AssemViewModel<S> assemViewModel, PHD<S, ? extends A> phd, PHD<S, ? extends B> phd2, C0397Cvh<CwU<A, B>> cvh, LsC<? super Throwable, 2Pr> lsC, LsE<? super 4hP, ? super A, ? super B, 2Pr> lsE) {
        M12.LIZ(assemViewModel, phd, phd2, cvh, lsE);
        ARD.LIZ(this, assemViewModel, phd, phd2, cvh, lsC, lsE);
    }

    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<C0643D4t<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);
    }

    public final <S extends 4HR, A, B, C> void selectSubscribe(AssemViewModel<S> assemViewModel, PHD<S, ? extends A> phd, PHD<S, ? extends B> phd2, PHD<S, ? extends C> phd3, C0397Cvh<C0418Cwc<A, B, C>> cvh, LsC<? super Throwable, 2Pr> lsC, LsF<? super 4hP, ? super A, ? super B, ? super C, 2Pr> lsF) {
        LsF<? super 4hP, ? super A, ? super B, ? super C, 2Pr> lsF2 = lsF;
        AssemViewModel<S> assemViewModel2 = assemViewModel;
        PHD<S, ? extends A> phd4 = phd;
        PHD<S, ? extends B> phd5 = phd2;
        PHD<S, ? extends C> phd6 = phd3;
        C0397Cvh<C0418Cwc<A, B, C>> cvh2 = cvh;
        M12.LIZ(assemViewModel2, phd4, phd5, phd6, cvh2, lsF2);
        ARD.LIZ(this, assemViewModel2, phd4, phd5, phd6, cvh2, lsC, lsF2);
    }

    public final <S extends 4HR, A, B, C, D> void selectSubscribe(AssemViewModel<S> assemViewModel, PHD<S, ? extends A> phd, PHD<S, ? extends B> phd2, PHD<S, ? extends C> phd3, PHD<S, ? extends D> phd4, C0397Cvh<C0421Cwf<A, B, C, D>> cvh, LsC<? super Throwable, 2Pr> lsC, Lsh<? super 4hP, ? super A, ? super B, ? super C, ? super D, 2Pr> lsh) {
        Lsh<? super 4hP, ? super A, ? super B, ? super C, ? super D, 2Pr> lsh2 = lsh;
        AssemViewModel<S> assemViewModel2 = assemViewModel;
        PHD<S, ? extends A> phd5 = phd;
        PHD<S, ? extends B> phd6 = phd2;
        PHD<S, ? extends C> phd7 = phd3;
        PHD<S, ? extends D> phd8 = phd4;
        C0397Cvh<C0421Cwf<A, B, C, D>> cvh2 = cvh;
        M12.LIZ(assemViewModel2, phd5, phd6, phd7, phd8, cvh2, lsh2);
        ARD.LIZ(this, assemViewModel2, phd5, phd6, phd7, phd8, cvh2, lsC, lsh2);
    }
}
