%PDF- %PDF-
Direktori : /home/forge/takeaseat.eco-n-tech.co.uk/.nuxt/ |
Current File : //home/forge/takeaseat.eco-n-tech.co.uk/.nuxt/router.js |
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 _f846bb58 = () => interopDefault(import('../pages/about.vue' /* webpackChunkName: "pages/about" */)) const _728098b7 = () => interopDefault(import('../pages/account/index.vue' /* webpackChunkName: "pages/account/index" */)) const _2ce26eee = () => interopDefault(import('../pages/blog/index.vue' /* webpackChunkName: "pages/blog/index" */)) const _5e267bc3 = () => interopDefault(import('../pages/bookings.vue' /* webpackChunkName: "pages/bookings" */)) const _76ac3130 = () => interopDefault(import('../pages/community.vue' /* webpackChunkName: "pages/community" */)) const _686cc198 = () => interopDefault(import('../pages/contact-us.vue' /* webpackChunkName: "pages/contact-us" */)) const _6e14660c = () => interopDefault(import('../pages/forgot-password.vue' /* webpackChunkName: "pages/forgot-password" */)) const _1f11e66c = () => interopDefault(import('../pages/help.vue' /* webpackChunkName: "pages/help" */)) const _5a988378 = () => interopDefault(import('../pages/partnerships.vue' /* webpackChunkName: "pages/partnerships" */)) const _274aec60 = () => interopDefault(import('../pages/privacy-policy.vue' /* webpackChunkName: "pages/privacy-policy" */)) const _6218bfa2 = () => interopDefault(import('../pages/register/index.vue' /* webpackChunkName: "pages/register/index" */)) const _512f7cbc = () => interopDefault(import('../pages/reset-password.vue' /* webpackChunkName: "pages/reset-password" */)) const _d5e4f772 = () => interopDefault(import('../pages/terms-conditions.vue' /* webpackChunkName: "pages/terms-conditions" */)) const _617229f8 = () => interopDefault(import('../pages/therapist/index.vue' /* webpackChunkName: "pages/therapist/index" */)) const _25c7ad05 = () => interopDefault(import('../pages/therapists/index.vue' /* webpackChunkName: "pages/therapists/index" */)) const _236ceb86 = () => interopDefault(import('../pages/account/availability.vue' /* webpackChunkName: "pages/account/availability" */)) const _e42eab24 = () => interopDefault(import('../pages/account/financial.vue' /* webpackChunkName: "pages/account/financial" */)) const _5c072064 = () => interopDefault(import('../pages/account/settings.vue' /* webpackChunkName: "pages/account/settings" */)) const _a4d76774 = () => interopDefault(import('../pages/account/verification.vue' /* webpackChunkName: "pages/account/verification" */)) const _6b44ec54 = () => interopDefault(import('../pages/booking/success.vue' /* webpackChunkName: "pages/booking/success" */)) const _7ef07d52 = () => interopDefault(import('../pages/register/therapist.vue' /* webpackChunkName: "pages/register/therapist" */)) const _6f2bc1f8 = () => interopDefault(import('../pages/therapist/bookings.vue' /* webpackChunkName: "pages/therapist/bookings" */)) const _1431dc86 = () => interopDefault(import('../pages/therapist/clients/index.vue' /* webpackChunkName: "pages/therapist/clients/index" */)) const _9d2d31ec = () => interopDefault(import('../pages/therapist/messages.vue' /* webpackChunkName: "pages/therapist/messages" */)) const _31de84f5 = () => interopDefault(import('../pages/therapist/money/index.vue' /* webpackChunkName: "pages/therapist/money/index" */)) const _59dd21d1 = () => interopDefault(import('../pages/therapist/money/statements.vue' /* webpackChunkName: "pages/therapist/money/statements" */)) const _8f318142 = () => interopDefault(import('../pages/register/invitation/_reference.vue' /* webpackChunkName: "pages/register/invitation/_reference" */)) const _0a985f65 = () => interopDefault(import('../pages/therapist/clients/_id.vue' /* webpackChunkName: "pages/therapist/clients/_id" */)) const _d4dc89e6 = () => interopDefault(import('../pages/therapists/location/_slug.vue' /* webpackChunkName: "pages/therapists/location/_slug" */)) const _6cfd2102 = () => interopDefault(import('../pages/therapists/specialism/_slug.vue' /* webpackChunkName: "pages/therapists/specialism/_slug" */)) const _111adbf0 = () => interopDefault(import('../pages/therapists/tag/_slug.vue' /* webpackChunkName: "pages/therapists/tag/_slug" */)) const _2b2bcda6 = () => interopDefault(import('../pages/blog/_slug.vue' /* webpackChunkName: "pages/blog/_slug" */)) const _455aae9b = () => interopDefault(import('../pages/booking/_slug.vue' /* webpackChunkName: "pages/booking/_slug" */)) const _24110bbd = () => interopDefault(import('../pages/therapists/_slug.vue' /* webpackChunkName: "pages/therapists/_slug" */)) const _39e0f61d = () => interopDefault(import('../pages/booking/_therapist_slug/reschedule/success.vue' /* webpackChunkName: "pages/booking/_therapist_slug/reschedule/success" */)) const _8750dbf4 = () => interopDefault(import('../pages/booking/_therapist_slug/create/_id.vue' /* webpackChunkName: "pages/booking/_therapist_slug/create/_id" */)) const _091a4554 = () => interopDefault(import('../pages/booking/_therapist_slug/reschedule/_id.vue' /* webpackChunkName: "pages/booking/_therapist_slug/reschedule/_id" */)) const _b8d705ce = () => 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: "/about", component: _f846bb58, name: "about" }, { path: "/account", component: _728098b7, name: "account" }, { path: "/blog", component: _2ce26eee, name: "blog" }, { path: "/bookings", component: _5e267bc3, name: "bookings" }, { path: "/community", component: _76ac3130, name: "community" }, { path: "/contact-us", component: _686cc198, name: "contact-us" }, { path: "/forgot-password", component: _6e14660c, name: "forgot-password" }, { path: "/help", component: _1f11e66c, name: "help" }, { path: "/partnerships", component: _5a988378, name: "partnerships" }, { path: "/privacy-policy", component: _274aec60, name: "privacy-policy" }, { path: "/register", component: _6218bfa2, name: "register" }, { path: "/reset-password", component: _512f7cbc, name: "reset-password" }, { path: "/terms-conditions", component: _d5e4f772, name: "terms-conditions" }, { path: "/therapist", component: _617229f8, name: "therapist" }, { path: "/therapists", component: _25c7ad05, name: "therapists" }, { path: "/account/availability", component: _236ceb86, name: "account-availability" }, { path: "/account/financial", component: _e42eab24, name: "account-financial" }, { path: "/account/settings", component: _5c072064, name: "account-settings" }, { path: "/account/verification", component: _a4d76774, name: "account-verification" }, { path: "/booking/success", component: _6b44ec54, name: "booking-success" }, { path: "/register/therapist", component: _7ef07d52, name: "register-therapist" }, { path: "/therapist/bookings", component: _6f2bc1f8, name: "therapist-bookings" }, { path: "/therapist/clients", component: _1431dc86, name: "therapist-clients" }, { path: "/therapist/messages", component: _9d2d31ec, name: "therapist-messages" }, { path: "/therapist/money", component: _31de84f5, name: "therapist-money" }, { path: "/therapist/money/statements", component: _59dd21d1, name: "therapist-money-statements" }, { path: "/register/invitation/:reference?", component: _8f318142, name: "register-invitation-reference" }, { path: "/therapist/clients/:id", component: _0a985f65, name: "therapist-clients-id" }, { path: "/therapists/location/:slug?", component: _d4dc89e6, name: "therapists-location-slug" }, { path: "/therapists/specialism/:slug?", component: _6cfd2102, name: "therapists-specialism-slug" }, { path: "/therapists/tag/:slug?", component: _111adbf0, name: "therapists-tag-slug" }, { path: "/blog/:slug", component: _2b2bcda6, name: "blog-slug" }, { path: "/booking/:slug?", component: _455aae9b, name: "booking-slug" }, { path: "/therapists/:slug", component: _24110bbd, name: "therapists-slug" }, { path: "/booking/:therapist_slug?/reschedule/success", component: _39e0f61d, name: "booking-therapist_slug-reschedule-success" }, { path: "/booking/:therapist_slug?/create/:id?", component: _8750dbf4, name: "booking-therapist_slug-create-id" }, { path: "/booking/:therapist_slug?/reschedule/:id?", component: _091a4554, name: "booking-therapist_slug-reschedule-id" }, { path: "/", component: _b8d705ce, 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 }