(()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,711241,e=>{let t=(0,e.i(456420).f)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["f",0,t],711241)},96892,e=>{let t=(0,e.i(456420).f)("arrow-up",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]);e.s(["f",0,t],96892)},508734,e=>{let t=(0,e.i(456420).f)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);e.s(["f",0,t],508734)},668109,e=>{let t=(0,e.i(456420).f)("heart",[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}]]);e.s(["f",0,t],668109)},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)},882303,e=>{let t=(0,e.i(456420).f)("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]]);e.s(["f",0,t],882303)},920291,e=>{var t=e.i(843476),n=e.i(271645),i=e.i(618566),r=e.i(570590),s=e.i(311063),a=e.i(472033),l=e.i(998082),o=e.i(240139);let c=n.lazy(()=>e.A(127300).then(e=>({default:e.GetStartedDialogBody})));function d(){e.A(127300).catch(()=>void 0)}e.s(["GetStartedDialog",0,function({triggerLabel:e,triggerAriaLabel:u,triggerClassName:h}){let[m,f]=n.useState(0),p=(0,l.A)(),{open:b,bodyOpen:x,openMethod:g,onOpenChange:v,onReady:w}=p,y=n.useRef(null),j=(0,i.usePathname)(),k=n.useCallback(t=>{p.request(t)&&(f(e=>e+1),(0,s.C)({ctaText:e,subscriptionName:o.s,subscriptionPrice:r.R,page:j,intent:"open_configurator",billingPeriod:"annual"}))},[p,j,e]),{reset:N}=p,C=n.useCallback(()=>{N(),f(0)},[N]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.F,{ref:y,trigger:{label:e,ariaLabel:u,className:h},open:b,onOpen:k,onIntent:d}),m>0?(0,t.jsx)(l.T,{name:"teams-configurator",onError:C,children:(0,t.jsx)(c,{open:x,openMethod:g,onOpenChange:v,onReady:w,finalFocus:y},m)}):null]})}])},28083,e=>{var t=e.i(271645),n=e.i(586168);e.s(["CatalogTrackingContext",0,function(e){let{course_id:i,catalog_dimension:r,catalog_tag_id:s}=e;return(0,t.useLayoutEffect)(()=>{let e=(0,n.i)({course_id:i,catalog_dimension:r,catalog_tag_id:s});return()=>(0,n.o)(e)},[i,r,s]),null}])},749266,e=>{var t=e.i(843476),n=e.i(271645),i=e.i(618566),r=e.i(776639),s=e.i(540874),a=e.i(844097),l=e.i(311063);e.s(["AssessmentGateLink",0,function({href:e,location:o,courseId:c,signInReturnUrl:d,courseTitle:u,className:h,ariaLabel:m,dataTestId:f,children:p}){let b=(0,s.r)(),x=(0,i.usePathname)(),[g,v]=n.useState(!1),w=b?.status==="authenticated";n.useEffect(()=>{g&&w&&((0,l.p)(o,x),window.location.assign(e))},[g,w,e,o,x]);let y=n.useCallback(e=>{e.metaKey||e.ctrlKey||e.shiftKey||1===e.button||!b||"authenticated"===b.status?(0,l.p)(o,x):(e.preventDefault(),(0,l.p)("assessment-gate-shown",x),v(!0))},[b,o,x]),j=n.useCallback(()=>{b&&((0,l.p)("assessment-gate-login",x),b.login())},[b,x]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:h,"aria-label":m,"data-testid":f,onClick:y,children:p}),b&&(0,t.jsx)(r.N,{open:g,onOpenChange:v,children:(0,t.jsx)(r.d,{className:"w-115 max-w-[calc(100vw-2rem)]",children:(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(r.F,{className:"font-display text-xl font-medium text-cbt-800",children:u?"Sign in to take this readiness check":"Sign in to take assessments"}),(0,t.jsx)(r.C,{className:"mt-1.5 text-sm leading-snug text-muted-foreground",children:u?`The ${u} readiness check is free to take with an Adept account — sign in, or create one to get started.`:"Assessments are free to take with an Adept account — sign in, or create one to get started."})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,t.jsx)("button",{type:"button",onClick:j,disabled:b.authenticating,className:"btn-gradient inline-flex h-11 w-full items-center justify-center rounded-full px-6 text-sm font-semibold text-white transition-opacity hover:opacity-90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-cbt-500 focus-visible:ring-offset-2 disabled:opacity-70",children:b.authenticating?"Signing in…":"Continue with Adept"}),(0,t.jsx)(a.StartCheckoutForm,{intent:{plan:"account-only",returnTo:d,courseId:c},ctaLocation:"assessment-gate",ariaLabel:"Create your account: opens secure Adept checkout; no purchase required",formClassName:"w-full",className:"inline-flex h-11 w-full items-center justify-center rounded-full border border-cbt-300 px-6 text-sm font-semibold text-cbt-700 transition-colors hover:border-cbt-500 hover:text-cbt-500 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-cbt-500 focus-visible:ring-offset-2",children:"Create your account"})]}),b.error&&!b.authenticating&&(0,t.jsx)("p",{className:"text-sm text-muted-foreground",role:"status",children:"Sign-in didn't finish — try again, or create your account."}),(0,t.jsx)("p",{className:"text-sm leading-relaxed text-muted-foreground",children:"Account creation runs on Adept's secure checkout — no purchase required. You'll come back to your assessment signed in."})]})})})]})}])},785058,e=>{var t=e.i(843476),n=e.i(618566),i=e.i(271645),r=e.i(540874),s=e.i(117213),a=e.i(844097),l=e.i(60300),o=e.i(311063),c=e.i(206917),d=e.i(975157);let u={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"},h={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"},m={dark:"text-sm text-cbt-400",light:"text-sm text-muted-foreground"};function f({surface:e,tone:a="light",label:c="Sign in",className:u}){let m=(0,n.usePathname)(),p=(0,r.r)(),b=(0,d.f)(h[a],u),x=(0,i.useRef)(null);return((0,s.f)(x),p)?(0,t.jsx)("button",{ref:x,type:"button",className:b,onClick:()=>{(0,o.p)(`${e}:sign-in`,m),p.login()},children:p.authenticating?"Signing in…":c}):(0,t.jsx)("a",{ref:x,href:l.F,className:b,onClick:()=>(0,o.p)(`${e}:sign-in`,m),children:c})}e.s(["AdeptAccountCta",0,function({surface:e,learnHref:i=l.Y,tone:s="light",prompt:p="Not ready to talk to sales?",continuePrompt:b="You're signed in.",continueLabel:x="Continue in Adept",createLabel:g="Create your account",showBenefits:v=!1,hideWhenAnonymous:w=!1,className:y}){let j=(0,n.usePathname)(),k=(0,r.r)(),N=k?.status==="authenticated",C=u[s],S=h[s],A=m[s];return!N&&w?null:N?(0,t.jsx)("div",{className:y,children:(0,t.jsxs)("p",{className:A,children:[b," ",(0,t.jsxs)("a",{href:i,className:C,onClick:()=>(0,o.p)(`${e}:continue-adept`,j),children:[x," →"]})]})}):(0,t.jsxs)("div",{className:y,children:[(0,t.jsxs)("div",{className:(0,d.f)(A,"leading-8"),children:[p," ",(0,t.jsx)(a.StartCheckoutForm,{intent:{plan:"account-only"},ctaLocation:e,ariaLabel:`${g} (opens secure checkout)`,formClassName:"inline-flex align-middle",className:S,children:g})," ","with no purchase required. Already have an account?"," ",(0,t.jsx)(f,{surface:e,tone:s})]}),v&&(0,t.jsxs)("p",{className:(0,d.f)("mt-1.5",A),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:s,children:"IT Trainerbot"}),", with every answer citing its source video."]})]})},"AdeptSignInAction",0,f])},722888,e=>{var t=e.i(843476);e.s(["l",0,function({resolved:e,pending:n,children:i}){return e?(0,t.jsx)(t.Fragment,{children:i}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"adept-slot-anon",children:i}),(0,t.jsx)("div",{className:"adept-slot-authed",children:n})]})},"F",0,function({label:e="Checking your access",bars:n=3,className:i,barClassName:r="bg-white/10"}){return(0,t.jsxs)("div",{role:"status",className:i,children:[(0,t.jsxs)("span",{className:"sr-only",children:[e,"…"]}),(0,t.jsx)("div",{"aria-hidden":"true",className:"animate-pulse space-y-3",children:Array.from({length:n},(e,n)=>(0,t.jsx)("div",{className:`h-4 rounded ${r}`,style:{width:`${100-18*n}%`}},n))})]})}])},844097,410532,e=>{var t=e.i(843476),n=e.i(271645),i=e.i(618566),r=e.i(632781),s=e.i(686525),a=e.i(975157),l=e.i(405240),o=e.i(311063),c=e.i(541872);let d="https://billing.api.adept.at/checkout/session",u={individual:"120",team:"100","trainerbot-plus":{annual:"210",monthly:"215"},"single-course":"110"},h={individual:["annual"],team:["annual"],"trainerbot-plus":["monthly","annual"]};function m(e){return h[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=b(e),n=[{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");n.push({name:"items[0][subProductId]",value:e.courseId})}let i="team"===e.plan?Math.max(1,Math.floor(e.seats)):1;return n.push({name:"items[0][quantity]",value:String(i)}),n}function p(e){return"individual"===e.plan||"team"===e.plan?m(e.plan):"trainerbot-plus"===e.plan?e.billing??m("trainerbot-plus"):void 0}function b(e){return"trainerbot-plus"===e.plan?u["trainerbot-plus"][e.billing??m("trainerbot-plus")]:u[e.plan]}function x(e,t,n){if("account-only"===e.plan){let i={plan:e.plan,owner_hint_type:"USER",quantity:0,page:t};return e.courseId&&(i.course_id=e.courseId),n&&(i.course_slug=n),i}let i={plan:e.plan,product_id:b(e),owner_hint_type:"team"===e.plan?"ORG":"USER",quantity:"team"===e.plan?Math.max(1,Math.floor(e.seats)):1,page:t},r=p(e);return r&&(i.billing_period=r),"single-course"===e.plan&&(i.course_id=e.courseId,n&&(i.course_slug=n)),i}e.s(["c",0,d,"P",0,p,"Q",0,f,"f",0,x,"B",0,m],410532),e.s(["StartCheckoutForm",0,function({intent:e,courseSlug:u,className:h,ariaLabel:m,formClassName:b,subscriptionCta:g,ctaLocation:v,testId:w,onStart:y,children:j}){let k=(0,i.usePathname)(),N=n.useRef(null),C=n.useRef(null),[S,A]=n.useState(!1),[T,E]=n.useState(null),L=f(e);n.useEffect(()=>{if(!S)return;let e=e=>{e.persisted&&A(!1)};return window.addEventListener("pageshow",e),()=>window.removeEventListener("pageshow",e)},[S]);let $=n.useCallback(t=>{if(S)return void t.preventDefault();E(C.current?.textContent?.trim()||null),A(!0);let n=N.current;n&&function(e){for(let t of Array.from(e.querySelectorAll("input[data-checkout-tracking]")))t.remove();let t=(0,c.B)(),n=(0,s.M)(),{merged:i}=(0,s.y)();for(let[r,a]of[["tracking[anon_id]",t.analytics?n[s.I.ANON_ID]:void 0],["tracking[session_id]",n[s.I.SESSION_ID]],["tracking[gclid]",t.marketing?i.gclid:void 0],["tracking[msclkid]",t.marketing?i.msclkid:void 0],["tracking[wbraid]",t.marketing?i.wbraid:void 0],["tracking[gbraid]",t.marketing?i.gbraid:void 0]]){if(!a)continue;let t=document.createElement("input");t.type="hidden",t.name=r,t.value=a,t.dataset.checkoutTracking="true",e.appendChild(t)}}(n),y?.(),(0,l.f)("checkout_start",{properties:{...x(e,k,u),...v?{cta_location:v}:{}}}),g&&(0,o.C)({ctaText:g.ctaText,subscriptionName:g.subscriptionName,subscriptionPrice:g.subscriptionPrice,page:k,billingPeriod:p(e)})},[S,e,k,u,g,v,y]);return(0,t.jsxs)("form",{ref:N,method:"POST",action:d,onSubmit:$,className:b,children:[L.map(e=>(0,t.jsx)("input",{type:"hidden",name:e.name,value:e.value},e.name)),(0,t.jsxs)("button",{ref:C,type:"submit","aria-label":S?m??T??void 0:m,"aria-busy":S||void 0,"aria-disabled":S||void 0,"data-pending":S||void 0,className:(0,a.f)(h,S&&"relative cursor-progress"),"data-testid":w,children:[(0,t.jsx)("span",{className:(0,a.f)("contents",S&&"invisible"),children:j}),S&&(0,t.jsx)("span",{"aria-hidden":"true",className:"absolute inset-0 flex items-center justify-center",children:(0,t.jsx)(r.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)},798616,e=>{var t=e.i(843476),n=e.i(618566),i=e.i(60300),r=e.i(722888),s=e.i(411186),a=e.i(311063),l=e.i(271645),o=e.i(668109),c=e.i(975157),d=e.i(540874),u=e.i(211539);function h({courseId:e,className:i}){let r=(0,u.j)(e),s=(0,d.r)(),m=(0,n.usePathname)(),[f,p]=l.useState(!1);if(!(null!==r&&(r.access.authenticated||r.billing.authenticated)))return null;let b=!0===r.favorited,x=b?"Remove from favorites":"Add to favorites",g=async()=>{if(!f){if(s&&"unauthenticated"===s.status){(0,a.p)("course-favorite:sign-in",m),await s.login(),(0,u.F)();return}p(!0);try{await (0,u.t)(e,!b)}finally{p(!1)}}};return(0,t.jsx)("button",{type:"button",onClick:()=>void g(),"aria-pressed":b,"aria-label":x,title:x,disabled:f,className:(0,c.f)("focus-on-dark inline-flex size-12 items-center justify-center rounded-full border border-white/20 text-white/85 transition-colors hover:bg-white/10 hover:text-white disabled:opacity-60",b&&"text-cbt-300 hover:text-cbt-200",i),children:(0,t.jsx)(o.f,{"aria-hidden":"true",className:(0,c.f)("size-5",b&&"fill-current")})})}let m="flex flex-wrap items-center gap-4";e.s(["CourseHeroCtas",0,function({courseId:e,adeptCourseSlug:l,marketingCtas:o,alwaysCtas:c}){let d=(0,u.j)(e),f=(0,n.usePathname)();return d?"has-access"===(0,s.p)(d)?(0,t.jsxs)("ul",{className:m,children:[(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:l?(0,i.e)(l):i.Y,onClick:()=>(0,a.p)("course-hero-view-in-adept",f),className:"focus-on-dark btn-gradient inline-flex h-12 items-center rounded-full px-8 text-sm font-semibold text-white shadow-lg shadow-cbt-500/20",children:d.access.isCompleted?"Review in Adept":"Enroll"})}),c,(0,t.jsx)("li",{children:(0,t.jsx)(h,{courseId:e})})]}):(0,t.jsxs)("ul",{className:m,children:[o,c,(0,t.jsx)("li",{children:(0,t.jsx)(h,{courseId:e})})]}):(0,t.jsx)(r.l,{resolved:!1,pending:(0,t.jsxs)("div",{role:"status",className:"inline-flex animate-pulse items-center gap-4",children:[(0,t.jsx)("span",{className:"sr-only",children:"Checking your access…"}),(0,t.jsx)("span",{"aria-hidden":"true",className:"inline-block h-12 w-44 rounded-full bg-white/10"}),(0,t.jsx)("span",{"aria-hidden":"true",className:"inline-block h-12 w-36 rounded-full bg-white/10"})]}),children:(0,t.jsxs)("ul",{className:m,children:[o,c]})})}],798616)},986908,e=>{var t=e.i(843476),n=e.i(271645),i=e.i(716327),r=e.i(975157);let s=/\n\s*\n/,a="mt-3 max-w-2xl text-base leading-relaxed text-ink-muted-dark [&>*+*]:mt-3";e.s(["CourseHeroDescription",0,function({source:e,children:l}){let o=(0,n.useId)(),c=(0,n.useRef)(null),[d,u]=(0,n.useState)(!1),[h,m]=(0,n.useState)(null),f=e.length>68||s.test(e),p=(0,n.useCallback)(()=>{let e=c.current;if(!e)return;let t=!e.classList.contains("line-clamp-2");t&&e.classList.add("line-clamp-2");let n=e.scrollHeight>e.clientHeight+1;t&&e.classList.remove("line-clamp-2"),m(n)},[]);if((0,n.useEffect)(()=>{if(!f)return;p();let e=c.current;if(!e||"u"p());return t.observe(e),()=>t.disconnect()},[f,p]),!f)return(0,t.jsx)("div",{className:a,children:l});let b=!1!==h,x=b&&!d;return(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{id:o,ref:c,className:(0,r.f)(a,x&&"line-clamp-2"),children:l}),b&&(0,t.jsxs)("button",{type:"button",onClick:()=>u(e=>!e),"aria-expanded":d,"aria-controls":o,className:"focus-on-dark -mb-1 inline-flex items-center gap-1 rounded-sm py-2 text-sm font-medium text-cbt-200 transition-colors hover:text-white",children:[d?"Show less":"Show more",(0,t.jsx)(i.f,{className:(0,r.f)("size-3.5 transition-transform duration-200 motion-reduce:transition-none",d&&"rotate-180"),"aria-hidden":"true"})]})]})}])},881278,e=>{var t=e.i(843476),n=e.i(271645),i=e.i(618566);let r=(0,e.i(456420).f)("badge-check",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);var s=e.i(508734),a=e.i(882303),l=e.i(776639),o=e.i(60300),c=e.i(722888),d=e.i(311063),u=e.i(411186),h=e.i(211539);function m({state:e,adeptCourseSlug:n,courseTitle:s}){let a=(0,i.usePathname)(),l=e.access.seatEndsAt?new Date(e.access.seatEndsAt):null;return(0,t.jsxs)("div",{className:"mt-8 flex flex-col items-center justify-between gap-4 rounded-2xl border border-success-500/30 bg-success-500/10 px-6 py-5 sm:flex-row",children:[(0,t.jsxs)("div",{className:"flex items-start gap-3",children:[(0,t.jsx)(r,{"aria-hidden":!0,className:"mt-0.5 size-5 shrink-0 text-success-500"}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-sm font-semibold text-white",children:"You already have access to this course"}),(0,t.jsxs)("p",{className:"mt-0.5 text-sm text-cbt-300",children:[function(e){switch(e){case"sub":return"Covered by your plan";case"enr":return"Single-course enrollment";default:return"Included in your access"}}(e.access.accessType),l&&!Number.isNaN(l.getTime())&&(0,t.jsxs)(t.Fragment,{children:[" — access through ",l.toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})]}),e.access.isCompleted&&". Completed — nice work."]})]})]}),(0,t.jsx)("a",{href:n?(0,o.e)(n):o.Y,onClick:()=>(0,d.p)("course-pricing-view-in-adept",a),"aria-label":`View ${s} in Adept`,className:"focus-on-dark inline-flex h-10 shrink-0 items-center justify-center rounded-full border border-white/20 px-6 text-sm font-semibold text-white transition-colors hover:border-cbt-400 hover:text-cbt-300",children:"View in Adept"})]})}function f({state:e,courseId:r,courseTitle:s,hasSelfServeStrip:l}){let o=(0,i.usePathname)(),[c,u]=n.useState(!1),h=e.billing.orgs[0]?.name||"your organization";return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"mt-8 flex flex-col items-center justify-between gap-4 rounded-2xl border border-white/10 bg-white/5 px-6 py-5 sm:flex-row",children:[(0,t.jsxs)("div",{className:"flex items-start gap-3",children:[(0,t.jsx)(a.f,{"aria-hidden":!0,className:"mt-0.5 size-5 shrink-0 text-cbt-400"}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("p",{className:"text-sm font-semibold text-white",children:["Part of ",h,"? Seats are managed by your team admin"]}),(0,t.jsxs)("p",{className:"mt-0.5 text-sm text-cbt-300",children:["Ask your admin to assign you a seat",l?", or enroll yourself below with a personal purchase.":"."]})]})]}),(0,t.jsx)("button",{type:"button",onClick:()=>{(0,d.p)("course-pricing-request-access",o),u(!0)},className:"focus-on-dark inline-flex h-10 shrink-0 items-center justify-center rounded-full border border-white/20 px-6 text-sm font-semibold text-white transition-colors hover:border-cbt-400 hover:text-cbt-300",children:"Request access"})]}),(0,t.jsx)(p,{open:c,onOpenChange:u,orgName:h,courseId:r,courseTitle:s})]})}function p({open:e,onOpenChange:i,orgName:r,courseId:a,courseTitle:o}){let[c,d]=n.useState(!1),u=`${window.location.origin}${window.location.pathname}`,h=`Hi — could you assign me a CBT Nuggets seat for "${o}"? Course page: ${u} (course id ${a}). Thanks!`,m=async()=>{try{await navigator.clipboard.writeText(h),d(!0),window.setTimeout(()=>d(!1),2e3)}catch{}};return(0,t.jsx)(l.N,{open:e,onOpenChange:i,children:(0,t.jsxs)(l.d,{className:"w-[480px] max-w-[calc(100vw-2rem)] p-6",children:[(0,t.jsx)(l.F,{className:"font-display text-xl font-medium text-cbt-800",children:"Request access from your team admin"}),(0,t.jsxs)(l.C,{className:"mt-2 text-sm text-muted-foreground",children:["Seats for ",r," are assigned by your team's admin. Send them this note — they can add you in the CBT Nuggets admin portal in a couple of clicks."]}),(0,t.jsx)("p",{className:"mt-4 select-all rounded-lg border border-cbt-100 bg-cbt-50/50 p-3 text-sm text-cbt-800",children:h}),(0,t.jsxs)("div",{className:"mt-4 flex items-center justify-end gap-3",children:[(0,t.jsx)("button",{type:"button",onClick:()=>i(!1),className:"inline-flex h-10 items-center rounded-full px-4 text-sm font-medium text-cbt-500 transition-colors hover:text-cbt-700 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-cbt-500 focus-visible:ring-offset-2",children:"Close"}),(0,t.jsxs)("button",{type:"button",onClick:()=>void m(),className:"inline-flex h-10 items-center gap-2 rounded-full btn-gradient px-5 text-sm font-semibold text-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-cbt-500 focus-visible:ring-offset-2",children:[(0,t.jsx)(s.f,{"aria-hidden":!0,className:"size-4"}),c?"Copied":"Copy message"]})]})]})})}e.s(["CoursePricingViewerPanel",0,function({courseId:e,adeptCourseSlug:n,courseTitle:i,children:r}){let s=(0,h.j)(e),a=s?(0,u.p)(s):"anonymous";return s?"anonymous"===a||"self-serve"===a?(0,t.jsx)(t.Fragment,{children:r}):"has-access"===a?(0,t.jsx)(m,{state:s,adeptCourseSlug:n,courseTitle:i}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(f,{state:s,courseId:e,courseTitle:i,hasSelfServeStrip:null!=r}),r]}):(0,t.jsx)(c.l,{resolved:!1,pending:null!=r?(0,t.jsx)("div",{className:"mt-8 rounded-2xl border border-white/10 bg-white/5 px-6 py-5",children:(0,t.jsx)(c.F,{label:"Checking your access",bars:2})}):null,children:r})}],881278)},59490,e=>{var t=e.i(843476),n=e.i(271645),i=e.i(96892),r=e.i(975157);e.s(["BackToTop",0,function({threshold:e=600,className:s,label:a="Back to top"}){let[l,o]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let t=()=>o(window.scrollY>e);t();let n=0,i=()=>{n||(n=window.requestAnimationFrame(()=>{n=0,t()}))};return window.addEventListener("scroll",i,{passive:!0}),()=>{window.removeEventListener("scroll",i),n&&window.cancelAnimationFrame(n)}},[e]),(0,t.jsxs)("button",{type:"button","aria-label":a,inert:!l,onClick:()=>{let e=window.matchMedia("(prefers-reduced-motion: reduce)").matches;window.scrollTo({top:0,behavior:e?"auto":"smooth"})},className:(0,r.f)("group fixed z-40 inline-flex size-12 items-center justify-center rounded-full","border border-border/80 bg-background/90 text-foreground shadow-lg shadow-black/10","backdrop-blur-md transition-[transform,opacity,box-shadow,border-color,color] duration-300 ease-out","hover:-translate-y-0.5 hover:border-cbt-500/60 hover:bg-background hover:text-cbt-600 hover:shadow-xl hover:shadow-cbt-500/15","focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-cbt-500","motion-reduce:transition-none",l?"pointer-events-auto translate-y-0 opacity-100":"pointer-events-none translate-y-3 opacity-0","bottom-[calc(5.5rem+env(safe-area-inset-bottom)+var(--cookie-banner-height,0px))] right-[max(1.25rem,env(safe-area-inset-right))]",s),children:[(0,t.jsx)("span",{"aria-hidden":"true",className:"pointer-events-none absolute inset-0 rounded-full bg-linear-to-br from-cbt-400/0 via-cbt-400/0 to-cbt-500/20 opacity-0 transition-opacity duration-300 group-hover:opacity-100 motion-reduce:transition-none"}),(0,t.jsx)(i.f,{"aria-hidden":"true",className:"relative size-5 transition-transform duration-300 motion-reduce:transition-none"})]})}])},311901,e=>{var t=e.i(843476),n=e.i(975157);e.s(["f",0,function({children:e,className:i,delay:r=0,direction:s="up",skip:a=!1}){if(a)return(0,t.jsx)(t.Fragment,{children:e});let l={up:"translateY(1.5rem)",left:"translateX(1.5rem)",right:"translateX(-1.5rem)",none:void 0}[s];return(0,t.jsx)("div",{className:(0,n.f)("reveal-item",i),style:{"--reveal-delay":`${r}ms`,...l?{transform:l}:null},children:e})}])},620723,e=>{var t=e.i(843476),n=e.i(271645);let i=["level","audience"],r=Object.freeze({level:null,audience:null});function s(e){return null!==e.level||null!==e.audience}function a(e,t){for(let n of i){let i=t[n];if(null!==i&&(!e||!e[n].includes(i)))return!1}return!0}let l=(0,n.createContext)({state:r,setState:()=>{}});function o(e){let{state:t}=(0,n.useContext)(l);return a(e,t)}let c={level:"Level",audience:"Audience"};e.s(["HubFilterChips",0,function({hubPath:e,dimensions:o,courseFacets:d}){let{state:u,setState:h}=(0,n.useContext)(l),m=(0,n.useMemo)(()=>({level:new Set(o.level.map(e=>e.slug)),audience:new Set(o.audience.map(e=>e.slug))}),[o]);(0,n.useEffect)(()=>{var e;let t,n,i=(e=window.location.search,t="string"==typeof e?new URLSearchParams(e):e,{level:(n=e=>{let n=t.get(e);return null!==n&&m[e].has(n)?n:null})("level"),audience:n("audience")});s(i)&&h(i)},[]);let f=(0,n.useCallback)(t=>{h(t),window.history.replaceState(window.history.state,"",function(e,t,n){let r=new URLSearchParams(t);for(let e of i)r.delete(e);for(let e of i){let t=n[e];t&&r.set(e,t)}let s=r.toString();return s?`${e}?${s}`:e}(e,window.location.search,t))},[e,h]),p=d.length,b=(0,n.useMemo)(()=>d.filter(e=>a(e,u)).length,[d,u]),x=s(u),g=i.filter(e=>o[e].length>=2);return 0===g.length?null:(0,t.jsx)("div",{className:"mx-auto max-w-6xl px-6","data-hub-filters":!0,children:(0,t.jsxs)("div",{className:"flex flex-col gap-4 rounded-2xl border border-cbt-100 bg-white p-4 shadow-sm md:p-5",children:[g.map(e=>(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,t.jsx)("span",{id:`hub-filter-${e}-label`,className:"mr-1 text-sm font-semibold text-foreground",children:c[e]}),(0,t.jsx)("div",{role:"group","aria-labelledby":`hub-filter-${e}-label`,className:"flex flex-wrap gap-2",children:o[e].map(n=>{let i=u[e]===n.slug;return(0,t.jsxs)("button",{type:"button","aria-pressed":i,onClick:()=>{var t;return f((t=n.slug,{...u,[e]:u[e]===t?null:t}))},className:`inline-flex min-h-11 items-center gap-1.5 rounded-full border px-4 text-sm font-semibold transition-colors ${i?"border-cbt-700 bg-cbt-700 text-white":"border-cbt-200 bg-white text-foreground hover:border-cbt-400"}`,children:[n.name,(0,t.jsx)("span",{className:i?"text-cbt-100":"text-muted-foreground",children:n.count})]},n.slug)})})]},e)),(0,t.jsx)("p",{className:"text-sm text-muted-foreground","aria-live":"polite",children:x?(0,t.jsxs)(t.Fragment,{children:["Showing ",b," of ",p," ",1===p?"course":"courses","."," ",0===b?"No courses match these filters. ":"",(0,t.jsx)("button",{type:"button",onClick:()=>f(r),className:"inline-flex min-h-11 items-center font-semibold text-cbt-700 underline-offset-4 hover:underline",children:"Clear filters"})]}):(0,t.jsxs)(t.Fragment,{children:[p," ",1===p?"course":"courses",". Pick a level or audience to narrow the list."]})})]})})},"HubFilterDisclosure",0,function({summary:e,children:i}){let{state:r}=(0,n.useContext)(l),a=s(r),[o,c]=(0,n.useState)(!1),d=(0,n.useRef)(null),[u,h]=(0,n.useState)(a);u!==a&&(h(a),a||c(!1));let m=o||a;return(0,n.useEffect)(()=>{let e=d.current;e&&e.open!==m&&(e.open=m)},[m]),(0,t.jsxs)("details",{ref:d,className:"group/fold mt-6",onToggle:e=>{let t=e.currentTarget;if(a){t.open||(t.open=!0);return}c(t.open)},children:[(0,t.jsxs)("summary",{"aria-disabled":a||void 0,onClick:e=>{a&&e.preventDefault()},className:"inline-flex min-h-11 cursor-pointer list-none items-center gap-2 rounded-full border border-cbt-200 bg-white px-5 text-sm font-semibold text-cbt-700 shadow-sm transition-colors hover:border-cbt-400 hover:bg-cbt-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-cbt-500 focus-visible:ring-offset-2 aria-disabled:cursor-default aria-disabled:opacity-60 aria-disabled:hover:border-cbt-200 aria-disabled:hover:bg-white [&::-webkit-details-marker]:hidden",children:[(0,t.jsx)("span",{className:"group-open/fold:hidden",children:e}),(0,t.jsx)("span",{className:"hidden group-open/fold:inline",children:a?"Showing every match":"Show fewer"}),(0,t.jsx)("span",{"aria-hidden":"true",className:"inline-block size-2 rotate-45 border-r-2 border-b-2 border-current transition-transform group-open/fold:-rotate-[135deg]"})]}),(0,t.jsx)("div",{className:"mt-6",children:i})]})},"HubFilterItem",0,function({facets:e,children:n}){return o(e)?(0,t.jsx)(t.Fragment,{children:n}):null},"HubFilterProvider",0,function({children:e}){let[i,s]=(0,n.useState)(r),a=(0,n.useMemo)(()=>({state:i,setState:s}),[i]);return(0,t.jsx)(l.Provider,{value:a,children:e})},"HubFilterSection",0,function({facets:e,children:i}){let{state:r}=(0,n.useContext)(l);return s(r)?e.some(e=>a(e,r))?(0,t.jsx)(t.Fragment,{children:i}):null:(0,t.jsx)(t.Fragment,{children:i})},"useHubFilterVisible",0,o],620723)},189440,e=>{var t=e.i(843476),n=e.i(522016),i=e.i(325164),r=e.i(311901),s=e.i(268863),a=e.i(620723);let l="Preview a free skill";e.s(["TopicCourseCardView",0,function({href:e,slug:o,title:c,accentColor:d,index:u,density:h,headingLevel:m,describedBy:f,badges:p,description:b,trainers:x,videoCount:g,labCount:v,duration:w,freeSkill:y,facets:j,subtitle:k}){let N="verbose"===h,C="row"===h;if(!(0,a.useHubFilterVisible)(j))return null;let S=y?(0,t.jsxs)(s.TrackedLink,{href:y.learnLink,location:`topic-card-free-skill:${o}`,ariaLabel:`${l}: ${y.name}`,className:"topic-card-pill",children:[l,(0,t.jsx)("span",{className:"topic-card-icon topic-card-icon--arrow","aria-hidden":"true"})]}):(0,t.jsx)("span",{className:"topic-card-arrow",children:(0,t.jsx)("span",{className:"topic-card-icon topic-card-icon--arrow","aria-hidden":"true"})}),A=p.map(e=>"labs"===e.kind?(0,t.jsx)("span",{className:"topic-card-badge topic-card-badge--labs",children:"Labs"},"labs"):(0,t.jsx)("span",{className:`topic-card-badge topic-card-badge--${e.kind}`,children:e.label},`${e.kind}:${e.label}`));return(0,t.jsx)(r.f,{delay:Math.min(40*u,320),children:(0,t.jsxs)("div",{className:`topic-card topic-card--${h} group`,children:[(0,t.jsx)("div",{className:"topic-card-bar",style:{backgroundColor:d},"aria-hidden":"true"}),!C&&(0,t.jsx)("div",{className:"topic-card-badges",children:A}),(0,t.jsxs)("div",{className:"topic-card-body",children:[(0,t.jsx)(m,{className:"topic-card-title font-display",children:(0,t.jsxs)(n.default,{href:e,"aria-describedby":f,className:"topic-card-link",children:[(0,t.jsx)("span",{className:"topic-card-title-text",children:c}),k&&(0,t.jsxs)("span",{className:"topic-card-subtitle",children:[(0,t.jsx)("span",{className:"sr-only",children:", "}),k]})]})}),N&&b&&(0,t.jsx)("p",{className:"topic-card-description",children:b}),N&&x&&x.names.length>0&&(0,t.jsxs)("div",{className:"topic-card-trainers",children:[x.avatarSrcs.length>0&&(0,t.jsx)("div",{className:"topic-card-avatars","aria-hidden":"true",children:x.avatarSrcs.map(e=>(0,t.jsx)(i.default,{src:e,alt:"",width:28,height:28,className:"topic-card-avatar"},e))}),(0,t.jsx)("p",{className:"topic-card-trainer-names",children:x.names.join(", ")})]}),(0,t.jsxs)("div",{className:"topic-card-meta",children:[C&&A,g>0&&(0,t.jsxs)("span",{className:"topic-card-stat",children:[(0,t.jsx)("span",{className:"topic-card-icon topic-card-icon--video","aria-hidden":"true"}),(0,t.jsx)("span",{className:"sr-only",children:"Videos: "}),g]}),N&&null!=v&&v>0&&(0,t.jsxs)("span",{className:"topic-card-stat",children:[(0,t.jsx)("span",{className:"topic-card-icon topic-card-icon--flask","aria-hidden":"true"}),(0,t.jsx)("span",{className:"sr-only",children:"Virtual labs: "}),v]}),w&&(0,t.jsxs)("span",{className:"topic-card-stat",children:[(0,t.jsx)("span",{className:"topic-card-icon topic-card-icon--clock","aria-hidden":"true"}),(0,t.jsx)("span",{className:"sr-only",children:"Duration: "}),w]}),!C&&S]})]}),C&&(0,t.jsx)("div",{className:"topic-card-action",children:S})]})})}])},203771,e=>{var t=e.i(843476),n=e.i(271645),i=e.i(522016),r=e.i(975157);e.s(["TopicOutline",0,function({items:e}){let[s,a]=(0,n.useState)(null);return((0,n.useEffect)(()=>{if(e.length<3)return;let t=0,n=()=>{t=0;let n=e.map(e=>{let t=document.getElementById(e.id);return t?t.getBoundingClientRect().top:null}),i=document.documentElement,r=function(e,{line:t=128,atBottom:n=!1}={}){let i=e.map((e,t)=>null===e?-1:t).filter(e=>e>=0);if(0===i.length)return -1;if(n)return i[i.length-1];let r=i[0];for(let n of i)e[n]<=t&&(r=n);return r}(n,{atBottom:window.innerHeight+window.scrollY>=i.scrollHeight-2});a(r>=0?e[r].id:null)},i=()=>{0===t&&(t=window.requestAnimationFrame(n))};return n(),window.addEventListener("scroll",i,{passive:!0}),window.addEventListener("resize",i),window.addEventListener("hashchange",i),()=>{0!==t&&window.cancelAnimationFrame(t),window.removeEventListener("scroll",i),window.removeEventListener("resize",i),window.removeEventListener("hashchange",i)}},[e]),e.length<3)?null:(0,t.jsx)("nav",{"aria-label":"On this page",className:"pointer-events-none absolute inset-y-0 right-[max(0.5rem,calc(50vw-49.5rem))] z-30 hidden w-48 min-[1600px]:block",children:(0,t.jsxs)("div",{className:"pointer-events-auto sticky top-24 rounded-2xl border border-cbt-100 bg-white/95 p-4 shadow-sm backdrop-blur",children:[(0,t.jsx)("p",{className:"text-overline mb-3 text-cbt-700",children:"On this page"}),(0,t.jsx)("ol",{className:"space-y-1 text-sm",children:e.map(e=>{let n=e.id===s;return(0,t.jsx)("li",{children:(0,t.jsx)(i.default,{href:`#${e.id}`,"aria-current":n?"location":void 0,className:(0,r.f)("block rounded-md px-2 py-1 transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-cbt-600 focus-visible:ring-offset-2",n?"bg-cbt-50 font-semibold text-cbt-700":"text-muted-foreground hover:bg-cbt-50/60 hover:text-cbt-700"),children:e.label})},e.id)})})]})})}])},145708,e=>{var t=e.i(843476),n=e.i(522016),i=e.i(618566),r=e.i(570590);e.s(["CoursePricingCrossSell",0,function(){return"present"===(0,i.useSearchParams)().get("ctx")?(0,t.jsx)(n.default,{href:r.Q,className:"text-sm font-medium text-cbt-300 underline-offset-4 hover:text-white hover:underline",children:"Discuss this course with your CBT Nuggets contact"}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.default,{href:"/pricing",className:"text-sm font-medium text-cbt-300 underline-offset-4 hover:text-white hover:underline",children:"See plans and pricing for your team"}),(0,t.jsxs)("p",{className:"text-sm text-cbt-500",children:["Need access for just one person?"," ",(0,t.jsx)(n.default,{href:"/pricing",className:"text-cbt-400 underline underline-offset-4 hover:text-cbt-300",children:"See individual options"})]})]})}])},206299,e=>{var t=e.i(271645);e.s(["FaqDeepLinkOpener",0,function(){return(0,t.useEffect)(()=>{let e=()=>{let e,{hash:t}=window.location;if(!t.startsWith("#faq-"))return;try{e=decodeURIComponent(t.slice(1))}catch{return}let n=document.getElementById(e);n instanceof HTMLDetailsElement&&!n.open&&(n.open=!0,n.scrollIntoView())};return e(),window.addEventListener("hashchange",e),()=>window.removeEventListener("hashchange",e)},[]),null}])},112793,e=>{var t=e.i(843476),n=e.i(271645),i=e.i(618566),r=e.i(689664),s=e.i(926894),a=e.i(456420);let l=(0,a.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"}]]),o=(0,a.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),d=e.i(311063),u=e.i(293995);let h={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(h);var m=e.i(975157);e.s(["ShareButton",0,function({url:e,title:a,surface:f,className:p}){let b=(0,i.usePathname)()??"/",x=(0,n.useId)(),g=(0,n.useRef)(null),v=(0,n.useRef)(null),w=(0,n.useRef)(null),y=(0,n.useRef)(null),[j,k]=(0,n.useState)(!1),[N,C]=(0,n.useState)(null),[S,A]=(0,n.useState)(!1),[T,E]=(0,n.useState)(""),L=()=>a??("u">typeof document?document.title:""),$=(0,n.useCallback)(e=>{E(e),y.current&&clearTimeout(y.current),y.current=setTimeout(()=>E(""),2500)},[]),R=(0,n.useCallback)((e=!1)=>{k(!1),e&&v.current?.focus()},[]);(0,n.useEffect)(()=>{if(j)return w.current?.querySelector('[role="menuitem"]')?.focus(),document.addEventListener("mousedown",e),document.addEventListener("keydown",t),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("keydown",t)};function e(e){g.current&&!g.current.contains(e.target)&&R()}function t(e){"Escape"===e.key&&(e.preventDefault(),R(!0))}},[j,R]),(0,n.useEffect)(()=>()=>{y.current&&clearTimeout(y.current)},[]);let F=e=>(function({url:e,channel:t,campaign:n}){let i=new URL("string"==typeof e?e:e.href),r=(0,u.a)(i.search),s=new URLSearchParams(r.startsWith("?")?r.slice(1):r);return s.set("utm_source",t),s.set("utm_medium","share"),n&&s.set("utm_campaign",n),`${i.origin}${i.pathname}?${s.toString()}${i.hash}`})({url:N??window.location.href,channel:e}),I=e=>(0,d.p)(`share:${f}`,b,{channel:e}),z=async()=>{I("copy_link");let e=F("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()=>{I("web_share");try{await navigator.share({url:F("web_share"),title:L()})}catch{}R(!0)},_=[{channel:"linkedin",label:`Share on ${h.linkedin}`},{channel:"x",label:`Share on ${h.x}`},{channel:"email",label:"Share by email"}],O="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:g,className:(0,m.f)("relative",p),onBlur:e=>{let t=e.relatedTarget;t instanceof Node&&(e.currentTarget.contains(t)||R())},children:[(0,t.jsxs)(c.K,{ref:v,type:"button",variant:"outline",size:"sm","data-testid":"share-button","aria-haspopup":"menu","aria-expanded":j,"aria-controls":j?x:void 0,"aria-label":"Share this page",onClick:()=>{j?R():(C(e??window.location.href),A("u">typeof navigator&&"function"==typeof navigator.share),k(!0))},children:[(0,t.jsx)(o,{className:"mr-1.5 size-4","aria-hidden":!0}),"Share"]}),j?(0,t.jsxs)("div",{id:x,ref:w,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(w.current?.querySelectorAll('[role="menuitem"]')??[]);if(0===t.length)return;let n=t.findIndex(e=>e===document.activeElement),i=e=>t[(e+t.length)%t.length]?.focus();switch(e.key){case"ArrowDown":e.preventDefault(),i(n+1);break;case"ArrowUp":e.preventDefault(),i(n-1);break;case"Home":e.preventDefault(),i(0);break;case"End":e.preventDefault(),i(t.length-1)}},children:[(0,t.jsxs)("button",{type:"button",role:"menuitem",className:O,"data-share-channel":"copy_link",onClick:()=>void z(),children:[(0,t.jsx)(s.f,{className:"size-4","aria-hidden":!0}),"Copy link"]}),_.map(({channel:e,label:n})=>(0,t.jsxs)("a",{role:"menuitem",className:O,"data-share-channel":e,href:function({channel:e,url:t,title:n}){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(n)}`;case"email":return`mailto:?subject=${encodeURIComponent(n)}&body=${encodeURIComponent(`${n} ${t}`)}`}}({channel:e,url:F(e),title:L()}),..."email"===e?{}:{target:"_blank",rel:"noopener noreferrer"},onClick:()=>{I(e),R()},children:["email"===e?(0,t.jsx)(l,{className:"size-4","aria-hidden":!0}):(0,t.jsx)(o,{className:"size-4","aria-hidden":!0}),n]},e)),S?(0,t.jsxs)("button",{type:"button",role:"menuitem",className:O,"data-share-channel":"web_share",onClick:()=>void P(),children:[(0,t.jsx)(o,{className:"size-4","aria-hidden":!0}),"More options…"]}):null]}):null,(0,t.jsx)("span",{role:"status","aria-live":"polite",className:(0,m.f)(T?"absolute right-0 top-full mt-1 inline-flex items-center gap-1 whitespace-nowrap text-sm text-muted-foreground":"sr-only"),children:T?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.f,{className:"size-3","aria-hidden":!0}),T]}):null})]})}],112793)},950182,e=>{var t=e.i(843476),n=e.i(271645);e.s(["ServerOnlyHtml",0,function({token:e,as:i,lazySrc:r,lazyTrigger:s="mount",...a}){let l=(0,n.useRef)(null),[o,c]=(0,n.useState)(null);return(0,n.useEffect)(()=>{let e=l.current;if(!r||!e||e.firstChild)return;let t=!1,n=()=>{fetch(r,{headers:{Accept:"text/html"}}).then(e=>e.ok?e.text():"").then(e=>{!t&&e&&c(e)}).catch(()=>{})};if("details-open"===s){let i=e.closest("details");if(i&&!i.open){let e=()=>{i.open&&n()};return i.addEventListener("toggle",e,{once:!0}),()=>{t=!0,i.removeEventListener("toggle",e)}}}return n(),()=>{t=!0}},[r,s]),(0,t.jsx)(i??"div",{...a,ref:l,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:o??null??""}})}])},206917,e=>{var t=e.i(843476),n=e.i(768877),i=e.i(268863),r=e.i(975157);let s="/trainerbot",a=/IT[ \u00A0]Trainerbot(?:[ \u00A0]Plus)?/g;function l(e){return a.lastIndex=0,a.test(e)}let o={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:n="light",className:a,children:l}){return(0,t.jsx)(i.TrackedLink,{href:s,location:`trainerbot-term:${e}`,className:(0,r.f)(o[n],a),children:l})}let d={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:a="light",className:l}){return(0,t.jsxs)(i.TrackedLink,{href:s,location:`trainerbot-term:${e}`,className:(0,r.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",d[a],l),children:["Learn more"," ",(0,t.jsx)("span",{className:"sr-only",children:"about IT Trainerbot"}),(0,t.jsx)(n.f,{className:"size-3.5","aria-hidden":"true"})]})},"h",0,c,"w",0,l,"l",0,function(e,n){if(!l(e))return e;let i=[],r=0;for(let s of(a.lastIndex=0,e.matchAll(a))){let a=s.index;a>r&&i.push(e.slice(r,a)),i.push((0,t.jsx)(c,{...n,children:s[0]},`${a}-${s[0]}`)),r=a+s[0].length}return r{var t=e.i(843476),n=e.i(618566),i=e.i(522016),r=e.i(711241);let s=/^[a-z0-9]+(?:-[a-z0-9]+)*$/;e.s(["ProposalContextBanner",0,function(){let e=(0,n.useSearchParams)(),a=e.get("ctx"),l=e.get("slug");if("present"!==a||!l||!s.test(l))return null;let o=`/present/${l}/it-training`;return(0,t.jsx)("div",{role:"region","aria-label":"Sales proposal context",className:"sticky top-16 z-30 border-b border-cbt-200 bg-cbt-50/95 backdrop-blur supports-backdrop-filter:bg-cbt-50/85",children:(0,t.jsxs)("div",{className:"mx-auto flex max-w-6xl flex-wrap items-center gap-x-3 gap-y-1 px-6 py-3 text-sm",children:[(0,t.jsxs)(i.default,{href:o,className:"inline-flex min-h-11 items-center gap-1.5 font-semibold text-cbt-700 hover:text-cbt-800",children:[(0,t.jsx)(r.f,{className:"size-4","aria-hidden":!0}),"Back to your proposal"]}),(0,t.jsx)("span",{className:"text-muted-foreground",children:"Your tailored proposal is one click back — this is the public course page."})]})})}])},854453,e=>{var t=e.i(843476),n=e.i(522016),i=e.i(271645),r=e.i(117213);e.s(["CtaLink",0,function({describedBy:e,children:s,...a}){let l=(0,i.useRef)(null);return(0,r.f)(l,e),(0,t.jsx)(n.default,{ref:l,"aria-describedby":e,...a,children:s})}])},87791,e=>{var t=e.i(843476),n=e.i(271645),i=e.i(975157);e.s(["ScrollRegion",0,function({as:e,label:r,labelledBy:s,className:a,children:l,...o}){let c=(0,n.useRef)(null);return(0,n.useEffect)(()=>{let e=c.current;if(!e)return;let t={label:r,labelledBy:s},n=()=>{var n;return n=e.scrollWidth>e.clientWidth+1||e.scrollHeight>e.clientHeight+1,void(e.setAttribute("data-measured","true"),n?(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(n(),"u"i.disconnect()},[r,s]),(0,t.jsx)(e??"div",{ref:c,"data-slot":"scroll-region",className:(0,i.f)("overflow-x-auto",a),...o,children:l})}])},411186,211539,e=>{let t={access:{authenticated:!1,hasSeat:!1,accessType:null,isCompleted:!1,seatEndsAt:null},billing:{authenticated:!1,hasOrg:!1,canManageBilling:!1,orgs:[]},favorited:null};e.s(["O",0,t,"p",0,function(e){return e.access.authenticated||e.billing.authenticated?e.access.hasSeat?"has-access":e.billing.hasOrg&&!e.billing.canManageBilling?"org-member":"self-serve":"anonymous"}],411186);var n=e.i(271645);let i=null;function r(e){for(let t of e.listeners)t()}function s(e){return i&&i.courseId===e||(i={courseId:e,state:null,fetchedAt:0,listeners:new Set,inFlight:null}),i}function a(e){e.inFlight||null!==e.state&&Date.now()-e.fetchedAt<6e4||(e.inFlight=fetch(`/api/marketing/course-viewer-state?courseId=${encodeURIComponent(e.courseId)}`,{credentials:"same-origin",headers:{Accept:"applicationhttps://www.cbtnuggets.com/json"}}).then(async n=>{e.state=n.ok?await n.json():t}).catch(()=>{e.state=t}).then(()=>{e.fetchedAt=Date.now(),e.inFlight=null,r(e)}))}async function l(e,t){let n=s(e),i=n.state;i&&(n.state={...i,favorited:t},r(n));try{let n=await fetch("/api/marketing/favorites",{method:"POST",credentials:"same-origin",headers:{"Content-Type":"applicationhttps://www.cbtnuggets.com/json"},body:JSON.stringify({courseId:e,favorited:t})});if(!n.ok)throw Error(`favorites POST ${n.status}`);return t}catch{return n.state&&i&&(n.state={...n.state,favorited:i.favorited},r(n)),!t}}e.s(["F",0,function(){i&&(i.state=null,i.fetchedAt=0,a(i))},"t",0,l,"j",0,function(e){let t=(0,n.useCallback)(t=>{let n=s(e);return n.listeners.add(t),a(n),()=>{n.listeners.delete(t)}},[e]),i=(0,n.useCallback)(()=>s(e).state,[e]);return(0,n.useSyncExternalStore)(t,i,()=>null)}],211539)},429592,e=>{var t=e.i(843476),n=e.i(271645);e.s(["ConsentEmbed",0,function({url:e}){let i,[r,s]=(0,n.useState)(!1),a=(i=e.match(/(?:youtube\.com\/(?:watch\?v=|embed\/)|youtu\.be\/)([a-zA-Z0-9_-]{11})/),i?.[1]??null);return a?r?(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/${a}`,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:()=>s(!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"]),n=["utm_"];function i(e){var i;let r;if(!e||!e.includes("?"))return e;let[s,a]=-1===(r=(i=e).indexOf("?"))?[i,void 0]:[i.slice(0,r),i.slice(r+1)];if(!a)return s;let l=new URLSearchParams(a),o=new URLSearchParams;for(let[e,i]of l.entries())!function(e){let i=e.toLowerCase();return!!t.has(i)||n.some(e=>i.startsWith(e))}(e)&&o.append(e,i);let c=o.toString();return c?`${s}?${c}`:s}let r=new Set(["www.cbtnuggets.com","cbtnuggets.com","newcbt.cbtnuggets.com"]);e.s(["G",0,function(e){let t=i(e);if(t.startsWith("/"))return t;try{let e=new URL(t);if(r.has(e.hostname))return`${e.pathname}${e.search}`}catch{}return t},"a",0,i])}])})();