(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[769],{14597:(e,r,s)=>{Promise.resolve().then(s.bind(s,76158))},76158:(e,r,s)=>{"use strict";s.r(r),s.d(r,{default:()=>x});var t=s(95155),n=s(73321),a=s(98500),l=s.n(a),d=s(80723),i=s(40987),c=s(13503),o=s(89876),m=s(39889);function x(){let e=(0,n.useRouter)(),r=(0,o.x)(e=>e.items),s=(0,o.x)(e=>e.branchId),a=(0,m.C)(e=>e.branches).find(e=>String(e.id)===s);return(0,t.jsxs)("div",{className:"min-h-screen bg-background",children:[(0,t.jsx)("header",{className:"sticky top-0 z-40 border-b border-border bg-background/95 backdrop-blur-sm",children:(0,t.jsxs)("div",{className:"max-w-3xl mx-auto px-4 py-4 flex items-center gap-3",children:[(0,t.jsx)("button",{onClick:()=>e.back(),className:"flex h-9 w-9 items-center justify-center rounded-full border border-border hover:bg-muted transition-colors",children:(0,t.jsx)(d.A,{className:"h-4 w-4"})}),(0,t.jsx)("h1",{className:"font-bold text-foreground text-lg",children:"My Basket"})]})}),(0,t.jsx)("main",{className:"max-w-3xl mx-auto px-4 py-8",children:0===r.length?(0,t.jsxs)("div",{className:"flex flex-col items-center justify-center py-20 text-center",children:[(0,t.jsx)("div",{className:"mb-6 flex h-20 w-20 items-center justify-center rounded-full bg-muted",children:(0,t.jsx)(i.A,{className:"h-10 w-10 text-muted-foreground"})}),(0,t.jsx)("h2",{className:"text-2xl font-bold text-foreground mb-2",children:"Your basket is empty"}),(0,t.jsx)("p",{className:"text-foreground/50 mb-6",children:"Add items from a restaurant to get started"}),(0,t.jsx)(l(),{href:"/",className:"rounded-xl bg-primary px-8 py-3 text-sm font-semibold text-white hover:bg-primary/90 transition-colors",children:"Browse Restaurants"})]}):(0,t.jsx)("div",{className:"flex justify-center",children:(0,t.jsx)(c.z,{deliveryFee:a?.delivery_charges,minimumOrder:a?.minimum_order,openTime:a?.open_time})})})]})}}},e=>{e.O(0,[401,756,772,726,503,441,794,358],()=>e(e.s=14597)),_N_E=e.O()}]);