package com.chartboost.sdk.impl;

import com.google.firebase.remoteconfig.FirebaseRemoteConfig;
import java.util.Iterator;
import kotlin.enums.EnumEntries;
import kotlin.enums.EnumEntriesKt;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes2.dex */
public final class t6 {

    /* renamed from: a  reason: collision with root package name */
    public final String f1818a;
    public final String b;
    public final b c;
    public final a d;
    public final a e;
    public final a f;

    public t6(String imageUrl, String clickthroughUrl, b position, a margin, a padding, a size) {
        Intrinsics.checkNotNullParameter(imageUrl, "imageUrl");
        Intrinsics.checkNotNullParameter(clickthroughUrl, "clickthroughUrl");
        Intrinsics.checkNotNullParameter(position, "position");
        Intrinsics.checkNotNullParameter(margin, "margin");
        Intrinsics.checkNotNullParameter(padding, "padding");
        Intrinsics.checkNotNullParameter(size, "size");
        this.f1818a = imageUrl;
        this.b = clickthroughUrl;
        this.c = position;
        this.d = margin;
        this.e = padding;
        this.f = size;
    }

    public final String a() {
        return this.b;
    }

    public final String b() {
        return this.f1818a;
    }

    public final a c() {
        return this.d;
    }

    public final b d() {
        return this.c;
    }

    public final a e() {
        return this.f;
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj instanceof t6) {
            t6 t6Var = (t6) obj;
            return Intrinsics.areEqual(this.f1818a, t6Var.f1818a) && Intrinsics.areEqual(this.b, t6Var.b) && this.c == t6Var.c && Intrinsics.areEqual(this.d, t6Var.d) && Intrinsics.areEqual(this.e, t6Var.e) && Intrinsics.areEqual(this.f, t6Var.f);
        }
        return false;
    }

    public int hashCode() {
        return (((((((((this.f1818a.hashCode() * 31) + this.b.hashCode()) * 31) + this.c.hashCode()) * 31) + this.d.hashCode()) * 31) + this.e.hashCode()) * 31) + this.f.hashCode();
    }

    public String toString() {
        String str = this.f1818a;
        String str2 = this.b;
        b bVar = this.c;
        a aVar = this.d;
        a aVar2 = this.e;
        return "InfoIcon(imageUrl=" + str + ", clickthroughUrl=" + str2 + ", position=" + bVar + ", margin=" + aVar + ", padding=" + aVar2 + ", size=" + this.f + ")";
    }

    /* JADX WARN: Failed to restore enum class, 'enum' modifier and super class removed */
    /* JADX WARN: Unknown enum class pattern. Please report as an issue! */
    /* loaded from: classes2.dex */
    public static final class b {
        public static final a c;
        public static final b d = new b("TOP_LEFT", 0, 0);
        public static final b e = new b("TOP_RIGHT", 1, 1);
        public static final b f = new b("BOTTOM_LEFT", 2, 2);
        public static final b g = new b("BOTTOM_RIGHT", 3, 3);
        public static final /* synthetic */ b[] h;
        public static final /* synthetic */ EnumEntries i;
        public final int b;

        static {
            b[] a2 = a();
            h = a2;
            i = EnumEntriesKt.enumEntries(a2);
            c = new a(null);
        }

        public static final /* synthetic */ b[] a() {
            return new b[]{d, e, f, g};
        }

        public static EnumEntries b() {
            return i;
        }

        public static b valueOf(String str) {
            return (b) Enum.valueOf(b.class, str);
        }

        public static b[] values() {
            return (b[]) h.clone();
        }

        public final int c() {
            return this.b;
        }

        public b(String str, int i2, int i3) {
            this.b = i3;
        }

        /* loaded from: classes2.dex */
        public static final class a {
            public final b a(int i) {
                Object obj;
                Iterator<E> it = b.b().iterator();
                while (true) {
                    if (!it.hasNext()) {
                        obj = null;
                        break;
                    }
                    obj = it.next();
                    if (((b) obj).c() == i) {
                        break;
                    }
                }
                b bVar = (b) obj;
                return bVar == null ? b.d : bVar;
            }

            public a() {
            }

            public /* synthetic */ a(DefaultConstructorMarker defaultConstructorMarker) {
                this();
            }
        }
    }

    public /* synthetic */ t6(String str, String str2, b bVar, a aVar, a aVar2, a aVar3, int i, DefaultConstructorMarker defaultConstructorMarker) {
        this((i & 1) != 0 ? "" : str, (i & 2) == 0 ? str2 : "", (i & 4) != 0 ? b.d : bVar, (i & 8) != 0 ? new a(FirebaseRemoteConfig.DEFAULT_VALUE_FOR_DOUBLE, FirebaseRemoteConfig.DEFAULT_VALUE_FOR_DOUBLE, 3, null) : aVar, (i & 16) != 0 ? new a(FirebaseRemoteConfig.DEFAULT_VALUE_FOR_DOUBLE, FirebaseRemoteConfig.DEFAULT_VALUE_FOR_DOUBLE, 3, null) : aVar2, (i & 32) != 0 ? new a(FirebaseRemoteConfig.DEFAULT_VALUE_FOR_DOUBLE, FirebaseRemoteConfig.DEFAULT_VALUE_FOR_DOUBLE, 3, null) : aVar3);
    }

    /* loaded from: classes2.dex */
    public static final class a {

        /* renamed from: a  reason: collision with root package name */
        public final double f1819a;
        public final double b;

        public final double a() {
            return this.b;
        }

        public final double b() {
            return this.f1819a;
        }

        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            if (obj instanceof a) {
                a aVar = (a) obj;
                return Double.compare(this.f1819a, aVar.f1819a) == 0 && Double.compare(this.b, aVar.b) == 0;
            }
            return false;
        }

        public int hashCode() {
            return (Double.hashCode(this.f1819a) * 31) + Double.hashCode(this.b);
        }

        public String toString() {
            double d = this.f1819a;
            return "DoubleSize(width=" + d + ", height=" + this.b + ")";
        }

        public a(double d, double d2) {
            this.f1819a = d;
            this.b = d2;
        }

        public /* synthetic */ a(double d, double d2, int i, DefaultConstructorMarker defaultConstructorMarker) {
            this((i & 1) != 0 ? 0.0d : d, (i & 2) != 0 ? 0.0d : d2);
        }
    }
}
