1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,801419,e=>{"use strict";var a=e.i(843476),l=e.i(95187);let s=(0,l.createServerReference)("403cb4d8e53ae3d238edf877c59070882ce36feb6c",l.callServer,void 0,l.findSourceMapURL,"contactFormSubmitAction");var r=e.i(271645),t=e.i(647702),o=e.i(967958);e.s(["default",0,function({styles:e}){let[l,c]=(0,r.useState)(""),[n,i]=(0,r.useState)(""),[m,d]=(0,r.useState)(""),[u,h]=(0,r.useState)(""),[g,f]=(0,r.useState)(!1),[p,x]=(0,r.useState)(!1),j=async e=>{e.preventDefault(),f(!0);let a=await (0,o.executeRecaptcha)("contact");if(!a)return!1;let r=JSON.stringify({name:l,email:m,phone:n,message:u,captcha:a});x(await s(r)),f(!1),c(""),i(""),d(""),h("")};return(0,a.jsxs)(a.Fragment,{children:[p&&(0,a.jsx)("div",{className:"alert alert-success d-flex align-items-center",role:"alert",children:(0,a.jsx)("div",{children:"Thank you for contacting us"})}),(0,a.jsx)("form",{className:"form-horizontal",id:"contactUsForm",onSubmit:e=>j(e),children:(0,a.jsxs)("fieldset",{className:"container",children:[(0,a.jsxs)("div",{className:`form-group row ${e.register_form}`,children:[(0,a.jsx)("label",{htmlFor:"name",className:"col-lg-12 control-label",children:"Name"}),(0,a.jsx)("div",{className:"col-lg-12",children:(0,a.jsx)("input",{type:"text",className:"form-control",autoComplete:"off",name:"name",id:"name",placeholder:"Name",required:!0,onChange:e=>c(e.target.value),value:l})})]}),(0,a.jsxs)("div",{className:`form-group row ${e.register_form}`,children:[(0,a.jsx)("label",{htmlFor:"phone",className:"col-lg-12 control-label",children:"Number"}),(0,a.jsx)("div",{className:"col-lg-12",children:(0,a.jsx)("input",{type:"tel",className:"form-control",autoComplete:"off",placeholder:"Phone no",name:"phone",id:"phone",required:!0,minLength:8,maxLength:10,pattern:"[0-9]+",onChange:e=>i(e.target.value),value:n})})]}),(0,a.jsxs)("div",{className:`form-group row ${e.register_form}`,children:[(0,a.jsx)("label",{htmlFor:"email",className:"col-lg-12 control-label",children:"Email"}),(0,a.jsx)("div",{className:"col-lg-12",children:(0,a.jsx)("input",{type:"email",autoComplete:"off",placeholder:"Email Address",name:"email",id:"email",className:"form-control",required:!0,value:m,onChange:e=>d(e.target.value)})})]}),(0,a.jsxs)("div",{className:`form-group row ${e.register_form}`,children:[(0,a.jsx)("label",{htmlFor:"message",className:"col-lg-12 control-label",children:"Message"}),(0,a.jsx)("div",{className:"col-lg-12",children:(0,a.jsx)("textarea",{placeholder:"Message",name:"message",id:"message",className:"form-control",cols:30,rows:2,required:!0,onChange:e=>h(e.target.value),value:u})})]}),(0,a.jsx)("div",{className:"form-group row justify-content-end",children:(0,a.jsx)("div",{className:"col-lg-12",children:(0,a.jsx)("button",{type:"submit",className:"btn elm-btn elm-btn-primary mt-1",disabled:g,children:g?(0,a.jsx)(t.default,{}):"Submit"})})})]})})]})}],801419)}]);
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.