import{u as d,j as s}from"./vendor-BKmmeuxg.js";import{C as a}from"./course-card-1-CTs0r98c.js";import{E as c}from"./exam-card-1-DipFl2wd.js";import{C as m}from"./card-D9_SJYq6.js";import"./button-BpNwv2aE.js";import"./index-WW_1X1qx.js";import"./utils-DxSsnXxD.js";import"./tooltip-BsX7Z6vz.js";import"./badge-AQfLLMpR.js";const N=()=>{const{courseWishlists:i,examWishlists:e,translate:o}=d().props,{frontend:t}=o;return s.jsxs("div",{className:"space-y-6",children:[s.jsxs("div",{children:[s.jsx("h2",{className:"mb-2 text-xl font-semibold",children:"Course Wishlist"}),i&&i.length>0?s.jsx("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 md:grid-cols-2 lg:grid-cols-3",children:i.map(({id:r,course:l})=>s.jsx(a,{course:l,wishlists:i},r))}):s.jsx(m,{className:"flex items-center justify-center p-6",children:s.jsx("p",{children:t.no_wishlist_items})})]}),s.jsxs("div",{children:[s.jsx("h2",{className:"mb-2 text-xl font-semibold",children:"Exam Wishlist"}),e&&e.length>0?s.jsx("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 md:grid-cols-2 lg:grid-cols-3",children:e.map(({id:r,exam:l})=>s.jsx(c,{exam:l,viewType:"grid"},r))}):s.jsx(m,{className:"flex items-center justify-center p-6",children:s.jsx("p",{children:t.no_wishlist_items})})]})]})};export{N as default};
