(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9195,6779,4597],{56779:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return g}});var r=n(67294),o=r.createContext({});o.displayName="ServerContextContext",n(64687);var i=n(85893),s=n(29555),a=n(19521),c=a.ZP.section.withConfig({displayName:"ErrorMain",componentId:"sc-1cyirqj-0"})(["display:flex;flex-direction:column;justify-content:center;background-color:white;max-width:50rem;margin:0 auto;padding:1rem;padding-top:8rem;text-align:center;height:50vh;min-height:50rem;p{text-align:center;font-size:",";font-weight:400;color:",";&.error-code{margin-top:30px;}}a{text-decoration:none;padding-bottom:1px;color:",";&:hover{text-decoration:underline;}}"],function(e){return e.theme.standardFont},function(e){return e.theme.secondary},function(e){return e.theme.blue}),u=a.ZP.div.withConfig({displayName:"ErrorSvgContainer",componentId:"sc-1cyirqj-1"})(["margin:auto;margin:0;img{max-width:150px;}"]),l=a.ZP.h1.withConfig({displayName:"Title",componentId:"sc-1cyirqj-2"})(["color:#000;text-align:center;font-family:",";font-size:4.8rem;margin:1rem 0 2rem;line-height:5rem;"],function(e){return e.theme.fontFamilyCursive}),d={error404:{image:"/assetshttps://www.cbtnuggets.com/images/errors/404-error.svg",title:"Oh, dang it!",message:'That page was moved or doesn\'t exist anymore. Head to our homepage or chat with Learner Support for help.'},error500:{image:"/assetshttps://www.cbtnuggets.com/images/errors/500-error.svg",title:"Well, that's not good",message:'Something went wrong with one of our servers. Try reloading the page or come back again later. If you need help right away, contact Learner Support.'}},p=function(e,t){return(0,i.jsxs)(r.Fragment,{children:[(0,i.jsx)(u,{children:(0,i.jsx)("img",{src:e.image,alt:""})}),(0,i.jsx)(l,{children:e.title}),(0,i.jsx)("p",{dangerouslySetInnerHTML:{__html:e.message}}),(0,i.jsx)("p",{children:(0,i.jsxs)("strong",{children:["Error Code: ",t]})})]})},g=function(e){var t=e.code,n=r.useContext(o);return t&&n&&n.response&&(n.response.statusCode=t),(0,r.useEffect)(function(){t&&t>399&&t<500&&(0,s.Cp)({status_code:t})},[t]),(0,i.jsx)(c,{children:t&&t>399&&t<500?p(d.error404,t):p(d.error500,t)})}},34730:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var r=n(67294),o=n(5152),i=n.n(o),s=n(32767),a=n(9008),c=n.n(a),u=n(9714),l=JSON.parse('["usama-muneer","inaam-mirza","preview-qa-elements","new-home","loggedin-home","brand-guide","admin-onboarding-hub","homepage-preview","course-retirements","powered-by-adept","blog/technology","study-plans/network-plus-n10-008/no-form","study-plans/cwisa-102/no-form","study-plans/ccnp-enterprise-core-no-form","study-plans/ccnp-enterprise-300-415-ensdwi/no-form","study-plans/f5-big-ip-201-tmos/no-form","study-plans/comptia-aplus-core2/no-form","study-plans/ccnp-security/no-form","study-plans/fortinet-nse7/no-form","study-plans/linux-essentials/no-form","study-plans/devnet-associate/no-form","resource/cisco-config-commands-cheat-sheet-no-form","study-plans/ccnp-security-no-form","cert-guides/security/no-form","certification-guides/azure-no-form","study-plans/ccnp-300-410-enarsi/no-form","study-plans/ccnp-security-300-710-sncf/no-form","study-plans/ccnp-enterprise-300-435-enauto/no-form","study-plans/cwsp-207/no-form","study-plans/linux-plus/no-form","it-training/professional-development","resource/cisco-ios-cli-cheat-sheet-no-form","coaching/survey-feedback","cert-guides/azure-no-form","cert-guides/devops-no-form","contentful-components-resource","study-plans/ccna/no-form","beta-access-cisco-live","resource/cisco-ios-commands-cheat-sheet-no-form","resource/cisco-switch-config-cheat-sheet-no-form","study-plans/(isc)2-sscp/no-form","salary-guides/network-administration/no-form","test-widget-page","design-sandbox","it-training/machine-learning","new-to-it","it-training/red-hat","it-training/comptia","cyber-security"]'),d=new Set(l),p=n(85893),g=function(e){var t,n,o,i=e.entry,s=e.injectKlaviyoScript,a=e.noIndex,l=i.fields,g=l.canonicalUrl,m=l.openGraphTitle,f=l.openGraphImage,h=l.openGraphDescription,y=l.twitterImage,w=l.path,x=l.slug,v=l.title,j=l.pageDescription,b=l.pageTitle,P=l.ogImageLocation,C=(0,r.useCallback)(function(){return f||P?f?"https:".concat(f.fields.file.url,"?fm=jpg&w=1024"):"https://www.cbtnuggets.com".concat(P):"http://www.canuseducation.com/?cert=assetshttps://www.cbtnuggets.com/images/OG_default.png"},[P,f]),_=(0,r.useCallback)(function(){var e;return g&&(null==g?void 0:g.trim())!==""?g:(null==i||null===(e=i.sys)||void 0===e||null===(e=e.contentType)||void 0===e||null===(e=e.sys)||void 0===e?void 0:e.id)==="topic"?"http://www.canuseducation.com/?cert=it-training/".concat(x):"".concat(null!=x?x:w)},[g,i,w,x]),k={slug:null!=x?x:w,ogImage:C(),pageUrl:_(),title:null!==(n=null!==(o=null!=m?m:b)&&void 0!==o?o:v)&&void 0!==n?n:"CBT Nuggets",description:null!=h?h:j,twitterImage:y?"https:".concat(y.fields.file.url,"?fm=jpg&w=1024"):C()},O=(0,r.useMemo)(function(){return["how-long-to-study","cert-guides","resource","configuration-guides","cert-class","events"].some(function(e){return k.slug.split("/").includes(e)})},[k.slug]),S=(0,r.useState)(!1),I=S[0],T=S[1];return(0,r.useEffect)(function(){T((0,u.gs)("marketing"));var e=function(e){T(!0===e.detail.marketing)};return window.addEventListener("cbt_consent_update",e),function(){window.removeEventListener("cbt_consent_update",e)}},[]),(0,p.jsxs)(c(),{children:[(0,p.jsx)("title",{children:k.title},"title"),(0,p.jsx)("meta",{name:"description",content:k.description},"description"),(0,p.jsx)("link",{rel:"canonical",href:k.pageUrl},"canonical"),(0,p.jsx)("meta",{property:"og:title",content:k.title},"ogTitle"),(0,p.jsx)("meta",{property:"og:url",content:k.pageUrl},"ogUrl"),(0,p.jsx)("meta",{property:"og:image",content:k.ogImage},"ogImage"),(0,p.jsx)("meta",{property:"og:description",content:k.description},"ogDescription"),(0,p.jsx)("meta",{property:"og:type",content:"website"},"ogType"),(0,p.jsx)("meta",{name:"twitter:site",content:"@CBTNuggets"},"twitterSite"),(0,p.jsx)("meta",{name:"twitter:creator",content:"@CBTNuggets"},"twitterCreator"),(0,p.jsx)("meta",{name:"twitter:image",content:k.twitterImage},"twitterImage"),(0,p.jsx)("meta",{name:"twitter:card",content:"summary_large_image"},"twitterCard"),(void 0!==a&&a||!!(t=null!=x?x:w)&&d.has(t))&&(0,p.jsx)("meta",{name:"robots",content:"noindex, nofollow"},"robots"),I&&(O||void 0!==s&&s)&&(0,p.jsx)("script",{defer:!0,src:"https://static.klaviyo.com/onsitehttps://www.cbtnuggets.com/js/klaviyo.js?company_id=UzuaHr"})]})},m=i()(function(){return Promise.all([n.e(3148),n.e(9471),n.e(5675),n.e(7265),n.e(1345),n.e(2679),n.e(9789),n.e(5680),n.e(1953),n.e(6835),n.e(3418),n.e(3594),n.e(2746)]).then(n.bind(n,62746))},{loadableGenerated:{webpack:function(){return[62746]}}}),f=i()(function(){return Promise.all([n.e(3148),n.e(9471),n.e(5675),n.e(1345),n.e(2679),n.e(9789),n.e(5680),n.e(3418),n.e(3594),n.e(5043)]).then(n.bind(n,75043))},{loadableGenerated:{webpack:function(){return[75043]}}}),h=i()(function(){return Promise.all([n.e(3148),n.e(9471),n.e(5675),n.e(1345),n.e(2679),n.e(9789),n.e(5680),n.e(3418),n.e(3594),n.e(4859)]).then(n.bind(n,84859))},{loadableGenerated:{webpack:function(){return[84859]}}}),y=i()(function(){return Promise.all([n.e(3148),n.e(9471),n.e(5675),n.e(1345),n.e(2679),n.e(9789),n.e(5680),n.e(3418),n.e(3594),n.e(8292)]).then(n.bind(n,78292))},{loadableGenerated:{webpack:function(){return[78292]}}}),w=function(e){var t=e.entry,n=e.injectKlaviyoScript,o=e.noIndex,i=t.sys.contentType.sys.id,a=(0,r.useMemo)(function(){switch(i){case s.L.DirectoryPage:return(0,p.jsx)(m,{entry:t});case s.L.TopicPage:return(0,p.jsx)(h,{entry:t});case s.L.CourseCategoryPage:return(0,p.jsx)(y,{entry:t});case s.L.SectionBasedPage:default:return(0,p.jsx)(f,{entry:t})}},[i,t]);return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(g,{entry:t,injectKlaviyoScript:void 0!==n&&n,noIndex:void 0!==o&&o}),a]})}},32767:function(e,t,n){"use strict";n.d(t,{L:function(){return o}});var r,o=((r={}).DirectoryPage="directoryPage",r.SectionBasedPage="sectionBasedPage",r.CourseCategoryPage="courseCategoryPage",r.TopicPage="topic",r)},64597:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}}),n(67294);var r=n(19521).ZP.section.withConfig({displayName:"StyledPageLayout",componentId:"sc-nf0hrl-0"})(["max-width:",";margin:0 auto;padding:2rem 2.4rem 2rem 2.4rem;"],function(e){return e.theme.siteContentReducedWidth}),o=n(85893),i=function(e){var t=e.children;return(0,o.jsx)(r,{children:t})}},41481:function(e,t,n){"use strict";n.d(t,{s:function(){return l}});var r=n(72198),o=n(32393),i=n(23221),s=n(77243),a=n(63144),c=n.n(a),u=n(33811);function l(){var e=new r.u({uri:"https://api.cbtnuggets.com/catalog/v1/graphql",credentials:"same-origin",fetch:c()}),t=new o.h;if((0,u.Nq)()){var n=[e];return new i.f({link:(0,s.D)(n),cache:t,ssrMode:!0})}return new i.f({link:e,cache:t,ssrMode:!0})}},88395:function(e,t,n){"use strict";n.d(t,{C:function(){return c}});var r=n(59499);n(67294);var o=n(53768),i=n(41481),s=n(85893);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}var c=function(e){return function(t){return(0,s.jsx)(o.e,{client:(0,i.s)(),children:(0,s.jsx)(e,function(e){for(var t=1;t