package com.tencent.mm.plugin.story.ui.sns;

import a.f.b.j;
import a.l;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageView;
import android.widget.TextView;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.story.ui.sns.c.c;
import com.tencent.mm.plugin.story.ui.sns.c.c.a;

@l(dWo = {1, 1, 13}, dWp = {"\u0000<\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\f\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0018\u0002\n\u0000\b\u0004\u0018\u00002\n0\u0001R\u00060\u0002R\u00020\u0003B\r\u0012\u0006\u0010\u0004\u001a\u00020\u0005¢\u0006\u0002\u0010\u0006J\u0018\u0010\u0018\u001a\u00020\u00192\u0006\u0010\u001a\u001a\u00020\u001b2\u0006\u0010\u001c\u001a\u00020\u001dH\u0016R\u0011\u0010\u0007\u001a\u00020\b¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\nR\u0011\u0010\u000b\u001a\u00020\f¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000eR\u001a\u0010\u000f\u001a\u00020\fX\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b\u0010\u0010\u000e\"\u0004\b\u0011\u0010\u0012R\u001a\u0010\u0013\u001a\u00020\u0005X\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b\u0014\u0010\u0015\"\u0004\b\u0016\u0010\u0017¨\u0006\u001e"}, dWq = {"Lcom/tencent/mm/plugin/story/ui/sns/StoryEntranceView$EntranceAdapter$EntranceViewUserHolder;", "Lcom/tencent/mm/plugin/story/ui/sns/StoryEntranceView$EntranceAdapter$EntranceViewHolder;", "Lcom/tencent/mm/plugin/story/ui/sns/StoryEntranceView$EntranceAdapter;", "Lcom/tencent/mm/plugin/story/ui/sns/StoryEntranceView;", "itemView", "Landroid/view/View;", "(Lcom/tencent/mm/plugin/story/ui/sns/StoryEntranceView$EntranceAdapter;Landroid/view/View;)V", "avatar", "Landroid/widget/ImageView;", "getAvatar", "()Landroid/widget/ImageView;", "contentTv", "Landroid/widget/TextView;", "getContentTv", "()Landroid/widget/TextView;", "reply", "getReply", "setReply", "(Landroid/widget/TextView;)V", "star", "getStar", "()Landroid/view/View;", "setStar", "(Landroid/view/View;)V", "onBind", "", "position", "", "data", "Lcom/tencent/mm/plugin/story/ui/sns/StoryEntranceView$DataObject;", "plugin-story_release"})
public final class c$c$c extends a {
    private final TextView gKl;
    private final ImageView gvq;
    final /* synthetic */ c shN;
    private View shQ;
    private TextView shR;

    public c$c$c(c cVar, View view) {
        j.p(view, "itemView");
        this.shN = cVar;
        super(cVar, view);
        AppMethodBeat.i(110274);
        View findViewById = view.findViewById(2131821183);
        j.o(findViewById, "itemView.findViewById(R.id.avatar_iv)");
        this.gvq = (ImageView) findViewById;
        findViewById = view.findViewById(2131826146);
        j.o(findViewById, "itemView.findViewById(R.id.user_name_tv)");
        this.gKl = (TextView) findViewById;
        findViewById = view.findViewById(2131828143);
        j.o(findViewById, "itemView.findViewById(R.id.star)");
        this.shQ = findViewById;
        findViewById = view.findViewById(2131828142);
        j.o(findViewById, "itemView.findViewById(R.id.reply_icon)");
        this.shR = (TextView) findViewById;
        view.setOnClickListener((OnClickListener) new 1(this));
        AppMethodBeat.o(110274);
    }

    /* JADX WARNING: Missing block: B:3:0x0032, code skipped:
            if (r0 == null) goto L_0x0034;
     */
    public final void a(com.tencent.mm.plugin.story.ui.sns.c.b r7) {
        /*
        r6 = this;
        r5 = 110273; // 0x1aec1 float:1.54525E-40 double:5.4482E-319;
        r2 = 0;
        com.tencent.matrix.trace.core.AppMethodBeat.i(r5);
        r0 = "data";
        a.f.b.j.p(r7, r0);
        r0 = r6.gvq;
        r1 = r7.userName;
        com.tencent.mm.pluginsdk.ui.a.b.r(r0, r1);
        r0 = com.tencent.mm.plugin.messenger.foundation.a.j.class;
        r0 = com.tencent.mm.kernel.g.K(r0);
        r1 = "MMKernel.service(IMessengerStorage::class.java)";
        a.f.b.j.o(r0, r1);
        r0 = (com.tencent.mm.plugin.messenger.foundation.a.j) r0;
        r0 = r0.XM();
        r1 = r7.userName;
        r1 = r0.aoO(r1);
        if (r1 == 0) goto L_0x0034;
    L_0x002e:
        r0 = r1.Oj();
        if (r0 != 0) goto L_0x0036;
    L_0x0034:
        r0 = r7.userName;
    L_0x0036:
        r3 = r6.gKl;
        r3 = r3.getContext();
        r0 = (java.lang.CharSequence) r0;
        r4 = r6.gKl;
        r4 = r4.getTextSize();
        r0 = com.tencent.mm.pluginsdk.ui.e.j.b(r3, r0, r4);
        r3 = r6.shQ;
        r4 = "contact";
        a.f.b.j.o(r1, r4);
        r1 = r1.Oc();
        if (r1 == 0) goto L_0x0082;
    L_0x0056:
        r1 = r2;
    L_0x0057:
        r3.setVisibility(r1);
        r1 = r6.gKl;
        r0 = (java.lang.CharSequence) r0;
        r1.setText(r0);
        r1 = r6.shR;
        r0 = r7.type;
        r3 = 5;
        if (r0 != r3) goto L_0x0084;
    L_0x0068:
        r3 = r6.shR;
        r0 = com.tencent.mm.plugin.story.model.f.a.rWL;
        r4 = r7.userName;
        r0 = r0.aaH(r4);
        r0 = java.lang.String.valueOf(r0);
        r0 = (java.lang.CharSequence) r0;
        r3.setText(r0);
    L_0x007b:
        r1.setVisibility(r2);
        com.tencent.matrix.trace.core.AppMethodBeat.o(r5);
        return;
    L_0x0082:
        r1 = 4;
        goto L_0x0057;
    L_0x0084:
        r2 = 8;
        goto L_0x007b;
        */
        throw new UnsupportedOperationException("Method not decompiled: com.tencent.mm.plugin.story.ui.sns.c$c$c.a(com.tencent.mm.plugin.story.ui.sns.c$b):void");
    }
}
