package ca.canadapost.core.common.customView;

import androidx.compose.foundation.FocusableKt;
import androidx.compose.ui.platform.c1;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.firebase.crashlytics.internal.metadata.UserMetadata;
import e0.b;
import e0.p0;
import j2.g;
import java.util.List;
import l1.c;
import l1.i;
import rm.n0;
import s1.g0;
import s1.l1;
import v0.u1;
import v0.v1;
import v0.w0;
import v0.x0;
import v0.z1;
import y0.d4;
import y0.l2;
import y0.m;
import y0.q1;
import y0.s3;
import y0.x2;

/* loaded from: classes.dex */
public abstract class j {

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

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

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        a(boolean z10) {
            super(1);
            this.f7662p = z10;
        }

        public final void a(androidx.compose.ui.focus.i focusProperties) {
            kotlin.jvm.internal.t.g(focusProperties, "$this$focusProperties");
            focusProperties.x(this.f7662p);
        }

        @Override // dn.l
        public /* bridge */ /* synthetic */ Object invoke(Object obj) {
            a((androidx.compose.ui.focus.i) obj);
            return n0.f34904a;
        }
    }

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

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

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

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

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        b(boolean z10, String str, q1 q1Var) {
            super(1);
            this.f7663p = z10;
            this.f7664q = str;
            this.f7665r = q1Var;
        }

        public final void a(boolean z10) {
            boolean C;
            if (this.f7663p) {
                C = kotlin.text.y.C(this.f7664q);
                if (!C) {
                    j.c(this.f7665r, true);
                }
            }
        }

        @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: classes.dex */
    public static final class c extends kotlin.jvm.internal.v implements dn.q {

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

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

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

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

        /* renamed from: t, reason: collision with root package name */
        final /* synthetic */ dn.l f7670t;

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

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

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

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

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

            public final void a(String str) {
                kotlin.jvm.internal.t.g(str, "new");
                j.e(this.f7673p, str);
            }

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

        /* JADX INFO: Access modifiers changed from: package-private */
        /* loaded from: classes.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 */ boolean f7674p;

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

            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            b(boolean z10, String str) {
                super(2);
                this.f7674p = z10;
                this.f7675q = str;
            }

            public final void a(y0.m mVar, int i10) {
                boolean C;
                if ((i10 & 11) == 2 && mVar.v()) {
                    mVar.A();
                    return;
                }
                if (y0.p.H()) {
                    y0.p.Q(-224493399, i10, -1, "ca.canadapost.core.common.customView.CpcDropdownInputView.<anonymous>.<anonymous>.<anonymous> (CpcDropdownInputCompose.kt:95)");
                }
                if (this.f7674p) {
                    C = kotlin.text.y.C(this.f7675q);
                    if (!C) {
                        v0.f0.a(m2.e.c(h7.h.f21005l, mVar, 0), null, null, m2.b.a(h7.f.f20963d, mVar, 0), mVar, 56, 4);
                    }
                }
                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 */
        /* renamed from: ca.canadapost.core.common.customView.j$c$c, reason: collision with other inner class name */
        /* loaded from: classes.dex */
        public static final class C0199c extends kotlin.jvm.internal.v implements dn.l {

            /* renamed from: p, reason: collision with root package name */
            final /* synthetic */ dn.l f7676p;

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

            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            C0199c(dn.l lVar, q1 q1Var) {
                super(1);
                this.f7676p = lVar;
                this.f7677q = q1Var;
            }

            public final void a(String str) {
                this.f7676p.invoke(str);
                j.c(this.f7677q, false);
            }

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

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

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

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

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

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

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        c(q1 q1Var, String str, List list, String str2, dn.l lVar, q1 q1Var2, boolean z10) {
            super(3);
            this.f7666p = q1Var;
            this.f7667q = str;
            this.f7668r = list;
            this.f7669s = str2;
            this.f7670t = lVar;
            this.f7671u = q1Var2;
            this.f7672v = z10;
        }

        public final void a(v0.x ExposedDropdownMenuBox, y0.m mVar, int i10) {
            int i11;
            kotlin.jvm.internal.t.g(ExposedDropdownMenuBox, "$this$ExposedDropdownMenuBox");
            if ((i10 & 14) == 0) {
                i11 = i10 | (mVar.R(ExposedDropdownMenuBox) ? 4 : 2);
            } else {
                i11 = i10;
            }
            if ((i11 & 91) == 18 && mVar.v()) {
                mVar.A();
                return;
            }
            if (y0.p.H()) {
                y0.p.Q(-1948758798, i11, -1, "ca.canadapost.core.common.customView.CpcDropdownInputView.<anonymous>.<anonymous> (CpcDropdownInputCompose.kt:85)");
            }
            l1.i h10 = androidx.compose.foundation.layout.o.h(ExposedDropdownMenuBox.a(l1.i.f27362a), BitmapDescriptorFactory.HUE_RED, 1, null);
            String d10 = j.d(this.f7666p);
            w0 w0Var = w0.f38633a;
            n7.a aVar = n7.a.f29827a;
            long e10 = aVar.a(mVar, 6).b().e();
            long e11 = aVar.a(mVar, 6).b().e();
            g0.a aVar2 = s1.g0.f35254b;
            v1 d11 = w0Var.d(0L, 0L, 0L, 0L, aVar2.e(), aVar2.e(), aVar2.e(), 0L, 0L, 0L, null, e10, e11, aVar2.c(), 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, mVar, 1794048, 3072, 0, 0, 3072, 2147469199, 4095);
            mVar.e(-1191332753);
            boolean R = mVar.R(this.f7666p);
            q1 q1Var = this.f7666p;
            Object f10 = mVar.f();
            if (R || f10 == y0.m.f51621a.a()) {
                f10 = new a(q1Var);
                mVar.I(f10);
            }
            mVar.N();
            x0.a(d10, (dn.l) f10, h10, false, true, null, null, null, null, g1.c.b(mVar, -224493399, true, new b(this.f7672v, this.f7669s)), null, null, null, false, null, null, null, false, 0, 0, null, null, d11, mVar, 805330944, 0, 0, 4193768);
            if (j.b(this.f7671u)) {
                String str = this.f7667q;
                List list = this.f7668r;
                String str2 = this.f7669s;
                mVar.e(-1191331498);
                boolean m10 = mVar.m(this.f7670t) | mVar.R(this.f7671u);
                dn.l lVar = this.f7670t;
                q1 q1Var2 = this.f7671u;
                Object f11 = mVar.f();
                if (m10 || f11 == y0.m.f51621a.a()) {
                    f11 = new C0199c(lVar, q1Var2);
                    mVar.I(f11);
                }
                dn.l lVar2 = (dn.l) f11;
                mVar.N();
                mVar.e(-1191331351);
                boolean R2 = mVar.R(this.f7671u);
                q1 q1Var3 = this.f7671u;
                Object f12 = mVar.f();
                if (R2 || f12 == y0.m.f51621a.a()) {
                    f12 = new d(q1Var3);
                    mVar.I(f12);
                }
                mVar.N();
                j.f(str, list, str2, lVar2, (dn.a) f12, mVar, 64, 0);
            }
            if (y0.p.H()) {
                y0.p.P();
            }
        }

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

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

        /* renamed from: p, reason: collision with root package name */
        final /* synthetic */ l1.i f7679p;

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

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

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

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

        /* renamed from: u, reason: collision with root package name */
        final /* synthetic */ dn.l f7684u;

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

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

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

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        d(l1.i iVar, String str, String str2, String str3, List list, dn.l lVar, boolean z10, int i10, int i11) {
            super(2);
            this.f7679p = iVar;
            this.f7680q = str;
            this.f7681r = str2;
            this.f7682s = str3;
            this.f7683t = list;
            this.f7684u = lVar;
            this.f7685v = z10;
            this.f7686w = i10;
            this.f7687x = i11;
        }

        public final void a(y0.m mVar, int i10) {
            j.a(this.f7679p, this.f7680q, this.f7681r, this.f7682s, this.f7683t, this.f7684u, this.f7685v, mVar, l2.a(this.f7686w | 1), this.f7687x);
        }

        @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: classes.dex */
    public static final class e extends kotlin.jvm.internal.v implements dn.p {

        /* renamed from: p, reason: collision with root package name */
        final /* synthetic */ p7.a f7688p;

        /* renamed from: q, reason: collision with root package name */
        final /* synthetic */ f0.b0 f7689q;

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

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

        /* renamed from: t, reason: collision with root package name */
        final /* synthetic */ dn.l f7692t;

        /* renamed from: u, reason: collision with root package name */
        final /* synthetic */ dn.a f7693u;

        /* renamed from: v, reason: collision with root package name */
        final /* synthetic */ q1.e f7694v;

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

        /* JADX INFO: Access modifiers changed from: package-private */
        /* loaded from: classes.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 */ p7.a f7696p;

            /* renamed from: q, reason: collision with root package name */
            final /* synthetic */ f0.b0 f7697q;

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

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

            /* renamed from: t, reason: collision with root package name */
            final /* synthetic */ dn.l f7700t;

            /* renamed from: u, reason: collision with root package name */
            final /* synthetic */ dn.a f7701u;

            /* renamed from: v, reason: collision with root package name */
            final /* synthetic */ q1.e f7702v;

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

            /* JADX INFO: Access modifiers changed from: package-private */
            /* renamed from: ca.canadapost.core.common.customView.j$e$a$a, reason: collision with other inner class name */
            /* loaded from: classes.dex */
            public static final class C0200a extends kotlin.jvm.internal.v implements dn.l {

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

                /* renamed from: q, reason: collision with root package name */
                final /* synthetic */ dn.l f7705q;

                /* renamed from: r, reason: collision with root package name */
                final /* synthetic */ dn.a f7706r;

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

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

                /* renamed from: u, reason: collision with root package name */
                final /* synthetic */ p7.a f7709u;

                /* JADX INFO: Access modifiers changed from: package-private */
                /* renamed from: ca.canadapost.core.common.customView.j$e$a$a$a, reason: collision with other inner class name */
                /* loaded from: classes.dex */
                public static final class C0201a extends kotlin.jvm.internal.v implements dn.a {

                    /* renamed from: p, reason: collision with root package name */
                    final /* synthetic */ dn.l f7710p;

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

                    /* renamed from: r, reason: collision with root package name */
                    final /* synthetic */ dn.a f7712r;

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

                    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
                    C0201a(dn.l lVar, String str, dn.a aVar, q1.e eVar) {
                        super(0);
                        this.f7710p = lVar;
                        this.f7711q = str;
                        this.f7712r = aVar;
                        this.f7713s = eVar;
                    }

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

                    /* renamed from: invoke, reason: collision with other method in class */
                    public final void m41invoke() {
                        this.f7710p.invoke(this.f7711q);
                        this.f7712r.invoke();
                        this.f7713s.r(true);
                    }
                }

                /* renamed from: ca.canadapost.core.common.customView.j$e$a$a$b */
                /* loaded from: classes.dex */
                public static final class b extends kotlin.jvm.internal.v implements dn.l {

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

                    public b() {
                        super(1);
                    }

                    @Override // dn.l
                    /* renamed from: a, reason: merged with bridge method [inline-methods] */
                    public final Void invoke(Object obj) {
                        return null;
                    }
                }

                /* renamed from: ca.canadapost.core.common.customView.j$e$a$a$c */
                /* loaded from: classes.dex */
                public static final class c extends kotlin.jvm.internal.v implements dn.l {

                    /* renamed from: p, reason: collision with root package name */
                    final /* synthetic */ dn.l f7715p;

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

                    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
                    public c(dn.l lVar, List list) {
                        super(1);
                        this.f7715p = lVar;
                        this.f7716q = list;
                    }

                    public final Object a(int i10) {
                        return this.f7715p.invoke(this.f7716q.get(i10));
                    }

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

                /* renamed from: ca.canadapost.core.common.customView.j$e$a$a$d */
                /* loaded from: classes.dex */
                public static final class d extends kotlin.jvm.internal.v implements dn.r {

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

                    /* renamed from: q, reason: collision with root package name */
                    final /* synthetic */ dn.l f7718q;

                    /* renamed from: r, reason: collision with root package name */
                    final /* synthetic */ dn.a f7719r;

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

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

                    /* renamed from: u, reason: collision with root package name */
                    final /* synthetic */ p7.a f7722u;

                    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
                    public d(List list, dn.l lVar, dn.a aVar, q1.e eVar, String str, p7.a aVar2) {
                        super(4);
                        this.f7717p = list;
                        this.f7718q = lVar;
                        this.f7719r = aVar;
                        this.f7720s = eVar;
                        this.f7721t = str;
                        this.f7722u = aVar2;
                    }

                    public final void a(f0.c cVar, int i10, y0.m mVar, int i11) {
                        int i12;
                        if ((i11 & 6) == 0) {
                            i12 = i11 | (mVar.R(cVar) ? 4 : 2);
                        } else {
                            i12 = i11;
                        }
                        if ((i11 & 48) == 0) {
                            i12 |= mVar.i(i10) ? 32 : 16;
                        }
                        if ((i12 & 147) == 146 && mVar.v()) {
                            mVar.A();
                            return;
                        }
                        if (y0.p.H()) {
                            y0.p.Q(-632812321, i12, -1, "androidx.compose.foundation.lazy.items.<anonymous> (LazyDsl.kt:152)");
                        }
                        int i13 = i12 & 14;
                        String str = (String) this.f7717p.get(i10);
                        c.InterfaceC0608c i14 = l1.c.f27332a.i();
                        i.a aVar = l1.i.f27362a;
                        l1.i d10 = androidx.compose.foundation.d.d(androidx.compose.foundation.layout.o.h(aVar, BitmapDescriptorFactory.HUE_RED, 1, null), false, null, null, new C0201a(this.f7718q, str, this.f7719r, this.f7720s), 7, null);
                        h2.e0 b10 = e0.c0.b(e0.b.f16607a.g(), i14, mVar, 48);
                        int a10 = y0.j.a(mVar, 0);
                        y0.y D = mVar.D();
                        l1.i e10 = l1.h.e(mVar, d10);
                        g.a aVar2 = j2.g.f23616d;
                        dn.a a11 = aVar2.a();
                        if (!(mVar.w() instanceof y0.f)) {
                            y0.j.c();
                        }
                        mVar.u();
                        if (mVar.n()) {
                            mVar.o(a11);
                        } else {
                            mVar.F();
                        }
                        y0.m a12 = d4.a(mVar);
                        d4.b(a12, b10, aVar2.c());
                        d4.b(a12, D, aVar2.e());
                        dn.p b11 = aVar2.b();
                        if (a12.n() || !kotlin.jvm.internal.t.b(a12.f(), Integer.valueOf(a10))) {
                            a12.I(Integer.valueOf(a10));
                            a12.l(Integer.valueOf(a10), b11);
                        }
                        d4.b(a12, e10, aVar2.d());
                        e0.f0 f0Var = e0.f0.f16652a;
                        l7.m.a(null, kotlin.jvm.internal.t.b(str, this.f7721t), mVar, 0, 1);
                        e0.g0.a(androidx.compose.foundation.layout.o.s(aVar, this.f7722u.r()), mVar, 0);
                        mVar.e(-1799492163);
                        if (str != null) {
                            z1.b(str, null, 0L, 0L, null, null, null, 0L, null, null, 0L, 0, false, 0, 0, null, n7.a.f29827a.c(mVar, 6).b(), mVar, (i13 >> 3) & 14, 0, 65534);
                        }
                        mVar.N();
                        mVar.O();
                        if (y0.p.H()) {
                            y0.p.P();
                        }
                    }

                    @Override // dn.r
                    public /* bridge */ /* synthetic */ Object j(Object obj, Object obj2, Object obj3, Object obj4) {
                        a((f0.c) obj, ((Number) obj2).intValue(), (y0.m) obj3, ((Number) obj4).intValue());
                        return n0.f34904a;
                    }
                }

                /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
                C0200a(List list, dn.l lVar, dn.a aVar, q1.e eVar, String str, p7.a aVar2) {
                    super(1);
                    this.f7704p = list;
                    this.f7705q = lVar;
                    this.f7706r = aVar;
                    this.f7707s = eVar;
                    this.f7708t = str;
                    this.f7709u = aVar2;
                }

                public final void a(f0.y LazyColumn) {
                    kotlin.jvm.internal.t.g(LazyColumn, "$this$LazyColumn");
                    List list = this.f7704p;
                    dn.l lVar = this.f7705q;
                    dn.a aVar = this.f7706r;
                    q1.e eVar = this.f7707s;
                    String str = this.f7708t;
                    p7.a aVar2 = this.f7709u;
                    LazyColumn.b(list.size(), null, new c(b.f7714p, list), g1.c.c(-632812321, true, new d(list, lVar, aVar, eVar, str, aVar2)));
                }

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

            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            a(p7.a aVar, f0.b0 b0Var, String str, List list, dn.l lVar, dn.a aVar2, q1.e eVar, String str2) {
                super(2);
                this.f7696p = aVar;
                this.f7697q = b0Var;
                this.f7698r = str;
                this.f7699s = list;
                this.f7700t = lVar;
                this.f7701u = aVar2;
                this.f7702v = eVar;
                this.f7703w = str2;
            }

            public final void a(y0.m mVar, int i10) {
                String str;
                dn.a aVar;
                dn.l lVar;
                List list;
                p7.a aVar2;
                i.a aVar3;
                q1.e eVar;
                f0.b0 b0Var;
                if ((i10 & 11) == 2 && mVar.v()) {
                    mVar.A();
                    return;
                }
                if (y0.p.H()) {
                    y0.p.Q(-1131505641, i10, -1, "ca.canadapost.core.common.customView.DropdownDialog.<anonymous>.<anonymous> (CpcDropdownInputCompose.kt:158)");
                }
                i.a aVar4 = l1.i.f27362a;
                l1.i c10 = p0.c(androidx.compose.foundation.layout.o.h(aVar4, BitmapDescriptorFactory.HUE_RED, 1, null));
                p7.a aVar5 = this.f7696p;
                f0.b0 b0Var2 = this.f7697q;
                String str2 = this.f7698r;
                List list2 = this.f7699s;
                dn.l lVar2 = this.f7700t;
                dn.a aVar6 = this.f7701u;
                q1.e eVar2 = this.f7702v;
                String str3 = this.f7703w;
                e0.b bVar = e0.b.f16607a;
                b.m h10 = bVar.h();
                c.a aVar7 = l1.c.f27332a;
                h2.e0 a10 = e0.d.a(h10, aVar7.k(), mVar, 0);
                int a11 = y0.j.a(mVar, 0);
                y0.y D = mVar.D();
                l1.i e10 = l1.h.e(mVar, c10);
                g.a aVar8 = j2.g.f23616d;
                dn.a a12 = aVar8.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, aVar8.c());
                d4.b(a13, D, aVar8.e());
                dn.p b10 = aVar8.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, aVar8.d());
                e0.g gVar = e0.g.f16653a;
                l1.i j10 = androidx.compose.foundation.layout.l.j(androidx.compose.foundation.layout.o.h(aVar4, BitmapDescriptorFactory.HUE_RED, 1, null), aVar5.H(), aVar5.O());
                h2.e0 b11 = e0.c0.b(bVar.g(), aVar7.i(), mVar, 48);
                int a14 = y0.j.a(mVar, 0);
                y0.y D2 = mVar.D();
                l1.i e11 = l1.h.e(mVar, j10);
                dn.a a15 = aVar8.a();
                if (!(mVar.w() instanceof y0.f)) {
                    y0.j.c();
                }
                mVar.u();
                if (mVar.n()) {
                    mVar.o(a15);
                } else {
                    mVar.F();
                }
                y0.m a16 = d4.a(mVar);
                d4.b(a16, b11, aVar8.c());
                d4.b(a16, D2, aVar8.e());
                dn.p b12 = aVar8.b();
                if (a16.n() || !kotlin.jvm.internal.t.b(a16.f(), Integer.valueOf(a14))) {
                    a16.I(Integer.valueOf(a14));
                    a16.l(Integer.valueOf(a14), b12);
                }
                d4.b(a16, e11, aVar8.d());
                e0.f0 f0Var = e0.f0.f16652a;
                if (str2 == null || str2.length() == 0) {
                    str = str3;
                    aVar = aVar6;
                    lVar = lVar2;
                    list = list2;
                    aVar2 = aVar5;
                    aVar3 = aVar4;
                    eVar = eVar2;
                    b0Var = b0Var2;
                    mVar.e(-1290964604);
                    e0.g0.a(e0.e0.b(f0Var, aVar3, 1.0f, false, 2, null), mVar, 0);
                    mVar.N();
                } else {
                    mVar.e(-1290964933);
                    n7.a aVar9 = n7.a.f29827a;
                    eVar = eVar2;
                    aVar = aVar6;
                    lVar = lVar2;
                    list = list2;
                    b0Var = b0Var2;
                    aVar2 = aVar5;
                    aVar3 = aVar4;
                    str = str3;
                    z1.b(str2, e0.e0.b(f0Var, aVar4, 1.0f, false, 2, null), 0L, 0L, null, null, null, 0L, null, null, aVar9.b(mVar, 6).u0(), 0, false, 0, 0, null, aVar9.c(mVar, 6).x(), mVar, 0, 0, 64508);
                    mVar.N();
                }
                mVar.O();
                f0.b.a(androidx.compose.foundation.layout.l.k(aVar3, aVar2.H(), BitmapDescriptorFactory.HUE_RED, 2, null), b0Var, null, false, null, null, null, false, new C0200a(list, lVar, aVar, eVar, str, aVar2), mVar, 0, 252);
                mVar.O();
                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 WARN: 'super' call moved to the top of the method (can break code semantics) */
        e(p7.a aVar, f0.b0 b0Var, String str, List list, dn.l lVar, dn.a aVar2, q1.e eVar, String str2) {
            super(2);
            this.f7688p = aVar;
            this.f7689q = b0Var;
            this.f7690r = str;
            this.f7691s = list;
            this.f7692t = lVar;
            this.f7693u = aVar2;
            this.f7694v = eVar;
            this.f7695w = str2;
        }

        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(-1262276, i10, -1, "ca.canadapost.core.common.customView.DropdownDialog.<anonymous> (CpcDropdownInputCompose.kt:146)");
            }
            l1.i h10 = androidx.compose.foundation.layout.o.h(l1.i.f27362a, BitmapDescriptorFactory.HUE_RED, 1, null);
            n7.a aVar = n7.a.f29827a;
            l1.i j10 = androidx.compose.foundation.layout.l.j(h10, aVar.b(mVar, 6).w(), aVar.b(mVar, 6).E());
            long e10 = aVar.a(mVar, 6).a().e();
            u1.a(j10, l1.a(), e10, 0L, aVar.b(mVar, 6).A(), aVar.b(mVar, 6).A(), null, g1.c.b(mVar, -1131505641, true, new a(this.f7688p, this.f7689q, this.f7690r, this.f7691s, this.f7692t, this.f7693u, this.f7694v, this.f7695w)), mVar, 12582960, 72);
            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: classes.dex */
    public static final class f extends kotlin.jvm.internal.v implements dn.p {

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

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

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

        /* renamed from: s, reason: collision with root package name */
        final /* synthetic */ dn.l f7726s;

        /* renamed from: t, reason: collision with root package name */
        final /* synthetic */ dn.a f7727t;

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

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

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        f(String str, List list, String str2, dn.l lVar, dn.a aVar, int i10, int i11) {
            super(2);
            this.f7723p = str;
            this.f7724q = list;
            this.f7725r = str2;
            this.f7726s = lVar;
            this.f7727t = aVar;
            this.f7728u = i10;
            this.f7729v = i11;
        }

        public final void a(y0.m mVar, int i10) {
            j.f(this.f7723p, this.f7724q, this.f7725r, this.f7726s, this.f7727t, mVar, l2.a(this.f7728u | 1), this.f7729v);
        }

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

    /* JADX WARN: Removed duplicated region for block: B:106:0x0095  */
    /* JADX WARN: Removed duplicated region for block: B:10:0x0058  */
    /* JADX WARN: Removed duplicated region for block: B:112:0x0077  */
    /* JADX WARN: Removed duplicated region for block: B:119:0x005b  */
    /* JADX WARN: Removed duplicated region for block: B:14:0x0074  */
    /* JADX WARN: Removed duplicated region for block: B:17:0x008b  */
    /* JADX WARN: Removed duplicated region for block: B:20:0x0091  */
    /* JADX WARN: Removed duplicated region for block: B:24:0x00aa  */
    /* JADX WARN: Removed duplicated region for block: B:26:0x00c8  */
    /* JADX WARN: Removed duplicated region for block: B:33:0x02df  */
    /* JADX WARN: Removed duplicated region for block: B:36:? A[RETURN, SYNTHETIC] */
    /* JADX WARN: Removed duplicated region for block: B:38:0x00e9  */
    /* JADX WARN: Removed duplicated region for block: B:41:0x00f1  */
    /* JADX WARN: Removed duplicated region for block: B:43:0x00f8  */
    /* JADX WARN: Removed duplicated region for block: B:45:0x00ff  */
    /* JADX WARN: Removed duplicated region for block: B:48:0x010b  */
    /* JADX WARN: Removed duplicated region for block: B:51:0x0114  */
    /* JADX WARN: Removed duplicated region for block: B:54:0x013d  */
    /* JADX WARN: Removed duplicated region for block: B:58:0x0181  */
    /* JADX WARN: Removed duplicated region for block: B:61:0x018d  */
    /* JADX WARN: Removed duplicated region for block: B:64:0x01b0  */
    /* JADX WARN: Removed duplicated region for block: B:68:0x01dd  */
    /* JADX WARN: Removed duplicated region for block: B:72:0x01e9  */
    /* JADX WARN: Removed duplicated region for block: B:75:0x0241  */
    /* JADX WARN: Removed duplicated region for block: B:78:0x0259  */
    /* JADX WARN: Removed duplicated region for block: B:82:0x0285  */
    /* JADX WARN: Removed duplicated region for block: B:86:0x02cc  */
    /* JADX WARN: Removed duplicated region for block: B:92:0x0191  */
    /* JADX WARN: Removed duplicated region for block: B:94:0x010d  */
    /* JADX WARN: Removed duplicated region for block: B:95:0x0106  */
    /* JADX WARN: Removed duplicated region for block: B:96:0x00fb  */
    /* JADX WARN: Removed duplicated region for block: B:97:0x00f4  */
    /* JADX WARN: Removed duplicated region for block: B:98:0x00ed  */
    /* JADX WARN: Removed duplicated region for block: B:99:0x00b1  */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public static final void a(l1.i iVar, String str, String str2, String selectedMenuItem, List list, dn.l onMenuItemSelected, boolean z10, y0.m mVar, int i10, int i11) {
        l1.i iVar2;
        int i12;
        String str3;
        int i13;
        String str4;
        int i14;
        int i15;
        boolean z11;
        String str5;
        List list2;
        boolean z12;
        boolean c10;
        Object f10;
        int a10;
        y0.m a11;
        boolean z13;
        Object f11;
        m.a aVar;
        boolean R;
        Object f12;
        boolean c11;
        Object f13;
        y0.m mVar2;
        boolean z14;
        l1.i iVar3;
        String str6;
        String str7;
        List list3;
        boolean C;
        List k10;
        x2 y10;
        int i16;
        kotlin.jvm.internal.t.g(selectedMenuItem, "selectedMenuItem");
        kotlin.jvm.internal.t.g(onMenuItemSelected, "onMenuItemSelected");
        y0.m r10 = mVar.r(1206305382);
        int i17 = i11 & 1;
        if (i17 != 0) {
            i12 = i10 | 6;
            iVar2 = iVar;
        } else if ((i10 & 14) == 0) {
            iVar2 = iVar;
            i12 = (r10.R(iVar2) ? 4 : 2) | i10;
        } else {
            iVar2 = iVar;
            i12 = i10;
        }
        int i18 = i11 & 2;
        if (i18 != 0) {
            i12 |= 48;
        } else if ((i10 & 112) == 0) {
            str3 = str;
            i12 |= r10.R(str3) ? 32 : 16;
            i13 = i11 & 4;
            if (i13 == 0) {
                i12 |= 384;
            } else if ((i10 & 896) == 0) {
                str4 = str2;
                i12 |= r10.R(str4) ? 256 : 128;
                if ((i11 & 8) != 0) {
                    i12 |= 3072;
                } else if ((i10 & 7168) == 0) {
                    i12 |= r10.R(selectedMenuItem) ? 2048 : UserMetadata.MAX_ATTRIBUTE_SIZE;
                }
                i14 = i11 & 16;
                if (i14 != 0) {
                    i12 |= UserMetadata.MAX_INTERNAL_KEY_SIZE;
                }
                if ((i11 & 32) == 0) {
                    i16 = (458752 & i10) == 0 ? r10.m(onMenuItemSelected) ? 131072 : 65536 : 196608;
                    i15 = i11 & 64;
                    if (i15 == 0) {
                        i12 |= 1572864;
                        z11 = z10;
                    } else {
                        z11 = z10;
                        if ((i10 & 3670016) == 0) {
                            i12 |= r10.c(z11) ? 1048576 : 524288;
                        }
                    }
                    if (i14 != 16 && (2995931 & i12) == 599186 && r10.v()) {
                        r10.A();
                        list3 = list;
                        iVar3 = iVar2;
                        str7 = str4;
                        z14 = z11;
                        str6 = str3;
                        mVar2 = r10;
                    } else {
                        l1.i iVar4 = i17 == 0 ? l1.i.f27362a : iVar2;
                        str5 = i18 == 0 ? null : str3;
                        String str8 = i13 == 0 ? null : str4;
                        if (i14 == 0) {
                            k10 = sm.u.k();
                            list2 = k10;
                        } else {
                            list2 = list;
                        }
                        z12 = i15 == 0 ? true : z11;
                        if (y0.p.H()) {
                            y0.p.Q(1206305382, i12, -1, "ca.canadapost.core.common.customView.CpcDropdownInputView (CpcDropdownInputCompose.kt:54)");
                        }
                        n7.a aVar2 = n7.a.f29827a;
                        p7.a b10 = aVar2.b(r10, 6);
                        l1.i a12 = FocusableKt.a(androidx.compose.foundation.layout.o.h(iVar4, BitmapDescriptorFactory.HUE_RED, 1, null));
                        r10.e(-1191333724);
                        c10 = r10.c(z12);
                        f10 = r10.f();
                        if (!c10 || f10 == y0.m.f51621a.a()) {
                            f10 = new a(z12);
                            r10.I(f10);
                        }
                        r10.N();
                        l1.i a13 = androidx.compose.ui.focus.k.a(a12, (dn.l) f10);
                        h2.e0 a14 = e0.d.a(e0.b.f16607a.h(), l1.c.f27332a.k(), r10, 0);
                        a10 = y0.j.a(r10, 0);
                        y0.y D = r10.D();
                        l1.i e10 = l1.h.e(r10, a13);
                        g.a aVar3 = j2.g.f23616d;
                        dn.a a15 = aVar3.a();
                        if (!(r10.w() instanceof y0.f)) {
                            y0.j.c();
                        }
                        r10.u();
                        if (r10.n()) {
                            r10.F();
                        } else {
                            r10.o(a15);
                        }
                        a11 = d4.a(r10);
                        d4.b(a11, a14, aVar3.c());
                        d4.b(a11, D, aVar3.e());
                        dn.p b11 = aVar3.b();
                        if (!a11.n() || !kotlin.jvm.internal.t.b(a11.f(), Integer.valueOf(a10))) {
                            a11.I(Integer.valueOf(a10));
                            a11.l(Integer.valueOf(a10), b11);
                        }
                        d4.b(a11, e10, aVar3.d());
                        e0.g gVar = e0.g.f16653a;
                        r10.e(118847332);
                        if (str5 != null) {
                            C = kotlin.text.y.C(str5);
                            if (!C) {
                                z13 = false;
                                if (!z13) {
                                    z1.b(str5, null, aVar2.a(r10, 6).f().g(), b10.n0(), null, v2.r.f38997q.d(), null, c3.w.e(0.5d), null, null, b10.s0(), 0, false, 0, 0, null, null, r10, ((i12 >> 3) & 14) | 12779520, 0, 129874);
                                }
                                r10.N();
                                f11 = r10.f();
                                aVar = y0.m.f51621a;
                                if (f11 == aVar.a()) {
                                    f11 = s3.d(Boolean.FALSE, null, 2, null);
                                    r10.I(f11);
                                }
                                q1 q1Var = (q1) f11;
                                R = r10.R(selectedMenuItem);
                                f12 = r10.f();
                                if (!R || f12 == aVar.a()) {
                                    f12 = s3.d(selectedMenuItem, null, 2, null);
                                    r10.I(f12);
                                }
                                q1 q1Var2 = (q1) f12;
                                r10.e(-1191333108);
                                c11 = r10.c(z12) | r10.R(selectedMenuItem) | r10.R(q1Var);
                                f13 = r10.f();
                                if (!c11 || f13 == aVar.a()) {
                                    f13 = new b(z12, selectedMenuItem, q1Var);
                                    r10.I(f13);
                                }
                                r10.N();
                                boolean z15 = z12;
                                l1.i iVar5 = iVar4;
                                mVar2 = r10;
                                v0.z.a(false, (dn.l) f13, null, g1.c.b(mVar2, -1948758798, true, new c(q1Var2, str8, list2, selectedMenuItem, onMenuItemSelected, q1Var, z15)), mVar2, 3078, 4);
                                mVar2.O();
                                if (y0.p.H()) {
                                    y0.p.P();
                                }
                                z14 = z15;
                                iVar3 = iVar5;
                                str6 = str5;
                                str7 = str8;
                                list3 = list2;
                            }
                        }
                        z13 = true;
                        if (!z13) {
                        }
                        r10.N();
                        f11 = r10.f();
                        aVar = y0.m.f51621a;
                        if (f11 == aVar.a()) {
                        }
                        q1 q1Var3 = (q1) f11;
                        R = r10.R(selectedMenuItem);
                        f12 = r10.f();
                        if (!R) {
                        }
                        f12 = s3.d(selectedMenuItem, null, 2, null);
                        r10.I(f12);
                        q1 q1Var22 = (q1) f12;
                        r10.e(-1191333108);
                        c11 = r10.c(z12) | r10.R(selectedMenuItem) | r10.R(q1Var3);
                        f13 = r10.f();
                        if (!c11) {
                        }
                        f13 = new b(z12, selectedMenuItem, q1Var3);
                        r10.I(f13);
                        r10.N();
                        boolean z152 = z12;
                        l1.i iVar52 = iVar4;
                        mVar2 = r10;
                        v0.z.a(false, (dn.l) f13, null, g1.c.b(mVar2, -1948758798, true, new c(q1Var22, str8, list2, selectedMenuItem, onMenuItemSelected, q1Var3, z152)), mVar2, 3078, 4);
                        mVar2.O();
                        if (y0.p.H()) {
                        }
                        z14 = z152;
                        iVar3 = iVar52;
                        str6 = str5;
                        str7 = str8;
                        list3 = list2;
                    }
                    y10 = mVar2.y();
                    if (y10 == null) {
                        y10.a(new d(iVar3, str6, str7, selectedMenuItem, list3, onMenuItemSelected, z14, i10, i11));
                        return;
                    }
                    return;
                }
                i12 |= i16;
                i15 = i11 & 64;
                if (i15 == 0) {
                }
                if (i14 != 16) {
                }
                if (i17 == 0) {
                }
                if (i18 == 0) {
                }
                if (i13 == 0) {
                }
                if (i14 == 0) {
                }
                if (i15 == 0) {
                }
                if (y0.p.H()) {
                }
                n7.a aVar22 = n7.a.f29827a;
                p7.a b102 = aVar22.b(r10, 6);
                l1.i a122 = FocusableKt.a(androidx.compose.foundation.layout.o.h(iVar4, BitmapDescriptorFactory.HUE_RED, 1, null));
                r10.e(-1191333724);
                c10 = r10.c(z12);
                f10 = r10.f();
                if (!c10) {
                }
                f10 = new a(z12);
                r10.I(f10);
                r10.N();
                l1.i a132 = androidx.compose.ui.focus.k.a(a122, (dn.l) f10);
                h2.e0 a142 = e0.d.a(e0.b.f16607a.h(), l1.c.f27332a.k(), r10, 0);
                a10 = y0.j.a(r10, 0);
                y0.y D2 = r10.D();
                l1.i e102 = l1.h.e(r10, a132);
                g.a aVar32 = j2.g.f23616d;
                dn.a a152 = aVar32.a();
                if (!(r10.w() instanceof y0.f)) {
                }
                r10.u();
                if (r10.n()) {
                }
                a11 = d4.a(r10);
                d4.b(a11, a142, aVar32.c());
                d4.b(a11, D2, aVar32.e());
                dn.p b112 = aVar32.b();
                if (!a11.n()) {
                }
                a11.I(Integer.valueOf(a10));
                a11.l(Integer.valueOf(a10), b112);
                d4.b(a11, e102, aVar32.d());
                e0.g gVar2 = e0.g.f16653a;
                r10.e(118847332);
                if (str5 != null) {
                }
                z13 = true;
                if (!z13) {
                }
                r10.N();
                f11 = r10.f();
                aVar = y0.m.f51621a;
                if (f11 == aVar.a()) {
                }
                q1 q1Var32 = (q1) f11;
                R = r10.R(selectedMenuItem);
                f12 = r10.f();
                if (!R) {
                }
                f12 = s3.d(selectedMenuItem, null, 2, null);
                r10.I(f12);
                q1 q1Var222 = (q1) f12;
                r10.e(-1191333108);
                c11 = r10.c(z12) | r10.R(selectedMenuItem) | r10.R(q1Var32);
                f13 = r10.f();
                if (!c11) {
                }
                f13 = new b(z12, selectedMenuItem, q1Var32);
                r10.I(f13);
                r10.N();
                boolean z1522 = z12;
                l1.i iVar522 = iVar4;
                mVar2 = r10;
                v0.z.a(false, (dn.l) f13, null, g1.c.b(mVar2, -1948758798, true, new c(q1Var222, str8, list2, selectedMenuItem, onMenuItemSelected, q1Var32, z1522)), mVar2, 3078, 4);
                mVar2.O();
                if (y0.p.H()) {
                }
                z14 = z1522;
                iVar3 = iVar522;
                str6 = str5;
                str7 = str8;
                list3 = list2;
                y10 = mVar2.y();
                if (y10 == null) {
                }
            }
            str4 = str2;
            if ((i11 & 8) != 0) {
            }
            i14 = i11 & 16;
            if (i14 != 0) {
            }
            if ((i11 & 32) == 0) {
            }
            i12 |= i16;
            i15 = i11 & 64;
            if (i15 == 0) {
            }
            if (i14 != 16) {
            }
            if (i17 == 0) {
            }
            if (i18 == 0) {
            }
            if (i13 == 0) {
            }
            if (i14 == 0) {
            }
            if (i15 == 0) {
            }
            if (y0.p.H()) {
            }
            n7.a aVar222 = n7.a.f29827a;
            p7.a b1022 = aVar222.b(r10, 6);
            l1.i a1222 = FocusableKt.a(androidx.compose.foundation.layout.o.h(iVar4, BitmapDescriptorFactory.HUE_RED, 1, null));
            r10.e(-1191333724);
            c10 = r10.c(z12);
            f10 = r10.f();
            if (!c10) {
            }
            f10 = new a(z12);
            r10.I(f10);
            r10.N();
            l1.i a1322 = androidx.compose.ui.focus.k.a(a1222, (dn.l) f10);
            h2.e0 a1422 = e0.d.a(e0.b.f16607a.h(), l1.c.f27332a.k(), r10, 0);
            a10 = y0.j.a(r10, 0);
            y0.y D22 = r10.D();
            l1.i e1022 = l1.h.e(r10, a1322);
            g.a aVar322 = j2.g.f23616d;
            dn.a a1522 = aVar322.a();
            if (!(r10.w() instanceof y0.f)) {
            }
            r10.u();
            if (r10.n()) {
            }
            a11 = d4.a(r10);
            d4.b(a11, a1422, aVar322.c());
            d4.b(a11, D22, aVar322.e());
            dn.p b1122 = aVar322.b();
            if (!a11.n()) {
            }
            a11.I(Integer.valueOf(a10));
            a11.l(Integer.valueOf(a10), b1122);
            d4.b(a11, e1022, aVar322.d());
            e0.g gVar22 = e0.g.f16653a;
            r10.e(118847332);
            if (str5 != null) {
            }
            z13 = true;
            if (!z13) {
            }
            r10.N();
            f11 = r10.f();
            aVar = y0.m.f51621a;
            if (f11 == aVar.a()) {
            }
            q1 q1Var322 = (q1) f11;
            R = r10.R(selectedMenuItem);
            f12 = r10.f();
            if (!R) {
            }
            f12 = s3.d(selectedMenuItem, null, 2, null);
            r10.I(f12);
            q1 q1Var2222 = (q1) f12;
            r10.e(-1191333108);
            c11 = r10.c(z12) | r10.R(selectedMenuItem) | r10.R(q1Var322);
            f13 = r10.f();
            if (!c11) {
            }
            f13 = new b(z12, selectedMenuItem, q1Var322);
            r10.I(f13);
            r10.N();
            boolean z15222 = z12;
            l1.i iVar5222 = iVar4;
            mVar2 = r10;
            v0.z.a(false, (dn.l) f13, null, g1.c.b(mVar2, -1948758798, true, new c(q1Var2222, str8, list2, selectedMenuItem, onMenuItemSelected, q1Var322, z15222)), mVar2, 3078, 4);
            mVar2.O();
            if (y0.p.H()) {
            }
            z14 = z15222;
            iVar3 = iVar5222;
            str6 = str5;
            str7 = str8;
            list3 = list2;
            y10 = mVar2.y();
            if (y10 == null) {
            }
        }
        str3 = str;
        i13 = i11 & 4;
        if (i13 == 0) {
        }
        str4 = str2;
        if ((i11 & 8) != 0) {
        }
        i14 = i11 & 16;
        if (i14 != 0) {
        }
        if ((i11 & 32) == 0) {
        }
        i12 |= i16;
        i15 = i11 & 64;
        if (i15 == 0) {
        }
        if (i14 != 16) {
        }
        if (i17 == 0) {
        }
        if (i18 == 0) {
        }
        if (i13 == 0) {
        }
        if (i14 == 0) {
        }
        if (i15 == 0) {
        }
        if (y0.p.H()) {
        }
        n7.a aVar2222 = n7.a.f29827a;
        p7.a b10222 = aVar2222.b(r10, 6);
        l1.i a12222 = FocusableKt.a(androidx.compose.foundation.layout.o.h(iVar4, BitmapDescriptorFactory.HUE_RED, 1, null));
        r10.e(-1191333724);
        c10 = r10.c(z12);
        f10 = r10.f();
        if (!c10) {
        }
        f10 = new a(z12);
        r10.I(f10);
        r10.N();
        l1.i a13222 = androidx.compose.ui.focus.k.a(a12222, (dn.l) f10);
        h2.e0 a14222 = e0.d.a(e0.b.f16607a.h(), l1.c.f27332a.k(), r10, 0);
        a10 = y0.j.a(r10, 0);
        y0.y D222 = r10.D();
        l1.i e10222 = l1.h.e(r10, a13222);
        g.a aVar3222 = j2.g.f23616d;
        dn.a a15222 = aVar3222.a();
        if (!(r10.w() instanceof y0.f)) {
        }
        r10.u();
        if (r10.n()) {
        }
        a11 = d4.a(r10);
        d4.b(a11, a14222, aVar3222.c());
        d4.b(a11, D222, aVar3222.e());
        dn.p b11222 = aVar3222.b();
        if (!a11.n()) {
        }
        a11.I(Integer.valueOf(a10));
        a11.l(Integer.valueOf(a10), b11222);
        d4.b(a11, e10222, aVar3222.d());
        e0.g gVar222 = e0.g.f16653a;
        r10.e(118847332);
        if (str5 != null) {
        }
        z13 = true;
        if (!z13) {
        }
        r10.N();
        f11 = r10.f();
        aVar = y0.m.f51621a;
        if (f11 == aVar.a()) {
        }
        q1 q1Var3222 = (q1) f11;
        R = r10.R(selectedMenuItem);
        f12 = r10.f();
        if (!R) {
        }
        f12 = s3.d(selectedMenuItem, null, 2, null);
        r10.I(f12);
        q1 q1Var22222 = (q1) f12;
        r10.e(-1191333108);
        c11 = r10.c(z12) | r10.R(selectedMenuItem) | r10.R(q1Var3222);
        f13 = r10.f();
        if (!c11) {
        }
        f13 = new b(z12, selectedMenuItem, q1Var3222);
        r10.I(f13);
        r10.N();
        boolean z152222 = z12;
        l1.i iVar52222 = iVar4;
        mVar2 = r10;
        v0.z.a(false, (dn.l) f13, null, g1.c.b(mVar2, -1948758798, true, new c(q1Var22222, str8, list2, selectedMenuItem, onMenuItemSelected, q1Var3222, z152222)), mVar2, 3078, 4);
        mVar2.O();
        if (y0.p.H()) {
        }
        z14 = z152222;
        iVar3 = iVar52222;
        str6 = str5;
        str7 = str8;
        list3 = list2;
        y10 = mVar2.y();
        if (y10 == null) {
        }
    }

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

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

    /* JADX INFO: Access modifiers changed from: private */
    public static final String d(q1 q1Var) {
        return (String) q1Var.getValue();
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final void e(q1 q1Var, String str) {
        q1Var.setValue(str);
    }

    public static final void f(String str, List options, String selectedMenuItem, dn.l onMenuItemSelected, dn.a onDismiss, y0.m mVar, int i10, int i11) {
        String str2;
        int i12;
        kotlin.jvm.internal.t.g(options, "options");
        kotlin.jvm.internal.t.g(selectedMenuItem, "selectedMenuItem");
        kotlin.jvm.internal.t.g(onMenuItemSelected, "onMenuItemSelected");
        kotlin.jvm.internal.t.g(onDismiss, "onDismiss");
        y0.m r10 = mVar.r(244791141);
        if ((i11 & 1) != 0) {
            str2 = m2.j.b(h7.l.R, r10, 0);
            i12 = i10 & (-15);
        } else {
            str2 = str;
            i12 = i10;
        }
        if (y0.p.H()) {
            y0.p.Q(244791141, i12, -1, "ca.canadapost.core.common.customView.DropdownDialog (CpcDropdownInputCompose.kt:137)");
        }
        q1.e eVar = (q1.e) r10.t(c1.e());
        f0.b0 c10 = f0.c0.c(0, 0, r10, 0, 3);
        androidx.compose.ui.window.a.a(onDismiss, new androidx.compose.ui.window.i(false, false, false, 3, (kotlin.jvm.internal.k) null), g1.c.b(r10, -1262276, true, new e(n7.a.f29827a.b(r10, 6), c10, str2, options, onMenuItemSelected, onDismiss, eVar, selectedMenuItem)), r10, ((i12 >> 12) & 14) | 432, 0);
        if (y0.p.H()) {
            y0.p.P();
        }
        x2 y10 = r10.y();
        if (y10 != null) {
            y10.a(new f(str2, options, selectedMenuItem, onMenuItemSelected, onDismiss, i10, i11));
        }
    }
}
