1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[76023],{30967:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__N_SSP:()=>r,default:()=>d});var o=n(2860),s=n(56121),a=n.n(s),l=n(79013),i=n(90246),c=n(96270);let p=e=>{var t,n,s,a;let{contentfulData:p,planPageData:r}=e,d=null==r||null==(n=r.planPageCollection)||null==(t=n.items)?void 0:t[0],m=null==d?void 0:d.promoTitle,u=null!=(a=null==d||null==(s=d.parentPlanCategoryCollection)?void 0:s.items)?a:[];return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(l.A,{description:null==p?void 0:p.metaDescription,title:null==p?void 0:p.pageTitle}),(0,o.jsx)(i.R,{}),(0,o.jsx)(c.A,{contentfulData:p,mealTypes:u,title:m})]})};p.propTypes={contentfulData:a().object,planPageData:a().object};var r=!0;let d=p},70034:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/subscriptions/plans",function(){return n(30967)}])},79013:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var o=n(2860),s=n(56121),a=n.n(s),l=n(95669),i=n.n(l),c=n(81278);let p=e=>{let{description:t,title:n}=e,s=(0,c.useRouter)(),a=(null==s?void 0:s.locale)==="en-CA"?"https://cdn.makegoodfood.ca/images/referral-program-meta-image_en.png":"https://cdn.makegoodfood.ca/images/referral-program-meta-image_fr.png";return(0,o.jsxs)(i(),{children:[(0,o.jsx)("title",{children:n}),(0,o.jsx)("meta",{content:t,name:"description"},"desc"),(0,o.jsx)("meta",{content:n,property:"og:title"}),(0,o.jsx)("meta",{content:t,property:"og:description"}),(0,o.jsx)("meta",{content:"Goodfood",property:"og:site_name"}),(0,o.jsx)("meta",{content:"website",property:"og:type"}),(0,o.jsx)("meta",{content:"app-id=1547708112",name:"apple-itunes-app"}),(0,o.jsx)("meta",{content:a,property:"og:image"}),(0,o.jsx)("link",{href:"https://cdn.makegoodfood.ca/images/favicon/apple-touch-icons/57.png",rel:"apple-touch-icon",sizes:"57x57"}),(0,o.jsx)("link",{href:"https://cdn.makegoodfood.ca/images/favicon/apple-touch-icons/60.png",rel:"apple-touch-icon",sizes:"60x60"}),(0,o.jsx)("link",{href:"https://cdn.makegoodfood.ca/images/favicon/apple-touch-icons/72.png",rel:"apple-touch-icon",sizes:"72x72"}),(0,o.jsx)("link",{href:"https://cdn.makegoodfood.ca/images/favicon/apple-touch-icons/76.png",rel:"apple-touch-icon",sizes:"76x76"}),(0,o.jsx)("link",{href:"https://cdn.makegoodfood.ca/images/favicon/apple-touch-icons/114.png",rel:"apple-touch-icon",sizes:"114x114"}),(0,o.jsx)("link",{href:"https://cdn.makegoodfood.ca/images/favicon/apple-touch-icons/120.png",rel:"apple-touch-icon",sizes:"120x120"}),(0,o.jsx)("link",{href:"https://cdn.makegoodfood.ca/images/favicon/apple-touch-icons/144.png",rel:"apple-touch-icon",sizes:"144x144"}),(0,o.jsx)("link",{href:"https://cdn.makegoodfood.ca/images/favicon/apple-touch-icons/152.png",rel:"apple-touch-icon",sizes:"152x152"}),(0,o.jsx)("link",{href:"https://cdn.makegoodfood.ca/images/favicon/apple-touch-icons/180.png",rel:"apple-touch-icon",sizes:"180x180"}),(0,o.jsx)("link",{href:"https://cdn.makegoodfood.ca/images/favicon/apple-touch-icons/192.png",rel:"icon",sizes:"192x192",type:"image/png"}),(0,o.jsx)("link",{href:"https://cdn.makegoodfood.ca/images/favicon/apple-touch-icons/32.png",rel:"icon",sizes:"32x32",type:"image/png"}),(0,o.jsx)("link",{href:"https://cdn.makegoodfood.ca/images/favicon/apple-touch-icons/96.png",rel:"icon",sizes:"96x96",type:"image/png"}),(0,o.jsx)("link",{href:"https://cdn.makegoodfood.ca/images/favicon/apple-touch-icons/16.png",rel:"icon",sizes:"16x16",type:"image/png"})]})};p.propTypes={description:a().string,title:a().string};let r=p},90246:(e,t,n)=>{"use strict";n.d(t,{R:()=>r});var o=n(2860),s=n(56121),a=n.n(s),l=n(95669),i=n.n(l);let c=e=>{let{styles:t,globalStyles:n}=e,s="\n #ada-button-frame { ".concat(null!=t?t:""," }\n ").concat(null!=n?n:"","\n ");return(0,o.jsx)(i(),{children:(0,o.jsx)("style",{dangerouslySetInnerHTML:{__html:s}})})};c.propTypes={styles:a().string,globalStyles:a().string};let p="\n display: none !important;\n visibility: hidden !important;\n",r=e=>{let{maxWidth:t}=e,n="\n @media (max-width: ".concat(t,"px) {\n #ada-button-frame {\n ").concat(p,"\n }\n }\n ");return(0,o.jsx)(c,{globalStyles:t?n:"",styles:t?"":p})};
1r.propTypes={maxWidth:a().number}},96270:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var o=n(2860),s=n(56121),a=n.n(s),l=n(55729),i=n(81278),c=n(13518),p=n(43919),r=n(17095),d=n(51626),m=n(35929),u=n(70002),g=n(4436),x=n(20074),f=n(54626),h=n(76332);let j=e=>{var t,n;let{contentfulData:s,mealTypes:a,title:j,isCPFlow:v=!1}=e,y=(0,c.useTranslations)("SubscriptionPages"),_=(0,i.useRouter)(),k=(0,x.useSubscriptionEntryUrl)(),[T,A]=(0,l.useState)(!1),{triggerValidationModal:N,setAllowedProvinces:b}=(0,h.V)(),[E,w]=(0,l.useState)();(0,l.useEffect)(()=>{var e;w((()=>{var e;let t=(0,f._A)();return t&&Object.values(m.yU).includes(t)?t:"hne"===(null==_||null==(e=_.query)?void 0:e.default)?m.yU.HEAT_AND_EAT:m.yU.READY_TO_COOK})()),b((null==(e=a.find(e=>e.code===m.yU.HEAT_AND_EAT))?void 0:e.provinces)||[])},[]);let P="my-plan-page",z=null==s||null==(n=s.pageSectionsCollection)||null==(t=n.items)?void 0:t.map(e=>({...e,isTopLevelSection:!1}));return(0,o.jsx)("div",{className:"flex flex-1 justify-center mt-7 md:mt-10 relative","data-testid":"".concat(P,"__container"),children:(0,o.jsxs)("div",{className:"px-1 relative flex flex-col max-w-[700px]",children:[(0,o.jsx)("div",{className:"md:mx-32",children:(0,o.jsx)(p.default,{className:"text-xl md:text-2xl font-semibold md:font-normal md:text-center leading-6 text-gray-1000",children:j})}),(0,o.jsxs)("div",{className:"flex flex-col flex-1 md:flex-none gap-16",children:[(0,o.jsxs)("div",{className:"flex flex-col gap-[60px] mt-6 md:mt-[60px] flex-1 md:min-h-[300px]",children:[(0,o.jsx)(d.A,{mealTypes:a,selectedType:E,onSelect:e=>{w(e)}}),(0,o.jsx)(u.b,{contentfulItems:z})]}),(0,o.jsx)("div",{className:"sticky md:static bottom-0 left-0 -mx-4 md:mx-auto z-[100] md:z-10 pointer-events-auto md:mt-8",children:(0,o.jsx)("div",{className:"bg-white w-full p-4 sm:pl-0 flex justify-center md:justify-start items-center shadow-all-lg sm:shadow-none",children:(0,o.jsx)(r.Button,{className:"w-full md:ml-4 md:w-[430px]",isLoading:T,testId:"".concat(P,"__continue-button"),variant:r.VARIANTS.PRIMARY,onClick:()=>{let e=()=>{if(A(!0),(0,f.kd)(E),E===m.yU.HEAT_AND_EAT)return void _.push({pathname:v?g.CP_HNE_PAGE:g.HNE_PLAN_PAGE_STEP_1,query:{..._.query}});_.push({pathname:v?g.CP_RTC_PAGE:k,query:{..._.query,noredirect:"true"}})};(E!==m.yU.HEAT_AND_EAT||N(!0,e))&&e()},children:y("continue")})})})]})]})})};j.propTypes={contentfulData:a().object,mealTypes:a().array,title:a().string,isCPFlow:a().bool};let v=j}},e=>{e.O(0,[72153,39582,52249,48763,35116,54040,70002,22739,90636,46593,38792],()=>e(e.s=70034)),_N_E=e.O()}]);
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.