JieJing Cleaner v1.4.2版本的 MD5 值为:a574eea9fb07160f0bbb08ba0adf1c62

以下内容为反编译后的 L1L1LL1L1Lll1l1L.java 源代码,内容仅作参考


package l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L;

import android.app.Activity;
import android.content.Context;
import android.os.SystemClock;
import android.text.TextUtils;
import com.baidu.mobads.sdk.internal.ae;
import com.baidu.mobads.sdk.internal.bf;
import com.bytedance.frameworks.core.encrypt.RequestEncryptUtils;
import com.bytedance.sdk.openadsdk.api.plugin.PluginConstants;
import com.umeng.commonsdk.internal.utils.e;
import java.io.BufferedInputStream;
import java.io.BufferedReader;
import java.io.ByteArrayOutputStream;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.lang.ref.WeakReference;
import java.net.ConnectException;
import java.net.HttpURLConnection;
import java.net.SocketTimeoutException;
import java.net.URL;
import java.net.UnknownHostException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import java.util.zip.GZIPInputStream;
import java.util.zip.GZIPOutputStream;
import l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.L1L1L1Ll1l1L1l1l11L;
import l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.Ll1lLl1l1LL1l1Ll;
import l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.L1Lll1l1l1l1l1l;
import org.apache.http.conn.ConnectTimeoutException;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
public abstract class L1L1LL1L1Lll1l1L {
    public List<L1L1L1Ll1l1L1l1l11L.L1L1l1lL1l1l1Ll11L> L1L1LL1L1Lll1l1L;
    public int L1L1ll1l1l1l1lL1;
    public String L1Ll1ll1L1ll1L;
    public String L1Ll1ll1Ll1lL1Ll1ll;
    public l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1L1Ll1l1L1l1l11L.l1L1L1L1L1l1LLL1LL1ll L1Lll1l1l1l1l1l;
    public long L1Lll1ll1Ll1ll1L;
    public boolean L1Lll1llL1Ll1ll;
    public ConcurrentHashMap<String, L1L1L1Ll1l1L1l1l11L.L1L1l1lL1l1l1Ll11L> g;
    public boolean f7290h;
    public boolean f7291i;
    public boolean j;
    public double k;
    public L1L1L1Ll1l1L1l1l11L.L1L1l1lL1l1l1Ll11L l;
    public int f7292l1L1L1L1L1l1LLL1LL1ll;
    public int l1l1l1LL1ll1Ll1lL;
    public WeakReference<Context> f7294l1l1l1l1LL1L1l1lL1l;
    public int l1ll1Lll1ll1Ll1;
    public String l1llL1L1Ll1lL1Ll;
    public double n;
    public final String f7289Ll1lLl1l1LL1l1Ll = getClass().getSimpleName();
    public String f7284L1L1L1Ll1l1L1l1l11L = "";
    public boolean f7285L1L1l1lL1l1l1Ll11L = false;
    public boolean f7288Ll1l1L1L1L1l1L1l = false;
    public boolean f7287L1LllLll1ll1LLll1 = false;
    public boolean f7286L1LLLll1llLLl = false;
    public boolean f7293l1Ll1llLLl1ll1l1l1l1l1l = false;
    public Object a = new Object();
    public Runnable m = new Ll1lLl1l1LL1l1Ll();
    public boolean o = false;
    public Context f7295lilil1liLi1lLL1l1l = l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l().f7646lilil1liLi1lLL1l1l;
    public List<L1L1L1Ll1l1L1l1l11L.L1L1l1lL1l1l1Ll11L> L1Ll1ll1L1L1ll1l = l1L1L1L1L1l1LLL1LL1ll.lilil1liLi1lLL1l1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll();
    public List<L1L1L1Ll1l1L1l1l11L.L1L1l1lL1l1l1Ll11L> l1llL1Ll1lL1Ll = l1L1L1L1L1l1LLL1LL1ll.lilil1liLi1lLL1l1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll();
    public List<L1L1L1Ll1l1L1l1l11L.L1L1l1lL1l1l1Ll11L> L1Lll1lll1LlL1L11l = l1L1L1L1L1l1LLL1LL1ll.lilil1liLi1lLL1l1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll();
    public List<L1L1L1Ll1l1L1l1l11L.L1L1l1lL1l1l1Ll11L> L1Lll1lll1llL = l1L1L1L1L1l1LLL1LL1ll.lilil1liLi1lLL1l1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll();
    public HashMap<String, Long> b = new HashMap<>();
    public HashMap<String, Runnable> c = new HashMap<>();
    public HashMap<String, Runnable> d = new HashMap<>();
    public Map<String, L1L1L1Ll1l1L1l1l11L> e = new ConcurrentHashMap();
    public ConcurrentHashMap<String, l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll> f = new ConcurrentHashMap<>(5);
    public L1Lll1l1l1l1l1l l1l1lL1L1Lll1Ll1l = l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.lilil1liLi1lLL1l1l("4001", "", "");

    public class L1L1L1Ll1l1L1l1l11L {
        public L1L1L1Ll1l1L1l1l11L.l1Ll1llLLl1ll1l1l1l1l1l f7312Ll1lLl1l1LL1l1Ll;
        public boolean f7313lilil1liLi1lLL1l1l;

        public L1L1L1Ll1l1L1l1l11L(L1L1LL1L1Lll1l1L l1L1LL1L1Lll1l1L, L1L1L1Ll1l1L1l1l11L.l1Ll1llLLl1ll1l1l1l1l1l l1ll1lllll1ll1l1l1l1l1l, boolean z) {
            this.f7312Ll1lLl1l1LL1l1Ll = l1ll1lllll1ll1l1l1l1l1l;
            this.f7313lilil1liLi1lLL1l1l = z;
        }
    }

    public final class C0344L1L1LL1L1Lll1l1L extends L1LllLll1ll1LLll1 {
        public String f7314l1l1l1l1LL1L1l1lL1l;

        public C0344L1L1LL1L1Lll1l1L(String str) {
            this.f7314l1l1l1l1LL1L1l1lL1l = str;
        }

        @Override
        public final String L1LllLll1ll1LLll1() {
            return null;
        }

        @Override
        public final String Ll1l1L1L1L1l1L1l() {
            return "";
        }

        @Override
        public final int Ll1lLl1l1LL1l1Ll() {
            return 2;
        }

        @Override
        public final Object Ll1lLl1l1LL1l1Ll(String str) {
            return null;
        }

        @Override
        public final void Ll1lLl1l1LL1l1Ll(L1Lll1l1l1l1l1l l1Lll1l1l1l1l1l) {
        }

        @Override
        public final byte[] l1L1L1L1L1l1LLL1LL1ll() {
            return new byte[0];
        }

        @Override
        public final Map<String, String> l1l1l1l1LL1L1l1lL1l() {
            return null;
        }

        @Override
        public final String lilil1liLi1lLL1l1l() {
            return this.f7314l1l1l1l1LL1L1l1lL1l;
        }

        @Override
        public final void lilil1liLi1lLL1l1l(L1Lll1l1l1l1l1l l1Lll1l1l1l1l1l) {
        }
    }

    public interface L1Ll1ll1L1L1ll1l {
        void Ll1lLl1l1LL1l1Ll(int i2);

        void Ll1lLl1l1LL1l1Ll(int i2, Object obj);

        void Ll1lLl1l1LL1l1Ll(int i2, String str, L1Lll1l1l1l1l1l l1Lll1l1l1l1l1l);

        void lilil1liLi1lLL1l1l(int i2);
    }

    public final class L1Lll1lll1LlL1L11l extends L1LllLll1ll1LLll1 {
        public L1L1L1Ll1l1L1l1l11L.L1Lll1l1l1l1l1l f7322l1l1l1l1LL1L1l1lL1l;

        public L1Lll1lll1LlL1L11l(L1L1L1Ll1l1L1l1l11L.L1Lll1l1l1l1l1l l1Lll1l1l1l1l1l) {
            this.f7322l1l1l1l1LL1L1l1lL1l = l1Lll1l1l1l1l1l;
        }

        @Override
        public final String L1LllLll1ll1LLll1() {
            return null;
        }

        @Override
        public final int Ll1lLl1l1LL1l1Ll() {
            return this.f7322l1l1l1l1LL1L1l1lL1l.f7219lilil1liLi1lLL1l1l;
        }

        @Override
        public final Object Ll1lLl1l1LL1l1Ll(String str) {
            return null;
        }

        @Override
        public final void Ll1lLl1l1LL1l1Ll(L1Lll1l1l1l1l1l l1Lll1l1l1l1l1l) {
        }

        @Override
        public final byte[] l1L1L1L1L1l1LLL1LL1ll() {
            JSONObject jSONObject;
            String str = this.f7322l1l1l1l1LL1L1l1lL1l.f7218l1l1l1l1LL1L1l1lL1l;
            boolean z = str != null && str.contains("gzip");
            JSONObject jSONObject2 = null;
            try {
                jSONObject = new JSONObject(this.f7322l1l1l1l1LL1L1l1lL1l.f7214L1L1L1Ll1l1L1l1l11L);
            } catch (Exception e) {
                e = e;
            }
            try {
                jSONObject.put("ofl", 1);
            } catch (Exception e2) {
                e = e2;
                jSONObject2 = jSONObject;
                e.printStackTrace();
                jSONObject = jSONObject2;
                if (!z) {
                }
            }
            return !z ? jSONObject != null ? L1LllLll1ll1LLll1.lilil1liLi1lLL1l1l(jSONObject.toString()) : new byte[0] : jSONObject != null ? jSONObject.toString().getBytes() : new byte[0];
        }

        @Override
        public final boolean l1Ll1llLLl1ll1l1l1l1l1l() {
            return true;
        }

        @Override
        public final Map<String, String> l1l1l1l1LL1L1l1lL1l() {
            String str = this.f7322l1l1l1l1LL1L1l1lL1l.f7218l1l1l1l1LL1L1l1lL1l;
            HashMap hashMap = new HashMap();
            try {
                JSONObject jSONObject = new JSONObject(str);
                Iterator<String> keys = jSONObject.keys();
                while (keys.hasNext()) {
                    String next = keys.next();
                    hashMap.put(next, jSONObject.optString(next));
                }
            } catch (Exception unused) {
            }
            return hashMap;
        }

        @Override
        public final String lilil1liLi1lLL1l1l() {
            return this.f7322l1l1l1l1LL1L1l1lL1l.f7217l1L1L1L1L1l1LLL1LL1ll;
        }

        @Override
        public final void lilil1liLi1lLL1l1l(L1Lll1l1l1l1l1l l1Lll1l1l1l1l1l) {
        }
    }

    public class Ll1lLl1l1LL1l1Ll implements Runnable {
        public Ll1lLl1l1LL1l1Ll() {
        }

        @Override
        public final void run() {
            L1L1LL1L1Lll1l1L.this.l1l1l1l1LL1L1l1lL1l();
        }
    }

    public class l1l1l1l1LL1L1l1lL1l implements Runnable {
        public final L1L1L1Ll1l1L1l1l11L.L1L1l1lL1l1l1Ll11L f7344Ll1lLl1l1LL1l1Ll;
        public final boolean f7346lilil1liLi1lLL1l1l;

        public l1l1l1l1LL1L1l1lL1l(L1L1L1Ll1l1L1l1l11L.L1L1l1lL1l1l1Ll11L l1L1l1lL1l1l1Ll11L, boolean z) {
            this.f7344Ll1lLl1l1LL1l1Ll = l1L1l1lL1l1l1Ll11L;
            this.f7346lilil1liLi1lLL1l1l = z;
        }

        @Override
        public final void run() {
            synchronized (L1L1LL1L1Lll1l1L.this) {
                if (L1L1LL1L1Lll1l1L.this.f7287L1LllLll1ll1LLll1) {
                    return;
                }
                Runnable runnable = L1L1LL1L1Lll1l1L.this.c.get(this.f7344Ll1lLl1l1LL1l1Ll.L1Ll1ll1Ll1lL1Ll1ll);
                Runnable runnable2 = L1L1LL1L1Lll1l1L.this.d.get(this.f7344Ll1lLl1l1LL1l1Ll.L1Ll1ll1Ll1lL1Ll1ll);
                if (runnable != null) {
                    l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l().f7637L1L1L1Ll1l1L1l1l11L.removeCallbacks(runnable);
                }
                if (runnable2 != null) {
                    l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l().f7637L1L1L1Ll1l1L1l1l11L.removeCallbacks(runnable2);
                }
                L1L1LL1L1Lll1l1L.this.c.remove(this.f7344Ll1lLl1l1LL1l1Ll.L1Ll1ll1Ll1lL1Ll1ll);
                L1L1LL1L1Lll1l1L.this.d.remove(this.f7344Ll1lLl1l1LL1l1Ll.L1Ll1ll1Ll1lL1Ll1ll);
                if (this.f7346lilil1liLi1lLL1l1l) {
                    L1L1LL1L1Lll1l1L.this.Ll1lLl1l1LL1l1Ll(1, L1L1LL1L1Lll1l1L.this.L1Lll1lll1LlL1L11l, L1L1LL1L1Lll1l1L.this.L1Lll1lll1llL, true);
                } else {
                    L1L1LL1L1Lll1l1L.this.Ll1lLl1l1LL1l1Ll(1, L1L1LL1L1Lll1l1L.this.L1Ll1ll1L1L1ll1l, L1L1LL1L1Lll1l1L.this.l1llL1Ll1lL1Ll, false);
                }
            }
        }
    }

    public class lilil1liLi1lLL1l1l implements Runnable {
        public final l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll f7355Ll1lLl1l1LL1l1Ll;

        public lilil1liLi1lLL1l1l(L1L1LL1L1Lll1l1L l1L1LL1L1Lll1l1L, l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll l1l1l1l1l1l1lll1ll1ll) {
            this.f7355Ll1lLl1l1LL1l1Ll = l1l1l1l1l1l1lll1ll1ll;
        }

        @Override
        public final void run() {
            try {
                if (this.f7355Ll1lLl1l1LL1l1Ll != null) {
                    this.f7355Ll1lLl1l1LL1l1Ll.destory();
                }
            } catch (Throwable th) {
                th.printStackTrace();
            }
        }
    }

    public L1L1LL1L1Lll1l1L(Context context) {
        this.f7294l1l1l1l1LL1L1l1lL1l = new WeakReference<>(context);
    }

    public final synchronized void L1L1L1Ll1l1L1l1l11L() {
        if (this.f7290h && this.f7291i) {
            if (this.j) {
                return;
            }
            this.j = true;
            synchronized (this.L1Ll1ll1L1L1ll1l) {
                for (L1L1L1Ll1l1L1l1l11L.L1L1l1lL1l1l1Ll11L l1L1l1lL1l1l1Ll11L : this.L1Ll1ll1L1L1ll1l) {
                    if (l1L1l1lL1l1l1Ll11L != null && l1L1l1lL1l1l1Ll11L.L1L1L1Ll1l1L1l1l11L()) {
                        Ll1lLl1l1LL1l1Ll(l1L1l1lL1l1l1Ll11L);
                    }
                }
            }
            synchronized (this.L1Lll1lll1LlL1L11l) {
                for (L1L1L1Ll1l1L1l1l11L.L1L1l1lL1l1l1Ll11L l1L1l1lL1l1l1Ll11L2 : this.L1Lll1lll1LlL1L11l) {
                    if (l1L1l1lL1l1l1Ll11L2 != null && l1L1l1lL1l1l1Ll11L2.L1L1L1Ll1l1L1l1l11L()) {
                        Ll1lLl1l1LL1l1Ll(l1L1l1lL1l1l1Ll11L2);
                    }
                }
            }
        }
    }

    public final void L1L1l1lL1l1l1Ll11L() {
        this.f7288Ll1l1L1L1L1l1L1l = true;
        this.f7293l1Ll1llLLl1ll1l1l1l1l1l = false;
        if (this.m != null) {
            l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L L1Lll1lll1LlL1L11l2 = l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l();
            L1Lll1lll1LlL1L11l2.f7637L1L1L1Ll1l1L1l1l11L.removeCallbacks(this.m);
        }
        String str = this.l1llL1L1Ll1lL1Ll;
        String str2 = this.L1Ll1ll1L1ll1L;
        String str3 = this.f7284L1L1L1Ll1l1L1l1l11L;
        l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1L1Ll1l1L1l1l11L.l1L1L1L1L1l1LLL1LL1ll l1l1l1l1l1l1lll1ll1ll = this.L1Lll1l1l1l1l1l;
        l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll(l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll(str, str2, str3, l1l1l1l1l1l1lll1ll1ll, this.L1Ll1ll1Ll1lL1Ll1ll, l1l1l1l1l1l1lll1ll1ll.f7132L1L1L1Ll1l1L1l1l11L, this.L1Lll1llL1Ll1ll, this.f7292l1L1L1L1L1l1LLL1LL1ll), this.l1l1lL1L1Lll1Ll1l);
        if (!this.o) {
            Ll1lLl1l1LL1l1Ll(this.l1l1lL1L1Lll1Ll1l);
        }
        lilil1liLi1lLL1l1l();
        L1LllLll1ll1LLll1();
    }

    public final void L1LllLll1ll1LLll1() {
        if (this.f7285L1L1l1lL1l1l1Ll11L && this.f7288Ll1l1L1L1L1l1L1l) {
            if (!(this.f7293l1Ll1llLLl1ll1l1l1l1l1l && this.f7286L1LLLll1llLLl) && this.f7293l1Ll1llLLl1ll1l1l1l1l1l) {
                return;
            }
            l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.L1L1L1Ll1l1L1l1l11L Ll1lLl1l1LL1l1Ll2 = c.Ll1lLl1l1LL1l1Ll().Ll1lLl1l1LL1l1Ll(this.L1Ll1ll1L1ll1L);
            Ll1lLl1l1LL1l1Ll2.f7163l1L1L1L1L1l1LLL1LL1ll.remove(this.l1llL1L1Ll1lL1Ll);
        }
    }

    public final synchronized boolean Ll1l1L1L1L1l1L1l() {
        boolean z;
        this.L1Ll1ll1L1L1ll1l.size();
        this.l1llL1Ll1lL1Ll.size();
        this.L1Lll1lll1LlL1L11l.size();
        this.L1Lll1lll1llL.size();
        if (this.f7285L1L1l1lL1l1l1Ll11L && this.L1Ll1ll1L1L1ll1l.size() == 0 && this.l1llL1Ll1lL1Ll.size() == 0 && this.L1Lll1lll1LlL1L11l.size() == 0) {
            z = this.L1Lll1lll1llL.size() == 0;
        }
        return z;
    }

    public abstract void Ll1lLl1l1LL1l1Ll();

    public final void Ll1lLl1l1LL1l1Ll(L1L1L1Ll1l1L1l1l11L.L1L1l1lL1l1l1Ll11L l1L1l1lL1l1l1Ll11L, boolean z, boolean z2, boolean z3) {
        boolean z4;
        String str;
        String str2;
        int i2 = l1L1l1lL1l1l1Ll11L.f7185Ll1lLl1l1LL1l1Ll;
        if (l1L1l1lL1l1l1Ll11L.L1L1L1Ll1l1L1l1l11L()) {
            L1L1L1Ll1l1L1l1l11L.L1Lll1lll1LlL1L11l l1Lll1lll1LlL1L11l = l1L1l1lL1l1l1Ll11L.C;
            if (l1L1l1lL1l1l1Ll11L.f7185Ll1lLl1l1LL1l1Ll != 66) {
                l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll().Ll1lLl1l1LL1l1Ll(l1L1l1lL1l1l1Ll11L.L1Ll1ll1Ll1lL1Ll1ll, l1L1l1lL1l1l1Ll11L.f7185Ll1lLl1l1LL1l1Ll);
            }
            if (l1Lll1lll1LlL1L11l != null) {
                if (!l1Lll1lll1LlL1L11l.Ll1lLl1l1LL1l1Ll()) {
                    l1Lll1lll1LlL1L11l.Ll1lLl1l1LL1l1Ll(l1L1l1lL1l1l1Ll11L);
                } else if (!l1Lll1lll1LlL1L11l.L1Lll1lll1llL || l1L1l1lL1l1l1Ll11L.f7185Ll1lLl1l1LL1l1Ll == 66) {
                    z4 = true;
                    if (z4 && l1Lll1lll1LlL1L11l != null) {
                        try {
                            String str3 = this.l1llL1L1Ll1lL1Ll;
                            String str4 = this.L1Ll1ll1L1ll1L;
                            String str5 = this.f7284L1L1L1Ll1l1L1l1l11L;
                            l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1L1Ll1l1L1l1l11L.l1L1L1L1L1l1LLL1LL1ll l1l1l1l1l1l1lll1ll1ll = this.L1Lll1l1l1l1l1l;
                            if (z2) {
                                str2 = this.L1Ll1ll1Ll1lL1Ll1ll;
                            } else {
                                StringBuilder sb = new StringBuilder();
                                sb.append(l1L1l1lL1l1l1Ll11L.f7185Ll1lLl1l1LL1l1Ll);
                                str2 = sb.toString();
                            }
                            l1Lll1lll1LlL1L11l.Ll1lLl1l1LL1l1Ll(l1Lll1lll1LlL1L11l.f7279lilil1liLi1lLL1l1l, true, 1, l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll(str3, str4, str5, l1l1l1l1l1l1lll1ll1ll, str2, this.L1Lll1l1l1l1l1l.f7132L1L1L1Ll1l1L1l1l11L, this.L1Lll1llL1Ll1ll, this.f7292l1L1L1L1L1l1LLL1LL1ll), l1L1l1lL1l1l1Ll11L);
                            if (l1Lll1lll1LlL1L11l.L1L1LL1L1Lll1l1L == 66) {
                                Ll1lLl1l1LL1l1Ll.lilil1liLi1lLL1l1l.Ll1lLl1l1LL1l1Ll();
                                Ll1lLl1l1LL1l1Ll.lilil1liLi1lLL1l1l.Ll1lLl1l1LL1l1Ll(l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l().f7646lilil1liLi1lLL1l1l, l1Lll1lll1LlL1L11l.f7278l1l1l1l1LL1L1l1lL1l);
                            }
                        } catch (Throwable unused) {
                        }
                    }
                    if (z2) {
                        this.L1L1ll1l1l1l1lL1++;
                    } else {
                        this.l1ll1Lll1ll1Ll1++;
                    }
                    String str6 = this.l1llL1L1Ll1lL1Ll;
                    String str7 = this.L1Ll1ll1L1ll1L;
                    String str8 = this.f7284L1L1L1Ll1l1L1l1l11L;
                    l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1L1Ll1l1L1l1l11L.l1L1L1L1L1l1LLL1LL1ll l1l1l1l1l1l1lll1ll1ll2 = this.L1Lll1l1l1l1l1l;
                    if (z2) {
                        StringBuilder sb2 = new StringBuilder();
                        sb2.append(l1L1l1lL1l1l1Ll11L.f7185Ll1lLl1l1LL1l1Ll);
                        str = sb2.toString();
                    } else {
                        str = this.L1Ll1ll1Ll1lL1Ll1ll;
                    }
                    L1L1L1Ll1l1L1l1l11L.l1Ll1llLLl1ll1l1l1l1l1l Ll1lLl1l1LL1l1Ll2 = l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll(str6, str7, str8, l1l1l1l1l1l1lll1ll1ll2, str, this.L1Lll1l1l1l1l1l.f7132L1L1L1Ll1l1L1l1l11L, this.L1Lll1llL1Ll1ll, this.f7292l1L1L1L1L1l1LLL1LL1ll);
                    if (z4) {
                        l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll(Ll1lLl1l1LL1l1Ll2, l1L1l1lL1l1l1Ll11L, (z2 ? this.L1L1ll1l1l1l1lL1 : this.l1ll1Lll1ll1Ll1) - 1);
                        L1Lll1l1l1l1l1l lilil1liLi1lLL1l1l2 = l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.lilil1liLi1lLL1l1l("4001", "", "Bid result has expired.");
                        this.l1l1lL1L1Lll1Ll1l.Ll1lLl1l1LL1l1Ll(l1L1l1lL1l1l1Ll11L.L1Ll1ll1Ll1lL1Ll1ll, l1L1l1lL1l1l1Ll11L.f7185Ll1lLl1l1LL1l1Ll, "", lilil1liLi1lLL1l1l2);
                        Ll1lLl1l1LL1l1Ll(l1L1l1lL1l1l1Ll11L, (l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll) null, lilil1liLi1lLL1l1l2);
                        try {
                            l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll(Ll1lLl1l1LL1l1Ll2, 6, lilil1liLi1lLL1l1l2, 0L);
                            return;
                        } catch (Throwable unused2) {
                            return;
                        }
                    }
                    L1L1L1Ll1l1L1l1l11L.Ll1l1L1L1L1l1L1l Ll1lLl1l1LL1l1Ll3 = l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll().Ll1lLl1l1LL1l1Ll(this.L1Ll1ll1L1ll1L, l1L1l1lL1l1l1Ll11L);
                    L1L1L1Ll1l1L1l1l11L.L1LllLll1ll1LLll1 Ll1lLl1l1LL1l1Ll4 = Ll1lLl1l1LL1l1Ll3 != null ? Ll1lLl1l1LL1l1Ll3.Ll1lLl1l1LL1l1Ll() : null;
                    if (Ll1lLl1l1LL1l1Ll4 != null && Ll1lLl1l1LL1l1Ll4.Ll1lLl1l1LL1l1Ll() && Ll1lLl1l1LL1l1Ll4.lilil1liLi1lLL1l1l()) {
                        l1l1l1l1LL1L1l1lL1l(l1L1l1lL1l1l1Ll11L);
                        return;
                    }
                    l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll Ll1lLl1l1LL1l1Ll5 = l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.L1Lll1llL1Ll1ll.L1LllLll1ll1LLll1.Ll1lLl1l1LL1l1Ll(l1L1l1lL1l1l1Ll11L);
                    if (Ll1lLl1l1LL1l1Ll5 == null) {
                        l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll(Ll1lLl1l1LL1l1Ll2, l1L1l1lL1l1l1Ll11L, (z2 ? this.L1L1ll1l1l1l1lL1 : this.l1ll1Lll1ll1Ll1) - 1);
                        L1Lll1l1l1l1l1l lilil1liLi1lLL1l1l3 = l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.lilil1liLi1lLL1l1l("2002", "", l1L1l1lL1l1l1Ll11L.f7181L1L1l1lL1l1l1Ll11L + " does not exist!");
                        this.l1l1lL1L1Lll1Ll1l.Ll1lLl1l1LL1l1Ll(l1L1l1lL1l1l1Ll11L.L1Ll1ll1Ll1lL1Ll1ll, l1L1l1lL1l1l1Ll11L.f7185Ll1lLl1l1LL1l1Ll, "", lilil1liLi1lLL1l1l3);
                        Ll1lLl1l1LL1l1Ll(l1L1l1lL1l1l1Ll11L, (l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll) null, lilil1liLi1lLL1l1l3);
                        try {
                            l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll(Ll1lLl1l1LL1l1Ll2, 0, lilil1liLi1lLL1l1l3, 0L);
                            return;
                        } catch (Throwable unused3) {
                            return;
                        }
                    }
                    try {
                        l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.L1Lll1llL1Ll1ll.L1L1L1Ll1l1L1l1l11L.Ll1lLl1l1LL1l1Ll(l1L1l1lL1l1l1Ll11L.f7185Ll1lLl1l1LL1l1Ll, Ll1lLl1l1LL1l1Ll5.getNetworkSDKVersion());
                    } catch (Throwable unused4) {
                    }
                    l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll(Ll1lLl1l1LL1l1Ll5, Ll1lLl1l1LL1l1Ll2, l1L1l1lL1l1l1Ll11L, (z2 ? this.L1L1ll1l1l1l1lL1 : this.l1ll1Lll1ll1Ll1) - 1);
                    Ll1lLl1l1LL1l1Ll2.l1l1lL1L1Lll1Ll1l = z;
                    if (z3) {
                        Ll1lLl1l1LL1l1Ll2.l1l1l1LL1ll1Ll1lL = 5;
                    }
                    l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.L1Lll1l1l1l1l1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll(this.f7295lilil1liLi1lLL1l1l).Ll1lLl1l1LL1l1Ll(1, Ll1lLl1l1LL1l1Ll2);
                    l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll(Ll1lLl1l1LL1l1Ll2, "request", com.anythink.expressad.foundation.d.b.bt, "");
                    if (!z) {
                        Runnable Ll1lLl1l1LL1l1Ll6 = Ll1lLl1l1LL1l1Ll(l1L1l1lL1l1l1Ll11L, l1L1l1lL1l1l1Ll11L.L1Ll1ll1L1ll1L, z2);
                        if (Ll1lLl1l1LL1l1Ll6 != null) {
                            this.c.put(l1L1l1lL1l1l1Ll11L.L1Ll1ll1Ll1lL1Ll1ll, Ll1lLl1l1LL1l1Ll6);
                        }
                        Runnable Ll1lLl1l1LL1l1Ll7 = Ll1lLl1l1LL1l1Ll(l1L1l1lL1l1l1Ll11L, l1L1l1lL1l1l1Ll11L.L1Lll1ll1Ll1ll1L, z2);
                        if (Ll1lLl1l1LL1l1Ll7 != null) {
                            this.d.put(l1L1l1lL1l1l1Ll11L.L1Ll1ll1Ll1lL1Ll1ll, Ll1lLl1l1LL1l1Ll7);
                        }
                    }
                    Ll1lLl1l1LL1l1Ll(Ll1lLl1l1LL1l1Ll2.L1L1ll1l1l1l1lL1, Ll1lLl1l1LL1l1Ll2, false);
                    this.b.put(l1L1l1lL1l1l1Ll11L.L1Ll1ll1Ll1lL1Ll1ll, Long.valueOf(SystemClock.elapsedRealtime()));
                    Context context = this.f7294l1l1l1l1LL1L1l1lL1l.get();
                    if (context != null && (context instanceof Activity)) {
                        Ll1lLl1l1LL1l1Ll5.refreshActivityContext((Activity) context);
                    }
                    Map<String, Object> Ll1lLl1l1LL1l1Ll8 = this.L1Lll1l1l1l1l1l.Ll1lLl1l1LL1l1Ll(this.L1Ll1ll1L1ll1L, this.l1llL1L1Ll1lL1Ll, l1L1l1lL1l1l1Ll11L);
                    if (l1L1l1lL1l1l1Ll11L.f7185Ll1lLl1l1LL1l1Ll == 6) {
                        Ll1lLl1l1LL1l1Ll8.put("tp_info", l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll(this.f7295lilil1liLi1lLL1l1l, this.l1llL1L1Ll1lL1Ll, this.L1Ll1ll1L1ll1L, this.L1Lll1l1l1l1l1l.l1llL1L1Ll1lL1Ll, z2 ? this.L1L1ll1l1l1l1lL1 : this.l1ll1Lll1ll1Ll1).toString());
                    }
                    l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.l1llL1Ll1lL1Ll l1lll1ll1ll1ll = new l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.l1llL1Ll1lL1Ll(this, Ll1lLl1l1LL1l1Ll5, l1L1l1lL1l1l1Ll11L, Ll1lLl1l1LL1l1Ll8);
                    if (TextUtils.equals(String.valueOf(this.L1Lll1l1l1l1l1l.l1llL1L1Ll1lL1Ll), "2")) {
                        l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l().Ll1lLl1l1LL1l1Ll(l1lll1ll1ll1ll);
                        return;
                    } else {
                        l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.L1Lll1llL1Ll1ll.lilil1liLi1lLL1l1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll().Ll1lLl1l1LL1l1Ll(l1lll1ll1ll1ll);
                        return;
                    }
                }
            }
            z4 = false;
            if (z4) {
                String str32 = this.l1llL1L1Ll1lL1Ll;
                String str42 = this.L1Ll1ll1L1ll1L;
                String str52 = this.f7284L1L1L1Ll1l1L1l1l11L;
                l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1L1Ll1l1L1l1l11L.l1L1L1L1L1l1LLL1LL1ll l1l1l1l1l1l1lll1ll1ll3 = this.L1Lll1l1l1l1l1l;
                if (z2) {
                }
                l1Lll1lll1LlL1L11l.Ll1lLl1l1LL1l1Ll(l1Lll1lll1LlL1L11l.f7279lilil1liLi1lLL1l1l, true, 1, l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll(str32, str42, str52, l1l1l1l1l1l1lll1ll1ll3, str2, this.L1Lll1l1l1l1l1l.f7132L1L1L1Ll1l1L1l1l11L, this.L1Lll1llL1Ll1ll, this.f7292l1L1L1L1L1l1LLL1LL1ll), l1L1l1lL1l1l1Ll11L);
                if (l1Lll1lll1LlL1L11l.L1L1LL1L1Lll1l1L == 66) {
                }
            }
            if (z2) {
            }
            String str62 = this.l1llL1L1Ll1lL1Ll;
            String str72 = this.L1Ll1ll1L1ll1L;
            String str82 = this.f7284L1L1L1Ll1l1L1l1l11L;
            l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1L1Ll1l1L1l1l11L.l1L1L1L1L1l1LLL1LL1ll l1l1l1l1l1l1lll1ll1ll22 = this.L1Lll1l1l1l1l1l;
            if (z2) {
            }
            L1L1L1Ll1l1L1l1l11L.l1Ll1llLLl1ll1l1l1l1l1l Ll1lLl1l1LL1l1Ll22 = l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll(str62, str72, str82, l1l1l1l1l1l1lll1ll1ll22, str, this.L1Lll1l1l1l1l1l.f7132L1L1L1Ll1l1L1l1l11L, this.L1Lll1llL1Ll1ll, this.f7292l1L1L1L1L1l1LLL1LL1ll);
            if (z4) {
            }
        }
        z4 = false;
        if (z2) {
        }
        String str622 = this.l1llL1L1Ll1lL1Ll;
        String str722 = this.L1Ll1ll1L1ll1L;
        String str822 = this.f7284L1L1L1Ll1l1L1l1l11L;
        l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1L1Ll1l1L1l1l11L.l1L1L1L1L1l1LLL1LL1ll l1l1l1l1l1l1lll1ll1ll222 = this.L1Lll1l1l1l1l1l;
        if (z2) {
        }
        L1L1L1Ll1l1L1l1l11L.l1Ll1llLLl1ll1l1l1l1l1l Ll1lLl1l1LL1l1Ll222 = l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll(str622, str722, str822, l1l1l1l1l1l1lll1ll1ll222, str, this.L1Lll1l1l1l1l1l.f7132L1L1L1Ll1l1L1l1l11L, this.L1Lll1llL1Ll1ll, this.f7292l1L1L1L1L1l1LLL1LL1ll);
        if (z4) {
        }
    }

    public abstract void Ll1lLl1l1LL1l1Ll(L1Lll1l1l1l1l1l l1Lll1l1l1l1l1l);

    public abstract void Ll1lLl1l1LL1l1Ll(l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll l1l1l1l1l1l1lll1ll1ll);

    public final void l1L1L1L1L1l1LLL1LL1ll() {
        synchronized (this.a) {
            this.f7285L1L1l1lL1l1l1Ll11L = true;
            if (!this.f7288Ll1l1L1L1L1l1L1l && Ll1l1L1L1L1l1L1l()) {
                L1L1l1lL1l1l1Ll11L();
            }
            if (this.L1Lll1lll1llL.size() == 0) {
                this.f7290h = true;
            }
            if (this.l1llL1Ll1lL1Ll.size() == 0) {
                this.f7291i = true;
            }
            L1L1L1Ll1l1L1l1l11L();
            L1LllLll1ll1LLll1();
        }
    }

    public final void l1l1l1l1LL1L1l1lL1l() {
        synchronized (this) {
            this.f7287L1LllLll1ll1LLll1 = true;
            for (String str : this.e.keySet()) {
                this.f.remove(str);
                L1L1L1Ll1l1L1l1l11L l1L1L1Ll1l1L1l1l11L = this.e.get(str);
                Long l = this.b.get(str);
                if (!l1L1L1Ll1l1L1l1l11L.f7313lilil1liLi1lLL1l1l) {
                    L1L1L1Ll1l1L1l1l11L.l1Ll1llLLl1ll1l1l1l1l1l l1ll1lllll1ll1l1l1l1l1l = l1L1L1Ll1l1L1l1l11L.f7312Ll1lLl1l1LL1l1Ll;
                    l1ll1lllll1ll1l1l1l1l1l.f7269q = 2;
                    L1Lll1l1l1l1l1l lilil1liLi1lLL1l1l2 = l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.lilil1liLi1lLL1l1l("2001", "", "");
                    this.l1l1lL1L1Lll1Ll1l.Ll1lLl1l1LL1l1Ll(l1ll1lllll1ll1l1l1l1l1l.L1L1ll1l1l1l1lL1, l1ll1lllll1ll1l1l1l1l1l.L1Ll1ll1L1L1ll1l, l1ll1lllll1ll1l1l1l1l1l.f7168L1L1l1lL1l1l1Ll11L, lilil1liLi1lLL1l1l2);
                    l1L1L1Ll1l1L1l1l11L.f7313lilil1liLi1lLL1l1l = true;
                    l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll(l1L1L1Ll1l1L1l1l11L.f7312Ll1lLl1l1LL1l1Ll, "request_result", "fail", lilil1liLi1lLL1l1l2.lilil1liLi1lLL1l1l());
                    l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll(l1ll1lllll1ll1l1l1l1l1l, 1, lilil1liLi1lLL1l1l2, l != null ? SystemClock.elapsedRealtime() - l.longValue() : 0L);
                }
            }
            if (!this.f7288Ll1l1L1L1L1l1L1l) {
                this.f7288Ll1l1L1L1L1l1L1l = true;
                L1L1l1lL1l1l1Ll11L();
            }
            this.f7290h = true;
            this.f7291i = true;
            L1L1L1Ll1l1L1l1l11L();
        }
    }

    public abstract void lilil1liLi1lLL1l1l();

    public final synchronized void lilil1liLi1lLL1l1l(L1L1L1Ll1l1L1l1l11L.L1L1l1lL1l1l1Ll11L l1L1l1lL1l1l1Ll11L) {
        this.l1llL1Ll1lL1Ll.remove(l1L1l1lL1l1l1Ll11L);
        this.L1Lll1lll1llL.remove(l1L1l1lL1l1l1Ll11L);
    }

    public class L1Lll1lll1llL extends L1LllLll1ll1LLll1 {
        public List<L1L1L1Ll1l1L1l1l11L.L1L1LL1L1Lll1l1L> f7323L1L1L1Ll1l1L1l1l11L;
        public int f7325Ll1l1L1L1L1l1L1l;
        public boolean f7324L1L1l1lL1l1l1Ll11L = false;
        public String f7327l1l1l1l1LL1L1l1lL1l = l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l().L1L1L1Ll1l1L1l1l11L();
        public String f7326l1L1L1L1L1l1LLL1LL1ll = l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l().L1L1l1lL1l1l1Ll11L();

        public L1Lll1lll1llL(Context context, int i2, List<L1L1L1Ll1l1L1l1l11L.L1L1LL1L1Lll1l1L> list) {
            this.f7325Ll1l1L1L1L1l1L1l = i2;
            this.f7323L1L1L1Ll1l1L1l1l11L = list;
        }

        @Override
        public final JSONObject L1L1L1Ll1l1L1l1l11L() {
            JSONObject m25Ll1lLl1l1LL1l1Ll = l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.m25Ll1lLl1l1LL1l1Ll();
            JSONObject m17L1L1L1Ll1l1L1l1l11L = l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.m17L1L1L1Ll1l1L1l1l11L();
            try {
                m25Ll1lLl1l1LL1l1Ll.put(PluginConstants.KEY_APP_ID, this.f7327l1l1l1l1LL1L1l1lL1l);
                m25Ll1lLl1l1LL1l1Ll.put("tcp_tk_da_type", this.f7325Ll1l1L1L1L1l1L1l);
                Iterator<String> keys = m17L1L1L1Ll1l1L1l1l11L.keys();
                while (keys.hasNext()) {
                    String next = keys.next();
                    m25Ll1lLl1l1LL1l1Ll.put(next, m17L1L1L1Ll1l1L1l1l11L.opt(next));
                }
                ConcurrentHashMap<String, Object> concurrentHashMap = l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l().f7638L1L1l1lL1l1l1Ll11L;
                if (concurrentHashMap != null && concurrentHashMap.size() > 0) {
                    JSONObject jSONObject = new JSONObject();
                    for (String str : concurrentHashMap.keySet()) {
                        Object obj = concurrentHashMap.get(str);
                        if (obj != null) {
                            jSONObject.put(str, obj.toString());
                        }
                    }
                    m25Ll1lLl1l1LL1l1Ll.put("custom", jSONObject);
                }
            } catch (Throwable unused) {
            }
            return m25Ll1lLl1l1LL1l1Ll;
        }

        @Override
        public final String L1LllLll1ll1LLll1() {
            return this.f7326l1L1L1L1L1l1LLL1LL1ll;
        }

        @Override
        public final String Ll1l1L1L1L1l1L1l() {
            JSONObject jSONObject = new JSONObject();
            String Ll1lLl1l1LL1l1Ll2 = l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.L1Lll1llL1Ll1ll.l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll(L1L1L1Ll1l1L1l1l11L().toString());
            JSONArray jSONArray = new JSONArray();
            List<L1L1L1Ll1l1L1l1l11L.L1L1LL1L1Lll1l1L> list = this.f7323L1L1L1Ll1l1L1l1l11L;
            if (list != null) {
                for (L1L1L1Ll1l1L1l1l11L.L1L1LL1L1Lll1l1L l1L1LL1L1Lll1l1L : list) {
                    JSONObject Ll1lLl1l1LL1l1Ll3 = l1L1LL1L1Lll1l1L.Ll1lLl1l1LL1l1Ll();
                    if (this.f7324L1L1l1lL1l1l1Ll11L && Ll1lLl1l1LL1l1Ll3 != null) {
                        try {
                            Ll1lLl1l1LL1l1Ll3.put("ofl", 1);
                        } catch (JSONException e) {
                            e.printStackTrace();
                        }
                    }
                    jSONArray.put(Ll1lLl1l1LL1l1Ll3);
                }
            }
            String Ll1lLl1l1LL1l1Ll4 = l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.L1Lll1llL1Ll1ll.l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll(jSONArray.toString());
            String lilil1liLi1lLL1l1l2 = l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.L1Lll1llL1Ll1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l(this.f7326l1L1L1L1L1l1LLL1LL1ll + "api_ver=1.0&common=" + Ll1lLl1l1LL1l1Ll2 + "&data=" + Ll1lLl1l1LL1l1Ll4);
            try {
                jSONObject.put("common", Ll1lLl1l1LL1l1Ll2);
                jSONObject.put("data", Ll1lLl1l1LL1l1Ll4);
                jSONObject.put("api_ver", "1.0");
                jSONObject.put("sign", lilil1liLi1lLL1l1l2);
            } catch (Exception e2) {
                e2.printStackTrace();
            }
            return jSONObject.toString();
        }

        @Override
        public final int Ll1lLl1l1LL1l1Ll() {
            return 1;
        }

        @Override
        public final Object Ll1lLl1l1LL1l1Ll(String str) {
            String trim = str.trim();
            "data:".concat(String.valueOf(trim));
            return trim;
        }

        @Override
        public final byte[] l1L1L1L1L1l1LLL1LL1ll() {
            return L1LllLll1ll1LLll1.lilil1liLi1lLL1l1l(Ll1l1L1L1L1l1L1l());
        }

        @Override
        public final boolean l1Ll1llLLl1ll1l1l1l1l1l() {
            return true;
        }

        @Override
        public final Map<String, String> l1l1l1l1LL1L1l1lL1l() {
            return l1L1L1L1L1l1LLL1LL1ll.lilil1liLi1lLL1l1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("Content-Encoding", "gzip", com.anythink.expressad.foundation.f.f.g.c.a, "application/json;charset=utf-8");
        }

        @Override
        public final String lilil1liLi1lLL1l1l() {
            l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.L1Lll1lll1llL.Ll1lLl1l1LL1l1Ll();
            l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1L1Ll1l1L1l1l11L.Ll1lLl1l1LL1l1Ll Ll1lLl1l1LL1l1Ll2 = l1L1L1L1L1l1LLL1LL1ll.lilil1liLi1lLL1l1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll(l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1L1Ll1l1L1l1l11L.lilil1liLi1lLL1l1l.Ll1lLl1l1LL1l1Ll(l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l().f7646lilil1liLi1lLL1l1l));
            if (Ll1lLl1l1LL1l1Ll2 != null) {
                return l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.L1Lll1lll1llL.Ll1lLl1l1LL1l1Ll(Ll1lLl1l1LL1l1Ll2.f7121L1LLLll1llLLl, "https://tk.anythinktech.com/v1/open/tk", Ll1lLl1l1LL1l1Ll2.t, "https://cn-tk.anythinktech.com/v1/open/tk");
            }
            return l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.L1Lll1lll1llL.Ll1lLl1l1LL1l1Ll("https://tk.anythinktech.com/v1/open/tk", "https://cn-tk.anythinktech.com/v1/open/tk");
        }

        @Override
        public final void Ll1lLl1l1LL1l1Ll(L1Lll1l1l1l1l1l l1Lll1l1l1l1l1l) {
            JSONObject jSONObject = new JSONObject();
            HashMap Ll1lLl1l1LL1l1Ll2 = l1L1L1L1L1l1LLL1LL1ll.lilil1liLi1lLL1l1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("Content-Encoding", "gzip", com.anythink.expressad.foundation.f.f.g.c.a, "application/json;charset=utf-8");
            try {
                for (String str : Ll1lLl1l1LL1l1Ll2.keySet()) {
                    jSONObject.put(str, Ll1lLl1l1LL1l1Ll2.get(str));
                }
            } catch (Exception unused) {
            }
            String jSONObject2 = jSONObject.toString();
            this.f7324L1L1l1lL1l1l1Ll11L = true;
            String Ll1l1L1L1L1l1L1l2 = Ll1l1L1L1L1l1L1l();
            this.f7324L1L1l1lL1l1l1Ll11L = false;
            b.lilil1liLi1lLL1l1l().Ll1lLl1l1LL1l1Ll(1, lilil1liLi1lLL1l1l(), jSONObject2, Ll1l1L1L1L1l1L1l2);
        }

        @Override
        public final void lilil1liLi1lLL1l1l(L1Lll1l1l1l1l1l l1Lll1l1l1l1l1l) {
            List<L1L1L1Ll1l1L1l1l11L.L1L1LL1L1Lll1l1L> list = this.f7323L1L1L1Ll1l1L1l1l11L;
            l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll("tk", l1Lll1l1l1l1l1l.f7822l1l1l1l1LL1L1l1lL1l, l1Lll1l1l1l1l1l.f7821l1L1L1L1L1l1LLL1LL1ll, lilil1liLi1lLL1l1l(), (String) null, String.valueOf(list != null ? list.size() : 1), "0");
        }
    }

    public class l1L1L1L1L1l1LLL1LL1ll implements l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.Ll1l1L1L1L1l1L1l {
        public l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll f7331Ll1lLl1l1LL1l1Ll;

        public class Ll1lLl1l1LL1l1Ll implements Runnable {
            public Ll1lLl1l1LL1l1Ll() {
            }

            @Override
            public final void run() {
                l1L1L1L1L1l1LLL1LL1ll l1l1l1l1l1l1lll1ll1ll = l1L1L1L1L1l1LLL1LL1ll.this;
                L1L1LL1L1Lll1l1L.this.lilil1liLi1lLL1l1l(l1l1l1l1l1l1lll1ll1ll.f7331Ll1lLl1l1LL1l1Ll);
            }
        }

        public class l1l1l1l1LL1L1l1lL1l implements Runnable {
            public final String f7334Ll1lLl1l1LL1l1Ll;
            public final String f7336lilil1liLi1lLL1l1l;

            public l1l1l1l1LL1L1l1lL1l(String str, String str2) {
                this.f7334Ll1lLl1l1LL1l1Ll = str;
                this.f7336lilil1liLi1lLL1l1l = str2;
            }

            @Override
            public final void run() {
                l1L1L1L1L1l1LLL1LL1ll l1l1l1l1l1l1lll1ll1ll = l1L1L1L1L1l1LLL1LL1ll.this;
                L1L1LL1L1Lll1l1L.this.Ll1lLl1l1LL1l1Ll(l1l1l1l1l1l1lll1ll1ll.f7331Ll1lLl1l1LL1l1Ll, l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.lilil1liLi1lLL1l1l("4001", this.f7334Ll1lLl1l1LL1l1Ll, this.f7336lilil1liLi1lLL1l1l));
                l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll l1l1l1l1l1l1lll1ll1ll2 = l1L1L1L1L1l1LLL1LL1ll.this.f7331Ll1lLl1l1LL1l1Ll;
                if (l1l1l1l1l1l1lll1ll1ll2 != null) {
                    l1l1l1l1l1l1lll1ll1ll2.releaseLoadResource();
                }
            }
        }

        public class lilil1liLi1lLL1l1l implements Runnable {
            public final l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1llL1L1Ll1lL1Ll[] f7337Ll1lLl1l1LL1l1Ll;

            public lilil1liLi1lLL1l1l(l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1llL1L1Ll1lL1Ll[] l1lll1l1ll1ll1llArr) {
                this.f7337Ll1lLl1l1LL1l1Ll = l1lll1l1ll1ll1llArr;
            }

            @Override
            public final void run() {
                l1L1L1L1L1l1LLL1LL1ll l1l1l1l1l1l1lll1ll1ll = l1L1L1L1L1l1LLL1LL1ll.this;
                L1L1LL1L1Lll1l1L l1L1LL1L1Lll1l1L = L1L1LL1L1Lll1l1L.this;
                l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll l1l1l1l1l1l1lll1ll1ll2 = l1l1l1l1l1l1lll1ll1ll.f7331Ll1lLl1l1LL1l1Ll;
                l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1llL1L1Ll1lL1Ll[] l1lll1l1ll1ll1llArr = this.f7337Ll1lLl1l1LL1l1Ll;
                l1L1LL1L1Lll1l1L.Ll1lLl1l1LL1l1Ll(l1l1l1l1l1l1lll1ll1ll2, l1lll1l1ll1ll1llArr != null ? Arrays.asList(l1lll1l1ll1ll1llArr) : null);
                l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll l1l1l1l1l1l1lll1ll1ll3 = l1L1L1L1L1l1LLL1LL1ll.this.f7331Ll1lLl1l1LL1l1Ll;
                if (l1l1l1l1l1l1lll1ll1ll3 != null) {
                    l1l1l1l1l1l1lll1ll1ll3.releaseLoadResource();
                }
            }
        }

        @Override
        public final void Ll1lLl1l1LL1l1Ll(l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1llL1L1Ll1lL1Ll... l1lll1l1ll1ll1llArr) {
            l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.L1Lll1llL1Ll1ll.lilil1liLi1lLL1l1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll().Ll1lLl1l1LL1l1Ll(new lilil1liLi1lLL1l1l(l1lll1l1ll1ll1llArr), 0L);
        }

        @Override
        public final void onAdDataLoaded() {
            l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.L1Lll1llL1Ll1ll.lilil1liLi1lLL1l1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll().Ll1lLl1l1LL1l1Ll(new Ll1lLl1l1LL1l1Ll(), 0L);
        }

        @Override
        public final void Ll1lLl1l1LL1l1Ll(String str, String str2) {
            l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.L1Lll1llL1Ll1ll.lilil1liLi1lLL1l1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll().Ll1lLl1l1LL1l1Ll(new l1l1l1l1LL1L1l1lL1l(str, str2), 0L);
        }
    }

    public final class L1LLLll1llLLl extends L1LllLll1ll1LLll1 {
        public List<String> f7318L1L1l1lL1l1l1Ll11L;
        public int f7319Ll1l1L1L1L1l1L1l;
        public int f7321l1l1l1l1LL1L1l1lL1l;
        public String f7320l1L1L1L1L1l1LLL1LL1ll = l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l().L1L1L1Ll1l1L1l1l11L();
        public String f7317L1L1L1Ll1l1L1l1l11L = l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l().L1L1l1lL1l1l1Ll11L();

        public L1LLLll1llLLl(Context context, int i2, List<String> list) {
            this.f7318L1L1l1lL1l1l1Ll11L = list;
            this.f7321l1l1l1l1LL1L1l1lL1l = list.size();
            this.f7319Ll1l1L1L1L1l1L1l = i2;
        }

        @Override
        public final JSONObject L1L1L1Ll1l1L1l1l11L() {
            JSONObject m25Ll1lLl1l1LL1l1Ll = l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.m25Ll1lLl1l1LL1l1Ll();
            try {
                m25Ll1lLl1l1LL1l1Ll.put(PluginConstants.KEY_APP_ID, this.f7320l1L1L1L1L1l1LLL1LL1ll);
                m25Ll1lLl1l1LL1l1Ll.put("nw_ver", l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.L1Lll1llL1Ll1ll.L1L1L1Ll1l1L1l1l11L.l1Ll1llLLl1ll1l1l1l1l1l());
                ConcurrentHashMap<String, Object> concurrentHashMap = l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l().f7638L1L1l1lL1l1l1Ll11L;
                if (concurrentHashMap != null) {
                    try {
                        if (concurrentHashMap.size() > 0) {
                            JSONObject jSONObject = new JSONObject();
                            for (String str : concurrentHashMap.keySet()) {
                                Object obj = concurrentHashMap.get(str);
                                if (obj != null) {
                                    jSONObject.put(str, obj.toString());
                                }
                            }
                            m25Ll1lLl1l1LL1l1Ll.put("custom", jSONObject);
                        }
                    } catch (Throwable unused) {
                    }
                }
                JSONArray jSONArray = new JSONArray();
                if (this.f7318L1L1l1lL1l1l1Ll11L != null && this.f7318L1L1l1lL1l1l1Ll11L.size() > 0) {
                    for (String str2 : this.f7318L1L1l1lL1l1l1Ll11L) {
                        if (!TextUtils.isEmpty(str2)) {
                            jSONArray.put(new JSONObject(str2));
                        }
                    }
                }
                m25Ll1lLl1l1LL1l1Ll.put("data", jSONArray);
            } catch (Exception unused2) {
            }
            return m25Ll1lLl1l1LL1l1Ll;
        }

        @Override
        public final JSONObject L1L1l1lL1l1l1Ll11L() {
            JSONObject m17L1L1L1Ll1l1L1l1l11L = l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.m17L1L1L1Ll1l1L1l1l11L();
            try {
                m17L1L1L1Ll1l1L1l1l11L.put("tcp_tk_da_type", this.f7319Ll1l1L1L1L1l1L1l);
            } catch (Exception unused) {
            }
            return m17L1L1L1Ll1l1L1l1l11L;
        }

        @Override
        public final String L1LllLll1ll1LLll1() {
            return this.f7317L1L1L1Ll1l1L1l1l11L;
        }

        @Override
        public final int Ll1lLl1l1LL1l1Ll() {
            return 1;
        }

        @Override
        public final void Ll1lLl1l1LL1l1Ll(int i2, L1Ll1ll1L1L1ll1l l1Ll1ll1L1L1ll1l) {
            if (!TextUtils.isEmpty(lilil1liLi1lLL1l1l())) {
                super.Ll1lLl1l1LL1l1Ll(i2, l1Ll1ll1L1L1ll1l);
            } else if (l1Ll1ll1L1L1ll1l != null) {
                l1Ll1ll1L1L1ll1l.Ll1lLl1l1LL1l1Ll(i2, Integer.valueOf(this.f7321l1l1l1l1LL1L1l1lL1l));
            }
        }

        @Override
        public final void Ll1lLl1l1LL1l1Ll(L1Lll1l1l1l1l1l l1Lll1l1l1l1l1l) {
        }

        @Override
        public final byte[] l1L1L1L1L1l1LLL1LL1ll() {
            return L1LllLll1ll1LLll1.lilil1liLi1lLL1l1l(Ll1l1L1L1L1l1L1l());
        }

        @Override
        public final boolean l1Ll1llLLl1ll1l1l1l1l1l() {
            return true;
        }

        @Override
        public final Map<String, String> l1l1l1l1LL1L1l1lL1l() {
            return l1L1L1L1L1l1LLL1LL1ll.lilil1liLi1lLL1l1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("Content-Encoding", "gzip", com.anythink.expressad.foundation.f.f.g.c.a, "application/json;charset=utf-8");
        }

        @Override
        public final String lilil1liLi1lLL1l1l() {
            l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.L1Lll1lll1llL.Ll1lLl1l1LL1l1Ll();
            l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1L1Ll1l1L1l1l11L.Ll1lLl1l1LL1l1Ll Ll1lLl1l1LL1l1Ll2 = l1L1L1L1L1l1LLL1LL1ll.lilil1liLi1lLL1l1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll(l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1L1Ll1l1L1l1l11L.lilil1liLi1lLL1l1l.Ll1lLl1l1LL1l1Ll(l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l().f7646lilil1liLi1lLL1l1l));
            if (Ll1lLl1l1LL1l1Ll2 != null) {
                return l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.L1Lll1lll1llL.Ll1lLl1l1LL1l1Ll(Ll1lLl1l1LL1l1Ll2.L1Ll1ll1L1L1ll1l, "https://da.anythinktech.com/v1/open/da", Ll1lLl1l1LL1l1Ll2.u, "https://cn-da.anythinktech.com/v1/open/da");
            }
            return l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.L1Lll1lll1llL.Ll1lLl1l1LL1l1Ll("https://da.anythinktech.com/v1/open/da", "https://cn-da.anythinktech.com/v1/open/da");
        }

        @Override
        public final void lilil1liLi1lLL1l1l(L1Lll1l1l1l1l1l l1Lll1l1l1l1l1l) {
        }

        @Override
        public final Object Ll1lLl1l1LL1l1Ll(String str) {
            return Integer.valueOf(this.f7321l1l1l1l1LL1L1l1lL1l);
        }
    }

    public class l1Ll1llLLl1ll1l1l1l1l1l extends L1LllLll1ll1LLll1 {
        public long f7339L1L1L1Ll1l1L1l1l11L;
        public long f7340L1L1l1lL1l1l1Ll11L;
        public Map<String, Object> f7341Ll1l1L1L1L1l1L1l = l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l().f7638L1L1l1lL1l1l1Ll11L;
        public String f7342l1L1L1L1L1l1LLL1LL1ll;
        public String f7343l1l1l1l1LL1L1l1lL1l;

        public l1Ll1llLLl1ll1l1l1l1l1l(Context context, String str, String str2) {
            this.f7343l1l1l1l1LL1L1l1lL1l = str;
            this.f7342l1L1L1L1L1l1LLL1LL1ll = str2;
        }

        @Override
        public final JSONObject L1L1L1Ll1l1L1l1l11L() {
            JSONObject m25Ll1lLl1l1LL1l1Ll = l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.m25Ll1lLl1l1LL1l1Ll();
            try {
                m25Ll1lLl1l1LL1l1Ll.put(PluginConstants.KEY_APP_ID, this.f7343l1l1l1l1LL1L1l1lL1l);
                m25Ll1lLl1l1LL1l1Ll.put("nw_ver", l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.L1Lll1llL1Ll1ll.L1L1L1Ll1l1L1l1l11L.l1Ll1llLLl1ll1l1l1l1l1l());
                String L1LLLll1llLLl2 = l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l().L1LLLll1llLLl();
                if (!TextUtils.isEmpty(L1LLLll1llLLl2)) {
                    m25Ll1lLl1l1LL1l1Ll.put("sy_id", L1LLLll1llLLl2);
                }
                String l1Ll1llLLl1ll1l1l1l1l1l2 = l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l().l1Ll1llLLl1ll1l1l1l1l1l();
                if (!TextUtils.isEmpty(l1Ll1llLLl1ll1l1l1l1l1l2)) {
                    m25Ll1lLl1l1LL1l1Ll.put("bk_id", l1Ll1llLLl1ll1l1l1l1l1l2);
                } else {
                    l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l().l1l1l1l1LL1L1l1lL1l(l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l().L1LllLll1ll1LLll1());
                    m25Ll1lLl1l1LL1l1Ll.put("bk_id", l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l().L1LllLll1ll1LLll1());
                }
                ConcurrentHashMap<String, Object> concurrentHashMap = l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l().f7638L1L1l1lL1l1l1Ll11L;
                if (concurrentHashMap != null) {
                    JSONObject jSONObject = new JSONObject();
                    for (String str : concurrentHashMap.keySet()) {
                        Object obj = concurrentHashMap.get(str);
                        if (obj != null) {
                            jSONObject.put(str, obj.toString());
                        }
                    }
                    m25Ll1lLl1l1LL1l1Ll.put("custom", jSONObject);
                }
                if (l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l().Ll1lLl1l1LL1l1Ll() != null) {
                    m25Ll1lLl1l1LL1l1Ll.put("deny", l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.L1Lll1llL1Ll1ll.L1L1L1Ll1l1L1l1l11L.L1Ll1ll1L1L1ll1l(l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l().f7646lilil1liLi1lLL1l1l));
                }
            } catch (JSONException unused) {
            }
            return m25Ll1lLl1l1LL1l1Ll;
        }

        @Override
        public final JSONObject L1L1l1lL1l1l1Ll11L() {
            JSONObject m17L1L1L1Ll1l1L1l1l11L = l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.m17L1L1L1Ll1l1L1l1l11L();
            try {
                if (l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l().Ll1lLl1l1LL1l1Ll() != null) {
                    m17L1L1L1Ll1l1L1l1l11L.put("btts", l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.L1Lll1llL1Ll1ll.L1L1L1Ll1l1L1l1l11L.L1LLLll1llLLl());
                }
            } catch (JSONException unused) {
            }
            return m17L1L1L1Ll1l1L1l1l11L;
        }

        @Override
        public final boolean L1LLLll1llLLl() {
            return true;
        }

        @Override
        public final String L1LllLll1ll1LLll1() {
            return this.f7342l1L1L1L1L1l1LLL1LL1ll;
        }

        @Override
        public final int Ll1lLl1l1LL1l1Ll() {
            return 1;
        }

        @Override
        public final void Ll1lLl1l1LL1l1Ll(int i2, L1Ll1ll1L1L1ll1l l1Ll1ll1L1L1ll1l) {
            this.f7339L1L1L1Ll1l1L1l1l11L = System.currentTimeMillis();
            this.f7340L1L1l1lL1l1l1Ll11L = SystemClock.elapsedRealtime();
            super.Ll1lLl1l1LL1l1Ll(i2, l1Ll1ll1L1L1ll1l);
        }

        @Override
        public final void Ll1lLl1l1LL1l1Ll(L1Lll1l1l1l1l1l l1Lll1l1l1l1l1l) {
        }

        @Override
        public final byte[] l1L1L1L1L1l1LLL1LL1ll() {
            try {
                return Ll1l1L1L1L1l1L1l().getBytes(com.anythink.expressad.foundation.f.a.F);
            } catch (Exception unused) {
                return Ll1l1L1L1L1l1L1l().getBytes();
            }
        }

        @Override
        public final Map<String, String> l1l1l1l1LL1L1l1lL1l() {
            return l1L1L1L1L1l1LLL1LL1ll.lilil1liLi1lLL1l1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("Accept-Encoding", "gzip", com.anythink.expressad.foundation.f.f.g.c.a, "application/json;charset=utf-8");
        }

        @Override
        public final void lilil1liLi1lLL1l1l(L1Lll1l1l1l1l1l l1Lll1l1l1l1l1l) {
            l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll("app", l1Lll1l1l1l1l1l.f7822l1l1l1l1LL1L1l1lL1l, l1Lll1l1l1l1l1l.f7821l1L1L1L1L1l1LLL1LL1ll, (String) null, "", "", "");
        }

        @Override
        public final Object Ll1lLl1l1LL1l1Ll(String str) {
            String trim = str.trim();
            try {
                JSONObject jSONObject = new JSONObject(trim);
                if (this.f7341Ll1l1L1L1L1l1L1l != null) {
                    jSONObject.put("custom", new JSONObject(this.f7341Ll1l1L1L1L1l1L1l));
                }
                trim = jSONObject.toString();
            } catch (Exception unused) {
            }
            l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll("app", (String) null, this.f7339L1L1L1Ll1l1L1l1l11L, System.currentTimeMillis(), SystemClock.elapsedRealtime() - this.f7340L1L1l1lL1l1l1Ll11L);
            return trim;
        }

        @Override
        public final String lilil1liLi1lLL1l1l() {
            l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.L1Lll1lll1llL.Ll1lLl1l1LL1l1Ll();
            return l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.L1Lll1lll1llL.Ll1lLl1l1LL1l1Ll("https://api.anythinktech.com/v1/open/app", "https://cn-api.anythinktech.com/v1/open/app");
        }
    }

    public class l1llL1Ll1lL1Ll extends L1LllLll1ll1LLll1 {
        public Context f7347L1L1L1Ll1l1L1l1l11L;
        public String f7348L1L1l1lL1l1l1Ll11L;
        public long f7349L1LLLll1llLLl;
        public Map<String, Object> f7350L1LllLll1ll1LLll1;
        public String f7351Ll1l1L1L1L1l1L1l;
        public String f7352l1L1L1L1L1l1LLL1LL1ll;
        public long f7353l1Ll1llLLl1ll1l1l1l1l1l;
        public String f7354l1l1l1l1LL1L1l1lL1l;

        public l1llL1Ll1lL1Ll(Context context, String str, String str2, String str3, String str4, Map<String, Object> map) {
            this.f7348L1L1l1lL1l1l1Ll11L = str;
            this.f7351Ll1l1L1L1L1l1L1l = str2;
            this.f7347L1L1L1Ll1l1L1l1l11L = context;
            this.f7352l1L1L1L1L1l1LLL1LL1ll = str3;
            l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l().Ll1l1L1L1L1l1L1l();
            this.f7354l1l1l1l1LL1L1l1lL1l = l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l().lilil1liLi1lLL1l1l(str3);
            this.f7350L1LllLll1ll1LLll1 = map;
        }

        @Override
        public final JSONObject L1L1L1Ll1l1L1l1l11L() {
            a Ll1lLl1l1LL1l1Ll2;
            Context context;
            JSONArray jSONArray;
            JSONObject m25Ll1lLl1l1LL1l1Ll = l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.m25Ll1lLl1l1LL1l1Ll();
            try {
                m25Ll1lLl1l1LL1l1Ll.put(PluginConstants.KEY_APP_ID, this.f7348L1L1l1lL1l1l1Ll11L);
                m25Ll1lLl1l1LL1l1Ll.put("pl_id", this.f7352l1L1L1L1L1l1LLL1LL1ll);
                m25Ll1lLl1l1LL1l1Ll.put("session_id", this.f7354l1l1l1l1LL1L1l1lL1l);
                m25Ll1lLl1l1LL1l1Ll.put("nw_ver", l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.L1Lll1llL1Ll1ll.L1L1L1Ll1l1L1l1l11L.l1Ll1llLLl1ll1l1l1l1l1l());
                Ll1lLl1l1LL1l1Ll2 = a.Ll1lLl1l1LL1l1Ll();
                context = this.f7347L1L1L1Ll1l1L1l1l11L;
            } catch (JSONException unused) {
            }
            if (Ll1lLl1l1LL1l1Ll2 != null) {
                try {
                } catch (Exception e) {
                    e.printStackTrace();
                }
                if (Ll1lLl1l1LL1l1Ll2.f7498lilil1liLi1lLL1l1l != null) {
                    jSONArray = new JSONArray(Ll1lLl1l1LL1l1Ll2.f7498lilil1liLi1lLL1l1l.invoke(null, context).toString());
                    m25Ll1lLl1l1LL1l1Ll.put("exclude_myofferid", jSONArray);
                    if (l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l() == null) {
                        String L1LLLll1llLLl2 = l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l().L1LLLll1llLLl();
                        if (!TextUtils.isEmpty(L1LLLll1llLLl2)) {
                            m25Ll1lLl1l1LL1l1Ll.put("sy_id", L1LLLll1llLLl2);
                        }
                        String l1Ll1llLLl1ll1l1l1l1l1l2 = l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l().l1Ll1llLLl1ll1l1l1l1l1l();
                        if (!TextUtils.isEmpty(l1Ll1llLLl1ll1l1l1l1l1l2)) {
                            m25Ll1lLl1l1LL1l1Ll.put("bk_id", l1Ll1llLLl1ll1l1l1l1l1l2);
                        } else {
                            l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l().l1l1l1l1LL1L1l1lL1l(l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l().L1LllLll1ll1LLll1());
                            m25Ll1lLl1l1LL1l1Ll.put("bk_id", l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l().L1LllLll1ll1LLll1());
                        }
                        if (this.f7350L1LllLll1ll1LLll1 != null) {
                            JSONObject jSONObject = new JSONObject();
                            for (String str : this.f7350L1LllLll1ll1LLll1.keySet()) {
                                Object obj = this.f7350L1LllLll1ll1LLll1.get(str);
                                if (obj != null) {
                                    jSONObject.put(str, obj.toString());
                                }
                            }
                            m25Ll1lLl1l1LL1l1Ll.put("custom", jSONObject);
                        }
                        if (l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l().Ll1lLl1l1LL1l1Ll() != null) {
                            m25Ll1lLl1l1LL1l1Ll.put("deny", l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.L1Lll1llL1Ll1ll.L1L1L1Ll1l1L1l1l11L.L1Ll1ll1L1L1ll1l(l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l().f7646lilil1liLi1lLL1l1l));
                        }
                        return m25Ll1lLl1l1LL1l1Ll;
                    }
                    throw null;
                }
                jSONArray = new JSONArray();
                m25Ll1lLl1l1LL1l1Ll.put("exclude_myofferid", jSONArray);
                if (l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l() == null) {
                }
            } else {
                throw null;
            }
        }

        @Override
        public final JSONObject L1L1l1lL1l1l1Ll11L() {
            JSONObject m17L1L1L1Ll1l1L1l1l11L = l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.m17L1L1L1Ll1l1L1l1l11L();
            try {
                if (l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l().Ll1lLl1l1LL1l1Ll() != null) {
                    m17L1L1L1Ll1l1L1l1l11L.put("btts", l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.L1Lll1llL1Ll1ll.L1L1L1Ll1l1L1l1l11L.L1LLLll1llLLl());
                }
            } catch (JSONException unused) {
            }
            return m17L1L1L1Ll1l1L1l1l11L;
        }

        @Override
        public final boolean L1LLLll1llLLl() {
            return true;
        }

        @Override
        public final String L1LllLll1ll1LLll1() {
            return this.f7351Ll1l1L1L1L1l1L1l;
        }

        @Override
        public final int Ll1lLl1l1LL1l1Ll() {
            return 1;
        }

        @Override
        public final void Ll1lLl1l1LL1l1Ll(int i2, L1Ll1ll1L1L1ll1l l1Ll1ll1L1L1ll1l) {
            this.f7349L1LLLll1llLLl = System.currentTimeMillis();
            this.f7353l1Ll1llLLl1ll1l1l1l1l1l = SystemClock.elapsedRealtime();
            super.Ll1lLl1l1LL1l1Ll(i2, l1Ll1ll1L1L1ll1l);
        }

        @Override
        public final void Ll1lLl1l1LL1l1Ll(L1Lll1l1l1l1l1l l1Lll1l1l1l1l1l) {
        }

        @Override
        public final byte[] l1L1L1L1L1l1LLL1LL1ll() {
            try {
                return Ll1l1L1L1L1l1L1l().getBytes(com.anythink.expressad.foundation.f.a.F);
            } catch (Exception unused) {
                return Ll1l1L1L1L1l1L1l().getBytes();
            }
        }

        @Override
        public final Map<String, String> l1l1l1l1LL1L1l1lL1l() {
            return l1L1L1L1L1l1LLL1LL1ll.lilil1liLi1lLL1l1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("Accept-Encoding", "gzip", com.anythink.expressad.foundation.f.f.g.c.a, "application/json;charset=utf-8");
        }

        @Override
        public final void lilil1liLi1lLL1l1l(L1Lll1l1l1l1l1l l1Lll1l1l1l1l1l) {
            l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll("placement", l1Lll1l1l1l1l1l.f7822l1l1l1l1LL1L1l1lL1l, l1Lll1l1l1l1l1l.f7821l1L1L1L1L1l1LLL1LL1ll, (String) null, this.f7352l1L1L1L1L1l1LLL1LL1ll, "", "");
        }

        @Override
        public final Object Ll1lLl1l1LL1l1Ll(String str) {
            String trim = str.trim();
            try {
                JSONObject jSONObject = new JSONObject(trim);
                if (this.f7350L1LllLll1ll1LLll1 != null) {
                    jSONObject.put("sdk_custom", new JSONObject(this.f7350L1LllLll1ll1LLll1));
                }
                trim = jSONObject.toString();
            } catch (Exception unused) {
            }
            l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll("placement", this.f7352l1L1L1L1L1l1LLL1LL1ll, this.f7349L1LLLll1llLLl, System.currentTimeMillis(), SystemClock.elapsedRealtime() - this.f7353l1Ll1llLLl1ll1l1l1l1l1l);
            return trim;
        }

        @Override
        public final String lilil1liLi1lLL1l1l() {
            l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.L1Lll1lll1llL.Ll1lLl1l1LL1l1Ll();
            return l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.L1Lll1lll1llL.Ll1lLl1l1LL1l1Ll("https://api.anythinktech.com/v1/open/placement", "https://cn-api.anythinktech.com/v1/open/placement");
        }
    }

    public final synchronized void lilil1liLi1lLL1l1l(l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll l1l1l1l1l1l1lll1ll1ll) {
        L1L1L1Ll1l1L1l1l11L.l1Ll1llLLl1ll1l1l1l1l1l trackingInfo = l1l1l1l1l1l1lll1ll1ll.getTrackingInfo();
        trackingInfo.L1Lll1ll1Ll1ll1L = SystemClock.elapsedRealtime() - this.b.get(trackingInfo.L1L1ll1l1l1l1lL1).longValue();
    }

    public abstract class L1LllLll1ll1LLll1 {
        public L1Ll1ll1L1L1ll1l f7328Ll1lLl1l1LL1l1Ll;
        public boolean f7329lilil1liLi1lLL1l1l;

        public static byte[] lilil1liLi1lLL1l1l(String str) {
            if (str == null || str.length() == 0) {
                return null;
            }
            ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
            try {
                GZIPOutputStream gZIPOutputStream = new GZIPOutputStream(byteArrayOutputStream);
                gZIPOutputStream.write(str.getBytes(com.anythink.expressad.foundation.f.a.F));
                gZIPOutputStream.close();
            } catch (Exception e) {
                e.printStackTrace();
            }
            return byteArrayOutputStream.toByteArray();
        }

        public JSONObject L1L1L1Ll1l1L1l1l11L() {
            return l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.m25Ll1lLl1l1LL1l1Ll();
        }

        public JSONObject L1L1l1lL1l1l1Ll11L() {
            return l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.m17L1L1L1Ll1l1L1l1l11L();
        }

        public boolean L1LLLll1llLLl() {
            return false;
        }

        public abstract String L1LllLll1ll1LLll1();

        public String Ll1l1L1L1L1l1L1l() {
            HashMap hashMap = new HashMap();
            String Ll1lLl1l1LL1l1Ll2 = l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.L1Lll1llL1Ll1ll.l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll(L1L1L1Ll1l1L1l1l11L().toString());
            String Ll1lLl1l1LL1l1Ll3 = l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.L1Lll1llL1Ll1ll.l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll(L1L1l1lL1l1l1Ll11L().toString());
            hashMap.put("api_ver", "1.0");
            hashMap.put("p", Ll1lLl1l1LL1l1Ll2);
            hashMap.put("p2", Ll1lLl1l1LL1l1Ll3);
            ArrayList arrayList = new ArrayList(hashMap.size());
            arrayList.addAll(hashMap.keySet());
            Collections.sort(arrayList);
            StringBuilder sb = new StringBuilder();
            Iterator it = arrayList.iterator();
            while (it.hasNext()) {
                String str = (String) it.next();
                if (sb.length() > 0) {
                    sb.append(RequestEncryptUtils.PARAMETER_SEPARATOR);
                }
                sb.append(str);
                sb.append(RequestEncryptUtils.NAME_VALUE_SEPARATOR);
                sb.append(hashMap.get(str));
            }
            sb.toString();
            hashMap.put("sign", l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.L1Lll1llL1Ll1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l(L1LllLll1ll1LLll1() + sb.toString()));
            Set<String> keySet = hashMap.keySet();
            JSONObject jSONObject = new JSONObject();
            try {
                for (String str2 : keySet) {
                    jSONObject.put(str2, String.valueOf(hashMap.get(str2)));
                }
                return jSONObject.toString();
            } catch (Exception unused) {
                return null;
            } catch (OutOfMemoryError unused2) {
                System.gc();
                return null;
            }
        }

        public abstract int Ll1lLl1l1LL1l1Ll();

        public abstract Object Ll1lLl1l1LL1l1Ll(String str);

        public void Ll1lLl1l1LL1l1Ll(int i2, L1Ll1ll1L1L1ll1l l1Ll1ll1L1L1ll1l) {
            this.f7329lilil1liLi1lLL1l1l = false;
            this.f7328Ll1lLl1l1LL1l1Ll = l1Ll1ll1L1L1ll1l;
            L1L1l1lL1l1l1Ll11L l1L1l1lL1l1l1Ll11L = new L1L1l1lL1l1l1Ll11L(this, i2);
            if (l1Ll1llLLl1ll1l1l1l1l1l()) {
                l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.L1Lll1llL1Ll1ll.lilil1liLi1lLL1l1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll().Ll1lLl1l1LL1l1Ll((l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.L1Lll1llL1Ll1ll.lilil1liLi1lLL1l1l.lilil1liLi1lLL1l1l) l1L1l1lL1l1l1Ll11L, 1);
            } else {
                l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.L1Lll1llL1Ll1ll.lilil1liLi1lLL1l1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll().Ll1lLl1l1LL1l1Ll((l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.L1Lll1llL1Ll1ll.lilil1liLi1lLL1l1l.lilil1liLi1lLL1l1l) l1L1l1lL1l1l1Ll11L, 2);
            }
        }

        public abstract void Ll1lLl1l1LL1l1Ll(L1Lll1l1l1l1l1l l1Lll1l1l1l1l1l);

        public abstract byte[] l1L1L1L1L1l1LLL1LL1ll();

        public boolean l1Ll1llLLl1ll1l1l1l1l1l() {
            return false;
        }

        public abstract Map<String, String> l1l1l1l1LL1L1l1lL1l();

        public abstract String lilil1liLi1lLL1l1l();

        public abstract void lilil1liLi1lLL1l1l(L1Lll1l1l1l1l1l l1Lll1l1l1l1l1l);

        public final void Ll1lLl1l1LL1l1Ll(int i2, ConnectTimeoutException connectTimeoutException) {
            L1Lll1l1l1l1l1l lilil1liLi1lLL1l1l2 = l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.lilil1liLi1lLL1l1l("9999", "9999", connectTimeoutException.getMessage());
            L1Ll1ll1L1L1ll1l l1Ll1ll1L1L1ll1l = this.f7328Ll1lLl1l1LL1l1Ll;
            if (l1Ll1ll1L1L1ll1l != null) {
                l1Ll1ll1L1L1ll1l.Ll1lLl1l1LL1l1Ll(i2, "Connect timeout.", lilil1liLi1lLL1l1l2);
            }
            lilil1liLi1lLL1l1l(lilil1liLi1lLL1l1l2);
        }

        public final void Ll1lLl1l1LL1l1Ll(int i2, String str, L1Lll1l1l1l1l1l l1Lll1l1l1l1l1l) {
            L1Ll1ll1L1L1ll1l l1Ll1ll1L1L1ll1l = this.f7328Ll1lLl1l1LL1l1Ll;
            if (l1Ll1ll1L1L1ll1l != null) {
                l1Ll1ll1L1L1ll1l.Ll1lLl1l1LL1l1Ll(i2, str, l1Lll1l1l1l1l1l);
            }
            lilil1liLi1lLL1l1l(l1Lll1l1l1l1l1l);
        }

        public final void Ll1lLl1l1LL1l1Ll(int i2) {
            L1Ll1ll1L1L1ll1l l1Ll1ll1L1L1ll1l = this.f7328Ll1lLl1l1LL1l1Ll;
            if (l1Ll1ll1L1L1ll1l != null) {
                l1Ll1ll1L1L1ll1l.lilil1liLi1lLL1l1l(i2);
            }
        }

        public void Ll1lLl1l1LL1l1Ll(int i2, Object obj) {
            L1Ll1ll1L1L1ll1l l1Ll1ll1L1L1ll1l = this.f7328Ll1lLl1l1LL1l1Ll;
            if (l1Ll1ll1L1L1ll1l != null) {
                l1Ll1ll1L1L1ll1l.Ll1lLl1l1LL1l1Ll(i2, obj);
            }
        }

        public static InputStream Ll1lLl1l1LL1l1Ll(HttpURLConnection httpURLConnection) {
            InputStream inputStream = null;
            if (httpURLConnection == null) {
                return null;
            }
            try {
                inputStream = httpURLConnection.getInputStream();
            } catch (Exception unused) {
            }
            if ("gzip".equalsIgnoreCase(httpURLConnection.getHeaderField("Content-Encoding"))) {
                try {
                    byte[] bArr = new byte[2];
                    BufferedInputStream bufferedInputStream = new BufferedInputStream(inputStream);
                    bufferedInputStream.mark(2);
                    int read = bufferedInputStream.read(bArr);
                    bufferedInputStream.reset();
                    return (read == -1 || (((bArr[1] & 255) << 8) | (bArr[0] & 255)) != 35615) ? bufferedInputStream : new GZIPInputStream(bufferedInputStream);
                } catch (Exception unused2) {
                    return inputStream;
                }
            }
            return inputStream;
        }
    }

    public final class L1L1l1lL1l1l1Ll11L extends l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.L1Lll1llL1Ll1ll.lilil1liLi1lLL1l1l.lilil1liLi1lLL1l1l {
        public final L1LllLll1ll1LLll1 f7315l1l1l1l1LL1L1l1lL1l;
        public final int f7316lilil1liLi1lLL1l1l;

        public L1L1l1lL1l1l1Ll11L(L1LllLll1ll1LLll1 l1LllLll1ll1LLll1, int i2) {
            this.f7315l1l1l1l1LL1L1l1lL1l = l1LllLll1ll1LLll1;
            this.f7316lilil1liLi1lLL1l1l = i2;
        }

        @Override
        public final void Ll1lLl1l1LL1l1Ll() {
            L1Ll1ll1L1L1ll1l l1Ll1ll1L1L1ll1l;
            try {
                if (this.f7315l1l1l1l1LL1L1l1lL1l.f7328Ll1lLl1l1LL1l1Ll != null) {
                    this.f7315l1l1l1l1LL1L1l1lL1l.f7328Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll(this.f7316lilil1liLi1lLL1l1l);
                }
                Ll1lLl1l1LL1l1Ll(this.f7315l1l1l1l1LL1L1l1lL1l.lilil1liLi1lLL1l1l());
            } catch (Exception e) {
                String message = e.getMessage();
                if (e.getMessage() != null) {
                    message = e.getMessage();
                }
                L1Ll1ll1L1L1ll1l l1Ll1ll1L1L1ll1l2 = this.f7315l1l1l1l1LL1L1l1lL1l.f7328Ll1lLl1l1LL1l1Ll;
                if (l1Ll1ll1L1L1ll1l2 != null) {
                    l1Ll1ll1L1L1ll1l2.Ll1lLl1l1LL1l1Ll(this.f7316lilil1liLi1lLL1l1l, message, l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.lilil1liLi1lLL1l1l("9999", "9999", e.getMessage()));
                }
            } catch (OutOfMemoryError e2) {
                e = e2;
                System.gc();
                String message2 = e.getMessage();
                if (e.getMessage() != null) {
                    message2 = e.getMessage();
                }
                l1Ll1ll1L1L1ll1l = this.f7315l1l1l1l1LL1L1l1lL1l.f7328Ll1lLl1l1LL1l1Ll;
                if (l1Ll1ll1L1L1ll1l == null) {
                    l1Ll1ll1L1L1ll1l.Ll1lLl1l1LL1l1Ll(this.f7316lilil1liLi1lLL1l1l, message2, l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.lilil1liLi1lLL1l1l("9999", "9999", e.getMessage()));
                }
            } catch (StackOverflowError e3) {
                e = e3;
                System.gc();
                String message22 = e.getMessage();
                if (e.getMessage() != null) {
                }
                l1Ll1ll1L1L1ll1l = this.f7315l1l1l1l1LL1L1l1lL1l.f7328Ll1lLl1l1LL1l1Ll;
                if (l1Ll1ll1L1L1ll1l == null) {
                }
            }
        }

        public final void Ll1lLl1l1LL1l1Ll(String str) {
            HttpURLConnection httpURLConnection;
            byte[] l1L1L1L1L1l1LLL1LL1ll2;
            HttpURLConnection httpURLConnection2 = null;
            try {
                try {
                    "REQUEST URL: ".concat(String.valueOf(str));
                    httpURLConnection = (HttpURLConnection) new URL(str).openConnection();
                } catch (Throwable th) {
                    th = th;
                }
            } catch (OutOfMemoryError e) {
                e = e;
            } catch (StackOverflowError e2) {
                e = e2;
            } catch (Error e3) {
                e = e3;
            } catch (ConnectException e4) {
                e = e4;
            } catch (SocketTimeoutException e5) {
                e = e5;
            } catch (UnknownHostException e6) {
                e = e6;
            } catch (ConnectTimeoutException e7) {
                e = e7;
            } catch (Exception e8) {
                e = e8;
            }
            try {
                int Ll1lLl1l1LL1l1Ll2 = this.f7315l1l1l1l1LL1L1l1lL1l.Ll1lLl1l1LL1l1Ll();
                if (Ll1lLl1l1LL1l1Ll2 != 1 && Ll1lLl1l1LL1l1Ll2 != 2) {
                    Ll1lLl1l1LL1l1Ll2 = 2;
                }
                if (Ll1lLl1l1LL1l1Ll2 == 1) {
                    httpURLConnection.setDoInput(true);
                    httpURLConnection.setDoOutput(true);
                    httpURLConnection.setRequestMethod(ae.b);
                    httpURLConnection.setUseCaches(false);
                }
                if (Ll1lLl1l1LL1l1Ll2 == 2) {
                    httpURLConnection.setInstanceFollowRedirects(false);
                }
                Map<String, String> l1l1l1l1LL1L1l1lL1l2 = this.f7315l1l1l1l1LL1L1l1lL1l.l1l1l1l1LL1L1l1lL1l();
                if (l1l1l1l1LL1L1l1lL1l2 != null && l1l1l1l1LL1L1l1lL1l2.size() > 0) {
                    for (String str2 : l1l1l1l1LL1L1l1lL1l2.keySet()) {
                        httpURLConnection.addRequestProperty(str2, l1l1l1l1LL1L1l1lL1l2.get(str2));
                    }
                }
                if (this.f7315l1l1l1l1LL1L1l1lL1l.f7329lilil1liLi1lLL1l1l) {
                    this.f7315l1l1l1l1LL1L1l1lL1l.Ll1lLl1l1LL1l1Ll(this.f7316lilil1liLi1lLL1l1l);
                    if (httpURLConnection != null) {
                        httpURLConnection.disconnect();
                        return;
                    }
                    return;
                }
                l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l().Ll1lLl1l1LL1l1Ll(e.b);
                httpURLConnection.setConnectTimeout(20000);
                httpURLConnection.setReadTimeout(60000);
                httpURLConnection.connect();
                if (Ll1lLl1l1LL1l1Ll2 == 1 && (l1L1L1L1L1l1LLL1LL1ll2 = this.f7315l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll()) != null) {
                    OutputStream outputStream = httpURLConnection.getOutputStream();
                    outputStream.write(l1L1L1L1L1l1LLL1LL1ll2);
                    outputStream.flush();
                    outputStream.close();
                }
                int responseCode = httpURLConnection.getResponseCode();
                if (responseCode != 200) {
                    if (responseCode != 302 && responseCode != 301 && responseCode != 307) {
                        this.f7315l1l1l1l1LL1L1l1lL1l.Ll1lLl1l1LL1l1Ll(this.f7316lilil1liLi1lLL1l1l, "Http respond status code is ".concat(String.valueOf(responseCode)), l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.lilil1liLi1lLL1l1l("9990", String.valueOf(responseCode), httpURLConnection.getResponseMessage()));
                        httpURLConnection.disconnect();
                        return;
                    }
                    if (!this.f7315l1l1l1l1LL1L1l1lL1l.f7329lilil1liLi1lLL1l1l) {
                        String headerField = httpURLConnection.getHeaderField("Location");
                        if (headerField != null) {
                            if (!headerField.startsWith("http")) {
                                headerField = str + headerField;
                            }
                            Ll1lLl1l1LL1l1Ll(headerField);
                        }
                    } else {
                        this.f7315l1l1l1l1LL1L1l1lL1l.Ll1lLl1l1LL1l1Ll(this.f7316lilil1liLi1lLL1l1l);
                    }
                    httpURLConnection.disconnect();
                } else if (this.f7315l1l1l1l1LL1L1l1lL1l.f7329lilil1liLi1lLL1l1l) {
                    this.f7315l1l1l1l1LL1L1l1lL1l.Ll1lLl1l1LL1l1Ll(this.f7316lilil1liLi1lLL1l1l);
                    httpURLConnection.disconnect();
                } else {
                    InputStream Ll1lLl1l1LL1l1Ll3 = L1LllLll1ll1LLll1.Ll1lLl1l1LL1l1Ll(httpURLConnection);
                    InputStreamReader inputStreamReader = new InputStreamReader(Ll1lLl1l1LL1l1Ll3);
                    BufferedReader bufferedReader = new BufferedReader(inputStreamReader);
                    StringBuilder sb = new StringBuilder();
                    while (true) {
                        String readLine = bufferedReader.readLine();
                        if (readLine == null) {
                            break;
                        }
                        sb.append(readLine);
                    }
                    bufferedReader.close();
                    inputStreamReader.close();
                    if (Ll1lLl1l1LL1l1Ll3 != null) {
                        Ll1lLl1l1LL1l1Ll3.close();
                    }
                    if (this.f7315l1l1l1l1LL1L1l1lL1l.L1LLLll1llLLl()) {
                        String trim = l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.L1Lll1llL1Ll1ll.l1L1L1L1L1l1LLL1LL1ll.lilil1liLi1lLL1l1l(sb.toString()).trim();
                        JSONObject jSONObject = new JSONObject(trim);
                        int optInt = jSONObject.optInt("code");
                        if (optInt == 0) {
                            JSONObject optJSONObject = jSONObject.optJSONObject("data");
                            if (optJSONObject == null) {
                                optJSONObject = new JSONObject();
                            }
                            String jSONObject2 = optJSONObject.toString();
                            L1LllLll1ll1LLll1 l1LllLll1ll1LLll1 = this.f7315l1l1l1l1LL1L1l1lL1l;
                            httpURLConnection.getHeaderFields();
                            this.f7315l1l1l1l1LL1L1l1lL1l.Ll1lLl1l1LL1l1Ll(this.f7316lilil1liLi1lLL1l1l, l1LllLll1ll1LLll1.Ll1lLl1l1LL1l1Ll(jSONObject2));
                        } else {
                            this.f7315l1l1l1l1LL1L1l1lL1l.Ll1lLl1l1LL1l1Ll(this.f7316lilil1liLi1lLL1l1l, trim, l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.lilil1liLi1lLL1l1l("9991", String.valueOf(optInt), trim));
                        }
                    } else {
                        L1LllLll1ll1LLll1 l1LllLll1ll1LLll12 = this.f7315l1l1l1l1LL1L1l1lL1l;
                        httpURLConnection.getHeaderFields();
                        this.f7315l1l1l1l1LL1L1l1lL1l.Ll1lLl1l1LL1l1Ll(this.f7316lilil1liLi1lLL1l1l, l1LllLll1ll1LLll12.Ll1lLl1l1LL1l1Ll(sb.toString()));
                    }
                    httpURLConnection.disconnect();
                }
            } catch (OutOfMemoryError e9) {
                e = e9;
                httpURLConnection2 = httpURLConnection;
                System.gc();
                String message = e.getMessage();
                if (e.getMessage() != null) {
                    message = e.getMessage();
                }
                this.f7315l1l1l1l1LL1L1l1lL1l.Ll1lLl1l1LL1l1Ll(this.f7316lilil1liLi1lLL1l1l, message, l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.lilil1liLi1lLL1l1l("9999", "9999", e.getMessage()));
                if (httpURLConnection2 != null) {
                    httpURLConnection2.disconnect();
                }
            } catch (StackOverflowError e10) {
                e = e10;
                httpURLConnection2 = httpURLConnection;
                System.gc();
                String message2 = e.getMessage();
                if (e.getMessage() != null) {
                    message2 = e.getMessage();
                }
                this.f7315l1l1l1l1LL1L1l1lL1l.Ll1lLl1l1LL1l1Ll(this.f7316lilil1liLi1lLL1l1l, message2, l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.lilil1liLi1lLL1l1l("9999", "9999", e.getMessage()));
                if (httpURLConnection2 != null) {
                    httpURLConnection2.disconnect();
                }
            } catch (Error e11) {
                e = e11;
                httpURLConnection2 = httpURLConnection;
                System.gc();
                String message3 = e.getMessage();
                if (e.getMessage() != null) {
                    message3 = e.getMessage();
                }
                this.f7315l1l1l1l1LL1L1l1lL1l.Ll1lLl1l1LL1l1Ll(this.f7316lilil1liLi1lLL1l1l, message3, l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.lilil1liLi1lLL1l1l("9999", "9999", e.getMessage()));
                if (httpURLConnection2 != null) {
                    httpURLConnection2.disconnect();
                }
            } catch (ConnectException e12) {
                e = e12;
                httpURLConnection2 = httpURLConnection;
                this.f7315l1l1l1l1LL1L1l1lL1l.Ll1lLl1l1LL1l1Ll(l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.lilil1liLi1lLL1l1l("9999", "9999", e.getMessage()));
                this.f7315l1l1l1l1LL1L1l1lL1l.Ll1lLl1l1LL1l1Ll(this.f7316lilil1liLi1lLL1l1l, "Connect error.", l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.lilil1liLi1lLL1l1l("9999", "9999", e.getMessage()));
                e.toString();
                if (httpURLConnection2 != null) {
                    httpURLConnection2.disconnect();
                }
            } catch (SocketTimeoutException e13) {
                e = e13;
                httpURLConnection2 = httpURLConnection;
                this.f7315l1l1l1l1LL1L1l1lL1l.Ll1lLl1l1LL1l1Ll(this.f7316lilil1liLi1lLL1l1l, "Connect timeout.", l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.lilil1liLi1lLL1l1l("9999", "9999", e.getMessage()));
                if (httpURLConnection2 != null) {
                    httpURLConnection2.disconnect();
                }
            } catch (UnknownHostException e14) {
                e = e14;
                httpURLConnection2 = httpURLConnection;
                this.f7315l1l1l1l1LL1L1l1lL1l.Ll1lLl1l1LL1l1Ll(l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.lilil1liLi1lLL1l1l("9999", "9999", e.getMessage()));
                this.f7315l1l1l1l1LL1L1l1lL1l.Ll1lLl1l1LL1l1Ll(this.f7316lilil1liLi1lLL1l1l, "UnknownHostException", l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.lilil1liLi1lLL1l1l("9999", "9999", e.getMessage()));
                e.toString();
                if (httpURLConnection2 != null) {
                    httpURLConnection2.disconnect();
                }
            } catch (ConnectTimeoutException e15) {
                e = e15;
                httpURLConnection2 = httpURLConnection;
                this.f7315l1l1l1l1LL1L1l1lL1l.Ll1lLl1l1LL1l1Ll(this.f7316lilil1liLi1lLL1l1l, e);
                if (httpURLConnection2 != null) {
                    httpURLConnection2.disconnect();
                }
            } catch (Exception e16) {
                e = e16;
                httpURLConnection2 = httpURLConnection;
                String message4 = e.getMessage();
                if (e.getMessage() != null) {
                    message4 = e.getMessage();
                }
                this.f7315l1l1l1l1LL1L1l1lL1l.Ll1lLl1l1LL1l1Ll(this.f7316lilil1liLi1lLL1l1l, message4, l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.lilil1liLi1lLL1l1l("9999", "9999", e.getMessage()));
                if (httpURLConnection2 != null) {
                    httpURLConnection2.disconnect();
                }
            } catch (Throwable th2) {
                th = th2;
                httpURLConnection2 = httpURLConnection;
                if (httpURLConnection2 != null) {
                    httpURLConnection2.disconnect();
                }
                throw th;
            }
        }
    }

    public final synchronized void l1l1l1l1LL1L1l1lL1l(L1L1L1Ll1l1L1l1l11L.L1L1l1lL1l1l1Ll11L l1L1l1lL1l1l1Ll11L) {
        double Ll1lLl1l1LL1l1Ll2 = l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll(l1L1l1lL1l1l1Ll11L);
        if (Ll1lLl1l1LL1l1Ll2 > this.k) {
            this.k = Ll1lLl1l1LL1l1Ll2;
            this.l = l1L1l1lL1l1l1Ll11L;
        }
        lilil1liLi1lLL1l1l(l1L1l1lL1l1l1Ll11L);
        int i2 = l1L1l1lL1l1l1Ll11L.f7185Ll1lLl1l1LL1l1Ll;
        this.l1l1l1LL1ll1Ll1lL++;
        if (!this.f7288Ll1l1L1L1L1l1L1l) {
            Ll1lLl1l1LL1l1Ll(true);
        }
    }

    public final void Ll1lLl1l1LL1l1Ll(L1L1L1Ll1l1L1l1l11L.L1L1l1lL1l1l1Ll11L l1L1l1lL1l1l1Ll11L) {
        double d;
        boolean z;
        if (l1L1l1lL1l1l1Ll11L != null && l1L1l1lL1l1l1Ll11L.L1L1L1Ll1l1L1l1l11L() && l1L1l1lL1l1l1Ll11L.x == 2) {
            L1L1L1Ll1l1L1l1l11L.L1Lll1lll1LlL1L11l l1Lll1lll1LlL1L11l = l1L1l1lL1l1l1Ll11L.C;
            l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll().Ll1lLl1l1LL1l1Ll(l1L1l1lL1l1l1Ll11L.L1Ll1ll1Ll1lL1Ll1ll, l1L1l1lL1l1l1Ll11L.f7185Ll1lLl1l1LL1l1Ll);
            if (l1Lll1lll1LlL1L11l != null && l1Lll1lll1LlL1L11l.L1L1LL1L1Lll1l1L == 66) {
                Ll1lLl1l1LL1l1Ll.lilil1liLi1lLL1l1l.Ll1lLl1l1LL1l1Ll();
                Ll1lLl1l1LL1l1Ll.lilil1liLi1lLL1l1l.Ll1lLl1l1LL1l1Ll(l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l().f7646lilil1liLi1lLL1l1l, l1Lll1lll1LlL1L11l.f7278l1l1l1l1LL1L1l1lL1l);
            }
            if (l1Lll1lll1LlL1L11l != null) {
                L1L1L1Ll1l1L1l1l11L.L1L1l1lL1l1l1Ll11L l1L1l1lL1l1l1Ll11L2 = this.l;
                if (l1L1l1lL1l1l1Ll11L2 != null) {
                    double Ll1lLl1l1LL1l1Ll2 = l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll(l1L1l1lL1l1l1Ll11L2, this.k);
                    z = this.l.L1L1L1Ll1l1L1l1l11L();
                    d = Ll1lLl1l1LL1l1Ll2;
                } else {
                    double d2 = this.k;
                    if (d2 <= 0.0d) {
                        d2 = l1Lll1lll1LlL1L11l.f7279lilil1liLi1lLL1l1l;
                    }
                    d = d2;
                    z = false;
                }
                l1Lll1lll1LlL1L11l.Ll1lLl1l1LL1l1Ll(d, z, 2, l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll(this.l1llL1L1Ll1lL1Ll, this.L1Ll1ll1L1ll1L, this.f7284L1L1L1Ll1l1L1l1l11L, this.L1Lll1l1l1l1l1l, "", 1, this.L1Lll1llL1Ll1ll, this.f7292l1L1L1L1L1l1LLL1LL1ll), l1L1l1lL1l1l1Ll11L);
            }
        }
    }

    public final synchronized void Ll1lLl1l1LL1l1Ll(int i2, List<L1L1L1Ll1l1L1l1l11L.L1L1l1lL1l1l1Ll11L> list, List<L1L1L1Ll1l1L1l1l11L.L1L1l1lL1l1l1Ll11L> list2, boolean z) {
        if (this.f7287L1LllLll1ll1LLll1) {
            return;
        }
        if (!this.f7288Ll1l1L1L1L1l1L1l) {
            if (!Ll1l1L1L1L1l1L1l()) {
                ArrayList arrayList = new ArrayList();
                arrayList.addAll(list.subList(0, Math.min(i2, list.size())));
                list.removeAll(arrayList);
                list2.addAll(arrayList);
                list.size();
                list2.size();
                Iterator it = arrayList.iterator();
                while (it.hasNext()) {
                    Ll1lLl1l1LL1l1Ll((L1L1L1Ll1l1L1l1l11L.L1L1l1lL1l1l1Ll11L) it.next(), false, z, false);
                }
                return;
            }
            L1L1l1lL1l1l1Ll11L();
            return;
        }
        list.size();
        list2.size();
        if (list.size() > 0) {
            L1L1L1Ll1l1L1l1l11L.L1L1l1lL1l1l1Ll11L l1L1l1lL1l1l1Ll11L = list.get(0);
            if (this.l1l1l1LL1ll1Ll1lL < this.L1Lll1l1l1l1l1l.n) {
                list.remove(l1L1l1lL1l1l1Ll11L);
                list2.add(l1L1l1lL1l1l1Ll11L);
                Ll1lLl1l1LL1l1Ll(l1L1l1lL1l1l1Ll11L, false, z, true);
                return;
            } else if (z) {
                L1L1L1Ll1l1L1l1l11L.L1LllLll1ll1LLll1 Ll1lLl1l1LL1l1Ll2 = l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll().Ll1lLl1l1LL1l1Ll(l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l().f7646lilil1liLi1lLL1l1l, this.L1Ll1ll1L1ll1L);
                if (Ll1lLl1l1LL1l1Ll2 != null && l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll(l1L1l1lL1l1l1Ll11L) <= l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll(Ll1lLl1l1LL1l1Ll2.f7241lilil1liLi1lLL1l1l.getUnitGroupInfo())) {
                    if (this.f7285L1L1l1lL1l1l1Ll11L) {
                        this.f7290h = true;
                        L1L1L1Ll1l1L1l1l11L();
                    }
                    return;
                }
                list.remove(l1L1l1lL1l1l1Ll11L);
                list2.add(l1L1l1lL1l1l1Ll11L);
                Ll1lLl1l1LL1l1Ll(l1L1l1lL1l1l1Ll11L, false, z, false);
                return;
            } else {
                if (this.f7285L1L1l1lL1l1l1Ll11L) {
                    this.f7291i = true;
                    L1L1L1Ll1l1L1l1l11L();
                }
                return;
            }
        }
        if (this.f7285L1L1l1lL1l1l1Ll11L) {
            if (z) {
                this.f7290h = true;
            } else {
                this.f7291i = true;
            }
            L1L1L1Ll1l1L1l1l11L();
        }
    }

    public final synchronized void Ll1lLl1l1LL1l1Ll(List<L1L1L1Ll1l1L1l1l11L.L1L1l1lL1l1l1Ll11L> list, L1L1L1Ll1l1L1l1l11L.L1L1l1lL1l1l1Ll11L l1L1l1lL1l1l1Ll11L, boolean z) {
        if (this.j) {
            Ll1lLl1l1LL1l1Ll(l1L1l1lL1l1l1Ll11L);
        } else if (list.size() == 0) {
            list.add(l1L1l1lL1l1l1Ll11L);
            if (z) {
                if (this.L1Lll1lll1llL.size() == 0 || !this.c.containsKey(this.L1Lll1lll1llL.get(this.L1Lll1lll1llL.size() - 1).L1Ll1ll1Ll1lL1Ll1ll)) {
                    Ll1lLl1l1LL1l1Ll(1, this.L1Lll1lll1LlL1L11l, this.L1Lll1lll1llL, true);
                }
            } else if (this.l1llL1Ll1lL1Ll.size() == 0 || !this.c.containsKey(this.l1llL1Ll1lL1Ll.get(this.l1llL1Ll1lL1Ll.size() - 1).L1Ll1ll1Ll1lL1Ll1ll)) {
                Ll1lLl1l1LL1l1Ll(1, this.L1Ll1ll1L1L1ll1l, this.l1llL1Ll1lL1Ll, false);
            }
        } else {
            synchronized (list) {
                l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll(list, l1L1l1lL1l1l1Ll11L, false);
            }
        }
    }

    public final void Ll1lLl1l1LL1l1Ll(List<L1L1L1Ll1l1L1l1l11L.L1L1l1lL1l1l1Ll11L> list) {
        double Ll1lLl1l1LL1l1Ll2;
        int i2;
        int i3;
        double d;
        synchronized (this.a) {
            if (list.size() == 0) {
                return;
            }
            long j = 0;
            JSONArray jSONArray = new JSONArray();
            L1L1L1Ll1l1L1l1l11L.L1LllLll1ll1LLll1 l1LllLll1ll1LLll1 = null;
            L1L1L1Ll1l1L1l1l11L.L1L1l1lL1l1l1Ll11L l1L1l1lL1l1l1Ll11L = this.l1llL1Ll1lL1Ll.size() > 0 ? this.l1llL1Ll1lL1Ll.get(this.l1llL1Ll1lL1Ll.size() - 1) : null;
            ArrayList arrayList = new ArrayList();
            ArrayList arrayList2 = new ArrayList();
            int i4 = 2;
            if (this.f7288Ll1l1L1L1L1l1L1l) {
                if (this.f7293l1Ll1llLLl1ll1l1l1l1l1l) {
                    l1LllLll1ll1LLll1 = l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll().Ll1lLl1l1LL1l1Ll(l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l().f7646lilil1liLi1lLL1l1l, this.L1Ll1ll1L1ll1L);
                } else {
                    i4 = 3;
                }
                for (L1L1L1Ll1l1L1l1l11L.L1L1l1lL1l1l1Ll11L l1L1l1lL1l1l1Ll11L2 : list) {
                    if (this.g == null) {
                        this.g = new ConcurrentHashMap<>();
                    }
                    this.g.put(l1L1l1lL1l1l1Ll11L2.L1Ll1ll1Ll1lL1Ll1ll, l1L1l1lL1l1l1Ll11L2);
                    long j2 = l1L1l1lL1l1l1Ll11L2.L1Lll1l1l1l1l1l;
                    if (!this.f7293l1Ll1llLLl1ll1l1l1l1l1l) {
                        arrayList.add(l1L1l1lL1l1l1Ll11L2);
                        i3 = 3;
                    } else if (l1LllLll1ll1LLll1 != null) {
                        double Ll1lLl1l1LL1l1Ll3 = l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll(l1LllLll1ll1LLll1.f7241lilil1liLi1lLL1l1l.getUnitGroupInfo());
                        if (l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll(l1L1l1lL1l1l1Ll11L2) > Ll1lLl1l1LL1l1Ll3) {
                            arrayList2.add(l1L1l1lL1l1l1Ll11L2);
                            d = Ll1lLl1l1LL1l1Ll3;
                            i3 = 1;
                        } else {
                            arrayList.add(l1L1l1lL1l1l1Ll11L2);
                            d = Ll1lLl1l1LL1l1Ll3;
                            i3 = 3;
                        }
                        Ll1lLl1l1LL1l1Ll(jSONArray, l1L1l1lL1l1l1Ll11L2, d, i3);
                        j = j2;
                    } else {
                        arrayList2.add(l1L1l1lL1l1l1Ll11L2);
                        i3 = 1;
                    }
                    d = 0.0d;
                    Ll1lLl1l1LL1l1Ll(jSONArray, l1L1l1lL1l1l1Ll11L2, d, i3);
                    j = j2;
                }
            } else {
                for (L1L1L1Ll1l1L1l1l11L.L1L1l1lL1l1l1Ll11L l1L1l1lL1l1l1Ll11L3 : list) {
                    if (this.g == null) {
                        this.g = new ConcurrentHashMap<>();
                    }
                    this.g.put(l1L1l1lL1l1l1Ll11L3.L1Ll1ll1Ll1lL1Ll1ll, l1L1l1lL1l1l1Ll11L3);
                    long j3 = l1L1l1lL1l1l1Ll11L3.L1Lll1l1l1l1l1l;
                    if (l1L1l1lL1l1l1Ll11L != null && l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll(l1L1l1lL1l1l1Ll11L3) <= l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll(l1L1l1lL1l1l1Ll11L)) {
                        arrayList.add(l1L1l1lL1l1l1Ll11L3);
                        Ll1lLl1l1LL1l1Ll2 = l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll(l1L1l1lL1l1l1Ll11L);
                        i2 = 2;
                        Ll1lLl1l1LL1l1Ll(jSONArray, l1L1l1lL1l1l1Ll11L3, Ll1lLl1l1LL1l1Ll2, i2);
                        j = j3;
                    }
                    arrayList2.add(l1L1l1lL1l1l1Ll11L3);
                    Ll1lLl1l1LL1l1Ll2 = l1L1l1lL1l1l1Ll11L != null ? l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll(l1L1l1lL1l1l1Ll11L) : 0.0d;
                    i2 = 1;
                    Ll1lLl1l1LL1l1Ll(jSONArray, l1L1l1lL1l1l1Ll11L3, Ll1lLl1l1LL1l1Ll2, i2);
                    j = j3;
                }
                i4 = 1;
            }
            try {
                JSONObject jSONObject = new JSONObject();
                jSONObject.put("load_status", i4);
                jSONObject.put("bid_time", j);
                jSONObject.put("result_list", jSONArray);
                l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll(this.l1llL1L1Ll1lL1Ll, this.L1Ll1ll1L1ll1L, this.L1Lll1l1l1l1l1l, jSONObject.toString());
            } catch (Exception unused) {
            }
            Iterator it = arrayList.iterator();
            while (it.hasNext()) {
                Ll1lLl1l1LL1l1Ll(this.L1Ll1ll1L1L1ll1l, (L1L1L1Ll1l1L1l1l11L.L1L1l1lL1l1l1Ll11L) it.next(), false);
            }
            Iterator it2 = arrayList2.iterator();
            while (it2.hasNext()) {
                Ll1lLl1l1LL1l1Ll(this.L1Lll1lll1LlL1L11l, (L1L1L1Ll1l1L1l1l11L.L1L1l1lL1l1l1Ll11L) it2.next(), true);
            }
        }
    }

    public static void Ll1lLl1l1LL1l1Ll(JSONArray jSONArray, L1L1L1Ll1l1L1l1l11L.L1L1l1lL1l1l1Ll11L l1L1l1lL1l1l1Ll11L, double d, int i2) {
        try {
            JSONObject jSONObject = new JSONObject();
            jSONObject.put("unit_id", l1L1l1lL1l1l1Ll11L.L1Ll1ll1Ll1lL1Ll1ll);
            jSONObject.put("nw_firm_id", l1L1l1lL1l1l1Ll11L.f7185Ll1lLl1l1LL1l1Ll);
            jSONObject.put("bidprice", l1L1l1lL1l1l1Ll11L.Ll1lLl1l1LL1l1Ll() ? l1L1l1lL1l1l1Ll11L.L1L1LL1L1Lll1l1L : 0.0d);
            jSONObject.put("ctype", d);
            jSONObject.put("result", i2);
            jSONArray.put(jSONObject);
        } catch (Exception unused) {
        }
    }

    public final synchronized void Ll1lLl1l1LL1l1Ll(l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll l1l1l1l1l1l1lll1ll1ll, List<? extends l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1llL1L1Ll1lL1Ll> list) {
        boolean z;
        l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.L1L1L1Ll1l1L1l1l11L Ll1lLl1l1LL1l1Ll2;
        String str = l1l1l1l1l1l1lll1ll1ll != null ? l1l1l1l1l1l1lll1ll1ll.getTrackingInfo().L1L1ll1l1l1l1lL1 : "";
        boolean contains = this.L1Lll1lll1llL.contains(l1l1l1l1l1l1lll1ll1ll.getUnitGroupInfo());
        if (Ll1lLl1l1LL1l1Ll(str)) {
            return;
        }
        int i2 = l1l1l1l1l1l1lll1ll1ll.getUnitGroupInfo().f7185Ll1lLl1l1LL1l1Ll;
        String str2 = l1l1l1l1l1l1lll1ll1ll.getUnitGroupInfo().f7180L1L1L1Ll1l1L1l1l11L;
        L1L1L1Ll1l1L1l1l11L.l1Ll1llLLl1ll1l1l1l1l1l trackingInfo = l1l1l1l1l1l1lll1ll1ll.getTrackingInfo();
        L1L1L1Ll1l1L1l1l11L.L1L1l1lL1l1l1Ll11L unitGroupInfo = l1l1l1l1l1l1lll1ll1ll.getUnitGroupInfo();
        double Ll1lLl1l1LL1l1Ll3 = l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll(unitGroupInfo);
        if (Ll1lLl1l1LL1l1Ll3 > this.k) {
            this.k = Ll1lLl1l1LL1l1Ll3;
            this.l = unitGroupInfo;
        }
        trackingInfo.l1ll1Lll1ll1Ll1 = SystemClock.elapsedRealtime() - this.b.get(str).longValue();
        trackingInfo.C = l1l1l1l1l1l1lll1ll1ll.getNetworkPlacementId();
        lilil1liLi1lLL1l1l(l1l1l1l1l1l1lll1ll1ll.getUnitGroupInfo());
        if (l1l1l1l1l1l1lll1ll1ll.getUnitGroupInfo().L1Lll1ll1Ll1ll1L != -1 && trackingInfo.L1Lll1ll1Ll1ll1L > 0) {
            l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll(trackingInfo);
        }
        Runnable runnable = this.c.get(str);
        if (runnable != null) {
            l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l().f7637L1L1L1Ll1l1L1l1l11L.removeCallbacks(runnable);
            this.c.remove(str);
            z = true;
        } else {
            z = false;
        }
        Runnable runnable2 = this.d.get(str);
        if (runnable2 != null) {
            l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l().f7637L1L1L1Ll1l1L1l1l11L.removeCallbacks(runnable2);
            this.d.remove(str);
            z = true;
        }
        if (z) {
            trackingInfo.f7269q = 1;
        }
        Ll1lLl1l1LL1l1Ll(str, trackingInfo, true);
        if (this.n > 0.0d) {
            if (this.n < Ll1lLl1l1LL1l1Ll3) {
                trackingInfo.r = 2;
            } else {
                trackingInfo.r = 1;
            }
        } else {
            trackingInfo.r = 0;
        }
        l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.L1Lll1l1l1l1l1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll(this.f7295lilil1liLi1lLL1l1l).Ll1lLl1l1LL1l1Ll(2, trackingInfo);
        l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll(trackingInfo, "request_result", bf.o, "");
        l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll().Ll1lLl1l1LL1l1Ll(this.L1Ll1ll1L1ll1L, trackingInfo.L1Lll1llL1Ll1ll, l1l1l1l1l1l1lll1ll1ll, list, l1l1l1l1l1l1lll1ll1ll.getUnitGroupInfo().l1llL1L1Ll1lL1Ll);
        if (!this.o && !this.f7286L1LLLll1llLLl && (Ll1lLl1l1LL1l1Ll2 = c.Ll1lLl1l1LL1l1Ll().Ll1lLl1l1LL1l1Ll(this.L1Ll1ll1L1ll1L)) != null && this.L1Lll1l1l1l1l1l.L1Lll1ll1Ll1ll1L > 0) {
            l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l().Ll1lLl1l1LL1l1Ll(new l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.L1LLLll1llLLl(Ll1lLl1l1LL1l1Ll2, l1l1l1l1l1l1lll1ll1ll, Ll1lLl1l1LL1l1Ll3, this.l1llL1L1Ll1lL1Ll));
        }
        this.l1l1l1LL1ll1Ll1lL++;
        if (str != null) {
            this.f.remove(str);
        }
        if (!this.f7288Ll1l1L1L1L1l1L1l) {
            Ll1lLl1l1LL1l1Ll(false);
        }
        if (contains) {
            Ll1lLl1l1LL1l1Ll(1, this.L1Lll1lll1LlL1L11l, this.L1Lll1lll1llL, true);
        } else {
            Ll1lLl1l1LL1l1Ll(1, this.L1Ll1ll1L1L1ll1l, this.l1llL1Ll1lL1Ll, false);
        }
    }

    public final void Ll1lLl1l1LL1l1Ll(boolean z) {
        "onLoadedCallbackToDeveloper: isCache:".concat(String.valueOf(z));
        this.f7288Ll1l1L1L1L1l1L1l = true;
        this.f7293l1Ll1llLLl1ll1l1l1l1l1l = true;
        if (this.m != null) {
            l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L L1Lll1lll1LlL1L11l2 = l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l();
            L1Lll1lll1LlL1L11l2.f7637L1L1L1Ll1l1L1l1l11L.removeCallbacks(this.m);
        }
        long elapsedRealtime = SystemClock.elapsedRealtime() - this.L1Lll1ll1Ll1ll1L;
        String str = this.l1llL1L1Ll1lL1Ll;
        String str2 = this.L1Ll1ll1L1ll1L;
        String str3 = this.f7284L1L1L1Ll1l1L1l1l11L;
        l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1L1Ll1l1L1l1l11L.l1L1L1L1L1l1LLL1LL1ll l1l1l1l1l1l1lll1ll1ll = this.L1Lll1l1l1l1l1l;
        L1L1L1Ll1l1L1l1l11L.l1Ll1llLLl1ll1l1l1l1l1l Ll1lLl1l1LL1l1Ll2 = l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll(str, str2, str3, l1l1l1l1l1l1lll1ll1ll, this.L1Ll1ll1Ll1lL1Ll1ll, l1l1l1l1l1l1lll1ll1ll.f7132L1L1L1Ll1l1L1l1l11L, this.L1Lll1llL1Ll1ll, this.f7292l1L1L1L1L1l1LLL1LL1ll);
        Ll1lLl1l1LL1l1Ll2.a0 = true;
        Ll1lLl1l1LL1l1Ll2.l1ll1Lll1ll1Ll1 = elapsedRealtime;
        if (z) {
            Ll1lLl1l1LL1l1Ll2.b0 = 5;
        }
        l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.L1Lll1l1l1l1l1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll(this.f7295lilil1liLi1lLL1l1l).Ll1lLl1l1LL1l1Ll(12, Ll1lLl1l1LL1l1Ll2);
        l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.L1L1L1Ll1l1L1l1l11L Ll1lLl1l1LL1l1Ll3 = c.Ll1lLl1l1LL1l1Ll().Ll1lLl1l1LL1l1Ll(this.L1Ll1ll1L1ll1L);
        if (Ll1lLl1l1LL1l1Ll3 != null) {
            if (TextUtils.equals(this.L1Lll1l1l1l1l1l.l1ll1Lll1ll1Ll1, l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1L1Ll1l1L1l1l11L.L1L1L1Ll1l1L1l1l11L.Ll1lLl1l1LL1l1Ll(Ll1lLl1l1LL1l1Ll3.f7166lilil1liLi1lLL1l1l).Ll1lLl1l1LL1l1Ll(Ll1lLl1l1LL1l1Ll3.f7165l1l1l1l1LL1L1l1lL1l).l1ll1Lll1ll1Ll1)) {
                Ll1lLl1l1LL1l1Ll3.f7157L1L1L1Ll1l1L1l1l11L = 1;
                Ll1lLl1l1LL1l1Ll3.f7161Ll1l1L1L1L1l1L1l = System.currentTimeMillis();
                Ll1lLl1l1LL1l1Ll3.f7164l1Ll1llLLl1ll1l1l1l1l1l = false;
                Ll1lLl1l1LL1l1Ll3.L1L1LL1L1Lll1l1L = 0L;
                Ll1lLl1l1LL1l1Ll3.L1Ll1ll1L1L1ll1l = false;
            } else {
                Ll1lLl1l1LL1l1Ll3.f7157L1L1L1Ll1l1L1l1l11L = 0;
            }
        }
        l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll().Ll1lLl1l1LL1l1Ll(this.L1L1LL1L1Lll1l1L, this.L1Ll1ll1L1ll1L, this.L1Lll1l1l1l1l1l, this.l1llL1L1Ll1lL1Ll, this.f7284L1L1L1Ll1l1L1l1l11L, this.L1Ll1ll1Ll1lL1Ll1ll, this.L1Lll1llL1Ll1ll);
        if (!this.o) {
            Ll1lLl1l1LL1l1Ll();
        }
        lilil1liLi1lLL1l1l();
        L1LllLll1ll1LLll1();
    }

    public final synchronized void Ll1lLl1l1LL1l1Ll(L1L1L1Ll1l1L1l1l11L.L1L1l1lL1l1l1Ll11L l1L1l1lL1l1l1Ll11L, l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll l1l1l1l1l1l1lll1ll1ll, L1Lll1l1l1l1l1l l1Lll1l1l1l1l1l) {
        boolean z;
        boolean contains = this.L1Lll1lll1llL.contains(l1L1l1lL1l1l1Ll11L);
        lilil1liLi1lLL1l1l(l1L1l1lL1l1l1Ll11L);
        if (l1L1l1lL1l1l1Ll11L.L1Ll1ll1Ll1lL1Ll1ll != null) {
            this.f.remove(l1L1l1lL1l1l1Ll11L.L1Ll1ll1Ll1lL1Ll1ll);
        }
        if (l1l1l1l1l1l1lll1ll1ll != null) {
            l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l().Ll1lLl1l1LL1l1Ll(new lilil1liLi1lLL1l1l(this, l1l1l1l1l1l1lll1ll1ll));
            L1L1L1Ll1l1L1l1l11L.l1Ll1llLLl1ll1l1l1l1l1l trackingInfo = l1l1l1l1l1l1lll1ll1ll.getTrackingInfo();
            String str = trackingInfo.L1L1ll1l1l1l1lL1;
            if (Ll1lLl1l1LL1l1Ll(str)) {
                return;
            }
            this.l1l1lL1L1Lll1Ll1l.Ll1lLl1l1LL1l1Ll(trackingInfo.L1L1ll1l1l1l1lL1, trackingInfo.L1Ll1ll1L1L1ll1l, l1l1l1l1l1l1lll1ll1ll.getNetworkName(), l1Lll1l1l1l1l1l);
            l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.l1l1l1l1LL1L1l1lL1l.Ll1lLl1l1LL1l1Ll().f7607Ll1lLl1l1LL1l1Ll.put(str, Long.valueOf(System.currentTimeMillis()));
            long longValue = this.b.get(str).longValue();
            Runnable runnable = this.c.get(str);
            if (runnable != null) {
                l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l().f7637L1L1L1Ll1l1L1l1l11L.removeCallbacks(runnable);
                this.c.remove(str);
                z = true;
            } else {
                z = false;
            }
            Runnable runnable2 = this.d.get(str);
            if (runnable2 != null) {
                l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l().f7637L1L1L1Ll1l1L1l1l11L.removeCallbacks(runnable2);
                this.d.remove(str);
                z = true;
            }
            if (z) {
                trackingInfo.f7269q = 1;
            }
            Ll1lLl1l1LL1l1Ll(str, trackingInfo, true);
            l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll(trackingInfo, "request_result", "fail", l1Lll1l1l1l1l1l.lilil1liLi1lLL1l1l());
            l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.L1Lll1ll1Ll1ll1L.l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll(trackingInfo, 0, l1Lll1l1l1l1l1l, SystemClock.elapsedRealtime() - longValue);
        }
        if (l1l1l1l1l1l1lll1ll1ll == null || !l1l1l1l1l1l1lll1ll1ll.getTrackingInfo().l1l1lL1L1Lll1Ll1l) {
            if (contains) {
                Ll1lLl1l1LL1l1Ll(1, this.L1Lll1lll1LlL1L11l, this.L1Lll1lll1llL, true);
                return;
            }
            Ll1lLl1l1LL1l1Ll(1, this.L1Ll1ll1L1L1ll1l, this.l1llL1Ll1lL1Ll, false);
        } else if (Ll1l1L1L1L1l1L1l() && !this.f7288Ll1l1L1L1L1l1L1l) {
            L1L1l1lL1l1l1Ll11L();
        }
    }

    public void Ll1lLl1l1LL1l1Ll(l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll l1l1l1l1l1l1lll1ll1ll, L1Lll1l1l1l1l1l l1Lll1l1l1l1l1l) {
        Ll1lLl1l1LL1l1Ll(l1l1l1l1l1l1lll1ll1ll.getUnitGroupInfo(), l1l1l1l1l1l1lll1ll1ll, l1Lll1l1l1l1l1l);
    }

    public final Runnable Ll1lLl1l1LL1l1Ll(L1L1L1Ll1l1L1l1l11L.L1L1l1lL1l1l1Ll11L l1L1l1lL1l1l1Ll11L, long j, boolean z) {
        if (j == -1) {
            return null;
        }
        l1l1l1l1LL1L1l1lL1l l1l1l1l1ll1l1l1ll1l = new l1l1l1l1LL1L1l1lL1l(l1L1l1lL1l1l1Ll11L, z);
        l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l.l1L1L1L1L1l1LLL1LL1ll.L1L1l1lL1l1l1Ll11L.lilil1liLi1lLL1l1l.L1L1LL1L1Lll1l1L.L1Lll1lll1LlL1L11l().f7637L1L1L1Ll1l1L1l1l11L.postDelayed(l1l1l1l1ll1l1l1ll1l, j);
        return l1l1l1l1ll1l1l1ll1l;
    }

    public final boolean Ll1lLl1l1LL1l1Ll(String str) {
        L1L1L1Ll1l1L1l1l11L l1L1L1Ll1l1L1l1l11L;
        if (this.f7287L1LllLll1ll1LLll1) {
            return true;
        }
        return this.e.containsKey(str) && (l1L1L1Ll1l1L1l1l11L = this.e.get(str)) != null && l1L1L1Ll1l1L1l1l11L.f7313lilil1liLi1lLL1l1l;
    }

    public final void Ll1lLl1l1LL1l1Ll(String str, L1L1L1Ll1l1L1l1l11L.l1Ll1llLLl1ll1l1l1l1l1l l1ll1lllll1ll1l1l1l1l1l, boolean z) {
        L1L1L1Ll1l1L1l1l11L l1L1L1Ll1l1L1l1l11L = this.e.get(str);
        if (l1L1L1Ll1l1L1l1l11L == null) {
            this.e.put(str, new L1L1L1Ll1l1L1l1l11L(this, l1ll1lllll1ll1l1l1l1l1l, z));
            return;
        }
        l1L1L1Ll1l1L1l1l11L.f7312Ll1lLl1l1LL1l1Ll = l1ll1lllll1ll1l1l1l1l1l;
        l1L1L1Ll1l1L1l1l11L.f7313lilil1liLi1lLL1l1l = z;
    }
}