f.smali

.class public final Lej/f;
.super Ljava/lang/Object;
.source "PushReceiveReporter.kt"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lej/f$a;
    }
.end annotation

.annotation runtime Lkotlin/Metadata;
    bv = {
        0x1,
        0x0,
        0x3
    }
    d1 = {
        "\u00004\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0003\u0008\u00c6\u0002\u0018\u00002\u00020\u0001:\u0001\u0010B\u0007\u0008\u0002\u00a2\u0006\u0002\u0010\u0002J\u0010\u0010\u0003\u001a\u00020\u00042\u0006\u0010\u0005\u001a\u00020\u0006H\u0007J\u0010\u0010\u0003\u001a\u00020\u00042\u0006\u0010\u0005\u001a\u00020\u0007H\u0007J\u0016\u0010\u0003\u001a\u00020\u00082\u000c\u0010\t\u001a\u0008\u0012\u0004\u0012\u00020\u000b0\nH\u0007J\u0010\u0010\u000c\u001a\u00020\u00082\u0006\u0010\r\u001a\u00020\u000eH\u0003J\u000c\u0010\u000f\u001a\u00020\u000e*\u00020\u0006H\u0002J\u000c\u0010\u000f\u001a\u00020\u000e*\u00020\u000bH\u0002J\u000c\u0010\u000f\u001a\u00020\u000e*\u00020\u0007H\u0002\u00a8\u0006\u0011"
    }
    d2 = {
        "Lcom/shopee/foody/driver/push/PushReceiveReporter;",
        "",
        "()V",
        "onPushReceived",
        "Lkotlinx/coroutines/Job;",
        "notification",
        "Lcom/shopee/foody/driver/notiservice/fcm/FcmNotiMessage;",
        "Lcom/shopee/protocol/action/Notification;",
        "",
        "pushDetails",
        "",
        "Lcom/shopee/foody/push/service/PushDetail;",
        "report",
        "detail",
        "Lcom/shopee/foody/driver/push/PushReceiveReporter$ReportDetail;",
        "mapToReport",
        "ReportDetail",
        "driver_indonesiaRelease"
    }
    k = 0x1
    mv = {
        0x1,
        0x1,
        0x10
    }
.end annotation


# static fields
.field public static final a:Lej/f;


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

    new-instance v0, Lej/f;

    invoke-direct {v0}, Lej/f;-><init>()V

    sput-object v0, Lej/f;->a:Lej/f;

    return-void
.end method

.method public constructor <init>()V
    .registers 1

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

    return-void
.end method

.method public static final synthetic a(Lej/f;Lbi/b;)Lej/f$a;
    .registers 2

    invoke-virtual {p0, p1}, Lej/f;->a(Lbi/b;)Lej/f$a;

    move-result-object p0

    return-object p0
.end method

.method public static final synthetic a(Lej/f;Lcom/shopee/protocol/action/Notification;)Lej/f$a;
    .registers 2

    invoke-virtual {p0, p1}, Lej/f;->a(Lcom/shopee/protocol/action/Notification;)Lej/f$a;

    move-result-object p0

    return-object p0
.end method

.method public static final synthetic a(Lej/f;Lfl/a;)Lej/f$a;
    .registers 2

    invoke-virtual {p0, p1}, Lej/f;->a(Lfl/a;)Lej/f$a;

    move-result-object p0

    return-object p0
.end method

.method public static final synthetic a(Lej/f;Lej/f$a;)V
    .registers 2

    invoke-virtual {p0, p1}, Lej/f;->a(Lej/f$a;)V

    return-void
.end method


# virtual methods
.method public final a(Lbi/b;)Lej/f$a;
    .registers 4

    new-instance v0, Lej/f$a;

    sget-object v1, Lcom/shopee/foody/push/service/PushSourceType;->NotiSSOffline:Lcom/shopee/foody/push/service/PushSourceType;

    invoke-virtual {p1}, Lbi/b;->e()Ljava/lang/String;

    move-result-object p1

    invoke-direct {v0, v1, p1}, Lej/f$a;-><init>(Lcom/shopee/foody/push/service/PushSourceType;Ljava/lang/String;)V

    return-object v0
.end method

.method public final a(Lcom/shopee/protocol/action/Notification;)Lej/f$a;
    .registers 4

    new-instance v0, Lej/f$a;

    sget-object v1, Lcom/shopee/foody/push/service/PushSourceType;->NotiSSOnline:Lcom/shopee/foody/push/service/PushSourceType;

    iget-object p1, p1, Lcom/shopee/protocol/action/Notification;->trace_context:Lcom/shopee/protocol/action/TraceContext;

    if-eqz p1, :cond_b

    iget-object p1, p1, Lcom/shopee/protocol/action/TraceContext;->trace_id:Ljava/lang/String;

    goto :goto_c

    :cond_b
    const/4 p1, 0x0

    :goto_c
    invoke-direct {v0, v1, p1}, Lej/f$a;-><init>(Lcom/shopee/foody/push/service/PushSourceType;Ljava/lang/String;)V

    return-object v0
.end method

.method public final a(Lfl/a;)Lej/f$a;
    .registers 4

    new-instance v0, Lej/f$a;

    invoke-virtual {p1}, Lfl/a;->a()Lcom/shopee/foody/push/service/PushSourceType;

    move-result-object v1

    invoke-virtual {p1}, Lfl/a;->b()Ljava/lang/String;

    move-result-object p1

    invoke-direct {v0, v1, p1}, Lej/f$a;-><init>(Lcom/shopee/foody/push/service/PushSourceType;Ljava/lang/String;)V

    return-object v0
.end method

.method public final a(Lej/f$a;)V
    .registers 10
    .annotation build Landroidx/annotation/WorkerThread;
    .end annotation

    sget-object v0, Lik/a;->a:Lik/a;

    invoke-virtual {p1}, Lej/f$a;->b()Lp5/l;

    move-result-object v5

    const-string v1, "foody_push"

    const/4 v2, 0x0

    const/4 v3, 0x0

    const-string v4, "foody_push_receive"

    const/4 v6, 0x6

    const/4 v7, 0x0

    invoke-static/range {v0 .. v7}, Lik/a;->a(Lik/a;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lp5/l;ILjava/lang/Object;)V

    sget-object v0, Ljd/b;->c:Ljd/b$a;

    invoke-virtual {v0}, Ljd/b$a;->a()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/google/firebase/analytics/FirebaseAnalytics;->getInstance(Landroid/content/Context;)Lcom/google/firebase/analytics/FirebaseAnalytics;

    move-result-object v0

    invoke-virtual {p1}, Lej/f$a;->a()Landroid/os/Bundle;

    move-result-object p1

    const-string v1, "foody_push_receive"

    invoke-virtual {v0, v1, p1}, Lcom/google/firebase/analytics/FirebaseAnalytics;->a(Ljava/lang/String;Landroid/os/Bundle;)V

    return-void
.end method

.method public final a(Ljava/util/List;)V
    .registers 9
    .annotation build Landroidx/annotation/AnyThread;
    .end annotation

    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Lfl/a;",
            ">;)V"
        }
    .end annotation

    invoke-interface {p1}, Ljava/util/List;->isEmpty()Z

    move-result v0

    if-eqz v0, :cond_7

    return-void

    :cond_7
    sget-object v1, Lkotlinx/coroutines/GlobalScope;->INSTANCE:Lkotlinx/coroutines/GlobalScope;

    invoke-static {}, Lmd/e;->b()Lmd/d;

    move-result-object v2

    const/4 v3, 0x0

    new-instance v4, Lej/f$b;

    const/4 v0, 0x0

    invoke-direct {v4, p1, v0}, Lej/f$b;-><init>(Ljava/util/List;Lkotlin/coroutines/Continuation;)V

    const/4 v5, 0x2

    const/4 v6, 0x0

    invoke-static/range {v1 .. v6}, Lkotlinx/coroutines/BuildersKt;->launch$default(Lkotlinx/coroutines/CoroutineScope;Lkotlin/coroutines/CoroutineContext;Lkotlinx/coroutines/CoroutineStart;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/Job;

    return-void
.end method

.method public final b(Lbi/b;)Lkotlinx/coroutines/Job;
    .registers 8
    .annotation build Landroidx/annotation/AnyThread;
    .end annotation

    sget-object v0, Lkotlinx/coroutines/GlobalScope;->INSTANCE:Lkotlinx/coroutines/GlobalScope;

    invoke-static {}, Lmd/e;->b()Lmd/d;

    move-result-object v1

    new-instance v3, Lej/f$c;

    const/4 v2, 0x0

    invoke-direct {v3, p1, v2}, Lej/f$c;-><init>(Lbi/b;Lkotlin/coroutines/Continuation;)V

    const/4 v4, 0x2

    const/4 v5, 0x0

    invoke-static/range {v0 .. v5}, Lkotlinx/coroutines/BuildersKt;->launch$default(Lkotlinx/coroutines/CoroutineScope;Lkotlin/coroutines/CoroutineContext;Lkotlinx/coroutines/CoroutineStart;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/Job;

    move-result-object p1

    return-object p1
.end method

.method public final b(Lcom/shopee/protocol/action/Notification;)Lkotlinx/coroutines/Job;
    .registers 8
    .annotation build Landroidx/annotation/AnyThread;
    .end annotation

    sget-object v0, Lkotlinx/coroutines/GlobalScope;->INSTANCE:Lkotlinx/coroutines/GlobalScope;

    invoke-static {}, Lmd/e;->b()Lmd/d;

    move-result-object v1

    new-instance v3, Lej/f$d;

    const/4 v2, 0x0

    invoke-direct {v3, p1, v2}, Lej/f$d;-><init>(Lcom/shopee/protocol/action/Notification;Lkotlin/coroutines/Continuation;)V

    const/4 v4, 0x2

    const/4 v5, 0x0

    invoke-static/range {v0 .. v5}, Lkotlinx/coroutines/BuildersKt;->launch$default(Lkotlinx/coroutines/CoroutineScope;Lkotlin/coroutines/CoroutineContext;Lkotlinx/coroutines/CoroutineStart;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/Job;

    move-result-object p1

    return-object p1
.end method