APK反编译源代码展示 - 南明离火平台提供

应用版本信息
应用名称:Breathe - People Portal
版本号:2.19.0
包名称:com.elmo.rta.breathe

MD5 校验值:2a432003868ccf5f53c7a8e745fc59ec

反编译源代码说明

b.java 文件包含反编译后的源代码,请注意,该内容仅供学习和参考使用,不得用于非法用途。


package w8;

import androidx.activity.s;
import bm.m0;
import com.airbnb.epoxy.b0;
import com.elmo.rta.breathe.data.dto.AccountTreeDtoApi;
import cq.l;
import g8.i;
import java.util.ArrayList;
import java.util.Collection;
import p9.t;
import p9.x;
import qp.q;

public final class b implements w8.a {

    public final i f16816a;

    public final l8.a f16817b;

    public final y9.c f16818c;

    @vp.e(c = "com.elmo.rta.breathe.data.repository.accountTree.AccountTreeApiDataSourceImpl", f = "AccountTreeApiDataSource.kt", l = {26}, m = "fetchAccountTree")
    public static final class a extends vp.c {
        public b D;
        public Object E;
        public int G;

        public a(tp.d<? super a> dVar) {
            super(dVar);
        }

        @Override
        public final Object m(Object obj) {
            this.E = obj;
            this.G |= Integer.MIN_VALUE;
            return b.this.a(this);
        }
    }

    public b(i iVar, l8.a aVar, y9.c cVar) {
        l.f(iVar, "service");
        l.f(aVar, "mapper");
        l.f(cVar, "environmentConfigProvider");
        this.f16816a = iVar;
        this.f16817b = aVar;
        this.f16818c = cVar;
    }

    @Override
    public final Object a(tp.d<? super wi.c<p9.a, ? extends x9.b>> dVar) {
        a aVar;
        int i10;
        b bVar;
        wi.c S;
        if (dVar instanceof a) {
            aVar = (a) dVar;
            int i11 = aVar.G;
            if ((i11 & Integer.MIN_VALUE) != 0) {
                aVar.G = i11 - Integer.MIN_VALUE;
                Object obj = aVar.E;
                up.a aVar2 = up.a.COROUTINE_SUSPENDED;
                i10 = aVar.G;
                if (i10 == 0) {
                    if (i10 == 1) {
                        bVar = aVar.D;
                        m0.r(obj);
                    } else {
                        throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                    }
                } else {
                    m0.r(obj);
                    this.f16818c.d();
                    aVar.D = this;
                    aVar.G = 1;
                    obj = this.f16816a.c("https://rota-api.breathehr.com", aVar);
                    if (obj == aVar2) {
                        return aVar2;
                    }
                    bVar = this;
                }
                S = s.S((wi.c) obj);
                if (!(S instanceof wi.b)) {
                    AccountTreeDtoApi accountTreeDtoApi = (AccountTreeDtoApi) ((wi.b) S).f16948a;
                    l8.a aVar3 = bVar.f16817b;
                    aVar3.getClass();
                    l.f(accountTreeDtoApi, "dto");
                    Collection<AccountTreeDtoApi.AreaDtoApi> values = accountTreeDtoApi.f3444a.values();
                    ArrayList arrayList = new ArrayList(q.J(values, 10));
                    for (AccountTreeDtoApi.AreaDtoApi areaDtoApi : values) {
                        aVar3.f10521a.getClass();
                        l.f(areaDtoApi, "dto");
                        arrayList.add(new p9.c(areaDtoApi.getId(), areaDtoApi.getName()));
                    }
                    Collection<AccountTreeDtoApi.RoleDtoApi> values2 = accountTreeDtoApi.f3445b.values();
                    ArrayList arrayList2 = new ArrayList(q.J(values2, 10));
                    for (AccountTreeDtoApi.RoleDtoApi roleDtoApi : values2) {
                        aVar3.f10522b.getClass();
                        l.f(roleDtoApi, "dto");
                        arrayList2.add(new t(roleDtoApi.getId(), roleDtoApi.getName()));
                    }
                    Collection<AccountTreeDtoApi.SiteDtoApi> values3 = accountTreeDtoApi.f3446c.values();
                    ArrayList arrayList3 = new ArrayList(q.J(values3, 10));
                    for (AccountTreeDtoApi.SiteDtoApi siteDtoApi : values3) {
                        aVar3.f10523c.getClass();
                        l.f(siteDtoApi, "dto");
                        arrayList3.add(new x(siteDtoApi.f3449a, siteDtoApi.f3450b, siteDtoApi.f3451c));
                    }
                    return new wi.b(new p9.a(arrayList, arrayList2, arrayList3));
                }
                if (S instanceof wi.a) {
                    return S;
                }
                throw new b0();
            }
        }
        aVar = new a(dVar);
        Object obj2 = aVar.E;
        up.a aVar22 = up.a.COROUTINE_SUSPENDED;
        i10 = aVar.G;
        if (i10 == 0) {
        }
        S = s.S((wi.c) obj2);
        if (!(S instanceof wi.b)) {
        }
    }
}