1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3730],{3221:function(e,t,l){l.d(t,{Z:function(){return Z}});var a=l(5893),r=l(7294),n=l(2943),s=l(5994),o=l(5885),i=l(7227),d=l(7533),c=l(5047),u=l(6909),m=l(4813),x=l(1924),p=l(9789),v=(0,r.memo)((0,r.forwardRef)((e,t)=>{let{label:l,error:r,disabled:n=!1,className:s="",...o}=e;return(0,a.jsxs)(m.Ht,{className:"w-full gap-[5px]",children:[(0,a.jsx)("label",{className:"pl-[10px]",htmlFor:l,children:(0,a.jsx)(p.Z,{tag:"span",variant:"label",className:"".concat(r?"text-red":n?"text-system-400":"text-system-800"),children:l})}),(0,a.jsx)("textarea",{id:l,disabled:n,className:"min-h-[170px] w-full rounded-[10px] bg-system-100 p-[15px] font-khyay text-[16px] text-system-800 outline-none ".concat(n?"hover:bg-system-100":"hover:bg-system-200"," focus:bg-system-100 ").concat(r?"border border-solid border-red":"focus-visible:border focus-visible:border-solid focus-visible:border-system-300"," ").concat(s),...o,ref:t})]})})),g=l(5675),b=l.n(g),h=l(9332),f=l(5233),y=l(7536),j=l(5766),N=l(6310);let k=N.Ry({firstName:N.Z_().required("first name is required").test("validate","invalid value",e=>!!e.trim()),lastName:N.Z_().required("last name is required").test("validate","invalid value",e=>!!e.trim()),emailAddress:N.Z_().required("email is required").test("validate","invalid value",e=>!!e.trim()),company:N.Z_(),country:N.Z_(),lookingFor:N.nK(),aboutProject:N.Z_().required("this section is requred").test("validate","invalid value",e=>!!e.trim()),file:N.Z_(),pathname:N.Z_()}),w=[{label:"custom development",value:"custom development"},{value:"custom integration",label:"custom integration"},{label:"hire developers",value:"hire developers"},{label:"free tech consulting",value:"free tech consulting"}];var Z=e=>{let{setIsContacted:t,isBlogPage:l=!1}=e,[g,N]=(0,r.useState)(null),Z=(0,r.useRef)(null),[F,C]=(0,r.useState)(!1),E=(0,h.usePathname)(),[H,S]=(0,r.useState)(!1),{isDesktop:q,isLargeDesktop:I}=(0,j.W)(e=>({isDesktop:e.media.desktop,isLargeDesktop:e.media.largeDesktop})),T=l?"h-[40px]":"h-[60px]",{handleSubmit:_,control:z,reset:P,resetField:A,formState:{errors:O}}=(0,y.cI)({resolver:(0,d.X)(k),defaultValues:{firstName:"",lastName:"",emailAddress:"",company:"",country:"",lookingFor:{value:"",label:""},aboutProject:"",file:"",pathname:E}});(0,r.useEffect)(()=>{i.ZP.init({publicKey:"user_72w2rbvABdnr96aEOxXqh"})},[]);let R=async e=>{C(!0);let l={...e,lookingFor:"object"==typeof e.lookingFor?e.lookingFor.value:"n/a"};try{await (0,n.C)(l,Z,!1,!0)===o.Mx.Ok&&(t(!0),P(),N(null))}catch(e){(0,s.bW)("Something went wrong. Please try again.")}finally{C(!1)}};return(0,a.jsx)(m.Ht,{className:"mx-auto w-full max-w-[710px] tablet:max-w-[540px]",children:(0,a.jsxs)("form",{ref:Z,className:"flex w-full flex-col items-center gap-[15px] tablet:gap-[10px]",onSubmit:_(R),children:[(0,a.jsxs)(m.Ht,{className:"w-full gap-[15px] tablet:gap-[10px] ".concat(I&&l?"!flex-row":""),children:[(0,a.jsx)(y.Qr,{render:e=>{var t,l;let{field:r}=e;return(0,a.jsx)(u.Z,{label:"first name*",disabled:F,error:!!(null==O?void 0:null===(t=O.firstName)||void 0===t?void 0:t.message),helperText:null==O?void 0:null===(l=O.firstName)||void 0===l?void 0:l.message,inputHeight:T,...r})},name:"firstName",control:z}),(0,a.jsx)(y.Qr,{render:e=>{var t,l;let{field:r}=e;return(0,a.jsx)(u.Z,{label:"last name*",disabled:F,error:!!(null==O?void 0:null===(t=O.lastName)||void 0===t?void 0:t.message),helperText:null==O?void 0:null===(l=O.lastName)||void 0===l?void 0:l.message,inputHeight:T,...r})},name:"lastName",control:z})]}),(0,a.jsx)(y.Qr,{render:e=>{var t,l;let{field:r}=e;return(0,a.jsx)(u.Z,{type:"email",label:"email address*",disabled:F,error:!!(null==O?void 0:null===(t=O.emailAddress)||void 0===t?void 0:t.message),helperText:null==O?void 0:null===(l=O.emailAddress)||void 0===l?void 0:l.message,inputHeight:T,...r})},name:"emailAddress",control:z}),(0,a.jsxs)(m.Ht,{className:"w-full gap-[15px] tablet:gap-[10px] ".concat(I&&l?"!flex-row":""),children:[(0,a.jsx)(y.Qr,{render:e=>{var t,l;let{field:r}=e;return(0,a.jsx)(u.Z,{label:"company",disabled:F,error:!!(null==O?void 0:null===(t=O.company)||void 0===t?void 0:t.message),helperText:null==O?void 0:null===(l=O.company)||void 0===l?void 0:l.message,inputHeight:T,...r})},name:"company",control:z}),(0,a.jsx)(y.Qr,{render:e=>{var t,l;let{field:r}=e;return(0,a.jsx)(u.Z,{label:"country",disabled:F,error:!!(null==O?void 0:null===(t=O.country)||void 0===t?void 0:t.message),helperText:null==O?void 0:null===(l=O.country)||void 0===l?void 0:l.message,inputHeight:T,...r})},name:"country",control:z})]}),(0,a.jsx)(y.Qr,{control:z,name:"lookingFor",render:e=>{var t,r;let{field:n}=e;return(0,a.jsx)(x.Z,{label:"what are you looking for?",placeholder:"select an option",options:w,onChange:n.onChange,name:n.name,disabled:F,height:l?40:50,error:!!(null==O?void 0:null===(t=O.lookingFor)||void 0===t?void 0:t.message),helperText:null==O?void 0:null===(r=O.lookingFor)||void 0===r?void 0:r.message})}}),(0,a.jsx)(y.Qr,{render:e=>{var t,l;let{field:r}=e,{onChange:n,...s}=r;return(0,a.jsx)(u.Z,{label:"upload your tech brief",type:"file",disabled:F,selectedFile:g,setSelectedFile:N,error:!!(null==O?void 0:null===(t=O.file)||void 0===t?void 0:t.message)||H,helperText:(null==O?void 0:O.file)?(null==O?void 0:null===(l=O.file)||void 0===l?void 0:l.message)+" (maximum file size: 500kb)":"maximum file size: 500kb",resetField:()=>A("file"),inputHeight:T,onChange:e=>
1{if(e.target.files&&e.target.files[0]){if(e.target.files[0].size>512e3)return S(!0),!1;S(!1),N(e.target.files[0]),n(e)}},...s})},name:"file",control:z}),(0,a.jsx)(y.Qr,{render:e=>{var t,r;let{field:n}=e;return(0,a.jsx)(v,{label:"tell us about your project or current needs*",disabled:F,error:!!(null==O?void 0:null===(t=O.aboutProject)||void 0===t?void 0:t.message),helperText:null==O?void 0:null===(r=O.aboutProject)||void 0===r?void 0:r.message,className:l?"h-[40px] !max-h-[200px] !min-h-[40px] !py-[7px]":"",...n})},name:"aboutProject",control:z}),(0,a.jsx)(y.Qr,{render:e=>{var t,l;let{field:r}=e;return(0,a.jsx)(u.Z,{hidden:!0,label:"pathname",error:!!(null==O?void 0:null===(t=O.pathname)||void 0===t?void 0:t.message),helperText:null==O?void 0:null===(l=O.pathname)||void 0===l?void 0:l.message,inputHeight:T,...r})},name:"pathname",control:z}),(0,a.jsx)(m.Ht,{className:"".concat(l?"mt-[20px]":"mt-[35px]"," min-w-[150px] tablet:mt-[20px]"),children:(0,a.jsx)(c.Z,{variant:"primary",className:"flex items-center justify-center tablet:h-[50px] tablet:w-[290px]",children:F?(0,a.jsx)(b(),{src:"/images/contact-us/loading.gif",alt:"loading",width:q?40:30,height:q?40:30}):(0,a.jsx)(p.Z,{tag:"span",variant:"button",children:(0,a.jsx)(f.cC,{i18nKey:"submit"})})})})]})})}},1805:function(e,t,l){var a=l(5893),r=l(7294),n=l(5675),s=l.n(n),o=l(1664),i=l.n(o),d=l(3269),c=l(5047),u=l(4813),m=l(9789);t.Z=e=>{let{contentTitle:t,contentText:l,hideButtons:n=!1,buttonLink:o="/",buttonText:x=""}=e,{toggleSendCvModal:p}=(0,d.a)(),v=(0,r.useRef)(null);return(0,r.useEffect)(()=>{v.current&&v.current.scrollIntoView({block:"center",inline:"nearest"})},[v]),(0,a.jsx)(u.gq,{ref:v,className:"w-full justify-center ".concat(n?"mt-[111px]":""),children:(0,a.jsxs)(u.Ht,{className:"items-center gap-[50px] tablet:gap-[30px]",children:[(0,a.jsx)(s(),{src:"/images/contact-us/thank-you.svg",alt:"error",width:88,height:88}),(0,a.jsxs)(u.Ht,{className:"max-w-[710px] items-center gap-[30px] tablet:gap-[20px] tablet:px-[20px]",children:[(0,a.jsx)(m.Z,{tag:"span",variant:"title",leading:"title",className:"text-system-800",children:t}),(0,a.jsx)(m.Z,{tag:"span",variant:"body",leading:"body",className:"text-center text-system-600",children:l})]}),(0,a.jsxs)(u.gq,{className:"gap-[25px] tablet:flex-col tablet:items-center tablet:gap-[15px]",children:[(0,a.jsx)(i(),{href:"/",children:(0,a.jsx)(c.Z,{variant:"secondary",className:"flex flex-row items-center gap-[5px] tablet:h-[50px] tablet:w-[290px] tablet:justify-center",onClick:()=>{n&&p()},children:(0,a.jsx)(m.Z,{tag:"span",variant:"button",children:"back to homepage"})})}),!n&&(0,a.jsx)(i(),{href:o,children:(0,a.jsx)(c.Z,{className:"tablet:h-[50px] tablet:w-[290px]",children:(0,a.jsx)(m.Z,{tag:"span",variant:"button",children:x})})})]})]})})}},6909:function(e,t,l){var a=l(5893),r=l(7294),n=l(4813),s=l(8033),o=l(9789);t.Z=(0,r.memo)((0,r.forwardRef)((e,t)=>{let{type:l="text",label:r,error:i=!1,helperText:d,disabled:c=!1,selectedFile:u,setSelectedFile:m,resetField:x,hidden:p=!1,inputHeight:v="h-[50px]",...g}=e;return(0,a.jsxs)(n.Ht,{className:"w-full gap-[5px] ".concat(p&&"hidden"),children:[(0,a.jsx)("label",{className:"pl-[10px]",htmlFor:r,children:(0,a.jsx)(o.Z,{tag:"span",variant:"label",leading:"label",className:"".concat(i?"text-red":c?"text-system-400":"text-system-800"),children:r})}),"file"===l?(0,a.jsxs)(a.Fragment,{children:[u?(0,a.jsxs)(n.gq,{className:"".concat(v," w-full items-center justify-between rounded-[10px] bg-system-100 pl-[20px] pr-[5px]"),children:[(0,a.jsx)(o.Z,{tag:"span",variant:"label",leading:"button",className:"line-clamp-1 break-all text-system-800 tablet:text-[16px]",children:u.name}),(0,a.jsx)(n.gq,{className:"rounded-[5px] p-[8px] ".concat(c?"":"hover:cursor-pointer hover:bg-system-200"),"aria-hidden":!0,onClick:()=>{!c&&(m&&m(null),x&&x())},children:(0,a.jsx)(s.Z,{icon:"close",className:"size-[24px] ".concat(c?"stroke-system-400":"stroke-system-800")})})]}):(0,a.jsx)("label",{htmlFor:u?"":r,className:"flex w-full flex-row items-center justify-center rounded-[10px] bg-system-100 ".concat(c?"hover:bg-system-100":"cursor-pointer hover:bg-system-200"," ").concat(i?"border border-solid border-red":""," ").concat(v),children:(0,a.jsxs)(n.gq,{className:"items-center gap-[10px]",children:[(0,a.jsx)(s.Z,{icon:"choose-file",className:"size-[24px] fill-none ".concat(c?"stroke-system-400":"stroke-system-800")}),(0,a.jsx)(o.Z,{tag:"span",variant:"button",leading:"button",className:c?"text-system-400":"text-system-800",children:"choose file"})]})}),(0,a.jsx)("input",{type:l,id:r,className:"absolute z-[-1] flex opacity-0",disabled:c,...g,ref:t})]}
1):(0,a.jsx)("input",{type:l,id:r,disabled:c,className:"w-full rounded-[10px] bg-system-100 px-[15px] font-khyay text-[16px] text-system-800 outline-none ".concat(c?"hover:bg-system-100":"hover:bg-system-200"," focus:bg-system-100 ").concat(i?"border border-solid border-red":"focus-visible:border focus-visible:border-solid focus-visible:border-system-300"," ").concat(v),...g,ref:t}),d&&"file"===l&&(0,a.jsx)(o.Z,{tag:"span",variant:"caption",leading:"caption",className:"".concat(i?"text-red":"text-system-600"," pl-[10px]"),children:d})]})}))},5797:function(e,t,l){var a=l(5893),r=l(9789),n=l(5233);t.Z=e=>{let{title:t,colorClassName:l="text-system-800",className:s,tag:o="h2",variant:i="title"}=e;return(0,a.jsx)(r.Z,{tag:o,variant:i,leading:"title",className:"w-full text-center align-middle lowercase ".concat(l," ").concat(s),children:(0,a.jsx)(n.cC,{i18nKey:t})})}},1924:function(e,t,l){var a=l(5893);l(7294);var r=l(6777),n=l(4813),s=l(9789);let o=()=>null;t.Z=e=>{let{readOnly:t,error:l,helperText:i,value:d,className:c,label:u,height:m=50,disabled:x=!1,...p}=e;return(0,a.jsxs)(n.Ht,{className:"w-full ".concat(u?"gap-[5px]":"items-center gap-0"),children:[(0,a.jsx)("label",{className:"pl-[10px]",htmlFor:u,children:(0,a.jsx)(s.Z,{tag:"span",variant:"label",className:"".concat(l?"text-red":"text-system-800"),children:u})}),(0,a.jsx)(r.ZP,{inputId:u,isDisabled:x,components:{IndicatorSeparator:o},value:d&&Object.keys(d).length>0?d:void 0,styles:{container:e=>({...e,zIndex:10,border:"none",":focus":{border:"none"}}),singleValue:e=>({...e,color:"#333333"}),control:e=>({...e,minHeight:"".concat(m,"px"),maxHeight:"400px",borderRadius:"10px",overflowY:"visible",color:"#333333",backgroundColor:"#F0F0F0",borderWidth:"0px",borderBlockColor:"transparent !important",border:"transparent",paddingLeft:"5px",fontSize:"16px",pointerEvents:t?"none":"auto",":hover":{backgroundColor:x?"#F0F0F0":"#E6E6E6",cursor:x?"default":"pointer"},"@media (max-width: 1300px)":{display:"flex",alignItems:"center",justifyContent:"center",fontSize:"16px",lineHeight:"24px",minHeight:"".concat(m,"px"),maxHeight:"100px"}}),placeholder:e=>({...e,color:"#999999",fontWeight:400,fontSize:"16px",lineHeight:"24px",font:"font-khyay","@media (max-width: 820px)":{fontSize:"16px"}}),menu:e=>({...e,backgroundColor:"#F0F0F0",borderRadius:"10px",padding:"5px",border:"none",borderBlock:"transparent",boxShadow:"0 6px 12px 0 rgba(0,0,0,0.15)",outline:"none",zIndex:100,textAlign:"left"}),option:(e,t)=>({...e,backgroundColor:"inherit",padding:"10px",height:"".concat(m,"px"),cursor:"pointer",color:t.isSelected?"#0185FF":"#333333",display:"flex",alignItems:"center",fontSize:"16px","&:hover":{backgroundColor:"#E6E6E6",borderRadius:"10px"}})},...p,className:"".concat(c," w-full rounded-[10px]"),theme:e=>({...e,colors:{...e.colors,primary:"transparent",primary25:"black"}})})]})}},2943:function(e,t,l){l.d(t,{C:function(){return r}});var a=l(7227);let r=async function(e,t){var l;let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],{status:s}=await a.ZP.sendForm("service_it2oqyg",r?"template_99onnoa":n?"template_udhkyva":"template_d5a3k0z",null!==(l=null==t?void 0:t.current)&&void 0!==l?l:"",{...e});return s}},5994:function(e,t,l){l.d(t,{bW:function(){return n},xO:function(){return s}});var a=l(5678);let r={position:"bottom-right",autoClose:3500,hideProgressBar:!0,closeOnClick:!0,pauseOnHover:!0,draggable:!0,progress:void 0},n=e=>a.Am.error(e,r),s=e=>a.Am.success(e,r)},5885:function(e,t,l){var a,r,n,s,o,i,d,c;l.d(t,{Mx:function(){return o},gs:function(){return r},tj:function(){return n}}),(a||(a={})).COMMON="common",(r||(r={})).LINKEDIN="linkedin-social",(i=n||(n={})).PRIMARY="primary",i.SECONDARY="secondary",(d=s||(s={}))[d.MEDIUM=1580]="MEDIUM",d[d.LAPTOP=1440]="LAPTOP",d[d.TABLET=1e3]="TABLET",d[d.MOBILE=600]="MOBILE",(c=o||(o={}))[c.Ok=200]="Ok",c[c.Created=201]="Created",c[c.NotFound=404]="NotFound",c[c.BadRequest=400]="BadRequest",c[c.Unauthorized=401]="Unauthorized",c[c.UnprocessableEntity=422]="UnprocessableEntity",c[c.Forbidden=403]="Forbidden",c[c.Conflict=409]="Conflict",c[c.TooManyRequests=429]="TooManyRequests",c[c.InternalServerError=500]="InternalServerError",c[c.ServiceUnavailable=503]="ServiceUnavailable"}}]);
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.