1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,20529,e=>{e.v({back:"contact-module-scss-module__ZTw1Lq__back",backBar:"contact-module-scss-module__ZTw1Lq__backBar",backBarInner:"contact-module-scss-module__ZTw1Lq__backBarInner",consent:"contact-module-scss-module__ZTw1Lq__consent",error:"contact-module-scss-module__ZTw1Lq__error",field:"contact-module-scss-module__ZTw1Lq__field",form:"contact-module-scss-module__ZTw1Lq__form",grid:"contact-module-scss-module__ZTw1Lq__grid",robot:"contact-module-scss-module__ZTw1Lq__robot",robotImg:"contact-module-scss-module__ZTw1Lq__robotImg",row:"contact-module-scss-module__ZTw1Lq__row",submit:"contact-module-scss-module__ZTw1Lq__submit",success:"contact-module-scss-module__ZTw1Lq__success",textarea:"contact-module-scss-module__ZTw1Lq__textarea",title:"contact-module-scss-module__ZTw1Lq__title"})},4765,e=>{"use strict";var a=e.i(43476),t=e.i(18566),s=e.i(20529);function l(){let e=(0,t.useRouter)();return(0,a.jsxs)("button",{type:"button",className:s.default.back,onClick:function(){window.history.length>1?e.back():e.push("/")},children:[(0,a.jsx)("span",{"aria-hidden":"true",children:"â"})," Back"]})}e.s(["default",()=>l])},6031,e=>{e.v({accent:"button-module-scss-module__78vOcq__accent",btn:"button-module-scss-module__78vOcq__btn",dark:"button-module-scss-module__78vOcq__dark",icon:"button-module-scss-module__78vOcq__icon",primary:"button-module-scss-module__78vOcq__primary",secondary:"button-module-scss-module__78vOcq__secondary"})},45960,e=>{"use strict";var a=e.i(43476),t=e.i(71645),s=e.i(22016),l=e.i(6031);function c({children:e,href:t,variant:c="primary",icon:o,className:n,type:r,disabled:d}){let u=[l.default.btn,l.default[c],n].filter(Boolean).join(" "),i=(0,a.jsxs)(a.Fragment,{children:[o&&(0,a.jsx)("span",{className:l.default.icon,"aria-hidden":"true",children:o}),e]});return t?(0,a.jsx)(s.default,{href:t,className:u,children:i}):(0,a.jsx)("button",{className:u,type:r,disabled:d,children:i})}var o=e.i(20529);function n({initialSubject:e="",messagePlaceholder:l="Message. Tell us more about your needs... *",submitLabel:r="Send Message",successHeading:d="Message received!",successMessage:u="Thank you for reaching out. We will get back to you soon."}={}){let[i,m]=(0,t.useState)("idle");async function _(e){if(e.preventDefault(),"sending"===i)return;m("sending");let a=new FormData(e.currentTarget),t={name:String(a.get("name")??""),email:String(a.get("email")??""),company:String(a.get("company")??""),subject:String(a.get("subject")??""),message:String(a.get("message")??"")};try{let e=await fetch("/api/contactUs",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)}),a=await e.json();m(a?.success?"sent":"error")}catch{m("error")}}return"sent"===i?(0,a.jsxs)("div",{className:o.default.success,role:"status",children:[(0,a.jsx)("strong",{children:d}),(0,a.jsx)("p",{children:u})]}):(0,a.jsxs)("form",{className:o.default.form,onSubmit:_,children:[(0,a.jsx)("input",{className:o.default.field,type:"text",name:"name",placeholder:"Name *","aria-label":"Name",required:!0}),(0,a.jsxs)("div",{className:o.default.row,children:[(0,a.jsx)("input",{className:o.default.field,type:"email",name:"email",placeholder:"Email *","aria-label":"Email",required:!0}),(0,a.jsx)("input",{className:o.default.field,type:"text",name:"company",placeholder:"Company name *","aria-label":"Company name",required:!0})]}),(0,a.jsx)("input",{className:o.default.field,type:"text",name:"subject",placeholder:"Subject. How can we help?","aria-label":"Subject",defaultValue:e}),(0,a.jsx)("textarea",{className:`${o.default.field} ${o.default.textarea}`,name:"message",placeholder:l,"aria-label":"Message",rows:5,required:!0}),(0,a.jsxs)("p",{className:o.default.consent,children:["By submitting this form you agree to our"," ",(0,a.jsx)(s.default,{href:"/privacy-policy",children:"Privacy Policy"})]}),(0,a.jsx)(c,{variant:"dark",type:"submit",disabled:"sending"===i,className:o.default.submit,children:"sending"===i?"Sendingâ¦":r}),"error"===i&&(0,a.jsx)("p",{className:o.default.error,role:"alert",children:"Something went wrong sending your message. Please try again, or email us directly at [email protected]."})]})}e.s(["default",()=>n],45960)}]);
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.