(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8546],{56450:function(e,n,t){"use strict";var i=t(5152),r=t.n(i),a=r()(function(){return t.e(7444).then(t.bind(t,97444))},{ssr:!1,loadableGenerated:{webpack:function(){return[97444]}}}),o=r()(function(){return t.e(4926).then(t.bind(t,4926))},{ssr:!1,loadableGenerated:{webpack:function(){return[4926]}}}),s=r()(function(){return t.e(1300).then(t.bind(t,21300))},{ssr:!1,loadableGenerated:{webpack:function(){return[21300]}}}),c=r()(function(){return t.e(3758).then(t.bind(t,63758))},{ssr:!1,loadableGenerated:{webpack:function(){return[63758]}}}),l=r()(function(){return t.e(74).then(t.bind(t,10074))},{ssr:!1,loadableGenerated:{webpack:function(){return[10074]}}}),d=r()(function(){return t.e(4707).then(t.bind(t,44707))},{ssr:!1,loadableGenerated:{webpack:function(){return[44707]}}}),u=r()(function(){return t.e(1343).then(t.bind(t,31343))},{ssr:!1,loadableGenerated:{webpack:function(){return[31343]}}}),m=r()(function(){return t.e(1888).then(t.bind(t,22621))},{ssr:!1,loadableGenerated:{webpack:function(){return[22621]}}}),p=r()(function(){return t.e(5493).then(t.bind(t,5493))},{ssr:!1,loadableGenerated:{webpack:function(){return[5493]}}}),f=r()(function(){return t.e(9547).then(t.bind(t,69547))},{ssr:!1,loadableGenerated:{webpack:function(){return[69547]}}}),g=r()(function(){return t.e(4436).then(t.bind(t,4436))},{ssr:!1,loadableGenerated:{webpack:function(){return[4436]}}}),h=r()(function(){return t.e(8199).then(t.bind(t,8199))},{ssr:!1,loadableGenerated:{webpack:function(){return[8199]}}});n.Z={Chat:a,Phone:o,Salesforce:s,Check:l,Verizon:c,Facebook:d,Google:u,Amazon:m,ShoppingCart:p,PracticeExams:f,VirtualLabs:g,Filter:h}},6693:function(e,n,t){"use strict";t.d(n,{hv:function(){return a},ij:function(){return r},y$:function(){return o}}),t(83454).env.REVALIDATION_IN_SECONDS;var i,r=27,a=["SnwkFL","Sec5NV"],o=((i={}).UTM_FIRST="utm_first",i.UTM_LAST="utm_last",i.FIRST_PAGE_VIEW="first_page",i.REFERRER_FIRST="referrer",i)},41011:function(e,n,t){"use strict";t.d(n,{i:function(){return i}});var i=function(){var e,n,t,i,r=null!==(e=JSON.parse(localStorage.getItem("cbtauth")))&&void 0!==e?e:null;return{logged_in:null!==(n=null==r?void 0:r.loggedIn)&&void 0!==n&&n,user_id:null!==(t=null==r?void 0:r.userId)&&void 0!==t?t:"",member_id:null!==(i=null==r?void 0:r.userId)&&void 0!==i?i:""}}},67619:function(e,n,t){"use strict";t.d(n,{U:function(){return c}});var i,r=t(50029),a=t(64687),o=t.n(a),s=t(87066),c=(i=(0,r.Z)(o().mark(function e(n){var t,i;return o().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.email,e.next=3,s.Z.post("/api/ga/hash-form-values",{email:t});case 3:return i=e.sent.data.hashedEmail,e.abrupt("return",{hashedEmail:i});case 6:case"end":return e.stop()}},e)})),function(e){return i.apply(this,arguments)})},96469:function(e,n,t){"use strict";t.d(n,{W:function(){return y}});var i,r=t(50029),a=t(59499),o=t(64687),s=t.n(o),c=t(87066),l=t(6693),d=t(17674),u=t(83618),m=function(e){var n=document.cookie.split("; ").find(function(n){return n.startsWith(e+"=")});return n?n.split("=").slice(1).join("="):null};function p(e){if(!e)return null;try{return JSON.parse(decodeURIComponent(e))}catch(e){return null}}var f=function(){var e={},n=document.cookie.split("; "),t=Object.values(l.y$);return n.forEach(function(n){var i=n.split("="),r=(0,u.Z)(i),a=r[0],o=r.slice(1);t.includes(a.trim())&&(e[a]=decodeURIComponent(o.join("=")))}),e},g=function(e){var n={};if(!e)return n;var t=function(e){try{var n=JSON.parse(e);return"object"==typeof n&&null!==n?n:null}catch(e){return null}},i=function(e,n){for(var t={},i=0,r=Object.entries(e);i0&&Object.assign(n,i(m,l.y$.UTM_LAST))}}else a&&!r&&Object.assign(n,i(a,l.y$.UTM_LAST));for(var y=[l.y$.FIRST_PAGE_VIEW,l.y$.REFERRER_FIRST],b=0;b;:[\]]{1,50}$/.test(e)}).required("Please enter your first name."),lastName:k.Z_().test("is-special-character","Please enter a valid name",function(e){return/^[\w'\-,.][^0-9_!¡?÷?¿/\\+=@#$%ˆ&*(){}|~<>;:[\]]{1,50}$/.test(e)}).required("Please enter your last name."),title:k.Z_().required("Please select a title."),email:k.Z_().email("Please enter a valid email address.").required("Please enter your email address."),phone:k.Z_().test("is-number-phone","The phone number is not valid. +1 (123)456-7890",function(e){return!e||/^[-+() 0-9]+$/.test(e)}),company:k.Z_(),country:k.Z_().required("Please select your country."),quantity:k.Z_().required("Please select an option.")}),V=i.ZP.div.withConfig({displayName:"RightSection",componentId:"sc-1ccpni0-0"})(["flex:1;padding:6rem 4rem;background:#d9ebf5;display:flex;flex-direction:column;justify-content:flex-start;padding-top:4rem;@media (max-width:820px){padding:4rem 0rem;}"]),J=i.ZP.div.withConfig({displayName:"FormContainer",componentId:"sc-1ccpni0-1"})(["@media (max-width:820px){max-width:80%;margin:0 auto;}"]),X=i.ZP.label.withConfig({displayName:"Label",componentId:"sc-1ccpni0-2"})(["display:block;margin-bottom:0.5rem;color:#374151;font-weight:",";"],function(e){return e.$bold?"600":"500"}),Y=i.ZP.div.withConfig({displayName:"RadioGroup",componentId:"sc-1ccpni0-3"})(["display:flex;flex-direction:column;margin-top:2rem;@media (max-width:480px){flex-direction:column;gap:0.5rem;}"]),K=i.ZP.div.withConfig({displayName:"RadioOptions",componentId:"sc-1ccpni0-4"})(["display:flex;gap:1rem;align-items:center;gap:4rem;"]),Q=i.ZP.label.withConfig({displayName:"RadioOption",componentId:"sc-1ccpni0-5"})(["display:flex;align-items:center;gap:0.5rem;cursor:pointer;color:#4a5568;"]),ee=(0,i.ZP)(S.Z.Primary).withConfig({displayName:"SubmitButton",componentId:"sc-1ccpni0-6"})(["width:100%;padding:12px;font-weight:600;margin-top:1rem;max-width:200px;@media (max-width:820px){align-self:center;}"]),en=(0,i.ZP)(O.l0).withConfig({displayName:"FormWrapper",componentId:"sc-1ccpni0-7"})(["display:flex;flex-direction:column;gap:2rem 10px;"]),et=i.ZP.input.withConfig({displayName:"HoneypotInput",componentId:"sc-1ccpni0-8"})(["opacity:0;position:absolute;top:0;left:0;height:0;width:0;z-index:-1;"]),ei=i.ZP.p.withConfig({displayName:"PrivacyPolicy",componentId:"sc-1ccpni0-9"})(["font-size:1.2rem;line-height:1.67;"]),er={firstName:"",lastName:"",email:"",title:"",company:"",country:"United States",phone:"",quantity:"",department:"sales",gatrackid:"",gaclientid:"",gacampaign:"",gamedium:"",gasource:"",gauserid:"",optin:!1,formName:"",ext:""},ea=function(){var e,n=(0,R.useState)("none"),t=n[0],i=n[1],r=(0,R.useState)(null),a=r[0],s=r[1],c=(0,R.useRef)(null),l=(0,R.useRef)(null),d=(0,R.useRef)(null),u=(0,R.useRef)(null),m=(0,R.useRef)(null),p=(0,R.useRef)(null),f=(0,R.useRef)(null),g=(0,R.useRef)(null),h=(e=(0,N.Z)(_().mark(function e(n){var t,r,o,s,c,l,d,u,m,p,f,g,h,x,y,b,w,v,j,I,C,N,Z;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(i("submitting"),!a){e.next=3;break}return e.abrupt("return",i("success"));case 3:return e.prev=3,r=n.company,o=n.email,s=n.firstName,c=n.lastName,l=n.phone,d=n.quantity,u=n.title,m=n.department,p=n.gatrackid,f=n.gaclientid,g=n.gacampaign,h=n.gamedium,x=n.gasource,y=n.gauserid,b=n.optin,e.next=7,(0,E.W)();case 7:return w=e.sent,e.next=10,(0,q.od)("/api/ga/geo");case 10:return v=e.sent.data.country,e.next=14,(0,q.od)({method:"POST",url:"".concat($.yh,"/contact_us"),headers:{"Content-Type":"applicationhttps://www.cbtnuggets.com/json"},data:W({title:u,company:"".concat(null==r?void 0:r.trim()),country:"".concat(null==v?void 0:v.trim()),email:"".concat(null==o?void 0:o.trim()),phone:"".concat(null==l?void 0:l.trim()),quantity:d,first_name:"".concat(null==s?void 0:s.trim()),last_name:"".concat(null==c?void 0:c.trim()),form_name:"contact_sales",location:"features-lander",department:m,gatrackid:p,gaclientid:f,gacampaign:g,gamedium:h,gasource:x,gauserid:y,optin:"".concat(b),subject:"Talk to Sales",referrer:document.referrer,formName:"Contact Sales",campaignIds:g,page_url:window.location.href},w)});case 14:return i("success"),window.dataLayer.push({event:"formSubmission",enhanced_conversion_data:{email:"".concat(o.trim())}}),j="contact_sales_form",t={},(0,P.Z)(t,j,{}),(0,P.Z)(t,"membership",{}),I=t,C=(0,B.i)(),e.next=21,q.od.post("/api/request-ip");case 21:return N=e.sent.data,e.next=25,(0,F.U)({email:o});case 25:if(Z=e.sent.hashedEmail,I.membership=W(W({},C),{},{email:Z,ipaddress:N}),I[j].phone=l,I[j].email=Z,I[j].first_name=s,I[j].last_name=c,I[j].country=v,I[j].job_title=u,I[j].company=r,I[j].number_of_employees=d,(0,G.w)(j,I),!b){e.next=40;break}return e.next=40,q.od.post("/api/klaviyo/create-profile",{email:o,firstName:s,lastName:c,hasAgreedToNewsOptIn:!0,metadata:W(W(W(W(W({source:"contact_sales_form",referrer:document.referrer},g&&{campaignIds:g}),f&&{clientId:f}),h&&{medium:h}),y&&{userId:y}),p&&{trackId:p})},{headers:{"Content-Type":"applicationhttps://www.cbtnuggets.com/json","klaviyo-profile-key":"c2985f7b-09db-4d47-8e05-70e23e32d662"}});case 40:e.next=47;break;case 42:return e.prev=42,e.t0=e.catch(3),console.error("Error submitting form:",e.t0),i("error"),e.abrupt("return");case 47:case"end":return e.stop()}},e,null,[[3,42]])})),function(n){return e.apply(this,arguments)}),x=(0,R.useMemo)(function(){return"submitting"===t},[t]);return(0,o.jsx)(V,{children:(0,o.jsxs)(J,{children:[(0,o.jsx)("input",{type:"hidden",name:"gaCid",id:"gaCid",ref:c}),(0,o.jsx)("input",{type:"hidden",name:"gaHid",id:"gaHid",ref:l}),(0,o.jsx)("input",{type:"hidden",name:"gaclientid",id:"gaclientid",ref:d}),(0,o.jsx)("input",{type:"hidden",name:"gacampaign",id:"gacampaign",ref:u}),(0,o.jsx)("input",{type:"hidden",name:"gamedium",id:"gamedium",ref:m}),(0,o.jsx)("input",{type:"hidden",name:"gasource",id:"gasource",ref:p}),(0,o.jsx)("input",{type:"hidden",name:"gatrackid",id:"gatrackid",ref:f}),(0,o.jsx)("input",{type:"hidden",name:"gauserid",id:"gauserid",ref:g}),(0,o.jsx)(O.J9,{initialValues:er,validationSchema:H,onSubmit:h,children:function(e){var n=e.values,i=e.handleChange,r=e.handleBlur,a=e.setFieldValue,c=e.errors,l=e.touched,h=function(){if(null!==d.current&&null!==u.current&&null!==m.current&&null!==p.current&&null!==g.current&&null!==f.current){var e="undefined"!==d.current.value?d.current.value:null,n="undefined"!==u.current.value?u.current.value:null,t="undefined"!==m.current.value?m.current.value:null,i="undefined"!==p.current.value?p.current.value:null,r="undefined"!==g.current.value?g.current.value:null,o="undefined"!==f.current.value?f.current.value:null;a("gaclientid",e),a("gacampaign",n),a("gamedium",t),a("gasource",i),a("gauserid",r),a("gatrackid",o)}},y=function(e,n){a(e,n.target.checked),h()};return(0,o.jsxs)(en,{children:[(0,o.jsxs)(L,{children:[(0,o.jsxs)(A,{required:!0,flex:!0,children:[(0,o.jsx)(X,{children:"First Name"}),(0,o.jsx)(T.Z.Input,{name:"firstName",disabled:"success"===t,onChange:i,onBlur:r,crossOrigin:"",required:!0}),l.firstName&&c.firstName&&(0,o.jsx)(M,{children:c.firstName})]}),(0,o.jsxs)(A,{required:!0,flex:!0,children:[(0,o.jsx)(X,{children:"Last Name"}),(0,o.jsx)(T.Z.Input,{name:"lastName",value:n.lastName,disabled:"success"===t,onChange:i,onBlur:r,crossOrigin:""}),l.lastName&&c.lastName&&(0,o.jsx)(M,{children:c.lastName})]})]}),(0,o.jsxs)(L,{children:[(0,o.jsxs)(A,{required:!0,flex:!0,children:[(0,o.jsx)(X,{children:"Work Email"}),(0,o.jsx)(T.Z.Input,{name:"email",type:"email",value:n.email,disabled:"success"===t,onChange:i,onBlur:r,crossOrigin:""}),l.email&&c.email&&(0,o.jsx)(M,{children:c.email})]}),(0,o.jsxs)(A,{flex:!0,children:[(0,o.jsx)(X,{children:"Phone Number"}),(0,o.jsx)(T.Z.Input,{name:"phone",type:"tel",value:n.phone,disabled:"success"===t,onChange:i,onBlur:r,crossOrigin:""}),l.phone&&c.phone&&(0,o.jsx)(M,{children:c.phone})]})]}),(0,o.jsxs)(A,{children:[(0,o.jsx)(X,{children:"Company"}),(0,o.jsx)(T.Z.Input,{name:"company",value:n.company,disabled:"success"===t,onChange:i,onBlur:r,crossOrigin:""}),l.company&&c.company&&(0,o.jsx)(M,{children:c.company})]}),(0,o.jsxs)(A,{required:!0,children:[(0,o.jsx)(X,{children:"Job Title"}),(0,o.jsx)(T.Z.Input,{name:"title",value:n.title,disabled:"success"===t,onChange:i,onBlur:r,crossOrigin:""}),l.title&&c.title&&(0,o.jsx)(M,{children:c.title})]}),(0,o.jsx)(Y,{children:(0,o.jsxs)(Q,{children:[(0,o.jsx)(T.Z.Checkbox,{name:"optIn",id:"optIn",onChange:function(e){return y("optin",e)},"aria-label":"Opt into CBT Nuggets news and resources emailer.",crossOrigin:"",disabled:"success"===t}),"Send me CBT Nuggets IT training news and resources. (optional)"]})}),(0,o.jsxs)(Y,{children:[(0,o.jsx)(X,{$bold:!0,children:"How many employees would you like to train?"}),(0,o.jsxs)(K,{children:[(0,o.jsxs)(Q,{children:[(0,o.jsx)("input",{type:"radio",name:"quantity",value:"2-4",checked:"2-4"===n.quantity,disabled:"success"===t,onChange:i}),"2-4"]}),(0,o.jsxs)(Q,{children:[(0,o.jsx)("input",{type:"radio",name:"quantity",value:"5-20",checked:"5-20"===n.quantity,disabled:"success"===t,onChange:i}),"5-20"]}),(0,o.jsxs)(Q,{children:[(0,o.jsx)("input",{type:"radio",name:"quantity",value:"20+",checked:"20+"===n.quantity,disabled:"success"===t,onChange:i}),"20+"]})]})]}),(0,o.jsx)(et,{tabIndex:-1,onChange:function(e){return s(e.target.value)}}),l.quantity&&c.quantity&&(0,o.jsx)(M,{children:c.quantity}),(0,o.jsxs)(ei,{children:["By submitting this form you agree that you have read, understood, and are able to consent to our"," ",(0,o.jsx)(D.l7,{href:"/privacy",children:"privacy policy"}),"."]}),(0,o.jsx)(ee,{type:"submit",disabled:x||"success"===t,children:x?"Sending...":"success"===t?"Sent!":"Get in touch"}),"error"===t&&(0,o.jsx)(M,{children:"There was an error submitting the form. Please try again."}),"success"===t&&(0,o.jsx)("p",{children:"Thank you for contacting us! We will get back to you shortly."})]})}})]})})},eo=i.ZP.div.withConfig({displayName:"TestimonialsSection",componentId:"sc-1u3fen9-0"})(["border-top:1px solid #e5e7eb;"]),es=i.ZP.div.withConfig({displayName:"TestimonialGrid",componentId:"sc-1u3fen9-1"})(["display:grid;grid-template-columns:1fr 1fr;gap:2rem;margin-top:2rem;margin-inline:10rem;@media (max-width:820px){grid-template-columns:1fr;gap:1.5rem;margin-inline:2rem;}"]),ec=i.ZP.div.withConfig({displayName:"TestimonialCard",componentId:"sc-1u3fen9-2"})(["padding:1.5rem;border-radius:8px;max-width:80%;"]),el=i.ZP.div.withConfig({displayName:"StarRating",componentId:"sc-1u3fen9-3"})(["color:#fbbf24;margin-bottom:1rem;"]),ed=i.ZP.p.withConfig({displayName:"TestimonialText",componentId:"sc-1u3fen9-4"})(["font-style:italic;margin-bottom:2rem;line-height:1.5;"]),eu=i.ZP.div.withConfig({displayName:"TestimonialAuthor",componentId:"sc-1u3fen9-5"})(["font-weight:600;"]),em=i.ZP.div.withConfig({displayName:"TestimonialRole",componentId:"sc-1u3fen9-6"})(["font-size:1.2rem;"]),ep=[{rating:5,text:"“The trainers explain things in such a brilliant way, the videos are bite-sized and the quiz questions are great. I use it daily and it's well worth the money.”",author:"Ashley C.",role:"Network Security Engineer"},{rating:5,text:"“I've used a variety of IT training platforms, but none have come close to the quality and real-world impact of CBT Nuggets.”",author:"Mark R.",role:"Network Administrator"}],ef=function(){return(0,o.jsx)(eo,{children:(0,o.jsx)(es,{children:ep.map(function(e,n){return(0,o.jsxs)(ec,{children:[(0,o.jsx)(el,{children:"★".repeat(e.rating)}),(0,o.jsx)(ed,{children:e.text}),(0,o.jsx)(eu,{children:e.author}),(0,o.jsx)(em,{children:e.role})]},n)})})})},eg=i.ZP.div.withConfig({displayName:"CompanyLogos",componentId:"sc-6t5oul-0"})(["margin-top:3rem;text-align:center;padding:3rem 2rem;background:rgba(239,242,247,1);width:100%;display:flex;flex-direction:column;justify-content:center;padding-bottom:6rem;"]),eh=i.ZP.h4.withConfig({displayName:"CompanyLogosTitle",componentId:"sc-6t5oul-1"})(["margin-bottom:1.5rem;font-weight:600;"]),ex=i.ZP.div.withConfig({displayName:"LogosContainer",componentId:"sc-6t5oul-2"})(["display:flex;justify-content:center;align-items:center;gap:7rem;margin-top:2rem;flex-wrap:wrap;@media (max-width:820px){flex-direction:column;gap:4rem;}"]),ey=function(){return(0,o.jsxs)(eg,{children:[(0,o.jsx)(eh,{children:"Incredible companies trust CBT Nuggets training"}),(0,o.jsxs)(ex,{children:[(0,o.jsx)(r.Z.Google,{}),(0,o.jsx)(r.Z.Amazon,{}),(0,o.jsx)(r.Z.Salesforce,{}),(0,o.jsx)(r.Z.Verizon,{}),(0,o.jsx)(r.Z.Facebook,{})]})]})},eb=i.ZP.section.withConfig({displayName:"PageWrapper",componentId:"sc-1sxhisi-0"})(["margin:0 auto;"]),ew=i.ZP.div.withConfig({displayName:"ContactSalesWrapper",componentId:"sc-1sxhisi-1"})(["display:grid;grid-template-columns:2fr 1.5fr;min-height:100vh;@media (max-width:820px){display:flex;flex-direction:column-reverse;}"]),ev=i.ZP.div.withConfig({displayName:"BottomSection",componentId:"sc-1sxhisi-2"})(["display:flex;flex-direction:column;align-items:center;"]),ej=function(){return(0,o.jsxs)(eb,{children:[(0,o.jsxs)(ew,{children:[(0,o.jsx)(C,{}),(0,o.jsx)(ea,{})]}),(0,o.jsxs)(ev,{children:[(0,o.jsx)(ef,{}),(0,o.jsx)(ey,{})]})]})},eI=t(9008),eC=t.n(eI),eP={title:"Contact sales | CBT Nuggets",description:"Do you have a question? You can contact CBT Nuggets Sales via web form, phone or live chat.",ogImage:"http://www.canuseducation.com/?cert=assetshttps://www.cbtnuggets.com/images/OG_default.png"},eN=!0,eZ=function(){return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(eC(),{children:[(0,o.jsx)("title",{children:"Contact sales | CBT Nuggets"},"title"),(0,o.jsx)("meta",{name:"description",content:eP.description},"description"),(0,o.jsx)("meta",{name:"og:image",content:eP.ogImage},"ogImage"),(0,o.jsx)("meta",{property:"og:title",content:eP.title},"ogTitle"),(0,o.jsx)("meta",{property:"og:url",content:"http://www.canuseducation.com/?cert=contact-sales"},"ogUrl"),(0,o.jsx)("meta",{property:"og:description",content:eP.description},"ogDescription"),(0,o.jsx)("meta",{name:"twitter:title",content:eP.title},"twitterTitle"),(0,o.jsx)("meta",{name:"twitter:description",content:eP.description},"twitterDescription"),(0,o.jsx)("meta",{name:"twitter:image",content:eP.ogImage},"twitterImage"),(0,o.jsx)("link",{rel:"canonical",href:"http://www.canuseducation.com/?cert=contact-sales"})]}),(0,o.jsx)(ej,{}),";"]})}},37761:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/contact-sales",function(){return t(27317)}])},28811:function(e,n,t){"use strict";function i(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}t.d(n,{Z:function(){return i}})},83618:function(e,n,t){"use strict";t.d(n,{Z:function(){return s}});var i=t(14666),r=t(28811),a=t(2937),o=t(14882);function s(e){return(0,i.Z)(e)||(0,r.Z)(e)||(0,a.Z)(e)||(0,o.Z)()}}},function(e){e.O(0,[3148,1664,9471,6018,9894,8764,7066,8967,1345,3706,2093,7103,3418,2888,9774,179],function(){return e(e.s=37761)}),_N_E=e.O()}]);