- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
52 lines
1.7 KiB
Java
52 lines
1.7 KiB
Java
package com.mbridge.msdk.video.module.b;
|
|
|
|
import android.text.TextUtils;
|
|
import com.mbridge.msdk.MBridgeConstans;
|
|
import com.mbridge.msdk.foundation.entity.CampaignEx;
|
|
import com.mbridge.msdk.foundation.same.report.d.d;
|
|
import com.mbridge.msdk.foundation.same.report.d.e;
|
|
import com.mbridge.msdk.foundation.tools.aq;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public final class a {
|
|
public static void a(String str, CampaignEx campaignEx, e eVar) {
|
|
String str2;
|
|
String str3;
|
|
if (TextUtils.isEmpty(str) || campaignEx == null || eVar == null) {
|
|
return;
|
|
}
|
|
try {
|
|
String mof_template_url = campaignEx.getMof_template_url();
|
|
String str4 = "";
|
|
if (TextUtils.isEmpty(mof_template_url)) {
|
|
str2 = "";
|
|
str3 = str2;
|
|
} else {
|
|
str3 = aq.a(mof_template_url, "cltp");
|
|
str2 = aq.a(mof_template_url, "xt");
|
|
}
|
|
if (!TextUtils.isEmpty(str3)) {
|
|
eVar.a("cltp", str3);
|
|
}
|
|
if (!TextUtils.isEmpty(str2)) {
|
|
eVar.a("xt", str2);
|
|
}
|
|
CampaignEx.c rewardTemplateMode = campaignEx.getRewardTemplateMode();
|
|
if (rewardTemplateMode != null) {
|
|
String e = rewardTemplateMode.e();
|
|
if (!TextUtils.isEmpty(e)) {
|
|
str4 = aq.a(e, "alecfc");
|
|
}
|
|
}
|
|
if (!TextUtils.isEmpty(str4)) {
|
|
eVar.a("alecfc", str4);
|
|
}
|
|
d.a().a(str, campaignEx, eVar);
|
|
} catch (Exception e2) {
|
|
if (MBridgeConstans.DEBUG) {
|
|
e2.printStackTrace();
|
|
}
|
|
}
|
|
}
|
|
}
|