"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7573],{78381:function(e,t,n){n.d(t,{AR:function(){return s},ZZ:function(){return c}});var a=n(43631),r=n(96486),o=n.n(r);let i=(0,a.qY)(),c=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==i?void 0:i.name)==="safari"&&(e="png"),n="".concat(n,"?fm=").concat(e)}return o().isEmpty(t)||(n="".concat(n)),n.replace(/([^:])(\/\/+)/g,"$1/")},s=(e,t)=>e?t&&t<4e3?"".concat(e,"?w=").concat(t,"&fm=webp&q=80"):"".concat(e,"?fm=webp&q=80"):""},28275:function(e,t){t.Z=e=>{switch(e){case"Red":return"#DD3447";case"Blue":return"#267EA6";case"Green":return"#57AB58";case"DarkPink":return"#C7008E";case"Teal":return"#2BAD9A";case"DarkTeal":return"#1C798B";case"BrightBlue":return"#0D53CA";case"DarkGreen":return"#246D38";default:return null}}},89459:function(e,t,n){var a=n(85893);n(67294);var r=n(45697),o=n.n(r),i=n(1216),c=n(25675),s=n.n(c),l=n(25967),p=n.n(l),g=n(78381),d=n(63266),m=n(10486),u=n(86661),h=n(8848);let y=e=>{let{altText:t,image:n,desktopImage:r,smartphoneImage:o,tabletImage:c,tooltip:l,className:y,lazyLoad:f,lazyloadOffset:w,priority:x,name:b}=e,j=e=>"false"!==f?(0,a.jsx)(i.ZP,{offset:w,children:e}):e,v=()=>{(0,u.cl)(h.knq,{})},T=e=>{(0,u.cl)(h.OfS,{imageDetails:{desktopImage:r,smartphoneImage:o,tabletImage:c,image:n},pageUrl:e.currentTarget.baseURI})};if(null==n?void 0:n.url){let e="";return e=n.url.includes("/coupons/")?"".concat(d.Z.imageSuffix).concat(n.url):"".concat(n.url),j((0,a.jsx)("div",{className:y||"w-full",children:(0,a.jsx)(s(),{src:(0,g.ZZ)(e,{w:n.width},10),alt:null!==t?"".concat(t.trim()):"".concat(b),width:n.width||275,height:n.height||117,tooltip:l,loader:m.loader,priority:x,onLoad:v,onError:T})}))}return j((0,a.jsxs)("picture",{children:[(0,a.jsx)("source",{media:"(max-width: 580px)",srcSet:(0,g.AR)(o&&o.url)}),(0,a.jsx)("source",{media:"(max-width:".concat(p().smartPhoneWidth,"px)"),srcSet:(0,g.AR)(o&&o.url,768)}),(0,a.jsx)("source",{media:"(max-width:".concat(p().tabletWidth,"px)"),srcSet:(0,g.AR)(c&&c.url,1024)}),(0,a.jsx)("source",{srcSet:(0,g.AR)(r&&r.url)}),(0,a.jsx)("img",{className:y,src:(0,g.AR)(r&&r.url,1440),alt:null!==t?"".concat(t.trim()):"".concat(b),width:(null==r?void 0:r.width)||1440,height:(null==r?void 0:r.height)||400,onLoad:v,onError:T})]}))};y.propTypes={altText:o().string,className:o().string,image:o().shape({url:o().string}),desktopImage:o().shape({url:o().string}),smartphoneImage:o().shape({url:o().string}),tabletImage:o().shape({url:o().string}),tooltip:o().string,children:o().instanceOf(Object),lazyLoad:o().string,isSVG:o().string,priority:o().bool,name:o().string},y.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=y},13466:function(e,t,n){var a=n(85893);n(67294);var r=n(9008),o=n.n(r),i=n(45697),c=n.n(i),s=n(11163),l=n(80558);function p(e){let{pageTitle:t,metaTitle:n,metaDescription:r,metaKeywords:i,metaTagKeywords:c,metaImage:s,openGraphPageTitle:p,openGraphDescription:g,openGraphImage:d,openGraphSiteName:m,openGraphType:u,router:h,addGenericSchema:y,h1Text:f}=e,w=h.asPath,x=w.indexOf("?")>-1?w.substr(0,w.indexOf("?")):w,b="/"!==x[x.length-1]?"".concat(x,"/"):x;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(o(),{children:[(0,a.jsx)("title",{children:t}),(0,a.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),n&&(0,a.jsx)("meta",{name:"title",content:n}),(i||c)&&(0,a.jsx)("meta",{name:"keywords",content:"".concat(i||"").concat(c||"")}),r&&(0,a.jsx)("meta",{name:"description",content:r}),s&&(0,a.jsx)("meta",{name:"image",content:s.url}),p&&(0,a.jsx)("meta",{property:"og:title",content:n}),g&&(0,a.jsx)("meta",{property:"og:description",content:r}),d&&(0,a.jsx)("meta",{property:"og:image",content:d.url}),m&&(0,a.jsx)("meta",{property:"og:site_name",content:m}),u&&(0,a.jsx)("meta",{property:"og:type",content:m}),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("meta",{property:"og:url",content:"".concat("https://www.pggoodeveryday.com").concat(h.asPath)}),(0,a.jsx)("link",{rel:"canonical",href:"".concat("https://www.pggoodeveryday.com").concat(1===b.length?"":b)})]})]}),y&&(0,a.jsx)(l.Z,{router:h,headline:t,description:r,image:s&&s.url}),f&&(0,a.jsx)("span",{role:"region","aria-labelledby":"title",children:(0,a.jsx)("span",{id:"title",className:" absolute -top-50 z-0",children:f&&(0,a.jsx)("h1",{className:"fixed -top-75 campaignTop text-16 w-auto text-white block",children:f})})})]})}p.propTypes={pageTitle:c().string,metaTitle:c().string,metaKeywords:c().string,metaTagKeywords:c().string,metaDescription:c().string,metaImage:c().shape({url:c().string}),openGraphPageTitle:c().string,openGraphDescription:c().string,openGraphSiteName:c().string,openGraphType:c().string,openGraphImage:c().shape({url:c().string}),addGenericSchema:c().bool,router:c().instanceOf(Object).isRequired,h1Text:c().string},p.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,s.withRouter)(p)},80558:function(e,t,n){var a=n(85893);n(67294);var r=n(45697),o=n.n(r),i=n(9008),c=n.n(i),s=n(11163),l=n(29238),p=n.n(l);function g(e){let{router:t,headline:n,description:r,image:o,datePublished:i,pageType:s,publisherType:l,dateModified:g,videoSchemaData:d}=e,m=new Date(i),u=new Date(g),h="".concat(u.getFullYear(),"-").concat(u.getMonth()+1,"-").concat(u.getDate()),y="".concat(m.getFullYear(),"-").concat(m.getMonth()+1,"-").concat(m.getDate());return(0,a.jsxs)(c(),{children:[(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:p().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,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:p().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"!==s&&(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:p().sanitize('\n {\n "@context": "https://schema.org",\n "@type": "'.concat(s,'",\n ').concat("Article"===s?'"mainEntityOfPage": {\n "@type": "WebPage",\n "@id": "'.concat("https://www.pggoodeveryday.com").concat(null==t?void 0:t.asPath.split("?")[0],'"\n },'):"",'\n "').concat("Article"===s?"headline":"name",'": "').concat(n,'",\n "description": "').concat(r,'",\n ').concat(o?'"image": "'.concat(o,'",'):"",'\n "publisher": {\n "@type": "').concat(l,'",\n "name": "P&G Good Everyday"\n ').concat("ProfilePage"!==l?',"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(i?',"datePublished": "'.concat(y,'"'):"","\n ").concat(g?',"dateModified":"'.concat(h,'"'):"","\n }\n ")).replace(/\s+/g," ").trim()}}),d&&(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:p().sanitize('\n {\n "@context": "http://schema.org",\n "@type": "VideoObject",\n "name": "'.concat(d.name,'",\n "description": "').concat(d.description,'",\n "thumbnailUrl": "').concat(d.thumbnailUrl,'",\n "uploadDate": "').concat(d.uploadDate,'",\n "duration": "').concat(d.duration,'",\n "embedUrl": "').concat(d.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"===s&&(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:p().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(r,'", \n \n "image": "').concat(o,'", \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(y,'",\n "dateModified":"').concat(h,'"\n \n } \n \n ')).replace(/\s+/g," ").trim()}})]})}g.propTypes={router:o().instanceOf(Object).isRequired,headline:o().string,description:o().string,image:o().string,datePublished:o().string,dateModified:o().string,pageType:o().string,publisherType:o().string,videoSchemaData:o().oneOfType([o().object])},g.defaultProps={description:"",image:null,headline:"",datePublished:"2020-01-14",pageType:"WebPage",publisherType:"ProfilePage",dateModified:null,videoSchemaData:null},t.Z=(0,s.withRouter)(g)},10486:function(e){let t=e=>new Promise((t,n)=>{let a=new FileReader;a.onload=e=>{try{let n=new DataView(e.target.result);65496!==n.getUint16(0,!1)&&t(-2);let a=n.byteLength,r=2;for(;r<a;){let e=n.getUint16(r,!1);if(r+=2,65505===e){r+=2,1165519206!==n.getUint32(r,!1)&&t(-1);let e=18761===n.getUint16(r+=6,!1);r+=n.getUint32(r+4,e);let a=n.getUint16(r,e);r+=2;for(let o=0;o<a;o+=1)274===n.getUint16(r+12*o,e)&&t(n.getUint16(r+12*o+8,e))}else if(65280!==(e&&65280))break;else r+=n.getUint16(r,!1)}t(-1)}catch(e){n(e)}},a.readAsArrayBuffer(e.slice(0,65536))});e.exports={getCorrectedRotation:async e=>{let n=await t(e),a=!1;switch(n){case 2:case 4:case 5:case 7:a=!0}return{mirror:a,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)}}}}]);