2019-07-24 11:27:29 +00:00
|
|
|
.class public final Lcom/discord/app/e;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "AppHelpDesk.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
|
|
|
# The value of this static final field might be set in the static constructor
|
2019-10-09 23:16:36 +00:00
|
|
|
.field public static final uZ:Ljava/lang/String; = "https://status.discordapp.com/"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
# The value of this static final field might be set in the static constructor
|
2019-10-09 23:16:36 +00:00
|
|
|
.field public static final va:Ljava/lang/String; = "https://support.discordapp.com"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
# The value of this static final field might be set in the static constructor
|
2019-10-09 23:16:36 +00:00
|
|
|
.field public static final vb:Ljava/lang/String; = "https://support-dev.discordapp.com"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
# The value of this static final field might be set in the static constructor
|
2019-10-09 23:16:36 +00:00
|
|
|
.field public static final vc:Ljava/lang/String; = "https://discordapp.com/acknowledgements"
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
# The value of this static final field might be set in the static constructor
|
2019-10-09 23:16:36 +00:00
|
|
|
.field public static final vd:J = 0xd1679fcL
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
# The value of this static final field might be set in the static constructor
|
2019-10-09 23:16:36 +00:00
|
|
|
.field public static final ve:J = 0x53d1ea1c57L
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
# The value of this static final field might be set in the static constructor
|
2019-10-09 23:16:36 +00:00
|
|
|
.field public static final vf:J = 0x53d1e9852cL
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
# The value of this static final field might be set in the static constructor
|
2019-10-09 23:16:36 +00:00
|
|
|
.field public static final vg:J = 0x53d1eac657L
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
# The value of this static final field might be set in the static constructor
|
2019-10-09 23:16:36 +00:00
|
|
|
.field public static final vh:J = 0x53d28f5538L
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
# The value of this static final field might be set in the static constructor
|
2019-10-09 23:16:36 +00:00
|
|
|
.field public static final vi:J = 0x53d3623db8L
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
# The value of this static final field might be set in the static constructor
|
2019-10-09 23:16:36 +00:00
|
|
|
.field public static final vj:J = 0x53d357e4d0L
|
2019-10-07 23:23:22 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.field public static final vk:Lcom/discord/app/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method static constructor <clinit>()V
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
new-instance v0, Lcom/discord/app/e;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Lcom/discord/app/e;-><init>()V
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
sput-object v0, Lcom/discord/app/e;->vk:Lcom/discord/app/e;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const-string v0, "https://status.discordapp.com/"
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
sput-object v0, Lcom/discord/app/e;->uZ:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const-string v0, "https://support.discordapp.com"
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
sput-object v0, Lcom/discord/app/e;->va:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const-string v0, "https://support-dev.discordapp.com"
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
sput-object v0, Lcom/discord/app/e;->vb:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const-string v0, "https://discordapp.com/acknowledgements"
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
sput-object v0, Lcom/discord/app/e;->vc:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const-wide/32 v0, 0xd1679fc
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
sput-wide v0, Lcom/discord/app/e;->vd:J
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const-wide v0, 0x53d1ea1c57L
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
sput-wide v0, Lcom/discord/app/e;->ve:J
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const-wide v0, 0x53d1e9852cL
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
sput-wide v0, Lcom/discord/app/e;->vf:J
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const-wide v0, 0x53d1eac657L
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
sput-wide v0, Lcom/discord/app/e;->vg:J
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const-wide v0, 0x53d28f5538L
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
sput-wide v0, Lcom/discord/app/e;->vh:J
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const-wide v0, 0x53d3623db8L
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
sput-wide v0, Lcom/discord/app/e;->vi:J
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const-wide v0, 0x53d357e4d0L
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
sput-wide v0, Lcom/discord/app/e;->vj:J
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private constructor <init>()V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method public static final dC()Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 4
|
|
|
|
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
sget-object v1, Lcom/discord/app/e;->va:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, "/hc/"
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-static {}, Lcom/discord/app/e;->getLocale()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, "/requests/new"
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2019-08-14 23:59:34 +00:00
|
|
|
invoke-virtual {v1}, Lcom/discord/stores/StoreAuthentication;->getAuthToken$app_productionDiscordExternalRelease()Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
|
|
|
|
new-instance v2, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v3, "https://discordapp.com/api//sso?service=zendesk&token="
|
|
|
|
|
|
|
|
invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, "&return_to="
|
|
|
|
|
|
|
|
invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-static {v0}, Landroid/net/Uri;->encode(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
move-object v0, v1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
:goto_0
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private static getLocale()Ljava/lang/String;
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
sget-object v0, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/discord/stores/StoreStream$Companion;->getUserSettings()Lcom/discord/stores/StoreUserSettings;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/discord/stores/StoreUserSettings;->getLocale()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const-string v1, "StoreStream.getUserSettings().locale"
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {v0, v1}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const-string v1, "(this as java.lang.String).toLowerCase()"
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-static {v0, v1}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
new-instance v0, Lkotlin/r;
|
|
|
|
|
|
|
|
const-string v1, "null cannot be cast to non-null type java.lang.String"
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Lkotlin/r;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
2019-10-07 23:23:22 +00:00
|
|
|
.method public static j(J)Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 2
|
|
|
|
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
sget-object v1, Lcom/discord/app/e;->va:Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, "/hc/"
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-static {}, Lcom/discord/app/e;->getLocale()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, "/articles/"
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v0, p0, p1}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|