package X; import android.content.Context; import com.bytedance.covode.number.Covode; import com.ss.android.ugc.aweme.ecommerce.pdp.IPdpStarter; import com.ss.android.ugc.aweme.setting.services.ISettingService; import com.ss.android.ugc.aweme.setting.services.SettingServiceImpl; import com.zhiliaoapp.musically.R; import java.util.HashMap; import kotlin.g.b.m; /* renamed from: X.3uL reason: invalid class name and case insensitive filesystem */ public final class C98603uL { public static final /* synthetic */ C98603uL LIZ = new C98603uL(); public static final C223808qn LIZIZ = new C223808qn(); public static final C223798qm LIZJ = new C223798qm(); static { Covode.recordClassIndex(62470); } public final int LIZ(HashMap<String, Object> hashMap) { Object obj; Object obj2 = null; if (!(hashMap == null || (obj = hashMap.get("traffic_source")) == null)) { if (obj instanceof Integer) { return ((Number) obj).intValue(); } if (obj instanceof String) { return Integer.parseInt((String) obj); } } if (hashMap != null) { obj2 = hashMap.get("source_page_type"); } if (m.LIZ(obj2, (Object) "live")) { return 1; } if (m.LIZ(obj2, (Object) "video")) { return 2; } if (m.LIZ(obj2, (Object) "show_window")) { return 3; } if (m.LIZ(obj2, (Object) "order_detail")) { return 4; } return (m.LIZ(obj2, "mall") || m.LIZ(obj2, "flash_sale") || m.LIZ(obj2, "new_user_deal")) ? 6 : 0; } public final IPdpStarter LIZ() { return C98613uM.LIZJ.LIZ() == C98613uM.LIZIZ ? LIZJ : LIZIZ; } /* JADX DEBUG: Multi-variable search result rejected for r3v1, resolved type: X.3hM[] */ /* JADX WARN: Multi-variable type inference failed */ public final void LIZ(Context context, AnonymousClass0A7 r8, HashMap<String, Object> hashMap, AnonymousClass1IL<C23860x5> r10) { String str; AbstractC16630lQ LIZ2; C21090sc.LIZ(context, hashMap); AnonymousClass287 r4 = AnonymousClass287.LIZ; HashMap hashMap2 = new HashMap(); hashMap2.put("hide_nav_bar", 1); hashMap2.put("disableBounces", 1); hashMap2.put("soft_input_adjust", "pan"); ISettingService LJIJJLI = SettingServiceImpl.LJIJJLI(); if (LJIJJLI == null || (LIZ2 = LJIJJLI.LIZ(context)) == null || (str = LIZ2.LIZ()) == null) { str = ""; } hashMap2.put("locale", str); hashMap2.putAll(hashMap); new C90533hK().LIZ(((C90553hM) new C90553hM().LIZ(R.string.bsz)).LIZJ(R.raw.icon_flag).LIZ(new AnonymousClass3QD(r8, context, r4.LIZ("https://oec-api.tiktokv.com/view/fe_tiktok_ecommerce_report/index.html/reasons", hashMap2).build(), r10))).LIZIZ().show(r8, "pdp_more"); } }