package x5;

import Z6.AbstractC0385z;
import Z6.J;
import Z6.r0;
import android.app.Application;
import androidx.lifecycle.P;
import c7.H;
import c7.K;
import l6.C1139a;
import p5.C1432b;
import p5.C1434d;
import s0.C1515a;
import y5.C1763h;

/* JADX INFO: loaded from: classes.dex */
public final class k extends y5.k {

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final p5.f f18692d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final C1139a f18693e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final p5.k f18694f;

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    public final p5.i f18695g;

    /* JADX INFO: renamed from: h, reason: collision with root package name */
    public final C1434d f18696h;
    public final Application i;

    /* JADX INFO: renamed from: j, reason: collision with root package name */
    public final K f18697j;

    /* JADX INFO: renamed from: k, reason: collision with root package name */
    public String f18698k;

    /* JADX INFO: renamed from: l, reason: collision with root package name */
    public String f18699l;

    /* JADX INFO: renamed from: m, reason: collision with root package name */
    public final String f18700m;

    /* JADX INFO: renamed from: n, reason: collision with root package name */
    public final A6.l f18701n;

    /* JADX INFO: renamed from: o, reason: collision with root package name */
    public int f18702o;

    /* JADX INFO: renamed from: p, reason: collision with root package name */
    public r0 f18703p;

    public k(p5.f fVar, C1139a c1139a, p5.k kVar, p5.i iVar, C1434d c1434d, Application application, p5.g gVar, C1432b c1432b) {
        P6.g.e(fVar, "latestVersionUseCase");
        P6.g.e(kVar, "versionNameUseCase");
        P6.g.e(iVar, "rcUseCase");
        P6.g.e(c1434d, "ladUseCase");
        P6.g.e(gVar, "netCacheUseCase");
        P6.g.e(c1432b, "fbLogUseCase");
        this.f18692d = fVar;
        this.f18693e = c1139a;
        this.f18694f = kVar;
        this.f18695g = iVar;
        this.f18696h = c1434d;
        this.i = application;
        this.f18697j = H.b(new C1763h(g.f18687b));
        this.f18698k = "";
        this.f18699l = "";
        g6.o oVar = g6.o.f12958a;
        this.f18700m = oVar.X();
        this.f18701n = new A6.l(oVar.R(), oVar.Q(), oVar.S());
        this.f18702o = -1;
        e(false, new C1719a(this, null));
        e(false, new C1720b(this, null));
        e(false, new C1721c(this, null));
        e(false, new C1722d(this, null));
        e(false, new e(this, null));
        e(false, new f(this, null));
    }

    public final void h(int i) {
        if (this.f18702o == i) {
            return;
        }
        this.f18702o = i;
        r0 r0Var = this.f18703p;
        if (r0Var != null) {
            r0Var.b(null);
        }
        C1515a c1515aH = P.h(this);
        g7.e eVar = J.f7474a;
        this.f18703p = AbstractC0385z.r(c1515aH, g7.d.f12985s, new j(this, i, null), 2);
    }
}
