Flud+ v1.11.1.2版本的 MD5 值为:8801c2f52bfd51902dee3a73c65b73f8

以下内容为反编译后的 b.java 源代码,内容仅作参考


package ab;

import cb.c;
import cb.d;
import com.google.android.material.datepicker.aIap.qjsR;
import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import java.net.URL;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Enumeration;
import java.util.Iterator;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.concurrent.ConcurrentMap;
import org.slf4j.ILoggerFactory;
import org.slf4j.impl.StaticLoggerBinder;
import q8.e;
import sa.l;
import ua.Ld.fbOXKBYoNc;
public abstract class b {
    public static int f402a;
    public static final e f403b = new e();
    public static final l f404c = new l(3);
    public static final boolean f405d;
    public static final String[] f406e;
    public static final String f407f;

    static {
        String str;
        try {
            str = System.getProperty("slf4j.detectLoggerNameMismatch");
        } catch (SecurityException unused) {
            str = null;
        }
        f405d = str == null ? false : str.equalsIgnoreCase("true");
        f406e = new String[]{"1.6", "1.7"};
        f407f = "org/slf4j/impl/StaticLoggerBinder.class";
    }

    public static final void a() {
        try {
            LinkedHashSet b10 = b();
            i(b10);
            StaticLoggerBinder.getSingleton();
            f402a = 3;
            h(b10);
            c();
            g();
            f403b.b();
        } catch (Exception e10) {
            f402a = 2;
            d.z("Failed to instantiate SLF4J LoggerFactory", e10);
            throw new IllegalStateException("Unexpected initialization failure", e10);
        } catch (NoClassDefFoundError e11) {
            String message = e11.getMessage();
            if (message == null || !(message.contains("org/slf4j/impl/StaticLoggerBinder") || message.contains("org.slf4j.impl.StaticLoggerBinder"))) {
                f402a = 2;
                d.z("Failed to instantiate SLF4J LoggerFactory", e11);
                throw e11;
            }
            f402a = 4;
            d.y("Failed to load class \"org.slf4j.impl.StaticLoggerBinder\".");
            d.y("Defaulting to no-operation (NOP) logger implementation");
            d.y("See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.");
        } catch (NoSuchMethodError e12) {
            String message2 = e12.getMessage();
            if (message2 != null && message2.contains("org.slf4j.impl.StaticLoggerBinder.getSingleton()")) {
                f402a = 2;
                d.y("slf4j-api 1.6.x (or later) is incompatible with this binding.");
                d.y("Your binding is version 1.5.5 or earlier.");
                d.y("Upgrade your binding to version 1.6.x.");
            }
            throw e12;
        }
    }

    public static LinkedHashSet b() {
        LinkedHashSet linkedHashSet = new LinkedHashSet();
        try {
            ClassLoader classLoader = b.class.getClassLoader();
            String str = f407f;
            Enumeration<URL> systemResources = classLoader == null ? ClassLoader.getSystemResources(str) : classLoader.getResources(str);
            while (systemResources.hasMoreElements()) {
                linkedHashSet.add(systemResources.nextElement());
            }
        } catch (IOException e10) {
            d.z("Error getting resources from path", e10);
        }
        return linkedHashSet;
    }

    public static final void c() {
        e eVar = f403b;
        eVar.getClass();
        ArrayList arrayList = new ArrayList(((ConcurrentMap) eVar.f10360l).values());
        if (arrayList.isEmpty()) {
            return;
        }
        Iterator it = arrayList.iterator();
        while (it.hasNext()) {
            cb.b bVar = (cb.b) it.next();
            bVar.f2310k = f(bVar.f2309j);
        }
    }

    public static ILoggerFactory d() {
        if (f402a == 0) {
            synchronized (b.class) {
                try {
                    if (f402a == 0) {
                        f402a = 1;
                        a();
                        if (f402a == 3) {
                            j();
                        }
                    }
                } finally {
                }
            }
        }
        int i10 = f402a;
        if (i10 != 1) {
            if (i10 != 2) {
                if (i10 != 3) {
                    if (i10 == 4) {
                        return f404c;
                    }
                    throw new IllegalStateException("Unreachable code");
                }
                return StaticLoggerBinder.getSingleton().getLoggerFactory();
            }
            throw new IllegalStateException("org.slf4j.LoggerFactory could not be successfully initialized. See also http://www.slf4j.org/codes.html#unsuccessfulInit");
        }
        return f403b;
    }

    public static a e(Class cls) {
        c cVar;
        c cVar2;
        int i10;
        a f10 = f(cls.getName());
        if (f405d) {
            c cVar3 = d.f2315a;
            Class cls2 = null;
            if (cVar3 != null) {
                cVar2 = cVar3;
            } else if (d.f2316b) {
                cVar2 = null;
            } else {
                try {
                    cVar = new SecurityManager();
                } catch (SecurityException unused) {
                    cVar = null;
                }
                d.f2315a = cVar;
                d.f2316b = true;
                cVar2 = cVar;
            }
            if (cVar2 != null) {
                Class[] classContext = cVar2.getClassContext();
                String name = d.class.getName();
                int i11 = 0;
                while (i11 < classContext.length && !name.equals(classContext[i11].getName())) {
                    i11++;
                }
                if (i11 >= classContext.length || (i10 = i11 + 2) >= classContext.length) {
                    throw new IllegalStateException("Failed to find org.slf4j.helpers.Util or its caller in the stack; this should not happen");
                }
                cls2 = classContext[i10];
            }
            if (cls2 != null && (!cls2.isAssignableFrom(cls))) {
                d.y(String.format("Detected logger name mismatch. Given name: \"%s\"; computed name: \"%s\".", f10.getName(), cls2.getName()));
                d.y("See http://www.slf4j.org/codes.html#loggerNameMismatch for an explanation");
            }
        }
        return f10;
    }

    public static a f(String str) {
        return d().a(str);
    }

    public static void g() {
        List list = (List) f403b.f10359k;
        if (list.isEmpty()) {
            return;
        }
        for (int i10 = 0; i10 < list.size(); i10++) {
            bb.a aVar = (bb.a) list.get(i10);
            cb.b bVar = aVar.f2039a;
            if (bVar.f2310k instanceof cb.a) {
                break;
            }
            if (bVar.a()) {
                if (i10 == 0) {
                    int size = list.size();
                    d.y("A number (" + size + ") of logging calls during the initialization phase have been intercepted and are");
                    d.y("now being replayed. These are suject to the filtering rules of the underlying logging system.");
                    d.y("See also http://www.slf4j.org/codes.html#replay");
                }
                if (bVar.a()) {
                    try {
                        bVar.f2312m.invoke(bVar.f2310k, aVar);
                    } catch (IllegalAccessException | IllegalArgumentException | InvocationTargetException unused) {
                    }
                }
            } else {
                if (i10 == 0) {
                    d.y(fbOXKBYoNc.hRlPgG);
                    d.y("during the initialization phase. Logging calls during this");
                    d.y("phase were not honored. However, subsequent logging calls to these");
                    d.y("loggers will work as normally expected.");
                    d.y("See also http://www.slf4j.org/codes.html#substituteLogger");
                }
                d.y(bVar.f2309j);
            }
        }
    }

    public static void h(LinkedHashSet linkedHashSet) {
        if (linkedHashSet.size() > 1) {
            d.y("Actual binding is of type [" + StaticLoggerBinder.getSingleton().getLoggerFactoryClassStr() + "]");
        }
    }

    public static void i(LinkedHashSet linkedHashSet) {
        String str;
        try {
            str = System.getProperty("java.vendor.url");
        } catch (SecurityException unused) {
            str = null;
        }
        if ((str != null && str.toLowerCase().contains("android")) || linkedHashSet.size() <= 1) {
            return;
        }
        int i10 = 1 >> 0;
        d.y(qjsR.PXy);
        Iterator it = linkedHashSet.iterator();
        while (it.hasNext()) {
            d.y("Found binding in [" + ((URL) it.next()) + "]");
        }
        d.y("See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.");
    }

    public static final void j() {
        try {
            String str = StaticLoggerBinder.REQUESTED_API_VERSION;
            boolean z10 = false;
            for (String str2 : f406e) {
                if (str.startsWith(str2)) {
                    z10 = true;
                }
            }
            if (!z10) {
                d.y("The requested version " + str + " by your slf4j binding is not compatible with " + Arrays.asList(f406e).toString());
                d.y("See http://www.slf4j.org/codes.html#version_mismatch for further details.");
            }
        } catch (NoSuchFieldError unused) {
        } catch (Throwable th) {
            d.z(qjsR.mcidl, th);
        }
    }
}