package y5;

import androidx.navigation.C1134i;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.BitSet;
import java.util.Collections;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.LinkedHashSet;
import java.util.Set;
import m5.y;
import u5.g;
import u5.l;
import v5.c;
import v5.d;
import v5.e;
import v5.f;

/* JADX INFO: loaded from: classes3.dex */
public final class a {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final ArrayList f26233a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final ArrayList f26234b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final C1134i f26235c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final ArrayList f26236d;

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

    public a(y yVar) {
        ArrayList arrayList = (ArrayList) yVar.f21305c;
        LinkedHashSet linkedHashSet = (LinkedHashSet) yVar.f21308f;
        LinkedHashSet linkedHashSet2 = g.f24607r;
        ArrayList arrayList2 = new ArrayList();
        arrayList2.addAll(arrayList);
        Iterator it = linkedHashSet.iterator();
        while (it.hasNext()) {
            arrayList2.add(g.f24608s.get((Class) it.next()));
        }
        this.f26233a = arrayList2;
        this.f26235c = new C1134i(28);
        this.f26236d = (ArrayList) yVar.f21307e;
        ArrayList arrayList3 = (ArrayList) yVar.f21306d;
        this.f26234b = arrayList3;
        this.f26237e = yVar.f21304b;
        new LinkedHashMap();
        HashMap map = new HashMap();
        l.b(map, Arrays.asList(new v5.a('*'), new v5.a('_')));
        l.b(map, arrayList3);
        HashMap map2 = new HashMap();
        map2.put('\\', Collections.singletonList(new c()));
        map2.put('`', Collections.singletonList(new d()));
        map2.put('&', Collections.singletonList(new e()));
        map2.put('<', Arrays.asList(new v5.b(), new f()));
        Set setKeySet = map.keySet();
        Set setKeySet2 = map2.keySet();
        BitSet bitSet = new BitSet();
        Iterator it2 = setKeySet.iterator();
        while (it2.hasNext()) {
            bitSet.set(((Character) it2.next()).charValue());
        }
        Iterator it3 = setKeySet2.iterator();
        while (it3.hasNext()) {
            bitSet.set(((Character) it3.next()).charValue());
        }
        bitSet.set(91);
        bitSet.set(93);
        bitSet.set(33);
        bitSet.set(10);
    }
}
