- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
72 lines
2.1 KiB
Java
72 lines
2.1 KiB
Java
package com.applovin.impl;
|
|
|
|
import com.applovin.impl.sdk.utils.JsonUtils;
|
|
import com.applovin.mediation.MaxAdFormat;
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
import org.json.JSONArray;
|
|
import org.json.JSONObject;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class a0 {
|
|
private final String a;
|
|
private final String b;
|
|
private final kr c;
|
|
private final List d;
|
|
private final List e;
|
|
private boolean f = false;
|
|
|
|
public List a() {
|
|
return this.d;
|
|
}
|
|
|
|
public String b() {
|
|
return this.b;
|
|
}
|
|
|
|
public String c() {
|
|
return this.a;
|
|
}
|
|
|
|
public kr d() {
|
|
return this.c;
|
|
}
|
|
|
|
public List e() {
|
|
return this.e;
|
|
}
|
|
|
|
public boolean f() {
|
|
return this.f;
|
|
}
|
|
|
|
public a0(JSONObject jSONObject, Map map, MaxAdFormat maxAdFormat, com.applovin.impl.sdk.j jVar) {
|
|
this.a = JsonUtils.getString(jSONObject, "name", "");
|
|
this.b = JsonUtils.getString(jSONObject, "experiment", null);
|
|
this.c = a(jSONObject);
|
|
this.d = a("bidders", jSONObject, map, maxAdFormat, jVar);
|
|
this.e = a(com.ironsource.mediationsdk.d.g, jSONObject, map, maxAdFormat, jVar);
|
|
}
|
|
|
|
private List a(String str, JSONObject jSONObject, Map map, MaxAdFormat maxAdFormat, com.applovin.impl.sdk.j jVar) {
|
|
ke keVar;
|
|
ArrayList arrayList = new ArrayList();
|
|
JSONArray jSONArray = JsonUtils.getJSONArray(jSONObject, str, new JSONArray());
|
|
for (int i = 0; i < jSONArray.length(); i++) {
|
|
JSONObject jSONObject2 = JsonUtils.getJSONObject(jSONArray, i, (JSONObject) null);
|
|
if (jSONObject2 != null && (keVar = (ke) map.get(JsonUtils.getString(jSONObject2, "adapter_class", ""))) != null) {
|
|
if (keVar.B()) {
|
|
this.f = true;
|
|
}
|
|
arrayList.add(new ir(jSONObject2, maxAdFormat, keVar, jVar));
|
|
}
|
|
}
|
|
return arrayList;
|
|
}
|
|
|
|
private kr a(JSONObject jSONObject) {
|
|
return new kr(JsonUtils.getJSONObject(jSONObject, "targeting"));
|
|
}
|
|
}
|