1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7829],{28763:(e,t,a)=>{"use strict";a.d(t,{k:()=>o});var l=a(10465),n=a(48256),r=a.n(n),s=a(8125),c=a(20096);let o=(0,s.forwardRef)((e,t)=>{let{keyWord:a,setKeyWord:n,onChange:s,placeholder:o="",disabled:i,onCancel:d,withCancel:m=!1,labelText:u,labelClassName:p="",labelColor:x="text-black100",className:h="",inputId:b,stopperTitle:_,warningMessage:g,warningMessageClassName:j,isReadonly:f=!1,type:C="text",pattern:v,name:k="",size:y="large",required:N=!1,onInput:w}=e;return(0,l.jsxs)("div",{className:r()("flex flex-col",h),children:[(0,l.jsx)("label",{htmlFor:b,className:r()("text-h6_md mb-8px self-start",p,x,{"opacity-20":i}),children:u}),(0,l.jsxs)("div",{className:r()("flex justify-between box-border h-54px rounded-2 items-center w-full",{"bg-backgroundWhite border border-current focus-within:shadow-medium":!f,"text-black20":i,"text-black30":!i&&!g,"text-red60":!!g}),children:[(0,l.jsx)("input",{ref:t,required:N,title:"Text input",id:b,disabled:i,className:r()("text-plain w-full h-full pr-10px",{"bg-transparent":!f&&!i,"bg-backgroundWhite placeholder-black50 text-black80":i,"placeholder-black50":!i&&""===a,"text-black100":!i,"bg-black10 text-black100 box-border border border-black30 h-54px rounded-2":f,"p-15px":"large"===y,"p-10px":"small"===y}),name:k,type:C,value:a,placeholder:o,readOnly:f,pattern:v,onInput:w,onChange:e=>{if(n){var t;n(null==(t=e.target)?void 0:t.value)}s&&s(e)}}),m?(0,l.jsx)("button",{type:"button",title:"Clear Input",className:r()("pl-20px pr-20px",{hidden:""===a||f,"text-black60 hover:text-black100 active:text-black100":!i,"text-black20 cursor-auto":i}),disabled:i,onClick:e=>{e.preventDefault(),n&&n(""),d&&d(e)},children:(0,l.jsx)(c.C,{id:"".concat(b,"CancelButton"),"aria-labelledby":"".concat(b,"CancelButton"),width:20,height:20,className:"fill-current"})}):null,_?(0,l.jsx)("span",{className:r()("p-15px pl-10px text-h6_md uppercase",{"text-black20":i,"text-black100":!i}),children:_}):null]}),g?(0,l.jsx)("span",{className:r()("text-plain text-16px font-medium text-[#CC172D] capitalize",j),children:g}):null]})});o.displayName="TextInput"},36218:(e,t,a)=>{"use strict";a.r(t),a.d(t,{__N_SSP:()=>q,default:()=>B});var l=a(10465),n=a(23926),r=a(87207),s=a(92853),c=a.n(s),o=a(42146),i=a(61180),d=a(48256),m=a.n(d),u=a(17670),p=a(97427),x=a.n(p);let h=e=>{let{document:t}=e,{form_contacts:a}=t.data;return(null==a?void 0:a.length)?(0,l.jsx)("div",{className:x().columns,children:a.map((e,t)=>{let{contact:a}=e;return(0,l.jsx)(i.$,{field:a,components:(0,u.I)({className:x().column})},t)})}):null};var b=a(63380),_=a(62694),g=a(28763),j=a(53486),f=a(8125);let C={name:"",email:"",phoneNumber:"",question:"",address:""};var v=a(49390),k=a(50206),y=a(40555),N=a.n(y);let w=e=>{let{document:t}=e,{name_label:a,email_label:n,phone_number_label:r,subject_request_label:s,address_label:c,submit_text:o,privacy_check_text:d,error_message:p,success_message:x,warning_message:h}=t.data,{isSuccess:y,isError:w,handleChange:F,onSubmit:I,formData:T,formDataValidator:S}=(()=>{let[e,t]=(0,f.useState)(!1),[a,l]=(0,f.useState)(!1),[n,r]=(0,f.useState)(C),[s,c]=(0,f.useState)({name:!1,email:!1,phoneNumber:!1,question:!1,address:!1}),o=async e=>{e.preventDefault();let a=(e=>{let{data:t,exceptions:a=[]}=e;return Object.assign(Object.fromEntries(Object.entries(t).map(e=>{let[t,l]=e;return l||a.includes(t)?[t,!1]:[t,!0]})))})({data:n});if(c(a),Object.values(a).every(e=>!e))try{(await fetch("/api/forms/contact",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:(e=>Object.keys(e).map(t=>encodeURIComponent(t)+"="+encodeURIComponent(e[t])).join("&"))(n)})).ok?(t(!0),r(C)):l(!0)}catch(e){l(!0),console.error("Failed to post form data: ".concat(e.message))}};return{isSuccess:e,isError:a,formData:n,formDataValidator:s,handleChange:e=>{var t,a;l(!1);let o=null==e||null==(t=e.target)?void 0:t.name,i=null==e||null==(a=e.target)?void 0:a.value;r({...n,[o]:i}),c({...s,[o]:!1})},onSubmit:o}})(),W=j.h2.keyText(h)?h:"";return(0,l.jsx)("div",{className:m()(N().container,{[N().halfScreen]:!y}),children:y?(0,l.jsx)(k.G,{className:N().successBanner,content:(0,l.jsx)("span",{children:x})}):(0,l.jsxs)("div",{children:[w?(0,l.jsx)(v.u,{content:p,className:N().errorBar}):null,(0,l.jsxs)("form",{className:N().form,name:"contact-form",onSubmit:I,children:[j.h2.keyText(a)?(0,l.jsx)(g.k,{t
1ype:"text",name:"name",keyWord:T.name,labelText:a,inputId:"ContactFormNameInput",warningMessage:S.name?W:"",onChange:F}):null,j.h2.keyText(n)?(0,l.jsx)(g.k,{type:"email",name:"email",keyWord:T.email,labelText:n,inputId:"ContactFormEmailInput",warningMessage:S.email?W:"",onChange:F}):null,j.h2.keyText(r)?(0,l.jsx)(g.k,{type:"number",name:"phoneNumber",keyWord:T.phoneNumber,labelText:r,inputId:"ContactFormPhoneNumberInput",warningMessage:S.phoneNumber?W:"",onChange:F}):null,j.h2.keyText(c)?(0,l.jsx)(g.k,{name:"address",keyWord:T.address,labelText:c,inputId:"ContactFormAddress",warningMessage:S.address?W:"",onChange:F}):null,j.h2.keyText(s)?(0,l.jsx)(_.f,{name:"question",className:N().formFullItemMd,keyText:T.question,labelText:s,textareaId:"ContactFormSubjectOfRequest",warningMessage:S.question?W:"",isError:S.question,onChange:F}):null,(0,l.jsx)("div",{className:m()(N().formFullItemMd,N().submitContainer),children:(0,l.jsx)(b.$n,{id:"gtm_contact_us_form_btn",type:"submit",isFull:!0,children:o})}),(0,l.jsx)(i.$,{field:d,components:(0,u.I)({className:m()(N().privacyCheck,N().formFullItemMd)})})]})]})})};var F=a(47703),I=a.n(F);let T=e=>{let{document:t}=e,{form_title:a}=t.data;return(0,l.jsx)("div",{className:I().geometryWrapper,children:(0,l.jsx)("div",{className:I().bgWrapper,children:(0,l.jsxs)("div",{className:m()("container-1200px",I().section),children:[(0,l.jsx)("div",{className:I().sectionTitle,children:(0,l.jsx)(i.$,{field:a,components:o.x})}),(0,l.jsxs)("div",{className:I().flexWrapper,children:[(0,l.jsx)(w,{document:t}),(0,l.jsx)(h,{document:t})]})]})})})};var S=a(28761),W=a(81428),M=a(42823);let O=e=>{let{document:t}=e,{meta_title:a,meta_description:n}=t.data,r={"@context":"https://schema.org","@type":"ContactPage",name:a,description:n,url:(0,M.C)(t)};return(0,l.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(r)}})},E=e=>{let{document:t}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(W.y,{document:t}),(0,l.jsx)(O,{document:t})]})},{publicRuntimeConfig:{BASE_HOSTNAME:R}}=c()();var q=!0;let B=e=>{var t,a;let{document:s}=e;return(null==s?void 0:s.data)?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("main",{className:"pb-60px min-h-220px desk:min-h-420px",children:[(0,l.jsx)(n.v,{document:s,hostname:R}),(0,l.jsx)(r.l,{slices:null==(t=s.data.body)?void 0:t.filter(e=>"action_section"===e.slice_type),components:S.d}),(0,l.jsx)(T,{document:s}),(0,l.jsx)(r.l,{slices:null==(a=s.data.body)?void 0:a.filter(e=>"action_section"!==e.slice_type),components:S.d})]}),(0,l.jsx)(E,{document:s})]}):null}},40555:e=>{e.exports={container:"ContactsForm_container__jdXX4",halfScreen:"ContactsForm_halfScreen__c6I90",title:"ContactsForm_title__z2Cv_",successBanner:"ContactsForm_successBanner__Zubay",errorBar:"ContactsForm_errorBar__olYZn",form:"ContactsForm_form__bj7KW",formFullItemMd:"ContactsForm_formFullItemMd__omFqz",submitContainer:"ContactsForm_submitContainer__5JapK",privacyCheck:"ContactsForm_privacyCheck__LO_3D"}},42823:(e,t,a)=>{"use strict";a.d(t,{C:()=>o});var l=a(16268),n=a(93422),r=a(3409),s=a(92853);let{publicRuntimeConfig:{BASE_HOSTNAME:c}}=a.n(s)()(),o=e=>(0,l.IK)(e)&&e.url?e.url.replace(/\/$/,""):(0,r.s)(c,(0,n.linkResolver)(e))},47703:e=>
1{e.exports={bgWrapper:"ContactsSection_bgWrapper__R7Xvk",geometryWrapper:"ContactsSection_geometryWrapper__G0yyb",section:"ContactsSection_section__QWx8_",sectionTitle:"ContactsSection_sectionTitle___lEoo",flexWrapper:"ContactsSection_flexWrapper__Rn73F"}},49390:(e,t,a)=>{"use strict";a.d(t,{u:()=>s});var l=a(10465),n=a(48256),r=a.n(n);let s=e=>{let{content:t,className:a}=e;return(0,l.jsx)("div",{className:r()("bg-red20 rounded-2 text-red90 pb-12px pt-12px pr-16px pl-16px text-plain_sm",a),children:t})}},50206:(e,t,a)=>{"use strict";a.d(t,{G:()=>o});var l=a(10465),n=a(95878);let r=e=>{let{className:t,ariaLabelledby:a,width:r,height:s}=e;return(0,l.jsxs)(n.A,{className:t,role:"img",ariaLabelledby:a,width:r,height:s,viewBox:"0 0 60 60",children:[(0,l.jsx)("circle",{cx:"29.6519",cy:"30.2877",r:"24.7059",fill:"#E8F9F4"}),(0,l.jsx)("circle",{cx:"30",cy:"30",r:"29",stroke:"#93E5D1",strokeWidth:"2"}),(0,l.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41.6034 22.8306C42.1611 23.4509 42.1345 24.4287 41.544 25.0146L27.3368 39.1111L20.4483 32.7789C19.837 32.217 19.7751 31.241 20.3099 30.5988C20.8447 29.9567 21.7738 29.8916 22.385 30.4535L27.2612 34.9359L39.5245 22.7682C40.115 22.1823 41.0457 22.2103 41.6034 22.8306Z",fill:"#0EAD8D"})]})};var s=a(48256),c=a.n(s);let o=e=>{let{content:t,className:a}=e;return(0,l.jsxs)("div",{className:c()("bg-green20 rounded-4 w-full pt-20px pb-20px pl-10px pr-10px flex flex-col items-center",a),children:[(0,l.jsx)(r,{width:60,height:60,className:"mb-8px"}),(0,l.jsx)("div",{className:"text-center text-plain_sm text-green90 justify-center max-w-420px",children:t})]})}},55110:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});let l={src:"https://static.3commas.io/3commas-website/_next/static/media/main_logo.ec197857.svg",height:39,width:176,blurWidth:0,blurHeight:0}},62694:(e,t,a)=>{"use strict";a.d(t,{f:()=>s});var l=a(10465),n=a(48256),r=a.n(n);a(8125);let s=e=>{let{keyText:t,onChange:a,placeholder:n="",disabled:s,labelText:c,labelClassName:o="",labelColor:i="text-black100",className:d="",textareaId:m,warningMessage:u,isError:p=!1,isReadonly:x=!1,name:h="",required:b=!1}=e;return(0,l.jsxs)("div",{className:r()("flex flex-col",d),children:[(0,l.jsx)("label",{htmlFor:m,className:r()("text-h6_md mb-8px self-start",o,i,{"opacity-20":s}),children:c}),(0,l.jsx)("textarea",{required:b,name:h,title:"Textarea",id:m,disabled:s,className:r()("text-plain p-15px w-full pr-10px border rounded-2 outline-none h-156px",{"border-black20 placeholder-black20 text-black20 bg-backgroundWhite":s,"placeholder-black50 border-black30":!s&&!p||x,"placeholder-black50 border-red60":p,"text-black100":!s,"bg-black10 text-black100":x}),value:t,placeholder:n,readOnly:x,onChange:e=>{a&&a(e)}}),u&&p?(0,l.jsx)("span",{className:"text-header-500 text-red60",children:u}):null]})}},81428:(e,t,a)=>{"use strict";a.d(t,{y:()=>c});var l=a(10465),n=a(77006),r=a(55110),s=a(42823);let c=e=>{let{document:t}=e,a={"@context":"https://schema.org","@type":"Corporation",name:n.vh,alternateName:"3Commas",url:(0,s.C)(t),logo:r.A.src,sameAs:["https://www.facebook.com/3commas.io/","https://x.com/3Commas","https://www.youtube.com/channel/UCig8XY-gsthRgM-zyv1nx6Q/videos"]};return(0,l.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(a)}})}},89192:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/about/contacts",function(){return a(36218)}])},97427:e=>{e.exports={columns:"ContactsColumn_columns__e9P9p",column:"ContactsColumn_column__7JNuZ"}}},e=>{e.O(0,[6845,4309,3020,3637,5975,636,6593,8792],()=>e(e.s=89192)),_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.