MD5 校验值:8005b9444b02324a81f85f1ef7e26f28
g.java 文件包含反编译后的源代码,请注意,该内容仅供学习和参考使用,不得用于非法用途。
package w2; import android.text.TextUtils; import b8.d0; import b8.t; import com.firebase.ui.auth.a; import com.google.firebase.auth.FirebaseAuth; import d5.o; import g6.i; import g6.l; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import u5.ih; import u5.th; public final class g { public class a implements g6.a<d0, i<List<String>>> { public final p2.c f23334s; public a(p2.c cVar) { this.f23334s = cVar; } public static void b(String str, ArrayList arrayList, boolean z10) { if (arrayList.remove(str)) { if (z10) { arrayList.add(0, str); } else { arrayList.add(str); } } } @Override public final i<List<String>> a(i<d0> iVar) throws Exception { List<String> a10 = iVar.m().a(); if (a10 == null) { a10 = new ArrayList<>(); } ArrayList arrayList = new ArrayList(this.f23334s.f20212t.size()); Iterator<a.C0043a> it = this.f23334s.f20212t.iterator(); while (it.hasNext()) { arrayList.add(it.next().f3086s); } ArrayList arrayList2 = new ArrayList(a10.size()); Iterator<String> it2 = a10.iterator(); while (it2.hasNext()) { String f10 = g.f(it2.next()); if (arrayList.contains(f10)) { arrayList2.add(0, f10); } } if (arrayList.contains("emailLink") && a10.contains("password") && !a10.contains("emailLink")) { arrayList2.add(0, g.f("emailLink")); } if (iVar.q() && arrayList2.isEmpty() && !a10.isEmpty()) { return l.d(new o2.f(3)); } b("password", arrayList2, true); b("google.com", arrayList2, true); b("emailLink", arrayList2, false); return l.e(arrayList2); } } public static i<List<String>> a(FirebaseAuth firebaseAuth, p2.c cVar, String str) { if (TextUtils.isEmpty(str)) { return l.d(new NullPointerException("Email cannot be empty")); } firebaseAuth.getClass(); o.e(str); th thVar = firebaseAuth.f3820e; t7.e eVar = firebaseAuth.f3816a; String str2 = firebaseAuth.f3825k; thVar.getClass(); ih ihVar = new ih(str, str2); ihVar.e(eVar); return thVar.a(ihVar).j(new a(cVar)); } public static b8.c b(o2.h hVar) { boolean z10; b8.c cVar = hVar.f19675t; if (cVar != null) { z10 = true; } else { z10 = false; } if (z10) { return cVar; } String e10 = hVar.e(); e10.getClass(); if (!e10.equals("google.com")) { if (!e10.equals("facebook.com")) { return null; } return new b8.f(hVar.f19676u); } return new t(hVar.f19676u, null); } public static a.C0043a c(String str, List list) { Iterator it = list.iterator(); while (it.hasNext()) { a.C0043a c0043a = (a.C0043a) it.next(); if (c0043a.f3086s.equals(str)) { return c0043a; } } return null; } public static a.C0043a d(String str, List list) { a.C0043a c10 = c(str, list); if (c10 != null) { return c10; } throw new IllegalStateException(e5.b.c("Provider ", str, " not found.")); } public static String e(String str) { char c10; switch (str.hashCode()) { case -1830313082: if (str.equals("twitter.com")) { c10 = 2; break; } c10 = 65535; break; case -1536293812: if (str.equals("google.com")) { c10 = 0; break; } c10 = 65535; break; case -364826023: if (str.equals("facebook.com")) { c10 = 1; break; } c10 = 65535; break; case 106642798: if (str.equals("phone")) { c10 = 4; break; } c10 = 65535; break; case 1216985755: if (str.equals("password")) { c10 = 5; break; } c10 = 65535; break; case 1985010934: if (str.equals("github.com")) { c10 = 3; break; } c10 = 65535; break; default: c10 = 65535; break; } if (c10 == 0) { return "https://accounts.google.com"; } if (c10 == 1) { return "https://www.facebook.com"; } if (c10 == 2) { return "https://twitter.com"; } if (c10 == 3) { return "https://github.com"; } if (c10 != 4) { return null; } return "https://phone.firebase"; } public static String f(String str) { str.getClass(); char c10 = 65535; switch (str.hashCode()) { case -1830313082: if (str.equals("twitter.com")) { c10 = 0; break; } break; case -1536293812: if (str.equals("google.com")) { c10 = 1; break; } break; case -364826023: if (str.equals("facebook.com")) { c10 = 2; break; } break; case 106642798: if (str.equals("phone")) { c10 = 3; break; } break; case 1216985755: if (str.equals("password")) { c10 = 4; break; } break; case 1985010934: if (str.equals("github.com")) { c10 = 5; break; } break; case 2120171958: if (str.equals("emailLink")) { c10 = 6; break; } break; } switch (c10) { case 0: return "twitter.com"; case 1: return "google.com"; case 2: return "facebook.com"; case 3: return "phone"; case 4: return "password"; case 5: return "github.com"; case 6: return "emailLink"; default: return str; } } }