正在查看: klikUMKM v2.0.1 应用的 f.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: klikUMKM v2.0.1 应用的 f.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.yx.credit.indonesia.ui.delegatestatus;
import com.yx.credit.base.entity.NetResponse;
import com.yx.credit.indonesia.http.entity.DelegateStatus;
import java.util.Map;
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;
import ub.i;
public final class f extends i implements Function2 {
final Function1<DelegateStatus, Unit> $function;
Object L$0;
int label;
public static final class a extends i implements Function2 {
final Ref.ObjectRef<NetResponse<DelegateStatus>> $response;
Object L$0;
int label;
public a(Ref.ObjectRef<NetResponse<DelegateStatus>> objectRef, tb.a aVar) {
super(2, aVar);
this.$response = objectRef;
}
@Override
public final tb.a create(Object obj, tb.a aVar) {
return new a(this.$response, aVar);
}
@Override
public final Object invokeSuspend(Object obj) {
Ref.ObjectRef<NetResponse<DelegateStatus>> objectRef;
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<DelegateStatus>> objectRef2 = this.$response;
com.yx.credit.base.net.g gVar = com.yx.credit.base.net.g.a;
Map c5 = q0.c();
this.L$0 = objectRef2;
this.label = 1;
Object a = gVar.a("https://api.klikumkm.co.id/api/indo/audit/status", c5, DelegateStatus.class, false, this);
if (a == aVar) {
return aVar;
}
objectRef = objectRef2;
t9 = a;
} else {
if (i10 != 1) {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
}
objectRef = (Ref.ObjectRef) this.L$0;
r.b(obj);
t9 = obj;
}
objectRef.element = t9;
return Unit.a;
}
@Override
public final Object invoke(b0 b0Var, tb.a aVar) {
return ((a) create(b0Var, aVar)).invokeSuspend(Unit.a);
}
}
public f(Function1<? super DelegateStatus, Unit> function1, tb.a aVar) {
super(2, aVar);
this.$function = function1;
}
@Override
public final tb.a create(Object obj, tb.a aVar) {
return new f(this.$function, aVar);
}
@Override
public final Object invokeSuspend(Object obj) {
Ref.ObjectRef objectRef;
DelegateStatus delegateStatus;
kotlin.coroutines.intrinsics.a aVar = kotlin.coroutines.intrinsics.a.COROUTINE_SUSPENDED;
int i10 = this.label;
if (i10 == 0) {
r.b(obj);
Ref.ObjectRef objectRef2 = new Ref.ObjectRef();
mc.e eVar = kotlinx.coroutines.q0.f9859c;
a aVar2 = new a(objectRef2, 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() && (delegateStatus = (DelegateStatus) ((NetResponse) objectRef.element).getData()) != null) {
this.$function.invoke(delegateStatus);
}
return Unit.a;
}
@Override
public final Object invoke(b0 b0Var, tb.a aVar) {
return ((f) create(b0Var, aVar)).invokeSuspend(Unit.a);
}
}