package com.tencent.mm.plugin.remittance.bankcard.ui;

import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.sdk.platformtools.ab;
import com.tencent.mm.sdk.platformtools.bo;
import com.tencent.mm.ui.base.h;
import com.tencent.mm.ui.s;

class BankRemitBankcardInputUI$27 extends s {
    final /* synthetic */ BankRemitBankcardInputUI pMO;

    BankRemitBankcardInputUI$27(BankRemitBankcardInputUI bankRemitBankcardInputUI) {
        this.pMO = bankRemitBankcardInputUI;
    }

    public final void bgW() {
        AppMethodBeat.i(44544);
        ab.i("MicroMsg.BankRemitBankcardInputUI", "click next btn");
        this.pMO.aqX();
        this.pMO.aoB();
        if (BankRemitBankcardInputUI.u(this.pMO)) {
            AppMethodBeat.o(44544);
            return;
        }
        String text = BankRemitBankcardInputUI.n(this.pMO).getText();
        String text2 = BankRemitBankcardInputUI.r(this.pMO).getText();
        if (bo.isNullOrNil(text) || text.trim().isEmpty() || bo.isNullOrNil(text2) || text2.trim().isEmpty() || BankRemitBankcardInputUI.v(this.pMO) == null) {
            ab.w("MicroMsg.BankRemitBankcardInputUI", "args is empty, payeeName: %s, bankCardNo: %s, bankcard: %s", new Object[]{text, text2, BankRemitBankcardInputUI.v(this.pMO)});
            AppMethodBeat.o(44544);
            return;
        }
        ab.i("MicroMsg.BankRemitBankcardInputUI", "onRealClick() ifGetOperation:%s waitingGetOperation:%s ifAutoNext:%s", new Object[]{Boolean.valueOf(BankRemitBankcardInputUI.m(this.pMO)), Boolean.valueOf(BankRemitBankcardInputUI.x(this.pMO)), Boolean.valueOf(BankRemitBankcardInputUI.y(this.pMO))});
        if (!BankRemitBankcardInputUI.m(this.pMO)) {
            BankRemitBankcardInputUI.b(this.pMO, true);
            BankRemitBankcardInputUI.a(this.pMO, text);
            BankRemitBankcardInputUI.b(this.pMO, text2);
            if (BankRemitBankcardInputUI.B(this.pMO) != null) {
                BankRemitBankcardInputUI.B(this.pMO).show();
            } else {
                BankRemitBankcardInputUI bankRemitBankcardInputUI = this.pMO;
                BankRemitBankcardInputUI bankRemitBankcardInputUI2 = this.pMO;
                this.pMO.getString(2131296899);
                BankRemitBankcardInputUI.a(bankRemitBankcardInputUI, h.b(bankRemitBankcardInputUI2, this.pMO.getString(2131305190), true, new 1(this)));
            }
            if (!BankRemitBankcardInputUI.x(this.pMO)) {
                BankRemitBankcardInputUI.G(this.pMO);
            }
        } else if (BankRemitBankcardInputUI.z(this.pMO)) {
            if (BankRemitBankcardInputUI.i(this.pMO)) {
                ab.i("MicroMsg.BankRemitBankcardInputUI", "from record goto next direct");
                BankRemitBankcardInputUI.A(this.pMO);
                AppMethodBeat.o(44544);
                return;
            }
            BankRemitBankcardInputUI.a(this.pMO, text, text2, BankRemitBankcardInputUI.v(this.pMO).nuL, BankRemitBankcardInputUI.v(this.pMO).pbn);
            AppMethodBeat.o(44544);
            return;
        }
        AppMethodBeat.o(44544);
    }
}
