Warkop v5.73.0版本的 MD5 值为:a4330ec2d6f5e146f59fc7622f3cdb45

以下内容为反编译后的 AFf1fSDK.java 源代码,内容仅作参考


package com.appsflyer.internal;

import kotlin.Metadata;
import org.jetbrains.annotations.NotNull;
import sinet.startup.inDriver.core.data.data.NotificationData;

@Metadata(d1 = {"\u00008\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000e\n\u0002\b\u0007\n\u0002\u0010\b\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010\u000b\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0006\u0018\u00002\u00020\u0001:\u0001#B\u001b\b\u0007\u0012\u0006\u0010\u001c\u001a\u00020\u001b\u0012\b\b\u0002\u0010\u001f\u001a\u00020\u001e¢\u0006\u0004\b!\u0010\"J\b\u0010\u0003\u001a\u00020\u0002H\u0002J\b\u0010\u0004\u001a\u00020\u0002H\u0002J\b\u0010\u0005\u001a\u00020\u0002H\u0002J\b\u0010\u0006\u001a\u00020\u0002H\u0002J\b\u0010\u0007\u001a\u00020\u0002H\u0002J\b\u0010\b\u001a\u00020\u0002H\u0002J\b\u0010\t\u001a\u00020\u0002H\u0002J\u0010\u0010\f\u001a\u00020\u00022\u0006\u0010\u000b\u001a\u00020\nH\u0002J\b\u0010\r\u001a\u00020\u0002H\u0002J\u0010\u0010\u000f\u001a\u00020\u00022\b\u0010\u000e\u001a\u0004\u0018\u00010\u0002J\u0016\u0010\u0012\u001a\u00020\u00022\u0006\u0010\u0011\u001a\u00020\u00102\u0006\u0010\u000b\u001a\u00020\nJ\u0010\u0010\u0013\u001a\u00020\u00022\b\u0010\u000e\u001a\u0004\u0018\u00010\u0002J\b\u0010\u0014\u001a\u00020\u0002H\u0002J\b\u0010\u0015\u001a\u00020\u0002H\u0002J\u0014\u0010\u0018\u001a\u00020\u0002*\u00020\u00022\u0006\u0010\u0017\u001a\u00020\u0016H\u0002J\f\u0010\u0019\u001a\u00020\u0002*\u00020\u0002H\u0002J\f\u0010\u001a\u001a\u00020\u0002*\u00020\u0002H\u0002R\u0014\u0010\u001c\u001a\u00020\u001b8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u001c\u0010\u001dR\u0014\u0010\u001f\u001a\u00020\u001e8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u001f\u0010 ¨\u0006$"}, d2 = {"Lcom/appsflyer/internal/util/EventUrlResolver;", "", "", "getAdImpressionUrl", "getAdRevenueUrl", "getAppsTrackingUrl", "getArsBilling4", "getArsBilling5", "getEventsTrackingUrl", "getFirstLaunchUrl", "", "launchCounter", "getLaunchUrl", "getReferrerTrackingUrl", "billingVersion", "getUrlForArs", "Lcom/appsflyer/AFEvent;", NotificationData.JSON_EVENT, "getUrlForEvent", "getUrlForViap", "getViapBilling4", "getViapBilling5", "", "isAdRevenueEvent", "appendBuildNumber", "appendConfiguredChannel", "appendPackageName", "Lcom/appsflyer/internal/components/IdProvider;", "idProvider", "Lcom/appsflyer/internal/components/IdProvider;", "Lcom/appsflyer/internal/util/ServerConfigUrlFormatter;", "serverConfigUrlFormatter", "Lcom/appsflyer/internal/util/ServerConfigUrlFormatter;", "<init>", "(Lcom/appsflyer/internal/components/IdProvider;Lcom/appsflyer/internal/util/ServerConfigUrlFormatter;)V", "Companion", "SDK_prodRelease"}, k = 1, mv = {1, 6, 0})
public final class AFf1fSDK {

    @NotNull
    public static final String AFInAppEventParameterName;

    @NotNull
    public static final String AFKeystoreWrapper;

    @NotNull
    public static final String AFLogger;

    @NotNull
    public static final String AFLogger$LogLevel;

    @NotNull
    public static final String AFVersionDeclaration;
    public static String AppsFlyer2dXConversionCallback;

    @NotNull
    public static final String afDebugLog;

    @NotNull
    public static final String afErrorLog;
    public static String afErrorLogForExcManagerOnly;

    @NotNull
    public static final String afInfoLog;

    @NotNull
    public static final String afRDLog;
    public static String afWarnLog;
    public static String getLevel;
    public static String init;
    public static String onAppOpenAttributionNative;
    public static String onAttributionFailureNative;
    public static String onInstallConversionDataLoadedNative;
    public static String onInstallConversionFailureNative;

    @NotNull
    private static final String onResponseErrorNative;
    public static String onResponseNative;

    @NotNull
    public static final String valueOf;

    @NotNull
    public final AFf1eSDK AFInAppEventType;

    @NotNull
    public final AFb1gSDK values;

    @Metadata(d1 = {"\u0000\u0016\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u001b\b\u0086\u0003\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u001d\u0010\u001eJ\b\u0010\u0003\u001a\u00020\u0002H\u0007R\u0014\u0010\u0005\u001a\u00020\u00048\u0002X\u0082T¢\u0006\u0006\n\u0004\b\u0005\u0010\u0006R\u0014\u0010\u0007\u001a\u00020\u00048\u0002X\u0082T¢\u0006\u0006\n\u0004\b\u0007\u0010\u0006R\u0014\u0010\b\u001a\u00020\u00048\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\b\u0010\u0006R\u0014\u0010\t\u001a\u00020\u00048\u0006X\u0087D¢\u0006\u0006\n\u0004\b\t\u0010\u0006R\u0018\u0010\n\u001a\u0004\u0018\u00010\u00048\u0006@\u0006X\u0087\u000e¢\u0006\u0006\n\u0004\b\n\u0010\u0006R\u0014\u0010\u000b\u001a\u00020\u00048\u0006X\u0087D¢\u0006\u0006\n\u0004\b\u000b\u0010\u0006R\u0018\u0010\f\u001a\u0004\u0018\u00010\u00048\u0006@\u0006X\u0087\u000e¢\u0006\u0006\n\u0004\b\f\u0010\u0006R\u0014\u0010\r\u001a\u00020\u00048\u0006X\u0087D¢\u0006\u0006\n\u0004\b\r\u0010\u0006R\u0018\u0010\u000e\u001a\u0004\u0018\u00010\u00048\u0006@\u0006X\u0087\u000e¢\u0006\u0006\n\u0004\b\u000e\u0010\u0006R\u0014\u0010\u000f\u001a\u00020\u00048\u0006X\u0087D¢\u0006\u0006\n\u0004\b\u000f\u0010\u0006R\u0018\u0010\u0010\u001a\u0004\u0018\u00010\u00048\u0006@\u0006X\u0087\u000e¢\u0006\u0006\n\u0004\b\u0010\u0010\u0006R\u0014\u0010\u0011\u001a\u00020\u00048\u0006X\u0087\u0004¢\u0006\u0006\n\u0004\b\u0011\u0010\u0006R\u0018\u0010\u0012\u001a\u0004\u0018\u00010\u00048\u0006@\u0006X\u0087\u000e¢\u0006\u0006\n\u0004\b\u0012\u0010\u0006R\u0014\u0010\u0013\u001a\u00020\u00048\u0006X\u0087\u0004¢\u0006\u0006\n\u0004\b\u0013\u0010\u0006R\u0018\u0010\u0014\u001a\u0004\u0018\u00010\u00048\u0006@\u0006X\u0087\u000e¢\u0006\u0006\n\u0004\b\u0014\u0010\u0006R\u0014\u0010\u0015\u001a\u00020\u00048\u0006X\u0087\u0004¢\u0006\u0006\n\u0004\b\u0015\u0010\u0006R\u0018\u0010\u0016\u001a\u0004\u0018\u00010\u00048\u0006@\u0006X\u0087\u000e¢\u0006\u0006\n\u0004\b\u0016\u0010\u0006R\u0014\u0010\u0017\u001a\u00020\u00048\u0006X\u0087\u0004¢\u0006\u0006\n\u0004\b\u0017\u0010\u0006R\u0018\u0010\u0018\u001a\u0004\u0018\u00010\u00048\u0006@\u0006X\u0087\u000e¢\u0006\u0006\n\u0004\b\u0018\u0010\u0006R\u0014\u0010\u0019\u001a\u00020\u00048\u0006X\u0087D¢\u0006\u0006\n\u0004\b\u0019\u0010\u0006R\u0018\u0010\u001a\u001a\u0004\u0018\u00010\u00048\u0006@\u0006X\u0087\u000e¢\u0006\u0006\n\u0004\b\u001a\u0010\u0006R\u0014\u0010\u001b\u001a\u00020\u00048\u0006X\u0087D¢\u0006\u0006\n\u0004\b\u001b\u0010\u0006R\u0018\u0010\u001c\u001a\u0004\u0018\u00010\u00048\u0006@\u0006X\u0087\u000e¢\u0006\u0006\n\u0004\b\u001c\u0010\u0006¨\u0006\u001f"}, d2 = {"Lcom/appsflyer/internal/util/EventUrlResolver$Companion;", "", "Lco/g0;", "resetAllOverrides", "", "BILLING_3_REGEX", "Ljava/lang/String;", "BILLING_4_REGEX", "ENC_PLATFORM_URL_SUFFIX", "adImpressionUrl", "adImpressionUrlOverride", "adRevenueUrl", "adRevenueUrlOverride", "arsValidateBilling4Url", "arsValidateBilling4UrlOverride", "arsValidateBilling5Url", "arsValidateBilling5UrlOverride", "conversionsUrl", "conversionsUrlOverride", "inAppEventsUrl", "inAppEventsUrlOverride", "launchesUrl", "launchesUrlOverride", "referrerTrackingUrl", "referrerTrackingUrlOverride", "viapValidateBilling4Url", "viapValidateBilling4UrlOverride", "viapValidateBilling5Url", "viapValidateBilling5UrlOverride", "<init>", "()V", "SDK_prodRelease"}, k = 1, mv = {1, 6, 0})
    public static final class AFa1ySDK {
        private AFa1ySDK() {
        }

        public AFa1ySDK(byte b15) {
            this();
        }
    }

    static {
        new AFa1ySDK((byte) 0);
        StringBuilder sb5 = new StringBuilder();
        sb5.append(AFa1eSDK.AFKeystoreWrapper);
        sb5.append("/androidevent?app_id=");
        String obj = sb5.toString();
        onResponseErrorNative = obj;
        StringBuilder sb6 = new StringBuilder("https://%sattr.%s/api/v");
        sb6.append(obj);
        AFKeystoreWrapper = sb6.toString();
        AFInAppEventParameterName = "https://%sadrevenue.%s/api/v2/generic/v6.12.2/android?app_id=";
        valueOf = "https://%sadrevenue.%s/api/v2/log/AdImpression/v6.12.2/android?app_id=";
        StringBuilder sb7 = new StringBuilder("https://%sconversions.%s/api/v");
        sb7.append(obj);
        afRDLog = sb7.toString();
        StringBuilder sb8 = new StringBuilder("https://%slaunches.%s/api/v");
        sb8.append(obj);
        afErrorLog = sb8.toString();
        StringBuilder sb9 = new StringBuilder("https://%sinapps.%s/api/v");
        sb9.append(obj);
        AFLogger = sb9.toString();
        afDebugLog = "https://%sars.%s/api/v2/android/validate_subscription?app_id=";
        afInfoLog = "https://%sviap.%s/api/v1/android/validate_purchase?app_id=";
        AFLogger$LogLevel = "https://%sars.%s/api/v2/android/validate_subscription_v2?app_id=";
        AFVersionDeclaration = "https://%sviap.%s/api/v1/android/validate_purchase_v2?app_id=";
    }

    public AFf1fSDK(@NotNull AFb1gSDK aFb1gSDK) {
        this(aFb1gSDK, (byte) 0);
    }

    public static String AFInAppEventParameterName(String str, boolean z15) {
        StringBuilder sb5 = new StringBuilder();
        sb5.append(str);
        sb5.append(!z15 ? "&buildnumber=6.12.2" : "");
        return sb5.toString();
    }

    private AFf1fSDK(@NotNull AFb1gSDK aFb1gSDK, @NotNull AFf1eSDK aFf1eSDK) {
        this.values = aFb1gSDK;
        this.AFInAppEventType = aFf1eSDK;
    }

    public final String AFInAppEventParameterName(String str) {
        StringBuilder sb5 = new StringBuilder();
        sb5.append(str);
        String values = this.values.values();
        String concat = values != null ? "&channel=".concat(values) : null;
        if (concat == null) {
            concat = "";
        }
        sb5.append(concat);
        return sb5.toString();
    }

    private AFf1fSDK(AFb1gSDK aFb1gSDK, byte b15) {
        this(aFb1gSDK, new AFf1dSDK());
    }
}