/*
 * Decompiled with CFR 0.152.
 */
import java.io.IOException;

public final class gf
extends t {
    private static final String i = lh.d(588);
    private static final String j = lh.d(587);
    private static final String k = lh.d(586);
    private static final String[] l = new String[]{lh.d(585)};
    private final ob h = lh.k().h();

    public gf(eb eb2) {
        super(eb2);
    }

    public final void b() {
        super.b();
        aa aa2 = lh.k().f();
        aa2.a("whatsnew", new byte[]{(byte)2});
        aa2.h();
    }

    public static boolean l() {
        byte[] byArray;
        int n;
        String string = lh.o();
        if (string != null) {
            string = string.toLowerCase();
        }
        return (n = !"ja".equals(string) && !lh.r() ? 1 : 0) != 0 && 2 > (n = (byArray = lh.k().f().g("whatsnew")) != null && byArray.length != 0 ? byArray[0] : 0);
    }

    public final cq e() {
        return null;
    }

    public final int a(pb pb2) {
        if (pb2.c != 8) {
            this.e.a(pb2);
            return 4;
        }
        return 1;
    }

    public final void f() {
        le le2;
        this.d = this.s.b(false, false);
        this.e = (hx)this.d.a();
        w w2 = this.h.a(2, true, false, -16777216, true);
        dz.a(this.e, this.s.l() / 12);
        dz.a((hx)this.e, (String)gf.i, (w)w2).e = 1;
        w2 = this.h.a(1, false, false, -8355712, true);
        w w3 = this.h.a(1, false, false, -65536, true);
        String string = " " + k;
        new ha(this, 0, 0, this.e.a() - w3.a(string), w2, j, w3, string).e = 1;
        ha ha2 = new ha(this, 0, 0, this.e.a() - w3.a(string), w2, j, w3, string);
        ha2.m(ha2.s + 2);
        ha2.u = true;
        ha2.d = -8355712;
        this.e.d(ha2);
        string = this.s.b("friend_logo");
        try {
            le2 = lh.k().g().a(string);
        }
        catch (IOException iOException) {
            me.a("WhatsNewScreen", iOException);
            le2 = lh.k().g().a(1, 1);
        }
        dz.a(this.e, 4);
        this.e.d(new gx(this, 0, 0, le2, le2));
        dz.a(this.e, 4);
        for (int i = 0; i < l.length; ++i) {
            dz.a((hx)this.e, (String)gf.l[i], (w)jj.a((boolean)false)).e = 1;
        }
    }

    public final cq d() {
        return jy.b;
    }
}

