/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  com.l7tech.util.ConfigFactory$SmartConfigurationListener
 */
package com.l7tech.server.policy.assertion;

import com.l7tech.server.policy.assertion.y;
import com.l7tech.util.ConfigFactory;

class z
implements ConfigFactory.SmartConfigurationListener {
    final y this$0;
    private static final String[] a;

    z(y y2) {
        this.this$0 = y2;
    }

    public boolean supportsProperty(String string) {
        return a[0].equals(string);
    }

    public void notifyPropertyChanged(String string) {
        if (a[1].equals(string)) {
            y.b.d = this.this$0.b();
        }
    }

    /*
     * Enabled aggressive block sorting
     */
    static {
        String[] stringArray = new String[2];
        int n2 = 0;
        String string = "_{$\u0001r0=Cf>\u0016\u000e;1Yn=\u0018C\f;[F>\u0017O\u001c)Tg58D3-cf=\u0014O*<*_{$\u0001r0=Cf>\u0016\u000e;1Yn=\u0018C\f;[F>\u0017O\u001c)Tg58D3-cf=\u0014O*<";
        int n3 = "_{$\u0001r0=Cf>\u0016\u000e;1Yn=\u0018C\f;[F>\u0017O\u001c)Tg58D3-cf=\u0014O*<*_{$\u0001r0=Cf>\u0016\u000e;1Yn=\u0018C\f;[F>\u0017O\u001c)Tg58D3-cf=\u0014O*<".length();
        int n4 = 42;
        int n5 = -1;
        while (true) {
            int n6 = ++n5;
            stringArray[n2++] = z.a(17, z.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] ^ 0x59);
        }
        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 -> 38;
                    case 1 -> 30;
                    case 2 -> 65;
                    case 3 -> 96;
                    case 4 -> 49;
                    case 5 -> 78;
                    default -> 89;
                })));
                ++n3;
                n4 = n4;
            } while (n4 > n3);
        }
        return new String(cArray2).intern();
    }
}

