package g7; import android.text.TextUtils; import com.vungle.warren.ui.view.n; import org.json.JSONObject; /* loaded from: classes2.dex */ public class a { /* renamed from: a, reason: collision with root package name */ public String f9734a; /* renamed from: b, reason: collision with root package name */ public String f9735b; /* renamed from: c, reason: collision with root package name */ public String f9736c; /* renamed from: d, reason: collision with root package name */ public String f9737d; /* renamed from: e, reason: collision with root package name */ public String f9738e; /* renamed from: f, reason: collision with root package name */ public String f9739f; /* renamed from: g, reason: collision with root package name */ public String f9740g; /* renamed from: h, reason: collision with root package name */ public String f9741h; /* renamed from: i, reason: collision with root package name */ public String f9742i; /* renamed from: j, reason: collision with root package name */ public int f9743j; /* renamed from: k, reason: collision with root package name */ public String f9744k; /* renamed from: l, reason: collision with root package name */ public String f9745l; /* renamed from: m, reason: collision with root package name */ public String f9746m; /* renamed from: n, reason: collision with root package name */ public String f9747n; /* renamed from: o, reason: collision with root package name */ public int f9748o; /* renamed from: p, reason: collision with root package name */ public String f9749p; public a(String str) { try { JSONObject jSONObject = new JSONObject(str); this.f9734a = jSONObject.optString("ending"); this.f9735b = jSONObject.optString("intro"); this.f9736c = jSONObject.optString("banner"); this.f9737d = jSONObject.optString("bacon"); this.f9738e = TextUtils.isEmpty(jSONObject.optString("json1")) ? jSONObject.optString("json_s1") : jSONObject.optString("json1"); this.f9739f = TextUtils.isEmpty(jSONObject.optString("json2")) ? jSONObject.optString("json_s2") : jSONObject.optString("json2"); this.f9740g = TextUtils.isEmpty(jSONObject.optString("json3")) ? jSONObject.optString("json_s3") : jSONObject.optString("json3"); this.f9741h = TextUtils.isEmpty(jSONObject.optString("json4")) ? jSONObject.optString("json_s4") : jSONObject.optString("json4"); this.f9742i = jSONObject.optString("mcover"); this.f9743j = jSONObject.optInt("fq_mcover"); this.f9748o = jSONObject.optInt("fq_auid") < 1 ? 7 : jSONObject.optInt("fq_auid"); this.f9744k = jSONObject.optString("bntype"); this.f9745l = jSONObject.optString("domain"); this.f9746m = jSONObject.optString("rfUrl"); this.f9747n = jSONObject.optString("log_view"); this.f9749p = TextUtils.isEmpty(jSONObject.optString("cross_browser")) ? n.f8540o : jSONObject.optString("cross_browser"); } catch (Exception unused) { } } }