(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,527930,e=>{"use strict";e.i(247167);var t=e.i(271645),n=e.i(540886),r=e.i(552245);let i=t.forwardRef(function(e,t){let{render:i,className:a,disabled:s=!1,focusableWhenDisabled:o=!1,nativeButton:l=!0,style:u,...c}=e,{getButtonProps:d,buttonRef:f}=(0,n.f)({disabled:s,focusableWhenDisabled:o,native:l});return(0,r.f)("button",e,{state:{disabled:s},ref:[t,f],props:[c,d]})});e.s(["Button",0,i])},416919,809835,377570,e=>{"use strict";e.s(["f",0,function(e,t){let n={};for(let r in e){let i=e[r];if(t?.hasOwnProperty(r)){let e=t[r](i);null!=e&&Object.assign(n,e);continue}!0===i?n[`data-${r.toLowerCase()}`]="":i&&(n[`data-${r.toLowerCase()}`]=i.toString())}return n}],416919),e.s(["f",0,function(e,t){return"function"==typeof e?e(t):e}],809835),e.s(["f",0,function(e,t){return"function"==typeof e?e(t):e}],377570)},540886,838452,64350,e=>{"use strict";var t=e.i(271645),n=e.i(229315),r=e.i(667865),i=e.i(146376),a=e.i(176782),s=e.i(733332);let o=t.createContext(void 0);function l(e=!1){let n=t.useContext(o);if(void 0===n&&!e)throw Error((0,s.f)(16));return n}e.s(["e",0,o,"o",0,l],838452);var u=e.i(333848);function c(e,t,{detail:n=0}={}){e.dispatchEvent(new((0,u.f)(e)).PointerEvent("click",{bubbles:!0,cancelable:!0,composed:!0,detail:n,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,altKey:t.altKey,metaKey:t.metaKey}))}function d(e){return(0,n.E)(e)&&"BUTTON"===e.tagName}e.s(["f",0,c],64350),e.s(["f",0,function(e={}){let{disabled:s=!1,focusableWhenDisabled:o,tabIndex:u=0,native:f=!0,composite:m}=e,p=t.useRef(null),b=l(!0),g=m??void 0!==b,{props:h}=function(e){let{focusableWhenDisabled:n,disabled:r,composite:i=!1,tabIndex:a=0,isNativeButton:s}=e,o=i&&!1!==n,l=i&&!1===n;return{props:t.useMemo(()=>{let e={onKeyDown(e){r&&n&&"Tab"!==e.key&&e.preventDefault()}};return i||(e.tabIndex=a,!s&&r&&(e.tabIndex=n?a:-1)),(s&&(n||o)||!s&&r)&&(e["aria-disabled"]=r),s&&(!n||l)&&(e.disabled=r),e},[i,r,n,o,l,s,a])}}({focusableWhenDisabled:o,disabled:s,composite:g,tabIndex:u,isNativeButton:f}),y=t.useCallback(()=>{let e=p.current;d(e)&&g&&s&&void 0===h.disabled&&e.disabled&&(e.disabled=!1)},[s,h.disabled,g]);return(0,i.f)(y,[y]),{getButtonProps:t.useCallback((e={})=>{let{onClick:t,onMouseDown:r,onKeyUp:i,onKeyDown:o,onPointerDown:l,...u}=e;return(0,a.w)({onClick(e){s?e.preventDefault():t?.(e)},onMouseDown(e){s||r?.(e)},onKeyDown(e){var t;if(s||((0,a.U)(e),o?.(e),e.baseUIHandlerPrevented))return;let r=e.target===e.currentTarget,i=e.currentTarget,l=d(i),u=!f&&(t=i,(0,n.E)(t)&&"A"===t.tagName&&!!t.href),m=r&&(f?l:!u),p="Enter"===e.key,b=" "===e.key,h=i.getAttribute("role"),y=h?.startsWith("menuitem")||"option"===h||"gridcell"===h;if(r&&g&&b){if(e.defaultPrevented&&y)return;e.preventDefault(),(!f||l)&&(e.preventBaseUIHandler(),c(i,e));return}if(!m||f||!b&&!p){r&&u&&b&&e.preventDefault();return}!e.defaultPrevented&&(e.preventDefault(),p&&(e.preventBaseUIHandler(),c(i,e)))},onKeyUp(e){s||(((0,a.U)(e),i?.(e),e.target===e.currentTarget&&f&&g&&d(e.currentTarget)&&" "===e.key)?e.preventDefault():!e.baseUIHandlerPrevented&&(e.target!==e.currentTarget||f||g||e.defaultPrevented||" "!==e.key||(e.preventBaseUIHandler(),c(e.currentTarget,e))))},onPointerDown(e){s?e.preventDefault():l?.(e)}},f?{type:"button"}:{role:"button"},h,u)},[s,h,g,f]),buttonRef:(0,r.f)(e=>{p.current=e,y()})}}],540886)},552245,e=>{"use strict";e.i(247167);var t=e.i(733332),n=e.i(271645),r=e.i(828918),i=e.i(978554),a=e.i(435241);e.i(399627);var s=e.i(956789),o=e.i(416919),l=e.i(809835),u=e.i(377570),c=e.i(176782);let d=Symbol.for("react.lazy");e.s(["f",0,function(e,f,m={}){let p=f.render,b=function(e,t={}){var n;let{className:d,style:f,render:m}=e,{state:p=s.w,ref:b,props:g,stateAttributesMapping:h,enabled:y=!0}=t,w=y?(0,l.f)(d,p):void 0,v=y?(0,u.f)(f,p):void 0,x=y?(0,o.f)(p,h):s.w,k=y&&g?Array.isArray(n=g)?(0,c.b)(n):(0,c.w)(void 0,n):void 0,_=y?(0,a.f)(x,k)??{}:s.w;return("u">typeof document&&(y?Array.isArray(b)?_.ref=(0,r.f)([_.ref,(0,i.f)(m),...b]):_.ref=(0,r.A)(_.ref,(0,i.f)(m),b):(0,r.A)(null,null)),y)?(void 0!==w&&(_.className=(0,c.c)(_.className,w)),void 0!==v&&(_.style=(0,a.f)(_.style,v)),_):s.w}(f,m);return!1===m.enabled?null:function(e,r,i,a){if(r){if("function"==typeof r)return r(i,a);let e=(0,c.w)(i,r.props);e.ref=i.ref;let t=r;return t?.$$typeof===d&&(t=n.Children.toArray(r)[0]),n.cloneElement(t,e)}if(e&&"string"==typeof e){var s,o;return s=e,o=i,"button"===s?(0,n.createElement)("button",{type:"button",...o,key:o.key}):"img"===s?(0,n.createElement)("img",{alt:"",...o,key:o.key}):n.createElement(s,o)}throw Error((0,t.f)(8))}(e,p,b,m.state??s.w)}])},176782,e=>{"use strict";var t=e.i(435241);let n={};function r(e){return s(e)?{...o(e,n)}:function(e){let t={...e};for(let e in t){let n=t[e];a(e,n)&&(t[e]=l(n))}return t}(e)}function i(e,n){return s(n)?o(n,e):function(e,n){if(!n)return e;for(let r in n){let i=n[r];switch(r){case"style":e[r]=(0,t.f)(e.style,i);break;case"className":e[r]=c(e.className,i);break;default:a(r,i)?e[r]=function(e,t){return t?e?(...n)=>{let r=n[0];if(d(r)){u(r);let i=t(...n);return r.baseUIHandlerPrevented||e?.(...n),i}let i=t(...n);return e?.(...n),i}:l(t):e}(e[r],i):e[r]=i}}return e}(e,n)}function a(e,t){let n=e.charCodeAt(0),r=e.charCodeAt(1),i=e.charCodeAt(2);return 111===n&&110===r&&i>=65&&i<=90&&("function"==typeof t||void 0===t)}function s(e){return"function"==typeof e}function o(e,t){return s(e)?e(t):e??n}function l(e){return e?(...t)=>{let n=t[0];return d(n)&&u(n),e(...t)}:e}function u(e){return e.preventBaseUIHandler=()=>{e.baseUIHandlerPrevented=!0},e}function c(e,t){return t?e?t+" "+e:t:e}function d(e){return null!=e&&"object"==typeof e&&"nativeEvent"in e}e.s(["U",0,u,"c",0,c,"w",0,function(e,t,n,a,s){if(!n&&!a&&!s&&!e)return r(t);let o=r(e);return t&&(o=i(o,t)),n&&(o=i(o,n)),a&&(o=i(o,a)),s&&(o=i(o,s)),o},"b",0,function(e){if(0===e.length)return n;if(1===e.length)return r(e[0]);let t=r(e[0]);for(let n=1;n{"use strict";let t=Object.freeze([]),n=Object.freeze({});e.s(["v",0,t,"w",0,n,"x",0,function(){}])},733332,e=>{"use strict";let t=function(e,...t){let n=new URL("https://base-ui.com/production-error");return n.searchParams.set("code",e.toString()),t.forEach(e=>n.searchParams.append("args[]",e)),`Base UI error #${e}; visit ${n} for the full message.`};e.s(["f",0,t])},978554,e=>{"use strict";var t=e.i(271645),n=e.i(958321);e.s(["f",0,function(e){if(!t.isValidElement(e))return null;let r=e.props;return((0,n.f)(19)?r?.ref:e.ref)??null}])},435241,e=>{"use strict";e.s(["f",0,function(e,t){return e&&!t?e:!e&&t?t:e||t?{...e,...t}:void 0}])},958321,e=>{"use strict";let t=parseInt(e.i(271645).version,10);e.s(["f",0,function(e){return t>=e}])},146376,e=>{"use strict";var t=e.i(271645);let n="u">typeof document?t.useLayoutEffect:()=>{};e.s(["f",0,n])},828918,e=>{"use strict";var t=e.i(388940);function n(){return{callback:null,cleanup:null,refs:[]}}function r(e,t){if(e.refs=t,t.every(e=>null==e)){e.callback=null;return}e.callback=n=>{if(e.cleanup&&(e.cleanup(),e.cleanup=null),null!=n){let r=Array(t.length).fill(null);for(let e=0;e{for(let e=0;ee!==a[t]))&&r(s,e),s.callback}])},388940,e=>{"use strict";var t=e.i(271645);let n={};e.s(["useRefWithInit",0,function(e,r){let i=t.useRef(n);return i.current===n&&(i.current=e(r)),i}])},667865,214553,e=>{"use strict";let t={...e.i(271645)};e.s(["f",0,t],214553);var n=e.i(388940);let r=t.useInsertionEffect,i=r&&r!==t.useLayoutEffect?r:e=>e();function a(){let e={next:void 0,callback:s,trampoline:(...t)=>e.callback?.(...t),effect:()=>{e.callback=e.next}};return e}function s(){}e.s(["f",0,function(e){let t=(0,n.useRefWithInit)(a).current;return t.next=e,i(t.effect),t.trampoline}],667865)},399627,e=>{"use strict";e.i(247167),e.s(["f",0,function(){}])},229315,e=>{"use strict";let t;function n(){return"u">typeof window}function r(e){return s(e)?(e.nodeName||"").toLowerCase():"#document"}function i(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function a(e){var t;return null==(t=(s(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function s(e){return!!n()&&(e instanceof Node||e instanceof i(e).Node)}function o(e){return!!n()&&(e instanceof Element||e instanceof i(e).Element)}function l(e){return!!n()&&(e instanceof HTMLElement||e instanceof i(e).HTMLElement)}function u(e){return!(!n()||"u"!!e&&"none"!==e;function b(e){let t=o(e)?y(e):e;return p(t.transform)||p(t.translate)||p(t.scale)||p(t.rotate)||p(t.perspective)||!g()&&(p(t.backdropFilter)||p(t.filter))||f.test(t.willChange||"")||m.test(t.contain||"")}function g(){return null==t&&(t="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),t}function h(e){return/^(html|body|#document)$/.test(r(e))}function y(e){return i(e).getComputedStyle(e)}function w(e){if("html"===r(e))return e;let t=e.assignedSlot||e.parentNode||u(e)&&e.host||a(e);return u(t)?t.host:t}function v(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}e.s(["X",0,y,"f",0,function(e){let t=w(e);for(;l(t)&&!h(t);){if(b(t))return t;if(d(t))break;t=w(t)}return null},"I",0,a,"w",0,v,"A",0,r,"Q",0,function(e){return o(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}},"G",0,function e(t,n,r){var a;void 0===n&&(n=[]),void 0===r&&(r=!0);let s=function e(t){let n=w(t);return h(n)?(t.ownerDocument||t).body:l(n)&&c(n)?n:e(n)}(t),o=s===(null==(a=t.ownerDocument)?void 0:a.body),u=i(s);if(!o)return n.concat(s,e(s,[],r));{let t=v(u);return n.concat(u,u.visualViewport||[],c(s)?s:[],t&&r?e(t):[])}},"J",0,w,"K",0,i,"e",0,b,"m",0,o,"E",0,l,"Z",0,h,"t",0,s,"B",0,c,"R",0,u,"S",0,function(e){return/^(table|td|th)$/.test(r(e))},"D",0,d,"i",0,g])},333848,e=>{"use strict";var t=e.i(229315);e.s(["f",()=>t.K])},225913,e=>{"use strict";var t=e.i(207670);let n=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,r=t.f;e.s(["f",0,(e,t)=>i=>{var a;if((null==t?void 0:t.variants)==null)return r(e,null==i?void 0:i.class,null==i?void 0:i.className);let{variants:s,defaultVariants:o}=t,l=Object.keys(s).map(e=>{let t=null==i?void 0:i[e],r=null==o?void 0:o[e];if(null===t)return null;let a=n(t)||n(r);return s[e][a]}),u=i&&Object.entries(i).reduce((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e},{});return r(e,l,null==t||null==(a=t.compoundVariants)?void 0:a.reduce((e,t)=>{let{class:n,className:r,...i}=t;return Object.entries(i).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...o,...u}[t]):({...o,...u})[t]===n})?[...e,n,r]:e},[]),null==i?void 0:i.class,null==i?void 0:i.className)}])},768877,e=>{"use strict";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)},632781,e=>{"use strict";let t=(0,e.i(456420).f)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["f",0,t],632781)},814387,e=>{"use strict";let t=(0,e.i(456420).f)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["f",0,t])},263676,e=>{"use strict";var t=e.i(814387);e.s(["X",()=>t.f])},90317,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={bindSnapshot:function(){return c},createAsyncLocalStorage:function(){return l},createSnapshot:function(){return d},getOrCreateGlobalAsyncLocalStorage:function(){return u}};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 s{disable(){throw a}getStore(){}run(){throw a}exit(){throw a}enterWith(){throw a}static bind(e){return e}}let o="u">typeof globalThis&&globalThis.AsyncLocalStorage;function l(){return o?new o:new s}function u(e){let t=Symbol.for(`@next/${e}@16.4.5`),n=globalThis;return n[t]??=l()}function c(e){return o?o.bind(e):s.bind(e)}function d(){return o?o.snapshot():function(e,...t){return e(...t)}}},242344,(e,t,n)=>{"use strict";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)=>{"use strict";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)=>{"use strict";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)=>{"use strict";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}})},667585,(e,t,n)=>{"use strict";e.i(247167),Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"BailoutToCSRForNextDynamic",{enumerable:!0,get:function(){return s}});let r=e.r(271645),i=e.r(174080);e.r(132061);let a=e.r(349354).createReactBrowserBailoutReason.bind(null,"next/dynamic");function s({children:e}){return(0,r.use)((0,i.browser)(a)),e}},869093,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return u}});let r=e.r(843476),i=e.r(271645),a=e.r(667585),s=e.r(652157);function o(e){return{default:e&&"default"in e?e.default:e}}let l={loader:()=>Promise.resolve(o(()=>null)),loading:null,ssr:!0},u=function(e){let t={...l,...e},n=(0,i.lazy)(()=>t.loader().then(o)),u=t.loading;function c(e){let o=u?(0,r.jsx)(u,{isLoading:!0,pastDelay:!0,error:null}):null,l=!t.ssr||!!t.loading,c=l?i.Suspense:i.Fragment,d=t.ssr?(0,r.jsxs)(r.Fragment,{children:["u"{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"PreloadChunks",{enumerable:!0,get:function(){return l}});let r=e.r(843476),i=e.r(174080),a=e.r(563599),s=e.r(309885),o=e.r(543369);function l({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 u=(0,o.getAssetTokenQuery)();return(0,r.jsx)(r.Fragment,{children:n.map(e=>{let n=`${t.assetPrefix}/_next/${(0,s.encodeURIPath)(e)}${u}`;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)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={createReactBrowserBailoutReason:function(){return s},getReactBrowserBailoutReason:function(){return o},isNextBrowserBailoutError:function(){return l}};for(var i in r)Object.defineProperty(n,i,{enumerable:!0,get:r[i]});let a=Symbol.for("next.browser-bailout-reason");function s(e){return{$$typeof:a,reason:e}}function o(e){let t=e?.cause;return t?.$$typeof===a?t.reason:void 0}function l(e){return void 0!==o(e)}},420499,e=>{"use strict";var t=e.i(843476),n=e.i(271645),r=e.i(770703),i=e.i(461317);let a=(0,r.default)(()=>e.A(473555).then(e=>e.Analytics),{loadableGenerated:{modules:[836270]},ssr:!1}),s=(0,r.default)(()=>e.A(903775),{loadableGenerated:{modules:[474008]},ssr:!1});e.s(["DeferredAnalytics",0,function(){let[e,r]=(0,n.useState)(!1);return((0,n.useEffect)(()=>(0,i.f)(()=>r(!0),{timeout:500}),[]),e)?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a,{}),(0,t.jsx)(s,{})]}):null}])},698462,e=>{"use strict";var t=e.i(843476),n=e.i(271645),r=e.i(618566),i=e.i(541872),a=e.i(586168),s=e.i(405240),o=e.i(686525),l=e.i(15942),u=e.i(963997),c=e.i(744449),d=e.i(570590);function f(){let e=(0,c.M)();return null===e?{}:{[u.o]:e}}function m(e){return(e.textContent?.replace(/\s+/g," ").trim()||e.getAttribute("aria-label")?.trim()||"").slice(0,120)}function p(){let e=(0,r.usePathname)(),t=(0,r.useSearchParams)(),u=(0,n.useRef)(!0),c=t.toString();return(0,n.useEffect)(()=>{if(u.current){u.current=!1;return}if((0,o.Y)(e,c))return;let t={...f(),...(0,a.S)()};(0,s.f)("page_view",{event_type:"page",...Object.keys(t).length>0?{properties:t}:{}})},[e,c]),(0,n.useEffect)(()=>(function(e,t=()=>performance.now()){let n=!1,r=!1,a=0,o="visible"===document.visibilityState?t():null,u=null,c=()=>{null!==u&&clearTimeout(u),u=null},d=()=>l.Z-a-(null===o?0:t()-o),m=()=>{n||!r||d()>0||(n=!0,c(),(0,s.f)("page_engaged",{properties:{engaged_ms:l.Z,page:e,...f()}}))},p=()=>{c(),n||null===o||(u=setTimeout(m,Math.max(0,d())))},b=()=>{"visible"===document.visibilityState?(null===o&&(o=t()),p()):(null!==o&&(a+=t()-o),o=null,c())};document.addEventListener("visibilitychange",b);let g=(0,i.Z)(()=>{r=!0,m(),p()});return p(),()=>{c(),g(),document.removeEventListener("visibilitychange",b)}})(e),[e,c]),(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,s.f)("signup_start",{properties:{target_url:t.toString(),source_page:window.location.pathname,cta_text:m(n)}});if(t.origin===window.location.origin&&(t.pathname===d.Q||t.pathname.startsWith(`${d.Q}/`))){let e=window.location.pathname;if(e===d.Q||e.startsWith(`${d.Q}/`))return;(0,s.f)("demo_cta_click",{properties:{target_url:t.pathname+t.search+t.hash,source_page:window.location.pathname,cta_text:m(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)(p,{})})}])},880317,e=>{"use strict";e.s(["d",0,"mobile-nav-sheet","E",0,"mobile-nav-title"])},151395,e=>{"use strict";var t=e.i(843476),n=e.i(271645),r=e.i(110204),i=e.i(592970),a=e.i(19477),s=e.i(311063);function o(e){let[t,r]=(0,n.useState)(""),[o,l]=(0,n.useState)(""),[u,c]=(0,n.useState)({status:"idle"}),{captureEmail:d}=(0,i.f)(),f=async n=>{if(n.preventDefault(),"submitting"!==u.status&&"done"!==u.status){c({status:"submitting"});try{let n=await fetch("/api/marketing/newsletter",{method:"POST",headers:{"Content-Type":"applicationhttps://www.cbtnuggets.com/json"},body:JSON.stringify({email:t,company:o||void 0,..."footer_newsletter"!==e?{source:e}:{}})});if(n.ok){c({status:"done"}),(0,a.Z)("newsletter_signup",{email:t});return}let r=await n.json().catch(()=>null);c({status:"error",message:r?.error??"We couldn't sign you up right now. Please try again shortly."})}catch{c({status:"error",message:"We couldn't sign you up right now. Please try again shortly."})}}};return{email:t,honeypot:o,setHoneypot:l,state:u,onSubmit:f,onEmailFocus:()=>(0,s.H)(e,"email",window.location.pathname),onEmailChange:e=>{r(e),d(e),c(e=>"error"===e.status?{status:"idle"}:e)}}}e.s(["NewsletterBandForm",0,function(){let{email:e,honeypot:n,setHoneypot:i,state:a,onSubmit:s,onEmailFocus:l,onEmailChange:u}=o("blog_cta_newsletter");return"done"===a.status?(0,t.jsxs)("div",{role:"status",className:"mt-4 text-sm",children:[(0,t.jsx)("p",{className:"font-semibold",children:"You're subscribed."}),(0,t.jsx)("p",{className:"mt-1 text-muted-foreground",children:"Watch for training insights and new-course updates in your inbox."})]}):(0,t.jsxs)("form",{onSubmit:s,className:"mt-4","aria-label":"Email newsletter signup",children:[(0,t.jsx)("div",{className:"sr-only","aria-hidden":"true",children:(0,t.jsxs)("label",{children:["Company",(0,t.jsx)("input",{type:"text",tabIndex:-1,autoComplete:"off",value:n,onChange:e=>i(e.target.value)})]})}),(0,t.jsxs)("label",{htmlFor:"blog-cta-newsletter-email",className:"mb-1 block text-sm font-medium text-foreground",children:["Work email",(0,t.jsx)(r.RequiredMark,{})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row",children:[(0,t.jsx)("input",{id:"blog-cta-newsletter-email",type:"email",required:!0,"aria-required":"true",placeholder:"you@company.com",autoComplete:"email",value:e,onFocus:l,onChange:e=>u(e.target.value),className:"h-11 min-w-0 flex-1 rounded-full border border-cbt-300 bg-white px-4 text-sm outline-none transition-colors placeholder:text-muted-foreground focus-visible:border-cbt-500 focus-visible:ring-2 focus-visible:ring-cbt-400/30"}),(0,t.jsx)("button",{type:"submit",disabled:"submitting"===a.status,className:"btn-gradient inline-flex h-11 shrink-0 items-center justify-center rounded-full px-6 text-sm font-semibold text-white disabled:opacity-60",children:"submitting"===a.status?"Subscribing…":"Subscribe"})]}),"error"===a.status&&(0,t.jsx)("p",{role:"alert",className:"mt-2 text-sm text-red-600",children:a.message})]})},"NewsletterSignup",0,function(){let{email:e,honeypot:n,setHoneypot:i,state:a,onSubmit:s,onEmailFocus:l,onEmailChange:u}=o("footer_newsletter");return"done"===a.status?(0,t.jsxs)("div",{role:"status",className:"border-b border-white/10 py-8 text-sm text-cbt-200",children:[(0,t.jsx)("p",{className:"font-semibold text-white",children:"You're subscribed."}),(0,t.jsx)("p",{className:"mt-1",children:"Watch for training insights and new-course updates in your inbox."})]}):(0,t.jsxs)("form",{onSubmit:s,className:"flex flex-col gap-4 border-b border-white/10 py-8 lg:flex-row lg:items-end lg:justify-between","aria-label":"Email newsletter signup",children:[(0,t.jsxs)("div",{className:"max-w-md",children:[(0,t.jsx)("h2",{className:"font-display text-base font-bold text-white",children:"Training insights for IT teams"}),(0,t.jsx)("p",{className:"mt-1 text-sm text-cbt-300",children:"Get course releases, certification changes, and team-training strategies delivered to your inbox."})]}),(0,t.jsx)("div",{className:"sr-only","aria-hidden":"true",children:(0,t.jsxs)("label",{children:["Company",(0,t.jsx)("input",{type:"text",tabIndex:-1,autoComplete:"off",value:n,onChange:e=>i(e.target.value)})]})}),(0,t.jsxs)("div",{className:"flex w-full max-w-md flex-col gap-2",children:[(0,t.jsxs)("label",{htmlFor:"footer-newsletter-email",className:"text-sm font-medium text-cbt-200",children:["Work email",(0,t.jsx)(r.RequiredMark,{className:"text-danger-200"})]}),(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsx)("input",{id:"footer-newsletter-email",type:"email",required:!0,"aria-required":"true",placeholder:"you@company.com",autoComplete:"email",value:e,onFocus:l,onChange:e=>u(e.target.value),className:"h-11 min-w-0 flex-1 rounded-full border border-white/20 bg-white/5 px-4 text-sm text-white placeholder:text-cbt-400 outline-none transition-colors focus-visible:border-cbt-400 focus-visible:ring-2 focus-visible:ring-cbt-400/30"}),(0,t.jsx)("button",{type:"submit",disabled:"submitting"===a.status,className:"btn-gradient inline-flex h-11 shrink-0 items-center rounded-full px-6 text-sm font-semibold text-white disabled:opacity-60",children:"submitting"===a.status?"Subscribing…":"Subscribe"})]}),"error"===a.status&&(0,t.jsx)("p",{role:"alert",className:"text-sm text-red-300",children:a.message})]})]})}])},519455,e=>{"use strict";var t=e.i(843476),n=e.i(527930),r=e.i(225913),i=e.i(975157);let a=(0,r.f)("group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",outline:"border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80 aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",ghost:"hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50",destructive:"bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-8 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",xs:"h-6 gap-1 rounded-[min(var(--radius-md),10px)] px-2 text-sm in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3",sm:"h-7 gap-1 rounded-[min(var(--radius-md),12px)] px-2.5 text-sm in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5",lg:"h-9 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",icon:"size-8","icon-xs":"size-6 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3","icon-sm":"size-7 rounded-[min(var(--radius-md),12px)] in-data-[slot=button-group]:rounded-lg","icon-lg":"size-9"}},defaultVariants:{variant:"default",size:"default"}});e.s(["K",0,function({className:e,variant:r="default",size:s="default",...o}){return(0,t.jsx)(n.Button,{"data-slot":"button",className:(0,i.f)(a({variant:r,size:s,className:e})),...o})},"i",0,a])},110204,e=>{"use strict";var t=e.i(843476),n=e.i(975157);e.s(["Label",0,function({className:e,...r}){return(0,t.jsx)("label",{"data-slot":"label",className:(0,n.f)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",e),...r})},"RequiredMark",0,function({className:e,label:r="*"}){return(0,t.jsx)("span",{"aria-hidden":"true","data-slot":"required-mark",className:(0,n.f)("ml-0.5 text-danger-600",e),children:r})}])},100207,e=>{"use strict";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=>{"use strict";var t=e.i(570590),n=e.i(100207);if(2020-n.o.founded<20)throw Error("adept-platform: the '20+ years when the build began' figure no longer holds against COMPANY.founded");[{id:"one-platform",title:"One platform for their training and yours",capabilities:["one-platform"]},{id:"human-written-ai-built",title:"Human-written content, AI-built construction",capabilities:["human-written-ai-built"]},{id:"trainerbot-cited-answers",title:"IT Trainerbot cites the exact video moment",capabilities:["trainerbot-cited-answers"],extras:["trainerbot-reporting"]},{id:"labs-in-browser",title:"Labs beside the lesson",capabilities:["labs-in-browser"],extras:["playground-labs"]},{id:"searchable-transcripts",title:"A searchable transcript on every video",capabilities:["searchable-transcripts"]},{id:"in-lesson-questions",title:"Learning that checks understanding",capabilities:["in-lesson-questions"],extras:["flashcards"]},{id:"audit-reporting",title:"Reporting built for audits",capabilities:["audit-reporting"],extras:["assessment-activity-columns"]},{id:"admin-seats-invites-roles",title:"Admin control without tickets",capabilities:["admin-seats-invites-roles"]},{id:"sso-saml-any-idp",title:"SAML 2.0 single sign-on",capabilities:["sso-saml-any-idp"],extras:["mfa"]},{id:"lms-scorm-2004",title:"Delivery into your LMS",capabilities:["lms-scorm-2004"]},{id:"content-lifecycle",title:"Content with a lifecycle",capabilities:["content-lifecycle"]},{id:"trust-center-link",title:"Security and compliance documentation",capabilities:["trust-center-link"]}].map(e=>e.id);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"},{label:"Free Lessons",href:"/it-training/free-lessons"}],platform:[{label:"What is Adept?",href:"/platform/adept"},{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/security",hubSlug:"security"},{label:"Networking",href:"/it-training/networking",hubSlug:"networking"},{label:"Onboarding & Upskilling",href:"/upskilling"},{label:"DevOps",href:"/it-training/devops",hubSlug:"devops"},{label:"AI & Machine Learning",href:"/it-training/ai",hubSlug:"ai"},{label:"Data & Analytics",href:"/it-training/databases-analytics",hubSlug:"databases-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}],867332)},570590,992251,e=>{"use strict";var t=e.i(247167);let n="data-qa-region",r={quoteSubtotal:"quote-subtotal",annualPrices:"annual-prices"};e.s(["z",0,r,"U",0,n,"O",0,function(e){return{[n]:e}}],992251);let i=t.default.env.NEXT_PUBLIC_PLAY_STORE_URL??"https://play.google.com/store/apps/details?id=com.cbtnuggets.learning";function a(e){return Math.round(e/12)}function s(e){return new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",maximumFractionDigits:0}).format(e)}let o={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"}};o.team.web,o.team.web;let l=`Your quote is for ${o.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.`;o.team.web,a(708),s(708),o.individual.web,a(588),s(588),r.annualPrices,e.s(["O",0,"https://apps.apple.com/us/app/cbt-nuggets/id6755343529","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,l,"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,i,"C",0,o,"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,s,"a",0,a],570590)},60300,e=>{"use strict";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)}`}])},4909,e=>{"use strict";e.s(["J",0,"/api/catalog-pdf/access","x",0,"catalog-pdf-dialog","W",0,"turnstileToken","f",0,"catalog-pdf","S",0,function(e){return`/api/catalog-pdf/${e}`}])},541872,e=>{"use strict";let t="cbt_cookie_consent",n="cbt_consent_update",r=["_ga","_gid","_gat","_gac_","_gcl_au","_gcl_aw","_fbp","_fbc","_uetmsclkid","_uetvid","_uetsid","_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 s(e){return!!e&&1===e.consentVersion&&Date.now()-(e.updatedAt||e.timestamp||0)<=15552e6}function o(){return!s(a())}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 u(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(["U",0,n,"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 u(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,s,"_",0,o,"Z",0,function(e){if(!("u">typeof document))return()=>{};if(!o())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 u(n),l(),n},"u",0,function(e){let t=Date.now(),n=a()||i,r=e.analytics??n.analytics,s=e.marketing??n.marketing,o=e.functional??n.functional,c="custom";r&&s&&o?c="accepted_all":r||s||o||(c="rejected_all");let d={necessary:!0,analytics:r,marketing:s,functional:o,timestamp:t,consentVersion:1,decisionType:c,createdAt:n.createdAt||t,updatedAt:t};return u(d),(n.analytics&&!r||n.marketing&&!s)&&l(),d}])},896507,e=>{"use strict";var t=e.i(570590);let n=["quote","demo"],r=`${t.Q}/quote`,i={demo:t.Q,quote:r},a="seats",s={quote:"Get a Quote",demo:"Book a Demo"},o=t.K;function l(e){return Number.isFinite(e)?Math.min(500,Math.max(o,Math.floor(e))):12}let u="enterprise";function c(e,t){let n=new URLSearchParams;"number"==typeof e&&Number.isFinite(e)&&n.set(a,String(l(e))),t?.tier&&n.set("tier",t.tier);let i=n.toString();return i?`${r}?${i}`:r}let d=c(),f=["Request a Demo","Talk to Sales","See a Demo","Start Free Trial"];e.s(["U",0,i,"f",0,s,"I",0,u,"q",0,"intent","h",0,d,"K",0,500,"_",0,o,"d",0,f,"J",0,a,"n",0,c,"m",0,l,"y",0,function(e){return{label:s.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)?l(t):12}return(Array.isArray(e.tier)?e.tier[0]:e.tier)===u?l(t.V+1):12},"V",0,function(e=""){return RegExp(`\\b(${f.join("|")})\\b`,e)}])},592970,e=>{"use strict";var t=e.i(271645),n=e.i(405240),r=e.i(456735);let i="cbt_email_captured:",a=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;e.s(["f",0,function(){let e=(0,t.useRef)(null);return(0,t.useEffect)(()=>()=>{e.current&&clearTimeout(e.current)},[]),{captureEmail:(0,t.useCallback)(t=>{e.current&&(clearTimeout(e.current),e.current=null);let s=t.trim().toLowerCase();a.test(s)&&(e.current=setTimeout(()=>{e.current=null,(async()=>{let e=await (0,r.f)(s);!e||function(e){try{if(sessionStorage.getItem(i+e))return!0;return sessionStorage.setItem(i+e,"1"),!1}catch{return!1}}(e)||(0,n.f)("email_captured")})()},1500))},[])}}])},963997,744449,e=>{"use strict";function t(e,t){let n;for(let r of e.split(";")){let e=r.indexOf("=");if(-1===e||r.slice(0,e).trim()!==t)continue;let i=r.slice(e+1).trim();try{n=decodeURIComponent(i)}catch{n=i}}return n}e.s(["o",0,"gtm_loaded_at","Z",0,function(e,n){var r;let i;return r={anonId:t(e,"__evt_anon_id"),sessionId:t(e,"__evt_session_id")},null===(i=function(e){let t=e.anonId?.trim();if(t)return t;let n=e.sessionId?.trim();return n||null}(r))?"control":function(e){let t=0x811c9dc5;for(let n=0;n=55296&&r<=56319&&n+1=56320&&t<=57343&&(r=65536+(r-55296<<10)+(t-56320),n+=1)}for(let e of r<128?[r]:r<2048?[192|r>>6,128|63&r]:r<65536?[224|r>>12,128|r>>6&63,128|63&r]:[240|r>>18,128|r>>12&63,128|r>>6&63,128|63&r])t^=e,t=Math.imul(t,0x1000193)>>>0}return t%100}(i){"use strict";var t=e.i(456735);function n(e,t={}){window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:e,...t})}async function r(){try{let e=await fetch("/api/geo",{cache:"no-store"});if(!e.ok)return"US";let t=await e.json();return"string"==typeof t.country&&2===t.country.length?t.country:"US"}catch{return"US"}}e.s(["g",0,function(e){if(!/^GTM-[A-Z0-9]{4,12}$/.test(e))throw Error(`Invalid GTM container id: ${e}`);return` (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','${e}'); window.dataLayer.push({ event: 'cbt_initialize_data', membership: { logged_in: false, user_id: '', member_id: '', email: '' } }); `.trim()},"Z",0,n,"M",0,function(e){let i=e.email.trim();n("formSubmission",{enhanced_conversion_data:{email:i}}),Promise.all([(0,t.f)(i.toLowerCase()),r()]).then(([t,r])=>{let i=t??"";n("contact_sales_form",{contact_sales_form:{phone:e.phone,email:i,country:r,job_title:e.jobTitle,company:e.company,number_of_employees:e.numberOfEmployees},membership:{logged_in:!1,user_id:"",member_id:"",email:i}})}).catch(()=>{})},"f",0,function(){n("cbt_signed_in",{signed_in:!0})}])},456735,e=>{"use strict";async function t(e){if("u"e.toString(16).padStart(2,"0")).join("")}e.s(["f",0,t])},80856,50569,616212,e=>{"use strict";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??[],s=t.exclude??[];return!(a.length>0&&!a.some(e=>n(i,e))||s.some(e=>n(i,e)))}let a=/^\/[A-Za-z0-9\-_.~/]*$/;function s(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 o(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 ${o(t)}${r(t)} — except ${o(n)}${r(n)}`:t.length>0?`Shows only on ${o(t)}${r(t)}`:`Shows on every public page except ${o(n)}${r(n)}`},"u",0,n,"m",0,i,"O",0,s,"s",0,r,"k",0,function(e){let t=[],n=[];for(let r of e.split(/\r?\n/)){if(!r.trim())continue;let e=s(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 l=[t.Q,"/playlist-enrollment","/checkout","/account","/admin"],u=["/pricing"];function c(e,t){let i=r(e);return l.find(e=>n(i,e))??("MARKETING"===t?u.find(e=>n(i,e))??null:null)}function d(e,t,n=null){return null===c(e,t)&&i(e,n)}e.s(["F",0,c,"g",0,d],80856);var f=e.i(843476),m=e.i(522016),p=e.i(618566),b=e.i(263676),g=e.i(271645);function h(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",w=new Set;function v(e){w.add(e);let t=t=>{(null===t.key||t.key===y)&&e()};return window.addEventListener("storage",t),()=>{w.delete(e),window.removeEventListener("storage",t)}}var x=e.i(268863),k=e.i(975157);let _={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,s,o=(0,p.usePathname)(),l=n??o??"/",u=(0,g.useId)(),c=(0,g.useSyncExternalStore)(v,()=>!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),S=(0,g.useCallback)(()=>{!function(e,t,n=Date.now()){try{e?.setItem(y,JSON.stringify({key:t,at:n}))}catch{}for(let e of w)e()}(window.localStorage,e.dismissKey),queueMicrotask(()=>document.getElementById("main-content")?.focus({preventScroll:!0}))},[e.dismissKey]);if(!t&&!d(l,e.team,e.pathRules)||c)return null;let T=_[e.tone],j=!!(e.linkHref&&e.linkLabel),N=j&&""!==h(e.linkHref)&&h(e.linkHref)===h(l),C="BUTTON"===e.linkStyle?T.button:T.link,E=j&&/^https?:\/\//i.test(e.linkHref)&&""===h(e.linkHref),A=j?t||N?(0,f.jsx)("span",{className:(0,k.f)(C,"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:u,external:E,className:(0,k.f)(C,"shrink-0"),dataTestId:"site-banner-link",children:e.linkLabel}):E?(0,f.jsx)("a",{href:e.linkHref,target:"_blank",rel:"noopener noreferrer","aria-describedby":u,className:(0,k.f)(C,"shrink-0"),"data-testid":"site-banner-link",children:e.linkLabel}):(0,f.jsx)(m.default,{href:e.linkHref,"aria-describedby":u,className:(0,k.f)(C,"shrink-0"),"data-testid":"site-banner-link",children:e.linkLabel}):null,I=!t,$=(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:u,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:S,"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",T.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",T.bar,r),children:$}):(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",T.bar,r),children:$}),I?(0,f.jsx)("script",{dangerouslySetInnerHTML:{__html:(i=JSON.stringify(e.dismissKey),a=JSON.stringify(y),s=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(${s},e);}})();`)}}):null]})}],616212)},647072,169119,e=>{"use strict";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 s="https://crm.cbtnuggets.com",o=`${s}/widget/super-widget.js`,l=`${s}/m`;function u(){return window.innerWidth<=480}let c={apiUrl:s,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=u();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(l);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({...c,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=${o}"]`);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=c.apiUrl,a.dataset.widgetKey=c.widgetKey,a.dataset.position=c.position,a.dataset.primaryColor=c.primaryColor,a.dataset.title=e.title,a.dataset.autoShow="false",a.dataset.autoInit="false",a.dataset.zIndex=String(c.zIndex),a.src=o,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,u,"E",0,p],647072)}]);