import Vue from 'vue' import Router from 'vue-router' import { normalizeURL, decode } from 'ufo' import { interopDefault } from './utils' import scrollBehavior from './router.scrollBehavior.js' const _2943553a = () => interopDefault(import('..\\pages\\akun.vue' /* webpackChunkName: "pages/akun" */)) const _7409feb3 = () => interopDefault(import('..\\pages\\bank.vue' /* webpackChunkName: "pages/bank" */)) const _6382118c = () => interopDefault(import('..\\pages\\bimbingan.vue' /* webpackChunkName: "pages/bimbingan" */)) const _547a258e = () => interopDefault(import('..\\pages\\calculator.vue' /* webpackChunkName: "pages/calculator" */)) const _78bff202 = () => interopDefault(import('..\\pages\\catalogue.vue' /* webpackChunkName: "pages/catalogue" */)) const _3f4aa171 = () => interopDefault(import('..\\pages\\change-password.vue' /* webpackChunkName: "pages/change-password" */)) const _02ce70d6 = () => interopDefault(import('..\\pages\\guide.vue' /* webpackChunkName: "pages/guide" */)) const _65bafce9 = () => interopDefault(import('..\\pages\\jurnal.vue' /* webpackChunkName: "pages/jurnal" */)) const _716606d6 = () => interopDefault(import('..\\pages\\leaderboard.vue' /* webpackChunkName: "pages/leaderboard" */)) const _1f60eda9 = () => interopDefault(import('..\\pages\\list-mentor.vue' /* webpackChunkName: "pages/list-mentor" */)) const _13e27d82 = () => interopDefault(import('..\\pages\\login.vue' /* webpackChunkName: "pages/login" */)) const _47a74395 = () => interopDefault(import('..\\pages\\measurement.vue' /* webpackChunkName: "pages/measurement" */)) const _972d1410 = () => interopDefault(import('..\\pages\\mentor.vue' /* webpackChunkName: "pages/mentor" */)) const _866cd180 = () => interopDefault(import('..\\pages\\onboard.vue' /* webpackChunkName: "pages/onboard" */)) const _ec36f85c = () => interopDefault(import('..\\pages\\onboarding.vue' /* webpackChunkName: "pages/onboarding" */)) const _7064d8fe = () => interopDefault(import('..\\pages\\pay.vue' /* webpackChunkName: "pages/pay" */)) const _39fe2d5f = () => interopDefault(import('..\\pages\\payment.vue' /* webpackChunkName: "pages/payment" */)) const _bbe857d8 = () => interopDefault(import('..\\pages\\referral.vue' /* webpackChunkName: "pages/referral" */)) const _7f86d7cc = () => interopDefault(import('..\\pages\\register.vue' /* webpackChunkName: "pages/register" */)) const _2db9a81a = () => interopDefault(import('..\\pages\\reset-input-password.vue' /* webpackChunkName: "pages/reset-input-password" */)) const _3920c090 = () => interopDefault(import('..\\pages\\reset-password.vue' /* webpackChunkName: "pages/reset-password" */)) const _0e5cd56d = () => interopDefault(import('..\\pages\\workouts.vue' /* webpackChunkName: "pages/workouts" */)) const _f2bc3e96 = () => interopDefault(import('..\\pages\\workout\\female\\gym\\female_wo_gym_bimonthly.vue' /* webpackChunkName: "pages/workout/female/gym/female_wo_gym_bimonthly" */)) const _b3a36226 = () => interopDefault(import('..\\pages\\workout\\female\\gym\\female_wo_gym_foundation1.vue' /* webpackChunkName: "pages/workout/female/gym/female_wo_gym_foundation1" */)) const _b3873324 = () => interopDefault(import('..\\pages\\workout\\female\\gym\\female_wo_gym_foundation2.vue' /* webpackChunkName: "pages/workout/female/gym/female_wo_gym_foundation2" */)) const _713f91bd = () => interopDefault(import('..\\pages\\workout\\female\\gym\\female_wo_gym_select.vue' /* webpackChunkName: "pages/workout/female/gym/female_wo_gym_select" */)) const _50ada70a = () => interopDefault(import('..\\pages\\workout\\female\\home\\female_wo_home_bimonthly.vue' /* webpackChunkName: "pages/workout/female/home/female_wo_home_bimonthly" */)) const _5adc7d9a = () => interopDefault(import('..\\pages\\workout\\female\\home\\female_wo_home_foundation1.vue' /* webpackChunkName: "pages/workout/female/home/female_wo_home_foundation1" */)) const _5ac04e98 = () => interopDefault(import('..\\pages\\workout\\female\\home\\female_wo_home_foundation2.vue' /* webpackChunkName: "pages/workout/female/home/female_wo_home_foundation2" */)) const _0de34bb7 = () => interopDefault(import('..\\pages\\workout\\female\\home\\female_wo_home_select.vue' /* webpackChunkName: "pages/workout/female/home/female_wo_home_select" */)) const _39fc1695 = () => interopDefault(import('..\\pages\\workout\\male\\gym\\male_wo_gym_bimonthly.vue' /* webpackChunkName: "pages/workout/male/gym/male_wo_gym_bimonthly" */)) const _285ae666 = () => interopDefault(import('..\\pages\\workout\\male\\gym\\male_wo_gym_foundation1.vue' /* webpackChunkName: "pages/workout/male/gym/male_wo_gym_foundation1" */)) const _283eb764 = () => interopDefault(import('..\\pages\\workout\\male\\gym\\male_wo_gym_foundation2.vue' /* webpackChunkName: "pages/workout/male/gym/male_wo_gym_foundation2" */)) const _90b7b046 = () => interopDefault(import('..\\pages\\workout\\male\\gym\\male_wo_gym_select.vue' /* webpackChunkName: "pages/workout/male/gym/male_wo_gym_select" */)) const _61837616 = () => interopDefault(import('..\\pages\\workout\\male\\home\\male_wo_home_foundation1.vue' /* webpackChunkName: "pages/workout/male/home/male_wo_home_foundation1" */)) const _61674714 = () => interopDefault(import('..\\pages\\workout\\male\\home\\male_wo_home_foundation2.vue' /* webpackChunkName: "pages/workout/male/home/male_wo_home_foundation2" */)) const _ccd66a62 = () => interopDefault(import('..\\pages\\workout\\male\\home\\male_wo_home_phase1.vue' /* webpackChunkName: "pages/workout/male/home/male_wo_home_phase1" */)) const _ccba3b60 = () => interopDefault(import('..\\pages\\workout\\male\\home\\male_wo_home_phase2.vue' /* webpackChunkName: "pages/workout/male/home/male_wo_home_phase2" */)) const _cc9e0c5e = () => interopDefault(import('..\\pages\\workout\\male\\home\\male_wo_home_phase3.vue' /* webpackChunkName: "pages/workout/male/home/male_wo_home_phase3" */)) const _4bfff6b5 = () => interopDefault(import('..\\pages\\workout\\male\\home\\male_wo_home_select.vue' /* webpackChunkName: "pages/workout/male/home/male_wo_home_select" */)) const _4a3ada6b = () => interopDefault(import('..\\pages\\index.vue' /* webpackChunkName: "pages/index" */)) const emptyFn = () => {} Vue.use(Router) export const routerOptions = { mode: 'history', base: '/', linkActiveClass: 'nuxt-link-active', linkExactActiveClass: 'nuxt-link-exact-active', scrollBehavior, routes: [{ path: "/akun", component: _2943553a, name: "akun", header: "akun" }, { path: "/bank", component: _7409feb3, name: "bank", header: "bank" }, { path: "/bimbingan", component: _6382118c, name: "bimbingan", header: "bimbingan" }, { path: "/calculator", component: _547a258e, name: "calculator", header: "Kalkulator" }, { path: "/catalogue", component: _78bff202, name: "catalogue", header: "Katalog" }, { path: "/change-password", component: _3f4aa171, name: "change-password", header: "ganti password" }, { path: "/guide", component: _02ce70d6, name: "guide", header: "guide" }, { path: "/jurnal", component: _65bafce9, name: "jurnal", header: "jurnal" }, { path: "/leaderboard", component: _716606d6, name: "leaderboard", header: "leaderboard" }, { path: "/list-mentor", component: _1f60eda9, name: "list-mentor", header: "mentoring" }, { path: "/login", component: _13e27d82, name: "login", header: "login" }, { path: "/measurement", component: _47a74395, name: "measurement", header: "measurement" }, { path: "/mentor", component: _972d1410, name: "mentor" }, { path: "/onboard", component: _866cd180, name: "onboard" }, { path: "/onboarding", component: _ec36f85c, name: "onboarding", header: "onboarding" }, { path: "/pay", component: _7064d8fe, name: "pay" }, { path: "/payment", component: _39fe2d5f, name: "payment" }, { path: "/referral", component: _bbe857d8, name: "referral" }, { path: "/register", component: _7f86d7cc, name: "register" }, { path: "/reset-input-password", component: _2db9a81a, name: "reset-input-password" }, { path: "/reset-password", component: _3920c090, name: "reset-password" }, { path: "/workouts", component: _0e5cd56d, name: "workouts", header: "workout" }, { path: "/workout/female/gym/female_wo_gym_bimonthly", component: _f2bc3e96, name: "workout-female-gym-female_wo_gym_bimonthly", header: "female gym" }, { path: "/workout/female/gym/female_wo_gym_foundation1", component: _b3a36226, name: "workout-female-gym-female_wo_gym_foundation1", header: "female gym" }, { path: "/workout/female/gym/female_wo_gym_foundation2", component: _b3873324, name: "workout-female-gym-female_wo_gym_foundation2", header: "female gym" }, { path: "/workout/female/gym/female_wo_gym_select", component: _713f91bd, name: "workout-female-gym-female_wo_gym_select", header: "female gym" }, { path: "/workout/female/home/female_wo_home_bimonthly", component: _50ada70a, name: "workout-female-home-female_wo_home_bimonthly", header: "female home" }, { path: "/workout/female/home/female_wo_home_foundation1", component: _5adc7d9a, name: "workout-female-home-female_wo_home_foundation1", header: "female home" }, { path: "/workout/female/home/female_wo_home_foundation2", component: _5ac04e98, name: "workout-female-home-female_wo_home_foundation2", header: "female home" }, { path: "/workout/female/home/female_wo_home_select", component: _0de34bb7, name: "workout-female-home-female_wo_home_select", header: "female home" }, { path: "/workout/male/gym/male_wo_gym_bimonthly", component: _39fc1695, name: "workout-male-gym-male_wo_gym_bimonthly", header: "male gym" }, { path: "/workout/male/gym/male_wo_gym_foundation1", component: _285ae666, name: "workout-male-gym-male_wo_gym_foundation1", header: "male gym" }, { path: "/workout/male/gym/male_wo_gym_foundation2", component: _283eb764, name: "workout-male-gym-male_wo_gym_foundation2", header: "male gym" }, { path: "/workout/male/gym/male_wo_gym_select", component: _90b7b046, name: "workout-male-gym-male_wo_gym_select", header: "male gym" }, { path: "/workout/male/home/male_wo_home_foundation1", component: _61837616, name: "workout-male-home-male_wo_home_foundation1", header: "male home" }, { path: "/workout/male/home/male_wo_home_foundation2", component: _61674714, name: "workout-male-home-male_wo_home_foundation2", header: "male home" }, { path: "/workout/male/home/male_wo_home_phase1", component: _ccd66a62, name: "workout-male-home-male_wo_home_phase1", header: "male home" }, { path: "/workout/male/home/male_wo_home_phase2", component: _ccba3b60, name: "workout-male-home-male_wo_home_phase2", header: "male home" }, { path: "/workout/male/home/male_wo_home_phase3", component: _cc9e0c5e, name: "workout-male-home-male_wo_home_phase3", header: "male home" }, { path: "/workout/male/home/male_wo_home_select", component: _4bfff6b5, name: "workout-male-home-male_wo_home_select", header: "male home" }, { path: "/", component: _4a3ada6b, name: "index" }], fallback: false } export function createRouter (ssrContext, config) { const base = (config._app && config._app.basePath) || routerOptions.base const router = new Router({ ...routerOptions, base }) // TODO: remove in Nuxt 3 const originalPush = router.push router.push = function push (location, onComplete = emptyFn, onAbort) { return originalPush.call(this, location, onComplete, onAbort) } const resolve = router.resolve.bind(router) router.resolve = (to, current, append) => { if (typeof to === 'string') { to = normalizeURL(to) } return resolve(to, current, append) } return router }