package n8;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import ca.canadapost.core.data.model.CoreConstants;

/* loaded from: classes.dex */
public abstract class j {

    /* renamed from: a, reason: collision with root package name */
    public static final a f29856a = new a(null);

    /* loaded from: classes.dex */
    public static final class a {
        private a() {
        }

        public /* synthetic */ a(kotlin.jvm.internal.k kVar) {
            this();
        }

        public static /* synthetic */ void c(a aVar, f.c cVar, Context context, Bundle bundle, int i10, Object obj) {
            if ((i10 & 4) != 0) {
                bundle = null;
            }
            aVar.b(cVar, context, bundle);
        }

        public final void a(Activity activity) {
            kotlin.jvm.internal.t.g(activity, "activity");
            m8.a.b(new m8.a().e("ca.canadapost.module.l1auth.open.beta"), activity, null, 2, null);
        }

        public final void b(f.c launcher, Context context, Bundle bundle) {
            kotlin.jvm.internal.t.g(launcher, "launcher");
            kotlin.jvm.internal.t.g(context, "context");
            Intent intent = new Intent("ca.canadapost.module.l1auth.open.beta");
            if (bundle != null) {
                intent.putExtra(CoreConstants.FRAG_ARGS, bundle);
            }
            intent.setPackage(context.getPackageName());
            launcher.a(intent);
        }
    }
}
