- 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
185 lines
5.7 KiB
Java
185 lines
5.7 KiB
Java
package com.ironsource;
|
|
|
|
import com.ironsource.c7;
|
|
import com.ironsource.ks;
|
|
import com.ironsource.mediationsdk.ISBannerSize;
|
|
import com.ironsource.mediationsdk.IronSource;
|
|
import com.ironsource.mediationsdk.model.Placement;
|
|
import com.ironsource.uc;
|
|
import com.ironsource.x1;
|
|
import com.unity3d.mediation.LevelPlay;
|
|
import com.unity3d.mediation.LevelPlayAdSize;
|
|
import java.util.Map;
|
|
import java.util.concurrent.TimeUnit;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public class k1 extends ok {
|
|
private final IronSource.AD_UNIT b;
|
|
private final ks.b c;
|
|
private final lb d;
|
|
private final ig e;
|
|
private final long f;
|
|
|
|
public static final class a {
|
|
public static final a a = new a();
|
|
|
|
private a() {
|
|
}
|
|
|
|
public static final k1 a(IronSource.AD_UNIT adFormat, x1.b level) {
|
|
Intrinsics.checkNotNullParameter(adFormat, "adFormat");
|
|
Intrinsics.checkNotNullParameter(level, "level");
|
|
return new k1(adFormat, level);
|
|
}
|
|
}
|
|
|
|
public k1(k1 adTools, x1.b level) {
|
|
Intrinsics.checkNotNullParameter(adTools, "adTools");
|
|
Intrinsics.checkNotNullParameter(level, "level");
|
|
this.e = el.p.d().r();
|
|
this.f = TimeUnit.HOURS.toMillis(1L);
|
|
IronSource.AD_UNIT ad_unit = adTools.b;
|
|
this.b = ad_unit;
|
|
this.c = adTools.c;
|
|
this.d = new lb(ad_unit, level, adTools.d.c(), null, 8, null);
|
|
}
|
|
|
|
public k1(IronSource.AD_UNIT adFormat, x1.b level) {
|
|
Intrinsics.checkNotNullParameter(adFormat, "adFormat");
|
|
Intrinsics.checkNotNullParameter(level, "level");
|
|
this.e = el.p.d().r();
|
|
this.f = TimeUnit.HOURS.toMillis(1L);
|
|
this.b = adFormat;
|
|
this.d = new lb(adFormat, level, null, null, 12, null);
|
|
ks.b a2 = ks.a(adFormat);
|
|
Intrinsics.checkNotNullExpressionValue(a2, "createLogFactory(adFormat)");
|
|
this.c = a2;
|
|
}
|
|
|
|
public static /* synthetic */ String a(k1 k1Var, String str, String str2, int i, Object obj) {
|
|
if (obj != null) {
|
|
throw new UnsupportedOperationException("Super calls with default arguments not supported in this target, function: createLogMessage");
|
|
}
|
|
if ((i & 1) != 0) {
|
|
str = null;
|
|
}
|
|
if ((i & 2) != 0) {
|
|
str2 = null;
|
|
}
|
|
return k1Var.a(str, str2);
|
|
}
|
|
|
|
public final ISBannerSize a(LevelPlayAdSize adSize) {
|
|
Intrinsics.checkNotNullParameter(adSize, "adSize");
|
|
return new h1().b(adSize);
|
|
}
|
|
|
|
public final Placement a(String placementName) {
|
|
Intrinsics.checkNotNullParameter(placementName, "placementName");
|
|
ak a2 = this.e.a();
|
|
if (a2 == null) {
|
|
throw new IllegalStateException("Error getting sdk configurations");
|
|
}
|
|
Placement a3 = a2.a(LevelPlay.AdFormat.BANNER, placementName);
|
|
if (a3 != null) {
|
|
return a3;
|
|
}
|
|
throw new IllegalStateException("Error getting placement");
|
|
}
|
|
|
|
public final String a(String str, String str2) {
|
|
String a2 = this.c.a(str, str2);
|
|
Intrinsics.checkNotNullExpressionValue(a2, "logFactory.createLogMessage(message, suffix)");
|
|
return a2;
|
|
}
|
|
|
|
public final void a(Map<String, Object> data, ISBannerSize size) {
|
|
Intrinsics.checkNotNullParameter(data, "data");
|
|
Intrinsics.checkNotNullParameter(size, "size");
|
|
com.ironsource.mediationsdk.l.a(data, size);
|
|
}
|
|
|
|
public final c7.b b(String adUnitId) {
|
|
Intrinsics.checkNotNullParameter(adUnitId, "adUnitId");
|
|
ak a2 = this.e.a();
|
|
if (a2 != null) {
|
|
return a2.a(adUnitId);
|
|
}
|
|
throw new IllegalStateException("Error getting sdk configurations");
|
|
}
|
|
|
|
public final com.ironsource.lifecycle.b b() {
|
|
com.ironsource.lifecycle.b d = com.ironsource.lifecycle.b.d();
|
|
Intrinsics.checkNotNullExpressionValue(d, "getInstance()");
|
|
return d;
|
|
}
|
|
|
|
public final uc.a c(String adUnitId) {
|
|
Intrinsics.checkNotNullParameter(adUnitId, "adUnitId");
|
|
ak a2 = this.e.a();
|
|
if (a2 != null) {
|
|
return a2.b(adUnitId);
|
|
}
|
|
throw new IllegalStateException("Error getting sdk configurations");
|
|
}
|
|
|
|
public final String c() {
|
|
return a(this, (String) null, (String) null, 3, (Object) null);
|
|
}
|
|
|
|
public final IronSource.AD_UNIT d() {
|
|
return this.b;
|
|
}
|
|
|
|
public final Placement d(String str) {
|
|
ak a2;
|
|
if (str == null || (a2 = this.e.a()) == null) {
|
|
return null;
|
|
}
|
|
return a2.a(LevelPlay.AdFormat.INTERSTITIAL, str);
|
|
}
|
|
|
|
public final lb e() {
|
|
return this.d;
|
|
}
|
|
|
|
public final String e(String str) {
|
|
return a(this, str, (String) null, 2, (Object) null);
|
|
}
|
|
|
|
public final long f() {
|
|
ak a2 = this.e.a();
|
|
return a2 != null ? a2.i() : this.f;
|
|
}
|
|
|
|
public final Placement f(String placementName) {
|
|
Intrinsics.checkNotNullParameter(placementName, "placementName");
|
|
ak a2 = this.e.a();
|
|
if (a2 == null) {
|
|
throw new IllegalStateException("Error getting sdk configurations");
|
|
}
|
|
Placement a3 = a2.a(LevelPlay.AdFormat.NATIVE_AD, placementName);
|
|
if (a3 != null) {
|
|
return a3;
|
|
}
|
|
throw new IllegalStateException("Error getting sdk configurations");
|
|
}
|
|
|
|
public final int g() {
|
|
return el.p.d().k().a(this.b);
|
|
}
|
|
|
|
public final Placement g(String str) {
|
|
ak a2 = this.e.a();
|
|
if (a2 != null) {
|
|
return a2.a(LevelPlay.AdFormat.REWARDED, str);
|
|
}
|
|
throw new IllegalStateException("Error getting sdk configurations");
|
|
}
|
|
|
|
public final boolean h() {
|
|
return el.p.d().r().c();
|
|
}
|
|
}
|