(()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,643957,e=>{let t=(0,e.i(456420).f)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["f",0,t])},689664,e=>{var t=e.i(643957);e.s(["f",()=>t.f])},926894,e=>{let t=(0,e.i(456420).f)("link-2",[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]]);e.s(["f",0,t],926894)},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)},325164,e=>{var t=e.i(605500);e.s(["default",()=>t.Image])},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"},h={dark:"text-sm text-cbt-400",light:"text-sm text-muted-foreground"};function f({surface:e,tone:s="light",label:c="Sign in",className:d}){let h=(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`,h),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`,h),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:v="Create your account",showBenefits:x=!1,hideWhenAnonymous:y=!1,className:w}){let k=(0,i.usePathname)(),j=(0,n.r)(),N=j?.status==="authenticated",_=d[a],S=m[a],C=h[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:`${v} (opens secure checkout)`,formClassName:"inline-flex align-middle",className:S,children:v})," ","with no purchase required. Already have an account?"," ",(0,t.jsx)(f,{surface:e,tone:a})]}),x&&(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,f])},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"}),"."]})]})}])},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 h(e){return m[e][0]}function f(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?h(e.plan):"trainerbot-plus"===e.plan?e.billing??h("trainerbot-plus"):void 0}function p(e){return"trainerbot-plus"===e.plan?d["trainerbot-plus"][e.billing??h("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,f,"f",0,g,"B",0,h],410532),e.s(["StartCheckoutForm",0,function({intent:e,courseSlug:d,className:m,ariaLabel:h,formClassName:p,subscriptionCta:v,ctaLocation:x,testId:y,onStart:w,children:k}){let j=(0,r.usePathname)(),N=i.useRef(null),_=i.useRef(null),[S,C]=i.useState(!1),[A,T]=i.useState(null),z=f(e);i.useEffect(()=>{if(!S)return;let e=e=>{e.persisted&&C(!1)};return window.addEventListener("pageshow",e),()=>window.removeEventListener("pageshow",e)},[S]);let $=i.useCallback(t=>{if(S)return void t.preventDefault();T(_.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),...x?{cta_location:x}:{}}}),v&&(0,l.C)({ctaText:v.ctaText,subscriptionName:v.subscriptionName,subscriptionPrice:v.subscriptionPrice,page:j,billingPeriod:b(e)})},[S,e,j,d,v,x,w]);return(0,t.jsxs)("form",{ref:N,method:"POST",action:u,onSubmit:$,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":S?h??A??void 0:h,"aria-busy":S||void 0,"aria-disabled":S||void 0,"data-pending":S||void 0,className:(0,s.f)(m,S&&"relative cursor-progress"),"data-testid":y,children:[(0,t.jsx)("span",{className:(0,s.f)("contents",S&&"invisible"),children:k}),S&&(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:S?"Opening secure checkout":""})]})}],844097)},183705,e=>{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);let l={avifWidths:[768,1232,1536],webpWidths:[768,1536],mobileWidth:768,quality:{avif:52,webp:74}},c={"server-room":{avif:32,webp:62}};function u(e,t,i){return`/assetshttps://www.cbtnuggets.com/images/hero-derived/${e.slug}-${t}.${i}`}function d(e,t){return("avif"===t?e.avifWidths:e.webpWidths).map(i=>`${u(e,i,t)} ${i}w`).join(", ")}function m(e){let{src:r,alt:n,width:a,height:s,className:o,priority:l,sizes:c,derivatives:m}=e;if(m){let e="string"==typeof r?a:r.width,i="string"==typeof r?s:r.height,h=u(m,m.webpWidths[m.webpWidths.length-1],"webp");return(0,t.jsxs)("picture",{children:[(0,t.jsx)("source",{type:"image/avif",srcSet:d(m,"avif"),sizes:c}),(0,t.jsx)("img",{src:h,srcSet:d(m,"webp"),sizes:c,alt:n,width:e,height:i,decoding:"async",loading:l?"eager":"lazy",fetchPriority:l?"high":void 0,className:o})]})}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})}[...[{slug:"application-delivery",src:"/assetshttps://www.cbtnuggets.com/images/home/home-hero-icp-application-delivery.png",width:1536},{slug:"certification-readiness",src:"/assetshttps://www.cbtnuggets.com/images/home/home-hero-icp-certification-readiness.png",width:1536},{slug:"cloud-architecture-blue",src:"/assetshttps://www.cbtnuggets.com/images/home/home-hero-icp-cloud-architecture-blue.png",width:1536},{slug:"cloud-operations-orange",src:"/assetshttps://www.cbtnuggets.com/images/home/home-hero-icp-cloud-operations-orange.png",width:1536},{slug:"multicloud-team-lab",src:"/assetshttps://www.cbtnuggets.com/images/home/home-hero-icp-multicloud-team-lab.png",width:1536},{slug:"networking-routing",src:"/assetshttps://www.cbtnuggets.com/images/home/home-hero-icp-networking-routing.png",width:1536},{slug:"secure-training-platform",src:"/assetshttps://www.cbtnuggets.com/images/home/home-hero-icp-secure-training-platform.png",width:1536},{slug:"server-room",src:"/assetshttps://www.cbtnuggets.com/images/home/home-hero-icp-server-room.png",width:2304,scrim:"strong"},{slug:"team-monitors",src:"/assetshttps://www.cbtnuggets.com/images/home/home-hero-icp-team-monitors.png",width:3072},{slug:"team-readiness",src:"/assetshttps://www.cbtnuggets.com/images/home/home-hero-icp-team-readiness.png",width:1536}].map(e=>{var t;let i;return{slug:`home-${e.slug}`,source:e.src,...l,avifWidths:(t=e.width,t>(i=[...l.avifWidths])[i.length-1]&&i.push(Math.min(2464,t)),i),quality:c[e.slug]??l.quality}})],e.s(["ScreenshotLightbox",0,function({src:e,alt:i,imageAlt:l=i,width:c,height:u,derivatives:d,lightboxSrc:h,className:f,variant:b="card",priority:p=!1,sizes:g}){var v;let x="string"==typeof(v=h??e)?v:v.src,[y,w]=(0,r.useState)(!1),[k,j]=(0,r.useState)(!1),N=(0,r.useRef)(null),_=(0,r.useRef)(null),S=(0,r.useRef)(null),C=(0,r.useCallback)(()=>{j(!0),null!==S.current&&clearTimeout(S.current),S.current=setTimeout(()=>{S.current=null,j(!1),w(!1),N.current?.focus()},200)},[]),A=(0,r.useCallback)(()=>{null!==S.current&&(clearTimeout(S.current),S.current=null,j(!1)),w(!0)},[]);(0,r.useEffect)(()=>()=>{null!==S.current&&(clearTimeout(S.current),S.current=null)},[]),(0,r.useEffect)(()=>{if(!y||k)return;_.current?.focus();let e=e=>{"Escape"===e.key&&C(),"Tab"===e.key&&(e.preventDefault(),_.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}},[y,k,C]);let T="hero"===b,z=(0,o.f)("w-full h-auto",!T&&"transition-transform duration-300 group-hover:scale-[1.02]");return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("button",{ref:N,type:"button",onClick:A,className:(0,o.f)(T?"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",f),"aria-label":`View ${i} at full size`,children:[(0,t.jsx)(m,{src:e,alt:l,width:c,height:u,priority:p,sizes:g,derivatives:d,className:z}),T?(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"]})})]}),y&&(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",k?"animate-[lightbox-fade-out_200ms_ease-in_forwards]":"animate-[lightbox-fade-in_300ms_cubic-bezier(0.16,1,0.3,1)_forwards]"),onClick:C,role:"dialog","aria-modal":"true","aria-label":i,children:[(0,t.jsx)("button",{ref:_,type:"button",onClick:e=>{e.stopPropagation(),C()},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",k?"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:x,alt:i,onClick:e=>e.stopPropagation(),className:(0,o.f)("rounded-lg shadow-2xl cursor-default",k?"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)]})}],183705)},112793,e=>{var t=e.i(843476),i=e.i(271645),r=e.i(618566),n=e.i(689664),a=e.i(926894),s=e.i(456420);let o=(0,s.f)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]),l=(0,s.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 c=e.i(519455),u=e.i(311063),d=e.i(293995);let m={slack:"Slack",teams:"Microsoft Teams",imessage:"iMessage",email:"Email",linkedin:"LinkedIn",x:"X",facebook:"Facebook",reddit:"Reddit",copy_link:"Copied link",web_share:"Device share sheet",salesrep:"Sales outreach"};Object.keys(m);var h=e.i(975157);e.s(["ShareButton",0,function({url:e,title:s,surface:f,className:b}){let p=(0,r.usePathname)()??"/",g=(0,i.useId)(),v=(0,i.useRef)(null),x=(0,i.useRef)(null),y=(0,i.useRef)(null),w=(0,i.useRef)(null),[k,j]=(0,i.useState)(!1),[N,_]=(0,i.useState)(null),[S,C]=(0,i.useState)(!1),[A,T]=(0,i.useState)(""),z=()=>s??("u">typeof document?document.title:""),$=(0,i.useCallback)(e=>{T(e),w.current&&clearTimeout(w.current),w.current=setTimeout(()=>T(""),2500)},[]),R=(0,i.useCallback)((e=!1)=>{j(!1),e&&x.current?.focus()},[]);(0,i.useEffect)(()=>{if(k)return y.current?.querySelector('[role="menuitem"]')?.focus(),document.addEventListener("mousedown",e),document.addEventListener("keydown",t),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("keydown",t)};function e(e){v.current&&!v.current.contains(e.target)&&R()}function t(e){"Escape"===e.key&&(e.preventDefault(),R(!0))}},[k,R]),(0,i.useEffect)(()=>()=>{w.current&&clearTimeout(w.current)},[]);let E=e=>(function({url:e,channel:t,campaign:i}){let r=new URL("string"==typeof e?e:e.href),n=(0,d.a)(r.search),a=new URLSearchParams(n.startsWith("?")?n.slice(1):n);return a.set("utm_source",t),a.set("utm_medium","share"),i&&a.set("utm_campaign",i),`${r.origin}${r.pathname}?${a.toString()}${r.hash}`})({url:N??window.location.href,channel:e}),L=e=>(0,u.p)(`share:${f}`,p,{channel:e}),I=async()=>{L("copy_link");let e=E("copy_link");try{if(!navigator.clipboard?.writeText)throw Error("clipboard unavailable");await navigator.clipboard.writeText(e),$("Link copied to clipboard")}catch{$("Could not copy — copy the address from the URL bar")}R(!0)},P=async()=>{L("web_share");try{await navigator.share({url:E("web_share"),title:z()})}catch{}R(!0)},q=[{channel:"linkedin",label:`Share on ${m.linkedin}`},{channel:"x",label:`Share on ${m.x}`},{channel:"email",label:"Share by email"}],U="flex w-full items-center gap-2 rounded-md px-3 py-2 text-left text-sm text-foreground hover:bg-muted focus-visible:bg-muted focus-visible:outline-none";return(0,t.jsxs)("div",{ref:v,className:(0,h.f)("relative",b),onBlur:e=>{let t=e.relatedTarget;t instanceof Node&&(e.currentTarget.contains(t)||R())},children:[(0,t.jsxs)(c.K,{ref:x,type:"button",variant:"outline",size:"sm","data-testid":"share-button","aria-haspopup":"menu","aria-expanded":k,"aria-controls":k?g:void 0,"aria-label":"Share this page",onClick:()=>{k?R():(_(e??window.location.href),C("u">typeof navigator&&"function"==typeof navigator.share),j(!0))},children:[(0,t.jsx)(l,{className:"mr-1.5 size-4","aria-hidden":!0}),"Share"]}),k?(0,t.jsxs)("div",{id:g,ref:y,role:"menu","aria-label":"Share this page",className:"absolute right-0 z-20 mt-2 w-56 rounded-xl border border-border bg-background p-1 shadow-xl",onKeyDown:e=>{let t=Array.from(y.current?.querySelectorAll('[role="menuitem"]')??[]);if(0===t.length)return;let i=t.findIndex(e=>e===document.activeElement),r=e=>t[(e+t.length)%t.length]?.focus();switch(e.key){case"ArrowDown":e.preventDefault(),r(i+1);break;case"ArrowUp":e.preventDefault(),r(i-1);break;case"Home":e.preventDefault(),r(0);break;case"End":e.preventDefault(),r(t.length-1)}},children:[(0,t.jsxs)("button",{type:"button",role:"menuitem",className:U,"data-share-channel":"copy_link",onClick:()=>void I(),children:[(0,t.jsx)(a.f,{className:"size-4","aria-hidden":!0}),"Copy link"]}),q.map(({channel:e,label:i})=>(0,t.jsxs)("a",{role:"menuitem",className:U,"data-share-channel":e,href:function({channel:e,url:t,title:i}){switch(e){case"linkedin":return`https://www.linkedin.com/sharing/share-offsite/?url=${encodeURIComponent(t)}`;case"x":return`https://x.com/intent/post?url=${encodeURIComponent(t)}&text=${encodeURIComponent(i)}`;case"email":return`mailto:?subject=${encodeURIComponent(i)}&body=${encodeURIComponent(`${i} ${t}`)}`}}({channel:e,url:E(e),title:z()}),..."email"===e?{}:{target:"_blank",rel:"noopener noreferrer"},onClick:()=>{L(e),R()},children:["email"===e?(0,t.jsx)(o,{className:"size-4","aria-hidden":!0}):(0,t.jsx)(l,{className:"size-4","aria-hidden":!0}),i]},e)),S?(0,t.jsxs)("button",{type:"button",role:"menuitem",className:U,"data-share-channel":"web_share",onClick:()=>void P(),children:[(0,t.jsx)(l,{className:"size-4","aria-hidden":!0}),"More options…"]}):null]}):null,(0,t.jsx)("span",{role:"status","aria-live":"polite",className:(0,h.f)(A?"absolute right-0 top-full mt-1 inline-flex items-center gap-1 whitespace-nowrap text-sm text-muted-foreground":"sr-only"),children:A?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.f,{className:"size-3","aria-hidden":!0}),A]}):null})]})}],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"})}])},293995,e=>{let t=new Set(["gclid","fbclid","msclkid","yclid","mc_cid","mc_eid","ref","referral","referrer","_hsenc","_hsmi","hsCtaTracking"]),i=["utm_"];function r(e){var r;let n;if(!e||!e.includes("?"))return e;let[a,s]=-1===(n=(r=e).indexOf("?"))?[r,void 0]:[r.slice(0,n),r.slice(n+1)];if(!s)return a;let o=new URLSearchParams(s),l=new URLSearchParams;for(let[e,r]of o.entries())!function(e){let r=e.toLowerCase();return!!t.has(r)||i.some(e=>r.startsWith(e))}(e)&&l.append(e,r);let c=l.toString();return c?`${a}?${c}`:a}let n=new Set(["www.cbtnuggets.com","cbtnuggets.com","newcbt.cbtnuggets.com"]);e.s(["G",0,function(e){let t=r(e);if(t.startsWith("/"))return t;try{let e=new URL(t);if(n.has(e.hostname))return`${e.pathname}${e.search}`}catch{}return t},"a",0,r])}])})();