ChannelProfileComponent$n.smali

.class final Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent$n;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x18
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent;


# direct methods
.method constructor <init>(Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent;)V
    .registers 2

    iput-object p1, p0, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent$n;->a:Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent;

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

    return-void
.end method


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

    .line 163
    iget-object p1, p0, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent$n;->a:Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent;

    invoke-virtual {p1}, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent;->x()Landroidx/fragment/app/FragmentActivity;

    move-result-object p1

    instance-of v0, p1, Lcom/imo/android/imoim/publicchannel/profile/ChannelProfileActivity;

    if-nez v0, :cond_b

    const/4 p1, 0x0

    :cond_b
    check-cast p1, Lcom/imo/android/imoim/publicchannel/profile/ChannelProfileActivity;

    if-eqz p1, :cond_77

    const-string v0, "22"

    .line 164
    invoke-virtual {p1, v0}, Lcom/imo/android/imoim/publicchannel/profile/ChannelProfileActivity;->a(Ljava/lang/String;)Lcom/imo/android/imoim/publicchannel/h/i$a;

    move-result-object p1

    .line 165
    iget-object v0, p0, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent$n;->a:Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent;

    invoke-static {v0}, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent;->a(Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent;)Lcom/imo/android/imoim/publicchannel/ChannelProfilePage;

    move-result-object v0

    if-eqz v0, :cond_77

    .line 166
    new-instance v1, Lcom/imo/android/imoim/data/message/imdata/r;

    invoke-direct {v1}, Lcom/imo/android/imoim/data/message/imdata/r;-><init>()V

    .line 167
    iget-object v2, v0, Lcom/imo/android/imoim/publicchannel/ChannelProfilePage;->c:Ljava/lang/String;

    const-string v3, ""

    if-nez v2, :cond_29

    move-object v2, v3

    :cond_29
    iput-object v2, v1, Lcom/imo/android/imoim/data/message/imdata/r;->m:Ljava/lang/String;

    .line 168
    iget-object v2, v0, Lcom/imo/android/imoim/publicchannel/ChannelProfilePage;->d:Ljava/lang/String;

    if-nez v2, :cond_30

    move-object v2, v3

    :cond_30
    iput-object v2, v1, Lcom/imo/android/imoim/data/message/imdata/r;->o:Ljava/lang/String;

    .line 169
    iget-object v2, v0, Lcom/imo/android/imoim/publicchannel/ChannelProfilePage;->b:Lcom/imo/android/imoim/publicchannel/ad;

    invoke-virtual {v2}, Lcom/imo/android/imoim/publicchannel/ad;->getType()Ljava/lang/String;

    move-result-object v2

    iput-object v2, v1, Lcom/imo/android/imoim/data/message/imdata/r;->p:Ljava/lang/String;

    .line 170
    iget-object v2, v0, Lcom/imo/android/imoim/publicchannel/ChannelProfilePage;->a:Ljava/lang/String;

    if-nez v2, :cond_3f

    move-object v2, v3

    :cond_3f
    iput-object v2, v1, Lcom/imo/android/imoim/data/message/imdata/r;->n:Ljava/lang/String;

    .line 171
    iget-object v2, v0, Lcom/imo/android/imoim/publicchannel/ChannelProfilePage;->i:Ljava/lang/String;

    if-nez v2, :cond_46

    move-object v2, v3

    :cond_46
    invoke-virtual {v1, v2}, Lcom/imo/android/imoim/data/message/imdata/r;->a(Ljava/lang/String;)V

    .line 172
    sget-object v2, Lcom/imo/android/imoim/publicchannel/post/ac$e;->CHANNEL_PROFILE:Lcom/imo/android/imoim/publicchannel/post/ac$e;

    invoke-virtual {v2}, Lcom/imo/android/imoim/publicchannel/post/ac$e;->name()Ljava/lang/String;

    move-result-object v2

    iput-object v2, v1, Lcom/imo/android/imoim/data/message/imdata/r;->k:Ljava/lang/String;

    .line 173
    iget-object v0, v0, Lcom/imo/android/imoim/publicchannel/ChannelProfilePage;->g:Ljava/lang/String;

    if-nez v0, :cond_56

    goto :goto_57

    :cond_56
    move-object v3, v0

    :goto_57
    iput-object v3, v1, Lcom/imo/android/imoim/data/message/imdata/r;->r:Ljava/lang/String;

    .line 174
    iget-object v0, p0, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent$n;->a:Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent;

    invoke-virtual {v0}, Lcom/imo/android/imoim/publicchannel/profile/component/ChannelProfileComponent;->x()Landroidx/fragment/app/FragmentActivity;

    move-result-object v0

    const-string v2, "context"

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

    check-cast v0, Landroid/content/Context;

    check-cast v1, Lcom/imo/android/imoim/data/message/imdata/b;

    sget-object v2, Lcom/imo/android/imoim/globalshare/a;->a:Lcom/imo/android/imoim/globalshare/a;

    const-string v2, "channel"

    const-string v3, "click"

    invoke-static {v2, v3}, Lcom/imo/android/imoim/globalshare/a;->a(Ljava/lang/String;Ljava/lang/String;)Lcom/imo/android/imoim/globalshare/sharesession/ae;

    move-result-object v2

    check-cast p1, Lcom/imo/android/imoim/publicchannel/h/b;

    invoke-static {v0, v1, v2, p1}, Lcom/imo/android/imoim/globalshare/sharesession/h;->a(Landroid/content/Context;Lcom/imo/android/imoim/data/message/imdata/b;Lcom/imo/android/imoim/globalshare/sharesession/ae;Lcom/imo/android/imoim/publicchannel/h/b;)V

    :cond_77
    return-void
.end method