1import{dh as L,eP as e,b9 as h,P as O,ch as g,bi as d,ce as I,eK as D,fq as m,E as z,d5 as w,dV as v,ep as j,dI as V,bV as U}from"./index-6xrb6uNF.js";import{u as Y,H as Z}from"./use-happy-hour-B7MNPUNF.js";import{b as K}from"./bar-preview-search-VKZsjPQ7.js";import{A as N}from"./arrow-left-JX1kgliE.js";import{M as E}from"./MenuImagePlaceholder-J7ob65PE.js";import{F as J}from"./FoodTruckBusinessInfo-B_nLuGwe.js";import"./happy-hour-schedule-CxO6poCs.js";const Q=[["path",{d:"M12 4V2",key:"1k5q1u"}],["path",{d:"M5 10v4a7.004 7.004 0 0 0 5.277 6.787c.412.104.802.292 1.102.592L12 22l.621-.621c.3-.3.69-.488 1.102-.592A7.003 7.003 0 0 0 19 14v-4",key:"1tgyif"}],["path",{d:"M12 4C8 4 4.5 6 4 8c-.243.97-.919 1.952-2 3 1.31-.082 1.972-.29 3-1 .54.92.982 1.356 2 2 1.452-.647 1.954-1.098 2.5-2 .595.995 1.151 1.427 2.5 2 1.31-.621 1.862-1.058 2.5-2 .629.977 1.162 1.423 2.5 2 1.209-.548 1.68-.967 2-2 1.032.916 1.683 1.157 3 1-1.297-1.036-1.758-2.03-2-3-.5-2-4-4-8-4Z",key:"tnsqj"}]],X=L("nut",Q);const ee=[["path",{d:"M2 6c.6.5 1.2 1 2.5 1C7 7 7 5 9.5 5c2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"knzxuh"}],["path",{d:"M2 12c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"2jd2cc"}],["path",{d:"M2 18c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"rd2r6e"}]],se=L("waves",ee);function te(s){return K(s)}function ne(s){return!s||s.bundle.kind==="legacy"?{mode:"legacy",desktopUrl:s?.desktopUrl??g.bar.fullMenuHeaderBannerDesktop,phoneUrl:s?.phoneUrl??g.bar.fullMenuHeaderBanner}:s.bundle.kind==="none"||!s.desktopUrl?{mode:"none",desktopUrl:null,phoneUrl:null}:{mode:"managed",desktopUrl:s.desktopUrl,phoneUrl:s.phoneUrl??s.desktopUrl}}function ae({logoUrl:s=null,fullMenuHero:t,workingPreview:n=!1}){const a=ne(t),r=s?.trim()||null,l=te(n);return e.jsxs("header",{className:"relative isolate w-full overflow-hidden bg-brand-cream",children:[a.mode==="legacy"?e.jsx(P,{mobileUrl:a.phoneUrl,desktopUrl:a.desktopUrl,logoUrl:r,barBackLinkSearch:l}):null,a.mode==="managed"&&a.desktopUrl?e.jsx(P,{mobileUrl:a.phoneUrl??a.desktopUrl,desktopUrl:a.desktopUrl,logoUrl:r,barBackLinkSearch:l,onDark:!0}):null,a.mode==="none"?e.jsx(re,{logoUrl:r,barBackLinkSearch:l}):null,e.jsx("div",{className:"pointer-events-none absolute inset-x-0 top-0 z-20",children:e.jsx("div",{className:a.mode==="none"?"pointer-events-auto":"pointer-events-auto bg-gradient-to-b from-black/45 via-black/20 to-transparent",children:e.jsxs("div",{className:"mx-auto flex w-full max-w-6xl items-center justify-between gap-4 px-4 py-3 sm:px-6 lg:max-w-none lg:px-6 xl:px-8",children:[e.jsx(h,{to:"/",className:"inline-flex shrink-0 rounded-lg transition hover:opacity-90 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-brand-cream","aria-label":"Back to home",children:e.jsx(O,{className:a.mode==="none"?"h-10 w-auto sm:h-12":"h-10 w-auto drop-shadow-[0_2px_8px_rgba(0,0,0,0.35)] sm:h-12"})}),e.jsxs(h,{to:"/bar",search:l,className:a.mode==="none"?"hidden items-center gap-2 font-display text-sm uppercase tracking-[0.14em] text-brand-green transition hover:text-brand-orange lg:inline-flex":"hidden items-center gap-2 font-display text-sm uppercase tracking-[0.14em] text-brand-cream transition hover:text-brand-orange lg:inline-flex",children:[e.jsx(N,{className:"h-4 w-4"}),"Back to The Bar"]})]})})}),a.mode!=="none"?e.jsxs(h,{to:"/bar",search:l,className:"absolute bottom-16 left-4 z-20 inline-flex items-center gap-1 font-display text-[0.5rem] uppercase tracking-[0.1em] text-brand-cream drop-shadow-[0_1px_4px_rgba(0,0,0,0.65)] transition hover:text-brand-orange focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-brand-cream sm:bottom-20 sm:left-6 sm:text-[0.55rem] lg:hidden",children:[e.jsx(N,{className:"h-2.5 w-2.5"}),"Back to The Bar"]}):null]})}function P({mobileUrl:s,desktopUrl:t,logoUrl:n,barBackLinkSearch:a,onDark:r=!1}){return e.jsxs("div",{className:"relative w-full",children:[e.jsx("div",{className:"relative aspect-[2048/1024] w-full overflow-hidden lg:hidden",children:e.jsx("img",{src:s,alt:"","aria-hidden":!0,width:1024,height:512,fetchPriority:"high",decoding:"async",loading:"eager",className:"absolute inset-0 h-full w-full object-cover"})}),e.jsx("div",{className:"relative hidden aspect-[1024/419] w-full overflow-hidden lg:block",children:e.jsx("img",{src:t,alt:"","aria-hidden":!0,fetchPriority:"high",decoding:"async",loading:"eager",className:"absolute inset-0 h-full w-full object-cover"})}),e.jsx("div",{className:"absolute z-[1] flex flex-col items-center justify-center px-2 text-center sm:px-3 lg:px-3 xl:px-4 inset-y-[7%] left-1/2 w-[48%] -translate-x-1/2 -translate-y-5 sm:inset-y-[8%] sm:w-[46%] sm:-translate-y-6 lg:inset-y-auto lg:left-[50.5%] lg:top-[42%] lg:w-[47.5%] lg:-translate-y-1/2",children:e.jsx(A,{logoUrl:n,onDark:r,barBackLinkSearch:a})})]})}function re({logoUrl:s,barBackLinkSearch:t}){return e.jsx("div",{className:"relative w-full bg-gradient-to-b from-brand-cream via-brand-cream to-[#ebe4d4] px-4 pb-10 pt-20 sm:px-8 sm:pb-14 sm:pt-24",children:e.jsxs("div",{className:"mx-auto flex max-w-3xl flex-col items-center justify-center text-center",children:[e.jsx(A,{logoUrl:s,desktop:!0,barBackLinkSearch:t}),e.jsxs(h,{to:"/bar",search:t,className:"mt-6 inline-flex items-center gap-1 font-display text-[0.65rem] uppercase tracking-[0.1em] text-brand-green transition hover:text-brand-orange lg:hidden",children:[e.jsx(N,{className:"h-2.5 w-2.5"}),"Back to The Bar"]})]})})}function A({logoUrl:s,desktop:t=!1,onDark:n=!1,barBackLinkSearch:a}){const r=Y().display.menuHeroLine,l=n?t?"mt-2 font-display text-6xl uppercase leading-none tracking-wide text-brand-cream xl:mt-3 xl:text-7xl":"mt-2 font-display text-2xl uppercase leading-none tracking-wide text-brand-cream sm:mt-4 sm:text-4xl lg:mt-2 lg:text-6xl xl:mt-3 xl:text-7xl":t?"mt-2 font-display text-6xl uppercase leading-none tracking-wide text-brand-green xl:mt-3 xl:text-7xl":"mt-2 font-display text-2xl uppercase leading-none tracking-wide text-brand-green sm:mt-4 sm:text-4xl lg:mt-2 lg:text-6xl xl:mt-3 xl:text-7xl",o=n?"text-brand-cream":"text-brand-green",c=n?"text-brand-cream/85":"text-brand-green/80",i=t;return e.jsxs(e.Fragment,{children:[s?e.jsx(h,{to:"/bar",search:a,className:"inline-flex rounded-lg transition hover:opacity-85 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-brand-green-deep","aria-label":"Back to The Bar",children:e.jsx("img",{src:s,alt:"Full Liquor Bar","data-bar-logo-surface":"bar-full-menu-header",loading:"lazy",decoding:"async",fetchPriority:"low",className:i?"h-28 w-auto xl:h-[8.5rem]":"h-14 w-auto sm:h-20 lg:h-28 xl:h-[8.5rem]"},s)}):null,e.jsxs("div",{className:i?"mt-2 flex items-center gap-3 xl:mt-3":"mt-2 flex items-center gap-1.5 sm:mt-4 sm:gap-2 lg:mt-2 lg:gap-3 xl:mt-3",children:[e.jsx(d,{className:i?"h-3.5 w-3.5 shrink-0":"h-2 w-2 shrink-0 sm:h-2.5 sm:w-2.5 lg:h-3.5 lg:w-3.5"}),e.jsx("p",{className:i?`font-display text-base uppercase leading-tight tracking-[0.18em] ${o} xl:text-lg`:`font-display text-[0.55rem] uppercase leading-tight tracking-[0.18em] ${o} sm:text-[0.6rem] sm:tracking-[0.22em] lg:text-base xl:text-lg`,children:"Dockside Drinks · Tropical Cocktails · Local Brews"}),e.jsx(d,{className:i?"h-3.5 w-3.5 shrink-0":"h-2 w-2 shrink-0 sm:h-2.5 sm:w-2.5 lg:h-3.5 lg:w-3.5"})]}),e.jsx("h1",{className:l,children:"Full Bar Menu"}),e.jsxs("div",{className:i?"mt-2 flex items-start justify-center gap-3 xl:mt-2.5":"mt-1.5 flex items-start justify-center gap-1.5 sm:mt-3 sm:gap-2 lg:mt-2 lg:gap-3 xl:mt-2.5",children:[e.jsx(d,{className:i?"mt-1 h-3 w-3 shrink-0":"mt-0.5 h-1.5 w-1.5 shrink-0 sm:h-2 sm:w-2 lg:mt-1 lg:h-3 lg:w-3"}),e.jsx("p",{className:i?`min-w-0 text-center font-display text-base uppercase leading-snug tracking-[0.12em] ${c} xl:text-lg`:`min-w-0 text-center font-display text-[0.58rem] uppercase leading-snug tracking-[0.1em] ${c} sm:text-[0.65rem] sm:tracking-[0.12em] lg:text-base lg:tracking-[0.12em] xl:text-lg`,children:D()?`${I.compactClosed}
1 · ${I.compactReopens}`:r}),e.jsx(d,{className:i?"mt-1 h-3 w-3 shrink-0":"mt-0.5 h-1.5 w-1.5 shrink-0 sm:h-2 sm:w-2 lg:mt-1 lg:h-3 lg:w-3"})]})]})}function le({activeCategory:s,onCategoryChange:t}){const n=m.useRef(null),[a,r]=m.useState(!1);return m.useEffect(()=>{if(!n.current)return;const o=new IntersectionObserver(([i])=>r(!i.isIntersecting),{threshold:1,rootMargin:"-1px 0px 0px 0px"}),c=document.getElementById("full-menu-nav-sentinel");return c&&o.observe(c),()=>o.disconnect()},[]),e.jsxs(e.Fragment,{children:[e.jsx("div",{id:"full-menu-nav-sentinel",className:"h-px","aria-hidden":!0}),e.jsx("nav",{ref:n,className:w("sticky top-0 z-40 border-b transition-shadow duration-300",a?"border-brand-green/10 bg-brand-cream/95 shadow-md backdrop-blur-md":"border-transparent bg-transparent"),"aria-label":"Menu categories",children:e.jsx("div",{className:"scrollbar-none mx-auto w-full max-w-6xl overflow-x-auto px-3 py-2 sm:px-6 sm:py-3 lg:max-w-none lg:px-6 lg:py-2 xl:px-8",children:e.jsx("div",{className:"flex w-max min-w-full justify-center gap-1 sm:gap-2",role:"tablist",children:z.map(l=>{const o=s===l.id;return e.jsx("button",{type:"button",role:"tab","aria-selected":o,onClick:()=>t(l.id),className:w("shrink-0 rounded-full border px-3 py-1.5 font-display text-[0.65rem] uppercase tracking-[0.1em] transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand-orange/60 focus-visible:ring-offset-2 focus-visible:ring-offset-brand-cream sm:px-5 sm:py-2 sm:text-sm",o?"border-brand-orange bg-brand-orange text-white shadow-sm":"border-brand-green/25 bg-brand-green text-brand-cream hover:border-brand-orange hover:bg-brand-orange hover:text-white hover:shadow-sm"),children:l.label},l.id)})})})})]})}function ie({children:s,className:t=""}){return e.jsxs("div",{className:w("full-menu-sections-paper relative isolate overflow-hidden",t),children:[e.jsxs("div",{className:"pointer-events-none absolute inset-0 z-0 overflow-hidden","aria-hidden":!0,children:[e.jsx("img",{src:g.bar.fullMenuSectionsBackgroundMobile,alt:"",width:1404,height:4320,decoding:"async",className:"absolute left-0 top-0 w-full max-w-none lg:hidden"}),e.jsx("img",{src:g.bar.fullMenuSectionsBackgroundDesktop,alt:"",width:2560,height:1800,decoding:"async",className:"absolute left-0 top-0 hidden w-full max-w-none lg:block"})]}),e.jsx("div",{className:"relative z-[1] flex min-h-full flex-1 flex-col",children:s})]})}const f="flex h-full w-full flex-col overflow-hidden rounded-lg border-2 border-brand-orange bg-brand-cream shadow-card transition duration-300 hover:-translate-y-0.5 hover:shadow-[0_0_0_3px_oklch(0.68_0.19_42_/_0.55),0_0_32px_14px_oklch(0.68_0.19_42_/_0.5),0_12px_32px_-12px_rgba(0,0,0,0.25)] sm:rounded-xl",oe="relative aspect-square w-full overflow-hidden rounded-md border-2 border-brand-orange bg-brand-cream",C="flex min-h-0 flex-1 flex-col p-1.5 pt-1 sm:p-2 sm:pt-1.5",B="line-clamp-2 min-h-[1.8rem] font-display text-[0.6rem] uppercase leading-tight tracking-wide text-brand-green sm:min-h-[2rem] sm:text-xs",T="mt-0.5 line-clamp-2 min-h-[1.725rem] text-[0.575rem] leading-snug text-muted-foreground sm:line-clamp-3 sm:min-h-[2.25rem] sm:text-[0.625rem]",ce="mt-0.5 line-clamp-2 font-display text-[0.55rem] uppercase leading-snug tracking-wide text-brand-orange sm:text-[0.6rem]",M="mt-auto pt-1 font-display text-xs text-brand-orange sm:pt-1.5 sm:text-sm";function S({item:s,frameClassName:t=""}){const n=s.image?.trim();return e.jsx("div",{className:"shrink-0 p-1.5 pb-0 sm:p-2",children:e.jsx("div",{className:`${oe} ${t}`,children:n?e.jsx("img",{src:n,alt:s.name,width:800,height:800,decoding:"async",loading:"lazy",className:"aspect-square h-full w-full object-cover object-center transition duration-500 group-hover:scale-105"}):e.jsx(E,{})})})}function de({flavors:s}){return s?.length?e.jsx("p",{className:ce,children:s.join(" · ")}):null}function p({item:s}){const t=!!s.flavors?.length;return e.jsxs("article",{className:`${f} group`,children:[e.jsx(S,{item:s}),e.jsxs("div",{className:C,children:[e.jsxs("div",{className:"flex items-start justify-between gap-0.5",children:[e.jsx("h3",{className:B,children:s.name}),s.containsNuts&&e.jsxs("span",{className:"inline-flex shrink-0 items-center rounded-full bg-brand-orange/10 p-0.5 text-brand-orange",title:"Contains
1nuts",children:[e.jsx(X,{className:"h-2 w-2 sm:h-2.5 sm:w-2.5","aria-hidden":!0}),e.jsx("span",{className:"sr-only",children:"Contains nuts"})]})]}),s.description||!t?e.jsx("p",{className:T,children:s.description??""}):null,e.jsx(de,{flavors:s.flavors}),e.jsxs("p",{className:M,children:["$",s.price]})]})]})}function u({item:s}){return e.jsxs("article",{className:`${f} group`,children:[e.jsx(S,{item:s}),e.jsxs("div",{className:C,children:[e.jsx("h3",{className:B,children:s.name}),s.description?e.jsx("p",{className:T,children:s.description}):null,e.jsxs("p",{className:M,children:["$",s.price]})]})]})}function H({item:s,showBottlePrice:t=!1}){return e.jsxs("article",{className:`${f} group`,children:[e.jsx(S,{item:s,frameClassName:"bg-gradient-to-b from-brand-cream to-white"}),e.jsxs("div",{className:C,children:[e.jsx("h3",{className:B,children:s.name}),e.jsx("p",{className:M,children:t&&s.bottlePrice?`$${s.price} / $${s.bottlePrice}`:`$${s.price}`})]})]})}function me({items:s}){const t=s[0]?.price??8,n=s[0]?.image?.trim();return e.jsx("article",{className:`${f} mx-auto w-fit max-w-full`,children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"flex shrink-0 items-center justify-center bg-gradient-to-br from-brand-cream to-white p-2",children:e.jsx("div",{className:"aspect-square w-14 overflow-hidden rounded-md border-2 border-brand-orange",children:n?e.jsx("img",{src:n,alt:"House wine selection",width:800,height:800,decoding:"async",loading:"lazy",className:"aspect-square h-full w-full object-cover"}):e.jsx(E,{})})}),e.jsxs("div",{className:"flex min-w-0 flex-col justify-center p-2",children:[e.jsx("h3",{className:"font-display text-sm uppercase leading-none tracking-wide text-brand-green sm:text-base",children:"House Wines"}),e.jsx("p",{className:"mt-1 font-display text-xs uppercase tracking-wide text-brand-green/80 sm:text-sm",children:s.map((a,r)=>e.jsxs("span",{children:[r>0&&e.jsx("span",{className:"text-brand-orange",children:" / "}),a.name]},a.id))})]}),e.jsx("div",{className:"flex shrink-0 items-center border-l p-2 pl-3",children:e.jsxs("p",{className:"font-display text-base text-brand-orange sm:text-lg",children:["$",t]})})]})})}const xe="mx-auto grid w-full grid-cols-3 gap-1.5 sm:gap-2 md:grid-cols-4 md:gap-3 lg:flex lg:flex-wrap lg:justify-center lg:gap-2 xl:gap-2.5",k="flex min-w-0 w-full lg:w-[8.25rem] lg:shrink-0";function y({children:s,className:t=""}){return e.jsx("div",{className:[xe,t].filter(Boolean).join(" "),children:s})}function _({title:s,subtitle:t}){return e.jsxs("div",{className:"mb-3 text-center sm:mb-4 lg:mb-3",children:[e.jsxs("div",{className:"flex items-center justify-center gap-2 sm:gap-3",children:[e.jsx(d,{className:"h-2.5 w-2.5 shrink-0 text-brand-orange sm:h-3 sm:w-3"}),e.jsx("h2",{className:"font-display text-xl uppercase leading-snug tracking-wide text-brand-green sm:text-2xl lg:text-3xl",children:s}),e.jsx(d,{className:"h-2.5 w-2.5 shrink-0 text-brand-orange sm:h-3 sm:w-3"})]}),t&&e.jsx("p",{className:"mt-1 font-display text-[0.65rem] uppercase tracking-[0.14em] text-muted-foreground sm:text-xs",children:t}),e.jsxs("div",{className:"mx-auto mt-2 flex max-w-xs items-center justify-center gap-3 sm:mt-3","aria-hidden":!0,children:[e.jsx("span",{className:"h-px w-8 shrink-0 bg-brand-orange sm:w-12"}),e.jsx(d,{className:"h-3.5 w-3.5 shrink-0 sm:h-4 sm:w-4"}),e.jsx("span",{className:"h-px w-8 shrink-0 bg-brand-orange sm:w-12"})]})]})}function F({id:s,children:t}){return e.jsx("section",{id:s,className:"flex min-h-full flex-1 flex-col scroll-mt-[4.5rem] px-3 pb-6 pt-3 sm:px-8 sm:pb-8 sm:pt-4 lg:px-6 lg:pb-6 lg:pt-5 xl:px-8",children:t})}function W({items:s,Card:t}){return e.jsx(y,{children:s.map(n=>e.jsx("div",{className:k,children:e.jsx(t,{item:n})},n.id))})}function ue({items:s}){if(s.length===0)return null;const t=s.every(n=>n.price===s[0].price)?s[0].price:null;return e.jsxs("section",{"aria-label":"Gray Whale featured cocktails",className:"mx-auto mb-5 w-full max-w-xl rounded-2xl bg-brand-orange px-4 py-4 text-center text-white shadow-card sm:mb-6 sm:px-6 sm:py-5",children:[e.jsx("p",{className:"font-display text-xs uppercase tracking-[0.3em] text-white/90",children:"Gray"}),e.jsx("h3",{className:"font-display text-3xl uppercase leading-none tracking-wide sm:text-4xl",children:"Whale"}),e.jsx("div",{className:"mx-auto mt-2 h-px w-3/4 bg-white/60","aria-hidden":!0}),e.jsxs("p",{className:"mt-2 font-display text-xs uppercase tracking-[0.14em] sm:text-sm",children:["Featured Cocktails",t!=null?e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"mx-1.5 text-white/60","aria-hidden":!0,
1children:"|"}),"$",t]}):null]}),e.jsx("ul",{className:"mt-4 grid gap-4 sm:grid-cols-2",children:s.map(n=>e.jsxs("li",{children:[e.jsx("h4",{className:"font-display text-sm uppercase leading-tight tracking-wide",children:n.name}),e.jsx("div",{className:"mx-auto mt-1 h-px w-16 bg-white/60","aria-hidden":!0}),n.description?e.jsx("p",{className:"mt-1.5 text-xs italic leading-snug text-white/90",children:n.description}):null,t==null?e.jsxs("p",{className:"mt-1 font-display text-sm",children:["$",n.price]}):null]},n.id))}),e.jsx(se,{className:"mx-auto mt-4 h-5 w-5 text-white/85","aria-hidden":!0}),e.jsx("p",{className:"mt-1 font-display text-[0.7rem] uppercase tracking-[0.12em] sm:text-xs",children:"Help Support Ocean Conservation"}),e.jsx("p",{className:"mt-1 text-[0.65rem] italic text-white/90 sm:text-xs",children:"Every Gray Whale purchase supports Surfrider Foundation and 1% for the Planet."})]})}function he({items:s}){const t=v(s,"gray-whale");return e.jsxs(F,{id:"menu-cocktails",children:[e.jsx(_,{title:"Signature Cocktails",subtitle:"Handcrafted on the waterfront"}),e.jsx(ue,{items:t}),e.jsx(W,{items:[...t,...v(s,"cocktails")],Card:p})]})}function pe({items:s}){const t=j(s,"house"),n=j(s,"sparkling"),a=j(s,"premium");return e.jsxs(F,{id:"menu-wine",children:[e.jsx(_,{title:"Wine Selection",subtitle:"By the glass & bottle"}),e.jsxs("div",{className:"mx-auto w-full space-y-5 sm:space-y-7 lg:space-y-4",children:[t.length>0&&e.jsx(me,{items:t}),n.length>0&&e.jsxs("div",{children:[e.jsx("h3",{className:"mb-2 text-center font-display text-sm uppercase tracking-wide text-brand-green sm:mb-3 sm:text-lg lg:mb-2",children:"Sparkling"}),e.jsx(y,{children:n.map(r=>e.jsx("div",{className:k,children:e.jsx(H,{item:r})},r.id))})]}),a.length>0&&e.jsxs("div",{children:[e.jsx("h3",{className:"mb-2 text-center font-display text-sm uppercase tracking-wide text-brand-green sm:mb-3 sm:text-lg lg:mb-2",children:"Premium Wines"}),e.jsx(y,{children:a.map(r=>e.jsx("div",{className:k,children:e.jsx(H,{item:r,showBottlePrice:!0})},r.id))})]})]})]})}const ge={spritzes:{title:"Spritzes",subtitle:"Bubbly & bright",Card:p},mocktails:{title:"Mocktails",subtitle:"Zero-proof & refreshing",Card:p},seltzer:{title:"Vodka Seltzers",subtitle:"Light & refreshing",Card:p},"draft-beer":{title:"Draft Beer",subtitle:"Local & classic taps",Card:u},bottles:{title:"Bottle Beer",subtitle:"Classic bottled beer",Card:u},"canned-beer":{title:"Canned Beer",subtitle:"Ice-cold favorites",Card:u},"non-alcoholic-beer":{title:"Non-Alcoholic Beer",subtitle:"All the flavor, none of the alcohol",Card:u},buckets:{title:"Buckets",subtitle:"Five on ice to share",Card:u}};function fe({category:s,items:t}){if(s==="cocktails"||s==="gray-whale")return e.jsx(he,{items:t});if(s==="wine")return e.jsx(pe,{items:t});const n=ge[s];return n?e.jsxs(F,{id:`menu-${s}`,children:[e.jsx(_,{title:n.title,subtitle:n.subtitle}),e.jsx(W,{items:v(t,s),Card:n.Card})]}):null}function be(){if(typeof window>"u")return"cocktails";const s=window.location.hash.replace(/^#/,"");return z.some(t=>t.id===s)?s:"cocktails"}function je({items:s,info:t,workingPreview:n=!1}){const a=m.useRef(null),[r,l]=m.useState(be),o=m.useCallback(()=>{const x=a.current;if(!x)return;const q=document.querySelector('[aria-label="Menu categories"]')?.offsetHeight??72,$=x.getBoundingClientRect().top+window.scrollY-q;if(window.scrollY<=$+8)return;const G=window.matchMedia("(prefers-reduced-motion: reduce)").matches;window.scrollTo({top:Math.max(0,$),behavior:G?"auto":"smooth"})},[]),c=m.useCallback(x=>{l(x);const b=`#${x}`;window.location.hash!==b&&window.history.replaceState(null,"",`${window.location.pathname}${window.location.search}${b}`),requestAnimationFrame(o)},[o]),i=t.fullMenuHero.bundle.kind==="none",R=!!V(t.phone)||!!t.website?.trim();return e.jsxs("main",{className:"flex min-h-screen flex-col bg-brand-cream text-foreground",children:[e.jsx(ae,{logoUrl:t.logoUrl,fullMenuHero:t.fullMenuHero,workingPreview:n}),e.jsx("div",{className:i?"relative z-10 flex min-h-0 flex-1 flex-col":"relative z-10 flex min-h-0 flex-1 flex-col -mt-14 sm:-mt-16 lg:-mt-36 xl:-mt-40",children:e.jsxs(ie,{className:"flex min-h-full flex-1 flex-col rounded-t-[2rem]",children:[e.jsx(le,{activeCategory:r,onCategoryChange:c}),e.jsx("div",{ref:a,className:"flex min-h-0 flex-1 flex-col",children:e.jsx(fe,{c
1ategory:r,items:s})},r),R?e.jsx("section",{className:"border-t border-brand-green/10 px-5 py-8 sm:px-8 sm:py-10",children:e.jsx("div",{className:"mx-auto flex max-w-[900px] flex-col items-center",children:e.jsx(J,{phone:t.phone,website:t.website,centered:!0})})}):null]})})]})}function we(s){return s.map(t=>{const n={id:t.id,name:t.name,category:t.category,description:t.description,price:t.price,image:t.image,displayOrder:t.displayOrder,available:t.available};return t.bottlePrice!=null&&(n.bottlePrice=t.bottlePrice),t.containsNuts&&(n.containsNuts=!0),t.abv&&(n.abv=t.abv),t.wineSubsection&&(n.wineSubsection=t.wineSubsection),t.region&&(n.region=t.region),t.flavors?.length&&(n.flavors=[...t.flavors]),n})}function Se(){const s=U.useLoaderData(),{preview:t}=U.useSearch(),n=we(s.fullMenu.fullMenu.items),a="happyHour"in s.fullMenu?s.fullMenu.happyHour:null;return e.jsx(Z,{schedule:a,children:e.jsx(je,{items:n,info:s.barInfo.info,workingPreview:t==="working"})})}export{Se as component};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.