WeChat.apk(点击下载) / p.java


package yr2;

import android.content.Intent;
import android.view.MenuItem;
import com.tencent.mm.plugin.appbrand.jsapi.h2;
import com.tencent.mm.plugin.appbrand.jsapi.j2;
import com.tencent.mm.plugin.appbrand.jsapi.media.JsApiChooseImage;
import com.tencent.mm.plugin.profile.ui.newbizinfo.auth.NewBizInfoAuthMainUI;
import gk4.h;
import i14.p0;
import kp3.c;
import sv3.b;
import wg4.n;

public final class p implements p0 {

    /* renamed from: d  reason: collision with root package name */
    public final /* synthetic */ n f348346d;

    public p(n nVar) {
        this.f348346d = nVar;
    }

    @Override // i14.p0
    public final void onMMMenuItemSelected(MenuItem menuItem, int i15) {
        int itemId = menuItem.getItemId();
        if (itemId == 0) {
            n nVar = this.f348346d;
            nVar.getClass();
            Intent intent = new Intent();
            intent.putExtra("rawUrl", "https://stream.weixin.qq.com/jsapidemo/static/index.html#/index");
            b.j(nVar.getContext(), "webview", ".ui.tools.WebViewUI", intent, null);
        } else if (itemId == 1) {
            c.f247826a = true;
        } else if (itemId == 2) {
            c.f247826a = false;
        } else if (itemId == 3) {
            n nVar2 = this.f348346d;
            h.d(((NewBizInfoAuthMainUI) ((n) nVar2.f348342d).getValue()).getUICScope(), null, null, new q(new String[]{JsApiChooseImage.NAME, j2.NAME, h2.NAME, "chooseCard", "editAddress"}, "wxf8b4f85f3a794e77", nVar2, null), 3, null);
        }
    }
}