"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[16342,12423],{935212:function(e,t,r){r.d(t,{II:function(){return o},gO:function(){return l},ge:function(){return n},w1:function(){return i},xP:function(){return a}});var n="https://app.adjust.com/qfxjg4i",o="https://app.adjust.com/7bdjd1g",i="https://www.hellofresh.se/about/app",l="iOS",a="Android"},226745:function(e,t,r){r.d(t,{Am:function(){return o},Ty:function(){return i},cK:function(){return l},eO:function(){return a}});var n=r(935212),o=[{label:"Master Card",imageUrl:"https://cdn.hellofresh.com/payments/icons/mc.svg"},{label:"Visa",imageUrl:"https://cdn.hellofresh.com/payments/icons/visa_logo.svg"},{label:"Discover Net",imageUrl:"https://cdn.hellofresh.com/payments/icons/discovernet.svg"},{label:"American Express",imageUrl:"https://cdn.hellofresh.com/payments/icons/amex_logo.svg"},{label:"Paypal",imageUrl:"https://cdn.hellofresh.com/payments/icons/paypal.svg"}],i={WEEKLY_MENU:"/whitelabel/weekly-menu",PLANS:"/whitelabel/plans",RECIPES:"/whitelabel/recipes/[recipeSlug]"},l={PLANS:"/legacy/funnel-fragment/plans",RECIPE_DETAIL:"/recipe-detail/[...slug]",RECIPES:"/recipes/[[...collection]]"},a={isWorkWithUsEnabled:!0,trustBadgeLinks:{badges:o,enabled:!1},subFooterLinks:{},socialLinks:{pinterest:{disabled:!0,href:""},twitter:{disabled:!0,href:""},facebook:{disabled:!1,href:""},instagram:{disabled:!1,href:""}},hellofreshLinks:{},ourCompanyLinks:{},contactUsLinks:{},workWithUsLinks:{},appDownload:{isEnabled:!1,appStoreLink:n.II,playStoreLink:n.ge,showQRCode:!1,showAppInstall:!1,playStoreImageBadge:""},singleQuestionPlans:{enabled:!1,companyName:"",footerBottomLinks:{},hasOfferTerms:!1},seoFooterConfigByPathname:{},isCCPAEnabled:!1}},212198:function(e,t,r){r.r(t),r.d(t,{FeaturePlayground:function(){return e2},FooterFeature:function(){return eG},metadata:function(){return e4},middlewares:function(){return e1}});var n,o,i,l=r(687800),a=r(827378),c=r(546795),s=r(334765),d=r(686677),u=r(100840),f=r(575491),p=r(119409),h=r(611691),y=r(405241),b=r(267123),g=r(479231),m=r(101518);function Z(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var v={helloshare:["share","raf-share"],freebie:!0},w={freebie:!0},O=(Z(i={},g.Z.DE,v),Z(i,g.Z.AU,v),Z(i,g.Z.NZ,v),Z(i,g.Z.IT,v),Z(i,g.Z.AT,v),Z(i,g.Z.CH,v),Z(i,g.Z.CA,v),Z(i,g.Z.ES,v),Z(i,g.Z.US,w),Z(i,g.Z.GB,w),Z(i,g.Z.BE,w),Z(i,g.Z.NL,w),Z(i,g.Z.LU,w),Z(i,g.Z.SE,w),Z(i,g.Z.DK,w),Z(i,g.Z.FR,w),Z(i,g.Z.IE,{}),Z(i,g.Z.JP,{}),Z(i,g.Z.NO,{}),i),k=function(){var e,t,r=(0,m.Z)(),n=(null===(e=(0,d.useRouter)().query.utm_source)||void 0===e?void 0:e.toString().toLowerCase())||"",o=O[r]||{},i=null===(t=o.helloshare)||void 0===t?void 0:t.includes(n),l=o.freebie&&n.includes("freebie");return i||l},x=r(567942),P=r(235862),j={hellofreshLinks:{},contactUsLinks:{"Help & FAQ":"/factorform/faq"},ourCompanyLinks:{Greens:"/factorform/products/greens",Protein:"/factorform/products/protein",Hydration:"/factorform/products/hydration"},socialLinks:{pinterest:{disabled:!0,href:""},twitter:{disabled:!0,href:""},facebook:{disabled:!1,href:"https://www.facebook.com/factormeals"},instagram:{disabled:!1,href:"https://www.instagram.com/factormeals"}},subFooterLinks:{Accessibility:"/factorform/accessibility","Terms & Conditions":"/factorform/terms","Privacy Policy":"/factorform/privacy-policy","Do Not Sell or Share My Personal Information":"usercentrics"},disclaimer:"*These statements have not been evaluated by the Food and Drug Administration. This product is not intended to diagnose, treat, cure, or prevent any disease."};function S(e,t,r,n,o,i,l){try{var a=e[i](l),c=a.value}catch(e){r(e);return}a.done?t(c):Promise.resolve(c).then(n,o)}var C=(0,x.Z)("footer-feature-config",(n=function(){return function(e,t){var r,n,o,i,l={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(r)throw TypeError("Generator is already executing.");for(;l;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return l.label++,{value:i[1],done:!1};case 5:l.label++,n=i[1],i=[0];continue;case 7:i=l.ops.pop(),l.trys.pop();continue;default:if(!(o=(o=l.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){l=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){l.label=i[1];break}if(6===i[0]&&l.label<o[1]){l.label=o[1],o=i;break}if(o&&l.label<o[2]){l.label=o[2],l.ops.push(i);break}o[2]&&l.ops.pop(),l.trys.pop();continue}i=t.call(e,l)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}}(this,function(e){return[2,r.e(98224).then(r.bind(r,298224))]})},function(){var e=this,t=arguments;return new Promise(function(r,o){var i=n.apply(e,t);function l(e){S(i,r,o,l,a,"next",e)}function a(e){S(i,r,o,l,a,"throw",e)}l(void 0)})})),A=C.ProjectConfigProvider,I=C.configMiddleware,L=C.useConfig,B=function(){var e=L();return(0,P.x)()?function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({},e,j):e},E=function(e){var t=B().singleQuestionPlans,r=(0,b.D)().isMobile,n=(0,y.e)(),o="mobile"===(0,h.S)(),i=k();return t.enabled&&(!n&&r||o)&&e&&!i},D=r(779264),T=r(254725),_=r(401437),U=r(341811),R=r(38246),z=r(221527),X=function(e){var t=(0,U.ck)(),r=(0,z.O)().locale,n=(0,R.Z)(),o=(null==t?void 0:t.seoFooter.filter(function(e){return e.locale===r&&e.brand===n}))||[];if(!o.length)return{links:[],headline:""};var i=o.filter(function(t){var r=t.displayOnPages;return!!r&&r.includes(e)});return i.length?{links:i[0].links||[],headline:i[0].headline||""}:{links:[],headline:""}},F=r(417377);function H(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var M=function(e){var t,r=e.children,n=e.title,o=function(e){if(Array.isArray(e))return e}(t=(0,a.useState)(!1))||function(e,t){var r,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],l=!0,a=!1;try{for(o=o.call(e);!(l=(r=o.next()).done)&&(i.push(r.value),!t||i.length!==t);l=!0);}catch(e){a=!0,n=e}finally{try{l||null==o.return||o.return()}finally{if(a)throw n}}return i}}(t,2)||function(e,t){if(e){if("string"==typeof e)return H(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return H(e,t)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),i=o[0],c=o[1];return(0,l.tZ)(D.Z,{display:"flex",flexDirection:"column",borderTopWidth:1,borderTopStyle:"solid",borderTopColor:"neutral.500",px:"sm-2",py:"sm-2",children:(0,l.BX)(F.Z.Outline,{onClick:function(){return c(!i)},buttonPosition:"right",isOpen:i,children:[(0,l.tZ)(F.Z.Title,{children:n}),(0,l.tZ)(F.Z.Description,{children:r})]})})},N=function(e){var t=X(e.pageName),r=t.links,n=t.headline,o=(0,f.Z)();return 0===r.length||o?null:(0,l.BX)(a.Fragment,{"data-test-id":"seo-footer",children:[(0,l.BX)(D.Z,{display:["none","block"],py:["md-2"],children:[(0,l.tZ)(T.Z,{"data-test-id":"seo-footer-headline",as:"p",type:"body-md-bold",children:n}),(0,l.tZ)(D.Z,{display:["flex"],flexWrap:"wrap",paddingTop:["sm-1"],children:r.map(function(e){var t=e.url,r=e.text;return(0,l.tZ)(D.Z,{width:"25%",paddingBottom:"xxs",children:(0,l.tZ)(_.Z,{type:"body-sm-regular",href:t,styles:{color:"neutral.600",textDecorationLine:"underline"},children:r})},t)})})]}),(0,l.tZ)(D.Z,{display:["flex","none"],width:"100%",children:(0,l.tZ)(D.Z,{width:"100%",children:(0,l.tZ)(M,{title:(0,l.tZ)(T.Z,{type:"body-md-bold",children:n}),children:(0,l.tZ)(D.Z,{paddingLeft:"sm-2",children:r.map(function(e){var t=e.url,r=e.text;return(0,l.tZ)(_.Z,{type:"body-sm-regular",href:t,styles:{color:"neutral.600",textDecorationLine:"underline"},display:"block",paddingLeft:"sm-1",paddingBottom:"xxs",children:r},t)})})})})})]})},W=r(90104),Q=r.n(W),q=r(308043),Y=r(233169),J=r(566158),$=function(e){var t=e.linksJson,r=(0,Y.Z)().push,n=Object.keys(t),o=(0,J.T)(),i=function(e){e.preventDefault();var t=o.startSpan("funnel.footer.main-links-usercentrics");if(void 0===window.UC_UI){t.setAttributes({"link-clicked":!0,"window-undefined":!1,"UC_UI-undefined":!0}),t.end();return}t.setAttributes({"link-clicked":!0,"window-undefined":!1,"UC_UI-undefined":!1}),t.end(),window.UC_UI.showSecondLayer()},c=function(e){var t=e.e,n=e.linkText,o=e.url;t.preventDefault(),r({event:"gaEventTrigger",event_name:"Navigation_QuickLinkClickFooter",gaEventCategory:"navigation",gaEventAction:"quickLinkClickFooter",gaEventLabel:"".concat(n,"|").concat(o)}),window.open(o,"_blank")},s=n.map(function(e){var r=t[e];return r.includes("usercentrics")?(0,l.tZ)(_.Z,{href:"/",type:"body-sm-regular",onClick:i,children:e},e):(0,l.tZ)(a.Fragment,{children:(0,l.tZ)(D.Z,{paddingBottom:"xxs",children:(0,l.tZ)(_.Z,{href:r,onClick:function(t){return c({e:t,linkText:e,url:r})},type:"body-sm-regular",target:"_blank",children:e})})},e)});return(0,l.tZ)(l.HY,{children:s})},V=r(438579),K=r.n(V),G=r(199729),ee=r.n(G),et=function(e){var t=e.href,r=void 0===t?"":t,n=e.label,o=void 0===n?"Trust Badge":n,i=e.imageUrl,a=e.isLast;return(0,l.tZ)(D.Z,{display:"inline",width:["30px","64px"],marginRight:a?"zero":"xs",children:r?(0,l.tZ)(D.Z,{paddingBottom:"xxs",children:(0,l.tZ)(_.Z,{href:r||"#",target:"_blank",type:"body-sm-regular",rel:"noopener noreferrer","aria-label":o,children:(0,l.tZ)(K(),{src:i,alt:"".concat(o," payment method image"),height:40,width:64})})}):(0,l.tZ)(K(),{src:i,alt:"".concat(o," payment method image"),height:40,width:64})})},er=function(){var e=B().trustBadgeLinks,t=ee()(e,"badges",[]),r=(0,q.ZP)("senf-footer").translate;return(0,l.BX)(l.HY,{children:[(0,l.tZ)(D.Z,{"data-test-id":"trust-badges",cursor:"default",paddingBottom:"sm-1",children:(0,l.tZ)(T.Z,{as:"p",type:"body-md-bold",children:r("senf-footer.quality-assurance")})}),(0,l.tZ)(D.Z,{verticalAlign:"middle",children:t.map(function(e,r){return(0,l.tZ)(et,{label:e.label,href:e.href,isLast:r===t.length-1,imageUrl:e.imageUrl},e.label)})})]})},en=function(){var e=(0,q.ZP)("senf-footer").translateRaw;return(0,l.tZ)(_.Z,{href:"#",type:"body-sm-regular",onClick:function(e){e.preventDefault(),window.UC_UI&&window.UC_UI.showSecondLayer()},color:"primary.600","data-test-id":"ccpa-link",children:e("senf-footer.links.ccpa")})},eo=function(){var e=(0,q.ZP)("senf-footer").translate,t=B(),r=t.hellofreshLinks,n=t.ourCompanyLinks,o=t.contactUsLinks,i=t.workWithUsLinks,a=t.isWorkWithUsEnabled,c=t.trustBadgeLinks,s=t.isCCPAEnabled,d=(0,P.x)(),u=c.enabled;return(0,l.tZ)(l.HY,{children:(0,l.BX)(D.Z,{display:["none","flex"],width:"100%",children:[!Q()(r)&&(0,l.BX)(D.Z,{width:"25%",children:[(0,l.tZ)(D.Z,{paddingBottom:"sm-1",children:(0,l.tZ)(T.Z,{type:"body-md-bold",children:e(d?"senf-footer.subBrand.explore":"senf-footer.hellofresh")})}),(0,l.tZ)($,{linksJson:r})]}),!Q()(n)&&(0,l.BX)(D.Z,{width:"25%",children:[(0,l.tZ)(D.Z,{paddingBottom:"sm-1",children:(0,l.tZ)(T.Z,{as:"p",type:"body-md-bold",children:e(d?"senf-footer.subBrand.products":"senf-footer.our-company")})}),(0,l.tZ)(D.Z,{children:(0,l.tZ)($,{linksJson:n})})]}),a&&(0,l.BX)(D.Z,{width:"25%",children:[(0,l.tZ)(D.Z,{paddingBottom:"sm-1",children:(0,l.tZ)(T.Z,{as:"p",type:"body-md-bold",children:e("senf-footer.work-with-us")})}),(0,l.tZ)(D.Z,{children:i&&(0,l.tZ)($,{linksJson:i})})]}),!Q()(o)&&(0,l.BX)(D.Z,{width:"25%",children:[(0,l.tZ)(D.Z,{paddingBottom:"sm-1",children:(0,l.tZ)(T.Z,{as:"p",type:"body-md-bold",children:e("senf-footer.help-center")})}),(0,l.BX)(D.Z,{children:[(0,l.tZ)($,{linksJson:o}),s&&(0,l.tZ)(en,{})]})]}),u&&(0,l.tZ)(D.Z,{width:"25%",children:(0,l.tZ)(er,{})})]})})},ei=function(){var e=(0,q.ZP)("senf-footer").translate,t=B(),r=t.hellofreshLinks,n=t.ourCompanyLinks,o=t.contactUsLinks,i=t.workWithUsLinks,a=t.isWorkWithUsEnabled,c=t.trustBadgeLinks,s=t.isCCPAEnabled,d=(0,P.x)();return(0,l.tZ)(l.HY,{children:(0,l.BX)(D.Z,{children:[!Q()(r)&&(0,l.tZ)(M,{title:(0,l.tZ)(T.Z,{as:"p",type:"body-md-bold",children:e(d?"senf-footer.subBrand.explore":"senf-footer.hellofresh")}),children:(0,l.tZ)(D.Z,{paddingLeft:"md-1",children:(0,l.tZ)($,{linksJson:r})})}),!Q()(n)&&(0,l.tZ)(M,{title:(0,l.tZ)(T.Z,{as:"p",type:"body-md-bold",children:e(d?"senf-footer.subBrand.products":"senf-footer.our-company")}),children:(0,l.tZ)(D.Z,{paddingLeft:"md-1",children:(0,l.tZ)($,{linksJson:n})})}),a&&!Q()(i)&&(0,l.tZ)(l.HY,{children:(0,l.tZ)(M,{title:(0,l.tZ)(T.Z,{as:"p",type:"body-md-bold",children:e("senf-footer.work-with-us")}),children:(0,l.tZ)(D.Z,{paddingLeft:"md-1",children:(0,l.tZ)($,{linksJson:i})})})}),!Q()(o)&&(0,l.tZ)(M,{title:(0,l.tZ)(T.Z,{as:"p",type:"body-md-bold",children:e("senf-footer.help-center")}),children:(0,l.BX)(D.Z,{paddingLeft:"md-1",children:[(0,l.tZ)($,{linksJson:o}),s&&(0,l.tZ)(en,{})]})}),(null==c?void 0:c.enabled)&&(0,l.tZ)(D.Z,{padding:"sm-2",borderTopWidth:"1px",borderTopStyle:"solid",borderTopColor:"neutral.400",children:(0,l.tZ)(er,{})})]})})},el=function(){return(0,l.BX)(l.HY,{children:[(0,l.tZ)(D.Z,{display:["none","flex"],width:"100%",children:(0,l.tZ)(eo,{})}),(0,l.tZ)(D.Z,{display:["block","none"],width:"100%",children:(0,l.tZ)(ei,{})})]})},ea=r(102097),ec=r(935212),es=function(e,t){var r=e?e.split("-")[0]:"en";return{appStoreBadge:"https://cdn.hellofresh.com/us/cms/ER/badges/appstore-badge-".concat(r,".png"),playStoreBadge:t||"https://cdn.hellofresh.com/us/cms/ER/badges/playstore-badge-".concat(r,".png")}},ed={"/":"Home","/login":"Login","/my-account/deliveries/menu":"My Deliveries"},eu=function(e){return ed[e.split("?")[0]||""]||""},ef=r(74138),ep=r(357933),eh=function(e){var t,r,n=e.appStoreBadge,o=e.playStoreBadge,i=e.QRCodeSource,a=e.isAndroid,c=e.isMobile,s=e.showAppInstallSection,d=e.appInstallLink,u=e.handleClick,f=B().appDownload,p=f.showQRCode&&i,h=d||ec.II,y=d||ec.ge,b=(0,l.BX)(D.Z,(t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({display:"flex"},p&&{paddingLeft:["zero","md-2"],justifyContent:"flex-end"}),r=r={flexDirection:p?["column"]:["column","column","row"],children:[(0,l.tZ)(D.Z,{display:[!a&&c?"block":"none","block"],marginRight:"sm-2",children:(0,l.tZ)(_.Z,{onClick:u&&function(){return u(s,a,c)},href:s?h:null==f?void 0:f.appStoreLink,"data-test-id":"app-store-link",children:(0,l.tZ)(ef.ZP,{id:"app-store",src:(0,ep.Z)(n),alt:"apple-store-badge",width:126,height:42,loading:"eager"})})}),(0,l.tZ)(D.Z,{display:[a&&c?"block":"none","block"],children:(0,l.tZ)(_.Z,{onClick:u&&function(){return u(s,a,c)},href:s?y:null==f?void 0:f.playStoreLink,"data-test-id":"play-store-link",children:(0,l.tZ)(ef.ZP,{id:"play-store",src:(0,ep.Z)(o),alt:"google-play-badge",width:126,height:42,loading:"eager"})})})]},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t)),g=(0,l.BX)(D.Z,{display:"flex",flexDirection:["row"],children:[(0,l.tZ)(D.Z,{display:["none","none","block"],children:(0,l.tZ)(ef.ZP,{width:140,height:140,alt:"Download App",src:(0,ep.Z)(i)})}),b]});return p?g:b},ey=function(){var e=(0,ea.Z)(),t=(0,q.ZP)("senf-footer"),r=t.translate,n=t.translateRaw,o=es(e),i=o.appStoreBadge,a=o.playStoreBadge,c=B().appDownload.showQRCode;return(0,l.BX)(D.Z,{textAlign:"left",children:[(0,l.tZ)(T.Z,{id:"app-download-title-desktop",as:"p",type:"body-md-bold",color:"primary.700","data-test-id":"app-download-title-desktop",children:r("senf-footer.app-download.title")}),(0,l.tZ)(T.Z,{id:"app-download-description-desktop",as:"p",my:"sm-2","data-test-id":"app-download-description-desktop",children:r("senf-footer.app-download.description")}),(0,l.tZ)(eh,{appStoreBadge:i,playStoreBadge:a,QRCodeSource:c?n("senf-footer.app-download.QR.code"):""})]})},eb=r(40412),eg=r.n(eb);function em(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function eZ(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}var ev=function(e){var t,r=e.id,n=(0,q.ZP)("senf-footer"),o=n.translate,i=(0,n.translateRaw)("senf-footer.download-our-app-link"),c=(0,Y.Z)().push,s=(0,d.useRouter)().asPath,u=function(e){if(Array.isArray(e))return e}(t=(0,a.useState)(!1))||function(e,t){var r,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],l=!0,a=!1;try{for(o=o.call(e);!(l=(r=o.next()).done)&&(i.push(r.value),!t||i.length!==t);l=!0);}catch(e){a=!0,n=e}finally{try{l||null==o.return||o.return()}finally{if(a)throw n}}return i}}(t,2)||function(e,t){if(e){if("string"==typeof e)return em(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return em(e,t)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),f=u[0],p=u[1],h=eu(s);return(0,l.tZ)(eg(),{onChange:function(e){e&&!f&&(c(eZ({event:"gaEventTrigger",event_name:"Navigation_Scroll",position:"appInstallCTA",gaEventCategory:"navigation",gaEventAction:"scroll",gaEventLabel:"appInstallStoreSection"},h&&{screen:h})),p(!0))},children:(0,l.tZ)(D.Z,{children:(0,l.tZ)(_.Z,{href:i,onClick:function(){c(eZ({event:"gaEventTrigger",event_name:"Navigation_PageCTAclick",user_action:"appInstall",gaEventCategory:"navigation",gaEventAction:"CTA",gaEventLabel:"appInstall"},h&&{screen:h}))},target:"_self",children:(0,l.tZ)(D.Z,{"data-test-id":r,m:"sm-2",textAlign:"center",children:(0,l.tZ)(T.Z,{color:"primary.600",type:"body-md-bold",children:o("senf-footer.download-our-app-title")})})})})})};function ew(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function eO(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}var ek=function(){var e,t=(0,ea.Z)(),r=(navigator&&/iPad|iPhone|iPod/.test(navigator.userAgent)?ec.gO:ec.xP)===ec.xP,n=es(t,B().appDownload.playStoreImageBadge),o=n.appStoreBadge,i=n.playStoreBadge,c=(0,q.ZP)("senf-footer").translateRaw,s=c("senf-footer.app-download-deep-link"),u=(0,d.useRouter)().asPath,f=(0,Y.Z)().push,p=function(e){if(Array.isArray(e))return e}(e=(0,a.useState)(!1))||function(e,t){var r,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],l=!0,a=!1;try{for(o=o.call(e);!(l=(r=o.next()).done)&&(i.push(r.value),!t||i.length!==t);l=!0);}catch(e){a=!0,n=e}finally{try{l||null==o.return||o.return()}finally{if(a)throw n}}return i}}(e,2)||function(e,t){if(e){if("string"==typeof e)return ew(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ew(e,t)}}(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),h=p[0],y=p[1],b=eu(u);return(0,l.tZ)(eg(),{onChange:function(e){e&&!h&&(f(eO({event:"gaEventTrigger",event_name:"Navigation_Scroll",position:"appInstallFooterSection",gaEventCategory:"navigation",gaEventAction:"scroll",gaEventLabel:"appInstallFooterSection",squad:"organic"},b&&{screen:b})),y(!0))},children:(0,l.BX)(D.Z,{backgroundImage:"url(https://cdn.hellofresh.com/footerBanner/gestures_mint.png)",backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat",minHeight:180,height:"100%",px:"sm-2",pt:"sm-2",textAlign:"center",children:[(0,l.tZ)(D.Z,{pb:"sm-1",children:(0,l.tZ)(T.Z,{as:"h3",children:c("senf-footer.app-download-banner01-03-04-title")})}),(0,l.tZ)(D.Z,{pb:"sm-2",children:(0,l.tZ)(T.Z,{as:"p",type:"body-sm-regular",children:c("senf-footer.app-download-banner01-03-04-subtitle")})}),(0,l.tZ)(D.Z,{display:"flex",flexDirection:"row",justifyContent:"center",pb:"sm-2",children:(0,l.tZ)(eh,{appStoreBadge:o,playStoreBadge:i,QRCodeSource:"",isAndroid:r,isMobile:!0,showAppInstallSection:!0,appInstallLink:s,handleClick:function(e,t,r){e&&t&&r&&f(eO({event:"gaEventTrigger",event_name:"Navigation_PageCTAclick",user_action:"FooterPlayStoreAppInstall",gaEventCategory:"navigation",gaEventAction:"CTA",gaEventLabel:"FooterPlayStoreAppInstall",squad:"awareness"},b&&{screen:b})),e&&!t&&r&&f(eO({event:"gaEventTrigger",event_name:"Navigation_PageCTAclick",user_action:"FooterAppStoreAppInstall",gaEventCategory:"navigation",gaEventAction:"CTA",gaEventLabel:"FooterAppStoreAppInstall",squad:"awareness"},b&&{screen:b}))}})})]})})};function ex(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var eP=function(){var e,t=function(e){if(Array.isArray(e))return e}(e=(0,a.useState)(!1))||function(e,t){var r,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],l=!0,a=!1;try{for(o=o.call(e);!(l=(r=o.next()).done)&&(i.push(r.value),!t||i.length!==t);l=!0);}catch(e){a=!0,n=e}finally{try{l||null==o.return||o.return()}finally{if(a)throw n}}return i}}(e,2)||function(e,t){if(e){if("string"==typeof e)return ex(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ex(e,t)}}(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=t[0],n=t[1],o=B().appDownload,i=o.showAppInstall;return((0,a.useEffect)(function(){n(!0)},[]),r&&(null==o?void 0:o.isEnabled))?(0,l.BX)(l.HY,{children:[(0,l.tZ)(D.Z,{display:["none","block"],children:(0,l.tZ)(ey,{})}),(0,l.BX)(D.Z,{display:["block","none"],children:[i&&(0,l.tZ)(ek,{}),!i&&(0,l.tZ)(ev,{id:"app-download-page-link"})]})]}):null},ej=r(565079),eS=function(e){var t=e.linksJson,r=Object.keys(t),n=(0,J.T)(),o=function(e){e.preventDefault();var t=n.startSpan("funnel.footer.bottom-links-usercentrics");if(void 0===window.UC_UI){t.setAttributes({"link-clicked":!0,"window-undefined":!1,"UC_UI-undefined":!0}),t.end();return}t.setAttributes({"link-clicked":!0,"window-undefined":!1,"UC_UI-undefined":!1}),t.end(),window.UC_UI.showSecondLayer()},i=r.map(function(e,n){var i="usercentrics"===t[e],c=t[e],s=n===r.length-1;return(0,l.BX)(a.Fragment,{children:[(0,l.tZ)(D.Z,{"data-test-id":"bottom-links",borderRightWidth:s?0:[1,0],borderRightStyle:s?"none":"solid",borderRightColor:"neutral.400",textAlign:["center","left"],paddingRight:["".concat(s?"zero":"xs"),"sm-1"],paddingLeft:["".concat(0===n?"zero":"xs"),"sm-1"],children:i?(0,l.tZ)(_.Z,{href:"/","data-test-id":e,onClick:o,type:"body-sm-regular",children:e}):(0,l.tZ)(_.Z,{href:c,"data-test-id":e,type:"body-sm-regular",target:"_blank",children:e})}),(0,l.tZ)("br",{})]},e)});return(0,l.tZ)(l.HY,{children:i})},eC=function(){var e=(0,q.ZP)("senf-footer").translate,t=B().subFooterLinks,r=e("senf-footer.hellofresh");return(0,l.tZ)(l.HY,{children:(0,l.BX)(D.Z,{display:"flex",justifyContent:"center",width:"100%",flexDirection:["column-reverse","row","row"],alignItems:["center","baseline","baseline"],children:[(0,l.tZ)(D.Z,{display:"flex",width:["auto","20%"],flexDirection:"row",paddingTop:"xxs",paddingLeft:["zero","xxs"],paddingRight:["zero","sm-1"],children:(0,l.BX)(T.Z,{type:"body-sm-bold","data-test-id":"copyright",suppressHydrationWarning:!0,children:["\xa9"," ",r," ",new Date().getFullYear()]})}),(0,l.tZ)(D.Z,{"data-test-id":"sub-footer-links",display:"flex",flexWrap:["wrap","unset"],justifyContent:["center","flex-start"],flexDirection:"row",width:["100%","80%"],paddingTop:"zero",paddingX:["xs","zero"],paddingBottom:["sm-2","zero"],children:(0,l.tZ)(eS,{linksJson:t})})]})})},eA=r(92465),eI=r.n(eA),eL=function(e){var t,r,n=e.title,o=e.titleId,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["title","titleId"]);return(0,l.BX)("svg",(t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({width:25,height:25,viewBox:"0 0 24 24",fill:"#E1306C",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":o},i),r=r={children:[n?(0,l.tZ)("title",{id:o,children:n}):null,(0,l.tZ)("path",{d:"M12 0c6.627 0 12 5.373 12 12s-5.373 12-12 12S0 18.627 0 12 5.373 0 12 0"}),(0,l.BX)("g",{className:"instagram",children:[(0,l.tZ)("path",{fill:"#fff",d:"M12.242 5.25c-1.9 0-2.137.008-2.883.042-.744.034-1.252.152-1.697.325-.46.179-.85.418-1.238.807a3.426 3.426 0 00-.807 1.238c-.173.445-.291.953-.325 1.697-.034.746-.042.984-.042 2.883s.008 2.137.042 2.882c.034.745.152 1.253.325 1.698.179.46.418.85.807 1.238.388.389.778.628 1.238.806.445.173.953.291 1.697.325.746.034.984.042 2.883.042s2.137-.008 2.882-.042c.745-.034 1.253-.152 1.698-.325a3.43 3.43 0 001.238-.806c.389-.389.628-.779.806-1.238.173-.445.291-.953.325-1.698.034-.745.042-.983.042-2.882 0-1.9-.008-2.137-.042-2.883-.034-.744-.152-1.252-.325-1.697a3.428 3.428 0 00-.806-1.238 3.428 3.428 0 00-1.238-.807c-.445-.173-.953-.291-1.698-.325-.745-.034-.983-.042-2.882-.042m0 1.26c1.867 0 2.088.007 2.825.04.682.032 1.052.146 1.298.241.327.127.56.279.804.523.245.245.396.478.523.804.096.247.21.617.241 1.298.034.738.04.959.04 2.826s-.006 2.088-.04 2.825c-.031.682-.145 1.052-.24 1.298-.128.327-.28.56-.524.804a2.168 2.168 0 01-.804.523c-.246.096-.616.21-1.298.24-.737.035-.958.042-2.825.042-1.867 0-2.088-.007-2.825-.041-.682-.031-1.052-.145-1.299-.24a2.167 2.167 0 01-.804-.524 2.167 2.167 0 01-.523-.804c-.095-.246-.21-.616-.24-1.298-.034-.737-.041-.958-.041-2.825 0-1.867.007-2.088.04-2.826.032-.681.146-1.051.241-1.298.127-.326.279-.56.523-.804.245-.244.478-.396.804-.523.247-.095.617-.21 1.299-.24.737-.034.958-.041 2.825-.041"}),(0,l.tZ)("path",{fill:"#fff",d:"M12.242 14.572a2.33 2.33 0 110-4.66 2.33 2.33 0 010 4.66m0-5.92a3.59 3.59 0 100 7.18 3.59 3.59 0 000-7.18M16.813 8.51a.839.839 0 11-1.678 0 .839.839 0 011.678 0"})]}),(0,l.tZ)("defs",{children:(0,l.tZ)("clipPath",{id:"instagram",children:(0,l.tZ)("path",{fill:"#fff",transform:"translate(.69)",d:"M0 0h48v48H0z"})})})]},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t))},eB=function(e){var t,r,n=e.title,o=e.titleId,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["title","titleId"]);return(0,l.BX)("svg",(t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({width:25,height:25,viewBox:"0 0 48 48",fill:"#1877F2",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":o},i),r=r={children:[n?(0,l.tZ)("title",{id:o,children:n}):null,(0,l.tZ)("path",{d:"M48 24C48 10.745 37.255 0 24 0S0 10.745 0 24c0 11.98 8.776 21.908 20.25 23.708v-16.77h-6.094V24h6.094v-5.288c0-6.014 3.583-9.337 9.065-9.337 2.626 0 5.372.469 5.372.469v5.906h-3.026c-2.981 0-3.911 1.85-3.911 3.748V24h6.656l-1.064 6.938H27.75v16.77C39.224 45.908 48 35.98 48 24"}),(0,l.tZ)("path",{fill:"#fff",d:"M33.342 30.938L34.406 24H27.75v-4.502c0-1.898.93-3.748 3.911-3.748h3.026V9.844s-2.746-.469-5.372-.469c-5.482 0-9.065 3.322-9.065 9.337V24h-6.094v6.938h6.094v16.77a24.174 24.174 0 007.5 0v-16.77h5.592z",className:"facebook"})]},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t))},eE=function(e){var t,r,n=e.title,o=e.titleId,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["title","titleId"]);return(0,l.BX)("svg",(t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({width:25,height:25,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":o},i),r=r={children:[n?(0,l.tZ)("title",{id:o,children:n}):null,(0,l.tZ)("rect",{width:"32",height:"32",rx:"16",fill:"black"}),(0,l.tZ)("path",{d:"M21.1761 7.84375H23.9362L17.9061 14.7536L25 24.1562H19.4456L15.0951 18.4536L10.1172 24.1562H7.35544L13.8052 16.7654L7 7.84375H12.6955L16.6279 13.0562L21.1761 7.84375ZM20.2073 22.4999H21.7368L11.8644 9.4131H10.2232L20.2073 22.4999Z",fill:"white",className:"twitter"})]},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t))},eD=function(e){var t,r,n=e.title,o=e.titleId,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["title","titleId"]);return(0,l.BX)("svg",(t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({width:25,height:25,viewBox:"0 0 24 24",fill:"#E60019",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":o},i),r=r={children:[n?(0,l.tZ)("title",{id:o,children:n}):null,(0,l.tZ)("path",{fill:"#fff",d:"M12 0c6.627 0 12 5.35 12 11.95 0 6.601-5.373 11.952-12 11.952S0 18.552 0 11.95C0 5.35 5.373 0 12 0",className:"pinterest"}),(0,l.tZ)("path",{fill:"#E60019",d:"M12 0C5.373 0 0 5.35 0 11.95c0 5.066 3.16 9.394 7.625 11.135-.109-.944-.198-2.4.04-3.433.216-.934 1.402-5.94 1.402-5.94s-.356-.719-.356-1.771c0-1.662.968-2.902 2.173-2.902 1.027 0 1.52.768 1.52 1.682 0 1.023-.65 2.558-.997 3.984-.286 1.19.603 2.164 1.778 2.164 2.134 0 3.773-2.243 3.773-5.469 0-2.862-2.064-4.859-5.017-4.859-3.418 0-5.422 2.548-5.422 5.184 0 1.023.395 2.124.888 2.724a.355.355 0 01.08.344c-.09.374-.297 1.19-.336 1.358-.05.216-.178.265-.405.157-1.502-.698-2.44-2.872-2.44-4.633 0-3.767 2.746-7.23 7.931-7.23 4.158 0 7.398 2.952 7.398 6.906 0 4.121-2.608 7.436-6.223 7.436-1.214 0-2.36-.63-2.745-1.377l-.751 2.842c-.267 1.043-.997 2.341-1.491 3.138 1.126.344 2.31.531 3.555.531 6.627 0 12-5.35 12-11.95C24 5.35 18.627 0 12 0"})]},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t))},eT=function(e){return!eI()(e)&&!(null==e?void 0:e.disabled)},e_=function(){var e=B().socialLinks,t=e.facebook,r=e.twitter,n=e.instagram,o=e.pinterest,i=eT(t),a=eT(n),c=eT(r),s=eT(o),d=(null==t?void 0:t.href)||"",u=(null==r?void 0:r.href)||"",f=(null==n?void 0:n.href)||"",p=(null==o?void 0:o.href)||"";return(0,l.tZ)(l.HY,{children:(0,l.BX)(D.Z,{"data-test-id":"social-links",display:"flex",flexDirection:"row",width:["auto","70%"],justifyContent:"space-evenly",paddingX:"zero",paddingY:["sm-2","zero"],children:[i&&(0,l.tZ)(D.Z,{paddingRight:["xs","zero","zero"],paddingLeft:["xs","zero","zero"],children:(0,l.tZ)(_.Z,{href:d,target:"_blank",rel:"noopener noreferrer",children:(0,l.tZ)(eB,{title:"facebook",titleId:"facebook"})})}),c&&(0,l.tZ)(D.Z,{paddingRight:["xs","zero","zero"],paddingLeft:["xs","zero","zero"],children:(0,l.tZ)(_.Z,{href:u,target:"_blank",rel:"noopener noreferrer",children:(0,l.tZ)(eE,{title:"twitter",titleId:"twitter"})})}),s&&(0,l.tZ)(D.Z,{paddingRight:["xs","zero","zero"],paddingLeft:["xs","zero","zero"],children:(0,l.tZ)(_.Z,{href:p,target:"_blank",rel:"noopener noreferrer",children:(0,l.tZ)(eD,{title:"pinterest",titleId:"pinterest"})})}),a&&(0,l.tZ)(D.Z,{paddingRight:["xs","zero","zero"],paddingLeft:["xs","zero","zero"],children:(0,l.tZ)(_.Z,{href:f,target:"_blank",rel:"noopener noreferrer",children:(0,l.tZ)(eL,{title:"instagram",titleId:"instagram"})})})]})})},eU=function(){var e=B().disclaimer;return(0,l.BX)(D.Z,{display:"flex",flexDirection:["column-reverse","row","row"],width:["100%","100%","1150px"],justifyContent:"center",alignItems:["center","left","left"],backgroundColor:"neutral.100",children:[(0,l.tZ)(D.Z,{width:["auto","90%","80%"],children:(0,l.tZ)(eC,{})}),e&&(0,l.BX)(D.Z,{display:["block","none","none"],children:[(0,l.tZ)(D.Z,{mx:"xs",px:"xs",py:"xs",borderColor:"neutral.500",borderWidth:1,borderStyle:"solid",children:(0,l.tZ)(T.Z,{color:"neutral.600",type:"body-sm-regular",children:e})}),(0,l.tZ)(ej.Z,{variant:"horizontal",mx:"zero",my:"md-2"})]}),(0,l.tZ)(D.Z,{width:["auto","30%","20%"],children:(0,l.tZ)(e_,{})})]})},eR=function(e){var t=e.isPlansPage,r=e.pathname,n=B(),o=n.seoFooterConfigByPathname,i=n.disclaimer,a=o[r]||{},c=(0,P.x)();return(0,l.tZ)("footer",{"data-test-id":"common-footer",children:(0,l.tZ)(D.Z,{id:"footer-particle","data-new-footer":"true","data-footer-mounted":"true",children:(0,l.BX)(D.Z,{backgroundColor:"neutral.100",display:"flex",alignItems:"center",borderTopWidth:"1px",borderTopStyle:"solid",borderTopColor:"neutral.400","data-test-id":"footer-main-wrapper",flexDirection:"column",children:[(0,l.tZ)(D.Z,{display:"flex",width:"100%",padding:["zero","lg-1","lg-1"],justifyContent:"center",children:(0,l.BX)(D.Z,{display:"flex",width:["100%","100%","1150px"],flexDirection:["column","row"],flexWrap:"wrap",children:[a.enabled&&(0,l.tZ)(N,{pageName:a.pageName||""}),(0,l.tZ)(D.Z,{display:"flex",justifyContent:"space-evenly",width:["100%","70%"],children:(0,l.tZ)(el,{})}),(0,l.tZ)(D.Z,{width:["100%","30%"],order:[-1,1],children:!c&&(0,l.tZ)(eP,{})})]})}),i&&(0,l.tZ)(D.Z,{display:["none","flex"],px:"md-2",py:"md-1",children:(0,l.tZ)(D.Z,{px:"md-1",py:"sm-1",alignContent:"center",borderColor:"neutral.500",borderWidth:1,borderStyle:"solid",children:(0,l.tZ)(T.Z,{color:"neutral.600",type:"body-sm-regular",children:i})})}),(0,l.tZ)(D.Z,{"data-test-id":"footer-bottom-links",borderTopWidth:"1px",borderTopStyle:"solid",borderTopColor:"neutral.400",width:"100%",padding:["zero","md-1","md-1"],marginBottom:[t?"xl-2":"sm-1","zero"],display:"flex",justifyContent:"space-around",children:(0,l.tZ)(eU,{})})]})})})},ez=r(468891),eX=function(e){var t=e.linksJson,r=(0,d.useRouter)().query,n=(0,ez.stringify)(r),o=Object.keys(t),i=o.map(function(e,r){var i=t[e],a=n?"".concat(i,"?").concat(n):i,c=r===o.length-1;return(0,l.tZ)(D.Z,{borderRightWidth:c?0:["1px",0],borderRightStyle:"solid",borderRightColor:"neutral.400",paddingRight:["".concat(c?"zero":"xs"),"md-1"],marginLeft:["".concat(0===r?"zero":"xs"),"zero"],children:(0,l.tZ)(_.Z,{href:a,"data-test-id":e,type:"body-sm-regular",target:"_blank",customColor:"neutral.600",prefetch:!1,children:e})},e)});return(0,l.tZ)(l.HY,{children:i})},eF=r(718583),eH=r(88548),eM=r(897681),eN=r(635261),eW=r(967083),eQ=r(456409);function eq(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var eY="funnel.plans.singleQuestionFlow.offerTerms",eJ=function(){var e,t,r,n,o,i,c,s,u,f=function(e){if(Array.isArray(e))return e}(e=(0,a.useState)(!1))||function(e,t){var r,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],l=!0,a=!1;try{for(o=o.call(e);!(l=(r=o.next()).done)&&(i.push(r.value),!t||i.length!==t);l=!0);}catch(e){a=!0,n=e}finally{try{l||null==o.return||o.return()}finally{if(a)throw n}}return i}}(e,2)||function(e,t){if(e){if("string"==typeof e)return eq(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return eq(e,t)}}(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),p=f[0],h=f[1],y=(0,q.ZP)("funnel.plans.singleQuestionFlow"),b=y.translate,g=y.translateRaw,m=(0,d.useRouter)(),Z=m.query.discount_comm_id,v=["funnel.plans.singleQuestionFlow.genPop.discount_comm_id.1","funnel.plans.singleQuestionFlow.genPop.discount_comm_id.2","funnel.plans.singleQuestionFlow.genPop.discount_comm_id.3"].some(function(e){return Z===g(e)}),w=null!==(u=(0,a.useMemo)(function(){return eF.ZP.getItem("StoredCouponCode")},[]))&&void 0!==u?u:"",O=(0,eW.Z)().data,k=(0,eM.iQ)(),x=(null==k?void 0:null===(r=k.items)||void 0===r?void 0:null===(t=r[0])||void 0===t?void 0:t.sku)||"",P=null==O?void 0:null===(i=O.plans)||void 0===i?void 0:null===(o=i[0])||void 0===o?void 0:null===(n=o.children)||void 0===n?void 0:n.map(function(e){return e.handle}),j=m.query.c||w||(null==k?void 0:k.voucher)||"",S=x?[x]:P||[],C=x||S[0],A=(0,eN.m)({productSkus:S,voucherCode:j},{enabled:!!j&&S.length>0,suspense:!1}).data,I=null==A?void 0:null===(s=A.presets)||void 0===s?void 0:null===(c=s[C])||void 0===c?void 0:c.funnel_discount_offer_terms;return g(eY)||I?(0,l.BX)(D.Z,{"data-test-id":"offer-terms",backgroundColor:"neutral.100",display:"flex",flexDirection:"column",children:[(0,l.tZ)(ej.Z,{my:"zero"}),(0,l.tZ)(D.Z,{px:"sm-1",children:(0,l.BX)(F.Z.Outline,{onClick:function(){return h(!p)},buttonPosition:"right",isOpen:p,buttonStyle:"plain",leadingTitleIcon:(0,l.tZ)(eH.default,{color:"neutral.800"}),children:[(0,l.tZ)(F.Z.Title,{children:(0,l.tZ)(T.Z,{"data-test-id":"offer-terms-title",type:"body-sm-bold",color:"neutral.800",children:b("funnel.plans.singleQuestionFlow.offerTerms.title")})}),(0,l.tZ)(D.Z,{px:v?"zero":"sm-1",children:(0,l.tZ)(F.Z.Description,{children:(0,l.tZ)(D.Z,{lineHeight:"line-height-sm-1",children:(0,l.tZ)(T.Z,{as:"span",type:"body-xs-regular",color:"neutral.700","data-test-id":"offer-terms-text",children:v?b("funnel.plans.singleQuestionFlow.offerTerms.genPop"):I?(0,l.tZ)(eQ.Z,{copy:I,hasMarkdown:!0}):b(eY)})})})})]})})]}):null},e$=function(){var e=(0,d.useRouter)().query,t=B().singleQuestionPlans,r=t.footerBottomLinks,n=t.companyName,o=t.hasOfferTerms,i=!e.step||"1"===e.step;return(0,l.BX)(l.HY,{children:[i&&o&&(0,l.tZ)(eJ,{}),(0,l.tZ)(ej.Z,{variant:"horizontal",my:"zero"}),(0,l.tZ)(D.Z,{"data-test-id":"single-question-plans-footer",width:"100%",pt:"sm-2",pb:"xl-2",px:"xxs",backgroundColor:"neutral.100",children:(0,l.BX)(D.Z,{display:"flex",justifyContent:"center",flexDirection:"column-reverse",alignItems:"center",children:[(0,l.BX)(D.Z,{display:"flex",flexDirection:"row",justifyContent:"start",children:[(0,l.tZ)(T.Z,{type:"body-sm-regular",as:"p","data-test-id":"copyright",children:"\xa9"}),(0,l.tZ)(D.Z,{px:"xxs",children:(0,l.BX)(T.Z,{type:"body-sm-regular",as:"p","data-test-id":"company-name",children:[n," "]})}),(0,l.tZ)(T.Z,{type:"body-sm-regular",as:"p","data-test-id":"current-year",children:new Date().getFullYear()})]}),(0,l.tZ)(D.Z,{display:"flex",px:"xxs",pb:"sm-2",flexDirection:"row",justifyContent:"center",children:(0,l.tZ)(eX,{linksJson:r})})]})})]})},eV=r(226745),eK=function(){var e=(0,d.useRouter)().pathname,t=(0,p.n)(),r=e===eV.cK.PLANS||e===eV.Ty.PLANS,n=E(r),o=(0,u.a)().isPrimeCustomerRegisterPage,i=(0,f.Z)();return o&&i||t?null:n?(0,l.tZ)(e$,{}):(0,l.tZ)(eR,{isPlansPage:r,pathname:e})},eG=function(){return(0,l.tZ)(s.Z,{claim:{name:"curation",githubTeam:"hellofresh/squad-curation",tribe:"conversions-us",alliance:"growth",jiraPrefix:"USCRO",slackChannel:"#squad-curation",slackAlertsChannel:"#squad-curation",skipLabelsOnPR:!1,teamIdentifier:"curation"},children:(0,l.tZ)(c.Z,{scope:"footer",children:(0,l.tZ)(A,{children:(0,l.tZ)(eK,{})})})})};function e0(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var e1=[I].concat(function(e){if(Array.isArray(e))return e0(e)}(o=(0,r(512423).Z)(["senf-footer"]))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(o)||function(e,t){if(e){if("string"==typeof e)return e0(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return e0(e,t)}}(o)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),e2=function(){return(0,l.BX)(D.Z,{display:"flex",alignItems:"center",flexDirection:"column",children:[(0,l.tZ)(D.Z,{mb:"md-1",children:(0,l.tZ)(T.Z,{type:"body-xxl-bold",children:"Footer Feature"})}),(0,l.tZ)(eG,{})]})},e4={claim:{name:"curation",githubTeam:"hellofresh/squad-curation",tribe:"conversions-us",alliance:"growth",jiraPrefix:"USCRO",slackChannel:"#squad-curation",slackAlertsChannel:"#squad-curation",skipLabelsOnPR:!1,teamIdentifier:"curation"},status:"Complete",description:"This feature is a footer component that is displayed at the bottom of the page. It contains links to various pages on the website."}},512423:function(e,t,r){var n=r(487249),o=r.n(n);t.Z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return[o()(e),o()(e)]}}}]);