package com.vinfast.companion.map.trip.list;

/* JADX INFO: compiled from: r8-map-id-ae6aab8d9a1033945587ffdd1bc6222159522c1d66e66a2c4cecb065134dd0a6 */
/* JADX INFO: loaded from: E:\ios\vf_dex\classes4.dex */
@kotlin.Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0004\u0018\u0000 \u00022\u00020\u0001:\u0002\u0003\u0004¨\u0006\u0005"}, d2 = {"Lcom/vinfast/companion/map/trip/list/TripHistoryListFragmentDirections;", "", "a", "ActionTripHistoryFragmentToTripHistoryDetailFragment", "Companion", "hereSdk_release"}, k = 1, mv = {2, 2, 0}, xi = 48)
public final class TripHistoryListFragmentDirections {

    /* JADX INFO: renamed from: a, reason: from kotlin metadata */
    public static final com.vinfast.companion.map.trip.list.TripHistoryListFragmentDirections.Companion INSTANCE = new com.vinfast.companion.map.trip.list.TripHistoryListFragmentDirections.Companion(null);

    /* JADX INFO: compiled from: r8-map-id-ae6aab8d9a1033945587ffdd1bc6222159522c1d66e66a2c4cecb065134dd0a6 */
    @kotlin.Metadata(d1 = {"\u00006\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000b\n\u0002\b\n\n\u0002\u0018\u0002\n\u0002\b\u0004\b\u0082\b\u0018\u00002\u00020\u0001B\u000f\u0012\u0006\u0010\u0003\u001a\u00020\u0002¢\u0006\u0004\b\u0004\u0010\u0005J\u0010\u0010\u0007\u001a\u00020\u0006HÖ\u0001¢\u0006\u0004\b\u0007\u0010\bJ\u0010\u0010\n\u001a\u00020\tHÖ\u0001¢\u0006\u0004\b\n\u0010\u000bJ\u001a\u0010\u000f\u001a\u00020\u000e2\b\u0010\r\u001a\u0004\u0018\u00010\fHÖ\u0003¢\u0006\u0004\b\u000f\u0010\u0010R\u0017\u0010\u0003\u001a\u00020\u00028\u0006¢\u0006\f\n\u0004\b\u0011\u0010\u0012\u001a\u0004\b\u0013\u0010\u0014R\u001a\u0010\u0018\u001a\u00020\t8\u0016X\u0096\u0004¢\u0006\f\n\u0004\b\u0015\u0010\u0016\u001a\u0004\b\u0017\u0010\u000bR\u0014\u0010\u001c\u001a\u00020\u00198VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\u001a\u0010\u001b¨\u0006\u001d"}, d2 = {"Lcom/vinfast/companion/map/trip/list/TripHistoryListFragmentDirections$ActionTripHistoryFragmentToTripHistoryDetailFragment;", "Landroidx/navigation/NavDirections;", "Lcom/vinfast/companion/map/model/Trip;", "tripData", "<init>", "(Lcom/vinfast/companion/map/model/Trip;)V", "", "toString", "()Ljava/lang/String;", "", "hashCode", "()I", "", "other", "", "equals", "(Ljava/lang/Object;)Z", "a", "Lcom/vinfast/companion/map/model/Trip;", "getTripData", "()Lcom/vinfast/companion/map/model/Trip;", "b", "I", "d", "actionId", "Landroid/os/Bundle;", "c", "()Landroid/os/Bundle;", "arguments", "hereSdk_release"}, k = 1, mv = {2, 2, 0}, xi = 48)
    private static final /* data */ class ActionTripHistoryFragmentToTripHistoryDetailFragment implements androidx.navigation.NavDirections {

        /* JADX INFO: renamed from: a, reason: from kotlin metadata and from toString */
        private final com.vinfast.companion.map.model.Trip tripData;

        /* JADX INFO: renamed from: b, reason: from kotlin metadata */
        private final int actionId;

        public ActionTripHistoryFragmentToTripHistoryDetailFragment(com.vinfast.companion.map.model.Trip trip) {
            kotlin.jvm.internal.Intrinsics.l(trip, "tripData");
            this.tripData = trip;
            this.actionId = com.vinfast.companion.map.R.id.action_tripHistoryFragment_to_tripHistoryDetailFragment;
        }

        public android.os.Bundle c() {
            android.os.Bundle bundle = new android.os.Bundle();
            if (android.os.Parcelable.class.isAssignableFrom(com.vinfast.companion.map.model.Trip.class)) {
                com.vinfast.companion.map.model.Trip trip = this.tripData;
                kotlin.jvm.internal.Intrinsics.j(trip, "null cannot be cast to non-null type android.os.Parcelable");
                bundle.putParcelable("trip_data", trip);
                return bundle;
            }
            if (java.io.Serializable.class.isAssignableFrom(com.vinfast.companion.map.model.Trip.class)) {
                android.os.Parcelable parcelable = this.tripData;
                kotlin.jvm.internal.Intrinsics.j(parcelable, "null cannot be cast to non-null type java.io.Serializable");
                bundle.putSerializable("trip_data", (java.io.Serializable) parcelable);
                return bundle;
            }
            throw new java.lang.UnsupportedOperationException(com.vinfast.companion.map.model.Trip.class.getName() + " must implement Parcelable or Serializable or must be an Enum.");
        }

        /* JADX INFO: renamed from: d, reason: from getter */
        public int getActionId() {
            return this.actionId;
        }

        public boolean equals(java.lang.Object other) {
            if (this == other) {
                return true;
            }
            return (other instanceof com.vinfast.companion.map.trip.list.TripHistoryListFragmentDirections.ActionTripHistoryFragmentToTripHistoryDetailFragment) && kotlin.jvm.internal.Intrinsics.g(this.tripData, ((com.vinfast.companion.map.trip.list.TripHistoryListFragmentDirections.ActionTripHistoryFragmentToTripHistoryDetailFragment) other).tripData);
        }

        public int hashCode() {
            return this.tripData.hashCode();
        }

        public java.lang.String toString() {
            return "ActionTripHistoryFragmentToTripHistoryDetailFragment(tripData=" + this.tripData + ")";
        }
    }

    /* JADX INFO: compiled from: r8-map-id-ae6aab8d9a1033945587ffdd1bc6222159522c1d66e66a2c4cecb065134dd0a6 */
    @kotlin.Metadata(d1 = {"\u0000\u001a\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0086\u0003\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u0002\u0010\u0003J\u0017\u0010\u0007\u001a\u00020\u00062\u0006\u0010\u0005\u001a\u00020\u0004H\u0007¢\u0006\u0004\b\u0007\u0010\b¨\u0006\t"}, d2 = {"Lcom/vinfast/companion/map/trip/list/TripHistoryListFragmentDirections$Companion;", "", "<init>", "()V", "Lcom/vinfast/companion/map/model/Trip;", "tripData", "Landroidx/navigation/NavDirections;", "a", "(Lcom/vinfast/companion/map/model/Trip;)Landroidx/navigation/NavDirections;", "hereSdk_release"}, k = 1, mv = {2, 2, 0}, xi = 48)
    public static final class Companion {
        public /* synthetic */ Companion(kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker) {
            this();
        }

        public final androidx.navigation.NavDirections a(com.vinfast.companion.map.model.Trip tripData) {
            kotlin.jvm.internal.Intrinsics.l(tripData, "tripData");
            return new com.vinfast.companion.map.trip.list.TripHistoryListFragmentDirections.ActionTripHistoryFragmentToTripHistoryDetailFragment(tripData);
        }

        private Companion() {
        }
    }
}
