package business.binary_transformers;

import V.ExceptionPrintstacktrace;
import bH.D;
import bH.p;
import java.awt.CardLayout;
import java.awt.Component;

class BtInterfaceBk implements Runnable {
  bk(bh parambh1, bh parambh2) {}
  
  public void run() {
    try {
      boolean bool = true;
      if (this.b.a_() != null)
        bool = p.a(this.b.a_(), this.b.o); 
      this.b.setEnabled(bool);
      if (!bool) {
        for (byte b1 = 0; b1 < this.b.getComponentCount(); b1++) {
          Component component = this.b.getComponent(b1);
          bh.a(this.b, component, bool);
        } 
      } else if (this.b.n != null) {
        for (byte b1 = 0; b1 < this.b.getComponentCount(); b1++) {
          Component component = this.b.getComponent(b1);
          if (component instanceof h) {
            ((h)component).a();
          } else {
            bh.a(this.b, component, bool);
          } 
        } 
      } 
      if (this.b.getLayout() instanceof CardLayout) {
        CardLayout cardLayout = (CardLayout)this.b.getLayout();
        boolean bool1 = false;
        for (byte b1 = 0; b1 < this.b.getComponentCount(); b1++) {
          if (this.b.getComponent(b1) instanceof bh) {
            bh bh1 = (bh)this.b.getComponent(b1);
            boolean bool2 = p.a(bh1.a_(), this.b.o);
            if (bool2 && bh1.a_() != null) {
              cardLayout.show(this.a, bh1.getName());
              bh1.a();
              bool1 = true;
              break;
            } 
          } 
        } 
        if (!bool1)
          cardLayout.show(this.a, "Default"); 
      } 
      byte b;
      for (b = 0; b < this.b.getComponentCount(); b++) {
        Component component = this.b.getComponent(b);
        if (component instanceof h) {
          h h = (h)component;
          h.a();
        } else if (component instanceof bh) {
          bh bh1 = (bh)component;
          bh1.a();
        } else if (component instanceof an) {
          an an = (an)component;
          an.m();
        } else if (component instanceof ak) {
          ak ak = (ak)component;
          ak.a();
        } else {
          bh.a(this.b, component, bool);
        } 
      } 
      for (b = 0; b < this.b.getComponentCount(); b++) {
        Component component = this.b.getComponent(b);
        if (component instanceof ca) {
          ca ca = (ca)component;
          ca.b();
        } 
      } 
    } catch (ExceptionPrintstacktrace ExceptionPrintstacktrace) {
      D.a("Failed to evaluate active condition for panel: " + this.b.n);
    } 
  }
}


/* Location:              /home/rewrich/Downloads/TunerStudioMS/TunerStudioMS/!/bt/bk.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */