PageSourceSearch

https://www.hellofresh.co.nz/_next/static/chunks/54285.be2db4f21580bdb1.js

js hellofresh.co.nz collected 2026-09-26 10:55:28 UTC 53,279 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[54285,1243,78734],{392077:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.PageEntity_v3_0_0=void 0;class n{constructor(e){this.pageName=e}toJSON(){return{page_name:this.pageName}}}t.PageEntity_v3_0_0=n},299736:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.UserInteractionEvent_v4_0_0=void 0;class n{constructor(e,t,n,r){this.actionType=e,this.interactionType=t,this.target=n,this.uiElementType=r}toJSON(){return{action_type:this.actionType,interaction_type:this.interactionType,target:this.target,ui_element_type:this.uiElementType}}}t.UserInteractionEvent_v4_0_0=n},854675:function(e,t,n){t.c=void 0;let r=n(635257),o=n(855451),i=n(135893),a=n(773688),l=n(299736),c=n(392077);class u{static janusEvent(){let e=this.event(),t=this.page(),n=this.specification(),o=this.specificationVersion();return new r.JanusEvent(e,[n,o].concat([t]))}static specification(){let e=new i.EventSpecificationEntity("d0b9f25a-90c6-4d67-bd5e-699546d7c9fa","LandingPage_Select_Navigation_Link_Click","fd8120dc-8f7c-47a8-9174-60f10a5f805d","Universal",null);return new o.JanusSchema("iglu:com.snowplowanalytics.snowplow/event_specification/jsonschema/1-0-3",e.toJSON())}static specificationVersion(){let e=new a.EventSpecificationVersionEntity(0);return new o.JanusSchema("iglu:com.hellofresh/event_specification_version/jsonschema/1-0-0",e.toJSON())}static event(){let e=new l.UserInteractionEvent_v4_0_0("Click","Select","Navigation","Link");return new o.JanusSchema("iglu:com.hellofresh/user_interaction/jsonschema/4-0-0",e.toJSON())}static page(){let e=new c.PageEntity_v3_0_0("LandingPage");return new o.JanusSchema("iglu:com.hellofresh/page/jsonschema/3-0-0",e.toJSON())}}t.c=u},870771:function(e,t,n){n.d(t,{Fv:function(){return o},ck:function(){return a},gi:function(){return r},m4:function(){return i}});var r="hf_prefill_zipcode",o="enable_rp_web",i="hf_public_id",a=["/pages/cook-this-big-idea","/pages/inspiration-delivered","/pages/simplydelicious","/pages/resolution","/pages/value-messaging","/pages/cucinare-smart","/pages/meal-kit-delivery","/pages/deliciosamente-simple-1","/
1pages/discountcode","/pages/b2bdiscount"]},553911:function(e,t,n){var r=n(687800),o=n(827378),i=n(72344),a=n(727650),l=n(497249),c=n(165218),u=n.n(c)()(function(){return Promise.resolve().then(n.bind(n,72344))},{loadableGenerated:{webpack:()=>[null]},ssr:!1});t.Z=function(e){var t,n,c=e.hasMarkdown,s=e.copy,d=e.markdownOptions,f=e.noSSR,b=e.allowedAttrs,p=e.config,m=(0,l.T)(),y="string"==typeof s?s.replace(/[ \t]{9,}/g," ".repeat(8)):s,g=(0,a.sanitize)(y,(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({ADD_ATTR:void 0===b?[]:b},void 0===p?{}:p),n=n={RETURN_DOM:!1,RETURN_DOM_FRAGMENT:!1},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t));return((0,o.useEffect)(function(){if((s||"")!==g){var e=m.startSpan("sanitize-content-libray");e.setAttributes({"sanitize-content-libray":!0,"sanitize-error-detected":s!==g,"sanitize-message":"HTML content has been sanitized. Please check the content to ensure it is safe.","sanitize-original-content":s,"sanitize-sanitized-content":g}),e.end()}},[s,g,m]),c)?f?(0,r.tZ)(u,{options:d,children:g}):(0,r.tZ)(i.default,{options:d,children:g}):(0,r.tZ)("div",{dangerouslySetInnerHTML:{__html:g}})}},990231:function(e,t,n){var r,o,i,a,l;n.d(t,{H6:function(){return o},lj:function(){return r},rZ:function(){return i}}),(a=r||(r={})).SINGLE_DELIVERY_FORM="SINGLE_DELIVERY_FORM",a.SINGLE_PAYMENT_FORM="SINGLE_PAYMENT_FORM",a.SINGLE_UNPAUSE_PAYMENT_FORM="SINGLE_UNPAUSE_PAYMENT_FORM",a.ADD_PAYMENT_METHOD_FORM="ADD_PAYMENT_METHOD_FORM",(l=o||(o={})).SINGLE_DELIVERY_FORM_REJECTED="SINGLE_DELIVERY_FORM_REJECTED",l.SINGLE_PAYMENT_FORM_REJECTED="SINGLE_PAYMENT_FORM_REJECTED",l.SINGLE_UNPAUSE_PAYMENT_FORM_REJECTED="SINGLE_UNPAUSE_PAYMENT_FORM_REJECTED",l.ADD_PAYMENT_METHOD_FORM_REJECTED="ADD_PAYMENT_METHOD_FORM_REJECTED",(i||(i={})).SUCCESS_PAYMENT_FORM="SUCCESS_PAYMENT_FORM"},870199:function(e,t,n){n.d(t,{f:function(){return y},Z:function(){return g}});var r,o=n(687800),i=n(827378),a=n(761403),l=n(189452),c=n(165218),u=n.n(c),s=n(169821),d=n(158256);function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b=(f(r={},d.nK.bounceModal,function(){return Promise.all([n.e(12737),n.e(78526),n.e(30816),n.e(20264),n.e(20828),n.e(52291)]).then(n.bind(n,594803))}),f(r,d.nK.genericModal,function(){return n.e(10783).then(n.bind(n,110783))}),f(r,d.nK.communityDiscountModal,function(){return Promise.all([n.e(47057),n.e(5441),n.e(61785)]).then(n.bind(n,561785))}),f(r,d.nK.communityPerksModal,function(){return Promise.all([n.e(47057),n.e(38579),n.e(12737),n.e(78526),n.e(30816),n.e(20264),n.e(20828),n.e(99184),n.e(5441),n.e(15263)]).then(n.bind(n,151949))}),f(r,d.nK.subscriptionSettingsModal,function(){return Promise.all([n.e(12737),n.e(78526),n.e(30816),n.e(20264),n.e(20828),n.e(28004),n.e(7965),n.e(33040)]).then(n.bind(n,508402))}),f(r,d.nK.paymentMethodModal,function(){return Promise.all([n.e(38579),n.e(12737),n.e(78526),n.e(30816),n.e(20264),n.e(20828),n.e(90730),n.e(56370)]).then(n.bind(n,169881))}),f(r,d.nK.deliveryAddressModal,function(){return Promise.all([n.e(47057),n.e(14206),n.e(9432),n.e(37384),n.e(63581),n.e(50182)]).then(n.bind(n,859149))}),f(r,d.nK.mealSelectionCompletionModal,function(){return Promise.all([n.e(47057),n.e(38579),n.e(17827),n.e(52463),n.e(34330),n.e(16709),n.e(15540),n.e(10681)]).then(n.bind(n,519003))}),f(r,d.nK.snapDialogPaidOrderModal,function(){return Promise.all([n.e(38579),n.e(87365)]).then(n.bind(n,687365))}),f(r,d.nK.xsellOrderSuccessModal,function(){return Promise.all([n.e(47057),n.e(35730)]).then(n.bind(n,435730))}),f(r,d.nK.standaloneHighRiskModal,function(){return n.e(49506).then(n.bind(n,649506))}),f(r,d.nK.loyaltyOptInModal,function(){return Promise.all([n.e(38579),n.e(2715),n.e(83394),n.e(87918),n.e(96715),n.e(47953),n.e(48248),n.e(81298)]).then(n.bind(n,185395))}),f(r,d.nK.loyaltyMissionIntroModal,function(){return Promise.all([n.e(47057),n.e(38579),n.e(73020),n.e(97077),n.e(59546)]).then(n.bind(n,59546))}),f(r,d.nK.loyaltyOnboardingModal,function(){return Promise.all([n.e(38579),n.e(26116),n.e(18451)]).then(n.bind(n,718451))}),f(r,d.nK.doubleProteinOnboardingModal,function(){return n.e(56828).then(n.bind(n,256828))}),f(r,d.nK.referralNudgeModal,function(){return Promise.all([n.e(38579),n.e(3657)]).then(n.bind(n,903657))}),r),p=function(e){var t=e.modalKey,n=e.isActive,r=u()(b[t]);return n?(0,o.tZ)(s.Z,{suspense:!0,children:(0,o.tZ)(r,{},t)}):null};function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}"test"!==(0,l.Z)().NODE_ENV&&(0,a.setAppElement)("#__next");var y=(0,i.createContext)({activeModal:null,setActiveModal:function(){},closeModal:function(){}}),g=function(e){var t,n=e.registerModals,r=e.initialModal,a=e.children,l=function(e){if(Array.isArray(e))return e}(t=(0,i.useState)(null!=r?r:null))||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),2!==i.length);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}}(t,2)||function(e,t){if(e){if("string"==typeof e)return m(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return m(e,2)}}
1(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.")}(),c=l[0],u=l[1];return(0,o.BX)(y.Provider,{value:{activeModal:c,setActiveModal:u,closeModal:function(e){u(function(t){return t===e?null:t})}},children:[a,n.map(function(e){return(0,o.tZ)(p,{modalKey:e,isActive:c===e},"".concat(e,"+").concat(Date.now()))})]})}},158256:function(e,t,n){var r,o;n.d(t,{nK:function(){return r}}),(o=r||(r={})).bounceModal="bounce-modal",o.genericModal="generic-modal",o.communityDiscountModal="community-discount-modal",o.communityPerksModal="community-perks-modal",o.subscriptionSettingsModal="subscription-settings-modal",o.paymentMethodModal="payment-method-modal",o.deliveryAddressModal="delivery-address-modal",o.mealSelectionCompletionModal="meal-selection-completion-modal",o.snapDialogPaidOrderModal="snap-dialog-paid-order-modal",o.xsellOrderSuccessModal="xsell-order-success-modal",o.standaloneHighRiskModal="standalone-high-risk-modal",o.loyaltyOptInModal="loyalty-opt-in-modal",o.loyaltyMissionIntroModal="loyalty-mission-intro-modal",o.loyaltyOnboardingModal="loyalty-onboarding-modal",o.doubleProteinOnboardingModal="double-protein-onboarding-modal",o.referralNudgeModal="referral-nudge-modal"},871961:function(e,t,n){n.d(t,{d:function(){return E}});var r,o=n(37017),i=function(e,t){var n=(0,o.cn)(e,function(e,r,o){var i=(null==t?void 0:t.reset)?{}:e(n);r(n,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({},i,o))});return n},a=i({isEnabled:!1,redirectUrl:"",boxType:""}),l=i({customerStatus:"lead"}),c=i({customerStatus:"lead"}),u=i({initialForm:n(990231).lj.SINGLE_PAYMENT_FORM,screen:"",emitPaymentMethodCancelEvent:function(){},emitPaymentMethodCloseEvent:function(){},emitPaymentMethodSaveEvent:function(){},emitPaymentMethodChooseEvent:function(){}}),s=i({}),d=i({screen:"",subscriptionId:"",emitDeliveryAddressCancelEvent:function(){},emitDeliveryAddressSaveEvent:function(){}}),f=i({onClose:function(){},referrer:"",goToEditMode:function(){},savingsType:"other",savingsAmount:0,points:0,cartPricing:void 0}),b=i({onClose:function(){},onConfirm:function(){},onGoToNextWeek:function(){},cutoffDate:"",hasNextWeek:!1}),p=i({deliveryDate:"",updateDate:"",week:"",referrer:"",onClose:function(){}}),m=i({}),y=i({isOptedIn:!1,hasError:!1}),g=i({mission:{}}),h=i({}),v=i({onClose:function(){},onBrowse:function(){}}),O=i({}),S=n(158256),w=n(870199),P=n(827378),C=n(350344),j=n.n(C),x=i({title:"",subtitle:"",onClose:j(),onConfirm:j(),onDismiss:j(),cancelButtonText:"",confirmButtonText:""},{reset:!0});function M(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var k=(_(r={},S.nK.bounceModal,a),_(r,S.nK.genericModal,x),_(r,S.nK.communityDiscountModal,l),_(r,S.nK.communityPerksModal,c),_(r,S.nK.subscriptionSettingsModal,u),_(r,S.nK.paymentMethodModal,s),_(r,S.nK.deliveryAddressModal,d),_(r,S.nK.mealSelectionCompletionModal,f),_(r,S.nK.snapDialogPaidOrderModal,b),_(r,S.nK.xsellOrderSuccessModal,p),_(r,S.nK.standaloneHighRiskModal,m),_(r,S.nK.loyaltyOptInModal,y),_(r,S.nK.loyaltyMissionIntroModal,g),_(r,S.nK.loyaltyOnboardingModal,h),_(r,S.nK.doubleProteinOnboardingModal,v),_(r,S.nK.referralNudgeModal,O),r),E=function(e){var t,n=k[e],r=(0,P.useContext)(w.f),i=function(e){if(Array.isArray(e))return e}(t=(0,o.KO)(n))||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),2!==i.length);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}}(t,2)||function(e,t){if(e){if("string"==typeof e)return M(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return M(e,2)}}
1(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.")}(),a=i[0],l=i[1];return{modalState:a,setModalState:l,openModal:function(t){void 0!==t&&l(t),r.setActiveModal(e)},closeModal:function(){return r.closeModal(e)}}}},228001:function(e,t,n){var r=n(827378),o=n(60074),i=n(266726),a=n.n(i),l=n(768587);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}t.Z=function(e){var t=u((0,r.useState)([0,0]),2),n=t[0],i=t[1],c=u(n,2),s=c[0],d=c[1],f=u((0,l.Fg)().breakpoints.map(function(e){return Number(e.slice(0,-2))}).sort(function(e,t){return e-t}),2),b=f[0],p=f[1];(0,r.useEffect)(function(){i([window.innerWidth,window.innerHeight]);var t=a()(function(){e&&o.n_({message:"debounced set size state",category:"@/libs/window-api/useWindowSize",level:"debug",data:{newWidth:window.innerWidth,newHeight:window.innerHeight,previousWidth:s,previousHeight:d}}),i([window.innerWidth,window.innerHeight])},250);return window.addEventListener("resize",t),function(){e&&o.n_({message:"removing event listener and cancelling debounced function",category:"@/libs/window-api/useWindowSize",level:"debug"}),window.removeEventListener("resize",t),t.cancel()}},[]);var m=!!s&&s<b,y=!!s&&s>=b&&s<p,g=!!s&&s>=p;return{width:s,height:d,tabletWidth:b,isMobile:m,isTablet:y,isDesktop:g}}},450979:function(e,t,n){n.d(t,{Jw:function(){return c},KH:function(){return i},OZ:function(){return s},Oz:function(){return m},Q7:function(){return f},QH:function(){return o},Qg:function(){return b},R2:function(){return l},_f:function(){return u},fv:function(){return p},ic:function(){return a},qC:function(){return r},rY:function(){return d}});var r="StoredCouponCode",o="hf_cart_id",i=30,a="hf_prefill_email",l="hf_ssr_cart_cct",c="hf_ssr_stored_plan",u="hf_ssr_stored_sku",s="classic",d="locale",f=300,b={veg:"veggie",family:"family"},p="hf_ssr_e_plans_config_is_freebie",m="hf_cookie_permissions"},759230:function(e,t,n){n.d(t,{BK:function(){return r},ld:function(){return o}}),n(210970);var r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"center";e&&e.scrollIntoView({block:t,behavior:"smooth"})},o=function(e){var t=e.currentTarget;if(t.hash&&t.href&&t.href.includes(window.location.href)){e.preventDefault();var n=t.hash.replace("#","");r(document.querySelector('div[data-test-id="'.concat(n,'"]')))}}},365769:function(e,t,n){var r=n(827378),o=n(567921),i=n.n(o),a=n(764291),l=n(581340),c=n(450979);function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}t.Z=function(){var e=(0,l.t)(),t=e.query,n=e.asPath,o=(null==n?void 0:n.includes("raf_lp11"))||!1;(0,r.useMemo)(function(){try{i().set(c.fv,o?"1":"0")}catch(e){}},[o]);var s=(0,a.Z)(),d=s.data,f=s.isFetching,b=s.isSuccess,p=null==d?void 0:d.plans[0],m="";if(t.mealsize){var y,g,h=function(e){if(Array.isArray(e))return e}(g=(Array.isArray(t.mealsize)?t.mealsize[0]:t.mealsize).split("-"))||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),2!==i.length);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}}(g,2)||function(e,t){if(e){if("string"==typeof e)return u(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,2)}}
1(g,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.")}(),v=h[0],O=h[1];m=(null==p?void 0:null===(y=p.children.find(function(e){return e.specs.meals===parseInt(v)&&e.specs.size===parseInt(O)}))||void 0===y?void 0:y.handle)||""}var S=(null==d?void 0:d.config.preferences)||[],w=m||(null==d?void 0:d.config.defaultSku)||"",P=(null==d?void 0:d.preferences)||[],C=null==d?void 0:d.config.multiplePreferences,j=(0,r.useMemo)(function(){return null==p?void 0:p.children.map(function(e){return e.handle})},[p]);return{isPlansConfigFetched:b,preferences:S,planFamily:p,presets:P,isFetching:f,defaultSku:w,multiplePreferences:C,productSkus:j}}},443742:function(e,t,n){n.d(t,{A:function(){return c}});var r=n(786282),o=n(695743),i=n(912496),a=n(365769);function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var c=function(e){var t,n,c=e.couponCode,u=e.disablePPSOverri
1de,s=e.paidLP_publicId,d=e.zipcode,f=(function(e){if(Array.isArray(e))return e}(t=(0,i.I)())||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),1!==i.length);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}}(t,1)||function(e,t){if(e){if("string"==typeof e)return l(e,1);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,1)}}(t,1)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0].productSku,b=(0,o.z)("modular-landing-pages").data,p=(0,a.Z)(),m=p.productSkus,y=p.defaultSku,g=f||y,h=(null==b?void 0:b.pricePresentationMLP)===!0,v=!(void 0!==u&&u),O=h&&c&&(null==m?void 0:m.length)&&g&&v,S=(0,r.m)({voucherCode:c,productSkus:m||[],hf_public_id:s||"",zipcode:d},{enabled:!!O,suspense:!1,retry:3}),w=S.isSuccess,P=S.data,C=S.isLoading,j=v&&w&&g&&(null==P?void 0:null===(n=P.presets)||void 0===n?void 0:n[g]),x=v&&w&&(null==P?void 0:P.presets)&&Object.values(P.presets)[0],M=j||x||null;return{displayPricePresentation:!!(v&&w&&M),isPricePresentationLoading:C,discountCommunicationPreset:M}}},767400:function(e,t,n){n.d(t,{T:function(){return c}});var r=n(827378),o="(prefers-reduced-motion: reduce)",i=function(e){var t=window.matchMedia(o);return t.addEventListener("change",e),function(){return t.removeEventListener("change",e)}},a=function(){return window.matchMedia(o).matches},l=function(){return!1},c=function(){return(0,r.useSyncExternalStore)(i,a,l)}},342767:function(e,t,n){n.d(t,{S:function(){return ep}});var r,o,i=n(687800),a=n(827378),l=n(951676),c=n(832402),u=n(608053),s=n(768587),d=n(502408),f=function(e){return!e||(0,d.jM)(e)?e:(0,d.LJ)(e,{crop:"fill"})},b=function(e){var t=e.desktopImageUrl,n=void 0===t?"":t,r=e.mobileImageUrl,o=e.href,a=void 0===o?"":o,l=e.altText,c=(0,i.tZ)(s.xu,{children:(0,i.BX)("picture",{children:[(0,i.tZ)("source",{media:"(min-width: 768px)",srcSet:f(n)}),(0,i.tZ)("img",{src:f((void 0===r?"":r)||n),width:"100%",alt:void 0===l?"":l,"data-test-id":"image-id"})]})}),u=a?(0,i.tZ)(s.rU,{href:a,children:c}):c;return(0,i.tZ)(i.HY,{children:u})},p=n(581340),m=n(686945),y=n(907567),g=n(264937),h=n(936646),v=function(e){var t,n,r=e.alignment,o=e.mobileAlignment,a=e.children;return(0,i.tZ)(s.xu,(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({textAlign:["center",r],width:"100%",zIndex:1,mx:"auto",px:"sm-1",maxWidth:["100%","964px","1140px"]},o&&{position:["absolute","relative"],top:[o===l.C.Top?"0":"auto","auto"],bottom:[o===l.C.Bottom?"0":"auto","auto"]}),n=n={children:(0,i.tZ)(s.xu,{display:"flex",justifyContent:r===l.H.Center?"center":"flex-start",children:(0,i.tZ)(s.xu,{width:["100%","50%"],children:a})})},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t))},O=n(553911),S=n(235487),w=n(268481);function P(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function C(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return P(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return P(e,t)}}
1(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var j=function(e){var t=e.title,n=e.mobileTitle,r=void 0===n?"":n,o=e.titleColor,c=e.alignment,u=e.titleType,d=e.mobileTitleType,f=(0,S.D)(),b=(0,w.Sj)(),p=C((0,a.useState)(f.isMobile),1)[0],m=C((0,a.useState)(p?l.H.Center:c),2),y=m[0],g=m[1],h=C((0,a.useState)(p?"banner-title-mobile":"banner-title-desktop"),2),v=h[0],P=h[1],j=C((0,a.useState)(p?d:u),2),x=j[0],M=j[1],_=C((0,a.useState)(p&&r||t),2),k=_[0],E=_[1],A=(0,a.useCallback)(function(e){var n="mobile"===e;window&&document&&(g(n?l.H.Center:c),P(n?"banner-title-mobile":"banner-title-desktop"),M(n?d:u),E(n&&r||t))},[c,d,u,r,t]);(0,a.useEffect)(function(){var e=function(){return A(b)};return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}},[b,A]);var Z=null==k?void 0:k.replace(/<h1>/g,"").replace(/<\/h1>/g,"");return(0,i.tZ)(s.xu,{my:"md-3",backgroundColor:"transparent",children:(0,i.tZ)(s.xv,{as:"h1",color:o,textAlign:y,"data-test-id":v,type:x,children:k&&(0,i.tZ)(O.Z,{copy:Z||"",hasMarkdown:!0})})})},x=n(727650),M=function(e){var t=e.subtitle,n=void 0===t?"":t,r=e.mobileSubtitle,o=e.alignment,a=e.subtitleColor;return(0,i.BX)(s.xu,{mb:"md-2",__dangerouslySetCustomCSS:{"& a":{color:"primary.600"},"& a:hover":{color:"primary.600",textDecoration:"none"}},children:[(0,i.tZ)(s.xu,{display:["none","block"],children:(0,i.tZ)(s.xv,{type:"body-lg-regular",color:a,textAlign:o,"data-test-id":"banner-subtitle",dangerouslySetInnerHTML:{__html:(0,x.sanitize)(n)}})}),(0,i.tZ)(s.xu,{display:["block","none"],children:(0,i.tZ)(s.xv,{type:"body-lg-regular",color:a,textAlign:"center",dangerouslySetInnerHTML:{__html:(0,x.sanitize)((void 0===r?"":r)||n)}})})]})},_=function(e){var t=e.sectionId,n=e.alignment,r=e.mobileContentAlignment,o=e.ctaText,a=e.ctaUrlWithParams,l=e.title,c=e.mobileTitle,u=e.titleColor,d=e.subtitle,f=e.mobileSubtitle,b=e.subtitleColor,O=e.mobileImageUrl,S=e.tabletImageUrl,w=e.desktopImageUrl,P=e.bottomBannerMobileHeight,C=e.bottomBannerTabletHeight,x=e.bottomBannerDesktopHeight,_=e.backgroundVideoUrl,k=e.videoOverlayColor,E=e.fallbackBannerBackgroundColor,A=(0,p.t)(),Z=(0,m.A)().trackBerryStreetCTAClick,I=(0,g._)(),T=I.writeSignalsCookieSync,D=I.setCTAClick,B=(0,y.W)({},{suspense:!1}).data;return(0,i.tZ)(s.xu,{children:(0,i.tZ)(h.Z,{backgroundVideoUrl:_,videoOverlayColor:k,backgroundImageProps:{mobileUrl:O,tabletUrl:S,desktopUrl:w,mobileHeight:P||410,tabletHeight:C||450,desktopHeight:x||450,fallbackBannerBackgroundColor:E},children:(0,i.BX)(v,{alignment:n,mobileAlignment:r,children:[(0,i.tZ)(j,{title:l,mobileTitle:c,alignment:n,titleColor:u}),(0,i.tZ)(M,{subtitle:d,mobileSubtitle:f,alignment:n,subtitleColor:b}),o&&(0,i.tZ)(s.xu,{mb:"md-3",display:"flex",justifyContent:n,children:(0,i.tZ)(s.zx.Primary,{"data-test-id":t,onClick:function(){D(t),T();var e=null==B?void 0:B.uuid;e&&Z({ctaUrl:a,source:"bottom_banner",customerId:e,sectionId:t}),A.push(a)},width:"50%",children:o})})]})})})},k=n(783045),E=n(871961),A=n(158256),Z=n(13882),I=function(e){var t=e.isVDS,n=e.seoSubtitle;return t?(0,i.tZ)(s.xu,{my:"sm-1","data-test-id":"vds-seo-subtitle",children:(0,i.tZ)(s.xv,{type:"body-lg-regular",children:n})}):(0,i.tZ)(s.xu,{as:"h1",fontSize:"body-lg-regular",fontWeight:"headline",my:"sm-1","data-test-id":"seo-subtitle",children:n})},T=function(e){var t=e.label,n=e.placeholder,r=e.alignment,o=e.couponCode,a=e.setCouponCode;return(0,i.tZ)(s.xu,{display:"flex",alignItems:"center",justifyContent:["center",r],my:"md-1",children:(0,i.tZ)(s.NI,{width:"250px",labelText:t,children:(0,i.tZ)(s.NI.TextInput,{value:o,placeholder:n,onChange:function(e){return a(e.target.value)}})})})},D=n(533048),B=n(759230),U=function(){return(0,i.tZ)(s.xu,{position:"absolute",bottom:["12px","48px"],left:"calc(50% - 24px)",children:(0,i.tZ)(s.hU.Primary,{"aria-label":"scroll down button",size:"lg",appearance:"neutral",icon:(0,i.tZ)(D.default,{}),onClick:function(){var e,t=null===(e=document)||void 0===e?void 0:e.querySelectorAll('[data-component-id="columnSection"]')[0];(0,B.BK)(t,"nearest")}})})};function H(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function N(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return H(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return H(e,t)}}
1(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var L=function(e){var t,n=e.title,r=e.variants,o=N((0,a.useState)(""),2),l=o[0],c=o[1],u=N((0,a.useState)(0),2),s=u[0],d=u[1],f=function(){var e=0,n=function(o){(!e||o-e>=400)&&(e=o,d(function(e){return e>=l.length?(c(function(e){return r[(r.indexOf(e)+1)%r.length]}),0):e+1})),t=requestAnimationFrame(n)};requestAnimationFrame(n)};(0,a.useEffect)(function(){return f(),function(){return cancelAnimationFrame(t)}},[l]);var b=null==l?void 0:l.substring(0,s);return(0,i.BX)(i.HY,{children:[(0,i.tZ)("span",{children:n}),(0,i.tZ)("br",{}),0===s&&(0,i.tZ)("br",{}),(0,i.tZ)("span",{children:b})]})},R=function(e){var t=e.title,n=e.variants,r=e.hasSEOSubTitle,o=e.isVDS,a=(0,S.D)(),l=a.isMobile,c=a.isTablet;return r&&!o?(0,i.tZ)(s.xu,{as:"p",fontSize:["headline-lg-desktop","headline-xl-desktop"],children:(0,i.tZ)(L,{title:t,variants:n})}):(0,i.tZ)(s.xv,{as:"h1",type:o?l?"display-md":c?"display-lg":"display-xl":void 0,children:(0,i.tZ)(L,{title:t,variants:n})})},z=n(301243),F=n(578734),K=n(647220),V=n(767400);function Y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function J(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function W(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function X(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Y(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var G=(0,s.q)(s.xu),q=function(e){var t=e.content,n=t.staticText,r=t.items,o=e.alignment,c=void 0===o?l.H.Center:o,u=e.color,d=X((0,a.useState)(0),2),f=d[0],b=d[1],p=X((0,a.useState)(!1),2),m=p[0],y=p[1],g=X((0,a.useState)(null),2),h=g[0],v=g[1],S=(0,K.e)(),w=(0,V.T)(),P=null!=h?h:w;(0,a.useEffect)(function(){if(S&&!(r.length<=1)&&!P){var e=setTimeout(function(){y(!0),b(1)},3e3);return function(){return clearTimeout(e)}}},[r.length,S,P]),(0,a.useEffect)(function(){if(m&&!(r.length<=1)&&!P){var e=setInterval(function(){b(function(e){return(e+1)%r.length})},3e3);return function(){return clearInterval(e)}}},[r.length,m,P]);var C=(0,s.Yz)(r[f],{from:{opacity:0,transform:"translateY(30px)"},enter:{opacity:1,transform:"translateY(0px)"},leave:{opacity:0,transform:"translateY(-30px)"},config:{duration:300,easing:s.Gk.easeInOutCubic}});if(!r||0===r.length)return null;var j=m&&!P,x=r.length>1,M={as:"p",type:"body-lg-regular",textAlign:[l.H.Center,c],color:void 0===u?"inherit":u};return(0,i.BX)(s.xu,{mt:"global.xxs",mb:["global.md-2","global.md-3"],children:[n&&(0,i.tZ)(s.xv,W(J({},M),{children:(0,i.tZ)(O.Z,{copy:n,hasMarkdown:!0})})),(0,i.tZ)(s.xu,{position:"relative",minHeight:"1.5em","data-test-id":"rotating-sub-header",role:"status","aria-live":"polite","aria-atomic":"true","aria-label":r.length>1?"Rotating message, currently showing: ".concat(r[f]):"Message: ".concat(r[0]),children:j?C(function(e,t){return(0,i.tZ)(G,{position:"absolute",width:"100%",style:e,children:(0,i.tZ)(s.xv,W(J({},M),{children:(0,i.tZ)(O.Z,{copy:t,hasMarkdown:!0})}))})}):(0,i.tZ)(s.xu,{position:"absolute",width:"100%",children:(0,i.tZ)(s.xv,W(J({},M),{children:(0,i.tZ)(O.Z,{copy:r[f],hasMarkdown:!0})}))})}),x&&(0,i.tZ)(s.xu,{display:"flex",justifyContent:["center",c===l.H.Center?"center":"flex-start"],mt:"global.xxs",children:(0,i.tZ)(s.hU.Tertiary,{size:"sm",type:"button",onClick:function(){return v(!P)},"data-test-id":"rotating-sub-header-toggle","aria-label":P?"Play animation":"Pause animation",icon:P?(0,i.tZ)(F.default,{}):(0,i.tZ)(z.default,{})})})]})},$=function(e){var t,n=e.sectionId,r=e.pageId,o=e.ctaTrackingId,a=e.ctaText,l=e.alignment,c=e.isWebsite,f=e.showCta,b=e.userCouponCode,m=e.backgroundVideoUrl,y=e.videoOverlayColor,g=e.mobileContentAlignment,S=e.showLogo,w=e.logoUrl,P=e.ctaUrl,C=e.ctaUrlWithParams,x=e.title,_=e.setCouponCode,D=e.animatedTitleFixedPart,B=e.animatedTitleVariants,H=e.mobileTitle,N=e.titleColor,L=e.subt
1itle,z=e.mobileSubtitle,F=e.subtitleColor,K=e.labelVoucher,V=e.labelVoucherPlaceholder,Y=e.showCommunityDiscountCta,J=e.underCTAcopy,W=e.descriptionColor,X=e.showScrollDownButton,G=e.mobileImageUrl,$=e.tabletImageUrl,Q=e.desktopImageUrl,ee=e.mobileHeight,et=e.tabletHeight,en=e.desktopHeight,er=e.fallbackBannerBackgroundColor,eo=e.buttonAppearance,ei=e.seoSubtitle,ea=e.rotatingSubheaderConfig,el=e.hideCtaForActiveUsers,ec=e.CtaButtonComponent,eu=(0,p.t)(),es=(0,E.d)(eu.query.business?A.nK.communityPerksModal:A.nK.communityDiscountModal),ed=es.setModalState,ef=es.openModal,eb=D&&B.length>0,ep=!!ei,em=(0,k.zv)(),ey="true"===eu.query.test_mobile_cta&&!!(a&&P||(0,u.Bx)(C));return(0,i.BX)(s.xu,{position:"relative",children:[(0,i.tZ)(h.Z,{backgroundVideoUrl:m,videoOverlayColor:y,backgroundImageProps:{mobileUrl:G,tabletUrl:$,desktopUrl:Q,mobileHeight:ee||410,tabletHeight:et||(c?450:600),desktopHeight:en||(c?450:600),mobileQuality:"auto:eco",tabletQuality:"auto:eco",desktopQuality:"auto:eco",fallbackBannerBackgroundColor:er,priority:!0},children:(0,i.BX)(v,{alignment:l,mobileAlignment:g,children:[S&&(0,i.tZ)(Z.Z,{href:P?C:"",src:(0,d.LJ)(w)}),eb?(0,i.tZ)(R,{title:D,variants:B,hasSEOSubTitle:ep,isVDS:em}):(0,i.tZ)(j,{title:x,mobileTitle:H,alignment:l,titleColor:N,titleType:em?"display-xl":void 0,mobileTitleType:em?"display-md":void 0}),eb&&ep&&(0,i.tZ)(I,{isVDS:em,seoSubtitle:ei}),ea&&ea.items&&(null===(t=ea.items)||void 0===t?void 0:t.length)>1?(0,i.tZ)(q,{content:{staticText:ea.staticText,items:ea.items},alignment:l,color:F}):(0,i.tZ)(M,{subtitle:L,mobileSubtitle:z,alignment:l,subtitleColor:F}),K&&(0,i.tZ)(T,{label:K,placeholder:V,alignment:l,couponCode:b,setCouponCode:_}),Y&&(0,i.tZ)(s.xu,{display:"inline-block",textAlign:"center",children:(0,i.tZ)(s.zx.Primary,{"data-test-id":"cmds-start-verification-cta",onClick:function(){ef(),ed({customerStatus:eu.query.customer_status||"lead"})},children:a})}),!Y&&(f||ey)&&ec&&(0,i.tZ)(ec,{dataTestId:"main-cta-button",ctaUrlWithParams:C,trackingId:o||"HeroBannerCTA",pageId:r,ctaText:a,sectionId:n,buttonAppearance:eo,hideCtaForActiveUsers:el}),J&&(0,i.tZ)(s.xu,{mt:"global.xs",children:(0,i.tZ)(s.xv,{type:"body-sm-regular",color:W,textAlign:["center",l],children:(0,i.tZ)(O.Z,{copy:J,hasMarkdown:!0})})})]})}),X&&(0,i.tZ)(U,{})]})},Q=function(e){return!e||(0,d.jM)(e)?e:(0,d.LJ)(e,{crop:"fill"})},ee=function(e){var t=e.sectionId,n=e.title,r=e.subtitle,o=e.desktopImageUrl,a=void 0===o?"":o,l=e.tabletImageUrl,c=void 0===l?"":l,u=e.mobileImageUrl,d=e.fallbackBannerBackgroundColor,f=null==d?void 0:d.includes("gradient"),b=(void 0===u?"":u)||c||a;return(0,i.tZ)(s.xu,{as:"section",id:t,width:"100%",backgroundColor:f?void 0:d||"alias.elevation.foreground.inverse",backgroundImage:f?d:void 0,"data-test-id":"hero-banner-centered-image-banner",children:(0,i.BX)(s.xu,{display:"flex",flexDirection:"column",alignItems:"center",maxWidth:"1140px",marginX:"auto",paddingX:["global.md-1","global.lg-1","global.none"],paddingY:["global.lg-1","global.lg-1","global.lg-1"],gap:["global.sm-2","global.md-2"],"data-test-id":"hero-banner-centered-image-banner-content",children:[n&&(0,i.tZ)(s.xu,{width:"100%",textAlign:"center","data-test-id":"hero-banner-centered-image-banner-title",children:(0,i.tZ)(s.xv,{as:"h1",color:"global.gray.800",children:(0,i.tZ)(O.Z,{copy:n,hasMarkdown:!0})})}),r&&(0,i.tZ)(s.xu,{width:"100%",textAlign:"center","data-test-id":"hero-banner-centered-image-banner-subtitle",children:(0,i.tZ)(s.xv,{type:["body-md-regular","body-lg-regular"],color:"global.gray.700",children:(0,i.tZ)(O.Z,{copy:r,hasMarkdown:!0})})}),b&&(0,i.tZ)(s.xu,{width:"100%",position:"relative","data-test-id":"hero-banner-centered-image-banner-image",children:(0,i.BX)("picture",{children:[a&&(0,i.tZ)("source",{media:"(min-width: 1200px)",srcSet:Q(a)}),c&&(0,i.tZ)("source",{media:"(min-width: 768px)",srcSet:Q(c)}),(0,i.tZ)("img",{src:Q(b),alt:n||"",width:"100%",style:{display:"block"}})]})})]})})};(r=o||(o={})).HeroBanner="Hero Banner",r.BottomBanner="Bottom Banner",r.DiscountCommBanner="Discount Comm Banner",r.CenteredImageBanner="Centered Image Banner";var et=n(318066),en=n(277425),er=n(887824),eo=n(695743),ei=n(365769),ea=n(443742),el=n(402612),ec=n(243352);function eu(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var es=function(e){var t,n=e.discountCommBannerData,r=e.couponCode,o=e.sectionId,l=e.queryParams,c=e.displayOnly,d=e.paidLP_publicId,f=(0,er.Z)().push,b=(0,ec.L)().trackStartFunnelClick,p=(0,g._)(),m=p.writeSignalsCookieSync,y=p.setCTAClick,h=(0,eo.z)("modular-landing-pages").data,v=null==h?void 0:h.usePlansConfigApi,O=n.bannerDescription,S=n.bannerCTACopy,w=n.bannerCTAURL,P=n.bannerImage,C=(0,ei.Z)().isFetching,j=(0,ea.A)({couponCode:r,paidLP_publicId:d}),x=j.isPricePresentationLoading,M=j.displayPricePresentation,_=j.discountCommunicationPreset,k=function(e){if(Array.isArray(e))return e}(t=(0,a.useState)(M))||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),2!==i.length);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}}(t,2)||function(e,t){if(e){if("string"==typeof e)return eu(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return eu(e,2)}}
1(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.")}(),E=k[0],A=k[1];(0,a.useEffect)(function(){A(!0)},[]);var Z=(0,el.cP)(c);return(0,i.tZ)(s.xu,{display:Z,children:(0,i.tZ)(s.xu,{backgroundColor:"#A5EED4",backgroundImage:"url(".concat("https://cdn.hellofresh.com/landing-pages/Pages/Stir.png","), url(").concat("https://cdn.hellofresh.com/landing-pages/Pages/Stir2.png",")"),backgroundRepeat:"no-repeat",backgroundPosition:"left bottom, right bottom",backgroundSize:["60%","45%","inherit"],minHeight:["531px","576px","538px"],display:"flex",alignItems:"center",justifyContent:"center",children:(0,i.BX)(s.xu,{display:"flex",flexDirection:["column","column","row"],alignItems:"center",textAlign:"center",px:["md-1","md-1","zero"],minWidth:["100%","100%","1140px"],children:[(0,i.BX)(s.xu,{flex:"1",textAlign:["center","center","left"],children:[C||x||!E&&v?(0,i.tZ)(s.xu,{"data-test-id":"spin-icon",width:"100%",mb:"md-1",children:(0,i.tZ)(s.$j,{size:"md",variant:"primary"})}):(0,i.tZ)(s.xv,{as:"h1",mb:"md-1",children:null==_?void 0:_.product_configurator_title}),(0,i.tZ)(s.xu,{justifyContent:"center",width:"100%",position:"relative",minHeight:["130px","225px"],display:["flex","flex","none"],children:(0,i.tZ)(et.ZP,{src:(0,en.Z)(P),fill:!0,alt:"",style:{objectFit:"contain"}})}),(0,i.tZ)(s.xv,{my:"sm-2",as:"p",children:O}),(0,i.tZ)(s.xu,{marginX:"auto",marginTop:"md-2",display:"flex",justifyContent:["center","center","flex-start"],children:(0,i.tZ)(s.rU,{href:(0,u.BG)(w,l),noStyle:!0,children:(0,i.tZ)(s.xu,{width:"170px",children:(0,i.tZ)(s.zx.Primary,{onClick:function(){y(o),m(),f({event:"gaEventTrigger",gaEventCategory:"navigation",eventName:"Navigation_PageCTAclick",user_action:o,gaEventLabel:o,gaEventAction:"CTA"}),b({sectionId:o,sectionType:"heroBannerSection",uiComponentLabel:S})},children:S})})})})]}),(0,i.tZ)(s.xu,{flex:"2",children:(0,i.tZ)(s.xu,{display:["none","none","block"],justifyContent:"center",width:"100%",position:"relative",minHeight:"414px",children:(0,i.tZ)(et.ZP,{src:(0,en.Z)(P),fill:!0,alt:"",style:{objectFit:"contain"}})})})]})})})};function ed(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ef(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function eb(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}var ep=function(e){var t,n=e.alignment,r=void 0===n?l.H.Center:n,s=e.backgroundVideoUrl,d=e.bottomBannerDesktopHeight,f=e.bottomBannerMobileHeight,p=e.bottomBannerTabletHeight,m=e.couponCode,y=e.ctaText,g=e.ctaUrl,h=e.ctaTrackingId,v=e.descriptionColor,O=e.desktopHeight,S=e.desktopImageUrl,w=e.fallbackBannerBackgroundColor,P=e.isBottomBanner,C=e.isWebsite,j=e.labelVoucher,x=e.labelVoucherPlaceholder,M=e.logoUrl,k=e.showLogo,E=e.mobileHeight,A=e.mobileImageUrl,Z=e.mobileSubtitle,I=e.mobileTitle,T=e.pageId,D=e.queryParams,B=e.sectionId,U=e.showCta,H=e.subtitle,N=e.seoSubtitle,L=e.subtitleColor,R=e.tabletHeight,z=e.tabletImageUrl,F=e.title,K=void 0===F?"":F,V=e.titleColor,Y=e.underCTAcopy,J=e.showCommunityDiscountCta,W=e.animatedTitleFixedPart,X=e.animatedTitleVariants,G=e.showScrollDownButton,q=e.mobileContentAlignment,Q=e.isStaticImageSection,et=e.videoOverlayColor,en=e.type,er=void 0===en?o.HeroBanner:en,eo=e.discountCommBannerData,ei=e.displayOnly,ea=e.buttonAppearance,el=void 0===ea?c.L.Brand:ea,ec=e.rotatingSubheaderConfig,eu=e.paidLP_publicId,ep=e.hideCtaForActiveUsers,em=e.CtaButtonComponent,ey=function(e){if(Array.isArray(e))return e}(t=(0,a.useState)(j&&m||""))||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),2!==i.length);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}}(t,2)||function(e,t){if(e){if("string"==typeof e)return ed(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ed(e,2)}}
1(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.")}(),eg=ey[0],eh=ey[1],ev=(0,a.useMemo)(function(){var e=D||{};return j&&eg?eb(ef({},e),{c:eg}):e},[D,eg,j]),eO=(0,a.useMemo)(function(){return(0,u.BG)(g,ev)},[g,ev]);if(void 0!==Q&&Q)return(0,i.tZ)(b,{desktopImageUrl:S,mobileImageUrl:A,href:g?eO:"",altText:K});var eS={pageId:T,alignment:r,mobileContentAlignment:q,ctaText:y,ctaTrackingId:h,ctaUrl:g,ctaUrlWithParams:eO,title:K,mobileTitle:I,titleColor:void 0===V?"inherit":V,subtitle:H,mobileSubtitle:Z,subtitleColor:void 0===L?"inherit":L,mobileImageUrl:A,tabletImageUrl:z,desktopImageUrl:S,backgroundVideoUrl:s,videoOverlayColor:void 0===et?"neutral.800":et,fallbackBannerBackgroundColor:w,sectionId:B,buttonAppearance:el,rotatingSubheaderConfig:ec,hideCtaForActiveUsers:ep,CtaButtonComponent:em};return er===o.DiscountCommBanner&&eo?(0,i.tZ)(es,{discountCommBannerData:eo,couponCode:eg,sectionId:B,queryParams:D,displayOnly:void 0===ei?"both":ei,paidLP_publicId:eu}):er===o.CenteredImageBanner?(0,i.tZ)(ee,{sectionId:B,title:K,subtitle:H,desktopImageUrl:S,tabletImageUrl:z,mobileImageUrl:A,fallbackBannerBackgroundColor:w}):P?(0,i.tZ)(_,eb(ef({},eS),{bottomBannerMobileHeight:f,bottomBannerTabletHeight:p,bottomBannerDesktopHeight:d})):(0,i.tZ)($,eb(ef({},eS),{isWebsite:C,showCta:U,userCouponCode:eg,showLogo:void 0!==k&&k,logoUrl:void 0===M?"":M,animatedTitleFixedPart:W,animatedTitleVariants:void 0===X?[]:X,labelVoucher:j,labelVoucherPlaceholder:void 0===x?"":x,showCommunityDiscountCta:J,underCTAcopy:Y,descriptionColor:v,showScrollDownButton:G,mobileHeight:E,tabletHeight:R,desktopHeight:O,setCouponCode:j?eh:function(){},seoSubtitle:N}))}},671291:function(e,t,n){var r=n(687800),o=n(342767),i=n(870765);t.Z=function(e){var t,n;return(0,r.tZ)(o.S,(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({},e),n=n={CtaButtonComponent:i.Z},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t))}},936646:function(e,t,n){n.d(t,{Z:function(){return u}});var r=n(687800);n(827378);var o=n(768587),i=n(502408),a=function(e){var t=e.mobileHeight,n=e.mobileUrl,a=e.tabletHeight,l=e.tabletUrl,c=e.desktopHeight,u=e.desktopUrl,s=e.fallbackBannerBackgroundColor,d=e.children,f=e.priority,b="string"==typeof s&&s.includes("gradient"),p=b?void 0:s||"alias.page-background.default";return(0,r.BX)(o.xu,{position:"relative",display:"flex",alignItems:"center",paddingY:"sm-2",minHeight:["".concat(t,"px"),"".concat(a,"px"),"".concat(c,"px")],backgroundColor:p,__dangerouslySetCustomCSS:b?{backgroundImage:s}:void 0,children:[u&&l&&n&&(0,r.BX)("picture",{children:[(0,r.tZ)("source",{media:"(min-width: 1200px)",srcSet:(0,i.jM)(u)?u:(0,i.LJ)(u,{crop:"fill"})}),(0,r.tZ)("source",{media:"(min-width: 768px)",srcSet:(0,i.jM)(l)?l:(0,i.LJ)(l,{crop:"fill"})}),(0,r.tZ)("img",{src:(0,i.jM)(n)?n:(0,i.LJ)(n,{crop:"fill"}),alt:"",fetchPriority:void 0!==f&&f?"high":void 0,style:{position:"absolute",inset:0,width:"100%",height:"100%",objectFit:"cover"}})]}),d]})},l=n(228001),c=function(e){var t=e.src,n=e.videoOverlayColor,i=e.mobileHeight,a=e.tabletHeight,c=e.desktopHeight,u=e.children,s=(0,l.Z)().width;return(0,r.BX)(o.xu,{position:"relative",display:"flex",alignItems:"center",minHeight:["".concat(i,"px"),"".concat(a,"px"),"".concat(c,"px")],width:"100%",overflow:"hidden",__dangerouslySetCustomCSS:{padding:"0 !important"},children:[(0,r.tZ)(o.xu,{position:"absolute",backgroundColor:n,zIndex:1,opacity:"60%",minHeight:"100%",width:"100%"}),(0,r.tZ)("video",{width:s,height:"100%",autoPlay:!0,muted:!0,playsInl
1ine:!0,loop:!0,style:{objectFit:"cover",position:"absolute"},children:(0,r.tZ)("source",{src:t,type:"video/mp4"})}),u]})},u=function(e){var t,n,o=e.backgroundVideoUrl,i=e.videoOverlayColor,l=e.backgroundImageProps,u=e.children;return(0,r.BX)(r.HY,{children:[o&&(0,r.tZ)(c,{mobileHeight:l.mobileHeight,tabletHeight:l.tabletHeight,desktopHeight:l.desktopHeight,src:o,videoOverlayColor:i,children:u}),!o&&(0,r.tZ)(a,(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({},l),n=n={children:u},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t))]})}},912496:function(e,t,n){n.d(t,{I:function(){return i}});var r=n(37017),o=(0,r.cn)({productSku:void 0,productPreset:void 0,familyHandle:void 0,familySize:void 0,familyMeals:void 0,planRecommendationShouldRedirectToPlans:!1,preferenceStatus:"not-selected",isPlansConfigLoading:!0}),i=function(){return(0,r.KO)(o)}},951676:function(e,t,n){var r,o,i,a;n.d(t,{C:function(){return o},H:function(){return r}}),(i=r||(r={})).Center="center",i.Left="left",(a=o||(o={})).Top="top",a.Bottom="bottom"},301243:function(e,t,n){n.r(t);var r=n(687800);function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function i(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}n(827378),t.default=function(e){var t=e.title,n=e.titleId,a=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["title","titleId"]);return(0,r.BX)("svg",i(o(i(o({width:"1.5rem",height:"1.5rem",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:t?"img":"graphics-symbol",color:"inherit","aria-hidden":!t},!t&&{focusable:!1}),{"aria-labelledby":n}),a),{children:[t?(0,r.tZ)("title",{id:n,children:t}):null,(0,r.tZ)("path",{d:"M8.36 5.849h2.674c.206 0 .36.145.36.29v11.37c0 .194-.154.34-.36.34H8.36c-.206 0-.36-.146-.36-.34V6.14c0-.145.154-.29.36-.29Zm5.606 0h2.674c.206 0 .36.145.36.29v11.37c0 .194-.154.34-.36.34h-2.674c-.206 0-.36-.146-.36-.34V6.14c0-.145.154-.29.36-.29Z",fill:"currentColor"})]}))}},578734:function(e,t,n){n.r(t);var r=n(687800);function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function i(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n}
1)(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}n(827378),t.default=function(e){var t=e.title,n=e.titleId,a=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["title","titleId"]);return(0,r.BX)("svg",i(o(i(o({width:"1.5rem",height:"1.5rem",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:t?"img":"graphics-symbol",color:"inherit","aria-hidden":!t},!t&&{focusable:!1}),{"aria-labelledby":n}),a),{children:[t?(0,r.tZ)("title",{id:n,children:t}):null,(0,r.tZ)("path",{d:"M17.375 10.884 7.875 6C7.042 5.571 6 6.107 6 6.964v9.77c0 .857 1.042 1.392 1.875.964l9.5-4.885c.833-.429.833-1.5 0-1.929Z",fill:"currentColor"})]}))}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.