(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2288],{76430:function(e){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getCatalogCoursesBySlugs"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"slugs"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"courses"},name:{kind:"Name",value:"getCatalogCoursesBySlugs"},arguments:[{kind:"Argument",name:{kind:"Name",value:"slugs"},value:{kind:"Variable",name:{kind:"Name",value:"slugs"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"h1Title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"playlistTitle"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"slug"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"publicViewLink"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"learnLink"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"level"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isNew"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"releaseDate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isAdeptOnly"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"trainers"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"totals"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"videos"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"videoSeconds"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"virtualLabs"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"kaplanPracticeExams"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"skills"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:271}};n.loc.source={body:"query getCatalogCoursesBySlugs($slugs:[String]!){courses:getCatalogCoursesBySlugs(slugs:$slugs){h1Title name playlistTitle slug publicViewLink learnLink level isNew releaseDate isAdeptOnly trainers{name}totals{videos videoSeconds virtualLabs kaplanPracticeExams skills}}}",name:"GraphQL request",locationOffset:{line:1,column:1}};var i={};function t(e,n){for(var i=0;i0;){var l=o;o=new Set,l.forEach(function(e){a.has(e)||(a.add(e),(i[e]||new Set).forEach(function(e){o.add(e)}))})}return a.forEach(function(n){var i=t(e,n);i&&r.definitions.push(i)}),r}(n,"getCatalogCoursesBySlugs")},87984:function(e,n,i){"use strict";i.d(n,{y:function(){return s}});var t=i(19521),r=(0,t.iv)(["opacity:0.5;background:",";"],function(e){return e.theme.transparentHover}),s=t.ZP.button.withConfig({displayName:"StyledAddToBookshelfButton",componentId:"sc-x1jszb-0"})(["background:transparent;border:0rem solid ",";height:4rem;width:4rem;cursor:pointer;display:flex;justify-content:center;align-items:center;",";&:hover{background:",";}"],function(e){return e.borderColor},function(e){return e.disabled?r:""},function(e){return e.theme.transparentHover})},28518:function(e,n,i){"use strict";i.d(n,{DW:function(){return a},Ov:function(){return l},P0:function(){return m},PL:function(){return u},Si:function(){return g},V3:function(){return d},iX:function(){return f},lH:function(){return c},n$:function(){return o}});var t=i(19521),r=i(87984),s=i(53418),a=t.ZP.article.withConfig({displayName:"CatalogListSectionWrapper",componentId:"sc-jykicz-0"})(["position:relative;max-width:",";margin:0 auto;padding:4rem 3.5rem;overflow:hidden;@media only screen and (max-width:","){padding:4rem 0;}"],function(e){return e.theme.breakpoints.desktop930},function(e){return e.theme.breakpoints.desktop930}),o=t.ZP.div.withConfig({displayName:"CatalogListHeader",componentId:"sc-jykicz-1"})(["p{font-size:",";margin:0;margin-bottom:4.8rem;}"],function(e){return e.theme.fonts.textLarge}),l=t.ZP.ul.withConfig({displayName:"CatalogList",componentId:"sc-jykicz-2"})(["border-bottom:1px solid ",";display:flex;flex-direction:column;margin:0;padding:0;"],function(e){return e.theme.colors.greyBorder}),c=t.ZP.li.withConfig({displayName:"CatalogListItemStyle",componentId:"sc-jykicz-3"})(["border-top:1px solid ",";padding:2rem 0;list-style:none;margin:0;display:flex;flex-direction:column;align-items:flex-start;","{margin-right:1.4rem;}"],function(e){return e.theme.colors.greyBorder},r.y),d=(0,t.ZP)(s.l7).withConfig({displayName:"CatalogLink",componentId:"sc-jykicz-4"})(["font-size:2.2rem;font-weight:600;margin-bottom:1.4rem;"]),u=t.ZP.ul.withConfig({displayName:"CatalogStatContainer",componentId:"sc-jykicz-5"})(["display:flex;flex-wrap:wrap;list-style:none;margin:0;padding:0;@media only screen and (max-width:","){flex-direction:column;align-items:flex-start;}"],function(e){return e.theme.breakpoints.smphone}),m=t.ZP.li.withConfig({displayName:"CatalogStat",componentId:"sc-jykicz-6"})(["color:",";white-space:nowrap;font-size:",";text-transform:inherit;padding-top:0;padding-right:2rem;padding-bottom:0.4rem;"],function(e){return e.theme.secondary},function(e){return e.theme.standardFont}),g=t.ZP.p.withConfig({displayName:"CatalogListCtaText",componentId:"sc-jykicz-7"})(["font-size:",";font-weight:600;margin-top:4.8rem;margin-bottom:3.2rem;"],function(e){return e.theme.largeFont}),f=t.ZP.span.withConfig({displayName:"TrainerNames",componentId:"sc-jykicz-8"})(["white-space:normal;"])},82288:function(e,n,i){"use strict";i.r(n),i.d(n,{CatalogListSection:function(){return b},default:function(){return j}});var t=i(59499);i(67294);var r=i(12549),s=i(28518),a=i(21900),o=i(71641),l=i(67042),c=i(76430),d=i.n(c),u=i(40157),m=i(85893),g=function(e){var n=e.course,i=e.courseColumns,t=n.h1Title,r=n.publicViewLink,a=n.trainers,o=n.totals,l=n.level,c=n.isNew,d=o.videoSeconds,g=o.videos,f=o.virtualLabs,h=o.kaplanPracticeExams,p=o.skills,v=a.map(function(e){return e.name}),k=d?(0,m.jsx)(u.Rc,{seconds:d}):null;return(0,m.jsxs)(s.lH,{children:[(0,m.jsx)(s.V3,{ssrLink:!0,href:"/it-training/[category]/[course]",renderAs:r,children:t}),c&&(0,m.jsx)("span",{children:" - NEW"}),(0,m.jsxs)(s.PL,{children:[i.includes("videos")&&(0,m.jsxs)(s.P0,{children:[g," video",1!==g?"s":""]}),i.includes("level")&&(0,m.jsx)(s.P0,{children:l}),i.includes("length")&&k,i.includes("skills")&&(0,m.jsxs)(s.P0,{children:[p," skill",1!==p?"s":""]}),i.includes("labs")&&(0,m.jsxs)(s.P0,{children:[f," virtual lab",1!==f?"s":""]}),i.includes("exams")&&(0,m.jsxs)(s.P0,{children:[h," practice exam",1!==h?"s":""]}),i.includes("trainers")&&(0,m.jsx)(s.P0,{children:(0,m.jsxs)(s.iX,{children:["Trainer",1!==v.length?"s":"",": ",v.join(", ")]})})]})]})},f=function(e){var n=e.courseSlugs,i=e.courseColumns,t=void 0===i?[]:i,r=(0,o.a)(d(),{variables:{slugs:void 0===n?[]:n},errorPolicy:"all"}),a=r.loading,c=r.error,u=r.data;return(c&&(0,l.jl)().error("Unable to load course data for CatalogListSection component",c),a||c)?null:(0,m.jsx)(s.Ov,{children:u.courses.map(function(e){var n=e.slug;return(0,m.jsx)(g,{course:e,courseColumns:t},n)})})},h=i(70440),p=i(15584),v=function(e){var n=e.courseSlugs,i=e.courseColumns,t=(0,o.a)(d(),{variables:{slugs:void 0===n?[]:n},errorPolicy:"all"}),r=t.loading,s=t.error,a=t.data,c=null==a?void 0:a.courses;return(s&&(0,l.jl)().error("Unable to load course data for CatalogListSection component",s),r||s)?null:(0,m.jsxs)(h.Table,{children:[(0,m.jsx)("thead",{children:(0,m.jsxs)("tr",{children:[(0,m.jsx)(h.Table.TH,{children:"Course"}),i.includes("level")&&(0,m.jsx)(h.Table.TH,{children:"Level"}),i.includes("video")&&(0,m.jsx)(h.Table.TH,{children:"Videos"}),i.includes("length")&&(0,m.jsx)(h.Table.TH,{children:"Length"}),i.includes("labs")&&(0,m.jsx)(h.Table.TH,{children:"Labs"}),i.includes("exams")&&(0,m.jsx)(h.Table.TH,{children:"Practice Exams"}),i.includes("skills")&&(0,m.jsx)(h.Table.TH,{children:"Skills"}),i.includes("trainers")&&(0,m.jsx)(h.Table.TH,{children:"Trainers"})]})}),(0,m.jsx)("tbody",{children:c.map(function(e){var n=e.slug,t=e.playlistTitle,r=e.publicViewLink,s=e.trainers,a=e.level,o=e.isNew,l=e.totals,c=e.releaseDate,d=l.videos,u=l.videoSeconds,g=l.virtualLabs,f=l.kaplanPracticeExams,h=l.skills,v=s.map(function(e){return e.name});return(0,m.jsxs)("tr",{children:[(0,m.jsxs)("td",{className:"course-title",children:[(0,m.jsx)("a",{href:r,children:t}),o&&c&&(0,m.jsx)("span",{children:" - NEW"})]}),i.includes("level")&&(0,m.jsx)("td",{className:"course-level",children:null!=a?a:"n/a"}),i.includes("video")&&(0,m.jsx)("td",{className:"course-videos",children:d}),i.includes("length")&&(0,m.jsx)("td",{className:"course-time",children:(0,p.CY)(u)}),i.includes("labs")&&(0,m.jsx)("td",{className:"course-labs",children:g}),i.includes("exams")&&(0,m.jsx)("td",{className:"course-exams",children:f}),i.includes("skills")&&(0,m.jsx)("td",{className:"course-skills",children:h}),i.includes("trainers")&&(0,m.jsx)("td",{className:"course-trainers",children:v.join(", ")})]},n)})})]})},k=i(45197),x=function(e){var n=e.entry,i=e.isDarkBackground;return(0,m.jsx)(k.CtaButton,{fields:n.fields,isDarkBackground:void 0!==i&&i})};function y(e,n){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),i.push.apply(i,t)}return i}var b=function(e){var n=e.entry.fields,i=n.title,o=n.subTitle,l=n.headerLogo,c=n.courseSlugs,d=n.ctaButtons,u=n.ctaText,g=n.slug,h=n.layoutStyle,p=n.courseColumns,k=void 0===p?[]:p,b=function(e){for(var n=1;n0;return(0,m.jsxs)(s.DW,{children:[(0,m.jsxs)(s.n$,{children:[l&&(0,m.jsx)(r.Z,{src:b,alt:"",role:"presentation"}),i&&(0,m.jsx)("h2",{children:i}),o?(0,m.jsx)("p",{className:"lead",children:o}):null]}),j&&("table"!==(void 0===h?"list":h)?(0,m.jsx)(f,{courseSlugs:c,courseColumns:k}):(0,m.jsx)(v,{courseSlugs:c,courseColumns:k})),u?(0,m.jsx)(s.Si,{children:u}):null,(void 0===d?[]:d).map(function(e,n){return(0,m.jsx)(x,{entry:e},"cta-".concat(g,"-").concat(n))})]})},j=b},40157:function(e,n,i){"use strict";i.d(n,{Rc:function(){return a},pU:function(){return o}}),i(67294);var t=i(15584),r=i(15103),s=i(85893),a=function(e){var n=e.seconds;if("number"!=typeof n)return null;var i=(0,t.CY)(n);return(0,s.jsx)(r.t7,{children:i})},o=function(e){var n=e.totals,i=e.courseType;if(!n)return null;var t=n.skills&&n.skills>0?(0,s.jsx)(r.t7,{children:"".concat(n.skills," skill").concat(n.skills>1?"s":"")}):null,o=n.virtualLabs&&n.virtualLabs>0?(0,s.jsx)(r.t7,{children:"".concat(n.virtualLabs," Virtual lab").concat(n.virtualLabs>1?"s":"")}):null,l=n.kaplanPracticeExams&&n.kaplanPracticeExams>0?(0,s.jsx)(r.t7,{children:"".concat(n.kaplanPracticeExams," Practice exam").concat(n.kaplanPracticeExams>1?"s":"")}):null,c=n.videoSeconds?(0,s.jsx)(a,{seconds:n.videoSeconds}):null;return(0,s.jsxs)(r.oR,{children:[(0,s.jsx)(r.t7,{isPill:!0,children:i}),t,c,o,l]})}},15103:function(e,n,i){"use strict";i.d(n,{$U:function(){return c},D7:function(){return m},OP:function(){return l},Vl:function(){return g},cQ:function(){return u},g:function(){return k},hx:function(){return f},oR:function(){return h},pf:function(){return d},t7:function(){return p},tm:function(){return v},uC:function(){return o}});var t=i(19521),r=i(10637),s=i(21161),a=i(87984),o=t.ZP.section.withConfig({displayName:"CatalogContainer",componentId:"sc-chx1g2-0"})([""]),l=t.ZP.header.withConfig({displayName:"LayoutHero",componentId:"sc-chx1g2-1"})(["display:flex;"]);t.ZP.article.withConfig({displayName:"LayoutTopTotals",componentId:"sc-chx1g2-2"})(["margin:2rem auto;max-width:",";"],function(e){return e.theme.desktop1200});var c=t.ZP.section.withConfig({displayName:"LayoutCourses",componentId:"sc-chx1g2-3"})(["max-width:",";margin:0 auto;margin-bottom:2rem;padding:1rem 4rem 0;"],function(e){return e.theme.desktop990}),d=t.ZP.div.withConfig({displayName:"CoursesContainer",componentId:"sc-chx1g2-4"})(["border-top:1px solid ",";display:flex;flex-direction:column;"],function(e){return e.theme.greyBorder}),u=t.ZP.ul.withConfig({displayName:"CourseList",componentId:"sc-chx1g2-5"})(["border-bottom:1px solid ",";display:flex;flex-direction:column;margin:0;padding:0;"],function(e){return e.theme.greyBorder}),m=t.ZP.li.withConfig({displayName:"CourseListItem",componentId:"sc-chx1g2-6"})(["border-top:1px solid ",";padding:2rem 0;list-style:none;margin:0;display:flex;align-items:flex-start;","{margin-right:1.4rem;}"],function(e){return e.theme.greyBorder},a.y),g=t.ZP.div.withConfig({displayName:"CourseTitle",componentId:"sc-chx1g2-7"})(["display:flex;flex-wrap:wrap;align-items:center;line-height:3.6rem;min-height:3.6rem;"]),f=(0,t.ZP)(r.l).withConfig({displayName:"CourseLink",componentId:"sc-chx1g2-8"})(["font-size:2.2rem;font-weight:600;line-height:2.4rem;display:inline-block;margin-right:1rem;"]),h=t.ZP.section.withConfig({displayName:"CourseStatContainer",componentId:"sc-chx1g2-9"})(["display:flex;align-items:center;flex-wrap:wrap;"]),p=t.ZP.span.withConfig({displayName:"CourseStat",componentId:"sc-chx1g2-10"})(["color:",";white-space:nowrap;font-size:",";text-transform:",";padding-top:",";padding-right:2rem;padding-bottom:0.4rem;"],function(e){return e.theme.secondary},function(e){return e.isPill?e.theme.smallFont:e.theme.standardFont},function(e){return e.isPill?"uppercase":"inherit"},function(e){return e.isPill?"0.2rem":0});t.ZP.section.withConfig({displayName:"CategoryNavigation",componentId:"sc-chx1g2-11"})(["max-width:",";position:relative;margin:0 auto;margin-bottom:2rem;padding:0 4rem;"],function(e){return e.theme.desktop990});var v=t.ZP.h2.withConfig({displayName:"CertificationLevelHeader",componentId:"sc-chx1g2-12"})(["font-size:2.6rem;"]),k=(0,t.ZP)(s.PS).withConfig({displayName:"StyledNewTag",componentId:"sc-chx1g2-13"})(["margin-right:1rem;"])},15584:function(e,n,i){"use strict";function t(e){var n=Math.floor((e=Number(e))/3600),i=Math.floor(e%3600/60),t=Math.floor(e%3600%60);return{hours:n,minutes:i,seconds:t,display:{hours:n>0?n+(1==n?" hour ":" hours "):"",minutes:i>0?i+(1==i?" minute ":" minutes "):"",seconds:t>0?t+(1==t?" second":" seconds"):""}}}function r(e){var n=t(e),i=n.hours&&n.hours>0?"".concat(n.hours," hr").concat(n.hours>1?"s":""):"",r=n.minutes&&n.minutes>0?"".concat(n.minutes," min").concat(n.minutes>1?"s":""):"";return 0===n.hours&&0===n.minutes?n.seconds&&n.seconds>0?"1 min":null:"".concat(i," ").concat(r)}function s(e){var n=t(e),i=n.hours>0?"".concat(n.hours.toLocaleString("en-US",{minimumIntegerDigits:2}),":"):"",r="".concat(n.minutes.toLocaleString("en-US",{minimumIntegerDigits:n.hours>0?2:1})),s="".concat(n.seconds.toLocaleString("en-US",{minimumIntegerDigits:2}));return"".concat(i).concat(r,":").concat(s)}i.d(n,{CY:function(){return r},qQ:function(){return s},qt:function(){return t}})}}]);