- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
59 lines
1.7 KiB
Java
59 lines
1.7 KiB
Java
package com.ironsource;
|
|
|
|
import com.ironsource.mediationsdk.logger.IronLog;
|
|
import java.util.ArrayList;
|
|
import java.util.Iterator;
|
|
import org.json.JSONArray;
|
|
import org.json.JSONException;
|
|
import org.json.JSONObject;
|
|
|
|
/* loaded from: classes2.dex */
|
|
class gj extends e {
|
|
private final String i = "https://o-sdk.mediation.unity3d.com/mediation?adUnit=2";
|
|
private final String j = "super.dwh.mediation_events";
|
|
private final String k = nb.Q;
|
|
private final String l = "data";
|
|
|
|
public gj(int i) {
|
|
this.g = i;
|
|
}
|
|
|
|
@Override // com.ironsource.e
|
|
public String a() {
|
|
return "https://o-sdk.mediation.unity3d.com/mediation?adUnit=2";
|
|
}
|
|
|
|
@Override // com.ironsource.e
|
|
public String a(ArrayList<kb> arrayList, JSONObject jSONObject) {
|
|
JSONObject jSONObject2 = new JSONObject();
|
|
if (jSONObject == null) {
|
|
jSONObject = new JSONObject();
|
|
}
|
|
this.f = jSONObject;
|
|
try {
|
|
JSONArray jSONArray = new JSONArray();
|
|
if (arrayList != null && !arrayList.isEmpty()) {
|
|
Iterator<kb> it = arrayList.iterator();
|
|
while (it.hasNext()) {
|
|
JSONObject a = a(it.next());
|
|
if (a != null) {
|
|
jSONArray.put(a);
|
|
}
|
|
}
|
|
}
|
|
jSONObject2.put(nb.Q, "super.dwh.mediation_events");
|
|
jSONObject2.put("data", a(jSONArray));
|
|
return jSONObject2.toString();
|
|
} catch (JSONException e) {
|
|
i9.d().a(e);
|
|
IronLog.INTERNAL.error(e.toString());
|
|
return "";
|
|
}
|
|
}
|
|
|
|
@Override // com.ironsource.e
|
|
public String c() {
|
|
return "ironbeast";
|
|
}
|
|
}
|