package com.ss.android.ugc.aweme.im.sdk.group.feature.invite.viewmodel;

import X.9EH;
import X.C3161JNo;
import X.J7F;
import X.JAW;
import X.JNW;
import X.JOF;
import X.JPG;
import X.M12;
import com.bytedance.covode.number.Covode;
import com.ss.android.ugc.aweme.sharer.ui.SharePackage;
import kotlin.h.b.n;

public final class GroupSharePackage extends SharePackage {
    static {
        Covode.recordClassIndex(86395);
    }

    /* JADX INFO: super call moved to the top of the method (can break code semantics) */
    public GroupSharePackage(J7F j7f) {
        super(j7f);
        M12.LIZ(j7f);
    }

    public final JAW LIZ(JOF jof) {
        M12.LIZ(jof);
        String LIZ = C3161JNo.LIZ(this.LJIILIIL, this.LJIIIZ, jof);
        if (n.LIZ(jof.LIZ(), "twitter")) {
            LIZ = 9EH.LJJIFFI.LIZ().getString(2131825638, new Object[]{LIZ});
            n.LIZIZ(LIZ, "");
        }
        String LIZ2 = JPG.LIZ.LIZ(jof, this.LJIIIZ, this.LJIIL);
        String LIZ3 = jof.LIZ();
        if (LIZ3.hashCode() == 96619420 && LIZ3.equals("email")) {
            return new JNW(LIZ, this.LJIIJJI, LIZ2);
        }
        return new JNW(LIZ, LIZ2, 4);
    }
}
