package o; import com.kofax.kmc.ken.engines.service.ImageService; import okhttp3.MediaType; import okhttp3.MultipartBody; import okhttp3.RequestBody; /* renamed from: o.VpK, reason: case insensitive filesystem */ /* loaded from: classes3.dex */ public final class C1100VpK extends wRi { private final InterfaceC0773Ogw a; private final yQF b; private final tQD c; public final Xky e; /* renamed from: o.VpK$IeS */ /* loaded from: classes3.dex */ public enum IeS { HML, DEFAULT } @InterfaceC13391fZD public C1100VpK(yRw yrw, yRw yrw2, yQF yqf, Xky xky, InterfaceC0773Ogw interfaceC0773Ogw, tQD tqd) { super(yrw, yrw2); this.b = yqf; this.e = xky; this.a = interfaceC0773Ogw; this.c = tqd; } public final AbstractC13163fSk e(EQZ eqz) { return e(this.b.b(eqz)); } public final AbstractC13163fSk c(String str, String str2) { return e(this.b.c(str, str2)); } public final AbstractC13163fSk d(String str, String str2, IeS ieS) { if (ieS == IeS.HML) { if (this.c.f() == bTI.BUSINESS_OWNER) { return e(this.c.a(str2)); } return e(this.a.b(str2)); } return e(this.b.a(str, str2)); } public final AbstractC13163fSk d(BES bes, String str) { if (this.c.f() == bTI.BUSINESS_OWNER) { return e(this.c.d(bes.c, str, null, bes.d, bes.e, bes.a != null ? C15240gl.e(bes.a, "yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ", ImageService.EXIF_TIME_FORMAT) : null)); } return e(this.a.a(bes.c, str, null)); } public final AbstractC13163fSk e(String str, String str2, String str3, String str4, String str5, String str6) { return e(str, new BES(str2, null, null, null), str3, str4, str5, str6, null); } public final AbstractC13163fSk e(String str, IeS ieS) { if (ieS == IeS.HML) { return e(this.a.J()); } return e(this.b.a(str)); } public final AbstractC13163fSk e(String str, BES bes, String str2, String str3, String str4, String str5, String str6) { MultipartBody.Part a = C15600gy.a(str, bes.c); if (IeS.HML.name().equals(str5)) { if (this.c.f() == bTI.BUSINESS_OWNER) { return e(this.c.d(bes.c, str2, str6, bes.d, bes.e, bes.a)); } return e(this.a.a(bes.c, str2, str6)); } C15711htv c15711htv = new C15711htv(); c15711htv.b = a; c15711htv.e = C15600gy.e(bes.c); C14957gcv.e(str2, ""); c15711htv.j = RequestBody.Companion.create(str2, MediaType.Companion.parse("text/plain")); C14957gcv.e(str3, ""); c15711htv.c = RequestBody.Companion.create(str3, MediaType.Companion.parse("text/plain")); C14957gcv.e(str4, ""); c15711htv.f9165o = RequestBody.Companion.create(str4, MediaType.Companion.parse("text/plain")); if (str6 != null) { C14957gcv.e(str6, ""); c15711htv.a = RequestBody.Companion.create(str6, MediaType.Companion.parse("text/plain")); } return e(this.b.b(c15711htv)); } }