RoomsYoutubeComponent$e.smali

.class final Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$e;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Landroidx/lifecycle/Observer;


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

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

.annotation system Ldalvik/annotation/Signature;
    value = {
        "<T:",
        "Ljava/lang/Object;",
        ">",
        "Ljava/lang/Object;",
        "Landroidx/lifecycle/Observer<",
        "Ljava/util/List<",
        "Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;",
        ">;>;"
    }
.end annotation


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


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

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

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

    return-void
.end method


# virtual methods
.method public final synthetic onChanged(Ljava/lang/Object;)V
    .registers 9

    .line 45
    check-cast p1, Ljava/util/List;

    .line 1353
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$e;->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 v0

    .line 1354
    iget-object v1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$e;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;

    invoke-static {v1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->z(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeAutoPlayVM;

    move-result-object v2

    .line 2050
    iget-object v2, v2, Lcom/imo/android/imoim/rooms/youtube/RoomsYoutubeAutoPlayVM;->d:Lcom/imo/android/imoim/rooms/data/v;

    .line 1354
    invoke-static {v1, v2}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->a(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;Lcom/imo/android/imoim/rooms/data/v;)V

    .line 1356
    iget-object v1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$e;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;

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

    move-result-object v1

    check-cast v1, Ljava/lang/CharSequence;

    invoke-static {v1}, Lkotlin/m/p;->a(Ljava/lang/CharSequence;)Z

    move-result v1

    const/4 v2, 0x1

    xor-int/2addr v1, v2

    const/4 v3, 0x0

    if-eqz v1, :cond_64

    iget-object v1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$e;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;

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

    move-result-object v1

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

    move-result v0

    if-eqz v0, :cond_64

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

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

    move-result-object v0

    .line 3007
    iget-object v0, v0, Lcom/imo/android/imoim/rooms/data/v;->a:Ljava/util/List;

    .line 1827
    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    const/4 v1, 0x0

    :goto_3d
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v4

    const/4 v5, -0x1

    if-eqz v4, :cond_5c

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v4

    .line 1828
    check-cast v4, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;

    .line 3050
    iget-object v4, v4, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;->a:Ljava/lang/String;

    .line 1357
    iget-object v6, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$e;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;

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

    move-result-object v6

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

    move-result v4

    if-eqz v4, :cond_59

    goto :goto_5d

    :cond_59
    add-int/lit8 v1, v1, 0x1

    goto :goto_3d

    :cond_5c
    const/4 v1, -0x1

    :goto_5d
    if-ne v1, v5, :cond_64

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

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

    .line 1363
    :cond_64
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$e;->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_ea

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

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

    move-result v0

    if-nez v0, :cond_ea

    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$e;->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 v0

    check-cast v0, Ljava/lang/CharSequence;

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

    move-result v0

    if-nez v0, :cond_84

    const/4 v0, 0x1

    goto :goto_85

    :cond_84
    const/4 v0, 0x0

    :goto_85
    if-eqz v0, :cond_ea

    const-string v0, "curVideoList"

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

    invoke-static {p1, v3}, Lkotlin/a/k;->b(Ljava/util/List;I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;

    if-nez p1, :cond_95

    return-void

    .line 1371
    :cond_95
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$e;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;

    .line 4050
    iget-object v1, p1, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;->a:Ljava/lang/String;

    .line 1371
    invoke-static {v0, v1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->d(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;Ljava/lang/String;)V

    .line 1372
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "autoPlayId="

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

    iget-object v1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$e;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;

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

    move-result-object 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

    const-string v1, "RoomsYoutubeComponent"

    .line 4071
    invoke-static {v1, v0}, Lcom/imo/android/imoim/util/bt;->d(Ljava/lang/String;Ljava/lang/String;)V

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

    .line 5058
    iget-object v1, p1, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;->e:Ljava/lang/String;

    .line 1373
    invoke-static {v0, v1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->b(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;Ljava/lang/String;)V

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

    .line 5064
    iget-object v1, p1, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;->h:Ljava/lang/String;

    .line 1374
    invoke-static {v0, v1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->c(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;Ljava/lang/String;)V

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

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

    move-result v0

    if-eqz v0, :cond_ea

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

    invoke-static {v0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->B(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Landroid/view/View;

    move-result-object v0

    .line 1833
    invoke-virtual {v0}, Landroid/view/View;->getVisibility()I

    move-result v0

    if-nez v0, :cond_d8

    goto :goto_d9

    :cond_d8
    const/4 v2, 0x0

    :goto_d9
    if-eqz v2, :cond_ea

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

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

    move-result v0

    if-eqz v0, :cond_ea

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

    .line 6050
    iget-object p1, p1, Lcom/imo/android/imoim/rooms/data/RoomsVideoInfo;->a:Ljava/lang/String;

    .line 1376
    invoke-static {v0, p1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->e(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;Ljava/lang/String;)V

    :cond_ea
    return-void
.end method