(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4173],{8007:function(e,a,t){Promise.resolve().then(t.bind(t,7882))},7882:function(e,a,t){"use strict";t.r(a),t.d(a,{default:function(){return l}});var r=t(7437),n=t(8706),s=t(9204),i=t(2007);function l(){let e=(0,n.T)(),{data:a=[],isLoading:t}=(0,s.Z0)();return t?(0,r.jsx)("div",{className:"text-gray-500",children:e("loading",{defaultValue:"Duke ngarkuar..."})}):(0,r.jsxs)("div",{children:[(0,r.jsx)("h1",{className:"text-2xl font-bold mb-6",children:e("wishlist",{defaultValue:"Lista e Deshirave"})}),0===a.length?(0,r.jsx)("div",{className:"bg-white dark:bg-[#1a1a1a] rounded-xl p-8 shadow-sm text-center text-gray-500",children:e("no_favourites",{defaultValue:"Nuk keni restorante te preferuara."})}):(0,r.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:a.map(e=>{var a;return(0,r.jsx)(i.Z,{restaurant:e,fullWidth:!0},null!==(a=e.id)&&void 0!==a?a:e.restaurantID)})})]})}}},function(e){e.O(0,[8706,3557,2972,5878,6992,4448,2971,2117,1744],function(){return e(e.s=8007)}),_N_E=e.O()}]);