1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9018,1296,9527],{47264:function(e,s,t){"use strict";var a=t(9268);s.Z=()=>(0,a.jsxs)("div",{className:"dot-spinner",children:[(0,a.jsx)("div",{className:"dot-spinner__dot"}),(0,a.jsx)("div",{className:"dot-spinner__dot"}),(0,a.jsx)("div",{className:"dot-spinner__dot"}),(0,a.jsx)("div",{className:"dot-spinner__dot"}),(0,a.jsx)("div",{className:"dot-spinner__dot"}),(0,a.jsx)("div",{className:"dot-spinner__dot"}),(0,a.jsx)("div",{className:"dot-spinner__dot"}),(0,a.jsx)("div",{className:"dot-spinner__dot"})]})},41154:function(e,s,t){"use strict";t.r(s);var a=t(9268),n=t(29855),o=t(86006),i=t(47264),l=t(56008),r=t(19464),c=t(76803);s.default=e=>{let{description:s,downloadFileUrl:t,darkMode:d=!0,messageField:m=!1,setShowPrice:p,showPhoneField:u=!0,showCompanyField:x=!0,messageRequired:h,submitLabel:f,toolFormData:g}=e,v=(0,l.usePathname)(),y=(0,o.useRef)(null),N=v.startsWith("/portfolio/")?"Case Study":"E-Book",[j,b]=(0,o.useState)(!1),[w,_]=(0,o.useState)(""),[k,S]=(0,o.useState)({name:"",phone:"",email:"",company:"",message:""}),C=t?"Download ".concat(N):f||"Submit",T=t?"Downloading":"Submitting",E=t?"Thanks! Download link has been sent to your email.":"Your response is submitted successfully.",[O,P]=(0,o.useState)("");(0,o.useEffect)(()=>{let e=window.location.pathname,s=sessionStorage.getItem("previousNav");s&&s!==e&&P(s),sessionStorage.setItem("previousNav",e)},[]);let W=e=>{let{name:s,value:t}=e.target;S(e=>({...e,[s]:t}))},A=()=>{p&&p(!0),setTimeout(()=>{_("")},5e3)},R=async e=>{e.preventDefault(),b(!0);let s=await y.current.executeAsync();try{let e=(0,c.Jh)(t),a=await fetch("".concat("https://www.brilworks.com/","api/home-career"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...k,...g||{},page:v,downloadLink:e,token:s,previousPage:O})});a.ok?(S({name:"",company:"",phone:"",email:"",message:""}),_(E),A()):_("Something went wrong!"),b(!1)}catch(e){console.error("Error sending email",e),b(!1)}};return(0,a.jsx)("div",{className:"flex v2-contact-form",children:(0,a.jsxs)("form",{className:"w-full flex flex-col md:!gap-5 gap-3 ".concat(d?"dark":""),id:"case-study-download-form",onSubmit:R,children:[s&&(0,a.jsx)("p",{className:"md:text-xl text-lg",children:s}),(0,a.jsxs)("div",{className:"w-full grid grid-cols-1 gap-4",children:[(0,a.jsx)("input",{className:"form-field",placeholder:"Name",type:"text",name:"name",value:k.name,required:!0,onChange:W}),x&&(0,a.jsx)("input",{className:"form-field",placeholder:"Company",type:"text",name:"company",value:k.company,onChange:W}),u&&(0,a.jsx)("input",{className:"form-field",type:"number",name:"phone",placeholder:"Phone Number",value:k.phone,onChange:W}),(0,a.jsx)("input",{className:"form-field",placeholder:"Email Address",type:"email",name:"email",value:k.email,required:!0,onChange:W}),m&&(0,a.jsx)("textarea",{className:"form-field",cols:"1",rows:"3",placeholder:"About Your Project",id:"message","aria-invalid":"false",name:"message",value:k.message,onChange:W,required:void 0!==h?h:m})]}),w&&(0,a.jsx)("div",{className:"h-4 ".concat(d?"text-colorWhite":"text-colorBlack"),id:"sucess_msg",children:w}),(0,a.jsx)("div",{className:"flex items-center gap-5",children:(0,a.jsx)(r.Z,{id:"submit",name:"btnSubmit",type:"submit",size:"large",className:"hover:text-themeColor hover:!bg-colorWhite w-full gap-2",icon:j?(0,a.jsx)(i.Z,{}):"",label:j?T:C,disabled:j})}),(0,a.jsx)(n.Z,{sitekey:"6Le8YIsrAAAAADsb2R-tEWPfrgTNlvJvkpYIYVf9",size:"invisible",ref:y})]})})}},64799:function(e,s,t){"use strict";t.r(s);var a=t(9268),n=t(76394),o=t.n(n),i=t(47337),l=t(41154);s.default=e=>{let{title:s,description:t,messageRequired:n=!0,submitLabel:r,bgStyle:c,bgClassName:d}=e;return(0,a.jsx)("div",{className:"hire-team-contact-section",children:(0,a.jsx)("div",{id:"section-contact-form",className:d||(c?"":"banner-layer-dark"),style:c,children:(0,a.jsx)("div",{className:"container max-w-[1280px] main-section-padding mx-auto",children:(0,a.jsxs)("div",{className:"flex flex-col lg:flex-row items-center lg:gap-16 md:gap-10 gap-6",children:[(0,a.jsxs)("div",{className:"lg:w-1/2 w-full",children:[(0,a.jsx)(i.default,{type:"h2",className:"text-colorWhite lg:!text-[34px] md:!text-3xl !text-2xl mb-5",data:s||"Connect With Us to Get a 48 Hours Risk-Free Trial"}),(0,a.jsx)("p",{className:"text-colorWhite md:text-lg text-base !mb-6",children:t||"You're just a step away from creating exceptional business ideas. This case study reveals how Brilworks assists successful companies in extending their tech teams."}),(0,a.jsx)("p",{className:"text-colorWhite lg:text-2xl md:text-xl text-lg font-medium !mb-5",children:"Enter the details to proceed."}),(0,a.jsx)(l.default,{showCompanyField:!1,messageField:!0,messageRequired:n,submitLabel:r})]}),(0,a.jsx)("div",{className:"lg:w-1/2 w-full",children:(0,a.jsx)(o(),{className:"rounded-2xl",src:"/images/v2/team-contact.webp",alt:"img-c",width:"565",height:"620"})})]})})})})}},56008:function(e,s,t){e.exports=t(93027)},97611:function(e,s,t){"use strict";var a=t(86054);function n(){}function o(){}o.resetWarningCache=n,e.exports=function(){function e(e,s,t,n,o,i){if(i!==a){var l=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function s(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol
1:e,any:e,arrayOf:s,element:e,elementType:e,instanceOf:s,node:e,objectOf:s,oneOf:s,oneOfType:s,shape:s,exact:s,checkPropTypes:o,resetWarningCache:n};return t.PropTypes=t,t}},79497:function(e,s,t){e.exports=t(97611)()},86054:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}}]);
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.