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EAAMC,EAAAA,EAAAA,EAAAA,EAAAA,EAAAA,EAAAA,EAAA,GAChBF,EAAYF,QAAU,CACrBjC,KAAM+B,EAAYE,QAClBK,KAAMH,EAAYF,UAEnBE,EAAYD,OAAOX,QAAU,CAC5BvB,KAAM+B,EAAYG,OAAOX,QACzBe,KAAMH,EAAYD,OAAOX,UAE1BY,EAAYD,OAAOT,SAAW,CAC7BzB,KAAM+B,EAAYG,OAAOT,SACzBa,KAAMH,EAAYD,OAAOT,WAE1BU,EAAYD,OAAOR,iBAAmB,CACrC1B,KAAM+B,EAAYG,OAAOR,iBACzBY,KAAMH,EAAYD,OAAOR,mBAE1BS,EAAYD,OAAOP,QAAU,CAC5B3B,KAAM+B,EAAYG,OAAOP,QACzBW,KAAMH,EAAYD,OAAOP,UAE1BQ,EAAYD,OAAON,UAAY,CAC9B5B,KAAM+B,EAAYG,OAAON,UACzBU,KAAMH,EAAYD,OAAON,YAE1BO,EAAYL,QAAU,CACrB9B,KAAM+B,EAAYD,QAClBQ,KAAMH,EAAYL,S","sources":["webpack://mba-web-client/./src/poweb.js","webpack://mba-web-client/./src/poweb_app/onboarding/components/routes/routes_const.js"],"sourcesContent":["import React, {\n Suspense, lazy\n} from 'react';\nimport { createRoot } from 'react-dom/client';\nimport { OnboardingWizardBaseUrl } from './poweb_app/onboarding/components/routes/routes_const';\n\nconst PowebApps = {\n default: {\n app: lazy(() => import('./poweb_app'))\n },\n onboardingWizard: {\n baseUrl: OnboardingWizardBaseUrl,\n app: lazy(() => import('./poweb_app/onboarding'))\n }\n};\n\nconst Application = () => {\n const path = window.location.pathname;\n\n const selectedApp = Object.values(PowebApps).find(appConfig => (!!appConfig.baseUrl && path.startsWith(appConfig.baseUrl)));\n\n const SelectedAppComponent = selectedApp?.app || PowebApps.default.app;\n\n return (\n > }>\n \n \n );\n};\n\ndocument.addEventListener('DOMContentLoaded', () => {\n const container = document.getElementById('app-root');\n const root = createRoot(container);\n root.render();\n});\n","export const OnboardingWizardBaseUrl = '/personalized-video-readings';\n\nexport const wizardScreenPaths = {\n aboutMe: `${ OnboardingWizardBaseUrl }/about-me`,\n question: `${ OnboardingWizardBaseUrl }/question`,\n advisorSelection: `${ OnboardingWizardBaseUrl }/advisor-selection`,\n payment: `${ OnboardingWizardBaseUrl }/payments`,\n whatsNext: `${ OnboardingWizardBaseUrl }/whats-next`\n};\n\nexport const generalPaths = {\n reading: `${ OnboardingWizardBaseUrl }/view-order/:web_order_token`\n};\n\nexport const screenPaths = {\n welcome: OnboardingWizardBaseUrl,\n ...generalPaths,\n wizard: { ...wizardScreenPaths }\n};\n\nexport const screenNames = {\n welcome: 'welcome',\n wizard:{\n aboutMe: 'aboutMe',\n question: 'question',\n advisorSelection: 'advisorSelection',\n payment: 'payment',\n whatsNext: 'whatsNext'\n },\n reading: 'reading'\n};\n\nexport const routes = {\n [screenNames.welcome]: {\n path: screenPaths.welcome,\n name: screenNames.welcome\n },\n [screenNames.wizard.aboutMe]: {\n path: screenPaths.wizard.aboutMe,\n name: screenNames.wizard.aboutMe\n },\n [screenNames.wizard.question]: {\n path: screenPaths.wizard.question,\n name: screenNames.wizard.question\n },\n [screenNames.wizard.advisorSelection]: {\n path: screenPaths.wizard.advisorSelection,\n name: screenNames.wizard.advisorSelection\n },\n [screenNames.wizard.payment]: {\n path: screenPaths.wizard.payment,\n name: screenNames.wizard.payment\n },\n [screenNames.wizard.whatsNext]: {\n path: screenPaths.wizard.whatsNext,\n name: screenNames.wizard.whatsNext\n },\n [screenNames.reading]: {\n path: screenPaths.reading,\n name: screenNames.reading\n }\n};\n"],"names":["PowebApps","default","app","lazy","onboardingWizard","baseUrl","OnboardingWizardBaseUrl","Application","path","window","location","pathname","selectedApp","Object","values","find","appConfig","startsWith","SelectedAppComponent","_jsx","Suspense","fallback","_Fragment","children","document","addEventListener","container","getElementById","createRoot","render","wizardScreenPaths","aboutMe","concat","question","advisorSelection","payment","whatsNext","generalPaths","reading","screenPaths","_objectSpread","welcome","wizard","screenNames","routes","_defineProperty","name"],"sourceRoot":""}