正在查看: MedEd v5.3.6 应用的 AFj1uSDK.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: MedEd v5.3.6 应用的 AFj1uSDK.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.appsflyer.internal;
import android.net.Uri;
import com.appsflyer.AFLogger;
import com.freshchat.consumer.sdk.receiver.IXoy.ORnUYRONsFU;
import defpackage.Th0;
import kotlin.Metadata;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import okhttp3.HttpUrl;
@Metadata
public final class AFj1uSDK {
public static final String AFInAppEventParameterName;
public static final String AFInAppEventType;
public static String AFLogger;
public static final AFa1ySDK AFa1ySDK = new AFa1ySDK(null);
public static final String d;
public static final String e;
public static final String registerClient;
public static final String unregisterClient;
public static final String valueOf;
private static final String w;
public final AFj1rSDK AFKeystoreWrapper;
public final AFd1sSDK values;
@Metadata
public static final class AFa1ySDK {
private AFa1ySDK() {
}
public AFa1ySDK(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
}
static {
StringBuilder sb = new StringBuilder();
String str = AFb1rSDK.valueOf;
sb.append(str);
sb.append("/androidevent?app_id=");
String obj = sb.toString();
w = obj;
StringBuilder sb2 = new StringBuilder("https://%sattr.%s/api/v");
sb2.append(obj);
AFInAppEventParameterName = sb2.toString();
AFInAppEventType = "https://%sadrevenue.%s/api/v2/generic/v6.14.2/android?app_id=";
valueOf = "https://%sadrevenue.%s/api/v2/log/AdImpression/v6.14.2/android?app_id=";
StringBuilder sb3 = new StringBuilder("https://%sconversions.%s/api/v");
sb3.append(obj);
e = sb3.toString();
StringBuilder sb4 = new StringBuilder("https://%slaunches.%s/api/v");
sb4.append(obj);
registerClient = sb4.toString();
StringBuilder sb5 = new StringBuilder("https://%sinapps.%s/api/v");
sb5.append(obj);
d = sb5.toString();
unregisterClient = "https://%smonitorsdk.%s/api/remote-debug/v2.0?app_id=";
StringBuilder sb6 = new StringBuilder("https://%svalidate.%s/api/v");
sb6.append(str);
sb6.append("/androidevent?buildnumber=6.14.2&app_id=");
AFLogger = sb6.toString();
}
public AFj1uSDK(AFd1sSDK aFd1sSDK) {
this(aFd1sSDK, null, 2, 0 == true ? 1 : 0);
Intrinsics.checkNotNullParameter(aFd1sSDK, "");
}
public static String AFInAppEventParameterName() {
return "https://aps-webhandler.appsflyer.com/api/trigger";
}
public static String AFInAppEventType(String str, boolean z) {
StringBuilder a = Th0.a(str);
a.append(!z ? "&buildnumber=6.14.2" : HttpUrl.FRAGMENT_ENCODE_SET);
return a.toString();
}
public final String AFKeystoreWrapper(AFh1jSDK aFh1jSDK) {
Intrinsics.checkNotNullParameter(aFh1jSDK, "");
if (aFh1jSDK instanceof AFh1fSDK) {
return this.AFKeystoreWrapper.AFInAppEventParameterName("https://%ssdk-services.%s/validate-android-signature");
}
if (!(aFh1jSDK instanceof AFh1iSDK)) {
throw new UnsupportedOperationException();
}
StringBuilder a = Th0.a(this.AFKeystoreWrapper.AFInAppEventParameterName(AFLogger));
a.append(this.values.valueOf.AFKeystoreWrapper.getPackageName());
return a.toString();
}
public final String values(String str) {
StringBuilder a = Th0.a(str);
String AFLogger2 = this.values.AFLogger();
String concat = AFLogger2 != null ? "&channel=".concat(AFLogger2) : null;
if (concat == null) {
concat = HttpUrl.FRAGMENT_ENCODE_SET;
}
a.append(concat);
return a.toString();
}
private AFj1uSDK(AFd1sSDK aFd1sSDK, AFj1rSDK aFj1rSDK) {
Intrinsics.checkNotNullParameter(aFd1sSDK, "");
Intrinsics.checkNotNullParameter(aFj1rSDK, "");
this.values = aFd1sSDK;
this.AFKeystoreWrapper = aFj1rSDK;
}
public static Uri.Builder valueOf(Uri.Builder builder, String str, String str2) {
if (str != null && str2 != null) {
builder.appendQueryParameter(ORnUYRONsFU.RfzJBZwEkbfk, AFb1mSDK.AFInAppEventParameterName(str2.concat(str), str));
return builder;
}
String str3 = str == null ? "devKey" : "timestamp";
AFLogger.afErrorLog(str3.concat(" is null at attempt to generate ddl event url"), new IllegalStateException(str3.concat(" is null")));
return builder;
}
public AFj1uSDK(AFd1sSDK aFd1sSDK, AFj1rSDK aFj1rSDK, int i, DefaultConstructorMarker defaultConstructorMarker) {
this(aFd1sSDK, (i & 2) != 0 ? new AFj1oSDK() : aFj1rSDK);
}
}