{"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 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
\nLearn More
\n \nLearn More
\n \nLearn More
\n \nLearn More
\n \n