(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[890],{52519:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/coupons",function(){return n(17724)}])},78381:function(e,t,n){"use strict";n.d(t,{AR:function(){return p},ZZ:function(){return l}});var o=n(43631),a=n(96486),i=n.n(a);let r=(0,o.qY)(),l=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("string"!=typeof e)return"";let n="".concat(e);if(!e.includes("svg")){let e="webp";(null==r?void 0:r.name)==="safari"&&(e="png"),n="".concat(n,"?fm=").concat(e)}return i().isEmpty(t)||(n="".concat(n)),n.replace(/([^:])(\/\/+)/g,"$1/")},p=(e,t)=>e?t&&t<4e3?"".concat(e,"?w=").concat(t,"&fm=webp&q=80"):"".concat(e,"?fm=webp&q=80"):""},89459:function(e,t,n){"use strict";var o=n(85893);n(67294);var a=n(45697),i=n.n(a),r=n(1216),l=n(25675),p=n.n(l),s=n(25967),c=n.n(s),d=n(78381),u=n(63266),g=n(10486),m=n(86661),x=n(8848);let h=e=>{let{altText:t,image:n,desktopImage:a,smartphoneImage:i,tabletImage:l,tooltip:s,className:h,lazyLoad:f,lazyloadOffset:w,priority:b,name:y}=e,v=e=>"false"!==f?(0,o.jsx)(r.ZP,{offset:w,children:e}):e,T=()=>{(0,m.cl)(x.knq,{})},j=e=>{(0,m.cl)(x.OfS,{imageDetails:{desktopImage:a,smartphoneImage:i,tabletImage:l,image:n},pageUrl:e.currentTarget.baseURI})};if(null==n?void 0:n.url){let e="";return e=n.url.includes("/coupons/")?"".concat(u.Z.imageSuffix).concat(n.url):"".concat(n.url),v((0,o.jsx)("div",{className:h||"w-full",children:(0,o.jsx)(p(),{src:(0,d.ZZ)(e,{w:n.width},10),alt:null!==t?"".concat(t.trim()):"".concat(y),width:n.width||275,height:n.height||117,tooltip:s,loader:g.loader,priority:b,onLoad:T,onError:j})}))}return v((0,o.jsxs)("picture",{children:[(0,o.jsx)("source",{media:"(max-width: 580px)",srcSet:(0,d.AR)(i&&i.url)}),(0,o.jsx)("source",{media:"(max-width:".concat(c().smartPhoneWidth,"px)"),srcSet:(0,d.AR)(i&&i.url,768)}),(0,o.jsx)("source",{media:"(max-width:".concat(c().tabletWidth,"px)"),srcSet:(0,d.AR)(l&&l.url,1024)}),(0,o.jsx)("source",{srcSet:(0,d.AR)(a&&a.url)}),(0,o.jsx)("img",{className:h,src:(0,d.AR)(a&&a.url,1440),alt:null!==t?"".concat(t.trim()):"".concat(y),width:(null==a?void 0:a.width)||1440,height:(null==a?void 0:a.height)||400,onLoad:T,onError:j})]}))};h.propTypes={altText:i().string,className:i().string,image:i().shape({url:i().string}),desktopImage:i().shape({url:i().string}),smartphoneImage:i().shape({url:i().string}),tabletImage:i().shape({url:i().string}),tooltip:i().string,children:i().instanceOf(Object),lazyLoad:i().string,isSVG:i().string,priority:i().bool,name:i().string},h.defaultProps={altText:"image",className:"",image:null,desktopImage:null,smartphoneImage:null,tabletImage:null,tooltip:"",children:null,lazyLoad:"true",lazyloadOffset:250,isSVG:"false",priority:!1,name:"image"},t.Z=h},13466:function(e,t,n){"use strict";var o=n(85893);n(67294);var a=n(9008),i=n.n(a),r=n(45697),l=n.n(r),p=n(11163),s=n(80558);function c(e){let{pageTitle:t,metaTitle:n,metaDescription:a,metaKeywords:r,metaTagKeywords:l,metaImage:p,openGraphPageTitle:c,openGraphDescription:d,openGraphImage:u,openGraphSiteName:g,openGraphType:m,router:x,addGenericSchema:h,h1Text:f}=e,w=x.asPath,b=w.indexOf("?")>-1?w.substr(0,w.indexOf("?")):w,y="/"!==b[b.length-1]?"".concat(b,"/"):b;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(i(),{children:[(0,o.jsx)("title",{children:t}),(0,o.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),n&&(0,o.jsx)("meta",{name:"title",content:n}),(r||l)&&(0,o.jsx)("meta",{name:"keywords",content:"".concat(r||"").concat(l||"")}),a&&(0,o.jsx)("meta",{name:"description",content:a}),p&&(0,o.jsx)("meta",{name:"image",content:p.url}),c&&(0,o.jsx)("meta",{property:"og:title",content:n}),d&&(0,o.jsx)("meta",{property:"og:description",content:a}),u&&(0,o.jsx)("meta",{property:"og:image",content:u.url}),g&&(0,o.jsx)("meta",{property:"og:site_name",content:g}),m&&(0,o.jsx)("meta",{property:"og:type",content:g}),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("meta",{property:"og:url",content:"".concat("https://www.pggoodeveryday.com").concat(x.asPath)}),(0,o.jsx)("link",{rel:"canonical",href:"".concat("https://www.pggoodeveryday.com").concat(1===y.length?"":y)})]})]}),h&&(0,o.jsx)(s.Z,{router:x,headline:t,description:a,image:p&&p.url}),f&&(0,o.jsx)("span",{role:"region","aria-labelledby":"title",children:(0,o.jsx)("span",{id:"title",className:" absolute -top-50 z-0",children:f&&(0,o.jsx)("h1",{className:"fixed -top-75 campaignTop text-16 w-auto text-white block",children:f})})})]})}c.propTypes={pageTitle:l().string,metaTitle:l().string,metaKeywords:l().string,metaTagKeywords:l().string,metaDescription:l().string,metaImage:l().shape({url:l().string}),openGraphPageTitle:l().string,openGraphDescription:l().string,openGraphSiteName:l().string,openGraphType:l().string,openGraphImage:l().shape({url:l().string}),addGenericSchema:l().bool,router:l().instanceOf(Object).isRequired,h1Text:l().string},c.defaultProps={metaTitle:"PG Good everyday",metaKeywords:"",metaTagKeywords:"",metaDescription:"",metaImage:null,openGraphPageTitle:"",openGraphDescription:"",openGraphImage:null,pageTitle:"PG Good everyday",openGraphSiteName:null,openGraphType:null,addGenericSchema:!0,h1Text:null},t.Z=(0,p.withRouter)(c)},80558:function(e,t,n){"use strict";var o=n(85893);n(67294);var a=n(45697),i=n.n(a),r=n(9008),l=n.n(r),p=n(11163),s=n(29238),c=n.n(s);function d(e){let{router:t,headline:n,description:a,image:i,datePublished:r,pageType:p,publisherType:s,dateModified:d,videoSchemaData:u}=e,g=new Date(r),m=new Date(d),x="".concat(m.getFullYear(),"-").concat(m.getMonth()+1,"-").concat(m.getDate()),h="".concat(g.getFullYear(),"-").concat(g.getMonth()+1,"-").concat(g.getDate());return(0,o.jsxs)(l(),{children:[(0,o.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:c().sanitize('\n          {\n            "@context": "https://schema.org/",\n            "@type": "WebSite",\n            "name": "P&G Good Everyday",\n            "url": "https://www.pggoodeveryday.com/",\n            "potentialAction": {\n              "@type": "SearchAction",\n              "target": "https://www.pggoodeveryday.com/search/?t={search_term_string}",\n              "query-input": "required name=search_term_string"\n            }\n          }                                    \n        ').replace(/\s+/g," ").trim()}}),(0,o.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:c().sanitize('\n          {\n            "@context":"http://schema.org",\n            "@type":"Organization",\n            "name":" P&G Good Everyday ",\n            "url":"https://www.pggoodeveryday.com/",\n         "logo":"https://images.ctfassets.net/5tx4oa3foqys/6FdXjbJ9f3A0oQO23UMTtv/e8be70e40b661c6a9119b519f45231e1/icon-72x72.png",\n            "parentorganization":"Procter & Gamble",\n            "sameAs":[\n               "https://www.instagram.com/pggoodeveryday/",\n               "https://twitter.com/pggoodeveryday",\n               "https://www.youtube.com/pggoodeveryday"\n            ]\n         }\n                                            \n        ').replace(/\s+/g," ").trim()}}),"Article"!==p&&(0,o.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:c().sanitize('\n            {\n                "@context": "https://schema.org",\n                "@type": "'.concat(p,'",\n                ').concat("Article"===p?'"mainEntityOfPage": {\n                  "@type": "WebPage",\n                  "@id": "'.concat("https://www.pggoodeveryday.com").concat(null==t?void 0:t.asPath.split("?")[0],'"\n                },'):"",'\n                "').concat("Article"===p?"headline":"name",'": "').concat(n,'",\n                "description": "').concat(a,'",\n                ').concat(i?'"image": "'.concat(i,'",'):"",'\n                "publisher": {\n                    "@type": "').concat(s,'",\n                    "name": "P&G Good Everyday"\n                    ').concat("ProfilePage"!==s?',"logo": {\n                        "@type": "ImageObject",\n                        "url": "https://images.ctfassets.net/5tx4oa3foqys/4QfoWrwE2we59zitBBVNHa/6c02b7c069bf47c55bca9d655e93e632/logo.png",\n                        "width": "100px",\n                        "height": "100px"\n                    }':"","\n                }\n                ").concat(r?',"datePublished": "'.concat(h,'"'):"","\n                ").concat(d?',"dateModified":"'.concat(x,'"'):"","\n            }\n        ")).replace(/\s+/g," ").trim()}}),u&&(0,o.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:c().sanitize('\n          {\n           "@context": "http://schema.org",\n           "@type": "VideoObject",\n           "name": "'.concat(u.name,'",\n           "description": "').concat(u.description,'",\n           "thumbnailUrl": "').concat(u.thumbnailUrl,'",\n           "uploadDate": "').concat(u.uploadDate,'",\n           "duration": "').concat(u.duration,'",\n           "embedUrl": "').concat(u.embedUrl,'",\n         \n         "interactionStatistic": {\n                 "@type": "InteractionCounter",\n                 "interactionType": { "@type": "http://schema.org/WatchAction" },\n                 "userInteractionCount": "32"\n         }\n        }\n        ')).replace(/\s+/g," ").trim()}}),"Article"===p&&(0,o.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:c().sanitize('\n              { \n\n                "@context": "https://schema.org", \n              \n                "@type": "Article", \n              \n                "mainEntityOfPage": { \n              \n                  "@type": "WebPage", \n              \n                  "@id": "'.concat("https://www.pggoodeveryday.com").concat(null==t?void 0:t.asPath.split("?")[0],'"\n              \n                }, \n              \n                "headline": "').concat(n,'", \n              \n                "description": "').concat(a,'", \n              \n                "image": "').concat(i,'",   \n              \n                "author": { \n              \n                  "@type": "Organization", \n              \n                  "name": "pggoodeveryday.com" \n              \n                },   \n              \n                "publisher": { \n              \n                  "@type": "Organization", \n              \n                  "name": "pggoodeveryday.com", \n              \n                  "logo": { \n              \n                    "@type": "ImageObject", \n              \n                    "url": "https://images.ctfassets.net/5tx4oa3foqys/4QfoWrwE2we59zitBBVNHa/6c02b7c069bf47c55bca9d655e93e632/logo.png" \n              \n                  } \n              \n                }, \n              \n                "datePublished": "').concat(h,'",\n                "dateModified":"').concat(x,'"\n              \n              } \n                                              \n          ')).replace(/\s+/g," ").trim()}})]})}d.propTypes={router:i().instanceOf(Object).isRequired,headline:i().string,description:i().string,image:i().string,datePublished:i().string,dateModified:i().string,pageType:i().string,publisherType:i().string,videoSchemaData:i().oneOfType([i().object])},d.defaultProps={description:"",image:null,headline:"",datePublished:"2020-01-14",pageType:"WebPage",publisherType:"ProfilePage",dateModified:null,videoSchemaData:null},t.Z=(0,p.withRouter)(d)},72441:function(e,t,n){"use strict";var o=n(85893),a=n(67294),i=n(45697),r=n.n(i),l=n(29323),p=n(33555),s=n(19074),c=n.n(s),d=n(13633),u=n(35941);let g=e=>{let{data:t,closeHandler:n,behaviour:i,link:r,textClickhandler:l,pageSource:s,styles:g}=e,m=c()[s]||c().default,x=m[g]||m.default,h=(0,a.useRef)(null),f=e=>{h.current&&!h.current.contains(e.target)&&n()};return(0,a.useEffect)(()=>(i||document.addEventListener("mousedown",f),()=>{document.removeEventListener("mousedown",f)}),[h]),(0,o.jsx)(o.Fragment,{children:(0,o.jsx)("div",{className:x&&x.toolTipWrapper,children:(0,o.jsxs)("div",{"data-testid":"tooltip-div",ref:h,className:x&&x.toolTipContent,children:[(0,o.jsx)("div",{className:x&&x.toolTipClose,children:(0,o.jsx)(d.Z,{handler:()=>n(),children:(0,o.jsx)(u.default,{className:x&&x.toolTipCloseIcon,name:"closeGray"})})}),(0,o.jsx)(d.Z,{to:r||null,handler:()=>l(),children:(0,o.jsx)(p.Z,{className:"text-left couponsText break-words",body:t})})]})})})};g.propTypes={data:r().string.isRequired,closeHandler:r().func,link:r().string,behaviour:r().string,pageSource:r().string,styles:r().string,textClickhandler:r().func},g.defaultProps={closeHandler:()=>{},textClickhandler:()=>{},link:null,pageSource:"",styles:"",behaviour:null},t.Z=(0,l.Pi)(g)},19074:function(e){"use strict";e.exports={default:{default:{toolTipWrapper:"md:block toolTipWrapper absolute z-20 bg-white shadow-headernav border-b-4 border-primary onboarding-tooltip-wrapper -left-60 top-45 xl:-left-30 xl:top-65",toolTipContent:"tool-tip relative bg-white p-25 text-center w-220 pointsRejectionText text-14 font-montserratSemiBold font-semibold leading-light",toolTipClose:"flex tooltip-close absolute top-0 right-0 justify-end p-2 lg:p22 focus:outline-none",toolTipCloseIcon:"w-11 h-11",bottomBar:{wrapper:"bottom-bar w-full flex flex-wrap p-12 relative",expiresWrapper:"w-6/12 flex",expires:"expires font-montserratlight font-light text-14 leading-seller18 pl-05 flex items-center",addToCartWrapper:"w-6/12 justify-end z-8",addToCart:"add-to-cart float-right font-montserratSemiBold font-semibold text-14  text-secondary flex flex-wrap leading-leading20",addToCartIcon:"pl-05"}}},tooltipCoupons:{default:{toolTipWrapper:"absolute z-20 bg-white coupon-tooltip-wrapperDigital shadow-dropdown w-252 bottom-70 top-auto -left-85",toolTipContent:"tool-tip relativ bg-white p-25 pointsRejectionTextCoupons text-14 font-montserratSemiBold font-semibold leading-leading20",toolTipClose:"flex tooltip-close absolute top-0 right-0 justify-end p-2 lg:p22 focus:outline-none",toolTipCloseIcon:"w-11 h-11",bottomBar:{wrapper:"bottom-bar w-full flex flex-wrap p-12 relative",expiresWrapper:"w-6/12 flex opacity-50 pointer-events-none",expires:"expires font-montserratlight font-light text-14 lg:text-14 leading-seller18 pl-05 flex items-center",addToCartWrapper:"w-6/12 justify-end z-8 opacity-50",addToCart:"add-to-cart float-right pointer-events-none font-montserratSemiBold font-semibold text-14 text-secondary flex flex-wrap leading-leading20",addToCartIcon:"pl-05"}}},earnPoints:{default:{toolTipWrapper:"earnPoints absolute z-21 top-0 bg-white coupon-tooltip-wrapper shadow-dropdown border-t-4 border-primary",toolTipContent:"tool-tip relative bg-white p-25 pointsEarnPointsText text-14 font-montserratSemiBold font-semibold leading-light",toolTipClose:"flex tooltip-close absolute top-0 right-0 justify-end p-2 lg:p22 focus:outline-none",toolTipCloseIcon:"w-11 h-11"}},causeDetails:{default:{toolTipWrapper:"causeDetails absolute z-21 top-0 bg-white coupon-tooltip-wrapper shadow-dropdown border-t-4 border-success",toolTipContent:"tool-tip relative bg-white p-25 pointsEarnPointsText text-14 font-montserratSemiBold font-semibold leading-light",toolTipClose:"flex tooltip-close absolute top-0 right-0 justify-end p-2 lg:p22 focus:outline-none",toolTipCloseIcon:"w-11 h-11"}},rewardsPoints:{default:{toolTipWrapper:"causeDetails absolute z-20 top-0 bg-white coupon-tooltip-wrapper shadow-dropdown border-t-4 border-warning",toolTipContent:"tool-tip relative bg-white p-25 pointsRewardsPointsText text-14 font-montserratSemiBold font-semibold leading-points16",toolTipClose:"flex tooltip-close absolute top-0 right-0 justify-end p-2 lg:p22 focus:outline-none",toolTipCloseIcon:"w-11 h-11"}},tooltipOnboarding:{toolTipWrapper:"absolute tooltipOnboarding z-20 bg-white coupon-tooltip-wrapper",toolTipContent:"tool-tip relative bg-white p-25 pointsRejectionText text-14 font-montserratSemiBold font-semibold leading-points16",toolTipClose:"flex tooltip-close absolute top-0 right-0 justify-end p-2 lg:p22 focus:outline-none",toolTipCloseIcon:"w-11 h-11"},tooltipDigitalCoupons:{default:{toolTipWrapper:"absolute z-20 bg-white coupon-tooltip-wrapperDigital shadow-digitalTooltip w-275 bottom-auto -top-150 -left-15",toolTipContent:"tool-tip relativ bg-white px-20 py-30 pointsRejectionTextCoupons text-14 font-montserratSemiBold font-semibold leading-leading20",toolTipClose:"flex hidden tooltip-close absolute top-0 right-0 justify-end p-2 lg:p22 focus:outline-none",toolTipCloseIcon:"w-11 h-11"}}}},11267:function(e,t){"use strict";let n=new String('.scan-receipt-head,.icon-button-wrapper-header{display:none}.washingtonStateGuidelinesSearch a,.couponsLandingLink button{color:#003CA5;font-weight:700}.couponsRewardsTitle a{text-decoration:underline;font-weight:700}.coupon-success h2{font-weight:700;font-size:1.5rem;line-height:28px;padding-bottom:10px;letter-spacing:normal}.couponsEarnRewardsTitle p{padding-bottom:15px}.noMoreCouponsText a,.washingtonStateGuidelinesSearch a{text-decoration:underline}.couponsTabs strong{font-weight:700}.couponCardMainWrapper{width:360px}.coupons-fullwrapper:after{position:absolute;height:350px;background:#FADB35;width:125%;-webkit-border-radius:100%100%0 0;-moz-border-radius:100%100%0 0;border-radius:100%100%0 0;left:-50px;bottom:-30px;overflow:hidden;z-index:auto;display:none}.letsGetStarted-Title h2{font-size:1.5rem;line-height:29px;font-weight:700;padding-bottom:20px}.search-form:focus{outline:solid}.headWrapper{-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center}.intro-coupons-text span{line-height:30px;font-size:16px}.iframeDigitalWrapper iframe{height:3210px}input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-results-button,input[type="search"]::-webkit-search-results-decoration{display:none}.intro-coupons-text a,.coupons-content a{text-decoration:underline;font-weight:700;color:#003CA5}.search-form:focus{outline:solid}input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-results-button,input[type="search"]::-webkit-search-results-decoration{display:none}.tileDeqInactive{position:absolute;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;letter-spacing:1.3px;background:#A400A6;-webkit-box-shadow:0 2px 2px 0 rgba(0,0,0,.3);-moz-box-shadow:0 2px 2px 0 rgba(0,0,0,.3);box-shadow:0 2px 2px 0 rgba(0,0,0,.3);right:0px;line-height:12px;top:0px;width:112px;height:31px;z-index:10;cursor:not-allowed;width:134px}.coupon-empty-basket h3{font-weight:600;font-size:1.375rem;line-height:24px;padding-top:30px;padding-bottom:15px}.couponsPageDescription p:nth-child(1){padding-bottom:10px}.printCouponsTitle h2{font-size:1.5rem;line-height:29px}.printCouponsTitle h2,.printCouponsSubTitle h2{font-weight:600}.about-accordian-mainWrapper .accordion-Panel-Wrapper:nth-child(1) .offerrules{border-top-width:.75px}.about-accordian-mainWrapper .accordion-Panel-Wrapper:nth-child(6) .offerrules{border-bottom-width:0}.pointsTab{width:100%;padding:0}.myimpacttab .inActive{color:#393939;height:40px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;font-size:.875rem;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;padding:0;border-bottom:solid 6px#D8D8D8;text-transform:uppercase}.myimpacttab .active{border-bottom:solid 7px#218372;width:100%;color:#0C7E6D;height:40px;font-size:.875rem;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;padding:0;text-transform:uppercase}.tabWrapper{padding-left:3px}.couponsText a{text-decoration:underline}.basket-container{height:42px;width:48px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;top:0;left:0;right:0;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center}.cart-button-wrapper{width:55px;height:55px;margin-right:6px}.basket-container svg{width:auto!important}.basket-count{top:17px}@media screen and (max-width:460px){.coupons-fullwrapper{padding-bottom:0}}.myimpacttab .inActive,.myimpacttab .active{padding-bottom:11px}@media screen and (min-width:768px){.coupons-fullwrapper:after{height:108%;width:108%;-webkit-border-radius:100%0 0 100%;-moz-border-radius:100%0 0 100%;border-radius:100%0 0 100%;left:15px;display:block}.startearningTileWrapper:nth-child(4){width:100%;margin-left:0px;padding-right:5px}.phoneNumberLinkWrapper:nth-child(3){margin-right:0px;padding-right:8px}.phoneNumberLinkWrapper:nth-child(3) .takeSurveybg,.phoneNumberLinkWrapper:nth-child(3) .cardText{width:100%}.phoneNumberLinkWrapper:nth-child(3) .cardText{padding-top:20px}.startearningTileWrapper:nth-child(3){margin-left:0px;padding-left:0}}@media only screen and (min-width:500px)and (max-width:767px){.earnMainWrapper{width:70%}}@media(min-width:768px)and (max-width:1023px){.takeSurvey{margin-top:20px}.phoneNumberLinkWrapper:nth-child(3) .takeSurvey{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100%;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-ms-flex-align:start;align-items:flex-start;margin-top:0}.takeSurvey{padding-right:0}.takeSurvey .takeSurveybg{width:49%}.startearningTileWrapper:nth-child(3){padding-left:8px}.startearningTileWrapper:nth-child(2){padding-right:8px}}@media screen and (min-width:1024px){.pointsTab{width:80%}.couponsPageDescription span{display:block}.tabWrapper{padding-right:2px;padding-left:2px}.iframeDigitalWrapper iframe{height:1600px}.cart-button-wrapper{width:165px;height:55px;margin-right:83px}.coupon-empty-basket h3{font-size:1.5rem;line-height:29px;padding-top:35px;padding-bottom:20px}.basket-count{top:19px}.basket-container{height:47px;width:71px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;top:2px;left:-1px}.basket-container span{top:-9px;position:absolute}.myimpacttab button{letter-spacing:normal}.pointsTab{padding:0}.couponsRewardsTitle{padding-bottom:0}.startearningTileWrapper:nth-child(4){margin-right:8px;width:260px;padding-right:0}.startearningTileWrapper:nth-child(3){margin:0px 8px}.startearningTileWrapper:last-child{margin-left:8px;padding-left:0;padding-right:0}.letsGetStarted-Title h2{font-size:2rem;line-height:42px;padding-bottom:30px}}@media screen and (min-width:1280px){.pointsTab{width:1028px}.couponsPageDescription span{display:block}.coupons-fullwrapper:after{height:160%;width:100%;-webkit-border-radius:100%0 0 100%;-moz-border-radius:100%0 0 100%;border-radius:100%0 0 100%;left:15px;bottom:-120px}.startearningTileWrapper:nth-child(4){width:283px}.startearningTileWrapper:nth-child(3){margin:0 10px;padding-left:0}}@media screen and (min-width:1440px){.startearningTileWrapper:nth-child(4){width:330px;margin-left:0;padding-right:1px}.startearningTileWrapper:nth-child(3){margin:0px 10px}.startearningTileWrapper:last-child{padding-right:3px}.couponCardMainWrapper{width:375px}}@media screen and (min-width:1500px){.background-wrapper img{height:auto!important}}');n.__hash="93d333b1f6c66416",t.Z=n},10486:function(e){"use strict";let t=e=>new Promise((t,n)=>{let o=new FileReader;o.onload=e=>{try{let n=new DataView(e.target.result);65496!==n.getUint16(0,!1)&&t(-2);let o=n.byteLength,a=2;for(;a<o;){let e=n.getUint16(a,!1);if(a+=2,65505===e){a+=2,1165519206!==n.getUint32(a,!1)&&t(-1);let e=18761===n.getUint16(a+=6,!1);a+=n.getUint32(a+4,e);let o=n.getUint16(a,e);a+=2;for(let i=0;i<o;i+=1)274===n.getUint16(a+12*i,e)&&t(n.getUint16(a+12*i+8,e))}else if(65280!==(e&&65280))break;else a+=n.getUint16(a,!1)}t(-1)}catch(e){n(e)}},o.readAsArrayBuffer(e.slice(0,65536))});e.exports={getCorrectedRotation:async e=>{let n=await t(e),o=!1;switch(n){case 2:case 4:case 5:case 7:o=!0}return{mirror:o,rotateDeg:0}},loader:e=>{let{src:t,quality:n}=e;return/\.(jpg||jpeg)$/.test(t)?"".concat(t,"?fm=webp&q=").concat(n||80):/\.(svg||gif||png)$/.test(t)?t:"".concat(t,"&q=").concat(n||80)}}},17724:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return I},default:function(){return E}});var o=n(85893),a=n(67294),i=n(45697),r=n.n(i),l=n(1822),p=n.n(l),s=n(29323),c=n(11163),d=n(35941),u={backgroundWrapper:"background-wrapper absolute top-0 w-full",afterBannerEarnCards:{pageTitle:"",bannerSectionWrapper:"w-full bg-couponsBlue pb-10",bannerSection:"earnBannerWrapper banner-section container w-12/12 px-20 xl:px-0 mx-auto relative top-0 md:rounded-rewards",rewardsCardSection:""},waysToEarnBelowBannerText:{wholeContainer:"bg-white container mx-auto relative",mainWrapper:"container mx-auto py-40 text-center text-sign-head relative",heading:"mx-auto w-8/12 md:w-full font-montserratSemiBold font-semibold leading-wider text-30 lg:text-38 lg:leading-noImgLh",description:"mx-auto font-montserratlight font-light text-16 pt-20 leading-lightmedium w-9/12 md:w-9/12 lg:w-5/12 lg:text-18 lg:leading-widest "},rewardsEarnCards:{bannerSection:"startEarnCards banner-section w-full pt-35 md:pt-28 xl:pt-45 pb-05 xl:pb-25 mx-auto relative container mx-auto md:px-13 lg:px-0 top-0 px-40",container:"flex flex-wrap w-full justify-center earnMainWrapper md: mx-auto px-10 md:px-0 md:w-10/12 lg:w-10/12 xl:w-9/12",contentWrapper:"text-center mx-auto container ",headingWrapper:"font-montserratSemiBold font-bold text-sign-head text-24 leading-wider xl:text-32 xl:leading-leading42 pb-25",cardTileWrapper:"w-full pb-15 md:pb-15 lg:pb-0 mx-auto flex flex-wrap  md:flex-row articalmd md:w-4/12 lg:w-4/12 cardItem px-10",cardTileInnerWrapper:"text-center mx-auto container",rewardTileWrapper:"startearningTileWrapper relative shadow-none lg:shadow-articalmd lg:bg-white md:w-6/12 lg:w-252 block xl:w-283 xxl:w-330"},articleCarousel:{carouselWrapper:"featured-earnPoints featured-earnPoints-1",panel:"article-carousel-tile",mainWrapper:"w-full container mx-auto",wrapper:"md:mx-20px bg-rewardsBg pb-45 lg:pb-130",sliderWrapper:"w-full md:w-w-full pt-20 xl:pt-0 mx-auto lg:w-10/12 xl:w-9/12 rticle-carousel xxl:pr-02 featuredcarousel featured-carousel2",cta:"w-full text-center leading-ultralight article-carousel-cta lg:leading-lightmedium card-right-cta-home-feature pt-1 pb-0 lg:pt-11 mt-10px text-14 lg:text-16 font-montserratSemiBold font-semibold mt-0"},homeContainer:{sectionWrapper:"bg-bgcolor w-full pt-15 relative z10 z-4",sectionWrapperRefer:"bg-bgcolor w-full pt-15 relative z10 z-4",sectionWrapperPromo:"w-full relative z10 z-4",sectionWrapperStart:"bg-bgcolor w-full pt-15 relative z10 z-4",mainWrapper:"flex flex-wrap w-full container mx-auto md:pt-15 lg:pt-18 pb-45 md:px-0 lg:pr-20 lg:pl-35 lg:pb-60 ",mainWrapperFeature:"flex flex-wrap w-full container mx-auto pt-15 md:pt-05 lg:pt-18 pb-75 md:px-0 lg:pr-20 lg:pl-20 lg:pb-60 ",mainJoinWrapper:"flex flex-wrap w-full container mx-auto md:p-20 bg-white mb-0 gradient-earnPointsSignup",mainJoinWrapperEp:"flex flex-wrap w-full container mx-auto md:p-20 bg-white mb-0",joinusWrapper:"joinusWrapper xxl:w-4/12 lg:w-5/12 md:w-8/12 w-full px-30 xxl:px-0 mx-auto py-30 flex flex-wrap justify-center",joinusReferWrapper:"earnRefer joinusWrapper lg:w-5/12 md:w-8/12 w-full px-30 md:px-0 mx-auto py-30 flex flex-wrap justify-center",joinusIconSVG:"w-79 h-79",getStartedSignUpBtn:"pt-10 pb-10 px-27 text-primaryCta bg-white font-montserratBold font-bold leading-ultralight text-16 lg:text-primaryCta lg:leading-lightmedium lg:text-18"},content:{pageTitle:"page-title relative text-center text-white py-25 lg:py-30 xl:min-h-84 font-montserratSemiBold font-semibold text-30 lg:text-50 leading-wider lg:leading-leading60 ",pageSubTitle:"w-full font-montserratBold font-bold text-center text-18 lg:text-28 leading-wider lg:leading-wider pt-25 pb-05 lg:pt-35 lg:pb-10 tracking-2 lg:tracking-3",pageDescription:"couponsPageDescription w-11/12 pt-30 pb-35 md:pb-15 xl:pt-40 xl:pb-30 px-10 md:px-0 md:w-10/12 xl:w-8/12 xxl:w-7/12 mx-auto lg:px-0 md:px-15 text-center text-18 font-montserratlight font-light leading-points24",spinnerIconWrapper:"w-full min-h-200 flex items-center",spinnerLoaderWrapper:"w-full min-h-50 flex items-center pb-10",spinnerIcon:"w-40 mx-auto",mainBannerSection:"banner-section w-full mx-auto relative container top-0 md:rounded-rewards flex flex-wrap",bannerSection:"banner-section w-full container pb-0 mx-auto relative top-0 bg-white w-full md:pb-0",couponsCardSection:"coupons-card-section md:flex lg:justify-center mt-8 md:w-11/12 lg:w-9/12 mx-auto",couponWrapper:"couponWrapper pt-10 pb-23 px-15 md:px-20 flex flex-wrap w-full xl:px-06 mx-auto",couponBannerWrapper:"couponWrapper pt-10 pb-23 px-0 flex flex-wrap w-full md:w-11/12 xl:px-60 lg:w-10/12 mx-auto",printCouponsWrapper:"print-coupons w-full flex justify-center pb-40 p-10 p-15",noCouponsToPrint:"bg-white flex items-center justify-center text-center font-montserratlight font-light lg:text-18 leading-lightmedium lg:leading-widest w-11/12 md:w-8/12 xl:w-9/12 mx-auto mt-10px px-60 md:px-75 h-350 md:h-400",noCouponsText:"lg:w-4/12 md:w-8/12 w-full ",noMoreCouponsText:"noMoreCouponsText1 w-full md:w-11/12 xl:w-9/12",noMoreCouponsAvailable:"noMoreCouponsAvailable w-full md:w-11/12 xl:w-9/12",noMoreCouponsButton:"w-full flex justify-center pt-15",basketWrapper:"",tabs:"font-montserratBold font-bold pb-05 w-11/12 mx-auto xl:w-auto md:px-0 xl:px-0",couponsPageSearch:"couponsPageSearch w-full couponsPageSearch pt-20 pb-25 md:pb-15 xl:pt-25 xl:pb-25 px-10 md:px-0 mx-auto lg:px-0 xl:px-25 text-center text-12 font-montserratlight font-light leading-seller18",couponsSearchInput:"font-medium search-form w-11/12 md:w-6/12 lg:w-4/12 couponsSearchInput mx-auto appearance-none focus:outline rounded-none text-center searchField-placeholder text-16 text-couponsBlue bg-footerBg pl-05 py-10 leading-lightmedium xl:leading-widest pr-05 border-1 border-black ",noMoreCouponsSearch:"justify-center text-center noMoreCouponsSearch font-montserratlight font-semibold lg:text-18 leading-lightmedium lg:leading-widest w-10/12 md:w-8/12 xl:w-9/12 mx-auto",couponsSearchCount:"text-center w-full md:w-8/12 lg:w-6/12 mx-auto pb-05",washingtonStateGuidelinesSearch:"washingtonStateGuidelinesSearch pt-05 mx-auto w-11/12 xl:w-10/12 pb-25 md:pb-15 xl:pb-20"},letsGetStarted:{wrapper:"w-full container mx-auto text-center py-90 px-10 bg-couponsBlue text-white",content:"letsGetStarted-Title w-6/12 xl:w-4/12 mx-auto pb-20 font-medium text-16 leading-lightmedium lg:text-18 lg:leading-widest",ctaWrapper:""}},g=n(11267),m=n(89459),x=n(45029),h=n(94382),f=n(63404),w=n(85218),b=n(33555),y=n(3868),v=n(63266),T=n(60143),j=n(71191),k=n(565),S=n(38032),C=n(50298);let W=e=>{var t,n,i;let{pageTitle:r,earnRewardFast:l,pageBackground:s,joinEarnSection:c,everydayActionSectionCollection:W,featuredPromotionsSectionCollection:P,letsGetStartedSectionCollection:z,offerDetailsLabel:N,addToBasketLabel:B,addedToBasketLabel:I,router:E}=e,R={offerDetailsLabel:N,addToBasketLabel:B,addedToBasketLabel:I},[D,G]=(0,a.useState)(null),[_,Z]=(0,a.useState)(!0),A=async()=>{Z(!0);let e=(await v.Z.init([])).sort((e,t)=>e.value+t.value).slice(0,3);v.Z.couponsToDisplay=[...e],Z(!1)};return(0,a.useEffect)(()=>{if(A(),E.asPath.includes("#printAtHome")){var e;let t=new URL("".concat("https://www.pggoodeveryday.com").concat(E.asPath)),n=null==t?void 0:null===(e=t.searchParams)||void 0===e?void 0:e.get("coupon_name");n?E.replace("".concat(C.pahCoupons,"?coupon_name=").concat(n)):E.replace(C.pahCoupons)}!0===h.default.showCompleteProfile20Survey&&!0===h.default.userLoggedIn&&(0,S.kq)(async()=>{await (0,S.km)("1360")||((0,S.GZ)("1360"),h.default.showCompleteProfile20Survey=!1)})},[]),(0,o.jsxs)("div",{"data-nosnippet":!0,className:"bg-bg-color",children:[(0,o.jsxs)("div",{className:"bg-bgcolor",children:[(0,o.jsx)("div",{className:u.backgroundWrapper||"",children:(0,o.jsx)(m.Z,{priority:h.default.priority,className:"w-full",...s})}),(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{className:"bg-couponsBlue",children:(0,o.jsx)("h1",{className:u.content.pageTitle||"",children:r})}),(0,o.jsx)("div",{className:u.afterBannerEarnCards.bannerSectionWrapper||"",children:(0,o.jsx)("div",{className:u.afterBannerEarnCards.bannerSection||"",children:(0,o.jsx)(x.Z,{...c,pageSource:f.coupons,ctaHandler:()=>{h.default.simplifiedSignupFlow=!0,h.default.redirectionUrlAfterSimplifiedSignup=E.asPath,localStorage.setItem("redirectionUrlAfterSimplifiedSignup",E.asPath),localStorage.setItem("simplifiedSignupFlowWithCompleteProfileSurvey",!0),(0,y.Ki)()},styles:"couponsLanding-feature-Card",callToActionsCollection:!1===h.default.userLoggedIn?c.callToActionsCollection:null,description:!1===h.default.userLoggedIn?c.description:null})})}),(0,o.jsxs)("div",{className:u.waysToEarnBelowBannerText.wholeContainer||"",children:[(0,o.jsx)("div",{className:u.rewardsEarnCards.mainContainer||"",children:W&&(0,o.jsx)("div",{className:u.rewardsEarnCards.bannerSection||"",children:(0,o.jsx)("div",{className:u.rewardsEarnCards.container||"",children:W.items.map(e=>{if(e){var t;let n=!(h.default.userLoggedIn&&(null===h.default||void 0===h.default?void 0:null===(t=h.default.profileData)||void 0===t?void 0:t.phone)!==null)&&e.link==="/coupons/".concat(C.brandSaver);switch(e.__typename){case"ContentTypeRichText":return(0,o.jsx)("div",{id:"startEarningSectionReceipt",className:u.rewardsEarnCards.contentWrapper||"",children:(0,o.jsx)("div",{id:"startEarningSection",className:u.rewardsEarnCards.headingWrapper||"",children:(0,a.createElement)(b.Z,{...e,key:e&&e.sys&&e.sys.id})})});case"Tile":if(n)break;return(0,o.jsx)("div",{className:"".concat(u.rewardsEarnCards.rewardTileWrapper).concat(n?"":" phoneNumberLinkWrapper"),children:(0,o.jsx)(w.Z,{styles:"rewards-dashboard-tile",pageSource:f.coupons,...e,textIconName:"arrowHome"})})}}return null})})})}),_?(0,o.jsx)("div",{className:"w-full py-25 my-25 flex justify-center",children:(0,o.jsx)("div",{className:"w-30",children:(0,o.jsx)(d.default,{name:"spinnerCoral"})})}):(0,o.jsx)("div",{children:P&&(0,o.jsx)("div",{className:u.homeContainer.sectionWrapperPromo||"",children:(0,o.jsx)("div",{className:u.homeContainer.mainWrapperFeature||"",children:(0,o.jsxs)("div",{className:u.articleCarousel.sliderWrapper||"",children:[P&&P.items&&P.items.map(e=>e&&"ContentTypeRichText"===e.__typename?(0,a.createElement)(b.Z,{...e,key:e&&e.sys&&e.sys.id,pageSource:f.earnPoints,variant:"feature-earnpoints"}):null),(0,o.jsx)("div",{style:{scrollbarWidth:"none"},className:"flex overflow-y-auto",children:null===v.Z||void 0===v.Z?void 0:null===(t=v.Z.couponsToDisplay)||void 0===t?void 0:t.map(e=>(0,o.jsx)("div",{id:"coupon-".concat(e.id),className:"inline",children:(0,o.jsx)(T.Z,{...e,labels:R,addedToBasket:()=>E.push(C.pahCoupons),closeAllToolTips:D!==e.id,toolTipOpened:e=>G(e),styles:"couponCard",pageSource:"printAtHome"})},null==e?void 0:e.id))}),(0,o.jsx)("div",{className:"flex justify-center",children:null===v.Z||void 0===v.Z?void 0:null===(n=v.Z.couponsToDisplay)||void 0===n?void 0:n.map(e=>(0,o.jsx)("button",{type:"button",onClick:()=>document.getElementById("coupon-".concat(e.id)).scrollIntoView({behavior:"smooth",block:"nearest"}),className:"w-10 h-10 bg-couponsBlue m-10px rounded-full"},null==e?void 0:e.id))})]})})})})]}),(0,o.jsx)("div",{className:u.content.mainBannerSection||"",children:(0,o.jsx)("div",{className:u.content.bannerSection||"",children:(0,o.jsx)("div",{children:(0,o.jsx)(x.Z,{iconName:l.iconName,image:l.image,title:l.title,styles:"coupons-earnRewards",subTitle:l.subTitle,callToActionsCollection:l.callToActionsCollection,pageSource:f.coupons},null==l?void 0:null===(i=l.sys)||void 0===i?void 0:i.id)})})}),!1===h.default.userLoggedIn&&(0,o.jsxs)("div",{className:u.letsGetStarted.wrapper||"",children:[(0,o.jsx)("div",{className:u.letsGetStarted.content||"",children:(0,o.jsx)(k.Z,{markdown:z.items[0].body})}),(0,o.jsx)("div",{className:u.letsGetStarted.ctaWrapper||"",children:(0,o.jsx)(j.Z,{pageSource:f.coupons,...z.items[1],handler:y.Ki})})]})]})]}),(0,o.jsx)(p(),{id:g.Z.__hash,children:g.Z})]})};W.propTypes={pageTitle:r().string.isRequired,earnRewardFast:r().instanceOf(Object).isRequired,pageBackground:r().instanceOf(Object).isRequired,offerDetailsLabel:r().string.isRequired,addToBasketLabel:r().string.isRequired,addedToBasketLabel:r().string.isRequired,router:r().instanceOf(Object).isRequired};var P=(0,c.withRouter)((0,s.Pi)(W)),z=n(87364),N=n(13466);let B=e=>{let{layoutData:t,page:n,couponPage:a}=e;return(0,o.jsxs)(z.Z,{...t,children:[(0,o.jsx)(N.Z,{...n.pageMetadata}),(0,o.jsx)(P,{...a,...n})]})};B.propTypes={layoutData:r().instanceOf(Object).isRequired,page:r().instanceOf(Object).isRequired};var I=!0,E=B}},function(e){e.O(0,[3662,724,1216,5814,1055,3495,1191,6839,6716,8743,7364,5218,5029,143,2888,9774,179],function(){return e(e.s=52519)}),_N_E=e.O()}]);