/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  com.l7tech.util.ExceptionUtils
 */
package com.l7tech.server.extension.event.metrics;

import com.l7tech.server.extension.event.metrics.a;
import com.l7tech.util.ExceptionUtils;
import java.util.function.Supplier;

class b
implements Supplier<String> {
    final Exception val$e;
    final a this$1;
    private static final String[] a;

    /*
     * Ignored method signature, as it can't be verified against descriptor
     */
    b(a a10, Exception exception) {
        this.this$1 = a10;
        this.val$e = exception;
    }

    @Override
    public String get() {
        String[] stringArray = a;
        return stringArray[1] + String.valueOf(this.this$1.val$listener.getClass()) + stringArray[0] + ExceptionUtils.getMessage((Throwable)this.val$e);
    }

    /*
     * Enabled aggressive block sorting
     */
    static {
        String[] stringArray = new String[2];
        int n2 = 0;
        String string = ")\u001c.\u0019K@|E~8M`DaAevC.^gYx}Jk@.\r";
        int n3 = ")\u001c.\u0019K@|E~8M`DaAevC.^gYx}Jk@.\r".length();
        int n4 = 3;
        int n5 = -1;
        while (true) {
            int n6 = ++n5;
            stringArray[n2++] = b.a(95, b.a(string.substring(n6, n6 + n4)));
            if ((n5 += n4) >= n3) {
                a = stringArray;
                return;
            }
            n4 = string.charAt(n5);
        }
    }

    private static char[] a(String string) {
        char[] cArray = string.toCharArray();
        if (cArray.length < 2) {
            cArray = cArray;
            cArray[0] = (char)(cArray[0] ^ 0x7B);
        }
        return cArray;
    }

    /*
     * Handled impossible loop by duplicating code
     * Enabled aggressive block sorting
     */
    private static String a(int n2, char[] cArray) {
        char[] cArray2;
        block11: {
            int n3;
            int n4;
            int n5;
            block10: {
                n5 = n2;
                cArray2 = cArray;
                n4 = cArray.length;
                n3 = 0;
                if (!true) break block10;
                n4 = n4;
                if (n4 <= n3) break block11;
            }
            do {
                n5 = n5;
                cArray2 = cArray2;
                int n6 = n3;
                cArray2[n6] = (char)(cArray2[n6] ^ (n5 ^ (switch (n3 % 7) {
                    case 0 -> 81;
                    case 1 -> 109;
                    case 2 -> 81;
                    case 3 -> 117;
                    case 4 -> 83;
                    case 5 -> 71;
                    default -> 123;
                })));
                ++n3;
                n4 = n4;
            } while (n4 > n3);
        }
        return new String(cArray2).intern();
    }
}

