(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3516],{64606:function(e){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getCatalogHomePage"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"catalogTotals"},name:{kind:"Name",value:"getAllCatalogSectionsTotals"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"courses"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"videos"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"skills"},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",alias:{kind:"Name",value:"vendors"},name:{kind:"Name",value:"getAllCatalogVendors"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"slug"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pageTitle"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isVendor"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"h1Copy"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"categoryLogoUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"totals"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"courses"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"videos"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"skills"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"videoSeconds"},arguments:[],directives:[]}]}}]}},{kind:"Field",alias:{kind:"Name",value:"sections"},name:{kind:"Name",value:"getAllCatalogSections"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sortOrder"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sectionIconUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"htmlTitle"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"htmlMetaDescription"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"totals"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"courses"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"videos"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"skills"},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:"marketingCopy"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"courseCategories"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"slug"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pageTitle"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"blogArticles"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"contentUrl"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"youTubeVideos"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"contentUrl"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:576}};i.loc.source={body:"query getCatalogHomePage{catalogTotals:getAllCatalogSectionsTotals{courses videos skills videoSeconds virtualLabs kaplanPracticeExams}vendors:getAllCatalogVendors{id name slug pageTitle isVendor h1Copy categoryLogoUrl totals{courses videos skills videoSeconds}}sections:getAllCatalogSections{id name sortOrder sectionIconUrl htmlTitle htmlMetaDescription totals{courses videos skills videoSeconds virtualLabs kaplanPracticeExams}marketingCopy courseCategories{id name slug pageTitle}blogArticles{id title description contentUrl}youTubeVideos{id title description contentUrl}}}",name:"GraphQL request",locationOffset:{line:1,column:1}};var n={};function a(e,i){for(var n=0;n0;){var l=r;r=new Set,l.forEach(function(e){d.has(e)||(d.add(e),(n[e]||new Set).forEach(function(e){r.add(e)}))})}return d.forEach(function(i){var n=a(e,i);n&&t.definitions.push(n)}),t}(i,"getCatalogHomePage")},43516:function(e,i,n){"use strict";n.r(i),n.d(i,{FreemiumTrainingMarketing:function(){return j},default:function(){return T}});var a=n(67294),t=n(9008),s=n.n(t),d=n(429),r=n(27717),l=n(42085),o=n(71250),c=n(36723),m=n(85893),u=function(e){var i=e.onCatalogToggle,n=e.isExpanded,a=e.courseData;return(0,m.jsx)(o.tX,{children:(0,m.jsxs)(o.Xx,{children:[(0,m.jsxs)(o.Pp,{children:[(0,m.jsx)("span",{children:"Free"})," IT Training"]}),(0,m.jsx)(o.Hm,{children:"Looking for free IT Training? You've come to the right place. Access CBT Nuggets entire training library and learning tools for 7 days. No risk."}),(0,m.jsx)(c.Z,{isFreemium:!1,courseData:a}),(0,m.jsx)(o.cY,{children:(0,m.jsx)(d.Z.ButtonLink.DarkLarge,{href:"/signup",children:"Get started"})}),(0,m.jsx)(o.Ax,{isExpanded:n,children:(0,m.jsxs)(r.Z.StandardLarge,{onClick:i,children:["See the entire training library ",(0,m.jsx)(l.i,{})]})})]})})},v=function(e){var i=e.courseData;return(0,m.jsx)(o.GH,{children:(0,m.jsxs)(o.Xx,{children:[(0,m.jsx)("h3",{children:"Decide not to upgrade? Here's what you'll have access to after 7 days"}),(0,m.jsx)(c.Z,{isFreemium:!0,courseData:i})]})})},k=n(34754),g=n(14704),f=n(33533),N=n(97402),F=n(88174),h=n(21090),p=n(13041),S=function(e){var i=e.path,n=e.catalogData,t=n.loading,s=n.error,d=n.data,r=d.sections,l=d.vendors,o=(0,a.useState)("it-paths"!==(void 0===i?"":i)?0:1),c=o[0],u=o[1],v=null==l?void 0:l.filter(function(e){return e.isVendor}),k=[{title:"Vendors",body:(0,h.o)(v,t)},{title:"IT Paths",body:(0,F.P)(r,t)}];return s?(0,m.jsx)("div",{children:"error"}):(0,m.jsx)(N.LI,{children:(0,m.jsx)(p.F,{loading:t,tabs:k,activeTab:c,setActiveTab:u,size:"large"})})};n(64606),n(29017);var x=n(75845),j=function(e){var i=e.coursesWithSkillData,n=e.courseTotals,t=e.catalogHomeData,d=(0,a.useState)(!1),r=d[0],l=d[1],o="Free IT Training Courses",c="Train on featured IT skills, completely free, from CBT Nuggets. Or register for a free 7 day trial of our IT training subscription.",N="/free-it-training";return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(s(),{children:[(0,m.jsx)("title",{children:o}),(0,m.jsx)("meta",{property:"og:url",content:N},"ogUrl"),(0,m.jsx)("meta",{name:"description",content:c},"description"),(0,m.jsx)("link",{rel:"canonical",href:N},"canonical"),(0,m.jsx)("meta",{property:"og:title",content:o},"ogTitle"),(0,m.jsx)("meta",{property:"og:description",content:"".concat(c)},"ogDescription"),(0,m.jsx)("meta",{name:"twitter:title",content:o},"twitterTitle"),(0,m.jsx)("meta",{name:"twitter:description",content:"".concat(c)},"twitterDescription")]}),(0,m.jsxs)(x.Z,{children:[(0,m.jsx)(u,{courseData:n,isExpanded:r,onCatalogToggle:function(){return l(!r)}}),(0,m.jsxs)(f.B1,{className:r?"":"hidden",children:[(0,m.jsx)(k.P,{isLoggedIn:!1,coursesWithSkillData:i}),(0,m.jsx)(f.OO,{children:(0,m.jsx)(S,{path:"vendors",catalogData:t})})]}),(0,m.jsx)(v,{courseData:n}),r&&(0,m.jsx)(g.Z,{isFreemium:!1})]})]})},T=j}}]);