1import{i as e,h as t,f as r,j as s}from"./react-vendor-DhhIj8It.js";import{C as i,z as a}from"./index-M0heAm9j.js";import"./vendor-B4feaYW4.js";import"./firebase-vendor-COzRcCni.js";function o(){const{slug:o,tableNo:n}=e(),l=t(),{clearCart:d}=i(),{user:c,logout:g}=a(),[h,f]=r.useState(!1);return r.useEffect(()=>{const e=String(n||"").replace(/[^0-9A-Za-z ]/g,"").slice(0,12);try{sessionStorage.setItem("fs_table",e),sessionStorage.setItem("fs_kiosk","1")}catch{}try{null==d||d()}catch{}(async()=>{try{c&&await(null==g?void 0:g())}catch{}f(!0)})()},[o,n]),r.useEffect(()=>{h&&l(`/menu/${o}?table=${encodeURIComponent(n)}`,{replace:!0})},[h,o,n,l]),s.jsx("div",{style:{background:"#141110",minHeight:"100vh",color:"#F7F2EA",display:"grid",placeItems:"center",padding:24},children:s.jsxs("div",{style:{textAlign:"center",maxWidth:420},children:[s.jsx("div",{style:{fontSize:46,marginBottom:10},children:"ð½ï¸"}),s.jsxs("p",{style:{margin:0,fontSize:26,fontWeight:900},children:["Table ",n]}),s.jsx("p",{style:{margin:"10px 0 0",fontSize:15,lineHeight:1.55,color:"rgba(247,242,234,0.6)"},children:"Starting a fresh order for this tableâ¦"}),s.jsx("div",{style:{marginTop:18,height:3,background:"rgba(255,255,255,0.1)",borderRadius:99,overflow:"hidden"},children:s.jsx("div",{style:{height:"100%",width:"45%",background:"#E8220A",borderRadius:99}})})]})})}export{o as default};
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.