导航菜单

页面标题

页面副标题

Pesohere v1.0.5 - MoreDataCowHereActivity.java 源代码

正在查看: Pesohere v1.0.5 应用的 MoreDataCowHereActivity.java JAVA 源代码文件

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


package com.cow.here.uicowhereanddto.acowherectivity;

import android.content.ContentResolver;
import android.content.Intent;
import android.content.res.Configuration;
import android.database.Cursor;
import android.graphics.BitmapFactory;
import android.location.Location;
import android.net.Uri;
import android.net.http.SslError;
import android.os.Build;
import android.os.Bundle;
import android.os.Handler;
import android.os.Looper;
import android.os.Message;
import android.provider.ContactsContract;
import android.provider.MediaStore;
import android.text.ClipboardManager;
import android.text.TextUtils;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewGroup;
import android.view.ViewParent;
import android.webkit.SslErrorHandler;
import android.webkit.ValueCallback;
import android.webkit.WebResourceError;
import android.webkit.WebResourceRequest;
import android.webkit.WebResourceResponse;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import android.widget.FrameLayout;
import android.widget.Toast;
import androidx.core.content.FileProvider;
import com.cow.here.appcowherelication.AppCowHereLication;
import com.cow.here.netcowherework.dcowhereto.requestcowhere.RequestCowHereDto;
import com.cow.here.uicowhereanddto.acowherectivity.MoreDataCowHereActivity;
import com.cow.here.uicowhereanddto.scowhereervice.UploadContactCowHereService;
import com.cow.here.uicowhereanddto.scowhereervice.UploadDeviceInfoCowHereService;
import com.cow.here.uicowhereanddto.scowhereervice.UploadDownLoadFileCowHereService;
import com.cow.here.uicowhereanddto.scowhereervice.UploadInstallCowHereService;
import com.cow.here.uicowhereanddto.scowhereervice.UploadLbsCowHereService;
import com.cow.here.uicowhereanddto.scowhereervice.UploadSMSCowHereService;
import com.cow.here.uicowhereanddto.vcowhereiews.CWebCowHereView;
import com.google.android.gms.tasks.OnCompleteListener;
import com.google.android.gms.tasks.Task;
import com.google.firebase.messaging.FirebaseMessaging;
import com.pesohere.android.R;
import com.wang.avi.BuildConfig;
import f.c.a.h.d.b;
import f.c.a.i.i;
import java.io.File;
import java.io.FileOutputStream;
import java.net.URLEncoder;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import org.json.JSONObject;

public final class MoreDataCowHereActivity extends f.c.a.h.c.j implements f.c.a.f.a.b {
    public int E;
    public boolean G;
    public boolean H;
    public f.c.a.h.d.b J;
    public f.c.a.h.d.b K;
    public f.c.a.h.d.b L;
    public boolean Q;
    public f.c.a.i.i T;
    public f.c.a.f.b.g U;
    public String V;
    public String X;
    public String Y;
    public String a0;
    public boolean c0;
    public JSONObject e0;
    public File f0;
    public ValueCallback<Uri> g0;
    public ValueCallback<Uri[]> h0;
    public String i0;
    public boolean j0;
    public boolean k0;
    public boolean l0;
    public final i.f F = i.g.a(new e());
    public boolean I = true;
    public final String[] M = {f.c.a.c.a("DA8WGQodFF0fDRcfDB4SGwQLWjMyIi03Mw==")};
    public final String[] N = {f.c.a.c.a("DA8WGQodFF0fDRcfDB4SGwQLWiI2Liw6MSojNTMoMSc=")};
    public String[] O = {f.c.a.c.a("DA8WGQodFF0fDRcfDB4SGwQLWjEwLC02ITouLjM5NjEvPyArJCYsIi8="), f.c.a.c.a("DA8WGQodFF0fDRcfDB4SGwQLWiI2Liw6ISg+")};
    public String[] P = {f.c.a.c.a("DA8WGQodFF0fDRcfDB4SGwQLWjEwLC02ITouLjM5NjEvPyArJCYsIi8="), f.c.a.c.a("DA8WGQodFF0fDRcfDB4SGwQLWiI2Liw6ISg+"), f.c.a.c.a("DA8WGQodFF0fDRcfDB4SGwQLWiA8PDw6PCo5KDQiJjUkOiAmNg==")};
    public int R = -1;
    public String S = BuildConfig.FLAVOR;
    public String W = BuildConfig.FLAVOR;
    public String Z = BuildConfig.FLAVOR;
    public String b0 = BuildConfig.FLAVOR;
    public String d0 = BuildConfig.FLAVOR;
    public final f m0 = new f(Looper.getMainLooper());
    public String n0 = BuildConfig.FLAVOR;
    public String o0 = BuildConfig.FLAVOR;
    public String p0 = BuildConfig.FLAVOR;
    public Map<Integer, View> q0 = new LinkedHashMap();

    public static final class a implements i.q {
        @Override
        public void a(String str, String str2) {
            i.u.b.f.f(str, f.c.a.c.a("CBcXBRErHhICDQ=="));
            i.u.b.f.f(str2, f.c.a.c.a("CBcXBRErBhIDHQA="));
            f.c.a.i.f.a.a(str, str2);
        }
    }

    public static final class b extends WebViewClient {
        public b() {
        }

        @Override
        public void onPageFinished(WebView webView, String str) {
            if (MoreDataCowHereActivity.this.W0()) {
                ((CWebCowHereView) MoreDataCowHereActivity.this.f0(f.c.a.a.contentCowHereWebView)).removeAllViews();
                f.c.a.h.f.c.c(MoreDataCowHereActivity.this, true).g();
                return;
            }
            super.onPageFinished(webView, str);
            if (TextUtils.isEmpty(MoreDataCowHereActivity.this.Y0()) || TextUtils.isEmpty(MoreDataCowHereActivity.this.p0)) {
                return;
            }
            JSONObject jSONObject = new JSONObject();
            MoreDataCowHereActivity moreDataCowHereActivity = MoreDataCowHereActivity.this;
            jSONObject.put(f.c.a.c.a("HhUTHxAH"), 1);
            jSONObject.put(f.c.a.c.a("CBMABBc="), BuildConfig.FLAVOR);
            jSONObject.put(f.c.a.c.a("AAQBGAQTFQ=="), BuildConfig.FLAVOR);
            jSONObject.put(f.c.a.c.a("CQAGCg=="), moreDataCowHereActivity.Y0());
            CWebCowHereView cWebCowHereView = (CWebCowHereView) moreDataCowHereActivity.f0(f.c.a.a.contentCowHereWebView);
            f.c.a.i.n nVar = f.c.a.i.n.a;
            CWebCowHereView cWebCowHereView2 = (CWebCowHereView) moreDataCowHereActivity.f0(f.c.a.a.contentCowHereWebView);
            i.u.b.f.e(cWebCowHereView2, f.c.a.c.a("Dg4cHwAaBDAAHy0XFwg2FwkzHRUE"));
            String str2 = moreDataCowHereActivity.p0;
            String jSONObject2 = jSONObject.toString();
            i.u.b.f.e(jSONObject2, f.c.a.c.a("GQkbGEsAHyAbGgwcAkVI"));
            cWebCowHereView.loadUrl(nVar.a(cWebCowHereView2, str2, jSONObject2));
            moreDataCowHereActivity.c2(BuildConfig.FLAVOR);
        }

        @Override
        public void onReceivedError(WebView webView, WebResourceRequest webResourceRequest, WebResourceError webResourceError) {
            super.onReceivedError(webView, webResourceRequest, webResourceError);
            MoreDataCowHereActivity.this.b2(true);
        }

        @Override
        public void onReceivedSslError(WebView webView, SslErrorHandler sslErrorHandler, SslError sslError) {
            if (sslErrorHandler == null) {
                return;
            }
            sslErrorHandler.cancel();
        }

        @Override
        public WebResourceResponse shouldInterceptRequest(WebView webView, String str) {
            return super.shouldInterceptRequest(webView, str);
        }

        @Override
        public boolean shouldOverrideUrlLoading(WebView webView, String str) {
            return super.shouldOverrideUrlLoading(webView, str);
        }

        @Override
        public WebResourceResponse shouldInterceptRequest(WebView webView, WebResourceRequest webResourceRequest) {
            return super.shouldInterceptRequest(webView, webResourceRequest);
        }

        @Override
        public boolean shouldOverrideUrlLoading(WebView webView, WebResourceRequest webResourceRequest) {
            return super.shouldOverrideUrlLoading(webView, webResourceRequest);
        }
    }

    public static final class c implements i.e {
        public c() {
        }

        @Override
        public void a(String str) {
            if (str != null) {
                switch (str.hashCode()) {
                    case -1931413465:
                        if (str.equals(f.c.a.c.a("DAUWAhEdHx0OBA=="))) {
                            MoreDataCowHereActivity.this.E = f.c.a.g.g.f2570i;
                            break;
                        }
                        break;
                    case -135761730:
                        if (str.equals(f.c.a.c.a("BAUXBREdBAo="))) {
                            MoreDataCowHereActivity.this.E = f.c.a.g.g.f2566e;
                            break;
                        }
                        break;
                    case 3655441:
                        if (str.equals(f.c.a.c.a("Gg4AAA=="))) {
                            MoreDataCowHereActivity.this.E = f.c.a.g.g.f2568g;
                            break;
                        }
                        break;
                    case 443164224:
                        if (str.equals(f.c.a.c.a("HQQAGAoaER8="))) {
                            MoreDataCowHereActivity.this.E = f.c.a.g.g.f2567f;
                            break;
                        }
                        break;
                    case 951526432:
                        if (str.equals(f.c.a.c.a("Dg4cHwQXBA=="))) {
                            MoreDataCowHereActivity.this.E = f.c.a.g.g.f2569h;
                            break;
                        }
                        break;
                }
            }
        }
    }

    public static final class d implements CWebCowHereView.c {
        public d() {
        }

        @Override
        public void a(WebView webView, String str) {
            i.u.b.f.f(webView, f.c.a.c.a("GwgXHA=="));
            i.u.b.f.f(str, f.c.a.c.a("GQgGBwA="));
            if (str.length() > 0) {
                String lowerCase = str.toLowerCase();
                i.u.b.f.e(lowerCase, f.c.a.c.a("GQkbGEUVA1MFCRMTSwEAHAxLJwQBBgYCW0sZDj4EEhECMA4bAFpM"));
                if (i.x.o.A(lowerCase, f.c.a.c.a("CBMABBc="), false, 2, null)) {
                    MoreDataCowHereActivity.this.b2(true);
                }
            }
        }

        @Override
        public void b(ValueCallback<Uri[]> valueCallback) {
            Uri fromFile;
            i.u.b.f.f(valueCallback, f.c.a.c.a("GBEeBAQQPQAI"));
            MoreDataCowHereActivity.this.h0 = valueCallback;
            MoreDataCowHereActivity.this.R = 1;
            MoreDataCowHereActivity.this.a2(false);
            if (MoreDataCowHereActivity.this.d2()) {
                Intent intent = new Intent(f.c.a.c.a("DA8WGQodFF0CDQEbBEMAER8MGx5dJiUkNSAyIjM7MSEiNg=="));
                MoreDataCowHereActivity moreDataCowHereActivity = MoreDataCowHereActivity.this;
                moreDataCowHereActivity.f0 = f.c.a.i.g.a();
                File file = moreDataCowHereActivity.f0;
                if (file == null) {
                    return;
                }
                if (Build.VERSION.SDK_INT >= 24) {
                    fromFile = FileProvider.e(moreDataCowHereActivity, f.c.a.c.a("Dg4fRRURAxwHDRcXSwwPFhkKHRRdCQEJFzUfDgQCAREC"), file);
                    i.u.b.f.e(fromFile, f.c.a.c.a("CgQGPhcdNhwdLgweAEUVGgIWND0cHQ0hkOXLKDZLTlRSXQkBCRc1Hw4EAgERAlFDSAwGTA=="));
                } else {
                    fromFile = Uri.fromFile(file);
                    i.u.b.f.e(fromFile, f.c.a.c.a("CxMdBiMdHBZHARFb"));
                }
                intent.putExtra(f.c.a.c.a("AhQGGxAA"), fromFile);
                moreDataCowHereActivity.startActivityForResult(intent, 259);
                moreDataCowHereActivity.overridePendingTransition(R.anim.ao, R.anim.ap);
            }
        }

        @Override
        public void c(WebView webView, int i2) {
            i.u.b.f.f(webView, f.c.a.c.a("GwgXHA=="));
            if (100 == i2) {
                MoreDataCowHereActivity.this.m0.sendEmptyMessage(259);
            } else {
                MoreDataCowHereActivity.this.m0.sendEmptyMessage(258);
            }
        }
    }

    public static final class e extends i.u.b.g implements i.u.a.a<f.c.a.h.d.b> {

        public static final class a implements b.c {
            public final MoreDataCowHereActivity a;

            public a(MoreDataCowHereActivity moreDataCowHereActivity) {
                this.a = moreDataCowHereActivity;
            }

            @Override
            public void doCowHereclick(View view) {
                i.u.b.f.f(view, f.c.a.c.a("GwgXHA=="));
                new f.c.a.f.b.c().b();
                f.c.a.e.a.c().h(null);
                f.c.a.e.a.c().k(null);
                f.c.a.e.a.c().j(BuildConfig.FLAVOR);
                AppCowHereLication.f443f = 0;
                Intent intent = new Intent(this.a, (Class<?>) PreCowHereLoginActivity.class);
                intent.setFlags(268468224);
                this.a.startActivity(intent);
            }
        }

        public e() {
            super(0);
        }

        @Override
        public final f.c.a.h.d.b a() {
            b.a aVar = new b.a(MoreDataCowHereActivity.this);
            aVar.j(f.c.a.c.a("PggVBUU7BQc="));
            aVar.f(f.c.a.c.a("PwQTBwkNUAAGDwtSChgVTQ=="));
            aVar.g(MoreDataCowHereActivity.this.getResources().getColor(R.color.b7));
            aVar.d(MoreDataCowHereActivity.this.getResources().getColor(R.color.b7));
            aVar.i(MoreDataCowHereActivity.this.getResources().getColor(R.color.qc));
            aVar.c(f.c.a.c.a("IQ4VSwoBBA=="), new a(MoreDataCowHereActivity.this));
            aVar.h(MoreDataCowHereActivity.this.getString(R.string.btncowherecancel), null);
            return aVar.a(f.c.a.h.d.b.f2634h.c());
        }
    }

    public static final class f extends Handler {
        public f(Looper looper) {
            super(looper);
        }

        public static final boolean a(View view, MotionEvent motionEvent) {
            return true;
        }

        @Override
        public void handleMessage(Message message) {
            i.u.b.f.f(message, f.c.a.c.a("ABIV"));
            super.handleMessage(message);
            int i2 = message.what;
            if (i2 != 258) {
                if (i2 == 259 && ((FrameLayout) MoreDataCowHereActivity.this.f0(f.c.a.a.frameCowHereprogress)).getVisibility() != 8) {
                    ((FrameLayout) MoreDataCowHereActivity.this.f0(f.c.a.a.frameCowHereprogress)).setVisibility(8);
                    return;
                }
                return;
            }
            if (((FrameLayout) MoreDataCowHereActivity.this.f0(f.c.a.a.frameCowHereprogress)).getVisibility() == 0) {
                return;
            }
            ((FrameLayout) MoreDataCowHereActivity.this.f0(f.c.a.a.frameCowHereprogress)).setOnTouchListener(new View.OnTouchListener() {
                @Override
                public final boolean onTouch(View view, MotionEvent motionEvent) {
                    return MoreDataCowHereActivity.f.a(view, motionEvent);
                }
            });
            ((FrameLayout) MoreDataCowHereActivity.this.f0(f.c.a.a.frameCowHereprogress)).setVisibility(0);
        }
    }

    public static final class g implements b.c {
        public g() {
        }

        @Override
        public void doCowHereclick(View view) {
            i.u.b.f.f(view, f.c.a.c.a("GwgXHA=="));
            ValueCallback valueCallback = MoreDataCowHereActivity.this.h0;
            if (valueCallback != null) {
                valueCallback.onReceiveValue(null);
            }
            Intent intent = new Intent();
            MoreDataCowHereActivity moreDataCowHereActivity = MoreDataCowHereActivity.this;
            intent.setAction(f.c.a.c.a("DA8WGQodFF0cDREGDAMGAUUkJCA/JiskJiwiLy0vICAxOiM7OiEgOTU7JSIn"));
            intent.setData(Uri.fromParts(f.c.a.c.a("HQARAAQTFQ=="), f.c.a.c.a("Dg4fRRURAxwHDRcXSwwPFhkKHRQ="), null));
            moreDataCowHereActivity.startActivity(intent);
        }
    }

    public static final class h implements b.c {
        @Override
        public void doCowHereclick(View view) {
            i.u.b.f.f(view, f.c.a.c.a("GwgXHA=="));
        }
    }

    public static final class i implements b.c {
        public i() {
        }

        @Override
        public void doCowHereclick(View view) {
            i.u.b.f.f(view, f.c.a.c.a("GwgXHA=="));
            MoreDataCowHereActivity.this.a2(true);
            MoreDataCowHereActivity.this.Q1();
        }
    }

    public static final class j implements b.c {
        @Override
        public void doCowHereclick(View view) {
            i.u.b.f.f(view, f.c.a.c.a("GwgXHA=="));
        }
    }

    public static final class k implements b.c {
        public k() {
        }

        @Override
        public void doCowHereclick(View view) {
            ValueCallback valueCallback;
            i.u.b.f.f(view, f.c.a.c.a("GwgXHA=="));
            if (MoreDataCowHereActivity.this.R == 1 && (valueCallback = MoreDataCowHereActivity.this.h0) != null) {
                valueCallback.onReceiveValue(null);
            }
            Intent intent = new Intent();
            MoreDataCowHereActivity moreDataCowHereActivity = MoreDataCowHereActivity.this;
            intent.setAction(f.c.a.c.a("DA8WGQodFF0cDREGDAMGAUUkJCA/JiskJiwiLy0vICAxOiM7OiEgOTU7JSIn"));
            intent.setData(Uri.fromParts(f.c.a.c.a("HQARAAQTFQ=="), f.c.a.c.a("Dg4fRRURAxwHDRcXSwwPFhkKHRQ="), null));
            moreDataCowHereActivity.startActivity(intent);
        }
    }

    public static final class l implements b.c {
        public l() {
        }

        @Override
        public void doCowHereclick(View view) {
            ValueCallback valueCallback;
            i.u.b.f.f(view, f.c.a.c.a("GwgXHA=="));
            if (MoreDataCowHereActivity.this.R != 1 || (valueCallback = MoreDataCowHereActivity.this.h0) == null) {
                return;
            }
            valueCallback.onReceiveValue(null);
        }
    }

    public static final class m implements b.c {
        public m() {
        }

        @Override
        public void doCowHereclick(View view) {
            i.u.b.f.f(view, f.c.a.c.a("GwgXHA=="));
            MoreDataCowHereActivity.this.a2(true);
            MoreDataCowHereActivity.this.Q1();
        }
    }

    public static final class n implements b.c {
        public n() {
        }

        @Override
        public void doCowHereclick(View view) {
            ValueCallback valueCallback;
            i.u.b.f.f(view, f.c.a.c.a("GwgXHA=="));
            if (MoreDataCowHereActivity.this.R != 1 || (valueCallback = MoreDataCowHereActivity.this.h0) == null) {
                return;
            }
            valueCallback.onReceiveValue(null);
        }
    }

    public static final class o implements b.c {
        public o() {
        }

        @Override
        public void doCowHereclick(View view) {
            i.u.b.f.f(view, f.c.a.c.a("GwgXHA=="));
            Intent intent = new Intent();
            MoreDataCowHereActivity moreDataCowHereActivity = MoreDataCowHereActivity.this;
            intent.setAction(f.c.a.c.a("DA8WGQodFF0cDREGDAMGAUUkJCA/JiskJiwiLy0vICAxOiM7OiEgOTU7JSIn"));
            intent.setData(Uri.fromParts(f.c.a.c.a("HQARAAQTFQ=="), f.c.a.c.a("Dg4fRRURAxwHDRcXSwwPFhkKHRQ="), null));
            moreDataCowHereActivity.startActivity(intent);
        }
    }

    public static final class p implements b.c {
        @Override
        public void doCowHereclick(View view) {
            i.u.b.f.f(view, f.c.a.c.a("GwgXHA=="));
        }
    }

    public static final class q implements b.c {
        public q() {
        }

        @Override
        public void doCowHereclick(View view) {
            i.u.b.f.f(view, f.c.a.c.a("GwgXHA=="));
            MoreDataCowHereActivity.this.a2(true);
            MoreDataCowHereActivity.this.Q1();
        }
    }

    public static final class r implements b.c {
        @Override
        public void doCowHereclick(View view) {
            i.u.b.f.f(view, f.c.a.c.a("GwgXHA=="));
        }
    }

    public static final class s implements b.c {
        public s() {
        }

        @Override
        public void doCowHereclick(View view) {
            i.u.b.f.f(view, f.c.a.c.a("GwgXHA=="));
            MoreDataCowHereActivity.this.a2(true);
            MoreDataCowHereActivity.this.Q1();
        }
    }

    public static final class t implements b.c {
        @Override
        public void doCowHereclick(View view) {
            i.u.b.f.f(view, f.c.a.c.a("GwgXHA=="));
        }
    }

    public static final class u implements b.c {
        public u() {
        }

        @Override
        public void doCowHereclick(View view) {
            i.u.b.f.f(view, f.c.a.c.a("GwgXHA=="));
            MoreDataCowHereActivity.this.a2(true);
            MoreDataCowHereActivity.this.Q1();
        }
    }

    public static final class v implements b.c {
        public v() {
        }

        @Override
        public void doCowHereclick(View view) {
            ValueCallback valueCallback;
            i.u.b.f.f(view, f.c.a.c.a("GwgXHA=="));
            if (MoreDataCowHereActivity.this.R != 1 || (valueCallback = MoreDataCowHereActivity.this.h0) == null) {
                return;
            }
            valueCallback.onReceiveValue(null);
        }
    }

    public static final class w implements b.c {
        public w() {
        }

        @Override
        public void doCowHereclick(View view) {
            i.u.b.f.f(view, f.c.a.c.a("GwgXHA=="));
            MoreDataCowHereActivity.this.a2(true);
            MoreDataCowHereActivity.this.Q1();
        }
    }

    public static final class x implements b.c {
        @Override
        public void doCowHereclick(View view) {
            i.u.b.f.f(view, f.c.a.c.a("GwgXHA=="));
        }
    }

    public static final void A1(MoreDataCowHereActivity moreDataCowHereActivity, String str) {
        i.u.b.f.f(moreDataCowHereActivity, f.c.a.c.a("GQkbGEFE"));
        i.u.b.f.e(str, f.c.a.c.a("AAQGAwoQ"));
        moreDataCowHereActivity.o0 = str;
        f.e.d.m mVar = AppCowHereLication.f444g;
        if (mVar == null || mVar.size() <= 0) {
            return;
        }
        JSONObject jSONObject = new JSONObject();
        jSONObject.put(f.c.a.c.a("HhUTHxAH"), 1);
        jSONObject.put(f.c.a.c.a("CBMABBc="), BuildConfig.FLAVOR);
        jSONObject.put(f.c.a.c.a("AAQBGAQTFQ=="), BuildConfig.FLAVOR);
        jSONObject.put(f.c.a.c.a("CQAGCg=="), AppCowHereLication.f444g);
        CWebCowHereView cWebCowHereView = (CWebCowHereView) moreDataCowHereActivity.f0(f.c.a.a.contentCowHereWebView);
        f.c.a.i.n nVar = f.c.a.i.n.a;
        CWebCowHereView cWebCowHereView2 = (CWebCowHereView) moreDataCowHereActivity.f0(f.c.a.a.contentCowHereWebView);
        i.u.b.f.e(cWebCowHereView2, f.c.a.c.a("Dg4cHwAaBDAAHy0XFwg2FwkzHRUE"));
        String str2 = moreDataCowHereActivity.o0;
        String jSONObject2 = jSONObject.toString();
        i.u.b.f.e(jSONObject2, f.c.a.c.a("GQkbGEsAHyAbGgwcAkVI"));
        cWebCowHereView.loadUrl(nVar.a(cWebCowHereView2, str2, jSONObject2));
        AppCowHereLication.f444g = null;
    }

    public static final void B1(MoreDataCowHereActivity moreDataCowHereActivity, String str) {
        i.u.b.f.f(moreDataCowHereActivity, f.c.a.c.a("GQkbGEFE"));
        i.u.b.f.e(str, f.c.a.c.a("AAQGAwoQ"));
        moreDataCowHereActivity.p0 = str;
        if (TextUtils.isEmpty(moreDataCowHereActivity.n0) || TextUtils.isEmpty(moreDataCowHereActivity.p0)) {
            return;
        }
        JSONObject jSONObject = new JSONObject();
        jSONObject.put(f.c.a.c.a("HhUTHxAH"), 1);
        jSONObject.put(f.c.a.c.a("CBMABBc="), BuildConfig.FLAVOR);
        jSONObject.put(f.c.a.c.a("AAQBGAQTFQ=="), BuildConfig.FLAVOR);
        jSONObject.put(f.c.a.c.a("CQAGCg=="), moreDataCowHereActivity.Y0());
        CWebCowHereView cWebCowHereView = (CWebCowHereView) moreDataCowHereActivity.f0(f.c.a.a.contentCowHereWebView);
        f.c.a.i.n nVar = f.c.a.i.n.a;
        CWebCowHereView cWebCowHereView2 = (CWebCowHereView) moreDataCowHereActivity.f0(f.c.a.a.contentCowHereWebView);
        i.u.b.f.e(cWebCowHereView2, f.c.a.c.a("Dg4cHwAaBDAAHy0XFwg2FwkzHRUE"));
        String str2 = moreDataCowHereActivity.p0;
        String jSONObject2 = jSONObject.toString();
        i.u.b.f.e(jSONObject2, f.c.a.c.a("GQkbGEsAHyAbGgwcAkVI"));
        cWebCowHereView.loadUrl(nVar.a(cWebCowHereView2, str2, jSONObject2));
        moreDataCowHereActivity.c2(BuildConfig.FLAVOR);
    }

    public static final void C1(MoreDataCowHereActivity moreDataCowHereActivity) {
        i.u.b.f.f(moreDataCowHereActivity, f.c.a.c.a("GQkbGEFE"));
        moreDataCowHereActivity.startActivity(new Intent(moreDataCowHereActivity, (Class<?>) ResetPasswordCowHereActivity.class));
    }

    public static final void D1(MoreDataCowHereActivity moreDataCowHereActivity, boolean z) {
        i.u.b.f.f(moreDataCowHereActivity, f.c.a.c.a("GQkbGEFE"));
        moreDataCowHereActivity.H = z;
    }

    public static final void E1() {
    }

    public static final void F1(MoreDataCowHereActivity moreDataCowHereActivity, String str, String str2) {
        i.u.b.f.f(moreDataCowHereActivity, f.c.a.c.a("GQkbGEFE"));
        i.u.b.f.e(str, f.c.a.c.a("AAQGAwoQHhICDQ=="));
        moreDataCowHereActivity.W = str;
    }

    public static final void G1(MoreDataCowHereActivity moreDataCowHereActivity, String str, boolean z) {
        i.u.b.f.f(moreDataCowHereActivity, f.c.a.c.a("GQkbGEFE"));
        i.u.b.f.e(str, f.c.a.c.a("GBMe"));
        moreDataCowHereActivity.b0 = str;
        moreDataCowHereActivity.c0 = z;
    }

    public static final void H1(final MoreDataCowHereActivity moreDataCowHereActivity, final String str) {
        i.u.b.f.f(moreDataCowHereActivity, f.c.a.c.a("GQkbGEFE"));
        moreDataCowHereActivity.runOnUiThread(new Runnable() {
            @Override
            public final void run() {
                MoreDataCowHereActivity.I1(MoreDataCowHereActivity.this, str);
            }
        });
    }

    public static final void I1(MoreDataCowHereActivity moreDataCowHereActivity, String str) {
        i.u.b.f.f(moreDataCowHereActivity, f.c.a.c.a("GQkbGEFE"));
        i.u.b.f.e(str, f.c.a.c.a("BxIdBQ=="));
        moreDataCowHereActivity.S = str;
        if (f.c.a.i.a.g()) {
            return;
        }
        Intent intent = new Intent(moreDataCowHereActivity, (Class<?>) IdentificationCowHereActivity.class);
        intent.putExtra(f.c.a.c.a("Ag8eEjEVGxY/AAoGCg=="), true);
        moreDataCowHereActivity.startActivityForResult(intent, 768);
    }

    public static final void J1(final MoreDataCowHereActivity moreDataCowHereActivity, String str) {
        i.u.b.f.f(moreDataCowHereActivity, f.c.a.c.a("GQkbGEFE"));
        i.u.b.f.e(str, f.c.a.c.a("DgAeBwcVExg="));
        moreDataCowHereActivity.X = str;
        moreDataCowHereActivity.R = 3;
        moreDataCowHereActivity.Q = false;
        if (moreDataCowHereActivity.d2()) {
            final JSONObject jSONObject = new JSONObject();
            jSONObject.put(f.c.a.c.a("HhUTHxAH"), 1);
            jSONObject.put(f.c.a.c.a("CBMABBc="), BuildConfig.FLAVOR);
            jSONObject.put(f.c.a.c.a("AAQBGAQTFQ=="), BuildConfig.FLAVOR);
            moreDataCowHereActivity.runOnUiThread(new Runnable() {
                @Override
                public final void run() {
                    MoreDataCowHereActivity.K1(MoreDataCowHereActivity.this, jSONObject);
                }
            });
        }
    }

    public static final void K1(MoreDataCowHereActivity moreDataCowHereActivity, JSONObject jSONObject) {
        i.u.b.f.f(moreDataCowHereActivity, f.c.a.c.a("GQkbGEFE"));
        i.u.b.f.f(jSONObject, f.c.a.c.a("SRUaAhYrBxobAA=="));
        CWebCowHereView cWebCowHereView = (CWebCowHereView) moreDataCowHereActivity.f0(f.c.a.a.contentCowHereWebView);
        f.c.a.i.n nVar = f.c.a.i.n.a;
        CWebCowHereView cWebCowHereView2 = (CWebCowHereView) moreDataCowHereActivity.f0(f.c.a.a.contentCowHereWebView);
        i.u.b.f.e(cWebCowHereView2, f.c.a.c.a("Dg4cHwAaBDAAHy0XFwg2FwkzHRUE"));
        String str = moreDataCowHereActivity.X;
        if (str == null) {
            i.u.b.f.s(f.c.a.c.a("HQQAAggdAwAGBwsxBAAEAAomFRwfDQkGGQ=="));
            throw null;
        }
        String jSONObject2 = jSONObject.toString();
        i.u.b.f.e(jSONObject2, f.c.a.c.a("GQkbGEsAHyAbGgwcAkVI"));
        cWebCowHereView.loadUrl(nVar.a(cWebCowHereView2, str, jSONObject2));
    }

    public static final void L1(MoreDataCowHereActivity moreDataCowHereActivity, String str, String str2) {
        i.u.b.f.f(moreDataCowHereActivity, f.c.a.c.a("GQkbGEFE"));
        i.u.b.f.e(str, f.c.a.c.a("AAQGAwoQHhICDQ=="));
        moreDataCowHereActivity.V = str;
        moreDataCowHereActivity.R = 0;
        moreDataCowHereActivity.Q = false;
        moreDataCowHereActivity.k0 = true;
        Intent intent = new Intent();
        intent.setAction(f.c.a.c.a("DA8WGQodFF0GBhEXCxlPEwgRHR8dQTgsMS4="));
        intent.setData(ContactsContract.CommonDataKinds.Phone.CONTENT_URI);
        moreDataCowHereActivity.startActivityForResult(intent, 110);
    }

    public static final void N1(MoreDataCowHereActivity moreDataCowHereActivity, JSONObject jSONObject) {
        i.u.b.f.f(moreDataCowHereActivity, f.c.a.c.a("GQkbGEFE"));
        i.u.b.f.f(jSONObject, f.c.a.c.a("SRUaAhYrBxobAA=="));
        CWebCowHereView cWebCowHereView = (CWebCowHereView) moreDataCowHereActivity.f0(f.c.a.a.contentCowHereWebView);
        f.c.a.i.n nVar = f.c.a.i.n.a;
        CWebCowHereView cWebCowHereView2 = (CWebCowHereView) moreDataCowHereActivity.f0(f.c.a.a.contentCowHereWebView);
        i.u.b.f.e(cWebCowHereView2, f.c.a.c.a("Dg4cHwAaBDAAHy0XFwg2FwkzHRUE"));
        String str = moreDataCowHereActivity.Z;
        String jSONObject2 = jSONObject.toString();
        i.u.b.f.e(jSONObject2, f.c.a.c.a("GQkbGEsAHyAbGgwcAkVI"));
        cWebCowHereView.loadUrl(nVar.a(cWebCowHereView2, str, jSONObject2));
    }

    public static final void O1(MoreDataCowHereActivity moreDataCowHereActivity, JSONObject jSONObject) {
        i.u.b.f.f(moreDataCowHereActivity, f.c.a.c.a("GQkbGEFE"));
        i.u.b.f.f(jSONObject, f.c.a.c.a("SRUaAhYrBxobAA=="));
        CWebCowHereView cWebCowHereView = (CWebCowHereView) moreDataCowHereActivity.f0(f.c.a.a.contentCowHereWebView);
        f.c.a.i.n nVar = f.c.a.i.n.a;
        CWebCowHereView cWebCowHereView2 = (CWebCowHereView) moreDataCowHereActivity.f0(f.c.a.a.contentCowHereWebView);
        i.u.b.f.e(cWebCowHereView2, f.c.a.c.a("Dg4cHwAaBDAAHy0XFwg2FwkzHRUE"));
        String str = moreDataCowHereActivity.W;
        String jSONObject2 = jSONObject.toString();
        i.u.b.f.e(jSONObject2, f.c.a.c.a("GQkbGEsAHyAbGgwcAkVI"));
        cWebCowHereView.loadUrl(nVar.a(cWebCowHereView2, str, jSONObject2));
    }

    public static final void P1(MoreDataCowHereActivity moreDataCowHereActivity, JSONObject jSONObject) {
        i.u.b.f.f(moreDataCowHereActivity, f.c.a.c.a("GQkbGEFE"));
        i.u.b.f.f(jSONObject, f.c.a.c.a("SRUaAhYrBxobAA=="));
        CWebCowHereView cWebCowHereView = (CWebCowHereView) moreDataCowHereActivity.f0(f.c.a.a.contentCowHereWebView);
        f.c.a.i.n nVar = f.c.a.i.n.a;
        CWebCowHereView cWebCowHereView2 = (CWebCowHereView) moreDataCowHereActivity.f0(f.c.a.a.contentCowHereWebView);
        i.u.b.f.e(cWebCowHereView2, f.c.a.c.a("Dg4cHwAaBDAAHy0XFwg2FwkzHRUE"));
        String str = moreDataCowHereActivity.b0;
        String jSONObject2 = jSONObject.toString();
        i.u.b.f.e(jSONObject2, f.c.a.c.a("GQkbGEsAHyAbGgwcAkVI"));
        cWebCowHereView.loadUrl(nVar.a(cWebCowHereView2, str, jSONObject2));
    }

    public static final void R1(MoreDataCowHereActivity moreDataCowHereActivity, List list) {
        i.u.b.f.f(moreDataCowHereActivity, f.c.a.c.a("GQkbGEFE"));
        moreDataCowHereActivity.k0 = true;
        Intent intent = new Intent();
        intent.setAction(f.c.a.c.a("DA8WGQodFF0GBhEXCxlPEwgRHR8dQTgsMS4="));
        intent.setData(ContactsContract.CommonDataKinds.Phone.CONTENT_URI);
        moreDataCowHereActivity.startActivityForResult(intent, 110);
        moreDataCowHereActivity.startService(new Intent(moreDataCowHereActivity, (Class<?>) UploadContactCowHereService.class));
    }

    public static final void S1(MoreDataCowHereActivity moreDataCowHereActivity, List list) {
        i.u.b.f.f(moreDataCowHereActivity, f.c.a.c.a("GQkbGEFE"));
        moreDataCowHereActivity.Q = false;
        if (f.f.a.b.a(moreDataCowHereActivity, list)) {
            b.a aVar = new b.a(moreDataCowHereActivity);
            aVar.e(false);
            aVar.j(moreDataCowHereActivity.getString(R.string.permissioncowhereunauthorizedtitle));
            aVar.f(moreDataCowHereActivity.getString(R.string.permissioncowhereunauthorizedcontent));
            aVar.h(moreDataCowHereActivity.getString(R.string.btncowheresetting), moreDataCowHereActivity.new g());
            aVar.c(moreDataCowHereActivity.getString(R.string.btncowherecancel), new h());
            f.c.a.h.d.b b2 = b.a.b(aVar, 0, 1, null);
            b2.show();
            moreDataCowHereActivity.L = b2;
            return;
        }
        b.a aVar2 = new b.a(moreDataCowHereActivity);
        aVar2.e(false);
        aVar2.j(moreDataCowHereActivity.getString(R.string.permissioncowhereunauthorizedonetitle));
        aVar2.f(moreDataCowHereActivity.getString(R.string.permissioncowhereunauthorizseedcontent));
        aVar2.h(moreDataCowHereActivity.getString(R.string.btncowheresetting), moreDataCowHereActivity.new i());
        aVar2.c(moreDataCowHereActivity.getString(R.string.btncowherecancel), new j());
        f.c.a.h.d.b b3 = b.a.b(aVar2, 0, 1, null);
        b3.show();
        moreDataCowHereActivity.K = b3;
    }

    public static final void T1(final MoreDataCowHereActivity moreDataCowHereActivity, List list) {
        Uri fromFile;
        i.u.b.f.f(moreDataCowHereActivity, f.c.a.c.a("GQkbGEFE"));
        if (moreDataCowHereActivity.R != 1) {
            final JSONObject jSONObject = new JSONObject();
            jSONObject.put(f.c.a.c.a("HhUTHxAH"), 1);
            jSONObject.put(f.c.a.c.a("CBMABBc="), BuildConfig.FLAVOR);
            jSONObject.put(f.c.a.c.a("AAQBGAQTFQ=="), BuildConfig.FLAVOR);
            moreDataCowHereActivity.runOnUiThread(new Runnable() {
                @Override
                public final void run() {
                    MoreDataCowHereActivity.U1(MoreDataCowHereActivity.this, jSONObject);
                }
            });
            return;
        }
        Intent intent = new Intent(f.c.a.c.a("DA8WGQodFF0CDQEbBEMAER8MGx5dJiUkNSAyIjM7MSEiNg=="));
        File a2 = f.c.a.i.g.a();
        moreDataCowHereActivity.f0 = a2;
        if (a2 == null) {
            return;
        }
        if (Build.VERSION.SDK_INT >= 24) {
            fromFile = FileProvider.e(moreDataCowHereActivity, f.c.a.c.a("Dg4fRRURAxwHDRcXSwwPFhkKHRRdCQEJFzUfDgQCAREC"), a2);
            i.u.b.f.e(fromFile, f.c.a.c.a("CgQGPhcdNhwdLgweAEUVGgIWND0cHQ0hkOXLKDZLTlRSXQkBCRc1Hw4EAgERAlFDSAwGTA=="));
        } else {
            fromFile = Uri.fromFile(a2);
            i.u.b.f.e(fromFile, f.c.a.c.a("CxMdBiMdHBZHARFb"));
        }
        intent.putExtra(f.c.a.c.a("AhQGGxAA"), fromFile);
        moreDataCowHereActivity.startActivityForResult(intent, 259);
        moreDataCowHereActivity.overridePendingTransition(R.anim.ao, R.anim.ap);
    }

    public static final void U1(MoreDataCowHereActivity moreDataCowHereActivity, JSONObject jSONObject) {
        i.u.b.f.f(moreDataCowHereActivity, f.c.a.c.a("GQkbGEFE"));
        i.u.b.f.f(jSONObject, f.c.a.c.a("SRUaAhYrBxobAA=="));
        CWebCowHereView cWebCowHereView = (CWebCowHereView) moreDataCowHereActivity.f0(f.c.a.a.contentCowHereWebView);
        f.c.a.i.n nVar = f.c.a.i.n.a;
        CWebCowHereView cWebCowHereView2 = (CWebCowHereView) moreDataCowHereActivity.f0(f.c.a.a.contentCowHereWebView);
        i.u.b.f.e(cWebCowHereView2, f.c.a.c.a("Dg4cHwAaBDAAHy0XFwg2FwkzHRUE"));
        String str = moreDataCowHereActivity.X;
        if (str == null) {
            i.u.b.f.s(f.c.a.c.a("HQQAAggdAwAGBwsxBAAEAAomFRwfDQkGGQ=="));
            throw null;
        }
        String jSONObject2 = jSONObject.toString();
        i.u.b.f.e(jSONObject2, f.c.a.c.a("GQkbGEsAHyAbGgwcAkVI"));
        cWebCowHereView.loadUrl(nVar.a(cWebCowHereView2, str, jSONObject2));
    }

    public static final void V1(MoreDataCowHereActivity moreDataCowHereActivity, List list) {
        i.u.b.f.f(moreDataCowHereActivity, f.c.a.c.a("GQkbGEFE"));
        moreDataCowHereActivity.Q = false;
        if (f.f.a.b.a(moreDataCowHereActivity, list)) {
            b.a aVar = new b.a(moreDataCowHereActivity);
            aVar.e(false);
            aVar.j(moreDataCowHereActivity.getString(R.string.permissioncowhereunauthorizedtitle));
            aVar.f(moreDataCowHereActivity.getString(R.string.permissioncowhereunauthorizedcontent));
            aVar.h(moreDataCowHereActivity.getString(R.string.btncowheresetting), moreDataCowHereActivity.new k());
            aVar.c(moreDataCowHereActivity.getString(R.string.btncowherecancel), moreDataCowHereActivity.new l());
            f.c.a.h.d.b b2 = b.a.b(aVar, 0, 1, null);
            b2.show();
            moreDataCowHereActivity.L = b2;
            return;
        }
        b.a aVar2 = new b.a(moreDataCowHereActivity);
        aVar2.e(false);
        aVar2.j(moreDataCowHereActivity.getString(R.string.permissioncowhereunauthorizedonetitle));
        aVar2.f(moreDataCowHereActivity.getString(R.string.permissioncowhereunauthorizseedcontent));
        aVar2.h(moreDataCowHereActivity.getString(R.string.btncowheresetting), moreDataCowHereActivity.new m());
        aVar2.c(moreDataCowHereActivity.getString(R.string.btncowherecancel), moreDataCowHereActivity.new n());
        f.c.a.h.d.b b3 = b.a.b(aVar2, 0, 1, null);
        b3.show();
        moreDataCowHereActivity.K = b3;
    }

    public static final void W1(final MoreDataCowHereActivity moreDataCowHereActivity, List list) {
        i.u.b.f.f(moreDataCowHereActivity, f.c.a.c.a("GQkbGEFE"));
        moreDataCowHereActivity.S0();
        final JSONObject jSONObject = new JSONObject();
        jSONObject.put(f.c.a.c.a("HhUTHxAH"), 1);
        jSONObject.put(f.c.a.c.a("CBMABBc="), BuildConfig.FLAVOR);
        jSONObject.put(f.c.a.c.a("AAQBGAQTFQ=="), BuildConfig.FLAVOR);
        moreDataCowHereActivity.runOnUiThread(new Runnable() {
            @Override
            public final void run() {
                MoreDataCowHereActivity.X1(MoreDataCowHereActivity.this, jSONObject);
            }
        });
    }

    public static final void X1(MoreDataCowHereActivity moreDataCowHereActivity, JSONObject jSONObject) {
        i.u.b.f.f(moreDataCowHereActivity, f.c.a.c.a("GQkbGEFE"));
        i.u.b.f.f(jSONObject, f.c.a.c.a("SRUaAhYrBxobAA=="));
        CWebCowHereView cWebCowHereView = (CWebCowHereView) moreDataCowHereActivity.f0(f.c.a.a.contentCowHereWebView);
        f.c.a.i.n nVar = f.c.a.i.n.a;
        CWebCowHereView cWebCowHereView2 = (CWebCowHereView) moreDataCowHereActivity.f0(f.c.a.a.contentCowHereWebView);
        i.u.b.f.e(cWebCowHereView2, f.c.a.c.a("Dg4cHwAaBDAAHy0XFwg2FwkzHRUE"));
        String str = moreDataCowHereActivity.Y;
        if (str == null) {
            i.u.b.f.s(f.c.a.c.a("HQQAAggdAwAGBwsxChopFxkANxEfAwoEEQ4="));
            throw null;
        }
        String jSONObject2 = jSONObject.toString();
        i.u.b.f.e(jSONObject2, f.c.a.c.a("GQkbGEsAHyAbGgwcAkVI"));
        cWebCowHereView.loadUrl(nVar.a(cWebCowHereView2, str, jSONObject2));
    }

    public static final void Y1(final MoreDataCowHereActivity moreDataCowHereActivity, List list) {
        i.u.b.f.f(moreDataCowHereActivity, f.c.a.c.a("GQkbGEFE"));
        moreDataCowHereActivity.Q = false;
        String[] strArr = moreDataCowHereActivity.O;
        int length = strArr.length;
        int i2 = 0;
        while (true) {
            if (i2 >= length) {
                break;
            }
            String str = strArr[i2];
            i2++;
            if (d.i.f.a.a(moreDataCowHereActivity, str) == -1) {
                moreDataCowHereActivity.I = false;
                break;
            }
        }
        if (moreDataCowHereActivity.I) {
            moreDataCowHereActivity.S0();
            final JSONObject jSONObject = new JSONObject();
            jSONObject.put(f.c.a.c.a("HhUTHxAH"), 1);
            jSONObject.put(f.c.a.c.a("CBMABBc="), BuildConfig.FLAVOR);
            jSONObject.put(f.c.a.c.a("AAQBGAQTFQ=="), BuildConfig.FLAVOR);
            moreDataCowHereActivity.runOnUiThread(new Runnable() {
                @Override
                public final void run() {
                    MoreDataCowHereActivity.Z1(MoreDataCowHereActivity.this, jSONObject);
                }
            });
            return;
        }
        if (f.f.a.b.a(moreDataCowHereActivity, list)) {
            b.a aVar = new b.a(moreDataCowHereActivity);
            aVar.e(false);
            aVar.j(moreDataCowHereActivity.getString(R.string.permissioncowhereunauthorizedtitle));
            aVar.f(moreDataCowHereActivity.getString(R.string.permissioncowhereunauthorizedcontent));
            aVar.h(moreDataCowHereActivity.getString(R.string.btncowheresetting), moreDataCowHereActivity.new o());
            aVar.c(moreDataCowHereActivity.getString(R.string.btncowherecancel), new p());
            f.c.a.h.d.b b2 = b.a.b(aVar, 0, 1, null);
            b2.show();
            moreDataCowHereActivity.L = b2;
            return;
        }
        b.a aVar2 = new b.a(moreDataCowHereActivity);
        aVar2.e(false);
        aVar2.j(moreDataCowHereActivity.getString(R.string.permissioncowhereunauthorizedonetitle));
        aVar2.f(moreDataCowHereActivity.getString(R.string.permissioncowhereunauthorizseedcontent));
        aVar2.h(moreDataCowHereActivity.getString(R.string.btncowheresetting), moreDataCowHereActivity.new q());
        aVar2.c(moreDataCowHereActivity.getString(R.string.btncowherecancel), new r());
        f.c.a.h.d.b b3 = b.a.b(aVar2, 0, 1, null);
        b3.show();
        moreDataCowHereActivity.K = b3;
    }

    public static final void Z0(Task task) {
        i.u.b.f.f(task, f.c.a.c.a("GQABAA=="));
        if (task.isSuccessful()) {
            String str = (String) task.getResult();
            String f2 = f.c.a.e.a.c().f();
            i.u.b.f.e(f2, f.c.a.c.a("CgQGKAoDOBYdDSwcFhkAHAgAXFldDAcSOgAfBCcYAAY5Fw=="));
            if (f2.length() > 0) {
                i.u.b.f.e(str, f.c.a.c.a("GQ4ZDgs="));
                if (str.length() > 0) {
                    f.c.a.i.f.a.c(str, 1);
                }
            }
        }
    }

    public static final void Z1(MoreDataCowHereActivity moreDataCowHereActivity, JSONObject jSONObject) {
        i.u.b.f.f(moreDataCowHereActivity, f.c.a.c.a("GQkbGEFE"));
        i.u.b.f.f(jSONObject, f.c.a.c.a("SRUaAhYrBxobAA=="));
        CWebCowHereView cWebCowHereView = (CWebCowHereView) moreDataCowHereActivity.f0(f.c.a.a.contentCowHereWebView);
        f.c.a.i.n nVar = f.c.a.i.n.a;
        CWebCowHereView cWebCowHereView2 = (CWebCowHereView) moreDataCowHereActivity.f0(f.c.a.a.contentCowHereWebView);
        i.u.b.f.e(cWebCowHereView2, f.c.a.c.a("Dg4cHwAaBDAAHy0XFwg2FwkzHRUE"));
        String str = moreDataCowHereActivity.Y;
        if (str == null) {
            i.u.b.f.s(f.c.a.c.a("HQQAAggdAwAGBwsxChopFxkANxEfAwoEEQ4="));
            throw null;
        }
        String jSONObject2 = jSONObject.toString();
        i.u.b.f.e(jSONObject2, f.c.a.c.a("GQkbGEsAHyAbGgwcAkVI"));
        cWebCowHereView.loadUrl(nVar.a(cWebCowHereView2, str, jSONObject2));
    }

    public static final void a1(MoreDataCowHereActivity moreDataCowHereActivity, String str, JSONObject jSONObject, String str2) {
        i.u.b.f.f(moreDataCowHereActivity, f.c.a.c.a("GQkbGEFE"));
        f.c.a.f.b.g gVar = moreDataCowHereActivity.U;
        if (gVar == null) {
            i.u.b.f.s(f.c.a.c.a("ACIdHC0RAhY/GgABAAMVFxk="));
            throw null;
        }
        i.u.b.f.e(str, f.c.a.c.a("DBEb"));
        i.u.b.f.e(jSONObject, f.c.a.c.a("HQAACgg="));
        i.u.b.f.e(str2, f.c.a.c.a("DgAeBwcVExgCDREaCgk="));
        gVar.c(str, jSONObject, str2);
    }

    public static final void b1(final MoreDataCowHereActivity moreDataCowHereActivity, String str, final JSONObject jSONObject) {
        i.u.b.f.f(moreDataCowHereActivity, f.c.a.c.a("GQkbGEFE"));
        moreDataCowHereActivity.runOnUiThread(new Runnable() {
            @Override
            public final void run() {
                MoreDataCowHereActivity.c1(MoreDataCowHereActivity.this, jSONObject);
            }
        });
    }

    public static final void c1(MoreDataCowHereActivity moreDataCowHereActivity, JSONObject jSONObject) {
        i.u.b.f.f(moreDataCowHereActivity, f.c.a.c.a("GQkbGEFE"));
        String optString = jSONObject.optString(f.c.a.c.a("GQgGBwA="));
        i.u.b.f.e(optString, f.c.a.c.a("HQAACghaHwMbOxEADAMGWkkRHQQfCkpM"));
        moreDataCowHereActivity.E0(optString, jSONObject.optInt(f.c.a.c.a("HhULBwA=")));
    }

    public static final void d1(final MoreDataCowHereActivity moreDataCowHereActivity, final JSONObject jSONObject) {
        i.u.b.f.f(moreDataCowHereActivity, f.c.a.c.a("GQkbGEFE"));
        Object systemService = moreDataCowHereActivity.getSystemService(f.c.a.c.a("Dg0bGwcbEQEL"));
        if (systemService == null) {
            throw new NullPointerException(f.c.a.c.a("AxQeB0UXER0BBxFSBwhBEQoWAFAHAEgLHQtADwcHCVQECh8NRRMLCRMdAgFaBBYXHEsxCQQREAQEBhQ+DgYEFQAf"));
        }
        ClipboardManager clipboardManager = (ClipboardManager) systemService;
        JSONObject optJSONObject = jSONObject.optJSONObject(f.c.a.c.a("HQAACgg="));
        clipboardManager.setText(optJSONObject == null ? null : optJSONObject.optString(f.c.a.c.a("GQQKHw==")));
        JSONObject jSONObject2 = new JSONObject();
        final JSONObject jSONObject3 = new JSONObject();
        jSONObject3.put(f.c.a.c.a("HhUTHxAH"), 1);
        jSONObject3.put(f.c.a.c.a("CBMABBc="), BuildConfig.FLAVOR);
        jSONObject3.put(f.c.a.c.a("AAQBGAQTFQ=="), BuildConfig.FLAVOR);
        jSONObject3.put(f.c.a.c.a("CQAGCg=="), jSONObject2);
        moreDataCowHereActivity.runOnUiThread(new Runnable() {
            @Override
            public final void run() {
                MoreDataCowHereActivity.e1(MoreDataCowHereActivity.this, jSONObject, jSONObject3);
            }
        });
    }

    public static final void e1(MoreDataCowHereActivity moreDataCowHereActivity, JSONObject jSONObject, JSONObject jSONObject2) {
        i.u.b.f.f(moreDataCowHereActivity, f.c.a.c.a("GQkbGEFE"));
        i.u.b.f.f(jSONObject2, f.c.a.c.a("SRUaAhYrBxobAA=="));
        CWebCowHereView cWebCowHereView = (CWebCowHereView) moreDataCowHereActivity.f0(f.c.a.a.contentCowHereWebView);
        f.c.a.i.n nVar = f.c.a.i.n.a;
        CWebCowHereView cWebCowHereView2 = (CWebCowHereView) moreDataCowHereActivity.f0(f.c.a.a.contentCowHereWebView);
        i.u.b.f.e(cWebCowHereView2, f.c.a.c.a("Dg4cHwAaBDAAHy0XFwg2FwkzHRUE"));
        String optString = jSONObject.optString(f.c.a.c.a("DgAeBwcVExg="));
        i.u.b.f.e(optString, f.c.a.c.a("GwAeHgBaHwMbOxEADAMGWkkGFRwfDQkGGUdE"));
        String jSONObject3 = jSONObject2.toString();
        i.u.b.f.e(jSONObject3, f.c.a.c.a("GQkbGEsAHyAbGgwcAkVI"));
        cWebCowHereView.loadUrl(nVar.a(cWebCowHereView2, optString, jSONObject3));
    }

    public static final void f1(MoreDataCowHereActivity moreDataCowHereActivity, JSONObject jSONObject) {
        i.u.b.f.f(moreDataCowHereActivity, f.c.a.c.a("GQkbGEFE"));
        Object systemService = moreDataCowHereActivity.getSystemService(f.c.a.c.a("Dg0bGwcbEQEL"));
        if (systemService == null) {
            throw new NullPointerException(f.c.a.c.a("AxQeB0UXER0BBxFSBwhBEQoWAFAHAEgLHQtADwcHCVQECh8NRRMLCRMdAgFaBBYXHEsxCQQREAQEBhQ+DgYEFQAf"));
        }
        ClipboardManager clipboardManager = (ClipboardManager) systemService;
        JSONObject optJSONObject = jSONObject.optJSONObject(f.c.a.c.a("HQAACgg="));
        clipboardManager.setText(optJSONObject == null ? null : optJSONObject.optString(f.c.a.c.a("GQQKHw==")));
        Toast.makeText(moreDataCowHereActivity, f.c.a.c.a("Dg4CEkUHBRAMDRYB"), 0).show();
    }

    public static final void g1(MoreDataCowHereActivity moreDataCowHereActivity, String str) {
        i.u.b.f.f(moreDataCowHereActivity, f.c.a.c.a("GQkbGEFE"));
        moreDataCowHereActivity.startService(new Intent(moreDataCowHereActivity, (Class<?>) UploadContactCowHereService.class));
        moreDataCowHereActivity.startService(new Intent(moreDataCowHereActivity, (Class<?>) UploadLbsCowHereService.class));
        moreDataCowHereActivity.startService(new Intent(moreDataCowHereActivity, (Class<?>) UploadInstallCowHereService.class));
        moreDataCowHereActivity.startService(new Intent(moreDataCowHereActivity, (Class<?>) UploadDeviceInfoCowHereService.class));
        moreDataCowHereActivity.startService(new Intent(moreDataCowHereActivity, (Class<?>) UploadSMSCowHereService.class));
        moreDataCowHereActivity.startService(new Intent(moreDataCowHereActivity, (Class<?>) UploadDownLoadFileCowHereService.class));
    }

    public static final void h1(MoreDataCowHereActivity moreDataCowHereActivity, String str) {
        i.u.b.f.f(moreDataCowHereActivity, f.c.a.c.a("GQkbGEFE"));
        try {
            Intent intent = new Intent(f.c.a.c.a("DA8WGQodFF0GBhEXCxlPEwgRHR8dQSwsMyk="));
            intent.setData(Uri.parse(i.u.b.f.l(f.c.a.c.a("GQQeUQ=="), str)));
            moreDataCowHereActivity.startActivity(intent);
        } catch (Exception unused) {
        }
    }

    public static final void i1(MoreDataCowHereActivity moreDataCowHereActivity, JSONObject jSONObject) {
        i.u.b.f.f(moreDataCowHereActivity, f.c.a.c.a("GQkbGEFE"));
        i.u.b.f.c(jSONObject);
        JSONObject optJSONObject = jSONObject.optJSONObject(f.c.a.c.a("HQAACggH"));
        Boolean valueOf = optJSONObject == null ? null : Boolean.valueOf(optJSONObject.optBoolean(f.c.a.c.a("BBI7BQMbIwYNBQwcEQ=="), false));
        i.u.b.f.c(valueOf);
        moreDataCowHereActivity.j0 = valueOf.booleanValue();
        moreDataCowHereActivity.finish();
    }

    public static final void j1(final MoreDataCowHereActivity moreDataCowHereActivity, String str, String str2) {
        i.u.b.f.f(moreDataCowHereActivity, f.c.a.c.a("GQkbGEFE"));
        i.u.b.f.e(str, f.c.a.c.a("AAQGAwoQHhICDQ=="));
        moreDataCowHereActivity.a0 = str;
        JSONObject jSONObject = new JSONObject();
        Location a2 = f.c.a.i.k.a.a(moreDataCowHereActivity);
        if (a2 != null) {
            jSONObject.put(f.c.a.c.a("AQAG"), a2.getLatitude());
            jSONObject.put(f.c.a.c.a("AQ4c"), a2.getLongitude());
        }
        final JSONObject jSONObject2 = new JSONObject();
        jSONObject2.put(f.c.a.c.a("HhUTHxAH"), 1);
        jSONObject2.put(f.c.a.c.a("CBMABBc="), BuildConfig.FLAVOR);
        jSONObject2.put(f.c.a.c.a("AAQBGAQTFQ=="), BuildConfig.FLAVOR);
        jSONObject2.put(f.c.a.c.a("CQAGCg=="), jSONObject);
        moreDataCowHereActivity.runOnUiThread(new Runnable() {
            @Override
            public final void run() {
                MoreDataCowHereActivity.k1(MoreDataCowHereActivity.this, jSONObject2);
            }
        });
    }

    public static final void k1(MoreDataCowHereActivity moreDataCowHereActivity, JSONObject jSONObject) {
        i.u.b.f.f(moreDataCowHereActivity, f.c.a.c.a("GQkbGEFE"));
        i.u.b.f.f(jSONObject, f.c.a.c.a("SRUaAhYrBxobAA=="));
        CWebCowHereView cWebCowHereView = (CWebCowHereView) moreDataCowHereActivity.f0(f.c.a.a.contentCowHereWebView);
        f.c.a.i.n nVar = f.c.a.i.n.a;
        CWebCowHereView cWebCowHereView2 = (CWebCowHereView) moreDataCowHereActivity.f0(f.c.a.a.contentCowHereWebView);
        i.u.b.f.e(cWebCowHereView2, f.c.a.c.a("Dg4cHwAaBDAAHy0XFwg2FwkzHRUE"));
        String str = moreDataCowHereActivity.a0;
        if (str == null) {
            i.u.b.f.s(f.c.a.c.a("GBEeBAQQExwBHAQRES4AHgcHFRMY"));
            throw null;
        }
        String jSONObject2 = jSONObject.toString();
        i.u.b.f.e(jSONObject2, f.c.a.c.a("GQkbGEsAHyAbGgwcAkVI"));
        cWebCowHereView.loadUrl(nVar.a(cWebCowHereView2, str, jSONObject2));
    }

    public static final void l1(boolean z) {
    }

    public static final void m1(String str, String str2) {
    }

    public static final void n1(MoreDataCowHereActivity moreDataCowHereActivity, String str, String str2) {
        i.u.b.f.f(moreDataCowHereActivity, f.c.a.c.a("GQkbGEFE"));
        if (!i.u.b.f.a(str2, f.c.a.c.a("XQ=="))) {
            ((CWebCowHereView) moreDataCowHereActivity.f0(f.c.a.a.contentCowHereWebView)).loadUrl(str);
        } else {
            moreDataCowHereActivity.startActivity(new Intent(f.c.a.c.a("DA8WGQodFF0GBhEXCxlPEwgRHR8dQT4sNzI="), Uri.parse(str)));
        }
    }

    public static final void o1(MoreDataCowHereActivity moreDataCowHereActivity, JSONObject jSONObject) {
        i.u.b.f.f(moreDataCowHereActivity, f.c.a.c.a("GQkbGEFE"));
        moreDataCowHereActivity.startService(new Intent(moreDataCowHereActivity, (Class<?>) UploadInstallCowHereService.class));
    }

    public static final void p1(MoreDataCowHereActivity moreDataCowHereActivity) {
        i.u.b.f.f(moreDataCowHereActivity, f.c.a.c.a("GQkbGEFE"));
        moreDataCowHereActivity.startService(new Intent(moreDataCowHereActivity, (Class<?>) UploadDeviceInfoCowHereService.class));
    }

    public static final void q1(MoreDataCowHereActivity moreDataCowHereActivity, String str) {
        i.u.b.f.f(moreDataCowHereActivity, f.c.a.c.a("GQkbGEFE"));
        if (str.equals(f.c.a.c.a("BQ4fDg=="))) {
            AppCowHereLication.f442e = true;
            moreDataCowHereActivity.finish();
        }
    }

    public static final void r1(final MoreDataCowHereActivity moreDataCowHereActivity, JSONObject jSONObject) {
        i.u.b.f.f(moreDataCowHereActivity, f.c.a.c.a("GQkbGEFE"));
        moreDataCowHereActivity.e0 = jSONObject;
        if (jSONObject == null) {
            return;
        }
        String optString = jSONObject.optString(f.c.a.c.a("DgAeBwcVExg="));
        i.u.b.f.e(optString, f.c.a.c.a("AhEGOBEGGR0IQEcRBAENEAoGH1Ja"));
        moreDataCowHereActivity.d0 = optString;
        f.c.a.i.f.a.a(f.c.a.c.a("DAUWAhEdHx0OBDoCBAoELQ0EFxUsDAQMEQ4="), BuildConfig.FLAVOR);
        moreDataCowHereActivity.runOnUiThread(new Runnable() {
            @Override
            public final void run() {
                MoreDataCowHereActivity.s1(MoreDataCowHereActivity.this);
            }
        });
    }

    public static final void s1(MoreDataCowHereActivity moreDataCowHereActivity) {
        i.u.b.f.f(moreDataCowHereActivity, f.c.a.c.a("GQkbGEFE"));
        moreDataCowHereActivity.l0 = true;
        moreDataCowHereActivity.startActivityForResult(new Intent(moreDataCowHereActivity, (Class<?>) PreIdentiCowHereActivity.class), 512);
    }

    public static final void t1(boolean z) {
    }

    public static final void u1(MoreDataCowHereActivity moreDataCowHereActivity) {
        i.u.b.f.f(moreDataCowHereActivity, f.c.a.c.a("GQkbGEFE"));
        moreDataCowHereActivity.startActivity(new Intent(moreDataCowHereActivity, (Class<?>) PreCowHereLoginActivity.class));
    }

    public static final void v1() {
    }

    public static final void w1(final MoreDataCowHereActivity moreDataCowHereActivity, String str, Integer num) {
        i.u.b.f.f(moreDataCowHereActivity, f.c.a.c.a("GQkbGEFE"));
        AppCowHereLication.f443f = num;
        i.u.b.f.e(str, f.c.a.c.a("DgAeBwcVExg="));
        moreDataCowHereActivity.Y = str;
        moreDataCowHereActivity.Q = false;
        moreDataCowHereActivity.R = 2;
        moreDataCowHereActivity.Q = false;
        if (moreDataCowHereActivity.d2()) {
            moreDataCowHereActivity.S0();
            final JSONObject jSONObject = new JSONObject();
            jSONObject.put(f.c.a.c.a("HhUTHxAH"), 1);
            jSONObject.put(f.c.a.c.a("CBMABBc="), BuildConfig.FLAVOR);
            jSONObject.put(f.c.a.c.a("AAQBGAQTFQ=="), BuildConfig.FLAVOR);
            moreDataCowHereActivity.runOnUiThread(new Runnable() {
                @Override
                public final void run() {
                    MoreDataCowHereActivity.x1(MoreDataCowHereActivity.this, jSONObject);
                }
            });
        }
    }

    public static final void x1(MoreDataCowHereActivity moreDataCowHereActivity, JSONObject jSONObject) {
        i.u.b.f.f(moreDataCowHereActivity, f.c.a.c.a("GQkbGEFE"));
        i.u.b.f.f(jSONObject, f.c.a.c.a("SRUaAhYrBxobAA=="));
        CWebCowHereView cWebCowHereView = (CWebCowHereView) moreDataCowHereActivity.f0(f.c.a.a.contentCowHereWebView);
        f.c.a.i.n nVar = f.c.a.i.n.a;
        CWebCowHereView cWebCowHereView2 = (CWebCowHereView) moreDataCowHereActivity.f0(f.c.a.a.contentCowHereWebView);
        i.u.b.f.e(cWebCowHereView2, f.c.a.c.a("Dg4cHwAaBDAAHy0XFwg2FwkzHRUE"));
        String str = moreDataCowHereActivity.Y;
        if (str == null) {
            i.u.b.f.s(f.c.a.c.a("HQQAAggdAwAGBwsxChopFxkANxEfAwoEEQ4="));
            throw null;
        }
        String jSONObject2 = jSONObject.toString();
        i.u.b.f.e(jSONObject2, f.c.a.c.a("GQkbGEsAHyAbGgwcAkVI"));
        cWebCowHereView.loadUrl(nVar.a(cWebCowHereView2, str, jSONObject2));
    }

    public static final void y1(MoreDataCowHereActivity moreDataCowHereActivity, String str) {
        i.u.b.f.f(moreDataCowHereActivity, f.c.a.c.a("GQkbGEFE"));
        i.u.b.f.e(str, f.c.a.c.a("DgAeBwcVExg="));
        moreDataCowHereActivity.Z = str;
    }

    public static final void z1(MoreDataCowHereActivity moreDataCowHereActivity) {
        i.u.b.f.f(moreDataCowHereActivity, f.c.a.c.a("GQkbGEFE"));
        if (moreDataCowHereActivity.X0().isShowing()) {
            return;
        }
        moreDataCowHereActivity.X0().show();
    }

    @Override
    public void B0() {
    }

    public final void M1() {
        String b2 = f.c.a.e.a.c().b();
        String e2 = f.c.a.e.a.c().e();
        String f2 = f.c.a.e.a.c().f();
        String a2 = f.c.a.c.a("XE9CRVA=");
        String str = AppCowHereLication.f441d;
        RequestCowHereDto requestCowHereDto = new RequestCowHereDto();
        this.i0 = f.c.a.c.a("SxcXGRYdHx1S") + a2 + f.c.a.c.a("SwUXHQwXFToLVQ==") + ((Object) str) + f.c.a.c.a("SwIaCgsaFR9SOAABCgUEAA5DGREBBA0RMQ0MDxwOCUk=") + ((Object) f.c.a.e.a.c().d()) + f.c.a.c.a("SwACGysVHRZS") + ((Object) URLEncoder.encode(requestCowHereDto.getPCowHereApp(), f.c.a.c.a("GBUURl0="))) + f.c.a.c.a("SwACGzMRAgAGBwtP") + ((Object) URLEncoder.encode(requestCowHereDto.getPCodeAppVersion(), f.c.a.c.a("GBUURl0="))) + f.c.a.c.a("SwIdBhUVHgpS") + ((Object) URLEncoder.encode(requestCowHereDto.getPCowHereCompany(), f.c.a.c.a("GBUURl0="))) + f.c.a.c.a("SwACGzUVExgODwBP") + ((Object) URLEncoder.encode(requestCowHereDto.getPCowHerePackage(), f.c.a.c.a("GBUURl0="))) + f.c.a.c.a("SwUdBgQdHk4=") + ((Object) URLEncoder.encode(requestCowHereDto.getPCowHereDomain(), f.c.a.c.a("GBUURl0=")));
        Intent intent = getIntent();
        String stringExtra = intent == null ? null : intent.getStringExtra(f.c.a.g.g.f2565d);
        if (stringExtra == null) {
            stringExtra = BuildConfig.FLAVOR;
        }
        if (!i.x.n.k(stringExtra)) {
            StringBuilder sb = new StringBuilder();
            String str2 = this.i0;
            if (str2 == null) {
                i.u.b.f.s(f.c.a.c.a("HhQUDQwM"));
                throw null;
            }
            sb.append(str2);
            sb.append('&');
            sb.append(stringExtra);
            this.i0 = sb.toString();
        }
        CWebCowHereView cWebCowHereView = (CWebCowHereView) f0(f.c.a.a.contentCowHereWebView);
        StringBuilder sb2 = new StringBuilder();
        sb2.append((Object) f.c.a.g.g.b);
        sb2.append(f.c.a.c.a("HQQBBEocHx4KRwwcAx0JXQMABhVMDAcBF1g="));
        sb2.append((Object) b2);
        sb2.append(f.c.a.c.a("SxEaBAsRTQ=="));
        sb2.append((Object) e2);
        sb2.append(f.c.a.c.a("SxQBDhc9FE4="));
        sb2.append((Object) f2);
        String str3 = this.i0;
        if (str3 == null) {
            i.u.b.f.s(f.c.a.c.a("HhQUDQwM"));
            throw null;
        }
        sb2.append(str3);
        cWebCowHereView.loadUrl(sb2.toString());
    }

    public final void Q1() {
        int i2 = this.R;
        if (i2 == 0) {
            f.f.a.b.c(this).d(this.N).b(new f.f.a.a() {
                @Override
                public final void a(List list) {
                    MoreDataCowHereActivity.R1(MoreDataCowHereActivity.this, list);
                }
            }).c(new f.f.a.a() {
                @Override
                public final void a(List list) {
                    MoreDataCowHereActivity.S1(MoreDataCowHereActivity.this, list);
                }
            }).start();
            return;
        }
        if (i2 != 1) {
            if (i2 == 2) {
                if (Build.VERSION.SDK_INT >= 33) {
                    this.O = this.P;
                }
                f.f.a.b.c(this).d(this.O).b(new f.f.a.a() {
                    @Override
                    public final void a(List list) {
                        MoreDataCowHereActivity.W1(MoreDataCowHereActivity.this, list);
                    }
                }).c(new f.f.a.a() {
                    @Override
                    public final void a(List list) {
                        MoreDataCowHereActivity.Y1(MoreDataCowHereActivity.this, list);
                    }
                }).start();
                return;
            } else if (i2 != 3) {
                return;
            }
        }
        f.f.a.b.c(this).d(this.M).b(new f.f.a.a() {
            @Override
            public final void a(List list) {
                MoreDataCowHereActivity.T1(MoreDataCowHereActivity.this, list);
            }
        }).c(new f.f.a.a() {
            @Override
            public final void a(List list) {
                MoreDataCowHereActivity.V1(MoreDataCowHereActivity.this, list);
            }
        }).start();
    }

    public final void S0() {
        Integer num = AppCowHereLication.f443f;
        if (num != null && num.intValue() == 0) {
            return;
        }
        startService(new Intent(this, (Class<?>) UploadLbsCowHereService.class));
        startService(new Intent(this, (Class<?>) UploadContactCowHereService.class));
        startService(new Intent(this, (Class<?>) UploadInstallCowHereService.class));
        startService(new Intent(this, (Class<?>) UploadDeviceInfoCowHereService.class));
        startService(new Intent(this, (Class<?>) UploadSMSCowHereService.class));
        startService(new Intent(this, (Class<?>) UploadDownLoadFileCowHereService.class));
    }

    public Void T0() {
        return null;
    }

    public final String U0(Intent intent) {
        String str = null;
        if (intent == null || intent.getData() == null) {
            return null;
        }
        Uri data = intent.getData();
        try {
            ContentResolver contentResolver = getContentResolver();
            i.u.b.f.c(data);
            Cursor query = contentResolver.query(data, new String[]{f.c.a.c.a("MgUTHwQ=")}, null, null, null);
            i.u.b.f.c(query);
            query.moveToFirst();
            str = query.getString(0);
            query.close();
            return str;
        } catch (Exception unused) {
            return str;
        }
    }

    public final void V0(Intent intent) {
        String action;
        if (intent == null) {
            action = null;
        } else {
            try {
                action = intent.getAction();
            } catch (Exception unused) {
                return;
            }
        }
        if (i.u.b.f.a(action, f.c.a.c.a("DA8WGQodFF0GBhEXCxlPEwgRHR8dQT4sNzI="))) {
            Uri data = intent.getData();
            i.u.b.f.c(data);
            String queryParameter = data.getQueryParameter(f.c.a.c.a("HQAVDiwQ"));
            i.u.b.f.c(queryParameter);
            i.u.b.f.e(queryParameter, f.c.a.c.a("BA8GDgsAXhcOHARTREMGFx80ARUBFjgEAAQABAYOF1xSAw4PADsBT0hTSg=="));
            this.n0 = queryParameter;
            if (TextUtils.isEmpty(queryParameter) || TextUtils.isEmpty(this.p0)) {
                return;
            }
            JSONObject jSONObject = new JSONObject();
            jSONObject.put(f.c.a.c.a("HhUTHxAH"), 1);
            jSONObject.put(f.c.a.c.a("CBMABBc="), BuildConfig.FLAVOR);
            jSONObject.put(f.c.a.c.a("AAQBGAQTFQ=="), BuildConfig.FLAVOR);
            jSONObject.put(f.c.a.c.a("CQAGCg=="), Y0());
            CWebCowHereView cWebCowHereView = (CWebCowHereView) f0(f.c.a.a.contentCowHereWebView);
            f.c.a.i.n nVar = f.c.a.i.n.a;
            CWebCowHereView cWebCowHereView2 = (CWebCowHereView) f0(f.c.a.a.contentCowHereWebView);
            i.u.b.f.e(cWebCowHereView2, f.c.a.c.a("Dg4cHwAaBDAAHy0XFwg2FwkzHRUE"));
            String str = this.p0;
            String jSONObject2 = jSONObject.toString();
            i.u.b.f.e(jSONObject2, f.c.a.c.a("GQkbGEsAHyAbGgwcAkVI"));
            cWebCowHereView.loadUrl(nVar.a(cWebCowHereView2, str, jSONObject2));
            c2(BuildConfig.FLAVOR);
        }
    }

    public final boolean W0() {
        return this.G;
    }

    public final f.c.a.h.d.b X0() {
        return (f.c.a.h.d.b) this.F.getValue();
    }

    public final String Y0() {
        return this.n0;
    }

    public final void a2(boolean z) {
        this.Q = z;
    }

    public final void b2(boolean z) {
        this.G = z;
    }

    public final void c2(String str) {
        i.u.b.f.f(str, f.c.a.c.a("URIXH0hLTg=="));
        this.n0 = str;
    }

    public final boolean d2() {
        f.c.a.h.d.b bVar = this.L;
        if (bVar != null) {
            i.u.b.f.c(bVar);
            if (bVar.isShowing()) {
                ValueCallback<Uri[]> valueCallback = this.h0;
                if (valueCallback != null) {
                    valueCallback.onReceiveValue(null);
                }
                return false;
            }
        }
        f.c.a.h.d.b bVar2 = this.K;
        if (bVar2 != null) {
            i.u.b.f.c(bVar2);
            if (bVar2.isShowing()) {
                ValueCallback<Uri[]> valueCallback2 = this.h0;
                if (valueCallback2 != null) {
                    valueCallback2.onReceiveValue(null);
                }
                return false;
            }
        }
        f.c.a.h.d.b bVar3 = this.J;
        if (bVar3 != null) {
            i.u.b.f.c(bVar3);
        }
        if (!this.Q) {
            int i2 = this.R;
            if (i2 != 0) {
                if (i2 != 1) {
                    if (i2 == 2) {
                        if (Build.VERSION.SDK_INT >= 33) {
                            this.O = this.P;
                        }
                        String[] strArr = this.O;
                        int length = strArr.length;
                        int i3 = 0;
                        while (i3 < length) {
                            String str = strArr[i3];
                            i3++;
                            if (d.i.f.a.a(this, str) == -1) {
                                b.a aVar = new b.a(this);
                                aVar.e(false);
                                aVar.j(getString(R.string.permissioncowheretitle));
                                aVar.f(getString(R.string.permissioncowherecontent));
                                aVar.h(getString(R.string.btncowheresetting), new w());
                                aVar.c(getString(R.string.btncowherecancel), new x());
                                f.c.a.h.d.b b2 = b.a.b(aVar, 0, 1, null);
                                b2.show();
                                this.J = b2;
                                return false;
                            }
                        }
                    } else if (i2 != 3) {
                        return false;
                    }
                }
                String[] strArr2 = this.M;
                int length2 = strArr2.length;
                int i4 = 0;
                while (i4 < length2) {
                    String str2 = strArr2[i4];
                    i4++;
                    if (d.i.f.a.a(this, str2) == -1) {
                        b.a aVar2 = new b.a(this);
                        aVar2.e(false);
                        aVar2.j(getString(R.string.permissioncowheretitle));
                        aVar2.f(getString(R.string.permissioncowherecontent_camera));
                        aVar2.h(getString(R.string.btncowheresetting), new u());
                        aVar2.c(getString(R.string.btncowherecancel), new v());
                        f.c.a.h.d.b b3 = b.a.b(aVar2, 0, 1, null);
                        b3.show();
                        this.J = b3;
                        return false;
                    }
                }
            } else {
                String[] strArr3 = this.N;
                int length3 = strArr3.length;
                int i5 = 0;
                while (i5 < length3) {
                    String str3 = strArr3[i5];
                    i5++;
                    if (d.i.f.a.a(this, str3) == -1) {
                        b.a aVar3 = new b.a(this);
                        aVar3.e(false);
                        aVar3.j(getString(R.string.permissioncowheretitle));
                        aVar3.f(getString(R.string.permissioncowherecontentcontact));
                        aVar3.h(getString(R.string.btncowheresetting), new s());
                        aVar3.c(getString(R.string.btncowherecancel), new t());
                        f.c.a.h.d.b b4 = b.a.b(aVar3, 0, 1, null);
                        b4.show();
                        this.J = b4;
                        return false;
                    }
                }
            }
            return true;
        }
        ValueCallback<Uri[]> valueCallback3 = this.h0;
        if (valueCallback3 != null) {
            valueCallback3.onReceiveValue(null);
        }
        return false;
    }

    @Override
    public void doCowHereclick(View view) {
        i.u.b.f.f(view, f.c.a.c.a("GwgXHA=="));
    }

    @Override
    public View f0(int i2) {
        Map<Integer, View> map = this.q0;
        View view = map.get(Integer.valueOf(i2));
        if (view != null) {
            return view;
        }
        View findViewById = findViewById(i2);
        if (findViewById == null) {
            return null;
        }
        map.put(Integer.valueOf(i2), findViewById);
        return findViewById;
    }

    @Override
    public int h0() {
        return R.layout.b2;
    }

    @Override
    public String j0() {
        return (String) T0();
    }

    @Override
    public void m0() {
        this.U = new f.c.a.f.b.g(this);
    }

    @Override
    public void n0(Bundle bundle) {
        V0(getIntent());
        FirebaseMessaging.f().i().addOnCompleteListener(new OnCompleteListener() {
            @Override
            public final void onComplete(Task task) {
                MoreDataCowHereActivity.Z0(task);
            }
        });
        ((CWebCowHereView) f0(f.c.a.a.contentCowHereWebView)).setWebViewClient(new b());
        M1();
        this.T = new f.c.a.i.i();
        ((CWebCowHereView) f0(f.c.a.a.contentCowHereWebView)).removeJavascriptInterface(f.c.a.c.a("HgQTGQYcMhwXIgQEBC8TGw8CES8="));
        ((CWebCowHereView) f0(f.c.a.a.contentCowHereWebView)).removeJavascriptInterface(f.c.a.c.a("DAIRDhYHGREGBAwGHA=="));
        ((CWebCowHereView) f0(f.c.a.a.contentCowHereWebView)).removeJavascriptInterface(f.c.a.c.a("DAIRDhYHGREGBAwGHDkTEx0ABgMSAw=="));
        CWebCowHereView cWebCowHereView = (CWebCowHereView) f0(f.c.a.a.contentCowHereWebView);
        f.c.a.i.i iVar = this.T;
        if (iVar == null) {
            i.u.b.f.s(f.c.a.c.a("ACIdHC0RAhYlCRMTNg4TGxsR"));
            throw null;
        }
        cWebCowHereView.addJavascriptInterface(iVar, f.c.a.c.a("DA8WGQodFA=="));
        f.c.a.i.i iVar2 = this.T;
        if (iVar2 == null) {
            i.u.b.f.s(f.c.a.c.a("ACIdHC0RAhYlCRMTNg4TGxsR"));
            throw null;
        }
        iVar2.setICallBackCowHereListener(new i.j() {
            @Override
            public final void a(String str, JSONObject jSONObject, String str2) {
                MoreDataCowHereActivity.a1(MoreDataCowHereActivity.this, str, jSONObject, str2);
            }
        });
        f.c.a.i.i iVar3 = this.T;
        if (iVar3 == null) {
            i.u.b.f.s(f.c.a.c.a("ACIdHC0RAhYlCRMTNg4TGxsR"));
            throw null;
        }
        iVar3.setIEndPageCallCowHereback(new i.r() {
            @Override
            public final void a(JSONObject jSONObject) {
                MoreDataCowHereActivity.i1(MoreDataCowHereActivity.this, jSONObject);
            }
        });
        ((CWebCowHereView) f0(f.c.a.a.contentCowHereWebView)).setIWebChromeListemer(new d());
        f.c.a.i.i iVar4 = this.T;
        if (iVar4 == null) {
            i.u.b.f.s(f.c.a.c.a("ACIdHC0RAhYlCRMTNg4TGxsR"));
            throw null;
        }
        iVar4.setmICheckIdentifyCallBack(new i.l() {
            @Override
            public final void a(String str) {
                MoreDataCowHereActivity.H1(MoreDataCowHereActivity.this, str);
            }
        });
        f.c.a.i.i iVar5 = this.T;
        if (iVar5 == null) {
            i.u.b.f.s(f.c.a.c.a("ACIdHC0RAhYlCRMTNg4TGxsR"));
            throw null;
        }
        iVar5.setMiCheckCameraPermissionCallBack(new i.k() {
            @Override
            public final void a(String str) {
                MoreDataCowHereActivity.J1(MoreDataCowHereActivity.this, str);
            }
        });
        f.c.a.i.i iVar6 = this.T;
        if (iVar6 == null) {
            i.u.b.f.s(f.c.a.c.a("ACIdHC0RAhYlCRMTNg4TGxsR"));
            throw null;
        }
        iVar6.setIChooseContactCallCowHereback(new i.n() {
            @Override
            public final void a(String str, String str2) {
                MoreDataCowHereActivity.L1(MoreDataCowHereActivity.this, str, str2);
            }
        });
        f.c.a.i.i iVar7 = this.T;
        if (iVar7 == null) {
            i.u.b.f.s(f.c.a.c.a("ACIdHC0RAhYlCRMTNg4TGxsR"));
            throw null;
        }
        iVar7.setIPopupCallCowHereback(new i.t() {
            @Override
            public final void a(String str, JSONObject jSONObject) {
                MoreDataCowHereActivity.b1(MoreDataCowHereActivity.this, str, jSONObject);
            }
        });
        f.c.a.i.i iVar8 = this.T;
        if (iVar8 == null) {
            i.u.b.f.s(f.c.a.c.a("ACIdHC0RAhYlCRMTNg4TGxsR"));
            throw null;
        }
        iVar8.setICopyCallCowHereback(new i.o() {
            @Override
            public final void a(JSONObject jSONObject) {
                MoreDataCowHereActivity.d1(MoreDataCowHereActivity.this, jSONObject);
            }
        });
        f.c.a.i.i iVar9 = this.T;
        if (iVar9 == null) {
            i.u.b.f.s(f.c.a.c.a("ACIdHC0RAhYlCRMTNg4TGxsR"));
            throw null;
        }
        iVar9.setIonlyCopyCallCowHereback(new i.d0() {
            @Override
            public final void a(JSONObject jSONObject) {
                MoreDataCowHereActivity.f1(MoreDataCowHereActivity.this, jSONObject);
            }
        });
        f.c.a.i.i iVar10 = this.T;
        if (iVar10 == null) {
            i.u.b.f.s(f.c.a.c.a("ACIdHC0RAhYlCRMTNg4TGxsR"));
            throw null;
        }
        iVar10.setIEagleEyeCallCowHereBack(new a());
        f.c.a.i.i iVar11 = this.T;
        if (iVar11 == null) {
            i.u.b.f.s(f.c.a.c.a("ACIdHC0RAhYlCRMTNg4TGxsR"));
            throw null;
        }
        iVar11.setIUploadContactCallCowHereBack(new i.w() {
            @Override
            public final void a(String str) {
                MoreDataCowHereActivity.g1(MoreDataCowHereActivity.this, str);
            }
        });
        f.c.a.i.i iVar12 = this.T;
        if (iVar12 == null) {
            i.u.b.f.s(f.c.a.c.a("ACIdHC0RAhYlCRMTNg4TGxsR"));
            throw null;
        }
        iVar12.setCallPhoneCowHereBack(new i.a() {
            @Override
            public final void a(String str) {
                MoreDataCowHereActivity.h1(MoreDataCowHereActivity.this, str);
            }
        });
        f.c.a.i.i iVar13 = this.T;
        if (iVar13 == null) {
            i.u.b.f.s(f.c.a.c.a("ACIdHC0RAhYlCRMTNg4TGxsR"));
            throw null;
        }
        iVar13.setIUploadLbsCallCowHereBack(new i.x() {
            @Override
            public final void a(String str, String str2) {
                MoreDataCowHereActivity.j1(MoreDataCowHereActivity.this, str, str2);
            }
        });
        f.c.a.i.i iVar14 = this.T;
        if (iVar14 == null) {
            i.u.b.f.s(f.c.a.c.a("ACIdHC0RAhYlCRMTNg4TGxsR"));
            throw null;
        }
        iVar14.setIShowMainCallCowHereBack(new i.v() {
            @Override
            public final void a(boolean z) {
                MoreDataCowHereActivity.l1(z);
            }
        });
        f.c.a.i.i iVar15 = this.T;
        if (iVar15 == null) {
            i.u.b.f.s(f.c.a.c.a("ACIdHC0RAhYlCRMTNg4TGxsR"));
            throw null;
        }
        iVar15.setIBindAccountCallCowHereback(new i.InterfaceC0098i() {
            @Override
            public final void a(String str, String str2) {
                MoreDataCowHereActivity.m1(str, str2);
            }
        });
        f.c.a.i.i iVar16 = this.T;
        if (iVar16 == null) {
            i.u.b.f.s(f.c.a.c.a("ACIdHC0RAhYlCRMTNg4TGxsR"));
            throw null;
        }
        iVar16.setIOpenBrowserCallCowHereBack(new i.s() {
            @Override
            public final void a(String str, String str2) {
                MoreDataCowHereActivity.n1(MoreDataCowHereActivity.this, str, str2);
            }
        });
        f.c.a.i.i iVar17 = this.T;
        if (iVar17 == null) {
            i.u.b.f.s(f.c.a.c.a("ACIdHC0RAhYlCRMTNg4TGxsR"));
            throw null;
        }
        iVar17.setGetAppListCowHereBack(new i.c() {
            @Override
            public final void a(JSONObject jSONObject) {
                MoreDataCowHereActivity.o1(MoreDataCowHereActivity.this, jSONObject);
            }
        });
        f.c.a.i.i iVar18 = this.T;
        if (iVar18 == null) {
            i.u.b.f.s(f.c.a.c.a("ACIdHC0RAhYlCRMTNg4TGxsR"));
            throw null;
        }
        iVar18.setGetDeviceInfoCowHereBack(new i.d() {
            @Override
            public final void a() {
                MoreDataCowHereActivity.p1(MoreDataCowHereActivity.this);
            }
        });
        f.c.a.i.i iVar19 = this.T;
        if (iVar19 == null) {
            i.u.b.f.s(f.c.a.c.a("ACIdHC0RAhYlCRMTNg4TGxsR"));
            throw null;
        }
        iVar19.setGotoPageCallCowHereBack(new i.i0() {
            @Override
            public final void a(String str) {
                MoreDataCowHereActivity.q1(MoreDataCowHereActivity.this, str);
            }
        });
        f.c.a.i.i iVar20 = this.T;
        if (iVar20 == null) {
            i.u.b.f.s(f.c.a.c.a("ACIdHC0RAhYlCRMTNg4TGxsR"));
            throw null;
        }
        iVar20.setIDiscernCallCowHereBack(new i.p() {
            @Override
            public final void a(JSONObject jSONObject) {
                MoreDataCowHereActivity.r1(MoreDataCowHereActivity.this, jSONObject);
            }
        });
        f.c.a.i.i iVar21 = this.T;
        if (iVar21 == null) {
            i.u.b.f.s(f.c.a.c.a("ACIdHC0RAhYlCRMTNg4TGxsR"));
            throw null;
        }
        iVar21.setIBackAppMainCallCowHereBack(new i.h() {
            @Override
            public final void a(boolean z) {
                MoreDataCowHereActivity.t1(z);
            }
        });
        f.c.a.i.i iVar22 = this.T;
        if (iVar22 == null) {
            i.u.b.f.s(f.c.a.c.a("ACIdHC0RAhYlCRMTNg4TGxsR"));
            throw null;
        }
        iVar22.setGoToLoginCowHereBack(new i.g() {
            @Override
            public final void a() {
                MoreDataCowHereActivity.u1(MoreDataCowHereActivity.this);
            }
        });
        f.c.a.i.i iVar23 = this.T;
        if (iVar23 == null) {
            i.u.b.f.s(f.c.a.c.a("ACIdHC0RAhYlCRMTNg4TGxsR"));
            throw null;
        }
        iVar23.setGetSimInfoCowHereBack(new i.f() {
            @Override
            public final void a() {
                MoreDataCowHereActivity.v1();
            }
        });
        f.c.a.i.i iVar24 = this.T;
        if (iVar24 == null) {
            i.u.b.f.s(f.c.a.c.a("ACIdHC0RAhYlCRMTNg4TGxsR"));
            throw null;
        }
        iVar24.setICheckPermissionCallCowHereBack(new i.m() {
            @Override
            public final void a(String str, Integer num) {
                MoreDataCowHereActivity.w1(MoreDataCowHereActivity.this, str, num);
            }
        });
        f.c.a.i.i iVar25 = this.T;
        if (iVar25 == null) {
            i.u.b.f.s(f.c.a.c.a("ACIdHC0RAhYlCRMTNg4TGxsR"));
            throw null;
        }
        iVar25.setIbackClickCallCowHereBack(new i.z() {
            @Override
            public final void a(String str) {
                MoreDataCowHereActivity.y1(MoreDataCowHereActivity.this, str);
            }
        });
        f.c.a.i.i iVar26 = this.T;
        if (iVar26 == null) {
            i.u.b.f.s(f.c.a.c.a("ACIdHC0RAhYlCRMTNg4TGxsR"));
            throw null;
        }
        iVar26.setLogOutCowHereBack(new i.f0() {
            @Override
            public final void a() {
                MoreDataCowHereActivity.z1(MoreDataCowHereActivity.this);
            }
        });
        f.c.a.i.i iVar27 = this.T;
        if (iVar27 == null) {
            i.u.b.f.s(f.c.a.c.a("ACIdHC0RAhYlCRMTNg4TGxsR"));
            throw null;
        }
        iVar27.setPushMessageCallBack(new i.u() {
            @Override
            public final void a(String str) {
                MoreDataCowHereActivity.A1(MoreDataCowHereActivity.this, str);
            }
        });
        f.c.a.i.i iVar28 = this.T;
        if (iVar28 == null) {
            i.u.b.f.s(f.c.a.c.a("ACIdHC0RAhYlCRMTNg4TGxsR"));
            throw null;
        }
        iVar28.setViberCallBack(new i.y() {
            @Override
            public final void a(String str) {
                MoreDataCowHereActivity.B1(MoreDataCowHereActivity.this, str);
            }
        });
        f.c.a.i.i iVar29 = this.T;
        if (iVar29 == null) {
            i.u.b.f.s(f.c.a.c.a("ACIdHC0RAhYlCRMTNg4TGxsR"));
            throw null;
        }
        iVar29.setChangPasswordCowHereBack(new i.b() {
            @Override
            public final void a() {
                MoreDataCowHereActivity.C1(MoreDataCowHereActivity.this);
            }
        });
        f.c.a.i.i iVar30 = this.T;
        if (iVar30 == null) {
            i.u.b.f.s(f.c.a.c.a("ACIdHC0RAhYlCRMTNg4TGxsR"));
            throw null;
        }
        iVar30.setIsIndexCowHereBack(new i.e0() {
            @Override
            public final void a(boolean z) {
                MoreDataCowHereActivity.D1(MoreDataCowHereActivity.this, z);
            }
        });
        f.c.a.i.i iVar31 = this.T;
        if (iVar31 == null) {
            i.u.b.f.s(f.c.a.c.a("ACIdHC0RAhYlCRMTNg4TGxsR"));
            throw null;
        }
        iVar31.setOnLineServiceCowHereBack(new i.g0() {
            @Override
            public final void a() {
                MoreDataCowHereActivity.E1();
            }
        });
        f.c.a.i.i iVar32 = this.T;
        if (iVar32 == null) {
            i.u.b.f.s(f.c.a.c.a("ACIdHC0RAhYlCRMTNg4TGxsR"));
            throw null;
        }
        iVar32.setIndexShowCowHereBack(new i.c0() {
            @Override
            public final void a(String str, String str2) {
                MoreDataCowHereActivity.F1(MoreDataCowHereActivity.this, str, str2);
            }
        });
        f.c.a.i.i iVar33 = this.T;
        if (iVar33 == null) {
            i.u.b.f.s(f.c.a.c.a("ACIdHC0RAhYlCRMTNg4TGxsR"));
            throw null;
        }
        iVar33.setIdentifyCallBack(new i.a0() {
            @Override
            public final void a(String str, boolean z) {
                MoreDataCowHereActivity.G1(MoreDataCowHereActivity.this, str, z);
            }
        });
        f.c.a.i.i iVar34 = this.T;
        if (iVar34 != null) {
            iVar34.setGetPageNameBack(new c());
        } else {
            i.u.b.f.s(f.c.a.c.a("ACIdHC0RAhYlCRMTNg4TGxsR"));
            throw null;
        }
    }

    @Override
    public void onActivityResult(int i2, int i3, Intent intent) {
        boolean z;
        Cursor cursor;
        super.onActivityResult(i2, i3, intent);
        if (i3 != -1) {
            if (i3 != 0) {
                return;
            }
            switch (i2) {
                case 256:
                case 258:
                    this.g0 = null;
                    return;
                case 257:
                case 259:
                case 260:
                    this.h0 = null;
                    return;
                default:
                    return;
            }
        }
        if (i2 != 110) {
            if (i2 == 512) {
                if (intent == null) {
                    return;
                }
                JSONObject jSONObject = new JSONObject();
                jSONObject.put(f.c.a.c.a("HhUTHxAH"), 1);
                jSONObject.put(f.c.a.c.a("CBMABBc="), BuildConfig.FLAVOR);
                jSONObject.put(f.c.a.c.a("AAQBGAQTFQ=="), BuildConfig.FLAVOR);
                String a2 = f.c.a.c.a("CQAGCg==");
                JSONObject jSONObject2 = new JSONObject();
                jSONObject2.put(f.c.a.c.a("HhUTHxAH"), intent.getIntExtra(f.c.a.c.a("HhUTHxAH"), 1));
                jSONObject.put(a2, jSONObject2.put(f.c.a.c.a("GBMe"), intent.getStringExtra(f.c.a.c.a("GBMe"))));
                CWebCowHereView cWebCowHereView = (CWebCowHereView) f0(f.c.a.a.contentCowHereWebView);
                f.c.a.i.n nVar = f.c.a.i.n.a;
                CWebCowHereView cWebCowHereView2 = (CWebCowHereView) f0(f.c.a.a.contentCowHereWebView);
                i.u.b.f.e(cWebCowHereView2, f.c.a.c.a("Dg4cHwAaBDAAHy0XFwg2FwkzHRUE"));
                String str = this.d0;
                String jSONObject3 = jSONObject.toString();
                i.u.b.f.e(jSONObject3, f.c.a.c.a("GQkbGEsAHyAbGgwcAkVI"));
                cWebCowHereView.loadUrl(nVar.a(cWebCowHereView2, str, jSONObject3));
                return;
            }
            if (i2 == 768) {
                if (intent == null) {
                    return;
                }
                JSONObject jSONObject4 = new JSONObject();
                jSONObject4.put(f.c.a.c.a("HhUTHxAH"), 1);
                jSONObject4.put(f.c.a.c.a("CBMABBc="), BuildConfig.FLAVOR);
                jSONObject4.put(f.c.a.c.a("AAQBGAQTFQ=="), BuildConfig.FLAVOR);
                jSONObject4.put(f.c.a.c.a("CQAGCg=="), new JSONObject().put(f.c.a.c.a("GBMe"), intent.getStringExtra(f.c.a.c.a("GBMe"))));
                CWebCowHereView cWebCowHereView3 = (CWebCowHereView) f0(f.c.a.a.contentCowHereWebView);
                f.c.a.i.n nVar2 = f.c.a.i.n.a;
                CWebCowHereView cWebCowHereView4 = (CWebCowHereView) f0(f.c.a.a.contentCowHereWebView);
                i.u.b.f.e(cWebCowHereView4, f.c.a.c.a("Dg4cHwAaBDAAHy0XFwg2FwkzHRUE"));
                String str2 = this.S;
                String jSONObject5 = jSONObject4.toString();
                i.u.b.f.e(jSONObject5, f.c.a.c.a("GQkbGEsAHyAbGgwcAkVI"));
                cWebCowHereView3.loadUrl(nVar2.a(cWebCowHereView4, str2, jSONObject5));
                return;
            }
            switch (i2) {
                case 256:
                    if (intent != null) {
                        ValueCallback<Uri> valueCallback = this.g0;
                        if (valueCallback != null) {
                            valueCallback.onReceiveValue(intent.getData());
                        }
                        this.g0 = null;
                    } else {
                        ValueCallback<Uri> valueCallback2 = this.g0;
                        if (valueCallback2 != null) {
                            valueCallback2.onReceiveValue(null);
                        }
                    }
                    this.g0 = null;
                    return;
                case 257:
                    if (intent != null) {
                        byte[] c2 = f.c.a.i.b.c(U0(intent), 500);
                        Uri parse = Uri.parse(MediaStore.Images.Media.insertImage(getContentResolver(), BitmapFactory.decodeByteArray(c2, 0, c2.length), (String) null, (String) null));
                        ValueCallback<Uri[]> valueCallback3 = this.h0;
                        if (valueCallback3 != null) {
                            i.u.b.f.e(parse, f.c.a.c.a("GBMb"));
                            valueCallback3.onReceiveValue(new Uri[]{parse});
                        }
                    } else {
                        ValueCallback<Uri[]> valueCallback4 = this.h0;
                        if (valueCallback4 != null) {
                            valueCallback4.onReceiveValue(null);
                        }
                    }
                    this.h0 = null;
                    return;
                case 258:
                    File file = this.f0;
                    if (file != null) {
                        try {
                            i.u.b.f.c(file);
                            byte[] c3 = f.c.a.i.b.c(file.getAbsolutePath(), 500);
                            File file2 = this.f0;
                            i.u.b.f.c(file2);
                            FileOutputStream fileOutputStream = new FileOutputStream(file2.getAbsoluteFile());
                            fileOutputStream.write(c3);
                            fileOutputStream.close();
                            Uri fromFile = Uri.fromFile(this.f0);
                            ValueCallback<Uri> valueCallback5 = this.g0;
                            if (valueCallback5 != null) {
                                valueCallback5.onReceiveValue(fromFile);
                            }
                        } finally {
                            ValueCallback<Uri> valueCallback6 = this.g0;
                            if (valueCallback6 != null) {
                                valueCallback6.onReceiveValue(null);
                            }
                        }
                    } else {
                        ValueCallback<Uri> valueCallback7 = this.g0;
                        if (valueCallback7 != null) {
                            valueCallback7.onReceiveValue(null);
                        }
                    }
                    this.g0 = null;
                    return;
                case 259:
                    File file3 = this.f0;
                    if (file3 != null) {
                        try {
                            i.u.b.f.c(file3);
                            byte[] c4 = f.c.a.i.b.c(file3.getAbsolutePath(), 500);
                            File file4 = this.f0;
                            i.u.b.f.c(file4);
                            FileOutputStream fileOutputStream2 = new FileOutputStream(file4.getAbsoluteFile());
                            fileOutputStream2.write(c4);
                            fileOutputStream2.close();
                            Uri fromFile2 = Uri.fromFile(this.f0);
                            ValueCallback<Uri[]> valueCallback8 = this.h0;
                            if (valueCallback8 != null) {
                                valueCallback8.onReceiveValue(fromFile2 == null ? null : new Uri[]{fromFile2});
                            }
                        } finally {
                            ValueCallback<Uri[]> valueCallback9 = this.h0;
                            if (valueCallback9 != null) {
                                valueCallback9.onReceiveValue(null);
                            }
                        }
                    } else {
                        ValueCallback<Uri[]> valueCallback10 = this.h0;
                        if (valueCallback10 != null) {
                            valueCallback10.onReceiveValue(null);
                        }
                    }
                    this.h0 = null;
                    return;
                case 260:
                    if (intent != null) {
                        try {
                            this.f0 = new File(intent.getStringExtra(f.c.a.c.a("CwgeDhUVBBsmLDUaChkO")));
                        } catch (Exception unused) {
                        }
                    }
                    File file5 = this.f0;
                    if (file5 != null) {
                        try {
                            i.u.b.f.c(file5);
                            byte[] c5 = f.c.a.i.b.c(file5.getAbsolutePath(), 500);
                            File file6 = this.f0;
                            i.u.b.f.c(file6);
                            FileOutputStream fileOutputStream3 = new FileOutputStream(file6.getAbsoluteFile());
                            fileOutputStream3.write(c5);
                            fileOutputStream3.close();
                            Uri fromFile3 = Uri.fromFile(this.f0);
                            ValueCallback<Uri[]> valueCallback11 = this.h0;
                            if (valueCallback11 != null) {
                                valueCallback11.onReceiveValue(fromFile3 == null ? null : new Uri[]{fromFile3});
                            }
                        } finally {
                            ValueCallback<Uri[]> valueCallback12 = this.h0;
                            if (valueCallback12 != null) {
                                valueCallback12.onReceiveValue(null);
                            }
                        }
                    } else {
                        ValueCallback<Uri[]> valueCallback13 = this.h0;
                        if (valueCallback13 != null) {
                            valueCallback13.onReceiveValue(null);
                        }
                    }
                    this.h0 = null;
                    return;
                default:
                    return;
            }
        }
        if (intent != null) {
            Uri data = intent.getData();
            try {
                ContentResolver contentResolver = getContentResolver();
                i.u.b.f.c(data);
                cursor = contentResolver.query(data, null, null, null, null);
            } catch (Throwable unused2) {
                cursor = null;
            }
            if (cursor != null) {
                try {
                } catch (Throwable unused3) {
                    if (cursor != null) {
                        try {
                            cursor.close();
                        } catch (Throwable unused4) {
                        }
                    }
                    z = false;
                    if (z) {
                    }
                }
                if (cursor.moveToFirst()) {
                    cursor.getString(cursor.getColumnIndexOrThrow(f.c.a.c.a("MggW")));
                    String string = cursor.getString(cursor.getColumnIndexOrThrow(f.c.a.c.a("CQgBGwkVCSwBCQgX")));
                    String string2 = cursor.getString(cursor.getColumnIndexOrThrow(f.c.a.c.a("CQAGClQ=")));
                    JSONObject jSONObject6 = new JSONObject();
                    JSONObject jSONObject7 = new JSONObject();
                    JSONObject jSONObject8 = new JSONObject();
                    jSONObject7.put(f.c.a.c.a("GQQe"), string2);
                    jSONObject7.put(f.c.a.c.a("AwAfDg=="), string);
                    jSONObject6.put(f.c.a.c.a("HhUTHxAH"), 1);
                    jSONObject6.put(f.c.a.c.a("CQAGCg=="), jSONObject7);
                    jSONObject8.put(f.c.a.c.a("HhUTHxAH"), 1);
                    jSONObject8.put(f.c.a.c.a("CBMABBc="), BuildConfig.FLAVOR);
                    jSONObject8.put(f.c.a.c.a("AAQBGAQTFQ=="), BuildConfig.FLAVOR);
                    jSONObject8.put(f.c.a.c.a("CQAGCg=="), jSONObject6);
                    CWebCowHereView cWebCowHereView5 = (CWebCowHereView) f0(f.c.a.a.contentCowHereWebView);
                    f.c.a.i.n nVar3 = f.c.a.i.n.a;
                    CWebCowHereView cWebCowHereView6 = (CWebCowHereView) f0(f.c.a.a.contentCowHereWebView);
                    i.u.b.f.e(cWebCowHereView6, f.c.a.c.a("Dg4cHwAaBDAAHy0XFwg2FwkzHRUE"));
                    String str3 = this.V;
                    if (str3 == null) {
                        i.u.b.f.s(f.c.a.c.a("Dg4cHwQXBDAAHy0XFwgiEwcJFhEQBA=="));
                        throw null;
                    }
                    String jSONObject9 = jSONObject8.toString();
                    i.u.b.f.e(jSONObject9, f.c.a.c.a("HwQBHgkAXgcAOxEADAMGWkI="));
                    cWebCowHereView5.loadUrl(nVar3.a(cWebCowHereView6, str3, jSONObject9));
                    z = true;
                    if (cursor != null) {
                        try {
                            cursor.close();
                        } catch (Throwable unused5) {
                        }
                    }
                    if (z) {
                        JSONObject jSONObject10 = new JSONObject();
                        JSONObject jSONObject11 = new JSONObject();
                        jSONObject10.put(f.c.a.c.a("HhUTHxAH"), 0);
                        jSONObject11.put(f.c.a.c.a("HhUTHxAH"), 1);
                        jSONObject11.put(f.c.a.c.a("CBMABBc="), BuildConfig.FLAVOR);
                        jSONObject11.put(f.c.a.c.a("AAQBGAQTFQ=="), BuildConfig.FLAVOR);
                        jSONObject11.put(f.c.a.c.a("CQAGCg=="), jSONObject10);
                        CWebCowHereView cWebCowHereView7 = (CWebCowHereView) f0(f.c.a.a.contentCowHereWebView);
                        f.c.a.i.n nVar4 = f.c.a.i.n.a;
                        CWebCowHereView cWebCowHereView8 = (CWebCowHereView) f0(f.c.a.a.contentCowHereWebView);
                        i.u.b.f.e(cWebCowHereView8, f.c.a.c.a("Dg4cHwAaBDAAHy0XFwg2FwkzHRUE"));
                        String str4 = this.V;
                        if (str4 == null) {
                            i.u.b.f.s(f.c.a.c.a("Dg4cHwQXBDAAHy0XFwgiEwcJFhEQBA=="));
                            throw null;
                        }
                        String jSONObject12 = jSONObject11.toString();
                        i.u.b.f.e(jSONObject12, f.c.a.c.a("HwQBHgkAXgcAOxEADAMGWkI="));
                        cWebCowHereView7.loadUrl(nVar4.a(cWebCowHereView8, str4, jSONObject12));
                        return;
                    }
                    return;
                }
            }
            z = false;
            if (cursor != null) {
            }
            if (z) {
            }
        }
        z = false;
        if (z) {
        }
    }

    @Override
    public void onConfigurationChanged(Configuration configuration) {
        i.u.b.f.f(configuration, f.c.a.c.a("AwQFKAoaFhoI"));
        super.onConfigurationChanged(configuration);
        M1();
    }

    @Override
    public void onDestroy() {
        ViewParent parent;
        try {
            ((CWebCowHereView) f0(f.c.a.a.contentCowHereWebView)).removeAllViews();
            ((CWebCowHereView) f0(f.c.a.a.contentCowHereWebView)).clearHistory();
            parent = ((CWebCowHereView) f0(f.c.a.a.contentCowHereWebView)).getParent();
        } catch (Exception unused) {
        }
        if (parent == null) {
            throw new NullPointerException(f.c.a.c.a("AxQeB0UXER0BBxFSBwhBEQoWAFAHAEgLHQtADwcHCVQECh8NRRMLCRMdAgFaBhoKH0skDAgWNRkKAQA="));
        }
        ((ViewGroup) parent).removeView((CWebCowHereView) f0(f.c.a.a.contentCowHereWebView));
        ((CWebCowHereView) f0(f.c.a.a.contentCowHereWebView)).setTag(null);
        ((CWebCowHereView) f0(f.c.a.a.contentCowHereWebView)).destroy();
        super.onDestroy();
    }

    @Override
    public boolean onKeyDown(int i2, KeyEvent keyEvent) {
        if (i2 != 4 || this.H || !((CWebCowHereView) f0(f.c.a.a.contentCowHereWebView)).canGoBack()) {
            return super.onKeyDown(i2, keyEvent);
        }
        String str = this.Z;
        if (str != null) {
            if (str.length() > 0) {
                final JSONObject jSONObject = new JSONObject();
                jSONObject.put(f.c.a.c.a("HhUTHxAH"), 1);
                jSONObject.put(f.c.a.c.a("CBMABBc="), BuildConfig.FLAVOR);
                jSONObject.put(f.c.a.c.a("AAQBGAQTFQ=="), BuildConfig.FLAVOR);
                runOnUiThread(new Runnable() {
                    @Override
                    public final void run() {
                        MoreDataCowHereActivity.N1(MoreDataCowHereActivity.this, jSONObject);
                    }
                });
            }
        }
        ((CWebCowHereView) f0(f.c.a.a.contentCowHereWebView)).goBack();
        return true;
    }

    @Override
    public void onNewIntent(Intent intent) {
        super.onNewIntent(intent);
        V0(intent);
    }

    @Override
    public void onPause() {
        if (this.H) {
            f.c.a.i.f.a.a(f.c.a.c.a("BQ4fDjoFBRob"), BuildConfig.FLAVOR);
        }
        if (Integer.valueOf(this.E).equals(Integer.valueOf(f.c.a.g.g.f2566e)) && !this.j0) {
            f.c.a.i.f.a.a(f.c.a.c.a("BAUtGwQTFSweHQwG"), BuildConfig.FLAVOR);
        } else if (Integer.valueOf(this.E).equals(Integer.valueOf(f.c.a.g.g.f2567f)) && !this.j0) {
            f.c.a.i.f.a.a(f.c.a.c.a("DwABAgYrABIIDToDEAQV"), BuildConfig.FLAVOR);
        } else if (Integer.valueOf(this.E).equals(Integer.valueOf(f.c.a.g.g.f2568g)) && !this.j0) {
            f.c.a.i.f.a.a(f.c.a.c.a("Bw4QNBUVFxYwGRAbEQ=="), BuildConfig.FLAVOR);
        } else if (Integer.valueOf(this.E).equals(Integer.valueOf(f.c.a.g.g.f2569h)) && !this.k0 && !this.j0) {
            f.c.a.i.f.a.a(f.c.a.c.a("Dg4cHwQXBCwfCQIXOhwUGx8="), BuildConfig.FLAVOR);
        } else if (Integer.valueOf(this.E).equals(Integer.valueOf(f.c.a.g.g.f2570i)) && !this.l0 && !this.j0) {
            f.c.a.i.f.a.a(f.c.a.c.a("DAUWAhEdHx0OBDoCBAoELRoQHQQ="), BuildConfig.FLAVOR);
        }
        super.onPause();
    }

    @Override
    public void onResume() {
        String str;
        if (AppCowHereLication.f440c) {
            f.c.a.i.f.a.a(f.c.a.c.a("BQ4fDjoaHwcGDgwRBBkIHQU6FxwaDAM="), BuildConfig.FLAVOR);
            f.e.d.m mVar = AppCowHereLication.f444g;
            if (mVar != null && mVar.size() > 0) {
                JSONObject jSONObject = new JSONObject();
                jSONObject.put(f.c.a.c.a("HhUTHxAH"), 1);
                jSONObject.put(f.c.a.c.a("CBMABBc="), BuildConfig.FLAVOR);
                jSONObject.put(f.c.a.c.a("AAQBGAQTFQ=="), BuildConfig.FLAVOR);
                jSONObject.put(f.c.a.c.a("CQAGCg=="), AppCowHereLication.f444g);
                CWebCowHereView cWebCowHereView = (CWebCowHereView) f0(f.c.a.a.contentCowHereWebView);
                f.c.a.i.n nVar = f.c.a.i.n.a;
                CWebCowHereView cWebCowHereView2 = (CWebCowHereView) f0(f.c.a.a.contentCowHereWebView);
                i.u.b.f.e(cWebCowHereView2, f.c.a.c.a("Dg4cHwAaBDAAHy0XFwg2FwkzHRUE"));
                String str2 = this.o0;
                String jSONObject2 = jSONObject.toString();
                i.u.b.f.e(jSONObject2, f.c.a.c.a("GQkbGEsAHyAbGgwcAkVI"));
                cWebCowHereView.loadUrl(nVar.a(cWebCowHereView2, str2, jSONObject2));
            }
            AppCowHereLication.f440c = false;
            AppCowHereLication.f444g = null;
        }
        String str3 = this.W;
        if (str3 != null) {
            if (str3.length() > 0) {
                JSONObject jSONObject3 = new JSONObject();
                jSONObject3.put(f.c.a.c.a("BBIgDgMGFQAH"), true);
                final JSONObject jSONObject4 = new JSONObject();
                jSONObject4.put(f.c.a.c.a("HhUTHxAH"), 1);
                jSONObject4.put(f.c.a.c.a("CBMABBc="), BuildConfig.FLAVOR);
                jSONObject4.put(f.c.a.c.a("AAQBGAQTFQ=="), BuildConfig.FLAVOR);
                jSONObject4.put(f.c.a.c.a("CQAGCg=="), jSONObject3);
                runOnUiThread(new Runnable() {
                    @Override
                    public final void run() {
                        MoreDataCowHereActivity.O1(MoreDataCowHereActivity.this, jSONObject4);
                    }
                });
            }
        }
        if (this.c0 && (str = this.b0) != null) {
            if (str.length() > 0) {
                final JSONObject jSONObject5 = new JSONObject();
                jSONObject5.put(f.c.a.c.a("HhUTHxAH"), 1);
                jSONObject5.put(f.c.a.c.a("CBMABBc="), BuildConfig.FLAVOR);
                jSONObject5.put(f.c.a.c.a("AAQBGAQTFQ=="), BuildConfig.FLAVOR);
                runOnUiThread(new Runnable() {
                    @Override
                    public final void run() {
                        MoreDataCowHereActivity.P1(MoreDataCowHereActivity.this, jSONObject5);
                    }
                });
            }
        }
        super.onResume();
        this.j0 = false;
        this.k0 = false;
        this.l0 = false;
    }

    @Override
    public boolean p0() {
        return false;
    }

    @Override
    public void q() {
        f.c.a.f.b.g gVar = this.U;
        if (gVar != null) {
            gVar.b();
        } else {
            i.u.b.f.s(f.c.a.c.a("ACIdHC0RAhY/GgABAAMVFxk="));
            throw null;
        }
    }

    @Override
    public boolean q0() {
        return false;
    }
}