package q2;

import b3.a;
import b3.k;
import b3.o;
import b3.q;
import c3.v;
import java.util.ArrayList;
import java.util.List;
import q2.d;
import q2.h;
import q2.m0;
import r1.g;
import s1.g0;
import s1.p1;
import v2.r;
import x2.d;
import x2.e;

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

    /* renamed from: a, reason: collision with root package name */
    private static final i1.j f33174a = i1.k.a(a.f33196p, b.f33198p);

    /* renamed from: b, reason: collision with root package name */
    private static final i1.j f33175b = i1.k.a(c.f33200p, d.f33202p);

    /* renamed from: c, reason: collision with root package name */
    private static final i1.j f33176c = i1.k.a(e.f33204p, f.f33207p);

    /* renamed from: d, reason: collision with root package name */
    private static final i1.j f33177d = i1.k.a(r0.f33233p, s0.f33235p);

    /* renamed from: e, reason: collision with root package name */
    private static final i1.j f33178e = i1.k.a(p0.f33229p, q0.f33231p);

    /* renamed from: f, reason: collision with root package name */
    private static final i1.j f33179f = i1.k.a(o.f33226p, p.f33228p);

    /* renamed from: g, reason: collision with root package name */
    private static final i1.j f33180g = i1.k.a(i.f33214p, j.f33216p);

    /* renamed from: h, reason: collision with root package name */
    private static final i1.j f33181h = i1.k.a(x.f33241p, y.f33242p);

    /* renamed from: i, reason: collision with root package name */
    private static final i1.j f33182i = i1.k.a(b0.f33199p, c0.f33201p);

    /* renamed from: j, reason: collision with root package name */
    private static final i1.j f33183j = i1.k.a(j0.f33217p, k0.f33219p);

    /* renamed from: k, reason: collision with root package name */
    private static final i1.j f33184k = i1.k.a(d0.f33203p, e0.f33206p);

    /* renamed from: l, reason: collision with root package name */
    private static final i1.j f33185l = i1.k.a(f0.f33209p, g0.f33211p);

    /* renamed from: m, reason: collision with root package name */
    private static final i1.j f33186m = i1.k.a(h0.f33213p, i0.f33215p);

    /* renamed from: n, reason: collision with root package name */
    private static final i1.j f33187n = i1.k.a(m.f33222p, n.f33224p);

    /* renamed from: o, reason: collision with root package name */
    private static final i1.j f33188o = i1.k.a(g.f33210p, h.f33212p);

    /* renamed from: p, reason: collision with root package name */
    private static final i1.j f33189p = i1.k.a(l0.f33221p, m0.f33223p);

    /* renamed from: q, reason: collision with root package name */
    private static final i1.j f33190q = i1.k.a(z.f33243p, C0764a0.f33197p);

    /* renamed from: r, reason: collision with root package name */
    private static final q2.n f33191r = a(k.f33218p, l.f33220p);

    /* renamed from: s, reason: collision with root package name */
    private static final q2.n f33192s = a(n0.f33225p, o0.f33227p);

    /* renamed from: t, reason: collision with root package name */
    private static final q2.n f33193t = a(v.f33239p, w.f33240p);

    /* renamed from: u, reason: collision with root package name */
    private static final i1.j f33194u = i1.k.a(q.f33230p, r.f33232p);

    /* renamed from: v, reason: collision with root package name */
    private static final i1.j f33195v = i1.k.a(s.f33234p, t.f33236p);

    /* loaded from: classes.dex */
    static final class a extends kotlin.jvm.internal.v implements dn.p {

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

        a() {
            super(2);
        }

        @Override // dn.p
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final Object invoke(i1.l lVar, q2.d dVar) {
            ArrayList g10;
            g10 = sm.u.g(a0.x(dVar.j()), a0.y(dVar.g(), a0.f33175b, lVar), a0.y(dVar.e(), a0.f33175b, lVar), a0.y(dVar.b(), a0.f33175b, lVar));
            return g10;
        }
    }

    /* renamed from: q2.a0$a0, reason: collision with other inner class name */
    /* loaded from: classes.dex */
    static final class C0764a0 extends kotlin.jvm.internal.v implements dn.l {

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

        C0764a0() {
            super(1);
        }

        @Override // dn.l
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final p1 invoke(Object obj) {
            kotlin.jvm.internal.t.e(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any>");
            List list = (List) obj;
            Object obj2 = list.get(0);
            i1.j q10 = a0.q(s1.g0.f35254b);
            Boolean bool = Boolean.FALSE;
            s1.g0 g0Var = ((!kotlin.jvm.internal.t.b(obj2, bool) || (q10 instanceof q2.n)) && obj2 != null) ? (s1.g0) q10.a(obj2) : null;
            kotlin.jvm.internal.t.d(g0Var);
            long v10 = g0Var.v();
            Object obj3 = list.get(1);
            i1.j p10 = a0.p(r1.g.f34318b);
            r1.g gVar = ((!kotlin.jvm.internal.t.b(obj3, bool) || (p10 instanceof q2.n)) && obj3 != null) ? (r1.g) p10.a(obj3) : null;
            kotlin.jvm.internal.t.d(gVar);
            long v11 = gVar.v();
            Object obj4 = list.get(2);
            Float f10 = obj4 != null ? (Float) obj4 : null;
            kotlin.jvm.internal.t.d(f10);
            return new p1(v10, v11, f10.floatValue(), null);
        }
    }

    /* loaded from: classes.dex */
    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 f33198p = new b();

        b() {
            super(1);
        }

        @Override // dn.l
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final q2.d invoke(Object obj) {
            List list;
            List list2;
            kotlin.jvm.internal.t.e(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
            List list3 = (List) obj;
            Object obj2 = list3.get(1);
            i1.j jVar = a0.f33175b;
            Boolean bool = Boolean.FALSE;
            List list4 = null;
            List list5 = ((!kotlin.jvm.internal.t.b(obj2, bool) || (jVar instanceof q2.n)) && obj2 != null) ? (List) jVar.a(obj2) : null;
            Object obj3 = list3.get(2);
            i1.j jVar2 = a0.f33175b;
            List list6 = ((!kotlin.jvm.internal.t.b(obj3, bool) || (jVar2 instanceof q2.n)) && obj3 != null) ? (List) jVar2.a(obj3) : null;
            Object obj4 = list3.get(0);
            String str = obj4 != null ? (String) obj4 : null;
            kotlin.jvm.internal.t.d(str);
            if (list5 != null) {
                List list7 = list5;
                if (list7.isEmpty()) {
                    list7 = null;
                }
                list = list7;
            } else {
                list = null;
            }
            if (list6 != null) {
                List list8 = list6;
                if (list8.isEmpty()) {
                    list8 = null;
                }
                list2 = list8;
            } else {
                list2 = null;
            }
            Object obj5 = list3.get(3);
            i1.j jVar3 = a0.f33175b;
            if ((!kotlin.jvm.internal.t.b(obj5, bool) || (jVar3 instanceof q2.n)) && obj5 != null) {
                list4 = (List) jVar3.a(obj5);
            }
            return new q2.d(str, list, list2, list4);
        }
    }

    /* loaded from: classes.dex */
    static final class b0 extends kotlin.jvm.internal.v implements dn.p {

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

        b0() {
            super(2);
        }

        @Override // dn.p
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final Object invoke(i1.l lVar, q2.b0 b0Var) {
            ArrayList g10;
            s1.g0 h10 = s1.g0.h(b0Var.g());
            g0.a aVar = s1.g0.f35254b;
            Object y10 = a0.y(h10, a0.q(aVar), lVar);
            c3.v b10 = c3.v.b(b0Var.k());
            v.a aVar2 = c3.v.f7436b;
            g10 = sm.u.g(y10, a0.y(b10, a0.n(aVar2), lVar), a0.y(b0Var.n(), a0.s(v2.r.f38997q), lVar), a0.x(b0Var.l()), a0.x(b0Var.m()), a0.x(-1), a0.x(b0Var.j()), a0.y(c3.v.b(b0Var.o()), a0.n(aVar2), lVar), a0.y(b0Var.e(), a0.j(b3.a.f6643b), lVar), a0.y(b0Var.u(), a0.l(b3.o.f6718c), lVar), a0.y(b0Var.p(), a0.u(x2.e.f50449r), lVar), a0.y(s1.g0.h(b0Var.d()), a0.q(aVar), lVar), a0.y(b0Var.s(), a0.k(b3.k.f6700b), lVar), a0.y(b0Var.r(), a0.r(p1.f35307d), lVar));
            return g10;
        }
    }

    /* loaded from: classes.dex */
    static final class c extends kotlin.jvm.internal.v implements dn.p {

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

        c() {
            super(2);
        }

        @Override // dn.p
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final Object invoke(i1.l lVar, List list) {
            ArrayList arrayList = new ArrayList(list.size());
            int size = list.size();
            for (int i10 = 0; i10 < size; i10++) {
                arrayList.add(a0.y((d.c) list.get(i10), a0.f33176c, lVar));
            }
            return arrayList;
        }
    }

    /* loaded from: classes.dex */
    static final class c0 extends kotlin.jvm.internal.v implements dn.l {

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

        c0() {
            super(1);
        }

        @Override // dn.l
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final q2.b0 invoke(Object obj) {
            kotlin.jvm.internal.t.e(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
            List list = (List) obj;
            Object obj2 = list.get(0);
            g0.a aVar = s1.g0.f35254b;
            i1.j q10 = a0.q(aVar);
            Boolean bool = Boolean.FALSE;
            s1.g0 g0Var = ((!kotlin.jvm.internal.t.b(obj2, bool) || (q10 instanceof q2.n)) && obj2 != null) ? (s1.g0) q10.a(obj2) : null;
            kotlin.jvm.internal.t.d(g0Var);
            long v10 = g0Var.v();
            Object obj3 = list.get(1);
            v.a aVar2 = c3.v.f7436b;
            i1.j n10 = a0.n(aVar2);
            c3.v vVar = ((!kotlin.jvm.internal.t.b(obj3, bool) || (n10 instanceof q2.n)) && obj3 != null) ? (c3.v) n10.a(obj3) : null;
            kotlin.jvm.internal.t.d(vVar);
            long k10 = vVar.k();
            Object obj4 = list.get(2);
            i1.j s10 = a0.s(v2.r.f38997q);
            v2.r rVar = ((!kotlin.jvm.internal.t.b(obj4, bool) || (s10 instanceof q2.n)) && obj4 != null) ? (v2.r) s10.a(obj4) : null;
            Object obj5 = list.get(3);
            v2.p pVar = obj5 != null ? (v2.p) obj5 : null;
            Object obj6 = list.get(4);
            v2.q qVar = obj6 != null ? (v2.q) obj6 : null;
            v2.i iVar = null;
            Object obj7 = list.get(6);
            String str = obj7 != null ? (String) obj7 : null;
            Object obj8 = list.get(7);
            i1.j n11 = a0.n(aVar2);
            c3.v vVar2 = ((!kotlin.jvm.internal.t.b(obj8, bool) || (n11 instanceof q2.n)) && obj8 != null) ? (c3.v) n11.a(obj8) : null;
            kotlin.jvm.internal.t.d(vVar2);
            long k11 = vVar2.k();
            Object obj9 = list.get(8);
            i1.j j10 = a0.j(b3.a.f6643b);
            b3.a aVar3 = ((!kotlin.jvm.internal.t.b(obj9, bool) || (j10 instanceof q2.n)) && obj9 != null) ? (b3.a) j10.a(obj9) : null;
            Object obj10 = list.get(9);
            i1.j l10 = a0.l(b3.o.f6718c);
            b3.o oVar = ((!kotlin.jvm.internal.t.b(obj10, bool) || (l10 instanceof q2.n)) && obj10 != null) ? (b3.o) l10.a(obj10) : null;
            Object obj11 = list.get(10);
            i1.j u10 = a0.u(x2.e.f50449r);
            x2.e eVar = ((!kotlin.jvm.internal.t.b(obj11, bool) || (u10 instanceof q2.n)) && obj11 != null) ? (x2.e) u10.a(obj11) : null;
            Object obj12 = list.get(11);
            i1.j q11 = a0.q(aVar);
            s1.g0 g0Var2 = ((!kotlin.jvm.internal.t.b(obj12, bool) || (q11 instanceof q2.n)) && obj12 != null) ? (s1.g0) q11.a(obj12) : null;
            kotlin.jvm.internal.t.d(g0Var2);
            long v11 = g0Var2.v();
            Object obj13 = list.get(12);
            i1.j k12 = a0.k(b3.k.f6700b);
            b3.k kVar = ((!kotlin.jvm.internal.t.b(obj13, bool) || (k12 instanceof q2.n)) && obj13 != null) ? (b3.k) k12.a(obj13) : null;
            Object obj14 = list.get(13);
            i1.j r10 = a0.r(p1.f35307d);
            return new q2.b0(v10, k10, rVar, pVar, qVar, iVar, str, k11, aVar3, oVar, eVar, v11, kVar, ((!kotlin.jvm.internal.t.b(obj14, bool) || (r10 instanceof q2.n)) && obj14 != null) ? (p1) r10.a(obj14) : null, null, null, 49184, null);
        }
    }

    /* loaded from: classes.dex */
    static final class d extends kotlin.jvm.internal.v implements dn.l {

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

        d() {
            super(1);
        }

        @Override // dn.l
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final List invoke(Object obj) {
            kotlin.jvm.internal.t.e(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any>");
            List list = (List) obj;
            ArrayList arrayList = new ArrayList(list.size());
            int size = list.size();
            for (int i10 = 0; i10 < size; i10++) {
                Object obj2 = list.get(i10);
                i1.j jVar = a0.f33176c;
                d.c cVar = null;
                if ((!kotlin.jvm.internal.t.b(obj2, Boolean.FALSE) || (jVar instanceof q2.n)) && obj2 != null) {
                    cVar = (d.c) jVar.a(obj2);
                }
                kotlin.jvm.internal.t.d(cVar);
                arrayList.add(cVar);
            }
            return arrayList;
        }
    }

    /* loaded from: classes.dex */
    static final class d0 extends kotlin.jvm.internal.v implements dn.p {

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

        d0() {
            super(2);
        }

        @Override // dn.p
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final Object invoke(i1.l lVar, b3.k kVar) {
            return Integer.valueOf(kVar.e());
        }
    }

    /* loaded from: classes.dex */
    static final class e extends kotlin.jvm.internal.v implements dn.p {

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

        /* loaded from: classes.dex */
        public /* synthetic */ class a {

            /* renamed from: a, reason: collision with root package name */
            public static final /* synthetic */ int[] f33205a;

            static {
                int[] iArr = new int[q2.f.values().length];
                try {
                    iArr[q2.f.Paragraph.ordinal()] = 1;
                } catch (NoSuchFieldError unused) {
                }
                try {
                    iArr[q2.f.Span.ordinal()] = 2;
                } catch (NoSuchFieldError unused2) {
                }
                try {
                    iArr[q2.f.VerbatimTts.ordinal()] = 3;
                } catch (NoSuchFieldError unused3) {
                }
                try {
                    iArr[q2.f.Url.ordinal()] = 4;
                } catch (NoSuchFieldError unused4) {
                }
                try {
                    iArr[q2.f.Link.ordinal()] = 5;
                } catch (NoSuchFieldError unused5) {
                }
                try {
                    iArr[q2.f.Clickable.ordinal()] = 6;
                } catch (NoSuchFieldError unused6) {
                }
                try {
                    iArr[q2.f.String.ordinal()] = 7;
                } catch (NoSuchFieldError unused7) {
                }
                f33205a = iArr;
            }
        }

        e() {
            super(2);
        }

        @Override // dn.p
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final Object invoke(i1.l lVar, d.c cVar) {
            Object y10;
            ArrayList g10;
            Object g11 = cVar.g();
            q2.f fVar = g11 instanceof q2.u ? q2.f.Paragraph : g11 instanceof q2.b0 ? q2.f.Span : g11 instanceof q2.s0 ? q2.f.VerbatimTts : g11 instanceof q2.r0 ? q2.f.Url : g11 instanceof h.b ? q2.f.Link : g11 instanceof h.a ? q2.f.Clickable : q2.f.String;
            switch (a.f33205a[fVar.ordinal()]) {
                case 1:
                    Object g12 = cVar.g();
                    kotlin.jvm.internal.t.e(g12, "null cannot be cast to non-null type androidx.compose.ui.text.ParagraphStyle");
                    y10 = a0.y((q2.u) g12, a0.i(), lVar);
                    break;
                case 2:
                    Object g13 = cVar.g();
                    kotlin.jvm.internal.t.e(g13, "null cannot be cast to non-null type androidx.compose.ui.text.SpanStyle");
                    y10 = a0.y((q2.b0) g13, a0.v(), lVar);
                    break;
                case 3:
                    Object g14 = cVar.g();
                    kotlin.jvm.internal.t.e(g14, "null cannot be cast to non-null type androidx.compose.ui.text.VerbatimTtsAnnotation");
                    y10 = a0.y((q2.s0) g14, a0.f33177d, lVar);
                    break;
                case 4:
                    Object g15 = cVar.g();
                    kotlin.jvm.internal.t.e(g15, "null cannot be cast to non-null type androidx.compose.ui.text.UrlAnnotation");
                    y10 = a0.y((q2.r0) g15, a0.f33178e, lVar);
                    break;
                case 5:
                    Object g16 = cVar.g();
                    kotlin.jvm.internal.t.e(g16, "null cannot be cast to non-null type androidx.compose.ui.text.LinkAnnotation.Url");
                    y10 = a0.y((h.b) g16, a0.f33179f, lVar);
                    break;
                case 6:
                    Object g17 = cVar.g();
                    kotlin.jvm.internal.t.e(g17, "null cannot be cast to non-null type androidx.compose.ui.text.LinkAnnotation.Clickable");
                    y10 = a0.y((h.a) g17, a0.f33180g, lVar);
                    break;
                case 7:
                    y10 = a0.x(cVar.g());
                    break;
                default:
                    throw new rm.t();
            }
            g10 = sm.u.g(a0.x(fVar), y10, a0.x(Integer.valueOf(cVar.h())), a0.x(Integer.valueOf(cVar.f())), a0.x(cVar.i()));
            return g10;
        }
    }

    /* loaded from: classes.dex */
    static final class e0 extends kotlin.jvm.internal.v implements dn.l {

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

        e0() {
            super(1);
        }

        @Override // dn.l
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final b3.k invoke(Object obj) {
            kotlin.jvm.internal.t.e(obj, "null cannot be cast to non-null type kotlin.Int");
            return new b3.k(((Integer) obj).intValue());
        }
    }

    /* loaded from: classes.dex */
    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 f33207p = new f();

        /* loaded from: classes.dex */
        public /* synthetic */ class a {

            /* renamed from: a, reason: collision with root package name */
            public static final /* synthetic */ int[] f33208a;

            static {
                int[] iArr = new int[q2.f.values().length];
                try {
                    iArr[q2.f.Paragraph.ordinal()] = 1;
                } catch (NoSuchFieldError unused) {
                }
                try {
                    iArr[q2.f.Span.ordinal()] = 2;
                } catch (NoSuchFieldError unused2) {
                }
                try {
                    iArr[q2.f.VerbatimTts.ordinal()] = 3;
                } catch (NoSuchFieldError unused3) {
                }
                try {
                    iArr[q2.f.Url.ordinal()] = 4;
                } catch (NoSuchFieldError unused4) {
                }
                try {
                    iArr[q2.f.Link.ordinal()] = 5;
                } catch (NoSuchFieldError unused5) {
                }
                try {
                    iArr[q2.f.Clickable.ordinal()] = 6;
                } catch (NoSuchFieldError unused6) {
                }
                try {
                    iArr[q2.f.String.ordinal()] = 7;
                } catch (NoSuchFieldError unused7) {
                }
                f33208a = iArr;
            }
        }

        f() {
            super(1);
        }

        @Override // dn.l
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final d.c invoke(Object obj) {
            kotlin.jvm.internal.t.e(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any>");
            List list = (List) obj;
            Object obj2 = list.get(0);
            q2.f fVar = obj2 != null ? (q2.f) obj2 : null;
            kotlin.jvm.internal.t.d(fVar);
            Object obj3 = list.get(2);
            Integer num = obj3 != null ? (Integer) obj3 : null;
            kotlin.jvm.internal.t.d(num);
            int intValue = num.intValue();
            Object obj4 = list.get(3);
            Integer num2 = obj4 != null ? (Integer) obj4 : null;
            kotlin.jvm.internal.t.d(num2);
            int intValue2 = num2.intValue();
            Object obj5 = list.get(4);
            String str = obj5 != null ? (String) obj5 : null;
            kotlin.jvm.internal.t.d(str);
            switch (a.f33208a[fVar.ordinal()]) {
                case 1:
                    Object obj6 = list.get(1);
                    i1.j i10 = a0.i();
                    if ((!kotlin.jvm.internal.t.b(obj6, Boolean.FALSE) || (i10 instanceof q2.n)) && obj6 != null) {
                        r0 = (q2.u) i10.a(obj6);
                    }
                    kotlin.jvm.internal.t.d(r0);
                    return new d.c(r0, intValue, intValue2, str);
                case 2:
                    Object obj7 = list.get(1);
                    i1.j v10 = a0.v();
                    if ((!kotlin.jvm.internal.t.b(obj7, Boolean.FALSE) || (v10 instanceof q2.n)) && obj7 != null) {
                        r0 = (q2.b0) v10.a(obj7);
                    }
                    kotlin.jvm.internal.t.d(r0);
                    return new d.c(r0, intValue, intValue2, str);
                case 3:
                    Object obj8 = list.get(1);
                    i1.j jVar = a0.f33177d;
                    if ((!kotlin.jvm.internal.t.b(obj8, Boolean.FALSE) || (jVar instanceof q2.n)) && obj8 != null) {
                        r0 = (q2.s0) jVar.a(obj8);
                    }
                    kotlin.jvm.internal.t.d(r0);
                    return new d.c(r0, intValue, intValue2, str);
                case 4:
                    Object obj9 = list.get(1);
                    i1.j jVar2 = a0.f33178e;
                    if ((!kotlin.jvm.internal.t.b(obj9, Boolean.FALSE) || (jVar2 instanceof q2.n)) && obj9 != null) {
                        r0 = (q2.r0) jVar2.a(obj9);
                    }
                    kotlin.jvm.internal.t.d(r0);
                    return new d.c(r0, intValue, intValue2, str);
                case 5:
                    Object obj10 = list.get(1);
                    i1.j jVar3 = a0.f33179f;
                    if ((!kotlin.jvm.internal.t.b(obj10, Boolean.FALSE) || (jVar3 instanceof q2.n)) && obj10 != null) {
                        r0 = (h.b) jVar3.a(obj10);
                    }
                    kotlin.jvm.internal.t.d(r0);
                    return new d.c(r0, intValue, intValue2, str);
                case 6:
                    Object obj11 = list.get(1);
                    i1.j jVar4 = a0.f33180g;
                    if ((!kotlin.jvm.internal.t.b(obj11, Boolean.FALSE) || (jVar4 instanceof q2.n)) && obj11 != null) {
                        r0 = (h.a) jVar4.a(obj11);
                    }
                    kotlin.jvm.internal.t.d(r0);
                    return new d.c(r0, intValue, intValue2, str);
                case 7:
                    Object obj12 = list.get(1);
                    r0 = obj12 != null ? (String) obj12 : null;
                    kotlin.jvm.internal.t.d(r0);
                    return new d.c(r0, intValue, intValue2, str);
                default:
                    throw new rm.t();
            }
        }
    }

    /* loaded from: classes.dex */
    static final class f0 extends kotlin.jvm.internal.v implements dn.p {

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

        f0() {
            super(2);
        }

        @Override // dn.p
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final Object invoke(i1.l lVar, b3.o oVar) {
            ArrayList g10;
            g10 = sm.u.g(Float.valueOf(oVar.b()), Float.valueOf(oVar.c()));
            return g10;
        }
    }

    /* loaded from: classes.dex */
    static final class g extends kotlin.jvm.internal.v implements dn.p {

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

        g() {
            super(2);
        }

        public final Object a(i1.l lVar, float f10) {
            return Float.valueOf(f10);
        }

        @Override // dn.p
        public /* bridge */ /* synthetic */ Object invoke(Object obj, Object obj2) {
            return a((i1.l) obj, ((b3.a) obj2).i());
        }
    }

    /* loaded from: classes.dex */
    static final class g0 extends kotlin.jvm.internal.v implements dn.l {

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

        g0() {
            super(1);
        }

        @Override // dn.l
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final b3.o invoke(Object obj) {
            kotlin.jvm.internal.t.e(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Float>");
            List list = (List) obj;
            return new b3.o(((Number) list.get(0)).floatValue(), ((Number) list.get(1)).floatValue());
        }
    }

    /* loaded from: classes.dex */
    static final class h extends kotlin.jvm.internal.v implements dn.l {

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

        h() {
            super(1);
        }

        @Override // dn.l
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final b3.a invoke(Object obj) {
            kotlin.jvm.internal.t.e(obj, "null cannot be cast to non-null type kotlin.Float");
            return b3.a.c(b3.a.d(((Float) obj).floatValue()));
        }
    }

    /* loaded from: classes.dex */
    static final class h0 extends kotlin.jvm.internal.v implements dn.p {

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

        h0() {
            super(2);
        }

        @Override // dn.p
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final Object invoke(i1.l lVar, b3.q qVar) {
            ArrayList g10;
            c3.v b10 = c3.v.b(qVar.b());
            v.a aVar = c3.v.f7436b;
            g10 = sm.u.g(a0.y(b10, a0.n(aVar), lVar), a0.y(c3.v.b(qVar.c()), a0.n(aVar), lVar));
            return g10;
        }
    }

    /* loaded from: classes.dex */
    static final class i extends kotlin.jvm.internal.v implements dn.p {

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

        i() {
            super(2);
        }

        @Override // dn.p
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final Object invoke(i1.l lVar, h.a aVar) {
            ArrayList g10;
            g10 = sm.u.g(a0.x(aVar.c()), a0.y(aVar.b(), a0.w(), lVar));
            return g10;
        }
    }

    /* loaded from: classes.dex */
    static final class i0 extends kotlin.jvm.internal.v implements dn.l {

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

        i0() {
            super(1);
        }

        @Override // dn.l
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final b3.q invoke(Object obj) {
            kotlin.jvm.internal.t.e(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any>");
            List list = (List) obj;
            Object obj2 = list.get(0);
            v.a aVar = c3.v.f7436b;
            i1.j n10 = a0.n(aVar);
            Boolean bool = Boolean.FALSE;
            c3.v vVar = null;
            c3.v vVar2 = ((!kotlin.jvm.internal.t.b(obj2, bool) || (n10 instanceof q2.n)) && obj2 != null) ? (c3.v) n10.a(obj2) : null;
            kotlin.jvm.internal.t.d(vVar2);
            long k10 = vVar2.k();
            Object obj3 = list.get(1);
            i1.j n11 = a0.n(aVar);
            if ((!kotlin.jvm.internal.t.b(obj3, bool) || (n11 instanceof q2.n)) && obj3 != null) {
                vVar = (c3.v) n11.a(obj3);
            }
            kotlin.jvm.internal.t.d(vVar);
            return new b3.q(k10, vVar.k(), null);
        }
    }

    /* loaded from: classes.dex */
    static final class j extends kotlin.jvm.internal.v implements dn.l {

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

        j() {
            super(1);
        }

        @Override // dn.l
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final h.a invoke(Object obj) {
            kotlin.jvm.internal.t.e(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
            List list = (List) obj;
            Object obj2 = list.get(0);
            String str = obj2 != null ? (String) obj2 : null;
            kotlin.jvm.internal.t.d(str);
            Object obj3 = list.get(1);
            i1.j w10 = a0.w();
            return new h.a(str, ((!kotlin.jvm.internal.t.b(obj3, Boolean.FALSE) || (w10 instanceof q2.n)) && obj3 != null) ? (q2.k0) w10.a(obj3) : null, null);
        }
    }

    /* loaded from: classes.dex */
    static final class j0 extends kotlin.jvm.internal.v implements dn.p {

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

        j0() {
            super(2);
        }

        @Override // dn.p
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final Object invoke(i1.l lVar, q2.k0 k0Var) {
            ArrayList g10;
            g10 = sm.u.g(a0.y(k0Var.d(), a0.v(), lVar), a0.y(k0Var.a(), a0.v(), lVar), a0.y(k0Var.b(), a0.v(), lVar), a0.y(k0Var.c(), a0.v(), lVar));
            return g10;
        }
    }

    /* loaded from: classes.dex */
    static final class k extends kotlin.jvm.internal.v implements dn.p {

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

        k() {
            super(2);
        }

        public final Object a(i1.l lVar, long j10) {
            return (j10 > 16L ? 1 : (j10 == 16L ? 0 : -1)) == 0 ? Boolean.FALSE : Integer.valueOf(s1.i0.j(j10));
        }

        @Override // dn.p
        public /* bridge */ /* synthetic */ Object invoke(Object obj, Object obj2) {
            return a((i1.l) obj, ((s1.g0) obj2).v());
        }
    }

    /* loaded from: classes.dex */
    static final class k0 extends kotlin.jvm.internal.v implements dn.l {

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

        k0() {
            super(1);
        }

        @Override // dn.l
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final q2.k0 invoke(Object obj) {
            kotlin.jvm.internal.t.e(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
            List list = (List) obj;
            Object obj2 = list.get(0);
            i1.j v10 = a0.v();
            Boolean bool = Boolean.FALSE;
            q2.b0 b0Var = null;
            q2.b0 b0Var2 = ((!kotlin.jvm.internal.t.b(obj2, bool) || (v10 instanceof q2.n)) && obj2 != null) ? (q2.b0) v10.a(obj2) : null;
            Object obj3 = list.get(1);
            i1.j v11 = a0.v();
            q2.b0 b0Var3 = ((!kotlin.jvm.internal.t.b(obj3, bool) || (v11 instanceof q2.n)) && obj3 != null) ? (q2.b0) v11.a(obj3) : null;
            Object obj4 = list.get(2);
            i1.j v12 = a0.v();
            q2.b0 b0Var4 = ((!kotlin.jvm.internal.t.b(obj4, bool) || (v12 instanceof q2.n)) && obj4 != null) ? (q2.b0) v12.a(obj4) : null;
            Object obj5 = list.get(3);
            i1.j v13 = a0.v();
            if ((!kotlin.jvm.internal.t.b(obj5, bool) || (v13 instanceof q2.n)) && obj5 != null) {
                b0Var = (q2.b0) v13.a(obj5);
            }
            return new q2.k0(b0Var2, b0Var3, b0Var4, b0Var);
        }
    }

    /* loaded from: classes.dex */
    static final class l extends kotlin.jvm.internal.v implements dn.l {

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

        l() {
            super(1);
        }

        @Override // dn.l
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final s1.g0 invoke(Object obj) {
            long b10;
            if (kotlin.jvm.internal.t.b(obj, Boolean.FALSE)) {
                b10 = s1.g0.f35254b.f();
            } else {
                kotlin.jvm.internal.t.e(obj, "null cannot be cast to non-null type kotlin.Int");
                b10 = s1.i0.b(((Integer) obj).intValue());
            }
            return s1.g0.h(b10);
        }
    }

    /* loaded from: classes.dex */
    static final class l0 extends kotlin.jvm.internal.v implements dn.p {

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

        l0() {
            super(2);
        }

        /* JADX WARN: Multi-variable type inference failed */
        public final Object a(i1.l lVar, long j10) {
            ArrayList g10;
            g10 = sm.u.g(a0.x(Integer.valueOf(q2.m0.n(j10))), a0.x(Integer.valueOf(q2.m0.i(j10))));
            return g10;
        }

        @Override // dn.p
        public /* bridge */ /* synthetic */ Object invoke(Object obj, Object obj2) {
            return a((i1.l) obj, ((q2.m0) obj2).r());
        }
    }

    /* loaded from: classes.dex */
    static final class m extends kotlin.jvm.internal.v implements dn.p {

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

        m() {
            super(2);
        }

        @Override // dn.p
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final Object invoke(i1.l lVar, v2.r rVar) {
            return Integer.valueOf(rVar.v());
        }
    }

    /* loaded from: classes.dex */
    static final class m0 extends kotlin.jvm.internal.v implements dn.l {

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

        m0() {
            super(1);
        }

        @Override // dn.l
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final q2.m0 invoke(Object obj) {
            kotlin.jvm.internal.t.e(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any>");
            List list = (List) obj;
            Object obj2 = list.get(0);
            Integer num = obj2 != null ? (Integer) obj2 : null;
            kotlin.jvm.internal.t.d(num);
            int intValue = num.intValue();
            Object obj3 = list.get(1);
            Integer num2 = obj3 != null ? (Integer) obj3 : null;
            kotlin.jvm.internal.t.d(num2);
            return q2.m0.b(q2.n0.b(intValue, num2.intValue()));
        }
    }

    /* loaded from: classes.dex */
    static final class n extends kotlin.jvm.internal.v implements dn.l {

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

        n() {
            super(1);
        }

        @Override // dn.l
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final v2.r invoke(Object obj) {
            kotlin.jvm.internal.t.e(obj, "null cannot be cast to non-null type kotlin.Int");
            return new v2.r(((Integer) obj).intValue());
        }
    }

    /* loaded from: classes.dex */
    static final class n0 extends kotlin.jvm.internal.v implements dn.p {

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

        n0() {
            super(2);
        }

        public final Object a(i1.l lVar, long j10) {
            ArrayList g10;
            if (c3.v.e(j10, c3.v.f7436b.a())) {
                return Boolean.FALSE;
            }
            g10 = sm.u.g(a0.x(Float.valueOf(c3.v.h(j10))), a0.x(c3.x.d(c3.v.g(j10))));
            return g10;
        }

        @Override // dn.p
        public /* bridge */ /* synthetic */ Object invoke(Object obj, Object obj2) {
            return a((i1.l) obj, ((c3.v) obj2).k());
        }
    }

    /* loaded from: classes.dex */
    static final class o extends kotlin.jvm.internal.v implements dn.p {

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

        o() {
            super(2);
        }

        @Override // dn.p
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final Object invoke(i1.l lVar, h.b bVar) {
            ArrayList g10;
            g10 = sm.u.g(a0.x(bVar.c()), a0.y(bVar.b(), a0.w(), lVar));
            return g10;
        }
    }

    /* loaded from: classes.dex */
    static final class o0 extends kotlin.jvm.internal.v implements dn.l {

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

        o0() {
            super(1);
        }

        @Override // dn.l
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final c3.v invoke(Object obj) {
            if (kotlin.jvm.internal.t.b(obj, Boolean.FALSE)) {
                return c3.v.b(c3.v.f7436b.a());
            }
            kotlin.jvm.internal.t.e(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any>");
            List list = (List) obj;
            Object obj2 = list.get(0);
            Float f10 = obj2 != null ? (Float) obj2 : null;
            kotlin.jvm.internal.t.d(f10);
            float floatValue = f10.floatValue();
            Object obj3 = list.get(1);
            c3.x xVar = obj3 != null ? (c3.x) obj3 : null;
            kotlin.jvm.internal.t.d(xVar);
            return c3.v.b(c3.w.a(floatValue, xVar.j()));
        }
    }

    /* loaded from: classes.dex */
    static final class p extends kotlin.jvm.internal.v implements dn.l {

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

        p() {
            super(1);
        }

        @Override // dn.l
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final h.b invoke(Object obj) {
            kotlin.jvm.internal.t.e(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
            List list = (List) obj;
            Object obj2 = list.get(0);
            q2.k0 k0Var = null;
            String str = obj2 != null ? (String) obj2 : null;
            kotlin.jvm.internal.t.d(str);
            Object obj3 = list.get(1);
            i1.j w10 = a0.w();
            if ((!kotlin.jvm.internal.t.b(obj3, Boolean.FALSE) || (w10 instanceof q2.n)) && obj3 != null) {
                k0Var = (q2.k0) w10.a(obj3);
            }
            return new h.b(str, k0Var, null, 4, null);
        }
    }

    /* loaded from: classes.dex */
    static final class p0 extends kotlin.jvm.internal.v implements dn.p {

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

        p0() {
            super(2);
        }

        @Override // dn.p
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final Object invoke(i1.l lVar, q2.r0 r0Var) {
            return a0.x(r0Var.a());
        }
    }

    /* loaded from: classes.dex */
    static final class q extends kotlin.jvm.internal.v implements dn.p {

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

        q() {
            super(2);
        }

        @Override // dn.p
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final Object invoke(i1.l lVar, x2.e eVar) {
            List m10 = eVar.m();
            ArrayList arrayList = new ArrayList(m10.size());
            int size = m10.size();
            for (int i10 = 0; i10 < size; i10++) {
                arrayList.add(a0.y((x2.d) m10.get(i10), a0.t(x2.d.f50447b), lVar));
            }
            return arrayList;
        }
    }

    /* loaded from: classes.dex */
    static final class q0 extends kotlin.jvm.internal.v implements dn.l {

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

        q0() {
            super(1);
        }

        @Override // dn.l
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final q2.r0 invoke(Object obj) {
            String str = obj != null ? (String) obj : null;
            kotlin.jvm.internal.t.d(str);
            return new q2.r0(str);
        }
    }

    /* loaded from: classes.dex */
    static final class r extends kotlin.jvm.internal.v implements dn.l {

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

        r() {
            super(1);
        }

        @Override // dn.l
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final x2.e invoke(Object obj) {
            kotlin.jvm.internal.t.e(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any>");
            List list = (List) obj;
            ArrayList arrayList = new ArrayList(list.size());
            int size = list.size();
            for (int i10 = 0; i10 < size; i10++) {
                Object obj2 = list.get(i10);
                i1.j t10 = a0.t(x2.d.f50447b);
                x2.d dVar = null;
                if ((!kotlin.jvm.internal.t.b(obj2, Boolean.FALSE) || (t10 instanceof q2.n)) && obj2 != null) {
                    dVar = (x2.d) t10.a(obj2);
                }
                kotlin.jvm.internal.t.d(dVar);
                arrayList.add(dVar);
            }
            return new x2.e(arrayList);
        }
    }

    /* loaded from: classes.dex */
    static final class r0 extends kotlin.jvm.internal.v implements dn.p {

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

        r0() {
            super(2);
        }

        @Override // dn.p
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final Object invoke(i1.l lVar, q2.s0 s0Var) {
            return a0.x(s0Var.a());
        }
    }

    /* loaded from: classes.dex */
    static final class s extends kotlin.jvm.internal.v implements dn.p {

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

        s() {
            super(2);
        }

        @Override // dn.p
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final Object invoke(i1.l lVar, x2.d dVar) {
            return dVar.b();
        }
    }

    /* loaded from: classes.dex */
    static final class s0 extends kotlin.jvm.internal.v implements dn.l {

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

        s0() {
            super(1);
        }

        @Override // dn.l
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final q2.s0 invoke(Object obj) {
            String str = obj != null ? (String) obj : null;
            kotlin.jvm.internal.t.d(str);
            return new q2.s0(str);
        }
    }

    /* loaded from: classes.dex */
    static final class t extends kotlin.jvm.internal.v implements dn.l {

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

        t() {
            super(1);
        }

        @Override // dn.l
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final x2.d invoke(Object obj) {
            kotlin.jvm.internal.t.e(obj, "null cannot be cast to non-null type kotlin.String");
            return new x2.d((String) obj);
        }
    }

    /* loaded from: classes.dex */
    public static final class u implements q2.n {

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

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

        u(dn.p pVar, dn.l lVar) {
            this.f33237a = pVar;
            this.f33238b = lVar;
        }

        @Override // i1.j
        public Object a(Object obj) {
            return this.f33238b.invoke(obj);
        }

        @Override // i1.j
        public Object b(i1.l lVar, Object obj) {
            return this.f33237a.invoke(lVar, obj);
        }
    }

    /* loaded from: classes.dex */
    static final class v extends kotlin.jvm.internal.v implements dn.p {

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

        v() {
            super(2);
        }

        /* JADX WARN: Multi-variable type inference failed */
        public final Object a(i1.l lVar, long j10) {
            ArrayList g10;
            if (r1.g.j(j10, r1.g.f34318b.b())) {
                return Boolean.FALSE;
            }
            g10 = sm.u.g(a0.x(Float.valueOf(r1.g.m(j10))), a0.x(Float.valueOf(r1.g.n(j10))));
            return g10;
        }

        @Override // dn.p
        public /* bridge */ /* synthetic */ Object invoke(Object obj, Object obj2) {
            return a((i1.l) obj, ((r1.g) obj2).v());
        }
    }

    /* loaded from: classes.dex */
    static final class w extends kotlin.jvm.internal.v implements dn.l {

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

        w() {
            super(1);
        }

        @Override // dn.l
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final r1.g invoke(Object obj) {
            if (kotlin.jvm.internal.t.b(obj, Boolean.FALSE)) {
                return r1.g.d(r1.g.f34318b.b());
            }
            kotlin.jvm.internal.t.e(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
            List list = (List) obj;
            Object obj2 = list.get(0);
            Float f10 = obj2 != null ? (Float) obj2 : null;
            kotlin.jvm.internal.t.d(f10);
            float floatValue = f10.floatValue();
            Object obj3 = list.get(1);
            Float f11 = obj3 != null ? (Float) obj3 : null;
            kotlin.jvm.internal.t.d(f11);
            return r1.g.d(r1.h.a(floatValue, f11.floatValue()));
        }
    }

    /* loaded from: classes.dex */
    static final class x extends kotlin.jvm.internal.v implements dn.p {

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

        x() {
            super(2);
        }

        @Override // dn.p
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final Object invoke(i1.l lVar, q2.u uVar) {
            ArrayList g10;
            g10 = sm.u.g(a0.x(b3.j.h(uVar.h())), a0.x(b3.l.g(uVar.i())), a0.y(c3.v.b(uVar.e()), a0.n(c3.v.f7436b), lVar), a0.y(uVar.j(), a0.m(b3.q.f6722c), lVar));
            return g10;
        }
    }

    /* loaded from: classes.dex */
    static final class y extends kotlin.jvm.internal.v implements dn.l {

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

        y() {
            super(1);
        }

        @Override // dn.l
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final q2.u invoke(Object obj) {
            kotlin.jvm.internal.t.e(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
            List list = (List) obj;
            Object obj2 = list.get(0);
            b3.j jVar = obj2 != null ? (b3.j) obj2 : null;
            kotlin.jvm.internal.t.d(jVar);
            int n10 = jVar.n();
            Object obj3 = list.get(1);
            b3.l lVar = obj3 != null ? (b3.l) obj3 : null;
            kotlin.jvm.internal.t.d(lVar);
            int m10 = lVar.m();
            Object obj4 = list.get(2);
            i1.j n11 = a0.n(c3.v.f7436b);
            Boolean bool = Boolean.FALSE;
            c3.v vVar = ((!kotlin.jvm.internal.t.b(obj4, bool) || (n11 instanceof q2.n)) && obj4 != null) ? (c3.v) n11.a(obj4) : null;
            kotlin.jvm.internal.t.d(vVar);
            long k10 = vVar.k();
            Object obj5 = list.get(3);
            i1.j m11 = a0.m(b3.q.f6722c);
            return new q2.u(n10, m10, k10, ((!kotlin.jvm.internal.t.b(obj5, bool) || (m11 instanceof q2.n)) && obj5 != null) ? (b3.q) m11.a(obj5) : null, null, null, 0, 0, null, 496, null);
        }
    }

    /* loaded from: classes.dex */
    static final class z extends kotlin.jvm.internal.v implements dn.p {

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

        z() {
            super(2);
        }

        @Override // dn.p
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final Object invoke(i1.l lVar, p1 p1Var) {
            ArrayList g10;
            g10 = sm.u.g(a0.y(s1.g0.h(p1Var.c()), a0.q(s1.g0.f35254b), lVar), a0.y(r1.g.d(p1Var.d()), a0.p(r1.g.f34318b), lVar), a0.x(Float.valueOf(p1Var.b())));
            return g10;
        }
    }

    private static final q2.n a(dn.p pVar, dn.l lVar) {
        return new u(pVar, lVar);
    }

    public static final i1.j h() {
        return f33174a;
    }

    public static final i1.j i() {
        return f33181h;
    }

    public static final i1.j j(a.C0171a c0171a) {
        return f33188o;
    }

    public static final i1.j k(k.a aVar) {
        return f33184k;
    }

    public static final i1.j l(o.a aVar) {
        return f33185l;
    }

    public static final i1.j m(q.a aVar) {
        return f33186m;
    }

    public static final i1.j n(v.a aVar) {
        return f33192s;
    }

    public static final i1.j o(m0.a aVar) {
        return f33189p;
    }

    public static final i1.j p(g.a aVar) {
        return f33193t;
    }

    public static final i1.j q(g0.a aVar) {
        return f33191r;
    }

    public static final i1.j r(p1.a aVar) {
        return f33190q;
    }

    public static final i1.j s(r.a aVar) {
        return f33187n;
    }

    public static final i1.j t(d.a aVar) {
        return f33195v;
    }

    public static final i1.j u(e.a aVar) {
        return f33194u;
    }

    public static final i1.j v() {
        return f33182i;
    }

    public static final i1.j w() {
        return f33183j;
    }

    public static final Object x(Object obj) {
        return obj;
    }

    public static final Object y(Object obj, i1.j jVar, i1.l lVar) {
        Object b10;
        return (obj == null || (b10 = jVar.b(lVar, obj)) == null) ? Boolean.FALSE : b10;
    }
}
