{"version":3,"sources":["webpack:///./src/router/middlewarePipeline.js","webpack:///./src/router/index.js"],"names":["middlewarePipeline","context","middleware","index","nextMiddleware","nextPipeline","_objectSpread","next","PdfDownloadPage","IndustryLandingPage","ProgramLandingPage","HomePage","VenuePage","PlazaPage","PreceptorshipsPage","WorldVillage","MessagesPage","AwardWinnersPage","BoothPage","AuthPage","LoginPage","LogoutPage","CreateAccountPage","PasswordRetrievalPage","ConfirmationPage","CorrelatePage","UserDataSyncPage","ProductsPage","SymposiaPage","MeetingHubPage","LivePage","TvPage","DailyHighlightsPage","SpeakerInterviewsPage","WebinarPage","EPosterPage","PosterLandingPage","NewsPage","PresentationPlayer","HelpdeskLandingPage","NoaccessPage","MyAreaPage","SubmissionPage","ReviewPage","ContactPage","Charity","CharityPage","CharityProjectPage","HoldingPage","JobsPage","UserFormPage","PageNotFound","ErrorPage","ResetPasswordPage","AssemblyPage","SurveyPage","ContentPage","PagSearchPage","RegistrationPage","NotificationsPage","IndustryLandingPageNew","ListPage","ProfilePage","RegistrationLandingPage","commonMiddlewareList","middlewareList","cMiddlewareList","NextPageMiddleware","InstanceMiddleware","RedirectUrlMiddleware","ThemeMiddleware","ServerTimeMiddleware","HoldingMiddleware","AuthMiddleware","IndustryModelMiddleware","ExternalAuthCodeMiddleware","UserFormMiddleware","CompanyLoungeMiddleware","concat","Vue","use","VueRouter","router","mode","routes","path","name","meta","redirect","domainConfig","config","getDomainConfig","utils","getDomain","params","instance","event","defaultEvent","language","defaultLanguage","component","LocaleMiddleware","AccessControlMiddleware","VenuePageMiddleWare","TrackingMiddleware","CustomProfileMiddleware","CompanyCheckMiddleware","ViewCountMiddleware","VenuePageRedirectMiddleWare","children","analyticsIgnore","scrollBehavior","to","window","parentIFrame","scrollToOffset","hash","Promise","resolve","setTimeout","selector","behavior","x","y","beforeEach","from","MiddlewarePipeline","afterEach","headerModel","store","getters","newPageName","setPageTitle","eventTitle","pageTitle","getPageName","EventName","document","title"],"mappings":"sNAAA,SAASA,EAA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E,KAAM,kBACNC,KAAM,CACJrF,WAAY,CACVkE,OACAiC,OACAG,UAIN,CACEnB,KAAM,SACNe,UAAWhD,GACXkC,KAAM,QACNC,KAAM,CAAEuB,iBAAiB,IAE3B,CACEzB,KAAM,IACNC,KAAM,cACNE,SAAU,2BAEZ,CACEH,KAAM,IAAKe,UAAWjD,GAAcoC,KAAM,CAAEuB,iBAAiB,IAE/D,CACEzB,KAAM,aAAcC,KAAM,YAAac,UAAWjD,GAAcoC,KAAM,CAAEuB,iBAAiB,KAG7FC,eAAc,SAACC,GACb,MAAI,iBAAkBC,QACpBA,OAAOC,aAAaC,eAAe,EAAG,GAajC,MAZIH,EAAGI,KACL,IAAIC,SAAQ,SAACC,GAClBC,YAAW,WACTD,EAAQ,CACNE,SAAUR,EAAGI,KACbK,SAAU,aAEX,QAGE,CAAEC,EAAG,EAAGC,EAAG,MAMxBzC,GAAO0C,YAAW,SAACZ,EAAIa,EAAMtH,GAC3B,IAAKyG,EAAGzB,KAAKrF,WACX,OAAOK,IAET,IAAQL,EAAe8G,EAAGzB,KAAlBrF,WACFD,EAAU,CACd+G,KACAa,OACAtH,OACA2E,WAEF,OAAOhF,EAAW,GAAEI,8BAAC,GAChBL,GAAO,IACVM,KAAMuH,EAAmB7H,EAASC,EAAY,SAIlDgF,GAAO6C,WAAU,SAACf,GAChB,IAAMgB,EAAcC,OAAMC,QAAQ,gBAC5BC,EAAcvC,OAAMwC,aAAapB,EAAG1B,MAEtC+C,EAAa,MACbC,EAAY5C,OAAO6C,YAAYvB,EAAG1B,MAClC0C,GAAeA,EAAYQ,YAC7BH,EAAaL,EAAYQ,WAEvBL,IACFG,EAAYH,GAEdM,SAASC,MAAQ,GAAH5D,OAAMuD,EAAU,OAAAvD,OAAMwD,MAGvBpD","file":"js/app-f4077c3a.5b417ec5.js","sourcesContent":["function middlewarePipeline(context, middleware, index) {\n  const nextMiddleware = middleware[index]\n\n  if (!nextMiddleware) {\n    return context.next\n  }\n\n  return () => {\n    const nextPipeline = middlewarePipeline(\n      context, middleware, index + 1,\n    )\n    nextMiddleware({ ...context, next: nextPipeline })\n  }\n}\n\nexport default middlewarePipeline\n","import VueRouter from 'vue-router'\nimport Vue from 'vue'\n\nimport store from '~/store'\n// import ServiceWorker from '~/middleware/serviceWorker'\nimport MiddlewarePipeline from './middlewarePipeline'\n\nimport AuthMiddleware from '../middleware/auth'\n\nimport InstanceMiddleware from '../middleware/instance'\nimport LocaleMiddleware from '../middleware/locale'\nimport IndustryModelMiddleware from '../middleware/industryModel'\nimport ThemeMiddleware from '../middleware/theme'\nimport CustomProfileMiddleware from '../middleware/customProfile'\nimport ViewCountMiddleware from '../middleware/viewCount'\nimport TrackingMiddleware from '../middleware/tracking'\nimport VenuePageMiddleWare from '../middleware/venue'\nimport VenuePageRedirectMiddleWare from '../middleware/venueRedirect'\nimport HoldingMiddleware from '../middleware/holdingPage'\nimport AccessControlMiddleware from '../middleware/accessControl'\nimport ExternalAuthCodeMiddleware from '../middleware/externalAuthorizationCode'\nimport UserFormMiddleware from '../middleware/userForm'\nimport CompanyLoungeMiddleware from '../middleware/companyLounge'\nimport CompanyCheckMiddleware from '../middleware/companyCheck'\nimport NextPageMiddleware from '../middleware/nextPage'\nimport RedirectUrlMiddleware from '../middleware/redirectUrl'\nimport ServerTimeMiddleware from '../middleware/time'\n// import ClearServiceWorkerMiddleware from '../middleware/clearServiceWorkerCache'\n\nimport config from '../config'\nimport utils from '../utilities/utils'\n\nconst PdfDownloadPage = () => import('../pages/pdfDownload.vue')\nconst IndustryLandingPage = () => import('../pages/industryLandingPage/index.vue')\nconst ProgramLandingPage = () => import('../pages/programLanding/index.vue')\nconst HomePage = () => import('../pages/home/index.vue') // Master\nconst VenuePage = () => import('../pages/venue/index.vue')\nconst PlazaPage = () => import('../pages/plaza/index.vue')\nconst PreceptorshipsPage = () => import('../pages/preceptorships/index.vue')\nconst WorldVillage = () => import('../pages/customerPages/ERS/worldVillagePage/index.vue')\nconst MessagesPage = () => import('../pages/customerPages/ERS/messagesPage/index.vue')\nconst AwardWinnersPage = () => import('../pages/customerPages/ERS/awardWinnersPage/index.vue')\nconst BoothPage = () => import('../pages/booth/index.vue')\nconst AuthPage = () => import('../pages/auth/index.vue')\nconst LoginPage = () => import('../pages/login/index.vue')\nconst LogoutPage = () => import('../pages/logout/index.vue')\nconst CreateAccountPage = () => import('../pages/createAccount/index.vue')\nconst PasswordRetrievalPage = () => import('../pages/forgotPassword/index.vue')\nconst ConfirmationPage = () => import('../pages/confirmation/index.vue')\nconst CorrelatePage = () => import('../pages/correlate/index.vue')\nconst UserDataSyncPage = () => import('../pages/userdatasync/index.vue')\nconst ProductsPage = () => import('../pages/products/index.vue')\nconst SymposiaPage = () => import('../pages/symposia/index.vue')\nconst MeetingHubPage = () => import('../pages/meetingHub/index.vue')\nconst LivePage = () => import('../pages/live/index.vue')\nconst TvPage = () => import('../pages/tv/index.vue')\nconst DailyHighlightsPage = () => import('../pages/tv/pages/dailyHighlights.vue')\nconst SpeakerInterviewsPage = () => import('../pages/tv/pages/speakerInterviews.vue')\nconst WebinarPage = () => import('../pages/tv/pages/webinarPage.vue')\nconst EPosterPage = () => import('../pages/eposter/index.vue')\nconst PosterLandingPage = () => import('../pages/posterLanding/index.vue')\nconst NewsPage = () => import('../pages/news/index.vue')\nconst PresentationPlayer = () => '../pages/PresentationPlayer/index.vue'\nconst HelpdeskLandingPage = () => import('../pages/helpdesklanding/index.vue')\nconst NoaccessPage = () => import('../pages/noAccess/index.vue')\nconst MyAreaPage = () => import('~/pages/myArea/index.vue')\nconst SubmissionPage = () => import('~/pages/myArea/submissionIndex.vue')\nconst ReviewPage = () => import('~/pages/myArea/submissionIndex.vue')\nconst ContactPage = () => import('~/pages/contact/index.vue')\nconst Charity = () => import('~/pages/charity/index.vue')\nconst CharityPage = () => import('~/pages/charity/pages/root/index.vue')\nconst CharityProjectPage = () => import('~/pages/charity/pages/project/index.vue')\nconst HoldingPage = () => import('~/pages/holding/index.vue')\nconst JobsPage = () => import('~/pages/jobs/index.vue')\nconst UserFormPage = () => import('~/pages/userForm/index.vue')\nconst PageNotFound = () => import('../pages/PageNotFound.vue')\nconst ErrorPage = () => import('../pages/Error.vue')\nconst ResetPasswordPage = () => import('~/pages/resetPassword/index.vue')\nconst AssemblyPage = () => import('~/pages/assembly/index.vue')\nconst SurveyPage = () => import('~/pages/survey/index.vue')\nconst ContentPage = () => import('~/pages/content/index.vue')\nconst PagSearchPage = () => import('~/pages/pagPages/pages/programme/index.vue')\nconst RegistrationPage = () => import('~/pages/registration/index.vue')\nconst NotificationsPage = () => import('~/pages/notifications/index.vue')\nconst IndustryLandingPageNew = () => import('~/pages/industryLanding/index.vue') // rename after removing old industry landing\nconst ListPage = () => import('~/pages/list/index.vue')\nconst ProfilePage = () => import('~/pages/profile/index.vue')\nconst RegistrationLandingPage = () => import('~/pages/registrationLanding/index.vue')\n\nVue.use(VueRouter)\n\nfunction commonMiddlewareList(middlewareList) {\n  const cMiddlewareList = [\n    NextPageMiddleware,\n    InstanceMiddleware,\n    RedirectUrlMiddleware,\n    ThemeMiddleware,\n    ServerTimeMiddleware,\n    HoldingMiddleware,\n    AuthMiddleware,\n    IndustryModelMiddleware,\n    ExternalAuthCodeMiddleware,\n    UserFormMiddleware,\n    CompanyLoungeMiddleware,\n  ]\n\n  // Testing if this will affect the timing of trigger, making sure that the auth page won't interrupt the caching as the service workers got lots of page\n  // const serviceWorkerMiddlewareList = [\n  //   ClearServiceWorkerMiddleware,\n  //   ServiceWorker,\n  // ]\n  return cMiddlewareList.concat(middlewareList)\n  // .concat(serviceWorkerMiddlewareList)\n\n}\n\nconst router = new VueRouter({\n  mode: 'history',\n  routes: [\n    {\n      path: '',\n      name: 'RedirectHome',\n      meta: { middleware: [InstanceMiddleware] },\n      redirect: () => {\n        const domainConfig = config.getDomainConfig(utils.getDomain())\n        if (domainConfig) {\n          return {\n            name: 'HomePage',\n            params: {\n              instance: domainConfig.instance,\n              event: domainConfig.defaultEvent,\n              language: domainConfig.defaultLanguage,\n            },\n          }\n        }\n        return {\n          name: 'vmx-landing',\n        }\n      },\n    },\n    {\n      path: '/venue/:instance/:event/:language',\n      component: VenuePage,\n      name: 'VenuePage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          VenuePageMiddleWare,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    {\n      // '/IndustryLandingPage/:instance/:event/:language/\n      // Industry Profile Page\n      path:\n        '/industrylandingpage/:instance/:event/:language/:page/:companyAccountId',\n      component: IndustryLandingPage,\n      name: 'IndustryLandingPageProfile',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          CustomProfileMiddleware,\n          CompanyCheckMiddleware,\n          ViewCountMiddleware,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    {\n      // Industry Master Page\n      path: '/industrylandingpage/:instance/:event/:language/:page?',\n      component: IndustryLandingPage,\n      name: 'IndustryLandingPage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    {\n      // Products Page\n      path: '/products/:instance/:event/:language',\n      component: ProductsPage,\n      name: 'ProductsPage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    {\n      // VMX Program Landing Page\n      path: '/programlanding/:instance/:event/:language',\n      component: ProgramLandingPage,\n      name: 'ProgramLandingPage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    {\n      // Jobs Page\n      path: '/:instance/:event/:language/jobs',\n      component: JobsPage,\n      name: 'JobsPage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    {\n      // Jobs Detail Page\n      path: '/:instance/:event/:language/jobs/:jobsId',\n      component: JobsPage,\n      name: 'JobsPage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    {\n      // VMX Symposia Page\n      path: '/symposia/:instance/:event/:language',\n      component: SymposiaPage,\n      name: 'SymposiaPage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    {\n      // VMX MeetinhHub Page\n      path: '/meetinghub/:instance/:event/:language',\n      component: MeetingHubPage,\n      name: 'MeetingHubPage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    {\n      // Home Page\n      path: '/home/:instance/:event/:language',\n      component: HomePage,\n      name: 'HomePage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          VenuePageRedirectMiddleWare,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    {\n      // Holding Page\n      path: '/holding/:instance/:event/:language',\n      component: HoldingPage,\n      name: 'HoldingPage',\n      meta: {\n        middleware: [InstanceMiddleware,ServerTimeMiddleware, ThemeMiddleware, LocaleMiddleware],\n      },\n    },\n    {\n      // Plaza Page\n      path: '/plaza/:instance/:event/:language',\n      component: PlazaPage,\n      name: 'PlazaPage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    {\n      // Notifications Page\n      path: '/notifications/:instance/:event/:language',\n      component: NotificationsPage,\n      name: 'NotificationsPage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    {\n      // Preceptorships Page\n      path: '/preceptorships/:instance/:event/:language',\n      component: PreceptorshipsPage,\n      name: 'PreceptorshipsPage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    {\n      // Tv Page\n      path: '/tv/:instance/:event/:language',\n      component: TvPage,\n      name: 'TvPage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    {\n      // Tv Page\n      path: '/tv/:instance/:event/:language/dailyhighlights',\n      component: DailyHighlightsPage,\n      name: 'DailyHighlightsPage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    {\n      // Tv Page\n      path: '/tv/:instance/:event/:language/speakerinterviews',\n      component: SpeakerInterviewsPage,\n      name: 'SpeakerInterviewsPage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    {\n      // Tv Page\n      path: '/tv/:instance/:event/:language/podcast',\n      component: WebinarPage,\n      name: 'WebinarPage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    {\n      // Plaza Page\n      path: '/worldvillage/:instance/:event/:language',\n      component: WorldVillage,\n      name: 'WorldVillage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    {\n      // Plaza Page\n      path: '/messages/:instance/:event/:language',\n      component: MessagesPage,\n      name: 'MessagesPage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    {\n      // Plaza Page\n      path: '/:instance/:event/:language/award-winners',\n      component: AwardWinnersPage,\n      name: 'AwardWinnersPage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    {\n      // Plaza Page\n      path: '/booth/:instance/:event/:language',\n      component: BoothPage,\n      name: 'BoothPage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    {\n      // Live Page\n      path: '/live/:instance/:event/:language',\n      component: LivePage,\n      name: 'LivePage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    {\n      // EPoster Page\n      path: '/eposter/:instance/:event/:language',\n      component: EPosterPage,\n      name: 'EPosterPage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    {\n      // Poster Page\n      path: '/:instance/:event/:language/poster',\n      component: PagSearchPage,\n      name: 'PosterPage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    {\n      // Industry Symposia Search Page\n      path: '/:instance/:event/:language/industrySymposia',\n      component: PagSearchPage,\n      name: 'IndustrySymposiaPage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    {\n      // Industry Symposia Search Page\n      path: '/:instance/:event/:language/abstractsolr',\n      component: PagSearchPage,\n      name: 'PagSearchPageSolr',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    {\n      // Presentation Search Page\n      path: '/:instance/:event/:language/presentationSearch',\n      component: PagSearchPage,\n      name: 'PresentationSearchPage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    {\n      // Faculty Search Page\n      path: '/:instance/:event/:language/facultySearch',\n      component: PagSearchPage,\n      name: 'FacultySearchPage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    {\n      // Abstract Search Page\n      path: '/:instance/:event/:language/abstractSearch',\n      component: PagSearchPage,\n      name: 'AbstractSearchPage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    {\n      // Poster Landing Page\n      path: '/posterlanding/:instance/:event/:language',\n      component: PosterLandingPage,\n      name: 'PosterLandingPage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    {\n      // News Page\n      path: '/news/:instance/:event/:language',\n      component: NewsPage,\n      name: 'NewsPage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    {\n      // PresentationPlayer\n      path: '/presentationplayer/:instance/:event/:language/:presentationId',\n      component: PresentationPlayer,\n      name: 'PresentationPlayer',\n      meta: {\n        middleware: commonMiddlewareList([LocaleMiddleware, TrackingMiddleware]),\n      },\n    },\n    {\n      // CharityGroup\n      path: '/:instance/:event/:language/charity',\n      component: Charity,\n      name: 'CharityPage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          TrackingMiddleware,\n        ]),\n      },\n      children: [\n        {\n          // CharityPage\n          path: '',\n          component: CharityPage,\n          name: 'CharityPage',\n          meta: {\n            middleware: commonMiddlewareList([\n              LocaleMiddleware,\n              AccessControlMiddleware,\n              TrackingMiddleware,\n            ]),\n          },\n        },\n        {\n          // CharityProjectPage\n          path: 'project/:id',\n          component: CharityProjectPage,\n          name: 'CharityProjectPage',\n          meta: {\n            middleware: commonMiddlewareList([\n              LocaleMiddleware,\n              AccessControlMiddleware,\n              TrackingMiddleware,\n            ]),\n          },\n        },\n      ],\n    },\n    {\n      // Faculty Detail Page\n      path: '/:instance/:event/:language/faculty/:userId',\n      component: PagSearchPage,\n      name: 'PagFacultyDetailPage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    {\n      // Programme Search\n      path: '/:instance/:event/:language/search',\n      component: PagSearchPage,\n      name: 'PagSearchPage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    {\n      // Session Detail Page\n      path: '/:instance/:event/:language/session/:sessionId',\n      component: PagSearchPage,\n      name: 'PagSessionDetailPage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    {\n      // Session Detail Page\n      path: '/:instance/:event/:language/personalprogram',\n      component: PagSearchPage,\n      name: 'PagPersonalProgrammePage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    // {\n    //   // Poster Detail Page\n    //   path: '/:instance/:event/:language/poster/:posterId',\n    //   component: PagSessionDetailPage,\n    //   name: 'PagSessionDetailPage',\n    //   meta: {\n    //     middleware: commonMiddlewareList([\n    //       AccessControlMiddleware,\n    //       LocaleMiddleware,\n    //       TrackingMiddleware,\n    //     ]),\n    //   },\n    // },\n    {\n      // Presentation  Detail Page\n      path: '/:instance/:event/:language/presentation/:presentationId',\n      component: PagSearchPage,\n      name: 'PagPresentationDetailPage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    {\n      // Presentation  Detail Page\n      path: '/:instance/:event/:language/abstract/:abstractUrl',\n      component: PagSearchPage,\n      name: 'PagAbstractPage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    // {\n    //   // Poster Presentation  Detail Page\n    //   path: '/:instance/:event/:language/posterpresentation/:posterPresentationId',\n    //   component: PagPresentationDetailPage,\n    //   name: 'PagPresentationDetailPage',\n    //   meta: {\n    //     middleware: commonMiddlewareList([\n    //       AccessControlMiddleware,\n    //       LocaleMiddleware,\n    //       TrackingMiddleware,\n    //     ]),\n    //   },\n    // },\n    {\n      // Content Page\n      path: '/:instance/:event/:language/page/:pageName',\n      component: ContentPage,\n      name: 'ContentPage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    {\n      // HelpdesklandingPage\n      path: '/helpdesk/:instance/:event/:language',\n      component: HelpdeskLandingPage,\n      name: 'HelpDesk',\n      meta: {\n        middleware: commonMiddlewareList([LocaleMiddleware, TrackingMiddleware]),\n      },\n    },\n    {\n      // ContactPage\n      path: '/contact/:instance/:event/:language',\n      component: ContactPage,\n      name: 'ContactPage',\n      meta: {\n        middleware: commonMiddlewareList([LocaleMiddleware, AccessControlMiddleware, TrackingMiddleware]),\n      },\n    },\n    {\n      path: '/:instance/:event/:language/review/:module*',\n      component: ReviewPage,\n      name: 'ReviewPage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    {\n      path: '/:instance/:event/:language/review',\n      component: ReviewPage,\n      name: 'ReviewPage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    {\n      path: '/:instance/:event/:language/review*',\n      component: ReviewPage,\n      name: 'ReviewPage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    {\n      path: '/:instance/:event/:language/submission/:module*',\n      component: SubmissionPage,\n      name: 'SubmissionPage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    {\n      path: '/:instance/:event/:language/submission',\n      component: SubmissionPage,\n      name: 'SubmissionPage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    {\n      path: '/:instance/:event/:language/submission*',\n      component: SubmissionPage,\n      name: 'SubmissionPage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n   \n    {\n      path: '/myarea/:instance/:event/:language/:module?/:id?',\n      component: MyAreaPage,\n      name: 'MyAreaPage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    {\n      // Auth confirmation page\n      path: '/auth/:instance/:event/:language',\n      component: AuthPage,\n      name: 'AuthPage',\n      meta: {\n        middleware: [InstanceMiddleware, ThemeMiddleware, LocaleMiddleware],\n      },\n    },\n    {\n      path: '/login/:instance/:event/:language',\n      component: LoginPage,\n      name: 'LoginPage',\n      meta: {\n        // middleware: [InstanceMiddleware, ClearServiceWorkerMiddleware, ThemeMiddleware, LocaleMiddleware],\n        middleware: [InstanceMiddleware, ThemeMiddleware, LocaleMiddleware],\n      },\n    },\n    {\n      path: '/logout/:instance/:event/:language',\n      component: LogoutPage,\n      name: 'LogoutPage',\n      meta: {\n        // middleware: [InstanceMiddleware, ClearServiceWorkerMiddleware, ThemeMiddleware, LocaleMiddleware],\n        middleware: [InstanceMiddleware, ThemeMiddleware, LocaleMiddleware],\n      },\n    },\n    {\n      path: '/createaccount/:instance/:event/:language',\n      component: CreateAccountPage,\n      name: 'CreateAccountPage',\n      meta: {\n        // middleware: [InstanceMiddleware, ClearServiceWorkerMiddleware, ThemeMiddleware, LocaleMiddleware],\n        middleware: [InstanceMiddleware, ThemeMiddleware, LocaleMiddleware],\n      },\n    },\n    {\n      path: '/forgotpassword/:instance/:event/:language',\n      component: PasswordRetrievalPage,\n      name: 'PasswordRetrievalPage',\n      meta: {\n        // middleware: [InstanceMiddleware, ClearServiceWorkerMiddleware, ThemeMiddleware, LocaleMiddleware],\n        middleware: [InstanceMiddleware, ThemeMiddleware, LocaleMiddleware],\n      },\n    },\n    {\n      path: '/:instance/:event/:language/auth/login',\n      component: LoginPage,\n      name: 'LoginPage',\n      meta: {\n        // middleware: [InstanceMiddleware, ClearServiceWorkerMiddleware, ThemeMiddleware, LocaleMiddleware],\n        middleware: [InstanceMiddleware, ThemeMiddleware, LocaleMiddleware],\n      },\n    },\n    {\n      path: '/:instance/:event/:language/auth/correlate',\n      component: CorrelatePage,\n      name: 'CorrelatePage',\n      meta: {\n        // middleware: [InstanceMiddleware, ClearServiceWorkerMiddleware, ThemeMiddleware, LocaleMiddleware],\n        middleware: [InstanceMiddleware, ThemeMiddleware, LocaleMiddleware],\n      },\n    },\n    {\n      path: '/:instance/:event/:language/auth/correlate/userdatasync',\n      component: UserDataSyncPage,\n      name: 'UserDataSyncPage',\n      meta: {\n        // middleware: [InstanceMiddleware, ClearServiceWorkerMiddleware, ThemeMiddleware, LocaleMiddleware],\n        middleware: [InstanceMiddleware, ThemeMiddleware, LocaleMiddleware],\n      },\n    },\n    {\n      path: '/confirmation/:instance/:event/:language',\n      component: ConfirmationPage,\n      name: 'ConfirmationPage',\n      meta: {\n        // middleware: [InstanceMiddleware, ClearServiceWorkerMiddleware, ThemeMiddleware, LocaleMiddleware],\n        middleware: [InstanceMiddleware, ThemeMiddleware, LocaleMiddleware],\n      },\n    },\n    {\n      path: '/resetpassword/:instance/:event/:language',\n      component: ResetPasswordPage,\n      name: 'ResetPasswordPage',\n      meta: {\n        // middleware: [InstanceMiddleware, ClearServiceWorkerMiddleware, ThemeMiddleware, LocaleMiddleware],\n        middleware: [InstanceMiddleware, ThemeMiddleware, LocaleMiddleware],\n      },\n    },\n    {\n      path: '/userform/:instance/:event/:language',\n      component: UserFormPage,\n      name: 'UserFormPage',\n      meta: {\n        middleware: [\n          InstanceMiddleware,\n          LocaleMiddleware,\n          ThemeMiddleware,\n          // ClearServiceWorkerMiddleware,\n          HoldingMiddleware,\n          AuthMiddleware,\n          TrackingMiddleware,\n        ],\n      },\n    },\n    {\n      // Assembly Page\n      path: '/assembly/:instance/:event/:language',\n      component: AssemblyPage,\n      name: 'AssemblyPage',\n      meta: {\n        middleware: [\n          InstanceMiddleware,\n          LocaleMiddleware,\n          ThemeMiddleware,\n          AuthMiddleware,\n          AccessControlMiddleware,\n          TrackingMiddleware,\n        ],\n      },\n    },\n    {\n      // Survey Page\n      path: '/:instance/:event/:language/survey',\n      component: SurveyPage,\n      name: 'SurveyPage',\n      meta: {\n        middleware: [\n          InstanceMiddleware,\n          LocaleMiddleware,\n          ThemeMiddleware,\n          // ClearServiceWorkerMiddleware,\n          AuthMiddleware,\n          AccessControlMiddleware,\n          TrackingMiddleware,\n        ],\n      },\n    },\n    {\n      // Registration Page\n      path: '/:instance/:event/:language/registration/:subApplicationRoute?',\n      component: RegistrationPage,\n      name: 'RegistrationPage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          VenuePageRedirectMiddleWare,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    {\n      // Registration landing Page\n      path: '/:instance/:event/:language/registrationLanding',\n      component: RegistrationLandingPage,\n      name: 'RegistrationLandingPage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          VenuePageRedirectMiddleWare,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    {\n      // industry landing\n      path: '/:instance/:event/:language/industryLanding',\n      component: IndustryLandingPageNew,\n      name: 'IndustryLanding',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    {\n      //  list pages\n      path: '/:instance/:event/:language/list/:page?',\n      component: ListPage,\n      name: 'ListPage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    {\n      // Profile Pages\n      path: '/:instance/:event/:language/profile/:companyAccountId/:page?',\n      component: ProfilePage,\n      name: 'ProfilePage',\n      meta: {\n        middleware: commonMiddlewareList([\n          LocaleMiddleware,\n          AccessControlMiddleware,\n          CustomProfileMiddleware,\n          CompanyCheckMiddleware,\n          ViewCountMiddleware,\n          TrackingMiddleware,\n        ]),\n      },\n    },\n    {\n      // No Access\n      path: '/noaccess/:instance/:event/:language',\n      component: NoaccessPage,\n      name: 'NoaccessPage',\n      meta: {\n        middleware: [\n          InstanceMiddleware,\n          LocaleMiddleware,\n          ThemeMiddleware,\n          TrackingMiddleware,\n        ],\n      },\n    },\n    {\n      path: '/:instance/:event/:language/pdfDownload',\n      component: PdfDownloadPage,\n      name: 'PdfDownloadPage',\n      meta: {\n        middleware: [\n          InstanceMiddleware,\n          LocaleMiddleware,\n          TrackingMiddleware,\n        ],\n      },\n    },\n    {\n      path: '/error',\n      component: ErrorPage,\n      name: 'error',\n      meta: { analyticsIgnore: true },\n    },\n    {\n      path: '/',\n      name: 'vmx-landing',\n      redirect: '/home/release/vmx/en-GB',\n    },\n    {\n      path: '*', component: PageNotFound, meta: { analyticsIgnore: true },\n    },\n    {\n      path: '/not-found', name: 'not-found', component: PageNotFound, meta: { analyticsIgnore: true },\n    },\n  ],\n  scrollBehavior(to) {\n    if ('parentIFrame' in window) {\n      window.parentIFrame.scrollToOffset(0, 0)\n    } else if (to.hash) {\n      return new Promise((resolve) => {\n        setTimeout(() => {\n          resolve({\n            selector: to.hash,\n            behavior: 'smooth',\n          })\n        }, 500)\n      })\n    } else {\n      return { x: 0, y: 0 }\n    }\n    return null\n  },\n})\n\nrouter.beforeEach((to, from, next) => {\n  if (!to.meta.middleware) {\n    return next()\n  }\n  const { middleware } = to.meta\n  const context = {\n    to,\n    from,\n    next,\n    router,\n  }\n  return middleware[0]({\n    ...context,\n    next: MiddlewarePipeline(context, middleware, 1),\n  })\n})\n\nrouter.afterEach((to) => {\n  const headerModel = store.getters['header/model']\n  const newPageName = utils.setPageTitle(to.name)\n  // TODO: get event title + page title\n  let eventTitle = 'VMX'\n  let pageTitle = config.getPageName(to.name)\n  if (headerModel && headerModel.EventName) {\n    eventTitle = headerModel.EventName\n  }\n  if (newPageName) {\n    pageTitle = newPageName\n  }\n  document.title = `${eventTitle} - ${pageTitle}`\n})\n\nexport default router\n"],"sourceRoot":""}