{"version":3,"sources":["components/CustomComponents/Banners/HomeBanner.js","containers/HomePage/HomePage.js","containers/HomePage/images/Icon1@2x.png","containers/HomePage/images/Icon2@2x.png","containers/HomePage/images/Icon3@2x.png","containers/HomePage/images/Icon4@2x.png","containers/HomePage/images/Icon5@2x.png","../node_modules/memoize-one/dist/memoize-one.esm.js","_platform/src/components/MessageBox/MessageBox.js","_platform/src/utils/checkPermissions.js","_platform/src/utils/checkRoles.js","_platform/src/utils/PrivateComponent.js","components/CustomComponents/Banners/images/HomeHeader-bg-mobile-@1x.png","components/CustomComponents/Banners/images/HomeHeader-bg-mobile-@2x.png","components/CustomComponents/Banners/images/Header-bg-tablet-@1x.png","components/CustomComponents/Banners/images/Header-bg-tablet-@2x.png","components/CustomComponents/Banners/images/Header-BG@1x.jpg","components/CustomComponents/Banners/images/Header-BG@2x.jpg"],"names":["BannerWrapper","styled","div","_templateObject","BannerContainer","_templateObject2","bannerMobile","thd","bannerMobile2x","up","css","_templateObject3","bannerTablet","bannerTablet2x","_templateObject4","bannerDesktop","bannerDesktop2x","HomeBanner","props","react_default","a","createElement","className","smooth_ui_core_sc_es","justifyContent","alignItems","xs","pageTitle","StatementProvider","LoadAsync","__webpack_require__","e","then","bind","GatewayGraph","Promise","all","StatementStyles","HomePage_templateObject","fetchStatements","endpoint","section","HomePage","_ref","settings","userProfile","Helmet_default","PrivateComponent","redirectOnError","pathname","settingsApp","loginPagePath","Banners_HomeBanner","Fragment","data","firstName","md","displayError","fetch","render","_ref2","statement","incentive","gatewayTarget","LoadingAnimation","lg","src","Icon1","alt","width","Icon2","Icon3","Icon4","Icon5","defaultProps","undefined","mapStateToProps","createStructuredSelector","selectUserProfile","withConnect","connect","dispatch","onUserProfileRequest","userProfileRequest","compose","withSettings","module","exports","p","safeIsNaN","Number","isNaN","value","areInputsEqual","newInputs","lastInputs","length","i","first","second","__webpack_exports__","resultFn","isEqual","lastThis","lastResult","lastArgs","calledOnce","newArgs","_i","arguments","this","apply","StyledAlert","Alert","Title","Multiline","MessageBox","children","_ref$title","title","_ref$variant","variant","react__WEBPACK_IMPORTED_MODULE_1___default","checkPermissions","currentUser","requiredPermissions","Array","isArray","permissions","some","item","indexOf","propTypes","PropTypes","object","isRequired","array","checkPermissionsMemoized","memoizeOne","checkRoles","requiredRoles","roles","checkRolesMemoized","_this$props","deniedPermissions","deniedRoles","errorMessage","publicOnly","tempAuthAllowed","user","_this$props2","currentUserTemp","UnauthorisedComponent","RedirectOnErrorComponent","react_router","push","to","userObject","token","userId","Component","selectCurrentUser","selectCurrentUserTemp"],"mappings":"u2DAYA,IAAMA,EAAgBC,IAAOC,IAAVC,KAKbC,EAAkBH,IAAOC,IAAVG,IACKC,IAEJC,YAAI,YAAa,WAWXC,IAaxBC,YACA,KACAC,YAFEC,IAGwBC,IAMEC,MAI5BJ,YACA,KACAC,YAFEI,IAGwBC,IAMEC,OAwBjBC,EAlBI,SAAAC,GAAK,OACtBC,EAAAC,EAAAC,cAACrB,EAAD,CAAesB,UAAU,kBACvBH,EAAAC,EAAAC,cAACjB,EAAoBc,EACnBC,EAAAC,EAAAC,cAACE,EAAA,EAAD,KACEJ,EAAAC,EAAAC,cAACE,EAAA,EAAD,CAAKC,eAAe,SAASC,WAAW,SAASH,UAAU,UACzDH,EAAAC,EAAAC,cAACE,EAAA,EAAD,CAAKG,GAAI,GAAIJ,UAAU,2BACrBH,EAAAC,EAAAC,cAAA,OAAKC,UAAU,8BAA8BJ,EAAMS,6zBCvD/D,IAAMC,EAAoBC,YAAU,kBAClCC,EAAAC,EAAA,IAAAC,KAAAF,EAAAG,KAAA,aAIIC,EAAeL,YAAU,kBAC7BM,QAAAC,IAAA,CAAAN,EAAAC,EAAA,IAAAD,EAAAC,EAAA,KAAAD,EAAAC,EAAA,OAAAC,KAAAF,EAAAG,KAAA,aAKII,EAAkBpC,IAAOC,IAAVoC,IAIU/B,YAAI,0BAA2B,WAKtCA,YAAI,UAAW,QAmBfA,YAAI,UAAW,SAYjCgC,EAAkB,CACt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Ae,CAC9BsE,uBAAmBrE,EACnBsE,iBAAatE,EACblB,cAAc,EACdyF,kBAAcvE,EACdwE,YAAY,EACZnG,qBAAiB2B,EACjBkD,yBAAqBlD,EACrBiE,mBAAejE,EACfyE,iBAAiB,EACjBC,KAAM,IAGR,IAAMzE,EAAkBC,YAAyB,CAC/C+C,YAAaqC,cACbV,gBAAiBW,gBAGJlF,sBACbJ,EACA,KAFaI,CAGbjC,wBCpJFuC,EAAAC,QAAiBzD,EAAA0D,EAAuB,0ECAxCF,EAAAC,QAAiBzD,EAAA0D,EAAuB,0ECAxCF,EAAAC,QAAiBzD,EAAA0D,EAAuB,sECAxCF,EAAAC,QAAiBzD,EAAA0D,EAAuB,sECAxCF,EAAAC,QAAiBzD,EAAA0D,EAAuB,8DCAxCF,EAAAC,QAAiBzD,EAAA0D,EAAuB","file":"static/js/homepage.513d5752.chunk.js","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\n\nimport { Grid, Row, Col, css, styled, thd, up } from '@smooth-ui/core-sc';\n\nimport bannerMobile from './images/HomeHeader-bg-mobile-@1x.png';\nimport bannerMobile2x from './images/HomeHeader-bg-mobile-@2x.png';\nimport bannerTablet from './images/Header-bg-tablet-@1x.png';\nimport bannerTablet2x from './images/Header-bg-tablet-@2x.png';\nimport bannerDesktop from './images/Header-BG@1x.jpg';\nimport bannerDesktop2x from './images/Header-BG@2x.jpg';\n\nconst BannerWrapper = styled.div`\n position: relative;\n z-index: -1;\n`;\n\nconst BannerContainer = styled.div`\n background-image: url(${bannerMobile});\n align-items: center;\n background-color: ${thd('secondary', '#00A7AD')};\n background-position: center bottom;\n background-repeat: no-repeat;\n background-size: cover;\n display: flex;\n min-height: 435px;\n justify-content: flex-start;\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 background-image: url(${bannerMobile2x});\n }\n\n .banner__title {\n color: #fff;\n margin: 0;\n padding: 0;\n position: relative;\n text-align: center;\n }\n .banner {\n min-height: 400px;\n }\n ${up(\n 'sm',\n css`\n background-image: url(${bannerTablet});\n background-position: left center;\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 background-image: url(${bannerTablet2x});\n }\n `\n )}\n ${up(\n 'lg',\n css`\n background-image: url(${bannerDesktop});\n background-position: center center;\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 background-image: url(${bannerDesktop2x});\n }\n `\n )}\n`;\n\nconst HomeBanner = props => (\n
\n Here at Epson, we value your contribution to our business and\n have created Premium Partner Rewards to ensure that you are\n rewarded for your loyalty and on-going commitment!\n
\n\n The more you sell the quicker you will reach your target to\n unlock your rewards!\n
\n\n Simply sell any eligible Epson product, submit your sale via the\n “Claims” page, and hit your “Gateway Target”, to unlock points\n that you can redeem in our rewards catalogue.\n
\n\n Claims are approved once your sale has been validated. Every\n eligible Epson product sold earns points. So, start selling and\n watch your points accumulate towards your Gateway Target today!\n
\n \n\n Sell eligible\n
\n Epson products\n
\n Submit your\n
\n sales claim\n
\n Watch your\n
\n points Add up\n
\n Hit your\n
\n Gateway Target\n
\n Redeem your\n
\n points for rewards!\n