package com.tencent.mm.plugin.finder.member.ui; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.view.MenuItem; import androidx.appcompat.app.AppCompatActivity; import com.tencent.mm.R; import com.tencent.mm.plugin.finder.ui.MMFinderUI; import com.tencent.mm.plugin.finder.utils.b3; import com.tencent.mm.sdk.event.IListener; import com.tencent.mm.sdk.platformtools.MMApplicationContext; import com.tencent.mm.ui.component.UIComponent; import d32.ta; import i14.d0; import i14.l0; import i14.p0; import java.util.Arrays; import java.util.Set; import kotlin.Metadata; import ku1.k; import lh4.m; import lh4.o; import p64.n; import sk1.d; import sk1.q; import u64.c; import wg4.g; import wg4.h; import wg4.l; import xg4.r0; import xg4.y0; import xg4.z0; import y24.r; import yz3.j; @i14.a(32) @c(0) @Metadata(bv = {}, d1 = {"\u0000\u0010\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0007\u0018\u00002\u00020\u00012\u00020\u0002B\u0007¢\u0006\u0004\b\u0003\u0010\u0004¨\u0006\u0005"}, d2 = {"Lcom/tencent/mm/plugin/finder/member/ui/FinderMemberPreviewUI;", "Lcom/tencent/mm/plugin/finder/ui/MMFinderUI;", "Lnn1/b;", "<init>", "()V", "plugin-finder_release"}, k = 1, mv = {1, 7, 1}) public final class FinderMemberPreviewUI extends MMFinderUI implements nn1.b { /* renamed from: r reason: collision with root package name */ public static final /* synthetic */ int f114723r = 0; /* renamed from: p reason: collision with root package name */ public String f114724p = ""; /* renamed from: q reason: collision with root package name */ public final g f114725q = h.a(new b(this)); public static final class a implements MenuItem.OnMenuItemClickListener { /* renamed from: d reason: collision with root package name */ public final /* synthetic */ FinderMemberPreviewUI f114726d; /* renamed from: com.tencent.mm.plugin.finder.member.ui.FinderMemberPreviewUI$a$a reason: collision with other inner class name */ public static final class C1174a implements l0 { /* renamed from: d reason: collision with root package name */ public static final C1174a f114727d = new C1174a(); @Override // i14.l0 public final void onCreateMMMenu(d0 d0Var) { if (d0Var.v()) { d0Var.a(10002, R.string.ezy); d0Var.a(10004, R.string.eyw); } } } public static final class b implements p0 { /* renamed from: d reason: collision with root package name */ public final /* synthetic */ FinderMemberPreviewUI f114728d; public b(FinderMemberPreviewUI finderMemberPreviewUI) { this.f114728d = finderMemberPreviewUI; } @Override // i14.p0 public final void onMMMenuItemSelected(MenuItem menuItem, int i15) { int itemId = menuItem.getItemId(); if (itemId == 10002) { FinderMemberPreviewUI finderMemberPreviewUI = this.f114728d; int i16 = FinderMemberPreviewUI.f114723r; finderMemberPreviewUI.getClass(); q b15 = d.f302423a.b(finderMemberPreviewUI.f114724p); if (b15 != null) { b3.f118772a.n(this.f114728d, b15); } } else if (itemId == 10004) { FinderMemberPreviewUI finderMemberPreviewUI2 = this.f114728d; String str = finderMemberPreviewUI2.f114724p; m.g(finderMemberPreviewUI2, "context"); m.g(str, "username"); String format = String.format("https://weixin110.qq.com/security/readtemplate?t=weixin_report/w_type&scene=%d&user_ID=%s", Arrays.copyOf(new Object[]{87, str}, 2)); m.f(format, "format(format, *args)"); Intent intent = new Intent(); intent.putExtra("rawUrl", format); sv3.b.j(finderMemberPreviewUI2, "webview", ".ui.tools.WebViewUI", intent, null); } } } public a(FinderMemberPreviewUI finderMemberPreviewUI) { this.f114726d = finderMemberPreviewUI; } public final boolean onMenuItemClick(MenuItem menuItem) { n nVar = new n((Context) this.f114726d.getContext(), 1, false); nVar.f281245i = C1174a.f114727d; nVar.f281259q = new b(this.f114726d); nVar.q(); return true; } } public static final class b extends o implements kh4.a<FinderMemberPreviewUI$payMemberListener$2$1> { /* renamed from: d reason: collision with root package name */ public final /* synthetic */ FinderMemberPreviewUI f114729d; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public b(FinderMemberPreviewUI finderMemberPreviewUI) { super(0); this.f114729d = finderMemberPreviewUI; } /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kh4.a public FinderMemberPreviewUI$payMemberListener$2$1 invoke() { return new FinderMemberPreviewUI$payMemberListener$2$1(this.f114729d, com.tencent.mm.app.h.f61283d); } } @Override // com.tencent.mm.plugin.finder.ui.MMFinderUI public int U7() { return 206; } @Override // com.tencent.mm.ui.component.glocom.GloUIComponentActivity, com.tencent.mm.ui.component.UIComponentActivity public Set<Class<? extends UIComponent>> importUIComponents() { Set<Class<? extends UIComponent>> importUIComponents = super.importUIComponents(); if (importUIComponents == null) { return null; } return z0.g(importUIComponents, y0.d(eu1.a.class, ku1.a.class, ku1.b.class, k.class, gu1.m.class, ku1.n.class)); } @Override // com.tencent.mm.ui.MMFragmentActivity public boolean isHideStatusBar() { return true; } @Override // androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, com.tencent.mm.plugin.finder.ui.MMFinderUI, com.tencent.mm.ui.component.UIComponentActivity, com.tencent.mm.ui.MMActivity, com.tencent.mm.hellhoundlib.activities.HellActivity, com.tencent.mm.ui.vas.VASActivity, com.tencent.mm.ui.MMFragmentActivity public void onCreate(Bundle bundle) { String str; String str2; super.onCreate(bundle); setActionbarColor(MMApplicationContext.getColor(R.color.a9e)); String stringExtra = getIntent().getStringExtra("key_author_finder_name"); if (stringExtra == null) { stringExtra = ""; } this.f114724p = stringExtra; setMMTitle(""); removeAllOptionMenu(); int i15 = 0; addIconOptionMenu(0, R.raw.icons_outlined_more, new a(this)); ((IListener) ((wg4.n) this.f114725q).getValue()).alive(); ta f15 = ta.W0.f(this); ((z81.g) j.c(z81.g.class)).y10(this, c91.b.f48308t2); ((z81.g) j.c(z81.g.class)).fs(this, 12, 27010); z81.g gVar = (z81.g) j.c(z81.g.class); l[] lVarArr = new l[6]; lVarArr[0] = new l("finder_username", this.f114724p); lVarArr[1] = new l("comment_scene", 206); String str3 = null; if (f15 != null) { str = f15.f197191p; } else { str = null; } lVarArr[2] = new l("finder_tab_context_id", str); r rVar = r.f342954a; AppCompatActivity context = getContext(); m.f(context, "context"); eu1.a aVar = (eu1.a) rVar.c(context).e(eu1.a.class); if (aVar != null) { i15 = aVar.f210086d; } lVarArr[3] = new l("member_inlet_source", Integer.valueOf(i15)); if (f15 != null) { str2 = f15.f197189n; } else { str2 = null; } lVarArr[4] = new l("finder_context_id", str2); if (f15 != null) { str3 = f15.f197190o; } lVarArr[5] = new l("behaviour_session_id", str3); gVar.Yi0(this, r0.f(lVarArr)); } @Override // androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, com.tencent.mm.plugin.finder.ui.MMFinderUI, com.tencent.mm.ui.component.UIComponentActivity, com.tencent.mm.ui.MMActivity, com.tencent.mm.hellhoundlib.activities.HellActivity, com.tencent.mm.ui.vas.VASActivity, com.tencent.mm.ui.MMFragmentActivity public void onDestroy() { super.onDestroy(); ((IListener) ((wg4.n) this.f114725q).getValue()).dead(); } }