package com.scb.phone.view.activity.mwpartner; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.graphics.Color; import android.graphics.ImageFormat; import android.graphics.PointF; import android.media.AudioTrack; import android.net.Uri; import android.os.Build; import android.os.Bundle; import android.os.Process; import android.text.AndroidCharacter; import android.text.Editable; import android.text.InputFilter; import android.text.TextUtils; import android.util.TypedValue; import android.view.Gravity; import android.view.KeyEvent; import android.view.MenuItem; import android.view.MotionEvent; import android.view.View; import android.view.ViewConfiguration; import android.widget.Button; import android.widget.EditText; import android.widget.ExpandableListView; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.Spinner; import android.widget.TextView; import butterknife.BindView; import butterknife.ButterKnife; import butterknife.OnClick; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import com.kofax.kmc.kut.utilities.IpLibUtil; import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper; import com.scb.phone.R; import com.scb.phone.view.activity.mwpartner.MwBusinessDetailsActivity; import com.scb.phone.view.custom.common.CustomDialog; import com.scb.phone.view.custom.common.EditTextDecorator; import java.io.File; import java.io.IOException; import java.lang.reflect.Method; import java.util.List; import java.util.NoSuchElementException; import java.util.Objects; import net.sf.scuba.smartcards.ISO7816; import o.AbstractActivityC8871dYf; import o.AbstractC13163fSk; import o.AbstractViewOnClickListenerC10455eEp; import o.C0958Sh; import o.C0966Sm; import o.C11560ehe; import o.C12891fKc; import o.C13389fZA; import o.C14957gcv; import o.C15772iWn; import o.C4593bdB; import o.C8904dZe; import o.C9257dgM; import o.CnE; import o.GuL; import o.InterfaceC0834Plv; import o.InterfaceC1244Ytw; import o.InterfaceC13169fSq; import o.InterfaceC13187fTa; import o.InterfaceC15902jVZ; import o.InterfaceC9453djy; import o.RQ; import o.RV; import o.YKU; import o.dXX; import o.fSQ; import o.fSS; import o.fSZ; import o.guQ; import o.huo; import o.nMh; import o.xzZ; import o.zEQ; import o.zJl; import org.bouncycastle.asn1.x509.DisplayText; import org.bouncycastle.crypto.tls.CipherSuite; /* loaded from: classes5.dex */ public class MwBusinessDetailsActivity extends AbstractActivityC8871dYf implements InterfaceC9453djy.IeS { private C13389fZA B; private String C; @BindView Button btnChoosePhoto; @BindView Button btnNext; @BindView Button btnTakePhoto; @BindView EditText etEnglishShopName; @BindView EditText etLineId; @BindView EditText etReferralCode; @BindView EditText etShopEmail; @BindView EditText etShopPhoneNumber; @BindView EditText etThaiShopName; @BindView EditTextDecorator etdEnglishShopName; @BindView EditTextDecorator etdLineId; @BindView EditTextDecorator etdReferralCode; @BindView EditTextDecorator etdShopEmail; @BindView EditTextDecorator etdShopPhoneNumber; @BindView EditTextDecorator etdThaiShopName; @BindView ImageView ivAddShopCover; @BindView ImageView ivDeleteIcon; @BindView ImageView ivShopCover; private C13389fZA> k; public InterfaceC9453djy.HBt l; @BindView LinearLayout llAddShopPhotoContainer; @BindView LinearLayout llShopPhotoContainer; private C13389fZA> m; /* renamed from: o, reason: collision with root package name */ private dXX f7573o; private C13389fZA p; private huo q = registerForActivityResult(new C11560ehe.IeS(), new InterfaceC0834Plv(this) { // from class: o.dYE private MwBusinessDetailsActivity a; @Override // o.InterfaceC0834Plv public final void d(Object obj) { MwBusinessDetailsActivity.aii_(this.a, (Uri) obj); } { this.a = this; } }); private dXX r; private C13389fZA s; @BindView Spinner spinnerCategory; @BindView Spinner spinnerEstimatedSales; @BindView Spinner spinnerSubCategory; private C13389fZA t; @BindView TextView tvBusinessInformation; @BindView TextView tvKymNotice; @BindView TextView tvNameLabel; @BindView TextView tvNameValue; @BindView TextView tvPersonalInformation1; @BindView TextView tvPersonalInformation2; @BindView TextView tvShopCategoryLabel; @BindView TextView tvShopEstimatedSalesLabel; @BindView TextView tvShopPhoto; @BindView TextView tvShopSubCategoryLabel; @BindView TextView tvUploadPhotoError; private C13389fZA u; private C13389fZA v; private C13389fZA> w; private dXX x; private C13389fZA y; private C13389fZA z; private static final byte[] $$p = {9, -71, 104, 33}; private static final int $$q = CipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256; private static int $10 = 0; private static int $11 = 1; private static int G = 0; private static int I = 1; private static long A = 3670106050944168676L; private static long D = -3345501269304286541L; /* JADX WARN: Removed duplicated region for block: B:10:0x0025 */ /* JADX WARN: Removed duplicated region for block: B:7:0x001d */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> B:4:0x0027). 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 aC(int r5, short r6, byte r7, java.lang.Object[] r8) { /* int r6 = r6 + 77 int r7 = r7 * 2 int r7 = r7 + 4 byte[] r0 = com.scb.phone.view.activity.mwpartner.MwBusinessDetailsActivity.$$p int r5 = r5 * 4 int r1 = r5 + 1 byte[] r1 = new byte[r1] r2 = 0 if (r0 != 0) goto L15 r3 = r6 r4 = r2 r6 = r5 goto L27 L15: r3 = r2 L16: byte r4 = (byte) r6 r1[r3] = r4 int r4 = r3 + 1 if (r3 != r5) goto L25 java.lang.String r5 = new java.lang.String r5.(r1, r2) r8[r2] = r5 return L25: r3 = r0[r7] L27: int r6 = r6 + r3 int r7 = r7 + 1 r3 = r4 goto L16 */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.mwpartner.MwBusinessDetailsActivity.aC(int, short, byte, java.lang.Object[]):void"); } public static /* synthetic */ Object d(Object[] objArr, int i, int i2, int i3) { int i4 = (i * (-300)) + (i2 * 302) + ((~(i | i2 | i3)) * (-301)); int i5 = ~i2; switch (i4 + (((~(i5 | i3)) | (~((~i3) | i))) * (-301)) + (((~((~i) | i3)) | i5) * 301)) { case 1: return e(objArr); case 2: return a(objArr); case 3: return c(objArr); case 4: return b(objArr); case 5: return i(objArr); case 6: return h(objArr); case 7: return f(objArr); case 8: return g(objArr); case 9: return j(objArr); default: return d(objArr); } } private static void aB(char[] cArr, int i, Object[] objArr) { int i2 = 2 % 2; GuL guL = new GuL(); char[] a = GuL.a(D ^ (-7538262848231253921L), cArr, i); guL.a = 4; int i3 = $11 + 117; $10 = i3 % 128; int i4 = i3 % 2; while (guL.a < a.length) { guL.c = guL.a - 4; int i5 = guL.a; try { Object[] objArr2 = {Long.valueOf(a[guL.a] ^ a[guL.a % 4]), Long.valueOf(guL.c), Long.valueOf(D)}; Object obj = xzZ.y.get(428080616); if (obj == null) { Class cls = (Class) xzZ.c(208 - TextUtils.indexOf("", "", 0, 0), (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)) + 5, (char) ((ViewConfiguration.getScrollBarSize() >> 8) + 1706)); byte b = (byte) 0; Object[] objArr3 = new Object[1]; aC(b, (byte) (b | ISO7816.INS_PSO), b, objArr3); obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE); xzZ.y.put(428080616, obj); } a[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue(); Object[] objArr4 = {guL, guL}; Object obj2 = xzZ.y.get(-1875914398); if (obj2 == null) { Class cls2 = (Class) xzZ.c(TextUtils.lastIndexOf("", '0') + 393, 4 - ((byte) KeyEvent.getModifierMetaStateMask()), (char) (KeyEvent.getMaxKeyCode() >> 16)); byte b2 = (byte) 0; Object[] objArr5 = new Object[1]; aC(b2, (byte) (b2 | ISO7816.INS_UNBLOCK_CHV), b2, objArr5); obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class); xzZ.y.put(-1875914398, obj2); } ((Method) obj2).invoke(null, objArr4); int i6 = $11 + 45; $10 = i6 % 128; if (i6 % 2 != 0) { int i7 = 4 / 3; } } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } objArr[0] = new String(a, 4, a.length - 4); } private static void aA(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; int i3 = $11 + 43; $10 = i3 % 128; int i4 = i3 % 2; while (c4593bdB.e < cArr.length) { int i5 = 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(TextUtils.getOffsetAfter("", 0) + 402, TextUtils.getOffsetBefore("", 0) + 5, (char) ((ViewConfiguration.getTouchSlop() >> 8) + 21608)); byte b = (byte) 0; byte b2 = b; Object[] objArr3 = new Object[1]; aC(b, b2, b2, objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class); xzZ.y.put(-1229953068, obj); } jArr[i5] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() ^ (A ^ (-6958928035870403642L)); Object[] objArr4 = {c4593bdB, c4593bdB}; Object obj2 = xzZ.y.get(-1143917229); if (obj2 == null) { Class cls2 = (Class) xzZ.c(Process.getGidForName("") + 239, MotionEvent.axisFromString("") + 6, (char) ((-16777216) - Color.rgb(0, 0, 0))); byte b3 = (byte) 0; byte b4 = (byte) (b3 + 1); Object[] objArr5 = new Object[1]; aC(b3, b4, (byte) (b4 - 1), objArr5); obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class); xzZ.y.put(-1143917229, obj2); } ((Method) obj2).invoke(null, objArr4); } 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 + 119; $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(Color.alpha(0) + 238, 5 - TextUtils.indexOf("", ""), (char) (ImageFormat.getBitsPerPixel(0) + 1)); byte b5 = (byte) 0; byte b6 = (byte) (b5 + 1); Object[] objArr7 = new Object[1]; aC(b5, b6, (byte) (b6 - 1), objArr7); obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(-1143917229, obj3); } ((Method) obj3).invoke(null, objArr6); int i8 = $11 + 41; $10 = i8 % 128; int i9 = i8 % 2; } catch (Throwable th2) { Throwable cause2 = th2.getCause(); if (cause2 == null) { throw th2; } throw cause2; } } objArr[0] = new String(cArr2); } public static Intent aij_(Context context) { int i = 2 % 2; Intent intent = new Intent(context, (Class) MwBusinessDetailsActivity.class); int i2 = I + 51; G = i2 % 128; int i3 = i2 % 2; return intent; } private static /* synthetic */ Object c(Object[] objArr) { String str = (String) objArr[0]; int i = 2 % 2; int i2 = G + 35; I = i2 % 128; if (i2 % 2 != 0) { return Boolean.valueOf(str.matches("^[ก-๙A-Za-z0-9*'\"#&()@/.\\-_ ]+$")); } str.matches("^[ก-๙A-Za-z0-9*'\"#&()@/.\\-_ ]+$"); throw null; } public static /* synthetic */ boolean n(String str) { int i = 2 % 2; int i2 = I + 81; G = i2 % 128; int i3 = i2 % 2; boolean matches = str.matches("^[ก-๙A-Za-z0-9*'\"#&()@/.\\-_ ]+$"); int i4 = G + 123; I = i4 % 128; int i5 = i4 % 2; return matches; } /* JADX WARN: Code restructure failed: missing block: B:4:0x0017, code lost: if (r3 != true) goto L6; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public static /* synthetic */ java.lang.Boolean a(java.lang.Boolean r3, java.lang.Boolean r4) { /* r0 = 2 int r1 = r0 % r0 int r1 = com.scb.phone.view.activity.mwpartner.MwBusinessDetailsActivity.G int r1 = r1 + 7 int r2 = r1 % 128 com.scb.phone.view.activity.mwpartner.MwBusinessDetailsActivity.I = r2 int r1 = r1 % r0 boolean r3 = r3.booleanValue() if (r3 == 0) goto L19 boolean r3 = r4.booleanValue() r4 = 1 if (r3 == r4) goto L1a L19: r4 = 0 L1a: java.lang.Boolean r3 = java.lang.Boolean.valueOf(r4) int r4 = com.scb.phone.view.activity.mwpartner.MwBusinessDetailsActivity.G int r4 = r4 + 79 int r1 = r4 % 128 com.scb.phone.view.activity.mwpartner.MwBusinessDetailsActivity.I = r1 int r4 = r4 % r0 if (r4 == 0) goto L2a return r3 L2a: r3 = 0 throw r3 */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.mwpartner.MwBusinessDetailsActivity.a(java.lang.Boolean, java.lang.Boolean):java.lang.Boolean"); } /* JADX WARN: Multi-variable type inference failed */ private static /* synthetic */ Object a(Object[] objArr) { Boolean bool = (Boolean) objArr[0]; Boolean bool2 = (Boolean) objArr[1]; Boolean bool3 = (Boolean) objArr[2]; Boolean bool4 = (Boolean) objArr[3]; Boolean bool5 = (Boolean) objArr[4]; Boolean bool6 = (Boolean) objArr[5]; Boolean bool7 = (Boolean) objArr[6]; int i = 2 % 2; T t = YKU.c(bool, bool2, bool3, bool4, bool5, bool6, bool7).e(new InterfaceC15902jVZ() { // from class: o.dYC @Override // o.InterfaceC15902jVZ public final Object a(Object obj, Object obj2) { return MwBusinessDetailsActivity.a((Boolean) obj, (Boolean) obj2); } }).d; if (t != 0) { int i2 = G + 121; int i3 = i2 % 128; I = i3; Boolean bool8 = (Boolean) t; if (i2 % 2 == 0) { int i4 = 15 / 0; } int i5 = i3 + 71; G = i5 % 128; if (i5 % 2 == 0) { return bool8; } Object obj = null; obj.hashCode(); throw null; } throw new NoSuchElementException("No value present"); } public static /* synthetic */ zEQ a(C15772iWn c15772iWn) throws Throwable { int i = 2 % 2; int i2 = I + 43; G = i2 % 128; int i3 = i2 % 2; zEQ b = zEQ.b(c15772iWn.c); int i4 = I + 5; G = i4 % 128; int i5 = i4 % 2; return b; } public static /* synthetic */ zEQ b(C15772iWn c15772iWn) throws Throwable { int i = 2 % 2; int i2 = G + 81; I = i2 % 128; int i3 = i2 % 2; zEQ b = zEQ.b(c15772iWn.c); int i4 = I + 107; G = i4 % 128; if (i4 % 2 == 0) { return b; } throw null; } @Override // o.AbstractActivityC8871dYf, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity public void onCreate(Bundle bundle) { boolean z; boolean z2; int i = 2 % 2; Object[] objArr = new Object[1]; aA(new char[]{57667, 39103, 4768, 35977, 1665, 33012, 15092, 46249, 11989, 43226, 8818, 56323, 22068, 53274, 18955, 50298, 32353, 63602}, 31219 - KeyEvent.keyCodeFromString(""), objArr); boolean z3 = false; Class cls = Class.forName((String) objArr[0]); Object obj = null; Object[] objArr2 = new Object[1]; aA(new char[]{57679, 53412, 33417, 29878, 9914}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ntb_resume_popup_description).substring(17, 18).length() + 12798, objArr2); int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000; if (intValue < 99000 || intValue > 99999) { Context baseContext = getBaseContext(); if (baseContext == null) { Object[] objArr3 = new Object[1]; aA(new char[]{57667, 51461, 45524, 39307, 16489, 10278, 4336, 63731, 41739, 35779, 29576, 23087, 527, 60148, 53928, 48396, 26052, 19858, 13428, 7216, 50370, 44215, 38678, 32712, 10139, 3687}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 10279, objArr3); Class cls2 = Class.forName((String) objArr3[0]); Object[] objArr4 = new Object[1]; aB(new char[]{15022, 37086, 15053, 43591, 2372, 31982, 5825, 53627, 42615, 46636, 26808, 14914, 60862, 33506, 17424, 11834, 63965, 27971, 12760, 54730, 37889, 31004}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.bulk_transfer_info_text).substring(0, 280).codePointAt(110) - 116, objArr4); baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null); } if (baseContext != null) { int i2 = G + 69; I = i2 % 128; if (i2 % 2 == 0) { baseContext.getApplicationContext(); obj.hashCode(); throw null; } baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { try { Object obj2 = xzZ.y.get(125943855); if (obj2 == null) { obj2 = ((Class) xzZ.c(492 - (ViewConfiguration.getEdgeSlop() >> 16), (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 4, (char) ((-1) - Process.getGidForName("")))).getMethod("a", null); xzZ.y.put(125943855, obj2); } Object invoke = ((Method) obj2).invoke(null, null); Object[] objArr5 = new Object[1]; aB(new char[]{24993, 34871, 24976, 45804, 19247, 16067, 17356, 35362, 62314, 44744, 10945, 28543, 46755, 39490, 1573, 31535, 41602, 30121, 29684, 32902, 52995, 25000, 28549, 44246, 64482, 23903, 23302, 47207, 59367, 18701, 45236, 50619, 4114, 9394, 44259, 53711, 15376, 4206, 38991, 64799, 10487, 3150, 62533, 2812, 21875, 59343, 57774, 5883, 16722, 54131, 56610, 8714}, ViewConfiguration.getKeyRepeatDelay() >> 16, objArr5); String str = (String) objArr5[0]; Object[] objArr6 = new Object[1]; aB(new char[]{43033, 18869, 43132, 29499, 47936, 52910, 53518, 17311, 25007, 28491, 56060, 64994, 32540, 23500, 63050, 59837, 27451, 46207, 33695, 4682, 1775, 41005, 40937, 15897, 12810, 40159, 43881, 10927, 11786, 34959, 16520, 22312, 55803, 58672, 23768, 17155, 62894, 53742, 26669, 28554, 57628, 52625, 1066, 38969, 40143, 9755, 4505, 33853, 35004, 4856, 11550, 45209, 42045, 3745, 14654, 56476, 24458, 31569, 54973, 51577, 19329, 22362, 57865, 62963, 26495, 17387, 65033, 57822}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(9) + IpLibUtil.KIPP_BARCODE_DRIVER_FAIL, objArr6); String str2 = (String) objArr6[0]; Object[] objArr7 = new Object[1]; aB(new char[]{49347, 34769, 49314, 48389, 5750, 25502, 22297, 11026, 59374, 41342, 30619, 31743, 6033, 38308, 23421, 28591, 945, 31257, 11950, 37890, 28258, 28191, 12936, 47194, 23170, 21181, 1545, 44264, 18048, 18149, 60904, 53615, 45355, 11099, 61927, 50462, 40311, 8159, 50511, 59807, 35270, 1023, 43343, 7723, 62486, 59437, 48379, 633, 57397, 56526, 32808, 14047, 52449, 49304, 37980, 23250, 14085, 46388, 31630, 20284, 9043, 39228, 20328, 29675, 4006, 36309, 21309, 26573}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, objArr7); String str3 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; aB(new char[]{32642, 46697, 32746, 36081, 43582, 57234, 20765, 37953, 57769, 37071, 52121, 32242, 43153, 42060, 59239, 27104, 48369, 19450, 37563, 37392, 53543, 24503, 36549, 48708, 58771, 25433, 47636, 43772, 63948, 30478, 20968, 55097, 3642, 6823, 19955, 50012, 8822, 11878, 30983, 61342, 14022, 12891, 5457, 6184, 19203, 55767, 226, 1150, 24419, 60768, 15415, 12431, 29607, 61803, 10309, 23746, 34847, 33946, 51095, 18797, 40011, 43210, 62255, 30115, 45237, 48176, 61285, 25033, 50349, 17395, 39636, 35394, 55639, 22403, 46803, 46771, 60822, 31574}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, objArr8); String str4 = (String) objArr8[0]; Object[] objArr9 = new Object[1]; aB(new char[]{31113, 60849, 31152, 55155, 58489, 37273, 49872, 37385, 29242}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, objArr9); String str5 = (String) objArr9[0]; Object[] objArr10 = new Object[1]; aA(new char[]{57671, 39544, 5990, 37031, 3498, 35132, 628, 49039, 14551, 46087, 12636, 43726, 10116, 41200, 23596, 55653, 21155, 53240, 19241, 50210, 16860, 64144, 30291, 62274, 27800, 59778, 25326, 7802, 39777, 5352, 37291, 3378, 34422, 908, 48325, 14422}, 31547 - TextUtils.indexOf("", "", 0), objArr10); Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]}; Object obj3 = xzZ.y.get(1656189573); if (obj3 == null) { obj3 = ((Class) xzZ.c(535 - AndroidCharacter.getMirror('0'), (KeyEvent.getMaxKeyCode() >> 16) + 5, (char) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) - 1))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class); xzZ.y.put(1656189573, obj3); } ((Method) obj3).invoke(invoke, objArr11); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } } super.onCreate(bundle); setContentView(R.layout.2131558666); ButterKnife.Dg_(this); Z(); ac(); setTitle(R.string.mw_shop_information_title); d_("merchant_business_detail"); this.etdLineId.a.add(new RVV(this, new RVV.HBt() { // from class: o.dYy @Override // com.scb.phone.view.activity.mwpartner.MwBusinessDetailsActivity.RVV.HBt public final boolean c(String str6) { return ((Boolean) MwBusinessDetailsActivity.d(new Object[]{str6}, -1017365887, 1017365890, (int) System.currentTimeMillis())).booleanValue(); } })); this.etdThaiShopName.a.add(new RVV(this, new RVV.HBt() { // from class: o.dYG @Override // com.scb.phone.view.activity.mwpartner.MwBusinessDetailsActivity.RVV.HBt public final boolean c(String str6) { return MwBusinessDetailsActivity.n(str6); } })); this.etdEnglishShopName.a.add(new EditTextDecorator.HBt(this) { // from class: o.dZa private MwBusinessDetailsActivity b; @Override // com.scb.phone.view.custom.common.EditTextDecorator.HBt public final String d(String str6) { return MwBusinessDetailsActivity.d(this.b, str6); } { this.b = this; } }); this.etdShopPhoneNumber.a.add(new EditTextDecorator.HBt(this) { // from class: o.dYY private MwBusinessDetailsActivity d; @Override // com.scb.phone.view.custom.common.EditTextDecorator.HBt public final String d(String str6) { return MwBusinessDetailsActivity.a(this.d, str6); } { this.d = this; } }); this.etdShopEmail.a.add(new EditTextDecorator.HBt(this) { // from class: o.dZd private MwBusinessDetailsActivity c; @Override // com.scb.phone.view.custom.common.EditTextDecorator.HBt public final String d(String str6) { return MwBusinessDetailsActivity.e(this.c, str6); } { this.c = this; } }); this.etdReferralCode.a.add(new EditTextDecorator.HBt(this) { // from class: o.dZf private MwBusinessDetailsActivity b; @Override // com.scb.phone.view.custom.common.EditTextDecorator.HBt public final String d(String str6) { return MwBusinessDetailsActivity.b(this.b, str6); } { this.b = this; } }); this.p = C13389fZA.d(); this.z = C13389fZA.d(); this.t = C13389fZA.d(); this.v = C13389fZA.d(); this.u = C13389fZA.d(); this.s = C13389fZA.d(); this.y = C13389fZA.d(); this.etdShopPhoneNumber.setPhoneNumberTextWatcher(); this.etEnglishShopName.setFilters(new InputFilter[]{new InputFilter.AllCaps(), new InputFilter.LengthFilter(DisplayText.DISPLAY_TEXT_MAXIMUM_SIZE)}); AbstractC13163fSk combineLatest = AbstractC13163fSk.combineLatest(this.p, this.z, this.t, this.v, this.u, this.s, this.y, new fSZ() { // from class: o.dYz @Override // o.fSZ public final Object b(Object obj4, Object obj5, Object obj6, Object obj7, Object obj8, Object obj9, Object obj10) { return (Boolean) MwBusinessDetailsActivity.d(new Object[]{(Boolean) obj4, (Boolean) obj5, (Boolean) obj6, (Boolean) obj7, (Boolean) obj8, (Boolean) obj9, (Boolean) obj10}, -271694510, 271694512, (int) System.currentTimeMillis()); } }); this.r = new dXX<>(this, getResources().getString(R.string.mw_shop_information_select_business_type), new dXX.Sts() { // from class: o.dYD @Override // o.dXX.Sts public final String a(Object obj4) { return MwBusinessDetailsActivity.d((RV) obj4); } }, new dXX.IeS(this) { // from class: o.dYF private MwBusinessDetailsActivity a; @Override // o.dXX.IeS public final void e(Object obj4) { MwBusinessDetailsActivity.e(this.a, (RV) obj4); } { this.a = this; } }); this.x = new dXX<>(this, getResources().getString(R.string.mw_shop_information_select_product_type), new dXX.Sts() { // from class: o.dYB @Override // o.dXX.Sts public final String a(Object obj4) { return MwBusinessDetailsActivity.b((C0966Sm) obj4); } }, new dXX.IeS(this) { // from class: o.dYw private MwBusinessDetailsActivity b; @Override // o.dXX.IeS public final void e(Object obj4) { MwBusinessDetailsActivity.d(new Object[]{this.b, (C0966Sm) obj4}, 579513886, -579513882, (int) System.currentTimeMillis()); } { this.b = this; } }); this.f7573o = new dXX<>(this, getResources().getString(R.string.mw_shop_information_select_month_sale), new dXX.Sts() { // from class: o.dYO @Override // o.dXX.Sts public final String a(Object obj4) { return (String) MwBusinessDetailsActivity.d(new Object[]{(RQ) obj4}, 597842435, -597842435, (int) System.currentTimeMillis()); } }, new dXX.IeS(this) { // from class: o.dYQ private MwBusinessDetailsActivity a; @Override // o.dXX.IeS public final void e(Object obj4) { MwBusinessDetailsActivity.a(this.a, (RQ) obj4); } { this.a = this; } }); this.r.aif_(this.spinnerCategory); this.x.aif_(this.spinnerSubCategory); this.f7573o.aif_(this.spinnerEstimatedSales); this.B = C13389fZA.d(); this.k = C13389fZA.d(); this.w = C13389fZA.d(); this.m = C13389fZA.d(); EditText editText = this.etThaiShopName; C14957gcv.b((Object) editText, ""); InterfaceC13169fSq map = new CnE(editText).map(new fSS() { // from class: o.dYN @Override // o.fSS public final Object a(Object obj4) { return MwBusinessDetailsActivity.a((C15772iWn) obj4); } }); EditText editText2 = this.etShopPhoneNumber; C14957gcv.b((Object) editText2, ""); AbstractC13163fSk takeUntil = AbstractC13163fSk.combineLatest(map, new CnE(editText2).map(new fSS() { // from class: o.dYP @Override // o.fSS public final Object a(Object obj4) { return MwBusinessDetailsActivity.b((C15772iWn) obj4); } }), this.k, this.w, this.m, combineLatest, new InterfaceC13187fTa(this) { // from class: o.dYU private MwBusinessDetailsActivity e; @Override // o.InterfaceC13187fTa public final Object b(Object obj4, Object obj5, Object obj6, Object obj7, Object obj8, Object obj9) { return MwBusinessDetailsActivity.b(this.e, (zEQ) obj4, (zEQ) obj5, (zEQ) obj6, (zEQ) obj7, (zEQ) obj8, (Boolean) obj9); } { this.e = this; } }).takeUntil(this.B); final Button button = this.btnNext; Objects.requireNonNull(button); takeUntil.subscribe(new fSQ(button) { // from class: o.dYT private Button c; @Override // o.fSQ public final void c(Object obj4) { MwBusinessDetailsActivity.aih_(this.c, ((Boolean) obj4).booleanValue()); } { this.c = button; } }); this.k.onNext(zEQ.d()); this.w.onNext(zEQ.d()); this.m.onNext(zEQ.d()); EditTextDecorator editTextDecorator = this.etdLineId; EditTextDecorator.RVV rvv = new EditTextDecorator.RVV(this) { // from class: o.dYV private MwBusinessDetailsActivity e; @Override // com.scb.phone.view.custom.common.EditTextDecorator.RVV public final void a(boolean z4) { MwBusinessDetailsActivity.d(new Object[]{this.e, Boolean.valueOf(z4)}, -1848241392, 1848241400, (int) System.currentTimeMillis()); } { this.e = this; } }; editTextDecorator.b.add(rvv); rvv.a(!(editTextDecorator.d.getVisibility() == 0)); EditTextDecorator editTextDecorator2 = this.etdThaiShopName; EditTextDecorator.RVV rvv2 = new EditTextDecorator.RVV(this) { // from class: o.dYS private MwBusinessDetailsActivity d; @Override // com.scb.phone.view.custom.common.EditTextDecorator.RVV public final void a(boolean z4) { MwBusinessDetailsActivity.g(this.d, z4); } { this.d = this; } }; editTextDecorator2.b.add(rvv2); rvv2.a(!(editTextDecorator2.d.getVisibility() == 0)); EditTextDecorator editTextDecorator3 = this.etdEnglishShopName; EditTextDecorator.RVV rvv3 = new EditTextDecorator.RVV(this) { // from class: o.dYx private MwBusinessDetailsActivity d; @Override // com.scb.phone.view.custom.common.EditTextDecorator.RVV public final void a(boolean z4) { MwBusinessDetailsActivity.e(this.d, z4); } { this.d = this; } }; editTextDecorator3.b.add(rvv3); rvv3.a(!(editTextDecorator3.d.getVisibility() == 0)); EditTextDecorator editTextDecorator4 = this.etdShopPhoneNumber; EditTextDecorator.RVV rvv4 = new EditTextDecorator.RVV(this) { // from class: o.dYX private MwBusinessDetailsActivity e; @Override // com.scb.phone.view.custom.common.EditTextDecorator.RVV public final void a(boolean z4) { MwBusinessDetailsActivity.b(this.e, z4); } { this.e = this; } }; editTextDecorator4.b.add(rvv4); if (editTextDecorator4.d.getVisibility() == 0) { int i3 = I + 87; G = i3 % 128; int i4 = i3 % 2; z = true; } else { z = false; } rvv4.a(!z); EditTextDecorator editTextDecorator5 = this.etdShopEmail; EditTextDecorator.RVV rvv5 = new EditTextDecorator.RVV(this) { // from class: o.dYZ private MwBusinessDetailsActivity e; @Override // com.scb.phone.view.custom.common.EditTextDecorator.RVV public final void a(boolean z4) { MwBusinessDetailsActivity.a(this.e, z4); } { this.e = this; } }; editTextDecorator5.b.add(rvv5); if (editTextDecorator5.d.getVisibility() == 0) { int i5 = G + 41; I = i5 % 128; int i6 = i5 % 2; z2 = true; } else { z2 = false; } rvv5.a(!z2); EditTextDecorator editTextDecorator6 = this.etdReferralCode; EditTextDecorator.RVV rvv6 = new EditTextDecorator.RVV(this) { // from class: o.dZb private MwBusinessDetailsActivity b; @Override // com.scb.phone.view.custom.common.EditTextDecorator.RVV public final void a(boolean z4) { MwBusinessDetailsActivity.d(this.b, z4); } { this.b = this; } }; editTextDecorator6.b.add(rvv6); if (editTextDecorator6.d.getVisibility() == 0) { int i7 = I; int i8 = i7 + 93; G = i8 % 128; int i9 = i8 % 2; int i10 = i7 + 45; G = i10 % 128; int i11 = i10 % 2; z3 = true; } rvv6.a(!z3); this.btnChoosePhoto.setOnClickListener(new AbstractViewOnClickListenerC10455eEp(this) { // from class: com.scb.phone.view.activity.mwpartner.MwBusinessDetailsActivity.4 private MwBusinessDetailsActivity c; { this.c = this; } @Override // o.AbstractViewOnClickListenerC10455eEp public final void a() { this.c.l.b(); } }); this.btnTakePhoto.setOnClickListener(new AbstractViewOnClickListenerC10455eEp(this) { // from class: com.scb.phone.view.activity.mwpartner.MwBusinessDetailsActivity.1 private MwBusinessDetailsActivity e; { this.e = this; } @Override // o.AbstractViewOnClickListenerC10455eEp public final void a() { C8904dZe.a(this.e); } }); this.l.d(this); this.l.d(); } @Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, android.app.Activity public void onDestroy() { int i = 2 % 2; super.onDestroy(); this.B.onNext(new Object()); this.B.onComplete(); this.k.onComplete(); this.w.onComplete(); this.m.onComplete(); int i2 = G + 99; I = i2 % 128; int i3 = i2 % 2; } @Override // o.InterfaceC9453djy.IeS public final void b(boolean z) { int i; int i2 = 2 % 2; int i3 = I + 11; G = i3 % 128; int i4 = i3 % 2; this.spinnerSubCategory.setEnabled(z); if (!z) { i = R.color.f3092131099816; } else { int i5 = I + 103; G = i5 % 128; if (i5 % 2 != 0) { Object obj = null; obj.hashCode(); throw null; } i = R.color.f2982131099805; } this.tvShopSubCategoryLabel.setTextColor(nMh.getColor(this, i)); } @Override // o.InterfaceC9453djy.IeS public final void c() { int i = 2 % 2; int i2 = I + 25; G = i2 % 128; int i3 = i2 % 2; if (Build.VERSION.SDK_INT < 33) { Intent intent = new Intent("android.intent.action.GET_CONTENT"); intent.setType("image/*"); if (intent.resolveActivity(getPackageManager()) != null) { int i4 = G + 109; I = i4 % 128; int i5 = i4 % 2; startActivityForResult(intent, 1366); return; } return; } int i6 = G + 57; I = i6 % 128; int i7 = i6 % 2; huo huoVar = this.q; zJl.RVV rvv = new zJl.RVV(); C11560ehe.IeS.RVV rvv2 = C11560ehe.IeS.RVV.a; C14957gcv.e(rvv2, ""); rvv.e = rvv2; zJl zjl = new zJl(); C11560ehe.IeS.tOB tob = rvv.e; C14957gcv.e(tob, ""); zjl.c = tob; huoVar.d(zjl, null); } private static /* synthetic */ Object i(Object[] objArr) { MwBusinessDetailsActivity mwBusinessDetailsActivity = (MwBusinessDetailsActivity) objArr[0]; int i = 2 % 2; Intent intent = new Intent("android.media.action.IMAGE_CAPTURE"); if (intent.resolveActivity(mwBusinessDetailsActivity.getPackageManager()) != null) { try { Uri uriForFile = C9257dgM.getUriForFile(mwBusinessDetailsActivity, "com.scb.phone.fileprovider", new File(mwBusinessDetailsActivity.getFilesDir(), "merchant_wallet_temp.jpg")); mwBusinessDetailsActivity.C = uriForFile.toString(); intent.putExtra("output", uriForFile); mwBusinessDetailsActivity.startActivityForResult(intent, 1365); return null; } catch (IOException e) { guQ.e(e); } } int i2 = I + 63; G = i2 % 128; if (i2 % 2 != 0) { int i3 = 47 / 0; } return null; } @Override // o.InterfaceC9453djy.IeS public final void d() { int i = 2 % 2; int i2 = G + 21; I = i2 % 128; if (i2 % 2 == 0) { startActivity(MwShopTypeActivity.aiI_(this)); int i3 = 55 / 0; } else { startActivity(MwShopTypeActivity.aiI_(this)); } } @Override // o.InterfaceC9453djy.IeS public final void a(String str) { int i = 2 % 2; int i2 = G + 37; I = i2 % 128; int i3 = i2 % 2; startActivityForResult((Intent) MwPartnerCropPhotoActivity.d(new Object[]{this, str}, 36454664, -36454664, (int) System.currentTimeMillis()), 1367); int i4 = I + 57; G = i4 % 128; int i5 = i4 % 2; } /* JADX WARN: Removed duplicated region for block: B:20:0x0065 */ /* JADX WARN: Removed duplicated region for block: B:31:0x009d */ /* JADX WARN: Removed duplicated region for block: B:5:0x0024 */ @Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, android.app.Activity /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public void onActivityResult(int r5, int r6, android.content.Intent r7) { /* r4 = this; r0 = 2 int r1 = r0 % r0 int r1 = com.scb.phone.view.activity.mwpartner.MwBusinessDetailsActivity.G int r1 = r1 + 101 int r2 = r1 % 128 com.scb.phone.view.activity.mwpartner.MwBusinessDetailsActivity.I = r2 int r1 = r1 % r0 r2 = 0 r3 = -1 if (r1 != 0) goto L1c super.onActivityResult(r5, r6, r7) r1 = 92 int r1 = r1 / 0 switch(r5) { case 1365: goto L9d; case 1366: goto L65; case 1367: goto L24; default: goto L1a; } L1a: goto La6 L1c: super.onActivityResult(r5, r6, r7) switch(r5) { case 1365: goto L9d; case 1366: goto L65; case 1367: goto L24; default: goto L22; } L22: goto La6 L24: if (r6 != r3) goto L52 if (r7 == 0) goto L52 int r5 = com.scb.phone.view.activity.mwpartner.MwBusinessDetailsActivity.G int r5 = r5 + 115 int r6 = r5 % 128 com.scb.phone.view.activity.mwpartner.MwBusinessDetailsActivity.I = r6 int r5 = r5 % r0 if (r5 == 0) goto L41 java.lang.String r5 = com.scb.phone.view.activity.mwpartner.MwPartnerCropPhotoActivity.aiA_(r7) java.lang.String r5 = o.C12891fKc.e(r4, r5) o.djy$HBt r6 = r4.l r6.b(r5) return L41: java.lang.String r5 = com.scb.phone.view.activity.mwpartner.MwPartnerCropPhotoActivity.aiA_(r7) java.lang.String r5 = o.C12891fKc.e(r4, r5) o.djy$HBt r6 = r4.l r6.b(r5) r2.hashCode() throw r2 L52: if (r6 != 0) goto La6 if (r7 == 0) goto La6 o.djy$HBt r5 = r4.l r5.i() int r5 = com.scb.phone.view.activity.mwpartner.MwBusinessDetailsActivity.G int r5 = r5 + 101 int r6 = r5 % 128 com.scb.phone.view.activity.mwpartner.MwBusinessDetailsActivity.I = r6 int r5 = r5 % r0 return L65: if (r6 != r3) goto La6 int r5 = com.scb.phone.view.activity.mwpartner.MwBusinessDetailsActivity.G int r5 = r5 + 21 int r6 = r5 % 128 com.scb.phone.view.activity.mwpartner.MwBusinessDetailsActivity.I = r6 int r5 = r5 % r0 android.net.Uri r5 = r7.getData() if (r5 == 0) goto La6 int r5 = com.scb.phone.view.activity.mwpartner.MwBusinessDetailsActivity.I int r5 = r5 + 53 int r6 = r5 % 128 com.scb.phone.view.activity.mwpartner.MwBusinessDetailsActivity.G = r6 int r5 = r5 % r0 if (r5 != 0) goto L8f o.djy$HBt r5 = r4.l android.net.Uri r6 = r7.getData() java.lang.String r6 = r6.toString() r5.a(r6) return L8f: o.djy$HBt r5 = r4.l android.net.Uri r6 = r7.getData() java.lang.String r6 = r6.toString() r5.a(r6) throw r2 L9d: if (r6 != r3) goto La6 o.djy$HBt r5 = r4.l java.lang.String r6 = r4.C r5.c(r6) La6: return */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.mwpartner.MwBusinessDetailsActivity.onActivityResult(int, int, android.content.Intent):void"); } @Override // androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, android.app.Activity public void onRequestPermissionsResult(int i, String[] strArr, int[] iArr) { int i2 = 2 % 2; int i3 = I + 15; G = i3 % 128; int i4 = i3 % 2; super.onRequestPermissionsResult(i, strArr, iArr); C8904dZe.b(this, i, iArr); int i5 = I + 19; G = i5 % 128; if (i5 % 2 == 0) { return; } Object obj = null; obj.hashCode(); throw null; } @Override // o.InterfaceC9453djy.IeS public final void b(List list) { int i = 2 % 2; int i2 = I + 33; G = i2 % 128; if (i2 % 2 == 0) { this.x.d(list); } else { this.x.d(list); throw null; } } @Override // o.InterfaceC9453djy.IeS public final void c(String str, String str2) { int i = 2 % 2; int i2 = I + 9; G = i2 % 128; if (i2 % 2 == 0) { this.tvNameValue.setText(str); this.etLineId.setText(str2); } else { this.tvNameValue.setText(str); this.etLineId.setText(str2); throw null; } } @Override // o.InterfaceC9453djy.IeS public final void b(String str) { int i = 2 % 2; int i2 = I + 49; G = i2 % 128; if (i2 % 2 == 0) { this.etShopPhoneNumber.setText(str); return; } this.etShopPhoneNumber.setText(str); Object obj = null; obj.hashCode(); throw null; } @Override // o.InterfaceC9453djy.IeS public final void d(String str) { int i = 2 % 2; int i2 = G + 63; I = i2 % 128; if (i2 % 2 != 0) { this.etShopEmail.setText(str); return; } this.etShopEmail.setText(str); Object obj = null; obj.hashCode(); throw null; } /* JADX INFO: Access modifiers changed from: package-private */ @OnClick public void onNextClick() { int i = 2 % 2; this.l.e(new C0958Sh(this.etLineId.getText().toString(), this.etThaiShopName.getText().toString(), this.etEnglishShopName.getText().toString(), this.etShopPhoneNumber.getText().toString(), this.etShopEmail.getText().toString(), this.etReferralCode.getText().toString())); int i2 = I + 79; G = i2 % 128; int i3 = i2 % 2; } private static /* synthetic */ Object e(Object[] objArr) { MwBusinessDetailsActivity mwBusinessDetailsActivity = (MwBusinessDetailsActivity) objArr[0]; List list = (List) objArr[1]; int i = 2 % 2; int i2 = I + 115; G = i2 % 128; int i3 = i2 % 2; mwBusinessDetailsActivity.r.d(list); int i4 = G + 89; I = i4 % 128; Object obj = null; if (i4 % 2 != 0) { return null; } obj.hashCode(); throw null; } @Override // o.InterfaceC9453djy.IeS public final void c(List list) { int i = 2 % 2; int i2 = I + 75; G = i2 % 128; int i3 = i2 % 2; this.f7573o.d(list); int i4 = G + 101; I = i4 % 128; if (i4 % 2 != 0) { return; } Object obj = null; obj.hashCode(); throw null; } @Override // o.InterfaceC9453djy.IeS public final void c(String str) { LinearLayout linearLayout; int i; int i2 = 2 % 2; int i3 = I + 63; G = i3 % 128; if (i3 % 2 != 0) { linearLayout = this.llAddShopPhotoContainer; i = 124; } else { linearLayout = this.llAddShopPhotoContainer; i = 8; } linearLayout.setVisibility(i); this.llShopPhotoContainer.setVisibility(0); C12891fKc.azK_(str, this.ivShopCover); } @Override // o.InterfaceC9453djy.IeS public final void e(String str) { int i = 2 % 2; int i2 = G + 69; I = i2 % 128; int i3 = i2 % 2; this.llAddShopPhotoContainer.setVisibility(8); this.llShopPhotoContainer.setVisibility(0); C12891fKc.azK_(str, this.ivShopCover); int i4 = G + 113; I = i4 % 128; int i5 = i4 % 2; } @Override // o.InterfaceC9453djy.IeS public final void b() { int i = 2 % 2; int i2 = I + 81; G = i2 % 128; int i3 = i2 % 2; this.llShopPhotoContainer.setVisibility(8); this.llAddShopPhotoContainer.setVisibility(0); int i4 = G + 125; I = i4 % 128; if (i4 % 2 == 0) { throw null; } } /* JADX INFO: Access modifiers changed from: package-private */ @OnClick public void onDeleteClick() { int i = 2 % 2; try { new File(getFilesDir(), "merchant_wallet_temp.jpg").deleteOnExit(); int i2 = G + 37; I = i2 % 128; int i3 = i2 % 2; } catch (SecurityException e) { guQ.c("Deleting image file failed %s", e.getMessage()); } this.l.c(); } /* loaded from: classes5.dex */ static class RVV implements EditTextDecorator.HBt { private final HBt d; private final Context e; /* loaded from: classes5.dex */ public interface HBt { boolean c(String str); } RVV(Context context, HBt hBt) { this.e = context; this.d = hBt; } @Override // com.scb.phone.view.custom.common.EditTextDecorator.HBt public final String d(String str) { if (this.d.c(str)) { return null; } return this.e.getString(R.string.mw_bd_error_line_id); } } @Override // o.InterfaceC9453djy.IeS public final void b(C0958Sh c0958Sh) { int i = 2 % 2; int i2 = G + 115; I = i2 % 128; int i3 = i2 % 2; this.etThaiShopName.setText(c0958Sh.i); this.etEnglishShopName.setText(c0958Sh.c); this.etShopPhoneNumber.setText(c0958Sh.a); this.etShopEmail.setText(c0958Sh.b); this.etReferralCode.setText(c0958Sh.e); int i4 = G + 77; I = i4 % 128; int i5 = i4 % 2; } private static /* synthetic */ Object h(Object[] objArr) { MwBusinessDetailsActivity mwBusinessDetailsActivity = (MwBusinessDetailsActivity) objArr[0]; int intValue = ((Number) objArr[1]).intValue(); int i = 2 % 2; int i2 = G + 119; I = i2 % 128; int i3 = i2 % 2; mwBusinessDetailsActivity.spinnerCategory.setSelection(intValue + 1); int i4 = G + 17; I = i4 % 128; if (i4 % 2 == 0) { int i5 = 24 / 0; } return null; } @Override // o.InterfaceC9453djy.IeS public final void a(int i) { Spinner spinner; int i2; int i3 = 2 % 2; int i4 = G + 1; I = i4 % 128; if (i4 % 2 == 0) { spinner = this.spinnerSubCategory; i2 = i % 1; } else { spinner = this.spinnerSubCategory; i2 = i + 1; } spinner.setSelection(i2); } @Override // o.InterfaceC9453djy.IeS public final void d(int i) { int i2 = 2 % 2; int i3 = I + 101; G = i3 % 128; int i4 = i3 % 2; this.spinnerEstimatedSales.setSelection(i + 1); int i5 = I + 9; G = i5 % 128; int i6 = i5 % 2; } private static /* synthetic */ Object j(Object[] objArr) { TextView textView; int i = 0; MwBusinessDetailsActivity mwBusinessDetailsActivity = (MwBusinessDetailsActivity) objArr[0]; int i2 = 2 % 2; int i3 = G + 3; I = i3 % 128; if (i3 % 2 == 0) { textView = mwBusinessDetailsActivity.tvKymNotice; i = 1; } else { textView = mwBusinessDetailsActivity.tvKymNotice; } textView.setVisibility(i); int i4 = I + 99; G = i4 % 128; int i5 = i4 % 2; return null; } @Override // o.InterfaceC9453djy.IeS public final void h() { int i = 2 % 2; int i2 = I + 11; G = i2 % 128; (i2 % 2 != 0 ? this.tvUploadPhotoError : this.tvUploadPhotoError).setVisibility(0); } @Override // o.InterfaceC9453djy.IeS public final void a(final C0958Sh c0958Sh) { int i = 2 % 2; ((CustomDialog) CustomDialog.e(new Object[]{CustomDialog.b(this).c(R.string.mw_shop_information_change_information_titile).d(R.string.mw_shop_information_change_information_description), Integer.valueOf(R.string.mw_dialog_business_detail_confirm_close_btn_cancel), new DialogInterface.OnClickListener() { // from class: o.dYJ @Override // android.content.DialogInterface.OnClickListener public final void onClick(DialogInterface dialogInterface, int i2) { MwBusinessDetailsActivity.f(); } }})).aoT_(R.string.confirm, new DialogInterface.OnClickListener(this, c0958Sh) { // from class: o.dYL private C0958Sh d; private MwBusinessDetailsActivity e; @Override // android.content.DialogInterface.OnClickListener public final void onClick(DialogInterface dialogInterface, int i2) { MwBusinessDetailsActivity.a(this.e, this.d); } { this.e = this; this.d = c0958Sh; } }).show(); int i2 = G + 69; I = i2 % 128; if (i2 % 2 == 0) { int i3 = 49 / 0; } } @Override // o.InterfaceC9453djy.IeS public final void c(boolean z) { int i = 2 % 2; int i2 = I + 39; G = i2 % 128; int i3 = i2 % 2; this.y.onNext(Boolean.valueOf(z)); int i4 = I + 87; G = i4 % 128; if (i4 % 2 != 0) { int i5 = 61 / 0; } } @Override // com.scb.phone.view.activity.BaseActivity, android.app.Activity public boolean onOptionsItemSelected(MenuItem menuItem) { int i = 2 % 2; int i2 = I + 17; G = i2 % 128; int i3 = i2 % 2; if (menuItem.getItemId() == 16908332) { int i4 = G + 115; I = i4 % 128; int i5 = i4 % 2; g(); return true; } return super.onOptionsItemSelected(menuItem); } @Override // androidx.activity.ComponentActivity, android.app.Activity public void onBackPressed() { int i = 2 % 2; int i2 = I + 37; G = i2 % 128; int i3 = i2 % 2; g(); int i4 = I + 45; G = i4 % 128; int i5 = i4 % 2; } private void g() { int i = 2 % 2; ((CustomDialog) CustomDialog.e(new Object[]{CustomDialog.b(this).c(R.string.mw_dialog_business_detail_confirm_close_title).d(R.string.mw_dialog_business_detail_confirm_close_description), Integer.valueOf(R.string.mw_dialog_business_detail_confirm_close_btn_cancel), new DialogInterface.OnClickListener() { // from class: o.dYI @Override // android.content.DialogInterface.OnClickListener public final void onClick(DialogInterface dialogInterface, int i2) { MwBusinessDetailsActivity.d(new Object[0], 1580812367, -1580812360, (int) System.currentTimeMillis()); } }})).aoT_(R.string.mw_dialog_business_detail_confirm_close_btn_confirm, new DialogInterface.OnClickListener(this) { // from class: o.dYM private MwBusinessDetailsActivity c; @Override // android.content.DialogInterface.OnClickListener public final void onClick(DialogInterface dialogInterface, int i2) { MwBusinessDetailsActivity.b(this.c); } { this.c = this; } }).show(); int i2 = G + 117; I = i2 % 128; if (i2 % 2 == 0) { int i3 = 35 / 0; } } @Override // o.AbstractActivityC8871dYf, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity public void onResume() { int i = 2 % 2; int i2 = G + 123; I = i2 % 128; int i3 = i2 % 2; Context baseContext = getBaseContext(); if (baseContext == null) { Object[] objArr = new Object[1]; aA(new char[]{57667, 51461, 45524, 39307, 16489, 10278, 4336, 63731, 41739, 35779, 29576, 23087, 527, 60148, 53928, 48396, 26052, 19858, 13428, 7216, 50370, 44215, 38678, 32712, 10139, 3687}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_offer_review_Baht_per).substring(0, 5).length() + 10308, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aB(new char[]{15022, 37086, 15053, 43591, 2372, 31982, 5825, 53627, 42615, 46636, 26808, 14914, 60862, 33506, 17424, 11834, 63965, 27971, 12760, 54730, 37889, 31004}, View.MeasureSpec.getMode(0), objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); } if (baseContext != null) { baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c((ViewConfiguration.getJumpTapTimeout() >> 16) + 492, ExpandableListView.getPackedPositionType(0L) + 5, (char) TextUtils.getTrimmedLength(""))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr3 = {baseContext}; Object obj2 = xzZ.y.get(1378719468); if (obj2 == null) { obj2 = ((Class) xzZ.c(487 - Color.red(0), (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (ViewConfiguration.getJumpTapTimeout() >> 16))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class); xzZ.y.put(1378719468, obj2); } ((Method) obj2).invoke(invoke, objArr3); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } super.onResume(); int i4 = I + 121; G = i4 % 128; if (i4 % 2 != 0) { throw null; } } @Override // o.AbstractActivityC8871dYf, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity public void onPause() { int i = 2 % 2; Context baseContext = getBaseContext(); if (baseContext == null) { Object[] objArr = new Object[1]; aA(new char[]{57667, 51461, 45524, 39307, 16489, 10278, 4336, 63731, 41739, 35779, 29576, 23087, 527, 60148, 53928, 48396, 26052, 19858, 13428, 7216, 50370, 44215, 38678, 32712, 10139, 3687}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 10279, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aB(new char[]{15022, 37086, 15053, 43591, 2372, 31982, 5825, 53627, 42615, 46636, 26808, 14914, 60862, 33506, 17424, 11834, 63965, 27971, 12760, 54730, 37889, 31004}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.manage_email_verified_code_send_description).substring(58, 59).length() - 1, objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); } if (baseContext != null) { int i2 = G + 117; I = i2 % 128; if (i2 % 2 == 0) { baseContext.getApplicationContext(); throw null; } baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { int i3 = I + 53; G = i3 % 128; int i4 = i3 % 2; try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(View.MeasureSpec.makeMeasureSpec(0, 0) + 492, (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) ((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr3 = {baseContext}; Object obj2 = xzZ.y.get(1633456013); if (obj2 == null) { obj2 = ((Class) xzZ.c((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)) + 487, (ViewConfiguration.getPressedStateDuration() >> 16) + 5, (char) View.combineMeasuredStates(0, 0))).getMethod("c", Context.class); xzZ.y.put(1633456013, obj2); } ((Method) obj2).invoke(invoke, objArr3); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } super.onPause(); } @Override // o.AbstractActivityC8871dYf, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper public void attachBaseContext(Context context) { int i = 2 % 2; int i2 = I + 107; G = i2 % 128; int i3 = i2 % 2; super.attachBaseContext(context); Object[] objArr = new Object[1]; aA(new char[]{57667, 39103, 4768, 35977, 1665, 33012, 15092, 46249, 11989, 43226, 8818, 56323, 22068, 53274, 18955, 50298, 32353, 63602}, (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 31219, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aA(new char[]{57679, 53412, 33417, 29878, 9914}, TextUtils.getOffsetAfter("", 0) + 12799, objArr2); int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000; if (intValue < 99000 || intValue > 99999) { if (context != null) { context = context.getApplicationContext(); int i4 = I + 35; G = i4 % 128; int i5 = i4 % 2; } if (context != null) { try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(491 - MotionEvent.axisFromString(""), 5 - (Process.myPid() >> 22), (char) ((-1) - ExpandableListView.getPackedPositionChild(0L)))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr3 = new Object[1]; aB(new char[]{24993, 34871, 24976, 45804, 19247, 16067, 17356, 35362, 62314, 44744, 10945, 28543, 46755, 39490, 1573, 31535, 41602, 30121, 29684, 32902, 52995, 25000, 28549, 44246, 64482, 23903, 23302, 47207, 59367, 18701, 45236, 50619, 4114, 9394, 44259, 53711, 15376, 4206, 38991, 64799, 10487, 3150, 62533, 2812, 21875, 59343, 57774, 5883, 16722, 54131, 56610, 8714}, View.MeasureSpec.getSize(0), objArr3); String str = (String) objArr3[0]; Object[] objArr4 = new Object[1]; aB(new char[]{43033, 18869, 43132, 29499, 47936, 52910, 53518, 17311, 25007, 28491, 56060, 64994, 32540, 23500, 63050, 59837, 27451, 46207, 33695, 4682, 1775, 41005, 40937, 15897, 12810, 40159, 43881, 10927, 11786, 34959, 16520, 22312, 55803, 58672, 23768, 17155, 62894, 53742, 26669, 28554, 57628, 52625, 1066, 38969, 40143, 9755, 4505, 33853, 35004, 4856, 11550, 45209, 42045, 3745, 14654, 56476, 24458, 31569, 54973, 51577, 19329, 22362, 57865, 62963, 26495, 17387, 65033, 57822}, TextUtils.getCapsMode("", 0, 0), objArr4); String str2 = (String) objArr4[0]; Object[] objArr5 = new Object[1]; aB(new char[]{49347, 34769, 49314, 48389, 5750, 25502, 22297, 11026, 59374, 41342, 30619, 31743, 6033, 38308, 23421, 28591, 945, 31257, 11950, 37890, 28258, 28191, 12936, 47194, 23170, 21181, 1545, 44264, 18048, 18149, 60904, 53615, 45355, 11099, 61927, 50462, 40311, 8159, 50511, 59807, 35270, 1023, 43343, 7723, 62486, 59437, 48379, 633, 57397, 56526, 32808, 14047, 52449, 49304, 37980, 23250, 14085, 46388, 31630, 20284, 9043, 39228, 20328, 29675, 4006, 36309, 21309, 26573}, Gravity.getAbsoluteGravity(0, 0), objArr5); String str3 = (String) objArr5[0]; Object[] objArr6 = new Object[1]; aB(new char[]{32642, 46697, 32746, 36081, 43582, 57234, 20765, 37953, 57769, 37071, 52121, 32242, 43153, 42060, 59239, 27104, 48369, 19450, 37563, 37392, 53543, 24503, 36549, 48708, 58771, 25433, 47636, 43772, 63948, 30478, 20968, 55097, 3642, 6823, 19955, 50012, 8822, 11878, 30983, 61342, 14022, 12891, 5457, 6184, 19203, 55767, 226, 1150, 24419, 60768, 15415, 12431, 29607, 61803, 10309, 23746, 34847, 33946, 51095, 18797, 40011, 43210, 62255, 30115, 45237, 48176, 61285, 25033, 50349, 17395, 39636, 35394, 55639, 22403, 46803, 46771, 60822, 31574}, ViewConfiguration.getTouchSlop() >> 8, objArr6); String str4 = (String) objArr6[0]; Object[] objArr7 = new Object[1]; aB(new char[]{31113, 60849, 31152, 55155, 58489, 37273, 49872, 37385, 29242}, (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr7); String str5 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; aA(new char[]{57671, 39544, 5990, 37031, 3498, 35132, 628, 49039, 14551, 46087, 12636, 43726, 10116, 41200, 23596, 55653, 21155, 53240, 19241, 50210, 16860, 64144, 30291, 62274, 27800, 59778, 25326, 7802, 39777, 5352, 37291, 3378, 34422, 908, 48325, 14422}, 31547 - Color.blue(0), objArr8); Object[] objArr9 = {context, str, str2, str3, str4, true, str5, (String) objArr8[0]}; Object obj2 = xzZ.y.get(1656189573); if (obj2 == null) { obj2 = ((Class) xzZ.c((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 487, 4 - ImageFormat.getBitsPerPixel(0), (char) View.MeasureSpec.getSize(0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class); xzZ.y.put(1656189573, obj2); } ((Method) obj2).invoke(invoke, objArr9); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } } } /* JADX WARN: Removed duplicated region for block: B:7:0x0038 */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public static /* synthetic */ java.lang.String e(com.scb.phone.view.activity.mwpartner.MwBusinessDetailsActivity r2, java.lang.String r3) { /* r0 = 2 int r1 = r0 % r0 o.lUI r1 = new o.lUI r1.() if (r3 != 0) goto L14 int r3 = com.scb.phone.view.activity.mwpartner.MwBusinessDetailsActivity.G int r3 = r3 + 93 int r1 = r3 % 128 com.scb.phone.view.activity.mwpartner.MwBusinessDetailsActivity.I = r1 int r3 = r3 % r0 goto L26 L14: java.lang.String r1 = "^[_A-Za-z0-9-\\+]+(\\.[_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\\.[A-Za-z0-9]+)*(\\.[A-Za-z]{2,})$" java.util.regex.Pattern r1 = java.util.regex.Pattern.compile(r1) java.util.regex.Matcher r3 = r1.matcher(r3) boolean r3 = r3.matches() if (r3 == 0) goto L26 r2 = 0 goto L2d L26: r3 = 2131957001(0x7f131509, float:1.9550574E38) java.lang.String r2 = r2.getString(r3) L2d: int r3 = com.scb.phone.view.activity.mwpartner.MwBusinessDetailsActivity.I int r3 = r3 + 51 int r1 = r3 % 128 com.scb.phone.view.activity.mwpartner.MwBusinessDetailsActivity.G = r1 int r3 = r3 % r0 if (r3 == 0) goto L3c r3 = 18 int r3 = r3 / 0 L3c: return r2 */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.mwpartner.MwBusinessDetailsActivity.e(com.scb.phone.view.activity.mwpartner.MwBusinessDetailsActivity, java.lang.String):java.lang.String"); } public static /* synthetic */ void e(MwBusinessDetailsActivity mwBusinessDetailsActivity, boolean z) { int i = 2 % 2; int i2 = G + 125; I = i2 % 128; int i3 = i2 % 2; C13389fZA c13389fZA = mwBusinessDetailsActivity.t; if (i3 == 0) { c13389fZA.onNext(Boolean.valueOf(z)); int i4 = 71 / 0; } else { c13389fZA.onNext(Boolean.valueOf(z)); } int i5 = G + 79; I = i5 % 128; int i6 = i5 % 2; } public static /* synthetic */ String b(C0966Sm c0966Sm) { int i = 2 % 2; int i2 = I + 25; G = i2 % 128; int i3 = i2 % 2; String str = c0966Sm.e; int i4 = I + 67; G = i4 % 128; if (i4 % 2 == 0) { return str; } Object obj = null; obj.hashCode(); throw null; } private static /* synthetic */ Object d(Object[] objArr) { RQ rq = (RQ) objArr[0]; int i = 2 % 2; int i2 = G + 21; I = i2 % 128; if (i2 % 2 != 0) { return rq.e; } String str = rq.e; throw null; } public static /* synthetic */ String a(MwBusinessDetailsActivity mwBusinessDetailsActivity, String str) { int i = 2 % 2; if (!str.matches("^([0][0-9]{9})$")) { String string = mwBusinessDetailsActivity.getString(R.string.mw_bd_error_phone_number); int i2 = I + 67; G = i2 % 128; int i3 = i2 % 2; return string; } int i4 = I + 59; G = i4 % 128; if (i4 % 2 == 0) { return null; } throw null; } public static /* synthetic */ void a(MwBusinessDetailsActivity mwBusinessDetailsActivity, RQ rq) { int i = 2 % 2; int i2 = I + 119; G = i2 % 128; int i3 = i2 % 2; InterfaceC9453djy.HBt hBt = mwBusinessDetailsActivity.l; if (i3 != 0) { hBt.a(rq); mwBusinessDetailsActivity.m.onNext(zEQ.a(rq)); int i4 = 99 / 0; } else { hBt.a(rq); mwBusinessDetailsActivity.m.onNext(zEQ.a(rq)); } } /* JADX WARN: Code restructure failed: missing block: B:10:0x002d, code lost: r4.hashCode(); */ /* JADX WARN: Code restructure failed: missing block: B:11:0x0030, code lost: throw null; */ /* JADX WARN: Code restructure failed: missing block: B:12:?, code lost: return null; */ /* JADX WARN: Code restructure failed: missing block: B:14:0x001e, code lost: if (r4.matches("^[A-Za-z0-9 ]+$") != false) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x0017, code lost: if (r4.matches("^[A-Za-z0-9 ]+$") != false) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:6:0x0038, code lost: return r3.getString(com.scb.phone.R.string.mw_bd_error_english); */ /* JADX WARN: Code restructure failed: missing block: B:8:0x0020, code lost: r3 = com.scb.phone.view.activity.mwpartner.MwBusinessDetailsActivity.I + 29; com.scb.phone.view.activity.mwpartner.MwBusinessDetailsActivity.G = r3 % 128; r4 = null; */ /* JADX WARN: Code restructure failed: missing block: B:9:0x002a, code lost: if ((r3 % 2) != 0) goto L12; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public static /* synthetic */ java.lang.String d(com.scb.phone.view.activity.mwpartner.MwBusinessDetailsActivity r3, java.lang.String r4) { /* r0 = 2 int r1 = r0 % r0 int r1 = com.scb.phone.view.activity.mwpartner.MwBusinessDetailsActivity.G int r1 = r1 + 25 int r2 = r1 % 128 com.scb.phone.view.activity.mwpartner.MwBusinessDetailsActivity.I = r2 int r1 = r1 % r0 java.lang.String r2 = "^[A-Za-z0-9 ]+$" if (r1 != 0) goto L1a boolean r4 = r4.matches(r2) r1 = 5 int r1 = r1 / 0 if (r4 == 0) goto L31 goto L20 L1a: boolean r4 = r4.matches(r2) if (r4 == 0) goto L31 L20: int r3 = com.scb.phone.view.activity.mwpartner.MwBusinessDetailsActivity.I int r3 = r3 + 29 int r4 = r3 % 128 com.scb.phone.view.activity.mwpartner.MwBusinessDetailsActivity.G = r4 int r3 = r3 % r0 r4 = 0 if (r3 != 0) goto L2d goto L38 L2d: r4.hashCode() throw r4 L31: r4 = 2131957002(0x7f13150a, float:1.9550576E38) java.lang.String r4 = r3.getString(r4) L38: return r4 */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.mwpartner.MwBusinessDetailsActivity.d(com.scb.phone.view.activity.mwpartner.MwBusinessDetailsActivity, java.lang.String):java.lang.String"); } /* JADX WARN: Code restructure failed: missing block: B:10:0x0022, code lost: o.guQ.c("PhotoPicker Selected URI:".concat(java.lang.String.valueOf(r5)), new java.lang.Object[1]); r4 = r4.l; */ /* JADX WARN: Code restructure failed: missing block: B:11:0x0032, code lost: r4.a(r5.toString()); */ /* JADX WARN: Code restructure failed: missing block: B:12:0x004a, code lost: return; */ /* JADX WARN: Code restructure failed: missing block: B:13:0x003a, code lost: o.guQ.c("PhotoPicker Selected URI:".concat(java.lang.String.valueOf(r5)), new java.lang.Object[0]); r4 = r4.l; */ /* JADX WARN: Code restructure failed: missing block: B:14:0x0015, code lost: if (r5 != null) goto L8; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x0012, code lost: if (r5 != null) goto L8; */ /* JADX WARN: Code restructure failed: missing block: B:5:0x004b, code lost: o.guQ.c("PhotoPicker No media selected", new java.lang.Object[0]); */ /* JADX WARN: Code restructure failed: missing block: B:6:0x0052, code lost: return; */ /* JADX WARN: Code restructure failed: missing block: B:8:0x0017, code lost: r1 = r1 + 103; com.scb.phone.view.activity.mwpartner.MwBusinessDetailsActivity.I = r1 % 128; */ /* JADX WARN: Code restructure failed: missing block: B:9:0x0020, code lost: if ((r1 % 2) != 0) goto L12; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public static /* synthetic */ void aii_(com.scb.phone.view.activity.mwpartner.MwBusinessDetailsActivity r4, android.net.Uri r5) { /* r0 = 2 int r1 = r0 % r0 int r1 = com.scb.phone.view.activity.mwpartner.MwBusinessDetailsActivity.G int r2 = r1 + 91 int r3 = r2 % 128 com.scb.phone.view.activity.mwpartner.MwBusinessDetailsActivity.I = r3 int r2 = r2 % r0 r3 = 0 if (r2 != 0) goto L15 r2 = 36 int r2 = r2 / r3 if (r5 == 0) goto L4b goto L17 L15: if (r5 == 0) goto L4b L17: int r1 = r1 + 103 int r2 = r1 % 128 com.scb.phone.view.activity.mwpartner.MwBusinessDetailsActivity.I = r2 int r1 = r1 % r0 java.lang.String r0 = "PhotoPicker Selected URI:" if (r1 != 0) goto L3a java.lang.String r1 = java.lang.String.valueOf(r5) java.lang.String r0 = r0.concat(r1) r1 = 1 java.lang.Object[] r1 = new java.lang.Object[r1] o.guQ.c(r0, r1) o.djy$HBt r4 = r4.l L32: java.lang.String r5 = r5.toString() r4.a(r5) goto L4a L3a: java.lang.String r1 = java.lang.String.valueOf(r5) java.lang.String r0 = r0.concat(r1) java.lang.Object[] r1 = new java.lang.Object[r3] o.guQ.c(r0, r1) o.djy$HBt r4 = r4.l goto L32 L4a: return L4b: java.lang.Object[] r4 = new java.lang.Object[r3] java.lang.String r5 = "PhotoPicker No media selected" o.guQ.c(r5, r4) return */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.mwpartner.MwBusinessDetailsActivity.aii_(com.scb.phone.view.activity.mwpartner.MwBusinessDetailsActivity, android.net.Uri):void"); } public static /* synthetic */ void d(MwBusinessDetailsActivity mwBusinessDetailsActivity, boolean z) { int i = 2 % 2; int i2 = G + 47; I = i2 % 128; int i3 = i2 % 2; C13389fZA c13389fZA = mwBusinessDetailsActivity.s; if (i3 != 0) { c13389fZA.onNext(Boolean.valueOf(z)); int i4 = I + 109; G = i4 % 128; if (i4 % 2 != 0) { throw null; } return; } c13389fZA.onNext(Boolean.valueOf(z)); throw null; } private static /* synthetic */ Object b(Object[] objArr) { MwBusinessDetailsActivity mwBusinessDetailsActivity = (MwBusinessDetailsActivity) objArr[0]; C0966Sm c0966Sm = (C0966Sm) objArr[1]; int i = 2 % 2; int i2 = I + 17; G = i2 % 128; Object obj = null; if (i2 % 2 == 0) { mwBusinessDetailsActivity.l.c(c0966Sm); mwBusinessDetailsActivity.w.onNext(zEQ.a(c0966Sm)); return null; } mwBusinessDetailsActivity.l.c(c0966Sm); mwBusinessDetailsActivity.w.onNext(zEQ.a(c0966Sm)); obj.hashCode(); throw null; } /* JADX WARN: Multi-variable type inference failed */ public static /* synthetic */ Boolean b(MwBusinessDetailsActivity mwBusinessDetailsActivity, zEQ zeq, zEQ zeq2, zEQ zeq3, zEQ zeq4, zEQ zeq5, Boolean bool) { int i = 2 % 2; int i2 = I + 39; G = i2 % 128; int i3 = i2 % 2; boolean z = false; if (bool.booleanValue()) { InterfaceC9453djy.HBt hBt = mwBusinessDetailsActivity.l; Object obj = zeq.b(new InterfaceC1244Ytw() { // from class: o.dYR @Override // o.InterfaceC1244Ytw public final Object d(Object obj2) { return ((Editable) obj2).toString(); } }).d; Object obj2 = null; if (obj != null) { int i4 = G + 43; I = i4 % 128; if (i4 % 2 == 0) { int i5 = 94 / 0; } } else { obj = null; } String str = (String) obj; Object obj3 = zeq2.b(new InterfaceC1244Ytw() { // from class: o.dYR @Override // o.InterfaceC1244Ytw public final Object d(Object obj22) { return ((Editable) obj22).toString(); } }).d; if (obj3 == null) { obj3 = null; } String str2 = (String) obj3; Object obj4 = zeq3.d; if (obj4 == null) { obj4 = null; } RV rv = (RV) obj4; Object obj5 = zeq4.d; if (obj5 != null) { int i6 = G + 101; I = i6 % 128; int i7 = i6 % 2; } else { obj5 = null; } C0966Sm c0966Sm = (C0966Sm) obj5; Object obj6 = zeq5.d; if (obj6 != null) { int i8 = G + 49; I = i8 % 128; int i9 = i8 % 2; obj2 = obj6; } if (hBt.b(str, str2, rv, c0966Sm, (RQ) obj2)) { z = true; } } return Boolean.valueOf(z); } private static /* synthetic */ Object g(Object[] objArr) { MwBusinessDetailsActivity mwBusinessDetailsActivity = (MwBusinessDetailsActivity) objArr[0]; boolean booleanValue = ((Boolean) objArr[1]).booleanValue(); int i = 2 % 2; int i2 = G + 113; I = i2 % 128; Object obj = null; if (i2 % 2 != 0) { mwBusinessDetailsActivity.p.onNext(Boolean.valueOf(booleanValue)); int i3 = I + 75; G = i3 % 128; if (i3 % 2 != 0) { int i4 = 92 / 0; } return null; } mwBusinessDetailsActivity.p.onNext(Boolean.valueOf(booleanValue)); obj.hashCode(); throw null; } public static /* synthetic */ void b(MwBusinessDetailsActivity mwBusinessDetailsActivity, boolean z) { int i = 2 % 2; int i2 = I + 99; G = i2 % 128; int i3 = i2 % 2; C13389fZA c13389fZA = mwBusinessDetailsActivity.v; if (i3 == 0) { c13389fZA.onNext(Boolean.valueOf(z)); return; } c13389fZA.onNext(Boolean.valueOf(z)); Object obj = null; obj.hashCode(); throw null; } public static /* synthetic */ String d(RV rv) { int i = 2 % 2; int i2 = I + 105; G = i2 % 128; int i3 = i2 % 2; String str = rv.a; int i4 = I + 5; G = i4 % 128; int i5 = i4 % 2; return str; } public static /* synthetic */ String b(MwBusinessDetailsActivity mwBusinessDetailsActivity, String str) { String string; int i = 2 % 2; if (str.matches("^[ก-๙A-Za-z0-9]+$")) { string = null; } else { string = mwBusinessDetailsActivity.getString(R.string.mw_bd_error_referral); int i2 = I + 105; G = i2 % 128; int i3 = i2 % 2; } int i4 = I + 89; G = i4 % 128; int i5 = i4 % 2; return string; } public static /* synthetic */ void b(MwBusinessDetailsActivity mwBusinessDetailsActivity) { int i = 2 % 2; int i2 = I + 107; G = i2 % 128; int i3 = i2 % 2; mwBusinessDetailsActivity.finish(); int i4 = G + 75; I = i4 % 128; int i5 = i4 % 2; } public static /* synthetic */ void a(MwBusinessDetailsActivity mwBusinessDetailsActivity, boolean z) { int i = 2 % 2; int i2 = G + 35; I = i2 % 128; int i3 = i2 % 2; C13389fZA c13389fZA = mwBusinessDetailsActivity.u; if (i3 != 0) { c13389fZA.onNext(Boolean.valueOf(z)); return; } c13389fZA.onNext(Boolean.valueOf(z)); Object obj = null; obj.hashCode(); throw null; } public static /* synthetic */ void g(MwBusinessDetailsActivity mwBusinessDetailsActivity, boolean z) { int i = 2 % 2; int i2 = I + 81; G = i2 % 128; int i3 = i2 % 2; C13389fZA c13389fZA = mwBusinessDetailsActivity.z; if (i3 != 0) { c13389fZA.onNext(Boolean.valueOf(z)); int i4 = 4 / 0; } else { c13389fZA.onNext(Boolean.valueOf(z)); } } public static /* synthetic */ void e(MwBusinessDetailsActivity mwBusinessDetailsActivity, RV rv) { int i = 2 % 2; int i2 = I + 13; G = i2 % 128; if (i2 % 2 == 0) { mwBusinessDetailsActivity.l.d(rv); mwBusinessDetailsActivity.k.onNext(zEQ.a(rv)); if (mwBusinessDetailsActivity.r.d) { int i3 = G + 61; I = i3 % 128; int i4 = i3 % 2; mwBusinessDetailsActivity.l.c((C0966Sm) null); mwBusinessDetailsActivity.spinnerSubCategory.setSelection(0); mwBusinessDetailsActivity.w.onNext(zEQ.d()); int i5 = I + 5; G = i5 % 128; if (i5 % 2 != 0) { int i6 = 4 % 5; return; } return; } return; } mwBusinessDetailsActivity.l.d(rv); mwBusinessDetailsActivity.k.onNext(zEQ.a(rv)); boolean z = mwBusinessDetailsActivity.r.d; throw null; } public static /* synthetic */ void a(MwBusinessDetailsActivity mwBusinessDetailsActivity, C0958Sh c0958Sh) { int i = 2 % 2; int i2 = I + 73; G = i2 % 128; int i3 = i2 % 2; InterfaceC9453djy.HBt hBt = mwBusinessDetailsActivity.l; if (i3 != 0) { hBt.a(c0958Sh); int i4 = 49 / 0; } else { hBt.a(c0958Sh); } } private static /* synthetic */ Object f(Object[] objArr) { int i = 2 % 2; int i2 = I + 71; G = i2 % 128; Object obj = null; if (i2 % 2 == 0) { return null; } obj.hashCode(); throw null; } @Override // o.AbstractActivityC8871dYf, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity public void onStart() { int i = 2 % 2; int i2 = I + 93; G = i2 % 128; int i3 = i2 % 2; super.onStart(); int i4 = I + 101; G = i4 % 128; if (i4 % 2 == 0) { return; } Object obj = null; obj.hashCode(); throw null; } @Override // o.InterfaceC9453djy.IeS public final void e() { d(new Object[]{this}, 829359983, -829359974, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1042162947); } @Override // o.InterfaceC9453djy.IeS public final void d(List list) { d(new Object[]{this, list}, -1211586857, 1211586858, System.identityHashCode(this)); } @Override // o.InterfaceC9453djy.IeS public final void b(int i) { d(new Object[]{this, Integer.valueOf(i)}, -333087827, 333087833, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(7) - 694166165); } @Override // o.InterfaceC9453djy.IeS public final void a() { d(new Object[]{this}, 810565709, -810565704, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.e_document_description_mcmc).substring(49, 50).length() + 607465144); } public static /* synthetic */ void f() { int i = 2 % 2; int i2 = G + 79; I = i2 % 128; if (i2 % 2 == 0) { throw null; } } static /* synthetic */ Boolean e(Boolean bool, Boolean bool2, Boolean bool3, Boolean bool4, Boolean bool5, Boolean bool6, Boolean bool7) throws Throwable { return (Boolean) d(new Object[]{bool, bool2, bool3, bool4, bool5, bool6, bool7}, -271694510, 271694512, (int) System.currentTimeMillis()); } public static /* synthetic */ void aih_(Button button, boolean z) { int i = 2 % 2; int i2 = I + 55; G = i2 % 128; int i3 = i2 % 2; button.setEnabled(z); if (i3 == 0) { return; } Object obj = null; obj.hashCode(); throw null; } public static /* synthetic */ String c(RQ rq) { return (String) d(new Object[]{rq}, 597842435, -597842435, (int) System.currentTimeMillis()); } }