package n8;

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

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

    /* renamed from: a */
    public static final a f29868a = 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 d(a aVar, Activity activity, Bundle bundle, int i10, Object obj) {
            if ((i10 & 2) != 0) {
                bundle = null;
            }
            aVar.c(activity, bundle);
        }

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

        public final void b(Activity activity) {
            kotlin.jvm.internal.t.g(activity, "activity");
            m8.a e10 = new m8.a().e("ca.canadapost.module.epostprofile.open.beta");
            Intent putExtra = new Intent().putExtra(CoreConstants.FRAGMENT_TO_LOAD, CoreConstants.EDIT_ADDRESS);
            kotlin.jvm.internal.t.f(putExtra, "putExtra(...)");
            m8.a.b(e10.h(putExtra), activity, null, 2, null);
        }

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

        public final void e(Activity activity) {
            kotlin.jvm.internal.t.g(activity, "activity");
            m8.a e10 = new m8.a().e("ca.canadapost.module.epostprofile.open.beta");
            Intent putExtra = new Intent().putExtra(CoreConstants.FRAGMENT_TO_LOAD, CoreConstants.SCAN_ACCOUNT_QR_CODE);
            kotlin.jvm.internal.t.f(putExtra, "putExtra(...)");
            m8.a.b(e10.h(putExtra), activity, null, 2, null);
        }
    }
}
