1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2187],{1870:(e,r,t)=>{"use strict";t.d(r,{p:()=>n});var a=t(95155),o=t(26081),i=t.n(o);let n=function(e){var r,t,o,n,s,l,c;let{type:d,placeholder:u,onBlur:m,inputClass:p,classes:_,minLength:h,maxLength:g,readOnly:v=!1,id:f,register:A,name:C="",textareaClass:x,required:P,validationSchema:N,errors:b,defaultValue:S,rows:y,...j}=e;return(0,a.jsx)("div",{className:"".concat(i()["form-fld"]," ").concat(_||""," ").concat(b&&b[C]?i()["error-border"]:""),children:d?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("input",{...A(C,N),readOnly:v,type:d,className:p,placeholder:u,onBlur:m,minLength:h,maxLength:g,id:f,required:P,defaultValue:S,...j}),b&&(null===(r=b[C])||void 0===r?void 0:r.type)==="required"&&(0,a.jsx)("span",{className:i()["error-text"],children:null===(t=b[C])||void 0===t?void 0:t.message}),b&&((null===(o=b[C])||void 0===o?void 0:o.type)==="maxLength"||(null===(n=b[C])||void 0===n?void 0:n.type)==="minLength")&&(0,a.jsx)("span",{className:i()["error-text"],children:null===(s=b[C])||void 0===s?void 0:s.message}),b&&(null===(l=b[C])||void 0===l?void 0:l.type)==="pattern"&&(0,a.jsx)("span",{className:i()["error-text"],children:null===(c=b[C])||void 0===c?void 0:c.message})]}):(0,a.jsx)("textarea",{...A(C,N),name:C,id:f,placeholder:u,className:x,rows:y})})}},1994:(e,r,t)=>{"use strict";t.d(r,{O:()=>o});var a=t(28868);function o(e){var r;if(!(null===(r=(0,a.l)(e))||void 0===r?void 0:r.isValid()))return"Invalid Phone Number"}},26081:e=>{e.exports={"form-fld":"Input_form-fld__3RWJL","error-border":"Input_error-border__PEpBb","error-text":"Input_error-text__nI7JU"}},42187:(e,r,t)=>{"use strict";t.d(r,{default:()=>f});var a=t(95155),o=t(12115),i=t(95799),n=t(55357),s=t.n(n),l=t(92809),c=t(62177),d=t(66144),u=t
1(1870),m=t(98414),p=t(96898),_=t(1994),h=t(97991),g=t(35695),v=t(30242);let f=function(e){var r;let{classes:t,heading:n,para:f,mapUrl:A,mapClass:C}=e,[x,P]=(0,o.useState)(null),{fetchCountryData:N}=(0,p.useAVContext)(),[b,S]=(0,o.useState)(!1),y=(0,g.useRouter)(),{executeRecaptcha:j}=(0,v._Y)();(0,o.useEffect)(()=>{N().then(e=>P(e)).catch(e=>{i.oR.error(e,{position:"bottom-right",autoClose:3e3,hideProgressBar:!1,closeOnClick:!0,pauseOnHover:!0,draggable:!0,progress:void 0,theme:"dark"})})},[]);let{register:E,control:I,handleSubmit:R,reset:w,formState:{errors:F}}=(0,c.mN)(),T=async e=>{if(!j){i.oR.error("reCAPTCHA is not configured. Please contact support.",{position:"bottom-right",autoClose:3e3});return}let r=null;try{if(!(r=await j("form_submit"))){i.oR.error("Failed to get reCAPTCHA token. Please try again.",{position:"bottom-right",autoClose:3e3});return}}catch(e){console.error("reCAPTCHA execution failed:",e),i.oR.error("Failed to verify reCAPTCHA. Please try again.",{position:"bottom-right",autoClose:3e3});return}try{let e=await fetch("/api/verify-recaptcha",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({token:r})});if(!(await e.json()).success){i.oR.error("reCAPTCHA verification failed. Please try again.",{position:"bottom-right",autoClose:3e3});return}}catch(e){console.error("Error verifying reCAPTCHA:",e),i.oR.error("Failed to verify reCAPTCHA. Please try again.",{position:"bottom-right",autoClose:3e3});return}await (0,h.f)(e,S,w,x,y,r)};return(0,a.jsx)("section",{className:"".concat(s().formMain," ").concat(s()[t]),children:(0,a.jsx)(l.default,{children:(0,a.jsxs)("div",{className:A?s().gridWrapper:"",children:[(0,a.jsxs)("div",{className:s().main,children:[(0,a.jsx)("h2",{children:n}),(0,a.jsx)("p",{children:f}),(0,a.jsx)("div",{className:s().form,children:(0,a.jsx)("form",{className:s()["contact-form"],onSubmit:R(T),children:(0,a.jsxs)("div",{className:s()["form-group"],children:[(0,a.jsxs)("div",{className:s()["input-container"],children:[(0,a.jsx)(u.p,{classes:"".concat(s().inputdiv),register:E,errors:F,name:"fullname",type:"text",placeholder:"Full Name",validationSchema:{required:"Name is required",minLength:{value:3,message:"Please enter a minimum of 3 characters"}}}),(0,a.jsx)(u.p,{classes:"".concat(s().inputdiv),register:E,errors:F,name:"email",type:"email",placeholder:"Email",validationSchema:{required:"Email is required",pattern:{value:/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i,message:"Invalid Email Address"}}})]}),(0,a.jsx)("div",{className:s()["input-container"],children:(0,a.jsx)(m.g,{className:s().phoneinput,name:"phone",register:E,errors:F,control:I,country:null==x?void 0:null===(r=x.country_code)||void 0===r?void 0:r.toLowerCase(),validationSchema:{required:"Phone Number is required",validate:_.O}})}),(0,a.jsx)("div",{className:s()["input-container"],children:(0,a.jsx)(u.p,{classes:"".concat(s().inputdiv," ").concat(s().desc),name:"message",rows:2,register:E,placeholder:"Message",validationSchema:{required:"Message is required"}})}),(0,a.jsx)("div",{className:"".concat(s()["input-container"]," ").concat(s().btnWrapper),children:(0,a.jsx)(d.$,{title:"Schedule a Call",loading:b})})]})})})]}),A&&(0,a.jsx)("div",{className:"".concat(s().right," ").concat(C?s()[C]:""),children:(0,a.jsx)("iframe",{src:A,width:"600",height:"450",loading:"lazy",referrerpolicy:"no-referrer-when-downgrade"})})]})})})}},53574:(e,r,t)=>{"use strict";t.d(r,{A:()=>a});let a={ENVIRONMENT:"production",ENVIRONMENTS:{staging:{HUBSPOT_API_URL:"https://api.hsforms.com/submissions/v3/integration/submit/9134917/016e4005-1624-48e7-9e68-ade24f35a762",SWIFT_API_URL:"https://api.swiftsales.io/crm/public/integration/979/cb5836a2-3d75-4045-9bab-ee9b3bda1b19",SWIFTSALES_SCRIPT_URL:"https://script.swiftsales.io/swiftsales.js?v=1755681510400",SWIFTSALES_SCRIPT_ID:"682",BLOG_API_URL:"https://www.appverticals.com/blog",NEXT_PUBLIC_RECAPTCHA_SITE_KEY:"6LfXvAEsAAAAAH6RGH8RtYE616eYojTxHoHPIdCd",RECAPTCHA_SECRET_KEY:"6LfXvAEsAAAAAPK1FyRS9Pg7r9DnzwxzIlCyAgNy"},production:{HUBSPOT_API_URL:"https://api.hsforms.com/submissions/v3/integration/submit/9134917/016e4005-1624-48e7-9e68-a
1de24f35a762",SWIFT_API_URL:"https://api.swiftchat.io/crm/public/integration/701/6058a8c0-c730-4c43-8a87-3cfecf1c0cf3",SWIFTSALES_SCRIPT_URL:"https://script.swiftchat.io/swiftsales.js?v=1689696169863",SWIFTSALES_SCRIPT_ID:"330",BLOG_API_URL:"https://www.appverticals.com/blog",NEXT_PUBLIC_RECAPTCHA_SITE_KEY:"6LfXvAEsAAAAAH6RGH8RtYE616eYojTxHoHPIdCd",RECAPTCHA_SECRET_KEY:"6LfXvAEsAAAAAPK1FyRS9Pg7r9DnzwxzIlCyAgNy"}}}},55357:e=>{e.exports={formMain:"MainForm_formMain__9gd_J",gridWrapper:"MainForm_gridWrapper__tB6AC",right:"MainForm_right__f0ZPL","gcc-gmb":"MainForm_gcc-gmb__5n1WO","us-gmb":"MainForm_us-gmb__dwlFr",main:"MainForm_main__faz6J",form:"MainForm_form__1F36p","contact-form":"MainForm_contact-form__FFrcH","form-group":"MainForm_form-group__b0qG7","input-container":"MainForm_input-container__2NVIY",inputdiv:"MainForm_inputdiv__lw_Lh",desc:"MainForm_desc__lh4lU",phoneinput:"MainForm_phoneinput__iV_8j","flag-dropdown":"MainForm_flag-dropdown__jhIeO",btnWrapper:"MainForm_btnWrapper__027mA",error:"MainForm_error__362vk",dallas:"MainForm_dallas__y8n86"}},79029:(e,r,t)=>{"use strict";t.d(r,{V:()=>o}),t(53574);let a=e=>(e=JSON.parse(e),new Promise(function(r){swiftSalesSDK.CreateContact(e,function(e){console.log("contact function",e),r()})})),o=e=>{let{formData:r,SSData:t}=e;return Promise.allSettled([a(t)])}},89391:(e,r,t)=>{"use strict";t.d(r,{A:()=>c});var a=t(95155);t(12115);var o=t(62177),i=t(39365),n=t.n(i);t(30133);var s=t(26081),l=t.n(s);let c=e=>{let{register:r,name:t,validationSchema:i,errors:s,className:c,country:d}=e;return(0,a.jsx)(o.xI,{...e,render:e=>{var o;let{field:u}=e;return(0,a.jsxs)("div",{className:"".concat(c," ").concat(l()["form-fld"]," ").concat(s[t]&&l()["error-border"]),children:[(0,a.jsx)(n(),{...u,...r(t,i),placeholder:"Phone Number",enableLongNumbers:!0,country:null!=d?d:"us",onChange:(e,r)=>{e.length?u.onChange("+"+e):u.onChange(null)}}),s&&(0,a.jsx)("span",{className:l()["error-text"],children:null===(o=s[t])||void 0===o?void 0:o.message})]})}})}},97991:(e,r,t)=>{"use strict";t.d(r,{f:()=>i});var a=t(79029),o=t(95799);let i=async function(e,r,t,i,n){arguments.length>5&&void 0!==arguments[5]&&arguments[5];let{firstname:s,lastname:l,email:c,fullname:d,phone:u,city:m,country:p,message:_,reference:h}=e;r(!0);let g={};(s||d)&&(g.FirstName=s||d),l&&(g.LastName=l),c&&(g.Email=c),u&&(g.Phone=u),m&&(g.City=m),(p||(null==i?void 0:i.country_name))&&(g.Country=p||(null==i?void 0:i.country_name)),_&&(g.Notes=_),g.Meta={BrandName:"AppVerticals",Path:window.location.href},h&&(g.Meta.Reference=h);let v=JSON.stringify(g),f=await (0,a.V)({SSData:v});f.some(e=>{var r;return(null===(r=e.value)||void 0===r?void 0:r.status)==200})||f.some(e=>(null==e?void 0:e.status)=="fulfilled")?(t(),r(!1),n.push("/thank-you")):(o.oR.error("Something Went Wrong",{position:"bottom-right",autoClose:3e3,hideProgressBar:!1,closeOnClick:!0,pauseOnHover:!0,draggable:!0,progress:void 0,theme:"dark"}),r(!1))}},98414:(e,r,t)=>{"use strict";t.d(r,{g:()=>a.A});var a=t(89391)}}]);
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.