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,EAgD7CG,CAAkBlC,GAClC,OAAoB1J,EAAAA,EAAAA,KAAKsM,GAAapC,EAAAA,EAAAA,GAAS,CAC7CiD,GAAIrB,EACJR,WAAWU,EAAAA,EAAAA,GAAKP,EAAQ9B,KAAM2B,GAC9BtG,IAAKA,EACL0E,WAAYA,GACX6B,GACL,G","sources":["components/CommonStyledComponents.js","components/Navbars/Navbar.js","views/menu/EstablishmentMenu.js","../node_modules/@mui/icons-material/esm/Circle.js","../node_modules/@mui/material/AppBar/appBarClasses.js","../node_modules/@mui/material/AppBar/AppBar.js","../node_modules/@mui/material/Card/cardClasses.js","../node_modules/@mui/material/Card/Card.js","../node_modules/@mui/material/Toolbar/toolbarClasses.js","../node_modules/@mui/material/Toolbar/Toolbar.js"],"sourcesContent":["import {styled} from \"@mui/material/styles\"\r\nimport {AccordionSummary, Typography} from \"@mui/material\";\r\n\r\n\r\nexport const StyledAccordionSummary = styled(AccordionSummary)({\r\n background: \"-webkit-linear-gradient(135deg, rgba(101, 47, 142, 0.18), rgba(125, 46, 190, 0.05))\"\r\n})\r\nexport const StyledFullLengthAccordionHeading = styled(Typography)({\r\n lineHeight: \"40px\",\r\n verticalAlign: \"middle\",\r\n fontSize: \"15px\",\r\n flexBasis: '100%',\r\n flexShrink: 0,\r\n})\r\nexport const StyledAccordionHeading = styled(Typography)({\r\n lineHeight: \"40px\",\r\n verticalAlign: \"middle\",\r\n fontSize: \"15px\",\r\n flexBasis: '33.33%',\r\n flexShrink: 0,\r\n})\r\nexport const StyledAccordionSubHeading = styled(Typography)({\r\n lineHeight: \"40px\",\r\n verticalAlign: \"middle\",\r\n fontSize: \"15px\",\r\n})\r\n\r\nexport const StyledSectionHeading = styled('div')({\r\n fontWeight: \"bold\",\r\n fontSize: \"1.3rem\",\r\n marginTop: \"-15px\",\r\n marginBottom: \"40px\",\r\n})\r\n","import React, {Fragment} from \"react\"\r\nimport AppBar from \"@mui/material/AppBar\"\r\nimport Toolbar from \"@mui/material/Toolbar\"\r\nimport NavbarLinks from \"./NavbarLinks.js\"\r\n\r\nimport {BRAND_NAME} from \"../../functions/PageMetadataFunctions\";\r\nimport {grayColor} from \"../../assets/jss/material-dashboard-react\";\r\n\r\nfunction Navbar({searchText, setSearchText, currentUser, isSearchEnabled, bannerProperties, headerStyleMode, searchPlaceholder, updateAutocompleteOptions}) {\r\n const logoLinkEnabled = true\r\n const headerStyle = (headerStyleMode === \"grey\") ? { backgroundImage: \"linear-gradient(0deg,transparent,rgba(1,1,1,0.4))\" } : {}\r\n\r\n return (\r\n \r\n \r\n
\r\n Menu.co.uk is for sale\r\n
\r\n \r\n
\r\n
{ if (logoLinkEnabled) window.location.href=\"/\" }}>\r\n \r\n Menu logo\r\n \r\n \r\n \r\n \r\n
\r\n menu\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n )\r\n}\r\nexport default React.memo(Navbar)\r\n","import React, {useContext, useEffect, useState} from \"react\"\r\n\r\nimport {\r\n EstablishmentUnregistered,\r\n makeFetch,\r\n} from \"../../functions/GeneralFunctions\"\r\nimport {useLocation} from \"react-router-dom\"\r\nimport {useCookies} from \"react-cookie\";\r\nimport * as PageMetadataFunctions from \"../../functions/PageMetadataFunctions\";\r\nimport {fetchPathRelativeFromCurrentLocation} from \"../../functions/UrlFunctions\";\r\nimport ReusableMenu from \"./ReusableMenu\";\r\nimport {\r\n calculateClosedMsg, calculateOrderingDisabled, fetchCanCollect, fetchCanDeliver, fetchTakeawayOrRepeatDetails,\r\n} from \"../../functions/AvailabilityFunctions\";\r\nimport * as GeneralFunctions from \"../../functions/GeneralFunctions\";\r\nimport GlobalState from \"../../functions/GlobalStateFunctions\";\r\nimport * as MenuFunctions from \"../../functions/MenuFunctions\";\r\nimport {Backdrop, CircularProgress} from \"@mui/material\";\r\nimport Navbar from \"../../components/Navbars/Navbar\";\r\nimport {\r\n createEmptyBasket,\r\n fetchAllSubscriptionIds,\r\n populateMenuConfigWithSubscriptionFromServer\r\n} from \"../../functions/MenuFunctions\";\r\nimport {refreshServiceCache} from \"../../functions/BasketFunctions\";\r\n\r\nexport const MAX_MENU_COOKIE_AGE = 2 * 60 * 60 //Two hours\r\nexport const COOKIE_NAME_BASKET = \"basket\"\r\n\r\n\r\nfunction onInitialisation(setGlobalState, cookies, currentUser, menuConfig, setBannerProperties) {\r\n\r\n const establishment = menuConfig.establishment\r\n if (establishment.redirectUrl) {\r\n window.location.href=establishment.redirectUrl\r\n return\r\n }\r\n\r\n PageMetadataFunctions.updateMenuPage(establishment)\r\n updateBannerProperties(establishment, setBannerProperties)\r\n initTableBookingDetails(menuConfig)\r\n if (!menuConfig.selectedMenu)\r\n return\r\n\r\n initBasket(setGlobalState, cookies, currentUser, menuConfig)\r\n initDistance(currentUser, menuConfig)\r\n initCanDeliverOrCollect(currentUser, menuConfig)\r\n menuConfig.orderingDisabled = calculateOrderingDisabled(menuConfig)\r\n menuConfig.closedMsg = (menuConfig.isTableBooking) ? \"\" : calculateClosedMsg(menuConfig)\r\n}\r\nfunction initCanDeliverOrCollect(currentUser, menuConfig) {\r\n const takeawayOrRepeatDetails = fetchTakeawayOrRepeatDetails(menuConfig)\r\n menuConfig.canCollect = fetchCanCollect(takeawayOrRepeatDetails)\r\n menuConfig.canDeliver = fetchCanDeliver(takeawayOrRepeatDetails, currentUser, menuConfig.basket)\r\n menuConfig.canDeliverOrCollect = menuConfig.canCollect || menuConfig.canDeliver\r\n}\r\nfunction initTableBookingDetails(menuConfig) {\r\n menuConfig.tableBookingDetails = {\r\n selectedDate: \"\",\r\n lastBookingId: \"\",\r\n numberOfPeople: \"\",\r\n availableTimes: [],\r\n findTableErrorMessage: \"\",\r\n errorMsg: \"\",\r\n specialRequests: \"\",\r\n hasPreOrdered: false,\r\n selectedBookingTimeObj: undefined,\r\n findTableButtonLoading: false\r\n }\r\n}\r\nfunction initBasket(setGlobalState, cookies, currentUser, menuConfig) {\r\n console.log(\"Init Basket\")\r\n const establishment = menuConfig.establishment\r\n\r\n const subscriptionIds = fetchAllSubscriptionIds(currentUser, establishment)\r\n menuConfig.allSubscriptionIds = subscriptionIds\r\n if (subscriptionIds.length > 0) {\r\n populateMenuConfigWithSubscriptionFromServer(setGlobalState, menuConfig, subscriptionIds[0])\r\n } else {\r\n const basketCookie = cookies[COOKIE_NAME_BASKET]\r\n // alert(\"getcookie:\"+JSON.stringify(takeawayBasketCookie))\r\n if (basketCookie && establishment.name && basketCookie.establishmentRef === establishment.ref && basketCookie.lines.length > 0) {\r\n menuConfig.basket = basketCookie\r\n } else {\r\n createEmptyBasket(menuConfig)\r\n }\r\n }\r\n refreshServiceCache(menuConfig)\r\n}\r\nfunction updateBannerProperties(establishment, setBannerProperties) {\r\n console.log(\"Update Banner\")\r\n if (establishment.activeStatus === EstablishmentUnregistered) {\r\n setBannerProperties( { background: \"-webkit-linear-gradient(135deg,rgba(125,46,190,.45),rgba(101,47,142,.88))\" })\r\n } else if (establishment.banner800x300) {\r\n const bannerFullPath = \"url('\"+establishment.banner800x300.url+\"')\"\r\n setBannerProperties( { backgroundImage: bannerFullPath, backgroundSize:\"cover\", backgroundColor:\"transparent\", backgroundPositionY: \"center\" })\r\n }\r\n}\r\nfunction initDistance(currentUser, menuConfig) {\r\n console.log(\"Init Distance\")\r\n const establishment = menuConfig.establishment\r\n if (currentUser.location && !menuConfig.basket.distance && establishment.location) {\r\n menuConfig.basket.distance = GeneralFunctions.calcDistanceBetweenInKm(establishment.location.latitude, establishment.location.longitude, currentUser.location.latitude, currentUser.location.longitude)\r\n // alert(\"setting distance:\"+currentBasket.distance)\r\n } else if (!currentUser.isRegistered) {\r\n menuConfig.basket.distance = null\r\n }\r\n}\r\n\r\nfunction revalueEstablishmentBasket(setGlobalState, setCookie, menuConfig) {\r\n if (!menuConfig.basket) {\r\n console.log(\"There is no basket to revalue\")\r\n return\r\n }\r\n console.log(\"Revalue Basket\")\r\n if (menuConfig.isTableBooking)\r\n return\r\n const deliveryDetails = menuConfig.isSingleOrder ? menuConfig.establishment.takeawaysDetails.deliveryDetails : menuConfig.establishment.repeatOrdersDetails.deliveryDetails\r\n MenuFunctions.revalueBasket(setGlobalState, deliveryDetails, menuConfig)\r\n setCookie(COOKIE_NAME_BASKET, menuConfig.basket, { path: '/', maxAge: MAX_MENU_COOKIE_AGE })\r\n}\r\n\r\nexport default function EstablishmentMenu({currentUser, setCurrentUser}) {\r\n\r\n const location = useLocation()\r\n\r\n const [, setGlobalState] = useContext(GlobalState)\r\n const [cookies, setCookie, ] = useCookies([])\r\n const [bannerProperties, setBannerProperties] = useState( { } )\r\n const [menuConfig, ] = useState({})\r\n const [, setUnusedValueForRerender] = useState(0)\r\n const triggerRender = () => setUnusedValueForRerender(value => value + 1)\r\n\r\n const establishmentRef = fetchPathRelativeFromCurrentLocation(location)\r\n\r\n useEffect(() => {\r\n if (establishmentRef.includes(\"__\")) {\r\n window.location.href = establishmentRef.replaceAll(\"___\", \"_\").replaceAll(\"__\", \"_\")\r\n } else if (establishmentRef.includes(\"/online_only/\")) { // TODO R2: This is for Search engine update - where old urls were indexed - maybe keep in place until Oct 2022\r\n window.location.href = establishmentRef.replace(\"/online_only/\", \"/leeds_online/\")\r\n } else if (currentUser && establishmentRef && (!menuConfig.establishment || menuConfig.establishment.ref !== establishmentRef)) {\r\n console.log(\"Fetching Establishment Menu Details\")\r\n // makeFetch(setGlobalState, '/api/establishment?establishmentRef=' + establishmentRef, establishment => {\r\n // menuConfig.establishment = establishment\r\n // onEstablishmentUpdate(setGlobalState, cookies, currentUser, menuConfig, setBannerProperties)\r\n // })\r\n makeFetch(setGlobalState, '/api/menu-details?establishmentRef=' + establishmentRef, response => {\r\n // console.log(JSON.stringify(response))\r\n menuConfig.establishment = response.establishment\r\n menuConfig.availabilities = response.availabilities\r\n // alert(\"availabilities:\"+JSON.stringify(response.availabilities))\r\n menuConfig.selectedMenu = response.menu\r\n onInitialisation(setGlobalState, cookies, currentUser, menuConfig, setBannerProperties)\r\n })\r\n\r\n // } else if (!menuConfig.selectedMenu && menuConfig.establishment && menuConfig.establishment.menuRefs && menuConfig.establishment.menuRefs.length > 0) {\r\n // loadMenu(setGlobalState, menuConfig.establishment.menuRefs[0].id, m => onMenuUpdate(setGlobalState, cookies, currentUser, menuConfig, m))\r\n }\r\n }, [setGlobalState, cookies, setCookie, menuConfig, establishmentRef, currentUser])\r\n\r\n return (\r\n !menuConfig.establishment\r\n ? \r\n Checking Availability \r\n \r\n :
\r\n \r\n revalueEstablishmentBasket(setGlobalState, setCookie, menuConfig)} menuConfig={menuConfig} triggerParentRender={triggerRender} />\r\n
\r\n )\r\n}\r\n","\"use client\";\n\nimport createSvgIcon from './utils/createSvgIcon';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2\"\n}), 'Circle');","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getAppBarUtilityClass(slot) {\n return generateUtilityClass('MuiAppBar', slot);\n}\nconst appBarClasses = generateUtilityClasses('MuiAppBar', ['root', 'positionFixed', 'positionAbsolute', 'positionSticky', 'positionStatic', 'positionRelative', 'colorDefault', 'colorPrimary', 'colorSecondary', 'colorInherit', 'colorTransparent', 'colorError', 'colorInfo', 'colorSuccess', 'colorWarning']);\nexport default appBarClasses;","'use client';\n\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"className\", \"color\", \"enableColorOnDark\", \"position\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport styled from '../styles/styled';\nimport useThemeProps from '../styles/useThemeProps';\nimport capitalize from '../utils/capitalize';\nimport Paper from '../Paper';\nimport { getAppBarUtilityClass } from './appBarClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n color,\n position,\n classes\n } = ownerState;\n const slots = {\n root: ['root', `color${capitalize(color)}`, `position${capitalize(position)}`]\n };\n return composeClasses(slots, getAppBarUtilityClass, classes);\n};\n\n// var2 is the fallback.\n// Ex. var1: 'var(--a)', var2: 'var(--b)'; return: 'var(--a, var(--b))'\nconst joinVars = (var1, var2) => var1 ? `${var1 == null ? void 0 : var1.replace(')', '')}, ${var2})` : var2;\nconst AppBarRoot = styled(Paper, {\n name: 'MuiAppBar',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, styles[`position${capitalize(ownerState.position)}`], styles[`color${capitalize(ownerState.color)}`]];\n }\n})(({\n theme,\n ownerState\n}) => {\n const backgroundColorDefault = theme.palette.mode === 'light' ? theme.palette.grey[100] : theme.palette.grey[900];\n return _extends({\n display: 'flex',\n flexDirection: 'column',\n width: '100%',\n boxSizing: 'border-box',\n // Prevent padding issue with the Modal and fixed positioned AppBar.\n flexShrink: 0\n }, ownerState.position === 'fixed' && {\n position: 'fixed',\n zIndex: (theme.vars || theme).zIndex.appBar,\n top: 0,\n left: 'auto',\n right: 0,\n '@media print': {\n // Prevent the app bar to be visible on each printed page.\n position: 'absolute'\n }\n }, ownerState.position === 'absolute' && {\n position: 'absolute',\n zIndex: (theme.vars || theme).zIndex.appBar,\n top: 0,\n left: 'auto',\n right: 0\n }, ownerState.position === 'sticky' && {\n // ⚠️ sticky is not supported by IE11.\n position: 'sticky',\n zIndex: (theme.vars || theme).zIndex.appBar,\n top: 0,\n left: 'auto',\n right: 0\n }, ownerState.position === 'static' && {\n position: 'static'\n }, ownerState.position === 'relative' && {\n position: 'relative'\n }, !theme.vars && _extends({}, ownerState.color === 'default' && {\n backgroundColor: backgroundColorDefault,\n color: theme.palette.getContrastText(backgroundColorDefault)\n }, ownerState.color && ownerState.color !== 'default' && ownerState.color !== 'inherit' && ownerState.color !== 'transparent' && {\n backgroundColor: theme.palette[ownerState.color].main,\n color: theme.palette[ownerState.color].contrastText\n }, ownerState.color === 'inherit' && {\n color: 'inherit'\n }, theme.palette.mode === 'dark' && !ownerState.enableColorOnDark && {\n backgroundColor: null,\n color: null\n }, ownerState.color === 'transparent' && _extends({\n backgroundColor: 'transparent',\n color: 'inherit'\n }, theme.palette.mode === 'dark' && {\n backgroundImage: 'none'\n })), theme.vars && _extends({}, ownerState.color === 'default' && {\n '--AppBar-background': ownerState.enableColorOnDark ? theme.vars.palette.AppBar.defaultBg : joinVars(theme.vars.palette.AppBar.darkBg, theme.vars.palette.AppBar.defaultBg),\n '--AppBar-color': ownerState.enableColorOnDark ? theme.vars.palette.text.primary : joinVars(theme.vars.palette.AppBar.darkColor, theme.vars.palette.text.primary)\n }, ownerState.color && !ownerState.color.match(/^(default|inherit|transparent)$/) && {\n '--AppBar-background': ownerState.enableColorOnDark ? theme.vars.palette[ownerState.color].main : joinVars(theme.vars.palette.AppBar.darkBg, theme.vars.palette[ownerState.color].main),\n '--AppBar-color': ownerState.enableColorOnDark ? theme.vars.palette[ownerState.color].contrastText : joinVars(theme.vars.palette.AppBar.darkColor, theme.vars.palette[ownerState.color].contrastText)\n }, {\n backgroundColor: 'var(--AppBar-background)',\n color: ownerState.color === 'inherit' ? 'inherit' : 'var(--AppBar-color)'\n }, ownerState.color === 'transparent' && {\n backgroundImage: 'none',\n backgroundColor: 'transparent',\n color: 'inherit'\n }));\n});\nconst AppBar = /*#__PURE__*/React.forwardRef(function AppBar(inProps, ref) {\n const props = useThemeProps({\n props: inProps,\n name: 'MuiAppBar'\n });\n const {\n className,\n color = 'primary',\n enableColorOnDark = false,\n position = 'fixed'\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const ownerState = _extends({}, props, {\n color,\n position,\n enableColorOnDark\n });\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(AppBarRoot, _extends({\n square: true,\n component: \"header\",\n ownerState: ownerState,\n elevation: 4,\n className: clsx(classes.root, className, position === 'fixed' && 'mui-fixed'),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? AppBar.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).\n * @default 'primary'\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'inherit', 'primary', 'secondary', 'transparent', 'error', 'info', 'success', 'warning']), PropTypes.string]),\n /**\n * If true, the `color` prop is applied in dark mode.\n * @default false\n */\n enableColorOnDark: PropTypes.bool,\n /**\n * The positioning type. The behavior of the different options is described\n * [in the MDN web docs](https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Positioning).\n * Note: `sticky` is not universally supported and will fall back to `static` when unavailable.\n * @default 'fixed'\n */\n position: PropTypes.oneOf(['absolute', 'fixed', 'relative', 'static', 'sticky']),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default AppBar;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getCardUtilityClass(slot) {\n return generateUtilityClass('MuiCard', slot);\n}\nconst cardClasses = generateUtilityClasses('MuiCard', ['root']);\nexport default cardClasses;","'use client';\n\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"className\", \"raised\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport chainPropTypes from '@mui/utils/chainPropTypes';\nimport composeClasses from '@mui/utils/composeClasses';\nimport styled from '../styles/styled';\nimport useThemeProps from '../styles/useThemeProps';\nimport Paper from '../Paper';\nimport { getCardUtilityClass } from './cardClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes\n } = ownerState;\n const slots = {\n root: ['root']\n };\n return composeClasses(slots, getCardUtilityClass, classes);\n};\nconst CardRoot = styled(Paper, {\n name: 'MuiCard',\n slot: 'Root',\n overridesResolver: (props, styles) => styles.root\n})(() => {\n return {\n overflow: 'hidden'\n };\n});\nconst Card = /*#__PURE__*/React.forwardRef(function Card(inProps, ref) {\n const props = useThemeProps({\n props: inProps,\n name: 'MuiCard'\n });\n const {\n className,\n raised = false\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const ownerState = _extends({}, props, {\n raised\n });\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(CardRoot, _extends({\n className: clsx(classes.root, className),\n elevation: raised ? 8 : undefined,\n ref: ref,\n ownerState: ownerState\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? Card.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * If `true`, the card will use raised styling.\n * @default false\n */\n raised: chainPropTypes(PropTypes.bool, props => {\n if (props.raised && props.variant === 'outlined') {\n return new Error('MUI: Combining `raised={true}` with `variant=\"outlined\"` has no effect.');\n }\n return null;\n }),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default Card;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getToolbarUtilityClass(slot) {\n return generateUtilityClass('MuiToolbar', slot);\n}\nconst toolbarClasses = generateUtilityClasses('MuiToolbar', ['root', 'gutters', 'regular', 'dense']);\nexport default toolbarClasses;","'use client';\n\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"className\", \"component\", \"disableGutters\", \"variant\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport useThemeProps from '../styles/useThemeProps';\nimport styled from '../styles/styled';\nimport { getToolbarUtilityClass } from './toolbarClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n disableGutters,\n variant\n } = ownerState;\n const slots = {\n root: ['root', !disableGutters && 'gutters', variant]\n };\n return composeClasses(slots, getToolbarUtilityClass, classes);\n};\nconst ToolbarRoot = styled('div', {\n name: 'MuiToolbar',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, !ownerState.disableGutters && styles.gutters, styles[ownerState.variant]];\n }\n})(({\n theme,\n ownerState\n}) => _extends({\n position: 'relative',\n display: 'flex',\n alignItems: 'center'\n}, !ownerState.disableGutters && {\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(2),\n [theme.breakpoints.up('sm')]: {\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3)\n }\n}, ownerState.variant === 'dense' && {\n minHeight: 48\n}), ({\n theme,\n ownerState\n}) => ownerState.variant === 'regular' && theme.mixins.toolbar);\nconst Toolbar = /*#__PURE__*/React.forwardRef(function Toolbar(inProps, ref) {\n const props = useThemeProps({\n props: inProps,\n name: 'MuiToolbar'\n });\n const {\n className,\n component = 'div',\n disableGutters = false,\n variant = 'regular'\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const ownerState = _extends({}, props, {\n component,\n disableGutters,\n variant\n });\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(ToolbarRoot, _extends({\n as: component,\n className: clsx(classes.root, className),\n ref: ref,\n ownerState: ownerState\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? Toolbar.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The Toolbar children, usually a mixture of `IconButton`, `Button` and `Typography`.\n * The Toolbar is a flex container, allowing flex item properties to be used to lay out the children.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * If `true`, disables gutter padding.\n * @default false\n */\n disableGutters: PropTypes.bool,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The variant to use.\n * @default 'regular'\n */\n variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['dense', 'regular']), PropTypes.string])\n} : void 0;\nexport default Toolbar;"],"names":["StyledAccordionSummary","styled","AccordionSummary","background","StyledAccordionHeading","Typography","lineHeight","verticalAlign","fontSize","flexBasis","flexShrink","StyledAccordionSubHeading","StyledSectionHeading","fontWeight","marginTop","marginBottom","Navbar","_ref","searchText","setSearchText","currentUser","isSearchEnabled","bannerProperties","headerStyleMode","searchPlaceholder","updateAutocompleteOptions","headerStyle","backgroundImage","_jsx","Fragment","children","_jsxs","AppBar","style","boxShadow","borderBottom","width","paddingTop","color","grayColor","border","borderRadius","padding","transition","minHeight","display","position","height","zIndex","backgroundColor","textAlign","href","Toolbar","flex","whiteSpace","cursor","onClick","window","location","xmlns","viewBox","fill","d","letterSpacing","marginLeft","NavbarLinks","React","MAX_MENU_COOKIE_AGE","COOKIE_NAME_BASKET","onInitialisation","setGlobalState","cookies","menuConfig","setBannerProperties","establishment","redirectUrl","PageMetadataFunctions","console","log","activeStatus","EstablishmentUnregistered","banner800x300","url","backgroundSize","backgroundPositionY","updateBannerProperties","tableBookingDetails","selectedDate","lastBookingId","numberOfPeople","availableTimes","findTableErrorMessage","errorMsg","specialRequests","hasPreOrdered","selectedBookingTimeObj","undefined","findTableButtonLoading","initTableBookingDetails","selectedMenu","subscriptionIds","fetchAllSubscriptionIds","allSubscriptionIds","length","populateMenuConfigWithSubscriptionFromServer","basketCookie","name","establishmentRef","ref","lines","basket","createEmptyBasket","refreshServiceCache","initBasket","distance","GeneralFunctions","latitude","longitude","isRegistered","initDistance","takeawayOrRepeatDetails","fetchTakeawayOrRepeatDetails","canCollect","fetchCanCollect","canDeliver","fetchCanDeliver","canDeliverOrCollect","initCanDeliverOrCollect","orderingDisabled","calculateOrderingDisabled","closedMsg","isTableBooking","calculateClosedMsg","EstablishmentMenu","setCurrentUser","useLocation","useContext","GlobalState","setCookie","useCookies","useState","setUnusedValueForRerender","fetchPathRelativeFromCurrentLocation","useEffect","includes","replaceAll","replace","makeFetch","response","availabilities","menu","ReusableMenu","revalueBasket","deliveryDetails","isSingleOrder","takeawaysDetails","repeatOrdersDetails","MenuFunctions","path","maxAge","revalueEstablishmentBasket","triggerParentRender","triggerRender","value","Backdrop","open","CircularProgress","createSvgIcon","getAppBarUtilityClass","slot","generateUtilityClass","generateUtilityClasses","_excluded","joinVars","var1","var2","concat","AppBarRoot","Paper","overridesResolver","props","styles","ownerState","root","capitalize","theme","backgroundColorDefault","palette","mode","grey","_extends","flexDirection","boxSizing","vars","appBar","top","left","right","getContrastText","main","contrastText","enableColorOnDark","defaultBg","darkBg","text","primary","darkColor","match","inProps","useThemeProps","className","other","_objectWithoutPropertiesLoose","classes","slots","composeClasses","useUtilityClasses","square","component","elevation","clsx","getCardUtilityClass","CardRoot","overflow","raised","getToolbarUtilityClass","ToolbarRoot","disableGutters","gutters","variant","alignItems","paddingLeft","spacing","paddingRight","breakpoints","up","_ref2","mixins","toolbar","as"],"sourceRoot":""}