1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[370],{4806:function(e,t,r){Promise.resolve().then(r.bind(r,4892)),Promise.resolve().then(r.bind(r,6750)),Promise.resolve().then(r.bind(r,3322)),Promise.resolve().then(r.t.bind(r,2972,23))},4892:function(e,t,r){"use strict";r.d(t,{default:function(){return l}});var n=r(7437),a=r(8667),s=r(8896),i=r(817);function l(){return(0,n.jsxs)("main",{className:"min-h-screen bg-background",children:[(0,n.jsx)("section",{className:"pt-28 pb-12 sm:pt-36 sm:pb-16",children:(0,n.jsx)("div",{className:"max-w-[900px] mx-auto px-4 text-center",children:(0,n.jsxs)(s.h,{children:[(0,n.jsx)("p",{className:"text-[#005a88] font-bold tracking-[0.15em] uppercase text-sm mb-3",children:"Explore"}),(0,n.jsx)("h1",{className:"font-display text-3xl sm:text-5xl font-bold text-foreground tracking-tight mb-6",children:"Menu"}),(0,n.jsx)("p",{className:"text-muted-foreground text-base sm:text-lg leading-relaxed max-w-3xl mx-auto",children:"Craft 23 Menu: Discover Bangkok's largest selection of craft beers on tap and by the bottle, alongside award-winning food."})]})})}),(0,n.jsx)("section",{className:"pb-12 sm:pb-16",children:(0,n.jsx)("div",{className:"max-w-[1200px] mx-auto px-4",children:(0,n.jsx)(s.h,{children:(0,n.jsxs)(i.Z,{minHeight:790,children:[(0,n.jsx)("div",{style:{width:"100%",maxWidth:"100%",height:790},children:(0,n.jsx)("iframe",{src:"https://www.paperturn-view.com/?pid=ODg8839950&v=1.1&bgcolor=%23FFFFFF&embed=script&shadow=1&flipSound=1&hardCover=1",width:"100%",height:"100%",allowFullScreen:!0,loading:"lazy",style:{border:0,display:"block",backgroundColor:"#FFFFFF"},title:"Craft 23 Menu"})}),(0,n.jsx)(a.default,{src:"https://www.paperturn-view.com/script/embed?v=1",strategy:"lazyOnload"})]})})})}),(0,n.jsx)("section",{className:"pb-20 sm:pb-28",children:(0,n.jsx)("div",{className:"max-w-[1200px] mx-auto px-4 text-center",children:(0,n.jsx)(s.h,{children:(0,n.jsx)("button",{type:"button",onClick:()=>{window.open("https://panthera-group.paperturn-view.com/craft-menu?pid=ODg8839950&v=11.8&p=3","_blank","noopener,noreferrer")},className:"inline-flex items-center justify-center gap-2 px-10 py-4 bg-[#f4b30f] text-[#003558] font-bold uppercase tracking-wider border-2 border-[#003558] shadow-[3px_3px_0_0_rgba(0,53,88,0.25)] hover:bg-[#d99f0a] hover:shadow-[4px_4px_0_0_rgba(0,53,88,0.3)] transition-all font-display cursor-pointer text-base",children:"Open the Menu"})})})})]})}},6750:function(e,t,r){"use strict";r.d(t,{default:function(){return i}});var n=r(7437),a=r(3145);let s="https://craft23new-1fc69.kxcdn.com";function i(e){let{src:t,quality:r,...i}=e,l="string"==typeof t?function({src:e,width:t,quality:r}){return!e.startsWith("/")||e.startsWith("//")?e:/\.(svg|ico)$/i.test(e)?`${s}${e}`:`${s}${e}?width=${t}&format=webp&quality=${r??78}`}({src:t,width:function(e){let t=[];"number"==typeof e.width?t.push(2*e.width):"string"==typeof e.width&&/^\d+$/.test(e.width)&&t.push(2*parseInt(e.width,10));let r="string"==typeof e.sizes?e.sizes:"";if(r){let e=Array.from(r.matchAll(/(\d+(?:\.\d+)?)vw/g)).map(e=>parseFloat(e[1]));e.length&&t.push(Math.round(Math.max(...e)/100*1600));let n=Array.from(r.matchAll(/(\d+(?:\.\d+)?)px/g)).map(e=>parseFloat(e[1]));n.length&&t.push(Math.round(2*Math.max(...n)))}return Math.min(1920,Math.max(320,t.length?Math.max(...t):1600))}(e),quality:"number"==typeof r?r:void 0}):t;return(0,n.jsx)(a.default,{...i,quality:r,src:l})}},817:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var n=r(7437),a=r(2265);function s({children:e,rootMargin:t="300px",minHeight:r,className:s,placeholder:i}){let l=(0,a.useRef)(null),[o,c]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{if(o)return;let e=l.current;if(!e)return;if("undefined"==typeof IntersectionObserver){c(!0);return}let r=new IntersectionObserver(e=>{e.some(e=>e.isIntersecting)&&(c(!0),r.disconnect())},{rootMargin:t});return r.observe(e),()=>r.disconnect()},[o,t]),(0,n.jsx)("div",{ref:l,className:s,style:r?{minHeight:r}:void 0,children:o?e:i??null})}},3322:function(e,t,r){"use strict";r.d(t,{default:function(){return p}});var n=r(7437),a=r(2265),s=r(7648),i=r(6750),l=r(9376),o=r(5095),c=r(429),d=r(2489),f=r(6840);let h=[{href:"/",label:"Home"},{href:"/food",label:"Menu"}],x=[{href:"/gallery",label:"Gallery"},{href:"/contact",label:"Contact"}],u=[...h,...x];function p(){let[e,t]=(0,a.useState)(!1),[r,p]=(0,a.useState)(!1),m=(0,l.usePathname)();(0,a.useEffect)(()=>{let e=()=>p(window.scrollY>50);return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[]),(0,a.useEffect)(()=>{t(!1)},[m]);let b=e=>`px-4 py-2 text-sm font-bold uppercase tracking-wide font-display rounded-md transition-colors ${m===e?"text-[#005a88]":"text-foreground hover:text-[#005a88]"}`;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("nav",{className:`fixed top-0 left-0 right-0 z-40 transition-all duration-300 bg-white/95 backdrop-blur-md border-b border-border ${r?"shadow-md":""}`,children:(0,n.jsx)("div",{className:"max-w-[1200px] mx-auto px-4 sm:px-6 lg:px-8 relative",children:(0,n.jsxs)("div",{className:"flex items-center justify-between h-20 sm:h-24",children:[(0,n.jsx)("div",{className:"hidden md:flex items-center gap-2 flex-1 justify-end",children:h.map(e=>(0,n.jsx)(s.default,{href:e.href,className:b(e.href),children:e.label},e.href))}),(0,n.jsx)(s.default,{href:"/",className:"flex items-center justify-center md:px-8 shrink-0","aria-label":"Craft 23 Bangkok home",children:(0,n.jsx)("div",{className:"relative h-[50px] w-[50px] sm:h-[65px] sm:w-[65px]",children:(0,n.jsx)(i.default,{src:"/brand/craft
1-logo.png",alt:"Craft 23 Bangkok logo",fill:!0,className:"object-contain",sizes:"80px"})})}),(0,n.jsx)("div",{className:"hidden md:flex items-center gap-2 flex-1 justify-start",children:x.map(e=>(0,n.jsx)(s.default,{href:e.href,className:b(e.href),children:e.label},e.href))}),(0,n.jsx)(s.default,{href:"/#reserve",className:"hidden md:inline-flex absolute right-4 sm:right-6 lg:right-8 top-1/2 -translate-y-1/2 px-5 py-2 bg-[#f4b30f] text-[#003558] text-sm font-bold uppercase tracking-wider border-2 border-[#003558] shadow-[2px_2px_0_0_rgba(0,53,88,0.25)] hover:bg-[#d99f0a] transition-all font-display",children:"Reserve"}),(0,n.jsx)("button",{onClick:()=>t(!e),className:"md:hidden p-2 text-foreground hover:text-[#f4b30f] transition-colors","aria-label":"Toggle menu",children:e?(0,n.jsx)(d.Z,{className:"w-6 h-6"}):(0,n.jsx)(f.Z,{className:"w-6 h-6"})})]})})}),(0,n.jsx)(o.M,{children:e&&(0,n.jsx)(c.E.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},className:"fixed inset-0 z-30 bg-white/98 backdrop-blur-md pt-24 md:hidden",children:(0,n.jsxs)("div",{className:"flex flex-col items-center gap-2 p-6",children:[u.map(e=>(0,n.jsx)(s.default,{href:e.href,className:`w-full text-center px-6 py-3 text-lg font-bold uppercase tracking-wide font-display rounded-lg transition-colors ${m===e.href?"text-[#005a88] bg-[#f4b30f]/10":"text-foreground hover:text-[#005a88] hover:bg-black/5"}`,children:e.label},e.href)),(0,n.jsx)(s.default,{href:"/#reserve",className:"w-full text-center mt-4 px-6 py-3 bg-[#f4b30f] text-[#003558] text-lg font-bold uppercase tracking-wider border-2 border-[#003558] shadow-[3px_3px_0_0_rgba(0,53,88,0.25)] hover:bg-[#d99f0a] transition-all font-display",children:"Reserve a Table"})]})})})]})}},8896:function(e,t,r){"use strict";r.d(t,{f:function(){return o},h:function(){return l}});var n=r(7437),a=r(429),s=r(8664),i=r(2265);function l({children:e,className:t="",delay:r=0,direction:i="up"}){let{ref:l,inView:o}=(0,s.YD)({triggerOnce:!0,threshold:.1}),c={up:{x:0,y:40},down:{x:0,y:-40},left:{x:40,y:0},right:{x:-40,y:0}}[i]??{x:0,y:40};return(0,n.jsx)(a.E.div,{ref:l,initial:{opacity:0,x:c.x,y:c.y},animate:o?{opacity:1,x:0,y:0}:{},transition:{duration:.6,delay:r,ease:"easeOut"},className:t,children:e})}function o({value:e,suffix:t="",prefix:r=""}){let{ref:i,inView:l}=(0,s.YD)({triggerOnce:!0,threshold:.3});return(0,n.jsx)(a.E.span,{ref:i,initial:{opacity:0}
1,animate:l?{opacity:1}:{},children:l?(0,n.jsxs)(a.E.span,{children:[r,(0,n.jsx)(c,{target:e}),t]}):(0,n.jsxs)("span",{children:[r,"0",t]})})}function c({target:e}){let{ref:t,inView:r}=(0,s.YD)({triggerOnce:!0});return(0,n.jsx)(a.E.span,{ref:t,initial:{opacity:1},animate:r?{opacity:1}:{},children:(0,n.jsx)(a.E.span,{initial:{opacity:0},animate:r?{opacity:1}:{},transition:{duration:.3},children:(0,n.jsx)(d,{target:e,inView:r})},e)})}function d({target:e,inView:t}){let[r,a]=(0,i.useState)(0);return(0,i.useEffect)(()=>{if(!t)return;let r=0,n=e/100,s=setInterval(()=>{(r+=n)>=e?(a(e),clearInterval(s)):a(Math.floor(r))},20);return()=>clearInterval(s)},[t,e]),(0,n.jsx)(n.Fragment,{children:r})}}},function(e){e.O(0,[216,631,835,971,117,744],function(){return e(e.s=4806)}),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.