1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[935],{7077:function(e,s,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/schedule-a-demo",function(){return t(7777)}])},6024:function(e,s,t){"use strict";t.d(s,{X:function(){return r}});const r={webpSrc:"https://cdn.perksbar.com/perksbar-web/gradient_bg.webm",mp4Src:"https://cdn.perksbar.com/perksbar-web/gradient_bg.mp4",poster:"https://cdn.perksbar.com/perksbar-web/gradient_bg.jpg"}},7777:function(e,s,t){"use strict";t.r(s),t.d(s,{default:function(){return j}});var r=t(5893),n=t(2658),i=t(6024),a=t(223),o=t(5986),l=t(1664),c=t.n(l),d=t(9502),u=t(3841),m=t(2924),p=t(1163),_=t(7536),h=t(2375),x=t.n(h);var f=()=>{const e=(0,p.useRouter)(),{register:s,handleSubmit:t,control:i,reset:a,formState:{isSubmitSuccessful:o,isDirty:l}}=(0,_.cI)(),{mutate:c,isLoading:h}=(0,d.X)({onSuccess:()=>{a()}});return(0,r.jsxs)("div",{className:x().formContainer,children:[(0,r.jsx)("div",{className:x().title,children:"Schedule a Demo"}),(0,r.jsx)("div",{className:x().description,children:"Simply fill out the form and we\u2019ll be in touch soon."}),(0,r.jsxs)("form",{onSubmit:t((s=>{c({type:"form",page:e.asPath,...s})})),noValidate:!0,children:[(0,r.jsxs)("div",{className:x().nameFieldContainer,children:[(0,r.jsxs)("div",{className:x().firstNameContainer,children:[(0,r.jsx)(u.Z,{className:x().inputLabel,children:"First Name*"}),(0,r.jsx)(_.Qr,{name:"firstName",control:i,rules:{required:{value:!0,message:"Required Field"}},render:e=>{let{fieldState:{error:t}}=e;return(0,r.jsx)(m.Z,{...s("firstName"),disabled:h,InputLabelProps:{shrink:!0},fullWidth:!0,placeholder:"First name",error:!!t,helperText:null===t||void 0===t?void 0:t.message,FormHelperTextProps:{style:{fontSize:"1.2rem"}}})}})]}),(0,r.jsxs)("div",{className:x().lastNameContainer,children:[(0,r.jsx)(u.Z,{className:x().inputLabel,children:"Last Name*"}),(0,r.jsx)(_.Qr,{name:"lastName",control:i,rules:{required:{value:!0,message:"Required Field"}},render:e=>{let{fieldState:{error:t}}=e;return(0,r.jsx)(m.Z,{...s("lastName"),disabled:h,InputLabelProps:{shrink:!0},fullWidth:!0,placeholder:"Last name",error:!!t,helperText:null===t||void 0===t?void 0:t.message,FormHelperTextProps:{style:{fontSize:"1.2rem"}}})}})]})]}),(0,r.jsxs)("div",{className:x().inputFieldContainer,children:[(0,r.jsx)(u.Z,{className:x().inputLabel,children:"Email*"}),(0,r.jsx)(_.Qr,{name:"email",control:i,rules:{required:{value:!0,message:"Required Field"},pattern:{value:/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/,message:"Invalid Email Format"}},render:e=>{let{fieldState:{error:t}}=e;return(0,r.jsx)(m.Z,{...s("email"),disabled:h,InputLabelProps:{shrink:!0},error:!!t,placeholder:"Email",helperText:null===t||void 0===t?void 0:t.message,FormHelperTextProps:{style:{fontSize:"1.2rem"}}})}})]}),(0,r.jsxs)("div",{className:x().inputFieldContainer,children:[(0,r.jsx)(u.Z,{className:x().inputLabel,children:"How did you hear about us?"}),(0,r.jsx)(_.Qr,{name:"infoSource",control:i,render:()=>(0,r.jsx)(m.Z,{...s("infoSource"),disabled:h,InputLabelProps:{shrink:!0},placeholder:"Tell us anything"})})]}),(0,r.jsx)(n.m3,{type:"submit",className:x().button,isLoading:h,children:o&&!l?"Sent":"Get a demo"})]})]})},b=t(5539),N=t.n(b);var j=()=>(0,r.jsx)(o.x1,{title:"Schedule a Demo",description:"Connect with a PerksBar expert to discuss the best solution for your organisation.",children:(0,r.jsxs)("div",{className:N().container,children:[(0,r.jsx)(n.Y7,{className:N().videoBackground,...i.X}),(0,r.jsxs)("div",{className:N().contentContainer,children:[(0,r.jsxs)("div",{className:N().descriptionContainer,children:[(0,r.jsx)("h1",{className:N().title,children:"Speak with an expert."}),(0,r.jsx)("p",{className:N().content,children:"Connect with a PerksBar expert to discuss the best solution for your organisation."}),(0,r.jsxs)("p",{className:N().content,children:["If you are looking for general information or support, please contact us"," ",(0,r.jsx)(c(),{href:"mailto:".concat(a.H),children:"here"}),"."]})]}),(0,r.jsx)("div",{className:N().formOuterContainer,children:(0,r.jsx)(f,{})})]})]})})},2375:function(e){e.exports={formContainer:"styles_formContainer__OoG3w",title:"styles_title__8OuKF",description:"styles_description__uDsyc",
1nameFieldContainer:"styles_nameFieldContainer__0exfc",inputFieldContainer:"styles_inputFieldContainer__AQxsq",inputLabel:"styles_inputLabel__n05tP",button:"styles_button__rDCvH",firstNameContainer:"styles_firstNameContainer__aRBFX",lastNameContainer:"styles_lastNameContainer__Axwo3"}},5539:function(e){e.exports={videoBackground:"styles_videoBackground__0Mvtj",icon:"styles_icon__98DH_",container:"styles_container__cd21S",contentContainer:"styles_contentContainer__ZgHqT",descriptionContainer:"styles_descriptionContainer__Tg8ag",title:"styles_title__I6GOD",content:"styles_content__oE191",formOuterContainer:"styles_formOuterContainer__E4wkz"}}},function(e){e.O(0,[774,888,179],(function(){return s=7077,e(e.s=s);var s}));var s=e.O();_N_E=s}]); 2//# sourceMappingURL=schedule-a-demo-8d464ea8f3c53048.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.