FeedVRCloseComponent.smali

.class public final Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;
.super Lcom/imo/android/imoim/voiceroom/feeds/compoment/BaseFeedVRComponent;
.source "SourceFile"

# interfaces
.implements Lcom/imo/android/imoim/voiceroom/feeds/compoment/b;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent$a;
    }
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/imo/android/imoim/voiceroom/feeds/compoment/BaseFeedVRComponent<",
        "Lcom/imo/android/imoim/voiceroom/feeds/compoment/b;",
        ">;",
        "Lcom/imo/android/imoim/voiceroom/feeds/compoment/b;"
    }
.end annotation


# static fields
.field static final synthetic d:[Lkotlin/k/g;

.field public static final e:Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent$a;


# instance fields
.field private f:Lcom/imo/android/imoim/fresco/XCircleImageView;

.field private h:Lcom/imo/xui/widget/textview/BoldTextView;

.field private i:Lcom/imo/xui/widget/textview/BoldTextView;

.field private j:Landroid/widget/TextView;

.field private k:Lcom/imo/xui/widget/textview/BoldTextView;

.field private l:Landroidx/appcompat/widget/AppCompatButton;

.field private m:Landroid/view/ViewGroup;

.field private n:Landroidx/recyclerview/widget/RecyclerView;

.field private o:Landroid/view/View;

.field private final p:Ljava/text/DecimalFormat;

.field private q:Z

.field private r:Z

.field private final s:Lkotlin/f;


# direct methods
.method static constructor <clinit>()V
    .registers 5

    const/4 v0, 0x1

    new-array v0, v0, [Lkotlin/k/g;

    new-instance v1, Lkotlin/f/b/z;

    const-class v2, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;

    invoke-static {v2}, Lkotlin/f/b/ab;->a(Ljava/lang/Class;)Lkotlin/k/b;

    move-result-object v2

    const-string v3, "feedVRViewModel"

    const-string v4, "getFeedVRViewModel()Lcom/imo/android/imoim/voiceroom/feeds/viewmodel/FeedVRViewModel;"

    invoke-direct {v1, v2, v3, v4}, Lkotlin/f/b/z;-><init>(Lkotlin/k/c;Ljava/lang/String;Ljava/lang/String;)V

    invoke-static {v1}, Lkotlin/f/b/ab;->a(Lkotlin/f/b/y;)Lkotlin/k/j;

    move-result-object v1

    check-cast v1, Lkotlin/k/g;

    const/4 v2, 0x0

    aput-object v1, v0, v2

    sput-object v0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;->d:[Lkotlin/k/g;

    new-instance v0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent$a;

    const/4 v1, 0x0

    invoke-direct {v0, v1}, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent$a;-><init>(Lkotlin/f/b/j;)V

    sput-object v0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;->e:Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent$a;

    return-void
.end method

.method public constructor <init>(Lcom/imo/android/core/component/c;)V
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/imo/android/core/component/c<",
            "*>;)V"
        }
    .end annotation

    const-string v0, "help"

    invoke-static {p1, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V

    .line 40
    invoke-direct {p0, p1}, Lcom/imo/android/imoim/voiceroom/feeds/compoment/BaseFeedVRComponent;-><init>(Lcom/imo/android/core/component/c;)V

    .line 57
    new-instance p1, Ljava/text/DecimalFormat;

    const-string v0, "#.#"

    invoke-direct {p1, v0}, Ljava/text/DecimalFormat;-><init>(Ljava/lang/String;)V

    iput-object p1, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;->p:Ljava/text/DecimalFormat;

    .line 60
    new-instance p1, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent$b;

    invoke-direct {p1, p0}, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent$b;-><init>(Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;)V

    check-cast p1, Lkotlin/f/a/a;

    invoke-static {p1}, Lkotlin/g;->a(Lkotlin/f/a/a;)Lkotlin/f;

    move-result-object p1

    iput-object p1, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;->s:Lkotlin/f;

    return-void
.end method

.method private final a(J)Ljava/lang/String;
    .registers 6

    const-wide/16 v0, 0x3e8

    cmp-long v2, p1, v0

    if-gez v2, :cond_b

    .line 171
    invoke-static {p1, p2}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;

    move-result-object p1

    return-object p1

    .line 173
    :cond_b
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v1, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;->p:Ljava/text/DecimalFormat;

    long-to-float p1, p1

    const/high16 p2, 0x447a0000    # 1000.0f

    div-float/2addr p1, p2

    invoke-static {p1}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;

    move-result-object p1

    invoke-virtual {v1, p1}, Ljava/text/DecimalFormat;->format(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const/16 p1, 0x6b

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    return-object p1
.end method

.method public static final synthetic a(Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;Z)V
    .registers 6

    .line 11129
    iput-boolean p1, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;->q:Z

    const/4 v0, 0x0

    const-string v1, "btnFollow"

    if-eqz p1, :cond_27

    .line 11131
    iget-object p1, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;->l:Landroidx/appcompat/widget/AppCompatButton;

    if-nez p1, :cond_e

    invoke-static {v1}, Lkotlin/f/b/o;->a(Ljava/lang/String;)V

    :cond_e
    const v2, 0x7f0f02ba

    new-array v3, v0, [Ljava/lang/Object;

    invoke-static {v2, v3}, Lsg/bigo/mobile/android/aab/c/b;->a(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    check-cast v2, Ljava/lang/CharSequence;

    invoke-virtual {p1, v2}, Landroidx/appcompat/widget/AppCompatButton;->setText(Ljava/lang/CharSequence;)V

    .line 11132
    iget-object p0, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;->l:Landroidx/appcompat/widget/AppCompatButton;

    if-nez p0, :cond_23

    invoke-static {v1}, Lkotlin/f/b/o;->a(Ljava/lang/String;)V

    :cond_23
    invoke-virtual {p0, v0}, Landroidx/appcompat/widget/AppCompatButton;->setSelected(Z)V

    return-void

    .line 11134
    :cond_27
    iget-object p1, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;->l:Landroidx/appcompat/widget/AppCompatButton;

    if-nez p1, :cond_2e

    invoke-static {v1}, Lkotlin/f/b/o;->a(Ljava/lang/String;)V

    :cond_2e
    const v2, 0x7f0f02b8

    new-array v0, v0, [Ljava/lang/Object;

    invoke-static {v2, v0}, Lsg/bigo/mobile/android/aab/c/b;->a(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    check-cast v0, Ljava/lang/CharSequence;

    invoke-virtual {p1, v0}, Landroidx/appcompat/widget/AppCompatButton;->setText(Ljava/lang/CharSequence;)V

    .line 11135
    iget-object p0, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;->l:Landroidx/appcompat/widget/AppCompatButton;

    if-nez p0, :cond_43

    invoke-static {v1}, Lkotlin/f/b/o;->a(Ljava/lang/String;)V

    :cond_43
    const/4 p1, 0x1

    invoke-virtual {p0, p1}, Landroidx/appcompat/widget/AppCompatButton;->setSelected(Z)V

    return-void
.end method

.method public static final synthetic a(Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;)Z
    .registers 1

    .line 39
    iget-boolean p0, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;->r:Z

    return p0
.end method

.method public static final synthetic b(Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;)Lcom/imo/android/imoim/voiceroom/room/viewmodel/a;
    .registers 1

    .line 39
    invoke-direct {p0}, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;->m()Lcom/imo/android/imoim/voiceroom/room/viewmodel/a;

    move-result-object p0

    return-object p0
.end method

.method public static final synthetic c(Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;)Z
    .registers 1

    .line 39
    iget-boolean p0, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;->q:Z

    return p0
.end method

.method public static final synthetic d(Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;)Landroid/view/ViewGroup;
    .registers 2

    .line 39
    iget-object p0, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;->m:Landroid/view/ViewGroup;

    if-nez p0, :cond_9

    const-string v0, "rootView"

    invoke-static {v0}, Lkotlin/f/b/o;->a(Ljava/lang/String;)V

    :cond_9
    return-object p0
.end method

.method public static final synthetic e(Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;)Landroidx/recyclerview/widget/RecyclerView;
    .registers 2

    .line 39
    iget-object p0, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;->n:Landroidx/recyclerview/widget/RecyclerView;

    if-nez p0, :cond_9

    const-string v0, "recMicSeat"

    invoke-static {v0}, Lkotlin/f/b/o;->a(Ljava/lang/String;)V

    :cond_9
    return-object p0
.end method

.method public static final synthetic f(Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;)Landroid/view/View;
    .registers 2

    .line 39
    iget-object p0, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;->o:Landroid/view/View;

    if-nez p0, :cond_9

    const-string v0, "headContentLayout"

    invoke-static {v0}, Lkotlin/f/b/o;->a(Ljava/lang/String;)V

    :cond_9
    return-object p0
.end method

.method public static final synthetic g(Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;)V
    .registers 13

    .line 13022
    iget-object v0, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/BaseFeedVRComponent;->b:Lcom/imo/android/imoim/voiceroom/feeds/VoiceRoomFeedFragment$FeedVoiceRoomConfig;

    const/4 v1, 0x0

    if-eqz v0, :cond_8

    .line 13071
    iget-object v0, v0, Lcom/imo/android/imoim/voiceroom/feeds/VoiceRoomFeedFragment$FeedVoiceRoomConfig;->a:Lcom/imo/android/imoim/mediaroom/roominfo/VoiceRoomInfo;

    goto :goto_9

    :cond_8
    move-object v0, v1

    :goto_9
    const-string v2, "rootView"

    const/4 v3, 0x1

    if-eqz v0, :cond_1f

    .line 14057
    iget-boolean v4, v0, Lcom/imo/android/imoim/mediaroom/roominfo/VoiceRoomInfo;->m:Z

    if-ne v4, v3, :cond_1f

    .line 12079
    iget-object p0, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;->m:Landroid/view/ViewGroup;

    if-nez p0, :cond_19

    invoke-static {v2}, Lkotlin/f/b/o;->a(Ljava/lang/String;)V

    :cond_19
    const/16 v0, 0x8

    invoke-virtual {p0, v0}, Landroid/view/ViewGroup;->setVisibility(I)V

    return-void

    .line 12082
    :cond_1f
    iget-object v4, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;->m:Landroid/view/ViewGroup;

    if-nez v4, :cond_26

    invoke-static {v2}, Lkotlin/f/b/o;->a(Ljava/lang/String;)V

    :cond_26
    const/4 v2, 0x0

    invoke-virtual {v4, v2}, Landroid/view/ViewGroup;->setVisibility(I)V

    .line 12083
    iget-object v4, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;->f:Lcom/imo/android/imoim/fresco/XCircleImageView;

    if-nez v4, :cond_33

    const-string v5, "ivIcon"

    invoke-static {v5}, Lkotlin/f/b/o;->a(Ljava/lang/String;)V

    :cond_33
    if-eqz v0, :cond_39

    .line 15065
    iget-object v5, v0, Lcom/imo/android/imoim/mediaroom/roominfo/VoiceRoomInfo;->p:Ljava/lang/String;

    move-object v7, v5

    goto :goto_3a

    :cond_39
    move-object v7, v1

    .line 14183
    :goto_3a
    sget-object v5, Lcom/imo/android/imoim/IMO;->t:Lcom/imo/android/imoim/managers/bg;

    const-string v6, "IMO.profile"

    invoke-static {v5, v6}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-virtual {v5}, Lcom/imo/android/imoim/managers/bg;->a()Ljava/lang/String;

    move-result-object v5

    if-eqz v0, :cond_4a

    .line 16047
    iget-object v6, v0, Lcom/imo/android/imoim/mediaroom/roominfo/VoiceRoomInfo;->h:Ljava/lang/String;

    goto :goto_4b

    :cond_4a
    move-object v6, v1

    .line 14185
    :goto_4b
    move-object v8, v6

    check-cast v8, Ljava/lang/CharSequence;

    if-eqz v8, :cond_59

    invoke-interface {v8}, Ljava/lang/CharSequence;->length()I

    move-result v8

    if-nez v8, :cond_57

    goto :goto_59

    :cond_57
    const/4 v8, 0x0

    goto :goto_5a

    :cond_59
    :goto_59
    const/4 v8, 0x1

    :goto_5a
    const-string v9, "http"

    if-nez v8, :cond_6a

    .line 16332
    invoke-static {v6, v9, v2}, Lkotlin/m/p;->b(Ljava/lang/String;Ljava/lang/String;Z)Z

    move-result v2

    if-eqz v2, :cond_67

    move-object v8, v1

    move-object v9, v6

    goto :goto_89

    :cond_67
    move-object v9, v1

    move-object v8, v6

    goto :goto_89

    .line 14191
    :cond_6a
    move-object v6, v5

    check-cast v6, Ljava/lang/CharSequence;

    if-eqz v6, :cond_77

    invoke-interface {v6}, Ljava/lang/CharSequence;->length()I

    move-result v6

    if-nez v6, :cond_76

    goto :goto_77

    :cond_76
    const/4 v3, 0x0

    :cond_77
    :goto_77
    if-nez v3, :cond_85

    .line 17332
    invoke-static {v5, v9, v2}, Lkotlin/m/p;->b(Ljava/lang/String;Ljava/lang/String;Z)Z

    move-result v2

    if-eqz v2, :cond_82

    move-object v8, v1

    move-object v9, v5

    goto :goto_89

    :cond_82
    move-object v9, v1

    move-object v8, v5

    goto :goto_89

    :cond_85
    const-string v2, "http://bigf.bigo.sg/asia_live/V3ha/1NO5OA.webp"

    move-object v8, v1

    move-object v9, v2

    :goto_89
    if-eqz v4, :cond_a1

    .line 14203
    move-object v6, v4

    check-cast v6, Lcom/imo/android/imoim/fresco/ImoImageView;

    const/4 v10, 0x1

    .line 14208
    new-instance v2, Landroid/graphics/drawable/ColorDrawable;

    const v3, 0x7f080348

    invoke-static {v3}, Lsg/bigo/mobile/android/aab/c/b;->b(I)I

    move-result v3

    invoke-direct {v2, v3}, Landroid/graphics/drawable/ColorDrawable;-><init>(I)V

    move-object v11, v2

    check-cast v11, Landroid/graphics/drawable/Drawable;

    .line 14202
    invoke-static/range {v6 .. v11}, Lcom/imo/android/imoim/managers/aq;->a(Lcom/imo/android/imoim/fresco/ImoImageView;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZLandroid/graphics/drawable/Drawable;)V

    .line 12084
    :cond_a1
    iget-object v2, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;->j:Landroid/widget/TextView;

    if-nez v2, :cond_aa

    const-string v3, "tvName"

    invoke-static {v3}, Lkotlin/f/b/o;->a(Ljava/lang/String;)V

    :cond_aa
    if-eqz v0, :cond_af

    .line 18045
    iget-object v3, v0, Lcom/imo/android/imoim/mediaroom/roominfo/VoiceRoomInfo;->g:Ljava/lang/String;

    goto :goto_b0

    :cond_af
    move-object v3, v1

    .line 12084
    :goto_b0
    check-cast v3, Ljava/lang/CharSequence;

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    if-eqz v0, :cond_b9

    .line 18086
    iget-object v1, v0, Lcom/imo/android/imoim/mediaroom/roominfo/VoiceRoomInfo;->z:Lcom/imo/android/imoim/chatroom/data/RoomCloseInfo;

    :cond_b9
    const-string v0, "tvNewFans"

    const-string v2, "tvLiveTime"

    const-string v3, "tvViewer"

    if-eqz v1, :cond_117

    .line 12087
    iget-object v4, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;->h:Lcom/imo/xui/widget/textview/BoldTextView;

    if-nez v4, :cond_c8

    invoke-static {v3}, Lkotlin/f/b/o;->a(Ljava/lang/String;)V

    .line 19010
    :cond_c8
    iget-object v3, v1, Lcom/imo/android/imoim/chatroom/data/RoomCloseInfo;->a:Ljava/lang/Long;

    const-wide/16 v5, 0x0

    if-eqz v3, :cond_d3

    .line 12087
    invoke-virtual {v3}, Ljava/lang/Long;->longValue()J

    move-result-wide v7

    goto :goto_d4

    :cond_d3
    move-wide v7, v5

    :goto_d4
    invoke-direct {p0, v7, v8}, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;->a(J)Ljava/lang/String;

    move-result-object v3

    check-cast v3, Ljava/lang/CharSequence;

    invoke-virtual {v4, v3}, Lcom/imo/xui/widget/textview/BoldTextView;->setText(Ljava/lang/CharSequence;)V

    .line 12088
    iget-object v3, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;->k:Lcom/imo/xui/widget/textview/BoldTextView;

    if-nez v3, :cond_e4

    invoke-static {v2}, Lkotlin/f/b/o;->a(Ljava/lang/String;)V

    .line 19014
    :cond_e4
    iget-object v2, v1, Lcom/imo/android/imoim/chatroom/data/RoomCloseInfo;->c:Ljava/lang/Long;

    if-eqz v2, :cond_ed

    .line 12088
    invoke-virtual {v2}, Ljava/lang/Long;->longValue()J

    move-result-wide v7

    goto :goto_ee

    :cond_ed
    move-wide v7, v5

    :goto_ee
    const-wide/16 v9, 0x3e8

    div-long/2addr v7, v9

    invoke-static {v7, v8}, Lcom/imo/android/imoim/util/ei;->h(J)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/String;->toString()Ljava/lang/String;

    move-result-object v2

    check-cast v2, Ljava/lang/CharSequence;

    invoke-virtual {v3, v2}, Lcom/imo/xui/widget/textview/BoldTextView;->setText(Ljava/lang/CharSequence;)V

    .line 12089
    iget-object v2, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;->i:Lcom/imo/xui/widget/textview/BoldTextView;

    if-nez v2, :cond_105

    invoke-static {v0}, Lkotlin/f/b/o;->a(Ljava/lang/String;)V

    .line 20012
    :cond_105
    iget-object v0, v1, Lcom/imo/android/imoim/chatroom/data/RoomCloseInfo;->b:Ljava/lang/Long;

    if-eqz v0, :cond_10d

    .line 12089
    invoke-virtual {v0}, Ljava/lang/Long;->longValue()J

    move-result-wide v5

    :cond_10d
    invoke-direct {p0, v5, v6}, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;->a(J)Ljava/lang/String;

    move-result-object p0

    check-cast p0, Ljava/lang/CharSequence;

    invoke-virtual {v2, p0}, Lcom/imo/xui/widget/textview/BoldTextView;->setText(Ljava/lang/CharSequence;)V

    return-void

    .line 12091
    :cond_117
    iget-object v1, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;->h:Lcom/imo/xui/widget/textview/BoldTextView;

    if-nez v1, :cond_11e

    invoke-static {v3}, Lkotlin/f/b/o;->a(Ljava/lang/String;)V

    :cond_11e
    const-string v3, "-"

    move-object v4, v3

    check-cast v4, Ljava/lang/CharSequence;

    invoke-virtual {v1, v4}, Lcom/imo/xui/widget/textview/BoldTextView;->setText(Ljava/lang/CharSequence;)V

    .line 12092
    iget-object v1, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;->k:Lcom/imo/xui/widget/textview/BoldTextView;

    if-nez v1, :cond_12d

    invoke-static {v2}, Lkotlin/f/b/o;->a(Ljava/lang/String;)V

    :cond_12d
    move-object v2, v3

    check-cast v2, Ljava/lang/CharSequence;

    invoke-virtual {v1, v2}, Lcom/imo/xui/widget/textview/BoldTextView;->setText(Ljava/lang/CharSequence;)V

    .line 12093
    iget-object p0, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;->i:Lcom/imo/xui/widget/textview/BoldTextView;

    if-nez p0, :cond_13a

    invoke-static {v0}, Lkotlin/f/b/o;->a(Ljava/lang/String;)V

    :cond_13a
    check-cast v3, Ljava/lang/CharSequence;

    invoke-virtual {p0, v3}, Lcom/imo/xui/widget/textview/BoldTextView;->setText(Ljava/lang/CharSequence;)V

    return-void
.end method

.method private final m()Lcom/imo/android/imoim/voiceroom/room/viewmodel/a;
    .registers 3

    .line 65
    sget-object v0, Lcom/imo/android/imoim/voiceroom/room/viewmodel/a;->a:Lcom/imo/android/imoim/voiceroom/room/viewmodel/a$a;

    .line 1034
    iget-object v0, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/base/BaseFragmentComponent;->g:Landroidx/fragment/app/Fragment;

    .line 2022
    iget-object v1, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/BaseFeedVRComponent;->b:Lcom/imo/android/imoim/voiceroom/feeds/VoiceRoomFeedFragment$FeedVoiceRoomConfig;

    if-eqz v1, :cond_b

    .line 2072
    iget-object v1, v1, Lcom/imo/android/imoim/voiceroom/feeds/VoiceRoomFeedFragment$FeedVoiceRoomConfig;->b:Lcom/imo/android/imoim/biggroup/chatroom/data/ExtensionInfo;

    goto :goto_c

    :cond_b
    const/4 v1, 0x0

    .line 65
    :goto_c
    invoke-static {v0, v1}, Lcom/imo/android/imoim/voiceroom/room/viewmodel/a$a;->a(Landroidx/fragment/app/Fragment;Lcom/imo/android/imoim/biggroup/chatroom/data/ExtensionInfo;)Lcom/imo/android/imoim/voiceroom/room/viewmodel/a;

    move-result-object v0

    return-object v0
.end method


# virtual methods
.method public final a(Landroid/view/View;)V
    .registers 4

    const-string v0, "view"

    invoke-static {p1, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V

    const v0, 0x7f090a8a

    .line 2214
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const-string v1, "view.findViewById(R.id.layout_root)"

    invoke-static {v0, v1}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V

    check-cast v0, Landroid/view/ViewGroup;

    iput-object v0, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;->m:Landroid/view/ViewGroup;

    const v0, 0x7f09090c

    .line 2215
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const-string v1, "view.findViewById(R.id.iv_icon)"

    invoke-static {v0, v1}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V

    check-cast v0, Lcom/imo/android/imoim/fresco/XCircleImageView;

    iput-object v0, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;->f:Lcom/imo/android/imoim/fresco/XCircleImageView;

    const v0, 0x7f0913b9

    .line 2216
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const-string v1, "view.findViewById(R.id.tv_name)"

    invoke-static {v0, v1}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;->j:Landroid/widget/TextView;

    const v0, 0x7f091487

    .line 2217
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const-string v1, "view.findViewById(R.id.tv_viewer)"

    invoke-static {v0, v1}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V

    check-cast v0, Lcom/imo/xui/widget/textview/BoldTextView;

    iput-object v0, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;->h:Lcom/imo/xui/widget/textview/BoldTextView;

    const v0, 0x7f0913c1

    .line 2218
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const-string v1, "view.findViewById(R.id.tv_new_fans)"

    invoke-static {v0, v1}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V

    check-cast v0, Lcom/imo/xui/widget/textview/BoldTextView;

    iput-object v0, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;->i:Lcom/imo/xui/widget/textview/BoldTextView;

    const v0, 0x7f091394

    .line 2219
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const-string v1, "view.findViewById(R.id.tv_live_time)"

    invoke-static {v0, v1}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V

    check-cast v0, Lcom/imo/xui/widget/textview/BoldTextView;

    iput-object v0, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;->k:Lcom/imo/xui/widget/textview/BoldTextView;

    const v0, 0x7f0901fa

    .line 2220
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const-string v1, "view.findViewById(R.id.btn_follow)"

    invoke-static {v0, v1}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V

    check-cast v0, Landroidx/appcompat/widget/AppCompatButton;

    iput-object v0, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;->l:Landroidx/appcompat/widget/AppCompatButton;

    const v0, 0x7f090e11

    .line 2221
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const-string v1, "view.findViewById(R.id.rec_vr_content_seats)"

    invoke-static {v0, v1}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V

    check-cast v0, Landroidx/recyclerview/widget/RecyclerView;

    iput-object v0, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;->n:Landroidx/recyclerview/widget/RecyclerView;

    const v0, 0x7f090aa8

    .line 2222
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p1

    const-string v0, "view.findViewById(R.id.layout_vr_content_head)"

    invoke-static {p1, v0}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V

    iput-object p1, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;->o:Landroid/view/View;

    .line 71
    iget-object p1, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;->m:Landroid/view/ViewGroup;

    if-nez p1, :cond_9c

    const-string v0, "rootView"

    invoke-static {v0}, Lkotlin/f/b/o;->a(Ljava/lang/String;)V

    :cond_9c
    const/16 v0, 0x8

    invoke-virtual {p1, v0}, Landroid/view/ViewGroup;->setVisibility(I)V

    .line 4000
    iget-object p1, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;->s:Lkotlin/f;

    invoke-interface {p1}, Lkotlin/f;->getValue()Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/imo/android/imoim/voiceroom/feeds/viewmodel/FeedVRViewModel;

    .line 4046
    iget-object p1, p1, Lcom/imo/android/imoim/voiceroom/feeds/viewmodel/FeedVRViewModel;->a:Landroidx/lifecycle/LiveData;

    .line 5034
    iget-object v0, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/base/BaseFragmentComponent;->g:Landroidx/fragment/app/Fragment;

    .line 3155
    check-cast v0, Landroidx/lifecycle/LifecycleOwner;

    new-instance v1, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent$c;

    invoke-direct {v1, p0}, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent$c;-><init>(Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;)V

    check-cast v1, Landroidx/lifecycle/Observer;

    invoke-virtual {p1, v0, v1}, Landroidx/lifecycle/LiveData;->observe(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Observer;)V

    .line 5141
    iget-object p1, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;->l:Landroidx/appcompat/widget/AppCompatButton;

    if-nez p1, :cond_c2

    const-string v0, "btnFollow"

    invoke-static {v0}, Lkotlin/f/b/o;->a(Ljava/lang/String;)V

    :cond_c2
    new-instance v0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent$d;

    invoke-direct {v0, p0}, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent$d;-><init>(Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;)V

    check-cast v0, Landroid/view/View$OnClickListener;

    invoke-virtual {p1, v0}, Landroidx/appcompat/widget/AppCompatButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method public final a(Ljava/lang/String;Lcom/imo/android/imoim/voiceroom/feeds/VoiceRoomFeedFragment$FeedVoiceRoomConfig;)V
    .registers 9

    .line 101
    invoke-super {p0, p1, p2}, Lcom/imo/android/imoim/voiceroom/feeds/compoment/BaseFeedVRComponent;->a(Ljava/lang/String;Lcom/imo/android/imoim/voiceroom/feeds/VoiceRoomFeedFragment$FeedVoiceRoomConfig;)V

    .line 7022
    iget-object v0, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/BaseFeedVRComponent;->b:Lcom/imo/android/imoim/voiceroom/feeds/VoiceRoomFeedFragment$FeedVoiceRoomConfig;

    const/4 v1, 0x0

    if-eqz v0, :cond_f

    .line 7071
    iget-object v0, v0, Lcom/imo/android/imoim/voiceroom/feeds/VoiceRoomFeedFragment$FeedVoiceRoomConfig;->a:Lcom/imo/android/imoim/mediaroom/roominfo/VoiceRoomInfo;

    if-eqz v0, :cond_f

    .line 8049
    iget-object v0, v0, Lcom/imo/android/imoim/mediaroom/roominfo/VoiceRoomInfo;->i:Ljava/lang/String;

    goto :goto_10

    :cond_f
    move-object v0, v1

    .line 6124
    :goto_10
    sget-object v2, Lcom/imo/android/imoim/IMO;->d:Lcom/imo/android/imoim/managers/c;

    const-string v3, "IMO.accounts"

    invoke-static {v2, v3}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-virtual {v2}, Lcom/imo/android/imoim/managers/c;->i()Ljava/lang/String;

    move-result-object v2

    invoke-static {v0, v2}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result v0

    const/4 v2, 0x0

    if-nez v0, :cond_3b

    .line 9022
    iget-object v0, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/BaseFeedVRComponent;->b:Lcom/imo/android/imoim/voiceroom/feeds/VoiceRoomFeedFragment$FeedVoiceRoomConfig;

    if-eqz v0, :cond_29

    .line 9072
    iget-object v0, v0, Lcom/imo/android/imoim/voiceroom/feeds/VoiceRoomFeedFragment$FeedVoiceRoomConfig;->b:Lcom/imo/android/imoim/biggroup/chatroom/data/ExtensionInfo;

    goto :goto_2a

    :cond_29
    move-object v0, v1

    .line 6125
    :goto_2a
    instance-of v0, v0, Lcom/imo/android/imoim/biggroup/chatroom/data/ExtensionCommunity;

    .line 10022
    iget-object v3, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/BaseFeedVRComponent;->b:Lcom/imo/android/imoim/voiceroom/feeds/VoiceRoomFeedFragment$FeedVoiceRoomConfig;

    if-eqz v3, :cond_33

    .line 10072
    iget-object v3, v3, Lcom/imo/android/imoim/voiceroom/feeds/VoiceRoomFeedFragment$FeedVoiceRoomConfig;->b:Lcom/imo/android/imoim/biggroup/chatroom/data/ExtensionInfo;

    goto :goto_34

    :cond_33
    move-object v3, v1

    .line 6125
    :goto_34
    instance-of v3, v3, Lcom/imo/android/imoim/biggroup/chatroom/data/ExtensionUser;

    or-int/2addr v0, v3

    if-eqz v0, :cond_3b

    const/4 v0, 0x1

    goto :goto_3c

    :cond_3b
    const/4 v0, 0x0

    :goto_3c
    iput-boolean v0, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;->r:Z

    const-string v3, "btnFollow"

    if-eqz v0, :cond_8d

    .line 104
    invoke-direct {p0}, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;->m()Lcom/imo/android/imoim/voiceroom/room/viewmodel/a;

    move-result-object v0

    if-eqz v0, :cond_5b

    invoke-interface {v0}, Lcom/imo/android/imoim/voiceroom/room/viewmodel/a;->a()Landroidx/lifecycle/LiveData;

    move-result-object v0

    if-eqz v0, :cond_5b

    move-object v4, p0

    check-cast v4, Landroidx/lifecycle/LifecycleOwner;

    new-instance v5, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent$e;

    invoke-direct {v5, p0}, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent$e;-><init>(Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;)V

    check-cast v5, Landroidx/lifecycle/Observer;

    invoke-virtual {v0, v4, v5}, Landroidx/lifecycle/LiveData;->observe(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Observer;)V

    .line 107
    :cond_5b
    invoke-direct {p0}, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;->m()Lcom/imo/android/imoim/voiceroom/room/viewmodel/a;

    move-result-object v0

    if-eqz v0, :cond_71

    invoke-interface {v0}, Lcom/imo/android/imoim/voiceroom/room/viewmodel/a;->c()Landroidx/lifecycle/LiveData;

    move-result-object v0

    if-eqz v0, :cond_71

    move-object v4, p0

    check-cast v4, Landroidx/lifecycle/LifecycleOwner;

    sget-object v5, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent$f;->a:Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent$f;

    check-cast v5, Landroidx/lifecycle/Observer;

    invoke-virtual {v0, v4, v5}, Landroidx/lifecycle/LiveData;->observe(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Observer;)V

    .line 115
    :cond_71
    invoke-direct {p0}, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;->m()Lcom/imo/android/imoim/voiceroom/room/viewmodel/a;

    move-result-object v0

    if-eqz v0, :cond_82

    if-nez p1, :cond_7b

    const-string p1, ""

    :cond_7b
    if-eqz p2, :cond_7f

    .line 11072
    iget-object v1, p2, Lcom/imo/android/imoim/voiceroom/feeds/VoiceRoomFeedFragment$FeedVoiceRoomConfig;->b:Lcom/imo/android/imoim/biggroup/chatroom/data/ExtensionInfo;

    .line 115
    :cond_7f
    invoke-interface {v0, p1, v1}, Lcom/imo/android/imoim/voiceroom/room/viewmodel/a;->a(Ljava/lang/String;Lcom/imo/android/imoim/biggroup/chatroom/data/ExtensionInfo;)V

    .line 116
    :cond_82
    iget-object p1, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;->l:Landroidx/appcompat/widget/AppCompatButton;

    if-nez p1, :cond_89

    invoke-static {v3}, Lkotlin/f/b/o;->a(Ljava/lang/String;)V

    :cond_89
    invoke-virtual {p1, v2}, Landroidx/appcompat/widget/AppCompatButton;->setVisibility(I)V

    return-void

    .line 118
    :cond_8d
    iget-object p1, p0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/FeedVRCloseComponent;->l:Landroidx/appcompat/widget/AppCompatButton;

    if-nez p1, :cond_94

    invoke-static {v3}, Lkotlin/f/b/o;->a(Ljava/lang/String;)V

    :cond_94
    const/16 p2, 0x8

    invoke-virtual {p1, p2}, Landroidx/appcompat/widget/AppCompatButton;->setVisibility(I)V

    return-void
.end method

.method public final d()Ljava/lang/Class;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/lang/Class<",
            "Lcom/imo/android/imoim/voiceroom/feeds/compoment/b;",
            ">;"
        }
    .end annotation

    .line 232
    const-class v0, Lcom/imo/android/imoim/voiceroom/feeds/compoment/b;

    return-object v0
.end method

.method public final k()V
    .registers 1

    return-void
.end method

.method public final l()V
    .registers 1

    return-void
.end method