package com.l7tech.server.wsdm.subscription;

import java.util.TimerTask;

class m extends TimerTask {
   final SubscriptionNotifier this$0;
   private static final String[] a;

   m(SubscriptionNotifier var1) {
      this.this$0 = var1;
   }

   @Override
   public void run() {
      // $VF: Couldn't be decompiled
      // Please report this to the Vineflower issue tracker, at https://github.com/Vineflower/vineflower/issues with a copy of the class file (if you have the rights to distribute it!)
      // java.lang.RuntimeException: parsing failure!
      //   at org.jetbrains.java.decompiler.modules.decompiler.decompose.DomHelper.parseGraph(DomHelper.java:211)
      //   at org.jetbrains.java.decompiler.main.rels.MethodProcessor.codeToJava(MethodProcessor.java:174)
      //
      // Bytecode:
      // 00: aload 0
      // 01: getfield com/l7tech/server/wsdm/subscription/m.this$0 Lcom/l7tech/server/wsdm/subscription/SubscriptionNotifier;
      // 04: getfield com/l7tech/server/wsdm/subscription/SubscriptionNotifier.subscriptionManager Lcom/l7tech/server/wsdm/subscription/SubscriptionManager;
      // 07: invokeinterface com/l7tech/server/wsdm/subscription/SubscriptionManager.deleteExpiredSubscriptions ()V 1
      // 0c: aload 0
      // 0d: getfield com/l7tech/server/wsdm/subscription/m.this$0 Lcom/l7tech/server/wsdm/subscription/SubscriptionNotifier;
      // 10: bipush 0
      // 11: invokevirtual com/l7tech/server/wsdm/subscription/SubscriptionNotifier.a (Z)Z
      // 14: ifeq 45
      // 17: aload 0
      // 18: getfield com/l7tech/server/wsdm/subscription/m.this$0 Lcom/l7tech/server/wsdm/subscription/SubscriptionNotifier;
      // 1b: bipush 1
      // 1c: aload 0
      // 1d: getfield com/l7tech/server/wsdm/subscription/m.this$0 Lcom/l7tech/server/wsdm/subscription/SubscriptionNotifier;
      // 20: getfield com/l7tech/server/wsdm/subscription/SubscriptionNotifier.i Ljava/util/concurrent/atomic/AtomicBoolean;
      // 23: invokevirtual java/util/concurrent/atomic/AtomicBoolean.get ()Z
      // 26: ifeq 41
      // 29: goto 30
      // 2c: invokestatic com/l7tech/server/wsdm/subscription/m.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 2f: athrow
      // 30: aload 0
      // 31: getfield com/l7tech/server/wsdm/subscription/m.this$0 Lcom/l7tech/server/wsdm/subscription/SubscriptionNotifier;
      // 34: getfield com/l7tech/server/wsdm/subscription/SubscriptionNotifier.h Ljava/util/concurrent/atomic/AtomicLong;
      // 37: invokevirtual java/util/concurrent/atomic/AtomicLong.get ()J
      // 3a: goto 42
      // 3d: invokestatic com/l7tech/server/wsdm/subscription/m.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 40: athrow
      // 41: lconst_0
      // 42: invokevirtual com/l7tech/server/wsdm/subscription/SubscriptionNotifier.a (ZJ)V
      // 45: goto 58
      // 48: astore 1
      // 49: getstatic com/l7tech/server/wsdm/subscription/SubscriptionNotifier.a Ljava/util/logging/Logger;
      // 4c: getstatic java/util/logging/Level.WARNING Ljava/util/logging/Level;
      // 4f: getstatic com/l7tech/server/wsdm/subscription/m.a [Ljava/lang/String;
      // 52: bipush 0
      // 53: aaload
      // 54: aload 1
      // 55: invokevirtual java/util/logging/Logger.log (Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
      // 58: return
      // try (9 -> 25): 25 java/lang/Exception
      // try (0 -> 17): 18 java/lang/Exception
      // try (0 -> 29): 30 java/lang/Exception
   }

   @Override
   public String toString() {
      return a[1];
   }

   private static Exception a(Exception var0) {
      return var0;
   }

   static {
      String[] var5 = new String[2];
      int var3 = 0;
      String var2 = "q\nzL>PfP\u000b;^7G K\u0016v\u000e!@$W\u0007iG\"A/K\n;M>P'J\u0011k\u0015rB/H\b;\\7A4]Dr@r\u0003v\u0014T+C!\u001b\u0014a7V\u000e\u001fT/J\u0010~@3[%ADOO!^";
      int var4 = "q\nzL>PfP\u000b;^7G K\u0016v\u000e!@$W\u0007iG\"A/K\n;M>P'J\u0011k\u0015rB/H\b;\\7A4]Dr@r\u0003v\u0014T+C!\u001b\u0014a7V\u000e\u001fT/J\u0010~@3[%ADOO!^"
         .length();
      char var1 = '>';
      int var0 = -1;

      while (true) {
         String var10002 = a(35, a(var2.substring(++var0, var0 + var1)));
         byte var10001 = -1;
         var5[var3++] = var10002;
         if ((var0 += var1) >= var4) {
            a = var5;
            return;
         }

         var1 = var2.charAt(var0);
      }
   }

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

      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 -> 7;
            case 1 -> 71;
            case 2 -> 56;
            case 3 -> 13;
            case 4 -> 113;
            case 5 -> 22;
            default -> 101;
         });
      }

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