package u91; import a.f; import a40.j; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.os.Parcelable; import android.text.TextUtils; import android.view.ContextThemeWrapper; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.fragment.app.DialogFragment; import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentActivity; import com.alibaba.android.arouter.core.LogisticsCenter; import com.alibaba.android.arouter.facade.Postcard; import com.alibaba.android.arouter.facade.callback.NavCallback; import com.alibaba.android.arouter.launcher.ARouter; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import com.meituan.robust.ChangeQuickRedirect; import com.meituan.robust.PatchProxy; import com.meituan.robust.PatchProxyResult; import com.meizu.cloud.pushsdk.constants.PushConstants; import com.shizhuang.duapp.R; import com.shizhuang.duapp.hybrid.HtmlCacheManager; import com.shizhuang.duapp.libs.bpm.BM; import com.shizhuang.duapp.libs.dulogger.Printer; import com.shizhuang.duapp.modules.router.RouterManagerFailureType; import com.shizhuang.duapp.modules.router.RouterMapping; import com.shizhuang.duapp.modules.router.RouterNode; import com.shizhuang.duapp.modules.router.RouterParams; import com.shizhuang.duapp.modules.router.ServiceManager; import com.shizhuang.duapp.modules.router.model.RouterConfigModel; import com.shizhuang.duapp.modules.router.service.IFinanceService; import com.shizhuang.duapp.modules.router.service.account.IAccountService; import df.b0; import df.s; import fd.i; import fd.q; import java.io.Serializable; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.concurrent.ConcurrentHashMap; import rd.l; import u91.c; /* compiled from: RouterManager */ public final class e { public static ChangeQuickRedirect changeQuickRedirect; private static final ConcurrentHashMap<String, String> routerMappingHashMap = new ConcurrentHashMap<>(); private static final ConcurrentHashMap<String, RouterNode> routerNodeHashMap = new ConcurrentHashMap<>(); /* compiled from: RouterManager */ public class a extends td.a<RouterConfigModel> { public static ChangeQuickRedirect changeQuickRedirect; public final /* synthetic */ Context b; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public a(Context context, Context context2) { super(context); this.b = context2; } @Override // com.shizhuang.duapp.common.helper.net.facade.IViewHandler, td.a public void onBzError(l<RouterConfigModel> lVar) { boolean z = PatchProxy.proxy(new Object[]{lVar}, this, changeQuickRedirect, false, 313966, new Class[]{l.class}, Void.TYPE).isSupported; } @Override // com.shizhuang.duapp.common.helper.net.facade.IViewHandler, td.a public void onFailed(l lVar) { if (!PatchProxy.proxy(new Object[]{lVar}, this, changeQuickRedirect, false, 313965, new Class[]{l.class}, Void.TYPE).isSupported) { super.onFailed(lVar); Printer u4 = fo.a.u("RouterManager"); StringBuilder h12 = f.h("加载配置失败:"); h12.append(lVar.c()); u4.i(h12.toString(), new Object[0]); } } /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // com.shizhuang.duapp.common.helper.net.facade.IViewHandler, td.a public void onSuccess(RouterConfigModel routerConfigModel) { RouterConfigModel routerConfigModel2 = routerConfigModel; if (!PatchProxy.proxy(new Object[]{routerConfigModel2}, this, changeQuickRedirect, false, 313964, new Class[]{RouterConfigModel.class}, Void.TYPE).isSupported && routerConfigModel2 != null && routerConfigModel2.content != null) { int i = routerConfigModel2.routerVersion; if (!PatchProxy.proxy(new Object[]{new Integer(i)}, null, e.changeQuickRedirect, true, 313644, new Class[]{Integer.TYPE}, Void.TYPE).isSupported) { b0.l("routerVersion", Integer.valueOf(i)); } e.L(routerConfigModel2.content); Context context = this.b; List<RouterNode> list = routerConfigModel2.content; if (!PatchProxy.proxy(new Object[]{context, list}, null, e.changeQuickRedirect, true, 313645, new Class[]{Context.class, List.class}, Void.TYPE).isSupported) { q.a(new td.e(list, context)); } } } } /* compiled from: RouterManager */ public class b implements IAccountService.LoginCallback { public static ChangeQuickRedirect changeQuickRedirect; /* renamed from: a reason: collision with root package name */ public final /* synthetic */ c.a f38865a; public final /* synthetic */ Context b; /* renamed from: c reason: collision with root package name */ public final /* synthetic */ RouterNode f38866c; public final /* synthetic */ String d; public final /* synthetic */ int e; public final /* synthetic */ Bundle f; /* renamed from: g reason: collision with root package name */ public final /* synthetic */ NavCallback f38867g; public b(c.a aVar, Context context, RouterNode routerNode, String str, int i, Bundle bundle, NavCallback navCallback) { this.f38865a = aVar; this.b = context; this.f38866c = routerNode; this.d = str; this.e = i; this.f = bundle; this.f38867g = navCallback; } @Override // com.shizhuang.duapp.modules.router.service.account.IAccountService.LoginCallback public void onLoginCancel() { if (!PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 313968, new Class[0], Void.TYPE).isSupported) { NavCallback navCallback = this.f38867g; if (navCallback instanceof g) { ((g) navCallback).a(null, RouterManagerFailureType.ERROR_6); } } } @Override // com.shizhuang.duapp.modules.router.service.account.IAccountService.LoginCallback public void onLoginSuccess() { if (!PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 313967, new Class[0], Void.TYPE).isSupported) { c.a aVar = this.f38865a; if (aVar != null) { e.s(this.b, this.f38866c, this.d, this.e, aVar); } else { e.t(this.b, this.f38866c, this.d, this.f, this.e, this.f38867g); } } } } public static void A(Context context) { String str; if (!PatchProxy.proxy(new Object[]{context}, null, changeQuickRedirect, true, 313641, new Class[]{Context.class}, Void.TYPE).isSupported) { PatchProxyResult proxy = PatchProxy.proxy(new Object[]{context}, null, changeQuickRedirect, true, 313649, new Class[]{Context.class}, String.class); if (proxy.isSupported) { str = (String) proxy.result; } else { str = s.l(context, "router_mapping.json"); } if (!TextUtils.isEmpty(str)) { if (!PatchProxy.proxy(new Object[]{str}, null, changeQuickRedirect, true, 313654, new Class[]{String.class}, Void.TYPE).isSupported) { List parseArray = JSON.parseArray(str, RouterMapping.class); if (!PatchProxy.proxy(new Object[]{parseArray}, null, changeQuickRedirect, true, 313656, new Class[]{List.class}, Void.TYPE).isSupported && parseArray != null) { try { if (!parseArray.isEmpty()) { for (int i = 0; i < parseArray.size(); i++) { RouterMapping routerMapping = (RouterMapping) parseArray.get(i); if (routerMapping != null && !TextUtils.isEmpty(routerMapping.oldRouter)) { routerMappingHashMap.put(routerMapping.oldRouter, routerMapping.newRouter); } } } } catch (Exception e) { e.printStackTrace(); } } } } } } public static void A0(Context context, int i) { if (!PatchProxy.proxy(new Object[]{context, new Integer(i)}, null, changeQuickRedirect, true, 313910, new Class[]{Context.class, Integer.TYPE}, Void.TYPE).isSupported) { ARouter.getInstance().build("/order/buyer/orderList").withInt("tabId", i).withFlags(335544320).navigation(context); } } public static void A1(Activity activity, int i, String str, int i3) { Object[] objArr = {activity, new Integer(i), str, new Integer(i3)}; ChangeQuickRedirect changeQuickRedirect2 = changeQuickRedirect; Class cls = Integer.TYPE; if (!PatchProxy.proxy(objArr, null, changeQuickRedirect2, true, 313865, new Class[]{Activity.class, cls, String.class, cls}, Void.TYPE).isSupported) { h.b.g("/pay/AddBankCardActivity", "scene", i, "sceneType", str).navigation(activity, i3); } } public static void B(Fragment fragment, int i, Postcard postcard) { if (!PatchProxy.proxy(new Object[]{fragment, new Integer(i), postcard}, null, changeQuickRedirect, true, 313677, new Class[]{Fragment.class, Integer.TYPE, Postcard.class}, Void.TYPE).isSupported) { LogisticsCenter.completion(postcard); Intent intent = new Intent(fragment.getContext(), postcard.getDestination()); intent.putExtras(postcard.getExtras()); int flags = postcard.getFlags(); if (-1 != flags) { intent.setFlags(flags); } else if (!(fragment.getContext() instanceof Activity)) { intent.setFlags(268435456); } String action = postcard.getAction(); if (!com.alibaba.android.arouter.utils.TextUtils.isEmpty(action)) { intent.setAction(action); } fragment.startActivityForResult(intent, i); } } public static void B0(Activity activity, int i, int i3) { Object[] objArr = {activity, new Integer(i), new Integer(i3)}; ChangeQuickRedirect changeQuickRedirect2 = changeQuickRedirect; Class cls = Integer.TYPE; if (!PatchProxy.proxy(objArr, null, changeQuickRedirect2, true, 313844, new Class[]{Activity.class, cls, cls}, Void.TYPE).isSupported) { ARouter.getInstance().build("/account/MyCashPage").withInt("tabIndex", i).navigation(activity, i3); } } public static void B1(Activity activity, int i, String str, int i3) { Object[] objArr = {activity, new Integer(i), str, new Integer(i3)}; ChangeQuickRedirect changeQuickRedirect2 = changeQuickRedirect; Class cls = Integer.TYPE; if (!PatchProxy.proxy(objArr, null, changeQuickRedirect2, true, 313868, new Class[]{Activity.class, cls, String.class, cls}, Void.TYPE).isSupported) { h.b.g("/account/ResetWithdrawPwdActivity", "bizTypeId", i, "bankCardVerifyNo", str).navigation(activity, i3); } } public static void C(Context context, String str) { if (!PatchProxy.proxy(new Object[]{context, str}, null, changeQuickRedirect, true, 313679, new Class[]{Context.class, String.class}, Void.TYPE).isSupported) { G(context, str); } } public static void C0(Context context) { if (!PatchProxy.proxy(new Object[]{context}, null, changeQuickRedirect, true, 313837, new Class[]{Context.class}, Void.TYPE).isSupported) { j.l("/trend/UserHomePage", context); } } public static void C1(Activity activity) { if (!PatchProxy.proxy(new Object[]{activity}, null, changeQuickRedirect, true, 313861, new Class[]{Activity.class}, Void.TYPE).isSupported) { fd0.c.t("/account/ResetWithdrawPwdBridgeActivity", activity); } } public static boolean D(Activity activity, String str) { PatchProxyResult proxy = PatchProxy.proxy(new Object[]{activity, str}, null, changeQuickRedirect, true, 313657, new Class[]{Activity.class, String.class}, Boolean.TYPE); return proxy.isSupported ? ((Boolean) proxy.result).booleanValue() : F(activity, str, null, 0, null); } public static void D0(Activity activity) { if (!PatchProxy.proxy(new Object[]{activity}, null, changeQuickRedirect, true, 313876, new Class[]{Activity.class}, Void.TYPE).isSupported) { fd0.c.t("/order/MySellInfoPageV3", activity); } } public static void D1(Context context) { if (!PatchProxy.proxy(new Object[]{context}, null, changeQuickRedirect, true, 313866, new Class[]{Context.class}, Void.TYPE).isSupported) { j.l("/account/UserSafePageV2", context); } } public static boolean E(Activity activity, String str, Bundle bundle) { Class cls = Boolean.TYPE; PatchProxyResult proxy = PatchProxy.proxy(new Object[]{activity, str, bundle}, null, changeQuickRedirect, true, 313659, new Class[]{Activity.class, String.class, Bundle.class}, cls); if (proxy.isSupported) { return ((Boolean) proxy.result).booleanValue(); } PatchProxyResult proxy2 = PatchProxy.proxy(new Object[]{activity, str, bundle, new Integer(0)}, null, changeQuickRedirect, true, 313664, new Class[]{Activity.class, String.class, Bundle.class, Integer.TYPE}, cls); if (proxy2.isSupported) { return ((Boolean) proxy2.result).booleanValue(); } return F(activity, str, bundle, 0, null); } public static void E0(Context context) { if (!PatchProxy.proxy(new Object[]{context}, null, changeQuickRedirect, true, 313934, new Class[]{Context.class}, Void.TYPE).isSupported) { j.l("/account/MySizePage", context); } } public static void E1(Activity activity, String str, String str2, int i, int i3, String str3, int i12) { Object[] objArr = {activity, str, str2, new Integer(i), new Integer(i3), str3, new Integer(i12)}; ChangeQuickRedirect changeQuickRedirect2 = changeQuickRedirect; Class cls = Integer.TYPE; if (!PatchProxy.proxy(objArr, null, changeQuickRedirect2, true, 313859, new Class[]{Activity.class, String.class, String.class, cls, cls, String.class, cls}, Void.TYPE).isSupported) { i.d("/account/SelectRealNameVerifyWayActivity", "bindBankCardScene", i, "verifyPolicyTypeId", i3).withString("name", str).withString("certNo", str2).withString("liveTypeId", str3).navigation(activity, i12); } } public static boolean F(Activity activity, String str, Bundle bundle, int i, NavCallback navCallback) { PatchProxyResult proxy = PatchProxy.proxy(new Object[]{activity, str, bundle, new Integer(i), null}, null, changeQuickRedirect, true, 313665, new Class[]{Activity.class, String.class, Bundle.class, Integer.TYPE, NavCallback.class}, Boolean.TYPE); return proxy.isSupported ? ((Boolean) proxy.result).booleanValue() : v(activity, str, bundle, i, null, null); } public static void F0(Fragment fragment, int i) { if (!PatchProxy.proxy(new Object[]{fragment, new Integer(i)}, null, changeQuickRedirect, true, 313872, new Class[]{Fragment.class, Integer.TYPE}, Void.TYPE).isSupported) { B(fragment, i, ARouter.getInstance().build("/account/MyWalletPage")); } } public static void F1(Activity activity, String str, int i) { if (!PatchProxy.proxy(new Object[]{activity, str, new Integer(i)}, null, changeQuickRedirect, true, 313862, new Class[]{Activity.class, String.class, Integer.TYPE}, Void.TYPE).isSupported) { i.q("/account/VerifyRealNameInfoActivity", "sceneType", str, activity, i); } } public static boolean G(Context context, String str) { PatchProxyResult proxy = PatchProxy.proxy(new Object[]{context, str}, null, changeQuickRedirect, true, 313670, new Class[]{Context.class, String.class}, Boolean.TYPE); return proxy.isSupported ? ((Boolean) proxy.result).booleanValue() : H(context, str, null); } public static void G0(Context context, boolean z) { if (!PatchProxy.proxy(new Object[]{context, new Byte(z ? (byte) 1 : 0)}, null, changeQuickRedirect, true, 313960, new Class[]{Context.class, Boolean.TYPE}, Void.TYPE).isSupported) { ARouter.getInstance().build("/product/MerchantApplyNewPage").withBoolean("isProductDetail", z).navigation(context); } } public static void G1(String str, String str2) { if (!PatchProxy.proxy(new Object[]{str, str2}, null, changeQuickRedirect, true, 313661, new Class[]{String.class, String.class}, Void.TYPE).isSupported) { try { HashMap hashMap = new HashMap(); hashMap.put("module", "router"); hashMap.put("routerUrl", str); hashMap.put("type", str2); ServiceManager.O(hashMap); } catch (Exception e) { e.printStackTrace(); } } } public static boolean H(Context context, String str, Bundle bundle) { PatchProxyResult proxy = PatchProxy.proxy(new Object[]{context, str, bundle}, null, changeQuickRedirect, true, 313671, new Class[]{Context.class, String.class, Bundle.class}, Boolean.TYPE); return proxy.isSupported ? ((Boolean) proxy.result).booleanValue() : v(context, str, bundle, -1, null, null); } public static void H0(@NonNull Context context, String str) { if (!PatchProxy.proxy(new Object[]{context, str}, null, changeQuickRedirect, true, 313917, new Class[]{Context.class, String.class}, Void.TYPE).isSupported) { vq0.a.e("/order/buyer/OrderDetail", "orderNo", str, context); } } public static void H1(Postcard postcard, String str) { if (!PatchProxy.proxy(new Object[]{postcard, str}, null, changeQuickRedirect, true, 313946, new Class[]{Postcard.class, String.class}, Void.TYPE).isSupported) { HashMap hashMap = new HashMap(); hashMap.put("path", postcard.getPath()); if (postcard.getUri() != null) { hashMap.put("uri", postcard.getUri().toString()); } if (postcard.getExtras() != null) { hashMap.put("params", postcard.getExtras().toString()); } hashMap.put("isSuccess", str); BM.growth().c("growth_router_jump", hashMap); } } public static boolean I(Context context, c.a aVar) { PatchProxyResult proxy = PatchProxy.proxy(new Object[]{context, aVar}, null, changeQuickRedirect, true, 313663, new Class[]{Context.class, c.a.class}, Boolean.TYPE); return proxy.isSupported ? ((Boolean) proxy.result).booleanValue() : J(context, aVar, -1); } public static void I0(Context context) { if (!PatchProxy.proxy(new Object[]{context}, null, changeQuickRedirect, true, 313780, new Class[]{Context.class}, Void.TYPE).isSupported) { j.l("/raffle/OriginalPriceBuyListPage", context); } } public static boolean J(Context context, c.a aVar, int i) { String str; PatchProxyResult proxy = PatchProxy.proxy(new Object[]{context, aVar, new Integer(i)}, null, changeQuickRedirect, true, 313662, new Class[]{Context.class, c.a.class, Integer.TYPE}, Boolean.TYPE); if (proxy.isSupported) { return ((Boolean) proxy.result).booleanValue(); } PatchProxyResult proxy2 = PatchProxy.proxy(new Object[0], aVar, c.a.changeQuickRedirect, false, 313616, new Class[0], String.class); if (proxy2.isSupported) { str = (String) proxy2.result; } else { str = aVar.f38863a; } return v(context, str, aVar.d(), i, aVar, null); } public static void J0(Context context, int i) { if (!PatchProxy.proxy(new Object[]{context, new Integer(i)}, null, changeQuickRedirect, true, 313779, new Class[]{Context.class, Integer.TYPE}, Void.TYPE).isSupported) { i.d("/raffle/OriginalPriceBuyDetailPage", "requireLogin", 1, "raffleId", i).navigation(context); } } @Deprecated public static boolean K(Activity activity, String str, NavCallback navCallback) { return v(activity, str, null, -1, null, navCallback); } public static void K0(Context context, Serializable serializable) { if (!PatchProxy.proxy(new Object[]{context, serializable}, null, changeQuickRedirect, true, 313725, new Class[]{Context.class, Serializable.class}, Void.TYPE).isSupported) { ARouter.getInstance().build("/pay/PayResultPage").withSerializable("floorPage", serializable).navigation(context); } } public static void L(List<RouterNode> list) { if (!PatchProxy.proxy(new Object[]{list}, null, changeQuickRedirect, true, 313655, new Class[]{List.class}, Void.TYPE).isSupported && list != null) { try { if (!list.isEmpty()) { for (int i = 0; i < list.size(); i++) { RouterNode routerNode = list.get(i); if (routerNode != null && !TextUtils.isEmpty(routerNode.path)) { routerNodeHashMap.put(routerNode.path, routerNode); } } } } catch (Exception e) { e.printStackTrace(); } } } public static void L0(Context context, String str) { if (!PatchProxy.proxy(new Object[]{context, str}, null, changeQuickRedirect, true, 313690, new Class[]{Context.class, String.class}, Void.TYPE).isSupported) { M0(context, str, 0); } } public static void M(Context context) { if (!PatchProxy.proxy(new Object[]{context}, null, changeQuickRedirect, true, 313825, new Class[]{Context.class}, Void.TYPE).isSupported) { j.l("/product/ArtistApplyPage", context); } } public static void M0(Context context, String str, int i) { if (!PatchProxy.proxy(new Object[]{context, str, new Integer(i)}, null, changeQuickRedirect, true, 313692, new Class[]{Context.class, String.class, Integer.TYPE}, Void.TYPE).isSupported) { N0(context, str, i, true, false); } } public static void N(Activity activity, int i, int i3) { Object[] objArr = {activity, new Integer(i), new Integer(i3)}; ChangeQuickRedirect changeQuickRedirect2 = changeQuickRedirect; Class cls = Integer.TYPE; if (!PatchProxy.proxy(objArr, null, changeQuickRedirect2, true, 313873, new Class[]{Activity.class, cls, cls}, Void.TYPE).isSupported) { ARouter.getInstance().build("/order/AskPriceOrderDetailPage").withInt("buyerBiddingId", i).navigation(activity, i3); } } public static void N0(Context context, String str, int i, boolean z, boolean z4) { Object navigation; Context baseContext; Object[] objArr = {context, str, new Integer(i), new Byte(z ? (byte) 1 : 0), new Byte(z4 ? (byte) 1 : 0)}; ChangeQuickRedirect changeQuickRedirect2 = changeQuickRedirect; Class cls = Boolean.TYPE; if (!PatchProxy.proxy(objArr, null, changeQuickRedirect2, true, 313694, new Class[]{Context.class, String.class, Integer.TYPE, cls, cls}, Void.TYPE).isSupported && (navigation = h6.a.d("/photo_viewer_old/galley/PicsPage", "pic", str, "index", i).withBoolean("isCanScale", z).withBoolean("addToCustomEmoji", z4).navigation()) != null && (navigation instanceof DialogFragment) && context != null) { FragmentActivity fragmentActivity = null; if (context instanceof FragmentActivity) { fragmentActivity = (FragmentActivity) context; } else if ((context instanceof ContextThemeWrapper) && (baseContext = ((ContextThemeWrapper) context).getBaseContext()) != null && (baseContext instanceof FragmentActivity)) { fragmentActivity = (FragmentActivity) baseContext; } if (fragmentActivity != null) { ((DialogFragment) navigation).show(fragmentActivity.getSupportFragmentManager(), navigation.getClass().getSimpleName()); } } } public static void O(Context context, String str) { if (!PatchProxy.proxy(new Object[]{context, str}, null, changeQuickRedirect, true, 313874, new Class[]{Context.class, String.class}, Void.TYPE).isSupported) { vq0.a.e("/order/AskPriceOrderDetailPage", "orderNum", str, context); } } public static void O0(Context context, String str, boolean z) { if (!PatchProxy.proxy(new Object[]{context, str, new Byte(z ? (byte) 1 : 0)}, null, changeQuickRedirect, true, 313691, new Class[]{Context.class, String.class, Boolean.TYPE}, Void.TYPE).isSupported) { N0(context, str, 0, z, false); } } public static void P(Fragment fragment, String str, String str2, String str3, String str4, int i) { if (!PatchProxy.proxy(new Object[]{fragment, str, str2, str3, str4, new Integer(i)}, null, changeQuickRedirect, true, 313931, new Class[]{Fragment.class, String.class, String.class, String.class, String.class, Integer.TYPE}, Void.TYPE).isSupported) { B(fragment, i, fd0.c.f("/identifyForum/AtIdentifySelectPage", "checkedList", str, "tagId", str2).withString("categoryId", str3).withString("secondCategoryId", str4)); } } public static void P0(Context context, String str, int i) { if (!PatchProxy.proxy(new Object[]{context, str, new Integer(i)}, null, changeQuickRedirect, true, 313693, new Class[]{Context.class, String.class, Integer.TYPE}, Void.TYPE).isSupported) { N0(context, str, i, true, true); } } public static void Q(Context context, String str) { if (!PatchProxy.proxy(new Object[]{context, str}, null, changeQuickRedirect, true, 313936, new Class[]{Context.class, String.class}, Void.TYPE).isSupported) { vq0.a.e("/order/bid/detail", "sellerBiddingNo", str, context); } } public static void Q0(Activity activity, Serializable serializable, int i) { if (!PatchProxy.proxy(new Object[]{activity, serializable, new Integer(i)}, null, changeQuickRedirect, true, 313743, new Class[]{Activity.class, Serializable.class, Integer.TYPE}, Void.TYPE).isSupported) { ARouter.getInstance().build("/media/PictureSinglePreviewPage").withSerializable("image", serializable).navigation(activity, i); } } public static void R(Activity activity, int i, String str, String str2, String str3) { if (!PatchProxy.proxy(new Object[]{activity, new Integer(i), str, str2, str3}, null, changeQuickRedirect, true, 313958, new Class[]{Activity.class, Integer.TYPE, String.class, String.class, String.class}, Void.TYPE).isSupported) { h.b.g("/biz/order/ConversationDetailPage", "userIdFromOrderDetail", i, "userName", str).withString("avatar", str2).withString("vIcon", str3).withInt("source", 2).navigation(activity); } } @Deprecated public static void R0(Context context, boolean z) { if (z) { c c5 = c.c(); c5.b(qc.f.c() + "activity-ssr/season-pro?navControl=1&toolbarControl=1&renew=1").f(context); return; } c c12 = c.c(); c12.b(qc.f.c() + "activity-ssr/season-pro?navControl=1&toolbarControl=1").f(context); } public static void S(Context context, String str) { if (!PatchProxy.proxy(new Object[]{context, str}, null, changeQuickRedirect, true, 313707, new Class[]{Context.class, String.class}, Void.TYPE).isSupported) { fo.a.m(a40.f.g("loadUrl:", str), new Object[0]); ARouter.getInstance().build("/web/BrowserPage").withString("loadUrl", str).withBoolean("alwaysLoadWhenResume", false).withLong("routerPreloadStartTime", HtmlCacheManager.getInstance().preloadHtmlForBrowserPage(str)).navigation(context); } } public static void S0(Context context, int i) { if (!PatchProxy.proxy(new Object[]{context, new Integer(i)}, null, changeQuickRedirect, true, 313683, new Class[]{Context.class, Integer.TYPE}, Void.TYPE).isSupported) { fd0.c.u("/product/ProductCategoryPageV2", "index", i, context); } } public static void T(Context context, String str) { if (!PatchProxy.proxy(new Object[]{context, str}, null, changeQuickRedirect, true, 313708, new Class[]{Context.class, String.class}, Void.TYPE).isSupported) { fo.a.m(a40.f.g("loadUrl:", str), new Object[0]); ARouter.getInstance().build("/web/BrowserPage").withString("loadUrl", str).withBoolean("alwaysLoadWhenResume", false).withBoolean("isShowShareBtn", false).withLong("routerPreloadStartTime", HtmlCacheManager.getInstance().preloadHtmlForBrowserPage(str)).navigation(context); } } public static void T0(String str, String str2) { if (!PatchProxy.proxy(new Object[]{str, str2}, null, changeQuickRedirect, true, 313682, new Class[]{String.class, String.class}, Void.TYPE).isSupported) { ARouter.getInstance().build("/product/ProductDetail").withLong("spuId", Long.valueOf(str).longValue()).withString("sourceName", str2).withInt("roomId", -1).navigation(); } } public static void U(Context context, String str, String str2) { if (!PatchProxy.proxy(new Object[]{context, str, str2}, null, changeQuickRedirect, true, 313709, new Class[]{Context.class, String.class, String.class}, Void.TYPE).isSupported) { fo.a.m(a40.f.g("loadUrl:", str), new Object[0]); ARouter.getInstance().build("/web/BrowserPage").withString("loadUrl", str).withBoolean("alwaysLoadWhenResume", false).withBoolean("isShowShareBtn", false).withString(PushConstants.TITLE, str2).withLong("routerPreloadStartTime", HtmlCacheManager.getInstance().preloadHtmlForBrowserPage(str)).navigation(context); } } public static void U0(@NonNull Context context, long j, long j12, @Nullable String str, long j13) { Object[] objArr = {context, new Long(j), new Long(j12), str, new Long(j13)}; ChangeQuickRedirect changeQuickRedirect2 = changeQuickRedirect; Class cls = Long.TYPE; if (!PatchProxy.proxy(objArr, null, changeQuickRedirect2, true, 313918, new Class[]{Context.class, cls, cls, String.class, cls}, Void.TYPE).isSupported) { i.e("/product/ProductDetail", "spuId", j).withLong("skuId", j12).withLong("propertyValueId", j13).withString("sourceName", str).withInt("roomId", -1).navigation(context); } } public static void V(Activity activity, int i, int i3) { Object[] objArr = {activity, new Integer(i), new Integer(i3)}; ChangeQuickRedirect changeQuickRedirect2 = changeQuickRedirect; Class cls = Integer.TYPE; if (!PatchProxy.proxy(objArr, null, changeQuickRedirect2, true, 313937, new Class[]{Activity.class, cls, cls}, Void.TYPE).isSupported) { ARouter.getInstance().build("/account/WithdrawPage").withInt("source", i3).navigation(activity, i); } } public static void V0(@NonNull Context context, long j, long j12, @Nullable String str, long j13, int i, long j14, Boolean bool, Boolean bool2) { Object[] objArr = {context, new Long(j), new Long(j12), str, new Long(j13), new Integer(i), new Long(j14), bool, bool2}; ChangeQuickRedirect changeQuickRedirect2 = changeQuickRedirect; Class cls = Long.TYPE; if (!PatchProxy.proxy(objArr, null, changeQuickRedirect2, true, 313920, new Class[]{Context.class, cls, cls, String.class, cls, Integer.TYPE, cls, Boolean.class, Boolean.class}, Void.TYPE).isSupported) { i.e("/product/ProductDetail", "spuId", j).withLong("skuId", j12).withLong("propertyValueId", j13).withString("sourceName", str).withInt("roomId", i).withLong("anchorId", j14).withBoolean("isDim", bool2.booleanValue()).withBoolean("isFloating", bool.booleanValue()).navigation(context); } } public static void W(Context context, String str, int i) { if (!PatchProxy.proxy(new Object[]{context, str, new Integer(i)}, null, changeQuickRedirect, true, 313903, new Class[]{Context.class, String.class, Integer.TYPE}, Void.TYPE).isSupported) { h6.a.d("/trend/CircleActiveRankPage", "circleId", str, "tabIndex", i).navigation(context); } } public static void W0(Context context, String str) { if (!PatchProxy.proxy(new Object[]{context, str}, null, changeQuickRedirect, true, 313763, new Class[]{Context.class, String.class}, Void.TYPE).isSupported) { fd0.c.f("/search/ProductSearchResultPage", "searchContent", str, "searchSource", "1").navigation(context); } } public static void X(Context context, String str) { if (!PatchProxy.proxy(new Object[]{context, str}, null, changeQuickRedirect, true, 313755, new Class[]{Context.class, String.class}, Void.TYPE).isSupported) { vq0.a.e("/trend/CircleGroupPage", "circleId", str, context); } } public static void X0(Context context, String str, int i, String str2) { Object[] objArr = {context, str, new Integer(i), str2}; ChangeQuickRedirect changeQuickRedirect2 = changeQuickRedirect; Class cls = Integer.TYPE; if (!PatchProxy.proxy(objArr, null, changeQuickRedirect2, true, 313764, new Class[]{Context.class, String.class, cls, String.class}, Void.TYPE).isSupported) { if (!PatchProxy.proxy(new Object[]{context, str, new Integer(i), null, str2}, null, changeQuickRedirect, true, 313765, new Class[]{Context.class, String.class, cls, ArrayList.class, String.class}, Void.TYPE).isSupported) { h6.a.d("/search/ProductSearchResultPage", "searchContent", str, "catId", i).withStringArrayList("categoryId", null).withString("unionId", str2).withString("searchSource", PushConstants.PUSH_FLYME_3_CHANGE_VERSION_START).navigation(context); } } } public static void Y(Activity activity, int i, int i3) { Object[] objArr = {activity, new Integer(i), new Integer(i3)}; ChangeQuickRedirect changeQuickRedirect2 = changeQuickRedirect; Class cls = Integer.TYPE; if (!PatchProxy.proxy(objArr, null, changeQuickRedirect2, true, 313700, new Class[]{Activity.class, cls, cls}, Void.TYPE).isSupported) { ARouter.getInstance().build("/account/CountryCodeListPage").withTransition(R.anim.slide_in_from_top, 0).withInt(PushConstants.BASIC_PUSH_STATUS_CODE, i).navigation(activity, i3); } } public static void Y0(Context context, int i) { if (!PatchProxy.proxy(new Object[]{context, new Integer(i)}, null, changeQuickRedirect, true, 313782, new Class[]{Context.class, Integer.TYPE}, Void.TYPE).isSupported) { fd0.c.u("/raffle/RaffleDetailPage", "timeRaffleId", i, context); } } public static void Z(Context context, String str) { if (!PatchProxy.proxy(new Object[]{context, str}, null, changeQuickRedirect, true, 313948, new Class[]{Context.class, String.class}, Void.TYPE).isSupported) { c c5 = c.c(); c5.b(qc.f.c() + "activity-ssr/coupon-package?navControl=1&orderId=" + str).f(context); } } public static void Z0(Context context, int i) { if (!PatchProxy.proxy(new Object[]{context, new Integer(i)}, null, changeQuickRedirect, true, 313784, new Class[]{Context.class, Integer.TYPE}, Void.TYPE).isSupported) { i.d("/raffle/RaffleDetailPage", "timeRaffleId", i, "showList", 1).navigation(context); } } public static boolean a(Uri uri, RouterNode routerNode, Bundle bundle) { PatchProxyResult proxy = PatchProxy.proxy(new Object[]{uri, routerNode, bundle}, null, changeQuickRedirect, true, 313668, new Class[]{Uri.class, RouterNode.class, Bundle.class}, Boolean.TYPE); if (proxy.isSupported) { return ((Boolean) proxy.result).booleanValue(); } HashSet hashSet = new HashSet(uri.getQueryParameterNames()); if (("/order/AskPriceOrderDetailPage".equals(routerNode.path) || "/order/SellOrderDetailPage".equals(routerNode.path)) && (hashSet.isEmpty() || (hashSet.size() == 1 && "requireLogin".equals(hashSet)))) { return false; } List<RouterParams> list = routerNode.params; if (list != null && !list.isEmpty()) { for (RouterParams routerParams : routerNode.params) { if (!(TextUtils.isEmpty(routerParams.required) || !"1".equals(routerParams.required) || hashSet.contains(routerParams.key) || bundle == null || bundle.containsKey(routerParams.key))) { Printer u4 = fo.a.u("router"); StringBuilder h12 = f.h("路由跳转失败param ==== "); h12.append(routerParams.key); u4.i(h12.toString(), new Object[0]); return false; } } } return true; } public static void a0(Context context, int i) { if (!PatchProxy.proxy(new Object[]{context, new Integer(i)}, null, changeQuickRedirect, true, 313816, new Class[]{Context.class, Integer.TYPE}, Void.TYPE).isSupported) { fd0.c.u("/deposit/DepositListPage", "tab", i, context); } } public static void a1(@NonNull Context context, int i) { if (!PatchProxy.proxy(new Object[]{context, new Integer(i)}, null, changeQuickRedirect, true, 313921, new Class[]{Context.class, Integer.TYPE}, Void.TYPE).isSupported) { fd0.c.u("/trend/RecommendCircleV2Activity", "section", i, context); } } public static void b(Context context) { int i; if (!PatchProxy.proxy(new Object[]{context}, null, changeQuickRedirect, true, 313642, new Class[]{Context.class}, Void.TYPE).isSupported) { PatchProxyResult proxy = PatchProxy.proxy(new Object[0], null, changeQuickRedirect, true, 313643, new Class[0], Integer.TYPE); if (proxy.isSupported) { i = ((Integer) proxy.result).intValue(); } else { i = ((Integer) b0.f("routerVersion", 0)).intValue(); } d.getNewRouterConfig(i, new a(context, context)); } } public static void b0(Context context, int i) { if (!PatchProxy.proxy(new Object[]{context, new Integer(i)}, null, changeQuickRedirect, true, 313818, new Class[]{Context.class, Integer.TYPE}, Void.TYPE).isSupported) { fd0.c.u("/deposit/DepositReturnPage", "tab", i, context); } } public static void b1(Context context, int i) { if (!PatchProxy.proxy(new Object[]{context, new Integer(i)}, null, changeQuickRedirect, true, 313811, new Class[]{Context.class, Integer.TYPE}, Void.TYPE).isSupported) { fd0.c.u("/product/NewReleaseCalendar", "ENTRY_TYPE", i, context); } } public static void c(Context context) { if (!PatchProxy.proxy(new Object[]{context}, null, changeQuickRedirect, true, 313652, new Class[]{Context.class}, Void.TYPE).isSupported) { s.c(context.getFileStreamPath("router_path.json")); } } public static void c0(Context context, int i) { if (!PatchProxy.proxy(new Object[]{context, new Integer(i)}, null, changeQuickRedirect, true, 313817, new Class[]{Context.class, Integer.TYPE}, Void.TYPE).isSupported) { fd0.c.u("/deposit/DepositWarehousingListPage", "tab", i, context); } } /* JADX DEBUG: Multi-variable search result rejected for r26v0, resolved type: boolean */ /* JADX WARN: Multi-variable type inference failed */ public static void c1(Activity activity, int i, boolean z) { Object[] objArr = {activity, new Integer(i), new Byte(z ? (byte) 1 : 0)}; ChangeQuickRedirect changeQuickRedirect2 = changeQuickRedirect; Class cls = Integer.TYPE; Class cls2 = Boolean.TYPE; if (!PatchProxy.proxy(objArr, null, changeQuickRedirect2, true, 313785, new Class[]{Activity.class, cls, cls2}, Void.TYPE).isSupported) { String a5 = a.a(); if (!PatchProxy.proxy(new Object[]{a5, activity, new Integer(i), new Byte((byte) z)}, null, changeQuickRedirect, true, 313787, new Class[]{String.class, Activity.class, cls, cls2}, Void.TYPE).isSupported) { ARouter.getInstance().build(a5).withBoolean("isSupportAlbum", z).withString("requestFrom", activity.getClass().getSimpleName()).withBoolean("needCallback", true).navigation(activity, i); } } } @Deprecated public static boolean d(Context context, String str, g gVar) { return v(context, str, null, -1, null, gVar); } public static void d0(Context context, String str) { if (!PatchProxy.proxy(new Object[]{context, str}, null, changeQuickRedirect, true, 313836, new Class[]{Context.class, String.class}, Void.TYPE).isSupported) { vq0.a.e("/trend/FansListPage", "userId", str, context); } } public static void d1(Activity activity, int i, boolean z, Serializable serializable, boolean z4, String str) { Object[] objArr = {activity, new Integer(i), new Byte(z ? (byte) 1 : 0), serializable, new Byte(z4 ? (byte) 1 : 0), str}; ChangeQuickRedirect changeQuickRedirect2 = changeQuickRedirect; Class cls = Boolean.TYPE; if (!PatchProxy.proxy(objArr, null, changeQuickRedirect2, true, 313789, new Class[]{Activity.class, Integer.TYPE, cls, Serializable.class, cls, String.class}, Void.TYPE).isSupported) { ARouter.getInstance().build(a.a()).withBoolean("isShowHandInput", z).withSerializable("originType", serializable).withBoolean("isScanQRCode", z4).withString("inputHint", str).withBoolean("isSupportAlbum", true).withString("requestFrom", activity.getClass().getSimpleName()).withBoolean("needCallback", true).navigation(activity, i); } } public static Postcard e(Context context, String str, Bundle bundle) { PatchProxyResult proxy = PatchProxy.proxy(new Object[]{context, str, bundle}, null, changeQuickRedirect, true, 313667, new Class[]{Context.class, String.class, Bundle.class}, Postcard.class); if (proxy.isSupported) { return (Postcard) proxy.result; } Uri parse = Uri.parse(str); String str2 = parse.getPath().split("\\?")[0]; RouterNode routerNode = routerNodeHashMap.get(str2); if (routerNode != null) { if (!a(parse, routerNode, bundle)) { fo.a.u("router").i(a40.f.g("路由跳转失败url == ", str), new Object[0]); return null; } if ("/trend/details".equals(str2) || "/trend/postsPage".equals(str2)) { routerNode = routerNode.copy(); str = w(str, str2, routerNode); } if (routerNode.requireLogin > 0) { bundle.putInt("requireLogin", 1); } int i = routerNode.degrade; if (i == 0) { return ARouter.getInstance().build(routerNode.path).with(bundle).setUri(Uri.parse(str)); } if (i == 1) { return ARouter.getInstance().build("/web/BrowserPage").with(bundle).withString("loadUrl", str).withBoolean("alwaysLoadWhenResume", false); } } return null; } public static void e0(Activity activity, int i, String str) { if (!PatchProxy.proxy(new Object[]{activity, new Integer(i), str}, null, changeQuickRedirect, true, 313914, new Class[]{Activity.class, Integer.TYPE, String.class}, Void.TYPE).isSupported) { i.q("/product/collect/list", "sourceName", str, activity, i); } } public static void e1(Context context, String str) { if (!PatchProxy.proxy(new Object[]{context, str}, null, changeQuickRedirect, true, 313762, new Class[]{Context.class, String.class}, Void.TYPE).isSupported) { vq0.a.e("/search/SearchMainPageV2", "keyWord", str, context); } } public static void f(Activity activity, Parcelable parcelable, int i, int i3, int i12) { Object[] objArr = {activity, null, new Integer(i), new Integer(i3), new Integer(i12)}; ChangeQuickRedirect changeQuickRedirect2 = changeQuickRedirect; Class cls = Integer.TYPE; if (!PatchProxy.proxy(objArr, null, changeQuickRedirect2, true, 313791, new Class[]{Activity.class, Parcelable.class, cls, cls, cls}, Void.TYPE).isSupported) { ARouter.getInstance().build("/account/AddressEditPage").withParcelable("addressModel", null).withInt("isDeposit", i).withInt("type", i3).navigation(activity, i12); } } public static void f0(Context context) { if (!PatchProxy.proxy(new Object[]{context}, null, changeQuickRedirect, true, 313909, new Class[]{Context.class}, Void.TYPE).isSupported) { j.l("/trend/RecommendUsersListPage", context); } } public static void f1(Context context, String str, String str2, boolean z) { if (!PatchProxy.proxy(new Object[]{context, str, str2, new Byte(z ? (byte) 1 : 0)}, null, changeQuickRedirect, true, 313935, new Class[]{Context.class, String.class, String.class, Boolean.TYPE}, Void.TYPE).isSupported) { fd0.c.f("/order/seller/orderDetail", "orderNo", str, "sellerBiddingNo", str2).withBoolean("showDetailFlag", z).withFlags(335544320).navigation(context); } } public static Intent g(Activity activity) { PatchProxyResult proxy = PatchProxy.proxy(new Object[]{activity}, null, changeQuickRedirect, true, 313952, new Class[]{Activity.class}, Intent.class); if (proxy.isSupported) { return (Intent) proxy.result; } Intent intent = new Intent(activity, f.c("/account/IdCardRealNameAuthPage").getDestination()); intent.putExtra("pageTitle", "实名认证"); intent.putExtra("faceSceneType", 206); intent.putExtra("wbCloudSceneType", "1501"); intent.putExtra("alipayTypeId", "14"); return intent; } public static void g0(Context context) { if (!PatchProxy.proxy(new Object[]{context}, null, changeQuickRedirect, true, 313702, new Class[]{Context.class}, Void.TYPE).isSupported) { j.l("/home/HomePage", context); } } public static void g1(Activity activity) { if (!PatchProxy.proxy(new Object[]{activity}, null, changeQuickRedirect, true, 313870, new Class[]{Activity.class}, Void.TYPE).isSupported) { fd0.c.t("/order/SellerNoticeListPage", activity); } } public static Intent h(Activity activity, String str, String str2) { PatchProxyResult proxy = PatchProxy.proxy(new Object[]{activity, str, str2}, null, changeQuickRedirect, true, 313854, new Class[]{Activity.class, String.class, String.class}, Intent.class); return proxy.isSupported ? (Intent) proxy.result : k(activity, "", "", str, str2); } public static void h0(Context context, NavCallback navCallback) { if (!PatchProxy.proxy(new Object[]{context, navCallback}, null, changeQuickRedirect, true, 313703, new Class[]{Context.class, NavCallback.class}, Void.TYPE).isSupported) { ARouter.getInstance().build("/home/HomePage").navigation(context, navCallback); } } public static void h1(Context context, int i) { if (!PatchProxy.proxy(new Object[]{context, new Integer(i)}, null, changeQuickRedirect, true, 313926, new Class[]{Context.class, Integer.TYPE}, Void.TYPE).isSupported) { ARouter.getInstance().build("/order/seller/orderList").withInt("tabId", i).withFlags(335544320).navigation(context); } } public static Intent i(Activity activity, String str, String str2) { PatchProxyResult proxy = PatchProxy.proxy(new Object[]{activity, str, str2}, null, changeQuickRedirect, true, 313856, new Class[]{Activity.class, String.class, String.class}, Intent.class); if (proxy.isSupported) { return (Intent) proxy.result; } Intent intent = new Intent(activity, f.c("/account/LiveOrRealNameActivity").getDestination()); intent.putExtra("aliPayTypeId", str); intent.putExtra("wbCloudSceneType", str2); return intent; } public static void i0(Context context, String str) { if (!PatchProxy.proxy(new Object[]{context, str}, null, changeQuickRedirect, true, 313706, new Class[]{Context.class, String.class}, Void.TYPE).isSupported) { vq0.a.e("/home/HomePage", "home", str, context); } } public static void i1(Context context) { if (!PatchProxy.proxy(new Object[]{context}, null, changeQuickRedirect, true, 313846, new Class[]{Context.class}, Void.TYPE).isSupported) { ARouter.getInstance().build("/account/DrawCashRecordPage").withBoolean("isNotificationEnter", true).navigation(context); } } public static Intent j(Activity activity, String str, String str2) { PatchProxyResult proxy = PatchProxy.proxy(new Object[]{activity, str, str2}, null, changeQuickRedirect, true, 313853, new Class[]{Activity.class, String.class, String.class}, Intent.class); if (proxy.isSupported) { return (Intent) proxy.result; } Intent intent = new Intent(activity, f.c("/account/LiveSetTransPwdBridgeActivity").getDestination()); intent.putExtra("aliPayTypeId", str); intent.putExtra("wbCloudSceneType", str2); return intent; } public static void j0(Activity activity, String str, Parcelable parcelable, int i) { if (!PatchProxy.proxy(new Object[]{activity, str, parcelable, new Integer(i)}, null, changeQuickRedirect, true, 313733, new Class[]{Activity.class, String.class, Parcelable.class, Integer.TYPE}, Void.TYPE).isSupported) { ARouter.getInstance().build("/media/IdCardPhotoPreviewPage").withString("path", str).withParcelable("image_info", parcelable).addFlags(65536).navigation(activity, i); } } /* JADX DEBUG: Multi-variable search result rejected for r24v0, resolved type: boolean */ /* JADX WARN: Multi-variable type inference failed */ public static void j1(Activity activity, boolean z, int i) { Object[] objArr = {activity, new Byte(z ? (byte) 1 : 0), new Integer(i)}; ChangeQuickRedirect changeQuickRedirect2 = changeQuickRedirect; Class cls = Boolean.TYPE; Class cls2 = Integer.TYPE; if (!PatchProxy.proxy(objArr, null, changeQuickRedirect2, true, 313776, new Class[]{Activity.class, cls, cls2}, Void.TYPE).isSupported) { if (!PatchProxy.proxy(new Object[]{activity, new Byte((byte) z), null, null, new Integer(i)}, null, changeQuickRedirect, true, 313775, new Class[]{Activity.class, cls, String.class, String.class, cls2}, Void.TYPE).isSupported) { l1(activity, z, null, null, null, i); } } } public static Intent k(Activity activity, String str, String str2, String str3, String str4) { IFinanceService iFinanceService; PatchProxyResult proxy = PatchProxy.proxy(new Object[]{activity, str, str2, str3, str4}, null, changeQuickRedirect, true, 313855, new Class[]{Activity.class, String.class, String.class, String.class, String.class}, Intent.class); if (proxy.isSupported) { return (Intent) proxy.result; } PatchProxyResult proxy2 = PatchProxy.proxy(new Object[0], null, ServiceManager.changeQuickRedirect, true, 314028, new Class[0], IFinanceService.class); if (proxy2.isSupported) { iFinanceService = (IFinanceService) proxy2.result; } else { iFinanceService = (IFinanceService) ServiceManager.p().a(IFinanceService.class); } return iFinanceService.getRouteAuthFacePageIntent(activity, null, str, str2, str4, null); } public static void k0(Activity activity, int i, int i3) { Object[] objArr = {activity, new Integer(i), new Integer(i3)}; ChangeQuickRedirect changeQuickRedirect2 = changeQuickRedirect; Class cls = Integer.TYPE; if (!PatchProxy.proxy(objArr, null, changeQuickRedirect2, true, 313718, new Class[]{Activity.class, cls, cls}, Void.TYPE).isSupported) { ARouter.getInstance().build("/media/IdCardCameraPage").withInt("position", i3).navigation(activity, i); } } public static void k1(Activity activity, boolean z, String str, int i) { if (!PatchProxy.proxy(new Object[]{activity, new Byte(z ? (byte) 1 : 0), str, new Integer(i)}, null, changeQuickRedirect, true, 313777, new Class[]{Activity.class, Boolean.TYPE, String.class, Integer.TYPE}, Void.TYPE).isSupported) { j1(activity, z, i); } } public static String l(String str) { PatchProxyResult proxy = PatchProxy.proxy(new Object[]{str}, null, changeQuickRedirect, true, 313646, new Class[]{String.class}, String.class); if (proxy.isSupported) { return (String) proxy.result; } return u(str) ? routerMappingHashMap.get(str) : ""; } public static void l0(Activity activity, String str, int i, String str2, String str3, int i3) { Object[] objArr = {activity, str, new Integer(i), str2, str3, new Integer(i3)}; ChangeQuickRedirect changeQuickRedirect2 = changeQuickRedirect; Class cls = Integer.TYPE; if (!PatchProxy.proxy(objArr, null, changeQuickRedirect2, true, 313953, new Class[]{Activity.class, String.class, cls, String.class, String.class, cls}, Void.TYPE).isSupported) { fd0.c.f("/account/IdCardRealNameAuthPage", "pageTitle", str, "wbCloudSceneType", str2).withInt("faceSceneType", i).withString("alipayTypeId", str3).navigation(activity, i3); } } public static void l1(Activity activity, boolean z, String str, String str2, String str3, int i) { if (!PatchProxy.proxy(new Object[]{activity, new Byte(z ? (byte) 1 : 0), str, str2, str3, new Integer(i)}, null, changeQuickRedirect, true, 313774, new Class[]{Activity.class, Boolean.TYPE, String.class, String.class, String.class, Integer.TYPE}, Void.TYPE).isSupported) { m1(activity, z, str, str2, str3, 0, i); } } public static Intent m(Activity activity, String str, String str2) { PatchProxyResult proxy = PatchProxy.proxy(new Object[]{activity, str, str2}, null, changeQuickRedirect, true, 313849, new Class[]{Activity.class, String.class, String.class}, Intent.class); return proxy.isSupported ? (Intent) proxy.result : n(activity, "", str, str2); } public static void m0(Context context, String str) { if (!PatchProxy.proxy(new Object[]{context, str}, null, changeQuickRedirect, true, 313808, new Class[]{Context.class, String.class}, Void.TYPE).isSupported) { vq0.a.e("/identify/ArCertificatePage", "data", str, context); } } public static void m1(Activity activity, boolean z, String str, String str2, String str3, int i, int i3) { Object[] objArr = {activity, new Byte(z ? (byte) 1 : 0), str, str2, str3, new Integer(i), new Integer(i3)}; ChangeQuickRedirect changeQuickRedirect2 = changeQuickRedirect; Class cls = Integer.TYPE; if (!PatchProxy.proxy(objArr, null, changeQuickRedirect2, true, 313772, new Class[]{Activity.class, Boolean.TYPE, String.class, String.class, String.class, cls, cls}, Void.TYPE).isSupported) { ARouter.getInstance().build("/account/ShippingAddressPage").withBoolean("isSelectAddress", z).withString(PushConstants.TITLE, str).withString("provinces", str2).withString("message", str3).withInt("pageType", i).navigation(activity, i3); } } public static Intent n(Activity activity, String str, String str2, String str3) { PatchProxyResult proxy = PatchProxy.proxy(new Object[]{activity, str, str2, str3}, null, changeQuickRedirect, true, 313850, new Class[]{Activity.class, String.class, String.class, String.class}, Intent.class); if (proxy.isSupported) { return (Intent) proxy.result; } Intent intent = new Intent(activity, f.c("/account/RealNameAuthenticationV2Page").getDestination()); intent.putExtra(PushConstants.TITLE, str); intent.putExtra("aliPayTypeId", str2); intent.putExtra("wbCloudSceneType", str3); return intent; } public static void n0(Context context, int i) { if (!PatchProxy.proxy(new Object[]{context, new Integer(i)}, null, changeQuickRedirect, true, 313801, new Class[]{Context.class, Integer.TYPE}, Void.TYPE).isSupported) { fd0.c.u("/identify/IdentifyDetailsPage", "identifyId", i, context); } } public static void n1(Fragment fragment, boolean z, String str, int i) { if (!PatchProxy.proxy(new Object[]{fragment, new Byte(z ? (byte) 1 : 0), str, new Integer(i)}, null, changeQuickRedirect, true, 313778, new Class[]{Fragment.class, Boolean.TYPE, String.class, Integer.TYPE}, Void.TYPE).isSupported) { B(fragment, i, ARouter.getInstance().build("/account/ShippingAddressPage").withBoolean("isSelectAddress", z).withString(PushConstants.TITLE, str)); } } public static Intent o(Activity activity, String str, String str2, String str3) { PatchProxyResult proxy = PatchProxy.proxy(new Object[]{activity, str, str2, str3}, null, changeQuickRedirect, true, 313852, new Class[]{Activity.class, String.class, String.class, String.class}, Intent.class); if (proxy.isSupported) { return (Intent) proxy.result; } Intent intent = new Intent(activity, f.c("/account/RealNameSetTransPwdBridgeActivity").getDestination()); intent.putExtra(PushConstants.TITLE, str); intent.putExtra("aliPayTypeId", str2); intent.putExtra("wbCloudSceneType", str3); return intent; } public static void o0(Context context, Parcelable parcelable) { if (!PatchProxy.proxy(new Object[]{context, parcelable}, null, changeQuickRedirect, true, 313800, new Class[]{Context.class, Parcelable.class}, Void.TYPE).isSupported) { ARouter.getInstance().build("/identify/IdentifyDetailsPage").withParcelable("bundle_identifyViewModel", parcelable).navigation(context); } } public static void o1(Context context, long j) { if (!PatchProxy.proxy(new Object[]{context, new Long(j)}, null, changeQuickRedirect, true, 313947, new Class[]{Context.class, Long.TYPE}, Void.TYPE).isSupported) { f.l("/product/ProductDetailSizePage", "spuId", j, context); } } public static Intent p(Activity activity, String str, String str2) { PatchProxyResult proxy = PatchProxy.proxy(new Object[]{activity, str, str2}, null, changeQuickRedirect, true, 313857, new Class[]{Activity.class, String.class, String.class}, Intent.class); if (proxy.isSupported) { return (Intent) proxy.result; } Intent intent = new Intent(activity, f.c("/account/UpdateWithdrawPwdV2Page").getDestination()); intent.putExtra("bizNo", str); intent.putExtra("oldPassword", str2); return intent; } public static void p0(Context context, String str, String str2, boolean z) { if (!PatchProxy.proxy(new Object[]{context, str, str2, new Byte(z ? (byte) 1 : 0)}, null, changeQuickRedirect, true, 313688, new Class[]{Context.class, String.class, String.class, Boolean.TYPE}, Void.TYPE).isSupported) { ARouter.getInstance().build("/product/RecognizeImagePageV2").withTransition(R.anim.login_in, R.anim.login_out).withString("path", str).withString("photoSearchType", str2).withBoolean("deleteOriginFile", z).navigation(context); } } public static void p1(Activity activity, Boolean bool, int i, int i3) { Object[] objArr = {activity, bool, new Integer(i), new Integer(i3)}; ChangeQuickRedirect changeQuickRedirect2 = changeQuickRedirect; Class cls = Integer.TYPE; if (!PatchProxy.proxy(objArr, null, changeQuickRedirect2, true, 313943, new Class[]{Activity.class, Boolean.class, cls, cls}, Void.TYPE).isSupported) { ARouter.getInstance().build("/media/studentCamera").withBoolean("isFront", bool.booleanValue()).withInt("type", i).navigation(activity, i3); } } public static void q(Context context, Bundle bundle) { if (!PatchProxy.proxy(new Object[]{context, bundle}, null, changeQuickRedirect, true, 313813, new Class[]{Context.class, Bundle.class}, Void.TYPE).isSupported) { ARouter.getInstance().build("/live/LiveRoomPage").withBundle("liveRoomParam", bundle).navigation(context); } } public static void q0(Context context, String str, String str2) { if (!PatchProxy.proxy(new Object[]{context, str, str2}, null, changeQuickRedirect, true, 313685, new Class[]{Context.class, String.class, String.class}, Void.TYPE).isSupported) { fd0.c.f("/product/RecognizeImagePageV2", "path", str, "photoSearchType", str2).navigation(context); } } public static void q1(Activity activity, Parcelable parcelable, int i) { if (!PatchProxy.proxy(new Object[]{activity, parcelable, new Integer(i)}, null, changeQuickRedirect, true, 313944, new Class[]{Activity.class, Parcelable.class, Integer.TYPE}, Void.TYPE).isSupported) { ARouter.getInstance().build("/media/studentEditPic").withParcelable("image", parcelable).navigation(activity, i); } } public static void r(Context context, Bundle bundle) { if (!PatchProxy.proxy(new Object[]{context, bundle}, null, changeQuickRedirect, true, 313796, new Class[]{Context.class, Bundle.class}, Void.TYPE).isSupported) { ARouter.getInstance().build("/trend/ReportPage").with(bundle).navigation(context); } } public static void r0(Activity activity, int i) { if (!PatchProxy.proxy(new Object[]{activity, new Integer(i)}, null, changeQuickRedirect, true, 313804, new Class[]{Activity.class, Integer.TYPE}, Void.TYPE).isSupported) { ARouter.getInstance().build("/identify/MyIdentifyPage").navigation(activity, i); } } public static void r1(@NonNull Activity activity, int i) { if (!PatchProxy.proxy(new Object[]{activity, new Integer(i)}, null, changeQuickRedirect, true, 313739, new Class[]{Activity.class, Integer.TYPE}, Void.TYPE).isSupported) { ARouter.getInstance().build("/account/TccBeforeApplyVerCodeActivity").navigation(activity, i); } } public static void s(Context context, RouterNode routerNode, String str, int i, c.a aVar) { if (!PatchProxy.proxy(new Object[]{context, routerNode, str, new Integer(i), aVar}, null, changeQuickRedirect, true, 313675, new Class[]{Context.class, RouterNode.class, String.class, Integer.TYPE, c.a.class}, Void.TYPE).isSupported) { int i3 = routerNode.degrade; if (i3 != 0) { if (i3 == 1) { S(context, routerNode.url); } } else if (context instanceof Activity) { ARouter.getInstance().build(routerNode.path).with(aVar.d()).withFlags(aVar.c()).withTransition(aVar.a(), aVar.b()).setUri(Uri.parse(str)).navigation((Activity) context, i); } else { ARouter.getInstance().build(routerNode.path).with(aVar.d()).withFlags(aVar.c()).withTransition(aVar.a(), aVar.b()).setUri(Uri.parse(str)).navigation(context); } } } @Deprecated public static void s0(@NonNull Context context, boolean z, int i) { JSONObject jSONObject = new JSONObject(); jSONObject.put("faqGroup", (Object) Integer.valueOf(z ? 2 : 1)); jSONObject.put("sourceType", (Object) Integer.valueOf(i)); C(context, "https://m.poizon.com/router/mini/open?miniId=customer_service&options=" + jSONObject.toJSONString()); } public static void s1(Context context, boolean z) { if (!PatchProxy.proxy(new Object[]{context, new Byte(z ? (byte) 1 : 0)}, null, changeQuickRedirect, true, 313840, new Class[]{Context.class, Boolean.TYPE}, Void.TYPE).isSupported) { ARouter.getInstance().build("/trend/TeensPage").withBoolean("fromSetting", z).navigation(context); } } public static void t(Context context, RouterNode routerNode, String str, Bundle bundle, int i, NavCallback navCallback) { if (!PatchProxy.proxy(new Object[]{context, routerNode, str, bundle, new Integer(i), navCallback}, null, changeQuickRedirect, true, 313674, new Class[]{Context.class, RouterNode.class, String.class, Bundle.class, Integer.TYPE, NavCallback.class}, Void.TYPE).isSupported) { int i3 = routerNode.degrade; if (i3 != 0) { if (i3 == 1) { S(context, routerNode.url); } } else if (context instanceof Activity) { ARouter.getInstance().build(routerNode.path).with(bundle).setUri(Uri.parse(str)).navigation((Activity) context, i, navCallback); } else { ARouter.getInstance().build(routerNode.path).with(bundle).setUri(Uri.parse(str)).navigation(context, navCallback); } } } public static void t0(Context context, Bundle bundle) { if (!PatchProxy.proxy(new Object[]{context, bundle}, null, changeQuickRedirect, true, 313832, new Class[]{Context.class, Bundle.class}, Void.TYPE).isSupported) { ARouter.getInstance().build("/live/LiveReplayProtratiPage").withBundle("replayParam", bundle).navigation(context); } } public static void t1(Context context, String str) { if (!PatchProxy.proxy(new Object[]{context, str}, null, changeQuickRedirect, true, 313928, new Class[]{Context.class, String.class}, Void.TYPE).isSupported) { vq0.a.e("/trend/CreatorCenter", "anchor", str, context); } } public static boolean u(String str) { PatchProxyResult proxy = PatchProxy.proxy(new Object[]{str}, null, changeQuickRedirect, true, 313647, new Class[]{String.class}, Boolean.TYPE); return proxy.isSupported ? ((Boolean) proxy.result).booleanValue() : routerMappingHashMap.containsKey(str); } public static void u0(Context context, Parcelable parcelable) { if (!PatchProxy.proxy(new Object[]{context, parcelable}, null, changeQuickRedirect, true, 313814, new Class[]{Context.class, Parcelable.class}, Void.TYPE).isSupported) { ARouter.getInstance().build("/live/LiveSettingPage").withParcelable("restraintModel", parcelable).addFlags(65536).navigation(context); } } public static void u1(Context context, int i) { Object[] objArr = {context, new Integer(i)}; ChangeQuickRedirect changeQuickRedirect2 = changeQuickRedirect; Class cls = Integer.TYPE; if (!PatchProxy.proxy(objArr, null, changeQuickRedirect2, true, 313751, new Class[]{Context.class, cls}, Void.TYPE).isSupported) { if (!PatchProxy.proxy(new Object[]{context, new Integer(i), "", ""}, null, changeQuickRedirect, true, 313752, new Class[]{Context.class, cls, String.class, String.class}, Void.TYPE).isSupported) { h.b.g("/trend/LabelGroupPagePage", "tagId", i, "unionType", "").withString("unionId", "").navigation(context); } } } /* JADX DEBUG: Multi-variable search result rejected for r0v10, resolved type: int */ /* JADX WARN: Multi-variable type inference failed */ /* JADX WARN: Type inference failed for: r0v49 */ /* JADX WARN: Type inference failed for: r0v55 */ /* JADX WARNING: Removed duplicated region for block: B:119:0x032b */ public static boolean v(Context context, String str, Bundle bundle, int i, c.a aVar, NavCallback navCallback) { boolean z; String str2; int i3; int i12; c.a aVar2; CharSequence charSequence; Uri parse; Object[] objArr = {context, str, bundle, new Integer(i), aVar, navCallback}; ChangeQuickRedirect changeQuickRedirect2 = changeQuickRedirect; Class[] clsArr = {Context.class, String.class, Bundle.class, Integer.TYPE, c.a.class, NavCallback.class}; Class cls = Boolean.TYPE; PatchProxyResult proxy = PatchProxy.proxy(objArr, null, changeQuickRedirect2, true, 313666, clsArr, cls); if (proxy.isSupported) { return ((Boolean) proxy.result).booleanValue(); } if (TextUtils.isEmpty(str)) { fo.a.m("路由path不能为空", new Object[0]); if (navCallback instanceof g) { ((g) navCallback).a(null, RouterManagerFailureType.ERROR_2); } return false; } PatchProxyResult proxy2 = PatchProxy.proxy(new Object[]{str}, null, changeQuickRedirect, true, 313672, new Class[]{String.class}, cls); if (proxy2.isSupported) { z = ((Boolean) proxy2.result).booleanValue(); } else { if (!TextUtils.isEmpty(str)) { Uri parse2 = Uri.parse(str); if (parse2.getScheme() == null) { fo.a.m(a40.f.g("scheme为空", str), new Object[0]); } else if (!"http".equals(parse2.getScheme()) && !"https".equals(parse2.getScheme()) && !"duapp".equals(parse2.getScheme()) && !"dewuapp".equals(parse2.getScheme()) && !"dewuhomeshortcut".equals(parse2.getScheme())) { fo.a.m(a40.f.g("scheme异常:", str), new Object[0]); } else if (!TextUtils.isEmpty(parse2.getPath())) { z = true; } else { fo.a.m(a40.f.g("path为空:", str), new Object[0]); } } z = false; } if (!z) { if (navCallback instanceof g) { ((g) navCallback).a(null, RouterManagerFailureType.ERROR_3); } return false; } if (str.contains("/router")) { String str3 = str.split("\\?")[0]; str2 = str.replace(str3, str3.replace("/router", "")); } else { str2 = str; } Uri parse3 = Uri.parse(str2); String queryParameter = parse3.getQueryParameter("requireLogin"); if (!TextUtils.isEmpty(queryParameter)) { try { i3 = Integer.parseInt(queryParameter) + 0; i12 = 0; } catch (NumberFormatException e) { e.printStackTrace(); } } else { i12 = 0; i3 = 0; } if (TextUtils.isEmpty(str2)) { fo.a.m("路由path不能为空", new Object[i12]); if (navCallback instanceof g) { ((g) navCallback).a(null, RouterManagerFailureType.ERROR_4); } return i12; } Object[] objArr2 = new Object[1]; objArr2[i12] = parse3; ChangeQuickRedirect changeQuickRedirect3 = changeQuickRedirect; Class[] clsArr2 = new Class[1]; clsArr2[i12] = Uri.class; if (!PatchProxy.proxy(objArr2, null, changeQuickRedirect3, true, 313681, clsArr2, Void.TYPE).isSupported) { try { String queryParameter2 = parse3.getQueryParameter("communityRestoreId"); if (!ei.a.a(queryParameter2)) { b0.h().putString("community_restore_id_key", queryParameter2); } String queryParameter3 = parse3.getQueryParameter("landingCommunityRestoreId"); if (!ei.a.a(queryParameter3)) { b0.h().putString("landing_community_restore_id_key", queryParameter3); } } catch (Exception e6) { e6.printStackTrace(); } } String str4 = parse3.getPath().split("\\?")[0]; Bundle preloadHtmlForOther = HtmlCacheManager.getInstance().preloadHtmlForOther(str4, parse3, bundle); RouterNode routerNode = routerNodeHashMap.get(str4); if (routerNode == null) { if (aVar == null) { aVar2 = new c.a(); if (!PatchProxy.proxy(new Object[]{preloadHtmlForOther}, aVar2, c.a.changeQuickRedirect, false, 313620, new Class[]{Bundle.class}, Void.TYPE).isSupported) { aVar2.b = preloadHtmlForOther; } } else { aVar2 = aVar; } if (PatchProxy.proxy(new Object[]{context, str2, str, aVar2, navCallback}, null, changeQuickRedirect, true, 313680, new Class[]{Context.class, String.class, String.class, c.a.class, NavCallback.class}, Void.TYPE).isSupported) { return true; } if (!TextUtils.isEmpty(str2)) { if (qc.b.f37325a && str2.startsWith("http")) { String str5 = TextUtils.isEmpty(str) ? str2 : str; if (!TextUtils.isEmpty(str5)) { charSequence = "/router"; if (!str5.contains(charSequence)) { S(context, str5); return true; } if (str2.contains(charSequence)) { String str6 = str2.split("\\?")[0]; str2 = str2.replace(str6, str6.replace(charSequence, "")); } parse = Uri.parse(str2); if (ei.a.a(parse.getPath()) || !parse.getPath().startsWith("/")) { parse = Uri.parse(str2 + "/"); } ARouter.getInstance().build(parse).with(aVar2.d()).withFlags(aVar2.c()).navigation(context, new f(str2, navCallback, aVar2, context, str)); return true; } } charSequence = "/router"; if (str2.contains(charSequence)) { } parse = Uri.parse(str2); parse = Uri.parse(str2 + "/"); try { ARouter.getInstance().build(parse).with(aVar2.d()).withFlags(aVar2.c()).navigation(context, new f(str2, navCallback, aVar2, context, str)); return true; } catch (Exception e12) { fo.a.f(a0.b.f("router error url = ", str2, "=============originalUrl = ", str), new Object[0]); e12.printStackTrace(); S(context, str2); if (!(navCallback instanceof g)) { return true; } ((g) navCallback).a(null, RouterManagerFailureType.ERROR_12); return true; } } else if (!(navCallback instanceof g)) { return true; } else { ((g) navCallback).a(null, RouterManagerFailureType.ERROR_7); return true; } } else if (!a(parse3, routerNode, preloadHtmlForOther)) { fo.a.u("router").i(a40.f.g("路由跳转失败url == ", str2), new Object[0]); if (navCallback instanceof g) { ((g) navCallback).a(null, RouterManagerFailureType.ERROR_5); } return false; } else { if ("/trend/details".equals(str4) || "/trend/postsPage".equals(str4)) { routerNode = routerNode.copy(); str2 = w(str2, str4, routerNode); } if (i3 + routerNode.requireLogin >= 1 && !ServiceManager.s().isUserLogin()) { ServiceManager.N(context, new b(aVar, context, routerNode, str2, i, preloadHtmlForOther, navCallback)); return true; } else if (aVar != null) { s(context, routerNode, str2, i, aVar); return true; } else { t(context, routerNode, str2, preloadHtmlForOther, i, navCallback); return true; } } } public static void v0(Context context, boolean z) { if (!PatchProxy.proxy(new Object[]{context, new Byte(z ? (byte) 1 : 0)}, null, changeQuickRedirect, true, 313821, new Class[]{Context.class, Boolean.TYPE}, Void.TYPE).isSupported) { w0(context, z, false); } } public static void v1(Context context, int i, String str) { if (!PatchProxy.proxy(new Object[]{context, new Integer(i), str}, null, changeQuickRedirect, true, 313726, new Class[]{Context.class, Integer.TYPE, String.class}, Void.TYPE).isSupported) { h.b.g("/trend/followList", "index", i, "userId", str).navigation(context); } } public static String w(String str, String str2, RouterNode routerNode) { PatchProxyResult proxy = PatchProxy.proxy(new Object[]{str, str2, routerNode}, null, changeQuickRedirect, true, 313669, new Class[]{String.class, String.class, RouterNode.class}, String.class); if (proxy.isSupported) { return (String) proxy.result; } if (str2.equals("/trend/postsPage")) { String n = h6.a.n(str.replace("/trend/postsPage", "/trend/details"), "&type=", 3); routerNode.path = "/trend/details"; return n; } else if (!str2.equals("/trend/details")) { routerNode.path = "/trend/details"; return str; } else { String replace = str.replace("/trend/details", "/trend/FeedDetailsPage"); routerNode.path = "/trend/FeedDetailsPage"; return h6.a.n(replace, "&type=", 0); } } public static void w0(Context context, boolean z, boolean z4) { Object[] objArr = {context, new Byte(z ? (byte) 1 : 0), new Byte(z4 ? (byte) 1 : 0)}; ChangeQuickRedirect changeQuickRedirect2 = changeQuickRedirect; Class cls = Boolean.TYPE; if (!PatchProxy.proxy(objArr, null, changeQuickRedirect2, true, 313822, new Class[]{Context.class, cls, cls}, Void.TYPE).isSupported) { if (z) { ARouter.getInstance().build("/product/MerchantApplyPage").withInt("forPerfectInfo", 1).withBoolean("isProductDetail", z4).navigation(context); } else { ARouter.getInstance().build("/product/MerchantApplyPage").withBoolean("isProductDetail", z4).navigation(context); } } } public static void w1(Context context, String str) { if (!PatchProxy.proxy(new Object[]{context, str}, null, changeQuickRedirect, true, 313728, new Class[]{Context.class, String.class}, Void.TYPE).isSupported) { x1(context, str, -1); } } public static void x(Activity activity, int i) { if (!PatchProxy.proxy(new Object[]{activity, new Integer(i)}, null, changeQuickRedirect, true, 313794, new Class[]{Activity.class, Integer.TYPE}, Void.TYPE).isSupported) { ARouter.getInstance().build("/account/AddressEditPage").withBoolean("isSelectAddress", true).withInt("type", 0).navigation(activity, i); } } public static void x0(Context context) { if (!PatchProxy.proxy(new Object[]{context}, null, changeQuickRedirect, true, 313879, new Class[]{Context.class}, Void.TYPE).isSupported) { j.l("/product/MerchantInfoPage", context); } } public static void x1(Context context, String str, int i) { if (!PatchProxy.proxy(new Object[]{context, str, new Integer(i)}, null, changeQuickRedirect, true, 313729, new Class[]{Context.class, String.class, Integer.TYPE}, Void.TYPE).isSupported) { h6.a.d("/trend/UserHomePage", "userId", str, "sourcePage", i).navigation(context); } } public static String y(Context context) { PatchProxyResult proxy = PatchProxy.proxy(new Object[]{context}, null, changeQuickRedirect, true, 313648, new Class[]{Context.class}, String.class); return proxy.isSupported ? (String) proxy.result : s.l(context, "router_path.json"); } public static void y0(Context context) { if (!PatchProxy.proxy(new Object[]{context}, null, changeQuickRedirect, true, 313842, new Class[]{Context.class}, Void.TYPE).isSupported) { j.l("/product/MerchantModifyServicePage", context); } } public static void y1(Context context, String str) { if (!PatchProxy.proxy(new Object[]{context, str}, null, changeQuickRedirect, true, 313882, new Class[]{Context.class, String.class}, Void.TYPE).isSupported) { vq0.a.e("/punch/UserPunchPage", "userId", str, context); } } public static void z(String str) { if (!PatchProxy.proxy(new Object[]{str}, null, changeQuickRedirect, true, 313653, new Class[]{String.class}, Void.TYPE).isSupported) { L(JSON.parseArray(str, RouterNode.class)); } } @Deprecated public static void z0(Context context, long j) { if (j <= 0) { return; } if (ServiceManager.L("way", 0)) { f.l("/product/monthCardPage", "productId", j, context); return; } c c5 = c.c(); c5.b(qc.f.c() + "activity-ssr/free-card?navControl=1&toolbarControl=1&productId=" + j).f(context); } public static void z1(Context context, String str, String str2) { if (!PatchProxy.proxy(new Object[]{context, str, str2}, null, changeQuickRedirect, true, 313812, new Class[]{Context.class, String.class, String.class}, Void.TYPE).isSupported) { fd0.c.f("/web/ReleaseDetailsPage", "sellId", str, "loadUrl", str2).navigation(context); } } }