(()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,526323,828376,998218,209977,141708,593480,309169,e=>{var t=e.i(402820),a=e.i(156736),i=e.i(209793),r=e.i(784324),n=e.i(264951),s=e.i(366250),l=e.i(77173),o=e.i(733332),d=e.i(271645),c=e.i(108821),u=e.i(540886),p=e.i(552245),m=e.i(405005),f=e.i(638396),g=e.i(459636),h=e.i(264111),b=e.i(788015),y=e.i(385689),x=e.i(32199);let v=d.forwardRef(function(e,t){let{render:a,className:i,style:r,disabled:n=!1,nativeButton:s=!0,id:l,payload:v,handle:w,...k}=e,j=(0,c.x)(!0),S=(0,g.f)(w)??j;if(!S)throw Error((0,o.f)(79));let N=(0,b.f)(l),T=S.useState("floatingRootContext"),M=S.useState("isOpenedByTrigger",N),P=S.useState("triggerPopupId",N),A=d.useRef(null),{registerTrigger:C,isMountedByThisTrigger:L}=(0,h.F)(N,A,S,{payload:v}),{getButtonProps:I,buttonRef:R}=(0,u.f)({disabled:n,native:s}),E=(0,y.f)(T),z=(0,x.p)(()=>S.select("open"),e=>{S.set("openMethod",e)}),$=S.useState("triggerProps",L);return(0,p.f)("button",e,{state:{disabled:n,open:M},ref:[R,t,C,A],props:[E.reference,$,z,{[f.j]:"",id:N,"aria-haspopup":"dialog","aria-expanded":M,"aria-controls":P},k,I],stateAttributesMapping:m.J})});e.s(["Backdrop",()=>t.f,"Close",()=>a.f,"Description",()=>i.f,"Popup",()=>r.f,"Portal",()=>n.f,"Root",0,function(e){return(0,s.f)("dialog",e)},"Title",()=>l.f,"Trigger",0,v],828376);var w=e.i(828376);e.s(["f",0,w],526323),e.s(["f",0,w],998218),e.s(["f",0,w],209977),e.s(["f",0,w],141708),e.s(["f",0,w],593480),e.s(["f",0,w],309169)},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)},856423,e=>{let t=(0,e.i(456420).f)("book-open",[["path",{d:"M12 5v16",key:"1f6ucr"}],["path",{d:"M20.001 19A2 2 0 0022 17V5a2 2 0 00-1.999-2L16 3.002A5 5 0 0012 5a5 5 0 00-4-2H4a2 2 0 00-2 2v12a2 2 0 001.999 2H8a5 5 0 014 2 5 5 0 014-2z",key:"1fyvmf"}]]);e.s(["f",0,t],856423)},226091,e=>{let t=(0,e.i(456420).f)("file-text",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);e.s(["f",0,t],226091)},823482,e=>{let t=(0,e.i(456420).f)("graduation-cap",[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]]);e.s(["f",0,t],823482)},142757,e=>{let t=(0,e.i(456420).f)("life-buoy",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m4.93 4.93 4.24 4.24",key:"1ymg45"}],["path",{d:"m14.83 9.17 4.24-4.24",key:"1cb5xl"}],["path",{d:"m14.83 14.83 4.24 4.24",key:"q42g0n"}],["path",{d:"m9.17 14.83-4.24 4.24",key:"bqpfvv"}],["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}]]);e.s(["f",0,t],142757)},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)},21357,e=>{let t=(0,e.i(456420).f)("play",[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]]);e.s(["f",0,t],21357)},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)},814387,e=>{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=>{var t=e.i(814387);e.s(["X",()=>t.f])},76003,e=>{var t=e.i(843476),a=e.i(271645),i=e.i(716327),r=e.i(632781),n=e.i(770703),s=e.i(618566),l=e.i(540874),o=e.i(987434);let d=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;function c(e){return"string"==typeof e&&e?/^https?:\/\//.test(e)?e:d.test(e)?`https://static.adept.at/content/profile/avatar/${e.toLowerCase()}/72.jpg`:null:null}var u=e.i(60300),p=e.i(778035),m=e.i(653290),f=e.i(392489);let g="/api/marketing/header-panel";async function h(e=fetch,t={}){try{let a=new URLSearchParams;t.freshPreferences&&a.set("refresh","preferences"),t.preview&&"self"!==t.preview&&a.set(f.j,t.preview);let i=a.toString(),r=i?`${g}?${i}`:g,n=await e(r,{credentials:"same-origin",cache:"no-store"});if(!n.ok)return null;let s=await n.json();if(!s||"object"!=typeof s||"string"!=typeof s.status)return null;return s}catch{return null}}let b=(0,n.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)(i.f,{"aria-hidden":!0,className:"hp-trigger-chevron"})]})})}function x(){let e=(0,l.r)(),i=a.useCallback(t=>{t.metaKey||t.ctrlKey||t.shiftKey||1===t.button||e&&(t.preventDefault(),e.login())},[e]);return(0,t.jsx)("a",{href:u.F,onClick:i,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 i=(0,l.r)(),n=(0,s.usePathname)(),d="admin"===e,{hintChecked:u,hint:f,phase:g,refreshPreferences:v,preview:w,setPreviewPersona:k}=function(e){let[t,i]=a.useState(!1),[r,n]=a.useState(null),[s,o]=a.useState({kind:"idle"}),[d,u]=a.useState(0),[f,g]=a.useState(!1),b=a.useRef(!1),y=a.useCallback(()=>{g(!0),u(e=>e+1)},[]);a.useEffect(()=>{let e;n((e=(0,l.B)())?{displayName:(0,m.E)(e.name),avatarUrl:c(e.picture)}:null),i(!0)},[]),a.useEffect(()=>{e&&!b.current&&(b.current=!0,u(e=>e+1)),e||(b.current=!1)},[e]);let x=t&&(null!==r||e);a.useEffect(()=>{if(!x)return;let e=!1;return o(e=>"ready"===e.kind?e:{kind:"loading"}),h(fetch,{freshPreferences:f}).then(t=>{!e&&(o(e=>t?{kind:"ready",model:t}:"ready"===e.kind?e:{kind:"unavailable"}),t&&(0,p.g)("verified"===t.status&&t.viewer.internal))}),()=>{e=!0}},[x,d]);let[v,w]=a.useState(null),k=a.useRef(0);return{hintChecked:t,hint:r,phase:s,refreshPreferences:y,preview:v,setPreviewPersona:a.useCallback(e=>{if(k.current+=1,!e||"self"===e)return void w(null);let t=k.current;w({personaId:e,kind:"loading"}),h(fetch,{preview:e}).then(a=>{k.current===t&&w(a?{personaId:e,kind:"ready",model:a}:{personaId:e,kind:"unavailable"})})},[])}}(i?.status==="authenticated"||d),j=a.useCallback(()=>{let e=n&&n.startsWith("/")?n:"/",t=d?"/admin/login":e;if(!o.f){d&&window.location.assign(t);return}o.f.logout({postLogoutRedirectUri:`${window.location.origin}${t}`})},[n,d]);if(i?.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)(r.f,{"aria-hidden":!0,className:"size-4 animate-spin"}),"Signing in…"]});if("ready"===g.kind)return"anonymous"===g.model.status?d?null:(0,t.jsx)(x,{}):(0,t.jsx)(b,{model:g.model,state:"ready",onSignOut:j,onPreferencesSaved:v,preview:w,onPreviewPersona:k});let S=i?.status==="authenticated"?i.profile:null;if(f||S){var N,T;let e=(N=f,T=S,{status:"hinted",viewer:{status:"hinted",displayName:N?.displayName??("string"==typeof T?.name?T.name:null),avatarUrl:N?.avatarUrl??c(T?.picture),email:null,internal:!1},sections:{learner:[],staff:[],employeeRow:[],footer:[],footerLinks:[],orgStrip:null,learnerBands:"shown"},editorHref:null,editor:null,unresolved:[],preview:null}),a="unavailable"===g.kind?"unavailable":"loading";return(0,t.jsx)(b,{model:e,state:a,onSignOut:j})}return d?"unavailable"===g.kind?null:(0,t.jsx)(y,{}):u?(0,t.jsx)(x,{}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"adept-slot-anon",children:(0,t.jsx)(x,{})}),(0,t.jsx)("div",{className:"adept-slot-authed",children:(0,t.jsx)(y,{})})]})}],76003)},254229,e=>{var t=e.i(843476),a=e.i(271645),i=e.i(522016),r=e.i(618566),n=e.i(526323),s=e.i(998218),l=e.i(209977),o=e.i(141708),d=e.i(593480),c=e.i(309169),u=e.i(566595),p=e.i(768877),m=e.i(263676),f=e.i(856423),g=e.i(823482),h=e.i(226091),b=e.i(21357),y=e.i(142757);let x=(0,e.i(456420).f)("layout-template",[["rect",{width:"18",height:"7",x:"3",y:"3",rx:"1",key:"f1a2em"}],["rect",{width:"9",height:"7",x:"3",y:"14",rx:"1",key:"jqznyg"}],["rect",{width:"5",height:"7",x:"16",y:"14",rx:"1",key:"q5h2i8"}]]);var v=e.i(975157),w=e.i(570590),k=e.i(311063);let j=[{value:"all",label:"All",icon:u.f},{value:"course",label:"Courses",icon:f.f},{value:"page",label:"Pages",icon:x},{value:"help",label:"Help",icon:y.f},{value:"skill",label:"Skills",icon:g.f},{value:"article",label:"Blog",icon:h.f}],S={course:"Course",page:"Page",help:"Help article",skill:"Skill",article:"Blog article"},N={general:{triggerAriaLabel:"Search",title:"Search CBT Nuggets",placeholder:"Search courses, skills, articles...",emptyHint:"Type at least 2 characters to search",subhead:null,showTypeTabs:!0,apiMode:null},preview:{triggerAriaLabel:"Preview any course",title:"Preview any course",placeholder:'Try "AWS", "CCNA", or "Kubernetes"...',emptyHint:"Search by vendor, certification, or skill. Each result opens a free skill from that course.",subhead:"Pick a course and a full skill from it plays — the same training your team would get.",showTypeTabs:!1,apiMode:"preview"},training:{triggerAriaLabel:"Search training",title:"Search training",placeholder:'Try "AWS", "CCNA", or "Kubernetes"...',emptyHint:"Search the catalog by vendor, certification, or skill",subhead:"Search the catalog — every course includes a skill preview so your team can verify instruction quality.",showTypeTabs:!1,apiMode:"training"}};e.s(["SearchDialog",0,function({variant:e="general",trigger:f,bindCommandK:g=!1,trackOpenLocation:h}={}){let y=N[e],x=(0,r.usePathname)(),[T,M]=(0,a.useState)(!1),[P,A]=(0,a.useState)(""),[C,L]=(0,a.useState)("all"),[I,R]=(0,a.useState)([]),[E,z]=(0,a.useState)(!1),[$,B]=(0,a.useState)(!1),[U,O]=(0,a.useState)(!1),[D,H]=(0,a.useState)(0),q=(0,a.useRef)(null),K=(0,a.useRef)(null),_=(0,a.useRef)(0),F=(0,r.useRouter)();function V(e){A(e),e.trim().length<2&&(R([]),B(!1),O(!1),K.current?.abort(),_.current+=1)}(0,a.useEffect)(()=>{if(P.trim().length<2)return;let e=setTimeout(()=>{K.current?.abort();let e=new AbortController;K.current=e;let t=++_.current;z(!0),O(!1),H(0);let a=new URLSearchParams({q:P.slice(0,200)});y.apiMode?a.set("mode",y.apiMode):"all"!==C&&a.set("type",C),fetch(`/api/search?${a}`,{signal:e.signal}).then(async e=>{if(!e.ok)throw Error(`Search failed (${e.status})`);let t=await e.json();if(t.error)throw Error(t.error);return t}).then(e=>{t===_.current&&(R(e.results??[]),B(!0))}).catch(e=>{t!==_.current||e&&"object"==typeof e&&"name"in e&&"AbortError"===e.name||(R([]),B(!0),O(!0))}).finally(()=>{t===_.current&&z(!1)})},300);return()=>{clearTimeout(e),K.current?.abort()}},[P,C,y.apiMode]);let X=(0,a.useCallback)(e=>{M(!1),F.push(e)},[F]);function Y(e){M(e),e&&h&&(0,k.p)(h,x),e||(K.current?.abort(),_.current+=1,A(""),L("all"),R([]),B(!1),O(!1),H(0),z(!1))}function W(e){requestAnimationFrame(()=>{q.current?.querySelector(`[data-index="${e}"]`)?.scrollIntoView({block:"nearest"})})}(0,a.useEffect)(()=>{if(g)return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e);function e(e){(e.metaKey||e.ctrlKey)&&"k"===e.key&&(e.preventDefault(),M(e=>!e))}},[g]);let Q=y.triggerAriaLabel,G=f?.type==="button";return(0,t.jsxs)(n.f.Root,{open:T,onOpenChange:Y,children:[f?(0,t.jsx)(s.f.Trigger,{render:f,nativeButton:G}):(0,t.jsx)(s.f.Trigger,{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 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":Q,children:(0,t.jsx)(u.f,{className:"size-5"})}),(0,t.jsxs)(l.f.Portal,{children:[(0,t.jsx)(o.f.Backdrop,{className:"fixed inset-0 z-50 bg-black/40 transition-opacity duration-200 data-ending-style:opacity-0 data-starting-style:opacity-0 supports-backdrop-filter:backdrop-blur-sm"}),(0,t.jsxs)(d.f.Popup,{className:"fixed inset-x-4 top-[min(20vh,8rem)] z-50 mx-auto max-w-xl overflow-hidden rounded-2xl border border-cbt-100 bg-white shadow-2xl transition duration-200 data-ending-style:scale-95 data-ending-style:opacity-0 data-starting-style:scale-95 data-starting-style:opacity-0",children:[(0,t.jsx)(c.f.Title,{className:"sr-only",children:y.title}),(0,t.jsxs)("div",{className:"flex items-center gap-3 border-b border-cbt-100 px-4",children:[(0,t.jsx)(u.f,{className:"size-5 shrink-0 text-cbt-500","aria-hidden":"true"}),(0,t.jsx)("input",{type:"text",role:"combobox","aria-haspopup":"listbox","aria-autocomplete":"list","aria-expanded":T,"aria-controls":"search-results","aria-label":y.title,"aria-activedescendant":I[D]?`search-item-${D}`:void 0,value:P,onChange:e=>V(e.target.value),onKeyDown:function(e){if("ArrowDown"===e.key){if(e.preventDefault(),0===I.length)return;let t=Math.min(D+1,I.length-1);H(t),W(t)}else if("ArrowUp"===e.key){if(e.preventDefault(),0===I.length)return;let t=Math.max(D-1,0);H(t),W(t)}else"Enter"===e.key&&I[D]&&(e.preventDefault(),X(I[D].url))},placeholder:y.placeholder,className:"h-14 flex-1 bg-transparent text-base text-foreground outline-none placeholder:text-muted-foreground"}),P&&(0,t.jsx)("button",{type:"button",onClick:()=>V(""),className:"flex size-11 items-center justify-center rounded-lg text-cbt-500 transition-colors hover:bg-cbt-50 hover:text-cbt-700 focus-visible:ring-2 focus-visible:ring-cbt-500 focus-visible:outline-none","aria-label":"Clear search",children:(0,t.jsx)(m.X,{className:"size-4"})}),E&&(0,t.jsx)("div",{className:"size-4 shrink-0 animate-spin rounded-full border-2 border-cbt-100 border-t-cbt-500",role:"status","aria-label":"Searching"})]}),y.subhead&&(0,t.jsx)("p",{className:"border-b border-cbt-100 px-4 py-2 text-sm text-muted-foreground",children:y.subhead}),y.showTypeTabs&&(0,t.jsx)("div",{className:"flex gap-1 border-b border-cbt-100 px-4 py-2",children:j.map(e=>{let a=e.icon;return(0,t.jsxs)("button",{onClick:()=>L(e.value),"aria-pressed":C===e.value,className:(0,v.f)("flex items-center gap-1.5 rounded-full px-3 py-1.5 text-sm font-medium transition-colors focus-visible:ring-2 focus-visible:ring-cbt-500 focus-visible:outline-none",C===e.value?"bg-cbt-600 text-white":"text-cbt-600 hover:bg-cbt-50 hover:text-cbt-700"),children:[(0,t.jsx)(a,{className:"size-3.5"}),e.label]},e.value)})}),(0,t.jsx)("div",{ref:q,id:"search-results",role:I.length>0&&!U?"listbox":"region","aria-live":I.length>0?"off":"polite","aria-label":y.title,className:"max-h-[min(60vh,24rem)] overflow-y-auto overscroll-contain p-2",children:U?(0,t.jsxs)("div",{className:"px-4 py-12 text-center text-sm text-danger-600",children:["Search is temporarily unavailable."," ",(0,t.jsx)(i.default,{href:"/solutions",onClick:()=>Y(!1),className:"font-medium underline decoration-danger-200 underline-offset-2 hover:decoration-danger-600",children:"Browse training by topic"})," ","while we reconnect."]}):$&&0===I.length?(0,t.jsxs)("div",{className:"space-y-3 px-4 py-10 text-center text-sm text-muted-foreground",children:[(0,t.jsxs)("p",{children:["No results for “",P,"”",y.showTypeTabs&&"all"!==C&&(0,t.jsxs)(t.Fragment,{children:[" in ",j.find(e=>e.value===C)?.label]})]}),null!==y.apiMode&&(0,t.jsxs)("p",{className:"text-sm",children:["Don’t see your stack?"," ",(0,t.jsx)(i.default,{href:w.Q,onClick:()=>Y(!1),className:"font-medium text-cbt-600 underline decoration-cbt-200 underline-offset-2 hover:decoration-cbt-600",children:"Book a Demo"})," ","and we’ll walk through coverage for your team."]})]}):!$&&P.length<2?(0,t.jsx)("div",{className:"px-4 py-12 text-center text-sm text-muted-foreground",children:y.emptyHint}):I.map((e,a)=>{let i;return(0,t.jsxs)("button",{id:`search-item-${a}`,role:"option","aria-selected":a===D,"aria-label":(i=[],e.matchedSkill&&e.matchedSkill!==e.previewSkill&&i.push(`matched by skill ${e.matchedSkill}`),e.previewSkill&&i.push(`preview opens ${e.previewSkill}`),i.length>0?`${e.title}, ${i.join(", ")}`:void 0),"data-index":a,onClick:()=>X(e.url),onMouseMove:()=>{a!==D&&H(a)},className:(0,v.f)("flex w-full items-start justify-between gap-3 rounded-lg px-3 py-2.5 text-left transition-colors",a===D?"bg-cbt-50 text-cbt-700":"text-foreground hover:bg-cbt-50/50"),children:[(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("span",{className:"rounded bg-cbt-100 px-1.5 py-0.5 text-sm font-bold uppercase tracking-wider text-cbt-600",children:S[e.type]??e.type}),e.category&&(0,t.jsx)("span",{className:"truncate text-sm text-muted-foreground",children:e.category})]}),(0,t.jsx)("p",{className:"mt-1 text-sm font-medium leading-snug",children:e.title}),e.matchedSkill&&e.matchedSkill!==e.previewSkill&&(0,t.jsxs)("p",{className:"mt-0.5 text-sm text-muted-foreground","aria-hidden":"true",children:["Covers:"," ",(0,t.jsx)("span",{className:"font-medium text-cbt-600",children:e.matchedSkill})]}),e.previewSkill&&(0,t.jsxs)("p",{className:"mt-0.5 flex items-center gap-1.5 text-sm text-muted-foreground","aria-hidden":"true",children:[(0,t.jsx)(b.f,{className:"size-3 shrink-0 fill-current text-cbt-600"}),"Preview:"," ",(0,t.jsx)("span",{className:"font-medium text-cbt-600",children:e.previewSkill})]}),e.description&&!e.matchedSkill&&!e.previewSkill&&(0,t.jsx)("p",{className:"mt-0.5 line-clamp-1 text-sm text-muted-foreground",children:e.description})]}),(0,t.jsx)(p.f,{"aria-hidden":"true",className:(0,v.f)("mt-1 size-4 shrink-0 transition-opacity",a===D?"text-cbt-500 opacity-100":"text-cbt-400 opacity-40")})]},`${e.type}-${e.url}`)})})]})]})]})}],254229)},980376,e=>{var t=e.i(843476),a=e.i(526323),i=e.i(998218),r=e.i(921637),n=e.i(209977),s=e.i(141708),l=e.i(593480),o=e.i(309169);e.i(152744);var d=e.i(975157),c=e.i(519455),u=e.i(560964);function p({...e}){return(0,t.jsx)(n.f.Portal,{"data-slot":"sheet-portal",...e})}function m({className:e,...a}){return(0,t.jsx)(s.f.Backdrop,{"data-slot":"sheet-overlay",className:(0,d.f)("fixed inset-0 z-50 bg-black/10 transition-opacity duration-150 data-ending-style:opacity-0 data-starting-style:opacity-0 supports-backdrop-filter:backdrop-blur-xs",e),...a})}e.s(["j",0,function({...e}){return(0,t.jsx)(a.f.Root,{"data-slot":"sheet",...e})},"U",0,function({className:e,children:a,side:i="right",showCloseButton:n=!0,...s}){return(0,t.jsxs)(p,{children:[(0,t.jsx)(m,{}),(0,t.jsxs)(l.f.Popup,{"data-slot":"sheet-content","data-side":i,className:(0,d.f)("fixed z-50 flex flex-col gap-4 bg-popover bg-clip-padding text-sm text-popover-foreground shadow-lg transition duration-200 ease-in-out data-ending-style:opacity-0 data-starting-style:opacity-0 data-[side=bottom]:inset-x-0 data-[side=bottom]:bottom-0 data-[side=bottom]:h-auto data-[side=bottom]:border-t data-[side=bottom]:data-ending-style:translate-y-[2.5rem] data-[side=bottom]:data-starting-style:translate-y-[2.5rem] data-[side=left]:inset-y-0 data-[side=left]:left-0 data-[side=left]:h-full data-[side=left]:w-3/4 data-[side=left]:border-r data-[side=left]:data-ending-style:translate-x-[-2.5rem] data-[side=left]:data-starting-style:translate-x-[-2.5rem] data-[side=right]:inset-y-0 data-[side=right]:right-0 data-[side=right]:h-full data-[side=right]:w-3/4 data-[side=right]:border-l data-[side=right]:data-ending-style:translate-x-[2.5rem] data-[side=right]:data-starting-style:translate-x-[2.5rem] data-[side=top]:inset-x-0 data-[side=top]:top-0 data-[side=top]:h-auto data-[side=top]:border-b data-[side=top]:data-ending-style:translate-y-[-2.5rem] data-[side=top]:data-starting-style:translate-y-[-2.5rem] data-[side=left]:sm:max-w-sm data-[side=right]:sm:max-w-sm",e),...s,children:[a,n&&(0,t.jsxs)(r.f.Close,{"data-slot":"sheet-close",render:(0,t.jsx)(c.K,{variant:"ghost",className:"absolute top-3 right-3",size:"icon-sm"}),children:[(0,t.jsx)(u.f,{}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})},"D",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"sheet-header",className:(0,d.f)("flex flex-col gap-0.5 p-4",e),...a})},"L",0,function({className:e,...a}){return(0,t.jsx)(o.f.Title,{"data-slot":"sheet-title",className:(0,d.f)("font-heading text-base font-medium text-foreground",e),...a})},"V",0,function({...e}){return(0,t.jsx)(i.f.Trigger,{"data-slot":"sheet-trigger",...e})}])},570590,e=>{var t=e.i(247167);let a=t.default.env.NEXT_PUBLIC_APP_STORE_URL??"https://apps.apple.com/us/developer/cbt-nuggets-llc/id1024898310",i=t.default.env.NEXT_PUBLIC_PLAY_STORE_URL??"https://play.google.com/store/apps/developer?id=CBT+Nuggets",r={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"}};r.team.web,r.team.web;let n=`Your quote is for ${r.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,a,"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,n,"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,r,"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)}])},987434,e=>{var t=e.i(247167),a=e.i(101420);let i=new Set(["https://newcbt.cbtnuggets.com","https://www.cbtnuggets.com"]);var r=e.i(270524);let n=(0,a.M)({issuer:"https://accounts.api.adept.at",clientId:"6e70abf6857a61f45fb6fd7ebc01fb17257a22367447c69c",authHost:"https://auth.cbtnuggets.com",redirectUri:function(e,t){let a;if(!t||!i.has(t))return e;try{a=new URL(e).pathname}catch{return e}return`${t}${a}`}("http://www.skru.ac.th/intro/?train=api/auth/callback/adept",window.location.origin),scope:t.default.env.NEXT_PUBLIC_ADEPT_SCOPE||"openid profile email",silentTimeoutMs:1e4,onSignupRequired:r.W});e.s(["f",0,n],987434)},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"],a=[{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"}];a.map(e=>e.id),e.s(["r",0,a,"j",0,"preview"],392489)}])})();