正在查看: klikUMKM v2.0.1 应用的 l.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: klikUMKM v2.0.1 应用的 l.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.yx.credit.indonesia.ui.withdraw;
import androidx.lifecycle.i0;
import com.yx.credit.base.entity.NetResponse;
import com.yx.credit.indonesia.http.entity.ApplySubmitResult;
import com.yx.credit.indonesia.ui.delegate.u;
import java.util.Map;
import kotlin.Pair;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.functions.Function2;
import kotlin.jvm.internal.Ref;
import kotlinx.coroutines.b0;
import kotlinx.coroutines.f0;
import pb.r;
import qb.q0;
public final class l extends ub.i implements Function2 {
final long $amount;
final String $bankCode;
final String $bankNumber;
final Function1<ApplySubmitResult, Unit> $function;
final int $loanTerm;
final String $productCode;
final int $withdrawType;
Object L$0;
int label;
final o this$0;
public static final class a extends ub.i implements Function2 {
final long $amount;
final String $bankCode;
final String $bankNumber;
final int $loanTerm;
final String $productCode;
final Ref.ObjectRef<NetResponse<ApplySubmitResult>> $response;
final int $withdrawType;
Object L$0;
Object L$1;
Object L$2;
int label;
public a(Ref.ObjectRef<NetResponse<ApplySubmitResult>> objectRef, long j7, int i10, String str, int i11, String str2, String str3, tb.a aVar) {
super(2, aVar);
this.$response = objectRef;
this.$amount = j7;
this.$loanTerm = i10;
this.$productCode = str;
this.$withdrawType = i11;
this.$bankCode = str2;
this.$bankNumber = str3;
}
@Override
public final tb.a create(Object obj, tb.a aVar) {
return new a(this.$response, this.$amount, this.$loanTerm, this.$productCode, this.$withdrawType, this.$bankCode, this.$bankNumber, aVar);
}
@Override
public final Object invokeSuspend(Object obj) {
com.yx.credit.base.net.g gVar;
Object a;
Ref.ObjectRef<NetResponse<ApplySubmitResult>> objectRef;
Object obj2;
String str;
Ref.ObjectRef<NetResponse<ApplySubmitResult>> objectRef2;
T t9;
kotlin.coroutines.intrinsics.a aVar = kotlin.coroutines.intrinsics.a.COROUTINE_SUSPENDED;
int i10 = this.label;
if (i10 == 0) {
r.b(obj);
Ref.ObjectRef<NetResponse<ApplySubmitResult>> objectRef3 = this.$response;
gVar = com.yx.credit.base.net.g.a;
Map e10 = q0.e(new Pair("jumlah", new Long(this.$amount)), new Pair("hari", new Integer(this.$loanTerm)), new Pair("kodeProduk", this.$productCode), new Pair("jenisAkun", new Integer(this.$withdrawType)), new Pair("kodeBank", this.$bankCode), new Pair("nomorKartuBank", this.$bankNumber));
this.L$0 = objectRef3;
this.L$1 = gVar;
this.L$2 = "https://api.klikumkm.co.id/api/indo/apply/submit";
this.label = 1;
a = u.f7623d.a(e10, true, true, this);
if (a != aVar) {
objectRef = objectRef3;
obj2 = a;
str = "https://api.klikumkm.co.id/api/indo/apply/submit";
}
return aVar;
}
if (i10 != 1) {
if (i10 != 2) {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
}
objectRef2 = (Ref.ObjectRef) this.L$0;
r.b(obj);
t9 = obj;
objectRef2.element = t9;
return Unit.a;
}
String str2 = (String) this.L$2;
gVar = (com.yx.credit.base.net.g) this.L$1;
objectRef = (Ref.ObjectRef) this.L$0;
r.b(obj);
str = str2;
obj2 = obj;
com.yx.credit.base.net.g gVar2 = gVar;
this.L$0 = objectRef;
this.L$1 = null;
this.L$2 = null;
this.label = 2;
Object a10 = gVar2.a(str, (Map) obj2, ApplySubmitResult.class, true, this);
if (a10 != aVar) {
objectRef2 = objectRef;
t9 = a10;
objectRef2.element = t9;
return Unit.a;
}
return aVar;
}
@Override
public final Object invoke(b0 b0Var, tb.a aVar) {
return ((a) create(b0Var, aVar)).invokeSuspend(Unit.a);
}
}
public l(String str, String str2, o oVar, Function1<? super ApplySubmitResult, Unit> function1, long j7, int i10, String str3, int i11, tb.a aVar) {
super(2, aVar);
this.$bankCode = str;
this.$bankNumber = str2;
this.this$0 = oVar;
this.$function = function1;
this.$amount = j7;
this.$loanTerm = i10;
this.$productCode = str3;
this.$withdrawType = i11;
}
@Override
public final tb.a create(Object obj, tb.a aVar) {
return new l(this.$bankCode, this.$bankNumber, this.this$0, this.$function, this.$amount, this.$loanTerm, this.$productCode, this.$withdrawType, aVar);
}
@Override
public final Object invokeSuspend(Object obj) {
Ref.ObjectRef objectRef;
kotlin.coroutines.intrinsics.a aVar = kotlin.coroutines.intrinsics.a.COROUTINE_SUSPENDED;
int i10 = this.label;
if (i10 == 0) {
r.b(obj);
if (!gc.b.n(this.$bankCode) || !gc.b.n(this.$bankNumber)) {
uc.m.y("Pilih Rekening Pencairan");
return Unit.a;
}
i0 i0Var = this.this$0.f7626b;
if (i0Var != null) {
i0Var.postValue(Boolean.TRUE);
}
Ref.ObjectRef objectRef2 = new Ref.ObjectRef();
mc.e eVar = kotlinx.coroutines.q0.f9859c;
a aVar2 = new a(objectRef2, this.$amount, this.$loanTerm, this.$productCode, this.$withdrawType, this.$bankCode, this.$bankNumber, null);
this.L$0 = objectRef2;
this.label = 1;
if (f0.t(eVar, aVar2, this) == aVar) {
return aVar;
}
objectRef = objectRef2;
} else {
if (i10 != 1) {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
}
objectRef = (Ref.ObjectRef) this.L$0;
r.b(obj);
}
if (((NetResponse) objectRef.element).isSuccess()) {
this.$function.invoke(((NetResponse) objectRef.element).getData());
}
i0 i0Var2 = this.this$0.f7626b;
if (i0Var2 != null) {
i0Var2.postValue(Boolean.FALSE);
}
return Unit.a;
}
@Override
public final Object invoke(b0 b0Var, tb.a aVar) {
return ((l) create(b0Var, aVar)).invokeSuspend(Unit.a);
}
}