"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8152],{48152:function(e,i,n){n.r(i),n.d(i,{default:function(){return l}}),n(67294);var t=n(87379),o=t.ZP.div.withConfig({displayName:"StyledRecommendedCoursesSection",componentId:"sc-mimy6m-0"})(["margin-top:4rem;"]),r=t.ZP.div.withConfig({displayName:"StyledRecommendedCoursesSectionTitle",componentId:"sc-mimy6m-1"})(["font-weight:bold;"]),d=t.ZP.div.withConfig({displayName:"StyledRecommendedCoursesContainer",componentId:"sc-mimy6m-2"})(["margin-top:1rem;display:flex;gap:1rem;flex-direction:",";@media only screen and (max-width:","){flex-direction:column;}"],function(e){return e["flex-direction"]?e["flex-direction"]:"row"},function(e){return e.theme.tablet}),c=t.ZP.div.withConfig({displayName:"StyledCourseContainer",componentId:"sc-mimy6m-3"})(["background:",";position:relative;margin-top:1rem;border-radius:1rem;padding:2rem;width:",";max-width:284px;display:flex;align-items:center;text-decoration:underline;line-height:2.2rem;@media only screen and (max-width:","){width:100%;max-width:100%;}"],function(e){return e["background-color"]?e["background-color"]:"#eff2f7"},function(e){return"row"===e["flex-direction"]?"33%":"100%"},function(e){return e.theme.tablet});t.ZP.div.withConfig({displayName:"IconContainer",componentId:"sc-mimy6m-4"})(["position:absolute;top:1rem;right:1rem;"]);var m=t.ZP.a.withConfig({displayName:"StyledLink",componentId:"sc-mimy6m-5"})(["color:inherit;"]),a=n(85893),l=function(e){var i=e.recommendedCourses,n=e.title,t=e.flexDirection,l=void 0===t?"row":t,s=e.background,u=void 0===s?"#eff2f7":s;return(0,a.jsxs)(o,{children:[(0,a.jsx)(r,{children:void 0===n?"Related Courses":n}),(0,a.jsx)(d,{"flex-direction":l,children:i.map(function(e,i){var n=e.playlistTitle,t=e.slug,o=e.courseCategories;return(0,a.jsx)(c,{"flex-direction":l,"background-color":u,children:(0,a.jsx)(m,{href:o.length>0?"/it-training/".concat(o[0].slug,"/").concat(t):"/it-training/course/".concat(t),children:n})},i)})})]})}}}]);