package defpackage;

import android.os.Bundle;
import android.text.TextUtils;
import java.util.Iterator;

/* renamed from: ʼﹳ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C0057 {

    /* renamed from: ˇʼʤˎ, reason: contains not printable characters */
    public final long f1252;

    /* renamed from: ˎˏʜʾ, reason: contains not printable characters */
    public final C3724 f1253;

    /* renamed from: ˏˋٴ, reason: contains not printable characters */
    public final long f1254;

    /* renamed from: ˏᵙ, reason: contains not printable characters */
    public final String f1255;

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public final String f1256;

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public final String f1257;

    /* renamed from: ᵻᵢﹳᵰ, reason: contains not printable characters */
    public final long f1258;

    public C0057(C4205 c4205, String str, String str2, String str3, long j, long j2, long j3, Bundle bundle) {
        C3724 c3724;
        ᵩʛʽ.ˏˋٴ(str2);
        ᵩʛʽ.ˏˋٴ(str3);
        this.f1256 = str2;
        this.f1257 = str3;
        this.f1255 = true == TextUtils.isEmpty(str) ? null : str;
        this.f1258 = j;
        this.f1252 = j2;
        this.f1254 = j3;
        if (j3 != 0 && j3 > j) {
            C1736 c1736 = c4205.f15715;
            C4205.m9132(c1736);
            c1736.f6934.m6039(C1736.m4941(str2), "Event created with reverse previous/current timestamps. appId");
        }
        if (bundle == null || bundle.isEmpty()) {
            c3724 = new C3724(new Bundle());
        } else {
            Bundle bundle2 = new Bundle(bundle);
            Iterator<String> it = bundle2.keySet().iterator();
            while (it.hasNext()) {
                String next = it.next();
                if (next == null) {
                    C1736 c17362 = c4205.f15715;
                    C4205.m9132(c17362);
                    c17362.f6937.m6038("Param name can't be null");
                    it.remove();
                } else {
                    C4864 c4864 = c4205.f15708;
                    C4205.m9134(c4864);
                    Object objM10210 = c4864.m10210(bundle2.get(next), next);
                    if (objM10210 == null) {
                        C1736 c17363 = c4205.f15715;
                        C4205.m9132(c17363);
                        c17363.f6934.m6039(c4205.f15705.m7001(next), "Param value can't be null");
                        it.remove();
                    } else {
                        C4864 c48642 = c4205.f15708;
                        C4205.m9134(c48642);
                        c48642.m10223(bundle2, next, objM10210);
                    }
                }
            }
            c3724 = new C3724(bundle2);
        }
        this.f1253 = c3724;
    }

    public C0057(C4205 c4205, String str, String str2, String str3, long j, long j2, long j3, C3724 c3724) {
        ᵩʛʽ.ˏˋٴ(str2);
        ᵩʛʽ.ˏˋٴ(str3);
        ᵩʛʽ.ᵝᵵᵺ(c3724);
        this.f1256 = str2;
        this.f1257 = str3;
        this.f1255 = true == TextUtils.isEmpty(str) ? null : str;
        this.f1258 = j;
        this.f1252 = j2;
        this.f1254 = j3;
        if (j3 != 0 && j3 > j) {
            C1736 c1736 = c4205.f15715;
            C4205.m9132(c1736);
            c1736.f6934.m6037("Event created with reverse previous/current timestamps. appId, name", C1736.m4941(str2), C1736.m4941(str3));
        }
        this.f1253 = c3724;
    }

    public final String toString() {
        String string = this.f1253.toString();
        String str = this.f1256;
        int length = String.valueOf(str).length();
        String str2 = this.f1257;
        StringBuilder sb = new StringBuilder(length + 22 + String.valueOf(str2).length() + 10 + string.length() + 1);
        AbstractC4486.m9560(sb, "Event{appId='", str, "', name='", str2);
        return AbstractC3915.m8592(sb, "', params=", string, "}");
    }

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public final C0057 m1110(C4205 c4205, long j) {
        return new C0057(c4205, this.f1255, this.f1256, this.f1257, this.f1258, this.f1252, j, this.f1253);
    }
}
