- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
240 lines
8.3 KiB
Java
240 lines
8.3 KiB
Java
package com.ironsource;
|
|
|
|
import com.ironsource.mediationsdk.adunit.adapter.utility.AdData;
|
|
import com.ironsource.mediationsdk.model.NetworkSettings;
|
|
import com.ironsource.mediationsdk.model.Placement;
|
|
import com.ironsource.mediationsdk.utils.IronSourceUtils;
|
|
import java.util.ArrayList;
|
|
import java.util.Iterator;
|
|
import java.util.List;
|
|
import java.util.Locale;
|
|
import kotlin.collections.CollectionsKt__CollectionsKt;
|
|
import kotlin.collections.CollectionsKt__IterablesKt;
|
|
import kotlin.jvm.functions.Function1;
|
|
import kotlin.jvm.functions.Function2;
|
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
import kotlin.jvm.internal.SourceDebugExtension;
|
|
import org.json.JSONObject;
|
|
|
|
@SourceDebugExtension({"SMAP\nAdUnitData.kt\nKotlin\n*S Kotlin\n*F\n+ 1 AdUnitData.kt\ncom/unity3d/mediation/internal/ads/controllers/adunits/data/AdUnitData\n+ 2 _Collections.kt\nkotlin/collections/CollectionsKt___CollectionsKt\n*L\n1#1,93:1\n288#2,2:94\n*S KotlinDebug\n*F\n+ 1 AdUnitData.kt\ncom/unity3d/mediation/internal/ads/controllers/adunits/data/AdUnitData\n*L\n68#1:94,2\n*E\n"})
|
|
/* loaded from: classes2.dex */
|
|
public abstract class s1 {
|
|
public static final a s = new a(null);
|
|
public static final int t = -1;
|
|
private final b1 a;
|
|
private final boolean b;
|
|
private final String c;
|
|
private final List<NetworkSettings> d;
|
|
private final lj e;
|
|
private final h5 f;
|
|
private int g;
|
|
private final int h;
|
|
private boolean i;
|
|
private final int j;
|
|
private final int k;
|
|
private final g2 l;
|
|
private final boolean m;
|
|
private final long n;
|
|
private final boolean o;
|
|
private final boolean p;
|
|
private final boolean q;
|
|
private boolean r;
|
|
|
|
@SourceDebugExtension({"SMAP\nAdUnitData.kt\nKotlin\n*S Kotlin\n*F\n+ 1 AdUnitData.kt\ncom/unity3d/mediation/internal/ads/controllers/adunits/data/AdUnitData$Companion\n+ 2 _Collections.kt\nkotlin/collections/CollectionsKt___CollectionsKt\n*L\n1#1,93:1\n1549#2:94\n1620#2,3:95\n*S KotlinDebug\n*F\n+ 1 AdUnitData.kt\ncom/unity3d/mediation/internal/ads/controllers/adunits/data/AdUnitData$Companion\n*L\n56#1:94\n56#1:95,3\n*E\n"})
|
|
public static final class a {
|
|
private a() {
|
|
}
|
|
|
|
public /* synthetic */ a(DefaultConstructorMarker defaultConstructorMarker) {
|
|
this();
|
|
}
|
|
|
|
public final <AdFormatConfig, AdUnitData> AdUnitData a(b1 adProperties, ak akVar, Function1 getAdFormatConfig, Function2 createAdUnitData) {
|
|
List<rm> emptyList;
|
|
cr d;
|
|
Intrinsics.checkNotNullParameter(adProperties, "adProperties");
|
|
Intrinsics.checkNotNullParameter(getAdFormatConfig, "getAdFormatConfig");
|
|
Intrinsics.checkNotNullParameter(createAdUnitData, "createAdUnitData");
|
|
Object invoke = getAdFormatConfig.invoke((akVar == null || (d = akVar.d()) == null) ? null : d.c());
|
|
if (invoke == null) {
|
|
throw new IllegalStateException("Error getting " + adProperties.a() + " configurations");
|
|
}
|
|
if (akVar == null || (emptyList = akVar.b(adProperties.c(), adProperties.b())) == null) {
|
|
emptyList = CollectionsKt__CollectionsKt.emptyList();
|
|
}
|
|
String userIdForNetworks = IronSourceUtils.getUserIdForNetworks();
|
|
List<rm> list = emptyList;
|
|
ArrayList arrayList = new ArrayList(CollectionsKt__IterablesKt.collectionSizeOrDefault(list, 10));
|
|
Iterator<T> it = list.iterator();
|
|
while (it.hasNext()) {
|
|
arrayList.add(((rm) it.next()).f());
|
|
}
|
|
lj b = lj.b();
|
|
Intrinsics.checkNotNullExpressionValue(b, "getInstance()");
|
|
return (AdUnitData) createAdUnitData.invoke(new r1(userIdForNetworks, arrayList, b), invoke);
|
|
}
|
|
}
|
|
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
public s1(b1 adProperties, boolean z, String str, List<? extends NetworkSettings> providerList, lj publisherDataHolder, h5 auctionSettings, int i, int i2, boolean z2, int i3, int i4, g2 loadingData, boolean z3, long j, boolean z4, boolean z5, boolean z6, boolean z7) {
|
|
Intrinsics.checkNotNullParameter(adProperties, "adProperties");
|
|
Intrinsics.checkNotNullParameter(providerList, "providerList");
|
|
Intrinsics.checkNotNullParameter(publisherDataHolder, "publisherDataHolder");
|
|
Intrinsics.checkNotNullParameter(auctionSettings, "auctionSettings");
|
|
Intrinsics.checkNotNullParameter(loadingData, "loadingData");
|
|
this.a = adProperties;
|
|
this.b = z;
|
|
this.c = str;
|
|
this.d = providerList;
|
|
this.e = publisherDataHolder;
|
|
this.f = auctionSettings;
|
|
this.g = i;
|
|
this.h = i2;
|
|
this.i = z2;
|
|
this.j = i3;
|
|
this.k = i4;
|
|
this.l = loadingData;
|
|
this.m = z3;
|
|
this.n = j;
|
|
this.o = z4;
|
|
this.p = z5;
|
|
this.q = z6;
|
|
this.r = z7;
|
|
}
|
|
|
|
public /* synthetic */ s1(b1 b1Var, boolean z, String str, List list, lj ljVar, h5 h5Var, int i, int i2, boolean z2, int i3, int i4, g2 g2Var, boolean z3, long j, boolean z4, boolean z5, boolean z6, boolean z7, int i5, DefaultConstructorMarker defaultConstructorMarker) {
|
|
this(b1Var, z, str, list, ljVar, h5Var, i, i2, z2, i3, i4, g2Var, z3, j, z4, z5, z6, (i5 & 131072) != 0 ? false : z7);
|
|
}
|
|
|
|
public final int a() {
|
|
return this.k;
|
|
}
|
|
|
|
public AdData a(NetworkSettings providerSettings) {
|
|
Intrinsics.checkNotNullParameter(providerSettings, "providerSettings");
|
|
AdData createAdDataForNetworkAdapter = AdData.createAdDataForNetworkAdapter(b(providerSettings), b().a(), this.c);
|
|
Intrinsics.checkNotNullExpressionValue(createAdDataForNetworkAdapter, "createAdDataForNetworkAd…perties.adFormat, userId)");
|
|
return createAdDataForNetworkAdapter;
|
|
}
|
|
|
|
public final NetworkSettings a(String instanceName) {
|
|
Object obj;
|
|
Intrinsics.checkNotNullParameter(instanceName, "instanceName");
|
|
Iterator<T> it = this.d.iterator();
|
|
while (true) {
|
|
if (!it.hasNext()) {
|
|
obj = null;
|
|
break;
|
|
}
|
|
obj = it.next();
|
|
if (((NetworkSettings) obj).getProviderInstanceName().equals(instanceName)) {
|
|
break;
|
|
}
|
|
}
|
|
return (NetworkSettings) obj;
|
|
}
|
|
|
|
public final void a(int i) {
|
|
this.g = i;
|
|
}
|
|
|
|
public final void a(boolean z) {
|
|
this.i = z;
|
|
}
|
|
|
|
public b1 b() {
|
|
return this.a;
|
|
}
|
|
|
|
public abstract JSONObject b(NetworkSettings networkSettings);
|
|
|
|
public final void b(boolean z) {
|
|
this.r = z;
|
|
}
|
|
|
|
public abstract String c();
|
|
|
|
public final boolean d() {
|
|
return this.i;
|
|
}
|
|
|
|
public final h5 e() {
|
|
return this.f;
|
|
}
|
|
|
|
public final boolean f() {
|
|
return this.m;
|
|
}
|
|
|
|
public final long g() {
|
|
return this.n;
|
|
}
|
|
|
|
public final int h() {
|
|
return this.j;
|
|
}
|
|
|
|
public final int i() {
|
|
return this.h;
|
|
}
|
|
|
|
public final g2 j() {
|
|
return this.l;
|
|
}
|
|
|
|
public abstract String k();
|
|
|
|
public final int l() {
|
|
return this.g;
|
|
}
|
|
|
|
public final String m() {
|
|
String placementName;
|
|
Placement e = b().e();
|
|
return (e == null || (placementName = e.getPlacementName()) == null) ? "" : placementName;
|
|
}
|
|
|
|
public final List<NetworkSettings> n() {
|
|
return this.d;
|
|
}
|
|
|
|
public final boolean o() {
|
|
return this.o;
|
|
}
|
|
|
|
public final lj p() {
|
|
return this.e;
|
|
}
|
|
|
|
public final boolean q() {
|
|
return this.q;
|
|
}
|
|
|
|
public final boolean r() {
|
|
return this.r;
|
|
}
|
|
|
|
public final String s() {
|
|
return this.c;
|
|
}
|
|
|
|
public final boolean t() {
|
|
return this.p;
|
|
}
|
|
|
|
public final boolean u() {
|
|
return this.f.g() > 0;
|
|
}
|
|
|
|
public boolean v() {
|
|
return this.b;
|
|
}
|
|
|
|
public final String w() {
|
|
String format = String.format(Locale.getDefault(), "%s: %d, %s: %b, %s: %b", com.ironsource.mediationsdk.d.w, Integer.valueOf(this.g), com.ironsource.mediationsdk.d.x, Boolean.valueOf(this.i), com.ironsource.mediationsdk.d.y, Boolean.valueOf(this.r));
|
|
Intrinsics.checkNotNullExpressionValue(format, "format(\n Locale… showPriorityEnabled)");
|
|
return format;
|
|
}
|
|
}
|