99 lines
3.6 KiB
Java
99 lines
3.6 KiB
Java
package o;
|
|
|
|
import java.util.Iterator;
|
|
import java.util.List;
|
|
import java.util.Locale;
|
|
import o.NL;
|
|
import o.Unc;
|
|
|
|
/* renamed from: o.tM, reason: case insensitive filesystem */
|
|
/* loaded from: classes3.dex */
|
|
public final class C17021tM {
|
|
private final C17106tw a;
|
|
private final C17027tO b;
|
|
private final C16690qQ c;
|
|
private final C17014tH d;
|
|
private final C16548pI e;
|
|
private final C16169lr j;
|
|
|
|
@InterfaceC13391fZD
|
|
public C17021tM(C17027tO c17027tO, C16169lr c16169lr, C17106tw c17106tw, C17014tH c17014tH, C16548pI c16548pI, C16690qQ c16690qQ) {
|
|
C14957gcv.e(c17027tO, "");
|
|
C14957gcv.e(c16169lr, "");
|
|
C14957gcv.e(c17106tw, "");
|
|
C14957gcv.e(c17014tH, "");
|
|
C14957gcv.e(c16548pI, "");
|
|
C14957gcv.e(c16690qQ, "");
|
|
this.b = c17027tO;
|
|
this.j = c16169lr;
|
|
this.a = c17106tw;
|
|
this.d = c17014tH;
|
|
this.e = c16548pI;
|
|
this.c = c16690qQ;
|
|
}
|
|
|
|
public final NL a(Unc unc, List<C1259ZbO> list, boolean z, String str, boolean z2) {
|
|
String str2;
|
|
String str3;
|
|
Object obj;
|
|
Urh<String> urh;
|
|
String str4;
|
|
C14957gcv.e(unc, "");
|
|
C14957gcv.e(list, "");
|
|
C14957gcv.e(str, "");
|
|
NO c = this.b.c(unc.h);
|
|
if (C14957gcv.b(new Locale("th"), bBI.qs_(this.j.c.getConfiguration()).c(0))) {
|
|
str2 = unc.d.k;
|
|
} else {
|
|
str2 = unc.d.j;
|
|
}
|
|
String str5 = str2;
|
|
if (C14957gcv.b(new Locale("th"), bBI.qs_(this.j.c.getConfiguration()).c(0)) || z || (str3 = unc.d.d) == null) {
|
|
str3 = unc.d.l;
|
|
}
|
|
String str6 = str3;
|
|
String str7 = unc.d.d;
|
|
C17106tw c17106tw = this.a;
|
|
oPA opa = unc.d;
|
|
int i = unc.g;
|
|
C14957gcv.e(opa, "");
|
|
String str8 = opa.f9230o;
|
|
String str9 = opa.a;
|
|
String b = C14881gav.b(opa.f, "\n", null, null, 0, null, null, 62);
|
|
List<String> list2 = opa.h;
|
|
String b2 = list2 != null ? C14881gav.b(list2, "\n", null, null, 0, null, null, 62) : null;
|
|
C16171ls c16171ls = c17106tw.d;
|
|
Double valueOf = Double.valueOf(opa.i);
|
|
String format = C6583cXR.c().format(valueOf != null ? valueOf.doubleValue() : 0.0d);
|
|
C14957gcv.c((Object) format, "");
|
|
boolean z3 = i > 0;
|
|
String str10 = opa.g;
|
|
String str11 = opa.m;
|
|
String str12 = opa.e;
|
|
C0725Nb d = c17106tw.d(opa.b);
|
|
String VL_ = cXG.VL_(c17106tw.a, "dd MMM yyyy", opa.c);
|
|
C14957gcv.c((Object) VL_, "");
|
|
C0735Ni c0735Ni = new C0735Ni(str8, VL_, str9, b, b2, format, String.valueOf(i), z3, str10, str11, str12, d);
|
|
C17014tH c17014tH = this.d;
|
|
BCM bcm = unc.a;
|
|
C14957gcv.e(bcm, "");
|
|
C14957gcv.e(list, "");
|
|
String str13 = bcm.a;
|
|
Iterator<T> it = list.iterator();
|
|
while (true) {
|
|
if (!it.hasNext()) {
|
|
obj = null;
|
|
break;
|
|
}
|
|
obj = it.next();
|
|
if (gdZ.a(((C1259ZbO) obj).d, bcm.b, true)) {
|
|
break;
|
|
}
|
|
}
|
|
C1259ZbO c1259ZbO = (C1259ZbO) obj;
|
|
C0754Nv c0754Nv = new C0754Nv(str13, (c1259ZbO == null || (urh = c1259ZbO.b) == null || (str4 = (String) c17014tH.d.d(urh)) == null) ? "" : str4, bcm.c, C14881gav.b(bcm.j, "\n", null, null, 0, null, null, 62), bcm.e, String.valueOf(bcm.d.b), String.valueOf(bcm.d.e));
|
|
Unc.Sts sts = unc.e;
|
|
return new NL(str, c, str5, str6, str7, c0735Ni, c0754Nv, sts != null ? new NL.LWm(sts.b, C16548pI.e(sts.a, z2)) : null, C16690qQ.c(unc.c));
|
|
}
|
|
}
|