(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9916,2410,6779,5043],{56779:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return m}});var r=n(67294),i=r.createContext({});i.displayName="ServerContextContext",n(64687);var o=n(85893),a=n(87379),l=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}),c=a.ZP.div.withConfig({displayName:"ErrorSvgContainer",componentId:"sc-1cyirqj-1"})(["margin:auto;margin:0;img{max-width:150px;}"]),d=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}),s={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.'}},u=function(e,t){return(0,o.jsxs)(r.Fragment,{children:[(0,o.jsx)(c,{children:(0,o.jsx)("img",{src:e.image,alt:""})}),(0,o.jsx)(d,{children:e.title}),(0,o.jsx)("p",{dangerouslySetInnerHTML:{__html:e.message}}),(0,o.jsx)("p",{children:(0,o.jsxs)("strong",{children:["Error Code: ",t]})})]})},m=function(e){var t=e.code,n=r.useContext(i);return t&&n&&n.response&&(n.response.statusCode=t),(0,o.jsx)(l,{children:t&&t>399&&t<500?u(s.error404,t):u(s.error500,t)})}},19265:function(e,t,n){"use strict";n.d(t,{O:function(){return d},P5:function(){return u},dK:function(){return s}}),n(67294);var r=n(87379),i=n(88611),o=n(85893),a=function(e){var t=e.fontSize,n=e.rowSpacing;return n?n+"rem":t?.67*t+"rem":"1rem"},l=function(e){var t=e.maxWidth,n=e.short;return t&&n?.7*t+"rem":n?"70%":"100%"},c=r.ZP.div.withConfig({displayName:"Row",componentId:"sc-1kbgh0y-0"})(["width:",";height:",";",";margin-bottom:",";max-width:",";"],function(e){return l({short:e.short,maxWidth:e.maxWidth})},function(e){return e.fontSize?e.fontSize+"rem":"1.2rem"},i.f,function(e){return a({fontSize:e.fontSize,rowSpacing:e.rowSpacing})},function(e){return e.maxWidth?e.maxWidth+"rem":"none"}),d=r.ZP.div.withConfig({displayName:"RectanglePlaceholder",componentId:"sc-1kbgh0y-1"})(["width:",";height:",";",";margin-bottom:",";max-width:",";"],function(e){return e.width?e.width+"rem":0},function(e){return e.height+"rem"},i.f,function(e){return e.marginBottom?e.marginBottom+"rem":0},function(e){return e.maxWidth?e.maxWidth:"100%"}),s=r.ZP.div.withConfig({displayName:"ButtonPlaceholder",componentId:"sc-1kbgh0y-2"})(["width:",";height:",";",";margin-bottom:",";border-radius:",";"],function(e){return e.width?e.width+"rem":0},function(e){return e.height+"rem"},i.f,function(e){return e.marginBottom?e.marginBottom+"rem":0},function(e){return e.height+"rem"}),u=function(e){for(var t=e.rows,n=void 0===t?1:t,r=e.fontSize,i=e.maxWidth,a=e.rowSpacing,l=[],d=0;d1&&void 0!==arguments[1]?arguments[1]:{},n=t.maxDepth,m=void 0===n?25:n,p={};return function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if((0,i.Z)(["Entry","Asset"],null==t||null===(h=t.sys)||void 0===h?void 0:h.type)){var h,f,g,v,y,b,x,w,j,O,P=t.sys,k=P.id,I=P.createdAt,C=P.updatedAt,S=P.type;if(p[k])return p[k];if(p[k]={},n>=m)return console.debug("Reached max transformation depth:",m),k;var N={id:k,createdAt:I,updatedAt:C};"Entry"===S&&(N.contentType=null===(f=t.sys.contentType)||void 0===f||null===(f=f.sys)||void 0===f?void 0:f.id);var Z=function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"en-US",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r;return new Date(e).toLocaleDateString(t,n)},o=function(e){return new Date(e)>new Date}},26480:function(e,t,n){"use strict";n.d(t,{A_:function(){return o},uF:function(){return i}});var r=n(33811),i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(e&&(0,r.Nq)()){var n=document.body.getBoundingClientRect().top,i=e.getBoundingClientRect().top;window.scrollTo({top:i-n-t,behavior:"smooth"})}},o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"contact-form";e&&i(document.getElementById(e),50)};t.ZP=function(e){e&&e.scrollIntoView({behavior:"smooth",block:"center"})}},58700:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return tc},default:function(){return td}});var r,i=n(67294),o=n(9008),a=n.n(o),l=n(87379),c=n(5152),d=n.n(c),s=n(56779),u=n(31289),m=n(4813),p=n(59499),h=n(23613),f=n(65361),g=n(85893);function v(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}function y(e){for(var t=1;t(function(a,b,c,d){window.fetch("https://www.g2.com/products/cbt-nuggets/rating_schema.json").then(e=>e.json()).then(f=>{c=a.createElement(b);c.type="application/ld+json";c.text=JSON.stringify(f);d=a.getElementsByTagName(b)[0];d.parentNode.insertBefore(c,d);});})(document,"script");\n '}})]})]}):(0,g.jsx)(O.IS,{arrowSize:"2rem",href:"/customer-reviews",children:"See training reviews"})})})]})},e0=n(41481),e1=n(53768),e2=n(81612),e6=n(75043),e5=d()(function(){return Promise.all([n.e(7042),n.e(8870),n.e(6693),n.e(1161),n.e(4888),n.e(4001)]).then(n.bind(n,86883))},{loadableGenerated:{webpack:function(){return[86883]}}}),e3=l.ZP.div.withConfig({displayName:"PageContainer",componentId:"sc-xsa3mg-0"})(["overflow-x:clip;margin-bottom:42px;"]),e4=(0,l.iv)(["display:grid;grid-template-columns:2fr 1fr;max-width:140rem;@media (max-width:768px){grid-template-columns:1fr;grid-template-rows:auto;padding:0 3rem;}"]),e7=(0,l.iv)(["display:flex;flex-direction:column;max-width:1200px;"]),e8=l.ZP.div.withConfig({displayName:"PageGrid",componentId:"sc-xsa3mg-1"})(["gap:0 3rem;padding:0 8rem;margin:0 auto;position:relative;",";> *{z-index:1;}"],function(e){return e.$retiredCourse?e7:e4}),e9=(0,l.iv)(["position:relative;&:before{content:'';position:absolute;inset:0 -100vw;background-color:",";z-index:-1;}"],function(e){return e.theme.greyLight}),te=l.ZP.div.withConfig({displayName:"HeroCell",componentId:"sc-xsa3mg-2"})(["padding-bottom:4rem;",""],e9),tt=l.ZP.div.withConfig({displayName:"SubscriptionWidgetCell",componentId:"sc-xsa3mg-3"})(["padding-top:4rem;grid-column-start:2;grid-row-end:span 4;z-index:2;position:sticky;position:-webkit-sticky;align-self:start;top:3.5rem;@media (max-width:768px){padding-top:0;padding-bottom:4rem;grid-column-start:auto;grid-row-end:auto;","}"],e9),tn=l.ZP.div.withConfig({displayName:"ContentCell",componentId:"sc-xsa3mg-4"})([""]),tr=l.ZP.div.withConfig({displayName:"SkillsLearnedContainer",componentId:"sc-xsa3mg-5"})([""," &:before{bottom:50%;}"],e9),ti=l.ZP.div.withConfig({displayName:"LearnerContainer",componentId:"sc-xsa3mg-6"})(["",""],e9),to=l.ZP.nav.withConfig({displayName:"BreadCrumbWrapper",componentId:"sc-xsa3mg-7"})(["margin-bottom:2.5rem;li{font-size:14px;}"]),ta=((r=ta||{}).comptia="CompTIA",r.aws="AWS",r.vmware="VMware",r["(isc)2"]="(ISC)\xb2",r.isaca="ISACA",r["hashicorp-training"]="HashiCorp Training",r["microsoft-sharepoint"]="Microsoft SharePoint",r.devops="DevOps",r.bi="BI",r["microsoft-sql"]="Microsoft SQL",r.javascript="JavaScript",r),tl=function(e){(0,i.useEffect)(function(){if(e){var t={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:""},{"@type":"ListItem",position:2,name:null==e?void 0:e.categorySlug,item:"http://www.skru.ac.th/intro/?train=it-training/".concat(null==e?void 0:e.categorySlug)},{"@type":"ListItem",position:3,name:null==e?void 0:e.slug}]};if("undefined"!=typeof document){var n=document.querySelector("main");if(n){var r=n.querySelector('script[type="application/ld+json"]'),i=document.createElement("script");i.setAttribute("type","application/ld+json"),i.textContent=JSON.stringify(t),r?n.replaceChild(i,r):n.appendChild(i)}}}},[e])},tc=!0,td=function(e){var t,n,r,i,o,l,c,d,p,h,f,v,y,b,x,j=e.pageTemplate,P=e.course,k=e.isCertificationCourse,I=e.isSectionBasedPageEntry,C=e.sectionBasedPageEntry;if(I)return C?(0,g.jsx)(e1.e,{client:(0,e0.s)(),children:(0,g.jsx)(e6.SectionBasedPage,{entry:C})}):(0,g.jsx)(s.default,{code:404});var S=u.wW;if(!P)return(0,g.jsx)(s.default,{code:404});var N=function(e){var t,n;return e?null!==(t=ta[e])&&void 0!==t?t:null===(n=e.replaceAll("-"," "))||void 0===n||null===(n=n.split(" "))||void 0===n?void 0:n.map(function(e){var t;return(null==e||null===(t=e.charAt(0))||void 0===t?void 0:t.toLocaleUpperCase())+e.slice(1,null==e?void 0:e.length)}).join(" "):""},Z=(null===(t=P)||void 0===t?void 0:t.fields).sections;if(k)return(0,g.jsx)(e1.e,{client:(0,e0.s)(),children:(0,g.jsx)(e5,{data:P,courseSlug:null===(n=P)||void 0===n||null===(n=n.certification)||void 0===n?void 0:n.slug,categorySlug:N(null===(r=P)||void 0===r||null===(r=r.certification)||void 0===r||null===(r=r.primaryCategory)||void 0===r?void 0:r.slug)})});var D=null!==(i=P)&&void 0!==i&&null!==(i=i.metadata)&&void 0!==i&&null!==(i=i.tags)&&void 0!==i&&!!i.length&&!!(null===(o=P)||void 0===o||null===(o=o.metadata)||void 0===o||null===(o=o.tags)||void 0===o||null===(o=o.filter(function(e){var t;return(null==e||null===(t=e.sys)||void 0===t?void 0:t.id)==="retiredCourse"}))||void 0===o?void 0:o.length);j=S(j),j=(0,m.F)(j),P=S(P),tl(P=(0,m.F)(P));var T=P,_=T.pageTitle,B=T.pageDescription,E=T.pageImage,z=T.slug,L=T.categorySlug,A="http://www.skru.ac.th/intro/?train=it-training/".concat(L,"/").concat(z),F=null!=E&&E.url?null==E?void 0:E.url:"/assetshttps://www.cbtnuggets.com/images/og/courses/".concat(z,".png");return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsxs)(a(),{children:[(0,g.jsx)("title",{children:"".concat(_||"Course"," | CBT Nuggets")},"title"),(0,g.jsx)("meta",{name:"description",content:B||"Course description"},"description"),(0,g.jsx)("link",{rel:"canonical",href:A},"canonical"),(0,g.jsx)("meta",{property:"og:title",content:_},"ogTitle"),(0,g.jsx)("meta",{property:"og:description",content:B||"Course description"},"ogDescription"),(0,g.jsx)("meta",{property:"og:url",content:A},"ogUrl"),(0,g.jsx)("meta",{property:"og:image",content:F},"ogImage"),(0,g.jsx)("meta",{name:"twitter:card",content:"summary_large_image"},"twitterCard"),(0,g.jsx)("meta",{name:"twitter:title",content:_},"twitterTitle"),(0,g.jsx)("meta",{name:"twitter:description",content:B||"Course description"},"twitterDescription"),(0,g.jsx)("meta",{name:"twitter:image",content:F},"twitterImage")]}),(0,g.jsxs)(e3,{children:[(0,g.jsxs)(e8,{$retiredCourse:D,children:[(0,g.jsxs)(te,{children:[(0,g.jsx)(to,{children:(0,g.jsx)(O.bu,{tree:[{path:"/",title:"Home"},{path:"/it-training",title:"IT Training"},{path:"/it-training/".concat(null===(l=P)||void 0===l?void 0:l.categorySlug),title:N(null!==(c=null===(d=P)||void 0===d?void 0:d.categoryBreadcrumbTitle)&&void 0!==c?c:null===(p=P)||void 0===p?void 0:p.categorySlug)},{title:null===(h=P)||void 0===h?void 0:h.shortTitle}]})}),(0,g.jsx)(er,{retired:D,freeTrialLink:null===(f=j)||void 0===f||null===(f=f.contentData)||void 0===f?void 0:f.freeTrialLink,course:P})]}),D?null:(0,g.jsx)(tt,{children:(0,g.jsx)(eY,{course:P,subscriptionOptions:null===(v=j)||void 0===v||null===(v=v.contentData)||void 0===v?void 0:v.subscriptionOptions,icon:null===(y=j)||void 0===y||null===(y=y.contentData)||void 0===y?void 0:y.trainingReviewsIcon,stars:null===(b=j)||void 0===b||null===(b=b.contentData)||void 0===b?void 0:b.trainingReviewsStars,link:null===(x=j)||void 0===x||null===(x=x.contentData)||void 0===x?void 0:x.trainingReviewsLink})}),D?(0,g.jsx)(tn,{children:(0,g.jsx)(eB,{course:P})}):(0,g.jsxs)(tn,{children:[(0,g.jsx)(tr,{children:(0,g.jsx)(eu,{course:P})}),(0,g.jsx)(ev,{course:P}),(0,g.jsx)(ew,{course:P}),(0,g.jsx)(ti,{children:(0,g.jsx)(w,{course:P})}),(0,g.jsx)(eI,{course:P}),(0,g.jsx)(eF,{course:P}),(0,g.jsx)(eB,{course:P})]})]}),null==Z?void 0:Z.map(function(e){return(0,g.jsx)(e2.g,{entry:e},e.sys.id)})]})]})}},42256:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/it-training/[category]/[course]",function(){return n(58700)}])}},function(e){e.O(0,[3792,3498,5675,2679,9789,5680,7265,1953,6603,3418,7578,2888,9774,179],function(){return e(e.s=42256)}),_N_E=e.O()}]);