package d32; import android.app.Activity; import android.content.Intent; import android.graphics.Bitmap; import android.os.Bundle; import android.view.View; import android.view.ViewGroup; import android.view.ViewStub; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.ProgressBar; import android.widget.RelativeLayout; import android.widget.TextView; import androidx.appcompat.app.AppCompatActivity; import bw3.aq1; import bw3.bv1; import bw3.fh; import bw3.fp1; import bw3.gp1; import bw3.l24; import bw3.qu1; import bw3.sl0; import bw3.t34; import bw3.tl0; import bw3.x95; import bw3.xz1; import com.google.android.gms.common.Scopes; import com.tencent.mm.R; import com.tencent.mm.plugin.FinderCommonFeatureService; import com.tencent.mm.plugin.appbrand.report.AppBrandStatObject; import com.tencent.mm.plugin.appbrand.service.d1; import com.tencent.mm.plugin.finder.extension.reddot.e1; import com.tencent.mm.plugin.finder.extension.reddot.f; import com.tencent.mm.plugin.finder.extension.reddot.x0; import com.tencent.mm.plugin.finder.extension.reddot.z0; import com.tencent.mm.plugin.finder.ui.FinderExposeUI; import com.tencent.mm.plugin.finder.utils.a5; import com.tencent.mm.plugin.finder.utils.g2; import com.tencent.mm.plugin.finder.utils.h2; import com.tencent.mm.plugin.finder.utils.h4; import com.tencent.mm.plugin.finder.utils.s0; import com.tencent.mm.protocal.protobuf.FinderAuthInfo; import com.tencent.mm.protocal.protobuf.FinderContact; import com.tencent.mm.sdk.platformtools.LocaleUtil; import com.tencent.mm.sdk.platformtools.Log; import com.tencent.mm.sdk.platformtools.Util; import com.tencent.mm.storage.t1; import com.tencent.mm.storage.w1; import com.tencent.mm.ui.MMActivity; import com.tencent.mm.ui.component.UIComponent; import com.tencent.mm.ui.x4; import com.tencent.tinker.loader.hotplug.EnvConsts; import com.tencent.wcdb.FileUtils; import com.tencent.xweb.updater.XWebUpdater; import cs1.f0; import d32.ta; import dj1.a; import ek0.x2; import ez1.c1; import ez1.f1; import ez1.o2; import ez1.p0; import gk4.n0; import i14.y0; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.LinkedList; import kotlin.Result; import kotlin.ResultKt; import m60.g; import nx1.m1; import org.json.JSONObject; import sk1.d; import t32.e2; import t32.e5; import t32.e6; import t32.h4; import t32.q3; import t32.q5; import t32.r3; import t32.u1; import t32.v1; import tt1.h0; import tt1.j0; import tt1.q0; import tt1.v0; import xg4.r0; import y74.k; import zz1.j3; public final class db extends UIComponent implements sk1.l, e5 { /* renamed from: p0 reason: collision with root package name */ public static String f196071p0 = ""; /* renamed from: x0 reason: collision with root package name */ public static int f196072x0; public final wg4.g A = wg4.h.a(new j(this)); public boolean B; public boolean C; public long D; public boolean E; public boolean F; public String G = ""; public String H = ""; public String I = ""; public String J = ""; public String K = ""; public String L = ""; public String M = ""; public String N = ""; public String P = ""; public boolean Q; public boolean R; public boolean S; public boolean T; public final boolean U; public final wg4.g V; public boolean W; public String X; public final androidx.lifecycle.a0<x0.a> Y; public final androidx.lifecycle.a0<x0.a> Z; /* renamed from: d reason: collision with root package name */ public String f196073d = ""; /* renamed from: e reason: collision with root package name */ public fp1 f196074e; /* renamed from: f reason: collision with root package name */ public ProgressBar f196075f; /* renamed from: g reason: collision with root package name */ public View f196076g; /* renamed from: h reason: collision with root package name */ public TextView f196077h; /* renamed from: i reason: collision with root package name */ public TextView f196078i; /* renamed from: j reason: collision with root package name */ public TextView f196079j; /* renamed from: n reason: collision with root package name */ public View f196080n; /* renamed from: o reason: collision with root package name */ public HashMap<Integer, l24> f196081o = new HashMap<>(); /* renamed from: p reason: collision with root package name */ public View f196082p; /* renamed from: q reason: collision with root package name */ public ImageView f196083q; /* renamed from: r reason: collision with root package name */ public TextView f196084r; /* renamed from: s reason: collision with root package name */ public TextView f196085s; /* renamed from: t reason: collision with root package name */ public View f196086t; /* renamed from: u reason: collision with root package name */ public View f196087u; /* renamed from: v reason: collision with root package name */ public View f196088v; /* renamed from: w reason: collision with root package name */ public final wg4.g f196089w = wg4.h.a(new f0(this)); /* renamed from: x reason: collision with root package name */ public final wg4.g f196090x = wg4.h.a(new g0(this)); /* renamed from: y reason: collision with root package name */ public final wg4.g f196091y = wg4.h.a(new h(this)); /* renamed from: z reason: collision with root package name */ public final wg4.g f196092z = wg4.h.a(new i(this)); public static final class a implements View.OnClickListener { /* renamed from: d reason: collision with root package name */ public final /* synthetic */ db f196093d; public a(db dbVar) { this.f196093d = dbVar; } public final void onClick(View view) { ArrayList arrayList = new ArrayList(); arrayList.add(view); Object[] array = arrayList.toArray(); arrayList.clear(); j30.a.b("com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC$canPostButRevingUi$1", "android/view/View$OnClickListener", "onClick", "(Landroid/view/View;)V", this, array); Intent intent = new Intent(); sk1.q b15 = sk1.d.f302423a.b(r32.b.c(this.f196093d.getContext())); lh4.m.d(b15); if (b15.s2()) { intent.setClass(this.f196093d.getActivity(), FinderExposeUI.class); AppCompatActivity activity = this.f196093d.getActivity(); k30.a aVar = new k30.a(); aVar.c(intent); j30.a.d(activity, aVar.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC$canPostButRevingUi$1", "onClick", "(Landroid/view/View;)V", "Undefined", "startActivity", "(Landroid/content/Intent;)V"); activity.startActivity((Intent) aVar.a(0)); j30.a.e(activity, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC$canPostButRevingUi$1", "onClick", "(Landroid/view/View;)V", "Undefined", "startActivity", "(Landroid/content/Intent;)V"); } else { ta.a.e(ta.W0, this.f196093d.getActivity(), intent, 0, null, 0, 0, false, 0, 252, null); ((com.tencent.mm.plugin.finder.utils.b) yz3.j.c(com.tencent.mm.plugin.finder.utils.b.class)).AO0(this.f196093d.getActivity(), intent); } j30.a.g(this, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC$canPostButRevingUi$1", "android/view/View$OnClickListener", "onClick", "(Landroid/view/View;)V"); } } public static final class a0 implements Runnable { /* renamed from: d reason: collision with root package name */ public final /* synthetic */ db f196094d; public a0(db dbVar) { this.f196094d = dbVar; } public final void run() { this.f196094d.o5(); } } public static final class b implements View.OnClickListener { /* renamed from: d reason: collision with root package name */ public final /* synthetic */ db f196095d; public b(db dbVar) { this.f196095d = dbVar; } public final void onClick(View view) { ArrayList arrayList = new ArrayList(); arrayList.add(view); Object[] array = arrayList.toArray(); arrayList.clear(); j30.a.b("com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC$canPostButRevingUi$2", "android/view/View$OnClickListener", "onClick", "(Landroid/view/View;)V", this, array); Intent intent = new Intent(); sk1.q b15 = sk1.d.f302423a.b(r32.b.c(this.f196095d.getContext())); lh4.m.d(b15); if (b15.s2()) { intent.setClass(this.f196095d.getActivity(), FinderExposeUI.class); AppCompatActivity activity = this.f196095d.getActivity(); k30.a aVar = new k30.a(); aVar.c(intent); j30.a.d(activity, aVar.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC$canPostButRevingUi$2", "onClick", "(Landroid/view/View;)V", "Undefined", "startActivity", "(Landroid/content/Intent;)V"); activity.startActivity((Intent) aVar.a(0)); j30.a.e(activity, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC$canPostButRevingUi$2", "onClick", "(Landroid/view/View;)V", "Undefined", "startActivity", "(Landroid/content/Intent;)V"); } else { ta.a.e(ta.W0, this.f196095d.getActivity(), intent, 0, null, 0, 0, false, 0, 252, null); ((com.tencent.mm.plugin.finder.utils.b) yz3.j.c(com.tencent.mm.plugin.finder.utils.b.class)).tO0(this.f196095d.getActivity(), intent); } j30.a.g(this, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC$canPostButRevingUi$2", "android/view/View$OnClickListener", "onClick", "(Landroid/view/View;)V"); } } public static final class b0 implements Runnable { /* renamed from: d reason: collision with root package name */ public final /* synthetic */ View f196096d; public b0(View view) { this.f196096d = view; } public final void run() { this.f196096d.performClick(); } } public static final class c implements View.OnClickListener { /* renamed from: d reason: collision with root package name */ public final /* synthetic */ db f196097d; public c(db dbVar) { this.f196097d = dbVar; } /* JADX WARNING: Removed duplicated region for block: B:26:0x008b */ /* JADX WARNING: Removed duplicated region for block: B:40:0x00b6 */ public final void onClick(View view) { Integer num; LinkedList<t34> linkedList; T t15; String str; T t16; String str2; ArrayList arrayList = new ArrayList(); arrayList.add(view); Object[] array = arrayList.toArray(); arrayList.clear(); j30.a.b("com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC$canPostButRevingUi$3", "android/view/View$OnClickListener", "onClick", "(Landroid/view/View;)V", this, array); db dbVar = this.f196097d; fp1 fp12 = dbVar.f196074e; if (fp12 != null && h4.o(h4.f119006a, dbVar.getActivity(), null, null, null, 12, null)) { gp1 gp12 = null; LinkedList<t34> linkedList2 = fp12.f21904z; if (linkedList2 != null) { Iterator<T> it = linkedList2.iterator(); while (true) { if (!it.hasNext()) { t16 = null; break; } t16 = it.next(); FinderContact finderContact = t16.f37089e; if (finderContact != null) { str2 = finderContact.username; } else { str2 = null; } if (lh4.m.b(str2, dbVar.f196073d)) { break; } } T t17 = t16; if (t17 != null) { num = Integer.valueOf(t17.A); Log.i("Finder.SelfUIC", "actionType " + num); if (num != null && num.intValue() == 3) { linkedList = fp12.f21904z; if (linkedList != null) { Iterator<T> it4 = linkedList.iterator(); while (true) { if (!it4.hasNext()) { t15 = null; break; } t15 = it4.next(); FinderContact finderContact2 = t15.f37089e; if (finderContact2 != null) { str = finderContact2.username; } else { str = null; } if (lh4.m.b(str, dbVar.f196073d)) { break; } } T t18 = t15; if (t18 != null) { gp12 = t18.f37088d; } } if (gp12 != null) { ((d1) yz3.j.c(d1.class)).yD0(dbVar.getActivity(), gp12.f22912g, "", 0, 0, gp12.f22911f, new AppBrandStatObject()); } } else if (num != null && num.intValue() == 2) { Intent intent = new Intent(); intent.putExtra("finder_username", dbVar.f196073d); intent.putExtra("KEY_FINDER_SELF_FLAG", true); ta.a.e(ta.W0, dbVar.getActivity(), intent, 0, null, 0, 0, false, 0, 252, null); ((com.tencent.mm.plugin.finder.utils.b) yz3.j.c(com.tencent.mm.plugin.finder.utils.b.class)).i2(dbVar.getActivity(), intent); } } } num = null; Log.i("Finder.SelfUIC", "actionType " + num); if (num != null) { linkedList = fp12.f21904z; if (linkedList != null) { } if (gp12 != null) { } } Intent intent2 = new Intent(); intent2.putExtra("finder_username", dbVar.f196073d); intent2.putExtra("KEY_FINDER_SELF_FLAG", true); ta.a.e(ta.W0, dbVar.getActivity(), intent2, 0, null, 0, 0, false, 0, 252, null); ((com.tencent.mm.plugin.finder.utils.b) yz3.j.c(com.tencent.mm.plugin.finder.utils.b.class)).i2(dbVar.getActivity(), intent2); } j30.a.g(this, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC$canPostButRevingUi$3", "android/view/View$OnClickListener", "onClick", "(Landroid/view/View;)V"); } } public static final class c0 extends k.d { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ db f196098a; public c0(db dbVar) { this.f196098a = dbVar; } @Override // y74.k.d public void c(View view, long j15, long j16, boolean z15) { lh4.m.g(view, "view"); if (z15) { ta f15 = ta.W0.f(this.f196098a.getActivity()); o2.f(o2.f210885a, f15 != null ? f15.l0() : null, "biz_identity_tips", 0, null, false, 24, null); } } } public static final class d implements Runnable { /* renamed from: d reason: collision with root package name */ public final /* synthetic */ db f196099d; public d(db dbVar) { this.f196099d = dbVar; } public final void run() { this.f196099d.findViewById(R.id.e7m).performClick(); } } public static final class d0 implements View.OnClickListener { /* renamed from: d reason: collision with root package name */ public final /* synthetic */ db f196100d; /* renamed from: e reason: collision with root package name */ public final /* synthetic */ fh f196101e; public d0(db dbVar, fh fhVar) { this.f196100d = dbVar; this.f196101e = fhVar; } public final void onClick(View view) { bv1 bv12; ArrayList arrayList = new ArrayList(); arrayList.add(view); Object[] array = arrayList.toArray(); arrayList.clear(); j30.a.b("com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC$refreshSelf$3$2", "android/view/View$OnClickListener", "onClick", "(Landroid/view/View;)V", this, array); ta.a aVar = ta.W0; ta f15 = aVar.f(this.f196100d.getActivity()); if (f15 != null) { bv12 = f15.l0(); } else { bv12 = null; } o2.f(o2.f210885a, bv12, "biz_identity_tips", 1, null, false, 24, null); fh fhVar = this.f196101e; if (fhVar != null) { db dbVar = this.f196100d; Intent intent = new Intent(); ta.a.e(aVar, dbVar.getActivity(), intent, 0, null, 0, 0, false, 0, 252, null); intent.putExtra("Contact_User", fhVar.f21620d); intent.putExtra("Contact_Scene", 213); intent.putExtra("force_get_contact", true); intent.putExtra("key_use_new_contact_profile", true); intent.putExtra("biz_profile_tab_type", 1); sv3.b.j(dbVar.getActivity(), Scopes.PROFILE, ".ui.ContactInfoUI", intent, null); } j30.a.g(this, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC$refreshSelf$3$2", "android/view/View$OnClickListener", "onClick", "(Landroid/view/View;)V"); } } public static final class e extends lh4.o implements kh4.a<wg4.b0> { /* renamed from: d reason: collision with root package name */ public final /* synthetic */ db f196102d; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public e(db dbVar) { super(0); this.f196102d = dbVar; } /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kh4.a public wg4.b0 invoke() { this.f196102d.o5(); return wg4.b0.f332794a; } } public static final class e0 implements View.OnClickListener { /* renamed from: d reason: collision with root package name */ public final /* synthetic */ e1 f196103d; /* renamed from: e reason: collision with root package name */ public final /* synthetic */ xz1 f196104e; /* renamed from: f reason: collision with root package name */ public final /* synthetic */ db f196105f; /* renamed from: g reason: collision with root package name */ public final /* synthetic */ int f196106g; /* renamed from: h reason: collision with root package name */ public final /* synthetic */ int f196107h; /* renamed from: i reason: collision with root package name */ public final /* synthetic */ int f196108i; /* renamed from: j reason: collision with root package name */ public final /* synthetic */ int f196109j; public static final class a extends lh4.o implements kh4.l<e1, Boolean> { /* renamed from: d reason: collision with root package name */ public static final a f196110d = new a(); public a() { super(1); } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kh4.l public Boolean invoke(e1 e1Var) { lh4.m.g(e1Var, LocaleUtil.ITALIAN); return Boolean.TRUE; } } public e0(e1 e1Var, xz1 xz12, db dbVar, int i15, int i16, int i17, int i18) { this.f196103d = e1Var; this.f196104e = xz12; this.f196105f = dbVar; this.f196106g = i15; this.f196107h = i16; this.f196108i = i17; this.f196109j = i18; } public final void onClick(View view) { bv1 bv12; ArrayList arrayList = new ArrayList(); arrayList.add(view); Object[] array = arrayList.toArray(); arrayList.clear(); j30.a.b("com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC$updateFinderMemberMentionRedDot$memberMsgAreaClickListener$1", "android/view/View$OnClickListener", "onClick", "(Landroid/view/View;)V", this, array); e1 e1Var = this.f196103d; xz1 xz12 = this.f196104e; db dbVar = this.f196105f; if (!(e1Var == null || xz12 == null)) { c1 c1Var = c1.f210617a; ta f15 = ta.W0.f(dbVar.getActivity()); if (f15 != null) { bv12 = f15.l0(); } else { bv12 = null; } c1.g(c1Var, XWebUpdater.XWEB_UPDATER_START_CHECK_TYPE_EMBEDINSTALL, e1Var, xz12, 2, bv12, 0, null, 0, 0, 480, null); ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().A("AuthorProfileMemberNotify", a.f196110d, false, dbVar.f196073d); } JSONObject jSONObject = new JSONObject(); int i15 = this.f196107h; int i16 = this.f196108i; int i17 = this.f196109j; int i18 = this.f196106g; jSONObject.put("vipCnt", i15); jSONObject.put("commentCnt", i16); jSONObject.put("likeCnt", i17); jSONObject.put("totalCnt", i18); f1 f1Var = (f1) yz3.j.c(f1.class); AppCompatActivity activity = this.f196105f.getActivity(); db dbVar2 = this.f196105f; long j15 = dbVar2.D; boolean z15 = dbVar2.B; int i19 = this.f196106g; boolean z16 = i19 > 0; String jSONObject2 = jSONObject.toString(); lh4.m.f(jSONObject2, "redDotCountDetail.toString()"); f1Var.CO0(activity, j15, z15, 2, 12, z16, (long) i19, ek4.y.q(jSONObject2, ",", ";", false), this.f196105f.f196073d); Intent intent = new Intent(); sk1.q b15 = sk1.d.f302423a.b(r32.b.c(this.f196105f.getContext())); lh4.m.d(b15); if (b15.s2()) { intent.setClass(this.f196105f.getActivity(), FinderExposeUI.class); AppCompatActivity activity2 = this.f196105f.getActivity(); k30.a aVar = new k30.a(); aVar.c(intent); j30.a.d(activity2, aVar.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC$updateFinderMemberMentionRedDot$memberMsgAreaClickListener$1", "onClick", "(Landroid/view/View;)V", "Undefined", "startActivity", "(Landroid/content/Intent;)V"); activity2.startActivity((Intent) aVar.a(0)); j30.a.e(activity2, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC$updateFinderMemberMentionRedDot$memberMsgAreaClickListener$1", "onClick", "(Landroid/view/View;)V", "Undefined", "startActivity", "(Landroid/content/Intent;)V"); } else { ta.a.e(ta.W0, this.f196105f.getActivity(), intent, 0, null, 0, 0, false, 0, 252, null); ((com.tencent.mm.plugin.finder.utils.b) yz3.j.c(com.tencent.mm.plugin.finder.utils.b.class)).tO0(this.f196105f.getActivity(), intent); } j30.a.g(this, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC$updateFinderMemberMentionRedDot$memberMsgAreaClickListener$1", "android/view/View$OnClickListener", "onClick", "(Landroid/view/View;)V"); } } public static final class f extends lh4.o implements kh4.a<wg4.b0> { /* renamed from: d reason: collision with root package name */ public final /* synthetic */ db f196111d; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public f(db dbVar) { super(0); this.f196111d = dbVar; } /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kh4.a public wg4.b0 invoke() { this.f196111d.f196074e = null; return wg4.b0.f332794a; } } public static final class f0 extends lh4.o implements kh4.a<View> { /* renamed from: d reason: collision with root package name */ public final /* synthetic */ db f196112d; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public f0(db dbVar) { super(0); this.f196112d = dbVar; } /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kh4.a public View invoke() { View view; View findViewById = this.f196112d.findViewById(R.id.hpv); zz1.e.f356376d.getClass(); if (zz1.e.f356344a5.t().intValue() == 1) { view = ((ViewStub) findViewById.findViewById(R.id.f363729q82)).inflate(); } else { view = ((ViewStub) findViewById.findViewById(R.id.f363730q83)).inflate(); } TextView textView = (TextView) view.findViewById(R.id.qck); if (textView != null) { textView.setText(findViewById.getResources().getString(R.string.f3x)); } return findViewById; } } @dh4.f(c = "com.tencent.mm.plugin.finder.viewmodel.component.FinderSelfUIC$doPrepareUser$1", f = "FinderSelfUIC.kt", l = {2325}, m = "invokeSuspend") public static final class g extends dh4.j implements kh4.p<n0, bh4.d<? super wg4.b0>, Object> { /* renamed from: d reason: collision with root package name */ public int f196113d; /* renamed from: e reason: collision with root package name */ public final /* synthetic */ db f196114e; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public g(db dbVar, bh4.d<? super g> dVar) { super(2, dVar); this.f196114e = dbVar; } @Override // dh4.a public final bh4.d<wg4.b0> create(Object obj, bh4.d<?> dVar) { return new g(this.f196114e, dVar); } /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, java.lang.Object] */ @Override // kh4.p public Object invoke(n0 n0Var, bh4.d<? super wg4.b0> dVar) { return ((g) create(n0Var, dVar)).invokeSuspend(wg4.b0.f332794a); } @Override // dh4.a public final Object invokeSuspend(Object obj) { Object obj2; o60.d dVar; boolean z15; ch4.a aVar = ch4.a.COROUTINE_SUSPENDED; int i15 = this.f196113d; if (i15 == 0) { ResultKt.throwOnFailure(obj); dj1.b bVar = dj1.b.f200487e; this.f196113d = 1; obj2 = bVar.X5(8, this); if (obj2 == aVar) { return aVar; } } else if (i15 == 1) { ResultKt.throwOnFailure(obj); obj2 = ((Result) obj).m760unboximpl(); } else { throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine"); } db dbVar = this.f196114e; if (Result.m758isSuccessimpl(obj2)) { fp1 fp12 = (fp1) obj2; dbVar.T = true; ProgressBar progressBar = dbVar.f196075f; if (progressBar != null) { progressBar.setVisibility(8); y24.r rVar = y24.r.f342954a; ((m1) rVar.c(dbVar.getActivity()).a(m1.class)).j5(0, 0, null, fp12); if (dbVar.f196074e == null) { z15 = true; } else { z15 = false; } dbVar.f196074e = fp12; if (z15) { dbVar.F5(); } dbVar.u5().N1(dbVar.f196074e); ((v1) rVar.c(dbVar.getActivity()).c(v1.class)).B4(fp12); ((r3) rVar.c(dbVar.getActivity()).c(r3.class)).K3(fp12.F, fp12.L, false); dbVar.E5(); } else { lh4.m.p("progressBar"); throw null; } } db dbVar2 = this.f196114e; Throwable r122 = Result.m754exceptionOrNullimpl(obj2); if (r122 != null) { dbVar2.T = true; View view = dbVar2.f196080n; if (view != null) { view.setEnabled(true); if (r122 instanceof o60.d) { dVar = (o60.d) r122; } else { dVar = null; } if (dVar != null) { ProgressBar progressBar2 = dbVar2.f196075f; if (progressBar2 != null) { progressBar2.setVisibility(8); ((m1) y24.r.f342954a.c(dbVar2.getActivity()).a(m1.class)).onSceneEnd(dVar.f274954e, dVar.f274955f, dVar.f274956g, null); dbVar2.F5(); y0.makeText(dbVar2.getActivity(), (int) R.string.exk, 1).show(); } else { lh4.m.p("progressBar"); throw null; } } } else { lh4.m.p("finderPosterEntrance"); throw null; } } return wg4.b0.f332794a; } } public static final class g0 extends lh4.o implements kh4.a<View> { /* renamed from: d reason: collision with root package name */ public final /* synthetic */ db f196115d; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public g0(db dbVar) { super(0); this.f196115d = dbVar; } /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kh4.a public View invoke() { View view; View findViewById = this.f196115d.findViewById(R.id.hps); zz1.e.f356376d.getClass(); if (zz1.e.f356344a5.t().intValue() == 1) { view = ((ViewStub) findViewById.findViewById(R.id.f363729q82)).inflate(); } else { view = ((ViewStub) findViewById.findViewById(R.id.f363730q83)).inflate(); } TextView textView = (TextView) view.findViewById(R.id.qck); if (textView != null) { textView.setText(findViewById.getResources().getString(R.string.eo5)); } return findViewById; } } public static final class h extends lh4.o implements kh4.a<View> { /* renamed from: d reason: collision with root package name */ public final /* synthetic */ db f196116d; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public h(db dbVar) { super(0); this.f196116d = dbVar; } /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kh4.a public View invoke() { View view; View findViewById = this.f196116d.findViewById(R.id.jf9); zz1.e.f356376d.getClass(); if (zz1.e.f356344a5.t().intValue() == 1) { view = ((ViewStub) findViewById.findViewById(R.id.f363729q82)).inflate(); } else { view = ((ViewStub) findViewById.findViewById(R.id.f363730q83)).inflate(); } TextView textView = (TextView) view.findViewById(R.id.qck); if (textView != null) { textView.setText(findViewById.getResources().getString(R.string.em5)); } return findViewById; } } public static final class i extends lh4.o implements kh4.a<View> { /* renamed from: d reason: collision with root package name */ public final /* synthetic */ db f196117d; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public i(db dbVar) { super(0); this.f196117d = dbVar; } /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kh4.a public View invoke() { View view; View findViewById = this.f196117d.findViewById(R.id.jtp); zz1.e.f356376d.getClass(); if (zz1.e.f356344a5.t().intValue() == 1) { view = ((ViewStub) findViewById.findViewById(R.id.f363729q82)).inflate(); } else { view = ((ViewStub) findViewById.findViewById(R.id.f363730q83)).inflate(); } TextView textView = (TextView) view.findViewById(R.id.qck); if (textView != null) { textView.setText(findViewById.getResources().getString(R.string.epx)); } return findViewById; } } public static final class j extends lh4.o implements kh4.a<View> { /* renamed from: d reason: collision with root package name */ public final /* synthetic */ db f196118d; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public j(db dbVar) { super(0); this.f196118d = dbVar; } /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kh4.a public View invoke() { View view; View findViewById = this.f196118d.findViewById(R.id.mle); zz1.e.f356376d.getClass(); if (zz1.e.f356344a5.t().intValue() == 1) { view = ((ViewStub) findViewById.findViewById(R.id.f363729q82)).inflate(); } else { view = ((ViewStub) findViewById.findViewById(R.id.f363730q83)).inflate(); } TextView textView = (TextView) view.findViewById(R.id.qck); if (textView != null) { textView.setText(findViewById.getResources().getString(R.string.enr)); } return findViewById; } } public static final class k implements View.OnClickListener { /* renamed from: d reason: collision with root package name */ public final /* synthetic */ db f196119d; public k(db dbVar) { this.f196119d = dbVar; } public final void onClick(View view) { bv1 bv12; ArrayList arrayList = new ArrayList(); arrayList.add(view); Object[] array = arrayList.toArray(); arrayList.clear(); j30.a.b("com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC$initLiveRewardGainCell$1", "android/view/View$OnClickListener", "onClick", "(Landroid/view/View;)V", this, array); xz1 l15 = ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().l("FinderLiveIncomeEntrance"); e1 c65 = ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().c6("FinderLiveIncomeEntrance"); if (!(l15 == null || c65 == null)) { c1 c1Var = c1.f210617a; ta f15 = ta.W0.f(this.f196119d.getActivity()); if (f15 != null) { bv12 = f15.l0(); } else { bv12 = null; } c1.g(c1Var, XWebUpdater.XWEB_UPDATER_START_CHECK_TYPE_EMBEDINSTALL, c65, l15, 2, bv12, 0, null, 0, 0, 480, null); } ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().e("FinderLiveIncomeEntrance"); ((zl3.e) d60.z.q(zl3.e.class)).Qm0(this.f196119d.getActivity(), ""); yz3.d c15 = yz3.j.c(f1.class); lh4.m.f(c15, "getService(FinderReportLogic::class.java)"); f1.DO0((f1) c15, this.f196119d.getActivity(), this.f196119d.D, false, 2, 9, false, 0, null, null, 384, null); j30.a.g(this, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC$initLiveRewardGainCell$1", "android/view/View$OnClickListener", "onClick", "(Landroid/view/View;)V"); } } public static final class l<T> implements androidx.lifecycle.a0 { /* renamed from: d reason: collision with root package name */ public final /* synthetic */ db f196120d; public l(db dbVar) { this.f196120d = dbVar; } @Override // androidx.lifecycle.a0 public void onChanged(Object obj) { bv1 bv12; x0.a aVar = (x0.a) obj; View findViewById = this.f196120d.findViewById(R.id.i_v); boolean z15 = true; if (aVar == null || !aVar.f109520a) { z15 = false; } if (z15) { k30.a aVar2 = new k30.a(); ThreadLocal<k30.a> threadLocal = k30.c.f244265a; aVar2.c(0); j30.a.d(findViewById, aVar2.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC$initLiveRewardGainCell$2", "onChanged", "(Lcom/tencent/mm/plugin/finder/extension/reddot/FinderRedDotNotifier$Result;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById.setVisibility(((Integer) aVar2.a(0)).intValue()); j30.a.e(findViewById, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC$initLiveRewardGainCell$2", "onChanged", "(Lcom/tencent/mm/plugin/finder/extension/reddot/FinderRedDotNotifier$Result;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); xz1 l15 = ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().l("FinderLiveIncomeEntrance"); e1 c65 = ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().c6("FinderLiveIncomeEntrance"); if (l15 != null && c65 != null) { String str = c65.field_ctrInfo.f34624h; if (str == null) { str = ""; } if (!lh4.m.b(str, this.f196120d.M)) { db dbVar = this.f196120d; dbVar.getClass(); dbVar.M = str; c1 c1Var = c1.f210617a; ta f15 = ta.W0.f(this.f196120d.getActivity()); if (f15 != null) { bv12 = f15.l0(); } else { bv12 = null; } c1.g(c1Var, XWebUpdater.XWEB_UPDATER_START_CHECK_TYPE_EMBEDINSTALL, c65, l15, 1, bv12, 0, null, 0, 0, 480, null); return; } return; } return; } k30.a aVar3 = new k30.a(); ThreadLocal<k30.a> threadLocal2 = k30.c.f244265a; aVar3.c(8); j30.a.d(findViewById, aVar3.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC$initLiveRewardGainCell$2", "onChanged", "(Lcom/tencent/mm/plugin/finder/extension/reddot/FinderRedDotNotifier$Result;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById.setVisibility(((Integer) aVar3.a(0)).intValue()); j30.a.e(findViewById, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC$initLiveRewardGainCell$2", "onChanged", "(Lcom/tencent/mm/plugin/finder/extension/reddot/FinderRedDotNotifier$Result;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); } } public static final class m implements View.OnClickListener { /* renamed from: d reason: collision with root package name */ public final /* synthetic */ db f196121d; /* renamed from: e reason: collision with root package name */ public final /* synthetic */ e1 f196122e; /* renamed from: f reason: collision with root package name */ public final /* synthetic */ xz1 f196123f; public m(db dbVar, e1 e1Var, xz1 xz12) { this.f196121d = dbVar; this.f196122e = e1Var; this.f196123f = xz12; } public final void onClick(View view) { ArrayList arrayList = new ArrayList(); arrayList.add(view); Object[] array = arrayList.toArray(); arrayList.clear(); j30.a.b("com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC$initPostBtn$2", "android/view/View$OnClickListener", "onClick", "(Landroid/view/View;)V", this, array); yz3.d c15 = yz3.j.c(e6.class); lh4.m.f(c15, "getService(IHellLiveReport::class.java)"); e6 e6Var = (e6) c15; db dbVar = this.f196121d; String str = db.f196071p0; e6.a.b(e6Var, 2, dbVar.u5().h2(), this.f196121d.u5().U(), null, 8, null); bv1 bv12 = null; q3.a.a(this.f196121d.u5(), null, 1, null); ((e6) yz3.j.c(e6.class)).getConfig().m(f0.l0.FINDER_PROFILE); yz3.d c16 = yz3.j.c(e6.class); lh4.m.f(c16, "getService(IHellLiveReport::class.java)"); e6.a.a((e6) c16, 2, "", null, 4, null); TextView textView = this.f196121d.f196085s; if (textView != null) { textView.setVisibility(8); } e1 e1Var = this.f196122e; xz1 xz12 = this.f196123f; db dbVar2 = this.f196121d; if (!(e1Var == null || xz12 == null)) { c1 c1Var = c1.f210617a; ta f15 = ta.W0.f(dbVar2.getActivity()); if (f15 != null) { bv12 = f15.l0(); } c1.g(c1Var, XWebUpdater.XWEB_UPDATER_START_CHECK_TYPE_EMBEDINSTALL, e1Var, xz12, 2, bv12, 0, null, 0, 0, 480, null); ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().e("FinderSelfLiveEntrance"); ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().o("FinderEntrance", new int[]{1010}); ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().o("TLPersonalCenter", new int[]{1010}); } j30.a.g(this, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC$initPostBtn$2", "android/view/View$OnClickListener", "onClick", "(Landroid/view/View;)V"); } } public static final class n<T> implements androidx.lifecycle.a0 { /* renamed from: d reason: collision with root package name */ public final /* synthetic */ db f196124d; /* renamed from: e reason: collision with root package name */ public final /* synthetic */ e1 f196125e; /* renamed from: f reason: collision with root package name */ public final /* synthetic */ xz1 f196126f; public n(db dbVar, e1 e1Var, xz1 xz12) { this.f196124d = dbVar; this.f196125e = e1Var; this.f196126f = xz12; } @Override // androidx.lifecycle.a0 public void onChanged(Object obj) { String str; bv1 bv12; qu1 qu12; x0.a aVar = (x0.a) obj; boolean z15 = true; if (aVar == null || !aVar.f109520a) { z15 = false; } if (z15) { TextView textView = this.f196124d.f196085s; if (textView != null) { textView.setVisibility(0); } e1 e1Var = this.f196125e; if (e1Var == null || (qu12 = e1Var.field_ctrInfo) == null || (str = qu12.f34624h) == null) { str = ""; } if (!lh4.m.b(str, this.f196124d.K)) { db dbVar = this.f196124d; dbVar.getClass(); dbVar.K = str; e1 e1Var2 = this.f196125e; xz1 xz12 = this.f196126f; db dbVar2 = this.f196124d; if (e1Var2 != null && xz12 != null) { c1 c1Var = c1.f210617a; ta f15 = ta.W0.f(dbVar2.getActivity()); if (f15 != null) { bv12 = f15.l0(); } else { bv12 = null; } c1.g(c1Var, XWebUpdater.XWEB_UPDATER_START_CHECK_TYPE_EMBEDINSTALL, e1Var2, xz12, 1, bv12, 0, null, 0, 0, 480, null); return; } return; } return; } TextView textView2 = this.f196124d.f196085s; if (textView2 != null) { textView2.setVisibility(8); } } } public static final class o implements View.OnClickListener { /* renamed from: d reason: collision with root package name */ public final /* synthetic */ db f196127d; public o(db dbVar) { this.f196127d = dbVar; } public final void onClick(View view) { ArrayList arrayList = new ArrayList(); arrayList.add(view); Object[] array = arrayList.toArray(); arrayList.clear(); j30.a.b("com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC$initPostBtn$4", "android/view/View$OnClickListener", "onClick", "(Landroid/view/View;)V", this, array); db dbVar = this.f196127d; String str = db.f196071p0; dbVar.o5(); j30.a.g(this, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC$initPostBtn$4", "android/view/View$OnClickListener", "onClick", "(Landroid/view/View;)V"); } } public static final class p implements View.OnClickListener { /* renamed from: d reason: collision with root package name */ public final /* synthetic */ db f196128d; /* renamed from: e reason: collision with root package name */ public final /* synthetic */ String f196129e; public p(db dbVar, String str) { this.f196128d = dbVar; this.f196129e = str; } public final void onClick(View view) { bv1 bv12; ArrayList arrayList = new ArrayList(); arrayList.add(view); Object[] array = arrayList.toArray(); arrayList.clear(); j30.a.b("com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC$initPosterEntrance$1", "android/view/View$OnClickListener", "onClick", "(Landroid/view/View;)V", this, array); xz1 l15 = ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().l("CreatorCenter"); e1 c65 = ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().c6("CreatorCenter"); db dbVar = this.f196128d; if (!(c65 == null || l15 == null)) { c1 c1Var = c1.f210617a; ta f15 = ta.W0.f(dbVar.getActivity()); if (f15 != null) { bv12 = f15.l0(); } else { bv12 = null; } c1.g(c1Var, XWebUpdater.XWEB_UPDATER_START_CHECK_TYPE_EMBEDINSTALL, c65, l15, 2, bv12, 0, null, 0, 0, 480, null); } yz3.d c15 = yz3.j.c(f1.class); lh4.m.f(c15, "getService(FinderReportLogic::class.java)"); f1 f1Var = (f1) c15; Activity context = this.f196128d.getContext(); db dbVar2 = this.f196128d; f1.DO0(f1Var, context, dbVar2.D, dbVar2.B, 2, 8, l15 != null, 0, null, r32.b.c(dbVar2.getContext()), 128, null); ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().e("FinderPosterEntrance"); ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().e("CreatorCenter"); Intent intent = new Intent(); intent.putExtra("rawUrl", this.f196129e); sv3.b.j(this.f196128d.getActivity(), "webview", ".ui.tools.WebViewUI", intent, null); j30.a.g(this, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC$initPosterEntrance$1", "android/view/View$OnClickListener", "onClick", "(Landroid/view/View;)V"); } } public static final class q extends lh4.o implements kh4.a<q3> { /* renamed from: d reason: collision with root package name */ public final /* synthetic */ AppCompatActivity f196130d; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public q(AppCompatActivity appCompatActivity) { super(0); this.f196130d = appCompatActivity; } /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kh4.a public q3 invoke() { return (q3) y24.r.f342954a.c(this.f196130d).c(q3.class); } } public static final class r<T> implements androidx.lifecycle.a0 { /* renamed from: d reason: collision with root package name */ public final /* synthetic */ db f196131d; public r(db dbVar) { this.f196131d = dbVar; } @Override // androidx.lifecycle.a0 public void onChanged(Object obj) { boolean z15; boolean z16; x0.a aVar = (x0.a) obj; StringBuilder sb5 = new StringBuilder(); sb5.append("noAccount [SHOW NEW] red="); boolean z17 = false; if (aVar == null || !aVar.f109520a) { z15 = false; } else { z15 = true; } sb5.append(z15); Log.i("Finder.SelfUIC", sb5.toString()); db dbVar = this.f196131d; if (aVar == null || !aVar.f109520a) { z16 = false; } else { z16 = true; } if (z16 && ((q00.g) yz3.j.c(q00.g.class)).bG(true)) { z17 = true; } db.k5(dbVar, z17, aVar); } } public static final class s<T> implements androidx.lifecycle.a0 { /* renamed from: d reason: collision with root package name */ public final /* synthetic */ db f196132d; public s(db dbVar) { this.f196132d = dbVar; } @Override // androidx.lifecycle.a0 public void onChanged(Object obj) { boolean z15; boolean z16; boolean z17; x0.a aVar = (x0.a) obj; StringBuilder sb5 = new StringBuilder(); sb5.append("[SHOW NEW] red="); boolean z18 = true; if (aVar == null || !aVar.f109520a) { z15 = false; } else { z15 = true; } sb5.append(z15); Log.i("Finder.SelfUIC", sb5.toString()); ij1.b a15 = a.C2191a.a(dj1.b.f200487e, this.f196132d.f196073d, false, 2, null); if (a15 != null) { z16 = a15.t2(); } else { z16 = false; } db dbVar = this.f196132d; if (aVar == null || !aVar.f109520a) { z17 = false; } else { z17 = true; } if (!z17 || z16 || !((q00.g) yz3.j.c(q00.g.class)).bG(true)) { z18 = false; } db.k5(dbVar, z18, aVar); } } public static final class t implements Runnable { /* renamed from: d reason: collision with root package name */ public final /* synthetic */ db f196133d; /* renamed from: e reason: collision with root package name */ public final /* synthetic */ TextView f196134e; /* renamed from: f reason: collision with root package name */ public final /* synthetic */ ImageView f196135f; public t(db dbVar, TextView textView, ImageView imageView) { this.f196133d = dbVar; this.f196134e = textView; this.f196135f = imageView; } public final void run() { View findViewById = this.f196133d.findViewById(R.id.g28); if (findViewById != null) { TextView textView = this.f196134e; lh4.m.f(textView, "finderNickname"); float measuredWidth = ((float) ((m60.d.o(findViewById)[0] - m60.d.o(textView)[0]) - this.f196135f.getMeasuredWidth())) - this.f196133d.getContext().getResources().getDimension(R.dimen.f359038bl); if (((float) this.f196134e.getMeasuredWidth()) > measuredWidth) { TextView textView2 = this.f196134e; ViewGroup.LayoutParams layoutParams = textView2.getLayoutParams(); layoutParams.width = (int) measuredWidth; textView2.setLayoutParams(layoutParams); } } } } public static final class u extends k.d { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ db f196136a; /* renamed from: b reason: collision with root package name */ public final /* synthetic */ boolean f196137b; /* renamed from: c reason: collision with root package name */ public final /* synthetic */ boolean f196138c; public u(db dbVar, boolean z15, boolean z16) { this.f196136a = dbVar; this.f196137b = z15; this.f196138c = z16; } @Override // y74.k.d public void c(View view, long j15, long j16, boolean z15) { lh4.m.g(view, "view"); if (z15) { o2 o2Var = o2.f210885a; ta f15 = ta.W0.f(this.f196136a.getActivity()); bv1 l05 = f15 != null ? f15.l0() : null; JSONObject jSONObject = new JSONObject(); jSONObject.put("is_red_dot", (!this.f196137b || this.f196138c) ? 0 : 1); wg4.b0 b0Var = wg4.b0.f332794a; o2.f(o2Var, l05, "post_video", 0, jSONObject, false, 16, null); ez1.x0.f211002a.o(this.f196136a.getContext(), 94, null); } } } public static final class v implements Runnable { /* renamed from: d reason: collision with root package name */ public final /* synthetic */ db f196139d; public v(db dbVar) { this.f196139d = dbVar; } public final void run() { View view = this.f196139d.f196076g; if (view != null) { view.performClick(); } else { lh4.m.p("finderPosBtn"); throw null; } } } public static final class w implements View.OnClickListener { /* renamed from: d reason: collision with root package name */ public final /* synthetic */ db f196140d; public w(db dbVar) { this.f196140d = dbVar; } public final void onClick(View view) { ArrayList arrayList = new ArrayList(); arrayList.add(view); Object[] array = arrayList.toArray(); arrayList.clear(); j30.a.b("com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC$normalOrAbNomalUi$4$1$1$1", "android/view/View$OnClickListener", "onClick", "(Landroid/view/View;)V", this, array); p64.q qVar = new p64.q(this.f196140d.getActivity()); qVar.s(""); qVar.g(this.f196140d.getActivity().getString(R.string.chn)); qVar.m(R.string.chl); qVar.a(true); qVar.l(null); qVar.o(); j30.a.g(this, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC$normalOrAbNomalUi$4$1$1$1", "android/view/View$OnClickListener", "onClick", "(Landroid/view/View;)V"); } } public static final class x implements View.OnClickListener { /* renamed from: d reason: collision with root package name */ public final /* synthetic */ db f196141d; /* renamed from: e reason: collision with root package name */ public final /* synthetic */ sl0 f196142e; public x(db dbVar, sl0 sl02) { this.f196141d = dbVar; this.f196142e = sl02; } public static final void a(Intent intent, db dbVar, sl0 sl02) { boolean z15; String str; intent.putExtra("finder_username", dbVar.f196073d); intent.putExtra("KEY_FINDER_SELF_FLAG", true); intent.putExtra("KEY_DO_NOT_CHECK_ENTER_BIZ_PROFILE", true); intent.putExtra("key_enter_profile_type", 1); if (sl02 != null) { z15 = true; } else { z15 = false; } intent.putExtra("key_finder_is_club_self_flag", z15); if (sl02 == null || (str = sl02.f36554g) == null) { str = ""; } intent.putExtra("key_finder_club_chatroom_Id", str); intent.putExtra("key_is_from_self_ui", true); intent.putExtra("KEY_CAN_USE_SELF_CLUB_USERNAME", true); ta.a.e(ta.W0, dbVar.getActivity(), intent, 0, null, 0, 0, false, 0, 252, null); ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().o("ProfileEntrance", new int[]{32}); ((com.tencent.mm.plugin.finder.utils.b) yz3.j.c(com.tencent.mm.plugin.finder.utils.b.class)).i2(dbVar.getActivity(), intent); } public final void onClick(View view) { ArrayList arrayList = new ArrayList(); arrayList.add(view); Object[] array = arrayList.toArray(); arrayList.clear(); j30.a.b("com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC$normalOrAbNomalUi$finderAccountAreaClickListener$1", "android/view/View$OnClickListener", "onClick", "(Landroid/view/View;)V", this, array); Intent intent = new Intent(); sk1.q b15 = sk1.d.f302423a.b(r32.b.c(this.f196141d.getContext())); lh4.m.d(b15); if (b15.s2()) { intent.setClass(this.f196141d.getActivity(), FinderExposeUI.class); AppCompatActivity activity = this.f196141d.getActivity(); k30.a aVar = new k30.a(); aVar.c(intent); j30.a.d(activity, aVar.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC$normalOrAbNomalUi$finderAccountAreaClickListener$1", "onClick", "(Landroid/view/View;)V", "Undefined", "startActivity", "(Landroid/content/Intent;)V"); activity.startActivity((Intent) aVar.a(0)); j30.a.e(activity, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC$normalOrAbNomalUi$finderAccountAreaClickListener$1", "onClick", "(Landroid/view/View;)V", "Undefined", "startActivity", "(Landroid/content/Intent;)V"); } else { ij1.h j65 = dj1.b.f200487e.j6(this.f196141d.f196073d); wg4.b0 b0Var = null; if (j65 != null) { db dbVar = this.f196141d; sl0 sl02 = this.f196142e; if (j65.f233533a == 1) { ((com.tencent.mm.plugin.finder.utils.b) yz3.j.c(com.tencent.mm.plugin.finder.utils.b.class)).TM0(dbVar.getActivity(), dbVar.f196073d); dbVar.f196074e = null; } else { a(intent, dbVar, sl02); } b0Var = wg4.b0.f332794a; } if (b0Var == null) { a(intent, this.f196141d, this.f196142e); } } j30.a.g(this, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC$normalOrAbNomalUi$finderAccountAreaClickListener$1", "android/view/View$OnClickListener", "onClick", "(Landroid/view/View;)V"); } } public static final class y implements View.OnClickListener { /* renamed from: d reason: collision with root package name */ public final /* synthetic */ db f196143d; public y(db dbVar) { this.f196143d = dbVar; } /* JADX WARNING: Code restructure failed: missing block: B:56:0x027b, code lost: if ((r3 != null && r3.getVisibility() == 0) != false) goto L_0x027d; */ public final void onClick(View view) { bv1 bv12; bv1 bv13; ArrayList arrayList = new ArrayList(); arrayList.add(view); Object[] array = arrayList.toArray(); arrayList.clear(); j30.a.b("com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC$normalOrAbNomalUi$finderMsgAreaClickListener$1", "android/view/View$OnClickListener", "onClick", "(Landroid/view/View;)V", this, array); e1 L = ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().L("AuthorProfileNotify", this.f196143d.f196073d); xz1 b05 = ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().b0("AuthorProfileNotify", this.f196143d.f196073d); boolean z15 = false; int i15 = b05 != null ? b05.f42762e : 0; bv1 bv14 = null; if (i15 > 0) { zz1.e.f356376d.getClass(); int i16 = zz1.e.G1.t().intValue() == 1 ? 0 : 2; if (i15 > 0) { yz3.d c15 = yz3.j.c(f1.class); lh4.m.f(c15, "getService(FinderReportLogic::class.java)"); f1 f1Var = (f1) c15; ta f15 = ta.W0.f(this.f196143d.getActivity()); if (f15 != null) { bv13 = f15.l0(); } else { bv13 = null; } f1.nO0(f1Var, XWebUpdater.XWEB_UPDATER_START_CHECK_TYPE_EMBEDINSTALL, 1, 2, 5, i16, i15, null, null, 0, bv13, 0, 0, 3520, null); } } db dbVar = this.f196143d; if (!(L == null || b05 == null)) { c1 c1Var = c1.f210617a; ta f16 = ta.W0.f(dbVar.getActivity()); if (f16 != null) { bv12 = f16.l0(); } else { bv12 = null; } c1.g(c1Var, XWebUpdater.XWEB_UPDATER_START_CHECK_TYPE_EMBEDINSTALL, L, b05, 2, bv12, 0, null, 0, 0, 480, null); } zz1.e.f356376d.getClass(); if (zz1.e.f356344a5.t().intValue() == 1) { e1 L2 = ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().L("FinderMessageEntryRight", this.f196143d.f196073d); xz1 t25 = L2 != null ? L2.t2("FinderMessageEntryRight") : null; db dbVar2 = this.f196143d; if (!(L2 == null || t25 == null)) { c1 c1Var2 = c1.f210617a; ta f17 = ta.W0.f(dbVar2.getActivity()); if (f17 != null) { bv14 = f17.l0(); } c1.g(c1Var2, XWebUpdater.XWEB_UPDATER_START_CHECK_TYPE_EMBEDINSTALL, L2, t25, 2, bv14, 0, null, 0, 0, 480, null); } } int[] a15 = z0.f109713a.a(r32.b.c(this.f196143d.getContext())); int i17 = a15[0]; int i18 = a15[1]; int i19 = a15[2]; Log.i("Finder.SelfUIC", "redDot check likeCount :" + i17 + " commentCount " + i18 + " followCount " + i19 + ' '); JSONObject jSONObject = new JSONObject(); jSONObject.put("followCnt", i19); jSONObject.put("commentCnt", i18); jSONObject.put("likeCnt", i17); jSONObject.put("totalCnt", i15); f1 f1Var2 = (f1) yz3.j.c(f1.class); AppCompatActivity activity = this.f196143d.getActivity(); db dbVar3 = this.f196143d; long j15 = dbVar3.D; boolean z16 = dbVar3.B; boolean z17 = i15 > 0; String jSONObject2 = jSONObject.toString(); lh4.m.f(jSONObject2, "redDotCountDetail.toString()"); f1Var2.CO0(activity, j15, z16, 2, 5, z17, (long) i15, ek4.y.q(jSONObject2, ",", ";", false), this.f196143d.f196073d); Intent intent = new Intent(); intent.putExtra("KEY_FINDER_USERNAME_SELF", this.f196143d.f196073d); sk1.q b15 = sk1.d.f302423a.b(this.f196143d.f196073d); lh4.m.d(b15); if (b15.s2()) { intent.setClass(this.f196143d.getActivity(), FinderExposeUI.class); AppCompatActivity activity2 = this.f196143d.getActivity(); k30.a aVar = new k30.a(); aVar.c(intent); j30.a.d(activity2, aVar.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC$normalOrAbNomalUi$finderMsgAreaClickListener$1", "onClick", "(Landroid/view/View;)V", "Undefined", "startActivity", "(Landroid/content/Intent;)V"); activity2.startActivity((Intent) aVar.a(0)); j30.a.e(activity2, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC$normalOrAbNomalUi$finderMsgAreaClickListener$1", "onClick", "(Landroid/view/View;)V", "Undefined", "startActivity", "(Landroid/content/Intent;)V"); } else { TextView textView = (TextView) this.f196143d.s5().findViewById(R.id.qci); TextView textView2 = (TextView) this.f196143d.s5().findViewById(R.id.qch); f.a aVar2 = ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().X().f109562c; if (!(textView != null && textView.getVisibility() == 0)) { } z15 = true; aVar2.getClass(); Log.i("Finder.MsgRedDot#", "[enterFinderMentionUI] hasFinderMentionRedDot=" + z15); if (z15) { aVar2.f109563a = true; } ta.a.e(ta.W0, this.f196143d.getActivity(), intent, 0, null, 0, 0, false, 0, 252, null); ((com.tencent.mm.plugin.finder.utils.b) yz3.j.c(com.tencent.mm.plugin.finder.utils.b.class)).AO0(this.f196143d.getActivity(), intent); } j30.a.g(this, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC$normalOrAbNomalUi$finderMsgAreaClickListener$1", "android/view/View$OnClickListener", "onClick", "(Landroid/view/View;)V"); } } public static final class z implements View.OnClickListener { /* renamed from: d reason: collision with root package name */ public final /* synthetic */ db f196144d; /* renamed from: e reason: collision with root package name */ public final /* synthetic */ boolean f196145e; /* renamed from: f reason: collision with root package name */ public final /* synthetic */ boolean f196146f; public z(db dbVar, boolean z15, boolean z16) { this.f196144d = dbVar; this.f196145e = z15; this.f196146f = z16; } public final void onClick(View view) { bv1 bv12; int i15; ArrayList arrayList = new ArrayList(); arrayList.add(view); Object[] array = arrayList.toArray(); arrayList.clear(); j30.a.b("com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC$normalOrAbNomalUi$finderPostBtnClickListener$1", "android/view/View$OnClickListener", "onClick", "(Landroid/view/View;)V", this, array); o2 o2Var = o2.f210885a; ta f15 = ta.W0.f(this.f196144d.getActivity()); if (f15 != null) { bv12 = f15.l0(); } else { bv12 = null; } JSONObject jSONObject = new JSONObject(); boolean z15 = this.f196145e; boolean z16 = this.f196146f; if (!z15 || z16) { i15 = 0; } else { i15 = 1; } jSONObject.put("is_red_dot", i15); wg4.b0 b0Var = wg4.b0.f332794a; o2.f(o2Var, bv12, "post_video", 1, jSONObject, false, 16, null); if (this.f196145e && !this.f196146f) { xz1 l15 = ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().l("TLCamera"); e1 c65 = ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().c6("TLCamera"); h4 h4Var = h4.f119006a; a5 a5Var = a5.f118672a; if (!(l15 == null || c65 == null)) { c1.h(c1.f210617a, XWebUpdater.XWEB_UPDATER_START_CHECK_TYPE_EMBEDINSTALL, c65, l15, 2, null, 0, 0, 0, 240, null); } } db dbVar = this.f196144d; String str = db.f196071p0; dbVar.o5(); j30.a.g(this, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC$normalOrAbNomalUi$finderPostBtnClickListener$1", "android/view/View$OnClickListener", "onClick", "(Landroid/view/View;)V"); } } static { dj1.b bVar = dj1.b.f200487e; int i15 = 0; ij1.b a15 = a.C2191a.a(bVar, bVar.b6(), false, 2, null); if (a15 != null) { i15 = a15.r2().f33815j; } f196072x0 = i15; } /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public db(AppCompatActivity appCompatActivity) { super(appCompatActivity); boolean z15; lh4.m.g(appCompatActivity, EnvConsts.ACTIVITY_MANAGER_SRVNAME); if (zz1.e.f356376d.o().t().intValue() > 0) { z15 = true; } else { z15 = false; } this.U = z15; this.V = wg4.h.a(new q(appCompatActivity)); this.X = ""; this.Y = new r(this); this.Z = new s(this); } public static final void j5(db dbVar) { dbVar.getClass(); ((v1) y24.r.f342954a.c(dbVar.getActivity()).c(v1.class)).j1(); } public static final void k5(db dbVar, boolean z15, x0.a aVar) { boolean z16; Integer num; TextView textView; xz1 xz12; dbVar.getClass(); StringBuilder sb5 = new StringBuilder(); sb5.append("[SHOW NEW] red="); if (aVar == null || !aVar.f109520a) { z16 = false; } else { z16 = true; } sb5.append(z16); Log.i("Finder.SelfUIC", sb5.toString()); if (aVar == null || (xz12 = aVar.f109521b) == null) { num = null; } else { num = Integer.valueOf(xz12.f42761d); } if (num != null && num.intValue() == 6) { textView = dbVar.f196078i; if (textView == null) { lh4.m.p("finderCanPostNoContact"); throw null; } } else if (num != null && num.intValue() == 1) { textView = dbVar.f196079j; if (textView == null) { lh4.m.p("finderPostRedDot"); throw null; } } else { textView = null; } if (z15) { if (textView != null) { textView.setVisibility(0); } xz1 l15 = ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().l("TLCamera"); e1 c65 = ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().c6("TLCamera"); h4 h4Var = h4.f119006a; a5 a5Var = a5.f118672a; if (l15 != null && c65 != null) { c1.h(c1.f210617a, XWebUpdater.XWEB_UPDATER_START_CHECK_TYPE_EMBEDINSTALL, c65, l15, 1, null, 0, 0, 0, 240, null); return; } return; } TextView textView2 = dbVar.f196078i; if (textView2 != null) { textView2.setVisibility(8); TextView textView3 = dbVar.f196079j; if (textView3 != null) { textView3.setVisibility(8); } else { lh4.m.p("finderPostRedDot"); throw null; } } else { lh4.m.p("finderCanPostNoContact"); throw null; } } /* JADX WARNING: Removed duplicated region for block: B:26:0x021c */ /* JADX WARNING: Removed duplicated region for block: B:27:0x021e */ /* JADX WARNING: Removed duplicated region for block: B:30:0x0262 */ /* JADX WARNING: Removed duplicated region for block: B:31:0x0265 */ /* JADX WARNING: Removed duplicated region for block: B:34:0x026d */ /* JADX WARNING: Removed duplicated region for block: B:37:0x0275 */ /* JADX WARNING: Removed duplicated region for block: B:40:0x027d */ /* JADX WARNING: Removed duplicated region for block: B:43:0x02a2 */ /* JADX WARNING: Removed duplicated region for block: B:47:0x02be */ /* JADX WARNING: Removed duplicated region for block: B:50:0x0311 */ public final void A5() { int i15; h4 h4Var; View view; ImageView imageView; TextView textView; TextView textView2; View view2; LinkedList<t34> linkedList; T t15; fp1 fp12 = this.f196074e; if (!(fp12 == null || (linkedList = fp12.f21904z) == null)) { Iterator<T> it = linkedList.iterator(); while (true) { if (!it.hasNext()) { t15 = null; break; } t15 = it.next(); FinderContact finderContact = t15.f37089e; if (lh4.m.b(finderContact != null ? finderContact.username : null, this.f196073d)) { break; } } T t16 = t15; if (t16 != null) { i15 = t16.f37095n; f196072x0 = i15; boolean u15 = m60.d.u(i15, 1); StringBuilder sb5 = new StringBuilder(); sb5.append("FinderLive.entrance,xLab enable live:"); tn1.a aVar = tn1.a.f313149a; sb5.append(aVar.a()); sb5.append(", server flag:"); sb5.append(f196072x0); sb5.append(", server enable live:"); sb5.append(u15); Log.i("Finder.SelfUIC", sb5.toString()); zz1.e.f356376d.getClass(); zz1.e.C4.p(); h4Var = h4.f119006a; if (!h4Var.k1() || aVar.a() || u15) { View findViewById = findViewById(R.id.kzo); lh4.m.f(findViewById, "findViewById<View>(com.t…ase.api.R.id.postBtn_new)"); this.f196076g = findViewById; View findViewById2 = findViewById(R.id.fw8); lh4.m.f(findViewById2, "findViewById(com.tencent…finder_post_new_feed_new)"); this.f196077h = (TextView) findViewById2; View findViewById3 = findViewById(R.id.f363097ea1); lh4.m.f(findViewById3, "findViewById(com.tencent…_can_post_no_contact_new)"); this.f196078i = (TextView) findViewById3; View findViewById4 = findViewById(R.id.fvf); lh4.m.f(findViewById4, "findViewById(com.tencent…ersonal_post_red_dot_new)"); this.f196079j = (TextView) findViewById4; this.f196082p = findViewById(R.id.i4o); this.f196083q = (ImageView) findViewById(R.id.i_r); this.f196084r = (TextView) findViewById(R.id.fgo); this.f196085s = (TextView) findViewById(R.id.e_z); this.f196088v = findViewById(R.id.f363373fw2); View findViewById5 = findViewById(R.id.kzm); k30.a aVar2 = new k30.a(); ThreadLocal<k30.a> threadLocal = k30.c.f244265a; aVar2.c(8); j30.a.d(findViewById5, aVar2.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "initPostBtn", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById5.setVisibility(((Integer) aVar2.a(0)).intValue()); j30.a.e(findViewById5, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "initPostBtn", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); View findViewById6 = findViewById(R.id.l05); int i16 = h4.s(h4Var, getContext(), null, 2, null) != 4 ? 8 : 0; k30.a aVar3 = new k30.a(); aVar3.c(Integer.valueOf(i16)); j30.a.d(findViewById6, aVar3.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "initPostBtn", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById6.setVisibility(((Integer) aVar3.a(0)).intValue()); j30.a.e(findViewById6, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "initPostBtn", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); float f15 = this.Q ? 1.0f : 0.3f; imageView = this.f196083q; if (imageView != null) { imageView.setAlpha(f15); } textView = this.f196084r; if (textView != null) { textView.setAlpha(f15); } textView2 = this.f196085s; if (textView2 != null) { textView2.setAlpha(f15); } xz1 l15 = ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().l("FinderSelfLiveEntrance"); e1 c65 = ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().c6("FinderSelfLiveEntrance"); view2 = this.f196082p; if (view2 != null) { view2.setOnClickListener(new m(this, c65, l15)); } x0 x0Var = x0.f109678a; m60.d.t(x0.f109706y, getActivity(), new n(this, c65, l15)); } else { View findViewById7 = findViewById(R.id.kzm); lh4.m.f(findViewById7, "findViewById<View>(R.id.postBtn)"); this.f196076g = findViewById7; View findViewById8 = findViewById(R.id.fw7); lh4.m.f(findViewById8, "findViewById(com.tencent….id.finder_post_new_feed)"); this.f196077h = (TextView) findViewById8; View findViewById9 = findViewById(R.id.f363096ea0); lh4.m.f(findViewById9, "findViewById(com.tencent…nder_can_post_no_contact)"); this.f196078i = (TextView) findViewById9; View findViewById10 = findViewById(R.id.fve); lh4.m.f(findViewById10, "findViewById(com.tencent…er_personal_post_red_dot)"); this.f196079j = (TextView) findViewById10; View findViewById11 = findViewById(R.id.kzm); k30.a aVar4 = new k30.a(); ThreadLocal<k30.a> threadLocal2 = k30.c.f244265a; aVar4.c(0); j30.a.d(findViewById11, aVar4.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "initPostBtn", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById11.setVisibility(((Integer) aVar4.a(0)).intValue()); j30.a.e(findViewById11, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "initPostBtn", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); View findViewById12 = findViewById(R.id.l05); k30.a aVar5 = new k30.a(); aVar5.c(8); j30.a.d(findViewById12, aVar5.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "initPostBtn", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById12.setVisibility(((Integer) aVar5.a(0)).intValue()); j30.a.e(findViewById12, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "initPostBtn", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); } view = this.f196076g; if (view == null) { view.setOnClickListener(new o(this)); View findViewById13 = findViewById(R.id.lqo); this.f196086t = findViewById13; if (findViewById13 != null) { k30.a aVar6 = new k30.a(); aVar6.c(8); j30.a.d(findViewById13, aVar6.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "initPostBtn", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById13.setVisibility(((Integer) aVar6.a(0)).intValue()); j30.a.e(findViewById13, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "initPostBtn", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); return; } return; } lh4.m.p("finderPosBtn"); throw null; } } i15 = f196072x0; f196072x0 = i15; boolean u152 = m60.d.u(i15, 1); StringBuilder sb52 = new StringBuilder(); sb52.append("FinderLive.entrance,xLab enable live:"); tn1.a aVar7 = tn1.a.f313149a; sb52.append(aVar7.a()); sb52.append(", server flag:"); sb52.append(f196072x0); sb52.append(", server enable live:"); sb52.append(u152); Log.i("Finder.SelfUIC", sb52.toString()); zz1.e.f356376d.getClass(); zz1.e.C4.p(); h4Var = h4.f119006a; if (!h4Var.k1()) { } View findViewById14 = findViewById(R.id.kzo); lh4.m.f(findViewById14, "findViewById<View>(com.t…ase.api.R.id.postBtn_new)"); this.f196076g = findViewById14; View findViewById22 = findViewById(R.id.fw8); lh4.m.f(findViewById22, "findViewById(com.tencent…finder_post_new_feed_new)"); this.f196077h = (TextView) findViewById22; View findViewById32 = findViewById(R.id.f363097ea1); lh4.m.f(findViewById32, "findViewById(com.tencent…_can_post_no_contact_new)"); this.f196078i = (TextView) findViewById32; View findViewById42 = findViewById(R.id.fvf); lh4.m.f(findViewById42, "findViewById(com.tencent…ersonal_post_red_dot_new)"); this.f196079j = (TextView) findViewById42; this.f196082p = findViewById(R.id.i4o); this.f196083q = (ImageView) findViewById(R.id.i_r); this.f196084r = (TextView) findViewById(R.id.fgo); this.f196085s = (TextView) findViewById(R.id.e_z); this.f196088v = findViewById(R.id.f363373fw2); View findViewById52 = findViewById(R.id.kzm); k30.a aVar22 = new k30.a(); ThreadLocal<k30.a> threadLocal3 = k30.c.f244265a; aVar22.c(8); j30.a.d(findViewById52, aVar22.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "initPostBtn", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById52.setVisibility(((Integer) aVar22.a(0)).intValue()); j30.a.e(findViewById52, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "initPostBtn", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); View findViewById62 = findViewById(R.id.l05); if (h4.s(h4Var, getContext(), null, 2, null) != 4) { } k30.a aVar32 = new k30.a(); aVar32.c(Integer.valueOf(i16)); j30.a.d(findViewById62, aVar32.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "initPostBtn", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById62.setVisibility(((Integer) aVar32.a(0)).intValue()); j30.a.e(findViewById62, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "initPostBtn", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); if (this.Q) { } imageView = this.f196083q; if (imageView != null) { } textView = this.f196084r; if (textView != null) { } textView2 = this.f196085s; if (textView2 != null) { } xz1 l152 = ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().l("FinderSelfLiveEntrance"); e1 c652 = ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().c6("FinderSelfLiveEntrance"); view2 = this.f196082p; if (view2 != null) { } x0 x0Var2 = x0.f109678a; m60.d.t(x0.f109706y, getActivity(), new n(this, c652, l152)); view = this.f196076g; if (view == null) { } } /* JADX WARNING: Code restructure failed: missing block: B:23:0x006c, code lost: if (r1 != null) goto L_0x0070; */ public final void C5() { String str; LinkedList<t34> linkedList; T t15; zz1.e.f356376d.getClass(); wg4.g gVar = zz1.e.f356382d6; boolean z15 = true; if (((Number) ((tl1.c) ((wg4.n) gVar).getValue()).t()).intValue() == 2) { str = "https://channels.weixin.qq.com/mobile/creator_center.html"; } else if (((Number) ((tl1.c) ((wg4.n) gVar).getValue()).t()).intValue() == 1) { str = "https://channels.weixin.qq.com/mobile-support/pages/creator/center"; } else { fp1 fp12 = this.f196074e; if (!(fp12 == null || (linkedList = fp12.f21904z) == null)) { Iterator<T> it = linkedList.iterator(); while (true) { if (!it.hasNext()) { t15 = null; break; } t15 = it.next(); FinderContact finderContact = t15.f37089e; if (lh4.m.b(finderContact != null ? finderContact.username : null, this.f196073d)) { break; } } T t16 = t15; if (t16 != null) { str = t16.f37096o; } } str = f196071p0; } View findViewById = findViewById(R.id.fwm); if (str.length() <= 0) { z15 = false; } if (!z15 || this.Q) { boolean z16 = this.T; View view = this.f196080n; if (view != null) { view.setEnabled(z16); k30.a aVar = new k30.a(); ThreadLocal<k30.a> threadLocal = k30.c.f244265a; aVar.c(8); j30.a.d(findViewById, aVar.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "initPosterEntrance", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById.setVisibility(((Integer) aVar.a(0)).intValue()); j30.a.e(findViewById, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "initPosterEntrance", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); return; } lh4.m.p("finderPosterEntrance"); throw null; } p0 p0Var = p0.f210888a; lh4.m.f(findViewById, "view"); p0.b(p0Var, findViewById, "creator_center", 0, 0, null, 28, null); f196071p0 = str; k30.a aVar2 = new k30.a(); ThreadLocal<k30.a> threadLocal2 = k30.c.f244265a; aVar2.c(0); j30.a.d(findViewById, aVar2.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "initPosterEntrance", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById.setVisibility(((Integer) aVar2.a(0)).intValue()); j30.a.e(findViewById, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "initPosterEntrance", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); View view2 = this.f196080n; if (view2 != null) { k30.a aVar3 = new k30.a(); aVar3.c(8); j30.a.d(view2, aVar3.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "initPosterEntrance", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); view2.setVisibility(((Integer) aVar3.a(0)).intValue()); j30.a.e(view2, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "initPosterEntrance", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); G5(); findViewById.setOnClickListener(new p(this, str)); return; } lh4.m.p("finderPosterEntrance"); throw null; } public final void D5(View view, View view2) { View view3; Integer num; View view4; int i15; int i16; e1 c65 = ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().c6("TLCamera"); if (c65 != null && c65.field_ctrInfo.f34621e == 1002) { ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().e("TLCamera"); } x0 x0Var = x0.f109678a; m60.d.t(x0.f109684d, getActivity(), this.Z); k30.a aVar = new k30.a(); ThreadLocal<k30.a> threadLocal = k30.c.f244265a; aVar.c(8); j30.a.d(view2, aVar.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "normalOrAbNomalUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); view2.setVisibility(((Integer) aVar.a(0)).intValue()); j30.a.e(view2, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "normalOrAbNomalUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); k30.a aVar2 = new k30.a(); aVar2.c(0); j30.a.d(view, aVar2.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "normalOrAbNomalUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); view.setVisibility(((Integer) aVar2.a(0)).intValue()); j30.a.e(view, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "normalOrAbNomalUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); View findViewById = findViewById(R.id.e7m); View s55 = s5(); ImageView imageView = (ImageView) findViewById(R.id.e_f); TextView textView = (TextView) findViewById(R.id.fuu); d.b bVar = sk1.d.f302423a; String str = this.f196073d; lh4.m.d(str); sk1.q b15 = bVar.b(str); ImageView imageView2 = (ImageView) findViewById(R.id.a85); View findViewById2 = findViewById(R.id.jf9); dj1.b bVar2 = dj1.b.f200487e; ij1.b a15 = a.C2191a.a(bVar2, this.f196073d, false, 2, null); sl0 sl02 = a15 != null ? a15.r2().J : null; if (!this.U || (sl02 != null && !cl1.b.a(sl02))) { view3 = findViewById2; num = 0; View t55 = t5(); k30.a aVar3 = new k30.a(); aVar3.c(8); j30.a.d(t55, aVar3.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "normalOrAbNomalUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); t55.setVisibility(((Integer) aVar3.a(0)).intValue()); j30.a.e(t55, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "normalOrAbNomalUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); } else { View t56 = t5(); k30.a aVar4 = new k30.a(); num = 0; aVar4.c(null); j30.a.d(t56, aVar4.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "normalOrAbNomalUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); view3 = findViewById2; t56.setVisibility(((Integer) aVar4.a(0)).intValue()); j30.a.e(t56, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "normalOrAbNomalUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); p6(); } if (b15 != null) { j80.d<j0> M3 = ((v0) y24.r.f342954a.e(e2.class).c(v0.class)).M3(); view4 = s55; tt1.f fVar = new tt1.f(b15.k0(), j3.V); lh4.m.f(imageView, "finderAvatar"); M3.c(fVar, imageView, ((v0) y24.r.f342954a.e(e2.class).c(v0.class)).W(h0.a.f315072h)); textView.setText(((hz.h) yz3.j.c(hz.h.class)).g2(getActivity(), b15.C1())); x4.m0(textView.getPaint(), 0.8f); h4 h4Var = h4.f119006a; lh4.m.f(imageView2, "authIcon"); h4.R1(h4Var, imageView2, b15.field_authInfo, 0, null, 12, null); FinderAuthInfo finderAuthInfo = b15.field_authInfo; int i17 = finderAuthInfo != null ? finderAuthInfo.authIconType : 0; ij1.b a16 = a.C2191a.a(bVar2, this.f196073d, false, 2, null); int i18 = a16 != null ? a16.r2().A : 0; if (i18 > 0) { TextView textView2 = (TextView) findViewById(R.id.egm); if (textView2 != null) { textView2.setVisibility(0); textView2.setText(getActivity().getResources().getString(R.string.cue, String.valueOf(i18))); wg4.b0 b0Var = wg4.b0.f332794a; } } else { View findViewById3 = findViewById(R.id.egm); k30.a aVar5 = new k30.a(); aVar5.c(8); j30.a.d(findViewById3, aVar5.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "normalOrAbNomalUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById3.setVisibility(((Integer) aVar5.a(0)).intValue()); j30.a.e(findViewById3, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "normalOrAbNomalUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); } textView.post(new t(this, textView, imageView2)); i16 = i17; i15 = i18; } else { view4 = s55; i16 = 0; i15 = 0; } k30.a aVar6 = new k30.a(); aVar6.c(num); j30.a.d(findViewById, aVar6.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "normalOrAbNomalUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById.setVisibility(((Integer) aVar6.a(0)).intValue()); j30.a.e(findViewById, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "normalOrAbNomalUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); k30.a aVar7 = new k30.a(); aVar7.c(num); j30.a.d(view4, aVar7.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "normalOrAbNomalUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); view4.setVisibility(((Integer) aVar7.a(0)).intValue()); j30.a.e(view4, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "normalOrAbNomalUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); if (v5() == 1) { k30.a aVar8 = new k30.a(); aVar8.c(num); j30.a.d(view3, aVar8.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "normalOrAbNomalUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); view3.setVisibility(((Integer) aVar8.a(0)).intValue()); j30.a.e(view3, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "normalOrAbNomalUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); } else { k30.a aVar9 = new k30.a(); aVar9.c(8); j30.a.d(view3, aVar9.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "normalOrAbNomalUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); view3.setVisibility(((Integer) aVar9.a(0)).intValue()); j30.a.e(view3, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "normalOrAbNomalUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); } if (findViewById(R.id.fwm).getVisibility() == 0 || this.Q) { View view5 = this.f196080n; if (view5 != null) { k30.a aVar10 = new k30.a(); aVar10.c(8); j30.a.d(view5, aVar10.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "normalOrAbNomalUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); view5.setVisibility(((Integer) aVar10.a(0)).intValue()); j30.a.e(view5, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "normalOrAbNomalUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); } else { lh4.m.p("finderPosterEntrance"); throw null; } } else { View view6 = this.f196080n; if (view6 != null) { k30.a aVar11 = new k30.a(); aVar11.c(num); j30.a.d(view6, aVar11.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "normalOrAbNomalUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); view6.setVisibility(((Integer) aVar11.a(0)).intValue()); j30.a.e(view6, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "normalOrAbNomalUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); View view7 = this.f196080n; if (view7 != null) { ViewGroup viewGroup = (ViewGroup) view7; AppCompatActivity activity = getActivity(); lh4.m.g(activity, "owner"); viewGroup.setOnClickListener(g2.f118962d); View findViewById4 = viewGroup.findViewById(R.id.cmh); k30.a aVar12 = new k30.a(); aVar12.c(4); j30.a.d(findViewById4, aVar12.b(), "com/tencent/mm/plugin/finder/utils/FinderPosterCenterUtil", "initEntrance", "(Landroid/view/ViewGroup;Landroidx/lifecycle/LifecycleOwner;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById4.setVisibility(((Integer) aVar12.a(0)).intValue()); j30.a.e(findViewById4, "com/tencent/mm/plugin/finder/utils/FinderPosterCenterUtil", "initEntrance", "(Landroid/view/ViewGroup;Landroidx/lifecycle/LifecycleOwner;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); m60.d.t(x0.J, activity, new h2(findViewById4)); } else { lh4.m.p("finderPosterEntrance"); throw null; } } else { lh4.m.p("finderPosterEntrance"); throw null; } } int[] a17 = z0.f109713a.a(r32.b.c(getContext())); Log.i("Finder.SelfUIC", "redDot check likeCount :" + a17[0] + " commentCount " + a17[1] + " followCount " + a17[2] + ' '); x xVar = new x(this, sl02); findViewById.setTag(R.id.m7g, xVar); findViewById.setOnClickListener(xVar); y yVar = new y(this); view4.setTag(R.id.m7g, yVar); view4.setOnClickListener(yVar); ij1.b a18 = a.C2191a.a(bVar2, this.f196073d, false, 2, null); boolean t25 = a18 != null ? a18.t2() : false; boolean z15 = (((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().l("TLCamera") == null || ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().c6("TLCamera") == null || !((q00.g) yz3.j.c(q00.g.class)).bG(true)) ? false : true; z zVar = new z(this, z15, t25); View view8 = this.f196076g; if (view8 != null) { y74.m.h(view8, new u(this, z15, t25)); View view9 = this.f196076g; if (view9 != null) { view9.setTag(R.id.m7g, zVar); View view10 = this.f196076g; if (view10 != null) { view10.setOnClickListener(zVar); View view11 = this.f196076g; if (view11 != null) { k30.a aVar13 = new k30.a(); aVar13.c(num); j30.a.d(view11, aVar13.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "normalOrAbNomalUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); view11.setVisibility(((Integer) aVar13.a(0)).intValue()); j30.a.e(view11, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "normalOrAbNomalUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); I5(true); if (getIntent().getBooleanExtra("key_from_sns_post", false)) { View view12 = this.f196076g; if (view12 != null) { view12.post(new v(this)); getIntent().removeExtra("key_from_sns_post"); } else { lh4.m.p("finderPosBtn"); throw null; } } String str2 = this.f196073d; if (str2 != null) { TextView textView3 = (TextView) findViewById(R.id.g29); ij1.h j65 = bVar2.j6(str2); if (j65 != null) { if (j65.f233533a == 1) { LinearLayout linearLayout = (LinearLayout) view; int childCount = linearLayout.getChildCount(); for (int i19 = 0; i19 < childCount; i19++) { View childAt = linearLayout.getChildAt(i19); if (childAt != null) { int id5 = childAt.getId(); if (id5 == R.id.e7m) { k30.a aVar14 = new k30.a(); aVar14.c(num); j30.a.d(childAt, aVar14.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "normalOrAbNomalUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); childAt.setVisibility(((Integer) aVar14.a(0)).intValue()); j30.a.e(childAt, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "normalOrAbNomalUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); } else if (id5 == R.id.l05) { k30.a aVar15 = new k30.a(); aVar15.c(8); j30.a.d(childAt, aVar15.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "normalOrAbNomalUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); childAt.setVisibility(((Integer) aVar15.a(0)).intValue()); j30.a.e(childAt, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "normalOrAbNomalUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); } else { childAt.setOnClickListener(new w(this)); } wg4.b0 b0Var2 = wg4.b0.f332794a; } } textView3.setVisibility(0); textView3.setText(getActivity().getString(R.string.cho)); } else { LinearLayout linearLayout2 = (LinearLayout) view; int childCount2 = linearLayout2.getChildCount(); for (int i25 = 0; i25 < childCount2; i25++) { View childAt2 = linearLayout2.getChildAt(i25); if (childAt2 != null) { Object tag = childAt2.getTag(R.id.m7g); View.OnClickListener onClickListener = tag instanceof View.OnClickListener ? (View.OnClickListener) tag : null; if (onClickListener != null) { childAt2.setOnClickListener(onClickListener); wg4.b0 b0Var3 = wg4.b0.f332794a; } } } textView3.setText(""); textView3.setVisibility(8); } wg4.b0 b0Var4 = wg4.b0.f332794a; } } View findViewById5 = findViewById(R.id.e7m); if (findViewById5 != null) { findViewById5.setTag(R.id.e79, textView.getText()); findViewById5.setTag(R.id.e5t, Integer.valueOf(i15)); findViewById5.setTag(R.id.e5i, Integer.valueOf(i16)); wg4.b0 b0Var5 = wg4.b0.f332794a; return; } return; } lh4.m.p("finderPosBtn"); throw null; } lh4.m.p("finderPosBtn"); throw null; } lh4.m.p("finderPosBtn"); throw null; } lh4.m.p("finderPosBtn"); throw null; } /* JADX WARNING: Removed duplicated region for block: B:109:0x0bff */ /* JADX WARNING: Removed duplicated region for block: B:130:0x0d6a */ /* JADX WARNING: Removed duplicated region for block: B:133:0x0d70 */ /* JADX WARNING: Removed duplicated region for block: B:166:0x0e9d */ public final void E5() { String str; boolean z15; String str2; fp1 fp12; int i15; TextView textView; boolean z16; String str3; String str4; String str5; LinkedList<x95> linkedList; LinkedList<x95> linkedList2; h0.a aVar = h0.a.f315072h; h4.a aVar2 = h4.a.REFRESH_8; String c15 = r32.b.c(getContext()); this.f196073d = c15; ij1.b a15 = a.C2191a.a(dj1.b.f200487e, c15, false, 2, null); this.Q = a15 != null ? a15.s2() : false; Log.i("Finder.SelfUIC", "myFinderUser " + this.f196073d); A5(); z5(); C5(); L5(); o6(); M5(); y24.r rVar = y24.r.f342954a; ((u1) rVar.c(getActivity()).c(u1.class)).K(); View findViewById = findViewById(R.id.f363557gx2); View findViewById2 = findViewById(R.id.f364139kc1); fp1 fp13 = this.f196074e; if ((fp13 == null || (linkedList2 = fp13.C) == null || !(linkedList2.isEmpty() ^ true)) ? false : true) { lh4.m.f(findViewById, "hasContactContainer"); lh4.m.f(findViewById2, "noContactContainer"); k30.a aVar3 = new k30.a(); ThreadLocal<k30.a> threadLocal = k30.c.f244265a; aVar3.c(8); str3 = ""; j30.a.d(findViewById2, aVar3.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "needCompleteAccountUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById2.setVisibility(((Integer) aVar3.a(0)).intValue()); j30.a.e(findViewById2, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "needCompleteAccountUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); k30.a aVar4 = new k30.a(); aVar4.c(0); j30.a.d(findViewById, aVar4.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "needCompleteAccountUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById.setVisibility(((Integer) aVar4.a(0)).intValue()); j30.a.e(findViewById, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "needCompleteAccountUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); ImageView imageView = (ImageView) findViewById(R.id.e_f); TextView textView2 = (TextView) findViewById(R.id.fuu); TextView textView3 = (TextView) findViewById(R.id.g29); View s55 = s5(); k30.a aVar5 = new k30.a(); aVar5.c(8); str = "Finder.SelfUIC"; j30.a.d(s55, aVar5.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "needCompleteAccountUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); s55.setVisibility(((Integer) aVar5.a(0)).intValue()); j30.a.e(s55, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "needCompleteAccountUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); View view = this.f196076g; if (view != null) { k30.a aVar6 = new k30.a(); aVar6.c(8); j30.a.d(view, aVar6.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "needCompleteAccountUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); view.setVisibility(((Integer) aVar6.a(0)).intValue()); j30.a.e(view, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "needCompleteAccountUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); I5(false); View view2 = this.f196080n; if (view2 != null) { k30.a aVar7 = new k30.a(); aVar7.c(8); j30.a.d(view2, aVar7.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "needCompleteAccountUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); view2.setVisibility(((Integer) aVar7.a(0)).intValue()); j30.a.e(view2, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "needCompleteAccountUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); View findViewById3 = findViewById(R.id.fwm); k30.a aVar8 = new k30.a(); aVar8.c(8); j30.a.d(findViewById3, aVar8.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "needCompleteAccountUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById3.setVisibility(((Integer) aVar8.a(0)).intValue()); j30.a.e(findViewById3, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "needCompleteAccountUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); View t55 = t5(); k30.a aVar9 = new k30.a(); aVar9.c(8); j30.a.d(t55, aVar9.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "needCompleteAccountUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); t55.setVisibility(((Integer) aVar9.a(0)).intValue()); j30.a.e(t55, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "needCompleteAccountUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); View findViewById4 = findViewById(R.id.e7x); k30.a aVar10 = new k30.a(); aVar10.c(8); j30.a.d(findViewById4, aVar10.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "needCompleteAccountUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById4.setVisibility(((Integer) aVar10.a(0)).intValue()); j30.a.e(findViewById4, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "needCompleteAccountUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); View findViewById5 = findViewById(R.id.l05); k30.a aVar11 = new k30.a(); aVar11.c(8); j30.a.d(findViewById5, aVar11.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "needCompleteAccountUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById5.setVisibility(((Integer) aVar11.a(0)).intValue()); j30.a.e(findViewById5, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "needCompleteAccountUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); View findViewById6 = findViewById(R.id.i_u); k30.a aVar12 = new k30.a(); aVar12.c(8); j30.a.d(findViewById6, aVar12.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "needCompleteAccountUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById6.setVisibility(((Integer) aVar12.a(0)).intValue()); j30.a.e(findViewById6, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "needCompleteAccountUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); ((e2) yz3.j.c(e2.class)).lJ0().g().a(r32.b.c(getActivity()), aVar2); fp1 fp14 = this.f196074e; x95 x95 = (fp14 == null || (linkedList = fp14.C) == null) ? null : (x95) xg4.c0.Q(linkedList); j80.d<j0> M3 = ((v0) rVar.e(e2.class).c(v0.class)).M3(); if (x95 == null || (str5 = x95.f41960e) == null) { str5 = str3; } tt1.f fVar = new tt1.f(str5, j3.V); lh4.m.f(imageView, "finderAvatar"); M3.c(fVar, imageView, ((v0) rVar.e(e2.class).c(v0.class)).W(aVar)); textView2.setText(((hz.h) yz3.j.c(hz.h.class)).g2(getActivity(), x95 != null ? x95.f41959d : null)); x4.m0(textView2.getPaint(), 0.8f); textView3.setVisibility(0); textView3.setText(getResources().getString(R.string.f3j)); int i16 = x95 != null ? x95.f41961f : 0; if (i16 > 0) { TextView textView4 = (TextView) findViewById(R.id.egm); if (textView4 != null) { textView4.setVisibility(0); textView4.setText(getActivity().getResources().getString(R.string.cue, String.valueOf(i16))); } } else { View findViewById7 = findViewById(R.id.egm); k30.a aVar13 = new k30.a(); aVar13.c(8); j30.a.d(findViewById7, aVar13.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "needCompleteAccountUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById7.setVisibility(((Integer) aVar13.a(0)).intValue()); j30.a.e(findViewById7, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "needCompleteAccountUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); } View findViewById8 = findViewById(R.id.e7m); findViewById8.setOnClickListener(new ec(x95, this)); p0.b(p0.f210888a, findViewById8, "open_complete_function", 0, 0, null, 28, null); } else { lh4.m.p("finderPosterEntrance"); throw null; } } else { lh4.m.p("finderPosBtn"); throw null; } } else { str = "Finder.SelfUIC"; str3 = ""; com.tencent.mm.plugin.finder.utils.h4 h4Var = com.tencent.mm.plugin.finder.utils.h4.f119006a; switch (com.tencent.mm.plugin.finder.utils.h4.s(h4Var, getContext(), null, 2, null)) { case 1: str2 = str3; lh4.m.f(findViewById, "hasContactContainer"); lh4.m.f(findViewById2, "noContactContainer"); boolean l15 = h4Var.l1(); k30.a aVar14 = new k30.a(); ThreadLocal<k30.a> threadLocal2 = k30.c.f244265a; aVar14.c(0); j30.a.d(findViewById2, aVar14.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "noPostQualityUI", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById2.setVisibility(((Integer) aVar14.a(0)).intValue()); j30.a.e(findViewById2, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "noPostQualityUI", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); k30.a aVar15 = new k30.a(); aVar15.c(8); j30.a.d(findViewById, aVar15.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "noPostQualityUI", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById.setVisibility(((Integer) aVar15.a(0)).intValue()); j30.a.e(findViewById, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "noPostQualityUI", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); if (l15) { zz1.e.f356376d.getClass(); if (((Number) ((tl1.c) ((wg4.n) zz1.e.f356656y7).getValue()).t()).intValue() == 0) { ((TextView) findViewById2).setText(getActivity().getString(R.string.etc)); } } z15 = false; break; case 2: lh4.m.f(findViewById, "hasContactContainer"); lh4.m.f(findViewById2, "noContactContainer"); if (h4Var.l1()) { zz1.e.f356376d.getClass(); if (((Number) ((tl1.c) ((wg4.n) zz1.e.f356656y7).getValue()).t()).intValue() == 0) { k30.a aVar16 = new k30.a(); ThreadLocal<k30.a> threadLocal3 = k30.c.f244265a; aVar16.c(0); str4 = str3; j30.a.d(findViewById2, aVar16.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "canPostButNoAccountUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById2.setVisibility(((Integer) aVar16.a(0)).intValue()); j30.a.e(findViewById2, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "canPostButNoAccountUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); k30.a aVar17 = new k30.a(); aVar17.c(8); j30.a.d(findViewById, aVar17.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "canPostButNoAccountUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById.setVisibility(((Integer) aVar17.a(0)).intValue()); j30.a.e(findViewById, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "canPostButNoAccountUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); ((TextView) findViewById2).setText(getActivity().getString(R.string.etc)); str2 = str4; z15 = false; break; } } str4 = str3; k30.a aVar18 = new k30.a(); ThreadLocal<k30.a> threadLocal4 = k30.c.f244265a; aVar18.c(8); j30.a.d(findViewById2, aVar18.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "canPostButNoAccountUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById2.setVisibility(((Integer) aVar18.a(0)).intValue()); j30.a.e(findViewById2, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "canPostButNoAccountUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); k30.a aVar19 = new k30.a(); aVar19.c(0); j30.a.d(findViewById, aVar19.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "canPostButNoAccountUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById.setVisibility(((Integer) aVar19.a(0)).intValue()); j30.a.e(findViewById, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "canPostButNoAccountUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); ((e2) yz3.j.c(e2.class)).lJ0().g().a(r32.b.c(getActivity()), aVar2); View s56 = s5(); k30.a aVar20 = new k30.a(); aVar20.c(8); j30.a.d(s56, aVar20.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "canPostButNoAccountUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); s56.setVisibility(((Integer) aVar20.a(0)).intValue()); j30.a.e(s56, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "canPostButNoAccountUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); View findViewById9 = findViewById(R.id.jf9); k30.a aVar21 = new k30.a(); aVar21.c(8); j30.a.d(findViewById9, aVar21.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "canPostButNoAccountUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById9.setVisibility(((Integer) aVar21.a(0)).intValue()); j30.a.e(findViewById9, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "canPostButNoAccountUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); View findViewById10 = findViewById(R.id.e7m); k30.a aVar22 = new k30.a(); aVar22.c(8); j30.a.d(findViewById10, aVar22.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "canPostButNoAccountUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById10.setVisibility(((Integer) aVar22.a(0)).intValue()); j30.a.e(findViewById10, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "canPostButNoAccountUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); View t56 = t5(); k30.a aVar23 = new k30.a(); aVar23.c(8); j30.a.d(t56, aVar23.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "canPostButNoAccountUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); t56.setVisibility(((Integer) aVar23.a(0)).intValue()); j30.a.e(t56, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "canPostButNoAccountUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); View view3 = this.f196080n; if (view3 != null) { k30.a aVar24 = new k30.a(); aVar24.c(8); j30.a.d(view3, aVar24.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "canPostButNoAccountUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); view3.setVisibility(((Integer) aVar24.a(0)).intValue()); j30.a.e(view3, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "canPostButNoAccountUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); View findViewById11 = findViewById(R.id.fwm); k30.a aVar25 = new k30.a(); aVar25.c(8); j30.a.d(findViewById11, aVar25.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "canPostButNoAccountUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById11.setVisibility(((Integer) aVar25.a(0)).intValue()); j30.a.e(findViewById11, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "canPostButNoAccountUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); boolean booleanExtra = getIntent().getBooleanExtra("key_from_sns_post", false); boolean z17 = (((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().l("TLCamera") == null || ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().c6("TLCamera") == null || !((q00.g) yz3.j.c(q00.g.class)).bG(true)) ? false : true; View view4 = this.f196076g; if (view4 != null) { view4.setOnClickListener(new xa(this, z17, booleanExtra)); View view5 = this.f196076g; if (view5 != null) { y74.m.h(view5, new ya(this, z17)); if (booleanExtra && this.f196074e != null) { View view6 = this.f196076g; if (view6 != null) { view6.post(new za(this)); getIntent().removeExtra("key_from_sns_post"); } else { lh4.m.p("finderPosBtn"); throw null; } } m60.d.t(x0.f109684d, getActivity(), this.Y); I5(true); m60.d.t(x0.A, getActivity(), new cb(this)); str2 = str4; z15 = false; } else { lh4.m.p("finderPosBtn"); throw null; } } else { lh4.m.p("finderPosBtn"); throw null; } } else { lh4.m.p("finderPosterEntrance"); throw null; } case 3: case 6: lh4.m.f(findViewById, "hasContactContainer"); lh4.m.f(findViewById2, "noContactContainer"); D5(findViewById, findViewById2); str2 = str3; z15 = true; break; case 4: lh4.m.f(findViewById, "hasContactContainer"); lh4.m.f(findViewById2, "noContactContainer"); ((e2) yz3.j.c(e2.class)).lJ0().g().a(r32.b.c(getActivity()), aVar2); k30.a aVar26 = new k30.a(); ThreadLocal<k30.a> threadLocal5 = k30.c.f244265a; aVar26.c(8); j30.a.d(findViewById2, aVar26.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "accountAbnormal", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById2.setVisibility(((Integer) aVar26.a(0)).intValue()); j30.a.e(findViewById2, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "accountAbnormal", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); k30.a aVar27 = new k30.a(); aVar27.c(0); j30.a.d(findViewById, aVar27.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "accountAbnormal", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById.setVisibility(((Integer) aVar27.a(0)).intValue()); j30.a.e(findViewById, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "accountAbnormal", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); View s57 = s5(); k30.a aVar28 = new k30.a(); aVar28.c(8); j30.a.d(s57, aVar28.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "accountAbnormal", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); s57.setVisibility(((Integer) aVar28.a(0)).intValue()); j30.a.e(s57, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "accountAbnormal", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); View findViewById12 = findViewById(R.id.jf9); k30.a aVar29 = new k30.a(); aVar29.c(8); j30.a.d(findViewById12, aVar29.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "accountAbnormal", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById12.setVisibility(((Integer) aVar29.a(0)).intValue()); j30.a.e(findViewById12, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "accountAbnormal", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); View view7 = this.f196080n; if (view7 != null) { k30.a aVar30 = new k30.a(); aVar30.c(8); j30.a.d(view7, aVar30.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "accountAbnormal", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); view7.setVisibility(((Integer) aVar30.a(0)).intValue()); j30.a.e(view7, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "accountAbnormal", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); View findViewById13 = findViewById(R.id.fwm); k30.a aVar31 = new k30.a(); aVar31.c(8); j30.a.d(findViewById13, aVar31.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "accountAbnormal", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById13.setVisibility(((Integer) aVar31.a(0)).intValue()); j30.a.e(findViewById13, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "accountAbnormal", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); View view8 = this.f196076g; if (view8 != null) { k30.a aVar32 = new k30.a(); aVar32.c(8); j30.a.d(view8, aVar32.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "accountAbnormal", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); view8.setVisibility(((Integer) aVar32.a(0)).intValue()); j30.a.e(view8, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "accountAbnormal", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); I5(false); j80.d<j0> M32 = ((v0) rVar.e(e2.class).c(v0.class)).M3(); tt1.f fVar2 = new tt1.f(str3, null, 2, null); View findViewById14 = findViewById(R.id.e_f); lh4.m.f(findViewById14, "findViewById<ImageView>(R.id.finder_avatar_iv)"); M32.c(fVar2, (ImageView) findViewById14, ((v0) rVar.e(e2.class).c(v0.class)).W(aVar)); ((TextView) findViewById(R.id.fuu)).setText(getResources().getString(R.string.chi)); findViewById(R.id.e7m).setOnClickListener(new va(this)); if (getIntent().getBooleanExtra("key_from_sns_post", false)) { findViewById(R.id.e7m).post(new wa(this)); getIntent().removeExtra("key_from_sns_post"); } View t57 = t5(); k30.a aVar33 = new k30.a(); aVar33.c(8); j30.a.d(t57, aVar33.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "accountAbnormal", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); t57.setVisibility(((Integer) aVar33.a(0)).intValue()); j30.a.e(t57, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "accountAbnormal", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); str2 = str3; z15 = false; break; } else { lh4.m.p("finderPosBtn"); throw null; } } else { lh4.m.p("finderPosterEntrance"); throw null; } case 5: lh4.m.f(findViewById, "hasContactContainer"); lh4.m.f(findViewById2, "noContactContainer"); l5(findViewById, findViewById2); default: str2 = str3; z15 = false; break; } fp12 = this.f196074e; if (fp12 == null) { View findViewById15 = findViewById(R.id.hpk); View findViewById16 = findViewById(R.id.hpi); if (fp12.f21892n > 0) { TextView textView5 = (TextView) findViewById(R.id.i1l); if (textView5 != null) { textView5.setText(s0.d((long) fp12.f21892n)); textView5.setVisibility(0); } } else { ((TextView) findViewById(R.id.i1l)).setVisibility(8); } if (fp12.f21893o > 0) { TextView textView6 = (TextView) findViewById(R.id.dub); if (textView6 != null) { textView6.setText(s0.d((long) fp12.f21893o)); textView6.setVisibility(0); } H5(true); } else { ((TextView) findViewById(R.id.dub)).setVisibility(8); H5(false); } if (fp12.f21896r > 0 || fp12.I > 0) { i15 = 8; ((TextView) findViewById(R.id.fjl)).setText(String.valueOf(fp12.f21896r + fp12.I)); View findViewById17 = findViewById(R.id.hpo); k30.a aVar34 = new k30.a(); ThreadLocal<k30.a> threadLocal6 = k30.c.f244265a; aVar34.c(0); j30.a.d(findViewById17, aVar34.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "refreshSelf", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById17.setVisibility(((Integer) aVar34.a(0)).intValue()); j30.a.e(findViewById17, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "refreshSelf", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); } else { ((TextView) findViewById(R.id.fjl)).setText(str2); View findViewById18 = findViewById(R.id.hpo); k30.a aVar35 = new k30.a(); ThreadLocal<k30.a> threadLocal7 = k30.c.f244265a; i15 = 8; aVar35.c(8); j30.a.d(findViewById18, aVar35.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "refreshSelf", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById18.setVisibility(((Integer) aVar35.a(0)).intValue()); j30.a.e(findViewById18, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "refreshSelf", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); } Log.i(str, "likeCount = " + fp12.f21892n + ",favCount = " + fp12.f21893o + ",purchased_total_count=" + fp12.f21896r); findViewById15.setTag(R.id.f363076e61, Integer.valueOf(fp12.f21892n)); findViewById16.setTag(R.id.e7i, Integer.valueOf(fp12.f21893o)); } else { i15 = 8; } textView = this.f196077h; if (textView == null) { x4.m0(textView.getPaint(), 0.8f); TextView textView7 = this.f196084r; x4.m0(textView7 != null ? textView7.getPaint() : null, 0.8f); View findViewById19 = findViewById(R.id.f363397g20); k30.a aVar36 = new k30.a(); ThreadLocal<k30.a> threadLocal8 = k30.c.f244265a; aVar36.c(0); j30.a.d(findViewById19, aVar36.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "refreshSelf", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById19.setVisibility(((Integer) aVar36.a(0)).intValue()); j30.a.e(findViewById19, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "refreshSelf", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); if (getIntent().getBooleanExtra("key_from_sns_post", false)) { View view9 = this.f196076g; if (view9 != null) { view9.post(new b0(view9)); getIntent().removeExtra("key_from_sns_post"); } else { lh4.m.p("finderPosBtn"); throw null; } } m5(); sk1.q b15 = sk1.d.f302423a.b(r32.b.c(getContext())); fh b16 = b15 != null ? sk1.c.b(b15, true) : null; View findViewById20 = findViewById(R.id.aki); if (findViewById20 != null) { int i17 = (b16 == null || !z15) ? i15 : 0; k30.a aVar37 = new k30.a(); aVar37.c(Integer.valueOf(i17)); j30.a.d(findViewById20, aVar37.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "refreshSelf", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); z16 = false; findViewById20.setVisibility(((Integer) aVar37.a(0)).intValue()); j30.a.e(findViewById20, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "refreshSelf", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); y74.m.h(findViewById20, new c0(this)); findViewById20.setOnClickListener(new d0(this, b16)); } else { z16 = false; } n5(); x0 x0Var = x0.f109678a; x0.a value = x0.N.getValue(); if (value != null) { J5(value.f109520a ? true : z16, value.f109523d); } x0.a value2 = x0.f109688g.getValue(); if (value2 != null) { K5(value2.f109520a, value2.f109523d); return; } return; } lh4.m.p("finderPostNewFeed"); throw null; } str2 = str3; z15 = false; fp12 = this.f196074e; if (fp12 == null) { } textView = this.f196077h; if (textView == null) { } } public final void F5() { long j15; long j16; boolean z15; long j17; xz1 xz12; boolean z16; int i15; boolean z17; boolean z18; yz3.d c15 = yz3.j.c(f1.class); lh4.m.f(c15, "getService(FinderReportLogic::class.java)"); f1.DO0((f1) c15, getActivity(), this.D, this.B, 1, 1, false, 0, null, null, FileUtils.S_IRWXU, null); yz3.d c16 = yz3.j.c(f1.class); lh4.m.f(c16, "getService(FinderReportLogic::class.java)"); f1.DO0((f1) c16, getActivity(), this.D, this.B, 1, 10, false, 0, null, null, FileUtils.S_IRWXU, null); yz3.d c17 = yz3.j.c(f1.class); lh4.m.f(c17, "getService(FinderReportLogic::class.java)"); f1 f1Var = (f1) c17; AppCompatActivity activity = getActivity(); long j18 = this.D; boolean z19 = this.B; fp1 fp12 = this.f196074e; if (fp12 != null) { j15 = (long) fp12.f21892n; } else { j15 = 0; } f1.DO0(f1Var, activity, j18, z19, 1, 2, false, j15, null, null, 384, null); yz3.d c18 = yz3.j.c(f1.class); lh4.m.f(c18, "getService(FinderReportLogic::class.java)"); f1 f1Var2 = (f1) c18; AppCompatActivity activity2 = getActivity(); long j19 = this.D; boolean z25 = this.B; fp1 fp13 = this.f196074e; if (fp13 != null) { j16 = (long) fp13.f21893o; } else { j16 = 0; } f1.DO0(f1Var2, activity2, j19, z25, 1, 3, false, j16, null, null, 384, null); xz1 l15 = ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().l("WxMessageEntry"); xz1 l16 = ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().l("WxMessageEntryRight"); yz3.d c19 = yz3.j.c(f1.class); lh4.m.f(c19, "getService(FinderReportLogic::class.java)"); f1 f1Var3 = (f1) c19; AppCompatActivity activity3 = getActivity(); long j25 = this.D; boolean z26 = this.B; boolean z27 = true; if (l15 == null && l16 == null) { z15 = false; } else { z15 = true; } if (l15 != null) { j17 = (long) l15.f42762e; } else { j17 = 0; } f1.DO0(f1Var3, activity3, j25, z26, 1, 4, z15, j17, null, null, 384, null); e1 L2 = ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().L("finder_private_msg_entrance", this.f196073d); View view = null; if (L2 != null) { xz12 = L2.t2("finder_private_msg_entrance"); } else { xz12 = null; } f1 f1Var4 = (f1) yz3.j.c(f1.class); AppCompatActivity activity4 = getActivity(); long j26 = this.D; boolean z28 = this.B; if (xz12 != null) { z16 = true; } else { z16 = false; } if (xz12 != null) { i15 = xz12.f42762e; } else { i15 = 0; } f1Var4.CO0(activity4, j26, z28, 1, 6, z16, (long) i15, r5(xz12), r32.b.c(getContext())); long w55 = w5(); yz3.d c25 = yz3.j.c(f1.class); lh4.m.f(c25, "getService(FinderReportLogic::class.java)"); f1 f1Var5 = (f1) c25; AppCompatActivity activity5 = getActivity(); long j27 = this.D; boolean z29 = this.B; if (w55 > 0) { z17 = true; } else { z17 = false; } f1.DO0(f1Var5, activity5, j27, z29, 1, 7, z17, w55, null, null, 384, null); xz1 l17 = ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().l("CreatorCenter"); yz3.d c26 = yz3.j.c(f1.class); lh4.m.f(c26, "getService(FinderReportLogic::class.java)"); f1 f1Var6 = (f1) c26; AppCompatActivity activity6 = getActivity(); long j28 = this.D; boolean z35 = this.B; if (l17 != null) { z18 = true; } else { z18 = false; } f1.DO0(f1Var6, activity6, j28, z35, 1, 8, z18, 0, null, null, FileUtils.S_IRWXU, null); View findViewById = findViewById(R.id.i_u); if (findViewById.getVisibility() != 0) { z27 = false; } if (z27) { view = findViewById; } if (view != null) { yz3.d c27 = yz3.j.c(f1.class); lh4.m.f(c27, "getService(FinderReportLogic::class.java)"); f1.DO0((f1) c27, getActivity(), this.D, false, 1, 9, false, 0, null, null, 384, null); } } public final void G5() { String str; String c15 = r32.b.c(getContext()); ij1.b a15 = a.C2191a.a(dj1.b.f200487e, this.f196073d, false, 2, null); if (a15 == null || (str = a15.r2().E) == null) { str = ""; } TextView textView = (TextView) findViewById(R.id.cmm); View findViewById = findViewById(R.id.cmn); xz1 l15 = ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().l("CreatorCenter"); Log.i("Finder.SelfUIC", "setCreatorCenterHint defaultUsername:" + c15 + " hint:" + str + " showInfo:" + l15); if (l15 == null && !Util.isNullOrNil(str)) { textView.setText(str); textView.setVisibility(0); k30.a aVar = new k30.a(); ThreadLocal<k30.a> threadLocal = k30.c.f244265a; aVar.c(0); j30.a.d(findViewById, aVar.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "setCreatorCenterHint", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById.setVisibility(((Integer) aVar.a(0)).intValue()); j30.a.e(findViewById, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "setCreatorCenterHint", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); } } public final void H5(boolean z15) { zz1.e eVar = zz1.e.f356376d; eVar.getClass(); ((tl1.d) ((wg4.n) zz1.e.Oa).getValue()).getClass(); t1 i15 = d60.z.s().i(); w1.a aVar = w1.a.Il; boolean h15 = i15.h(aVar, true); eVar.getClass(); if (zz1.e.Na.t().intValue() != 1) { return; } if (!z15 || !h15) { ((TextView) findViewById(R.id.duc)).setVisibility(8); View findViewById = findViewById(R.id.dud); k30.a aVar2 = new k30.a(); ThreadLocal<k30.a> threadLocal = k30.c.f244265a; aVar2.c(8); j30.a.d(findViewById, aVar2.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "setFavTips", "(Z)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById.setVisibility(((Integer) aVar2.a(0)).intValue()); j30.a.e(findViewById, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "setFavTips", "(Z)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); d60.z.s().i().L(aVar, Boolean.FALSE); return; } ((TextView) findViewById(R.id.duc)).setVisibility(0); View findViewById2 = findViewById(R.id.dud); k30.a aVar3 = new k30.a(); ThreadLocal<k30.a> threadLocal2 = k30.c.f244265a; aVar3.c(0); j30.a.d(findViewById2, aVar3.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "setFavTips", "(Z)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById2.setVisibility(((Integer) aVar3.a(0)).intValue()); j30.a.e(findViewById2, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "setFavTips", "(Z)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); } public final void I5(boolean z15) { tn1.a aVar = tn1.a.f313149a; boolean z16 = tn1.a.f313244p4.t().intValue() != 1 && x4.z(); Log.i("Finder.SelfUIC", "setLivePostBtnVisible is pad:" + z16 + ",visible:" + z15); if (!z15 || z16) { View view = this.f196088v; if (view != null) { k30.a aVar2 = new k30.a(); ThreadLocal<k30.a> threadLocal = k30.c.f244265a; aVar2.c(8); j30.a.d(view, aVar2.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "setLivePostBtnVisible", "(Z)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); view.setVisibility(((Integer) aVar2.a(0)).intValue()); j30.a.e(view, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "setLivePostBtnVisible", "(Z)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); } View view2 = this.f196082p; if (view2 != null) { k30.a aVar3 = new k30.a(); ThreadLocal<k30.a> threadLocal2 = k30.c.f244265a; aVar3.c(8); j30.a.d(view2, aVar3.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "setLivePostBtnVisible", "(Z)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); view2.setVisibility(((Integer) aVar3.a(0)).intValue()); j30.a.e(view2, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "setLivePostBtnVisible", "(Z)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); } } else { View view3 = this.f196082p; if (view3 != null) { k30.a aVar4 = new k30.a(); ThreadLocal<k30.a> threadLocal3 = k30.c.f244265a; aVar4.c(0); j30.a.d(view3, aVar4.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "setLivePostBtnVisible", "(Z)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); view3.setVisibility(((Integer) aVar4.a(0)).intValue()); j30.a.e(view3, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "setLivePostBtnVisible", "(Z)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); } View view4 = this.f196088v; if (view4 != null) { k30.a aVar5 = new k30.a(); ThreadLocal<k30.a> threadLocal4 = k30.c.f244265a; aVar5.c(0); j30.a.d(view4, aVar5.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "setLivePostBtnVisible", "(Z)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); view4.setVisibility(((Integer) aVar5.a(0)).intValue()); j30.a.e(view4, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "setLivePostBtnVisible", "(Z)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); } } View view5 = this.f196082p; if (view5 != null) { ta f15 = ta.W0.f(getActivity()); Integer num = null; bv1 l05 = f15 != null ? f15.l0() : null; z81.g gVar = (z81.g) yz3.j.c(z81.g.class); gVar.ce0(view5, "start_live"); gVar.kW(view5, 40, 25496); wg4.l[] lVarArr = new wg4.l[3]; lVarArr[0] = new wg4.l("finder_context_id", l05 != null ? l05.f17671e : null); lVarArr[1] = new wg4.l("finder_tab_context_id", l05 != null ? l05.f17672f : null); if (l05 != null) { num = Integer.valueOf(l05.f17675i); } lVarArr[2] = new wg4.l("comment_scene", num); gVar.FU(view5, r0.f(lVarArr)); } } public final void J5(boolean z15, String str) { Log.i("Finder.SelfUIC", "[showAccountBannedRedDot] isShow=" + z15 + ' ' + str); int i15 = 8; if (!lh4.m.b(str, this.f196073d)) { if (this.f196073d.length() > 0) { View findViewById = findViewById(R.id.ktv); if (findViewById != null) { k30.a aVar = new k30.a(); ThreadLocal<k30.a> threadLocal = k30.c.f244265a; aVar.c(8); j30.a.d(findViewById, aVar.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "showAccountBannedRedDot", "(ZLjava/lang/String;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById.setVisibility(((Integer) aVar.a(0)).intValue()); j30.a.e(findViewById, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "showAccountBannedRedDot", "(ZLjava/lang/String;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); return; } return; } } View findViewById2 = findViewById(R.id.ktv); if (findViewById2 != null) { if (z15) { i15 = 0; } k30.a aVar2 = new k30.a(); ThreadLocal<k30.a> threadLocal2 = k30.c.f244265a; aVar2.c(Integer.valueOf(i15)); j30.a.d(findViewById2, aVar2.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "showAccountBannedRedDot", "(ZLjava/lang/String;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById2.setVisibility(((Integer) aVar2.a(0)).intValue()); j30.a.e(findViewById2, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "showAccountBannedRedDot", "(ZLjava/lang/String;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); } } public final void K5(boolean z15, String str) { Log.i("Finder.SelfUIC", "[showMemberPersonalAuthorProfileRedDot] isShow=" + z15 + ' ' + str); int i15 = 8; if (!lh4.m.b(str, this.f196073d)) { if (this.f196073d.length() > 0) { View findViewById = findViewById(R.id.q9n); if (findViewById != null) { k30.a aVar = new k30.a(); ThreadLocal<k30.a> threadLocal = k30.c.f244265a; aVar.c(8); j30.a.d(findViewById, aVar.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "showPersonalAuthorProfileRedDot", "(ZLjava/lang/String;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById.setVisibility(((Integer) aVar.a(0)).intValue()); j30.a.e(findViewById, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "showPersonalAuthorProfileRedDot", "(ZLjava/lang/String;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); return; } return; } } View findViewById2 = findViewById(R.id.q9n); if (findViewById2 != null) { if (z15) { i15 = 0; } k30.a aVar2 = new k30.a(); ThreadLocal<k30.a> threadLocal2 = k30.c.f244265a; aVar2.c(Integer.valueOf(i15)); j30.a.d(findViewById2, aVar2.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "showPersonalAuthorProfileRedDot", "(ZLjava/lang/String;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById2.setVisibility(((Integer) aVar2.a(0)).intValue()); j30.a.e(findViewById2, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "showPersonalAuthorProfileRedDot", "(ZLjava/lang/String;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); } } public final void L5() { xz1 B2 = ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().B("FinderSwitchAccount", this.f196073d); View view = this.f196087u; if (view != null) { int i15 = B2 != null ? 0 : 8; k30.a aVar = new k30.a(); ThreadLocal<k30.a> threadLocal = k30.c.f244265a; aVar.c(Integer.valueOf(i15)); j30.a.d(view, aVar.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "updateAccountSwitchRedDot", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); view.setVisibility(((Integer) aVar.a(0)).intValue()); j30.a.e(view, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "updateAccountSwitchRedDot", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); } } @Override // t32.e5 public void M1() { y24.e.launchUI$default(this, null, null, new g(this, null), 3, null); } public final void M5() { xz1 xz12; String str; bv1 bv12; View q55 = q5(); TextView textView = (TextView) q5().findViewById(R.id.qci); TextView textView2 = (TextView) q5().findViewById(R.id.qch); int[] a15 = z0.f109713a.a(r32.b.c(getContext())); int i15 = a15[4]; int i16 = a15[5]; int i17 = a15[6]; e1 L2 = ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().L("AuthorProfileMemberNotify", this.f196073d); if (L2 != null) { xz12 = L2.t2("AuthorProfileMemberNotify"); } else { xz12 = null; } int i18 = xz12 != null ? xz12.f42762e : 0; int i19 = xz12 != null ? xz12.f42761d : 0; e0 e0Var = new e0(L2, xz12, this, i18, i17, i16, i15); Log.i("Finder.SelfUIC", "[updateFinderMemberMentionRedDot] memberTotalCount=" + i18 + " memberShowType=" + i19 + " hasReportMemberMsg=" + this.F); if (!this.F) { JSONObject jSONObject = new JSONObject(); jSONObject.put("vipCnt", i17); jSONObject.put("commentCnt", i16); jSONObject.put("likeCnt", i15); jSONObject.put("totalCnt", i18); if (!(L2 == null || xz12 == null)) { c1 c1Var = c1.f210617a; ta f15 = ta.W0.f(getActivity()); if (f15 != null) { bv12 = f15.l0(); } else { bv12 = null; } c1.g(c1Var, XWebUpdater.XWEB_UPDATER_START_CHECK_TYPE_EMBEDINSTALL, L2, xz12, 1, bv12, 0, null, 0, 0, 480, null); } f1 f1Var = (f1) yz3.j.c(f1.class); AppCompatActivity activity = getActivity(); long j15 = this.D; boolean z15 = this.B; boolean z16 = i18 > 0; String jSONObject2 = jSONObject.toString(); lh4.m.f(jSONObject2, "redDotCountDetail.toString()"); f1Var.CO0(activity, j15, z15, 1, 12, z16, (long) i18, ek4.y.q(jSONObject2, ",", ";", false), this.f196073d); this.F = true; } q55.setOnClickListener(e0Var); if (i18 > 0) { textView2.setVisibility(8); textView.setVisibility(0); if (i18 > 999) { str = "· · ·"; } else { str = String.valueOf(i18); } textView.setText(str); textView.setBackgroundResource(com.tencent.mm.ui.tools.t1.b(getContext(), i18)); textView.setTextSize(0, ((float) gy3.a.f(getActivity(), R.dimen.f359993ad3)) * gy3.a.l(getActivity())); q55.setTag(R.id.e76, Integer.valueOf(i18)); } else if (i18 == 0 && i19 == 1) { textView.setVisibility(8); textView2.setVisibility(0); q55.setTag(R.id.e76, 0); } else { textView.setVisibility(8); textView2.setVisibility(8); q55.setTag(R.id.e76, 0); } } @Override // sk1.l public void ZL(tl0 tl02, int i15, int i16) { lh4.m.g(tl02, "cmdItem"); Log.i("Finder.SelfUIC", "cmdId " + tl02.f37688d); if (tl02.f37688d == 111) { E5(); } } @Override // t32.e5 public void g0() { Log.i("Finder.SelfUIC", "onAccountChanged"); ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().X().b(r32.b.c(getContext()), h4.a.REFRESH_9); E5(); } @Override // com.tencent.mm.ui.component.UIComponent public int getLayoutId() { return R.layout.b8x; } public final void l5(View view, View view2) { View view3; String str; String str2; LinkedList<t34> linkedList; T t15; k30.a aVar = new k30.a(); ThreadLocal<k30.a> threadLocal = k30.c.f244265a; aVar.c(8); j30.a.d(view2, aVar.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "canPostButRevingUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); view2.setVisibility(((Integer) aVar.a(0)).intValue()); j30.a.e(view2, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "canPostButRevingUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); k30.a aVar2 = new k30.a(); aVar2.c(0); j30.a.d(view, aVar2.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "canPostButRevingUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); view.setVisibility(((Integer) aVar2.a(0)).intValue()); j30.a.e(view, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "canPostButRevingUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); ImageView imageView = (ImageView) findViewById(R.id.e_f); TextView textView = (TextView) findViewById(R.id.fuu); TextView textView2 = (TextView) findViewById(R.id.g3e); View s55 = s5(); View findViewById = findViewById(R.id.jf9); ((TextView) s5().findViewById(R.id.qci)).setVisibility(8); ((TextView) q5().findViewById(R.id.qci)).setVisibility(8); ((TextView) s5().findViewById(R.id.qch)).setVisibility(8); ((TextView) q5().findViewById(R.id.qch)).setVisibility(8); ((e2) yz3.j.c(e2.class)).lJ0().g().a(r32.b.c(getActivity()), h4.a.REFRESH_8); k30.a aVar3 = new k30.a(); aVar3.c(0); j30.a.d(s55, aVar3.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "canPostButRevingUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); s55.setVisibility(((Integer) aVar3.a(0)).intValue()); j30.a.e(s55, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "canPostButRevingUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); s55.setOnClickListener(new a(this)); boolean z15 = true; if (v5() == 1) { k30.a aVar4 = new k30.a(); aVar4.c(0); j30.a.d(findViewById, aVar4.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "canPostButRevingUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); view3 = findViewById; view3.setVisibility(((Integer) aVar4.a(0)).intValue()); j30.a.e(view3, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "canPostButRevingUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); } else { view3 = findViewById; k30.a aVar5 = new k30.a(); aVar5.c(8); j30.a.d(view3, aVar5.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "canPostButRevingUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); view3.setVisibility(((Integer) aVar5.a(0)).intValue()); j30.a.e(view3, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "canPostButRevingUi", "(Landroid/view/View;Landroid/view/View;)V", "android/view/View_EXEC_", "setVisibility", "(I)V"); } view3.setOnClickListener(new b(this)); fp1 fp12 = this.f196074e; String str3 = ""; gp1 gp12 = null; String str4 = null; if (!(fp12 == null || (linkedList = fp12.f21904z) == null)) { Iterator<T> it = linkedList.iterator(); while (true) { if (!it.hasNext()) { t15 = null; break; } t15 = it.next(); FinderContact finderContact = t15.f37089e; if (lh4.m.b(finderContact != null ? finderContact.username : null, this.f196073d)) { break; } } T t16 = t15; if (t16 != null) { FinderContact finderContact2 = t16.f37089e; str = finderContact2 != null ? finderContact2.nickname : null; if (str == null) { str = str3; } if (str.length() != 0) { z15 = false; } if (z15) { gp1 gp13 = t16.f37088d; if (gp13 != null) { str4 = gp13.f22913h; } str = str4 == null ? str3 : str4; } gp12 = t16.f37088d; j80.d<j0> M3 = ((v0) y24.r.f342954a.e(e2.class).c(v0.class)).M3(); if (!(gp12 == null || (str2 = gp12.f22914i) == null)) { str3 = str2; } tt1.f fVar = new tt1.f(str3, j3.V); lh4.m.f(imageView, "finderAvatar"); M3.c(fVar, imageView, ((v0) y24.r.f342954a.e(e2.class).c(v0.class)).W(h0.a.f315072h)); textView.setText(((hz.h) yz3.j.c(hz.h.class)).g2(getActivity(), str)); x4.m0(textView.getPaint(), 0.8f); textView2.setVisibility(0); textView2.setText(getResources().getString(R.string.f3m)); findViewById(R.id.e7m).setOnClickListener(new c(this)); if (getIntent().getBooleanExtra("key_from_sns_post", false) && this.f196074e != null) { findViewById(R.id.e7m).post(new d(this)); getIntent().removeExtra("key_from_sns_post"); return; } } } str = str3; j80.d<j0> M32 = ((v0) y24.r.f342954a.e(e2.class).c(v0.class)).M3(); str3 = str2; tt1.f fVar2 = new tt1.f(str3, j3.V); lh4.m.f(imageView, "finderAvatar"); M32.c(fVar2, imageView, ((v0) y24.r.f342954a.e(e2.class).c(v0.class)).W(h0.a.f315072h)); textView.setText(((hz.h) yz3.j.c(hz.h.class)).g2(getActivity(), str)); x4.m0(textView.getPaint(), 0.8f); textView2.setVisibility(0); textView2.setText(getResources().getString(R.string.f3m)); findViewById(R.id.e7m).setOnClickListener(new c(this)); if (getIntent().getBooleanExtra("key_from_sns_post", false)) { } } public final void m5() { Log.i("Finder.SelfUIC", "[checkAutoShowPost] autoShow" + this.W); int s15 = com.tencent.mm.plugin.finder.utils.h4.s(com.tencent.mm.plugin.finder.utils.h4.f119006a, getContext(), null, 2, null); if (!this.W || !(s15 == 3 || s15 == 6)) { Log.i("Finder.SelfUIC", "[checkAutoShowPost] not autoShow"); return; } o5(); Log.i("Finder.SelfUIC", "[checkAutoShowPost] has autoShow post bottom sheet ,set false"); this.W = false; } public final void n5() { if (((q5) yz3.j.c(q5.class)).isTeenMode()) { View findViewById = findViewById(R.id.f363397g20); if (findViewById != null) { k30.a aVar = new k30.a(); ThreadLocal<k30.a> threadLocal = k30.c.f244265a; aVar.c(8); j30.a.d(findViewById, aVar.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "checkTeenMode", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById.setVisibility(((Integer) aVar.a(0)).intValue()); j30.a.e(findViewById, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "checkTeenMode", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); } View findViewById2 = findViewById(R.id.imd); if (findViewById2 != null) { k30.a aVar2 = new k30.a(); ThreadLocal<k30.a> threadLocal2 = k30.c.f244265a; aVar2.c(8); j30.a.d(findViewById2, aVar2.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "checkTeenMode", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById2.setVisibility(((Integer) aVar2.a(0)).intValue()); j30.a.e(findViewById2, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "checkTeenMode", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); } View findViewById3 = findViewById(R.id.hpq); if (findViewById3 != null) { k30.a aVar3 = new k30.a(); ThreadLocal<k30.a> threadLocal3 = k30.c.f244265a; aVar3.c(8); j30.a.d(findViewById3, aVar3.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "checkTeenMode", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById3.setVisibility(((Integer) aVar3.a(0)).intValue()); j30.a.e(findViewById3, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "checkTeenMode", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); } View findViewById4 = findViewById(R.id.hpo); k30.a aVar4 = new k30.a(); ThreadLocal<k30.a> threadLocal4 = k30.c.f244265a; aVar4.c(8); j30.a.d(findViewById4, aVar4.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "checkTeenMode", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById4.setVisibility(((Integer) aVar4.a(0)).intValue()); j30.a.e(findViewById4, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "checkTeenMode", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); } } public final void o5() { String str; boolean z15; sl0 sl02; ij1.b a15 = a.C2191a.a(dj1.b.f200487e, this.f196073d, false, 2, null); if (a15 == null || (sl02 = a15.r2().J) == null || (str = sl02.f36554g) == null) { str = ""; } if (str.length() > 0) { z15 = true; } else { z15 = false; } if ((!z15 || !((wr.b) yz3.j.c(wr.b.class)).ls(getContext(), str, this.f196073d)) && !a42.a.f1076a.a("post")) { String str2 = d60.z.b().i() + '_' + Util.nowMilliSecond(); int p55 = p5(); ez1.x0 x0Var = ez1.x0.f211002a; x0Var.k(getContext(), false, p55); if (((m1) y24.r.f342954a.c(getActivity()).a(m1.class)).l5(new e(this), new f(this))) { x0Var.o(getContext(), 59, null); x0Var.v(str2, null); if (((d90.e) yz3.j.c(d90.e.class)).a7()) { x0Var.z(p55, false); x0Var.r(str2); ((d90.f) yz3.j.c(d90.f.class)).w("FinderPersonalCenterPagePostingButton", p55, 0, true); Intent intent = new Intent(); intent.putExtra("key_finder_post_router", 2); intent.putExtra("key_finder_post_from", 5); intent.putExtra("key_finder_post_id", str2); intent.putExtra("KEY_FINDER_USERNAME_SELF", this.f196073d); com.tencent.mm.plugin.finder.utils.z0.f119498a.a(getActivity(), intent, 132, 9); intent.putExtra("KEY_FINDER_MJ_PUBLISHER_SHOW_MOVIE_COMPOSING_ENTRANCE", true); ((com.tencent.mm.plugin.finder.utils.b) yz3.j.c(com.tencent.mm.plugin.finder.utils.b.class)).e0(getActivity(), intent); return; } p64.n a16 = nx1.n.f273326a.a(getActivity()); a16.f281245i = new fc(this); a16.f281259q = new gc(this, p55, str2, str2); a16.f281235d = hc.f196331a; a16.q(); if (((ke0.e) yz3.j.c(ke0.e.class)).Es0().c()) { ((ke0.e) yz3.j.c(ke0.e.class)).Fk(0); } } } } public final void o6() { char c15; boolean z15; int i15; TextView textView; boolean z16; String str; String str2; String str3; TextView textView2; char c16; int i16; bv1 bv12; bv1 bv13; e1 L2 = ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().L("AuthorProfileNotify", this.f196073d); View s55 = s5(); TextView textView3 = (TextView) s55.findViewById(R.id.qci); TextView textView4 = (TextView) s55.findViewById(R.id.qch); TextView textView5 = (TextView) s55.findViewById(R.id.qcj); textView3.setVisibility(8); textView4.setVisibility(8); textView5.setVisibility(8); bv1 bv14 = null; if (L2 != null) { xz1 t25 = L2.t2("AuthorProfileNotify"); int i17 = t25 != null ? t25.f42762e : 0; int i18 = t25 != null ? t25.f42761d : 0; if (i17 <= 0 || i18 != 2) { c15 = 2; i15 = 8; textView3.setVisibility(8); z15 = false; textView4.setVisibility(0); s55.setTag(R.id.e76, 0); textView = textView5; } else { textView4.setVisibility(8); textView3.setVisibility(0); if (i17 > 999) { str2 = "· · ·"; } else { str2 = String.valueOf(i17); } textView3.setText(str2); textView3.setBackgroundResource(com.tencent.mm.ui.tools.t1.b(getContext(), i17)); textView3.setTextSize(0, ((float) gy3.a.f(getActivity(), R.dimen.f359993ad3)) * gy3.a.l(getActivity())); qu1 qu12 = L2.field_ctrInfo; if (qu12 == null || (str3 = qu12.f34624h) == null) { str3 = ""; } if (!lh4.m.b(str3, this.H)) { this.H = str3; zz1.e.f356376d.getClass(); int i19 = zz1.e.G1.t().intValue() == 1 ? 0 : 2; yz3.d c17 = yz3.j.c(f1.class); lh4.m.f(c17, "getService(FinderReportLogic::class.java)"); f1 f1Var = (f1) c17; ta.a aVar = ta.W0; ta f15 = aVar.f(getActivity()); if (f15 != null) { bv12 = f15.l0(); } else { bv12 = null; } f1.nO0(f1Var, XWebUpdater.XWEB_UPDATER_START_CHECK_TYPE_EMBEDINSTALL, 1, 1, 5, i19, i17, null, null, 0, bv12, 0, 0, 3520, null); if (t25 != null) { c1 c1Var = c1.f210617a; ta f16 = aVar.f(getActivity()); if (f16 != null) { bv13 = f16.l0(); } else { bv13 = null; } i16 = R.id.e76; c16 = 2; textView2 = textView5; c1.g(c1Var, XWebUpdater.XWEB_UPDATER_START_CHECK_TYPE_EMBEDINSTALL, L2, t25, 1, bv13, 0, null, 0, 0, 480, null); s55.setTag(i16, Integer.valueOf(i17)); textView = textView2; i15 = 8; z15 = false; c15 = c16; } } c16 = 2; textView2 = textView5; i16 = R.id.e76; s55.setTag(i16, Integer.valueOf(i17)); textView = textView2; i15 = 8; z15 = false; c15 = c16; } } else { z15 = false; c15 = 2; i15 = 8; textView3.setVisibility(8); textView4.setVisibility(8); textView = textView5; textView.setVisibility(8); s55.setTag(R.id.e76, 0); } zz1.e.f356376d.getClass(); if (zz1.e.f356344a5.t().intValue() == 1) { e1 L3 = ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().L("FinderMessageEntryRight", this.f196073d); xz1 b05 = ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().b0("FinderMessageEntryRight", this.f196073d); StringBuilder sb5 = new StringBuilder(); sb5.append("msgRightShowInfo="); sb5.append(b05 != null ? b05.f42763f : null); Log.i("Finder.SelfUIC", sb5.toString()); String str4 = b05 != null ? b05.f42763f : null; if ((str4 == null || str4.length() == 0) ? true : z15) { textView.setVisibility(i15); } else { int i25 = z15 ? 1 : 0; int i26 = z15 ? 1 : 0; int i27 = z15 ? 1 : 0; int i28 = z15 ? 1 : 0; textView.setVisibility(i25); b02.e eVar = b02.e.f9740a; if (b05 == null || (str = b05.f42763f) == null) { str = ""; } textView.setText(eVar.c(str, (int) textView.getTextSize(), z15)); if (!(L3 == null || b05 == null)) { String str5 = L3.field_tipsId; if (str5 == null) { str5 = ""; } if (!lh4.m.b(str5, this.I)) { this.I = str5; c1 c1Var2 = c1.f210617a; ta f17 = ta.W0.f(getActivity()); if (f17 != null) { bv14 = f17.l0(); } c1.g(c1Var2, XWebUpdater.XWEB_UPDATER_START_CHECK_TYPE_EMBEDINSTALL, L3, b05, 1, bv14, 0, null, 0, 0, 480, null); } } } } if (!this.E) { int[] a15 = z0.f109713a.a(r32.b.c(getContext())); char c18 = z15 ? 1 : 0; char c19 = z15 ? 1 : 0; char c25 = z15 ? 1 : 0; char c26 = z15 ? 1 : 0; int i29 = a15[c18]; int i35 = a15[1]; int i36 = a15[c15]; int i37 = a15[3]; Log.i("Finder.SelfUIC", "redDot check likeCount :" + i29 + " commentCount " + i35 + " followCount " + i36 + ' '); JSONObject jSONObject = new JSONObject(); jSONObject.put("followCnt", i36); jSONObject.put("commentCnt", i35); jSONObject.put("likeCnt", i29); jSONObject.put("totalCnt", i37); f1 f1Var2 = (f1) yz3.j.c(f1.class); AppCompatActivity activity = getActivity(); long j15 = this.D; boolean z17 = this.B; if (i37 > 0) { z16 = true; } else { boolean z18 = z15 ? 1 : 0; boolean z19 = z15 ? 1 : 0; boolean z25 = z15 ? 1 : 0; boolean z26 = z15 ? 1 : 0; z16 = z18; } String jSONObject2 = jSONObject.toString(); lh4.m.f(jSONObject2, "redDotCountDetail.toString()"); f1Var2.CO0(activity, j15, z17, 1, 5, z16, (long) i37, ek4.y.q(jSONObject2, ",", ";", z15), r32.b.c(getContext())); this.E = true; } } @Override // y24.g, com.tencent.mm.ui.component.UIComponent public void onActivityResult(int i15, int i16, Intent intent) { int i17; boolean z15; boolean z16; boolean z17 = false; if (intent != null) { i17 = intent.getIntExtra("INNER_ITEM_COUNT", 0); } else { i17 = 0; } boolean z18 = true; if (i15 != 1) { if (i15 == 2) { fp1 fp12 = this.f196074e; if (fp12 == null || fp12.f21892n != i17) { z15 = false; } } else if (i15 == 31121) { z15 = true; z17 = true; } z15 = true; } else { fp1 fp13 = this.f196074e; if (fp13 == null || fp13.f21893o != i17) { z16 = false; } else { z16 = true; } z18 = z16; z15 = true; } if (!z18 || !z15 || z17) { Log.i("Finder.SelfUIC", "ifFavCountEquals = " + z18 + ",ifLikeCountEquals = " + z15 + ", isAccComplete=" + z17); M1(); } } @Override // com.tencent.mm.ui.component.UIComponent public void onCreate(Bundle bundle) { View view; int i15; String str; RelativeLayout.LayoutParams layoutParams; boolean z15; bv1 bv12; bv1 bv13; int i16; super.onCreate(bundle); u5().a5(2); this.B = getIntent().getBooleanExtra("RED_DOT_EXIST_ON_ENTER", false); this.D = System.currentTimeMillis(); ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().e("TLPersonalCenter"); this.C = getIntent().getBooleanExtra("key_need_done_post_action", false); Log.i("Finder.SelfUIC", "isEnableSendMsgEntrance:" + this.U); View y55 = y5(); k30.a aVar = new k30.a(); ThreadLocal<k30.a> threadLocal = k30.c.f244265a; aVar.c(0); j30.a.d(y55, aVar.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "initView", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); y55.setVisibility(((Integer) aVar.a(0)).intValue()); j30.a.e(y55, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "initView", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); View x55 = x5(); k30.a aVar2 = new k30.a(); aVar2.c(0); j30.a.d(x55, aVar2.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "initView", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); x55.setVisibility(((Integer) aVar2.a(0)).intValue()); j30.a.e(x55, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "initView", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); View findViewById = findViewById(R.id.fwl); lh4.m.f(findViewById, "findViewById<View>(com.t…d.finder_poster_entrance)"); this.f196080n = findViewById; this.f196087u = findViewById(R.id.e7y); View findViewById2 = findViewById(R.id.hpj); if (findViewById2 != null) { findViewById2.setOnClickListener(new qb(this)); } View findViewById3 = findViewById(R.id.hpk); if (findViewById3 == null) { view = findViewById3; } else { k30.a aVar3 = new k30.a(); aVar3.c(0); view = findViewById3; j30.a.d(findViewById3, aVar3.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "initView", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); view.setVisibility(((Integer) aVar3.a(0)).intValue()); j30.a.e(view, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "initView", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); } if (view != null) { view.setOnClickListener(new sb(this)); } View findViewById4 = findViewById(R.id.hpi); k30.a aVar4 = new k30.a(); aVar4.c(0); j30.a.d(findViewById4, aVar4.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "initView", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById4.setVisibility(((Integer) aVar4.a(0)).intValue()); j30.a.e(findViewById4, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "initView", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById4.setOnClickListener(new tb(this)); if (!this.U || ((q5) yz3.j.c(q5.class)).isTeenMode()) { View findViewById5 = findViewById(R.id.hps); if (findViewById5 != null) { k30.a aVar5 = new k30.a(); aVar5.c(8); j30.a.d(findViewById5, aVar5.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "initView", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById5.setVisibility(((Integer) aVar5.a(0)).intValue()); j30.a.e(findViewById5, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "initView", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); } } else { View findViewById6 = findViewById(R.id.hps); if (findViewById6 != null) { k30.a aVar6 = new k30.a(); aVar6.c(0); j30.a.d(findViewById6, aVar6.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "initView", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById6.setVisibility(((Integer) aVar6.a(0)).intValue()); j30.a.e(findViewById6, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "initView", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); } View findViewById7 = findViewById(R.id.hps); if (findViewById7 != null) { findViewById7.setOnClickListener(new ub(this)); } } m60.d.t(x0.N, getActivity(), new vb(this)); m60.d.t(x0.f109693l, getActivity(), new wb(this)); m60.d.t(x0.f109688g, getActivity(), new xb(this)); m60.d.t(x0.f109694m, getActivity(), new yb(this)); View findViewById8 = findViewById(R.id.imd); lh4.m.f(findViewById8, "findViewById(R.id.loading_progress_bar)"); this.f196075f = (ProgressBar) findViewById8; TextView textView = (TextView) x5().findViewById(R.id.qci); TextView textView2 = (TextView) x5().findViewById(R.id.qch); TextView textView3 = (TextView) x5().findViewById(R.id.qcj); zz1.e eVar = zz1.e.f356376d; eVar.getClass(); if (zz1.e.f356344a5.t().intValue() == 1) { androidx.lifecycle.z<x0.a> zVar = x0.f109683c0; Activity context = getContext(); lh4.m.e(context, "null cannot be cast to non-null type com.tencent.mm.ui.MMActivity"); m60.d.t(zVar, (MMActivity) context, new bc(this, textView3, textView2)); androidx.lifecycle.z<x0.a> zVar2 = x0.M; Activity context2 = getContext(); lh4.m.e(context2, "null cannot be cast to non-null type com.tencent.mm.ui.MMActivity"); m60.d.t(zVar2, (MMActivity) context2, new cc(textView, this)); } else { androidx.lifecycle.z<x0.a> zVar3 = x0.M; Activity context3 = getContext(); lh4.m.e(context3, "null cannot be cast to non-null type com.tencent.mm.ui.MMActivity"); m60.d.t(zVar3, (MMActivity) context3, new dc(textView, textView2, textView3, this)); } View findViewById9 = findViewById(R.id.g5h); androidx.lifecycle.z<x0.a> zVar4 = x0.R; Activity context4 = getContext(); lh4.m.e(context4, "null cannot be cast to non-null type com.tencent.mm.ui.MMActivity"); m60.d.t(zVar4, (MMActivity) context4, new fb(findViewById9)); x5().setOnClickListener(new zb(this)); int dimension = (int) getResources().getDimension(R.dimen.f359087cz); com.tencent.mm.plugin.finder.utils.h4 h4Var = com.tencent.mm.plugin.finder.utils.h4.f119006a; Integer k05 = com.tencent.mm.plugin.finder.utils.h4.k0(h4Var, 1, false, 2, null); if (k05 != null) { i15 = k05.intValue(); } else { i15 = R.raw.icons_filled_channels_like_thick; } TextView textView4 = (TextView) findViewById(R.id.eih); if (textView4 != null) { Activity context5 = getContext(); String string = getContext().getString(R.string.eqs); lh4.m.f(string, "context.getString(\n …der_my_inactive_feed_new)"); textView4.setText(h4Var.C1(context5, string, '#', i15, R.color.a0c, dimension, dimension)); } TextView textView5 = (TextView) findViewById(R.id.f363117ed2); aq1 a15 = b02.j.f9757a.a("FinderObjectDynamicImageKey_FinderFavOffIcon"); if (a15 == null || (str = a15.f16506e) == null) { str = ""; } if (Util.isNullOrNil(str)) { int dimension2 = (int) getContext().getResources().getDimension(R.dimen.f359087cz); if (textView5 != null) { Activity context6 = getContext(); String string2 = getContext().getString(R.string.cuo); lh4.m.f(string2, "context.getString(com.te…ring.finder_fav_feed_new)"); textView5.setText(h4Var.C1(context6, string2, '#', R.raw.icons_outlined_star_new, R.color.a0c, dimension2, dimension2)); } } else { y24.r rVar = y24.r.f342954a; k80.b<j0, Bitmap> b15 = ((v0) rVar.e(e2.class).c(v0.class)).C3().b(new q0(str, j3.f357048e), ((v0) rVar.e(e2.class).c(v0.class)).W(h0.a.f315086y)); hb hbVar = new hb(this, textView5); b15.getClass(); b15.f245205d = hbVar; b15.b(); } m60.d.t(x0.f109700s, getActivity(), new ib(this)); ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().X().b(r32.b.c(getContext()), h4.a.REFRESH_8); if (this.U) { ac acVar = new ac(this); View t55 = t5(); if (t55 != null) { t55.setOnClickListener(acVar); t55.setTag(R.id.m7g, acVar); } View t56 = t5(); k30.a aVar7 = new k30.a(); aVar7.c(0); j30.a.d(t56, aVar7.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "initView", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); t56.setVisibility(((Integer) aVar7.a(0)).intValue()); j30.a.e(t56, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "initView", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); m60.d.t(x0.f109703v, getActivity(), new jb(this)); m60.d.t(x0.L, getActivity(), new kb(this)); m60.d.t(x0.f109704w, getActivity(), new lb(this)); } else { View t57 = t5(); k30.a aVar8 = new k30.a(); aVar8.c(8); j30.a.d(t57, aVar8.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "initView", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); t57.setVisibility(((Integer) aVar8.a(0)).intValue()); j30.a.e(t57, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "initView", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); } findViewById(R.id.hpq).setOnClickListener(new mb(this)); View findViewById10 = findViewById(R.id.hpq); lh4.m.f(findViewById10, "findViewById<View>(com.t…d.jump_finder_management)"); y74.m.h(findViewById10, new nb(this)); findViewById(R.id.hpo).setOnClickListener(new ob(this)); View findViewById11 = findViewById(R.id.hpo); lh4.m.f(findViewById11, "findViewById<View>(com.t…ump_finder_live_purchase)"); y74.m.h(findViewById11, new pb(this)); m60.d.t(x0.f109707z, getActivity(), new rb(this)); C5(); A5(); z5(); n5(); ViewGroup.LayoutParams layoutParams2 = findViewById2.getLayoutParams(); if (layoutParams2 instanceof RelativeLayout.LayoutParams) { layoutParams = (RelativeLayout.LayoutParams) layoutParams2; } else { layoutParams = null; } if (layoutParams != null) { layoutParams.addRule(3, R.id.fsr); layoutParams.removeRule(10); } else { layoutParams = null; } ViewGroup.LayoutParams layoutParams3 = view.getLayoutParams(); RelativeLayout.LayoutParams layoutParams4 = layoutParams3 instanceof RelativeLayout.LayoutParams ? (RelativeLayout.LayoutParams) layoutParams3 : null; if (layoutParams4 != null) { layoutParams4.removeRule(3); layoutParams4.addRule(10); } else { layoutParams4 = null; } findViewById2.setLayoutParams(layoutParams); view.setLayoutParams(layoutParams4); View findViewById12 = findViewById(R.id.hpo); ViewGroup.LayoutParams layoutParams5 = findViewById12.getLayoutParams(); RelativeLayout.LayoutParams layoutParams6 = layoutParams5 instanceof RelativeLayout.LayoutParams ? (RelativeLayout.LayoutParams) layoutParams5 : null; if (layoutParams6 != null) { layoutParams6.addRule(3, R.id.hpj); } else { layoutParams6 = null; } findViewById12.setLayoutParams(layoutParams6); if (zz1.e.f356463j9.t().intValue() != 0) { TextView textView6 = (TextView) findViewById(R.id.fst); if (!d60.z.s().i().h(w1.a.f175721wg, false)) { String string3 = getContext().getString(R.string.eof); lh4.m.f(string3, "context.getString(R.stri…inder_mix_cell_tips_text)"); Integer j05 = h4Var.j0(1, true); if (j05 != null) { i16 = j05.intValue(); } else { i16 = R.raw.icons_filled_channels_like_bold; } int dimensionPixelSize = getContext().getResources().getDimensionPixelSize(R.dimen.f359075cn); textView6.setText(h4Var.C1(getContext(), h4Var.C1(getContext(), h4Var.C1(getContext(), string3, '%', i16, R.color.FG_1, dimensionPixelSize, dimensionPixelSize), '#', R.raw.icons_outlined_star_new_bold, R.color.FG_1, dimensionPixelSize, dimensionPixelSize), '@', R.raw.icons_filled_channels_fav_bold, R.color.FG_1, dimensionPixelSize, dimensionPixelSize)); textView6.setVisibility(0); } else { textView6.setVisibility(8); } View findViewById13 = findViewById(R.id.fsr); if (findViewById13 != null) { findViewById13.setOnClickListener(new eb(this, textView6)); } if (findViewById13 != null) { k30.a aVar9 = new k30.a(); aVar9.c(0); j30.a.d(findViewById13, aVar9.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "initMixCellView", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById13.setVisibility(((Integer) aVar9.a(0)).intValue()); j30.a.e(findViewById13, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "initMixCellView", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); } View findViewById14 = findViewById(R.id.hpk); if (findViewById14 != null) { k30.a aVar10 = new k30.a(); aVar10.c(8); j30.a.d(findViewById14, aVar10.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "initMixCellView", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById14.setVisibility(((Integer) aVar10.a(0)).intValue()); j30.a.e(findViewById14, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "initMixCellView", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); } View findViewById15 = findViewById(R.id.hpi); if (findViewById15 != null) { k30.a aVar11 = new k30.a(); aVar11.c(8); j30.a.d(findViewById15, aVar11.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "initMixCellView", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById15.setVisibility(((Integer) aVar11.a(0)).intValue()); j30.a.e(findViewById15, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "initMixCellView", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); } } ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).f80345n.g(101, this); ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).f80345n.g(111, this); xz1 l15 = ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().l("TLCamera"); e1 c65 = ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().c6("TLCamera"); a5 a5Var = a5.f118672a; if (!(l15 == null || c65 == null)) { eVar.getClass(); int i17 = zz1.e.G1.t().intValue() == 1 ? 0 : 1; yz3.d c15 = yz3.j.c(f1.class); lh4.m.f(c15, "getService(FinderReportLogic::class.java)"); f1 f1Var = (f1) c15; ta.a aVar12 = ta.W0; ta f15 = aVar12.f(getActivity()); if (f15 != null) { bv12 = f15.l0(); } else { bv12 = null; } f1.nO0(f1Var, XWebUpdater.XWEB_UPDATER_START_CHECK_TYPE_EMBEDINSTALL, 2, 1, 1, i17, 0, null, null, 0, bv12, 0, 0, 3520, null); c1 c1Var = c1.f210617a; ta f16 = aVar12.f(getActivity()); if (f16 != null) { bv13 = f16.l0(); } else { bv13 = null; } c1.g(c1Var, XWebUpdater.XWEB_UPDATER_START_CHECK_TYPE_EMBEDINSTALL, c65, l15, 1, bv13, 0, null, 0, 0, 480, null); } this.R = getIntent().getBooleanExtra("key_from_sns_post", false); this.S = getIntent().getBooleanExtra("key_from_search_post", false); this.W = getIntent().getBooleanExtra("key_auto_show_post_bottom_sheet", false); Log.i("Finder.SelfUIC", "needDonePostAction = " + this.C); if (this.C) { z15 = false; this.C = false; View view2 = this.f196076g; if (view2 != null) { view2.postDelayed(new a0(this), 150); } else { lh4.m.p("finderPosBtn"); throw null; } } else { z15 = false; } eVar.getClass(); boolean z16 = zz1.e.f356663z1.t().intValue() == 1 ? true : z15; boolean z17 = (!(ek4.y.n(this.f196073d) ^ true) || !dj1.b.f200487e.Q5(this.f196073d)) ? z15 : true; if (z16 && z17) { Log.i("Finder.SelfUIC", "MaasCamTemplatePreload - preloadCameraTemplateListAndDownloadFirst"); ((q00.g) yz3.j.c(q00.g.class)).Ni0(); } } @Override // y24.g, com.tencent.mm.ui.component.UIComponent public void onDestroy() { super.onDestroy(); ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).f80345n.k(101, this); ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).f80345n.k(111, this); int i15 = z0.f109713a.a(r32.b.c(getContext()))[3]; int i16 = 0; ij1.b a15 = a.C2191a.a(dj1.b.f200487e, this.f196073d, false, 2, null); if (a15 != null) { i16 = a15.field_fansAddCount; } Log.i("Finder.SelfUIC", "onDestroy : " + (i15 + i16)); d60.z.s().i().L(w1.a.f175721wg, Boolean.TRUE); ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().X().b(r32.b.c(getContext()), h4.a.REFRESH_10); ((zw.d) yz3.j.c(zw.d.class)).D10(String.valueOf(hashCode())); } /* JADX WARNING: Removed duplicated region for block: B:47:0x015d */ /* JADX WARNING: Removed duplicated region for block: B:56:0x0172 */ /* JADX WARNING: Removed duplicated region for block: B:62:0x01aa */ /* JADX WARNING: Removed duplicated region for block: B:67:? A[RETURN, SYNTHETIC] */ @Override // y24.g, com.tencent.mm.ui.component.UIComponent public void onResume() { int i15; boolean z15; boolean z16; boolean z17; boolean z18; boolean z19; boolean z25; super.onResume(); ((v1) y24.r.f342954a.c(getActivity()).c(v1.class)).a0(); mm1.i iVar = ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).f80345n; lh4.m.e(iVar, "null cannot be cast to non-null type com.tencent.mm.plugin.finder.extension.FinderSyncExtension"); boolean z26 = true; iVar.d(634921, 1); String c15 = r32.b.c(getContext()); this.f196073d = c15; if (this.f196074e != null) { ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().X().b(r32.b.c(getContext()), h4.a.REFRESH_11); E5(); F5(); u5().N1(this.f196074e); } else { if (Util.isNullOrNil(c15)) { ProgressBar progressBar = this.f196075f; if (progressBar != null) { progressBar.setVisibility(0); } else { lh4.m.p("progressBar"); throw null; } } else { E5(); } M1(); } ez1.x0 x0Var = ez1.x0.f211002a; Activity context = getContext(); if (this.R) { i15 = 4; } else { i15 = 3; } x0Var.k(context, true, i15); View view = this.f196082p; if (view == null || view.getVisibility() != 0) { z15 = false; } else { z15 = true; } if (z15 && !((e6) yz3.j.c(e6.class)).getConfig().Z) { yz3.d c16 = yz3.j.c(e6.class); lh4.m.f(c16, "getService(IHellLiveReport::class.java)"); e6.a.a((e6) c16, 1, "", null, 4, null); yz3.d c17 = yz3.j.c(e6.class); lh4.m.f(c17, "getService(IHellLiveReport::class.java)"); e6.a.b((e6) c17, 1, u5().h2(), u5().U(), null, 8, null); } x0.a(x0.f109678a, "CreateFinderEntrance", null, 2, null); TextView textView = (TextView) s5().findViewById(R.id.qci); TextView textView2 = (TextView) s5().findViewById(R.id.qch); TextView textView3 = (TextView) x5().findViewById(R.id.qci); TextView textView4 = (TextView) x5().findViewById(R.id.qch); f.a aVar = ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().X().f109562c; if (textView == null || textView.getVisibility() != 0) { z16 = false; } else { z16 = true; } if (!z16) { if (textView2 == null || textView2.getVisibility() != 0) { z25 = false; } else { z25 = true; } if (!z25) { z17 = false; if (textView3 == null && textView3.getVisibility() == 0) { z18 = true; } else { z18 = false; } if (!z18) { if (textView4 == null || textView4.getVisibility() != 0) { z19 = false; } else { z19 = true; } if (!z19) { z26 = false; } } if (aVar.f109563a) { Log.i("Finder.MsgRedDot#", "[resumeFinderSelf] needCheck=" + aVar.f109563a + " hasFinderMentionRedDot=" + z17); if (z17) { g.a.b(r32.a.f292946b, "Finder.MsgRedDot#Monitor", false, null, null, false, false, com.tencent.mm.plugin.finder.extension.reddot.d.f109543d, 60, null); } aVar.f109563a = false; } if (!aVar.f109564b) { Log.i("Finder.MsgRedDot#", "[resumeFinderSelf] needCheck2=" + aVar.f109564b + " hasWxMentionRedDot=" + z26); if (z26) { g.a.b(r32.a.f292946b, "Finder.MsgRedDot#Monitor", false, null, null, false, false, com.tencent.mm.plugin.finder.extension.reddot.e.f109547d, 60, null); } aVar.f109564b = false; return; } return; } } z17 = true; if (textView3 == null) { } z18 = false; if (!z18) { } if (aVar.f109563a) { } if (!aVar.f109564b) { } } @Override // y24.g, com.tencent.mm.ui.component.UIComponent public void onStop() { super.onStop(); this.E = false; this.F = false; this.G = ""; this.H = ""; this.I = ""; this.J = ""; this.K = ""; this.L = ""; this.P = ""; this.N = ""; } public final int p5() { if (qj1.e.f289924a.a(null, 5)) { return 9; } if (this.R) { return 4; } if (this.S) { return 15; } return 3; } public final void p6() { View view; int i15; String str; String str2; bv1 bv12; qu1 qu12; e1 L2 = ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().L("finder_private_msg_entrance", this.f196073d); xz1 t25 = L2 != null ? L2.t2("finder_private_msg_entrance") : null; TextView textView = (TextView) t5().findViewById(R.id.qci); View findViewById = t5().findViewById(R.id.qch); int i16 = t25 != null ? t25.f42762e : 0; int i17 = t25 != null ? t25.f42761d : 0; Log.i("Finder.SelfUIC", "[updateFinderMsgRedDot] " + t25); if (i16 > 0 && i17 == 2) { k30.a aVar = new k30.a(); ThreadLocal<k30.a> threadLocal = k30.c.f244265a; aVar.c(8); j30.a.d(findViewById, aVar.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "updateFinderMsgRedDot", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById.setVisibility(((Integer) aVar.a(0)).intValue()); j30.a.e(findViewById, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "updateFinderMsgRedDot", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); textView.setVisibility(0); if (i16 > 999) { str = "· · ·"; } else { str = String.valueOf(i16); } textView.setText(str); textView.setBackgroundResource(com.tencent.mm.ui.tools.t1.b(getContext(), i16)); textView.setTextSize(0, ((float) gy3.a.f(getContext(), R.dimen.f359993ad3)) * gy3.a.l(getContext())); if (L2 == null || (qu12 = L2.field_ctrInfo) == null || (str2 = qu12.f34624h) == null) { str2 = ""; } if (lh4.m.b(str2, this.G) || t25 == null) { i15 = 0; view = findViewById; } else { this.G = str2; c1 c1Var = c1.f210617a; ta f15 = ta.W0.f(getActivity()); if (f15 != null) { bv12 = f15.l0(); } else { bv12 = null; } c1.g(c1Var, XWebUpdater.XWEB_UPDATER_START_CHECK_TYPE_EMBEDINSTALL, L2, t25, 1, bv12, 0, null, 0, 0, 480, null); i15 = 0; view = findViewById; } } else if (i17 == 1) { textView.setVisibility(8); k30.a aVar2 = new k30.a(); ThreadLocal<k30.a> threadLocal2 = k30.c.f244265a; aVar2.c(0); j30.a.d(findViewById, aVar2.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "updateFinderMsgRedDot", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); i15 = 0; view = findViewById; view.setVisibility(((Integer) aVar2.a(0)).intValue()); j30.a.e(view, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "updateFinderMsgRedDot", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); } else { i15 = 0; view = findViewById; textView.setVisibility(8); k30.a aVar3 = new k30.a(); ThreadLocal<k30.a> threadLocal3 = k30.c.f244265a; aVar3.c(8); j30.a.d(view, aVar3.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "updateFinderMsgRedDot", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); view.setVisibility(((Integer) aVar3.a(0)).intValue()); j30.a.e(view, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "updateFinderMsgRedDot", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); } if (textView.getVisibility() == 0 || view.getVisibility() == 0) { View t55 = t5(); if (t55 != null) { t55.setTag(R.id.e76, Integer.valueOf(t25 != null ? t25.f42762e : i15)); return; } return; } View t56 = t5(); if (t56 != null) { t56.setTag(R.id.e76, Integer.valueOf(i15)); } } public final View q5() { return (View) ((wg4.n) this.f196091y).getValue(); } public final String r5(xz1 xz12) { ij1.b a15 = a.C2191a.a(dj1.b.f200487e, this.f196073d, false, 2, null); int i15 = a15 != null ? a15.field_systemMsgCount : 0; JSONObject jSONObject = new JSONObject(); int i16 = xz12 != null ? xz12.f42762e : 0 - i15; if (i16 < 0) { i16 = 0; } jSONObject.put("personalCnt", i16); jSONObject.put("finderteamCnt", i15); jSONObject.put("totalCnt", xz12 != null ? xz12.f42762e : 0); String jSONObject2 = jSONObject.toString(); lh4.m.f(jSONObject2, "detail.toString()"); return ek4.y.q(jSONObject2, ",", ";", false); } public final View s5() { return (View) ((wg4.n) this.f196092z).getValue(); } public final View t5() { return (View) ((wg4.n) this.A).getValue(); } public final q3 u5() { return (q3) ((wg4.n) this.V).getValue(); } /* JADX WARNING: Removed duplicated region for block: B:19:0x0037 */ /* JADX WARNING: Removed duplicated region for block: B:25:0x005d */ /* JADX WARNING: Removed duplicated region for block: B:29:? A[RETURN, SYNTHETIC] */ public final int v5() { int i15; zz1.e eVar; LinkedList<t34> linkedList; T t15; String str; fp1 fp12 = this.f196074e; if (!(fp12 == null || (linkedList = fp12.f21904z) == null)) { Iterator<T> it = linkedList.iterator(); while (true) { if (!it.hasNext()) { t15 = null; break; } t15 = it.next(); FinderContact finderContact = t15.f37089e; if (finderContact != null) { str = finderContact.username; } else { str = null; } if (lh4.m.b(str, this.f196073d)) { break; } } T t16 = t15; if (t16 != null) { i15 = t16.Q; if (i15 == -1) { ij1.b a15 = a.C2191a.a(dj1.b.f200487e, this.f196073d, false, 2, null); if (a15 != null) { i15 = a15.r2().P; } else { i15 = -1; } } eVar = zz1.e.f356376d; if (eVar.C().t().intValue() == -1) { return eVar.C().t().intValue(); } return i15; } } i15 = -1; if (i15 == -1) { } eVar = zz1.e.f356376d; if (eVar.C().t().intValue() == -1) { } } public final long w5() { xz1 l15 = ((FinderCommonFeatureService) yz3.j.c(FinderCommonFeatureService.class)).lJ0().l("finder_wx_private_msg_entrance"); if (l15 != null) { return (long) l15.f42762e; } return 0; } public final View x5() { return (View) ((wg4.n) this.f196089w).getValue(); } public final View y5() { return (View) ((wg4.n) this.f196090x).getValue(); } public final void z5() { boolean u15 = m60.d.u(f196072x0, 1); boolean isTeenMode = ((kd3.i) yz3.j.c(kd3.i.class)).isTeenMode(); x2 x2Var = (x2) yz3.j.c(x2.class); sk1.q b15 = sk1.d.f302423a.b(r32.b.c(getContext())); boolean Ov0 = x2Var.Ov0(b15 != null ? b15.field_liveSwitchFlag : 0); View findViewById = findViewById(R.id.i_u); com.tencent.mm.plugin.finder.utils.h4 h4Var = com.tencent.mm.plugin.finder.utils.h4.f119006a; boolean K0 = h4Var.K0(); int s15 = com.tencent.mm.plugin.finder.utils.h4.s(h4Var, getContext(), null, 2, null); ij1.b a15 = a.C2191a.a(dj1.b.f200487e, this.f196073d, false, 2, null); boolean t25 = a15 != null ? a15.t2() : false; Log.i("Finder.SelfUIC", "initLiveIncomeCell FinderLive.entrance,xLab enable live:" + tn1.a.f313149a.a() + ", hasAccount:" + K0 + ", server flag:" + f196072x0 + ", server enable live:" + u15 + " rewardGainEnable:" + Ov0 + ", accountState:" + s15); if (isTeenMode || t25 || (K0 && (s15 == 3 || s15 == 6))) { k30.a aVar = new k30.a(); ThreadLocal<k30.a> threadLocal = k30.c.f244265a; aVar.c(8); j30.a.d(findViewById, aVar.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "initLiveRewardGainCell", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById.setVisibility(((Integer) aVar.a(0)).intValue()); j30.a.e(findViewById, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "initLiveRewardGainCell", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); return; } k30.a aVar2 = new k30.a(); ThreadLocal<k30.a> threadLocal2 = k30.c.f244265a; aVar2.c(0); j30.a.d(findViewById, aVar2.b(), "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "initLiveRewardGainCell", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById.setVisibility(((Integer) aVar2.a(0)).intValue()); j30.a.e(findViewById, "com/tencent/mm/plugin/finder/viewmodel/component/FinderSelfUIC", "initLiveRewardGainCell", "()V", "android/view/View_EXEC_", "setVisibility", "(I)V"); findViewById.setOnClickListener(new k(this)); x0 x0Var = x0.f109678a; m60.d.t(x0.H, getActivity(), new l(this)); } }