(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,54338,e=>{"use strict";var t=e.i(171);e.s(["default",0,function(){return(0,t.useAuthContext)()}])},77544,e=>{"use strict";var t=e.i(43476),r=e.i(54338),s=e.i(859),a=e.i(71645);e.s(["default",0,function(){let{clienttoken:e}=(0,r.default)(),[i,l]=(0,a.useState)([]),o=async()=>{try{let t=await (0,s.apiCall)("/clientapi/appointment",{headers:{Authorization:`Bearer ${e}`}});t.data?.success&&l(t.data?.data)}catch(e){console.error("Error fetching stores",e)}};return(0,a.useEffect)(()=>{o()},[]),(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:i.map(e=>(0,t.jsxs)("div",{className:"bg-white border border-gray-100 rounded-2xl p-4 hover:shadow-lg transition",children:[(0,t.jsx)("div",{className:"h-40 bg-gray-100 rounded-xl mb-3 overflow-hidden",children:(0,t.jsx)("img",{src:e.image||"/store-placeholder.jpg",className:"w-full h-full object-cover"})}),(0,t.jsx)("h3",{className:"text-lg font-semibold text-gray-900",children:e.storeName}),(0,t.jsx)("p",{className:"text-sm text-gray-500 mt-1 line-clamp-2",children:e.address}),(0,t.jsx)("button",{className:"mt-4 w-full bg-rose-600 text-white py-2 rounded-xl hover:bg-rose-700 transition",onClick:()=>{},children:"Book Appointment"})]},e._id))})}])}]);