import{_ as Be,t as _e}from"./CVA_2O02.js";import{aW as Ue,aX as De,g as q,aV as lt,r as F,aM as Nt,aY as ze,h as y,E as wt,o,c as i,a as t,as as Ve,at as He,i as tt,H as z,aj as ot,t as _,q as X,s as C,b as O,w as V,j as e,x as p,av as We,d as g,K as Z,l as ge,J,am as gt,aC as ht,aT as It,aN as Lt,aJ as he,n as kt,v as ie,a4 as Je,_ as St,m as Rt,a3 as be,e as $t,aZ as ve,a_ as Ge,a$ as ye,b0 as Ke,b1 as Ye,b2 as Qe,b3 as Xe,b4 as Ze,aQ as ts,ar as es,p as ke,f as $e,a7 as qt,b5 as ss,b6 as Ce,b7 as Ie,aP as Se,b8 as we,b9 as ce,ba as Pe,bb as Te,bc as je,ae as Me,bd as de,be as ns,bf as ue,bg as os,bh as as,bi as Ee,bj as ls,bk as Ae,bl as rs,bm as Oe,bn as is,bo as ws,bp as cs,bq as ds,br as us,a9 as Ct,bs as pe,bt as ps,bu as ms,bv as xs,bw as fs,bx as _s,by as gs,bz as hs}from"./CJgu5QJ3.js";import{_ as Wt}from"./BoowIsQL.js";import{_ as Bt}from"./C_HeOiTV.js";import{_ as bs,a as vs,b as Fe,c as ys}from"./BcZhsOpN.js";import{M as me,_ as ks}from"./BzvgTlLL.js";import{u as $s}from"./BkKVl7vj.js";var Cs="[object Boolean]";function Is(u){return u===!0||u===!1||Ue(u)&&De(u)==Cs}const Ss={key:0,class:"tw-fixed tw-inset-0 tw-bg-overlay tw-z-50 tw-flex tw-items-end"},Ps={class:"tw-sticky tw-top-0 tw-inset-x-0 tw-pt-[15px] tw-bg-nl-yellow-100 tw-px-[18px] tw-pb-2 tw-flex tw-items-center tw-justify-between tw-z-10"},Ts=t("div",{class:"tw-flex tw-items-center tw-gap-[13px]"},[t("span",{class:"icon-main-filter tw-text-[20px]"}),t("strong",{class:"tw-text-[17px] tw-leading-[1.45] tw-uppercase"},"Filters")],-1),js=["aria-expanded"],Ms={class:"tw-flex tw-flex-col tw-relative tw-h-[calc(var(--vh)-148px)] lg:tw-h-[calc(var(--vh)-234px)] tw-overflow-auto"},Es={class:"tw-px-5 tw-bg-nl-yellow-100 tw-relative"},As={class:"tw-bg-[#f8f0e6] [&>li:last-child]:tw-border-none tw-text-[18px]"},Os={class:"tw-flex tw-items-center tw-justify-between tw-cursor-pointer"},Fs=["aria-checked"],Ns=["onClick"],Ls=t("i",{class:"icon-main-check tw-text-[11px]"},null,-1),Rs=[Ls],qs={class:"tw-flex tw-items-center tw-justify-between tw-cursor-pointer"},Bs=["aria-checked"],Us=["onClick"],Ds=t("i",{class:"icon-main-check tw-text-[11px]"},null,-1),zs=[Ds],Vs={class:"tw-flex-1 tw-py-[11px] tw-px-[22px] tw-text-[14px] lg:tw-text-[16px] tw-leading-[1.125] tw-font-medium tw-bg-[#e8ded1]"},Hs={class:"tw-flex tw-items-center tw-gap-[6px]"},Ws=t("strong",{class:"tw-uppercase tw-text-[20px] tw-leading-[1.75] tw-font-black tw-gap-2.5 cursor-pointer"},"No Nuts! ",-1),Js=t("i",{class:"icon-main-info tw-text-[22px]"},null,-1),Gs=t("p",null," All of our products are free from peanuts and tree nuts (except coconut)! ",-1),Ks={class:"tw-absolute tw-bottom-0 tw-inset-x-0"},Ys={class:"tw-text-center tw-py-3 tw-bg-[#e8ded1]"},Qs={class:"tw-text-[14px] tw-leading-[1.14] tw-font-medium"},Xs={class:"tw-flex tw-items-center tw-text-center tw-gap-2 tw-text-[16px] tw-leading-none tw-font-bold tw-bg-nl-yellow-100 tw-shadow-nl-4 tw-py-[9px] tw-px-4 tw-uppercase"},Zs={class:"tw-w-full"},tn={class:"tw-w-full"},en={key:0,class:"tw-px-[5px] max-lg:tw-order-[999] max-lg:tw-flex max-lg:tw-flex-wrap max-lg:tw-items-start max-lg:tw-gap-[7px] max-lg:tw-bg-nl-yellow-100 max-lg:tw-p-[11px] max-lg:tw-shadow-nl-10"},sn={class:"max-lg:tw-flex-1 max-lg:tw-overflow-x-auto hide-scrollbar"},nn={class:"tw-flex lg:tw-flex-col tw-gap-2 xxl:tw-gap-[9px] lg:tw-mb-[30px] tw-max-w-[890px] tw-overflow-auto lg:tw-w-full"},on={class:"tw-inline-flex tw-items-center tw-gap-[6px] tw-border-[2px] tw-border-nl-green-100 tw-text-[15px] tw-leading-[1.3] tw-font-medium tw-rounded-[6px] tw-px-[5px] tw-py-px"},an=["onClick"],ln={class:"tw-inline-flex tw-items-center tw-gap-[6px] tw-border-[2px] tw-border-nl-green-100 tw-text-[15px] tw-leading-[1.3] tw-font-medium tw-rounded-[6px] tw-px-[5px] tw-py-px"},rn=["onClick"],wn=q({__name:"Filter",props:{open:Boolean,filter:Object,indicators:Array,tags:Array},emits:["update:filter","update:open"],setup(u,{emit:d}){var P,G;const s=u,n=d,w=lt(),l=F(),a=F({tags:[...(P=s==null?void 0:s.filter)==null?void 0:P.tags],indicators:[...(G=s==null?void 0:s.filter)==null?void 0:G.indicators]});Nt(l,()=>k());const{deactivate:r}=ze(l,{immediate:!0}),f=y(()=>{var x,j;return!s.open&&((x=s==null?void 0:s.filter)==null?void 0:x.indicators.length)+((j=s==null?void 0:s.filter)==null?void 0:j.tags.length)>0});function c(){n("update:filter",{tags:[...a.value.tags],indicators:[...a.value.indicators]}),k()}function k(){r(),n("update:open",!1)}function h(){r(),n("update:open",!s.open)}function E(x,j){const N=a.value[x].indexOf(j);N!==-1?a.value[x].splice(N,1):a.value[x].push(j),n("update:filter",{tags:[...a.value.tags],indicators:[...a.value.indicators]})}function $(x,j){a.value[x]=Wt.filter(a.value[x],N=>N!==j),c()}function I(x,j){return Wt.get(Wt.find(s[x],{id:j}),"name",null)}function b(x,j){return a.value[x].indexOf(j)>-1}function B(){H(),c()}function H(){a.value={tags:[],indicators:[]},n("update:filter",{tags:[...a.value.tags],indicators:[...a.value.indicators]})}return wt(()=>s.filter,x=>{a.value={tags:[...x.tags],indicators:[...x.indicators]}},{deep:!0}),(x,j)=>{const N=Be;return o(),i(z,null,[t("div",Ve(He(x.$attrs)),null,16),(o(),tt(We,{to:"main"},[u.open?(o(),i("div",Ss,[t("div",{ref_key:"filterWrapper",ref:l,class:"tw-w-[355px] tw-h-[var(--vh)] lg:tw-h-[calc(var(--vh)-70px)] tw-bg-[#e8ded1] tw-shadow-nl-3 tw-relative"},[t("div",Ps,[Ts,t("span",{onClick:h,"aria-expanded":!!u.open,"aria-label":"Close filter",ref:"close",class:"icon-main-times tw-text-[12px] tw-cursor-pointer -tw-mt-[7px]"},null,8,js)]),t("div",Ms,[t("div",Es,[t("ul",As,[(o(!0),i(z,null,ot(u.tags,A=>(o(),i("li",{class:"tw-py-2.5 tw-border-b tw-border-nl-green-100/[0.1]",key:`tag-${A.id}`},[t("label",Os,[t("input",{"aria-checked":b("tags",A.id)?"true":"false",type:"checkbox",class:"tw-peer tw-hidden"},null,8,Fs),t("span",null,_(A==null?void 0:A.name),1),t("span",{class:X([{"tw-bg-nl-green-300 text-nl-white":!!b("tags",A.id)},"tw-flex tw-items-center tw-justify-center tw-w-[23px] tw-h-[23px] tw-bg-[#e8ded1] tw-rounded-[3px] tw-text-[#e8ded1] tw-transition-all"]),onClick:C(D=>E("tags",A.id),["prevent"]),tabindex:"0"},Rs,10,Ns)])]))),128)),(o(!0),i(z,null,ot(u.indicators,A=>(o(),i("li",{class:"tw-py-2.5 tw-border-b tw-border-nl-green-100/[0.1]",key:`indicator-${A.id}`},[t("label",qs,[t("input",{"aria-checked":b("indicators",A.id)?"true":"false",type:"checkbox",class:"tw-peer tw-hidden"},null,8,Bs),t("span",null,_(A==null?void 0:A.name),1),t("span",{class:X([{"tw-bg-nl-green-300 text-nl-white":!!b("indicators",A.id)},"tw-flex tw-items-center tw-justify-center tw-w-[23px] tw-h-[23px] tw-bg-[#e8ded1] tw-rounded-[3px] tw-text-[#e8ded1] tw-transition-all"]),tabindex:"0",onClick:C(D=>E("indicators",A.id),["prevent"])},zs,10,Us)])]))),128))])]),t("div",Vs,[t("div",Hs,[Ws,O(N,{position:"top-center",value:"For more info on our specific allergen control practices, visit our <a target='_blank' href='/faq'>FAQs</a>"},{default:V(()=>[Js]),_:1})]),Gs])]),t("div",Ks,[t("div",Ys,[t("span",Qs,_(e(w).filteredProductCount)+" results",1)]),t("ul",Xs,[t("li",Zs,[t("a",{onClick:C(H,["prevent"]),href:"#"},"Clear All Filters")]),t("li",tn,[t("a",{href:"#",onClick:C(h,["stop","prevent"]),class:"tw-block tw-rounded tw-bg-nl-violet-100 tw-text-white tw-p-3"},"Done")])])])],512)])):p("",!0)])),e(f)?(o(),i("div",en,[t("a",{href:"#",onClick:C(B,["prevent"]),class:"tw-inline-block tw-text-[15px] tw-leading-[1.3] tw-font-medium md:tw-mb-[11px] tw-pb-0.5 tw-relative after:tw-content-[''] after:tw-absolute after:tw-bottom-0 after:tw-left-0 after:tw-right-0 after:tw-h-0.5 after:tw-bg-nl-green-100 after:tw-rounded-[10px]"},"Clear Filters"),t("div",sn,[t("ul",nn,[(o(!0),i(z,null,ot(u.filter.tags,A=>(o(),i("li",{key:A,class:"tw-flex-shrink-0"},[t("span",on,[g(_(I("tags",A))+" ",1),t("i",{onClick:D=>$("tags",A),class:"icon-main-times tw-cursor-pointer tw-text-[8px] mt-0.5"},null,8,an)])]))),128)),(o(!0),i(z,null,ot(u.filter.indicators,A=>(o(),i("li",{key:A,class:"tw-flex-shrink-0"},[t("span",ln,[g(_(I("indicators",A))+" ",1),t("i",{onClick:D=>$("indicators",A),class:"icon-main-times tw-cursor-pointer tw-text-[8px] mt-0.5"},null,8,rn)])]))),128))])])])):p("",!0)],64)}}}),cn={class:"tw-bg-nl-white-100 lg:tw-bg-[#e8ded1] lg:tw-rounded-[19px] tw-pl-[15px] tw-pr-[12px] tw-py-[15px] max-lg:tw-pl-[43px] max-lg:tw-overflow-x-auto max-lg:tw-shadow-nl-11 hide-scrollbar tw-z-50"},dn={class:"tw-text-[15px] lg:tw-text-[22px] tw-leading-[1.2] tw-font-medium tw-flex lg:tw-flex-col tw-gap-[14px] lg:tw-gap-[25px] max-lg:tw-whitespace-nowrap max-lg:[&>li:last-child]:tw-pr-[10px]"},un=["onClick","aria-current"],pn={key:0,class:"tw-w-[32px] tw-h-[16px] tw-inline-flex tw-items-end tw-justify-center tw-absolute tw-bottom-full tw-left-0 tw-bg-[#fff07c] tw-rounded-t-full tw-text-center tw-text-[12px] tw-leading-none tw-font-bold tw-text-nl-green-100 tw-mx-0.5 -tw-mb-0.5"},mn=5,xn=q({__name:"Nav",props:{items:{}},setup(u){const d=u,s=lt(),n=y(()=>d.items.sort((a,r)=>r.sorting_weight-a.sorting_weight)),w=a=>{s.selectMenuItem(a.slug),window.scrollTo({top:mn,behavior:"instant"})},l=a=>{const r=s.selectedMenuItem;return r&&(r==null?void 0:r.id)===a.id};return(a,r)=>(o(),i("div",cn,[t("ul",dn,[(o(!0),i(z,null,ot(e(n),f=>(o(),i("li",{key:f.name,class:X({active:l(f)})},[t("a",{onClick:C(c=>w(f),["prevent"]),href:"#",class:X(["tw-inline-block tw-relative tw-transition-all hover:tw-font-bold hover:tw-underline hover:tw-font-bold",[l(f)?"tw-font-bold tw-underline":""]]),"aria-current":("isBoolean"in a?a.isBoolean:e(Is))(l(f))},[f!=null&&f.is_new_flag?(o(),i("span",pn,"New!")):p("",!0),t("span",null,_(f==null?void 0:f.name),1)],10,un)],2))),128))])]))}}),fn=Z("/assets/images/menu/popup-img02.webp"),_n=Z("/assets/images/menu/popup-img02-mob.webp"),gn=t("i",{class:"icon-main-chevron-bold-right tw-text-[11px] tw-pl-1"},null,-1),hn={key:0,class:"tw-fixed tw-inset-0 tw-bg-nl-green-100/[0.35] tw-flex tw-flex-wrap tw-items-center tw-justify-center tw-z-50 tw-overflow-y-auto"},bn={class:"tw-container tw-w-full tw-py-[50px] max-lg:tw-px-3"},vn=ge('<div class="max-lg:tw-hidden tw-w-[350px] tw-h-[534px] tw-relative popup-masked-img alt"><img src="'+fn+'" class="mask tw-block" alt="Image"></div><div class="lg:tw-hidden tw-w-[350px] tw-h-[198px] tw-relative popup-masked-img-mob"><img src="'+_n+'" class="mask tw-block" alt="Image"></div><div class="lg:tw-flex-1 lg:tw-flex lg:tw-items-center tw-py-5 tw-px-6 xl:tw-p-10 tw-text-left"><div><div class="tw-text-[16px] tw-leading-[1.375] tw-font-medium"><h1 class="tw-text-[29px] lg:tw-text-[35px] tw-leading-none tw-font-black tw-normal-case tw-mb-[23px]"> When is my baby ready to try finger foods? </h1><ul class="tw-flex tw-flex-col tw-gap-[15px] tw-mb-[27px]"><li class="tw-pl-[44px] tw-relative"><span class="tw-absolute tw-left-0 tw-top-0 tw-flex tw-items-center tw-justify-center tw-bg-nl-green-300 tw-w-[23px] tw-h-[23px] tw-rounded-full"><i class="icon-main-check tw-text-white tw-text-[11px]"></i></span><span class="tw-block">They reach for food (commonly a parent’s dish or utensil)</span></li><li class="tw-pl-[44px] tw-relative"><span class="tw-absolute tw-left-0 tw-top-0 tw-flex tw-items-center tw-justify-center tw-bg-nl-green-300 tw-w-[23px] tw-h-[23px] tw-rounded-full"><i class="icon-main-check tw-text-white tw-text-[11px]"></i></span><span class="tw-block">They are hungry soon after meals</span></li><li class="tw-pl-[44px] tw-relative"><span class="tw-absolute tw-left-0 tw-top-0 tw-flex tw-items-center tw-justify-center tw-bg-nl-green-300 tw-w-[23px] tw-h-[23px] tw-rounded-full"><i class="icon-main-check tw-text-white tw-text-[11px]"></i></span><span class="tw-block">They are eating purees quickly and continuing to want more</span></li><li class="tw-pl-[44px] tw-relative"><span class="tw-absolute tw-left-0 tw-top-0 tw-flex tw-items-center tw-justify-center tw-bg-nl-green-300 tw-w-[23px] tw-h-[23px] tw-rounded-full"><i class="icon-main-check tw-text-white tw-text-[11px]"></i></span><span class="tw-block">They are able (or almost able) to hold small pieces of food and self-feed</span></li></ul><p> Every child develops at a different pace—just continue paying attention to your baby’s habits, and ease into Finger Foods when they’re ready. </p></div></div></div>',3),yn=q({__name:"FingerFoodInfoButton",setup(u){const d=F(null),s=F(!1);return Nt(d,()=>{s.value=!1}),(w,l)=>(o(),i(z,null,[t("a",{onClick:l[0]||(l[0]=C(a=>s.value=!e(s),["prevent"])),href:"#",class:"tw-shadow-nl-9 tw-inline-flex tw-items-center tw-bg-nl-white-100 md:tw-bg-[#FCF8F2] tw-text-[14px] tw-py-[3px] md:tw-py-[2px] tw-px-[13px] tw-rounded-[6px] tw-mb-2 tw-uppercase"},[g("When is my baby ready for Finger Foods? "),gn]),e(s)?(o(),i("div",hn,[t("div",bn,[t("div",{ref_key:"fingerFoodWrapper",ref:d,class:"tw-max-w-[350px] lg:tw-max-w-[750px] tw-mx-auto tw-bg-nl-yellow-100 tw-rounded-[30px] lg:tw-flex tw-relative tw-overflow-hidden"},[t("span",{onClick:l[1]||(l[1]=a=>s.value=!1),class:"icon-main-times tw-text-[12px] tw-cursor-pointer tw-absolute tw-right-[22px] tw-top-[22px] tw-z-10"}),vn],512)])])):p("",!0)],64))}}),kn=t("i",{class:"icon-main-chevron-bold-right tw-text-[11px] tw-pl-1"},null,-1),$n=q({__name:"PickyEaterButton",props:{menuItem:{}},emits:["clicked"],setup(u,{emit:d}){const s=d,n=()=>{s("clicked")};return(w,l)=>{var a;return((a=w.menuItem)==null?void 0:a.slug)=="heatable-meals"?(o(),i("button",{key:0,onClick:n,class:"tw-shadow-nl-9 tw-inline-flex tw-items-center tw-bg-nl-white-100 md:tw-bg-[#FCF8F2] tw-text-[14px] tw-py-[3px] md:tw-py-[2px] tw-px-[13px] tw-rounded-[6px] tw-mb-2 tw-uppercase"},[g("Have a Picky Eater? "),kn])):p("",!0)}}}),Cn={key:0,class:"tw-block"},In={key:0,class:"space-x-3 rounded-md bg-green-2 py-1 px-5 text-sm uppercase text-green-500"},Sn={key:0,class:"tw-relative tw-font-normal tw-mr-1 before:tw-content-[''] before:tw-absolute before:tw-inset-x-0 before:tw-border-t-2 before:tw-border-nl-green-100 before:-tw-rotate-6 before:tw-top-[9px]"},Pn={key:0,class:"tw-ml-[3px]"},Tn={key:0,class:"tw-relative tw-font-normal tw-mr-1 before:tw-content-[''] before:tw-absolute before:tw-inset-x-0 before:tw-border-t-2 before:tw-border-nl-green-100 before:-tw-rotate-6 before:tw-top-[9px]"},jn={key:1,class:"tw-ml-[3px]"},Mn={key:0,class:"tw-relative tw-font-normal tw-mr-1 before:tw-content-[''] before:tw-absolute before:tw-inset-x-0 before:tw-border-t-2 before:tw-border-nl-green-100 before:-tw-rotate-6 before:tw-top-[9px]"},En=q({__name:"ItemPricing",props:{menuItem:{}},setup(u){const d=u,s=lt(),n=y(()=>d.menuItem.primaryCategory&&d.menuItem.primaryCategory.data.id?d.menuItem.primaryCategory.data:null),w=y(()=>d.menuItem.primaryComposableCategory&&d.menuItem.primaryComposableCategory.data.id&&d.menuItem.primaryComposableCategory.data.pack_of>1?d.menuItem.primaryComposableCategory.data:null),l=y(()=>n.value&&n.value.pack_of>1),a=y(()=>n.value?s.leastExpensiveProductInCategory(n.value.id):null),r=y(()=>{if(!w.value)return null;const b=s.leastExpensiveProductInCategory(w.value.id);return b&&(b!=null&&b.is_composite)?b:null}),f=y(()=>n.value?n.value.composable_name:null),c=y(()=>l.value?$.value:a!=null&&a.value?a==null?void 0:a.value.price.price:null),k=y(()=>l.value?I(a==null?void 0:a.value.price.original_price,a==null?void 0:a.value.number_of_items_per_pack):a!=null&&a.value?a==null?void 0:a.value.price.original_price:null),h=y(()=>r.value?r.value.price.price:null),E=y(()=>r.value?r.value.price.original_price:null),$=y(()=>r.value?I(r.value.price.price,r.value.number_of_items_per_pack):null);function I(b,B){return b/B}return(b,B)=>e(c)?(o(),i("span",Cn,[e(r)?(o(),i("span",In,[e(E)>e(h)?(o(),i("span",Sn,_(e(J)(e(E))),1)):p("",!0),t("span",null,[g(_(e(J)(e(h)))+"/pack of "+_(e(r).number_of_items_per_pack)+" ",1),e(r)?(o(),i("span",Pn,[e(k)>e(c)?(o(),i("span",Tn," ( "+_(e(J)(e(k))),1)):p("",!0),e(k)<=e(c)?(o(),i(z,{key:1},[g("(")],64)):p("",!0),g(_(e(J)(e(c)))+"/",1),gt(t("span",null,_(e(f))+")",513),[[ht,e(f)]])])):p("",!0)])])):p("",!0),e(r)?p("",!0):(o(),i("span",jn,[e(k)>e(c)?(o(),i("span",Mn,_(e(J)(e(k))),1)):p("",!0),g(" "+_(e(J)(e(c)))+"/",1),gt(t("span",null,_(e(f)),513),[[ht,e(f)]])]))])):p("",!0)}}),An=Z("/assets/images/menu/p-img02.webp"),On={class:"tw-mb-[15px] md:tw-mb-0 md:tw-p-[10px] tw-w-full md:tw-w-1/3 lg:tw-w-1/2 min-[1200px]:tw-w-1/3"},Fn={class:"tw-relative md:tw-flex md:tw-flex-col md:tw-h-full tw-rounded-[10px] tw-overflow-hidden md:tw-bg-nl-white-100 tw-shadow-nl-5 tw-text-[13px] md:tw-text-[14px] tw-leading-[1.142] tw-font-medium"},Nn=t("img",{class:"tw-absolute tw-left-0 tw-top-0 -tw-z-1 tw-w-full tw-h-full tw-object-cover tw-object-center",src:An},null,-1),Ln={class:"tw-h-auto md:tw-h-[100%]"},Rn=t("div",{class:"tw-absolute md:tw-hidden tw-w-full tw-h-full tw-bg-repeat-y tw-bg-[length:100%_auto]",style:{"background-image":"url('/assets/images/menu/bg-tile.jpg')"}},null,-1),qn={key:0,class:"tw-relative tw-pt-[22%] md:tw-hidden"},Bn=["src","alt"],Un=["src","alt"],Dn={class:"md:tw-pt-[10px] md:tw-flex md:tw-flex-col md:tw-justify-between md:tw-h-full md:tw-px-3 md:tw-pb-3 tw-relative tw-text-center md:tw-text-left"},zn={class:"md:tw-min-h-[121px] tw-px-[30px] md:tw-px-0"},Vn={class:"tw-text-[18px] md:tw-text-[22px] tw-leading-[1.045] tw-font-black tw-capitalize tw-mb-1"},Hn={class:"tw-font-medium"},Wn={class:"tw-bg-nl-white-100 tw-px-[29px] md:tw-px-0 tw-py-[7px] md:tw-pb-0 tw-mt-[4px] md:tw-mt-0"},Jn=["disabled"],Gn=q({__name:"BestsellerCard",props:{card:{}},setup(u){const d=u,s=It(),n=Lt(),w=F(!1);async function l(){s.isCheckoutStepAvailable||(w.value=!0,await s.FILL_CART_WITH_BESTSELLERS({bestsellerGroupId:d.card.id,sourceUrl:window.location.href}),w.value=!1)}const a=y(()=>s.isCheckoutStepAvailable?"Box is Full":n.cartProductsCount>0?d.card.button_alt_text:d.card.button_text);return(r,f)=>{var k,h;const c=Bt;return o(),i("div",On,[t("div",Fn,[Nn,t("div",Ln,[Rn,(k=r.card)!=null&&k.mobile_image?(o(),i("div",qn,[(h=r.card)!=null&&h.mobile_image?(o(),i("img",{key:0,class:"tw-w-full tw-absolute tw-top-0 tw-left-0",src:r.card.mobile_image,alt:r.card.name},null,8,Bn)):p("",!0)])):p("",!0),t("img",{class:"tw-w-full tw-hidden md:tw-block tw-w-full tw-h-full tw-object-cover tw-object-center",src:r.card.image,alt:r.card.name},null,8,Un)]),t("div",Dn,[t("div",zn,[t("h3",Vn," Fill My Box: "+_(r.card.name),1),t("p",Hn,_(r.card.description),1)]),t("div",Wn,[t("button",{onClick:C(l,["prevent"]),class:X([{"tw-opacity-50":e(s).isCheckoutStepAvailable||e(w)},"tw-bg-nl-green-300 tw-uppercase tw-text-[14px] md:tw-text-[20px] tw-font-bold tw-text-white tw-min-h-[30px] md:tw-min-h-[40px] tw-max-h-[40px] tw-inline-flex tw-items-center tw-justify-center tw-w-full tw-shadow-nl-13 tw-rounded-[4px]"]),disabled:e(s).isCheckoutStepAvailable||e(w)},[e(w)?(o(),tt(c,{key:0,position:"absolute","bg-color":"white"})):(o(),i(z,{key:1},[g(_(e(a)),1)],64))],10,Jn)])])])])}}}),Ft="#ffffff",Kn=q({__name:"index",props:{bgClass:{default:"tw-bg-gray-300"},elementRef:{}},setup(u){const d=u,{bgClass:s,elementRef:n}=he(d),w=y(()=>({backgroundImage:`linear-gradient(90deg, ${Ft}00 0%, ${Ft}33 20%, ${Ft}80 60%, ${Ft}00)`})),l=F({width:"100%",height:"100%",paddingBottom:"100%"});return kt(()=>{}),(a,r)=>(o(),i("div",{class:X([e(s),"tw-relative tw-overflow-hidden"]),style:ie(l.value)},[t("div",{class:"shimmer tw-absolute tw-top-0 tw-right-0 tw-bottom-0 tw-left-0",style:ie(w.value)},null,4),Je(a.$slots,"default",{},void 0,!0)],6))}}),Yn=St(Kn,[["__scopeId","data-v-2631cef1"]]),Qn=["data-sku","id"],Xn={class:"tw-relative tw-flex md:tw-flex-col tw-rounded-[10px] tw-overflow-hidden tw-bg-nl-white-100 tw-shadow-nl-5 tw-text-[13px] md:tw-text-[14px] tw-leading-[1.142] tw-font-medium tw-h-full"},Zn={key:0,class:"tw-ml-[5px]"},to=["href"],eo=["src"],so={class:"tw-flex-1 md:tw-flex-initial tw-pt-[10px] tw-px-3 tw-pb-3 md:tw-flex md:tw-flex-col md:tw-justify-between md:tw-h-full"},no={class:"tw-min-h-[121px]"},oo={class:"tw-font-medium"},ao={class:"tw-pt-1 md:tw-pt-[7px]"},lo=q({__name:"Product",props:{sku:{},slug:{},images:{},name:{},withStatement:{},description:{},badge:{},excerpt:{},price:{},priceBeforeDiscount:{},rating:{},isSoldOut:{type:Boolean},indicators:{default:()=>[]},quantity:{},readOnly:{type:Boolean},numberOfItemsPerPack:{},category:{}},emits:["add","subtract","press"],setup(u,{emit:d}){const s=u,n=d,w=Rt(),l=F(!1),a=F(null),r=()=>{a.value&&(l.value=!0)},f=y(()=>{var P,G;switch((G=(P=s==null?void 0:s.badge)==null?void 0:P.data)==null?void 0:G.slug){case"picky-eater":return"tw-bg-picky-eater-fav";case"new":return"tw-bg-new";case"best-seller":return"tw-bg-best-seller";case"best-value":return"tw-bg-best-valuer";case"smoothie-best-value":return"tw-bg-best-value";case"premium":return"tw-bg-premium";default:return"tw-bg-new"}}),c=()=>{s.isSoldOut||n("add",s.sku)},k=()=>{n("subtract",s.sku)},h=()=>{if(s.isSoldOut)return;const P=window.scrollY||document.getElementsByTagName("html")[0].scrollTop;w.push(window.location.pathname+window.location.search+"#product-"+s.slug).then(()=>{be(()=>{setTimeout(()=>{window.scrollTo(0,P)})})}),n("press",s.sku)},E=y(()=>"#product-"+s.slug),$=F(s.images[0]),I=y(()=>{let P=s.badge&&s.badge.data&&s.badge.data.name;return P!=null&&P.startsWith("Best Value")?"Best Value":P!=null&&P.startsWith("New")||P!=null&&P.startsWith("New")?"New!":P}),b=y(()=>J(s.price.premium_difference,0));function B(){s.images[1]?$.value=s.images[1]:$.value=s.images[0]}function H(){$.value=s.images[0]}return(P,G)=>{const x=Yn,j=bs,N=vs,A=Fe,D=ys;return o(),i("div",{class:"tw-mb-[15px] md:tw-mb-0 md:tw-p-[10px] tw-w-full md:tw-w-1/3 lg:tw-w-1/2 min-[1200px]:tw-w-1/3","data-sku":P.sku,id:"product-"+P.slug},[t("div",Xn,[e(I)&&e(l)?(o(),i("span",{key:0,class:X([e(f),"tw-bg-best-seller tw-bg-[length:100%_100%] tw-h-[25px] md:tw-h-[33px] tw-px-[13px] tw-text-nl-green-100 tw-text-[12px] md:tw-text-[16px] tw-font-bold tw-inline-flex tw-items-center tw-justify-center tw-absolute tw-top-[5px] tw-left-[7px] tw-z-1"])},[g(_(e(I))+" ",1),P.price.premium_difference?(o(),i("span",Zn,"+"+_(e(b)),1)):p("",!0)],2)):p("",!0),t("div",{onMouseenter:B,onMouseleave:H,class:"tw-w-[165px] md:tw-w-auto tw-h-full"},[t("a",{href:e(E),onClick:C(h,["stop","prevent"])},[e(l)?p("",!0):(o(),tt(x,{key:0,elementRef:e(a)},null,8,["elementRef"])),t("img",{loading:"lazy",ref_key:"imageRef",ref:a,src:e($),onLoad:r,alt:"product",class:"tw-w-full tw-w-full tw-h-full tw-object-cover tw-object-center"},null,40,eo)],8,to)],32),t("div",so,[t("div",no,[O(j,{name:P.name},null,8,["name"]),O(N,{withStatement:P.withStatement,numberOfItemsPerPack:P.numberOfItemsPerPack},null,8,["withStatement","numberOfItemsPerPack"]),O(A,{class:"tw-w-[81px] md:tw-h-[14px] tw-mb-1 md:tw-mb-[7px]",value:P.rating},null,8,["value"]),t("p",oo,_(P.excerpt),1)]),t("div",ao,[O(D,{onAdd:c,onSubtract:k,quantity:P.quantity,isSoldOut:P.isSoldOut,readOnly:P.readOnly},null,8,["quantity","isSoldOut","readOnly"])])])])],8,Qn)}}}),Ut=Z("/assets/images/menu/faq/kids-meals.jpg"),Dt=Z("/assets/images/menu/faq/snacks.jpg"),Kt=Z("/assets/images/menu/faq/super-sammies.jpg"),ro={class:"tw-mb-5 md:tw-mb-[50px] tw-w-full"},io={class:"tw-flex tw-flex-wrap tw-justify-center tw-gap-[22px] xl:tw-gap-[35px]"},wo=t("div",{class:"clipped-img tw-w-[151px] tw-h-[151px] xl:tw-h-[180px] xl:tw-w-[184px] tw-mx-auto tw-ml-[10px] tw-relative before:tw-translate-y-[10px] before:tw-translate-x-[-10px] before:tw-bg-shape-orange tw-mb-6 max-md:before:tw-bg-shape-blue"},[t("img",{src:Ut,class:"mask tw-object-cover",alt:"kids meals"})],-1),co={class:"tw-block tw-uppercase tw-text-[14px] xl:tw-text-[17px] tw-font-medium tw-text-center"},uo={class:"max-md:tw-hidden"},po=t("div",{class:"clipped-img tw-w-[151px] xl:tw-w-[184px] tw-mx-auto tw-ml-[10px] tw-relative before:tw-translate-y-[10px] before:tw-translate-x-[-10px] before:tw-bg-shape-blue tw-mb-6"},[t("img",{src:Dt,class:"mask tw-object-cover",alt:"Mighty Bites"})],-1),mo={class:"tw-block tw-uppercase tw-text-[14px] xl:tw-text-[17px] tw-font-medium tw-text-center"},xo=t("div",{class:"clipped-img tw-w-[151px] xl:tw-w-[184px] tw-mx-auto tw-ml-[10px] tw-relative before:tw-translate-y-[10px] before:tw-translate-x-[-10px] before:tw-bg-shape-purple tw-mb-6 max-md:before:tw-bg-shape-orange"},[t("img",{src:Kt,class:"mask tw-object-cover",alt:"Super Sammies"})],-1),fo={class:"tw-block tw-uppercase tw-text-[14px] xl:tw-text-[17px] tw-font-medium tw-text-center"},_o=q({__name:"Smoothies",setup(u){const d=lt(),s=n=>{d.selectMenuItem(n),window.scrollTo({top:0,behavior:"instant"})};return(n,w)=>{const l=$t;return o(),i("div",ro,[t("div",io,[t("div",null,[wo,t("span",co,[g("Jump to "),O(l,{onClick:w[0]||(w[0]=C(a=>s("heatable-meals"),["prevent"])),class:"tw-underline-offset-2 tw-underline tw-decoration-2 tw-decoration-nl-green-200 hover:tw-no-underline tw-cursor-pointer"},{default:V(()=>[g("Kids Meals")]),_:1})])]),t("div",uo,[po,t("span",mo,[g("Jump to "),O(l,{onClick:w[1]||(w[1]=C(a=>s("snacks"),["prevent"])),class:"tw-underline-offset-2 tw-underline tw-decoration-2 tw-decoration-nl-green-200 hover:tw-no-underline tw-cursor-pointer"},{default:V(()=>[g("Mighty Bites")]),_:1})])]),t("div",null,[xo,t("span",fo,[g("Jump to "),O(l,{onClick:w[2]||(w[2]=C(a=>s("super-sammies"),["prevent"])),class:"tw-underline-offset-2 tw-underline tw-decoration-2 tw-decoration-nl-green-200 hover:tw-no-underline tw-cursor-pointer"},{default:V(()=>[g("Super Sammies")]),_:1})])])])])}}}),Pt=Z("/assets/images/menu/faq/smoothies.jpg"),go={class:"tw-mb-5 md:tw-mb-[50px] tw-w-full"},ho={class:"tw-flex tw-flex-wrap tw-justify-center tw-gap-[22px] xl:tw-gap-[35px]"},bo=t("div",{class:"clipped-img tw-w-[151px] tw-h-[151px] xl:tw-h-[180px] xl:tw-w-[184px] tw-mx-auto tw-ml-[10px] tw-relative before:tw-translate-y-[10px] before:tw-translate-x-[-10px] before:tw-bg-shape-orange tw-mb-6 max-md:before:tw-bg-shape-blue"},[t("img",{src:Ut,class:"mask tw-object-cover",alt:"kids meals"})],-1),vo={class:"tw-block tw-uppercase tw-text-[14px] xl:tw-text-[17px] tw-font-medium tw-text-center"},yo={class:"max-md:tw-hidden"},ko=t("div",{class:"clipped-img tw-w-[151px] xl:tw-w-[184px] tw-mx-auto tw-ml-[10px] tw-relative before:tw-translate-y-[10px] before:tw-translate-x-[-10px] before:tw-bg-shape-blue tw-mb-6"},[t("img",{src:Pt,class:"mask tw-object-cover",alt:"Smoothies"})],-1),$o={class:"tw-block tw-uppercase tw-text-[14px] xl:tw-text-[17px] tw-font-medium tw-text-center"},Co=t("div",{class:"clipped-img tw-w-[151px] xl:tw-w-[184px] tw-mx-auto tw-ml-[10px] tw-relative before:tw-translate-y-[10px] before:tw-translate-x-[-10px] before:tw-bg-shape-purple tw-mb-6 max-md:before:tw-bg-shape-orange"},[t("img",{src:Kt,class:"mask tw-object-cover",alt:"Super Sammies"})],-1),Io={class:"tw-block tw-uppercase tw-text-[14px] xl:tw-text-[17px] tw-font-medium tw-text-center"},So=q({__name:"Snacks",setup(u){const d=lt(),s=n=>{d.selectMenuItem(n),window.scrollTo({top:0,behavior:"instant"})};return(n,w)=>{const l=$t;return o(),i("div",go,[t("div",ho,[t("div",null,[bo,t("span",vo,[g("Jump to "),O(l,{onClick:w[0]||(w[0]=C(a=>s("heatable-meals"),["prevent"])),class:"tw-underline-offset-2 tw-underline tw-decoration-2 tw-decoration-nl-green-200 hover:tw-no-underline tw-cursor-pointer"},{default:V(()=>[g("Kids Meals")]),_:1})])]),t("div",yo,[ko,t("span",$o,[g("Jump to "),O(l,{onClick:w[1]||(w[1]=C(a=>s("smoothies"),["prevent"])),class:"tw-underline-offset-2 tw-underline tw-decoration-2 tw-decoration-nl-green-200 hover:tw-no-underline tw-cursor-pointer"},{default:V(()=>[g("Smoothies")]),_:1})])]),t("div",null,[Co,t("span",Io,[g("Jump to "),O(l,{onClick:w[2]||(w[2]=C(a=>s("super-sammies"),["prevent"])),class:"tw-underline-offset-2 tw-underline tw-decoration-2 tw-decoration-nl-green-200 hover:tw-no-underline tw-cursor-pointer"},{default:V(()=>[g("Super Sammies")]),_:1})])])])])}}}),Po={class:"tw-mb-5 md:tw-mb-[50px] tw-w-full"},To={class:"tw-flex tw-flex-wrap tw-justify-center tw-gap-[22px] xl:tw-gap-[35px]"},jo=t("div",{class:"clipped-img tw-w-[151px] tw-h-[151px] xl:tw-h-[180px] xl:tw-w-[184px] tw-mx-auto tw-ml-[10px] tw-relative before:tw-translate-y-[10px] before:tw-translate-x-[-10px] before:tw-bg-shape-orange tw-mb-6 max-md:before:tw-bg-shape-blue"},[t("img",{src:Ut,class:"mask tw-object-cover",alt:"kids meals"})],-1),Mo={class:"tw-block tw-uppercase tw-text-[14px] xl:tw-text-[17px] tw-font-medium tw-text-center"},Eo={class:"max-md:tw-hidden"},Ao=t("div",{class:"clipped-img tw-w-[151px] xl:tw-w-[184px] tw-mx-auto tw-ml-[10px] tw-relative before:tw-translate-y-[10px] before:tw-translate-x-[-10px] before:tw-bg-shape-blue tw-mb-6"},[t("img",{src:Pt,class:"mask tw-object-cover",alt:"Smoothies"})],-1),Oo={class:"tw-block tw-uppercase tw-text-[14px] xl:tw-text-[17px] tw-font-medium tw-text-center"},Fo=t("div",{class:"clipped-img tw-w-[151px] xl:tw-w-[184px] tw-mx-auto tw-ml-[10px] tw-relative before:tw-translate-y-[10px] before:tw-translate-x-[-10px] before:tw-bg-shape-purple tw-mb-6 max-md:before:tw-bg-shape-orange"},[t("img",{src:Dt,class:"mask tw-object-cover",alt:"snacks"})],-1),No={class:"tw-block tw-uppercase tw-text-[14px] xl:tw-text-[17px] tw-font-medium tw-text-center"},Lo=q({__name:"SuperSammies",setup(u){const d=lt(),s=n=>{d.selectMenuItem(n),window.scrollTo({top:0,behavior:"instant"})};return(n,w)=>{const l=$t;return o(),i("div",Po,[t("div",To,[t("div",null,[jo,t("span",Mo,[g("Jump to "),O(l,{onClick:w[0]||(w[0]=C(a=>s("heatable-meals"),["prevent"])),class:"tw-underline-offset-2 tw-underline tw-decoration-2 tw-decoration-nl-green-200 hover:tw-no-underline tw-cursor-pointer"},{default:V(()=>[g("Kids Meals")]),_:1})])]),t("div",Eo,[Ao,t("span",Oo,[g("Jump to "),O(l,{onClick:w[1]||(w[1]=C(a=>s("smoothies"),["prevent"])),class:"tw-underline-offset-2 tw-underline tw-decoration-2 tw-decoration-nl-green-200 hover:tw-no-underline tw-cursor-pointer"},{default:V(()=>[g("Smoothies")]),_:1})])]),t("div",null,[Fo,t("span",No,[g("Jump to "),O(l,{onClick:w[2]||(w[2]=C(a=>s("snacks"),["prevent"])),class:"tw-underline-offset-2 tw-underline tw-decoration-2 tw-decoration-nl-green-200 hover:tw-no-underline tw-cursor-pointer"},{default:V(()=>[g("Mighty Bites")]),_:1})])])])])}}}),Ne=Z("/assets/images/menu/faq/finger-foods.jpg"),Ro={class:"tw-mb-5 md:tw-mb-[50px] tw-w-full"},qo={class:"tw-flex tw-flex-wrap tw-justify-center tw-gap-[22px] xl:tw-gap-[35px]"},Bo={class:"max-md:tw-hidden"},Uo=t("div",{class:"clipped-img tw-w-[151px] tw-h-[151px] xl:tw-h-[180px] xl:tw-w-[184px] tw-mx-auto tw-ml-[10px] tw-relative before:tw-translate-y-[10px] before:tw-translate-x-[-10px] before:tw-bg-shape-orange tw-mb-6"},[t("img",{src:Ne,class:"mask tw-object-cover",alt:"Finger Foods"})],-1),Do={class:"tw-block tw-uppercase tw-text-[14px] xl:tw-text-[17px] tw-font-medium tw-text-center"},zo=t("div",{class:"clipped-img tw-w-[151px] xl:tw-w-[184px] tw-mx-auto tw-ml-[10px] tw-relative before:tw-translate-y-[10px] before:tw-translate-x-[-10px] before:tw-bg-shape-blue tw-mb-6"},[t("img",{src:Pt,class:"mask tw-object-cover",alt:"Smoothies"})],-1),Vo={class:"tw-block tw-uppercase tw-text-[14px] xl:tw-text-[17px] tw-font-medium tw-text-center"},Ho=t("div",{class:"clipped-img tw-w-[151px] xl:tw-w-[184px] tw-mx-auto tw-ml-[10px] tw-relative before:tw-translate-y-[10px] before:tw-translate-x-[-10px] before:tw-bg-shape-purple tw-mb-6 max-md:before:tw-bg-shape-orange"},[t("img",{src:Dt,class:"mask tw-object-cover",alt:"Snacks"})],-1),Wo={class:"tw-block tw-uppercase tw-text-[14px] xl:tw-text-[17px] tw-font-medium tw-text-center"},Jo=q({__name:"KidsMeals",setup(u){const d=lt(),s=n=>{d.selectMenuItem(n),window.scrollTo({top:0,behavior:"instant"})};return(n,w)=>{const l=$t;return o(),i("div",Ro,[t("div",qo,[t("div",Bo,[Uo,t("span",Do,[g("Jump to "),O(l,{onClick:w[0]||(w[0]=C(a=>s("finger-foods"),["prevent"])),class:"tw-underline-offset-2 tw-underline tw-decoration-2 tw-decoration-nl-green-200 hover:tw-no-underline tw-cursor-pointer"},{default:V(()=>[g("Finger Foods")]),_:1})])]),t("div",null,[zo,t("span",Vo,[g("Jump to "),O(l,{onClick:w[1]||(w[1]=C(a=>s("smoothies"),["prevent"])),class:"tw-underline-offset-2 tw-underline tw-decoration-2 tw-decoration-nl-green-200 hover:tw-no-underline tw-cursor-pointer"},{default:V(()=>[g("Smoothies")]),_:1})])]),t("div",null,[Ho,t("span",Wo,[g("Jump to "),O(l,{onClick:w[2]||(w[2]=C(a=>s("snacks"),["prevent"])),class:"tw-underline-offset-2 tw-underline tw-decoration-2 tw-decoration-nl-green-200 hover:tw-no-underline tw-cursor-pointer"},{default:V(()=>[g("Mighty Bites")]),_:1})])])])])}}}),Go={class:"tw-mb-5 md:tw-mb-[50px] tw-w-full"},Ko={class:"tw-flex tw-flex-wrap tw-justify-center tw-gap-[22px] xl:tw-gap-[35px max-md:tw-flex-row-reverse"},Yo=t("div",{class:"clipped-img tw-w-[151px] tw-h-[151px] xl:tw-h-[180px] xl:tw-w-[184px] tw-mx-auto tw-ml-[10px] tw-relative before:tw-translate-y-[10px] before:tw-translate-x-[-10px] before:tw-bg-shape-orange tw-mb-6"},[t("img",{src:Kt,class:"mask tw-object-cover",alt:"Super Sammies"})],-1),Qo={class:"tw-block tw-uppercase tw-text-[14px] xl:tw-text-[17px] tw-font-medium tw-text-center"},Xo=t("div",{class:"clipped-img tw-w-[151px] xl:tw-w-[184px] tw-mx-auto tw-ml-[10px] tw-relative before:tw-translate-y-[10px] before:tw-translate-x-[-10px] before:tw-bg-shape-blue tw-mb-6"},[t("img",{src:Pt,class:"mask tw-object-cover",alt:"Smoothies"})],-1),Zo={class:"tw-block tw-uppercase tw-text-[14px] xl:tw-text-[17px] tw-font-medium tw-text-center"},ta={class:"max-md:tw-hidden"},ea=t("div",{class:"clipped-img tw-w-[151px] xl:tw-w-[184px] tw-mx-auto tw-ml-[10px] tw-relative before:tw-translate-y-[10px] before:tw-translate-x-[-10px] before:tw-bg-shape-purple tw-mb-6"},[t("img",{src:Dt,class:"mask tw-object-cover",alt:"Snacks"})],-1),sa={class:"tw-block tw-uppercase tw-text-[14px] xl:tw-text-[17px] tw-font-medium tw-text-center"},na=q({__name:"FingerFoods",setup(u){const d=lt(),s=n=>{d.selectMenuItem(n),window.scrollTo({top:0,behavior:"instant"})};return(n,w)=>{const l=$t;return o(),i("div",Go,[t("div",Ko,[t("div",null,[Yo,t("span",Qo,[g("Jump to "),O(l,{onClick:w[0]||(w[0]=C(a=>s("super-sammies"),["prevent"])),class:"tw-underline-offset-2 tw-underline tw-decoration-2 tw-decoration-nl-green-200 hover:tw-no-underline tw-cursor-pointer"},{default:V(()=>[g("Super sammies")]),_:1})])]),t("div",null,[Xo,t("span",Zo,[g("Jump to "),O(l,{onClick:w[1]||(w[1]=C(a=>s("smoothies"),["prevent"])),class:"tw-underline-offset-2 tw-underline tw-decoration-2 tw-decoration-nl-green-200 hover:tw-no-underline tw-cursor-pointer"},{default:V(()=>[g("Smoothies")]),_:1})])]),t("div",ta,[ea,t("span",sa,[g("Jump to "),O(l,{onClick:w[2]||(w[2]=C(a=>s("snacks"),["prevent"])),class:"tw-underline-offset-2 tw-underline tw-decoration-2 tw-decoration-nl-green-200 hover:tw-no-underline tw-cursor-pointer"},{default:V(()=>[g("Mighty Bites")]),_:1})])])])])}}}),oa={class:"tw-mb-5 md:tw-mb-[50px] tw-w-full"},aa={class:"tw-flex tw-flex-wrap tw-justify-center tw-gap-[22px] xl:tw-gap-[35px]"},la=t("div",{class:"clipped-img tw-w-[151px] xl:tw-w-[184px] tw-mx-auto tw-ml-[10px] tw-relative before:tw-translate-y-[10px] before:tw-translate-x-[-10px] before:tw-bg-shape-orange max-md:before:tw-bg-shape-blue tw-mb-6"},[t("img",{src:Pt,class:"mask tw-object-cover",alt:"Smoothies"})],-1),ra={class:"tw-block tw-uppercase tw-text-[14px] xl:tw-text-[17px] tw-font-medium tw-text-center"},ia=t("div",{class:"clipped-img tw-w-[151px] tw-h-[151px] xl:tw-h-[180px] xl:tw-w-[184px] tw-mx-auto tw-ml-[10px] tw-relative before:tw-translate-y-[10px] before:tw-translate-x-[-10px] before:tw-bg-shape-blue max-md:before:tw-bg-shape-orange tw-mb-6"},[t("img",{src:Ne,class:"mask tw-object-cover",alt:"Finger Foods"})],-1),wa={class:"tw-block tw-uppercase tw-text-[14px] xl:tw-text-[17px] tw-font-medium tw-text-center"},ca={class:"max-md:tw-hidden"},da=t("div",{class:"clipped-img tw-w-[151px] tw-h-[151px] xl:tw-h-[180px] xl:tw-w-[184px] tw-mx-auto tw-ml-[10px] tw-relative before:tw-translate-y-[10px] before:tw-translate-x-[-10px] before:tw-bg-shape-purple tw-mb-6 max-md:before:tw-bg-shape-blue"},[t("img",{src:Ut,class:"mask tw-object-cover",alt:"kids meals"})],-1),ua={class:"tw-block tw-uppercase tw-text-[14px] xl:tw-text-[17px] tw-font-medium tw-text-center"},pa=q({__name:"Oaties",setup(u){const d=lt(),s=n=>{d.selectMenuItem(n),window.scrollTo({top:0,behavior:"instant"})};return(n,w)=>{const l=$t;return o(),i("div",oa,[t("div",aa,[t("div",null,[la,t("span",ra,[g("Jump to "),O(l,{onClick:w[0]||(w[0]=C(a=>s("smoothies"),["prevent"])),class:"tw-underline-offset-2 tw-underline tw-decoration-2 tw-decoration-nl-green-200 hover:tw-no-underline tw-cursor-pointer"},{default:V(()=>[g("Smoothies")]),_:1})])]),t("div",null,[ia,t("span",wa,[g("Jump to "),O(l,{onClick:w[1]||(w[1]=C(a=>s("finger-foods"),["prevent"])),class:"tw-underline-offset-2 tw-underline tw-decoration-2 tw-decoration-nl-green-200 hover:tw-no-underline tw-cursor-pointer"},{default:V(()=>[g("Finger Foods")]),_:1})])]),t("div",ca,[da,t("span",ua,[g("Jump to "),O(l,{onClick:w[2]||(w[2]=C(a=>s("heatable-meals"),["prevent"])),class:"tw-underline-offset-2 tw-underline tw-decoration-2 tw-decoration-nl-green-200 hover:tw-no-underline tw-cursor-pointer"},{default:V(()=>[g("Kids Meals")]),_:1})])])])])}}});var ma=ye,xa=Ge,fa=Ke,_a=Ye;function ga(u,d){var s=_a(u)?ma:fa;return s(u,xa(d))}var ha=ga;const Gt=ve(ha),ba=["id"],va={key:0},ya=["innerHTML"],ka={class:"tw-flex tw-flex-wrap tw-px-[13px] md:tw-px-0 md:-tw-mx-[10px] tw-mb-2 md:tw-mb-[29px]"},$a={key:0,class:"h-80 text-f16 sm:text-f22 tw-mt-[20px] tw-mb-[20px]"},Ca=q({__name:"Grid",props:{title:String,subtitle:String,filter:Object},emits:["addProduct","subtractProduct","pressProduct"],setup(u,{emit:d}){const s=u,n=It(),w=lt(),l=Lt(),a=F(!1),r=F(Qe),f=d,c=y(()=>w.selectedMenuItem),k=y(()=>l.cartProducts),h=y(()=>n.bestsellerGroups),E=y(()=>l.promoCode),$=y(()=>n.abandonedCartExist),{filter:I}=he(s),b=y(()=>{var S;return Xe(w.stockItemsByMenuItemId((S=c==null?void 0:c.value)==null?void 0:S.id),L=>!!L.sku)}),B=y(()=>Gt(b.value,S=>{if(!S.sku)return S;const L=Ze(k.value,K=>K.sku===S.sku);return{...S,quantity:L?L.quantity:0,link:r.value.replace("{{slug}}",S.slug)}})),H=y(()=>{var S;if(!(!n.selectedPlan||((S=c.value)==null?void 0:S.bestsellers.length)==0))return h.value.filter(L=>{var K;return(K=c==null?void 0:c.value)==null?void 0:K.bestsellers.map(Y=>Y.id).includes(L.id)}).filter(L=>L.show_on_menu)}),P=y(()=>{var S;return(((S=H.value)==null?void 0:S.length)??0)+(B.value.length??0)}),G=y(()=>{var S;return((S=c==null?void 0:c.value)==null?void 0:S.type)==="products"||b.value.length>0});function x(S){f("addProduct",S)}function j(S){f("subtractProduct",S)}function N(S){f("pressProduct",S)}function A(S,L){var Y;return S&&((Y=S.images)==null?void 0:Y.length)>0?S.images.map(at=>at[L]):[S.image[L]]}async function D(S){var L,K,Y;await w.fetchMenuItemsStock({promoCode:((L=E==null?void 0:E.value)==null?void 0:L.code)||ts("pc"),menuItem:S,indicators:(K=I==null?void 0:I.value)==null?void 0:K.indicators.join(","),tags:(Y=I==null?void 0:I.value)==null?void 0:Y.tags.join(",")})}function W(){if(a.value)return;a.value=!0;let S=[];w.menuItems.forEach(async L=>{S.push(D(L))}),Promise.allSettled(S).then(()=>{a.value=!1,w.SET_FILTERED_PRODUCT_COUNT(P.value)})}return wt(()=>I==null?void 0:I.value,()=>{W()}),wt(()=>$==null?void 0:$.value,()=>{W()}),wt(()=>E.value,(S,L)=>{S&&L&&S.id!==L.id&&W()},{deep:!0}),kt(()=>{$.value&&W()}),(S,L)=>{var U,st,rt,pt,bt,vt,ft;const K=Gn,Y=lo,at=Bt,ct=_o,dt=So,xt=Lo,ut=Jo,T=na,M=pa;return o(),i("div",null,[gt(t("div",null,[t("a",{id:`menu-item-${(U=e(c))==null?void 0:U.id}`},null,8,ba),u.title||u.subtitle?(o(),i("header",va,[t("h2",null,_(u.title),1),t("h3",{innerHTML:u.subtitle},null,8,ya)])):p("",!0),t("div",ka,[(o(!0),i(z,null,ot(e(H),R=>(o(),tt(K,{key:R.id,card:R},null,8,["card"]))),128)),(o(!0),i(z,null,ot(e(B),R=>(o(),tt(Y,{key:R.sku,"data-cy":"product-card",sku:R.sku,slug:R.slug,images:A(R,"mealCardDesktop"),name:R.name,withStatement:R.with,description:R.description,price:R.price,priceBeforeDiscount:R.price_before_discount===R.price?null:R.price_before_discount,quantity:R.quantity,excerpt:R.excerpt,badge:R.badge,isSoldOut:R.is_sold_out,rating:R.rating,numberOfItemsPerPack:R.number_of_items_per_pack,category:R.category,onAdd:x,onSubtract:j,onPress:N},null,8,["sku","slug","images","name","withStatement","description","price","priceBeforeDiscount","quantity","excerpt","badge","isSoldOut","rating","numberOfItemsPerPack","category"]))),128))])],512),[[ht,e(G)]]),!e(a)&&!e(b).length?(o(),i("div",$a," There are no "+_(e(c).name)+" matching your criteria at this time. Please select different filters to see "+_(e(c).name)+". ",1)):p("",!0),e(a)?(o(),tt(at,{key:1,style:{display:"block",margin:"0 auto"}})):p("",!0),e(B).length?(o(),i(z,{key:2},[((st=e(c))==null?void 0:st.slug)==="smoothies"?(o(),tt(ct,{key:0})):p("",!0),((rt=e(c))==null?void 0:rt.slug)==="snacks"?(o(),tt(dt,{key:1})):p("",!0),((pt=e(c))==null?void 0:pt.slug)==="super-sammies"?(o(),tt(xt,{key:2})):p("",!0),((bt=e(c))==null?void 0:bt.slug)==="heatable-meals"?(o(),tt(ut,{key:3})):p("",!0),((vt=e(c))==null?void 0:vt.slug)==="finger-foods"?(o(),tt(T,{key:4})):p("",!0),((ft=e(c))==null?void 0:ft.slug)==="oaties"?(o(),tt(M,{key:5})):p("",!0)],64)):p("",!0)])}}}),Ia={key:0,class:"tw-font-bold tw-text-[15px] md:tw-text-[16px]"},Sa={key:0,class:"tw-font-bold tw-text-[15px] md:tw-text-[16px] tw-font-normal"},Pa={class:"tw-relative tw-font-normal tw-mr-1 before:tw-content-[''] before:tw-absolute before:tw-inset-x-0 before:tw-border-t-2 before:tw-border-nl-green-100 before:-tw-rotate-6 before:tw-top-[9px]"},Ta={key:1},ja={class:"tw-flex tw-flex-col tw-items-start tw-justify-center"},Ma={key:0,class:"tw-text-[15px] md:tw-text-[16px] tw-font-normal"},Ea={class:"tw-relative tw-font-normal tw-mr-1 before:tw-content-[''] before:tw-absolute before:tw-inset-x-0 before:tw-border-t-2 before:tw-border-nl-green-100 before:-tw-rotate-6 before:tw-top-[9px]"},Aa={class:"tw-font-bold tw-text-[15px] md:tw-text-[16px] tw-mx-[3px]"},Oa={key:0,class:"tw-font-bold tw-text-[15px] md:tw-text-[16px] tw-font-normal tw-line-through"},Fa={class:"tw-font-bold tw-text-[15px] md:tw-text-[16px] tw-mx-[3px]"},Na={key:2},La={class:"tw-flex tw-flex-col tw-items-start tw-justify-center"},Ra={key:0,class:"tw-font-bold tw-text-[15px] md:tw-text-[16px] tw-mr-[3px] tw-font-normal tw-line-through"},qa={class:"tw-font-bold tw-text-[15px] md:tw-text-[16px]"},Ba=q({__name:"Price",props:{quantity:{},readOnly:{},product:{}},setup(u){const d=u,s=y(()=>{var l,a;return((l=d.product)==null?void 0:l.is_composite)&&((a=d.product)==null?void 0:a.number_of_items_per_pack)}),n=y(()=>{var l,a;return((l=d.product)==null?void 0:l.is_composite)&&((a=d.product)==null?void 0:a.price)/s.value}),w=y(()=>{var l,a;return((l=d.product)==null?void 0:l.is_composite)&&((a=d.product)==null?void 0:a.price_before_discount)/s.value});return(l,a)=>{var r,f,c,k,h,E,$,I,b,B,H,P,G,x,j,N,A,D,W,S,L;return o(),i("div",null,[((r=l.product)==null?void 0:r.is_composite)===!1&&!(l.product.category.pricing_divisor>0)?(o(),i("div",Ia,[((f=l.product)==null?void 0:f.price)!==((c=l.product)==null?void 0:c.price_before_discount)?(o(),i("span",Sa,[t("span",Pa,_(e(J)((k=l.product)==null?void 0:k.price_before_discount)),1)])):p("",!0),g(" "+_(e(J)((h=l.product)==null?void 0:h.price)),1)])):Number(l.product.category.pricing_divisor)>0?(o(),i("div",Ta,[t("div",ja,[t("div",null,[(($=(E=l.product)==null?void 0:E.price_object)==null?void 0:$.original_price_per_serving)>((b=(I=l.product)==null?void 0:I.price_object)==null?void 0:b.price_per_serving)?(o(),i("span",Ma,[t("span",Ea,_(e(J)((H=(B=l.product)==null?void 0:B.price_object)==null?void 0:H.original_price_per_serving)),1)])):p("",!0),t("span",Aa,_(e(J)((G=(P=l.product)==null?void 0:P.price_object)==null?void 0:G.price_per_serving))+"/"+_((x=l.product.category)==null?void 0:x.pricing_divisor_label),1)]),t("div",null,[((N=(j=l.product)==null?void 0:j.price_object)==null?void 0:N.original_price)!==((D=(A=l.product)==null?void 0:A.price_object)==null?void 0:D.price)?(o(),i("span",Oa,_(e(J)((W=l.product)==null?void 0:W.price_object.original_price)),1)):p("",!0),t("span",Fa,_(e(J)(l.product.price_object.price))+"/per "+_(l.product.category.composable_name),1)])])])):p("",!0),(S=l.product)!=null&&S.is_composite?(o(),i("div",Na,[t("div",La,[t("div",null,[e(w)>e(n)?(o(),i("span",Ra,_(e(J)(e(w))),1)):p("",!0),t("span",qa,_(e(J)(e(n)))+"/"+_((L=l.product)==null?void 0:L.category.composable_name),1)])])])):p("",!0)])}}}),Ua=window.setInterval,Da={class:"tw-relative max-md:tw-max-w-[290px] max-md:tw-mx-auto max-md:tw-px-[18px]"},za={class:"tw-mb-[15px]"},Va={class:"tw-relative"},Ha={key:0,class:"tw-ml-[3px]"},Wa={key:1,class:"tw-z-2 tw-p-[3px] tw-bg-white rounded-5 tw-h-[20px] tw-text-nl-green-100 tw-text-[14px] tw-inline-flex tw-items-center tw-justify-center tw-absolute tw-bottom-[13.5px] tw-right-[9px]"},Ja={key:0,class:"tw-mr-[8px] tw-font-normal tw-line-through"},Ga={class:"tw-font-bold"},Ka=["src"],Ya=q({__name:"ImagesSlider",props:{product:{},isAutoScrolling:{}},setup(u){const d=u,s=F(0),n=F(),w=F(),l=F(),a=y(()=>{var x,j;return((j=(x=d.product)==null?void 0:x.images)==null?void 0:j.length)>0?d.product.images:[]}),r=y(()=>{var x;return(x=a.value)==null?void 0:x.length}),f=y(()=>s.value===r.value),c=y(()=>r.value?r.value-1:0),k=y(()=>J(d.product.price_premium_difference,0)),h=y(()=>{var x,j;return((x=d.product)==null?void 0:x.is_composite)&&((j=d.product)==null?void 0:j.number_of_items_per_pack)}),E=y(()=>{var x,j,N;switch((N=(j=(x=d==null?void 0:d.product)==null?void 0:x.badge)==null?void 0:j.data)==null?void 0:N.slug){case"picky-eater":return"tw-bg-picky-eater-fav";case"new":return"tw-bg-new";case"best-seller":return"tw-bg-best-seller";case"best-value":return"tw-bg-best-valuer";case"smoothie-best-value":return"tw-bg-best-value";case"premium":return"tw-bg-premium";default:return"tw-bg-new"}});function $(){clearInterval(w.value),I(),P()}function I(){s.value++,f.value&&(s.value=0)}function b(){s.value--,s.value===-1&&(s.value=c.value)}function B(x){var N,A;let j=(A=(N=x.badge)==null?void 0:N.data)==null?void 0:A.name;return j!=null&&j.startsWith("Best Value")?"Best Value":j!=null&&j.startsWith("New")||j!=null&&j.startsWith("New")?"New!":j}function H(){clearInterval(w.value),b(),P()}function P(){const x=n.value.offsetWidth*s.value;n.value.scroll({left:x,behavior:"smooth"})}function G(){r.value!==1&&(w.value=Ua(()=>{I(),P()},3333))}return kt(()=>{d.isAutoScrolling&&G(),l.value=_e(x=>{s.value=Math.floor(x.target.scrollLeft/n.value.offsetWidth)},111),n.value&&n.value.addEventListener("scroll",l.value)}),es(()=>{w.value&&clearInterval(w.value),n.value&&n.value.removeEventListener("scroll",l.value)}),(x,j)=>{var N,A,D,W,S,L,K,Y,at,ct,dt;return o(),i("div",Da,[Number(e(r))>1?(o(),i("button",{key:0,href:"#",onClick:C(H,["prevent"]),"aria-label":"Previous Slide",class:"icon-main-chevron-left tw-text-[17px] tw-transform tw-absolute tw-top-[50%] tw-left-[-9px] md:tw-left-[-25px] tw-translate-y-[-50%]"})):p("",!0),t("div",za,[t("div",Va,[t("div",{ref_key:"containerRef",ref:n,class:"noscrollbar flex w-full snap-x gap-16 overflow-x-auto"},[(N=x.product)!=null&&N.badge&&((D=(A=x.product)==null?void 0:A.badge)!=null&&D.data)&&((L=(S=(W=x.product)==null?void 0:W.badge)==null?void 0:S.data)!=null&&L.name)?(o(),i("div",{key:0,class:X([e(E),"tw-z-2 tw-bg-[length:100%_100%] tw-h-[25px] md:tw-h-[33px] tw-px-[13px] tw-text-nl-green-100 tw-text-[12px] md:tw-text-[16px] tw-font-bold tw-inline-flex tw-items-center tw-justify-center tw-absolute tw-top-[5px] tw-left-[7px]"])},[g(_(B(x.product))+" ",1),d.product.price_premium_difference?(o(),i("span",Ha," +"+_(e(k)),1)):p("",!0)],2)):p("",!0),(K=x.product)!=null&&K.is_composite?(o(),i("div",Wa,[((Y=x.product)==null?void 0:Y.price)!==((at=x.product)==null?void 0:at.price_before_discount)?(o(),i("span",Ja,_(("formatMoney"in x?x.formatMoney:e(J))((ct=x.product)==null?void 0:ct.price_before_discount)),1)):p("",!0),t("span",Ga,_(("formatMoney"in x?x.formatMoney:e(J))((dt=x.product)==null?void 0:dt.price))+"/pack of "+_(e(h)),1)])):p("",!0),(o(!0),i(z,null,ot(e(a),(xt,ut)=>(o(),i("div",{key:ut,class:"relative w-full shrink-0 snap-start pt-full"},[t("img",{src:xt.landingDesktop,class:"tw-absolute tw-left-0 tw-top-0 tw-h-full tw-w-full tw-object-cover tw-object-center"},null,8,Ka)]))),128))],512)])]),Number(e(r))>1?(o(),i("button",{key:1,onClick:$,"aria-label":"Next Slide",href:"#",class:"icon-main-chevron-right tw-text-[17px] tw-transform tw-absolute tw-top-[50%] tw-right-[-9px] md:tw-right-[-25px] tw-translate-y-[-50%]"})):p("",!0)])}}}),Qa=St(Ya,[["__scopeId","data-v-edf5fa49"]]),Xa={key:0,class:X(["tw-bg-nl-green-300 tw-uppercase tw-text-[14px] md:tw-text-[20px] tw-font-bold tw-text-white tw-min-h-[40px] tw-inline-flex tw-items-center tw-justify-center md:tw-w-full tw-shadow-nl-13 tw-rounded-[10px] md:tw-rounded-[4px] ","tw-justify-between tw-px-[0px] md:tw-px-[22px] tw-w-full tw-max-w-[137px] md:tw-max-w-full"])},Za={class:"flex-1 px-5 text-center font-agendaCond font-medium leading-none sm:text-f22"},tl=q({__name:"Controls",props:{quantity:{},readOnly:{type:Boolean}},emits:["add","subtract"],setup(u,{emit:d}){const s=d,n=()=>{s("add")},w=()=>{s("subtract")};return(l,a)=>(o(),i(z,null,[t("div",null,[!l.quantity&&!l.readOnly?(o(),i("a",{key:0,href:"#",onClick:C(n,["stop","prevent"]),class:"tw-bg-nl-green-300 tw-uppercase tw-text-[14px] md:tw-text-[20px] tw-font-bold tw-text-white tw-min-h-[40px] tw-inline-flex tw-items-center tw-justify-center md:tw-w-full tw-shadow-nl-13 tw-rounded-[10px] md:tw-rounded-[4px] tw-px-[20px]"}," Add to Cart ")):p("",!0)]),l.quantity?(o(),i("div",Xa,[l.readOnly?p("",!0):(o(),i("button",{key:0,onClick:C(w,["stop","prevent"]),class:"tw-w-[30px] tw-h-[30px] tw-text-[24px] tw-leading-none tw-flex tw-items-center tw-justify-center tw-cursor-pointer -tw-mt-0.5","data-cy":"btn-subtract-item","aria-label":"decrease quantity"}," - ")),t("span",Za,_(l.quantity),1),l.readOnly?p("",!0):(o(),i("button",{key:1,onClick:C(n,["stop","prevent"]),class:"tw-w-[30px] tw-h-[30px] tw-text-[24px] tw-leading-none tw-flex tw-items-center tw-justify-center tw-cursor-pointer -tw-mt-0.5","data-cy":"btn-increase-item","aria-label":"increase quantity"}," + "))])):p("",!0)],64))}}),el={key:0,class:"list-dots tw-flex tw-flex-wrap tw-justify-center tw-gap-x-[14px] tw-uppercase tw-mb-[19px] md:tw-mb-[15px] [&>li]:tw-relative [&>li]:before:content-[''] [&>li]:before:tw-w-[4px] [&>li]:before:tw-h-[4px] [&>li]:before:tw-rounded-full [&>li]:before:tw-bg-nl-green-100 [&>li]:before:tw-absolute [&>li]:before:-tw-left-[8px] [&>li]:before:tw-top-[7px] [&>li:first-child]:before:tw-hidden"},sl=q({__name:"Indicators",props:{product:{}},setup(u){return(d,s)=>{var n,w,l,a;return(n=d.product)!=null&&n.indicators&&((w=d.product.indicators)==null?void 0:w.data.length)>0?(o(),i("ul",el,[(o(!0),i(z,null,ot((a=(l=d.product)==null?void 0:l.indicators)==null?void 0:a.data,(r,f)=>(o(),i(z,{key:f},[t("li",null,_(r==null?void 0:r.name),1),(f+1)%4===0||(f+1)%3===0?(o(),i("li",{key:0,class:X((f+1)%4===0?"li-i4 max-sm:tw-hidden tw-w-full before:tw-content-none":(f+1)%3===0?"li-i3 sm:tw-hidden tw-w-full before:tw-content-none":null)},null,2)):p("",!0)],64))),128))])):p("",!0)}}}),nl=St(sl,[["__scopeId","data-v-e806036f"]]),ol={key:0,class:"tw-flex tw-flex-col tw-gap-[15px]"},al={class:"tw-flex tw-justify-center"},ll={class:"tw-flex tw-flex-wrap tw-gap-0.5 md:tw-gap-[24px] tw-text-center"},rl={class:"tw-w-[82px] tw-mx-auto tw-mb-2"},il=["src"],wl={class:"tw-block tw-text-[15px] tw-leading-[1.133] tw-font-bold tw-px-1"},cl=q({__name:"Icons",props:{product:{}},setup(u){return(d,s)=>{var n,w,l,a;return(w=(n=d.product)==null?void 0:n.icons)!=null&&w.data.length?(o(),i("div",ol,[t("div",al,[t("div",ll,[(o(!0),i(z,null,ot((a=(l=d.product)==null?void 0:l.icons)==null?void 0:a.data,r=>(o(),i("div",{class:"tw-w-[95px]",key:r.id},[t("div",rl,[t("img",{src:r.url,class:"tw-drop-shadow-[0_4px_4px_rgba(0,0,0,0.10)]"},null,8,il)]),t("strong",wl,_(r.title)+" "+_(r.description),1)]))),128))])])])):p("",!0)}}}),zt=Z("/assets/images/menu/divider-a.svg"),dl=u=>(ke("data-v-085efc40"),u=u(),$e(),u),ul={key:0},pl=dl(()=>t("img",{src:zt,class:"tw-w-full",alt:"divider"},null,-1)),ml={class:"tw-pb-5"},xl={class:"tw-flex tw-flex-col tw-gap-[19px] md:tw-gap-[15px]"},fl=["instruction"],_l={key:0,class:"tw-font-bold"},gl=["innerHTML"],hl=["innerHTML"],bl=q({__name:"HeatingInstructions",props:{product:{}},setup(u){const d=F(!1);return(s,n)=>{var w,l,a;return(w=s.product)!=null&&w.heatingInstructions&&((l=s.product)!=null&&l.heatingInstructions.data)&&((a=s.product)==null?void 0:a.heatingInstructions.data.length)>0?(o(),i("div",ul,[pl,t("a",{onClick:n[0]||(n[0]=C(r=>d.value=!e(d),["prevent"])),href:"#",class:"tw-outline-none tw-block tw-py-[15px] tw-pr-[40px] tw-relative tw-text-[21px] tw-leading-none tw-font-black"},[g(" Serving Instructions "),t("span",{class:X([{"rotate-90":e(d)},"icon-main-chevron-bold-right tw-absolute tw-right-[3px] tw-top-[15px] tw-text-[18px] tw-transform tw-transition-all"]),key:"icon-main-chevron-bold-right"},null,2)]),gt(t("div",ml,[t("ul",xl,[(o(!0),i(z,null,ot(s.product.heatingInstructions.data,r=>(o(),i("li",{instruction:r,key:r.id},[r.title&&r.text?(o(),i("span",_l,[g(_(r.title)+" ",1),r.text?(o(),i("span",{key:0,class:"tw-font-medium",innerHTML:r.text},null,8,gl)):p("",!0)])):p("",!0),r.title?p("",!0):(o(),i("span",{key:1,class:"tw-font-bold",innerHTML:r.text},null,8,hl))],8,fl))),128))])],512),[[ht,e(d)]])])):p("",!0)}}}),vl=St(bl,[["__scopeId","data-v-085efc40"]]),yl=async u=>{try{qt.post(ss,{sku:u.sku})}catch{}},kl={class:"md:tw-max-w-[370px]"},$l=t("strong",{class:"tw-block tw-text-[21px] tw-leading-none tw-font-black tw-mb-[14px] tw-text-left"},"You Might Also Love...",-1),Cl={class:"tw-grid tw-grid-cols-1 md:tw-grid-cols-2 tw-gap-3 -tw-mr-2 tw-pb-2"},Il=["src","alt","onClick"],Sl={class:"tw-flex-1 tw-flex tw-flex-col tw-gap-[6px]"},Pl={class:"tw-flex tw-flex-1 tw-flex-col"},Tl={class:"tw-block tw-text-[18px] tw-leading-none tw-font-black"},jl={class:"tw-block tw-text-[15px] tw-leading-none tw-font-medium"},Ml=["onClick"],El={key:1,class:X(["tw-bg-nl-green-300 tw-uppercase tw-text-[15px] tw-font-bold tw-h-[30px] tw-font-bold tw-text-white tw-inline-flex tw-items-center tw-justify-center md:tw-w-full tw-shadow-nl-13 tw-rounded-[6px]","tw-justify-between tw-px-[0px] md:tw-px-[22px] tw-w-full tw-w-full md:tw-max-w-full"])},Al=["onClick"],Ol={class:"flex-1 px-5 text-center font-agendaCond font-medium leading-none tw-text-[15px]"},Fl=["onClick"],Nl=["onClick"],Ll=q({__name:"CustomersAlsoLoved",props:{products:{}},emits:["add","subtract"],setup(u,{emit:d}){const s=Rt(),n=d,w=Lt(),l=y(()=>w.cartProducts);function a(h){yl(h);const E=window.scrollY||window.scrollTo||document.getElementsByTagName("html")[0].scrollTop;s.push(window.location.pathname+window.location.search+"#product-"+h.slug).finally(()=>{window.scrollTo(0,Number(E))})}function r(h){n("add",h==null?void 0:h.sku)}function f(h){n("subtract",h==null?void 0:h.sku)}function c(h){var I;const E="mealCardDesktop";return(((I=h==null?void 0:h.images)==null?void 0:I.length)>0?h.images.map(b=>b[E]):[h.image[E]])[0]}function k(h){if(!h)return 0;const E=l.value.find($=>h.sku===$.sku);return E?E.quantity:0}return(h,E)=>(o(),i("div",kl,[$l,t("ul",Cl,[(o(!0),i(z,null,ot(h.products,($,I)=>(o(),i("li",{key:"CustomersAlsoLoved"+I,class:"tw-rounded-[6px] tw-bg-[#f2f9f6] tw-py-3 tw-px-4 tw-shadow-nl-14 tw-cursor-pointer tw-flex md:tw-flex-col tw-gap-[11px] tw-items-center"},[t("img",{src:c($),alt:$.name,onClick:b=>a($),class:"tw-size-[146px] tw-rounded-[6px] tw-overflow-hidden"},null,8,Il),t("div",Sl,[t("div",Pl,[t("strong",Tl,_($.name),1),t("span",jl,_($.with),1)]),k($)?p("",!0):(o(),i("button",{key:0,onClick:C(b=>r($),["stop"]),class:"tw-bg-nl-green-300 tw-uppercase tw-text-[15px] tw-font-bold tw-text-white tw-h-[30px] tw-inline-flex tw-items-center tw-justify-center tw-w-full tw-shadow-nl-13 tw-rounded-[6px]"}," Add to cart ",8,Ml)),k($)?(o(),i("div",El,[t("button",{onClick:C(b=>f($),["stop","prevent"]),class:"tw-w-[30px] tw-h-[30px] tw-text-[15px] tw-leading-none tw-flex tw-items-center tw-justify-center tw-cursor-pointer -tw-mt-0.5","data-cy":"btn-subtract-item","aria-label":"decrease quantity"}," - ",8,Al),t("span",Ol,_(k($)),1),t("button",{onClick:C(b=>r($),["stop","prevent"]),class:"tw-w-[30px] tw-h-[30px] tw-text-[15px] tw-leading-none tw-flex tw-items-center tw-justify-center tw-cursor-pointer -tw-mt-0.5","data-cy":"btn-increase-item","aria-label":"increase quantity"}," + ",8,Fl)])):p("",!0),t("a",{onClick:C(b=>a($),["prevent"]),href:"#",class:"tw-inline-block tw-text-[13px] tw-leading-[1.15] tw-font-medium tw-uppercase tw-underline hover:tw-no-underline"},"See Details",8,Nl)])]))),128))])]))}}),Rl=Z("/assets/images/menu/bg-menu-card.png");var ql={VITE_DOMAIN:"nurturelife.com",VITE_BASE_API_ENDPOINT:"https://api.nurturelife.com",VITE_STRIPE_PUBLIC_KEY:"pk_live_wO6Nz0cVzyI61PVzec1qaBsg00xlTNc0Zu",VITE_BASE_ACCOUNT_URL:"https://account.nurturelife.com",BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const Bl=async u=>{await Ce.push("viewItem",{env:ql.VITE_NODE_ENV,products:[{sku:u.sku,name:u.name}]})},Vt=u=>(ke("data-v-a47f4dce"),u=u(),$e(),u),Ul={class:"max-md:tw-h-[calc(var(--vh)-50px)] max-md:tw-bg-[#f8f0e6] max-md:tw-rounded-[20px] md:tw-w-[750px] lg:tw-w-[840px] md:tw-h-[498px] lg:tw-h-[550px] tw-mx-auto tw-relative max-md:tw-overflow-hidden"},Dl={class:"tw-pt-[13px] tw-sticky -tw-top-3 tw-bg-[#f8f0e6] tw-z-30 -tw-mx-5 tw-px-5 md:tw-hidden"},zl={key:0,class:"tw-text-[21px] md:tw-text-[24px] tw-leading-[1.045] tw-font-black tw-capitalize md:tw-hidden"},Vl=Vt(()=>t("div",{class:"max-md:tw-hidden tw-absolute tw-inset-0 -tw-z-1"},[t("img",{src:Rl,class:"tw-w-full tw-h-full tw-object-contain",alt:"bg-card"})],-1)),Hl={key:0,class:"md:tw-w-[310px] lg:tw-w-[345px] md:tw-py-[40px] lg:tw-py-[65px] md:tw-px-[45px] lg:tw-pl-[56px] lg:tw-pr-[40px]"},Wl={class:"tw-mb-[14px] md:tw-mb-[30px]"},Jl={key:0,class:"tw-text-[21px] md:tw-text-[24px] tw-leading-[1.045] tw-font-black tw-capitalize max-md:tw-hidden"},Gl={key:1,class:"tw-block tw-text-[15px] md:tw-text-[18px] tw-font-medium tw-mb-[7px]"},Kl={class:"tw-flex tw-gap-[10px] tw-items-center tw-mb-1 md:tw-mb-[7px]"},Yl={class:"max-md:tw-absolute max-md:tw-left-0 max-md:tw-right-0 max-md:tw-bottom-0 max-md:tw-z-[9] max-md:tw-p-[7.5px] max-md:tw-bg-nl-white-100 max-md:tw-shadow-nl-15 md:tw-pt-[9px] tw-text-center"},Ql={key:1,class:"md:tw-w-[310px] lg:tw-w-[345px] md:tw-py-[40px] lg:tw-py-[65px] md:tw-px-[45px] lg:tw-pl-[56px] lg:tw-pr-[40px]"},Xl={class:"md:tw-flex-1 tw-pt-[16px] md:tw-pt-[62px] md:tw-px-[30px]"},Zl={class:"tw-relative"},tr={key:0,class:"custom-scrollbar md:tw-h-[402px] lg:tw-h-[446px] md:tw-overflow-x-hidden md:tw-overflow-y-auto md:tw-pr-[11px]"},er={class:"max-lg:tw-text-[15px] tw-text-[16px] tw-leading-[17px] tw-font-medium tw-mb-[11px] tw-text-center"},sr={class:"tw-mb-[11px] md:tw-mb-[14px]"},nr={class:"tw-py-[20px] md:tw-py-[10px] tw-text-[15px] tw-leading-[1.133] [&_p:last-child]:tw-mb-0 tw-text-left"},or=Vt(()=>t("img",{src:zt,class:"tw-w-full",alt:"divider"},null,-1)),ar={class:"tw-pb-5"},lr={class:"tw-mb-[15px]"},rr={key:0,class:"tw-mb-[15px]"},ir={key:1,class:"tw-mb-[15px]"},wr=Vt(()=>t("img",{src:zt,class:"tw-w-full",alt:"divider"},null,-1)),cr={class:"tw-w-full tw-p-[15px]"},dr={class:"mt-30 sm:mt-0 sm:flex-1"},ur=["src"],pr=Vt(()=>t("div",{class:"-tw-mx-0.5"},[t("img",{src:zt,class:"tw-w-full",alt:"divider"})],-1)),mr=q({__name:"index",props:{cartItems:{type:Array,default:()=>[]},readOnly:{type:Boolean,default:!0},promoCode:{type:String,default:null},planId:{type:Number,default:null}},emits:["add","subtract"],setup(u,{emit:d}){const s=u,n=d,w=Ie(),l=Rt(),a=It(),{abandonedCartId:r}=Se(a),f=F(0),c=F(null),k=F(null),h=F(!1),E=F("Add To Order"),$=F(),I=F(),b=F(!1),B=F(!1);Nt(I,W);const H=y(()=>{var T,M;return((M=(T=c.value)==null?void 0:T.images)==null?void 0:M.length)>0?c.value.images:[]}),P=y(()=>k.value===null),G=y(()=>{var T;return j.value&&((T=c==null?void 0:c.value)==null?void 0:T.show_facility_statement)}),x=y(()=>(c.value&&c.value.allergens?c.value.allergens.data.map(M=>M.name):[]).join(", ")),j=y(()=>{const T=c.value&&c.value.facilityAllergens?c.value.facilityAllergens.data.map(M=>M.name):[];return D(T)}),N=y(()=>{if(!c.value)return 0;const T=s.cartItems.find(M=>c.value.sku===M.sku);return T?T.quantity:0}),A=_e(T=>{f.value=T.target.scrollTop},100);function D(T){let M="";for(let U=0;U<T.length;U++){let st="";U<T.length-1&&(st=T.length>1&&U===T.length-2?" and ":", "),M+=T[U]+st}return M}function W(){const T=window.scrollY||document.getElementsByTagName("html")[0].scrollTop;k.value=null,l.push(window.location.pathname+window.location.search).catch(()=>{}).finally(()=>{window.scrollTo(0,T)})}function S(){var M;const T=E.value;E.value="Added!",setTimeout(()=>E.value=T,1e3),n("add",(M=c==null?void 0:c.value)==null?void 0:M.sku)}function L(T){n("add",T)}function K(T){n("subtract",T)}function Y(){var T;n("subtract",(T=c==null?void 0:c.value)==null?void 0:T.sku)}function at(T){if(T===void 0)return null;let M=T.substring(1);const U="product-";return M.indexOf(U)!==0?null:M.replace(U,"")}function ct(){h.value=!0}function dt(){h.value=!1}function xt(){c.value=null}const ut=async()=>{xt(),ct();let T={include:"category,heatingInstructions,relatedProducts,customersAlsoLovedProducts.badge,allergens,facilityAllergens,indicators,badge,icons",abandoned_cart:r.value};s.promoCode&&(T.promoCode=s.promoCode),s.planId&&(T.plan_id=s.planId),qt.get("/api/products/"+k.value,{params:T}).then(M=>{var U,st;M.data&&(c.value={...M.data.data,category:M.data.data.category.data,price:M.data.data.price.data.price,price_object:M.data.data.price.data,price_before_discount:M.data.data.price.data.original_price,image:we(M.data.data.image),images:ce(M.data.data.images.data??[]),customersAlsoLovedProducts:(st=(U=M.data.data.customersAlsoLovedProducts)==null?void 0:U.data)==null?void 0:st.map(rt=>({...rt,image:we(rt.image),images:ce(rt.images.data??[])}))})}).catch(()=>{setTimeout(()=>{W()},2e3)}).finally(()=>{var M,U;dt(),Bl({sku:(M=c.value)==null?void 0:M.sku,name:(U=c.value)==null?void 0:U.name})})};return wt([k,r],async([T,M])=>{T&&M&&(await ut(),$.value&&($.value.scrollTop=0,f.value=0))}),wt(()=>w.hash,T=>{k.value=at(T)}),kt(()=>{w.hash.length>0&&(k.value=at(w.hash)),window.onhashchange=()=>{k.value=at(window.location.hash)}}),(T,M)=>{var Tt,m,v,nt,Q,it,_t,mt,jt,Mt,Et,At,Ot;const U=Ba,st=Fe,rt=Qa,pt=tl,bt=Bt,vt=nl,ft=cl,R=vl,Ht=Ll;return o(),i("div",{class:X([{"tw-hidden":e(P)},"tw-fixed tw-inset-0 tw-bg-overlay tw-flex tw-flex-wrap tw-items-center tw-justify-center tw-z-50 md:tw-overflow-y-auto"])},[t("div",{ref_key:"productModalContainer",ref:$,onScroll:M[2]||(M[2]=(...yt)=>e(A)&&e(A)(...yt)),class:"tw-container tw-w-full max-md:tw-py-[17px] tw-py-[50px] max-md:tw-px-[23px] max-lg:tw-px-3"},[t("div",Ul,[t("div",{ref_key:"modalContent",ref:I,class:"max-md:tw-px-[20px] max-md:tw-pt-3 max-md:tw-pb-[70px] max-md:tw-h-full max-md:tw-overflow-y-auto md:tw-flex tw-flex-wrap"},[t("span",{onClick:C(W,["stop","prevent"]),"aria-label":"close dialog",class:"icon-main-times tw-text-[12px] tw-cursor-pointer tw-absolute tw-right-[22px] md:tw-right-[50px] tw-top-[13px] md:tw-top-[34px] tw-z-[31]"}),t("div",Dl,[(Tt=e(c))!=null&&Tt.name?(o(),i("h2",zl,_((m=e(c))==null?void 0:m.name),1)):p("",!0)]),Vl,e(c)?(o(),i("div",Hl,[t("div",Wl,[(v=e(c))!=null&&v.name?(o(),i("h2",Jl,_((nt=e(c))==null?void 0:nt.name),1)):p("",!0),(Q=e(c))!=null&&Q.with?(o(),i("span",Gl,_((it=e(c))==null?void 0:it.with),1)):p("",!0),t("div",Kl,[O(U,{product:e(c),quantity:e(N),"read-only":u.readOnly},null,8,["product","quantity","read-only"]),O(st,{value:(_t=e(c))==null?void 0:_t.rating},null,8,["value"])])]),O(rt,{product:e(c),images:e(H)},null,8,["product","images"]),t("div",Yl,[O(pt,{quantity:e(N),"read-only":u.readOnly,onAdd:S,onSubtract:Y},null,8,["quantity","read-only"])])])):(o(),i("div",Ql,[O(bt)])),t("div",Xl,[t("div",Zl,[e(c)?(o(),i("div",tr,[t("div",er,[t("p",sr,_((mt=e(c))==null?void 0:mt.description),1),O(vt,{product:e(c)},null,8,["product"]),O(ft,{product:e(c)},null,8,["product"]),t("div",nr,[t("div",null,[or,t("a",{onClick:M[0]||(M[0]=C(yt=>b.value=!e(b),["prevent"])),href:"#",class:"tw-outline-none tw-block tw-py-[15px] tw-pr-[40px] tw-relative tw-text-[21px] tw-leading-none tw-font-black"},[g(" Ingredients "),t("span",{class:X([{"rotate-90":e(b)},"icon-main-chevron-bold-right tw-absolute tw-right-[3px] tw-top-[15px] tw-text-[18px] tw-transform tw-transition-all"])},null,2)]),gt(t("div",ar,[t("p",lr," INGREDIENTS: "+_((jt=e(c))==null?void 0:jt.ingredients),1),e(x)?(o(),i("p",rr," CONTAINS: "+_(e(x)),1)):p("",!0),e(G)?(o(),i("p",ir," Made in a facility that processes "+_(e(j)),1)):p("",!0)],512),[[ht,e(b)]])]),t("div",null,[wr,t("a",{onClick:M[1]||(M[1]=C(yt=>B.value=!e(B),["prevent"])),href:"#",class:"tw-outline-none tw-block tw-py-[15px] tw-pr-[40px] tw-relative tw-text-[21px] tw-leading-none tw-font-black"},[g(" Nutrition Facts "),t("span",{class:X([{"rotate-90":e(B)},"icon-main-chevron-bold-right tw-absolute tw-right-[3px] tw-top-[15px] tw-text-[18px] tw-transform tw-transition-all"])},null,2)]),gt(t("div",cr,[t("div",dr,[t("img",{src:(Mt=e(c))==null?void 0:Mt.nutritionImage,class:"tw-mx-auto tw-w-2/3"},null,8,ur)])],512),[[ht,e(B)]])]),O(R,{product:e(c)},null,8,["product"]),pr]),(Et=e(c))!=null&&Et.customersAlsoLovedProducts&&((At=e(c))==null?void 0:At.customersAlsoLovedProducts.length)>0?(o(),tt(Ht,{key:0,onAdd:L,onSubtract:K,products:(Ot=e(c))==null?void 0:Ot.customersAlsoLovedProducts},null,8,["products"])):p("",!0)])])):p("",!0)])])],512)])],544)],2)}}}),xr=St(mr,[["__scopeId","data-v-a47f4dce"]]),fr=Z("/assets/images/menu/popup-img03.webp"),_r=Z("/assets/images/menu/popup-img03-mob.webp"),gr=Z("/assets/images/menu/divider.svg"),hr=Z("/assets/images/menu/meal-img01.jpg"),br=Z("/assets/images/menu/meal-img02.jpg"),vr=Z("/assets/images/menu/meal-img03.jpg"),yr={class:"tw-fixed tw-inset-0 tw-bg-nl-green-100/[0.35] tw-flex tw-flex-wrap tw-items-center tw-justify-center tw-z-50 tw-overflow-y-auto"},kr={class:"tw-container tw-w-full tw-py-[50px] max-lg:tw-px-3"},$r=t("div",{class:"max-lg:tw-hidden tw-w-[350px] tw-h-[534px] tw-relative popup-masked-img alt"},[t("img",{src:fr,class:"mask tw-block",alt:"Image"})],-1),Cr=t("div",{class:"lg:tw-hidden tw-w-[350px] tw-h-[198px] tw-relative popup-masked-img-mob"},[t("img",{src:_r,class:"mask tw-block",alt:"Image"})],-1),Ir={class:"lg:tw-flex-1 lg:tw-flex lg:tw-items-center tw-py-5 tw-px-6 xl:tw-pt-5 xl:tw-pl-[17px] xl:tw-pr-[32px] tw-text-center"},Sr={class:"tw-text-[16px] tw-leading-[1.375] tw-font-medium"},Pr=t("h1",{class:"tw-text-[29px] lg:tw-text-[35px] tw-leading-none tw-font-black tw-normal-case tw-text-center tw-mb-[9px]"},"Picky Eater Tips!",-1),Tr={key:0},jr=t("p",null,[t("strong",null,"Start Small."),g("Choose our 6 or 10 meal plan.")],-1),Mr=[jr],Er={key:1},Ar=t("p",null,[t("strong",null,"Limit your variety at first."),g(" Start with 2–3 options you know they’ll love. Serve them a couple times your first week.")],-1),Or=[Ar],Fr={key:2},Nr=t("p",null,[t("strong",null,"Keep trying."),g(" Picky eaters take longer to warm up to new foods. But don’t give up! Nutritious food today sets your child up for a lifetime of healthy eating! It’ll be worth it.")],-1),Lr=[Nr],Rr={key:3},qr=t("p",null,[t("strong",null,"Add new meals gradually."),g(" Add 1 new meal every 1–2 weeks (let your kid choose!). And if you can, order 2 so they try it more than once.")],-1),Br=[qr],Ur={key:4},Dr=t("p",null,[t("strong",null,"Split portions into “taste tests.”"),g(" Divide new meals into a few servings—they’ll be more approachable and you’ll have less waste. Take them out of the fridge or freezer when your kid is ready.")],-1),zr=[Dr],Vr={class:"tw-flex tw-justify-center tw-mt-[15px]"},Hr={class:"tw-flex tw-items-center tw-gap-[7px]"},Wr={class:"tw-text-[16px] tw-font-bold"},Jr=t("div",{class:"tw-my-[15px]"},[t("img",{src:gr,class:"tw-w-full",alt:""})],-1),Gr=ge('<h2 class="tw-text-[29px] tw-leading-none tw-font-black tw-normal-case tw-text-center tw-mb-[17px]">Try These Meals...</h2><ul class="tw-flex tw-gap-[14px] tw-text-[16px] tw-leading-none tw-font-bold tw-mb-[17px] tw-px-[5px]"><li class="tw-w-1/3"><div class="tw-w-[100px] tw-h-[100px] tw-shadow-nl-6 tw-mb-2 tw-relative"><img src="'+hr+'" class="tw-w-full tw-h-full tw-object-cover" alt=""><span class="tw-absolute tw-top-[6px] tw-right-[6px] tw-w-[27px] tw-h-[27px] tw-bg-nl-green-300 tw-rounded-full tw-flex tw-items-center tw-justify-center tw-text-white">2x</span></div><strong class="tw-block tw-font-bold">White Mac & Cheese</strong></li><li class="tw-w-1/3"><div class="tw-w-full tw-h-[100px] tw-shadow-nl-6 tw-mb-2 tw-relative"><img src="'+br+'" class="tw-w-full tw-h-full tw-object-cover" alt=""><span class="tw-absolute tw-top-[6px] tw-right-[6px] tw-w-[27px] tw-h-[27px] tw-bg-nl-green-300 tw-rounded-full tw-flex tw-items-center tw-justify-center tw-text-white">2x</span></div><strong class="tw-block tw-font-bold">Chicken Parm</strong></li><li class="tw-w-1/3"><div class="tw-w-full tw-h-[100px] tw-shadow-nl-6 tw-mb-2 tw-relative"><img src="'+vr+'" class="tw-w-full tw-h-full tw-object-cover" alt=""><span class="tw-absolute tw-top-[6px] tw-right-[6px] tw-w-[27px] tw-h-[27px] tw-bg-nl-green-300 tw-rounded-full tw-flex tw-items-center tw-justify-center tw-text-white">2x</span></div><strong class="tw-block tw-font-bold">Swedish Meatballs</strong></li></ul>',2),Kr=["href"],Yr=q({__name:"PickyEaterTipsPopup",props:{show:{type:Boolean}},emits:["close"],setup(u,{emit:d}){const s=d,n=F(1),w=F(),l=F(new Pe),a=It(),r=Te(),f=F("");Nt(w,()=>E());function c(){let I=new URLSearchParams(window.location.search);return I.set("navItem","heatable-meals"),I.set("plan",I.get("plan")??"6-meals"),I.set("skus","KID1036,KID1080,KID1069"),I.set("quantities","2,2,2"),`/menus/?${I.toString()}`}function k(){n.value!==5&&n.value++}function h(){n.value!==1&&n.value--}function E(){s("close")}function $(){var I;if(Number((I=r==null?void 0:r.user)==null?void 0:I.id)>0){window.location.href=je;return}l.value.push("picky-eaters-popup-cta-clicked",{abandonedCartId:a.abandonedCartId}),window.location.href=c()}return kt(()=>{f.value=c()}),(I,b)=>gt((o(),i("div",yr,[t("div",kr,[t("div",{ref_key:"container",ref:w,class:"tw-max-w-[350px] lg:tw-max-w-[740px] tw-mx-auto tw-bg-nl-yellow-100 tw-rounded-[30px] lg:tw-flex tw-relative tw-overflow-hidden"},[t("span",{onClick:C(E,["prevent"]),class:"icon-main-times tw-text-[12px] tw-cursor-pointer tw-absolute tw-right-[22px] tw-top-[22px] tw-z-10"}),$r,Cr,t("div",Ir,[t("div",null,[t("div",Sr,[Pr,t("div",null,[e(n)===1?(o(),i("div",Tr,Mr)):p("",!0),e(n)===2?(o(),i("div",Er,Or)):p("",!0),e(n)===3?(o(),i("div",Fr,Lr)):p("",!0),e(n)===4?(o(),i("div",Rr,Br)):p("",!0),e(n)===5?(o(),i("div",Ur,zr)):p("",!0),t("div",Vr,[t("div",Hr,[t("a",{href:"#",onClick:C(h,["prevent"]),class:"icon-main-chevron-bold-right tw-text-[12px] tw-mt-1 tw-relative tw-transform tw-rotate-180"}),t("strong",Wr,"("+_(e(n))+"/5)",1),t("a",{href:"#",onClick:C(k,["prevent"]),class:"icon-main-chevron-bold-right tw-text-[12px] tw-mt-1 tw-relative tw-transform"})])])])]),Jr,t("div",null,[Gr,t("a",{onClick:C($,["prevent"]),href:e(f),target:"_blank",class:"btn-green tw-inline-block tw-text-[16px] tw-py-[9px] tw-px-4"},"add 6 picky eater meals",8,Kr)])])])],512)])],512)),[[ht,I.show]])}}),Qr=Me("tags",{state:()=>({items:[]}),getters:{tags:u=>u.items},actions:{[de](u){this.items=u},async fetchTags(){const u=await qt.get(ns);return this[de](u.data.data)}}}),Xr=Me("indicators",{state:()=>({items:[]}),getters:{indicators:u=>u.items},actions:{[ue](u){this.items=u},async fetchIndicators(){const u=await qt.get(os);return this[ue](u.data.data)}}});var Zr=as;function ti(u,d){var s=u==null?0:u.length;return!!s&&Zr(u,d,0)>-1}var Le=ti;function ei(u,d,s){for(var n=-1,w=u==null?0:u.length;++n<w;)if(s(d,u[n]))return!0;return!1}var Re=ei,si=Ee,ni=Le,oi=Re,ai=ye,li=ls,ri=Ae,ii=200;function wi(u,d,s,n){var w=-1,l=ni,a=!0,r=u.length,f=[],c=d.length;if(!r)return f;s&&(d=ai(d,li(s))),n?(l=oi,a=!1):d.length>=ii&&(l=ri,a=!1,d=new si(d));t:for(;++w<r;){var k=u[w],h=s==null?k:s(k);if(k=n||k!==0?k:0,a&&h===h){for(var E=c;E--;)if(d[E]===h)continue t;f.push(k)}else l(d,h,n)||f.push(k)}return f}var ci=wi;function di(){}var ui=di,Jt=rs,pi=ui,mi=Oe,xi=1/0,fi=Jt&&1/mi(new Jt([,-0]))[1]==xi?function(u){return new Jt(u)}:pi,_i=fi,gi=Ee,hi=Le,bi=Re,vi=Ae,yi=_i,ki=Oe,$i=200;function Ci(u,d,s){var n=-1,w=hi,l=u.length,a=!0,r=[],f=r;if(s)a=!1,w=bi;else if(l>=$i){var c=d?null:yi(u);if(c)return ki(c);a=!1,w=vi,f=new gi}else f=d?[]:r;t:for(;++n<l;){var k=u[n],h=d?d(k):k;if(k=s||k!==0?k:0,a&&h===h){for(var E=f.length;E--;)if(f[E]===h)continue t;d&&f.push(h),r.push(k)}else w(f,h,s)||(f!==r&&f.push(h),r.push(k))}return r}var Ii=Ci,Si=ci,Pi=is,xe=Ii;function Ti(u,d,s){var n=u.length;if(n<2)return n?xe(u[0]):[];for(var w=-1,l=Array(n);++w<n;)for(var a=u[w],r=-1;++r<n;)r!=w&&(l[w]=Si(l[w]||a,u[r],d,s));return xe(Pi(l,1),d,s)}var ji=Ti,Mi=cs,Ei=ws,Ai=ji,Oi=ds,Fi=Ei(function(u){return Ai(Mi(u,Oi))}),Ni=Fi;const fe=ve(Ni),Li={class:"relative"},Ri={key:0,class:"tw-max-w-[1440px] tw-mx-auto"},qi={class:"lg:tw-flex lg:tw-gap-5 lg:tw-items-start"},Bi={class:"tw-flex tw-z-10 tw-fixed tw-left-0 tw-right-0 lg:tw-sticky lg:tw-flex lg:tw-flex-col lg:tw-w-[195px] lg:tw-z-49 lg-top-style"},Ui={class:"lg:tw-px-[5px] max-lg:tw-absolute max-lg:tw-inset-y-0 max-lg:tw-left-0 max-lg:tw-w-[43px] max-lg:tw-h-[48px] max-lg:tw-flex max-lg:tw-items-center max-lg:tw-justify-center max-lg:tw-bg-nl-white-100 max-lg:tw-z-[51]"},Di={class:"tw-flex tw-items-center tw-gap-[15px] lg:tw-mb-[17px]"},zi={class:"md:tw-flex-1 md:tw-pt-[30px] lg:tw-pt-[52px] md:tw-px-[28px] lg:tw-px-0 xl:tw-pr-3 tw-pb-3 md:tw-pb-5"},Vi={class:"md:tw-flex md:tw-bg-nl-blue-300 md:tw-border-8 md:tw-border-nl-green-200 md:tw-rounded-[26px] tw-overflow-hidden tw-mb-0 md:tw-mb-[14px]"},Hi={class:"tw-block tw-relative tw-w-full md:tw-w-[280px] lg:tw-w-[200px] xl:tw-w-[281px] tw-h-[190px] md:tw-h-auto max-md:tw-mb-6"},Wi=["srcset"],Ji=["src"],Gi=t("div",{class:"wave-xs md:tw-hidden tw-bottom-[-25px]"},null,-1),Ki={class:"tw-relative md:tw-flex-1 tw-text-center md:tw-pt-[29px] tw-pb-[16px] md:tw-pb-[13px] tw-px-[31px] lg:tw-px-[20px] xl:tw-px-[50px] tw-mt-[-9px] tw-mt-0"},Yi={class:"tw-font-black tw-font-agenda tw-text-[32px] md:tw-text-[35px] tw-uppercase tw-mb-2 md:tw-mb-[10px] tw-leading-7"},Qi=["innerHTML"],Xi={class:"list-dots tw-font-bold tw-text-[14px] md:tw-text-[16px] max-md:tw-leading-[1.38] tw-flex tw-flex-wrap tw-justify-center tw-gap-x-4 tw-mb-[19px] md:tw-mb-[15px] [&>li]:tw-relative [&>li]:before:content-[''] [&>li]:after:tw-size-[3px] md:[&>li]:after:tw-size-1 [&>li]:after:tw-rounded-full [&>li]:after:tw-bg-nl-green-100 [&>li]:after:tw-absolute [&>li]:after:-tw-right-[10px] [&>li]:after:tw-top-[9px] [&>li:last-child]:after:tw-hidden"},Zi={key:0,class:"tw-flex tw-justify-center"},tw={class:"tw-fixed tw-w-full tw-bottom-0 tw-z-20 lg:tw-hidden tw-flex tw-items-center tw-text-center tw-gap-2 tw-text-[16px] tw-leading-none tw-font-bold tw-bg-nl-yellow-100 tw-shadow-nl-4 tw-py-[9px] tw-px-4 tw-uppercase"},ew={key:0,class:"tw-w-full"},sw={key:0},nw={key:1},ow={key:2,class:"tw-text-center tw-mt-2 tw-text-[14px] tw-font-bold"},aw={key:1,class:"tw-w-full"},pw=q({__name:"index",setup(u){const d=Ie(),s=Rt(),n=It(),{planId:w,plans:l}=Se(n),a=Te(),r=lt(),f=Qr(),c=Lt(),k=Xr(),{isMobile:h,isTablet:E}=us(),$=F(!1),I=F(null),b=F({indicators:[],tags:[]}),B=F(!1),H=F(!1),P=F(),G=F(null),x=F(null),j=F(new Pe);$s(".promo-banner",".lg-top-style"),kt(async()=>{Ce.push("menusPageLoaded",{});let m=document.querySelector("#content");m&&m.scrollIntoView(!0),P.value=s.currentRoute.value.query,await f.fetchTags(),await k.fetchIndicators(),await r.fetchMenuItems(),T(),Ht(),b.value.indicators.length===0&&b.value.tags.length===0&&M(),B.value=!0,be(async()=>{await dt(),await R()}),(h.value||E.value)&&c.UPDATE_CART_STATE({isOpen:!1})});const N=y(()=>new fs(n.$state)),A=y(()=>r.menuItems.length>0?r.menuItems[0]:null),D=y(()=>{const m=d.query;return{indicators:Gt(Ct(m,"indicators","").split(",").filter(v=>v.length>0),v=>Number(v)),tags:Gt(Ct(m,"tags","").split(",").filter(v=>v.length>0),v=>Number(v)),menuItem:Ct(m,"navItem",null)}}),W=y(()=>{var m;return(m=n==null?void 0:n.selectedPlan)==null?void 0:m.threshold}),S=y(()=>{var m,v;return((m=n==null?void 0:n.selectedPlan)==null?void 0:m.id)===((v=n==null?void 0:n.largestPlan)==null?void 0:v.id)}),L=y(()=>n.isCheckoutStepAvailable?!S.value:!0),K=y(()=>{const m=D.value;return!(fe(m.indicators,b.value.indicators).length>0||fe(m.tags,b.value.tags).length>0||!m.menuItem||m.menuItem&&!ct(m.menuItem,r.selectedMenuItem))}),Y=y(()=>B.value&&r.selectedMenuItem&&r.menuItems.length),at=y(()=>{var m;return(m=r.selectedMenuItem)==null?void 0:m.menu_page_bullets.split(`\r `)});function ct(m,v){return!m&&!v?!0:!m&&v||!v&&m?!1:(typeof m=="object"&&(m!=null&&m.slug)&&(m=m.slug),typeof v=="object"&&(v!=null&&v.slug)&&(v=v.slug),m===v)}async function dt(){var m;(m=r.pendingCartItem)!=null&&m.sku&&await pt(r.pendingCartItem.sku)}function xt(){n.UPDATE_FILTERS({abandonedCartId:n.abandonedCartId,indicators:b.value.indicators,tags:b.value.tags}).then(()=>{n.GET_BESTSELLER_GROUPS({abandonedCartId:Number(n.abandonedCartId)})})}function ut(){let m=Object.assign({},d.query);m.navItem=Ct(r.selectedMenuItem,"slug",null),b.value.indicators.length>0?m.indicators=b.value.indicators.join(","):delete m.indicators,b.value.tags.length>0?m.tags=b.value.tags.join(","):delete m.tags,K.value||s.replace({query:m})}function T(){r.selectMenuItem(A.value.slug),D.value.menuItem&&r.selectMenuItem(D.value.menuItem),b.value.indicators=D.value.indicators,b.value.tags=D.value.tags}function M(){var m,v;b.value.indicators=((m=N.value.state.filters)==null?void 0:m.indicators)||[],b.value.tags=((v=N.value.state.filters)==null?void 0:v.tags)||[]}const U=y(()=>n.selectedPlan);async function st(){const m=l.value.find(v=>{var nt;return v.threshold>Number((nt=U==null?void 0:U.value)==null?void 0:nt.threshold)});m&&await rt(m),s.replace({query:{...s.currentRoute.value.query,plan:m==null?void 0:m.slug}})}async function rt(m){await n.UPDATE_PLAN({planId:m.id,sourceUrl:window.location.href})}async function pt(m){var v,nt,Q,it,_t;if((n.isCheckoutStepAvailable||c.cartProductsCount>=Number((v=n==null?void 0:n.selectedPlan)==null?void 0:v.threshold))&&((nt=n.largestPlan)==null?void 0:nt.id)!==((Q=n.selectedPlan)==null?void 0:Q.id)&&st(),(it=a==null?void 0:a.user)!=null&&it.id&&Number((_t=a==null?void 0:a.user)==null?void 0:_t.id)>0){window.location.href=je;return}try{await N.value.addProduct({sku:m,quantity:1},window.location.href)}catch(mt){if(mt instanceof me)return mt.dispatchFlahsNotification();throw mt}}function bt(){return new Promise((m,v)=>{G.value=m,x.value=v})}function vt(){H.value=!0,j.value.push("picky-eaters-popup-activated",{abandonedCartId:n.abandonedCartId})}async function ft(m){await c.SUBTRACT_PRODUCT({sku:m,sourceUrl:window.location.href})}async function R(){var nt;let m=Ct(P.value,"plan",null);if(m){(!l.value||l.value.length===0)&&await n.GET_PLANS();const Q=(nt=l.value.find(it=>it.slug===m))==null?void 0:nt.id;Q&&await n.UPDATE_PLAN({planId:Q,sourceUrl:window.location.href})}let v=pe(P.value);if(v||(await bt(),v=pe(P.value)),!(w.value>0))return s.push({path:ps,query:d.query});try{await N.value.addProductsPreset(v,window.location.href);const Q={...s.currentRoute.value.query,quantities:null,skus:null};s.replace({query:ms(Q)})}catch(Q){if(Q instanceof me)return Q.dispatchFlahsNotification();throw Q}}function Ht(){let m=Object.assign({},d.query);m.error&&(new xs(m.error).error(),delete m.error,s.replace({query:m}))}function Tt(){if(n.isCheckoutStepAvailable)return _s.includes(d.name)?s.push({name:gs.CHECKOUT}):window.location.href=hs}return wt(()=>r.selectedMenuItem,()=>{ut()}),wt(()=>b.value,()=>{xt(),ut()}),wt(()=>n.selectedPlan,()=>{r.fetchMenuItems().then(m=>{var v;r.selectMenuItem((v=I==null?void 0:I.value)==null?void 0:v.slug)})}),(m,v)=>{var yt,Yt,Qt,Xt,Zt,te,ee,se,ne,oe,ae,le,re;const nt=wn,Q=xn,it=yn,_t=$n,mt=En,jt=Ca,Mt=ks,Et=Bt,At=xr,Ot=Yr;return o(),i(z,null,[t("div",Li,[e(Y)?(o(),i("div",Ri,[t("div",qi,[t("div",Bi,[t("div",{class:X(["tw-w-full lg:tw-pt-[18px] lg:tw-pl-[28px] tw-sticky tw-flex tw-flex-col tw-z-50 tw-top-[69px] max-md:tw-top-0",{"max-md:tw-top-0":!e(N).hasPlan()}])},[t("div",Ui,[t("button",Di,[t("span",{onClick:v[0]||(v[0]=C(et=>$.value=!e($),["prevent"])),class:"icon-main-filter tw-text-[20px] max-lg:mt-[5px]"}),!e($)&&e(b).tags.length===0&&e(b).indicators.length===0?(o(),i("strong",{key:0,onClick:v[1]||(v[1]=C(et=>$.value=!e($),["prevent"])),class:"tw-text-[17px] tw-leading-[1.111] tw-uppercase max-lg:tw-hidden"},"Filters")):p("",!0)])]),O(nt,{class:"relative z-1 bg-white shadow-s9 md:w-full md:shadow-s5",open:e($),"onUpdate:open":v[2]||(v[2]=et=>$.value=et),filter:e(b),"onUpdate:filter":v[3]||(v[3]=et=>b.value=et),indicators:e(k).indicators,tags:e(f).tags},null,8,["open","filter","indicators","tags"]),e(r).menuItems.length?(o(),tt(Q,{key:0,ref:"menu",items:e(r).menuItems},null,8,["items"])):p("",!0)],2)]),t("div",zi,[t("div",Vi,[t("picture",Hi,[t("source",{media:"(max-width: 767px)",srcset:`/assets/images/menu/header/${(Yt=(yt=e(r))==null?void 0:yt.selectedMenuItem)==null?void 0:Yt.slug}-sm.jpg`},null,8,Wi),t("img",{src:`/assets/images/menu/header/${(Xt=(Qt=e(r))==null?void 0:Qt.selectedMenuItem)==null?void 0:Xt.slug}.jpg`,class:"tw-w-full tw-h-full tw-object-cover tw-object-center"},null,8,Ji),Gi]),t("div",Ki,[t("h2",Yi,_((te=(Zt=e(r))==null?void 0:Zt.selectedMenuItem)==null?void 0:te.title),1),t("p",{class:"tw-text-[15px] md:tw-text-[16px] tw-leading-[1.2666] tw-mb-[10px] tw-font-medium",innerHTML:(ee=e(r).selectedMenuItem)==null?void 0:ee.description},null,8,Qi),t("ul",Xi,[(o(!0),i(z,null,ot(e(at),(et,qe)=>(o(),i("li",{key:qe},_(et),1))),128))]),((ne=(se=e(r))==null?void 0:se.selectedMenuItem)==null?void 0:ne.slug)=="finger-foods"?(o(),tt(it,{key:0})):p("",!0),O(_t,{menuItem:e(r).selectedMenuItem,onClicked:vt},null,8,["menuItem"]),O(mt,{menuItem:e(r).selectedMenuItem},null,8,["menuItem"])])]),O(jt,{filter:e(b),onAddProduct:pt,onSubtractProduct:ft},null,8,["filter"])]),O(Mt)])])):p("",!0)]),e(B)?p("",!0):(o(),i("div",Zi,[O(Et)])),O(At,{onAdd:pt,onSubtract:ft,"promo-code":(ae=(oe=e(c))==null?void 0:oe.promoCode)==null?void 0:ae.code,"cart-items":e(c).cartProducts,"read-only":!1,"plan-id":e(n).selectedPlan?Number((re=(le=e(n))==null?void 0:le.selectedPlan)==null?void 0:re.id):null},null,8,["promo-code","cart-items","plan-id"]),O(Ot,{show:e(H),onClose:v[4]||(v[4]=et=>H.value=!1)},null,8,["show"]),t("div",tw,[e(N).hasPlan()?(o(),i("div",ew,[e(W)===e(c).cartProductsCount?(o(),i("button",{key:0,onClick:C(Tt,["prevent"]),class:"tw-block tw-rounded tw-bg-nl-violet-100 tw-text-white tw-p-3 tw-w-full"}," CHECKOUT ")):(o(),i("a",{key:1,href:"#",onClick:v[5]||(v[5]=C((...et)=>e(c).OPEN_CART&&e(c).OPEN_CART(...et),["prevent"])),class:"tw-block tw-rounded tw-bg-nl-violet-100 tw-text-white tw-p-3"},[g(" Your box "),e(L)?(o(),i("span",sw,"(")):p("",!0),g(_(e(c).cartProductsCount),1),e(L)?(o(),i("span",nw,"/"+_(e(W))+")",1)):p("",!0)])),e(W)===e(c).cartProductsCount?(o(),i("div",ow,[t("a",{href:"#",onClick:v[6]||(v[6]=C((...et)=>e(c).OPEN_CART&&e(c).OPEN_CART(...et),["prevent"])),class:"tw-underline"},"view my box")])):p("",!0)])):(o(),i("div",aw,[t("a",{href:"#",onClick:v[7]||(v[7]=C((...et)=>e(c).OPEN_CART&&e(c).OPEN_CART(...et),["prevent"])),class:"tw-block tw-rounded tw-bg-nl-violet-100 tw-text-white tw-p-3"}," Choose Your Plan")]))])],64)}}});export{pw as default};