package com.tencent.mm.plugin.appbrand.jsapi;

import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.appbrand.jsapi.JsApiShowImageOperateSheet.BottomSheetLogicHelper;
import com.tencent.mm.plugin.appbrand.jsapi.JsApiShowImageOperateSheet.BottomSheetLogicHelper.IPCSendToFriendEmojiRequest;
import com.tencent.mm.plugin.appbrand.s.b.a;
import com.tencent.mm.sdk.platformtools.ab;
import com.tencent.mm.sdk.platformtools.al;
import com.tencent.mm.sdk.platformtools.bo;
import com.tencent.mm.sdk.platformtools.r;

class JsApiShowImageOperateSheet$BottomSheetLogicHelper$5 implements a {
    final /* synthetic */ BottomSheetLogicHelper hyY;

    JsApiShowImageOperateSheet$BottomSheetLogicHelper$5(BottomSheetLogicHelper bottomSheetLogicHelper) {
        this.hyY = bottomSheetLogicHelper;
    }

    public final void AN(String str) {
        AppMethodBeat.i(130578);
        ab.i("MicroMsg.JsApiShowImageOperateSheet", "sendToFriend path:%s", new Object[]{str});
        if (bo.isNullOrNil(str)) {
            AppMethodBeat.o(130578);
        } else if (r.amo(str)) {
            ab.i("MicroMsg.JsApiShowImageOperateSheet", "sendToFriend as emoji");
            IPCSendToFriendEmojiRequest iPCSendToFriendEmojiRequest = new IPCSendToFriendEmojiRequest();
            IPCSendToFriendEmojiRequest.a(iPCSendToFriendEmojiRequest, str);
            com.tencent.mm.plugin.appbrand.ipc.a.a(BottomSheetLogicHelper.c(this.hyY).mContext, iPCSendToFriendEmojiRequest, null);
            AppMethodBeat.o(130578);
        } else {
            al.d(new 1(this, str));
            AppMethodBeat.o(130578);
        }
    }
}
