(()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,926787,e=>{let t=(0,e.i(456420).f)("maximize-2",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]]);e.s(["f",0,t],926787)},572320,e=>{var t=e.i(271645),i=e.i(405240),r=e.i(570590);let n=["/solutions","/it-training"];e.s(["ContentLinkTracker",0,function(){return(0,t.useEffect)(()=>{let e=e=>{var t;let a,s=e.target?.closest?.("a[href]");if(s instanceof HTMLAnchorElement&&s.closest("[data-blog-content]")){try{a=new URL(s.href,window.location.href)}catch{return}a.origin===window.location.origin&&!((t=a.pathname)===r.Q||t.startsWith(`${r.Q}/`))&&n.some(e=>t===e||t.startsWith(`${e}/`))&&(0,i.f)("content_link_click",{properties:{target_url:a.pathname+a.search,source_page:window.location.pathname,cta_text:s.textContent?.replace(/\s+/g," ").trim().slice(0,120)??""}})}};return document.addEventListener("click",e,!0),()=>document.removeEventListener("click",e,!0)},[]),null}])},785058,e=>{var t=e.i(843476),i=e.i(618566),r=e.i(271645),n=e.i(540874),a=e.i(117213),s=e.i(844097),o=e.i(60300),l=e.i(311063),c=e.i(206917),u=e.i(975157);let d={dark:"focus-on-dark rounded-sm font-semibold text-white underline underline-offset-2 hover:text-cbt-300 transition-colors",light:"rounded-sm font-semibold text-cbt-700 underline underline-offset-2 hover:text-cbt-500 transition-colors focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-cbt-500"},m={dark:"focus-on-dark inline-flex h-8 items-center rounded-full border border-white/40 px-3 text-sm font-semibold text-white transition-colors hover:bg-white/10 align-middle",light:"inline-flex h-8 items-center rounded-full border border-cbt-300 bg-white px-3 text-sm font-semibold text-cbt-800 transition-colors hover:border-cbt-500 hover:bg-cbt-50 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-cbt-500 align-middle"},f={dark:"text-sm text-cbt-400",light:"text-sm text-muted-foreground"};function h({surface:e,tone:s="light",label:c="Sign in",className:d}){let f=(0,i.usePathname)(),b=(0,n.r)(),p=(0,u.f)(m[s],d),g=(0,r.useRef)(null);return((0,a.f)(g),b)?(0,t.jsx)("button",{ref:g,type:"button",className:p,onClick:()=>{(0,l.p)(`${e}:sign-in`,f),b.login()},children:b.authenticating?"Signing in…":c}):(0,t.jsx)("a",{ref:g,href:o.F,className:p,onClick:()=>(0,l.p)(`${e}:sign-in`,f),children:c})}e.s(["AdeptAccountCta",0,function({surface:e,learnHref:r=o.Y,tone:a="light",prompt:b="Not ready to talk to sales?",continuePrompt:p="You're signed in.",continueLabel:g="Continue in Adept",createLabel:x="Create your account",showBenefits:v=!1,hideWhenAnonymous:y=!1,className:w}){let k=(0,i.usePathname)(),j=(0,n.r)(),N=j?.status==="authenticated",_=d[a],A=m[a],C=f[a];return!N&&y?null:N?(0,t.jsx)("div",{className:w,children:(0,t.jsxs)("p",{className:C,children:[p," ",(0,t.jsxs)("a",{href:r,className:_,onClick:()=>(0,l.p)(`${e}:continue-adept`,k),children:[g," β†’"]})]})}):(0,t.jsxs)("div",{className:w,children:[(0,t.jsxs)("div",{className:(0,u.f)(C,"leading-8"),children:[b," ",(0,t.jsx)(s.StartCheckoutForm,{intent:{plan:"account-only"},ctaLocation:e,ariaLabel:`${x} (opens secure checkout)`,formClassName:"inline-flex align-middle",className:A,children:x})," ","with no purchase required. Already have an account?"," ",(0,t.jsx)(h,{surface:e,tone:a})]}),v&&(0,t.jsxs)("p",{className:(0,u.f)("mt-1.5",C),children:["An account gets you the full catalog to browse, pre-assessments, quiz questions on free skills, and"," ",(0,t.jsx)(c.h,{surface:`account-cta:${e}`,tone:a,children:"IT Trainerbot"}),", with every answer citing its source video."]})]})},"AdeptSignInAction",0,h])},537106,e=>{var t=e.i(843476),i=e.i(785058),r=e.i(540874),n=e.i(844097),a=e.i(268863);e.s(["AssessmentSlotCta",0,function({stage:e,ctaClass:s,assessmentsUrl:o,signInReturnUrl:l}){return(0,r.r)()?.status==="authenticated"?(0,t.jsxs)("div",{children:[(0,t.jsx)(a.TrackedLink,{external:!0,href:o,location:`blog-cta:${e}:assessments-app`,className:s,children:"Go to assessments"}),(0,t.jsx)("p",{className:"mt-2 text-sm text-muted-foreground",children:"You're signed in β€” results connect to your account."})]}):(0,t.jsxs)("div",{children:[(0,t.jsx)(n.StartCheckoutForm,{intent:{plan:"account-only",returnTo:l},ctaLocation:"blog-cta-account",ariaLabel:"Create your account: opens secure checkout; no purchase required",formClassName:"mt-4",className:s.replace("mt-4 ",""),children:"Create your account"}),(0,t.jsxs)("p",{className:"mt-2 text-sm text-muted-foreground",children:["No purchase required β€” you'll come back to assessments signed in. Already have an account?"," ",(0,t.jsx)(i.AdeptSignInAction,{surface:"blog-cta-account",tone:"light"}),"."]})]})}])},277364,e=>{var t=e.i(843476),i=e.i(271645);e.s(["BlogToc",0,function(){let[e,r]=(0,i.useState)([]);return((0,i.useEffect)(()=>{let e=document.querySelector("[data-blog-content]");if(!e)return;let t=e.querySelectorAll("h2[id]");(0,i.startTransition)(()=>{r(Array.from(t).map(e=>({id:e.id,text:e.textContent?.trim()??""})))})},[]),e.length<2)?null:(0,t.jsx)("nav",{"aria-label":"On this page",className:"mb-8 lg:hidden",children:(0,t.jsxs)("details",{className:"rounded-xl border border-cbt-200 bg-cbt-50/50 p-4",children:[(0,t.jsx)("summary",{className:"cursor-pointer text-sm font-semibold text-foreground",children:"On this page"}),(0,t.jsx)("ol",{className:"mt-3 list-decimal space-y-2 pl-5 text-sm",children:e.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:`#${e.id}`,className:"text-cbt-600 hover:underline",children:e.text})},e.id))})]})})}])},597759,e=>{var t=e.i(843476),i=e.i(522016);e.s(["PreviewBanner",0,function(){return(0,t.jsxs)("div",{role:"status",className:"fixed inset-x-0 bottom-0 z-50 flex items-center justify-center gap-4 bg-amber-500 px-4 py-3 text-sm font-semibold text-black",children:[(0,t.jsx)("span",{children:"Preview mode is enabled"}),(0,t.jsx)(i.default,{href:"/api/draft/disable",className:"rounded-full bg-black/20 px-4 py-1 transition-colors hover:bg-black/30",children:"Exit preview"})]})}])},844097,410532,e=>{var t=e.i(843476),i=e.i(271645),r=e.i(618566),n=e.i(632781),a=e.i(686525),s=e.i(975157),o=e.i(405240),l=e.i(311063),c=e.i(541872);let u="https://billing.api.adept.at/checkout/session",d={individual:"120",team:"100","trainerbot-plus":{annual:"210",monthly:"215"},"single-course":"110"},m={individual:["annual"],team:["annual"],"trainerbot-plus":["monthly","annual"]};function f(e){return m[e][0]}function h(e){if("account-only"===e.plan){let t=[{name:"ownerHint[type]",value:"USER"},{name:"ownerHint[status]",value:"NEW"}];return e.returnTo&&t.push({name:"returnTo",value:e.returnTo}),t}let t=p(e),i=[{name:"ownerHint[type]",value:"team"===e.plan?"ORG":"USER"},{name:"ownerHint[status]",value:"NEW"},{name:"items[0][productId]",value:t}];if("single-course"===e.plan){if(!e.courseId)throw Error("buildCheckoutFields: single-course checkout requires the Adept course UUID");i.push({name:"items[0][subProductId]",value:e.courseId})}let r="team"===e.plan?Math.max(1,Math.floor(e.seats)):1;return i.push({name:"items[0][quantity]",value:String(r)}),i}function b(e){return"individual"===e.plan||"team"===e.plan?f(e.plan):"trainerbot-plus"===e.plan?e.billing??f("trainerbot-plus"):void 0}function p(e){return"trainerbot-plus"===e.plan?d["trainerbot-plus"][e.billing??f("trainerbot-plus")]:d[e.plan]}function g(e,t,i){if("account-only"===e.plan){let r={plan:e.plan,owner_hint_type:"USER",quantity:0,page:t};return e.courseId&&(r.course_id=e.courseId),i&&(r.course_slug=i),r}let r={plan:e.plan,product_id:p(e),owner_hint_type:"team"===e.plan?"ORG":"USER",quantity:"team"===e.plan?Math.max(1,Math.floor(e.seats)):1,page:t},n=b(e);return n&&(r.billing_period=n),"single-course"===e.plan&&(r.course_id=e.courseId,i&&(r.course_slug=i)),r}e.s(["c",0,u,"P",0,b,"Q",0,h,"f",0,g,"B",0,f],410532),e.s(["StartCheckoutForm",0,function({intent:e,courseSlug:d,className:m,ariaLabel:f,formClassName:p,subscriptionCta:x,ctaLocation:v,testId:y,onStart:w,children:k}){let j=(0,r.usePathname)(),N=i.useRef(null),_=i.useRef(null),[A,C]=i.useState(!1),[T,S]=i.useState(null),z=h(e);i.useEffect(()=>{if(!A)return;let e=e=>{e.persisted&&C(!1)};return window.addEventListener("pageshow",e),()=>window.removeEventListener("pageshow",e)},[A]);let E=i.useCallback(t=>{if(A)return void t.preventDefault();S(_.current?.textContent?.trim()||null),C(!0);let i=N.current;i&&function(e){for(let t of Array.from(e.querySelectorAll("input[data-checkout-tracking]")))t.remove();let t=(0,c.B)(),i=(0,a.M)(),{merged:r}=(0,a.y)();for(let[n,s]of[["tracking[anon_id]",t.analytics?i[a.I.ANON_ID]:void 0],["tracking[session_id]",i[a.I.SESSION_ID]],["tracking[gclid]",t.marketing?r.gclid:void 0],["tracking[msclkid]",t.marketing?r.msclkid:void 0],["tracking[wbraid]",t.marketing?r.wbraid:void 0],["tracking[gbraid]",t.marketing?r.gbraid:void 0]]){if(!s)continue;let t=document.createElement("input");t.type="hidden",t.name=n,t.value=s,t.dataset.checkoutTracking="true",e.appendChild(t)}}(i),w?.(),(0,o.f)("checkout_start",{properties:{...g(e,j,d),...v?{cta_location:v}:{}}}),x&&(0,l.C)({ctaText:x.ctaText,subscriptionName:x.subscriptionName,subscriptionPrice:x.subscriptionPrice,page:j,billingPeriod:b(e)})},[A,e,j,d,x,v,w]);return(0,t.jsxs)("form",{ref:N,method:"POST",action:u,onSubmit:E,className:p,children:[z.map(e=>(0,t.jsx)("input",{type:"hidden",name:e.name,value:e.value},e.name)),(0,t.jsxs)("button",{ref:_,type:"submit","aria-label":A?f??T??void 0:f,"aria-busy":A||void 0,"aria-disabled":A||void 0,"data-pending":A||void 0,className:(0,s.f)(m,A&&"relative cursor-progress"),"data-testid":y,children:[(0,t.jsx)("span",{className:(0,s.f)("contents",A&&"invisible"),children:k}),A&&(0,t.jsx)("span",{"aria-hidden":"true",className:"absolute inset-0 flex items-center justify-center",children:(0,t.jsx)(n.f,{className:"size-[1.25em] animate-spin"})})]}),(0,t.jsx)("span",{role:"status","aria-live":"polite",className:"sr-only",children:A?"Opening secure checkout":""})]})}],844097)},183705,e=>{e.i(247167);var t=e.i(843476),i=e.i(325164),r=e.i(271645),n=e.i(174080),a=e.i(263676),s=e.i(926787),o=e.i(975157);function l(e){let{src:r,alt:n,width:a,height:s,className:o,priority:l,sizes:c}=e;return"string"==typeof r?void 0===a||void 0===s?null:(0,t.jsx)(i.default,{src:r,alt:n,width:a,height:s,priority:l,sizes:c,className:o}):(0,t.jsx)(i.default,{src:r,alt:n,placeholder:"blur",priority:l,sizes:c,className:o})}e.s(["ScreenshotLightbox",0,function({src:e,alt:i,width:c,height:u,lightboxSrc:d,className:m,variant:f="card",priority:h=!1,sizes:b}){var p;let g="string"==typeof(p=d??e)?p:p.src,[x,v]=(0,r.useState)(!1),[y,w]=(0,r.useState)(!1),k=(0,r.useRef)(null),j=(0,r.useRef)(null),N=(0,r.useRef)(null),_=(0,r.useCallback)(()=>{w(!0),null!==N.current&&clearTimeout(N.current),N.current=setTimeout(()=>{N.current=null,w(!1),v(!1),k.current?.focus()},200)},[]),A=(0,r.useCallback)(()=>{null!==N.current&&(clearTimeout(N.current),N.current=null,w(!1)),v(!0)},[]);(0,r.useEffect)(()=>()=>{null!==N.current&&(clearTimeout(N.current),N.current=null)},[]),(0,r.useEffect)(()=>{if(!x||y)return;j.current?.focus();let e=e=>{"Escape"===e.key&&_(),"Tab"===e.key&&(e.preventDefault(),j.current?.focus())};document.addEventListener("keydown",e);let t=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.removeEventListener("keydown",e),document.body.style.overflow=t}},[x,y,_]);let C="hero"===f,T=(0,o.f)("w-full h-auto",!C&&"transition-transform duration-300 group-hover:scale-[1.02]");return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("button",{ref:k,type:"button",onClick:A,className:(0,o.f)(C?"group relative block w-full cursor-zoom-in overflow-hidden rounded-2xl focus-visible:ring-2 focus-visible:ring-cbt-500 focus-visible:ring-offset-2":"group relative block w-full cursor-zoom-in overflow-hidden rounded-xl border border-cbt-200 bg-white shadow-md transition-all hover:shadow-xl hover:border-cbt-300 focus-visible:ring-2 focus-visible:ring-cbt-500 focus-visible:ring-offset-2",m),"aria-label":`View ${i} at full size`,children:[(0,t.jsx)(l,{src:e,alt:i,width:c,height:u,priority:h,sizes:b,className:T}),C?(0,t.jsx)("span",{"aria-hidden":!0,className:"pointer-events-none absolute right-3 top-3 flex size-8 items-center justify-center rounded-full bg-cbt-950/55 text-white opacity-0 shadow-md backdrop-blur-sm transition-opacity duration-200 group-hover:opacity-100 group-focus-visible:opacity-100",children:(0,t.jsx)(s.f,{className:"size-4"})}):(0,t.jsx)("span",{className:"pointer-events-none absolute inset-0 flex items-center justify-center bg-cbt-950/0 transition-colors group-hover:bg-cbt-950/5",children:(0,t.jsxs)("span",{className:"flex items-center gap-1.5 rounded-full bg-white/90 px-3 py-1.5 text-sm font-semibold text-cbt-700 opacity-90 shadow-sm md:opacity-0 md:transition-opacity md:group-hover:opacity-100",children:[(0,t.jsx)(s.f,{className:"size-3.5","aria-hidden":!0}),"View full size"]})})]}),x&&(0,n.createPortal)((0,t.jsxs)("div",{className:(0,o.f)("fixed inset-0 z-(--z-modal) flex items-center justify-center bg-cbt-950/85 backdrop-blur-sm p-4 sm:p-6 cursor-zoom-out",y?"animate-[lightbox-fade-out_200ms_ease-in_forwards]":"animate-[lightbox-fade-in_300ms_cubic-bezier(0.16,1,0.3,1)_forwards]"),onClick:_,role:"dialog","aria-modal":"true","aria-label":i,children:[(0,t.jsx)("button",{ref:j,type:"button",onClick:e=>{e.stopPropagation(),_()},className:(0,o.f)("focus-on-dark absolute right-4 top-4 z-10 rounded-full bg-cbt-950/60 p-3 text-white shadow-lg ring-1 ring-white/20 transition-colors hover:bg-cbt-950/80",y?"animate-[lightbox-fade-out_200ms_ease-in_forwards]":"animate-[lightbox-fade-in_300ms_cubic-bezier(0.16,1,0.3,1)_forwards]"),"aria-label":"Close lightbox",children:(0,t.jsx)(a.X,{className:"size-6"})}),(0,t.jsx)("img",{src:g,alt:i,onClick:e=>e.stopPropagation(),className:(0,o.f)("rounded-lg shadow-2xl cursor-default",y?"animate-[lightbox-image-out_200ms_ease-in_forwards]":"animate-[lightbox-image-in_300ms_cubic-bezier(0.16,1,0.3,1)_forwards]"),style:{width:"min(90vw, 1400px)",height:"auto",maxHeight:"85vh",objectFit:"contain"}})]}),document.body)]})}])},112793,e=>{var t=e.i(843476);let i=(0,e.i(456420).f)("share-2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]]);var r=e.i(519455);e.s(["ShareButton",0,function({url:e,title:n,className:a}){let s=async()=>{let t=e??window.location.href,i=n??("u">typeof document?document.title:"");try{navigator.share?await navigator.share({url:t,title:i}):await navigator.clipboard.writeText(t)}catch{}};return(0,t.jsxs)(r.K,{type:"button",variant:"outline",size:"sm","data-testid":"share-button",className:a,onClick:()=>void s(),children:[(0,t.jsx)(i,{className:"mr-1.5 size-4","aria-hidden":!0}),"Share"]})}],112793)},206917,e=>{var t=e.i(843476),i=e.i(768877),r=e.i(268863),n=e.i(975157);let a="/trainerbot",s=/IT[ \u00A0]Trainerbot(?:[ \u00A0]Plus)?/g;function o(e){return s.lastIndex=0,s.test(e)}let l={light:"font-medium text-cbt-700 underline decoration-cbt-700/40 underline-offset-4 transition-colors hover:text-cbt-900 hover:decoration-cbt-900",dark:"focus-on-dark font-medium text-white underline decoration-white/50 underline-offset-4 transition-colors hover:decoration-white"};function c({surface:e,tone:i="light",className:s,children:o}){return(0,t.jsx)(r.TrackedLink,{href:a,location:`trainerbot-term:${e}`,className:(0,n.f)(l[i],s),children:o})}let u={light:"text-cbt-700 hover:text-cbt-900 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-cbt-700",dark:"focus-on-dark text-cbt-200 hover:text-white"};e.s(["y",0,function({surface:e,tone:s="light",className:o}){return(0,t.jsxs)(r.TrackedLink,{href:a,location:`trainerbot-term:${e}`,className:(0,n.f)("inline-flex items-center gap-1 whitespace-nowrap rounded-sm align-middle font-sans text-sm font-semibold tracking-normal underline-offset-4 hover:underline",u[s],o),children:["Learn more"," ",(0,t.jsx)("span",{className:"sr-only",children:"about IT Trainerbot"}),(0,t.jsx)(i.f,{className:"size-3.5","aria-hidden":"true"})]})},"h",0,c,"w",0,o,"l",0,function(e,i){if(!o(e))return e;let r=[],n=0;for(let a of(s.lastIndex=0,e.matchAll(s))){let s=a.index;s>n&&r.push(e.slice(n,s)),r.push((0,t.jsx)(c,{...i,children:a[0]},`${s}-${a[0]}`)),n=s+a[0].length}return n{var t=e.i(843476),i=e.i(522016),r=e.i(271645),n=e.i(117213);e.s(["CtaLink",0,function({describedBy:e,children:a,...s}){let o=(0,r.useRef)(null);return(0,n.f)(o,e),(0,t.jsx)(i.default,{ref:o,"aria-describedby":e,...s,children:a})}])},87791,e=>{var t=e.i(843476),i=e.i(271645),r=e.i(975157);e.s(["ScrollRegion",0,function({as:e,label:n,labelledBy:a,className:s,children:o,...l}){let c=(0,i.useRef)(null);return(0,i.useEffect)(()=>{let e=c.current;if(!e)return;let t={label:n,labelledBy:a},i=()=>{var i;return i=e.scrollWidth>e.clientWidth+1||e.scrollHeight>e.clientHeight+1,void(e.setAttribute("data-measured","true"),i?(e.setAttribute("tabindex","0"),e.setAttribute("role","region"),e.setAttribute("data-scrolls","true"),t.labelledBy?(e.setAttribute("aria-labelledby",t.labelledBy),e.removeAttribute("aria-label")):t.label&&(e.setAttribute("aria-label",t.label),e.removeAttribute("aria-labelledby"))):(e.removeAttribute("tabindex"),e.removeAttribute("role"),e.removeAttribute("data-scrolls"),e.removeAttribute("aria-label"),e.removeAttribute("aria-labelledby")))};if(i(),"u"r.disconnect()},[n,a]),(0,t.jsx)(e??"div",{ref:c,"data-slot":"scroll-region",className:(0,r.f)("overflow-x-auto",s),...l,children:o})}])},429592,e=>{var t=e.i(843476),i=e.i(271645);e.s(["ConsentEmbed",0,function({url:e}){let r,[n,a]=(0,i.useState)(!1),s=(r=e.match(/(?:youtube\.com\/(?:watch\?v=|embed\/)|youtu\.be\/)([a-zA-Z0-9_-]{11})/),r?.[1]??null);return s?n?(0,t.jsx)("div",{className:"my-8 aspect-video w-full overflow-hidden rounded-lg",children:(0,t.jsx)("iframe",{src:`https://www.youtube-nocookie.com/embed/${s}`,title:"YouTube video",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,className:"h-full w-full"})}):(0,t.jsxs)("div",{className:"my-8 flex flex-col items-center justify-center rounded-lg border border-cbt-100 bg-cbt-50 p-8",children:[(0,t.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"This content is hosted by YouTube. Loading it may share data with Google."}),(0,t.jsx)("button",{onClick:()=>a(!0),className:"btn-gradient rounded-full px-6 py-2 text-sm font-semibold text-white",children:"Load embedded video"})]}):(0,t.jsx)("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:"text-cbt-600 underline hover:text-cbt-800",children:"Watch video"})}])}])})();