import java.text.DecimalFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.concurrent.TimeUnit;

public class al implements Comparable<al> {
   private final ak a;
   private final List<n<Date, Double>> b = new ArrayList();
   private final List<n<Date, Double>> c = new ArrayList();
   private double d = 0.0D;
   private double e = 0.0D;
   private double f = 0.0D;
   private static final String[] g;

   public al(ak var1) {
      this.a = var1;
   }

   protected static long a(Date param0, Date param1, TimeUnit param2) {
      // $FF: Couldn't be decompiled
   }

   protected static <T> T a(List<T> param0) {
      // $FF: Couldn't be decompiled
   }

   protected static <T> T b(List<T> param0) {
      // $FF: Couldn't be decompiled
   }

   public void a(double param1) {
      // $FF: Couldn't be decompiled
   }

   public ak a() {
      return this.a;
   }

   public List<n<Date, Double>> b() {
      return this.b;
   }

   public List<n<Date, Double>> c() {
      return this.c;
   }

   public double d() {
      return this.d;
   }

   public double e() {
      try {
         if (this.b.isEmpty()) {
            return 0.0D;
         }
      } catch (a_ var1) {
         throw var1;
      }

      return this.e / (double)this.b.size();
   }

   public double f() {
      try {
         if (this.c.isEmpty()) {
            return 0.0D;
         }
      } catch (a_ var1) {
         throw var1;
      }

      return this.f / (double)this.c.size();
   }

   public String toString() {
      StringBuilder var1 = new StringBuilder(this.a.a());

      try {
         var1.append(g[2]);
         var1.append(this.a.b());
         if (this.a.c() != null) {
            var1.append(g[1]);
            var1.append(this.a.c());
            var1.append("]");
         }
      } catch (a_ var2) {
         throw var2;
      }

      var1.append(g[0]);
      var1.append(DecimalFormat.getNumberInstance().format(this.d()));
      var1.append(" ");
      var1.append(DecimalFormat.getNumberInstance().format(this.e()));
      var1.append(" ");
      var1.append(DecimalFormat.getNumberInstance().format(this.f()));
      return var1.toString();
   }

   protected static boolean a(Object param0, Object param1) {
      // $FF: Couldn't be decompiled
   }

   public int a(al var1) {
      try {
         if (var1 == null) {
            return 1;
         }
      } catch (a_ var2) {
         throw var2;
      }

      try {
         if (a(this.a().a(), var1.a().a())) {
            return this.a().b().compareTo(var1.a().b());
         }
      } catch (a_ var3) {
         throw var3;
      }

      return this.a().a().compareTo(var1.a().a());
   }

   static {
      String[] var10000 = new String[3];
      char[] var10003 = "\u0007Y".toCharArray();
      int var10005 = var10003.length;
      int var1 = 0;
      char[] var10004 = var10003;
      int var2 = var10005;
      char[] var4;
      int var10006;
      char var10007;
      byte var10008;
      if (var10005 <= 1) {
         var4 = var10003;
         var10006 = var1;
         var10007 = var10003[var1];
         switch(var1 % 5) {
         case 0:
            var10008 = 61;
            break;
         case 1:
            var10008 = 121;
            break;
         case 2:
            var10008 = 103;
            break;
         case 3:
            var10008 = 113;
            break;
         default:
            var10008 = 123;
         }
      } else {
         var10004 = var10003;
         var2 = var10005;
         if (var10005 <= var1) {
            label127: {
               var10000[0] = (new String(var10003)).intern();
               var10003 = "\u001d\"".toCharArray();
               var10005 = var10003.length;
               var1 = 0;
               var10004 = var10003;
               var2 = var10005;
               if (var10005 <= 1) {
                  var4 = var10003;
                  var10006 = var1;
               } else {
                  var10004 = var10003;
                  var2 = var10005;
                  if (var10005 <= var1) {
                     break label127;
                  }

                  var4 = var10003;
                  var10006 = var1;
               }

               while(true) {
                  var10007 = var4[var10006];
                  switch(var1 % 5) {
                  case 0:
                     var10008 = 61;
                     break;
                  case 1:
                     var10008 = 121;
                     break;
                  case 2:
                     var10008 = 103;
                     break;
                  case 3:
                     var10008 = 113;
                     break;
                  default:
                     var10008 = 123;
                  }

                  var4[var10006] = (char)(var10007 ^ var10008);
                  ++var1;
                  if (var2 == 0) {
                     var10006 = var2;
                     var4 = var10004;
                  } else {
                     if (var2 <= var1) {
                        break;
                     }

                     var4 = var10004;
                     var10006 = var1;
                  }
               }
            }

            var10000[1] = (new String(var10004)).intern();
            var10003 = "\u001dTG".toCharArray();
            var10005 = var10003.length;
            var1 = 0;
            var10004 = var10003;
            var2 = var10005;
            if (var10005 <= 1) {
               var4 = var10003;
               var10006 = var1;
            } else {
               var10004 = var10003;
               var2 = var10005;
               if (var10005 <= var1) {
                  var10000[2] = (new String(var10003)).intern();
                  g = var10000;
                  return;
               }

               var4 = var10003;
               var10006 = var1;
            }

            while(true) {
               var10007 = var4[var10006];
               switch(var1 % 5) {
               case 0:
                  var10008 = 61;
                  break;
               case 1:
                  var10008 = 121;
                  break;
               case 2:
                  var10008 = 103;
                  break;
               case 3:
                  var10008 = 113;
                  break;
               default:
                  var10008 = 123;
               }

               var4[var10006] = (char)(var10007 ^ var10008);
               ++var1;
               if (var2 == 0) {
                  var10006 = var2;
                  var4 = var10004;
               } else {
                  if (var2 <= var1) {
                     var10000[2] = (new String(var10004)).intern();
                     g = var10000;
                     return;
                  }

                  var4 = var10004;
                  var10006 = var1;
               }
            }
         }

         var4 = var10003;
         var10006 = var1;
         var10007 = var10003[var1];
         switch(var1 % 5) {
         case 0:
            var10008 = 61;
            break;
         case 1:
            var10008 = 121;
            break;
         case 2:
            var10008 = 103;
            break;
         case 3:
            var10008 = 113;
            break;
         default:
            var10008 = 123;
         }
      }

      while(true) {
         while(true) {
            var4[var10006] = (char)(var10007 ^ var10008);
            ++var1;
            if (var2 == 0) {
               var10006 = var2;
               var4 = var10004;
               var10007 = var10004[var2];
               switch(var1 % 5) {
               case 0:
                  var10008 = 61;
                  break;
               case 1:
                  var10008 = 121;
                  break;
               case 2:
                  var10008 = 103;
                  break;
               case 3:
                  var10008 = 113;
                  break;
               default:
                  var10008 = 123;
               }
            } else {
               if (var2 <= var1) {
                  label65: {
                     var10000[0] = (new String(var10004)).intern();
                     var10003 = "\u001d\"".toCharArray();
                     var10005 = var10003.length;
                     var1 = 0;
                     var10004 = var10003;
                     var2 = var10005;
                     if (var10005 <= 1) {
                        var4 = var10003;
                        var10006 = var1;
                     } else {
                        var10004 = var10003;
                        var2 = var10005;
                        if (var10005 <= var1) {
                           break label65;
                        }

                        var4 = var10003;
                        var10006 = var1;
                     }

                     while(true) {
                        var10007 = var4[var10006];
                        switch(var1 % 5) {
                        case 0:
                           var10008 = 61;
                           break;
                        case 1:
                           var10008 = 121;
                           break;
                        case 2:
                           var10008 = 103;
                           break;
                        case 3:
                           var10008 = 113;
                           break;
                        default:
                           var10008 = 123;
                        }

                        var4[var10006] = (char)(var10007 ^ var10008);
                        ++var1;
                        if (var2 == 0) {
                           var10006 = var2;
                           var4 = var10004;
                        } else {
                           if (var2 <= var1) {
                              break;
                           }

                           var4 = var10004;
                           var10006 = var1;
                        }
                     }
                  }

                  var10000[1] = (new String(var10004)).intern();
                  var10003 = "\u001dTG".toCharArray();
                  var10005 = var10003.length;
                  var1 = 0;
                  var10004 = var10003;
                  var2 = var10005;
                  if (var10005 <= 1) {
                     var4 = var10003;
                     var10006 = var1;
                  } else {
                     var10004 = var10003;
                     var2 = var10005;
                     if (var10005 <= var1) {
                        var10000[2] = (new String(var10003)).intern();
                        g = var10000;
                        return;
                     }

                     var4 = var10003;
                     var10006 = var1;
                  }

                  while(true) {
                     var10007 = var4[var10006];
                     switch(var1 % 5) {
                     case 0:
                        var10008 = 61;
                        break;
                     case 1:
                        var10008 = 121;
                        break;
                     case 2:
                        var10008 = 103;
                        break;
                     case 3:
                        var10008 = 113;
                        break;
                     default:
                        var10008 = 123;
                     }

                     var4[var10006] = (char)(var10007 ^ var10008);
                     ++var1;
                     if (var2 == 0) {
                        var10006 = var2;
                        var4 = var10004;
                     } else {
                        if (var2 <= var1) {
                           var10000[2] = (new String(var10004)).intern();
                           g = var10000;
                           return;
                        }

                        var4 = var10004;
                        var10006 = var1;
                     }
                  }
               }

               var4 = var10004;
               var10006 = var1;
               var10007 = var10004[var1];
               switch(var1 % 5) {
               case 0:
                  var10008 = 61;
                  break;
               case 1:
                  var10008 = 121;
                  break;
               case 2:
                  var10008 = 103;
                  break;
               case 3:
                  var10008 = 113;
                  break;
               default:
                  var10008 = 123;
               }
            }
         }
      }
   }
}