导航菜单

页面标题

页面副标题

Aplazo v2.4.68 - c.java 源代码

正在查看: Aplazo v2.4.68 应用的 c.java JAVA 源代码文件

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


package n6;

import A4.r;
import C4.k;
import Di.C;
import Di.x;
import android.util.Base64;
import android.util.Log;
import androidx.work.u;
import java.lang.ref.WeakReference;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Objects;
import java.util.concurrent.CancellationException;
import java.util.concurrent.ExecutionException;
import jg.j;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.internal.l;
import ma.s;
import oa.C2622m3;
import rg.p;
import s4.C3103e;
import s4.w;
import t4.C3187a;
import w4.i;
import wg.B3;
import wg.C3;
import wg.N2;
import wg.O2;
import wg.n0;
import z4.C3544a;
import zg.y;
import zg.z;

public final class c implements Runnable {

    public final int f29148c;

    public final Object f29149d;

    public Object f29150e;

    public c(int i10, Object obj, Object obj2) {
        this.f29148c = i10;
        this.f29150e = obj;
        this.f29149d = obj2;
    }

    @Override
    public final void run() {
        String concat;
        r rVar;
        switch (this.f29148c) {
            case 0:
                ((f) ((d) this.f29150e).f29153c).b(this.f29149d);
                return;
            case 1:
                ((h) this.f29150e).f29155c = Thread.currentThread().getId();
                ((Runnable) this.f29149d).run();
                return;
            case 2:
                HashMap hashMap = new HashMap();
                HashMap hashMap2 = new HashMap();
                ue.a aVar = ue.a.NESTED_JSON;
                String concat2 = C.Y("/vgs") != '/' ? "/".concat("/vgs") : "/vgs";
                oe.b bVar = oe.b.POST;
                l.e(bVar, "method");
                Map map = (Map) this.f29150e;
                l.e(map, "customData");
                hashMap2.putAll(map);
                pe.a aVar2 = pe.a.X_WWW_FORM_URLENCODED;
                l.e(aVar2, "format");
                l.e(concat2, "path");
                l.e(aVar, "fieldNameMappingPolicy");
                if (concat2.length() == 0) {
                    concat = "https://vgs-collect-keeper.apps.verygood.systems";
                } else {
                    concat = x.p(concat2, "/", false) ? "https://vgs-collect-keeper.apps.verygood.systems".concat(concat2) : "https://vgs-collect-keeper.apps.verygood.systems/".concat(concat2);
                }
                String jSONObject = s.c(hashMap2).toString();
                l.d(jSONObject, "customData.toJSON().toString()");
                byte[] bytes = jSONObject.getBytes(Di.c.a);
                l.d(bytes, "this as java.lang.String).getBytes(charset)");
                String encodeToString = Base64.encodeToString(bytes, 2);
                l.d(encodeToString, "encodeToString(\n        …     Base64.NO_WRAP\n    )");
                ((se.a) this.f29149d).a(new we.a(bVar, concat, hashMap, encodeToString, aVar2, false), (Function1) null);
                return;
            case 3:
                try {
                    C2622m3 execute = ((rh.b) this.f29149d).execute();
                    rh.d dVar = (rh.d) ((WeakReference) this.f29150e).get();
                    if (dVar != null) {
                        dVar.c(execute);
                        return;
                    }
                    return;
                } catch (Exception e10) {
                    ch.g.u(e10, new StringBuilder("An error has occurred while running task on executor: "));
                    return;
                }
            case 4:
                if (((w) this.f29150e).f32183s.f1696c instanceof C4.a) {
                    return;
                }
                try {
                    ((k) this.f29149d).get();
                    androidx.work.w.d().a(w.f32167u, "Starting work for " + ((w) this.f29150e).f32171f.f542c);
                    w wVar = (w) this.f29150e;
                    wVar.f32183s.k(wVar.f32172g.startWork());
                    return;
                } catch (Throwable th) {
                    ((w) this.f29150e).f32183s.j(th);
                    return;
                }
            case 5:
                String str = (String) this.f29149d;
                w wVar2 = (w) this.f29150e;
                try {
                    try {
                        u uVar = (u) wVar2.f32183s.get();
                        if (uVar == null) {
                            androidx.work.w.d().b(w.f32167u, wVar2.f32171f.f542c + " returned a null result. Treating it as a failure.");
                        } else {
                            androidx.work.w.d().a(w.f32167u, wVar2.f32171f.f542c + " returned a " + uVar + ".");
                            wVar2.f32174i = uVar;
                        }
                    } catch (InterruptedException e11) {
                        e = e11;
                        androidx.work.w.d().c(w.f32167u, str + " failed because it threw an exception/error", e);
                    } catch (CancellationException e12) {
                        androidx.work.w d9 = androidx.work.w.d();
                        String str2 = w.f32167u;
                        String str3 = str + " was cancelled";
                        if (d9.f20130a <= 4) {
                            Log.i(str2, str3, e12);
                        }
                    } catch (ExecutionException e13) {
                        e = e13;
                        androidx.work.w.d().c(w.f32167u, str + " failed because it threw an exception/error", e);
                    }
                    wVar2.b();
                    return;
                } catch (Throwable th2) {
                    wVar2.b();
                    throw th2;
                }
            case 6:
                androidx.work.w d10 = androidx.work.w.d();
                String str4 = C3187a.f32598e;
                StringBuilder sb2 = new StringBuilder("Scheduling work ");
                r rVar2 = (r) this.f29149d;
                sb2.append(rVar2.f540a);
                d10.a(str4, sb2.toString());
                ((C3187a) this.f29150e).f32599a.a(rVar2);
                return;
            case 7:
                ((j) this.f29150e).c((ug.j) this.f29149d);
                return;
            case 8:
                ((n0) this.f29150e).c.onNext(this.f29149d);
                return;
            case 9:
                ((wg.a) ((O2) this.f29150e)).c.subscribe((N2) this.f29149d);
                return;
            case 10:
                C3 c32 = (C3) this.f29150e;
                c32.getClass();
                ((p) c32).e.offer(new B3((Gg.k) this.f29149d, false));
                if (c32.b()) {
                    c32.g();
                    return;
                }
                return;
            case 11:
                ((jg.C) ((xb.j) this.f29150e).f34250c).onError((Throwable) this.f29149d);
                return;
            case 12:
                ((jg.C) ((xb.j) this.f29150e).f34250c).onSuccess(this.f29149d);
                return;
            case 13:
                C3103e c3103e = ((C3544a) this.f29150e).f34673c.f32146f;
                String str5 = (String) this.f29149d;
                synchronized (c3103e.k) {
                    try {
                        w c4 = c3103e.c(str5);
                        rVar = c4 != null ? c4.f32171f : null;
                    } finally {
                    }
                }
                if (rVar == null || !rVar.c()) {
                    return;
                }
                synchronized (((C3544a) this.f29150e).f34675e) {
                    ((C3544a) this.f29150e).f34678h.put(F.e.c(rVar), rVar);
                    C3544a c3544a = (C3544a) this.f29150e;
                    ((C3544a) this.f29150e).f34679i.put(F.e.c(rVar), i.a(c3544a.f34680j, rVar, ((D4.b) c3544a.f34674d).f3263b, c3544a));
                }
                return;
            case 14:
                zg.g gVar = (zg.g) this.f29149d;
                og.g gVar2 = gVar.d;
                lg.b c10 = ((zg.j) this.f29150e).c(gVar);
                gVar2.getClass();
                og.c.c(gVar2, c10);
                return;
            default:
                ((y) this.f29149d).f = true;
                ((z) this.f29150e).c.remove((y) this.f29149d);
                return;
        }
    }

    public c(rh.b bVar, rh.d dVar) {
        this.f29148c = 3;
        Objects.requireNonNull(bVar);
        this.f29149d = bVar;
        this.f29150e = new WeakReference(dVar);
    }

    public c(se.a aVar, String str, String str2, String str3, boolean z6) {
        this.f29148c = 2;
        l.e(aVar, "client");
        l.e(str2, "environment");
        this.f29149d = aVar;
        this.f29150e = new LinkedHashMap();
    }

    public c(ug.j jVar, j jVar2) {
        this.f29148c = 7;
        this.f29149d = jVar;
        this.f29150e = jVar2;
    }
}