f0.smali
.class public final Lm2/f0;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lm2/f0$b;,
Lm2/f0$a;
}
.end annotation
.annotation runtime Lkotlin/Metadata;
.end annotation
# static fields
.field public static final a:Lm2/f0;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
.field private static final b:Ljava/lang/String;
.field private static final c:Ljava/util/HashSet;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/HashSet<",
"Lm2/r0;",
">;"
}
.end annotation
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
.field private static d:Ljava/util/concurrent/Executor;
.field private static volatile e:Ljava/lang/String;
.field private static volatile f:Ljava/lang/String;
.field private static volatile g:Ljava/lang/String;
.field private static volatile h:Ljava/lang/Boolean;
.field private static i:Ljava/util/concurrent/atomic/AtomicLong;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
.field private static volatile j:Z
.field private static k:Z
.field private static l:Lc3/g0;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lc3/g0<",
"Ljava/io/File;",
">;"
}
.end annotation
.end field
.field private static m:Landroid/content/Context;
.field private static n:I
.field private static final o:Ljava/util/concurrent/locks/ReentrantLock;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
.field private static p:Ljava/lang/String;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
.field public static q:Z
.field public static r:Z
.field public static s:Z
.field private static final t:Ljava/util/concurrent/atomic/AtomicBoolean;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
.field private static volatile u:Ljava/lang/String;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
.field private static volatile v:Ljava/lang/String;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
.field private static w:Lm2/f0$a;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
.field private static x:Z
# direct methods
.method static constructor <clinit>()V
.registers 5
new-instance v0, Lm2/f0;
invoke-direct {v0}, Lm2/f0;-><init>()V
sput-object v0, Lm2/f0;->a:Lm2/f0;
const-class v0, Lm2/f0;
invoke-virtual {v0}, Ljava/lang/Class;->getCanonicalName()Ljava/lang/String;
move-result-object v0
sput-object v0, Lm2/f0;->b:Ljava/lang/String;
const/4 v0, 0x1
new-array v0, v0, [Lm2/r0;
sget-object v1, Lm2/r0;->f:Lm2/r0;
const/4 v2, 0x0
aput-object v1, v0, v2
invoke-static {v0}, Lkotlin/collections/k0;->c([Ljava/lang/Object;)Ljava/util/HashSet;
move-result-object v0
sput-object v0, Lm2/f0;->c:Ljava/util/HashSet;
new-instance v0, Ljava/util/concurrent/atomic/AtomicLong;
const-wide/32 v3, 0x10000
invoke-direct {v0, v3, v4}, Ljava/util/concurrent/atomic/AtomicLong;-><init>(J)V
sput-object v0, Lm2/f0;->i:Ljava/util/concurrent/atomic/AtomicLong;
const v0, 0xface
sput v0, Lm2/f0;->n:I
new-instance v0, Ljava/util/concurrent/locks/ReentrantLock;
invoke-direct {v0}, Ljava/util/concurrent/locks/ReentrantLock;-><init>()V
sput-object v0, Lm2/f0;->o:Ljava/util/concurrent/locks/ReentrantLock;
invoke-static {}, Lc3/n0;->a()Ljava/lang/String;
move-result-object v0
sput-object v0, Lm2/f0;->p:Ljava/lang/String;
new-instance v0, Ljava/util/concurrent/atomic/AtomicBoolean;
invoke-direct {v0, v2}, Ljava/util/concurrent/atomic/AtomicBoolean;-><init>(Z)V
sput-object v0, Lm2/f0;->t:Ljava/util/concurrent/atomic/AtomicBoolean;
const-string v0, "instagram.com"
sput-object v0, Lm2/f0;->u:Ljava/lang/String;
const-string v0, "facebook.com"
sput-object v0, Lm2/f0;->v:Ljava/lang/String;
new-instance v0, Lm2/d0;
invoke-direct {v0}, Lm2/d0;-><init>()V
sput-object v0, Lm2/f0;->w:Lm2/f0$a;
return-void
.end method
.method private constructor <init>()V
.registers 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static final A()J
.registers 2
invoke-static {}, Lc3/u0;->o()V
sget-object v0, Lm2/f0;->i:Ljava/util/concurrent/atomic/AtomicLong;
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicLong;->get()J
move-result-wide v0
return-wide v0
.end method
.method public static final B()Ljava/lang/String;
.registers 1
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
const-string v0, "16.2.0"
return-object v0
.end method
.method private static final C(Lm2/a;Ljava/lang/String;Lorg/json/JSONObject;Lm2/j0$b;)Lm2/j0;
.registers 5
sget-object v0, Lm2/j0;->n:Lm2/j0$c;
invoke-virtual {v0, p0, p1, p2, p3}, Lm2/j0$c;->A(Lm2/a;Ljava/lang/String;Lorg/json/JSONObject;Lm2/j0$b;)Lm2/j0;
move-result-object p0
return-object p0
.end method
.method public static final D()Z
.registers 1
sget-boolean v0, Lm2/f0;->j:Z
return v0
.end method
.method public static final declared-synchronized E()Z
.registers 2
const-class v0, Lm2/f0;
monitor-enter v0
:try_start_3
sget-boolean v1, Lm2/f0;->x:Z
:try_end_5
.catchall {:try_start_3 .. :try_end_5} :catchall_7
monitor-exit v0
return v1
:catchall_7
move-exception v1
monitor-exit v0
throw v1
.end method
.method public static final F()Z
.registers 1
sget-object v0, Lm2/f0;->t:Ljava/util/concurrent/atomic/AtomicBoolean;
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicBoolean;->get()Z
move-result v0
return v0
.end method
.method public static final G()Z
.registers 1
sget-boolean v0, Lm2/f0;->k:Z
return v0
.end method
.method public static final H(Lm2/r0;)Z
.registers 3
.param p0 # Lm2/r0;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
const-string v0, "behavior"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
sget-object v0, Lm2/f0;->c:Ljava/util/HashSet;
monitor-enter v0
:try_start_8
invoke-static {}, Lm2/f0;->D()Z
move-result v1
if-eqz v1, :cond_16
invoke-virtual {v0, p0}, Ljava/util/HashSet;->contains(Ljava/lang/Object;)Z
move-result p0
:try_end_12
.catchall {:try_start_8 .. :try_end_12} :catchall_19
if-eqz p0, :cond_16
const/4 p0, 0x1
goto :goto_17
:cond_16
const/4 p0, 0x0
:goto_17
monitor-exit v0
return p0
:catchall_19
move-exception p0
monitor-exit v0
throw p0
.end method
.method public static final I(Landroid/content/Context;)V
.registers 7
if-nez p0, :cond_3
return-void
:cond_3
:try_start_3
invoke-virtual {p0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
move-result-object v0
invoke-virtual {p0}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
move-result-object p0
const/16 v1, 0x80
invoke-virtual {v0, p0, v1}, Landroid/content/pm/PackageManager;->getApplicationInfo(Ljava/lang/String;I)Landroid/content/pm/ApplicationInfo;
move-result-object p0
:try_end_11
.catch Landroid/content/pm/PackageManager$NameNotFoundException; {:try_start_3 .. :try_end_11} :catch_a0
const-string v0, "try {\n context.packageManager.getApplicationInfo(\n context.packageName, PackageManager.GET_META_DATA)\n } catch (e: PackageManager.NameNotFoundException) {\n return\n }"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v0, p0, Landroid/content/pm/ApplicationInfo;->metaData:Landroid/os/Bundle;
if-nez v0, :cond_1b
return-void
:cond_1b
sget-object v0, Lm2/f0;->e:Ljava/lang/String;
const/4 v1, 0x0
if-nez v0, :cond_61
iget-object v0, p0, Landroid/content/pm/ApplicationInfo;->metaData:Landroid/os/Bundle;
const-string v2, "com.facebook.sdk.ApplicationId"
invoke-virtual {v0, v2}, Landroid/os/Bundle;->get(Ljava/lang/String;)Ljava/lang/Object;
move-result-object v0
instance-of v2, v0, Ljava/lang/String;
if-eqz v2, :cond_54
check-cast v0, Ljava/lang/String;
sget-object v2, Ljava/util/Locale;->ROOT:Ljava/util/Locale;
const-string v3, "ROOT"
invoke-static {v2, v3}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {v0, v2}, Ljava/lang/String;->toLowerCase(Ljava/util/Locale;)Ljava/lang/String;
move-result-object v2
const-string v3, "(this as java.lang.String).toLowerCase(locale)"
invoke-static {v2, v3}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
const-string v3, "fb"
const/4 v4, 0x0
const/4 v5, 0x2
invoke-static {v2, v3, v1, v5, v4}, Lkotlin/text/f;->u(Ljava/lang/String;Ljava/lang/String;ZILjava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_51
invoke-virtual {v0, v5}, Ljava/lang/String;->substring(I)Ljava/lang/String;
move-result-object v0
const-string v2, "(this as java.lang.String).substring(startIndex)"
invoke-static {v0, v2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
:cond_51
sput-object v0, Lm2/f0;->e:Ljava/lang/String;
goto :goto_61
:cond_54
instance-of v0, v0, Ljava/lang/Number;
if-nez v0, :cond_59
goto :goto_61
:cond_59
new-instance p0, Lm2/s;
const-string v0, "App Ids cannot be directly placed in the manifest.They must be prefixed by \'fb\' or be placed in the string resource file."
invoke-direct {p0, v0}, Lm2/s;-><init>(Ljava/lang/String;)V
throw p0
:cond_61
:goto_61
sget-object v0, Lm2/f0;->f:Ljava/lang/String;
if-nez v0, :cond_6f
iget-object v0, p0, Landroid/content/pm/ApplicationInfo;->metaData:Landroid/os/Bundle;
const-string v2, "com.facebook.sdk.ApplicationName"
invoke-virtual {v0, v2}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
sput-object v0, Lm2/f0;->f:Ljava/lang/String;
:cond_6f
sget-object v0, Lm2/f0;->g:Ljava/lang/String;
if-nez v0, :cond_7d
iget-object v0, p0, Landroid/content/pm/ApplicationInfo;->metaData:Landroid/os/Bundle;
const-string v2, "com.facebook.sdk.ClientToken"
invoke-virtual {v0, v2}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
sput-object v0, Lm2/f0;->g:Ljava/lang/String;
:cond_7d
sget v0, Lm2/f0;->n:I
const v2, 0xface
if-ne v0, v2, :cond_8e
iget-object v0, p0, Landroid/content/pm/ApplicationInfo;->metaData:Landroid/os/Bundle;
const-string v3, "com.facebook.sdk.CallbackOffset"
invoke-virtual {v0, v3, v2}, Landroid/os/Bundle;->getInt(Ljava/lang/String;I)I
move-result v0
sput v0, Lm2/f0;->n:I
:cond_8e
sget-object v0, Lm2/f0;->h:Ljava/lang/Boolean;
if-nez v0, :cond_a0
iget-object p0, p0, Landroid/content/pm/ApplicationInfo;->metaData:Landroid/os/Bundle;
const-string v0, "com.facebook.sdk.CodelessDebugLogEnabled"
invoke-virtual {p0, v0, v1}, Landroid/os/Bundle;->getBoolean(Ljava/lang/String;Z)Z
move-result p0
invoke-static {p0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object p0
sput-object p0, Lm2/f0;->h:Ljava/lang/Boolean;
:catch_a0
:cond_a0
return-void
.end method
.method private final J(Landroid/content/Context;Ljava/lang/String;)V
.registers 14
:try_start_0
sget-object v0, Lc3/b;->f:Lc3/b$a;
invoke-virtual {v0, p1}, Lc3/b$a;->e(Landroid/content/Context;)Lc3/b;
move-result-object v0
const-string v1, "com.facebook.sdk.attributionTracking"
const/4 v2, 0x0
invoke-virtual {p1, v1, v2}, Landroid/content/Context;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;
move-result-object v1
const-string v3, "ping"
invoke-static {p2, v3}, Lkotlin/jvm/internal/Intrinsics;->k(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String;
move-result-object v3
const-wide/16 v4, 0x0
invoke-interface {v1, v3, v4, v5}, Landroid/content/SharedPreferences;->getLong(Ljava/lang/String;J)J
move-result-wide v6
:try_end_19
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_19} :catch_6e
:try_start_19
sget-object v8, Lv2/h;->a:Lv2/h;
sget-object v8, Lv2/h$a;->a:Lv2/h$a;
sget-object v9, Ln2/p;->b:Ln2/p$a;
invoke-virtual {v9, p1}, Ln2/p$a;->d(Landroid/content/Context;)Ljava/lang/String;
move-result-object v9
invoke-static {p1}, Lm2/f0;->z(Landroid/content/Context;)Z
move-result v10
invoke-static {v8, v0, v9, v10, p1}, Lv2/h;->a(Lv2/h$a;Lc3/b;Ljava/lang/String;ZLandroid/content/Context;)Lorg/json/JSONObject;
move-result-object p1
:try_end_2b
.catch Lorg/json/JSONException; {:try_start_19 .. :try_end_2b} :catch_65
.catch Ljava/lang/Exception; {:try_start_19 .. :try_end_2b} :catch_6e
:try_start_2b
sget-object v0, Lua/a0;->a:Lua/a0;
const-string v0, "%s/activities"
const/4 v8, 0x1
new-array v9, v8, [Ljava/lang/Object;
aput-object p2, v9, v2
invoke-static {v9, v8}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
move-result-object p2
invoke-static {v0, p2}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object p2
const-string v0, "java.lang.String.format(format, *args)"
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
sget-object v0, Lm2/f0;->w:Lm2/f0$a;
const/4 v2, 0x0
invoke-interface {v0, v2, p2, p1, v2}, Lm2/f0$a;->a(Lm2/a;Ljava/lang/String;Lorg/json/JSONObject;Lm2/j0$b;)Lm2/j0;
move-result-object p1
cmp-long p2, v6, v4
if-nez p2, :cond_74
invoke-virtual {p1}, Lm2/j0;->k()Lm2/o0;
move-result-object p1
invoke-virtual {p1}, Lm2/o0;->b()Lm2/v;
move-result-object p1
if-nez p1, :cond_74
invoke-interface {v1}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
move-result-object p1
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v0
invoke-interface {p1, v3, v0, v1}, Landroid/content/SharedPreferences$Editor;->putLong(Ljava/lang/String;J)Landroid/content/SharedPreferences$Editor;
invoke-interface {p1}, Landroid/content/SharedPreferences$Editor;->apply()V
goto :goto_74
:catch_65
move-exception p1
new-instance p2, Lm2/s;
const-string v0, "An error occurred while publishing install."
invoke-direct {p2, v0, p1}, Lm2/s;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
throw p2
:try_end_6e
.catch Ljava/lang/Exception; {:try_start_2b .. :try_end_6e} :catch_6e
:catch_6e
move-exception p1
const-string p2, "Facebook-publish"
invoke-static {p2, p1}, Lc3/t0;->j0(Ljava/lang/String;Ljava/lang/Exception;)V
:cond_74
:goto_74
return-void
.end method
.method public static final K(Landroid/content/Context;Ljava/lang/String;)V
.registers 4
.param p0 # Landroid/content/Context;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.param p1 # Ljava/lang/String;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
const-string v0, "context"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "applicationId"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
move-result-object p0
if-nez p0, :cond_11
return-void
:cond_11
invoke-static {}, Lm2/f0;->t()Ljava/util/concurrent/Executor;
move-result-object v0
new-instance v1, Lm2/e0;
invoke-direct {v1, p0, p1}, Lm2/e0;-><init>(Landroid/content/Context;Ljava/lang/String;)V
invoke-interface {v0, v1}, Ljava/util/concurrent/Executor;->execute(Ljava/lang/Runnable;)V
sget-object p0, Lc3/s;->a:Lc3/s;
sget-object p0, Lc3/s$b;->q:Lc3/s$b;
invoke-static {p0}, Lc3/s;->g(Lc3/s$b;)Z
move-result p0
if-eqz p0, :cond_32
invoke-static {}, Lx2/c;->d()Z
move-result p0
if-eqz p0, :cond_32
const-string p0, "com.facebook.sdk.attributionTracking"
invoke-static {p1, p0}, Lx2/c;->g(Ljava/lang/String;Ljava/lang/String;)V
:cond_32
return-void
.end method
.method private static final L(Landroid/content/Context;Ljava/lang/String;)V
.registers 3
const-string v0, "$applicationContext"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "$applicationId"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
sget-object v0, Lm2/f0;->a:Lm2/f0;
invoke-direct {v0, p0, p1}, Lm2/f0;->J(Landroid/content/Context;Ljava/lang/String;)V
return-void
.end method
.method public static final declared-synchronized M(Landroid/content/Context;)V
.registers 3
.param p0 # Landroid/content/Context;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
const-class v0, Lm2/f0;
monitor-enter v0
:try_start_3
const-string v1, "applicationContext"
invoke-static {p0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const/4 v1, 0x0
invoke-static {p0, v1}, Lm2/f0;->N(Landroid/content/Context;Lm2/f0$b;)V
:try_end_c
.catchall {:try_start_3 .. :try_end_c} :catchall_e
monitor-exit v0
return-void
:catchall_e
move-exception p0
monitor-exit v0
throw p0
.end method
.method public static final declared-synchronized N(Landroid/content/Context;Lm2/f0$b;)V
.registers 7
.param p0 # Landroid/content/Context;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
const-class v0, Lm2/f0;
monitor-enter v0
:try_start_3
const-string v1, "applicationContext"
invoke-static {p0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
sget-object v1, Lm2/f0;->t:Ljava/util/concurrent/atomic/AtomicBoolean;
invoke-virtual {v1}, Ljava/util/concurrent/atomic/AtomicBoolean;->get()Z
move-result v2
if-eqz v2, :cond_18
if-nez p1, :cond_13
goto :goto_16
:cond_13
invoke-interface {p1}, Lm2/f0$b;->a()V
:try_end_16
.catchall {:try_start_3 .. :try_end_16} :catchall_107
:goto_16
monitor-exit v0
return-void
:cond_18
const/4 v2, 0x0
:try_start_19
invoke-static {p0, v2}, Lc3/u0;->g(Landroid/content/Context;Z)V
invoke-static {p0, v2}, Lc3/u0;->i(Landroid/content/Context;Z)V
invoke-virtual {p0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
move-result-object v3
const-string v4, "applicationContext.applicationContext"
invoke-static {v3, v4}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
sput-object v3, Lm2/f0;->m:Landroid/content/Context;
sget-object v3, Ln2/p;->b:Ln2/p$a;
invoke-virtual {v3, p0}, Ln2/p$a;->d(Landroid/content/Context;)Ljava/lang/String;
sget-object p0, Lm2/f0;->m:Landroid/content/Context;
const/4 v3, 0x0
if-eqz p0, :cond_101
invoke-static {p0}, Lm2/f0;->I(Landroid/content/Context;)V
sget-object p0, Lm2/f0;->e:Ljava/lang/String;
const/4 v4, 0x1
if-eqz p0, :cond_45
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result p0
if-nez p0, :cond_43
goto :goto_45
:cond_43
const/4 p0, 0x0
goto :goto_46
:cond_45
:goto_45
const/4 p0, 0x1
:goto_46
if-nez p0, :cond_f9
sget-object p0, Lm2/f0;->g:Ljava/lang/String;
if-eqz p0, :cond_52
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
move-result p0
if-nez p0, :cond_53
:cond_52
const/4 v2, 0x1
:cond_53
if-nez v2, :cond_f1
invoke-virtual {v1, v4}, Ljava/util/concurrent/atomic/AtomicBoolean;->set(Z)V
invoke-static {}, Lm2/f0;->o()Z
move-result p0
if-eqz p0, :cond_61
invoke-static {}, Lm2/f0;->j()V
:cond_61
sget-object p0, Lm2/f0;->m:Landroid/content/Context;
if-eqz p0, :cond_eb
instance-of p0, p0, Landroid/app/Application;
if-eqz p0, :cond_83
invoke-static {}, Lm2/c1;->d()Z
move-result p0
if-eqz p0, :cond_83
sget-object p0, Lv2/f;->a:Lv2/f;
sget-object p0, Lm2/f0;->m:Landroid/content/Context;
if-eqz p0, :cond_7d
check-cast p0, Landroid/app/Application;
sget-object v1, Lm2/f0;->e:Ljava/lang/String;
invoke-static {p0, v1}, Lv2/f;->x(Landroid/app/Application;Ljava/lang/String;)V
goto :goto_83
:cond_7d
const-string p0, "applicationContext"
invoke-static {p0}, Lkotlin/jvm/internal/Intrinsics;->r(Ljava/lang/String;)V
throw v3
:cond_83
:goto_83
invoke-static {}, Lc3/a0;->g()V
invoke-static {}, Lc3/k0;->E()V
sget-object p0, Lc3/c;->b:Lc3/c$a;
sget-object v1, Lm2/f0;->m:Landroid/content/Context;
if-eqz v1, :cond_e5
invoke-virtual {p0, v1}, Lc3/c$a;->a(Landroid/content/Context;)Lc3/c;
new-instance p0, Lc3/g0;
new-instance v1, Lm2/w;
invoke-direct {v1}, Lm2/w;-><init>()V
invoke-direct {p0, v1}, Lc3/g0;-><init>(Ljava/util/concurrent/Callable;)V
sput-object p0, Lm2/f0;->l:Lc3/g0;
sget-object p0, Lc3/s;->a:Lc3/s;
sget-object p0, Lc3/s$b;->u:Lc3/s$b;
new-instance v1, Lm2/x;
invoke-direct {v1}, Lm2/x;-><init>()V
invoke-static {p0, v1}, Lc3/s;->a(Lc3/s$b;Lc3/s$a;)V
sget-object p0, Lc3/s$b;->e:Lc3/s$b;
new-instance v1, Lm2/y;
invoke-direct {v1}, Lm2/y;-><init>()V
invoke-static {p0, v1}, Lc3/s;->a(Lc3/s$b;Lc3/s$a;)V
sget-object p0, Lc3/s$b;->S:Lc3/s$b;
new-instance v1, Lm2/z;
invoke-direct {v1}, Lm2/z;-><init>()V
invoke-static {p0, v1}, Lc3/s;->a(Lc3/s$b;Lc3/s$a;)V
sget-object p0, Lc3/s$b;->T:Lc3/s$b;
new-instance v1, Lm2/a0;
invoke-direct {v1}, Lm2/a0;-><init>()V
invoke-static {p0, v1}, Lc3/s;->a(Lc3/s$b;Lc3/s$a;)V
sget-object p0, Lc3/s$b;->U:Lc3/s$b;
new-instance v1, Lm2/b0;
invoke-direct {v1}, Lm2/b0;-><init>()V
invoke-static {p0, v1}, Lc3/s;->a(Lc3/s$b;Lc3/s$a;)V
new-instance p0, Ljava/util/concurrent/FutureTask;
new-instance v1, Lm2/c0;
invoke-direct {v1, p1}, Lm2/c0;-><init>(Lm2/f0$b;)V
invoke-direct {p0, v1}, Ljava/util/concurrent/FutureTask;-><init>(Ljava/util/concurrent/Callable;)V
invoke-static {}, Lm2/f0;->t()Ljava/util/concurrent/Executor;
move-result-object p1
invoke-interface {p1, p0}, Ljava/util/concurrent/Executor;->execute(Ljava/lang/Runnable;)V
:try_end_e3
.catchall {:try_start_19 .. :try_end_e3} :catchall_107
monitor-exit v0
return-void
:cond_e5
:try_start_e5
const-string p0, "applicationContext"
invoke-static {p0}, Lkotlin/jvm/internal/Intrinsics;->r(Ljava/lang/String;)V
throw v3
:cond_eb
const-string p0, "applicationContext"
invoke-static {p0}, Lkotlin/jvm/internal/Intrinsics;->r(Ljava/lang/String;)V
throw v3
:cond_f1
new-instance p0, Lm2/s;
const-string p1, "A valid Facebook app client token must be set in the AndroidManifest.xml or set by calling FacebookSdk.setClientToken before initializing the sdk."
invoke-direct {p0, p1}, Lm2/s;-><init>(Ljava/lang/String;)V
throw p0
:cond_f9
new-instance p0, Lm2/s;
const-string p1, "A valid Facebook app id must be set in the AndroidManifest.xml or set by calling FacebookSdk.setApplicationId before initializing the sdk."
invoke-direct {p0, p1}, Lm2/s;-><init>(Ljava/lang/String;)V
throw p0
:cond_101
const-string p0, "applicationContext"
invoke-static {p0}, Lkotlin/jvm/internal/Intrinsics;->r(Ljava/lang/String;)V
throw v3
:try_end_107
.catchall {:try_start_e5 .. :try_end_107} :catchall_107
:catchall_107
move-exception p0
monitor-exit v0
throw p0
.end method
.method private static final O()Ljava/io/File;
.registers 1
sget-object v0, Lm2/f0;->m:Landroid/content/Context;
if-eqz v0, :cond_9
invoke-virtual {v0}, Landroid/content/Context;->getCacheDir()Ljava/io/File;
move-result-object v0
return-object v0
:cond_9
const-string v0, "applicationContext"
invoke-static {v0}, Lkotlin/jvm/internal/Intrinsics;->r(Ljava/lang/String;)V
const/4 v0, 0x0
throw v0
.end method
.method private static final P(Z)V
.registers 1
if-eqz p0, :cond_5
invoke-static {}, Le3/g;->d()V
:cond_5
return-void
.end method
.method private static final Q(Z)V
.registers 1
if-eqz p0, :cond_5
invoke-static {}, Ln2/b0;->a()V
:cond_5
return-void
.end method
.method private static final R(Z)V
.registers 1
if-eqz p0, :cond_5
const/4 p0, 0x1
sput-boolean p0, Lm2/f0;->q:Z
:cond_5
return-void
.end method
.method private static final S(Z)V
.registers 1
if-eqz p0, :cond_5
const/4 p0, 0x1
sput-boolean p0, Lm2/f0;->r:Z
:cond_5
return-void
.end method
.method private static final T(Z)V
.registers 1
if-eqz p0, :cond_5
const/4 p0, 0x1
sput-boolean p0, Lm2/f0;->s:Z
:cond_5
return-void
.end method
.method private static final U(Lm2/f0$b;)Ljava/lang/Void;
.registers 3
sget-object v0, Lm2/g;->f:Lm2/g$a;
invoke-virtual {v0}, Lm2/g$a;->e()Lm2/g;
move-result-object v0
invoke-virtual {v0}, Lm2/g;->j()Z
sget-object v0, Lm2/u0;->d:Lm2/u0$a;
invoke-virtual {v0}, Lm2/u0$a;->a()Lm2/u0;
move-result-object v0
invoke-virtual {v0}, Lm2/u0;->d()Z
sget-object v0, Lm2/a;->l:Lm2/a$c;
invoke-virtual {v0}, Lm2/a$c;->g()Z
move-result v0
if-eqz v0, :cond_25
sget-object v0, Lm2/s0;->h:Lm2/s0$b;
invoke-virtual {v0}, Lm2/s0$b;->b()Lm2/s0;
move-result-object v1
if-nez v1, :cond_25
invoke-virtual {v0}, Lm2/s0$b;->a()V
:cond_25
if-nez p0, :cond_28
goto :goto_2b
:cond_28
invoke-interface {p0}, Lm2/f0$b;->a()V
:goto_2b
sget-object p0, Ln2/p;->b:Ln2/p$a;
invoke-static {}, Lm2/f0;->l()Landroid/content/Context;
move-result-object v0
sget-object v1, Lm2/f0;->e:Ljava/lang/String;
invoke-virtual {p0, v0, v1}, Ln2/p$a;->g(Landroid/content/Context;Ljava/lang/String;)V
invoke-static {}, Lm2/c1;->k()V
invoke-static {}, Lm2/f0;->l()Landroid/content/Context;
move-result-object v0
invoke-virtual {v0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
move-result-object v0
const-string v1, "getApplicationContext().applicationContext"
invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p0, v0}, Ln2/p$a;->h(Landroid/content/Context;)Ln2/p;
move-result-object p0
invoke-virtual {p0}, Ln2/p;->c()V
const/4 p0, 0x0
return-object p0
.end method
.method public static final V(Z)V
.registers 1
invoke-static {p0}, Lm2/c1;->o(Z)V
return-void
.end method
.method public static final W(Z)V
.registers 2
invoke-static {p0}, Lm2/c1;->p(Z)V
if-eqz p0, :cond_14
invoke-static {}, Lm2/f0;->l()Landroid/content/Context;
move-result-object p0
check-cast p0, Landroid/app/Application;
sget-object v0, Lv2/f;->a:Lv2/f;
invoke-static {}, Lm2/f0;->m()Ljava/lang/String;
move-result-object v0
invoke-static {p0, v0}, Lv2/f;->x(Landroid/app/Application;Ljava/lang/String;)V
:cond_14
return-void
.end method
.method public static final X(Ljava/lang/String;)V
.registers 3
.param p0 # Ljava/lang/String;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
const-string v0, "graphApiVersion"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
sget-object v0, Lm2/f0;->b:Ljava/lang/String;
const-string v1, "WARNING: Calling setGraphApiVersion from non-DEBUG code."
invoke-static {v0, v1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
invoke-static {p0}, Lc3/t0;->d0(Ljava/lang/String;)Z
move-result v0
if-nez v0, :cond_1c
sget-object v0, Lm2/f0;->p:Ljava/lang/String;
invoke-static {v0, p0}, Lkotlin/jvm/internal/Intrinsics;->a(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_1c
sput-object p0, Lm2/f0;->p:Ljava/lang/String;
:cond_1c
return-void
.end method
.method public static synthetic a(Z)V
.registers 1
invoke-static {p0}, Lm2/f0;->P(Z)V
return-void
.end method
.method public static synthetic b(Z)V
.registers 1
invoke-static {p0}, Lm2/f0;->S(Z)V
return-void
.end method
.method public static synthetic c(Z)V
.registers 1
invoke-static {p0}, Lm2/f0;->T(Z)V
return-void
.end method
.method public static synthetic d(Lm2/f0$b;)Ljava/lang/Void;
.registers 1
invoke-static {p0}, Lm2/f0;->U(Lm2/f0$b;)Ljava/lang/Void;
move-result-object p0
return-object p0
.end method
.method public static synthetic e(Z)V
.registers 1
invoke-static {p0}, Lm2/f0;->Q(Z)V
return-void
.end method
.method public static synthetic f(Landroid/content/Context;Ljava/lang/String;)V
.registers 2
invoke-static {p0, p1}, Lm2/f0;->L(Landroid/content/Context;Ljava/lang/String;)V
return-void
.end method
.method public static synthetic g(Z)V
.registers 1
invoke-static {p0}, Lm2/f0;->R(Z)V
return-void
.end method
.method public static synthetic h()Ljava/io/File;
.registers 1
invoke-static {}, Lm2/f0;->O()Ljava/io/File;
move-result-object v0
return-object v0
.end method
.method public static synthetic i(Lm2/a;Ljava/lang/String;Lorg/json/JSONObject;Lm2/j0$b;)Lm2/j0;
.registers 4
invoke-static {p0, p1, p2, p3}, Lm2/f0;->C(Lm2/a;Ljava/lang/String;Lorg/json/JSONObject;Lm2/j0$b;)Lm2/j0;
move-result-object p0
return-object p0
.end method
.method public static final j()V
.registers 1
const/4 v0, 0x1
sput-boolean v0, Lm2/f0;->x:Z
return-void
.end method
.method public static final k()Z
.registers 1
invoke-static {}, Lm2/c1;->b()Z
move-result v0
return v0
.end method
.method public static final l()Landroid/content/Context;
.registers 1
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
invoke-static {}, Lc3/u0;->o()V
sget-object v0, Lm2/f0;->m:Landroid/content/Context;
if-eqz v0, :cond_8
return-object v0
:cond_8
const-string v0, "applicationContext"
invoke-static {v0}, Lkotlin/jvm/internal/Intrinsics;->r(Ljava/lang/String;)V
const/4 v0, 0x0
throw v0
.end method
.method public static final m()Ljava/lang/String;
.registers 2
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
invoke-static {}, Lc3/u0;->o()V
sget-object v0, Lm2/f0;->e:Ljava/lang/String;
if-eqz v0, :cond_8
return-object v0
:cond_8
new-instance v0, Lm2/s;
const-string v1, "A valid Facebook app id must be set in the AndroidManifest.xml or set by calling FacebookSdk.setApplicationId before initializing the sdk."
invoke-direct {v0, v1}, Lm2/s;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public static final n()Ljava/lang/String;
.registers 1
invoke-static {}, Lc3/u0;->o()V
sget-object v0, Lm2/f0;->f:Ljava/lang/String;
return-object v0
.end method
.method public static final o()Z
.registers 1
invoke-static {}, Lm2/c1;->c()Z
move-result v0
return v0
.end method
.method public static final p()Z
.registers 1
invoke-static {}, Lm2/c1;->d()Z
move-result v0
return v0
.end method
.method public static final q()I
.registers 1
invoke-static {}, Lc3/u0;->o()V
sget v0, Lm2/f0;->n:I
return v0
.end method
.method public static final r()Ljava/lang/String;
.registers 2
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
invoke-static {}, Lc3/u0;->o()V
sget-object v0, Lm2/f0;->g:Ljava/lang/String;
if-eqz v0, :cond_8
return-object v0
:cond_8
new-instance v0, Lm2/s;
const-string v1, "A valid Facebook client token must be set in the AndroidManifest.xml or set by calling FacebookSdk.setClientToken before initializing the sdk. Visit https://developers.facebook.com/docs/android/getting-started#add-app_id for more information."
invoke-direct {v0, v1}, Lm2/s;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public static final s()Z
.registers 1
invoke-static {}, Lm2/c1;->e()Z
move-result v0
return v0
.end method
.method public static final t()Ljava/util/concurrent/Executor;
.registers 2
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
sget-object v0, Lm2/f0;->o:Ljava/util/concurrent/locks/ReentrantLock;
invoke-interface {v0}, Ljava/util/concurrent/locks/Lock;->lock()V
:try_start_5
sget-object v1, Lm2/f0;->d:Ljava/util/concurrent/Executor;
if-nez v1, :cond_d
sget-object v1, Landroid/os/AsyncTask;->THREAD_POOL_EXECUTOR:Ljava/util/concurrent/Executor;
sput-object v1, Lm2/f0;->d:Ljava/util/concurrent/Executor;
:cond_d
sget-object v1, Lkotlin/Unit;->a:Lkotlin/Unit;
:try_end_f
.catchall {:try_start_5 .. :try_end_f} :catchall_23
invoke-interface {v0}, Ljava/util/concurrent/locks/Lock;->unlock()V
sget-object v0, Lm2/f0;->d:Ljava/util/concurrent/Executor;
if-eqz v0, :cond_17
return-object v0
:cond_17
new-instance v0, Ljava/lang/IllegalStateException;
const-string v1, "Required value was null."
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
:catchall_23
move-exception v1
invoke-interface {v0}, Ljava/util/concurrent/locks/Lock;->unlock()V
throw v1
.end method
.method public static final u()Ljava/lang/String;
.registers 1
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
sget-object v0, Lm2/f0;->v:Ljava/lang/String;
return-object v0
.end method
.method public static final v()Ljava/lang/String;
.registers 1
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
const-string v0, "fb.gg"
return-object v0
.end method
.method public static final w()Ljava/lang/String;
.registers 5
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
sget-object v0, Lc3/t0;->a:Lc3/t0;
sget-object v0, Lm2/f0;->b:Ljava/lang/String;
sget-object v1, Lua/a0;->a:Lua/a0;
const/4 v1, 0x1
new-array v2, v1, [Ljava/lang/Object;
const/4 v3, 0x0
sget-object v4, Lm2/f0;->p:Ljava/lang/String;
aput-object v4, v2, v3
invoke-static {v2, v1}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
move-result-object v1
const-string v2, "getGraphApiVersion: %s"
invoke-static {v2, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v1
const-string v2, "java.lang.String.format(format, *args)"
invoke-static {v1, v2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {v0, v1}, Lc3/t0;->k0(Ljava/lang/String;Ljava/lang/String;)V
sget-object v0, Lm2/f0;->p:Ljava/lang/String;
return-object v0
.end method
.method public static final x()Ljava/lang/String;
.registers 1
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
sget-object v0, Lm2/a;->l:Lm2/a$c;
invoke-virtual {v0}, Lm2/a$c;->e()Lm2/a;
move-result-object v0
if-eqz v0, :cond_d
invoke-virtual {v0}, Lm2/a;->s()Ljava/lang/String;
move-result-object v0
goto :goto_e
:cond_d
const/4 v0, 0x0
:goto_e
invoke-static {v0}, Lc3/t0;->E(Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
return-object v0
.end method
.method public static final y()Ljava/lang/String;
.registers 1
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
sget-object v0, Lm2/f0;->u:Ljava/lang/String;
return-object v0
.end method
.method public static final z(Landroid/content/Context;)Z
.registers 3
.param p0 # Landroid/content/Context;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
const-string v0, "context"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {}, Lc3/u0;->o()V
const-string v0, "com.facebook.sdk.appEventPreferences"
const/4 v1, 0x0
invoke-virtual {p0, v0, v1}, Landroid/content/Context;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;
move-result-object p0
const-string v0, "limitEventUsage"
invoke-interface {p0, v0, v1}, Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z
move-result p0
return p0
.end method