{"version":3,"sources":["containers/HomePage/HomePage.js","containers/HomePage/images/EatserBannerV4@2x.png","containers/HomePage/images/Mobile-EatserBanner-v2@2x.png","containers/HomePage/images/icon-points.svg","containers/HomePage/images/icon-account.svg","containers/HomePage/images/icon-wishlist.svg","containers/HomePage/images/bg-discover-rewards.png","_platform/src/components/MessageBox/MessageBox.js","../node_modules/memoize-one/dist/memoize-one.esm.js","_platform/src/utils/checkPermissions.js","_platform/src/utils/checkRoles.js","_platform/src/utils/PrivateComponent.js","_platform/src/components/SvgIcon/IconWrapper.js","components/CustomComponents/Banners/Banner.js","components/CustomComponents/Backgrounds/BgSecondary.js","components/CustomComponents/Backgrounds/BgPrimary.js"],"names":["TwoColumnContainer","styled","div","_templateObject","up","css","_templateObject2","_templateObject3","_templateObject4","_templateObject5","Panel2","_templateObject6","Panels","_templateObject7","Dashboard","Grid","_templateObject8","thd","DiscoverRewards","_templateObject9","DiscoverReward","_templateObject10","_templateObject11","withSettings","_ref","settings","react__WEBPACK_IMPORTED_MODULE_1___default","a","createElement","className","react_helmet__WEBPACK_IMPORTED_MODULE_4___default","_platform_src_utils_PrivateComponent__WEBPACK_IMPORTED_MODULE_7__","redirectOnError","pathname","settingsApp","loginPagePath","react_router_dom__WEBPACK_IMPORTED_MODULE_5__","to","components_CustomComponents_Banners_Banner__WEBPACK_IMPORTED_MODULE_9__","pageTitle","bannerMobile","MobileEasterBanner2x","bannerMobile2x","bannerTablet","EasterBanner2x","bannerTablet2x","bannerDesktop","bannerDesktop2x","components_CustomComponents_Backgrounds_BgSecondary__WEBPACK_IMPORTED_MODULE_11__","_smooth_ui_core_sc__WEBPACK_IMPORTED_MODULE_3__","justifyContent","xs","md","href","_platform_src_components_SvgIcon_IconWrapper__WEBPACK_IMPORTED_MODULE_8__","data-name","xmlns","viewBox","id","fill","strokeWidth","d","clipPath","strokeLinecap","strokeLinejoin","width","height","transform","x","y","cx","cy","r","components_CustomComponents_Backgrounds_BgPrimary__WEBPACK_IMPORTED_MODULE_10__","src","Points","alt","Account","Wishlist","module","exports","__webpack_require__","p","StyledAlert","Alert","Title","Multiline","MessageBox","children","_ref$title","title","undefined","_ref$variant","variant","defaultProps","safeIsNaN","Number","isNaN","value","areInputsEqual","newInputs","lastInputs","length","i","first","second","__webpack_exports__","resultFn","isEqual","lastThis","lastResult","lastArgs","calledOnce","newArgs","_i","arguments","this","apply","checkPermissions","currentUser","requiredPermissions","Array","isArray","permissions","some","item","indexOf","propTypes","PropTypes","object","isRequired","array","checkPermissionsMemoized","memoizeOne","checkRoles","requiredRoles","roles","checkRolesMemoized","PrivateComponent","_this$props","props","deniedPermissions","deniedRoles","displayError","errorMessage","publicOnly","tempAuthAllowed","user","_this$props2","currentUserTemp","UnauthorisedComponent","react_default","RedirectOnErrorComponent","react_router","push","userObject","token","userId","Component","mapStateToProps","createStructuredSelector","selectCurrentUser","selectCurrentUserTemp","connect","IconWrapper","string","BannerWrapper","BannerContainer","concat","Banner","alignItems","BgSecondary","section","th","BgPrimary"],"mappings":"o5HA+BA,IAAMA,EAAqBC,IAAOC,IAAVC,IAKpBC,YACA,KACAC,YAFEC,MAgBAF,YACA,KACAC,YAFEE,MAiBFH,YACA,KACAC,YAFEG,MAWFJ,YACA,KACAC,YAFEI,OAWFC,EAAST,IAAOC,IAAVS,KAoDNC,EAASX,IAAOC,IAAVW,KA2CNC,EAAYb,YAAOc,IAAPd,CAAHe,IAqBAC,YAAI,UAAW,WASFA,YAAI,UAAW,YAMrCC,EAAkBjB,IAAOC,IAAViB,IACKC,IAGtBhB,YACA,KACAC,YAFEgB,MAUAjB,YACA,KACAC,YAFEiB,OAucOC,iCA9bE,SAAAC,GAAkB,IAAfC,EAAeD,EAAfC,SAClB,OACEC,EAAAC,EAAAC,cAAA,OAAKC,UAAU,kBACbH,EAAAC,EAAAC,cAACE,EAAAH,EAAD,MAIAD,EAAAC,EAAAC,cAACG,EAAA,EAAD,CACEC,gBAAiB,CACfC,SAAUR,EAASS,YAAYC,eAAiB,YAGlDT,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AAU,iBAAiB+G,EAAMrG,8TC/HjD,IAAMoI,EAAc1K,IAAO2K,QAAVzK,IAEK0K,YAAG,cASVF,mTCXf,IAAMG,EAAY7K,IAAO2K,QAAVzK,IAEO0K,YAAG,YASVC","file":"static/js/homepage.2dd8a41f.chunk.js","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\n\n// Style and SEO\nimport { Col, Grid, Row, styled, up, css, thd } from '@smooth-ui/core-sc';\nimport Helmet from 'react-helmet';\nimport { Link } from 'react-router-dom';\n\nimport { withSettings } from '../../containers/WebApp/SettingsContext';\nimport PrivateComponent from '_platform/src/utils/PrivateComponent';\nimport IconWrapper from '_platform/src/components/SvgIcon/IconWrapper';\nimport Banner from 'components/CustomComponents/Banners/Banner';\nimport BgPrimary from 'components/CustomComponents/Backgrounds/BgPrimary';\nimport BgSecondary from 'components/CustomComponents/Backgrounds/BgSecondary';\n\n// import Appliances1x from './images/Appliances-Banner.jpg';\n// import Appliances2x from './images/Appliances-Banner@2x.jpg';\n\n//import EasterBanner1x from './images/EatserBannerV3@1x.png';\nimport EasterBanner2x from './images/EatserBannerV4@2x.png';\n//import MobileEasterBanner1x from './images/Mobile-EatserBanner@1x.png';\nimport MobileEasterBanner2x from './images/Mobile-EatserBanner-v2@2x.png';\n\nimport Points from './images/icon-points.svg';\nimport Account from './images/icon-account.svg';\nimport Wishlist from './images/icon-wishlist.svg';\n\nimport DiscoverReward from './images/bg-discover-rewards.png';\n\n// import Shop from './images/shop-@2x.jpg';\n\nconst TwoColumnContainer = styled.div`\n display: flex;\n justify-content: center;\n padding: 20px 10px;\n flex-direction: column;\n ${up(\n 'md',\n css`\n padding: 80px 0;\n flex-direction: row;\n `\n )}\n\n & > div:first-child {\n padding-right: 0;\n flex-basis: 40%;\n flex-shrink: 0;\n display: flex;\n align-items: center;\n padding-bottom: 20px;\n\n ${up(\n 'md',\n css`\n padding-right: 2rem;\n padding-bottom: 0;\n `\n )}\n\n h2 {\n line-height: 1;\n }\n }\n\n & > div:last-child {\n border-top: 1px solid white;\n padding-top: 20px;\n\n ${up(\n 'md',\n css`\n padding-top: 0;\n `\n )}\n\n p:last-child {\n margin-bottom: 0;\n }\n\n ${up(\n 'md',\n css`\n padding-left: 4rem;\n border-top: none;\n border-left: 1px solid white;\n `\n )}\n }\n`;\n\nconst Panel2 = styled.div`\n padding: 20px 0 0 0;\n box-shadow: 0px 10px 40px #00000029;\n text-align: center;\n background: #fcfcfc 0% 0% no-repeat padding-box;\n\n &:hover,\n &:focus,\n &:active {\n background: #cd1723 0% 0% no-repeat padding-box;\n }\n\n svg {\n width: 100%;\n height: 100%;\n max-width: 132px;\n max-height: 132px;\n }\n\n a {\n width: 100%;\n max-width: 230px;\n height: 300px;\n text-decoration: none;\n stroke: #cd1723;\n fill: #cd1723;\n\n &:hover {\n color: #fff;\n stroke: #fff;\n fill: #fff;\n\n svg {\n &:hover {\n stroke: #fff;\n }\n }\n }\n }\n`;\n\n/*const ShopNow = styled.button`\n background: #cd1723;\n color: #fff;\n font-size: 80px;\n font-weight: bold;\n border: 0;\n width: 100%;\n height: 100%;\n margin: 0;\n`;*/\n\nconst Panels = styled.div`\n padding: 20px 0 0 0;\n box-shadow: 0px 10px 40px #00000029;\n text-align: center;\n background: #fcfcfc 0% 0% no-repeat padding-box;\n\n &:hover,\n &:focus,\n &:active {\n background: #cd1723 0% 0% no-repeat padding-box;\n }\n\n svg {\n width: 100%;\n height: 100%;\n max-width: 132px;\n max-height: 120px;\n }\n\n a {\n width: 100%;\n max-width: 230px;\n height: 300px;\n text-decoration: none;\n fill: #cd1723;\n\n &:hover,\n &:focus,\n &:active {\n color: #fff;\n fill: #fff;\n\n svg {\n &:hover,\n &:focus,\n &:active {\n fill: #fff;\n }\n }\n }\n }\n`;\n\nconst Dashboard = styled(Grid)`\n h2 {\n margin-bottom: 0;\n }\n\n a {\n text-decoration: none;\n margin-bottom: 40px;\n display: block;\n\n img {\n max-width: 150px;\n }\n\n span {\n display: block;\n width: 205px;\n max-width: 100%;\n padding: 5px;\n margin: 0 auto;\n background-color: white;\n color: ${thd('primary', '#cd1723')};\n text-align: center;\n border: 1px white solid;\n }\n\n &:hover,\n &:focus {\n span {\n color: white;\n background-color: ${thd('primary', '#cd1723')};\n }\n }\n }\n`;\n\nconst DiscoverRewards = styled.div`\n background-image: url(${DiscoverReward});\n background-position: center;\n background-size: cover;\n ${up(\n 'md',\n css`\n min-height: 400px;\n background-opacity: 0.5;\n `\n )}\n\n & > div {\n background: rgba(239, 239, 239, 0.5);\n ${up(\n 'md',\n css`\n background: none;\n `\n )}\n }\n`;\n\nconst HomePage = ({ settings }) => {\n return (\n
\n \n {/* */}\n \n\n \n \n \n \n \n \n \n
\n

\n Hard work has it's Rewards\n

\n
\n
\n

\n Reward Yourself. You’ve earned it.\n

\n

\n Enjoy the benefits of your hard work with rewards just for\n you. Every point you’ve earned brings you closer to something\n special - whether it’s a great product, an experience to\n remember, or a personalised Visa card. Explore your options\n and treat yourself.\n

\n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n

Shop

\n

Learn More

\n
\n
\n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n

Anything's Possible

\n

Learn More

\n
\n
\n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n

RSR Visa Cards

\n

Learn More

\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n

Visa Reload

\n

Learn More

\n
\n
\n \n
\n
\n\n \n \n \n \n

Your Dashboard

\n \n \n \n \n \"\"\n \n Your Points\n \n \n \n \n \n \"\"\n \n Your Account\n \n \n \n \n \n \"\"\n \n Your Wishlist\n \n \n
\n
\n
\n\n \n \n \n \n

Discover Your Rewards

\n \n Discover More\n \n \n
\n
\n
\n \n
\n );\n};\n\nHomePage.propTypes = {\n settings: PropTypes.object.isRequired,\n};\n\nexport default withSettings(HomePage);\n","module.exports = __webpack_public_path__ + \"static/media/EatserBannerV4@2x.1328148d.png\";","module.exports = __webpack_public_path__ + \"static/media/Mobile-EatserBanner-v2@2x.72efc142.png\";","module.exports = __webpack_public_path__ + \"static/media/icon-points.181dc826.svg\";","module.exports = __webpack_public_path__ + \"static/media/icon-account.0bf24edf.svg\";","module.exports = __webpack_public_path__ + \"static/media/icon-wishlist.627b6b99.svg\";","module.exports = __webpack_public_path__ + \"static/media/bg-discover-rewards.7ab4be1f.png\";","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Alert, styled } from '@smooth-ui/core-sc';\n\nconst StyledAlert = styled(Alert)`\n margin-top: 1rem;\n`;\n\nexport const Title = styled.div`\n font-weight: bold;\n`;\n\nexport const Multiline = styled.div`\n white-space: pre-line;\n`;\n\nconst MessageBox = ({ children, title = undefined, variant = 'primary' }) => {\n return (\n \n {title ? {title} : null}\n {children}\n \n );\n};\n\nMessageBox.propTypes = {\n children: PropTypes.node.isRequired,\n title: PropTypes.string,\n variant: PropTypes.string,\n};\n\nMessageBox.defaultProps = {\n title: undefined,\n variant: 'primary',\n};\n\nexport default MessageBox;\n","var safeIsNaN = Number.isNaN || function ponyfill(value) {\n return typeof value === 'number' && value !== value;\n};\n\nfunction isEqual(first, second) {\n if (first === second) {\n return true;\n }\n\n if (safeIsNaN(first) && safeIsNaN(second)) {\n return true;\n }\n\n return false;\n}\n\nfunction areInputsEqual(newInputs, lastInputs) {\n if (newInputs.length !== lastInputs.length) {\n return false;\n }\n\n for (var i = 0; i < newInputs.length; i++) {\n if (!isEqual(newInputs[i], lastInputs[i])) {\n return false;\n }\n }\n\n return true;\n}\n\nfunction memoizeOne(resultFn, isEqual) {\n if (isEqual === void 0) {\n isEqual = areInputsEqual;\n }\n\n var lastThis;\n var lastArgs = [];\n var lastResult;\n var calledOnce = false;\n\n function memoized() {\n var newArgs = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n newArgs[_i] = arguments[_i];\n }\n\n if (calledOnce && lastThis === this && isEqual(newArgs, lastArgs)) {\n return lastResult;\n }\n\n lastResult = resultFn.apply(this, newArgs);\n calledOnce = true;\n lastThis = this;\n lastArgs = newArgs;\n return lastResult;\n }\n\n return memoized;\n}\n\nexport default memoizeOne;","/**\n * Check Permissions - Check if the user has ANY of the required permissions\n *\n * @param {object} currentUser The user object containing the permissions property\n * @param {array} requiredPermissions The array of required permissions\n *\n */\n\nimport memoizeOne from 'memoize-one';\nimport PropTypes from 'prop-types';\n\nconst checkPermissions = (currentUser, requiredPermissions) => {\n if (\n !requiredPermissions ||\n !Array.isArray(requiredPermissions) ||\n !currentUser ||\n !currentUser.permissions ||\n !Array.isArray(currentUser.permissions)\n )\n return false;\n\n return currentUser.permissions.some(\n item => requiredPermissions.indexOf(item) >= 0\n );\n};\n\ncheckPermissions.propTypes = {\n currentUser: PropTypes.object.isRequired,\n requiredPermissions: PropTypes.array.isRequired,\n};\n\nconst checkPermissionsMemoized = memoizeOne(checkPermissions);\n\nexport default checkPermissionsMemoized;\n","/**\n * Check Roles - Check if the user has ANY of the required roles\n *\n * @param {object} currentUser The user object containing the roles property\n * @param {array} requiredRoles The array of required roles\n *\n */\n\nimport memoizeOne from 'memoize-one';\nimport PropTypes from 'prop-types';\n\nconst checkRoles = (currentUser, requiredRoles) => {\n if (\n !requiredRoles ||\n !Array.isArray(requiredRoles) ||\n !currentUser ||\n !currentUser.roles ||\n !Array.isArray(currentUser.roles)\n )\n return false;\n\n return currentUser.roles.some(item => requiredRoles.indexOf(item) >= 0);\n};\n\ncheckRoles.propTypes = {\n currentUser: PropTypes.object.isRequired,\n requiredRoles: PropTypes.array.isRequired,\n};\n\nconst checkRolesMemoized = memoizeOne(checkRoles);\n\nexport default checkRolesMemoized;\n","import React, { Component } from 'react';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\nimport { createStructuredSelector } from 'reselect';\nimport { Redirect } from 'react-router-dom';\nimport {\n selectCurrentUser,\n selectCurrentUserTemp,\n} from '../containers/App/selectors'; // _platform\nimport checkPermissions from '../utils/checkPermissions'; // _platform\nimport checkRoles from '../utils/checkRoles'; // _platform\nimport MessageBox from '../components/MessageBox/MessageBox'; // _platform\n\n/**\n * Private Component - HoC to determine whether a component should be displayed\n * based on authentication, permissions and/or roles\n *\n * TODO: Extend with prop to supply function to determine permission `verifyFn` similar to LoadAsync\n *\n * The `user` prop can be either currentUser or currentUserTemp, depending on what the parent component determines is applicable.\n * If the `user` prop is not supplied, then this component will retrieve the user data via the App selectors.\n * The `tempAuthAllowed` prop determines whether currentUserTemp can be used\n *\n * `publicOnly` prop inverts the check so that the child component is only displayed to unauthenticated users (use `PublicComponent`)\n *\n * `deniedPermissions` and `deniedRoles` props take precedence over `requiredPermissions` and `requiredRoles`.\n * For example, if the props are `requiredRoles={['Administrator']} deniedRoles={['Administrator']}`,\n * users with the `Administrator` role will be denied access to the child component.\n *\n * If the checks determine that the access should be denied to the child component:\n * - By default the child component is skipped silently\n * - If the `redirectOnError` prop is supplied, the user will be redirected to the supplied local path\n * - Otherwise, if the `displayError` prop is supplied, the user will be shown an error\n * which can be customised via the `errorMessage` prop\n */\n\nclass PrivateComponent extends Component {\n render() {\n const {\n deniedPermissions,\n deniedRoles,\n displayError,\n errorMessage,\n publicOnly,\n redirectOnError,\n requiredPermissions,\n requiredRoles,\n tempAuthAllowed,\n user,\n } = this.props;\n const { currentUser, currentUserTemp } = this.props;\n\n const UnauthorisedComponent = displayError ? (\n \n {errorMessage || 'Unauthorised'}\n \n ) : null;\n\n const RedirectOnErrorComponent = redirectOnError ? (\n \n ) : null;\n\n // Determine which user object to use\n // 1. Use `user` prop if supplied\n // 2. If `tempAuthAllowed` prop:\n // 1. Is true: use `currentUserTemp` if available, if not use currentUser\n // 3. Is false: use currentUser\n //\n // Check for user.token and currentUserTemp.token to ensure they're not the\n // default empty objects. Cleaner than using Object.keys\n let userObject = {};\n if (user && user.token && user.userId) {\n userObject = user;\n } else if (tempAuthAllowed && currentUserTemp && currentUserTemp.token) {\n userObject = currentUserTemp;\n } else {\n userObject = currentUser;\n }\n\n // Invert the check if the publicOnly prop is supplied - used in PublicComponent\n if (publicOnly) {\n return !userObject.token\n ? this.props.children\n : RedirectOnErrorComponent || UnauthorisedComponent;\n }\n\n // Check granular permissions if supplied\n if (\n !!userObject.token &&\n ((deniedPermissions && checkPermissions(userObject, deniedPermissions)) ||\n (requiredPermissions &&\n !checkPermissions(userObject, requiredPermissions)))\n ) {\n return RedirectOnErrorComponent || UnauthorisedComponent;\n }\n\n // Check granular roles if supplied\n if (\n !!userObject.token &&\n ((deniedRoles && checkRoles(userObject, deniedRoles)) ||\n (requiredRoles && !checkRoles(userObject, requiredRoles)))\n ) {\n return RedirectOnErrorComponent || UnauthorisedComponent;\n }\n\n return !!userObject.token\n ? this.props.children\n : RedirectOnErrorComponent || UnauthorisedComponent;\n }\n}\n\nPrivateComponent.propTypes = {\n children: PropTypes.node.isRequired,\n currentUser: PropTypes.object.isRequired,\n currentUserTemp: PropTypes.object.isRequired,\n deniedPermissions: PropTypes.array,\n deniedRoles: PropTypes.array,\n displayError: PropTypes.bool,\n errorMessage: PropTypes.string,\n publicOnly: PropTypes.bool, // Inverts PrivateComponent - displays component to unauthenticated users only. Used by PublicComponent wrapper\n redirectOnError: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),\n requiredPermissions: PropTypes.array,\n requiredRoles: PropTypes.array,\n tempAuthAllowed: PropTypes.bool,\n user: PropTypes.object,\n};\n\nPrivateComponent.defaultProps = {\n deniedPermissions: undefined,\n deniedRoles: undefined,\n displayError: false,\n errorMessage: undefined,\n publicOnly: false,\n redirectOnError: undefined,\n requiredPermissions: undefined,\n requiredRoles: undefined,\n tempAuthAllowed: false,\n user: {},\n};\n\nconst mapStateToProps = createStructuredSelector({\n currentUser: selectCurrentUser(),\n currentUserTemp: selectCurrentUserTemp(),\n});\n\nexport default connect(\n mapStateToProps,\n null\n)(PrivateComponent);\n","import { styled } from '@smooth-ui/core-sc';\nimport PropTypes from 'prop-types';\n\nconst IconWrapper = styled.div`\n align-items: center;\n display: flex;\n height: ${p => (p.height ? p.height : '190px')};\n justify-content: center;\n margin-left: auto;\n margin-right: auto;\n width: ${p => (p.width ? p.width : '190px')};\n`;\n\nIconWrapper.propTypes = {\n height: PropTypes.string,\n width: PropTypes.string,\n};\n\nIconWrapper.defaultProps = {\n height: undefined,\n width: undefined,\n};\n\nexport default IconWrapper;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\nimport { Grid, Row, Col, css, styled, thd, up } from '@smooth-ui/core-sc';\n\nconst BannerWrapper = styled.div`\n position: relative;\n`;\n\nconst BannerContainer = styled.div`\n ${props =>\n props.bannerMobile\n ? `background-image: url(${props.bannerMobile});`\n : null};\n align-items: center;\n background-color: ${thd('secondary', '#CE1723')};\n background-position: center top;\n background-repeat: no-repeat;\n background-size: cover;\n display: flex;\n height: 560px;\n justify-content: flex-start;\n @media only screen and (min-device-pixel-ratio: 1.5),\n only screen and (min-resolution: 144dpi),\n only screen and (min-resolution: 1.5dppx) {\n ${props =>\n props.bannerMobile || props.bannerMobile2x\n ? `background-image: url(${props.bannerMobile2x ||\n props.bannerMobile});`\n : null};\n }\n\n .banner__title__wrapper {\n position: absolute;\n left: 0;\n bottom: 0;\n padding: 0;\n margin: 0;\n background: rgba(0, 0, 0, 0.7);\n ${up(\n 'md',\n css`\n position: relative;\n background: none;\n padding: 0;\n font-size: 50px;\n `\n )}\n }\n\n .banner__title {\n color: #fff;\n font-size: 30px;\n font-weight: bold;\n margin: 0;\n padding: 0;\n position: relative;\n text-align: center;\n padding: 0 10px;\n\n ${up(\n 'md',\n css`\n text-align: left;\n font-size: 50px;\n `\n )}\n }\n .banner {\n height: 480px;\n }\n ${up(\n 'sm',\n css`\n ${props =>\n props.bannerTablet\n ? `background-image: url(${props.bannerTablet});`\n : null};\n background-position: center top;\n height: 300px;\n\n @media only screen and (min-device-pixel-ratio: 1.5),\n only screen and (min-resolution: 144dpi),\n only screen and (min-resolution: 1.5dppx) {\n ${props =>\n props.bannerTablet || props.bannerTablet2x\n ? `background-image: url(${props.bannerTablet2x ||\n props.bannerTablet});`\n : null};\n }\n\n .banner {\n height: 300px;\n }\n `\n )}\n ${up(\n 'lg',\n css`\n ${props =>\n props.bannerDesktop\n ? `background-image: url(${props.bannerDesktop});`\n : null};\n background-position: center center;\n height: 465px;\n\n @media only screen and (min-device-pixel-ratio: 1.5),\n only screen and (min-resolution: 144dpi),\n only screen and (min-resolution: 1.5dppx) {\n ${props =>\n props.bannerDesktop || props.bannerDesktop2x\n ? `background-image: url(${props.bannerDesktop2x ||\n props.bannerDesktop});`\n : null};\n }\n\n .banner {\n height: 465px;\n }\n `\n )}\n`;\n\nconst Banner = props => (\n \n \n \n \n \n

{props.pageTitle}

\n \n
\n
\n
\n
\n);\n\nBanner.propTypes = {\n pageTitle: PropTypes.object.isRequired,\n};\n\nexport default Banner;\n","import { styled, th } from '@smooth-ui/core-sc';\n\nconst BgSecondary = styled.section`\n align-items: center;\n background-color: ${th('secondary')};\n color: #fff;\n display: flex;\n flex-direction: column;\n justify-content: center;\n padding: 0;\n width: 100%;\n`;\n\nexport default BgSecondary;\n","import { styled, th } from '@smooth-ui/core-sc';\n\nconst BgPrimary = styled.section`\n align-items: center;\n background-color: ${th('primary')};\n color: #fff;\n display: flex;\n flex-direction: column;\n justify-content: center;\n padding: 0;\n width: 100%;\n`;\n\nexport default BgPrimary;\n"],"sourceRoot":""}