what-the-bank/sources/com/scb/phone/view/fragment/investment/discover/DiscoverFragment.java

1979 lines
62 KiB
Java

package com.scb.phone.view.fragment.investment.discover;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.PointF;
import android.net.Uri;
import android.os.Bundle;
import android.os.Process;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.View;
import android.view.ViewConfiguration;
import android.view.ViewGroup;
import android.widget.ExpandableListView;
import android.widget.TextView;
import androidx.fragment.app.FragmentActivity;
import androidx.recyclerview.widget.LinearLayoutManager;
import butterknife.BindView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.huawei.hms.support.api.entity.common.CommonConstant;
import com.rd.PageIndicatorView;
import com.scb.phone.R;
import com.scb.phone.view.activity.BaseActivity;
import com.scb.phone.view.activity.investment.discover.DiscoverDisclaimerActivity;
import com.scb.phone.view.activity.investment.discover.DiscoverSearchActivity;
import com.scb.phone.view.activity.investment.discover.NtbDiscoverDisclaimerActivity;
import com.scb.phone.view.activity.investment.discover.NtbDiscoverSearchActivity;
import com.scb.phone.view.activity.partner.PartnerAuthorizationActivity;
import com.scb.phone.view.activity.partner.SCBUniversalWebViewActivity;
import com.scb.phone.view.activity.prelogin.PinLoginActivity;
import com.scb.phone.view.adapter.investment.discover.HighlightRecycleAdapter;
import com.scb.phone.view.adapter.investment.discover.RecommendRecyclerAdapter;
import com.scb.phone.view.custom.InfiniteRecyclerView;
import com.scb.phone.view.custom.common.CustomDialog;
import com.scb.phone.view.fragment.investment.discover.DiscoverFragment;
import com.scb.phone.view.fragment.investment.discover.DiscoverTopFundListFragment;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import o.AbstractC13482fbE;
import o.AbstractC14961gcz;
import o.C0839Pq;
import o.C0840Pr;
import o.C0842Ps;
import o.C14957gcv;
import o.C15971jzF;
import o.C4593bdB;
import o.C6583cXR;
import o.Iki;
import o.InterfaceC13391fZD;
import o.InterfaceC13393fZL;
import o.InterfaceC13752fgJ;
import o.InterfaceC14890gbN;
import o.InterfaceC17396wQp;
import o.InterfaceC6627cYe;
import o.InterfaceC9399dix;
import o.ZI;
import o.bBR;
import o.fJF;
import o.fSJ;
import o.fZZ;
import o.guQ;
import o.mfY;
import o.xzZ;
import o.yRS;
import org.bouncycastle.crypto.signers.PSSSigner;
/* loaded from: classes5.dex */
public final class DiscoverFragment extends Hilt_DiscoverFragment implements InterfaceC9399dix, InterfaceC13752fgJ {
private static final byte[] $$a = {0, PSSSigner.TRAILER_IMPLICIT, -126, 35};
private static final int $$b = 7;
private static int $10 = 0;
private static int $11 = 1;
private static int k = 1;
private static int m;
/* renamed from: o, reason: collision with root package name */
private static long f8046o;
private boolean c;
@BindView
public ViewGroup clBanner;
@BindView
public ViewGroup clError;
private HighlightRecycleAdapter d;
@InterfaceC13391fZD
public bBR discoverLandingPresenter;
private final InterfaceC13393fZL f;
private final LinearLayoutManager g;
private Iki h;
private boolean i;
@BindView
public PageIndicatorView indicatorHighLightBanner;
@BindView
public PageIndicatorView indicatorRecommendBanner;
private RecommendRecyclerAdapter j;
private final LinearLayoutManager l;
@BindView
public ViewGroup layoutSearch;
@BindView
public ViewGroup llHighlightHolder;
@BindView
public ViewGroup llRecommendHeader;
@BindView
public ViewGroup llRecommendHolder;
private final InterfaceC13393fZL n;
@BindView
public TextView tvRecommendDate;
@BindView
public InfiniteRecyclerView vpHighLightBanner;
@BindView
public InfiniteRecyclerView vpRecommendBanner;
public static /* synthetic */ Object a(Object[] objArr, int i, int i2, int i3) {
int i4 = (i * 491) + (i2 * (-489));
int i5 = ~i;
int i6 = ~i2;
switch (i4 + ((i5 | i6 | (~i3)) * (-490)) + (((~(i | i6)) | (~(i6 | i3))) * 490) + (i5 * 490)) {
case 1:
return c(objArr);
case 2:
return e(objArr);
case 3:
return d(objArr);
case 4:
return a(objArr);
case 5:
return g(objArr);
case 6:
return i(objArr);
case 7:
return h(objArr);
case 8:
return j(objArr);
case 9:
return f(objArr);
case 10:
return k(objArr);
default:
return b(objArr);
}
}
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> B:4:0x0029). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void q(short r7, byte r8, byte r9, java.lang.Object[] r10) {
/*
int r8 = r8 + 4
byte[] r0 = com.scb.phone.view.fragment.investment.discover.DiscoverFragment.$$a
int r9 = r9 * 4
int r9 = r9 + 1
int r7 = 78 - r7
byte[] r1 = new byte[r9]
r2 = 0
if (r0 != 0) goto L12
r3 = r8
r4 = r2
goto L29
L12:
r3 = r2
L13:
int r8 = r8 + 1
int r4 = r3 + 1
byte r5 = (byte) r7
r1[r3] = r5
if (r4 != r9) goto L24
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L24:
r3 = r0[r8]
r6 = r3
r3 = r8
r8 = r6
L29:
int r8 = -r8
int r7 = r7 + r8
r8 = r3
r3 = r4
goto L13
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.fragment.investment.discover.DiscoverFragment.q(short, byte, byte, java.lang.Object[]):void");
}
public static final /* synthetic */ RecommendRecyclerAdapter b(DiscoverFragment discoverFragment) {
int i = 2 % 2;
int i2 = m + 25;
int i3 = i2 % 128;
k = i3;
int i4 = i2 % 2;
RecommendRecyclerAdapter recommendRecyclerAdapter = discoverFragment.j;
if (i4 == 0) {
int i5 = 55 / 0;
}
int i6 = i3 + 55;
m = i6 % 128;
int i7 = i6 % 2;
return recommendRecyclerAdapter;
}
public static final /* synthetic */ HighlightRecycleAdapter e(DiscoverFragment discoverFragment) {
int i = 2 % 2;
int i2 = k + 79;
int i3 = i2 % 128;
m = i3;
int i4 = i2 % 2;
HighlightRecycleAdapter highlightRecycleAdapter = discoverFragment.d;
int i5 = i3 + 95;
k = i5 % 128;
int i6 = i5 % 2;
return highlightRecycleAdapter;
}
public DiscoverFragment() {
IeS ieS = new IeS(this);
C14957gcv.e(ieS, "");
this.f = new fZZ(ieS);
HBt hBt = new HBt(this);
C14957gcv.e(hBt, "");
this.n = new fZZ(hBt);
getActivity();
this.g = new LinearLayoutManager(0, false);
getActivity();
this.l = new LinearLayoutManager(0, false);
}
/* loaded from: classes5.dex */
static final class IeS extends AbstractC14961gcz implements InterfaceC14890gbN<Integer> {
private DiscoverFragment a;
@Override // o.InterfaceC14890gbN
public final /* synthetic */ Integer invoke() {
return Integer.valueOf(this.a.getResources().getDimensionPixelOffset(R.dimen.f18262131165592));
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
IeS(DiscoverFragment discoverFragment) {
super(0);
this.a = discoverFragment;
}
}
private final int l() {
int i = 2 % 2;
int i2 = k + 19;
m = i2 % 128;
if (i2 % 2 == 0) {
return ((Number) this.f.e()).intValue();
}
((Number) this.f.e()).intValue();
throw null;
}
/* loaded from: classes5.dex */
static final class HBt extends AbstractC14961gcz implements InterfaceC14890gbN<Integer> {
private DiscoverFragment c;
@Override // o.InterfaceC14890gbN
public final /* synthetic */ Integer invoke() {
return Integer.valueOf(this.c.getResources().getDimensionPixelOffset(R.dimen.f18292131165595));
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
HBt(DiscoverFragment discoverFragment) {
super(0);
this.c = discoverFragment;
}
}
private final int m() {
int intValue;
int i = 2 % 2;
int i2 = m + 101;
k = i2 % 128;
if (i2 % 2 == 0) {
intValue = ((Number) this.n.e()).intValue();
int i3 = 61 / 0;
} else {
intValue = ((Number) this.n.e()).intValue();
}
int i4 = m + 109;
k = i4 % 128;
int i5 = i4 % 2;
return intValue;
}
private ViewGroup auv_() {
int i = 2 % 2;
int i2 = k + 7;
int i3 = i2 % 128;
m = i3;
Object obj = null;
if (i2 % 2 != 0) {
obj.hashCode();
throw null;
}
ViewGroup viewGroup = this.clBanner;
if (viewGroup == null) {
C14957gcv.a("");
return null;
}
int i4 = i3 + 39;
k = i4 % 128;
if (i4 % 2 != 0) {
return viewGroup;
}
obj.hashCode();
throw null;
}
private ViewGroup auw_() {
int i = 2 % 2;
int i2 = k + 61;
int i3 = i2 % 128;
m = i3;
int i4 = i2 % 2;
ViewGroup viewGroup = this.clError;
if (viewGroup == null) {
C14957gcv.a("");
return null;
}
int i5 = i3 + 65;
k = i5 % 128;
if (i5 % 2 != 0) {
return viewGroup;
}
throw null;
}
private ViewGroup auy_() {
int i = 2 % 2;
int i2 = m;
int i3 = i2 + 71;
k = i3 % 128;
if (i3 % 2 == 0) {
throw null;
}
ViewGroup viewGroup = this.layoutSearch;
if (viewGroup != null) {
int i4 = i2 + 41;
k = i4 % 128;
int i5 = i4 % 2;
return viewGroup;
}
C14957gcv.a("");
int i6 = k + 113;
m = i6 % 128;
if (i6 % 2 != 0) {
int i7 = 17 / 0;
}
return null;
}
private ViewGroup auz_() {
int i = 2 % 2;
int i2 = k;
int i3 = i2 + 79;
m = i3 % 128;
if (i3 % 2 != 0) {
throw null;
}
ViewGroup viewGroup = this.llHighlightHolder;
if (viewGroup == null) {
C14957gcv.a("");
return null;
}
int i4 = i2 + 39;
int i5 = i4 % 128;
m = i5;
if (i4 % 2 != 0) {
int i6 = 13 / 0;
}
int i7 = i5 + 93;
k = i7 % 128;
int i8 = i7 % 2;
return viewGroup;
}
private ViewGroup auA_() {
int i = 2 % 2;
int i2 = k;
int i3 = i2 + 45;
m = i3 % 128;
int i4 = i3 % 2;
ViewGroup viewGroup = this.llRecommendHeader;
if (viewGroup == null) {
C14957gcv.a("");
return null;
}
int i5 = i2 + 79;
m = i5 % 128;
int i6 = i5 % 2;
return viewGroup;
}
private ViewGroup auB_() {
int i = 2 % 2;
int i2 = k;
int i3 = i2 + 123;
m = i3 % 128;
Object obj = null;
if (i3 % 2 != 0) {
obj.hashCode();
throw null;
}
ViewGroup viewGroup = this.llRecommendHolder;
if (viewGroup == null) {
C14957gcv.a("");
return null;
}
int i4 = i2 + 19;
m = i4 % 128;
if (i4 % 2 == 0) {
return viewGroup;
}
throw null;
}
public final PageIndicatorView o() {
int i = 2 % 2;
int i2 = k;
int i3 = i2 + 11;
m = i3 % 128;
int i4 = i3 % 2;
PageIndicatorView pageIndicatorView = this.indicatorHighLightBanner;
if (pageIndicatorView == null) {
C14957gcv.a("");
return null;
}
int i5 = i2 + 61;
m = i5 % 128;
int i6 = i5 % 2;
return pageIndicatorView;
}
/* JADX WARN: Code restructure failed: missing block: B:11:0x0019, code lost:
if (r1 != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0014, code lost:
if (r1 != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x0023, code lost:
o.C14957gcv.a("");
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x0029, code lost:
return null;
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x001b, code lost:
r2 = r2 + 101;
com.scb.phone.view.fragment.investment.discover.DiscoverFragment.k = r2 % 128;
r2 = r2 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x0022, code lost:
return r1;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final com.rd.PageIndicatorView n() {
/*
r4 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.view.fragment.investment.discover.DiscoverFragment.k
int r1 = r1 + 69
int r2 = r1 % 128
com.scb.phone.view.fragment.investment.discover.DiscoverFragment.m = r2
int r1 = r1 % r0
if (r1 == 0) goto L17
com.rd.PageIndicatorView r1 = r4.indicatorRecommendBanner
r3 = 45
int r3 = r3 / 0
if (r1 == 0) goto L23
goto L1b
L17:
com.rd.PageIndicatorView r1 = r4.indicatorRecommendBanner
if (r1 == 0) goto L23
L1b:
int r2 = r2 + 101
int r3 = r2 % 128
com.scb.phone.view.fragment.investment.discover.DiscoverFragment.k = r3
int r2 = r2 % r0
return r1
L23:
java.lang.String r0 = ""
o.C14957gcv.a(r0)
r0 = 0
return r0
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.fragment.investment.discover.DiscoverFragment.n():com.rd.PageIndicatorView");
}
private static void p(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
C4593bdB c4593bdB = new C4593bdB();
c4593bdB.a = i;
int length = cArr.length;
long[] jArr = new long[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
int i3 = c4593bdB.e;
try {
Object[] objArr2 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj = xzZ.y.get(-1229953068);
if (obj == null) {
Class cls = (Class) xzZ.c(AndroidCharacter.getMirror('0') + 354, TextUtils.getTrimmedLength("") + 5, (char) ((PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 21608));
byte b = (byte) ($$b >>> 2);
Object[] objArr3 = new Object[1];
q(b, (byte) (-b), $$a[0], objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj);
}
jArr[i3] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() ^ (f8046o ^ (-6958928035870403642L));
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(238 - ExpandableListView.getPackedPositionGroup(0L), 4 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), (char) (1 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1))));
byte b2 = $$a[0];
byte b3 = b2;
Object[] objArr5 = new Object[1];
q(b3, (byte) (b3 - 1), b2, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj2);
}
((Method) obj2).invoke(null, objArr4);
int i4 = $11 + 77;
$10 = i4 % 128;
int i5 = i4 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr2 = new char[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
int i6 = $10 + 21;
$11 = i6 % 128;
int i7 = i6 % 2;
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
try {
Object[] objArr6 = {c4593bdB, c4593bdB};
Object obj3 = xzZ.y.get(-1143917229);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(238 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), 5 - Color.blue(0), (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b4 = $$a[0];
byte b5 = b4;
Object[] objArr7 = new Object[1];
q(b5, (byte) (b5 - 1), b4, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj3);
}
((Method) obj3).invoke(null, objArr6);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
objArr[0] = new String(cArr2);
}
private static /* synthetic */ Object a(Object[] objArr) {
DiscoverFragment discoverFragment = (DiscoverFragment) objArr[0];
int i = 2 % 2;
int i2 = k;
int i3 = i2 + 13;
m = i3 % 128;
if (i3 % 2 != 0) {
TextView textView = discoverFragment.tvRecommendDate;
throw null;
}
TextView textView2 = discoverFragment.tvRecommendDate;
if (textView2 == null) {
C14957gcv.a("");
return null;
}
int i4 = i2 + 69;
m = i4 % 128;
int i5 = i4 % 2;
return textView2;
}
private InfiniteRecyclerView F() {
int i = 2 % 2;
InfiniteRecyclerView infiniteRecyclerView = this.vpHighLightBanner;
Object obj = null;
if (infiniteRecyclerView != null) {
int i2 = k + 125;
m = i2 % 128;
if (i2 % 2 == 0) {
return infiniteRecyclerView;
}
obj.hashCode();
throw null;
}
C14957gcv.a("");
int i3 = k + 73;
m = i3 % 128;
if (i3 % 2 == 0) {
return null;
}
throw null;
}
private InfiniteRecyclerView L() {
int i = 2 % 2;
InfiniteRecyclerView infiniteRecyclerView = this.vpRecommendBanner;
if (infiniteRecyclerView == null) {
C14957gcv.a("");
return null;
}
int i2 = m + 107;
int i3 = i2 % 128;
k = i3;
int i4 = i2 % 2;
int i5 = i3 + 83;
m = i5 % 128;
int i6 = i5 % 2;
return infiniteRecyclerView;
}
private static /* synthetic */ Object h(Object[] objArr) {
DiscoverFragment discoverFragment = (DiscoverFragment) objArr[0];
int i = 2 % 2;
int i2 = k + 107;
int i3 = i2 % 128;
m = i3;
Object obj = null;
if (i2 % 2 != 0) {
bBR bbr = discoverFragment.discoverLandingPresenter;
throw null;
}
bBR bbr2 = discoverFragment.discoverLandingPresenter;
if (bbr2 == null) {
C14957gcv.a("");
return null;
}
int i4 = i3 + 123;
k = i4 % 128;
if (i4 % 2 != 0) {
return bbr2;
}
obj.hashCode();
throw null;
}
/* loaded from: classes5.dex */
public static final class RVV {
private RVV() {
}
public /* synthetic */ RVV(byte b) {
this();
}
}
/* JADX WARN: Code restructure failed: missing block: B:26:0x003c, code lost:
r7 = r7.getIntent();
*/
/* JADX WARN: Code restructure failed: missing block: B:28:0x003a, code lost:
if (r7 != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0026, code lost:
if (r7 != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x0041, code lost:
r7 = null;
*/
/* JADX WARN: Removed duplicated region for block: B:21:0x0081 */
@Override // androidx.fragment.app.Fragment
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final android.view.View onCreateView(android.view.LayoutInflater r6, android.view.ViewGroup r7, android.os.Bundle r8) {
/*
r5 = this;
r8 = 2
int r0 = r8 % r8
int r0 = com.scb.phone.view.fragment.investment.discover.DiscoverFragment.k
int r0 = r0 + 57
int r1 = r0 % 128
com.scb.phone.view.fragment.investment.discover.DiscoverFragment.m = r1
int r0 = r0 % r8
r1 = 2131559568(0x7f0d0490, float:1.8744484E38)
java.lang.String r2 = ""
r3 = 0
r4 = 0
if (r0 == 0) goto L29
o.C14957gcv.e(r6, r2)
android.view.View r6 = r6.inflate(r1, r7, r4)
butterknife.Unbinder r7 = butterknife.ButterKnife.c(r5, r6)
r5.a = r7
androidx.fragment.app.FragmentActivity r7 = r5.getActivity()
if (r7 == 0) goto L41
goto L3c
L29:
o.C14957gcv.e(r6, r2)
android.view.View r6 = r6.inflate(r1, r7, r4)
butterknife.Unbinder r7 = butterknife.ButterKnife.c(r5, r6)
r5.a = r7
androidx.fragment.app.FragmentActivity r7 = r5.getActivity()
if (r7 == 0) goto L41
L3c:
android.content.Intent r7 = r7.getIntent()
goto L42
L41:
r7 = r3
L42:
java.lang.String r0 = "com.scb.phone.INVESTMENT_TILE"
if (r7 == 0) goto L4a
java.lang.String r3 = r7.getStringExtra(r0)
L4a:
r1 = 1
if (r3 == 0) goto L62
int r2 = com.scb.phone.view.fragment.investment.discover.DiscoverFragment.m
int r2 = r2 + 91
int r3 = r2 % 128
com.scb.phone.view.fragment.investment.discover.DiscoverFragment.k = r3
int r2 = r2 % r8
java.lang.String r2 = r7.getStringExtra(r0)
boolean r0 = o.C14957gcv.b(r2, r0)
if (r0 == 0) goto L62
r0 = r1
goto L63
L62:
r0 = r4
L63:
r5.i = r0
if (r7 == 0) goto L7a
java.lang.String r0 = "EXTRA_NTB"
boolean r7 = r7.getBooleanExtra(r0, r4)
if (r7 == 0) goto L7a
int r7 = com.scb.phone.view.fragment.investment.discover.DiscoverFragment.m
int r7 = r7 + 61
int r0 = r7 % 128
com.scb.phone.view.fragment.investment.discover.DiscoverFragment.k = r0
int r7 = r7 % r8
r7 = r1
goto L7b
L7a:
r7 = r4
L7b:
r5.c = r7
boolean r7 = r5.i
if (r7 == 0) goto Lbf
o.pug r7 = new o.pug
char[] r0 = new char[r1]
r2 = 46350(0xb50e, float:6.495E-41)
r0[r4] = r2
int r2 = android.graphics.drawable.Drawable.resolveOpacity(r4, r4)
int r2 = 12637 - r2
java.lang.Object[] r3 = new java.lang.Object[r1]
p(r0, r2, r3)
r0 = r3[r4]
java.lang.String r0 = (java.lang.String) r0
java.lang.String r0 = r0.intern()
java.lang.String r2 = "mf_customer"
r7.<init>(r2, r0)
o.pug r0 = new o.pug
java.lang.String r2 = "source"
java.lang.String r3 = "landing"
r0.<init>(r2, r3)
o.pug[] r2 = new o.pug[r8]
r2[r4] = r7
r2[r1] = r0
java.lang.String r7 = "mutualfund_discover_landing"
r5.c(r7, r2)
int r7 = com.scb.phone.view.fragment.investment.discover.DiscoverFragment.k
int r7 = r7 + 109
int r0 = r7 % 128
com.scb.phone.view.fragment.investment.discover.DiscoverFragment.m = r0
int r7 = r7 % r8
Lbf:
return r6
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.fragment.investment.discover.DiscoverFragment.onCreateView(android.view.LayoutInflater, android.view.ViewGroup, android.os.Bundle):android.view.View");
}
@Override // androidx.fragment.app.Fragment
public final void onViewCreated(View view, Bundle bundle) {
int i = 2 % 2;
C14957gcv.e(view, "");
super.onViewCreated(view, bundle);
((bBR) a(new Object[]{this}, -63985328, 63985335, System.identityHashCode(this))).e((bBR) this);
s();
((bBR) a(new Object[]{this}, -63985328, 63985335, System.identityHashCode(this))).b();
Iki iki = new Iki();
this.h = iki;
Iki iki2 = iki;
String str = Iki.a.a;
if (getActivity() != null) {
int i2 = m + 75;
k = i2 % 128;
int i3 = i2 % 2;
iki2.c(((BaseActivity) getActivity()).scbAnalytics, str);
int i4 = k + 93;
m = i4 % 128;
int i5 = i4 % 2;
}
}
@Override // com.scb.phone.view.fragment.BaseFragment, androidx.fragment.app.Fragment
public final void onDestroy() {
int i = 2 % 2;
int i2 = m + 5;
k = i2 % 128;
if (i2 % 2 != 0) {
super.onDestroy();
((bBR) a(new Object[]{this}, -63985328, 63985335, System.identityHashCode(this))).w_();
} else {
super.onDestroy();
((bBR) a(new Object[]{this}, -63985328, 63985335, System.identityHashCode(this))).w_();
throw null;
}
}
@Override // androidx.fragment.app.Fragment
public final void onResume() {
int i = 2 % 2;
int i2 = k + 67;
m = i2 % 128;
int i3 = i2 % 2;
super.onResume();
View view = getView();
if (view != null) {
view.setVisibility(((bBR) a(new Object[]{this}, -63985328, 63985335, System.identityHashCode(this))).d.b.a.p() ? 0 : 8);
}
InfiniteRecyclerView F = F();
getResources();
F.g();
int i4 = m + 37;
k = i4 % 128;
int i5 = i4 % 2;
}
private static /* synthetic */ Object e(Object[] objArr) {
DiscoverFragment discoverFragment = (DiscoverFragment) objArr[0];
int i = 2 % 2;
int i2 = k + 111;
m = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
fSJ fsj = discoverFragment.F().ac;
obj.hashCode();
throw null;
}
fSJ fsj2 = discoverFragment.F().ac;
if (fsj2 != null) {
fsj2.dispose();
}
super.onPause();
int i3 = k + 59;
m = i3 % 128;
if (i3 % 2 == 0) {
return null;
}
obj.hashCode();
throw null;
}
@Override // o.InterfaceC13752fgJ
public final void i() {
int i = 2 % 2;
final bBR bbr = (bBR) a(new Object[]{this}, -63985328, 63985335, System.identityHashCode(this));
if (bbr.d.b.a.p()) {
return;
}
ZI.IeS ieS = new ZI.IeS(bbr) { // from class: o.bBX
private bBR e;
@Override // o.ZI.IeS
public final void e(Object obj) {
bBR.c(this.e, (InterfaceC9399dix) obj);
}
{
this.e = bbr;
}
};
if (bbr.f != 0) {
int i2 = m + 53;
int i3 = i2 % 128;
k = i3;
int i4 = i2 % 2;
int i5 = i3 + 69;
m = i5 % 128;
if (i5 % 2 == 0) {
ieS.e(bbr.f);
} else {
ieS.e(bbr.f);
throw null;
}
}
}
@Override // o.InterfaceC9390dio
public final void e() {
int i = 2 % 2;
FragmentActivity activity = getActivity();
if (activity != null) {
DiscoverDisclaimerActivity.HBt hBt = DiscoverDisclaimerActivity.b;
FragmentActivity fragmentActivity = activity;
C14957gcv.e(fragmentActivity, "");
Intent intent = new Intent(fragmentActivity, (Class<?>) DiscoverDisclaimerActivity.class);
intent.setFlags(603979776);
startActivityForResult(intent, 10001);
int i2 = m + 31;
k = i2 % 128;
int i3 = i2 % 2;
}
int i4 = k + 57;
m = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
}
private static /* synthetic */ Object d(Object[] objArr) {
FragmentActivity activity;
DiscoverFragment discoverFragment = (DiscoverFragment) objArr[0];
int i = 2 % 2;
int i2 = m + 21;
k = i2 % 128;
if (i2 % 2 == 0) {
activity = discoverFragment.getActivity();
int i3 = 62 / 0;
if (activity == null) {
return null;
}
} else {
activity = discoverFragment.getActivity();
if (activity == null) {
return null;
}
}
NtbDiscoverDisclaimerActivity.LWm lWm = NtbDiscoverDisclaimerActivity.f7461o;
FragmentActivity fragmentActivity = activity;
C14957gcv.e(fragmentActivity, "");
Intent intent = new Intent(fragmentActivity, (Class<?>) NtbDiscoverDisclaimerActivity.class);
intent.setFlags(603979776);
discoverFragment.startActivityForResult(intent, 10001);
int i4 = k + 79;
m = i4 % 128;
int i5 = i4 % 2;
return null;
}
@Override // com.scb.phone.view.fragment.BaseFragment, androidx.fragment.app.Fragment
public final void onActivityResult(int i, int i2, Intent intent) {
int i3 = 2 % 2;
super.onActivityResult(i, i2, intent);
if (10001 != i || -1 == i2) {
if (10002 == i && -1 == i2) {
r();
int i4 = k + 55;
m = i4 % 128;
int i5 = i4 % 2;
return;
}
return;
}
int i6 = k + 89;
m = i6 % 128;
if (i6 % 2 == 0) {
FragmentActivity activity = getActivity();
if (activity != null) {
activity.finish();
return;
}
return;
}
getActivity();
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.InterfaceC9399dix
public final void e(List<C0840Pr> list) {
int i = 2 % 2;
C14957gcv.e(list, "");
HighlightRecycleAdapter highlightRecycleAdapter = this.d;
if (highlightRecycleAdapter == null) {
C14957gcv.a("");
highlightRecycleAdapter = null;
}
C14957gcv.e(list, "");
highlightRecycleAdapter.c.clear();
highlightRecycleAdapter.c.addAll(list);
highlightRecycleAdapter.notifyDataSetChanged();
d(list.size());
boolean z = true;
if (list.size() > 1) {
int i2 = m;
int i3 = i2 + 43;
k = i3 % 128;
int i4 = i3 % 2;
int i5 = i2 + 45;
k = i5 % 128;
int i6 = i5 % 2;
z = false;
}
d(z);
auz_().setVisibility(0);
int i7 = k + 13;
m = i7 % 128;
int i8 = i7 % 2;
}
private static /* synthetic */ Object c(Object[] objArr) {
DiscoverFragment discoverFragment = (DiscoverFragment) objArr[0];
boolean z = true;
List list = (List) objArr[1];
int i = 2 % 2;
int i2 = m + 117;
k = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(list, "");
RecommendRecyclerAdapter recommendRecyclerAdapter = discoverFragment.j;
if (recommendRecyclerAdapter == null) {
int i4 = k + 111;
m = i4 % 128;
int i5 = i4 % 2;
C14957gcv.a("");
recommendRecyclerAdapter = null;
}
C14957gcv.e(list, "");
recommendRecyclerAdapter.c.clear();
recommendRecyclerAdapter.c.addAll(list);
recommendRecyclerAdapter.notifyDataSetChanged();
discoverFragment.c(list.size());
if (list.size() > 1) {
int i6 = m + 119;
k = i6 % 128;
int i7 = i6 % 2;
z = false;
}
a(new Object[]{discoverFragment, Boolean.valueOf(z)}, 662794814, -662794804, System.identityHashCode(discoverFragment));
discoverFragment.auA_().setVisibility(0);
discoverFragment.auB_().setVisibility(0);
return null;
}
@Override // o.InterfaceC9399dix
public final void b(String str) {
int i = 2 % 2;
int i2 = m + 89;
k = i2 % 128;
if (i2 % 2 == 0) {
C14957gcv.e(str, "");
((TextView) a(new Object[]{this}, -1556382372, 1556382376, System.identityHashCode(this))).setText(str);
int i3 = 29 / 0;
} else {
C14957gcv.e(str, "");
((TextView) a(new Object[]{this}, -1556382372, 1556382376, System.identityHashCode(this))).setText(str);
}
int i4 = m + 87;
k = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
private static /* synthetic */ Object f(Object[] objArr) {
DiscoverFragment discoverFragment = (DiscoverFragment) objArr[0];
String str = (String) objArr[1];
List list = (List) objArr[2];
String str2 = (String) objArr[3];
boolean booleanValue = ((Boolean) objArr[4]).booleanValue();
int i = 2 % 2;
int i2 = k + 25;
m = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(str, "");
C14957gcv.e(list, "");
discoverFragment.auv_().setVisibility(0);
FragmentActivity activity = discoverFragment.getActivity();
if (activity != null) {
DiscoverTopFundListFragment.LWm lWm = DiscoverTopFundListFragment.d;
C14957gcv.e(list, "");
C14957gcv.e(str, "");
DiscoverTopFundListFragment discoverTopFundListFragment = new DiscoverTopFundListFragment();
Bundle bundle = new Bundle();
bundle.putString("com.scb.phone.view.fragment.investment.discover.DiscoverTopFundListFragment.applicationId", str2);
bundle.putParcelableArrayList("com.scb.phone.EXTRA_LIST", new ArrayList<>(list));
bundle.putString("com.scb.phone.EXTRA_TRANSACTION_DATE", str);
bundle.putBoolean("com.scb.phone.EXTRA_IS_NTB_USER", booleanValue);
discoverTopFundListFragment.setArguments(bundle);
yRS supportFragmentManager = activity.getSupportFragmentManager();
C14957gcv.c(supportFragmentManager, "");
AbstractC13482fbE a = supportFragmentManager.a();
a.b(R.id.layoutTopList, discoverTopFundListFragment, null, 2);
a.a();
}
int i4 = k + 55;
m = i4 % 128;
if (i4 % 2 == 0) {
return null;
}
throw null;
}
private static /* synthetic */ Object i(Object[] objArr) {
ViewGroup auv_;
int i;
DiscoverFragment discoverFragment = (DiscoverFragment) objArr[0];
int i2 = 2 % 2;
int i3 = k + 53;
m = i3 % 128;
if (i3 % 2 != 0) {
discoverFragment.auw_().setVisibility(0);
auv_ = discoverFragment.auv_();
i = 21;
} else {
discoverFragment.auw_().setVisibility(0);
auv_ = discoverFragment.auv_();
i = 8;
}
auv_.setVisibility(i);
int i4 = m + 15;
k = i4 % 128;
if (i4 % 2 != 0) {
return null;
}
throw null;
}
private static /* synthetic */ Object j(Object[] objArr) {
DiscoverFragment discoverFragment = (DiscoverFragment) objArr[0];
int i = 2 % 2;
int i2 = k + 37;
m = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
discoverFragment.getActivity();
obj.hashCode();
throw null;
}
FragmentActivity activity = discoverFragment.getActivity();
if (activity != null) {
CustomDialog.b(activity).c(R.string.investment_ntb_does_not_support_title).d(R.string.investment_ntb_does_not_support_text).aoT_(R.string.ok, new DialogInterface.OnClickListener() { // from class: o.fgC
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i3) {
DiscoverFragment.f();
}
}).show();
}
int i3 = m + 95;
k = i3 % 128;
if (i3 % 2 != 0) {
return null;
}
obj.hashCode();
throw null;
}
private static /* synthetic */ Object g(Object[] objArr) {
DiscoverFragment discoverFragment = (DiscoverFragment) objArr[0];
int i = 2 % 2;
int i2 = m + 55;
k = i2 % 128;
int i3 = i2 % 2;
discoverFragment.auw_().setVisibility(8);
discoverFragment.auv_().setVisibility(0);
int i4 = m + 87;
k = i4 % 128;
Object obj = null;
if (i4 % 2 != 0) {
return null;
}
obj.hashCode();
throw null;
}
@Override // o.InterfaceC9399dix
public final void d() {
int i = 2 % 2;
int i2 = m + 51;
k = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 91 / 0;
if (!(getActivity() instanceof InterfaceC6627cYe.jbe)) {
return;
}
} else if (!(getActivity() instanceof InterfaceC6627cYe.jbe)) {
return;
}
InterfaceC17396wQp activity = getActivity();
C14957gcv.d(activity, "");
((InterfaceC6627cYe.jbe) activity).d(mfY.MF_DISCOVER_DEEPLINK);
int i4 = m + 75;
k = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 2 / 4;
}
}
private static final void a(DiscoverFragment discoverFragment) {
int i = 2 % 2;
int i2 = m + 33;
k = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(discoverFragment, "");
discoverFragment.r();
int i4 = k + 85;
m = i4 % 128;
int i5 = i4 % 2;
}
private final void s() {
int i = 2 % 2;
g(this);
j(this);
z();
A();
w();
auy_().setOnClickListener(new View.OnClickListener(this) { // from class: o.fgK
private DiscoverFragment d;
@Override // android.view.View.OnClickListener
public final void onClick(View view) {
DiscoverFragment.a(new Object[]{this.d}, -747165633, 747165633, (int) System.currentTimeMillis());
}
{
this.d = this;
}
});
int i2 = m + 53;
k = i2 % 128;
int i3 = i2 % 2;
}
@Override // o.InterfaceC9399dix
public final void a(String str) {
int i = 2 % 2;
int i2 = m + 95;
k = i2 % 128;
Iki iki = null;
if (i2 % 2 == 0) {
iki.hashCode();
throw null;
}
Iki iki2 = this.h;
if (iki2 == null) {
C14957gcv.a("");
iki2 = null;
}
iki2.d(Iki.d.d, str);
Iki iki3 = this.h;
if (iki3 == null) {
C14957gcv.a("");
} else {
iki = iki3;
}
Iki iki4 = iki;
String str2 = Iki.a.c;
if (getActivity() != null) {
iki4.c(((BaseActivity) getActivity()).scbAnalytics, str2);
int i3 = m + 69;
k = i3 % 128;
int i4 = i3 % 2;
}
int i5 = m + 91;
k = i5 % 128;
int i6 = i5 % 2;
}
@Override // o.InterfaceC9399dix
public final void c(String str, String str2) {
int i = 2 % 2;
int i2 = m + 77;
k = i2 % 128;
if (i2 % 2 != 0) {
C14957gcv.e(str, "");
Context context = getContext();
if (context != null) {
if (str2 == null) {
int i3 = k + 45;
m = i3 % 128;
int i4 = i3 % 2;
str2 = "";
}
context.startActivity(SCBUniversalWebViewActivity.akh_(context, str, str2));
return;
}
return;
}
C14957gcv.e(str, "");
getContext();
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.InterfaceC9399dix
public final void c(String str) {
int i = 2 % 2;
C14957gcv.e(str, "");
Iki iki = this.h;
Object obj = null;
if (iki == null) {
C14957gcv.a("");
int i2 = m + 9;
k = i2 % 128;
int i3 = i2 % 2;
iki = null;
}
iki.c();
Iki iki2 = this.h;
if (iki2 == null) {
C14957gcv.a("");
iki2 = null;
}
iki2.d(Iki.d.b, str);
Iki iki3 = this.h;
if (iki3 == null) {
C14957gcv.a("");
iki3 = null;
}
Iki iki4 = iki3;
String str2 = Iki.a.b;
if (getActivity() != null) {
int i4 = k + 117;
m = i4 % 128;
if (i4 % 2 == 0) {
iki4.c(((BaseActivity) getActivity()).scbAnalytics, str2);
} else {
iki4.c(((BaseActivity) getActivity()).scbAnalytics, str2);
obj.hashCode();
throw null;
}
}
}
@Override // o.InterfaceC9399dix
public final void e(String str) {
int i = 2 % 2;
C14957gcv.e(str, "");
try {
Intent intent = new Intent(CommonConstant.ACTION.HWID_SCHEME_URL, Uri.parse(str));
intent.addFlags(268435456);
startActivity(intent);
int i2 = k + 75;
m = i2 % 128;
if (i2 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
} catch (Exception e) {
guQ.e(e);
}
}
@Override // o.InterfaceC9399dix
public final void b(String str, String str2, String str3) {
int i = 2 % 2;
int i2 = m + 19;
k = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
obj.hashCode();
throw null;
}
Iki iki = this.h;
if (iki == null) {
C14957gcv.a("");
int i3 = k + 71;
m = i3 % 128;
int i4 = i3 % 2;
iki = null;
}
iki.d(Iki.d.c, str3);
Iki iki2 = this.h;
if (iki2 == null) {
C14957gcv.a("");
iki2 = null;
}
iki2.d(Iki.d.a, str2);
Iki iki3 = this.h;
if (iki3 == null) {
C14957gcv.a("");
iki3 = null;
}
Iki iki4 = iki3;
String str4 = Iki.a.i;
if (getActivity() != null) {
iki4.c(((BaseActivity) getActivity()).scbAnalytics, str4);
}
Context context = getContext();
if (context != null) {
HashMap hashMap = new HashMap();
HashMap hashMap2 = hashMap;
hashMap2.put(C15971jzF.e.e, str);
hashMap2.put(C15971jzF.e.f9187o, str2);
PartnerAuthorizationActivity.HBt hBt = PartnerAuthorizationActivity.f7686o;
context.startActivity(PartnerAuthorizationActivity.HBt.ajP_(context, hashMap, true, null));
}
}
private final void d(int i) {
int i2 = 2 % 2;
if (i <= 0) {
F().setVisibility(8);
return;
}
int i3 = k + 63;
m = i3 % 128;
int i4 = i3 % 2;
F().setVisibility(0);
o().setCount(i);
o().setAnimationDuration(0L);
o().setVisibility(i < 10 ? 0 : 8);
int i5 = k + 37;
m = i5 % 128;
if (i5 % 2 != 0) {
int i6 = 93 / 0;
}
}
private final void c(int i) {
int i2 = 2 % 2;
int i3 = m + 77;
k = i3 % 128;
int i4 = i3 % 2;
int i5 = 8;
if (i > 0) {
L().setVisibility(0);
n().setCount(i);
n().setAnimationDuration(0L);
PageIndicatorView n = n();
if (i < 10) {
int i6 = m + 87;
k = i6 % 128;
i5 = i6 % 2 == 0 ? 1 : 0;
}
n.setVisibility(i5);
return;
}
L().setVisibility(8);
}
private final int c(boolean z) {
int i = 2 % 2;
int i2 = k + 107;
m = i2 % 128;
int i3 = i2 % 2;
int i4 = C6583cXR.Wb_(getActivity()).widthPixels;
if (!z) {
return i4 - l();
}
int l = (i4 - l()) / 2;
int i5 = m + 63;
k = i5 % 128;
if (i5 % 2 != 0) {
return l;
}
int i6 = 5 / 4;
return l;
}
private final int a(boolean z) {
int i = 2 % 2;
int i2 = k + 23;
m = i2 % 128;
int i3 = i2 % 2;
int i4 = C6583cXR.Wb_(getActivity()).widthPixels;
if (z) {
int i5 = k + 109;
m = i5 % 128;
int i6 = i5 % 2;
return (i4 - m()) / 2;
}
int m2 = i4 - m();
int i7 = k + 9;
m = i7 % 128;
int i8 = i7 % 2;
return m2;
}
private final void w() {
int i = 2 % 2;
auw_().setOnClickListener(new View.OnClickListener(this) { // from class: o.fgG
private DiscoverFragment e;
@Override // android.view.View.OnClickListener
public final void onClick(View view) {
DiscoverFragment.c(this.e);
}
{
this.e = this;
}
});
int i2 = k + 13;
m = i2 % 128;
if (i2 % 2 != 0) {
throw null;
}
}
private static final void f(DiscoverFragment discoverFragment) {
int i = 2 % 2;
int i2 = m + 25;
k = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(discoverFragment, "");
((bBR) a(new Object[]{discoverFragment}, -63985328, 63985335, System.identityHashCode(discoverFragment))).b();
int i4 = m + 29;
k = i4 % 128;
int i5 = i4 % 2;
}
private final void r() {
BaseActivity baseActivity;
boolean z;
int i = 2 % 2;
int i2 = m + 17;
k = i2 % 128;
int i3 = i2 % 2;
FragmentActivity activity = getActivity();
Object obj = null;
if (activity instanceof BaseActivity) {
int i4 = k + 27;
m = i4 % 128;
int i5 = i4 % 2;
baseActivity = (BaseActivity) activity;
} else {
baseActivity = null;
}
if (baseActivity != null) {
int i6 = m + 9;
k = i6 % 128;
if (i6 % 2 == 0) {
obj.hashCode();
throw null;
}
if (this.c || !baseActivity.X() || baseActivity.z_()) {
int i7 = m + 99;
k = i7 % 128;
int i8 = i7 % 2;
z = false;
} else {
int i9 = k;
int i10 = i9 + 39;
m = i10 % 128;
int i11 = i10 % 2;
int i12 = i9 + 109;
m = i12 % 128;
int i13 = i12 % 2;
z = true;
}
if (this.c) {
NtbDiscoverSearchActivity.Sts sts = NtbDiscoverSearchActivity.k;
BaseActivity baseActivity2 = baseActivity;
C14957gcv.e(baseActivity2, "");
Intent intent = new Intent(baseActivity2, (Class<?>) NtbDiscoverSearchActivity.class);
intent.setFlags(603979776);
startActivity(intent);
return;
}
if (!z) {
Intent intent2 = (Intent) PinLoginActivity.c(new Object[]{baseActivity}, -1569431463, 1569431470, (int) System.currentTimeMillis());
intent2.setFlags(603979776);
startActivityForResult(intent2, 10002);
} else {
DiscoverSearchActivity.LWm lWm = DiscoverSearchActivity.b;
BaseActivity baseActivity3 = baseActivity;
C14957gcv.e(baseActivity3, "");
Intent intent3 = new Intent(baseActivity3, (Class<?>) DiscoverSearchActivity.class);
intent3.setFlags(603979776);
startActivity(intent3);
}
}
}
private static /* synthetic */ void g(DiscoverFragment discoverFragment) {
int i = 2 % 2;
int i2 = k + 63;
m = i2 % 128;
int i3 = i2 % 2;
discoverFragment.d(false);
int i4 = k + 113;
m = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 44 / 0;
}
}
private final void d(boolean z) {
int i = 2 % 2;
int i2 = m + 19;
k = i2 % 128;
if (i2 % 2 == 0) {
F();
throw null;
}
F().setPadding(z ? c(true) : 0, (int) getResources().getDimension(R.dimen.f20262131165792), c(z), (int) getResources().getDimension(R.dimen.f20262131165792));
int i3 = m + 69;
k = i3 % 128;
if (i3 % 2 == 0) {
throw null;
}
}
private static /* synthetic */ void j(DiscoverFragment discoverFragment) {
int i = 2 % 2;
int i2 = m + 67;
k = i2 % 128;
int i3 = i2 % 2;
a(new Object[]{discoverFragment, false}, 662794814, -662794804, System.identityHashCode(discoverFragment));
int i4 = k + 51;
m = i4 % 128;
if (i4 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
private static /* synthetic */ Object k(Object[] objArr) {
DiscoverFragment discoverFragment = (DiscoverFragment) objArr[0];
boolean booleanValue = ((Boolean) objArr[1]).booleanValue();
int i = 2 % 2;
int i2 = m + 123;
k = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
discoverFragment.L();
obj.hashCode();
throw null;
}
discoverFragment.L().setPadding(!(booleanValue ^ true) ? discoverFragment.a(true) : 0, (int) discoverFragment.getResources().getDimension(R.dimen.f20262131165792), discoverFragment.a(booleanValue), (int) discoverFragment.getResources().getDimension(R.dimen.f20262131165792));
int i3 = k + 107;
m = i3 % 128;
if (i3 % 2 == 0) {
return null;
}
throw null;
}
/* loaded from: classes5.dex */
public static final class Sts implements HighlightRecycleAdapter.HBt<C0840Pr> {
private DiscoverFragment b;
Sts(DiscoverFragment discoverFragment) {
this.b = discoverFragment;
}
@Override // com.scb.phone.view.adapter.investment.discover.HighlightRecycleAdapter.HBt
public final /* synthetic */ void c(C0840Pr c0840Pr, final String str) {
final C0840Pr c0840Pr2 = c0840Pr;
C14957gcv.e(c0840Pr2, "");
C14957gcv.e(str, "");
DiscoverFragment discoverFragment = this.b;
bBR bbr = (bBR) DiscoverFragment.a(new Object[]{discoverFragment}, -63985328, 63985335, System.identityHashCode(discoverFragment));
C14957gcv.e(c0840Pr2, "");
C14957gcv.e(str, "");
final String str2 = c0840Pr2.b;
ZI.IeS ieS = new ZI.IeS(str, c0840Pr2, str2) { // from class: o.bBQ
private C0840Pr b;
private String d;
private String e;
@Override // o.ZI.IeS
public final void e(Object obj) {
bBR.d(this.d, this.b, this.e, (InterfaceC9399dix) obj);
}
{
this.d = str;
this.b = c0840Pr2;
this.e = str2;
}
};
if (bbr.f != 0) {
ieS.e(bbr.f);
}
}
}
/* loaded from: classes5.dex */
public static final class LWm implements fJF.HBt {
private DiscoverFragment e;
LWm(DiscoverFragment discoverFragment) {
this.e = discoverFragment;
}
@Override // o.fJF.HBt
public final void d(int i) {
PageIndicatorView o2 = this.e.o();
HighlightRecycleAdapter e = DiscoverFragment.e(this.e);
if (e == null) {
C14957gcv.a("");
e = null;
}
o2.setSelection(e.b(i));
}
}
private final void z() {
int i = 2 % 2;
this.d = new HighlightRecycleAdapter(new ArrayList(), new Sts(this));
InfiniteRecyclerView F = F();
F.setLayoutManager(this.g);
HighlightRecycleAdapter highlightRecycleAdapter = this.d;
if (highlightRecycleAdapter == null) {
C14957gcv.a("");
int i2 = k + 43;
m = i2 % 128;
int i3 = i2 % 2;
highlightRecycleAdapter = null;
}
F.setAdapter(highlightRecycleAdapter);
InfiniteRecyclerView.setOnSnapPositionChangeListener$default(F, null, new LWm(this), 1, null);
int i4 = k + 3;
m = i4 % 128;
int i5 = i4 % 2;
}
/* loaded from: classes5.dex */
public static final class tOB implements RecommendRecyclerAdapter.HBt<C0839Pq> {
private DiscoverFragment b;
tOB(DiscoverFragment discoverFragment) {
this.b = discoverFragment;
}
@Override // com.scb.phone.view.adapter.investment.discover.RecommendRecyclerAdapter.HBt
public final /* synthetic */ void b(C0839Pq c0839Pq) {
final C0839Pq c0839Pq2 = c0839Pq;
C14957gcv.e(c0839Pq2, "");
DiscoverFragment discoverFragment = this.b;
final bBR bbr = (bBR) DiscoverFragment.a(new Object[]{discoverFragment}, -63985328, 63985335, System.identityHashCode(discoverFragment));
C14957gcv.e(c0839Pq2, "");
ZI.IeS ieS = new ZI.IeS(bbr, c0839Pq2) { // from class: o.bBV
private bBR c;
private C0839Pq e;
@Override // o.ZI.IeS
public final void e(Object obj) {
bBR.e(this.c, this.e, (InterfaceC9399dix) obj);
}
{
this.c = bbr;
this.e = c0839Pq2;
}
};
if (bbr.f != 0) {
ieS.e(bbr.f);
}
}
@Override // com.scb.phone.view.adapter.investment.discover.RecommendRecyclerAdapter.HBt
public final /* synthetic */ void e(C0839Pq c0839Pq) {
final C0839Pq c0839Pq2 = c0839Pq;
C14957gcv.e(c0839Pq2, "");
DiscoverFragment discoverFragment = this.b;
final bBR bbr = (bBR) DiscoverFragment.a(new Object[]{discoverFragment}, -63985328, 63985335, System.identityHashCode(discoverFragment));
C14957gcv.e(c0839Pq2, "");
ZI.IeS ieS = new ZI.IeS(bbr, c0839Pq2) { // from class: o.bBT
private bBR a;
private C0839Pq e;
@Override // o.ZI.IeS
public final void e(Object obj) {
bBR.d(this.a, this.e, (InterfaceC9399dix) obj);
}
{
this.a = bbr;
this.e = c0839Pq2;
}
};
if (bbr.f != 0) {
ieS.e(bbr.f);
}
}
}
/* loaded from: classes5.dex */
public static final class ojQ implements fJF.HBt {
private DiscoverFragment b;
ojQ(DiscoverFragment discoverFragment) {
this.b = discoverFragment;
}
@Override // o.fJF.HBt
public final void d(int i) {
PageIndicatorView n = this.b.n();
RecommendRecyclerAdapter b = DiscoverFragment.b(this.b);
if (b == null) {
C14957gcv.a("");
b = null;
}
n.setSelection(b.b(i));
}
}
private final void A() {
int i = 2 % 2;
this.j = new RecommendRecyclerAdapter(new ArrayList(), new tOB(this));
InfiniteRecyclerView L = L();
L.setLayoutManager(this.l);
RecommendRecyclerAdapter recommendRecyclerAdapter = this.j;
Object obj = null;
if (recommendRecyclerAdapter == null) {
int i2 = m + 93;
k = i2 % 128;
if (i2 % 2 == 0) {
C14957gcv.a("");
obj.hashCode();
throw null;
}
C14957gcv.a("");
int i3 = k + 35;
m = i3 % 128;
int i4 = i3 % 2;
recommendRecyclerAdapter = null;
}
L.setAdapter(recommendRecyclerAdapter);
InfiniteRecyclerView.setOnSnapPositionChangeListener$default(L, null, new ojQ(this), 1, null);
}
public static final DiscoverFragment h() {
int i = 2 % 2;
DiscoverFragment discoverFragment = new DiscoverFragment();
int i2 = m + 35;
k = i2 % 128;
int i3 = i2 % 2;
return discoverFragment;
}
private static /* synthetic */ Object b(Object[] objArr) {
DiscoverFragment discoverFragment = (DiscoverFragment) objArr[0];
int i = 2 % 2;
int i2 = k + 93;
m = i2 % 128;
int i3 = i2 % 2;
a(discoverFragment);
int i4 = m + 89;
k = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 48 / 0;
}
return null;
}
static void k() {
f8046o = 5780061950022887160L;
}
@Override // o.InterfaceC9399dix
public final void j() {
a(new Object[]{this}, 2064575401, -2064575396, System.identityHashCode(this));
}
@Override // o.InterfaceC9399dix
public final void d(String str, List<C0842Ps> list, String str2, boolean z) {
a(new Object[]{this, str, list, str2, Boolean.valueOf(z)}, -1270424678, 1270424687, System.identityHashCode(this));
}
@Override // o.InterfaceC9399dix
public final void a(List<C0839Pq> list) {
a(new Object[]{this, list}, -112714718, 112714719, System.identityHashCode(this));
}
@Override // o.InterfaceC9399dix
public final void b() {
a(new Object[]{this}, 1361647397, -1361647389, System.identityHashCode(this));
}
@Override // o.InterfaceC9390dio
public final void a() {
a(new Object[]{this}, -676616383, 676616386, System.identityHashCode(this));
}
@Override // o.InterfaceC9399dix
public final void c() {
a(new Object[]{this}, 428182142, -428182136, System.identityHashCode(this));
}
@Override // androidx.fragment.app.Fragment
public final void onPause() {
a(new Object[]{this}, -1308985262, 1308985264, System.identityHashCode(this));
}
private TextView auC_() {
return (TextView) a(new Object[]{this}, -1556382372, 1556382376, System.identityHashCode(this));
}
public final bBR g() {
return (bBR) a(new Object[]{this}, -63985328, 63985335, System.identityHashCode(this));
}
private final void b(boolean z) {
a(new Object[]{this, Boolean.valueOf(z)}, 662794814, -662794804, System.identityHashCode(this));
}
static {
m = 0;
k();
new RVV((byte) 0);
int i = k + 17;
m = i % 128;
int i2 = i % 2;
}
public static /* synthetic */ void c(DiscoverFragment discoverFragment) {
int i = 2 % 2;
int i2 = m + 125;
k = i2 % 128;
int i3 = i2 % 2;
f(discoverFragment);
int i4 = m + 31;
k = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
public static /* synthetic */ void f() {
int i = 2 % 2;
int i2 = k + 93;
m = i2 % 128;
if (i2 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}