米游社.apk(点击下载) / MiHoYoDebugPage.java


package com.mihoyo.hyperion.debug;

import android.app.Activity;
import android.app.ActivityManager;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.SharedPreferences;
import android.graphics.BitmapFactory;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.os.Handler;
import android.text.method.ScrollingMovementMethod;
import android.view.KeyEvent;
import android.view.View;
import android.view.Window;
import android.widget.Button;
import android.widget.CompoundButton;
import android.widget.EditText;
import android.widget.Switch;
import android.widget.TextView;
import androidx.appcompat.app.d;
import androidx.core.content.FileProvider;
import av.k1;
import bg.b;
import cn.jpush.android.api.JPushInterface;
import com.alibaba.wireless.security.SecExceptionCode;
import com.google.android.gms.common.GoogleApiAvailabilityLight;
import com.mihoyo.commlib.utils.ExtensionKt;
import com.mihoyo.commlib.utils.LogUtils;
import com.mihoyo.commlib.utils.SPUtils;
import com.mihoyo.hotfix.runtime.patch.RuntimeDirector;
import com.mihoyo.hyperion.R;
import com.mihoyo.hyperion.app.HyperionApplicationHelper;
import com.mihoyo.hyperion.app.HyperionApplicationHelperKt;
import com.mihoyo.hyperion.app.tasks.AstrolabeInitTask;
import com.mihoyo.hyperion.discuss.main.DiscussActivity;
import com.mihoyo.hyperion.editor.post.view.PostLimitPage;
import com.mihoyo.hyperion.game.center.ui.GameCenterActivity;
import com.mihoyo.hyperion.instant.detail.InstantDetailActivity;
import com.mihoyo.hyperion.manager.MihoyoRouter;
import com.mihoyo.hyperion.model.bean.PostLimitBean;
import com.mihoyo.hyperion.model.bean.vo.CommActionOpVoBean;
import com.mihoyo.hyperion.post.collection.add.CreateCollectionActivity;
import com.mihoyo.hyperion.post.collection.detail.CollectionDetailActivity;
import com.mihoyo.hyperion.post.pictureDetail.PostPictureDetailActivity;
import com.mihoyo.hyperion.post.video.PostVideoActivity;
import com.mihoyo.hyperion.topic.TopicActivity;
import com.mihoyo.hyperion.upgrade.DownloadIntentService;
import com.mihoyo.hyperion.user.account.AccountManager;
import com.mihoyo.hyperion.user.history.bean.HistoryItemId;
import com.mihoyo.hyperion.user.history.bean.HistoryItemType;
import com.mihoyo.hyperion.user.history.bean.LocalHistoryBean;
import com.mihoyo.hyperion.user.home.UserHomePageActivity;
import com.mihoyo.hyperion.utils.AppUtils;
import com.mihoyo.hyperion.utils.GlobalSpManager;
import com.mihoyo.hyperion.utils.SimpleNightModeHelper;
import com.mihoyo.hyperion.villa.chat.dialog.VillaKickedOutDialogActivity;
import com.mihoyo.hyperion.villa.chat.home.detail.VillaDetailActivity;
import com.mihoyo.platform.account.sdk.Porte;
import com.mihoyo.platform.account.sdk.model.Account;
import com.mihoyo.sora.sdk.abtest.bean.AbTestBean;
import com.mihoyo.sora.upgrade.entities.LatestReleaseBean;
import com.mihoyo.sora.wolf.ui.page.WolfBasePage;
import com.tencent.qcloud.core.util.IOUtils;
import du.k2;
import java.io.File;
import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import kotlin.Metadata;

@Metadata(bv = {}, d1 = {"\u0000*\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\b\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u000e\u0018\u0000 \u00172\u00020\u0001:\u0001\u0018B\u000f\u0012\u0006\u0010\u0014\u001a\u00020\u0007¢\u0006\u0004\b\u0015\u0010\u0016J\b\u0010\u0003\u001a\u00020\u0002H\u0016J\b\u0010\u0005\u001a\u00020\u0004H\u0002J\b\u0010\u0006\u001a\u00020\u0004H\u0002J\u0010\u0010\n\u001a\u00020\t2\u0006\u0010\b\u001a\u00020\u0007H\u0002R\u001b\u0010\u0010\u001a\u00020\u000b8BX‚„\u0002¢\u0006\f\n\u0004\b\f\u0010\r\u001a\u0004\b\u000e\u0010\u000fR\u001b\u0010\u0013\u001a\u00020\u000b8BX‚„\u0002¢\u0006\f\n\u0004\b\u0011\u0010\r\u001a\u0004\b\u0012\u0010\u000f¨\u0006\u0019"}, d2 = {"Lcom/mihoyo/hyperion/debug/MiHoYoDebugPage;", "Lcom/mihoyo/sora/wolf/ui/page/WolfBasePage;", "", "getLayoutResId", "Ldu/k2;", "Q", "O", "Landroid/content/Context;", "mContext", "", "P", "Landroid/content/SharedPreferences;", "commonSp$delegate", "Ldu/d0;", "getCommonSp", "()Landroid/content/SharedPreferences;", "commonSp", "defaultSp$delegate", "getDefaultSp", "defaultSp", "context", "<init>", "(Landroid/content/Context;)V", GoogleApiAvailabilityLight.TRACKING_SOURCE_NOTIFICATION, "u0", "app_PublishRelease"}, k = 1, mv = {1, 7, 1})
/* compiled from: MiHoYoDebugPage.kt */
public final class MiHoYoDebugPage extends WolfBasePage {
    public static RuntimeDirector m__m;
    @uz.d

    /* renamed from: n  reason: collision with root package name */
    public static final u0 f31955n = new u0(null);

    /* renamed from: o  reason: collision with root package name */
    public static boolean f31956o;
    @uz.d

    /* renamed from: k  reason: collision with root package name */
    public final du.d0 f31957k;
    @uz.d

    /* renamed from: l  reason: collision with root package name */
    public final du.d0 f31958l;
    @uz.d

    /* renamed from: m  reason: collision with root package name */
    public Map<Integer, View> f31959m = new LinkedHashMap();

    @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class a extends av.n0 implements zu.a<k2> {
        public static RuntimeDirector m__m;

        /* renamed from: a  reason: collision with root package name */
        public final /* synthetic */ Context f31960a;

        /* renamed from: b  reason: collision with root package name */
        public final /* synthetic */ MiHoYoDebugPage f31961b;

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public a(Context context, MiHoYoDebugPage miHoYoDebugPage) {
            super(0);
            this.f31960a = context;
            this.f31961b = miHoYoDebugPage;
        }

        @Override // zu.a
        public final void invoke() {
            RuntimeDirector runtimeDirector = m__m;
            if (runtimeDirector == null || !runtimeDirector.isRedirect(0)) {
                TopicActivity.a.e(TopicActivity.f36477u, this.f31960a, ((EditText) this.f31961b.c(R.id.idEt)).getText().toString(), false, false, null, 28, null);
            } else {
                runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
            }
        }
    }

    @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class a0 extends av.n0 implements zu.a<k2> {

        /* renamed from: a  reason: collision with root package name */
        public static final a0 f31962a = new a0();
        public static RuntimeDirector m__m;

        public a0() {
            super(0);
        }

        @Override // zu.a
        public final void invoke() {
            RuntimeDirector runtimeDirector = m__m;
            if (runtimeDirector == null || !runtimeDirector.isRedirect(0)) {
                Activity topActivity = HyperionApplicationHelper.INSTANCE.getTopActivity();
                if (topActivity != null) {
                    new ik.g0(topActivity, 0, 2, null).show();
                    return;
                }
                return;
            }
            runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
        }
    }

    @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class b extends av.n0 implements zu.a<k2> {

        /* renamed from: a  reason: collision with root package name */
        public static final b f31963a = new b();
        public static RuntimeDirector m__m;

        public b() {
            super(0);
        }

        @Override // zu.a
        public final void invoke() {
            RuntimeDirector runtimeDirector = m__m;
            if (runtimeDirector == null || !runtimeDirector.isRedirect(0)) {
                wc.i.f150760a.l();
            } else {
                runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
            }
        }
    }

    @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class b0 extends av.n0 implements zu.a<k2> {
        public static RuntimeDirector m__m;

        /* renamed from: a  reason: collision with root package name */
        public final /* synthetic */ MiHoYoDebugPage f31964a;

        /* renamed from: b  reason: collision with root package name */
        public final /* synthetic */ Context f31965b;

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public b0(MiHoYoDebugPage miHoYoDebugPage, Context context) {
            super(0);
            this.f31964a = miHoYoDebugPage;
            this.f31965b = context;
        }

        @Override // zu.a
        public final void invoke() {
            RuntimeDirector runtimeDirector = m__m;
            if (runtimeDirector == null || !runtimeDirector.isRedirect(0)) {
                MiHoYoDebugPage miHoYoDebugPage = this.f31964a;
                int i10 = R.id.mOpenBrowserEt;
                if (xx.b0.U1(((EditText) miHoYoDebugPage.c(i10)).getText().toString())) {
                    AppUtils.INSTANCE.showToast("需要先填schema");
                    return;
                }
                j9.d0.n(j9.d0.f74117a, this.f31965b, R.drawable.notify_small_icon, BitmapFactory.decodeResource(this.f31965b.getResources(), R.drawable.ic_launcher), "我是测试通知标题", "我是测试通知内容", ((EditText) this.f31964a.c(i10)).getText().toString(), 0, null, false, 0, false, null, 4032, null);
                return;
            }
            runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
        }
    }

    @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class c extends av.n0 implements zu.a<k2> {
        public static RuntimeDirector m__m;

        /* renamed from: a  reason: collision with root package name */
        public final /* synthetic */ Context f31966a;

        /* renamed from: b  reason: collision with root package name */
        public final /* synthetic */ MiHoYoDebugPage f31967b;

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public c(Context context, MiHoYoDebugPage miHoYoDebugPage) {
            super(0);
            this.f31966a = context;
            this.f31967b = miHoYoDebugPage;
        }

        @Override // zu.a
        public final void invoke() {
            RuntimeDirector runtimeDirector = m__m;
            if (runtimeDirector == null || !runtimeDirector.isRedirect(0)) {
                DiscussActivity.f32158t.a(this.f31966a, GlobalSpManager.INSTANCE.getCurrentGid(), Integer.parseInt(((EditText) this.f31967b.c(R.id.idEt)).getText().toString()));
            } else {
                runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
            }
        }
    }

    @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class c0 extends av.n0 implements zu.a<k2> {

        /* renamed from: a  reason: collision with root package name */
        public static final c0 f31968a = new c0();
        public static RuntimeDirector m__m;

        @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
        /* compiled from: MiHoYoDebugPage.kt */
        public static final class a extends av.n0 implements zu.a<k2> {

            /* renamed from: a  reason: collision with root package name */
            public static final a f31969a = new a();
            public static RuntimeDirector m__m;

            public a() {
                super(0);
            }

            @Override // zu.a
            public final void invoke() {
                RuntimeDirector runtimeDirector = m__m;
                if (runtimeDirector == null || !runtimeDirector.isRedirect(0)) {
                    AppUtils.INSTANCE.showToast("点击了查看主页");
                } else {
                    runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
                }
            }
        }

        @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
        /* compiled from: MiHoYoDebugPage.kt */
        public static final class b extends av.n0 implements zu.a<k2> {

            /* renamed from: a  reason: collision with root package name */
            public static final b f31970a = new b();
            public static RuntimeDirector m__m;

            public b() {
                super(0);
            }

            @Override // zu.a
            public final void invoke() {
                RuntimeDirector runtimeDirector = m__m;
                if (runtimeDirector == null || !runtimeDirector.isRedirect(0)) {
                    AppUtils.INSTANCE.showToast("点击了举报");
                } else {
                    runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
                }
            }
        }

        public c0() {
            super(0);
        }

        @Override // zu.a
        public final void invoke() {
            RuntimeDirector runtimeDirector = m__m;
            if (runtimeDirector == null || !runtimeDirector.isRedirect(0)) {
                CommActionOpVoBean commActionOpVoBean = new CommActionOpVoBean("查看主页", R.drawable.post_detail_more_edit, false, a.f31969a, 4, null);
                CommActionOpVoBean commActionOpVoBean2 = new CommActionOpVoBean("举报", R.drawable.post_detail_more_hot_comment, false, b.f31970a, 4, null);
                Activity f10 = kq.c.f82703a.f();
                av.l0.m(f10);
                new eg.e((androidx.appcompat.app.e) f10, null, null, null, fu.y.s(commActionOpVoBean, commActionOpVoBean2), null, null, 110, null).show();
                return;
            }
            runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
        }
    }

    @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class d extends av.n0 implements zu.a<k2> {
        public static RuntimeDirector m__m;

        /* renamed from: a  reason: collision with root package name */
        public final /* synthetic */ Context f31971a;

        /* renamed from: b  reason: collision with root package name */
        public final /* synthetic */ MiHoYoDebugPage f31972b;

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public d(Context context, MiHoYoDebugPage miHoYoDebugPage) {
            super(0);
            this.f31971a = context;
            this.f31972b = miHoYoDebugPage;
        }

        @Override // zu.a
        public final void invoke() {
            RuntimeDirector runtimeDirector = m__m;
            if (runtimeDirector == null || !runtimeDirector.isRedirect(0)) {
                UserHomePageActivity.f36954c.a(this.f31971a, ((EditText) this.f31972b.c(R.id.idEt)).getText().toString());
            } else {
                runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
            }
        }
    }

    @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class d0 extends av.n0 implements zu.a<k2> {

        /* renamed from: a  reason: collision with root package name */
        public static final d0 f31973a = new d0();
        public static RuntimeDirector m__m;

        @Metadata(bv = {}, d1 = {"\u0000\f\n\u0002\b\u0004\n\u0002\u0010\b\n\u0002\b\u0004\u0010\b\u001a\u00020\u0004\"\u0004\b\u0000\u0010\u00002\u000e\u0010\u0002\u001a\n \u0001*\u0004\u0018\u00018\u00008\u00002\u000e\u0010\u0003\u001a\n \u0001*\u0004\u0018\u00018\u00008\u0000H\n¢\u0006\u0004\b\u0005\u0010\u0006¨\u0006\u0007"}, d2 = {w1.a.f146648f5, "kotlin.jvm.PlatformType", "a", "b", "", "compare", "(Ljava/lang/Object;Ljava/lang/Object;)I", "ju/b$d", "<anonymous>"}, k = 3, mv = {1, 7, 1})
        /* compiled from: Comparisons.kt */
        public static final class a<T> implements Comparator {
            public static RuntimeDirector m__m;

            @Override // java.util.Comparator
            public final int compare(T t10, T t11) {
                RuntimeDirector runtimeDirector = m__m;
                if (runtimeDirector == null || !runtimeDirector.isRedirect(0)) {
                    return ju.b.g(Long.valueOf(t11.getTime()), Long.valueOf(t10.getTime()));
                }
                return ((Integer) runtimeDirector.invocationDispatch(0, this, t10, t11)).intValue();
            }
        }

        public d0() {
            super(0);
        }

        @Override // zu.a
        public final void invoke() {
            HistoryItemType historyItemType;
            String str;
            Object obj;
            boolean z10;
            RuntimeDirector runtimeDirector = m__m;
            if (runtimeDirector == null || !runtimeDirector.isRedirect(0)) {
                ArrayList arrayList = new ArrayList(300);
                hv.f b10 = hv.g.b(System.currentTimeMillis());
                while (arrayList.size() < 300) {
                    if (b10.c()) {
                        historyItemType = HistoryItemType.POST;
                    } else {
                        historyItemType = HistoryItemType.INSTANT;
                    }
                    if (historyItemType == HistoryItemType.POST) {
                        str = String.valueOf(hv.g.h(b10, new jv.k(1595180, 1596180)));
                    } else {
                        str = String.valueOf(hv.g.i(b10, new jv.n(612418684270866432L, 627650327990444032L)));
                    }
                    Iterator it2 = arrayList.iterator();
                    while (true) {
                        if (!it2.hasNext()) {
                            obj = null;
                            break;
                        }
                        obj = it2.next();
                        LocalHistoryBean localHistoryBean = (LocalHistoryBean) obj;
                        if (!av.l0.g(localHistoryBean.getItemId().getId(), str) || localHistoryBean.getItemId().getType() != historyItemType) {
                            z10 = false;
                            continue;
                        } else {
                            z10 = true;
                            continue;
                        }
                        if (z10) {
                            break;
                        }
                    }
                    if (obj == null) {
                        arrayList.add(new LocalHistoryBean(HistoryItemId.Companion.create(str, historyItemType), b10.q(1577879100, System.currentTimeMillis()) / ((long) 1000)));
                    }
                }
                if (arrayList.size() > 1) {
                    fu.c0.n0(arrayList, new a());
                }
                lj.a.f88629a.e(arrayList);
                return;
            }
            runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
        }
    }

    @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class e extends av.n0 implements zu.a<k2> {
        public static RuntimeDirector m__m;

        /* renamed from: a  reason: collision with root package name */
        public final /* synthetic */ Context f31974a;

        /* renamed from: b  reason: collision with root package name */
        public final /* synthetic */ MiHoYoDebugPage f31975b;

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public e(Context context, MiHoYoDebugPage miHoYoDebugPage) {
            super(0);
            this.f31974a = context;
            this.f31975b = miHoYoDebugPage;
        }

        @Override // zu.a
        public final void invoke() {
            RuntimeDirector runtimeDirector = m__m;
            if (runtimeDirector == null || !runtimeDirector.isRedirect(0)) {
                InstantDetailActivity.a.f(InstantDetailActivity.f33599k, this.f31974a, ((EditText) this.f31975b.c(R.id.idEt)).getText().toString(), 0, false, null, null, null, 124, null);
            } else {
                runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
            }
        }
    }

    @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class e0 extends av.n0 implements zu.a<k2> {

        /* renamed from: a  reason: collision with root package name */
        public static final e0 f31976a = new e0();
        public static RuntimeDirector m__m;

        public e0() {
            super(0);
        }

        @Override // zu.a
        public final void invoke() {
            RuntimeDirector runtimeDirector = m__m;
            if (runtimeDirector == null || !runtimeDirector.isRedirect(0)) {
                vo.a.f143918a.refresh();
            } else {
                runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
            }
        }
    }

    @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class f extends av.n0 implements zu.a<k2> {
        public static RuntimeDirector m__m;

        /* renamed from: a  reason: collision with root package name */
        public final /* synthetic */ Context f31977a;

        /* renamed from: b  reason: collision with root package name */
        public final /* synthetic */ MiHoYoDebugPage f31978b;

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public f(Context context, MiHoYoDebugPage miHoYoDebugPage) {
            super(0);
            this.f31977a = context;
            this.f31978b = miHoYoDebugPage;
        }

        @Override // zu.a
        public final void invoke() {
            RuntimeDirector runtimeDirector = m__m;
            if (runtimeDirector == null || !runtimeDirector.isRedirect(0)) {
                CollectionDetailActivity.a aVar = CollectionDetailActivity.f34977k;
                Context context = this.f31977a;
                Long Z0 = xx.a0.Z0(((EditText) this.f31978b.c(R.id.idEt)).getText().toString());
                aVar.a(context, Z0 != null ? Z0.longValue() : 0);
                return;
            }
            runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
        }
    }

    @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class f0 extends av.n0 implements zu.a<k2> {

        /* renamed from: a  reason: collision with root package name */
        public static final f0 f31979a = new f0();
        public static RuntimeDirector m__m;

        public f0() {
            super(0);
        }

        @Override // zu.a
        public final void invoke() {
            vo.c code;
            RuntimeDirector runtimeDirector = m__m;
            if (runtimeDirector == null || !runtimeDirector.isRedirect(0)) {
                Activity topActivity = HyperionApplicationHelper.INSTANCE.getTopActivity();
                av.l0.n(topActivity, "null cannot be cast to non-null type androidx.appcompat.app.AppCompatActivity");
                m9.n nVar = new m9.n((androidx.appcompat.app.e) topActivity);
                StringBuilder sb2 = new StringBuilder();
                for (T t10 : vo.a.f143918a.b()) {
                    vo.a aVar = vo.a.f143918a;
                    int debugId = aVar.n() ? t10.getDebugId() : t10.getReleaseId();
                    AbTestBean c10 = aVar.c(debugId);
                    sb2.append(debugId);
                    sb2.append(" : ");
                    boolean z10 = true;
                    if (c10 == null || (code = c10.getCode()) == null || !code.isInExperiment()) {
                        z10 = false;
                    }
                    if (z10) {
                        sb2.append(f9.a.b().toJson(c10));
                        sb2.append(IOUtils.LINE_SEPARATOR_UNIX);
                    } else {
                        sb2.append("未进实验");
                        sb2.append(IOUtils.LINE_SEPARATOR_UNIX);
                    }
                }
                String sb3 = sb2.toString();
                av.l0.o(sb3, "sb.toString()");
                nVar.y(sb3);
                nVar.show();
                return;
            }
            runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
        }
    }

    @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class g extends av.n0 implements zu.a<k2> {
        public static RuntimeDirector m__m;

        /* renamed from: a  reason: collision with root package name */
        public final /* synthetic */ Context f31980a;

        /* renamed from: b  reason: collision with root package name */
        public final /* synthetic */ MiHoYoDebugPage f31981b;

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public g(Context context, MiHoYoDebugPage miHoYoDebugPage) {
            super(0);
            this.f31980a = context;
            this.f31981b = miHoYoDebugPage;
        }

        @Override // zu.a
        public final void invoke() {
            RuntimeDirector runtimeDirector = m__m;
            if (runtimeDirector == null || !runtimeDirector.isRedirect(0)) {
                CreateCollectionActivity.a aVar = CreateCollectionActivity.f34958g;
                Context context = this.f31980a;
                Long Z0 = xx.a0.Z0(((EditText) this.f31981b.c(R.id.idEt)).getText().toString());
                CreateCollectionActivity.a.b(aVar, context, Z0 != null ? Z0.longValue() : 0, false, 4, null);
                return;
            }
            runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
        }
    }

    @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class g0 extends av.n0 implements zu.a<k2> {
        public static RuntimeDirector m__m;

        /* renamed from: a  reason: collision with root package name */
        public final /* synthetic */ boolean f31982a;

        /* renamed from: b  reason: collision with root package name */
        public final /* synthetic */ MiHoYoDebugPage f31983b;

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public g0(boolean z10, MiHoYoDebugPage miHoYoDebugPage) {
            super(0);
            this.f31982a = z10;
            this.f31983b = miHoYoDebugPage;
        }

        @Override // zu.a
        public final void invoke() {
            RuntimeDirector runtimeDirector = m__m;
            if (runtimeDirector == null || !runtimeDirector.isRedirect(0)) {
                zj.g.f163544a.l(!this.f31982a);
                StringBuilder sb2 = new StringBuilder();
                sb2.append("硬解码:");
                sb2.append(!this.f31982a);
                ((Button) this.f31983b.c(R.id.mCodecChange)).setText(sb2.toString());
                return;
            }
            runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
        }
    }

    @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class h extends av.n0 implements zu.a<k2> {
        public static RuntimeDirector m__m;

        /* renamed from: a  reason: collision with root package name */
        public final /* synthetic */ MiHoYoDebugPage f31984a;

        /* renamed from: b  reason: collision with root package name */
        public final /* synthetic */ Context f31985b;

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public h(MiHoYoDebugPage miHoYoDebugPage, Context context) {
            super(0);
            this.f31984a = miHoYoDebugPage;
            this.f31985b = context;
        }

        @Override // zu.a
        public final void invoke() {
            RuntimeDirector runtimeDirector = m__m;
            if (runtimeDirector == null || !runtimeDirector.isRedirect(0)) {
                VillaDetailActivity.f38281b.a(this.f31985b, xx.c0.E5(((EditText) this.f31984a.c(R.id.idEt)).getText().toString()).toString());
                return;
            }
            runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
        }
    }

    @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class h0 extends av.n0 implements zu.a<k2> {
        public static RuntimeDirector m__m;

        /* renamed from: a  reason: collision with root package name */
        public final /* synthetic */ Context f31986a;

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public h0(Context context) {
            super(0);
            this.f31986a = context;
        }

        public static final void b() {
            RuntimeDirector runtimeDirector = m__m;
            if (runtimeDirector == null || !runtimeDirector.isRedirect(1)) {
                AppUtils.INSTANCE.showToast("点击了确认~~~");
            } else {
                runtimeDirector.invocationDispatch(1, null, ga.a.f66507a);
            }
        }

        @Override // zu.a
        public final void invoke() {
            RuntimeDirector runtimeDirector = m__m;
            if (runtimeDirector == null || !runtimeDirector.isRedirect(0)) {
                PostLimitBean postLimitBean = new PostLimitBean(null, false, null, null, null, null, 63, null);
                PostLimitBean.LvBean lvBean = new PostLimitBean.LvBean(0, false, 3, null);
                lvBean.setExpect(3);
                lvBean.set_pass(true);
                PostLimitBean.LvBean lvBean2 = new PostLimitBean.LvBean(0, false, 3, null);
                lvBean2.setExpect(4);
                lvBean2.set_pass(false);
                postLimitBean.setGame_lv(lvBean);
                postLimitBean.setBbs_lv(lvBean2);
                postLimitBean.setCredit_score(lvBean);
                postLimitBean.setMsg("说文案我说文案我说文案我说文案我说文案我说文案我说文案我说文案我说文案我说文案我说文案我说文案我说文案我说文案我说文案");
                Activity topActivity = HyperionApplicationHelper.INSTANCE.getTopActivity();
                av.l0.n(topActivity, "null cannot be cast to non-null type androidx.appcompat.app.AppCompatActivity");
                m9.e eVar = new m9.e((androidx.appcompat.app.e) topActivity, new PostLimitPage(this.f31986a, postLimitBean), true, false, true, fb.r.f58854a);
                eVar.T("重新选择发布位置");
                eVar.a0("暂时无法在xx发帖");
                eVar.show();
                return;
            }
            runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
        }
    }

    @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class i extends av.n0 implements zu.a<k2> {
        public static RuntimeDirector m__m;

        /* renamed from: a  reason: collision with root package name */
        public final /* synthetic */ Context f31987a;

        /* renamed from: b  reason: collision with root package name */
        public final /* synthetic */ MiHoYoDebugPage f31988b;

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public i(Context context, MiHoYoDebugPage miHoYoDebugPage) {
            super(0);
            this.f31987a = context;
            this.f31988b = miHoYoDebugPage;
        }

        @Override // zu.a
        public final void invoke() {
            RuntimeDirector runtimeDirector = m__m;
            if (runtimeDirector == null || !runtimeDirector.isRedirect(0)) {
                hn.u.m(hn.u.f70328a, this.f31987a, ((EditText) this.f31988b.c(R.id.mOpenBrowserEt)).getText().toString(), null, false, 12, null);
            } else {
                runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
            }
        }
    }

    @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class i0 extends av.n0 implements zu.a<k2> {

        /* renamed from: a  reason: collision with root package name */
        public static final i0 f31989a = new i0();
        public static RuntimeDirector m__m;

        public i0() {
            super(0);
        }

        @Override // zu.a
        public final void invoke() {
            RuntimeDirector runtimeDirector = m__m;
            if (runtimeDirector == null || !runtimeDirector.isRedirect(0)) {
                Activity topActivity = HyperionApplicationHelper.INSTANCE.getTopActivity();
                av.l0.n(topActivity, "null cannot be cast to non-null type androidx.appcompat.app.AppCompatActivity");
                m9.i iVar = new m9.i((androidx.appcompat.app.e) topActivity);
                iVar.a0("专区版块名称");
                iVar.d0("文案为op配置,最多800字,超过最大高度则可上下滑动。文案为op配置,最多800字。文案为op配置,最多800字,超过最大高度则可上下滑动。文案为op配置,最多800字,超过最大高度则可上下滑动。文案为op配置,最多800字。");
                iVar.Q(1);
                iVar.T("我知道了");
                TextView b02 = iVar.b0();
                b02.setMaxHeight(ExtensionKt.A(292));
                b02.setMovementMethod(ScrollingMovementMethod.getInstance());
                b02.setGravity(3);
                iVar.show();
                return;
            }
            runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
        }
    }

    @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class j extends av.n0 implements zu.a<k2> {
        public static RuntimeDirector m__m;

        /* renamed from: a  reason: collision with root package name */
        public final /* synthetic */ MiHoYoDebugPage f31990a;

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public j(MiHoYoDebugPage miHoYoDebugPage) {
            super(0);
            this.f31990a = miHoYoDebugPage;
        }

        @Override // zu.a
        public final void invoke() {
            RuntimeDirector runtimeDirector = m__m;
            if (runtimeDirector == null || !runtimeDirector.isRedirect(0)) {
                wc.i.f150760a.k(((EditText) this.f31990a.c(R.id.mOpenBrowserEt)).getText().toString());
            } else {
                runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
            }
        }
    }

    @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class j0 extends av.n0 implements zu.a<k2> {
        public static RuntimeDirector m__m;

        /* renamed from: a  reason: collision with root package name */
        public final /* synthetic */ Context f31991a;

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public j0(Context context) {
            super(0);
            this.f31991a = context;
        }

        @Override // zu.a
        public final void invoke() {
            Uri uri;
            RuntimeDirector runtimeDirector = m__m;
            if (runtimeDirector == null || !runtimeDirector.isRedirect(0)) {
                File file = new File(LogUtils.INSTANCE.getMLogFilePath());
                if (file.exists() && file.length() > 0) {
                    if (Build.VERSION.SDK_INT <= 22) {
                        uri = Uri.fromFile(file);
                    } else {
                        Context context = this.f31991a;
                        uri = FileProvider.getUriForFile(context, j9.i.b().getPackageName() + ".provider", file);
                    }
                    Intent intent = new Intent("android.intent.action.SEND");
                    Context context2 = this.f31991a;
                    intent.putExtra("android.intent.extra.STREAM", uri);
                    intent.setType("text/plain");
                    Intent createChooser = Intent.createChooser(intent, "");
                    createChooser.setFlags(268435457);
                    context2.startActivity(createChooser);
                    return;
                }
                return;
            }
            runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
        }
    }

    @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class k extends av.n0 implements zu.a<k2> {
        public static RuntimeDirector m__m;

        /* renamed from: a  reason: collision with root package name */
        public final /* synthetic */ Context f31992a;

        /* renamed from: b  reason: collision with root package name */
        public final /* synthetic */ MiHoYoDebugPage f31993b;

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public k(Context context, MiHoYoDebugPage miHoYoDebugPage) {
            super(0);
            this.f31992a = context;
            this.f31993b = miHoYoDebugPage;
        }

        @Override // zu.a
        public final void invoke() {
            RuntimeDirector runtimeDirector = m__m;
            if (runtimeDirector == null || !runtimeDirector.isRedirect(0)) {
                j9.h.f74133a.a(this.f31992a, ((TextView) this.f31993b.c(R.id.basicInfoText)).getText().toString());
                AppUtils.INSTANCE.showToast("已复制成功");
                return;
            }
            runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
        }
    }

    @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class k0 extends av.n0 implements zu.a<k2> {

        /* renamed from: a  reason: collision with root package name */
        public static final k0 f31994a = new k0();
        public static RuntimeDirector m__m;

        public k0() {
            super(0);
        }

        @Override // zu.a
        public final void invoke() {
            RuntimeDirector runtimeDirector = m__m;
            if (runtimeDirector == null || !runtimeDirector.isRedirect(0)) {
                j9.g0.t(SPUtils.INSTANCE.getInstance(SPUtils.a.SP_TABLE_TEENAGE), oi.k.f99553c, "");
                ff.e.f58881a.e();
                return;
            }
            runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
        }
    }

    @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class l extends av.n0 implements zu.a<k2> {
        public static RuntimeDirector m__m;

        /* renamed from: a  reason: collision with root package name */
        public final /* synthetic */ Context f31995a;

        /* renamed from: b  reason: collision with root package name */
        public final /* synthetic */ MiHoYoDebugPage f31996b;

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public l(Context context, MiHoYoDebugPage miHoYoDebugPage) {
            super(0);
            this.f31995a = context;
            this.f31996b = miHoYoDebugPage;
        }

        @Override // zu.a
        public final void invoke() {
            RuntimeDirector runtimeDirector = m__m;
            if (runtimeDirector == null || !runtimeDirector.isRedirect(0)) {
                MihoyoRouter.openNativePage$default(MihoyoRouter.INSTANCE, this.f31995a, ((EditText) this.f31996b.c(R.id.mOpenBrowserEt)).getText().toString(), false, 4, null);
            } else {
                runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
            }
        }
    }

    @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class l0 extends av.n0 implements zu.a<k2> {
        public static RuntimeDirector m__m;

        /* renamed from: a  reason: collision with root package name */
        public final /* synthetic */ k1.a f31997a;

        /* renamed from: b  reason: collision with root package name */
        public final /* synthetic */ MiHoYoDebugPage f31998b;

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public l0(k1.a aVar, MiHoYoDebugPage miHoYoDebugPage) {
            super(0);
            this.f31997a = aVar;
            this.f31998b = miHoYoDebugPage;
        }

        @Override // zu.a
        public final void invoke() {
            RuntimeDirector runtimeDirector = m__m;
            boolean z10 = false;
            if (runtimeDirector != null && runtimeDirector.isRedirect(0)) {
                runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
            } else if (!av.l0.g(oa.a.f99393d, "Dev")) {
                AppUtils.INSTANCE.showToast("不是dev包不能跳过极验");
            } else {
                k1.a aVar = this.f31997a;
                aVar.f8369a = !aVar.f8369a;
                j9.g0.v(this.f31998b.getCommonSp(), "is_jump_account_gee", this.f31997a.f8369a);
                ((Button) this.f31998b.c(R.id.mJumpAccountGee)).setText("Dev包账户接口跳过极验:" + this.f31997a.f8369a);
                ta.e eVar = ta.e.f134657a;
                if (bg.e.f9168a.c() == bg.b.SANDBOX || AppUtils.INSTANCE.isUIDev() || (av.l0.g(oa.a.f99393d, "Dev") && this.f31997a.f8369a)) {
                    z10 = true;
                }
                eVar.g(z10);
            }
        }
    }

    @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class m extends av.n0 implements zu.a<k2> {
        public static RuntimeDirector m__m;

        /* renamed from: a  reason: collision with root package name */
        public final /* synthetic */ MiHoYoDebugPage f31999a;

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public m(MiHoYoDebugPage miHoYoDebugPage) {
            super(0);
            this.f31999a = miHoYoDebugPage;
        }

        @Override // zu.a
        public final void invoke() {
            RuntimeDirector runtimeDirector = m__m;
            if (runtimeDirector == null || !runtimeDirector.isRedirect(0)) {
                cb.a.f14567a.F(((EditText) this.f31999a.c(R.id.mOpenBrowserEt)).getText().toString());
            } else {
                runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
            }
        }
    }

    @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class m0 extends av.n0 implements zu.a<k2> {
        public static RuntimeDirector m__m;

        /* renamed from: a  reason: collision with root package name */
        public final /* synthetic */ MiHoYoDebugPage f32000a;

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public m0(MiHoYoDebugPage miHoYoDebugPage) {
            super(0);
            this.f32000a = miHoYoDebugPage;
        }

        @Override // zu.a
        public final void invoke() {
            RuntimeDirector runtimeDirector = m__m;
            if (runtimeDirector == null || !runtimeDirector.isRedirect(0)) {
                boolean z10 = !this.f32000a.getCommonSp().getBoolean("is_open_vconsole_key", false);
                ((Button) this.f32000a.c(R.id.vconsoleBtn)).setText("vconsole:" + z10);
                j9.g0.v(this.f32000a.getCommonSp(), "is_open_vconsole_key", z10);
                return;
            }
            runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
        }
    }

    @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class n extends av.n0 implements zu.a<k2> {
        public static RuntimeDirector m__m;

        /* renamed from: a  reason: collision with root package name */
        public final /* synthetic */ Context f32001a;

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public n(Context context) {
            super(0);
            this.f32001a = context;
        }

        @Override // zu.a
        public final void invoke() {
            RuntimeDirector runtimeDirector = m__m;
            if (runtimeDirector == null || !runtimeDirector.isRedirect(0)) {
                hn.u.m(hn.u.f70328a, this.f32001a, "file:///android_asset/JSBridgeUnitTest.html", null, false, 12, null);
            } else {
                runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
            }
        }
    }

    @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class n0 extends av.n0 implements zu.a<k2> {

        /* renamed from: a  reason: collision with root package name */
        public static final n0 f32002a = new n0();
        public static RuntimeDirector m__m;

        public n0() {
            super(0);
        }

        @Override // zu.a
        public final void invoke() {
            RuntimeDirector runtimeDirector = m__m;
            if (runtimeDirector == null || !runtimeDirector.isRedirect(0)) {
                nl.a.a().c().d();
            } else {
                runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
            }
        }
    }

    @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class o extends av.n0 implements zu.a<k2> {
        public static RuntimeDirector m__m;

        /* renamed from: a  reason: collision with root package name */
        public final /* synthetic */ Context f32003a;

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public o(Context context) {
            super(0);
            this.f32003a = context;
        }

        @Override // zu.a
        public final void invoke() {
            RuntimeDirector runtimeDirector = m__m;
            if (runtimeDirector == null || !runtimeDirector.isRedirect(0)) {
                hn.u.m(hn.u.f70328a, this.f32003a, "file:///android_asset/JSBridgeUnitTest.html?mhy_landscape=true", null, false, 12, null);
            } else {
                runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
            }
        }
    }

    @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class o0 extends av.n0 implements zu.a<k2> {
        public static RuntimeDirector m__m;

        /* renamed from: a  reason: collision with root package name */
        public final /* synthetic */ k1.a f32004a;

        /* renamed from: b  reason: collision with root package name */
        public final /* synthetic */ MiHoYoDebugPage f32005b;

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public o0(k1.a aVar, MiHoYoDebugPage miHoYoDebugPage) {
            super(0);
            this.f32004a = aVar;
            this.f32005b = miHoYoDebugPage;
        }

        @Override // zu.a
        public final void invoke() {
            RuntimeDirector runtimeDirector = m__m;
            if (runtimeDirector == null || !runtimeDirector.isRedirect(0)) {
                k1.a aVar = this.f32004a;
                aVar.f8369a = !aVar.f8369a;
                j9.g0.v(this.f32005b.getCommonSp(), "villa_im_sdk_log_handler_mode_key", this.f32004a.f8369a);
                Button button = (Button) this.f32005b.c(R.id.villaRongBtn);
                StringBuilder sb2 = new StringBuilder();
                sb2.append("融云日志模式: ");
                sb2.append(this.f32004a.f8369a ? "Log" : "WolfToast");
                button.setText(sb2.toString());
                vh.b.f143776a.k(false, this.f32004a.f8369a);
                return;
            }
            runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
        }
    }

    @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class p extends av.n0 implements zu.a<k2> {
        public static RuntimeDirector m__m;

        /* renamed from: a  reason: collision with root package name */
        public final /* synthetic */ Context f32006a;

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public p(Context context) {
            super(0);
            this.f32006a = context;
        }

        @Override // zu.a
        public final void invoke() {
            RuntimeDirector runtimeDirector = m__m;
            if (runtimeDirector == null || !runtimeDirector.isRedirect(0)) {
                LogUtils.d("ClipboardHelper", "data:" + yh.a.f158360a.d(this.f32006a));
                return;
            }
            runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
        }
    }

    @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class p0 extends av.n0 implements zu.a<k2> {
        public static RuntimeDirector m__m;

        /* renamed from: a  reason: collision with root package name */
        public final /* synthetic */ Context f32007a;

        /* renamed from: b  reason: collision with root package name */
        public final /* synthetic */ MiHoYoDebugPage f32008b;

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public p0(Context context, MiHoYoDebugPage miHoYoDebugPage) {
            super(0);
            this.f32007a = context;
            this.f32008b = miHoYoDebugPage;
        }

        @Override // zu.a
        public final void invoke() {
            RuntimeDirector runtimeDirector = m__m;
            if (runtimeDirector == null || !runtimeDirector.isRedirect(0)) {
                zg.b.b(zg.b.f163337a, this.f32007a, ((EditText) this.f32008b.c(R.id.idEt)).getText().toString(), false, 0, null, 28, null);
            } else {
                runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
            }
        }
    }

    @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class q extends av.n0 implements zu.a<k2> {
        public static RuntimeDirector m__m;

        /* renamed from: a  reason: collision with root package name */
        public final /* synthetic */ MiHoYoDebugPage f32009a;

        /* renamed from: b  reason: collision with root package name */
        public final /* synthetic */ Context f32010b;

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public q(MiHoYoDebugPage miHoYoDebugPage, Context context) {
            super(0);
            this.f32009a = miHoYoDebugPage;
            this.f32010b = context;
        }

        @Override // zu.a
        public final void invoke() {
            RuntimeDirector runtimeDirector = m__m;
            if (runtimeDirector == null || !runtimeDirector.isRedirect(0)) {
                ((TextView) this.f32009a.c(R.id.basicInfoText)).setText(this.f32009a.P(this.f32010b));
                AppUtils.INSTANCE.showToast("刷新成功");
                return;
            }
            runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
        }
    }

    @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class q0 extends av.n0 implements zu.a<k2> {
        public static RuntimeDirector m__m;

        /* renamed from: a  reason: collision with root package name */
        public final /* synthetic */ Context f32011a;

        /* renamed from: b  reason: collision with root package name */
        public final /* synthetic */ MiHoYoDebugPage f32012b;

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public q0(Context context, MiHoYoDebugPage miHoYoDebugPage) {
            super(0);
            this.f32011a = context;
            this.f32012b = miHoYoDebugPage;
        }

        @Override // zu.a
        public final void invoke() {
            RuntimeDirector runtimeDirector = m__m;
            if (runtimeDirector == null || !runtimeDirector.isRedirect(0)) {
                PostPictureDetailActivity.a.f(PostPictureDetailActivity.f35588k, this.f32011a, ((EditText) this.f32012b.c(R.id.idEt)).getText().toString(), null, null, false, 0, 60, null);
            } else {
                runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
            }
        }
    }

    @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class r extends av.n0 implements zu.a<k2> {
        public static RuntimeDirector m__m;

        /* renamed from: a  reason: collision with root package name */
        public final /* synthetic */ Context f32013a;

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public r(Context context) {
            super(0);
            this.f32013a = context;
        }

        @Override // zu.a
        public final void invoke() {
            RuntimeDirector runtimeDirector = m__m;
            if (runtimeDirector != null && runtimeDirector.isRedirect(0)) {
                runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
            } else if (AccountManager.INSTANCE.userIsLogin()) {
                hn.u.m(hn.u.f70328a, this.f32013a, cb.a.f14567a.x(), null, false, 12, null);
            } else {
                AppUtils.INSTANCE.showToast("未登录");
            }
        }
    }

    @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class r0 extends av.n0 implements zu.a<k2> {

        /* renamed from: a  reason: collision with root package name */
        public static final r0 f32014a = new r0();
        public static RuntimeDirector m__m;

        public r0() {
            super(0);
        }

        @Override // zu.a
        public final void invoke() {
            RuntimeDirector runtimeDirector = m__m;
            if (runtimeDirector == null || !runtimeDirector.isRedirect(0)) {
                AccountManager.INSTANCE.logOut();
                sd.d.f122415f.i();
                return;
            }
            runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
        }
    }

    @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class s extends av.n0 implements zu.a<k2> {

        /* renamed from: a  reason: collision with root package name */
        public static final s f32015a = new s();
        public static RuntimeDirector m__m;

        public s() {
            super(0);
        }

        @Override // zu.a
        public final void invoke() {
            RuntimeDirector runtimeDirector = m__m;
            if (runtimeDirector == null || !runtimeDirector.isRedirect(0)) {
                try {
                    Field field = AccountManager.class.getField("cookieStr");
                    field.setAccessible(true);
                    field.set(AccountManager.INSTANCE, "123abc");
                    j9.g0.t(SPUtils.INSTANCE.getInstance(SPUtils.a.SP_TABLE_LOGIN), AccountManager.SP_KEY_S_TOKEN, "123abc");
                    Class<?> cls = Class.forName("com.mihoyo.platform.account.sdk.PorteAccountManager");
                    av.l0.o(cls, "forName(\"com.mihoyo.plat…sdk.PorteAccountManager\")");
                    kv.d i10 = yu.a.i(cls);
                    for (T t10 : lv.e.k(i10)) {
                        if (av.l0.g(t10.getName(), "saveOrUpdateAccount")) {
                            Account loginCurrentAccount = Porte.INSTANCE.loginCurrentAccount();
                            if (loginCurrentAccount != null) {
                                loginCurrentAccount.setTokenStr("123abc");
                            }
                            t10.call(i10.D(), loginCurrentAccount);
                        }
                    }
                } catch (Exception unused) {
                }
            } else {
                runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
            }
        }
    }

    @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class s0 extends av.n0 implements zu.a<k2> {
        public static RuntimeDirector m__m;

        /* renamed from: a  reason: collision with root package name */
        public final /* synthetic */ Context f32016a;

        /* renamed from: b  reason: collision with root package name */
        public final /* synthetic */ MiHoYoDebugPage f32017b;

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public s0(Context context, MiHoYoDebugPage miHoYoDebugPage) {
            super(0);
            this.f32016a = context;
            this.f32017b = miHoYoDebugPage;
        }

        @Override // zu.a
        public final void invoke() {
            RuntimeDirector runtimeDirector = m__m;
            if (runtimeDirector == null || !runtimeDirector.isRedirect(0)) {
                PostPictureDetailActivity.a.f(PostPictureDetailActivity.f35588k, this.f32016a, ((EditText) this.f32017b.c(R.id.idEt)).getText().toString(), null, null, false, 0, 60, null);
            } else {
                runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
            }
        }
    }

    @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class t extends av.n0 implements zu.a<k2> {
        public static RuntimeDirector m__m;

        /* renamed from: a  reason: collision with root package name */
        public final /* synthetic */ Context f32018a;

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public t(Context context) {
            super(0);
            this.f32018a = context;
        }

        @Override // zu.a
        public final void invoke() {
            RuntimeDirector runtimeDirector = m__m;
            if (runtimeDirector == null || !runtimeDirector.isRedirect(0)) {
                GameCenterActivity.a.d(GameCenterActivity.f33424k, this.f32018a, false, 2, null);
            } else {
                runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
            }
        }
    }

    @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class t0 extends av.n0 implements zu.a<k2> {
        public static RuntimeDirector m__m;

        /* renamed from: a  reason: collision with root package name */
        public final /* synthetic */ Context f32019a;

        /* renamed from: b  reason: collision with root package name */
        public final /* synthetic */ MiHoYoDebugPage f32020b;

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public t0(Context context, MiHoYoDebugPage miHoYoDebugPage) {
            super(0);
            this.f32019a = context;
            this.f32020b = miHoYoDebugPage;
        }

        @Override // zu.a
        public final void invoke() {
            RuntimeDirector runtimeDirector = m__m;
            if (runtimeDirector == null || !runtimeDirector.isRedirect(0)) {
                PostVideoActivity.a.b(PostVideoActivity.B, this.f32019a, ((EditText) this.f32020b.c(R.id.idEt)).getText().toString(), 0, false, 12, null);
            } else {
                runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
            }
        }
    }

    @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class u extends av.n0 implements zu.a<k2> {
        public static RuntimeDirector m__m;

        /* renamed from: a  reason: collision with root package name */
        public final /* synthetic */ Context f32021a;

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public u(Context context) {
            super(0);
            this.f32021a = context;
        }

        @Override // zu.a
        public final void invoke() {
            RuntimeDirector runtimeDirector = m__m;
            if (runtimeDirector == null || !runtimeDirector.isRedirect(0)) {
                Intent intent = new Intent(this.f32021a, DownloadIntentService.class);
                Bundle bundle = new Bundle();
                bundle.putString(DownloadIntentService.f36785b, "http://dldir1.qq.com/qqmi/aphone_p2p/TencentVideo_V6.0.0.14297_848.apk");
                bundle.putString(DownloadIntentService.f36786c, "TencentVideo_V6.apk");
                intent.putExtras(bundle);
                if (Build.VERSION.SDK_INT >= 26) {
                    this.f32021a.startForegroundService(intent);
                } else {
                    this.f32021a.startService(intent);
                }
            } else {
                runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
            }
        }
    }

    @Metadata(bv = {}, d1 = {"\u0000\u0010\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000b\n\u0002\b\u0005\b†\u0003\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u0005\u0010\u0006R\u0016\u0010\u0003\u001a\u00020\u00028\u0002@\u0002X‚\u000e¢\u0006\u0006\n\u0004\b\u0003\u0010\u0004¨\u0006\u0007"}, d2 = {"Lcom/mihoyo/hyperion/debug/MiHoYoDebugPage$u0;", "", "", "isUeToolOpen", "Z", "<init>", "()V", "app_PublishRelease"}, k = 1, mv = {1, 7, 1})
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class u0 {
        public u0() {
        }

        public /* synthetic */ u0(av.w wVar) {
            this();
        }
    }

    @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class v extends av.n0 implements zu.a<k2> {
        public static RuntimeDirector m__m;

        /* renamed from: a  reason: collision with root package name */
        public final /* synthetic */ MiHoYoDebugPage f32022a;

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public v(MiHoYoDebugPage miHoYoDebugPage) {
            super(0);
            this.f32022a = miHoYoDebugPage;
        }

        @Override // zu.a
        public final void invoke() {
            RuntimeDirector runtimeDirector = m__m;
            if (runtimeDirector == null || !runtimeDirector.isRedirect(0)) {
                this.f32022a.Q();
            } else {
                runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
            }
        }
    }

    @Metadata(d1 = {"\u0000\b\n\u0000\n\u0002\u0018\u0002\n\u0000\u0010\u0000\u001a\u00020\u0001H\n¢\u0006\u0002\b\u0002"}, d2 = {"<anonymous>", "Landroid/content/SharedPreferences;", "invoke"}, k = 3, mv = {1, 7, 1}, xi = 48)
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class v0 extends av.n0 implements zu.a<SharedPreferences> {

        /* renamed from: a  reason: collision with root package name */
        public static final v0 f32023a = new v0();
        public static RuntimeDirector m__m;

        public v0() {
            super(0);
        }

        @Override // zu.a
        @uz.d
        public final SharedPreferences invoke() {
            RuntimeDirector runtimeDirector = m__m;
            return (runtimeDirector == null || !runtimeDirector.isRedirect(0)) ? SPUtils.INSTANCE.getInstance(SPUtils.a.SP_TABLE_COMMON) : (SharedPreferences) runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
        }
    }

    @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class w extends av.n0 implements zu.a<k2> {

        /* renamed from: a  reason: collision with root package name */
        public static final w f32024a = new w();
        public static RuntimeDirector m__m;

        public w() {
            super(0);
        }

        @Override // zu.a
        public final void invoke() {
            RuntimeDirector runtimeDirector = m__m;
            if (runtimeDirector == null || !runtimeDirector.isRedirect(0)) {
                Activity topActivity = HyperionApplicationHelper.INSTANCE.getTopActivity();
                if (topActivity != null) {
                    new ej.a(topActivity, new LatestReleaseBean("1.优化了什么什么的", 0, 0, 0, "更新啦", null, "", 0, 1, false, 16, "1.0.0", "", 558, null));
                    return;
                }
                return;
            }
            runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
        }
    }

    @Metadata(d1 = {"\u0000\b\n\u0000\n\u0002\u0018\u0002\n\u0000\u0010\u0000\u001a\u00020\u0001H\n¢\u0006\u0002\b\u0002"}, d2 = {"<anonymous>", "Landroid/content/SharedPreferences;", "invoke"}, k = 3, mv = {1, 7, 1}, xi = 48)
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class w0 extends av.n0 implements zu.a<SharedPreferences> {

        /* renamed from: a  reason: collision with root package name */
        public static final w0 f32025a = new w0();
        public static RuntimeDirector m__m;

        public w0() {
            super(0);
        }

        @Override // zu.a
        @uz.d
        public final SharedPreferences invoke() {
            RuntimeDirector runtimeDirector = m__m;
            return (runtimeDirector == null || !runtimeDirector.isRedirect(0)) ? SPUtils.getInstance$default(SPUtils.INSTANCE, null, 1, null) : (SharedPreferences) runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
        }
    }

    @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class x extends av.n0 implements zu.a<k2> {

        /* renamed from: a  reason: collision with root package name */
        public static final x f32026a = new x();
        public static RuntimeDirector m__m;

        public x() {
            super(0);
        }

        @Override // zu.a
        public final void invoke() {
            RuntimeDirector runtimeDirector = m__m;
            if (runtimeDirector == null || !runtimeDirector.isRedirect(0)) {
                Activity topActivity = HyperionApplicationHelper.INSTANCE.getTopActivity();
                if (topActivity != null) {
                    new ej.a(topActivity, new LatestReleaseBean("当前版本过旧,请更新以使用最新功能", 0, 0, 0, "更新啦", null, "", 0, 2, false, 16, "1.0.0", "", 558, null)).show();
                    return;
                }
                return;
            }
            runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
        }
    }

    @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class y extends av.n0 implements zu.a<k2> {

        /* renamed from: a  reason: collision with root package name */
        public static final y f32027a = new y();
        public static RuntimeDirector m__m;

        public y() {
            super(0);
        }

        @Override // zu.a
        public final void invoke() {
            RuntimeDirector runtimeDirector = m__m;
            if (runtimeDirector == null || !runtimeDirector.isRedirect(0)) {
                Activity topActivity = HyperionApplicationHelper.INSTANCE.getTopActivity();
                if (topActivity != null) {
                    new ej.a(topActivity, new LatestReleaseBean("1.优化了什么什么的\n2.提高了什么什么\n3.加快了什么什么\n2.提高了什么什么\n3.加快了什么什么\n2.提高了什么什么\n3.加快了什么什么\n2.提高了什么什么\n3.加快了什么什么", 0, 0, 0, "更新啦", null, "", 0, 1, false, 16, "1.0.0", "", 558, null)).show();
                    return;
                }
                return;
            }
            runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
        }
    }

    @Metadata(bv = {}, d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Ldu/k2;", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 7, 1})
    /* compiled from: MiHoYoDebugPage.kt */
    public static final class z extends av.n0 implements zu.a<k2> {

        /* renamed from: a  reason: collision with root package name */
        public static final z f32028a = new z();
        public static RuntimeDirector m__m;

        public z() {
            super(0);
        }

        @Override // zu.a
        public final void invoke() {
            RuntimeDirector runtimeDirector = m__m;
            if (runtimeDirector == null || !runtimeDirector.isRedirect(0)) {
                MihoyoRouter.openFlutterPage$default(MihoyoRouter.INSTANCE, HyperionApplicationHelperKt.getHYPERION_APPLICATION(), MihoyoRouter.FLUTTER_PAGE_DEBUG_BRIDGE, null, 4, null);
            } else {
                runtimeDirector.invocationDispatch(0, this, ga.a.f66507a);
            }
        }
    }

    /* JADX INFO: super call moved to the top of the method (can break code semantics) */
    public MiHoYoDebugPage(@uz.d Context context) {
        super(context);
        av.l0.p(context, "context");
        this.f31957k = du.f0.c(v0.f32023a);
        this.f31958l = du.f0.c(w0.f32025a);
        Activity topActivity = HyperionApplicationHelper.INSTANCE.getTopActivity();
        av.l0.n(topActivity, "null cannot be cast to non-null type android.content.Context");
        setTitle("业务调试页面");
        int i10 = R.id.basicInfoText;
        ((TextView) c(i10)).setText(P(topActivity));
        TextView textView = (TextView) c(i10);
        av.l0.o(textView, "basicInfoText");
        ExtensionKt.M(textView, new k(topActivity, this));
        Button button = (Button) c(R.id.refreshUserInfoBtn);
        av.l0.o(button, "refreshUserInfoBtn");
        ExtensionKt.M(button, new q(this, topActivity));
        int i11 = R.id.mEnvChange;
        ((Button) c(i11)).setText("切换环境(成功将自动杀死app) 当前 " + bg.e.f9168a.c().name());
        Button button2 = (Button) c(i11);
        av.l0.o(button2, "mEnvChange");
        ExtensionKt.M(button2, new v(this));
        boolean m10 = zj.g.f163544a.m();
        int i12 = R.id.mCodecChange;
        ((Button) c(i12)).setText("硬解码:" + m10);
        Button button3 = (Button) c(i12);
        av.l0.o(button3, "mCodecChange");
        ExtensionKt.M(button3, new g0(m10, this));
        Button button4 = (Button) c(R.id.unknowTypePostBtn);
        av.l0.o(button4, "unknowTypePostBtn");
        ExtensionKt.M(button4, new p0(context, this));
        Button button5 = (Button) c(R.id.mToPostDetailBtn);
        av.l0.o(button5, "mToPostDetailBtn");
        ExtensionKt.M(button5, new q0(context, this));
        Button button6 = (Button) c(R.id.logoutButton);
        av.l0.o(button6, "logoutButton");
        ExtensionKt.M(button6, r0.f32014a);
        Button button7 = (Button) c(R.id.mToPicturePostDetailBtn);
        av.l0.o(button7, "mToPicturePostDetailBtn");
        ExtensionKt.M(button7, new s0(topActivity, this));
        Button button8 = (Button) c(R.id.videoPostBtn);
        av.l0.o(button8, "videoPostBtn");
        ExtensionKt.M(button8, new t0(topActivity, this));
        Button button9 = (Button) c(R.id.mToTopicDetailBtn);
        av.l0.o(button9, "mToTopicDetailBtn");
        ExtensionKt.M(button9, new a(topActivity, this));
        Button button10 = (Button) c(R.id.floatingWindow);
        av.l0.o(button10, "floatingWindow");
        ExtensionKt.M(button10, b.f31963a);
        Button button11 = (Button) c(R.id.mToForumDetailBtn);
        av.l0.o(button11, "mToForumDetailBtn");
        ExtensionKt.M(button11, new c(topActivity, this));
        Button button12 = (Button) c(R.id.mToUserCenterBtn);
        av.l0.o(button12, "mToUserCenterBtn");
        ExtensionKt.M(button12, new d(topActivity, this));
        Button button13 = (Button) c(R.id.instantBtn);
        av.l0.o(button13, "instantBtn");
        ExtensionKt.M(button13, new e(topActivity, this));
        Button button14 = (Button) c(R.id.mToCollectionBtn);
        av.l0.o(button14, "mToCollectionBtn");
        ExtensionKt.M(button14, new f(topActivity, this));
        Button button15 = (Button) c(R.id.mToEditCollectionBtn);
        av.l0.o(button15, "mToEditCollectionBtn");
        ExtensionKt.M(button15, new g(topActivity, this));
        Button button16 = (Button) c(R.id.mBtnVillaDetail);
        av.l0.o(button16, "mBtnVillaDetail");
        ExtensionKt.M(button16, new h(this, topActivity));
        Button button17 = (Button) c(R.id.mOpenBrowserBtn);
        av.l0.o(button17, "mOpenBrowserBtn");
        ExtensionKt.M(button17, new i(topActivity, this));
        Button button18 = (Button) c(R.id.floatingWindowUrlBtn);
        av.l0.o(button18, "floatingWindowUrlBtn");
        ExtensionKt.M(button18, new j(this));
        Button button19 = (Button) c(R.id.mDeepLinkBtn);
        av.l0.o(button19, "mDeepLinkBtn");
        ExtensionKt.M(button19, new l(topActivity, this));
        Button button20 = (Button) c(R.id.changePostUrlBtn);
        av.l0.o(button20, "changePostUrlBtn");
        ExtensionKt.M(button20, new m(this));
        Button button21 = (Button) c(R.id.mEnterJsWeb);
        av.l0.o(button21, "mEnterJsWeb");
        ExtensionKt.M(button21, new n(topActivity));
        Button button22 = (Button) c(R.id.mEnterJsWebHorizontal);
        av.l0.o(button22, "mEnterJsWebHorizontal");
        ExtensionKt.M(button22, new o(topActivity));
        Button button23 = (Button) c(R.id.mGetClipTextBtn);
        av.l0.o(button23, "mGetClipTextBtn");
        ExtensionKt.M(button23, new p(topActivity));
        int i13 = R.id.mWolfLogOpenSwitch;
        ((Switch) c(i13)).setChecked(getDefaultSp().getBoolean("is_wolf_log_open_key", false));
        ((Switch) c(i13)).setOnCheckedChangeListener(new fb.n(this));
        String string = getCommonSp().getString("flutter_proxy_ip_key", "");
        int i14 = R.id.mFlutterProxyEt;
        ((EditText) c(i14)).setText(string);
        ((EditText) c(i14)).setOnEditorActionListener(new fb.e(this));
        String string2 = getCommonSp().getString("community_env_value", "");
        int i15 = R.id.mEnvHeaderEt;
        ((EditText) c(i15)).setText(string2);
        ((EditText) c(i15)).setOnEditorActionListener(new fb.f(this));
        int i16 = R.id.fakeIpEt;
        ((EditText) c(i16)).setText(getCommonSp().getString("FAKE_IP_KEY", ""));
        ((EditText) c(i16)).setOnEditorActionListener(new fb.g(this));
        int i17 = R.id.mLogOpen;
        ((Switch) c(i17)).setChecked(getCommonSp().getBoolean("is_log_open_key", false));
        ((Switch) c(i17)).setOnCheckedChangeListener(new fb.m(this));
        int i18 = R.id.mPushOpen;
        ((Switch) c(i18)).setChecked(getCommonSp().getBoolean("is_push_open_key", false));
        ((Switch) c(i18)).setOnCheckedChangeListener(new fb.k(this));
        int i19 = R.id.postEditDebugSwitch;
        ((Switch) c(i19)).setChecked(cb.a.f14567a.w());
        ((Switch) c(i19)).setOnCheckedChangeListener(fb.q.f58853a);
        int i20 = R.id.nightModeSwitch;
        ((Switch) c(i20)).setChecked(SimpleNightModeHelper.INSTANCE.isEnable());
        ((Switch) c(i20)).setOnCheckedChangeListener(fb.d.f58840a);
        int i21 = R.id.uetoolSwitch;
        ((Switch) c(i21)).setChecked(f31956o);
        ((Switch) c(i21)).setOnCheckedChangeListener(fb.o.f58851a);
        ((Switch) c(R.id.villaKickSwitch)).setOnCheckedChangeListener(fb.p.f58852a);
        boolean z10 = getCommonSp().getBoolean("villa_mark_read_enter_room_key", false);
        int i22 = R.id.chatRoomReadSwitch;
        ((Switch) c(i22)).setChecked(z10);
        ((Switch) c(i22)).setOnCheckedChangeListener(new fb.l(this));
        Button button24 = (Button) c(R.id.mRpVerify);
        av.l0.o(button24, "mRpVerify");
        ExtensionKt.M(button24, new r(context));
        Button button25 = (Button) c(R.id.mSTokenError);
        av.l0.o(button25, "mSTokenError");
        ExtensionKt.M(button25, s.f32015a);
        Button button26 = (Button) c(R.id.mEnterOrderGame);
        av.l0.o(button26, "mEnterOrderGame");
        ExtensionKt.M(button26, new t(topActivity));
        Button button27 = (Button) c(R.id.mTestDownload2);
        av.l0.o(button27, "mTestDownload2");
        ExtensionKt.M(button27, new u(topActivity));
        Button button28 = (Button) c(R.id.mUpdateDialog1);
        av.l0.o(button28, "mUpdateDialog1");
        ExtensionKt.M(button28, w.f32024a);
        Button button29 = (Button) c(R.id.mUpdateDialog2);
        av.l0.o(button29, "mUpdateDialog2");
        ExtensionKt.M(button29, x.f32026a);
        Button button30 = (Button) c(R.id.mUpdateDialog3);
        av.l0.o(button30, "mUpdateDialog3");
        ExtensionKt.M(button30, y.f32027a);
        Button button31 = (Button) c(R.id.mFlutterBridge);
        av.l0.o(button31, "mFlutterBridge");
        ExtensionKt.M(button31, z.f32028a);
        Button button32 = (Button) c(R.id.mForbidDiaBtn);
        av.l0.o(button32, "mForbidDiaBtn");
        ExtensionKt.M(button32, a0.f31962a);
        Button button33 = (Button) c(R.id.mNotifyBtn);
        av.l0.o(button33, "mNotifyBtn");
        ExtensionKt.M(button33, new b0(this, context));
        Button button34 = (Button) c(R.id.mMoreOpDialogBtn);
        av.l0.o(button34, "mMoreOpDialogBtn");
        ExtensionKt.M(button34, c0.f31968a);
        Button button35 = (Button) c(R.id.historyBtn);
        av.l0.o(button35, "historyBtn");
        ExtensionKt.M(button35, d0.f31973a);
        Button button36 = (Button) c(R.id.refreshAbTestBtn);
        av.l0.o(button36, "refreshAbTestBtn");
        ExtensionKt.M(button36, e0.f31976a);
        Button button37 = (Button) c(R.id.showAbTestBtn);
        av.l0.o(button37, "showAbTestBtn");
        ExtensionKt.M(button37, f0.f31979a);
        ((Button) c(R.id.boomBtn)).setOnClickListener(new fb.j(this));
        ((Button) c(R.id.blockBtn)).setOnClickListener(new fb.i(this));
        Button button38 = (Button) c(R.id.postLimitBtn);
        av.l0.o(button38, "postLimitBtn");
        ExtensionKt.M(button38, new h0(context));
        Button button39 = (Button) c(R.id.postLimitSimpleBtn);
        av.l0.o(button39, "postLimitSimpleBtn");
        ExtensionKt.M(button39, i0.f31989a);
        Button button40 = (Button) c(R.id.mShareDebugLog);
        av.l0.o(button40, "mShareDebugLog");
        ExtensionKt.M(button40, new j0(context));
        Button button41 = (Button) c(R.id.mCleanHomePopupId);
        av.l0.o(button41, "mCleanHomePopupId");
        ExtensionKt.M(button41, k0.f31994a);
        k1.a aVar = new k1.a();
        aVar.f8369a = getCommonSp().getBoolean("is_jump_account_gee", true);
        int i23 = R.id.mJumpAccountGee;
        ((Button) c(i23)).setText("Dev包账户接口跳过极验:" + aVar.f8369a);
        Button button42 = (Button) c(i23);
        av.l0.o(button42, "mJumpAccountGee");
        ExtensionKt.M(button42, new l0(aVar, this));
        Button button43 = (Button) c(R.id.vconsoleBtn);
        av.l0.o(button43, "vconsoleBtn");
        ExtensionKt.M(button43, new m0(this));
        Button button44 = (Button) c(R.id.clearVillaDBBtn);
        av.l0.o(button44, "clearVillaDBBtn");
        ExtensionKt.M(button44, n0.f32002a);
        k1.a aVar2 = new k1.a();
        aVar2.f8369a = getCommonSp().getBoolean("villa_im_sdk_log_handler_mode_key", true);
        int i24 = R.id.villaRongBtn;
        Button button45 = (Button) c(i24);
        StringBuilder sb2 = new StringBuilder();
        sb2.append("融云日志模式: ");
        sb2.append(aVar2.f8369a ? "Log" : "WolfToast");
        button45.setText(sb2.toString());
        Button button46 = (Button) c(i24);
        av.l0.o(button46, "villaRongBtn");
        ExtensionKt.M(button46, new o0(aVar2, this));
    }

    public static final void A(MiHoYoDebugPage miHoYoDebugPage, CompoundButton compoundButton, boolean z10) {
        RuntimeDirector runtimeDirector = m__m;
        if (runtimeDirector == null || !runtimeDirector.isRedirect(18)) {
            av.l0.p(miHoYoDebugPage, "this$0");
            j9.g0.v(miHoYoDebugPage.getCommonSp(), "villa_mark_read_enter_room_key", z10);
            return;
        }
        runtimeDirector.invocationDispatch(18, null, miHoYoDebugPage, compoundButton, Boolean.valueOf(z10));
    }

    public static final void B(MiHoYoDebugPage miHoYoDebugPage, View view) {
        RuntimeDirector runtimeDirector = m__m;
        if (runtimeDirector == null || !runtimeDirector.isRedirect(19)) {
            av.l0.p(miHoYoDebugPage, "this$0");
            WolfBasePage.h(miHoYoDebugPage, "砰砰炸弹!", 0, 2, null);
            throw new Exception("可莉炸了您的APP");
        }
        runtimeDirector.invocationDispatch(19, null, miHoYoDebugPage, view);
    }

    public static final void C(MiHoYoDebugPage miHoYoDebugPage, View view) {
        RuntimeDirector runtimeDirector = m__m;
        if (runtimeDirector == null || !runtimeDirector.isRedirect(20)) {
            av.l0.p(miHoYoDebugPage, "this$0");
            WolfBasePage.h(miHoYoDebugPage, "时间暂停3s!", 0, 2, null);
            Thread.sleep(3000);
            return;
        }
        runtimeDirector.invocationDispatch(20, null, miHoYoDebugPage, view);
    }

    public static final boolean D(MiHoYoDebugPage miHoYoDebugPage, TextView textView, int i10, KeyEvent keyEvent) {
        RuntimeDirector runtimeDirector = m__m;
        if (runtimeDirector == null || !runtimeDirector.isRedirect(10)) {
            av.l0.p(miHoYoDebugPage, "this$0");
            if (i10 != 6) {
                return false;
            }
            String obj = ((EditText) miHoYoDebugPage.c(R.id.mEnvHeaderEt)).getText().toString();
            if (!xx.b0.U1(obj)) {
                j9.g0.t(miHoYoDebugPage.getCommonSp(), "community_env_value", obj);
                WolfBasePage.h(miHoYoDebugPage, "community_env_value: " + obj + ",重启后生效", 0, 2, null);
            } else {
                j9.g0.t(miHoYoDebugPage.getCommonSp(), "community_env_value", "");
                WolfBasePage.h(miHoYoDebugPage, "community_env_value clear done,重启后生效", 0, 2, null);
            }
            return true;
        }
        return ((Boolean) runtimeDirector.invocationDispatch(10, null, miHoYoDebugPage, textView, Integer.valueOf(i10), keyEvent)).booleanValue();
    }

    public static final boolean E(MiHoYoDebugPage miHoYoDebugPage, TextView textView, int i10, KeyEvent keyEvent) {
        RuntimeDirector runtimeDirector = m__m;
        if (runtimeDirector == null || !runtimeDirector.isRedirect(11)) {
            av.l0.p(miHoYoDebugPage, "this$0");
            if (i10 != 6) {
                return false;
            }
            j9.g0.t(miHoYoDebugPage.getCommonSp(), "FAKE_IP_KEY", ((EditText) miHoYoDebugPage.c(R.id.fakeIpEt)).getText().toString());
            WolfBasePage.h(miHoYoDebugPage, "假ip设置成功", 0, 2, null);
            return true;
        }
        return ((Boolean) runtimeDirector.invocationDispatch(11, null, miHoYoDebugPage, textView, Integer.valueOf(i10), keyEvent)).booleanValue();
    }

    public static final void F(MiHoYoDebugPage miHoYoDebugPage, CompoundButton compoundButton, boolean z10) {
        RuntimeDirector runtimeDirector = m__m;
        if (runtimeDirector == null || !runtimeDirector.isRedirect(12)) {
            av.l0.p(miHoYoDebugPage, "this$0");
            j9.g0.v(miHoYoDebugPage.getCommonSp(), "is_log_open_key", z10);
            return;
        }
        runtimeDirector.invocationDispatch(12, null, miHoYoDebugPage, compoundButton, Boolean.valueOf(z10));
    }

    public static final void G(MiHoYoDebugPage miHoYoDebugPage, CompoundButton compoundButton, boolean z10) {
        RuntimeDirector runtimeDirector = m__m;
        if (runtimeDirector == null || !runtimeDirector.isRedirect(13)) {
            av.l0.p(miHoYoDebugPage, "this$0");
            j9.g0.v(miHoYoDebugPage.getCommonSp(), "is_push_open_key", z10);
            return;
        }
        runtimeDirector.invocationDispatch(13, null, miHoYoDebugPage, compoundButton, Boolean.valueOf(z10));
    }

    public static final void H(CompoundButton compoundButton, boolean z10) {
        RuntimeDirector runtimeDirector = m__m;
        if (runtimeDirector == null || !runtimeDirector.isRedirect(14)) {
            cb.a.f14567a.G(z10);
            return;
        }
        runtimeDirector.invocationDispatch(14, null, compoundButton, Boolean.valueOf(z10));
    }

    public static final void I(CompoundButton compoundButton, boolean z10) {
        RuntimeDirector runtimeDirector = m__m;
        if (runtimeDirector == null || !runtimeDirector.isRedirect(15)) {
            SimpleNightModeHelper.INSTANCE.setEnable(z10);
            return;
        }
        runtimeDirector.invocationDispatch(15, null, compoundButton, Boolean.valueOf(z10));
    }

    public static final void J(CompoundButton compoundButton, boolean z10) {
        RuntimeDirector runtimeDirector = m__m;
        if (runtimeDirector == null || !runtimeDirector.isRedirect(16)) {
            try {
                Class<?> cls = Class.forName("me.ele.uetool.UETool");
                if (z10) {
                    cls.getMethod("showUETMenu", Integer.TYPE).invoke(null, 300);
                    f31956o = true;
                    return;
                }
                cls.getMethod("dismissUETMenu", new Class[0]).invoke(null, new Object[0]);
                f31956o = false;
            } catch (Exception e10) {
                e10.printStackTrace();
            }
        } else {
            runtimeDirector.invocationDispatch(16, null, compoundButton, Boolean.valueOf(z10));
        }
    }

    public static final void K(CompoundButton compoundButton, boolean z10) {
        RuntimeDirector runtimeDirector = m__m;
        if (runtimeDirector == null || !runtimeDirector.isRedirect(17)) {
            VillaKickedOutDialogActivity.f38153b.h(z10);
            return;
        }
        runtimeDirector.invocationDispatch(17, null, compoundButton, Boolean.valueOf(z10));
    }

    public static final void R(CharSequence[] charSequenceArr, MiHoYoDebugPage miHoYoDebugPage, DialogInterface dialogInterface, int i10) {
        RuntimeDirector runtimeDirector = m__m;
        if (runtimeDirector == null || !runtimeDirector.isRedirect(22)) {
            av.l0.p(charSequenceArr, "$singleList");
            av.l0.p(miHoYoDebugPage, "this$0");
            j9.g0.x(SPUtils.INSTANCE.getInstance(SPUtils.a.SP_TABLE_HOME), "api_env_key2", charSequenceArr[i10].toString());
            dialogInterface.dismiss();
            vo.a.f143918a.clear();
            AccountManager.INSTANCE.logOut();
            new Handler().postDelayed(new fb.h(miHoYoDebugPage), 500);
            return;
        }
        runtimeDirector.invocationDispatch(22, null, charSequenceArr, miHoYoDebugPage, dialogInterface, Integer.valueOf(i10));
    }

    public static final void S(MiHoYoDebugPage miHoYoDebugPage) {
        RuntimeDirector runtimeDirector = m__m;
        if (runtimeDirector == null || !runtimeDirector.isRedirect(21)) {
            av.l0.p(miHoYoDebugPage, "this$0");
            miHoYoDebugPage.O();
            return;
        }
        runtimeDirector.invocationDispatch(21, null, miHoYoDebugPage);
    }

    /* access modifiers changed from: private */
    /* access modifiers changed from: public */
    private final SharedPreferences getCommonSp() {
        RuntimeDirector runtimeDirector = m__m;
        return (runtimeDirector == null || !runtimeDirector.isRedirect(1)) ? (SharedPreferences) this.f31957k.getValue() : (SharedPreferences) runtimeDirector.invocationDispatch(1, this, ga.a.f66507a);
    }

    private final SharedPreferences getDefaultSp() {
        RuntimeDirector runtimeDirector = m__m;
        return (runtimeDirector == null || !runtimeDirector.isRedirect(2)) ? (SharedPreferences) this.f31958l.getValue() : (SharedPreferences) runtimeDirector.invocationDispatch(2, this, ga.a.f66507a);
    }

    public static final void y(MiHoYoDebugPage miHoYoDebugPage, CompoundButton compoundButton, boolean z10) {
        RuntimeDirector runtimeDirector = m__m;
        if (runtimeDirector == null || !runtimeDirector.isRedirect(8)) {
            av.l0.p(miHoYoDebugPage, "this$0");
            j9.g0.v(miHoYoDebugPage.getDefaultSp(), "is_wolf_log_open_key", z10);
            return;
        }
        runtimeDirector.invocationDispatch(8, null, miHoYoDebugPage, compoundButton, Boolean.valueOf(z10));
    }

    public static final boolean z(MiHoYoDebugPage miHoYoDebugPage, TextView textView, int i10, KeyEvent keyEvent) {
        RuntimeDirector runtimeDirector = m__m;
        if (runtimeDirector == null || !runtimeDirector.isRedirect(9)) {
            av.l0.p(miHoYoDebugPage, "this$0");
            if (i10 != 6) {
                return false;
            }
            int i11 = R.id.mFlutterProxyEt;
            if (!xx.b0.U1(((EditText) miHoYoDebugPage.c(i11)).getText().toString())) {
                j9.g0.t(miHoYoDebugPage.getCommonSp(), "flutter_proxy_ip_key", ((EditText) miHoYoDebugPage.c(i11)).getText().toString());
                AppUtils appUtils = AppUtils.INSTANCE;
                appUtils.showToast("flutter proxy: " + ((Object) ((EditText) miHoYoDebugPage.c(i11)).getText()));
            } else {
                j9.g0.t(miHoYoDebugPage.getCommonSp(), "flutter_proxy_ip_key", "");
                AppUtils.INSTANCE.showToast("flutter proxy clear done");
            }
            return true;
        }
        return ((Boolean) runtimeDirector.invocationDispatch(9, null, miHoYoDebugPage, textView, Integer.valueOf(i10), keyEvent)).booleanValue();
    }

    public final void O() {
        RuntimeDirector runtimeDirector = m__m;
        if (runtimeDirector == null || !runtimeDirector.isRedirect(4)) {
            Object systemService = HyperionApplicationHelperKt.getHYPERION_APPLICATION().getSystemService(androidx.appcompat.widget.c.f3757r);
            av.l0.n(systemService, "null cannot be cast to non-null type android.app.ActivityManager");
            List<ActivityManager.AppTask> appTasks = ((ActivityManager) systemService).getAppTasks();
            av.l0.o(appTasks, "activityManager.appTasks");
            for (ActivityManager.AppTask appTask : appTasks) {
                appTask.finishAndRemoveTask();
            }
            System.exit(0);
            throw new RuntimeException("System.exit returned normally, while it was supposed to halt JVM.");
        }
        runtimeDirector.invocationDispatch(4, this, ga.a.f66507a);
    }

    public final String P(Context context) {
        RuntimeDirector runtimeDirector = m__m;
        if (runtimeDirector == null || !runtimeDirector.isRedirect(5)) {
            boolean z10 = getCommonSp().getBoolean("is_jpush_connected", false);
            StringBuilder sb2 = new StringBuilder();
            sb2.append("极光id:");
            sb2.append(JPushInterface.getRegistrationID(context));
            sb2.append(" \ndeviceid:");
            j9.k kVar = j9.k.f74141a;
            sb2.append(kVar.h());
            sb2.append(" \ndevicefp:");
            sb2.append(kVar.g());
            sb2.append(" \nuid:");
            AccountManager accountManager = AccountManager.INSTANCE;
            sb2.append(accountManager.getUserId());
            sb2.append(" \nmid:");
            sb2.append(accountManager.getMid());
            sb2.append(" \n当前渠道:");
            j9.h hVar = j9.h.f74133a;
            sb2.append(hVar.d());
            sb2.append(" \n极光长连接是否已连接:");
            sb2.append(z10);
            sb2.append(" \n策略id:");
            sb2.append(hVar.e());
            sb2.append(" \ncrashSdk:");
            AstrolabeInitTask.Companion companion = AstrolabeInitTask.Companion;
            sb2.append(companion.getIS_CRASH_REPORT_ENABLED());
            sb2.append(" \nAPM:");
            sb2.append(companion.getIS_APM_ENABLED());
            return sb2.toString();
        }
        return (String) runtimeDirector.invocationDispatch(5, this, context);
    }

    public final void Q() {
        RuntimeDirector runtimeDirector = m__m;
        if (runtimeDirector == null || !runtimeDirector.isRedirect(3)) {
            bg.b[] values = bg.b.values();
            ArrayList arrayList = new ArrayList(values.length);
            for (bg.b bVar : values) {
                arrayList.add(bVar.name());
            }
            Object[] array = arrayList.toArray(new CharSequence[0]);
            av.l0.n(array, "null cannot be cast to non-null type kotlin.Array<T of kotlin.collections.ArraysKt__ArraysJVMKt.toTypedArray>");
            CharSequence[] charSequenceArr = (CharSequence[]) array;
            Activity f10 = kq.c.f82703a.f();
            av.l0.m(f10);
            d.a aVar = new d.a(f10, 2131952265);
            aVar.setTitle("选择api环境");
            aVar.setIcon(R.mipmap.ic_launcher);
            b.a aVar2 = bg.b.Companion;
            SharedPreferences instance = SPUtils.INSTANCE.getInstance(SPUtils.a.SP_TABLE_HOME);
            bg.e eVar = bg.e.f9168a;
            String string = instance.getString("api_env_key2", eVar.c().name());
            if (string == null) {
                string = eVar.c().name();
            }
            av.l0.o(string, "SPUtils.getInstance(SPUt…tils.CURRENT_APP_ENV.name");
            aVar.setSingleChoiceItems(charSequenceArr, aVar2.a(string).ordinal(), new fb.c(charSequenceArr, this));
            androidx.appcompat.app.d create = aVar.create();
            av.l0.o(create, "builder.create()");
            Window window = create.getWindow();
            if (window != null) {
                window.setType(Build.VERSION.SDK_INT < 26 ? SecExceptionCode.SEC_ERROR_PAGE_TRACK_ERROR_NO_MEMORY : 2038);
            }
            create.show();
            return;
        }
        runtimeDirector.invocationDispatch(3, this, ga.a.f66507a);
    }

    @Override // com.mihoyo.sora.wolf.ui.page.WolfBasePage
    public void b() {
        RuntimeDirector runtimeDirector = m__m;
        if (runtimeDirector == null || !runtimeDirector.isRedirect(6)) {
            this.f31959m.clear();
        } else {
            runtimeDirector.invocationDispatch(6, this, ga.a.f66507a);
        }
    }

    @Override // com.mihoyo.sora.wolf.ui.page.WolfBasePage
    @uz.e
    public View c(int i10) {
        RuntimeDirector runtimeDirector = m__m;
        if (runtimeDirector == null || !runtimeDirector.isRedirect(7)) {
            Map<Integer, View> map = this.f31959m;
            View view = map.get(Integer.valueOf(i10));
            if (view != null) {
                return view;
            }
            View findViewById = findViewById(i10);
            if (findViewById == null) {
                return null;
            }
            map.put(Integer.valueOf(i10), findViewById);
            return findViewById;
        }
        return (View) runtimeDirector.invocationDispatch(7, this, Integer.valueOf(i10));
    }

    @Override // com.mihoyo.sora.wolf.ui.page.WolfBasePage
    public int getLayoutResId() {
        RuntimeDirector runtimeDirector = m__m;
        return (runtimeDirector == null || !runtimeDirector.isRedirect(0)) ? R.layout.activity_debug_panel : ((Integer) runtimeDirector.invocationDispatch(0, this, ga.a.f66507a)).intValue();
    }
}