package com.ironsource; import android.os.Handler; import com.ironsource.mediationsdk.IronSource; import com.ironsource.mediationsdk.testSuite.TestSuiteActivity; import java.util.List; import kotlin.Lazy; import kotlin.LazyKt__LazyJVMKt; import kotlin.jvm.functions.Function0; import kotlin.jvm.internal.DefaultConstructorMarker; import kotlin.jvm.internal.Intrinsics; import kotlin.jvm.internal.Lambda; /* loaded from: classes2.dex */ public final class ns { private final c a; private final d b; private final b c; public static final class a { /* renamed from: com.ironsource.ns$a$a, reason: collision with other inner class name */ public static final class C0177a extends Lambda implements Function0 { final /* synthetic */ TestSuiteActivity a; final /* synthetic */ Handler b; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public C0177a(TestSuiteActivity testSuiteActivity, Handler handler) { super(0); this.a = testSuiteActivity; this.b = handler; } @Override // kotlin.jvm.functions.Function0 /* renamed from: a, reason: merged with bridge method [inline-methods] */ public final ws invoke() { return new ws(this.a, this.b); } } public static final class b extends Lambda implements Function0 { final /* synthetic */ TestSuiteActivity a; final /* synthetic */ Handler b; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public b(TestSuiteActivity testSuiteActivity, Handler handler) { super(0); this.a = testSuiteActivity; this.b = handler; } @Override // kotlin.jvm.functions.Function0 /* renamed from: a, reason: merged with bridge method [inline-methods] */ public final ct invoke() { return new ct(this.a, this.b); } } private static final ws a(Lazy lazy) { return (ws) lazy.getValue(); } private static final ct b(Lazy lazy) { return (ct) lazy.getValue(); } public final ns a(List maduEnabledAdUnits, TestSuiteActivity activity, Handler handler) { Lazy lazy; Lazy lazy2; Intrinsics.checkNotNullParameter(maduEnabledAdUnits, "maduEnabledAdUnits"); Intrinsics.checkNotNullParameter(activity, "activity"); Intrinsics.checkNotNullParameter(handler, "handler"); lazy = LazyKt__LazyJVMKt.lazy(new C0177a(activity, handler)); lazy2 = LazyKt__LazyJVMKt.lazy(new b(activity, handler)); return new ns(maduEnabledAdUnits.contains(IronSource.AD_UNIT.INTERSTITIAL) ? a(lazy) : b(lazy2), maduEnabledAdUnits.contains(IronSource.AD_UNIT.REWARDED_VIDEO) ? a(lazy) : b(lazy2), maduEnabledAdUnits.contains(IronSource.AD_UNIT.BANNER) ? a(lazy) : b(lazy2), null); } } public interface b { void a(double d); void a(ts tsVar, String str, int i, int i2); void b(); } public interface c { void a(ts tsVar); void c(); boolean e(); } public interface d { boolean a(); void b(ts tsVar); void d(); } private ns(c cVar, d dVar, b bVar) { this.a = cVar; this.b = dVar; this.c = bVar; } public /* synthetic */ ns(c cVar, d dVar, b bVar, DefaultConstructorMarker defaultConstructorMarker) { this(cVar, dVar, bVar); } public final b a() { return this.c; } public final c b() { return this.a; } public final d c() { return this.b; } }