import{g as y,aT as S,r as x,h as C,o as u,c as m,a as t,b as o,w as a,d as e,t as I,s as N,j as d,am as D,an as j,I as V,q as E,x as b,l as F,bK as T,a7 as B,e as M,p as P,f as Y,_ as q}from"./D-NqFN1U.js";const l=c=>(P("data-v-9bd41d12"),c=c(),Y(),c),A={class:"tw-text-nl-yellow-100 tw-font-medium tw-text-sm"},L={class:"tw-relative tw-bg-nl-green-400 tw-mt-[50px] md:tw-mt-[60px] tw-pt-px tw-pb-[80px] md:tw-pb-[18px]"},W=l(()=>t("div",{class:"tw-hidden md:tw-block tw-absolute tw-bottom-full md:-tw-mb-0.5 tw-inset-x-0 tw-h-[62px] footerDecorDesktop"},null,-1)),z=l(()=>t("div",{class:"tw-block md:tw-hidden tw-absolute tw-bottom-full md:-tw-mb-0.5 tw-inset-x-0 tw-h-[25px] min-[540px]:tw-h-[40px] tw-ml-[-2.5%] md:ml-0 footerDecorMobile"},null,-1)),G={class:"tw-container tw-mt-2 md:-tw-mt-7 tw-relative"},H={class:"tw-max-w-[716px] lg:tw-max-w-[778px] md:tw-px-[34px] tw-mx-auto tw-overflow-hidden"},R=l(()=>t("div",{class:"tw-mb-3 md:tw-mb-[21px] lg:tw-ml-8"},[t("div",{class:"tw-max-w-[197px] tw-mx-auto md:tw-ml-0 tw-mb-2"},[t("img",{src:"https://content.nurturelife.com/wp-content/uploads/2021/07/5Sui9-pw.png",alt:"Nurture Life"})]),t("div",{class:"tw-text-white tw-text-base tw-pl-0.5 tw-text-center md:tw-text-left"}," Growing up. Eating well. ")],-1)),U={class:"tw-flex tw-flex-col tw-flex-col-reverse md:tw-flex-row tw-justify-between"},$={class:"md:tw-w-1/2"},K={class:"md:tw-pl-1 md:tw-max-w-[300px] lg:tw-ml-8 tw-w-full tw-pr-3 md:tw-pr-0"},O={class:"tw-columns-2"},Q={class:"tw-mb-[11px]"},J={class:"tw-mb-[11px]"},X={class:"tw-mb-[11px]"},Z={class:"tw-mb-[11px]"},tt={class:"tw-mb-[11px]"},et={class:"tw-mb-[11px]"},st={class:"tw-mb-[11px]"},ot=l(()=>t("li",{class:"tw-mb-[11px]"},[t("a",{href:"https://nurturelife.zohorecruit.com/jobs/Careers",target:"_blank",class:"hover:tw-underline"},"Careers")],-1)),at={class:"tw-mb-[11px]"},lt={class:"tw-text-[11px] tw-flex tw-flex-wrap tw-pt-1.5 md:tw-pt-4 tw-gap-x-6 min-[375px]:tw-gap-x-14 md:tw-gap-x-6"},nt={class:"tw-pt-2"},wt={class:"tw-pt-2"},it={class:"md:tw-w-1/2"},rt={class:"md:tw-max-w-[306px] tw-w-full tw-ml-auto tw-text-center md:tw-text-left tw-flex tw-flex-col-reverse md:tw-block tw-mb-[22px] md:tw-mb-0"},dt=l(()=>t("div",{class:"tw-text-white tw-text-base tw-font-bold -tw-mt-2 tw-mb-2.5"}," Get offers, new meal updates & more! ",-1)),ct={key:0,class:"tw-flex footer-form"},ut=l(()=>t("label",{for:"email"},[t("span",{class:"sr-only"},"Your email address")],-1)),mt=l(()=>t("button",{class:"tw-bg-nl-blue-200 tw-text-nl-green-100 tw-flex tw-justify-center tw-items-center tw-w-11 tw-h-10 tw-rounded-r-[7px] tw-text-xl tw-pr-0.5 tw-pt-0.5 tw-border-l-[2px] tw-border-nl-green-100 hover:tw-bg-nl-blue-600 focus:tw-bg-nl-blue-600 tw-transition-colors"},[t("span",{class:"icon-main-send"},[t("span",{class:"sr-only"},"submit")])],-1)),pt={key:1,"aria-live":"polite",class:"tw-text-center tw-w-full tw-border-0 tw-border-b tw-font-bookmania sm:tw-text-f18 tw-text-f16 tw-font-semibold tw-pt-7 tw-tracking-a08 tw-min-w-0"},xt={key:2,role:"alert",id:"footer-email-error",class:"tw-max-w-266 tw-text-red-100 tw-text-f14 tw-leading-a35 tw-font-bold tw-pt-4"},bt=l(()=>t("i",{class:"icon-main-error tw-mr-1 tw-relative tw-top-0.5"},null,-1)),ft=F('<ul class="tw-flex tw-flex-wrap tw-justify-center md:tw-justify-start tw-text-2xl tw-pl-0.5 tw-pt-1 tw-pb-5 md:tw-pb-0 md:tw-pt-[68px] tw-gap-2 tw-text-white" data-v-9bd41d12><li data-v-9bd41d12><a href="https://www.instagram.com/nurturelife" class="tw-block tw-leading-none tw-text-white hover:tw-text-nl-blue-100 focus:tw-text-nl-blue-100 tw-transition-colors" data-v-9bd41d12><span class="icon-main-instagram" data-v-9bd41d12><span class="sr-only" data-v-9bd41d12>instagram</span></span></a></li><li data-v-9bd41d12><a href="https://www.facebook.com/nurturelife/" class="tw-block tw-leading-none tw-text-white hover:tw-text-nl-blue-100 focus:tw-text-nl-blue-100 tw-transition-colors" data-v-9bd41d12><span class="icon-main-facebook" data-v-9bd41d12><span class="sr-only" data-v-9bd41d12>facebook</span></span></a></li><li data-v-9bd41d12><a href="https://twitter.com/nurturelife" class="tw-block tw-leading-none tw-text-white hover:tw-text-nl-blue-100 focus:tw-text-nl-blue-100 tw-transition-colors" data-v-9bd41d12><span class="icon-main-twitter" data-v-9bd41d12><span class="sr-only" data-v-9bd41d12>twitter</span></span></a></li><li data-v-9bd41d12><a href="https://www.tiktok.com/@nurturelife" class="tw-block tw-leading-none tw-text-white hover:tw-text-nl-blue-100 focus:tw-text-nl-blue-100 tw-transition-colors" data-v-9bd41d12><span class="icon-main-tiktok" data-v-9bd41d12><span class="sr-only" data-v-9bd41d12>tiktok</span></span></a></li></ul>',1),_t=y({__name:"index",setup(c){const f=T(),_=S(),n=x(""),i=x(!1),w=x(!1),h=C(()=>`${f.public.baseApiEnpoint}/api/marketing/blog-subscriptions`),v=()=>/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@(([^<>()[\]\\.,;:\s@"]+\.)+[^<>()[\]\\.,;:\s@"]{2,})$/i.test(String(n.value).toLowerCase()),g=()=>{if(w.value=!1,!v()){i.value=!0,w.value=!1;return}i.value=!1;const p={email:n.value,pageUrl:window.location.href,location:"footer",abandonedCartId:_.abandonedCartId};B.post(h.value,p).then(r=>{w.value=!0,n.value=""}).catch(r=>{i.value=!0,console.error("There was a problem with your submission:",r),w.value=!1})};return(p,r)=>{const s=M;return u(),m("footer",A,[t("div",L,[W,z,t("div",G,[t("div",H,[R,t("div",U,[t("div",$,[t("div",K,[t("ul",O,[t("li",Q,[o(s,{to:"/",class:"hover:tw-underline"},{default:a(()=>[e("Home")]),_:1})]),t("li",J,[o(s,{href:"/faq",class:"hover:tw-underline"},{default:a(()=>[e("FAQ")]),_:1})]),t("li",X,[o(s,{to:"/how-it-works/",class:"hover:tw-underline"},{default:a(()=>[e("How It Works")]),_:1})]),t("li",Z,[o(s,{to:"/food-nutrition/",class:"hover:tw-underline"},{default:a(()=>[e("Food Nutrition")]),_:1})]),t("li",tt,[o(s,{to:"/packaging/",class:"hover:tw-underline"},{default:a(()=>[e("Packaging")]),_:1})]),t("li",et,[o(s,{to:"/what-we-stand-for/",class:"hover:tw-underline"},{default:a(()=>[e("What We Stand For")]),_:1})]),t("li",st,[o(s,{to:"/blog/",class:"hover:tw-underline"},{default:a(()=>[e("Blog")]),_:1})]),ot,t("li",at,[o(s,{to:"/contact-us/",class:"hover:tw-underline"},{default:a(()=>[e("Contact")]),_:1})])]),t("ul",lt,[t("li",nt,I(new Date().getFullYear())+" Nurture Life, Inc.",1),t("li",wt,[o(s,{to:"/terms/",class:"hover:tw-underline"},{default:a(()=>[e("Terms")]),_:1}),e(" | "),o(s,{to:"/privacy-policy/",class:"hover:tw-underline"},{default:a(()=>[e("Privacy Policy")]),_:1})])])])]),t("div",it,[t("div",rt,[t("div",null,[dt,t("form",{onSubmit:N(g,["prevent"]),id:"footer-form-newsletter",novalidate:""},[d(w)?b("",!0):(u(),m("div",ct,[ut,D(t("input",{id:"footer-email","onUpdate:modelValue":r[0]||(r[0]=k=>V(n)?n.value=k:null),type:"email",name:"email",class:E([{"border-red-100":d(i)},"tw-bg-white tw-text-sm tw-rounded-l-[7px] tw-rounded-r-none tw-text-nl-green-100 placeholder:tw-text-nl-green-100 tw-w-full tw-flex-1 tw-h-10 tw-py-2 tw-px-4 tw-appearance-none"]),autocomplete:"email",placeholder:"Your email address"},null,2),[[j,d(n)]]),mt])),d(w)?(u(),m("div",pt," You're all set! Check your inbox for an email from us now! ")):b("",!0),d(i)?(u(),m("div",xt,[bt,e(" Please enter a valid email address. ")])):b("",!0)],32)]),ft])])])])])])])}}}),vt=q(_t,[["__scopeId","data-v-9bd41d12"]]);export{vt as _}; //# sourceMappingURL=DB9mIyZh.js.map