package gb;

import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import e0.b;
import h2.e0;
import j2.g;
import l1.c;
import l1.i;
import q2.o0;
import rm.n0;
import v0.z1;
import y0.d4;
import y0.l2;
import y0.x2;

/* loaded from: classes4.dex */
public abstract class v {

    /* JADX INFO: Access modifiers changed from: package-private */
    /* loaded from: classes4.dex */
    public static final class a extends kotlin.jvm.internal.v implements dn.p {

        /* renamed from: p, reason: collision with root package name */
        final /* synthetic */ int f19497p;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        a(int i10) {
            super(2);
            this.f19497p = i10;
        }

        public final void a(y0.m mVar, int i10) {
            v.a(mVar, l2.a(this.f19497p | 1));
        }

        @Override // dn.p
        public /* bridge */ /* synthetic */ Object invoke(Object obj, Object obj2) {
            a((y0.m) obj, ((Number) obj2).intValue());
            return n0.f34904a;
        }
    }

    /* JADX INFO: Access modifiers changed from: package-private */
    /* loaded from: classes4.dex */
    public static final class b extends kotlin.jvm.internal.v implements dn.p {

        /* renamed from: p, reason: collision with root package name */
        final /* synthetic */ int f19498p;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        b(int i10) {
            super(2);
            this.f19498p = i10;
        }

        public final void a(y0.m mVar, int i10) {
            v.b(mVar, l2.a(this.f19498p | 1));
        }

        @Override // dn.p
        public /* bridge */ /* synthetic */ Object invoke(Object obj, Object obj2) {
            a((y0.m) obj, ((Number) obj2).intValue());
            return n0.f34904a;
        }
    }

    public static final void a(y0.m mVar, int i10) {
        y0.m r10 = mVar.r(860487758);
        if (i10 == 0 && r10.v()) {
            r10.A();
        } else {
            if (y0.p.H()) {
                y0.p.Q(860487758, i10, -1, "ca.canadapost.module.consumerhome.landing.items.NoPackagesItem (NoPackagesItem.kt:33)");
            }
            l7.g.a(null, i.f19397a.a(), null, r10, 48, 5);
            if (y0.p.H()) {
                y0.p.P();
            }
        }
        x2 y10 = r10.y();
        if (y10 != null) {
            y10.a(new a(i10));
        }
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final void b(y0.m mVar, int i10) {
        y0.m mVar2;
        y0.m r10 = mVar.r(2052920167);
        if (i10 == 0 && r10.v()) {
            r10.A();
            mVar2 = r10;
        } else {
            if (y0.p.H()) {
                y0.p.Q(2052920167, i10, -1, "ca.canadapost.module.consumerhome.landing.items.NoPackagesItemMobileView (NoPackagesItem.kt:40)");
            }
            i.a aVar = l1.i.f27362a;
            l1.i h10 = androidx.compose.foundation.layout.o.h(aVar, BitmapDescriptorFactory.HUE_RED, 1, null);
            b.m h11 = e0.b.f16607a.h();
            c.a aVar2 = l1.c.f27332a;
            e0 a10 = e0.d.a(h11, aVar2.k(), r10, 0);
            int a11 = y0.j.a(r10, 0);
            y0.y D = r10.D();
            l1.i e10 = l1.h.e(r10, h10);
            g.a aVar3 = j2.g.f23616d;
            dn.a a12 = aVar3.a();
            if (!(r10.w() instanceof y0.f)) {
                y0.j.c();
            }
            r10.u();
            if (r10.n()) {
                r10.o(a12);
            } else {
                r10.F();
            }
            y0.m a13 = d4.a(r10);
            d4.b(a13, a10, aVar3.c());
            d4.b(a13, D, aVar3.e());
            dn.p b10 = aVar3.b();
            if (a13.n() || !kotlin.jvm.internal.t.b(a13.f(), Integer.valueOf(a11))) {
                a13.I(Integer.valueOf(a11));
                a13.l(Integer.valueOf(a11), b10);
            }
            d4.b(a13, e10, aVar3.d());
            z.a0.a(m2.e.c(bb.e.A, r10, 0), null, e0.g.f16653a.b(aVar, aVar2.g()), null, null, BitmapDescriptorFactory.HUE_RED, null, r10, 56, 120);
            float t10 = c3.h.t(16);
            l7.o oVar = l7.o.Vertical;
            l7.n.a(t10, oVar, r10, 54);
            String b11 = m2.j.b(bb.h.L, r10, 0);
            n7.a aVar4 = n7.a.f29827a;
            int i11 = n7.a.f29828b;
            z1.b(b11, null, aVar4.a(r10, i11).f().g(), 0L, null, null, null, 0L, null, null, 0L, 0, false, 0, 0, null, aVar4.c(r10, i11).u(), r10, 0, 0, 65530);
            l7.n.a(c3.h.t(6), oVar, r10, 54);
            String b12 = m2.j.b(bb.h.K, r10, 0);
            o0 d10 = aVar4.c(r10, i11).d();
            long c10 = aVar4.a(r10, i11).f().c();
            mVar2 = r10;
            z1.b(b12, null, c10, 0L, null, null, null, 0L, null, null, 0L, 0, false, 0, 0, null, d10, mVar2, 0, 0, 65530);
            mVar2.O();
            if (y0.p.H()) {
                y0.p.P();
            }
        }
        x2 y10 = mVar2.y();
        if (y10 != null) {
            y10.a(new b(i10));
        }
    }
}
