- 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
264 lines
7.2 KiB
Java
264 lines
7.2 KiB
Java
package com.ironsource;
|
|
|
|
import com.ironsource.c7;
|
|
import com.ironsource.mediationsdk.logger.IronLog;
|
|
import com.ironsource.mediationsdk.logger.IronSourceError;
|
|
import java.util.List;
|
|
import kotlin.Unit;
|
|
import kotlin.collections.ArraysKt___ArraysKt;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class lt extends c7 implements f2 {
|
|
private final k1 d;
|
|
private final p6 e;
|
|
private final d7 f;
|
|
private final g6 g;
|
|
private tt h;
|
|
private final p3 i;
|
|
private final gu j;
|
|
private final cl k;
|
|
private a l;
|
|
private a m;
|
|
private boolean n;
|
|
private boolean o;
|
|
private p1 p;
|
|
private IronSourceError q;
|
|
|
|
public final class a {
|
|
private final e6 a;
|
|
public p1 b;
|
|
private boolean c;
|
|
final /* synthetic */ lt d;
|
|
|
|
public a(lt ltVar, g6 bannerAdUnitFactory, boolean z) {
|
|
Intrinsics.checkNotNullParameter(bannerAdUnitFactory, "bannerAdUnitFactory");
|
|
this.d = ltVar;
|
|
this.a = bannerAdUnitFactory.a(z);
|
|
this.c = true;
|
|
}
|
|
|
|
public final void a() {
|
|
this.a.d();
|
|
}
|
|
|
|
public final void a(p1 p1Var) {
|
|
Intrinsics.checkNotNullParameter(p1Var, "<set-?>");
|
|
this.b = p1Var;
|
|
}
|
|
|
|
public final void a(boolean z) {
|
|
this.c = z;
|
|
}
|
|
|
|
public final p1 b() {
|
|
p1 p1Var = this.b;
|
|
if (p1Var != null) {
|
|
return p1Var;
|
|
}
|
|
Intrinsics.throwUninitializedPropertyAccessException("adUnitCallback");
|
|
return null;
|
|
}
|
|
|
|
public final e6 c() {
|
|
return this.a;
|
|
}
|
|
|
|
public final boolean d() {
|
|
return this.c;
|
|
}
|
|
|
|
public final boolean e() {
|
|
return this.a.e().a();
|
|
}
|
|
|
|
public final void f() {
|
|
this.a.a(this.d);
|
|
}
|
|
}
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
public lt(k1 adTools, p6 bannerContainer, c7.b config, c6 bannerAdProperties, d7 bannerStrategyListener, g6 bannerAdUnitFactory) {
|
|
super(config, bannerAdProperties);
|
|
Intrinsics.checkNotNullParameter(adTools, "adTools");
|
|
Intrinsics.checkNotNullParameter(bannerContainer, "bannerContainer");
|
|
Intrinsics.checkNotNullParameter(config, "config");
|
|
Intrinsics.checkNotNullParameter(bannerAdProperties, "bannerAdProperties");
|
|
Intrinsics.checkNotNullParameter(bannerStrategyListener, "bannerStrategyListener");
|
|
Intrinsics.checkNotNullParameter(bannerAdUnitFactory, "bannerAdUnitFactory");
|
|
this.d = adTools;
|
|
this.e = bannerContainer;
|
|
this.f = bannerStrategyListener;
|
|
this.g = bannerAdUnitFactory;
|
|
IronLog.INTERNAL.verbose(k1.a(adTools, "refresh interval: " + b() + ", auto refresh: " + c(), (String) null, 2, (Object) null));
|
|
this.i = new p3(adTools.b());
|
|
this.j = new gu(bannerContainer);
|
|
this.k = new cl(c() ^ true);
|
|
this.m = new a(this, bannerAdUnitFactory, true);
|
|
this.o = true;
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public static final void a(lt this$0) {
|
|
Intrinsics.checkNotNullParameter(this$0, "this$0");
|
|
this$0.n = true;
|
|
if (this$0.m.e()) {
|
|
this$0.j();
|
|
return;
|
|
}
|
|
this$0.i();
|
|
if (this$0.m.d()) {
|
|
return;
|
|
}
|
|
this$0.g();
|
|
this$0.a(this$0.i, this$0.k);
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public static final void a(final lt this$0, xn[] triggers) {
|
|
List list;
|
|
Intrinsics.checkNotNullParameter(this$0, "this$0");
|
|
Intrinsics.checkNotNullParameter(triggers, "$triggers");
|
|
this$0.n = false;
|
|
tt ttVar = this$0.h;
|
|
if (ttVar != null) {
|
|
ttVar.c();
|
|
}
|
|
k1 k1Var = this$0.d;
|
|
Runnable runnable = new Runnable() { // from class: com.ironsource.lt$$ExternalSyntheticLambda1
|
|
@Override // java.lang.Runnable
|
|
public final void run() {
|
|
lt.b(lt.this);
|
|
}
|
|
};
|
|
long b = this$0.b();
|
|
list = ArraysKt___ArraysKt.toList(triggers);
|
|
this$0.h = new tt(k1Var, runnable, b, list);
|
|
}
|
|
|
|
private final void a(final xn... xnVarArr) {
|
|
this.d.c(new Runnable() { // from class: com.ironsource.lt$$ExternalSyntheticLambda0
|
|
@Override // java.lang.Runnable
|
|
public final void run() {
|
|
lt.a(lt.this, xnVarArr);
|
|
}
|
|
});
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public static final void b(lt this$0) {
|
|
Intrinsics.checkNotNullParameter(this$0, "this$0");
|
|
this$0.h();
|
|
}
|
|
|
|
private final void g() {
|
|
if (c()) {
|
|
a aVar = new a(this, this.g, false);
|
|
this.m = aVar;
|
|
aVar.f();
|
|
}
|
|
}
|
|
|
|
private final void h() {
|
|
this.d.a(new Runnable() { // from class: com.ironsource.lt$$ExternalSyntheticLambda2
|
|
@Override // java.lang.Runnable
|
|
public final void run() {
|
|
lt.a(lt.this);
|
|
}
|
|
});
|
|
}
|
|
|
|
private final void i() {
|
|
p1 p1Var = this.p;
|
|
if (p1Var != null) {
|
|
this.f.e(p1Var, this.q);
|
|
this.p = null;
|
|
this.q = null;
|
|
}
|
|
}
|
|
|
|
private final void j() {
|
|
this.o = false;
|
|
this.m.c().a(this.e.getViewBinder());
|
|
this.f.b(this.m.b());
|
|
a aVar = this.l;
|
|
if (aVar != null) {
|
|
aVar.a();
|
|
}
|
|
this.l = this.m;
|
|
g();
|
|
a(this.j, this.i, this.k);
|
|
}
|
|
|
|
@Override // com.ironsource.f2
|
|
public /* bridge */ /* synthetic */ Unit a(p1 p1Var, IronSourceError ironSourceError) {
|
|
b(p1Var, ironSourceError);
|
|
return Unit.INSTANCE;
|
|
}
|
|
|
|
@Override // com.ironsource.c7
|
|
public void a() {
|
|
this.i.e();
|
|
this.j.e();
|
|
tt ttVar = this.h;
|
|
if (ttVar != null) {
|
|
ttVar.c();
|
|
}
|
|
this.h = null;
|
|
a aVar = this.l;
|
|
if (aVar != null) {
|
|
aVar.a();
|
|
}
|
|
this.m.a();
|
|
}
|
|
|
|
public void a(p1 adUnitCallback) {
|
|
Intrinsics.checkNotNullParameter(adUnitCallback, "adUnitCallback");
|
|
this.m.a(adUnitCallback);
|
|
this.m.a(false);
|
|
if (this.n || this.o) {
|
|
j();
|
|
}
|
|
}
|
|
|
|
public void b(p1 adUnitCallback, IronSourceError ironSourceError) {
|
|
Intrinsics.checkNotNullParameter(adUnitCallback, "adUnitCallback");
|
|
this.m.a(false);
|
|
this.p = adUnitCallback;
|
|
this.q = ironSourceError;
|
|
if (this.o) {
|
|
i();
|
|
a(this.i, this.k);
|
|
} else if (this.n) {
|
|
i();
|
|
g();
|
|
a(this.i, this.k);
|
|
}
|
|
}
|
|
|
|
@Override // com.ironsource.c7
|
|
public void d() {
|
|
this.m.f();
|
|
}
|
|
|
|
@Override // com.ironsource.c7
|
|
public void e() {
|
|
if (c()) {
|
|
this.k.e();
|
|
}
|
|
}
|
|
|
|
@Override // com.ironsource.c7
|
|
public void f() {
|
|
if (c()) {
|
|
this.k.f();
|
|
}
|
|
}
|
|
|
|
@Override // com.ironsource.f2
|
|
public /* bridge */ /* synthetic */ Unit l(p1 p1Var) {
|
|
a(p1Var);
|
|
return Unit.INSTANCE;
|
|
}
|
|
}
|