import issPageValues from '@/router/router-constants/issPage-values';
import navigationScenarios from '@/router/router-constants/navigation-scenarios';

// Get store from router/index.js instead of importing it here to get updated values

const routingTable = () => [
    {
        issPageValue: issPageValues.VEHICLE_SELECTION,
        maps: [
            {
                scenario: navigationScenarios.CLICKED_BACK,
                destinationIssPageValue: issPageValues.WELCOME_PAGE
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD,
                destinationIssPageValue: issPageValues.POLICY_HOLDER_DETAILS
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_BAILOUT,
                destinationIssPageValue: issPageValues.BAILOUT_PAGE
            }
        ]
    },
    {
        issPageValue: issPageValues.VEHICLE_DAMAGE,
        maps: [
            {
                scenario: navigationScenarios.CLICKED_BACK,
                destinationIssPageValue: issPageValues.POLICY_HOLDER_DETAILS
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_REPAIR,
                destinationIssPageValue: issPageValues.COVERAGE_STATEMENT
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_PART_QUESTIONS,
                destinationIssPageValue: issPageValues.PART_QUESTIONS
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_MULTIPLE_PARTS_TO_CHOOSE,
                destinationIssPageValue: issPageValues.VEHICLE_PARTS
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_MOLDING_QUESTIONS,
                destinationIssPageValue: issPageValues.MOLDING_QUESTIONS
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_CAPABILITY_QUESTIONS,
                destinationIssPageValue: issPageValues.CAPABILITY_QUESTIONS
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_NO_MORE_QUESTIONS,
                destinationIssPageValue: issPageValues.COVERAGE_STATEMENT
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITHOUT_VIN,
                destinationIssPageValue: issPageValues.VEHICLE_LOOKUP
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_BAILOUT,
                destinationIssPageValue: issPageValues.BAILOUT_PAGE
            }
        ]
    },
    {
        issPageValue: issPageValues.VEHICLE_LOOKUP,
        maps: [
            {
                scenario: navigationScenarios.CLICKED_BACK,
                destinationIssPageValue: issPageValues.VEHICLE_DAMAGE
            },
            {
                scenario: navigationScenarios.SELECTED_MANUAL_VIN,
                destinationIssPageValue: issPageValues.VIN_LOOKUP
            },
            {
                scenario: navigationScenarios.SELECTED_LICENSE_PLATE,
                destinationIssPageValue: issPageValues.LICENSE_PLATE_LOOKUP
            },
            {
                scenario: navigationScenarios.SELECTED_HOME_ADDRESS,
                destinationIssPageValue: issPageValues.ADDRESS_LOOKUP
            }
        ]
    },
    {
        issPageValue: issPageValues.VIN_LOOKUP,
        maps: [
            {
                scenario: navigationScenarios.CLICKED_BACK,
                destinationIssPageValue: issPageValues.VEHICLE_LOOKUP
            },
            {
                scenario: navigationScenarios.SELECTED_VIN_WITH_MISMATCHED_GLASS,
                destinationIssPageValue: issPageValues.VEHICLE_DAMAGE
            },
            {
                scenario: navigationScenarios.CORRECTED_VIN_FROM_POLICY_VEHICLE,
                destinationIssPageValue: issPageValues.VEHICLE_DAMAGE
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_PART_QUESTIONS,
                destinationIssPageValue: issPageValues.PART_QUESTIONS
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_MULTIPLE_PARTS_TO_CHOOSE,
                destinationIssPageValue: issPageValues.VEHICLE_PARTS
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_MOLDING_QUESTIONS,
                destinationIssPageValue: issPageValues.MOLDING_QUESTIONS
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_CAPABILITY_QUESTIONS,
                destinationIssPageValue: issPageValues.CAPABILITY_QUESTIONS
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_NO_MORE_QUESTIONS,
                destinationIssPageValue: issPageValues.COVERAGE_STATEMENT
            },
            {
                scenario: issPageValues.VEHICLE_LOOKUP,
                destinationIssPageValue: issPageValues.VEHICLE_LOOKUP
            },
            {
                scenario: issPageValues.BAILOUT_PAGE, // TODO is this a bug
                destinationIssPageValue: issPageValues.BAILOUT_PAGE
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_BAILOUT,
                destinationIssPageValue: issPageValues.BAILOUT_PAGE
            }
        ]
    },
    {
        issPageValue: issPageValues.LICENSE_PLATE_LOOKUP,
        maps: [
            {
                scenario: navigationScenarios.CLICKED_BACK,
                destinationIssPageValue: issPageValues.VEHICLE_LOOKUP
            },
            {
                scenario: navigationScenarios.SELECTED_VIN_WITH_MISMATCHED_GLASS,
                destinationIssPageValue: issPageValues.VEHICLE_DAMAGE
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_NO_MORE_QUESTIONS,
                destinationIssPageValue: issPageValues.COVERAGE_STATEMENT
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_PART_QUESTIONS,
                destinationIssPageValue: issPageValues.PART_QUESTIONS
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_MULTIPLE_PARTS_TO_CHOOSE,
                destinationIssPageValue: issPageValues.VEHICLE_PARTS
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_MOLDING_QUESTIONS,
                destinationIssPageValue: issPageValues.MOLDING_QUESTIONS
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_CAPABILITY_QUESTIONS,
                destinationIssPageValue: issPageValues.CAPABILITY_QUESTIONS
            }
        ]
    },
    {
        issPageValue: issPageValues.PART_QUESTIONS,
        maps: [
            {
                scenario: navigationScenarios.CLICKED_BACK_WITH_VIN_AND_NO_MORE_QUESTIONS,
                destinationIssPageValue: issPageValues.VEHICLE_DAMAGE
            },
            {
                scenario: navigationScenarios.CLICKED_BACK_WITH_NO_VIN_NOR_QUESTIONS,
                destinationIssPageValue: issPageValues.VEHICLE_LOOKUP
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_MULTIPLE_PARTS_TO_CHOOSE,
                destinationIssPageValue: issPageValues.VEHICLE_PARTS
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_MOLDING_QUESTIONS,
                destinationIssPageValue: issPageValues.MOLDING_QUESTIONS
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_CAPABILITY_QUESTIONS,
                destinationIssPageValue: issPageValues.CAPABILITY_QUESTIONS
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_NO_MORE_QUESTIONS,
                destinationIssPageValue: issPageValues.COVERAGE_STATEMENT
            }
        ]
    },
    {
        issPageValue: issPageValues.VEHICLE_PARTS,
        maps: [
            {
                scenario: navigationScenarios.CLICKED_FORWARD,
                destinationIssPageValue: issPageValues.REVEAL
            },
            {
                scenario: navigationScenarios.CLICKED_BACK_WITH_PART_QUESTIONS,
                destinationIssPageValue: issPageValues.PART_QUESTIONS
            },
            {
                scenario: navigationScenarios.CLICKED_BACK_WITH_VIN_AND_NO_MORE_QUESTIONS,
                destinationIssPageValue: issPageValues.VEHICLE_DAMAGE
            },
            {
                scenario: navigationScenarios.CLICKED_BACK_WITH_NO_VIN_NOR_QUESTIONS,
                destinationIssPageValue: issPageValues.VEHICLE_LOOKUP
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_MOLDING_QUESTIONS,
                destinationIssPageValue: issPageValues.MOLDING_QUESTIONS
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_CAPABILITY_QUESTIONS,
                destinationIssPageValue: issPageValues.CAPABILITY_QUESTIONS
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_NO_MORE_QUESTIONS,
                destinationIssPageValue: issPageValues.COVERAGE_STATEMENT
            }
        ]
    },
    {
        issPageValue: issPageValues.MOLDING_QUESTIONS,
        maps: [
            {
                scenario: navigationScenarios.CLICKED_BACK_WITH_VIN_AND_NO_MORE_QUESTIONS,
                destinationIssPageValue: issPageValues.VEHICLE_DAMAGE
            },
            {
                scenario: navigationScenarios.CLICKED_BACK_WITH_NO_VIN_NOR_QUESTIONS,
                destinationIssPageValue: issPageValues.VEHICLE_LOOKUP
            },
            {
                scenario: navigationScenarios.CLICKED_BACK_WITH_PART_QUESTIONS,
                destinationIssPageValue: issPageValues.PART_QUESTIONS
            },
            {
                scenario: navigationScenarios.CLICKED_BACK_WITH_MULTIPLE_PARTS_TO_CHOOSE,
                destinationIssPageValue: issPageValues.VEHICLE_PARTS
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_CAPABILITY_QUESTIONS,
                destinationIssPageValue: issPageValues.CAPABILITY_QUESTIONS
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_NO_MORE_QUESTIONS,
                destinationIssPageValue: issPageValues.COVERAGE_STATEMENT
            }
        ]
    },
    {
        issPageValue: issPageValues.CAPABILITY_QUESTIONS,
        maps: [
            {
                scenario: navigationScenarios.CLICKED_BACK_WITH_VIN_AND_NO_MORE_QUESTIONS,
                destinationIssPageValue: issPageValues.VEHICLE_DAMAGE
            },
            {
                scenario: navigationScenarios.CLICKED_BACK_WITH_NO_VIN_NOR_QUESTIONS,
                destinationIssPageValue: issPageValues.VEHICLE_LOOKUP
            },
            {
                scenario: navigationScenarios.CLICKED_BACK_WITH_PART_QUESTIONS,
                destinationIssPageValue: issPageValues.PART_QUESTIONS
            },
            {
                scenario: navigationScenarios.CLICKED_BACK_WITH_MULTIPLE_PARTS_TO_CHOOSE,
                destinationIssPageValue: issPageValues.VEHICLE_PARTS
            },
            {
                scenario: navigationScenarios.CLICKED_BACK_WITH_MOLDING_QUESTIONS,
                destinationIssPageValue: issPageValues.MOLDING_QUESTIONS
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_NO_MORE_QUESTIONS,
                destinationIssPageValue: issPageValues.COVERAGE_STATEMENT
            }
        ]
    },
    {
        issPageValue: issPageValues.ADDRESS_LOOKUP,
        maps: [
            {
                scenario: navigationScenarios.CLICKED_BACK,
                destinationIssPageValue: issPageValues.VEHICLE_LOOKUP
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_MULTIPLE_VEHICLES,
                destinationIssPageValue: issPageValues.ADDRESS_VEHICLES
            },
            {
                scenario: navigationScenarios.SELECTED_VIN_WITH_MISMATCHED_GLASS,
                destinationIssPageValue: issPageValues.VEHICLE_DAMAGE
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_PART_QUESTIONS,
                destinationIssPageValue: issPageValues.PART_QUESTIONS
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_MULTIPLE_PARTS_TO_CHOOSE,
                destinationIssPageValue: issPageValues.VEHICLE_PARTS
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_MOLDING_QUESTIONS,
                destinationIssPageValue: issPageValues.MOLDING_QUESTIONS
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_CAPABILITY_QUESTIONS,
                destinationIssPageValue: issPageValues.CAPABILITY_QUESTIONS
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_NO_MORE_QUESTIONS,
                destinationIssPageValue: issPageValues.COVERAGE_STATEMENT
            }
        ]
    },
    {
        issPageValue: issPageValues.ADDRESS_VEHICLES,
        maps: [
            {
                scenario: navigationScenarios.CLICKED_BACK,
                destinationIssPageValue: issPageValues.ADDRESS_LOOKUP
            },
            {
                scenario: navigationScenarios.SELECTED_VIN_WITH_MISMATCHED_GLASS,
                destinationIssPageValue: issPageValues.VEHICLE_DAMAGE
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_PART_QUESTIONS,
                destinationIssPageValue: issPageValues.PART_QUESTIONS
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_MULTIPLE_PARTS_TO_CHOOSE,
                destinationIssPageValue: issPageValues.VEHICLE_PARTS
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_MOLDING_QUESTIONS,
                destinationIssPageValue: issPageValues.MOLDING_QUESTIONS
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_CAPABILITY_QUESTIONS,
                destinationIssPageValue: issPageValues.CAPABILITY_QUESTIONS
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_NO_MORE_QUESTIONS,
                destinationIssPageValue: issPageValues.COVERAGE_STATEMENT
            }
        ]
    },
    {
        issPageValue: issPageValues.ACCESS_DENIED,
        maps: [
            {
                scenario: navigationScenarios.CLICKED_BACK,
                destinationIssPageValue: issPageValues.ACCESS_DENIED
            }
        ]
    },
    {
        issPageValue: issPageValues.ENTRY_PAGE,
        maps: [
            {
                scenario: navigationScenarios.CLICKED_BACK,
                destinationIssPageValue: issPageValues.ENTRY_PAGE
            },
            {
                scenario: navigationScenarios.MOVE_FORWARD_ENTRY_PAGE,
                destinationIssPageValue: issPageValues.WELCOME_PAGE
            }
        ]
    },
    {
        issPageValue: issPageValues.WELCOME_PAGE,
        maps: [
            {
                scenario: navigationScenarios.CLICKED_BACK,
                destinationIssPageValue: issPageValues.WELCOME_PAGE
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD,
                destinationIssPageValue: issPageValues.VEHICLE_SELECTION
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_DUPLICATES,
                destinationIssPageValue: issPageValues.DUPLICATE_CHECK
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_POLICY_UNVERIFIED,
                destinationIssPageValue: issPageValues.VEHICLE_SELECTION
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_POLICY_VERIFIED_NO_VEHICLES,
                destinationIssPageValue: issPageValues.VEHICLE_SELECTION
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_POLICY_VERIFIED_WITH_VEHICLES,
                destinationIssPageValue: issPageValues.POLICY_VEHICLES
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_BAILOUT,
                destinationIssPageValue: issPageValues.BAILOUT_PAGE
            },
            {
                scenario: navigationScenarios.SAVE_SESSION_FAILED,
                destinationIssPageValue: issPageValues.BAILOUT_PAGE
            }
        ]
    },
    {
        issPageValue: issPageValues.DUPLICATE_CHECK,
        maps: [
            {
                scenario: navigationScenarios.CLICKED_BACK,
                destinationIssPageValue: issPageValues.WELCOME_PAGE
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_POLICY_UNVERIFIED,
                destinationIssPageValue: issPageValues.VEHICLE_SELECTION
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_POLICY_VERIFIED_NO_VEHICLES,
                destinationIssPageValue: issPageValues.VEHICLE_SELECTION
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_POLICY_VERIFIED_WITH_VEHICLES,
                destinationIssPageValue: issPageValues.POLICY_VEHICLES
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_LOADED_DUPLICATE_WITH_POLICY_VEHICLE,
                destinationIssPageValue: issPageValues.POLICY_HOLDER_DETAILS
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_LOADED_DUPLICATE_WITH_NON_POLICY_VEHICLE,
                destinationIssPageValue: issPageValues.VEHICLE_SELECTION
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_LOADED_DUPLICATE_WITH_NO_POLICY_VEHICLES,
                destinationIssPageValue: issPageValues.VEHICLE_SELECTION
            }
        ]
    },
    {
        issPageValue: issPageValues.POLICY_HOLDER_DETAILS,
        maps: [
            {
                scenario: navigationScenarios.CLICKED_BACK_POLICY_UNVERIFIED,
                destinationIssPageValue: issPageValues.VEHICLE_SELECTION
            },
            {
                scenario: navigationScenarios.CLICKED_BACK_POLICY_VERIFIED,
                destinationIssPageValue: issPageValues.WELCOME_PAGE
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_POLICY_UNVERIFIED,
                destinationIssPageValue: issPageValues.VEHICLE_DAMAGE
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_POLICY_VERIFIED,
                destinationIssPageValue: issPageValues.VEHICLE_DAMAGE
            }
        ]
    },
    {
        issPageValue: issPageValues.POLICY_VEHICLES,
        maps: [
            {
                scenario: navigationScenarios.CLICKED_BACK,
                destinationIssPageValue: issPageValues.WELCOME_PAGE
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_LISTED_VEHICLE,
                destinationIssPageValue: issPageValues.POLICY_HOLDER_DETAILS
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_NON_LISTED_VEHICLE,
                destinationIssPageValue: issPageValues.VEHICLE_SELECTION
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_CAR_ID_NOT_FOUND,
                destinationIssPageValue: issPageValues.VIN_LOOKUP
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_BAILOUT,
                destinationIssPageValue: issPageValues.BAILOUT_PAGE
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_ENDORSEMENTS,
                destinationIssPageValue: issPageValues.POLICY_ENDORSEMENTS
            }
        ]
    },
    {
        issPageValue: issPageValues.COVERAGE_STATEMENT,
        maps: [
            {
                scenario: navigationScenarios.CLICKED_BACK_WITH_VIN_AND_NO_MORE_QUESTIONS,
                destinationIssPageValue: issPageValues.VEHICLE_DAMAGE
            },
            {
                scenario: navigationScenarios.CLICKED_BACK_WITH_NO_VIN_NOR_QUESTIONS,
                destinationIssPageValue: issPageValues.VEHICLE_LOOKUP
            },
            {
                scenario: navigationScenarios.CLICKED_BACK_WITH_PART_QUESTIONS,
                destinationIssPageValue: issPageValues.PART_QUESTIONS
            },
            {
                scenario: navigationScenarios.CLICKED_BACK_WITH_MULTIPLE_PARTS_TO_CHOOSE,
                destinationIssPageValue: issPageValues.VEHICLE_PARTS
            },
            {
                scenario: navigationScenarios.CLICKED_BACK_WITH_MOLDING_QUESTIONS,
                destinationIssPageValue: issPageValues.MOLDING_QUESTIONS
            },
            {
                scenario: navigationScenarios.CLICKED_BACK_WITH_CAPABILITY_QUESTIONS,
                destinationIssPageValue: issPageValues.CAPABILITY_QUESTIONS
            },
            {
                scenario: navigationScenarios.CLICKED_BACK_WITH_REPAIR,
                destinationIssPageValue: issPageValues.VEHICLE_DAMAGE
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD,
                destinationIssPageValue: issPageValues.PROVIDER_PREFERENCE
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_SAFELITE,
                destinationIssPageValue: issPageValues.SCHEDULE_PAGE
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_NON_SAFELITE_SHOP,
                destinationIssPageValue: issPageValues.BAILOUT_PAGE
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_INVALID_STATE,
                destinationIssPageValue: issPageValues.BAILOUT_PAGE
            },
            {
                scenario: navigationScenarios.PRICING_LOOKUP_ERROR,
                destinationIssPageValue: issPageValues.BAILOUT_PAGE
            }
        ]
    },
    {
        issPageValue: issPageValues.PROVIDER_PREFERENCE,
        maps: [
            {
                scenario: navigationScenarios.CLICKED_BACK,
                destinationIssPageValue: issPageValues.COVERAGE_STATEMENT
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_SAFELITE,
                destinationIssPageValue: issPageValues.SCHEDULE_PAGE
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_TPA_ENABLED,
                destinationIssPageValue: issPageValues.TPA_SEARCH
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_TPA_DISABLED,
                destinationIssPageValue: issPageValues.BAILOUT_PAGE
            }
        ]
    },
    {
        issPageValue: issPageValues.SCHEDULE_PAGE,
        maps: [
            {
                scenario: navigationScenarios.CLICKED_BACK_CANNOT_REACH_TPA_FLOW,
                destinationIssPageValue: issPageValues.COVERAGE_STATEMENT
            },
            {
                scenario: navigationScenarios.CLICKED_BACK_CAN_REACH_TPA_FLOW,
                destinationIssPageValue: issPageValues.PROVIDER_PREFERENCE
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD,
                destinationIssPageValue: issPageValues.CONTACT_DETAILS
            }
        ]
    },
    {
        issPageValue: issPageValues.CONTACT_DETAILS,
        maps: [
            {
                scenario: navigationScenarios.CLICKED_BACK,
                destinationIssPageValue: issPageValues.SCHEDULE_PAGE
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_SAFELITE_SHOP,
                destinationIssPageValue: issPageValues.SERVICE_PACKAGES
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_NON_SAFELITE_SHOP,
                destinationIssPageValue: issPageValues.TPA_SUBMIT
            }
        ]
    },
    {
        issPageValue: issPageValues.SERVICE_PACKAGES,
        maps: [
            {
                scenario: navigationScenarios.CLICKED_BACK,
                destinationIssPageValue: issPageValues.CONTACT_DETAILS
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD,
                destinationIssPageValue: issPageValues.PAYMENT_METHOD
            }
        ]
    },
    {
        issPageValue: issPageValues.PAYMENT_METHOD,
        maps: [
            {
                scenario: navigationScenarios.CLICKED_BACK,
                destinationIssPageValue: issPageValues.SERVICE_PACKAGES
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD,
                destinationIssPageValue: issPageValues.ORDER_CONFIRMATION
            },
            {
                scenario: navigationScenarios.CLICKED_PAY_NOW,
                destinationIssPageValue: issPageValues.PAYMENT_PAGE
            },
            {
                scenario: navigationScenarios.SAVE_SESSION_FAILED,
                destinationIssPageValue: issPageValues.BAILOUT_PAGE
            }
        ]
    },
    {
        issPageValue: issPageValues.PAYMENT_PAGE,
        maps: [
            {
                scenario: navigationScenarios.CLICKED_BACK,
                destinationIssPageValue: issPageValues.PAYMENT_METHOD
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD,
                destinationIssPageValue: issPageValues.ORDER_CONFIRMATION
            }
        ]
    },
    {
        issPageValue: issPageValues.PAYMENT_RETURN,
        maps: [
            {
                scenario: navigationScenarios.PAY_IN_ADVANCE_ERROR,
                destinationIssPageValue: issPageValues.PAYMENT_METHOD
            },
            {
                scenario: navigationScenarios.PAY_IN_ADVANCE_CREDIT_CARD_ERROR,
                destinationIssPageValue: issPageValues.PAYMENT_PAGE
            },
            {
                scenario: navigationScenarios.PAY_IN_ADVANCE_SUCCESS,
                destinationIssPageValue: issPageValues.ORDER_CONFIRMATION
            }
        ]
    },
    {
        issPageValue: issPageValues.TPA_CONFIRMATION,
        maps: [
            {
                scenario: navigationScenarios.CLICKED_FORWARD,
                destinationIssPageValue: issPageValues.WELCOME_PAGE
            }
        ]
    },
    {
        issPageValue: issPageValues.TPA_SUBMIT,
        maps: [
            {
                scenario: navigationScenarios.EDIT_POLICY_VEHICLE,
                destinationIssPageValue: issPageValues.POLICY_VEHICLES
            },
            {
                scenario: navigationScenarios.EDIT_VEHICLE,
                destinationIssPageValue: issPageValues.VEHICLE_SELECTION
            },
            {
                scenario: navigationScenarios.EDIT_DAMAGE,
                destinationIssPageValue: issPageValues.VEHICLE_DAMAGE
            },
            {
                scenario: navigationScenarios.EDIT_PREFERRED_SHOP,
                destinationIssPageValue: issPageValues.PROVIDER_PREFERENCE
            },
            {
                scenario: navigationScenarios.EDIT_CONTACT_DETAILS,
                destinationIssPageValue: issPageValues.POLICY_HOLDER_DETAILS
            },
            {
                scenario: navigationScenarios.CLICKED_BACK,
                destinationIssPageValue: issPageValues.TPA_SEARCH
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD,
                destinationIssPageValue: issPageValues.TPA_CONFIRMATION
            },
            {
                scenario: navigationScenarios.SAVE_SESSION_FAILED,
                destinationIssPageValue: issPageValues.BAILOUT_PAGE
            }
        ]
    },
    {
        issPageValue: issPageValues.ORDER_CONFIRMATION,
        maps: [
            {
                scenario: navigationScenarios.CLICKED_FORWARD,
                destinationIssPageValue: issPageValues.WELCOME_PAGE
            }
        ]
    },
    {
        issPageValue: issPageValues.TPA_SEARCH,
        maps: [
            {
                scenario: navigationScenarios.CLICKED_BACK,
                destinationIssPageValue: issPageValues.PROVIDER_PREFERENCE
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_SAFELITE_SHOP,
                destinationIssPageValue: issPageValues.SCHEDULE_PAGE
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_NON_SAFELITE_SHOP,
                destinationIssPageValue: issPageValues.TPA_SUBMIT
            },
            {
                scenario: navigationScenarios.CLICKED_DO_NOT_SEE_MY_SHOP_LINK,
                destinationIssPageValue: issPageValues.BAILOUT_PAGE
            }
        ]
    },
    {
        issPageValue: issPageValues.BAILOUT_PAGE,
        maps: [
            {
                scenario: navigationScenarios.CLICKED_BACK_PREVIOUS,
                destinationIssPageValue: issPageValues.BAILOUT_PAGE
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD,
                destinationIssPageValue: issPageValues.CONTACT_CONFIRMATION
            }
        ]
    },
    {
        issPageValue: issPageValues.POLICY_ENDORSEMENTS,
        maps: [
            {
                scenario: navigationScenarios.CLICKED_BACK,
                destinationIssPageValue: issPageValues.WELCOME_PAGE
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD,
                destinationIssPageValue: issPageValues.POLICY_HOLDER_DETAILS
            },
            {
                scenario: navigationScenarios.CLICKED_FORWARD_WITH_CAR_ID_NOT_FOUND,
                destinationIssPageValue: issPageValues.VIN_LOOKUP
            }
        ]
    }

];

export default routingTable;
