RoomsYoutubeComponent$g$7.smali

.class final Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g$7;
.super Lkotlin/f/b/p;
.source "SourceFile"

# interfaces
.implements Lkotlin/f/a/a;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;
.end annotation

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

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lkotlin/f/b/p;",
        "Lkotlin/f/a/a<",
        "Lkotlin/w;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;


# direct methods
.method constructor <init>(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;)V
    .registers 2

    iput-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g$7;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;

    const/4 p1, 0x0

    invoke-direct {p0, p1}, Lkotlin/f/b/p;-><init>(I)V

    return-void
.end method


# virtual methods
.method public final synthetic invoke()Ljava/lang/Object;
    .registers 10

    .line 1173
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g$7;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;

    iget-object v0, v0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;

    invoke-static {v0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->f(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Z

    move-result v0

    if-eqz v0, :cond_d1

    .line 1176
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g$7;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;

    iget-object v0, v0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;

    invoke-virtual {v0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->j()Z

    move-result v0

    const/4 v1, 0x0

    if-eqz v0, :cond_6b

    .line 1177
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g$7;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;

    iget-object v0, v0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;

    invoke-static {v0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView;

    move-result-object v0

    if-eqz v0, :cond_24

    const-string v2, "javascript:pauseVideo()"

    .line 2135
    invoke-virtual {v0, v2}, Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView;->a(Ljava/lang/String;)V

    .line 1178
    :cond_24
    sget-object v0, Lcom/imo/android/imoim/rooms/entrance/c;->c:Lcom/imo/android/imoim/rooms/entrance/c;

    .line 3070
    invoke-static {}, Lcom/imo/android/imoim/rooms/entrance/c;->b()Lcom/imo/android/imoim/rooms/entrance/b/b;

    .line 1178
    invoke-static {}, Lcom/imo/android/imoim/rooms/av/a/c;->g()Ljava/lang/String;

    move-result-object v2

    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g$7;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;

    iget-object v0, v0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;

    invoke-static {v0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->h(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Ljava/lang/String;

    move-result-object v3

    .line 1179
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g$7;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;

    iget-object v0, v0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;

    invoke-static {v0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->i(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Ljava/lang/String;

    move-result-object v5

    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g$7;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;

    iget-object v0, v0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;

    invoke-static {v0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->j(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)F

    move-result v0

    float-to-int v6, v0

    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g$7;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;

    iget-object v0, v0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;

    invoke-static {v0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->k(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Ljava/lang/String;

    move-result-object v7

    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g$7;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;

    iget-object v0, v0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;

    invoke-static {v0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->l(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Ljava/lang/String;

    move-result-object v8

    const-string v4, "pause"

    .line 1178
    invoke-static/range {v2 .. v8}, Lcom/imo/android/imoim/rooms/entrance/b/b;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V

    .line 1180
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g$7;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;

    iget-object v0, v0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;

    invoke-static {v0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->m(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Ljava/lang/String;

    move-result-object v0

    new-array v1, v1, [Lkotlin/m;

    const-string v2, "pause"

    invoke-static {v2, v0, v1}, Lcom/imo/android/imoim/rooms/b/g;->a(Ljava/lang/String;Ljava/lang/String;[Lkotlin/m;)V

    goto :goto_d1

    .line 1182
    :cond_6b
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g$7;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;

    iget-object v0, v0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;

    invoke-static {v0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->n(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Lcom/imo/android/imoim/story/g/b$a;

    move-result-object v0

    sget-object v2, Lcom/imo/android/imoim/story/g/b$a;->PAUSED:Lcom/imo/android/imoim/story/g/b$a;

    if-eq v0, v2, :cond_7c

    .line 1184
    sget-object v0, Lcom/imo/android/imoim/rooms/b/i;->e:Lcom/imo/android/imoim/rooms/b/i;

    invoke-static {}, Lcom/imo/android/imoim/rooms/b/i;->b()V

    .line 1186
    :cond_7c
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g$7;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;

    iget-object v0, v0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;

    invoke-static {v0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView;

    move-result-object v0

    if-eqz v0, :cond_8b

    const-string v2, "javascript:playVideo()"

    .line 3131
    invoke-virtual {v0, v2}, Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView;->a(Ljava/lang/String;)V

    .line 1187
    :cond_8b
    sget-object v0, Lcom/imo/android/imoim/rooms/entrance/c;->c:Lcom/imo/android/imoim/rooms/entrance/c;

    .line 4070
    invoke-static {}, Lcom/imo/android/imoim/rooms/entrance/c;->b()Lcom/imo/android/imoim/rooms/entrance/b/b;

    .line 1187
    invoke-static {}, Lcom/imo/android/imoim/rooms/av/a/c;->g()Ljava/lang/String;

    move-result-object v2

    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g$7;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;

    iget-object v0, v0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;

    invoke-static {v0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->h(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Ljava/lang/String;

    move-result-object v3

    .line 1188
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g$7;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;

    iget-object v0, v0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;

    invoke-static {v0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->i(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Ljava/lang/String;

    move-result-object v5

    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g$7;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;

    iget-object v0, v0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;

    invoke-static {v0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->j(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)F

    move-result v0

    float-to-int v6, v0

    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g$7;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;

    iget-object v0, v0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;

    invoke-static {v0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->k(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Ljava/lang/String;

    move-result-object v7

    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g$7;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;

    iget-object v0, v0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;

    invoke-static {v0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->l(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Ljava/lang/String;

    move-result-object v8

    const-string v4, "playing"

    .line 1187
    invoke-static/range {v2 .. v8}, Lcom/imo/android/imoim/rooms/entrance/b/b;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V

    .line 1189
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g$7;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;

    iget-object v0, v0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;

    invoke-static {v0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->m(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Ljava/lang/String;

    move-result-object v0

    new-array v1, v1, [Lkotlin/m;

    const-string v2, "play"

    invoke-static {v2, v0, v1}, Lcom/imo/android/imoim/rooms/b/g;->a(Ljava/lang/String;Ljava/lang/String;[Lkotlin/m;)V

    .line 45
    :cond_d1
    :goto_d1
    sget-object v0, Lkotlin/w;->a:Lkotlin/w;

    return-object v0
.end method