1097 lines
33 KiB
Smali
1097 lines
33 KiB
Smali
.class public final Lcom/discord/widgets/auth/WidgetAuthBirthday;
|
|
.super Lcom/discord/app/AppFragment;
|
|
.source "WidgetAuthBirthday.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/discord/widgets/auth/WidgetAuthBirthday$Companion;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final synthetic $$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
.field public static final Companion:Lcom/discord/widgets/auth/WidgetAuthBirthday$Companion;
|
|
|
|
.field public static final INTENT_EXTRA_EMAIL:Ljava/lang/String; = "INTENT_EXTRA_EMAIL"
|
|
|
|
.field public static final INTENT_EXTRA_PASSWORD:Ljava/lang/String; = "INTENT_EXTRA_PASSWORD"
|
|
|
|
.field public static final INTENT_EXTRA_USERNAME:Ljava/lang/String; = "INTENT_EXTRA_USERNAME"
|
|
|
|
.field public static final VALIDATOR_DATE_OF_BIRTH:Ljava/lang/String; = "dateOfBirth"
|
|
|
|
.field public static final VALIDATOR_TOS:Ljava/lang/String; = "tos"
|
|
|
|
|
|
# instance fields
|
|
.field public final dimmer$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
.field public email:Ljava/lang/String;
|
|
|
|
.field public final formatter:Ljava/text/DateFormat;
|
|
|
|
.field public final input$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
.field public isConsentRequired:Z
|
|
|
|
.field public password:Ljava/lang/String;
|
|
|
|
.field public final policyLinks$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
.field public final registerButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
.field public final tosOptIn$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
.field public username:Ljava/lang/String;
|
|
|
|
.field public final validationManager$delegate:Lkotlin/Lazy;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 5
|
|
|
|
const/4 v0, 0x5
|
|
|
|
new-array v0, v0, [Lkotlin/reflect/KProperty;
|
|
|
|
const-class v1, Lcom/discord/widgets/auth/WidgetAuthBirthday;
|
|
|
|
const-string v2, "input"
|
|
|
|
const-string v3, "getInput()Lcom/google/android/material/textfield/TextInputLayout;"
|
|
|
|
const/4 v4, 0x0
|
|
|
|
invoke-static {v1, v2, v3, v4}, Lf/e/c/a/a;->L(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;I)Lz/n/c/s;
|
|
|
|
move-result-object v1
|
|
|
|
aput-object v1, v0, v4
|
|
|
|
const-class v1, Lcom/discord/widgets/auth/WidgetAuthBirthday;
|
|
|
|
const-string/jumbo v2, "tosOptIn"
|
|
|
|
const-string v3, "getTosOptIn()Landroid/widget/CheckBox;"
|
|
|
|
invoke-static {v1, v2, v3, v4}, Lf/e/c/a/a;->L(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;I)Lz/n/c/s;
|
|
|
|
move-result-object v1
|
|
|
|
const/4 v2, 0x1
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
const-class v1, Lcom/discord/widgets/auth/WidgetAuthBirthday;
|
|
|
|
const-string v2, "policyLinks"
|
|
|
|
const-string v3, "getPolicyLinks()Landroid/widget/TextView;"
|
|
|
|
invoke-static {v1, v2, v3, v4}, Lf/e/c/a/a;->L(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;I)Lz/n/c/s;
|
|
|
|
move-result-object v1
|
|
|
|
const/4 v2, 0x2
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
const-class v1, Lcom/discord/widgets/auth/WidgetAuthBirthday;
|
|
|
|
const-string v2, "registerButton"
|
|
|
|
const-string v3, "getRegisterButton()Landroid/widget/Button;"
|
|
|
|
invoke-static {v1, v2, v3, v4}, Lf/e/c/a/a;->L(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;I)Lz/n/c/s;
|
|
|
|
move-result-object v1
|
|
|
|
const/4 v2, 0x3
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
const-class v1, Lcom/discord/widgets/auth/WidgetAuthBirthday;
|
|
|
|
const-string v2, "dimmer"
|
|
|
|
const-string v3, "getDimmer()Lcom/discord/utilities/dimmer/DimmerView;"
|
|
|
|
invoke-static {v1, v2, v3, v4}, Lf/e/c/a/a;->L(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;I)Lz/n/c/s;
|
|
|
|
move-result-object v1
|
|
|
|
const/4 v2, 0x4
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
sput-object v0, Lcom/discord/widgets/auth/WidgetAuthBirthday;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
new-instance v0, Lcom/discord/widgets/auth/WidgetAuthBirthday$Companion;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-direct {v0, v1}, Lcom/discord/widgets/auth/WidgetAuthBirthday$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
sput-object v0, Lcom/discord/widgets/auth/WidgetAuthBirthday;->Companion:Lcom/discord/widgets/auth/WidgetAuthBirthday$Companion;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
invoke-direct {p0}, Lcom/discord/app/AppFragment;-><init>()V
|
|
|
|
const v0, 0x7f0a00cb
|
|
|
|
invoke-static {p0, v0}, Lz/i/s;->i(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/auth/WidgetAuthBirthday;->input$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
const v0, 0x7f0a00d5
|
|
|
|
invoke-static {p0, v0}, Lz/i/s;->i(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/auth/WidgetAuthBirthday;->tosOptIn$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
const v0, 0x7f0a00ca
|
|
|
|
invoke-static {p0, v0}, Lz/i/s;->i(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/auth/WidgetAuthBirthday;->policyLinks$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
const v0, 0x7f0a00cc
|
|
|
|
invoke-static {p0, v0}, Lz/i/s;->i(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/auth/WidgetAuthBirthday;->registerButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
const v0, 0x7f0a0345
|
|
|
|
invoke-static {p0, v0}, Lz/i/s;->i(Landroidx/fragment/app/Fragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/auth/WidgetAuthBirthday;->dimmer$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
const/4 v0, 0x1
|
|
|
|
iput-boolean v0, p0, Lcom/discord/widgets/auth/WidgetAuthBirthday;->isConsentRequired:Z
|
|
|
|
const/4 v0, 0x3
|
|
|
|
invoke-static {v0}, Ljava/text/DateFormat;->getDateInstance(I)Ljava/text/DateFormat;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/auth/WidgetAuthBirthday;->formatter:Ljava/text/DateFormat;
|
|
|
|
new-instance v0, Lcom/discord/widgets/auth/WidgetAuthBirthday$validationManager$2;
|
|
|
|
invoke-direct {v0, p0}, Lcom/discord/widgets/auth/WidgetAuthBirthday$validationManager$2;-><init>(Lcom/discord/widgets/auth/WidgetAuthBirthday;)V
|
|
|
|
invoke-static {v0}, Lf/h/a/f/f/n/f;->lazy(Lkotlin/jvm/functions/Function0;)Lkotlin/Lazy;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/auth/WidgetAuthBirthday;->validationManager$delegate:Lkotlin/Lazy;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final synthetic access$getBirthday(Lcom/discord/widgets/auth/WidgetAuthBirthday;)Ljava/lang/Long;
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/auth/WidgetAuthBirthday;->getBirthday()Ljava/lang/Long;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final synthetic access$getInput$p(Lcom/discord/widgets/auth/WidgetAuthBirthday;)Lcom/google/android/material/textfield/TextInputLayout;
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/auth/WidgetAuthBirthday;->getInput()Lcom/google/android/material/textfield/TextInputLayout;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final synthetic access$getTosOptIn$p(Lcom/discord/widgets/auth/WidgetAuthBirthday;)Landroid/widget/CheckBox;
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/auth/WidgetAuthBirthday;->getTosOptIn()Landroid/widget/CheckBox;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final synthetic access$handleError(Lcom/discord/widgets/auth/WidgetAuthBirthday;Lcom/discord/utilities/error/Error;)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Lcom/discord/widgets/auth/WidgetAuthBirthday;->handleError(Lcom/discord/utilities/error/Error;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final synthetic access$isConsentRequired$p(Lcom/discord/widgets/auth/WidgetAuthBirthday;)Z
|
|
.locals 0
|
|
|
|
iget-boolean p0, p0, Lcom/discord/widgets/auth/WidgetAuthBirthday;->isConsentRequired:Z
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final synthetic access$setBirthday(Lcom/discord/widgets/auth/WidgetAuthBirthday;J)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1, p2}, Lcom/discord/widgets/auth/WidgetAuthBirthday;->setBirthday(J)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final synthetic access$setConsentRequired$p(Lcom/discord/widgets/auth/WidgetAuthBirthday;Z)V
|
|
.locals 0
|
|
|
|
iput-boolean p1, p0, Lcom/discord/widgets/auth/WidgetAuthBirthday;->isConsentRequired:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private final getBirthday()Ljava/lang/Long;
|
|
.locals 3
|
|
|
|
const/4 v0, 0x0
|
|
|
|
:try_start_0
|
|
iget-object v1, p0, Lcom/discord/widgets/auth/WidgetAuthBirthday;->formatter:Ljava/text/DateFormat;
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/auth/WidgetAuthBirthday;->getInput()Lcom/google/android/material/textfield/TextInputLayout;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-static {v2}, Lcom/discord/utilities/view/extensions/ViewExtensions;->getTextOrEmpty(Lcom/google/android/material/textfield/TextInputLayout;)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Ljava/text/DateFormat;->parse(Ljava/lang/String;)Ljava/util/Date;
|
|
|
|
move-result-object v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
invoke-virtual {v1}, Ljava/util/Date;->getTime()J
|
|
|
|
move-result-wide v1
|
|
|
|
invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object v0
|
|
:try_end_0
|
|
.catch Ljava/text/ParseException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
:catch_0
|
|
:cond_0
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private final getDimmer()Lcom/discord/utilities/dimmer/DimmerView;
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/auth/WidgetAuthBirthday;->dimmer$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
sget-object v1, Lcom/discord/widgets/auth/WidgetAuthBirthday;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
const/4 v2, 0x4
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lcom/discord/utilities/dimmer/DimmerView;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private final getFormattedTermsText(Landroid/content/Context;I)Ljava/lang/CharSequence;
|
|
.locals 10
|
|
|
|
const/4 v0, 0x2
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
const v1, 0x7f12179f
|
|
|
|
invoke-virtual {p1, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
const v1, 0x7f121419
|
|
|
|
invoke-virtual {p1, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
const/4 v2, 0x1
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
invoke-virtual {p1, p2, v0}, Landroid/content/Context;->getString(I[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
const-string p2, "getString(\n des\u2026ivacy_policy_url)\n )"
|
|
|
|
invoke-static {v4, p2}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const/4 v5, 0x0
|
|
|
|
const/4 v6, 0x0
|
|
|
|
const/4 v7, 0x0
|
|
|
|
const/16 v8, 0x1c
|
|
|
|
const/4 v9, 0x0
|
|
|
|
move-object v3, p1
|
|
|
|
invoke-static/range {v3 .. v9}, Lcom/discord/utilities/textprocessing/Parsers;->parseMaskedLinks$default(Landroid/content/Context;Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function3;Lkotlin/jvm/functions/Function1;Ljava/lang/Integer;ILjava/lang/Object;)Ljava/lang/CharSequence;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method private final getInput()Lcom/google/android/material/textfield/TextInputLayout;
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/auth/WidgetAuthBirthday;->input$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
sget-object v1, Lcom/discord/widgets/auth/WidgetAuthBirthday;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lcom/google/android/material/textfield/TextInputLayout;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private final getPolicyLinks()Landroid/widget/TextView;
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/auth/WidgetAuthBirthday;->policyLinks$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
sget-object v1, Lcom/discord/widgets/auth/WidgetAuthBirthday;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
const/4 v2, 0x2
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/widget/TextView;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private final getRegisterButton()Landroid/widget/Button;
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/auth/WidgetAuthBirthday;->registerButton$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
sget-object v1, Lcom/discord/widgets/auth/WidgetAuthBirthday;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
const/4 v2, 0x3
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/widget/Button;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private final getTosOptIn()Landroid/widget/CheckBox;
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/auth/WidgetAuthBirthday;->tosOptIn$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
sget-object v1, Lcom/discord/widgets/auth/WidgetAuthBirthday;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
const/4 v2, 0x1
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/widget/CheckBox;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private final getValidationManager()Lcom/discord/utilities/view/validators/ValidationManager;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/auth/WidgetAuthBirthday;->validationManager$delegate:Lkotlin/Lazy;
|
|
|
|
invoke-interface {v0}, Lkotlin/Lazy;->getValue()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lcom/discord/utilities/view/validators/ValidationManager;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private final handleError(Lcom/discord/utilities/error/Error;)V
|
|
.locals 13
|
|
|
|
invoke-virtual {p1}, Lcom/discord/utilities/error/Error;->getResponse()Lcom/discord/utilities/error/Error$Response;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "error.response"
|
|
|
|
invoke-static {v0, v1}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v0}, Lcom/discord/utilities/error/Error$Response;->getMessages()Ljava/util/Map;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v2, "error.response.messages"
|
|
|
|
invoke-static {v0, v2}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v3, "date_of_birth"
|
|
|
|
invoke-interface {v0, v3}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
const/4 v4, 0x1
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-virtual {p1, v0}, Lcom/discord/utilities/error/Error;->setShowErrorToasts(Z)V
|
|
|
|
invoke-virtual {p1}, Lcom/discord/utilities/error/Error;->getResponse()Lcom/discord/utilities/error/Error$Response;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1, v1}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p1}, Lcom/discord/utilities/error/Error$Response;->getMessages()Ljava/util/Map;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p1, v2}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-interface {p1, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
sget-object p1, Lz/i/l;->d:Lz/i/l;
|
|
|
|
:goto_0
|
|
const-string v1, "error.response.messages\n\u2026IRTH_KEY) { emptyList() }"
|
|
|
|
invoke-static {p1, v1}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
move-object v5, p1
|
|
|
|
check-cast v5, Ljava/lang/Iterable;
|
|
|
|
const/4 v7, 0x0
|
|
|
|
const/4 v8, 0x0
|
|
|
|
const/4 v9, 0x0
|
|
|
|
const/4 v10, 0x0
|
|
|
|
const/4 v11, 0x0
|
|
|
|
const/16 v12, 0x3e
|
|
|
|
const-string v6, "\n"
|
|
|
|
invoke-static/range {v5 .. v12}, Lz/i/f;->joinToString$default(Ljava/lang/Iterable;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ILjava/lang/CharSequence;Lkotlin/jvm/functions/Function1;I)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
sget-object v1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
|
|
|
invoke-virtual {v1}, Lcom/discord/stores/StoreStream$Companion;->getAuthentication()Lcom/discord/stores/StoreAuthentication;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v1, p1}, Lcom/discord/stores/StoreAuthentication;->setAgeGateError(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v1, "requireContext()"
|
|
|
|
invoke-static {p1, v1}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
new-instance v1, Landroid/content/Intent;
|
|
|
|
invoke-direct {v1}, Landroid/content/Intent;-><init>()V
|
|
|
|
new-instance v2, Lcom/discord/widgets/home/HomeConfig;
|
|
|
|
const/4 v3, 0x0
|
|
|
|
invoke-direct {v2, v3, v4, v4, v3}, Lcom/discord/widgets/home/HomeConfig;-><init>(Ljava/lang/Long;ZILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
const-string v3, "com.discord.intent.extra.EXTRA_HOME_CONFIG"
|
|
|
|
invoke-virtual {v1, v3, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {p1, v0, v1}, Lf/a/b/m;->b(Landroid/content/Context;ZLandroid/content/Intent;)V
|
|
|
|
return-void
|
|
|
|
:cond_1
|
|
invoke-virtual {p1}, Lcom/discord/utilities/error/Error;->getType()Lcom/discord/utilities/error/Error$Type;
|
|
|
|
move-result-object v0
|
|
|
|
sget-object v3, Lcom/discord/utilities/error/Error$Type;->RATE_LIMITED:Lcom/discord/utilities/error/Error$Type;
|
|
|
|
if-ne v0, v3, :cond_2
|
|
|
|
invoke-virtual {p1, v4}, Lcom/discord/utilities/error/Error;->setShowErrorToasts(Z)V
|
|
|
|
:cond_2
|
|
invoke-virtual {p1}, Lcom/discord/utilities/error/Error;->getResponse()Lcom/discord/utilities/error/Error$Response;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0, v1}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v0}, Lcom/discord/utilities/error/Error$Response;->getMessages()Ljava/util/Map;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {v0}, Ljava/util/Map;->isEmpty()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
return-void
|
|
|
|
:cond_3
|
|
invoke-direct {p0}, Lcom/discord/widgets/auth/WidgetAuthBirthday;->getValidationManager()Lcom/discord/utilities/view/validators/ValidationManager;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p1}, Lcom/discord/utilities/error/Error;->getResponse()Lcom/discord/utilities/error/Error$Response;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-static {v3, v1}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v3}, Lcom/discord/utilities/error/Error$Response;->getMessages()Ljava/util/Map;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v1, v2}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v0, v1}, Lcom/discord/utilities/view/validators/ValidationManager;->setErrors(Ljava/util/Map;)Ljava/util/Collection;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "captcha_key"
|
|
|
|
invoke-interface {v0, v1}, Ljava/util/Collection;->contains(Ljava/lang/Object;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_4
|
|
|
|
sget-object v1, Lcom/discord/widgets/auth/WidgetAuthCaptcha;->Companion:Lcom/discord/widgets/auth/WidgetAuthCaptcha$Companion;
|
|
|
|
invoke-virtual {v1, p0}, Lcom/discord/widgets/auth/WidgetAuthCaptcha$Companion;->launch(Lcom/discord/app/AppFragment;)V
|
|
|
|
:cond_4
|
|
invoke-interface {v0}, Ljava/util/Collection;->isEmpty()Z
|
|
|
|
move-result v0
|
|
|
|
xor-int/2addr v0, v4
|
|
|
|
invoke-virtual {p1, v0}, Lcom/discord/utilities/error/Error;->setShowErrorToasts(Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private final isConsented()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/auth/WidgetAuthBirthday;->isConsentRequired:Z
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/auth/WidgetAuthBirthday;->getTosOptIn()Landroid/widget/CheckBox;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Landroid/widget/CheckBox;->isChecked()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 v0, 0x1
|
|
|
|
:goto_1
|
|
return v0
|
|
.end method
|
|
|
|
.method public static synthetic register$default(Lcom/discord/widgets/auth/WidgetAuthBirthday;Ljava/lang/String;ILjava/lang/Object;)V
|
|
.locals 0
|
|
|
|
and-int/lit8 p2, p2, 0x1
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
:cond_0
|
|
invoke-virtual {p0, p1}, Lcom/discord/widgets/auth/WidgetAuthBirthday;->register(Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private final setBirthday(J)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/auth/WidgetAuthBirthday;->formatter:Ljava/text/DateFormat;
|
|
|
|
invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {v0, p1}, Ljava/text/DateFormat;->format(Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/auth/WidgetAuthBirthday;->getInput()Lcom/google/android/material/textfield/TextInputLayout;
|
|
|
|
move-result-object p2
|
|
|
|
new-instance v0, Landroid/text/SpannableStringBuilder;
|
|
|
|
invoke-direct {v0, p1}, Landroid/text/SpannableStringBuilder;-><init>(Ljava/lang/CharSequence;)V
|
|
|
|
invoke-static {p2, v0}, Lcom/discord/utilities/view/extensions/ViewExtensions;->setText(Lcom/google/android/material/textfield/TextInputLayout;Ljava/lang/CharSequence;)Lkotlin/Unit;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public getContentViewResId()I
|
|
.locals 1
|
|
|
|
const v0, 0x7f0d0175
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public onActivityResult(IILandroid/content/Intent;)V
|
|
.locals 1
|
|
|
|
invoke-super {p0, p1, p2, p3}, Lcom/discord/app/AppFragment;->onActivityResult(IILandroid/content/Intent;)V
|
|
|
|
sget-object p2, Lcom/discord/widgets/auth/WidgetAuthCaptcha;->Companion:Lcom/discord/widgets/auth/WidgetAuthCaptcha$Companion;
|
|
|
|
new-instance v0, Lcom/discord/widgets/auth/WidgetAuthBirthday$onActivityResult$1;
|
|
|
|
invoke-direct {v0, p0}, Lcom/discord/widgets/auth/WidgetAuthBirthday$onActivityResult$1;-><init>(Lcom/discord/widgets/auth/WidgetAuthBirthday;)V
|
|
|
|
invoke-virtual {p2, p1, p3, v0}, Lcom/discord/widgets/auth/WidgetAuthCaptcha$Companion;->handleResult(ILandroid/content/Intent;Lkotlin/jvm/functions/Function1;)Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onViewBoundOrOnResume()V
|
|
.locals 3
|
|
|
|
invoke-super {p0}, Lcom/discord/app/AppFragment;->onViewBoundOrOnResume()V
|
|
|
|
invoke-virtual {p0}, Lcom/discord/app/AppFragment;->getMostRecentIntent()Landroid/content/Intent;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "INTENT_EXTRA_USERNAME"
|
|
|
|
invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, ""
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move-object v0, v1
|
|
|
|
:goto_0
|
|
iput-object v0, p0, Lcom/discord/widgets/auth/WidgetAuthBirthday;->username:Ljava/lang/String;
|
|
|
|
invoke-virtual {p0}, Lcom/discord/app/AppFragment;->getMostRecentIntent()Landroid/content/Intent;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v2, "INTENT_EXTRA_EMAIL"
|
|
|
|
invoke-virtual {v0, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
move-object v0, v1
|
|
|
|
:goto_1
|
|
iput-object v0, p0, Lcom/discord/widgets/auth/WidgetAuthBirthday;->email:Ljava/lang/String;
|
|
|
|
invoke-virtual {p0}, Lcom/discord/app/AppFragment;->getMostRecentIntent()Landroid/content/Intent;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v2, "INTENT_EXTRA_PASSWORD"
|
|
|
|
invoke-virtual {v0, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
move-object v1, v0
|
|
|
|
:cond_2
|
|
iput-object v1, p0, Lcom/discord/widgets/auth/WidgetAuthBirthday;->password:Ljava/lang/String;
|
|
|
|
invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "Calendar.getInstance()"
|
|
|
|
invoke-static {v0, v1}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/auth/WidgetAuthBirthday;->formatter:Ljava/text/DateFormat;
|
|
|
|
const-string v2, "formatter"
|
|
|
|
invoke-static {v1, v2}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v0}, Ljava/util/Calendar;->getTimeZone()Ljava/util/TimeZone;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v1, v0}, Ljava/text/DateFormat;->setTimeZone(Ljava/util/TimeZone;)V
|
|
|
|
sget-object v0, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
|
|
|
invoke-virtual {v0}, Lcom/discord/stores/StoreStream$Companion;->getAuthentication()Lcom/discord/stores/StoreAuthentication;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lcom/discord/stores/StoreAuthentication;->isConsentRequired()Z
|
|
|
|
move-result v0
|
|
|
|
iput-boolean v0, p0, Lcom/discord/widgets/auth/WidgetAuthBirthday;->isConsentRequired:Z
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/auth/WidgetAuthBirthday;->getTosOptIn()Landroid/widget/CheckBox;
|
|
|
|
move-result-object v0
|
|
|
|
iget-boolean v1, p0, Lcom/discord/widgets/auth/WidgetAuthBirthday;->isConsentRequired:Z
|
|
|
|
if-eqz v1, :cond_3
|
|
|
|
const/4 v1, 0x0
|
|
|
|
goto :goto_2
|
|
|
|
:cond_3
|
|
const/16 v1, 0x8
|
|
|
|
:goto_2
|
|
invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/auth/WidgetAuthBirthday;->getPolicyLinks()Landroid/widget/TextView;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v1
|
|
|
|
if-eqz v1, :cond_5
|
|
|
|
iget-boolean v2, p0, Lcom/discord/widgets/auth/WidgetAuthBirthday;->isConsentRequired:Z
|
|
|
|
if-eqz v2, :cond_4
|
|
|
|
const v2, 0x7f1217a1
|
|
|
|
goto :goto_3
|
|
|
|
:cond_4
|
|
const v2, 0x7f1217a0
|
|
|
|
:goto_3
|
|
invoke-direct {p0, v1, v2}, Lcom/discord/widgets/auth/WidgetAuthBirthday;->getFormattedTermsText(Landroid/content/Context;I)Ljava/lang/CharSequence;
|
|
|
|
move-result-object v1
|
|
|
|
goto :goto_4
|
|
|
|
:cond_5
|
|
const/4 v1, 0x0
|
|
|
|
:goto_4
|
|
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/auth/WidgetAuthBirthday;->getInput()Lcom/google/android/material/textfield/TextInputLayout;
|
|
|
|
move-result-object v0
|
|
|
|
new-instance v1, Lcom/discord/widgets/auth/WidgetAuthBirthday$onViewBoundOrOnResume$1;
|
|
|
|
invoke-direct {v1, p0}, Lcom/discord/widgets/auth/WidgetAuthBirthday$onViewBoundOrOnResume$1;-><init>(Lcom/discord/widgets/auth/WidgetAuthBirthday;)V
|
|
|
|
invoke-static {v0, v1}, Lcom/discord/utilities/view/extensions/ViewExtensions;->setOnEditTextClickListener(Lcom/google/android/material/textfield/TextInputLayout;Lkotlin/jvm/functions/Function1;)Lkotlin/Unit;
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/auth/WidgetAuthBirthday;->getRegisterButton()Landroid/widget/Button;
|
|
|
|
move-result-object v0
|
|
|
|
new-instance v1, Lcom/discord/widgets/auth/WidgetAuthBirthday$onViewBoundOrOnResume$2;
|
|
|
|
invoke-direct {v1, p0}, Lcom/discord/widgets/auth/WidgetAuthBirthday$onViewBoundOrOnResume$2;-><init>(Lcom/discord/widgets/auth/WidgetAuthBirthday;)V
|
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final register(Ljava/lang/String;)V
|
|
.locals 13
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/auth/WidgetAuthBirthday;->getValidationManager()Lcom/discord/utilities/view/validators/ValidationManager;
|
|
|
|
move-result-object v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v2, 0x1
|
|
|
|
const/4 v3, 0x0
|
|
|
|
invoke-static {v0, v1, v2, v3}, Lcom/discord/utilities/view/validators/ValidationManager;->validate$default(Lcom/discord/utilities/view/validators/ValidationManager;ZILjava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
sget-object v0, Lcom/discord/utilities/analytics/AnalyticsTracker;->INSTANCE:Lcom/discord/utilities/analytics/AnalyticsTracker;
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/auth/WidgetAuthBirthday;->getBirthday()Ljava/lang/Long;
|
|
|
|
move-result-object v1
|
|
|
|
const-wide/16 v4, 0x0
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Long;->longValue()J
|
|
|
|
move-result-wide v1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move-wide v1, v4
|
|
|
|
:goto_0
|
|
const-string v6, "Register"
|
|
|
|
invoke-virtual {v0, v1, v2, v6}, Lcom/discord/utilities/analytics/AnalyticsTracker;->ageGateSubmitted(JLjava/lang/String;)V
|
|
|
|
sget-object v0, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
|
|
|
invoke-virtual {v0}, Lcom/discord/stores/StoreStream$Companion;->getAuthentication()Lcom/discord/stores/StoreAuthentication;
|
|
|
|
move-result-object v6
|
|
|
|
iget-object v7, p0, Lcom/discord/widgets/auth/WidgetAuthBirthday;->username:Ljava/lang/String;
|
|
|
|
if-eqz v7, :cond_3
|
|
|
|
iget-object v8, p0, Lcom/discord/widgets/auth/WidgetAuthBirthday;->email:Ljava/lang/String;
|
|
|
|
if-eqz v8, :cond_2
|
|
|
|
iget-object v9, p0, Lcom/discord/widgets/auth/WidgetAuthBirthday;->password:Ljava/lang/String;
|
|
|
|
if-eqz v9, :cond_1
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/auth/WidgetAuthBirthday;->isConsented()Z
|
|
|
|
move-result v11
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/auth/WidgetAuthBirthday;->getBirthday()Ljava/lang/Long;
|
|
|
|
move-result-object v0
|
|
|
|
const-string/jumbo v1, "yyyy-MM-dd"
|
|
|
|
invoke-static {v0, v1}, Lcom/discord/utilities/time/TimeUtils;->toUTCDateTime(Ljava/lang/Long;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v12
|
|
|
|
move-object v10, p1
|
|
|
|
invoke-virtual/range {v6 .. v12}, Lcom/discord/stores/StoreAuthentication;->register(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/String;)Lrx/Observable;
|
|
|
|
move-result-object p1
|
|
|
|
const/4 v0, 0x2
|
|
|
|
invoke-static {p1, p0, v3, v0, v3}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->ui$default(Lrx/Observable;Lcom/discord/app/AppComponent;Lcom/discord/utilities/mg_recycler/MGRecyclerAdapterSimple;ILjava/lang/Object;)Lrx/Observable;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/auth/WidgetAuthBirthday;->getDimmer()Lcom/discord/utilities/dimmer/DimmerView;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v1, v4, v5, v0}, Lf/a/b/s;->s(Lcom/discord/utilities/dimmer/DimmerView;JI)Lrx/Observable$c;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p1, v0}, Lrx/Observable;->k(Lrx/Observable$c;)Lrx/Observable;
|
|
|
|
move-result-object v1
|
|
|
|
const-string p1, "StoreStream\n .g\u2026rmers.withDimmer(dimmer))"
|
|
|
|
invoke-static {v1, p1}, Lz/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-class v2, Lcom/discord/widgets/auth/WidgetAuthBirthday;
|
|
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v3
|
|
|
|
const/4 v4, 0x0
|
|
|
|
sget-object v7, Lcom/discord/widgets/auth/WidgetAuthBirthday$register$1;->INSTANCE:Lcom/discord/widgets/auth/WidgetAuthBirthday$register$1;
|
|
|
|
const/4 v6, 0x0
|
|
|
|
new-instance v5, Lcom/discord/widgets/auth/WidgetAuthBirthday$register$2;
|
|
|
|
invoke-direct {v5, p0}, Lcom/discord/widgets/auth/WidgetAuthBirthday$register$2;-><init>(Lcom/discord/widgets/auth/WidgetAuthBirthday;)V
|
|
|
|
const/16 v8, 0x14
|
|
|
|
const/4 v9, 0x0
|
|
|
|
invoke-static/range {v1 .. v9}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
const-string p1, "password"
|
|
|
|
invoke-static {p1}, Lz/n/c/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
|
|
|
throw v3
|
|
|
|
:cond_2
|
|
const-string p1, "email"
|
|
|
|
invoke-static {p1}, Lz/n/c/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
|
|
|
throw v3
|
|
|
|
:cond_3
|
|
const-string/jumbo p1, "username"
|
|
|
|
invoke-static {p1}, Lz/n/c/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
|
|
|
throw v3
|
|
|
|
:cond_4
|
|
:goto_1
|
|
return-void
|
|
.end method
|