import{g,aT as C,b7 as v,m as B,r as I,h as m,bw as P,cW as N,n as D,cG as j,by as S,o as r,c,H as $,aj as A,a as n,j as o,q as f,t as k,s as L,b as e,w as u,i as E,x as G,bX as x,e as H,p as M,f as O,_ as U,u as F,a4 as V}from"./D-NqFN1U.js";import{R as p}from"./CUpIs38M.js";import{_ as T}from"./DJ23bcL4.js";import{P as z}from"./BLdnKFvz.js";import{P as q,R as W,a as X}from"./BBF1GmD0.js";import{u as J}from"./DFdqLK0E.js";import{_ as K}from"./DB9mIyZh.js";const Q={class:"tw-flex tw-justify-center tw-items-center tw-gap-x-[5px] md:tw-gap-x-[10px] md:tw-gap-x-[50px] tw-w-[100%] md:tw-w-[85%]"},Y=["onClick"],Z={key:0},tt={key:1},et=n("svg",{width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[n("circle",{cx:"15",cy:"15",r:"13.5",fill:"#007D4D",stroke:"#007D4D","stroke-width":"3"}),n("path",{d:"M10 16.7188C11.6667 18.3438 12.9167 22 14.5833 22C16.25 22 18.3333 11.8438 20 9",stroke:"white","stroke-width":"3","stroke-linecap":"round"})],-1),nt=[et],st=g({__name:"ProgressLegacy",props:{initialSteps:Array},setup(l){const i=l,a=C(),t=v(),_=B(),d=I(!1),b=m(()=>new P(a.$state)),h=m(()=>{if(i.initialSteps)return i.initialSteps;const w=()=>t.name!==S.SIGNUP;return N([d.value?new p("signup",0):null,new p("plans",1,w),new p("menu",2,w),new p("checkout",3,()=>a.isCheckoutStepAvailable&&w())])});return D(()=>{d.value=window.localStorage.getItem(j)||t.name===S.SIGNUP}),(w,y)=>(r(),c("ul",Q,[(r(!0),c($,null,A(o(h),(s,R)=>(r(),c("li",{key:s.name},[n("a",{href:"#",class:"tw-flex tw-flex-col tw-justify-center tw-items-center tw-gap-0.5 tw-w-[88px]",onClick:L(_t=>s.navigate(o(_)),["prevent"])},[s.isComplete(o(t),o(b))?(r(),c("span",tt,nt)):(r(),c("span",Z,[n("span",{class:f(["tw-flex tw-items-center tw-justify-center tw-font-bold tw-h-[30px] tw-w-[30px] tw-rounded-full",{"tw-bg-nl-green-400 tw-border-transparent tw-text-white":s.isCurrent(o(t)),"tw-bg-transparent tw-border-nl-green-100 tw-text-nl-green-100":!s.isCurrent(o(t))}]),style:{"border-width":"3px"}},k(R+1),3)])),n("span",{class:f([{"tw-font-bold":s.isCurrent(o(t))},"tw-uppercase"])},k(s.name),3)],8,Y)]))),128))]))}}),ot=l=>(M("data-v-f820289b"),l=l(),O(),l),at={class:"tw-sticky tw-top-0 tw-right-0 tw-left-0 tw-z-50 lg-top-header-style"},rt=ot(()=>n("img",{src:T,alt:"Nurture Life"},null,-1)),lt=g({__name:"Header",setup(l){J(".promo-banner",".lg-top-header-style");const i=C(),a=v(),t=m(()=>new P(i.$state)),_=m(()=>!(a.name==="onboarding-checkout-success"||a.name==="login"||a.name==="success-partner"||a.name==="menus"&&!t.value.hasPlan()));return(d,b)=>{const h=x,w=H,y=st,s=x;return r(),c($,null,[e(h,null,{default:u(()=>[e(q),e(z)]),_:1}),n("div",at,[e(W),e(X),n("div",{class:f([{"tw-justify-between max-md:tw-hidden":!o(t).hasPlan()},"md:tw-pt-[12px] md:tw-pb-2 tw-shadow-nl-5 tw-text-[15px] tw-relative tw-bg-nl-yellow-100 tw-w-full tw-min-h-[70px] tw-flex"])},[e(w,{to:"/",class:f(["tw-hidden tw-ml-[33px] tw-w-[160px] md:tw-flex"])},{default:u(()=>[rt]),_:1}),e(s,null,{default:u(()=>[o(_)?(r(),E(y,{key:0})):G("",!0)]),_:1})],2)])],64)}}}),ct=U(lt,[["__scopeId","data-v-f820289b"]]),it={class:"tw-min-h-screen tw-flex tw-flex-col tw-bg-nl-yellow-100 tw-antialiased"},wt={id:"content",class:"tw-bg-nl-yellow-100 tw-text-nl-green-100 tw-text-body-sm md:tw-text-body tw-flex-grow",tabindex:"-1"},gt=g({__name:"menu-page-default",setup(l){return F({link:[{rel:"stylesheet",href:"/assets/compile/tailwind.css"}]}),(i,a)=>{const t=ct,_=x,d=K;return r(),c("div",it,[n("main",wt,[e(_,null,{default:u(()=>[e(t)]),_:1}),V(i.$slots,"default")]),e(d)])}}});export{gt as default}; //# sourceMappingURL=CQ3_fM6p.js.map