apkfuckery/com.discord/smali/com/discord/utilities/textprocessing/MessageRenderContext.smali

2494 lines
64 KiB
Smali

.class public final Lcom/discord/utilities/textprocessing/MessageRenderContext;
.super Ljava/lang/Object;
.source "MessageRenderContext.kt"
# interfaces
.implements Lcom/discord/utilities/textprocessing/node/BasicRenderContext;
.implements Lcom/discord/utilities/textprocessing/node/UserMentionNode$RenderContext;
.implements Lcom/discord/utilities/textprocessing/node/EmojiNode$RenderContext;
.implements Lcom/discord/utilities/textprocessing/node/ChannelMentionNode$RenderContext;
.implements Lcom/discord/utilities/textprocessing/node/RoleMentionNode$RenderContext;
.implements Lcom/discord/utilities/textprocessing/node/UrlNode$RenderContext;
.implements Lcom/discord/utilities/textprocessing/node/SpoilerNode$RenderContext;
# instance fields
.field public final channelMentionOnClick:Lkotlin/jvm/functions/Function1;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/jvm/functions/Function1<",
"Ljava/lang/Long;",
"Lkotlin/Unit;",
">;"
}
.end annotation
.end field
.field public final channelNames:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
.field public final context:Landroid/content/Context;
.field public final isAnimationEnabled:Z
.field public final linkColorAttrResId:I
.field public final myId:J
.field public final onClickUrl:Lkotlin/jvm/functions/Function3;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/jvm/functions/Function3<",
"Landroid/content/Context;",
"Ljava/lang/String;",
"Ljava/lang/String;",
"Lkotlin/Unit;",
">;"
}
.end annotation
.end field
.field public final onLongPressUrl:Lkotlin/jvm/functions/Function1;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/jvm/functions/Function1<",
"Ljava/lang/String;",
"Lkotlin/Unit;",
">;"
}
.end annotation
.end field
.field public final roles:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Lcom/discord/models/domain/ModelGuildRole;",
">;"
}
.end annotation
.end field
.field public final spoilerColorRes:I
.field public final spoilerOnClick:Lkotlin/jvm/functions/Function1;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/jvm/functions/Function1<",
"Lcom/discord/utilities/textprocessing/node/SpoilerNode<",
"*>;",
"Lkotlin/Unit;",
">;"
}
.end annotation
.end field
.field public final spoilerRevealedColorRes:I
.field public final userMentionOnClick:Lkotlin/jvm/functions/Function1;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/jvm/functions/Function1<",
"Ljava/lang/Long;",
"Lkotlin/Unit;",
">;"
}
.end annotation
.end field
.field public final userNames:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Landroid/content/Context;JZ)V
.locals 18
move-object/from16 v0, p0
move-object/from16 v1, p1
move-wide/from16 v2, p2
move/from16 v4, p4
const/4 v5, 0x0
const/4 v6, 0x0
const/4 v7, 0x0
const/4 v8, 0x0
const/4 v9, 0x0
const/4 v10, 0x0
const/4 v11, 0x0
const/4 v12, 0x0
const/4 v13, 0x0
const/4 v14, 0x0
const/4 v15, 0x0
const/16 v16, 0x3ff8
const/16 v17, 0x0
invoke-direct/range {v0 .. v17}, Lcom/discord/utilities/textprocessing/MessageRenderContext;-><init>(Landroid/content/Context;JZLjava/util/Map;Ljava/util/Map;Ljava/util/Map;ILkotlin/jvm/functions/Function3;Lkotlin/jvm/functions/Function1;IILkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;JZLjava/util/Map;)V
.locals 18
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"JZ",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Ljava/lang/String;",
">;)V"
}
.end annotation
move-object/from16 v0, p0
move-object/from16 v1, p1
move-wide/from16 v2, p2
move/from16 v4, p4
move-object/from16 v5, p5
const/4 v6, 0x0
const/4 v7, 0x0
const/4 v8, 0x0
const/4 v9, 0x0
const/4 v10, 0x0
const/4 v11, 0x0
const/4 v12, 0x0
const/4 v13, 0x0
const/4 v14, 0x0
const/4 v15, 0x0
const/16 v16, 0x3ff0
const/16 v17, 0x0
invoke-direct/range {v0 .. v17}, Lcom/discord/utilities/textprocessing/MessageRenderContext;-><init>(Landroid/content/Context;JZLjava/util/Map;Ljava/util/Map;Ljava/util/Map;ILkotlin/jvm/functions/Function3;Lkotlin/jvm/functions/Function1;IILkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;JZLjava/util/Map;Ljava/util/Map;)V
.locals 18
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"JZ",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Ljava/lang/String;",
">;",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Ljava/lang/String;",
">;)V"
}
.end annotation
move-object/from16 v0, p0
move-object/from16 v1, p1
move-wide/from16 v2, p2
move/from16 v4, p4
move-object/from16 v5, p5
move-object/from16 v6, p6
const/4 v7, 0x0
const/4 v8, 0x0
const/4 v9, 0x0
const/4 v10, 0x0
const/4 v11, 0x0
const/4 v12, 0x0
const/4 v13, 0x0
const/4 v14, 0x0
const/4 v15, 0x0
const/16 v16, 0x3fe0
const/16 v17, 0x0
invoke-direct/range {v0 .. v17}, Lcom/discord/utilities/textprocessing/MessageRenderContext;-><init>(Landroid/content/Context;JZLjava/util/Map;Ljava/util/Map;Ljava/util/Map;ILkotlin/jvm/functions/Function3;Lkotlin/jvm/functions/Function1;IILkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;JZLjava/util/Map;Ljava/util/Map;Ljava/util/Map;)V
.locals 18
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"JZ",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Ljava/lang/String;",
">;",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Ljava/lang/String;",
">;",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"+",
"Lcom/discord/models/domain/ModelGuildRole;",
">;)V"
}
.end annotation
move-object/from16 v0, p0
move-object/from16 v1, p1
move-wide/from16 v2, p2
move/from16 v4, p4
move-object/from16 v5, p5
move-object/from16 v6, p6
move-object/from16 v7, p7
const/4 v8, 0x0
const/4 v9, 0x0
const/4 v10, 0x0
const/4 v11, 0x0
const/4 v12, 0x0
const/4 v13, 0x0
const/4 v14, 0x0
const/4 v15, 0x0
const/16 v16, 0x3fc0
const/16 v17, 0x0
invoke-direct/range {v0 .. v17}, Lcom/discord/utilities/textprocessing/MessageRenderContext;-><init>(Landroid/content/Context;JZLjava/util/Map;Ljava/util/Map;Ljava/util/Map;ILkotlin/jvm/functions/Function3;Lkotlin/jvm/functions/Function1;IILkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;JZLjava/util/Map;Ljava/util/Map;Ljava/util/Map;I)V
.locals 18
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"JZ",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Ljava/lang/String;",
">;",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Ljava/lang/String;",
">;",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"+",
"Lcom/discord/models/domain/ModelGuildRole;",
">;I)V"
}
.end annotation
move-object/from16 v0, p0
move-object/from16 v1, p1
move-wide/from16 v2, p2
move/from16 v4, p4
move-object/from16 v5, p5
move-object/from16 v6, p6
move-object/from16 v7, p7
move/from16 v8, p8
const/4 v9, 0x0
const/4 v10, 0x0
const/4 v11, 0x0
const/4 v12, 0x0
const/4 v13, 0x0
const/4 v14, 0x0
const/4 v15, 0x0
const/16 v16, 0x3f80
const/16 v17, 0x0
invoke-direct/range {v0 .. v17}, Lcom/discord/utilities/textprocessing/MessageRenderContext;-><init>(Landroid/content/Context;JZLjava/util/Map;Ljava/util/Map;Ljava/util/Map;ILkotlin/jvm/functions/Function3;Lkotlin/jvm/functions/Function1;IILkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;JZLjava/util/Map;Ljava/util/Map;Ljava/util/Map;ILkotlin/jvm/functions/Function3;)V
.locals 18
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"JZ",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Ljava/lang/String;",
">;",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Ljava/lang/String;",
">;",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"+",
"Lcom/discord/models/domain/ModelGuildRole;",
">;I",
"Lkotlin/jvm/functions/Function3<",
"-",
"Landroid/content/Context;",
"-",
"Ljava/lang/String;",
"-",
"Ljava/lang/String;",
"Lkotlin/Unit;",
">;)V"
}
.end annotation
move-object/from16 v0, p0
move-object/from16 v1, p1
move-wide/from16 v2, p2
move/from16 v4, p4
move-object/from16 v5, p5
move-object/from16 v6, p6
move-object/from16 v7, p7
move/from16 v8, p8
move-object/from16 v9, p9
const/4 v10, 0x0
const/4 v11, 0x0
const/4 v12, 0x0
const/4 v13, 0x0
const/4 v14, 0x0
const/4 v15, 0x0
const/16 v16, 0x3f00
const/16 v17, 0x0
invoke-direct/range {v0 .. v17}, Lcom/discord/utilities/textprocessing/MessageRenderContext;-><init>(Landroid/content/Context;JZLjava/util/Map;Ljava/util/Map;Ljava/util/Map;ILkotlin/jvm/functions/Function3;Lkotlin/jvm/functions/Function1;IILkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;JZLjava/util/Map;Ljava/util/Map;Ljava/util/Map;ILkotlin/jvm/functions/Function3;Lkotlin/jvm/functions/Function1;)V
.locals 18
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"JZ",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Ljava/lang/String;",
">;",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Ljava/lang/String;",
">;",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"+",
"Lcom/discord/models/domain/ModelGuildRole;",
">;I",
"Lkotlin/jvm/functions/Function3<",
"-",
"Landroid/content/Context;",
"-",
"Ljava/lang/String;",
"-",
"Ljava/lang/String;",
"Lkotlin/Unit;",
">;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/String;",
"Lkotlin/Unit;",
">;)V"
}
.end annotation
move-object/from16 v0, p0
move-object/from16 v1, p1
move-wide/from16 v2, p2
move/from16 v4, p4
move-object/from16 v5, p5
move-object/from16 v6, p6
move-object/from16 v7, p7
move/from16 v8, p8
move-object/from16 v9, p9
move-object/from16 v10, p10
const/4 v11, 0x0
const/4 v12, 0x0
const/4 v13, 0x0
const/4 v14, 0x0
const/4 v15, 0x0
const/16 v16, 0x3e00
const/16 v17, 0x0
invoke-direct/range {v0 .. v17}, Lcom/discord/utilities/textprocessing/MessageRenderContext;-><init>(Landroid/content/Context;JZLjava/util/Map;Ljava/util/Map;Ljava/util/Map;ILkotlin/jvm/functions/Function3;Lkotlin/jvm/functions/Function1;IILkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;JZLjava/util/Map;Ljava/util/Map;Ljava/util/Map;ILkotlin/jvm/functions/Function3;Lkotlin/jvm/functions/Function1;I)V
.locals 18
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"JZ",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Ljava/lang/String;",
">;",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Ljava/lang/String;",
">;",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"+",
"Lcom/discord/models/domain/ModelGuildRole;",
">;I",
"Lkotlin/jvm/functions/Function3<",
"-",
"Landroid/content/Context;",
"-",
"Ljava/lang/String;",
"-",
"Ljava/lang/String;",
"Lkotlin/Unit;",
">;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/String;",
"Lkotlin/Unit;",
">;I)V"
}
.end annotation
move-object/from16 v0, p0
move-object/from16 v1, p1
move-wide/from16 v2, p2
move/from16 v4, p4
move-object/from16 v5, p5
move-object/from16 v6, p6
move-object/from16 v7, p7
move/from16 v8, p8
move-object/from16 v9, p9
move-object/from16 v10, p10
move/from16 v11, p11
const/4 v12, 0x0
const/4 v13, 0x0
const/4 v14, 0x0
const/4 v15, 0x0
const/16 v16, 0x3c00
const/16 v17, 0x0
invoke-direct/range {v0 .. v17}, Lcom/discord/utilities/textprocessing/MessageRenderContext;-><init>(Landroid/content/Context;JZLjava/util/Map;Ljava/util/Map;Ljava/util/Map;ILkotlin/jvm/functions/Function3;Lkotlin/jvm/functions/Function1;IILkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;JZLjava/util/Map;Ljava/util/Map;Ljava/util/Map;ILkotlin/jvm/functions/Function3;Lkotlin/jvm/functions/Function1;II)V
.locals 18
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"JZ",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Ljava/lang/String;",
">;",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Ljava/lang/String;",
">;",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"+",
"Lcom/discord/models/domain/ModelGuildRole;",
">;I",
"Lkotlin/jvm/functions/Function3<",
"-",
"Landroid/content/Context;",
"-",
"Ljava/lang/String;",
"-",
"Ljava/lang/String;",
"Lkotlin/Unit;",
">;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/String;",
"Lkotlin/Unit;",
">;II)V"
}
.end annotation
move-object/from16 v0, p0
move-object/from16 v1, p1
move-wide/from16 v2, p2
move/from16 v4, p4
move-object/from16 v5, p5
move-object/from16 v6, p6
move-object/from16 v7, p7
move/from16 v8, p8
move-object/from16 v9, p9
move-object/from16 v10, p10
move/from16 v11, p11
move/from16 v12, p12
const/4 v13, 0x0
const/4 v14, 0x0
const/4 v15, 0x0
const/16 v16, 0x3800
const/16 v17, 0x0
invoke-direct/range {v0 .. v17}, Lcom/discord/utilities/textprocessing/MessageRenderContext;-><init>(Landroid/content/Context;JZLjava/util/Map;Ljava/util/Map;Ljava/util/Map;ILkotlin/jvm/functions/Function3;Lkotlin/jvm/functions/Function1;IILkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;JZLjava/util/Map;Ljava/util/Map;Ljava/util/Map;ILkotlin/jvm/functions/Function3;Lkotlin/jvm/functions/Function1;IILkotlin/jvm/functions/Function1;)V
.locals 18
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"JZ",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Ljava/lang/String;",
">;",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Ljava/lang/String;",
">;",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"+",
"Lcom/discord/models/domain/ModelGuildRole;",
">;I",
"Lkotlin/jvm/functions/Function3<",
"-",
"Landroid/content/Context;",
"-",
"Ljava/lang/String;",
"-",
"Ljava/lang/String;",
"Lkotlin/Unit;",
">;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/String;",
"Lkotlin/Unit;",
">;II",
"Lkotlin/jvm/functions/Function1<",
"-",
"Lcom/discord/utilities/textprocessing/node/SpoilerNode<",
"*>;",
"Lkotlin/Unit;",
">;)V"
}
.end annotation
move-object/from16 v0, p0
move-object/from16 v1, p1
move-wide/from16 v2, p2
move/from16 v4, p4
move-object/from16 v5, p5
move-object/from16 v6, p6
move-object/from16 v7, p7
move/from16 v8, p8
move-object/from16 v9, p9
move-object/from16 v10, p10
move/from16 v11, p11
move/from16 v12, p12
move-object/from16 v13, p13
const/4 v14, 0x0
const/4 v15, 0x0
const/16 v16, 0x3000
const/16 v17, 0x0
invoke-direct/range {v0 .. v17}, Lcom/discord/utilities/textprocessing/MessageRenderContext;-><init>(Landroid/content/Context;JZLjava/util/Map;Ljava/util/Map;Ljava/util/Map;ILkotlin/jvm/functions/Function3;Lkotlin/jvm/functions/Function1;IILkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;JZLjava/util/Map;Ljava/util/Map;Ljava/util/Map;ILkotlin/jvm/functions/Function3;Lkotlin/jvm/functions/Function1;IILkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;)V
.locals 18
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"JZ",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Ljava/lang/String;",
">;",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Ljava/lang/String;",
">;",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"+",
"Lcom/discord/models/domain/ModelGuildRole;",
">;I",
"Lkotlin/jvm/functions/Function3<",
"-",
"Landroid/content/Context;",
"-",
"Ljava/lang/String;",
"-",
"Ljava/lang/String;",
"Lkotlin/Unit;",
">;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/String;",
"Lkotlin/Unit;",
">;II",
"Lkotlin/jvm/functions/Function1<",
"-",
"Lcom/discord/utilities/textprocessing/node/SpoilerNode<",
"*>;",
"Lkotlin/Unit;",
">;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Long;",
"Lkotlin/Unit;",
">;)V"
}
.end annotation
move-object/from16 v0, p0
move-object/from16 v1, p1
move-wide/from16 v2, p2
move/from16 v4, p4
move-object/from16 v5, p5
move-object/from16 v6, p6
move-object/from16 v7, p7
move/from16 v8, p8
move-object/from16 v9, p9
move-object/from16 v10, p10
move/from16 v11, p11
move/from16 v12, p12
move-object/from16 v13, p13
move-object/from16 v14, p14
const/4 v15, 0x0
const/16 v16, 0x2000
const/16 v17, 0x0
invoke-direct/range {v0 .. v17}, Lcom/discord/utilities/textprocessing/MessageRenderContext;-><init>(Landroid/content/Context;JZLjava/util/Map;Ljava/util/Map;Ljava/util/Map;ILkotlin/jvm/functions/Function3;Lkotlin/jvm/functions/Function1;IILkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;JZLjava/util/Map;Ljava/util/Map;Ljava/util/Map;ILkotlin/jvm/functions/Function3;Lkotlin/jvm/functions/Function1;IILkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;)V
.locals 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"JZ",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Ljava/lang/String;",
">;",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Ljava/lang/String;",
">;",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"+",
"Lcom/discord/models/domain/ModelGuildRole;",
">;I",
"Lkotlin/jvm/functions/Function3<",
"-",
"Landroid/content/Context;",
"-",
"Ljava/lang/String;",
"-",
"Ljava/lang/String;",
"Lkotlin/Unit;",
">;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/String;",
"Lkotlin/Unit;",
">;II",
"Lkotlin/jvm/functions/Function1<",
"-",
"Lcom/discord/utilities/textprocessing/node/SpoilerNode<",
"*>;",
"Lkotlin/Unit;",
">;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Long;",
"Lkotlin/Unit;",
">;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Long;",
"Lkotlin/Unit;",
">;)V"
}
.end annotation
move-object v0, p0
move-object v1, p1
move-object v2, p9
move-object/from16 v3, p10
const-string v4, "context"
invoke-static {p1, v4}, Lk0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v4, "onClickUrl"
invoke-static {p9, v4}, Lk0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v4, "onLongPressUrl"
invoke-static {v3, v4}, Lk0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object v1, v0, Lcom/discord/utilities/textprocessing/MessageRenderContext;->context:Landroid/content/Context;
move-wide v4, p2
iput-wide v4, v0, Lcom/discord/utilities/textprocessing/MessageRenderContext;->myId:J
move v1, p4
iput-boolean v1, v0, Lcom/discord/utilities/textprocessing/MessageRenderContext;->isAnimationEnabled:Z
move-object v1, p5
iput-object v1, v0, Lcom/discord/utilities/textprocessing/MessageRenderContext;->userNames:Ljava/util/Map;
move-object v1, p6
iput-object v1, v0, Lcom/discord/utilities/textprocessing/MessageRenderContext;->channelNames:Ljava/util/Map;
move-object v1, p7
iput-object v1, v0, Lcom/discord/utilities/textprocessing/MessageRenderContext;->roles:Ljava/util/Map;
move v1, p8
iput v1, v0, Lcom/discord/utilities/textprocessing/MessageRenderContext;->linkColorAttrResId:I
iput-object v2, v0, Lcom/discord/utilities/textprocessing/MessageRenderContext;->onClickUrl:Lkotlin/jvm/functions/Function3;
iput-object v3, v0, Lcom/discord/utilities/textprocessing/MessageRenderContext;->onLongPressUrl:Lkotlin/jvm/functions/Function1;
move/from16 v1, p11
iput v1, v0, Lcom/discord/utilities/textprocessing/MessageRenderContext;->spoilerColorRes:I
move/from16 v1, p12
iput v1, v0, Lcom/discord/utilities/textprocessing/MessageRenderContext;->spoilerRevealedColorRes:I
move-object/from16 v1, p13
iput-object v1, v0, Lcom/discord/utilities/textprocessing/MessageRenderContext;->spoilerOnClick:Lkotlin/jvm/functions/Function1;
move-object/from16 v1, p14
iput-object v1, v0, Lcom/discord/utilities/textprocessing/MessageRenderContext;->userMentionOnClick:Lkotlin/jvm/functions/Function1;
move-object/from16 v1, p15
iput-object v1, v0, Lcom/discord/utilities/textprocessing/MessageRenderContext;->channelMentionOnClick:Lkotlin/jvm/functions/Function1;
return-void
.end method
.method public synthetic constructor <init>(Landroid/content/Context;JZLjava/util/Map;Ljava/util/Map;Ljava/util/Map;ILkotlin/jvm/functions/Function3;Lkotlin/jvm/functions/Function1;IILkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 16
move-object/from16 v1, p1
move/from16 v0, p16
and-int/lit8 v2, v0, 0x8
const/4 v3, 0x0
if-eqz v2, :cond_0
move-object v5, v3
goto :goto_0
:cond_0
move-object/from16 v5, p5
:goto_0
and-int/lit8 v2, v0, 0x10
if-eqz v2, :cond_1
move-object v6, v3
goto :goto_1
:cond_1
move-object/from16 v6, p6
:goto_1
and-int/lit8 v2, v0, 0x20
if-eqz v2, :cond_2
move-object v7, v3
goto :goto_2
:cond_2
move-object/from16 v7, p7
:goto_2
and-int/lit8 v2, v0, 0x40
if-eqz v2, :cond_3
const v2, 0x7f04016f
const v8, 0x7f04016f
goto :goto_3
:cond_3
move/from16 v8, p8
:goto_3
and-int/lit16 v2, v0, 0x80
if-eqz v2, :cond_4
sget-object v2, Lcom/discord/utilities/textprocessing/MessageRenderContext$1;->INSTANCE:Lcom/discord/utilities/textprocessing/MessageRenderContext$1;
move-object v9, v2
goto :goto_4
:cond_4
move-object/from16 v9, p9
:goto_4
and-int/lit16 v2, v0, 0x100
if-eqz v2, :cond_5
sget-object v2, Lcom/discord/utilities/textprocessing/MessageRenderContext$2;->INSTANCE:Lcom/discord/utilities/textprocessing/MessageRenderContext$2;
move-object v10, v2
goto :goto_5
:cond_5
move-object/from16 v10, p10
:goto_5
and-int/lit16 v2, v0, 0x200
if-eqz v2, :cond_6
const v2, 0x7f040599
invoke-static {v1, v2}, Lcom/discord/utilities/color/ColorCompat;->getThemedColor(Landroid/content/Context;I)I
move-result v2
move v11, v2
goto :goto_6
:cond_6
move/from16 v11, p11
:goto_6
and-int/lit16 v2, v0, 0x400
if-eqz v2, :cond_7
const v2, 0x7f04059a
invoke-static {v1, v2}, Lcom/discord/utilities/color/ColorCompat;->getThemedColor(Landroid/content/Context;I)I
move-result v2
move v12, v2
goto :goto_7
:cond_7
move/from16 v12, p12
:goto_7
and-int/lit16 v2, v0, 0x800
if-eqz v2, :cond_8
move-object v13, v3
goto :goto_8
:cond_8
move-object/from16 v13, p13
:goto_8
and-int/lit16 v2, v0, 0x1000
if-eqz v2, :cond_9
move-object v14, v3
goto :goto_9
:cond_9
move-object/from16 v14, p14
:goto_9
and-int/lit16 v0, v0, 0x2000
if-eqz v0, :cond_a
move-object v15, v3
goto :goto_a
:cond_a
move-object/from16 v15, p15
:goto_a
move-object/from16 v0, p0
move-object/from16 v1, p1
move-wide/from16 v2, p2
move/from16 v4, p4
invoke-direct/range {v0 .. v15}, Lcom/discord/utilities/textprocessing/MessageRenderContext;-><init>(Landroid/content/Context;JZLjava/util/Map;Ljava/util/Map;Ljava/util/Map;ILkotlin/jvm/functions/Function3;Lkotlin/jvm/functions/Function1;IILkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;)V
return-void
.end method
.method public static synthetic copy$default(Lcom/discord/utilities/textprocessing/MessageRenderContext;Landroid/content/Context;JZLjava/util/Map;Ljava/util/Map;Ljava/util/Map;ILkotlin/jvm/functions/Function3;Lkotlin/jvm/functions/Function1;IILkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Lcom/discord/utilities/textprocessing/MessageRenderContext;
.locals 15
move/from16 v0, p16
and-int/lit8 v1, v0, 0x1
if-eqz v1, :cond_0
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getContext()Landroid/content/Context;
move-result-object v1
goto :goto_0
:cond_0
move-object/from16 v1, p1
:goto_0
and-int/lit8 v2, v0, 0x2
if-eqz v2, :cond_1
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getMyId()J
move-result-wide v2
goto :goto_1
:cond_1
move-wide/from16 v2, p2
:goto_1
and-int/lit8 v4, v0, 0x4
if-eqz v4, :cond_2
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->isAnimationEnabled()Z
move-result v4
goto :goto_2
:cond_2
move/from16 v4, p4
:goto_2
and-int/lit8 v5, v0, 0x8
if-eqz v5, :cond_3
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getUserNames()Ljava/util/Map;
move-result-object v5
goto :goto_3
:cond_3
move-object/from16 v5, p5
:goto_3
and-int/lit8 v6, v0, 0x10
if-eqz v6, :cond_4
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getChannelNames()Ljava/util/Map;
move-result-object v6
goto :goto_4
:cond_4
move-object/from16 v6, p6
:goto_4
and-int/lit8 v7, v0, 0x20
if-eqz v7, :cond_5
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getRoles()Ljava/util/Map;
move-result-object v7
goto :goto_5
:cond_5
move-object/from16 v7, p7
:goto_5
and-int/lit8 v8, v0, 0x40
if-eqz v8, :cond_6
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getLinkColorAttrResId()I
move-result v8
goto :goto_6
:cond_6
move/from16 v8, p8
:goto_6
and-int/lit16 v9, v0, 0x80
if-eqz v9, :cond_7
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getOnClickUrl()Lkotlin/jvm/functions/Function3;
move-result-object v9
goto :goto_7
:cond_7
move-object/from16 v9, p9
:goto_7
and-int/lit16 v10, v0, 0x100
if-eqz v10, :cond_8
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getOnLongPressUrl()Lkotlin/jvm/functions/Function1;
move-result-object v10
goto :goto_8
:cond_8
move-object/from16 v10, p10
:goto_8
and-int/lit16 v11, v0, 0x200
if-eqz v11, :cond_9
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getSpoilerColorRes()I
move-result v11
goto :goto_9
:cond_9
move/from16 v11, p11
:goto_9
and-int/lit16 v12, v0, 0x400
if-eqz v12, :cond_a
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getSpoilerRevealedColorRes()I
move-result v12
goto :goto_a
:cond_a
move/from16 v12, p12
:goto_a
and-int/lit16 v13, v0, 0x800
if-eqz v13, :cond_b
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getSpoilerOnClick()Lkotlin/jvm/functions/Function1;
move-result-object v13
goto :goto_b
:cond_b
move-object/from16 v13, p13
:goto_b
and-int/lit16 v14, v0, 0x1000
if-eqz v14, :cond_c
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getUserMentionOnClick()Lkotlin/jvm/functions/Function1;
move-result-object v14
goto :goto_c
:cond_c
move-object/from16 v14, p14
:goto_c
and-int/lit16 v0, v0, 0x2000
if-eqz v0, :cond_d
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getChannelMentionOnClick()Lkotlin/jvm/functions/Function1;
move-result-object v0
goto :goto_d
:cond_d
move-object/from16 v0, p15
:goto_d
move-object/from16 p1, v1
move-wide/from16 p2, v2
move/from16 p4, v4
move-object/from16 p5, v5
move-object/from16 p6, v6
move-object/from16 p7, v7
move/from16 p8, v8
move-object/from16 p9, v9
move-object/from16 p10, v10
move/from16 p11, v11
move/from16 p12, v12
move-object/from16 p13, v13
move-object/from16 p14, v14
move-object/from16 p15, v0
invoke-virtual/range {p0 .. p15}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->copy(Landroid/content/Context;JZLjava/util/Map;Ljava/util/Map;Ljava/util/Map;ILkotlin/jvm/functions/Function3;Lkotlin/jvm/functions/Function1;IILkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;)Lcom/discord/utilities/textprocessing/MessageRenderContext;
move-result-object v0
return-object v0
.end method
# virtual methods
.method public final component1()Landroid/content/Context;
.locals 1
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getContext()Landroid/content/Context;
move-result-object v0
return-object v0
.end method
.method public final component10()I
.locals 1
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getSpoilerColorRes()I
move-result v0
return v0
.end method
.method public final component11()I
.locals 1
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getSpoilerRevealedColorRes()I
move-result v0
return v0
.end method
.method public final component12()Lkotlin/jvm/functions/Function1;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lkotlin/jvm/functions/Function1<",
"Lcom/discord/utilities/textprocessing/node/SpoilerNode<",
"*>;",
"Lkotlin/Unit;",
">;"
}
.end annotation
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getSpoilerOnClick()Lkotlin/jvm/functions/Function1;
move-result-object v0
return-object v0
.end method
.method public final component13()Lkotlin/jvm/functions/Function1;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lkotlin/jvm/functions/Function1<",
"Ljava/lang/Long;",
"Lkotlin/Unit;",
">;"
}
.end annotation
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getUserMentionOnClick()Lkotlin/jvm/functions/Function1;
move-result-object v0
return-object v0
.end method
.method public final component14()Lkotlin/jvm/functions/Function1;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lkotlin/jvm/functions/Function1<",
"Ljava/lang/Long;",
"Lkotlin/Unit;",
">;"
}
.end annotation
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getChannelMentionOnClick()Lkotlin/jvm/functions/Function1;
move-result-object v0
return-object v0
.end method
.method public final component2()J
.locals 2
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getMyId()J
move-result-wide v0
return-wide v0
.end method
.method public final component3()Z
.locals 1
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->isAnimationEnabled()Z
move-result v0
return v0
.end method
.method public final component4()Ljava/util/Map;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Ljava/lang/String;",
">;"
}
.end annotation
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getUserNames()Ljava/util/Map;
move-result-object v0
return-object v0
.end method
.method public final component5()Ljava/util/Map;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Ljava/lang/String;",
">;"
}
.end annotation
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getChannelNames()Ljava/util/Map;
move-result-object v0
return-object v0
.end method
.method public final component6()Ljava/util/Map;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Lcom/discord/models/domain/ModelGuildRole;",
">;"
}
.end annotation
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getRoles()Ljava/util/Map;
move-result-object v0
return-object v0
.end method
.method public final component7()I
.locals 1
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getLinkColorAttrResId()I
move-result v0
return v0
.end method
.method public final component8()Lkotlin/jvm/functions/Function3;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lkotlin/jvm/functions/Function3<",
"Landroid/content/Context;",
"Ljava/lang/String;",
"Ljava/lang/String;",
"Lkotlin/Unit;",
">;"
}
.end annotation
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getOnClickUrl()Lkotlin/jvm/functions/Function3;
move-result-object v0
return-object v0
.end method
.method public final component9()Lkotlin/jvm/functions/Function1;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lkotlin/jvm/functions/Function1<",
"Ljava/lang/String;",
"Lkotlin/Unit;",
">;"
}
.end annotation
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getOnLongPressUrl()Lkotlin/jvm/functions/Function1;
move-result-object v0
return-object v0
.end method
.method public final copy(Landroid/content/Context;JZLjava/util/Map;Ljava/util/Map;Ljava/util/Map;ILkotlin/jvm/functions/Function3;Lkotlin/jvm/functions/Function1;IILkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;)Lcom/discord/utilities/textprocessing/MessageRenderContext;
.locals 17
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"JZ",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Ljava/lang/String;",
">;",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Ljava/lang/String;",
">;",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"+",
"Lcom/discord/models/domain/ModelGuildRole;",
">;I",
"Lkotlin/jvm/functions/Function3<",
"-",
"Landroid/content/Context;",
"-",
"Ljava/lang/String;",
"-",
"Ljava/lang/String;",
"Lkotlin/Unit;",
">;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/String;",
"Lkotlin/Unit;",
">;II",
"Lkotlin/jvm/functions/Function1<",
"-",
"Lcom/discord/utilities/textprocessing/node/SpoilerNode<",
"*>;",
"Lkotlin/Unit;",
">;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Long;",
"Lkotlin/Unit;",
">;",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/Long;",
"Lkotlin/Unit;",
">;)",
"Lcom/discord/utilities/textprocessing/MessageRenderContext;"
}
.end annotation
const-string v0, "context"
move-object/from16 v2, p1
invoke-static {v2, v0}, Lk0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "onClickUrl"
move-object/from16 v10, p9
invoke-static {v10, v0}, Lk0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "onLongPressUrl"
move-object/from16 v11, p10
invoke-static {v11, v0}, Lk0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v0, Lcom/discord/utilities/textprocessing/MessageRenderContext;
move-object v1, v0
move-wide/from16 v3, p2
move/from16 v5, p4
move-object/from16 v6, p5
move-object/from16 v7, p6
move-object/from16 v8, p7
move/from16 v9, p8
move/from16 v12, p11
move/from16 v13, p12
move-object/from16 v14, p13
move-object/from16 v15, p14
move-object/from16 v16, p15
invoke-direct/range {v1 .. v16}, Lcom/discord/utilities/textprocessing/MessageRenderContext;-><init>(Landroid/content/Context;JZLjava/util/Map;Ljava/util/Map;Ljava/util/Map;ILkotlin/jvm/functions/Function3;Lkotlin/jvm/functions/Function1;IILkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;)V
return-object v0
.end method
.method public equals(Ljava/lang/Object;)Z
.locals 5
if-eq p0, p1, :cond_1
instance-of v0, p1, Lcom/discord/utilities/textprocessing/MessageRenderContext;
if-eqz v0, :cond_0
check-cast p1, Lcom/discord/utilities/textprocessing/MessageRenderContext;
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getContext()Landroid/content/Context;
move-result-object v0
invoke-virtual {p1}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getContext()Landroid/content/Context;
move-result-object v1
invoke-static {v0, v1}, Lk0/n/c/i;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getMyId()J
move-result-wide v0
invoke-virtual {p1}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getMyId()J
move-result-wide v2
cmp-long v4, v0, v2
if-nez v4, :cond_0
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->isAnimationEnabled()Z
move-result v0
invoke-virtual {p1}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->isAnimationEnabled()Z
move-result v1
if-ne v0, v1, :cond_0
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getUserNames()Ljava/util/Map;
move-result-object v0
invoke-virtual {p1}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getUserNames()Ljava/util/Map;
move-result-object v1
invoke-static {v0, v1}, Lk0/n/c/i;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getChannelNames()Ljava/util/Map;
move-result-object v0
invoke-virtual {p1}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getChannelNames()Ljava/util/Map;
move-result-object v1
invoke-static {v0, v1}, Lk0/n/c/i;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getRoles()Ljava/util/Map;
move-result-object v0
invoke-virtual {p1}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getRoles()Ljava/util/Map;
move-result-object v1
invoke-static {v0, v1}, Lk0/n/c/i;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getLinkColorAttrResId()I
move-result v0
invoke-virtual {p1}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getLinkColorAttrResId()I
move-result v1
if-ne v0, v1, :cond_0
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getOnClickUrl()Lkotlin/jvm/functions/Function3;
move-result-object v0
invoke-virtual {p1}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getOnClickUrl()Lkotlin/jvm/functions/Function3;
move-result-object v1
invoke-static {v0, v1}, Lk0/n/c/i;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getOnLongPressUrl()Lkotlin/jvm/functions/Function1;
move-result-object v0
invoke-virtual {p1}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getOnLongPressUrl()Lkotlin/jvm/functions/Function1;
move-result-object v1
invoke-static {v0, v1}, Lk0/n/c/i;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getSpoilerColorRes()I
move-result v0
invoke-virtual {p1}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getSpoilerColorRes()I
move-result v1
if-ne v0, v1, :cond_0
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getSpoilerRevealedColorRes()I
move-result v0
invoke-virtual {p1}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getSpoilerRevealedColorRes()I
move-result v1
if-ne v0, v1, :cond_0
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getSpoilerOnClick()Lkotlin/jvm/functions/Function1;
move-result-object v0
invoke-virtual {p1}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getSpoilerOnClick()Lkotlin/jvm/functions/Function1;
move-result-object v1
invoke-static {v0, v1}, Lk0/n/c/i;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getUserMentionOnClick()Lkotlin/jvm/functions/Function1;
move-result-object v0
invoke-virtual {p1}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getUserMentionOnClick()Lkotlin/jvm/functions/Function1;
move-result-object v1
invoke-static {v0, v1}, Lk0/n/c/i;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getChannelMentionOnClick()Lkotlin/jvm/functions/Function1;
move-result-object v0
invoke-virtual {p1}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getChannelMentionOnClick()Lkotlin/jvm/functions/Function1;
move-result-object p1
invoke-static {v0, p1}, Lk0/n/c/i;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_0
goto :goto_0
:cond_0
const/4 p1, 0x0
return p1
:cond_1
:goto_0
const/4 p1, 0x1
return p1
.end method
.method public getChannelMentionOnClick()Lkotlin/jvm/functions/Function1;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lkotlin/jvm/functions/Function1<",
"Ljava/lang/Long;",
"Lkotlin/Unit;",
">;"
}
.end annotation
iget-object v0, p0, Lcom/discord/utilities/textprocessing/MessageRenderContext;->channelMentionOnClick:Lkotlin/jvm/functions/Function1;
return-object v0
.end method
.method public getChannelNames()Ljava/util/Map;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Ljava/lang/String;",
">;"
}
.end annotation
iget-object v0, p0, Lcom/discord/utilities/textprocessing/MessageRenderContext;->channelNames:Ljava/util/Map;
return-object v0
.end method
.method public getContext()Landroid/content/Context;
.locals 1
iget-object v0, p0, Lcom/discord/utilities/textprocessing/MessageRenderContext;->context:Landroid/content/Context;
return-object v0
.end method
.method public getLinkColorAttrResId()I
.locals 1
iget v0, p0, Lcom/discord/utilities/textprocessing/MessageRenderContext;->linkColorAttrResId:I
return v0
.end method
.method public getMyId()J
.locals 2
iget-wide v0, p0, Lcom/discord/utilities/textprocessing/MessageRenderContext;->myId:J
return-wide v0
.end method
.method public getOnClickUrl()Lkotlin/jvm/functions/Function3;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lkotlin/jvm/functions/Function3<",
"Landroid/content/Context;",
"Ljava/lang/String;",
"Ljava/lang/String;",
"Lkotlin/Unit;",
">;"
}
.end annotation
iget-object v0, p0, Lcom/discord/utilities/textprocessing/MessageRenderContext;->onClickUrl:Lkotlin/jvm/functions/Function3;
return-object v0
.end method
.method public getOnLongPressUrl()Lkotlin/jvm/functions/Function1;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lkotlin/jvm/functions/Function1<",
"Ljava/lang/String;",
"Lkotlin/Unit;",
">;"
}
.end annotation
iget-object v0, p0, Lcom/discord/utilities/textprocessing/MessageRenderContext;->onLongPressUrl:Lkotlin/jvm/functions/Function1;
return-object v0
.end method
.method public getRoles()Ljava/util/Map;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Lcom/discord/models/domain/ModelGuildRole;",
">;"
}
.end annotation
iget-object v0, p0, Lcom/discord/utilities/textprocessing/MessageRenderContext;->roles:Ljava/util/Map;
return-object v0
.end method
.method public getSpoilerColorRes()I
.locals 1
iget v0, p0, Lcom/discord/utilities/textprocessing/MessageRenderContext;->spoilerColorRes:I
return v0
.end method
.method public getSpoilerOnClick()Lkotlin/jvm/functions/Function1;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lkotlin/jvm/functions/Function1<",
"Lcom/discord/utilities/textprocessing/node/SpoilerNode<",
"*>;",
"Lkotlin/Unit;",
">;"
}
.end annotation
iget-object v0, p0, Lcom/discord/utilities/textprocessing/MessageRenderContext;->spoilerOnClick:Lkotlin/jvm/functions/Function1;
return-object v0
.end method
.method public getSpoilerRevealedColorRes()I
.locals 1
iget v0, p0, Lcom/discord/utilities/textprocessing/MessageRenderContext;->spoilerRevealedColorRes:I
return v0
.end method
.method public getUserMentionOnClick()Lkotlin/jvm/functions/Function1;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lkotlin/jvm/functions/Function1<",
"Ljava/lang/Long;",
"Lkotlin/Unit;",
">;"
}
.end annotation
iget-object v0, p0, Lcom/discord/utilities/textprocessing/MessageRenderContext;->userMentionOnClick:Lkotlin/jvm/functions/Function1;
return-object v0
.end method
.method public getUserNames()Ljava/util/Map;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Map<",
"Ljava/lang/Long;",
"Ljava/lang/String;",
">;"
}
.end annotation
iget-object v0, p0, Lcom/discord/utilities/textprocessing/MessageRenderContext;->userNames:Ljava/util/Map;
return-object v0
.end method
.method public hashCode()I
.locals 4
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getContext()Landroid/content/Context;
move-result-object v0
const/4 v1, 0x0
if-eqz v0, :cond_0
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
move-result v0
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
mul-int/lit8 v0, v0, 0x1f
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getMyId()J
move-result-wide v2
invoke-static {v2, v3}, Ld;->a(J)I
move-result v2
add-int/2addr v0, v2
mul-int/lit8 v0, v0, 0x1f
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->isAnimationEnabled()Z
move-result v2
if-eqz v2, :cond_1
const/4 v2, 0x1
:cond_1
add-int/2addr v0, v2
mul-int/lit8 v0, v0, 0x1f
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getUserNames()Ljava/util/Map;
move-result-object v2
if-eqz v2, :cond_2
invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I
move-result v2
goto :goto_1
:cond_2
const/4 v2, 0x0
:goto_1
add-int/2addr v0, v2
mul-int/lit8 v0, v0, 0x1f
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getChannelNames()Ljava/util/Map;
move-result-object v2
if-eqz v2, :cond_3
invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I
move-result v2
goto :goto_2
:cond_3
const/4 v2, 0x0
:goto_2
add-int/2addr v0, v2
mul-int/lit8 v0, v0, 0x1f
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getRoles()Ljava/util/Map;
move-result-object v2
if-eqz v2, :cond_4
invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I
move-result v2
goto :goto_3
:cond_4
const/4 v2, 0x0
:goto_3
add-int/2addr v0, v2
mul-int/lit8 v0, v0, 0x1f
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getLinkColorAttrResId()I
move-result v2
add-int/2addr v2, v0
mul-int/lit8 v2, v2, 0x1f
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getOnClickUrl()Lkotlin/jvm/functions/Function3;
move-result-object v0
if-eqz v0, :cond_5
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
move-result v0
goto :goto_4
:cond_5
const/4 v0, 0x0
:goto_4
add-int/2addr v2, v0
mul-int/lit8 v2, v2, 0x1f
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getOnLongPressUrl()Lkotlin/jvm/functions/Function1;
move-result-object v0
if-eqz v0, :cond_6
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
move-result v0
goto :goto_5
:cond_6
const/4 v0, 0x0
:goto_5
add-int/2addr v2, v0
mul-int/lit8 v2, v2, 0x1f
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getSpoilerColorRes()I
move-result v0
add-int/2addr v0, v2
mul-int/lit8 v0, v0, 0x1f
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getSpoilerRevealedColorRes()I
move-result v2
add-int/2addr v2, v0
mul-int/lit8 v2, v2, 0x1f
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getSpoilerOnClick()Lkotlin/jvm/functions/Function1;
move-result-object v0
if-eqz v0, :cond_7
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
move-result v0
goto :goto_6
:cond_7
const/4 v0, 0x0
:goto_6
add-int/2addr v2, v0
mul-int/lit8 v2, v2, 0x1f
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getUserMentionOnClick()Lkotlin/jvm/functions/Function1;
move-result-object v0
if-eqz v0, :cond_8
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
move-result v0
goto :goto_7
:cond_8
const/4 v0, 0x0
:goto_7
add-int/2addr v2, v0
mul-int/lit8 v2, v2, 0x1f
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getChannelMentionOnClick()Lkotlin/jvm/functions/Function1;
move-result-object v0
if-eqz v0, :cond_9
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
move-result v1
:cond_9
add-int/2addr v2, v1
return v2
.end method
.method public isAnimationEnabled()Z
.locals 1
iget-boolean v0, p0, Lcom/discord/utilities/textprocessing/MessageRenderContext;->isAnimationEnabled:Z
return v0
.end method
.method public toString()Ljava/lang/String;
.locals 3
const-string v0, "MessageRenderContext(context="
invoke-static {v0}, Lf/e/b/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getContext()Landroid/content/Context;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, ", myId="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getMyId()J
move-result-wide v1
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string v1, ", isAnimationEnabled="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->isAnimationEnabled()Z
move-result v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
const-string v1, ", userNames="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getUserNames()Ljava/util/Map;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, ", channelNames="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getChannelNames()Ljava/util/Map;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, ", roles="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getRoles()Ljava/util/Map;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, ", linkColorAttrResId="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getLinkColorAttrResId()I
move-result v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string v1, ", onClickUrl="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getOnClickUrl()Lkotlin/jvm/functions/Function3;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, ", onLongPressUrl="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getOnLongPressUrl()Lkotlin/jvm/functions/Function1;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, ", spoilerColorRes="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getSpoilerColorRes()I
move-result v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string v1, ", spoilerRevealedColorRes="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getSpoilerRevealedColorRes()I
move-result v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string v1, ", spoilerOnClick="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getSpoilerOnClick()Lkotlin/jvm/functions/Function1;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, ", userMentionOnClick="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getUserMentionOnClick()Lkotlin/jvm/functions/Function1;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, ", channelMentionOnClick="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p0}, Lcom/discord/utilities/textprocessing/MessageRenderContext;->getChannelMentionOnClick()Lkotlin/jvm/functions/Function1;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, ")"
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
return-object v0
.end method