PageSourceSearch

https://www.appgain.io/assets/Contact-VnT5Fdre.js

js appgain.io collected 2026-10-04 08:43:58 UTC 5,183 bytes, 6 lines download raw bytes

1import{k as g,o as N,j as e}from"./index-ByzJVWn6.js";import{L as j,j as w}from"./Layout-DFV45XCR.js";import{a as u}from"./vendor-axios-2s9xPmg-.js";import{t as c,c as y,e as t}from"./rateLimit-nljzBES8.js";import{r as x}from"./vendor-html-parser-DEDTNjGn.js";import{F as b,C as v,c as C}from"./chatSteps-BZqACXhN.js";import{u as k,t as P}from"./vendor-zod-0IxFZ0t0.js";import{u as S}from"./proxy-DEplsd7y.js";import{P as T}from"./phone-CFq14Ajz.js";import{M as $}from"./mail-B038kyPT.js";import"./index-sOYoElQu.js";import"./x-DR_aH7vz.js";import"./index-BEC1B-iX.js";import"./bot-DUSZDePf.js";import"./rotate-ccw-DqA1Ze1w.js";import"./arrow-right-CrwQlKdZ.js";/**
2 * @license lucide-react v0.462.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */const E=g("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]),L="https://notify.appgain.io",H="",M="",U="https://www.appgain.io/";u.create({baseURL:U});const A={firstName:"",lastName:"",workEmail:"",phoneNumber:"",companyName:"",country:"",howCanWeHelp:"",message:""},Y=()=>{const{t:a}=S(),l="",i=!!l,[r,o]=x.useState(null),n=N(),m=k({resolver:P(C),defaultValues:A});x.useMemo(()=>"https://www.appgain.io"+n.pathname,[n.pathname]);const h=async s=>{if(i&&!r)return c.error(a("contact.recaptchaError")),!1;if(!y({key:"contact_form",maxRequests:3,windowMs:60*60*1e3}))return c.error("Too many requests. Please try again later."),!1;let d=!1;try{const p={$content:t(s.message),$firstName:t(s.firstName),$lastName:t(s.lastName),$workEmail:t(s.workEmail),$companyName:t(s.companyName),$country:t(s.country),$howCanWeHelp:s.howCanWeHelp?t(s.howCanWeHelp):""};await c.promise(u.post(`${L}/${H}
6/send`,{email:{...p,template_name:"Web Site Contact Request",subject:"Appgain Website contact us form submit",type:"HTML",receivers:[{email:"[email protected]",userID:"123"}],emailUnsubscribeBtn:!0}},{headers:{appApiKey:M}}),{pending:a("contact.submitting"),success:a("contact.submitSuccess"),error:a("contact.submitError")}),d=!0,m.reset(),o(null)}catch{}return d},f=s=>o(s);return e.jsx(j,{title:a("contactUsPageTitle"),description:a("contact_meta_description"),logoSrc:w,whiteHeader:!0,keywords:["contact appgain","AI automation support","WhatsApp marketing help","customer engagement inquiry"],children:e.jsx("section",{className:"mainBg pb-10",children:e.jsx("div",{className:"container py-10",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-10",children:[e.jsx("div",{className:"col-span-1 flex flex-col justify-center items-center px-4 md:px-6",children:e.jsx("div",{className:"max-w-6xl w-full",children:e.jsxs("div",{className:"mb-12",children:[e.jsx("h1",{className:"text-2xl sm:text-3xl md:text-4xl lg:text-5xl font-bold text-[#0d1b3e] mb-8 md:mb-12",children:a("contactUsPageTitle")}),e.jsxs("div",{className:"space-y-12",children:[e.jsxs("div",{className:"flex flex-col md:flex-row gap-4 md:gap-8 items-start",children:[e.jsx("div",{className:"flex items-center justify-center bg-white p-3 rounded-full shadow-md",children:e.jsx(E,{size:24,className:"text-blue-600"})}),e.jsxs("div",{className:"space-y-4",children:[e.jsx("div",{className:"flex flex-col gap-1",children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"w-8 h-0.5 bg-blue-200 rounded-full"}),e.jsx("p",{className:"text-gray-700 font-medium",children:a("contactUsPage_addressUSA")})]})}),e.jsx("div",{className:"flex flex-col gap-1",children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"w-8 h-0.5 bg-blue-200 rounded-full"}),e.jsx("p",{className:"text-gray-700 font-medium",children:a("contactUsPage_addressEG")})]})})]})]}),e.jsxs("div",{className:"flex flex-col md:flex-row gap-4 md:gap-8 items-start",children:[e.jsx("div",{className:"flex items-center justify-center bg-white p-3 rounded-full shadow-md",children:e.jsx(T,{size:24,className:"text-blue-600"})}),e.jsx("div",{className:"space-y-4",children:e.jsx("div",{className:"flex flex-col gap-1",children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"w-8 h-0.5 bg-blue-200 rounded-full"}),e.jsx("p",{className:"text-gray-700 font-medium",children:"+20 111 9985526"})]})})})]}),e.jsxs("div",{className:"flex flex-col md:flex-row gap-4 md:gap-8 items-start",children:[e.jsx("div",{className:"flex items-center justify-center bg-white p-3 rounded-full shadow-md",children:e.jsx($,{size:24,className:"text-blue-600"})}),e.jsx("div",{className:"space-y-4",children:e.jsx("div",{className:"flex flex-col gap-1",children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"w-8 h-0.5 bg-blue-200 rounded-full"}),e.jsx("p",{className:"text-gray-700 font-medium",children:"[email protected]"})]})})})]})]})]})})}),e.jsx("div",{className:"col-span-1 w-full min-w-0",children:e.jsx(b,{form:m,steps:v,i18nPrefix:"contact.chat",onSubmit:h,hasRecaptcha:i,recaptchaSiteKey:l,captchaToken:r,onCaptchaChange:f})})]})})})})};export{Y as default};

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.