X-plore v4.37.09版本的 MD5 值为:1ac588cd7c13e9578c2d4266387e2f4f
以下内容为反编译后的 d.java 源代码,内容仅作参考
package M6;
import M6.l;
import android.net.Uri;
import com.google.firebase.remoteconfig.lE.mDiYYP;
import h7.AbstractC6725n;
import h7.InterfaceC6723l;
import i7.S;
import java.net.URL;
import java.util.HashMap;
import java.util.Locale;
import java.util.Map;
import org.json.JSONArray;
import org.json.JSONObject;
import v7.InterfaceC7625a;
import w7.AbstractC7780t;
import w7.AbstractC7781u;
public final class d {
public static final d f7448a = new d();
private static final InterfaceC6723l f7449b;
public static final int f7450c;
static final class a extends AbstractC7781u implements InterfaceC7625a {
public static final a f7451b = new a();
a() {
super(0);
}
@Override
public final Map c() {
Map h9;
String uri = Uri.parse("https://login.microsoftonline.com/common/discovery/instance").buildUpon().appendQueryParameter("api-version", "1.1").appendQueryParameter("authorization_endpoint", "https://login.microsoftonline.com/common/oauth2/v2.0/authorize").build().toString();
AbstractC7780t.e(uri, "toString(...)");
l.b b9 = new l(uri, "GET", null, null).b();
if (b9.b() >= 300) {
h9 = S.h();
return h9;
}
JSONObject jSONObject = new JSONObject(b9.a());
HashMap hashMap = new HashMap();
JSONArray jSONArray = jSONObject.getJSONArray("metadata");
AbstractC7780t.e(jSONArray, "getJSONArray(...)");
int length = jSONArray.length();
for (int i9 = 0; i9 < length; i9++) {
JSONObject jSONObject2 = (JSONObject) jSONArray.get(i9);
String string = jSONObject2.getString("preferred_network");
JSONArray jSONArray2 = jSONObject2.getJSONArray("aliases");
AbstractC7780t.e(jSONArray2, "getJSONArray(...)");
int length2 = jSONArray2.length();
for (int i10 = 0; i10 < length2; i10++) {
String lowerCase = ((String) jSONArray2.get(i10)).toLowerCase(Locale.ROOT);
AbstractC7780t.e(lowerCase, mDiYYP.LCMsrdMaZLTVYhn);
AbstractC7780t.c(string);
hashMap.put(lowerCase, string);
}
}
return hashMap;
}
}
static {
InterfaceC6723l b9;
b9 = AbstractC6725n.b(a.f7451b);
f7449b = b9;
f7450c = 8;
}
private d() {
}
private final Map a() {
return (Map) f7449b.getValue();
}
public final String b(URL url) {
AbstractC7780t.f(url, "authorityUrl");
return (String) a().get(url.getHost());
}
}