{"version":3,"file":"takeAwayOnSite-B89HG9X9.js","sources":["../../src/apps/takeAwayOnSite/TakeAwayApp.vue","../../src/views/order/TakeawayOnSiteOrder.vue","../../src/apps/takeAwayOnSite/router.ts","../../src/apps/takeAwayOnSite/main.ts"],"sourcesContent":["\nApp(:navigationItems=\"navigationItems\" :cartPrefix=\"CartPrefix.TAKEAWAY_ON_SITE\" :defaultSaletype=\"Saletype.TAKEAWAY_ON_SITE\")\n AgeRestrictionDialog(v-if=\"isAgeRestrictionEnabled\")\n\n\n\n","\nEatView\n div.flex-grow-1(v-scrollable=\"true\" :id=\"`${Saletype.TAKEAWAY_ON_SITE}-order-scrollable`\")\n div#order-scroll-trigger.flex-grow-1.flex-shrink-0\n LocationInfo.bg-neutral-a\n\n Menu.bg-neutral-a(:saletype=\"Saletype.TAKEAWAY_ON_SITE\")\n\n div.pa-5.text-center.bg-neutral-a(v-if=\"app\")\n a.text-decoration-underline.ml-1(:href=\"app.urlPrivacyPolicy\" target=\"_self\" @click.stop) {{ $t('order.privacyPolicyLink') }}\n span {{ $t(\"general.and\") }}\n a.text-decoration-underline.ml-1(:href=\"app.urlTermsOfSales\" @click.stop) {{ $t('order.termsOfSalesLink') }}\n\n ProductDetail\n\n\n\n\n\n","import { type RouteRecordRaw, createRouter, createWebHashHistory } from \"vue-router\";\nimport authRoutes from \"@/routes/authRoutes\";\nimport userRoutes from \"@/routes/userRoutes\";\nimport EatTopBar from \"@/layout/partials/EatTopBar.vue\";\nimport OrderTopBar from \"@/views/order/partials/TopBar.vue\";\nimport PaymentError from \"@/views/cart/PaymentError.vue\";\nimport PaymentSuccess from \"@/views/cart/PaymentSuccess.vue\";\nimport Cart from \"@/views/cart/Cart.vue\";\nimport Checkout from \"@/views/cart/Checkout.vue\";\nimport TakeawayOnSiteOrder from \"@/views/order/TakeawayOnSiteOrder.vue\";\nimport CrossSellingCategories from \"@/views/cart/CrossSellingCategories.vue\";\nimport PaymentPending from \"@/views/cart/PaymentPending.vue\";\n\nconst routes: Array = [\n {\n path: \"/\",\n redirect: { name: \"order\" }\n },\n {\n path: \"/order\",\n name: \"order\",\n components: {\n topBar: OrderTopBar,\n default: TakeawayOnSiteOrder\n },\n meta: { mainView: true }\n },\n {\n path: \"/cart\",\n name: \"cart\",\n components: {\n topBar: EatTopBar,\n default: Cart\n },\n meta: { mainView: true, showMoreButton: true, topBarBorderBottom: true }\n },\n {\n path: \"/cart/cross-selling\",\n name: \"cart.crossSelling\",\n components: {\n topBar: EatTopBar,\n default: CrossSellingCategories\n },\n meta: { showBackButton: true, topBarBorderBottom: true }\n },\n {\n path: \"/cart/checkout\",\n name: \"cart.checkout\",\n components: {\n topBar: EatTopBar,\n default: Checkout\n },\n meta: {\n showBackButton: true,\n topBarBorderBottom: true\n }\n },\n {\n path: \"/pagamento/successo\",\n name: \"payment.success\",\n components: {\n default: PaymentSuccess\n },\n meta: {\n hideNavbar: true,\n doNotSaveToHistory: true,\n }\n },\n {\n path: \"/pagamento/elaborazione\",\n name: \"order.pending\",\n components: {\n default: PaymentPending\n },\n meta: {\n hideNavbar: true,\n doNotSaveToHistory: true\n }\n },\n {\n path: \"/pagamento/fallito\",\n name: \"payment.error\",\n components: {\n default: PaymentError\n },\n meta: {\n hideNavbar: true,\n doNotSaveToHistory: true\n }\n },\n ...userRoutes,\n ...authRoutes,\n {\n path: '/:pathMatch(.*)*',\n redirect: { name: \"order\" }\n }\n];\n\nconst router = createRouter({\n history: createWebHashHistory(),\n routes\n});\n\nexport default router;","import TakeAwayApp from \"./TakeAwayApp.vue\";\nimport router from \"./router\";\nimport { EAT_UP_PAGES } from \"@/types\";\nimport createEatUp from \"@/app\";\n\ncreateEatUp(TakeAwayApp, router, EAT_UP_PAGES.TAKE_AWAY_ON_SITE);\n"],"names":["router","PaymentSuccess","PaymentPending","userRoutes","authRoutes","TakeAwayApp"],"mappings":";;;;;;;;;;AAmBqB;AAEf,UAAA,OAAO,OAAO,MAAM;AAC1B,UAAMA,UAAS;AACf,UAAM,EAAE,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