apkfuckery/com.discord/smali_classes2/n0/w.smali
2020-07-23 01:06:17 +00:00

1078 lines
22 KiB
Smali

.class public final Ln0/w;
.super Ljava/lang/Object;
.source "HttpUrl.kt"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Ln0/w$a;,
Ln0/w$b;
}
.end annotation
# static fields
.field public static final k:[C
.field public static final l:Ln0/w$b;
# instance fields
.field public final a:Z
.field public final b:Ljava/lang/String;
.field public final c:Ljava/lang/String;
.field public final d:Ljava/lang/String;
.field public final e:Ljava/lang/String;
.field public final f:I
.field public final g:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
.field public final h:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
.field public final i:Ljava/lang/String;
.field public final j:Ljava/lang/String;
# direct methods
.method public static constructor <clinit>()V
.locals 2
new-instance v0, Ln0/w$b;
const/4 v1, 0x0
invoke-direct {v0, v1}, Ln0/w$b;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
sput-object v0, Ln0/w;->l:Ln0/w$b;
const/16 v0, 0x10
new-array v0, v0, [C
fill-array-data v0, :array_0
sput-object v0, Ln0/w;->k:[C
return-void
:array_0
.array-data 2
0x30s
0x31s
0x32s
0x33s
0x34s
0x35s
0x36s
0x37s
0x38s
0x39s
0x41s
0x42s
0x43s
0x44s
0x45s
0x46s
.end array-data
.end method
.method public constructor <init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/util/List;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
"Ljava/lang/String;",
"Ljava/lang/String;",
"Ljava/lang/String;",
"I",
"Ljava/util/List<",
"Ljava/lang/String;",
">;",
"Ljava/util/List<",
"Ljava/lang/String;",
">;",
"Ljava/lang/String;",
"Ljava/lang/String;",
")V"
}
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Ln0/w;->b:Ljava/lang/String;
iput-object p2, p0, Ln0/w;->c:Ljava/lang/String;
iput-object p3, p0, Ln0/w;->d:Ljava/lang/String;
iput-object p4, p0, Ln0/w;->e:Ljava/lang/String;
iput p5, p0, Ln0/w;->f:I
iput-object p6, p0, Ln0/w;->g:Ljava/util/List;
iput-object p7, p0, Ln0/w;->h:Ljava/util/List;
iput-object p8, p0, Ln0/w;->i:Ljava/lang/String;
iput-object p9, p0, Ln0/w;->j:Ljava/lang/String;
const-string p2, "https"
invoke-static {p1, p2}, Lj0/o/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p1
iput-boolean p1, p0, Ln0/w;->a:Z
return-void
.end method
.method public static final h(Ljava/lang/String;)Ln0/w;
.locals 2
const/4 v0, 0x0
if-eqz p0, :cond_0
:try_start_0
new-instance v1, Ln0/w$a;
invoke-direct {v1}, Ln0/w$a;-><init>()V
invoke-virtual {v1, v0, p0}, Ln0/w$a;->e(Ln0/w;Ljava/lang/String;)Ln0/w$a;
invoke-virtual {v1}, Ln0/w$a;->b()Ln0/w;
move-result-object v0
:try_end_0
.catch Ljava/lang/IllegalArgumentException; {:try_start_0 .. :try_end_0} :catch_0
:catch_0
return-object v0
:cond_0
const-string p0, "$this$toHttpUrlOrNull"
invoke-static {p0}, Lj0/o/c/h;->c(Ljava/lang/String;)V
throw v0
.end method
# virtual methods
.method public final a()Ljava/lang/String;
.locals 6
iget-object v0, p0, Ln0/w;->d:Ljava/lang/String;
invoke-interface {v0}, Ljava/lang/CharSequence;->length()I
move-result v0
const/4 v1, 0x1
const/4 v2, 0x0
if-nez v0, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
if-eqz v0, :cond_1
const-string v0, ""
return-object v0
:cond_1
iget-object v0, p0, Ln0/w;->j:Ljava/lang/String;
const/16 v3, 0x3a
iget-object v4, p0, Ln0/w;->b:Ljava/lang/String;
invoke-virtual {v4}, Ljava/lang/String;->length()I
move-result v4
add-int/lit8 v4, v4, 0x3
const/4 v5, 0x4
invoke-static {v0, v3, v4, v2, v5}, Lj0/u/p;->indexOf$default(Ljava/lang/CharSequence;CIZI)I
move-result v0
add-int/2addr v0, v1
iget-object v1, p0, Ln0/w;->j:Ljava/lang/String;
const/16 v3, 0x40
const/4 v4, 0x6
invoke-static {v1, v3, v2, v2, v4}, Lj0/u/p;->indexOf$default(Ljava/lang/CharSequence;CIZI)I
move-result v1
iget-object v2, p0, Ln0/w;->j:Ljava/lang/String;
if-eqz v2, :cond_2
invoke-virtual {v2, v0, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object v0
const-string v1, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)"
invoke-static {v0, v1}, Lj0/o/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
return-object v0
:cond_2
new-instance v0, Lkotlin/TypeCastException;
const-string v1, "null cannot be cast to non-null type java.lang.String"
invoke-direct {v0, v1}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public final b()Ljava/lang/String;
.locals 5
iget-object v0, p0, Ln0/w;->j:Ljava/lang/String;
iget-object v1, p0, Ln0/w;->b:Ljava/lang/String;
invoke-virtual {v1}, Ljava/lang/String;->length()I
move-result v1
add-int/lit8 v1, v1, 0x3
const/16 v2, 0x2f
const/4 v3, 0x0
const/4 v4, 0x4
invoke-static {v0, v2, v1, v3, v4}, Lj0/u/p;->indexOf$default(Ljava/lang/CharSequence;CIZI)I
move-result v0
iget-object v1, p0, Ln0/w;->j:Ljava/lang/String;
invoke-virtual {v1}, Ljava/lang/String;->length()I
move-result v2
const-string v3, "?#"
invoke-static {v1, v3, v0, v2}, Ln0/g0/b;->i(Ljava/lang/String;Ljava/lang/String;II)I
move-result v1
iget-object v2, p0, Ln0/w;->j:Ljava/lang/String;
if-eqz v2, :cond_0
invoke-virtual {v2, v0, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object v0
const-string v1, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)"
invoke-static {v0, v1}, Lj0/o/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
return-object v0
:cond_0
new-instance v0, Lkotlin/TypeCastException;
const-string v1, "null cannot be cast to non-null type java.lang.String"
invoke-direct {v0, v1}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public final c()Ljava/util/List;
.locals 6
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Ljava/lang/String;",
">;"
}
.end annotation
iget-object v0, p0, Ln0/w;->j:Ljava/lang/String;
iget-object v1, p0, Ln0/w;->b:Ljava/lang/String;
invoke-virtual {v1}, Ljava/lang/String;->length()I
move-result v1
add-int/lit8 v1, v1, 0x3
const/16 v2, 0x2f
const/4 v3, 0x0
const/4 v4, 0x4
invoke-static {v0, v2, v1, v3, v4}, Lj0/u/p;->indexOf$default(Ljava/lang/CharSequence;CIZI)I
move-result v0
iget-object v1, p0, Ln0/w;->j:Ljava/lang/String;
invoke-virtual {v1}, Ljava/lang/String;->length()I
move-result v3
const-string v4, "?#"
invoke-static {v1, v4, v0, v3}, Ln0/g0/b;->i(Ljava/lang/String;Ljava/lang/String;II)I
move-result v1
new-instance v3, Ljava/util/ArrayList;
invoke-direct {v3}, Ljava/util/ArrayList;-><init>()V
:goto_0
if-ge v0, v1, :cond_1
add-int/lit8 v0, v0, 0x1
iget-object v4, p0, Ln0/w;->j:Ljava/lang/String;
invoke-static {v4, v2, v0, v1}, Ln0/g0/b;->h(Ljava/lang/String;CII)I
move-result v4
iget-object v5, p0, Ln0/w;->j:Ljava/lang/String;
if-eqz v5, :cond_0
invoke-virtual {v5, v0, v4}, Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object v0
const-string v5, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)"
invoke-static {v0, v5}, Lj0/o/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-interface {v3, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
move v0, v4
goto :goto_0
:cond_0
new-instance v0, Lkotlin/TypeCastException;
const-string v1, "null cannot be cast to non-null type java.lang.String"
invoke-direct {v0, v1}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
throw v0
:cond_1
return-object v3
.end method
.method public final d()Ljava/lang/String;
.locals 4
iget-object v0, p0, Ln0/w;->h:Ljava/util/List;
if-nez v0, :cond_0
const/4 v0, 0x0
return-object v0
:cond_0
iget-object v0, p0, Ln0/w;->j:Ljava/lang/String;
const/16 v1, 0x3f
const/4 v2, 0x6
const/4 v3, 0x0
invoke-static {v0, v1, v3, v3, v2}, Lj0/u/p;->indexOf$default(Ljava/lang/CharSequence;CIZI)I
move-result v0
add-int/lit8 v0, v0, 0x1
iget-object v1, p0, Ln0/w;->j:Ljava/lang/String;
const/16 v2, 0x23
invoke-virtual {v1}, Ljava/lang/String;->length()I
move-result v3
invoke-static {v1, v2, v0, v3}, Ln0/g0/b;->h(Ljava/lang/String;CII)I
move-result v1
iget-object v2, p0, Ln0/w;->j:Ljava/lang/String;
if-eqz v2, :cond_1
invoke-virtual {v2, v0, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object v0
const-string v1, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)"
invoke-static {v0, v1}, Lj0/o/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
return-object v0
:cond_1
new-instance v0, Lkotlin/TypeCastException;
const-string v1, "null cannot be cast to non-null type java.lang.String"
invoke-direct {v0, v1}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public final e()Ljava/lang/String;
.locals 4
iget-object v0, p0, Ln0/w;->c:Ljava/lang/String;
invoke-interface {v0}, Ljava/lang/CharSequence;->length()I
move-result v0
if-nez v0, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
if-eqz v0, :cond_1
const-string v0, ""
return-object v0
:cond_1
iget-object v0, p0, Ln0/w;->b:Ljava/lang/String;
invoke-virtual {v0}, Ljava/lang/String;->length()I
move-result v0
add-int/lit8 v0, v0, 0x3
iget-object v1, p0, Ln0/w;->j:Ljava/lang/String;
invoke-virtual {v1}, Ljava/lang/String;->length()I
move-result v2
const-string v3, ":@"
invoke-static {v1, v3, v0, v2}, Ln0/g0/b;->i(Ljava/lang/String;Ljava/lang/String;II)I
move-result v1
iget-object v2, p0, Ln0/w;->j:Ljava/lang/String;
if-eqz v2, :cond_2
invoke-virtual {v2, v0, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object v0
const-string v1, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)"
invoke-static {v0, v1}, Lj0/o/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
return-object v0
:cond_2
new-instance v0, Lkotlin/TypeCastException;
const-string v1, "null cannot be cast to non-null type java.lang.String"
invoke-direct {v0, v1}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public equals(Ljava/lang/Object;)Z
.locals 1
instance-of v0, p1, Ln0/w;
if-eqz v0, :cond_0
check-cast p1, Ln0/w;
iget-object p1, p1, Ln0/w;->j:Ljava/lang/String;
iget-object v0, p0, Ln0/w;->j:Ljava/lang/String;
invoke-static {p1, v0}, Lj0/o/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_0
const/4 p1, 0x1
goto :goto_0
:cond_0
const/4 p1, 0x0
:goto_0
return p1
.end method
.method public final f()Ln0/w$a;
.locals 7
new-instance v0, Ln0/w$a;
invoke-direct {v0}, Ln0/w$a;-><init>()V
iget-object v1, p0, Ln0/w;->b:Ljava/lang/String;
iput-object v1, v0, Ln0/w$a;->a:Ljava/lang/String;
invoke-virtual {p0}, Ln0/w;->e()Ljava/lang/String;
move-result-object v1
iput-object v1, v0, Ln0/w$a;->b:Ljava/lang/String;
invoke-virtual {p0}, Ln0/w;->a()Ljava/lang/String;
move-result-object v1
iput-object v1, v0, Ln0/w$a;->c:Ljava/lang/String;
iget-object v1, p0, Ln0/w;->e:Ljava/lang/String;
iput-object v1, v0, Ln0/w$a;->d:Ljava/lang/String;
iget v1, p0, Ln0/w;->f:I
iget-object v2, p0, Ln0/w;->b:Ljava/lang/String;
const/4 v3, 0x0
if-eqz v2, :cond_6
invoke-virtual {v2}, Ljava/lang/String;->hashCode()I
move-result v4
const v5, 0x310888 # 4.503E-39f
const/4 v6, -0x1
if-eq v4, v5, :cond_1
const v5, 0x5f008eb
if-eq v4, v5, :cond_0
goto :goto_0
:cond_0
const-string v4, "https"
invoke-virtual {v2, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_2
const/16 v2, 0x1bb
goto :goto_1
:cond_1
const-string v4, "http"
invoke-virtual {v2, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_2
const/16 v2, 0x50
goto :goto_1
:cond_2
:goto_0
const/4 v2, -0x1
:goto_1
if-eq v1, v2, :cond_3
iget v6, p0, Ln0/w;->f:I
:cond_3
iput v6, v0, Ln0/w$a;->e:I
iget-object v1, v0, Ln0/w$a;->f:Ljava/util/List;
invoke-interface {v1}, Ljava/util/List;->clear()V
iget-object v1, v0, Ln0/w$a;->f:Ljava/util/List;
invoke-virtual {p0}, Ln0/w;->c()Ljava/util/List;
move-result-object v2
invoke-interface {v1, v2}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z
invoke-virtual {p0}, Ln0/w;->d()Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ln0/w$a;->d(Ljava/lang/String;)Ln0/w$a;
iget-object v1, p0, Ln0/w;->i:Ljava/lang/String;
if-nez v1, :cond_4
goto :goto_2
:cond_4
iget-object v1, p0, Ln0/w;->j:Ljava/lang/String;
const/16 v2, 0x23
const/4 v3, 0x6
const/4 v4, 0x0
invoke-static {v1, v2, v4, v4, v3}, Lj0/u/p;->indexOf$default(Ljava/lang/CharSequence;CIZI)I
move-result v1
add-int/lit8 v1, v1, 0x1
iget-object v2, p0, Ln0/w;->j:Ljava/lang/String;
if-eqz v2, :cond_5
invoke-virtual {v2, v1}, Ljava/lang/String;->substring(I)Ljava/lang/String;
move-result-object v3
const-string v1, "(this as java.lang.String).substring(startIndex)"
invoke-static {v3, v1}, Lj0/o/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
:goto_2
iput-object v3, v0, Ln0/w$a;->h:Ljava/lang/String;
return-object v0
:cond_5
new-instance v0, Lkotlin/TypeCastException;
const-string v1, "null cannot be cast to non-null type java.lang.String"
invoke-direct {v0, v1}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
throw v0
:cond_6
const-string v0, "scheme"
invoke-static {v0}, Lj0/o/c/h;->c(Ljava/lang/String;)V
throw v3
.end method
.method public final g(Ljava/lang/String;)Ln0/w$a;
.locals 2
const/4 v0, 0x0
if-eqz p1, :cond_0
:try_start_0
new-instance v1, Ln0/w$a;
invoke-direct {v1}, Ln0/w$a;-><init>()V
invoke-virtual {v1, p0, p1}, Ln0/w$a;->e(Ln0/w;Ljava/lang/String;)Ln0/w$a;
:try_end_0
.catch Ljava/lang/IllegalArgumentException; {:try_start_0 .. :try_end_0} :catch_0
move-object v0, v1
:catch_0
return-object v0
:cond_0
const-string p1, "link"
invoke-static {p1}, Lj0/o/c/h;->c(Ljava/lang/String;)V
throw v0
.end method
.method public hashCode()I
.locals 1
iget-object v0, p0, Ln0/w;->j:Ljava/lang/String;
invoke-virtual {v0}, Ljava/lang/String;->hashCode()I
move-result v0
return v0
.end method
.method public final i()Ljava/lang/String;
.locals 2
const-string v0, "/..."
invoke-virtual {p0, v0}, Ln0/w;->g(Ljava/lang/String;)Ln0/w$a;
move-result-object v0
if-eqz v0, :cond_0
const-string v1, ""
invoke-virtual {v0, v1}, Ln0/w$a;->g(Ljava/lang/String;)Ln0/w$a;
invoke-virtual {v0, v1}, Ln0/w$a;->f(Ljava/lang/String;)Ln0/w$a;
invoke-virtual {v0}, Ln0/w$a;->b()Ln0/w;
move-result-object v0
iget-object v0, v0, Ln0/w;->j:Ljava/lang/String;
return-object v0
:cond_0
invoke-static {}, Lj0/o/c/h;->throwNpe()V
const/4 v0, 0x0
throw v0
.end method
.method public final j(Ljava/lang/String;)Ln0/w;
.locals 1
const/4 v0, 0x0
if-eqz p1, :cond_1
invoke-virtual {p0, p1}, Ln0/w;->g(Ljava/lang/String;)Ln0/w$a;
move-result-object p1
if-eqz p1, :cond_0
invoke-virtual {p1}, Ln0/w$a;->b()Ln0/w;
move-result-object v0
:cond_0
return-object v0
:cond_1
const-string p1, "link"
invoke-static {p1}, Lj0/o/c/h;->c(Ljava/lang/String;)V
throw v0
.end method
.method public final k()Ljava/net/URI;
.locals 17
invoke-virtual/range {p0 .. p0}, Ln0/w;->f()Ln0/w$a;
move-result-object v0
iget-object v1, v0, Ln0/w$a;->f:Ljava/util/List;
invoke-interface {v1}, Ljava/util/List;->size()I
move-result v1
const/4 v2, 0x0
const/4 v3, 0x0
:goto_0
if-ge v3, v1, :cond_0
iget-object v4, v0, Ln0/w$a;->f:Ljava/util/List;
sget-object v5, Ln0/w;->l:Ln0/w$b;
invoke-interface {v4, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v6
check-cast v6, Ljava/lang/String;
const/4 v7, 0x0
const/4 v8, 0x0
const/4 v10, 0x1
const/4 v11, 0x1
const/4 v12, 0x0
const/4 v13, 0x0
const/4 v14, 0x0
const/16 v15, 0xe3
const-string v9, "[]"
invoke-static/range {v5 .. v15}, Ln0/w$b;->a(Ln0/w$b;Ljava/lang/String;IILjava/lang/String;ZZZZLjava/nio/charset/Charset;I)Ljava/lang/String;
move-result-object v5
invoke-interface {v4, v3, v5}, Ljava/util/List;->set(ILjava/lang/Object;)Ljava/lang/Object;
add-int/lit8 v3, v3, 0x1
goto :goto_0
:cond_0
iget-object v1, v0, Ln0/w$a;->g:Ljava/util/List;
const/4 v3, 0x0
if-eqz v1, :cond_2
invoke-interface {v1}, Ljava/util/List;->size()I
move-result v4
:goto_1
if-ge v2, v4, :cond_2
invoke-interface {v1, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v5
move-object v7, v5
check-cast v7, Ljava/lang/String;
if-eqz v7, :cond_1
sget-object v6, Ln0/w;->l:Ln0/w$b;
const/4 v8, 0x0
const/4 v9, 0x0
const/4 v11, 0x1
const/4 v12, 0x1
const/4 v13, 0x1
const/4 v14, 0x0
const/4 v15, 0x0
const/16 v16, 0xc3
const-string v10, "\\^`{|}"
invoke-static/range {v6 .. v16}, Ln0/w$b;->a(Ln0/w$b;Ljava/lang/String;IILjava/lang/String;ZZZZLjava/nio/charset/Charset;I)Ljava/lang/String;
move-result-object v5
goto :goto_2
:cond_1
move-object v5, v3
:goto_2
invoke-interface {v1, v2, v5}, Ljava/util/List;->set(ILjava/lang/Object;)Ljava/lang/Object;
add-int/lit8 v2, v2, 0x1
goto :goto_1
:cond_2
iget-object v6, v0, Ln0/w$a;->h:Ljava/lang/String;
if-eqz v6, :cond_3
sget-object v5, Ln0/w;->l:Ln0/w$b;
const/4 v7, 0x0
const/4 v8, 0x0
const/4 v10, 0x1
const/4 v11, 0x1
const/4 v12, 0x0
const/4 v13, 0x1
const/4 v14, 0x0
const/16 v15, 0xa3
const-string v9, " \"#<>\\^`{|}"
invoke-static/range {v5 .. v15}, Ln0/w$b;->a(Ln0/w$b;Ljava/lang/String;IILjava/lang/String;ZZZZLjava/nio/charset/Charset;I)Ljava/lang/String;
move-result-object v3
:cond_3
iput-object v3, v0, Ln0/w$a;->h:Ljava/lang/String;
invoke-virtual {v0}, Ln0/w$a;->toString()Ljava/lang/String;
move-result-object v1
:try_start_0
new-instance v0, Ljava/net/URI;
invoke-direct {v0, v1}, Ljava/net/URI;-><init>(Ljava/lang/String;)V
:try_end_0
.catch Ljava/net/URISyntaxException; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_3
:catch_0
move-exception v0
:try_start_1
new-instance v2, Lkotlin/text/Regex;
const-string v3, "[\\u0000-\\u001F\\u007F-\\u009F\\p{javaWhitespace}]"
invoke-direct {v2, v3}, Lkotlin/text/Regex;-><init>(Ljava/lang/String;)V
const-string v3, ""
invoke-virtual {v2, v1, v3}, Lkotlin/text/Regex;->replace(Ljava/lang/CharSequence;Ljava/lang/String;)Ljava/lang/String;
move-result-object v1
invoke-static {v1}, Ljava/net/URI;->create(Ljava/lang/String;)Ljava/net/URI;
move-result-object v1
const-string v2, "URI.create(stripped)"
invoke-static {v1, v2}, Lj0/o/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
:try_end_1
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1
move-object v0, v1
:goto_3
return-object v0
:catch_1
new-instance v1, Ljava/lang/RuntimeException;
invoke-direct {v1, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V
throw v1
.end method
.method public final l()Ljava/net/URL;
.locals 2
:try_start_0
new-instance v0, Ljava/net/URL;
iget-object v1, p0, Ln0/w;->j:Ljava/lang/String;
invoke-direct {v0, v1}, Ljava/net/URL;-><init>(Ljava/lang/String;)V
:try_end_0
.catch Ljava/net/MalformedURLException; {:try_start_0 .. :try_end_0} :catch_0
return-object v0
:catch_0
move-exception v0
new-instance v1, Ljava/lang/RuntimeException;
invoke-direct {v1, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V
throw v1
.end method
.method public toString()Ljava/lang/String;
.locals 1
iget-object v0, p0, Ln0/w;->j:Ljava/lang/String;
return-object v0
.end method