最右.apk(点击下载) / ABFeedbackURL.java


package com.izuiyou.gemini.entity;

import android.net.Uri;
import android.text.TextUtils;
import com.google.gson.annotations.SerializedName;
import com.meituan.robust.ChangeQuickRedirect;
import com.meituan.robust.PatchProxy;
import com.meituan.robust.PatchProxyResult;
import javax.annotation.Nullable;

public class ABFeedbackURL {

    /* renamed from: a  reason: collision with root package name */
    public static ABFeedbackURL f18793a;
    public static ChangeQuickRedirect changeQuickRedirect;
    @SerializedName("url_question")
    public String accountFadeBackUrl = "https://issue.izuiyou.com/issues/5fb56e3ac116db0feb6befa5/createIssue/question";
    @SerializedName("enable")
    public int enable = 1;
    @SerializedName("url")
    public String url = "https://issue.izuiyou.com/issues/5fb56e3ac116db0feb6befa5";

    @Nullable
    public static ABFeedbackURL a() {
        PatchProxyResult proxy = PatchProxy.proxy(new Object[0], null, changeQuickRedirect, true, 72407, new Class[0], ABFeedbackURL.class);
        if (proxy.isSupported) {
            return (ABFeedbackURL) proxy.result;
        }
        if (b()) {
            return f18793a;
        }
        return null;
    }

    public static boolean b() {
        PatchProxyResult proxy = PatchProxy.proxy(new Object[0], null, changeQuickRedirect, true, 72404, new Class[0], Boolean.TYPE);
        if (proxy.isSupported) {
            return ((Boolean) proxy.result).booleanValue();
        }
        if (f18793a == null) {
            f18793a = (ABFeedbackURL) h74.k("zy_new_feedback_url_android", ABFeedbackURL.class);
        }
        if (f18793a == null) {
            f18793a = new ABFeedbackURL();
        }
        ABFeedbackURL aBFeedbackURL = f18793a;
        if (aBFeedbackURL == null) {
            return false;
        }
        return aBFeedbackURL.d();
    }

    public static boolean c(String str) {
        PatchProxyResult proxy = PatchProxy.proxy(new Object[]{str}, null, changeQuickRedirect, true, 72406, new Class[]{String.class}, Boolean.TYPE);
        if (proxy.isSupported) {
            return ((Boolean) proxy.result).booleanValue();
        }
        if (!TextUtils.isEmpty(str) && b() && a() != null && !TextUtils.isEmpty(a().url)) {
            Uri parse = Uri.parse(a().url);
            Uri parse2 = Uri.parse(str);
            if (!(parse == null || parse2 == null)) {
                return TextUtils.equals(parse.getHost(), parse2.getHost());
            }
        }
        return false;
    }

    public boolean d() {
        PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 72403, new Class[0], Boolean.TYPE);
        if (proxy.isSupported) {
            return ((Boolean) proxy.result).booleanValue();
        }
        return this.enable == 1 && !TextUtils.isEmpty(this.url) && dd4.d(this.url);
    }
}