package fh0; import android.content.Context; import android.util.ArrayMap; import bh0.c; import com.meituan.robust.ChangeQuickRedirect; import com.meituan.robust.PatchProxy; import com.meituan.robust.PatchProxyResult; import com.shizhuang.duapp.R; import com.shizhuang.duapp.libs.safety.ISafety; import com.shizhuang.duapp.modules.du_identify_common.constant.IdentifyCameraPriorSource$PriorSource; import com.shizhuang.duapp.modules.identify_reality.model.IRPlaceOrderDetailModel; import com.shizhuang.duapp.modules.identify_reality.model.IRPlaceOrderInfoModel; import com.shizhuang.duapp.modules.identify_reality.model.IRPlaceOrderRequestModel; import com.shizhuang.duapp.modules.identify_reality.model.io_model.IRPayResultCheckWorkerIOParamsModel; import com.shizhuang.duapp.modules.identify_reality.model.io_model.IdentifyRealityPlaceOrderInputParamsModel; import com.shizhuang.duapp.modules.identify_reality.report.IRPlaceOrderEventReport$reportTreasureCardChangePicClick$1; import com.shizhuang.duapp.modules.identify_reality.report.IRPlaceOrderEventReport$reportTreasureCardKnowIdentify$1; import com.shizhuang.duapp.modules.identify_reality.report.IRPlaceOrderEventReport$reportTreasureCardPlaceOrderClick$1; import com.shizhuang.duapp.modules.identify_reality.report.IRPlaceOrderEventReport$reportTreasureCardPublishStdClick$1; import com.shizhuang.duapp.modules.identify_reality.ui.order.payresult.IROrderPayResultCheckWorkerSet; import com.shizhuang.duapp.modules.identify_reality.ui.order.placeorder.IdentifyPlaceOrderCheckWorker; import df.o0; import java.util.ArrayList; import java.util.List; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import qg0.f; import rd.l; import td.s; /* compiled from: IdentifyTreasureCardProcessManager.kt */ public final class j extends IdentifyPlaceOrderCheckWorker { public static ChangeQuickRedirect changeQuickRedirect; /* compiled from: IdentifyTreasureCardProcessManager.kt */ public static final class a extends s<IRPlaceOrderInfoModel> { public static ChangeQuickRedirect changeQuickRedirect; public final /* synthetic */ IdentifyPlaceOrderCheckWorker.DoPlaceOrderCallback b; /* renamed from: c reason: collision with root package name */ public final /* synthetic */ ISafety f32342c; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public a(IdentifyPlaceOrderCheckWorker.DoPlaceOrderCallback doPlaceOrderCallback, ISafety iSafety, ISafety iSafety2) { super(iSafety2); this.b = doPlaceOrderCallback; this.f32342c = iSafety; } @Override // com.shizhuang.duapp.common.helper.net.facade.IViewHandler, td.s, td.a public void onBzError(@Nullable l<IRPlaceOrderInfoModel> lVar) { if (!PatchProxy.proxy(new Object[]{lVar}, this, changeQuickRedirect, false, 174456, new Class[]{l.class}, Void.TYPE).isSupported) { super.onBzError(lVar); this.b.onResponseFailed(lVar); } } @Override // com.shizhuang.duapp.common.helper.net.facade.IViewHandler, td.a public void onSuccess(Object obj) { IRPlaceOrderInfoModel iRPlaceOrderInfoModel = (IRPlaceOrderInfoModel) obj; if (!PatchProxy.proxy(new Object[]{iRPlaceOrderInfoModel}, this, changeQuickRedirect, false, 174455, new Class[]{IRPlaceOrderInfoModel.class}, Void.TYPE).isSupported) { super.onSuccess(iRPlaceOrderInfoModel); this.b.onResponseSuccess(iRPlaceOrderInfoModel); } } } /* compiled from: IdentifyTreasureCardProcessManager.kt */ public static final class b extends s<IRPlaceOrderDetailModel> { public static ChangeQuickRedirect changeQuickRedirect; public final /* synthetic */ IdentifyPlaceOrderCheckWorker.PlaceOrderDetailCallback b; /* renamed from: c reason: collision with root package name */ public final /* synthetic */ ISafety f32343c; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public b(IdentifyPlaceOrderCheckWorker.PlaceOrderDetailCallback placeOrderDetailCallback, ISafety iSafety, ISafety iSafety2) { super(iSafety2); this.b = placeOrderDetailCallback; this.f32343c = iSafety; } @Override // com.shizhuang.duapp.common.helper.net.facade.IViewHandler, td.s, td.a public void onBzError(@Nullable l<IRPlaceOrderDetailModel> lVar) { if (!PatchProxy.proxy(new Object[]{lVar}, this, changeQuickRedirect, false, 174458, new Class[]{l.class}, Void.TYPE).isSupported) { super.onBzError(lVar); this.b.onResponseFailed(lVar); } } @Override // com.shizhuang.duapp.common.helper.net.facade.IViewHandler, td.a public void onSuccess(Object obj) { IRPlaceOrderDetailModel iRPlaceOrderDetailModel = (IRPlaceOrderDetailModel) obj; if (!PatchProxy.proxy(new Object[]{iRPlaceOrderDetailModel}, this, changeQuickRedirect, false, 174457, new Class[]{IRPlaceOrderDetailModel.class}, Void.TYPE).isSupported) { super.onSuccess(iRPlaceOrderDetailModel); this.b.onResponseSuccess(iRPlaceOrderDetailModel); } } } @Override // com.shizhuang.duapp.modules.identify_reality.ui.order.placeorder.IdentifyPlaceOrderCheckWorker @NotNull public List<String> d() { PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 174435, new Class[0], List.class); if (proxy.isSupported) { return (List) proxy.result; } ArrayList arrayList = new ArrayList(); arrayList.add(p40.a.b(R.string.identify_reality_lay_placee_order_introduce_team)); arrayList.add(p40.a.b(R.string.identify_reality_lay_treasure_card_placee_order_introduce_authority)); arrayList.add(p40.a.b(R.string.identify_reality_lay_placee_order_introduce_strict)); return arrayList; } @Override // com.shizhuang.duapp.modules.identify_reality.ui.order.placeorder.IdentifyPlaceOrderCheckWorker @NotNull public String e() { PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 174434, new Class[0], String.class); return proxy.isSupported ? (String) proxy.result : "https://apk.poizon.com/duApp/Android_Config/resource/community/identify_common/image/bg_identify_reality_treasure_card_place_order_page_head.png"; } @Override // com.shizhuang.duapp.modules.identify_reality.ui.order.placeorder.IdentifyPlaceOrderCheckWorker public int f() { PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 174433, new Class[0], Integer.TYPE); return proxy.isSupported ? ((Integer) proxy.result).intValue() : R.drawable.identify_reality_treasure_card_place_order_head_bg; } @Override // com.shizhuang.duapp.modules.identify_reality.ui.order.placeorder.IdentifyPlaceOrderCheckWorker @NotNull public String g() { PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 174438, new Class[0], String.class); return proxy.isSupported ? (String) proxy.result : p40.a.b(R.string.identify_reality_treasure_card_place_order_know); } @Override // com.shizhuang.duapp.modules.identify_reality.ui.order.placeorder.IdentifyPlaceOrderCheckWorker @NotNull public String h() { PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 174436, new Class[0], String.class); return proxy.isSupported ? (String) proxy.result : p40.a.b(R.string.identify_reality_treasure_card_place_order_title); } @Override // com.shizhuang.duapp.modules.identify_reality.ui.order.placeorder.IdentifyPlaceOrderCheckWorker @NotNull public String i() { PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 174443, new Class[0], String.class); return proxy.isSupported ? (String) proxy.result : p40.a.b(R.string.identify_reality_treasure_card_lay_place_order_bottom_about); } @Override // com.shizhuang.duapp.modules.identify_reality.ui.order.placeorder.IdentifyPlaceOrderCheckWorker @NotNull public String j() { PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 174444, new Class[0], String.class); return proxy.isSupported ? (String) proxy.result : p40.a.b(R.string.identify_reality_treasure_card_lay_place_order_notice_warning_content); } @Override // com.shizhuang.duapp.modules.identify_reality.ui.order.placeorder.IdentifyPlaceOrderCheckWorker public int k() { PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 174453, new Class[0], Integer.TYPE); return proxy.isSupported ? ((Integer) proxy.result).intValue() : IdentifyCameraPriorSource$PriorSource.SOURCE_IDENTIFY_TREASURE_CARD.getSource(); } @Override // com.shizhuang.duapp.modules.identify_reality.ui.order.placeorder.IdentifyPlaceOrderCheckWorker @NotNull public String l() { PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 174442, new Class[0], String.class); return proxy.isSupported ? (String) proxy.result : p40.a.b(R.string.identify_reality_treasure_card_lay_place_order_product_describe); } @Override // com.shizhuang.duapp.modules.identify_reality.ui.order.placeorder.IdentifyPlaceOrderCheckWorker @NotNull public String m() { PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 174441, new Class[0], String.class); return proxy.isSupported ? (String) proxy.result : p40.a.b(R.string.identify_reality_treasure_card_lay_place_order_product_pic_title); } @Override // com.shizhuang.duapp.modules.identify_reality.ui.order.placeorder.IdentifyPlaceOrderCheckWorker @NotNull public String n() { PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 174437, new Class[0], String.class); return proxy.isSupported ? (String) proxy.result : p40.a.b(R.string.identify_reality_treasure_card_receive_rule_page_title); } @Override // com.shizhuang.duapp.modules.identify_reality.ui.order.placeorder.IdentifyPlaceOrderCheckWorker @NotNull public List<String> o() { PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 174440, new Class[0], List.class); if (proxy.isSupported) { return (List) proxy.result; } ArrayList arrayList = new ArrayList(); arrayList.add(p40.a.b(R.string.identify_reality_treasure_card_lay_place_order_product_info_content1)); arrayList.add(p40.a.b(R.string.identify_reality_treasure_card_lay_place_order_product_info_content2)); arrayList.add(p40.a.b(R.string.identify_reality_treasure_card_lay_place_order_product_info_content3)); arrayList.add(p40.a.b(R.string.identify_reality_treasure_card_lay_place_order_product_info_content4)); return arrayList; } @Override // com.shizhuang.duapp.modules.identify_reality.ui.order.placeorder.IdentifyPlaceOrderCheckWorker @NotNull public String p() { PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 174439, new Class[0], String.class); return proxy.isSupported ? (String) proxy.result : p40.a.b(R.string.identify_reality_treasure_card_lay_place_order_product_info_step_tile); } @Override // com.shizhuang.duapp.modules.identify_reality.ui.order.placeorder.IdentifyPlaceOrderCheckWorker public boolean q() { PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 174445, new Class[0], Boolean.TYPE); if (proxy.isSupported) { return ((Boolean) proxy.result).booleanValue(); } return false; } @Override // com.shizhuang.duapp.modules.identify_reality.ui.order.placeorder.IdentifyPlaceOrderCheckWorker public boolean r() { PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 174446, new Class[0], Boolean.TYPE); if (proxy.isSupported) { return ((Boolean) proxy.result).booleanValue(); } return false; } @Override // com.shizhuang.duapp.modules.identify_reality.ui.order.placeorder.IdentifyPlaceOrderCheckWorker public void s(@NotNull ISafety iSafety, @NotNull IRPlaceOrderRequestModel iRPlaceOrderRequestModel, @NotNull IdentifyPlaceOrderCheckWorker.DoPlaceOrderCallback doPlaceOrderCallback) { if (!PatchProxy.proxy(new Object[]{iSafety, iRPlaceOrderRequestModel, doPlaceOrderCallback}, this, changeQuickRedirect, false, 174432, new Class[]{ISafety.class, IRPlaceOrderRequestModel.class, IdentifyPlaceOrderCheckWorker.DoPlaceOrderCallback.class}, Void.TYPE).isSupported) { pg0.a.f37082a.L(iRPlaceOrderRequestModel, new a(doPlaceOrderCallback, iSafety, iSafety)); } } @Override // com.shizhuang.duapp.modules.identify_reality.ui.order.placeorder.IdentifyPlaceOrderCheckWorker public void t(@NotNull ISafety iSafety, @NotNull IdentifyPlaceOrderCheckWorker.PlaceOrderDetailCallback placeOrderDetailCallback) { IdentifyRealityPlaceOrderInputParamsModel identifyRealityPlaceOrderInputParamsModel; if (!PatchProxy.proxy(new Object[]{iSafety, placeOrderDetailCallback}, this, changeQuickRedirect, false, 174431, new Class[]{ISafety.class, IdentifyPlaceOrderCheckWorker.PlaceOrderDetailCallback.class}, Void.TYPE).isSupported && (identifyRealityPlaceOrderInputParamsModel = (IdentifyRealityPlaceOrderInputParamsModel) a()) != null) { pg0.a aVar = pg0.a.f37082a; String firstCategoryId = identifyRealityPlaceOrderInputParamsModel.getFirstCategoryId(); String str = ""; if (firstCategoryId == null) { firstCategoryId = str; } String brandId = identifyRealityPlaceOrderInputParamsModel.getBrandId(); if (brandId != null) { str = brandId; } aVar.q(firstCategoryId, str, identifyRealityPlaceOrderInputParamsModel.getSeriesId(), new b(placeOrderDetailCallback, iSafety, iSafety)); } } @Override // com.shizhuang.duapp.modules.identify_reality.ui.order.placeorder.IdentifyPlaceOrderCheckWorker public void u(@Nullable IdentifyRealityPlaceOrderInputParamsModel identifyRealityPlaceOrderInputParamsModel) { if (!PatchProxy.proxy(new Object[]{identifyRealityPlaceOrderInputParamsModel}, this, changeQuickRedirect, false, 174452, new Class[]{IdentifyRealityPlaceOrderInputParamsModel.class}, Void.TYPE).isSupported) { if (!PatchProxy.proxy(new Object[]{identifyRealityPlaceOrderInputParamsModel}, f.f37407a, f.changeQuickRedirect, false, 172678, new Class[]{IdentifyRealityPlaceOrderInputParamsModel.class}, Void.TYPE).isSupported) { o0.b("identify_block_click", new IRPlaceOrderEventReport$reportTreasureCardChangePicClick$1("3444", identifyRealityPlaceOrderInputParamsModel)); } } } @Override // com.shizhuang.duapp.modules.identify_reality.ui.order.placeorder.IdentifyPlaceOrderCheckWorker public void v(@Nullable IdentifyRealityPlaceOrderInputParamsModel identifyRealityPlaceOrderInputParamsModel) { if (!PatchProxy.proxy(new Object[]{identifyRealityPlaceOrderInputParamsModel}, this, changeQuickRedirect, false, 174450, new Class[]{IdentifyRealityPlaceOrderInputParamsModel.class}, Void.TYPE).isSupported) { if (!PatchProxy.proxy(new Object[]{identifyRealityPlaceOrderInputParamsModel}, f.f37407a, f.changeQuickRedirect, false, 172674, new Class[]{IdentifyRealityPlaceOrderInputParamsModel.class}, Void.TYPE).isSupported) { o0.b("identify_block_click", new IRPlaceOrderEventReport$reportTreasureCardKnowIdentify$1("3443", identifyRealityPlaceOrderInputParamsModel)); } } } @Override // com.shizhuang.duapp.modules.identify_reality.ui.order.placeorder.IdentifyPlaceOrderCheckWorker public void w(@Nullable IdentifyRealityPlaceOrderInputParamsModel identifyRealityPlaceOrderInputParamsModel) { boolean z = true; if (!PatchProxy.proxy(new Object[]{identifyRealityPlaceOrderInputParamsModel}, this, changeQuickRedirect, false, 174448, new Class[]{IdentifyRealityPlaceOrderInputParamsModel.class}, Void.TYPE).isSupported) { if (!PatchProxy.proxy(new Object[0], f.f37407a, f.changeQuickRedirect, false, 172669, new Class[0], Void.TYPE).isSupported) { l30.b bVar = l30.b.f34999a; ArrayMap arrayMap = new ArrayMap(8); if ("1743".length() <= 0) { z = false; } if (z) { arrayMap.put("current_page", "1743"); } bVar.b("identify_pageview", arrayMap); } } } @Override // com.shizhuang.duapp.modules.identify_reality.ui.order.placeorder.IdentifyPlaceOrderCheckWorker public void x(@Nullable IdentifyRealityPlaceOrderInputParamsModel identifyRealityPlaceOrderInputParamsModel) { if (!PatchProxy.proxy(new Object[]{identifyRealityPlaceOrderInputParamsModel}, this, changeQuickRedirect, false, 174451, new Class[]{IdentifyRealityPlaceOrderInputParamsModel.class}, Void.TYPE).isSupported) { if (!PatchProxy.proxy(new Object[]{identifyRealityPlaceOrderInputParamsModel}, f.f37407a, f.changeQuickRedirect, false, 172672, new Class[]{IdentifyRealityPlaceOrderInputParamsModel.class}, Void.TYPE).isSupported) { o0.b("identify_block_click", new IRPlaceOrderEventReport$reportTreasureCardPlaceOrderClick$1("930", identifyRealityPlaceOrderInputParamsModel)); } } } @Override // com.shizhuang.duapp.modules.identify_reality.ui.order.placeorder.IdentifyPlaceOrderCheckWorker public void y(@Nullable IdentifyRealityPlaceOrderInputParamsModel identifyRealityPlaceOrderInputParamsModel) { if (!PatchProxy.proxy(new Object[]{identifyRealityPlaceOrderInputParamsModel}, this, changeQuickRedirect, false, 174449, new Class[]{IdentifyRealityPlaceOrderInputParamsModel.class}, Void.TYPE).isSupported) { if (!PatchProxy.proxy(new Object[]{identifyRealityPlaceOrderInputParamsModel}, f.f37407a, f.changeQuickRedirect, false, 172676, new Class[]{IdentifyRealityPlaceOrderInputParamsModel.class}, Void.TYPE).isSupported) { o0.b("identify_block_click", new IRPlaceOrderEventReport$reportTreasureCardPublishStdClick$1("2394", identifyRealityPlaceOrderInputParamsModel)); } } } @Override // com.shizhuang.duapp.modules.identify_reality.ui.order.placeorder.IdentifyPlaceOrderCheckWorker public void z(@NotNull Context context, @NotNull IRPayResultCheckWorkerIOParamsModel iRPayResultCheckWorkerIOParamsModel) { if (!PatchProxy.proxy(new Object[]{context, iRPayResultCheckWorkerIOParamsModel}, this, changeQuickRedirect, false, 174447, new Class[]{Context.class, IRPayResultCheckWorkerIOParamsModel.class}, Void.TYPE).isSupported) { c.f1681a.a(context, iRPayResultCheckWorkerIOParamsModel, IROrderPayResultCheckWorkerSet.IDENTIFY_TREASURE_CARD); } } }