f.smali
.class public final Lcom/garena/sticker/f;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lio/reactivex/functions/n;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lio/reactivex/functions/n<",
"Lcom/garena/sticker/model/StickerManifest;",
"Lio/reactivex/w<",
"Lcom/garena/sticker/model/StickerManifest;",
">;>;"
}
.end annotation
# instance fields
.field public final synthetic a:Lcom/garena/sticker/g;
# direct methods
.method public constructor <init>(Lcom/garena/sticker/g;)V
.registers 2
iput-object p1, p0, Lcom/garena/sticker/f;->a:Lcom/garena/sticker/g;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final apply(Ljava/lang/Object;)Ljava/lang/Object;
.registers 6
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
check-cast p1, Lcom/garena/sticker/model/StickerManifest;
.line 2
iget-object v0, p0, Lcom/garena/sticker/f;->a:Lcom/garena/sticker/g;
.line 3
iget-object v1, v0, Lcom/garena/sticker/g;->f:Lcom/garena/sticker/store/a;
.line 4
invoke-virtual {v1}, Lcom/garena/sticker/store/a;->a()Lcom/garena/sticker/model/StickerManifest;
move-result-object v1
.line 5
invoke-virtual {p1}, Lcom/garena/sticker/model/StickerManifest;->getPacks()Ljava/util/List;
move-result-object v2
invoke-static {v2}, Lio/reactivex/l;->fromIterable(Ljava/lang/Iterable;)Lio/reactivex/l;
move-result-object v2
new-instance v3, Lcom/garena/sticker/c;
invoke-direct {v3, v1}, Lcom/garena/sticker/c;-><init>(Lcom/garena/sticker/model/StickerManifest;)V
.line 6
invoke-virtual {v2, v3}, Lio/reactivex/l;->filter(Lio/reactivex/functions/o;)Lio/reactivex/l;
move-result-object v1
new-instance v2, Lcom/garena/sticker/b;
invoke-direct {v2, v0}, Lcom/garena/sticker/b;-><init>(Lcom/garena/sticker/g;)V
.line 7
invoke-virtual {v1, v2}, Lio/reactivex/l;->flatMap(Lio/reactivex/functions/n;)Lio/reactivex/l;
move-result-object v1
new-instance v2, Lcom/garena/sticker/h;
invoke-direct {v2, v0}, Lcom/garena/sticker/h;-><init>(Lcom/garena/sticker/g;)V
.line 8
invoke-virtual {v1, v2}, Lio/reactivex/l;->map(Lio/reactivex/functions/n;)Lio/reactivex/l;
move-result-object v0
.line 9
invoke-virtual {v0}, Lio/reactivex/l;->toList()Lio/reactivex/u;
move-result-object v0
new-instance v1, Lcom/garena/sticker/e;
invoke-direct {v1, p1}, Lcom/garena/sticker/e;-><init>(Lcom/garena/sticker/model/StickerManifest;)V
.line 10
invoke-static {v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
.line 11
new-instance p1, Lio/reactivex/internal/operators/single/d;
invoke-direct {p1, v0, v1}, Lio/reactivex/internal/operators/single/d;-><init>(Lio/reactivex/w;Lio/reactivex/functions/n;)V
return-object p1
.end method