package com.ss.android.ugc.aweme.prop.fragment;

import X.0Gi;
import X.0Gq;
import X.7lW;
import X.C1384Mot;
import X.C4076NrD;
import X.HxO;
import android.content.Context;
import com.bytedance.covode.number.Covode;
import com.ss.android.ugc.aweme.services.external.ability.IAVEffectService;

public class StickerPropDetailFragment$1 implements IAVEffectService.EffectPlatformLoader {
    public final /* synthetic */ StickerPropDetailFragment LIZ;

    static {
        Covode.recordClassIndex(100783);
    }

    public StickerPropDetailFragment$1(StickerPropDetailFragment stickerPropDetailFragment) {
        this.LIZ = stickerPropDetailFragment;
    }

    public final void load(0Gi<C1384Mot, Void> r6) {
        0Gq r4 = new 0Gq();
        if (this.LIZ.LJLJJI == null) {
            IAVEffectService iAVEffectService = this.LIZ.LJLJJL;
            Context applicationContext = this.LIZ.getContext().getApplicationContext();
            if (7lW.LIZJ && applicationContext == null) {
                applicationContext = 7lW.LIZ;
            }
            iAVEffectService.buildEffectPlatform(applicationContext, new C4076NrD(this, r4, r6), HxO.LIZ);
            return;
        }
        r4.LIZ(this.LIZ.LJLJJI);
        r4.LIZ.LIZ(r6);
    }
}
