package com.l7tech.policy;

import com.l7tech.policy.assertion.Assertion;
import org.springframework.context.ApplicationEvent;

public class AssertionUnregistrationEvent extends ApplicationEvent {
   private final Assertion prototypeInstance;
   static final long serialVersionUID = 3014768228510405422L;
   private static final String a;

   public AssertionUnregistrationEvent(Object var1, Assertion var2) {
      super(var1);
      if (var2 == null) {
         throw new NullPointerException(a);
      }

      this.prototypeInstance = var2;
   }

   public String getAssertionClassname() {
      return this.prototypeInstance.getClass().getName();
   }

   public Assertion getPrototypeInstance() {
      return this.prototypeInstance;
   }

   static {
      String var10002 = a(92, a("'\u00185+)2='\u000f\u0013152%9\t?\u007f+37#J402f&2J4***"));
      byte var10001 = -1;
      a = var10002;
   }

   private static char[] a(String var0) {
      char[] var10000 = var0.toCharArray();
      if (var10000.length < 2) {
         var10000[0] = (char)(var10000[0] ^ 24);
      }

      return var10000;
   }

   private static String a(int var0, char[] var1) {
      int var10003 = var1.length;
      int var10002 = var0;
      char[] var10001 = var1;
      int var10000 = var10003;

      for (int var2 = 0; var10000 > var2; var2++) {
         var10001[var2] = (char)(var10001[var2] ^ var10002 ^ switch (var2 % 7) {
            case 0 -> 11;
            case 1 -> 54;
            case 2 -> 6;
            case 3 -> 3;
            case 4 -> 26;
            case 5 -> 26;
            default -> 24;
         });
      }

      return new String(var10001).intern();
   }
}
