package X; import android.os.Build; import com.bytedance.covode.number.Covode; public class P1O implements Runnable { public final /* synthetic */ P1K LIZ; static { Covode.recordClassIndex(47333); } public P1O(P1K p1k) { this.LIZ = p1k; } public final void run() { if (this.LIZ.LIZLLL != null && this.LIZ.LIZLLL.get() != null) { if (this.LIZ.LIZJ.LJIIIZ == 100) { this.LIZ.LIZ(true, false); } else if (this.LIZ.LIZJ.LJIIIZ > this.LIZ.LJII) { P1K p1k = this.LIZ; p1k.LJII = p1k.LIZJ.LJIIIZ; this.LIZ.LJIIIIZZ = 0; this.LIZ.LJIIIZ.postDelayed(this, 1000); } else { this.LIZ.LJIIIIZZ++; if (this.LIZ.LJIIIIZZ < 3) { this.LIZ.LJIIIZ.postDelayed(this, 1000); return; } P1K p1k2 = this.LIZ; int i2 = Build.VERSION.SDK_INT; if (p1k2.LJ != null) { try { p1k2.LJ.evaluateJavascript(P1K.LIZ, null); p1k2.LJ.evaluateJavascript("javascript:result", new P1W(p1k2)); } catch (Exception unused) { } } } } } }