导航菜单

页面标题

页面副标题

Mint v5.7.3 - c0.java 源代码

正在查看: Mint v5.7.3 应用的 c0.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package h6;

import android.content.Context;
import android.os.Bundle;
import android.text.TextUtils;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Toast;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentActivity;
import androidx.lifecycle.LifecycleOwner;
import androidx.lifecycle.Observer;
import androidx.lifecycle.ViewModelProvider;
import androidx.recyclerview.widget.LinearLayoutManager;
import com.htmedia.mint.AppController;
import com.htmedia.mint.pojo.config.Config;
import com.htmedia.mint.pojo.config.onboardingrevamp.OnBoardingSection;
import com.htmedia.mint.pojo.config.onboardingrevamp.OnBoardingV2Config;
import com.htmedia.mint.pojo.notificationsetting.NotificationMasterResponse;
import com.htmedia.mint.pojo.onBoarding.setting.Section;
import com.htmedia.mint.pojo.onBoarding.setting.SectionPref;
import com.htmedia.mint.utils.f0;
import com.htmedia.mint.utils.t2;
import java.util.List;
import java.util.Map;
import kotlin.Function;
import kotlin.Metadata;
import kotlin.collections.m0;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Lambda;
import x4.g10;
import y7.n2;
import z7.h;

@Metadata(d1 = {"\u0000`\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0010!\n\u0002\u0018\u0002\n\u0002\b\u0005\u0018\u0000 &2\u00020\u0001:\u0001&B\u0005¢\u0006\u0002\u0010\u0002J\b\u0010\u000f\u001a\u00020\u0010H\u0002J\u0006\u0010\u0011\u001a\u00020\u0012J$\u0010\u0013\u001a\u00020\u00142\u0006\u0010\u0015\u001a\u00020\u00162\b\u0010\u0017\u001a\u0004\u0018\u00010\u00182\b\u0010\u0019\u001a\u0004\u0018\u00010\u001aH\u0016J\u001a\u0010\u001b\u001a\u00020\u00102\u0006\u0010\u001c\u001a\u00020\u00142\b\u0010\u0019\u001a\u0004\u0018\u00010\u001aH\u0016J\u0010\u0010\u001d\u001a\u00020\u00102\b\u0010\b\u001a\u0004\u0018\u00010\tJ\b\u0010\u001e\u001a\u00020\u0010H\u0002J\u0016\u0010\u001f\u001a\u00020\u00102\f\u0010 \u001a\b\u0012\u0004\u0012\u00020\"0!H\u0002J\b\u0010#\u001a\u00020\u0010H\u0002J\b\u0010$\u001a\u00020\u0010H\u0002J\b\u0010%\u001a\u00020\u0010H\u0002R\u000e\u0010\u0003\u001a\u00020\u0004X\u0082.¢\u0006\u0002\n\u0000R\u0016\u0010\u0005\u001a\n \u0007*\u0004\u0018\u00010\u00060\u0006X\u0082\u000e¢\u0006\u0002\n\u0000R\u0010\u0010\b\u001a\u0004\u0018\u00010\tX\u0082\u000e¢\u0006\u0002\n\u0000R\u000e\u0010\n\u001a\u00020\u000bX\u0082\u000e¢\u0006\u0002\n\u0000R\u000e\u0010\f\u001a\u00020\u000bX\u0082\u000e¢\u0006\u0002\n\u0000R\u000e\u0010\r\u001a\u00020\u000eX\u0082.¢\u0006\u0002\n\u0000¨\u0006'"}, d2 = {"Lcom/htmedia/mint/onboarding/fragments/OnboardingPreferencesFragment;", "Landroidx/fragment/app/Fragment;", "()V", "binding", "Lcom/htmedia/mint/databinding/LayoutOnboardingPreferencesBinding;", "config", "Lcom/htmedia/mint/pojo/config/Config;", "kotlin.jvm.PlatformType", "continueSkipCallback", "Lcom/htmedia/mint/ui/activity/onBoardingSplash/ContinueSkipCallback;", "isContinueClicked", "", "isSkipClicked", "mViewModel", "Lcom/htmedia/mint/ui/viewModels/onBoardingSplash/SettingsPrefViewModel;", "continueNext", "", "getSelectedValue", "", "onCreateView", "Landroid/view/View;", "inflater", "Landroid/view/LayoutInflater;", "container", "Landroid/view/ViewGroup;", "savedInstanceState", "Landroid/os/Bundle;", "onViewCreated", "view", "setSkipListener", "setTitleAndSkipText", "setUpAdapters", "list", "", "Lcom/htmedia/mint/pojo/onBoarding/setting/Section;", "setUpContinue", "setUpViewModel", "skipClick", "Companion", "app_productionRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
public final class c0 extends Fragment {
    public static final a h = new a(null);
    private boolean a;
    private g10 c;
    private z7.t d;
    private Config e = f0.r0();
    private p7.b f;
    private boolean g;

    @Metadata(d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u0010\u0010\u0003\u001a\u00020\u00042\b\u0010\u0005\u001a\u0004\u0018\u00010\u0006¨\u0006\u0007"}, d2 = {"Lcom/htmedia/mint/onboarding/fragments/OnboardingPreferencesFragment$Companion;", "", "()V", "newInstance", "Lcom/htmedia/mint/onboarding/fragments/OnboardingPreferencesFragment;", "continueSkipCallback", "Lcom/htmedia/mint/ui/activity/onBoardingSplash/ContinueSkipCallback;", "app_productionRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
    public static final class a {
        private a() {
        }

        public a(DefaultConstructorMarker defaultConstructorMarker) {
            this();
        }

        public final c0 a(p7.b bVar) {
            c0 c0Var = new c0();
            c0Var.y(bVar);
            return c0Var;
        }
    }

    @Metadata(k = 3, mv = {1, 9, 0}, xi = 48)
    static final class b implements Observer, kotlin.jvm.internal.g {
        private final fh.l a;

        b(fh.l function) {
            kotlin.jvm.internal.m.g(function, "function");
            this.a = function;
        }

        public final boolean equals(Object obj) {
            if ((obj instanceof Observer) && (obj instanceof kotlin.jvm.internal.g)) {
                return kotlin.jvm.internal.m.b(getFunctionDelegate(), ((kotlin.jvm.internal.g) obj).getFunctionDelegate());
            }
            return false;
        }

        @Override
        public final Function<?> getFunctionDelegate() {
            return this.a;
        }

        public final int hashCode() {
            return getFunctionDelegate().hashCode();
        }

        public final void onChanged(Object obj) {
            this.a.invoke(obj);
        }
    }

    @Metadata(d1 = {"\u0000\u001a\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000b\n\u0000\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u00032\u0006\u0010\u0004\u001a\u00020\u00052\u0006\u0010\u0006\u001a\u00020\u0007H\n¢\u0006\u0002\b\b"}, d2 = {"<anonymous>", "", "preference", "Lcom/htmedia/mint/pojo/onBoarding/setting/Section;", "pos", "", "isSkip", "", "invoke"}, k = 3, mv = {1, 9, 0}, xi = 48)
    static final class c extends Lambda implements fh.q<Section, Integer, Boolean, kotlin.a0> {
        c() {
            super(3);
        }

        public final void a(Section preference, int i, boolean z) {
            kotlin.jvm.internal.m.g(preference, "preference");
            if (z) {
                c0.this.C();
                return;
            }
            z7.t tVar = c0.this.d;
            z7.t tVar2 = null;
            if (tVar == null) {
                kotlin.jvm.internal.m.w("mViewModel");
                tVar = null;
            }
            tVar.o().set(i, preference);
            SectionPref sectionPref = new SectionPref(preference.getId(), preference.isSelected());
            if (preference.isSelected()) {
                z7.t tVar3 = c0.this.d;
                if (tVar3 == null) {
                    kotlin.jvm.internal.m.w("mViewModel");
                    tVar3 = null;
                }
                tVar3.u().add(preference.getName());
            }
            z7.t tVar4 = c0.this.d;
            if (tVar4 == null) {
                kotlin.jvm.internal.m.w("mViewModel");
                tVar4 = null;
            }
            if (tVar4.t().containsKey(Long.valueOf(preference.getId()))) {
                z7.t tVar5 = c0.this.d;
                if (tVar5 == null) {
                    kotlin.jvm.internal.m.w("mViewModel");
                } else {
                    tVar2 = tVar5;
                }
                tVar2.t().remove(Long.valueOf(preference.getId()));
                return;
            }
            z7.t tVar6 = c0.this.d;
            if (tVar6 == null) {
                kotlin.jvm.internal.m.w("mViewModel");
            } else {
                tVar2 = tVar6;
            }
            tVar2.t().put(Long.valueOf(preference.getId()), sectionPref);
        }

        @Override
        public kotlin.a0 invoke(Section section, Integer num, Boolean bool) {
            a(section, num.intValue(), bool.booleanValue());
            return kotlin.a0.a;
        }
    }

    @Metadata(d1 = {"\u0000\u0010\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0003\u0010\u0000\u001a\u00020\u00012\u000e\u0010\u0002\u001a\n \u0004*\u0004\u0018\u00010\u00030\u0003H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"<anonymous>", "", "it", "", "kotlin.jvm.PlatformType", "invoke", "(Ljava/lang/Boolean;)V"}, k = 3, mv = {1, 9, 0}, xi = 48)
    static final class d extends Lambda implements fh.l<Boolean, kotlin.a0> {
        d() {
            super(1);
        }

        @Override
        public kotlin.a0 invoke(Boolean bool) {
            invoke2(bool);
            return kotlin.a0.a;
        }

        public final void invoke2(Boolean bool) {
            kotlin.jvm.internal.m.d(bool);
            if (bool.booleanValue()) {
                z7.t tVar = c0.this.d;
                z7.t tVar2 = null;
                if (tVar == null) {
                    kotlin.jvm.internal.m.w("mViewModel");
                    tVar = null;
                }
                if (!tVar.o().isEmpty()) {
                    c0 c0Var = c0.this;
                    z7.t tVar3 = c0Var.d;
                    if (tVar3 == null) {
                        kotlin.jvm.internal.m.w("mViewModel");
                    } else {
                        tVar2 = tVar3;
                    }
                    c0Var.A(tVar2.o());
                    return;
                }
                z7.t tVar4 = c0.this.d;
                if (tVar4 == null) {
                    kotlin.jvm.internal.m.w("mViewModel");
                    tVar4 = null;
                }
                FragmentActivity requireActivity = c0.this.requireActivity();
                kotlin.jvm.internal.m.f(requireActivity, "requireActivity(...)");
                if (!TextUtils.isEmpty(tVar4.C("section", requireActivity))) {
                    z7.t tVar5 = c0.this.d;
                    if (tVar5 == null) {
                        kotlin.jvm.internal.m.w("mViewModel");
                        tVar5 = null;
                    }
                    FragmentActivity requireActivity2 = c0.this.requireActivity();
                    kotlin.jvm.internal.m.f(requireActivity2, "requireActivity(...)");
                    if (!tVar5.C("section", requireActivity2).equals("null\n")) {
                        z7.t tVar6 = c0.this.d;
                        if (tVar6 == null) {
                            kotlin.jvm.internal.m.w("mViewModel");
                            tVar6 = null;
                        }
                        FragmentActivity requireActivity3 = c0.this.requireActivity();
                        kotlin.jvm.internal.m.f(requireActivity3, "requireActivity(...)");
                        String C = tVar6.C("section", requireActivity3);
                        z7.t tVar7 = c0.this.d;
                        if (tVar7 == null) {
                            kotlin.jvm.internal.m.w("mViewModel");
                            tVar7 = null;
                        }
                        tVar7.H(C);
                        c0 c0Var2 = c0.this;
                        z7.t tVar8 = c0Var2.d;
                        if (tVar8 == null) {
                            kotlin.jvm.internal.m.w("mViewModel");
                        } else {
                            tVar2 = tVar8;
                        }
                        c0Var2.A(tVar2.o());
                        return;
                    }
                }
                z7.t tVar9 = c0.this.d;
                if (tVar9 == null) {
                    kotlin.jvm.internal.m.w("mViewModel");
                    tVar9 = null;
                }
                FragmentActivity requireActivity4 = c0.this.requireActivity();
                kotlin.jvm.internal.m.f(requireActivity4, "requireActivity(...)");
                if (TextUtils.isEmpty(tVar9.D(requireActivity4))) {
                    Log.d("spriha", "----section data not found");
                    return;
                }
                z7.t tVar10 = c0.this.d;
                if (tVar10 == null) {
                    kotlin.jvm.internal.m.w("mViewModel");
                    tVar10 = null;
                }
                FragmentActivity requireActivity5 = c0.this.requireActivity();
                kotlin.jvm.internal.m.f(requireActivity5, "requireActivity(...)");
                String D = tVar10.D(requireActivity5);
                z7.t tVar11 = c0.this.d;
                if (tVar11 == null) {
                    kotlin.jvm.internal.m.w("mViewModel");
                    tVar11 = null;
                }
                tVar11.H(D);
                c0 c0Var3 = c0.this;
                z7.t tVar12 = c0Var3.d;
                if (tVar12 == null) {
                    kotlin.jvm.internal.m.w("mViewModel");
                } else {
                    tVar2 = tVar12;
                }
                c0Var3.A(tVar2.o());
            }
        }
    }

    public final void A(List<Section> list) {
        g10 g10Var = this.c;
        g10 g10Var2 = null;
        if (g10Var == null) {
            kotlin.jvm.internal.m.w("binding");
            g10Var = null;
        }
        g10Var.f.setLayoutManager(new LinearLayoutManager(getActivity()));
        g10 g10Var3 = this.c;
        if (g10Var3 == null) {
            kotlin.jvm.internal.m.w("binding");
        } else {
            g10Var2 = g10Var3;
        }
        g10Var2.f.setAdapter(new g6.j(list, new c()));
    }

    public static final void B(c0 this$0, NotificationMasterResponse it) {
        kotlin.jvm.internal.m.g(this$0, "this$0");
        kotlin.jvm.internal.m.g(it, "it");
        if (!it.getSuccess()) {
            this$0.g = false;
            return;
        }
        FragmentActivity activity = this$0.getActivity();
        String str = com.htmedia.mint.utils.n.t2;
        com.htmedia.mint.utils.n.Z(activity, str, str, this$0.getSelectedValue());
        p7.b bVar = this$0.f;
        if (bVar != null) {
            bVar.y(this$0.a);
        }
    }

    public final void C() {
        com.htmedia.mint.utils.n.D(getContext(), com.htmedia.mint.utils.n.W0, com.htmedia.mint.utils.n.V0, com.htmedia.mint.utils.n.X0, "onboarding_screen/section_preferences_page", "skip_this_step", "");
        this.a = true;
        continueNext();
    }

    private final void continueNext() {
        z7.t tVar;
        String putPreferences;
        if (this.g) {
            return;
        }
        int i = !this.a ? 1 : 0;
        z7.t tVar2 = this.d;
        if (tVar2 != null) {
            z7.t tVar3 = null;
            if (tVar2 == null) {
                kotlin.jvm.internal.m.w("mViewModel");
                tVar2 = null;
            }
            if (tVar2.t().size() >= i) {
                Config config = this.e;
                String str = (config == null || config.getOnBoardingV2Config() == null || TextUtils.isEmpty(this.e.getOnBoardingV2Config().getPutPreferences()) || (putPreferences = this.e.getOnBoardingV2Config().getPutPreferences()) == null) ? "https://dap.hindustantimes.com/putpreferences" : putPreferences;
                z7.t tVar4 = this.d;
                if (tVar4 == null) {
                    kotlin.jvm.internal.m.w("mViewModel");
                    tVar = null;
                } else {
                    tVar = tVar4;
                }
                FragmentActivity requireActivity = requireActivity();
                kotlin.jvm.internal.m.f(requireActivity, "requireActivity(...)");
                boolean z = this.a;
                z7.t tVar5 = this.d;
                if (tVar5 == null) {
                    kotlin.jvm.internal.m.w("mViewModel");
                } else {
                    tVar3 = tVar5;
                }
                tVar.M(str, requireActivity, z, tVar3.t(), "onboarding");
                this.g = true;
                setUpContinue();
                v5.l.x.d(true);
                v5.t.p.b(true);
                return;
            }
        }
        this.g = false;
        if (this.a || getActivity() == null) {
            return;
        }
        Toast.makeText((Context) getActivity(), (CharSequence) "Please select atleast 1 topic of interest to move ahead", 0).show();
    }

    private final void setUpContinue() {
        z7.t tVar = this.d;
        if (tVar == null) {
            kotlin.jvm.internal.m.w("mViewModel");
            tVar = null;
        }
        t2 A = tVar.A();
        LifecycleOwner viewLifecycleOwner = getViewLifecycleOwner();
        kotlin.jvm.internal.m.f(viewLifecycleOwner, "getViewLifecycleOwner(...)");
        A.observe(viewLifecycleOwner, new Observer() {
            public final void onChanged(Object obj) {
                c0.B(c0.this, (NotificationMasterResponse) obj);
            }
        });
    }

    private final void setUpViewModel() {
        FragmentActivity requireActivity = requireActivity();
        kotlin.jvm.internal.m.f(requireActivity, "requireActivity(...)");
        boolean Z1 = f0.Z1();
        Config r0 = f0.r0();
        kotlin.jvm.internal.m.f(r0, "getConfig(...)");
        this.d = new ViewModelProvider(requireActivity, new n2(Z1, r0)).get(z7.t.class);
        FragmentActivity activity = getActivity();
        if (activity != null) {
            z7.t tVar = this.d;
            z7.t tVar2 = null;
            if (tVar == null) {
                kotlin.jvm.internal.m.w("mViewModel");
                tVar = null;
            }
            tVar.w(activity, "onboarding");
            z7.t tVar3 = this.d;
            if (tVar3 == null) {
                kotlin.jvm.internal.m.w("mViewModel");
            } else {
                tVar2 = tVar3;
            }
            tVar2.m().observe(getViewLifecycleOwner(), new b(new d()));
        }
    }

    public static final void w(c0 this$0, View view) {
        kotlin.jvm.internal.m.g(this$0, "this$0");
        this$0.a = false;
        this$0.continueNext();
        com.htmedia.mint.utils.n.D(this$0.getContext(), com.htmedia.mint.utils.n.W0, com.htmedia.mint.utils.n.V0, com.htmedia.mint.utils.n.X0, "onboarding_screen/section_preferences_page", "section_preferences_button_clicked", "");
    }

    public static final void x(c0 this$0, View view) {
        kotlin.jvm.internal.m.g(this$0, "this$0");
        this$0.C();
    }

    private final void z() {
        Map h2;
        Boolean isSkippable;
        String title;
        OnBoardingV2Config onBoardingV2Config;
        if (this.e == null) {
            this.e = AppController.j().g();
        }
        Config config = this.e;
        if (config == null || (onBoardingV2Config = config.getOnBoardingV2Config()) == null || (h2 = onBoardingV2Config.getData()) == null) {
            h2 = m0.h();
        }
        if (h2 == null || !(!h2.isEmpty())) {
            return;
        }
        h.a aVar = h.a.f;
        if (h2.containsKey(aVar.b())) {
            OnBoardingSection onBoardingSection = (OnBoardingSection) h2.get(aVar.b());
            g10 g10Var = null;
            if (onBoardingSection != null && (title = onBoardingSection.getTitle()) != null) {
                g10 g10Var2 = this.c;
                if (g10Var2 == null) {
                    kotlin.jvm.internal.m.w("binding");
                    g10Var2 = null;
                }
                g10Var2.d.setText(title);
            }
            if (onBoardingSection == null || (isSkippable = onBoardingSection.isSkippable()) == null) {
                return;
            }
            if (isSkippable.booleanValue()) {
                g10 g10Var3 = this.c;
                if (g10Var3 == null) {
                    kotlin.jvm.internal.m.w("binding");
                } else {
                    g10Var = g10Var3;
                }
                g10Var.g.setVisibility(0);
                return;
            }
            g10 g10Var4 = this.c;
            if (g10Var4 == null) {
                kotlin.jvm.internal.m.w("binding");
            } else {
                g10Var = g10Var4;
            }
            g10Var.g.setVisibility(8);
        }
    }

    public final String getSelectedValue() {
        StringBuilder sb = new StringBuilder();
        z7.t tVar = this.d;
        if (tVar == null) {
            kotlin.jvm.internal.m.w("mViewModel");
            tVar = null;
        }
        if (!tVar.u().isEmpty()) {
            z7.t tVar2 = this.d;
            if (tVar2 == null) {
                kotlin.jvm.internal.m.w("mViewModel");
                tVar2 = null;
            }
            int size = tVar2.u().size();
            for (int i = 0; i < size; i++) {
                if (i == 0) {
                    z7.t tVar3 = this.d;
                    if (tVar3 == null) {
                        kotlin.jvm.internal.m.w("mViewModel");
                        tVar3 = null;
                    }
                    sb.append((String) tVar3.u().get(i));
                } else {
                    sb.append(",");
                    z7.t tVar4 = this.d;
                    if (tVar4 == null) {
                        kotlin.jvm.internal.m.w("mViewModel");
                        tVar4 = null;
                    }
                    sb.append((String) tVar4.u().get(i));
                }
            }
        }
        String sb2 = sb.toString();
        kotlin.jvm.internal.m.f(sb2, "toString(...)");
        return sb2;
    }

    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        kotlin.jvm.internal.m.g(inflater, "inflater");
        g10 c2 = g10.c(inflater, container, false);
        kotlin.jvm.internal.m.f(c2, "inflate(...)");
        this.c = c2;
        com.htmedia.mint.utils.n.D(getContext(), com.htmedia.mint.utils.n.U0, com.htmedia.mint.utils.n.V0, com.htmedia.mint.utils.n.X0, "onboarding_screen/section_preferences_page", "", "");
        g10 g10Var = this.c;
        if (g10Var == null) {
            kotlin.jvm.internal.m.w("binding");
            g10Var = null;
        }
        View root = g10Var.getRoot();
        kotlin.jvm.internal.m.f(root, "getRoot(...)");
        return root;
    }

    public void onViewCreated(View view, Bundle savedInstanceState) {
        kotlin.jvm.internal.m.g(view, "view");
        setUpViewModel();
        AppController.j().g();
        z();
        g10 g10Var = this.c;
        g10 g10Var2 = null;
        if (g10Var == null) {
            kotlin.jvm.internal.m.w("binding");
            g10Var = null;
        }
        g10Var.b.setOnClickListener(new View.OnClickListener() {
            @Override
            public final void onClick(View view2) {
                c0.w(c0.this, view2);
            }
        });
        g10 g10Var3 = this.c;
        if (g10Var3 == null) {
            kotlin.jvm.internal.m.w("binding");
        } else {
            g10Var2 = g10Var3;
        }
        g10Var2.g.setOnClickListener(new View.OnClickListener() {
            @Override
            public final void onClick(View view2) {
                c0.x(c0.this, view2);
            }
        });
    }

    public final void y(p7.b bVar) {
        this.f = bVar;
    }
}