导航菜单

页面标题

页面副标题

TodoCrédito v1.4 - Monoceros.java 源代码

正在查看: TodoCrédito v1.4 应用的 Monoceros.java JAVA 源代码文件

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


package com.tdcd.mx.app.heartbeat.fahey.byl.jajknpu;

import android.R;
import android.app.ActivityManager;
import android.content.Context;
import android.content.Intent;
import android.os.Process;
import android.provider.MediaStore;
import android.text.SpannableString;
import android.text.TextPaint;
import android.text.TextUtils;
import android.text.method.LinkMovementMethod;
import android.text.style.AbsoluteSizeSpan;
import android.text.style.ClickableSpan;
import android.view.View;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.lifecycle.Lifecycle;
import androidx.recyclerview.widget.GridLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import androidx.recyclerview.widget.i;
import c5.h;
import com.tdcd.mx.app.heartbeat.fahey.byl.jajknpu.Monoceros;
import com.tdcd.mx.app.heartbeat.pkx.Friend;
import com.tdcd.mx.app.heartbeat.pkx.Karate;
import com.tdcd.mx.app.nrfboyv.corroborate.Fats;
import com.tdcd.mx.app.nrfboyv.corroborate.eiijqhi.k;
import com.tdcd.mx.app.nrfboyv.corroborate.eldjzinmgg.p0;
import com.tdcd.mx.app.nrfboyv.corroborate.hqnhahgwgh.Respectively;
import com.tdcd.mx.app.nrfboyv.corroborate.hvvktfujlc.gsiehbth.Farewell;
import com.tdcd.mx.app.nrfboyv.corroborate.hvvktfujlc.jurisprudence.Organization;
import com.tdcd.mx.app.nrfboyv.corroborate.r;
import com.tdcd.mx.app.nrfboyv.corroborate.u0;
import com.uber.autodispose.q;
import d5.i;
import h6.g;
import j5.i0;
import j5.m;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.HashMap;
import java.util.List;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
import me.jessyan.autosize.BuildConfig;
import n6.j;
import org.jetbrains.annotations.NotNull;
import q4.l;
import s4.e0;
import v4.c;

@i(pageName = "km{:;ipoonlkmu")
public class Monoceros extends Respectively {
    public int D;
    public Karate F;
    public List<k> E = new ArrayList();
    public Organization G = new Organization();

    public class a implements Karate.c {
        public a() {
        }

        @Override
        public void a(int i9, int i10) {
            Monoceros.this.E.remove(i9);
            Monoceros.this.F.notifyDataSetChanged();
        }

        @Override
        public void b() {
            if (Monoceros.this.F.getData().size() > 5) {
                o4.d.h().E("5 al máximo");
            } else {
                Monoceros.this.I0();
            }
        }
    }

    public class b implements y4.a<Object> {
        public b() {
        }

        @Override
        public void a(Object obj) {
            Monoceros.this.F0(true);
        }

        @Override
        public void b(Friend friend) {
            Monoceros.this.F0(false);
        }
    }

    public class c implements y4.a<v4.c> {
        public c() {
        }

        @Override
        public void b(Friend friend) {
        }

        @Override
        public void a(v4.c cVar) {
            if (cVar == null || cVar.a() == null) {
                return;
            }
            Monoceros.this.E0(m.a(cVar.a(), new h() {
                @Override
                public final Object a(Object obj) {
                    return new Fats((c.a) obj);
                }
            }));
        }
    }

    public class d extends ClickableSpan {

        public final Runnable f7934c;

        public final TextView f7935d;

        public d(Runnable runnable, TextView textView) {
            this.f7934c = runnable;
            this.f7935d = textView;
        }

        @Override
        public void onClick(@NotNull View view) {
            this.f7934c.run();
        }

        @Override
        public void updateDrawState(@NotNull TextPaint textPaint) {
            textPaint.setColor(this.f7935d.getContext().getColor(R.color.white));
            textPaint.setUnderlineText(false);
        }
    }

    public void A0(EditText editText) {
        final String trim = editText.getText().toString().trim();
        if (TextUtils.isEmpty(trim)) {
            o4.d.h().E(l.a("Ov*myx~oxsny*xy*z\u007fono*o}~k|*\u0080km÷y"));
        } else {
            ((q) g.y(this.E).t(new j() {
                @Override
                public final boolean test(Object obj) {
                    boolean x02;
                    x02 = Monoceros.x0((com.tdcd.mx.app.nrfboyv.corroborate.eiijqhi.k) obj);
                    return x02;
                }
            }).F(new n6.h() {
                @Override
                public final Object apply(Object obj) {
                    return ((com.tdcd.mx.app.nrfboyv.corroborate.eiijqhi.k) obj).g();
                }
            }).V().b(com.uber.autodispose.d.b(com.uber.autodispose.android.lifecycle.b.f(a(), Lifecycle.Event.ON_DESTROY)))).a(new n6.g() {
                @Override
                public final void accept(Object obj) {
                    Monoceros.this.y0(trim, (List) obj);
                }
            }, new n6.g() {
                @Override
                public final void accept(Object obj) {
                    q4.l.a("Z|ylvowk*no*myxo\u0082sýx8*Sx~ox~o*x\u007fo\u0080kwox~o*wë}*~k|no8");
                }
            });
        }
    }

    public Unit B0(Fats fats) {
        for (Fats fats2 : this.G.getData()) {
            fats2.setChecked(fats2.getCheckedValue() == fats.getCheckedValue());
            if (fats2.a()) {
                this.D = fats2.getItem().b();
            }
        }
        this.G.notifyDataSetChanged();
        return null;
    }

    public void C0(i0 i0Var) {
        if (i0Var == null) {
            return;
        }
        G0(i0Var.b(), i0Var.a());
    }

    public static void J0(@NotNull TextView textView, @NotNull String str, int i9, int i10, Runnable runnable) {
        SpannableString spannableString = new SpannableString(str);
        spannableString.setSpan(new d(runnable, textView), i9, i10, 33);
        if (textView == null) {
            return;
        }
        textView.setMovementMethod(LinkMovementMethod.getInstance());
        textView.setText(spannableString);
        textView.setHighlightColor(0);
    }

    public static void u0(EditText editText, String str, int i9) {
        SpannableString spannableString = new SpannableString(str);
        spannableString.setSpan(new AbsoluteSizeSpan(i9, true), 0, spannableString.length(), 33);
        if (editText == null) {
            return;
        }
        editText.setHint(new SpannableString(spannableString));
    }

    public static boolean x0(k kVar) {
        return kVar.e() == 2;
    }

    public void y0(String str, List list) {
        H0(this.D, str, list);
    }

    public final void D0() {
        try {
            J0(null, "osvxav", 217, 234, null);
        } catch (Exception unused) {
        }
        try {
            J0(null, "uwtbvsiwpnmwfdxrjlkvdmektzlfinph", 18, 236, null);
        } catch (Exception unused2) {
        }
        d0(i5.i.h().T(), new c());
    }

    public final void E0(List<Fats> list) {
        try {
            u0(null, "euqwaygysbecvnnqhngzdxwsdjxaulzuf", 50);
        } catch (Exception unused) {
        }
        if (list == null || list.isEmpty()) {
            return;
        }
        list.get(0).setChecked(true);
        try {
            w0(Farewell.a());
        } catch (Exception unused2) {
        }
        this.D = list.get(0).getItem().b();
        this.G.setNewData(list);
    }

    public final void F0(boolean z8) {
        View inflate = View.inflate(this, com.todocredito.mx.R.layout.notch, null);
        try {
            u0(null, "gzaplvhooqxaaerxtnuyeipsghfy", 203);
        } catch (Exception unused) {
        }
        ((ImageView) inflate.findViewById(com.todocredito.mx.R.id.labeling)).setVisibility(8);
        ((TextView) inflate.findViewById(com.todocredito.mx.R.id.outlawing)).setText(l.a(z8 ? "O\u0082s~y}y" : "Pkvvsny"));
        ((TextView) inflate.findViewById(com.todocredito.mx.R.id.wklmagm)).setText(l.a(z8 ? "Rowy}*|omslsny*}\u007f}*mywox~k|sy}*\u0083*xy}*myw\u007fxsmk|owy}*myx*\u007f}~on*z|yx~y8" : "R\u007fly*\u007fx*o||y|*kv*ox\u0080sk|*}\u007f}*mywox~k|sy}6*zy|*pk\u0080y|*sx~óx~ovy*no*x\u007fo\u0080y8"));
        TextView textView = (TextView) inflate.findViewById(com.todocredito.mx.R.id.drowsiness);
        textView.setText(l.a("YU"));
        r.a(textView, new j5.a() {
            @Override
            public final void a() {
                Monoceros.this.finish();
            }
        });
        try {
            L0(Farewell.a());
        } catch (Exception unused2) {
        }
        o4.d.d().F(u0.e(this).d(inflate).b(false).c(false)).a();
    }

    public final void G0(int i9, String str) {
        k kVar = new k();
        try {
            J0(null, "whpngfnyzvfxftzkajyczdyuifotpu", 97, 169, null);
        } catch (Exception unused) {
        }
        kVar.j(str);
        kVar.k(Integer.valueOf(i9));
        try {
            u0(null, "pmfytrhbclnnjyzqr", 167);
        } catch (Exception unused2) {
        }
        this.E.add(0, kVar);
        this.F.notifyItemInserted(0);
    }

    public final void H0(int i9, String str, List<Integer> list) {
        String c9 = p0.c(list);
        HashMap hashMap = new HashMap();
        try {
            u0(null, "asyphyokbjlrvrevhzwragpmdwshie", 9);
        } catch (Exception unused) {
        }
        hashMap.put("type", Integer.valueOf(i9));
        hashMap.put("feedbackDesc", str);
        hashMap.put("imgIds", c9);
        d0(i5.i.h().A(hashMap), new b());
    }

    public final void I0() {
        Intent intent = new Intent();
        try {
            L0(Farewell.a());
        } catch (Exception unused) {
        }
        intent.setAction("android.intent.action.OPEN_DOCUMENT");
        intent.addCategory("android.intent.category.OPENABLE");
        intent.setType("image/*");
        try {
            u0(null, "ltlhlmpohqlpmhuudfrmgkcjaph", 75);
        } catch (Exception unused2) {
        }
        if (intent.resolveActivity(getPackageManager()) != null) {
            startActivityForResult(intent, 100);
        }
    }

    public final void K0(String str) {
        if (TextUtils.isEmpty(str)) {
            return;
        }
        File file = new File(str);
        if (file.exists()) {
            HashMap hashMap = new HashMap();
            try {
                u0(null, "cnkuovfbivlhi", 185);
            } catch (Exception unused) {
            }
            hashMap.put("fileType", "feedback");
            hashMap.put("img", file);
            d0(i5.i.h().s(hashMap), new e0() {
                @Override
                public final void a(Object obj) {
                    Monoceros.this.C0((i0) obj);
                }
            });
        }
    }

    public boolean L0(Context context) {
        return context != null && context.getResources().getConfiguration().orientation == 1;
    }

    public Date M0(Date date, int i9) {
        GregorianCalendar gregorianCalendar = new GregorianCalendar();
        gregorianCalendar.setTime(date);
        gregorianCalendar.add(2, i9);
        return gregorianCalendar.getTime();
    }

    @Override
    public void V() {
        super.V();
        g0(l.a("Mywox~k|sy"));
        ((TextView) findViewById(com.todocredito.mx.R.id.nips)).setText(l.a("]\u007fls|*py~y*2?*kv*wë\u0082swy3"));
        ((TextView) findViewById(com.todocredito.mx.R.id.whom)).setText(l.a("]ovommsyxo*}\u007f*~szy*no*z|ylvowkD"));
        TextView textView = (TextView) findViewById(com.todocredito.mx.R.id.zealous);
        try {
            J0(null, "jnrbsimrxohvrsrignkvyhfzd", 66, i.a.DEFAULT_DRAG_ANIMATION_DURATION, null);
        } catch (Exception unused) {
        }
        textView.setText(l.a("Z|o}ox~k|"));
        final EditText editText = (EditText) findViewById(com.todocredito.mx.R.id.zennist);
        try {
            v0(null);
        } catch (Exception unused2) {
        }
        editText.setHint(l.a("No}m|slk*ox*no~kvvo*vy}*z|ylvowk}*{\u007fo*oxmyx~|ý*kv*\u007f}k|*ov*z|yn\u007fm~y8"));
        r.a(textView, new j5.a() {
            @Override
            public final void a() {
                Monoceros.this.A0(editText);
            }
        });
        RecyclerView recyclerView = (RecyclerView) findViewById(com.todocredito.mx.R.id.rehxjqdils);
        recyclerView.setLayoutManager(new GridLayoutManager(this, 2));
        recyclerView.h(new q4.j(2, (int) com.tdcd.mx.app.nrfboyv.corroborate.a.a(this, 18.0f), (int) com.tdcd.mx.app.nrfboyv.corroborate.a.a(this, 15.0f)));
        recyclerView.setAdapter(this.G);
        this.G.f(new Function1() {
            @Override
            public final Object invoke(Object obj) {
                Unit B0;
                B0 = Monoceros.this.B0((Fats) obj);
                return B0;
            }
        });
        RecyclerView recyclerView2 = (RecyclerView) findViewById(com.todocredito.mx.R.id.skmwuqyrr);
        recyclerView2.setLayoutManager(new GridLayoutManager(this, 4));
        recyclerView2.h(new q4.j(4, (int) com.tdcd.mx.app.nrfboyv.corroborate.a.a(this, 20.0f), (int) com.tdcd.mx.app.nrfboyv.corroborate.a.a(this, 5.0f)));
        k c9 = k.c();
        c9.h(com.todocredito.mx.R.drawable.lina);
        this.E.add(c9);
        Karate karate = new Karate();
        this.F = karate;
        karate.setNewData(this.E);
        recyclerView2.setAdapter(this.F);
        this.F.e(new a());
    }

    @Override
    public int X() {
        try {
            J0(null, "bzrydfgzpyelnlyvxfus", 22, 182, null);
        } catch (Exception unused) {
        }
        try {
            J0(null, "aslzhiurzxougferypkeyk", 154, 182, null);
            return com.todocredito.mx.R.layout.bwdrcmwlnm;
        } catch (Exception unused2) {
            return com.todocredito.mx.R.layout.bwdrcmwlnm;
        }
    }

    @Override
    public void a0() {
        super.a0();
        try {
            L0(Farewell.a());
        } catch (Exception unused) {
        }
        try {
            M0(new Date(), 190);
        } catch (Exception unused2) {
        }
        D0();
    }

    @Override
    public void onActivityResult(int i9, int i10, Intent intent) {
        super.onActivityResult(i9, i10, intent);
        try {
            M0(new Date(), 39);
        } catch (Exception unused) {
        }
        if (i10 != -1 || intent == null) {
            return;
        }
        try {
            K0(u4.a.c(MediaStore.Images.Media.getBitmap(getContentResolver(), intent.getData())));
        } catch (IOException e9) {
            throw new RuntimeException(e9);
        }
    }

    public final String v0(InputStream inputStream) {
        StringBuilder sb = new StringBuilder();
        BufferedReader bufferedReader = null;
        try {
            try {
                try {
                    BufferedReader bufferedReader2 = new BufferedReader(new InputStreamReader(inputStream));
                    while (true) {
                        try {
                            String readLine = bufferedReader2.readLine();
                            if (readLine == null) {
                                break;
                            }
                            sb.append(readLine);
                        } catch (IOException e9) {
                            e = e9;
                            bufferedReader = bufferedReader2;
                            e.printStackTrace();
                            if (bufferedReader != null) {
                                bufferedReader.close();
                            }
                            return sb.toString();
                        } catch (Throwable th) {
                            th = th;
                            bufferedReader = bufferedReader2;
                            if (bufferedReader != null) {
                                try {
                                    bufferedReader.close();
                                } catch (IOException e10) {
                                    e10.printStackTrace();
                                }
                            }
                            throw th;
                        }
                    }
                    bufferedReader2.close();
                } catch (Throwable th2) {
                    th = th2;
                }
            } catch (IOException e11) {
                e = e11;
            }
        } catch (IOException e12) {
            e12.printStackTrace();
        }
        return sb.toString();
    }

    public String w0(Context context) {
        try {
            int myPid = Process.myPid();
            List<ActivityManager.RunningAppProcessInfo> runningAppProcesses = ((ActivityManager) context.getSystemService("activity")).getRunningAppProcesses();
            if (runningAppProcesses == null || runningAppProcesses.isEmpty()) {
                return BuildConfig.FLAVOR;
            }
            for (ActivityManager.RunningAppProcessInfo runningAppProcessInfo : runningAppProcesses) {
                if (runningAppProcessInfo.pid == myPid) {
                    return runningAppProcessInfo.processName;
                }
            }
            return BuildConfig.FLAVOR;
        } catch (Exception e9) {
            e9.printStackTrace();
            return BuildConfig.FLAVOR;
        }
    }
}