HYDK v3.0.0版本的 MD5 值为:36b96e4c5561390bc72ab66c2f29a92f

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


package p.a.y.e.a.s.e.net;

import android.content.Context;
import android.text.TextUtils;
import com.meizu.cloud.pushsdk.constants.PushConstants;
import com.meizu.cloud.pushsdk.notification.model.NotifyType;
import com.meizu.cloud.pushsdk.pushtracer.constant.Parameters;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;

public final class z2 {

    private static final String f1550a = "intercept_batch";
    private static z2 b = null;
    private static final String lite_abstract = "configQueryInterval";
    private static final String lite_boolean = "alipay_cashier_dynamic_config";
    private static final String lite_class = "DynCon";
    private static final int lite_const = 10000;
    private static final String lite_continue = "deg_log_mcgw";
    private static final String lite_default = "timeout";
    private static final boolean lite_double = true;
    private static final String lite_extends = "h5_port_degrade";
    private static final String lite_final = "https://h5.m.taobao.com/mlapp/olist.html";
    private static final String lite_finally = "st_sdk_config";
    private static final int lite_float = 10;
    private static final String lite_implements = "skip_trans";
    private static final String lite_import = "";
    private static final String lite_instanceof = "up_before_pay";
    private static final String lite_interface = "use_sc_only";
    private static final boolean lite_native = false;
    private static final String lite_package = "tbreturl";
    private static final String lite_private = "launchAppSwitch";
    private static final String lite_protected = "bind_use_imp";
    private static final boolean lite_public = false;
    private static final boolean lite_return = false;
    private static final boolean lite_short = true;
    private static final boolean lite_static = true;
    private static final String lite_strictfp = "deg_start_srv_first";
    private static final boolean lite_super = true;
    private static final int lite_switch = 1000;
    private static final String lite_synchronized = "scheme_pay_2";
    private static final boolean lite_throw = false;
    private static final int lite_throws = 20000;
    private static final String lite_transient = "retry_bnd_once";
    private static final String lite_volatile = "prev_jump_dual";
    private static final boolean lite_while = true;
    private int lite_do = 10000;
    private boolean lite_if = false;
    private String lite_for = lite_final;
    private int lite_int = 10;
    private boolean lite_new = true;
    private boolean lite_try = true;
    public boolean lite_byte = false;
    private boolean lite_case = false;
    private boolean lite_char = true;
    private boolean lite_else = true;
    private String lite_goto = "";
    private boolean lite_long = false;
    private boolean lite_this = false;
    private boolean lite_void = false;
    private boolean lite_break = true;
    private List<b> lite_catch = null;

    public class a implements Runnable {
        public final u3 lite_static;
        public final Context lite_switch;

        public a(u3 u3Var, Context context) {
            this.lite_static = u3Var;
            this.lite_switch = context;
        }

        @Override
        public void run() {
            try {
                j3 lite_do = new o3().lite_do(this.lite_static, this.lite_switch);
                if (lite_do != null) {
                    z2.this.lite_char(lite_do.lite_if());
                    z2.this.lite_int(u3.lite_do());
                }
            } catch (Throwable th) {
                c4.lite_new(th);
            }
        }
    }

    public static final class b {
        public final String lite_do;
        public final String lite_for;
        public final int lite_if;

        public b(String str, int i, String str2) {
            this.lite_do = str;
            this.lite_if = i;
            this.lite_for = str2;
        }

        public static b lite_do(JSONObject jSONObject) {
            if (jSONObject == null) {
                return null;
            }
            return new b(jSONObject.optString(Parameters.PACKAGE_NAME), jSONObject.optInt(NotifyType.VIBRATE, 0), jSONObject.optString(PushConstants.URI_PACKAGE_NAME));
        }

        public static JSONArray lite_for(List<b> list) {
            if (list == null) {
                return null;
            }
            JSONArray jSONArray = new JSONArray();
            Iterator<b> it = list.iterator();
            while (it.hasNext()) {
                jSONArray.put(lite_int(it.next()));
            }
            return jSONArray;
        }

        public static List<b> lite_if(JSONArray jSONArray) {
            if (jSONArray == null) {
                return null;
            }
            ArrayList arrayList = new ArrayList();
            int length = jSONArray.length();
            for (int i = 0; i < length; i++) {
                b lite_do = lite_do(jSONArray.optJSONObject(i));
                if (lite_do != null) {
                    arrayList.add(lite_do);
                }
            }
            return arrayList;
        }

        public static JSONObject lite_int(b bVar) {
            if (bVar == null) {
                return null;
            }
            try {
                return new JSONObject().put(Parameters.PACKAGE_NAME, bVar.lite_do).put(NotifyType.VIBRATE, bVar.lite_if).put(PushConstants.URI_PACKAGE_NAME, bVar.lite_for);
            } catch (JSONException e) {
                c4.lite_new(e);
                return null;
            }
        }

        public String toString() {
            return String.valueOf(lite_int(this));
        }
    }

    private void lite_byte(JSONObject jSONObject) {
        this.lite_do = jSONObject.optInt("timeout", 10000);
        this.lite_if = jSONObject.optBoolean(lite_extends, false);
        this.lite_for = jSONObject.optString(lite_package, lite_final).trim();
        this.lite_int = jSONObject.optInt(lite_abstract, 10);
        this.lite_catch = b.lite_if(jSONObject.optJSONArray(lite_private));
        this.lite_new = jSONObject.optBoolean(lite_synchronized, true);
        this.lite_try = jSONObject.optBoolean(f1550a, true);
        this.lite_case = jSONObject.optBoolean(lite_continue, false);
        this.lite_char = jSONObject.optBoolean(lite_strictfp, true);
        this.lite_else = jSONObject.optBoolean(lite_volatile, true);
        this.lite_goto = jSONObject.optString(lite_interface, "");
        this.lite_long = jSONObject.optBoolean(lite_protected, false);
        this.lite_this = jSONObject.optBoolean(lite_transient, false);
        this.lite_void = jSONObject.optBoolean(lite_implements, false);
        this.lite_break = jSONObject.optBoolean(lite_instanceof, true);
    }

    public void lite_char(String str) {
        if (TextUtils.isEmpty(str)) {
            return;
        }
        try {
            JSONObject optJSONObject = new JSONObject(str).optJSONObject(lite_finally);
            if (optJSONObject != null) {
                lite_byte(optJSONObject);
            } else {
                c4.lite_case(lite_class, "empty config");
            }
        } catch (Throwable th) {
            c4.lite_new(th);
        }
    }

    private void lite_double() {
        lite_try(f4.lite_int(u3.lite_do(), v3.lite_do().lite_for(), lite_boolean, null));
    }

    private JSONObject lite_import() throws JSONException {
        JSONObject jSONObject = new JSONObject();
        jSONObject.put("timeout", lite_do());
        jSONObject.put(lite_extends, lite_else());
        jSONObject.put(lite_package, lite_this());
        jSONObject.put(lite_abstract, lite_void());
        jSONObject.put(lite_private, b.lite_for(lite_throw()));
        jSONObject.put(lite_synchronized, lite_goto());
        jSONObject.put(f1550a, lite_long());
        jSONObject.put(lite_continue, lite_break());
        jSONObject.put(lite_strictfp, lite_catch());
        jSONObject.put(lite_volatile, lite_class());
        jSONObject.put(lite_interface, lite_const());
        jSONObject.put(lite_protected, lite_final());
        jSONObject.put(lite_transient, lite_float());
        jSONObject.put(lite_implements, lite_short());
        jSONObject.put(lite_instanceof, lite_super());
        return jSONObject;
    }

    public void lite_int(u3 u3Var) {
        try {
            f4.lite_if(u3Var, v3.lite_do().lite_for(), lite_boolean, lite_import().toString());
        } catch (Exception e) {
            c4.lite_new(e);
        }
    }

    private void lite_try(String str) {
        if (TextUtils.isEmpty(str)) {
            return;
        }
        try {
            lite_byte(new JSONObject(str));
        } catch (Throwable th) {
            c4.lite_new(th);
        }
    }

    public static z2 lite_while() {
        if (b == null) {
            z2 z2Var = new z2();
            b = z2Var;
            z2Var.lite_double();
        }
        return b;
    }

    public boolean lite_break() {
        return this.lite_case;
    }

    public void lite_case(boolean z) {
        this.lite_byte = z;
    }

    public boolean lite_catch() {
        return this.lite_char;
    }

    public boolean lite_class() {
        return this.lite_else;
    }

    public String lite_const() {
        return this.lite_goto;
    }

    public int lite_do() {
        int i = this.lite_do;
        if (i < 1000 || i > 20000) {
            c4.lite_for(lite_class, "time(def) = 10000");
            return 10000;
        }
        StringBuilder b2 = r5.b("time = ");
        b2.append(this.lite_do);
        c4.lite_for(lite_class, b2.toString());
        return this.lite_do;
    }

    public boolean lite_else() {
        return this.lite_if;
    }

    public boolean lite_final() {
        return this.lite_long;
    }

    public boolean lite_float() {
        return this.lite_this;
    }

    public boolean lite_goto() {
        return this.lite_new;
    }

    public boolean lite_long() {
        return this.lite_try;
    }

    public void lite_new(u3 u3Var, Context context) {
        new Thread(new a(u3Var, context)).start();
    }

    public boolean lite_short() {
        return this.lite_void;
    }

    public boolean lite_super() {
        return this.lite_break;
    }

    public String lite_this() {
        return this.lite_for;
    }

    public List<b> lite_throw() {
        return this.lite_catch;
    }

    public int lite_void() {
        return this.lite_int;
    }
}