package com.google.firebase.messaging; import android.net.Uri; import android.os.Bundle; import android.os.Parcel; import android.os.Parcelable; import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable; import com.google.firebase.messaging.e; import java.util.Map; /* loaded from: classes2.dex */ public final class o0 extends AbstractSafeParcelable { public static final Parcelable.Creator CREATOR = new p0(); /* renamed from: a, reason: collision with root package name */ Bundle f5620a; /* renamed from: b, reason: collision with root package name */ private Map f5621b; /* renamed from: c, reason: collision with root package name */ private b f5622c; public static class b { /* renamed from: a, reason: collision with root package name */ private final String f5623a; /* renamed from: b, reason: collision with root package name */ private final String f5624b; /* renamed from: c, reason: collision with root package name */ private final String[] f5625c; /* renamed from: d, reason: collision with root package name */ private final String f5626d; /* renamed from: e, reason: collision with root package name */ private final String f5627e; /* renamed from: f, reason: collision with root package name */ private final String[] f5628f; /* renamed from: g, reason: collision with root package name */ private final String f5629g; /* renamed from: h, reason: collision with root package name */ private final String f5630h; /* renamed from: i, reason: collision with root package name */ private final String f5631i; /* renamed from: j, reason: collision with root package name */ private final String f5632j; /* renamed from: k, reason: collision with root package name */ private final String f5633k; /* renamed from: l, reason: collision with root package name */ private final String f5634l; /* renamed from: m, reason: collision with root package name */ private final String f5635m; /* renamed from: n, reason: collision with root package name */ private final Uri f5636n; /* renamed from: o, reason: collision with root package name */ private final String f5637o; /* renamed from: p, reason: collision with root package name */ private final Integer f5638p; /* renamed from: q, reason: collision with root package name */ private final Integer f5639q; /* renamed from: r, reason: collision with root package name */ private final Integer f5640r; /* renamed from: s, reason: collision with root package name */ private final int[] f5641s; /* renamed from: t, reason: collision with root package name */ private final Long f5642t; /* renamed from: u, reason: collision with root package name */ private final boolean f5643u; /* renamed from: v, reason: collision with root package name */ private final boolean f5644v; /* renamed from: w, reason: collision with root package name */ private final boolean f5645w; /* renamed from: x, reason: collision with root package name */ private final boolean f5646x; /* renamed from: y, reason: collision with root package name */ private final boolean f5647y; /* renamed from: z, reason: collision with root package name */ private final long[] f5648z; private static String[] b(h0 h0Var, String str) { Object[] g10 = h0Var.g(str); if (g10 == null) { return null; } String[] strArr = new String[g10.length]; for (int i10 = 0; i10 < g10.length; i10++) { strArr[i10] = String.valueOf(g10[i10]); } return strArr; } public String a() { return this.f5626d; } private b(h0 h0Var) { this.f5623a = h0Var.p("gcm.n.title"); this.f5624b = h0Var.h("gcm.n.title"); this.f5625c = b(h0Var, "gcm.n.title"); this.f5626d = h0Var.p("gcm.n.body"); this.f5627e = h0Var.h("gcm.n.body"); this.f5628f = b(h0Var, "gcm.n.body"); this.f5629g = h0Var.p("gcm.n.icon"); this.f5631i = h0Var.o(); this.f5632j = h0Var.p("gcm.n.tag"); this.f5633k = h0Var.p("gcm.n.color"); this.f5634l = h0Var.p("gcm.n.click_action"); this.f5635m = h0Var.p("gcm.n.android_channel_id"); this.f5636n = h0Var.f(); this.f5630h = h0Var.p("gcm.n.image"); this.f5637o = h0Var.p("gcm.n.ticker"); this.f5638p = h0Var.b("gcm.n.notification_priority"); this.f5639q = h0Var.b("gcm.n.visibility"); this.f5640r = h0Var.b("gcm.n.notification_count"); this.f5643u = h0Var.a("gcm.n.sticky"); this.f5644v = h0Var.a("gcm.n.local_only"); this.f5645w = h0Var.a("gcm.n.default_sound"); this.f5646x = h0Var.a("gcm.n.default_vibrate_timings"); this.f5647y = h0Var.a("gcm.n.default_light_settings"); this.f5642t = h0Var.j("gcm.n.event_time"); this.f5641s = h0Var.e(); this.f5648z = h0Var.q(); } } public o0(Bundle bundle) { this.f5620a = bundle; } public b P() { if (this.f5622c == null && h0.t(this.f5620a)) { this.f5622c = new b(new h0(this.f5620a)); } return this.f5622c; } public Map getData() { if (this.f5621b == null) { this.f5621b = e.a.a(this.f5620a); } return this.f5621b; } public String getFrom() { return this.f5620a.getString("from"); } @Override // android.os.Parcelable public void writeToParcel(Parcel parcel, int i10) { p0.c(this, parcel, i10); } }