(()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,768877,e=>{let t=(0,e.i(456420).f)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);e.s(["f",0,t],768877)},26495,e=>{let t=(0,e.i(456420).f)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["f",0,t])},716327,e=>{var t=e.i(26495);e.s(["f",()=>t.f])},593583,e=>{let t=(0,e.i(456420).f)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]);e.s(["f",0,t],593583)},566595,e=>{let t=(0,e.i(456420).f)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);e.s(["f",0,t],566595)},808341,(e,t,n)=>{Object.defineProperty(n,"__esModule",{value:!0});var r={cancelIdleCallback:function(){return o},requestIdleCallback:function(){return a}};for(var i in r)Object.defineProperty(n,i,{enumerable:!0,get:r[i]});let a="u">typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},o="u">typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},479520,(e,t,n)=>{Object.defineProperty(n,"__esModule",{value:!0});var r={default:function(){return w},handleClientScriptLoad:function(){return g},initScriptLoader:function(){return y}};for(var i in r)Object.defineProperty(n,i,{enumerable:!0,get:r[i]});let a=e.r(555682),o=e.r(190809),l=e.r(843476),s=a._(e.r(174080)),c=o._(e.r(271645)),u=e.r(742732),d=e.r(922737),f=e.r(808341),m=e.r(519083),p=new Map,b=new Set,h=e=>{let{src:t,id:n,onLoad:r=()=>{},onReady:i=null,dangerouslySetInnerHTML:a,children:o="",strategy:l="afterInteractive",onError:c,stylesheets:u}=e,f=n||t;if(f&&b.has(f))return;if(p.has(t)){b.add(f),p.get(t).then(r,c);return}let m=()=>{i&&i(),b.add(f)},h=document.createElement("script"),g=new Promise((e,t)=>{h.addEventListener("load",function(t){e(),r&&r.call(this,t),m()}),h.addEventListener("error",function(e){t(e)})}).catch(function(e){c&&c(e)});a?(h.innerHTML=a.__html||"",m()):o?(h.textContent="string"==typeof o?o:Array.isArray(o)?o.join(""):"",m()):t&&(h.src=t,p.set(t,g)),(0,d.setAttributesFromProps)(h,e),"worker"===l&&h.setAttribute("type","text/partytown"),h.setAttribute("data-nscript",l),u&&(e=>{if(s.default.preinit)return e.forEach(e=>{s.default.preinit(e,{as:"style"})});if("u">typeof window){let t=document.head;e.forEach(e=>{let n=document.createElement("link");n.type="text/css",n.rel="stylesheet",n.href=e,t.appendChild(n)})}})(u),document.body.appendChild(h)};function g(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,f.requestIdleCallback)(()=>h(e))}):h(e)}function y(e){e.forEach(g),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");b.add(t)})}function v(e){let{id:t,src:n="",onLoad:r=()=>{},onReady:i=null,strategy:a="afterInteractive",onError:o,stylesheets:d,...p}=e,{updateScripts:g,scripts:y,getIsSsr:v,appDir:w,nonce:x}=(0,c.useContext)(u.HeadManagerContext);x=p.nonce||x;let k=(0,c.useRef)(!1);(0,c.useEffect)(()=>{let e=t||n;k.current||(i&&e&&b.has(e)&&i(),k.current=!0)},[i,t,n]);let S=(0,c.useRef)(!1);if((0,c.useEffect)(()=>{if(!S.current){if("afterInteractive"===a)h(e);else"lazyOnload"===a&&("complete"===document.readyState?(0,f.requestIdleCallback)(()=>h(e)):window.addEventListener("load",()=>{(0,f.requestIdleCallback)(()=>h(e))}));S.current=!0}},[e,a]),("beforeInteractive"===a||"worker"===a)&&(g?(y[a]=(y[a]||[]).concat([{id:t,src:n,onLoad:r,onReady:i,onError:o,...p,nonce:x}]),g(y)):v&&v()?b.add(t||n):v&&!v()&&h({...e,nonce:x})),w){if(d&&d.forEach(e=>{s.default.preinit(e,{as:"style"})}),"beforeInteractive"===a)if(!n)return p.dangerouslySetInnerHTML&&(p.children=p.dangerouslySetInnerHTML.__html,delete p.dangerouslySetInnerHTML),(0,l.jsx)("script",{nonce:x,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,m.htmlEscapeJsonString)(JSON.stringify([0,{...p,id:t}]))})`}});else return s.default.preload(n,p.integrity?{as:"script",integrity:p.integrity,nonce:x,crossOrigin:p.crossOrigin}:{as:"script",nonce:x,crossOrigin:p.crossOrigin}),(0,l.jsx)("script",{nonce:x,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,m.htmlEscapeJsonString)(JSON.stringify([n,{...p,id:t}]))})`}});"afterInteractive"===a&&n&&s.default.preload(n,p.integrity?{as:"script",integrity:p.integrity,nonce:x,crossOrigin:p.crossOrigin}:{as:"script",nonce:x,crossOrigin:p.crossOrigin})}return null}Object.defineProperty(v,"__nextScript",{value:!0});let w=v;("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},90317,(e,t,n)=>{Object.defineProperty(n,"__esModule",{value:!0});var r={bindSnapshot:function(){return u},createAsyncLocalStorage:function(){return s},createSnapshot:function(){return d},getOrCreateGlobalAsyncLocalStorage:function(){return c}};for(var i in r)Object.defineProperty(n,i,{enumerable:!0,get:r[i]});let a=Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available");class o{disable(){throw a}getStore(){}run(){throw a}exit(){throw a}enterWith(){throw a}static bind(e){return e}}let l="u">typeof globalThis&&globalThis.AsyncLocalStorage;function s(){return l?new l:new o}function c(e){let t=Symbol.for(`@next/${e}@16.4.0`),n=globalThis;return n[t]??=s()}function u(e){return l?l.bind(e):o.bind(e)}function d(){return l?l.snapshot():function(e,...t){return e(...t)}}},242344,(e,t,n)=>{Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"workAsyncStorageInstance",{enumerable:!0,get:function(){return r}});let r=(0,e.r(90317).getOrCreateGlobalAsyncLocalStorage)("work-async-storage")},563599,(e,t,n)=>{Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"workAsyncStorage",{enumerable:!0,get:function(){return r.workAsyncStorageInstance}});let r=e.r(242344)},770703,(e,t,n)=>{Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return i}});let r=e.r(555682)._(e.r(869093));function i(e,t){let n={};"function"==typeof e&&(n.loader=e);let i={...n,...t};return(0,r.default)({...i,modules:i.loadableGenerated?.modules})}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},309885,(e,t,n)=>{function r(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"encodeURIPath",{enumerable:!0,get:function(){return r}})},519083,(e,t,n)=>{Object.defineProperty(n,"__esModule",{value:!0});var r={ESCAPE_REGEX:function(){return o},htmlEscapeAttributeString:function(){return u},htmlEscapeJsonString:function(){return c}};for(var i in r)Object.defineProperty(n,i,{enumerable:!0,get:r[i]});let a={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},o=/[&><\u2028\u2029]/g,l={"&":"&",'"':""","'":"'","<":"<",">":">"},s=/[&"'<>]/g;function c(e){return e.replace(o,e=>a[e])}function u(e){return e.replace(s,e=>l[e])}},667585,(e,t,n)=>{e.i(247167),Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"BailoutToCSRForNextDynamic",{enumerable:!0,get:function(){return o}});let r=e.r(271645),i=e.r(174080);e.r(132061);let a=e.r(349354).createReactBrowserBailoutReason.bind(null,"next/dynamic");function o({children:e}){return(0,r.use)((0,i.browser)(a)),e}},869093,(e,t,n)=>{Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return c}});let r=e.r(843476),i=e.r(271645),a=e.r(667585),o=e.r(652157);function l(e){return{default:e&&"default"in e?e.default:e}}let s={loader:()=>Promise.resolve(l(()=>null)),loading:null,ssr:!0},c=function(e){let t={...s,...e},n=(0,i.lazy)(()=>t.loader().then(l)),c=t.loading;function u(e){let l=c?(0,r.jsx)(c,{isLoading:!0,pastDelay:!0,error:null}):null,s=!t.ssr||!!t.loading,u=s?i.Suspense:i.Fragment,d=t.ssr?(0,r.jsxs)(r.Fragment,{children:["u"{Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"PreloadChunks",{enumerable:!0,get:function(){return s}});let r=e.r(843476),i=e.r(174080),a=e.r(563599),o=e.r(309885),l=e.r(543369);function s({moduleIds:e}){if("u">typeof window)return null;let t=a.workAsyncStorage.getStore();if(void 0===t)return null;let n=[];if(t.reactLoadableManifest&&e){let r=t.reactLoadableManifest;for(let t of e){if(!r[t])continue;let e=r[t].files;n.push(...e)}}if(0===n.length)return null;let c=(0,l.getAssetTokenQuery)();return(0,r.jsx)(r.Fragment,{children:n.map(e=>{let n=`${t.assetPrefix}/_next/${(0,o.encodeURIPath)(e)}${c}`;return e.endsWith(".css")?(0,r.jsx)("link",{precedence:"dynamic",href:n,rel:"stylesheet",as:"style",nonce:t.nonce},e):((0,i.preload)(n,{as:"script",fetchPriority:"low",nonce:t.nonce}),null)})})}},349354,(e,t,n)=>{Object.defineProperty(n,"__esModule",{value:!0});var r={createReactBrowserBailoutReason:function(){return o},getReactBrowserBailoutReason:function(){return l},isNextBrowserBailoutError:function(){return s}};for(var i in r)Object.defineProperty(n,i,{enumerable:!0,get:r[i]});let a=Symbol.for("next.browser-bailout-reason");function o(e){return{$$typeof:a,reason:e}}function l(e){let t=e?.cause;return t?.$$typeof===a?t.reason:void 0}function s(e){return void 0!==l(e)}},420499,e=>{var t=e.i(843476),n=e.i(271645),r=e.i(770703);let i=(0,r.default)(()=>e.A(473555).then(e=>e.Analytics),{loadableGenerated:{modules:[836270]},ssr:!1}),a=(0,r.default)(()=>e.A(967141).then(e=>e.SpeedInsights),{loadableGenerated:{modules:[255343]},ssr:!1});e.s(["DeferredAnalytics",0,function(){let[e,r]=(0,n.useState)(!1);return((0,n.useEffect)(()=>{let e="function"==typeof window.requestIdleCallback?window.requestIdleCallback.bind(window):e=>window.setTimeout(()=>e({didTimeout:!1,timeRemaining:()=>0}),1),t="function"==typeof window.cancelIdleCallback?window.cancelIdleCallback.bind(window):e=>window.clearTimeout(e),n=e(()=>r(!0),{timeout:500});return()=>t(n)},[]),e)?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i,{}),(0,t.jsx)(a,{})]}):null}])},698462,e=>{var t=e.i(843476),n=e.i(271645),r=e.i(618566),i=e.i(541872),a=e.i(405240),o=e.i(686525),l=e.i(15942),s=e.i(570590);function c(e){return(e.textContent?.replace(/\s+/g," ").trim()||e.getAttribute("aria-label")?.trim()||"").slice(0,120)}function u(){let e=(0,r.usePathname)(),t=(0,r.useSearchParams)(),u=(0,n.useRef)(!0),d=t.toString();return(0,n.useEffect)(()=>{if(u.current){u.current=!1;return}(0,o.Y)(e,d)||(0,a.f)("page_view",{event_type:"page"})},[e,d]),(0,n.useEffect)(()=>(function(e,t=()=>performance.now()){let n=!1,r=!1,o=0,s="visible"===document.visibilityState?t():null,c=null,u=()=>{null!==c&&clearTimeout(c),c=null},d=()=>l.Z-o-(null===s?0:t()-s),f=()=>{n||!r||d()>0||(n=!0,u(),(0,a.f)("page_engaged",{properties:{engaged_ms:l.Z,page:e}}))},m=()=>{u(),n||null===s||(c=setTimeout(f,Math.max(0,d())))},p=()=>{"visible"===document.visibilityState?(null===s&&(s=t()),m()):(null!==s&&(o+=t()-s),s=null,u())};document.addEventListener("visibilitychange",p);let b=(0,i.Z)(()=>{r=!0,f(),m()});return m(),()=>{u(),b(),document.removeEventListener("visibilitychange",p)}})(e),[e,d]),(0,n.useEffect)(()=>{let e=e=>{let t,n=e.target?.closest?.("a[href]");if(n instanceof HTMLAnchorElement){try{t=new URL(n.href,window.location.href)}catch{return}if("learn.adept.at"===t.hostname)return void(0,a.f)("signup_start",{properties:{target_url:t.toString(),source_page:window.location.pathname,cta_text:c(n)}});if(t.origin===window.location.origin&&(t.pathname===s.Q||t.pathname.startsWith(`${s.Q}/`))){let e=window.location.pathname;if(e===s.Q||e.startsWith(`${s.Q}/`))return;(0,a.f)("demo_cta_click",{properties:{target_url:t.pathname+t.search+t.hash,source_page:window.location.pathname,cta_text:c(n)}})}}};return document.addEventListener("click",e,!0),()=>document.removeEventListener("click",e,!0)},[]),null}e.s(["PageViewTracker",0,function(){return(0,t.jsx)(n.Suspense,{fallback:null,children:(0,t.jsx)(u,{})})}])},941568,e=>{var t=e.i(843476),n=e.i(790235),r=e.i(540874);let i=(0,n.m)();async function a(){let e=await (0,n.c)();if(!e)throw Error("[adept-connect] client is not configured");return e}function o(){return(0,n.U)()??void 0}e.s(["AdeptConnectProvider",0,function({children:e}){return i?(0,t.jsx)(r.m,{loadClient:a,peekClient:o,children:e}):(0,t.jsx)(t.Fragment,{children:e})}])},842879,e=>{var t=e.i(843476),n=e.i(271645),r=e.i(998082),i=e.i(541872),a=e.i(522016);function o({visible:e,onAcceptAll:r,onRejectAll:i,onManagePreferences:l,onManageIntent:s}){let c=(0,n.useRef)(null);return((0,n.useLayoutEffect)(()=>{let t=c.current;if(!e||!t)return void document.documentElement.style.removeProperty("--cookie-banner-height");let n=()=>{document.documentElement.style.setProperty("--cookie-banner-height",`${t.offsetHeight}px`)};n();let r=new ResizeObserver(n);return r.observe(t),()=>{r.disconnect(),document.documentElement.style.removeProperty("--cookie-banner-height")}},[e]),e)?(0,t.jsxs)("div",{ref:c,role:"region","aria-live":"polite","aria-label":"Cookie consent","aria-describedby":"cookie-banner-desc","data-cookie-banner":"",className:"bg-surface-darker fixed inset-x-0 bottom-0 z-[var(--z-cookie)] px-6 py-5 shadow-xl",children:[(0,t.jsx)("noscript",{dangerouslySetInnerHTML:{__html:""}}),(0,t.jsxs)("div",{className:"mx-auto flex max-w-5xl flex-wrap items-center justify-center gap-6 md:flex-nowrap",children:[(0,t.jsxs)("p",{id:"cookie-banner-desc",className:"max-w-xl text-center text-sm leading-relaxed text-cbt-200 md:text-left",children:["We use cookies to enhance your experience and analyze site traffic. You can choose which cookies to accept."," ",(0,t.jsx)(a.default,{href:"/privacy",className:"text-cbt-400 underline underline-offset-2 hover:text-white",children:"Learn more about our privacy practices"})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row",children:[(0,t.jsx)("button",{type:"button",onClick:r,className:"btn-gradient rounded-md px-5 py-2.5 text-sm font-semibold text-white",children:"Accept All"}),(0,t.jsx)("button",{type:"button",onClick:i,className:"rounded-md border border-white/40 px-5 py-2.5 text-sm font-semibold text-white transition-colors hover:bg-white/10",children:"Reject All"}),(0,t.jsx)("button",{type:"button",onClick:l,onPointerEnter:s,onFocus:s,onTouchStart:s,className:"rounded-md border border-cbt-400/50 px-5 py-2.5 text-sm font-semibold text-cbt-400 transition-colors hover:bg-cbt-400/10",children:"Manage Preferences"})]})]})]}):null}let l=(0,n.lazy)(()=>e.A(596680).then(e=>({default:e.ConsentModal})));function s(){e.A(596680).catch(()=>void 0)}e.s(["ConsentManager",0,function(){let[e,a]=(0,n.useState)(!0),[c,u]=(0,n.useState)(!1),[d,f]=(0,n.useState)(!1),[m,p]=(0,n.useState)(i.F),[b,h]=(0,n.useState)(null),g=(0,n.useCallback)(()=>{h(document.activeElement instanceof HTMLElement?document.activeElement:null),f(!0),u(!0)},[]),y=(0,n.useCallback)(()=>{u(!1),f(!1)},[]);(0,n.useEffect)(()=>{let e=e=>{p(e.detail),a(!1),u(!1)},t=()=>g();return window.addEventListener("cbt_consent_update",e),window.addEventListener("cbt_open_consent_modal",t),()=>{window.removeEventListener("cbt_consent_update",e),window.removeEventListener("cbt_open_consent_modal",t)}},[g]),(0,n.useEffect)(()=>{let e=requestAnimationFrame(()=>{let e=(0,i.T)(),t=e&&(0,i.K)(e);e&&p(e),a(!t)});return()=>cancelAnimationFrame(e)},[]);let v=(0,n.useCallback)(()=>{p((0,i.a)()),a(!1),u(!1)},[]),w=(0,n.useCallback)(()=>{p((0,i.i)()),a(!1),u(!1)},[]),x=(0,n.useCallback)(e=>{p((0,i.u)(e)),a(!1),u(!1)},[]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o,{visible:e,onAcceptAll:v,onRejectAll:w,onManagePreferences:g,onManageIntent:s}),d?(0,t.jsx)(r.T,{name:"consent-modal",onError:y,children:(0,t.jsx)(l,{returnFocusTo:b,open:c,initialConsent:{analytics:m.analytics,marketing:m.marketing,functional:m.functional},onClose:()=>u(!1),onSave:x,onAcceptAll:v,onRejectAll:w},c?`open-${m.analytics}-${m.marketing}-${m.functional}`:"closed")}):null]})}],842879)},830306,e=>{var t=e.i(843476),n=e.i(271645),r=e.i(618566);let i=(0,e.i(456420).f)("message-square-text",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}],["path",{d:"M7 11h10",key:"1twpyw"}],["path",{d:"M7 15h6",key:"d9of3u"}],["path",{d:"M7 7h8",key:"af5zfr"}]]);var a=e.i(632781),o=e.i(647072);let l=["/terms","/privacy","/accessibility","/login"];e.s(["ChatWidget",0,function(){let e=(0,r.usePathname)(),s=(0,n.useSyncExternalStore)(()=>()=>{},()=>!0,()=>!1),[c,u]=(0,n.useState)(!1),[d,f]=(0,n.useState)(!1),m=(0,n.useRef)(null),p=l.some(t=>e===t||e.startsWith(t+"/")),b=(0,n.useCallback)(async()=>{u(!0);try{await (0,o.E)({title:(0,o.I)(e),entryPoint:"fab",onError:()=>u(!1),onTimeout:()=>u(!1)}),f(!0)}catch(e){console.error("[ChatWidget] open failed:",e)}finally{u(!1)}},[e]);return((0,n.useEffect)(()=>{p&&d&&window.CBTSuperWidget?.close()},[p,d]),!s||p)?null:(0,t.jsx)(t.Fragment,{children:!d&&(0,t.jsx)("button",{ref:m,type:"button",onClick:b,disabled:c,"aria-busy":c,className:"fixed right-[max(1.25rem,env(safe-area-inset-right))] bottom-[calc(max(1.25rem,env(safe-area-inset-bottom))+var(--cookie-banner-height,0px))] z-[var(--z-chat)] flex size-14 items-center justify-center rounded-full bg-cbt-600 text-white shadow-lg transition-transform duration-200 ease-out hover:scale-110 hover:bg-cbt-700 hover:shadow-xl focus-visible:ring-2 focus-visible:ring-cbt-600 focus-visible:ring-offset-2 disabled:pointer-events-none motion-reduce:transition-none motion-reduce:hover:scale-100","aria-label":"Open live chat",children:c?(0,t.jsx)(a.f,{className:"size-6 animate-spin"}):(0,t.jsx)(i,{className:"size-6"})})})}],830306)},697299,e=>{var t=e.i(843476);e.s(["CookieSettingsButton",0,function(){return(0,t.jsx)("button",{type:"button",onClick:()=>window.dispatchEvent(new CustomEvent("cbt_open_consent_modal")),className:"focus-on-dark cursor-pointer underline","aria-label":"Open cookie preferences settings",children:"Cookie Settings"})}])},128013,e=>{var t=e.i(843476);e.s(["CurrentYear",0,function(){return(0,t.jsx)("span",{suppressHydrationWarning:!0,children:new Date().getFullYear()})}])},257585,e=>{var t=e.i(843476),n=e.i(271645),r=e.i(618566),i=e.i(522016),a=e.i(768877),o=e.i(716327),l=e.i(975157),s=e.i(867332);let c="rounded-xl border border-cbt-100/80 bg-white shadow-xl shadow-cbt-900/8 ring-1 ring-black/[0.03] animate-nav-panel-in",u="block whitespace-nowrap rounded-lg px-3 py-2 text-sm font-medium text-cbt-700 transition-colors duration-150 hover:bg-cbt-50 hover:text-cbt-600";function d({item:e,onClick:n,className:r}){return e.href.startsWith("http")?(0,t.jsx)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",onClick:n,className:(0,l.f)(u,r),children:e.label}):(0,t.jsx)(i.default,{href:e.href,onClick:n,className:(0,l.f)(u,r),children:e.label})}function f({panelId:e,ariaLabel:n,panelRef:r,children:i}){return(0,t.jsx)("div",{ref:r,id:e,role:"region","aria-label":n,className:"absolute left-1/2 top-full z-50 -translate-x-1/2 pt-2",children:i})}function m({entry:e,onClose:n}){return(0,t.jsxs)("div",{className:(0,l.f)(c,"max-w-[calc(100vw-2rem)] p-5"),children:[(0,t.jsx)("div",{className:"flex gap-7",children:e.groups.map((e,r)=>(0,t.jsxs)("div",{className:(0,l.f)("min-w-[190px]",r>0&&"border-l border-cbt-100/60 pl-7"),children:[(0,t.jsx)("p",{className:"mb-2.5 px-3 text-sm font-bold uppercase tracking-[0.08em] text-cbt-700",children:e.heading}),(0,t.jsx)("ul",{className:"flex flex-col gap-0.5",children:e.items.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(d,{item:e,onClick:n})},`${e.label}-${e.href}`))}),e.footer&&(0,t.jsxs)(i.default,{href:e.footer.href,onClick:n,className:"mt-1 flex items-center gap-1.5 rounded-lg border-t border-cbt-100/60 px-3 pb-2 pt-2.5 text-sm font-semibold text-cbt-600 transition-colors duration-150 hover:bg-cbt-50 hover:text-cbt-700",children:[e.footer.label,(0,t.jsx)(a.f,{className:"size-3.5","aria-hidden":!0})]})]},e.heading))}),e.cta&&(0,t.jsx)("div",{className:"mt-4 border-t border-cbt-100/60 pt-4",children:(0,t.jsx)(i.default,{href:e.cta.href,onClick:n,className:"btn-gradient inline-flex rounded-full px-5 py-2 text-sm font-semibold text-white",children:e.cta.label})})]})}function p({entry:e,onClose:n}){return(0,t.jsx)("div",{className:(0,l.f)(c,"min-w-[200px] p-2"),children:e.items.map(e=>(0,t.jsx)(d,{item:e,onClick:n},`${e.label}-${e.href}`))})}function b({label:e,panelId:n,isOpen:r,onClick:i,onMouseEnter:a,buttonRef:s}){return(0,t.jsxs)("button",{ref:s,type:"button",onClick:i,onMouseEnter:a,"aria-expanded":r,"aria-haspopup":"dialog","aria-controls":n,className:(0,l.f)("inline-flex items-center gap-1 rounded-lg px-3 py-2 text-sm font-medium transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-cbt-500 focus-visible:ring-offset-2",r?"text-cbt-600":"text-cbt-800 hover:text-cbt-600"),children:[e,(0,t.jsx)(o.f,{className:(0,l.f)("size-3 opacity-50 transition-transform duration-200",r&&"rotate-180")})]})}let h="(hover: hover) and (pointer: fine)";function g(e){if(!window.matchMedia)return()=>{};let t=window.matchMedia(h);return t.addEventListener("change",e),()=>t.removeEventListener("change",e)}function y(){return window.matchMedia(h).matches}function v(){return!0}e.s(["DesktopNav",0,function({items:e}){let[a,o]=(0,n.useState)(null),l=(0,n.useRef)(null),c=(0,n.useRef)(new Map),u=(0,n.useRef)(new Map),d=(0,n.useRef)(null),h=(0,n.useRef)(null),w=(0,n.useSyncExternalStore)(g,y,v),x=(0,n.useRef)(null),k=(0,r.usePathname)(),S=a?.pathname===k?a.index:null,j=a?.pathname===k?a.mode:null,_=(0,n.useCallback)(()=>{d.current&&(clearTimeout(d.current),d.current=null)},[]),C=(0,n.useCallback)(()=>{x.current&&(document.removeEventListener("mousemove",x.current),x.current=null)},[]),E=(0,n.useCallback)(()=>{h.current&&(clearTimeout(h.current),h.current=null),C()},[C]),T=(0,n.useCallback)(()=>{_(),E(),o(null)},[_,E]),N=(0,n.useCallback)(()=>{let e=a?c.current.get(a.index)??null:null;T(),e&&queueMicrotask(()=>e.focus())},[T,a]),A=(0,n.useCallback)((e,t)=>{_(),E(),o({index:e,mode:t,pathname:k})},[_,E,k]);(0,n.useEffect)(()=>{function e(e){l.current&&!l.current.contains(e.target)&&(l.current?.contains(document.activeElement)?N():T())}function t(e){"Escape"===e.key&&N()}return document.addEventListener("mousedown",e),document.addEventListener("keydown",t),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("keydown",t)}},[T,N]),(0,n.useEffect)(()=>()=>{_(),E()},[_,E]);let I=(0,n.useCallback)((e,t)=>{if("click"===j)return;E();let n=u.current.get(e);if(!n){h.current=setTimeout(()=>T(),400);return}let r=n.getBoundingClientRect(),i={x:r.left,y:r.top},a={x:r.right,y:r.top},o=e=>{var n,r;let o,l,s;n=e.clientX,r=e.clientY,o=(n-i.x)*(t.y-i.y)-(t.x-i.x)*(r-i.y),l=(n-a.x)*(i.y-a.y)-(i.x-a.x)*(r-a.y),s=(n-t.x)*(a.y-t.y)-(a.x-t.x)*(r-t.y),(o<0||l<0||s<0)&&(o>0||l>0||s>0)&&T()};x.current=o,document.addEventListener("mousemove",o),h.current=setTimeout(()=>{T()},600)},[j,E,T]),L=(0,n.useCallback)(e=>{if(w){if(E(),null!==S){S!==e&&A(e,"hover");return}_(),d.current=setTimeout(()=>{A(e,"hover")},120)}},[w,S,A,_,E]),P=(0,n.useCallback)(e=>{S===e?"hover"===j?A(e,"click"):T():A(e,"click")},[S,j,A,T]),O=(0,n.useCallback)((e,t)=>{w&&(_(),S===e&&I(e,{x:t.clientX,y:t.clientY}))},[w,S,_,I]),M=(0,n.useCallback)(()=>{E()},[E]),$=(0,n.useCallback)((e,t)=>{if(S!==e)return;let n=t.relatedTarget;n instanceof Node&&(t.currentTarget.contains(n)||T())},[S,T]),R=(0,n.useMemo)(()=>e=>t=>{t?c.current.set(e,t):c.current.delete(e)},[]),B=(0,n.useMemo)(()=>e=>t=>{t?u.current.set(e,t):u.current.delete(e)},[]);return(0,t.jsx)("nav",{ref:l,className:"hidden items-center gap-2 lg:flex","aria-label":"Main",children:e.map((e,n)=>{let r=S===n,a=`nav-panel-${e.label.toLowerCase().replace(/\s+/g,"-")}`;return(0,s.O)(e)||(0,s.I)(e)?(0,t.jsxs)("div",{className:"relative",onMouseEnter:M,onMouseLeave:e=>O(n,e),onBlur:e=>$(n,e),children:[(0,t.jsx)(b,{label:e.label,panelId:a,isOpen:r,onClick:()=>P(n),onMouseEnter:()=>L(n),buttonRef:R(n)}),r&&(0,t.jsx)(f,{panelId:a,ariaLabel:e.label,panelRef:B(n),children:(0,s.O)(e)?(0,t.jsx)(m,{entry:e,onClose:T}):(0,t.jsx)(p,{entry:e,onClose:T})})]},e.label):(0,t.jsx)(i.default,{href:e.href,onClick:T,className:"rounded-lg px-3 py-2 text-sm font-medium text-cbt-800 transition-colors duration-150 hover:text-cbt-600",children:e.label},e.href)})})}])},76003,e=>{var t=e.i(843476),n=e.i(271645),r=e.i(716327),i=e.i(632781),a=e.i(770703),o=e.i(618566),l=e.i(540874),s=e.i(790235);let c=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;function u(e){return"string"==typeof e&&e?/^https?:\/\//.test(e)?e:c.test(e)?`https://static.adept.at/content/profile/avatar/${e.toLowerCase()}/72.jpg`:null:null}var d=e.i(60300),f=e.i(778035),m=e.i(653290),p=e.i(392489);let b="/api/marketing/header-panel";async function h(e=fetch,t={}){try{let n=new URLSearchParams;t.freshPreferences&&n.set("refresh","preferences"),t.preview&&"self"!==t.preview&&n.set(p.j,t.preview);let r=n.toString(),i=r?`${b}?${r}`:b,a=await e(i,{credentials:"same-origin",cache:"no-store"});if(!a.ok)return null;let o=await a.json();if(!o||"object"!=typeof o||"string"!=typeof o.status)return null;return o}catch{return null}}let g=(0,a.default)(()=>e.A(388789).then(e=>e.AvatarPanel),{loadableGenerated:{modules:[427354]},ssr:!1,loading:()=>(0,t.jsx)(y,{})});function y(){return(0,t.jsx)("div",{className:"flex items-center","aria-hidden":!0,children:(0,t.jsxs)("button",{type:"button",tabIndex:-1,className:"hp-trigger adept-prepaint-pill",children:[(0,t.jsx)("span",{className:"adept-hint-avatar inline-flex size-7 items-center justify-center rounded-full bg-cbt-50 bg-cover bg-center ring-1 ring-cbt-100"}),(0,t.jsx)("span",{className:"adept-hint-name hp-trigger-name"}),(0,t.jsx)(r.f,{"aria-hidden":!0,className:"hp-trigger-chevron"})]})})}function v(){let e=(0,l.r)(),r=n.useCallback(t=>{t.metaKey||t.ctrlKey||t.shiftKey||1===t.button||e&&(t.preventDefault(),e.login())},[e]);return(0,t.jsx)("a",{href:d.F,onClick:r,onPointerEnter:s.s,onFocus:s.s,onTouchStart:s.s,className:"hidden rounded-md 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 lg:inline-flex",children:"Sign In"})}e.s(["HeaderAuthControls",0,function({host:e="marketing"}={}){let r=(0,l.r)(),a=(0,o.usePathname)(),c="admin"===e,{hintChecked:d,hint:p,phase:b,refreshPreferences:w,preview:x,setPreviewPersona:k}=function(e){let[t,r]=n.useState(!1),[i,a]=n.useState(null),[o,s]=n.useState({kind:"idle"}),[c,d]=n.useState(0),[p,b]=n.useState(!1),g=n.useRef(!1),y=n.useCallback(()=>{b(!0),d(e=>e+1)},[]);n.useEffect(()=>{let e;a((e=(0,l.B)())?{displayName:(0,m.E)(e.name),avatarUrl:u(e.picture)}:null),r(!0)},[]),n.useEffect(()=>{e&&!g.current&&(g.current=!0,d(e=>e+1)),e||(g.current=!1)},[e]);let v=t&&(null!==i||e);n.useEffect(()=>{if(!v)return;let e=!1;return s(e=>"ready"===e.kind?e:{kind:"loading"}),h(fetch,{freshPreferences:p}).then(t=>{!e&&(s(e=>t?{kind:"ready",model:t}:"ready"===e.kind?e:{kind:"unavailable"}),t&&(0,f.g)("verified"===t.status&&t.viewer.internal))}),()=>{e=!0}},[v,c]);let[w,x]=n.useState(null),k=n.useRef(0);return{hintChecked:t,hint:i,phase:o,refreshPreferences:y,preview:w,setPreviewPersona:n.useCallback(e=>{if(k.current+=1,!e||"self"===e)return void x(null);let t=k.current;x({personaId:e,kind:"loading"}),h(fetch,{preview:e}).then(n=>{k.current===t&&x(n?{personaId:e,kind:"ready",model:n}:{personaId:e,kind:"unavailable"})})},[])}}(r?.status==="authenticated"||c),S=n.useCallback(()=>{let e=a&&a.startsWith("/")?a:"/",t=c?"/admin/login":e;if(!(0,s.m)()){c&&window.location.assign(t);return}(0,s.c)().then(e=>e?.logout({postLogoutRedirectUri:`${window.location.origin}${t}`})).catch(e=>{console.error("[adept-auth] sign-out could not load the SDK:",e instanceof Error?e.message:String(e)),window.location.assign(t)})},[a,c]);if(r?.authenticating)return(0,t.jsxs)("span",{className:"inline-flex items-center gap-2 rounded-md text-sm font-medium text-cbt-500",role:"status","aria-live":"polite",children:[(0,t.jsx)(i.f,{"aria-hidden":!0,className:"size-4 animate-spin"}),"Signing in…"]});if("ready"===b.kind)return"anonymous"===b.model.status?c?null:(0,t.jsx)(v,{}):(0,t.jsx)(g,{model:b.model,state:"ready",onSignOut:S,onPreferencesSaved:w,preview:x,onPreviewPersona:k});let j=r?.status==="authenticated"?r.profile:null;if(p||j){var _,C;let e=(_=p,C=j,{status:"hinted",viewer:{status:"hinted",displayName:_?.displayName??("string"==typeof C?.name?C.name:null),avatarUrl:_?.avatarUrl??u(C?.picture),email:null,internal:!1},sections:{learner:[],staff:[],employeeRow:[],footer:[],footerLinks:[],orgStrip:null,learnerBands:"shown"},editorHref:null,editor:null,unresolved:[],preview:null}),n="unavailable"===b.kind?"unavailable":"loading";return(0,t.jsx)(g,{model:e,state:n,onSignOut:S})}return c?"unavailable"===b.kind?null:(0,t.jsx)(y,{}):d?(0,t.jsx)(v,{}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"adept-slot-anon",children:(0,t.jsx)(v,{})}),(0,t.jsx)("div",{className:"adept-slot-authed",children:(0,t.jsx)(y,{})})]})}],76003)},301593,e=>{var t=e.i(843476),n=e.i(522016),r=e.i(618566),i=e.i(570590),a=e.i(896507),o=e.i(311063);e.s(["HeaderContactCta",0,function(){let e=(0,r.usePathname)();return(0,t.jsx)(n.default,{href:i.Q,"data-testid":"header-contact-cta",className:"btn-gradient hidden rounded-full px-5 py-2 text-sm font-semibold text-white lg:inline-flex",onClick:()=>(0,o.p)("header-cta:demo",e),children:a.f.demo})}])},485370,e=>{var t=e.i(843476),n=e.i(618566),r=e.i(975157);let i=/^\/it-training\/[^/]+\/[^/]+\/[^/]+$/;var a=e.i(80856),o=e.i(462300),l=e.i(616212);e.s(["MarketingMainWithSticky",0,function({banner:e=null,children:s}){let c=(0,n.usePathname)(),u=!(i.test(c)||c.startsWith("/admin"))&&!!("/solutions"===c||"/features"===c||c.startsWith("/features/")||c.startsWith("/for/")),d=null!==e&&(0,a.g)(c,e.team,e.pathRules);return(0,t.jsxs)(t.Fragment,{children:[d?(0,t.jsx)("div",{"data-site-banner-slot":"",className:"pt-16",children:(0,t.jsx)(l.f,{banner:e})}):null,(0,t.jsx)("main",{id:"main-content",tabIndex:-1,className:(0,r.f)("flex flex-col outline-none",d?"":"pt-16",u&&"max-lg:pb-[calc(var(--mobile-sticky-cta-height,0px)+env(safe-area-inset-bottom))]"),children:s}),u?(0,t.jsx)(o.MobileStickyCta,{}):null]})}],485370)},192328,e=>{var t=e.i(843476),n=e.i(522016),r=e.i(618566),i=e.i(570590),a=e.i(896507),o=e.i(311063);e.s(["MobileHeaderCtaPill",0,function(){let e=(0,r.usePathname)();return(0,t.jsxs)(n.default,{href:i.Q,"data-testid":"mobile-header-cta-pill",className:"btn-gradient inline-flex min-h-11 items-center rounded-full px-4 text-sm font-semibold text-white lg:hidden",onClick:()=>(0,o.p)("mobile-header-pill:demo",e),children:[(0,t.jsx)("span",{className:"max-[359px]:inline min-[360px]:hidden",children:"Demo"}),(0,t.jsx)("span",{className:"max-[359px]:hidden min-[360px]:inline",children:a.f.demo})]})}])},880317,e=>{e.s(["d",0,"mobile-nav-sheet","E",0,"mobile-nav-title"])},338390,e=>{var t=e.i(843476),n=e.i(271645),r=e.i(593583),i=e.i(519455),a=e.i(998082),o=e.i(880317);let l=(0,n.lazy)(()=>e.A(132054).then(e=>({default:e.MobileNavSheet})));function s(){e.A(132054).catch(()=>void 0)}e.s(["MobileNav",0,function({items:e}){let{requested:c,open:u,bodyOpen:d,openMethod:f,request:m,onOpenChange:p,onReady:b,reset:h}=(0,a.A)(),g=(0,n.useRef)(null);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(i.K,{ref:g,variant:"ghost",size:"icon",className:"min-h-11 min-w-11 lg:hidden","aria-expanded":u,"aria-controls":o.d,"aria-haspopup":"dialog",onClick:e=>m((0,a.X)(e)),onPointerEnter:s,onFocus:s,onTouchStart:s,children:[(0,t.jsx)(r.f,{className:"size-5","aria-hidden":"true",focusable:"false"}),(0,t.jsx)("span",{className:"sr-only",children:"Open menu"})]}),c?(0,t.jsx)(a.T,{name:"mobile-nav",onError:h,children:(0,t.jsx)(l,{items:e,open:d,openMethod:f,onOpenChange:p,onReady:b,finalFocus:g})}):null]})}],338390)},462300,e=>{var t=e.i(843476),n=e.i(522016),r=e.i(271645),i=e.i(618566),a=e.i(570590),o=e.i(896507),l=e.i(311063),s=e.i(975157);e.s(["MobileStickyCta",0,function({href:e,label:c,className:u}){let d=(0,i.usePathname)(),f=e??a.Q,m=c??o.f.demo,p=(0,r.useRef)(null);return(0,r.useLayoutEffect)(()=>{let e=p.current;if(!e)return;let t=()=>{document.documentElement.style.setProperty("--mobile-sticky-cta-height",`${e.offsetHeight}px`)};t();let n=new ResizeObserver(t);return n.observe(e),()=>{n.disconnect(),document.documentElement.style.removeProperty("--mobile-sticky-cta-height")}},[]),(0,t.jsx)("div",{ref:p,className:(0,s.f)("pb-[max(0.75rem,env(safe-area-inset-bottom))] lg:hidden","fixed inset-x-0 z-[var(--z-sticky-cta)]","bottom-[env(safe-area-inset-bottom)]","[transform:translateY(calc(-1*var(--cookie-banner-height,0px)))]","border-t border-cbt-200/80 bg-white/95 px-4 py-3 shadow-[0_-4px_24px_rgba(7,30,74,0.08)] backdrop-blur-md",u),children:(0,t.jsx)(n.default,{href:f,"data-testid":"mobile-sticky-cta",className:"btn-gradient flex min-h-11 w-full items-center justify-center rounded-full px-4 text-sm font-semibold text-white",onClick:()=>(0,l.p)("mobile-sticky-cta",d),children:m})})}])},402643,e=>{var t=e.i(271645),n=e.i(618566);e.s(["ScrollToTopOnNavigation",0,function(){let e=(0,n.usePathname)(),r=(0,t.useRef)(!0),i=(0,t.useRef)(!1);return(0,t.useEffect)(()=>{let e=()=>{i.current=!0};return window.addEventListener("popstate",e),()=>window.removeEventListener("popstate",e)},[]),(0,t.useLayoutEffect)(()=>{if(r.current){r.current=!1;return}if(i.current){i.current=!1;return}let e=window.location.hash.replace(/^#/,"");if(e){let t=e;try{t=decodeURIComponent(e)}catch{}if("top"===t||null!==document.getElementById(t)||document.getElementsByName(t).length>0)return}window.scrollTo({top:0,left:0,behavior:"instant"})},[e]),null}])},590046,e=>{e.s(["f",0,"site-search-dialog"])},254229,e=>{e.S([212065,"SearchDialog,f"])},212065,e=>{var t=e.i(843476),n=e.i(271645),r=e.i(998082),i=e.i(618566),a=e.i(566595),o=e.i(311063),l=e.i(590046);let s=(0,n.lazy)(()=>e.A(830690).then(e=>({default:e.SearchDialogPanel})));function c(){e.A(830690).catch(()=>void 0)}let u={general:"Search",preview:"Preview any course",training:"Search training"};function d(e,t){return n=>{e?.(n),t(n)}}e.s(["f",0,function({variant:e="general",trigger:f,bindCommandK:m=!1,trackOpenLocation:p}={}){var b;let h=(0,i.usePathname)(),g=(0,r.A)(),{requested:y,open:v,bodyOpen:w,openMethod:x,onReady:k,reset:S}=g,[j,_]=(0,n.useState)(null),C=(0,n.useCallback)(()=>j,[j]);function E(e){g.request(e)&&p&&(0,o.p)(p,h)}let{toggle:T}=g;(0,n.useEffect)(()=>{if(m)return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e);function e(e){(e.metaKey||e.ctrlKey)&&"k"===e.key&&(e.preventDefault(),T("keyboard"))}},[m,T]);let N=f&&(0,n.isValidElement)(f)?f.props:{},A={ref:(b=N.ref,e=>{"function"==typeof b?b(e):b&&"object"==typeof b&&(b.current=e),_(e)}),onClick:e=>{N.onClick?.(e),e.defaultPrevented||E((0,r.X)(e))},onPointerEnter:d(N.onPointerEnter,c),onFocus:d(N.onFocus,c),onTouchStart:d(N.onTouchStart,c),"aria-haspopup":"dialog","aria-expanded":v,"aria-controls":v?l.f:void 0},I=f&&(0,n.isValidElement)(f)?(0,n.cloneElement)(f,A):(0,t.jsx)("button",{type:"button",...A,ref:_,className:"flex min-h-11 min-w-11 items-center justify-center rounded-lg text-cbt-500 transition-colors hover:bg-cbt-50 hover:text-cbt-700 aria-expanded:bg-cbt-50 aria-expanded:text-cbt-700 focus-visible:ring-2 focus-visible:ring-cbt-500 focus-visible:outline-none lg:size-9 lg:min-h-0 lg:min-w-0","aria-label":u[e],children:(0,t.jsx)(a.f,{className:"size-5"})});return(0,t.jsxs)(t.Fragment,{children:[I,y?(0,t.jsx)(r.T,{name:"search-dialog",onError:S,children:(0,t.jsx)(s,{variant:e,open:w,openMethod:x,onOpenChange:function(e){e?E(""):g.close()},onReady:k,finalFocus:C})}):null]})}])},998082,e=>{var t=e.i(843476),n=e.i(271645);let r=/Loading chunk|ChunkLoadError|Failed to fetch dynamically imported module|Importing a module script failed|error loading dynamically imported module/i;class i extends n.Component{state={failed:!1};static getDerivedStateFromError(){return{failed:!0}}componentDidCatch(e){let t,n=(t=e instanceof Error?`${e.name} ${e.message}`:String(e),r.test(t));console.error(`[lazy-island] ${this.props.name} failed to load${n?" (chunk — deploy skew or offline)":""}:`,e instanceof Error?e.message:String(e)),this.props.onError?.(),n&&function(e){let t=`cbt_lazy_island_reloaded:${e}`;try{if(window.sessionStorage.getItem(t))return!1;window.sessionStorage.setItem(t,"1")}catch{return!1}window.location.reload()}(this.props.name)}render(){return this.state.failed?null:(0,t.jsx)(n.Suspense,{fallback:null,children:this.props.children})}}e.s(["T",0,i,"X",0,function(e){let t=e.nativeEvent;return"string"==typeof t.pointerType?t.pointerType:""},"A",0,function(){let[e,t]=(0,n.useState)(!1),[r,i]=(0,n.useState)(!1),[a,o]=(0,n.useState)(!1),[l,s]=(0,n.useState)(""),c=(0,n.useCallback)((e="")=>!r&&(s(e),t(!0),i(!0),!0),[r]),u=(0,n.useCallback)(()=>i(!1),[]),d=(0,n.useCallback)(e=>{e?c():i(!1)},[c]),f=(0,n.useCallback)((e="")=>r?a?(i(!1),"closed"):"ignored":(c(e),"opened"),[r,a,c]);return{requested:e,open:r,bodyOpen:r&&a,openMethod:l,request:c,close:u,onOpenChange:d,toggle:f,onReady:(0,n.useCallback)(()=>o(!0),[]),reset:(0,n.useCallback)(()=>{i(!1),t(!1),o(!1)},[])}},"B",0,function(e){(0,n.useEffect)(()=>{e?.()},[e])}])},100207,e=>{let t={name:"CBT Nuggets",legalName:"CBT Nuggets, LLC",phone:"+1 (541) 284-5522",phoneHref:"tel:+15412845522",email:"support@cbtnuggets.com",salesEmail:"teams@cbtnuggets.com",legalEmail:"legalteam@cbtnuggets.com",address:{street:"497 Oakway Rd. Suite 410",city:"Eugene",state:"OR",zip:"97401",country:"US",formatted:"497 Oakway Rd. Suite 410, Eugene, OR 97401"},social:{twitter:"https://twitter.com/CBTNuggets",linkedin:"https://www.linkedin.com/company/cbt-nuggets",youtube:"https://www.youtube.com/user/cbtnuggets",facebook:"https://www.facebook.com/CBTNuggets"},domain:"https://www.cbtnuggets.com",founded:1999,yearsExperience:"27+"};t.email,encodeURIComponent("Employment at CBT Nuggets"),e.s(["o",0,t,"X",0,"Trust Center (sign-in required)","T",0,"https://learn.adept.at/cbtnuggets/cbt-nuggets-trust-center-bozaod"])},867332,e=>{var t=e.i(570590),n=e.i(100207);let r="/platform#reporting";t.Q,t.Q;let i={training:[{label:"IT Trainerbot",href:"/trainerbot"},{label:"All solutions",href:"/solutions"},{label:"Browse by Topic",href:"/it-training"},{label:"Browse by Certification",href:"/certification-playlist"}],platform:[{label:"Platform Overview",href:"/platform"},{label:"Team Reporting & Admin",href:r},{label:"Custom Playlists",href:"/playlist-enrollment"},{label:"Virtual Labs",href:"/features/virtual-labs"},{label:"Practice Exams",href:"/features/practice-exams"},{label:"Assessments",href:"/features/assessments"},{label:"Internal Training",href:"/internal-training"},{label:"Tenant Hosting",href:"/tenant-training"},{label:"All Integrations",href:"/integrations"},{label:"Single Sign-On (SSO)",href:"/sso"},{label:"LMS / SCORM Export",href:"/lms-integration"}],solutions:[{label:"Compliance & Certification",href:"/compliance"},{label:"Cybersecurity",href:"/it-training/cyber-security"},{label:"Networking",href:"/it-training/networking"},{label:"Onboarding & Upskilling",href:"/upskilling"},{label:"DevOps",href:"/it-training/devops"},{label:"AI & Machine Learning",href:"/it-training/ai"},{label:"Data & Analytics",href:"/it-training/data-analytics"},{label:"Healthcare",href:"/industry/healthcare"},{label:"Banking & FinTech",href:"/industry/finance"},{label:"Government",href:"/industry/government"},{label:"Manufacturing",href:"/industry/manufacturing"},{label:"Education",href:"/industry/education"},{label:"Energy & Utilities",href:"/industry/energy"},{label:"MSPs / IT Services",href:"/industry/msp"}],why:[{label:"Why CBT Nuggets",href:"/why-cbt-nuggets"},{label:"Customer Reviews",href:"/customer-reviews"},{label:"Compare Platforms",href:"/compare"}],company:[{label:"About",href:"/about"},{label:"Pricing",href:"/pricing"},{label:"Trainers",href:"/trainers"},{label:"Become a Trainer",href:"/become-a-trainer"},{label:"Careers",href:"/employment"},{label:"Blog",href:"/blog"},{label:"Help Center",href:"/support"},{label:"Search the Site",href:"/search"},{label:n.X,href:n.T},{label:"Book a Demo",href:t.Q}]};i.training,i.platform,i.solutions,i.why,i.company,e.s(["J",0,r,"A",0,"/platform#group-management","I",0,function(e){return"items"in e&&!("groups"in e)},"O",0,function(e){return"groups"in e}])},570590,e=>{var t=e.i(247167);let n=t.default.env.NEXT_PUBLIC_APP_STORE_URL??"https://apps.apple.com/us/developer/cbt-nuggets-llc/id1024898310",r=t.default.env.NEXT_PUBLIC_PLAY_STORE_URL??"https://play.google.com/store/apps/details?id=com.cbtnuggets.learning",i={trainerbot:{web:"IT Trainerbot",app:"IT Trainerbot"},"trainerbot-plus":{web:"IT Trainerbot Plus",app:"IT Trainerbot Plus"},individual:{web:"CBT Nuggets Individual"},team:{web:"CBT Nuggets Teams"},"course-unlock":{web:"Course Unlock"},"site-license":{web:"Internal Training Site License"},enterprise:{web:"Enterprise"}};i.team.web,i.team.web;let a=`Your quote is for ${i.team.web} seats at list price. Multi-year terms and tenant hosting are arranged by your sales agent as part of the agreement; LMS integration is a separate product the same agent can quote for you.`;e.s(["O",0,n,"F",0,"Teams of more than 40 seats can also arrange a custom agreement — multi-year terms, tenant hosting — through sales.","P",0,15,"B",0,a,"V",0,40,"j",0,{"All courses & certification paths":"/it-training","Virtual labs":"/features/virtual-labs","Practice exams":"/features/practice-exams","Team reporting dashboard":"/platform","Team management and reporting":"/platform","Playlist assignments":"/playlist-enrollment","Team playlists":"/playlist-enrollment","IT Trainerbot for every seat":"/trainerbot","IT Trainerbot Plus":"/trainerbot","Internal training":"/internal-training","SSO / SAML integration":"/sso","Team management":"/platform","Tenant hosting":"/tenant-training","LMS integration":"/lms-integration","Every CBT Nuggets course":"/it-training","Every virtual lab":"/features/virtual-labs","Every practice exam":"/features/practice-exams","SSO / SAML":"/sso","Internal training: create courses from your own content":"/internal-training"},"f",0,588,"Q",0,"/demo","A",0,r,"C",0,i,"K",0,1,"R",0,708,"b",0,"https://learn.adept.at/trainerbot","g",0,228,"z",0,19,"k",0,function(e){return`${e} ${1===e?"seat":"seats"}`},"Y",0,function(e){return new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",maximumFractionDigits:0}).format(e)},"a",0,function(e){return Math.round(e/12)}])},790235,e=>{let t;var n=e.i(840617);function r(){return null!==(0,n.f)()}let i=null;function a(){return i||(i=e.A(520428).then(e=>(t=e.adeptClient,e.adeptClient),e=>{throw i=null,e})),i}e.s(["m",0,r,"c",0,a,"U",0,function(){return t},"s",0,function(){r()&&a().catch(()=>void 0)}])},840617,e=>{e.i(247167),e.s(["f",0,function(){return{issuer:"https://accounts.api.adept.at",clientId:"6e70abf6857a61f45fb6fd7ebc01fb17257a22367447c69c",redirectUri:"http://www.skru.ac.th/intro/?train=api/auth/callback/adept"}}])},60300,e=>{let t=e.i(247167).default.env.NEXT_PUBLIC_ADEPT_LEARN_URL||"https://learn.adept.at",n=`${t}/login`;e.s(["F",0,n,"Y",0,t,"e",0,function(e){return`${t}/cbtnuggets/${encodeURIComponent(e)}`}])},541872,e=>{let t="cbt_cookie_consent",n="cbt_consent_update",r=["_ga","_gid","_gat","_gac_","_gcl_au","_gcl_aw","_fbp","_fbc","_uetmsclkid","_uetvid","_li_ss","_lipt","__kla_id","_kx","klaviyoOnsite","klaviyoFormSeen","utm_first","utm_last","__evt_anon_id","pa_sid"],i={necessary:!0,analytics:!1,marketing:!1,functional:!1,timestamp:0,consentVersion:1,decisionType:"rejected_all",createdAt:0,updatedAt:0};function a(){if(!("u">typeof document))return null;try{let e=document.cookie.split("; ").find(e=>e.startsWith(`${t}=`))?.split("=")[1];if(!e)return null;let n=JSON.parse(decodeURIComponent(e));if("boolean"!=typeof n.necessary)return null;let r=Date.now();return{necessary:n.necessary??!0,analytics:n.analytics??!1,marketing:n.marketing??!1,functional:n.functional??!1,timestamp:n.timestamp??r,consentVersion:n.consentVersion??0,decisionType:n.decisionType??"custom",createdAt:n.createdAt??n.timestamp??r,updatedAt:n.updatedAt??n.timestamp??r}}catch{return null}}function o(e){return!!e&&1===e.consentVersion&&Date.now()-(e.updatedAt||e.timestamp||0)<=15552e6}function l(){if(!("u">typeof document))return;let e=window.location.hostname,t=e.split("."),n=t.length>=2?t.slice(-2).join("."):e,i="https:"===window.location.protocol?" Secure;":"";r.forEach(t=>{let r=[`${t}=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;${i}`,`${t}=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/; domain=${e};${i}`,`${t}=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/; domain=.${e};${i}`,`${t}=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/; domain=.${n};${i}`];r.forEach(e=>{document.cookie=e}),t.endsWith("_")&&document.cookie.split("; ").forEach(e=>{let n=e.split("=")[0];n.startsWith(t)&&r.forEach(e=>{document.cookie=e.replace(t,n)})})})}function s(e){"u">typeof document&&(window.dataLayer=window.dataLayer||[],function(...e){window.dataLayer.push(e)}("consent","update",{ad_storage:e.marketing?"granted":"denied",ad_user_data:e.marketing?"granted":"denied",ad_personalization:e.marketing?"granted":"denied",analytics_storage:e.analytics?"granted":"denied",functionality_storage:e.functional?"granted":"denied",personalization_storage:e.functional?"granted":"denied",security_storage:"granted"}),window.uetq&&window.uetq.push("consent","update",{ad_storage:e.marketing?"granted":"denied"}),function(e){if(!("u">typeof document))return;let n=Date.now(),r=encodeURIComponent(JSON.stringify({...e,consentVersion:1,updatedAt:n,createdAt:e.createdAt||n,timestamp:e.timestamp||n})),i="https:"===window.location.protocol?"; Secure":"",a=window.location.hostname.endsWith("cbtnuggets.com")?"; domain=.cbtnuggets.com":"";document.cookie=`${t}=${r}; path=/${a}; max-age=15552000; SameSite=Lax${i}`}(e),window.dispatchEvent(new CustomEvent(n,{detail:e})))}e.s(["F",0,i,"a",0,function(){let e=Date.now(),t=a(),n={necessary:!0,analytics:!0,marketing:!0,functional:!0,timestamp:e,consentVersion:1,decisionType:"accepted_all",createdAt:t?.createdAt||e,updatedAt:e};return s(n),n},"B",0,function(){let e=a();return e?"u">typeof document&&!0===navigator.globalPrivacyControl?{...e,marketing:!1}:e:i},"T",0,a,"K",0,o,"Z",0,function(e){if(!("u">typeof document))return()=>{};if(o(a()))return e(),()=>{};let t=()=>{window.removeEventListener(n,t),e()};return window.addEventListener(n,t),()=>window.removeEventListener(n,t)},"i",0,function(){let e=Date.now(),t=a(),n={necessary:!0,analytics:!1,marketing:!1,functional:!1,timestamp:e,consentVersion:1,decisionType:"rejected_all",createdAt:t?.createdAt||e,updatedAt:e};return s(n),l(),n},"u",0,function(e){let t=Date.now(),n=a()||i,r=e.analytics??n.analytics,o=e.marketing??n.marketing,c=e.functional??n.functional,u="custom";r&&o&&c?u="accepted_all":r||o||c||(u="rejected_all");let d={necessary:!0,analytics:r,marketing:o,functional:c,timestamp:t,consentVersion:1,decisionType:u,createdAt:n.createdAt||t,updatedAt:t};return s(d),(n.analytics&&!r||n.marketing&&!o)&&l(),d}])},896507,e=>{var t=e.i(570590);let n=["quote","demo"],r=`${t.Q}/quote`,i={demo:t.Q,quote:r},a="seats",o={quote:"Get a Quote",demo:"Book a Demo"},l=t.K;function s(e){return Number.isFinite(e)?Math.min(500,Math.max(l,Math.floor(e))):12}let c="enterprise";function u(e,t){let n=new URLSearchParams;"number"==typeof e&&Number.isFinite(e)&&n.set(a,String(s(e))),t?.tier&&n.set("tier",t.tier);let i=n.toString();return i?`${r}?${i}`:r}let d=u(),f=["Request a Demo","Talk to Sales","See a Demo","Start Free Trial"];e.s(["U",0,i,"f",0,o,"I",0,c,"q",0,"intent","h",0,d,"K",0,500,"_",0,l,"J",0,a,"n",0,u,"m",0,s,"y",0,function(e){return{label:o.demo,href:t.Q,intent:"demo"}},"Z",0,function(e,t="demo"){let r=Array.isArray(e)?e[0]:e;return n.includes(r)?r:t},"B",0,function(e){let n=Array.isArray(e.seats)?e.seats[0]:e.seats;if(n){let e=Array.isArray(n)?n[0]:n;if(!e)return 12;let t=Number(e);return Number.isFinite(t)?s(t):12}return(Array.isArray(e.tier)?e.tier[0]:e.tier)===c?s(t.V+1):12},"V",0,function(e=""){return RegExp(`\\b(${f.join("|")})\\b`,e)}])},653290,392489,e=>{e.s(["f",0,{accountMenuName:e=>`Account menu for ${e}`,logOut:"Log out",editMenu:"Edit menu",showAll:e=>`Show all ${e}`,accountDetailsUnavailable:"Account details are unavailable right now. Reload to try again.",employeeBadge:"Employee",showLearnerMenu:"Show learner menu",hideLearnerMenu:"Show employee menu",showEmployeeMenu:"Show employee menu",previewAs:"Preview as",previewing:e=>`Previewing: ${e}`,loading:"Loading your account",notIncluded:"Not included in your plan",preferencesUnavailable:"Showing the default tools. Your starred tools could not be loaded right now.",orgStripSeparator:"·",orgStripRole:{owner:"Owner",admin:"Admin",billingAdmin:"Billing admin",member:"Member"},orgStripIndividual:"Individual",orgStripOrganizations:e=>`${e} organizations`,orgStripOrganizationsLinkSuffix:", open Org Dashboard",orgStripTeamLicense:"Team license",orgStripNoTeamLicense:"No team license",orgStripLicensed:"Licensed",orgStripNoSubscription:"No active subscription"},"E",0,function(e){if("string"!=typeof e)return null;let t=e.replace(/[\u0000-\u001F\u007F\u202A-\u202E\u2066-\u2069]/g,"").trim();return t?t.length>40?t.slice(0,40):t:null}],653290);let t=["feature.certPrep","feature.progress"],n=[{id:"self",label:"Your own account",capabilities:[],unresolved:[],params:[]},{id:"hinted",label:"Signed in, directory slow (hinted)",capabilities:["identity.known",...t],unresolved:["profile","affiliations","cbt.console","assessments.console","license"],hinted:!0,params:[]},{id:"signedInNoPurchases",label:"Signed in, no purchases",capabilities:["identity.known","identity.verified","plane.platform",...t],unresolved:[],params:[]},{id:"individualLearner",label:"Individual learner, no org",capabilities:["identity.known","identity.verified","access.course",...t],unresolved:["license"],params:[]},{id:"individualNoSubscription",label:"Individual, no active subscription",capabilities:["identity.known","identity.verified","license.none",...t],unresolved:[],params:[]},{id:"individualSubscribed",label:"Individual, active subscription",capabilities:["identity.known","identity.verified","access.course","license.individual",...t],unresolved:[],params:[]},{id:"orgMemberLicenseUnknown",label:"Org member, license unknown",capabilities:["identity.known","identity.verified","access.course","org.member","plane.platform",...t],unresolved:["license"],params:["orgId"],orgRole:"member"},{id:"orgMemberUnlicensed",label:"Org member, no Team license",capabilities:["identity.known","identity.verified","access.course","org.member","plane.platform","license.none",...t],unresolved:[],params:["orgId"],orgRole:"member"},{id:"orgAdminUnlicensed",label:"Org admin, no Team license",capabilities:["identity.known","identity.verified","access.course","org.member","org.admin","org.admin:{orgId}","orgs.spanTenants","plane.platform","license.none",...t],unresolved:[],params:["orgId"],orgRole:"admin"},{id:"orgAdminTeamLicense",label:"Org admin with a Team license",capabilities:["identity.known","identity.verified","access.course","org.member","org.admin","org.admin:{orgId}","plane.platform","license.team",...t],unresolved:[],params:["orgId"],orgRole:"admin"},{id:"billingAdminTeamLicense",label:"Billing admin with a Team license",capabilities:["identity.known","identity.verified","access.course","org.member","adept.billingAdmin","plane.platform","license.team",...t],unresolved:[],params:["orgId"],orgRole:"billingAdmin"},{id:"partnerTenantMember",label:"Partner-tenant member",capabilities:["identity.known","identity.verified","access.course","org.member","plane.tenant:00000000-0000-4000-8000-0000000007e1","feature.progress"],unresolved:["license"],params:["orgId"],orgRole:"member"}];n.map(e=>e.id),e.s(["r",0,n,"j",0,"preview"],392489)},80856,50569,616212,e=>{var t=e.i(570590);function n(e,t){return"/"===t?"/"===e:e===t||e.startsWith(`${t}/`)}function r(e){let t=e.split(/[?#]/)[0]||"/";return t.length>1?t.replace(/\/+$/,"")||"/":t}function i(e,t){if(!t)return!0;let i=r(e),a=t.include??[],o=t.exclude??[];return!(a.length>0&&!a.some(e=>n(i,e))||o.some(e=>n(i,e)))}let a=/^\/[A-Za-z0-9\-_.~/]*$/;function o(e){let t=e.trim();if(!t)return{error:"Empty line."};let n=/^https?:\/\/(?:www\.|newcbt\.)?cbtnuggets\.com(\/.*)?$/i.exec(t);return(n&&(t=n[1]||"/"),/^[a-z][a-z0-9+.-]*:/i.test(t)||t.startsWith("//"))?{error:`“${e.trim()}” — enter the path only (the part after cbtnuggets.com, starting with /), not a full address on another site.`}:t.startsWith("/")?/[?#]/.test(t)?{error:`“${e.trim()}” — leave off the ? and # part; a rule matches the page, not its parameters.`}:/\s/.test(t)?{error:`“${e.trim()}” — a path has no spaces. Put each path on its own line.`}:t.length>200?{error:`“${e.trim().slice(0,40)}…” — longer than any address on this site (200 characters).`}:t.includes("//")||t.split("/").some(e=>"."===e||".."===e)?{error:`“${e.trim()}” — a path has single slashes between plain segments.`}:a.test(t)?{path:r(t.toLowerCase())}:{error:`“${e.trim()}” — use only letters, numbers, hyphens and slashes, as the address bar shows them.`}:{error:`“${e.trim()}” — a path starts with /, for example /it-training/cisco.`}}function l(e,t=3){let n=e.slice(0,t).map(e=>"/"===e?"the homepage (/)":e).join(", "),r=e.length-t;return r>0?`${n} and ${r} more`:n}e.s(["N",0,50,"R",0,function(e){if(!e)return"Shows on every public page";let t=e.include??[],n=e.exclude??[],r=e=>1===e.length?"/"===e[0]?"":" and the pages under it":", and the pages under them";return t.length>0&&n.length>0?`Shows only on ${l(t)}${r(t)} — except ${l(n)}${r(n)}`:t.length>0?`Shows only on ${l(t)}${r(t)}`:`Shows on every public page except ${l(n)}${r(n)}`},"u",0,n,"m",0,i,"O",0,o,"s",0,r,"k",0,function(e){let t=[],n=[];for(let r of e.split(/\r?\n/)){if(!r.trim())continue;let e=o(r);"error"in e?n.push(e.error):t.includes(e.path)||t.push(e.path)}return t.length>50&&n.push(`${t.length} paths listed; the most is 50. Group them under a shared parent path instead.`),{paths:t,errors:n}},"l",0,function(e,t){return"all"===e||0===t.length?null:"include"===e?{include:[...t]}:{exclude:[...t]}},"J",0,function(e){return e?e.include&&e.include.length>0?{mode:"include",text:e.include.join("\n")}:e.exclude&&e.exclude.length>0?{mode:"exclude",text:e.exclude.join("\n")}:{mode:"all",text:""}:{mode:"all",text:""}}],50569);let s=[t.Q,"/playlist-enrollment","/checkout","/account","/admin"],c=["/pricing"];function u(e,t){let i=r(e);return s.find(e=>n(i,e))??("MARKETING"===t?c.find(e=>n(i,e))??null:null)}function d(e,t,n=null){return null===u(e,t)&&i(e,n)}e.s(["F",0,u,"g",0,d],80856);var f=e.i(843476),m=e.i(522016),p=e.i(618566),b=e.i(263676),h=e.i(271645);function g(e){let t=e.trim(),n=/^https?:\/\/([^/]+)(\/.*)?$/i.exec(t);if(n){if(!/(^|\.)cbtnuggets\.com$/i.test(n[1]))return"";t=n[2]??"/"}return t.startsWith("/")?((t=t.split(/[?#]/)[0]).length>1&&t.endsWith("/")&&(t=t.slice(0,-1)),t.toLowerCase()):""}e.i(896507);let y="cbt_banner_dismissed",v=new Set;function w(e){v.add(e);let t=t=>{(null===t.key||t.key===y)&&e()};return window.addEventListener("storage",t),()=>{v.delete(e),window.removeEventListener("storage",t)}}var x=e.i(268863),k=e.i(975157);let S={NOTICE:{dismiss:"text-cbt-200 hover:bg-white/10 hover:text-white focus-visible:ring-cbt-400 focus-visible:ring-offset-cbt-950",bar:"bg-surface-darker text-cbt-200",link:"text-cbt-400 underline underline-offset-2 hover:text-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-cbt-400 focus-visible:ring-offset-2 focus-visible:ring-offset-cbt-950",button:"rounded-md border border-cbt-400/60 px-3 py-1.5 text-sm font-semibold text-white underline underline-offset-2 hover:bg-white/10 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-cbt-400 focus-visible:ring-offset-2 focus-visible:ring-offset-cbt-950"},INFO:{dismiss:"text-cbt-900 hover:bg-cbt-100 focus-visible:ring-cbt-500",bar:"bg-cbt-50 text-cbt-900",link:"text-cbt-900 underline underline-offset-2 hover:text-cbt-700 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-cbt-500",button:"rounded-md bg-cbt-700 px-3 py-1.5 text-sm font-semibold text-white underline underline-offset-2 hover:bg-cbt-800 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-cbt-500 focus-visible:ring-offset-2"},PROMO:{dismiss:"text-white hover:bg-white/15 focus-visible:ring-white focus-visible:ring-offset-cbt-700",bar:"bg-[linear-gradient(135deg,var(--gradient-start),var(--gradient-end))] text-white",link:"text-white underline underline-offset-2 hover:text-cbt-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white focus-visible:ring-offset-2 focus-visible:ring-offset-cbt-700",button:"rounded-md bg-white px-3 py-1.5 text-sm font-semibold text-cbt-800 underline underline-offset-2 hover:bg-cbt-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white focus-visible:ring-offset-2 focus-visible:ring-offset-cbt-700"}};e.s(["f",0,function({banner:e,preview:t=!1,pathname:n,className:r}){let i,a,o,l=(0,p.usePathname)(),s=n??l??"/",c=(0,h.useId)(),u=(0,h.useSyncExternalStore)(w,()=>!t&&function(e,t,n=Date.now()){return function(e,t=Date.now()){try{let n=e?.getItem(y);if(!n)return null;let r=JSON.parse(n);if("string"!=typeof r.key||"number"!=typeof r.at||t-r.at>3456e7)return null;return{key:r.key,at:r.at}}catch{return null}}(e,n)?.key===t}(window.localStorage,e.dismissKey),()=>!1),j=(0,h.useCallback)(()=>{!function(e,t,n=Date.now()){try{e?.setItem(y,JSON.stringify({key:t,at:n}))}catch{}for(let e of v)e()}(window.localStorage,e.dismissKey),queueMicrotask(()=>document.getElementById("main-content")?.focus({preventScroll:!0}))},[e.dismissKey]);if(!t&&!d(s,e.team,e.pathRules)||u)return null;let _=S[e.tone],C=!!(e.linkHref&&e.linkLabel),E=C&&""!==g(e.linkHref)&&g(e.linkHref)===g(s),T="BUTTON"===e.linkStyle?_.button:_.link,N=C&&/^https?:\/\//i.test(e.linkHref)&&""===g(e.linkHref),A=C?t||E?(0,f.jsx)("span",{className:(0,k.f)(T,"cursor-default"),"data-site-banner-link":"plain",children:e.linkLabel}):"MARKETING"===e.team?(0,f.jsx)(x.TrackedLink,{href:e.linkHref,location:"site-banner:marketing",details:{banner_id:e.id},ariaDescribedBy:c,external:N,className:(0,k.f)(T,"shrink-0"),dataTestId:"site-banner-link",children:e.linkLabel}):N?(0,f.jsx)("a",{href:e.linkHref,target:"_blank",rel:"noopener noreferrer","aria-describedby":c,className:(0,k.f)(T,"shrink-0"),"data-testid":"site-banner-link",children:e.linkLabel}):(0,f.jsx)(m.default,{href:e.linkHref,"aria-describedby":c,className:(0,k.f)(T,"shrink-0"),"data-testid":"site-banner-link",children:e.linkLabel}):null,I=!t,L=(0,f.jsxs)("div",{className:(0,k.f)("mx-auto flex max-w-7xl flex-col gap-2 px-4 py-2.5 text-sm leading-snug @md:flex-row @md:items-center @md:justify-center @md:gap-4 @md:px-6 @5xl:px-8",I&&"pr-14 @md:pr-16"),children:[(0,f.jsxs)("p",{id:c,className:"min-w-0 break-words text-center @md:text-left",children:[e.title?(0,f.jsxs)("strong",{className:"font-semibold",children:[e.title," "]}):null,e.message]}),A?(0,f.jsx)("div",{className:"flex justify-center @md:justify-start",children:A}):null,I?(0,f.jsx)("button",{type:"button",onClick:j,"aria-label":"Dismiss this notice","data-site-banner-dismiss":"",className:(0,k.f)("absolute right-2 top-1/2 inline-flex size-11 -translate-y-1/2 items-center justify-center rounded-md focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2",_.dismiss),children:(0,f.jsx)(b.X,{className:"size-5","aria-hidden":"true",focusable:"false"})}):null]});return t?(0,f.jsx)("div",{"data-site-banner":e.id,"data-preview":"1",className:(0,k.f)("@container",_.bar,r),children:L}):(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("div",{role:"region","aria-label":"Site notice","data-site-banner":e.id,"data-site-banner-key":e.dismissKey,"data-nosnippet":"",className:(0,k.f)("@container relative",_.bar,r),children:L}),I?(0,f.jsx)("script",{dangerouslySetInnerHTML:{__html:(i=JSON.stringify(e.dismissKey),a=JSON.stringify(y),o=JSON.stringify("[site-banner] stored dismissal unreadable; the bar is shown"),`(function(){try{var r=localStorage.getItem(${a});if(!r)return;var d=JSON.parse(r);if(d&&d.key===${i}&&Date.now()-d.at<34560000000){var e=document.querySelector('[data-site-banner-key='+JSON.stringify(${i})+']');if(e)e.style.display='none';}}catch(e){console.warn(${o},e);}})();`)}}):null]})}],616212)},647072,169119,e=>{var t=e.i(686525),n=e.i(100207);let r="/contactus";n.o.email,n.o.email,n.o.phoneHref,n.o.phone,e.s(["f",0,r],169119);var i=e.i(570590),a=e.i(405240);let o="https://crm.cbtnuggets.com",l=`${o}/widget/super-widget.js`,s=`${o}/m`;function c(){return window.innerWidth<=480}let u={apiUrl:o,position:"bottom-right",primaryColor:"#040F28",widgetKey:"cbtnuggets-public",autoShow:!1,startMode:null,zIndex:999999},d=!1,f=null;async function m(){let e,{merged:n}=(0,t.y)(),r=(0,t.M)(),i=(0,t.L)();try{let t=await fetch("/api/geo");e=(await t.json()).country}catch{}return{...n,...i.analytics&&r[t.I.ANON_ID]?{anon_id:r[t.I.ANON_ID]}:{},session_id:r[t.I.SESSION_ID]||void 0,country:e}}async function p(e){let t=c();if((0,a.f)("chat_open",{properties:{entry_point:e.entryPoint,mode:t?"mobile_pwa":"panel",page:window.location.pathname}}),t){let e=new URL(s);e.searchParams.set("source",window.location.origin),window.location.href=e.toString();return}return window.CBTSuperWidget&&d?void window.CBTSuperWidget.open():new Promise((t,n)=>{let r=async()=>{if(!window.CBTSuperWidget)return void n(Error("CBTSuperWidget unavailable after script load"));try{if(!d){let t=await m();window.CBTSuperWidget.init({...u,title:e.title,attribution:t}),d=!0}f&&(clearTimeout(f),f=null),window.CBTSuperWidget.open(),requestAnimationFrame(()=>{let e=document.getElementById("cbt-widget-window")??document.getElementById("cbt-super-widget");if(e){let t=e.querySelector("button, [href], input, select, textarea, [tabindex]:not([tabindex='-1'])");t?.focus()}}),t()}catch(e){n(e instanceof Error?e:Error(String(e)))}},i=document.querySelector(`script[src="http://www.skru.ac.th/intro/?train=${l}"]`);if(i)return void(window.CBTSuperWidget?r():i.addEventListener("load",r,{once:!0}));f=setTimeout(()=>{f=null,e.onTimeout?.(),n(Error("CBT chat widget load timeout"))},1e4);let a=document.createElement("script");a.dataset.apiUrl=u.apiUrl,a.dataset.widgetKey=u.widgetKey,a.dataset.position=u.position,a.dataset.primaryColor=u.primaryColor,a.dataset.title=e.title,a.dataset.autoShow="false",a.dataset.autoInit="false",a.dataset.zIndex=String(u.zIndex),a.src=l,a.onload=r,a.onerror=()=>{a.remove(),f&&(clearTimeout(f),f=null),e.onError?.(),n(Error("CBT chat widget script failed to load"))},document.body.appendChild(a)})}e.s(["I",0,function(e){return e.startsWith("/support")?"Need help with your account?":e===r?"How can we help?":e.startsWith("/pricing")?"Questions about team pricing?":e.startsWith(i.Q)?"Questions before your demo?":"/platform"===e?"Questions about the platform?":"/trainerbot"===e?"Questions about IT Trainerbot?":e.startsWith("/teams/")?"How can we help your team?":"/features"===e||e.startsWith("/features/")?"Questions about platform features?":/^\/it-training\/[^/]+\/[^/]+\/[^/]+$/.test(e)?"Questions about this training for your team?":e.startsWith("/it-training")?"Questions about this training?":e.startsWith("/certification-playlist")?"Questions about certification paths?":e.startsWith("/customer-reviews")?"Questions about team outcomes?":"Questions about training your team?"},"A",0,c,"E",0,p],647072)}])})();