1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[335],{8105:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/contact",function(){return a(2894)}])},2894:function(e,t,a){"use strict";a.r(t),a.d(t,{__N_SSG:function(){return h}});var s=a(5893),l=a(1747),r=a(8229),i=a(6182),n=a(6310),c=a(3305),m=a(1664),d=a.n(m),o=a(7294),u=a(3750),h=!0;t.default=e=>{let{data:t}=e,{mdxContent:a,frontmatter:m}=t,h=(e,t)=>(""!=t?e.target.classList.add("has-value"):e.target.classList.remove("has-value"),""),{title:x,meta_title:b,description:f,success_message:j}=m,[v,g]=(0,o.useState)(""),[p,N]=(0,o.useState)(""),[_,w]=(0,o.useState)(""),[S,y]=(0,o.useState)(""),[k,C]=(0,o.useState)(!1),[E,F]=(0,o.useState)(!1),O=()=>{g(""),N(""),w(""),y("")},T=async e=>{e.preventDefault(),C(!0),fetch("https://formsubmit.co/ajax/[email protected]",{method:"POST",headers:{"Content-type":"application/json"},body:JSON.stringify({_subject:_,name:v,email:p,subject:_,details:S})}).then(e=>e.json()).then(e=>{F(e.success),O()}).catch(e=>{console.log(e.message)})};return(0,s.jsxs)(l.Z,{title:x,meta_title:b,description:f,children:[(0,s.jsx)(i.Z,{}),(0,s.jsx)("section",{className:"section relative after:absolute after:left-0 after:top-0 after:h-[400px] after:w-full after:bg-theme-light after:content-[''] dark:bg-darkmode-body dark:after:bg-darkmode-theme-light",children:(0,s.jsx)("div",{className:"container relative z-20",children:(0,s.jsxs)("div",{className:"row justify-center",children:[(0,s.jsxs)("div",{className:"mb-16 text-center sm:col-10 md:col-8 lg:col-6",children:[(0,r.gI)(x,"h1","mb-4"),(0,s.jsx)(c.R,{...a,components:n.Z})]}),(0,s.jsx)("div",{className:"md:col-10 lg:col-8",children:(0,s.jsx)("div",{className:"rounded bg-white py-12 px-16 shadow dark:bg-darkmode-theme-dark",children:E?(0,s.jsxs)("div",{className:"text-center",children:[(0,s.jsx)("div",{className:"mb-4 text-[3rem] text-primary",children:(0,s.jsx)(u.N9r,{})}),(0,r.gI)(j,"p"),(0,s.jsx)(d(),{href:"/",className:"btn btn-primary mt-5",children:"Back To Home"})]}):(0,s.jsxs)("form",{className:"row",onSubmit:T,children:[(0,s.jsxs)("div",{className:"col-12 relative mb-10",children:[(0,s.jsx)("input",{className:"form-input w-full",type:"text",id:"name",value:v,onChange:e=>{g(e.target.value),h(e,e.target.value)},required:!0}),(0,s.jsx)("label",{className:"form-label left-3",htmlFor:"name",children:"Full Name *"})]}),(0,s.jsxs)("div",{className:"col-12 relative mb-10",children:[(0,s.jsx)("input",{className:"form-input w-full",type:"email",id:"email",value:p,onChange:e=>{N(e.target.value),h(e,e.target.value)},required:!0}),(0,s.jsx)("label",{className:"form-label left-3",htmlFor:"email",children:"Email address *"})]}),(0,s.jsxs)("div",{className:"col-12 relative mb-10",children:[(0,s.jsx)("input",{className:"form-input w-full",type:"text",id:"subject",value:_,onChange:e=>{w(e.target.value),h(e,e.target.value)},required:!0}),(0,s.jsx)("label",{className:"form-label left-3",htmlFor:"subject",children:"Subject *"})]}),(0,s.jsxs)("div",{className:"col-12 relative mb-8",children:[(0,s.jsx)("textarea",{className:"form-textarea w-full",id:"details",value:S,rows:"6",onChange:e=>{y(e.target.value),h(e,e.target.value)}}),(0,s.jsx)("label",{className:"form-label left-3",htmlFor:"details",children:"Message *"})]}),(0,s.jsx)("div",{className:"col-12 text-right",children:(0,s.jsx)("button",{className:"btn btn-primary ".concat(k&&"btn-loading"," "),type:"submit",disabled:!(v&&p&&_&&S),children:k?(0,s.jsx)("span",{"data-text":"Submitting",children:(0,s.jsx)("span",{children:"Submitting"})}):(0,s.jsx)("span",{"data-text":"Submit",children:(0,s.jsx)("span",{children:"Submit"})})})})]})})})]})})})]})}}},function(e){e.O(0,[445,260,13,164,577,747,946,774,888,179],function(){return e(e.s=8105)}),_N_E=e.O()}]);
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.