导航菜单

页面标题

页面副标题

Mitra Bukalapak v2.55.0 - WalletDetailScreen.java 源代码

正在查看: Mitra Bukalapak v2.55.0 应用的 WalletDetailScreen.java JAVA 源代码文件

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


package com.bukalapak.mitra.transaction;

import android.content.ActivityNotFoundException;
import android.content.Context;
import android.content.Intent;
import android.graphics.Rect;
import android.graphics.drawable.GradientDrawable;
import android.net.Uri;
import android.os.Bundle;
import android.text.SpannableString;
import android.text.style.ForegroundColorSpan;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import androidx.recyclerview.widget.RecyclerView;
import com.bukalapak.android.lib.androidutils.FragmentViewBindingDelegate;
import com.bukalapak.android.lib.api4.response.BaseResponse;
import com.bukalapak.android.lib.api4.response.BaseResult;
import com.bukalapak.android.lib.api4.tungku.data.DigitalBankingSavingAccountResponse;
import com.bukalapak.android.lib.api4.tungku.data.Topup;
import com.bukalapak.android.lib.neo.lib.model.NeoMapper;
import com.bukalapak.android.lib.ui.atomic.item.DividerItem;
import com.bukalapak.android.lib.ui.util.RecyclerViewExtKt;
import com.bukalapak.mitra.apiv4.data.VirtualAccountTransaction;
import com.bukalapak.mitra.apiv4.response.VirtualAccountResponse;
import com.bukalapak.mitra.apiv4.service.VirtualAccountService;
import com.bukalapak.mitra.datatype.BankAccount;
import com.bukalapak.mitra.datatype.VirtualAccountDetail;
import com.bukalapak.mitra.lib.sux.AppMviFragment;
import com.bukalapak.mitra.lib.tracker.screen.Screen;
import com.bukalapak.mitra.transaction.WalletDetailScreen;
import defpackage.at5;
import defpackage.ffa;
import defpackage.ge9;
import defpackage.he9;
import defpackage.kw9;
import defpackage.p00;
import defpackage.r00;
import defpackage.t76;
import defpackage.ts7;
import defpackage.u76;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import kotlin.Metadata;

@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0005\u0018\u0000 \u00022\u00020\u0001:\u0004\u0002\u0003\u0004\u0005¨\u0006\u0006"}, d2 = {"Lcom/bukalapak/mitra/transaction/WalletDetailScreen;", "", "a", "b", "Fragment", "c", "base_app_release"}, k = 1, mv = {1, 8, 0})
public final class WalletDetailScreen {
    private static final ix3 b = ix3.e.c(ys7.b(112), ys7.b(15));

    @Metadata(d1 = {"\u0000\u008f\u0001\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\b\n\u0002\b\n\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010\t\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0011\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\t\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\b*\u0001>\b\u0007\u0018\u0000 N2\u0014\u0012\u0004\u0012\u00020\u0000\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u00030\u0001:\u0001OB\u0007¢\u0006\u0004\bL\u0010MJ\f\u0010\u0006\u001a\u00020\u0005*\u00020\u0004H\u0002J\u0010\u0010\t\u001a\u00020\b2\u0006\u0010\u0007\u001a\u00020\u0003H\u0002J\b\u0010\n\u001a\u00020\bH\u0002J\u001e\u0010\r\u001a\u0010\u0012\f\u0012\n\u0012\u0002\b\u0003\u0012\u0002\b\u00030\f0\u000b2\u0006\u0010\u0007\u001a\u00020\u0003H\u0002J \u0010\u0012\u001a\n\u0012\u0002\b\u0003\u0012\u0002\b\u00030\f2\u0006\u0010\u000f\u001a\u00020\u000e2\u0006\u0010\u0011\u001a\u00020\u0010H\u0002J\u0018\u0010\u0013\u001a\n\u0012\u0002\b\u0003\u0012\u0002\b\u00030\f2\u0006\u0010\u0007\u001a\u00020\u0003H\u0002J\u0018\u0010\u0014\u001a\n\u0012\u0002\b\u0003\u0012\u0002\b\u00030\f2\u0006\u0010\u0007\u001a\u00020\u0003H\u0002J\u0012\u0010\u0015\u001a\f\u0012\u0002\b\u0003\u0012\u0002\b\u0003\u0018\u00010\fH\u0002J\u0018\u0010\u0016\u001a\n\u0012\u0002\b\u0003\u0012\u0002\b\u00030\f2\u0006\u0010\u0007\u001a\u00020\u0003H\u0002J\u0010\u0010\u0017\u001a\n\u0012\u0002\b\u0003\u0012\u0002\b\u00030\fH\u0002J\u0018\u0010\u0018\u001a\n\u0012\u0002\b\u0003\u0012\u0002\b\u00030\f2\u0006\u0010\u0007\u001a\u00020\u0003H\u0002J\u0018\u0010\u0019\u001a\n\u0012\u0002\b\u0003\u0012\u0002\b\u00030\f2\u0006\u0010\u0007\u001a\u00020\u0003H\u0002J\u0018\u0010\u001a\u001a\n\u0012\u0002\b\u0003\u0012\u0002\b\u00030\f2\u0006\u0010\u0007\u001a\u00020\u0003H\u0002J\b\u0010\u001c\u001a\u00020\u001bH\u0002J\u0016\u0010\u001d\u001a\u0010\u0012\f\u0012\n\u0012\u0002\b\u0003\u0012\u0002\b\u00030\f0\u000bH\u0002J\u0018\u0010\u001f\u001a\n\u0012\u0002\b\u0003\u0012\u0002\b\u00030\f2\u0006\u0010\u001e\u001a\u00020\u000eH\u0002J\u0012\u0010\"\u001a\u0004\u0018\u00010\u00042\u0006\u0010!\u001a\u00020 H\u0002J@\u0010)\u001a\n\u0012\u0002\b\u0003\u0012\u0002\b\u00030\f2\u0018\u0010%\u001a\u0014\u0012\u0004\u0012\u00020\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u000e0$0#2\u0006\u0010&\u001a\u00020\u00052\f\u0010(\u001a\b\u0012\u0004\u0012\u00020\b0'H\u0002J+\u0010+\u001a\u0010\u0012\f\u0012\n\u0012\u0002\b\u0003\u0012\u0002\b\u00030\f0\u000b2\f\u0010*\u001a\b\u0012\u0004\u0012\u00020\u000e0$H\u0002¢\u0006\u0004\b+\u0010,J\u0010\u0010.\u001a\u00020\b2\u0006\u0010-\u001a\u00020 H\u0002J\u0010\u0010/\u001a\u00020\u00022\u0006\u0010\u0007\u001a\u00020\u0003H\u0016J\b\u00100\u001a\u00020\u0003H\u0016J\u0010\u00103\u001a\u00020\b2\u0006\u00102\u001a\u000201H\u0016J\u001a\u00107\u001a\u00020\b2\u0006\u00104\u001a\u00020\u00042\b\u00106\u001a\u0004\u0018\u000105H\u0016J\u0010\u00108\u001a\u00020\b2\u0006\u0010\u0007\u001a\u00020\u0003H\u0016J\u000e\u00109\u001a\u00020\b2\u0006\u0010\u0007\u001a\u00020\u0003R\u0014\u0010=\u001a\u00020:8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b;\u0010<R\u0014\u0010A\u001a\u00020>8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b?\u0010@R\u001b\u0010G\u001a\u00020B8BX\u0082\u0084\u0002¢\u0006\f\n\u0004\bC\u0010D\u001a\u0004\bE\u0010FR\u0014\u0010K\u001a\u00020H8BX\u0082\u0004¢\u0006\u0006\u001a\u0004\bI\u0010J¨\u0006P"}, d2 = {"Lcom/bukalapak/mitra/transaction/WalletDetailScreen$Fragment;", "Lcom/bukalapak/mitra/transaction/Hilt_WalletDetailScreen_Fragment;", "Lcom/bukalapak/mitra/transaction/WalletDetailScreen$a;", "Lcom/bukalapak/mitra/transaction/WalletDetailScreen$c;", "Landroid/view/View;", "", "n2", "state", "Llm9;", "s2", "q2", "", "Lt0;", "U1", "", "title", "", "itemType", "d2", "e2", "f2", "Y1", "X1", "c2", "b2", "W1", "V1", "Landroid/text/SpannableString;", "j2", "Z1", "term", "a2", "", "identifier", "k2", "Lc46;", "", "paymentTerm", "isExpand", "Lkotlin/Function0;", "onClick", "h2", "terms", "g2", "([Ljava/lang/String;)Ljava/util/List;", "fromId", "T1", "l2", "m2", "Landroid/content/Context;", "context", "onAttach", "view", "Landroid/os/Bundle;", "savedInstanceState", "onViewCreated", "o2", "r2", "Landroid/graphics/Rect;", "E", "Landroid/graphics/Rect;", "rect", "com/bukalapak/mitra/transaction/WalletDetailScreen$Fragment$z0", "F", "Lcom/bukalapak/mitra/transaction/WalletDetailScreen$Fragment$z0;", "onScrollListener", "Lvv2;", "G", "Lcom/bukalapak/android/lib/androidutils/FragmentViewBindingDelegate;", "i2", "()Lvv2;", "binding", "Landroidx/recyclerview/widget/RecyclerView;", "C1", "()Landroidx/recyclerview/widget/RecyclerView;", "layoutContent", "<init>", "()V", "H", "a", "base_app_release"}, k = 1, mv = {1, 8, 0})
    public static final class Fragment extends Hilt_WalletDetailScreen_Fragment<Fragment, a, c> {

        private final Rect rect = new Rect();

        private final z0 onScrollListener = new z0();

        private final FragmentViewBindingDelegate binding = fw2.a(this, b.a);
        static final sf4<Object>[] I = {ln7.h(new kw6(Fragment.class, "binding", "getBinding()Lcom/bukalapak/mitra/base/databinding/FragmentRecyclerviewLoaderBinding;", 0))};

        @Metadata(d1 = {"\u0000\u0010\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0005\u001a\u00028\u0001\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0004\u001a\u00020\u0003H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "Landroid/content/Context;", "context", "a", "(Landroid/content/Context;)Lk95;"}, k = 3, mv = {1, 8, 0})
        public static final class a0 extends dk4 implements gx2<Context, gw7> {
            public a0() {
                super(1);
            }

            public final gw7 invoke(Context context) {
                p64.h(context, "context");
                gw7 gw7Var = new gw7(context);
                kn8 kn8Var = kn8.g;
                gw7Var.G(kn8Var, kn8Var);
                kn8 kn8Var2 = kn8.i;
                gw7Var.A(kn8Var2, kn8.d, kn8Var2, kn8.f);
                gw7Var.w(us7.e(y57.o));
                return gw7Var;
            }
        }

        @Metadata(d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0001\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Llm9;", "a", "()V"}, k = 3, mv = {1, 8, 0})
        static final class a1 extends dk4 implements ex2<lm9> {
            final boolean $isExpand;
            final c46<String, String[]> $paymentMethod;
            final c $state;
            final String $vaBank;

            a1(String str, c46<String, String[]> c46Var, c cVar, boolean z) {
                super(0);
                this.$vaBank = str;
                this.$paymentMethod = c46Var;
                this.$state = cVar;
                this.$isExpand = z;
            }

            public final void a() {
                a o0 = Fragment.this.o0();
                Context requireContext = Fragment.this.requireContext();
                p64.g(requireContext, "requireContext()");
                o0.a4(requireContext, "cara_pembayaran-va_" + this.$vaBank + "-" + this.$paymentMethod.e());
                this.$state.setExpandedPaymentMethod(this.$isExpand ? null : (String) this.$paymentMethod.e());
                Fragment.this.s2(this.$state);
                Fragment.this.q2();
            }

            public Object invoke() {
                a();
                return lm9.a;
            }
        }

        @Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
        class b extends oy2 implements gx2<View, vv2> {
            public static final b a = new b();

            b() {
                super(1, vv2.class, "bind", "bind(Landroid/view/View;)Lcom/bukalapak/mitra/base/databinding/FragmentRecyclerviewLoaderBinding;", 0);
            }

            public final vv2 invoke(View view) {
                p64.h(view, "p0");
                return vv2.a(view);
            }
        }

        @Metadata(d1 = {"\u0000\u0012\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0005\u001a\u00020\u0004\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0003\u001a\u00028\u0001H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "it", "Llm9;", "a", "(Lk95;)V"}, k = 3, mv = {1, 8, 0})
        public static final class b0 extends dk4 implements gx2<gw7, lm9> {
            final gx2 $state;

            public b0(gx2 gx2Var) {
                super(1);
                this.$state = gx2Var;
            }

            public final void a(gw7 gw7Var) {
                p64.h(gw7Var, "it");
                gw7Var.Q(this.$state);
            }

            public Object invoke(Object obj) {
                a((k95) obj);
                return lm9.a;
            }
        }

        @Metadata(d1 = {"\u0000\u0010\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0005\u001a\u00028\u0001\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0004\u001a\u00020\u0003H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "Landroid/content/Context;", "context", "a", "(Landroid/content/Context;)Lk95;"}, k = 3, mv = {1, 8, 0})
        public static final class c extends dk4 implements gx2<Context, m49> {
            public c() {
                super(1);
            }

            public final m49 invoke(Context context) {
                p64.h(context, "context");
                LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams(-2, -2);
                kn8 kn8Var = kn8.e;
                layoutParams.leftMargin = kn8Var.c();
                layoutParams.rightMargin = kn8.f.c();
                LinearLayout.LayoutParams layoutParams2 = new LinearLayout.LayoutParams(-2, -2);
                layoutParams2.rightMargin = kn8Var.c();
                lm9 lm9Var = lm9.a;
                return new m49(context, layoutParams, (LinearLayout.LayoutParams) null, layoutParams2, 4, (oq1) null);
            }
        }

        @Metadata(d1 = {"\u0000\u0012\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0005\u001a\u00020\u0004\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0003\u001a\u00028\u0001H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "it", "Llm9;", "a", "(Lk95;)V"}, k = 3, mv = {1, 8, 0})
        public static final class c0 extends dk4 implements gx2<gw7, lm9> {
            public static final c0 g = new c0();

            public c0() {
                super(1);
            }

            public final void a(gw7 gw7Var) {
                p64.h(gw7Var, "it");
                gw7Var.e0();
            }

            public Object invoke(Object obj) {
                a((k95) obj);
                return lm9.a;
            }
        }

        @Metadata(d1 = {"\u0000\u0012\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0005\u001a\u00020\u0004\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0003\u001a\u00028\u0001H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "it", "Llm9;", "a", "(Lk95;)V"}, k = 3, mv = {1, 8, 0})
        public static final class d extends dk4 implements gx2<m49, lm9> {
            final gx2 $state;

            public d(gx2 gx2Var) {
                super(1);
                this.$state = gx2Var;
            }

            public final void a(m49 m49Var) {
                p64.h(m49Var, "it");
                m49Var.Q(this.$state);
            }

            public Object invoke(Object obj) {
                a((k95) obj);
                return lm9.a;
            }
        }

        @Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0002\u001a\u00020\u0001*\u00020\u0000H\n¢\u0006\u0004\b\u0002\u0010\u0003"}, d2 = {"Lgw7$b;", "Llm9;", "a", "(Lgw7$b;)V"}, k = 3, mv = {1, 8, 0})
        static final class d0 extends dk4 implements gx2<b, lm9> {
            d0() {
                super(1);
            }

            public final void a(b bVar) {
                p64.h(bVar, "$this$newItem");
                bVar.y(nk9.e);
                bVar.v(ts7.a(y57.n));
                String string = Fragment.this.P0().getString(vc7.Gd);
                p64.g(string, "ctx.getString(R.string.payment_atm_instruction)");
                bVar.t(kt8.b(string));
            }

            public Object invoke(Object obj) {
                a((b) obj);
                return lm9.a;
            }
        }

        @Metadata(d1 = {"\u0000\u0012\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0005\u001a\u00020\u0004\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0003\u001a\u00028\u0001H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "it", "Llm9;", "a", "(Lk95;)V"}, k = 3, mv = {1, 8, 0})
        public static final class e extends dk4 implements gx2<m49, lm9> {
            public static final e g = new e();

            public e() {
                super(1);
            }

            public final void a(m49 m49Var) {
                p64.h(m49Var, "it");
                m49Var.e0();
            }

            public Object invoke(Object obj) {
                a((k95) obj);
                return lm9.a;
            }
        }

        @Metadata(d1 = {"\u0000\u0010\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0005\u001a\u00028\u0001\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0004\u001a\u00020\u0003H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "Landroid/content/Context;", "context", "a", "(Landroid/content/Context;)Lk95;"}, k = 3, mv = {1, 8, 0})
        public static final class e0 extends dk4 implements gx2<Context, jw7> {
            public e0() {
                super(1);
            }

            public final jw7 invoke(Context context) {
                p64.h(context, "context");
                jw7 jw7Var = new jw7(context);
                kn8 kn8Var = kn8.f;
                kn8 kn8Var2 = kn8.d;
                kn8 kn8Var3 = kn8.i;
                jw7Var.H(kn8Var3, kn8Var, kn8Var3, kn8Var2);
                return jw7Var;
            }
        }

        @Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0002\u001a\u00020\u0001*\u00020\u0000H\n¢\u0006\u0004\b\u0002\u0010\u0003"}, d2 = {"Lm49$b;", "Llm9;", "a", "(Lm49$b;)V"}, k = 3, mv = {1, 8, 0})
        static final class f extends dk4 implements gx2<b, lm9> {
            final SpannableString $actionText;
            final c $state;
            final Fragment this$0;

            @Metadata(d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0001\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Liz0;", "a", "()Liz0;"}, k = 3, mv = {1, 8, 0})
            static final class a extends dk4 implements ex2<iz0> {
                final c $state;

                a(c cVar) {
                    super(0);
                    this.$state = cVar;
                }

                public final iz0 invoke() {
                    xb3 paymentIcon = this.$state.getPaymentIcon();
                    return new iz0(paymentIcon != null ? new pw3(paymentIcon) : null, (pw3) null, (pw3) null, (pw3) null, 14, (oq1) null);
                }
            }

            @Metadata(d1 = {"\u0000\b\n\u0000\n\u0002\u0010\u000e\n\u0000\u0010\u0000\u001a\u0004\u0018\u00010\u0001H\n¢\u0006\u0002\b\u0002"}, d2 = {"<anonymous>", "", "invoke"}, k = 3, mv = {1, 8, 0}, xi = 48)
            static final class b extends dk4 implements ex2<String> {
                final Fragment this$0;

                b(Fragment fragment) {
                    super(0);
                    this.this$0 = fragment;
                }

                public final String invoke() {
                    return this.this$0.o0().t4(this.this$0.P0());
                }
            }

            @Metadata(d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0001\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Landroid/text/SpannableString;", "a", "()Landroid/text/SpannableString;"}, k = 3, mv = {1, 8, 0})
            static final class c extends dk4 implements ex2<SpannableString> {
                final SpannableString $actionText;

                c(SpannableString spannableString) {
                    super(0);
                    this.$actionText = spannableString;
                }

                public final SpannableString invoke() {
                    return this.$actionText;
                }
            }

            f(c cVar, Fragment fragment, SpannableString spannableString) {
                super(1);
                this.$state = cVar;
                this.this$0 = fragment;
                this.$actionText = spannableString;
            }

            public final void a(b bVar) {
                p64.h(bVar, "$this$newItem");
                bVar.c().k(new a(this.$state));
                bVar.b().q(new b(this.this$0));
                a d = bVar.d();
                d.q(new c(this.$actionText));
                d.s(ef7.v);
                d.n(true);
            }

            public Object invoke(Object obj) {
                a((b) obj);
                return lm9.a;
            }
        }

        @Metadata(d1 = {"\u0000\u0012\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0005\u001a\u00020\u0004\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0003\u001a\u00028\u0001H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "it", "Llm9;", "a", "(Lk95;)V"}, k = 3, mv = {1, 8, 0})
        public static final class f0 extends dk4 implements gx2<jw7, lm9> {
            final gx2 $state;

            public f0(gx2 gx2Var) {
                super(1);
                this.$state = gx2Var;
            }

            public final void a(jw7 jw7Var) {
                p64.h(jw7Var, "it");
                jw7Var.Q(this.$state);
            }

            public Object invoke(Object obj) {
                a((k95) obj);
                return lm9.a;
            }
        }

        @Metadata(d1 = {"\u0000\u0010\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0005\u001a\u00028\u0001\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0004\u001a\u00020\u0003H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "Landroid/content/Context;", "context", "a", "(Landroid/content/Context;)Lk95;"}, k = 3, mv = {1, 8, 0})
        public static final class g extends dk4 implements gx2<Context, tg9> {
            public g() {
                super(1);
            }

            public final tg9 invoke(Context context) {
                p64.h(context, "context");
                tg9 tg9Var = new tg9(context);
                wx0.I(tg9Var, (kn8) null, (kn8) null, (kn8) null, kn8.g, 7, (Object) null);
                return tg9Var;
            }
        }

        @Metadata(d1 = {"\u0000\u0012\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0005\u001a\u00020\u0004\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0003\u001a\u00028\u0001H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "it", "Llm9;", "a", "(Lk95;)V"}, k = 3, mv = {1, 8, 0})
        public static final class g0 extends dk4 implements gx2<jw7, lm9> {
            public static final g0 g = new g0();

            public g0() {
                super(1);
            }

            public final void a(jw7 jw7Var) {
                p64.h(jw7Var, "it");
                jw7Var.e0();
            }

            public Object invoke(Object obj) {
                a((k95) obj);
                return lm9.a;
            }
        }

        @Metadata(d1 = {"\u0000\u0012\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0005\u001a\u00020\u0004\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0003\u001a\u00028\u0001H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "it", "Llm9;", "a", "(Lk95;)V"}, k = 3, mv = {1, 8, 0})
        public static final class h extends dk4 implements gx2<tg9, lm9> {
            final gx2 $state;

            public h(gx2 gx2Var) {
                super(1);
                this.$state = gx2Var;
            }

            public final void a(tg9 tg9Var) {
                p64.h(tg9Var, "it");
                tg9Var.Q(this.$state);
            }

            public Object invoke(Object obj) {
                a((k95) obj);
                return lm9.a;
            }
        }

        @Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0002\u001a\u00020\u0001*\u00020\u0000H\n¢\u0006\u0004\b\u0002\u0010\u0003"}, d2 = {"Liw7$b;", "Llm9;", "a", "(Liw7$b;)V"}, k = 3, mv = {1, 8, 0})
        static final class h0 extends dk4 implements gx2<b, lm9> {
            final String $title;

            h0(String str) {
                super(1);
                this.$title = str;
            }

            public final void a(b bVar) {
                p64.h(bVar, "$this$newItem");
                bVar.y(nk9.e);
                bVar.v(c20.a1);
                bVar.t(this.$title);
            }

            public Object invoke(Object obj) {
                a((b) obj);
                return lm9.a;
            }
        }

        @Metadata(d1 = {"\u0000\u0012\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0005\u001a\u00020\u0004\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0003\u001a\u00028\u0001H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "it", "Llm9;", "a", "(Lk95;)V"}, k = 3, mv = {1, 8, 0})
        public static final class i extends dk4 implements gx2<tg9, lm9> {
            public static final i g = new i();

            public i() {
                super(1);
            }

            public final void a(tg9 tg9Var) {
                p64.h(tg9Var, "it");
                tg9Var.e0();
            }

            public Object invoke(Object obj) {
                a((k95) obj);
                return lm9.a;
            }
        }

        @Metadata(d1 = {"\u0000\u0010\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0005\u001a\u00028\u0001\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0004\u001a\u00020\u0003H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "Landroid/content/Context;", "context", "a", "(Landroid/content/Context;)Lk95;"}, k = 3, mv = {1, 8, 0})
        public static final class i0 extends dk4 implements gx2<Context, gw7> {
            public i0() {
                super(1);
            }

            public final gw7 invoke(Context context) {
                p64.h(context, "context");
                gw7 gw7Var = new gw7(context);
                kn8 kn8Var = kn8.f;
                kn8 kn8Var2 = kn8.a;
                kn8 kn8Var3 = kn8.i;
                gw7Var.A(kn8Var3, kn8Var2, kn8Var3, kn8Var);
                gw7Var.G(kn8Var, kn8.e);
                gw7Var.w(us7.e(y57.o));
                return gw7Var;
            }
        }

        @Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0002\u001a\u00020\u0001*\u00020\u0000H\n¢\u0006\u0004\b\u0002\u0010\u0003"}, d2 = {"Ltg9$b;", "Llm9;", "a", "(Ltg9$b;)V"}, k = 3, mv = {1, 8, 0})
        static final class j extends dk4 implements gx2<b, lm9> {
            final String $paymentType;
            final c $state;
            final Fragment this$0;

            @Metadata(d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0001\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Llm9;", "a", "()V"}, k = 3, mv = {1, 8, 0})
            static final class a extends dk4 implements ex2<lm9> {
                final Fragment this$0;

                a(Fragment fragment) {
                    super(0);
                    this.this$0 = fragment;
                }

                public final void a() {
                    this.this$0.o0().w4();
                }

                public Object invoke() {
                    a();
                    return lm9.a;
                }
            }

            @Metadata(d1 = {"\u0000\u000e\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0003\u001a\u00020\u00022\u0006\u0010\u0001\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0003\u0010\u0004"}, d2 = {"Landroid/view/View;", "it", "Llm9;", "a", "(Landroid/view/View;)V"}, k = 3, mv = {1, 8, 0})
            static final class b extends dk4 implements gx2<View, lm9> {
                final Fragment this$0;

                b(Fragment fragment) {
                    super(1);
                    this.this$0 = fragment;
                }

                public final void a(View view) {
                    p64.h(view, "it");
                    this.this$0.o0().v4();
                }

                public Object invoke(Object obj) {
                    a((View) obj);
                    return lm9.a;
                }
            }

            j(c cVar, String str, Fragment fragment) {
                super(1);
                this.$state = cVar;
                this.$paymentType = str;
                this.this$0 = fragment;
            }

            public final void a(b bVar) {
                String digitalBankingContinueErrorMessage;
                p64.h(bVar, "$this$newItem");
                xb3 f = this.$state.getPaymentMethodV2().f(this.$paymentType);
                if (f != null) {
                    bVar.l(new pw3(f));
                    bVar.n(WalletDetailScreen.b);
                    bVar.m(ImageView.ScaleType.FIT_CENTER);
                }
                bVar.o(this.$state.getPaymentMethodV2().a(this.$paymentType, this.$state.getPaymentName()));
                bVar.i(new a(this.this$0));
                bVar.k(new b(this.this$0));
                bVar.j(this.$state.isPaymentPending());
                String digitalBankingContinuePaymentUrl = this.$state.getDigitalBankingContinuePaymentUrl();
                bVar.h(((digitalBankingContinuePaymentUrl == null || bu8.y(digitalBankingContinuePaymentUrl)) && ((digitalBankingContinueErrorMessage = this.$state.getDigitalBankingContinueErrorMessage()) == null || bu8.y(digitalBankingContinueErrorMessage))) ? false : true);
            }

            public Object invoke(Object obj) {
                a((b) obj);
                return lm9.a;
            }
        }

        @Metadata(d1 = {"\u0000\u0012\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0005\u001a\u00020\u0004\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0003\u001a\u00028\u0001H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "it", "Llm9;", "a", "(Lk95;)V"}, k = 3, mv = {1, 8, 0})
        public static final class j0 extends dk4 implements gx2<gw7, lm9> {
            final gx2 $state;

            public j0(gx2 gx2Var) {
                super(1);
                this.$state = gx2Var;
            }

            public final void a(gw7 gw7Var) {
                p64.h(gw7Var, "it");
                gw7Var.Q(this.$state);
            }

            public Object invoke(Object obj) {
                a((k95) obj);
                return lm9.a;
            }
        }

        @Metadata(d1 = {"\u0000\u0010\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0005\u001a\u00028\u0001\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0004\u001a\u00020\u0003H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "Landroid/content/Context;", "context", "a", "(Landroid/content/Context;)Lk95;"}, k = 3, mv = {1, 8, 0})
        public static final class k extends dk4 implements gx2<Context, pw7> {
            public k() {
                super(1);
            }

            public final pw7 invoke(Context context) {
                p64.h(context, "context");
                return new pw7(context);
            }
        }

        @Metadata(d1 = {"\u0000\u0012\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0005\u001a\u00020\u0004\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0003\u001a\u00028\u0001H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "it", "Llm9;", "a", "(Lk95;)V"}, k = 3, mv = {1, 8, 0})
        public static final class k0 extends dk4 implements gx2<gw7, lm9> {
            public static final k0 g = new k0();

            public k0() {
                super(1);
            }

            public final void a(gw7 gw7Var) {
                p64.h(gw7Var, "it");
                gw7Var.e0();
            }

            public Object invoke(Object obj) {
                a((k95) obj);
                return lm9.a;
            }
        }

        @Metadata(d1 = {"\u0000\u0012\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0005\u001a\u00020\u0004\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0003\u001a\u00028\u0001H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "it", "Llm9;", "a", "(Lk95;)V"}, k = 3, mv = {1, 8, 0})
        public static final class l extends dk4 implements gx2<pw7, lm9> {
            final gx2 $state;

            public l(gx2 gx2Var) {
                super(1);
                this.$state = gx2Var;
            }

            public final void a(pw7 pw7Var) {
                p64.h(pw7Var, "it");
                pw7Var.Q(this.$state);
            }

            public Object invoke(Object obj) {
                a((k95) obj);
                return lm9.a;
            }
        }

        @Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0002\u001a\u00020\u0001*\u00020\u0000H\n¢\u0006\u0004\b\u0002\u0010\u0003"}, d2 = {"Lgw7$b;", "Llm9;", "a", "(Lgw7$b;)V"}, k = 3, mv = {1, 8, 0})
        static final class l0 extends dk4 implements gx2<b, lm9> {
            final c $state;

            l0(c cVar) {
                super(1);
                this.$state = cVar;
            }

            public final void a(b bVar) {
                p64.h(bVar, "$this$newItem");
                bVar.x(b.f);
                bVar.v(ts7.a(y57.n));
                Date trxExpiredAt = this.$state.getTrxExpiredAt();
                bVar.t(trxExpiredAt != null ? rm1.g().format(trxExpiredAt) : null);
            }

            public Object invoke(Object obj) {
                a((b) obj);
                return lm9.a;
            }
        }

        @Metadata(d1 = {"\u0000\u0012\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0005\u001a\u00020\u0004\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0003\u001a\u00028\u0001H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "it", "Llm9;", "a", "(Lk95;)V"}, k = 3, mv = {1, 8, 0})
        public static final class m extends dk4 implements gx2<pw7, lm9> {
            public static final m g = new m();

            public m() {
                super(1);
            }

            public final void a(pw7 pw7Var) {
                p64.h(pw7Var, "it");
                pw7Var.e0();
            }

            public Object invoke(Object obj) {
                a((k95) obj);
                return lm9.a;
            }
        }

        @Metadata(d1 = {"\u0000\u0010\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0005\u001a\u00028\u0001\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0004\u001a\u00020\u0003H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "Landroid/content/Context;", "context", "a", "(Landroid/content/Context;)Lk95;"}, k = 3, mv = {1, 8, 0})
        public static final class m0 extends dk4 implements gx2<Context, pw7> {
            public m0() {
                super(1);
            }

            public final pw7 invoke(Context context) {
                p64.h(context, "context");
                pw7 pw7Var = new pw7(context);
                wx0.B(pw7Var, (kn8) null, (kn8) null, (kn8) null, kn8.d, 7, (Object) null);
                return pw7Var;
            }
        }

        @Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0002\u001a\u00020\u0001*\u00020\u0000H\n¢\u0006\u0004\b\u0002\u0010\u0003"}, d2 = {"Lpw7$a;", "Llm9;", "a", "(Lpw7$a;)V"}, k = 3, mv = {1, 8, 0})
        static final class n extends dk4 implements gx2<a, lm9> {
            final String $amount;

            @Metadata(d1 = {"\u0000\b\n\u0000\n\u0002\u0010\u000e\n\u0000\u0010\u0000\u001a\u00020\u0001H\n¢\u0006\u0002\b\u0002"}, d2 = {"<anonymous>", "", "invoke"}, k = 3, mv = {1, 8, 0}, xi = 48)
            static final class a extends dk4 implements ex2<String> {
                final Fragment this$0;

                a(Fragment fragment) {
                    super(0);
                    this.this$0 = fragment;
                }

                public final String invoke() {
                    return this.this$0.P0().getString(vc7.d0);
                }
            }

            @Metadata(d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0001\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Landroid/text/SpannableString;", "a", "()Landroid/text/SpannableString;"}, k = 3, mv = {1, 8, 0})
            static final class b extends dk4 implements ex2<SpannableString> {
                final String $amount;

                b(String str) {
                    super(0);
                    this.$amount = str;
                }

                public final SpannableString invoke() {
                    SpannableString spannableString = new SpannableString(this.$amount);
                    spannableString.setSpan(new ForegroundColorSpan(ts7.a(o57.v)), r1.length() - 3, this.$amount.length(), 33);
                    return spannableString;
                }
            }

            @Metadata(d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0001\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Llm9;", "a", "()V"}, k = 3, mv = {1, 8, 0})
            static final class c extends dk4 implements ex2<lm9> {
                final Fragment this$0;

                c(Fragment fragment) {
                    super(0);
                    this.this$0 = fragment;
                }

                public final void a() {
                    a o0 = this.this$0.o0();
                    Context requireContext = this.this$0.requireContext();
                    p64.g(requireContext, "requireContext()");
                    o0.a4(requireContext, ffa.COPY_NOMINAL.getValue());
                }

                public Object invoke() {
                    a();
                    return lm9.a;
                }
            }

            n(String str) {
                super(1);
                this.$amount = str;
            }

            public final void a(a aVar) {
                p64.h(aVar, "$this$newItem");
                aVar.d().g(new a(Fragment.this));
                a b2 = aVar.b();
                b2.l(new b(this.$amount));
                b2.m(ts7.a(o57.s));
                b2.n(ef7.x);
                aVar.h(new c(Fragment.this));
            }

            public Object invoke(Object obj) {
                a((a) obj);
                return lm9.a;
            }
        }

        @Metadata(d1 = {"\u0000\u0012\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0005\u001a\u00020\u0004\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0003\u001a\u00028\u0001H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "it", "Llm9;", "a", "(Lk95;)V"}, k = 3, mv = {1, 8, 0})
        public static final class n0 extends dk4 implements gx2<pw7, lm9> {
            final gx2 $state;

            public n0(gx2 gx2Var) {
                super(1);
                this.$state = gx2Var;
            }

            public final void a(pw7 pw7Var) {
                p64.h(pw7Var, "it");
                pw7Var.Q(this.$state);
            }

            public Object invoke(Object obj) {
                a((k95) obj);
                return lm9.a;
            }
        }

        @Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0002\u001a\u00020\u0001*\u00020\u0000H\n¢\u0006\u0004\b\u0002\u0010\u0003"}, d2 = {"Lgw7$b;", "Llm9;", "a", "(Lgw7$b;)V"}, k = 3, mv = {1, 8, 0})
        static final class o extends dk4 implements gx2<b, lm9> {
            final String $paymentInstruction;

            o(String str) {
                super(1);
                this.$paymentInstruction = str;
            }

            public final void a(b bVar) {
                p64.h(bVar, "$this$newItem");
                bVar.y(nk9.e);
                bVar.v(ts7.a(y57.n));
                bVar.t(this.$paymentInstruction);
            }

            public Object invoke(Object obj) {
                a((b) obj);
                return lm9.a;
            }
        }

        @Metadata(d1 = {"\u0000\u0012\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0005\u001a\u00020\u0004\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0003\u001a\u00028\u0001H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "it", "Llm9;", "a", "(Lk95;)V"}, k = 3, mv = {1, 8, 0})
        public static final class o0 extends dk4 implements gx2<pw7, lm9> {
            public static final o0 g = new o0();

            public o0() {
                super(1);
            }

            public final void a(pw7 pw7Var) {
                p64.h(pw7Var, "it");
                pw7Var.e0();
            }

            public Object invoke(Object obj) {
                a((k95) obj);
                return lm9.a;
            }
        }

        @Metadata(d1 = {"\u0000\u0010\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0005\u001a\u00028\u0001\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0004\u001a\u00020\u0003H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "Landroid/content/Context;", "context", "a", "(Landroid/content/Context;)Lk95;"}, k = 3, mv = {1, 8, 0})
        public static final class p extends dk4 implements gx2<Context, gw7> {
            public p() {
                super(1);
            }

            public final gw7 invoke(Context context) {
                p64.h(context, "context");
                gw7 gw7Var = new gw7(context);
                gw7Var.G(kn8.g, kn8.f);
                gw7Var.w(us7.e(y57.o));
                return gw7Var;
            }
        }

        @Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0002\u001a\u00020\u0001*\u00020\u0000H\n¢\u0006\u0004\b\u0002\u0010\u0003"}, d2 = {"Lpw7$a;", "Llm9;", "a", "(Lpw7$a;)V"}, k = 3, mv = {1, 8, 0})
        static final class p0 extends dk4 implements gx2<a, lm9> {
            final String $bankName;
            final c $state;

            @Metadata(d1 = {"\u0000\b\n\u0000\n\u0002\u0010\u000e\n\u0000\u0010\u0000\u001a\u00020\u0001H\n¢\u0006\u0002\b\u0002"}, d2 = {"<anonymous>", "", "invoke"}, k = 3, mv = {1, 8, 0}, xi = 48)
            static final class a extends dk4 implements ex2<String> {
                final String $bankName;
                final Fragment this$0;

                a(Fragment fragment, String str) {
                    super(0);
                    this.this$0 = fragment;
                    this.$bankName = str;
                }

                public final String invoke() {
                    return this.this$0.getString(vc7.yn, new Object[]{this.$bankName});
                }
            }

            @Metadata(d1 = {"\u0000\b\n\u0000\n\u0002\u0010\u000e\n\u0000\u0010\u0000\u001a\u0004\u0018\u00010\u0001H\n¢\u0006\u0002\b\u0002"}, d2 = {"<anonymous>", "", "invoke"}, k = 3, mv = {1, 8, 0}, xi = 48)
            static final class b extends dk4 implements ex2<String> {
                final c $state;

                b(c cVar) {
                    super(0);
                    this.$state = cVar;
                }

                public final String invoke() {
                    return this.$state.getVaNumber();
                }
            }

            @Metadata(d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0001\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Llm9;", "a", "()V"}, k = 3, mv = {1, 8, 0})
            static final class c extends dk4 implements ex2<lm9> {
                final Fragment this$0;

                c(Fragment fragment) {
                    super(0);
                    this.this$0 = fragment;
                }

                public final void a() {
                    a o0 = this.this$0.o0();
                    Context requireContext = this.this$0.requireContext();
                    p64.g(requireContext, "requireContext()");
                    o0.a4(requireContext, ffa.COPY_VIRTUAL_ACCOUNT.getValue());
                }

                public Object invoke() {
                    a();
                    return lm9.a;
                }
            }

            p0(String str, c cVar) {
                super(1);
                this.$bankName = str;
                this.$state = cVar;
            }

            public final void a(a aVar) {
                p64.h(aVar, "$this$newItem");
                aVar.d().g(new a(Fragment.this, this.$bankName));
                a b2 = aVar.b();
                b2.l(new b(this.$state));
                b2.m(ts7.a(o57.s));
                b2.n(ef7.G);
                b2.i(ef7.w);
                aVar.h(new c(Fragment.this));
            }

            public Object invoke(Object obj) {
                a((a) obj);
                return lm9.a;
            }
        }

        @Metadata(d1 = {"\u0000\u0012\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0005\u001a\u00020\u0004\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0003\u001a\u00028\u0001H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "it", "Llm9;", "a", "(Lk95;)V"}, k = 3, mv = {1, 8, 0})
        public static final class q extends dk4 implements gx2<gw7, lm9> {
            final gx2 $state;

            public q(gx2 gx2Var) {
                super(1);
                this.$state = gx2Var;
            }

            public final void a(gw7 gw7Var) {
                p64.h(gw7Var, "it");
                gw7Var.Q(this.$state);
            }

            public Object invoke(Object obj) {
                a((k95) obj);
                return lm9.a;
            }
        }

        @Metadata(d1 = {"\u0000\u0010\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0005\u001a\u00028\u0001\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0004\u001a\u00020\u0003H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "Landroid/content/Context;", "context", "a", "(Landroid/content/Context;)Lk95;"}, k = 3, mv = {1, 8, 0})
        public static final class q0 extends dk4 implements gx2<Context, x29> {
            public q0() {
                super(1);
            }

            public final x29 invoke(Context context) {
                p64.h(context, "context");
                x29 x29Var = new x29(context);
                x29Var.z(kn8.g, kn8.a);
                x29Var.w(ts7.c(o57.w));
                return x29Var;
            }
        }

        @Metadata(d1 = {"\u0000\u0012\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0005\u001a\u00020\u0004\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0003\u001a\u00028\u0001H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "it", "Llm9;", "a", "(Lk95;)V"}, k = 3, mv = {1, 8, 0})
        public static final class r extends dk4 implements gx2<gw7, lm9> {
            public static final r g = new r();

            public r() {
                super(1);
            }

            public final void a(gw7 gw7Var) {
                p64.h(gw7Var, "it");
                gw7Var.e0();
            }

            public Object invoke(Object obj) {
                a((k95) obj);
                return lm9.a;
            }
        }

        @Metadata(d1 = {"\u0000\u0012\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0005\u001a\u00020\u0004\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0003\u001a\u00028\u0001H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "it", "Llm9;", "a", "(Lk95;)V"}, k = 3, mv = {1, 8, 0})
        public static final class r0 extends dk4 implements gx2<x29, lm9> {
            final gx2 $state;

            public r0(gx2 gx2Var) {
                super(1);
                this.$state = gx2Var;
            }

            public final void a(x29 x29Var) {
                p64.h(x29Var, "it");
                x29Var.Q(this.$state);
            }

            public Object invoke(Object obj) {
                a((k95) obj);
                return lm9.a;
            }
        }

        @Metadata(d1 = {"\u0000\u0010\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0005\u001a\u00028\u0001\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0004\u001a\u00020\u0003H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "Landroid/content/Context;", "context", "a", "(Landroid/content/Context;)Lk95;"}, k = 3, mv = {1, 8, 0})
        public static final class s extends dk4 implements gx2<Context, gw7> {
            public s() {
                super(1);
            }

            public final gw7 invoke(Context context) {
                p64.h(context, "context");
                gw7 gw7Var = new gw7(context);
                kn8 kn8Var = kn8.e;
                kn8 kn8Var2 = kn8.i;
                gw7Var.H(kn8Var2, kn8Var, kn8Var2, kn8.d);
                return gw7Var;
            }
        }

        @Metadata(d1 = {"\u0000\u0012\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0005\u001a\u00020\u0004\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0003\u001a\u00028\u0001H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "it", "Llm9;", "a", "(Lk95;)V"}, k = 3, mv = {1, 8, 0})
        public static final class s0 extends dk4 implements gx2<x29, lm9> {
            public static final s0 g = new s0();

            public s0() {
                super(1);
            }

            public final void a(x29 x29Var) {
                p64.h(x29Var, "it");
                x29Var.e0();
            }

            public Object invoke(Object obj) {
                a((k95) obj);
                return lm9.a;
            }
        }

        @Metadata(d1 = {"\u0000\u0012\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0005\u001a\u00020\u0004\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0003\u001a\u00028\u0001H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "it", "Llm9;", "a", "(Lk95;)V"}, k = 3, mv = {1, 8, 0})
        public static final class t extends dk4 implements gx2<gw7, lm9> {
            final gx2 $state;

            public t(gx2 gx2Var) {
                super(1);
                this.$state = gx2Var;
            }

            public final void a(gw7 gw7Var) {
                p64.h(gw7Var, "it");
                gw7Var.Q(this.$state);
            }

            public Object invoke(Object obj) {
                a((k95) obj);
                return lm9.a;
            }
        }

        @Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0002\u001a\u00020\u0001*\u00020\u0000H\n¢\u0006\u0004\b\u0002\u0010\u0003"}, d2 = {"Lu29$c;", "Llm9;", "a", "(Lu29$c;)V"}, k = 3, mv = {1, 8, 0})
        static final class t0 extends dk4 implements gx2<c, lm9> {
            final String[] $terms;

            t0(String[] strArr) {
                super(1);
                this.$terms = strArr;
            }

            public final void a(c cVar) {
                p64.h(cVar, "$this$newItem");
                cVar.h(b.a);
                String[] strArr = this.$terms;
                ArrayList arrayList = new ArrayList(strArr.length);
                for (String str : strArr) {
                    arrayList.add(new c46(kt8.b(str), (Object) null));
                }
                cVar.k(arrayList);
            }

            public Object invoke(Object obj) {
                a((c) obj);
                return lm9.a;
            }
        }

        @Metadata(d1 = {"\u0000\u0012\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0005\u001a\u00020\u0004\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0003\u001a\u00028\u0001H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "it", "Llm9;", "a", "(Lk95;)V"}, k = 3, mv = {1, 8, 0})
        public static final class u extends dk4 implements gx2<gw7, lm9> {
            public static final u g = new u();

            public u() {
                super(1);
            }

            public final void a(gw7 gw7Var) {
                p64.h(gw7Var, "it");
                gw7Var.e0();
            }

            public Object invoke(Object obj) {
                a((k95) obj);
                return lm9.a;
            }
        }

        @Metadata(d1 = {"\u0000\u0010\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0005\u001a\u00028\u0001\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0004\u001a\u00020\u0003H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "Landroid/content/Context;", "context", "a", "(Landroid/content/Context;)Lk95;"}, k = 3, mv = {1, 8, 0})
        public static final class u0 extends dk4 implements gx2<Context, t3> {
            public u0() {
                super(1);
            }

            public final t3 invoke(Context context) {
                p64.h(context, "context");
                t3 t3Var = new t3(context);
                kn8 kn8Var = kn8.i;
                t3Var.A(kn8Var, kn8.f, kn8Var, kn8.a);
                GradientDrawable gradientDrawable = new GradientDrawable();
                gradientDrawable.setCornerRadius(q41.b);
                gradientDrawable.setStroke(ys7.b(1), c20.X0);
                t3Var.w(gradientDrawable);
                return t3Var;
            }
        }

        @Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0002\u001a\u00020\u0001*\u00020\u0000H\n¢\u0006\u0004\b\u0002\u0010\u0003"}, d2 = {"Lgw7$b;", "Llm9;", "a", "(Lgw7$b;)V"}, k = 3, mv = {1, 8, 0})
        static final class v extends dk4 implements gx2<b, lm9> {
            final String $term;

            v(String str) {
                super(1);
                this.$term = str;
            }

            public final void a(b bVar) {
                p64.h(bVar, "$this$newItem");
                bVar.y(nk9.h);
                bVar.v(c20.e1);
                bVar.t(this.$term);
            }

            public Object invoke(Object obj) {
                a((b) obj);
                return lm9.a;
            }
        }

        @Metadata(d1 = {"\u0000\u0012\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0005\u001a\u00020\u0004\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0003\u001a\u00028\u0001H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "it", "Llm9;", "a", "(Lk95;)V"}, k = 3, mv = {1, 8, 0})
        public static final class v0 extends dk4 implements gx2<t3, lm9> {
            final gx2 $state;

            public v0(gx2 gx2Var) {
                super(1);
                this.$state = gx2Var;
            }

            public final void a(t3 t3Var) {
                p64.h(t3Var, "it");
                t3Var.Q(this.$state);
            }

            public Object invoke(Object obj) {
                a((k95) obj);
                return lm9.a;
            }
        }

        @Metadata(d1 = {"\u0000\u0010\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0005\u001a\u00028\u0001\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0004\u001a\u00020\u0003H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "Landroid/content/Context;", "context", "a", "(Landroid/content/Context;)Lk95;"}, k = 3, mv = {1, 8, 0})
        public static final class w extends dk4 implements gx2<Context, uv3> {
            public w() {
                super(1);
            }

            public final uv3 invoke(Context context) {
                p64.h(context, "context");
                uv3 uv3Var = new uv3(context);
                wx0.I(uv3Var, (kn8) null, kn8.a, (kn8) null, kn8.f, 5, (Object) null);
                return uv3Var;
            }
        }

        @Metadata(d1 = {"\u0000\u0012\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0005\u001a\u00020\u0004\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0003\u001a\u00028\u0001H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "it", "Llm9;", "a", "(Lk95;)V"}, k = 3, mv = {1, 8, 0})
        public static final class w0 extends dk4 implements gx2<t3, lm9> {
            public static final w0 g = new w0();

            public w0() {
                super(1);
            }

            public final void a(t3 t3Var) {
                p64.h(t3Var, "it");
                t3Var.e0();
            }

            public Object invoke(Object obj) {
                a((k95) obj);
                return lm9.a;
            }
        }

        @Metadata(d1 = {"\u0000\u0012\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0005\u001a\u00020\u0004\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0003\u001a\u00028\u0001H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "it", "Llm9;", "a", "(Lk95;)V"}, k = 3, mv = {1, 8, 0})
        public static final class x extends dk4 implements gx2<uv3, lm9> {
            final gx2 $state;

            public x(gx2 gx2Var) {
                super(1);
                this.$state = gx2Var;
            }

            public final void a(uv3 uv3Var) {
                p64.h(uv3Var, "it");
                uv3Var.Q(this.$state);
            }

            public Object invoke(Object obj) {
                a((k95) obj);
                return lm9.a;
            }
        }

        @Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0002\u001a\u00020\u0001*\u00020\u0000H\n¢\u0006\u0004\b\u0002\u0010\u0003"}, d2 = {"Lt3$c;", "Llm9;", "a", "(Lt3$c;)V"}, k = 3, mv = {1, 8, 0})
        static final class x0 extends dk4 implements gx2<c, lm9> {
            final boolean $isExpand;
            final ex2<lm9> $onClick;
            final c46<String, String[]> $paymentTerm;
            final Fragment this$0;

            @Metadata(d1 = {"\u0000\u000e\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0003\u001a\u00020\u00022\u0006\u0010\u0001\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0003\u0010\u0004"}, d2 = {"", "it", "Landroidx/recyclerview/widget/RecyclerView;", "a", "(Z)Landroidx/recyclerview/widget/RecyclerView;"}, k = 3, mv = {1, 8, 0})
            static final class a extends dk4 implements gx2<Boolean, RecyclerView> {
                final ex2<lm9> $onClick;
                final Fragment this$0;

                a(ex2<lm9> ex2Var, Fragment fragment) {
                    super(1);
                    this.$onClick = ex2Var;
                    this.this$0 = fragment;
                }

                public final RecyclerView a(boolean z) {
                    this.$onClick.invoke();
                    return this.this$0.C1();
                }

                public Object invoke(Object obj) {
                    return a(((Boolean) obj).booleanValue());
                }
            }

            x0(c46<String, String[]> c46Var, boolean z, Fragment fragment, ex2<lm9> ex2Var) {
                super(1);
                this.$paymentTerm = c46Var;
                this.$isExpand = z;
                this.this$0 = fragment;
                this.$onClick = ex2Var;
            }

            public final void a(c cVar) {
                p64.h(cVar, "$this$newItem");
                cVar.w((String) this.$paymentTerm.e());
                cVar.n(new a(this.$onClick, this.this$0));
                cVar.x(2);
                cVar.r(this.$isExpand);
                cVar.v(this.this$0.g2((String[]) this.$paymentTerm.f()));
            }

            public Object invoke(Object obj) {
                a((c) obj);
                return lm9.a;
            }
        }

        @Metadata(d1 = {"\u0000\u0012\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0005\u001a\u00020\u0004\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0003\u001a\u00028\u0001H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "it", "Llm9;", "a", "(Lk95;)V"}, k = 3, mv = {1, 8, 0})
        public static final class y extends dk4 implements gx2<uv3, lm9> {
            public static final y g = new y();

            public y() {
                super(1);
            }

            public final void a(uv3 uv3Var) {
                p64.h(uv3Var, "it");
                uv3Var.e0();
            }

            public Object invoke(Object obj) {
                a((k95) obj);
                return lm9.a;
            }
        }

        @Metadata(d1 = {"\u0000\u000e\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0003\u001a\u00020\u00022\u0006\u0010\u0001\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0003\u0010\u0004"}, d2 = {"Landroid/view/View;", "it", "Llm9;", "a", "(Landroid/view/View;)V"}, k = 3, mv = {1, 8, 0})
        static final class y0 extends dk4 implements gx2<View, lm9> {
            y0() {
                super(1);
            }

            public final void a(View view) {
                p64.h(view, "it");
                a o0 = Fragment.this.o0();
                Context requireContext = Fragment.this.requireContext();
                p64.g(requireContext, "requireContext()");
                o0.a4(requireContext, ffa.SEE_REKENING.getValue());
                Fragment.this.o0().x4();
            }

            public Object invoke(Object obj) {
                a((View) obj);
                return lm9.a;
            }
        }

        @Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0002\u001a\u00020\u0001*\u00020\u0000H\n¢\u0006\u0004\b\u0002\u0010\u0003"}, d2 = {"Luv3$b;", "Llm9;", "a", "(Luv3$b;)V"}, k = 3, mv = {1, 8, 0})
        static final class z extends dk4 implements gx2<b, lm9> {
            final c $state;

            z(c cVar) {
                super(1);
                this.$state = cVar;
            }

            public final void a(b bVar) {
                p64.h(bVar, "$this$newItem");
                bVar.e(Fragment.this.o0().t4(Fragment.this.P0()));
                xb3 paymentIcon = this.$state.getPaymentIcon();
                bVar.c(paymentIcon != null ? new pw3(paymentIcon) : null);
            }

            public Object invoke(Object obj) {
                a((b) obj);
                return lm9.a;
            }
        }

        @Metadata(d1 = {"\u0000\u001d\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002*\u0001\u0000\b\n\u0018\u00002\u00020\u0001J\u0018\u0010\u0007\u001a\u00020\u00062\u0006\u0010\u0003\u001a\u00020\u00022\u0006\u0010\u0005\u001a\u00020\u0004H\u0016¨\u0006\b"}, d2 = {"com/bukalapak/mitra/transaction/WalletDetailScreen$Fragment$z0", "Landroidx/recyclerview/widget/RecyclerView$u;", "Landroidx/recyclerview/widget/RecyclerView;", "recyclerView", "", "newState", "Llm9;", "onScrollStateChanged", "base_app_release"}, k = 1, mv = {1, 8, 0})
        public static final class z0 extends RecyclerView.u {
            z0() {
            }

            public void onScrollStateChanged(RecyclerView recyclerView, int i) {
                View k2;
                p64.h(recyclerView, "recyclerView");
                super.onScrollStateChanged(recyclerView, i);
                if (i == 0 && (k2 = Fragment.this.k2(1221L)) != null && Fragment.this.n2(k2)) {
                    a o0 = Fragment.this.o0();
                    Context requireContext = Fragment.this.requireContext();
                    p64.g(requireContext, "requireContext()");
                    o0.y4(requireContext);
                }
            }
        }

        public final RecyclerView C1() {
            RecyclerView recyclerView = i2().c;
            p64.g(recyclerView, "binding.layoutContent");
            return recyclerView;
        }

        private final void T1(long j2) {
            int b2 = w1().b();
            int J = w1().J(j2);
            if (b2 <= J + 1 || J <= -1) {
                return;
            }
            w1().r0(J, b2 - J);
        }

        private final List<t0<?, ?>> U1(c state) {
            String o2 = t95.a.o(state.getTotalAmount());
            int b2 = ys7.b(4);
            a aVar = on8.a;
            String string = P0().getString(vc7.Sh);
            p64.g(string, "ctx.getString(R.string.shopping_detail_title)");
            String string2 = P0().getString(vc7.Ld);
            p64.g(string2, "ctx.getString(R.string.payment_expired_title)");
            List n2 = iu0.n(new t0[]{Y1(), aVar.c(b2), BasicTransactionDetailScreen$Fragment.t1(this, state, null, 2, null), aVar.c(b2), BasicTransactionDetailScreen$Fragment.k1(this, 0, 0, 3, null), BasicTransactionDetailScreen$Fragment.m1(this, string, null, 108, null, 10, null), BasicTransactionDetailScreen$Fragment.v1(this, state, null, null, null, 14, null), q1(), d2(string2, 101), e2(state), q1()});
            if (state.isTransferTransaction() && state.isPaymentPending()) {
                String string3 = P0().getString(je7.z0);
                p64.g(string3, "ctx.getString(RResource.…res_payment_method_title)");
                n2.addAll(iu0.k(new t0[]{X1(state), c2(), q1(), d2(string3, 102), V1(state)}));
            } else {
                String string4 = P0().getString(vc7.d0);
                p64.g(string4, "ctx.getString(R.string.amount)");
                String string5 = P0().getString(je7.z0);
                p64.g(string5, "ctx.getString(RResource.…res_payment_method_title)");
                n2.addAll(iu0.k(new t0[]{BasicTransactionDetailScreen$Fragment.o1(this, string4, o2, null, 4, null), q1(), d2(string5, 102)}));
                n2.add(!p64.c(state.getPaymentType(), "digital_banking_saving_account") ? b2(state) : W1(state));
            }
            return iu0.a0(n2);
        }

        private final t0<?, ?> V1(c state) {
            SpannableString j2 = j2();
            a aVar = k95.h;
            return new q95(m49.class.hashCode(), new c()).H(new d(new f(state, this, j2))).M(e.g);
        }

        private final t0<?, ?> W1(c state) {
            String paymentType = state.getPaymentType();
            a aVar = k95.h;
            return new q95(tg9.class.hashCode(), new g()).H(new h(new j(state, paymentType, this))).M(i.g);
        }

        private final t0<?, ?> X1(c state) {
            String o2 = t95.a.o(state.getTotalAmount());
            a aVar = k95.h;
            return new q95(pw7.class.hashCode(), new k()).H(new l(new n(o2))).M(m.g);
        }

        private final t0<?, ?> Y1() {
            String s4 = o0().s4(P0());
            if (s4 == null) {
                return null;
            }
            a aVar = k95.h;
            return new q95(106, new p()).H(new q(new o(s4))).M(r.g);
        }

        private final List<t0<?, ?>> Z1() {
            ArrayList arrayList = new ArrayList();
            c46<String, String[]> u4 = o0().u4(P0());
            Object[] objArr = (Object[]) u4.f();
            ArrayList arrayList2 = new ArrayList(objArr.length);
            for (Object obj : objArr) {
                arrayList2.add(Boolean.valueOf(arrayList.add(new c46(kt8.b(kt8.n((String) obj)), (Object) null))));
            }
            return iu0.k(new t0[]{a2((String) u4.e()), p1(arrayList)});
        }

        private final t0<?, ?> a2(String term) {
            a aVar = k95.h;
            return new q95(103, new s()).H(new t(new v(term))).M(u.g);
        }

        private final t0<?, ?> b2(c state) {
            a aVar = k95.h;
            return new q95(uv3.class.hashCode(), new w()).H(new x(new z(state))).M(y.g);
        }

        private final t0<?, ?> c2() {
            a aVar = k95.h;
            return new q95(105, new a0()).H(new b0(new d0())).M(c0.g);
        }

        private final t0<?, ?> d2(String title, int itemType) {
            a aVar = k95.h;
            return new q95(itemType, new e0()).H(new f0(new h0(title))).M(g0.g);
        }

        private final t0<?, ?> e2(c state) {
            a aVar = k95.h;
            return new q95(104, new i0()).H(new j0(new l0(state))).M(k0.g);
        }

        private final t0<?, ?> f2(c state) {
            a o02 = o0();
            String vaBank = state.getVaBank();
            if (vaBank == null) {
                vaBank = "";
            }
            String r4 = o02.r4(vaBank);
            a aVar = k95.h;
            return new q95(pw7.class.hashCode(), new m0()).H(new n0(new p0(r4, state))).M(o0.g);
        }

        public final List<t0<?, ?>> g2(String[] terms) {
            a aVar = k95.h;
            return iu0.e(new q95(x29.class.hashCode(), new q0()).H(new r0(new t0(terms))).M(s0.g));
        }

        private final t0<?, ?> h2(c46<String, String[]> c46Var, boolean z2, ex2<lm9> ex2Var) {
            a aVar = k95.h;
            return new q95(t3.class.hashCode(), new u0()).H(new v0(new x0(c46Var, z2, this, ex2Var))).M(w0.g);
        }

        private final vv2 i2() {
            return this.binding.c(this, I[0]);
        }

        private final SpannableString j2() {
            a aVar = ew7.k;
            String string = P0().getString(vc7.Yg);
            p64.g(string, "ctx.getString(R.string.see_bank_account)");
            String string2 = P0().getString(vc7.Yg);
            p64.g(string2, "ctx.getString(R.string.see_bank_account)");
            return a.d(aVar, string, string2, (d) null, new y0(), 4, (Object) null);
        }

        public final View k2(long identifier) {
            try {
                return C1().c0(identifier).itemView;
            } catch (Exception unused) {
                return null;
            }
        }

        public final boolean n2(View view) {
            return view.getLocalVisibleRect(this.rect) && this.rect.height() >= view.getHeight();
        }

        public static final void p2(Fragment fragment, c cVar, View view) {
            p64.h(fragment, "this$0");
            p64.h(cVar, "$state");
            com.bukalapak.mitra.lib.ui.view.a reloadableView = fragment.getReloadableView();
            if (reloadableView != null) {
                reloadableView.g();
            }
            if (cVar.getFetchTopupVaTrx().f()) {
                fragment.o0().q4();
            }
        }

        public final void q2() {
            w1().l0(iu0.k(new t0[]{BasicTransactionDetailScreen$Fragment.k1(this, 0, 0, 3, null), X0(P0())}));
        }

        public final void s2(c cVar) {
            List<c46<String, String[]>> c2;
            T1(1000L);
            zh2<t0<?, ?>> w1 = w1();
            yt3 k1 = BasicTransactionDetailScreen$Fragment.k1(this, 0, 0, 3, null);
            k1.x(1000L);
            lm9 lm9Var = lm9.a;
            String string = P0().getString(vc7.Ga);
            p64.g(string, "ctx.getString(R.string.how_to_pay)");
            w1.m0(new t0[]{k1, BasicTransactionDetailScreen$Fragment.m1(this, string, null, 107, null, 10, null)});
            if (cVar.isVirtualAccountTransaction()) {
                String vaBank = cVar.getVaBank();
                if (vaBank != null && (c2 = kw9.a.c(vaBank, true)) != null) {
                    for (c46<String, String[]> c46Var : c2) {
                        boolean c3 = p64.c(c46Var.e(), cVar.getExpandedPaymentMethod());
                        w1().k0(h2(c46Var, c3, new a1(vaBank, c46Var, cVar, c3)));
                    }
                }
            } else {
                w1().l0(Z1());
            }
            w1().k0(on8.a.c(kn8.i.c()));
        }

        public a s0(c state) {
            p64.h(state, "state");
            return new a(state, null, null, null, null, null, null, 126, null);
        }

        public c t0() {
            return new c();
        }

        public void w0(final c cVar) {
            p64.h(cVar, "state");
            View.OnClickListener onClickListener = new View.OnClickListener() {
                @Override
                public final void onClick(View view) {
                    WalletDetailScreen.Fragment.p2(WalletDetailScreen.Fragment.this, cVar, view);
                }
            };
            if (cVar.isLoading()) {
                com.bukalapak.mitra.lib.ui.view.a reloadableView = getReloadableView();
                if (reloadableView != null) {
                    reloadableView.g();
                    return;
                }
                return;
            }
            if (cVar.isErrorNetwork()) {
                com.bukalapak.mitra.lib.ui.view.a reloadableView2 = getReloadableView();
                if (reloadableView2 != null) {
                    reloadableView2.b(onClickListener);
                    return;
                }
                return;
            }
            if (!cVar.isErrorServer()) {
                r2(cVar);
                com.bukalapak.mitra.lib.ui.view.a reloadableView3 = getReloadableView();
                if (reloadableView3 != null) {
                    reloadableView3.c();
                    return;
                }
                return;
            }
            com.bukalapak.mitra.lib.ui.view.a reloadableView4 = getReloadableView();
            if (reloadableView4 != null) {
                String errorMessage = cVar.getErrorMessage();
                if (errorMessage == null) {
                    errorMessage = "";
                }
                reloadableView4.h(errorMessage, onClickListener);
            }
        }

        @Override
        public void onAttach(Context context) {
            p64.h(context, "context");
            super.onAttach(context);
            o0().N3((q00) jb2.b(this, q00.class));
        }

        @Override
        public void onViewCreated(View view, Bundle bundle) {
            p64.h(view, "view");
            super.onViewCreated(view, bundle);
            C1().m(this.onScrollListener);
        }

        public final void r2(c cVar) {
            p64.h(cVar, "state");
            w1().t0(U1(cVar));
            if (cVar.isVirtualAccountTransaction()) {
                w1().m0(new t0[]{q1(), f2(cVar)});
            }
            Topup topupTrx = cVar.getTopupTrx();
            if (!p64.c(topupTrx != null ? topupTrx.e() : null, "transfer")) {
                s2(cVar);
            }
            q2();
        }
    }

    @Metadata(d1 = {"\u0000t\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\t\n\u0002\b\u0004\n\u0002\u0010\u000e\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\f\n\u0002\u0010\b\n\u0002\b\u0007\n\u0002\u0018\u0002\n\u0002\b\u000b\n\u0002\u0018\u0002\n\u0002\b\u000f\n\u0002\u0018\u0002\n\u0002\b\r\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\t\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010\u000b\n\u0002\b\r\u0018\u00002\u00020\u00012\u00020\u0002B\u0007¢\u0006\u0004\bv\u0010wR\u001a\u0010\u0004\u001a\u00020\u00038\u0016X\u0096D¢\u0006\f\n\u0004\b\u0004\u0010\u0005\u001a\u0004\b\u0006\u0010\u0007R$\u0010\t\u001a\u0004\u0018\u00010\b8\u0016@\u0016X\u0096\u000e¢\u0006\u0012\n\u0004\b\t\u0010\n\u001a\u0004\b\u000b\u0010\f\"\u0004\b\r\u0010\u000eR$\u0010\u0010\u001a\u0004\u0018\u00010\u000f8\u0006@\u0006X\u0087\u000e¢\u0006\u0012\n\u0004\b\u0010\u0010\u0011\u001a\u0004\b\u0012\u0010\u0013\"\u0004\b\u0014\u0010\u0015R(\u0010\u0018\u001a\b\u0012\u0004\u0012\u00020\u00170\u00168\u0006@\u0006X\u0087\u000e¢\u0006\u0012\n\u0004\b\u0018\u0010\u0019\u001a\u0004\b\u001a\u0010\u001b\"\u0004\b\u001c\u0010\u001dR$\u0010\u001e\u001a\u0004\u0018\u00010\u00178\u0006@\u0006X\u0087\u000e¢\u0006\u0012\n\u0004\b\u001e\u0010\u001f\u001a\u0004\b \u0010!\"\u0004\b\"\u0010#R\u001a\u0010%\u001a\u00020$8\u0016X\u0096D¢\u0006\f\n\u0004\b%\u0010&\u001a\u0004\b'\u0010(R$\u0010)\u001a\u0004\u0018\u00010\b8\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b)\u0010\n\u001a\u0004\b*\u0010\f\"\u0004\b+\u0010\u000eR\u001b\u00101\u001a\u00020,8FX\u0086\u0084\u0002¢\u0006\f\n\u0004\b-\u0010.\u001a\u0004\b/\u00100R$\u00102\u001a\u0004\u0018\u00010\b8\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b2\u0010\n\u001a\u0004\b3\u0010\f\"\u0004\b4\u0010\u000eR$\u00105\u001a\u0004\u0018\u00010\b8\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b5\u0010\n\u001a\u0004\b6\u0010\f\"\u0004\b7\u0010\u000eR\u001a\u00109\u001a\u0002088\u0016X\u0096\u0004¢\u0006\f\n\u0004\b9\u0010:\u001a\u0004\b;\u0010<R\u001a\u0010=\u001a\u00020\b8\u0016X\u0096\u0004¢\u0006\f\n\u0004\b=\u0010\n\u001a\u0004\b>\u0010\fR$\u0010?\u001a\u0004\u0018\u00010\b8\u0016@\u0016X\u0097\u000e¢\u0006\u0012\n\u0004\b?\u0010\n\u001a\u0004\b@\u0010\f\"\u0004\bA\u0010\u000eR$\u0010B\u001a\u0004\u0018\u00010\b8\u0016@\u0016X\u0097\u000e¢\u0006\u0012\n\u0004\bB\u0010\n\u001a\u0004\bC\u0010\f\"\u0004\bD\u0010\u000eR$\u0010E\u001a\u0004\u0018\u00010\b8\u0016@\u0016X\u0097\u000e¢\u0006\u0012\n\u0004\bE\u0010\n\u001a\u0004\bF\u0010\f\"\u0004\bG\u0010\u000eR\u0016\u0010K\u001a\u0004\u0018\u00010H8BX\u0082\u0004¢\u0006\u0006\u001a\u0004\bI\u0010JR\u0014\u0010M\u001a\u00020\u00038VX\u0096\u0004¢\u0006\u0006\u001a\u0004\bL\u0010\u0007R\u0014\u0010O\u001a\u00020\b8VX\u0096\u0004¢\u0006\u0006\u001a\u0004\bN\u0010\fR\u0013\u0010Q\u001a\u0004\u0018\u00010\b8F¢\u0006\u0006\u001a\u0004\bP\u0010\fR\u0013\u0010S\u001a\u0004\u0018\u00010\b8F¢\u0006\u0006\u001a\u0004\bR\u0010\fR\u0016\u0010U\u001a\u0004\u0018\u00010\b8VX\u0096\u0004¢\u0006\u0006\u001a\u0004\bT\u0010\fR\u0016\u0010Y\u001a\u0004\u0018\u00010V8VX\u0096\u0004¢\u0006\u0006\u001a\u0004\bW\u0010XR\"\u0010^\u001a\u0010\u0012\u0004\u0012\u00020[\u0012\u0006\u0012\u0004\u0018\u00010\b0Z8VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\\\u0010]R\u0014\u0010`\u001a\u00020$8VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b_\u0010(R\u0016\u0010b\u001a\u0004\u0018\u00010\b8VX\u0096\u0004¢\u0006\u0006\u001a\u0004\ba\u0010\fR\u0013\u0010d\u001a\u0004\u0018\u00010\b8F¢\u0006\u0006\u001a\u0004\bc\u0010\fR\u0013\u0010h\u001a\u0004\u0018\u00010e8F¢\u0006\u0006\u001a\u0004\bf\u0010gR\u0013\u0010j\u001a\u0004\u0018\u00010V8F¢\u0006\u0006\u001a\u0004\bi\u0010XR\u0011\u0010l\u001a\u00020k8F¢\u0006\u0006\u001a\u0004\bl\u0010mR\u0011\u0010n\u001a\u00020k8F¢\u0006\u0006\u001a\u0004\bn\u0010mR\u0011\u0010o\u001a\u00020k8F¢\u0006\u0006\u001a\u0004\bo\u0010mR\u0013\u0010q\u001a\u0004\u0018\u00010\b8F¢\u0006\u0006\u001a\u0004\bp\u0010\fR\u0011\u0010r\u001a\u00020k8F¢\u0006\u0006\u001a\u0004\br\u0010mR\u0011\u0010s\u001a\u00020k8F¢\u0006\u0006\u001a\u0004\bs\u0010mR\u0011\u0010t\u001a\u00020k8F¢\u0006\u0006\u001a\u0004\bt\u0010mR\u0011\u0010u\u001a\u00020k8F¢\u0006\u0006\u001a\u0004\bu\u0010m¨\u0006x"}, d2 = {"Lcom/bukalapak/mitra/transaction/WalletDetailScreen$c;", "Lr00;", "Lzb9;", "", "voucherAmount", "J", "getVoucherAmount", "()J", "", "remoteType", "Ljava/lang/String;", "getRemoteType", "()Ljava/lang/String;", "setRemoteType", "(Ljava/lang/String;)V", "Lcom/bukalapak/android/lib/api4/tungku/data/Topup;", "topupTrx", "Lcom/bukalapak/android/lib/api4/tungku/data/Topup;", "getTopupTrx", "()Lcom/bukalapak/android/lib/api4/tungku/data/Topup;", "setTopupTrx", "(Lcom/bukalapak/android/lib/api4/tungku/data/Topup;)V", "Lii;", "Lcom/bukalapak/mitra/apiv4/data/VirtualAccountTransaction;", "fetchTopupVaTrx", "Lii;", "getFetchTopupVaTrx", "()Lii;", "setFetchTopupVaTrx", "(Lii;)V", "topupVaTrx", "Lcom/bukalapak/mitra/apiv4/data/VirtualAccountTransaction;", "getTopupVaTrx", "()Lcom/bukalapak/mitra/apiv4/data/VirtualAccountTransaction;", "setTopupVaTrx", "(Lcom/bukalapak/mitra/apiv4/data/VirtualAccountTransaction;)V", "", "trxType", "I", "getTrxType", "()I", "expandedPaymentMethod", "getExpandedPaymentMethod", "setExpandedPaymentMethod", "Lz56;", "paymentMethodV2$delegate", "Lxk4;", "getPaymentMethodV2", "()Lz56;", "paymentMethodV2", "digitalBankingContinuePaymentUrl", "getDigitalBankingContinuePaymentUrl", "setDigitalBankingContinuePaymentUrl", "digitalBankingContinueErrorMessage", "getDigitalBankingContinueErrorMessage", "setDigitalBankingContinueErrorMessage", "Lcom/bukalapak/mitra/lib/tracker/screen/Screen;", "screen", "Lcom/bukalapak/mitra/lib/tracker/screen/Screen;", "getScreen", "()Lcom/bukalapak/mitra/lib/tracker/screen/Screen;", "screenName", "getScreenName", "referrerScreen", "getReferrerScreen", "setReferrerScreen", "referrerUrl", "getReferrerUrl", "setReferrerUrl", "referrerFeature", "getReferrerFeature", "setReferrerFeature", "Lcom/bukalapak/mitra/datatype/VirtualAccountDetail;", "getVaTrxDetail", "()Lcom/bukalapak/mitra/datatype/VirtualAccountDetail;", "vaTrxDetail", "getTotalAmount", "totalAmount", "getProductName", "productName", "getVaBank", "vaBank", "getVaNumber", "vaNumber", "getInvoiceNo", "invoiceNo", "Ljava/util/Date;", "getTrxDate", "()Ljava/util/Date;", "trxDate", "Lkotlin/Function1;", "Landroid/content/Context;", "getGetStatusWording", "()Lgx2;", "getStatusWording", "getStatusColor", "statusColor", "getTrxId", "trxId", "getPaymentType", "paymentType", "Lxb3;", "getPaymentIcon", "()Lxb3;", "paymentIcon", "getTrxExpiredAt", "trxExpiredAt", "", "isLoading", "()Z", "isErrorNetwork", "isErrorServer", "getErrorMessage", "errorMessage", "isPaymentPending", "isVirtualAccountTransaction", "isTransferTransaction", "isDigitalBankingTransaction", "<init>", "()V", "base_app_release"}, k = 1, mv = {1, 8, 0})
    public static final class c extends r00 implements zb9 {
        private String digitalBankingContinueErrorMessage;
        private String digitalBankingContinuePaymentUrl;
        private String expandedPaymentMethod;

        @b28
        private String referrerFeature;

        @b28
        private String referrerScreen;

        @b28
        private String referrerUrl;

        @b28
        private Topup topupTrx;

        @b28
        private VirtualAccountTransaction topupVaTrx;
        private final long voucherAmount;
        private String remoteType = "user_topup";

        @b28
        private ii<VirtualAccountTransaction> fetchTopupVaTrx = new ii<>();
        private final int trxType = 2;

        private final xk4 paymentMethodV2 = wl4.a(b.g);
        private final Screen screen = d48.a.w2();
        private final String screenName = getScreen().b();

        @Metadata(d1 = {"\u0000\u000e\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\u0010\u0003\u001a\u0004\u0018\u00010\u00022\u0006\u0010\u0001\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0003\u0010\u0004"}, d2 = {"Landroid/content/Context;", "it", "", "a", "(Landroid/content/Context;)Ljava/lang/String;"}, k = 3, mv = {1, 8, 0})
        static final class a extends dk4 implements gx2<Context, String> {
            a() {
                super(1);
            }

            public final String invoke(Context context) {
                p64.h(context, "it");
                xd9 xd9Var = xd9.a;
                Topup topupTrx = c.this.getTopupTrx();
                Integer d = xd9Var.d(topupTrx != null ? topupTrx.f() : null, c.this.getPaymentType());
                if (d != null) {
                    return context.getString(d.intValue());
                }
                return null;
            }
        }

        @Metadata(d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0001\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Lp66;", "a", "()Lp66;"}, k = 3, mv = {1, 8, 0})
        static final class b extends dk4 implements ex2<p66> {
            public static final b g = new b();

            b() {
                super(0);
            }

            public final p66 invoke() {
                return new p66();
            }
        }

        private final VirtualAccountDetail getVaTrxDetail() {
            VirtualAccountTransaction virtualAccountTransaction = this.topupVaTrx;
            if (virtualAccountTransaction != null) {
                return virtualAccountTransaction.a();
            }
            return null;
        }

        public final String getDigitalBankingContinueErrorMessage() {
            return this.digitalBankingContinueErrorMessage;
        }

        public final String getDigitalBankingContinuePaymentUrl() {
            return this.digitalBankingContinuePaymentUrl;
        }

        public final String getErrorMessage() {
            xh xhVar = (xh) this.fetchTopupVaTrx.c();
            if (xhVar != null) {
                return xhVar.c();
            }
            return null;
        }

        public final String getExpandedPaymentMethod() {
            return this.expandedPaymentMethod;
        }

        public final ii<VirtualAccountTransaction> getFetchTopupVaTrx() {
            return this.fetchTopupVaTrx;
        }

        @Override
        public gx2<Context, String> getGetStatusWording() {
            return new a();
        }

        public String getInvoiceNo() {
            Topup topup = this.topupTrx;
            if (topup != null) {
                return topup.getPaymentId();
            }
            return null;
        }

        public final xb3 getPaymentIcon() {
            if (!isVirtualAccountTransaction()) {
                return getPaymentMethodV2().f(getPaymentType());
            }
            String vaBank = getVaBank();
            if (vaBank != null) {
                return kw9.a.a(vaBank);
            }
            return null;
        }

        public final z56 getPaymentMethodV2() {
            return (z56) this.paymentMethodV2.getValue();
        }

        public final String getPaymentType() {
            Topup topup = this.topupTrx;
            if (topup != null) {
                return topup.e();
            }
            return null;
        }

        public String getProductName() {
            return ts7.h(vc7.ik, t95.a.o(getTotalAmount()));
        }

        public String getReferrerFeature() {
            return this.referrerFeature;
        }

        public String getReferrerScreen() {
            return this.referrerScreen;
        }

        public String getReferrerUrl() {
            return this.referrerUrl;
        }

        @Override
        public String getRemoteType() {
            return this.remoteType;
        }

        public Screen getScreen() {
            return this.screen;
        }

        public String getScreenName() {
            return this.screenName;
        }

        @Override
        public int getStatusColor() {
            xd9 xd9Var = xd9.a;
            Topup topup = this.topupTrx;
            return xd9Var.c(topup != null ? topup.f() : null, getPaymentType());
        }

        public final Topup getTopupTrx() {
            return this.topupTrx;
        }

        public long getTotalAmount() {
            Topup topup = this.topupTrx;
            if (topup != null) {
                return topup.a();
            }
            return 0L;
        }

        @Override
        public Date getTrxDate() {
            Topup.StateChangedAt g;
            Topup topup = this.topupTrx;
            if (topup == null || (g = topup.g()) == null) {
                return null;
            }
            return g.c();
        }

        public final Date getTrxExpiredAt() {
            Topup topup = this.topupTrx;
            if (topup != null) {
                return topup.b();
            }
            return null;
        }

        public String getTrxId() {
            Topup topup = this.topupTrx;
            if (topup != null) {
                return Long.valueOf(topup.c()).toString();
            }
            return null;
        }

        public final String getVaBank() {
            VirtualAccountDetail vaTrxDetail = getVaTrxDetail();
            if (vaTrxDetail != null) {
                return vaTrxDetail.getBank();
            }
            return null;
        }

        public final String getVaNumber() {
            VirtualAccountDetail vaTrxDetail = getVaTrxDetail();
            if (vaTrxDetail != null) {
                return vaTrxDetail.getNumber();
            }
            return null;
        }

        public long getVoucherAmount() {
            return this.voucherAmount;
        }

        public final boolean isDigitalBankingTransaction() {
            return p64.c(getPaymentType(), "digital_banking_saving_account");
        }

        public final boolean isErrorNetwork() {
            return this.fetchTopupVaTrx.r();
        }

        public final boolean isErrorServer() {
            return this.fetchTopupVaTrx.f();
        }

        public final boolean isLoading() {
            return this.fetchTopupVaTrx.g();
        }

        public final boolean isPaymentPending() {
            Topup topup = this.topupTrx;
            return p64.c(topup != null ? topup.f() : null, "pending");
        }

        public final boolean isTransferTransaction() {
            return p64.c(getPaymentType(), "transfer");
        }

        public final boolean isVirtualAccountTransaction() {
            return p64.c(getPaymentType(), "virtual_account");
        }

        public final void setDigitalBankingContinueErrorMessage(String str) {
            this.digitalBankingContinueErrorMessage = str;
        }

        public final void setDigitalBankingContinuePaymentUrl(String str) {
            this.digitalBankingContinuePaymentUrl = str;
        }

        public final void setExpandedPaymentMethod(String str) {
            this.expandedPaymentMethod = str;
        }

        public void setReferrerScreen(String str) {
            this.referrerScreen = str;
        }

        public void setReferrerUrl(String str) {
            this.referrerUrl = str;
        }

        public final void setTopupTrx(Topup topup) {
            this.topupTrx = topup;
        }

        public final void setTopupVaTrx(VirtualAccountTransaction virtualAccountTransaction) {
            this.topupVaTrx = virtualAccountTransaction;
        }
    }

    @Metadata(d1 = {"\u0000f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\t\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\u0011\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0007\u0018\u00002\u0014\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u0000\u0012\u0004\u0012\u00020\u00030\u0001BK\u0012\u0006\u00103\u001a\u00020\u0003\u0012\b\b\u0002\u0010\u001e\u001a\u00020\u001b\u0012\b\b\u0002\u0010\"\u001a\u00020\u001f\u0012\b\b\u0002\u0010&\u001a\u00020#\u0012\b\b\u0002\u0010*\u001a\u00020'\u0012\b\b\u0002\u0010.\u001a\u00020+\u0012\b\b\u0002\u00102\u001a\u00020/¢\u0006\u0004\b4\u00105J\b\u0010\u0005\u001a\u00020\u0004H\u0002J\b\u0010\u0006\u001a\u00020\u0004H\u0002J\b\u0010\u0007\u001a\u00020\u0004H\u0016J\b\u0010\b\u001a\u00020\u0004H\u0016J\u0006\u0010\t\u001a\u00020\u0004J\u0006\u0010\n\u001a\u00020\u0004J\u0006\u0010\u000b\u001a\u00020\u0004J\u0006\u0010\f\u001a\u00020\u0004J\u0006\u0010\r\u001a\u00020\u0004J\u0010\u0010\u0011\u001a\u0004\u0018\u00010\u00102\u0006\u0010\u000f\u001a\u00020\u000eJ \u0010\u0014\u001a\u0014\u0012\u0004\u0012\u00020\u0010\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00100\u00130\u00122\u0006\u0010\u000f\u001a\u00020\u000eJ\u0012\u0010\u0016\u001a\u0004\u0018\u00010\u00152\u0006\u0010\u000f\u001a\u00020\u000eH\u0016J\u000e\u0010\u0017\u001a\u00020\u00042\u0006\u0010\u000f\u001a\u00020\u000eJ\u0010\u0010\u0018\u001a\u0004\u0018\u00010\u00102\u0006\u0010\u000f\u001a\u00020\u000eJ\u000e\u0010\u001a\u001a\u00020\u00102\u0006\u0010\u0019\u001a\u00020\u0010R\u0014\u0010\u001e\u001a\u00020\u001b8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u001c\u0010\u001dR\u0014\u0010\"\u001a\u00020\u001f8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b \u0010!R\u0014\u0010&\u001a\u00020#8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b$\u0010%R\u0014\u0010*\u001a\u00020'8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b(\u0010)R\u0014\u0010.\u001a\u00020+8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b,\u0010-R\u0014\u00102\u001a\u00020/8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b0\u00101¨\u00066"}, d2 = {"Lcom/bukalapak/mitra/transaction/WalletDetailScreen$a;", "Lp00;", "Lcom/bukalapak/mitra/transaction/WalletDetailScreen$Fragment;", "Lcom/bukalapak/mitra/transaction/WalletDetailScreen$c;", "Llm9;", "o4", "n4", "F1", "d4", "q4", "p4", "x4", "w4", "v4", "Landroid/content/Context;", "context", "", "s4", "Lc46;", "", "u4", "Lpc9;", "D3", "y4", "t4", "virtualAccount", "r4", "Lt76;", "G", "Lt76;", "paymentsRepository", "Lrm5;", "H", "Lrm5;", "neoUserToggles", "Lzm5;", "I", "Lzm5;", "neoVpToggles", "Lom5;", "J", "Lom5;", "neoUserConfigs", "Lh4;", "O", "Lh4;", "accountPref", "Lrba;", "V", "Lrba;", "vpPref", "state", "<init>", "(Lcom/bukalapak/mitra/transaction/WalletDetailScreen$c;Lt76;Lrm5;Lzm5;Lom5;Lh4;Lrba;)V", "base_app_release"}, k = 1, mv = {1, 8, 0})
    public static final class a extends p00<Fragment, a, c> {

        private final t76 paymentsRepository;

        private final rm5 neoUserToggles;

        private final zm5 neoVpToggles;

        private final om5 neoUserConfigs;

        private final h4 accountPref;

        private final rba vpPref;

        @Metadata(d1 = {"\u0000\n\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\u0010\u0002\u001a\u00020\u0001*\u00020\u0000H\u008a@"}, d2 = {"Lb51;", "Llm9;", "<anonymous>"}, k = 3, mv = {1, 8, 0})
        @eo1(c = "com.bukalapak.mitra.transaction.WalletDetailScreen$Actions$checkNudgePinAfterTransactionEligibility$1", f = "WalletDetailScreen.kt", l = {225}, m = "invokeSuspend")
        static final class C0004a extends sw8 implements ux2<b51, r31<? super lm9>, Object> {
            Object L$0;
            int label;

            C0004a(r31<? super C0004a> r31Var) {
                super(2, r31Var);
            }

            public final r31<lm9> create(Object obj, r31<?> r31Var) {
                return a.this.new C0004a(r31Var);
            }

            public final Object invoke(b51 b51Var, r31<? super lm9> r31Var) {
                return create(b51Var, r31Var).invokeSuspend(lm9.a);
            }

            public final Object invokeSuspend(Object obj) {
                c cVar;
                Object d = q64.d();
                int i = this.label;
                if (i == 0) {
                    ot7.b(obj);
                    c k4 = a.k4(a.this);
                    at5 at5Var = at5.a;
                    om5 om5Var = a.this.neoUserConfigs;
                    long E = a.this.accountPref.E();
                    String y = a.this.accountPref.y();
                    this.L$0 = k4;
                    this.label = 1;
                    Object a = at5Var.a(om5Var, E, y, this);
                    if (a == d) {
                        return d;
                    }
                    cVar = k4;
                    obj = a;
                } else {
                    if (i != 1) {
                        throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                    }
                    cVar = (c) this.L$0;
                    ot7.b(obj);
                }
                cVar.setTriggerNudgePinAvailable(((Boolean) obj).booleanValue());
                return lm9.a;
            }
        }

        @Metadata(d1 = {"\u0000\n\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\u0010\u0002\u001a\u00020\u0001*\u00020\u0000H\u008a@"}, d2 = {"Lb51;", "Llm9;", "<anonymous>"}, k = 3, mv = {1, 8, 0})
        @eo1(c = "com.bukalapak.mitra.transaction.WalletDetailScreen$Actions$checkNudgePinTransactionAfterTransactionEligibility$1", f = "WalletDetailScreen.kt", l = {213}, m = "invokeSuspend")
        static final class b extends sw8 implements ux2<b51, r31<? super lm9>, Object> {
            Object L$0;
            int label;

            b(r31<? super b> r31Var) {
                super(2, r31Var);
            }

            public final r31<lm9> create(Object obj, r31<?> r31Var) {
                return a.this.new b(r31Var);
            }

            public final Object invoke(b51 b51Var, r31<? super lm9> r31Var) {
                return create(b51Var, r31Var).invokeSuspend(lm9.a);
            }

            public final Object invokeSuspend(Object obj) {
                c cVar;
                Object d = q64.d();
                int i = this.label;
                if (i == 0) {
                    ot7.b(obj);
                    c k4 = a.k4(a.this);
                    at5 at5Var = at5.a;
                    om5 om5Var = a.this.neoUserConfigs;
                    long F = a.this.accountPref.F();
                    String y = a.this.accountPref.y();
                    boolean J = a.this.vpPref.J();
                    this.L$0 = k4;
                    this.label = 1;
                    Object b = at5Var.b(om5Var, F, y, J, this);
                    if (b == d) {
                        return d;
                    }
                    cVar = k4;
                    obj = b;
                } else {
                    if (i != 1) {
                        throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                    }
                    cVar = (c) this.L$0;
                    ot7.b(obj);
                }
                cVar.setTriggerNudgePinTransactionAvailable(((Boolean) obj).booleanValue());
                return lm9.a;
            }
        }

        @Metadata(d1 = {"\u0000\u000e\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0003\u001a\u00020\u00022\u0006\u0010\u0001\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0003\u0010\u0004"}, d2 = {"Landroidx/fragment/app/e;", "context", "Llm9;", "a", "(Landroidx/fragment/app/e;)V"}, k = 3, mv = {1, 8, 0})
        static final class c extends dk4 implements gx2<androidx.fragment.app.e, lm9> {

            @Metadata(d1 = {"\u0000\n\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\u0010\u0002\u001a\u00020\u0001*\u00020\u0000H\u008a@"}, d2 = {"Lb51;", "Llm9;", "<anonymous>"}, k = 3, mv = {1, 8, 0})
            @eo1(c = "com.bukalapak.mitra.transaction.WalletDetailScreen$Actions$fetchDigitalBankingTrx$1$1$1", f = "WalletDetailScreen.kt", l = {252}, m = "invokeSuspend")
            static final class C0005a extends sw8 implements ux2<b51, r31<? super lm9>, Object> {
                final String $defaultErrorMessage;
                final String $paymentId;
                int label;
                final a this$0;

                C0005a(a aVar, String str, String str2, r31<? super C0005a> r31Var) {
                    super(2, r31Var);
                    this.this$0 = aVar;
                    this.$paymentId = str;
                    this.$defaultErrorMessage = str2;
                }

                public final r31<lm9> create(Object obj, r31<?> r31Var) {
                    return new C0005a(this.this$0, this.$paymentId, this.$defaultErrorMessage, r31Var);
                }

                public final Object invoke(b51 b51Var, r31<? super lm9> r31Var) {
                    return create(b51Var, r31Var).invokeSuspend(lm9.a);
                }

                public final Object invokeSuspend(Object obj) {
                    String str;
                    Object d = q64.d();
                    int i = this.label;
                    if (i == 0) {
                        ot7.b(obj);
                        t76 t76Var = this.this$0.paymentsRepository;
                        String str2 = this.$paymentId;
                        this.label = 1;
                        obj = t76Var.a(str2, this);
                        if (obj == d) {
                            return d;
                        }
                    } else {
                        if (i != 1) {
                            throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                        }
                        ot7.b(obj);
                    }
                    BaseResult baseResult = (BaseResult) obj;
                    if (!baseResult.l()) {
                        c k4 = a.k4(this.this$0);
                        Exception exc = baseResult.error;
                        if (exc == null || (str = exc.getMessage()) == null) {
                            str = this.$defaultErrorMessage;
                        }
                        k4.setDigitalBankingContinueErrorMessage(str);
                    } else if (((DigitalBankingSavingAccountResponse) ((BaseResponse) baseResult.response).data).a() != null) {
                        a.k4(this.this$0).setDigitalBankingContinuePaymentUrl(((DigitalBankingSavingAccountResponse) ((BaseResponse) baseResult.response).data).a());
                    } else {
                        a.k4(this.this$0).setDigitalBankingContinueErrorMessage(this.$defaultErrorMessage);
                    }
                    String digitalBankingContinueErrorMessage = a.k4(this.this$0).getDigitalBankingContinueErrorMessage();
                    if (digitalBankingContinueErrorMessage != null) {
                        nk.Y1(this.this$0, digitalBankingContinueErrorMessage, (d) null, (c) null, 6, (Object) null);
                    }
                    a aVar = this.this$0;
                    aVar.J1(a.k4(aVar));
                    return lm9.a;
                }
            }

            c() {
                super(1);
            }

            public final void a(androidx.fragment.app.e eVar) {
                String paymentId;
                p64.h(eVar, "context");
                Topup topupTrx = a.k4(a.this).getTopupTrx();
                if (topupTrx == null || (paymentId = topupTrx.getPaymentId()) == null) {
                    return;
                }
                a aVar = a.this;
                String string = eVar.getString(vc7.s6);
                p64.g(string, "context.getString(R.stri…ssage_problem_connection)");
                ja0.d(aVar, dh1.a.b(), (f51) null, new C0005a(aVar, paymentId, string, null), 2, (Object) null);
            }

            public Object invoke(Object obj) {
                a((androidx.fragment.app.e) obj);
                return lm9.a;
            }
        }

        @Metadata(d1 = {"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0004\u001a\u00020\u00032\f\u0010\u0002\u001a\b\u0012\u0004\u0012\u00020\u00010\u0000H\n¢\u0006\u0004\b\u0004\u0010\u0005"}, d2 = {"Lcom/bukalapak/android/lib/api4/response/BaseResult;", "Lcom/bukalapak/mitra/apiv4/response/VirtualAccountResponse$VirtualAccountTransactionResponse;", "response", "Llm9;", "a", "(Lcom/bukalapak/android/lib/api4/response/BaseResult;)V"}, k = 3, mv = {1, 8, 0})
        static final class d extends dk4 implements gx2<BaseResult<VirtualAccountResponse.VirtualAccountTransactionResponse>, lm9> {
            d() {
                super(1);
            }

            public final void a(BaseResult<VirtualAccountResponse.VirtualAccountTransactionResponse> baseResult) {
                p64.h(baseResult, "response");
                a.k4(a.this).getFetchTopupVaTrx().s(baseResult);
                if (baseResult.l()) {
                    a.k4(a.this).setTopupVaTrx((VirtualAccountTransaction) ((BaseResponse) ((VirtualAccountResponse.VirtualAccountTransactionResponse) baseResult.response)).data);
                }
                a aVar = a.this;
                aVar.J1(a.k4(aVar));
            }

            public Object invoke(Object obj) {
                a((BaseResult) obj);
                return lm9.a;
            }
        }

        @Metadata(d1 = {"\u0000\u000e\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0003\u001a\u00020\u00022\u0006\u0010\u0001\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0003\u0010\u0004"}, d2 = {"Landroidx/fragment/app/e;", "it", "Llm9;", "a", "(Landroidx/fragment/app/e;)V"}, k = 3, mv = {1, 8, 0})
        static final class e extends dk4 implements gx2<androidx.fragment.app.e, lm9> {
            public static final e g = new e();

            e() {
                super(1);
            }

            public final void a(androidx.fragment.app.e eVar) {
                p64.h(eVar, "it");
                w80 w80Var = w80.a;
                String str = th.e;
                p64.g(str, "BUKABANTUAN_URL");
                com.bukalapak.mitra.webview.a.e(w80Var, eVar, str, 0, (gx2) null, 8, (Object) null);
            }

            public Object invoke(Object obj) {
                a((androidx.fragment.app.e) obj);
                return lm9.a;
            }
        }

        @Metadata(d1 = {"\u0000\u000e\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0003\u001a\u00020\u00022\u0006\u0010\u0001\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0003\u0010\u0004"}, d2 = {"Landroidx/fragment/app/e;", "it", "Llm9;", "a", "(Landroidx/fragment/app/e;)V"}, k = 3, mv = {1, 8, 0})
        static final class f extends dk4 implements gx2<androidx.fragment.app.e, lm9> {
            f() {
                super(1);
            }

            public final void a(androidx.fragment.app.e eVar) {
                p64.h(eVar, "it");
                if (a.k4(a.this).getDigitalBankingContinuePaymentUrl() == null) {
                    a aVar = a.this;
                    nk.Y1(aVar, a.k4(aVar).getDigitalBankingContinueErrorMessage(), (d) null, (c) null, 6, (Object) null);
                } else {
                    try {
                        eVar.startActivity(new Intent("android.intent.action.VIEW", Uri.parse(a.k4(a.this).getDigitalBankingContinuePaymentUrl())));
                    } catch (ActivityNotFoundException unused) {
                        eVar.startActivity(new Intent("android.intent.action.VIEW", Uri.parse("https://play.google.com/store/apps/details?id=com.scb.nexus.blk.nonprod")));
                    }
                }
            }

            public Object invoke(Object obj) {
                a((androidx.fragment.app.e) obj);
                return lm9.a;
            }
        }

        @Metadata(d1 = {"\u0000\u000e\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0003\u001a\u00020\u00022\u0006\u0010\u0001\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0003\u0010\u0004"}, d2 = {"Landroidx/fragment/app/e;", "it", "Llm9;", "a", "(Landroidx/fragment/app/e;)V"}, k = 3, mv = {1, 8, 0})
        static final class g extends dk4 implements gx2<androidx.fragment.app.e, lm9> {

            @Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0002\u001a\u00020\u0001*\u00020\u0000H\n¢\u0006\u0004\b\u0002\u0010\u0003"}, d2 = {"Lhe9;", "Llm9;", "a", "(Lhe9;)V"}, k = 3, mv = {1, 8, 0})
            static final class C0006a extends dk4 implements gx2<he9, lm9> {
                final a this$0;

                C0006a(a aVar) {
                    super(1);
                    this.this$0 = aVar;
                }

                public final void a(he9 he9Var) {
                    p64.h(he9Var, "$this$applyState");
                    he9Var.c(a.k4(this.this$0).getTotalAmount());
                }

                public Object invoke(Object obj) {
                    a((he9) obj);
                    return lm9.a;
                }
            }

            g() {
                super(1);
            }

            public final void a(androidx.fragment.app.e eVar) {
                p64.h(eVar, "it");
                hg5 hg5Var = hg5.a;
                AppMviFragment<TransferDetailScreen$Fragment, ge9, he9> appMviFragment = new AppMviFragment<TransferDetailScreen$Fragment, ge9, he9>() {
                    static final sf4<Object>[] t = {ln7.h(new kw6(TransferDetailScreen$Fragment.class, "binding", "getBinding()Lcom/bukalapak/mitra/base/databinding/FragmentRecyclerviewBinding;", 0))};

                    private final FragmentViewBindingDelegate binding;

                    @Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
                    class a extends oy2 implements gx2<View, sv2> {
                        public static final a a = new a();

                        a() {
                            super(1, sv2.class, "bind", "bind(Landroid/view/View;)Lcom/bukalapak/mitra/base/databinding/FragmentRecyclerviewBinding;", 0);
                        }

                        public final sv2 invoke(View view) {
                            p64.h(view, "p0");
                            return sv2.a(view);
                        }
                    }

                    @Metadata(d1 = {"\u0000\u0010\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0005\u001a\u00028\u0001\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0004\u001a\u00020\u0003H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "Landroid/content/Context;", "context", "a", "(Landroid/content/Context;)Lk95;"}, k = 3, mv = {1, 8, 0})
                    public static final class b extends dk4 implements gx2<Context, pm4> {
                        public b() {
                            super(1);
                        }

                        public final pm4 invoke(Context context) {
                            p64.h(context, "context");
                            return new pm4(context);
                        }
                    }

                    @Metadata(d1 = {"\u0000\u0012\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0005\u001a\u00020\u0004\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0003\u001a\u00028\u0001H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "it", "Llm9;", "a", "(Lk95;)V"}, k = 3, mv = {1, 8, 0})
                    public static final class c extends dk4 implements gx2<pm4, lm9> {
                        final gx2 $state;

                        public c(gx2 gx2Var) {
                            super(1);
                            this.$state = gx2Var;
                        }

                        public final void a(pm4 pm4Var) {
                            p64.h(pm4Var, "it");
                            pm4Var.Q(this.$state);
                        }

                        public Object invoke(Object obj) {
                            a((k95) obj);
                            return lm9.a;
                        }
                    }

                    @Metadata(d1 = {"\u0000\u0012\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0005\u001a\u00020\u0004\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0003\u001a\u00028\u0001H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "it", "Llm9;", "a", "(Lk95;)V"}, k = 3, mv = {1, 8, 0})
                    public static final class d extends dk4 implements gx2<pm4, lm9> {
                        public static final d g = new d();

                        public d() {
                            super(1);
                        }

                        public final void a(pm4 pm4Var) {
                            p64.h(pm4Var, "it");
                            pm4Var.e0();
                        }

                        public Object invoke(Object obj) {
                            a((k95) obj);
                            return lm9.a;
                        }
                    }

                    @Metadata(d1 = {"\u0000\b\n\u0002\u0010\r\n\u0002\b\u0002\u0010\u0001\u001a\u0004\u0018\u00010\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"", "a", "()Ljava/lang/CharSequence;"}, k = 3, mv = {1, 8, 0})
                    static final class e extends dk4 implements ex2<CharSequence> {
                        final BankAccount $bankAccount;

                        e(BankAccount bankAccount) {
                            super(0);
                            this.$bankAccount = bankAccount;
                        }

                        public final CharSequence invoke() {
                            return kt8.b(this.$bankAccount.getFullBankName() + ", " + this.$bankAccount.getAccountCity() + "<br /><b>" + this.$bankAccount.getAccountNumber() + "</b>");
                        }
                    }

                    @Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0002\u001a\u00020\u0001*\u00020\u0000H\n¢\u0006\u0004\b\u0002\u0010\u0003"}, d2 = {"Lcom/bukalapak/android/lib/ui/atomic/item/DividerItem$c;", "Llm9;", "a", "(Lcom/bukalapak/android/lib/ui/atomic/item/DividerItem$c;)V"}, k = 3, mv = {1, 8, 0})
                    static final class f extends dk4 implements gx2<DividerItem.c, lm9> {
                        public static final f g = new f();

                        f() {
                            super(1);
                        }

                        public final void a(DividerItem.c cVar) {
                            p64.h(cVar, "$this$item");
                            cVar.p(o57.p);
                        }

                        public Object invoke(Object obj) {
                            a((DividerItem.c) obj);
                            return lm9.a;
                        }
                    }

                    @Metadata(d1 = {"\u0000\u0010\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0005\u001a\u00028\u0001\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0004\u001a\u00020\u0003H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "Landroid/content/Context;", "context", "a", "(Landroid/content/Context;)Lk95;"}, k = 3, mv = {1, 8, 0})
                    public static final class g extends dk4 implements gx2<Context, pw7> {
                        public g() {
                            super(1);
                        }

                        public final pw7 invoke(Context context) {
                            p64.h(context, "context");
                            return new pw7(context);
                        }
                    }

                    @Metadata(d1 = {"\u0000\u0012\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0005\u001a\u00020\u0004\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0003\u001a\u00028\u0001H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "it", "Llm9;", "a", "(Lk95;)V"}, k = 3, mv = {1, 8, 0})
                    public static final class h extends dk4 implements gx2<pw7, lm9> {
                        final gx2 $state;

                        public h(gx2 gx2Var) {
                            super(1);
                            this.$state = gx2Var;
                        }

                        public final void a(pw7 pw7Var) {
                            p64.h(pw7Var, "it");
                            pw7Var.Q(this.$state);
                        }

                        public Object invoke(Object obj) {
                            a((k95) obj);
                            return lm9.a;
                        }
                    }

                    @Metadata(d1 = {"\u0000\u0012\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0005\u001a\u00020\u0004\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0003\u001a\u00028\u0001H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "it", "Llm9;", "a", "(Lk95;)V"}, k = 3, mv = {1, 8, 0})
                    public static final class i extends dk4 implements gx2<pw7, lm9> {
                        public static final i g = new i();

                        public i() {
                            super(1);
                        }

                        public final void a(pw7 pw7Var) {
                            p64.h(pw7Var, "it");
                            pw7Var.e0();
                        }

                        public Object invoke(Object obj) {
                            a((k95) obj);
                            return lm9.a;
                        }
                    }

                    @Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0002\u001a\u00020\u0001*\u00020\u0000H\n¢\u0006\u0004\b\u0002\u0010\u0003"}, d2 = {"Lpw7$a;", "Llm9;", "a", "(Lpw7$a;)V"}, k = 3, mv = {1, 8, 0})
                    static final class j extends dk4 implements gx2<a, lm9> {
                        final String $amount;

                        @Metadata(d1 = {"\u0000\b\n\u0000\n\u0002\u0010\u000e\n\u0000\u0010\u0000\u001a\u00020\u0001H\n¢\u0006\u0002\b\u0002"}, d2 = {"<anonymous>", "", "invoke"}, k = 3, mv = {1, 8, 0}, xi = 48)
                        static final class a extends dk4 implements ex2<String> {
                            public static final a g = new a();

                            a() {
                                super(0);
                            }

                            public final String invoke() {
                                return ts7.g(vc7.Y1);
                            }
                        }

                        @Metadata(d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0001\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Landroid/text/SpannableString;", "a", "()Landroid/text/SpannableString;"}, k = 3, mv = {1, 8, 0})
                        static final class b extends dk4 implements ex2<SpannableString> {
                            final String $amount;

                            b(String str) {
                                super(0);
                                this.$amount = str;
                            }

                            public final SpannableString invoke() {
                                SpannableString spannableString = new SpannableString(this.$amount);
                                spannableString.setSpan(new ForegroundColorSpan(ts7.a(o57.v)), r1.length() - 3, this.$amount.length(), 33);
                                return spannableString;
                            }
                        }

                        j(String str) {
                            super(1);
                            this.$amount = str;
                        }

                        public final void a(a aVar) {
                            p64.h(aVar, "$this$newItem");
                            aVar.d().g(a.g);
                            a b2 = aVar.b();
                            b2.l(new b(this.$amount));
                            b2.m(ts7.a(o57.s));
                            b2.n(ef7.x);
                        }

                        public Object invoke(Object obj) {
                            a((a) obj);
                            return lm9.a;
                        }
                    }

                    @Metadata(d1 = {"\u0000\u0010\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0005\u001a\u00028\u0001\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0004\u001a\u00020\u0003H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "Landroid/content/Context;", "context", "a", "(Landroid/content/Context;)Lk95;"}, k = 3, mv = {1, 8, 0})
                    public static final class k extends dk4 implements gx2<Context, jw7> {
                        public k() {
                            super(1);
                        }

                        public final jw7 invoke(Context context) {
                            p64.h(context, "context");
                            jw7 jw7Var = new jw7(context);
                            kn8 kn8Var = kn8.i;
                            jw7Var.H(kn8Var, kn8.f, kn8Var, kn8.g);
                            return jw7Var;
                        }
                    }

                    @Metadata(d1 = {"\u0000\u0012\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0005\u001a\u00020\u0004\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0003\u001a\u00028\u0001H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "it", "Llm9;", "a", "(Lk95;)V"}, k = 3, mv = {1, 8, 0})
                    public static final class l extends dk4 implements gx2<jw7, lm9> {
                        final gx2 $state;

                        public l(gx2 gx2Var) {
                            super(1);
                            this.$state = gx2Var;
                        }

                        public final void a(jw7 jw7Var) {
                            p64.h(jw7Var, "it");
                            jw7Var.Q(this.$state);
                        }

                        public Object invoke(Object obj) {
                            a((k95) obj);
                            return lm9.a;
                        }
                    }

                    @Metadata(d1 = {"\u0000\u0012\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0005\u001a\u00020\u0004\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0003\u001a\u00028\u0001H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "it", "Llm9;", "a", "(Lk95;)V"}, k = 3, mv = {1, 8, 0})
                    public static final class m extends dk4 implements gx2<jw7, lm9> {
                        public static final m g = new m();

                        public m() {
                            super(1);
                        }

                        public final void a(jw7 jw7Var) {
                            p64.h(jw7Var, "it");
                            jw7Var.e0();
                        }

                        public Object invoke(Object obj) {
                            a((k95) obj);
                            return lm9.a;
                        }
                    }

                    @Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0002\u001a\u00020\u0001*\u00020\u0000H\n¢\u0006\u0004\b\u0002\u0010\u0003"}, d2 = {"Liw7$b;", "Llm9;", "a", "(Liw7$b;)V"}, k = 3, mv = {1, 8, 0})
                    static final class n extends dk4 implements gx2<b, lm9> {
                        public static final n g = new n();

                        n() {
                            super(1);
                        }

                        public final void a(b bVar) {
                            p64.h(bVar, "$this$newItem");
                            bVar.x(b.j);
                            bVar.v(c20.a.h());
                            bVar.t(ts7.g(vc7.Fd));
                        }

                        public Object invoke(Object obj) {
                            a((b) obj);
                            return lm9.a;
                        }
                    }

                    @Metadata(d1 = {"\u0000\u0010\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0005\u001a\u00028\u0001\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0004\u001a\u00020\u0003H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "Landroid/content/Context;", "context", "a", "(Landroid/content/Context;)Lk95;"}, k = 3, mv = {1, 8, 0})
                    public static final class o extends dk4 implements gx2<Context, gw7> {
                        public o() {
                            super(1);
                        }

                        public final gw7 invoke(Context context) {
                            p64.h(context, "context");
                            gw7 gw7Var = new gw7(context);
                            kn8 kn8Var = kn8.g;
                            gw7Var.G(kn8Var, kn8Var);
                            kn8 kn8Var2 = kn8.i;
                            gw7Var.A(kn8Var2, kn8.d, kn8Var2, kn8.f);
                            gw7Var.w(ts7.c(y57.o));
                            return gw7Var;
                        }
                    }

                    @Metadata(d1 = {"\u0000\u0012\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0005\u001a\u00020\u0004\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0003\u001a\u00028\u0001H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "it", "Llm9;", "a", "(Lk95;)V"}, k = 3, mv = {1, 8, 0})
                    public static final class p extends dk4 implements gx2<gw7, lm9> {
                        final gx2 $state;

                        public p(gx2 gx2Var) {
                            super(1);
                            this.$state = gx2Var;
                        }

                        public final void a(gw7 gw7Var) {
                            p64.h(gw7Var, "it");
                            gw7Var.Q(this.$state);
                        }

                        public Object invoke(Object obj) {
                            a((k95) obj);
                            return lm9.a;
                        }
                    }

                    @Metadata(d1 = {"\u0000\u0012\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0005\u001a\u00020\u0004\"\u0004\b\u0000\u0010\u0000\"\u0014\b\u0001\u0010\u0002\u0018\u0001*\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u00012\u0006\u0010\u0003\u001a\u00028\u0001H\n¢\u0006\u0004\b\u0005\u0010\u0006"}, d2 = {"S", "Lk95;", "M", "it", "Llm9;", "a", "(Lk95;)V"}, k = 3, mv = {1, 8, 0})
                    public static final class q extends dk4 implements gx2<gw7, lm9> {
                        public static final q g = new q();

                        public q() {
                            super(1);
                        }

                        public final void a(gw7 gw7Var) {
                            p64.h(gw7Var, "it");
                            gw7Var.e0();
                        }

                        public Object invoke(Object obj) {
                            a((k95) obj);
                            return lm9.a;
                        }
                    }

                    @Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0002\u001a\u00020\u0001*\u00020\u0000H\n¢\u0006\u0004\b\u0002\u0010\u0003"}, d2 = {"Lgw7$b;", "Llm9;", "a", "(Lgw7$b;)V"}, k = 3, mv = {1, 8, 0})
                    static final class r extends dk4 implements gx2<b, lm9> {
                        public static final r g = new r();

                        r() {
                            super(1);
                        }

                        public final void a(b bVar) {
                            p64.h(bVar, "$this$newItem");
                            bVar.x(b.j);
                            bVar.v(ts7.a(y57.n));
                            bVar.t(kt8.b(ts7.g(vc7.Gd)));
                        }

                        public Object invoke(Object obj) {
                            a((b) obj);
                            return lm9.a;
                        }
                    }

                    {
                        K0(ab7.x);
                        L0(ts7.g(vc7.w0));
                        V0(ts7.c(c77.b));
                        this.binding = fw2.a(this, a.a);
                    }

                    private final RecyclerView F() {
                        RecyclerView recyclerView = d1().b;
                        p64.g(recyclerView, "binding.recyclerView");
                        return recyclerView;
                    }

                    private final t0<?, ?> W0(BankAccount bankAccount) {
                        a aVar = k95.h;
                        b bVar = qm4.l;
                        Context context = getContext();
                        String bankLogo = bankAccount.getBankLogo();
                        return new q95(pm4.class.hashCode(), new b()).H(new c(bVar.a(context, bankLogo != null ? new pw3(bankLogo) : null, new e(bankAccount)))).M(d.g);
                    }

                    private final t0<?, ?> X0() {
                        return DividerItem.c.d(f.g);
                    }

                    private final t0<?, ?> Z0(he9 state) {
                        String o2 = t95.a.o(state.getTotalAmount());
                        a aVar = k95.h;
                        return new q95(pw7.class.hashCode(), new g()).H(new h(new j(o2))).M(i.g);
                    }

                    private final t0<?, ?> a1() {
                        a aVar = k95.h;
                        return new q95(104, new k()).H(new l(n.g)).M(m.g);
                    }

                    private final t0<?, ?> b1() {
                        a aVar = k95.h;
                        return new q95(105, new o()).H(new p(r.g)).M(q.g);
                    }

                    private final zh2<t0<?, ?>> c1() {
                        return RecyclerViewExtKt.f(F());
                    }

                    private final sv2 d1() {
                        return this.binding.c(this, t[0]);
                    }

                    public ge9 s0(he9 state) {
                        p64.h(state, "state");
                        return new ge9(state);
                    }

                    public he9 t0() {
                        return new he9();
                    }

                    public void w0(he9 he9Var) {
                        p64.h(he9Var, "state");
                        List n2 = iu0.n(new t0[]{Z0(he9Var), b1(), a1(), X0()});
                        List<BankAccount> a2 = he9Var.a();
                        if (a2 != null) {
                            int i2 = 0;
                            for (Object obj : a2) {
                                int i3 = i2 + 1;
                                if (i2 < 0) {
                                    iu0.q();
                                }
                                n2.add(W0((BankAccount) obj));
                                List<BankAccount> a3 = he9Var.a();
                                if (i2 < (a3 != null ? a3.size() : 0) - 1) {
                                    n2.add(X0());
                                }
                                i2 = i3;
                            }
                        }
                        c1().t0(n2);
                    }
                };
                appMviFragment.o0().f2(new C0006a(a.this));
                lm9 lm9Var = lm9.a;
                hg5.j(hg5Var, eVar, appMviFragment, false, (Bundle) null, (gx2) null, 28, (Object) null);
            }

            public Object invoke(Object obj) {
                a((androidx.fragment.app.e) obj);
                return lm9.a;
            }
        }

        public a(c cVar, t76 t76Var, rm5 rm5Var, zm5 zm5Var, om5 om5Var, h4 h4Var, rba rbaVar, int i, oq1 oq1Var) {
            this(cVar, (i & 2) != 0 ? new u76() : t76Var, (i & 4) != 0 ? new sm5((NeoMapper) null, (sy4) null, 3, (oq1) null) : rm5Var, (i & 8) != 0 ? new an5((NeoMapper) null, (sy4) null, 3, (oq1) null) : zm5Var, (i & 16) != 0 ? new pm5((NeoMapper) null, (sy4) null, 3, (oq1) null) : om5Var, (i & 32) != 0 ? h4.n0.a() : h4Var, (i & 64) != 0 ? rba.S.a() : rbaVar);
        }

        public static final c k4(a aVar) {
            return (c) aVar.t1();
        }

        private final void n4() {
            if (this.neoUserToggles.f()) {
                ja0.d(this, (v41) null, (f51) null, new C0004a(null), 3, (Object) null);
            }
        }

        private final void o4() {
            if (this.neoUserToggles.f() && this.neoVpToggles.p0()) {
                ja0.d(this, (v41) null, (f51) null, new b(null), 3, (Object) null);
            }
        }

        @Override
        public pc9 D3(Context context) {
            Topup.StateChangedAt g2;
            Date c2;
            p64.h(context, "context");
            pc9 D3 = super.D3(context);
            String str = null;
            if (D3 == null) {
                return null;
            }
            D3.d(t4(context));
            D3.g(context.getString(wd7.b));
            Topup topupTrx = ((c) t1()).getTopupTrx();
            if (topupTrx != null && (g2 = topupTrx.g()) != null && (c2 = g2.c()) != null) {
                str = rm1.f(c2, qm1.c());
            }
            D3.a(str);
            D3.c(((c) t1()).getInvoiceNo());
            return D3;
        }

        @Override
        public void F1() {
            super.F1();
            if (((c) t1()).isVirtualAccountTransaction()) {
                q4();
            }
            if (((c) t1()).isDigitalBankingTransaction()) {
                p4();
            }
            n4();
            o4();
        }

        @Override
        public void d4() {
            t38.c((zb9) t1(), (String) null, (String) null, 3, (Object) null);
        }

        public final void p4() {
            E(new c());
        }

        public final void q4() {
            Topup topupTrx = ((c) t1()).getTopupTrx();
            if (topupTrx != null) {
                ((VirtualAccountService) wg.a.t(VirtualAccountService.class)).a(topupTrx.c()).d(new d());
            }
        }

        public final String r4(String virtualAccount) {
            p64.h(virtualAccount, "virtualAccount");
            String b2 = kw9.a.b(virtualAccount);
            String str = b2 == null ? "" : b2;
            if (!bu8.P(str, "mandiri", true)) {
                return str;
            }
            String str2 = (String) iu0.f0(bu8.J0(str, new String[]{" "}, false, 0, 6, (Object) null));
            return str2 == null ? "" : str2;
        }

        public final String s4(Context context) {
            String paymentType;
            p64.h(context, "context");
            if (!((c) t1()).isPaymentPending() || (paymentType = ((c) t1()).getPaymentType()) == null) {
                return null;
            }
            switch (paymentType.hashCode()) {
                case -982454828:
                    if (paymentType.equals("pospay")) {
                        return context.getString(vc7.Wm);
                    }
                    return null;
                case -681882892:
                    if (paymentType.equals("atm_bri")) {
                        return context.getString(vc7.Um);
                    }
                    return null;
                case -530992099:
                    if (paymentType.equals("indomaret")) {
                        return context.getString(vc7.Vm);
                    }
                    return null;
                case 1628126716:
                    if (paymentType.equals("alfamart")) {
                        return context.getString(vc7.Tm);
                    }
                    return null;
                default:
                    return null;
            }
        }

        public final String t4(Context context) {
            p64.h(context, "context");
            if (!((c) t1()).isVirtualAccountTransaction()) {
                return ((c) t1()).getPaymentMethodV2().a(((c) t1()).getPaymentType(), ((c) t1()).getPaymentName());
            }
            String vaBank = ((c) t1()).getVaBank();
            if (vaBank == null) {
                return null;
            }
            String b2 = kw9.a.b(vaBank);
            if (b2 == null) {
                b2 = "";
            }
            if (bu8.P(b2, "mandiri", true)) {
                return context.getString(vc7.io, b2);
            }
            return b2 + " " + context.getString(vc7.ho);
        }

        public final c46<String, String[]> u4(Context context) {
            String[] strArr;
            p64.h(context, "context");
            String paymentType = ((c) t1()).getPaymentType();
            String string = context.getString(vc7.un, ((c) t1()).getPaymentMethodV2().a(paymentType, ((c) t1()).getPaymentName()));
            p64.g(string, "context.getString(\n     …ntName)\n                )");
            if (paymentType != null) {
                switch (paymentType.hashCode()) {
                    case -982454828:
                        if (paymentType.equals("pospay")) {
                            strArr = context.getResources().getStringArray(x47.Z);
                            p64.g(strArr, "context.resources.getStr…(R.array.trx_term_pospay)");
                            break;
                        }
                        break;
                    case -681882892:
                        if (paymentType.equals("atm_bri")) {
                            strArr = context.getResources().getStringArray(x47.W);
                            p64.g(strArr, "context.resources.getStr…R.array.trx_term_brilink)");
                            break;
                        }
                        break;
                    case -530992099:
                        if (paymentType.equals("indomaret")) {
                            strArr = context.getResources().getStringArray(x47.Y);
                            p64.g(strArr, "context.resources.getStr…array.trx_term_indomaret)");
                            break;
                        }
                        break;
                    case -525277912:
                        if (paymentType.equals("digital_banking_saving_account")) {
                            strArr = context.getResources().getStringArray(x47.X);
                            p64.g(strArr, "context.resources.getStr…ing\n                    )");
                            break;
                        }
                        break;
                    case 1628126716:
                        if (paymentType.equals("alfamart")) {
                            strArr = context.getResources().getStringArray(x47.V);
                            p64.g(strArr, "context.resources.getStr….array.trx_term_alfamart)");
                            break;
                        }
                        break;
                }
                return new c46<>(string, strArr);
            }
            strArr = new String[0];
            return new c46<>(string, strArr);
        }

        public final void v4() {
            E(e.g);
        }

        public final void w4() {
            E(new f());
        }

        public final void x4() {
            E(new g());
        }

        public final void y4(Context context) {
            p64.h(context, "context");
            a4(context, "cara_pembayaran-" + ((c) t1()).getPaymentType());
        }

        public a(c cVar, t76 t76Var, rm5 rm5Var, zm5 zm5Var, om5 om5Var, h4 h4Var, rba rbaVar) {
            super(cVar, null, null, null, null, null, null, null, null, null, null, null, null, 8190, null);
            p64.h(cVar, "state");
            p64.h(t76Var, "paymentsRepository");
            p64.h(rm5Var, "neoUserToggles");
            p64.h(zm5Var, "neoVpToggles");
            p64.h(om5Var, "neoUserConfigs");
            p64.h(h4Var, "accountPref");
            p64.h(rbaVar, "vpPref");
            this.paymentsRepository = t76Var;
            this.neoUserToggles = rm5Var;
            this.neoVpToggles = zm5Var;
            this.neoUserConfigs = om5Var;
            this.accountPref = h4Var;
            this.vpPref = rbaVar;
        }
    }
}