package vc;

import android.content.Context;
import androidx.compose.ui.platform.AndroidCompositionLocals_androidKt;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import dn.p;
import e0.b;
import e0.f0;
import e0.g0;
import h0.c0;
import h0.d0;
import h2.e0;
import j2.g;
import java.util.Arrays;
import java.util.List;
import java.util.Locale;
import kotlin.jvm.internal.k0;
import kotlin.jvm.internal.u0;
import kotlin.jvm.internal.v;
import l1.c;
import l1.i;
import q2.o0;
import rm.n0;
import rm.y;
import tp.m0;
import v0.z1;
import v2.r;
import y0.b0;
import y0.d4;
import y0.e3;
import y0.l2;
import y0.m;
import y0.n1;
import y0.n3;
import y0.p0;
import y0.q1;
import y0.s3;
import y0.x2;
import y0.y3;
import z.a0;

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

    /* 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 */ tc.b f39427p;

        /* JADX INFO: Access modifiers changed from: package-private */
        /* renamed from: vc.b$a$a, reason: collision with other inner class name */
        /* loaded from: classes4.dex */
        public static final class C0935a extends kotlin.jvm.internal.v implements dn.l {

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

            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            C0935a(String str) {
                super(1);
                this.f39428p = str;
            }

            public final void a(o2.u clearAndSetSemantics) {
                kotlin.jvm.internal.t.g(clearAndSetSemantics, "$this$clearAndSetSemantics");
                o2.s.Y(clearAndSetSemantics, this.f39428p);
            }

            @Override // dn.l
            public /* bridge */ /* synthetic */ Object invoke(Object obj) {
                a((o2.u) obj);
                return n0.f34904a;
            }
        }

        /* JADX INFO: Access modifiers changed from: package-private */
        /* renamed from: vc.b$a$b, reason: collision with other inner class name */
        /* loaded from: classes4.dex */
        public static final class C0936b extends kotlin.jvm.internal.v implements dn.l {

            /* renamed from: p, reason: collision with root package name */
            public static final C0936b f39429p = new C0936b();

            C0936b() {
                super(1);
            }

            public final void a(o2.u semantics) {
                kotlin.jvm.internal.t.g(semantics, "$this$semantics");
                o2.s.v(semantics);
            }

            @Override // dn.l
            public /* bridge */ /* synthetic */ Object invoke(Object obj) {
                a((o2.u) obj);
                return n0.f34904a;
            }
        }

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

            /* renamed from: p, reason: collision with root package name */
            final /* synthetic */ tc.b f39430p;

            /* renamed from: q, reason: collision with root package name */
            final /* synthetic */ y3 f39431q;

            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            c(tc.b bVar, y3 y3Var) {
                super(0);
                this.f39430p = bVar;
                this.f39431q = y3Var;
            }

            @Override // dn.a
            public /* bridge */ /* synthetic */ Object invoke() {
                m450invoke();
                return n0.f34904a;
            }

            /* renamed from: invoke, reason: collision with other method in class */
            public final void m450invoke() {
                this.f39430p.r(!a.i(this.f39431q));
            }
        }

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

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

            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            d(String str) {
                super(1);
                this.f39432p = str;
            }

            public final void a(o2.u clearAndSetSemantics) {
                kotlin.jvm.internal.t.g(clearAndSetSemantics, "$this$clearAndSetSemantics");
                o2.s.Y(clearAndSetSemantics, this.f39432p);
                o2.s.f0(clearAndSetSemantics, o2.f.f30548b.f());
            }

            @Override // dn.l
            public /* bridge */ /* synthetic */ Object invoke(Object obj) {
                a((o2.u) obj);
                return n0.f34904a;
            }
        }

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

            /* renamed from: p, reason: collision with root package name */
            public static final e f39433p = new e();

            e() {
                super(1);
            }

            public final void a(o2.u semantics) {
                kotlin.jvm.internal.t.g(semantics, "$this$semantics");
                o2.s.v(semantics);
            }

            @Override // dn.l
            public /* bridge */ /* synthetic */ Object invoke(Object obj) {
                a((o2.u) obj);
                return n0.f34904a;
            }
        }

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

            /* renamed from: p, reason: collision with root package name */
            public static final f f39434p = new f();

            f() {
                super(1);
            }

            public final void a(o2.u semantics) {
                kotlin.jvm.internal.t.g(semantics, "$this$semantics");
                o2.s.v(semantics);
            }

            @Override // dn.l
            public /* bridge */ /* synthetic */ Object invoke(Object obj) {
                a((o2.u) obj);
                return n0.f34904a;
            }
        }

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

            /* renamed from: p, reason: collision with root package name */
            final /* synthetic */ tc.b f39435p;

            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            g(tc.b bVar) {
                super(1);
                this.f39435p = bVar;
            }

            public final void a(boolean z10) {
                this.f39435p.r(z10);
            }

            @Override // dn.l
            public /* bridge */ /* synthetic */ Object invoke(Object obj) {
                a(((Boolean) obj).booleanValue());
                return n0.f34904a;
            }
        }

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

            /* renamed from: p, reason: collision with root package name */
            final /* synthetic */ tc.b f39436p;

            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            h(tc.b bVar) {
                super(0);
                this.f39436p = bVar;
            }

            @Override // dn.a
            public /* bridge */ /* synthetic */ Object invoke() {
                m451invoke();
                return n0.f34904a;
            }

            /* renamed from: invoke, reason: collision with other method in class */
            public final void m451invoke() {
                this.f39436p.C();
            }
        }

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

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

            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            i(q1 q1Var) {
                super(0);
                this.f39437p = q1Var;
            }

            @Override // dn.a
            public /* bridge */ /* synthetic */ Object invoke() {
                m452invoke();
                return n0.f34904a;
            }

            /* renamed from: invoke, reason: collision with other method in class */
            public final void m452invoke() {
                a.t(this.f39437p, false);
            }
        }

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

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

            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            j(q1 q1Var) {
                super(0);
                this.f39438p = q1Var;
            }

            @Override // dn.a
            public /* bridge */ /* synthetic */ Object invoke() {
                m453invoke();
                return n0.f34904a;
            }

            /* renamed from: invoke, reason: collision with other method in class */
            public final void m453invoke() {
                a.v(this.f39438p, true);
            }
        }

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

            /* renamed from: p, reason: collision with root package name */
            final /* synthetic */ tc.b f39439p;

            /* renamed from: q, reason: collision with root package name */
            final /* synthetic */ q1 f39440q;

            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            k(tc.b bVar, q1 q1Var) {
                super(0);
                this.f39439p = bVar;
                this.f39440q = q1Var;
            }

            @Override // dn.a
            public /* bridge */ /* synthetic */ Object invoke() {
                m454invoke();
                return n0.f34904a;
            }

            /* renamed from: invoke, reason: collision with other method in class */
            public final void m454invoke() {
                a.v(this.f39440q, false);
                this.f39439p.w();
            }
        }

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

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

            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            l(String str) {
                super(1);
                this.f39441p = str;
            }

            public final void a(o2.u clearAndSetSemantics) {
                kotlin.jvm.internal.t.g(clearAndSetSemantics, "$this$clearAndSetSemantics");
                o2.s.Y(clearAndSetSemantics, this.f39441p);
            }

            @Override // dn.l
            public /* bridge */ /* synthetic */ Object invoke(Object obj) {
                a((o2.u) obj);
                return n0.f34904a;
            }
        }

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

            /* renamed from: p, reason: collision with root package name */
            final /* synthetic */ tc.b f39442p;

            /* renamed from: q, reason: collision with root package name */
            final /* synthetic */ q1 f39443q;

            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            m(tc.b bVar, q1 q1Var) {
                super(0);
                this.f39442p = bVar;
                this.f39443q = q1Var;
            }

            @Override // dn.a
            public /* bridge */ /* synthetic */ Object invoke() {
                m455invoke();
                return n0.f34904a;
            }

            /* renamed from: invoke, reason: collision with other method in class */
            public final void m455invoke() {
                a.v(this.f39443q, false);
                this.f39442p.h();
            }
        }

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

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

            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            n(q1 q1Var) {
                super(0);
                this.f39444p = q1Var;
            }

            @Override // dn.a
            public /* bridge */ /* synthetic */ Object invoke() {
                m456invoke();
                return n0.f34904a;
            }

            /* renamed from: invoke, reason: collision with other method in class */
            public final void m456invoke() {
                a.v(this.f39444p, false);
            }
        }

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

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

            /* renamed from: q, reason: collision with root package name */
            final /* synthetic */ m0 f39446q;

            /* renamed from: r, reason: collision with root package name */
            final /* synthetic */ q1 f39447r;

            /* renamed from: s, reason: collision with root package name */
            final /* synthetic */ c0 f39448s;

            /* JADX INFO: Access modifiers changed from: package-private */
            /* renamed from: vc.b$a$o$a, reason: collision with other inner class name */
            /* loaded from: classes4.dex */
            public static final class C0937a extends kotlin.coroutines.jvm.internal.l implements dn.p {

                /* renamed from: p, reason: collision with root package name */
                int f39449p;

                /* renamed from: q, reason: collision with root package name */
                final /* synthetic */ c0 f39450q;

                /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
                C0937a(c0 c0Var, vm.d dVar) {
                    super(2, dVar);
                    this.f39450q = c0Var;
                }

                @Override // kotlin.coroutines.jvm.internal.a
                public final vm.d create(Object obj, vm.d dVar) {
                    return new C0937a(this.f39450q, dVar);
                }

                @Override // kotlin.coroutines.jvm.internal.a
                public final Object invokeSuspend(Object obj) {
                    Object f10;
                    f10 = wm.d.f();
                    int i10 = this.f39449p;
                    if (i10 == 0) {
                        y.b(obj);
                        c0 c0Var = this.f39450q;
                        int v10 = c0Var.v() - 1;
                        this.f39449p = 1;
                        if (c0.n(c0Var, v10, BitmapDescriptorFactory.HUE_RED, null, this, 6, null) == f10) {
                            return f10;
                        }
                    } else {
                        if (i10 != 1) {
                            throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                        }
                        y.b(obj);
                    }
                    return n0.f34904a;
                }

                @Override // dn.p
                public final Object invoke(m0 m0Var, vm.d dVar) {
                    return ((C0937a) create(m0Var, dVar)).invokeSuspend(n0.f34904a);
                }
            }

            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            o(k0 k0Var, m0 m0Var, q1 q1Var, c0 c0Var) {
                super(0);
                this.f39445p = k0Var;
                this.f39446q = m0Var;
                this.f39447r = q1Var;
                this.f39448s = c0Var;
            }

            @Override // dn.a
            public /* bridge */ /* synthetic */ Object invoke() {
                m457invoke();
                return n0.f34904a;
            }

            /* renamed from: invoke, reason: collision with other method in class */
            public final void m457invoke() {
                if (this.f39445p.f26193p) {
                    a.v(this.f39447r, false);
                } else {
                    tp.k.d(this.f39446q, null, null, new C0937a(this.f39448s, null), 3, null);
                }
            }
        }

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

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

            /* renamed from: q, reason: collision with root package name */
            final /* synthetic */ c0 f39452q;

            /* renamed from: r, reason: collision with root package name */
            final /* synthetic */ m0 f39453r;

            /* renamed from: s, reason: collision with root package name */
            final /* synthetic */ q1 f39454s;

            /* renamed from: t, reason: collision with root package name */
            final /* synthetic */ k0 f39455t;

            /* renamed from: u, reason: collision with root package name */
            final /* synthetic */ n1 f39456u;

            /* renamed from: v, reason: collision with root package name */
            final /* synthetic */ n1 f39457v;

            /* JADX INFO: Access modifiers changed from: package-private */
            /* renamed from: vc.b$a$p$a, reason: collision with other inner class name */
            /* loaded from: classes4.dex */
            public static final class C0938a extends kotlin.jvm.internal.v implements dn.a {

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

                /* renamed from: q, reason: collision with root package name */
                final /* synthetic */ List f39459q;

                /* renamed from: r, reason: collision with root package name */
                final /* synthetic */ m0 f39460r;

                /* renamed from: s, reason: collision with root package name */
                final /* synthetic */ q1 f39461s;

                /* JADX INFO: Access modifiers changed from: package-private */
                /* renamed from: vc.b$a$p$a$a, reason: collision with other inner class name */
                /* loaded from: classes4.dex */
                public static final class C0939a extends kotlin.coroutines.jvm.internal.l implements dn.p {

                    /* renamed from: p, reason: collision with root package name */
                    int f39462p;

                    /* renamed from: q, reason: collision with root package name */
                    final /* synthetic */ c0 f39463q;

                    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
                    C0939a(c0 c0Var, vm.d dVar) {
                        super(2, dVar);
                        this.f39463q = c0Var;
                    }

                    @Override // kotlin.coroutines.jvm.internal.a
                    public final vm.d create(Object obj, vm.d dVar) {
                        return new C0939a(this.f39463q, dVar);
                    }

                    @Override // kotlin.coroutines.jvm.internal.a
                    public final Object invokeSuspend(Object obj) {
                        Object f10;
                        f10 = wm.d.f();
                        int i10 = this.f39462p;
                        if (i10 == 0) {
                            y.b(obj);
                            c0 c0Var = this.f39463q;
                            int v10 = c0Var.v() + 1;
                            this.f39462p = 1;
                            if (c0.n(c0Var, v10, BitmapDescriptorFactory.HUE_RED, null, this, 6, null) == f10) {
                                return f10;
                            }
                        } else {
                            if (i10 != 1) {
                                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                            }
                            y.b(obj);
                        }
                        return n0.f34904a;
                    }

                    @Override // dn.p
                    public final Object invoke(m0 m0Var, vm.d dVar) {
                        return ((C0939a) create(m0Var, dVar)).invokeSuspend(n0.f34904a);
                    }
                }

                /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
                C0938a(c0 c0Var, List list, m0 m0Var, q1 q1Var) {
                    super(0);
                    this.f39458p = c0Var;
                    this.f39459q = list;
                    this.f39460r = m0Var;
                    this.f39461s = q1Var;
                }

                @Override // dn.a
                public /* bridge */ /* synthetic */ Object invoke() {
                    m458invoke();
                    return n0.f34904a;
                }

                /* renamed from: invoke, reason: collision with other method in class */
                public final void m458invoke() {
                    if (this.f39458p.v() == this.f39459q.size() - 1) {
                        a.v(this.f39461s, false);
                    } else {
                        tp.k.d(this.f39460r, null, null, new C0939a(this.f39458p, null), 3, null);
                    }
                }
            }

            /* JADX INFO: Access modifiers changed from: package-private */
            /* renamed from: vc.b$a$p$b, reason: collision with other inner class name */
            /* loaded from: classes4.dex */
            public static final class C0940b extends kotlin.jvm.internal.v implements dn.l {

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

                /* renamed from: q, reason: collision with root package name */
                final /* synthetic */ c0 f39465q;

                /* renamed from: r, reason: collision with root package name */
                final /* synthetic */ n1 f39466r;

                /* renamed from: s, reason: collision with root package name */
                final /* synthetic */ n1 f39467s;

                /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
                C0940b(k0 k0Var, c0 c0Var, n1 n1Var, n1 n1Var2) {
                    super(1);
                    this.f39464p = k0Var;
                    this.f39465q = c0Var;
                    this.f39466r = n1Var;
                    this.f39467s = n1Var2;
                }

                public final void a(int i10) {
                    this.f39464p.f26193p = this.f39465q.v() == 0;
                    if (this.f39464p.f26193p) {
                        a.p(this.f39466r, pc.f.f32568f);
                        a.r(this.f39467s, pc.i.C);
                    } else {
                        a.p(this.f39466r, pc.f.f32564b);
                        a.r(this.f39467s, pc.i.B);
                    }
                }

                @Override // dn.l
                public /* bridge */ /* synthetic */ Object invoke(Object obj) {
                    a(((Number) obj).intValue());
                    return n0.f34904a;
                }
            }

            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            p(List list, c0 c0Var, m0 m0Var, q1 q1Var, k0 k0Var, n1 n1Var, n1 n1Var2) {
                super(2);
                this.f39451p = list;
                this.f39452q = c0Var;
                this.f39453r = m0Var;
                this.f39454s = q1Var;
                this.f39455t = k0Var;
                this.f39456u = n1Var;
                this.f39457v = n1Var2;
            }

            public final void a(y0.m mVar, int i10) {
                if ((i10 & 11) == 2 && mVar.v()) {
                    mVar.A();
                    return;
                }
                if (y0.p.H()) {
                    y0.p.Q(-1065727597, i10, -1, "ca.canadapost.module.homepickup.ui.AddressEligibleScreen.<anonymous>.<anonymous>.<anonymous> (AddressEligibleScreen.kt:389)");
                }
                List list = this.f39451p;
                C0938a c0938a = new C0938a(this.f39452q, list, this.f39453r, this.f39454s);
                c0 c0Var = this.f39452q;
                vc.c.b(list, c0938a, c0Var, new C0940b(this.f39455t, c0Var, this.f39456u, this.f39457v), mVar, 0, 0);
                if (y0.p.H()) {
                    y0.p.P();
                }
            }

            @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 q extends kotlin.jvm.internal.v implements dn.l {

            /* renamed from: p, reason: collision with root package name */
            public static final q f39468p = new q();

            q() {
                super(1);
            }

            public final void a(o2.u semantics) {
                kotlin.jvm.internal.t.g(semantics, "$this$semantics");
                o2.s.v(semantics);
            }

            @Override // dn.l
            public /* bridge */ /* synthetic */ Object invoke(Object obj) {
                a((o2.u) obj);
                return n0.f34904a;
            }
        }

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

            /* renamed from: p, reason: collision with root package name */
            final /* synthetic */ tc.b f39469p;

            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            r(tc.b bVar) {
                super(0);
                this.f39469p = bVar;
            }

            @Override // dn.a
            public /* bridge */ /* synthetic */ Object invoke() {
                m459invoke();
                return n0.f34904a;
            }

            /* renamed from: invoke, reason: collision with other method in class */
            public final void m459invoke() {
                this.f39469p.c();
            }
        }

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

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

            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            s(String str) {
                super(1);
                this.f39470p = str;
            }

            public final void a(o2.u clearAndSetSemantics) {
                kotlin.jvm.internal.t.g(clearAndSetSemantics, "$this$clearAndSetSemantics");
                o2.s.Y(clearAndSetSemantics, this.f39470p);
            }

            @Override // dn.l
            public /* bridge */ /* synthetic */ Object invoke(Object obj) {
                a((o2.u) obj);
                return n0.f34904a;
            }
        }

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

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

            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            t(q1 q1Var) {
                super(0);
                this.f39471p = q1Var;
            }

            @Override // dn.a
            public /* bridge */ /* synthetic */ Object invoke() {
                m460invoke();
                return n0.f34904a;
            }

            /* renamed from: invoke, reason: collision with other method in class */
            public final void m460invoke() {
                a.t(this.f39471p, true);
            }
        }

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

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

            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            u(String str) {
                super(1);
                this.f39472p = str;
            }

            public final void a(o2.u clearAndSetSemantics) {
                kotlin.jvm.internal.t.g(clearAndSetSemantics, "$this$clearAndSetSemantics");
                o2.s.Y(clearAndSetSemantics, this.f39472p);
            }

            @Override // dn.l
            public /* bridge */ /* synthetic */ Object invoke(Object obj) {
                a((o2.u) obj);
                return n0.f34904a;
            }
        }

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

            /* renamed from: p, reason: collision with root package name */
            final /* synthetic */ tc.b f39473p;

            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            v(tc.b bVar) {
                super(0);
                this.f39473p = bVar;
            }

            @Override // dn.a
            public /* bridge */ /* synthetic */ Object invoke() {
                m461invoke();
                return n0.f34904a;
            }

            /* renamed from: invoke, reason: collision with other method in class */
            public final void m461invoke() {
                this.f39473p.l();
            }
        }

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

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

            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            w(String str) {
                super(1);
                this.f39474p = str;
            }

            public final void a(o2.u clearAndSetSemantics) {
                kotlin.jvm.internal.t.g(clearAndSetSemantics, "$this$clearAndSetSemantics");
                o2.s.Y(clearAndSetSemantics, this.f39474p);
                o2.s.f0(clearAndSetSemantics, o2.f.f30548b.a());
            }

            @Override // dn.l
            public /* bridge */ /* synthetic */ Object invoke(Object obj) {
                a((o2.u) obj);
                return n0.f34904a;
            }
        }

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

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

            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            x(List list) {
                super(0);
                this.f39475p = list;
            }

            @Override // dn.a
            /* renamed from: a, reason: merged with bridge method [inline-methods] */
            public final Integer invoke() {
                return Integer.valueOf(this.f39475p.size());
            }
        }

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

        /* JADX INFO: Access modifiers changed from: private */
        public static final boolean i(y3 y3Var) {
            return ((Boolean) y3Var.getValue()).booleanValue();
        }

        private static final ka.a l(y3 y3Var) {
            return (ka.a) y3Var.getValue();
        }

        private static final boolean m(y3 y3Var) {
            return ((Boolean) y3Var.getValue()).booleanValue();
        }

        private static final int n(n1 n1Var) {
            return n1Var.d();
        }

        /* JADX INFO: Access modifiers changed from: private */
        public static final void p(n1 n1Var, int i10) {
            n1Var.i(i10);
        }

        private static final int q(n1 n1Var) {
            return n1Var.d();
        }

        /* JADX INFO: Access modifiers changed from: private */
        public static final void r(n1 n1Var, int i10) {
            n1Var.i(i10);
        }

        private static final boolean s(q1 q1Var) {
            return ((Boolean) q1Var.getValue()).booleanValue();
        }

        /* JADX INFO: Access modifiers changed from: private */
        public static final void t(q1 q1Var, boolean z10) {
            q1Var.setValue(Boolean.valueOf(z10));
        }

        private static final boolean u(q1 q1Var) {
            return ((Boolean) q1Var.getValue()).booleanValue();
        }

        /* JADX INFO: Access modifiers changed from: private */
        public static final void v(q1 q1Var, boolean z10) {
            q1Var.setValue(Boolean.valueOf(z10));
        }

        public final void h(y0.m mVar, int i10) {
            long z02;
            i.a aVar;
            int i11;
            n7.a aVar2;
            q1 q1Var;
            List n10;
            if ((i10 & 11) == 2 && mVar.v()) {
                mVar.A();
                return;
            }
            if (y0.p.H()) {
                y0.p.Q(-544893410, i10, -1, "ca.canadapost.module.homepickup.ui.AddressEligibleScreen.<anonymous> (AddressEligibleScreen.kt:68)");
            }
            y3 b10 = n3.b(this.f39427p.p(), null, mVar, 8, 1);
            y3 b11 = n3.b(this.f39427p.a(), null, mVar, 8, 1);
            y3 b12 = n3.b(this.f39427p.G(), null, mVar, 8, 1);
            Object f10 = mVar.f();
            m.a aVar3 = y0.m.f51621a;
            if (f10 == aVar3.a()) {
                f10 = s3.d(Boolean.FALSE, null, 2, null);
                mVar.I(f10);
            }
            q1 q1Var2 = (q1) f10;
            Object f11 = mVar.f();
            if (f11 == aVar3.a()) {
                f11 = s3.d(Boolean.FALSE, null, 2, null);
                mVar.I(f11);
            }
            q1 q1Var3 = (q1) f11;
            Locale locale = ((Context) mVar.t(AndroidCompositionLocals_androidKt.g())).getResources().getConfiguration().getLocales().get(0);
            kotlin.jvm.internal.t.f(locale, "get(...)");
            i.a aVar4 = l1.i.f27362a;
            n7.a aVar5 = n7.a.f29827a;
            int i12 = n7.a.f29828b;
            l1.i d10 = androidx.compose.foundation.m.d(androidx.compose.foundation.layout.l.i(androidx.compose.foundation.layout.o.f(androidx.compose.foundation.b.d(aVar4, aVar5.a(mVar, i12).a().e(), null, 2, null), BitmapDescriptorFactory.HUE_RED, 1, null), aVar5.b(mVar, i12).H()), androidx.compose.foundation.m.a(0, mVar, 0, 1), false, null, false, 14, null);
            tc.b bVar = this.f39427p;
            e0.b bVar2 = e0.b.f16607a;
            b.m h10 = bVar2.h();
            c.a aVar6 = l1.c.f27332a;
            e0 a10 = e0.d.a(h10, aVar6.k(), mVar, 0);
            int a11 = y0.j.a(mVar, 0);
            y0.y D = mVar.D();
            l1.i e10 = l1.h.e(mVar, d10);
            g.a aVar7 = j2.g.f23616d;
            dn.a a12 = aVar7.a();
            if (!(mVar.w() instanceof y0.f)) {
                y0.j.c();
            }
            mVar.u();
            if (mVar.n()) {
                mVar.o(a12);
            } else {
                mVar.F();
            }
            y0.m a13 = d4.a(mVar);
            d4.b(a13, a10, aVar7.c());
            d4.b(a13, D, aVar7.e());
            dn.p b13 = aVar7.b();
            if (a13.n() || !kotlin.jvm.internal.t.b(a13.f(), Integer.valueOf(a11))) {
                a13.I(Integer.valueOf(a11));
                a13.l(Integer.valueOf(a11), b13);
            }
            d4.b(a13, e10, aVar7.d());
            e0.g gVar = e0.g.f16653a;
            float M = aVar5.b(mVar, i12).M();
            l7.o oVar = l7.o.Vertical;
            l7.n.a(M, oVar, mVar, 48);
            a0.a(m2.e.c(pc.f.f32563a, mVar, 0), null, gVar.b(androidx.compose.foundation.layout.o.y(androidx.compose.foundation.layout.o.i(androidx.compose.foundation.layout.o.s(aVar4, aVar5.b(mVar, i12).k0()), aVar5.b(mVar, i12).h0()), null, false, 3, null), aVar6.k()), null, null, BitmapDescriptorFactory.HUE_RED, null, mVar, 56, 120);
            l7.n.a(aVar5.b(mVar, i12).H(), oVar, mVar, 48);
            String b14 = m2.j.b(pc.i.G, mVar, 0);
            if (kotlin.jvm.internal.t.b(locale, Locale.CANADA_FRENCH) || kotlin.jvm.internal.t.b(locale, Locale.FRENCH)) {
                mVar.e(1299314096);
                z02 = aVar5.b(mVar, i12).z0();
                mVar.N();
            } else {
                mVar.e(1299314169);
                z02 = aVar5.b(mVar, i12).y0();
                mVar.N();
            }
            long j10 = z02;
            o0 n11 = aVar5.c(mVar, i12).n();
            r.a aVar8 = v2.r.f38997q;
            v2.r b15 = aVar8.b();
            mVar.e(-1515005792);
            boolean R = mVar.R(b14);
            Object f12 = mVar.f();
            if (R || f12 == aVar3.a()) {
                f12 = new C0935a(b14);
                mVar.I(f12);
            }
            mVar.N();
            z1.b(b14, o2.l.a(aVar4, (dn.l) f12), 0L, 0L, null, b15, null, j10, null, null, 0L, 0, false, 0, 0, null, n11, mVar, 196608, 0, 65372);
            l7.n.a(aVar5.b(mVar, i12).H(), oVar, mVar, 48);
            String b16 = m2.j.b(pc.i.f32612x, mVar, 0);
            l1.i h11 = androidx.compose.foundation.layout.o.h(aVar4, BitmapDescriptorFactory.HUE_RED, 1, null);
            mVar.e(-1515005358);
            boolean R2 = mVar.R(b16);
            Object f13 = mVar.f();
            if (R2 || f13 == aVar3.a()) {
                f13 = new l(b16);
                mVar.I(f13);
            }
            mVar.N();
            l1.i a14 = o2.l.a(h11, (dn.l) f13);
            e0 b17 = e0.c0.b(bVar2.g(), aVar6.l(), mVar, 0);
            int a15 = y0.j.a(mVar, 0);
            y0.y D2 = mVar.D();
            l1.i e11 = l1.h.e(mVar, a14);
            dn.a a16 = aVar7.a();
            if (!(mVar.w() instanceof y0.f)) {
                y0.j.c();
            }
            mVar.u();
            if (mVar.n()) {
                mVar.o(a16);
            } else {
                mVar.F();
            }
            y0.m a17 = d4.a(mVar);
            d4.b(a17, b17, aVar7.c());
            d4.b(a17, D2, aVar7.e());
            dn.p b18 = aVar7.b();
            if (a17.n() || !kotlin.jvm.internal.t.b(a17.f(), Integer.valueOf(a15))) {
                a17.I(Integer.valueOf(a15));
                a17.l(Integer.valueOf(a15), b18);
            }
            d4.b(a17, e11, aVar7.d());
            f0 f0Var = f0.f16652a;
            a0.a(m2.e.c(pc.f.f32570h, mVar, 0), null, androidx.compose.foundation.layout.o.o(aVar4, aVar5.b(mVar, i12).J()), null, null, BitmapDescriptorFactory.HUE_RED, null, mVar, 56, 120);
            o0 v10 = aVar5.c(mVar, i12).v();
            z1.b(b16, o2.l.d(androidx.compose.foundation.layout.l.m(aVar4, aVar5.b(mVar, i12).p(), BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, 14, null), false, q.f39468p, 1, null), 0L, aVar5.b(mVar, i12).p0(), null, aVar8.b(), null, 0L, null, null, 0L, 0, false, 0, 0, null, v10, mVar, 196608, 0, 65492);
            mVar.O();
            l7.n.a(aVar5.b(mVar, i12).M(), oVar, mVar, 48);
            l1.i m10 = androidx.compose.foundation.layout.l.m(aVar4, aVar5.b(mVar, i12).D(), BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, 14, null);
            ka.a l10 = l(b11);
            mVar.e(-1515004259);
            boolean R3 = mVar.R(bVar);
            Object f14 = mVar.f();
            if (R3 || f14 == aVar3.a()) {
                f14 = new r(bVar);
                mVar.I(f14);
            }
            mVar.N();
            wc.a.a(m10, l10, (dn.a) f14, mVar, 64, 0);
            String b19 = m2.j.b(pc.i.f32613y, mVar, 0);
            o0 b20 = aVar5.c(mVar, i12).b();
            l1.i m11 = androidx.compose.foundation.layout.l.m(aVar4, BitmapDescriptorFactory.HUE_RED, aVar5.b(mVar, i12).H(), BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, 13, null);
            mVar.e(-1515003835);
            boolean R4 = mVar.R(b19);
            Object f15 = mVar.f();
            if (R4 || f15 == aVar3.a()) {
                f15 = new s(b19);
                mVar.I(f15);
            }
            mVar.N();
            z1.b(b19, o2.l.a(m11, (dn.l) f15), 0L, 0L, null, null, null, 0L, null, null, 0L, 0, false, 0, 0, null, b20, mVar, 0, 0, 65532);
            l1.i m12 = androidx.compose.foundation.layout.l.m(androidx.compose.foundation.layout.o.h(aVar4, BitmapDescriptorFactory.HUE_RED, 1, null), BitmapDescriptorFactory.HUE_RED, aVar5.b(mVar, i12).H(), BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, 13, null);
            e0 b21 = e0.c0.b(bVar2.g(), aVar6.l(), mVar, 48);
            int a18 = y0.j.a(mVar, 0);
            y0.y D3 = mVar.D();
            l1.i e12 = l1.h.e(mVar, m12);
            dn.a a19 = aVar7.a();
            if (!(mVar.w() instanceof y0.f)) {
                y0.j.c();
            }
            mVar.u();
            if (mVar.n()) {
                mVar.o(a19);
            } else {
                mVar.F();
            }
            y0.m a20 = d4.a(mVar);
            d4.b(a20, b21, aVar7.c());
            d4.b(a20, D3, aVar7.e());
            dn.p b22 = aVar7.b();
            if (a20.n() || !kotlin.jvm.internal.t.b(a20.f(), Integer.valueOf(a18))) {
                a20.I(Integer.valueOf(a18));
                a20.l(Integer.valueOf(a18), b22);
            }
            d4.b(a20, e12, aVar7.d());
            a0.a(m2.e.c(pc.f.f32571i, mVar, 0), null, androidx.compose.foundation.layout.o.o(androidx.compose.foundation.layout.l.k(aVar4, BitmapDescriptorFactory.HUE_RED, aVar5.b(mVar, i12).U(), 1, null), aVar5.b(mVar, i12).H()), null, null, BitmapDescriptorFactory.HUE_RED, null, mVar, 56, 120);
            l1.i m13 = androidx.compose.foundation.layout.l.m(androidx.compose.foundation.layout.o.A(aVar4, null, false, 3, null), aVar5.b(mVar, i12).P(), BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, 14, null);
            int i13 = pc.i.A;
            String b23 = m2.j.b(i13, mVar, 0);
            String b24 = m2.j.b(i13, mVar, 0);
            o0 h12 = aVar5.c(mVar, i12).h();
            mVar.e(-1515002779);
            boolean R5 = mVar.R(q1Var2);
            Object f16 = mVar.f();
            if (R5 || f16 == aVar3.a()) {
                f16 = new t(q1Var2);
                mVar.I(f16);
            }
            mVar.N();
            l7.p.a(b23, null, b24, h12, m13, (dn.a) f16, mVar, 0, 2);
            mVar.O();
            String b25 = m2.j.b(pc.i.J, mVar, 0);
            u0 u0Var = u0.f26205a;
            String format = String.format(m2.j.b(pc.i.L, mVar, 0), Arrays.copyOf(new Object[]{b25}, 1));
            kotlin.jvm.internal.t.f(format, "format(...)");
            o0 w10 = aVar5.c(mVar, i12).w();
            long p02 = aVar5.b(mVar, i12).p0();
            long x02 = aVar5.b(mVar, i12).x0();
            l1.i m14 = androidx.compose.foundation.layout.l.m(aVar4, BitmapDescriptorFactory.HUE_RED, aVar5.b(mVar, i12).j0(), BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, 13, null);
            mVar.e(-1515002017);
            boolean R6 = mVar.R(format);
            Object f17 = mVar.f();
            if (R6 || f17 == aVar3.a()) {
                f17 = new u(format);
                mVar.I(f17);
            }
            mVar.N();
            z1.b(b25, o2.l.a(m14, (dn.l) f17), 0L, p02, null, null, null, x02, null, null, 0L, 0, false, 0, 0, null, w10, mVar, 0, 0, 65396);
            String b26 = m2.j.b(pc.i.E, mVar, 0);
            l1.i m15 = androidx.compose.foundation.layout.l.m(androidx.compose.foundation.layout.o.h(aVar4, BitmapDescriptorFactory.HUE_RED, 1, null), BitmapDescriptorFactory.HUE_RED, aVar5.b(mVar, i12).H(), BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, 13, null);
            mVar.e(-1515001674);
            boolean R7 = mVar.R(bVar);
            Object f18 = mVar.f();
            if (R7 || f18 == aVar3.a()) {
                f18 = new v(bVar);
                mVar.I(f18);
            }
            mVar.N();
            l1.i d11 = androidx.compose.foundation.d.d(m15, false, null, null, (dn.a) f18, 7, null);
            mVar.e(-1515001605);
            boolean R8 = mVar.R(b26);
            Object f19 = mVar.f();
            if (R8 || f19 == aVar3.a()) {
                f19 = new w(b26);
                mVar.I(f19);
            }
            mVar.N();
            l1.i a21 = o2.l.a(d11, (dn.l) f19);
            e0 b27 = e0.c0.b(bVar2.g(), aVar6.i(), mVar, 48);
            int a22 = y0.j.a(mVar, 0);
            y0.y D4 = mVar.D();
            l1.i e13 = l1.h.e(mVar, a21);
            dn.a a23 = aVar7.a();
            if (!(mVar.w() instanceof y0.f)) {
                y0.j.c();
            }
            mVar.u();
            if (mVar.n()) {
                mVar.o(a23);
            } else {
                mVar.F();
            }
            y0.m a24 = d4.a(mVar);
            d4.b(a24, b27, aVar7.c());
            d4.b(a24, D4, aVar7.e());
            dn.p b28 = aVar7.b();
            if (a24.n() || !kotlin.jvm.internal.t.b(a24.f(), Integer.valueOf(a22))) {
                a24.I(Integer.valueOf(a22));
                a24.l(Integer.valueOf(a22), b28);
            }
            d4.b(a24, e13, aVar7.d());
            z1.b(b26, o2.l.d(e0.e0.b(f0Var, aVar4, 1.0f, false, 2, null), false, C0936b.f39429p, 1, null), 0L, 0L, null, null, null, 0L, null, null, 0L, 0, false, 0, 0, null, aVar5.c(mVar, i12).b(), mVar, 0, 0, 65532);
            a0.a(m2.e.c(pc.f.f32582t, mVar, 0), null, androidx.compose.foundation.layout.o.o(aVar4, aVar5.b(mVar, i12).J()), null, null, BitmapDescriptorFactory.HUE_RED, null, mVar, 56, 120);
            mVar.O();
            long e14 = aVar5.a(mVar, i12).b().e();
            v0.w.b(androidx.compose.foundation.layout.l.m(aVar4, BitmapDescriptorFactory.HUE_RED, aVar5.b(mVar, i12).p(), BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, 13, null), aVar5.b(mVar, i12).o(), e14, mVar, 0, 0);
            mVar.e(1299319736);
            if (m(b12)) {
                c.InterfaceC0608c i14 = aVar6.i();
                l1.i k10 = androidx.compose.foundation.layout.l.k(aVar4, BitmapDescriptorFactory.HUE_RED, aVar5.b(mVar, i12).p(), 1, null);
                e0 b29 = e0.c0.b(bVar2.g(), i14, mVar, 48);
                int a25 = y0.j.a(mVar, 0);
                y0.y D5 = mVar.D();
                l1.i e15 = l1.h.e(mVar, k10);
                dn.a a26 = aVar7.a();
                if (!(mVar.w() instanceof y0.f)) {
                    y0.j.c();
                }
                mVar.u();
                if (mVar.n()) {
                    mVar.o(a26);
                } else {
                    mVar.F();
                }
                y0.m a27 = d4.a(mVar);
                d4.b(a27, b29, aVar7.c());
                d4.b(a27, D5, aVar7.e());
                dn.p b30 = aVar7.b();
                if (a27.n() || !kotlin.jvm.internal.t.b(a27.f(), Integer.valueOf(a25))) {
                    a27.I(Integer.valueOf(a25));
                    a27.l(Integer.valueOf(a25), b30);
                }
                d4.b(a27, e15, aVar7.d());
                a0.a(m2.e.c(pc.f.f32569g, mVar, 0), null, androidx.compose.foundation.layout.o.o(aVar4, aVar5.b(mVar, i12).w()), null, null, BitmapDescriptorFactory.HUE_RED, null, mVar, 56, 120);
                g0.a(androidx.compose.foundation.layout.o.s(aVar4, aVar5.b(mVar, i12).r()), mVar, 0);
                aVar = aVar4;
                i11 = i12;
                aVar2 = aVar5;
                z1.b(m2.j.b(pc.i.f32591c, mVar, 0), null, aVar5.a(mVar, i12).f().f(), 0L, null, null, null, 0L, null, null, 0L, 0, false, 0, 0, null, aVar5.c(mVar, i12).b(), mVar, 0, 0, 65530);
                mVar.O();
            } else {
                aVar = aVar4;
                i11 = i12;
                aVar2 = aVar5;
            }
            mVar.N();
            String b31 = m2.j.b(pc.i.f32592d, mVar, 0);
            i.a aVar9 = aVar;
            int i15 = i11;
            n7.a aVar10 = aVar2;
            l1.i m16 = androidx.compose.foundation.layout.l.m(androidx.compose.foundation.layout.o.h(aVar9, BitmapDescriptorFactory.HUE_RED, 1, null), BitmapDescriptorFactory.HUE_RED, aVar10.b(mVar, i15).p(), BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, 13, null);
            Object f20 = mVar.f();
            if (f20 == aVar3.a()) {
                f20 = d0.k.a();
                mVar.I(f20);
            }
            d0.l lVar = (d0.l) f20;
            mVar.e(-1514999265);
            boolean R9 = mVar.R(bVar) | mVar.R(b10);
            Object f21 = mVar.f();
            if (R9 || f21 == aVar3.a()) {
                f21 = new c(bVar, b10);
                mVar.I(f21);
            }
            mVar.N();
            l1.i b32 = androidx.compose.foundation.d.b(m16, lVar, null, false, null, null, (dn.a) f21, 28, null);
            mVar.e(-1514999112);
            boolean R10 = mVar.R(b31);
            Object f22 = mVar.f();
            if (R10 || f22 == aVar3.a()) {
                f22 = new d(b31);
                mVar.I(f22);
            }
            mVar.N();
            l1.i a28 = o2.l.a(b32, (dn.l) f22);
            e0 b33 = e0.c0.b(bVar2.g(), aVar6.i(), mVar, 48);
            int a29 = y0.j.a(mVar, 0);
            y0.y D6 = mVar.D();
            l1.i e16 = l1.h.e(mVar, a28);
            dn.a a30 = aVar7.a();
            if (!(mVar.w() instanceof y0.f)) {
                y0.j.c();
            }
            mVar.u();
            if (mVar.n()) {
                mVar.o(a30);
            } else {
                mVar.F();
            }
            y0.m a31 = d4.a(mVar);
            d4.b(a31, b33, aVar7.c());
            d4.b(a31, D6, aVar7.e());
            dn.p b34 = aVar7.b();
            if (a31.n() || !kotlin.jvm.internal.t.b(a31.f(), Integer.valueOf(a29))) {
                a31.I(Integer.valueOf(a29));
                a31.l(Integer.valueOf(a29), b34);
            }
            d4.b(a31, e16, aVar7.d());
            z1.b(b31, o2.l.d(e0.e0.b(f0Var, aVar9, 1.0f, false, 2, null), false, e.f39433p, 1, null), 0L, 0L, null, null, null, 0L, null, null, 0L, 0, false, 0, 0, null, aVar10.c(mVar, i15).b(), mVar, 0, 0, 65532);
            boolean i16 = i(b10);
            l1.i d12 = o2.l.d(aVar9, false, f.f39434p, 1, null);
            mVar.e(-1514998529);
            boolean R11 = mVar.R(bVar);
            Object f23 = mVar.f();
            if (R11 || f23 == aVar3.a()) {
                f23 = new g(bVar);
                mVar.I(f23);
            }
            mVar.N();
            ca.canadapost.core.common.customView.m.a(d12, i16, false, (dn.l) f23, mVar, 0, 4);
            mVar.O();
            long e17 = aVar10.a(mVar, i15).b().e();
            v0.w.b(androidx.compose.foundation.layout.l.m(aVar9, BitmapDescriptorFactory.HUE_RED, aVar10.b(mVar, i15).p(), BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, 13, null), aVar10.b(mVar, i15).o(), e17, mVar, 0, 0);
            l1.i m17 = androidx.compose.foundation.layout.l.m(androidx.compose.foundation.layout.o.w(androidx.compose.foundation.layout.o.h(aVar9, BitmapDescriptorFactory.HUE_RED, 1, null), null, false, 3, null), BitmapDescriptorFactory.HUE_RED, aVar10.b(mVar, i15).w(), BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, 13, null);
            mVar.e(-1514998052);
            boolean R12 = mVar.R(bVar);
            Object f24 = mVar.f();
            if (R12 || f24 == aVar3.a()) {
                f24 = new h(bVar);
                mVar.I(f24);
            }
            mVar.N();
            l7.f.b(m17, (dn.a) f24, vc.d.f39500a.a(), mVar, 384, 0);
            l7.n.a(aVar10.b(mVar, i15).R(), oVar, mVar, 48);
            mVar.e(1299323328);
            if (s(q1Var2)) {
                mVar.e(-1514996859);
                boolean R13 = mVar.R(q1Var2);
                Object f25 = mVar.f();
                if (R13 || f25 == aVar3.a()) {
                    f25 = new i(q1Var2);
                    mVar.I(f25);
                }
                dn.a aVar11 = (dn.a) f25;
                mVar.N();
                mVar.e(-1514996735);
                q1Var = q1Var3;
                boolean R14 = mVar.R(q1Var);
                Object f26 = mVar.f();
                if (R14 || f26 == aVar3.a()) {
                    f26 = new j(q1Var);
                    mVar.I(f26);
                }
                dn.a aVar12 = (dn.a) f26;
                mVar.N();
                mVar.e(-1514996629);
                boolean R15 = mVar.R(q1Var) | mVar.R(bVar);
                Object f27 = mVar.f();
                if (R15 || f27 == aVar3.a()) {
                    f27 = new k(bVar, q1Var);
                    mVar.I(f27);
                }
                dn.a aVar13 = (dn.a) f27;
                mVar.N();
                mVar.e(-1514996463);
                boolean R16 = mVar.R(q1Var) | mVar.R(bVar);
                Object f28 = mVar.f();
                if (R16 || f28 == aVar3.a()) {
                    f28 = new m(bVar, q1Var);
                    mVar.I(f28);
                }
                mVar.N();
                m8.g.a(aVar11, aVar12, aVar13, (dn.a) f28, mVar, 0);
            } else {
                q1Var = q1Var3;
            }
            mVar.N();
            mVar.e(833562309);
            if (u(q1Var)) {
                Object f29 = mVar.f();
                if (f29 == aVar3.a()) {
                    f29 = e3.a(pc.f.f32568f);
                    mVar.I(f29);
                }
                n1 n1Var = (n1) f29;
                Object f30 = mVar.f();
                if (f30 == aVar3.a()) {
                    f30 = e3.a(pc.i.C);
                    mVar.I(f30);
                }
                n1 n1Var2 = (n1) f30;
                Object f31 = mVar.f();
                if (f31 == aVar3.a()) {
                    Object b0Var = new b0(p0.i(vm.h.f40193p, mVar));
                    mVar.I(b0Var);
                    f31 = b0Var;
                }
                m0 a32 = ((b0) f31).a();
                k0 k0Var = new k0();
                k0Var.f26193p = true;
                String b35 = m2.j.b(pc.i.f32605q, mVar, 0);
                int i17 = pc.f.f32577o;
                int i18 = pc.i.f32604p;
                n10 = sm.u.n(new vc.a(i17, b35, null, null, m2.j.b(i18, mVar, 0), 12, null), new vc.a(pc.f.f32578p, m2.j.b(pc.i.f32606r, mVar, 0), null, null, m2.j.b(i18, mVar, 0), 12, null), new vc.a(pc.f.f32579q, m2.j.b(pc.i.f32608t, mVar, 0), m2.j.b(pc.i.f32607s, mVar, 0), m2.j.b(pc.i.f32609u, mVar, 0), m2.j.b(pc.i.f32603o, mVar, 0)));
                c0 k11 = d0.k(0, BitmapDescriptorFactory.HUE_RED, new x(n10), mVar, 6, 2);
                int n12 = n(n1Var);
                int q10 = q(n1Var2);
                String b36 = m2.j.b(pc.i.f32614z, mVar, 0);
                mVar.e(-1514994415);
                boolean R17 = mVar.R(q1Var);
                Object f32 = mVar.f();
                if (R17 || f32 == aVar3.a()) {
                    f32 = new n(q1Var);
                    mVar.I(f32);
                }
                mVar.N();
                l7.e.b(null, b36, (dn.a) f32, n12, new o(k0Var, a32, q1Var, k11), null, null, BitmapDescriptorFactory.HUE_RED, Integer.valueOf(q10), null, g1.c.b(mVar, -1065727597, true, new p(n10, k11, a32, q1Var, k0Var, n1Var, n1Var2)), mVar, 0, 6, 737);
            }
            mVar.N();
            mVar.O();
            if (y0.p.H()) {
                y0.p.P();
            }
        }

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

    /* JADX INFO: Access modifiers changed from: package-private */
    /* renamed from: vc.b$b, reason: collision with other inner class name */
    /* loaded from: classes4.dex */
    public static final class C0941b extends v implements p {

        /* renamed from: p, reason: collision with root package name */
        final /* synthetic */ tc.b f39476p;

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

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

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        C0941b(tc.b bVar, int i10, int i11) {
            super(2);
            this.f39476p = bVar;
            this.f39477q = i10;
            this.f39478r = i11;
        }

        public final void a(m mVar, int i10) {
            b.a(this.f39476p, mVar, l2.a(this.f39477q | 1), this.f39478r);
        }

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

    public static final void a(tc.b bVar, m mVar, int i10, int i11) {
        int i12;
        m r10 = mVar.r(1686215327);
        int i13 = i11 & 1;
        if (i13 != 0) {
            i12 = i10 | 6;
        } else if ((i10 & 14) == 0) {
            i12 = (r10.R(bVar) ? 4 : 2) | i10;
        } else {
            i12 = i10;
        }
        if ((i12 & 11) == 2 && r10.v()) {
            r10.A();
        } else {
            if (i13 != 0) {
                bVar = tc.d.a();
            }
            if (y0.p.H()) {
                y0.p.Q(1686215327, i12, -1, "ca.canadapost.module.homepickup.ui.AddressEligibleScreen (AddressEligibleScreen.kt:66)");
            }
            n7.b.a(false, g1.c.b(r10, -544893410, true, new a(bVar)), r10, 48, 1);
            if (y0.p.H()) {
                y0.p.P();
            }
        }
        x2 y10 = r10.y();
        if (y10 != null) {
            y10.a(new C0941b(bVar, i10, i11));
        }
    }
}
