import { ESAC_REDEMPTION_FORM as URL_PREFIX, ESAC_REDEMPTION_FORM_PARAM as URL_PREFIX_PARAM } from '@/config/url-prefix'
import { ESAC_TEMPLATE } from '@/config/template'
export default [
  {
    path: '/',
    component: () => import('@/elements/templates/screens/HeaderFluid'),
    name: 'EsacRedemption',
    meta: {
      menuItem: false,
      requiresAuth: false,
      template: ESAC_TEMPLATE,
    },
    props: { contentClass: '' },
    children: [
      {
        path: URL_PREFIX,
        component: () => import('@/app/esac/redemption/components/EsacRedemptionForm'),
        name: 'EsacRedemptionForm',
        meta: {
          title: 'Esac.EsacVoucherRedemption.Title',
        },
      },
      {
        path: URL_PREFIX_PARAM,
        component: () => import('@/app/esac/redemption/components/EsacRedemptionForm'),
        name: 'EsacRedemptionFormParam',
        props: true,
        meta: {
          title: 'Esac.EsacVoucherRedemption.Title',
        },
      },
    ],
  },
]
