(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,882677,e=>{"use strict";var t=e.i(843476),i=e.i(522016),n=e.i(768877),s=e.i(689664),a=e.i(975157),r=e.i(311901),o=e.i(844097),l=e.i(268863),d=e.i(570590);let c={lg:"text-[2.75rem]",md:"text-[2.25rem]",sm:"text-3xl"};function u({pricing:e,perSeat:i=!1,tone:n="light",size:s="md",freeDetail:r="Free with no purchase required",className:o}){let l="dark"===n,p=(0,a.f)("font-display leading-none tracking-tight",c[s],l?"text-white":"text-cbt-500"),f=(0,a.f)("whitespace-nowrap text-sm",l?"text-cbt-300":"text-muted-foreground"),g=(0,a.f)("mt-1.5 text-sm font-medium",l?"text-cbt-300":"text-cbt-700");if("free"===e.kind)return(0,t.jsxs)("div",{className:o,children:[(0,t.jsx)("div",{className:"flex items-baseline gap-1.5",children:(0,t.jsx)("span",{className:p,children:"$0"})}),(0,t.jsx)("p",{className:g,children:r})]});let m="monthly-or-annual"===e.kind?e.monthlyPrice:(0,d.a)(e.annualPrice);return(0,t.jsxs)("div",{className:o,children:[(0,t.jsxs)("div",{className:"flex items-baseline gap-1.5",children:[(0,t.jsx)("span",{className:p,children:(0,d.Y)(m)}),(0,t.jsx)("span",{className:f,children:i?"per seat / mo":"per month"})]}),(0,t.jsx)("p",{className:g,children:"monthly-or-annual"===e.kind?"Billed monthly":"Billed annually"}),"monthly-or-annual"===e.kind&&(0,t.jsxs)("p",{className:(0,a.f)("mt-0.5 text-sm",l?"text-cbt-300":"text-muted-foreground"),children:["or ",(0,d.Y)(e.annualPrice)," billed annually"]})]})}var p=e.i(951793),f=e.i(290684),g=e.i(271645),m=e.i(17989),h=e.i(46420),x=e.i(733332);let b=g.createContext(void 0);function v(e){let t=g.useContext(b);if(void 0===t&&!e)throw Error((0,x.f)(47));return t}var y=e.i(174080),j=e.i(301252),S=e.i(439957),C=e.i(422428),w=e.i(641530),k=e.i(250446),N=e.i(957749),T=e.i(6304),I=e.i(264111),R=e.i(116786),M=e.i(990627),P=e.i(638396);let O={...R.j,disabled:e=>e.disabled,instantType:e=>e.instantType,openMethod:e=>e.openMethod,openChangeReason:e=>e.openChangeReason,modal:e=>e.modal,focusManagerModal:e=>e.focusManagerModal,stickIfOpen:e=>e.stickIfOpen,titleElementId:e=>e.titleElementId,descriptionElementId:e=>e.descriptionElementId,openOnHover:e=>e.openOnHover,closeDelay:e=>e.closeDelay,adaptiveOrigin:e=>e.adaptiveOrigin};class E extends j.f{constructor(e,t,i){var n;let s=new M.f;super(function(e,t,i,n=!1){let s={...(0,R.i)(),disabled:!1,modal:!1,focusManagerModal:!1,instantType:void 0,openMethod:null,openChangeReason:null,titleElementId:void 0,descriptionElementId:void 0,stickIfOpen:!0,openOnHover:!1,closeDelay:0,adaptiveOrigin:void 0,...e};return s.open&&e?.mounted===void 0&&(s.mounted=!0),s.floatingRootContext=(0,R.c)(t,i,n),s}(e,s,t,i),(n=s,{popupRef:g.createRef(),onOpenChange:void 0,onOpenChangeComplete:void 0,triggerFocusTargetRef:g.createRef(),beforeContentFocusGuardRef:g.createRef(),stickIfOpenTimeout:new S.U,triggerElements:n}),O)}setOpen=(e,t)=>{let i,n=t.reason===C.f.triggerHover,s=t.reason===w.f.triggerPress&&0===t.event.detail,a=!e&&(t.reason===k.f.escapeKey||null==t.reason),r=(0,I.x)(t),o=this.select("activeTriggerId");if(e||t.reason!==N.f.closePress||null!=t.trigger||null==o||(t.trigger=this.context.triggerElements.getById(o)??this.select("activeTriggerElement")??void 0),this.context.onOpenChange?.(e,t),t.isCanceled)return;this.state.floatingRootContext.dispatchOpenChange(e,t);let l=()=>{let i={open:e,openChangeReason:t.reason};(0,I.s)(i,e,t.trigger,r()),this.update(i)};n?(this.set("stickIfOpen",!0),this.context.stickIfOpenTimeout.start(P.K,()=>{this.set("stickIfOpen",!1)}),y.flushSync(l)):l(),s?i="click":a?i="dismiss":t.reason===T.f.focusOut&&(i="focus"),this.set("instantType",i)}}var A=e.i(675606),F=e.i(268765);function z({props:e}){var i;let n,{children:s,open:a,defaultOpen:r=!1,onOpenChange:o,onOpenChangeComplete:l,modal:d=!1,handle:c,triggerId:u,defaultTriggerId:p=null}=e,f=(i={modal:d,open:r,openProp:a,activeTriggerId:p,triggerIdProp:u},n=(0,I._)((e,t)=>new E(i,e,t)),g.useEffect(()=>n.context.stickIfOpenTimeout.disposeEffect(),[n]),n);f.useControlledProp("openProp",a),f.useControlledProp("triggerIdProp",u);let m=f.useState("open"),h=f.useState("mounted"),x=f.useState("payload");f.useContextCallback("onOpenChange",o),f.useContextCallback("onOpenChangeComplete",l),(0,I.e)(f,m),(0,I.z)(f);let{forceUnmount:v}=(0,I.L)(m,f,()=>{f.update({stickIfOpen:!0,openChangeReason:null})});f.useSyncedValues({modal:d}),g.useEffect(()=>{m||f.context.stickIfOpenTimeout.clear()},[f,m]),g.useImperativeHandle(e.actionsRef,()=>({unmount:v,close:()=>f.setOpen(!1,(0,A.j)(F.f.imperativeAction))}),[v,f]);let y=m||h;return(0,t.jsxs)(b.Provider,{value:f,children:[c&&(0,t.jsx)(I.d,{handle:c,store:f}),y&&(0,t.jsx)(L,{store:f,modal:d}),"function"==typeof s?s({payload:x}):s]})}function L({store:e,modal:t}){let i=e.useState("floatingRootContext"),n=(0,m.f)(i,{outsidePressEvent:{mouse:"trap-focus"===t?"sloppy":"intentional",touch:"sloppy"}}),s=n.reference,a=n.floating;return(0,I.y)(e,{activeTriggerProps:s,inactiveTriggerProps:s,popupProps:a}),null}var $=e.i(540886),B=e.i(405005),H=e.i(552245),q=e.i(650316),G=e.i(385689),D=e.i(872135),Y=e.i(788015),V=e.i(152535),K=e.i(459636),U=e.i(346570),_=e.i(32199);let W=g.forwardRef(function(e,i){let{render:n,className:s,style:a,disabled:r=!1,nativeButton:o=!0,handle:l,payload:d,openOnHover:c=!1,delay:u=300,closeDelay:p=0,id:f,...m}=e,h=v(!0),b=(0,K.f)(l)??h;if(!b)throw Error((0,x.f)(74));let y=(0,Y.f)(f),j=b.useState("isTriggerActive",y),S=b.useState("floatingRootContext"),C=b.useState("isOpenedByTrigger",y),k=b.useState("triggerPopupId",y),N=g.useRef(null),{registerTrigger:T,isMountedByThisTrigger:R}=(0,I.F)(y,N,b,{payload:d,disabled:r,openOnHover:c,closeDelay:p}),M=b.useState("openChangeReason"),O=b.useState("stickIfOpen"),E=b.useState("openMethod"),A=b.useState("focusManagerModal"),F=(0,D.f)(S,{enabled:!r&&c&&("touch"!==E||M!==w.f.triggerPress),mouseOnly:!0,move:!1,handleClose:(0,q.f)(),restMs:u,delay:{close:p},triggerElementRef:N,isActiveTrigger:j,isClosing:()=>"ending"===b.select("transitionStatus")}),z=(0,G.f)(S,{stickIfOpen:O}),L=(0,_.p)(()=>b.select("open"),e=>{b.set("openMethod",e)}),W=b.useState("triggerProps",R),{getButtonProps:J,buttonRef:X}=(0,$.f)({disabled:r,native:o}),{preFocusGuardRef:Q,handlePreFocusGuardFocus:Z,handleFocusTargetFocus:ee}=(0,U.f)(b,N),et=(0,H.f)("button",e,{state:{disabled:r,open:C},ref:[X,i,T,N],props:[z.reference,F,W,L,{[P.j]:"",id:y,"aria-haspopup":"dialog","aria-expanded":C,"aria-controls":k},m,J],stateAttributesMapping:{open:e=>e&&M===w.f.triggerPress?B.f.open(e):B.J.open(e)}}),ei=(0,t.jsx)(g.Fragment,{children:et},y);return R&&!A?(0,t.jsxs)(g.Fragment,{children:[(0,t.jsx)(V.f,{ref:Q,onFocus:Z}),ei,(0,t.jsx)(V.f,{ref:b.context.triggerFocusTargetRef,onFocus:ee})]}):ei});var J=e.i(726674);let X=g.createContext(void 0),Q=g.forwardRef(function(e,i){let{keepMounted:n=!1,...s}=e;return v().useState("mounted")||n?(0,t.jsx)(X.Provider,{value:n,children:(0,t.jsx)(J.r,{ref:i,...s})}):null});var Z=e.i(144394),ee=e.i(146376);let et=g.createContext(void 0);function ei(){let e=g.useContext(et);if(!e)throw Error((0,x.f)(46));return e}var en=e.i(923706),es=e.i(426),ea=e.i(222640),er=e.i(789579),eo=e.i(33383);let el=g.forwardRef(function(e,i){let{render:n,className:s,style:a,anchor:r,positionMethod:o,side:l,align:d,sideOffset:c,alignOffset:u,collisionBoundary:p="clipping-ancestors",collisionPadding:f,arrowPadding:m,sticky:b,disableAnchorTracking:y=!1,collisionAvoidance:j=P.n,...S}=e,w=v(),k=function(){let e=g.useContext(X);if(void 0===e)throw Error((0,x.f)(45));return e}(),N=(0,h.T)(),T=w.useState("floatingRootContext"),I=w.useState("mounted"),R=w.useState("open"),M=w.useState("openChangeReason"),O=w.useState("activeTriggerElement"),E=w.useState("modal"),A=w.useState("openMethod"),F=w.useState("positionerElement"),z=w.useState("instantType"),L=w.useState("transitionStatus"),$=w.useState("adaptiveOrigin"),B=g.useRef(null),H=(0,ea.f)(F),q=(0,en.f)({anchor:r,floatingRootContext:T,positionMethod:o,mounted:I,side:l,sideOffset:c,align:d,alignOffset:u,arrowPadding:m,collisionBoundary:p,collisionPadding:f,sticky:b,disableAnchorTracking:y,keepMounted:k,nodeId:N,collisionAvoidance:j,adaptiveOrigin:$}),G=T.useState("domReferenceElement");(0,ee.f)(()=>{let e=B.current;if(G&&(B.current=G),e&&G&&G!==e){w.set("instantType",void 0);let e=new AbortController;return H(()=>{w.set("instantType","trigger-change")},e.signal),()=>{e.abort()}}},[G,H,w]);let D=!0===E&&M!==C.f.triggerHover;(0,eo.f)(R&&D,"touch"===A,F,O);let Y=w.useStateSetter("positionerElement"),V={open:R,side:q.side,align:q.align,anchorHidden:q.anchorHidden,instant:z},K=(0,er.f)(e,V,{styles:q.positionerStyles,transitionStatus:L,props:S,refs:[i,Y],hidden:!I,inert:!R});return(0,t.jsxs)(et.Provider,{value:q,children:[I&&D&&(0,t.jsx)(es.f,{inert:(0,Z.f)(!R),cutout:O}),(0,t.jsx)(h.s,{id:N,children:K})]})});var ed=e.i(229315),ec=e.i(61487),eu=e.i(431157),ep=e.i(137584),ef=e.i(673327),eg=e.i(96533),em=e.i(253984),eh=e.i(667865);let ex=g.createContext(void 0),eb=g.forwardRef(function(e,i){let{render:n,className:s,style:a,initialFocus:r,finalFocus:o,...l}=e,d=v(),c=ei(),u=null!=(0,eg.f)(!0),{context:p,hasClosePart:f}=function(){let[e,t]=g.useState(0),i=(0,eh.f)(()=>(t(e=>e+1),()=>{t(e=>Math.max(0,e-1))}));return{context:g.useMemo(()=>({register:i}),[i]),hasClosePart:e>0}}(),m=d.useState("open"),h=d.useState("openMethod"),x=d.useState("instantType"),b=d.useState("transitionStatus"),y=d.useState("popupProps"),j=d.useState("titleElementId"),S=d.useState("descriptionElementId"),w=d.useState("modal"),k=d.useState("mounted"),N=d.useState("openChangeReason"),T=d.useState("activeTriggerElement"),R=d.useState("floatingRootContext"),M=R.useState("floatingId"),P=d.useState("disabled"),O=d.useState("openOnHover"),E=d.useState("closeDelay");(0,ep.f)({open:m,ref:d.context.popupRef,onComplete(){m&&d.context.onOpenChangeComplete?.(!0)}}),(0,eu.f)(R,{enabled:O&&!P,closeDelay:E});let A=void 0===r?(0,I.H)(d.context.popupRef):r,F=!1!==w&&f;d.useSyncedValue("focusManagerModal",F);let z=d.useStateSetter("popupElement"),L={open:m,side:c.side,align:c.align,instant:x,transitionStatus:b},$=(0,H.f)("div",e,{state:L,ref:[i,d.context.popupRef,z],props:[y,{id:M,role:"dialog",...I.X,"aria-labelledby":j,"aria-describedby":S,onKeyDown(e){u&&ef.J.has(e.key)&&e.stopPropagation()}},(0,em.f)(b),l],stateAttributesMapping:B.M});return(0,t.jsx)(ec.f,{context:R,openInteractionType:h,modal:F,disabled:!k||N===C.f.triggerHover,initialFocus:A,returnFocus:o,restoreFocus:"popup",previousFocusableElement:(0,ed.E)(T)?T:void 0,nextFocusableElement:d.context.triggerFocusTargetRef,beforeContentFocusGuardRef:d.context.beforeContentFocusGuardRef,children:(0,t.jsx)(ex.Provider,{value:p,children:$})})}),ev=g.forwardRef(function(e,t){let{render:i,className:n,style:s,...a}=e,r=v().useState("open"),{arrowRef:o,side:l,align:d,arrowUncentered:c,arrowStyles:u}=ei();return(0,H.f)("div",e,{state:{open:r,side:l,align:d,uncentered:c},ref:[t,o],props:[{style:u,"aria-hidden":!0},a],stateAttributesMapping:B.E})}),ey=g.forwardRef(function(e,t){let{render:i,className:n,style:s,...a}=e,r=v(),o=(0,Y.f)(a.id);return r.useSyncedValueWithCleanup("titleElementId",o),(0,H.f)("h2",e,{ref:t,props:[{id:o},a]})}),ej=g.forwardRef(function(e,t){let{render:i,className:n,style:s,...a}=e,r=v(),o=(0,Y.f)(a.id);return r.useSyncedValueWithCleanup("descriptionElementId",o),(0,H.f)("p",e,{ref:t,props:[{id:o},a]})});e.s(["Arrow",0,ev,"Description",0,ej,"Popup",0,eb,"Portal",0,Q,"Positioner",0,el,"Root",0,function(e){return v(!0)?(0,t.jsx)(z,{props:e}):(0,t.jsx)(h.V,{children:(0,t.jsx)(z,{props:e})})},"Title",0,ey,"Trigger",0,W],466914);var eS=e.i(466914),eS=eS,eC=eS,ew=eS,ek=eS,eN=eS,eT=eS,eI=eS,eR=eS,eM=e.i(584026);function eP({tone:e="light",className:i,lead:n="Unlimited answers are subject to",trail:s="."}){return(0,t.jsxs)("span",{className:i,children:[n," ",(0,t.jsxs)(eS.Root,{children:[(0,t.jsx)(eC.Trigger,{className:(0,a.f)("inline-flex min-h-11 -my-3 items-center rounded-sm underline decoration-dotted underline-offset-2 transition-colors","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2","dark"===e?"text-cbt-200 hover:text-white focus-visible:ring-cbt-300 focus-visible:ring-offset-(--surface-darker)":"text-cbt-700 hover:text-cbt-500 focus-visible:ring-cbt-500 focus-visible:ring-offset-white"),children:"fair use"}),(0,t.jsx)(ew.Portal,{children:(0,t.jsx)(ek.Positioner,{side:"top",sideOffset:8,className:"isolate z-50",children:(0,t.jsxs)(eN.Popup,{className:(0,a.f)("w-80 max-w-[calc(100vw-2rem)] rounded-xl border border-cbt-100 bg-white p-4 text-left text-sm text-cbt-800 shadow-xl","origin-(--transform-origin) transition duration-150 data-ending-style:scale-95 data-ending-style:opacity-0 data-starting-style:scale-95 data-starting-style:opacity-0"),children:[(0,t.jsxs)(eT.Title,{className:"flex items-center gap-2 font-display text-base font-semibold leading-tight text-cbt-800",children:[(0,t.jsx)(eM.f,{className:"size-4 shrink-0 text-cbt-500","aria-hidden":"true"}),"What “fair use” means"]}),(0,t.jsx)(eI.Description,{className:"mt-2 leading-relaxed text-muted-foreground",children:"Unlimited means unlimited for people. Fair-use limits exist to protect IT Trainerbot from bots, scripted scraping, and other malicious or automated use that would degrade answers for everyone. They are not a quota for engineers asking questions, and there is no published number because there is nothing for a person to run into."}),(0,t.jsx)(eR.Arrow,{className:"size-2.5 translate-y-[calc(-50%-2px)] rotate-45 rounded-[2px] border-r border-b border-cbt-100 bg-white data-[side=top]:-bottom-2.5"})]})})})]}),s]})}var eO=e.i(206917),eE=e.i(920291),eA=e.i(618566),eF=e.i(456420);let ez=(0,eF.f)("brain",[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]]),eL=(0,eF.f)("file-up",[["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:"M12 12v6",key:"3ahymv"}],["path",{d:"m15 15-3-3-3 3",key:"15xj92"}]]);var e$=e.i(779266);let eB=(0,eF.f)("messages-square",[["path",{d:"M16 10a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 14.286V4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z",key:"1n2ejm"}],["path",{d:"M20 9a2 2 0 0 1 2 2v10.286a.71.71 0 0 1-1.212.502l-2.202-2.202A2 2 0 0 0 17.172 19H10a2 2 0 0 1-2-2v-1",key:"1qfcsi"}]]);var eH=e.i(328623),eq=e.i(892870);let eG=(0,eF.f)("video",[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]]);var eD=e.i(410532),eY=e.i(311063),eV=e.i(472033);let eK="Trainerbot Plus",eU=(0,f.B)("trainerbot-plus"),e_=(0,eD.B)("trainerbot-plus"),eW=`Everything in ${d.C.trainerbot.web} — unlimited answers backed by human IT experts, every one citing its source video — plus the tools that make it your own assistant.`,eJ=[{id:"answers",Icon:eB,title:"Unlimited IT answers",desc:`Ask across the CBT Nuggets catalog of content as often as you need. ${f.x}`},{id:"citations",Icon:eG,title:"Every answer cites its source video",desc:"Follow the citation into the lesson the answer came from."},{id:"experts",Icon:eq.f,title:"Answers backed by human IT experts",desc:"Grounded in training built by CBT Nuggets trainers."},{id:"saved",Icon:e$.f,title:"Saved conversations",desc:"Keep every conversation and pick it up where you left off."},{id:"memories",Icon:ez,title:"Memories",desc:"Context carries from one conversation to the next, so you never start over."},{id:"deepThink",Icon:eH.f,title:"Deep Think",desc:"Longer, more thorough reasoning for the complex questions."},{id:"upload",Icon:eL,title:"Image and file upload",desc:"Share a screenshot, config, or log and ask about it directly."}],eX=[{id:"monthly",label:"Monthly",figure:d.z,unit:"per month",detail:`${(0,d.Y)(d.z)} per month`,note:"Billed monthly",billedLine:`${(0,d.Y)(d.z)} billed monthly`,price:d.z,billedLabel:"billed monthly"},{id:"annual",label:"Annual",figure:d.g,unit:"per year",detail:`${(0,d.Y)(d.g)} per year (${(0,d.Y)(d.z)} per month)`,note:`${(0,d.Y)(d.z)} per month, billed annually`,billedLine:`${(0,d.Y)(d.g)} billed annually`,price:d.g,billedLabel:"billed annually"}];function eQ({triggerLabel:e,triggerAriaLabel:i,triggerClassName:n}){let[s,r]=g.useState(!1),[l,c]=g.useState(e_),u=(0,eA.usePathname)(),p=g.useId(),f=g.useCallback(t=>{r(t),t&&(c(e_),(0,eY.C)({ctaText:e,subscriptionName:eK,subscriptionPrice:d.z,page:u,intent:"open_configurator",billingPeriod:e_}))},[u,e]),m=eX.find(e=>e.id===l)??eX[0];return(0,t.jsxs)(eV.z,{open:s,onOpenChange:f,trigger:{label:e,ariaLabel:i,className:n},title:"Choose your billing",children:[(0,t.jsxs)("fieldset",{className:"m-0 border-0 p-0",children:[(0,t.jsx)("legend",{className:"sr-only",children:"Billing period"}),(0,t.jsx)("div",{className:"grid grid-cols-2 gap-1 rounded-lg border border-cbt-200 bg-cbt-50 p-1","data-testid":"trainerbot-plus-billing",children:eX.map(e=>{let i=e.id===l;return(0,t.jsxs)("label",{className:(0,a.f)("flex cursor-pointer flex-col items-center rounded-md px-3 py-2 text-center","has-focus-visible:ring-2 has-focus-visible:ring-cbt-500/40 has-focus-visible:ring-offset-1",i?"bg-cbt-500 text-white shadow-sm":"text-cbt-800 hover:bg-white"),children:[(0,t.jsx)("input",{type:"radio",name:p,value:e.id,checked:i,onChange:()=>c(e.id),className:"sr-only"}),(0,t.jsx)("span",{className:"text-sm font-semibold leading-tight",children:e.label}),(0,t.jsx)("span",{className:(0,a.f)("mt-0.5 text-xs leading-tight",i?"text-white":"text-muted-foreground"),children:e.detail})]},e.id)})})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-2.5",children:[(0,t.jsx)(eV.w,{name:eU.name,subtitle:eU.tagline,price:(0,t.jsx)(eV.C,{figure:(0,d.Y)(m.figure),unit:m.unit,note:m.note})}),(0,t.jsx)(eV.s,{children:eW}),(0,t.jsx)(eV.q,{features:eJ})]}),(0,t.jsxs)(eV.k,{children:[(0,t.jsxs)("div",{className:"text-right",children:[(0,t.jsx)("p",{className:"font-display text-2xl font-medium leading-none text-cbt-800",children:(0,d.Y)(m.figure)}),(0,t.jsx)("p",{className:"mt-0.5 text-sm uppercase tracking-wide text-muted-foreground",children:m.unit}),(0,t.jsx)("p",{className:"mt-0.5 text-sm text-muted-foreground","data-testid":"trainerbot-plus-billed-total",children:m.billedLine})]}),(0,t.jsx)(o.StartCheckoutForm,{intent:{plan:"trainerbot-plus",billing:l},subscriptionCta:{ctaText:"Continue to checkout",subscriptionName:eK,subscriptionPrice:m.price},ctaLocation:"trainerbot-tier:trainerbot-plus",className:eV.e,ariaLabel:`Continue to checkout: ${eU.name}, ${m.billedLabel}`,testId:"trainerbot-plus-checkout",children:"Continue to checkout"},l),(0,t.jsxs)("p",{className:"text-center text-sm text-muted-foreground",children:["Secure checkout: create your account and pay by credit card. Want the courses, labs, and practice exams too?"," ",(0,t.jsxs)("button",{type:"button",onClick:()=>r(!1),className:eV.I,children:["See ",d.C.individual.web]}),"."]})]})]})}var eZ=e.i(896507);let e0="md:row-span-4 md:grid md:grid-rows-subgrid";function e1({label:e}){let a=d.j[e];return(0,t.jsxs)("li",{className:"flex items-start gap-2.5 text-sm text-cbt-800",children:[(0,t.jsx)(s.f,{className:"mt-0.5 size-4 shrink-0 text-success-600","aria-hidden":"true"}),a?(0,t.jsxs)(i.default,{href:a,className:"group/link inline-flex items-start gap-1 text-cbt-500 underline-offset-4 hover:underline",children:[(0,t.jsx)("span",{children:e}),(0,t.jsx)(n.f,{className:"mt-1 size-3 shrink-0 opacity-60 transition-transform group-hover/link:translate-x-0.5","aria-hidden":"true"})]}):(0,t.jsx)("span",{children:e})]})}function e2({tier:e,headingLevel:i,mobileApp:n}){let s=!!e.highlighted;return(0,t.jsxs)("div",{className:(0,a.f)("relative flex w-full flex-col overflow-hidden rounded-2xl border bg-white p-7 pt-10 shadow-sm",e0,s?"border-cbt-500/30 shadow-lg shadow-cbt-500/10":"border-cbt-100"),children:[s&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{"aria-hidden":"true",className:"absolute inset-x-0 top-0 h-1.5 bg-linear-to-r from-(--gradient-start) to-(--gradient-end)"}),(0,t.jsx)("span",{className:"absolute -top-px left-1/2 z-10 -translate-x-1/2 whitespace-nowrap rounded-b-lg btn-gradient px-4 py-1.5 text-sm font-semibold text-white shadow-sm",children:"Most Popular"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(i,{id:`tier-heading-${e.id}`,className:"font-display text-xl leading-tight",children:e.name}),(0,t.jsx)("p",{className:"mt-2 text-base leading-snug text-muted-foreground",children:(0,eO.l)(e.tagline,{surface:`tier-card:${e.id}`})})]}),(0,t.jsx)("div",{className:"mt-4",children:(0,t.jsx)(u,{pricing:e.pricing,perSeat:e.perSeat,size:"sm",freeDetail:"Free with an Adept account"})}),(0,t.jsxs)("div",{className:"mt-4 flex-1 border-t border-cbt-100 pt-4",children:[e.everythingIn&&(0,t.jsxs)("p",{className:"mb-2.5 text-base font-semibold text-cbt-800",children:["Everything in"," ",(0,eO.l)(e.everythingIn,{surface:`tier-card:${e.id}`}),", plus:"]}),(0,t.jsx)("ul",{className:"space-y-2.5",children:e.features.map(e=>(0,t.jsx)(e1,{label:e},e))}),e.footnote===f.x?(0,t.jsx)("p",{className:"mt-3 text-base leading-snug text-muted-foreground",children:(0,t.jsx)(eP,{})}):e.footnote&&(0,t.jsx)("p",{className:"mt-3 text-base leading-snug text-muted-foreground",children:e.footnote})]}),(0,t.jsx)(e4,{tier:e,mobileApp:n})]})}let e5="inline-flex h-11 w-full items-center justify-center gap-1.5 rounded-full border border-cbt-200 text-sm font-semibold text-cbt-700 transition-colors hover:border-cbt-500 hover:text-cbt-500";function e4({tier:e,mobileApp:i}){switch(e.id){case"trainerbot":return(0,t.jsx)("div",{className:"mt-6",children:(0,t.jsx)(p.StartAskingChoices,{mobileApp:i,placement:"pricing",tone:"light",size:"compact",webClassName:e5})});case"trainerbot-plus":return(0,t.jsx)("div",{className:"mt-6",children:(0,t.jsx)(eQ,{triggerLabel:"Get Started",triggerAriaLabel:`Get Started: ${e.name}`,triggerClassName:(0,a.f)(e5,"cursor-pointer")})});case"individual":return(0,t.jsx)("div",{className:"mt-6 space-y-3",children:(0,t.jsx)(o.StartCheckoutForm,{intent:{plan:"individual"},subscriptionCta:{ctaText:"Get Started",subscriptionName:"Individual",subscriptionPrice:d.f},ctaLocation:"trainerbot-tier:individual",ariaLabel:"Get Started: CBT Nuggets Individual checkout",className:e5,children:"Get Started"})});case"team":return(0,t.jsxs)("div",{className:"mt-6 space-y-3",children:[(0,t.jsx)(eE.GetStartedDialog,{triggerLabel:"Get Started",triggerAriaLabel:`Get Started: ${e.name}`,triggerClassName:(0,a.f)("inline-flex h-11 w-full items-center justify-center gap-1.5 rounded-full text-sm font-semibold transition-all btn-gradient text-white","cursor-pointer")}),(0,t.jsx)(l.TrackedLink,{href:eZ.h,location:"pricing-teams-card:quote",ariaDescribedBy:`tier-heading-${e.id}`,className:"block text-center text-sm font-medium text-cbt-500 underline underline-offset-4 hover:text-cbt-700",children:eZ.f.quote})]})}}e.s(["TrainerbotTierCards",0,function({mobileApp:e,className:i,headingLevel:n="h2"}){return(0,t.jsx)("div",{className:i,children:(0,t.jsx)("div",{className:"grid items-stretch gap-x-6 gap-y-6 md:grid-cols-2 md:grid-rows-[auto_auto_1fr_auto] md:gap-y-0 xl:grid-cols-4",children:f.v.map((i,s)=>(0,t.jsx)(r.f,{delay:80*s,className:(0,a.f)("flex md:mb-6",e0),children:(0,t.jsx)(e2,{tier:i,headingLevel:n,mobileApp:e})},i.id))})})}],882677)}]);